|
|
(function(){var __webpack_modules__={93398:function(d,g,e){"use strict";e.r(g),e.d(g,{blue:function(){return le},blueDark:function(){return Fe},cyan:function(){return ae},cyanDark:function(){return je},geekblue:function(){return Q},geekblueDark:function(){return Ft},generate:function(){return T},gold:function(){return V},goldDark:function(){return q},gray:function(){return ne},green:function(){return oe},greenDark:function(){return Ce},grey:function(){return ue},greyDark:function(){return Qt},lime:function(){return G},limeDark:function(){return Ee},magenta:function(){return Y},magentaDark:function(){return Pt},orange:function(){return U},orangeDark:function(){return M},presetDarkPalettes:function(){return er},presetPalettes:function(){return ee},presetPrimaryColors:function(){return D},purple:function(){return J},purpleDark:function(){return _t},red:function(){return B},redDark:function(){return ie},volcano:function(){return $},volcanoDark:function(){return F},yellow:function(){return K},yellowDark:function(){return de}});var r=e(49618);const i=Math.round;function l(Jt,Xe){const It=Jt.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],zt=It.map(st=>parseFloat(st));for(let st=0;st<3;st+=1)zt[st]=Xe(zt[st]||0,It[st]||"",st);return It[3]?zt[3]=It[3].includes("%")?zt[3]/100:zt[3]:zt[3]=1,zt}const c=(Jt,Xe,It)=>It===0?Jt:Jt/100;function f(Jt,Xe){const It=Xe||255;return Jt>It?It:Jt<0?0:Jt}class s{constructor(Xe){(0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0);function It(zt){return zt[0]in Xe&&zt[1]in Xe&&zt[2]in Xe}if(Xe)if(typeof Xe=="string"){let st=function(bt){return zt.startsWith(bt)};const zt=Xe.trim();/^#?[A-F\d]{3,8}$/i.test(zt)?this.fromHexString(zt):st("rgb")?this.fromRgbString(zt):st("hsl")?this.fromHslString(zt):(st("hsv")||st("hsb"))&&this.fromHsvString(zt)}else if(Xe instanceof s)this.r=Xe.r,this.g=Xe.g,this.b=Xe.b,this.a=Xe.a,this._h=Xe._h,this._s=Xe._s,this._l=Xe._l,this._v=Xe._v;else if(It("rgb"))this.r=f(Xe.r),this.g=f(Xe.g),this.b=f(Xe.b),this.a=typeof Xe.a=="number"?f(Xe.a,1):1;else if(It("hsl"))this.fromHsl(Xe);else if(It("hsv"))this.fromHsv(Xe);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Xe))}setR(Xe){return this._sc("r",Xe)}setG(Xe){return this._sc("g",Xe)}setB(Xe){return this._sc("b",Xe)}setA(Xe){return this._sc("a",Xe,1)}setHue(Xe){const It=this.toHsv();return It.h=Xe,this._c(It)}getLuminance(){function Xe(bt){const ht=bt/255;return ht<=.03928?ht/12.92:Math.pow((ht+.055)/1.055,2.4)}const It=Xe(this.r),zt=Xe(this.g),st=Xe(this.b);return .2126*It+.7152*zt+.0722*st}getHue(){if(typeof this._h=="undefined"){const Xe=this.getMax()-this.getMin();Xe===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Xe+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/Xe+2:(this.r-this.g)/Xe+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const Xe=this.getMax()-this.getMin();Xe===0?this._s=0:this._s=Xe/this.getMax()}return this._s}getLightness(){return typeof this._l=="undefined"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v=="undefined"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness=="undefined"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(Xe=10){const It=this.getHue(),zt=this.getSaturation();let st=this.getLightness()-Xe/100;return st<0&&(st=0),this._c({h:It,s:zt,l:st,a:this.a})}lighten(Xe=10){const It=this.getHue(),zt=this.getSaturation();let st=this.getLightness()+Xe/100;return st>1&&(st=1),this._c({h:It,s:zt,l:st,a:this.a})}mix(Xe,It=50){const zt=this._c(Xe),st=It/100,bt=Je=>(zt[Je]-this[Je])*st+this[Je],ht={r:i(bt("r")),g:i(bt("g")),b:i(bt("b")),a:i(bt("a")*100)/100};return this._c(ht)}tint(Xe=10){return this.mix({r:255,g:255,b:255,a:1},Xe)}shade(Xe=10){return this.mix({r:0,g:0,b:0,a:1},Xe)}onBackground(Xe){const It=this._c(Xe),zt=this.a+It.a*(1-this.a),st=bt=>i((this[bt]*this.a+It[bt]*It.a*(1-this.a))/zt);return this._c({r:st("r"),g:st("g"),b:st("b"),a:zt})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Xe){return this.r===Xe.r&&this.g===Xe.g&&this.b===Xe.b&&this.a===Xe.a}clone(){return this._c(this)}toHexString(){let Xe="#";const It=(this.r||0).toString(16);Xe+=It.length===2?It:"0"+It;const zt=(this.g||0).toString(16);Xe+=zt.length===2?zt:"0"+zt;const st=(this.b||0).toString(16);if(Xe+=st.length===2?st:"0"+st,typeof this.a=="number"&&this.a>=0&&this.a<1){const bt=i(this.a*255).toString(16);Xe+=bt.length===2?bt:"0"+bt}return Xe}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Xe=this.getHue(),It=i(this.getSaturation()*100),zt=i(this.getLightness()*100);return this.a!==1?`hsla(${Xe},${It}%,${zt}%,${this.a})`:`hsl(${Xe},${It}%,${zt}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Xe,It,zt){const st=this.clone();return st[Xe]=f(It,zt),st}_c(Xe){return new this.constructor(Xe)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(Xe){const It=Xe.replace("#","");function zt(st,bt){return parseInt(It[st]+It[bt||st],16)}It.length<6?(this.r=zt(0),this.g=zt(1),this.b=zt(2),this.a=It[3]?zt(3)/255:1):(this.r=zt(0,1),this.g=zt(2,3),this.b=zt(4,5),this.a=It[6]?zt(6,7)/255:1)}fromHsl({h:Xe,s:It,l:zt,a:st}){if(this._h=Xe%360,this._s=It,this._l=zt,this.a=typeof st=="number"?st:1,It<=0){const $e=i(zt*255);this.r=$e,this.g=$e,this.b=$e}let bt=0,ht=0,Je=0;const Ue=Xe/60,ge=(1-Math.abs(2*zt-1))*It,Ae=ge*(1-Math.abs(Ue%2-1));Ue>=0&&Ue<1?(bt=ge,ht=Ae):Ue>=1&&Ue<2?(bt=Ae,ht=ge):Ue>=2&&Ue<3?(ht=ge,Je=Ae):Ue>=3&&Ue<4?(ht=Ae,Je=ge):Ue>=4&&Ue<5?(bt=Ae,Je=ge):Ue>=5&&Ue<6&&(bt=ge,Je=Ae);const Me=zt-ge/2;this.r=i((bt+Me)*255),this.g=i((ht+Me)*255),this.b=i((Je+Me)*255)}fromHsv({h:Xe,s:It,v:zt,a:st}){this._h=Xe%360,this._s=It,this._v=zt,this.a=typeof st=="number"?st:1;const bt=i(zt*255);if(this.r=bt,this.g=bt,this.b=bt,It<=0)return;const ht=Xe/60,Je=Math.floor(ht),Ue=ht-Je,ge=i(zt*(1-It)*255),Ae=i(zt*(1-It*Ue)*255),Me=i(zt*(1-It*(1-Ue))*255);switch(Je){case 0:this.g=Me,this.b=ge;break;case 1:this.r=Ae,this.b=ge;break;case 2:this.r=ge,this.b=Me;break;case 3:this.r=ge,this.g=Ae;break;case 4:this.r=Me,this.g=ge;break;case 5:default:this.g=ge,this.b=Ae;break}}fromHsvString(Xe){const It=l(Xe,c);this.fromHsv({h:It[0],s:It[1],v:It[2],a:It[3]})}fromHslString(Xe){const It=l(Xe,c);this.fromHsl({h:It[0],s:It[1],l:It[2],a:It[3]})}fromRgbString(Xe){const It=l(Xe,(zt,st)=>st.includes("%")?i(zt/100*255):zt);this.r=It[0],this.g=It[1],this.b=It[2],this.a=It[3]}}var h=2,u=.16,a=.05,x=.05,p=.15,y=5,_=4,b=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function S(Jt,Xe,It){var zt;return Math.round(Jt.h)>=60&&Math.round(Jt.h)<=240?zt=It?Math.round(Jt.h)-h*Xe:Math.round(Jt.h)+h*Xe:zt=It?Math.round(Jt.h)+h*Xe:Math.round(Jt.h)-h*Xe,zt<0?zt+=360:zt>=360&&(zt-=360),zt}function R(Jt,Xe,It){if(Jt.h===0&&Jt.s===0)return Jt.s;var zt;return It?zt=Jt.s-u*Xe:Xe===_?zt=Jt.s+u:zt=Jt.s+a*Xe,zt>1&&(zt=1),It&&Xe===y&&zt>.1&&(zt=.1),zt<.06&&(zt=.06),Math.round(zt*100)/100}function L(Jt,Xe,It){var zt;return It?zt=Jt.v+x*Xe:zt=Jt.v-p*Xe,zt=Math.max(0,Math.min(1,zt)),Math.round(zt*100)/100}function T(Jt){for(var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},It=[],zt=new s(Jt),st=zt.toHsv(),bt=y;bt>0;bt-=1){var ht=new s({h:S(st,bt,!0),s:R(st,bt,!0),v:L(st,bt,!0)});It.push(ht)}It.push(zt);for(var Je=1;Je<=_;Je+=1){var Ue=new s({h:S(st,Je),s:R(st,Je),v:L(st,Je)});It.push(Ue)}return Xe.theme==="dark"?b.map(function(ge){var Ae=ge.index,Me=ge.amount;return new s(Xe.backgroundColor||"#141414").mix(It[Ae],Me).toHexString()}):It.map(function(ge){return ge.toHexString()})}var D={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},B=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];B.primary=B[5];var $=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];$.primary=$[5];var U=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];U.primary=U[5];var V=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];V.primary=V[5];var K=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];K.primary=K[5];var G=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];G.primary=G[5];var oe=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];oe.primary=oe[5];var ae=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ae.primary=ae[5];var le=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];le.primary=le[5];var Q=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Q.primary=Q[5];var J=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];J.primary=J[5];var Y=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Y.primary=Y[5];var ue=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];ue.primary=ue[5];var ne=ue,ee={red:B,volcano:$,orange:U,gold:V,yellow:K,lime:G,green:oe,cyan:ae,blue:le,geekblue:Q,purple:J,magenta:Y,grey:ue},ie=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];ie.primary=ie[5];var F=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];F.primary=F[5];var M=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];M.primary=M[5];var q=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];q.primary=q[5];var de=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];de.primary=de[5];var Ee=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Ee.primary=Ee[5];var Ce=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Ce.primary=Ce[5];var je=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];je.primary=je[5];var Fe=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Fe.primary=Fe[5];var Ft=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Ft.primary=Ft[5];var _t=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];_t.primary=_t[5];var Pt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Pt.primary=Pt[5];var Qt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];Qt.primary=Qt[5];var er={red:ie,volcano:F,orange:M,gold:q,yellow:de,lime:Ee,green:Ce,cyan:je,blue:Fe,geekblue:Ft,purple:_t,magenta:Pt,grey:Qt}},93083:function(d,g,e){"use strict";e.r(g),e.d(g,{Keyframes:function(){return Ps},NaNLinter:function(){return Qa},StyleContext:function(){return ae},StyleProvider:function(){return oe},Theme:function(){return Pt},_experimental:function(){return ko},createCache:function(){return K},createTheme:function(){return er},extractStyle:function(){return Pu},genCalc:function(){return Ce},getComputedToken:function(){return _r},legacyLogicalPropertiesTransformer:function(){return qo},legacyNotSelectorLinter:function(){return hs},logicalPropertiesLinter:function(){return Vs},parentSelectorLinter:function(){return Ls},px2remTransformer:function(){return il},token2CSSVar:function(){return De},unit:function(){return Kt},useCSSVarRegister:function(){return du},useCacheToken:function(){return sn},useStyleRegister:function(){return Ua}});var r=e(52487),i=e(49618),l=e(80702),c=e(77321);function f(qt){for(var lr=0,sr,vr=0,Er=qt.length;Er>=4;++vr,Er-=4)sr=qt.charCodeAt(vr)&255|(qt.charCodeAt(++vr)&255)<<8|(qt.charCodeAt(++vr)&255)<<16|(qt.charCodeAt(++vr)&255)<<24,sr=(sr&65535)*1540483477+((sr>>>16)*59797<<16),sr^=sr>>>24,lr=(sr&65535)*1540483477+((sr>>>16)*59797<<16)^(lr&65535)*1540483477+((lr>>>16)*59797<<16);switch(Er){case 3:lr^=(qt.charCodeAt(vr+2)&255)<<16;case 2:lr^=(qt.charCodeAt(vr+1)&255)<<8;case 1:lr^=qt.charCodeAt(vr)&255,lr=(lr&65535)*1540483477+((lr>>>16)*59797<<16)}return lr^=lr>>>13,lr=(lr&65535)*1540483477+((lr>>>16)*59797<<16),((lr^lr>>>15)>>>0).toString(36)}var s=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(74416),p=e(80547),y=e(13697),_=e(96949),b=e(55090),S="%";function R(qt){return qt.join(S)}var L=function(){function qt(lr){(0,_.Z)(this,qt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),this.instanceId=lr}return(0,b.Z)(qt,[{key:"get",value:function(sr){return this.opGet(R(sr))}},{key:"opGet",value:function(sr){return this.cache.get(sr)||null}},{key:"update",value:function(sr,vr){return this.opUpdate(R(sr),vr)}},{key:"opUpdate",value:function(sr,vr){var Er=this.cache.get(sr),yn=vr(Er);yn===null?this.cache.delete(sr):this.cache.set(sr,yn)}}]),qt}(),T=L,D=["children"],B="data-token-hash",$="data-css-hash",U="data-cache-path",V="__cssinjs_instance__";function K(){var qt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var lr=document.body.querySelectorAll("style[".concat($,"]"))||[],sr=document.head.firstChild;Array.from(lr).forEach(function(Er){Er[V]=Er[V]||qt,Er[V]===qt&&document.head.insertBefore(Er,sr)});var vr={};Array.from(document.querySelectorAll("style[".concat($,"]"))).forEach(function(Er){var yn=Er.getAttribute($);if(vr[yn]){if(Er[V]===qt){var xn;(xn=Er.parentNode)===null||xn===void 0||xn.removeChild(Er)}}else vr[yn]=!0})}return new T(qt)}var G=u.createContext({hashPriority:"low",cache:K(),defaultCache:!0}),oe=function(lr){var sr=lr.children,vr=(0,x.Z)(lr,D),Er=u.useContext(G),yn=(0,p.Z)(function(){var xn=(0,c.Z)({},Er);Object.keys(vr).forEach(function(Ln){var Kn=vr[Ln];vr[Ln]!==void 0&&(xn[Ln]=Kn)});var Bn=vr.cache;return xn.cache=xn.cache||K(),xn.defaultCache=!Bn&&Er.defaultCache,xn},[Er,vr],function(xn,Bn){return!(0,y.Z)(xn[0],Bn[0],!0)||!(0,y.Z)(xn[1],Bn[1],!0)});return u.createElement(G.Provider,{value:yn},sr)},ae=G,le=e(62853),Q=e(47273),J=e(80237),Y=e(77205),ue=e(38793),ne=(0,b.Z)(function qt(){(0,_.Z)(this,qt)}),ee=ne,ie="CALC_UNIT",F=new RegExp(ie,"g");function M(qt){return typeof qt=="number"?"".concat(qt).concat(ie):qt}var q=function(qt){(0,Y.Z)(sr,qt);var lr=(0,ue.Z)(sr);function sr(vr,Er){var yn;(0,_.Z)(this,sr),yn=lr.call(this),(0,i.Z)((0,J.Z)(yn),"result",""),(0,i.Z)((0,J.Z)(yn),"unitlessCssVar",void 0),(0,i.Z)((0,J.Z)(yn),"lowPriority",void 0);var xn=(0,le.Z)(vr);return yn.unitlessCssVar=Er,vr instanceof sr?yn.result="(".concat(vr.result,")"):xn==="number"?yn.result=M(vr):xn==="string"&&(yn.result=vr),yn}return(0,b.Z)(sr,[{key:"add",value:function(Er){return Er instanceof sr?this.result="".concat(this.result," + ").concat(Er.getResult()):(typeof Er=="number"||typeof Er=="string")&&(this.result="".concat(this.result," + ").concat(M(Er))),this.lowPriority=!0,this}},{key:"sub",value:function(Er){return Er instanceof sr?this.result="".concat(this.result," - ").concat(Er.getResult()):(typeof Er=="number"||typeof Er=="string")&&(this.result="".concat(this.result," - ").concat(M(Er))),this.lowPriority=!0,this}},{key:"mul",value:function(Er){return this.lowPriority&&(this.result="(".concat(this.result,")")),Er instanceof sr?this.result="".concat(this.result," * ").concat(Er.getResult(!0)):(typeof Er=="number"||typeof Er=="string")&&(this.result="".concat(this.result," * ").concat(Er)),this.lowPriority=!1,this}},{key:"div",value:function(Er){return this.lowPriority&&(this.result="(".concat(this.result,")")),Er instanceof sr?this.result="".concat(this.result," / ").concat(Er.getResult(!0)):(typeof Er=="number"||typeof Er=="string")&&(this.result="".concat(this.result," / ").concat(Er)),this.lowPriority=!1,this}},{key:"getResult",value:function(Er){return this.lowPriority||Er?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Er){var yn=this,xn=Er||{},Bn=xn.unit,Ln=!0;return typeof Bn=="boolean"?Ln=Bn:Array.from(this.unitlessCssVar).some(function(Kn){return yn.result.includes(Kn)})&&(Ln=!1),this.result=this.result.replace(F,Ln?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),sr}(ee),de=function(qt){(0,Y.Z)(sr,qt);var lr=(0,ue.Z)(sr);function sr(vr){var Er;return(0,_.Z)(this,sr),Er=lr.call(this),(0,i.Z)((0,J.Z)(Er),"result",0),vr instanceof sr?Er.result=vr.result:typeof vr=="number"&&(Er.result=vr),Er}return(0,b.Z)(sr,[{key:"add",value:function(Er){return Er instanceof sr?this.result+=Er.result:typeof Er=="number"&&(this.result+=Er),this}},{key:"sub",value:function(Er){return Er instanceof sr?this.result-=Er.result:typeof Er=="number"&&(this.result-=Er),this}},{key:"mul",value:function(Er){return Er instanceof sr?this.result*=Er.result:typeof Er=="number"&&(this.result*=Er),this}},{key:"div",value:function(Er){return Er instanceof sr?this.result/=Er.result:typeof Er=="number"&&(this.result/=Er),this}},{key:"equal",value:function(){return this.result}}]),sr}(ee),Ee=function(lr,sr){var vr=lr==="css"?q:de;return function(Er){return new vr(Er,sr)}},Ce=Ee;function je(qt,lr){if(qt.length!==lr.length)return!1;for(var sr=0;sr<qt.length;sr++)if(qt[sr]!==lr[sr])return!1;return!0}var Fe=function(){function qt(){(0,_.Z)(this,qt),(0,i.Z)(this,"cache",void 0),(0,i.Z)(this,"keys",void 0),(0,i.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,b.Z)(qt,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(sr){var vr,Er,yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xn={map:this.cache};return sr.forEach(function(Bn){if(!xn)xn=void 0;else{var Ln;xn=(Ln=xn)===null||Ln===void 0||(Ln=Ln.map)===null||Ln===void 0?void 0:Ln.get(Bn)}}),(vr=xn)!==null&&vr!==void 0&&vr.value&&yn&&(xn.value[1]=this.cacheCallTimes++),(Er=xn)===null||Er===void 0?void 0:Er.value}},{key:"get",value:function(sr){var vr;return(vr=this.internalGet(sr,!0))===null||vr===void 0?void 0:vr[0]}},{key:"has",value:function(sr){return!!this.internalGet(sr)}},{key:"set",value:function(sr,vr){var Er=this;if(!this.has(sr)){if(this.size()+1>qt.MAX_CACHE_SIZE+qt.MAX_CACHE_OFFSET){var yn=this.keys.reduce(function(Kn,or){var Br=(0,r.Z)(Kn,2),xr=Br[1];return Er.internalGet(or)[1]<xr?[or,Er.internalGet(or)[1]]:Kn},[this.keys[0],this.cacheCallTimes]),xn=(0,r.Z)(yn,1),Bn=xn[0];this.delete(Bn)}this.keys.push(sr)}var Ln=this.cache;sr.forEach(function(Kn,or){if(or===sr.length-1)Ln.set(Kn,{value:[vr,Er.cacheCallTimes++]});else{var Br=Ln.get(Kn);Br?Br.map||(Br.map=new Map):Ln.set(Kn,{map:new Map}),Ln=Ln.get(Kn).map}})}},{key:"deleteByPath",value:function(sr,vr){var Er=sr.get(vr[0]);if(vr.length===1){var yn;return Er.map?sr.set(vr[0],{map:Er.map}):sr.delete(vr[0]),(yn=Er.value)===null||yn===void 0?void 0:yn[0]}var xn=this.deleteByPath(Er.map,vr.slice(1));return(!Er.map||Er.map.size===0)&&!Er.value&&sr.delete(vr[0]),xn}},{key:"delete",value:function(sr){if(this.has(sr))return this.keys=this.keys.filter(function(vr){return!je(vr,sr)}),this.deleteByPath(this.cache,sr)}}]),qt}();(0,i.Z)(Fe,"MAX_CACHE_SIZE",20),(0,i.Z)(Fe,"MAX_CACHE_OFFSET",5);var Ft=e(48736),_t=0,Pt=function(){function qt(lr){(0,_.Z)(this,qt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(lr)?lr:[lr],this.id=_t,lr.length===0&&(0,Ft.Kp)(lr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),_t+=1}return(0,b.Z)(qt,[{key:"getDerivativeToken",value:function(sr){return this.derivatives.reduce(function(vr,Er){return Er(sr,vr)},void 0)}}]),qt}(),Qt=new Fe;function er(qt){var lr=Array.isArray(qt)?qt:[qt];return Qt.has(lr)||Qt.set(lr,new Pt(lr)),Qt.get(lr)}var Jt=new WeakMap,Xe={};function It(qt,lr){for(var sr=Jt,vr=0;vr<lr.length;vr+=1){var Er=lr[vr];sr.has(Er)||sr.set(Er,new WeakMap),sr=sr.get(Er)}return sr.has(Xe)||sr.set(Xe,qt()),sr.get(Xe)}var zt=new WeakMap;function st(qt){var lr=zt.get(qt)||"";return lr||(Object.keys(qt).forEach(function(sr){var vr=qt[sr];lr+=sr,vr instanceof Pt?lr+=vr.id:vr&&(0,le.Z)(vr)==="object"?lr+=st(vr):lr+=vr}),lr=s(lr),zt.set(qt,lr)),lr}function bt(qt,lr){return s("".concat(lr,"_").concat(st(qt)))}var ht="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Je="_bAmBoO_";function Ue(qt,lr,sr){if((0,Q.Z)()){var vr,Er;(0,h.hq)(qt,ht);var yn=document.createElement("div");yn.style.position="fixed",yn.style.left="0",yn.style.top="0",lr==null||lr(yn),document.body.appendChild(yn);var xn=sr?sr(yn):(vr=getComputedStyle(yn).content)===null||vr===void 0?void 0:vr.includes(Je);return(Er=yn.parentNode)===null||Er===void 0||Er.removeChild(yn),(0,h.jL)(ht),xn}return!1}var ge=null;function Ae(){return ge===void 0&&(ge=Ue("@layer ".concat(ht," { .").concat(ht,' { content: "').concat(Je,'"!important; } }'),function(qt){qt.className=ht})),ge}var Me=void 0;function $e(){return Me===void 0&&(Me=Ue(":where(.".concat(ht,') { content: "').concat(Je,'"!important; }'),function(qt){qt.className=ht})),Me}var He=void 0;function nt(){return He===void 0&&(He=Ue(".".concat(ht," { inset-block: 93px !important; }"),function(qt){qt.className=ht},function(qt){return getComputedStyle(qt).bottom==="93px"})),He}var ct=(0,Q.Z)();function Kt(qt){return typeof qt=="number"?"".concat(qt,"px"):qt}function Wt(qt,lr,sr){var vr,Er=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},yn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(yn)return qt;var xn=(0,c.Z)((0,c.Z)({},Er),{},(vr={},(0,i.Z)(vr,B,lr),(0,i.Z)(vr,$,sr),vr)),Bn=Object.keys(xn).map(function(Ln){var Kn=xn[Ln];return Kn?"".concat(Ln,'="').concat(Kn,'"'):null}).filter(function(Ln){return Ln}).join(" ");return"<style ".concat(Bn,">").concat(qt,"</style>")}var De=function(lr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(sr?"".concat(sr,"-"):"").concat(lr).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(lr,sr,vr){return Object.keys(lr).length?".".concat(sr).concat(vr!=null&&vr.scope?".".concat(vr.scope):"","{").concat(Object.entries(lr).map(function(Er){var yn=(0,r.Z)(Er,2),xn=yn[0],Bn=yn[1];return"".concat(xn,":").concat(Bn,";")}).join(""),"}"):""},Vt=function(lr,sr,vr){var Er={},yn={};return Object.entries(lr).forEach(function(xn){var Bn,Ln,Kn=(0,r.Z)(xn,2),or=Kn[0],Br=Kn[1];if(vr!=null&&(Bn=vr.preserve)!==null&&Bn!==void 0&&Bn[or])yn[or]=Br;else if((typeof Br=="string"||typeof Br=="number")&&!(vr!=null&&(Ln=vr.ignore)!==null&&Ln!==void 0&&Ln[or])){var xr,pn=De(or,vr==null?void 0:vr.prefix);Er[pn]=typeof Br=="number"&&!(vr!=null&&(xr=vr.unitless)!==null&&xr!==void 0&&xr[or])?"".concat(Br,"px"):String(Br),yn[or]="var(".concat(pn,")")}}),[yn,Qe(Er,sr,{scope:vr==null?void 0:vr.scope})]},kt=e(34280),Ht=(0,c.Z)({},a),$t=Ht.useInsertionEffect,Ct=function(lr,sr,vr){u.useMemo(lr,vr),(0,kt.Z)(function(){return sr(!0)},vr)},Yt=$t?function(qt,lr,sr){return $t(function(){return qt(),lr()},sr)}:Ct,Ge=Yt,fe=(0,c.Z)({},a),_e=fe.useInsertionEffect,Ot=function(lr){var sr=[],vr=!1;function Er(yn){vr||sr.push(yn)}return u.useEffect(function(){return vr=!1,function(){vr=!0,sr.length&&sr.forEach(function(yn){return yn()})}},lr),Er},Pe=function(){return function(lr){lr()}},dt=typeof _e!="undefined"?Ot:Pe,Zt=dt;function Tt(){return!1}var ke=!1;function St(){return ke}var be=Tt;if(0)var Ke,gt;function Rt(qt,lr,sr,vr,Er){var yn=u.useContext(ae),xn=yn.cache,Bn=[qt].concat((0,l.Z)(lr)),Ln=R(Bn),Kn=Zt([Ln]),or=be(),Br=function(ft){xn.opUpdate(Ln,function(Pn){var zn=Pn||[void 0,void 0],si=(0,r.Z)(zn,2),qi=si[0],Hr=qi===void 0?0:qi,ji=si[1],ma=ji,zr=ma||sr(),Ca=[Hr,zr];return ft?ft(Ca):Ca})};u.useMemo(function(){Br()},[Ln]);var xr=xn.opGet(Ln),pn=xr[1];return Ge(function(){Er==null||Er(pn)},function(jn){return Br(function(ft){var Pn=(0,r.Z)(ft,2),zn=Pn[0],si=Pn[1];return jn&&zn===0&&(Er==null||Er(pn)),[zn+1,si]}),function(){xn.opUpdate(Ln,function(ft){var Pn=ft||[],zn=(0,r.Z)(Pn,2),si=zn[0],qi=si===void 0?0:si,Hr=zn[1],ji=qi-1;return ji===0?(Kn(function(){(jn||!xn.opGet(Ln))&&(vr==null||vr(Hr,!1))}),null):[qi-1,Hr]})}},[Ln]),pn}var Be={},kr="css",At=new Map;function Kr(qt){At.set(qt,(At.get(qt)||0)+1)}function Qr(qt,lr){if(typeof document!="undefined"){var sr=document.querySelectorAll("style[".concat(B,'="').concat(qt,'"]'));sr.forEach(function(vr){if(vr[V]===lr){var Er;(Er=vr.parentNode)===null||Er===void 0||Er.removeChild(vr)}})}}var Ar=0;function $r(qt,lr){At.set(qt,(At.get(qt)||0)-1);var sr=Array.from(At.keys()),vr=sr.filter(function(Er){var yn=At.get(Er)||0;return yn<=0});sr.length-vr.length>Ar&&vr.forEach(function(Er){Qr(Er,lr),At.delete(Er)})}var _r=function(lr,sr,vr,Er){var yn=vr.getDerivativeToken(lr),xn=(0,c.Z)((0,c.Z)({},yn),sr);return Er&&(xn=Er(xn)),xn},Ur="token";function sn(qt,lr){var sr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},vr=(0,u.useContext)(ae),Er=vr.cache.instanceId,yn=vr.container,xn=sr.salt,Bn=xn===void 0?"":xn,Ln=sr.override,Kn=Ln===void 0?Be:Ln,or=sr.formatToken,Br=sr.getComputedToken,xr=sr.cssVar,pn=It(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(lr)))},lr),jn=st(pn),ft=st(Kn),Pn=xr?st(xr):"",zn=Rt(Ur,[Bn,qt.id,jn,ft,Pn],function(){var si,qi=Br?Br(pn,Kn,qt):_r(pn,Kn,qt,or),Hr=(0,c.Z)({},qi),ji="";if(xr){var ma=Vt(qi,xr.key,{prefix:xr.prefix,ignore:xr.ignore,unitless:xr.unitless,preserve:xr.preserve}),zr=(0,r.Z)(ma,2);qi=zr[0],ji=zr[1]}var Ca=bt(qi,Bn);qi._tokenKey=Ca,Hr._tokenKey=bt(Hr,Bn);var Es=(si=xr==null?void 0:xr.key)!==null&&si!==void 0?si:Ca;qi._themeKey=Es,Kr(Es);var fi="".concat(kr,"-").concat(s(Ca));return qi._hashId=fi,[qi,fi,Hr,ji,(xr==null?void 0:xr.key)||""]},function(si){$r(si[0]._themeKey,Er)},function(si){var qi=(0,r.Z)(si,4),Hr=qi[0],ji=qi[3];if(xr&&ji){var ma=(0,h.hq)(ji,s("css-variables-".concat(Hr._themeKey)),{mark:$,prepend:"queue",attachTo:yn,priority:-999});ma[V]=Er,ma.setAttribute(B,Hr._themeKey)}});return zn}var cn=function(lr,sr,vr){var Er=(0,r.Z)(lr,5),yn=Er[2],xn=Er[3],Bn=Er[4],Ln=vr||{},Kn=Ln.plain;if(!xn)return null;var or=yn._tokenKey,Br=-999,xr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Br)},pn=Wt(xn,Bn,or,xr,Kn);return[Br,or,pn]},ur=e(72308),Lt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},vt=Lt,yt="-ms-",jt="-moz-",Cr="-webkit-",yr="comm",ot="rule",Fr="decl",mn="@page",Un="@media",mr="@import",en="@charset",dn="@viewport",Fn="@supports",ei="@document",Nn="@namespace",zi="@keyframes",mi="@font-face",xi="@counter-style",vi="@font-feature-values",pi="@layer",Yi="@scope",Yn=Math.abs,Vi=String.fromCharCode,Et=Object.assign;function ut(qt,lr){return _i(qt,0)^45?(((lr<<2^_i(qt,0))<<2^_i(qt,1))<<2^_i(qt,2))<<2^_i(qt,3):0}function Xn(qt){return qt.trim()}function wi(qt,lr){return(qt=lr.exec(qt))?qt[0]:qt}function qn(qt,lr,sr){return qt.replace(lr,sr)}function Zi(qt,lr,sr){return qt.indexOf(lr,sr)}function _i(qt,lr){return qt.charCodeAt(lr)|0}function Pi(qt,lr,sr){return qt.slice(lr,sr)}function Qn(qt){return qt.length}function tr(qt){return qt.length}function mt(qt,lr){return lr.push(qt),qt}function rt(qt,lr){return qt.map(lr).join("")}function Dt(qt,lr){return qt.filter(function(sr){return!wi(sr,lr)})}function pt(qt,lr){for(var sr="",vr=0;vr<qt.length;vr++)sr+=lr(qt[vr],vr,qt,lr)||"";return sr}function cr(qt,lr,sr,vr){switch(qt.type){case pi:if(qt.children.length)break;case mr:case Nn:case Fr:return qt.return=qt.return||qt.value;case yr:return"";case zi:return qt.return=qt.value+"{"+pt(qt.children,vr)+"}";case ot:if(!Qn(qt.value=qt.props.join(",")))return""}return Qn(sr=pt(qt.children,vr))?qt.return=qt.value+"{"+sr+"}":""}var fr=1,Ir=1,Rr=0,Ze=0,et=0,we="";function it(qt,lr,sr,vr,Er,yn,xn,Bn){return{value:qt,root:lr,parent:sr,type:vr,props:Er,children:yn,line:fr,column:Ir,length:xn,return:"",siblings:Bn}}function ir(qt,lr){return assign(it("",null,null,"",null,null,0,qt.siblings),qt,{length:-qt.length},lr)}function Or(qt){for(;qt.root;)qt=ir(qt.root,{children:[qt]});append(qt,qt.siblings)}function wr(){return et}function Tr(){return et=Ze>0?_i(we,--Ze):0,Ir--,et===10&&(Ir=1,fr--),et}function Nr(){return et=Ze<Rr?_i(we,Ze++):0,Ir++,et===10&&(Ir=1,fr++),et}function gn(){return _i(we,Ze)}function Dr(){return Ze}function un(qt,lr){return Pi(we,qt,lr)}function tn(qt){switch(qt){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ln(qt){return fr=Ir=1,Rr=Qn(we=qt),Ze=0,[]}function En(qt){return we="",qt}function la(qt){return Xn(un(Ze-1,Fi(qt===91?qt+2:qt===40?qt+1:qt)))}function gi(qt){return En(On(ln(qt)))}function yi(qt){for(;(et=gn())&&et<33;)Nr();return tn(qt)>2||tn(et)>3?"":" "}function On(qt){for(;Nr();)switch(tn(et)){case 0:append(ws(Ze-1),qt);break;case 2:append(la(et),qt);break;default:append(from(et),qt)}return qt}function Di(qt,lr){for(;--lr&&Nr()&&!(et<48||et>102||et>57&&et<65||et>70&&et<97););return un(qt,Dr()+(lr<6&&gn()==32&&Nr()==32))}function Fi(qt){for(;Nr();)switch(et){case qt:return Ze;case 34:case 39:qt!==34&&qt!==39&&Fi(et);break;case 40:qt===41&&Fi(qt);break;case 92:Nr();break}return Ze}function oa(qt,lr){for(;Nr()&&qt+et!==57;)if(qt+et===84&&gn()===47)break;return"/*"+un(lr,Ze-1)+"*"+Vi(qt===47?qt:Nr())}function ws(qt){for(;!tn(gn());)Nr();return un(qt,Ze)}function Sa(qt){return En(Ha("",null,null,null,[""],qt=ln(qt),0,[0],qt))}function Ha(qt,lr,sr,vr,Er,yn,xn,Bn,Ln){for(var Kn=0,or=0,Br=xn,xr=0,pn=0,jn=0,ft=1,Pn=1,zn=1,si=0,qi="",Hr=Er,ji=yn,ma=vr,zr=qi;Pn;)switch(jn=si,si=Nr()){case 40:if(jn!=108&&_i(zr,Br-1)==58){Zi(zr+=qn(la(si),"&","&\f"),"&\f",Yn(Kn?Bn[Kn-1]:0))!=-1&&(zn=-1);break}case 34:case 39:case 91:zr+=la(si);break;case 9:case 10:case 13:case 32:zr+=yi(jn);break;case 92:zr+=Di(Dr()-1,7);continue;case 47:switch(gn()){case 42:case 47:mt(ja(oa(Nr(),Dr()),lr,sr,Ln),Ln),(tn(jn||1)==5||tn(gn()||1)==5)&&Qn(zr)&&Pi(zr,-1,void 0)!==" "&&(zr+=" ");break;default:zr+="/"}break;case 123*ft:Bn[Kn++]=Qn(zr)*zn;case 125*ft:case 59:case 0:switch(si){case 0:case 125:Pn=0;case 59+or:zn==-1&&(zr=qn(zr,/\f/g,"")),pn>0&&(Qn(zr)-Br||ft===0&&jn===47)&&mt(pn>32?na(zr+";",vr,sr,Br-1,Ln):na(qn(zr," ","")+";",vr,sr,Br-2,Ln),Ln);break;case 59:zr+=";";default:if(mt(ma=Us(zr,lr,sr,Kn,or,Er,Bn,qi,Hr=[],ji=[],Br,yn),yn),si===123)if(or===0)Ha(zr,lr,ma,ma,Hr,yn,Br,Bn,ji);else{switch(xr){case 99:if(_i(zr,3)===110)break;case 108:if(_i(zr,2)===97)break;default:or=0;case 100:case 109:case 115:}or?Ha(qt,ma,ma,vr&&mt(Us(qt,ma,ma,0,0,Er,Bn,qi,Er,Hr=[],Br,ji),ji),Er,ji,Br,Bn,vr?Hr:ji):Ha(zr,ma,ma,ma,[""],ji,0,Bn,ji)}}Kn=or=pn=0,ft=zn=1,qi=zr="",Br=xn;break;case 58:Br=1+Qn(zr),pn=jn;default:if(ft<1){if(si==123)--ft;else if(si==125&&ft++==0&&Tr()==125)continue}switch(zr+=Vi(si),si*ft){case 38:zn=or>0?1:(zr+="\f",-1);break;case 44:Bn[Kn++]=(Qn(zr)-1)*zn,zn=1;break;case 64:gn()===45&&(zr+=la(Nr())),xr=gn(),or=Br=Qn(qi=zr+=ws(Dr())),si++;break;case 45:jn===45&&Qn(zr)==2&&(ft=0)}}return yn}function Us(qt,lr,sr,vr,Er,yn,xn,Bn,Ln,Kn,or,Br){for(var xr=Er-1,pn=Er===0?yn:[""],jn=tr(pn),ft=0,Pn=0,zn=0;ft<vr;++ft)for(var si=0,qi=Pi(qt,xr+1,xr=Yn(Pn=xn[ft])),Hr=qt;si<jn;++si)(Hr=Xn(Pn>0?pn[si]+" "+qi:qn(qi,/&\f/g,pn[si])))&&(Ln[zn++]=Hr);return it(qt,lr,sr,Er===0?ot:Bn,Ln,Kn,or,Br)}function ja(qt,lr,sr,vr){return it(qt,lr,sr,yr,Vi(wr()),Pi(qt,2,-2),0,vr)}function na(qt,lr,sr,vr,Er){return it(qt,lr,sr,Fr,Pi(qt,0,vr),Pi(qt,vr+1,-1),vr,Er)}function Ai(qt,lr){var sr=lr.path,vr=lr.parentSelectors;(0,Ft.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(sr?"Error in ".concat(sr,": "):"").concat(qt).concat(vr.length?" Selector: ".concat(vr.join(" | ")):""))}var Ci=function(lr,sr,vr){if(lr==="content"){var Er=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,yn=["normal","none","initial","inherit","unset"];(typeof sr!="string"||yn.indexOf(sr)===-1&&!Er.test(sr)&&(sr.charAt(0)!==sr.charAt(sr.length-1)||sr.charAt(0)!=='"'&&sr.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(sr,"\"'`."),vr)}},qa=null,Cs=function(lr,sr,vr){lr==="animation"&&vr.hashId&&sr!=="none"&&lintWarning("You seem to be using hashed animation '".concat(sr,"', in which case 'animationName' with Keyframe as value is recommended."),vr)},Ni=null;function Ts(qt){var lr,sr=((lr=qt.match(/:not\(([^)]*)\)/))===null||lr===void 0?void 0:lr[1])||"",vr=sr.split(/(\[[^[]*])|(?=[.#])/).filter(function(Er){return Er});return vr.length>1}function xo(qt){return qt.parentSelectors.reduce(function(lr,sr){return lr?sr.includes("&")?sr.replace(/&/g,lr):"".concat(lr," ").concat(sr):sr},"")}var La=function(lr,sr,vr){var Er=xo(vr),yn=Er.match(/:not\([^)]*\)/g)||[];yn.length>0&&yn.some(Ts)&&Ai("Concat ':not' selector not support in legacy browsers.",vr)},hs=La,Hi=function(lr,sr,vr){switch(lr){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":Ai("You seem to be using non-logical property '".concat(lr,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof sr=="string"){var Er=sr.split(" ").map(function(Bn){return Bn.trim()});Er.length===4&&Er[1]!==Er[3]&&Ai("You seem to be using '".concat(lr,"' property with different left ").concat(lr," and right ").concat(lr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr)}return;case"clear":case"textAlign":(sr==="left"||sr==="right")&&Ai("You seem to be using non-logical value '".concat(sr,"' of ").concat(lr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr);return;case"borderRadius":if(typeof sr=="string"){var yn=sr.split("/").map(function(Bn){return Bn.trim()}),xn=yn.reduce(function(Bn,Ln){if(Bn)return Bn;var Kn=Ln.split(" ").map(function(or){return or.trim()});return Kn.length>=2&&Kn[0]!==Kn[1]||Kn.length===3&&Kn[1]!==Kn[2]||Kn.length===4&&Kn[2]!==Kn[3]?!0:Bn},!1);xn&&Ai("You seem to be using non-logical value '".concat(sr,"' of ").concat(lr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr)}return;default:}},Vs=Hi,kn=function(lr,sr,vr){(typeof sr=="string"&&/NaN/g.test(sr)||Number.isNaN(sr))&&Ai("Unexpected 'NaN' in property '".concat(lr,": ").concat(sr,"'."),vr)},Qa=kn,uo=function(lr,sr,vr){vr.parentSelectors.some(function(Er){var yn=Er.split(",");return yn.some(function(xn){return xn.split("&").length>2})})&&Ai("Should not use more than one `&` in a selector.",vr)},Ls=uo,Ki="data-ant-cssinjs-cache-path",Aa="_FILE_STYLE__";function Da(qt){return Object.keys(qt).map(function(lr){var sr=qt[lr];return"".concat(lr,":").concat(sr)}).join(";")}var cs,zs=!0;function wo(qt){var lr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;cs=qt,zs=lr}function Eo(){if(!cs&&(cs={},(0,Q.Z)())){var qt=document.createElement("div");qt.className=Ki,qt.style.position="fixed",qt.style.visibility="hidden",qt.style.top="-9999px",document.body.appendChild(qt);var lr=getComputedStyle(qt).content||"";lr=lr.replace(/^"/,"").replace(/"$/,""),lr.split(";").forEach(function(Er){var yn=Er.split(":"),xn=(0,r.Z)(yn,2),Bn=xn[0],Ln=xn[1];cs[Bn]=Ln});var sr=document.querySelector("style[".concat(Ki,"]"));if(sr){var vr;zs=!1,(vr=sr.parentNode)===null||vr===void 0||vr.removeChild(sr)}document.body.removeChild(qt)}}function Zs(qt){return Eo(),!!cs[qt]}function Ms(qt){var lr=cs[qt],sr=null;if(lr&&(0,Q.Z)())if(zs)sr=Aa;else{var vr=document.querySelector("style[".concat($,'="').concat(cs[qt],'"]'));vr?sr=vr.innerHTML:delete cs[qt]}return[sr,lr]}var ca="_skip_check_",fs="_multi_value_";function So(qt){var lr=pt(Sa(qt),cr);return lr.replace(/\{%%%\:[^;];}/g,";")}function fo(qt){return(0,le.Z)(qt)==="object"&&qt&&(ca in qt||fs in qt)}function Io(qt,lr,sr){if(!lr)return qt;var vr=".".concat(lr),Er=sr==="low"?":where(".concat(vr,")"):vr,yn=qt.split(",").map(function(xn){var Bn,Ln=xn.trim().split(/\s+/),Kn=Ln[0]||"",or=((Bn=Kn.match(/^\w+/))===null||Bn===void 0?void 0:Bn[0])||"";return Kn="".concat(or).concat(Er).concat(Kn.slice(or.length)),[Kn].concat((0,l.Z)(Ln.slice(1))).join(" ")});return yn.join(",")}var li=function qt(lr){var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Er=vr.root,yn=vr.injectHash,xn=vr.parentSelectors,Bn=sr.hashId,Ln=sr.layer,Kn=sr.path,or=sr.hashPriority,Br=sr.transformers,xr=Br===void 0?[]:Br,pn=sr.linters,jn=pn===void 0?[]:pn,ft="",Pn={};function zn(Hr){var ji=Hr.getName(Bn);if(!Pn[ji]){var ma=qt(Hr.style,sr,{root:!1,parentSelectors:xn}),zr=(0,r.Z)(ma,1),Ca=zr[0];Pn[ji]="@keyframes ".concat(Hr.getName(Bn)).concat(Ca)}}function si(Hr){var ji=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Hr.forEach(function(ma){Array.isArray(ma)?si(ma,ji):ma&&ji.push(ma)}),ji}var qi=si(Array.isArray(lr)?lr:[lr]);return qi.forEach(function(Hr){var ji=typeof Hr=="string"&&!Er?{}:Hr;if(typeof ji=="string")ft+="".concat(ji,`
|
|
|
`);else if(ji._keyframe)zn(ji);else{var ma=xr.reduce(function(zr,Ca){var Es;return(Ca==null||(Es=Ca.visit)===null||Es===void 0?void 0:Es.call(Ca,zr))||zr},ji);Object.keys(ma).forEach(function(zr){var Ca=ma[zr];if((0,le.Z)(Ca)==="object"&&Ca&&(zr!=="animationName"||!Ca._keyframe)&&!fo(Ca)){var Es=!1,fi=zr.trim(),ro=!1;(Er||yn)&&Bn?fi.startsWith("@")?Es=!0:fi==="&"?fi=Io("",Bn,or):fi=Io(zr,Bn,or):Er&&!Bn&&(fi==="&"||fi==="")&&(fi="",ro=!0);var po=qt(Ca,sr,{root:ro,injectHash:Es,parentSelectors:[].concat((0,l.Z)(xn),[fi])}),ds=(0,r.Z)(po,2),Oa=ds[0],qs=ds[1];Pn=(0,c.Z)((0,c.Z)({},Pn),qs),ft+="".concat(fi).concat(Oa)}else{let gs=function(Hs,Ye){var qe=Hs.replace(/[A-Z]/g,function(Gt){return"-".concat(Gt.toLowerCase())}),Mt=Ye;!vt[Hs]&&typeof Mt=="number"&&Mt!==0&&(Mt="".concat(Mt,"px")),Hs==="animationName"&&Ye!==null&&Ye!==void 0&&Ye._keyframe&&(zn(Ye),Mt=Ye.getName(Bn)),ft+="".concat(qe,":").concat(Mt,";")};var Bs,bn=(Bs=Ca==null?void 0:Ca.value)!==null&&Bs!==void 0?Bs:Ca;(0,le.Z)(Ca)==="object"&&Ca!==null&&Ca!==void 0&&Ca[fs]&&Array.isArray(bn)?bn.forEach(function(Hs){gs(zr,Hs)}):gs(zr,bn)}})}}),Er?Ln&&(ft&&(ft="@layer ".concat(Ln.name," {").concat(ft,"}")),Ln.dependencies&&(Pn["@layer ".concat(Ln.name)]=Ln.dependencies.map(function(Hr){return"@layer ".concat(Hr,", ").concat(Ln.name,";")}).join(`
|
|
|
`))):ft="{".concat(ft,"}"),[ft,Pn]};function ai(qt,lr){return s("".concat(qt.join("%")).concat(lr))}function Wa(){return null}var ts="style";function Ua(qt,lr){var sr=qt.token,vr=qt.path,Er=qt.hashId,yn=qt.layer,xn=qt.nonce,Bn=qt.clientOnly,Ln=qt.order,Kn=Ln===void 0?0:Ln,or=u.useContext(ae),Br=or.autoClear,xr=or.mock,pn=or.defaultCache,jn=or.hashPriority,ft=or.container,Pn=or.ssrInline,zn=or.transformers,si=or.linters,qi=or.cache,Hr=or.layer,ji=sr._tokenKey,ma=[ji];Hr&&ma.push("layer"),ma.push.apply(ma,(0,l.Z)(vr));var zr=ct,Ca=Rt(ts,ma,function(){var ds=ma.join("|");if(Zs(ds)){var Oa=Ms(ds),qs=(0,r.Z)(Oa,2),Bs=qs[0],bn=qs[1];if(Bs)return[Bs,ji,bn,{},Bn,Kn]}var gs=lr(),Hs=li(gs,{hashId:Er,hashPriority:jn,layer:Hr?yn:void 0,path:vr.join("-"),transformers:zn,linters:si}),Ye=(0,r.Z)(Hs,2),qe=Ye[0],Mt=Ye[1],Gt=So(qe),hr=ai(ma,Gt);return[Gt,ji,hr,Mt,Bn,Kn]},function(ds,Oa){var qs=(0,r.Z)(ds,3),Bs=qs[2];(Oa||Br)&&ct&&(0,h.jL)(Bs,{mark:$})},function(ds){var Oa=(0,r.Z)(ds,4),qs=Oa[0],Bs=Oa[1],bn=Oa[2],gs=Oa[3];if(zr&&qs!==Aa){var Hs={mark:$,prepend:Hr?!1:"queue",attachTo:ft,priority:Kn},Ye=typeof xn=="function"?xn():xn;Ye&&(Hs.csp={nonce:Ye});var qe=[],Mt=[];Object.keys(gs).forEach(function(hr){hr.startsWith("@layer")?qe.push(hr):Mt.push(hr)}),qe.forEach(function(hr){(0,h.hq)(So(gs[hr]),"_layer-".concat(hr),(0,c.Z)((0,c.Z)({},Hs),{},{prepend:!0}))});var Gt=(0,h.hq)(qs,bn,Hs);Gt[V]=qi.instanceId,Gt.setAttribute(B,ji),Mt.forEach(function(hr){(0,h.hq)(So(gs[hr]),"_effect-".concat(hr),Hs)})}}),Es=(0,r.Z)(Ca,3),fi=Es[0],ro=Es[1],po=Es[2];return function(ds){var Oa;if(!Pn||zr||!pn)Oa=u.createElement(Wa,null);else{var qs;Oa=u.createElement("style",(0,ur.Z)({},(qs={},(0,i.Z)(qs,B,ro),(0,i.Z)(qs,$,po),qs),{dangerouslySetInnerHTML:{__html:fi}}))}return u.createElement(u.Fragment,null,Oa,ds)}}var Ao=function(lr,sr,vr){var Er=(0,r.Z)(lr,6),yn=Er[0],xn=Er[1],Bn=Er[2],Ln=Er[3],Kn=Er[4],or=Er[5],Br=vr||{},xr=Br.plain;if(Kn)return null;var pn=yn,jn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(or)};return pn=Wt(yn,xn,Bn,jn,xr),Ln&&Object.keys(Ln).forEach(function(ft){if(!sr[ft]){sr[ft]=!0;var Pn=So(Ln[ft]),zn=Wt(Pn,xn,"_effect-".concat(ft),jn,xr);ft.startsWith("@layer")?pn=zn+pn:pn+=zn}}),[or,Bn,pn]},Do="cssVar",Fo=function(lr,sr){var vr=lr.key,Er=lr.prefix,yn=lr.unitless,xn=lr.ignore,Bn=lr.token,Ln=lr.scope,Kn=Ln===void 0?"":Ln,or=(0,u.useContext)(ae),Br=or.cache.instanceId,xr=or.container,pn=Bn._tokenKey,jn=[].concat((0,l.Z)(lr.path),[vr,Kn,pn]),ft=Rt(Do,jn,function(){var Pn=sr(),zn=Vt(Pn,vr,{prefix:Er,unitless:yn,ignore:xn,scope:Kn}),si=(0,r.Z)(zn,2),qi=si[0],Hr=si[1],ji=ai(jn,Hr);return[qi,Hr,ji,vr]},function(Pn){var zn=(0,r.Z)(Pn,3),si=zn[2];ct&&(0,h.jL)(si,{mark:$})},function(Pn){var zn=(0,r.Z)(Pn,3),si=zn[1],qi=zn[2];if(si){var Hr=(0,h.hq)(si,qi,{mark:$,prepend:"queue",attachTo:xr,priority:-999});Hr[V]=Br,Hr.setAttribute(B,vr)}});return ft},Ja=function(lr,sr,vr){var Er=(0,r.Z)(lr,4),yn=Er[1],xn=Er[2],Bn=Er[3],Ln=vr||{},Kn=Ln.plain;if(!yn)return null;var or=-999,Br={"data-rc-order":"prependQueue","data-rc-priority":"".concat(or)},xr=Wt(yn,Bn,xn,Br,Kn);return[or,xn,xr]},du=Fo,Co,Xo=(Co={},(0,i.Z)(Co,ts,Ao),(0,i.Z)(Co,Ur,cn),(0,i.Z)(Co,Do,Ja),Co);function hu(qt){return qt!==null}function Pu(qt,lr){var sr=typeof lr=="boolean"?{plain:lr}:lr||{},vr=sr.plain,Er=vr===void 0?!1:vr,yn=sr.types,xn=yn===void 0?["style","token","cssVar"]:yn,Bn=new RegExp("^(".concat((typeof xn=="string"?[xn]:xn).join("|"),")%")),Ln=Array.from(qt.cache.keys()).filter(function(xr){return Bn.test(xr)}),Kn={},or={},Br="";return Ln.map(function(xr){var pn=xr.replace(Bn,"").replace(/%/g,"|"),jn=xr.split("%"),ft=(0,r.Z)(jn,1),Pn=ft[0],zn=Xo[Pn],si=zn(qt.cache.get(xr)[1],Kn,{plain:Er});if(!si)return null;var qi=(0,r.Z)(si,3),Hr=qi[0],ji=qi[1],ma=qi[2];return xr.startsWith("style")&&(or[pn]=ji),[Hr,ma]}).filter(hu).sort(function(xr,pn){var jn=(0,r.Z)(xr,1),ft=jn[0],Pn=(0,r.Z)(pn,1),zn=Pn[0];return ft-zn}).forEach(function(xr){var pn=(0,r.Z)(xr,2),jn=pn[1];Br+=jn}),Br+=Wt(".".concat(Ki,'{content:"').concat(Da(or),'";}'),void 0,void 0,(0,i.Z)({},Ki,Ki),Er),Br}var To=function(){function qt(lr,sr){(0,_.Z)(this,qt),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=lr,this.style=sr}return(0,b.Z)(qt,[{key:"getName",value:function(){var sr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return sr?"".concat(sr,"-").concat(this.name):this.name}}]),qt}(),Ps=To;function gu(qt){if(typeof qt=="number")return[[qt],!1];var lr=String(qt).trim(),sr=lr.match(/(.*)(!important)/),vr=(sr?sr[1]:lr).trim().split(/\s+/),Er=[],yn=0;return[vr.reduce(function(xn,Bn){if(Bn.includes("(")||Bn.includes(")")){var Ln=Bn.split("(").length-1,Kn=Bn.split(")").length-1;yn+=Ln-Kn}return yn>=0&&Er.push(Bn),yn===0&&(xn.push(Er.join(" ")),Er=[]),xn},[]),!!sr]}function Bo(qt){return qt.notSplit=!0,qt}var lo={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Bo(["borderTop","borderBottom"]),borderBlockStart:Bo(["borderTop"]),borderBlockEnd:Bo(["borderBottom"]),borderInline:Bo(["borderLeft","borderRight"]),borderInlineStart:Bo(["borderLeft"]),borderInlineEnd:Bo(["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 zo(qt,lr){var sr=qt;return lr&&(sr="".concat(sr," !important")),{_skip_check_:!0,value:sr}}var ru={visit:function(lr){var sr={};return Object.keys(lr).forEach(function(vr){var Er=lr[vr],yn=lo[vr];if(yn&&(typeof Er=="number"||typeof Er=="string")){var xn=gu(Er),Bn=(0,r.Z)(xn,2),Ln=Bn[0],Kn=Bn[1];yn.length&&yn.notSplit?yn.forEach(function(or){sr[or]=zo(Er,Kn)}):yn.length===1?sr[yn[0]]=zo(Ln[0],Kn):yn.length===2?yn.forEach(function(or,Br){var xr;sr[or]=zo((xr=Ln[Br])!==null&&xr!==void 0?xr:Ln[0],Kn)}):yn.length===4?yn.forEach(function(or,Br){var xr,pn;sr[or]=zo((xr=(pn=Ln[Br])!==null&&pn!==void 0?pn:Ln[Br-2])!==null&&xr!==void 0?xr:Ln[0],Kn)}):sr[vr]=Er}else sr[vr]=Er}),sr}},qo=ru,Oo=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Fs(qt,lr){var sr=Math.pow(10,lr+1),vr=Math.floor(qt*sr);return Math.round(vr/10)*10/sr}var Xs=function(){var lr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},sr=lr.rootValue,vr=sr===void 0?16:sr,Er=lr.precision,yn=Er===void 0?5:Er,xn=lr.mediaQuery,Bn=xn===void 0?!1:xn,Ln=function(Br,xr){if(!xr)return Br;var pn=parseFloat(xr);if(pn<=1)return Br;var jn=Fs(pn/vr,yn);return"".concat(jn,"rem")},Kn=function(Br){var xr=(0,c.Z)({},Br);return Object.entries(Br).forEach(function(pn){var jn=(0,r.Z)(pn,2),ft=jn[0],Pn=jn[1];if(typeof Pn=="string"&&Pn.includes("px")){var zn=Pn.replace(Oo,Ln);xr[ft]=zn}!vt[ft]&&typeof Pn=="number"&&Pn!==0&&(xr[ft]="".concat(Pn,"px").replace(Oo,Ln));var si=ft.trim();if(si.startsWith("@")&&si.includes("px")&&Bn){var qi=ft.replace(Oo,Ln);xr[qi]=xr[ft],delete xr[ft]}}),xr};return{visit:Kn}},il=Xs,ko={supportModernCSS:function(){return $e()&&nt()}}},7657:function(d,g,e){"use strict";e.d(g,{Z:function(){return ie}});var r=e(72308),i=e(52487),l=e(49618),c=e(74416),f=e(59301),s=e(92310),h=e.n(s),u=e(93398),a=e(18418),x=e(77321),p=e(62853),y=e(810),_=e(96452),b=e(48736);function S(F){return F.replace(/-(.)/g,function(M,q){return q.toUpperCase()})}function R(F,M){(0,b.ZP)(F,"[@ant-design/icons] ".concat(M))}function L(F){return(0,p.Z)(F)==="object"&&typeof F.name=="string"&&typeof F.theme=="string"&&((0,p.Z)(F.icon)==="object"||typeof F.icon=="function")}function T(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(F).reduce(function(M,q){var de=F[q];switch(q){case"class":M.className=de,delete M.class;break;default:delete M[q],M[S(q)]=de}return M},{})}function D(F,M,q){return q?f.createElement(F.tag,(0,x.Z)((0,x.Z)({key:M},T(F.attrs)),q),(F.children||[]).map(function(de,Ee){return D(de,"".concat(M,"-").concat(F.tag,"-").concat(Ee))})):f.createElement(F.tag,(0,x.Z)({key:M},T(F.attrs)),(F.children||[]).map(function(de,Ee){return D(de,"".concat(M,"-").concat(F.tag,"-").concat(Ee))}))}function B(F){return(0,u.generate)(F)[0]}function $(F){return F?Array.isArray(F)?F:[F]:[]}var U={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);
|
|
|
}
|
|
|
}
|
|
|
`,K=function(M){var q=(0,f.useContext)(a.Z),de=q.csp,Ee=q.prefixCls,Ce=q.layer,je=V;Ee&&(je=je.replace(/anticon/g,Ee)),Ce&&(je="@layer ".concat(Ce,` {
|
|
|
`).concat(je,`
|
|
|
}`)),(0,f.useEffect)(function(){var Fe=M.current,Ft=(0,_.A)(Fe);(0,y.hq)(je,"@ant-design-icons",{prepend:!Ce,csp:de,attachTo:Ft})},[])},G=["icon","className","onClick","style","primaryColor","secondaryColor"],oe={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ae(F){var M=F.primaryColor,q=F.secondaryColor;oe.primaryColor=M,oe.secondaryColor=q||B(M),oe.calculated=!!q}function le(){return(0,x.Z)({},oe)}var Q=function(M){var q=M.icon,de=M.className,Ee=M.onClick,Ce=M.style,je=M.primaryColor,Fe=M.secondaryColor,Ft=(0,c.Z)(M,G),_t=f.useRef(),Pt=oe;if(je&&(Pt={primaryColor:je,secondaryColor:Fe||B(je)}),K(_t),R(L(q),"icon should be icon definiton, but got ".concat(q)),!L(q))return null;var Qt=q;return Qt&&typeof Qt.icon=="function"&&(Qt=(0,x.Z)((0,x.Z)({},Qt),{},{icon:Qt.icon(Pt.primaryColor,Pt.secondaryColor)})),D(Qt.icon,"svg-".concat(Qt.name),(0,x.Z)((0,x.Z)({className:de,onClick:Ee,style:Ce,"data-icon":Qt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ft),{},{ref:_t}))};Q.displayName="IconReact",Q.getTwoToneColors=le,Q.setTwoToneColors=ae;var J=Q;function Y(F){var M=$(F),q=(0,i.Z)(M,2),de=q[0],Ee=q[1];return J.setTwoToneColors({primaryColor:de,secondaryColor:Ee})}function ue(){var F=J.getTwoToneColors();return F.calculated?[F.primaryColor,F.secondaryColor]:F.primaryColor}var ne=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Y(u.blue.primary);var ee=f.forwardRef(function(F,M){var q=F.className,de=F.icon,Ee=F.spin,Ce=F.rotate,je=F.tabIndex,Fe=F.onClick,Ft=F.twoToneColor,_t=(0,c.Z)(F,ne),Pt=f.useContext(a.Z),Qt=Pt.prefixCls,er=Qt===void 0?"anticon":Qt,Jt=Pt.rootClassName,Xe=h()(Jt,er,(0,l.Z)((0,l.Z)({},"".concat(er,"-").concat(de.name),!!de.name),"".concat(er,"-spin"),!!Ee||de.name==="loading"),q),It=je;It===void 0&&Fe&&(It=-1);var zt=Ce?{msTransform:"rotate(".concat(Ce,"deg)"),transform:"rotate(".concat(Ce,"deg)")}:void 0,st=$(Ft),bt=(0,i.Z)(st,2),ht=bt[0],Je=bt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":de.name},_t,{ref:M,tabIndex:It,onClick:Fe,className:Xe}),f.createElement(J,{icon:de,primaryColor:ht,secondaryColor:Je,style:zt}))});ee.displayName="AntdIcon",ee.getTwoToneColor=ue,ee.setTwoToneColor=Y;var ie=ee},18418:function(d,g,e){"use strict";var r=e(59301),i=(0,r.createContext)({});g.Z=i},29679:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},19248:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},99267:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},96512:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},78987:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},58617:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(72308),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},c=l,f=e(7657),s=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(s),u=h},12722:function(d,g,e){"use strict";e.d(g,{GC:function(){return x},T6:function(){return y},VD:function(){return _},WE:function(){return h},Wl:function(){return p},Yt:function(){return b},lC:function(){return l},py:function(){return s},rW:function(){return i},s:function(){return a},ve:function(){return f},vq:function(){return u}});var r=e(12187);function i(S,R,L){return{r:(0,r.sh)(S,255)*255,g:(0,r.sh)(R,255)*255,b:(0,r.sh)(L,255)*255}}function l(S,R,L){S=(0,r.sh)(S,255),R=(0,r.sh)(R,255),L=(0,r.sh)(L,255);var T=Math.max(S,R,L),D=Math.min(S,R,L),B=0,$=0,U=(T+D)/2;if(T===D)$=0,B=0;else{var V=T-D;switch($=U>.5?V/(2-T-D):V/(T+D),T){case S:B=(R-L)/V+(R<L?6:0);break;case R:B=(L-S)/V+2;break;case L:B=(S-R)/V+4;break;default:break}B/=6}return{h:B,s:$,l:U}}function c(S,R,L){return L<0&&(L+=1),L>1&&(L-=1),L<.16666666666666666?S+(R-S)*(6*L):L<.5?R:L<.6666666666666666?S+(R-S)*(.6666666666666666-L)*6:S}function f(S,R,L){var T,D,B;if(S=(0,r.sh)(S,360),R=(0,r.sh)(R,100),L=(0,r.sh)(L,100),R===0)D=L,B=L,T=L;else{var $=L<.5?L*(1+R):L+R-L*R,U=2*L-$;T=c(U,$,S+.3333333333333333),D=c(U,$,S),B=c(U,$,S-.3333333333333333)}return{r:T*255,g:D*255,b:B*255}}function s(S,R,L){S=(0,r.sh)(S,255),R=(0,r.sh)(R,255),L=(0,r.sh)(L,255);var T=Math.max(S,R,L),D=Math.min(S,R,L),B=0,$=T,U=T-D,V=T===0?0:U/T;if(T===D)B=0;else{switch(T){case S:B=(R-L)/U+(R<L?6:0);break;case R:B=(L-S)/U+2;break;case L:B=(S-R)/U+4;break;default:break}B/=6}return{h:B,s:V,v:$}}function h(S,R,L){S=(0,r.sh)(S,360)*6,R=(0,r.sh)(R,100),L=(0,r.sh)(L,100);var T=Math.floor(S),D=S-T,B=L*(1-R),$=L*(1-D*R),U=L*(1-(1-D)*R),V=T%6,K=[L,$,B,B,U,L][V],G=[U,L,L,$,B,B][V],oe=[B,B,U,L,L,$][V];return{r:K*255,g:G*255,b:oe*255}}function u(S,R,L,T){var D=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16))];return T&&D[0].startsWith(D[0].charAt(1))&&D[1].startsWith(D[1].charAt(1))&&D[2].startsWith(D[2].charAt(1))?D[0].charAt(0)+D[1].charAt(0)+D[2].charAt(0):D.join("")}function a(S,R,L,T,D){var B=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16)),(0,r.FZ)(p(T))];return D&&B[0].startsWith(B[0].charAt(1))&&B[1].startsWith(B[1].charAt(1))&&B[2].startsWith(B[2].charAt(1))&&B[3].startsWith(B[3].charAt(1))?B[0].charAt(0)+B[1].charAt(0)+B[2].charAt(0)+B[3].charAt(0):B.join("")}function x(S,R,L,T){var D=[(0,r.FZ)(p(T)),(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(Math.round(L).toString(16))];return D.join("")}function p(S){return Math.round(parseFloat(S)*255).toString(16)}function y(S){return _(S)/255}function _(S){return parseInt(S,16)}function b(S){return{r:S>>16,g:(S&65280)>>8,b:S&255}}},93796:function(d,g,e){"use strict";e.d(g,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},9915:function(d,g,e){"use strict";e.d(g,{ky:function(){return y},uA:function(){return c},uz:function(){return p}});var r=e(12722),i=e(93796),l=e(12187);function c(_){var b={r:0,g:0,b:0},S=1,R=null,L=null,T=null,D=!1,B=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),D=!0,B=String(_.r).substr(-1)==="%"?"prgb":"rgb"):y(_.h)&&y(_.s)&&y(_.v)?(R=(0,l.JX)(_.s),L=(0,l.JX)(_.v),b=(0,r.WE)(_.h,R,L),D=!0,B="hsv"):y(_.h)&&y(_.s)&&y(_.l)&&(R=(0,l.JX)(_.s),T=(0,l.JX)(_.l),b=(0,r.ve)(_.h,R,T),D=!0,B="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(S=_.a)),S=(0,l.Yq)(S),{ok:D,format:_.format||B,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:S}}var f="[-\\+]?\\d+%?",s="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(s,")|(?:").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,g,e){"use strict";e.d(g,{C:function(){return f},H:function(){return s}});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 s(h,u){return h===void 0&&(h=""),u===void 0&&(u={}),new f(h,u)}},12187:function(d,g,e){"use strict";e.d(g,{FZ:function(){return h},JX:function(){return s},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 s(u){return u<=1?"".concat(Number(u)*100,"%"):u}function h(u){return u.length===1?"0"+u:String(u)}},43403:function(d,g,e){"use strict";e.d(g,{Z:function(){return K}});var r=e(52487),i=e(59301),l=e(4676),c=e(47273),f=e(48736),s=e(8654),h=i.createContext(null),u=h,a=e(80702),x=e(34280),p=[];function y(G,oe){var ae=i.useState(function(){if(!(0,c.Z)())return null;var de=document.createElement("div");return de}),le=(0,r.Z)(ae,1),Q=le[0],J=i.useRef(!1),Y=i.useContext(u),ue=i.useState(p),ne=(0,r.Z)(ue,2),ee=ne[0],ie=ne[1],F=Y||(J.current?void 0:function(de){ie(function(Ee){var Ce=[de].concat((0,a.Z)(Ee));return Ce})});function M(){Q.parentElement||document.body.appendChild(Q),J.current=!0}function q(){var de;(de=Q.parentElement)===null||de===void 0||de.removeChild(Q),J.current=!1}return(0,x.Z)(function(){return G?Y?Y(M):M():q(),q},[G]),(0,x.Z)(function(){ee.length&&(ee.forEach(function(de){return de()}),ie(p))},[ee]),[Q,F]}var _=e(810),b=e(75152);function S(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var R="rc-util-locker-".concat(Date.now()),L=0;function T(G){var oe=!!G,ae=i.useState(function(){return L+=1,"".concat(R,"_").concat(L)}),le=(0,r.Z)(ae,1),Q=le[0];(0,x.Z)(function(){if(oe){var J=(0,b.o)(document.body).width,Y=S();(0,_.hq)(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(Y?"width: calc(100% - ".concat(J,"px);"):"",`
|
|
|
}`),Q)}else(0,_.jL)(Q);return function(){(0,_.jL)(Q)}},[oe,Q])}var D=!1;function B(G){return typeof G=="boolean"&&(D=G),D}var $=function(oe){return oe===!1?!1:!(0,c.Z)()||!oe?null:typeof oe=="string"?document.querySelector(oe):typeof oe=="function"?oe():oe},U=i.forwardRef(function(G,oe){var ae=G.open,le=G.autoLock,Q=G.getContainer,J=G.debug,Y=G.autoDestroy,ue=Y===void 0?!0:Y,ne=G.children,ee=i.useState(ae),ie=(0,r.Z)(ee,2),F=ie[0],M=ie[1],q=F||ae;i.useEffect(function(){(ue||ae)&&M(ae)},[ae,ue]);var de=i.useState(function(){return $(Q)}),Ee=(0,r.Z)(de,2),Ce=Ee[0],je=Ee[1];i.useEffect(function(){var st=$(Q);je(st!=null?st:null)});var Fe=y(q&&!Ce,J),Ft=(0,r.Z)(Fe,2),_t=Ft[0],Pt=Ft[1],Qt=Ce!=null?Ce:_t;T(le&&ae&&(0,c.Z)()&&(Qt===_t||Qt===document.body));var er=null;if(ne&&(0,s.Yr)(ne)&&oe){var Jt=ne;er=Jt.ref}var Xe=(0,s.x1)(er,oe);if(!q||!(0,c.Z)()||Ce===void 0)return null;var It=Qt===!1||B(),zt=ne;return oe&&(zt=i.cloneElement(ne,{ref:Xe})),i.createElement(u.Provider,{value:Pt},It?zt:(0,l.createPortal)(zt,Qt))}),V=U,K=V},35593:function(d,g,e){"use strict";e.d(g,{Z:function(){return zt}});var r=e(77321),i=e(52487),l=e(74416),c=e(43403),f=e(92310),s=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(72308),R=e(77900),L=e(8654);function T(st){var bt=st.prefixCls,ht=st.align,Je=st.arrow,Ue=st.arrowPos,ge=Je||{},Ae=ge.className,Me=ge.content,$e=Ue.x,He=$e===void 0?0:$e,nt=Ue.y,ct=nt===void 0?0:nt,Kt=b.useRef();if(!ht||!ht.points)return null;var Wt={position:"absolute"};if(ht.autoArrow!==!1){var De=ht.points[0],Qe=ht.points[1],Vt=De[0],kt=De[1],Ht=Qe[0],$t=Qe[1];Vt===Ht||!["t","b"].includes(Vt)?Wt.top=ct:Vt==="t"?Wt.top=0:Wt.bottom=0,kt===$t||!["l","r"].includes(kt)?Wt.left=He:kt==="l"?Wt.left=0:Wt.right=0}return b.createElement("div",{ref:Kt,className:s()("".concat(bt,"-arrow"),Ae),style:Wt},Me)}function D(st){var bt=st.prefixCls,ht=st.open,Je=st.zIndex,Ue=st.mask,ge=st.motion;return Ue?b.createElement(R.default,(0,S.Z)({},ge,{motionAppear:!0,visible:ht,removeOnLeave:!0}),function(Ae){var Me=Ae.className;return b.createElement("div",{style:{zIndex:Je},className:s()("".concat(bt,"-mask"),Me)})}):null}var B=b.memo(function(st){var bt=st.children;return bt},function(st,bt){return bt.cache}),$=B,U=b.forwardRef(function(st,bt){var ht=st.popup,Je=st.className,Ue=st.prefixCls,ge=st.style,Ae=st.target,Me=st.onVisibleChanged,$e=st.open,He=st.keepDom,nt=st.fresh,ct=st.onClick,Kt=st.mask,Wt=st.arrow,De=st.arrowPos,Qe=st.align,Vt=st.motion,kt=st.maskMotion,Ht=st.forceRender,$t=st.getPopupContainer,Ct=st.autoDestroy,Yt=st.portal,Ge=st.zIndex,fe=st.onMouseEnter,_e=st.onMouseLeave,Ot=st.onPointerEnter,Pe=st.ready,dt=st.offsetX,Zt=st.offsetY,Tt=st.offsetR,ke=st.offsetB,St=st.onAlign,be=st.onPrepare,Ke=st.stretch,gt=st.targetWidth,Rt=st.targetHeight,Be=typeof ht=="function"?ht():ht,kr=$e||He,At=($t==null?void 0:$t.length)>0,Kr=b.useState(!$t||!At),Qr=(0,i.Z)(Kr,2),Ar=Qr[0],$r=Qr[1];if((0,y.Z)(function(){!Ar&&At&&Ae&&$r(!0)},[Ar,At,Ae]),!Ar)return null;var _r="auto",Ur={left:"-1000vw",top:"-1000vh",right:_r,bottom:_r};if(Pe||!$e){var sn,cn=Qe.points,ur=Qe.dynamicInset||((sn=Qe._experimental)===null||sn===void 0?void 0:sn.dynamicInset),Lt=ur&&cn[0][1]==="r",vt=ur&&cn[0][0]==="b";Lt?(Ur.right=Tt,Ur.left=_r):(Ur.left=dt,Ur.right=_r),vt?(Ur.bottom=ke,Ur.top=_r):(Ur.top=Zt,Ur.bottom=_r)}var yt={};return Ke&&(Ke.includes("height")&&Rt?yt.height=Rt:Ke.includes("minHeight")&&Rt&&(yt.minHeight=Rt),Ke.includes("width")&>?yt.width=gt:Ke.includes("minWidth")&>&&(yt.minWidth=gt)),$e||(yt.pointerEvents="none"),b.createElement(Yt,{open:Ht||kr,getContainer:$t&&function(){return $t(Ae)},autoDestroy:Ct},b.createElement(D,{prefixCls:Ue,open:$e,zIndex:Ge,mask:Kt,motion:kt}),b.createElement(h.Z,{onResize:St,disabled:!$e},function(jt){return b.createElement(R.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ht,leavedClassName:"".concat(Ue,"-hidden")},Vt,{onAppearPrepare:be,onEnterPrepare:be,visible:$e,onVisibleChanged:function(yr){var ot;Vt==null||(ot=Vt.onVisibleChanged)===null||ot===void 0||ot.call(Vt,yr),Me(yr)}}),function(Cr,yr){var ot=Cr.className,Fr=Cr.style,mn=s()(Ue,ot,Je);return b.createElement("div",{ref:(0,L.sQ)(jt,bt,yr),className:mn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(De.x||0,"px"),"--arrow-y":"".concat(De.y||0,"px")},Ur),yt),Fr),{},{boxSizing:"border-box",zIndex:Ge},ge),onMouseEnter:fe,onMouseLeave:_e,onPointerEnter:Ot,onClick:ct},Wt&&b.createElement(T,{prefixCls:Ue,arrow:Wt,arrowPos:De,align:Qe}),b.createElement($,{cache:!$e&&!nt},Be))})}))}),V=U,K=b.forwardRef(function(st,bt){var ht=st.children,Je=st.getTriggerDOMNode,Ue=(0,L.Yr)(ht),ge=b.useCallback(function(Me){(0,L.mH)(bt,Je?Je(Me):Me)},[Je]),Ae=(0,L.x1)(ge,ht.ref);return Ue?b.cloneElement(ht,{ref:Ae}):ht}),G=K,oe=b.createContext(null),ae=oe;function le(st){return st?Array.isArray(st)?st:[st]:[]}function Q(st,bt,ht,Je){return b.useMemo(function(){var Ue=le(ht!=null?ht:bt),ge=le(Je!=null?Je:bt),Ae=new Set(Ue),Me=new Set(ge);return st&&(Ae.has("hover")&&(Ae.delete("hover"),Ae.add("click")),Me.has("hover")&&(Me.delete("hover"),Me.add("click"))),[Ae,Me]},[st,bt,ht,Je])}var J=e(29194);function Y(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ht=arguments.length>2?arguments[2]:void 0;return ht?st[0]===bt[0]:st[0]===bt[0]&&st[1]===bt[1]}function ue(st,bt,ht,Je){for(var Ue=ht.points,ge=Object.keys(st),Ae=0;Ae<ge.length;Ae+=1){var Me,$e=ge[Ae];if(Y((Me=st[$e])===null||Me===void 0?void 0:Me.points,Ue,Je))return"".concat(bt,"-placement-").concat($e)}return""}function ne(st,bt,ht,Je){return bt||(ht?{motionName:"".concat(st,"-").concat(ht)}:Je?{motionName:Je}:null)}function ee(st){return st.ownerDocument.defaultView}function ie(st){for(var bt=[],ht=st==null?void 0:st.parentElement,Je=["hidden","scroll","clip","auto"];ht;){var Ue=ee(ht).getComputedStyle(ht),ge=Ue.overflowX,Ae=Ue.overflowY,Me=Ue.overflow;[ge,Ae,Me].some(function($e){return Je.includes($e)})&&bt.push(ht),ht=ht.parentElement}return bt}function F(st){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(st)?bt:st}function M(st){return F(parseFloat(st),0)}function q(st,bt){var ht=(0,r.Z)({},st);return(bt||[]).forEach(function(Je){if(!(Je instanceof HTMLBodyElement||Je instanceof HTMLHtmlElement)){var Ue=ee(Je).getComputedStyle(Je),ge=Ue.overflow,Ae=Ue.overflowClipMargin,Me=Ue.borderTopWidth,$e=Ue.borderBottomWidth,He=Ue.borderLeftWidth,nt=Ue.borderRightWidth,ct=Je.getBoundingClientRect(),Kt=Je.offsetHeight,Wt=Je.clientHeight,De=Je.offsetWidth,Qe=Je.clientWidth,Vt=M(Me),kt=M($e),Ht=M(He),$t=M(nt),Ct=F(Math.round(ct.width/De*1e3)/1e3),Yt=F(Math.round(ct.height/Kt*1e3)/1e3),Ge=(De-Qe-Ht-$t)*Ct,fe=(Kt-Wt-Vt-kt)*Yt,_e=Vt*Yt,Ot=kt*Yt,Pe=Ht*Ct,dt=$t*Ct,Zt=0,Tt=0;if(ge==="clip"){var ke=M(Ae);Zt=ke*Ct,Tt=ke*Yt}var St=ct.x+Pe-Zt,be=ct.y+_e-Tt,Ke=St+ct.width+2*Zt-Pe-dt-Ge,gt=be+ct.height+2*Tt-_e-Ot-fe;ht.left=Math.max(ht.left,St),ht.top=Math.max(ht.top,be),ht.right=Math.min(ht.right,Ke),ht.bottom=Math.min(ht.bottom,gt)}}),ht}function de(st){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ht="".concat(bt),Je=ht.match(/^(.*)\%$/);return Je?st*(parseFloat(Je[1])/100):parseFloat(ht)}function Ee(st,bt){var ht=bt||[],Je=(0,i.Z)(ht,2),Ue=Je[0],ge=Je[1];return[de(st.width,Ue),de(st.height,ge)]}function Ce(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[st[0],st[1]]}function je(st,bt){var ht=bt[0],Je=bt[1],Ue,ge;return ht==="t"?ge=st.y:ht==="b"?ge=st.y+st.height:ge=st.y+st.height/2,Je==="l"?Ue=st.x:Je==="r"?Ue=st.x+st.width:Ue=st.x+st.width/2,{x:Ue,y:ge}}function Fe(st,bt){var ht={t:"b",b:"t",l:"r",r:"l"};return st.map(function(Je,Ue){return Ue===bt?ht[Je]||"c":Je}).join("")}function Ft(st,bt,ht,Je,Ue,ge,Ae){var Me=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ue[Je]||{}}),$e=(0,i.Z)(Me,2),He=$e[0],nt=$e[1],ct=b.useRef(0),Kt=b.useMemo(function(){return bt?ie(bt):[]},[bt]),Wt=b.useRef({}),De=function(){Wt.current={}};st||De();var Qe=(0,x.Z)(function(){if(bt&&ht&&st){let Aa=function(cs,zs){var wo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:mn,Eo=Be.x+cs,Zs=Be.y+zs,Ms=Eo+sn,ca=Zs+Ur,fs=Math.max(Eo,wo.left),So=Math.max(Zs,wo.top),fo=Math.min(Ms,wo.right),Io=Math.min(ca,wo.bottom);return Math.max(0,(fo-fs)*(Io-So))},Da=function(){ir=Be.y+tr,Or=ir+Ur,wr=Be.x+Qn,Tr=wr+sn};var Ht,$t,Ct=bt,Yt=Ct.ownerDocument,Ge=ee(Ct),fe=Ge.getComputedStyle(Ct),_e=fe.width,Ot=fe.height,Pe=fe.position,dt=Ct.style.left,Zt=Ct.style.top,Tt=Ct.style.right,ke=Ct.style.bottom,St=Ct.style.overflow,be=(0,r.Z)((0,r.Z)({},Ue[Je]),ge),Ke=Yt.createElement("div");(Ht=Ct.parentElement)===null||Ht===void 0||Ht.appendChild(Ke),Ke.style.left="".concat(Ct.offsetLeft,"px"),Ke.style.top="".concat(Ct.offsetTop,"px"),Ke.style.position=Pe,Ke.style.height="".concat(Ct.offsetHeight,"px"),Ke.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 gt;if(Array.isArray(ht))gt={x:ht[0],y:ht[1],width:0,height:0};else{var Rt=ht.getBoundingClientRect();gt={x:Rt.x,y:Rt.y,width:Rt.width,height:Rt.height}}var Be=Ct.getBoundingClientRect(),kr=Yt.documentElement,At=kr.clientWidth,Kr=kr.clientHeight,Qr=kr.scrollWidth,Ar=kr.scrollHeight,$r=kr.scrollTop,_r=kr.scrollLeft,Ur=Be.height,sn=Be.width,cn=gt.height,ur=gt.width,Lt={left:0,top:0,right:At,bottom:Kr},vt={left:-_r,top:-$r,right:Qr-_r,bottom:Ar-$r},yt=be.htmlRegion,jt="visible",Cr="visibleFirst";yt!=="scroll"&&yt!==Cr&&(yt=jt);var yr=yt===Cr,ot=q(vt,Kt),Fr=q(Lt,Kt),mn=yt===jt?Fr:ot,Un=yr?Fr:mn;Ct.style.left="auto",Ct.style.top="auto",Ct.style.right="0",Ct.style.bottom="0";var mr=Ct.getBoundingClientRect();Ct.style.left=dt,Ct.style.top=Zt,Ct.style.right=Tt,Ct.style.bottom=ke,Ct.style.overflow=St,($t=Ct.parentElement)===null||$t===void 0||$t.removeChild(Ke);var en=F(Math.round(sn/parseFloat(_e)*1e3)/1e3),dn=F(Math.round(Ur/parseFloat(Ot)*1e3)/1e3);if(en===0||dn===0||(0,u.Sh)(ht)&&!(0,J.Z)(ht))return;var Fn=be.offset,ei=be.targetOffset,Nn=Ee(Be,Fn),zi=(0,i.Z)(Nn,2),mi=zi[0],xi=zi[1],vi=Ee(gt,ei),pi=(0,i.Z)(vi,2),Yi=pi[0],Yn=pi[1];gt.x-=Yi,gt.y-=Yn;var Vi=be.points||[],Et=(0,i.Z)(Vi,2),ut=Et[0],Xn=Et[1],wi=Ce(Xn),qn=Ce(ut),Zi=je(gt,wi),_i=je(Be,qn),Pi=(0,r.Z)({},be),Qn=Zi.x-_i.x+mi,tr=Zi.y-_i.y+xi,mt=Aa(Qn,tr),rt=Aa(Qn,tr,Fr),Dt=je(gt,["t","l"]),pt=je(Be,["t","l"]),cr=je(gt,["b","r"]),fr=je(Be,["b","r"]),Ir=be.overflow||{},Rr=Ir.adjustX,Ze=Ir.adjustY,et=Ir.shiftX,we=Ir.shiftY,it=function(zs){return typeof zs=="boolean"?zs:zs>=0},ir,Or,wr,Tr;Da();var Nr=it(Ze),gn=qn[0]===wi[0];if(Nr&&qn[0]==="t"&&(Or>Un.bottom||Wt.current.bt)){var Dr=tr;gn?Dr-=Ur-cn:Dr=Dt.y-fr.y-xi;var un=Aa(Qn,Dr),tn=Aa(Qn,Dr,Fr);un>mt||un===mt&&(!yr||tn>=rt)?(Wt.current.bt=!0,tr=Dr,xi=-xi,Pi.points=[Fe(qn,0),Fe(wi,0)]):Wt.current.bt=!1}if(Nr&&qn[0]==="b"&&(ir<Un.top||Wt.current.tb)){var ln=tr;gn?ln+=Ur-cn:ln=cr.y-pt.y-xi;var En=Aa(Qn,ln),la=Aa(Qn,ln,Fr);En>mt||En===mt&&(!yr||la>=rt)?(Wt.current.tb=!0,tr=ln,xi=-xi,Pi.points=[Fe(qn,0),Fe(wi,0)]):Wt.current.tb=!1}var gi=it(Rr),yi=qn[1]===wi[1];if(gi&&qn[1]==="l"&&(Tr>Un.right||Wt.current.rl)){var On=Qn;yi?On-=sn-ur:On=Dt.x-fr.x-mi;var Di=Aa(On,tr),Fi=Aa(On,tr,Fr);Di>mt||Di===mt&&(!yr||Fi>=rt)?(Wt.current.rl=!0,Qn=On,mi=-mi,Pi.points=[Fe(qn,1),Fe(wi,1)]):Wt.current.rl=!1}if(gi&&qn[1]==="r"&&(wr<Un.left||Wt.current.lr)){var oa=Qn;yi?oa+=sn-ur:oa=cr.x-pt.x-mi;var ws=Aa(oa,tr),Sa=Aa(oa,tr,Fr);ws>mt||ws===mt&&(!yr||Sa>=rt)?(Wt.current.lr=!0,Qn=oa,mi=-mi,Pi.points=[Fe(qn,1),Fe(wi,1)]):Wt.current.lr=!1}Da();var Ha=et===!0?0:et;typeof Ha=="number"&&(wr<Fr.left&&(Qn-=wr-Fr.left-mi,gt.x+ur<Fr.left+Ha&&(Qn+=gt.x-Fr.left+ur-Ha)),Tr>Fr.right&&(Qn-=Tr-Fr.right-mi,gt.x>Fr.right-Ha&&(Qn+=gt.x-Fr.right+Ha)));var Us=we===!0?0:we;typeof Us=="number"&&(ir<Fr.top&&(tr-=ir-Fr.top-xi,gt.y+cn<Fr.top+Us&&(tr+=gt.y-Fr.top+cn-Us)),Or>Fr.bottom&&(tr-=Or-Fr.bottom-xi,gt.y>Fr.bottom-Us&&(tr+=gt.y-Fr.bottom+Us)));var ja=Be.x+Qn,na=ja+sn,Ai=Be.y+tr,Ci=Ai+Ur,qa=gt.x,Cs=qa+ur,Ni=gt.y,Ts=Ni+cn,xo=Math.max(ja,qa),La=Math.min(na,Cs),hs=(xo+La)/2,Hi=hs-ja,Vs=Math.max(Ai,Ni),kn=Math.min(Ci,Ts),Qa=(Vs+kn)/2,uo=Qa-Ai;Ae==null||Ae(bt,Pi);var Ls=mr.right-Be.x-(Qn+Be.width),Ki=mr.bottom-Be.y-(tr+Be.height);nt({ready:!0,offsetX:Qn/en,offsetY:tr/dn,offsetR:Ls/en,offsetB:Ki/dn,arrowX:Hi/en,arrowY:uo/dn,scaleX:en,scaleY:dn,align:Pi})}}),Vt=function(){ct.current+=1;var $t=ct.current;Promise.resolve().then(function(){ct.current===$t&&Qe()})},kt=function(){nt(function($t){return(0,r.Z)((0,r.Z)({},$t),{},{ready:!1})})};return(0,y.Z)(kt,[Je]),(0,y.Z)(function(){st||kt()},[st]),[He.ready,He.offsetX,He.offsetY,He.offsetR,He.offsetB,He.arrowX,He.arrowY,He.scaleX,He.scaleY,He.align,Vt]}var _t=e(80702);function Pt(st,bt,ht,Je,Ue){(0,y.Z)(function(){if(st&&bt&&ht){let ct=function(){Je(),Ue()};var ge=bt,Ae=ht,Me=ie(ge),$e=ie(Ae),He=ee(Ae),nt=new Set([He].concat((0,_t.Z)(Me),(0,_t.Z)($e)));return nt.forEach(function(Kt){Kt.addEventListener("scroll",ct,{passive:!0})}),He.addEventListener("resize",ct,{passive:!0}),Je(),function(){nt.forEach(function(Kt){Kt.removeEventListener("scroll",ct),He.removeEventListener("resize",ct)})}}},[st,bt,ht])}var Qt=e(48736),er=e(16089);function Jt(st,bt,ht,Je,Ue,ge,Ae,Me){var $e=b.useRef(st),He=b.useRef(!1);$e.current!==st&&(He.current=!0,$e.current=st),b.useEffect(function(){var nt=(0,er.Z)(function(){He.current=!1});return function(){er.Z.cancel(nt)}},[st]),b.useEffect(function(){if(bt&&Je&&(!Ue||ge)){var nt=function(){var Pe=!1,dt=function(ke){var St=ke.target;Pe=Ae(St)},Zt=function(ke){var St=ke.target;!He.current&&$e.current&&!Pe&&!Ae(St)&&Me(!1)};return[dt,Zt]},ct=nt(),Kt=(0,i.Z)(ct,2),Wt=Kt[0],De=Kt[1],Qe=nt(),Vt=(0,i.Z)(Qe,2),kt=Vt[0],Ht=Vt[1],$t=ee(Je);$t.addEventListener("mousedown",Wt,!0),$t.addEventListener("click",De,!0),$t.addEventListener("contextmenu",De,!0);var Ct=(0,a.A)(ht);if(Ct&&(Ct.addEventListener("mousedown",kt,!0),Ct.addEventListener("click",Ht,!0),Ct.addEventListener("contextmenu",Ht,!0)),0)var Yt,Ge,fe,_e;return function(){$t.removeEventListener("mousedown",Wt,!0),$t.removeEventListener("click",De,!0),$t.removeEventListener("contextmenu",De,!0),Ct&&(Ct.removeEventListener("mousedown",kt,!0),Ct.removeEventListener("click",Ht,!0),Ct.removeEventListener("contextmenu",Ht,!0))}}},[bt,ht,Je,Ue,ge])}var Xe=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function It(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,bt=b.forwardRef(function(ht,Je){var Ue=ht.prefixCls,ge=Ue===void 0?"rc-trigger-popup":Ue,Ae=ht.children,Me=ht.action,$e=Me===void 0?"hover":Me,He=ht.showAction,nt=ht.hideAction,ct=ht.popupVisible,Kt=ht.defaultPopupVisible,Wt=ht.onPopupVisibleChange,De=ht.afterPopupVisibleChange,Qe=ht.mouseEnterDelay,Vt=ht.mouseLeaveDelay,kt=Vt===void 0?.1:Vt,Ht=ht.focusDelay,$t=ht.blurDelay,Ct=ht.mask,Yt=ht.maskClosable,Ge=Yt===void 0?!0:Yt,fe=ht.getPopupContainer,_e=ht.forceRender,Ot=ht.autoDestroy,Pe=ht.destroyPopupOnHide,dt=ht.popup,Zt=ht.popupClassName,Tt=ht.popupStyle,ke=ht.popupPlacement,St=ht.builtinPlacements,be=St===void 0?{}:St,Ke=ht.popupAlign,gt=ht.zIndex,Rt=ht.stretch,Be=ht.getPopupClassNameFromAlign,kr=ht.fresh,At=ht.alignPoint,Kr=ht.onPopupClick,Qr=ht.onPopupAlign,Ar=ht.arrow,$r=ht.popupMotion,_r=ht.maskMotion,Ur=ht.popupTransitionName,sn=ht.popupAnimation,cn=ht.maskTransitionName,ur=ht.maskAnimation,Lt=ht.className,vt=ht.getTriggerDOMNode,yt=(0,l.Z)(ht,Xe),jt=Ot||Pe||!1,Cr=b.useState(!1),yr=(0,i.Z)(Cr,2),ot=yr[0],Fr=yr[1];(0,y.Z)(function(){Fr((0,_.Z)())},[]);var mn=b.useRef({}),Un=b.useContext(ae),mr=b.useMemo(function(){return{registerSubPopup:function(ai,Wa){mn.current[ai]=Wa,Un==null||Un.registerSubPopup(ai,Wa)}}},[Un]),en=(0,p.Z)(),dn=b.useState(null),Fn=(0,i.Z)(dn,2),ei=Fn[0],Nn=Fn[1],zi=(0,x.Z)(function(li){(0,u.Sh)(li)&&ei!==li&&Nn(li),Un==null||Un.registerSubPopup(en,li)}),mi=b.useState(null),xi=(0,i.Z)(mi,2),vi=xi[0],pi=xi[1],Yi=b.useRef(null),Yn=(0,x.Z)(function(li){(0,u.Sh)(li)&&vi!==li&&(pi(li),Yi.current=li)}),Vi=b.Children.only(Ae),Et=(Vi==null?void 0:Vi.props)||{},ut={},Xn=(0,x.Z)(function(li){var ai,Wa,ts=vi;return(ts==null?void 0:ts.contains(li))||((ai=(0,a.A)(ts))===null||ai===void 0?void 0:ai.host)===li||li===ts||(ei==null?void 0:ei.contains(li))||((Wa=(0,a.A)(ei))===null||Wa===void 0?void 0:Wa.host)===li||li===ei||Object.values(mn.current).some(function(Ua){return(Ua==null?void 0:Ua.contains(li))||li===Ua})}),wi=ne(ge,$r,sn,Ur),qn=ne(ge,_r,ur,cn),Zi=b.useState(Kt||!1),_i=(0,i.Z)(Zi,2),Pi=_i[0],Qn=_i[1],tr=ct!=null?ct:Pi,mt=(0,x.Z)(function(li){ct===void 0&&Qn(li)});(0,y.Z)(function(){Qn(ct||!1)},[ct]);var rt=b.useRef(tr);rt.current=tr;var Dt=b.useRef([]);Dt.current=[];var pt=(0,x.Z)(function(li){var ai;mt(li),((ai=Dt.current[Dt.current.length-1])!==null&&ai!==void 0?ai:tr)!==li&&(Dt.current.push(li),Wt==null||Wt(li))}),cr=b.useRef(),fr=function(){clearTimeout(cr.current)},Ir=function(ai){var Wa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;fr(),Wa===0?pt(ai):cr.current=setTimeout(function(){pt(ai)},Wa*1e3)};b.useEffect(function(){return fr},[]);var Rr=b.useState(!1),Ze=(0,i.Z)(Rr,2),et=Ze[0],we=Ze[1];(0,y.Z)(function(li){(!li||tr)&&we(!0)},[tr]);var it=b.useState(null),ir=(0,i.Z)(it,2),Or=ir[0],wr=ir[1],Tr=b.useState([0,0]),Nr=(0,i.Z)(Tr,2),gn=Nr[0],Dr=Nr[1],un=function(ai){Dr([ai.clientX,ai.clientY])},tn=Ft(tr,ei,At?gn:vi,ke,be,Ke,Qr),ln=(0,i.Z)(tn,11),En=ln[0],la=ln[1],gi=ln[2],yi=ln[3],On=ln[4],Di=ln[5],Fi=ln[6],oa=ln[7],ws=ln[8],Sa=ln[9],Ha=ln[10],Us=Q(ot,$e,He,nt),ja=(0,i.Z)(Us,2),na=ja[0],Ai=ja[1],Ci=na.has("click"),qa=Ai.has("click")||Ai.has("contextMenu"),Cs=(0,x.Z)(function(){et||Ha()}),Ni=function(){rt.current&&At&&qa&&Ir(!1)};Pt(tr,vi,ei,Cs,Ni),(0,y.Z)(function(){Cs()},[gn,ke]),(0,y.Z)(function(){tr&&!(be!=null&&be[ke])&&Cs()},[JSON.stringify(Ke)]);var Ts=b.useMemo(function(){var li=ue(be,ge,Sa,At);return s()(li,Be==null?void 0:Be(Sa))},[Sa,Be,be,ge,At]);b.useImperativeHandle(Je,function(){return{nativeElement:Yi.current,forceAlign:Cs}});var xo=b.useState(0),La=(0,i.Z)(xo,2),hs=La[0],Hi=La[1],Vs=b.useState(0),kn=(0,i.Z)(Vs,2),Qa=kn[0],uo=kn[1],Ls=function(){if(Rt&&vi){var ai=vi.getBoundingClientRect();Hi(ai.width),uo(ai.height)}},Ki=function(){Ls(),Cs()},Aa=function(ai){we(!1),Ha(),De==null||De(ai)},Da=function(){return new Promise(function(ai){Ls(),wr(function(){return ai})})};(0,y.Z)(function(){Or&&(Ha(),Or(),wr(null))},[Or]);function cs(li,ai,Wa,ts){ut[li]=function(Ua){var Ao;ts==null||ts(Ua),Ir(ai,Wa);for(var Do=arguments.length,Fo=new Array(Do>1?Do-1:0),Ja=1;Ja<Do;Ja++)Fo[Ja-1]=arguments[Ja];(Ao=Et[li])===null||Ao===void 0||Ao.call.apply(Ao,[Et,Ua].concat(Fo))}}(Ci||qa)&&(ut.onClick=function(li){var ai;rt.current&&qa?Ir(!1):!rt.current&&Ci&&(un(li),Ir(!0));for(var Wa=arguments.length,ts=new Array(Wa>1?Wa-1:0),Ua=1;Ua<Wa;Ua++)ts[Ua-1]=arguments[Ua];(ai=Et.onClick)===null||ai===void 0||ai.call.apply(ai,[Et,li].concat(ts))}),Jt(tr,qa,vi,ei,Ct,Ge,Xn,Ir);var zs=na.has("hover"),wo=Ai.has("hover"),Eo,Zs;zs&&(cs("onMouseEnter",!0,Qe,function(li){un(li)}),cs("onPointerEnter",!0,Qe,function(li){un(li)}),Eo=function(ai){(tr||et)&&ei!==null&&ei!==void 0&&ei.contains(ai.target)&&Ir(!0,Qe)},At&&(ut.onMouseMove=function(li){var ai;(ai=Et.onMouseMove)===null||ai===void 0||ai.call(Et,li)})),wo&&(cs("onMouseLeave",!1,kt),cs("onPointerLeave",!1,kt),Zs=function(){Ir(!1,kt)}),na.has("focus")&&cs("onFocus",!0,Ht),Ai.has("focus")&&cs("onBlur",!1,$t),na.has("contextMenu")&&(ut.onContextMenu=function(li){var ai;rt.current&&Ai.has("contextMenu")?Ir(!1):(un(li),Ir(!0)),li.preventDefault();for(var Wa=arguments.length,ts=new Array(Wa>1?Wa-1:0),Ua=1;Ua<Wa;Ua++)ts[Ua-1]=arguments[Ua];(ai=Et.onContextMenu)===null||ai===void 0||ai.call.apply(ai,[Et,li].concat(ts))}),Lt&&(ut.className=s()(Et.className,Lt));var Ms=(0,r.Z)((0,r.Z)({},Et),ut),ca={},fs=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];fs.forEach(function(li){yt[li]&&(ca[li]=function(){for(var ai,Wa=arguments.length,ts=new Array(Wa),Ua=0;Ua<Wa;Ua++)ts[Ua]=arguments[Ua];(ai=Ms[li])===null||ai===void 0||ai.call.apply(ai,[Ms].concat(ts)),yt[li].apply(yt,ts)})});var So=b.cloneElement(Vi,(0,r.Z)((0,r.Z)({},Ms),ca)),fo={x:Di,y:Fi},Io=Ar?(0,r.Z)({},Ar!==!0?Ar:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!tr,ref:Yn,onResize:Ki},b.createElement(G,{getTriggerDOMNode:vt},So)),b.createElement(ae.Provider,{value:mr},b.createElement(V,{portal:st,ref:zi,prefixCls:ge,popup:dt,className:s()(Zt,Ts),style:Tt,target:vi,onMouseEnter:Eo,onMouseLeave:Zs,onPointerEnter:Eo,zIndex:gt,open:tr,keepDom:et,fresh:kr,onClick:Kr,mask:Ct,motion:wi,maskMotion:qn,onVisibleChanged:Aa,onPrepare:Da,forceRender:_e,autoDestroy:jt,getPopupContainer:fe,align:Sa,arrow:Io,arrowPos:fo,ready:En,offsetX:la,offsetY:gi,offsetR:yi,offsetB:On,onAlign:Cs,stretch:Rt,targetWidth:hs/oa,targetHeight:Qa/ws})))});return bt}var zt=It(c.Z)},72250:function(){"use strict"},38673:function(d,g){"use strict";g.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},94784:function(d,g){"use strict";function e(i){const l={},c={channels:l,subscribe:function(f,s){return l[f]||(l[f]=[]),l[f].push(s),this.unsubscribe.bind(null,f,s)},unsubscribe:function(f,s){console.log(f,"channel");let h=l[f],u=-1;if(h){for(let a=0;a<h.length;a++)if(h[a].name===s.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 s=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,s)}),this}};return i?Object.assign(i,c):c}const r=new e;g.Z=r},11431:function(d,g,e){"use strict";e.d(g,{zt:function(){return Ca},$j:function(){return ma},Ue:function(){return zs},I0:function(){return po},v9:function(){return Co}});var r={};e.r(r),e.d(r,{actionChannel:function(){return ur},all:function(){return Be},apply:function(){return Qr},call:function(){return Kr},cancel:function(){return sn},cancelled:function(){return Lt},cps:function(){return Ar},flush:function(){return vt},fork:function(){return $r},getContext:function(){return yt},join:function(){return Ur},put:function(){return Rt},race:function(){return kr},select:function(){return cn},setContext:function(){return jt},spawn:function(){return _r},take:function(){return Ke},takeEvery:function(){return mt},takeLatest:function(){return rt},takem:function(){return gt},throttle:function(){return Dt}});var i=e(59301),l=e(39564),c=e(59781),f=Object.assign||function(Ye){for(var qe=1;qe<arguments.length;qe++){var Mt=arguments[qe];for(var Gt in Mt)Object.prototype.hasOwnProperty.call(Mt,Gt)&&(Ye[Gt]=Mt[Gt])}return Ye},s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ye){return typeof Ye}:function(Ye){return Ye&&typeof Symbol=="function"&&Ye.constructor===Symbol&&Ye!==Symbol.prototype?"symbol":typeof Ye},h=function(qe){return"@@redux-saga/"+qe},u=h("TASK"),a=h("HELPER"),x=h("MATCH"),p=h("CANCEL_PROMISE"),y=h("SAGA_ACTION"),_=h("SELF_CANCELLATION"),b=function(qe){return function(){return qe}},S=b(!0),R=null,L=function(){},T=function(qe){return qe};function D(Ye,qe,Mt){if(!qe(Ye))throw ie("error","uncaught at check",Mt),new Error(Mt)}var B=Object.prototype.hasOwnProperty;function $(Ye,qe){return U.notUndef(Ye)&&B.call(Ye,qe)}var U={undef:function(qe){return qe==null},notUndef:function(qe){return qe!=null},func:function(qe){return typeof qe=="function"},number:function(qe){return typeof qe=="number"},string:function(qe){return typeof qe=="string"},array:Array.isArray,object:function(qe){return qe&&!U.array(qe)&&(typeof qe=="undefined"?"undefined":s(qe))==="object"},promise:function(qe){return qe&&U.func(qe.then)},iterator:function(qe){return qe&&U.func(qe.next)&&U.func(qe.throw)},iterable:function(qe){return qe&&U.func(Symbol)?U.func(qe[Symbol.iterator]):U.array(qe)},task:function(qe){return qe&&qe[u]},observable:function(qe){return qe&&U.func(qe.subscribe)},buffer:function(qe){return qe&&U.func(qe.isEmpty)&&U.func(qe.take)&&U.func(qe.put)},pattern:function(qe){return qe&&(U.string(qe)||(typeof qe=="undefined"?"undefined":s(qe))==="symbol"||U.func(qe)||U.array(qe))},channel:function(qe){return qe&&U.func(qe.take)&&U.func(qe.close)},helper:function(qe){return qe&&qe[a]},stringableFunc:function(qe){return U.func(qe)&&$(qe,"toString")}},V={assign:function(qe,Mt){for(var Gt in Mt)$(Mt,Gt)&&(qe[Gt]=Mt[Gt])}};function K(Ye,qe){var Mt=Ye.indexOf(qe);Mt>=0&&Ye.splice(Mt,1)}var G={from:function(qe){var Mt=Array(qe.length);for(var Gt in qe)$(qe,Gt)&&(Mt[Gt]=qe[Gt]);return Mt}};function oe(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qe=f({},Ye),Mt=new Promise(function(Gt,hr){qe.resolve=Gt,qe.reject=hr});return qe.promise=Mt,qe}function ae(Ye){for(var qe=[],Mt=0;Mt<Ye;Mt++)qe.push(oe());return qe}function le(Ye){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Mt=void 0,Gt=new Promise(function(hr){Mt=setTimeout(function(){return hr(qe)},Ye)});return Gt[p]=function(){return clearTimeout(Mt)},Gt}function Q(){var Ye,qe=!0,Mt=void 0,Gt=void 0;return Ye={},Ye[u]=!0,Ye.isRunning=function(){return qe},Ye.result=function(){return Mt},Ye.error=function(){return Gt},Ye.setRunning=function(Lr){return qe=Lr},Ye.setResult=function(Lr){return Mt=Lr},Ye.setError=function(Lr){return Gt=Lr},Ye}function J(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ye}}var Y=J(),ue=function(qe){throw qe},ne=function(qe){return{value:qe,done:!0}};function ee(Ye){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ue,Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Gt=arguments[3],hr={name:Mt,next:Ye,throw:qe,return:ne};return Gt&&(hr[a]=!0),typeof Symbol!="undefined"&&(hr[Symbol.iterator]=function(){return hr}),hr}function ie(Ye,qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ye+": "+qe+`
|
|
|
`+(Mt&&Mt.stack||Mt)):console[Ye](qe,Mt)}function F(Ye,qe){return function(){return Ye.apply(void 0,arguments)}}var M=function(qe,Mt){return qe+" has been deprecated in favor of "+Mt+", please update your code"},q=function(qe){return new Error(`
|
|
|
redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug
|
|
|
in redux-saga code and not yours. Thanks for reporting this in the project's github repo.
|
|
|
Error: `+qe+`
|
|
|
`)},de=function(qe,Mt){return(qe?qe+".":"")+"setContext(props): argument "+Mt+" is not a plain object"},Ee=function(qe){return function(Mt){return qe(Object.defineProperty(Mt,y,{value:!0}))}},Ce=function Ye(qe){return function(){for(var Mt=arguments.length,Gt=Array(Mt),hr=0;hr<Mt;hr++)Gt[hr]=arguments[hr];var Lr=[],jr=qe.apply(void 0,Gt);return{next:function(rn){return Lr.push(rn),jr.next(rn)},clone:function(){var rn=Ye(qe).apply(void 0,Gt);return Lr.forEach(function(vn){return rn.next(vn)}),rn},return:function(rn){return jr.return(rn)},throw:function(rn){return jr.throw(rn)}}}},je="Channel's Buffer overflow!",Fe=1,Ft=2,_t=3,Pt=4,Qt={isEmpty:S,put:L,take:L};function er(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,qe=arguments[1],Mt=new Array(Ye),Gt=0,hr=0,Lr=0,jr=function(Wn){Mt[hr]=Wn,hr=(hr+1)%Ye,Gt++},_n=function(){if(Gt!=0){var Wn=Mt[Lr];return Mt[Lr]=null,Gt--,Lr=(Lr+1)%Ye,Wn}},rn=function(){for(var Wn=[];Gt;)Wn.push(_n());return Wn};return{isEmpty:function(){return Gt==0},put:function(Wn){if(Gt<Ye)jr(Wn);else{var ti=void 0;switch(qe){case Fe:throw new Error(je);case _t:Mt[hr]=Wn,hr=(hr+1)%Ye,Lr=hr;break;case Pt:ti=2*Ye,Mt=rn(),Gt=Mt.length,hr=Mt.length,Lr=0,Mt.length=ti,Ye=ti,jr(Wn);break;default:}}},take:_n,flush:rn}}var Jt={none:function(){return Qt},fixed:function(qe){return er(qe,Fe)},dropping:function(qe){return er(qe,Ft)},sliding:function(qe){return er(qe,_t)},expanding:function(qe){return er(qe,Pt)}},Xe=[],It=0;function zt(Ye){try{bt(),Ye()}finally{ht()}}function st(Ye){Xe.push(Ye),It||(bt(),Je())}function bt(){It++}function ht(){It--}function Je(){ht();for(var Ye=void 0;!It&&(Ye=Xe.shift())!==void 0;)zt(Ye)}var Ue=Object.assign||function(Ye){for(var qe=1;qe<arguments.length;qe++){var Mt=arguments[qe];for(var Gt in Mt)Object.prototype.hasOwnProperty.call(Mt,Gt)&&(Ye[Gt]=Mt[Gt])}return Ye},ge="@@redux-saga/CHANNEL_END",Ae={type:ge},Me=function(qe){return qe&&qe.type===ge};function $e(){var Ye=[];function qe(Gt){return Ye.push(Gt),function(){return K(Ye,Gt)}}function Mt(Gt){for(var hr=Ye.slice(),Lr=0,jr=hr.length;Lr<jr;Lr++)hr[Lr](Gt)}return{subscribe:qe,emit:Mt}}var He="invalid buffer passed to channel factory function",nt="Saga was provided with an undefined action";function ct(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jt.fixed(),qe=!1,Mt=[];D(Ye,U.buffer,He);function Gt(){if(qe&&Mt.length)throw q("Cannot have a closed channel with pending takers");if(Mt.length&&!Ye.isEmpty())throw q("Cannot have pending takers with non empty buffer")}function hr(rn){if(Gt(),D(rn,U.notUndef,nt),!qe){if(!Mt.length)return Ye.put(rn);for(var vn=0;vn<Mt.length;vn++){var Wn=Mt[vn];if(!Wn[x]||Wn[x](rn))return Mt.splice(vn,1),Wn(rn)}}}function Lr(rn){Gt(),D(rn,U.func,"channel.take's callback must be a function"),qe&&Ye.isEmpty()?rn(Ae):Ye.isEmpty()?(Mt.push(rn),rn.cancel=function(){return K(Mt,rn)}):rn(Ye.take())}function jr(rn){if(Gt(),D(rn,U.func,"channel.flush' callback must be a function"),qe&&Ye.isEmpty()){rn(Ae);return}rn(Ye.flush())}function _n(){if(Gt(),!qe&&(qe=!0,Mt.length)){var rn=Mt;Mt=[];for(var vn=0,Wn=rn.length;vn<Wn;vn++)rn[vn](Ae)}}return{take:Lr,put:hr,flush:jr,close:_n,get __takers__(){return Mt},get __closed__(){return qe}}}function Kt(Ye){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Jt.none(),Mt=arguments[2];arguments.length>2&&D(Mt,U.func,"Invalid match function passed to eventChannel");var Gt=ct(qe),hr=function(){Gt.__closed__||(Lr&&Lr(),Gt.close())},Lr=Ye(function(jr){if(Me(jr)){hr();return}Mt&&!Mt(jr)||Gt.put(jr)});if(Gt.__closed__&&Lr(),!U.func(Lr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Gt.take,flush:Gt.flush,close:hr}}function Wt(Ye){var qe=Kt(function(Mt){return Ye(function(Gt){if(Gt[y]){Mt(Gt);return}st(function(){return Mt(Gt)})})});return Ue({},qe,{take:function(Gt,hr){arguments.length>1&&(D(hr,U.func,"channel.take's matcher argument must be a function"),Gt[x]=hr),qe.take(Gt)}})}var De=h("IO"),Qe="TAKE",Vt="PUT",kt="ALL",Ht="RACE",$t="CALL",Ct="CPS",Yt="FORK",Ge="JOIN",fe="CANCEL",_e="SELECT",Ot="ACTION_CHANNEL",Pe="CANCELLED",dt="FLUSH",Zt="GET_CONTEXT",Tt="SET_CONTEXT",ke=`
|
|
|
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,St=function(qe,Mt){var Gt;return Gt={},Gt[De]=!0,Gt[qe]=Mt,Gt},be=function(qe){return D(yr.fork(qe),U.object,"detach(eff): argument must be a fork effect"),qe[Yt].detached=!0,qe};function Ke(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&D(arguments[0],U.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),U.pattern(Ye))return St(Qe,{pattern:Ye});if(U.channel(Ye))return St(Qe,{channel:Ye});throw new Error("take(patternOrChannel): argument "+String(Ye)+" is not valid channel or a valid pattern")}Ke.maybe=function(){var Ye=Ke.apply(void 0,arguments);return Ye[Qe].maybe=!0,Ye};var gt=F(Ke.maybe,M("takem","take.maybe"));function Rt(Ye,qe){return arguments.length>1?(D(Ye,U.notUndef,"put(channel, action): argument channel is undefined"),D(Ye,U.channel,"put(channel, action): argument "+Ye+" is not a valid channel"),D(qe,U.notUndef,"put(channel, action): argument action is undefined")):(D(Ye,U.notUndef,"put(action): argument action is undefined"),qe=Ye,Ye=null),St(Vt,{channel:Ye,action:qe})}Rt.resolve=function(){var Ye=Rt.apply(void 0,arguments);return Ye[Vt].resolve=!0,Ye},Rt.sync=F(Rt.resolve,M("put.sync","put.resolve"));function Be(Ye){return St(kt,Ye)}function kr(Ye){return St(Ht,Ye)}function At(Ye,qe,Mt){D(qe,U.notUndef,Ye+": argument fn is undefined");var Gt=null;if(U.array(qe)){var hr=qe;Gt=hr[0],qe=hr[1]}else if(qe.fn){var Lr=qe;Gt=Lr.context,qe=Lr.fn}return Gt&&U.string(qe)&&U.func(Gt[qe])&&(qe=Gt[qe]),D(qe,U.func,Ye+": argument "+qe+" is not a function"),{context:Gt,fn:qe,args:Mt}}function Kr(Ye){for(var qe=arguments.length,Mt=Array(qe>1?qe-1:0),Gt=1;Gt<qe;Gt++)Mt[Gt-1]=arguments[Gt];return St($t,At("call",Ye,Mt))}function Qr(Ye,qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return St($t,At("apply",{context:Ye,fn:qe},Mt))}function Ar(Ye){for(var qe=arguments.length,Mt=Array(qe>1?qe-1:0),Gt=1;Gt<qe;Gt++)Mt[Gt-1]=arguments[Gt];return St(Ct,At("cps",Ye,Mt))}function $r(Ye){for(var qe=arguments.length,Mt=Array(qe>1?qe-1:0),Gt=1;Gt<qe;Gt++)Mt[Gt-1]=arguments[Gt];return St(Yt,At("fork",Ye,Mt))}function _r(Ye){for(var qe=arguments.length,Mt=Array(qe>1?qe-1:0),Gt=1;Gt<qe;Gt++)Mt[Gt-1]=arguments[Gt];return be($r.apply(void 0,[Ye].concat(Mt)))}function Ur(){for(var Ye=arguments.length,qe=Array(Ye),Mt=0;Mt<Ye;Mt++)qe[Mt]=arguments[Mt];if(qe.length>1)return Be(qe.map(function(hr){return Ur(hr)}));var Gt=qe[0];return D(Gt,U.notUndef,"join(task): argument task is undefined"),D(Gt,U.task,"join(task): argument "+Gt+" is not a valid Task object "+ke),St(Ge,Gt)}function sn(){for(var Ye=arguments.length,qe=Array(Ye),Mt=0;Mt<Ye;Mt++)qe[Mt]=arguments[Mt];if(qe.length>1)return Be(qe.map(function(hr){return sn(hr)}));var Gt=qe[0];return qe.length===1&&(D(Gt,U.notUndef,"cancel(task): argument task is undefined"),D(Gt,U.task,"cancel(task): argument "+Gt+" is not a valid Task object "+ke)),St(fe,Gt||_)}function cn(Ye){for(var qe=arguments.length,Mt=Array(qe>1?qe-1:0),Gt=1;Gt<qe;Gt++)Mt[Gt-1]=arguments[Gt];return arguments.length===0?Ye=T:(D(Ye,U.notUndef,"select(selector,[...]): argument selector is undefined"),D(Ye,U.func,"select(selector,[...]): argument "+Ye+" is not a function")),St(_e,{selector:Ye,args:Mt})}function ur(Ye,qe){return D(Ye,U.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(D(qe,U.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),D(qe,U.buffer,"actionChannel(pattern, buffer): argument "+qe+" is not a valid buffer")),St(Ot,{pattern:Ye,buffer:qe})}function Lt(){return St(Pe,{})}function vt(Ye){return D(Ye,U.channel,"flush(channel): argument "+Ye+" is not valid channel"),St(dt,Ye)}function yt(Ye){return D(Ye,U.string,"getContext(prop): argument "+Ye+" is not a string"),St(Zt,Ye)}function jt(Ye){return D(Ye,U.object,de(null,Ye)),St(Tt,Ye)}var Cr=function(qe){return function(Mt){return Mt&&Mt[De]&&Mt[qe]}},yr={take:Cr(Qe),put:Cr(Vt),all:Cr(kt),race:Cr(Ht),call:Cr($t),cps:Cr(Ct),fork:Cr(Yt),join:Cr(Ge),cancel:Cr(fe),select:Cr(_e),actionChannel:Cr(Ot),cancelled:Cr(Pe),flush:Cr(dt),getContext:Cr(Zt),setContext:Cr(Tt)},ot=Object.assign||function(Ye){for(var qe=1;qe<arguments.length;qe++){var Mt=arguments[qe];for(var Gt in Mt)Object.prototype.hasOwnProperty.call(Mt,Gt)&&(Ye[Gt]=Mt[Gt])}return Ye},Fr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ye){return typeof Ye}:function(Ye){return Ye&&typeof Symbol=="function"&&Ye.constructor===Symbol&&Ye!==Symbol.prototype?"symbol":typeof Ye};function mn(Ye,qe){for(var Mt in qe){var Gt=qe[Mt];Gt.configurable=Gt.enumerable=!0,"value"in Gt&&(Gt.writable=!0),Object.defineProperty(Ye,Mt,Gt)}return Ye}var Un="proc first argument (Saga function result) must be an iterator",mr={toString:function(){return"@@redux-saga/CHANNEL_END"}},en={toString:function(){return"@@redux-saga/TASK_CANCEL"}},dn={wildcard:function(){return S},default:function(qe){return(typeof qe=="undefined"?"undefined":Fr(qe))==="symbol"?function(Mt){return Mt.type===qe}:function(Mt){return Mt.type===String(qe)}},array:function(qe){return function(Mt){return qe.some(function(Gt){return Fn(Gt)(Mt)})}},predicate:function(qe){return function(Mt){return qe(Mt)}}};function Fn(Ye){return(Ye==="*"?dn.wildcard:U.array(Ye)?dn.array:U.stringableFunc(Ye)?dn.default:U.func(Ye)?dn.predicate:dn.default)(Ye)}function ei(Ye,qe,Mt){var Gt=[],hr=void 0,Lr=!1;_n(qe);function jr(vn){rn(),Mt(vn,!0)}function _n(vn){Gt.push(vn),vn.cont=function(Wn,ti){Lr||(K(Gt,vn),vn.cont=L,ti?jr(Wn):(vn===qe&&(hr=Wn),Gt.length||(Lr=!0,Mt(hr))))}}function rn(){Lr||(Lr=!0,Gt.forEach(function(vn){vn.cont=L,vn.cancel()}),Gt=[])}return{addTask:_n,cancelAll:rn,abort:jr,getTasks:function(){return Gt},taskNames:function(){return Gt.map(function(Wn){return Wn.name})}}}function Nn(Ye){var qe=Ye.context,Mt=Ye.fn,Gt=Ye.args;if(U.iterator(Mt))return Mt;var hr=void 0,Lr=void 0;try{hr=Mt.apply(qe,Gt)}catch(jr){Lr=jr}return U.iterator(hr)?hr:ee(Lr?function(){throw Lr}:function(){var jr=void 0,_n={done:!1,value:hr},rn=function(Wn){return{done:!0,value:Wn}};return function(vn){return jr?rn(vn):(jr=!0,_n)}}())}var zi=function(qe){return{fn:qe}};function mi(Ye){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return L},Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:L,Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:L,hr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Lr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},jr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,_n=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",rn=arguments[8];D(Ye,U.iterator,Un);var vn="[...effects]",Wn=F(Ws,M(vn,"all("+vn+")")),ti=Lr.sagaMonitor,hi=Lr.logger,Ii=Lr.onError,Qi=hi||ie,Ri=function(Yr){var An=Yr.sagaStack;!An&&Yr.stack&&(An=Yr.stack.split(`
|
|
|
`)[0].indexOf(Yr.message)!==-1?Yr.stack:"Error: "+Yr.message+`
|
|
|
`+Yr.stack),Qi("error","uncaught at "+_n,An||Yr.message||Yr)},Ei=Wt(qe),fa=Object.create(hr);Ma.cancel=L;var Si=Jr(jr,_n,Ye,rn),bi={name:_n,cancel:no,isRunning:!0},da=ei(_n,bi,Fa);function no(){bi.isRunning&&!bi.isCancelled&&(bi.isCancelled=!0,Ma(en))}function Ss(){Ye._isRunning&&!Ye._isCancelled&&(Ye._isCancelled=!0,da.cancelAll(),Fa(en))}return rn&&(rn.cancel=Ss),Ye._isRunning=!0,Ma(),Si;function Ma(br,Yr){if(!bi.isRunning)throw new Error("Trying to resume an already finished generator");try{var An=void 0;Yr?An=Ye.throw(br):br===en?(bi.isCancelled=!0,Ma.cancel(),An=U.func(Ye.return)?Ye.return(en):{done:!0,value:en}):br===mr?An=U.func(Ye.return)?Ye.return():{done:!0}:An=Ye.next(br),An.done?(bi.isMainRunning=!1,bi.cont&&bi.cont(An.value)):Ga(An.value,jr,"",Ma)}catch(Jn){bi.isCancelled&&Ri(Jn),bi.isMainRunning=!1,bi.cont(Jn,!0)}}function Fa(br,Yr){Ye._isRunning=!1,Ei.close(),Yr?(br instanceof Error&&Object.defineProperty(br,"sagaStack",{value:"at "+_n+`
|
|
|
`+(br.sagaStack||br.stack),configurable:!0}),Si.cont||(br instanceof Error&&Ii?Ii(br):Ri(br)),Ye._error=br,Ye._isAborted=!0,Ye._deferredEnd&&Ye._deferredEnd.reject(br)):(Ye._result=br,Ye._deferredEnd&&Ye._deferredEnd.resolve(br)),Si.cont&&Si.cont(br,Yr),Si.joiners.forEach(function(An){return An.cb(br,Yr)}),Si.joiners=null}function Ga(br,Yr){var An=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Jn=arguments[3],Li=Y();ti&&ti.effectTriggered({effectId:Li,parentEffectId:Yr,label:An,effect:br});var Rn=void 0;function Mn(ia,Na){Rn||(Rn=!0,Jn.cancel=L,ti&&(Na?ti.effectRejected(Li,ia):ti.effectResolved(Li,ia)),Jn(ia,Na))}Mn.cancel=L,Jn.cancel=function(){if(!Rn){Rn=!0;try{Mn.cancel()}catch(ia){Ri(ia)}Mn.cancel=L,ti&&ti.effectCancelled(Li)}};var Cn=void 0;return U.promise(br)?Oi(br,Mn):U.helper(br)?ba(zi(br),Li,Mn):U.iterator(br)?va(br,Li,_n,Mn):U.array(br)?Wn(br,Li,Mn):(Cn=yr.take(br))?Ba(Cn,Mn):(Cn=yr.put(br))?Ya(Cn,Mn):(Cn=yr.all(br))?Ws(Cn,Li,Mn):(Cn=yr.race(br))?ha(Cn,Li,Mn):(Cn=yr.call(br))?ho(Cn,Li,Mn):(Cn=yr.cps(br))?rs(Cn,Mn):(Cn=yr.fork(br))?ba(Cn,Li,Mn):(Cn=yr.join(br))?Ks(Cn,Mn):(Cn=yr.cancel(br))?Ra(Cn,Mn):(Cn=yr.select(br))?Va(Cn,Mn):(Cn=yr.actionChannel(br))?Is(Cn,Mn):(Cn=yr.flush(br))?ye(Cn,Mn):(Cn=yr.cancelled(br))?ga(Cn,Mn):(Cn=yr.getContext(br))?Se(Cn,Mn):(Cn=yr.setContext(br))?gr(Cn,Mn):Mn(br)}function Oi(br,Yr){var An=br[p];U.func(An)?Yr.cancel=An:U.func(br.abort)&&(Yr.cancel=function(){return br.abort()}),br.then(Yr,function(Jn){return Yr(Jn,!0)})}function va(br,Yr,An,Jn){mi(br,qe,Mt,Gt,fa,Lr,Yr,An,Jn)}function Ba(br,Yr){var An=br.channel,Jn=br.pattern,Li=br.maybe;An=An||Ei;var Rn=function(Cn){return Cn instanceof Error?Yr(Cn,!0):Me(Cn)&&!Li?Yr(mr):Yr(Cn)};try{An.take(Rn,Fn(Jn))}catch(Mn){return Yr(Mn,!0)}Yr.cancel=Rn.cancel}function Ya(br,Yr){var An=br.channel,Jn=br.action,Li=br.resolve;st(function(){var Rn=void 0;try{Rn=(An?An.put:Mt)(Jn)}catch(Mn){if(An||Li)return Yr(Mn,!0);Ri(Mn)}if(Li&&U.promise(Rn))Oi(Rn,Yr);else return Yr(Rn)})}function ho(br,Yr,An){var Jn=br.context,Li=br.fn,Rn=br.args,Mn=void 0;try{Mn=Li.apply(Jn,Rn)}catch(Cn){return An(Cn,!0)}return U.promise(Mn)?Oi(Mn,An):U.iterator(Mn)?va(Mn,Yr,Li.name,An):An(Mn)}function rs(br,Yr){var An=br.context,Jn=br.fn,Li=br.args;try{var Rn=function(Cn,ia){return U.undef(Cn)?Yr(ia):Yr(Cn,!0)};Jn.apply(An,Li.concat(Rn)),Rn.cancel&&(Yr.cancel=function(){return Rn.cancel()})}catch(Mn){return Yr(Mn,!0)}}function ba(br,Yr,An){var Jn=br.context,Li=br.fn,Rn=br.args,Mn=br.detached,Cn=Nn({context:Jn,fn:Li,args:Rn});try{bt();var ia=mi(Cn,qe,Mt,Gt,fa,Lr,Yr,Li.name,Mn?null:L);Mn?An(ia):Cn._isRunning?(da.addTask(ia),An(ia)):Cn._error?da.abort(Cn._error):An(ia)}finally{Je()}}function Ks(br,Yr){if(br.isRunning()){var An={task:Si,cb:Yr};Yr.cancel=function(){return K(br.joiners,An)},br.joiners.push(An)}else br.isAborted()?Yr(br.error(),!0):Yr(br.result())}function Ra(br,Yr){br===_&&(br=Si),br.isRunning()&&br.cancel(),Yr()}function Ws(br,Yr,An){var Jn=Object.keys(br);if(!Jn.length)return An(U.array(br)?[]:{});var Li=0,Rn=void 0,Mn={},Cn={};function ia(){Li===Jn.length&&(Rn=!0,An(U.array(br)?G.from(ot({},Mn,{length:Jn.length})):Mn))}Jn.forEach(function(Na){var _o=function(nu,gl){Rn||(gl||Me(nu)||nu===mr||nu===en?(An.cancel(),An(nu,gl)):(Mn[Na]=nu,Li++,ia()))};_o.cancel=L,Cn[Na]=_o}),An.cancel=function(){Rn||(Rn=!0,Jn.forEach(function(Na){return Cn[Na].cancel()}))},Jn.forEach(function(Na){return Ga(br[Na],Yr,Na,Cn[Na])})}function ha(br,Yr,An){var Jn=void 0,Li=Object.keys(br),Rn={};Li.forEach(function(Mn){var Cn=function(Na,_o){if(!Jn){if(_o)An.cancel(),An(Na,!0);else if(!Me(Na)&&Na!==mr&&Na!==en){var io;An.cancel(),Jn=!0;var nu=(io={},io[Mn]=Na,io);An(U.array(br)?[].slice.call(ot({},nu,{length:Li.length})):nu)}}};Cn.cancel=L,Rn[Mn]=Cn}),An.cancel=function(){Jn||(Jn=!0,Li.forEach(function(Mn){return Rn[Mn].cancel()}))},Li.forEach(function(Mn){Jn||Ga(br[Mn],Yr,Mn,Rn[Mn])})}function Va(br,Yr){var An=br.selector,Jn=br.args;try{var Li=An.apply(void 0,[Gt()].concat(Jn));Yr(Li)}catch(Rn){Yr(Rn,!0)}}function Is(br,Yr){var An=br.pattern,Jn=br.buffer,Li=Fn(An);Li.pattern=An,Yr(Kt(qe,Jn||Jt.fixed(),Li))}function ga(br,Yr){Yr(!!bi.isCancelled)}function ye(br,Yr){br.flush(Yr)}function Se(br,Yr){Yr(fa[br])}function gr(br,Yr){V.assign(fa,br),Yr()}function Jr(br,Yr,An,Jn){var Li,Rn,Mn;return An._deferredEnd=null,Rn={},Rn[u]=!0,Rn.id=br,Rn.name=Yr,Li="done",Mn={},Mn[Li]=Mn[Li]||{},Mn[Li].get=function(){if(An._deferredEnd)return An._deferredEnd.promise;var Cn=oe();return An._deferredEnd=Cn,An._isRunning||(An._error?Cn.reject(An._error):Cn.resolve(An._result)),Cn.promise},Rn.cont=Jn,Rn.joiners=[],Rn.cancel=Ss,Rn.isRunning=function(){return An._isRunning},Rn.isCancelled=function(){return An._isCancelled},Rn.isAborted=function(){return An._isAborted},Rn.result=function(){return An._result},Rn.error=function(){return An._error},Rn.setContext=function(ia){D(ia,U.object,de("task",ia)),V.assign(fa,ia)},mn(Rn,Mn),Rn}}var xi="runSaga(storeInterface, saga, ...args)",vi=xi+": saga argument must be a Generator function!";function pi(Ye,qe){for(var Mt=arguments.length,Gt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Gt[hr-2]=arguments[hr];var Lr=void 0;U.iterator(Ye)?(Lr=Ye,Ye=qe):(D(qe,U.func,vi),Lr=qe.apply(void 0,Gt),D(Lr,U.iterator,vi));var jr=Ye,_n=jr.subscribe,rn=jr.dispatch,vn=jr.getState,Wn=jr.context,ti=jr.sagaMonitor,hi=jr.logger,Ii=jr.onError,Qi=Y();ti&&(ti.effectTriggered=ti.effectTriggered||L,ti.effectResolved=ti.effectResolved||L,ti.effectRejected=ti.effectRejected||L,ti.effectCancelled=ti.effectCancelled||L,ti.actionDispatched=ti.actionDispatched||L,ti.effectTriggered({effectId:Qi,root:!0,parentEffectId:0,effect:{root:!0,saga:qe,args:Gt}}));var Ri=mi(Lr,_n,Ee(rn),vn,Wn,{sagaMonitor:ti,logger:hi,onError:Ii},Qi,qe.name);return ti&&ti.effectResolved(Qi,Ri),Ri}function Yi(Ye,qe){var Mt={};for(var Gt in Ye)qe.indexOf(Gt)>=0||Object.prototype.hasOwnProperty.call(Ye,Gt)&&(Mt[Gt]=Ye[Gt]);return Mt}function Yn(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qe=Ye.context,Mt=qe===void 0?{}:qe,Gt=Yi(Ye,["context"]),hr=Gt.sagaMonitor,Lr=Gt.logger,jr=Gt.onError;if(U.func(Gt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Lr&&!U.func(Lr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(jr&&!U.func(jr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Gt.emitter&&!U.func(Gt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function _n(rn){var vn=rn.getState,Wn=rn.dispatch,ti=$e();return ti.emit=(Gt.emitter||T)(ti.emit),_n.run=pi.bind(null,{context:Mt,subscribe:ti.subscribe,dispatch:Wn,getState:vn,sagaMonitor:hr,logger:Lr,onError:jr}),function(hi){return function(Ii){hr&&hr.actionDispatched&&hr.actionDispatched(Ii);var Qi=hi(Ii);return ti.emit(Ii),Qi}}}return _n.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},_n.setContext=function(rn){D(rn,U.object,de("sagaMiddleware",rn)),V.assign(Mt,rn)},_n}var Vi={done:!0,value:void 0},Et={};function ut(Ye){return U.channel(Ye)?"channel":Array.isArray(Ye)?String(Ye.map(function(qe){return String(qe)})):String(Ye)}function Xn(Ye,qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Gt=void 0,hr=qe;function Lr(jr,_n){if(hr===Et)return Vi;if(_n)throw hr=Et,_n;Gt&&Gt(jr);var rn=Ye[hr](),vn=rn[0],Wn=rn[1],ti=rn[2];return hr=vn,Gt=ti,hr===Et?Vi:Wn}return ee(Lr,function(jr){return Lr(null,jr)},Mt,!0)}function wi(Ye,qe){for(var Mt=arguments.length,Gt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Gt[hr-2]=arguments[hr];var Lr={done:!1,value:Ke(Ye)},jr=function(Wn){return{done:!1,value:$r.apply(void 0,[qe].concat(Gt,[Wn]))}},_n=void 0,rn=function(Wn){return _n=Wn};return Xn({q1:function(){return["q2",Lr,rn]},q2:function(){return _n===Ae?[Et]:["q1",jr(_n)]}},"q1","takeEvery("+ut(Ye)+", "+qe.name+")")}function qn(Ye,qe){for(var Mt=arguments.length,Gt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Gt[hr-2]=arguments[hr];var Lr={done:!1,value:Ke(Ye)},jr=function(Ii){return{done:!1,value:$r.apply(void 0,[qe].concat(Gt,[Ii]))}},_n=function(Ii){return{done:!1,value:sn(Ii)}},rn=void 0,vn=void 0,Wn=function(Ii){return rn=Ii},ti=function(Ii){return vn=Ii};return Xn({q1:function(){return["q2",Lr,ti]},q2:function(){return vn===Ae?[Et]:rn?["q3",_n(rn)]:["q1",jr(vn),Wn]},q3:function(){return["q1",jr(vn),Wn]}},"q1","takeLatest("+ut(Ye)+", "+qe.name+")")}function Zi(Ye,qe,Mt){for(var Gt=arguments.length,hr=Array(Gt>3?Gt-3:0),Lr=3;Lr<Gt;Lr++)hr[Lr-3]=arguments[Lr];var jr=void 0,_n=void 0,rn={done:!1,value:ur(qe,Jt.sliding(1))},vn=function(){return{done:!1,value:Ke(_n)}},Wn=function(Ri){return{done:!1,value:$r.apply(void 0,[Mt].concat(hr,[Ri]))}},ti={done:!1,value:Kr(le,Ye)},hi=function(Ri){return jr=Ri},Ii=function(Ri){return _n=Ri};return Xn({q1:function(){return["q2",rn,Ii]},q2:function(){return["q3",vn(),hi]},q3:function(){return jr===Ae?[Et]:["q4",Wn(jr)]},q4:function(){return["q2",ti]}},"q1","throttle("+ut(qe)+", "+Mt.name+")")}var _i=function(qe){return"import { "+qe+" } from 'redux-saga' has been deprecated in favor of import { "+qe+` } from 'redux-saga/effects'.
|
|
|
The latter will not work with yield*, as helper effects are wrapped automatically for you in fork effect.
|
|
|
Therefore yield `+qe+" will return task descriptor to your saga and execute next lines of code."},Pi=null,Qn=null,tr=null;function mt(Ye,qe){for(var Mt=arguments.length,Gt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Gt[hr-2]=arguments[hr];return $r.apply(void 0,[wi,Ye,qe].concat(Gt))}function rt(Ye,qe){for(var Mt=arguments.length,Gt=Array(Mt>2?Mt-2:0),hr=2;hr<Mt;hr++)Gt[hr-2]=arguments[hr];return $r.apply(void 0,[qn,Ye,qe].concat(Gt))}function Dt(Ye,qe,Mt){for(var Gt=arguments.length,hr=Array(Gt>3?Gt-3:0),Lr=3;Lr<Gt;Lr++)hr[Lr-3]=arguments[Lr];return $r.apply(void 0,[Zi,Ye,qe,Mt].concat(hr))}var pt=Yn,cr=e(44520),fr=e.n(cr),Ir=e(62853),Rr=e(78639),Ze=e.n(Rr),et=e(80702),we=e(68413),it=e(56754),ir=e.n(it),Or=e(96949),wr=e(55090),Tr=e(89381),Nr=e.n(Tr),gn=e(60288),Dr=e(52487),un=e(14759),tn=e.n(un),ln=Array.isArray.bind(Array),En=function(qe){return typeof qe=="function"},la=function(qe){return qe},gi=function(){},yi=function(qe,Mt){for(var Gt=0,hr=qe.length;Gt<hr;Gt+=1)if(Mt(qe[Gt],Gt))return Gt;return-1},On=Object.freeze({isPlainObject:Ze(),isArray:ln,isFunction:En,returnSelf:la,noop:gi,findIndex:yi});function Di(Ye,qe){var Mt=Ye.namespace,Gt=Ye.reducers,hr=Ye.effects,Lr=Ye.subscriptions;invariant(Mt,"[app.model] namespace should be defined"),invariant(typeof Mt=="string","[app.model] namespace should be string, but got ".concat(_typeof(Mt))),invariant(!qe.some(function(jr){return jr.namespace===Mt}),"[app.model] namespace should be unique"),Gt&&(invariant(isPlainObject(Gt)||ln(Gt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Gt))),invariant(!ln(Gt)||isPlainObject(Gt[0])&&En(Gt[1]),"[app.model] reducers with array should be [Object, Function]")),hr&&invariant(isPlainObject(hr),"[app.model] effects should be plain object, but got ".concat(_typeof(hr))),Lr&&(invariant(isPlainObject(Lr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Lr))),invariant(Fi(Lr),"[app.model] subscription should be function"))}function Fi(Ye){return Object.keys(Ye).every(function(qe){return En(Ye[qe])})}var oa="/";function ws(Ye,qe,Mt){return Object.keys(Ye).reduce(function(Gt,hr){ir()(hr.indexOf("".concat(qe).concat(oa))!==0,"[prefixNamespace]: ".concat(Mt," ").concat(hr," should not be prefixed with namespace ").concat(qe));var Lr="".concat(qe).concat(oa).concat(hr);return Gt[Lr]=Ye[hr],Gt},{})}function Sa(Ye){var qe=Ye.namespace,Mt=Ye.reducers,Gt=Ye.effects;if(Mt)if(ln(Mt)){var hr=(0,we.Z)(Mt),Lr=hr[0],jr=hr.slice(1);Ye.reducers=[ws(Lr,qe,"reducer")].concat((0,et.Z)(jr))}else Ye.reducers=ws(Mt,qe,"reducer");return Gt&&(Ye.effects=ws(Gt,qe,"effect")),Ye}var Ha=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function Us(Ye){return Object.keys(Ye).reduce(function(qe,Mt){return Ha.indexOf(Mt)>-1&&(qe[Mt]=Ye[Mt]),qe},{})}var ja=function(){function Ye(){(0,Or.Z)(this,Ye),this._handleActions=null,this.hooks=Ha.reduce(function(qe,Mt){return qe[Mt]=[],qe},{})}return(0,wr.Z)(Ye,[{key:"use",value:function(Mt){fr()(Ze()(Mt),"plugin.use: plugin should be plain object");var Gt=this.hooks;for(var hr in Mt)Object.prototype.hasOwnProperty.call(Mt,hr)&&(fr()(Gt[hr],"plugin.use: unknown plugin property: ".concat(hr)),hr==="_handleActions"?this._handleActions=Mt[hr]:hr==="extraEnhancers"?Gt[hr]=Mt[hr]:Gt[hr].push(Mt[hr]))}},{key:"apply",value:function(Mt,Gt){var hr=this.hooks,Lr=["onError","onHmr"];fr()(Lr.indexOf(Mt)>-1,"plugin.apply: hook ".concat(Mt," cannot be applied"));var jr=hr[Mt];return function(){if(jr.length){var _n=!0,rn=!1,vn=void 0;try{for(var Wn=jr[Symbol.iterator](),ti;!(_n=(ti=Wn.next()).done);_n=!0){var hi=ti.value;hi.apply(void 0,arguments)}}catch(Ii){rn=!0,vn=Ii}finally{try{!_n&&Wn.return!=null&&Wn.return()}finally{if(rn)throw vn}}}else Gt&&Gt.apply(void 0,arguments)}}},{key:"get",value:function(Mt){var Gt=this.hooks;return fr()(Mt in Gt,"plugin.get: hook ".concat(Mt," cannot be got")),Mt==="extraReducers"?na(Gt[Mt]):Mt==="onReducer"?Ai(Gt[Mt]):Gt[Mt]}}]),Ye}();function na(Ye){var qe={},Mt=!0,Gt=!1,hr=void 0;try{for(var Lr=Ye[Symbol.iterator](),jr;!(Mt=(jr=Lr.next()).done);Mt=!0){var _n=jr.value;qe=(0,l.Z)({},qe,_n)}}catch(rn){Gt=!0,hr=rn}finally{try{!Mt&&Lr.return!=null&&Lr.return()}finally{if(Gt)throw hr}}return qe}function Ai(Ye){return function(qe){var Mt=!0,Gt=!1,hr=void 0;try{for(var Lr=Ye[Symbol.iterator](),jr;!(Mt=(jr=Lr.next()).done);Mt=!0){var _n=jr.value;qe=_n(qe)}}catch(rn){Gt=!0,hr=rn}finally{try{!Mt&&Lr.return!=null&&Lr.return()}finally{if(Gt)throw hr}}return qe}}function Ci(Ye){var qe=Ye.reducers,Mt=Ye.initialState,Gt=Ye.plugin,hr=Ye.sagaMiddleware,Lr=Ye.promiseMiddleware,jr=Ye.createOpts.setupMiddlewares,_n=jr===void 0?la:jr,rn=Gt.get("extraEnhancers");fr()(ln(rn),"[app.start] extraEnhancers should be array, but got ".concat((0,Ir.Z)(rn)));var vn=Gt.get("onAction"),Wn=_n([Lr,hr].concat((0,et.Z)(Nr()(vn)))),ti=c.qC,hi=[c.md.apply(void 0,(0,et.Z)(Wn))].concat((0,et.Z)(rn));return(0,c.MT)(qe,Mt,ti.apply(void 0,(0,et.Z)(hi)))}function qa(Ye,qe){var Mt="".concat(qe.namespace).concat(oa).concat(Ye),Gt=Mt.replace(/\/@@[^/]+?$/,""),hr=Array.isArray(qe.reducers)?qe.reducers[0][Gt]:qe.reducers&&qe.reducers[Gt];return hr||qe.effects&&qe.effects[Gt]?Mt:Ye}function Cs(Ye,qe,Mt,Gt){var hr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return tn().mark(function Lr(){var jr;return tn().wrap(function(rn){for(;;)switch(rn.prev=rn.next){case 0:rn.t0=tn().keys(Ye);case 1:if((rn.t1=rn.t0()).done){rn.next=7;break}if(jr=rn.t1.value,!Object.prototype.hasOwnProperty.call(Ye,jr)){rn.next=5;break}return rn.delegateYield(tn().mark(function vn(){var Wn,ti;return tn().wrap(function(Ii){for(;;)switch(Ii.prev=Ii.next){case 0:return Wn=Ni(jr,Ye[jr],qe,Mt,Gt,hr),Ii.next=3,$r(Wn);case 3:return ti=Ii.sent,Ii.next=6,$r(tn().mark(function Qi(){return tn().wrap(function(Ei){for(;;)switch(Ei.prev=Ei.next){case 0:return Ei.next=2,Ke("".concat(qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return Ei.next=4,sn(ti);case 4:case"end":return Ei.stop()}},Qi)}));case 6:case"end":return Ii.stop()}},vn)})(),"t2",5);case 5:rn.next=1;break;case 7:case"end":return rn.stop()}},Lr)})}function Ni(Ye,qe,Mt,Gt,hr,Lr){var jr=tn().mark(Qi),_n=qe,rn="takeEvery",vn,Wn;if(Array.isArray(qe)){var ti=(0,Dr.Z)(qe,1);_n=ti[0];var hi=qe[1];hi&&hi.type&&(rn=hi.type,rn==="throttle"&&(fr()(hi.ms,"app.start: opts.ms should be defined if type is throttle"),vn=hi.ms),rn==="poll"&&(fr()(hi.delay,"app.start: opts.delay should be defined if type is poll"),Wn=hi.delay)),fr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(rn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Ii(){}function Qi(){var Ei,fa,Si,bi,da,no,Ss,Ma,Fa,Ga=arguments;return tn().wrap(function(va){for(;;)switch(va.prev=va.next){case 0:for(Ei=Ga.length,fa=new Array(Ei),Si=0;Si<Ei;Si++)fa[Si]=Ga[Si];return bi=fa.length>0?fa[0]:{},da=bi.__dva_resolve,no=da===void 0?Ii:da,Ss=bi.__dva_reject,Ma=Ss===void 0?Ii:Ss,va.prev=2,va.next=5,Rt({type:"".concat(Ye).concat(oa,"@@start")});case 5:return va.next=7,_n.apply(void 0,(0,et.Z)(fa.concat(Ts(Mt,Lr))));case 7:return Fa=va.sent,va.next=10,Rt({type:"".concat(Ye).concat(oa,"@@end")});case 10:no(Fa),va.next=17;break;case 13:va.prev=13,va.t0=va.catch(2),Gt(va.t0,{key:Ye,effectArgs:fa}),va.t0._dontReject||Ma(va.t0);case 17:case"end":return va.stop()}},jr,null,[[2,13]])}var Ri=xo(hr,Qi,Mt,Ye);switch(rn){case"watcher":return Qi;case"takeLatest":return tn().mark(function Ei(){return tn().wrap(function(Si){for(;;)switch(Si.prev=Si.next){case 0:return Si.next=2,rt(Ye,Ri);case 2:case"end":return Si.stop()}},Ei)});case"throttle":return tn().mark(function Ei(){return tn().wrap(function(Si){for(;;)switch(Si.prev=Si.next){case 0:return Si.next=2,Dt(vn,Ye,Ri);case 2:case"end":return Si.stop()}},Ei)});case"poll":return tn().mark(function Ei(){var fa,Si,bi,da,no,Ss,Ma;return tn().wrap(function(Ga){for(;;)switch(Ga.prev=Ga.next){case 0:bi=function(va,Ba){var Ya;return tn().wrap(function(rs){for(;;)switch(rs.prev=rs.next){case 0:Ya=va.call;case 1:return rs.next=4,Ya(Ri,Ba);case 4:return rs.next=6,Ya(Si,Wn);case 6:rs.next=1;break;case 8:case"end":return rs.stop()}},fa)},Si=function(va){return new Promise(function(Ba){return setTimeout(Ba,va)})},fa=tn().mark(bi),da=Kr,no=Ke,Ss=kr;case 4:return Ga.next=7,no("".concat(Ye,"-start"));case 7:return Ma=Ga.sent,Ga.next=10,Ss([da(bi,r,Ma),no("".concat(Ye,"-stop"))]);case 10:Ga.next=4;break;case 12:case"end":return Ga.stop()}},Ei)});default:return tn().mark(function Ei(){return tn().wrap(function(Si){for(;;)switch(Si.prev=Si.next){case 0:return Si.next=2,mt(Ye,Ri);case 2:case"end":return Si.stop()}},Ei)})}}function Ts(Ye,qe){function Mt(jr,_n){fr()(jr,"dispatch: action should be a plain Object with type");var rn=qe.namespacePrefixWarning,vn=rn===void 0?!0:rn;vn&&ir()(jr.indexOf("".concat(Ye.namespace).concat(oa))!==0,"[".concat(_n,"] ").concat(jr," should not be prefixed with namespace ").concat(Ye.namespace))}function Gt(jr){var _n=jr.type;return Mt(_n,"sagaEffects.put"),Rt((0,l.Z)({},jr,{type:qa(_n,Ye)}))}function hr(jr){var _n=jr.type;return Mt(_n,"sagaEffects.put.resolve"),Rt.resolve((0,l.Z)({},jr,{type:qa(_n,Ye)}))}Gt.resolve=hr;function Lr(jr){return typeof jr=="string"?(Mt(jr,"sagaEffects.take"),Ke(qa(jr,Ye))):Array.isArray(jr)?Ke(jr.map(function(_n){return typeof _n=="string"?(Mt(_n,"sagaEffects.take"),qa(_n,Ye)):_n})):Ke(jr)}return(0,l.Z)({},r,{put:Gt,take:Lr})}function xo(Ye,qe,Mt,Gt){var hr=!0,Lr=!1,jr=void 0;try{for(var _n=Ye[Symbol.iterator](),rn;!(hr=(rn=_n.next()).done);hr=!0){var vn=rn.value;qe=vn(qe,r,Mt,Gt)}}catch(Wn){Lr=!0,jr=Wn}finally{try{!hr&&_n.return!=null&&_n.return()}finally{if(Lr)throw jr}}return qe}function La(Ye){return Ye}function hs(Ye){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:La;return function(Mt,Gt){var hr=Gt.type;return fr()(hr,"dispatch: action should be a plain Object with type"),Ye===hr?qe(Mt,Gt):Mt}}function Hi(){for(var Ye=arguments.length,qe=new Array(Ye),Mt=0;Mt<Ye;Mt++)qe[Mt]=arguments[Mt];return function(Gt,hr){return qe.reduce(function(Lr,jr){return jr(Lr,hr)},Gt)}}function Vs(Ye,qe){var Mt=Object.keys(Ye).map(function(hr){return hs(hr,Ye[hr])}),Gt=Hi.apply(void 0,(0,et.Z)(Mt));return function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qe,Lr=arguments.length>1?arguments[1]:void 0;return Gt(hr,Lr)}}function kn(Ye,qe,Mt){return Array.isArray(Ye)?Ye[1]((Mt||Vs)(Ye[0],qe)):(Mt||Vs)(Ye||{},qe)}function Qa(Ye){return function(){return function(Mt){return function(Gt){var hr=Gt.type;return qe(hr)?new Promise(function(Lr,jr){Mt((0,l.Z)({__dva_resolve:Lr,__dva_reject:jr},Gt))}):Mt(Gt)}}};function qe(Mt){if(!Mt||typeof Mt!="string")return!1;var Gt=Mt.split(oa),hr=(0,Dr.Z)(Gt,1),Lr=hr[0],jr=Ye._models.filter(function(_n){return _n.namespace===Lr})[0];return!!(jr&&jr.effects&&jr.effects[Mt])}}function uo(Ye,qe){return function(Mt){var Gt=Mt.type;return fr()(Gt,"dispatch: action should be a plain Object with type"),ir()(Gt.indexOf("".concat(qe.namespace).concat(oa))!==0,"dispatch: ".concat(Gt," should not be prefixed with namespace ").concat(qe.namespace)),Ye((0,l.Z)({},Mt,{type:qa(Gt,qe)}))}}function Ls(Ye,qe,Mt,Gt){var hr=[],Lr=[];for(var jr in Ye)if(Object.prototype.hasOwnProperty.call(Ye,jr)){var _n=Ye[jr],rn=_n({dispatch:uo(Mt._store.dispatch,qe),history:Mt._history},Gt);En(rn)?hr.push(rn):Lr.push(jr)}return{funcs:hr,nonFuncs:Lr}}function Ki(Ye,qe){if(Ye[qe]){var Mt=Ye[qe],Gt=Mt.funcs,hr=Mt.nonFuncs;ir()(hr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(hr.join(", ")));var Lr=!0,jr=!1,_n=void 0;try{for(var rn=Gt[Symbol.iterator](),vn;!(Lr=(vn=rn.next()).done);Lr=!0){var Wn=vn.value;Wn()}}catch(ti){jr=!0,_n=ti}finally{try{!Lr&&rn.return!=null&&rn.return()}finally{if(jr)throw _n}}delete Ye[qe]}}var Aa=gi,Da=yi,cs={namespace:"@@dva",state:0,reducers:{UPDATE:function(qe){return qe+1}}};function zs(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mt=qe.initialReducer,Gt=qe.setupApp,hr=Gt===void 0?Aa:Gt,Lr=new ja;Lr.use(Us(Ye));var jr={_models:[Sa((0,l.Z)({},cs))],_store:null,_plugin:Lr,use:Lr.use.bind(Lr),model:_n,start:ti};return jr;function _n(hi){var Ii=Sa((0,l.Z)({},hi));return jr._models.push(Ii),Ii}function rn(hi,Ii,Qi,Ri){Ri=_n(Ri);var Ei=jr._store;Ei.asyncReducers[Ri.namespace]=kn(Ri.reducers,Ri.state,Lr._handleActions),Ei.replaceReducer(hi()),Ri.effects&&Ei.runSaga(jr._getSaga(Ri.effects,Ri,Ii,Lr.get("onEffect"),Ye)),Ri.subscriptions&&(Qi[Ri.namespace]=Ls(Ri.subscriptions,Ri,jr,Ii))}function vn(hi,Ii,Qi,Ri){var Ei=jr._store;delete Ei.asyncReducers[Ri],delete Ii[Ri],Ei.replaceReducer(hi()),Ei.dispatch({type:"@@dva/UPDATE"}),Ei.dispatch({type:"".concat(Ri,"/@@CANCEL_EFFECTS")}),Ki(Qi,Ri),jr._models=jr._models.filter(function(fa){return fa.namespace!==Ri})}function Wn(hi,Ii,Qi,Ri,Ei){var fa=jr._store,Si=Ei.namespace,bi=Da(jr._models,function(da){return da.namespace===Si});~bi&&(fa.dispatch({type:"".concat(Si,"/@@CANCEL_EFFECTS")}),delete fa.asyncReducers[Si],delete Ii[Si],Ki(Qi,Si),jr._models.splice(bi,1)),jr.model(Ei),fa.dispatch({type:"@@dva/UPDATE"})}function ti(){var hi=function(gr,Jr){gr&&(typeof gr=="string"&&(gr=new Error(gr)),gr.preventDefault=function(){gr._dontReject=!0},Lr.apply("onError",function(br){throw new Error(br.stack||br)})(gr,jr._store.dispatch,Jr))},Ii=pt(),Qi=Qa(jr);jr._getSaga=Cs.bind(null);var Ri=[],Ei=(0,l.Z)({},Mt),fa=!0,Si=!1,bi=void 0;try{for(var da=jr._models[Symbol.iterator](),no;!(fa=(no=da.next()).done);fa=!0){var Ss=no.value;Ei[Ss.namespace]=kn(Ss.reducers,Ss.state,Lr._handleActions),Ss.effects&&Ri.push(jr._getSaga(Ss.effects,Ss,hi,Lr.get("onEffect"),Ye))}}catch(Se){Si=!0,bi=Se}finally{try{!fa&&da.return!=null&&da.return()}finally{if(Si)throw bi}}var Ma=Lr.get("onReducer"),Fa=Lr.get("extraReducers");fr()(Object.keys(Fa).every(function(Se){return!(Se in Ei)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Ei).join(", "))),jr._store=Ci({reducers:ye(),initialState:Ye.initialState||{},plugin:Lr,createOpts:qe,sagaMiddleware:Ii,promiseMiddleware:Qi});var Ga=jr._store;Ga.runSaga=Ii.run,Ga.asyncReducers={};var Oi=Lr.get("onStateChange"),va=!0,Ba=!1,Ya=void 0;try{for(var ho=function(){var gr=ba.value;Ga.subscribe(function(){gr(Ga.getState())})},rs=Oi[Symbol.iterator](),ba;!(va=(ba=rs.next()).done);va=!0)ho()}catch(Se){Ba=!0,Ya=Se}finally{try{!va&&rs.return!=null&&rs.return()}finally{if(Ba)throw Ya}}Ri.forEach(Ii.run),hr(jr);var Ks={},Ra=!0,Ws=!1,ha=void 0;try{for(var Va=this._models[Symbol.iterator](),Is;!(Ra=(Is=Va.next()).done);Ra=!0){var ga=Is.value;ga.subscriptions&&(Ks[ga.namespace]=Ls(ga.subscriptions,ga,jr,hi))}}catch(Se){Ws=!0,ha=Se}finally{try{!Ra&&Va.return!=null&&Va.return()}finally{if(Ws)throw ha}}jr.model=rn.bind(jr,ye,hi,Ks),jr.unmodel=vn.bind(jr,ye,Ei,Ks),jr.replaceModel=Wn.bind(jr,ye,Ei,Ks,hi);function ye(){return Ma((0,c.UY)((0,l.Z)({},Ei,Fa,jr._store?jr._store.asyncReducers:{})))}}}var wo=e(37573),Eo=e(45097),Zs=e(4676);function Ms(Ye){Ye()}let ca=Ms;const fs=Ye=>ca=Ye,So=()=>ca,fo=Symbol.for("react-redux-context"),Io=typeof globalThis!="undefined"?globalThis:{};function li(){var Ye;if(!i.createContext)return{};const qe=(Ye=Io[fo])!=null?Ye:Io[fo]=new Map;let Mt=qe.get(i.createContext);return Mt||(Mt=i.createContext(null),qe.set(i.createContext,Mt)),Mt}const ai=li();var Wa=null;function ts(Ye=ai){return function(){return(0,i.useContext)(Ye)}}const Ua=ts(),Ao=()=>{throw new Error("uSES not initialized!")};let Do=Ao;const Fo=Ye=>{Do=Ye},Ja=(Ye,qe)=>Ye===qe;function du(Ye=ai){const qe=Ye===ai?Ua:ts(Ye);return function(Gt,hr={}){const{equalityFn:Lr=Ja,stabilityCheck:jr=void 0,noopCheck:_n=void 0}=typeof hr=="function"?{equalityFn:hr}:hr,{store:rn,subscription:vn,getServerState:Wn,stabilityCheck:ti,noopCheck:hi}=qe(),Ii=(0,i.useRef)(!0),Qi=(0,i.useCallback)({[Gt.name](Ei){return Gt(Ei)}}[Gt.name],[Gt,ti,jr]),Ri=Do(vn.addNestedSub,rn.getState,Wn||rn.getState,Qi,Lr);return(0,i.useDebugValue)(Ri),Ri}}const Co=du();var Xo=e(72308),hu=e(87488),Pu=e(94266),To=e.n(Pu),Ps=e(23265);const gu=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Bo(Ye,qe,Mt,Gt,{areStatesEqual:hr,areOwnPropsEqual:Lr,areStatePropsEqual:jr}){let _n=!1,rn,vn,Wn,ti,hi;function Ii(Si,bi){return rn=Si,vn=bi,Wn=Ye(rn,vn),ti=qe(Gt,vn),hi=Mt(Wn,ti,vn),_n=!0,hi}function Qi(){return Wn=Ye(rn,vn),qe.dependsOnOwnProps&&(ti=qe(Gt,vn)),hi=Mt(Wn,ti,vn),hi}function Ri(){return Ye.dependsOnOwnProps&&(Wn=Ye(rn,vn)),qe.dependsOnOwnProps&&(ti=qe(Gt,vn)),hi=Mt(Wn,ti,vn),hi}function Ei(){const Si=Ye(rn,vn),bi=!jr(Si,Wn);return Wn=Si,bi&&(hi=Mt(Wn,ti,vn)),hi}function fa(Si,bi){const da=!Lr(bi,vn),no=!hr(Si,rn,bi,vn);return rn=Si,vn=bi,da&&no?Qi():da?Ri():no?Ei():hi}return function(bi,da){return _n?fa(bi,da):Ii(bi,da)}}function lo(Ye,qe){let{initMapStateToProps:Mt,initMapDispatchToProps:Gt,initMergeProps:hr}=qe,Lr=(0,hu.Z)(qe,gu);const jr=Mt(Ye,Lr),_n=Gt(Ye,Lr),rn=hr(Ye,Lr);return Bo(jr,_n,rn,Ye,Lr)}function zo(Ye,qe){const Mt={};for(const Gt in Ye){const hr=Ye[Gt];typeof hr=="function"&&(Mt[Gt]=(...Lr)=>qe(hr(...Lr)))}return Mt}function ru(Ye){return function(Mt){const Gt=Ye(Mt);function hr(){return Gt}return hr.dependsOnOwnProps=!1,hr}}function qo(Ye){return Ye.dependsOnOwnProps?!!Ye.dependsOnOwnProps:Ye.length!==1}function Oo(Ye,qe){return function(Gt,{displayName:hr}){const Lr=function(_n,rn){return Lr.dependsOnOwnProps?Lr.mapToProps(_n,rn):Lr.mapToProps(_n,void 0)};return Lr.dependsOnOwnProps=!0,Lr.mapToProps=function(_n,rn){Lr.mapToProps=Ye,Lr.dependsOnOwnProps=qo(Ye);let vn=Lr(_n,rn);return typeof vn=="function"&&(Lr.mapToProps=vn,Lr.dependsOnOwnProps=qo(vn),vn=Lr(_n,rn)),vn},Lr}}function Fs(Ye,qe){return(Mt,Gt)=>{throw new Error(`Invalid value of type ${typeof Ye} for ${qe} argument when connecting component ${Gt.wrappedComponentName}.`)}}function Xs(Ye){return Ye&&typeof Ye=="object"?ru(qe=>zo(Ye,qe)):Ye?typeof Ye=="function"?Oo(Ye,"mapDispatchToProps"):Fs(Ye,"mapDispatchToProps"):ru(qe=>({dispatch:qe}))}function il(Ye){return Ye?typeof Ye=="function"?Oo(Ye,"mapStateToProps"):Fs(Ye,"mapStateToProps"):ru(()=>({}))}function ko(Ye,qe,Mt){return(0,Xo.Z)({},Mt,Ye,qe)}function qt(Ye){return function(Mt,{displayName:Gt,areMergedPropsEqual:hr}){let Lr=!1,jr;return function(rn,vn,Wn){const ti=Ye(rn,vn,Wn);return Lr?hr(ti,jr)||(jr=ti):(Lr=!0,jr=ti),jr}}}function lr(Ye){return Ye?typeof Ye=="function"?qt(Ye):Fs(Ye,"mergeProps"):()=>ko}function sr(){const Ye=So();let qe=null,Mt=null;return{clear(){qe=null,Mt=null},notify(){Ye(()=>{let Gt=qe;for(;Gt;)Gt.callback(),Gt=Gt.next})},get(){let Gt=[],hr=qe;for(;hr;)Gt.push(hr),hr=hr.next;return Gt},subscribe(Gt){let hr=!0,Lr=Mt={callback:Gt,next:null,prev:Mt};return Lr.prev?Lr.prev.next=Lr:qe=Lr,function(){!hr||qe===null||(hr=!1,Lr.next?Lr.next.prev=Lr.prev:Mt=Lr.prev,Lr.prev?Lr.prev.next=Lr.next:qe=Lr.next)}}}}const vr={notify(){},get:()=>[]};function Er(Ye,qe){let Mt,Gt=vr,hr=0,Lr=!1;function jr(Ri){Wn();const Ei=Gt.subscribe(Ri);let fa=!1;return()=>{fa||(fa=!0,Ei(),ti())}}function _n(){Gt.notify()}function rn(){Qi.onStateChange&&Qi.onStateChange()}function vn(){return Lr}function Wn(){hr++,Mt||(Mt=qe?qe.addNestedSub(rn):Ye.subscribe(rn),Gt=sr())}function ti(){hr--,Mt&&hr===0&&(Mt(),Mt=void 0,Gt.clear(),Gt=vr)}function hi(){Lr||(Lr=!0,Wn())}function Ii(){Lr&&(Lr=!1,ti())}const Qi={addNestedSub:jr,notifyNestedSubs:_n,handleChangeWrapper:rn,isSubscribed:vn,trySubscribe:hi,tryUnsubscribe:Ii,getListeners:()=>Gt};return Qi}const xn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Bn(Ye,qe){return Ye===qe?Ye!==0||qe!==0||1/Ye===1/qe:Ye!==Ye&&qe!==qe}function Ln(Ye,qe){if(Bn(Ye,qe))return!0;if(typeof Ye!="object"||Ye===null||typeof qe!="object"||qe===null)return!1;const Mt=Object.keys(Ye),Gt=Object.keys(qe);if(Mt.length!==Gt.length)return!1;for(let hr=0;hr<Mt.length;hr++)if(!Object.prototype.hasOwnProperty.call(qe,Mt[hr])||!Bn(Ye[Mt[hr]],qe[Mt[hr]]))return!1;return!0}const Kn=["reactReduxForwardedRef"];let or=Ao;const Br=Ye=>{or=Ye},xr=null,pn=[null,null],jn=Ye=>{try{return JSON.stringify(Ye)}catch(qe){return String(Ye)}};function ft(Ye,qe,Mt){xn(()=>Ye(...qe),Mt)}function Pn(Ye,qe,Mt,Gt,hr,Lr){Ye.current=Gt,Mt.current=!1,hr.current&&(hr.current=null,Lr())}function zn(Ye,qe,Mt,Gt,hr,Lr,jr,_n,rn,vn,Wn){if(!Ye)return()=>{};let ti=!1,hi=null;const Ii=()=>{if(ti||!_n.current)return;const Ri=qe.getState();let Ei,fa;try{Ei=Gt(Ri,hr.current)}catch(Si){fa=Si,hi=Si}fa||(hi=null),Ei===Lr.current?jr.current||vn():(Lr.current=Ei,rn.current=Ei,jr.current=!0,Wn())};return Mt.onStateChange=Ii,Mt.trySubscribe(),Ii(),()=>{if(ti=!0,Mt.tryUnsubscribe(),Mt.onStateChange=null,hi)throw hi}}const si=()=>xr;function qi(Ye,qe){return Ye===qe}let Hr=!1;function ji(Ye,qe,Mt,{pure:Gt,areStatesEqual:hr=qi,areOwnPropsEqual:Lr=Ln,areStatePropsEqual:jr=Ln,areMergedPropsEqual:_n=Ln,forwardRef:rn=!1,context:vn=ai}={}){const Wn=vn,ti=il(Ye),hi=Xs(qe),Ii=lr(Mt),Qi=!!Ye;return Ei=>{const fa=Ei.displayName||Ei.name||"Component",Si=`Connect(${fa})`,bi={shouldHandleStateChanges:Qi,displayName:Si,wrappedComponentName:fa,WrappedComponent:Ei,initMapStateToProps:ti,initMapDispatchToProps:hi,initMergeProps:Ii,areStatesEqual:hr,areStatePropsEqual:jr,areOwnPropsEqual:Lr,areMergedPropsEqual:_n};function da(Ma){const[Fa,Ga,Oi]=i.useMemo(()=>{const{reactReduxForwardedRef:Rn}=Ma,Mn=(0,hu.Z)(Ma,Kn);return[Ma.context,Rn,Mn]},[Ma]),va=i.useMemo(()=>Fa&&Fa.Consumer&&(0,Ps.isContextConsumer)(i.createElement(Fa.Consumer,null))?Fa:Wn,[Fa,Wn]),Ba=i.useContext(va),Ya=!!Ma.store&&!!Ma.store.getState&&!!Ma.store.dispatch,ho=!!Ba&&!!Ba.store,rs=Ya?Ma.store:Ba.store,ba=ho?Ba.getServerState:rs.getState,Ks=i.useMemo(()=>lo(rs.dispatch,bi),[rs]),[Ra,Ws]=i.useMemo(()=>{if(!Qi)return pn;const Rn=Er(rs,Ya?void 0:Ba.subscription),Mn=Rn.notifyNestedSubs.bind(Rn);return[Rn,Mn]},[rs,Ya,Ba]),ha=i.useMemo(()=>Ya?Ba:(0,Xo.Z)({},Ba,{subscription:Ra}),[Ya,Ba,Ra]),Va=i.useRef(),Is=i.useRef(Oi),ga=i.useRef(),ye=i.useRef(!1),Se=i.useRef(!1),gr=i.useRef(!1),Jr=i.useRef();xn(()=>(gr.current=!0,()=>{gr.current=!1}),[]);const br=i.useMemo(()=>()=>ga.current&&Oi===Is.current?ga.current:Ks(rs.getState(),Oi),[rs,Oi]),Yr=i.useMemo(()=>Mn=>Ra?zn(Qi,rs,Ra,Ks,Is,Va,ye,gr,ga,Ws,Mn):()=>{},[Ra]);ft(Pn,[Is,Va,ye,Oi,ga,Ws]);let An;try{An=or(Yr,br,ba?()=>Ks(ba(),Oi):br)}catch(Rn){throw Jr.current&&(Rn.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
${Jr.current.stack}
|
|
|
|
|
|
`),Rn}xn(()=>{Jr.current=void 0,ga.current=void 0,Va.current=An});const Jn=i.useMemo(()=>i.createElement(Ei,(0,Xo.Z)({},An,{ref:Ga})),[Ga,Ei,An]);return i.useMemo(()=>Qi?i.createElement(va.Provider,{value:ha},Jn):Jn,[va,Jn,ha])}const Ss=i.memo(da);if(Ss.WrappedComponent=Ei,Ss.displayName=da.displayName=Si,rn){const Fa=i.forwardRef(function(Oi,va){return i.createElement(Ss,(0,Xo.Z)({},Oi,{reactReduxForwardedRef:va}))});return Fa.displayName=Si,Fa.WrappedComponent=Ei,To()(Fa,Ei)}return To()(Ss,Ei)}}var ma=ji;function zr({store:Ye,context:qe,children:Mt,serverState:Gt,stabilityCheck:hr="once",noopCheck:Lr="once"}){const jr=i.useMemo(()=>{const vn=Er(Ye);return{store:Ye,subscription:vn,getServerState:Gt?()=>Gt:void 0,stabilityCheck:hr,noopCheck:Lr}},[Ye,Gt,hr,Lr]),_n=i.useMemo(()=>Ye.getState(),[Ye]);xn(()=>{const{subscription:vn}=jr;return vn.onStateChange=vn.notifyNestedSubs,vn.trySubscribe(),_n!==Ye.getState()&&vn.notifyNestedSubs(),()=>{vn.tryUnsubscribe(),vn.onStateChange=void 0}},[jr,_n]);const rn=qe||ai;return i.createElement(rn.Provider,{value:jr},Mt)}var Ca=zr;function Es(Ye=ai){const qe=Ye===ai?Ua:ts(Ye);return function(){const{store:Gt}=qe();return Gt}}const fi=Es();function ro(Ye=ai){const qe=Ye===ai?fi:Es(Ye);return function(){return qe().dispatch}}const po=ro();Fo(Eo.useSyncExternalStoreWithSelector),Br(wo.useSyncExternalStore),fs(Zs.unstable_batchedUpdates);var ds=Object.defineProperty,Oa=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,Bs=Object.prototype.propertyIsEnumerable,bn=(Ye,qe,Mt)=>qe in Ye?ds(Ye,qe,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ye[qe]=Mt,gs=(Ye,qe)=>{for(var Mt in qe||(qe={}))qs.call(qe,Mt)&&bn(Ye,Mt,qe[Mt]);if(Oa)for(var Mt of Oa(qe))Bs.call(qe,Mt)&&bn(Ye,Mt,qe[Mt]);return Ye};function Hs(Ye){const qe=create(Ye,{initialReducer:{},setupApp(){}}),Mt=qe.start;return qe.router=Gt,qe.start=hr,qe;function Gt(Lr){qe._router=Lr}function hr(Lr){if(typeof Lr!="undefined")throw new Error("dva.start() should not be called with any arguments.");qe._store||Mt.call(qe);const jr=qe._store,_n=qe._router;return rn=>React.createElement(Provider,{store:jr},_n(gs({app:qe},rn)))}}},62202:function(d,g,e){"use strict";e.d(g,{fi:function(){return _},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(L,T,D)=>T in L?i(L,T,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[T]=D,a=(L,T)=>{for(var D in T||(T={}))s.call(T,D)&&u(L,D,T[D]);if(f)for(var D of f(T))h.call(T,D)&&u(L,D,T[D]);return L},x=(L,T)=>l(L,c(T));let p,y="/";function _(L){let T;return L.type==="hash"?T=(0,r.q_)():L.type==="memory"?T=(0,r.PP)(L):T=(0,r.lX)(),L.basename&&(y=L.basename),p=x(a({},T),{push(D,B){T.push(S(D,T),B)},replace(D,B){T.replace(S(D,T),B)},get location(){return T.location},get action(){return T.action}}),T}function b(L){L&&(p=L)}function S(L,T){if(typeof L=="string")return`${R(y)}${L}`;if(typeof L=="object"){const D=T.location.pathname;return x(a({},L),{pathname:L.pathname?`${R(y)}${L.pathname}`:D})}else throw new Error(`Unexpected to: ${L}`)}function R(L){return L.slice(-1)==="/"?L.slice(0,-1):L}},56186:function(d,g,e){"use strict";e.d(g,{gD:function(){return cn},We:function(){return ur}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return He}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Pe}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return Zt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return Ar}});var s=e(8591),h=e(61186),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(Lt){s.ZP.error(Lt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),_=e(12373),b=e.n(_),S=e(44520),R=e.n(S),L=e(19747),T=e.n(L);function D(){return D=Object.assign||function(Lt){for(var vt=1;vt<arguments.length;vt++){var yt=arguments[vt];for(var jt in yt)Object.prototype.hasOwnProperty.call(yt,jt)&&(Lt[jt]=yt[jt])}return Lt},D.apply(this,arguments)}function B(Lt,vt){Lt.prototype=Object.create(vt.prototype),Lt.prototype.constructor=Lt,$(Lt,vt)}function $(Lt,vt){return $=Object.setPrototypeOf||function(yt,jt){return yt.__proto__=jt,yt},$(Lt,vt)}function U(Lt,vt){if(Lt==null)return{};var yt,jt,Cr={},yr=Object.keys(Lt);for(jt=0;jt<yr.length;jt++)vt.indexOf(yt=yr[jt])>=0||(Cr[yt]=Lt[yt]);return Cr}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)"},K={rel:["amphtml","canonical","alternate"]},G={type:["application/ld+json"]},oe={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},ae=Object.keys(V).map(function(Lt){return V[Lt]}),le={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Q=Object.keys(le).reduce(function(Lt,vt){return Lt[le[vt]]=vt,Lt},{}),J=function(Lt,vt){for(var yt=Lt.length-1;yt>=0;yt-=1){var jt=Lt[yt];if(Object.prototype.hasOwnProperty.call(jt,vt))return jt[vt]}return null},Y=function(Lt){var vt=J(Lt,V.TITLE),yt=J(Lt,"titleTemplate");if(Array.isArray(vt)&&(vt=vt.join("")),yt&&vt)return yt.replace(/%s/g,function(){return vt});var jt=J(Lt,"defaultTitle");return vt||jt||void 0},ue=function(Lt){return J(Lt,"onChangeClientState")||function(){}},ne=function(Lt,vt){return vt.filter(function(yt){return yt[Lt]!==void 0}).map(function(yt){return yt[Lt]}).reduce(function(yt,jt){return D({},yt,jt)},{})},ee=function(Lt,vt){return vt.filter(function(yt){return yt[V.BASE]!==void 0}).map(function(yt){return yt[V.BASE]}).reverse().reduce(function(yt,jt){if(!yt.length)for(var Cr=Object.keys(jt),yr=0;yr<Cr.length;yr+=1){var ot=Cr[yr].toLowerCase();if(Lt.indexOf(ot)!==-1&&jt[ot])return yt.concat(jt)}return yt},[])},ie=function(Lt,vt,yt){var jt={};return yt.filter(function(Cr){return!!Array.isArray(Cr[Lt])||(Cr[Lt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+Lt+' should be of type "Array". Instead found type "'+typeof Cr[Lt]+'"'),!1)}).map(function(Cr){return Cr[Lt]}).reverse().reduce(function(Cr,yr){var ot={};yr.filter(function(en){for(var dn,Fn=Object.keys(en),ei=0;ei<Fn.length;ei+=1){var Nn=Fn[ei],zi=Nn.toLowerCase();vt.indexOf(zi)===-1||dn==="rel"&&en[dn].toLowerCase()==="canonical"||zi==="rel"&&en[zi].toLowerCase()==="stylesheet"||(dn=zi),vt.indexOf(Nn)===-1||Nn!=="innerHTML"&&Nn!=="cssText"&&Nn!=="itemprop"||(dn=Nn)}if(!dn||!en[dn])return!1;var mi=en[dn].toLowerCase();return jt[dn]||(jt[dn]={}),ot[dn]||(ot[dn]={}),!jt[dn][mi]&&(ot[dn][mi]=!0,!0)}).reverse().forEach(function(en){return Cr.push(en)});for(var Fr=Object.keys(ot),mn=0;mn<Fr.length;mn+=1){var Un=Fr[mn],mr=D({},jt[Un],ot[Un]);jt[Un]=mr}return Cr},[]).reverse()},F=function(Lt,vt){if(Array.isArray(Lt)&&Lt.length){for(var yt=0;yt<Lt.length;yt+=1)if(Lt[yt][vt])return!0}return!1},M=function(Lt){return Array.isArray(Lt)?Lt.join(""):Lt},q=function(Lt,vt){return Array.isArray(Lt)?Lt.reduce(function(yt,jt){return function(Cr,yr){for(var ot=Object.keys(Cr),Fr=0;Fr<ot.length;Fr+=1)if(yr[ot[Fr]]&&yr[ot[Fr]].includes(Cr[ot[Fr]]))return!0;return!1}(jt,vt)?yt.priority.push(jt):yt.default.push(jt),yt},{priority:[],default:[]}):{default:Lt}},de=function(Lt,vt){var yt;return D({},Lt,((yt={})[vt]=void 0,yt))},Ee=[V.NOSCRIPT,V.SCRIPT,V.STYLE],Ce=function(Lt,vt){return vt===void 0&&(vt=!0),vt===!1?String(Lt):String(Lt).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},je=function(Lt){return Object.keys(Lt).reduce(function(vt,yt){var jt=Lt[yt]!==void 0?yt+'="'+Lt[yt]+'"':""+yt;return vt?vt+" "+jt:jt},"")},Fe=function(Lt,vt){return vt===void 0&&(vt={}),Object.keys(Lt).reduce(function(yt,jt){return yt[le[jt]||jt]=Lt[jt],yt},vt)},Ft=function(Lt,vt){return vt.map(function(yt,jt){var Cr,yr=((Cr={key:jt})["data-rh"]=!0,Cr);return Object.keys(yt).forEach(function(ot){var Fr=le[ot]||ot;Fr==="innerHTML"||Fr==="cssText"?yr.dangerouslySetInnerHTML={__html:yt.innerHTML||yt.cssText}:yr[Fr]=yt[ot]}),x.createElement(Lt,yr)})},_t=function(Lt,vt,yt){switch(Lt){case V.TITLE:return{toComponent:function(){return Cr=vt.titleAttributes,(yr={key:jt=vt.title})["data-rh"]=!0,ot=Fe(Cr,yr),[x.createElement(V.TITLE,ot,jt)];var jt,Cr,yr,ot},toString:function(){return function(jt,Cr,yr,ot){var Fr=je(yr),mn=M(Cr);return Fr?"<"+jt+' data-rh="true" '+Fr+">"+Ce(mn,ot)+"</"+jt+">":"<"+jt+' data-rh="true">'+Ce(mn,ot)+"</"+jt+">"}(Lt,vt.title,vt.titleAttributes,yt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Fe(vt)},toString:function(){return je(vt)}};default:return{toComponent:function(){return Ft(Lt,vt)},toString:function(){return function(jt,Cr,yr){return Cr.reduce(function(ot,Fr){var mn=Object.keys(Fr).filter(function(en){return!(en==="innerHTML"||en==="cssText")}).reduce(function(en,dn){var Fn=Fr[dn]===void 0?dn:dn+'="'+Ce(Fr[dn],yr)+'"';return en?en+" "+Fn:Fn},""),Un=Fr.innerHTML||Fr.cssText||"",mr=Ee.indexOf(jt)===-1;return ot+"<"+jt+' data-rh="true" '+mn+(mr?"/>":">"+Un+"</"+jt+">")},"")}(Lt,vt,yt)}}}},Pt=function(Lt){var vt=Lt.baseTag,yt=Lt.bodyAttributes,jt=Lt.encode,Cr=Lt.htmlAttributes,yr=Lt.noscriptTags,ot=Lt.styleTags,Fr=Lt.title,mn=Fr===void 0?"":Fr,Un=Lt.titleAttributes,mr=Lt.linkTags,en=Lt.metaTags,dn=Lt.scriptTags,Fn={toComponent:function(){},toString:function(){return""}};if(Lt.prioritizeSeoTags){var ei=function(Nn){var zi=Nn.linkTags,mi=Nn.scriptTags,xi=Nn.encode,vi=q(Nn.metaTags,oe),pi=q(zi,K),Yi=q(mi,G);return{priorityMethods:{toComponent:function(){return[].concat(Ft(V.META,vi.priority),Ft(V.LINK,pi.priority),Ft(V.SCRIPT,Yi.priority))},toString:function(){return _t(V.META,vi.priority,xi)+" "+_t(V.LINK,pi.priority,xi)+" "+_t(V.SCRIPT,Yi.priority,xi)}},metaTags:vi.default,linkTags:pi.default,scriptTags:Yi.default}}(Lt);Fn=ei.priorityMethods,mr=ei.linkTags,en=ei.metaTags,dn=ei.scriptTags}return{priority:Fn,base:_t(V.BASE,vt,jt),bodyAttributes:_t("bodyAttributes",yt,jt),htmlAttributes:_t("htmlAttributes",Cr,jt),link:_t(V.LINK,mr,jt),meta:_t(V.META,en,jt),noscript:_t(V.NOSCRIPT,yr,jt),script:_t(V.SCRIPT,dn,jt),style:_t(V.STYLE,ot,jt),title:_t(V.TITLE,{title:mn,titleAttributes:Un},jt)}},Qt=[],er=function(Lt,vt){var yt=this;vt===void 0&&(vt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(jt){yt.context.helmet=jt},helmetInstances:{get:function(){return yt.canUseDOM?Qt:yt.instances},add:function(jt){(yt.canUseDOM?Qt:yt.instances).push(jt)},remove:function(jt){var Cr=(yt.canUseDOM?Qt:yt.instances).indexOf(jt);(yt.canUseDOM?Qt:yt.instances).splice(Cr,1)}}},this.context=Lt,this.canUseDOM=vt,vt||(Lt.helmet=Pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Jt=x.createContext({}),Xe=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),It=typeof document!="undefined",zt=function(Lt){function vt(yt){var jt;return(jt=Lt.call(this,yt)||this).helmetData=new er(jt.props.context,vt.canUseDOM),jt}return B(vt,Lt),vt.prototype.render=function(){return x.createElement(Jt.Provider,{value:this.helmetData.value},this.props.children)},vt}(x.Component);zt.canUseDOM=It,zt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},zt.defaultProps={context:{}},zt.displayName="HelmetProvider";var st=function(Lt,vt){var yt,jt=document.head||document.querySelector(V.HEAD),Cr=jt.querySelectorAll(Lt+"[data-rh]"),yr=[].slice.call(Cr),ot=[];return vt&&vt.length&&vt.forEach(function(Fr){var mn=document.createElement(Lt);for(var Un in Fr)Object.prototype.hasOwnProperty.call(Fr,Un)&&(Un==="innerHTML"?mn.innerHTML=Fr.innerHTML:Un==="cssText"?mn.styleSheet?mn.styleSheet.cssText=Fr.cssText:mn.appendChild(document.createTextNode(Fr.cssText)):mn.setAttribute(Un,Fr[Un]===void 0?"":Fr[Un]));mn.setAttribute("data-rh","true"),yr.some(function(mr,en){return yt=en,mn.isEqualNode(mr)})?yr.splice(yt,1):ot.push(mn)}),yr.forEach(function(Fr){return Fr.parentNode.removeChild(Fr)}),ot.forEach(function(Fr){return jt.appendChild(Fr)}),{oldTags:yr,newTags:ot}},bt=function(Lt,vt){var yt=document.getElementsByTagName(Lt)[0];if(yt){for(var jt=yt.getAttribute("data-rh"),Cr=jt?jt.split(","):[],yr=[].concat(Cr),ot=Object.keys(vt),Fr=0;Fr<ot.length;Fr+=1){var mn=ot[Fr],Un=vt[mn]||"";yt.getAttribute(mn)!==Un&&yt.setAttribute(mn,Un),Cr.indexOf(mn)===-1&&Cr.push(mn);var mr=yr.indexOf(mn);mr!==-1&&yr.splice(mr,1)}for(var en=yr.length-1;en>=0;en-=1)yt.removeAttribute(yr[en]);Cr.length===yr.length?yt.removeAttribute("data-rh"):yt.getAttribute("data-rh")!==ot.join(",")&&yt.setAttribute("data-rh",ot.join(","))}},ht=function(Lt,vt){var yt=Lt.baseTag,jt=Lt.htmlAttributes,Cr=Lt.linkTags,yr=Lt.metaTags,ot=Lt.noscriptTags,Fr=Lt.onChangeClientState,mn=Lt.scriptTags,Un=Lt.styleTags,mr=Lt.title,en=Lt.titleAttributes;bt(V.BODY,Lt.bodyAttributes),bt(V.HTML,jt),function(Nn,zi){Nn!==void 0&&document.title!==Nn&&(document.title=M(Nn)),bt(V.TITLE,zi)}(mr,en);var dn={baseTag:st(V.BASE,yt),linkTags:st(V.LINK,Cr),metaTags:st(V.META,yr),noscriptTags:st(V.NOSCRIPT,ot),scriptTags:st(V.SCRIPT,mn),styleTags:st(V.STYLE,Un)},Fn={},ei={};Object.keys(dn).forEach(function(Nn){var zi=dn[Nn],mi=zi.newTags,xi=zi.oldTags;mi.length&&(Fn[Nn]=mi),xi.length&&(ei[Nn]=dn[Nn].oldTags)}),vt&&vt(),Fr(Lt,Fn,ei)},Je=null,Ue=function(Lt){function vt(){for(var jt,Cr=arguments.length,yr=new Array(Cr),ot=0;ot<Cr;ot++)yr[ot]=arguments[ot];return(jt=Lt.call.apply(Lt,[this].concat(yr))||this).rendered=!1,jt}B(vt,Lt);var yt=vt.prototype;return yt.shouldComponentUpdate=function(jt){return!T()(jt,this.props)},yt.componentDidUpdate=function(){this.emitChange()},yt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},yt.emitChange=function(){var jt,Cr,yr=this.props.context,ot=yr.setHelmet,Fr=null,mn=(jt=yr.helmetInstances.get().map(function(Un){var mr=D({},Un.props);return delete mr.context,mr}),{baseTag:ee(["href"],jt),bodyAttributes:ne("bodyAttributes",jt),defer:J(jt,"defer"),encode:J(jt,"encodeSpecialCharacters"),htmlAttributes:ne("htmlAttributes",jt),linkTags:ie(V.LINK,["rel","href"],jt),metaTags:ie(V.META,["name","charset","http-equiv","property","itemprop"],jt),noscriptTags:ie(V.NOSCRIPT,["innerHTML"],jt),onChangeClientState:ue(jt),scriptTags:ie(V.SCRIPT,["src","innerHTML"],jt),styleTags:ie(V.STYLE,["cssText"],jt),title:Y(jt),titleAttributes:ne("titleAttributes",jt),prioritizeSeoTags:F(jt,"prioritizeSeoTags")});zt.canUseDOM?(Cr=mn,Je&&cancelAnimationFrame(Je),Cr.defer?Je=requestAnimationFrame(function(){ht(Cr,function(){Je=null})}):(ht(Cr),Je=null)):Pt&&(Fr=Pt(mn)),ot(Fr)},yt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},yt.render=function(){return this.init(),null},vt}(x.Component);Ue.propTypes={context:Xe.isRequired},Ue.displayName="HelmetDispatcher";var ge=["children"],Ae=["children"],Me=function(Lt){function vt(){return Lt.apply(this,arguments)||this}B(vt,Lt);var yt=vt.prototype;return yt.shouldComponentUpdate=function(jt){return!b()(de(this.props,"helmetData"),de(jt,"helmetData"))},yt.mapNestedChildrenToProps=function(jt,Cr){if(!Cr)return null;switch(jt.type){case V.SCRIPT:case V.NOSCRIPT:return{innerHTML:Cr};case V.STYLE:return{cssText:Cr};default:throw new Error("<"+jt.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},yt.flattenArrayTypeChildren=function(jt){var Cr,yr=jt.child,ot=jt.arrayTypeChildren;return D({},ot,((Cr={})[yr.type]=[].concat(ot[yr.type]||[],[D({},jt.newChildProps,this.mapNestedChildrenToProps(yr,jt.nestedChildren))]),Cr))},yt.mapObjectTypeChildren=function(jt){var Cr,yr,ot=jt.child,Fr=jt.newProps,mn=jt.newChildProps,Un=jt.nestedChildren;switch(ot.type){case V.TITLE:return D({},Fr,((Cr={})[ot.type]=Un,Cr.titleAttributes=D({},mn),Cr));case V.BODY:return D({},Fr,{bodyAttributes:D({},mn)});case V.HTML:return D({},Fr,{htmlAttributes:D({},mn)});default:return D({},Fr,((yr={})[ot.type]=D({},mn),yr))}},yt.mapArrayTypeChildrenToProps=function(jt,Cr){var yr=D({},Cr);return Object.keys(jt).forEach(function(ot){var Fr;yr=D({},yr,((Fr={})[ot]=jt[ot],Fr))}),yr},yt.warnOnInvalidChildren=function(jt,Cr){return R()(ae.some(function(yr){return jt.type===yr}),typeof jt.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ae.join(", ")+" are allowed. Helmet does not support rendering <"+jt.type+"> elements. Refer to our API for more information."),R()(!Cr||typeof Cr=="string"||Array.isArray(Cr)&&!Cr.some(function(yr){return typeof yr!="string"}),"Helmet expects a string as a child of <"+jt.type+">. Did you forget to wrap your children in braces? ( <"+jt.type+">{``}</"+jt.type+"> ) Refer to our API for more information."),!0},yt.mapChildrenToProps=function(jt,Cr){var yr=this,ot={};return x.Children.forEach(jt,function(Fr){if(Fr&&Fr.props){var mn=Fr.props,Un=mn.children,mr=U(mn,ge),en=Object.keys(mr).reduce(function(Fn,ei){return Fn[Q[ei]||ei]=mr[ei],Fn},{}),dn=Fr.type;switch(typeof dn=="symbol"?dn=dn.toString():yr.warnOnInvalidChildren(Fr,Un),dn){case V.FRAGMENT:Cr=yr.mapChildrenToProps(Un,Cr);break;case V.LINK:case V.META:case V.NOSCRIPT:case V.SCRIPT:case V.STYLE:ot=yr.flattenArrayTypeChildren({child:Fr,arrayTypeChildren:ot,newChildProps:en,nestedChildren:Un});break;default:Cr=yr.mapObjectTypeChildren({child:Fr,newProps:Cr,newChildProps:en,nestedChildren:Un})}}}),this.mapArrayTypeChildrenToProps(ot,Cr)},yt.render=function(){var jt=this.props,Cr=jt.children,yr=U(jt,Ae),ot=D({},yr),Fr=yr.helmetData;return Cr&&(ot=this.mapChildrenToProps(Cr,ot)),!Fr||Fr instanceof er||(Fr=new er(Fr.context,Fr.instances)),Fr?x.createElement(Ue,D({},ot,{context:Fr.value,helmetData:void 0})):x.createElement(Jt.Consumer,null,function(mn){return x.createElement(Ue,D({},ot,{context:mn}))})},vt}(x.Component);Me.propTypes={base:y().object,bodyAttributes:y().object,children:y().oneOfType([y().arrayOf(y().node),y().node]),defaultTitle:y().string,defer:y().bool,encodeSpecialCharacters:y().bool,htmlAttributes:y().object,link:y().arrayOf(y().object),meta:y().arrayOf(y().object),noscript:y().arrayOf(y().object),onChangeClientState:y().func,script:y().arrayOf(y().object),style:y().arrayOf(y().object),title:y().string,titleAttributes:y().object,titleTemplate:y().string,prioritizeSeoTags:y().bool,helmetData:y().object},Me.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Me.displayName="Helmet";const $e={},He=Lt=>x.createElement(zt,{context:$e},Lt);var nt=e(92736),ct=e(1997),Kt=e(93083),Wt=e(65660),De=e(28440),Qe=e.n(De),Vt=Object.defineProperty,kt=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,Ct=(Lt,vt,yt)=>vt in Lt?Vt(Lt,vt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Lt[vt]=yt,Yt=(Lt,vt)=>{for(var yt in vt||(vt={}))Ht.call(vt,yt)&&Ct(Lt,yt,vt[yt]);if(kt)for(var yt of kt(vt))$t.call(vt,yt)&&Ct(Lt,yt,vt[yt]);return Lt},Ge=(Lt,vt)=>{var yt={};for(var jt in Lt)Ht.call(Lt,jt)&&vt.indexOf(jt)<0&&(yt[jt]=Lt[jt]);if(Lt!=null&&kt)for(var jt of kt(Lt))vt.indexOf(jt)<0&&$t.call(Lt,jt)&&(yt[jt]=Lt[jt]);return yt};let fe=null;const _e=()=>(fe||(fe=ur().applyPlugins({key:"antd",type:ct.ApplyPluginsType.modify,initialValue:Yt({},{componentSize:"middle"})})),fe);function Ot({children:Lt}){let vt=Lt;const[yt,jt]=x.useState(()=>{const yr=_e(),{appConfig:ot}=yr;return Ge(yr,["appConfig"])}),Cr=yr=>{jt(ot=>Qe()({},ot,typeof yr=="function"?yr(ot):yr))};return yt.prefixCls&&nt.ZP.config({prefixCls:yt.prefixCls}),yt.iconPrefixCls&&nt.ZP.config({iconPrefixCls:yt.iconPrefixCls}),yt.theme&&nt.ZP.config({theme:yt.theme}),vt=x.createElement(nt.ZP,Yt({},yt),vt),vt=x.createElement(Kt.StyleProvider,{hashPriority:"high"},vt),vt=x.createElement(Wt.C.Provider,{value:Cr},x.createElement(Wt.S.Provider,{value:yt},vt)),vt}function Pe(Lt){return x.createElement(Ot,null,Lt)}var dt=e(33509);function Zt(Lt,vt){return x.createElement(dt.j,vt,Lt)}var Tt=e(65517),ke=e(11877),St=e(81863),be=Object.defineProperty,Ke=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Be=(Lt,vt,yt)=>vt in Lt?be(Lt,vt,{enumerable:!0,configurable:!0,writable:!0,value:yt}):Lt[vt]=yt,kr=(Lt,vt)=>{for(var yt in vt||(vt={}))gt.call(vt,yt)&&Be(Lt,yt,vt[yt]);if(Ke)for(var yt of Ke(vt))Rt.call(vt,yt)&&Be(Lt,yt,vt[yt]);return Lt};function At(){var Lt,vt;const yt=getLocale();(Lt=moment)!=null&&Lt.locale&&moment.locale(((vt=localeInfo[yt])==null?void 0:vt.momentLocale)||"zh-cn"),setIntl(yt)}const Kr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Qr=Lt=>{var vt;const yt=(0,ke.Kd)(),[jt,Cr]=x.useState(yt),[yr,ot]=x.useState(()=>(0,ke.lw)(jt,!0)),Fr=mr=>{var en,dn;(en=u())!=null&&en.locale&&u().locale(((dn=ke.H8[mr])==null?void 0:dn.momentLocale)||"en"),Cr(mr),ot((0,ke.lw)(mr))};Kr(()=>(ke.B.on(ke.PZ,Fr),()=>{ke.B.off(ke.PZ,Fr)}),[]);const mn=kr({},St.Z),Un=(0,ke.Mg)();return x.createElement(nt.ZP,{direction:Un,locale:((vt=ke.H8[jt])==null?void 0:vt.antd)||mn},x.createElement(ke.eU,{value:yr},Lt.children))};function Ar(Lt){return x.createElement(Qr,null,Lt)}function $r(Lt){return Lt.default?typeof Lt.default=="function"?Lt.default():Lt.default:Lt}function _r(){return[{apply:$r(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function Ur(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let sn=null;function cn(){return sn=ct.PluginManager.create({plugins:_r(),validKeys:Ur()}),sn}function ur(){return sn}},1997:function(d,g,e){"use strict";e.d(g,{ApplyPluginsType:function(){return It},Link:function(){return J},Outlet:function(){return Y.j3},PluginManager:function(){return zt},connect:function(){return f.$j},getDvaApp:function(){return s.Q},history:function(){return st.m8},useAppData:function(){return G.Ov},useDispatch:function(){return f.I0},useLocation:function(){return Y.TH},useOutletContext:function(){return Y.bx},useParams:function(){return Y.UO},useSearchParams:function(){return K.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(65660);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(11431),s=e(33509),h=e(11877),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(He,nt,ct)=>nt in He?u(He,nt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):He[nt]=ct,S=(He,nt)=>{for(var ct in nt||(nt={}))y.call(nt,ct)&&b(He,ct,nt[ct]);if(p)for(var ct of p(nt))_.call(nt,ct)&&b(He,ct,nt[ct]);return He},R=(He,nt)=>a(He,x(nt)),L=(He,nt)=>{var ct={};for(var Kt in He)y.call(He,Kt)&&nt.indexOf(Kt)<0&&(ct[Kt]=He[Kt]);if(He!=null&&p)for(var Kt of p(He))nt.indexOf(Kt)<0&&_.call(He,Kt)&&(ct[Kt]=He[Kt]);return ct};const T=He=>{var nt=He,{overlayClassName:ct}=nt,Kt=L(nt,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:ct},Kt))},D=He=>He.reduce((nt,ct)=>ct.lang?R(S({},nt),{[ct.lang]:ct}):nt,{}),B={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},$=He=>React.createElement(React.Fragment,null);var U=e(38329),V=e(38127),K=e(32451),G=e(9981),oe=e(87296);function ae(He,nt){var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Wt=r.useRef(typeof IntersectionObserver=="function"),De=r.useRef(null);return r.useEffect(function(){if(!(!He.current||!Wt.current||Kt.disabled))return De.current=new IntersectionObserver(function(Qe){var Vt=(0,oe.Z)(Qe,1),kt=Vt[0];nt(kt)},ct),De.current.observe(He.current),function(){var Qe;(Qe=De.current)===null||Qe===void 0||Qe.disconnect()}},[nt,ct,Kt.disabled,He]),De.current}var le=["prefetch"];function Q(He){var nt=r.useRef(null);return r.useEffect(function(){He&&(typeof He=="function"?He(nt.current):He.current=nt.current)}),nt}var J=r.forwardRef(function(He,nt){var ct,Kt=He.prefetch,Wt=(0,V.Z)(He,le),De=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},Qe=De.defaultPrefetch,Vt=De.defaultPrefetchTimeout,kt=(Kt===!0?"intent":Kt===!1?"none":Kt)||Qe;if(!["intent","render","viewport","none"].includes(kt))throw new Error("Invalid prefetch value ".concat(kt," found in Link component"));var Ht=(0,G.Ov)(),$t=typeof He.to=="string"?He.to:(ct=He.to)===null||ct===void 0?void 0:ct.pathname,Ct=r.useRef(!1),Yt=Q(nt),Ge=function(Ot){if(kt==="intent"){var Pe=Ot.target||{};Pe.preloadTimeout||(Pe.preloadTimeout=setTimeout(function(){var dt;Pe.preloadTimeout=null,(dt=Ht.preloadRoute)===null||dt===void 0||dt.call(Ht,$t)},He.prefetchTimeout||Vt))}},fe=function(Ot){if(kt==="intent"){var Pe=Ot.target||{};Pe.preloadTimeout&&(clearTimeout(Pe.preloadTimeout),Pe.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(kt==="render"&&!Ct.current){var _e;(_e=Ht.preloadRoute)===null||_e===void 0||_e.call(Ht,$t),Ct.current=!0}},[kt,$t]),ae(Yt,function(_e){if(_e!=null&&_e.isIntersecting){var Ot;(Ot=Ht.preloadRoute)===null||Ot===void 0||Ot.call(Ht,$t)}},{rootMargin:"100px"},{disabled:kt!=="viewport"}),$t?r.createElement(K.rU,(0,U.Z)({onMouseEnter:Ge,onMouseLeave:fe,ref:Yt},Wt),He.children):null}),Y=e(35338),ue=e(8616);function ne(){"use strict";ne=function(){return nt};var He,nt={},ct=Object.prototype,Kt=ct.hasOwnProperty,Wt=Object.defineProperty||function(Ar,$r,_r){Ar[$r]=_r.value},De=typeof Symbol=="function"?Symbol:{},Qe=De.iterator||"@@iterator",Vt=De.asyncIterator||"@@asyncIterator",kt=De.toStringTag||"@@toStringTag";function Ht(Ar,$r,_r){return Object.defineProperty(Ar,$r,{value:_r,enumerable:!0,configurable:!0,writable:!0}),Ar[$r]}try{Ht({},"")}catch(Ar){Ht=function(_r,Ur,sn){return _r[Ur]=sn}}function $t(Ar,$r,_r,Ur){var sn=$r&&$r.prototype instanceof Pe?$r:Pe,cn=Object.create(sn.prototype),ur=new Kr(Ur||[]);return Wt(cn,"_invoke",{value:Rt(Ar,_r,ur)}),cn}function Ct(Ar,$r,_r){try{return{type:"normal",arg:Ar.call($r,_r)}}catch(Ur){return{type:"throw",arg:Ur}}}nt.wrap=$t;var Yt="suspendedStart",Ge="suspendedYield",fe="executing",_e="completed",Ot={};function Pe(){}function dt(){}function Zt(){}var Tt={};Ht(Tt,Qe,function(){return this});var ke=Object.getPrototypeOf,St=ke&&ke(ke(Qr([])));St&&St!==ct&&Kt.call(St,Qe)&&(Tt=St);var be=Zt.prototype=Pe.prototype=Object.create(Tt);function Ke(Ar){["next","throw","return"].forEach(function($r){Ht(Ar,$r,function(_r){return this._invoke($r,_r)})})}function gt(Ar,$r){function _r(sn,cn,ur,Lt){var vt=Ct(Ar[sn],Ar,cn);if(vt.type!=="throw"){var yt=vt.arg,jt=yt.value;return jt&&(0,ue.Z)(jt)=="object"&&Kt.call(jt,"__await")?$r.resolve(jt.__await).then(function(Cr){_r("next",Cr,ur,Lt)},function(Cr){_r("throw",Cr,ur,Lt)}):$r.resolve(jt).then(function(Cr){yt.value=Cr,ur(yt)},function(Cr){return _r("throw",Cr,ur,Lt)})}Lt(vt.arg)}var Ur;Wt(this,"_invoke",{value:function(cn,ur){function Lt(){return new $r(function(vt,yt){_r(cn,ur,vt,yt)})}return Ur=Ur?Ur.then(Lt,Lt):Lt()}})}function Rt(Ar,$r,_r){var Ur=Yt;return function(sn,cn){if(Ur===fe)throw new Error("Generator is already running");if(Ur===_e){if(sn==="throw")throw cn;return{value:He,done:!0}}for(_r.method=sn,_r.arg=cn;;){var ur=_r.delegate;if(ur){var Lt=Be(ur,_r);if(Lt){if(Lt===Ot)continue;return Lt}}if(_r.method==="next")_r.sent=_r._sent=_r.arg;else if(_r.method==="throw"){if(Ur===Yt)throw Ur=_e,_r.arg;_r.dispatchException(_r.arg)}else _r.method==="return"&&_r.abrupt("return",_r.arg);Ur=fe;var vt=Ct(Ar,$r,_r);if(vt.type==="normal"){if(Ur=_r.done?_e:Ge,vt.arg===Ot)continue;return{value:vt.arg,done:_r.done}}vt.type==="throw"&&(Ur=_e,_r.method="throw",_r.arg=vt.arg)}}}function Be(Ar,$r){var _r=$r.method,Ur=Ar.iterator[_r];if(Ur===He)return $r.delegate=null,_r==="throw"&&Ar.iterator.return&&($r.method="return",$r.arg=He,Be(Ar,$r),$r.method==="throw")||_r!=="return"&&($r.method="throw",$r.arg=new TypeError("The iterator does not provide a '"+_r+"' method")),Ot;var sn=Ct(Ur,Ar.iterator,$r.arg);if(sn.type==="throw")return $r.method="throw",$r.arg=sn.arg,$r.delegate=null,Ot;var cn=sn.arg;return cn?cn.done?($r[Ar.resultName]=cn.value,$r.next=Ar.nextLoc,$r.method!=="return"&&($r.method="next",$r.arg=He),$r.delegate=null,Ot):cn:($r.method="throw",$r.arg=new TypeError("iterator result is not an object"),$r.delegate=null,Ot)}function kr(Ar){var $r={tryLoc:Ar[0]};1 in Ar&&($r.catchLoc=Ar[1]),2 in Ar&&($r.finallyLoc=Ar[2],$r.afterLoc=Ar[3]),this.tryEntries.push($r)}function At(Ar){var $r=Ar.completion||{};$r.type="normal",delete $r.arg,Ar.completion=$r}function Kr(Ar){this.tryEntries=[{tryLoc:"root"}],Ar.forEach(kr,this),this.reset(!0)}function Qr(Ar){if(Ar||Ar===""){var $r=Ar[Qe];if($r)return $r.call(Ar);if(typeof Ar.next=="function")return Ar;if(!isNaN(Ar.length)){var _r=-1,Ur=function sn(){for(;++_r<Ar.length;)if(Kt.call(Ar,_r))return sn.value=Ar[_r],sn.done=!1,sn;return sn.value=He,sn.done=!0,sn};return Ur.next=Ur}}throw new TypeError((0,ue.Z)(Ar)+" is not iterable")}return dt.prototype=Zt,Wt(be,"constructor",{value:Zt,configurable:!0}),Wt(Zt,"constructor",{value:dt,configurable:!0}),dt.displayName=Ht(Zt,kt,"GeneratorFunction"),nt.isGeneratorFunction=function(Ar){var $r=typeof Ar=="function"&&Ar.constructor;return!!$r&&($r===dt||($r.displayName||$r.name)==="GeneratorFunction")},nt.mark=function(Ar){return Object.setPrototypeOf?Object.setPrototypeOf(Ar,Zt):(Ar.__proto__=Zt,Ht(Ar,kt,"GeneratorFunction")),Ar.prototype=Object.create(be),Ar},nt.awrap=function(Ar){return{__await:Ar}},Ke(gt.prototype),Ht(gt.prototype,Vt,function(){return this}),nt.AsyncIterator=gt,nt.async=function(Ar,$r,_r,Ur,sn){sn===void 0&&(sn=Promise);var cn=new gt($t(Ar,$r,_r,Ur),sn);return nt.isGeneratorFunction($r)?cn:cn.next().then(function(ur){return ur.done?ur.value:cn.next()})},Ke(be),Ht(be,kt,"Generator"),Ht(be,Qe,function(){return this}),Ht(be,"toString",function(){return"[object Generator]"}),nt.keys=function(Ar){var $r=Object(Ar),_r=[];for(var Ur in $r)_r.push(Ur);return _r.reverse(),function sn(){for(;_r.length;){var cn=_r.pop();if(cn in $r)return sn.value=cn,sn.done=!1,sn}return sn.done=!0,sn}},nt.values=Qr,Kr.prototype={constructor:Kr,reset:function($r){if(this.prev=0,this.next=0,this.sent=this._sent=He,this.done=!1,this.delegate=null,this.method="next",this.arg=He,this.tryEntries.forEach(At),!$r)for(var _r in this)_r.charAt(0)==="t"&&Kt.call(this,_r)&&!isNaN(+_r.slice(1))&&(this[_r]=He)},stop:function(){this.done=!0;var $r=this.tryEntries[0].completion;if($r.type==="throw")throw $r.arg;return this.rval},dispatchException:function($r){if(this.done)throw $r;var _r=this;function Ur(yt,jt){return ur.type="throw",ur.arg=$r,_r.next=yt,jt&&(_r.method="next",_r.arg=He),!!jt}for(var sn=this.tryEntries.length-1;sn>=0;--sn){var cn=this.tryEntries[sn],ur=cn.completion;if(cn.tryLoc==="root")return Ur("end");if(cn.tryLoc<=this.prev){var Lt=Kt.call(cn,"catchLoc"),vt=Kt.call(cn,"finallyLoc");if(Lt&&vt){if(this.prev<cn.catchLoc)return Ur(cn.catchLoc,!0);if(this.prev<cn.finallyLoc)return Ur(cn.finallyLoc)}else if(Lt){if(this.prev<cn.catchLoc)return Ur(cn.catchLoc,!0)}else{if(!vt)throw new Error("try statement without catch or finally");if(this.prev<cn.finallyLoc)return Ur(cn.finallyLoc)}}}},abrupt:function($r,_r){for(var Ur=this.tryEntries.length-1;Ur>=0;--Ur){var sn=this.tryEntries[Ur];if(sn.tryLoc<=this.prev&&Kt.call(sn,"finallyLoc")&&this.prev<sn.finallyLoc){var cn=sn;break}}cn&&($r==="break"||$r==="continue")&&cn.tryLoc<=_r&&_r<=cn.finallyLoc&&(cn=null);var ur=cn?cn.completion:{};return ur.type=$r,ur.arg=_r,cn?(this.method="next",this.next=cn.finallyLoc,Ot):this.complete(ur)},complete:function($r,_r){if($r.type==="throw")throw $r.arg;return $r.type==="break"||$r.type==="continue"?this.next=$r.arg:$r.type==="return"?(this.rval=this.arg=$r.arg,this.method="return",this.next="end"):$r.type==="normal"&&_r&&(this.next=_r),Ot},finish:function($r){for(var _r=this.tryEntries.length-1;_r>=0;--_r){var Ur=this.tryEntries[_r];if(Ur.finallyLoc===$r)return this.complete(Ur.completion,Ur.afterLoc),At(Ur),Ot}},catch:function($r){for(var _r=this.tryEntries.length-1;_r>=0;--_r){var Ur=this.tryEntries[_r];if(Ur.tryLoc===$r){var sn=Ur.completion;if(sn.type==="throw"){var cn=sn.arg;At(Ur)}return cn}}throw new Error("illegal catch attempt")},delegateYield:function($r,_r,Ur){return this.delegate={iterator:Qr($r),resultName:_r,nextLoc:Ur},this.method==="next"&&(this.arg=He),Ot}},nt}var ee=e(63579);function ie(He,nt,ct,Kt,Wt,De,Qe){try{var Vt=He[De](Qe),kt=Vt.value}catch(Ht){ct(Ht);return}Vt.done?nt(kt):Promise.resolve(kt).then(Kt,Wt)}function F(He){return function(){var nt=this,ct=arguments;return new Promise(function(Kt,Wt){var De=He.apply(nt,ct);function Qe(kt){ie(De,Kt,Wt,Qe,Vt,"next",kt)}function Vt(kt){ie(De,Kt,Wt,Qe,Vt,"throw",kt)}Qe(void 0)})}}var M=e(99227);function q(He,nt){var ct=typeof Symbol!="undefined"&&He[Symbol.iterator]||He["@@iterator"];if(!ct){if(Array.isArray(He)||(ct=(0,M.Z)(He))||nt&&He&&typeof He.length=="number"){ct&&(He=ct);var Kt=0,Wt=function(){};return{s:Wt,n:function(){return Kt>=He.length?{done:!0}:{done:!1,value:He[Kt++]}},e:function(Ht){throw Ht},f:Wt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var De=!0,Qe=!1,Vt;return{s:function(){ct=ct.call(He)},n:function(){var Ht=ct.next();return De=Ht.done,Ht},e:function(Ht){Qe=!0,Vt=Ht},f:function(){try{!De&&ct.return!=null&&ct.return()}finally{if(Qe)throw Vt}}}}var de=e(73825);function Ee(He){if(typeof Symbol!="undefined"&&He[Symbol.iterator]!=null||He["@@iterator"]!=null)return Array.from(He)}var Ce=e(66160);function je(He){return(0,de.Z)(He)||Ee(He)||(0,M.Z)(He)||(0,Ce.Z)()}function Fe(He,nt){if(!(He instanceof nt))throw new TypeError("Cannot call a class as a function")}var Ft=e(89878);function _t(He,nt){for(var ct=0;ct<nt.length;ct++){var Kt=nt[ct];Kt.enumerable=Kt.enumerable||!1,Kt.configurable=!0,"value"in Kt&&(Kt.writable=!0),Object.defineProperty(He,(0,Ft.Z)(Kt.key),Kt)}}function Pt(He,nt,ct){return nt&&_t(He.prototype,nt),ct&&_t(He,ct),Object.defineProperty(He,"prototype",{writable:!1}),He}var Qt=e(65873);function er(He,nt){if(!He)throw new Error(nt)}function Jt(He){var nt=He.fns,ct=He.args;if(nt.length===1)return nt[0];var Kt=nt.pop();return nt.reduce(function(Wt,De){return function(){return De(Wt,ct)}},Kt)}function Xe(He){return!!He&&(0,ue.Z)(He)==="object"&&typeof He.then=="function"}var It=function(He){return He.compose="compose",He.modify="modify",He.event="event",He}({}),zt=function(){function He(nt){Fe(this,He),(0,Qt.Z)(this,"opts",void 0),(0,Qt.Z)(this,"hooks",{}),this.opts=nt}return Pt(He,[{key:"register",value:function(ct){var Kt=this;er(ct.apply,"plugin register failed, apply must supplied"),Object.keys(ct.apply).forEach(function(Wt){er(Kt.opts.validKeys.indexOf(Wt)>-1,"register failed, invalid key ".concat(Wt," ").concat(ct.path?"from plugin ".concat(ct.path):"",".")),Kt.hooks[Wt]=(Kt.hooks[Wt]||[]).concat(ct.apply[Wt])})}},{key:"getHooks",value:function(ct){var Kt=ct.split("."),Wt=je(Kt),De=Wt[0],Qe=Wt.slice(1),Vt=this.hooks[De]||[];return Qe.length&&(Vt=Vt.map(function(kt){try{var Ht=kt,$t=q(Qe),Ct;try{for($t.s();!(Ct=$t.n()).done;){var Yt=Ct.value;Ht=Ht[Yt]}}catch(Ge){$t.e(Ge)}finally{$t.f()}return Ht}catch(Ge){return null}}).filter(Boolean)),Vt}},{key:"applyPlugins",value:function(ct){var Kt=ct.key,Wt=ct.type,De=ct.initialValue,Qe=ct.args,Vt=ct.async,kt=this.getHooks(Kt)||[];switch(Qe&&er((0,ue.Z)(Qe)==="object","applyPlugins failed, args must be plain object."),Vt&&er(Wt===It.modify||Wt===It.event,"async only works with modify and event type."),Wt){case It.modify:return Vt?kt.reduce(function(){var Ht=F(ne().mark(function $t(Ct,Yt){var Ge;return ne().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(er(typeof Yt=="function"||(0,ue.Z)(Yt)==="object"||Xe(Yt),"applyPlugins failed, all hooks for key ".concat(Kt," must be function, plain object or Promise.")),!Xe(Ct)){_e.next=5;break}return _e.next=4,Ct;case 4:Ct=_e.sent;case 5:if(typeof Yt!="function"){_e.next=16;break}if(Ge=Yt(Ct,Qe),!Xe(Ge)){_e.next=13;break}return _e.next=10,Ge;case 10:return _e.abrupt("return",_e.sent);case 13:return _e.abrupt("return",Ge);case 14:_e.next=21;break;case 16:if(!Xe(Yt)){_e.next=20;break}return _e.next=19,Yt;case 19:Yt=_e.sent;case 20:return _e.abrupt("return",(0,ee.Z)((0,ee.Z)({},Ct),Yt));case 21:case"end":return _e.stop()}},$t)}));return function($t,Ct){return Ht.apply(this,arguments)}}(),Xe(De)?De:Promise.resolve(De)):kt.reduce(function(Ht,$t){return er(typeof $t=="function"||(0,ue.Z)($t)==="object","applyPlugins failed, all hooks for key ".concat(Kt," must be function or plain object.")),typeof $t=="function"?$t(Ht,Qe):(0,ee.Z)((0,ee.Z)({},Ht),$t)},De);case It.event:return F(ne().mark(function Ht(){var $t,Ct,Yt,Ge;return ne().wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:$t=q(kt),_e.prev=1,$t.s();case 3:if((Ct=$t.n()).done){_e.next=12;break}if(Yt=Ct.value,er(typeof Yt=="function","applyPlugins failed, all hooks for key ".concat(Kt," must be function.")),Ge=Yt(Qe),!(Vt&&Xe(Ge))){_e.next=10;break}return _e.next=10,Ge;case 10:_e.next=3;break;case 12:_e.next=17;break;case 14:_e.prev=14,_e.t0=_e.catch(1),$t.e(_e.t0);case 17:return _e.prev=17,$t.f(),_e.finish(17);case 20:case"end":return _e.stop()}},Ht,null,[[1,14,17,20]])}))();case It.compose:return function(){return Jt({fns:kt.concat(De),args:Qe})()}}}}],[{key:"create",value:function(ct){var Kt=new He({validKeys:ct.validKeys});return ct.plugins.forEach(function(Wt){Kt.register(Wt)}),Kt}}]),He}(),st=e(62202);let bt=0,ht=0;function Je(He,nt){}function Ue(He){return JSON.stringify(He,null,2)}function ge(He){const nt=He.length>1?He.map(Ae).join(" "):He[0];return typeof nt=="object"?`${Ue(nt)}`:nt.toString()}function Ae(He){return typeof He=="object"?`${JSON.stringify(He)}`:He.toString()}const Me={log(...He){ge(He)},info(...He){ge(He)},warn(...He){ge(He)},error(...He){ge(He)},group(){ht++},groupCollapsed(){ht++},groupEnd(){ht&&--ht},clear(){},trace(...He){console.trace(...He)},profile(...He){console.profile(...He)},profileEnd(...He){console.profileEnd(...He)}},$e=()=>{}},65660:function(d,g,e){"use strict";e.d(g,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},33509:function(d,g,e){"use strict";e.d(g,{j:function(){return ui},Q:function(){return Uu}});var r=e(11431),i=e(89880),l=e.n(i),c=e(59301),f=e(1997),s=e(62516),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(C,O,k)=>O in C?h(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,y=(C,O)=>{for(var k in O||(O={}))a.call(O,k)&&p(C,k,O[k]);if(u)for(var k of u(O))x.call(O,k)&&p(C,k,O[k]);return C},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:C},{call:O,put:k}){return yield O(s.n1,C)},*appplySchool({payload:C},{call:O,put:k}){return yield O(s.bz,C)},*getSchoolOption({payload:C},{call:O,put:k}){return yield O(s.GY,C)},*getDepartmentOption({payload:C},{call:O,put:k}){return yield O(s.Ql,C)},*appplyDepartment({payload:C},{call:O,put:k}){return yield O(s.Zm,C)},*updateAccount({payload:C},{call:O,put:k}){return yield O(s.sG,C)},*cancelRealNameAuth({payload:C},{call:O,put:k}){return yield O(s.P,C)},*cancelProfessionalAuth({payload:C},{call:O,put:k}){return yield O(s.$f,C)},*applyProfessionalAuth({payload:C},{call:O,put:k}){return yield O(s.Ow,C)},*applyRealNameAuth({payload:C},{call:O,put:k}){return yield O(s.ht,C)},*getCode({payload:C},{call:O,put:k}){return yield O(s.Cq,C)},*bindPhone({payload:C},{call:O,put:k}){return yield O(s.eF,C)},*bindEmail({payload:C},{call:O,put:k}){return yield O(s.I8,C)},*updatePassword({payload:C},{call:O,put:k}){return yield O(s.gQ,C)},*unbindAccount({payload:C},{call:O,put:k}){return yield O(s.wi,C)},*getBasicInfo({payload:C},{call:O,put:k}){const me=yield O(s.o9,C);return yield k({type:"save",payload:{basicInfo:y({},me)}}),me},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:y({},C)}})}},reducers:{save(C,O){return y(y({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},S=e(93698),R=Object.defineProperty,L=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,B=(C,O,k)=>O in C?R(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,$=(C,O)=>{for(var k in O||(O={}))T.call(O,k)&&B(C,k,O[k]);if(L)for(var k of L(O))D.call(O,k)&&B(C,k,O[k]);return C},V={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:C,callback:O},{call:k,put:me}){return yield k(S.nZ,C)},*informUp({payload:C,callback:O},{call:k,put:me}){return yield k(S.TO,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:$({},C)}})}},reducers:{save(C,O){return $($({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},K=e(91676),G=Object.defineProperty,oe=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,Q=(C,O,k)=>O in C?G(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,J=(C,O)=>{for(var k in O||(O={}))ae.call(O,k)&&Q(C,k,O[k]);if(oe)for(var k of oe(O))le.call(O,k)&&Q(C,k,O[k]);return C},ue={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:C,callback:O},{call:k,put:me}){const ze=yield k(K.SV,C);return yield me({type:"save",payload:{allList:J({},ze)}}),ze},*mineAttachment({payload:C,callback:O},{call:k,put:me}){const ze=yield k(K.zI,C);return yield me({type:"save",payload:{mineList:J({},ze)}}),ze},*fileImport({payload:C,callback:O},{call:k,put:me}){return yield k(K.tO,C)},*getDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k(K.Nm,C);return yield me({type:"save",payload:{detail:J({},ze)}}),ze},*updateVisits({payload:C,callback:O},{call:k,put:me}){return yield k(K.H,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:J({},C)}})}},reducers:{save(C,O){return J(J({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},ne=e(75766),ee=Object.defineProperty,ie=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,q=(C,O,k)=>O in C?ee(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,de=(C,O)=>{for(var k in O||(O={}))F.call(O,k)&&q(C,k,O[k]);if(ie)for(var k of ie(O))M.call(O,k)&&q(C,k,O[k]);return C},Ce={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(ne.yq,C);return yield me({type:"save",payload:{boardsCategoryList:de({},ze.data)}}),ze.data},*getBoardsDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k(ne.dI,C);return yield me({type:"save",payload:{boardsDetail:de({},ze.data)}}),ze.data},*setTopping({payload:C,callback:O},{call:k,put:me}){return yield k(ne.cc,C)},*escTopping({payload:C,callback:O},{call:k,put:me}){return yield k(ne.CJ,C)},*getReplyList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(ne.PC,C);yield me({type:"save",payload:{replyList:de({},ze.data)}})},*createReply({payload:C,callback:O},{call:k,put:me}){return yield k(ne.PP,C)},*replyLike({payload:C,callback:O},{call:k,put:me}){return yield k(ne.NA,C)},*replyUnLike({payload:C,callback:O},{call:k,put:me}){return yield k(ne.YQ,C)},*deleteReply({payload:C,callback:O},{call:k,put:me}){return yield k(ne.Mf,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:de({},C)}})}},reducers:{save(C,O){return de(de({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},je=e(52035),Fe=Object.defineProperty,Ft=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Qt=(C,O,k)=>O in C?Fe(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,er=(C,O)=>{for(var k in O||(O={}))_t.call(O,k)&&Qt(C,k,O[k]);if(Ft)for(var k of Ft(O))Pt.call(O,k)&&Qt(C,k,O[k]);return C},Xe={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.$Q,C);return yield me({type:"save",payload:{ScoreRangesData:ze==null?void 0:ze.data}}),ze},*getQuestionResult({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je._U,C);return yield me({type:"save",payload:{NormalResult:ze}}),ze},*getUserExercise({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.xA,C);return yield me({type:"save",payload:{userExerciseList:er({},(ze==null?void 0:ze.data)||{})}}),console.log("getUserExercise-res:",ze),ze==null?void 0:ze.data},*getExerciseIdentityPhotos({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.J,C);return yield me({type:"save",payload:{exerciseIdentityPhotos:er({},(ze==null?void 0:ze.data)||{})}}),ze==null?void 0:ze.data},*getExerciseExportHeadData({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.iw,C);return yield me({type:"save",payload:{exerciseExportHeadData:er({},ze)}}),ze},*getExerciseUserInfo({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.Ty,C);return(ze==null?void 0:ze.status)===0&&(yield me({type:"save",payload:er({},{exerciseUserInfo:er({},ze.data)})})),ze},*getExaminationIntelligentSettings({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.sA,C);return yield me({type:"save",payload:{examinationIntelligentSettings:er({},ze)}}),ze},*getRandomEditExercises({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.yu,C);return yield me({type:"save",payload:{editRandomExercises:er({},ze)}}),ze},*getExerciseList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.G$,C);if(ze!=null&&ze.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(ze.total_exercise_users)}catch(an){}return yield me({type:"save",payload:{exerciseList:er({},ze)}}),yield me({type:"save",payload:{order_type:C.order_type,order:C.order}}),ze},*getExerciseStatistics({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je._u,C);return yield me({type:"save",payload:{statisticsList:er({},ze)}}),ze},*getBrankList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.n$,C);return yield me({type:"save",payload:{brankList:er({},ze)}}),ze},*saveBanks({payload:C,callback:O},{call:k,put:me}){return yield k(je.lf,C)},*getExerciseCourses({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.N3,C);return yield me({type:"save",payload:{exerciseCoursesList:er({},ze)}}),ze},*addExercise({payload:C,callback:O},{call:k,put:me}){return yield k(je.uR,C)},*editExercise({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.qf,C);return yield me({type:"save",payload:{editData:er({},ze)}}),ze},*getTagDiscipline({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.YY,C);return yield me({type:"save",payload:{tagDisciplineData:er({},ze)}}),ze},*editExerciseQuestion({payload:C,callback:O},{call:k,put:me}){return yield k(je.Di,C)},*addExerciseQuestion({payload:C,callback:O},{call:k,put:me}){return yield k(je.MK,C)},*exeriseMoveUpDown({payload:C,callback:O},{call:k,put:me}){return yield k(je.GK,C)},*getEndGroups({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.KE,C);return yield me({type:"save",payload:{endGroups:er({},ze)}}),ze},*getPublishGroups({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.ux,C);return yield me({type:"save",payload:{publishGroups:er({},ze)}}),ze},*getCommonHeader({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.UK,C);return yield me({type:"save",payload:{commonHeader:er({},ze)}}),ze},*getReviewExercise({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.BJ,C);return yield me({type:"save",payload:{reviewExercise:er({},ze)}}),ze},*postReviewExercise({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.pu,C);return yield me({type:"save",payload:{reviewExercise:er({},ze)}}),ze},*getCentralizeReviewExercise({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.X4,C);return yield me({type:"save",payload:{reviewExercise:er({},ze)}}),ze},*clearData({payload:C,callback:O},{call:k,put:me}){yield me({type:"save",payload:{[C.key]:{}}})},*getReviewGroupExercise({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.W4,C);return yield me({type:"save",payload:{reviewGroupExercise:er({},ze)}}),ze},*getWorkSetting({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.Ul,C);return yield me({type:"save",payload:{workSetting:er({},ze)}}),ze},*getRedoModal({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.tX,C);return yield me({type:"save",payload:{redoModal:er({},ze)}}),ze},*getRedoListModal({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.s,C);return yield me({type:"save",payload:{redoModal:er({},ze)}}),ze},*getCodeReviewDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.Xn,C);return yield me({type:"save",payload:{codeReviewDetail:er({},ze)}}),ze},*changeScore({payload:C,callback:O},{call:k,put:me}){return yield k(je.gG,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:er({},C)}})},*setUpdateIndex({payload:C},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:C==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:C},{call:O,put:k}){yield k({type:"save",payload:{saveExerciseDownUsers:C}})}},reducers:{save(C,O){return er(er({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},It=e(57266),zt=Object.defineProperty,st=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Je=(C,O,k)=>O in C?zt(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Ue=(C,O)=>{for(var k in O||(O={}))bt.call(O,k)&&Je(C,k,O[k]);if(st)for(var k of st(O))ht.call(O,k)&&Je(C,k,O[k]);return C},Ae={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(It.x_,C);return yield me({type:"save",payload:{detailList:Ue({},ze)}}),ze},*getTasksListDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k(It.QA,C);return yield me({type:"save",payload:{detailTaskList:Ue({},ze)}}),ze},*getTopisDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k(It.B6,C);return yield me({type:"save",payload:{detail:Ue({},ze)}}),ze},*getTasksDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k(It.y3,C);return yield me({type:"save",payload:{tasksDetail:Ue({},ze)}}),ze},*refuseTopic({payload:C,callback:O},{call:k,put:me}){return yield k(It.mM,C)},*agreeTopic({payload:C,callback:O},{call:k,put:me}){return yield k(It.je,C)},*getReplyList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(It.PC,C);yield me({type:"save",payload:{replyList:Ue({},ze)}})},*createReply({payload:C,callback:O},{call:k,put:me}){return yield k(It.PP,C)},*replyLike({payload:C,callback:O},{call:k,put:me}){return yield k(It.NA,C)},*replyUnLike({payload:C,callback:O},{call:k,put:me}){return yield k(It.YQ,C)},*deleteReply({payload:C,callback:O},{call:k,put:me}){return yield k(It.Mf,C)},*addTopicDefaultData({payload:C,callback:O},{call:k,put:me}){const ze=yield k(It.y0,C);yield me({type:"save",payload:{addTopicData:Ue({},ze)}})},*editTopicDefaultData({payload:C,callback:O},{call:k,put:me}){const ze=yield k(It.hL,C);return yield me({type:"save",payload:{editTopicData:Ue({},ze)}}),ze},*editTasksDefaultData({payload:C,callback:O},{call:k,put:me}){const ze=yield k(It._n,C);return yield me({type:"save",payload:{editTasksData:Ue({},ze)}}),ze},*addTopic({payload:C,callback:O},{call:k,put:me}){return yield k(It.Gr,C)},*editTopic({payload:C,callback:O},{call:k,put:me}){return yield k(It.wA,C)},*addTasks({payload:C,callback:O},{call:k,put:me}){return yield k(It.Sv,C)},*editTasks({payload:C,callback:O},{call:k,put:me}){return yield k(It.RP,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ue({},C)}})}},reducers:{save(C,O){return Ue(Ue({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},Me=e(89392),$e=e(7647),He=Object.defineProperty,nt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,Wt=(C,O,k)=>O in C?He(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,De=(C,O)=>{for(var k in O||(O={}))ct.call(O,k)&&Wt(C,k,O[k]);if(nt)for(var k of nt(O))Kt.call(O,k)&&Wt(C,k,O[k]);return C},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:C,callback:O},{call:k,put:me}){const ze=yield k($e.h$,C);try{sessionStorage.all_student_works=JSON.stringify(ze.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(C),localStorage.setItem("all_student_works_param",JSON.stringify(C))}catch(an){}return yield me({type:"save",payload:{workList:De({},ze)}}),ze},*getShixunWorkHeadInfo({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.fK,C);try{}catch(an){}return yield me({type:"save",payload:{headerInfo:ze==null?void 0:ze.data}}),ze},*getShixunWorkList({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.Z8,C);try{sessionStorage.all_student_works=JSON.stringify(ze.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(C),localStorage.setItem("all_student_works_param",JSON.stringify(C))}catch(an){}return yield me({type:"save",payload:{shixunWorkList:ze==null?void 0:ze.data,homeworkAssistantPermissions:ze.homework_assistant_permissions,shixunAssistantPermission:ze.shixun_assistant_permission,courseAssistantPermission:ze.course_assistant_permission}}),ze},*getCodeReview({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.RP,C);return yield me({type:"save",payload:{codeReview:De({},ze)}}),ze},*getCodeReviewDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.Xn,C);return yield me({type:"save",payload:{codeReviewDetail:De({},ze)}}),ze},*getWorkDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.to,C);return yield me({type:"save",payload:{workDetail:De({},ze)}}),ze},*updateWork({payload:C,callback:O},{call:k,put:me}){return yield k($e.H,C)},*getShixunWorkReport({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.sw,C);try{ze.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(an){}return yield me({type:"save",payload:{shixunWorkReport:De({},ze)}}),ze},*getShixunWorkReports({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.cz,C);try{ze.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(an){}return yield me({type:"save",payload:{shixunWorkReport:De({},ze)}}),ze},*getWorkSetting({payload:C,callback:O},{call:k,put:me}){var ze,an;const ni=yield k($e.Ul,C);(ze=ni==null?void 0:ni.group_settings)==null||ze.map(Bi=>{Bi.value=Bi.group_name,Bi.id=Bi.group_id,Bi.group_id=[Bi.group_id]}),(an=ni==null?void 0:ni.allow_late_settings)==null||an.map(Bi=>{Bi.value=Bi.group_name,Bi.id=Bi.group_id,Bi.group_id=[Bi.group_id]});const Wi={shixun_evaluation:ni.shixun_evaluation,challenge_settings:ni.challenge_settings};return yield me({type:"save",payload:{workSetting:De({},ni),changeData:(0,Me.cloneDeep)(Wi)}}),ni},*updateSetting({payload:C,callback:O},{call:k,put:me}){return yield k($e.m7,C)},*getCodeReviewCourse({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.JG,C);return yield me({type:"save",payload:{codeReviewCourse:De({},ze)}}),ze},*exportShixunWorks({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.Dx,C)},*getReferenceAnswer({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.Q3,C);return yield me({type:"save",payload:{referenceAnswer:De({},ze)}}),ze},*getPublishGroups({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.ux,C);return yield me({type:"save",payload:{publishGroups:De({},ze)}}),ze},*getEndGroups({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.KE,C);return yield me({type:"save",payload:{endGroups:De({},ze)}}),ze},*getBrankList({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.n$,C);return yield me({type:"save",payload:{brankList:De({},ze)}}),ze},*changeScore({payload:C,callback:O},{call:k,put:me}){return yield k($e.gG,C)},*saveBanks({payload:C,callback:O},{call:k,put:me}){return yield k($e.lf,C)},*addCommonHomeWorkDefaultData({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.Qt,C);return yield me({type:"save",payload:{commonHomeWorkAddDefaultData:De({},ze)}}),ze},*getSearchMemberList({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.Lz,C);return yield me({type:"save",payload:{searchMemberList:De({},ze)}}),ze},*getProjectList({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.ku,C);return yield me({type:"save",payload:{searchProjectList:De({},ze)}}),ze},*addStudentWorkDefaultData({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.ak,C);return yield me({type:"save",payload:{studentWorkAddDefaultData:De({},ze)}}),ze},*editStudentWorkDefaultData({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.PW,C);return yield me({type:"save",payload:{studentWorkEditDefaultData:De({},ze)}}),ze},*editCommonHomeWorkDefaultData({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.BD,C);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:De({},ze)}}),ze},*editCommonHomeWorkDefaultBankData({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.pH,C);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:De({},ze)}}),ze},*getReplyList({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.PC,C);yield me({type:"save",payload:{replyList:De({},ze)}})},*getStudentWorkDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.Hj,C);yield me({type:"save",payload:{studentWorkDetail:De({},ze)}})},*getStudentWorkSupplyDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.ub,C);yield me({type:"save",payload:{studentWorkSupplyDetail:De({},ze)}})},*getStudentWorkCommon({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.JA,C);yield me({type:"save",payload:{studentWorkCommon:De({},ze)}})},*getAllStudentWorks({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.ql,C);return yield me({type:"save",payload:{allStudentWorks:De({},ze)}}),ze},*getFileRepeatResult({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.oN,C);return yield me({type:"save",payload:{codeReview:De({},ze)}}),ze},*getFileRepeatDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k($e.Ti,C);return yield me({type:"save",payload:{codeReviewDetail:De({},ze)}}),ze},*createReply({payload:C,callback:O},{call:k,put:me}){return yield k($e.PP,C)},*replyLike({payload:C,callback:O},{call:k,put:me}){return yield k($e.NA,C)},*replyUnLike({payload:C,callback:O},{call:k,put:me}){return yield k($e.YQ,C)},*deleteReply({payload:C,callback:O},{call:k,put:me}){return yield k($e.Mf,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:De({},C)}})}},reducers:{save(C,O){return De(De({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},kt=e(40477),Ht=e(57535),$t=Object.defineProperty,Ct=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,fe=(C,O,k)=>O in C?$t(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,_e=(C,O)=>{for(var k in O||(O={}))Yt.call(O,k)&&fe(C,k,O[k]);if(Ct)for(var k of Ct(O))Ge.call(O,k)&&fe(C,k,O[k]);return C},Pe={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:C},{call:O,put:k}){yield O(kt.gq,C)},*getAssistantPermissions({payload:C},{call:O,put:k}){if(!(0,Ht.eB)())return;const me=yield O(kt.rS,C);yield k({type:"save",payload:{AssistantObject:me.permissions}})},*getAiStatusQuery({payload:C},{call:O,put:k}){const me=yield O(kt.LH,C);return yield k({type:"save",payload:{cal_finish_if:me.cal_finish_if}}),me},*updateCoursePortraitData({payload:C},{call:O,put:k}){return yield O(kt.Z_,C)},*getUserPortraitConfig({payload:C},{call:O,put:k}){const me=yield O(kt._0,C);return yield k({type:"save",payload:{userPortraitConfig:me.data}}),me},*updateUserPortraitConfig({payload:C},{call:O,put:k}){return yield O(kt.r2,C)},*getClassroom({payload:C},{call:O,put:k}){const me=C,ze=yield O(kt.V8,C);return yield k({type:"save",payload:_e({listParams:me},ze)}),ze},*getClassroomTopBanner({payload:C},{call:O,put:k}){const me=yield O(kt.U_,C);return yield k({type:"save",payload:{detailTopBanner:me.status?{copy_completed:!0}:_e({},me)}}),me.status?{copy_completed:!0}:me},*getClassroomLeftMenus({payload:C},{call:O,put:k}){const me=yield O(kt.w9,C);let ze=[...(me==null?void 0:me.course_modules)||[],...(me==null?void 0:me.hidden_modules)||[]],an={};return ze==null||ze.forEach(ni=>{an[ni.type]=ni.name}),yield k({type:"save",payload:{detailLeftMenus:_e({},me),detailLeftMenusNames:an}}),me},*getClassroomShixunsList({payload:C},{call:O,put:k}){const me=yield O(kt.Nd,C);yield k({type:"save",payload:{detailShixunsList:_e({},me)}})},*getClassroomTeacherShixunsList({payload:C},{call:O,put:k}){const me=yield O(kt.Gk,C);return yield k({type:"save",payload:{detailShixunsList:_e({},me)}}),me},*getClassroomCommonList({payload:C},{call:O,put:k}){const me=yield O(kt.Nd,C);yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}})},*getClassroomTeacherCommonList({payload:C},{call:O,put:k}){const me=yield O(kt.Gk,C);return yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}}),me},*getClassroomGraduationTopicsList({payload:C},{call:O,put:k}){const me=yield O(kt.yV,C);yield k({type:"save",payload:{detailGraduationTopicsList:_e({},me)}})},*getClassroomGraduationTaskList({payload:C},{call:O,put:k}){const me=yield O(kt.R2,C);yield k({type:"save",payload:{detailGraduationTaskList:_e({},me)}})},*getClassroomExercisesList({payload:C},{call:O,put:k}){const me=yield O(kt.N7,C);yield k({type:"save",payload:{detailExerciseList:_e({},me)}})},*getClassroomPollsList({payload:C},{call:O,put:k}){const me=yield O(kt.BR,C);yield k({type:"save",payload:{detailPollsList:_e({},me)}})},*getCourseGroups({payload:C},{call:O,put:k}){const me=yield O(kt.qB,C);yield k({type:"save",payload:{courseGroups:_e({},me)}})},*getAllCourseGroup({payload:C},{call:O,put:k}){const me=yield O(kt.c_,C);return yield k({type:"save",payload:{allCourseGroups:_e({},me)}}),me},*getClassroomCommonHomeworksList({payload:C},{call:O,put:k}){const me=yield O(kt.Al,C);yield k({type:"save",payload:{detailCommonHomeworksList:_e({},me)}})},*getClassroomAttendancesList({payload:C},{call:O,put:k}){const me=yield O(kt.Vw,C);yield k({type:"save",payload:{detailAttendancesList:_e({},me)}})},*getClassroomAttendancesStatistic({payload:C},{call:O,put:k}){const me=yield O(kt.Ls,C);yield k({type:"save",payload:{detailAttendancesStatistic:_e({},me)}})},*getAttendanceDetail({payload:C},{call:O,put:k}){const me=yield O(kt.zg,C);return yield k({type:"save",payload:{detailAttendancesDetail:_e({},me)}}),me},*getAnnouncementList({payload:C},{call:O,put:k}){const me=yield O(kt.QZ,C);yield k({type:"save",payload:{detailAnnouncementList:_e({},me)}})},*getAttachmentList({payload:C},{call:O,put:k}){const me=yield O(kt.KT,C);yield k({type:"save",payload:{detailAttachmentList:_e({},me.data)}})},*getCourseware({payload:C},{call:O,put:k}){const me=yield O(kt.ZT,C);yield k({type:"save",payload:{detailCourseware:_e({},me.data)}})},*getVideoList({payload:C},{call:O,put:k}){const me=yield O(kt.O3,C);yield k({type:"save",payload:{detailVideoList:_e({},me)}})},*getLiveVideoList({payload:C},{call:O,put:k}){const me=yield O(kt.DJ,C);yield k({type:"save",payload:{detailLiveVideoList:_e({},me)}})},*getCoursesMine({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.Ed,C);return yield me({type:"save",payload:{courseMine:_e({},ze)}}),ze.data},*getBoardList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.KP,C);return yield me({type:"save",payload:{detailBoardList:_e({},ze.data)}}),ze.data},*getCourseGroupsList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.kW,C);return yield me({type:"save",payload:{detailCourseGroupsList:_e({},ze)}}),ze},*getCourseStudentsList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.J2,C);return yield me({type:"save",payload:{detailCoursStudentsList:_e({},ze)}}),ze.data},*getCourseStatistics({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.g4,C);return yield me({type:"save",payload:{detailCourseStatisticsList:_e({},ze)}}),ze},*getCourseActscore({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.t1,C);return yield me({type:"save",payload:{detailCourseActscore:_e({},ze)}}),ze},*getCourseWorkscore({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.GV,C);return yield me({type:"save",payload:{detailCourseWorkscore:_e({},ze)}}),ze},*getShixunLists({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.Pj,C);return yield me({type:"save",payload:{shixunLists:_e({},ze)}}),ze},*getExperimentLists({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt._9,C);return yield me({type:"save",payload:{shixunLists:_e({},ze)}}),ze},*getShixunAiRecommendLists({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.Hn,C);return yield me({type:"save",payload:{shixunAiRecommendLists:_e({},ze)}}),ze},*getCoursesLists({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.W7,C);return yield me({type:"save",payload:{coursesLists:_e({},ze)}}),ze},*createCoursesHomework({payload:C,callback:O},{call:k,put:me}){return yield k(kt.Ds,C)},*createShixunHomework({payload:C,callback:O},{call:k,put:me}){return yield k(kt.aQ,C)},*createExperiment({payload:C,callback:O},{call:k,put:me}){return yield k(kt.BQ,C)},*getSchoolList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.K$,C);return yield me({type:"save",payload:{schoolList:_e({},ze.school_names)}}),ze.school_names},*searchSchoolTeacherList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.nQ,C);return yield me({type:"save",payload:{searchMemberList:_e({},ze)}}),ze},*getAllTaskList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.km,C);return yield me({type:"save",payload:{taskList:[...ze.tasks]}}),ze},*updateTaskPosition({payload:C,callback:O},{call:k,put:me}){const ze=yield k(kt.U8,C);return yield me({type:"save",payload:{actionTabs:{key:""}}}),ze},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:_e({},C)}})},*setUpdateData({payload:C},{call:O,put:k}){yield k({type:"save",payload:{updateData:C}})}},reducers:{save(C,O){return _e(_e({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},dt=Object.defineProperty,Zt=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,St=(C,O,k)=>O in C?dt(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,be=(C,O)=>{for(var k in O||(O={}))Tt.call(O,k)&&St(C,k,O[k]);if(Zt)for(var k of Zt(O))ke.call(O,k)&&St(C,k,O[k]);return C},gt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:C},{call:O,put:k}){const me=yield O(kt.K$,C);yield k({type:"save",payload:{schoolList:(me==null?void 0:me.school_names)||[]}})},*getSearchCourseList({payload:C},{call:O,put:k}){const me=yield O(kt.oM,C);yield k({type:"save",payload:{searchCourseList:(me==null?void 0:me.course_lists)||[]}})},*submitCourses({payload:C},{call:O,put:k}){return yield O(kt.Bn,C)},*appplySchool({payload:C},{call:O,put:k}){return yield O(kt.bz,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:be({},C)}})},*joincoursegroup({payload:C},{call:O,put:k}){return yield O(kt.WK,C)}},reducers:{save(C,O){return be(be({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},Rt=Object.defineProperty,Be=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Kr=(C,O,k)=>O in C?Rt(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Qr=(C,O)=>{for(var k in O||(O={}))kr.call(O,k)&&Kr(C,k,O[k]);if(Be)for(var k of Be(O))At.call(O,k)&&Kr(C,k,O[k]);return C},$r={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:C},{call:O,put:k}){const me=yield O(kt.Dd,C);yield k({type:"save",payload:{CourseUseInfos:me}})},*getRankList({payload:C},{call:O,put:k}){const me=yield O(kt.Fg,C);yield k({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(me==null?void 0:me.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(me==null?void 0:me.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(me==null?void 0:me.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(me==null?void 0:me.finish_course_list)||[]]}}})},*getStatisticsBody({payload:C},{call:O,put:k}){const me=yield O(kt.Gz,C);yield k({type:"save",payload:{SBody:me}})},*getStatisticsHeader({payload:C},{call:O,put:k}){const me=yield O(kt.Hl,C);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(C,O){return Qr(Qr({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},_r=e(17960),Ur=Object.defineProperty,sn=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,Lt=(C,O,k)=>O in C?Ur(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,vt=(C,O)=>{for(var k in O||(O={}))cn.call(O,k)&&Lt(C,k,O[k]);if(sn)for(var k of sn(O))ur.call(O,k)&&Lt(C,k,O[k]);return C},jt={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(_r.s3,C);return yield me({type:"save",payload:{pollsList:vt({},ze)}}),ze},*getCommonHeader({payload:C,callback:O},{call:k,put:me}){const ze=yield k(_r.UK,C);return yield me({type:"save",payload:{commonHeader:vt({},ze)}}),ze},*getPollsStatistics({payload:C,callback:O},{call:k,put:me}){const ze=yield k(_r.Qn,C);return yield me({type:"save",payload:{statisticsList:vt({},ze)}}),ze},*getBrankList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(_r.n$,C);return yield me({type:"save",payload:{brankList:vt({},ze)}}),ze},*saveBanks({payload:C,callback:O},{call:k,put:me}){return yield k(_r.lf,C)},*getPollsCourses({payload:C,callback:O},{call:k,put:me}){const ze=yield k(_r.Q9,C);return yield me({type:"save",payload:{pollsCoursesList:vt({},ze)}}),ze},*getPollsSetting({payload:C,callback:O},{call:k,put:me}){const ze=yield k(_r.Hi,C);return yield me({type:"save",payload:{pollSetting:vt({},ze)}}),ze},*editPolls({payload:C,callback:O},{call:k,put:me}){const ze=yield k(_r.Ye,C);return yield me({type:"save",payload:{editData:vt({},JSON.parse(JSON.stringify(ze)))}}),ze},*getEndGroups({payload:C,callback:O},{call:k,put:me}){const ze=yield k(_r.KE,C);return yield me({type:"save",payload:{endGroups:vt({},ze)}}),ze},*getPublishGroups({payload:C,callback:O},{call:k,put:me}){const ze=yield k(_r.ux,C);return yield me({type:"save",payload:{publishGroups:vt({},ze)}}),ze},*getExerciseBanks({payload:C,callback:O},{call:k,put:me}){const ze=yield k(_r.kp,C);return yield me({type:"save",payload:{exerciseBanks:vt({},ze)}}),ze},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:vt({},C)}})}},reducers:{save(C,O){return vt(vt({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},Cr=e(51712),yr=Object.defineProperty,ot=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,Un=(C,O,k)=>O in C?yr(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,mr=(C,O)=>{for(var k in O||(O={}))Fr.call(O,k)&&Un(C,k,O[k]);if(ot)for(var k of ot(O))mn.call(O,k)&&Un(C,k,O[k]);return C},dn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:C},{call:O,put:k}){var me;const ze=yield O(Cr.gp,C);return(me=ze==null?void 0:ze.teacher_list)==null||me.map(an=>(an.key=an.course_member_id,an)),yield k({type:"save",payload:{list:ze}}),ze},*getStudentsList({payload:C},{call:O,put:k}){var me;const ze=yield O(Cr.ur,C);return(me=ze==null?void 0:ze.students)==null||me.map(an=>(an.key=an.user_id,an)),yield k({type:"save",payload:{studentsList:ze}}),ze},*getApplyList({payload:C},{call:O,put:k}){const me=yield O(Cr.s,C);return yield k({type:"save",payload:{applyList:me}}),me},*getAllCourseGroups({payload:C},{call:O,put:k}){const me=yield O(Cr.xV,C);return yield k({type:"save",payload:{allCourseGroups:me}}),me},*getGraduationGroupList({payload:C},{call:O,put:k}){const me=yield O(Cr.Bg,C);return yield k({type:"save",payload:{graduationGroupList:me}}),me},*setAllCourseGroups({payload:C},{call:O,put:k}){const me=yield O(Cr.oZ,C);return yield k({type:"save",payload:{setAllCourseGroups:me}}),me},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:mr({},C)}})},*setUpdateIndex({payload:C},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(C,O){return mr(mr({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},Fn=e(19434),ei=Object.defineProperty,Nn=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,xi=(C,O,k)=>O in C?ei(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,vi=(C,O)=>{for(var k in O||(O={}))zi.call(O,k)&&xi(C,k,O[k]);if(Nn)for(var k of Nn(O))mi.call(O,k)&&xi(C,k,O[k]);return C},Yi={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Fn.BQ,C);return yield me({type:"save",payload:{videoStatisticsList:vi({},ze)}}),ze},*getNewVideoStatisticsList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Fn.cU,C);return yield me({type:"save",payload:{newVideoStatisticsList:vi({},ze)}}),ze},*getVideoPeopleStatics({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Fn.Zx,C);return yield me({type:"save",payload:{videoPeopleStatics:vi({},ze)}}),ze},*getVideoDurationStatics({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Fn.Mz,C);return yield me({type:"save",payload:{videoDurationStatics:vi({},ze)}}),ze},*getVideoStatistics({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Fn.ZY,C);return yield me({type:"save",payload:{videoStatistics:vi({},ze)}}),ze},*getOneVideoStatisticsList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Fn.cU,C);return yield me({type:"save",payload:{oneVideoStatisticsList:vi({},ze)}}),ze},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:vi({},C)}})},*getStudentVideoStatisticsList({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Fn.Vg,C);return yield me({type:"save",payload:{StudentvideoStatistics:vi({},ze)}}),ze}},reducers:{save(C,O){return vi(vi({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},Yn=e(25894),Vi=Object.defineProperty,Et=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,wi=(C,O,k)=>O in C?Vi(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,qn=(C,O)=>{for(var k in O||(O={}))ut.call(O,k)&&wi(C,k,O[k]);if(Et)for(var k of Et(O))Xn.call(O,k)&&wi(C,k,O[k]);return C},_i={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.cC,C)},*getGuides({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Yn.Ax,C);return yield me({type:"save",payload:{GuidesData:ze}}),ze},*getWorkSubmitUpdateRes({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.zF,C)},*getList({payload:C},{call:O,put:k}){const me=C,ze=yield O(Yn.bQ,C);return yield k({type:"save",payload:qn({listParams:me},ze)}),ze},*getMemberWorks({payload:C},{call:O,put:k}){const me=yield O(Yn.xx,C);return yield k({type:"save",payload:{MemberWorks:me||{}}}),me},*addApplytojoincourse({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.qS,C)},*competitionTeams({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.Pt,C)},*getStaff({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Yn.Dh,C);return yield me({type:"save",payload:{Staff:ze}}),ze},*getHeader({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Yn.Pg,C);return yield me({type:"save",payload:{Header:ze}}),ze},*getItem({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Yn.rV,C);return yield me({type:"save",payload:{RightItems:ze}}),ze},*updateMdContent({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.zj,C)},*getTeamList({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.aq,C)},*getTeamDetail({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.Ze,C)},*UpTeam({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.yS,C)},*DeleteTeam({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.ps,C)},*ExitTeam({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.vV,C)},*AddTeam({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.FU,C)},*AddPersonnel({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.R9,C)},*JoinTeam({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.zc,C)},*getTeacher({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.jS,C)},*getStudents({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.sK,C)},*SubmitTeam({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.rm,C)},*Reward({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.Qp,C)},*ChartRules({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.Ux,C)},*Charts({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.GQ,C)},*TabResults({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Yn.ml,C);return yield me({type:"save",payload:{TabResultList:ze}}),ze},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:qn({},C)}})},*Results({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.u9,C)},*Prize({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Yn.pU,C);return yield me({type:"save",payload:{Prizes:ze}}),ze},*Accounts({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Yn.XJ,C);return yield me({type:"save",payload:{Account:ze}}),ze},*getVerification({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.Ni,C)},*PhoneBind({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.uZ,C)},*EmailBind({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.rk,C)},*Authentication({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.Vy,C)},*Professional({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.tC,C)},*setleader({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.tO,C)},*getShixun({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.qj,C)},*getCourse({payload:C,callback:O},{call:k,put:me}){return yield k(Yn.XR,C)},*competition_teams({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Yn.zz,C);return yield me({type:"save",payload:{competition_team:ze}}),ze},*all_team_members({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Yn.$P,C);return yield me({type:"save",payload:{all_team_member:ze}}),ze}},reducers:{save(C,O){return qn(qn({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Pi=e(27837),Qn=Object.defineProperty,tr=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Dt=(C,O,k)=>O in C?Qn(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,pt=(C,O)=>{for(var k in O||(O={}))mt.call(O,k)&&Dt(C,k,O[k]);if(tr)for(var k of tr(O))rt.call(O,k)&&Dt(C,k,O[k]);return C},fr={namespace:"declaration",state:{name:"\u79D1\u7814\u6559\u5B66\u7533\u62A5",loading:!0,mode:"view"},effects:{*changeMode({payload:C},{put:O}){yield O({type:"save",payload:{mode:C.mode}})},*getDeclaraList({payload:C},{call:O,put:k}){return yield O(Pi.Dn,{payload:C})},*getDeclaraDetail({payload:C},{call:O,put:k}){return yield O(Pi.Hs,{payload:C})},*addDeclara({payload:C},{call:O,put:k}){return yield O(Pi.eu,{payload:C})},*updateDeclara({payload:C},{call:O,put:k}){return yield O(Pi.Bb,{payload:C})}},reducers:{save(C,O){return pt(pt({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/declaration"&&O.replace({pathname:"/declaration/home"})})}}},Ir=e(77256),Rr=e(26685),Ze=Object.defineProperty,et=Object.defineProperties,we=Object.getOwnPropertyDescriptors,it=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable,wr=(C,O,k)=>O in C?Ze(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Tr=(C,O)=>{for(var k in O||(O={}))ir.call(O,k)&&wr(C,k,O[k]);if(it)for(var k of it(O))Or.call(O,k)&&wr(C,k,O[k]);return C},Nr=(C,O)=>et(C,we(O)),Dr={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[Rr.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Rr.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[Rr.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Rr.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Tr({},C)}})},*getMajorList({payload:C},{call:O,put:k,select:me}){const{userInfo:ze}=yield me(an=>an.user);if(ze!=null&&ze.school_id){const an=yield O(Ir.BA,ze.school_id);an&&an.data&&(yield k({type:"setMajorOrYearDataSource",payload:{key:Rr.k[0],value:an.data.map(ni=>({label:ni.name,value:ni.ec_major_school_id}))}}))}},*getYearList({payload:C},{call:O,put:k}){const me=yield O(Ir.Nx,C);me&&me.data&&(yield k({type:"setMajorOrYearDataSource",payload:{key:Rr.k[1],value:me.data.map(ze=>({label:ze.year,value:ze.ec_year_id}))}}))},*getCourseResultDetail({payload:C},{call:O,put:k}){console.log(C,"payload");const me=yield O(Ir.p1,C);me&&me.ec_course_target&&(yield k({type:"setEchartsData",payload:me}))},*getCourseResultDetailClass({payload:C},{call:O,put:k}){const me=yield O(Ir.ff,C);me&&me.class_name&&(yield k({type:"save",payload:{classDataSource:{active:null,dataList:[...me.class_name]}}}))},*setClassActive({payload:C},{call:O,put:k}){yield k({type:"save",payload:{classDataSource:Tr({},C)}})}},reducers:{save(C,O){return Tr(Tr({},C),O.payload)},setMajorOrYearDataSource(C,{payload:O}){return Nr(Tr({},C),{headerData:Nr(Tr({},C.headerData),{dataSource:Nr(Tr({},C.headerData.dataSource),{[O.key]:Nr(Tr({},C.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(C,{payload:O}){return Nr(Tr({},C),{headerData:Nr(Tr({},C.headerData),{active:Nr(Tr({},C.headerData.active),{[O.key]:O.value})})})},setEchartsData(C,{payload:O}){let k={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},me={name:O.course_name||"",xData:[],seriesData:[]},ze={};return O.ec_course_target.forEach((an,ni)=>{an.position=ni+1,k=Nr(Tr({},k),{dataSource:{xData:[...k.dataSource.xData,ni+1],yBarData:[...k.dataSource.yBarData,an.actual_grade],yLineData:[...k.dataSource.yLineData,an.standard_grade]}});let Wi=[],Bi={min:[],max:[]},es=[],Ds=[],ii=[];an.student_data.detail.forEach((As,bo)=>{let js=As.score;Wi.push(bo+1),Bi.max.push(js>=an.student_data.goal_score?js:null),Bi.min.push(js>=an.student_data.goal_score?null:js),es.push(As.name),Ds.push(As.student_id),ii.push(As.clazz)}),ze[ni+1]={name:ni+1,average_score:an.student_data.average_score,goal_score:an.student_data.goal_score,xData:Wi,yData:Bi,name_data:es,student_ids:Ds,class_data:ii,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)}}),O.history.forEach(an=>{me=Nr(Tr({},me),{xData:[...me.xData,an.year],seriesData:[...me.seriesData,an.total_score]})}),Nr(Tr({},C),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:k,lineData:me,scatterData:ze}})}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},un=Object.defineProperty,tn=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,la=(C,O,k)=>O in C?un(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,gi=(C,O)=>{for(var k in O||(O={}))ln.call(O,k)&&la(C,k,O[k]);if(tn)for(var k of tn(O))En.call(O,k)&&la(C,k,O[k]);return C},On={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:gi({},C)}})},*setShowMenu({payload:C},{call:O,put:k}){yield k({type:"save",payload:{showMenu:C}})},*setMatrixVerify({payload:C},{call:O,put:k}){yield k({type:"save",payload:{matrixVerify:gi({},C)}})}},reducers:{save(C,O){return gi(gi({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Di=e(43473),Fi=Object.defineProperty,oa=Object.defineProperties,ws=Object.getOwnPropertyDescriptors,Sa=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,Us=Object.prototype.propertyIsEnumerable,ja=(C,O,k)=>O in C?Fi(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,na=(C,O)=>{for(var k in O||(O={}))Ha.call(O,k)&&ja(C,k,O[k]);if(Sa)for(var k of Sa(O))Us.call(O,k)&&ja(C,k,O[k]);return C},Ai=(C,O)=>oa(C,ws(O)),qa={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[Rr.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Rr.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[Rr.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Rr.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:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:na({},C)}})},*getMajorList({},{call:C,put:O,select:k}){const{userInfo:me}=yield k(ze=>ze.user);if(me!=null&&me.school_id){const ze=yield C(Ir.BA,me.school_id);if(ze&&ze.data){const an=Di.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:Rr.k[0],value:ze.data.map(ni=>({label:ni.name,value:ni.ec_major_school_id})),active:ze.data.length>0?an[0]||ze.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:C},{call:O,put:k,select:me}){const ze=yield O(Ir.Nx,C.id),{userInfo:an}=yield me(ni=>ni.user);if(ze&&ze.data){const ni=Di.U.getItem(an==null?void 0:an.login);yield k({type:"setMajorOrYearDataSource",payload:{key:Rr.k[1],value:ze.data.map(Wi=>({label:Wi.year,value:Wi.ec_year_id})),active:ze.data.length>0?C.firstEnter?ni[1]:ze.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:C,put:O,select:k}){const{headerData:me}=yield k(ni=>ni.engineeringNavigtion),{userInfo:ze}=yield k(ni=>ni.user);let an={};if(me.active[Rr.k[1]]&&ze.school_id){const ni=[me.active[Rr.k[0]],me.active[Rr.k[1]]];Di.U.setItem(ze==null?void 0:ze.login,ni);const Wi=yield C(Ir.bA,{ec_year_id:me.active[Rr.k[1]],school_id:ze.school_id});Wi&&Wi.data&&(an=Wi.data),yield O({type:"setTopPage",payload:an})}},*putTopPageName({payload:C,callback:O},{call:k,put:me}){try{const ze=yield k(Ir.ay,C);O(ze)}catch(ze){let an="";ze&&(an=JSON.stringify(ze),ze.message&&(an=ze.message)),O({message:an,status:999})}}},reducers:{save(C,O){return na(na({},C),O.payload)},setMajorOrYearDataSource(C,{payload:O}){let k=C.headerData.active;return O.active&&(k=Ai(na({},k),{[O.key]:O.active})),Ai(na({},C),{headerData:Ai(na({},C.headerData),{dataSource:Ai(na({},C.headerData.dataSource),{[O.key]:Ai(na({},C.headerData.dataSource[O.key]),{dataList:O.value})}),active:k})})},setMajorOrYearActive(C,{payload:O}){return Ai(na({},C),{headerData:Ai(na({},C.headerData),{active:Ai(na({},C.headerData.active),{[O.key]:O.value})})})},setTopPage(C,{payload:O}){return Ai(na({},C),{headerData:Ai(na({},C.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:Ai(na({},C.cardListData),{appraiseData:Ai(na({},C.cardListData.appraiseData),{norm:Ai(na({},C.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:C.cardListData.appraiseData.norm.listData.map(k=>Ai(na({},k),{value:O[k.key]||0}))}),course:Ai(na({},C.cardListData.appraiseData.course),{result:O.course_result,listData:C.cardListData.appraiseData.course.listData.map(k=>Ai(na({},k),{value:O[k.key]||0}))})}),teamData:{teach:Ai(na({},C.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:Ai(na({},C.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:C.totalListData.map(k=>Ai(na({},k),{value:O[k.key]||0}))})}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Cs=Object.defineProperty,Ni=Object.defineProperties,Ts=Object.getOwnPropertyDescriptors,xo=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,hs=Object.prototype.propertyIsEnumerable,Hi=(C,O,k)=>O in C?Cs(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Vs=(C,O)=>{for(var k in O||(O={}))La.call(O,k)&&Hi(C,k,O[k]);if(xo)for(var k of xo(O))hs.call(O,k)&&Hi(C,k,O[k]);return C},kn=(C,O)=>Ni(C,Ts(O)),uo={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Vs({},C)}})},*getGraduationResultDetail({payload:C},{call:O,put:k}){const me=yield O(Ir.gq,C);yield k({type:"save",payload:{dataSource:me}})}},reducers:{save(C,O){return Vs(Vs({},C),O.payload)},setDataSource(C,{payload:O}){let k=O;return kn(Vs({},C),{dataSource:k})}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Ls=e(8591),Ki=Object.defineProperty,Aa=Object.defineProperties,Da=Object.getOwnPropertyDescriptors,cs=Object.getOwnPropertySymbols,zs=Object.prototype.hasOwnProperty,wo=Object.prototype.propertyIsEnumerable,Eo=(C,O,k)=>O in C?Ki(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Zs=(C,O)=>{for(var k in O||(O={}))zs.call(O,k)&&Eo(C,k,O[k]);if(cs)for(var k of cs(O))wo.call(O,k)&&Eo(C,k,O[k]);return C},Ms=(C,O)=>Aa(C,Da(O)),ca=(C,O)=>{var k={};for(var me in C)zs.call(C,me)&&O.indexOf(me)<0&&(k[me]=C[me]);if(C!=null&&cs)for(var me of cs(C))O.indexOf(me)<0&&wo.call(C,me)&&(k[me]=C[me]);return k},So={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[Rr.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Rr.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[Rr.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Rr.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Zs({},C)}})},*getMajorList({},{call:C,put:O,select:k}){const{userInfo:me}=yield k(ze=>ze.user);if(me!=null&&me.school_id){const ze=yield C(Ir.BA,me.school_id);if(ze&&ze.data){const an=Di.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:Rr.k[0],value:ze.data.map(ni=>({label:ni.name,value:ni.ec_major_school_id})),active:ze.data.length>0?an[0]||ze.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:C},{call:O,put:k,select:me}){const ze=yield O(Ir.Nx,C.id),{userInfo:an}=yield me(ni=>ni.user);if(ze&&ze.data){const ni=Di.U.getItem(an==null?void 0:an.login);yield k({type:"setMajorOrYearDataSource",payload:{key:Rr.k[1],value:ze.data.map(Wi=>({label:Wi.year,value:Wi.ec_year_id})),active:ze.data.length>0?C.firstEnter?ni[1]:ze.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:C,put:O,select:k}){const{headerData:me}=yield k(es=>es.engineeringNormList),{userInfo:ze}=yield k(es=>es.user);let an=[],ni=[],Wi="";const Bi=me.active[Rr.k[1]];if(Bi){const es=[me.active[Rr.k[0]],me.active[Rr.k[1]]];Di.U.setItem(ze==null?void 0:ze.login,es);const Ds=yield C(Ir.eM,Bi);Ds&&Ds.graduation_requirements&&(Wi=Ds.all_goal_value||"",an=Ds.graduation_requirements.map(ii=>{var As=ii,{subitems:bo}=As,js=ca(As,["subitems"]);return ni.push(js.id),Ms(Zs({},js),{children:bo})}))}yield O({type:"save",payload:{tabListData:an,all_goal_value:Wi,expandedRowKeys:ni}})},*exportGraduation({},{call:C,select:O}){const{headerData:k}=yield O(me=>me.engineeringNormList);k.active[Rr.k[1]]&&(yield C(Ir.OE,k.active[Rr.k[1]]))},*compute({payload:C},{call:O,put:k}){const me=C,{all:ze}=me,an=ca(me,["all"]),ni=yield O(ze?Ir.Qx:Ir.Xl,an);ni&&ni.status===0?(Ls.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield k({type:"getGraduationResults"})):Ls.ZP.error(ni.message)},*getFormulas({callback:C},{call:O,select:k}){const{headerData:me}=yield k(ze=>ze.engineeringNormList);if(me.active[Rr.k[1]]){const ze=yield O(Ir.mK,me.active[Rr.k[1]]);C(ze)}},*setFormulas({payload:C,callback:O},{call:k}){const me=yield k(Ir.y9,C);O(me)},*putGoalValue({payload:C},{call:O,put:k}){const me=yield O(Ir.No,C);if(me&&me.status===0)Ls.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield k({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield k({type:"getGraduationResults"});else{let ze="\u4FDD\u5B58\u5931\u8D25";me&&me.message&&(ze=me.message),Ls.ZP.error(ze)}}},reducers:{save(C,O){return Zs(Zs({},C),O.payload)},setMajorOrYearDataSource(C,{payload:O}){let k=C.headerData.active;return O.active&&(k=Ms(Zs({},k),{[O.key]:O.active})),Ms(Zs({},C),{headerData:Ms(Zs({},C.headerData),{dataSource:Ms(Zs({},C.headerData.dataSource),{[O.key]:Ms(Zs({},C.headerData.dataSource[O.key]),{dataList:O.value})}),active:k})})},setMajorOrYearActive(C,{payload:O}){return Ms(Zs({},C),{headerData:Ms(Zs({},C.headerData),{active:Ms(Zs({},C.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},fo=e(27511),Io=Object.defineProperty,li=Object.getOwnPropertySymbols,ai=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,ts=(C,O,k)=>O in C?Io(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Ua=(C,O)=>{for(var k in O||(O={}))ai.call(O,k)&&ts(C,k,O[k]);if(li)for(var k of li(O))Wa.call(O,k)&&ts(C,k,O[k]);return C},Do={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:C},{call:O,put:k}){const me=yield O(fo.Si,C);return yield k({type:"save",payload:{forumsDetailData:Ua({},me)}}),me},*setForumsDetailData({payload:C},{call:O,put:k}){yield k({type:"save",payload:{forumsDetailData:Ua({},C)}})}},reducers:{save(C,O){return Ua(Ua({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Fo=Object.defineProperty,Ja=Object.getOwnPropertySymbols,du=Object.prototype.hasOwnProperty,Co=Object.prototype.propertyIsEnumerable,Xo=(C,O,k)=>O in C?Fo(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,hu=(C,O)=>{for(var k in O||(O={}))du.call(O,k)&&Xo(C,k,O[k]);if(Ja)for(var k of Ja(O))Co.call(O,k)&&Xo(C,k,O[k]);return C},To={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:C},{call:O,put:k}){const me=yield O(C.memoType==="shixun_discuss"?fo.kd:fo.bc,C);return delete C.memoType,yield k({type:"save",payload:{listParams:C,forumsData:hu({},me)}}),me}},reducers:{save(C,O){return hu(hu({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Ps=e(20127),gu=e(13820),Bo=e(28209),lo=e.n(Bo),zo=Object.defineProperty,ru=Object.getOwnPropertySymbols,qo=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,Fs=(C,O,k)=>O in C?zo(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Xs=(C,O)=>{for(var k in O||(O={}))qo.call(O,k)&&Fs(C,k,O[k]);if(ru)for(var k of ru(O))Oo.call(O,k)&&Fs(C,k,O[k]);return C},ko={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:C},{call:O,put:k}){var me,ze;const an=yield O(Ps.D2,C);gu.Z.ONLYOFFICE=(me=an==null?void 0:an.setting)==null?void 0:me.office_server_url,qt(an);try{const Bi="5183666c72eec9e4",es="5183666c72eec9e4";var ni=lo().enc.Utf8.parse(Bi);let Ds=lo().enc.Utf8.parse(es);var Wi=lo().AES.decrypt(((ze=an==null?void 0:an.setting)==null?void 0:ze.user_default_password)||"",ni,{iv:Ds,mode:lo().mode.CBC});an.setting.user_default_password=Wi.toString(lo().enc.Utf8)}catch(Bi){}yield k({type:"save",payload:Xs({},an)})},*getSystemUpdate({payload:C},{call:O,put:k}){const me=yield O(Ps.n0,C);yield k({type:"save",payload:{updateData:Xs({},me)}})},*setTheme({payload:C},{call:O,put:k}){const me=yield O(Ps.n0,C);yield k({type:"save",payload:{theme:C||"default"}})},*setShareData({payload:C},{call:O,put:k}){yield k({type:"save",payload:{shareData:C}})},*setGlobalLoading({payload:C},{call:O,put:k}){yield k({type:"save",payload:{globalLoading:Xs({},C)}})},*delayTipToggle({payload:C},{call:O,put:k}){yield k({type:"save",payload:{showTip:C}})},*headerToggle({payload:C},{call:O,put:k}){yield k({type:"save",payload:{showHeader:C}})},*footerToggle({payload:C},{call:O,put:k}){yield k({type:"save",payload:{showFooter:C}})},*headerFooterToggle({payload:C},{call:O,put:k}){yield k({type:"save",payload:{showHeaderFooter:C}})},*delayTipToggle({payload:C},{call:O,put:k}){yield k({type:"save",payload:{showTip:C}})},*headerFixedToggle({payload:C},{call:O,put:k}){yield k({type:"save",payload:{showHeaderFixed:C}})},*onlyShowBackTopToggle({payload:C},{call:O,put:k}){yield k({type:"save",payload:{onlyShowBackTop:C}})},*onlyShowBackTopIconToggle({payload:C},{call:O,put:k}){yield k({type:"save",payload:{onlyShowBackTopIcons:C}})},*setOperateModel({payload:C},{call:O,put:k}){yield k({type:"save",payload:{operateModel:C}})},*setOperateModelPath({payload:C},{call:O,put:k}){yield k({type:"save",payload:{operateModelPath:C}})},*setShowQuestionBackTop({payload:C},{call:O,put:k}){yield k({type:"save",payload:{showQuestionBackTop:C}})},*setInfoData({payload:C},{call:O,put:k}){yield k({type:"save",payload:{infoData:Xs({},C)}})},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Xs({},C)}})}},reducers:{save(C,O){return Xs(Xs({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{})}}};const qt=(C={})=>{var O,k,me,ze,an;if(window.self!==window.top||!((O=C.setting)!=null&&O.tab_logo_url))return;const ni=document.createElement("link"),Wi=document.getElementById("dynamic-favicon");ni.id="dynamic-favicon",ni.rel="shortcut icon",ni.href=(k=C.setting)!=null&&k.tab_logo_url?`${gu.Z.IMG_SERVER}/${(me=C.setting)==null?void 0:me.tab_logo_url}`:"",Wi&&document.head.removeChild(Wi),document.head.appendChild(ni);try{(ze=C.setting)!=null&&ze.main_site||(document.querySelector('meta[name="keywords"]').content=(an=C.setting)==null?void 0:an.name,document.querySelector('meta[name="description"]').remove())}catch(Bi){}};var lr=e(46402),sr=Object.defineProperty,vr=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,yn=Object.prototype.propertyIsEnumerable,xn=(C,O,k)=>O in C?sr(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Bn=(C,O)=>{for(var k in O||(O={}))Er.call(O,k)&&xn(C,k,O[k]);if(vr)for(var k of vr(O))yn.call(O,k)&&xn(C,k,O[k]);return C},Kn={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:C},{call:O,put:k}){return yield O(lr.Xh,C)},*getGraduationsFinalScore({payload:C},{call:O,put:k}){return yield O(lr.H3,C)},*getDelGraduationsTasks({payload:C},{call:O,put:k}){return yield O(lr.km,C)},*getGraduationsTasks({payload:C},{call:O,put:k}){const me=yield O(lr.Xw,C);yield k({type:"save",payload:{Tasks:me}})},*getGraduationsTeachers({payload:C},{call:O,put:k}){var me;const ze=yield O(lr.AA,C);return(me=ze==null?void 0:ze.data)==null||me.map(an=>(an.key=an.id,an)),yield k({type:"save",payload:{teachers:ze}}),ze},*getGraduationsStudents({payload:C},{call:O,put:k}){var me;const ze=yield O(lr.eh,C);(me=ze==null?void 0:ze.data)==null||me.map(an=>(an.key=an.id,an)),yield k({type:"save",payload:{students:ze}})},*getGraduationsNotices({payload:C},{call:O,put:k}){const me=yield O(lr.Rk,C);yield k({type:"save",payload:{Notices:me}})},*getGraduationsInfo({payload:C},{call:O,put:k}){const me=yield O(lr.F7,C);yield k({type:"save",payload:{graduation:me.graduation}})},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Bn({},C)}})},*setUpdateIndex({payload:C},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:C},{call:O,put:k}){const me=yield O(lr.Ou,C);yield k({type:"save",payload:{details:(me==null?void 0:me.graduation)||{},menus:(me==null?void 0:me.data)||[],forTask:(me==null?void 0:me.for_task)||[]}})}},reducers:{save(C,O){return Bn(Bn({},C),O.payload)}}},or=e(20114),Br=Object.defineProperty,xr=Object.defineProperties,pn=Object.getOwnPropertyDescriptors,jn=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,zn=(C,O,k)=>O in C?Br(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,si=(C,O)=>{for(var k in O||(O={}))ft.call(O,k)&&zn(C,k,O[k]);if(jn)for(var k of jn(O))Pn.call(O,k)&&zn(C,k,O[k]);return C},qi=(C,O)=>xr(C,pn(O)),ji={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:C},{call:O,put:k}){const me=yield O(or.Tt,{payload:C});yield k({type:"save",payload:qi(si({},me),{isloading:!0})})},*query({payload:C},{call:O,put:k}){yield k({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:C,callback:O},{call:k,put:me}){return yield k(or.LA,C)},*UploadNotice({payload:C,callback:O},{call:k,put:me}){return yield k(or.S_,C)}},reducers:{save(C,O){return si(si({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},ma=Object.defineProperty,zr=Object.defineProperties,Ca=Object.getOwnPropertyDescriptors,Es=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,ro=Object.prototype.propertyIsEnumerable,po=(C,O,k)=>O in C?ma(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,ds=(C,O)=>{for(var k in O||(O={}))fi.call(O,k)&&po(C,k,O[k]);if(Es)for(var k of Es(O))ro.call(O,k)&&po(C,k,O[k]);return C},Oa=(C,O)=>zr(C,Ca(O)),Bs={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(C,O){return ds(ds({},C),O.payload)},openModal(C,O){return Oa(ds({},C),{visibleModalName:O.payload})},closeModal(C){return Oa(ds({},C),{visibleModalName:""})},openSimpleModal(C,O){return Oa(ds({},C),{simpleModalProps:ds({visible:!0},O.payload)})},closeSimpleModal(C){return Oa(ds({},C),{simpleModalProps:{visible:!1}})}}},bn=e(205),gs=Object.defineProperty,Hs=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Mt=(C,O,k)=>O in C?gs(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Gt=(C,O)=>{for(var k in O||(O={}))Ye.call(O,k)&&Mt(C,k,O[k]);if(Hs)for(var k of Hs(O))qe.call(O,k)&&Mt(C,k,O[k]);return C},hr=(C,O,k)=>new Promise((me,ze)=>{var an=Bi=>{try{Wi(k.next(Bi))}catch(es){ze(es)}},ni=Bi=>{try{Wi(k.throw(Bi))}catch(es){ze(es)}},Wi=Bi=>Bi.done?me(Bi.value):Promise.resolve(Bi.value).then(an,ni);Wi((k=k.apply(C,O)).next())});const Lr=C=>hr(void 0,null,function*(){return(0,bn.ZP)("/api/paid_subjects/banner.json",{method:"get",params:Gt({},C)})}),jr=C=>hr(void 0,null,function*(){return(0,bn.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:Gt({},C)})}),_n=C=>hr(void 0,null,function*(){return(0,bn.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:Gt({},C)})}),rn=C=>hr(void 0,null,function*(){return(0,bn.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:Gt({},C)})}),vn=C=>hr(void 0,null,function*(){return(0,bn.ZP)("/api/paid_subjects.json",{method:"post",body:Gt({},C)})}),Wn=C=>hr(void 0,null,function*(){return(0,bn.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:Gt({},C)})}),ti=C=>hr(void 0,null,function*(){return(0,bn.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:Gt({},C)})}),hi=C=>hr(void 0,null,function*(){return(0,bn.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:Gt({},C)})});var Ii=Object.defineProperty,Qi=Object.getOwnPropertySymbols,Ri=Object.prototype.hasOwnProperty,Ei=Object.prototype.propertyIsEnumerable,fa=(C,O,k)=>O in C?Ii(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Si=(C,O)=>{for(var k in O||(O={}))Ri.call(O,k)&&fa(C,k,O[k]);if(Qi)for(var k of Qi(O))Ei.call(O,k)&&fa(C,k,O[k]);return C},da={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:C},{call:O,put:k}){const{data:{adv:me,top_banner:ze}}=yield O(Lr,C);yield k({type:"save",payload:{BannerList:ze,Adv:me}})},*getTopCategoryList({payload:C},{call:O,put:k}){const{data:{top_category_list:me}}=yield O(jr,C);yield k({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...me]}})},*getHotList({payload:C},{call:O,put:k}){const{data:{hot_list:me}}=yield O(_n,C);yield k({type:"save",payload:{HotList:me}})},*getDiscountList({payload:C},{call:O,put:k}){const{data:{discount_list:me}}=yield O(rn,C);yield k({type:"save",payload:{DiscountList:me}})},*getPaidSubjects({payload:C},{call:O,put:k}){const{data:me}=yield O(vn,C);yield k({type:"save",payload:{SubjectList:me}})},*getTags({payload:C},{call:O,put:k}){const{data:{list:me}}=yield O(Wn,C);yield k({type:"save",payload:{Tags:me}})},*getUserComments({payload:C},{call:O,put:k}){const{data:{list:me}}=yield O(ti,C);yield k({type:"save",payload:{UserComments:me}})},*getInfoShow({payload:C},{call:O,put:k}){const{data:me}=yield O(hi,C);yield k({type:"save",payload:{InfoShow:me}})}},reducers:{save(C,O){return Si(Si({},C),O.payload)}}},Ss={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Ma=e(30272),Fa=Object.defineProperty,Ga=Object.getOwnPropertySymbols,Oi=Object.prototype.hasOwnProperty,va=Object.prototype.propertyIsEnumerable,Ba=(C,O,k)=>O in C?Fa(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Ya=(C,O)=>{for(var k in O||(O={}))Oi.call(O,k)&&Ba(C,k,O[k]);if(Ga)for(var k of Ga(O))va.call(O,k)&&Ba(C,k,O[k]);return C},rs={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:C},{call:O,put:k}){const me=yield O(Ma.Ub,C);return yield k({type:"save",payload:{privateMessageDetails:me||[]}}),me},*getTidings({payload:C},{call:O,put:k}){const me=yield O(Ma.AD,C);yield k({type:"save",payload:{tidingsList:me||[]}})},*getPrivateMessages({payload:C},{call:O,put:k}){const me=yield O(Ma.V8,C);return yield k({type:"save",payload:{privateMessage:me||[]}}),me},*getUsersForPrivateMessages({payload:C},{call:O,put:k}){const me=yield O(Ma.QJ,C);return yield k({type:"save",payload:{userPrivateMessage:me||[]}}),me},*unreadMessageInfo({payload:C},{call:O,put:k}){const me=yield O(Ma.Ig,C);yield k({type:"save",payload:{unreadInfo:me||[]}})},*getRecentContacts({payload:C},{call:O,put:k}){const me=yield O(Ma.Ko,C);return yield k({type:"save",payload:{recentContacts:me||[]}}),me},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ya({},C)}})}},reducers:{save(C,O){return Ya(Ya({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},ba=e(15488),Ks=e(61737),Ra=e(38081),Ws=Object.defineProperty,ha=Object.defineProperties,Va=Object.getOwnPropertyDescriptors,Is=Object.getOwnPropertySymbols,ga=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Se=(C,O,k)=>O in C?Ws(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,gr=(C,O)=>{for(var k in O||(O={}))ga.call(O,k)&&Se(C,k,O[k]);if(Is)for(var k of Is(O))ye.call(O,k)&&Se(C,k,O[k]);return C},Jr=(C,O)=>ha(C,Va(O));const br=(C,O)=>{var k,me,ze,an,ni,Wi,Bi,es,Ds;if(!C)return;const{exam:ii,single_questions:As,multiple_questions:bo,judgement_questions:js,program_questions:to,completion_questions:bl,subjective_questions:Fl,practical_questions:xl,combination_questions:Bl,bprogram_questions:Ju}=C||{},Au=[gr({type:"SINGLE",question_type:0,name:((k=O==null?void 0:O.find(ms=>ms.value==Ra.fw[0].nameType))==null?void 0:k.name)||Ra.fw[0].name},As),gr({type:"MULTIPLE",question_type:1,name:((me=O==null?void 0:O.find(ms=>ms.value==Ra.fw[1].nameType))==null?void 0:me.name)||Ra.fw[1].name},bo),gr({type:"JUDGMENT",question_type:2,name:((ze=O==null?void 0:O.find(ms=>ms.value==Ra.fw[2].nameType))==null?void 0:ze.name)||Ra.fw[2].name},js),gr({type:"PROGRAM",question_type:6,name:((an=O==null?void 0:O.find(ms=>ms.value==Ra.fw[6].nameType))==null?void 0:an.name)||Ra.fw[6].name},to),gr({type:"COMPLETION",question_type:3,name:((ni=O==null?void 0:O.find(ms=>ms.value==Ra.fw[3].nameType))==null?void 0:ni.name)||Ra.fw[3].name},bl),gr({type:"SUBJECTIVE",question_type:4,name:((Wi=O==null?void 0:O.find(ms=>ms.value==Ra.fw[4].nameType))==null?void 0:Wi.name)||Ra.fw[4].name},Fl),gr({type:"PRACTICAL",question_type:5,name:((Bi=O==null?void 0:O.find(ms=>ms.value==Ra.fw[5].nameType))==null?void 0:Bi.name)||Ra.fw[5].name},xl),gr({type:"COMBINATION",question_type:7,name:((es=O==null?void 0:O.find(ms=>ms.value==Ra.fw[7].nameType))==null?void 0:es.name)||Ra.fw[7].name},Bl),gr({type:"BPROGRAM",question_type:8,name:((Ds=O==null?void 0:O.find(ms=>ms.value==Ra.fw[8].nameType))==null?void 0:Ds.name)||Ra.fw[8].name},Ju)],rc=[];if(C.sort_by_qustion_type)for(const ms of C.qustion_type_order_name_en)rc.push(Au.find(zu=>zu.type===ms));const Cu=(C.sort_by_qustion_type?rc:Au).filter(ms=>(ms==null?void 0:ms.questions_count)>0).map((ms,zu)=>{var nc;return gr(gr({},ms),{number:(0,Ks.EM)(zu+1),questions:(nc=ms==null?void 0:ms.questions)==null?void 0:nc.map(Go=>Jr(gr({},Go),{shixun:Go.examination_bank_shixun_challenges,question_type:ms.question_type}))})});return{exam:ii,questionList:Cu}};var Yr=e(61195),An=Object.defineProperty,Jn=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,Mn=(C,O,k)=>O in C?An(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Cn=(C,O)=>{for(var k in O||(O={}))Li.call(O,k)&&Mn(C,k,O[k]);if(Jn)for(var k of Jn(O))Rn.call(O,k)&&Mn(C,k,O[k]);return C},Na={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:C},{call:O,put:k}){return yield O(ba.a2,C)},*postCheckExaminationBanks({payload:C},{call:O,put:k}){return yield O(ba.q$,C)},*postPaperlibraryCopy({payload:C},{call:O,put:k}){return yield O(ba.ID,C)},*getDisciplines({payload:C},{call:O,put:k}){const me=yield O(ba.d1,C);return yield k({type:"save",payload:{disciplinesData:Cn({},me)}}),me},*getCustomDisciplines({payload:C},{call:O,put:k}){const me=yield O(ba.ar,C);return yield k({type:"save",payload:{disciplinesData:Cn({},me)}}),me},*getEditDisciplines({payload:C},{call:O,put:k}){const me=yield O(ba.d1,C),ze=me==null?void 0:me.disciplines,an=(0,Yr.L)(ze);return yield k({type:"save",payload:{courseOptions:an,disciplinesData:Cn({},me)}}),me},*getTeachGroupData({payload:C},{call:O,put:k}){const me=yield O(ba.Dm,C);return yield k({type:"save",payload:{teachGroupData:Cn({},me)}}),me},*getPaperData({payload:C},{call:O,put:k}){const me=yield O(ba.iT,C),ze=yield O(ba.cV,C),an=br(me,ze.data);return yield k({type:"save",payload:{paperData:an}}),me},*getPaperlibraryList({payload:C},{call:O,put:k}){return yield O(ba.Gd,C)},*setPublic({payload:C},{call:O,put:k}){return yield O(ba.DF,C)},*handleDelete({payload:C},{call:O,put:k}){return yield O(ba.fn,C)},*getCourseList({payload:C},{call:O,put:k}){return yield O(ba.tS,C)},*postBatchSendToCourse({payload:C},{call:O,put:k}){return yield O(ba.lc,C)},*sendToClass({payload:C},{call:O,put:k}){return yield O(ba.kp,C)},*adjustPosition({payload:C},{call:O,put:k}){return yield O(ba.qN,C)},*setScore({payload:C},{call:O,put:k}){return yield O(ba.ts,C)},*handleDeleteEditQuestion({payload:C},{call:O,put:k}){return yield O(ba.NC,C)},*batchSetScore({payload:C},{call:O,put:k}){return yield O(ba.YP,C)},*batchDelete({payload:C},{call:O,put:k}){return yield O(ba.Hm,C)},*updatePaper({payload:C},{call:O,put:k}){return yield O(ba.jK,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Cn({},C)}})}},reducers:{save(C,O){return Cn(Cn({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},_o=Object.defineProperty,io=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,gl=Object.prototype.propertyIsEnumerable,al=(C,O,k)=>O in C?_o(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Gu=(C,O)=>{for(var k in O||(O={}))nu.call(O,k)&&al(C,k,O[k]);if(io)for(var k of io(O))gl.call(O,k)&&al(C,k,O[k]);return C},Iu={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:C,callback:O},{call:k,put:me}){const ze=yield k(ba.Dq,C);return yield me({type:"save",payload:{exerciseExportHeadData:Gu({},ze)}}),ze},*editExercise({payload:C,callback:O},{call:k,put:me}){const ze=yield k(ba.Di,C);return yield me({type:"save",payload:{editData:Gu({},ze)}}),ze},*getTagDiscipline({payload:C,callback:O},{call:k,put:me}){const ze=yield k(je.YY,C);return yield me({type:"save",payload:{tagDisciplineData:Gu({},ze)}}),ze},*editExerciseQuestion({payload:C,callback:O},{call:k,put:me}){return yield k(ba.oF,C)},*addExerciseQuestion({payload:C,callback:O},{call:k,put:me}){return yield k(ba.oF,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Gu({},C)}})}},reducers:{save(C,O){return Gu(Gu({},C),O.payload)},modifyTitle(C,O){const k=(0,Me.cloneDeep)(C);return k.editData.exercise.exercise_name=O.payload,k}},subscriptions:{setup({dispatch:C,history:O}){}}},We=e(83618),W=Object.defineProperty,X=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Te=(C,O,k)=>O in C?W(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Ve=(C,O)=>{for(var k in O||(O={}))te.call(O,k)&&Te(C,k,O[k]);if(X)for(var k of X(O))pe.call(O,k)&&Te(C,k,O[k]);return C},Bt={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:C},{call:O,put:k}){const me=yield O(We.Ax,C);yield k({type:"save",payload:{discusses:Ve({},me)}})},*getPathsDetail({payload:C},{call:O,put:k}){const me=yield O(We.lk,C);return yield k({type:"save",payload:{detail:Ve({},me)}}),me},*getCourseDetail({payload:C},{call:O,put:k}){const me=yield O(We.Sp,C);return yield k({type:"save",payload:{detail:Ve({},me)}}),me},*getRightData({payload:C},{call:O,put:k}){const me=yield O(We.AQ,C);yield k({type:"save",payload:{rightData:Ve({},me)}})},*getCoureses({payload:C},{call:O,put:k}){const me=yield O(We.ue,C);yield k({type:"save",payload:{Courses:Ve({},me)}})},*getStageChildrenData({payload:C},{call:O,put:k}){const me=yield O(We.w4,C);return yield k({type:"save",payload:{StageChildrenData:me}}),me},*getStageData({payload:C},{call:O,put:k}){var me,ze;let an=null;C!=null&&C.show_course_section?an=yield O(We.yN,C):an=yield O(We.p,C),yield k({type:"save",payload:{stageData:((me=an==null?void 0:an.data)==null?void 0:me.stages)||(an==null?void 0:an.stages)||[],isShowSchedule:((ze=an==null?void 0:an.data)==null?void 0:ze.is_show_schedule)||(an==null?void 0:an.is_show_schedule)||!1}})},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Ve({},C)}})}},reducers:{save(C,O){return Ve(Ve({},C),O.payload)}}},nr=Object.defineProperty,Pr=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,wn=(C,O,k)=>O in C?nr(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,In=(C,O)=>{for(var k in O||(O={}))Wr.call(O,k)&&wn(C,k,O[k]);if(Pr)for(var k of Pr(O))nn.call(O,k)&&wn(C,k,O[k]);return C},di={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:C},{call:O,put:k}){const me=C,ze=yield O(We.tS,C);return yield k({type:"save",payload:In({listParams:me},ze)}),ze},*getMenus({payload:C},{call:O,put:k}){const me=yield O(We.fh,C);yield k({type:"save",payload:{menus:me}})},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:In({},C)}})},*clearListParams({payload:C},{call:O,put:k}){yield k({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(C,O){return In(In({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Sr=Object.defineProperty,ea=Object.getOwnPropertySymbols,aa=Object.prototype.hasOwnProperty,os=Object.prototype.propertyIsEnumerable,Ka=(C,O,k)=>O in C?Sr(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,ys=(C,O)=>{for(var k in O||(O={}))aa.call(O,k)&&Ka(C,k,O[k]);if(ea)for(var k of ea(O))os.call(O,k)&&Ka(C,k,O[k]);return C},Ta={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:C},{call:O,put:k}){return yield O(We.tu,C)},*submitCourse({payload:C},{call:O,put:k}){return yield O(We.pU,C)},*getEditCourseData({payload:C},{call:O,put:k}){return yield O(We.mQ,C)},*getSchoolOption({payload:C},{call:O,put:k}){return yield O(We.GY,C)},*appplySchool({payload:C},{call:O,put:k}){return yield O(We.bz,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:ys({},C)}})}},reducers:{save(C,O){return ys(ys({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Ns=Object.defineProperty,$s=Object.defineProperties,pa=Object.getOwnPropertyDescriptors,Qs=Object.getOwnPropertySymbols,Po=Object.prototype.hasOwnProperty,Ro=Object.prototype.propertyIsEnumerable,za=(C,O,k)=>O in C?Ns(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,mo=(C,O)=>{for(var k in O||(O={}))Po.call(O,k)&&za(C,k,O[k]);if(Qs)for(var k of Qs(O))Ro.call(O,k)&&za(C,k,O[k]);return C},iu=(C,O)=>$s(C,pa(O)),sl={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:C},{call:O,put:k}){const me=yield O(We.nq,C);yield k({type:"save",payload:{SubjectUseInfos:me}})},*getRankList({payload:C},{call:O,put:k}){const me=yield O(We.Fg,C);yield k({type:"save",payload:{RankList:iu(mo({},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:C},{call:O,put:k}){const me=yield O(We.Gz,C);yield k({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:C},{call:O,put:k}){const me=yield O(We.hS,C);yield k({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:C},{call:O,put:k}){const me=yield O(We.Hl,C);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(C,O){return mo(mo({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Za=e(36005),Du=Object.defineProperty,ns=Object.getOwnPropertySymbols,pu=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,No=(C,O,k)=>O in C?Du(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,vo=(C,O)=>{for(var k in O||(O={}))pu.call(O,k)&&No(C,k,O[k]);if(ns)for(var k of ns(O))Ou.call(O,k)&&No(C,k,O[k]);return C},au={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:C},{call:O,put:k}){const me=yield O(Za.ex,C);return yield k({type:"save",payload:{groupfolderList:me}}),me},*getDisciplines({payload:C},{call:O,put:k}){const me=yield O(Za.d1,C);return yield k({type:"save",payload:{disciplinesData:vo({},me)}}),me},*getEditDisciplines({payload:C},{call:O,put:k}){const me=yield O(Za.d1,C),ze=me==null?void 0:me.disciplines,an=(0,Yr.L)(ze);return yield k({type:"save",payload:{courseOptions:an,disciplinesData:vo({},me)}}),me},*getBasketList({payload:C},{call:O,put:k}){const me=yield O(Za.Qj,C);return yield k({type:"save",payload:{basketData:vo({},me)}}),me},*getTeachGroupData({payload:C},{call:O,put:k}){const me=yield O(Za.Dm,C);return yield k({type:"save",payload:{teachGroupData:vo({},me)}}),me},*getEditData({payload:C},{call:O,put:k}){const me=yield O(Za.FG,C);return yield k({type:"save",payload:{editData:vo({},me)}}),me},*getEditDataBprogram({payload:C},{call:O,put:k}){const me=yield O(Za.Bo,C);return yield k({type:"save",payload:{editData:vo({},me)}}),me},*getGroupData({payload:C},{call:O,put:k}){const me=yield O(Za.hI,C);return yield k({type:"save",payload:{groupData:vo({},me)}}),me},*getItemBanks({payload:C},{call:O,put:k}){const me=yield O(Za.Of,C);return yield k({type:"save",payload:{itemBanks:vo({},me)}}),me},*setPrivate({payload:C},{call:O,put:k}){return yield O(Za.Pl,C)},*revokePublish({payload:C},{call:O,put:k}){return yield O(Za.IJ,C)},*setPublic({payload:C},{call:O,put:k}){return yield O(Za.DF,C)},*handleDelete({payload:C},{call:O,put:k}){return yield O(Za.fn,C)},*startExperience({payload:C},{call:O,put:k}){return yield O(Za.Bd,C)},*cancel({payload:C},{call:O,put:k}){return yield O(Za.al,C)},*select({payload:C},{call:O,put:k}){return yield O(Za.Ys,C)},*examUnselectAll({payload:C},{call:O,put:k}){return yield O(Za.rV,C)},*basketDelete({payload:C},{call:O,put:k}){return yield O(Za.x5,C)},*unselectAll({payload:C},{call:O,put:k}){return yield O(Za.HF,C)},*addKnowledge({payload:C},{call:O,put:k}){return yield O(Za.U6,C)},*editProblemset({payload:C},{call:O,put:k}){return yield O(Za.Wk,C)},*addProblemset({payload:C},{call:O,put:k}){return yield O(Za.Mr,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:vo({},C)}})}},reducers:{save(C,O){return vo(vo({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Wl=Object.defineProperty,Js=Object.getOwnPropertySymbols,Zo=Object.prototype.hasOwnProperty,ku=Object.prototype.propertyIsEnumerable,Gl=(C,O,k)=>O in C?Wl(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,yu=(C,O)=>{for(var k in O||(O={}))Zo.call(O,k)&&Gl(C,k,O[k]);if(Js)for(var k of Js(O))ku.call(O,k)&&Gl(C,k,O[k]);return C},Ku={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:C},{call:O,put:k}){const me=yield O(Za.iT,C),ze=(0,Yr.r)(me);return yield k({type:"save",payload:{paperData:ze}}),me},*getEditDisciplines({payload:C},{call:O,put:k}){const me=yield O(Za.d1,C),ze=me==null?void 0:me.disciplines,an=(0,Yr.L)(ze);return yield k({type:"save",payload:{courseOptions:an,disciplinesData:yu({},me)}}),me},*setScore({payload:C},{call:O,put:k}){return yield O(Za.ts,C)},*handleDelete({payload:C},{call:O,put:k}){return yield O(Za.Cn,C)},*batchSetScore({payload:C},{call:O,put:k}){return yield O(Za.YP,C)},*batchDelete({payload:C},{call:O,put:k}){return yield O(Za.Hm,C)},*adjustPosition({payload:C},{call:O,put:k}){return yield O(Za.qN,C)},*newPreviewProblemset({payload:C},{call:O,put:k}){return yield O(Za.et,C)},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:yu({},C)}})}},reducers:{save(C,O){return yu(yu({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},ol=e(14634),Cc=Object.defineProperty,ao=Object.getOwnPropertySymbols,cc=Object.prototype.hasOwnProperty,su=Object.prototype.propertyIsEnumerable,ul=(C,O,k)=>O in C?Cc(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,ou=(C,O)=>{for(var k in O||(O={}))cc.call(O,k)&&ul(C,k,O[k]);if(ao)for(var k of ao(O))su.call(O,k)&&ul(C,k,O[k]);return C},Hc={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:C},{call:O,put:k}){const me=yield O(ol.Go,C);return yield k({type:"save",payload:{restful:ou({},me)}}),me},*getRestfulDetail({payload:C},{call:O,put:k}){const me=yield O(ol.H5,C);return yield k({type:"save",payload:{restfulDetail:ou({},(me==null?void 0:me.data)||{})}}),(me==null?void 0:me.data)||{}},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:ou({},C)}})}},reducers:{save(C,O){return ou(ou({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},oi=e(63762);const Pc=(C={})=>{var O,k,me,ze,an,ni;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(O=C==null?void 0:C.content_info)==null?void 0:O.status,username:(k=C==null?void 0:C.content_info)==null?void 0:k.username,time:(me=C==null?void 0:C.content_info)==null?void 0:me.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(ze=C==null?void 0:C.perference_info)==null?void 0:ze.status,username:(an=C==null?void 0:C.perference_info)==null?void 0:an.username,time:(ni=C==null?void 0:C.perference_info)==null?void 0:ni.time}]};var Wc=Object.defineProperty,$o=Object.defineProperties,Cl=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,Vl=Object.prototype.hasOwnProperty,bu=Object.prototype.propertyIsEnumerable,Kl=(C,O,k)=>O in C?Wc(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,$a=(C,O)=>{for(var k in O||(O={}))Vl.call(O,k)&&Kl(C,k,O[k]);if(Ic)for(var k of Ic(O))bu.call(O,k)&&Kl(C,k,O[k]);return C},eo=(C,O)=>$o(C,Cl(O)),Yu={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:C},{call:O,put:k}){const me=yield O(oi.Po,C);return yield k({type:"save",payload:{detail:$a({},me)}}),me},*getMirrorApplies({payload:C},{call:O,put:k}){const me=yield O(oi.tX,C);return yield k({type:"save",payload:{mirrorApplies:$a({},(me==null?void 0:me.data)||{})}}),me},*getRightData({payload:C},{call:O,put:k}){const me=yield O(oi.AQ,C);yield k({type:"save",payload:{rightData:$a({},me)}})},*getChallengesData({payload:C},{call:O,put:k}){const me=yield O(oi.n5,C);yield k({type:"save",payload:{challenges:$a({},me)}})},*saveCopyForExercise({payload:C},{call:O,put:k}){return yield O(oi.FB,C)},*execJupyter({payload:C},{call:O,put:k}){return yield O(oi.BK,C)},*execShixun({payload:C},{call:O,put:k}){const me=yield O(oi.Ir,C);return(me==null?void 0:me.status)===-3&&(0,Ks.eF)(),me},*openChallenge({payload:C},{call:O,put:k}){return yield O(oi.dK,C)},*challengeMoveUp({payload:C},{call:O,put:k}){return yield O(oi.zD,C)},*challengeMoveDown({payload:C},{call:O,put:k}){return yield O(oi.hn,C)},*cancelCollect({payload:C},{call:O,put:k}){return yield O(oi.rs,C)},*collect({payload:C},{call:O,put:k}){return yield O(oi.KM,C)},*searchUserCourses({payload:C},{call:O,put:k}){return yield O(oi._7,C)},*sendToCourse({payload:C},{call:O,put:k}){return yield O(oi.Q,C)},*cancelRelease({payload:C},{call:O,put:k}){return yield O(oi.Ne,C)},*cancelPublic({payload:C},{call:O,put:k}){return yield O(oi.Er,C)},*applyPublic({payload:C},{call:O,put:k}){return yield O(oi.WO,C)},*release({payload:C},{call:O,put:k}){return yield O(oi.Ar,C)},*updateAuditSituation({payload:C},{call:O,put:k}){return yield O(oi.LP,C)},*getCollaboratorsData({payload:C},{call:O,put:k}){return yield O(oi.j8,C)},*addCollaborator({payload:C},{call:O,put:k}){return yield O(oi.OV,C)},*addTeachGroupMember({payload:C},{call:O,put:k}){return yield O(oi.l3,C)},*getChangeManager({payload:C},{call:O,put:k}){return yield O(oi.P2,C)},*changeManager({payload:C},{call:O,put:k}){return yield O(oi.X$,C)},*deleteCollaborators({payload:C},{call:O,put:k}){return yield O(oi.xk,C)},*getRankingList({payload:C},{call:O,put:k}){return yield O(oi.E4,C)},*getMirrorScript({payload:C},{call:O,put:k}){return yield O(oi.Z2,C)},*getScriptContent({payload:C},{call:O,put:k}){return yield O(oi.Bj,C)},*getCustomScript({payload:C},{call:O,put:k}){return yield O(oi.Wi,C)},*updateSettingBasicInfo({payload:C},{call:O,put:k}){return yield O(oi.ZO,C)},*getShixunQuote({payload:C},{call:O,put:k}){return yield O(oi.Gr,C)},*deleteShixun({payload:C},{call:O,put:k}){return yield O(oi.Ps,C)},*permanentClose({payload:C},{call:O,put:k}){return yield O(oi.U9,C)},*getDepartments({payload:C},{call:O,put:k}){return yield O(oi.Ql,C)},*updatePermissionSetting({payload:C},{call:O,put:k}){return yield O(oi.aH,C)},*updateLearnSetting({payload:C},{call:O,put:k}){return yield O(oi.yE,C)},*updateSetting({payload:C},{call:O,put:k}){return yield O(oi.m7,C)},*getSetData({payload:C},{call:O,put:k}){return yield O(oi.U0,C)},*deleteDataSet({payload:C},{call:O,put:k}){return yield O(oi.uo,C)},*deleteGitFile({payload:C},{call:O,put:k}){return yield O(oi.sr,C)},*deleteGitFiles({payload:C},{call:O,put:k}){return yield O(oi.p0,C)},*moveGitFile({payload:C},{call:O,put:k}){return yield O(oi.IT,C)},*moveGitFiles({payload:C},{call:O,put:k}){return yield O(oi.t2,C)},*getRepository({payload:C},{call:O,put:k}){const me=yield O(oi.Ag,C);return yield k({type:"save",payload:{repository:$a({},me)}}),$a({},me)},*getRepositorys({payload:C},{call:O,put:k}){const me=yield O(oi.Wl,C);return yield k({type:"save",payload:{repository:$a({},me)}}),$a({},me)},*getRepositorys({payload:C},{call:O,put:k}){const me=yield O(oi.Wl,C);return yield k({type:"save",payload:{repository:$a({},me)}}),$a({},me)},*getSecretRepository({payload:C},{call:O,put:k}){const me=yield O(oi.w,C);return yield k({type:"save",payload:{secretRepository:$a({},me)}}),me},*addRepositoryFile({payload:C},{call:O,put:k}){return yield O(oi.v3,C)},*addRepositoryFiles({payload:C},{call:O,put:k}){return yield O(oi.fL,C)},*getRepositoryCommit({payload:C},{call:O,put:k}){return yield O(oi.Je,C)},*getFileContent({payload:C},{call:O,put:k}){const me=yield O(oi.LK,C);return yield k({type:"save",payload:{fileContent:eo($a({},me),{params:C})}}),me},*getFileContents({payload:C},{call:O,put:k}){const me=yield O(oi.nu,C);return yield k({type:"save",payload:{fileContent:eo($a({},me),{params:C})}}),me},*updateRepositoryFile({payload:C},{call:O,put:k}){return yield O(oi.kF,C)},*updateRepositoryFiles({payload:C},{call:O,put:k}){return yield O(oi.jq,C)},*uploadGitFolder({payload:C},{call:O,put:k}){return yield O(oi.Op,C)},*updateCollaboratorEditable({payload:C},{call:O,put:k}){return yield O(oi.Dz,C)},*getSettingsData({payload:C},{call:O,put:k}){const me=yield O(oi.DC,C);yield k({type:"save",payload:{setting:$a({},me)}})},*getChallengesNew({payload:C},{call:O,put:k}){const me=yield O(oi.km,C);yield k({type:"save",payload:{challengesNew:$a({},me)}})},*getChallengesEdit({payload:C},{call:O,put:k}){const me=yield O(oi.q0,C);return yield k({type:"save",payload:{challengesEdit:$a({},me)}}),me},*getAuditSituationData({payload:C},{call:O,put:k}){const me=yield O(oi.GI,C),ze=Pc(me);yield k({type:"save",payload:{auditSituationData:ze}})},*getEditChallengesQuestion({payload:C},{call:O,put:k}){const me=yield O(oi.UQ,C);return yield k({type:"save",payload:{editChallengesQuestion:me}}),me},*getInfoWithJupyterLab({payload:C},{call:O,put:k}){const me=yield O(oi.mI,C);return yield k({type:"save",payload:{infoWithJupyterLab:me}}),me},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:$a({},C)}})}},reducers:{save(C,O){return console.log("reducers:",C,O),$a($a({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Yl=Object.defineProperty,Qo=Object.getOwnPropertySymbols,Dc=Object.prototype.hasOwnProperty,xu=Object.prototype.propertyIsEnumerable,Ru=(C,O,k)=>O in C?Yl(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,wu=(C,O)=>{for(var k in O||(O={}))Dc.call(O,k)&&Ru(C,k,O[k]);if(Qo)for(var k of Qo(O))xu.call(O,k)&&Ru(C,k,O[k]);return C},fc={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:C},{call:O,put:k}){const me=yield O(oi.he,C),ze=wu({},C);return yield k({type:"save",payload:wu({listParams:ze},me)}),me},*getMenus({payload:C},{call:O,put:k}){var me;const ze=yield O(oi.I_,C);(me=ze==null?void 0:ze.disciplines)==null||me.map(an=>(an.sub_repertoires=an.sub_disciplines,an)),yield k({type:"save",payload:{menus:[...(ze==null?void 0:ze.disciplines)||[]]}})},*clearListParams({payload:C},{call:O,put:k}){yield k({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(C,O){return wu(wu({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Tl=Object.defineProperty,ka=Object.getOwnPropertySymbols,sf=Object.prototype.hasOwnProperty,of=Object.prototype.propertyIsEnumerable,Mu=(C,O,k)=>O in C?Tl(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Xu=(C,O)=>{for(var k in O||(O={}))sf.call(O,k)&&Mu(C,k,O[k]);if(ka)for(var k of ka(O))of.call(O,k)&&Mu(C,k,O[k]);return C},Oc={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:C},{call:O,put:k}){const me=yield O(oi.b8,C);return yield k({type:"save",payload:{newData:Xu({},me)}}),me},*deleteAttachment({payload:C},{call:O,put:k}){return yield O(oi.OW,C)},*applyShixunMirror({payload:C},{call:O,put:k}){return yield O(oi.EH,C)},*submitShixuns({payload:C},{call:O,put:k}){return yield O(oi.eX,C)},*getShixunsJupyterLab({payload:C},{call:O,put:k}){const me=yield O(oi.Gu,C);return yield k({type:"save",payload:{newData:Xu({},me)}}),me},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Xu({},C)}})},*getEnvironmentData({payload:C},{call:O,put:k}){const me=yield O(oi.K,C);return console.log(me,"response"),yield k({type:"save",payload:{environmentData:Xu({},me.data)}}),me}},reducers:{save(C,O){return Xu(Xu({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){}}},uu=Object.defineProperty,kc=Object.getOwnPropertySymbols,dc=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,Rc=(C,O,k)=>O in C?uu(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,hc=(C,O)=>{for(var k in O||(O={}))dc.call(O,k)&&Rc(C,k,O[k]);if(kc)for(var k of kc(O))Xl.call(O,k)&&Rc(C,k,O[k]);return C},qu={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:C},{call:O,put:k}){const me=yield O(oi.e,C);yield k({type:"save",payload:{ShixunUseInfos:me}})},*getRankList({payload:C},{call:O,put:k}){const me=yield O(oi.Fg,C);yield k({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(me==null?void 0:me.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(me==null?void 0:me.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(me==null?void 0:me.quote_list)||[]]}}})},*getStatisticsBody({payload:C},{call:O,put:k}){const me=yield O(oi.Gz,C);yield k({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:C},{call:O,put:k}){const me=yield O(oi.hS,C);yield k({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:C},{call:O,put:k}){const me=yield O(oi.Hl,C);yield k({type:"save",payload:{SHeader:me}})}},reducers:{save(C,O){return hc(hc({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Pl=(C,O,k)=>new Promise((me,ze)=>{var an=Bi=>{try{Wi(k.next(Bi))}catch(es){ze(es)}},ni=Bi=>{try{Wi(k.throw(Bi))}catch(es){ze(es)}},Wi=Bi=>Bi.done?me(Bi.value):Promise.resolve(Bi.value).then(an,ni);Wi((k=k.apply(C,O)).next())});function pc(C){return Pl(this,null,function*(){return(0,bn.ZP)("/api/shixuns/new.json",{method:"Get",params:C})})}function _c(C){return Pl(this,null,function*(){return(0,bn.ZP)(`/api/shixuns/${C.id}/required_status.json`,{method:"Get",params:{}})})}var Lc=Object.defineProperty,ql=Object.defineProperties,uf=Object.getOwnPropertyDescriptors,Mc=Object.getOwnPropertySymbols,Gc=Object.prototype.hasOwnProperty,Fu=Object.prototype.propertyIsEnumerable,Eu=(C,O,k)=>O in C?Lc(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,ps=(C,O)=>{for(var k in O||(O={}))Gc.call(O,k)&&Eu(C,k,O[k]);if(Mc)for(var k of Mc(O))Fu.call(O,k)&&Eu(C,k,O[k]);return C},Vc=(C,O)=>ql(C,uf(O)),mc={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:C},{call:O,put:k}){yield k({type:"save",payload:ps({},C)})},*getTestData({payload:C},{call:O,put:k}){const me=yield O(pc,C);yield k({type:"save",payload:{data:me}})},*setUpdateIndex({payload:C},{call:O,put:k}){yield k({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:C},{call:O,put:k}){const me=yield O(_c,C);yield k({type:"save",payload:ps({},me.data)})},*setSideBarTabs({payload:C},{call:O,put:k}){yield k({type:"sideBar",payload:ps({},C)})}},reducers:{save(C,O){return ps(ps({},C),O.payload)},sideBar(C,O){return Vc(ps({},C),{sideBar:ps(ps({},C.sideBar),O.payload)})}},subscriptions:{setup({dispatch:C,history:O}){}}},so=e(20439),vc=Object.defineProperty,Lo=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Il=(C,O,k)=>O in C?vc(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,go=(C,O)=>{for(var k in O||(O={}))Ql.call(O,k)&&Il(C,k,O[k]);if(Lo)for(var k of Lo(O))Re.call(O,k)&&Il(C,k,O[k]);return C},jo={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:C},{call:O,put:k}){const me=yield O(so.JJ,C);return yield k({type:"save",payload:{homeworkBanksDetail:go({},me)}}),me},*getSystemUpdate({payload:C},{call:O,put:k}){const me=yield O(so.n0,C);return yield k({type:"save",payload:{systemUpdate:go({},me)}}),me},*getHomepageInfo({payload:C},{call:O,put:k}){const me=yield O(so.DA,C);return yield k({type:"save",payload:{homepageInfo:go({},me)}}),me},*signed({payload:C},{call:O,put:k}){return yield O(so.qN,C)},*getCourses({payload:C},{call:O,put:k}){return yield O(so.Ho,C)},*getShixuns({payload:C},{call:O,put:k}){return yield O(so.rV,C)},*getPaths({payload:C},{call:O,put:k}){return yield O(so.w3,C)},*getProjects({payload:C},{call:O,put:k}){return yield O(so.mW,C)},*getVideos({payload:C},{call:O,put:k}){return yield O(so.WY,C)},*getReviewVideos({payload:C},{call:O,put:k}){return yield O(so.Qx,C)},*deleteVideo({payload:C},{call:O,put:k}){return yield O(so.FM,C)},*getQuestionBanks({payload:C},{call:O,put:k}){return yield O(so.ai,C)},*topicsSetPublic({payload:C},{call:O,put:k}){return yield O(so.Cx,C)},*topicsDelete({payload:C},{call:O,put:k}){return yield O(so.WS,C)},*topicGetCourseList({payload:C},{call:O,put:k}){return yield O(so.gI,C)},*topicSendToClass({payload:C},{call:O,put:k}){return C.object_type==="videos"?yield O(so.Fn,C):yield O(so.Ef,C)},*logWatchHistory({payload:C},{call:O,put:k}){const me=yield O(so.lO,C);return me==null?void 0:me.log_id},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:go({},C)}})}},reducers:{save(C,O){return go(go({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},_u=Object.defineProperty,ll=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,yo=Object.prototype.propertyIsEnumerable,cl=(C,O,k)=>O in C?_u(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Mo=(C,O)=>{for(var k in O||(O={}))Su.call(O,k)&&cl(C,k,O[k]);if(ll)for(var k of ll(O))yo.call(O,k)&&cl(C,k,O[k]);return C},gc=(C,O)=>{var k={};for(var me in C)Su.call(C,me)&&O.indexOf(me)<0&&(k[me]=C[me]);if(C!=null&&ll)for(var me of ll(C))O.indexOf(me)<0&&yo.call(C,me)&&(k[me]=C[me]);return k},Dl={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:C},{call:O,put:k}){const me=C,{to:ze}=me,an=gc(me,["to"]);if(!(yield O(so.Es,an)).status)try{ze?f.history.replace(ze):location.reload()}catch(Wi){}},*showPopLogin({payload:C},{put:O}){yield O({type:"save",payload:{showPopLogin:C.showPopLogin,showClosable:C.showClosable}})},*setBindAccountModal({payload:C},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:C.bindAccountModalVisible,userInfoForBindAccountModal:C.userInfoForBindAccountModal,loginInfo:C.loginInfo}})},*getUserInfo({payload:C},{call:O,put:k}){const me=yield O(so.bG,Mo({},C));return localStorage.userInfo=JSON.stringify(me),yield k({type:"save",payload:{userInfo:Mo({},me)}}),me},*getNavigationInfo({payload:C},{call:O,put:k}){const me=yield O(so.x4,Mo({},C));yield k({type:"save",payload:{navigationInfo:Mo({},me)}})},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Mo({},C)}})}},reducers:{save(C,O){return Mo(Mo({},C),O.payload)}}},dl=e(17630),Bu=Object.defineProperty,yc=Object.defineProperties,Kc=Object.getOwnPropertyDescriptors,Qu=Object.getOwnPropertySymbols,mu=Object.prototype.hasOwnProperty,ec=Object.prototype.propertyIsEnumerable,Ol=(C,O,k)=>O in C?Bu(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,eu=(C,O)=>{for(var k in O||(O={}))mu.call(O,k)&&Ol(C,k,O[k]);if(Qu)for(var k of Qu(O))ec.call(O,k)&&Ol(C,k,O[k]);return C},kl=(C,O)=>yc(C,Kc(O));const bc=()=>{var C,O,k,me,ze,an,ni;let Wi=window.location.href.split("/");if(!Wi.includes("video"))return;let Bi=(C=Wi[Wi.length-1])==null?void 0:C.split("?")[0];Bi=Number(Bi);const es=(k=(O=Wi[Wi.length-1])==null?void 0:O.split("?")[1])==null?void 0:k.split("=")[1];return((ze=(me=Wi[Wi.length-1])==null?void 0:me.split("?")[1])==null?void 0:ze.split("=")[0])==="subject_id"?{videoId:Bi,subject_id:es}:((ni=(an=Wi[Wi.length-1])==null?void 0:an.split("?")[1])==null?void 0:ni.split("=")[0])==="new_video_id"?{videoId:Bi,new_video_id:es}:{videoId:Bi,course_id:es}};var Rl={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:bc(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:C,callback:O},{call:k,put:me}){const ze=yield k(Fn.O2,C);return O?O(ze):yield me({type:"save",payload:{detail:eu({},ze)}}),ze},*setVideoValue({payload:C},{call:O,put:k}){yield k({type:"save",payload:{detail:eu({},C)}})},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:eu({},C)}})},*setVideoTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{videoTabs:eu({},C)}})},*setSelectValue({payload:C},{call:O,put:k}){yield k({type:"save",payload:{selectParams:eu({},C)}})},*getStageData({payload:C},{call:O,put:k,select:me}){const ze=yield O(Fn.yN,C),an=yield O(We.lk,{id:C.subject_id}),{queryParams:ni}=yield me(As=>As.videoDetail),{stages:Wi=[]}=ze,Bi=[];let es=[],Ds={};const ii=As=>{As.forEach(bo=>{String(bo.id)===String(ni.videoId)&&(Ds=bo),bo.item_type==="VideoItem"?Bi.push(bo):bo.item_type==="Attachment"&&es.push(bo),bo.children&&bo.children.length&&ii(bo.children)})};Wi==null||Wi.forEach(As=>{ii(As.items)}),window.filterVideoSign=[...Bi],yield k({type:"save",payload:{stages:Wi,active:Ds,cust_seq:an.cust_seq,videoList:Bi,attachmentList:es}})},*getVideoData({payload:C},{call:O,put:k,select:me}){const ze=yield O(Fn.fn,C),{categories:an=[],coruse_videos:ni=[]}=ze;yield k({type:"save",payload:{stages:(an==null?void 0:an.length)>0?an:[{coruse_videos:ni,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:C},{call:O,put:k,select:me}){const ze=yield O(dl.R7,C),{queryParams:an}=yield me(ii=>ii.videoDetail),{stages:ni}=ze;let Wi=[],Bi=[],es={};const Ds=ii=>{ii.forEach(As=>{String(As.id)===String(an.videoId)&&(es=As),As.item_type==="VideoItem"?Wi.push(As):As.item_type==="Attachment"&&Bi.push(As),As.children&&As.children.length&&Ds(As.children)})};ni==null||ni.forEach(ii=>{Ds(ii.items)}),window.filterVideoSign=[...Wi],yield k({type:"save",payload:{active:es,stages:ni,cust_seq:!0,videoList:Wi,attachmentList:Bi}})}},reducers:{save(C,O){return eu(eu({},C),O.payload)},handleListItemClick(C,O){const{videoList:k,attachmentList:me}=C,ze=O.payload.videoId||O.payload.attachmentId,an=[...k,...me].find(ni=>`${ni.id}`==`${ze}`);return kl(eu({},C),{active:an,queryParams:eu(eu({},bc()),O.payload)})}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}},Wo=e(9815),yl=Object.defineProperty,Yc=Object.getOwnPropertySymbols,Nu=Object.prototype.hasOwnProperty,$u=Object.prototype.propertyIsEnumerable,lu=(C,O,k)=>O in C?yl(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,Uo=(C,O)=>{for(var k in O||(O={}))Nu.call(O,k)&&lu(C,k,O[k]);if(Yc)for(var k of Yc(O))$u.call(O,k)&&lu(C,k,O[k]);return C},xc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:C},{call:O,put:k}){const me=yield O(Wo.y2,C);return yield k({type:"save",payload:{Workplace:{BaseData:me.data}}}),me},*putEditDiscussion({payload:C},{call:O,put:k}){return yield O(Wo.CH,C)},*getDiscussionDetail({payload:C},{call:O,put:k}){const me=yield O(Wo.XQ,C);return yield k({type:"save",payload:{DiscussionDetail:me}}),me},*postDiscussionList({payload:C},{call:O,put:k}){return yield O(Wo.Ll,C)},*getDiscussionList({payload:C},{call:O,put:k}){const me=yield O(Wo.EA,C);return yield k({type:"save",payload:{DiscussionList:me}}),me},*postAddLessonRes({payload:C},{call:O,put:k}){return yield O(Wo.cZ,C)},*getLessonResourcesList({payload:C},{call:O,put:k}){const me=yield O(Wo.b,C);return yield k({type:"save",payload:{LessonResList:me}}),me},*putGoodLessonsDetail({payload:C},{call:O,put:k}){return yield O(Wo.To,C)},*getGoodLessonsDetail({payload:C},{call:O,put:k}){const me=yield O(Wo.FU,C);return yield k({type:"save",payload:{LessonDetail:me}}),me},*postGoodLessonsList({payload:C},{call:O,put:k}){return yield O(Wo.Vf,C)},*getGoodLessonsList({payload:C},{call:O,put:k}){const me=yield O(Wo.G_,C);return yield k({type:"save",payload:{LessonsList:me}}),me},*setActionTabs({payload:C},{call:O,put:k}){yield k({type:"save",payload:{actionTabs:Uo({},C)}})},*setShowMenu({payload:C},{call:O,put:k}){yield k({type:"save",payload:{showMenu:C}})},*getVirtualSpacesDetails({payload:C},{call:O,put:k}){const me=yield O(Wo.sT,C);yield k({type:"save",payload:{virtualSpacesDetails:Uo({},me)}})},*setVirtualSpacesLoading({payload:C},{call:O,put:k}){yield k({type:"save",payload:{loading:C}})},*getVirtualSpacesMenus({payload:C},{call:O,put:k}){const me=yield O(Wo.Sl,C);return yield k({type:"save",payload:{menus:me}}),me}},reducers:{save(C,O){return Uo(Uo({},C),O.payload)}},subscriptions:{setup({dispatch:C,history:O}){return O.listen(({pathname:k})=>{k==="/"&&C({type:"query"})})}}};const tc={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:V},model_3:{namespace:"classrooms.attachment",model:ue},model_4:{namespace:"classrooms.boards",model:Ce},model_5:{namespace:"classrooms.exercise",model:Xe},model_6:{namespace:"classrooms.graduation",model:Ae},model_7:{namespace:"classrooms.homeworks",model:Vt},model_8:{namespace:"classrooms.index",model:Pe},model_9:{namespace:"classrooms.new",model:gt},model_10:{namespace:"classrooms.overview",model:$r},model_11:{namespace:"classrooms.polls",model:jt},model_12:{namespace:"classrooms.teacher",model:dn},model_13:{namespace:"classrooms.video",model:Yi},model_14:{namespace:"competitions.index",model:_i},model_15:{namespace:"declaration.index",model:fr},model_16:{namespace:"engineering.evaluateDetail",model:Dr},model_17:{namespace:"engineering.evaluateList",model:Rr.Z},model_18:{namespace:"engineering.index",model:On},model_19:{namespace:"engineering.navigation",model:qa},model_20:{namespace:"engineering.normDetail",model:uo},model_21:{namespace:"engineering.normList",model:So},model_22:{namespace:"forums.detail",model:Do},model_23:{namespace:"forums.index",model:To},model_24:{namespace:"globalSetting",model:ko},model_25:{namespace:"graduations.index",model:Kn},model_26:{namespace:"homePage",model:ji},model_27:{namespace:"innovation.index",model:Bs},model_28:{namespace:"intraincourse.index",model:da},model_29:{namespace:"loading",model:Ss},model_30:{namespace:"messages.index",model:rs},model_31:{namespace:"paperlibrary.index",model:Na},model_32:{namespace:"paperlibrary.newPaper",model:Iu},model_33:{namespace:"paths.detail",model:Bt},model_34:{namespace:"paths.index",model:di},model_35:{namespace:"paths.new",model:Ta},model_36:{namespace:"paths.overview",model:sl},model_37:{namespace:"problemset.index",model:au},model_38:{namespace:"problemset.preview",model:Ku},model_39:{namespace:"resetFul.index",model:Hc},model_40:{namespace:"shixuns.detail",model:Yu},model_41:{namespace:"shixuns.index",model:fc},model_42:{namespace:"shixuns.new",model:Oc},model_43:{namespace:"shixuns.overview",model:qu},model_44:{namespace:"shixuns.practiceSetting",model:mc},model_45:{namespace:"user.detail",model:jo},model_46:{namespace:"user.index",model:Dl},model_47:{namespace:"video.detail",model:Rl},model_48:{namespace:"virtualSpaces.index",model:xc}};var ff=Object.defineProperty,ju=Object.getOwnPropertySymbols,Ll=Object.prototype.hasOwnProperty,Ml=Object.prototype.propertyIsEnumerable,$i=(C,O,k)=>O in C?ff(C,O,{enumerable:!0,configurable:!0,writable:!0,value:k}):C[O]=k,_s=(C,O)=>{for(var k in O||(O={}))Ll.call(O,k)&&$i(C,k,O[k]);if(ju)for(var k of ju(O))Ml.call(O,k)&&$i(C,k,O[k]);return C};let Gs;function ui(C){const{pluginManager:O}=(0,f.useAppData)(),k=(0,c.useRef)(),me=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!k.current){k.current=(0,r.Ue)(_s({history:f.history},me.config||{}),{initialReducer:{},setupMiddlewares(ze){return[...ze]},setupApp(ze){ze._history=f.history}}),Gs=k.current,k.current.use(l()()),(me.plugins||[]).forEach(ze=>{k.current.use(ze)});for(const ze of Object.keys(tc))k.current.model(_s({namespace:tc[ze].namespace},tc[ze].model));k.current.start()}return c.createElement(r.zt,{store:k.current._store},C.children)}function Uu(){return Gs}},11877:function(d,g,e){"use strict";e.d(g,{PZ:function(){return qn},eU:function(){return a},B:function(){return wi},Mg:function(){return pt},lw:function(){return mt},Kd:function(){return Dt},H8:function(){return _i}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(Ze){return Ze.displayName||Ze.name||"Component"}const s=r.createContext(null),{Consumer:h,Provider:u}=s,a=u,x=null;function p(Ze,et){const{intlPropName:we="intl",forwardRef:it=!1,enforceContext:ir=!0}=et||{},Or=wr=>React.createElement(h,null,Tr=>(ir&&invariantIntlContext(Tr),React.createElement(Ze,Object.assign({},wr,{[we]:Tr},{ref:it?wr.forwardedRef:null}))));return Or.displayName=`injectIntl(${f(Ze)})`,Or.WrappedComponent=Ze,c(it?React.forwardRef((wr,Tr)=>React.createElement(Or,Object.assign({},wr,{forwardedRef:Tr}))):Or,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 R(Ze){return Ze.type===y.date}function L(Ze){return Ze.type===y.time}function T(Ze){return Ze.type===y.select}function D(Ze){return Ze.type===y.plural}function B(Ze){return Ze.type===y.pound}function $(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===0)}function U(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===1)}function V(Ze){return{type:y.literal,value:Ze}}function K(Ze,et){return{type:y.number,value:Ze,style:et}}var G=function(){var Ze=function(et,we){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(it,ir){it.__proto__=ir}||function(it,ir){for(var Or in ir)ir.hasOwnProperty(Or)&&(it[Or]=ir[Or])},Ze(et,we)};return function(et,we){Ze(et,we);function it(){this.constructor=et}et.prototype=we===null?Object.create(we):(it.prototype=we.prototype,new it)}}(),oe=function(){return oe=Object.assign||function(Ze){for(var et,we=1,it=arguments.length;we<it;we++){et=arguments[we];for(var ir in et)Object.prototype.hasOwnProperty.call(et,ir)&&(Ze[ir]=et[ir])}return Ze},oe.apply(this,arguments)},ae=function(Ze){G(et,Ze);function et(we,it,ir,Or){var wr=Ze.call(this)||this;return wr.message=we,wr.expected=it,wr.found=ir,wr.location=Or,wr.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(wr,et),wr}return et.buildMessage=function(we,it){function ir(Dr){return Dr.charCodeAt(0).toString(16).toUpperCase()}function Or(Dr){return Dr.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(un){return"\\x0"+ir(un)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(un){return"\\x"+ir(un)})}function wr(Dr){return Dr.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(un){return"\\x0"+ir(un)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(un){return"\\x"+ir(un)})}function Tr(Dr){switch(Dr.type){case"literal":return'"'+Or(Dr.text)+'"';case"class":var un=Dr.parts.map(function(tn){return Array.isArray(tn)?wr(tn[0])+"-"+wr(tn[1]):wr(tn)});return"["+(Dr.inverted?"^":"")+un+"]";case"any":return"any character";case"end":return"end of input";case"other":return Dr.description}}function Nr(Dr){var un=Dr.map(Tr),tn,ln;if(un.sort(),un.length>0){for(tn=1,ln=1;tn<un.length;tn++)un[tn-1]!==un[tn]&&(un[ln]=un[tn],ln++);un.length=ln}switch(un.length){case 1:return un[0];case 2:return un[0]+" or "+un[1];default:return un.slice(0,-1).join(", ")+", or "+un[un.length-1]}}function gn(Dr){return Dr?'"'+Or(Dr)+'"':"end of input"}return"Expected "+Nr(we)+" but "+gn(it)+" found."},et}(Error);function le(Ze,et){et=et!==void 0?et:{};var we={},it={start:Ye},ir=Ye,Or=function(ye){return ye.join("")},wr=function(ye){return oe({type:y.literal,value:ye},ga())},Tr="#",Nr=fi("#",!1),gn=function(){return oe({type:y.pound},ga())},Dr=Oa("argumentElement"),un="{",tn=fi("{",!1),ln="}",En=fi("}",!1),la=function(ye){return oe({type:y.argument,value:ye},ga())},gi=Oa("numberSkeletonId"),yi=/^['\/{}]/,On=ro(["'","/","{","}"],!1,!1),Di=po(),Fi=Oa("numberSkeletonTokenOption"),oa="/",ws=fi("/",!1),Sa=function(ye){return ye},Ha=Oa("numberSkeletonToken"),Us=function(ye,Se){return{stem:ye,options:Se}},ja=function(ye){return oe({type:0,tokens:ye},ga())},na="::",Ai=fi("::",!1),Ci=function(ye){return ye},qa=function(){return ha.push("numberArgStyle"),!0},Cs=function(ye){return ha.pop(),ye.replace(/\s*$/,"")},Ni=",",Ts=fi(",",!1),xo="number",La=fi("number",!1),hs=function(ye,Se,gr){return oe({type:Se==="number"?y.number:Se==="date"?y.date:y.time,style:gr&&gr[2],value:ye},ga())},Hi="'",Vs=fi("'",!1),kn=/^[^']/,Qa=ro(["'"],!0,!1),uo=/^[^a-zA-Z'{}]/,Ls=ro([["a","z"],["A","Z"],"'","{","}"],!0,!1),Ki=/^[a-zA-Z]/,Aa=ro([["a","z"],["A","Z"]],!1,!1),Da=function(ye){return oe({type:1,pattern:ye},ga())},cs=function(){return ha.push("dateOrTimeArgStyle"),!0},zs="date",wo=fi("date",!1),Eo="time",Zs=fi("time",!1),Ms="plural",ca=fi("plural",!1),fs="selectordinal",So=fi("selectordinal",!1),fo="offset:",Io=fi("offset:",!1),li=function(ye,Se,gr,Jr){return oe({type:y.plural,pluralType:Se==="plural"?"cardinal":"ordinal",value:ye,offset:gr?gr[2]:0,options:Jr.reduce(function(br,Yr){var An=Yr.id,Jn=Yr.value,Li=Yr.location;return An in br&&Es('Duplicate option "'+An+'" in plural element: "'+ma()+'"',zr()),br[An]={value:Jn,location:Li},br},{})},ga())},ai="select",Wa=fi("select",!1),ts=function(ye,Se){return oe({type:y.select,value:ye,options:Se.reduce(function(gr,Jr){var br=Jr.id,Yr=Jr.value,An=Jr.location;return br in gr&&Es('Duplicate option "'+br+'" in select element: "'+ma()+'"',zr()),gr[br]={value:Yr,location:An},gr},{})},ga())},Ua="=",Ao=fi("=",!1),Do=function(ye){return ha.push("select"),!0},Fo=function(ye,Se){return ha.pop(),oe({id:ye,value:Se},ga())},Ja=function(ye){return ha.push("plural"),!0},du=function(ye,Se){return ha.pop(),oe({id:ye,value:Se},ga())},Co=Oa("whitespace"),Xo=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,hu=ro([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),Pu=Oa("syntax pattern"),To=/^[!-\/:-@[-\^`{-~\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]/,Ps=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"],!1,!1),gu=Oa("optional whitespace"),Bo=Oa("number"),lo="-",zo=fi("-",!1),ru=function(ye,Se){return Se?ye?-Se:Se:0},qo=Oa("apostrophe"),Oo=Oa("double apostrophes"),Fs="''",Xs=fi("''",!1),il=function(){return"'"},ko=function(ye,Se){return ye+Se.replace("''","'")},qt=function(ye){return ye!=="{"&&!(Is()&&ye==="#")&&!(Va()&&ye==="}")},lr=`
|
|
|
`,sr=fi(`
|
|
|
`,!1),vr=function(ye){return ye==="{"||ye==="}"||Is()&&ye==="#"},Er=Oa("argNameOrNumber"),yn=Oa("argNumber"),xn="0",Bn=fi("0",!1),Ln=function(){return 0},Kn=/^[1-9]/,or=ro([["1","9"]],!1,!1),Br=/^[0-9]/,xr=ro([["0","9"]],!1,!1),pn=function(ye){return parseInt(ye.join(""),10)},jn=Oa("argName"),ft=0,Pn=0,zn=[{line:1,column:1}],si=0,qi=[],Hr=0,ji;if(et.startRule!==void 0){if(!(et.startRule in it))throw new Error(`Can't start parsing from rule "`+et.startRule+'".');ir=it[et.startRule]}function ma(){return Ze.substring(Pn,ft)}function zr(){return Bs(Pn,ft)}function Ca(ye,Se){throw Se=Se!==void 0?Se:Bs(Pn,ft),Hs([Oa(ye)],Ze.substring(Pn,ft),Se)}function Es(ye,Se){throw Se=Se!==void 0?Se:Bs(Pn,ft),gs(ye,Se)}function fi(ye,Se){return{type:"literal",text:ye,ignoreCase:Se}}function ro(ye,Se,gr){return{type:"class",parts:ye,inverted:Se,ignoreCase:gr}}function po(){return{type:"any"}}function ds(){return{type:"end"}}function Oa(ye){return{type:"other",description:ye}}function qs(ye){var Se=zn[ye],gr;if(Se)return Se;for(gr=ye-1;!zn[gr];)gr--;for(Se=zn[gr],Se={line:Se.line,column:Se.column};gr<ye;)Ze.charCodeAt(gr)===10?(Se.line++,Se.column=1):Se.column++,gr++;return zn[ye]=Se,Se}function Bs(ye,Se){var gr=qs(ye),Jr=qs(Se);return{start:{offset:ye,line:gr.line,column:gr.column},end:{offset:Se,line:Jr.line,column:Jr.column}}}function bn(ye){ft<si||(ft>si&&(si=ft,qi=[]),qi.push(ye))}function gs(ye,Se){return new ae(ye,[],"",Se)}function Hs(ye,Se,gr){return new ae(ae.buildMessage(ye,Se),ye,Se,gr)}function Ye(){var ye;return ye=qe(),ye}function qe(){var ye,Se;for(ye=[],Se=Mt();Se!==we;)ye.push(Se),Se=Mt();return ye}function Mt(){var ye;return ye=hr(),ye===we&&(ye=jr(),ye===we&&(ye=Si(),ye===we&&(ye=bi(),ye===we&&(ye=da(),ye===we&&(ye=Lr()))))),ye}function Gt(){var ye,Se,gr;if(ye=ft,Se=[],gr=Ya(),gr===we&&(gr=ho(),gr===we&&(gr=rs())),gr!==we)for(;gr!==we;)Se.push(gr),gr=Ya(),gr===we&&(gr=ho(),gr===we&&(gr=rs()));else Se=we;return Se!==we&&(Pn=ye,Se=Or(Se)),ye=Se,ye}function hr(){var ye,Se;return ye=ft,Se=Gt(),Se!==we&&(Pn=ye,Se=wr(Se)),ye=Se,ye}function Lr(){var ye,Se;return ye=ft,Ze.charCodeAt(ft)===35?(Se=Tr,ft++):(Se=we,Hr===0&&bn(Nr)),Se!==we&&(Pn=ye,Se=gn()),ye=Se,ye}function jr(){var ye,Se,gr,Jr,br,Yr;return Hr++,ye=ft,Ze.charCodeAt(ft)===123?(Se=un,ft++):(Se=we,Hr===0&&bn(tn)),Se!==we?(gr=Oi(),gr!==we?(Jr=Ks(),Jr!==we?(br=Oi(),br!==we?(Ze.charCodeAt(ft)===125?(Yr=ln,ft++):(Yr=we,Hr===0&&bn(En)),Yr!==we?(Pn=ye,Se=la(Jr),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we),Hr--,ye===we&&(Se=we,Hr===0&&bn(Dr)),ye}function _n(){var ye,Se,gr,Jr,br;if(Hr++,ye=ft,Se=[],gr=ft,Jr=ft,Hr++,br=Fa(),br===we&&(yi.test(Ze.charAt(ft))?(br=Ze.charAt(ft),ft++):(br=we,Hr===0&&bn(On))),Hr--,br===we?Jr=void 0:(ft=Jr,Jr=we),Jr!==we?(Ze.length>ft?(br=Ze.charAt(ft),ft++):(br=we,Hr===0&&bn(Di)),br!==we?(Jr=[Jr,br],gr=Jr):(ft=gr,gr=we)):(ft=gr,gr=we),gr!==we)for(;gr!==we;)Se.push(gr),gr=ft,Jr=ft,Hr++,br=Fa(),br===we&&(yi.test(Ze.charAt(ft))?(br=Ze.charAt(ft),ft++):(br=we,Hr===0&&bn(On))),Hr--,br===we?Jr=void 0:(ft=Jr,Jr=we),Jr!==we?(Ze.length>ft?(br=Ze.charAt(ft),ft++):(br=we,Hr===0&&bn(Di)),br!==we?(Jr=[Jr,br],gr=Jr):(ft=gr,gr=we)):(ft=gr,gr=we);else Se=we;return Se!==we?ye=Ze.substring(ye,ft):ye=Se,Hr--,ye===we&&(Se=we,Hr===0&&bn(gi)),ye}function rn(){var ye,Se,gr;return Hr++,ye=ft,Ze.charCodeAt(ft)===47?(Se=oa,ft++):(Se=we,Hr===0&&bn(ws)),Se!==we?(gr=_n(),gr!==we?(Pn=ye,Se=Sa(gr),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we),Hr--,ye===we&&(Se=we,Hr===0&&bn(Fi)),ye}function vn(){var ye,Se,gr,Jr,br;if(Hr++,ye=ft,Se=Oi(),Se!==we)if(gr=_n(),gr!==we){for(Jr=[],br=rn();br!==we;)Jr.push(br),br=rn();Jr!==we?(Pn=ye,Se=Us(gr,Jr),ye=Se):(ft=ye,ye=we)}else ft=ye,ye=we;else ft=ye,ye=we;return Hr--,ye===we&&(Se=we,Hr===0&&bn(Ha)),ye}function Wn(){var ye,Se,gr;if(ye=ft,Se=[],gr=vn(),gr!==we)for(;gr!==we;)Se.push(gr),gr=vn();else Se=we;return Se!==we&&(Pn=ye,Se=ja(Se)),ye=Se,ye}function ti(){var ye,Se,gr;return ye=ft,Ze.substr(ft,2)===na?(Se=na,ft+=2):(Se=we,Hr===0&&bn(Ai)),Se!==we?(gr=Wn(),gr!==we?(Pn=ye,Se=Ci(gr),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we),ye===we&&(ye=ft,Pn=ft,Se=qa(),Se?Se=void 0:Se=we,Se!==we?(gr=Gt(),gr!==we?(Pn=ye,Se=Cs(gr),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)),ye}function hi(){var ye,Se,gr,Jr,br,Yr,An,Jn,Li,Rn,Mn,Cn,ia;return ye=ft,Ze.charCodeAt(ft)===123?(Se=un,ft++):(Se=we,Hr===0&&bn(tn)),Se!==we?(gr=Oi(),gr!==we?(Jr=Ks(),Jr!==we?(br=Oi(),br!==we?(Ze.charCodeAt(ft)===44?(Yr=Ni,ft++):(Yr=we,Hr===0&&bn(Ts)),Yr!==we?(An=Oi(),An!==we?(Ze.substr(ft,6)===xo?(Jn=xo,ft+=6):(Jn=we,Hr===0&&bn(La)),Jn!==we?(Li=Oi(),Li!==we?(Rn=ft,Ze.charCodeAt(ft)===44?(Mn=Ni,ft++):(Mn=we,Hr===0&&bn(Ts)),Mn!==we?(Cn=Oi(),Cn!==we?(ia=ti(),ia!==we?(Mn=[Mn,Cn,ia],Rn=Mn):(ft=Rn,Rn=we)):(ft=Rn,Rn=we)):(ft=Rn,Rn=we),Rn===we&&(Rn=null),Rn!==we?(Mn=Oi(),Mn!==we?(Ze.charCodeAt(ft)===125?(Cn=ln,ft++):(Cn=we,Hr===0&&bn(En)),Cn!==we?(Pn=ye,Se=hs(Jr,Jn,Rn),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we),ye}function Ii(){var ye,Se,gr,Jr;if(ye=ft,Ze.charCodeAt(ft)===39?(Se=Hi,ft++):(Se=we,Hr===0&&bn(Vs)),Se!==we){if(gr=[],Jr=Ya(),Jr===we&&(kn.test(Ze.charAt(ft))?(Jr=Ze.charAt(ft),ft++):(Jr=we,Hr===0&&bn(Qa))),Jr!==we)for(;Jr!==we;)gr.push(Jr),Jr=Ya(),Jr===we&&(kn.test(Ze.charAt(ft))?(Jr=Ze.charAt(ft),ft++):(Jr=we,Hr===0&&bn(Qa)));else gr=we;gr!==we?(Ze.charCodeAt(ft)===39?(Jr=Hi,ft++):(Jr=we,Hr===0&&bn(Vs)),Jr!==we?(Se=[Se,gr,Jr],ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)}else ft=ye,ye=we;if(ye===we)if(ye=[],Se=Ya(),Se===we&&(uo.test(Ze.charAt(ft))?(Se=Ze.charAt(ft),ft++):(Se=we,Hr===0&&bn(Ls))),Se!==we)for(;Se!==we;)ye.push(Se),Se=Ya(),Se===we&&(uo.test(Ze.charAt(ft))?(Se=Ze.charAt(ft),ft++):(Se=we,Hr===0&&bn(Ls)));else ye=we;return ye}function Qi(){var ye,Se;if(ye=[],Ki.test(Ze.charAt(ft))?(Se=Ze.charAt(ft),ft++):(Se=we,Hr===0&&bn(Aa)),Se!==we)for(;Se!==we;)ye.push(Se),Ki.test(Ze.charAt(ft))?(Se=Ze.charAt(ft),ft++):(Se=we,Hr===0&&bn(Aa));else ye=we;return ye}function Ri(){var ye,Se,gr,Jr;if(ye=ft,Se=ft,gr=[],Jr=Ii(),Jr===we&&(Jr=Qi()),Jr!==we)for(;Jr!==we;)gr.push(Jr),Jr=Ii(),Jr===we&&(Jr=Qi());else gr=we;return gr!==we?Se=Ze.substring(Se,ft):Se=gr,Se!==we&&(Pn=ye,Se=Da(Se)),ye=Se,ye}function Ei(){var ye,Se,gr;return ye=ft,Ze.substr(ft,2)===na?(Se=na,ft+=2):(Se=we,Hr===0&&bn(Ai)),Se!==we?(gr=Ri(),gr!==we?(Pn=ye,Se=Ci(gr),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we),ye===we&&(ye=ft,Pn=ft,Se=cs(),Se?Se=void 0:Se=we,Se!==we?(gr=Gt(),gr!==we?(Pn=ye,Se=Cs(gr),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)),ye}function fa(){var ye,Se,gr,Jr,br,Yr,An,Jn,Li,Rn,Mn,Cn,ia;return ye=ft,Ze.charCodeAt(ft)===123?(Se=un,ft++):(Se=we,Hr===0&&bn(tn)),Se!==we?(gr=Oi(),gr!==we?(Jr=Ks(),Jr!==we?(br=Oi(),br!==we?(Ze.charCodeAt(ft)===44?(Yr=Ni,ft++):(Yr=we,Hr===0&&bn(Ts)),Yr!==we?(An=Oi(),An!==we?(Ze.substr(ft,4)===zs?(Jn=zs,ft+=4):(Jn=we,Hr===0&&bn(wo)),Jn===we&&(Ze.substr(ft,4)===Eo?(Jn=Eo,ft+=4):(Jn=we,Hr===0&&bn(Zs))),Jn!==we?(Li=Oi(),Li!==we?(Rn=ft,Ze.charCodeAt(ft)===44?(Mn=Ni,ft++):(Mn=we,Hr===0&&bn(Ts)),Mn!==we?(Cn=Oi(),Cn!==we?(ia=Ei(),ia!==we?(Mn=[Mn,Cn,ia],Rn=Mn):(ft=Rn,Rn=we)):(ft=Rn,Rn=we)):(ft=Rn,Rn=we),Rn===we&&(Rn=null),Rn!==we?(Mn=Oi(),Mn!==we?(Ze.charCodeAt(ft)===125?(Cn=ln,ft++):(Cn=we,Hr===0&&bn(En)),Cn!==we?(Pn=ye,Se=hs(Jr,Jn,Rn),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we),ye}function Si(){var ye;return ye=hi(),ye===we&&(ye=fa()),ye}function bi(){var ye,Se,gr,Jr,br,Yr,An,Jn,Li,Rn,Mn,Cn,ia,Na,_o,io;if(ye=ft,Ze.charCodeAt(ft)===123?(Se=un,ft++):(Se=we,Hr===0&&bn(tn)),Se!==we)if(gr=Oi(),gr!==we)if(Jr=Ks(),Jr!==we)if(br=Oi(),br!==we)if(Ze.charCodeAt(ft)===44?(Yr=Ni,ft++):(Yr=we,Hr===0&&bn(Ts)),Yr!==we)if(An=Oi(),An!==we)if(Ze.substr(ft,6)===Ms?(Jn=Ms,ft+=6):(Jn=we,Hr===0&&bn(ca)),Jn===we&&(Ze.substr(ft,13)===fs?(Jn=fs,ft+=13):(Jn=we,Hr===0&&bn(So))),Jn!==we)if(Li=Oi(),Li!==we)if(Ze.charCodeAt(ft)===44?(Rn=Ni,ft++):(Rn=we,Hr===0&&bn(Ts)),Rn!==we)if(Mn=Oi(),Mn!==we)if(Cn=ft,Ze.substr(ft,7)===fo?(ia=fo,ft+=7):(ia=we,Hr===0&&bn(Io)),ia!==we?(Na=Oi(),Na!==we?(_o=va(),_o!==we?(ia=[ia,Na,_o],Cn=ia):(ft=Cn,Cn=we)):(ft=Cn,Cn=we)):(ft=Cn,Cn=we),Cn===we&&(Cn=null),Cn!==we)if(ia=Oi(),ia!==we){if(Na=[],_o=Ma(),_o!==we)for(;_o!==we;)Na.push(_o),_o=Ma();else Na=we;Na!==we?(_o=Oi(),_o!==we?(Ze.charCodeAt(ft)===125?(io=ln,ft++):(io=we,Hr===0&&bn(En)),io!==we?(Pn=ye,Se=li(Jr,Jn,Cn,Na),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)}else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;return ye}function da(){var ye,Se,gr,Jr,br,Yr,An,Jn,Li,Rn,Mn,Cn,ia,Na;if(ye=ft,Ze.charCodeAt(ft)===123?(Se=un,ft++):(Se=we,Hr===0&&bn(tn)),Se!==we)if(gr=Oi(),gr!==we)if(Jr=Ks(),Jr!==we)if(br=Oi(),br!==we)if(Ze.charCodeAt(ft)===44?(Yr=Ni,ft++):(Yr=we,Hr===0&&bn(Ts)),Yr!==we)if(An=Oi(),An!==we)if(Ze.substr(ft,6)===ai?(Jn=ai,ft+=6):(Jn=we,Hr===0&&bn(Wa)),Jn!==we)if(Li=Oi(),Li!==we)if(Ze.charCodeAt(ft)===44?(Rn=Ni,ft++):(Rn=we,Hr===0&&bn(Ts)),Rn!==we)if(Mn=Oi(),Mn!==we){if(Cn=[],ia=Ss(),ia!==we)for(;ia!==we;)Cn.push(ia),ia=Ss();else Cn=we;Cn!==we?(ia=Oi(),ia!==we?(Ze.charCodeAt(ft)===125?(Na=ln,ft++):(Na=we,Hr===0&&bn(En)),Na!==we?(Pn=ye,Se=ts(Jr,Cn),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)}else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;else ft=ye,ye=we;return ye}function no(){var ye,Se,gr,Jr;return ye=ft,Se=ft,Ze.charCodeAt(ft)===61?(gr=Ua,ft++):(gr=we,Hr===0&&bn(Ao)),gr!==we?(Jr=va(),Jr!==we?(gr=[gr,Jr],Se=gr):(ft=Se,Se=we)):(ft=Se,Se=we),Se!==we?ye=Ze.substring(ye,ft):ye=Se,ye===we&&(ye=Ws()),ye}function Ss(){var ye,Se,gr,Jr,br,Yr,An,Jn;return ye=ft,Se=Oi(),Se!==we?(gr=Ws(),gr!==we?(Jr=Oi(),Jr!==we?(Ze.charCodeAt(ft)===123?(br=un,ft++):(br=we,Hr===0&&bn(tn)),br!==we?(Pn=ft,Yr=Do(gr),Yr?Yr=void 0:Yr=we,Yr!==we?(An=qe(),An!==we?(Ze.charCodeAt(ft)===125?(Jn=ln,ft++):(Jn=we,Hr===0&&bn(En)),Jn!==we?(Pn=ye,Se=Fo(gr,An),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we),ye}function Ma(){var ye,Se,gr,Jr,br,Yr,An,Jn;return ye=ft,Se=Oi(),Se!==we?(gr=no(),gr!==we?(Jr=Oi(),Jr!==we?(Ze.charCodeAt(ft)===123?(br=un,ft++):(br=we,Hr===0&&bn(tn)),br!==we?(Pn=ft,Yr=Ja(gr),Yr?Yr=void 0:Yr=we,Yr!==we?(An=qe(),An!==we?(Ze.charCodeAt(ft)===125?(Jn=ln,ft++):(Jn=we,Hr===0&&bn(En)),Jn!==we?(Pn=ye,Se=du(gr,An),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we)):(ft=ye,ye=we),ye}function Fa(){var ye,Se;return Hr++,Xo.test(Ze.charAt(ft))?(ye=Ze.charAt(ft),ft++):(ye=we,Hr===0&&bn(hu)),Hr--,ye===we&&(Se=we,Hr===0&&bn(Co)),ye}function Ga(){var ye,Se;return Hr++,To.test(Ze.charAt(ft))?(ye=Ze.charAt(ft),ft++):(ye=we,Hr===0&&bn(Ps)),Hr--,ye===we&&(Se=we,Hr===0&&bn(Pu)),ye}function Oi(){var ye,Se,gr;for(Hr++,ye=ft,Se=[],gr=Fa();gr!==we;)Se.push(gr),gr=Fa();return Se!==we?ye=Ze.substring(ye,ft):ye=Se,Hr--,ye===we&&(Se=we,Hr===0&&bn(gu)),ye}function va(){var ye,Se,gr;return Hr++,ye=ft,Ze.charCodeAt(ft)===45?(Se=lo,ft++):(Se=we,Hr===0&&bn(zo)),Se===we&&(Se=null),Se!==we?(gr=Ra(),gr!==we?(Pn=ye,Se=ru(Se,gr),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we),Hr--,ye===we&&(Se=we,Hr===0&&bn(Bo)),ye}function Ba(){var ye,Se;return Hr++,Ze.charCodeAt(ft)===39?(ye=Hi,ft++):(ye=we,Hr===0&&bn(Vs)),Hr--,ye===we&&(Se=we,Hr===0&&bn(qo)),ye}function Ya(){var ye,Se;return Hr++,ye=ft,Ze.substr(ft,2)===Fs?(Se=Fs,ft+=2):(Se=we,Hr===0&&bn(Xs)),Se!==we&&(Pn=ye,Se=il()),ye=Se,Hr--,ye===we&&(Se=we,Hr===0&&bn(Oo)),ye}function ho(){var ye,Se,gr,Jr,br,Yr;if(ye=ft,Ze.charCodeAt(ft)===39?(Se=Hi,ft++):(Se=we,Hr===0&&bn(Vs)),Se!==we)if(gr=ba(),gr!==we){for(Jr=ft,br=[],Ze.substr(ft,2)===Fs?(Yr=Fs,ft+=2):(Yr=we,Hr===0&&bn(Xs)),Yr===we&&(kn.test(Ze.charAt(ft))?(Yr=Ze.charAt(ft),ft++):(Yr=we,Hr===0&&bn(Qa)));Yr!==we;)br.push(Yr),Ze.substr(ft,2)===Fs?(Yr=Fs,ft+=2):(Yr=we,Hr===0&&bn(Xs)),Yr===we&&(kn.test(Ze.charAt(ft))?(Yr=Ze.charAt(ft),ft++):(Yr=we,Hr===0&&bn(Qa)));br!==we?Jr=Ze.substring(Jr,ft):Jr=br,Jr!==we?(Ze.charCodeAt(ft)===39?(br=Hi,ft++):(br=we,Hr===0&&bn(Vs)),br===we&&(br=null),br!==we?(Pn=ye,Se=ko(gr,Jr),ye=Se):(ft=ye,ye=we)):(ft=ye,ye=we)}else ft=ye,ye=we;else ft=ye,ye=we;return ye}function rs(){var ye,Se,gr,Jr;return ye=ft,Se=ft,Ze.length>ft?(gr=Ze.charAt(ft),ft++):(gr=we,Hr===0&&bn(Di)),gr!==we?(Pn=ft,Jr=qt(gr),Jr?Jr=void 0:Jr=we,Jr!==we?(gr=[gr,Jr],Se=gr):(ft=Se,Se=we)):(ft=Se,Se=we),Se===we&&(Ze.charCodeAt(ft)===10?(Se=lr,ft++):(Se=we,Hr===0&&bn(sr))),Se!==we?ye=Ze.substring(ye,ft):ye=Se,ye}function ba(){var ye,Se,gr,Jr;return ye=ft,Se=ft,Ze.length>ft?(gr=Ze.charAt(ft),ft++):(gr=we,Hr===0&&bn(Di)),gr!==we?(Pn=ft,Jr=vr(gr),Jr?Jr=void 0:Jr=we,Jr!==we?(gr=[gr,Jr],Se=gr):(ft=Se,Se=we)):(ft=Se,Se=we),Se!==we?ye=Ze.substring(ye,ft):ye=Se,ye}function Ks(){var ye,Se;return Hr++,ye=ft,Se=Ra(),Se===we&&(Se=Ws()),Se!==we?ye=Ze.substring(ye,ft):ye=Se,Hr--,ye===we&&(Se=we,Hr===0&&bn(Er)),ye}function Ra(){var ye,Se,gr,Jr,br;if(Hr++,ye=ft,Ze.charCodeAt(ft)===48?(Se=xn,ft++):(Se=we,Hr===0&&bn(Bn)),Se!==we&&(Pn=ye,Se=Ln()),ye=Se,ye===we){if(ye=ft,Se=ft,Kn.test(Ze.charAt(ft))?(gr=Ze.charAt(ft),ft++):(gr=we,Hr===0&&bn(or)),gr!==we){for(Jr=[],Br.test(Ze.charAt(ft))?(br=Ze.charAt(ft),ft++):(br=we,Hr===0&&bn(xr));br!==we;)Jr.push(br),Br.test(Ze.charAt(ft))?(br=Ze.charAt(ft),ft++):(br=we,Hr===0&&bn(xr));Jr!==we?(gr=[gr,Jr],Se=gr):(ft=Se,Se=we)}else ft=Se,Se=we;Se!==we&&(Pn=ye,Se=pn(Se)),ye=Se}return Hr--,ye===we&&(Se=we,Hr===0&&bn(yn)),ye}function Ws(){var ye,Se,gr,Jr,br;if(Hr++,ye=ft,Se=[],gr=ft,Jr=ft,Hr++,br=Fa(),br===we&&(br=Ga()),Hr--,br===we?Jr=void 0:(ft=Jr,Jr=we),Jr!==we?(Ze.length>ft?(br=Ze.charAt(ft),ft++):(br=we,Hr===0&&bn(Di)),br!==we?(Jr=[Jr,br],gr=Jr):(ft=gr,gr=we)):(ft=gr,gr=we),gr!==we)for(;gr!==we;)Se.push(gr),gr=ft,Jr=ft,Hr++,br=Fa(),br===we&&(br=Ga()),Hr--,br===we?Jr=void 0:(ft=Jr,Jr=we),Jr!==we?(Ze.length>ft?(br=Ze.charAt(ft),ft++):(br=we,Hr===0&&bn(Di)),br!==we?(Jr=[Jr,br],gr=Jr):(ft=gr,gr=we)):(ft=gr,gr=we);else Se=we;return Se!==we?ye=Ze.substring(ye,ft):ye=Se,Hr--,ye===we&&(Se=we,Hr===0&&bn(jn)),ye}var ha=["root"];function Va(){return ha.length>1}function Is(){return ha[ha.length-1]==="plural"}function ga(){return et&&et.captureLocation?{location:zr()}:{}}if(ji=ir(),ji!==we&&ft===Ze.length)return ji;throw ji!==we&&ft<Ze.length&&bn(ds()),Hs(qi,si<Ze.length?Ze.charAt(si):null,si<Ze.length?Bs(si,si+1):Bs(si,si))}var Q=le,J=function(){for(var Ze=0,et=0,we=arguments.length;et<we;et++)Ze+=arguments[et].length;for(var it=Array(Ze),ir=0,et=0;et<we;et++)for(var Or=arguments[et],wr=0,Tr=Or.length;wr<Tr;wr++,ir++)it[ir]=Or[wr];return it},Y=/(^|[^\\])#/g;function ue(Ze){Ze.forEach(function(et){!D(et)&&!T(et)||Object.keys(et.options).forEach(function(we){for(var it,ir=et.options[we],Or=-1,wr=void 0,Tr=0;Tr<ir.value.length;Tr++){var Nr=ir.value[Tr];if(_(Nr)&&Y.test(Nr.value)){Or=Tr,wr=Nr;break}}if(wr){var gn=wr.value.replace(Y,"$1{"+et.value+", number}"),Dr=Q(gn);(it=ir.value).splice.apply(it,J([Or,1],Dr))}ue(ir.value)})})}function ne(Ze,et){var we=Q(Ze,et);return(!et||et.normalizeHashtagInPlural!==!1)&&ue(we),we}var ee=function(){for(var Ze=0,et=0,we=arguments.length;et<we;et++)Ze+=arguments[et].length;for(var it=Array(Ze),ir=0,et=0;et<we;et++)for(var Or=arguments[et],wr=0,Tr=Or.length;wr<Tr;wr++,ir++)it[ir]=Or[wr];return it};function ie(Ze){return JSON.stringify(Ze.map(function(et){return et&&typeof et=="object"?F(et):et}))}function F(Ze){return Object.keys(Ze).sort().map(function(et){var we;return we={},we[et]=Ze[et],we})}var M=function(Ze,et){return et===void 0&&(et={}),function(){for(var we,it=[],ir=0;ir<arguments.length;ir++)it[ir]=arguments[ir];var Or=ie(it),wr=Or&&et[Or];return wr||(wr=new((we=Ze).bind.apply(we,ee([void 0],it))),Or&&(et[Or]=wr)),wr}},q=M,de=function(){return de=Object.assign||function(Ze){for(var et,we=1,it=arguments.length;we<it;we++){et=arguments[we];for(var ir in et)Object.prototype.hasOwnProperty.call(et,ir)&&(Ze[ir]=et[ir])}return Ze},de.apply(this,arguments)},Ee=/(?:[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 Ce(Ze){var et={};return Ze.replace(Ee,function(we){var it=we.length;switch(we[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 je(Ze){return Ze.replace(/^(.*?)-/,"")}var Fe=/^\.(?:(0+)(\+|#+)?)?$/g,Ft=/^(@+)?(\+|#+)?$/g;function _t(Ze){var et={};return Ze.replace(Ft,function(we,it,ir){return typeof ir!="string"?(et.minimumSignificantDigits=it.length,et.maximumSignificantDigits=it.length):ir==="+"?et.minimumSignificantDigits=it.length:it[0]==="#"?et.maximumSignificantDigits=it.length:(et.minimumSignificantDigits=it.length,et.maximumSignificantDigits=it.length+(typeof ir=="string"?ir.length:0)),""}),et}function Pt(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 Qt(Ze){var et={},we=Pt(Ze);return we||et}function er(Ze){for(var et={},we=0,it=Ze;we<it.length;we++){var ir=it[we];switch(ir.stem){case"percent":et.style="percent";continue;case"currency":et.style="currency",et.currency=ir.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=je(ir.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=de(de(de({},et),{notation:"scientific"}),ir.options.reduce(function(wr,Tr){return de(de({},wr),Qt(Tr))},{}));continue;case"engineering":et=de(de(de({},et),{notation:"engineering"}),ir.options.reduce(function(wr,Tr){return de(de({},wr),Qt(Tr))},{}));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(Fe.test(ir.stem)){if(ir.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");ir.stem.replace(Fe,function(wr,Tr,Nr){return wr==="."?et.maximumFractionDigits=0:Nr==="+"?et.minimumFractionDigits=Nr.length:Tr[0]==="#"?et.maximumFractionDigits=Tr.length:(et.minimumFractionDigits=Tr.length,et.maximumFractionDigits=Tr.length+(typeof Nr=="string"?Nr.length:0)),""}),ir.options.length&&(et=de(de({},et),_t(ir.options[0])));continue}if(Ft.test(ir.stem)){et=de(de({},et),_t(ir.stem));continue}var Or=Pt(ir.stem);Or&&(et=de(de({},et),Or))}return et}var Jt=function(){var Ze=function(et,we){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(it,ir){it.__proto__=ir}||function(it,ir){for(var Or in ir)ir.hasOwnProperty(Or)&&(it[Or]=ir[Or])},Ze(et,we)};return function(et,we){Ze(et,we);function it(){this.constructor=et}et.prototype=we===null?Object.create(we):(it.prototype=we.prototype,new it)}}(),Xe=function(){for(var Ze=0,et=0,we=arguments.length;et<we;et++)Ze+=arguments[et].length;for(var it=Array(Ze),ir=0,et=0;et<we;et++)for(var Or=arguments[et],wr=0,Tr=Or.length;wr<Tr;wr++,ir++)it[ir]=Or[wr];return it},It=function(Ze){Jt(et,Ze);function et(we,it){var ir=Ze.call(this,we)||this;return ir.variableId=it,ir}return et}(Error);function zt(Ze){return Ze.length<2?Ze:Ze.reduce(function(et,we){var it=et[et.length-1];return!it||it.type!==0||we.type!==0?et.push(we):it.value+=we.value,et},[])}function st(Ze,et,we,it,ir,Or,wr){if(Ze.length===1&&_(Ze[0]))return[{type:0,value:Ze[0].value}];for(var Tr=[],Nr=0,gn=Ze;Nr<gn.length;Nr++){var Dr=gn[Nr];if(_(Dr)){Tr.push({type:0,value:Dr.value});continue}if(B(Dr)){typeof Or=="number"&&Tr.push({type:0,value:we.getNumberFormat(et).format(Or)});continue}var un=Dr.value;if(!(ir&&un in ir))throw new It('The intl string context variable "'+un+'" was not provided to the string "'+wr+'"');var tn=ir[un];if(b(Dr)){(!tn||typeof tn=="string"||typeof tn=="number")&&(tn=typeof tn=="string"||typeof tn=="number"?String(tn):""),Tr.push({type:1,value:tn});continue}if(R(Dr)){var ln=typeof Dr.style=="string"?it.date[Dr.style]:void 0;Tr.push({type:0,value:we.getDateTimeFormat(et,ln).format(tn)});continue}if(L(Dr)){var ln=typeof Dr.style=="string"?it.time[Dr.style]:U(Dr.style)?Ce(Dr.style.pattern):void 0;Tr.push({type:0,value:we.getDateTimeFormat(et,ln).format(tn)});continue}if(S(Dr)){var ln=typeof Dr.style=="string"?it.number[Dr.style]:$(Dr.style)?er(Dr.style.tokens):void 0;Tr.push({type:0,value:we.getNumberFormat(et,ln).format(tn)});continue}if(T(Dr)){var En=Dr.options[tn]||Dr.options.other;if(!En)throw new RangeError('Invalid values for "'+Dr.value+'": "'+tn+'". Options are "'+Object.keys(Dr.options).join('", "')+'"');Tr.push.apply(Tr,st(En.value,et,we,it,ir));continue}if(D(Dr)){var En=Dr.options["="+tn];if(!En){if(!Intl.PluralRules)throw new It(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`);var la=we.getPluralRules(et,{type:Dr.pluralType}).select(tn-(Dr.offset||0));En=Dr.options[la]||Dr.options.other}if(!En)throw new RangeError('Invalid values for "'+Dr.value+'": "'+tn+'". Options are "'+Object.keys(Dr.options).join('", "')+'"');Tr.push.apply(Tr,st(En.value,et,we,it,ir,tn-(Dr.offset||0)));continue}}return zt(Tr)}function bt(Ze,et,we,it,ir,Or){var wr=st(Ze,et,we,it,ir,void 0,Or);return wr.length===1?wr[0].value:wr.reduce(function(Tr,Nr){return Tr+=Nr.value},"")}var ht,Je="@@",Ue=/@@(\d+_\d+)@@/g,ge=0;function Ae(){return Date.now()+"_"+ ++ge}function Me(Ze,et){return Ze.split(Ue).filter(Boolean).map(function(we){return et[we]!=null?et[we]:we}).reduce(function(we,it){return we.length&&typeof it=="string"&&typeof we[we.length-1]=="string"?we[we.length-1]+=it:we.push(it),we},[])}var $e=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,He=Date.now()+"@@",nt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ct(Ze,et,we){var it=Ze.tagName,ir=Ze.outerHTML,Or=Ze.textContent,wr=Ze.childNodes;if(!it)return Me(Or||"",et);it=it.toLowerCase();var Tr=~nt.indexOf(it),Nr=we[it];if(Nr&&Tr)throw new It(it+" is a self-closing tag and can not be used, please use another tag name.");if(!wr.length)return[ir];var gn=Array.prototype.slice.call(wr).reduce(function(Dr,un){return Dr.concat(ct(un,et,we))},[]);return Nr?typeof Nr=="function"?[Nr.apply(void 0,gn)]:[Nr]:Xe(["<"+it+">"],gn,["</"+it+">"])}function Kt(Ze,et,we,it,ir,Or){var wr=st(Ze,et,we,it,ir,void 0,Or),Tr={},Nr=wr.reduce(function(tn,ln){if(ln.type===0)return tn+=ln.value;var En=Ae();return Tr[En]=ln.value,tn+=""+Je+En+Je},"");if(!$e.test(Nr))return Me(Nr,Tr);if(!ir)throw new It("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new It("Cannot format XML message without DOMParser");ht||(ht=new DOMParser);var gn=ht.parseFromString('<formatted-message id="'+He+'">'+Nr+"</formatted-message>","text/html").getElementById(He);if(!gn)throw new It("Malformed HTML message "+Nr);var Dr=Object.keys(ir).filter(function(tn){return!!gn.getElementsByTagName(tn).length});if(!Dr.length)return Me(Nr,Tr);var un=Dr.filter(function(tn){return tn!==tn.toLowerCase()});if(un.length)throw new It("HTML tag must be lowercased but the following tags are not: "+un.join(", "));return Array.prototype.slice.call(gn.childNodes).reduce(function(tn,ln){return tn.concat(ct(ln,Tr,ir))},[])}var Wt=function(){return Wt=Object.assign||function(Ze){for(var et,we=1,it=arguments.length;we<it;we++){et=arguments[we];for(var ir in et)Object.prototype.hasOwnProperty.call(et,ir)&&(Ze[ir]=et[ir])}return Ze},Wt.apply(this,arguments)};function De(Ze,et){return et?Wt(Wt(Wt({},Ze||{}),et||{}),Object.keys(Ze).reduce(function(we,it){return we[it]=Wt(Wt({},Ze[it]),et[it]||{}),we},{})):Ze}function Qe(Ze,et){return et?Object.keys(Ze).reduce(function(we,it){return we[it]=De(Ze[it],et[it]),we},Wt({},Ze)):Ze}function Vt(Ze){return Ze===void 0&&(Ze={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:q(Intl.NumberFormat,Ze.number),getDateTimeFormat:q(Intl.DateTimeFormat,Ze.dateTime),getPluralRules:q(Intl.PluralRules,Ze.pluralRules)}}var kt=function(){function Ze(et,we,it,ir){var Or=this;if(we===void 0&&(we=Ze.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(wr){return bt(Or.ast,Or.locales,Or.formatters,Or.formats,wr,Or.message)},this.formatToParts=function(wr){return st(Or.ast,Or.locales,Or.formatters,Or.formats,wr,void 0,Or.message)},this.formatHTMLMessage=function(wr){return Kt(Or.ast,Or.locales,Or.formatters,Or.formats,wr,Or.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(Or.locales)[0]}},this.getAst=function(){return Or.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=we,this.formatters=ir&&ir.formatters||Vt(this.formatterCache)}return Ze.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,Ze.__parse=ne,Ze.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Ze}(),Ht=kt,$t=Ht;function Ct(Ze,et,we){if(we===void 0&&(we=Error),!Ze)throw new we(et)}const Yt={38:"&",62:">",60:"<",34:""",39:"'"},Ge=/[&><"']/g;function fe(Ze){return(""+Ze).replace(Ge,et=>Yt[et.charCodeAt(0)])}function _e(Ze,et,we={}){return et.reduce((it,ir)=>(ir in Ze?it[ir]=Ze[ir]:ir in we&&(it[ir]=we[ir]),it),{})}function Ot(Ze){Ct(Ze,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Pe(Ze,et){const we=et?`
|
|
|
${et.stack}`:"";return`[React Intl] ${Ze}${we}`}function dt(Ze){}const Zt={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:dt};function Tt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function ke(Ze=Tt()){const et=Intl.RelativeTimeFormat,we=Intl.ListFormat,it=Intl.DisplayNames;return{getDateTimeFormat:q(Intl.DateTimeFormat,Ze.dateTime),getNumberFormat:q(Intl.NumberFormat,Ze.number),getMessageFormat:q($t,Ze.message),getRelativeTimeFormat:q(et,Ze.relativeTime),getPluralRules:q(Intl.PluralRules,Ze.pluralRules),getListFormat:q(we,Ze.list),getDisplayNames:q(it,Ze.displayNames)}}function St(Ze,et,we,it){const ir=Ze&&Ze[et];let Or;if(ir&&(Or=ir[we]),Or)return Or;it(Pe(`No ${et} format named: ${we}`))}const be=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ke({locale:Ze,formats:et,onError:we},it,ir={}){const{format:Or}=ir,wr=Or&&St(et,"number",Or,we)||{},Tr=_e(ir,be,wr);return it(Ze,Tr)}function gt(Ze,et,we,it={}){try{return Ke(Ze,et,it).format(we)}catch(ir){Ze.onError(Pe("Error formatting number.",ir))}return String(we)}function Rt(Ze,et,we,it={}){try{return Ke(Ze,et,it).formatToParts(we)}catch(ir){Ze.onError(Pe("Error formatting number.",ir))}return[]}const Be=["numeric","style"];function kr({locale:Ze,formats:et,onError:we},it,ir={}){const{format:Or}=ir,wr=!!Or&&St(et,"relative",Or,we)||{},Tr=_e(ir,Be,wr);return it(Ze,Tr)}function At(Ze,et,we,it,ir={}){it||(it="second"),Intl.RelativeTimeFormat||Ze.onError(Pe(`Intl.RelativeTimeFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
|
`));try{return kr(Ze,et,ir).format(we,it)}catch(wr){Ze.onError(Pe("Error formatting relative time.",wr))}return String(we)}const Kr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Qr({locale:Ze,formats:et,onError:we,timeZone:it},ir,Or,wr={}){const{format:Tr}=wr,Nr=Object.assign(Object.assign({},it&&{timeZone:it}),Tr&&St(et,ir,Tr,we));let gn=_e(wr,Kr,Nr);return ir==="time"&&!gn.hour&&!gn.minute&&!gn.second&&(gn=Object.assign(Object.assign({},gn),{hour:"numeric",minute:"numeric"})),Or(Ze,gn)}function Ar(Ze,et,we,it={}){const ir=typeof we=="string"?new Date(we||0):we;try{return Qr(Ze,"date",et,it).format(ir)}catch(Or){Ze.onError(Pe("Error formatting date.",Or))}return String(ir)}function $r(Ze,et,we,it={}){const ir=typeof we=="string"?new Date(we||0):we;try{return Qr(Ze,"time",et,it).format(ir)}catch(Or){Ze.onError(Pe("Error formatting time.",Or))}return String(ir)}function _r(Ze,et,we,it={}){const ir=typeof we=="string"?new Date(we||0):we;try{return Qr(Ze,"date",et,it).formatToParts(ir)}catch(Or){Ze.onError(Pe("Error formatting date.",Or))}return[]}function Ur(Ze,et,we,it={}){const ir=typeof we=="string"?new Date(we||0):we;try{return Qr(Ze,"time",et,it).formatToParts(ir)}catch(Or){Ze.onError(Pe("Error formatting time.",Or))}return[]}const sn=["localeMatcher","type"];function cn({locale:Ze,onError:et},we,it,ir={}){Intl.PluralRules||et(Pe(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`));const Or=_e(ir,sn);try{return we(Ze,Or).select(it)}catch(wr){et(Pe("Error formatting plural.",wr))}return"other"}function ur(Ze,et){return Object.keys(Ze).reduce((we,it)=>(we[it]=Object.assign({timeZone:et},Ze[it]),we),{})}function Lt(Ze,et){return Object.keys(Object.assign(Object.assign({},Ze),et)).reduce((it,ir)=>(it[ir]=Object.assign(Object.assign({},Ze[ir]||{}),et[ir]||{}),it),{})}function vt(Ze,et){if(!et)return Ze;const we=$t.formats;return Object.assign(Object.assign(Object.assign({},we),Ze),{date:Lt(ur(we.date,et),ur(Ze.date||{},et)),time:Lt(ur(we.time,et),ur(Ze.time||{},et))})}const yt=Ze=>r.createElement(r.Fragment,null,...Ze);function jt({locale:Ze,formats:et,messages:we,defaultLocale:it,defaultFormats:ir,onError:Or,timeZone:wr},Tr,Nr={id:""},gn={}){const{id:Dr,defaultMessage:un}=Nr;Ct(!!Dr,"[React Intl] An `id` must be provided to format a message.");const tn=we&&we[String(Dr)];et=vt(et,wr),ir=vt(ir,wr);let ln=[];if(tn)try{ln=Tr.getMessageFormat(tn,Ze,et,{formatters:Tr}).formatHTMLMessage(gn)}catch(En){Or(Pe(`Error formatting message: "${Dr}" for locale: "${Ze}"`+(un?", using default message as fallback.":""),En))}else(!un||Ze&&Ze.toLowerCase()!==it.toLowerCase())&&Or(Pe(`Missing message: "${Dr}" for locale: "${Ze}"`+(un?", using default message as fallback.":"")));if(!ln.length&&un)try{ln=Tr.getMessageFormat(un,it,ir).formatHTMLMessage(gn)}catch(En){Or(Pe(`Error formatting the default message for: "${Dr}"`,En))}return ln.length?ln.length===1&&typeof ln[0]=="string"?ln[0]||un||String(Dr):yt(ln):(Or(Pe(`Cannot format message: "${Dr}", using message ${tn||un?"source":"id"} as fallback.`)),typeof tn=="string"?tn||un||String(Dr):un||String(Dr))}function Cr(Ze,et,we={id:""},it={}){const ir=Object.keys(it).reduce((Or,wr)=>{const Tr=it[wr];return Or[wr]=typeof Tr=="string"?fe(Tr):Tr,Or},{});return jt(Ze,et,we,ir)}var yr=e(18947),ot=e.n(yr);const Fr=["localeMatcher","type","style"],mn=Date.now();function Un(Ze){return`${mn}_${Ze}_${mn}`}function mr({locale:Ze,onError:et},we,it,ir={}){Intl.ListFormat||et(Pe(`Intl.ListFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
`));const wr=_e(ir,Fr);try{const Tr={},Nr=it.map((Dr,un)=>{if(typeof Dr=="object"){const tn=Un(un);return Tr[tn]=Dr,tn}return String(Dr)});return Object.keys(Tr).length?we(Ze,wr).formatToParts(Nr).reduce((Dr,un)=>{const tn=un.value;return Tr[tn]?Dr.push(Tr[tn]):typeof Dr[Dr.length-1]=="string"?Dr[Dr.length-1]+=tn:Dr.push(tn),Dr},[]):we(Ze,wr).format(Nr)}catch(Tr){et(Pe("Error formatting list.",Tr))}return it}const en=["localeMatcher","style","type","fallback"];function dn({locale:Ze,onError:et},we,it,ir={}){Intl.DisplayNames||et(Pe(`Intl.DisplayNames is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
`));const wr=_e(ir,en);try{return we(Ze,wr).of(it)}catch(Tr){et(Pe("Error formatting display name.",Tr))}}const Fn=ot()||yr;function ei(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 Nn(Ze,et){const we=ke(et),it=Object.assign(Object.assign({},Zt),Ze),{locale:ir,defaultLocale:Or,onError:wr}=it;return ir?!Intl.NumberFormat.supportedLocalesOf(ir).length&&wr?wr(Pe(`Missing locale data for locale: "${ir}" in Intl.NumberFormat. Using default locale: "${Or}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(ir).length&&wr&&wr(Pe(`Missing locale data for locale: "${ir}" in Intl.DateTimeFormat. Using default locale: "${Or}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(wr&&wr(Pe(`"locale" was not configured, using "${Or}" 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:we,formatNumber:gt.bind(null,it,we.getNumberFormat),formatNumberToParts:Rt.bind(null,it,we.getNumberFormat),formatRelativeTime:At.bind(null,it,we.getRelativeTimeFormat),formatDate:Ar.bind(null,it,we.getDateTimeFormat),formatDateToParts:_r.bind(null,it,we.getDateTimeFormat),formatTime:$r.bind(null,it,we.getDateTimeFormat),formatTimeToParts:Ur.bind(null,it,we.getDateTimeFormat),formatPlural:cn.bind(null,it,we.getPluralRules),formatMessage:jt.bind(null,it,we),formatHTMLMessage:Cr.bind(null,it,we),formatList:mr.bind(null,it,we.getListFormat),formatDisplayName:dn.bind(null,it,we.getDisplayNames)})}class zi extends r.PureComponent{constructor(){super(...arguments),this.cache=Tt(),this.state={cache:this.cache,intl:Nn(ei(this.props),this.cache),prevConfig:ei(this.props)}}static getDerivedStateFromProps(et,{prevConfig:we,cache:it}){const ir=ei(et);return Fn(we,ir)?null:{intl:Nn(ir,it),prevConfig:ir}}render(){return Ot(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}zi.displayName="IntlProvider",zi.defaultProps=Zt;var mi=e(56186),xi=e(3424),vi=e.n(xi),pi=e(85239),Yi=Object.getOwnPropertySymbols,Yn=Object.prototype.hasOwnProperty,Vi=Object.prototype.propertyIsEnumerable,Et=(Ze,et)=>{var we={};for(var it in Ze)Yn.call(Ze,it)&&et.indexOf(it)<0&&(we[it]=Ze[it]);if(Ze!=null&&Yi)for(var it of Yi(Ze))et.indexOf(it)<0&&Vi.call(Ze,it)&&(we[it]=Ze[it]);return we};let ut;const Xn=!0,wi=new(vi()),qn=Symbol("LANG_CHANGE"),Zi=(Ze,et="")=>Object.keys(Ze).reduce((we,it)=>{const ir=Ze[it],Or=et?`${et}.${it}`:it;return typeof ir=="string"?we[Or]=ir:Object.assign(we,Zi(ir,Or)),we},{}),_i={},Pi=(Ze,et,we)=>{var it,ir,Or,wr;if(!Ze)return;const Tr=(it=_i[Ze])!=null&&it.messages?Object.assign({},_i[Ze].messages,et):et,{momentLocale:Nr=(ir=_i[Ze])==null?void 0:ir.momentLocale,antd:gn=(Or=_i[Ze])==null?void 0:Or.antd}=we||{},Dr=(wr=Ze.split("-"))==null?void 0:wr.join("-");_i[Ze]={messages:Tr,locale:Dr,momentLocale:Nr,antd:gn},Dr===Dt()&&wi.emit(qn,Dr)},Qn=Ze=>(0,mi.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ze}),tr=Ze=>{const we=Qn(_i[Ze]),{cache:it}=we,ir=Et(we,["cache"]);return Nn(ir,it)},mt=(Ze,et)=>ut&&!et&&!Ze?ut:(Ze||(Ze=Dt()),Ze&&_i[Ze]?tr(Ze):_i["zh-CN"]?tr("zh-CN"):Nn({locale:"zh-CN",messages:{}})),rt=Ze=>{ut=mt(Ze,!0)},Dt=()=>{const Ze=Qn({});return typeof(Ze==null?void 0:Ze.getLocale)=="function"?Ze.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Xn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},pt=()=>{const Ze=Dt();return["he","ar","fa","ku"].filter(it=>Ze.startsWith(it)).length?"rtl":"ltr"},cr=(Ze,et=!0)=>{(()=>{if(Dt()!==Ze){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Xn&&window.localStorage.setItem("umi_locale",Ze||""),rt(Ze),et)window.location.reload();else if(wi.emit(qn,Ze),window.dispatchEvent){const it=new Event("languagechange");window.dispatchEvent(it)}}})()};let fr=!0;const Ir=(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),ut||rt(Dt()),ut.formatMessage(Ze,et)),Rr=()=>Object.keys(_i)},82579:function(d,g,e){"use strict";e.d(g,{y:function(){return s}});var r=e(43418),i=e(95237),l=e(43604),c=e(74976),f=e(59301);const s=h=>new Promise((u,a)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return a("WebRTC not supported by browser");let x=new RTCPeerConnection,p=[];x.createDataChannel(""),x.createOffer().then(y=>x.setLocalDescription(y)).catch(y=>a(y)),x.onicecandidate=y=>{console.log("event:",y);const _=[];if(!y||!y.candidate){if(console.log("ips",p),p.length==0||!(0,c.t)(p[0])){const G=r.default.info({title:f.createElement(i.Z,null,f.createElement(l.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(l.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>G.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(i.Z,null,f.createElement(l.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return a("WebRTC disabled or restricted by browser")}const K=p.filter(G=>(0,c.t)(G));return!K||!K.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(K.join(""))}let b=y.candidate.candidate.split(" "),[S,R,L,T,D,B,,$,...U]=b,V=["rtp","rtpc"];if(console.log("event:",y),p.some(K=>K==D)||p.push(D),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+V[R-1]),console.log(" protocol: "+L),console.log(" priority: "+T),console.log(" ip: "+D),console.log(" port: "+B),console.log(" type: "+$),U.length){console.log("attributes: ");for(let K=0;K<U.length;K+=2)console.log("> "+U[K]+": "+U[K+1])}}})},67769:function(d,g,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=Object.defineProperty,f=Object.defineProperties,s=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(b,S,R)=>S in b?c(b,S,{enumerable:!0,configurable:!0,writable:!0,value:R}):b[S]=R,p=(b,S)=>{for(var R in S||(S={}))u.call(S,R)&&x(b,R,S[R]);if(h)for(var R of h(S))a.call(S,R)&&x(b,R,S[R]);return b},y=(b,S)=>f(b,s(S));const _=({img:b,buttonProps:S={},styles:R={},customText:L,ButtonText:T,ButtonClick:D,Buttonclass:B,ButtonTwo:$,imgStyles:U,loading:V=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:V?"hidden":"visible"}),R)},r.createElement("img",{src:b||i,style:y(p({},U),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14"},L||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),T&&r.createElement(l.ZP,p({className:B,onClick:D},S),T),$&&$);g.Z=_},91251:function(d,g,e){"use strict";e.d(g,{Z:function(){return oe}});var r=e(59301),i={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},l=e(3113),c=e(72308),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},s=f,h=e(7657),u=function(le,Q){return r.createElement(h.Z,(0,c.Z)({},le,{ref:Q,icon:s}))},a=r.forwardRef(u),x=a,p=e(48633),y=e(6848),_=e(61737),b=e(52035),S=e(67769),R=e(13820),L=e(91676),T=e(59301),D=Object.defineProperty,B=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,V=(ae,le,Q)=>le in ae?D(ae,le,{enumerable:!0,configurable:!0,writable:!0,value:Q}):ae[le]=Q,K=(ae,le)=>{for(var Q in le||(le={}))$.call(le,Q)&&V(ae,Q,le[Q]);if(B)for(var Q of B(le))U.call(le,Q)&&V(ae,Q,le[Q]);return ae},G=(ae,le,Q)=>new Promise((J,Y)=>{var ue=ie=>{try{ee(Q.next(ie))}catch(F){Y(F)}},ne=ie=>{try{ee(Q.throw(ie))}catch(F){Y(F)}},ee=ie=>ie.done?J(ie.value):Promise.resolve(ie.value).then(ue,ne);ee((Q=Q.apply(ae,le)).next())}),oe=({editOffice:ae="view",data:le,theme:Q,type:J,filename:Y,monacoEditor:ue,className:ne,style:ee,close:ie,onClose:F,hasMask:M,disabledDownload:q,onImgDimensions:de,showNodata:Ee,recordInfo:Ce})=>{const[je,Fe]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Ft,_t]=(0,r.useState)(""),[Pt,Qt]=(0,r.useState)(),er=window.ENV==="build"?"/react/build":"",Jt=location.host.startsWith("localhost")?R.Z.PROXY_SERVER:R.Z.API_SERVER,It=10*(1024*1024),zt=(0,r.useRef)();le!=null&&le.startsWith("/api")&&J!=="txt"&&(le=R.Z.API_SERVER+le);const st=Ue=>Ue.substring(Ue.lastIndexOf("/")+1).split(".").pop();Y&&ue&&(ue.filename=Y),(0,r.useEffect)(()=>{var Ue,ge;const Ae=(ge=(Ue=document.cookie)==null?void 0:Ue.replace(/\s/g,""))==null?void 0:ge.split(";");Ae==null||Ae.map(Me=>{let $e=Me.split("=");$e[0]==="_educoder_session"&&_t($e[1])})},[]),(0,r.useEffect)(()=>{J==="office"&&(le.indexOf("bigfilescdn.")>-1||le.indexOf("bigfiles1")>-1?Qt({url:le,fileType:st(le),model:le.indexOf("model=edit")?"edit":"view"}):bt())},[J,le]);const bt=()=>G(void 0,null,function*(){console.log("data:",le);let Ue=le;le.startsWith("http")||(Ue=location.origin+Ue);let ge=new URL(Ue).pathname.split("/").pop();const Ae=yield(0,b.gJ)({attachment_id:ge});Ae.url=Jt+Ae.url,Qt(Ae)}),ht=()=>{if(le.startsWith("http")||le.startsWith("blob:")){Je();return}(0,_.Nd)(Y||"educoder",decodeURIComponent(le))},Je=()=>{Ce&&(0,L.fc)({id:Ce==null?void 0:Ce.id,watch_type:1,course_id:Ce==null?void 0:Ce.course_id}),(0,_.Nd)(Y||"educoder",decodeURIComponent(le))};return console.log(le,"data"),T.createElement("div",{style:K({},ee||{}),className:`${M&&i.bgBlack} ${J?i.wrp:"hide"}`},ie&&T.createElement("div",{className:i.close,ref:zt},!!de&&T.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>zt.current},T.createElement("span",{onClick:()=>{F(),de()}},T.createElement("i",{className:"icon-yulanpizhu"}))),!q&&T.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>zt.current},T.createElement("span",{onClick:Je},T.createElement("i",{className:"icon-quxiaozhiding"}))),T.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>zt.current},T.createElement("span",{className:"",onClick:F},T.createElement("i",{className:"icon-guanbi1"})))),T.createElement("div",{className:`${i[ne]} ${ne} ${i.monaco} ${J==="txt"?"show":"hide"}`},J==="txt"&&T.createElement(T.Fragment,null,T.createElement(p.ZP,K({},ue)))),J==="audio"&&T.createElement("audio",{src:(le==null?void 0:le.indexOf("http"))>-1||le!=null&&le.startsWith("/api")?le:`data:image/png;base64,${le}`,autoPlay:!0}),J==="video"&&T.createElement(T.Fragment,null,(le==null?void 0:le.indexOf("http"))>-1||le!=null&&le.startsWith("/api")?T.createElement("video",{controls:!0,src:`${le}`,autoPlay:!0}):T.createElement("video",{controls:!0,src:`data:video/mp4;base64,${le}`,autoPlay:!0})),J==="office"&&Pt&&T.createElement("iframe",{src:`${er}/office.html?key=${Pt.key}&url=${btoa(Pt.url)}&callbackUrl=${Jt+(Pt.callbackUrl||"")}&fileType=${Pt.fileType}&title=${Pt.title||""}&model=${ae}&officeServer=${R.Z.ONLYOFFICE}&disabledDownload=${!!q}`}),J==="html"&&T.createElement("iframe",{src:le+"&disposition=inline"}),J==="pdf"&&T.createElement("iframe",{src:`${er}/js/pdfview/index.html?filename=${Y||"educoder.pdf"}&url=${encodeURIComponent(le)}&disabledDownload=${!!q}`}),J==="image"&&T.createElement("img",{src:(le==null?void 0:le.indexOf("http"))>-1||le!=null&&le.startsWith("/api")?le:`data:image/png;base64,${le}`}),(J==="other"||J==="download")&&T.createElement(T.Fragment,null,Ee?T.createElement(S.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:T.createElement(l.ZP,{icon:T.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ht,disabled:q},"\u4E0B\u8F7D")}):T.createElement(l.ZP,{type:"primary",size:"middle",onClick:ht,disabled:q},T.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},89284:function(d,g,e){"use strict";e.d(g,{z:function(){return K},Z:function(){return G}});var r=e(59301),i=e(72250),l=e(65802),c=e(64018),f=e(79710),s=e(13820),h=e(61737),u=e(15342),a=e(1012),x=e(91251),p=e(59301),_=({html:oe})=>{const ae=(0,r.useRef)(null),le=(0,r.useRef)(null),Q=`.markdown-body p {
|
|
|
margin: 0 0 16px 0 !important;
|
|
|
line-height: 28px;
|
|
|
white-space: pre-wrap;
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
li {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
dl {
|
|
|
margin-bottom: 0px;
|
|
|
}
|
|
|
|
|
|
.markdown-body {
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
color: #333;
|
|
|
overflow: hidden;
|
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
|
word-break: break-word;
|
|
|
font-size: 16px;
|
|
|
line-height: 1.6;
|
|
|
white-space: normal;
|
|
|
word-wrap: break-word;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul>li {
|
|
|
list-style-type: disc;
|
|
|
}
|
|
|
|
|
|
.markdown-body ol>li {
|
|
|
list-style-type: decimal;
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
background: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:active,
|
|
|
.markdown-body a:hover {
|
|
|
outline: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body strong {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 2em;
|
|
|
margin: 0.67em 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
-moz-box-sizing: content-box;
|
|
|
box-sizing: content-box;
|
|
|
height: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
overflow: auto;
|
|
|
}
|
|
|
|
|
|
.markdown-body code,
|
|
|
.markdown-body kbd,
|
|
|
.markdown-body pre {
|
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
color: inherit;
|
|
|
font: inherit;
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body html input[disabled] {
|
|
|
cursor: default;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
line-height: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body td,
|
|
|
.markdown-body th {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body * {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
color: #4183c4;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:hover,
|
|
|
.markdown-body a:active {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
height: 0;
|
|
|
margin: 15px 0;
|
|
|
overflow: hidden;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:before {
|
|
|
display: table;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:after {
|
|
|
display: table;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
margin-top: 15px;
|
|
|
margin-bottom: 15px;
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
font-size: 21px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 11px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding: 0;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
ul.linenums,
|
|
|
ol.linenums {
|
|
|
padding: 16px 0 0 36px !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding-left: 2em;
|
|
|
}
|
|
|
|
|
|
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ul ol {
|
|
|
list-style-type: lower-roman;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul ol,
|
|
|
.markdown-body ul ol ol,
|
|
|
.markdown-body ol ul ol,
|
|
|
.markdown-body ol ol ol {
|
|
|
list-style-type: lower-alpha;
|
|
|
}
|
|
|
|
|
|
.markdown-body dd {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon {
|
|
|
font: normal normal 16px octicons-anchor;
|
|
|
line-height: 1;
|
|
|
display: inline-block;
|
|
|
text-decoration: none;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon-link:before {
|
|
|
content: '\f05c';
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:first-child {
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:last-child {
|
|
|
margin-bottom: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
display: block;
|
|
|
padding-right: 6px;
|
|
|
padding-left: 30px;
|
|
|
margin-left: -30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
position: relative;
|
|
|
margin-top: 1em;
|
|
|
margin-bottom: 16px;
|
|
|
font-weight: bold;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
|
.markdown-body h2 .octicon-link,
|
|
|
.markdown-body h3 .octicon-link,
|
|
|
.markdown-body h4 .octicon-link,
|
|
|
.markdown-body h5 .octicon-link,
|
|
|
.markdown-body h6 .octicon-link {
|
|
|
display: none;
|
|
|
color: #000;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
|
.markdown-body h2:hover .anchor,
|
|
|
.markdown-body h3:hover .anchor,
|
|
|
.markdown-body h4:hover .anchor,
|
|
|
.markdown-body h5:hover .anchor,
|
|
|
.markdown-body h6:hover .anchor {
|
|
|
padding-left: 8px;
|
|
|
margin-left: -30px;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 2.25em;
|
|
|
line-height: 1.2;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 1.75em;
|
|
|
line-height: 1.225;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 1.5em;
|
|
|
line-height: 1.43;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 1.25em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 1em;
|
|
|
color: #777;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul,
|
|
|
.markdown-body ul ol,
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ol ul {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body li>p {
|
|
|
margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dt {
|
|
|
padding: 0;
|
|
|
margin-top: 16px;
|
|
|
font-size: 1em;
|
|
|
font-style: italic;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dd {
|
|
|
padding: 0 16px;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
padding: 0 15px;
|
|
|
color: #777;
|
|
|
border-left: 4px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
|
word-break: normal;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th {
|
|
|
font-weight: bold;
|
|
|
text-align: revert;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th,
|
|
|
.markdown-body table td {
|
|
|
padding: 6px 13px;
|
|
|
border: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr {
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
|
background-color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
max-width: 100%;
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
padding: 0;
|
|
|
padding-top: 0.2em;
|
|
|
padding-bottom: 0.2em;
|
|
|
margin: 0;
|
|
|
font-size: 85%;
|
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:has(.katex) {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:before,
|
|
|
.markdown-body code:after {
|
|
|
letter-spacing: -0.2em;
|
|
|
content: "\\00a0";
|
|
|
}
|
|
|
|
|
|
.markdown-body pre>code {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
font-size: 100%;
|
|
|
word-break: normal;
|
|
|
white-space: pre;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight {
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre,
|
|
|
.markdown-body pre {
|
|
|
padding: 16px;
|
|
|
overflow: auto;
|
|
|
font-size: 85%;
|
|
|
line-height: 1.45;
|
|
|
background-color: #f7f7f7;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre {
|
|
|
margin-bottom: 0;
|
|
|
word-break: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
word-wrap: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code {
|
|
|
display: inline;
|
|
|
max-width: initial;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
overflow: initial;
|
|
|
line-height: inherit;
|
|
|
word-wrap: normal;
|
|
|
background-color: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code:before,
|
|
|
.markdown-body pre code:after {
|
|
|
content: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font-size: 11px;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c {
|
|
|
color: #969896;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c1,
|
|
|
.markdown-body .pl-mdh,
|
|
|
.markdown-body .pl-mm,
|
|
|
.markdown-body .pl-mp,
|
|
|
.markdown-body .pl-mr,
|
|
|
.markdown-body .pl-s1 .pl-v,
|
|
|
.markdown-body .pl-s3,
|
|
|
.markdown-body .pl-sc,
|
|
|
.markdown-body .pl-sv {
|
|
|
color: #0086b3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-e,
|
|
|
.markdown-body .pl-en {
|
|
|
color: #795da3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
|
.markdown-body .pl-smi,
|
|
|
.markdown-body .pl-smp,
|
|
|
.markdown-body .pl-stj,
|
|
|
.markdown-body .pl-vo,
|
|
|
.markdown-body .pl-vpf {
|
|
|
color: #333;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ent {
|
|
|
color: #63a35c;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-k,
|
|
|
.markdown-body .pl-s,
|
|
|
.markdown-body .pl-st {
|
|
|
color: #a71d5d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-pds,
|
|
|
.markdown-body .pl-s1,
|
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
|
.markdown-body .pl-sr,
|
|
|
.markdown-body .pl-sr .pl-cce,
|
|
|
.markdown-body .pl-sr .pl-sra,
|
|
|
.markdown-body .pl-sr .pl-sre,
|
|
|
.markdown-body .pl-src {
|
|
|
color: #df5000;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mo,
|
|
|
.markdown-body .pl-v {
|
|
|
color: #1d3e81;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-id {
|
|
|
color: #b52a1d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ii {
|
|
|
background-color: #b52a1d;
|
|
|
color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
|
color: #63a35c;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ml {
|
|
|
color: #693a17;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mh,
|
|
|
.markdown-body .pl-mh .pl-en,
|
|
|
.markdown-body .pl-ms {
|
|
|
color: #1d3e81;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mq {
|
|
|
color: #008080;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mi {
|
|
|
color: #333;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mb {
|
|
|
color: #333;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-md,
|
|
|
.markdown-body .pl-mdhf {
|
|
|
background-color: #ffecec;
|
|
|
color: #bd2c00;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdht,
|
|
|
.markdown-body .pl-mi1 {
|
|
|
background-color: #eaffea;
|
|
|
color: #55a532;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdr {
|
|
|
color: #795da3;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item {
|
|
|
list-style-type: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
|
margin-top: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item input {
|
|
|
float: left;
|
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
|
z-index: 1;
|
|
|
position: relative;
|
|
|
border-color: #4183c4;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
|
.pln {
|
|
|
color: #000
|
|
|
}
|
|
|
|
|
|
/* plain text */
|
|
|
|
|
|
@media screen {
|
|
|
.str {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* string content */
|
|
|
.kwd {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a keyword */
|
|
|
.com {
|
|
|
color: #800
|
|
|
}
|
|
|
|
|
|
/* a comment */
|
|
|
.typ {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a type name */
|
|
|
.lit {
|
|
|
color: #066
|
|
|
}
|
|
|
|
|
|
/* a literal value */
|
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #660
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a markup tag name */
|
|
|
.atn {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a markup attribute name */
|
|
|
.atv {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* a markup attribute value */
|
|
|
.dec,
|
|
|
.var {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a declaration; a variable name */
|
|
|
.fun {
|
|
|
color: red
|
|
|
}
|
|
|
|
|
|
/* a function name */
|
|
|
}
|
|
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
|
@media print,
|
|
|
projection {
|
|
|
.str {
|
|
|
color: #060
|
|
|
}
|
|
|
|
|
|
.kwd {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.com {
|
|
|
color: #600;
|
|
|
font-style: italic
|
|
|
}
|
|
|
|
|
|
.typ {
|
|
|
color: #404;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.lit {
|
|
|
color: #044
|
|
|
}
|
|
|
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #440
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.atn {
|
|
|
color: #404
|
|
|
}
|
|
|
|
|
|
.atv {
|
|
|
color: #060
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
|
pre.prettyprint {
|
|
|
padding: 2px;
|
|
|
/* border: 1px solid #888 */
|
|
|
}
|
|
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
|
ol.linenums {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0
|
|
|
}
|
|
|
|
|
|
/* IE indents via margin-left */
|
|
|
li.L0,
|
|
|
li.L1,
|
|
|
li.L2,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L6,
|
|
|
li.L7,
|
|
|
li.L8 {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
/* Alternate shading for lines */
|
|
|
li.L1,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L7,
|
|
|
li.L9 {
|
|
|
background: #eee
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}`;return(0,r.useEffect)(()=>{const J=ae.current.attachShadow({mode:"open"});le.current=document.createElement("div"),le.current.className="markdown-body",le.current.innerHTML=oe,J.appendChild(le.current);const Y=document.createElement("style");return Y.textContent=Q,J.appendChild(Y),()=>{J.innerHTML=""}},[]),(0,r.useEffect)(()=>{le.current&&(le.current.innerHTML=oe)},[oe]),p.createElement("div",{ref:ae})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,T=(oe,ae,le)=>ae in oe?b(oe,ae,{enumerable:!0,configurable:!0,writable:!0,value:le}):oe[ae]=le,D=(oe,ae)=>{for(var le in ae||(ae={}))R.call(ae,le)&&T(oe,le,ae[le]);if(S)for(var le of S(ae))L.call(ae,le)&&T(oe,le,ae[le]);return oe};const B="@\u2581\u2581@",$="@\u2581@",U=/<pre[^>]*>/g;function V(oe){let ae=document.createElement("div");return ae.innerHTML=oe,ae.childNodes.length===0?"":ae.childNodes[0].nodeValue}const K=(oe,ae)=>{oe=oe||"";const le=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Q=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,J=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Y=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ae?oe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(le,(ue,ne,ee,ie,F,M,q)=>{const de=ne||ie||M,Ee=ee||F||q||"?";return s.Z.API_SERVER+"/api/attachments/"+de+Ee+"&t="+(0,h.Jn)(de,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(oe=oe.replace(Y,(ue,ne,ee,ie,F,M,q)=>{const de=ne||ie||M,Ee=ee||F||q||"?";return s.Z.API_SERVER+"/attachments/download/"+de+Ee+"&t="+(0,h.Jn)(de,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replace(le,(ue,ne,ee,ie,F,M,q)=>{const de=ne||ie||M,Ee=ee||F||q||"?";return s.Z.API_SERVER+"/api/attachments/"+de+Ee+"&t="+(0,h.Jn)(de,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replace(Q,(ue,ne,ee,ie,F)=>{const M=ne||ie,q=ee||F||"";return'"'+s.Z.API_SERVER+"/api/attachments/"+M+q+M+q+"&t="+(0,h.Jn)(M,Date.now())}).replace(J,(ue,ne,ee,ie,F)=>{const M=ne||ie,q=ee||F||"";return"("+s.Z.API_SERVER+"/files/uploads/"+M+q+M+q+"&t="+(0,h.Jn)(M,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`),oe)};var G=({value:oe="",className:ae,showTextOnly:le,showLines:Q,style:J={},stylesPrev:Y={},highlightKeywords:ue,showProgramFill:ne,isProgramFill:ee,disabledFill:ie=!1,programFillValue:F,onFillChange:M=Ee=>{},onFillBlur:q=()=>{},onFillFocus:de=()=>{}})=>{let Ee=String(oe);const[Ce,je]=(0,r.useState)(""),[Fe,Ft]=(0,r.useState)("office"),[_t,Pt]=(0,r.useState)([]),Qt=(0,r.useRef)("a"+(0,a.Z)()),er={},Jt=($e,He,nt)=>{const ct=document.createElement($e===$?"input":"textarea");ct.style.width="100%",ct.style.height=$e===$?"40px":"151px",ct.rows=5,ct.spellcheck=!1,ct.name="edu-program-fill",ct.placeholder="\u8BF7\u8F93\u5165",ct.dataset.id=He;const Kt=Object.keys(er).length;return er[Kt]=ct,`<span class="edu-program-fill-wrap ${$e===$?"":"show"}" style="width:${$e===$?"400px":"100%"}" title=${nt||""}><span>${ct.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Xe($e){return $e=$e.replace(/!\[.*?\]\(.*?\)/g,""),$e=$e.replace(/\[.*?\]\(.*?\)/g,""),$e=$e.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),$e=$e.replace(/<embed.*?>/g,""),$e=$e.replace(/<img.*?>/g,""),$e=$e.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),$e=$e.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),$e=$e.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),$e=$e.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),$e}const It=$e=>$e.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(He,nt){let ct=nt.replace(/(\n|\r)/g,"").split("}"),Kt=[];return ct.map(Wt=>{Wt!=""&&Kt.push(`.${Qt.current} ${Wt}`)}),`<style>${Kt.join("}")}</style>`}),zt=(0,r.useMemo)(()=>{try{const ct=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Kt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Wt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,De=/\(\/attachments\/download\//g;Ee=Ee.replace(De,"("+s.Z.API_SERVER+"/attachments/download/").replace(ct,"("+s.Z.API_SERVER+"/api/attachments/").replace(Kt,'"'+s.Z.API_SERVER+"/api/attachments/").replace(Wt,'"'+s.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`)}catch(ct){}if(ne){let ct=-1;return Ee=Ee.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Kt,Wt,De){var Qe;return++ct,Jt(Kt,ct,(Qe=F==null?void 0:F[ct])==null?void 0:Qe.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${It(Ee||"")}</pre>`}let $e=It(Ee);$e=(0,l.ZP)($e);const He=(0,l.ez)();Ee.match(/\[TOC\]/)&&($e=$e.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),$e=$e.replace(/(__special_katext_id_\d+__)/g,(ct,Kt)=>{const{type:Wt,expression:De}=He[Kt];return(0,u.renderToString)(V(De)||"",{displayMode:Wt==="block",throwOnError:!1,output:"html"})}),$e=$e.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const nt=document.createElement("div");if(nt.innerHTML=$e,le)return nt.innerText;if(ue){const ct=ue.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je(nt,ct),nt.innerHTML}return setTimeout(()=>Ae(),500),nt.innerHTML},[Ee,ue]);(0,r.useEffect)(()=>{Ue.current&&Ue.current.querySelectorAll(["input","textarea"]).forEach(He=>{He.oninput=st,He.onblur=bt,He.onfocus=ht})},[_t]),(0,r.useEffect)(()=>{var $e,He,nt,ct,Kt;if(F!=null&&F.length)try{const Wt=Ue.current.querySelectorAll(".edu-program-fill-score"),De=Ue.current.querySelectorAll('[name="edu-program-fill"]');for(const[Qe,Vt]of De.entries())Vt.value=(($e=F==null?void 0:F[Qe])==null?void 0:$e.value)||"",((He=F==null?void 0:F[Qe])==null?void 0:He.type)==="warning"?Vt.className="program-fill-warning":((nt=F==null?void 0:F[Qe])==null?void 0:nt.type)==="success"?Vt.className="program-fill-success":Vt.className="";for(const[Qe,Vt]of Wt.entries())Vt.innerHTML=(ct=F==null?void 0:F[Qe])!=null&&ct.score?`${(Kt=F==null?void 0:F[Qe])==null?void 0:Kt.score}\u5206`:"";Pt(F)}catch(Wt){console.log(Wt,"error")}},[F]);const st=$e=>{_t[$e.target.dataset.id]=_t[$e.target.dataset.id]||{},_t[$e.target.dataset.id].value=$e.target.value,Pt([..._t]),M(_t,$e.target.dataset.id)},bt=$e=>{_t[$e.target.dataset.id]=_t[$e.target.dataset.id]||{},_t[$e.target.dataset.id].value=$e.target.value,Pt([..._t]),q(_t,$e.target.dataset.id)},ht=$e=>{_t[$e.target.dataset.id]=_t[$e.target.dataset.id]||{},_t[$e.target.dataset.id].value=$e.target.value,Pt([..._t]),de(_t,$e.target.dataset.id)};function Je($e,He){return $e.childNodes.forEach(nt=>{var ct;if(nt.childNodes.length>0)Je(nt,He);else if(nt.nodeName!=="IMG")if(nt.innerHTML)nt.innerHTML=(ct=nt.innerHTML)==null?void 0:ct.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Kt=document.createElement("span");Kt.innerHTML=nt.textContent.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),nt.replaceWith(Kt)}})}const Ue=(0,r.useRef)();l.jb.WebkitLineClamp=Q,Q&&(J=D(D({},J),l.jb));function ge($e){let He=$e.target;if(He.tagName.toUpperCase()==="A"){let nt=He.getAttribute("href");if(nt.indexOf("office")>-1)$e.preventDefault(),je(nt),Ft("office");else if(nt.indexOf("application/pdf")>-1)$e.preventDefault(),je(nt),Ft("pdf");else if(nt.indexOf("text/html")>-1)$e.preventDefault(),je(nt),Ft("html");else if(nt.startsWith("#")){$e.preventDefault();let ct=document.getElementById(nt.replace("#",""));ct&&ct.scrollIntoView(!0)}}}const Ae=()=>{var $e;const He=($e=Ue.current)==null?void 0:$e.querySelectorAll("video");He==null||He.forEach(nt=>{if(nt.oncontextmenu=()=>!1,nt.src.indexOf(".m3u8")>-1&&!nt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var ct=new f.ZP;ct.loadSource(nt.src),ct.attachMedia(nt)}}})};(0,r.useEffect)(()=>{if(Ue.current&&zt&&zt.match(U)&&window.PR.prettyPrint(),Ue.current)return Ue.current.addEventListener("click",ge),()=>{var $e;($e=Ue.current)==null||$e.removeEventListener("click",ge),(0,l.AL)(),(0,l.Iy)()}},[zt,Ue.current,ge]),(0,r.useEffect)(()=>{var $e;const He=nt=>{nt.preventDefault(),nt.clipboardData.setData("text",window.getSelection().toString())};return($e=Ue.current)==null||$e.addEventListener("copy",He),()=>{var nt;(nt=Ue.current)==null||nt.removeEventListener("copy",He)}},[Ue.current]);const Me=$e=>/<style[\s\S]*?>/i.test($e||"");return r.createElement(r.Fragment,null,le&&r.createElement("div",{ref:Ue},zt),!le&&!Me(zt)&&r.createElement("div",{ref:Ue,style:D({},J),className:`${ae||""} ${ie?"disabled-fill":""} markdown-body ${Qt.current}`,dangerouslySetInnerHTML:{__html:zt}}),!le&&Me(zt)&&r.createElement(_,{html:zt}),r.createElement(x.Z,{close:!0,data:Ce,type:Ce!=null&&Ce.length?Fe:"",style:D({},Y),onClose:()=>je("")}))}},48633:function(d,g,e){"use strict";e.d(g,{SV:function(){return Ue},ZP:function(){return Je}});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(`
|
|
|
`)}]},s={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
|
`)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
|
`)}]};var u=e(53184),a=e.n(u),x=Object.defineProperty,p=Object.defineProperties,y=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,R=(ge,Ae,Me)=>Ae in ge?x(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ae]=Me,L=(ge,Ae)=>{for(var Me in Ae||(Ae={}))b.call(Ae,Me)&&R(ge,Me,Ae[Me]);if(_)for(var Me of _(Ae))S.call(Ae,Me)&&R(ge,Me,Ae[Me]);return ge},T=(ge,Ae)=>p(ge,y(Ae)),D=(ge,Ae,Me)=>new Promise(($e,He)=>{var nt=Wt=>{try{Kt(Me.next(Wt))}catch(De){He(De)}},ct=Wt=>{try{Kt(Me.throw(Wt))}catch(De){He(De)}},Kt=Wt=>Wt.done?$e(Wt.value):Promise.resolve(Wt.value).then(nt,ct);Kt((Me=Me.apply(ge,Ae)).next())});const B={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},$=(ge,Ae)=>Ae.map(Me=>({label:Me,kind:ge.languages.CompletionItemKind.Keyword,insertText:Me})),U=ge=>Object.keys(B.tables).map(Ae=>({label:Ae,kind:ge.languages.CompletionItemKind.Variable,insertText:Ae})),V=(ge,Ae)=>{const Me=B.tables[ge];return Me?Me.map($e=>({label:$e,kind:Ae.languages.CompletionItemKind.Field,insertText:$e})):[]};function K(ge,Ae,Me,$e,He){let nt=Ae.getWordUntilPosition(Me),ct={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:nt.startColumn,endColumn:nt.endColumn},Kt=$e.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Keyword,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct}));return He.map(Wt=>{Kt.push(T(L({},Wt),{range:ct}))}),Kt}var G=ge=>{B.languages.map(He=>(ge.languages.registerDocumentFormattingEditProvider(He,{provideDocumentFormattingEdits(nt,ct,Kt){return D(this,null,function*(){const Wt=a()(nt.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:nt.getFullModelRange(),text:Wt}]})}}),He));const Ae=f.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=s.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$e=c.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ge.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Kt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...f.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...f.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Kt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn};return{suggestions:[...l.keywords.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Kt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...c.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...c.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Kt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...h.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...h.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(He,nt){var ct=He.getWordUntilPosition(nt),Kt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(nt.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...s.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...s.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}})};const oe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ae=Object.defineProperty,le=(ge,Ae,Me)=>Ae in ge?ae(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ae]=Me,Q=(ge,Ae,Me)=>le(ge,typeof Ae!="symbol"?Ae+"":Ae,Me);const J=class Rd{constructor(Ae,Me,$e){this.placeholder=Ae,this.editor=Me,this.monaco=$e,Me.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Rd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Q(J,"ID","editor.widget.placeholderHint");var ue=J,ne=e(96236),ee=e(8591),ie=e(6848),F=e(89392),M=e(94784),q=e(56102),de=Object.defineProperty,Ee=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,_t=(ge,Ae,Me)=>Ae in ge?de(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ae]=Me,Pt=(ge,Ae)=>{for(var Me in Ae||(Ae={}))Fe.call(Ae,Me)&&_t(ge,Me,Ae[Me]);if(je)for(var Me of je(Ae))Ft.call(Ae,Me)&&_t(ge,Me,Ae[Me]);return ge},Qt=(ge,Ae)=>Ee(ge,Ce(Ae)),er=(ge,Ae)=>{var Me={};for(var $e in ge)Fe.call(ge,$e)&&Ae.indexOf($e)<0&&(Me[$e]=ge[$e]);if(ge!=null&&je)for(var $e of je(ge))Ae.indexOf($e)<0&&Ft.call(ge,$e)&&(Me[$e]=ge[$e]);return Me},Jt=(ge,Ae,Me)=>new Promise(($e,He)=>{var nt=Wt=>{try{Kt(Me.next(Wt))}catch(De){He(De)}},ct=Wt=>{try{Kt(Me.throw(Wt))}catch(De){He(De)}},Kt=Wt=>Wt.done?$e(Wt.value):Promise.resolve(Wt.value).then(nt,ct);Kt((Me=Me.apply(ge,Ae)).next())});function Xe(ge){return/^\d+$/.test(ge)?`${ge}px`:ge}function It(){}let zt=!1;const st={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function bt(ge=[]){let Ae=ge;if(Array.isArray(ge)){for(let Me=0;Me<ge.length;Me++){let $e=st[ge[Me]];if($e)return $e}return Ae[0]}return st[Ae]||Ae}let ht=null;var Je=ge=>{var Ae=ge,{width:Me="100%",height:$e="100%",value:He,language:nt="javascript",style:ct={},options:Kt={},overrideServices:Wt={},theme:De="vs-dark",onEditBlur:Qe,isCopy:Vt=!1,onSave:kt,autoHeight:Ht=!1,forbidCopy:$t=!1,onChange:Ct=It,editorDidMount:Yt=It,onFocus:Ge=It,onBreakPoint:fe=It,breakPointValue:_e=[],filename:Ot="educoder.txt",errorLine:Pe,errorContent:dt="",highlightLine:Zt,openBreakPoint:Tt=!1,placeholder:ke=""}=Ae,St=er(Ae,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const be=(0,r.useRef)(),Ke=(0,r.useRef)({}),gt=(0,r.useRef)(),Rt=(0,r.useRef)(),Be=(0,r.useRef)([]),kr=(0,r.useRef)(!1),At=(0,r.useRef)(),Kr=(0,r.useRef)(),Qr=(0,r.useRef)(!1),[Ar,$r]=(0,r.useState)(!1);function _r(){let mr;return be.current&&(mr=new i.Z(en=>{for(let dn of en)(dn.target.offsetHeight>0||dn.target.offsetWidth>0)&&Ke.current.instance.layout()}),mr.observe(be.current)),mr}function Ur(){ee.ZP.warning({content:decodeURIComponent(oe),key:"monaco-editor-tip"})}const sn=()=>{let mr=Ke.current.instance;if(He!=null&&mr&&Ar){const en=mr.getModel();en&&He!==en.getValue()&&(zt=!0,en.setValue(He),mr.layout(),zt=!1)}};(0,r.useEffect)(()=>{const mr=M.Z.subscribe("formatDocument",en=>{var dn;let Fn=Ke.current.instance;(dn=Fn==null?void 0:Fn.getAction)==null||dn.call(Fn,"editor.action.formatDocument").run()});return window.updateMonacoValue=en=>{Ct(en)},mr},[]),(0,r.useEffect)(()=>{var mr;let en=Ke.current.instance;Rt.current&&clearTimeout(Rt.current),Rt.current=setTimeout(()=>{sn()},500),He&&(He!=null&&He.length)&&((mr=en==null?void 0:en.updateOptions)==null||mr.call(en,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(He.split(/\r\n|\r|\n/g).length))+3,5)}))},[He,Ar,Ke.current]),(0,r.useEffect)(()=>{if(Pe&&Ke.current&&Ke.current.instance){let en=Ke.current.instance;en.changeViewZones(function(dn){var Fn=document.createElement("div");Fn.style.padding="10px 20px",Fn.style.width="calc(100% - 20px)",Fn.className="my-error-line-wrp",Fn.innerHTML=dt,dn.addZone({afterLineNumber:Pe||11,heightInLines:3,domNode:Fn})});var mr={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}};en.addOverlayWidget(mr),en.revealPositionInCenter({lineNumber:20,column:1})}},[Pe,Ke.current,Ar]);const cn=(mr="",en)=>{if(!mr||mr.trim()==="")return!0;const Fn=Ke.current.instance.getModel().getLineTokens(en);let ei=!1;for(let Nn=0;Nn<2;Nn++)Fn.getStandardTokenType(Nn)===1&&(ei=!0);return ei};(0,r.useEffect)(()=>{var mr;const en=(mr=Ke.current)==null?void 0:mr.instance;if(en&&Ar&&$t){const dn=en.onDidBlurEditorWidget(()=>{Qr.current=!1}),Fn=en.onDidFocusEditorText(()=>{Qr.current=!0});return()=>{dn.dispose(),Fn.dispose()}}},[Ke.current,Ar,$t]),(0,r.useEffect)(()=>{var mr;if((mr=Ke.current)!=null&&mr.instance&&Ar&&Tt){let en=Ke.current.instance,dn=en.getModel();if(!dn)return;(()=>{var Et;let ut=[],Xn=[];const wi=dn.getAllDecorations();for(let Zi of wi)Zi.options.className==="highlighted-line"&&(ut.push((Et=Zi==null?void 0:Zi.range)==null?void 0:Et.startLineNumber),Xn.push(Zi==null?void 0:Zi.id));if(Zt===ut[0])return;dn.deltaDecorations(Xn,[]);const qn=dn.getLineCount();Zt&&Zt<=qn&&(en.deltaDecorations([],[{range:new ht.Range(Zt,1,Zt,dn.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),en.revealLineInCenter(Zt))})();const ei=(Et=!1)=>{var ut;let Xn=[],wi=[];const qn=dn.getAllDecorations();for(let Zi of qn)Zi.options.linesDecorationsClassName==="breakpoints-select"&&(Xn.push((ut=Zi==null?void 0:Zi.range)==null?void 0:ut.startLineNumber),wi.push(Zi==null?void 0:Zi.id));if(Et)return{lines:Xn,ids:wi};fe(Xn)},Nn=Et=>Jt(void 0,null,function*(){let ut={range:new ht.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield dn.deltaDecorations([],[ut]),ei()}),zi=Et=>Jt(void 0,null,function*(){let ut=[];const Xn=en.getLineDecorations(Et);for(let wi of Xn)wi.options.linesDecorationsClassName==="breakpoints-select"&&ut.push(wi.id);yield dn.deltaDecorations(ut,[]),ei()}),mi=Et=>{let ut=en.getLineDecorations(Et);for(let Xn of ut)if(Xn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,F.isEqual)(_e,ei(!0).lines)){dn.deltaDecorations(ei(!0).ids,[]);const Et=_e.map(ut=>({range:new ht.Range(ut,1,ut,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));dn.deltaDecorations([],Et)}const xi=en.onDidChangeModelContent(Et=>{let ut=en.getPosition();if(ut){let Xn=ut.lineNumber;clearTimeout(Kr.current),Kr.current=setTimeout(()=>{cn(dn.getLineContent(Xn),Xn)?zi(Xn):mi(Xn)?(zi(Xn),Nn(Xn)):ei()},100)}}),vi=en.onMouseDown(Et=>{var ut,Xn,wi;if(Et.target.detail&&((wi=(Xn=(ut=Et.target)==null?void 0:ut.element)==null?void 0:Xn.className)!=null&&wi.includes("line-numbers"))){let qn=Et.target.position.lineNumber;if(cn(dn.getLineContent(qn),qn))return;mi(qn)?zi(qn):Nn(qn)}}),pi=Et=>{let ut={range:new ht.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Be.current=en.deltaDecorations(Be.current,[ut])},Yi=()=>{Be.current=en.deltaDecorations(Be.current,[])},Yn=en.onMouseMove(Et=>{var ut,Xn,wi;if(Yi(),Et.target.detail&&((wi=(Xn=(ut=Et.target)==null?void 0:ut.element)==null?void 0:Xn.className)!=null&&wi.includes("line-numbers"))){let qn=Et.target.position.lineNumber;if(cn(dn.getLineContent(qn),qn))return;pi(qn)}}),Vi=en.onMouseLeave(()=>{Yi()});return()=>{xi.dispose(),vi.dispose(),Yn.dispose(),Vi.dispose()}}},[Ke.current,Ar,_e,Zt,Tt,nt]),(0,r.useEffect)(()=>{var mr;(mr=Ke.current)!=null&&mr.instance&&Tt&&Ke.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function ur(){let mr=Ke.current.instance;if(mr){const en=mr.getSelection(),dn=Ke.current.pastePos||{},Fn=new ht.Range(dn.startLineNumber||en.endLineNumber,dn.startColumn||en.endColumn,dn.endLineNumber||en.endLineNumber,dn.endColumn||en.endColumn);setTimeout(()=>{mr.executeEdits("",[{range:Fn,text:""}])},300)}}function Lt(mr){(window.navigator.platform.match("Mac")?mr.metaKey:mr.ctrlKey)&&mr.keyCode==83&&(mr.preventDefault(),kt())}const vt=()=>{if(Ht&&Ke.current.instance){const mr=Ke.current.instance.getContentHeight();mn(mr<$e?$e:mr)}else mn($e)};function yt(mr){var en=document.createEvent("MouseEvents");en.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),mr.dispatchEvent(en)}const jt=mr=>{if(!Qr.current)return;const{keyCode:en,ctrlKey:dn,metaKey:Fn,target:ei,type:Nn}=mr;return(Nn==="paste"||(en===67||en===86)&&(Fn||dn))&&ei.nodeName==="TEXTAREA"&&(Ur(),mr.preventDefault()),!1};function Cr(mr,en){var dn=window.URL||window.webkitURL||window,Fn=new Blob([en]),ei=document.createElementNS("http://www.w3.org/1999/xhtml","a");ei.href=dn.createObjectURL(Fn),ei.download=mr,yt(ei)}(0,r.useEffect)(()=>{vt()},[vt]),(0,r.useEffect)(()=>{be.current&&!Ar&&Promise.all([e.e(8909),e.e(3647)]).then(e.bind(e,71448)).then(mr=>{try{ht=mr,Ke.current.instance=ht.editor.create(be.current,{value:He,language:bt(nt),theme:De,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Wt);const en=Ke.current.instance;let ei=[...ne.BH._menuItems].find(xi=>xi[0]._debugName=="EditorContext")[1],Nn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],zi=(xi,vi)=>{var pi,Yi;let Yn=xi._first;do vi.includes((Yi=(pi=Yn.element)==null?void 0:pi.command)==null?void 0:Yi.id)&&xi._remove(Yn);while(Yn=Yn.next)};if(Yt(en,ht),setTimeout(()=>{vt(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cr(Ot||"educoder.txt",en.getValue())}})},500),Ke.current.subscription=en.onDidChangeModelContent(xi=>{kr.current?clearTimeout(At.current):(vt(),Ct(en.getValue(),xi)),At.current=setTimeout(()=>{kr.current=!1},500)}),window.Monaco||G(ht,bt(nt)),$t&&(zi(ei,Nn),be.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",jt),window.removeEventListener("paste",jt),window.addEventListener("keydown",jt),window.addEventListener("paste",jt)),window.Monaco=ht,Qe&&en.onDidBlurEditorWidget(()=>{Qe(en.getValue())}),Ge&&en.onDidFocusEditorText(()=>{Ge(en.getValue())}),$t)try{en.onDidPaste(xi=>{const vi=en.getSelection(),pi=Ke.current.pastePos||{},Yi=new ht.Range(pi.startLineNumber||vi.endLineNumber,pi.startColumn||vi.endColumn,pi.endLineNumber||vi.endLineNumber,pi.endColumn||vi.endColumn);en.executeEdits("",[{range:xi.range,text:""}])})}catch(xi){}let mi=_r();return ke&&typeof ke=="string"&&new ue(ke,en,ht),$r(!0),()=>{const xi=Ke.current.instance;xi.dispose();const vi=xi.getModel();vi&&vi.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),mi.unobserve(be.current)}}catch(en){}})},[]),(0,r.useEffect)(()=>{if(Ke.current.instance&&Ar)return document.addEventListener("keydown",Lt,!1),()=>{document.removeEventListener("keydown",Lt)}},[kt,Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;if(mr&&Ar){let en=bt(nt);ht.editor.setModelLanguage(mr.getModel(),en)}},[nt,Ar]),(0,r.useEffect)(()=>{Ke.current.instance&&Ar&&ht.editor.setTheme(De)},[De,Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;gt.current=Kt,mr&&Ar&&(mr.updateOptions(Pt({},Kt)),setTimeout(()=>{mr.getModel().updateOptions(Pt({},Kt))},200))},[JSON.stringify(Kt),Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;mr&&Ar&&mr.layout()},[Me,$e,Ar]);const[yr,ot]=(0,r.useState)(Xe(Me)),[Fr,mn]=(0,r.useState)(Xe($e)),Un=Qt(Pt({},ct),{width:yr,height:Fr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:be,style:Un},Vt&&r.createElement(q.CopyToClipboard,{text:He,onCopy:()=>ee.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(ie.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:ge="100%",height:Ae="100%",original:Me,modified:$e,language:He,options:nt={}}){const ct=(0,r.useRef)(),[Kt,Wt]=(0,r.useState)(null);function De(Ht){let $t;return ct.current&&($t=new i.Z(Ct=>{for(let Yt of Ct)(Yt.target.offsetHeight>0||Yt.target.offsetWidth>0)&&Ht.layout()}),$t.observe(ct.current)),$t}(0,r.useEffect)(()=>(ct.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ht=>{ht=Ht;const $t=ht.editor.createDiffEditor(ct.current,Qt(Pt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},nt),{wordWrap:!0}));Wt($t);let Ct=De($t);return()=>{$t.dispose();const Yt=$t.getModel();Yt&&Yt.dispose(),Ct.unobserve(ct.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Kt&&Kt.setModel({original:ht.editor.createModel(Me,He),modified:ht.editor.createModel($e,He)})},[Me,$e,He,Kt]);const Qe=Xe(ge),Vt=Xe(Ae),kt={width:Qe,height:Vt};return r.createElement("div",{className:"my-diff-editor",ref:ct,style:kt})}},26685:function(d,g,e){"use strict";e.d(g,{k:function(){return b}});var r=e(77256),i=e(8591),l=e(43473),c=Object.defineProperty,f=Object.defineProperties,s=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(R,L,T)=>L in R?c(R,L,{enumerable:!0,configurable:!0,writable:!0,value:T}):R[L]=T,p=(R,L)=>{for(var T in L||(L={}))u.call(L,T)&&x(R,T,L[T]);if(h)for(var T of h(L))a.call(L,T)&&x(R,T,L[T]);return R},y=(R,L)=>f(R,s(L)),_=(R,L)=>{var T={};for(var D in R)u.call(R,D)&&L.indexOf(D)<0&&(T[D]=R[D]);if(R!=null&&h)for(var D of h(R))L.indexOf(D)<0&&a.call(R,D)&&(T[D]=R[D]);return T};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:R},{call:L,put:T}){yield T({type:"save",payload:{actionTabs:p({},R)}})},*getMajorList({payload:R},{call:L,put:T,select:D}){const{userInfo:B}=yield D($=>$.user);if(B!=null&&B.school_id){const $=yield L(r.BA,B.school_id);if($&&$.data){const U=l.U.getItem(B==null?void 0:B.login);yield T({type:"setMajorOrYearDataSource",payload:{key:b[0],value:$.data.map(V=>({label:V.name,value:V.ec_major_school_id})),active:$.data.length>0?U[0]||$.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:R},{call:L,put:T,select:D}){const B=yield L(r.Nx,R.id),{userInfo:$}=yield D(U=>U.user);if(B&&B.data){const U=l.U.getItem($==null?void 0:$.login);yield T({type:"setMajorOrYearDataSource",payload:{key:b[1],value:B.data.map(V=>({label:V.year,value:V.ec_year_id})),active:B.data.length>0?R.firstEnter?U[1]:B.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:R={}},{call:L,put:T,select:D}){const{calc:B,page:$,per_page:U}=R,{headerData:V,tabListData:K}=yield D(ae=>ae.engineeringEvaluteList),{userInfo:G}=yield D(ae=>ae.user);let oe=V.active[b[1]];if(oe){let ae={id:oe,page:$||1,per_page:U||K.pageSize};B&&(ae=y(p({},ae),{page:K.pageNo}));const le=yield L(r._y,ae),Q=[V.active[b[0]],V.active[b[1]]];l.U.setItem(G==null?void 0:G.login,Q),le&&le.ec_courses&&(yield T({type:"setCourseResults",payload:y(p({},K),{pageNo:ae.page,total:le.count,pageSize:ae.per_page||K.pageSize,dataSource:le.ec_courses.map((J,Y)=>y(p({},J),{key:ae.page>1?(ae.page-1)*ae.per_page+Y+1:Y+1}))})}))}else yield T({type:"setCourseResults",payload:y(p({},K),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:R},{call:L,select:T}){const{headerData:D}=yield T(B=>B.engineeringEvaluteList);D.active[b[1]]&&(yield L(r.F,D.active[b[1]]))},*compute({payload:R},{call:L,put:T}){const D=R,{all:B}=D,$=_(D,["all"]),U=yield L(B?r.At:r.PX,$);U&&U.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield T({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(U.message)}},reducers:{save(R,L){return p(p({},R),L.payload)},setMajorOrYearDataSource(R,{payload:L}){let T=R.headerData.active;return L.active&&(T=y(p({},T),{[L.key]:L.active})),y(p({},R),{headerData:y(p({},R.headerData),{dataSource:y(p({},R.headerData.dataSource),{[L.key]:y(p({},R.headerData.dataSource[L.key]),{dataList:L.value})}),active:T})})},setMajorOrYearActive(R,{payload:L}){return y(p({},R),{headerData:y(p({},R.headerData),{active:y(p({},R.headerData.active),{[L.key]:L.value})})})},setCourseResults(R,{payload:L}){return y(p({},R),{tabListData:p(p({},R.tabListData),L)})}},subscriptions:{setup({dispatch:R,history:L}){return L.listen(({pathname:T})=>{T==="/"&&R({type:"query"})})}}};g.Z=S},61195:function(d,g,e){"use strict";e.d(g,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,s=(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:R,completion_questions:L,subjective_questions:T,practical_questions:D,combination_questions:B}=x||{},U=[s({type:"SINGLE",name:"\u5355\u9009\u9898"},_),s({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),s({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},L),s({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),s({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},T),s({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},R),s({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},D),s({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},B)].filter(V=>V.questions_count>0).map((V,K)=>s(s({},V),{number:u[K+1]}));return{all_questions_count:p,all_score:y,questionList:U}}},43473:function(d,g,e){"use strict";e.d(g,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(57535);const l=(f,s="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:s,onOk:f})},c={setItem:(f,s)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(s);localStorage.setItem(u,a)},getItem:f=>{var s;const h=f+"-engineering"+((s=(0,i.eY)())==null?void 0:s.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var s;const h=f+"-engineering"+((s=(0,i.eY)())==null?void 0:s.school_id);localStorage.removeItem(h)}}},62516:function(d,g,e){"use strict";e.d(g,{$f:function(){return p},Cq:function(){return b},GY:function(){return s},I8:function(){return R},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return D},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return L},ht:function(){return _},kN:function(){return B},n1:function(){return l},nI:function(){return $},o9:function(){return c},sG:function(){return a},wi:function(){return T}});var r=e(205),i=(U,V,K)=>new Promise((G,oe)=>{var ae=J=>{try{Q(K.next(J))}catch(Y){oe(Y)}},le=J=>{try{Q(K.throw(J))}catch(Y){oe(Y)}},Q=J=>J.done?G(J.value):Promise.resolve(J.value).then(ae,le);Q((K=K.apply(U,V)).next())});function l(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/avatar.json`,{method:"put",body:U})})}function c(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}.json`,{method:"get"})})}function f(U){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:U})})}function s(U){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:U})})}function h(U){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${U.id}/departments/for_option.json`,{method:"get",params:U})})}function u(U){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:U})})}function a(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.id}.json`,{method:"put",body:U})})}function x(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/authentication_apply.json`,{method:"delete"})})}function p(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/professional_auth_apply.json`,{method:"delete"})})}function y(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.id}/professional_auth_apply.json`,{method:"post",body:U})})}function _(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.id}/authentication_apply.json`,{method:"post",body:U})})}function b(U){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:U})})}function S(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/phone_bind.json`,{method:"post",body:U})})}function R(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/email_bind.json`,{method:"post",body:U})})}function L(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.login}/password.json`,{method:"put",body:U})})}function T(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${U.basicInfoId}/open_users/${U.id}.json`,{method:"delete"})})}function D(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${U.login}/cancel_authentication.json`,{method:"post",body:U})})}function B(U){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${U.login}/cancel_professional_certification.json`,{method:"post",body:U})})}function $(U,V){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${U.login}/videos/${U.id}/create_subject_video.json`,{method:"post",body:V})})}},93698:function(d,g,e){"use strict";e.d(g,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(_,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)&&s(_,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&s(_,S,b[S]);return _},u=(_,b,S)=>new Promise((R,L)=>{var T=$=>{try{B(S.next($))}catch(U){L(U)}},D=$=>{try{B(S.throw($))}catch(U){L(U)}},B=$=>$.done?R($.value):Promise.resolve($.value).then(T,D);B((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({},_)})})}},91676:function(d,g,e){"use strict";e.d(g,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return _},SV:function(){return a},fc:function(){return L},mn:function(){return R},tO:function(){return p},zI:function(){return x}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(T,D,B)=>D in T?i(T,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):T[D]=B,h=(T,D)=>{for(var B in D||(D={}))c.call(D,B)&&s(T,B,D[B]);if(l)for(var B of l(D))f.call(D,B)&&s(T,B,D[B]);return T},u=(T,D,B)=>new Promise(($,U)=>{var V=oe=>{try{G(B.next(oe))}catch(ae){U(ae)}},K=oe=>{try{G(B.throw(oe))}catch(ae){U(ae)}},G=oe=>oe.done?$(oe.value):Promise.resolve(oe.value).then(V,K);G((B=B.apply(T,D)).next())});function a(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},T)})})}function x(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},T)})})}function p(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},T)})})}function y(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T.id}.json`,{method:"get",params:h({},T)})})}function _(T){return u(this,null,function*(){const{id:D}=T;return delete T.id,(0,r.ZP)(`/api/files/${D}.json`,{method:"put",body:h({},T)})})}function b(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T.id}/update_visits.json`,{method:"post"})})}function S(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T==null?void 0:T.id}/watch_list.json`,{method:"get",params:h({},T)})})}function R(T){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},T)})})}function L(T){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${T==null?void 0:T.id}/add_file_quantity.json`,{method:"post",body:h({},T)})})}},75766:function(d,g,e){"use strict";e.d(g,{CJ:function(){return y},Mf:function(){return L},NA:function(){return S},PC:function(){return _},PP:function(){return b},YQ:function(){return R},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(T,D,B)=>D in T?i(T,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):T[D]=B,h=(T,D)=>{for(var B in D||(D={}))c.call(D,B)&&s(T,B,D[B]);if(l)for(var B of l(D))f.call(D,B)&&s(T,B,D[B]);return T},u=(T,D,B)=>new Promise(($,U)=>{var V=oe=>{try{G(B.next(oe))}catch(ae){U(ae)}},K=oe=>{try{G(B.throw(oe))}catch(ae){U(ae)}},G=oe=>oe.done?$(oe.value):Promise.resolve(oe.value).then(V,K);G((B=B.apply(T,D)).next())});function a(T){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},T)})})}function x(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.boardId}.json`,{method:"get",params:h({},T)})})}function p(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.id}/sticky_top.json`,{method:"put",body:{course_id:T.coursesId}})})}function y(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.id}/sticky_top.json`,{method:"put",body:{course_id:T.coursesId}})})}function _(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.boardId}/reply_list.json`,{method:"get",params:h({},T)})})}function b(T){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${T.boardId}/reply.json`,{method:"post",body:h({},T)})})}function S(T){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},T)})})}function R(T){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},T)})})}function L(T){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},T)})})}},40477:function(d,g,e){"use strict";e.d(g,{$T:function(){return yr},A:function(){return $t},Ab:function(){return mi},Al:function(){return ee},BQ:function(){return ht},BR:function(){return ne},Bn:function(){return Me},Cq:function(){return jt},DJ:function(){return Fe},Dd:function(){return _},Ds:function(){return Ue},EO:function(){return Ct},Ed:function(){return Ft},F9:function(){return nt},FU:function(){return Kt},Fg:function(){return b},GV:function(){return Jt},Gk:function(){return Q},Gm:function(){return zt},Gz:function(){return S},Hl:function(){return R},Hn:function(){return K},ID:function(){return sn},IU:function(){return Pe},J2:function(){return Qt},K$:function(){return ge},KP:function(){return _t},KT:function(){return Ce},L$:function(){return Vt},LH:function(){return D},Lk:function(){return Vi},Ls:function(){return q},MA:function(){return Un},Mc:function(){return Yn},N7:function(){return ue},Nd:function(){return le},Nl:function(){return Ot},Ns:function(){return cn},O3:function(){return je},Pj:function(){return It},QX:function(){return _e},QZ:function(){return Ee},R2:function(){return Y},Rk:function(){return Cr},S9:function(){return kt},U8:function(){return Lt},UD:function(){return Ar},U_:function(){return oe},Uy:function(){return _r},V8:function(){return V},Vw:function(){return M},W0:function(){return Zt},W7:function(){return Je},WK:function(){return mr},Wr:function(){return zi},YR:function(){return Ge},Z0:function(){return gt},ZL:function(){return St},ZT:function(){return xi},ZX:function(){return dn},Z_:function(){return B},_0:function(){return $},_9:function(){return st},_B:function(){return pi},aP:function(){return Tt},aQ:function(){return bt},aZ:function(){return De},al:function(){return Ht},bm:function(){return Qr},bz:function(){return $e},c_:function(){return yt},ds:function(){return Kr},fN:function(){return en},fr:function(){return Yt},g4:function(){return er},gq:function(){return L},hf:function(){return F},i:function(){return Rt},i6:function(){return Fr},i7:function(){return Ur},iE:function(){return a},ih:function(){return Fn},kW:function(){return Pt},km:function(){return ur},nP:function(){return p},nQ:function(){return He},nX:function(){return kr},oM:function(){return Ae},oR:function(){return Yi},o_:function(){return ke},pf:function(){return At},pr:function(){return vi},pv:function(){return ot},qB:function(){return ie},r2:function(){return U},rS:function(){return T},s:function(){return ei},sb:function(){return Qe},sm:function(){return y},t1:function(){return Xe},tB:function(){return Nn},tR:function(){return ct},td:function(){return dt},uh:function(){return Wt},up:function(){return vt},v2:function(){return x},vV:function(){return be},w9:function(){return ae},wR:function(){return mn},yS:function(){return fe},yV:function(){return J},yd:function(){return Be},zg:function(){return de}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Et,ut,Xn)=>ut in Et?i(Et,ut,{enumerable:!0,configurable:!0,writable:!0,value:Xn}):Et[ut]=Xn,h=(Et,ut)=>{for(var Xn in ut||(ut={}))c.call(ut,Xn)&&s(Et,Xn,ut[Xn]);if(l)for(var Xn of l(ut))f.call(ut,Xn)&&s(Et,Xn,ut[Xn]);return Et},u=(Et,ut,Xn)=>new Promise((wi,qn)=>{var Zi=Qn=>{try{Pi(Xn.next(Qn))}catch(tr){qn(tr)}},_i=Qn=>{try{Pi(Xn.throw(Qn))}catch(tr){qn(tr)}},Pi=Qn=>Qn.done?wi(Qn.value):Promise.resolve(Qn.value).then(Zi,_i);Pi((Xn=Xn.apply(Et,ut)).next())});const a=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/configs.json`,{method:"put",body:Et})}),x=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Et})}),p=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Et})}),y=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Et})}),_=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Et})}),b=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Et})}),S=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Et})}),R=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Et})});function L(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},Et.permissions)})})}function T(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/assistant_permissions.json`,{method:"Get",params:h({},Et)})})}function D(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/ai_status_query.json`,{method:"Get",params:Et})})}function B(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},Et)})})}function $(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/get_user_portrait_config.json`,{method:"Get",params:Et})})}function U(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_user_portrait_config.json?id=${Et.coursesId}`,{method:"put",body:h({},Et)})})}function V(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},Et)})})}function K(Et){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},Et)})})}function G(Et){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},Et)})})}function oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/top_banner.json`,{method:"get",params:h({},Et)})})}function ae(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id||Et.coursesId}/left_banner.json`,{method:"get",params:h({},Et)})})}function le(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function Q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons/list.json`,{method:"get",params:h({},Et)})})}function J(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_topics.json`,{method:"get",params:h({},Et)})})}function Y(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_tasks.json`,{method:"get",params:h({},Et)})})}function ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${Et.id}/exercises.json`,{method:"get",params:h({},Et)})})}function ne(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/polls.json`,{method:"get",params:h({},Et)})})}function ee(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function ie(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function F(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/all_course_groups.json`,{method:"get",params:h({},Et)})})}function M(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/attendances.json`,{method:"get",params:h({},Et)})})}function q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${Et.coursesId}/attendances.json`,{method:"get",params:h({},Et)})})}function de(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${Et.id}/edit.json`,{method:"get",params:h({},Et)})})}function Ee(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/informs.json`,{method:"get",params:h({},Et)})})}function Ce(Et){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},Et)})})}function je(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_videos.json`,{method:"get",params:h({},Et)})})}function Fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/live_links.json`,{method:"get",params:h({},Et)})})}function Ft(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},Et)})})}function _t(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.categoryId}/messages.json`,{method:"get",params:h({},Et)})})}function Pt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function Qt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/students.json`,{method:"get",params:h({},Et)})})}function er(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/statistics.json`,{method:"get",params:h({},Et)})})}function Jt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/work_score.json`,{method:"get",params:h({},Et)})})}function Xe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/act_score.json`,{method:"get",params:h({},Et)})})}function It(Et){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},Et)})})}function zt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},Et)})})}function st(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},Et)})})}function bt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},Et)})})}function ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},Et)})})}function Je(Et){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Et)})})}function Ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},Et)})})}function ge(Et){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:Et})})}function Ae(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:Et})})}function Me(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:Et})})}function $e(Et){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Et})})}function He(Et){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:Et})})}function nt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Et)})})}function ct(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.identifier}/add_student_groups.json`,{method:"post",body:Et})})}function Kt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:Et})})}function Wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_teacher.json`,{method:"post",body:Et})})}function De(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_students_by_search.json`,{method:"post",body:Et})})}function Qe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_public_or_private.json`,{method:"post",body:Et})})}function Vt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_invite_code_halt.json`,{method:"post",body:Et})})}function kt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/duplicate_course.json`,{method:"post",body:Et})})}function Ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_end_date.json`,{method:"put",body:Et})})}function $t(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"delete",body:Et})})}function Ct(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/settings.json`,{method:"get",params:h({},Et)})})}function Yt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"put",body:Et})})}function Ge(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},Et)})})}function _e(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},Et)})})}function Ot(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},Et)})})}function Pe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},Et)})})}function dt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},Et)})})}function Zt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},Et)})})}function Tt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function ke(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},Et)})})}function St(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},Et)})})}function be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},Et)})})}function Ke(Et){return u(this,null,function*(){return Fetch(`/api/homework_commons/${Et.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},Et)})})}function gt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Rt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/sticky_module.json`,{method:"get"})})}function kr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/hidden_module.json`,{method:"get"})})}function At(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:Et})})}function Kr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${Et.id}.json`,{method:"get",params:Et})})}function Qr(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Et})})}function Ar(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Et})})}function $r(Et){return u(this,null,function*(){return Fetch(`/api/polls/${Et.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Et)})})}function _r(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function Ur(Et){return(0,r.ZP)(`/api/polls/${Et.categoryId}/start_answer.json`,{method:"get",params:h({},Et)})}function sn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${Et.questionId}/poll_votes.json`,{method:"post",body:Et})})}function cn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${Et.categoryId}/commit_poll.json`,{method:"post",body:Et})})}function ur(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/tasks_list.json`,{method:"get",params:Et})})}function Lt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/update_task_position.json`,{method:"post",body:Et})})}function vt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Et})})}function yt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/all_course_groups.json`,{method:"get",params:Et})})}function jt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/polls/all_course_groups.json`,{method:"get",params:Et})})}function Cr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/students.json`,{method:"get",params:Et})})}function yr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}/rename_group.json`,{method:"POST",body:Et})})}function ot(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}.json`,{method:"delete",body:Et})})}function Fr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"POST",body:Et})})}function mn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/transfer_to_course_group.json`,{method:"post",body:Et})})}function Un(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/delete_from_course.json`,{method:"post",body:Et})})}function mr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"post",body:Et})})}function en(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exit_course.json`,{method:"post"})})}function dn(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},Et)})})}function Fn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}/edit.json`,{method:"get",params:Et})})}function ei(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users.json`,{method:"post",body:Et})})}function Nn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}.json`,{method:"put",body:Et})})}function zi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${Et.id}/move_category.json`,{method:"post",body:Et})})}function mi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.id}/move_category.json`,{method:"post",body:Et})})}function xi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/courseware.json`,{method:"get",params:Et})})}function vi(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/mark_wrong_topic.json`,{method:"get",params:ut})})}function pi(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/cancel_wrong_topic.json`,{method:"get",params:ut})})}function Yi(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et}/allow_end_group.json`,{method:"get",params:ut})})}function Yn(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ut})})}function Vi(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Et}/get_content_for_commit_id.json`,{method:"get",params:ut})})}},25894:function(d,g,e){"use strict";e.d(g,{$M:function(){return er},$P:function(){return Kt},Ax:function(){return x},Dh:function(){return R},FU:function(){return G},GQ:function(){return ne},IN:function(){return Ue},JM:function(){return $e},Ju:function(){return Qt},Mn:function(){return Je},Ni:function(){return q},Pg:function(){return L},Pt:function(){return S},Qp:function(){return Y},R9:function(){return oe},Ux:function(){return ue},Vy:function(){return je},XJ:function(){return M},XR:function(){return _t},Ze:function(){return $},aq:function(){return B},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return le},lm:function(){return ge},ml:function(){return ie},o3:function(){return Xe},pA:function(){return zt},pS:function(){return Me},pU:function(){return F},ps:function(){return K},q0:function(){return bt},qN:function(){return ht},qS:function(){return b},qj:function(){return Ft},qt:function(){return nt},rV:function(){return T},rZ:function(){return He},rk:function(){return Ee},rm:function(){return J},sK:function(){return Q},sL:function(){return st},su:function(){return Ae},tC:function(){return Ce},tO:function(){return Fe},u9:function(){return ee},uZ:function(){return de},vV:function(){return V},xx:function(){return Wt},y8:function(){return Pt},yS:function(){return U},zF:function(){return y},zc:function(){return ae},zj:function(){return D},zz:function(){return ct}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(De,Qe,Vt)=>Qe in De?i(De,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Vt}):De[Qe]=Vt,h=(De,Qe)=>{for(var Vt in Qe||(Qe={}))c.call(Qe,Vt)&&s(De,Vt,Qe[Vt]);if(l)for(var Vt of l(Qe))f.call(Qe,Vt)&&s(De,Vt,Qe[Vt]);return De},u=(De,Qe,Vt)=>new Promise((kt,Ht)=>{var $t=Ge=>{try{Yt(Vt.next(Ge))}catch(fe){Ht(fe)}},Ct=Ge=>{try{Yt(Vt.throw(Ge))}catch(fe){Ht(fe)}},Yt=Ge=>Ge.done?kt(Ge.value):Promise.resolve(Ge.value).then($t,Ct);Yt((Vt=Vt.apply(De,Qe)).next())});const a=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/create_guide.json`,{method:"post",body:De}),x=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/guides.json`,{method:"get",params:De}),p=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.competition_team_id}/edit_info.json`,{method:"put",body:De});function y(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_result.json`,{method:"post",body:De})})}function _(De){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},De)})})}function b(De){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:De})})}function S(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post"})})}function R(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_staff.json`,{method:"get"})})}function L(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/common_header.json`,{method:"get"})})}function T(De){return u(this,null,function*(){return(0,r.ZP)(`/api/${De.url}`,{method:"get",params:h({},De)})})}function D(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_md_content.json`,{method:"post",body:De})})}function B(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function $(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}/edit.json`,{method:"get",params:De})})}function U(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}.json`,{method:"put",body:De})})}function V(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}/leave.json`,{method:"post",body:De})})}function K(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}.json`,{method:"delete"})})}function G(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post",body:De})})}function oe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/add_managers.json`,{method:"post",body:De})})}function ae(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/join.json`,{method:"post",body:De})})}function le(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/teachers.json`,{method:"get",params:De})})}function Q(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/students.json`,{method:"get",params:De})})}function J(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/crud_team_members.json`,{method:"post",body:De})})}function Y(De){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:De})})}function ue(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/chart_rules.json`,{method:"get"})})}function ne(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/charts.json`,{method:"get",params:De})})}function ee(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/results.json`,{method:"get",params:De})})}function ie(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/md_tab_rules.json`,{method:"get",params:De})})}function F(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize.json`,{method:"get",params:De})})}function M(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.id}.json`,{method:"get",params:De})})}function q(De){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:De})})}function de(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/phone_bind.json`,{method:"post",body:De})})}function Ee(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/email_bind.json`,{method:"post",body:De})})}function Ce(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/professional_auth_apply.json`,{method:"delete"})})}function je(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/authentication_apply.json`,{method:"delete"})})}function Fe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize_leader_account.json`,{method:"put",body:De})})}function Ft(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/shixun_detail.json`,{method:"get"})})}function _t(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/course_detail.json`,{method:"get"})})}function Pt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${De.id}.json`,{method:"delete"})})}function Qt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/get_certificate_info.json`,{method:"get",params:De})})}function er(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/basic_setting.json`,{method:"post",body:De})})}function Jt(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Xe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/common_header.json`,{method:"get"})})}function It(De){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:De})})}function zt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/search_managers.json`,{method:"get",params:De})})}function st(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_managers.json`,{method:"get"})})}function bt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/add_managers.json`,{method:"post",body:De})})}function ht(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/delete_managers.json`,{method:"delete",body:De})})}function Je(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_picture.json`,{method:"get"})})}function Ue(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/identifier_exist.json`,{method:"post",body:De})})}function ge(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_shixun_settings.json`,{method:"get"})})}function Ae(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_add.json`,{method:"post",body:De})})}function Me(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_delete.json`,{method:"delete",body:De})})}function $e(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_select.json`,{method:"post",body:De})})}function He(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/info_finish.json`,{method:"get"})})}function nt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/competition_review.json`,{method:"post",body:h({},De)})})}function ct(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function Kt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/all_team_members.json`,{method:"get",params:De})})}function Wt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_commit_records/member_works.json`,{method:"get",params:De})})}},27837:function(d,g,e){"use strict";e.d(g,{$7:function(){return y},Bb:function(){return R},Dn:function(){return _},Hs:function(){return b},It:function(){return h},JD:function(){return l},LX:function(){return x},SW:function(){return L},Td:function(){return f},UX:function(){return B},Uk:function(){return D},W9:function(){return s},Xi:function(){return u},Zm:function(){return c},eu:function(){return S},kF:function(){return a},lG:function(){return $},o5:function(){return p},t2:function(){return U},xx:function(){return T}});var r=e(205),i=(V,K,G)=>new Promise((oe,ae)=>{var le=Y=>{try{J(G.next(Y))}catch(ue){ae(ue)}},Q=Y=>{try{J(G.throw(Y))}catch(ue){ae(ue)}},J=Y=>Y.done?oe(Y.value):Promise.resolve(Y.value).then(le,Q);J((G=G.apply(V,K)).next())});function l(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/declaration_selects.json",{method:"get",params:V})})}function c(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/add_declaration_selects.json",{method:"post",body:V})})}function f(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/type_selects.json",{method:"get"})})}function s(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/delete_declaration_selects.json",{method:"delete",body:V})})}function h(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/edit_declaration_selects.json",{method:"post",body:V})})}function u(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/declaration_profile.json",{method:"get",params:V})})}function a(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/edit_declaration_profile.json",{method:"put",body:V})})}function x(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/get_all_type.json",{method:"get",params:V})})}function p(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/declaration_descriptions.json",{method:"get",params:V})})}function y(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/edit_declaration_descriptions.json",{method:"put",body:V})})}function _(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations.json",{method:"get",params:V})})}function b(V){return i(this,null,function*(){return(0,r.ZP)(`/api/declarations/${V==null?void 0:V.id}.json`,{method:"get",params:V})})}function S(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations.json",{method:"post",body:V})})}function R(V){return i(this,null,function*(){return(0,r.ZP)(`/api/declarations/${V==null?void 0:V.id}.json`,{method:"put",body:V})})}function L(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/verify_list.json",{method:"get",params:V})})}function T(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/commit_verify.json",{method:"post",body:V})})}function D(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/verify.json",{method:"post",body:V})})}function B(V){return i(this,null,function*(){return(0,r.ZP)(`/api/declarations/${V.id}.json`,{method:"delete"})})}function $(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/get_declare_type.json",{method:"get",params:V})})}function U(V){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/import.json",{method:"post",body:V},!0,!0)})}},77256:function(d,g,e){"use strict";e.d(g,{F:function(){return b},OE:function(){return D},ff:function(){return S},p1:function(){return R},_y:function(){return _},mK:function(){return V},gq:function(){return G},eM:function(){return U},BA:function(){return le},bA:function(){return J},Nx:function(){return Q},Qx:function(){return B},At:function(){return L},PX:function(){return T},Xl:function(){return $},y9:function(){return K},No:function(){return oe},ay:function(){return Y}});var r=e(205),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ue,ne,ee)=>ne in ue?i(ue,ne,{enumerable:!0,configurable:!0,writable:!0,value:ee}):ue[ne]=ee,a=(ue,ne)=>{for(var ee in ne||(ne={}))s.call(ne,ee)&&u(ue,ee,ne[ee]);if(f)for(var ee of f(ne))h.call(ne,ee)&&u(ue,ee,ne[ee]);return ue},x=(ue,ne)=>l(ue,c(ne)),p=(ue,ne)=>{var ee={};for(var ie in ue)s.call(ue,ie)&&ne.indexOf(ie)<0&&(ee[ie]=ue[ie]);if(ue!=null&&f)for(var ie of f(ue))ne.indexOf(ie)<0&&h.call(ue,ie)&&(ee[ie]=ue[ie]);return ee},y=(ue,ne,ee)=>new Promise((ie,F)=>{var M=Ee=>{try{de(ee.next(Ee))}catch(Ce){F(Ce)}},q=Ee=>{try{de(ee.throw(Ee))}catch(Ce){F(Ce)}},de=Ee=>Ee.done?ie(Ee.value):Promise.resolve(Ee.value).then(M,q);de((ee=ee.apply(ue,ne)).next())});const _=ue=>y(void 0,null,function*(){var ne=ue,{id:ee}=ne,ie=p(ne,["id"]);return(0,r.ZP)(`/api/ec_years/${ee}/course_results.json`,{method:"get",params:ie})}),b=ue=>{let ne=document.createElement("iframe");ne.src=`/api/ec_years/${ue}/course_results.xlsx`,ne.style.display="none",document.body.appendChild(ne)},S=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/get_class.json`,{method:"get"}),R=({ec_year_id:ue,id:ne,class_name:ee=null})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/${ne}.json`,{method:"get",params:{class_name:ee}}),L=({ec_year_id:ue})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ue}}),T=({ec_course_id:ue})=>(0,r.ZP)(`/api/ec_courses/${ue}/evaluations/evaluation_data`,{method:"POST"}),D=ue=>{let ne=document.createElement("iframe");ne.src=`/api/ec_years/${ue}/ec_graduation_results.xlsx`,ne.style.display="none",document.body.appendChild(ne)},B=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_all`,{method:"post"}),$=({ec_year_id:ue,id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_single?id=${ne}`,{method:"POST"}),U=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results.json`,{method:"get"}),V=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/get_formulas.json`,{method:"get"}),K=({ec_year_id:ue,formula_one:ne,formula_two:ee,formula_three:ie})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ne,formula_two_id:ee,formula_three_id:ie}}),G=({ec_year_id:ue,id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/${ne}.json`,{method:"get"}),oe=ue=>{var ne=ue,{ec_year_id:ee,type:ie,goal_value:F}=ne,M=p(ne,["ec_year_id","type","goal_value"]);let q=`?type=${ie}`,de={method:"PUT"};return ie==="all"&&(q+=`&goal_value=${F}`),ie==="each"&&(de=x(a({},de),{body:M})),(0,r.ZP)(`/api/ec_years/${ee}/ec_graduation_results/set_goal_value${q}`,de)};var ae=(ue,ne,ee)=>new Promise((ie,F)=>{var M=Ee=>{try{de(ee.next(Ee))}catch(Ce){F(Ce)}},q=Ee=>{try{de(ee.throw(Ee))}catch(Ce){F(Ce)}},de=Ee=>Ee.done?ie(Ee.value):Promise.resolve(Ee.value).then(M,q);de((ee=ee.apply(ue,ne)).next())});const le=ue=>ae(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${ue}/ec_majors/get_major_list.json`,{method:"get"})}),Q=ue=>ae(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:ue,school_id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/top_pages.json`,{method:"get",params:{school_id:ne}}),Y=({id:ue,name:ne})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${ue}?name=${ne}`,{method:"PUT"})},52035:function(d,g,e){"use strict";e.d(g,{$Q:function(){return D},$l:function(){return yr},BJ:function(){return ht},CD:function(){return Qe},Cd:function(){return nt},Cl:function(){return Be},Di:function(){return Jt},Fl:function(){return zt},G$:function(){return ie},GK:function(){return It},Ip:function(){return ge},J:function(){return F},KE:function(){return st},L8:function(){return Yt},LP:function(){return Ae},MK:function(){return Xe},Mb:function(){return Ar},N0:function(){return K},N3:function(){return Fe},OO:function(){return L},P8:function(){return cn},PJ:function(){return q},PT:function(){return _r},Qc:function(){return oe},RK:function(){return ee},Ty:function(){return Ke},UH:function(){return dt},UK:function(){return Ft},Uj:function(){return Wt},Ul:function(){return He},VL:function(){return Ht},Vj:function(){return fe},W4:function(){return Kt},WL:function(){return _e},Wj:function(){return ne},X4:function(){return Ue},Xn:function(){return Kr},Xo:function(){return le},YY:function(){return er},Ym:function(){return U},Yu:function(){return ur},ZD:function(){return sn},Zg:function(){return kr},_B:function(){return De},_F:function(){return $r},_U:function(){return J},_u:function(){return de},aU:function(){return V},ab:function(){return Rt},cC:function(){return be},cV:function(){return Y},ck:function(){return Ur},dp:function(){return G},eA:function(){return jt},fG:function(){return S},gA:function(){return ue},gG:function(){return Qr},gJ:function(){return Lt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return R},iw:function(){return St},kp:function(){return $t},lL:function(){return T},lf:function(){return je},n$:function(){return Ce},n7:function(){return Q},nF:function(){return Ge},o3:function(){return vt},oS:function(){return Me},oX:function(){return kt},oy:function(){return gt},p7:function(){return $},pL:function(){return Vt},pu:function(){return Je},q6:function(){return Ct},qf:function(){return Qt},qz:function(){return $e},s:function(){return Tt},sA:function(){return Ot},sS:function(){return yt},tX:function(){return Zt},uR:function(){return _t},ux:function(){return bt},wy:function(){return Pt},xA:function(){return ke},yE:function(){return ae},yu:function(){return Pe},zP:function(){return B},zR:function(){return Cr}});var r=e(205),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ot,Fr,mn)=>Fr in ot?i(ot,Fr,{enumerable:!0,configurable:!0,writable:!0,value:mn}):ot[Fr]=mn,a=(ot,Fr)=>{for(var mn in Fr||(Fr={}))s.call(Fr,mn)&&u(ot,mn,Fr[mn]);if(f)for(var mn of f(Fr))h.call(Fr,mn)&&u(ot,mn,Fr[mn]);return ot},x=(ot,Fr)=>l(ot,c(Fr)),p=(ot,Fr,mn)=>new Promise((Un,mr)=>{var en=ei=>{try{Fn(mn.next(ei))}catch(Nn){mr(Nn)}},dn=ei=>{try{Fn(mn.throw(ei))}catch(Nn){mr(Nn)}},Fn=ei=>ei.done?Un(ei.value):Promise.resolve(ei.value).then(en,dn);Fn((mn=mn.apply(ot,Fr)).next())});const y=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:ot}),_=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:ot}),b=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:ot}),S=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:ot}),R=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:ot}),L=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score.json`,{method:"get",params:ot}),T=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:ot}),D=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/score_ranges.json`,{method:"get",params:ot}),B=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/sava_exam_summary.json`,{method:"post",body:ot}),$=ot=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:ot}),U=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/generate_exam_summary.json`,{method:"post",body:ot}),V=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/exam_summary_settings.json`,{method:"post",body:ot}),K=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/review_exercise_user.json`,{method:"post",body:ot})}),G=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/code_check.json`,{method:"get",params:ot}),oe=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/reset_pwd.json`,{method:"post",body:ot}),ae=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/encrypt_or_decrypt.json`,{method:"post",body:ot}),le=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time_or_force.json`,{method:"post",body:ot})}),Q=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/exercise_time.json`,{method:"Get",params:ot})}),J=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/exercise_question_result.json`,{method:"get",params:ot}),Y=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/get_question_type_alias.json`,{method:"get",params:ot});function ue(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/teacher_update.json`,{method:"post",body:a({},ot)})})}function ne(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/adjust_comment.json`,{method:"post",body:a({},ot)})})}function ee(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/edit_question_type_alias.json`,{method:"POST",body:ot})})}function ie(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.json`,{method:"get",params:a({},ot)})})}function F(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},ot)})})}function M(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/video_push_url.json`,{method:"get",params:a({},ot)})})}function q(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},ot)})})}function de(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_result.json`,{method:"get",params:a({},ot)})})}function Ee(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},ot)})})}function Ce(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},ot)})})}function je(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},ot)})})}function Fe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},ot)})})}function Ft(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/common_header.json`,{method:"get",params:a({},ot)})})}function _t(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises.json`,{method:"post",body:a({},ot)})})}function Pt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}.json`,{method:"put",body:a({},ot)})})}function Qt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}.json`,{method:"get",params:a({},ot)})})}function er(ot){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},ot)})})}function Jt(ot){return p(this,null,function*(){const{id:Fr}=ot;return delete ot.id,(0,r.ZP)(`/api/exercise_questions/${Fr}.json`,{method:"put",body:a({},ot)})})}function Xe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_questions.json`,{method:"post",body:a({},ot)})})}function It(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/up_down.json`,{method:"post",body:a({},ot)})})}function zt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}.json`,{method:"delete"})})}function st(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},ot)})})}function bt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/publish_groups.json`,{method:"get",params:a({},ot)})})}function ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},ot)})})}function Je(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/consult_exercise.json`,{method:"post",body:a({},ot)})})}function Ue(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},ot)})})}function ge(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ae(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/batch_adjust_score.json`,{method:"post",body:a({},ot)})})}function Me(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function $e(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time.json`,{method:"post",body:a({},ot)})})}function He(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function nt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function ct(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/commit_setting.json`,{method:"post",body:a({},ot)})})}function Kt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},ot)})})}function Wt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},ot),{export:!0})})})}function De(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},ot),{login:null})})}function Qe(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/start.json`,{method:"get",params:a({},ot)})}function Vt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/start_unlock.json`,{method:"post",body:a({},ot)})}function kt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.questionId}/exercise_answers.json`,{method:"post",body:ot})})}function Ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_exercise.json`,{method:"post",body:ot})})}function $t(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_commit_exercise.json`,{method:"post",body:ot})})}function Ct(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_exercise.json`,{method:"post",body:ot})})}function Yt(ot){return(0,r.ZP)(`/api/${ot.url}`,{method:"get",params:a({},ot)})}function Ge(ot){return(0,r.ZP)(`/api/problems/${ot.id}/start.json`,{method:"get",params:a({},ot)})}function fe(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/begin_commit.json`,{method:"get",params:a({},ot)})}function _e(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/simulate_begin_commit.json`,{method:"get",params:a({},ot)})}function Ot(ot){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},ot)})}function Pe(ot){return console.log("params:",ot),(0,r.ZP)(`/api/exercises/${ot.categoryId}/edit.json`,{method:"get",params:a({},ot)})}function dt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/get_objective_scores.json`,{method:"get",params:a({},ot)})}function Zt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_modal.json`,{method:"get",params:a({},ot)})}function Tt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/student_redo_lists.json`,{method:"get",params:a({},ot)})}function ke(ot){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:ot})}function St(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/exercise_header.json`,{method:"get",params:a({},ot)})}function be(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/allow_close_camera.json`,{method:"post",body:a({},ot)})}function Ke(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},ot)})}function gt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/record_screen`,{method:"post",params:a({},ot)})}function Rt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/unbind_ip.json`,{method:"post",body:a({},ot)})}function Be(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/check_ip.json`,{method:"get",params:a({},ot)})}function kr(ot){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/check_user_exercise.json`,{method:"get",params:a({},ot)})}function At(ot){return Fetch(`/api/exercises/${ot.id}/make_up_students.json`,{method:"get",params:a({},ot)})}function Kr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},ot)})})}function Qr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.question_id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ar(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${ot.categoryId}/simulate_exercise.json`,{method:"post",body:a({},ot)})})}function $r(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},ot)})})}function _r(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_time.json`,{method:"get",params:a({},ot)})})}function Ur(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_screen_at.json`,{method:"post",body:a({},ot)})})}function sn(ot,Fr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/unlock_user`,{method:"post",body:Fr})})}function cn(ot,Fr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/save_screen_record.json`,{method:"post",body:Fr})})}function ur(ot,Fr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/screen_record_list.json`,{method:"get",params:Fr})})}function Lt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},ot)})})}function vt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:ot})})}function yt(ot,Fr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/mark.json`,{method:"post",body:Fr})})}function jt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${ot}/exit_delete_pod.json`,{method:"post",body:ot})})}function Cr(ot){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:ot})})}function yr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/send_to_item_bank.json`,{method:"post",body:a({},ot)})})}},27511:function(d,g,e){"use strict";e.d(g,{B0:function(){return p},Si:function(){return L},Sr:function(){return D},YP:function(){return T},b4:function(){return R},bc:function(){return a},dX:function(){return S},eh:function(){return B},iI:function(){return _},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return U},vL:function(){return $},z5:function(){return V}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(K,G,oe)=>G in K?i(K,G,{enumerable:!0,configurable:!0,writable:!0,value:oe}):K[G]=oe,h=(K,G)=>{for(var oe in G||(G={}))c.call(G,oe)&&s(K,oe,G[oe]);if(l)for(var oe of l(G))f.call(G,oe)&&s(K,oe,G[oe]);return K},u=(K,G,oe)=>new Promise((ae,le)=>{var Q=ue=>{try{Y(oe.next(ue))}catch(ne){le(ne)}},J=ue=>{try{Y(oe.throw(ue))}catch(ne){le(ne)}},Y=ue=>ue.done?ae(ue.value):Promise.resolve(ue.value).then(Q,J);Y((oe=oe.apply(K,G)).next())});function a(K){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:K})})}function x(K){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:K})})}function p(K){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${K.id}/sticky_or_cancel.json`,{method:"post",body:K})})}function y(K){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${K.id}.json`,{method:"delete",body:K})})}function _(K){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:K})})}function b(K){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${K.id}/edit.json`,{method:"get",params:K})})}function S(K){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},K)})})}function R(K){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${K.id}.json`,{method:"put",body:h({},K)})})}function L(K){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${K.id}.json`,{method:"get",params:K})})}function T(K){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${K.user_id}/watch.json`,{method:"post",body:K})})}function D(K){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${K.user_id}/watch.json`,{method:"delete",body:h({},K)})})}function B(K){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${K.id}/reward_code.json`,{method:"post",body:K})})}function $(K){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${K.id}/plus.json`,{method:"post",body:K})})}function U(K){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:K})})}function V(K){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${K.id}/more_reply.json`,{method:"get",params:K})})}},20127:function(d,g,e){"use strict";e.d(g,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(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)&&s(y,b,_[b]);if(l)for(var b of l(_))f.call(_,b)&&s(y,b,_[b]);return y},u=(y,_,b)=>new Promise((S,R)=>{var L=B=>{try{D(b.next(B))}catch($){R($)}},T=B=>{try{D(b.throw(B))}catch($){R($)}},D=B=>B.done?S(B.value):Promise.resolve(B.value).then(L,T);D((b=b.apply(y,_)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},57266:function(d,g,e){"use strict";e.d(g,{B6:function(){return p},Gr:function(){return U},Mf:function(){return D},NA:function(){return L},PC:function(){return S},PP:function(){return R},QA:function(){return x},RP:function(){return G},Sv:function(){return K},YQ:function(){return T},_n:function(){return oe},hL:function(){return $},je:function(){return b},mM:function(){return _},wA:function(){return V},x_:function(){return y},y0:function(){return B},y3:function(){return a}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(ae,le,Q)=>le in ae?i(ae,le,{enumerable:!0,configurable:!0,writable:!0,value:Q}):ae[le]=Q,h=(ae,le)=>{for(var Q in le||(le={}))c.call(le,Q)&&s(ae,Q,le[Q]);if(l)for(var Q of l(le))f.call(le,Q)&&s(ae,Q,le[Q]);return ae},u=(ae,le,Q)=>new Promise((J,Y)=>{var ue=ie=>{try{ee(Q.next(ie))}catch(F){Y(F)}},ne=ie=>{try{ee(Q.throw(ie))}catch(F){Y(F)}},ee=ie=>ie.done?J(ie.value):Promise.resolve(ie.value).then(ue,ne);ee((Q=Q.apply(ae,le)).next())});function a(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}.json`,{method:"get",params:h({},ae)})})}function x(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}/tasks_list.json`,{method:"get",params:h({},ae)})})}function p(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/show_detail.json`,{method:"get",params:h({},ae)})})}function y(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}.json`,{method:"get",params:h({},ae)})})}function _(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ae)})})}function b(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ae)})})}function S(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ae.categoryId}/show_comment.json`,{method:"get",params:h({},ae)})})}function R(ae){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ae)})})}function L(ae){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ae)})})}function T(ae){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ae)})})}function D(ae){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ae)})})}function B(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ae)})})}function $(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}/edit.json`,{method:"get",params:h({},ae)})})}function U(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics`,{method:"post",body:h({},ae)})})}function V(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}`,{method:"put",body:h({},ae)})})}function K(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_tasks`,{method:"post",body:h({},ae)})})}function G(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}.json`,{method:"put",body:h({},ae)})})}function oe(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}/edit.json`,{method:"get",params:h({},ae)})})}},46402:function(d,g,e){"use strict";e.d(g,{AA:function(){return V},Db:function(){return x},Dd:function(){return b},F7:function(){return Q},Fi:function(){return ie},H3:function(){return _},HF:function(){return R},HH:function(){return y},Ib:function(){return ue},J3:function(){return s},NT:function(){return l},NX:function(){return T},Ot:function(){return L},Ou:function(){return J},Ps:function(){return c},Rk:function(){return le},Tz:function(){return a},V1:function(){return ne},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ae},YS:function(){return G},Zd:function(){return ee},bS:function(){return D},ck:function(){return S},eh:function(){return U},il:function(){return h},j7:function(){return u},jW:function(){return K},km:function(){return oe},l5:function(){return $},rU:function(){return F},xF:function(){return B},zC:function(){return Y},zT:function(){return M}});var r=e(205),i=(q,de,Ee)=>new Promise((Ce,je)=>{var Fe=Pt=>{try{_t(Ee.next(Pt))}catch(Qt){je(Qt)}},Ft=Pt=>{try{_t(Ee.throw(Pt))}catch(Qt){je(Qt)}},_t=Pt=>Pt.done?Ce(Pt.value):Promise.resolve(Pt.value).then(Fe,Ft);_t((Ee=Ee.apply(q,de)).next())});function l(q){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:q})}function c(q){return(0,r.ZP)(`/api/schools/${q.id}/departments/for_option.json`,{method:"get",params:q})}function f(q){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:q})}function s(q){return(0,r.ZP)("/api/graduations.json",{method:"get",params:q})}function h(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.identifier}/graduation_stages/${q.stageid}/authorized_redelivery.json`,{method:"POST",body:q})})}function u(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.identifier}/graduation_stages/${q.stageid}/submit.json`,{method:"POST",body:q})})}function a(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/student_tasks/export_status.json`,{method:"get",params:q})})}function x(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/student_tasks/export_all_attachments.json`,{method:"get",params:q})})}function p(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.identifier}/graduation_stages/${q.id}.json`,{method:"get",params:q})})}function y(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/student_tasks/set_final_score.json`,{method:"POST",body:q})})}function _(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/student_tasks/final_score.json`,{method:"get",params:q})})}function b(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/set_novice_guide.json`,{method:"POST",body:q})})}function S(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/graduation_notices/${q.doid}/set_do.json`,{method:"POST",body:q})})}function R(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/graduation_teachers.json`,{method:"POST",body:q})})}function L(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.identifier}/graduation_students/${q.id}/update_major.json`,{method:"PUT",body:q})})}function T(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/graduation_students.json`,{method:"POST",body:q})})}function D(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/graduation_teachers/search.json`,{method:"get",params:q})})}function B(q){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:q})})}function $(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/graduation_students/search.json`,{method:"get",params:q})})}function U(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/graduation_students.json`,{method:"get",params:q})})}function V(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/graduation_teachers.json`,{method:"get",params:q})})}function K(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.graduation_id}/graduation_tasks.json`,{method:"POST",body:q})})}function G(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.graduation_id}/graduation_tasks/${q.id}.json`,{method:"PUT",body:q})})}function oe(q){return i(this,null,function*(){var de;return(0,r.ZP)(`/api/graduations/${q.id}/graduation_tasks/${(de=q.ids)==null?void 0:de[0]}`,{method:"DELETE",body:{ids:q.ids}})})}function ae(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/graduation_tasks.json`,{method:"get",params:q})})}function le(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}/graduation_notices.json`,{method:"get",params:q})})}function Q(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q.id}.json`,{method:"get"})})}function J(q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q==null?void 0:q.id}/common_header.json`,{method:"get"})})}function Y(q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q}/preview.json`,{method:"get"})})}function ue(q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q}/graduation_teachers/not_pass.json`,{method:"post",body:de})})}function ne(q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q}/graduation_teachers/pass.json`,{method:"post",body:de})})}function ee(q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q}/graduation_students/not_pass.json`,{method:"post",body:de})})}function ie(q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q}/graduation_students/pass.json`,{method:"post",body:de})})}function F(q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q}/graduation_students/batch_delete`,{method:"delete",body:de})})}function M(q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${q}/graduation_teachers/batch_delete`,{method:"delete",body:de})})}},20114:function(d,g,e){"use strict";e.d(g,{LA:function(){return a},Rm:function(){return c},S_:function(){return x},Tt:function(){return s},cR:function(){return h},eX:function(){return l},h$:function(){return f},vm:function(){return u}});var r=e(205),i=(p,y,_)=>new Promise((b,S)=>{var R=D=>{try{T(_.next(D))}catch(B){S(B)}},L=D=>{try{T(_.throw(D))}catch(B){S(B)}},T=D=>D.done?b(D.value):Promise.resolve(D.value).then(R,L);T((_=_.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 s(){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})})}},30272:function(d,g,e){"use strict";e.d(g,{AD:function(){return a},Ig:function(){return x},Ko:function(){return _},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return R},w0:function(){return y}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(L,T,D)=>T in L?i(L,T,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[T]=D,h=(L,T)=>{for(var D in T||(T={}))c.call(T,D)&&s(L,D,T[D]);if(l)for(var D of l(T))f.call(T,D)&&s(L,D,T[D]);return L},u=(L,T,D)=>new Promise((B,$)=>{var U=G=>{try{K(D.next(G))}catch(oe){$(oe)}},V=G=>{try{K(D.throw(G))}catch(oe){$(oe)}},K=G=>G.done?B(G.value):Promise.resolve(G.value).then(U,V);K((D=D.apply(L,T)).next())});function a(L){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},L)})})}function x(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/unread_message_info.json`,{method:"get",params:h({},L)})})}function p(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages.json`,{method:"get",params:h({},L)})})}function y(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages.json`,{method:"post",body:h({},L)})})}function _(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.id}/recent_contacts.json`,{method:"get",params:h({},L)})})}function b(L){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},L)})})}function S(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_message_details.json`,{method:"get",params:h({},L)})})}function R(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages/${L.id}.json`,{method:"delete"})})}},17630:function(d,g,e){"use strict";e.d(g,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return B},R7:function(){return a},WW:function(){return $},_V:function(){return D},ms:function(){return L},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return T}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(U,V,K)=>V in U?i(U,V,{enumerable:!0,configurable:!0,writable:!0,value:K}):U[V]=K,h=(U,V)=>{for(var K in V||(V={}))c.call(V,K)&&s(U,K,V[K]);if(l)for(var K of l(V))f.call(V,K)&&s(U,K,V[K]);return U},u=(U,V,K)=>new Promise((G,oe)=>{var ae=J=>{try{Q(K.next(J))}catch(Y){oe(Y)}},le=J=>{try{Q(K.throw(J))}catch(Y){oe(Y)}},Q=J=>J.done?G(J.value):Promise.resolve(J.value).then(ae,le);Q((K=K.apply(U,V)).next())});function a(U){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${U.coursesId}/online_learning.json`,{method:"get"})})}function x(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}.json`,{method:"put",body:U})})}function p(U){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${U.coursesId}/course_stages.json`,{method:"post",body:U})})}function y(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/add_shixun_to_stage.json`,{method:"post",body:U})})}function _(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/select_shixun_to_stage.json`,{method:"post",body:U})})}function b(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/add_video_to_stage.json`,{method:"post",body:U})})}function S(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/add_attachment_to_stage.json`,{method:"post",body:U})})}function R(U){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:U})})}function L(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/up_position.json`,{method:"post"})})}function T(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}/down_position.json`,{method:"post"})})}function D(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.id}.json`,{method:"delete"})})}function B(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.stage_id}/items/move_position.json`,{method:"post",body:h({},U)})})}function $(U){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${U.stage_id}/items/${U.id}`,{method:"delete"})})}},15488:function(d,g,e){"use strict";e.d(g,{DF:function(){return b},Di:function(){return ne},Dm:function(){return le},Dq:function(){return Ee},Gd:function(){return _},Hb:function(){return Ce},Hm:function(){return G},ID:function(){return u},JP:function(){return de},NC:function(){return V},Pl:function(){return S},Qc:function(){return c},Qp:function(){return Q},RK:function(){return x},YP:function(){return K},a2:function(){return s},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return R},iT:function(){return B},jK:function(){return ae},kF:function(){return je},kp:function(){return D},lc:function(){return T},oF:function(){return ie},q$:function(){return h},qN:function(){return oe},tS:function(){return L},ts:function(){return $},un:function(){return Y},w0:function(){return ue},wX:function(){return J},yE:function(){return f}});var r=e(205),i=(Fe,Ft,_t)=>new Promise((Pt,Qt)=>{var er=It=>{try{Xe(_t.next(It))}catch(zt){Qt(zt)}},Jt=It=>{try{Xe(_t.throw(It))}catch(zt){Qt(zt)}},Xe=It=>It.done?Pt(It.value):Promise.resolve(It.value).then(er,Jt);Xe((_t=_t.apply(Fe,Ft)).next())});const l=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe==null?void 0:Fe.id}/code_check.json`,{method:"get",params:Fe}),c=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/reset_pwd.json`,{method:"post",body:Fe}),f=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/encrypt_or_decrypt.json`,{method:"post",body:Fe}),s=Fe=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Fe}),h=Fe=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Fe}),u=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/copy.json`,{method:"post",body:Fe}),a=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/get_question_type_alias.json`,{method:"get",params:Fe});function x(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/edit_question_type_alias.json`,{method:"POST",body:Fe})})}function p(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:Fe})})}function y(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Fe})})}function _(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:Fe})})}function b(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/set_public.json`,{method:"post"})})}function S(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/set_private.json`,{method:"post"})})}function R(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"delete"})})}function L(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Fe})})}const T=Fe=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Fe});function D(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/send_to_course.json`,{method:"post",body:Fe})})}function B(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"get",params:Fe})})}function $(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/set_score`,{method:"post",body:Fe})})}function U(Fe){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/set_shixun_score.json`,{method:"post",body:Fe})})}function V(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}.json`,{method:"delete"})})}function K(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Fe})})}function G(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Fe})})}function oe(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/adjust_position.json`,{method:"post",body:Fe})})}function ae(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"put",body:Fe})})}function le(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Fe})})}function Q(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Fe})})}function J(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe==null?void 0:Fe.id}/set_public.json`,{method:"post",body:Fe})})}function Y(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Fe})})}function ue(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/update_exam.json`,{method:"put",body:Fe})})}function ne(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/edit_exam.json`,{method:"get"})})}function ee(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function ie(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Fe})})}function F(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/sort_question_type.json`,{method:"post",body:Ft})})}function M(Fe){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe.exam_id}/examination_banks_item_banks/${Fe.question_id}.json`,{method:"delete"})})}function q(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/batch_set_score.json`,{method:"post",body:Ft})})}function de(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe}/simulate_exercise.json`,{method:"post"})})}function Ee(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe}/exercise_header.json`,{method:"get"})})}function Ce(Fe,Ft,_t){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Ft),Pt.append("sub_discipline_id",_t),(0,r.ZP)(`/api/examination_banks/${Fe}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function je(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Fe})})}},83618:function(d,g,e){"use strict";e.d(g,{$D:function(){return Q},A2:function(){return ge},A7:function(){return Zt},AQ:function(){return U},Ax:function(){return De},Bn:function(){return St},CI:function(){return He},DQ:function(){return _e},DU:function(){return zt},EP:function(){return le},Ep:function(){return Ue},Er:function(){return q},Ex:function(){return kt},FD:function(){return Ot},F_:function(){return It},Fg:function(){return x},GY:function(){return Yt},Go:function(){return ie},Gz:function(){return p},Hl:function(){return y},JS:function(){return _t},KM:function(){return ue},M2:function(){return Me},MO:function(){return de},Mt:function(){return $e},Mu:function(){return Qe},NV:function(){return ke},Q:function(){return Ee},Sp:function(){return $},VO:function(){return Pe},WD:function(){return Ct},WO:function(){return M},WW:function(){return Ht},_C:function(){return Tt},_V:function(){return Wt},bw:function(){return ae},bz:function(){return fe},c3:function(){return Ft},eJ:function(){return ee},ef:function(){return Xe},fh:function(){return R},fj:function(){return F},hS:function(){return _},jT:function(){return dt},ke:function(){return $t},lk:function(){return B},mQ:function(){return D},ms:function(){return ct},mx:function(){return je},nq:function(){return a},ol:function(){return Ge},p:function(){return K},p4:function(){return Ce},pU:function(){return T},rS:function(){return Pt},rs:function(){return ne},s0:function(){return Ae},sm:function(){return Fe},tS:function(){return b},tu:function(){return L},ue:function(){return V},vf:function(){return ht},w4:function(){return G},xG:function(){return Je},xn:function(){return bt},yN:function(){return oe},yy:function(){return Kt}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(be,Ke,gt)=>Ke in be?i(be,Ke,{enumerable:!0,configurable:!0,writable:!0,value:gt}):be[Ke]=gt,h=(be,Ke)=>{for(var gt in Ke||(Ke={}))c.call(Ke,gt)&&s(be,gt,Ke[gt]);if(l)for(var gt of l(Ke))f.call(Ke,gt)&&s(be,gt,Ke[gt]);return be},u=(be,Ke,gt)=>new Promise((Rt,Be)=>{var kr=Qr=>{try{Kr(gt.next(Qr))}catch(Ar){Be(Ar)}},At=Qr=>{try{Kr(gt.throw(Qr))}catch(Ar){Be(Ar)}},Kr=Qr=>Qr.done?Rt(Qr.value):Promise.resolve(Qr.value).then(kr,At);Kr((gt=gt.apply(be,Ke)).next())});const a=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:be})}),x=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:be})}),p=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:be})}),y=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:be})}),_=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:be})});function b(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},be)})})}function S(be){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},be)})})}function R(be){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},be)})})}function L(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"PUT",body:be})})}function T(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:be})})}function D(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/edit.json`,{method:"get"})})}function B(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function $(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function U(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/right_banner.json`,{method:"get",params:be})})}function V(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"get",params:be})})}const K=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:be})}),G=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${be.id}/children.json`,{method:"Get",params:be})});function oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:be})})}function ae(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/update_team_title.json`,{method:"post",body:be})})}function le(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/delete_member.json`,{method:"Delete",body:be})})}function Q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses/${be==null?void 0:be.courseid}.json`,{method:"Delete"})})}function J(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/up_member_position.json`,{method:"post",body:be})})}function Y(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/down_member_position.json`,{method:"post",body:be})})}function ue(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:be})})}function ne(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:be})})}function ee(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"Delete",body:be})})}function ie(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/publish.json`,{method:"post",body:be})})}function F(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_publish.json`,{method:"post",body:be})})}function M(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/apply_public.json`,{method:"post",body:be})})}function q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_public.json`,{method:"post",body:be})})}function de(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/choose_course.json`,{method:"get",params:be})})}function Ee(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/send_to_course.json`,{method:"post",body:be})})}function Ce(be){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${be.id}/send_to_course.json`,{method:"post",body:be})})}function je(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/add_subject_members.json`,{method:"post",body:be})})}function Fe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"post",body:be})})}function Ft(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/appointment.json`,{method:"post",body:be})})}function _t(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/join_excellent_course.json`,{method:"post",body:be})})}function Pt(be){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:be})})}function Qt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/statistics_info.json`,{method:"get",params:be})})}function er(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/shixun_analyze.json`,{method:"get",params:be})})}function Jt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/learning_analyze.json`,{method:"get",params:be})})}function Xe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/learning_statistics.json`,{method:"get",params:be})})}function It(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/shixun_statistics.json`,{method:"get",params:be})})}function zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/study_analyze/${be.type}.json`,{method:"get",params:be})})}function st(be){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:be})})}function bt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"put",body:be})})}function ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_shixun_to_stage.json`,{method:"post",body:be})})}const Je=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.stage_id}/select_challenge_to_stage.json`,{method:"post",body:be})});function Ue(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/select_shixun_to_stage.json`,{method:"post",body:be})})}function ge(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_video_to_stage.json`,{method:"post",body:be})})}function Ae(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_attachment_to_stage.json`,{method:"post",body:be})})}function Me(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be.id}.json`,{method:"put",body:be})})}function $e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_blank_to_stage.json`,{method:"post",body:be})})}function He(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:be})})}function nt(be){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:be})})}function ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/up_position.json`,{method:"get"})})}function Kt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/down_position.json`,{method:"get"})})}function Wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"delete"})})}function De(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.pathId}/discusses.json`,{method:"get",params:h({},be)})})}function Qe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.coursesId}/excellent_discusses.json`,{method:"get",params:h({},be)})})}function Vt(be){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},be)})})}function kt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/move_position`,{method:"post",body:h({},be)})})}function Ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/${be.id}`,{method:"delete"})})}function $t(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/excellent_discuss`,{method:"post",body:h({},be)})})}function Ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/post_discuss`,{method:"post",body:h({},be)})})}function Yt(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:be})})}function Ge(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:be})})}function fe(be){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:be})})}function _e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/add_homework_to_stage.json`,{method:"post",body:be})})}function Ot(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}/edit.json`,{method:"get",params:be})})}function Pe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}.json`,{method:"put",body:be})})}function dt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/subjects/subject_homework.json`,{method:"get",params:be})})}function Zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/courses/course_homework.json`,{method:"get",params:be})})}function Tt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/batch_add_homework_to_stage.json`,{method:"post",body:be})})}function ke(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:be})})}function St(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_login}/subjects/cancel.json`,{method:"get",params:be})})}},17960:function(d,g,e){"use strict";e.d(g,{Fd:function(){return ue},Hi:function(){return y},IU:function(){return V},KE:function(){return b},Kc:function(){return ee},MK:function(){return K},Q9:function(){return D},Qg:function(){return U},Qn:function(){return R},UK:function(){return p},W:function(){return F},Ye:function(){return $},_c:function(){return a},hO:function(){return le},iV:function(){return ie},jy:function(){return G},kp:function(){return ae},lf:function(){return T},m7:function(){return _},n$:function(){return L},rJ:function(){return B},s3:function(){return x},ux:function(){return S},vf:function(){return Y},wh:function(){return oe},wo:function(){return ne},x$:function(){return J}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(M,q,de)=>q in M?i(M,q,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[q]=de,h=(M,q)=>{for(var de in q||(q={}))c.call(q,de)&&s(M,de,q[de]);if(l)for(var de of l(q))f.call(q,de)&&s(M,de,q[de]);return M},u=(M,q,de)=>new Promise((Ee,Ce)=>{var je=_t=>{try{Ft(de.next(_t))}catch(Pt){Ce(Pt)}},Fe=_t=>{try{Ft(de.throw(_t))}catch(Pt){Ce(Pt)}},Ft=_t=>_t.done?Ee(_t.value):Promise.resolve(_t.value).then(je,Fe);Ft((de=de.apply(M,q)).next())});const a=M=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M==null?void 0:M.id}/commit_word_cloud.json`,{method:"Get",params:M})});function x(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/poll_lists.json`,{method:"get",params:h({},M)})})}function p(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/common_header.json`,{method:"get"})})}function y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/poll_setting.json`,{method:"get"})})}function _(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/commit_setting.json`,{method:"post",body:h({},M)})})}function b(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},M)})})}function S(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/publish_groups.json`,{method:"get",params:h({},M)})})}function R(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/commit_result.json`,{method:"get",params:h({},M)})})}function L(M){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},M)})})}function T(M){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},M)})})}function D(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},M)})})}function B(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls.json`,{method:"POST",body:h({},M)})})}function $(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/edit.json`,{method:"get"})})}function U(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function V(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function K(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.pollsId}/poll_questions.json`,{method:"post",body:h({},M)})})}function G(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}.json`,{method:"delete",body:h({},M)})})}function oe(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}/up_down.json`,{method:"post",body:h({},M)})})}function ae(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${M.topicId}.json`,{method:"get"})})}function le(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${M.topicId}.json`,{method:"put",body:h({},M)})})}function Q(M){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${M.topicId}.json`,{method:"put",body:h({},M)})})}function J(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.pollsId}.json`,{method:"delete",body:h({},M)})})}function Y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}/up_down.json`,{method:"post",body:h({},M)})})}function ue(M){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},M)})})}function ne(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function ee(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.id}.json`,{method:"put",body:h({},M)})})}function ie(M){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},M)})})}function F(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.exerciseId}/up_down.json`,{method:"post",body:h({},M)})})}},36005:function(d,g,e){"use strict";e.d(g,{$c:function(){return nt},A1:function(){return $e},Bd:function(){return D},Bo:function(){return Q},Cc:function(){return ue},Cn:function(){return ie},DF:function(){return L},Dm:function(){return Xe},FG:function(){return le},GW:function(){return It},HF:function(){return K},Hm:function(){return M},IJ:function(){return Me},L5:function(){return Jt},LS:function(){return st},MZ:function(){return ge},Mr:function(){return ae},NZ:function(){return Ft},Of:function(){return S},Pl:function(){return R},Qj:function(){return _},Qp:function(){return ht},RT:function(){return De},Rp:function(){return bt},U6:function(){return G},Vl:function(){return ne},Wk:function(){return oe},YP:function(){return F},Ys:function(){return $},al:function(){return B},bF:function(){return ct},d1:function(){return y},dt:function(){return Kt},et:function(){return de},ex:function(){return b},fY:function(){return Ee},fn:function(){return T},hI:function(){return _t},hg:function(){return Ue},iT:function(){return J},lS:function(){return Fe},nD:function(){return zt},qN:function(){return q},rV:function(){return U},s:function(){return je},sD:function(){return Ae},sS:function(){return er},ts:function(){return Y},vi:function(){return He},wX:function(){return Je},x5:function(){return V},zh:function(){return Ce}});var r=e(205),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Qe,Vt,kt)=>Vt in Qe?i(Qe,Vt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Qe[Vt]=kt,a=(Qe,Vt)=>{for(var kt in Vt||(Vt={}))s.call(Vt,kt)&&u(Qe,kt,Vt[kt]);if(f)for(var kt of f(Vt))h.call(Vt,kt)&&u(Qe,kt,Vt[kt]);return Qe},x=(Qe,Vt)=>l(Qe,c(Vt)),p=(Qe,Vt,kt)=>new Promise((Ht,$t)=>{var Ct=fe=>{try{Ge(kt.next(fe))}catch(_e){$t(_e)}},Yt=fe=>{try{Ge(kt.throw(fe))}catch(_e){$t(_e)}},Ge=fe=>fe.done?Ht(fe.value):Promise.resolve(fe.value).then(Ct,Yt);Ge((kt=kt.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 R(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/set_private.json`,{method:"post"})})}function L(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/set_public.json`,{method:"post"})})}function T(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}.json`,{method:"delete"})})}function D(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Qe.id}/start.json`,{method:"get"})})}function B(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}.json`,{method:"delete",body:a({},Qe)})})}function $(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:Qe})})}function U(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 K(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Qe})})}function G(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:Qe})})}function oe(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}.json`,{method:"put",body:Qe})})}function ae(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:Qe})})}function le(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/edit.json`,{method:"get"})})}function Q(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Qe.id}/edit.json`,{method:"get"})})}function J(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:Qe})})}function Y(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}/set_score.json`,{method:"post",body:Qe})})}function ue(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}/set_challenge_score.json`,{method:"post",body:Qe})})}function ne(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}/combination_set_score.json`,{method:"post",body:Qe})})}function ee(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 ie(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}.json`,{method:"delete"})})}function F(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Qe})})}function M(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Qe})})}function q(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}/adjust_position.json`,{method:"post",body:Qe})})}function de(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:Qe})})}function Ee(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Qe.id}/revoke_item.json`,{method:"delete",body:Qe})})}function Ce(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 je(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/join_to_collection.json`,{method:"post",params:Qe})})}function Fe(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/cancel_collection.json`,{method:"post",params:Qe})})}function Ft(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:Qe})})}function _t(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Qe})})}function Pt(Qe){return p(this,null,function*(){return Fetch(`/api/item_banks/${Qe.id}/join_to_group.json`,{method:"post",body:Qe})})}function Qt(Qe){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Qe.id}.json`,{method:"put",body:Qe})})}function er(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:Qe})})}function Jt(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/feedback.json`,{method:"post",body:Qe})})}function Xe(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Qe})})}function It(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:Qe})})}function zt(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Qe})})}function st(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Qe})})}function bt(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Qe})})}function ht(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Qe})})}function Je(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 Ue(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Qe})})}function ge(Qe){return(0,r.ZP)(`/api/problems/${Qe.identifier}/publish.json`,{method:"post",body:Qe})}function Ae(Qe){return(0,r.ZP)(`/api/problems/${Qe.identifier}/cancel_publish.json`,{method:"post",body:Qe})}function Me(Qe){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Qe.id]}})}function $e(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Qe.id}/up_position.json`,{method:"get",params:Qe})})}function He(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Qe.id}/down_position.json`,{method:"get",params:Qe})})}function nt(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Qe.id}/edit_hack.json`,{method:"get",params:Qe})})}function ct(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Qe})})}function Kt(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:Qe})})}function Wt(Qe){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Qe})})}function De(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},14634:function(d,g,e){"use strict";e.d(g,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(205),i=(s,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(s,h)).next())});function l(s){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:s})})}function c(s){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${s.id}.json`,{method:"get",params:s})})}function f(s){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${s.id}.json`,{method:"delete",params:s})})}},7647:function(d,g,e){"use strict";e.d(g,{Am:function(){return _},Ar:function(){return Xe},BD:function(){return He},Be:function(){return Je},Dx:function(){return ne},Fr:function(){return _e},G$:function(){return R},GS:function(){return G},Gw:function(){return S},H:function(){return er},H1:function(){return Jt},Hj:function(){return ct},JA:function(){return Wt},JG:function(){return ue},KE:function(){return F},Lz:function(){return Me},Mf:function(){return Qt},NA:function(){return _t},PC:function(){return Fe},PP:function(){return Ft},PW:function(){return st},Q3:function(){return ee},QC:function(){return De},Qt:function(){return $e},Qz:function(){return D},R$:function(){return Ge},RP:function(){return le},Ti:function(){return Tt},Uc:function(){return Ht},Ul:function(){return J},VB:function(){return dt},Vs:function(){return $t},Wr:function(){return L},Xn:function(){return Q},YQ:function(){return Pt},Yn:function(){return b},Z8:function(){return V},ak:function(){return zt},cN:function(){return $},co:function(){return Ue},cz:function(){return Ce},fK:function(){return K},gG:function(){return je},gZ:function(){return kt},h$:function(){return U},ku:function(){return Ae},lf:function(){return q},m7:function(){return Y},mQ:function(){return B},mz:function(){return ht},n$:function(){return M},oK:function(){return y},oN:function(){return Zt},pH:function(){return nt},pb:function(){return Pe},qP:function(){return Qe},ql:function(){return Vt},rN:function(){return ge},sw:function(){return de},t1:function(){return Ee},to:function(){return ae},ub:function(){return Kt},ux:function(){return ie},wS:function(){return Ot},wT:function(){return T},yT:function(){return It},yy:function(){return Ct},z2:function(){return bt}});var r=e(205),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ke,St,be)=>St in ke?i(ke,St,{enumerable:!0,configurable:!0,writable:!0,value:be}):ke[St]=be,a=(ke,St)=>{for(var be in St||(St={}))s.call(St,be)&&u(ke,be,St[be]);if(f)for(var be of f(St))h.call(St,be)&&u(ke,be,St[be]);return ke},x=(ke,St)=>l(ke,c(St)),p=(ke,St,be)=>new Promise((Ke,gt)=>{var Rt=At=>{try{kr(be.next(At))}catch(Kr){gt(Kr)}},Be=At=>{try{kr(be.throw(At))}catch(Kr){gt(Kr)}},kr=At=>At.done?Ke(At.value):Promise.resolve(At.value).then(Rt,Be);kr((be=be.apply(ke,St)).next())});const y=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.id}/update_journals.json`,{method:"post",body:ke})}),_=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.homeworkId}/change_score.json`,{method:"post",body:ke})}),b=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.homeworkId}/history_comment`,{method:"Get",params:ke})}),S=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.homeworkId}/feedback_know`,{method:"Get",params:ke})}),R=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.userId}/student_work_feedbacks.json`,{method:"POST",body:ke})}),L=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.userId}/feedback_list.json`,{method:"Get",params:ke})}),T=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${ke==null?void 0:ke.userId}/histories.json`,{method:"Get",params:ke})}),D=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.homeworkId}/feedback_list`,{method:"Get",params:ke})}),B=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:ke})}),$=ke=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke==null?void 0:ke.homeworkId}/appeal_list`,{method:"Get",params:ke})});function U(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/works_list.json`,{method:"post",body:a({},ke)})})}function V(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${ke.categoryId}/student_works.json`,{method:"get",params:a({},ke)})})}function K(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${ke.categoryId}/header_info.json`,{method:"get",params:a({},ke)})})}function G(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke}/query_game_url.json`,{method:"get"})})}function oe(ke){return p(this,null,function*(){return Fetch(`/api/student_works/${ke}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ae(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}.json`,{method:"get"})})}function le(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/code_review_results.json`,{method:"get",params:a({},ke)})})}function Q(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/code_review_detail.json`,{method:"get",params:a({},ke)})})}function J(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/settings.json`,{method:"get",params:a({},ke)})})}function Y(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/update_settings.json`,{method:"post",body:a({},ke)})})}function ue(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/group_list.json`,{method:"get",params:a({},ke)})})}function ne(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/works_list.xlsx`,{method:"get",params:a({},ke)})})}function ee(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.coursesId}/reference_answer.json`,{method:"get",params:a({},ke)})})}function ie(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/publish_groups.json`,{method:"get",params:a({},ke)})})}function F(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/end_groups.json`,{method:"get",params:a({},ke)})})}function M(ke){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},ke)})})}function q(ke){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},ke)})})}function de(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/shixun_work_report.json`,{method:"get",params:ke})})}function Ee(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:ke})})}function Ce(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},ke),{id:ke.categoryId})})})}function je(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.categoryId}/adjust_review_score.json`,{method:"post",body:a({},ke)})})}function Fe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/show_comment.json`,{method:"get",params:a({},ke)})})}function Ft(ke){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},ke)})})}function _t(ke){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},ke)})})}function Pt(ke){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},ke)})})}function Qt(ke){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},ke)})})}function er(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/update_explanation.json`,{method:"post",body:a({},ke)})})}function Jt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons.json`,{method:"post",body:a({},ke)})})}function Xe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}.json`,{method:"put",body:a({},ke)})})}function It(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${ke.id}.json`,{method:"put",body:a({},ke)})})}function zt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},ke)})})}function st(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/edit.json`,{method:"get",params:a({},ke)})})}function bt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}.json`,{method:"put",body:a({},ke)})})}function ht(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/revise_attachment.json`,{method:"post",body:a({},ke)})})}function Je(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.commonHomeworkId}/student_works.json`,{method:"post",body:a({},ke)})})}function Ue(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},ke)})})}function ge(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Ae(ke){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},ke)})})}function Me(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},ke)})})}function $e(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/new.json`,{method:"get",params:a({},ke)})})}function He(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/edit.json`,{method:"get",params:a({},ke)})})}function nt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${ke.id}.json`,{method:"get",params:a({},ke)})})}function ct(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}.json`,{method:"get",params:a({},ke)})})}function Kt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/supply_attachments.json`,{method:"get",params:a({},ke)})})}function Wt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/comment_list.json`,{method:"get",params:a({},ke)})})}function De(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/destroy_score.json`,{method:"delete",body:a({},ke)})})}function Qe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/add_score_reply.json`,{method:"post",body:a({},ke)})})}function Vt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/all_student_works.json`,{method:"get",params:a({},ke)})})}function kt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},ke)})})}function Ht(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/score_status.json`,{method:"get",params:a({},ke)})})}function $t(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ke.categoryId}/update_score.json`,{method:"get",params:a({},ke)})})}function Ct(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/add_score.json`,{method:"post",body:a({},ke)})})}function Yt(ke){return p(this,null,function*(){return Fetch(`/api/student_works/${ke.userId}/cancel_appeal.json`,{method:"post",body:a({},ke)})})}function Ge(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},ke)})})}function fe(ke){return p(this,null,function*(){return Fetch(`/api/student_works/${ke.userId}/deal_appeal_score.json`,{method:"post",body:a({},ke)})})}function _e(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${ke.id}/reset_my_game.json`,{method:"get",params:a({},ke)})})}function Ot(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/commit_des.json`,{method:"get",params:a({},ke)})})}function Pe(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${ke.homeworkId}/update_des.json`,{method:"post",body:a({},ke)})})}function dt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},ke)})})}function Zt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},ke)})})}function Tt(ke){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ke.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},ke)})})}},63762:function(d,g,e){"use strict";e.d(g,{$Q:function(){return $r},AE:function(){return $t},AQ:function(){return B},Ag:function(){return St},Ar:function(){return ie},At:function(){return Lt},BK:function(){return V},Bj:function(){return zt},DC:function(){return Xe},Dz:function(){return vt},E4:function(){return Jt},EH:function(){return q},Ee:function(){return mn},Er:function(){return ne},FB:function(){return U},Fg:function(){return S},GI:function(){return Ce},Gr:function(){return ht},Gu:function(){return Ee},Gz:function(){return b},HS:function(){return Et},Hl:function(){return y},IT:function(){return Tt},I_:function(){return T},Ir:function(){return K},Je:function(){return Be},K:function(){return jt},K0:function(){return Fr},KM:function(){return Q},K_:function(){return Ur},LK:function(){return kr},LP:function(){return je},Ne:function(){return ue},OV:function(){return Ft},OW:function(){return M},Op:function(){return Ar},P2:function(){return Pt},Po:function(){return D},Ps:function(){return Je},Q:function(){return Y},Q1:function(){return Cr},QA:function(){return vi},Ql:function(){return ge},Rs:function(){return De},SG:function(){return Vi},Tn:function(){return Yt},Tr:function(){return pi},U0:function(){return He},U9:function(){return Ue},UQ:function(){return Pe},Ui:function(){return _r},Vx:function(){return ot},WO:function(){return ee},WT:function(){return Yi},Wi:function(){return st},Wl:function(){return be},X$:function(){return Qt},Yn:function(){return fe},Z2:function(){return It},ZO:function(){return bt},Zt:function(){return yt},_7:function(){return J},_9:function(){return _e},aH:function(){return Ae},al:function(){return Kt},b8:function(){return F},bq:function(){return Ge},dK:function(){return G},e:function(){return R},eX:function(){return de},eb:function(){return Qe},fL:function(){return Rt},h4:function(){return yr},hS:function(){return _},he:function(){return L},hn:function(){return ae},ii:function(){return Wt},im:function(){return Ot},j8:function(){return Fe},jq:function(){return Qr},kF:function(){return Kr},km:function(){return ct},l3:function(){return _t},m7:function(){return $e},mI:function(){return xi},n5:function(){return $},nu:function(){return At},p0:function(){return Zt},q0:function(){return Ht},q9:function(){return ur},qA:function(){return cn},rO:function(){return kt},rs:function(){return le},sr:function(){return dt},t2:function(){return ke},tX:function(){return Un},uo:function(){return nt},v3:function(){return gt},w:function(){return Ke},xK:function(){return Ct},xg:function(){return Vt},xk:function(){return er},yE:function(){return Me},yx:function(){return mi},zD:function(){return oe},zH:function(){return sn}});var r=e(205),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ut,Xn,wi)=>Xn in ut?i(ut,Xn,{enumerable:!0,configurable:!0,writable:!0,value:wi}):ut[Xn]=wi,a=(ut,Xn)=>{for(var wi in Xn||(Xn={}))s.call(Xn,wi)&&u(ut,wi,Xn[wi]);if(f)for(var wi of f(Xn))h.call(Xn,wi)&&u(ut,wi,Xn[wi]);return ut},x=(ut,Xn)=>l(ut,c(Xn)),p=(ut,Xn,wi)=>new Promise((qn,Zi)=>{var _i=tr=>{try{Qn(wi.next(tr))}catch(mt){Zi(mt)}},Pi=tr=>{try{Qn(wi.throw(tr))}catch(mt){Zi(mt)}},Qn=tr=>tr.done?qn(tr.value):Promise.resolve(tr.value).then(_i,Pi);Qn((wi=wi.apply(ut,Xn)).next())});const y=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ut})}),_=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ut})}),b=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ut})}),S=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ut})}),R=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ut})});function L(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},ut)})})}function T(ut){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},ut||{})})})}function D(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"Get",params:ut})})}function B(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/show_right.json`,{method:"Get"})})}function $(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges.json`,{method:"Get"})})}function U(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ut.save_type}})})}function V(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/jupyter_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function K(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function G(ut){return p(this,null,function*(){return(0,r.ZP)(ut.url,{method:"Get"})})}function oe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_up.json`,{method:"Get"})})}function ae(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_down.json`,{method:"Get"})})}function le(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function Q(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function J(ut){return p(this,null,function*(){const{id:Xn}=ut||{};return(0,r.ZP)(`/api/shixuns/${Xn}/search_user_courses.json`,{method:"Get",params:ut})})}function Y(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut==null?void 0:ut.id}/send_to_course.json`,{method:"Post",body:a({},ut)})})}function ue(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_publish.json`,{method:"Get"})})}function ne(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_apply_public.json`,{method:"Get"})})}function ee(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/apply_public.json`,{method:"post",body:a({},ut)})})}function ie(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/publish.json`,{method:"Get"})})}function F(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function M(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${ut.id}.json`,{method:"delete"})})}function q(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ut})})}function de(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:ut})})}function Ee(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ut})})}function Ce(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_newest_record.json`,{method:"Get"})})}function je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_shixun.json`,{method:"post",body:ut})})}function Fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators.json`,{method:"Get",params:ut})})}function Ft(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_members_added.json`,{method:"post",body:ut})})}function _t(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/add_members_group.json`,{method:"post",body:ut})})}function Pt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"Get",params:ut})})}function Qt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"post",body:ut})})}function er(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ut.userId}})})}function Jt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/ranking_list.json`,{method:"Get"})})}function Xe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/settings.json`,{method:"Get"})})}function It(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ut.mirror_id}})})}function zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_script_contents.json`,{method:"Get",params:ut})})}function st(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_custom_script.json`,{method:"Get",params:ut})})}function bt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_for_jupyter.json`,{method:"put",body:ut})})}function ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_quotes.json`,{method:"Get"})})}function Je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"delete"})})}function Ue(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/close.json`,{method:"post",body:ut})})}function ge(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:ut})})}function Ae(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_permission_setting.json`,{method:"post",body:ut})})}function Me(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_learn_setting.json`,{method:"post",body:ut})})}function $e(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_setting`,{method:"post",body:ut})})}function He(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_data_sets.json`,{method:"Get",params:ut})})}function nt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ut.deleteId}})})}function ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/new.json`,{method:"get"})})}function Kt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/challenges.json`,{method:"post",body:a({},ut)})})}function Wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/edit.json`,{method:"get",params:{tab:ut.tab}})})}function De(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"put",body:a({},ut)})})}function Qe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_questions.json`,{method:"get"})})}function Vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/move_position.json`,{method:"post",body:a({},ut)})})}function kt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"delete",body:a({},ut)})})}function Ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit.json`,{method:"get",params:a({},ut)})})}function $t(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/answer.json`,{method:"get",params:a({},ut)})})}function Ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/crud_answer.json`,{method:"post",body:a({},ut)})})}function Yt(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_choose_question.json`,{method:"post",body:a({},ut)});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_blank_question.json`,{method:"post",body:a({},ut)});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_judge_question.json`,{method:"post",body:a({},ut)})})}function Ge(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})})})}function fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ut.questionId}})})}function _e(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Pe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},ut),{choose_id:ut.questionId})})})}function dt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function Zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function Tt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function ke(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function St(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/repository.json`,{method:"post",body:ut})})}function be(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/repository.json`,{method:"post",body:ut})})}function Ke(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/secret_repository.json`,{method:"post",body:ut})})}function gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Rt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Be(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/commits.json`,{method:"post",body:ut})})}function kr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/file_content.json`,{method:"post",body:ut})})}function At(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/file_content.json`,{method:"post",body:ut})})}function Kr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_file.json`,{method:"post",body:ut})})}function Qr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/update_file.json`,{method:"post",body:ut})})}function Ar(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/upload_git_folder.json`,{method:"post",body:{path:ut.path,secret_repository:ut.secret_repository}})})}function $r(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/${ut.url}`,{method:"Get"})})}function _r(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ut})})}function Ur(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ut})})}function sn(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ut})})}function cn(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ut})})}function ur(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ut})})}function Lt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/fork_list.json`,{method:"Get",params:ut})})}function vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/change_editable.json`,{method:"put",body:a({},ut)})})}function yt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/set_secret_dir.json`,{method:"post",body:a({},ut)})})}function jt(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:ut})})}function Cr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:ut})})}function yr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function Fr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_secret_repository.json`,{method:"post",body:a({},ut)})})}function mn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/exist_exercise.json`,{method:"get",params:a({},ut)})})}function Un(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${ut.id}.json`,{method:"get",params:a({},ut)})})}function mr(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/publish.json`,{method:"post",body:a({},ut)})})}function en(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_vnc.json`,{method:"post",params:a({},ut)})})}function dn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_webssh.json`,{method:"post",params:a({},ut)})})}function Fn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/save_image.json`,{method:"post",body:a({},ut)})})}function ei(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/delete_image.json`,{method:"post",body:a({},ut)})})}function Nn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/extend_vnc.json`,{method:"post",body:a({},ut)})})}function zi(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/reset_vnc_link.json`,{method:"post",body:a({},ut)})})}function mi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},ut)})})}function xi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},ut)})})}function vi(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},ut)})})}function pi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ut})})}function Yi(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${ut}`,{method:"get",params:{is_initiative_study:1}})})}function Yn(ut){return p(this,null,function*(){return Fetch(`/api/shixuns/${ut.id}/update_shixun_study_num.json`,{method:"post",body:a({},ut)})})}function Vi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:ut})})}function Et(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut}/recommend_config.json`,{method:"get"})})}},51712:function(d,g,e){"use strict";e.d(g,{Bg:function(){return p},FO:function(){return B},eJ:function(){return b},eZ:function(){return S},fd:function(){return K},gp:function(){return a},iU:function(){return U},l3:function(){return L},mw:function(){return T},oZ:function(){return _},rM:function(){return D},r_:function(){return V},s:function(){return x},ur:function(){return $},xV:function(){return y},yb:function(){return R}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(G,oe,ae)=>oe in G?i(G,oe,{enumerable:!0,configurable:!0,writable:!0,value:ae}):G[oe]=ae,h=(G,oe)=>{for(var ae in oe||(oe={}))c.call(oe,ae)&&s(G,ae,oe[ae]);if(l)for(var ae of l(oe))f.call(oe,ae)&&s(G,ae,oe[ae]);return G},u=(G,oe,ae)=>new Promise((le,Q)=>{var J=ne=>{try{ue(ae.next(ne))}catch(ee){Q(ee)}},Y=ne=>{try{ue(ae.throw(ne))}catch(ee){Q(ee)}},ue=ne=>ne.done?le(ne.value):Promise.resolve(ne.value).then(J,Y);ue((ae=ae.apply(G,oe)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/teachers.json`,{method:"get",params:h({},G)})})}function x(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/apply_teachers.json`,{method:"get",params:h({},G)})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/graduation_group_list.json`,{method:"get",params:h({},G)})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/all_course_groups.json`,{method:"get",params:h({},G)})})}function _(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/set_course_group.json`,{method:"post",body:h({},G)})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/join_graduation_group.json`,{method:"post",body:h({},G)})})}function S(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/create_graduation_group.json`,{method:"post",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},G)})})}function L(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/delete_from_course.json`,{method:"post",body:h({},G)})})}function T(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/change_member_role.json`,{method:"post",body:h({},G)})})}function D(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/change_course_admin.json`,{method:"post",body:h({},G)})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/teacher_application_review.json`,{method:"post",body:h({},G)})})}function $(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/students.json`,{method:"get",params:h({},G)})})}function U(G,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/apply_students.json`,{method:"get",params:oe})})}function V(G,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/join_student_checkout.json`,{method:"get",params:oe})})}function K(G,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/student_application_review.json`,{method:"post",body:oe})})}},20439:function(d,g,e){"use strict";e.d(g,{B$:function(){return y},Cx:function(){return J},DA:function(){return D},DH:function(){return p},Ef:function(){return ne},Es:function(){return b},Ex:function(){return Qt},FM:function(){return ae},Fn:function(){return ee},Gq:function(){return Jt},Ho:function(){return $},IU:function(){return de},JJ:function(){return ie},Ol:function(){return Fe},Qx:function(){return oe},Tv:function(){return F},V8:function(){return x},WS:function(){return Y},WY:function(){return G},ai:function(){return Q},bG:function(){return R},bJ:function(){return a},c0:function(){return er},dE:function(){return q},dt:function(){return M},gI:function(){return ue},lO:function(){return le},mW:function(){return K},n0:function(){return T},nV:function(){return je},o1:function(){return Ft},qE:function(){return _},qN:function(){return B},rV:function(){return U},sh:function(){return Ce},vR:function(){return S},w3:function(){return V},x4:function(){return L},z2:function(){return _t}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Xe,It,zt)=>It in Xe?i(Xe,It,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Xe[It]=zt,h=(Xe,It)=>{for(var zt in It||(It={}))c.call(It,zt)&&s(Xe,zt,It[zt]);if(l)for(var zt of l(It))f.call(It,zt)&&s(Xe,zt,It[zt]);return Xe},u=(Xe,It,zt)=>new Promise((st,bt)=>{var ht=ge=>{try{Ue(zt.next(ge))}catch(Ae){bt(Ae)}},Je=ge=>{try{Ue(zt.throw(ge))}catch(Ae){bt(Ae)}},Ue=ge=>ge.done?st(ge.value):Promise.resolve(ge.value).then(ht,Je);Ue((zt=zt.apply(Xe,It)).next())});const a=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}/move.json`,{method:"post",body:Xe})}),x=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"delete",body:Xe})}),p=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"put",body:Xe})}),y=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Xe})}),_=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Xe})});function b(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Xe)})})}function S(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function R(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Xe)})})}function L(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Xe)})})}function T(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function D(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/homepage_info.json`,{method:"get"})})}function B(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function $(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/courses.json`,{method:"get",params:Xe})})}function U(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/shixuns.json`,{method:"get",params:Xe})})}function V(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/subjects.json`,{method:"get",params:Xe})})}function K(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/projects.json`,{method:"get",params:Xe})})}function G(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos.json`,{method:"get",params:Xe})})}function oe(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/review.json`,{method:"get",params:Xe})})}function ae(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.id}.json`,{method:"delete"})})}function le(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Xe})})}function Q(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Xe})})}function J(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Xe})})}function Y(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Xe})})}function ue(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Xe})})}function ne(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Xe})})}function ee(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.object_id}/create_course_video.json`,{method:"post",body:Xe})})}function ie(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Xe.topicId}.json`,{method:"get",params:Xe})})}function F(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Xe)})})}function M(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/batch_publish.json`,{method:"post",body:Xe})})}function q(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Xe.identifier}/cancel.json`,{method:"delete",body:h({},Xe)})})}function de(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Xe)})})}function Ee(Xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Xe)})})}function Ce(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function je(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Fe(Xe){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Xe})}function Ft(Xe){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Xe})}function _t(Xe){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Xe)})}function Pt(Xe){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Xe)})}function Qt(Xe){return(0,r.ZP)(`/api/users/accounts/${Xe.login}/password.json`,{method:"put",body:h({},Xe)})}function er(Xe){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Xe)})}function Jt(Xe){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Xe)})}},19434:function(d,g,e){"use strict";e.d(g,{BQ:function(){return a},DH:function(){return $},Db:function(){return le},Ju:function(){return ae},Mz:function(){return K},O2:function(){return _},TJ:function(){return R},Vg:function(){return y},ZY:function(){return x},Zx:function(){return V},cU:function(){return p},fn:function(){return oe},jK:function(){return L},yN:function(){return G}});var r=e(205),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,s=(Q,J,Y)=>J in Q?i(Q,J,{enumerable:!0,configurable:!0,writable:!0,value:Y}):Q[J]=Y,h=(Q,J)=>{for(var Y in J||(J={}))c.call(J,Y)&&s(Q,Y,J[Y]);if(l)for(var Y of l(J))f.call(J,Y)&&s(Q,Y,J[Y]);return Q},u=(Q,J,Y)=>new Promise((ue,ne)=>{var ee=M=>{try{F(Y.next(M))}catch(q){ne(q)}},ie=M=>{try{F(Y.throw(M))}catch(q){ne(q)}},F=M=>M.done?ue(M.value):Promise.resolve(M.value).then(ee,ie);F((Y=Y.apply(Q,J)).next())});function a(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},Q)})})}function x(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/watch_statics.json`,{method:"Get",params:h({},Q)})})}function p(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${Q.videoId}/watch_histories.json`,{method:"Get",params:h({},Q)})})}function y(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},Q)})})}function _(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${Q.id}.json`,{method:"Get",params:h({},Q)})})}function b(Q){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:Q})})}function S(Q){return u(this,null,function*(){return Fetch(`/api/video_items/${Q.id}/edit.json`,{method:"Get",params:h({},Q)})})}function R(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Q.id}/edit.json`,{method:"Get",params:h({},Q)})})}function L(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${Q.id}/star.json`,{method:"post",body:Q})})}function T(Q){return u(this,null,function*(){return Fetch(`/api/video_items/${Q.id}.json`,{method:"put",body:Q})})}function D(Q){return u(this,null,function*(){return Fetch(`/api/video_items/${Q.id}/send_to_course.json`,{method:"post",body:Q})})}function B(Q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},Q)})})}function $(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${Q.id}/view_video.json`,{method:"post",body:Q})})}function U(Q){return u(this,null,function*(){return Fetch(`/api/video_items/${Q.id}/add_school.json`,{method:"post",body:Q})})}function V(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.course_id}/video_people_statics.json`,{method:"get",params:Q})})}function K(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.course_id}/video_duration_statics.json`,{method:"get",params:Q})})}function G(Q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:Q})})}function oe(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q==null?void 0:Q.id}/course_videos_tree.json`,{method:"get",params:Q})})}function ae(Q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:Q})})}function le(Q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:Q})})}},9815:function(d,g,e){"use strict";e.d(g,{A:function(){return K},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return B},Ll:function(){return s},MM:function(){return L},Ps:function(){return $},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 D},sT:function(){return b},tS:function(){return U},xt:function(){return T},y2:function(){return l}});var r=e(205),i=(G,oe,ae)=>new Promise((le,Q)=>{var J=ne=>{try{ue(ae.next(ne))}catch(ee){Q(ee)}},Y=ne=>{try{ue(ae.throw(ne))}catch(ee){Q(ee)}},ue=ne=>ne.done?le(ne.value):Promise.resolve(ne.value).then(J,Y);ue((ae=ae.apply(G,oe)).next())});const l=G=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:G})});function c(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions/${G.id}.json`,{method:"put",body:G})})}function f(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions/${G.id}.json`,{method:"get",params:G})})}function s(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions.json`,{method:"post",body:G})})}function h(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions.json`,{method:"get",params:G})})}function u(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}/add_resources.json`,{method:"post",body:G})})}function a(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}/lesson_resources_list.json`,{method:"get",params:G})})}function x(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}.json`,{method:"get",params:G})})}function p(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}.json`,{method:"put",body:G})})}function y(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons.json`,{method:"post",body:G})})}function _(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons.json`,{method:"get",params:G})})}function b(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G==null?void 0:G.id}.json`,{method:"get"})})}function S(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G==null?void 0:G.id}/modules.json`,{method:"get"})})}function R(G){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${G.id}/videos/batch_publish.json`,{method:"post",body:G})})}function L(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/members.json`,{method:"post",body:G})})}function T(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/members/${G.id}/change_creator.json`,{method:"post",body:G})})}function D(G,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/shixuns.json`,{method:"get",params:oe})})}function B(G,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/shixuns`,{method:"post",body:oe})})}function $(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_classroom_id}/shixuns/${G.shixun_id}.json`,{method:"delete"})})}function U(G,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/subjects.json`,{method:"get",params:oe})})}function V(G,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/subjects.json`,{method:"post",body:oe})})}function K(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_classroom_id}/subjects/${G.subject_id}.json`,{method:"delete"})})}},57535:function(d,g,e){"use strict";e.d(g,{$O:function(){return J},EO:function(){return nt},G5:function(){return V},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return G},JA:function(){return He},JL:function(){return T},Jd:function(){return Q},Ny:function(){return R},RV:function(){return ae},Rb:function(){return U},Rm:function(){return K},V9:function(){return M},Yh:function(){return ee},aN:function(){return b},aQ:function(){return u},ag:function(){return $e},bg:function(){return Kt},d8:function(){return $},dE:function(){return oe},eB:function(){return le},eY:function(){return Wt},fn:function(){return Me},h:function(){return $t},j5:function(){return _},m$:function(){return De},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Vt},y8:function(){return ct}});var r=e(1997),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:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return Ct.some(fe=>fe==(Ge==null?void 0:Ge.role))},s=Ct=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return Ge!=null&&Ge.own?!0:Ct.some(fe=>{var _e;return fe==((_e=Ge==null?void 0:Ge.course)==null?void 0:_e.course_role)})},h=()=>{const{user:Ct}=(0,r.getDvaApp)()._store.getState(),{userInfo:Yt}=Ct;return Yt.main_site},u=()=>{var Ct;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return(Ct=Ge==null?void 0:Ge.course)==null?void 0:Ct.course_is_end},a=()=>{const{user:Ct}=getDvaApp()._store.getState(),{userInfo:Yt}=Ct;return Yt.authentication},x=()=>s([1,2,5,8,12]),p=()=>s([1,8,5,12,2]),y=()=>s([1,8,5]),_=()=>s([1]),b=()=>s([1,2,5]),S=()=>s([1,2]),R=()=>f([1,2]),L=()=>f([1]),T=()=>f([1,2,5]),D=()=>s([1,5]),B=()=>s([5,8]),$=()=>s([5]),U=()=>s([1,5,2]),V=()=>s([1,2,5,8]),K=()=>s([12]),G=()=>s([8]),oe=()=>s([15]),ae=()=>s([1,2,5,8,12,15]),le=()=>s([1,2,5,8,12]),Q=()=>{var Ct;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return((Ct=Ge==null?void 0:Ge.course)==null?void 0:Ct.course_role)===null},J=()=>{var Ct;const{user:Yt,globalSetting:Ge}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Yt,_e=((Ct=Ge==null?void 0:Ge.setting)==null?void 0:Ct.big_model_users)||[];return _e==null?void 0:_e.includes(fe==null?void 0:fe.login)},Y=(Ct=!0,Yt=!1)=>f([1,2,5,8,12,15]),ue=(Ct=!0,Yt=!1)=>Yt||!Yt&&f([1]),ne=(Ct=!0,Yt=!1)=>Yt||!Yt&&f([1,2]),ee=()=>f([15]),ie=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),F=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),M=(Ct=!0,Yt=!1)=>{const{user:Ge}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Ge;return fe!=null&&fe.is_shixun_marker?!0:f([1,2,5,8])},q=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),de=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),Ee=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),Ce=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),je=(Ct=!0,Yt=!1)=>Ct?f([1,2,5]):Yt||!Yt&&f([1,2]),Fe=(Ct=!0,Yt=!1)=>Ct?f([1]):!1,Ft=(Ct=!0,Yt=!1)=>f([1,2,5,8,12,15]),_t=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),Pt=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),Qt=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),er=(Ct=!0,Yt=!1)=>Ct?!1:Yt||!Yt&&f([1,2]),Jt=(Ct=!0,Yt=!1)=>Ct?Yt||!Yt&&f([1,2]):!1,Xe=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):!1,It=(Ct=!0,Yt=!1)=>Ct?!Yt&&f([1,2,5,8,12]):!1,zt=(Ct=!0,Yt=!1)=>Ct?f([1,2,5]):Yt||!Yt&&f([1,2]),st=(Ct=!0,Yt=!1)=>f([1,2,5,8,12]),bt=(Ct=!0,Yt=!1)=>Ct?f([1]):Yt||!Yt&&f([1]),ht=(Ct=!0,Yt=!1)=>Ct?f([1,2]):Yt||!Yt&&f([1,2]),Je=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ue=(Ct=!0,Yt=!1)=>Ct?Yt||!Yt&&f([1,2]):!1,ge=(Ct=!0,Yt=!1)=>Ct?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ae=(Ct=!0,Yt=!1)=>s([8]),Me=()=>f([1]),$e=()=>f([1,2]),He=()=>f([15]),nt=()=>f([1,2,5]),ct=()=>f([1,2,5,12]),Kt=()=>{var Ct;const{user:Yt}=(0,r.getDvaApp)()._store.getState();return!!((Ct=Yt.userInfo)!=null&&Ct.login)},Wt=()=>{const{user:Ct}=(0,r.getDvaApp)()._store.getState();return Ct.userInfo},De=()=>{var Ct,Yt;const{user:Ge}=(0,r.getDvaApp)()._store.getState();return!!((Yt=(Ct=Ge.userInfo)==null?void 0:Ct.path)!=null&&Yt.own)},Qe=Ct=>{const{graduations:Yt}=(0,r.getDvaApp)()._store.getState(),{details:Ge}=Yt;return Ct.some(fe=>fe===(Ge==null?void 0:Ge.user_identity))},Vt=()=>Qe([0,1]),kt=()=>Qe([0]),Ht=()=>Qe([1]),$t=()=>Qe([2])},38081:function(d,g,e){"use strict";e.d(g,{a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(s=>(s.PROBLEM="problem",s.PAPER="paper",s.OTHER="other",s))(l||{}),c=(s=>(s.SINGLE="single",s.MULTIPLEFLOW="multiple_flow",s.MULTIPLEFIXED="multiple_fixed",s.OTHER="other",s))(c||{}),f=(s=>(s[s.BISHI=1]="BISHI",s[s.JISHI=2]="JISHI",s[s.KOUSHI=3]="KOUSHI",s[s.OTHER=4]="OTHER",s))(f||{})},95649:function(d,g,e){"use strict";e.d(g,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},13820:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});const r={PROXY_SERVER:"http://123.249.25.239/",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.111",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const s=location.host;return s==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),s==="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"]},205:function(d,g,e){"use strict";e.d(g,{IV:function(){return F},U2:function(){return ue},ZP:function(){return le},d4:function(){return ne},gz:function(){return ie},rz:function(){return ae},v_:function(){return ee}});var r=e(13820),i=e(28909),l=e(43418),c=e(8591),f=e(85582),s=e.n(f),h=e(59301),u=e(1997),a=e(61737),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,T=(M,q,de)=>q in M?y(M,q,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[q]=de,D=(M,q)=>{for(var de in q||(q={}))R.call(q,de)&&T(M,de,q[de]);if(S)for(var de of S(q))L.call(q,de)&&T(M,de,q[de]);return M},B=(M,q)=>_(M,b(q)),$=(M,q,de)=>new Promise((Ee,Ce)=>{var je=_t=>{try{Ft(de.next(_t))}catch(Pt){Ce(Pt)}},Fe=_t=>{try{Ft(de.throw(_t))}catch(Pt){Ce(Pt)}},Ft=_t=>_t.done?Ee(_t.value):Promise.resolve(_t.value).then(je,Fe);Ft((de=de.apply(M,q)).next())});let U;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"},K=(M,q)=>$(void 0,null,function*(){if(M.status>=200&&M.status<300)return M;const de=V[M.status]||M.statusText;let Ee;var Ce=M.json();yield Ce.then((Fe,Ft)=>{setTimeout(()=>{let _t=(0,u.getDvaApp)()},400),Ee=Fe.message,window.showNetworkErrorTip(Fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`),i.Z.error({style:{wordBreak:"break-all"},message:Fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`,description:Fe.message?"":de})});const je=new Error(de);throw je.name=M.status,je.response=M,{data:M,code:M.status,message:Ee||de}}),G=(M,q)=>{const de=M.headers.get("Content-Type");return de&&de.match(/application\/json/i)&&M.clone().text().then(()=>{}),M};function oe(M){try{return decodeURIComponent(M),decodeURIComponent(encodeURIComponent(M))===M}catch(q){return!1}}const ae=M=>{M=M||{};let q="";for(let de in M)typeof M[de]=="object"?Array.isArray(M[de])&&M[de].forEach((Ee,Ce)=>{q+="&"+de+"[]="+Ee}):M[de]!==void 0&&(q+="&"+de+"="+(oe(M[de])?M[de]:encodeURIComponent(M[de])));return q.substr(1)};function le(M,q,de,Ee){q.method||(q.method="get"),q.method=q.method.toUpperCase(),q.mode="cors";const Ce=D({},q),{user:je}=(0,u.getDvaApp)()._store.getState(),{userInfo:Fe}=je,Ft=M+(Ce.body?JSON.stringify(Ce.body):""),_t=s().sha256().update(Ft).digest("hex"),Pt={credentials:"include",withCredentials:!0},Qt={};Fe!=null&&Fe.login&&(Qt.zzud=Fe==null?void 0:Fe.login,Fe!=null&&Fe.school_id&&(Qt.zzsud=Fe==null?void 0:Fe.school_id),Ce.params=D(D({},Ce.params||{}),Qt));let er=D(D({},Pt),(0,x.cloneDeep)(Ce));(er.method==="POST"||er.method==="PUT"||er.method==="PATCH"||er.method==="DELETE")&&(de?(er.headers=B(D({_method:q.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),er.body=Ce.body):(er.headers=D({Accept:"application/json",_method:q.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},er.headers),er.body=JSON.stringify(Ce.body))),er.method=="GET"?(er.headers=B(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:q.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Ce.params&&ae(Ce.params)&&(M+="?"+ae(Ce.params))):Qt.zzud&&(M+="?"+ae(D({},Qt)));const Jt=Ce.expirys&&60;let Xe;(bt=>{bt.json="application/json;charset=UTF-8",bt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Xe||(Xe={}));let It;(bt=>{bt.get="GET",bt.post="POST"})(It||(It={}));const zt=bt=>$(this,null,function*(){const ht=yield bt.arrayBuffer();let Je;const Ue=new Blob([ht]);try{Je=bt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch($e){Je="userfiles.zip"}const ge=document.createElement("a"),Ae=window.URL.createObjectURL(Ue),Me=Je;return ge.href=Ae,ge.download=Me,ge.click(),window.URL.revokeObjectURL(Ae),ht});let st=r.Z.API_SERVER;return(window.ENV==="dev"||M.startsWith("http"))&&(st=""),er.method=="GET"&&er.params&&Object.keys(er.params).map(bt=>{if(er.params[bt]&&!Array.isArray(er.params[bt]))try{er.params[bt]=encodeURIComponent(decodeURIComponent(er.params[bt]))}catch(ht){er.params[bt]=encodeURIComponent(er.params[bt])}}),(0,a.Ec)(er,M),Ee&&(st=""),er.headers._method=er.method,er.headers["X-HTTP-Method-Override"]=er.method,er.method!=="GET"&&(er.method="POST"),fetch(st+M,er).then(bt=>K(bt,D({url:r.Z.API_SERVER+M},er))).then(bt=>G(bt,_t)).then(bt=>$(this,null,function*(){var ht,Je,Ue,ge;try{const Me=bt.headers.get("cs");Me&&(0,a.d8)("_educoder_session",Me,1)}catch(Me){}if(bt.status===204)return bt.text();let Ae;if(bt.headers.get("content-type").indexOf("application/json")>-1){Ae=yield bt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,He=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,nt=/\/api\/attachments\/(\d+)/g,ct=/\/attachments\/download\/(\d+)/g;let Kt=JSON.stringify(Ae).replace(nt,(Wt,De,Qe,Vt)=>{const kt=De||Qe||Vt;return"/api/attachments/"+(0,a.Jn)(kt)}).replace(ct,(Wt,De,Qe)=>{const Vt=De||Qe;return"/attachments/download/"+(0,a.Jn)(Vt)}).replace(Me,(Wt,De,Qe,Vt)=>{const kt=De||Qe||Vt;return"(/api/attachments/"+(0,a.Jn)(kt)}).replace($e,(Wt,De,Qe)=>{const Vt=De||Qe;return'"/api/attachments/'+(0,a.Jn)(Vt)}).replace(He,(Wt,De,Qe)=>{const Vt=De||Qe;return"(/files/uploads/"+(0,a.Jn)(Vt)}).replace(/\r\n/g,`
|
|
|
`);Ae=JSON.parse(Kt)}catch(Me){}}else er.headers["Content-Type"]==="application/xml"?Ae=yield bt.text():(ht=Ce.body)!=null&&ht.autoDownload||(Je=Ce.params)!=null&&Je.autoDownload?Ae=yield zt(bt):Ae=yield bt.arrayBuffer();try{Ae.status===401&&(!((Ue=er.params)!=null&&Ue.hidePopLogin)||!((ge=er.body)!=null&&ge.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Ae.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(U=U||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),U.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch(Me){console.log("fetcherr",Me)}return Y(Ae,M),Ae})).catch(bt=>{try{const ht=bt.code;if(bt instanceof TypeError&&window.showNetworkErrorTip(`${M}<span class="ml10">${bt.message}</span>`),ht){if(ht===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}Y(bt,M)}else M.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:er.body}}):bt.message!=="403"&&window.showNetworkErrorTip(`${M}<span class="ml10">${bt.message}</span>`);return bt}catch(ht){}})}let Q=!1,J=!1;const Y=(M,q)=>{var de,Ee,Ce;if(M.status==-6&&!J){J=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>J=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:M.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(M.status==-7){J=!0,setTimeout(()=>J=!1,500);let Fe="";(de=M==null?void 0:M.data)!=null&&de.exercise_list&&((Ce=(Ee=M==null?void 0:M.data)==null?void 0:Ee.exercise_list)==null||Ce.map(Ft=>{Fe+=`<a target="_blank" href="/classrooms/${Ft.identifier}/exercise">\u300A${Ft.exercise_name}\u300B</a>`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`<div>\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${Fe} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762</div>`},500);return}if((M.status==-1||M.status==-2||M.status==-102||M.status>400)&&M.status!=403&&!J){J=!0,setTimeout(()=>J=!1,500),c.ZP.warning({content:M.message,key:"message-key"});return}const je={403:"/403",404:"/404",500:"/500"};if(je[M.status]&&!Q){const{user:Fe}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ft}=Fe;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(Q=!0),setTimeout(()=>Q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(M)),Object.values(je).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(je[M.status]),new Error("403")}};function ue(M,q){return le(`/api/${M}`,{method:"Get",params:q||{}})}function ne(M,q){return le(`/${M}`,{method:"Get",params:q})}function ee(M,q){return le(`/api/${M}`,{method:"Post",body:D({},q)})}function ie(M,q){return le(`/api/${M}`,{method:"Put",body:D({},q)})}function F(M,q){return le(`/api/${M}`,{method:"delete",body:D({},q||{})})}},66460:function(d,g,e){"use strict";e.d(g,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},65802:function(d,g,e){"use strict";e.d(g,{AL:function(){return $},Iy:function(){return p},Qv:function(){return b},ez:function(){return B},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function s(oe,ae){const le=oe.match(/^(\s+)(?:```)/);if(le===null)return ae;const Q=le[1];return ae.split(`
|
|
|
`).map(J=>{const Y=J.match(/^\s+/);if(Y===null)return J;const[ue]=Y;return ue.length>=Q.length?J.slice(Q.length):J}).join(`
|
|
|
`)}let h=[],u=["<ul>"];const a=new(i()).Renderer,x=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function p(){h.length=0,u=["<ul>"]}const y={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function _(oe,ae,le,Q){if(ae>=oe.length||oe[ae].level<=le)return ae;var J=oe[ae];Q.push("<li><a href='#"+f+J.anchor+"'>"+J.text+"</a>"),ae++;var Y=[];return ae=_(oe,ae,J.level,Y),Y.length>0&&(Q.push("<ul>"),Y.forEach(function(ue){Q.push(ue)}),Q.push("</ul>")),Q.push("</li>"),ae=_(oe,ae,le,Q),ae}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const S={heading(oe){const ae=x.exec(oe);if(f+=1,ae)return{type:"heading",raw:ae[0],depth:ae[1].length,text:ae[2]}},fences(oe){const ae=this.rules.block.fences.exec(oe);if(ae){const le=ae[0];let Q=s(le,ae[3]||"");const J=ae[2]?ae[2].trim():ae[2];if(["latex","katex","math"].indexOf(J)>=0){const Y=T(),ue=Q;Q=Y,D[Y]={type:"block",expression:ue}}return{type:"code",raw:le,lang:J,text:Q}}}},R=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let L=0;const T=()=>`__special_katext_id_${L++}__`;let D={};function B(){return D}function $(){L=0,D={}}function U(oe){return oe=oe.replace(R,(ae,le)=>{const Q=T();return D[Q]={type:"inline",expression:le},Q}),oe}const V=a.listitem;a.listitem=function(oe){return V(U(oe))};const K=a.paragraph;a.paragraph=function(oe){return K(U(oe))};const G=a.tablecell;a.tablecell=function(oe,ae){return G(U(oe),ae)},a.code=function(oe,ae,le){const Q=(ae||"").match(/\S*/)[0];return Q?["latex","katex","math"].indexOf(Q)>=0?`<p class='editormd-tex'>${oe}</p>`:`<pre class="prettyprint linenums"><code class="language-${ae}">${le?oe:(0,l.escape)(oe,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(le?oe:(0,l.escape)(oe,!0))+"</code></pre>"},a.heading=function(oe,ae,le){let Q=this.options.headerPrefix+le.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:Q,level:ae,text:oe}),"<h"+ae+' id="'+f+Q+'">'+oe+"</h"+ae+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:S,renderer:a}),g.ZP=i()},61737:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jt:function(){return showInstallWebRtcDoc},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},vQ:function(){return copyToClipboard},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(57535),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__(82579),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(52035),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(95649),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1997),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__(13820),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(94784),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(89284),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(205),crypto_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_11__),_key__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(66460),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(d,g,e)=>g in d?__defProp(d,g,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[g]=e,__spreadValues=(d,g)=>{for(var e in g||(g={}))__hasOwnProp.call(g,e)&&__defNormalProp(d,e,g[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(g))__propIsEnum.call(g,e)&&__defNormalProp(d,e,g[e]);return d},__spreadProps=(d,g)=>__defProps(d,__getOwnPropDescs(g)),__async=(d,g,e)=>new Promise((r,i)=>{var l=s=>{try{f(e.next(s))}catch(h){i(h)}},c=s=>{try{f(e.throw(s))}catch(h){i(h)}},f=s=>s.done?r(s.value):Promise.resolve(s.value).then(l,c);f((e=e.apply(d,g)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_12___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default());const HighLightedContent=(d,g=[],e="#2EC25B")=>(typeof g=="string"&&(g=[g]),d.replace(new RegExp(`(${g.join("|")})`,"gi"),`<span style="color:${e}">$1</span>`)),parseParams=d=>{d=d||{};let g="";for(let e in d)typeof d[e]=="object"?Array.isArray(d[e])&&d[e].forEach((r,i)=>{g+="&"+e+"[]="+r}):d[e]!==void 0&&(g+="&"+e+"="+d[e]);return g.substr(1)},getKey=d=>window.atob(window.atob(d));function bytesToSize(d){var g=["Bytes","KB","MB","GB","TB"];if(d==0)return"0 Byte";var e=parseInt(""+Math.floor(Math.log(d)/Math.log(1024)),10);return(d/Math.pow(1024,e)).toFixed(1)+" "+g[e]}const getTwoDecimalPlaces=d=>Math.round(Math.round(d*1e5)/1e3*100)/100,NewAntdDisabledDate=(d,g=null)=>{const e=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.startTime).startOf("day"),r=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.endTime).endOf("day"),i=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).startOf("day");return g!=null&&g.endTime?g!=null&&g.compared?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared)?i||r:e||r:d&&e||r:g!=null&&g.compared&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared)?i:e},NewAntdDisabledTime=(d,g=null)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("mm")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),l=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("ss"));function f(s,h){const u=[];for(let a=s;a<h;a++)u.push(a);return u}if(!d)return{disabledHours:()=>f(0,i),disabledMinutes:()=>f(0,l)};if(g!=null&&g.compared){const s=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).format("HH")),h=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).format("mm")),u=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(g==null?void 0:g.compared),"day")?{disabledHours:()=>f(0,s),disabledMinutes:()=>e<=s?f(0,h):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>f(0,i),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=i?f(0,l):[]}},disabledDate=(d,g,e,r)=>{r=typeof r=="string"?moment__WEBPACK_IMPORTED_MODULE_12___default()(r):r;const i=r?d<(r==null?void 0:r.startOf("day")):d<moment__WEBPACK_IMPORTED_MODULE_12___default()().startOf("day"),l=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(g).endOf("day"),c=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(e).startOf("day");return g?e?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c||l:i||l:d&&i||l:e&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c:i},disabledTime=(d,g)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm"));function l(c,f){const s=[];for(let h=c;h<f;h++)s.push(h);return s}if(!d)return{disabledHours:()=>l(0,r),disabledMinutes:()=>l(0,i)};if(g){const c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g).format("HH")),f=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(g).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(g),"day")?{disabledHours:()=>l(0,c),disabledMinutes:()=>e<=c?l(0,f):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>l(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=r?l(0,i):[]}},preciseCalculation=(d,g,e)=>{typeof d=="string"&&(d=Number(d)),typeof g=="string"&&(g=Number(g));const r=(d.toString().split(".")[1]||"").length,i=(g.toString().split(".")[1]||"").length,l=Math.max(r,i),c=Math.pow(10,l);return(()=>{switch(e){case"+":return(Math.round(d*c)+Math.round(g*c))/c;case"-":return(Math.round(d*c)-Math.round(g*c))/c;case"*":return Math.round(d*c)*Math.round(g*c)/(c*c);case"/":return Math.round(d*c)/Math.round(g*c);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=d=>d/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(d/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):d,toChineseNumber=d=>{const g=d.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],r=["","\u5341","\u767E","\u5343"],i=["","\u4E07","\u4EBF"],l=f=>{let s="";for(let h=0;h<f.length;h++){const u=+f[h],a=e[u],x=r[f.length-1-h];u===0?s[s.length-1]!==e[0]&&(s+=a):s+=a+x}return s[s.length-1]===e[0]&&(s=s.slice(0,-1)),s};let c="";for(let f=0;f<g.length;f++){const s=g[f],h=l(s),u=h?i[g.length-1-f]:"";c+=h+u}return c=c.replace(/^一十$/,"\u5341"),c=c.replace(/^一(?=十[一二三四五六七八九])/,""),c},moveArray=(d,g,e)=>{const r=d.splice(g,1)[0];return d.splice(e,0,r),d},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=d=>{if(!d)return"";const g=d.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r
|
|
|
`).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",g,JSON.stringify(d)),g},StatusTags=d=>{const g={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};return d.data&&d.data.map(function(e,r){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{key:r,className:g[e]&&g[e].class},e)})},formatHomeWorkStatusToName=d=>({[-1]:"\u91CD\u505A\u4E2D",0:"\u672A\u5F00\u542F",1:"\u672A\u901A\u5173",2:"\u6309\u65F6\u901A\u5173"})[d]||"\u8FDF\u4EA4\u901A\u5173",HomeWorkListStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r==null?void 0:r[d.status])==null?void 0:g.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunListStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r==null?void 0:r[d.status])==null?void 0:g.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkDetailStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(g=r==null?void 0:r[d.status])==null?void 0:g.color,borderRadius:"20px",width:"65px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunDetailStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red",color:"#d4443d"},5:{name:"\u622A\u6B62\u540E\u8BC4\u6D4B",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(g=r==null?void 0:r[d.status])==null?void 0:g.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkCommonDetailStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-black",color:"#999999"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black",color:"#999999"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green",color:"#57be40"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(g=r==null?void 0:r[d.status])==null?void 0:g.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},StatusGraduationProjectTags=d=>{const{status:g}=d,e={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:e[g].class},e[g].name)}catch(r){console.log("utils.StatusGraduationProjectTags",d.status)}},ExerciseStatus={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u96C6\u4E2D\u9605\u5377",99:"\u6A21\u62DF\u8003\u8BD5\u4E2D"},PollsStatus={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u672A\u5F00\u59CB"},StatusClassroomsTags=d=>{let g={\u6A21\u62DF\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-pink ml10"},\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10soft"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10soft"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-c5d6ff ml10soft"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10soft"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10soft"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"},\u5BFC\u5165:{class:"export ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};const e={\u672A\u53D1\u5E03:{class:"tag-style bg-C6CED6 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-C1E2FF ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u5DF2\u622A\u6B62:{class:"tag-style bg-E53333 ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-44D7B6 ml10soft"}};d.temporary&&(g=__spreadValues(__spreadValues({},g),e));const r=[];d.is_random&&r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{d.status&&d.status.map((i,l)=>{r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:(d==null?void 0:d.style)||[],key:l,className:g[i]&&g[i].class},i))})}catch(i){console.log("utils.status.tag:",i,d.status)}return r},exerciseTips=(d,g)=>{if(d===5||g)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style ml5"},"\u96C6\u4E2D\u9605\u5377");if(d===1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style ml5"},"\u672A\u5F00\u59CB");if(d===2)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style ml5"},"\u8003\u8BD5\u4E2D");if(d===3||d===4)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style ml5"},"\u5DF2\u622A\u6B62");if(d===-1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"export ml5"},"\u5BFC\u5165")},WorkStatus=d=>{var g,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r[d.status])==null?void 0:g.class},(e=r[d.status])==null?void 0:e.name)},CommonWorkStatus=d=>{var g,e;const r={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"},3:{name:"\u90E8\u5206\u63D0\u4EA4",class:"c-green"},4:{name:`\u6309\u65F6\u63D0\u4EA4${d!=null&&d.lineBreak?`
|
|
|
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-green"},5:{name:`\u672A\u63D0\u4EA4${d!=null&&d.lineBreak?`
|
|
|
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-black"},6:{name:"\u6309\u65F6\u63D0\u4EA4\uFF08\u7EBF\u4E0B\uFF09",class:"c-green"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(g=r[d.status])==null?void 0:g.class},(e=r[d.status])==null?void 0:e.name)},timego=d=>{d=new Date(d).getTime();let g=1e3*60,e=g*60,r=e*24,i="",c=new Date().getTime()-d;if(c<0)return console.log("\u65F6\u95F4\u4E0D\u5BF9\u52B2,\u670D\u52A1\u5668\u521B\u5EFA\u65F6\u95F4\u4E0E\u5F53\u524D\u65F6\u95F4\u4E0D\u540C\u6B65"),i="\u521A\u521A";let f=parseInt(c/r,10),s=parseInt(c/e,10),h=parseInt(c/g,10);return f>30?i=""+timeformat(d,"yyyy-MM-dd"):f>1?i=""+f+"\u5929\u524D":f==1?i="\u6628\u5929":s>=1?i=""+s+"\u5C0F\u65F6\u524D":h>=5?i=""+h+"\u5206\u949F\u524D":i="\u521A\u521A",i};function replaceParamVal(paramName,replaceWith){var oUrl=window.location.href.toString(),re=eval("/("+paramName+"=)([^&]*)/gi"),nUrl=oUrl.replace(re,paramName+"="+replaceWith);window.history.replaceState(null,"",nUrl)}const timeformat=(d,g)=>{typeof d=="string"&&(d.indexOf("T")>=0&&(d=d.replace("T"," ")),d=new Date(Date.parse(d.replace(/-/g,"/")))),d=new Date(d);let e={"M+":d.getMonth()+1,"d+":d.getDate(),"h+":d.getHours(),"m+":d.getMinutes(),"s+":d.getSeconds(),"q+":Math.floor((d.getMonth()+3)/3),S:d.getMilliseconds()},r=[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]];/(y+)/.test(g)&&(g=g.replace(RegExp.$1,(d.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(g)&&(g=g.replace(RegExp.$1,r[RegExp.$1.length-1][d.getDay()]));for(let i in e)new RegExp("("+i+")").test(g)&&(g=g.replace(RegExp.$1,RegExp.$1.length==1?e[i]:("00"+e[i]).substr((""+e[i]).length)));return g},toTimeFormat=d=>{if(!d||d<0)return"0\u79D2";console.log("time:",d);let g=60,e=g*60,r=e*24,i=d/r,l=d/e,c=d/g,f=d%60;return i>=1?parseInt(i.toString())+"\u5929"+Math.floor(l%24)+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":l>1?parseInt(l.toString())+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":c>=1?parseInt(c.toString())+"\u5206"+Math.floor(d%60)+"\u79D2":Math.ceil(d)+"\u79D2"},validateLength=(d="",g=100)=>{let e=0;if(d){e=d.length;for(let r=0;r<e;r++){let i=d.charCodeAt(r);i>=55296&&i<=56319&&(e--,r++)}}return e<=g};function buildTree(d,g){const e={};let r=null;return d.forEach(i=>{e[i.properties.uuid]=__spreadProps(__spreadValues({},i),{children:[]})}),g.forEach(i=>{const l=e[i.startNodeUuid],c=e[i.endNodeUuid];l&&c&&l.children.push(c)}),d.forEach(i=>{!g.some(c=>c.endNodeUuid===i.properties.uuid)&&(r=e[i.properties.uuid])}),r}const handleValidatorNickName=(d,g,e)=>{if(g){let r=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(g),c=r.test(g);(l===!0||c===!0||g.length<2||g.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}e()},handleValidatorName=(d,g,e)=>{if(g){let r=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]~!@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(g),c=r.test(g);(l===!0||c===!0||g.length<2||g.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}e()},getHiddenName=d=>{if(!d)return"";let g=d.length-1,e="";for(var r=0;r<g;r++)e+="*";return d.substr(0,1)+e},getBase64=(d,g)=>{const e=new FileReader;e.addEventListener("load",()=>g(e.result)),e.readAsDataURL(d)},getFileContentAndUrl=d=>new Promise((g,e)=>{var r=new FileReader;r.onload=function(){try{const i=window.URL.createObjectURL(d);g({text:this.result,link:i})}catch(i){antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9"),e("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9")}},r.readAsText(d)});function setmiyah(d){return md5__WEBPACK_IMPORTED_MODULE_6___default()("79e33abd4b6588941ab7622aed1e67e8"+d)}const getCookie=d=>{var g,e=RegExp("(^| )"+d+"=([^;]+)(;|$)");return(g=document.cookie.match(e))?decodeURIComponent(g[2]):null};function setCookie(d,g,e){var r=new Date;r.setTime(r.getTime()+e*24*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=d+"="+g+"; "+i+`;domain=${document.domain.indexOf("educoder.net")>-1?".educoder.net":document.domain};path=/;SameSite=None;secure`}const delCookie=d=>{document.cookie=d+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;"},clearAllCookies=()=>{for(var d=document.cookie.split(";"),g=0;g<d.length;g++){var e=d[g],r=e.indexOf("="),i=r>-1?e.substr(0,r):e;document.cookie=i+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT"}};function downLoadLink(d,g){let e=document.createElement("a");document.body.appendChild(e),e.href=g,d&&(e.title=d,e.download=d);let r=document.createEvent("MouseEvents");r.initEvent("click",!1,!1),e.dispatchEvent(r),document.body.removeChild(e)}function getFirstLevelDomain(){var d=window.location.hostname,g=d.split(".").reverse();return g.length>2?[g[1],g[0]].join("."):d}function getBlob(d){return new Promise(g=>{const e=new window.XMLHttpRequest;(d.indexOf(getFirstLevelDomain())>-1||location.hostname==="localhost"&&d.indexOf("/api/")>-1)&&(e.withCredentials=!0),e.open("GET",d,!0),e.responseType="blob",e.onload=()=>{e.status===200&&g(e.response)},e.send()})}function saveAs(d,g){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(d,g);else{const e=document.createElement("a"),r=document.querySelector("body");e.href=window.URL.createObjectURL(d),e.download=g,e.style.display="none",r.appendChild(e),e.click(),r.removeChild(e),window.URL.revokeObjectURL(e.href)}}function download(d,g){getBlob(d).then(e=>{saveAs(e,g)})}function downLoadFileIframe(d,g){return new Promise((e,r)=>{var i=g,l=document.createElement("iframe"),c;document.body.appendChild(l),l.src=i,l.style.display="none",l.addEventListener("load",function(){setTimeout(()=>{document.body.removeChild(l)},1e3)},!0),c=setInterval(()=>{getCookie("fileDownload")&&(delCookie("fileDownload"),clearInterval(c),document.body.removeChild(l),e())},1e3)})}function downLoadFile(d,g){downLoadLink(d,g)}const setUrlQuery=d=>{let{url:g,query:e}=d;if(!g)return"";if(e){let r=[];for(const i in e)e.hasOwnProperty(i)&&!isUnOrNull(e[i])&&(typeof e[i]=="object"?e[i].map(l=>{r.push(`${i}[]=${l}`)}):r.push(`${i}=${e[i]}`));g.indexOf("?")!==-1?g=`${g}&${r.join("&")}`:g=`${g}?${r.join("&")}`,console.log("url1111",g)}return g};function isPc(){let d=navigator.userAgent,g=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],e=!0;for(var r=0;r<g.length;r++)if(d.indexOf(g[r])>0){e=!1;break}return e}function isChrome(){let d=navigator.userAgent;return["Chrome"].some(e=>d.indexOf(e)>-1)}function isFirefox(){let d=navigator.userAgent;return["Firefox"].some(e=>d.indexOf(e)>-1)}function isChromeOrFirefox(){let d=navigator.userAgent;return["Chrome","Firefox"].some(e=>d.indexOf(e)>-1)}const formatMoney=(d="")=>{var g;return(g=d==null?void 0:d.toString())==null?void 0:g.replace(/\B(?=(\d{3})+(?!\d))/g,",")},openNewWindow=d=>{let g=document.createElement("a");g.target="_blank",document.body.appendChild(g),g.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),g.dispatchEvent(e),document.body.removeChild(g)},openNewWindows=d=>{let g=document.createElement("a");document.body.appendChild(g),g.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),g.dispatchEvent(e),document.body.removeChild(g)},formatTextMiddleIntercept=(d="")=>d.length<=6?d:`${d.substring(0,3)}...${d.substring(d.length-3,d.length)}`,HalfPastOne=()=>{let d=new Date().getHours(),g=new Date().getMinutes();return g>=30?(d++,g="00"):g="30",d+":"+g},DayHalfPastOne=(d="-")=>{let g=new Date().getHours(),e=new Date().getMinutes();return e>=30?(g++,e="00"):e="30",new Date().toLocaleDateString().replace(/\//g,d)+" "+g+":"+e};var Type=(d=>(d.Number="Number",d.String="String",d.Boolean="Boolean",d.Object="Object",d.Array="Array",d.Function="Function",d))(Type||{});const type=d=>{const g=Object.prototype.toString.call(d);return g.substring(8,g.length-1)},isEmpty=d=>type(d)==="Array"?d.length===0:type(d)==="Object"?Object.keys(d).length===0:!d,rangeNumber=(d,g)=>{const e=[];for(let r=d;r<g;r++)e.push(r);return e},middleEllipsis=(d,g=12)=>{let e=g/2-2,r=g/2+3;return d.length>g?d.substr(0,e)+"..."+d.substr(r,g):d},formatRate=d=>d>4.5?5:d>4&&d<=4.5?4.5:d>3.5&&d<=4?4:d>3&&d<=3.5?3.5:d>2.5&&d<=3?3:d>2&&d<=2.5?2.5:d>1.5&&d<=2?2:d>1&&d<=1.5?1.5:d>.5&&d<=1?1:d>0&&d<=.5?.5:0,isUnOrNull=d=>d==null;function getUrlToken(d,g){const e=new RegExp(`(^|&)${d}=([^&]*)(&|$)`,"i"),r=g.substr(1).match(e);return r!=null?decodeURIComponent(r[2]):null}const getMessagesUrl=d=>{var g,e,r;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"AppliedProject":const{globalSetting:i}=(0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.getState();return d.tiding_type==="Apply"?window.open(((g=i==null?void 0:i.setting)==null?void 0:g.old_url)+"/projects/"+(d==null?void 0:d.project_url)+"/setting/audit"):d.tiding_type==="System"&&(d==null?void 0:d.status)==1?window.open(((e=i==null?void 0:i.setting)==null?void 0:e.old_url)+"/projects/"+(d==null?void 0:d.project_url)+"/about"):void 0;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/${(r=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:r.login}/videos`):"";case"PublicCourseStart":return window.open(`/classrooms/${d.container_id}/informs`);case"SubjectStartCourse":return window.open(`/paths/${d.container_id}`);case"ResubmitStudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/${d.container_id}/appraise`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/${d.container_id}/appraise`);case"AdjustScore":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}`);case"LiveLink":return window.open(`/classrooms/${d.belong_container_id}/course_videos?open=live`);case"Hack":if(d.extra&&d.parent_container_type!=="HackDelete")return window.open(`/problems/${d.extra}/edit`);default:return}},checkLocalOrPublicIp=(d,g)=>__async(void 0,null,function*(){let e="",r;return new Promise((i,l)=>__async(void 0,null,function*(){if(d.ip_limit!=="no"||d.ip_bind_type)try{e=yield(0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__.y)({ip_limit:d==null?void 0:d.ip_limit,ip_bind:d==null?void 0:d.ip_bind_type}),console.log(e,44)}catch(f){l(void 0)}const c=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Cl)({id:d.exerciseId,ip:e});if(c.status===0)i(c);else if(c.status===-5){(0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:{errorMessage:c==null?void 0:c.message,exercise_user_id:d==null?void 0:d.exercise_user_id,id:d.exerciseId,unlockClose:d.unlockClose}}});return}else i(c);if(d.errmsgHide||g)return!0;if(c.status===-1)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01"),okText:"\u6211\u77E5\u9053\u4E86"}),!1;if(c.status===-2)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},c.ip),"\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"),okText:"\u6211\u77E5\u9053\u4E86"}),!1}))}),checkDisabledExam=d=>new Promise((g,e)=>__async(void 0,null,function*(){const r=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Zg)({id:d==null?void 0:d.exerciseId,coursesId:d==null?void 0:d.coursesId});if((r==null?void 0:r.status)===0){g("");return}setTimeout(()=>{window.location.reload()},2e3),e("")})),isKepuKehuan=()=>location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1,startExercise=d=>__async(void 0,null,function*(){var g,e,r;sessionStorage.removeItem("studentunlock");let i;if((location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1)&&!isPc()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({content:"\u8BF7\u4F7F\u7528\u7535\u8111\u53C2\u52A0\u8003\u8BD5\uFF01"});return}if(copyTextFuc(" ",!0),yield checkDisabledExam(d),d.ip_limit!=="no"||d.ip_bind){const l=yield checkLocalOrPublicIp(d,!0);if((l==null?void 0:l.status)!==0)return;if(!isChrome()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")});return}}if(d.forbid_screen){const l=new WebSocket("ws://localhost:8082");yield new Promise(c=>setTimeout(()=>c(),200)),sendAppStatus(l,d)}if(d.open_camera||d.screen_open||d.ip_limit!=="no"||d.identity_verify){if(!isChromeOrFirefox())return antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")}),!1;d.open_phone_video_recording?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(g=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:g.login}/check`:d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(e=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:e.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(r=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:r.login}`}else d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}`});var httpBuildQuery=function(d,g,e,r){if(console.log("param:",d),g=g||null,e=e||"&",r=r||null,!d)return"";var i=function(s){for(var h=new Array,u=0;u<s.length;u++)s[u]&&h.push(s[u]);return h},l=function(s){return encodeURIComponent(s).replace(/[!'()*]/g,escape)},c=function(s){return!isNaN(parseFloat(s))&&isFinite(s)},f=Object.keys(d).map(function(s){var h,u=s;if(typeof d[s]=="object"&&d[s]!==null)h=httpBuildQuery(d[s],null);else{g&&(u=c(u)?g+Number(u):u);var a=d[s];a=a===!0?"1":a,a=a===!1?"0":a,a=a===0?"0":a,a=a||"",h=u+"="+a}return h});return i(f).join(e).replace(/[!'()*]/g,escape)};const parseParamsStr=(d,g)=>{const e={},r=Object.assign(!0,d,{}),i=[];return Object.keys(r).sort().forEach(function(l){if(r[l]=r[l]===!0?"true":r[l],r[l]=r[l]===!1?"false":r[l],g==="GET"){if(r[l]!==null){if(typeof r[l]=="object"&&(!Array.isArray(r[l])||Array.isArray(r[l])&&!r[l].length))return;const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?decodeURIComponent(c):JSON.stringify(c)}`)}}else{const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?c:JSON.stringify(c)}`),r[l],e[l]=r[l]}}),i.join("&").trim()},educationList=[{name:"\u672C\u79D1",id:6},{name:"\u5927\u4E13",id:5},{name:"\u4E2D\u4E13",id:4},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8}];function getTopLevelDomain(){let d=window.location.hostname;if(/^\d+\.\d+\.\d+\.\d+$/.test(d)||d==="localhost")return d;let g=d.split(".");return g.length>2&&/^[a-z]{2}$/.test(g[g.length-2])?g.slice(-3).join("."):g.slice(-2).join(".")}const setHeader=(d,g)=>{var e;try{const r=Date.now();let i="method="+((e=d.method)==null?void 0:e.toLocaleUpperCase())+"&ak="+getKey(_key__WEBPACK_IMPORTED_MODULE_18__.mi)+"&sk="+getKey(_key__WEBPACK_IMPORTED_MODULE_18__.hw)+"&time="+r;return d.headers["X-EDU-Type"]="pc",d.headers["X-EDU-Timestamp"]=r,d.headers["X-EDU-Signature"]=md5__WEBPACK_IMPORTED_MODULE_6___default()(window.btoa(i)),d.headers["Pc-Authorization"]=getCookie("_educoder_session"),d}catch(r){console.log("error:",r,d,g)}},setThreeComponent=()=>{(function(d){XMLHttpRequest.prototype.open=function(g,e,r=!0){const i=setHeader({method:g,headers:{}});d.call(this,g,e,r);try{e.indexOf(getTopLevelDomain())>-1&&(this.setRequestHeader("X-EDU-Type","pc"),this.setRequestHeader("X-EDU-Timestamps",i.headers["X-EDU-Timestamp"]),this.setRequestHeader("X-EDU-Signatures",i.headers["X-EDU-Signature"]),this.setRequestHeader("Pc-Authorization",getCookie("_educoder_session")))}catch(l){}}})(XMLHttpRequest.prototype.open),function(d){window.fetch=function(g,e){var r;return e=e||{},(r=e.headers)!=null&&r["X-EDU-Timestamp"]||setHeader(e),d.apply(this,arguments).then(function(i){return i})}}(window.fetch)},parseUrl=d=>{const g=/(\w+)=([^\#&]*)/gi,e={};return d.replace(g,function(r,i,l){e[i]=decodeURI(l)}),e},messageInfo=(d,g)=>{const r={1:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6682\u672A\u53D1\u5E03\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",2:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u4E0D\u5B58\u5728\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",3:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",4:`\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E${g}\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002`}[d];antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning(r)},base64ToBlob=(d,g)=>{var e;const r=window.atob(d),i=r.length,l=new Uint8Array(i);for(let c=0;c<i;++c)l[c]=r.charCodeAt(c);return new Blob([l],{type:_contentType__WEBPACK_IMPORTED_MODULE_4__.F[(e=g.split("."))==null?void 0:e[1]]||"application/octet-stream"})},downloadFile=(d,g,e)=>{const r=base64ToBlob(g,e);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r,d);else{const i=document.createElement("a");i.href=window.URL.createObjectURL(r),i.download=d,document.body.appendChild(i);const l=document.createEvent("MouseEvents");l.initEvent("click",!1,!1),i.dispatchEvent(l),document.body.removeChild(i)}},trackEvent=d=>{var g;if(d.length)try{window._czc.push(["_trackEvent",...d]),window==null||window.gtag("event",d[1],{event_category:d[0],event_label:d[2]||"",value:d[3]||"",user_id:((g=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:g.login)||""})}catch(e){console.log("trackEvent:err:",e)}},trackEventCustom=d=>{if(d.length)try{window._czc.push(["_setCustomVar",...d])}catch(g){console.log("trackEvent:err:",g)}},onPreviewImage=d=>{const g=(i,l)=>{if(i.localName===l)return i;for(let c=0,f=i;f=f.parentNode;c++){if(f.localName===l)return f;if(f==document.documentElement)return!1}},e=d.target,r=g(e,"a");if(!(r!=null&&r.href)&&e.tagName.toUpperCase()==="IMG"){let i=e.src||e.getAttribute("src");i&&i.indexOf("/images/avatars/User")===-1&&(d.stopPropagation(),d.preventDefault(),_components_mediator__WEBPACK_IMPORTED_MODULE_8__.Z.publish("preview-image",i))}},getCategoryName=(d,g)=>{var e,r,i,l;if(d&&d!=""){let c=(e=d==null?void 0:d.filter(f=>f.type===location.pathname.split("/")[3]))==null?void 0:e[0];return g?(l=(i=(r=c==null?void 0:c.second_category)==null?void 0:r.filter(f=>f.category_id==g))==null?void 0:i[0])==null?void 0:l.category_name:c==null?void 0:c.name}return null},bindPhone=d=>{const g=antd__WEBPACK_IMPORTED_MODULE_15__.default.confirm({title:"\u5B8C\u5584\u624B\u673A\u53F7\u7801",content:"\u6309\u7167\u6709\u5173\u653F\u7B56\u89C4\u5B9A\uFF0C\u7279\u6B8A\u5B9E\u9A8C\u9700\u8981\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u624D\u80FD\u4F7F\u7528\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801",okText:"\u7ACB\u5373\u7ED1\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,onOk:()=>{location.href="/account/secure"},onCancel:()=>{g.destroy(),d!=null&&d.onCancel&&d.onCancel()}})},copyTextFuc=(d="",g=!1)=>{const e=document.createElement("textarea");e.value=d,document.body.appendChild(e),e.select(),document.execCommand("Copy"),g||antd__WEBPACK_IMPORTED_MODULE_14__.ZP.success("\u590D\u5236\u6210\u529F"),document.body.removeChild(e)},getJsonFromUrl=d=>{if(d||(d=window.location.search),!d)return{};let g=d.substring(1),e={};return g.split("&").forEach(function(r){let i=r.split("=");e[i[0]]=decodeURIComponent(i[1])}),e},arrTrans=(d,g)=>{if(!g)return null;const e=[];return g.forEach((r,i)=>{const l=Math.floor(i/d);e[l]||(e[l]=[]),e[l].push(r)}),e},setDocumentTitle=d=>{checkIsClientExam()?document.title="\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF":d!==""&&d&&(document.title=d||(document.domain.indexOf(".educoder.net")>-1?"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0":""))},checkIsClientExam=()=>{var d;return(d=window==null?void 0:window.localStorage)==null?void 0:d.isClientExam},localSort={setItem:(d,g,e)=>{const r=d,i=localStorage.getItem(r),l=i!==null&&i!=="[object Object]"?JSON.parse(i):{};l[e]=g,localStorage.setItem(r,JSON.stringify(l))},getItem:(d,g)=>{const e=d,r=localStorage.getItem(e);return(r!==null&&r!=="[object Object]"?JSON.parse(r):{})[g]}},ImgSrcConvert=d=>d!=null&&d.startsWith("http")?d:_env__WEBPACK_IMPORTED_MODULE_7__.Z.IMG_SERVER+d,compareVersion=d=>{const g=getVersion(),e=d.split("."),r=g.split("."),i=Math.max(e.length,r.length);for(;e.length<i;)e.push("0");for(;r.length<i;)r.push("0");for(let l=0;l<i;l++){const c=parseInt(e[l]),f=parseInt(r[l]);if(c>f)return 1;if(c<f)return-1}return 0},getImageUrl=(d,g)=>{d=`${d}${g?","+g:""}`;const e=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().enc.Utf8.parse(window.atob(window.atob(_key__WEBPACK_IMPORTED_MODULE_18__.Bn)).substring(0,16)),r=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().AES.encrypt(d||"",e,{iv:e,mode:crypto_js__WEBPACK_IMPORTED_MODULE_11___default().mode.CBC});return window.btoa(r.toString())},getVersion=()=>{const g=navigator.userAgent.toLowerCase().match(/version\/[\d.]+/gi);return g&&g[0].replace(/version\//,"")},isLocalApp=()=>navigator.userAgent.indexOf("ExerciseApp")>-1;function randomArray(d,g){let e=d.length,r,i;g=g||1;let l=function(){var c=Math.sin(g++)*1e3;return c-Math.floor(c)};for(;e!==0;)i=Math.floor(l()*e),e-=1,r=d[e],d[e]=d[i],d[i]=r;return d}function pointerEvents(d){const g=document.getElementsByTagName("iframe");for(let r=0;r<g.length;r++)g[r].style["pointer-events"]=d;const e=document.getElementsByTagName("canvas");for(let r=0;r<e.length;r++)e[r].style["pointer-events"]=d}const toDataUrl=d=>new Promise((g,e)=>{var r=new XMLHttpRequest;r.withCredentials=!0,r.onload=function(){var i=new FileReader;i.onloadend=function(){g(i.result)},i.readAsDataURL(r.response)},r.open("GET",d),r.responseType="blob",r.send()}),vtrsKey=(_b=(_a=location==null?void 0:location.pathname)==null?void 0:_a.split("/"))==null?void 0:_b[1];function scrollToTop(){window.scrollTo({left:0,top:0,behavior:"smooth"})}function domScrollToTop(d){var g;(g=document.querySelector(d))==null||g.scrollTo({left:0,top:0,behavior:"smooth"})}function dealUploadChange(d){var g,e,r,i,l;const c=(g=d.fileList)==null?void 0:g.map(f=>{var s,h;return __spreadProps(__spreadValues({},f),{status:typeof(f==null?void 0:f.response)=="string"||((s=f==null?void 0:f.response)==null?void 0:s.status)===-1?"error":f.status,response:typeof(f==null?void 0:f.response)=="string"?f==null?void 0:f.response:f!=null&&f.response&&(f==null?void 0:f.response.status)===-1?(h=f==null?void 0:f.response)==null?void 0:h.message:f==null?void 0:f.response})});return((r=(e=d.file)==null?void 0:e.response)==null?void 0:r.status)===-1&&(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.destroy(),antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning((l=(i=d.file)==null?void 0:i.response)==null?void 0:l.message)),c}function cutFileName(d="",g){if(!d)return"";const e=d.lastIndexOf(".");let r=[d,""];if(e!==-1&&e!==d.length-1){const i=d.substring(0,e),l=d.substring(e+1);r=[i,l]}return r[0].length>g?r[0].slice(0,g)+"..."+r[1]:d}function cutName(d="",g,e="--"){return d?(d==null?void 0:d.length)>=g?(d==null?void 0:d.slice(0,g))+"...":d:e}function timeContrast(d){return d?moment__WEBPACK_IMPORTED_MODULE_12___default()().isBefore(moment__WEBPACK_IMPORTED_MODULE_12___default()(d)):!0}function showTotal(d){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"font14 c-grey-333"},"\u5171",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-light-primary"},"\xA0",d,"\xA0"),"\u6761\u6570\u636E")}const formatRandomPaperData=d=>{const g={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:e,single_questions:r,multiple_questions:i,judgement_questions:l,program_questions:c,completion_questions:f,subjective_questions:s,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"},s),__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,R)=>{var L;return(L=S.questions)==null||L.forEach(T=>{p.push(T.id),y=y+T.score,_=_+1}),__spreadValues(__spreadValues({},S),{number:g[R+1]})});return{all_questions_count:_,all_score:y,questionList:b,ids:p,exam:e}},formatRandomPaperDatas=d=>{var g;const e={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:r,single_questions:i,multiple_questions:l,judgement_questions:c,program_questions:f,completion_questions:s,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"},s),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},c),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},h),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},f),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},x),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},u),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},a)];let y=[];(g=r==null?void 0:r.question_type_position)==null||g.map((L,T)=>{p==null||p.map((D,B)=>{L.type===D.type&&y.push(D)})});const _=[];let b=0,S=0;const R=y.filter(L=>L.questions_count>0).map((L,T)=>{var D;return(D=L.questions)==null||D.forEach(B=>{_.push(B.id),b=b+B.score,S=S+1}),__spreadValues(__spreadValues({},L),{number:e[T+1]})});return{all_questions_count:S,all_score:b,questionList:R,ids:_,exam:r}},isWechatBrowser=()=>navigator.userAgent.toLowerCase().match(/MicroMessenger/i)=="micromessenger",toWechatLogin=()=>{isWechatBrowser()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx0955caba88bc37eb&redirect_uri=https%3A%2F%2Fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":window.location.href="/wxlogin.html"},isMobileDevice=()=>typeof window.orientation!="undefined"||navigator.userAgent.indexOf("Mobi")!==-1,sendAppStatus=(d,g)=>{var e;try{g?(d.send(JSON.stringify({type:"toggleLockExit",data:!0})),g!=null&&g.forbid_screen&&d.send(JSON.stringify({type:"open-disabled-switchscreen"})),g!=null&&g.use_white_list&&d.send(JSON.stringify({type:"open-only-allow-runapp",data:g==null?void 0:g.white_list})),g!=null&&g.net_limit&&d.send(JSON.stringify({type:"network-close",data:(e=g==null?void 0:g.net_limit_list)==null?void 0:e.split(`
|
|
|
`)}))):(d.send(JSON.stringify({type:"toggleLockExit",data:!1})),d.send(JSON.stringify({type:"close-disabled-switchscreen"})),d.send(JSON.stringify({type:"close-only-allow-runapp"})),d.send(JSON.stringify({type:"network-open"})))}catch(r){}},addJumping=()=>{const d=document.querySelector('a[title="\u589E\u52A0\u586B\u7A7A"]'),g=d==null?void 0:d.querySelector("span");g&&(g.classList.remove("jumping-icon"),g.offsetWidth,g.classList.add("jumping-icon"),setTimeout(()=>{var e;(e=g==null?void 0:g.classList)==null||e.remove("jumping-icon")},2e3))},showClassroomsmodal=d=>d!=null&&d.forbid_student_visit?(antd__WEBPACK_IMPORTED_MODULE_15__.default.warning({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{fontWeight:600}},d==null?void 0:d.username,"\u8001\u5E08 "),"\u5DF2\u5173\u95ED\u8BE5\u8BFE\u5802\uFF0C\u5B66\u751F\u7528\u6237\u6682\u65F6\u65E0\u6CD5\u8BBF\u95EE ")}),!0):!1,getExamRestrictionInfo=d=>{const g=[];return d.is_locked&&g.push("\u8003\u8BD5\u89E3\u9501\u7801"),d.login_restrict&&g.push("\u8003\u8BD5\u767B\u5F55\u9650\u5236"),d.screen_open&&g.push("\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"),d.ip_bind&&g.push("IP\u5730\u5740\u7ED1\u5B9A"),(d.ip_limit==="pub"||d.ip_limit==="inner")&&g.push("\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP"),d.open_camera&&g.push("\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790"),d.identity_verify&&g.push("\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C"),d.open_phone_video_recording&&g.push("\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"),g.length>0?g.join("\u3001"):""},releaseRuleDataAdjust=d=>{const g=d.reduce((r,i)=>{const l=`${i.publish_time}_${i.end_time}_${i.is_admin}`;return r[l]?(r[l].group_name.push(i.group_name),r[l].group_id.push(i.group_id)):r[l]={publish_time:i.publish_time,end_time:i.end_time,is_admin:i.is_admin,group_name:[i.group_name],group_id:[i.group_id]},r},{});return Object.values(g).map(r=>__spreadProps(__spreadValues({},r),{group_name:r.group_name.flat(),group_id:r.group_id.flat()}))},showInstallWebRtcDoc=()=>new Promise((d,g)=>__async(void 0,null,function*(){const e=yield(0,_utils_fetch__WEBPACK_IMPORTED_MODULE_10__.ZP)("/api/documents/webrtc_content",{method:"get"});antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:"WebRTC\u63D2\u4EF6\u5B89\u88C5\u6559\u7A0B",width:"1000px",centered:!0,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:{maxHeight:"70vh",overflow:"auto"}},react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__.Z,{value:(e==null?void 0:e.data)||""}))}),d(e==null?void 0:e.data)}));function copyToClipboard(d){return navigator.clipboard?navigator.clipboard.writeText(d).then(()=>(console.log("Text copied to clipboard successfully!"),!0)).catch(g=>{throw console.error("Failed to copy text: ",g),g}):new Promise((g,e)=>{const r=document.createElement("textarea");r.value=d,document.body.appendChild(r),r.select();try{const i=document.execCommand("copy");document.body.removeChild(r),i?(console.log("Text copied to clipboard successfully!"),g(!0)):(console.error("Failed to copy text using execCommand."),e(!1))}catch(i){document.body.removeChild(r),console.error("Failed to copy text: ",i),e(i)}})}const isArrayBuffer=d=>Object.prototype.toString.call(d)==="[object ArrayBuffer]",parseArrayBufferAsText=(d,g="utf-8")=>isArrayBuffer(d)?new TextDecoder(g).decode(d):d},74976:function(d,g,e){"use strict";e.d(g,{t:function(){return r}});const r=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;return c.test(l)},i=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/;return c.test(l)}},9981:function(d,g,e){"use strict";e.d(g,{Il:function(){return f},Ov:function(){return s},T$:function(){return u}});var r=e(38127),i=e(59301),l=e(35338),c=["element"],f=i.createContext({});function s(){return i.useContext(f)}function h(){var y=(0,l.TH)(),_=s(),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,R=(0,r.Z)(b,c);return R}function a(){var y=h(),_=s(),b=_.serverLoaderData,S=_.basename,R=React.useState(function(){var B={},$=!1;return y.forEach(function(U){var V=b[U.route.id];V&&(Object.assign(B,V),$=!0)}),$?B:void 0}),L=_slicedToArray(R,2),T=L[0],D=L[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(y.filter(function(B){return B.route.hasServerLoader}).map(function(B){return new Promise(function($){fetchServerLoader({id:B.route.id,basename:S,cb:$})})})).then(function(B){if(B.length){var $={};B.forEach(function(U){Object.assign($,U)}),D($)}})},[]),{data:T}}function x(){var y=useRouteData(),_=s();return{data:_.clientLoaderData[y.route.id]}}function p(){var y=a(),_=x();return{data:_objectSpread(_objectSpread({},y.data),_.data)}}},91392:function(d){var g={en_GB:"en-gb",en_US:"en",zh_CN:"zh-cn",zh_TW:"zh-tw"},e=function(i){var l=g[i];return l||i.split("_")[0]};d.exports=function(r,i,l){var c=i.prototype.locale;i.prototype.locale=function(f){return typeof f=="string"&&(f=e(f)),c.call(this,f)}}},92806:function(d,g,e){"use strict";var r=e(41799),i=e(59301),l=e(3113),c=e(67797);function f(h){return!!(h&&h.then)}const s=h=>{const{type:u,children:a,prefixCls:x,buttonProps:p,close:y,autoFocus:_,emitEvent:b,isSilent:S,quitOnNullishReturnValue:R,actionFn:L}=h,T=i.useRef(!1),D=i.useRef(null),[B,$]=(0,r.Z)(!1),U=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let G=null;return _&&(G=setTimeout(()=>{var oe;(oe=D.current)===null||oe===void 0||oe.focus()})),()=>{G&&clearTimeout(G)}},[]);const V=G=>{f(G)&&($(!0),G.then(function(){$(!1,!0),U.apply(void 0,arguments),T.current=!1},oe=>{if($(!1,!0),T.current=!1,!(S!=null&&S()))return Promise.reject(oe)}))},K=G=>{if(T.current)return;if(T.current=!0,!L){U();return}let oe;if(b){if(oe=L(G),R&&!f(oe)){T.current=!1,U(G);return}}else if(L.length)oe=L(y),T.current=!1;else if(oe=L(),!oe){U();return}V(oe)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:K,loading:B,prefixCls:x},p,{ref:D}),a)};g.Z=s},53487:function(d,g,e){"use strict";e.d(g,{Z:function(){return s},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 s(h,u,a,x){function p(y){const{prefixCls:_,style:b}=y,S=i.useRef(null),[R,L]=i.useState(0),[T,D]=i.useState(0),[B,$]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:U}=i.useContext(c.E_),V=U(u||"select",_);i.useEffect(()=>{if($(!0),typeof ResizeObserver!="undefined"){const G=new ResizeObserver(ae=>{const le=ae[0].target;L(le.offsetHeight+8),D(le.offsetWidth)}),oe=setInterval(()=>{var ae;const le=a?`.${a(V)}`:`.${V}-dropdown`,Q=(ae=S.current)===null||ae===void 0?void 0:ae.querySelector(le);Q&&(clearInterval(oe),G.observe(Q))},10);return()=>{clearInterval(oe),G.disconnect()}}},[]);let K=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:B,visible:B,getPopupContainer:()=>S.current});return x&&(K=x(K)),i.createElement("div",{ref:S,style:{paddingBottom:R,position:"relative",minWidth:T}},i.createElement(h,Object.assign({},K)))}return f(p)}},36785:function(d,g,e){"use strict";e.d(g,{o2:function(){return f},yT:function(){return s}});var r=e(80702),i=e(33166);const l=i.i.map(h=>`${h}-inverse`),c=["success","processing","error","default","warning"];function f(h){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,r.Z)(l),(0,r.Z)(i.i)).includes(h):i.i.includes(h)}function s(h){return c.includes(h)}},47729:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});var r=e(99267),i=e(59301);function l(f,s,h){return typeof f=="boolean"?f:s===void 0?!!h:s!==!1&&s!==null}function c(f,s,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,s,a))return[!1,null];const p=typeof s=="boolean"||s===void 0||s===null?u:s;return[!0,h?h(p):p]}},62892:function(d,g,e){"use strict";e.d(g,{m:function(){return h}});const r=()=>({height:0,opacity:0}),i=u=>{const{scrollHeight:a}=u;return{height:a,opacity:1}},l=u=>({height:u?u.offsetHeight:0}),c=(u,a)=>(a==null?void 0:a.deadline)===!0||a.propertyName==="height",f=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:i,onEnterActive:i,onLeaveStart:l,onLeaveActive:r,onAppearEnd:c,onEnterEnd:c,onLeaveEnd:c,motionDeadline:500}},s=null,h=(u,a,x)=>x!==void 0?x:`${u}-${a}`;g.Z=f},79676:function(d,g,e){"use strict";e.d(g,{Z:function(){return s}});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 s(h){const{arrowWidth:u,autoAdjustOverflow:a,arrowPointAtCenter:x,offset:p,borderRadius:y,visibleFirst:_}=h,b=u/2,S={};return Object.keys(l).forEach(R=>{const L=x&&c[R]||l[R],T=Object.assign(Object.assign({},L),{offset:[0,0]});switch(S[R]=T,f.has(R)&&(T.autoArrow=!1),R){case"top":case"topLeft":case"topRight":T.offset[1]=-b-p;break;case"bottom":case"bottomLeft":case"bottomRight":T.offset[1]=b+p;break;case"left":case"leftTop":case"leftBottom":T.offset[0]=-b-p;break;case"right":case"rightTop":case"rightBottom":T.offset[0]=b+p;break}const D=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(R){case"topLeft":case"bottomLeft":T.offset[0]=-D.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":T.offset[0]=D.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":T.offset[1]=-D.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":T.offset[1]=D.dropdownArrowOffset+b;break}T.overflow=i(R,D,u,a),_&&(T.htmlRegion="visibleFirst")}),S}},92343:function(d,g,e){"use strict";var r;e.d(g,{M2:function(){return c},Tm:function(){return s},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 s(h,u){return f(h,h,u)}},69507:function(d,g,e){"use strict";e.d(g,{ZP:function(){return s},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 R=`screen${_}Max`;if(!(a[S]<=a[R]))throw new Error(`${S}<=${R} fails : !(${a[S]}<=${a[R]})`);const T=`screen${x[y+1].toUpperCase()}Min`;if(!(a[R]<=a[T]))throw new Error(`${R}<=${T} fails : !(${a[R]}<=${a[T]})`)}}),u};function s(){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=L=>{let{matches:T}=L;this.dispatch(Object.assign(Object.assign({},y),{[_]:T}))},R=window.matchMedia(b);R.addListener(S),this.matchHandlers[b]={mql:R,listener:S},S(R)})},responsiveMap:a}},[u])}const h=(u,a)=>{if(a&&typeof a=="object")for(let x=0;x<l.length;x++){const p=l[x];if(u[p]&&a[p]!==void 0)return a[p]}}},14088:function(d,g,e){"use strict";e.d(g,{Z:function(){return oe}});var r=e(92310),i=e.n(r),l=e(8654),c=e(29194),f=e(59301),s=e(36355),h=e(92343),u=e(83116);const a=ae=>{const{componentCls:le,colorPrimary:Q}=ae;return{[le]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${Q})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${ae.motionEaseOutCirc}`,`opacity 2s ${ae.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ae.motionEaseInOut}`,`opacity 0.35s ${ae.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ae=>[a(ae)]),p=e(70425),y=e(16089),_=e(77900),b=e(1585);function S(ae){const le=(ae||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return le&&le[1]&&le[2]&&le[3]?!(le[1]===le[2]&&le[2]===le[3]):!0}function R(ae){return ae&&ae!=="#fff"&&ae!=="#ffffff"&&ae!=="rgb(255, 255, 255)"&&ae!=="rgba(255, 255, 255, 1)"&&S(ae)&&!/rgba\((?:\d*, ){3}0\)/.test(ae)&&ae!=="transparent"}function L(ae){const{borderTopColor:le,borderColor:Q,backgroundColor:J}=getComputedStyle(ae);return R(le)?le:R(Q)?Q:R(J)?J:null}var T=e(4572);function D(ae){return Number.isNaN(ae)?0:ae}const B=ae=>{const{className:le,target:Q,component:J}=ae,Y=f.useRef(null),[ue,ne]=f.useState(null),[ee,ie]=f.useState([]),[F,M]=f.useState(0),[q,de]=f.useState(0),[Ee,Ce]=f.useState(0),[je,Fe]=f.useState(0),[Ft,_t]=f.useState(!1),Pt={left:F,top:q,width:Ee,height:je,borderRadius:ee.map(Jt=>`${Jt}px`).join(" ")};ue&&(Pt["--wave-color"]=ue);function Qt(){const Jt=getComputedStyle(Q);ne(L(Q));const Xe=Jt.position==="static",{borderLeftWidth:It,borderTopWidth:zt}=Jt;M(Xe?Q.offsetLeft:D(-parseFloat(It))),de(Xe?Q.offsetTop:D(-parseFloat(zt))),Ce(Q.offsetWidth),Fe(Q.offsetHeight);const{borderTopLeftRadius:st,borderTopRightRadius:bt,borderBottomLeftRadius:ht,borderBottomRightRadius:Je}=Jt;ie([st,bt,Je,ht].map(Ue=>D(parseFloat(Ue))))}if(f.useEffect(()=>{if(Q){const Jt=(0,y.Z)(()=>{Qt(),_t(!0)});let Xe;return typeof ResizeObserver!="undefined"&&(Xe=new ResizeObserver(Qt),Xe.observe(Q)),()=>{y.Z.cancel(Jt),Xe==null||Xe.disconnect()}}},[]),!Ft)return null;const er=(J==="Checkbox"||J==="Radio")&&(Q==null?void 0:Q.classList.contains(T.A));return f.createElement(_.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(Jt,Xe)=>{var It;if(Xe.deadline||Xe.propertyName==="opacity"){const zt=(It=Y.current)===null||It===void 0?void 0:It.parentElement;(0,b.v)(zt).then(()=>{zt==null||zt.remove()})}return!1}},Jt=>{let{className:Xe}=Jt;return f.createElement("div",{ref:Y,className:i()(le,{"wave-quick":er},Xe),style:Pt})})};var U=(ae,le)=>{var Q;const{component:J}=le;if(J==="Checkbox"&&!(!((Q=ae.querySelector("input"))===null||Q===void 0)&&Q.checked))return;const Y=document.createElement("div");Y.style.position="absolute",Y.style.left="0px",Y.style.top="0px",ae==null||ae.insertBefore(Y,ae==null?void 0:ae.firstChild),(0,b.s)(f.createElement(B,Object.assign({},le,{target:ae})),Y)},V=e(88088);function K(ae,le,Q){const{wave:J}=f.useContext(s.E_),[,Y,ue]=(0,V.Z)(),ne=(0,p.useEvent)(F=>{const M=ae.current;if(J!=null&&J.disabled||!M)return;const q=M.querySelector(`.${T.A}`)||M,{showEffect:de}=J||{};(de||U)(q,{className:le,token:Y,component:Q,event:F,hashId:ue})}),ee=f.useRef();return F=>{y.Z.cancel(ee.current),ee.current=(0,y.Z)(()=>{ne(F)})}}var oe=ae=>{const{children:le,disabled:Q,component:J}=ae,{getPrefixCls:Y}=(0,f.useContext)(s.E_),ue=(0,f.useRef)(null),ne=Y("wave"),[,ee]=x(ne),ie=K(ue,i()(ne,ee),J);if(f.useEffect(()=>{const M=ue.current;if(!M||M.nodeType!==1||Q)return;const q=de=>{!(0,c.Z)(de.target)||!M.getAttribute||M.getAttribute("disabled")||M.disabled||M.className.includes("disabled")||M.className.includes("-leave")||ie(de)};return M.addEventListener("click",q,!0),()=>{M.removeEventListener("click",q,!0)}},[Q]),!f.isValidElement(le))return le!=null?le:null;const F=(0,l.Yr)(le)?(0,l.sQ)(le.ref,ue):ue;return(0,h.Tm)(le,{ref:F})}},4572:function(d,g,e){"use strict";e.d(g,{A:function(){return r}});const r="ant-wave-target"},67797:function(d,g,e){"use strict";e.d(g,{n:function(){return kt},Z:function(){return Yt}});var r=e(59301),i=e(92310),l=e.n(i),c=e(2738),f=e(8654),s=e(14088),h=e(36355),u=e(1684),a=e(19716),x=e(33234),p=e(88088),y=function(Ge,fe){var _e={};for(var Ot in Ge)Object.prototype.hasOwnProperty.call(Ge,Ot)&&fe.indexOf(Ot)<0&&(_e[Ot]=Ge[Ot]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ot=Object.getOwnPropertySymbols(Ge);Pe<Ot.length;Pe++)fe.indexOf(Ot[Pe])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Ot[Pe])&&(_e[Ot[Pe]]=Ge[Ot[Pe]]);return _e};const _=r.createContext(void 0);var S=Ge=>{const{getPrefixCls:fe,direction:_e}=r.useContext(h.E_),{prefixCls:Ot,size:Pe,className:dt}=Ge,Zt=y(Ge,["prefixCls","size","className"]),Tt=fe("btn-group",Ot),[,,ke]=(0,p.Z)();let St="";switch(Pe){case"large":St="lg";break;case"small":St="sm";break;case"middle":case void 0:break;default:}const be=l()(Tt,{[`${Tt}-${St}`]:St,[`${Tt}-rtl`]:_e==="rtl"},dt,ke);return r.createElement(_.Provider,{value:Pe},r.createElement("div",Object.assign({},Zt,{className:be})))},R=e(92343);const L=/^[\u4e00-\u9fa5]{2}$/,T=L.test.bind(L);function D(Ge){return typeof Ge=="string"}function B(Ge){return Ge==="text"||Ge==="link"}function $(Ge,fe){if(Ge==null)return;const _e=fe?" ":"";return typeof Ge!="string"&&typeof Ge!="number"&&D(Ge.type)&&T(Ge.props.children)?(0,R.Tm)(Ge,{children:Ge.props.children.split("").join(_e)}):D(Ge)?T(Ge)?r.createElement("span",null,Ge.split("").join(_e)):r.createElement("span",null,Ge):(0,R.M2)(Ge)?r.createElement("span",null,Ge):Ge}function U(Ge,fe){let _e=!1;const Ot=[];return r.Children.forEach(Ge,Pe=>{const dt=typeof Pe,Zt=dt==="string"||dt==="number";if(_e&&Zt){const Tt=Ot.length-1,ke=Ot[Tt];Ot[Tt]=`${ke}${Pe}`}else Ot.push(Pe);_e=Zt}),r.Children.map(Ot,Pe=>$(Pe,fe))}const V=null,K=null,G=null;var ae=(0,r.forwardRef)((Ge,fe)=>{const{className:_e,style:Ot,children:Pe,prefixCls:dt}=Ge,Zt=l()(`${dt}-icon`,_e);return r.createElement("span",{ref:fe,className:Zt,style:Ot},Pe)}),le=e(58617),Q=e(77900);const J=(0,r.forwardRef)((Ge,fe)=>{let{prefixCls:_e,className:Ot,style:Pe,iconClassName:dt}=Ge;const Zt=l()(`${_e}-loading-icon`,Ot);return r.createElement(ae,{prefixCls:_e,className:Zt,style:Pe,ref:fe},r.createElement(le.Z,{className:dt}))}),Y=()=>({width:0,opacity:0,transform:"scale(0)"}),ue=Ge=>({width:Ge.scrollWidth,opacity:1,transform:"scale(1)"});var ee=Ge=>{const{prefixCls:fe,loading:_e,existIcon:Ot,className:Pe,style:dt}=Ge,Zt=!!_e;return Ot?r.createElement(J,{prefixCls:fe,className:Pe,style:dt}):r.createElement(Q.default,{visible:Zt,motionName:`${fe}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:Y,onAppearActive:ue,onEnterStart:Y,onEnterActive:ue,onLeaveStart:ue,onLeaveActive:Y},(Tt,ke)=>{let{className:St,style:be}=Tt;return r.createElement(J,{prefixCls:fe,className:Pe,style:Object.assign(Object.assign({},dt),be),ref:ke,iconClassName:St})})},ie=e(17313),F=e(37613),M=e(83116);const q=(Ge,fe)=>({[`> span, > ${Ge}`]:{"&:not(:last-child)":{[`&, & > ${Ge}`]:{"&:not(:disabled)":{borderInlineEndColor:fe}}},"&:not(:first-child)":{[`&, & > ${Ge}`]:{"&:not(:disabled)":{borderInlineStartColor:fe}}}}});var Ee=Ge=>{const{componentCls:fe,fontSize:_e,lineWidth:Ot,groupBorderColor:Pe,colorErrorHover:dt}=Ge;return{[`${fe}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${fe}`]:{"&:not(:last-child)":{[`&, & > ${fe}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Ot,[`&, & > ${fe}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[fe]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${fe}-icon-only`]:{fontSize:_e}},q(`${fe}-primary`,Pe),q(`${fe}-danger`,dt)]}};const Ce=Ge=>{const{componentCls:fe,iconCls:_e,fontWeight:Ot}=Ge;return{[fe]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Ot,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${Ge.lineWidth}px ${Ge.lineType} transparent`,cursor:"pointer",transition:`all ${Ge.motionDurationMid} ${Ge.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:Ge.lineHeight,color:Ge.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${fe}-icon`]:{lineHeight:0},[`> ${_e} + span, > span + ${_e}`]:{marginInlineStart:Ge.marginXS},[`&:not(${fe}-icon-only) > ${fe}-icon`]:{[`&${fe}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:Ge.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,ie.Qy)(Ge)),[`&-icon-only${fe}-compact-item`]:{flex:"none"},[`&-compact-item${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Ge.lineWidth,insetInlineStart:-Ge.lineWidth,display:"inline-block",width:Ge.lineWidth,height:`calc(100% + ${Ge.lineWidth*2}px)`,backgroundColor:Ge.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-vertical-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Ge.lineWidth,insetInlineStart:-Ge.lineWidth,display:"inline-block",width:`calc(100% + ${Ge.lineWidth*2}px)`,height:Ge.lineWidth,backgroundColor:Ge.colorPrimaryHover,content:'""'}}}}}}},je=(Ge,fe,_e)=>({[`&:not(:disabled):not(${Ge}-disabled)`]:{"&:hover":fe,"&:active":_e}}),Fe=Ge=>({minWidth:Ge.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Ft=Ge=>({borderRadius:Ge.controlHeight,paddingInlineStart:Ge.controlHeight/2,paddingInlineEnd:Ge.controlHeight/2}),_t=Ge=>({cursor:"not-allowed",borderColor:Ge.borderColorDisabled,color:Ge.colorTextDisabled,backgroundColor:Ge.colorBgContainerDisabled,boxShadow:"none"}),Pt=(Ge,fe,_e,Ot,Pe,dt,Zt,Tt)=>({[`&${Ge}-background-ghost`]:Object.assign(Object.assign({color:_e||void 0,backgroundColor:fe,borderColor:Ot||void 0,boxShadow:"none"},je(Ge,Object.assign({backgroundColor:fe},Zt),Object.assign({backgroundColor:fe},Tt))),{"&:disabled":{cursor:"not-allowed",color:Pe||void 0,borderColor:dt||void 0}})}),Qt=Ge=>({[`&:disabled, &${Ge.componentCls}-disabled`]:Object.assign({},_t(Ge))}),er=Ge=>Object.assign({},Qt(Ge)),Jt=Ge=>({[`&:disabled, &${Ge.componentCls}-disabled`]:{cursor:"not-allowed",color:Ge.colorTextDisabled}}),Xe=Ge=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},er(Ge)),{backgroundColor:Ge.defaultBg,borderColor:Ge.defaultBorderColor,color:Ge.defaultColor,boxShadow:Ge.defaultShadow}),je(Ge.componentCls,{color:Ge.colorPrimaryHover,borderColor:Ge.colorPrimaryHover},{color:Ge.colorPrimaryActive,borderColor:Ge.colorPrimaryActive})),Pt(Ge.componentCls,Ge.ghostBg,Ge.defaultGhostColor,Ge.defaultGhostBorderColor,Ge.colorTextDisabled,Ge.colorBorder)),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:Ge.colorError,borderColor:Ge.colorError},je(Ge.componentCls,{color:Ge.colorErrorHover,borderColor:Ge.colorErrorBorderHover},{color:Ge.colorErrorActive,borderColor:Ge.colorErrorActive})),Pt(Ge.componentCls,Ge.ghostBg,Ge.colorError,Ge.colorError,Ge.colorTextDisabled,Ge.colorBorder)),Qt(Ge))}),It=Ge=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},er(Ge)),{color:Ge.primaryColor,backgroundColor:Ge.colorPrimary,boxShadow:Ge.primaryShadow}),je(Ge.componentCls,{color:Ge.colorTextLightSolid,backgroundColor:Ge.colorPrimaryHover},{color:Ge.colorTextLightSolid,backgroundColor:Ge.colorPrimaryActive})),Pt(Ge.componentCls,Ge.ghostBg,Ge.colorPrimary,Ge.colorPrimary,Ge.colorTextDisabled,Ge.colorBorder,{color:Ge.colorPrimaryHover,borderColor:Ge.colorPrimaryHover},{color:Ge.colorPrimaryActive,borderColor:Ge.colorPrimaryActive})),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:Ge.colorError,boxShadow:Ge.dangerShadow,color:Ge.dangerColor},je(Ge.componentCls,{backgroundColor:Ge.colorErrorHover},{backgroundColor:Ge.colorErrorActive})),Pt(Ge.componentCls,Ge.ghostBg,Ge.colorError,Ge.colorError,Ge.colorTextDisabled,Ge.colorBorder,{color:Ge.colorErrorHover,borderColor:Ge.colorErrorHover},{color:Ge.colorErrorActive,borderColor:Ge.colorErrorActive})),Qt(Ge))}),zt=Ge=>Object.assign(Object.assign({},Xe(Ge)),{borderStyle:"dashed"}),st=Ge=>Object.assign(Object.assign(Object.assign({color:Ge.colorLink},je(Ge.componentCls,{color:Ge.colorLinkHover,backgroundColor:Ge.linkHoverBg},{color:Ge.colorLinkActive})),Jt(Ge)),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ge.colorError},je(Ge.componentCls,{color:Ge.colorErrorHover},{color:Ge.colorErrorActive})),Jt(Ge))}),bt=Ge=>Object.assign(Object.assign(Object.assign({},je(Ge.componentCls,{color:Ge.colorText,backgroundColor:Ge.textHoverBg},{color:Ge.colorText,backgroundColor:Ge.colorBgTextActive})),Jt(Ge)),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ge.colorError},Jt(Ge)),je(Ge.componentCls,{color:Ge.colorErrorHover,backgroundColor:Ge.colorErrorBg},{color:Ge.colorErrorHover,backgroundColor:Ge.colorErrorBg}))}),ht=Ge=>{const{componentCls:fe}=Ge;return{[`${fe}-default`]:Xe(Ge),[`${fe}-primary`]:It(Ge),[`${fe}-dashed`]:zt(Ge),[`${fe}-link`]:st(Ge),[`${fe}-text`]:bt(Ge),[`${fe}-ghost`]:Pt(Ge.componentCls,Ge.ghostBg,Ge.colorBgContainer,Ge.colorBgContainer,Ge.colorTextDisabled,Ge.colorBorder)}},Je=function(Ge){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:_e,controlHeight:Ot,fontSize:Pe,lineHeight:dt,lineWidth:Zt,borderRadius:Tt,buttonPaddingHorizontal:ke,iconCls:St}=Ge,be=Math.max(0,(Ot-Pe*dt)/2-Zt),Ke=`${_e}-icon-only`;return[{[`${_e}${fe}`]:{fontSize:Pe,height:Ot,padding:`${be}px ${ke}px`,borderRadius:Tt,[`&${Ke}`]:{width:Ot,paddingInlineStart:0,paddingInlineEnd:0,[`&${_e}-round`]:{width:"auto"},[St]:{fontSize:Ge.buttonIconOnlyFontSize}},[`&${_e}-loading`]:{opacity:Ge.opacityLoading,cursor:"default"},[`${_e}-loading-icon`]:{transition:`width ${Ge.motionDurationSlow} ${Ge.motionEaseInOut}, opacity ${Ge.motionDurationSlow} ${Ge.motionEaseInOut}`}}},{[`${_e}${_e}-circle${fe}`]:Fe(Ge)},{[`${_e}${_e}-round${fe}`]:Ft(Ge)}]},Ue=Ge=>Je((0,F.TS)(Ge,{fontSize:Ge.contentFontSize})),ge=Ge=>{const fe=(0,F.TS)(Ge,{controlHeight:Ge.controlHeightSM,fontSize:Ge.contentFontSizeSM,padding:Ge.paddingXS,buttonPaddingHorizontal:Ge.paddingInlineSM,borderRadius:Ge.borderRadiusSM,buttonIconOnlyFontSize:Ge.onlyIconSizeSM});return Je(fe,`${Ge.componentCls}-sm`)},Ae=Ge=>{const fe=(0,F.TS)(Ge,{controlHeight:Ge.controlHeightLG,fontSize:Ge.contentFontSizeLG,buttonPaddingHorizontal:Ge.paddingInlineLG,borderRadius:Ge.borderRadiusLG,buttonIconOnlyFontSize:Ge.onlyIconSizeLG});return Je(fe,`${Ge.componentCls}-lg`)},Me=Ge=>{const{componentCls:fe}=Ge;return{[fe]:{[`&${fe}-block`]:{width:"100%"}}}},$e=Ge=>{const{paddingInline:fe,onlyIconSize:_e}=Ge;return(0,F.TS)(Ge,{buttonPaddingHorizontal:fe,buttonIconOnlyFontSize:_e})},He=Ge=>({fontWeight:400,defaultShadow:`0 ${Ge.controlOutlineWidth}px 0 ${Ge.controlTmpOutline}`,primaryShadow:`0 ${Ge.controlOutlineWidth}px 0 ${Ge.controlOutline}`,dangerShadow:`0 ${Ge.controlOutlineWidth}px 0 ${Ge.colorErrorOutline}`,primaryColor:Ge.colorTextLightSolid,dangerColor:Ge.colorTextLightSolid,borderColorDisabled:Ge.colorBorder,defaultGhostColor:Ge.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:Ge.colorBgContainer,paddingInline:Ge.paddingContentHorizontal-Ge.lineWidth,paddingInlineLG:Ge.paddingContentHorizontal-Ge.lineWidth,paddingInlineSM:8-Ge.lineWidth,onlyIconSize:Ge.fontSizeLG,onlyIconSizeSM:Ge.fontSizeLG-2,onlyIconSizeLG:Ge.fontSizeLG+2,groupBorderColor:Ge.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:Ge.colorBgTextHover,defaultColor:Ge.colorText,defaultBg:Ge.colorBgContainer,defaultBorderColor:Ge.colorBorder,defaultBorderColorDisabled:Ge.colorBorder,contentFontSize:Ge.fontSize,contentFontSizeSM:Ge.fontSize,contentFontSizeLG:Ge.fontSizeLG});var nt=(0,M.Z)("Button",Ge=>{const fe=$e(Ge);return[Ce(fe),ge(fe),Ue(fe),Ae(fe),Me(fe),ht(fe),Ee(fe)]},He),ct=e(74207);function Kt(Ge,fe){return{[`&-item:not(${fe}-last-item)`]:{marginBottom:-Ge.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Wt(Ge,fe){return{[`&-item:not(${fe}-first-item):not(${fe}-last-item)`]:{borderRadius:0},[`&-item${fe}-first-item:not(${fe}-last-item)`]:{[`&, &${Ge}-sm, &${Ge}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${fe}-last-item:not(${fe}-first-item)`]:{[`&, &${Ge}-sm, &${Ge}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function De(Ge){const fe=`${Ge.componentCls}-compact-vertical`;return{[fe]:Object.assign(Object.assign({},Kt(Ge,fe)),Wt(Ge.componentCls,fe))}}var Qe=(0,M.b)(["Button","compact"],Ge=>{const fe=$e(Ge);return[(0,ct.c)(fe),De(fe)]},He),Vt=function(Ge,fe){var _e={};for(var Ot in Ge)Object.prototype.hasOwnProperty.call(Ge,Ot)&&fe.indexOf(Ot)<0&&(_e[Ot]=Ge[Ot]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ot=Object.getOwnPropertySymbols(Ge);Pe<Ot.length;Pe++)fe.indexOf(Ot[Pe])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Ot[Pe])&&(_e[Ot[Pe]]=Ge[Ot[Pe]]);return _e};function kt(Ge){return Ge==="danger"?{danger:!0}:{type:Ge}}function Ht(Ge){if(typeof Ge=="object"&&Ge){const fe=Ge==null?void 0:Ge.delay;return{loading:!1,delay:!Number.isNaN(fe)&&typeof fe=="number"?fe:0}}return{loading:!!Ge,delay:0}}const $t=(Ge,fe)=>{var _e,Ot;const{loading:Pe=!1,prefixCls:dt,type:Zt="default",danger:Tt,shape:ke="default",size:St,styles:be,disabled:Ke,className:gt,rootClassName:Rt,children:Be,icon:kr,ghost:At=!1,block:Kr=!1,htmlType:Qr="button",classNames:Ar,style:$r={}}=Ge,_r=Vt(Ge,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Ur,autoInsertSpaceInButton:sn,direction:cn,button:ur}=(0,r.useContext)(h.E_),Lt=Ur("btn",dt),[vt,yt]=nt(Lt),jt=(0,r.useContext)(u.Z),Cr=Ke!=null?Ke:jt,yr=(0,r.useContext)(_),ot=(0,r.useMemo)(()=>Ht(Pe),[Pe]),[Fr,mn]=(0,r.useState)(ot.loading),[Un,mr]=(0,r.useState)(!1),en=(0,r.createRef)(),dn=(0,f.sQ)(fe,en),Fn=r.Children.count(Be)===1&&!kr&&!B(Zt);(0,r.useEffect)(()=>{let _i=null;ot.delay>0?_i=setTimeout(()=>{_i=null,mn(!0)},ot.delay):mn(ot.loading);function Pi(){_i&&(clearTimeout(_i),_i=null)}return Pi},[ot]),(0,r.useEffect)(()=>{if(!dn||!dn.current||sn===!1)return;const _i=dn.current.textContent;Fn&&T(_i)?Un||mr(!0):Un&&mr(!1)},[dn]);const ei=_i=>{const{onClick:Pi}=Ge;if(Fr||Cr){_i.preventDefault();return}Pi==null||Pi(_i)},Nn=sn!==!1,{compactSize:zi,compactItemClassnames:mi}=(0,x.ri)(Lt,cn),xi={large:"lg",small:"sm",middle:void 0},vi=(0,a.Z)(_i=>{var Pi,Qn;return(Qn=(Pi=St!=null?St:zi)!==null&&Pi!==void 0?Pi:yr)!==null&&Qn!==void 0?Qn:_i}),pi=vi&&xi[vi]||"",Yi=Fr?"loading":kr,Yn=(0,c.Z)(_r,["navigate"]),Vi=l()(Lt,yt,{[`${Lt}-${ke}`]:ke!=="default"&&ke,[`${Lt}-${Zt}`]:Zt,[`${Lt}-${pi}`]:pi,[`${Lt}-icon-only`]:!Be&&Be!==0&&!!Yi,[`${Lt}-background-ghost`]:At&&!B(Zt),[`${Lt}-loading`]:Fr,[`${Lt}-two-chinese-chars`]:Un&&Nn&&!Fr,[`${Lt}-block`]:Kr,[`${Lt}-dangerous`]:!!Tt,[`${Lt}-rtl`]:cn==="rtl"},mi,gt,Rt,ur==null?void 0:ur.className),Et=Object.assign(Object.assign({},ur==null?void 0:ur.style),$r),ut=l()(Ar==null?void 0:Ar.icon,(_e=ur==null?void 0:ur.classNames)===null||_e===void 0?void 0:_e.icon),Xn=Object.assign(Object.assign({},(be==null?void 0:be.icon)||{}),((Ot=ur==null?void 0:ur.styles)===null||Ot===void 0?void 0:Ot.icon)||{}),wi=kr&&!Fr?r.createElement(ae,{prefixCls:Lt,className:ut,style:Xn},kr):r.createElement(ee,{existIcon:!!kr,prefixCls:Lt,loading:!!Fr}),qn=Be||Be===0?U(Be,Fn&&Nn):null;if(Yn.href!==void 0)return vt(r.createElement("a",Object.assign({},Yn,{className:l()(Vi,{[`${Lt}-disabled`]:Cr}),style:Et,onClick:ei,ref:dn}),wi,qn));let Zi=r.createElement("button",Object.assign({},_r,{type:Qr,className:Vi,style:Et,onClick:ei,disabled:Cr,ref:dn}),wi,qn,mi&&r.createElement(Qe,{key:"compact",prefixCls:Lt}));return B(Zt)||(Zi=r.createElement(s.Z,{component:"Button",disabled:!!Fr},Zi)),vt(Zi)},Ct=(0,r.forwardRef)($t);Ct.Group=S,Ct.__ANT_BUTTON=!0;var Yt=Ct},3113:function(d,g,e){"use strict";var r=e(67797);g.ZP=r.Z},43604:function(d,g,e){"use strict";var r=e(37028);g.Z=r.Z},1684:function(d,g,e){"use strict";e.d(g,{n:function(){return l}});var r=e(59301);const i=r.createContext(!1),l=c=>{let{children:f,disabled:s}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:s!=null?s:h},f)};g.Z=i},52946:function(d,g,e){"use strict";e.d(g,{q:function(){return l}});var r=e(59301);const i=r.createContext(void 0),l=c=>{let{children:f,size:s}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:s||h},f)};g.Z=i},36355:function(d,g,e){"use strict";e.d(g,{E_:function(){return c},oR:function(){return i}});var r=e(59301);const i="anticon",l=(s,h)=>h||(s?`ant-${s}`:"ant"),c=r.createContext({getPrefixCls:l,iconPrefixCls:i}),{Consumer:f}=c},19716:function(d,g,e){"use strict";var r=e(59301),i=e(52946);const l=c=>{const f=r.useContext(i.Z);return r.useMemo(()=>c?typeof c=="string"?c!=null?c:f:c instanceof Function?c(f):f:f,[c,f])};g.Z=l},92736:function(d,g,e){"use strict";e.d(g,{ZP:function(){return Jt},w6:function(){return Pt}});var r=e(93083),i=e(18418),l=e(80547),c=e(24434),f=e(59301),s=e(28726),h=e(98044),u=e(41887);const a="internalMark";var p=Xe=>{const{locale:It={},children:zt,_ANT_MARK__:st}=Xe;f.useEffect(()=>(0,h.f)(It&&It.Modal),[It]);const bt=f.useMemo(()=>Object.assign(Object.assign({},It),{exist:!0}),[It]);return f.createElement(u.Z.Provider,{value:bt},zt)},y=e(31724),_=e(45246),b=e(34117),S=e(36355),R=e(93398),L=e(64993),T=e(47273),D=e(810);const B=`-ant-${Date.now()}-${Math.random()}`;function $(Xe,It){const zt={},st=(Je,Ue)=>{let ge=Je.clone();return ge=(Ue==null?void 0:Ue(ge))||ge,ge.toRgbString()},bt=(Je,Ue)=>{const ge=new L.C(Je),Ae=(0,R.generate)(ge.toRgbString());zt[`${Ue}-color`]=st(ge),zt[`${Ue}-color-disabled`]=Ae[1],zt[`${Ue}-color-hover`]=Ae[4],zt[`${Ue}-color-active`]=Ae[6],zt[`${Ue}-color-outline`]=ge.clone().setAlpha(.2).toRgbString(),zt[`${Ue}-color-deprecated-bg`]=Ae[0],zt[`${Ue}-color-deprecated-border`]=Ae[2]};if(It.primaryColor){bt(It.primaryColor,"primary");const Je=new L.C(It.primaryColor),Ue=(0,R.generate)(Je.toRgbString());Ue.forEach((Ae,Me)=>{zt[`primary-${Me+1}`]=Ae}),zt["primary-color-deprecated-l-35"]=st(Je,Ae=>Ae.lighten(35)),zt["primary-color-deprecated-l-20"]=st(Je,Ae=>Ae.lighten(20)),zt["primary-color-deprecated-t-20"]=st(Je,Ae=>Ae.tint(20)),zt["primary-color-deprecated-t-50"]=st(Je,Ae=>Ae.tint(50)),zt["primary-color-deprecated-f-12"]=st(Je,Ae=>Ae.setAlpha(Ae.getAlpha()*.12));const ge=new L.C(Ue[0]);zt["primary-color-active-deprecated-f-30"]=st(ge,Ae=>Ae.setAlpha(Ae.getAlpha()*.3)),zt["primary-color-active-deprecated-d-02"]=st(ge,Ae=>Ae.darken(2))}return It.successColor&&bt(It.successColor,"success"),It.warningColor&&bt(It.warningColor,"warning"),It.errorColor&&bt(It.errorColor,"error"),It.infoColor&&bt(It.infoColor,"info"),`
|
|
|
:root {
|
|
|
${Object.keys(zt).map(Je=>`--${Xe}-${Je}: ${zt[Je]};`).join(`
|
|
|
`)}
|
|
|
}
|
|
|
`.trim()}function U(Xe,It){const zt=$(Xe,It);(0,T.Z)()&&(0,D.hq)(zt,`${B}-dynamic-theme`)}var V=e(1684),K=e(52946);function G(){const Xe=(0,f.useContext)(V.Z),It=(0,f.useContext)(K.Z);return{componentDisabled:Xe,componentSize:It}}var oe=G,ae=e(13697);function le(Xe,It){const zt=Xe||{},st=zt.inherit===!1||!It?_.u_:It;return(0,l.Z)(()=>{if(!Xe)return It;const bt=Object.assign({},st.components);return Object.keys(Xe.components||{}).forEach(ht=>{bt[ht]=Object.assign(Object.assign({},bt[ht]),Xe.components[ht])}),Object.assign(Object.assign(Object.assign({},st),zt),{token:Object.assign(Object.assign({},st.token),zt.token),components:bt})},[zt,st],(bt,ht)=>bt.some((Je,Ue)=>{const ge=ht[Ue];return!(0,ae.Z)(Je,ge,!0)}))}var Q=e(77900),J=e(88088);function Y(Xe){const{children:It}=Xe,[,zt]=(0,J.Z)(),{motion:st}=zt,bt=f.useRef(!1);return bt.current=bt.current||st===!1,bt.current?f.createElement(Q.Provider,{motion:st},It):It}var ue=e(73040),ne=function(Xe,It){var zt={};for(var st in Xe)Object.prototype.hasOwnProperty.call(Xe,st)&&It.indexOf(st)<0&&(zt[st]=Xe[st]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,st=Object.getOwnPropertySymbols(Xe);bt<st.length;bt++)It.indexOf(st[bt])<0&&Object.prototype.propertyIsEnumerable.call(Xe,st[bt])&&(zt[st[bt]]=Xe[st[bt]]);return zt};let ee=!1;const ie=null,F=null,M=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],q="ant";let de,Ee,Ce;function je(){return de||q}function Fe(){return Ee||S.oR}function Ft(Xe){return Object.keys(Xe).some(It=>It.endsWith("Color"))}const _t=Xe=>{let{prefixCls:It,iconPrefixCls:zt,theme:st}=Xe;It!==void 0&&(de=It),zt!==void 0&&(Ee=zt),st&&(Ft(st)?U(je(),st):Ce=st)},Pt=()=>({getPrefixCls:(Xe,It)=>It||(Xe?`${je()}-${Xe}`:je()),getIconPrefixCls:Fe,getRootPrefixCls:()=>de||je(),getTheme:()=>Ce}),Qt=Xe=>{const{children:It,csp:zt,autoInsertSpaceInButton:st,alert:bt,anchor:ht,form:Je,locale:Ue,componentSize:ge,direction:Ae,space:Me,virtual:$e,dropdownMatchSelectWidth:He,popupMatchSelectWidth:nt,popupOverflow:ct,legacyLocale:Kt,parentContext:Wt,iconPrefixCls:De,theme:Qe,componentDisabled:Vt,segmented:kt,statistic:Ht,spin:$t,calendar:Ct,carousel:Yt,cascader:Ge,collapse:fe,typography:_e,checkbox:Ot,descriptions:Pe,divider:dt,drawer:Zt,skeleton:Tt,steps:ke,image:St,layout:be,list:Ke,mentions:gt,modal:Rt,progress:Be,result:kr,slider:At,breadcrumb:Kr,menu:Qr,pagination:Ar,input:$r,empty:_r,badge:Ur,radio:sn,rate:cn,switch:ur,transfer:Lt,avatar:vt,message:yt,tag:jt,table:Cr,card:yr,tabs:ot,timeline:Fr,timePicker:mn,upload:Un,notification:mr,tree:en,colorPicker:dn,datePicker:Fn,wave:ei}=Xe,Nn=f.useCallback((qn,Zi)=>{const{prefixCls:_i}=Xe;if(Zi)return Zi;const Pi=_i||Wt.getPrefixCls("");return qn?`${Pi}-${qn}`:Pi},[Wt.getPrefixCls,Xe.prefixCls]),zi=De||Wt.iconPrefixCls||S.oR,mi=zi!==Wt.iconPrefixCls,xi=zt||Wt.csp,vi=(0,ue.Z)(zi,xi),pi=le(Qe,Wt.theme),Yi={csp:xi,autoInsertSpaceInButton:st,alert:bt,anchor:ht,locale:Ue||Kt,direction:Ae,space:Me,virtual:$e,popupMatchSelectWidth:nt!=null?nt:He,popupOverflow:ct,getPrefixCls:Nn,iconPrefixCls:zi,theme:pi,segmented:kt,statistic:Ht,spin:$t,calendar:Ct,carousel:Yt,cascader:Ge,collapse:fe,typography:_e,checkbox:Ot,descriptions:Pe,divider:dt,drawer:Zt,skeleton:Tt,steps:ke,image:St,input:$r,layout:be,list:Ke,mentions:gt,modal:Rt,progress:Be,result:kr,slider:At,breadcrumb:Kr,menu:Qr,pagination:Ar,empty:_r,badge:Ur,radio:sn,rate:cn,switch:ur,transfer:Lt,avatar:vt,message:yt,tag:jt,table:Cr,card:yr,tabs:ot,timeline:Fr,timePicker:mn,upload:Un,notification:mr,tree:en,colorPicker:dn,datePicker:Fn,wave:ei},Yn=Object.assign({},Wt);Object.keys(Yi).forEach(qn=>{Yi[qn]!==void 0&&(Yn[qn]=Yi[qn])}),M.forEach(qn=>{const Zi=Xe[qn];Zi&&(Yn[qn]=Zi)});const Vi=(0,l.Z)(()=>Yn,Yn,(qn,Zi)=>{const _i=Object.keys(qn),Pi=Object.keys(Zi);return _i.length!==Pi.length||_i.some(Qn=>qn[Qn]!==Zi[Qn])}),Et=f.useMemo(()=>({prefixCls:zi,csp:xi}),[zi,xi]);let ut=mi?vi(It):It;const Xn=f.useMemo(()=>{var qn,Zi,_i,Pi;return(0,c.T)(((qn=y.Z.Form)===null||qn===void 0?void 0:qn.defaultValidateMessages)||{},((_i=(Zi=Vi.locale)===null||Zi===void 0?void 0:Zi.Form)===null||_i===void 0?void 0:_i.defaultValidateMessages)||{},((Pi=Vi.form)===null||Pi===void 0?void 0:Pi.validateMessages)||{},(Je==null?void 0:Je.validateMessages)||{})},[Vi,Je==null?void 0:Je.validateMessages]);Object.keys(Xn).length>0&&(ut=f.createElement(s.Z.Provider,{value:Xn},It)),Ue&&(ut=f.createElement(p,{locale:Ue,_ANT_MARK__:a},ut)),(zi||xi)&&(ut=f.createElement(i.Z.Provider,{value:Et},ut)),ge&&(ut=f.createElement(K.q,{size:ge},ut)),ut=f.createElement(Y,null,ut);const wi=f.useMemo(()=>{const qn=pi||{},{algorithm:Zi,token:_i,components:Pi}=qn,Qn=ne(qn,["algorithm","token","components"]),tr=Zi&&(!Array.isArray(Zi)||Zi.length>0)?(0,r.createTheme)(Zi):_.uH,mt={};return Object.entries(Pi||{}).forEach(rt=>{let[Dt,pt]=rt;const cr=Object.assign({},pt);"algorithm"in cr&&(cr.algorithm===!0?cr.theme=tr:(Array.isArray(cr.algorithm)||typeof cr.algorithm=="function")&&(cr.theme=(0,r.createTheme)(cr.algorithm)),delete cr.algorithm),mt[Dt]=cr}),Object.assign(Object.assign({},Qn),{theme:tr,token:Object.assign(Object.assign({},b.Z),_i),components:mt})},[pi]);return Qe&&(ut=f.createElement(_.Mj.Provider,{value:wi},ut)),Vt!==void 0&&(ut=f.createElement(V.n,{disabled:Vt},ut)),f.createElement(S.E_.Provider,{value:Vi},ut)},er=Xe=>{const It=f.useContext(S.E_),zt=f.useContext(u.Z);return f.createElement(Qt,Object.assign({parentContext:It,legacyLocale:zt},Xe))};er.ConfigContext=S.E_,er.SizeContext=K.Z,er.config=_t,er.useConfig=oe,Object.defineProperty(er,"SizeContext",{get:()=>K.Z});var Jt=er},48183:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i=r,l=e(67532),f={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},i),timePickerLocale:Object.assign({},l.Z)}},32441:function(d,g,e){"use strict";e.d(g,{RV:function(){return s},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),s=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 R=Object.assign({},b);return _&&delete R.isFormItemInput,y&&(delete R.status,delete R.hasFeedback,delete R.feedbackIcon),R},[y,_,b]);return r.createElement(u.Provider,{value:S},p)}},28726:function(d,g,e){"use strict";var r=e(59301);g.Z=(0,r.createContext)(void 0)},6700:function(d,g,e){"use strict";var r=e(59301);const i=(0,r.createContext)({});g.Z=i},37028:function(d,g,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(36355),f=e(6700),s=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:R}=r.useContext(f.Z),{prefixCls:L,span:T,order:D,offset:B,push:$,pull:U,className:V,children:K,flex:G,style:oe}=p,ae=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),le=_("col",L),[Q,J]=(0,s.c)(le);let Y={};a.forEach(ee=>{let ie={};const F=p[ee];typeof F=="number"?ie.span=F:typeof F=="object"&&(ie=F||{}),delete ae[ee],Y=Object.assign(Object.assign({},Y),{[`${le}-${ee}-${ie.span}`]:ie.span!==void 0,[`${le}-${ee}-order-${ie.order}`]:ie.order||ie.order===0,[`${le}-${ee}-offset-${ie.offset}`]:ie.offset||ie.offset===0,[`${le}-${ee}-push-${ie.push}`]:ie.push||ie.push===0,[`${le}-${ee}-pull-${ie.pull}`]:ie.pull||ie.pull===0,[`${le}-${ee}-flex-${ie.flex}`]:ie.flex||ie.flex==="auto",[`${le}-rtl`]:b==="rtl"})});const ue=l()(le,{[`${le}-${T}`]:T!==void 0,[`${le}-order-${D}`]:D,[`${le}-offset-${B}`]:B,[`${le}-push-${$}`]:$,[`${le}-pull-${U}`]:U},V,Y,J),ne={};if(S&&S[0]>0){const ee=S[0]/2;ne.paddingLeft=ee,ne.paddingRight=ee}return G&&(ne.flex=u(G),R===!1&&!ne.minWidth&&(ne.minWidth=0)),Q(r.createElement("div",Object.assign({},ae,{style:Object.assign(Object.assign({},ne),oe),className:ue,ref:y}),K))});g.Z=x},27382:function(d,g,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(69507),f=e(36355),s=e(6700),h=e(98242),u=function(_,b){var S={};for(var R in _)Object.prototype.hasOwnProperty.call(_,R)&&b.indexOf(R)<0&&(S[R]=_[R]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,R=Object.getOwnPropertySymbols(_);L<R.length;L++)b.indexOf(R[L])<0&&Object.prototype.propertyIsEnumerable.call(_,R[L])&&(S[R[L]]=_[R[L]]);return S};const a=null,x=null;function p(_,b){const[S,R]=r.useState(typeof _=="string"?_:""),L=()=>{if(typeof _=="string"&&R(_),typeof _=="object")for(let T=0;T<c.c4.length;T++){const D=c.c4[T];if(!b[D])continue;const B=_[D];if(B!==void 0){R(B);return}}};return r.useEffect(()=>{L()},[JSON.stringify(_),b]),S}const y=r.forwardRef((_,b)=>{const{prefixCls:S,justify:R,align:L,className:T,style:D,children:B,gutter:$=0,wrap:U}=_,V=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:K,direction:G}=r.useContext(f.E_),[oe,ae]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[le,Q]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),J=p(L,le),Y=p(R,le),ue=r.useRef($),ne=(0,c.ZP)();r.useEffect(()=>{const _t=ne.subscribe(Pt=>{Q(Pt);const Qt=ue.current||0;(!Array.isArray(Qt)&&typeof Qt=="object"||Array.isArray(Qt)&&(typeof Qt[0]=="object"||typeof Qt[1]=="object"))&&ae(Pt)});return()=>ne.unsubscribe(_t)},[]);const ee=()=>{const _t=[void 0,void 0];return(Array.isArray($)?$:[$,void 0]).forEach((Qt,er)=>{if(typeof Qt=="object")for(let Jt=0;Jt<c.c4.length;Jt++){const Xe=c.c4[Jt];if(oe[Xe]&&Qt[Xe]!==void 0){_t[er]=Qt[Xe];break}}else _t[er]=Qt}),_t},ie=K("row",S),[F,M]=(0,h.V)(ie),q=ee(),de=l()(ie,{[`${ie}-no-wrap`]:U===!1,[`${ie}-${Y}`]:Y,[`${ie}-${J}`]:J,[`${ie}-rtl`]:G==="rtl"},T,M),Ee={},Ce=q[0]!=null&&q[0]>0?q[0]/-2:void 0;Ce&&(Ee.marginLeft=Ce,Ee.marginRight=Ce),[,Ee.rowGap]=q;const[je,Fe]=q,Ft=r.useMemo(()=>({gutter:[je,Fe],wrap:U}),[je,Fe,U]);return F(r.createElement(s.Z.Provider,{value:Ft},r.createElement("div",Object.assign({},V,{className:de,style:Object.assign(Object.assign({},Ee),D),ref:b}),B)))});g.Z=y},98242:function(d,g,e){"use strict";e.d(g,{V:function(){return u},c:function(){return a}});var r=e(83116),i=e(37613);const l=x=>{const{componentCls:p}=x;return{[p]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},c=x=>{const{componentCls:p}=x;return{[p]:{position:"relative",maxWidth:"100%",minHeight:1}}},f=(x,p)=>{const{componentCls:y,gridColumns:_}=x,b={};for(let 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},s=(x,p)=>f(x,p),h=(x,p,y)=>({[`@media (min-width: ${p}px)`]:Object.assign({},s(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),s(p,""),s(p,"-xs"),Object.keys(y).map(_=>h(p,y[_],_)).reduce((_,b)=>Object.assign(Object.assign({},_),b),{})]})},41887:function(d,g,e){"use strict";var r=e(59301);const i=(0,r.createContext)(void 0);g.Z=i},31724:function(d,g,e){"use strict";e.d(g,{Z:function(){return h}});var r=e(22075),i=e(48183),l=i.Z,c=e(67532);const f="${label} is not a valid ${type}";var h={locale:"en",Pagination:r.Z,DatePicker:i.Z,TimePicker:c.Z,Calendar:l,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:f,method:f,array:f,object:f,number:f,date:f,boolean:f,integer:f,float:f,regexp:f,email:f,url:f,hex:f},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}}},9763:function(d,g,e){"use strict";var r=e(59301),i=e(41887),l=e(31724);const c=(f,s)=>{const h=r.useContext(i.Z),u=r.useMemo(()=>{var x;const p=s||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,s,h]),a=r.useMemo(()=>{const x=h==null?void 0:h.locale;return h!=null&&h.exist&&!x?l.Z.locale:x},[h]);return[u,a]};g.Z=c},81863:function(d,g,e){"use strict";e.d(g,{Z:function(){return p}});var r=e(91735),i={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},l=i,f={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const s={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)};s.lang.ok="\u786E\u5B9A";var h=s,u=h;const a="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var p={locale:"zh-cn",Pagination:r.Z,DatePicker:h,TimePicker:f,Calendar:u,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0"},ColorPicker:{presetEmpty:"\u6682\u65E0"}}},8591:function(d,g,e){"use strict";e.d(g,{ZP:function(){return bt}});var r=e(80702),i=e(59301),l=e(1585),c=e(92736),f=e(29679),s=e(19248),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(93083),S=e(17313),R=e(83116),L=e(37613);const T=ht=>{const{componentCls:Je,iconCls:Ue,boxShadow:ge,colorText:Ae,colorSuccess:Me,colorError:$e,colorWarning:He,colorInfo:nt,fontSizeLG:ct,motionEaseInOutCirc:Kt,motionDurationSlow:Wt,marginXS:De,paddingXS:Qe,borderRadiusLG:Vt,zIndexPopup:kt,contentPadding:Ht,contentBg:$t}=ht,Ct=`${Je}-notice`,Yt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:Qe,transform:"translateY(0)",opacity:1}}),Ge=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:ht.height,padding:Qe,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),fe={padding:Qe,textAlign:"center",[`${Je}-custom-content > ${Ue}`]:{verticalAlign:"text-bottom",marginInlineEnd:De,fontSize:ct},[`${Ct}-content`]:{display:"inline-block",padding:Ht,background:$t,borderRadius:Vt,boxShadow:ge,pointerEvents:"all"},[`${Je}-success > ${Ue}`]:{color:Me},[`${Je}-error > ${Ue}`]:{color:$e},[`${Je}-warning > ${Ue}`]:{color:He},[`${Je}-info > ${Ue},
|
|
|
${Je}-loading > ${Ue}`]:{color:nt}};return[{[Je]:Object.assign(Object.assign({},(0,S.Wf)(ht)),{color:Ae,position:"fixed",top:De,width:"100%",pointerEvents:"none",zIndex:kt,[`${Je}-move-up`]:{animationFillMode:"forwards"},[`
|
|
|
${Je}-move-up-appear,
|
|
|
${Je}-move-up-enter
|
|
|
`]:{animationName:Yt,animationDuration:Wt,animationPlayState:"paused",animationTimingFunction:Kt},[`
|
|
|
${Je}-move-up-appear${Je}-move-up-appear-active,
|
|
|
${Je}-move-up-enter${Je}-move-up-enter-active
|
|
|
`]:{animationPlayState:"running"},[`${Je}-move-up-leave`]:{animationName:Ge,animationDuration:Wt,animationPlayState:"paused",animationTimingFunction:Kt},[`${Je}-move-up-leave${Je}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[Je]:{[Ct]:Object.assign({},fe)}},{[`${Je}-notice-pure-panel`]:Object.assign(Object.assign({},fe),{padding:0,textAlign:"start"})}]};var D=(0,R.Z)("Message",ht=>{const Je=(0,L.TS)(ht,{height:150});return[T(Je)]},ht=>({zIndexPopup:ht.zIndexPopupBase+10,contentBg:ht.colorBgElevated,contentPadding:`${(ht.controlHeightLG-ht.fontSize*ht.lineHeight)/2}px ${ht.paddingSM}px`})),B=function(ht,Je){var Ue={};for(var ge in ht)Object.prototype.hasOwnProperty.call(ht,ge)&&Je.indexOf(ge)<0&&(Ue[ge]=ht[ge]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ge=Object.getOwnPropertySymbols(ht);Ae<ge.length;Ae++)Je.indexOf(ge[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ht,ge[Ae])&&(Ue[ge[Ae]]=ht[ge[Ae]]);return Ue};const $={info:i.createElement(u.Z,null),success:i.createElement(f.Z,null),error:i.createElement(s.Z,null),warning:i.createElement(h.Z,null),loading:i.createElement(a.Z,null)},U=ht=>{let{prefixCls:Je,type:Ue,icon:ge,children:Ae}=ht;return i.createElement("div",{className:p()(`${Je}-custom-content`,`${Je}-${Ue}`)},ge||$[Ue],i.createElement("span",null,Ae))};var K=ht=>{const{prefixCls:Je,className:Ue,type:ge,icon:Ae,content:Me}=ht,$e=B(ht,["prefixCls","className","type","icon","content"]),{getPrefixCls:He}=i.useContext(_.E_),nt=Je||He("message"),[,ct]=D(nt);return i.createElement(y.qX,Object.assign({},$e,{prefixCls:nt,className:p()(Ue,ct,`${nt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(U,{prefixCls:nt,type:ge,icon:Ae},Me)}))},G=e(99267);function oe(ht,Je){return{motionName:Je!=null?Je:`${ht}-move-up`}}function ae(ht){let Je;const Ue=new Promise(Ae=>{Je=ht(()=>{Ae(!0)})}),ge=()=>{Je==null||Je()};return ge.then=(Ae,Me)=>Ue.then(Ae,Me),ge.promise=Ue,ge}var le=function(ht,Je){var Ue={};for(var ge in ht)Object.prototype.hasOwnProperty.call(ht,ge)&&Je.indexOf(ge)<0&&(Ue[ge]=ht[ge]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ge=Object.getOwnPropertySymbols(ht);Ae<ge.length;Ae++)Je.indexOf(ge[Ae])<0&&Object.prototype.propertyIsEnumerable.call(ht,ge[Ae])&&(Ue[ge[Ae]]=ht[ge[Ae]]);return Ue};const Q=8,J=3,Y=ht=>{let{children:Je,prefixCls:Ue}=ht;const[,ge]=D(Ue);return i.createElement(y.JB,{classNames:{list:ge,notice:ge}},Je)},ue=(ht,Je)=>{let{prefixCls:Ue,key:ge}=Je;return i.createElement(Y,{prefixCls:Ue,key:ge},ht)},ne=i.forwardRef((ht,Je)=>{const{top:Ue,prefixCls:ge,getContainer:Ae,maxCount:Me,duration:$e=J,rtl:He,transitionName:nt,onAllRemoved:ct}=ht,{getPrefixCls:Kt,getPopupContainer:Wt,message:De}=i.useContext(_.E_),Qe=ge||Kt("message"),Vt=()=>({left:"50%",transform:"translateX(-50%)",top:Ue!=null?Ue:Q}),kt=()=>p()({[`${Qe}-rtl`]:He}),Ht=()=>oe(Qe,nt),$t=i.createElement("span",{className:`${Qe}-close-x`},i.createElement(G.Z,{className:`${Qe}-close-icon`})),[Ct,Yt]=(0,y.lm)({prefixCls:Qe,style:Vt,className:kt,motion:Ht,closable:!1,closeIcon:$t,duration:$e,getContainer:()=>(Ae==null?void 0:Ae())||(Wt==null?void 0:Wt())||document.body,maxCount:Me,onAllRemoved:ct,renderNotifications:ue});return i.useImperativeHandle(Je,()=>Object.assign(Object.assign({},Ct),{prefixCls:Qe,message:De})),Yt});let ee=0;function ie(ht){const Je=i.useRef(null);return[i.useMemo(()=>{const ge=nt=>{var ct;(ct=Je.current)===null||ct===void 0||ct.close(nt)},Ae=nt=>{if(!Je.current){const _e=()=>{};return _e.then=()=>{},_e}const{open:ct,prefixCls:Kt,message:Wt}=Je.current,De=`${Kt}-notice`,{content:Qe,icon:Vt,type:kt,key:Ht,className:$t,style:Ct,onClose:Yt}=nt,Ge=le(nt,["content","icon","type","key","className","style","onClose"]);let fe=Ht;return fe==null&&(ee+=1,fe=`antd-message-${ee}`),ae(_e=>(ct(Object.assign(Object.assign({},Ge),{key:fe,content:i.createElement(U,{prefixCls:Kt,type:kt,icon:Vt},Qe),placement:"top",className:p()(kt&&`${De}-${kt}`,$t,Wt==null?void 0:Wt.className),style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),Ct),onClose:()=>{Yt==null||Yt(),_e()}})),()=>{ge(fe)}))},$e={open:Ae,destroy:nt=>{var ct;nt!==void 0?ge(nt):(ct=Je.current)===null||ct===void 0||ct.destroy()}};return["info","success","warning","error","loading"].forEach(nt=>{const ct=(Kt,Wt,De)=>{let Qe;Kt&&typeof Kt=="object"&&"content"in Kt?Qe=Kt:Qe={content:Kt};let Vt,kt;typeof Wt=="function"?kt=Wt:(Vt=Wt,kt=De);const Ht=Object.assign(Object.assign({onClose:kt,duration:Vt},Qe),{type:nt});return Ae(Ht)};$e[nt]=ct}),$e},[]),i.createElement(ne,Object.assign({key:"message-holder"},ht,{ref:Je}))]}function F(ht){return ie(ht)}let M=null,q=ht=>ht(),de=[],Ee={};function Ce(){const{prefixCls:ht,getContainer:Je,duration:Ue,rtl:ge,maxCount:Ae,top:Me}=Ee,$e=ht!=null?ht:(0,c.w6)().getPrefixCls("message"),He=(Je==null?void 0:Je())||document.body;return{prefixCls:$e,getContainer:()=>He,duration:Ue,rtl:ge,maxCount:Ae,top:Me}}const je=i.forwardRef((ht,Je)=>{const[Ue,ge]=i.useState(Ce),[Ae,Me]=ie(Ue),$e=(0,c.w6)(),He=$e.getRootPrefixCls(),nt=$e.getIconPrefixCls(),ct=$e.getTheme(),Kt=()=>{ge(Ce)};return i.useEffect(Kt,[]),i.useImperativeHandle(Je,()=>{const Wt=Object.assign({},Ae);return Object.keys(Wt).forEach(De=>{Wt[De]=function(){return Kt(),Ae[De].apply(Ae,arguments)}}),{instance:Wt,sync:Kt}}),i.createElement(c.ZP,{prefixCls:He,iconPrefixCls:nt,theme:ct},Me)});function Fe(){if(!M){const ht=document.createDocumentFragment(),Je={fragment:ht};M=Je,q(()=>{(0,l.s)(i.createElement(je,{ref:Ue=>{const{instance:ge,sync:Ae}=Ue||{};Promise.resolve().then(()=>{!Je.instance&&ge&&(Je.instance=ge,Je.sync=Ae,Fe())})}}),ht)});return}M.instance&&(de.forEach(ht=>{const{type:Je,skipped:Ue}=ht;if(!Ue)switch(Je){case"open":{q(()=>{const ge=M.instance.open(Object.assign(Object.assign({},Ee),ht.config));ge==null||ge.then(ht.resolve),ht.setCloseFn(ge)});break}case"destroy":q(()=>{M==null||M.instance.destroy(ht.key)});break;default:q(()=>{var ge;const Ae=(ge=M.instance)[Je].apply(ge,(0,r.Z)(ht.args));Ae==null||Ae.then(ht.resolve),ht.setCloseFn(Ae)})}}),de=[])}function Ft(ht){Ee=Object.assign(Object.assign({},Ee),ht),q(()=>{var Je;(Je=M==null?void 0:M.sync)===null||Je===void 0||Je.call(M)})}function _t(ht){const Je=ae(Ue=>{let ge;const Ae={type:"open",config:ht,resolve:Ue,setCloseFn:Me=>{ge=Me}};return de.push(Ae),()=>{ge?q(()=>{ge()}):Ae.skipped=!0}});return Fe(),Je}function Pt(ht,Je){const Ue=ae(ge=>{let Ae;const Me={type:ht,args:Je,resolve:ge,setCloseFn:$e=>{Ae=$e}};return de.push(Me),()=>{Ae?q(()=>{Ae()}):Me.skipped=!0}});return Fe(),Ue}function Qt(ht){de.push({type:"destroy",key:ht}),Fe()}const er=["success","info","warning","error","loading"],Xe={open:_t,destroy:Qt,config:Ft,useMessage:F,_InternalPanelDoNotUseOrYouWillBeFired:K};er.forEach(ht=>{Xe[ht]=function(){for(var Je=arguments.length,Ue=new Array(Je),ge=0;ge<Je;ge++)Ue[ge]=arguments[ge];return Pt(ht,Ue)}});const It=()=>{};let zt=null,st=null;var bt=Xe},43418:function(d,g,e){"use strict";e.d(g,{default:function(){return dt}});var r=e(80702),i=e(1585),l=e(59301),c=e(92736),f=e(29679),s=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 L=()=>{const{autoFocusButton:Zt,cancelButtonProps:Tt,cancelTextLocale:ke,isSilent:St,mergedOkCancel:be,rootPrefixCls:Ke,close:gt,onCancel:Rt,onConfirm:Be}=(0,l.useContext)(b);return be?l.createElement(_.Z,{isSilent:St,actionFn:Rt,close:function(){gt==null||gt.apply(void 0,arguments),Be==null||Be(!1)},autoFocus:Zt==="cancel",buttonProps:Tt,prefixCls:`${Ke}-btn`},ke):null},D=()=>{const{autoFocusButton:Zt,close:Tt,isSilent:ke,okButtonProps:St,rootPrefixCls:be,okTextLocale:Ke,okType:gt,onConfirm:Rt,onOk:Be}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:ke,type:gt||"primary",actionFn:Be,close:function(){Tt==null||Tt.apply(void 0,arguments),Rt==null||Rt(!0)},autoFocus:Zt==="ok",buttonProps:St,prefixCls:`${be}-btn`},Ke)},B=e(99267),$=e(86923),U=e(47729),V=e(47273);const K=()=>(0,V.Z)()&&window.document.documentElement;var G=e(36355),oe=e(32441),ae=e(33234),le=e(11575),Q=e(1684),J=e(3113),ue=()=>{const{cancelButtonProps:Zt,cancelTextLocale:Tt,onCancel:ke}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({onClick:ke},Zt),Tt)},ne=e(67797),ie=()=>{const{confirmLoading:Zt,okButtonProps:Tt,okType:ke,okTextLocale:St,onOk:be}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({},(0,ne.n)(ke),{loading:Zt,onClick:be},Tt),St)},F=e(98044);function M(Zt,Tt){return l.createElement("span",{className:`${Zt}-close-x`},Tt||l.createElement(B.Z,{className:`${Zt}-close-icon`}))}const q=Zt=>{const{okText:Tt,okType:ke="primary",cancelText:St,confirmLoading:be,onOk:Ke,onCancel:gt,okButtonProps:Rt,cancelButtonProps:Be,footer:kr}=Zt,[At]=(0,y.Z)("Modal",(0,F.A)()),Kr=Tt||(At==null?void 0:At.okText),Qr=St||(At==null?void 0:At.cancelText),Ar={confirmLoading:be,okButtonProps:Rt,cancelButtonProps:Be,okTextLocale:Kr,cancelTextLocale:Qr,okType:ke,onOk:Ke,onCancel:gt},$r=l.useMemo(()=>Ar,(0,r.Z)(Object.values(Ar)));let _r;return typeof kr=="function"||typeof kr=="undefined"?(_r=l.createElement(S,{value:$r},l.createElement(ue,null),l.createElement(ie,null)),typeof kr=="function"&&(_r=kr(_r,{OkBtn:ie,CancelBtn:ue}))):_r=kr,l.createElement(Q.n,{disabled:!1},_r)};var de=e(73819),Ee=function(Zt,Tt){var ke={};for(var St in Zt)Object.prototype.hasOwnProperty.call(Zt,St)&&Tt.indexOf(St)<0&&(ke[St]=Zt[St]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(Zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,St[be])&&(ke[St[be]]=Zt[St[be]]);return ke};let Ce;const je=Zt=>{Ce={x:Zt.pageX,y:Zt.pageY},setTimeout(()=>{Ce=null},100)};K()&&document.documentElement.addEventListener("click",je,!0);var Ft=Zt=>{var Tt;const{getPopupContainer:ke,getPrefixCls:St,direction:be,modal:Ke}=l.useContext(G.E_),gt=dn=>{const{onCancel:Fn}=Zt;Fn==null||Fn(dn)},Rt=dn=>{const{onOk:Fn}=Zt;Fn==null||Fn(dn)},{prefixCls:Be,className:kr,rootClassName:At,open:Kr,wrapClassName:Qr,centered:Ar,getContainer:$r,closeIcon:_r,closable:Ur,focusTriggerAfterClose:sn=!0,style:cn,visible:ur,width:Lt=520,footer:vt}=Zt,yt=Ee(Zt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),jt=St("modal",Be),Cr=St(),[yr,ot]=(0,de.ZP)(jt),Fr=x()(Qr,{[`${jt}-centered`]:!!Ar,[`${jt}-wrap-rtl`]:be==="rtl"}),mn=vt!==null&&l.createElement(q,Object.assign({},Zt,{onOk:Rt,onCancel:gt})),[Un,mr]=(0,U.Z)(Ur,_r,dn=>M(jt,dn),l.createElement(B.Z,{className:`${jt}-close-icon`}),!0),en=(0,le.H)(`.${jt}-content`);return yr(l.createElement(ae.BR,null,l.createElement(oe.Ux,{status:!0,override:!0},l.createElement($.Z,Object.assign({width:Lt},yt,{getContainer:$r===void 0?ke:$r,prefixCls:jt,rootClassName:x()(ot,At),wrapClassName:Fr,footer:mn,visible:Kr!=null?Kr:ur,mousePosition:(Tt=yt.mousePosition)!==null&&Tt!==void 0?Tt:Ce,onClose:gt,closable:Un,closeIcon:mr,focusTriggerAfterClose:sn,transitionName:(0,p.m)(Cr,"zoom",Zt.transitionName),maskTransitionName:(0,p.m)(Cr,"fade",Zt.maskTransitionName),className:x()(ot,kr,Ke==null?void 0:Ke.className),style:Object.assign(Object.assign({},Ke==null?void 0:Ke.style),cn),panelRef:en})))))},_t=e(17313),Pt=e(83116);const Qt=Zt=>{const{componentCls:Tt,titleFontSize:ke,titleLineHeight:St,modalConfirmIconSize:be,fontSize:Ke,lineHeight:gt}=Zt,Rt=`${Tt}-confirm`,Be=Math.round(ke*St),kr=Math.round(Ke*gt);return{[Rt]:{"&-rtl":{direction:"rtl"},[`${Zt.antCls}-modal-header`]:{display:"none"},[`${Rt}-body-wrapper`]:Object.assign({},(0,_t.dF)()),[`${Rt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Zt.iconCls}`]:{flex:"none",fontSize:be,marginInlineEnd:Zt.marginSM,marginTop:(kr-be)/2},[`&-has-title > ${Zt.iconCls}`]:{marginTop:(Be-be)/2}},[`${Rt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:Zt.marginXS},[`${Rt}-title`]:{color:Zt.colorTextHeading,fontWeight:Zt.fontWeightStrong,fontSize:ke,lineHeight:St},[`${Rt}-content`]:{color:Zt.colorText,fontSize:Ke,lineHeight:gt},[`${Rt}-btns`]:{textAlign:"end",marginTop:Zt.marginSM,[`${Zt.antCls}-btn + ${Zt.antCls}-btn`]:{marginBottom:0,marginInlineStart:Zt.marginXS}}},[`${Rt}-error ${Rt}-body > ${Zt.iconCls}`]:{color:Zt.colorError},[`${Rt}-warning ${Rt}-body > ${Zt.iconCls},
|
|
|
${Rt}-confirm ${Rt}-body > ${Zt.iconCls}`]:{color:Zt.colorWarning},[`${Rt}-info ${Rt}-body > ${Zt.iconCls}`]:{color:Zt.colorInfo},[`${Rt}-success ${Rt}-body > ${Zt.iconCls}`]:{color:Zt.colorSuccess}}};var er=(0,Pt.b)(["Modal","confirm"],Zt=>{const Tt=(0,de.B4)(Zt);return[Qt(Tt)]},de.eh,{order:-1e3}),Jt=function(Zt,Tt){var ke={};for(var St in Zt)Object.prototype.hasOwnProperty.call(Zt,St)&&Tt.indexOf(St)<0&&(ke[St]=Zt[St]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(Zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,St[be])&&(ke[St[be]]=Zt[St[be]]);return ke};function Xe(Zt){const{prefixCls:Tt,icon:ke,okText:St,cancelText:be,confirmPrefixCls:Ke,type:gt,okCancel:Rt,footer:Be,locale:kr}=Zt,At=Jt(Zt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Kr=ke;if(!ke&&ke!==null)switch(gt){case"info":Kr=l.createElement(u.Z,null);break;case"success":Kr=l.createElement(f.Z,null);break;case"error":Kr=l.createElement(s.Z,null);break;default:Kr=l.createElement(h.Z,null)}const Qr=Rt!=null?Rt:gt==="confirm",Ar=Zt.autoFocusButton===null?!1:Zt.autoFocusButton||"ok",[$r]=(0,y.Z)("Modal"),_r=kr||$r,Ur=St||(Qr?_r==null?void 0:_r.okText:_r==null?void 0:_r.justOkText),sn=be||(_r==null?void 0:_r.cancelText),cn=Object.assign({autoFocusButton:Ar,cancelTextLocale:sn,okTextLocale:Ur,mergedOkCancel:Qr},At),ur=l.useMemo(()=>cn,(0,r.Z)(Object.values(cn))),Lt=l.createElement(l.Fragment,null,l.createElement(L,null),l.createElement(D,null)),vt=Zt.title!==void 0&&Zt.title!==null,yt=`${Ke}-body`;return l.createElement("div",{className:`${Ke}-body-wrapper`},l.createElement("div",{className:x()(yt,{[`${yt}-has-title`]:vt})},Kr,l.createElement("div",{className:`${Ke}-paragraph`},vt&&l.createElement("span",{className:`${Ke}-title`},Zt.title),l.createElement("div",{className:`${Ke}-content`},Zt.content))),Be===void 0||typeof Be=="function"?l.createElement(S,{value:ur},l.createElement("div",{className:`${Ke}-btns`},typeof Be=="function"?Be(Lt,{OkBtn:D,CancelBtn:L}):Lt)):Be,l.createElement(er,{prefixCls:Tt}))}var zt=Zt=>{const{close:Tt,zIndex:ke,afterClose:St,visible:be,open:Ke,keyboard:gt,centered:Rt,getContainer:Be,maskStyle:kr,direction:At,prefixCls:Kr,wrapClassName:Qr,rootPrefixCls:Ar,iconPrefixCls:$r,theme:_r,bodyStyle:Ur,closable:sn=!1,closeIcon:cn,modalRender:ur,focusTriggerAfterClose:Lt,onConfirm:vt}=Zt,yt=`${Kr}-confirm`,jt=Zt.width||416,Cr=Zt.style||{},yr=Zt.mask===void 0?!0:Zt.mask,ot=Zt.maskClosable===void 0?!1:Zt.maskClosable,Fr=x()(yt,`${yt}-${Zt.type}`,{[`${yt}-rtl`]:At==="rtl"},Zt.className);return l.createElement(c.ZP,{prefixCls:Ar,iconPrefixCls:$r,direction:At,theme:_r},l.createElement(Ft,{prefixCls:Kr,className:Fr,wrapClassName:x()({[`${yt}-centered`]:!!Zt.centered},Qr),onCancel:()=>{Tt==null||Tt({triggerCancel:!0}),vt==null||vt(!1)},open:Ke,title:"",footer:null,transitionName:(0,p.m)(Ar||"","zoom",Zt.transitionName),maskTransitionName:(0,p.m)(Ar||"","fade",Zt.maskTransitionName),mask:yr,maskClosable:ot,maskStyle:kr,style:Cr,bodyStyle:Ur,width:jt,zIndex:ke,afterClose:St,keyboard:gt,centered:Rt,getContainer:Be,closable:sn,closeIcon:cn,modalRender:ur,focusTriggerAfterClose:Lt},l.createElement(Xe,Object.assign({},Zt,{confirmPrefixCls:yt}))))},bt=[],ht=function(Zt,Tt){var ke={};for(var St in Zt)Object.prototype.hasOwnProperty.call(Zt,St)&&Tt.indexOf(St)<0&&(ke[St]=Zt[St]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(Zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,St[be])&&(ke[St[be]]=Zt[St[be]]);return ke};let Je="";function Ue(){return Je}function ge(Zt){const Tt=document.createDocumentFragment();let ke=Object.assign(Object.assign({},Zt),{close:gt,open:!0}),St;function be(){for(var Be=arguments.length,kr=new Array(Be),At=0;At<Be;At++)kr[At]=arguments[At];const Kr=kr.some(Qr=>Qr&&Qr.triggerCancel);Zt.onCancel&&Kr&&Zt.onCancel.apply(Zt,[()=>{}].concat((0,r.Z)(kr.slice(1))));for(let Qr=0;Qr<bt.length;Qr++)if(bt[Qr]===gt){bt.splice(Qr,1);break}(0,i.v)(Tt)}function Ke(Be){var{okText:kr,cancelText:At,prefixCls:Kr,getContainer:Qr}=Be,Ar=ht(Be,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(St),St=setTimeout(()=>{const $r=(0,F.A)(),{getPrefixCls:_r,getIconPrefixCls:Ur,getTheme:sn}=(0,c.w6)(),cn=_r(void 0,Ue()),ur=Kr||`${cn}-modal`,Lt=Ur(),vt=sn();let yt=Qr;yt===!1&&(yt=void 0),(0,i.s)(l.createElement(zt,Object.assign({},Ar,{getContainer:yt,prefixCls:ur,rootPrefixCls:cn,iconPrefixCls:Lt,okText:kr,locale:$r,theme:vt,cancelText:At||$r.cancelText})),Tt)})}function gt(){for(var Be=arguments.length,kr=new Array(Be),At=0;At<Be;At++)kr[At]=arguments[At];ke=Object.assign(Object.assign({},ke),{open:!1,afterClose:()=>{typeof Zt.afterClose=="function"&&Zt.afterClose(),be.apply(this,kr)}}),ke.visible&&delete ke.visible,Ke(ke)}function Rt(Be){typeof Be=="function"?ke=Be(ke):ke=Object.assign(Object.assign({},ke),Be),Ke(ke)}return Ke(ke),bt.push(gt),{destroy:gt,update:Rt}}function Ae(Zt){return Object.assign(Object.assign({},Zt),{type:"warning"})}function Me(Zt){return Object.assign(Object.assign({},Zt),{type:"info"})}function $e(Zt){return Object.assign(Object.assign({},Zt),{type:"success"})}function He(Zt){return Object.assign(Object.assign({},Zt),{type:"error"})}function nt(Zt){return Object.assign(Object.assign({},Zt),{type:"confirm"})}function ct(Zt){let{rootPrefixCls:Tt}=Zt;Je=Tt}var Kt=e(53487),Wt=function(Zt,Tt){var ke={};for(var St in Zt)Object.prototype.hasOwnProperty.call(Zt,St)&&Tt.indexOf(St)<0&&(ke[St]=Zt[St]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(Zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,St[be])&&(ke[St[be]]=Zt[St[be]]);return ke};const De=Zt=>{const{prefixCls:Tt,className:ke,closeIcon:St,closable:be,type:Ke,title:gt,children:Rt}=Zt,Be=Wt(Zt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:kr}=l.useContext(G.E_),At=kr(),Kr=Tt||kr("modal"),[,Qr]=(0,de.ZP)(Kr),Ar=`${Kr}-confirm`;let $r={};return Ke?$r={closable:be!=null?be:!1,title:"",footer:"",children:l.createElement(Xe,Object.assign({},Zt,{prefixCls:Kr,confirmPrefixCls:Ar,rootPrefixCls:At,content:Rt}))}:$r={closable:be!=null?be:!0,title:gt,footer:Zt.footer===void 0?l.createElement(q,Object.assign({},Zt)):Zt.footer,children:Rt},l.createElement($.s,Object.assign({prefixCls:Kr,className:x()(Qr,`${Kr}-pure-panel`,Ke&&Ar,Ke&&`${Ar}-${Ke}`,ke)},Be,{closeIcon:M(Kr,St),closable:be},$r))};var Qe=(0,Kt.i)(De);function Vt(){const[Zt,Tt]=l.useState([]),ke=l.useCallback(St=>(Tt(be=>[].concat((0,r.Z)(be),[St])),()=>{Tt(be=>be.filter(Ke=>Ke!==St))}),[]);return[Zt,ke]}var kt=e(31724),Ht=function(Zt,Tt){var ke={};for(var St in Zt)Object.prototype.hasOwnProperty.call(Zt,St)&&Tt.indexOf(St)<0&&(ke[St]=Zt[St]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,St=Object.getOwnPropertySymbols(Zt);be<St.length;be++)Tt.indexOf(St[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,St[be])&&(ke[St[be]]=Zt[St[be]]);return ke};const $t=(Zt,Tt)=>{var ke,{afterClose:St,config:be}=Zt,Ke=Ht(Zt,["afterClose","config"]);const[gt,Rt]=l.useState(!0),[Be,kr]=l.useState(be),{direction:At,getPrefixCls:Kr}=l.useContext(G.E_),Qr=Kr("modal"),Ar=Kr(),$r=()=>{var cn;St(),(cn=Be.afterClose)===null||cn===void 0||cn.call(Be)},_r=function(){Rt(!1);for(var cn=arguments.length,ur=new Array(cn),Lt=0;Lt<cn;Lt++)ur[Lt]=arguments[Lt];const vt=ur.some(yt=>yt&&yt.triggerCancel);Be.onCancel&&vt&&Be.onCancel.apply(Be,[()=>{}].concat((0,r.Z)(ur.slice(1))))};l.useImperativeHandle(Tt,()=>({destroy:_r,update:cn=>{kr(ur=>Object.assign(Object.assign({},ur),cn))}}));const Ur=(ke=Be.okCancel)!==null&&ke!==void 0?ke:Be.type==="confirm",[sn]=(0,y.Z)("Modal",kt.Z.Modal);return l.createElement(zt,Object.assign({prefixCls:Qr,rootPrefixCls:Ar},Be,{close:_r,open:gt,afterClose:$r,okText:Be.okText||(Ur?sn==null?void 0:sn.okText:sn==null?void 0:sn.justOkText),direction:Be.direction||At,cancelText:Be.cancelText||(sn==null?void 0:sn.cancelText)},Ke))};var Ct=l.forwardRef($t);let Yt=0;const Ge=l.memo(l.forwardRef((Zt,Tt)=>{const[ke,St]=Vt();return l.useImperativeHandle(Tt,()=>({patchElement:St}),[]),l.createElement(l.Fragment,null,ke)}));function fe(){const Zt=l.useRef(null),[Tt,ke]=l.useState([]);l.useEffect(()=>{Tt.length&&((0,r.Z)(Tt).forEach(gt=>{gt()}),ke([]))},[Tt]);const St=l.useCallback(Ke=>function(Rt){var Be;Yt+=1;const kr=l.createRef();let At;const Kr=new Promise(Ur=>{At=Ur});let Qr=!1,Ar;const $r=l.createElement(Ct,{key:`modal-${Yt}`,config:Ke(Rt),ref:kr,afterClose:()=>{Ar==null||Ar()},isSilent:()=>Qr,onConfirm:Ur=>{At(Ur)}});return Ar=(Be=Zt.current)===null||Be===void 0?void 0:Be.patchElement($r),Ar&&bt.push(Ar),{destroy:()=>{function Ur(){var sn;(sn=kr.current)===null||sn===void 0||sn.destroy()}kr.current?Ur():ke(sn=>[].concat((0,r.Z)(sn),[Ur]))},update:Ur=>{function sn(){var cn;(cn=kr.current)===null||cn===void 0||cn.update(Ur)}kr.current?sn():ke(cn=>[].concat((0,r.Z)(cn),[sn]))},then:Ur=>(Qr=!0,Kr.then(Ur))}},[]);return[l.useMemo(()=>({info:St(Me),success:St($e),error:St(He),warning:St(Ae),confirm:St(nt)}),[]),l.createElement(Ge,{key:"modal-holder",ref:Zt})]}var _e=fe;function Ot(Zt){return ge(Ae(Zt))}const Pe=Ft;Pe.useModal=_e,Pe.info=function(Tt){return ge(Me(Tt))},Pe.success=function(Tt){return ge($e(Tt))},Pe.error=function(Tt){return ge(He(Tt))},Pe.warning=Ot,Pe.warn=Ot,Pe.confirm=function(Tt){return ge(nt(Tt))},Pe.destroyAll=function(){for(;bt.length;){const Tt=bt.pop();Tt&&Tt()}},Pe.config=ct,Pe._InternalPanelDoNotUseOrYouWillBeFired=Qe;var dt=Pe},98044:function(d,g,e){"use strict";e.d(g,{A:function(){return s},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 s(){return i}},73819:function(d,g,e){"use strict";e.d(g,{B4:function(){return p},QA:function(){return h},eh:function(){return y}});var r=e(17313),i=e(1950),l=e(29878),c=e(37613),f=e(83116);function s(_){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({},s("fixed")),{zIndex:_.zIndexPopupBase,height:"100%",backgroundColor:_.colorBgMask,pointerEvents:"none",[`${b}-hidden`]:{display:"none"}}),[`${b}-wrap`]:Object.assign(Object.assign({},s("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}=_,R=`${b}-confirm`;return{[b]:{[`${b}-content`]:{padding:0},[`${b}-header`]:{padding:_.modalHeaderPadding,borderBottom:`${_.modalHeaderBorderWidth}px ${_.modalHeaderBorderStyle} ${_.modalHeaderBorderColorSplit}`,marginBottom:0},[`${b}-body`]:{padding:_.modalBodyPadding},[`${b}-footer`]:{padding:`${_.modalFooterPaddingVertical}px ${_.modalFooterPaddingHorizontal}px`,borderTop:`${_.modalFooterBorderWidth}px ${_.modalFooterBorderStyle} ${_.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${_.borderRadiusLG}px ${_.borderRadiusLG}px`,marginTop:0}},[R]:{[`${S}-modal-body`]:{padding:`${_.padding*2}px ${_.padding*2}px ${_.paddingLG}px`},[`${R}-body`]:{[`> ${_.iconCls}`]:{marginInlineEnd:_.margin,[`+ ${R}-title + ${R}-content`]:{marginInlineStart:_.modalConfirmIconSize+_.margin}}},[`${R}-btns`]:{marginTop:_.marginLG}}}},x=_=>{const{componentCls:b}=_;return{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl",[`${b}-confirm-body`]:{direction:"rtl"}}}}},p=_=>{const b=_.padding,S=_.fontSizeHeading5,R=_.lineHeightHeading5;return(0,c.TS)(_,{modalBodyPadding:_.paddingLG,modalHeaderPadding:`${b}px ${_.paddingLG}px`,modalHeaderBorderWidth:_.lineWidth,modalHeaderBorderStyle:_.lineType,modalHeaderBorderColorSplit:_.colorSplit,modalHeaderHeight:R*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});g.ZP=(0,f.Z)("Modal",_=>{const b=p(_);return[u(b),x(b),h(b),_.wireframe&&a(b),(0,l._y)(b,"zoom")]},y)},28909:function(d,g,e){"use strict";e.d(g,{Z:function(){return ht}});var r=e(59301),i=e(1585),l=e(92736),c=e(29679),f=e(19248),s=e(99267),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(93083),S=e(17313),R=e(83116),L=e(37613),D=Je=>{const{componentCls:Ue,width:ge,notificationMarginEdge:Ae}=Je,Me=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),$e=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),He=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:ge},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${Ue}-top, &${Ue}-bottom`]:{marginInline:0},[`&${Ue}-top`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:Me}},[`&${Ue}-bottom`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:$e}},[`&${Ue}-topLeft, &${Ue}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Ae,[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:He}}}};const B=Je=>{const{iconCls:Ue,componentCls:ge,boxShadow:Ae,fontSizeLG:Me,notificationMarginBottom:$e,borderRadiusLG:He,colorSuccess:nt,colorInfo:ct,colorWarning:Kt,colorError:Wt,colorTextHeading:De,notificationBg:Qe,notificationPadding:Vt,notificationMarginEdge:kt,motionDurationMid:Ht,motionEaseInOut:$t,fontSize:Ct,lineHeight:Yt,width:Ge,notificationIconSize:fe,colorText:_e}=Je,Ot=`${ge}-notice`,Pe=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:Ge},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),dt=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:Je.animationMaxHeight,marginBottom:$e,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),Zt={position:"relative",width:Ge,maxWidth:`calc(100vw - ${kt*2}px)`,marginBottom:$e,marginInlineStart:"auto",padding:Vt,overflow:"hidden",lineHeight:Yt,wordWrap:"break-word",background:Qe,borderRadius:He,boxShadow:Ae,[`${ge}-close-icon`]:{fontSize:Ct,cursor:"pointer"},[`${Ot}-message`]:{marginBottom:Je.marginXS,color:De,fontSize:Me,lineHeight:Je.lineHeightLG},[`${Ot}-description`]:{fontSize:Ct,color:_e},[`&${Ot}-closable ${Ot}-message`]:{paddingInlineEnd:Je.paddingLG},[`${Ot}-with-icon ${Ot}-message`]:{marginBottom:Je.marginXS,marginInlineStart:Je.marginSM+fe,fontSize:Me},[`${Ot}-with-icon ${Ot}-description`]:{marginInlineStart:Je.marginSM+fe,fontSize:Ct},[`${Ot}-icon`]:{position:"absolute",fontSize:fe,lineHeight:0,[`&-success${Ue}`]:{color:nt},[`&-info${Ue}`]:{color:ct},[`&-warning${Ue}`]:{color:Kt},[`&-error${Ue}`]:{color:Wt}},[`${Ot}-close`]:{position:"absolute",top:Je.notificationPaddingVertical,insetInlineEnd:Je.notificationPaddingHorizontal,color:Je.colorIcon,outline:"none",width:Je.notificationCloseButtonSize,height:Je.notificationCloseButtonSize,borderRadius:Je.borderRadiusSM,transition:`background-color ${Je.motionDurationMid}, color ${Je.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:Je.colorIconHover,backgroundColor:Je.wireframe?"transparent":Je.colorFillContent}},[`${Ot}-btn`]:{float:"right",marginTop:Je.marginSM}};return[{[ge]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(Je)),{position:"fixed",zIndex:Je.zIndexPopup,marginInlineEnd:kt,[`${ge}-hook-holder`]:{position:"relative"},[`&${ge}-top, &${ge}-bottom`]:{[Ot]:{marginInline:"auto auto"}},[`&${ge}-topLeft, &${ge}-bottomLeft`]:{[Ot]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${ge}-fade-enter, ${ge}-fade-appear`]:{animationDuration:Je.motionDurationMid,animationTimingFunction:$t,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${ge}-fade-leave`]:{animationTimingFunction:$t,animationFillMode:"both",animationDuration:Ht,animationPlayState:"paused"},[`${ge}-fade-enter${ge}-fade-enter-active, ${ge}-fade-appear${ge}-fade-appear-active`]:{animationName:Pe,animationPlayState:"running"},[`${ge}-fade-leave${ge}-fade-leave-active`]:{animationName:dt,animationPlayState:"running"}}),D(Je)),{"&-rtl":{direction:"rtl",[`${Ot}-btn`]:{float:"left"}}})},{[ge]:{[Ot]:Object.assign({},Zt)}},{[`${Ot}-pure-panel`]:Object.assign(Object.assign({},Zt),{margin:0})}]};var $=(0,R.Z)("Notification",Je=>{const Ue=Je.paddingMD,ge=Je.paddingLG,Ae=(0,L.TS)(Je,{notificationBg:Je.colorBgElevated,notificationPaddingVertical:Ue,notificationPaddingHorizontal:ge,notificationIconSize:Je.fontSizeLG*Je.lineHeightLG,notificationCloseButtonSize:Je.controlHeightLG*.55,notificationMarginBottom:Je.margin,notificationPadding:`${Je.paddingMD}px ${Je.paddingContentHorizontalLG}px`,notificationMarginEdge:Je.marginLG,animationMaxHeight:150});return[B(Ae)]},Je=>({zIndexPopup:Je.zIndexPopupBase+50,width:384})),U=function(Je,Ue){var ge={};for(var Ae in Je)Object.prototype.hasOwnProperty.call(Je,Ae)&&Ue.indexOf(Ae)<0&&(ge[Ae]=Je[Ae]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ae=Object.getOwnPropertySymbols(Je);Me<Ae.length;Me++)Ue.indexOf(Ae[Me])<0&&Object.prototype.propertyIsEnumerable.call(Je,Ae[Me])&&(ge[Ae[Me]]=Je[Ae[Me]]);return ge};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 K(Je,Ue){return Ue===null||Ue===!1?null:Ue||r.createElement("span",{className:`${Je}-close-x`},r.createElement(s.Z,{className:`${Je}-close-icon`}))}const G={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},oe=Je=>{const{prefixCls:Ue,icon:ge,type:Ae,message:Me,description:$e,btn:He,role:nt="alert"}=Je;let ct=null;return ge?ct=r.createElement("span",{className:`${Ue}-icon`},ge):Ae&&(ct=r.createElement(G[Ae]||null,{className:p()(`${Ue}-icon`,`${Ue}-icon-${Ae}`)})),r.createElement("div",{className:p()({[`${Ue}-with-icon`]:ct}),role:nt},ct,r.createElement("div",{className:`${Ue}-message`},Me),r.createElement("div",{className:`${Ue}-description`},$e),He&&r.createElement("div",{className:`${Ue}-btn`},He))};var le=Je=>{const{prefixCls:Ue,className:ge,icon:Ae,type:Me,message:$e,description:He,btn:nt,closable:ct=!0,closeIcon:Kt}=Je,Wt=U(Je,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:De}=r.useContext(_.E_),Qe=Ue||De("notification"),Vt=`${Qe}-notice`,[,kt]=$(Qe);return r.createElement(y.qX,Object.assign({},Wt,{prefixCls:Qe,className:p()(ge,kt,`${Vt}-pure-panel`),eventKey:"pure",duration:null,closable:ct,closeIcon:K(Qe,Kt),content:r.createElement(oe,{prefixCls:Vt,icon:Ae,type:Me,message:$e,description:He,btn:nt})}))};function Q(Je,Ue,ge){let Ae;switch(Je){case"top":Ae={left:"50%",transform:"translateX(-50%)",right:"auto",top:Ue,bottom:"auto"};break;case"topLeft":Ae={left:0,top:Ue,bottom:"auto"};break;case"topRight":Ae={right:0,top:Ue,bottom:"auto"};break;case"bottom":Ae={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ge};break;case"bottomLeft":Ae={left:0,top:"auto",bottom:ge};break;default:Ae={right:0,top:"auto",bottom:ge};break}return Ae}function J(Je){return{motionName:`${Je}-fade`}}var Y=function(Je,Ue){var ge={};for(var Ae in Je)Object.prototype.hasOwnProperty.call(Je,Ae)&&Ue.indexOf(Ae)<0&&(ge[Ae]=Je[Ae]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ae=Object.getOwnPropertySymbols(Je);Me<Ae.length;Me++)Ue.indexOf(Ae[Me])<0&&Object.prototype.propertyIsEnumerable.call(Je,Ae[Me])&&(ge[Ae[Me]]=Je[Ae[Me]]);return ge};const ue=24,ne=4.5,ee="topRight",ie=Je=>{let{children:Ue,prefixCls:ge}=Je;const[,Ae]=$(ge);return r.createElement(y.JB,{classNames:{list:Ae,notice:Ae}},Ue)},F=(Je,Ue)=>{let{prefixCls:ge,key:Ae}=Ue;return r.createElement(ie,{prefixCls:ge,key:Ae},Je)},M=r.forwardRef((Je,Ue)=>{const{top:ge,bottom:Ae,prefixCls:Me,getContainer:$e,maxCount:He,rtl:nt,onAllRemoved:ct}=Je,{getPrefixCls:Kt,getPopupContainer:Wt,notification:De}=r.useContext(_.E_),Qe=Me||Kt("notification"),Vt=Yt=>Q(Yt,ge!=null?ge:ue,Ae!=null?Ae:ue),kt=()=>p()({[`${Qe}-rtl`]:nt}),Ht=()=>J(Qe),[$t,Ct]=(0,y.lm)({prefixCls:Qe,style:Vt,className:kt,motion:Ht,closable:!0,closeIcon:K(Qe),duration:ne,getContainer:()=>($e==null?void 0:$e())||(Wt==null?void 0:Wt())||document.body,maxCount:He,onAllRemoved:ct,renderNotifications:F});return r.useImperativeHandle(Ue,()=>Object.assign(Object.assign({},$t),{prefixCls:Qe,notification:De})),Ct});function q(Je){const Ue=r.useRef(null);return[r.useMemo(()=>{const Ae=nt=>{var ct;if(!Ue.current)return;const{open:Kt,prefixCls:Wt,notification:De}=Ue.current,Qe=`${Wt}-notice`,{message:Vt,description:kt,icon:Ht,type:$t,btn:Ct,className:Yt,style:Ge,role:fe="alert",closeIcon:_e}=nt,Ot=Y(nt,["message","description","icon","type","btn","className","style","role","closeIcon"]),Pe=K(Qe,_e);return Kt(Object.assign(Object.assign({placement:(ct=Je==null?void 0:Je.placement)!==null&&ct!==void 0?ct:ee},Ot),{content:r.createElement(oe,{prefixCls:Qe,icon:Ht,type:$t,message:Vt,description:kt,btn:Ct,role:fe}),className:p()($t&&`${Qe}-${$t}`,Yt,De==null?void 0:De.className),style:Object.assign(Object.assign({},De==null?void 0:De.style),Ge),closeIcon:Pe,closable:!!Pe}))},$e={open:Ae,destroy:nt=>{var ct,Kt;nt!==void 0?(ct=Ue.current)===null||ct===void 0||ct.close(nt):(Kt=Ue.current)===null||Kt===void 0||Kt.destroy()}};return["success","info","warning","error"].forEach(nt=>{$e[nt]=ct=>Ae(Object.assign(Object.assign({},ct),{type:nt}))}),$e},[]),r.createElement(M,Object.assign({key:"notification-holder"},Je,{ref:Ue}))]}function de(Je){return q(Je)}let Ee=null,Ce=Je=>Je(),je=[],Fe={};function Ft(){const{prefixCls:Je,getContainer:Ue,rtl:ge,maxCount:Ae,top:Me,bottom:$e}=Fe,He=Je!=null?Je:(0,l.w6)().getPrefixCls("notification"),nt=(Ue==null?void 0:Ue())||document.body;return{prefixCls:He,getContainer:()=>nt,rtl:ge,maxCount:Ae,top:Me,bottom:$e}}const _t=r.forwardRef((Je,Ue)=>{const[ge,Ae]=r.useState(Ft),[Me,$e]=q(ge),He=(0,l.w6)(),nt=He.getRootPrefixCls(),ct=He.getIconPrefixCls(),Kt=He.getTheme(),Wt=()=>{Ae(Ft)};return r.useEffect(Wt,[]),r.useImperativeHandle(Ue,()=>{const De=Object.assign({},Me);return Object.keys(De).forEach(Qe=>{De[Qe]=function(){return Wt(),Me[Qe].apply(Me,arguments)}}),{instance:De,sync:Wt}}),r.createElement(l.ZP,{prefixCls:nt,iconPrefixCls:ct,theme:Kt},$e)});function Pt(){if(!Ee){const Je=document.createDocumentFragment(),Ue={fragment:Je};Ee=Ue,Ce(()=>{(0,i.s)(r.createElement(_t,{ref:ge=>{const{instance:Ae,sync:Me}=ge||{};Promise.resolve().then(()=>{!Ue.instance&&Ae&&(Ue.instance=Ae,Ue.sync=Me,Pt())})}}),Je)});return}Ee.instance&&(je.forEach(Je=>{switch(Je.type){case"open":{Ce(()=>{Ee.instance.open(Object.assign(Object.assign({},Fe),Je.config))});break}case"destroy":Ce(()=>{Ee==null||Ee.instance.destroy(Je.key)});break}}),je=[])}function Qt(Je){Fe=Object.assign(Object.assign({},Fe),Je),Ce(()=>{var Ue;(Ue=Ee==null?void 0:Ee.sync)===null||Ue===void 0||Ue.call(Ee)})}function er(Je){je.push({type:"open",config:Je}),Pt()}function Jt(Je){je.push({type:"destroy",key:Je}),Pt()}const Xe=["success","info","warning","error"],zt={open:er,destroy:Jt,config:Qt,useNotification:de,_InternalPanelDoNotUseOrYouWillBeFired:le};Xe.forEach(Je=>{zt[Je]=Ue=>er(Object.assign(Object.assign({},Ue),{type:Je}))});const st=()=>{};let bt=null;var ht=zt},95237:function(d,g,e){"use strict";var r=e(27382);g.Z=r.Z},33234:function(d,g,e){"use strict";e.d(g,{BR:function(){return p},ri:function(){return x}});var r=e(92310),i=e.n(r),l=e(11592),c=e(59301),f=e(36355),s=e(19716),h=e(2856),u=function(b,S){var R={};for(var L in b)Object.prototype.hasOwnProperty.call(b,L)&&S.indexOf(L)<0&&(R[L]=b[L]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,L=Object.getOwnPropertySymbols(b);T<L.length;T++)S.indexOf(L[T])<0&&Object.prototype.propertyIsEnumerable.call(b,L[T])&&(R[L[T]]=b[L[T]]);return R};const a=c.createContext(null),x=(b,S)=>{const R=c.useContext(a),L=c.useMemo(()=>{if(!R)return"";const{compactDirection:T,isFirstItem:D,isLastItem:B}=R,$=T==="vertical"?"-vertical-":"-";return i()(`${b}-compact${$}item`,{[`${b}-compact${$}first-item`]:D,[`${b}-compact${$}last-item`]:B,[`${b}-compact${$}item-rtl`]:S==="rtl"})},[b,S,R]);return{compactSize:R==null?void 0:R.compactSize,compactDirection:R==null?void 0:R.compactDirection,compactItemClassnames:L}},p=b=>{let{children:S}=b;return c.createElement(a.Provider,{value:null},S)},y=b=>{var{children:S}=b,R=u(b,["children"]);return c.createElement(a.Provider,{value:R},S)},_=b=>{const{getPrefixCls:S,direction:R}=c.useContext(f.E_),{size:L,direction:T,block:D,prefixCls:B,className:$,rootClassName:U,children:V}=b,K=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),G=(0,s.Z)(ne=>L!=null?L:ne),oe=S("space-compact",B),[ae,le]=(0,h.Z)(oe),Q=i()(oe,le,{[`${oe}-rtl`]:R==="rtl",[`${oe}-block`]:D,[`${oe}-vertical`]:T==="vertical"},$,U),J=c.useContext(a),Y=(0,l.Z)(V),ue=c.useMemo(()=>Y.map((ne,ee)=>{const ie=ne&&ne.key||`${oe}-item-${ee}`;return c.createElement(y,{key:ie,compactSize:G,compactDirection:T,isFirstItem:ee===0&&(!J||(J==null?void 0:J.isFirstItem)),isLastItem:ee===Y.length-1&&(!J||(J==null?void 0:J.isLastItem))},ne)}),[L,Y,J]);return Y.length===0?null:ae(c.createElement("div",Object.assign({className:Q},K),ue))};g.ZP=_},2856:function(d,g,e){"use strict";e.d(g,{Z:function(){return h}});var r=e(83116),i=e(37613),c=u=>{const{componentCls:a}=u;return{[a]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};const f=u=>{const{componentCls:a}=u;return{[a]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${a}-item:empty`]:{display:"none"}}}},s=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),s(a),c(a)]},()=>({}),{resetStyle:!1})},71418:function(d,g,e){"use strict";e.d(g,{Z:function(){return V}});var r=e(92310),i=e.n(r),l=e(2738),c=e(59301),f=e(53280),s=e(92343),h=e(36355),u=e(93083),a=e(17313),x=e(83116),p=e(37613);const y=new u.Keyframes("antSpinMove",{to:{opacity:1}}),_=new u.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),b=K=>({[`${K.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(K)),{position:"absolute",display:"none",color:K.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${K.motionDurationSlow} ${K.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${K.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:K.contentHeight,[`${K.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-K.dotSize/2},[`${K.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(K.dotSize-K.fontSize)/2+2,textShadow:`0 1px 2px ${K.colorBgContainer}`,fontSize:K.fontSize},[`&${K.componentCls}-show-text ${K.componentCls}-dot`]:{marginTop:-(K.dotSize/2)-10},"&-sm":{[`${K.componentCls}-dot`]:{margin:-K.dotSizeSM/2},[`${K.componentCls}-text`]:{paddingTop:(K.dotSizeSM-K.fontSize)/2+2},[`&${K.componentCls}-show-text ${K.componentCls}-dot`]:{marginTop:-(K.dotSizeSM/2)-10}},"&-lg":{[`${K.componentCls}-dot`]:{margin:-(K.dotSizeLG/2)},[`${K.componentCls}-text`]:{paddingTop:(K.dotSizeLG-K.fontSize)/2+2},[`&${K.componentCls}-show-text ${K.componentCls}-dot`]:{marginTop:-(K.dotSizeLG/2)-10}}},[`${K.componentCls}-container`]:{position:"relative",transition:`opacity ${K.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:K.colorBgContainer,opacity:0,transition:`all ${K.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${K.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:K.spinDotDefault},[`${K.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:K.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(K.dotSize-K.marginXXS/2)/2,height:(K.dotSize-K.marginXXS/2)/2,backgroundColor:K.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 ${K.componentCls}-dot`]:{fontSize:K.dotSizeSM,i:{width:(K.dotSizeSM-K.marginXXS/2)/2,height:(K.dotSizeSM-K.marginXXS/2)/2}},[`&-lg ${K.componentCls}-dot`]:{fontSize:K.dotSizeLG,i:{width:(K.dotSizeLG-K.marginXXS)/2,height:(K.dotSizeLG-K.marginXXS)/2}},[`&${K.componentCls}-show-text ${K.componentCls}-text`]:{display:"block"}})});var S=(0,x.Z)("Spin",K=>{const G=(0,p.TS)(K,{spinDotDefault:K.colorTextDescription});return[b(G)]},K=>({contentHeight:400,dotSize:K.controlHeightLG/2,dotSizeSM:K.controlHeightLG*.35,dotSizeLG:K.controlHeight})),R=function(K,G){var oe={};for(var ae in K)Object.prototype.hasOwnProperty.call(K,ae)&&G.indexOf(ae)<0&&(oe[ae]=K[ae]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ae=Object.getOwnPropertySymbols(K);le<ae.length;le++)G.indexOf(ae[le])<0&&Object.prototype.propertyIsEnumerable.call(K,ae[le])&&(oe[ae[le]]=K[ae[le]]);return oe};const L=null;let T=null;function D(K,G){const{indicator:oe}=G,ae=`${K}-dot`;return oe===null?null:(0,s.l$)(oe)?(0,s.Tm)(oe,{className:i()(oe.props.className,ae)}):(0,s.l$)(T)?(0,s.Tm)(T,{className:i()(T.props.className,ae)}):c.createElement("span",{className:i()(ae,`${K}-dot-spin`)},c.createElement("i",{className:`${K}-dot-item`,key:1}),c.createElement("i",{className:`${K}-dot-item`,key:2}),c.createElement("i",{className:`${K}-dot-item`,key:3}),c.createElement("i",{className:`${K}-dot-item`,key:4}))}function B(K,G){return!!K&&!!G&&!isNaN(Number(G))}const $=K=>{const{spinPrefixCls:G,spinning:oe=!0,delay:ae=0,className:le,rootClassName:Q,size:J="default",tip:Y,wrapperClassName:ue,style:ne,children:ee,hashId:ie}=K,F=R(K,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[M,q]=c.useState(()=>oe&&!B(oe,ae));c.useEffect(()=>{if(oe){const Qt=(0,f.D)(ae,()=>{q(!0)});return Qt(),()=>{var er;(er=Qt==null?void 0:Qt.cancel)===null||er===void 0||er.call(Qt)}}q(!1)},[ae,oe]);const de=c.useMemo(()=>typeof ee!="undefined",[ee]),{direction:Ee,spin:Ce}=c.useContext(h.E_),je=i()(G,Ce==null?void 0:Ce.className,{[`${G}-sm`]:J==="small",[`${G}-lg`]:J==="large",[`${G}-spinning`]:M,[`${G}-show-text`]:!!Y,[`${G}-rtl`]:Ee==="rtl"},le,Q,ie),Fe=i()(`${G}-container`,{[`${G}-blur`]:M}),Ft=(0,l.Z)(F,["indicator","prefixCls"]),_t=Object.assign(Object.assign({},Ce==null?void 0:Ce.style),ne),Pt=c.createElement("div",Object.assign({},Ft,{style:_t,className:je,"aria-live":"polite","aria-busy":M}),D(G,K),Y&&de?c.createElement("div",{className:`${G}-text`},Y):null);return de?c.createElement("div",Object.assign({},Ft,{className:i()(`${G}-nested-loading`,ue,ie)}),M&&c.createElement("div",{key:"loading"},Pt),c.createElement("div",{className:Fe,key:"container"},ee)):Pt},U=K=>{const{prefixCls:G}=K,{getPrefixCls:oe}=c.useContext(h.E_),ae=oe("spin",G),[le,Q]=S(ae),J=Object.assign(Object.assign({},K),{spinPrefixCls:ae,hashId:Q});return le(c.createElement($,Object.assign({},J)))};U.setDefaultIndicator=K=>{T=K};var V=U},74207:function(d,g,e){"use strict";e.d(g,{c:function(){return l}});function r(c,f,s){const{focusElCls:h,focus:u,borderElCls:a}=s,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,s){const{borderElCls:h}=s,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:s}=c,h=`${s}-compact`;return{[h]:Object.assign(Object.assign({},r(c,h,f)),i(s,h,f))}}},17313:function(d,g,e){"use strict";e.d(g,{Lx:function(){return f},Qy:function(){return u},Ro:function(){return l},Wf:function(){return i},dF:function(){return c},du:function(){return s},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"}}}),s=(a,x)=>{const{fontFamily:p,fontSize:y}=a,_=`[class^="${x}"], [class*=" ${x}"]`;return{[_]:{fontFamily:p,fontSize:y,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[_]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},h=a=>({outline:`${a.lineWidthFocus}px solid ${a.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=a=>({"&:focus-visible":Object.assign({},h(a))})},1950:function(d,g,e){"use strict";e.d(g,{J$:function(){return f}});var r=e(93083),i=e(95406);const l=new r.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),c=new r.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),f=function(s){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:u}=s,a=`${u}-fade`,x=h?"&":"";return[(0,i.R)(a,l,c,s.motionDurationMid,h),{[`
|
|
|
${x}${a}-enter,
|
|
|
${x}${a}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:"linear"},[`${x}${a}-leave`]:{animationTimingFunction:"linear"}}]}},95406:function(d,g,e){"use strict";e.d(g,{R:function(){return l}});const r=c=>({animationDuration:c,animationFillMode:"both"}),i=c=>({animationDuration:c,animationFillMode:"both"}),l=function(c,f,s,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:s,animationPlayState:"running",pointerEvents:"none"}}}},29878:function(d,g,e){"use strict";e.d(g,{_y:function(){return R},kr:function(){return l}});var r=e(93083),i=e(95406);const l=new r.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),c=new r.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),f=new r.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=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:s},"zoom-big-fast":{inKeyframes:f,outKeyframes:s},"zoom-left":{inKeyframes:a,outKeyframes:x},"zoom-right":{inKeyframes:p,outKeyframes:y},"zoom-up":{inKeyframes:h,outKeyframes:u},"zoom-down":{inKeyframes:_,outKeyframes:b}},R=(L,T)=>{const{antCls:D}=L,B=`${D}-${T}`,{inKeyframes:$,outKeyframes:U}=S[T];return[(0,i.R)(B,$,U,T==="zoom-big-fast"?L.motionDurationFast:L.motionDurationMid),{[`
|
|
|
${B}-enter,
|
|
|
${B}-appear
|
|
|
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:L.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${B}-leave`]:{animationTimingFunction:L.motionEaseInOutCirc}}]}},19447:function(d,g,e){"use strict";e.d(g,{ZP:function(){return f},fS:function(){return l},qN:function(){return i}});var r=e(47585);const i=8;function l(s){const h=i,{contentRadius:u,limitVerticalRadius:a}=s,x=u>12?u+2:12;return{dropdownArrowOffset:x,dropdownArrowOffsetVertical:a?h:x}}function c(s,h){return s?h:{}}function f(s,h){const{componentCls:u,sizePopupArrow:a,borderRadiusXS:x,borderRadiusOuter:p,boxShadowPopoverArrow:y}=s,{colorBg:_,contentRadius:b=s.borderRadiusLG,limitVerticalRadius:S,arrowDistance:R=0,arrowPlacement:L={left:!0,right:!0,top:!0,bottom:!0}}=h,{dropdownArrowOffsetVertical:T,dropdownArrowOffset:D}=l({contentRadius:b,limitVerticalRadius:S});return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.r)(a,x,p,_,y)),{"&:before":{background:_}})]},c(!!L.top,{[[`&-placement-top ${u}-arrow`,`&-placement-topLeft ${u}-arrow`,`&-placement-topRight ${u}-arrow`].join(",")]:{bottom:R,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:D}},[`&-placement-topRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),c(!!L.bottom,{[[`&-placement-bottom ${u}-arrow`,`&-placement-bottomLeft ${u}-arrow`,`&-placement-bottomRight ${u}-arrow`].join(",")]:{top:R,transform:"translateY(-100%)"},[`&-placement-bottom ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:D}},[`&-placement-bottomRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),c(!!L.left,{[[`&-placement-left ${u}-arrow`,`&-placement-leftTop ${u}-arrow`,`&-placement-leftBottom ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:R},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${u}-arrow`]:{top:T},[`&-placement-leftBottom ${u}-arrow`]:{bottom:T}})),c(!!L.right,{[[`&-placement-right ${u}-arrow`,`&-placement-rightTop ${u}-arrow`,`&-placement-rightBottom ${u}-arrow`].join(",")]:{left:{_skip_check_:!0,value:R},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${u}-arrow`]:{top:T},[`&-placement-rightBottom ${u}-arrow`]:{bottom:T}}))}}},47585:function(d,g,e){"use strict";e.d(g,{r:function(){return r}});const r=(i,l,c,f,s)=>{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=_,R=2*h-x,L=p,T=2*h-u,D=a,B=h*Math.sqrt(2)+c*(Math.sqrt(2)-2),$=c*(Math.sqrt(2)-1);return{pointerEvents:"none",width:i,height:i,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:i,height:i/2,background:f,clipPath:{_multi_value_:!0,value:[`polygon(${$}px 100%, 50% ${$}px, ${2*h-$}px 100%, ${$}px 100%)`,`path('M ${u} ${a} A ${c} ${c} 0 0 0 ${x} ${p} L ${y} ${_} A ${l} ${l} 0 0 1 ${b} ${S} L ${R} ${L} A ${c} ${c} 0 0 0 ${T} ${D} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:B,height:B,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${l}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:s,zIndex:0,background:"transparent"}}}},45246:function(d,g,e){"use strict";e.d(g,{Mj:function(){return V},u_:function(){return U},uH:function(){return $}});var r=e(93083),i=e(59301),l=e(93398),f=K=>{const{controlHeight:G}=K;return{controlHeightSM:G*.75,controlHeightXS:G*.5,controlHeightLG:G*1.25}};function s(K){const{sizeUnit:G,sizeStep:oe}=K;return{sizeXXL:G*(oe+8),sizeXL:G*(oe+4),sizeLG:G*(oe+2),sizeMD:G*(oe+1),sizeMS:G*oe,size:G*oe,sizeSM:G*(oe-1),sizeXS:G*(oe-2),sizeXXS:G*(oe-3)}}var h=e(34117),u=e(64993);function a(K,G){let{generateColorPalettes:oe,generateNeutralColorPalettes:ae}=G;const{colorSuccess:le,colorWarning:Q,colorError:J,colorInfo:Y,colorPrimary:ue,colorBgBase:ne,colorTextBase:ee}=K,ie=oe(ue),F=oe(le),M=oe(Q),q=oe(J),de=oe(Y),Ee=ae(ne,ee),Ce=K.colorLink||K.colorInfo,je=oe(Ce);return Object.assign(Object.assign({},Ee),{colorPrimaryBg:ie[1],colorPrimaryBgHover:ie[2],colorPrimaryBorder:ie[3],colorPrimaryBorderHover:ie[4],colorPrimaryHover:ie[5],colorPrimary:ie[6],colorPrimaryActive:ie[7],colorPrimaryTextHover:ie[8],colorPrimaryText:ie[9],colorPrimaryTextActive:ie[10],colorSuccessBg:F[1],colorSuccessBgHover:F[2],colorSuccessBorder:F[3],colorSuccessBorderHover:F[4],colorSuccessHover:F[4],colorSuccess:F[6],colorSuccessActive:F[7],colorSuccessTextHover:F[8],colorSuccessText:F[9],colorSuccessTextActive:F[10],colorErrorBg:q[1],colorErrorBgHover:q[2],colorErrorBorder:q[3],colorErrorBorderHover:q[4],colorErrorHover:q[5],colorError:q[6],colorErrorActive:q[7],colorErrorTextHover:q[8],colorErrorText:q[9],colorErrorTextActive:q[10],colorWarningBg:M[1],colorWarningBgHover:M[2],colorWarningBorder:M[3],colorWarningBorderHover:M[4],colorWarningHover:M[4],colorWarning:M[6],colorWarningActive:M[7],colorWarningTextHover:M[8],colorWarningText:M[9],colorWarningTextActive:M[10],colorInfoBg:de[1],colorInfoBgHover:de[2],colorInfoBorder:de[3],colorInfoBorderHover:de[4],colorInfoHover:de[4],colorInfo:de[6],colorInfoActive:de[7],colorInfoTextHover:de[8],colorInfoText:de[9],colorInfoTextActive:de[10],colorLinkHover:je[4],colorLink:je[6],colorLinkActive:je[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=K=>{let G=K,oe=K,ae=K,le=K;return K<6&&K>=5?G=K+1:K<16&&K>=6?G=K+2:K>=16&&(G=16),K<7&&K>=5?oe=4:K<8&&K>=7?oe=5:K<14&&K>=8?oe=6:K<16&&K>=14?oe=7:K>=16&&(oe=8),K<6&&K>=2?ae=1:K>=6&&(ae=2),K>4&&K<8?le=4:K>=8&&(le=6),{borderRadius:K>16?16:K,borderRadiusXS:ae,borderRadiusSM:oe,borderRadiusLG:G,borderRadiusOuter:le}};function y(K){const{motionUnit:G,motionBase:oe,borderRadius:ae,lineWidth:le}=K;return Object.assign({motionDurationFast:`${(oe+G).toFixed(1)}s`,motionDurationMid:`${(oe+G*2).toFixed(1)}s`,motionDurationSlow:`${(oe+G*3).toFixed(1)}s`,lineWidthBold:le+1},p(ae))}const _=(K,G)=>new u.C(K).setAlpha(G).toRgbString(),b=(K,G)=>new u.C(K).darken(G).toHexString(),S=K=>{const G=(0,l.generate)(K);return{1:G[0],2:G[1],3:G[2],4:G[3],5:G[4],6:G[5],7:G[6],8:G[4],9:G[5],10:G[6]}},R=(K,G)=>{const oe=K||"#fff",ae=G||"#000";return{colorBgBase:oe,colorTextBase:ae,colorText:_(ae,.88),colorTextSecondary:_(ae,.65),colorTextTertiary:_(ae,.45),colorTextQuaternary:_(ae,.25),colorFill:_(ae,.15),colorFillSecondary:_(ae,.06),colorFillTertiary:_(ae,.04),colorFillQuaternary:_(ae,.02),colorBgLayout:b(oe,4),colorBgContainer:b(oe,0),colorBgElevated:b(oe,0),colorBgSpotlight:_(ae,.85),colorBorder:b(oe,15),colorBorderSecondary:b(oe,6)}};function L(K){const G=new Array(10).fill(null).map((oe,ae)=>{const le=ae-1,Q=K*Math.pow(2.71828,le/5),J=ae>1?Math.floor(Q):Math.ceil(Q);return Math.floor(J/2)*2});return G[1]=K,G.map(oe=>{const ae=oe+8;return{size:oe,lineHeight:ae/oe}})}var D=K=>{const G=L(K),oe=G.map(le=>le.size),ae=G.map(le=>le.lineHeight);return{fontSizeSM:oe[0],fontSize:oe[1],fontSizeLG:oe[2],fontSizeXL:oe[3],fontSizeHeading1:oe[6],fontSizeHeading2:oe[5],fontSizeHeading3:oe[4],fontSizeHeading4:oe[3],fontSizeHeading5:oe[2],lineHeight:ae[1],lineHeightLG:ae[2],lineHeightSM:ae[0],lineHeightHeading1:ae[6],lineHeightHeading2:ae[5],lineHeightHeading3:ae[4],lineHeightHeading4:ae[3],lineHeightHeading5:ae[2]}};function B(K){const G=Object.keys(h.M).map(oe=>{const ae=(0,l.generate)(K[oe]);return new Array(10).fill(1).reduce((le,Q,J)=>(le[`${oe}-${J+1}`]=ae[J],le[`${oe}${J+1}`]=ae[J],le),{})}).reduce((oe,ae)=>(oe=Object.assign(Object.assign({},oe),ae),oe),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},K),G),a(K,{generateColorPalettes:S,generateNeutralColorPalettes:R})),D(K.fontSize)),s(K)),f(K)),y(K))}const $=(0,r.createTheme)(B),U={token:h.Z,hashed:!0},V=i.createContext(U)},33166:function(d,g,e){"use strict";e.d(g,{i:function(){return r}});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},34117:function(d,g,e){"use strict";e.d(g,{M:function(){return r}});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},i=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
|
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});g.Z=i},88088:function(d,g,e){"use strict";e.d(g,{Z:function(){return S}});var r=e(93083),i=e(59301),l="5.9.0",c=l,f=e(45246),s=e(34117),h=e(64993);function u(R){return R>=0&&R<=255}function a(R,L){const{r:T,g:D,b:B,a:$}=new h.C(R).toRgb();if($<1)return R;const{r:U,g:V,b:K}=new h.C(L).toRgb();for(let G=.01;G<=1;G+=.01){const oe=Math.round((T-U*(1-G))/G),ae=Math.round((D-V*(1-G))/G),le=Math.round((B-K*(1-G))/G);if(u(oe)&&u(ae)&&u(le))return new h.C({r:oe,g:ae,b:le,a:Math.round(G*100)/100}).toRgbString()}return new h.C({r:T,g:D,b:B,a:1}).toRgbString()}var x=a,p=function(R,L){var T={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&L.indexOf(D)<0&&(T[D]=R[D]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(R);B<D.length;B++)L.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(R,D[B])&&(T[D[B]]=R[D[B]]);return T};function y(R){const{override:L}=R,T=p(R,["override"]),D=Object.assign({},L);Object.keys(s.Z).forEach(le=>{delete D[le]});const B=Object.assign(Object.assign({},T),D),$=480,U=576,V=768,K=992,G=1200,oe=1600;if(B.motion===!1){const le="0s";B.motionDurationFast=le,B.motionDurationMid=le,B.motionDurationSlow=le}return Object.assign(Object.assign(Object.assign({},B),{colorFillContent:B.colorFillSecondary,colorFillContentHover:B.colorFill,colorFillAlter:B.colorFillQuaternary,colorBgContainerDisabled:B.colorFillTertiary,colorBorderBg:B.colorBgContainer,colorSplit:x(B.colorBorderSecondary,B.colorBgContainer),colorTextPlaceholder:B.colorTextQuaternary,colorTextDisabled:B.colorTextQuaternary,colorTextHeading:B.colorText,colorTextLabel:B.colorTextSecondary,colorTextDescription:B.colorTextTertiary,colorTextLightSolid:B.colorWhite,colorHighlight:B.colorError,colorBgTextHover:B.colorFillSecondary,colorBgTextActive:B.colorFill,colorIcon:B.colorTextTertiary,colorIconHover:B.colorText,colorErrorOutline:x(B.colorErrorBg,B.colorBgContainer),colorWarningOutline:x(B.colorWarningBg,B.colorBgContainer),fontSizeIcon:B.fontSizeSM,lineWidthFocus:B.lineWidth*4,lineWidth:B.lineWidth,controlOutlineWidth:B.lineWidth*2,controlInteractiveSize:B.controlHeight/2,controlItemBgHover:B.colorFillTertiary,controlItemBgActive:B.colorPrimaryBg,controlItemBgActiveHover:B.colorPrimaryBgHover,controlItemBgActiveDisabled:B.colorFill,controlTmpOutline:B.colorFillQuaternary,controlOutline:x(B.colorPrimaryBg,B.colorBgContainer),lineType:B.lineType,borderRadius:B.borderRadius,borderRadiusXS:B.borderRadiusXS,borderRadiusSM:B.borderRadiusSM,borderRadiusLG:B.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:B.sizeXXS,paddingXS:B.sizeXS,paddingSM:B.sizeSM,padding:B.size,paddingMD:B.sizeMD,paddingLG:B.sizeLG,paddingXL:B.sizeXL,paddingContentHorizontalLG:B.sizeLG,paddingContentVerticalLG:B.sizeMS,paddingContentHorizontal:B.sizeMS,paddingContentVertical:B.sizeSM,paddingContentHorizontalSM:B.size,paddingContentVerticalSM:B.sizeXS,marginXXS:B.sizeXXS,marginXS:B.sizeXS,marginSM:B.sizeSM,margin:B.size,marginMD:B.sizeMD,marginLG:B.sizeLG,marginXL:B.sizeXL,marginXXL:B.sizeXXL,boxShadow:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowSecondary:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowTertiary:`
|
|
|
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
|
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
|
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
|
`,screenXS:$,screenXSMin:$,screenXSMax:U-1,screenSM:U,screenSMMin:U,screenSMMax:V-1,screenMD:V,screenMDMin:V,screenMDMax:K-1,screenLG:K,screenLGMin:K,screenLGMax:G-1,screenXL:G,screenXLMin:G,screenXLMax:oe-1,screenXXL:oe,screenXXLMin:oe,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
|
0 1px 2px -2px ${new h.C("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
|
0 3px 6px 0 ${new h.C("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
|
0 5px 12px 4px ${new h.C("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
|
`,boxShadowDrawerRight:`
|
|
|
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowDrawerLeft:`
|
|
|
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowDrawerUp:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowDrawerDown:`
|
|
|
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),D)}var _=function(R,L){var T={};for(var D in R)Object.prototype.hasOwnProperty.call(R,D)&&L.indexOf(D)<0&&(T[D]=R[D]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,D=Object.getOwnPropertySymbols(R);B<D.length;B++)L.indexOf(D[B])<0&&Object.prototype.propertyIsEnumerable.call(R,D[B])&&(T[D[B]]=R[D[B]]);return T};const b=(R,L,T)=>{const D=T.getDerivativeToken(R),{override:B}=L,$=_(L,["override"]);let U=Object.assign(Object.assign({},D),{override:B});return U=y(U),$&&Object.entries($).forEach(V=>{let[K,G]=V;const{theme:oe}=G,ae=_(G,["theme"]);let le=ae;oe&&(le=b(Object.assign(Object.assign({},U),ae),{override:ae},oe)),U[K]=le}),U};function S(){const{token:R,hashed:L,theme:T,components:D}=i.useContext(f.Mj),B=`${c}-${L||""}`,$=T||f.uH,[U,V]=(0,r.useCacheToken)($,[s.Z,R],{salt:B,override:Object.assign({override:R},D),getComputedToken:b,formatToken:y});return[$,U,L?V:""]}},83116:function(d,g,e){"use strict";e.d(g,{Z:function(){return a},b:function(){return x}});var r=e(59301),i=e(93083),l=e(70425),c=e(36355),f=e(17313),s=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],[R]=S,L=S.join("-");return T=>{const[D,B,$]=(0,s.Z)(),{getPrefixCls:U,iconPrefixCls:V,csp:K}=(0,r.useContext)(c.E_),G=U(),oe={theme:D,token:B,hashId:$,nonce:()=>K==null?void 0:K.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},oe),{clientOnly:!1,path:["Shared",G]}),()=>[{"&":(0,f.Lx)(B)}]),(0,u.Z)(V),[(0,i.useStyleRegister)(Object.assign(Object.assign({},oe),{path:[L,T,V]}),()=>{const{token:ae,flush:le}=(0,h.ZP)(B),Q=Object.assign({},B[R]);if(b.deprecatedTokens){const{deprecatedTokens:ie}=b;ie.forEach(F=>{let[M,q]=F;var de;(Q!=null&&Q[M]||Q!=null&&Q[q])&&((de=Q[q])!==null&&de!==void 0||(Q[q]=Q==null?void 0:Q[M]))})}const J=typeof _=="function"?_((0,h.TS)(ae,Q!=null?Q:{})):_,Y=Object.assign(Object.assign({},J),Q),ue=`.${T}`,ne=(0,h.TS)(ae,{componentCls:ue,prefixCls:T,iconCls:`.${V}`,antCls:`.${G}`},Y),ee=y(ne,{hashId:$,prefixCls:T,rootPrefixCls:G,iconPrefixCls:V,overrideComponentToken:Q});return le(R,Y),[b.resetStyle===!1?null:(0,f.du)(B,T),ee]}),$]}}const x=(p,y,_,b)=>{const S=a(p,y,_,Object.assign({resetStyle:!1,order:-998},b));return L=>{let{prefixCls:T}=L;return S(T),null}}},45157:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(33166);function i(l,c){return r.i.reduce((f,s)=>{const h=l[`${s}1`],u=l[`${s}3`],a=l[`${s}6`],x=l[`${s}7`];return Object.assign(Object.assign({},f),c(s,{lightColor:h,lightBorderColor:u,darkColor:a,textColor:x}))},{})}},37613:function(d,g,e){"use strict";e.d(g,{TS:function(){return l},ZP:function(){return h}});const r=typeof CSSINJS_STATISTIC!="undefined";let i=!0;function l(){for(var u=arguments.length,a=new Array(u),x=0;x<u;x++)a[x]=arguments[x];if(!r)return Object.assign.apply(Object,[{}].concat(a));i=!1;const p={};return a.forEach(y=>{Object.keys(y).forEach(b=>{Object.defineProperty(p,b,{configurable:!0,enumerable:!0,get:()=>y[b]})})}),i=!0,p}const c={},f={};function s(){}function h(u){let a,x=u,p=s;return r&&(a=new Set,x=new Proxy(u,{get(y,_){return i&&a.add(_),y[_]}}),p=(y,_)=>{var b;c[y]={global:Array.from(a),component:Object.assign(Object.assign({},(b=c[y])===null||b===void 0?void 0:b.component),_)}}),{token:x,keys:a,flush:p}}},73040:function(d,g,e){"use strict";var r=e(93083),i=e(17313),l=e(88088);const c=(f,s)=>{const[h,u]=(0,l.Z)();return(0,r.useStyleRegister)({theme:h,token:u,hashId:"",path:["ant-design-icons",f],nonce:()=>s==null?void 0:s.nonce},()=>[{[`.${f}`]:Object.assign(Object.assign({},(0,i.Ro)()),{[`.${f} .${f}-icon`]:{display:"block"}})}])};g.Z=c},67532:function(d,g){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};g.Z=e},6848:function(d,g,e){"use strict";e.d(g,{Z:function(){return le}});var r=e(59301),i=e(92310),l=e.n(i),c=e(55477),f=e(18929),s=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),R=e(37613),L=e(83116);const T=Q=>{const{componentCls:J,tooltipMaxWidth:Y,tooltipColor:ue,tooltipBg:ne,tooltipBorderRadius:ee,zIndexPopup:ie,controlHeight:F,boxShadowSecondary:M,paddingSM:q,paddingXS:de,tooltipRadiusOuter:Ee}=Q;return[{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(Q)),{position:"absolute",zIndex:ie,display:"block",width:"max-content",maxWidth:Y,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":ne,[`${J}-inner`]:{minWidth:F,minHeight:F,padding:`${q/2}px ${de}px`,color:ue,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:ne,borderRadius:ee,boxShadow:M,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${J}-inner`]:{borderRadius:Math.min(ee,b.qN)}},[`${J}-content`]:{position:"relative"}}),(0,S.Z)(Q,(Ce,je)=>{let{darkColor:Fe}=je;return{[`&${J}-${Ce}`]:{[`${J}-inner`]:{backgroundColor:Fe},[`${J}-arrow`]:{"--antd-arrow-background-color":Fe}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,R.TS)(Q,{borderRadiusOuter:Ee}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:ee,limitVerticalRadius:!0}),{[`${J}-pure`]:{position:"relative",maxWidth:"none",margin:Q.sizePopupArrow}}]};var D=(Q,J)=>(0,L.Z)("Tooltip",ue=>{if(J===!1)return[];const{borderRadius:ne,colorTextLightSolid:ee,colorBgDefault:ie,borderRadiusOuter:F}=ue,M=(0,R.TS)(ue,{tooltipMaxWidth:250,tooltipColor:ee,tooltipBorderRadius:ne,tooltipBg:ie,tooltipRadiusOuter:F>4?4:F});return[T(M),(0,_._y)(ue,"zoom-big-fast")]},ue=>{let{zIndexPopupBase:ne,colorBgSpotlight:ee}=ue;return{zIndexPopup:ne+70,colorBgDefault:ee}},{resetStyle:!1})(Q),B=e(36785);function $(Q,J){const Y=(0,B.o2)(J),ue=l()({[`${Q}-${J}`]:J&&Y}),ne={},ee={};return J&&!Y&&(ne.background=J,ee["--antd-arrow-background-color"]=J),{className:ue,overlayStyle:ne,arrowStyle:ee}}var V=Q=>{const{prefixCls:J,className:Y,placement:ue="top",title:ne,color:ee,overlayInnerStyle:ie}=Q,{getPrefixCls:F}=r.useContext(a.E_),M=F("tooltip",J),[q,de]=D(M,!0),Ee=$(M,ee),Ce=Ee.arrowStyle,je=Object.assign(Object.assign({},ie),Ee.overlayStyle),Fe=l()(de,M,`${M}-pure`,`${M}-placement-${ue}`,Y,Ee.className);return q(r.createElement("div",{className:Fe,style:Ce},r.createElement("div",{className:`${M}-arrow`}),r.createElement(c.G,Object.assign({},Q,{className:de,prefixCls:M,overlayInnerStyle:je}),ne)))},K=function(Q,J){var Y={};for(var ue in Q)Object.prototype.hasOwnProperty.call(Q,ue)&&J.indexOf(ue)<0&&(Y[ue]=Q[ue]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,ue=Object.getOwnPropertySymbols(Q);ne<ue.length;ne++)J.indexOf(ue[ne])<0&&Object.prototype.propertyIsEnumerable.call(Q,ue[ne])&&(Y[ue[ne]]=Q[ue[ne]]);return Y};const G=(Q,J)=>{const Y={},ue=Object.assign({},Q);return J.forEach(ne=>{Q&&ne in Q&&(Y[ne]=Q[ne],delete ue[ne])}),{picked:Y,omitted:ue}};function oe(Q,J){const Y=Q.type;if((Y.__ANT_BUTTON===!0||Q.type==="button")&&Q.props.disabled||Y.__ANT_SWITCH===!0&&(Q.props.disabled||Q.props.loading)||Y.__ANT_RADIO===!0&&Q.props.disabled){const{picked:ue,omitted:ne}=G(Q.props.style,["position","left","right","top","bottom","float","display","zIndex"]),ee=Object.assign(Object.assign({display:"inline-block"},ue),{cursor:"not-allowed",width:Q.props.block?"100%":void 0}),ie=Object.assign(Object.assign({},ne),{pointerEvents:"none"}),F=(0,u.Tm)(Q,{style:ie,className:null});return r.createElement("span",{style:ee,className:l()(Q.props.className,`${J}-disabled-compatible-wrapper`)},F)}return Q}const ae=r.forwardRef((Q,J)=>{var Y,ue;const{prefixCls:ne,openClassName:ee,getTooltipContainer:ie,overlayClassName:F,color:M,overlayInnerStyle:q,children:de,afterOpenChange:Ee,afterVisibleChange:Ce,destroyTooltipOnHide:je,arrow:Fe=!0,title:Ft,overlay:_t,builtinPlacements:Pt,arrowPointAtCenter:Qt=!1,autoAdjustOverflow:er=!0}=Q,Jt=!!Fe,[,Xe]=(0,p.Z)(),{getPopupContainer:It,getPrefixCls:zt,direction:st}=r.useContext(a.E_),bt=r.useRef(null),ht=()=>{var ke;(ke=bt.current)===null||ke===void 0||ke.forceAlign()};r.useImperativeHandle(J,()=>({forceAlign:ht,forcePopupAlign:()=>{ht()}}));const[Je,Ue]=(0,f.Z)(!1,{value:(Y=Q.open)!==null&&Y!==void 0?Y:Q.visible,defaultValue:(ue=Q.defaultOpen)!==null&&ue!==void 0?ue:Q.defaultVisible}),ge=!Ft&&!_t&&Ft!==0,Ae=ke=>{var St,be;Ue(ge?!1:ke),ge||((St=Q.onOpenChange)===null||St===void 0||St.call(Q,ke),(be=Q.onVisibleChange)===null||be===void 0||be.call(Q,ke))},Me=r.useMemo(()=>{var ke,St;let be=Qt;return typeof Fe=="object"&&(be=(St=(ke=Fe.pointAtCenter)!==null&&ke!==void 0?ke:Fe.arrowPointAtCenter)!==null&&St!==void 0?St:Qt),Pt||(0,h.Z)({arrowPointAtCenter:be,autoAdjustOverflow:er,arrowWidth:Jt?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius,offset:Xe.marginXXS,visibleFirst:!0})},[Qt,Fe,Pt,Xe]),$e=r.useMemo(()=>Ft===0?Ft:_t||Ft||"",[_t,Ft]),He=r.createElement(x.BR,null,typeof $e=="function"?$e():$e),{getPopupContainer:nt,placement:ct="top",mouseEnterDelay:Kt=.1,mouseLeaveDelay:Wt=.1,overlayStyle:De,rootClassName:Qe}=Q,Vt=K(Q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),kt=zt("tooltip",ne),Ht=zt(),$t=Q["data-popover-inject"];let Ct=Je;!("open"in Q)&&!("visible"in Q)&&ge&&(Ct=!1);const Yt=oe((0,u.l$)(de)&&!(0,u.M2)(de)?de:r.createElement("span",null,de),kt),Ge=Yt.props,fe=!Ge.className||typeof Ge.className=="string"?l()(Ge.className,ee||`${kt}-open`):Ge.className,[_e,Ot]=D(kt,!$t),Pe=$(kt,M),dt=Pe.arrowStyle,Zt=Object.assign(Object.assign({},q),Pe.overlayStyle),Tt=l()(F,{[`${kt}-rtl`]:st==="rtl"},Pe.className,Qe,Ot);return _e(r.createElement(c.Z,Object.assign({},Vt,{showArrow:Jt,placement:ct,mouseEnterDelay:Kt,mouseLeaveDelay:Wt,prefixCls:kt,overlayClassName:Tt,overlayStyle:Object.assign(Object.assign({},dt),De),getTooltipContainer:nt||ie||It,ref:bt,builtinPlacements:Me,overlay:He,visible:Ct,onVisibleChange:Ae,afterVisibleChange:Ee!=null?Ee:Ce,overlayInnerStyle:Zt,arrowContent:r.createElement("span",{className:`${kt}-arrow-content`}),motion:{motionName:(0,s.m)(Ht,"zoom-big-fast",Q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!je}),Ct?(0,u.Tm)(Yt,{className:fe}):Yt))});ae._InternalPanelDoNotUseOrYouWillBeFired=V;var le=ae},11575:function(d,g,e){"use strict";e.d(g,{H:function(){return f}});var r=e(70425),i=e(59301);function l(){}const c=i.createContext({add:l,remove:l});function f(h){const u=i.useContext(c),a=i.useRef();return(0,r.useEvent)(p=>{if(p){const y=h?p.querySelector(h):p;u.add(y),a.current=y}else u.remove(a.current)})}var s=null},67751:function(d){var g={utf8:{stringToBytes:function(e){return g.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(g.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],i=0;i<e.length;i++)r.push(e.charCodeAt(i)&255);return r},bytesToString:function(e){for(var r=[],i=0;i<e.length;i++)r.push(String.fromCharCode(e[i]));return r.join("")}}};d.exports=g},64018:function(){var d,g,e,r=!1,i,l;window.PR_SHOULD_USE_CONTINUATION=!0;var c,f;(function(){var s=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",R=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],L=[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"],T=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],D=[x,y,p,b,S,R,L,T],B=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,$="str",U="kwd",V="com",K="typ",G="lit",oe="pun",ae="pln",le="tag",Q="dec",J="src",Y="atn",ue="atv",ne="nocode",ee="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ie(st){for(var bt=0,ht=!1,Je=!1,Ue=0,ge=st.length;Ue<ge;++Ue){var Ae=st[Ue];if(Ae.ignoreCase)Je=!0;else if(/[a-z]/i.test(Ae.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ht=!0,Je=!1;break}}var Me={b:8,t:9,n:10,v:11,f:12,r:13};function $e(Wt){var De=Wt.charCodeAt(0);if(De!==92)return De;var Qe=Wt.charAt(1);return De=Me[Qe],De||("0"<=Qe&&Qe<="7"?parseInt(Wt.substring(1),8):Qe==="u"||Qe==="x"?parseInt(Wt.substring(2),16):Wt.charCodeAt(1))}function He(Wt){if(Wt<32)return(Wt<16?"\\x0":"\\x")+Wt.toString(16);var De=String.fromCharCode(Wt);return De==="\\"||De==="-"||De==="]"||De==="^"?"\\"+De:De}function nt(Wt){var De=Wt.substring(1,Wt.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Qe=[],Vt=De[0]==="^",kt=["["];Vt&&kt.push("^");for(var Ht=Vt?1:0,$t=De.length;Ht<$t;++Ht){var Ct=De[Ht];if(/\\[bdsw]/i.test(Ct))kt.push(Ct);else{var Yt=$e(Ct),Ge;Ht+2<$t&&De[Ht+1]==="-"?(Ge=$e(De[Ht+2]),Ht+=2):Ge=Yt,Qe.push([Yt,Ge]),Ge<65||Yt>122||(Ge<65||Yt>90||Qe.push([Math.max(65,Yt)|32,Math.min(Ge,90)|32]),Ge<97||Yt>122||Qe.push([Math.max(97,Yt)&-33,Math.min(Ge,122)&-33]))}}Qe.sort(function(Pe,dt){return Pe[0]-dt[0]||dt[1]-Pe[1]});for(var fe=[],_e=[],Ht=0;Ht<Qe.length;++Ht){var Ot=Qe[Ht];Ot[0]<=_e[1]+1?_e[1]=Math.max(_e[1],Ot[1]):fe.push(_e=Ot)}for(var Ht=0;Ht<fe.length;++Ht){var Ot=fe[Ht];kt.push(He(Ot[0])),Ot[1]>Ot[0]&&(Ot[1]+1>Ot[0]&&kt.push("-"),kt.push(He(Ot[1])))}return kt.push("]"),kt.join("")}function ct(Wt){for(var De=Wt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Qe=De.length,Vt=[],kt=0,Ht=0;kt<Qe;++kt){var $t=De[kt];if($t==="(")++Ht;else if($t.charAt(0)==="\\"){var Ct=+$t.substring(1);Ct&&(Ct<=Ht?Vt[Ct]=-1:De[kt]=He(Ct))}}for(var kt=1;kt<Vt.length;++kt)Vt[kt]===-1&&(Vt[kt]=++bt);for(var kt=0,Ht=0;kt<Qe;++kt){var $t=De[kt];if($t==="(")++Ht,Vt[Ht]||(De[kt]="(?:");else if($t.charAt(0)==="\\"){var Ct=+$t.substring(1);Ct&&Ct<=Ht&&(De[kt]="\\"+Vt[Ct])}}for(var kt=0;kt<Qe;++kt)De[kt]==="^"&&De[kt+1]!=="^"&&(De[kt]="");if(Wt.ignoreCase&&ht)for(var kt=0;kt<Qe;++kt){var $t=De[kt],Yt=$t.charAt(0);$t.length>=2&&Yt==="["?De[kt]=nt($t):Yt!=="\\"&&(De[kt]=$t.replace(/[a-zA-Z]/g,function(_e){var Ot=_e.charCodeAt(0);return"["+String.fromCharCode(Ot&-33,Ot|32)+"]"}))}return De.join("")}for(var Kt=[],Ue=0,ge=st.length;Ue<ge;++Ue){var Ae=st[Ue];if(Ae.global||Ae.multiline)throw new Error(""+Ae);Kt.push("(?:"+ct(Ae)+")")}return new RegExp(Kt.join("|"),Je?"gi":"g")}function F(st,bt){var ht=/(?:^|\s)nocode(?:\s|$)/,Je=[],Ue=0,ge=[],Ae=0;function Me($e){var He=$e.nodeType;if(He==1){if(ht.test($e.className))return;for(var nt=$e.firstChild;nt;nt=nt.nextSibling)Me(nt);var ct=$e.nodeName.toLowerCase();(ct==="br"||ct==="li")&&(Je[Ae]=`
|
|
|
`,ge[Ae<<1]=Ue++,ge[Ae++<<1|1]=$e)}else if(He==3||He==4){var Kt=$e.nodeValue;Kt.length&&(bt?Kt=Kt.replace(/\r\n?/g,`
|
|
|
`):Kt=Kt.replace(/[ \t\r\n]+/g," "),Je[Ae]=Kt,ge[Ae<<1]=Ue,Ue+=Kt.length,ge[Ae++<<1|1]=$e)}}return Me(st),{sourceCode:Je.join("").replace(/\n$/,""),spans:ge}}function M(st,bt,ht,Je,Ue){if(ht){var ge={sourceNode:st,pre:1,langExtension:null,numberLines:null,sourceCode:ht,spans:null,basePos:bt,decorations:null};Je(ge),Ue.push.apply(Ue,ge.decorations)}}var q=/\S/;function de(st){for(var bt=void 0,ht=st.firstChild;ht;ht=ht.nextSibling){var Je=ht.nodeType;bt=Je===1?bt?st:ht:Je===3&&q.test(ht.nodeValue)?st:bt}return bt===st?void 0:bt}function Ee(st,bt){var ht={},Je;(function(){for(var Ae=st.concat(bt),Me=[],$e={},He=0,nt=Ae.length;He<nt;++He){var ct=Ae[He],Kt=ct[3];if(Kt)for(var Wt=Kt.length;--Wt>=0;)ht[Kt.charAt(Wt)]=ct;var De=ct[1],Qe=""+De;$e.hasOwnProperty(Qe)||(Me.push(De),$e[Qe]=null)}Me.push(/[\0-\uffff]/),Je=ie(Me)})();var Ue=bt.length,ge=function(Ae){for(var Me=Ae.sourceCode,$e=Ae.basePos,He=Ae.sourceNode,nt=[$e,ae],ct=0,Kt=Me.match(Je)||[],Wt={},De=0,Qe=Kt.length;De<Qe;++De){var Vt=Kt[De],kt=Wt[Vt],Ht=void 0,$t;if(typeof kt=="string")$t=!1;else{var Ct=ht[Vt.charAt(0)];if(Ct)Ht=Vt.match(Ct[1]),kt=Ct[0];else{for(var Yt=0;Yt<Ue;++Yt)if(Ct=bt[Yt],Ht=Vt.match(Ct[1]),Ht){kt=Ct[0];break}Ht||(kt=ae)}$t=kt.length>=5&&kt.substring(0,5)==="lang-",$t&&!(Ht&&typeof Ht[1]=="string")&&($t=!1,kt=J),$t||(Wt[Vt]=kt)}var Ge=ct;if(ct+=Vt.length,!$t)nt.push($e+Ge,kt);else{var fe=Ht[1],_e=Vt.indexOf(fe),Ot=_e+fe.length;Ht[2]&&(Ot=Vt.length-Ht[2].length,_e=Ot-fe.length);var Pe=kt.substring(5);M(He,$e+Ge,Vt.substring(0,_e),ge,nt),M(He,$e+Ge+_e,fe,Qt(Pe,fe),nt),M(He,$e+Ge+Ot,Vt.substring(Ot),ge,nt)}}Ae.decorations=nt};return ge}function Ce(st){var bt=[],ht=[];st.tripleQuotedStrings?bt.push([$,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):st.multiLineStrings?bt.push([$,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):bt.push([$,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),st.verbatimStrings&&ht.push([$,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Je=st.hashComments;Je&&(st.cStyleComments?(Je>1?bt.push([V,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):bt.push([V,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ht.push([$,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):bt.push([V,/^#[^\r\n]*/,null,"#"])),st.cStyleComments&&(ht.push([V,/^\/\/[^\r\n]*/,null]),ht.push([V,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ue=st.regexLiterals;if(Ue){var ge=Ue>1?"":`
|
|
|
\r`,Ae=ge?".":"[\\S\\s]",Me="/(?=[^/*"+ge+"])(?:[^/\\x5B\\x5C"+ge+"]|\\x5C"+Ae+"|\\x5B(?:[^\\x5C\\x5D"+ge+"]|\\x5C"+Ae+")*(?:\\x5D|$))+/";ht.push(["lang-regex",RegExp("^"+ee+"("+Me+")")])}var $e=st.types;$e&&ht.push([K,$e]);var He=(""+st.keywords).replace(/^ | $/g,"");He.length&&ht.push([U,new RegExp("^(?:"+He.replace(/[\s,]+/g,"|")+")\\b"),null]),bt.push([ae,/^\s+/,null,` \r
|
|
|
\xA0`]);var nt="^.[^\\s\\w.$@'\"`/\\\\]*";return st.regexLiterals&&(nt+="(?!s*/)"),ht.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[K,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ae,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ae,/^\\[\s\S]?/,null],[oe,new RegExp(nt),null]),Ee(bt,ht)}var je=Ce({keywords:D,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Fe(st,bt,ht){for(var Je=/(?:^|\s)nocode(?:\s|$)/,Ue=/\r\n?|\n/,ge=st.ownerDocument,Ae=ge.createElement("li");st.firstChild;)Ae.appendChild(st.firstChild);var Me=[Ae];function $e(De){var Qe=De.nodeType;if(Qe==1&&!Je.test(De.className))if(De.nodeName==="br")He(De),De.parentNode&&De.parentNode.removeChild(De);else for(var Vt=De.firstChild;Vt;Vt=Vt.nextSibling)$e(Vt);else if((Qe==3||Qe==4)&&ht){var kt=De.nodeValue,Ht=kt.match(Ue);if(Ht){var $t=kt.substring(0,Ht.index);De.nodeValue=$t;var Ct=kt.substring(Ht.index+Ht[0].length);if(Ct){var Yt=De.parentNode;Yt.insertBefore(ge.createTextNode(Ct),De.nextSibling)}He(De),$t||De.parentNode.removeChild(De)}}}function He(De){for(;!De.nextSibling;)if(De=De.parentNode,!De)return;function Qe(Ht,$t){var Ct=$t?Ht.cloneNode(!1):Ht,Yt=Ht.parentNode;if(Yt){var Ge=Qe(Yt,1),fe=Ht.nextSibling;Ge.appendChild(Ct);for(var _e=fe;_e;_e=fe)fe=_e.nextSibling,Ge.appendChild(_e)}return Ct}for(var Vt=Qe(De.nextSibling,0),kt;(kt=Vt.parentNode)&&kt.nodeType===1;)Vt=kt;Me.push(Vt)}for(var nt=0;nt<Me.length;++nt)$e(Me[nt]);bt===(bt|0)&&Me[0].setAttribute("value",bt);var ct=ge.createElement("ol");ct.className="linenums";for(var Kt=Math.max(0,bt-1|0)||0,nt=0,Wt=Me.length;nt<Wt;++nt)Ae=Me[nt],Ae.className="L"+(nt+Kt)%10,Ae.firstChild||Ae.appendChild(ge.createTextNode("\xA0")),ct.appendChild(Ae);st.appendChild(ct)}function Ft(st){var bt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);bt=bt&&+bt[1]<=8;var ht=/\n/g,Je=st.sourceCode,Ue=Je.length,ge=0,Ae=st.spans,Me=Ae.length,$e=0,He=st.decorations,nt=He.length,ct=0;He[nt]=Ue;var Kt,Wt;for(Wt=Kt=0;Wt<nt;)He[Wt]!==He[Wt+2]?(He[Kt++]=He[Wt++],He[Kt++]=He[Wt++]):Wt+=2;for(nt=Kt,Wt=Kt=0;Wt<nt;){for(var De=He[Wt],Qe=He[Wt+1],Vt=Wt+2;Vt+2<=nt&&He[Vt+1]===Qe;)Vt+=2;He[Kt++]=De,He[Kt++]=Qe,Wt=Vt}nt=He.length=Kt;var kt=st.sourceNode,Ht="";kt&&(Ht=kt.style.display,kt.style.display="none");try{for(var $t=null;$e<Me;){var Ct=Ae[$e],Yt=Ae[$e+2]||Ue,Ge=He[ct+2]||Ue,Vt=Math.min(Yt,Ge),fe=Ae[$e+1],_e;if(fe.nodeType!==1&&(_e=Je.substring(ge,Vt))){bt&&(_e=_e.replace(ht,"\r")),fe.nodeValue=_e;var Ot=fe.ownerDocument,Pe=Ot.createElement("span");Pe.className=He[ct+1];var dt=fe.parentNode;dt.replaceChild(Pe,fe),Pe.appendChild(fe),ge<Yt&&(Ae[$e+1]=fe=Ot.createTextNode(Je.substring(Vt,Yt)),dt.insertBefore(fe,Pe.nextSibling))}ge=Vt,ge>=Yt&&($e+=2),ge>=Ge&&(ct+=2)}}finally{kt&&(kt.style.display=Ht)}}var _t={};function Pt(st,bt){for(var ht=bt.length;--ht>=0;){var Je=bt[ht];_t.hasOwnProperty(Je)?s.console&&console.warn("cannot override language handler %s",Je):_t[Je]=st}}function Qt(st,bt){return st&&_t.hasOwnProperty(st)||(st=/^\s*</.test(bt)?"default-markup":"default-code"),_t[st]}Pt(je,["default-code"]),Pt(Ee([],[[ae,/^[^<?]+/],[Q,/^<!\w[^>]*(?:>|$)/],[V,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[oe,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Pt(Ee([[ae,/^[\s]+/,null,` \r
|
|
|
`],[ue,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[le,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[Y,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[oe,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Pt(Ee([],[[ue,/^[\s\S]+/]]),["uq.val"]),Pt(Ce({keywords:x,hashComments:!0,cStyleComments:!0,types:B}),["c","cc","cpp","cxx","cyc","m"]),Pt(Ce({keywords:"null,true,false"}),["json"]),Pt(Ce({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:B}),["cs"]),Pt(Ce({keywords:p,cStyleComments:!0}),["java"]),Pt(Ce({keywords:T,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Pt(Ce({keywords:R,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Pt(Ce({keywords:S,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Pt(Ce({keywords:L,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Pt(Ce({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Pt(Ce({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Pt(Ee([],[[$,/^[\s\S]+/]]),["regex"]);function er(st){var bt=st.langExtension;try{var ht=F(st.sourceNode,st.pre),Je=ht.sourceCode;st.sourceCode=Je,st.spans=ht.spans,st.basePos=0,Qt(bt,Je)(st),Ft(st)}catch(Ue){s.console&&console.log(Ue&&Ue.stack||Ue)}}function Jt(st,bt,ht){var Je=ht||!1,Ue=bt||null,ge=document.createElement("div");ge.innerHTML="<pre>"+st+"</pre>",ge=ge.firstChild,Je&&Fe(ge,Je,!0);var Ae={langExtension:Ue,numberLines:Je,sourceNode:ge,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return er(Ae),ge.innerHTML}function Xe(st,bt){var ht=bt||document.body,Je=ht.ownerDocument||document;function Ue(Ct){return ht.getElementsByTagName(Ct)}for(var ge=[Ue("pre"),Ue("code"),Ue("xmp")],Ae=[],Me=0;Me<ge.length;++Me)for(var $e=0,He=ge[Me].length;$e<He;++$e)Ae.push(ge[Me][$e]);ge=null;var nt=Date;nt.now||(nt={now:function(){return+new Date}});var ct=0,Kt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Wt=/\bprettyprint\b/,De=/\bprettyprinted\b/,Qe=/pre|xmp/i,Vt=/^code$/i,kt=/^(?:pre|code|xmp)$/i,Ht={};function $t(){for(var Ct=s.PR_SHOULD_USE_CONTINUATION?nt.now()+250:1/0;ct<Ae.length&&nt.now()<Ct;ct++){for(var Yt=Ae[ct],Ge=Ht,fe=Yt;fe=fe.previousSibling;){var _e=fe.nodeType,Ot=(_e===7||_e===8)&&fe.nodeValue;if(Ot?!/^\??prettify\b/.test(Ot):_e!==3||/\S/.test(fe.nodeValue))break;if(Ot){Ge={},Ot.replace(/\b(\w+)=([\w:.%+-]+)/g,function(At,Kr,Qr){Ge[Kr]=Qr});break}}var Pe=Yt.className;if((Ge!==Ht||Wt.test(Pe))&&!De.test(Pe)){for(var dt=!1,Zt=Yt.parentNode;Zt;Zt=Zt.parentNode){var Tt=Zt.tagName;if(kt.test(Tt)&&Zt.className&&Wt.test(Zt.className)){dt=!0;break}}if(!dt){Yt.className+=" prettyprinted";var ke=Ge.lang;if(!ke){ke=Pe.match(Kt);var St;!ke&&(St=de(Yt))&&Vt.test(St.tagName)&&(ke=St.className.match(Kt)),ke&&(ke=ke[1])}var be;if(Qe.test(Yt.tagName))be=1;else{var Ke=Yt.currentStyle,gt=Je.defaultView,Rt=Ke?Ke.whiteSpace:gt&>.getComputedStyle?gt.getComputedStyle(Yt,null).getPropertyValue("white-space"):0;be=Rt&&Rt.substring(0,3)==="pre"}var Be=Ge.linenums;(Be=Be==="true"||+Be)||(Be=Pe.match(/\blinenums\b(?::(\d+))?/),Be=Be?Be[1]&&Be[1].length?+Be[1]:!0:!1),Be&&Fe(Yt,Be,be);var kr={langExtension:ke,sourceNode:Yt,numberLines:Be,pre:be,sourceCode:null,basePos:null,spans:null,decorations:null};er(kr)}}}ct<Ae.length?s.setTimeout($t,250):typeof st=="function"&&st()}$t()}var It=s.PR={createSimpleLexer:Ee,registerLangHandler:Pt,sourceDecorator:Ce,PR_ATTRIB_NAME:Y,PR_ATTRIB_VALUE:ue,PR_COMMENT:V,PR_DECLARATION:Q,PR_KEYWORD:U,PR_LITERAL:G,PR_NOCODE:ne,PR_PLAIN:ae,PR_PUNCTUATION:oe,PR_SOURCE:J,PR_STRING:$,PR_TAG:le,PR_TYPE:K,prettyPrintOne:r?s.prettyPrintOne=Jt:c=Jt,prettyPrint:f=r?s.prettyPrint=Xe:f=Xe},zt=s.define;typeof zt=="function"&&zt.amd&&zt("google-code-prettify",[],function(){return It})})()},25769:function(d,g,e){"use strict";var r=e(98040),i={"text/plain":"Text","text/html":"Url",default:"Text"},l="Copy to clipboard: #{key}, Enter";function c(s){var h=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return s.replace(/#{\s*key\s*}/g,h)}function f(s,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=s,_.ariaHidden="true",_.style.all="unset",_.style.position="fixed",_.style.top=0,_.style.clip="rect(0, 0, 0, 0)",_.style.whiteSpace="pre",_.style.webkitUserSelect="text",_.style.MozUserSelect="text",_.style.msUserSelect="text",_.style.userSelect="text",_.addEventListener("copy",function(R){if(R.stopPropagation(),h.format)if(R.preventDefault(),typeof R.clipboardData=="undefined"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var L=i[h.format]||i.default;window.clipboardData.setData(L,s)}else R.clipboardData.clearData(),R.clipboardData.setData(h.format,s);h.onCopy&&(R.preventDefault(),h.onCopy(R.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(R){u&&console.error("unable to copy using execCommand: ",R),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(h.format||"text",s),h.onCopy&&h.onCopy(window.clipboardData),b=!0}catch(L){u&&console.error("unable to copy using clipboardData: ",L),u&&console.error("falling back to prompt"),a=c("message"in h?h.message:l),window.prompt(a,s)}}finally{y&&(typeof y.removeRange=="function"?y.removeRange(p):y.removeAllRanges()),_&&document.body.removeChild(_),x()}return b}d.exports=f},75041:function(d){(function(){var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(r,i){return r<<i|r>>>32-i},rotr:function(r,i){return r<<32-i|r>>>i},endian:function(r){if(r.constructor==Number)return e.rotl(r,8)&16711935|e.rotl(r,24)&4278255360;for(var i=0;i<r.length;i++)r[i]=e.endian(r[i]);return r},randomBytes:function(r){for(var i=[];r>0;r--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(r){for(var i=[],l=0,c=0;l<r.length;l++,c+=8)i[c>>>5]|=r[l]<<24-c%32;return i},wordsToBytes:function(r){for(var i=[],l=0;l<r.length*32;l+=8)i.push(r[l>>>5]>>>24-l%32&255);return i},bytesToHex:function(r){for(var i=[],l=0;l<r.length;l++)i.push((r[l]>>>4).toString(16)),i.push((r[l]&15).toString(16));return i.join("")},hexToBytes:function(r){for(var i=[],l=0;l<r.length;l+=2)i.push(parseInt(r.substr(l,2),16));return i},bytesToBase64:function(r){for(var i=[],l=0;l<r.length;l+=3)for(var c=r[l]<<16|r[l+1]<<8|r[l+2],f=0;f<4;f++)l*8+f*6<=r.length*8?i.push(g.charAt(c>>>6*(3-f)&63)):i.push("=");return i.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],l=0,c=0;l<r.length;c=++l%4)c!=0&&i.push((g.indexOf(r.charAt(l-1))&Math.pow(2,-2*c+8)-1)<<c*2|g.indexOf(r.charAt(l))>>>6-c*2);return i}};d.exports=e})()},84452:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.BlockCipher,f=i.algo,s=[],h=[],u=[],a=[],x=[],p=[],y=[],_=[],b=[],S=[];(function(){for(var T=[],D=0;D<256;D++)D<128?T[D]=D<<1:T[D]=D<<1^283;for(var B=0,$=0,D=0;D<256;D++){var U=$^$<<1^$<<2^$<<3^$<<4;U=U>>>8^U&255^99,s[B]=U,h[U]=B;var V=T[B],K=T[V],G=T[K],oe=T[U]*257^U*16843008;u[B]=oe<<24|oe>>>8,a[B]=oe<<16|oe>>>16,x[B]=oe<<8|oe>>>24,p[B]=oe;var oe=G*16843009^K*65537^V*257^B*16843008;y[U]=oe<<24|oe>>>8,_[U]=oe<<16|oe>>>16,b[U]=oe<<8|oe>>>24,S[U]=oe,B?(B=V^T[T[T[G^V]]],$^=T[T[$]]):B=$=1}})();var R=[0,1,2,4,8,16,32,64,128,27,54],L=f.AES=c.extend({_doReset:function(){var T;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var D=this._keyPriorReset=this._key,B=D.words,$=D.sigBytes/4,U=this._nRounds=$+6,V=(U+1)*4,K=this._keySchedule=[],G=0;G<V;G++)G<$?K[G]=B[G]:(T=K[G-1],G%$?$>6&&G%$==4&&(T=s[T>>>24]<<24|s[T>>>16&255]<<16|s[T>>>8&255]<<8|s[T&255]):(T=T<<8|T>>>24,T=s[T>>>24]<<24|s[T>>>16&255]<<16|s[T>>>8&255]<<8|s[T&255],T^=R[G/$|0]<<24),K[G]=K[G-$]^T);for(var oe=this._invKeySchedule=[],ae=0;ae<V;ae++){var G=V-ae;if(ae%4)var T=K[G];else var T=K[G-4];ae<4||G<=4?oe[ae]=T:oe[ae]=y[s[T>>>24]]^_[s[T>>>16&255]]^b[s[T>>>8&255]]^S[s[T&255]]}}},encryptBlock:function(T,D){this._doCryptBlock(T,D,this._keySchedule,u,a,x,p,s)},decryptBlock:function(T,D){var B=T[D+1];T[D+1]=T[D+3],T[D+3]=B,this._doCryptBlock(T,D,this._invKeySchedule,y,_,b,S,h);var B=T[D+1];T[D+1]=T[D+3],T[D+3]=B},_doCryptBlock:function(T,D,B,$,U,V,K,G){for(var oe=this._nRounds,ae=T[D]^B[0],le=T[D+1]^B[1],Q=T[D+2]^B[2],J=T[D+3]^B[3],Y=4,ue=1;ue<oe;ue++){var ne=$[ae>>>24]^U[le>>>16&255]^V[Q>>>8&255]^K[J&255]^B[Y++],ee=$[le>>>24]^U[Q>>>16&255]^V[J>>>8&255]^K[ae&255]^B[Y++],ie=$[Q>>>24]^U[J>>>16&255]^V[ae>>>8&255]^K[le&255]^B[Y++],F=$[J>>>24]^U[ae>>>16&255]^V[le>>>8&255]^K[Q&255]^B[Y++];ae=ne,le=ee,Q=ie,J=F}var ne=(G[ae>>>24]<<24|G[le>>>16&255]<<16|G[Q>>>8&255]<<8|G[J&255])^B[Y++],ee=(G[le>>>24]<<24|G[Q>>>16&255]<<16|G[J>>>8&255]<<8|G[ae&255])^B[Y++],ie=(G[Q>>>24]<<24|G[J>>>16&255]<<16|G[ae>>>8&255]<<8|G[le&255])^B[Y++],F=(G[J>>>24]<<24|G[ae>>>16&255]<<16|G[le>>>8&255]<<8|G[Q&255])^B[Y++];T[D]=ne,T[D+1]=ee,T[D+2]=ie,T[D+3]=F},keySize:256/32});i.AES=c._createHelper(L)}(),r.AES})},93617:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(28492))})(this,function(r){r.lib.Cipher||function(i){var l=r,c=l.lib,f=c.Base,s=c.WordArray,h=c.BufferedBlockAlgorithm,u=l.enc,a=u.Utf8,x=u.Base64,p=l.algo,y=p.EvpKDF,_=c.Cipher=h.extend({cfg:f.extend(),createEncryptor:function(le,Q){return this.create(this._ENC_XFORM_MODE,le,Q)},createDecryptor:function(le,Q){return this.create(this._DEC_XFORM_MODE,le,Q)},init:function(le,Q,J){this.cfg=this.cfg.extend(J),this._xformMode=le,this._key=Q,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(le){return this._append(le),this._process()},finalize:function(le){le&&this._append(le);var Q=this._doFinalize();return Q},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function le(Q){return typeof Q=="string"?ae:K}return function(Q){return{encrypt:function(J,Y,ue){return le(Y).encrypt(Q,J,Y,ue)},decrypt:function(J,Y,ue){return le(Y).decrypt(Q,J,Y,ue)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var le=this._process(!0);return le},blockSize:1}),S=l.mode={},R=c.BlockCipherMode=f.extend({createEncryptor:function(le,Q){return this.Encryptor.create(le,Q)},createDecryptor:function(le,Q){return this.Decryptor.create(le,Q)},init:function(le,Q){this._cipher=le,this._iv=Q}}),L=S.CBC=function(){var le=R.extend();le.Encryptor=le.extend({processBlock:function(J,Y){var ue=this._cipher,ne=ue.blockSize;Q.call(this,J,Y,ne),ue.encryptBlock(J,Y),this._prevBlock=J.slice(Y,Y+ne)}}),le.Decryptor=le.extend({processBlock:function(J,Y){var ue=this._cipher,ne=ue.blockSize,ee=J.slice(Y,Y+ne);ue.decryptBlock(J,Y),Q.call(this,J,Y,ne),this._prevBlock=ee}});function Q(J,Y,ue){var ne,ee=this._iv;ee?(ne=ee,this._iv=i):ne=this._prevBlock;for(var ie=0;ie<ue;ie++)J[Y+ie]^=ne[ie]}return le}(),T=l.pad={},D=T.Pkcs7={pad:function(le,Q){for(var J=Q*4,Y=J-le.sigBytes%J,ue=Y<<24|Y<<16|Y<<8|Y,ne=[],ee=0;ee<Y;ee+=4)ne.push(ue);var ie=s.create(ne,Y);le.concat(ie)},unpad:function(le){var Q=le.words[le.sigBytes-1>>>2]&255;le.sigBytes-=Q}},B=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:L,padding:D}),reset:function(){var le;_.reset.call(this);var Q=this.cfg,J=Q.iv,Y=Q.mode;this._xformMode==this._ENC_XFORM_MODE?le=Y.createEncryptor:(le=Y.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==le?this._mode.init(this,J&&J.words):(this._mode=le.call(Y,this,J&&J.words),this._mode.__creator=le)},_doProcessBlock:function(le,Q){this._mode.processBlock(le,Q)},_doFinalize:function(){var le,Q=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(Q.pad(this._data,this.blockSize),le=this._process(!0)):(le=this._process(!0),Q.unpad(le)),le},blockSize:128/32}),$=c.CipherParams=f.extend({init:function(le){this.mixIn(le)},toString:function(le){return(le||this.formatter).stringify(this)}}),U=l.format={},V=U.OpenSSL={stringify:function(le){var Q,J=le.ciphertext,Y=le.salt;return Y?Q=s.create([1398893684,1701076831]).concat(Y).concat(J):Q=J,Q.toString(x)},parse:function(le){var Q,J=x.parse(le),Y=J.words;return Y[0]==1398893684&&Y[1]==1701076831&&(Q=s.create(Y.slice(2,4)),Y.splice(0,4),J.sigBytes-=16),$.create({ciphertext:J,salt:Q})}},K=c.SerializableCipher=f.extend({cfg:f.extend({format:V}),encrypt:function(le,Q,J,Y){Y=this.cfg.extend(Y);var ue=le.createEncryptor(J,Y),ne=ue.finalize(Q),ee=ue.cfg;return $.create({ciphertext:ne,key:J,iv:ee.iv,algorithm:le,mode:ee.mode,padding:ee.padding,blockSize:le.blockSize,formatter:Y.format})},decrypt:function(le,Q,J,Y){Y=this.cfg.extend(Y),Q=this._parse(Q,Y.format);var ue=le.createDecryptor(J,Y).finalize(Q.ciphertext);return ue},_parse:function(le,Q){return typeof le=="string"?Q.parse(le,this):le}}),G=l.kdf={},oe=G.OpenSSL={execute:function(le,Q,J,Y){Y||(Y=s.random(64/8));var ue=y.create({keySize:Q+J}).compute(le,Y),ne=s.create(ue.words.slice(Q),J*4);return ue.sigBytes=Q*4,$.create({key:ue,iv:ne,salt:Y})}},ae=c.PasswordBasedCipher=K.extend({cfg:K.cfg.extend({kdf:oe}),encrypt:function(le,Q,J,Y){Y=this.cfg.extend(Y);var ue=Y.kdf.execute(J,le.keySize,le.ivSize);Y.iv=ue.iv;var ne=K.encrypt.call(this,le,Q,ue.key,Y);return ne.mixIn(ue),ne},decrypt:function(le,Q,J,Y){Y=this.cfg.extend(Y),Q=this._parse(Q,Y.format);var ue=Y.kdf.execute(J,le.keySize,le.ivSize,Q.salt);Y.iv=ue.iv;var ne=K.decrypt.call(this,le,Q,ue.key,Y);return ne}})}()})},52952:function(d,g,e){(function(r,i){d.exports=g=i()})(this,function(){var r=r||function(i,l){var c;if(typeof window!="undefined"&&window.crypto&&(c=window.crypto),typeof self!="undefined"&&self.crypto&&(c=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(c=globalThis.crypto),!c&&typeof window!="undefined"&&window.msCrypto&&(c=window.msCrypto),!c&&typeof e.g!="undefined"&&e.g.crypto&&(c=e.g.crypto),!c)try{c=e(3828)}catch(T){}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch(T){}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch(T){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function T(){}return function(D){var B;return T.prototype=D,B=new T,T.prototype=null,B}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(T){var D=s(this);return T&&D.mixIn(T),(!D.hasOwnProperty("init")||this.init===D.init)&&(D.init=function(){D.$super.init.apply(this,arguments)}),D.init.prototype=D,D.$super=this,D},create:function(){var T=this.extend();return T.init.apply(T,arguments),T},init:function(){},mixIn:function(T){for(var D in T)T.hasOwnProperty(D)&&(this[D]=T[D]);T.hasOwnProperty("toString")&&(this.toString=T.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(T,D){T=this.words=T||[],D!=l?this.sigBytes=D:this.sigBytes=T.length*4},toString:function(T){return(T||y).stringify(this)},concat:function(T){var D=this.words,B=T.words,$=this.sigBytes,U=T.sigBytes;if(this.clamp(),$%4)for(var V=0;V<U;V++){var K=B[V>>>2]>>>24-V%4*8&255;D[$+V>>>2]|=K<<24-($+V)%4*8}else for(var G=0;G<U;G+=4)D[$+G>>>2]=B[G>>>2];return this.sigBytes+=U,this},clamp:function(){var T=this.words,D=this.sigBytes;T[D>>>2]&=4294967295<<32-D%4*8,T.length=i.ceil(D/4)},clone:function(){var T=a.clone.call(this);return T.words=this.words.slice(0),T},random:function(T){for(var D=[],B=0;B<T;B+=4)D.push(f());return new x.init(D,T)}}),p=h.enc={},y=p.Hex={stringify:function(T){for(var D=T.words,B=T.sigBytes,$=[],U=0;U<B;U++){var V=D[U>>>2]>>>24-U%4*8&255;$.push((V>>>4).toString(16)),$.push((V&15).toString(16))}return $.join("")},parse:function(T){for(var D=T.length,B=[],$=0;$<D;$+=2)B[$>>>3]|=parseInt(T.substr($,2),16)<<24-$%8*4;return new x.init(B,D/2)}},_=p.Latin1={stringify:function(T){for(var D=T.words,B=T.sigBytes,$=[],U=0;U<B;U++){var V=D[U>>>2]>>>24-U%4*8&255;$.push(String.fromCharCode(V))}return $.join("")},parse:function(T){for(var D=T.length,B=[],$=0;$<D;$++)B[$>>>2]|=(T.charCodeAt($)&255)<<24-$%4*8;return new x.init(B,D)}},b=p.Utf8={stringify:function(T){try{return decodeURIComponent(escape(_.stringify(T)))}catch(D){throw new Error("Malformed UTF-8 data")}},parse:function(T){return _.parse(unescape(encodeURIComponent(T)))}},S=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(T){typeof T=="string"&&(T=b.parse(T)),this._data.concat(T),this._nDataBytes+=T.sigBytes},_process:function(T){var D,B=this._data,$=B.words,U=B.sigBytes,V=this.blockSize,K=V*4,G=U/K;T?G=i.ceil(G):G=i.max((G|0)-this._minBufferSize,0);var oe=G*V,ae=i.min(oe*4,U);if(oe){for(var le=0;le<oe;le+=V)this._doProcessBlock($,le);D=$.splice(0,oe),B.sigBytes-=ae}return new x.init(D,ae)},clone:function(){var T=a.clone.call(this);return T._data=this._data.clone(),T},_minBufferSize:0}),R=u.Hasher=S.extend({cfg:a.extend(),init:function(T){this.cfg=this.cfg.extend(T),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(T){return this._append(T),this._process(),this},finalize:function(T){T&&this._append(T);var D=this._doFinalize();return D},blockSize:512/32,_createHelper:function(T){return function(D,B){return new T.init(B).finalize(D)}},_createHmacHelper:function(T){return function(D,B){return new L.HMAC.init(T,B).finalize(D)}}}),L=h.algo={};return h}(Math);return r})},35909:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,s=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,R=a[_+2>>>2]>>>24-(_+2)%4*8&255,L=b<<16|S<<8|R,T=0;T<4&&_+T*.75<x;T++)y.push(p.charAt(L>>>6*(3-T)&63));var D=p.charAt(64);if(D)for(;y.length%4;)y.push(D);return y.join("")},parse:function(u){var a=u.length,x=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var y=0;y<x.length;y++)p[x.charCodeAt(y)]=y}var _=x.charAt(64);if(_){var b=u.indexOf(_);b!==-1&&(a=b)}return h(u,a,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,R=b|S;p[y>>>2]|=R<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64})},52695:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,s=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,R=x[b+1>>>2]>>>24-(b+1)%4*8&255,L=x[b+2>>>2]>>>24-(b+2)%4*8&255,T=S<<16|R<<8|L,D=0;D<4&&b+D*.75<p;D++)_.push(y.charAt(T>>>6*(3-D)&63));var B=y.charAt(64);if(B)for(;_.length%4;)_.push(B);return _.join("")},parse:function(u,a=!0){var x=u.length,p=a?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var _=0;_<p.length;_++)y[p.charCodeAt(_)]=_}var b=p.charAt(64);if(b){var 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,R=b|S;p[y>>>2]|=R<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64url})},73323:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,s=f.Utf16=f.Utf16BE={stringify:function(u){for(var a=u.words,x=u.sigBytes,p=[],y=0;y<x;y+=2){var _=a[y>>>2]>>>16-y%4*8&65535;p.push(String.fromCharCode(_))}return p.join("")},parse:function(u){for(var a=u.length,x=[],p=0;p<a;p++)x[p>>>1]|=u.charCodeAt(p)<<16-p%2*16;return c.create(x,a*2)}};f.Utf16LE={stringify:function(u){for(var a=u.words,x=u.sigBytes,p=[],y=0;y<x;y+=2){var _=h(a[y>>>2]>>>16-y%4*8&65535);p.push(String.fromCharCode(_))}return p.join("")},parse:function(u){for(var a=u.length,x=[],p=0;p<a;p++)x[p>>>1]|=h(u.charCodeAt(p)<<16-p%2*16);return c.create(x,a*2)}};function h(u){return u<<8&4278255360|u>>>8&16711935}}(),r.enc.Utf16})},28492:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(49479),e(83760))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Base,f=l.WordArray,s=i.algo,h=s.MD5,u=s.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,R=y.keySize,L=y.iterations;S.length<R;){p&&_.update(p),p=_.update(a).finalize(x),_.reset();for(var T=1;T<L;T++)p=_.finalize(p),_.reset();b.concat(p)}return b.sigBytes=R*4,b}});i.EvpKDF=function(a,x,p){return u.create(p).compute(a,x)}}(),r.EvpKDF})},24408:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.CipherParams,s=l.enc,h=s.Hex,u=l.format,a=u.Hex={stringify:function(x){return x.ciphertext.toString(h)},parse:function(x){var p=h.parse(x);return f.create({ciphertext:p})}}}(),r.format.Hex})},83760:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){(function(){var i=r,l=i.lib,c=l.Base,f=i.enc,s=f.Utf8,h=i.algo,u=h.HMAC=c.extend({init:function(a,x){a=this._hasher=new a.init,typeof x=="string"&&(x=s.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,R=b.words,L=0;L<p;L++)S[L]^=1549556828,R[L]^=909522486;_.sigBytes=b.sigBytes=y,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var x=this._hasher,p=x.finalize(a);x.reset();var y=x.finalize(this._oKey.clone().concat(p));return y}})})()})},28209:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988),e(79183),e(73323),e(35909),e(52695),e(34905),e(49479),e(2481),e(93653),e(12133),e(82307),e(79421),e(25824),e(83760),e(37248),e(28492),e(93617),e(2882),e(98277),e(69972),e(30509),e(79182),e(74990),e(2593),e(10829),e(10265),e(18846),e(24408),e(84452),e(61945),e(22528),e(21865),e(35308))})(this,function(r){return r})},79183:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){if(typeof ArrayBuffer=="function"){var i=r,l=i.lib,c=l.WordArray,f=c.init,s=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)};s.prototype=c}}(),r.lib.WordArray})},34905:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=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=s.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(b,S){for(var R=0;R<16;R++){var L=S+R,T=b[L];b[L]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}var D=this._hash.words,B=b[S+0],$=b[S+1],U=b[S+2],V=b[S+3],K=b[S+4],G=b[S+5],oe=b[S+6],ae=b[S+7],le=b[S+8],Q=b[S+9],J=b[S+10],Y=b[S+11],ue=b[S+12],ne=b[S+13],ee=b[S+14],ie=b[S+15],F=D[0],M=D[1],q=D[2],de=D[3];F=x(F,M,q,de,B,7,u[0]),de=x(de,F,M,q,$,12,u[1]),q=x(q,de,F,M,U,17,u[2]),M=x(M,q,de,F,V,22,u[3]),F=x(F,M,q,de,K,7,u[4]),de=x(de,F,M,q,G,12,u[5]),q=x(q,de,F,M,oe,17,u[6]),M=x(M,q,de,F,ae,22,u[7]),F=x(F,M,q,de,le,7,u[8]),de=x(de,F,M,q,Q,12,u[9]),q=x(q,de,F,M,J,17,u[10]),M=x(M,q,de,F,Y,22,u[11]),F=x(F,M,q,de,ue,7,u[12]),de=x(de,F,M,q,ne,12,u[13]),q=x(q,de,F,M,ee,17,u[14]),M=x(M,q,de,F,ie,22,u[15]),F=p(F,M,q,de,$,5,u[16]),de=p(de,F,M,q,oe,9,u[17]),q=p(q,de,F,M,Y,14,u[18]),M=p(M,q,de,F,B,20,u[19]),F=p(F,M,q,de,G,5,u[20]),de=p(de,F,M,q,J,9,u[21]),q=p(q,de,F,M,ie,14,u[22]),M=p(M,q,de,F,K,20,u[23]),F=p(F,M,q,de,Q,5,u[24]),de=p(de,F,M,q,ee,9,u[25]),q=p(q,de,F,M,V,14,u[26]),M=p(M,q,de,F,le,20,u[27]),F=p(F,M,q,de,ne,5,u[28]),de=p(de,F,M,q,U,9,u[29]),q=p(q,de,F,M,ae,14,u[30]),M=p(M,q,de,F,ue,20,u[31]),F=y(F,M,q,de,G,4,u[32]),de=y(de,F,M,q,le,11,u[33]),q=y(q,de,F,M,Y,16,u[34]),M=y(M,q,de,F,ee,23,u[35]),F=y(F,M,q,de,$,4,u[36]),de=y(de,F,M,q,K,11,u[37]),q=y(q,de,F,M,ae,16,u[38]),M=y(M,q,de,F,J,23,u[39]),F=y(F,M,q,de,ne,4,u[40]),de=y(de,F,M,q,B,11,u[41]),q=y(q,de,F,M,V,16,u[42]),M=y(M,q,de,F,oe,23,u[43]),F=y(F,M,q,de,Q,4,u[44]),de=y(de,F,M,q,ue,11,u[45]),q=y(q,de,F,M,ie,16,u[46]),M=y(M,q,de,F,U,23,u[47]),F=_(F,M,q,de,B,6,u[48]),de=_(de,F,M,q,ae,10,u[49]),q=_(q,de,F,M,ee,15,u[50]),M=_(M,q,de,F,G,21,u[51]),F=_(F,M,q,de,ue,6,u[52]),de=_(de,F,M,q,V,10,u[53]),q=_(q,de,F,M,J,15,u[54]),M=_(M,q,de,F,$,21,u[55]),F=_(F,M,q,de,le,6,u[56]),de=_(de,F,M,q,ie,10,u[57]),q=_(q,de,F,M,oe,15,u[58]),M=_(M,q,de,F,ne,21,u[59]),F=_(F,M,q,de,K,6,u[60]),de=_(de,F,M,q,Y,10,u[61]),q=_(q,de,F,M,U,15,u[62]),M=_(M,q,de,F,Q,21,u[63]),D[0]=D[0]+F|0,D[1]=D[1]+M|0,D[2]=D[2]+q|0,D[3]=D[3]+de|0},_doFinalize:function(){var b=this._data,S=b.words,R=this._nDataBytes*8,L=b.sigBytes*8;S[L>>>5]|=128<<24-L%32;var T=i.floor(R/4294967296),D=R;S[(L+64>>>9<<4)+15]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,S[(L+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,b.sigBytes=(S.length+1)*4,this._process();for(var B=this._hash,$=B.words,U=0;U<4;U++){var V=$[U];$[U]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360}return B},clone:function(){var b=s.clone.call(this);return b._hash=this._hash.clone(),b}});function x(b,S,R,L,T,D,B){var $=b+(S&R|~S&L)+T+B;return($<<D|$>>>32-D)+S}function p(b,S,R,L,T,D,B){var $=b+(S&L|R&~L)+T+B;return($<<D|$>>>32-D)+S}function y(b,S,R,L,T,D,B){var $=b+(S^R^L)+T+B;return($<<D|$>>>32-D)+S}function _(b,S,R,L,T,D,B){var $=b+(R^(S|~L))+T+B;return($<<D|$>>>32-D)+S}l.MD5=s._createHelper(a),l.HmacMD5=s._createHmacHelper(a)}(Math),r.MD5})},2882:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.CFB=function(){var i=r.lib.BlockCipherMode.extend();i.Encryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize;l.call(this,c,f,h,s),this._prevBlock=c.slice(f,f+h)}}),i.Decryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize,u=c.slice(f,f+h);l.call(this,c,f,h,s),this._prevBlock=u}});function l(c,f,s,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<s;x++)c[f+x]^=u[x]}return i}(),r.mode.CFB})},69972:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.CTRGladman=function(){var i=r.lib.BlockCipherMode.extend();function l(s){if((s>>24&255)===255){var h=s>>16&255,u=s>>8&255,a=s&255;h===255?(h=0,u===255?(u=0,a===255?a=0:++a):++u):++h,s=0,s+=h<<16,s+=u<<8,s+=a}else s+=16777216;return s}function c(s){return(s[0]=l(s[0]))===0&&(s[1]=l(s[1])),s}var f=i.Encryptor=i.extend({processBlock:function(s,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;_++)s[h+_]^=y[_]}});return i.Decryptor=f,i}(),r.mode.CTRGladman})},98277:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.CTR=function(){var i=r.lib.BlockCipherMode.extend(),l=i.Encryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize,u=this._iv,a=this._counter;u&&(a=this._counter=u.slice(0),this._iv=void 0);var x=a.slice(0);s.encryptBlock(x,0),a[h-1]=a[h-1]+1|0;for(var p=0;p<h;p++)c[f+p]^=x[p]}});return i.Decryptor=l,i}(),r.mode.CTR})},79182:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.ECB=function(){var i=r.lib.BlockCipherMode.extend();return i.Encryptor=i.extend({processBlock:function(l,c){this._cipher.encryptBlock(l,c)}}),i.Decryptor=i.extend({processBlock:function(l,c){this._cipher.decryptBlock(l,c)}}),i}(),r.mode.ECB})},30509:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.mode.OFB=function(){var i=r.lib.BlockCipherMode.extend(),l=i.Encryptor=i.extend({processBlock:function(c,f){var s=this._cipher,h=s.blockSize,u=this._iv,a=this._keystream;u&&(a=this._keystream=u.slice(0),this._iv=void 0),s.encryptBlock(a,0);for(var x=0;x<h;x++)c[f+x]^=a[x]}});return i.Decryptor=l,i}(),r.mode.OFB})},74990:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.AnsiX923={pad:function(i,l){var c=i.sigBytes,f=l*4,s=f-c%f,h=c+s-1;i.clamp(),i.words[h>>>2]|=s<<24-h%4*8,i.sigBytes+=s},unpad:function(i){var l=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=l}},r.pad.Ansix923})},2593:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.Iso10126={pad:function(i,l){var c=l*4,f=c-i.sigBytes%c;i.concat(r.lib.WordArray.random(f-1)).concat(r.lib.WordArray.create([f<<24],1))},unpad:function(i){var l=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=l}},r.pad.Iso10126})},10829:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.Iso97971={pad:function(i,l){i.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(i,l)},unpad:function(i){r.pad.ZeroPadding.unpad(i),i.sigBytes--}},r.pad.Iso97971})},18846:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})},10265:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(93617))})(this,function(r){return r.pad.ZeroPadding={pad:function(i,l){var c=l*4;i.clamp(),i.sigBytes+=c-(i.sigBytes%c||c)},unpad:function(i){for(var l=i.words,c=i.sigBytes-1,c=i.sigBytes-1;c>=0;c--)if(l[c>>>2]>>>24-c%4*8&255){i.sigBytes=c+1;break}}},r.pad.ZeroPadding})},37248:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(49479),e(83760))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Base,f=l.WordArray,s=i.algo,h=s.SHA1,u=s.HMAC,a=s.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]),R=b.words,L=S.words,T=y.keySize,D=y.iterations;R.length<T;){var B=_.update(p).finalize(S);_.reset();for(var $=B.words,U=$.length,V=B,K=1;K<D;K++){V=_.finalize(V),_.reset();for(var G=V.words,oe=0;oe<U;oe++)$[oe]^=G[oe]}b.concat(B),L[0]++}return b.sigBytes=T*4,b}});i.PBKDF2=function(x,p,y){return a.create(y).compute(x,p)}}(),r.PBKDF2})},35308:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,s=[],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 R=y.words,L=R[0],T=R[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,B=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,$=D>>>16|B&4294901760,U=B<<16|D&65535;b[0]^=D,b[1]^=$,b[2]^=B,b[3]^=U,b[4]^=D,b[5]^=$,b[6]^=B,b[7]^=U;for(var S=0;S<4;S++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),s[0]=_[0]^_[5]>>>16^_[3]<<16,s[1]=_[2]^_[7]>>>16^_[5]<<16,s[2]=_[4]^_[1]>>>16^_[7]<<16,s[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)s[b]=(s[b]<<8|s[b]>>>24)&16711935|(s[b]<<24|s[b]>>>8)&4278255360,p[y+b]^=s[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,R=b>>>16,L=((S*S>>>17)+S*R>>>15)+R*R,T=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=L^T}p[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,p[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,p[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,p[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,p[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,p[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,p[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,p[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}i.RabbitLegacy=c._createHelper(a)}(),r.RabbitLegacy})},21865:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,s=[],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 R=y.words,L=R[0],T=R[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,B=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,$=D>>>16|B&4294901760,U=B<<16|D&65535;S[0]^=D,S[1]^=$,S[2]^=B,S[3]^=U,S[4]^=D,S[5]^=$,S[6]^=B,S[7]^=U;for(var _=0;_<4;_++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),s[0]=_[0]^_[5]>>>16^_[3]<<16,s[1]=_[2]^_[7]>>>16^_[5]<<16,s[2]=_[4]^_[1]>>>16^_[7]<<16,s[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)s[b]=(s[b]<<8|s[b]>>>24)&16711935|(s[b]<<24|s[b]>>>8)&4278255360,p[y+b]^=s[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,R=b>>>16,L=((S*S>>>17)+S*R>>>15)+R*R,T=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=L^T}p[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,p[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,p[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,p[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,p[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,p[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,p[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,p[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}i.Rabbit=c._createHelper(a)}(),r.Rabbit})},22528:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,s=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,R=x[S>>>2]>>>24-S%4*8&255;b=(b+y[_]+R)%256;var L=y[_];y[_]=y[b],y[b]=L}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(s);var u=f.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var a=this.cfg.drop;a>0;a--)h.call(this)}});i.RC4Drop=c._createHelper(u)}(),r.RC4})},25824:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=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=s.extend({_doReset:function(){this._hash=f.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function($,U){for(var V=0;V<16;V++){var K=U+V,G=$[K];$[K]=(G<<8|G>>>24)&16711935|(G<<24|G>>>8)&4278255360}var oe=this._hash.words,ae=y.words,le=_.words,Q=u.words,J=a.words,Y=x.words,ue=p.words,ne,ee,ie,F,M,q,de,Ee,Ce,je;q=ne=oe[0],de=ee=oe[1],Ee=ie=oe[2],Ce=F=oe[3],je=M=oe[4];for(var Fe,V=0;V<80;V+=1)Fe=ne+$[U+Q[V]]|0,V<16?Fe+=S(ee,ie,F)+ae[0]:V<32?Fe+=R(ee,ie,F)+ae[1]:V<48?Fe+=L(ee,ie,F)+ae[2]:V<64?Fe+=T(ee,ie,F)+ae[3]:Fe+=D(ee,ie,F)+ae[4],Fe=Fe|0,Fe=B(Fe,Y[V]),Fe=Fe+M|0,ne=M,M=F,F=B(ie,10),ie=ee,ee=Fe,Fe=q+$[U+J[V]]|0,V<16?Fe+=D(de,Ee,Ce)+le[0]:V<32?Fe+=T(de,Ee,Ce)+le[1]:V<48?Fe+=L(de,Ee,Ce)+le[2]:V<64?Fe+=R(de,Ee,Ce)+le[3]:Fe+=S(de,Ee,Ce)+le[4],Fe=Fe|0,Fe=B(Fe,ue[V]),Fe=Fe+je|0,q=je,je=Ce,Ce=B(Ee,10),Ee=de,de=Fe;Fe=oe[1]+ie+Ce|0,oe[1]=oe[2]+F+je|0,oe[2]=oe[3]+M+q|0,oe[3]=oe[4]+ne+de|0,oe[4]=oe[0]+ee+Ee|0,oe[0]=Fe},_doFinalize:function(){var $=this._data,U=$.words,V=this._nDataBytes*8,K=$.sigBytes*8;U[K>>>5]|=128<<24-K%32,U[(K+64>>>9<<4)+14]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,$.sigBytes=(U.length+1)*4,this._process();for(var G=this._hash,oe=G.words,ae=0;ae<5;ae++){var le=oe[ae];oe[ae]=(le<<8|le>>>24)&16711935|(le<<24|le>>>8)&4278255360}return G},clone:function(){var $=s.clone.call(this);return $._hash=this._hash.clone(),$}});function S($,U,V){return $^U^V}function R($,U,V){return $&U|~$&V}function L($,U,V){return($|~U)^V}function T($,U,V){return $&V|U&~V}function D($,U,V){return $^(U|~V)}function B($,U){return $<<U|$>>>32-U}l.RIPEMD160=s._createHelper(b),l.HmacRIPEMD160=s._createHmacHelper(b)}(Math),r.RIPEMD160})},49479:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.Hasher,s=i.algo,h=[],u=s.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],R=p[4],L=0;L<80;L++){if(L<16)h[L]=a[x+L]|0;else{var T=h[L-3]^h[L-8]^h[L-14]^h[L-16];h[L]=T<<1|T>>>31}var D=(y<<5|y>>>27)+R+h[L];L<20?D+=(_&b|~_&S)+1518500249:L<40?D+=(_^b^S)+1859775393:L<60?D+=(_&b|_&S|b&S)-1894007588:D+=(_^b^S)-899497514,R=S,S=b,b=_<<30|_>>>2,_=y,y=D}p[0]=p[0]+y|0,p[1]=p[1]+_|0,p[2]=p[2]+b|0,p[3]=p[3]+S|0,p[4]=p[4]+R|0},_doFinalize:function(){var a=this._data,x=a.words,p=this._nDataBytes*8,y=a.sigBytes*8;return x[y>>>5]|=128<<24-y%32,x[(y+64>>>9<<4)+14]=Math.floor(p/4294967296),x[(y+64>>>9<<4)+15]=p,a.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var a=f.clone.call(this);return a._hash=this._hash.clone(),a}});i.SHA1=f._createHelper(u),i.HmacSHA1=f._createHmacHelper(u)}(),r.SHA1})},93653:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(2481))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.algo,s=f.SHA256,h=f.SHA224=s.extend({_doReset:function(){this._hash=new c.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=s._doFinalize.call(this);return u.sigBytes-=4,u}});i.SHA224=s._createHelper(h),i.HmacSHA224=s._createHmacHelper(h)}(),r.SHA224})},2481:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=c.Hasher,h=l.algo,u=[],a=[];(function(){function y(R){for(var L=i.sqrt(R),T=2;T<=L;T++)if(!(R%T))return!1;return!0}function _(R){return(R-(R|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=s.extend({_doReset:function(){this._hash=new f.init(u.slice(0))},_doProcessBlock:function(y,_){for(var b=this._hash.words,S=b[0],R=b[1],L=b[2],T=b[3],D=b[4],B=b[5],$=b[6],U=b[7],V=0;V<64;V++){if(V<16)x[V]=y[_+V]|0;else{var K=x[V-15],G=(K<<25|K>>>7)^(K<<14|K>>>18)^K>>>3,oe=x[V-2],ae=(oe<<15|oe>>>17)^(oe<<13|oe>>>19)^oe>>>10;x[V]=G+x[V-7]+ae+x[V-16]}var le=D&B^~D&$,Q=S&R^S&L^R&L,J=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),Y=(D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25),ue=U+Y+le+a[V]+x[V],ne=J+Q;U=$,$=B,B=D,D=T+ue|0,T=L,L=R,R=S,S=ue+ne|0}b[0]=b[0]+S|0,b[1]=b[1]+R|0,b[2]=b[2]+L|0,b[3]=b[3]+T|0,b[4]=b[4]+D|0,b[5]=b[5]+B|0,b[6]=b[6]+$|0,b[7]=b[7]+U|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=s.clone.call(this);return y._hash=this._hash.clone(),y}});l.SHA256=s._createHelper(p),l.HmacSHA256=s._createHmacHelper(p)}(Math),r.SHA256})},79421:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,s=c.Hasher,h=l.x64,u=h.Word,a=l.algo,x=[],p=[],y=[];(function(){for(var S=1,R=0,L=0;L<24;L++){x[S+5*R]=(L+1)*(L+2)/2%64;var T=R%5,D=(2*S+3*R)%5;S=T,R=D}for(var S=0;S<5;S++)for(var R=0;R<5;R++)p[S+5*R]=R+(2*S+3*R)%5*5;for(var B=1,$=0;$<24;$++){for(var U=0,V=0,K=0;K<7;K++){if(B&1){var G=(1<<K)-1;G<32?V^=1<<G:U^=1<<G-32}B&128?B=B<<1^113:B<<=1}y[$]=u.create(U,V)}})();var _=[];(function(){for(var S=0;S<25;S++)_[S]=u.create()})();var b=a.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var S=this._state=[],R=0;R<25;R++)S[R]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(S,R){for(var L=this._state,T=this.blockSize/2,D=0;D<T;D++){var B=S[R+2*D],$=S[R+2*D+1];B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,$=($<<8|$>>>24)&16711935|($<<24|$>>>8)&4278255360;var U=L[D];U.high^=$,U.low^=B}for(var V=0;V<24;V++){for(var K=0;K<5;K++){for(var G=0,oe=0,ae=0;ae<5;ae++){var U=L[K+5*ae];G^=U.high,oe^=U.low}var le=_[K];le.high=G,le.low=oe}for(var K=0;K<5;K++)for(var Q=_[(K+4)%5],J=_[(K+1)%5],Y=J.high,ue=J.low,G=Q.high^(Y<<1|ue>>>31),oe=Q.low^(ue<<1|Y>>>31),ae=0;ae<5;ae++){var U=L[K+5*ae];U.high^=G,U.low^=oe}for(var ne=1;ne<25;ne++){var G,oe,U=L[ne],ee=U.high,ie=U.low,F=x[ne];F<32?(G=ee<<F|ie>>>32-F,oe=ie<<F|ee>>>32-F):(G=ie<<F-32|ee>>>64-F,oe=ee<<F-32|ie>>>64-F);var M=_[p[ne]];M.high=G,M.low=oe}var q=_[0],de=L[0];q.high=de.high,q.low=de.low;for(var K=0;K<5;K++)for(var ae=0;ae<5;ae++){var ne=K+5*ae,U=L[ne],Ee=_[ne],Ce=_[(K+1)%5+5*ae],je=_[(K+2)%5+5*ae];U.high=Ee.high^~Ce.high&je.high,U.low=Ee.low^~Ce.low&je.low}var U=L[0],Fe=y[V];U.high^=Fe.high,U.low^=Fe.low}},_doFinalize:function(){var S=this._data,R=S.words,L=this._nDataBytes*8,T=S.sigBytes*8,D=this.blockSize*32;R[T>>>5]|=1<<24-T%32,R[(i.ceil((T+1)/D)*D>>>5)-1]|=128,S.sigBytes=R.length*4,this._process();for(var B=this._state,$=this.cfg.outputLength/8,U=$/8,V=[],K=0;K<U;K++){var G=B[K],oe=G.high,ae=G.low;oe=(oe<<8|oe>>>24)&16711935|(oe<<24|oe>>>8)&4278255360,ae=(ae<<8|ae>>>24)&16711935|(ae<<24|ae>>>8)&4278255360,V.push(ae),V.push(oe)}return new f.init(V,$)},clone:function(){for(var S=s.clone.call(this),R=S._state=this._state.slice(0),L=0;L<25;L++)R[L]=R[L].clone();return S}});l.SHA3=s._createHelper(b),l.HmacSHA3=s._createHmacHelper(b)}(Math),r.SHA3})},82307:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988),e(12133))})(this,function(r){return function(){var i=r,l=i.x64,c=l.Word,f=l.WordArray,s=i.algo,h=s.SHA512,u=s.SHA384=h.extend({_doReset:function(){this._hash=new f.init([new c.init(3418070365,3238371032),new c.init(1654270250,914150663),new c.init(2438529370,812702999),new c.init(355462360,4144912697),new c.init(1731405415,4290775857),new c.init(2394180231,1750603025),new c.init(3675008525,1694076839),new c.init(1203062813,3204075428)])},_doFinalize:function(){var a=h._doFinalize.call(this);return a.sigBytes-=16,a}});i.SHA384=h._createHelper(u),i.HmacSHA384=h._createHmacHelper(u)}(),r.SHA384})},12133:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(41988))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Hasher,f=i.x64,s=f.Word,h=f.WordArray,u=i.algo;function a(){return s.create.apply(s,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 s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(_,b){for(var S=this._hash.words,R=S[0],L=S[1],T=S[2],D=S[3],B=S[4],$=S[5],U=S[6],V=S[7],K=R.high,G=R.low,oe=L.high,ae=L.low,le=T.high,Q=T.low,J=D.high,Y=D.low,ue=B.high,ne=B.low,ee=$.high,ie=$.low,F=U.high,M=U.low,q=V.high,de=V.low,Ee=K,Ce=G,je=oe,Fe=ae,Ft=le,_t=Q,Pt=J,Qt=Y,er=ue,Jt=ne,Xe=ee,It=ie,zt=F,st=M,bt=q,ht=de,Je=0;Je<80;Je++){var Ue,ge,Ae=p[Je];if(Je<16)ge=Ae.high=_[b+Je*2]|0,Ue=Ae.low=_[b+Je*2+1]|0;else{var Me=p[Je-15],$e=Me.high,He=Me.low,nt=($e>>>1|He<<31)^($e>>>8|He<<24)^$e>>>7,ct=(He>>>1|$e<<31)^(He>>>8|$e<<24)^(He>>>7|$e<<25),Kt=p[Je-2],Wt=Kt.high,De=Kt.low,Qe=(Wt>>>19|De<<13)^(Wt<<3|De>>>29)^Wt>>>6,Vt=(De>>>19|Wt<<13)^(De<<3|Wt>>>29)^(De>>>6|Wt<<26),kt=p[Je-7],Ht=kt.high,$t=kt.low,Ct=p[Je-16],Yt=Ct.high,Ge=Ct.low;Ue=ct+$t,ge=nt+Ht+(Ue>>>0<ct>>>0?1:0),Ue=Ue+Vt,ge=ge+Qe+(Ue>>>0<Vt>>>0?1:0),Ue=Ue+Ge,ge=ge+Yt+(Ue>>>0<Ge>>>0?1:0),Ae.high=ge,Ae.low=Ue}var fe=er&Xe^~er&zt,_e=Jt&It^~Jt&st,Ot=Ee&je^Ee&Ft^je&Ft,Pe=Ce&Fe^Ce&_t^Fe&_t,dt=(Ee>>>28|Ce<<4)^(Ee<<30|Ce>>>2)^(Ee<<25|Ce>>>7),Zt=(Ce>>>28|Ee<<4)^(Ce<<30|Ee>>>2)^(Ce<<25|Ee>>>7),Tt=(er>>>14|Jt<<18)^(er>>>18|Jt<<14)^(er<<23|Jt>>>9),ke=(Jt>>>14|er<<18)^(Jt>>>18|er<<14)^(Jt<<23|er>>>9),St=x[Je],be=St.high,Ke=St.low,gt=ht+ke,Rt=bt+Tt+(gt>>>0<ht>>>0?1:0),gt=gt+_e,Rt=Rt+fe+(gt>>>0<_e>>>0?1:0),gt=gt+Ke,Rt=Rt+be+(gt>>>0<Ke>>>0?1:0),gt=gt+Ue,Rt=Rt+ge+(gt>>>0<Ue>>>0?1:0),Be=Zt+Pe,kr=dt+Ot+(Be>>>0<Zt>>>0?1:0);bt=zt,ht=st,zt=Xe,st=It,Xe=er,It=Jt,Jt=Qt+gt|0,er=Pt+Rt+(Jt>>>0<Qt>>>0?1:0)|0,Pt=Ft,Qt=_t,Ft=je,_t=Fe,je=Ee,Fe=Ce,Ce=gt+Be|0,Ee=Rt+kr+(Ce>>>0<gt>>>0?1:0)|0}G=R.low=G+Ce,R.high=K+Ee+(G>>>0<Ce>>>0?1:0),ae=L.low=ae+Fe,L.high=oe+je+(ae>>>0<Fe>>>0?1:0),Q=T.low=Q+_t,T.high=le+Ft+(Q>>>0<_t>>>0?1:0),Y=D.low=Y+Qt,D.high=J+Pt+(Y>>>0<Qt>>>0?1:0),ne=B.low=ne+Jt,B.high=ue+er+(ne>>>0<Jt>>>0?1:0),ie=$.low=ie+It,$.high=ee+Xe+(ie>>>0<It>>>0?1:0),M=U.low=M+st,U.high=F+zt+(M>>>0<st>>>0?1:0),de=V.low=de+ht,V.high=q+bt+(de>>>0<ht>>>0?1:0)},_doFinalize:function(){var _=this._data,b=_.words,S=this._nDataBytes*8,R=_.sigBytes*8;b[R>>>5]|=128<<24-R%32,b[(R+128>>>10<<5)+30]=Math.floor(S/4294967296),b[(R+128>>>10<<5)+31]=S,_.sigBytes=b.length*4,this._process();var L=this._hash.toX32();return L},clone:function(){var _=c.clone.call(this);return _._hash=this._hash.clone(),_},blockSize:1024/32});i.SHA512=c._createHelper(y),i.HmacSHA512=c._createHmacHelper(y)}(),r.SHA512})},61945:function(d,g,e){(function(r,i,l){d.exports=g=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.BlockCipher,s=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=s.DES=f.extend({_doReset:function(){for(var R=this._key,L=R.words,T=[],D=0;D<56;D++){var B=h[D]-1;T[D]=L[B>>>5]>>>31-B%32&1}for(var $=this._subKeys=[],U=0;U<16;U++){for(var V=$[U]=[],K=a[U],D=0;D<24;D++)V[D/6|0]|=T[(u[D]-1+K)%28]<<31-D%6,V[4+(D/6|0)]|=T[28+(u[D+24]-1+K)%28]<<31-D%6;V[0]=V[0]<<1|V[0]>>>31;for(var D=1;D<7;D++)V[D]=V[D]>>>(D-1)*4+3;V[7]=V[7]<<5|V[7]>>>27}for(var G=this._invSubKeys=[],D=0;D<16;D++)G[D]=$[15-D]},encryptBlock:function(R,L){this._doCryptBlock(R,L,this._subKeys)},decryptBlock:function(R,L){this._doCryptBlock(R,L,this._invSubKeys)},_doCryptBlock:function(R,L,T){this._lBlock=R[L],this._rBlock=R[L+1],_.call(this,4,252645135),_.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),_.call(this,1,1431655765);for(var D=0;D<16;D++){for(var B=T[D],$=this._lBlock,U=this._rBlock,V=0,K=0;K<8;K++)V|=x[K][((U^B[K])&p[K])>>>0];this._lBlock=U,this._rBlock=$^V}var G=this._lBlock;this._lBlock=this._rBlock,this._rBlock=G,_.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),_.call(this,16,65535),_.call(this,4,252645135),R[L]=this._lBlock,R[L+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function _(R,L){var T=(this._lBlock>>>R^this._rBlock)&L;this._rBlock^=T,this._lBlock^=T<<R}function b(R,L){var T=(this._rBlock>>>R^this._lBlock)&L;this._lBlock^=T,this._rBlock^=T<<R}i.DES=f._createHelper(y);var S=s.TripleDES=f.extend({_doReset:function(){var R=this._key,L=R.words;if(L.length!==2&&L.length!==4&&L.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var T=L.slice(0,2),D=L.length<4?L.slice(0,2):L.slice(2,4),B=L.length<6?L.slice(0,2):L.slice(4,6);this._des1=y.createEncryptor(c.create(T)),this._des2=y.createEncryptor(c.create(D)),this._des3=y.createEncryptor(c.create(B))},encryptBlock:function(R,L){this._des1.encryptBlock(R,L),this._des2.decryptBlock(R,L),this._des3.encryptBlock(R,L)},decryptBlock:function(R,L){this._des3.decryptBlock(R,L),this._des2.encryptBlock(R,L),this._des1.decryptBlock(R,L)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=f._createHelper(S)}(),r.TripleDES})},41988:function(d,g,e){(function(r,i){d.exports=g=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.Base,s=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 s.create(y,this.sigBytes)},clone:function(){for(var x=f.clone.call(this),p=x.words=this.words.slice(0),y=p.length,_=0;_<y;_++)p[_]=p[_].clone();return x}})}(),r})},35413:function(d,g,e){"use strict";var r=e(57046),i=e(69574),l=e(63474),c=e(47095),f=e(99363),s=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),_):_};s.gs=function(h,u,a){var x,p,y,_;return typeof h!="string"?(y=a,a=u,u=h,h=null):y=arguments[3],r(u)?i(u)?r(a)?i(a)||(y=a,a=void 0):a=void 0:(y=u,u=a=void 0):u=void 0,r(h)?(x=f.call(h,"c"),p=f.call(h,"e")):(x=!0,p=!1),_={get:u,set:a,configurable:x,enumerable:p},y?l(c(y),_):_}},61186:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g=1e3,e=6e4,r=36e5,i="millisecond",l="second",c="minute",f="hour",s="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(ae){var le=["th","st","nd","rd"],Q=ae%100;return"["+ae+(le[(Q-20)%10]||le[Q]||le[0])+"]"}},R=function(ae,le,Q){var J=String(ae);return!J||J.length>=le?ae:""+Array(le+1-J.length).join(Q)+ae},L={s:R,z:function(ae){var le=-ae.utcOffset(),Q=Math.abs(le),J=Math.floor(Q/60),Y=Q%60;return(le<=0?"+":"-")+R(J,2,"0")+":"+R(Y,2,"0")},m:function ae(le,Q){if(le.date()<Q.date())return-ae(Q,le);var J=12*(Q.year()-le.year())+(Q.month()-le.month()),Y=le.clone().add(J,u),ue=Q-Y<0,ne=le.clone().add(J+(ue?-1:1),u);return+(-(J+(Q-Y)/(ue?Y-ne:ne-Y))||0)},a:function(ae){return ae<0?Math.ceil(ae)||0:Math.floor(ae)},p:function(ae){return{M:u,y:x,w:h,d:s,D:p,h:f,m:c,s:l,ms:i,Q:a}[ae]||String(ae||"").toLowerCase().replace(/s$/,"")},u:function(ae){return ae===void 0}},T="en",D={};D[T]=S;var B="$isDayjsObject",$=function(ae){return ae instanceof G||!(!ae||!ae[B])},U=function ae(le,Q,J){var Y;if(!le)return T;if(typeof le=="string"){var ue=le.toLowerCase();D[ue]&&(Y=ue),Q&&(D[ue]=Q,Y=ue);var ne=le.split("-");if(!Y&&ne.length>1)return ae(ne[0])}else{var ee=le.name;D[ee]=le,Y=ee}return!J&&Y&&(T=Y),Y||!J&&T},V=function(ae,le){if($(ae))return ae.clone();var Q=typeof le=="object"?le:{};return Q.date=ae,Q.args=arguments,new G(Q)},K=L;K.l=U,K.i=$,K.w=function(ae,le){return V(ae,{locale:le.$L,utc:le.$u,x:le.$x,$offset:le.$offset})};var G=function(){function ae(Q){this.$L=U(Q.locale,null,!0),this.parse(Q),this.$x=this.$x||Q.x||{},this[B]=!0}var le=ae.prototype;return le.parse=function(Q){this.$d=function(J){var Y=J.date,ue=J.utc;if(Y===null)return new Date(NaN);if(K.u(Y))return new Date;if(Y instanceof Date)return new Date(Y);if(typeof Y=="string"&&!/Z$/i.test(Y)){var ne=Y.match(_);if(ne){var ee=ne[2]-1||0,ie=(ne[7]||"0").substring(0,3);return ue?new Date(Date.UTC(ne[1],ee,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ie)):new Date(ne[1],ee,ne[3]||1,ne[4]||0,ne[5]||0,ne[6]||0,ie)}}return new Date(Y)}(Q),this.init()},le.init=function(){var Q=this.$d;this.$y=Q.getFullYear(),this.$M=Q.getMonth(),this.$D=Q.getDate(),this.$W=Q.getDay(),this.$H=Q.getHours(),this.$m=Q.getMinutes(),this.$s=Q.getSeconds(),this.$ms=Q.getMilliseconds()},le.$utils=function(){return K},le.isValid=function(){return this.$d.toString()!==y},le.isSame=function(Q,J){var Y=V(Q);return this.startOf(J)<=Y&&Y<=this.endOf(J)},le.isAfter=function(Q,J){return V(Q)<this.startOf(J)},le.isBefore=function(Q,J){return this.endOf(J)<V(Q)},le.$g=function(Q,J,Y){return K.u(Q)?this[J]:this.set(Y,Q)},le.unix=function(){return Math.floor(this.valueOf()/1e3)},le.valueOf=function(){return this.$d.getTime()},le.startOf=function(Q,J){var Y=this,ue=!!K.u(J)||J,ne=K.p(Q),ee=function(je,Fe){var Ft=K.w(Y.$u?Date.UTC(Y.$y,Fe,je):new Date(Y.$y,Fe,je),Y);return ue?Ft:Ft.endOf(s)},ie=function(je,Fe){return K.w(Y.toDate()[je].apply(Y.toDate("s"),(ue?[0,0,0,0]:[23,59,59,999]).slice(Fe)),Y)},F=this.$W,M=this.$M,q=this.$D,de="set"+(this.$u?"UTC":"");switch(ne){case x:return ue?ee(1,0):ee(31,11);case u:return ue?ee(1,M):ee(0,M+1);case h:var Ee=this.$locale().weekStart||0,Ce=(F<Ee?F+7:F)-Ee;return ee(ue?q-Ce:q+(6-Ce),M);case s:case p:return ie(de+"Hours",0);case f:return ie(de+"Minutes",1);case c:return ie(de+"Seconds",2);case l:return ie(de+"Milliseconds",3);default:return this.clone()}},le.endOf=function(Q){return this.startOf(Q,!1)},le.$set=function(Q,J){var Y,ue=K.p(Q),ne="set"+(this.$u?"UTC":""),ee=(Y={},Y[s]=ne+"Date",Y[p]=ne+"Date",Y[u]=ne+"Month",Y[x]=ne+"FullYear",Y[f]=ne+"Hours",Y[c]=ne+"Minutes",Y[l]=ne+"Seconds",Y[i]=ne+"Milliseconds",Y)[ue],ie=ue===s?this.$D+(J-this.$W):J;if(ue===u||ue===x){var F=this.clone().set(p,1);F.$d[ee](ie),F.init(),this.$d=F.set(p,Math.min(this.$D,F.daysInMonth())).$d}else ee&&this.$d[ee](ie);return this.init(),this},le.set=function(Q,J){return this.clone().$set(Q,J)},le.get=function(Q){return this[K.p(Q)]()},le.add=function(Q,J){var Y,ue=this;Q=Number(Q);var ne=K.p(J),ee=function(M){var q=V(ue);return K.w(q.date(q.date()+Math.round(M*Q)),ue)};if(ne===u)return this.set(u,this.$M+Q);if(ne===x)return this.set(x,this.$y+Q);if(ne===s)return ee(1);if(ne===h)return ee(7);var ie=(Y={},Y[c]=e,Y[f]=r,Y[l]=g,Y)[ne]||1,F=this.$d.getTime()+Q*ie;return K.w(F,this)},le.subtract=function(Q,J){return this.add(-1*Q,J)},le.format=function(Q){var J=this,Y=this.$locale();if(!this.isValid())return Y.invalidDate||y;var ue=Q||"YYYY-MM-DDTHH:mm:ssZ",ne=K.z(this),ee=this.$H,ie=this.$m,F=this.$M,M=Y.weekdays,q=Y.months,de=Y.meridiem,Ee=function(Fe,Ft,_t,Pt){return Fe&&(Fe[Ft]||Fe(J,ue))||_t[Ft].slice(0,Pt)},Ce=function(Fe){return K.s(ee%12||12,Fe,"0")},je=de||function(Fe,Ft,_t){var Pt=Fe<12?"AM":"PM";return _t?Pt.toLowerCase():Pt};return ue.replace(b,function(Fe,Ft){return Ft||function(_t){switch(_t){case"YY":return String(J.$y).slice(-2);case"YYYY":return K.s(J.$y,4,"0");case"M":return F+1;case"MM":return K.s(F+1,2,"0");case"MMM":return Ee(Y.monthsShort,F,q,3);case"MMMM":return Ee(q,F);case"D":return J.$D;case"DD":return K.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Ee(Y.weekdaysMin,J.$W,M,2);case"ddd":return Ee(Y.weekdaysShort,J.$W,M,3);case"dddd":return M[J.$W];case"H":return String(ee);case"HH":return K.s(ee,2,"0");case"h":return Ce(1);case"hh":return Ce(2);case"a":return je(ee,ie,!0);case"A":return je(ee,ie,!1);case"m":return String(ie);case"mm":return K.s(ie,2,"0");case"s":return String(J.$s);case"ss":return K.s(J.$s,2,"0");case"SSS":return K.s(J.$ms,3,"0");case"Z":return ne}return null}(Fe)||ne.replace(":","")})},le.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},le.diff=function(Q,J,Y){var ue,ne=this,ee=K.p(J),ie=V(Q),F=(ie.utcOffset()-this.utcOffset())*e,M=this-ie,q=function(){return K.m(ne,ie)};switch(ee){case x:ue=q()/12;break;case u:ue=q();break;case a:ue=q()/3;break;case h:ue=(M-F)/6048e5;break;case s:ue=(M-F)/864e5;break;case f:ue=M/r;break;case c:ue=M/e;break;case l:ue=M/g;break;default:ue=M}return Y?ue:K.a(ue)},le.daysInMonth=function(){return this.endOf(u).$D},le.$locale=function(){return D[this.$L]},le.locale=function(Q,J){if(!Q)return this.$L;var Y=this.clone(),ue=U(Q,J,!0);return ue&&(Y.$L=ue),Y},le.clone=function(){return K.w(this.$d,this)},le.toDate=function(){return new Date(this.valueOf())},le.toJSON=function(){return this.isValid()?this.toISOString():null},le.toISOString=function(){return this.$d.toISOString()},le.toString=function(){return this.$d.toUTCString()},ae}(),oe=G.prototype;return V.prototype=oe,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",s],["$M",u],["$y",x],["$D",p]].forEach(function(ae){oe[ae[1]]=function(le){return this.$g(le,ae[0],ae[1])}}),V.extend=function(ae,le){return ae.$i||(ae(le,G,V),ae.$i=!0),V},V.locale=U,V.isDayjs=$,V.unix=function(ae){return V(1e3*ae)},V.en=D[T],V.Ls=D,V.p={},V})},65517:function(d,g,e){(function(r,i){d.exports=i(e(61186))})(this,function(r){"use strict";function i(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var l=i(r),c={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(f,s){return s==="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,s){var h=100*f+s;return h<600?"\u51CC\u6668":h<900?"\u65E9\u4E0A":h<1100?"\u4E0A\u5348":h<1300?"\u4E2D\u5348":h<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return l.default.locale(c,null,!0),c})},10238:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){var r=e.prototype,i=r.format;r.format=function(l){var c=this,f=this.$locale();if(!this.isValid())return i.bind(this)(l);var s=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 s.s(c.week(),u==="w"?1:2,"0");case"W":case"WW":return s.s(c.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return s.s(String(c.$H===0?24:c.$H),u==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return u}});return i.bind(this)(h)}}})},33656:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,i=/\d\d/,l=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,f={},s=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),R=60*S[1]+(+S[2]||0);return R===0?0:S[0]==="+"?-R:R}(_)}],a=function(_){var b=f[_];return b&&(b.indexOf?b:b.s.concat(b.f))},x=function(_,b){var S,R=f.meridiem;if(R){for(var L=1;L<=24;L+=1)if(_.indexOf(R(L,0,b))>-1){S=L>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 R=1;R<=31;R+=1)b(R).replace(/\[|\]/g,"")===_&&(this.day=R)}],w:[l,h("week")],ww:[i,h("week")],M:[l,h("month")],MM:[i,h("month")],MMM:[c,function(_){var b=a("months"),S=(a("monthsShort")||b.map(function(R){return R.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=s(_)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function y(_){var b,S;b=_,S=f&&f.formats;for(var R=(_=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(V,K,G){var oe=G&&G.toUpperCase();return K||S[G]||g[G]||S[oe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ae,le,Q){return le||Q.slice(1)})})).match(e),L=R.length,T=0;T<L;T+=1){var D=R[T],B=p[D],$=B&&B[0],U=B&&B[1];R[T]=U?{regex:$,parser:U}:D.replace(/^\[|\]$/g,"")}return function(V){for(var K={},G=0,oe=0;G<L;G+=1){var ae=R[G];if(typeof ae=="string")oe+=ae.length;else{var le=ae.regex,Q=ae.parser,J=V.slice(oe),Y=le.exec(J)[0];Q.call(K,Y),V=V.replace(Y,"")}}return function(ue){var ne=ue.afternoon;if(ne!==void 0){var ee=ue.hours;ne?ee<12&&(ue.hours+=12):ee===12&&(ue.hours=0),delete ue.afternoon}}(K),K}}return function(_,b,S){S.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(s=_.parseTwoDigitYear);var R=b.prototype,L=R.parse;R.parse=function(T){var D=T.date,B=T.utc,$=T.args;this.$u=B;var U=$[1];if(typeof U=="string"){var V=$[2]===!0,K=$[3]===!0,G=V||K,oe=$[2];K&&(oe=$[2]),f=this.$locale(),!V&&oe&&(f=S.Ls[oe]),this.$d=function(J,Y,ue,ne){try{if(["x","X"].indexOf(Y)>-1)return new Date((Y==="X"?1e3:1)*J);var ee=y(Y)(J),ie=ee.year,F=ee.month,M=ee.day,q=ee.hours,de=ee.minutes,Ee=ee.seconds,Ce=ee.milliseconds,je=ee.zone,Fe=ee.week,Ft=new Date,_t=M||(ie||F?1:Ft.getDate()),Pt=ie||Ft.getFullYear(),Qt=0;ie&&!F||(Qt=F>0?F-1:Ft.getMonth());var er,Jt=q||0,Xe=de||0,It=Ee||0,zt=Ce||0;return je?new Date(Date.UTC(Pt,Qt,_t,Jt,Xe,It,zt+60*je.offset*1e3)):ue?new Date(Date.UTC(Pt,Qt,_t,Jt,Xe,It,zt)):(er=new Date(Pt,Qt,_t,Jt,Xe,It,zt),Fe&&(er=ne(er).week(Fe).toDate()),er)}catch(st){return new Date("")}}(D,U,B,S),this.init(),oe&&oe!==!0&&(this.$L=this.locale(oe).$L),G&&D!=this.format(U)&&(this.$d=new Date("")),f={}}else if(U instanceof Array)for(var ae=U.length,le=1;le<=ae;le+=1){$[1]=U[le-1];var Q=S.apply(this,$);if(Q.isValid()){this.$d=Q.$d,this.$L=Q.$L,this.init();break}le===ae&&(this.$d=new Date(""))}else L.call(this,T)}}})},47477:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g,e,r=1e3,i=6e4,l=36e5,c=864e5,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=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:s,months:h,days:c,hours:l,minutes:i,seconds:r,milliseconds:1,weeks:6048e5},x=function(D){return D instanceof L},p=function(D,B,$){return new L(D,$,B.$l)},y=function(D){return e.p(D)+"s"},_=function(D){return D<0},b=function(D){return _(D)?Math.ceil(D):Math.floor(D)},S=function(D){return Math.abs(D)},R=function(D,B){return D?_(D)?{negative:!0,format:""+S(D)+B}:{negative:!1,format:""+D+B}:{negative:!1,format:""}},L=function(){function D($,U,V){var K=this;if(this.$d={},this.$l=V,$===void 0&&(this.$ms=0,this.parseFromMilliseconds()),U)return p($*a[y(U)],this);if(typeof $=="number")return this.$ms=$,this.parseFromMilliseconds(),this;if(typeof $=="object")return Object.keys($).forEach(function(ae){K.$d[y(ae)]=$[ae]}),this.calMilliseconds(),this;if(typeof $=="string"){var G=$.match(u);if(G){var oe=G.slice(2).map(function(ae){return ae!=null?Number(ae):0});return this.$d.years=oe[0],this.$d.months=oe[1],this.$d.weeks=oe[2],this.$d.days=oe[3],this.$d.hours=oe[4],this.$d.minutes=oe[5],this.$d.seconds=oe[6],this.calMilliseconds(),this}}return this}var B=D.prototype;return B.calMilliseconds=function(){var $=this;this.$ms=Object.keys(this.$d).reduce(function(U,V){return U+($.$d[V]||0)*a[V]},0)},B.parseFromMilliseconds=function(){var $=this.$ms;this.$d.years=b($/s),$%=s,this.$d.months=b($/h),$%=h,this.$d.days=b($/c),$%=c,this.$d.hours=b($/l),$%=l,this.$d.minutes=b($/i),$%=i,this.$d.seconds=b($/r),$%=r,this.$d.milliseconds=$},B.toISOString=function(){var $=R(this.$d.years,"Y"),U=R(this.$d.months,"M"),V=+this.$d.days||0;this.$d.weeks&&(V+=7*this.$d.weeks);var K=R(V,"D"),G=R(this.$d.hours,"H"),oe=R(this.$d.minutes,"M"),ae=this.$d.seconds||0;this.$d.milliseconds&&(ae+=this.$d.milliseconds/1e3,ae=Math.round(1e3*ae)/1e3);var le=R(ae,"S"),Q=$.negative||U.negative||K.negative||G.negative||oe.negative||le.negative,J=G.format||oe.format||le.format?"T":"",Y=(Q?"-":"")+"P"+$.format+U.format+K.format+J+G.format+oe.format+le.format;return Y==="P"||Y==="-P"?"P0D":Y},B.toJSON=function(){return this.toISOString()},B.format=function($){var U=$||"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 U.replace(f,function(K,G){return G||String(V[K])})},B.as=function($){return this.$ms/a[y($)]},B.get=function($){var U=this.$ms,V=y($);return V==="milliseconds"?U%=1e3:U=V==="weeks"?b(U/a[V]):this.$d[V],U||0},B.add=function($,U,V){var K;return K=U?$*a[y(U)]:x($)?$.$ms:p($,this).$ms,p(this.$ms+K*(V?-1:1),this)},B.subtract=function($,U){return this.add($,U,!0)},B.locale=function($){var U=this.clone();return U.$l=$,U},B.clone=function(){return p(this.$ms,this)},B.humanize=function($){return g().add(this.$ms,"ms").locale(this.$l).fromNow(!$)},B.valueOf=function(){return this.asMilliseconds()},B.milliseconds=function(){return this.get("milliseconds")},B.asMilliseconds=function(){return this.as("milliseconds")},B.seconds=function(){return this.get("seconds")},B.asSeconds=function(){return this.as("seconds")},B.minutes=function(){return this.get("minutes")},B.asMinutes=function(){return this.as("minutes")},B.hours=function(){return this.get("hours")},B.asHours=function(){return this.as("hours")},B.days=function(){return this.get("days")},B.asDays=function(){return this.as("days")},B.weeks=function(){return this.get("weeks")},B.asWeeks=function(){return this.as("weeks")},B.months=function(){return this.get("months")},B.asMonths=function(){return this.as("months")},B.years=function(){return this.get("years")},B.asYears=function(){return this.as("years")},D}(),T=function(D,B,$){return D.add(B.years()*$,"y").add(B.months()*$,"M").add(B.days()*$,"d").add(B.hours()*$,"h").add(B.minutes()*$,"m").add(B.seconds()*$,"s").add(B.milliseconds()*$,"ms")};return function(D,B,$){g=$,e=$().$utils(),$.duration=function(K,G){var oe=$.locale();return p(K,{$l:oe},G)},$.isDuration=x;var U=B.prototype.add,V=B.prototype.subtract;B.prototype.add=function(K,G){return x(K)?T(this,K,1):U.bind(this)(K,G)},B.prototype.subtract=function(K,G){return x(K)?T(this,K,-1):V.bind(this)(K,G)}}})},58862:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e,r){r.isMoment=function(i){return r.isDayjs(i)}}})},19277:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.isSameOrAfter=function(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}})},34749:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.isSameOrBefore=function(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}})},58319:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e,r){var i=e.prototype,l=function(u){return u&&(u.indexOf?u:u.s)},c=function(u,a,x,p,y){var _=u.name?u:u.$locale(),b=l(_[a]),S=l(_[x]),R=b||S.map(function(T){return T.slice(0,p)});if(!y)return R;var L=_.weekStart;return R.map(function(T,D){return R[(D+(L||0))%7]})},f=function(){return r.Ls[r.locale()]},s=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 s(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 s(u,a)},meridiem:u.meridiem,ordinal:u.ordinal}},r.months=function(){return c(f(),"months")},r.monthsShort=function(){return c(f(),"monthsShort","months",3)},r.weekdays=function(u){return c(f(),"weekdays",null,null,u)},r.weekdaysShort=function(u){return c(f(),"weekdaysShort","weekdays",3,u)},r.weekdaysMin=function(u){return c(f(),"weekdaysMin","weekdays",2,u)}}})},62053:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,r,i){var l=r.prototype,c=l.format;i.en.formats=g,l.format=function(f){f===void 0&&(f="YYYY-MM-DDTHH:mm:ssZ");var s=this.$locale().formats,h=function(u,a){return u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,p,y){var _=y&&y.toUpperCase();return p||a[y]||g[y]||a[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,S,R){return S||R.slice(1)})})}(f,s===void 0?{}:s);return c.call(this,h)}}})},59717:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e,r){g=g||{};var i=e.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(s,h,u,a){return i.fromToBase(s,h,u,a)}r.en.relativeTime=l,i.fromToBase=function(s,h,u,a,x){for(var p,y,_,b=u.$locale().relativeTime||l,S=g.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],R=S.length,L=0;L<R;L+=1){var T=S[L];T.d&&(p=a?r(s).diff(u,T.d,!0):u.diff(s,T.d,!0));var D=(g.rounding||Math.round)(Math.abs(p));if(_=p>0,D<=T.r||!T.r){D<=1&&L>0&&(T=S[L-1]);var B=b[T.l];x&&(D=x(""+D)),y=typeof B=="string"?B.replace("%d",D):B(D,h,T.l,_);break}}if(h)return y;var $=_?b.future:b.past;return typeof $=="function"?$(y):$.replace("%s",y)},i.to=function(s,h){return c(s,h,this,!0)},i.from=function(s,h){return c(s,h,this)};var f=function(s){return s.$u?r.utc():r()};i.toNow=function(s){return this.to(f(this),s)},i.fromNow=function(s){return this.from(f(this),s)}}})},23250:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";var g="week",e="year";return function(r,i,l){var c=i.prototype;c.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var s=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=l(this).startOf(e).add(1,e).date(s),u=l(this).endOf(g);if(h.isBefore(u))return 1}var a=l(this).startOf(e).date(s).startOf(g).subtract(1,"millisecond"),x=this.diff(a,g,!0);return x<0?l(this).startOf("week").week():Math.ceil(x)},c.weeks=function(f){return f===void 0&&(f=null),this.week(f)}}})},74959:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.weekYear=function(){var r=this.month(),i=this.week(),l=this.year();return i===1&&r===11?l+1:r===0&&i>=52?l-1:l}}})},90111:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";return function(g,e){e.prototype.weekday=function(r){var i=this.$locale().weekStart||0,l=this.$W,c=(l<i?l+7:l)-i;return this.$utils().u(r)?c:this.subtract(c,"day").add(r,"day")}}})},89880:function(d){"use strict";function g(s,h,u){return h in s?Object.defineProperty(s,h,{value:u,enumerable:!0,configurable:!0,writable:!0}):s[h]=u,s}function e(s,h){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(s);h&&(a=a.filter(function(x){return Object.getOwnPropertyDescriptor(s,x).enumerable})),u.push.apply(u,a)}return u}function r(s){for(var h=1;h<arguments.length;h++){var u=arguments[h]!=null?arguments[h]:{};h%2?e(Object(u),!0).forEach(function(a){g(s,a,u[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):e(Object(u)).forEach(function(a){Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(u,a))})}return s}var i="@@DVA_LOADING/SHOW",l="@@DVA_LOADING/HIDE",c="loading";function f(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=s.namespace||c,u=s.only,a=u===void 0?[]:u,x=s.except,p=x===void 0?[]:x;if(a.length>0&&p.length>0)throw Error("It is ambiguous to configurate `only` and `except` items at the same time.");var y={global:!1,models:{},effects:{}},_=g({},h,function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y,R=arguments.length>1?arguments[1]:void 0,L=R.type,T=R.payload,D=T||{},B=D.namespace,$=D.actionType,U;switch(L){case i:U=r(r({},S),{},{global:!0,models:r(r({},S.models),{},g({},B,!0)),effects:r(r({},S.effects),{},g({},$,!0))});break;case l:{var V=r(r({},S.effects),{},g({},$,!1)),K=r(r({},S.models),{},g({},B,Object.keys(V).some(function(oe){var ae=oe.split("/")[0];return ae!==B?!1:V[oe]}))),G=Object.keys(K).some(function(oe){return K[oe]});U=r(r({},S),{},{global:G,models:K,effects:V});break}default:U=S;break}return U});function b(S,R,L,T){var D=R.put,B=L.namespace;return a.length===0&&p.length===0||a.length>0&&a.indexOf(T)!==-1||p.length>0&&p.indexOf(T)===-1?regeneratorRuntime.mark(function $(){var U=arguments;return regeneratorRuntime.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.next=2,D({type:i,payload:{namespace:B,actionType:T}});case 2:return K.next=4,S.apply(void 0,U);case 4:return K.next=6,D({type:l,payload:{namespace:B,actionType:T}});case 6:case"end":return K.stop()}},$)}):S}return{extraReducers:_,onEffect:b}}d.exports=f},68192:function(d){"use strict";d.exports=function(){}},63474:function(d,g,e){"use strict";d.exports=e(71111)()?Object.assign:e(47597)},71111:function(d){"use strict";d.exports=function(){var g=Object.assign,e;return typeof g!="function"?!1:(e={foo:"raz"},g(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},47597:function(d,g,e){"use strict";var r=e(90721),i=e(58883),l=Math.max;d.exports=function(c,f){var s,h,u=l(arguments.length,2),a;for(c=Object(i(c)),a=function(x){try{c[x]=f[x]}catch(p){s||(s=p)}},h=1;h<u;++h)f=arguments[h],r(f).forEach(a);if(s!==void 0)throw s;return c}},67390:function(d,g,e){"use strict";var r=e(68192)();d.exports=function(i){return i!==r&&i!==null}},90721:function(d,g,e){"use strict";d.exports=e(69075)()?Object.keys:e(34810)},69075:function(d){"use strict";d.exports=function(){try{return Object.keys("primitive"),!0}catch(g){return!1}}},34810:function(d,g,e){"use strict";var r=e(67390),i=Object.keys;d.exports=function(l){return i(r(l)?Object(l):l)}},47095:function(d,g,e){"use strict";var r=e(67390),i=Array.prototype.forEach,l=Object.create,c=function(f,s){var h;for(h in f)s[h]=f[h]};d.exports=function(f){var s=l(null);return i.call(arguments,function(h){r(h)&&c(Object(h),s)}),s}},15895:function(d){"use strict";d.exports=function(g){if(typeof g!="function")throw new TypeError(g+" is not a function");return g}},58883:function(d,g,e){"use strict";var r=e(67390);d.exports=function(i){if(!r(i))throw new TypeError("Cannot use null or undefined");return i}},99363:function(d,g,e){"use strict";d.exports=e(65136)()?String.prototype.contains:e(12444)},65136:function(d){"use strict";var g="razdwatrzy";d.exports=function(){return typeof g.contains!="function"?!1:g.contains("dwa")===!0&&g.contains("foo")===!1}},12444:function(d){"use strict";var g=String.prototype.indexOf;d.exports=function(e){return g.call(this,e,arguments[1])>-1}},3424:function(d,g,e){"use strict";var r=e(35413),i=e(15895),l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,s=Object.defineProperty,h=Object.defineProperties,u=Object.prototype.hasOwnProperty,a={configurable:!0,enumerable:!1,writable:!0},x,p,y,_,b,S,R;x=function(L,T){var D;return i(T),u.call(this,"__ee__")?D=this.__ee__:(D=a.value=f(null),s(this,"__ee__",a),a.value=null),D[L]?typeof D[L]=="object"?D[L].push(T):D[L]=[D[L],T]:D[L]=T,this},p=function(L,T){var D,B;return i(T),B=this,x.call(this,L,D=function(){y.call(B,L,D),l.call(T,this,arguments)}),D.__eeOnceListener__=T,this},y=function(L,T){var D,B,$,U;if(i(T),!u.call(this,"__ee__"))return this;if(D=this.__ee__,!D[L])return this;if(B=D[L],typeof B=="object")for(U=0;$=B[U];++U)($===T||$.__eeOnceListener__===T)&&(B.length===2?D[L]=B[U?0:1]:B.splice(U,1));else(B===T||B.__eeOnceListener__===T)&&delete D[L];return this},_=function(L){var T,D,B,$,U;if(u.call(this,"__ee__")&&($=this.__ee__[L],!!$))if(typeof $=="object"){for(D=arguments.length,U=new Array(D-1),T=1;T<D;++T)U[T-1]=arguments[T];for($=$.slice(),T=0;B=$[T];++T)l.call(B,this,U)}else switch(arguments.length){case 1:c.call($,this);break;case 2:c.call($,this,arguments[1]);break;case 3:c.call($,this,arguments[1],arguments[2]);break;default:for(D=arguments.length,U=new Array(D-1),T=1;T<D;++T)U[T-1]=arguments[T];l.call($,this,U)}},b={on:x,once:p,off:y,emit:_},S={on:r(x),once:r(p),off:r(y),emit:r(_)},R=h({},S),d.exports=g=function(L){return L==null?f(R):h(Object(L),S)},g.methods=b},89381:function(d){d.exports=function(e,r){if(r=typeof r=="number"?r:1/0,!r)return Array.isArray(e)?e.map(function(l){return l}):e;return i(e,1);function i(l,c){return l.reduce(function(f,s){return Array.isArray(s)&&c<r?f.concat(i(s,c+1)):f.concat(s)},[])}}},60288:function(d,g,e){var r;typeof window!="undefined"?r=window:typeof e.g!="undefined"?r=e.g:typeof self!="undefined"?r=self:r={},d.exports=r},85582:function(d,g,e){var r=g;r.utils=e(8631),r.common=e(28766),r.sha=e(26672),r.ripemd=e(20427),r.hmac=e(57969),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},28766:function(d,g,e){"use strict";var r=e(8631),i=e(61339);function l(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}g.BlockHash=l,l.prototype.update=function(f,s){if(f=r.toArray(f,s),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,s=this._delta8,h=s-(f+this.padLength)%s,u=new Array(h+this.padLength);u[0]=128;for(var a=1;a<h;a++)u[a]=0;if(f<<=3,this.endian==="big"){for(var x=8;x<this.padLength;x++)u[a++]=0;u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=f>>>24&255,u[a++]=f>>>16&255,u[a++]=f>>>8&255,u[a++]=f&255}else for(u[a++]=f&255,u[a++]=f>>>8&255,u[a++]=f>>>16&255,u[a++]=f>>>24&255,u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=0,x=8;x<this.padLength;x++)u[a++]=0;return u}},57969:function(d,g,e){"use strict";var r=e(8631),i=e(61339);function l(c,f,s){if(!(this instanceof l))return new l(c,f,s);this.Hash=c,this.blockSize=c.blockSize/8,this.outSize=c.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(f,s))}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 s=f.length;s<this.blockSize;s++)f.push(0);for(s=0;s<f.length;s++)f[s]^=54;for(this.inner=new this.Hash().update(f),s=0;s<f.length;s++)f[s]^=106;this.outer=new this.Hash().update(f)},l.prototype.update=function(f,s){return this.inner.update(f,s),this},l.prototype.digest=function(f){return this.outer.update(this.inner.digest()),this.outer.digest(f)}},20427:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=r.rotl32,c=r.sum32,f=r.sum32_3,s=r.sum32_4,h=i.BlockHash;function u(){if(!(this instanceof u))return new u;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}r.inherits(u,h),g.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(L,T){for(var D=this.h[0],B=this.h[1],$=this.h[2],U=this.h[3],V=this.h[4],K=D,G=B,oe=$,ae=U,le=V,Q=0;Q<80;Q++){var J=c(l(s(D,a(Q,B,$,U),L[y[Q]+T],x(Q)),b[Q]),V);D=V,V=U,U=l($,10),$=B,B=J,J=c(l(s(K,a(79-Q,G,oe,ae),L[_[Q]+T],p(Q)),S[Q]),le),K=le,le=ae,ae=l(oe,10),oe=G,G=J}J=f(this.h[1],$,ae),this.h[1]=f(this.h[2],U,le),this.h[2]=f(this.h[3],V,K),this.h[3]=f(this.h[4],D,G),this.h[4]=f(this.h[0],B,oe),this.h[0]=J},u.prototype._digest=function(L){return L==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(R,L,T,D){return R<=15?L^T^D:R<=31?L&T|~L&D:R<=47?(L|~T)^D:R<=63?L&D|T&~D:L^(T|~D)}function x(R){return R<=15?0:R<=31?1518500249:R<=47?1859775393:R<=63?2400959708:2840853838}function p(R){return R<=15?1352829926:R<=31?1548603684:R<=47?1836072691:R<=63?2053994217:0}var y=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],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,g,e){"use strict";g.sha1=e(16114),g.sha224=e(44853),g.sha256=e(6586),g.sha384=e(66474),g.sha512=e(50663)},16114:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=r.rotl32,f=r.sum32,s=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 R=this.h[0],L=this.h[1],T=this.h[2],D=this.h[3],B=this.h[4];for(S=0;S<b.length;S++){var $=~~(S/20),U=s(c(R,5),h($,L,T,D),B,b[S],a[$]);B=D,D=T,T=c(L,30),L=R,R=U}this.h[0]=f(this.h[0],R),this.h[1]=f(this.h[1],L),this.h[2]=f(this.h[2],T),this.h[3]=f(this.h[3],D),this.h[4]=f(this.h[4],B)},x.prototype._digest=function(y){return y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},44853:function(d,g,e){"use strict";var r=e(8631),i=e(6586);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=512,l.outSize=224,l.hmacStrength=192,l.padLength=64,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},6586:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=e(61339),f=r.sum32,s=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 R(){if(!(this instanceof R))return new R;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=S,this.W=new Array(64)}r.inherits(R,b),d.exports=R,R.blockSize=512,R.outSize=256,R.hmacStrength=192,R.padLength=64,R.prototype._update=function(T,D){for(var B=this.W,$=0;$<16;$++)B[$]=T[D+$];for(;$<B.length;$++)B[$]=s(_(B[$-2]),B[$-7],y(B[$-15]),B[$-16]);var U=this.h[0],V=this.h[1],K=this.h[2],G=this.h[3],oe=this.h[4],ae=this.h[5],le=this.h[6],Q=this.h[7];for(c(this.k.length===B.length),$=0;$<B.length;$++){var J=h(Q,p(oe),u(oe,ae,le),this.k[$],B[$]),Y=f(x(U),a(U,V,K));Q=le,le=ae,ae=oe,oe=f(G,J),G=K,K=V,V=U,U=f(J,Y)}this.h[0]=f(this.h[0],U),this.h[1]=f(this.h[1],V),this.h[2]=f(this.h[2],K),this.h[3]=f(this.h[3],G),this.h[4]=f(this.h[4],oe),this.h[5]=f(this.h[5],ae),this.h[6]=f(this.h[6],le),this.h[7]=f(this.h[7],Q)},R.prototype._digest=function(T){return T==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},66474:function(d,g,e){"use strict";var r=e(8631),i=e(50663);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=1024,l.outSize=384,l.hmacStrength=192,l.padLength=128,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},50663:function(d,g,e){"use strict";var r=e(8631),i=e(28766),l=e(61339),c=r.rotr64_hi,f=r.rotr64_lo,s=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,R=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function L(){if(!(this instanceof L))return new L;S.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=R,this.W=new Array(160)}r.inherits(L,S),d.exports=L,L.blockSize=1024,L.outSize=512,L.hmacStrength=192,L.padLength=128,L.prototype._prepareBlock=function(Y,ue){for(var ne=this.W,ee=0;ee<32;ee++)ne[ee]=Y[ue+ee];for(;ee<ne.length;ee+=2){var ie=le(ne[ee-4],ne[ee-3]),F=Q(ne[ee-4],ne[ee-3]),M=ne[ee-14],q=ne[ee-13],de=oe(ne[ee-30],ne[ee-29]),Ee=ae(ne[ee-30],ne[ee-29]),Ce=ne[ee-32],je=ne[ee-31];ne[ee]=p(ie,F,M,q,de,Ee,Ce,je),ne[ee+1]=y(ie,F,M,q,de,Ee,Ce,je)}},L.prototype._update=function(Y,ue){this._prepareBlock(Y,ue);var ne=this.W,ee=this.h[0],ie=this.h[1],F=this.h[2],M=this.h[3],q=this.h[4],de=this.h[5],Ee=this.h[6],Ce=this.h[7],je=this.h[8],Fe=this.h[9],Ft=this.h[10],_t=this.h[11],Pt=this.h[12],Qt=this.h[13],er=this.h[14],Jt=this.h[15];l(this.k.length===ne.length);for(var Xe=0;Xe<ne.length;Xe+=2){var It=er,zt=Jt,st=K(je,Fe),bt=G(je,Fe),ht=T(je,Fe,Ft,_t,Pt,Qt),Je=D(je,Fe,Ft,_t,Pt,Qt),Ue=this.k[Xe],ge=this.k[Xe+1],Ae=ne[Xe],Me=ne[Xe+1],$e=_(It,zt,st,bt,ht,Je,Ue,ge,Ae,Me),He=b(It,zt,st,bt,ht,Je,Ue,ge,Ae,Me);It=U(ee,ie),zt=V(ee,ie),st=B(ee,ie,F,M,q,de),bt=$(ee,ie,F,M,q,de);var nt=a(It,zt,st,bt),ct=x(It,zt,st,bt);er=Pt,Jt=Qt,Pt=Ft,Qt=_t,Ft=je,_t=Fe,je=a(Ee,Ce,$e,He),Fe=x(Ce,Ce,$e,He),Ee=q,Ce=de,q=F,de=M,F=ee,M=ie,ee=a($e,He,nt,ct),ie=x($e,He,nt,ct)}u(this.h,0,ee,ie),u(this.h,2,F,M),u(this.h,4,q,de),u(this.h,6,Ee,Ce),u(this.h,8,je,Fe),u(this.h,10,Ft,_t),u(this.h,12,Pt,Qt),u(this.h,14,er,Jt)},L.prototype._digest=function(Y){return Y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function T(J,Y,ue,ne,ee){var ie=J&ue^~Jⅇreturn ie<0&&(ie+=4294967296),ie}function D(J,Y,ue,ne,ee,ie){var F=Y&ne^~Y&ie;return F<0&&(F+=4294967296),F}function B(J,Y,ue,ne,ee){var ie=J&ue^J&ee^ueⅇreturn ie<0&&(ie+=4294967296),ie}function $(J,Y,ue,ne,ee,ie){var F=Y&ne^Y&ie^ne&ie;return F<0&&(F+=4294967296),F}function U(J,Y){var ue=c(J,Y,28),ne=c(Y,J,2),ee=c(Y,J,7),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function V(J,Y){var ue=f(J,Y,28),ne=f(Y,J,2),ee=f(Y,J,7),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function K(J,Y){var ue=c(J,Y,14),ne=c(J,Y,18),ee=c(Y,J,9),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function G(J,Y){var ue=f(J,Y,14),ne=f(J,Y,18),ee=f(Y,J,9),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function oe(J,Y){var ue=c(J,Y,1),ne=c(J,Y,8),ee=s(J,Y,7),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function ae(J,Y){var ue=f(J,Y,1),ne=f(J,Y,8),ee=h(J,Y,7),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function le(J,Y){var ue=c(J,Y,19),ne=c(Y,J,29),ee=s(J,Y,6),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}function Q(J,Y){var ue=f(J,Y,19),ne=f(Y,J,29),ee=h(J,Y,6),ie=ue^ne^ee;return ie<0&&(ie+=4294967296),ie}},81692:function(d,g,e){"use strict";var r=e(8631),i=r.rotr32;function l(p,y,_,b){if(p===0)return c(y,_,b);if(p===1||p===3)return s(y,_,b);if(p===2)return f(y,_,b)}g.ft_1=l;function c(p,y,_){return p&y^~p&_}g.ch32=c;function f(p,y,_){return p&y^p&_^y&_}g.maj32=f;function s(p,y,_){return p^y^_}g.p32=s;function h(p){return i(p,2)^i(p,13)^i(p,22)}g.s0_256=h;function u(p){return i(p,6)^i(p,11)^i(p,25)}g.s1_256=u;function a(p){return i(p,7)^i(p,18)^p>>>3}g.g0_256=a;function x(p){return i(p,17)^i(p,19)^p>>>10}g.g1_256=x},8631:function(d,g,e){"use strict";var r=e(61339),i=e(4603);g.inherits=i;function l(Q,J){return(Q.charCodeAt(J)&64512)!==55296||J<0||J+1>=Q.length?!1:(Q.charCodeAt(J+1)&64512)===56320}function c(Q,J){if(Array.isArray(Q))return Q.slice();if(!Q)return[];var Y=[];if(typeof Q=="string")if(J){if(J==="hex")for(Q=Q.replace(/[^a-z0-9]+/ig,""),Q.length%2!==0&&(Q="0"+Q),ne=0;ne<Q.length;ne+=2)Y.push(parseInt(Q[ne]+Q[ne+1],16))}else for(var ue=0,ne=0;ne<Q.length;ne++){var ee=Q.charCodeAt(ne);ee<128?Y[ue++]=ee:ee<2048?(Y[ue++]=ee>>6|192,Y[ue++]=ee&63|128):l(Q,ne)?(ee=65536+((ee&1023)<<10)+(Q.charCodeAt(++ne)&1023),Y[ue++]=ee>>18|240,Y[ue++]=ee>>12&63|128,Y[ue++]=ee>>6&63|128,Y[ue++]=ee&63|128):(Y[ue++]=ee>>12|224,Y[ue++]=ee>>6&63|128,Y[ue++]=ee&63|128)}else for(ne=0;ne<Q.length;ne++)Y[ne]=Q[ne]|0;return Y}g.toArray=c;function f(Q){for(var J="",Y=0;Y<Q.length;Y++)J+=u(Q[Y].toString(16));return J}g.toHex=f;function s(Q){var J=Q>>>24|Q>>>8&65280|Q<<8&16711680|(Q&255)<<24;return J>>>0}g.htonl=s;function h(Q,J){for(var Y="",ue=0;ue<Q.length;ue++){var ne=Q[ue];J==="little"&&(ne=s(ne)),Y+=a(ne.toString(16))}return Y}g.toHex32=h;function u(Q){return Q.length===1?"0"+Q:Q}g.zero2=u;function a(Q){return Q.length===7?"0"+Q:Q.length===6?"00"+Q:Q.length===5?"000"+Q:Q.length===4?"0000"+Q:Q.length===3?"00000"+Q:Q.length===2?"000000"+Q:Q.length===1?"0000000"+Q:Q}g.zero8=a;function x(Q,J,Y,ue){var ne=Y-J;r(ne%4===0);for(var ee=new Array(ne/4),ie=0,F=J;ie<ee.length;ie++,F+=4){var M;ue==="big"?M=Q[F]<<24|Q[F+1]<<16|Q[F+2]<<8|Q[F+3]:M=Q[F+3]<<24|Q[F+2]<<16|Q[F+1]<<8|Q[F],ee[ie]=M>>>0}return ee}g.join32=x;function p(Q,J){for(var Y=new Array(Q.length*4),ue=0,ne=0;ue<Q.length;ue++,ne+=4){var ee=Q[ue];J==="big"?(Y[ne]=ee>>>24,Y[ne+1]=ee>>>16&255,Y[ne+2]=ee>>>8&255,Y[ne+3]=ee&255):(Y[ne+3]=ee>>>24,Y[ne+2]=ee>>>16&255,Y[ne+1]=ee>>>8&255,Y[ne]=ee&255)}return Y}g.split32=p;function y(Q,J){return Q>>>J|Q<<32-J}g.rotr32=y;function _(Q,J){return Q<<J|Q>>>32-J}g.rotl32=_;function b(Q,J){return Q+J>>>0}g.sum32=b;function S(Q,J,Y){return Q+J+Y>>>0}g.sum32_3=S;function R(Q,J,Y,ue){return Q+J+Y+ue>>>0}g.sum32_4=R;function L(Q,J,Y,ue,ne){return Q+J+Y+ue+ne>>>0}g.sum32_5=L;function T(Q,J,Y,ue){var ne=Q[J],ee=Q[J+1],ie=ue+ee>>>0,F=(ie<ue?1:0)+Y+ne;Q[J]=F>>>0,Q[J+1]=ie}g.sum64=T;function D(Q,J,Y,ue){var ne=J+ue>>>0,ee=(ne<J?1:0)+Q+Y;return ee>>>0}g.sum64_hi=D;function B(Q,J,Y,ue){var ne=J+ue;return ne>>>0}g.sum64_lo=B;function $(Q,J,Y,ue,ne,ee,ie,F){var M=0,q=J;q=q+ue>>>0,M+=q<J?1:0,q=q+ee>>>0,M+=q<ee?1:0,q=q+F>>>0,M+=q<F?1:0;var de=Q+Y+ne+ie+M;return de>>>0}g.sum64_4_hi=$;function U(Q,J,Y,ue,ne,ee,ie,F){var M=J+ue+ee+F;return M>>>0}g.sum64_4_lo=U;function V(Q,J,Y,ue,ne,ee,ie,F,M,q){var de=0,Ee=J;Ee=Ee+ue>>>0,de+=Ee<J?1:0,Ee=Ee+ee>>>0,de+=Ee<ee?1:0,Ee=Ee+F>>>0,de+=Ee<F?1:0,Ee=Ee+q>>>0,de+=Ee<q?1:0;var Ce=Q+Y+ne+ie+M+de;return Ce>>>0}g.sum64_5_hi=V;function K(Q,J,Y,ue,ne,ee,ie,F,M,q){var de=J+ue+ee+F+q;return de>>>0}g.sum64_5_lo=K;function G(Q,J,Y){var ue=J<<32-Y|Q>>>Y;return ue>>>0}g.rotr64_hi=G;function oe(Q,J,Y){var ue=Q<<32-Y|J>>>Y;return ue>>>0}g.rotr64_lo=oe;function ae(Q,J,Y){return Q>>>Y}g.shr64_hi=ae;function le(Q,J,Y){var ue=Q<<32-Y|J>>>Y;return ue>>>0}g.shr64_lo=le},19340:function(d,g,e){"use strict";e.d(g,{Ep:function(){return S},PP:function(){return x},aU:function(){return i},cP:function(){return R},lX:function(){return u},q_:function(){return a}});var r=e(72308),i;(function(L){L.Pop="POP",L.Push="PUSH",L.Replace="REPLACE"})(i||(i={}));var l=function(L){return L};function c(L,T){if(!L){typeof console!="undefined"&&console.warn(T);try{throw new Error(T)}catch(D){}}}var f="beforeunload",s="hashchange",h="popstate";function u(L){L===void 0&&(L={});var T=L,D=T.window,B=D===void 0?document.defaultView:D,$=B.history;function U(){var Ee=B.location,Ce=Ee.pathname,je=Ee.search,Fe=Ee.hash,Ft=$.state||{};return[Ft.idx,l({pathname:Ce,search:je,hash:Fe,state:Ft.usr||null,key:Ft.key||"default"})]}var V=null;function K(){if(V)J.call(V),V=null;else{var Ee=i.Pop,Ce=U(),je=Ce[0],Fe=Ce[1];if(J.length){if(je!=null){var Ft=ae-je;Ft&&(V={action:Ee,location:Fe,retry:function(){q(Ft*-1)}},q(Ft))}}else ie(Ee)}}B.addEventListener(h,K);var G=i.Pop,oe=U(),ae=oe[0],le=oe[1],Q=_(),J=_();ae==null&&(ae=0,$.replaceState((0,r.Z)({},$.state,{idx:ae}),""));function Y(Ee){return typeof Ee=="string"?Ee:S(Ee)}function ue(Ee,Ce){return Ce===void 0&&(Ce=null),l((0,r.Z)({pathname:le.pathname,hash:"",search:""},typeof Ee=="string"?R(Ee):Ee,{state:Ce,key:b()}))}function ne(Ee,Ce){return[{usr:Ee.state,key:Ee.key,idx:Ce},Y(Ee)]}function ee(Ee,Ce,je){return!J.length||(J.call({action:Ee,location:Ce,retry:je}),!1)}function ie(Ee){G=Ee;var Ce=U();ae=Ce[0],le=Ce[1],Q.call({action:G,location:le})}function F(Ee,Ce){var je=i.Push,Fe=ue(Ee,Ce);function Ft(){F(Ee,Ce)}if(ee(je,Fe,Ft)){var _t=ne(Fe,ae+1),Pt=_t[0],Qt=_t[1];try{$.pushState(Pt,"",Qt)}catch(er){B.location.assign(Qt)}ie(je)}}function M(Ee,Ce){var je=i.Replace,Fe=ue(Ee,Ce);function Ft(){M(Ee,Ce)}if(ee(je,Fe,Ft)){var _t=ne(Fe,ae),Pt=_t[0],Qt=_t[1];$.replaceState(Pt,"",Qt),ie(je)}}function q(Ee){$.go(Ee)}var de={get action(){return G},get location(){return le},createHref:Y,push:F,replace:M,go:q,back:function(){q(-1)},forward:function(){q(1)},listen:function(Ce){return Q.push(Ce)},block:function(Ce){var je=J.push(Ce);return J.length===1&&B.addEventListener(f,y),function(){je(),J.length||B.removeEventListener(f,y)}}};return de}function a(L){L===void 0&&(L={});var T=L,D=T.window,B=D===void 0?document.defaultView:D,$=B.history;function U(){var Ce=R(B.location.hash.substr(1)),je=Ce.pathname,Fe=je===void 0?"/":je,Ft=Ce.search,_t=Ft===void 0?"":Ft,Pt=Ce.hash,Qt=Pt===void 0?"":Pt,er=$.state||{};return[er.idx,l({pathname:Fe,search:_t,hash:Qt,state:er.usr||null,key:er.key||"default"})]}var V=null;function K(){if(V)J.call(V),V=null;else{var Ce=i.Pop,je=U(),Fe=je[0],Ft=je[1];if(J.length){if(Fe!=null){var _t=ae-Fe;_t&&(V={action:Ce,location:Ft,retry:function(){de(_t*-1)}},de(_t))}}else F(Ce)}}B.addEventListener(h,K),B.addEventListener(s,function(){var Ce=U(),je=Ce[1];S(je)!==S(le)&&K()});var G=i.Pop,oe=U(),ae=oe[0],le=oe[1],Q=_(),J=_();ae==null&&(ae=0,$.replaceState((0,r.Z)({},$.state,{idx:ae}),""));function Y(){var Ce=document.querySelector("base"),je="";if(Ce&&Ce.getAttribute("href")){var Fe=B.location.href,Ft=Fe.indexOf("#");je=Ft===-1?Fe:Fe.slice(0,Ft)}return je}function ue(Ce){return Y()+"#"+(typeof Ce=="string"?Ce:S(Ce))}function ne(Ce,je){return je===void 0&&(je=null),l((0,r.Z)({pathname:le.pathname,hash:"",search:""},typeof Ce=="string"?R(Ce):Ce,{state:je,key:b()}))}function ee(Ce,je){return[{usr:Ce.state,key:Ce.key,idx:je},ue(Ce)]}function ie(Ce,je,Fe){return!J.length||(J.call({action:Ce,location:je,retry:Fe}),!1)}function F(Ce){G=Ce;var je=U();ae=je[0],le=je[1],Q.call({action:G,location:le})}function M(Ce,je){var Fe=i.Push,Ft=ne(Ce,je);function _t(){M(Ce,je)}if(ie(Fe,Ft,_t)){var Pt=ee(Ft,ae+1),Qt=Pt[0],er=Pt[1];try{$.pushState(Qt,"",er)}catch(Jt){B.location.assign(er)}F(Fe)}}function q(Ce,je){var Fe=i.Replace,Ft=ne(Ce,je);function _t(){q(Ce,je)}if(ie(Fe,Ft,_t)){var Pt=ee(Ft,ae),Qt=Pt[0],er=Pt[1];$.replaceState(Qt,"",er),F(Fe)}}function de(Ce){$.go(Ce)}var Ee={get action(){return G},get location(){return le},createHref:ue,push:M,replace:q,go:de,back:function(){de(-1)},forward:function(){de(1)},listen:function(je){return Q.push(je)},block:function(je){var Fe=J.push(je);return J.length===1&&B.addEventListener(f,y),function(){Fe(),J.length||B.removeEventListener(f,y)}}};return Ee}function x(L){L===void 0&&(L={});var T=L,D=T.initialEntries,B=D===void 0?["/"]:D,$=T.initialIndex,U=B.map(function(F){var M=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof F=="string"?R(F):F));return M}),V=p($==null?U.length-1:$,0,U.length-1),K=i.Pop,G=U[V],oe=_(),ae=_();function le(F){return typeof F=="string"?F:S(F)}function Q(F,M){return M===void 0&&(M=null),l((0,r.Z)({pathname:G.pathname,search:"",hash:""},typeof F=="string"?R(F):F,{state:M,key:b()}))}function J(F,M,q){return!ae.length||(ae.call({action:F,location:M,retry:q}),!1)}function Y(F,M){K=F,G=M,oe.call({action:K,location:G})}function ue(F,M){var q=i.Push,de=Q(F,M);function Ee(){ue(F,M)}J(q,de,Ee)&&(V+=1,U.splice(V,U.length,de),Y(q,de))}function ne(F,M){var q=i.Replace,de=Q(F,M);function Ee(){ne(F,M)}J(q,de,Ee)&&(U[V]=de,Y(q,de))}function ee(F){var M=p(V+F,0,U.length-1),q=i.Pop,de=U[M];function Ee(){ee(F)}J(q,de,Ee)&&(V=M,Y(q,de))}var ie={get index(){return V},get action(){return K},get location(){return G},createHref:le,push:ue,replace:ne,go:ee,back:function(){ee(-1)},forward:function(){ee(1)},listen:function(M){return oe.push(M)},block:function(M){return ae.push(M)}};return ie}function p(L,T,D){return Math.min(Math.max(L,T),D)}function y(L){L.preventDefault(),L.returnValue=""}function _(){var L=[];return{get length(){return L.length},push:function(D){return L.push(D),function(){L=L.filter(function(B){return B!==D})}},call:function(D){L.forEach(function(B){return B&&B(D)})}}}function b(){return Math.random().toString(36).substr(2,8)}function S(L){var T=L.pathname,D=T===void 0?"/":T,B=L.search,$=B===void 0?"":B,U=L.hash,V=U===void 0?"":U;return $&&$!=="?"&&(D+=$.charAt(0)==="?"?$:"?"+$),V&&V!=="#"&&(D+=V.charAt(0)==="#"?V:"#"+V),D}function R(L){var T={};if(L){var D=L.indexOf("#");D>=0&&(T.hash=L.substr(D),L=L.substr(0,D));var B=L.indexOf("?");B>=0&&(T.search=L.substr(B),L=L.substr(0,B)),L&&(T.pathname=L)}return T}},94266:function(d,g,e){"use strict";var r=e(99234),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=c,s[r.Memo]=f;function h(S){return r.isMemo(S)?f:s[S.$$typeof]||i}var u=Object.defineProperty,a=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,_=Object.prototype;function b(S,R,L){if(typeof R!="string"){if(_){var T=y(R);T&&T!==_&&b(S,T,L)}var D=a(R);x&&(D=D.concat(x(R)));for(var B=h(S),$=h(R),U=0;U<D.length;++U){var V=D[U];if(!l[V]&&!(L&&L[V])&&!($&&$[V])&&!(B&&B[V])){var K=p(R,V);try{u(S,V,K)}catch(G){}}}}return S}d.exports=b},4603:function(d){typeof Object.create=="function"?d.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:d.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}}},44520:function(d){"use strict";var g=function(e,r,i,l,c,f,s,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,s,h],x=0;u=new Error(r.replace(/%s/g,function(){return a[x++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};d.exports=g},78034:function(d){d.exports=function(r){return r!=null&&(g(r)||e(r)||!!r._isBuffer)};function g(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function e(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&g(r.slice(0,0))}},78639:function(d,g,e){"use strict";var r=e(77497);function i(l){return r(l)===!0&&Object.prototype.toString.call(l)==="[object Object]"}d.exports=function(c){var f,s;return!(i(c)===!1||(f=c.constructor,typeof f!="function")||(s=f.prototype,i(s)===!1)||s.hasOwnProperty("isPrototypeOf")===!1)}},77497:function(d){"use strict";d.exports=function(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}},53184:function(d,g,e){"use strict";var r,i;function l(c,f,s){var h=function(u,a){return c.js_beautify(u,a)};return h.js=c.js_beautify,h.css=f.css_beautify,h.html=s.html_beautify,h.js_beautify=c.js_beautify,h.css_beautify=f.css_beautify,h.html_beautify=s.html_beautify,h}r=[e(58553),e(87804),e(40998)],i=function(c,f,s){return l(c,f,s)}.apply(g,r),i!==void 0&&(d.exports=i)},87804:function(d,g){var e,r;(function(){var i;(function(){"use strict";var c=[,,function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
|
|
|
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
|
|
|
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
|
|
|
`);return y!==`
|
|
|
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var 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 R=new p(b,S);return R.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(17).Options,y=x(2).Output,_=x(8).InputScanner,b=x(13).Directives,S=new b(/\/\*/,/\*\//),R=/\r\n|[\r\n]/,L=/\r\n|[\r\n]/g,T=/\s/,D=/(?:\s|\n)+/g,B=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,$=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function U(V,K){this._source_text=V||"",this._options=new p(K),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"]}U.prototype.eatString=function(V){var K="";for(this._ch=this._input.next();this._ch;){if(K+=this._ch,this._ch==="\\")K+=this._input.next();else if(V.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return K},U.prototype.eatWhitespace=function(V){for(var K=T.test(this._input.peek()),G=0;T.test(this._input.peek());)this._ch=this._input.next(),V&&this._ch===`
|
|
|
`&&(G===0||G<this._options.max_preserve_newlines)&&(G++,this._output.add_new_line(!0));return K},U.prototype.foundNestedPseudoClass=function(){for(var V=0,K=1,G=this._input.peek(K);G;){if(G==="{")return!0;if(G==="(")V+=1;else if(G===")"){if(V===0)return!1;V-=1}else if(G===";"||G==="}")return!1;K++,G=this._input.peek(K)}return!1},U.prototype.print_string=function(V){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(V)},U.prototype.preserveSingleSpace=function(V){V&&(this._output.space_before_token=!0)},U.prototype.indent=function(){this._indentLevel++},U.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},U.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var V=this._source_text,K=this._options.eol;K==="auto"&&(K=`
|
|
|
`,V&&R.test(V||"")&&(K=V.match(R)[0])),V=V.replace(L,`
|
|
|
`);var G=V.match(/^[\t ]*/)[0];this._output=new y(this._options,G),this._input=new _(V),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var oe=0,ae=!1,le=!1,Q=!1,J=!1,Y=!1,ue=this._ch,ne=!1,ee,ie,F;ee=this._input.read(D),ie=ee!=="",F=ue,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),ue=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var M=this._input.read(B),q=S.get_directives(M);q&&q.ignore==="start"&&(M+=S.readIgnored(this._input)),this.print_string(M),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read($)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(ie),this.print_string(this._ch);var de=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);de.match(/[ :]$/)&&(de=this.eatString(": ").replace(/\s+$/,""),this.print_string(de),this._output.space_before_token=!0),oe===0&&de.indexOf(":")!==-1&&(le=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(ie),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Ee=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Ee.match(/[ :]$/)&&(Ee=this.eatString(": ").replace(/\s+$/,""),this.print_string(Ee),this._output.space_before_token=!0),oe===0&&Ee.indexOf(":")!==-1?(le=!0,this.indent()):Ee in this.NESTED_AT_RULE?(this._nestedLevel+=1,Ee in this.CONDITIONAL_GROUP_RULE&&(Q=!0)):oe===0&&!le&&(J=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ie),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")le&&(le=!1,this.outdent()),J=!1,Q?(Q=!1,ae=this._indentLevel>=this._nestedLevel):ae=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ae&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(F==="("?this._output.space_before_token=!1:F!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),F==="{"&&this._output.trim(!0),le&&(this.outdent(),le=!1),this.print_string(this._ch),ae=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var Ce=0;Ce<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Ce++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Ce])){ne=!0;break}(ae||Q)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!J&&oe===0?(this.print_string(":"),le||(le=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var je=F==='"'||F==="'";this.preserveSingleSpace(je||ie),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ne=!1,oe===0?(le&&(this.outdent(),le=!1),J=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),oe++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),oe&&(oe--,this.outdent()));else{var Fe=!1;this._input.lookBack("with")&&(Fe=!0),this.preserveSingleSpace(ie||Fe),this.print_string(this._ch),le&&F==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),Y=!0):(this.eatWhitespace(),oe++,this.indent())}else if(this._ch===")")oe&&(oe--,this.outdent()),Y&&this._input.peek()===";"&&this._options.selector_separator_newline&&(Y=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!le||Y)&&oe===0&&!J?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!le&&oe===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&T.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(ie),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),T.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var Ft=F==='"'||F==="'";this.preserveSingleSpace(Ft||ie),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&ne&&this._output.add_new_line()}var _t=this._output.get_code(K);return _t},u.exports.Beautifier=U},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 R=0;R<S.length;R++)S[R]!=="expand"?this.brace_style="collapse":this.brace_style=S[R]}y.prototype=new p,u.exports.Options=y}],f={};function s(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,s),x.exports}var h=s(15);i=h})();var l=i;e=[],r=function(){return{css_beautify:l}}.apply(g,e),r!==void 0&&(d.exports=r)})()},40998:function(d,g,e){var r,i;(function(){var l;(function(){"use strict";var h=[,,function(p){function y(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 R=this.__items.length-1;R>=0;R--)if(this.__items[R].match(S))return!0;return!1},y.prototype.set_indent=function(S,R){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=R||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},y.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},y.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},y.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var 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 R=S.lastIndexOf(`
|
|
|
`);R!==-1?this.__character_count=S.length-R: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,R){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)),R=R||"",S.indent_level>0&&(R=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=R,this.__base_string_length=R.length}_.prototype.get_indent_size=function(S,R){var L=this.__base_string_length;return R=R||0,S<0&&(L=0),L+=S*this.__indent_size,L+=R,L},_.prototype.get_indent_string=function(S,R){var L=this.__base_string;return R=R||0,S<0&&(S=0,L=""),R+=S*this.__indent_size,this.__ensure_cache(R),L+=this.__cache[R],L},_.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var S=this.__cache.length,R=0,L="";this.__indent_size&&S>=this.__indent_size&&(R=Math.floor(S/this.__indent_size),S-=R*this.__indent_size,L=new Array(R+1).join(this.__indent_string)),S&&(L+=new Array(S+1).join(" ")),this.__cache.push(L)};function b(S,R){this.__indent_cache=new _(S,R),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,R){return this.__indent_cache.get_indent_string(S,R)},b.prototype.get_indent_size=function(S,R){return this.__indent_cache.get_indent_size(S,R)},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 R=this.current_line.pop();R&&(R[R.length-1]===`
|
|
|
`&&(R=R.replace(/\n+$/g,"")),this.current_line.push(R)),this._end_with_newline&&this.__add_outputline();var L=this.__lines.join(`
|
|
|
`);return S!==`
|
|
|
`&&(L=L.replace(/[\n]/g,S)),L},b.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},b.prototype.set_indent=function(S,R){return S=S||0,R=R||0,this.next_line.set_indent(S,R),this.__lines.length>1?(this.current_line.set_indent(S,R),!0):(this.current_line.set_indent(),!1)},b.prototype.add_raw_token=function(S){for(var R=0;R<S.newlines;R++)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 R=this.__lines.length;S<R;)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,R){for(var L=this.__lines.length-2;L>=0;){var T=this.__lines[L];if(T.is_empty())break;if(T.item(0).indexOf(S)!==0&&T.item(-1)!==R){this.__lines.splice(L+1,0,new y(this)),this.previous_line=this.__lines[this.__lines.length-2];break}L--}},p.exports.Output=b},function(p){function y(_,b,S,R){this.type=_,this.text=b,this.comments_before=null,this.newlines=S||0,this.whitespace_before=R||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}p.exports.Token=y},,,function(p){function y(S,R){this.raw_options=_(S,R),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}y.prototype._get_array=function(S,R){var L=this.raw_options[S],T=R||[];return typeof L=="object"?L!==null&&typeof L.concat=="function"&&(T=L.concat()):typeof L=="string"&&(T=L.split(/[^a-zA-Z0-9_\/\-]+/)),T},y.prototype._get_boolean=function(S,R){var L=this.raw_options[S],T=L===void 0?!!R:!!L;return T},y.prototype._get_characters=function(S,R){var L=this.raw_options[S],T=R||"";return typeof L=="string"&&(T=L.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),T},y.prototype._get_number=function(S,R){var L=this.raw_options[S];R=parseInt(R,10),isNaN(R)&&(R=0);var T=parseInt(L,10);return isNaN(T)&&(T=R),T},y.prototype._get_selection=function(S,R,L){var T=this._get_selection_list(S,R,L);if(T.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
|
|
|
`+R+`
|
|
|
You passed in: '`+this.raw_options[S]+"'");return T[0]},y.prototype._get_selection_list=function(S,R,L){if(!R||R.length===0)throw new Error("Selection list cannot be empty.");if(L=L||[R[0]],!this._is_valid_selection(L,R))throw new Error("Invalid Default Value!");var T=this._get_array(S,L);if(!this._is_valid_selection(T,R))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
|
|
|
`+R+`
|
|
|
You passed in: '`+this.raw_options[S]+"'");return T},y.prototype._is_valid_selection=function(S,R){return S.length&&R.length&&!S.some(function(L){return R.indexOf(L)===-1})};function _(S,R){var L={};S=b(S);var T;for(T in S)T!==R&&(L[T]=S[T]);if(R&&S[R])for(T in S[R])L[T]=S[R][T];return L}function b(S){var R={},L;for(L in S){var T=L.replace(/-/g,"_");R[T]=S[L]}return R}p.exports.Options=y,p.exports.normalizeOpts=b,p.exports.mergeOpts=_},,function(p){var y=RegExp.prototype.hasOwnProperty("sticky");function _(b){this.__input=b||"",this.__input_length=this.__input.length,this.__position=0}_.prototype.restart=function(){this.__position=0},_.prototype.back=function(){this.__position>0&&(this.__position-=1)},_.prototype.hasNext=function(){return this.__position<this.__input_length},_.prototype.next=function(){var b=null;return this.hasNext()&&(b=this.__input.charAt(this.__position),this.__position+=1),b},_.prototype.peek=function(b){var 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 R=b.exec(this.__input);return R&&!(y&&b.sticky)&&R.index!==S&&(R=null),R},_.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 R=this.peek(S);return b.lastIndex=0,R!==null&&b.test(R)},_.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,R){var L="",T;return b&&(T=this.match(b),T&&(L+=T[0])),S&&(T||!b)&&(L+=this.readUntil(S,R)),L},_.prototype.readUntil=function(b,S){var R="",L=this.__position;b.lastIndex=this.__position;var T=b.exec(this.__input);return T?(L=T.index,S&&(L+=T[0].length)):L=this.__input_length,R=this.__input.substring(this.__position,L),this.__position=L,R},_.prototype.readUntilAfter=function(b){return this.readUntil(b,!0)},_.prototype.get_regexp=function(b,S){var R=null,L="g";return S&&y&&(L="y"),typeof b=="string"&&b!==""?R=new RegExp(b,L):b&&(R=new RegExp(b.source,L)),R},_.prototype.get_literal_regexp=function(b){return RegExp(b.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},_.prototype.peekUntilAfter=function(b){var S=this.__position,R=this.readUntilAfter(b);return this.__position=S,R},_.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,R=_(10).TokenStream,L=_(11).WhitespacePattern,T={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},D=function(B,$){this._input=new b(B),this._options=$||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new L(this._input)};D.prototype.tokenize=function(){this._input.restart(),this.__tokens=new R,this._reset();for(var B,$=new S(T.START,""),U=null,V=[],K=new R;$.type!==T.EOF;){for(B=this._get_next_token($,U);this._is_comment(B);)K.add(B),B=this._get_next_token($,U);K.isEmpty()||(B.comments_before=K,K=new R),B.parent=U,this._is_opening(B)?(V.push(U),U=B):U&&this._is_closing(B,U)&&(B.opened=U,U.closed=B,U=V.pop(),B.parent=U),B.previous=$,$.next=B,this.__tokens.add(B),$=B}return this.__tokens},D.prototype._is_first_token=function(){return this.__tokens.isEmpty()},D.prototype._reset=function(){},D.prototype._get_next_token=function(B,$){this._readWhitespace();var U=this._input.read(/.+/g);return U?this._create_token(T.RAW,U):this._create_token(T.EOF,"")},D.prototype._is_comment=function(B){return!1},D.prototype._is_opening=function(B){return!1},D.prototype._is_closing=function(B,$){return!1},D.prototype._create_token=function(B,$){var U=new S(B,$,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return U},D.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=D,p.exports.TOKEN=T},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(R,L){b.call(this,R,L),L?this._line_regexp=this._input.get_regexp(L._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}S.prototype=new b,S.prototype.__set_whitespace_patterns=function(R,L){R+="\\t ",L+="\\n\\r",this._match_pattern=this._input.get_regexp("["+R+L+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+L+"]")},S.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var R=this._input.read(this._match_pattern);if(R===" ")this.whitespace_before_token=" ";else if(R){var L=this.__split(this._newline_regexp,R);this.newline_count=L.length-1,this.whitespace_before_token=L[this.newline_count]}return R},S.prototype.matching=function(R,L){var T=this._create();return T.__set_whitespace_patterns(R,L),T._update(),T},S.prototype._create=function(){return new S(this._input,this)},S.prototype.__split=function(R,L){R.lastIndex=0;for(var T=0,D=[],B=R.exec(L);B;)D.push(L.substring(T,B.index)),T=B.index+B[0].length,B=R.exec(L);return T<L.length?D.push(L.substring(T,L.length)):D.push(""),D},p.exports.WhitespacePattern=S},function(p){function y(_,b){this._input=_,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,b&&(this._starting_pattern=this._input.get_regexp(b._starting_pattern,!0),this._match_pattern=this._input.get_regexp(b._match_pattern,!0),this._until_pattern=this._input.get_regexp(b._until_pattern),this._until_after=b._until_after)}y.prototype.read=function(){var _=this._input.read(this._starting_pattern);return(!this._starting_pattern||_)&&(_+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),_},y.prototype.read_match=function(){return this._input.match(this._match_pattern)},y.prototype.until_after=function(_){var b=this._create();return b._until_after=!0,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.until=function(_){var b=this._create();return b._until_after=!1,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.starting_with=function(_){var b=this._create();return b._starting_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype.matching=function(_){var b=this._create();return b._match_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype._create=function(){return new y(this._input,this)},y.prototype._update=function(){},p.exports.Pattern=y},function(p){function y(_,b){_=typeof _=="string"?_:_.source,b=typeof b=="string"?b:b.source,this.__directives_block_pattern=new RegExp(_+/ beautify( \w+[:]\w+)+ /.source+b,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(_+/\sbeautify\signore:end\s/.source+b,"g")}y.prototype.get_directives=function(_){if(!_.match(this.__directives_block_pattern))return null;var b={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(_);S;)b[S[1]]=S[2],S=this.__directive_pattern.exec(_);return b},y.prototype.readIgnored=function(_){return _.readUntilAfter(this.__directives_end_ignore_pattern)},p.exports.Directives=y},function(p,y,_){var b=_(12).Pattern,S={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function R(L,T){b.call(this,L,T),this.__template_pattern=null,this._disabled=Object.assign({},S),this._excluded=Object.assign({},S),T&&(this.__template_pattern=this._input.get_regexp(T.__template_pattern),this._excluded=Object.assign(this._excluded,T._excluded),this._disabled=Object.assign(this._disabled,T._disabled));var D=new b(L);this.__patterns={handlebars_comment:D.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:D.starting_with(/{{{/).until_after(/}}}/),handlebars:D.starting_with(/{{/).until_after(/}}/),php:D.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:D.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:D.starting_with(/{%/).until_after(/%}/),django_value:D.starting_with(/{{/).until_after(/}}/),django_comment:D.starting_with(/{#/).until_after(/#}/),smarty:D.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:D.starting_with(/{\*/).until_after(/\*}/),smarty_literal:D.starting_with(/{literal}/).until_after(/{\/literal}/)}}R.prototype=new b,R.prototype._create=function(){return new R(this._input,this)},R.prototype._update=function(){this.__set_templated_pattern()},R.prototype.disable=function(L){var T=this._create();return T._disabled[L]=!0,T._update(),T},R.prototype.read_options=function(L){var T=this._create();for(var D in S)T._disabled[D]=L.templating.indexOf(D)===-1;return T._update(),T},R.prototype.exclude=function(L){var T=this._create();return T._excluded[L]=!0,T._update(),T},R.prototype.read=function(){var L="";this._match_pattern?L=this._input.read(this._starting_pattern):L=this._input.read(this._starting_pattern,this.__template_pattern);for(var T=this._read_template();T;)this._match_pattern?T+=this._input.read(this._match_pattern):T+=this._input.readUntil(this.__template_pattern),L+=T,T=this._read_template();return this._until_after&&(L+=this._input.readUntilAfter(this._until_pattern)),L},R.prototype.__set_templated_pattern=function(){var L=[];this._disabled.php||L.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||L.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||L.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||L.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(L.push(this.__patterns.django._starting_pattern.source),L.push(this.__patterns.django_value._starting_pattern.source),L.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||L.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&L.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+L.join("|")+")")},R.prototype._read_template=function(){var L="",T=this._input.peek();if(T==="<"){var D=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&D==="?"&&(L=L||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&D==="%"&&(L=L||this.__patterns.erb.read())}else T==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(L=L||this.__patterns.handlebars_comment.read(),L=L||this.__patterns.handlebars_unescaped.read(),L=L||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(L=L||this.__patterns.django_value.read()),this._excluded.django||(L=L||this.__patterns.django_comment.read(),L=L||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(L=L||this.__patterns.smarty_comment.read(),L=L||this.__patterns.smarty_literal.read(),L=L||this.__patterns.smarty.read()));return L},p.exports.TemplatablePattern=R},,,,function(p,y,_){var b=_(19).Beautifier,S=_(20).Options;function R(L,T,D,B){var $=new b(L,T,D,B);return $.beautify()}p.exports=R,p.exports.defaultOptions=function(){return new S}},function(p,y,_){var b=_(20).Options,S=_(2).Output,R=_(21).Tokenizer,L=_(21).TOKEN,T=/\r\n|[\r\n]/,D=/\r\n|[\r\n]/g,B=function(J,Y){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=J.max_preserve_newlines,this.preserve_newlines=J.preserve_newlines,this._output=new S(J,Y)};B.prototype.current_line_has_match=function(J){return this._output.current_line.has_match(J)},B.prototype.set_space_before_token=function(J,Y){this._output.space_before_token=J,this._output.non_breaking_space=Y},B.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},B.prototype.add_raw_token=function(J){this._output.add_raw_token(J)},B.prototype.print_preserved_newlines=function(J){var Y=0;J.type!==L.TEXT&&J.previous.type!==L.TEXT&&(Y=J.newlines?1:0),this.preserve_newlines&&(Y=J.newlines<this.max_preserve_newlines+1?J.newlines:this.max_preserve_newlines+1);for(var ue=0;ue<Y;ue++)this.print_newline(ue>0);return Y!==0},B.prototype.traverse_whitespace=function(J){return J.whitespace_before||J.newlines?(this.print_preserved_newlines(J)||(this._output.space_before_token=!0),!0):!1},B.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},B.prototype.print_newline=function(J){this._output.add_new_line(J)},B.prototype.print_token=function(J){J.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(J.text))},B.prototype.indent=function(){this.indent_level++},B.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},B.prototype.get_full_indent=function(J){return J=this.indent_level+(J||0),J<1?"":this._output.get_indent_string(J)};var $=function(J){for(var Y=null,ue=J.next;ue.type!==L.EOF&&J.closed!==ue;){if(ue.type===L.ATTRIBUTE&&ue.text==="type"){ue.next&&ue.next.type===L.EQUALS&&ue.next.next&&ue.next.next.type===L.VALUE&&(Y=ue.next.next.text);break}ue=ue.next}return Y},U=function(J,Y){var ue=null,ne=null;return Y.closed?(J==="script"?ue="text/javascript":J==="style"&&(ue="text/css"),ue=$(Y)||ue,ue.search("text/css")>-1?ne="css":ue.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ne="javascript":ue.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ne="html":ue.search(/test\/null/)>-1&&(ne="null"),ne):null};function V(J,Y){return Y.indexOf(J)!==-1}function K(J,Y,ue){this.parent=J||null,this.tag=Y?Y.tag_name:"",this.indent_level=ue||0,this.parser_token=Y||null}function G(J){this._printer=J,this._current_frame=null}G.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},G.prototype.record_tag=function(J){var Y=new K(this._current_frame,J,this._printer.indent_level);this._current_frame=Y},G.prototype._try_pop_frame=function(J){var Y=null;return J&&(Y=J.parser_token,this._printer.indent_level=J.indent_level,this._current_frame=J.parent),Y},G.prototype._get_frame=function(J,Y){for(var ue=this._current_frame;ue&&J.indexOf(ue.tag)===-1;){if(Y&&Y.indexOf(ue.tag)!==-1){ue=null;break}ue=ue.parent}return ue},G.prototype.try_pop=function(J,Y){var ue=this._get_frame([J],Y);return this._try_pop_frame(ue)},G.prototype.indent_to_tag=function(J){var Y=this._get_frame(J);Y&&(this._printer.indent_level=Y.indent_level)};function oe(J,Y,ue,ne){this._source_text=J||"",Y=Y||{},this._js_beautify=ue,this._css_beautify=ne,this._tag_stack=null;var ee=new b(Y,"html");this._options=ee,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}oe.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var J=this._source_text,Y=this._options.eol;this._options.eol==="auto"&&(Y=`
|
|
|
`,J&&T.test(J)&&(Y=J.match(T)[0])),J=J.replace(D,`
|
|
|
`);var ue=J.match(/^[\t ]*/)[0],ne={text:"",type:""},ee=new ae(this._options),ie=new B(this._options,ue),F=new R(J,this._options).tokenize();this._tag_stack=new G(ie);for(var M=null,q=F.next();q.type!==L.EOF;)q.type===L.TAG_OPEN||q.type===L.COMMENT?(M=this._handle_tag_open(ie,q,ee,ne,F),ee=M):q.type===L.ATTRIBUTE||q.type===L.EQUALS||q.type===L.VALUE||q.type===L.TEXT&&!ee.tag_complete?M=this._handle_inside_tag(ie,q,ee,ne):q.type===L.TAG_CLOSE?M=this._handle_tag_close(ie,q,ee):q.type===L.TEXT?M=this._handle_text(ie,q,ee):q.type===L.CONTROL_FLOW_OPEN?M=this._handle_control_flow_open(ie,q):q.type===L.CONTROL_FLOW_CLOSE?M=this._handle_control_flow_close(ie,q):ie.add_raw_token(q),ne=M,q=F.next();var de=ie._output.get_code(Y);return de},oe.prototype._handle_control_flow_open=function(J,Y){var ue={text:Y.text,type:Y.type};return J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),Y.newlines?J.print_preserved_newlines(Y):J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),J.print_token(Y),J.indent(),ue},oe.prototype._handle_control_flow_close=function(J,Y){var ue={text:Y.text,type:Y.type};return J.deindent(),Y.newlines?J.print_preserved_newlines(Y):J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),J.print_token(Y),ue},oe.prototype._handle_tag_close=function(J,Y,ue){var ne={text:Y.text,type:Y.type};return J.alignment_size=0,ue.tag_complete=!0,J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),ue.is_unformatted?J.add_raw_token(Y):(ue.tag_start_char==="<"&&(J.set_space_before_token(Y.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&ue.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(Y)),ue.indent_content&&!(ue.is_unformatted||ue.is_content_unformatted)&&(J.indent(),ue.indent_content=!1),!ue.is_inline_element&&!(ue.is_unformatted||ue.is_content_unformatted)&&J.set_wrap_point(),ne},oe.prototype._handle_inside_tag=function(J,Y,ue,ne){var ee=ue.has_wrapped_attrs,ie={text:Y.text,type:Y.type};return J.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),ue.is_unformatted?J.add_raw_token(Y):ue.tag_start_char==="{"&&Y.type===L.TEXT?J.print_preserved_newlines(Y)?(Y.newlines=0,J.add_raw_token(Y)):J.print_token(Y):(Y.type===L.ATTRIBUTE?J.set_space_before_token(!0):(Y.type===L.EQUALS||Y.type===L.VALUE&&Y.previous.type===L.EQUALS)&&J.set_space_before_token(!1),Y.type===L.ATTRIBUTE&&ue.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(J.traverse_whitespace(Y),ee=ee||Y.newlines!==0),this._is_wrap_attributes_force&&ue.attr_count>=this._options.wrap_attributes_min_attrs&&(ne.type!==L.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(J.print_newline(!1),ee=!0)),J.print_token(Y),ee=ee||J.previous_token_wrapped(),ue.has_wrapped_attrs=ee),ie},oe.prototype._handle_text=function(J,Y,ue){var ne={text:Y.text,type:"TK_CONTENT"};return ue.custom_beautifier_name?this._print_custom_beatifier_text(J,Y,ue):ue.is_unformatted||ue.is_content_unformatted?J.add_raw_token(Y):(J.traverse_whitespace(Y),J.print_token(Y)),ne},oe.prototype._print_custom_beatifier_text=function(J,Y,ue){var ne=this;if(Y.text!==""){var ee=Y.text,ie,F=1,M="",q="";ue.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ie=this._js_beautify:ue.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ie=this._css_beautify:ue.custom_beautifier_name==="html"&&(ie=function(Ft,_t){var Pt=new oe(Ft,_t,ne._js_beautify,ne._css_beautify);return Pt.beautify()}),this._options.indent_scripts==="keep"?F=0:this._options.indent_scripts==="separate"&&(F=-J.indent_level);var de=J.get_full_indent(F);if(ee=ee.replace(/\n[ \t]*$/,""),ue.custom_beautifier_name!=="html"&&ee[0]==="<"&&ee.match(/^(<!--|<!\[CDATA\[)/)){var Ee=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(ee);if(!Ee){J.add_raw_token(Y);return}M=de+Ee[1]+`
|
|
|
`,ee=Ee[4],Ee[5]&&(q=de+Ee[5]),ee=ee.replace(/\n[ \t]*$/,""),(Ee[2]||Ee[3].indexOf(`
|
|
|
`)!==-1)&&(Ee=Ee[3].match(/[ \t]+$/),Ee&&(Y.whitespace_before=Ee[0]))}if(ee)if(ie){var Ce=function(){this.eol=`
|
|
|
`};Ce.prototype=this._options.raw_options;var je=new Ce;ee=ie(de+ee,je)}else{var Fe=Y.whitespace_before;Fe&&(ee=ee.replace(new RegExp(`
|
|
|
(`+Fe+")?","g"),`
|
|
|
`)),ee=de+ee.replace(/\n/g,`
|
|
|
`+de)}M&&(ee?ee=M+ee+`
|
|
|
`+q:ee=M+q),J.print_newline(!1),ee&&(Y.text=ee,Y.whitespace_before="",Y.newlines=0,J.add_raw_token(Y),J.print_newline(!0))}},oe.prototype._handle_tag_open=function(J,Y,ue,ne,ee){var ie=this._get_tag_open_token(Y);if((ue.is_unformatted||ue.is_content_unformatted)&&!ue.is_empty_element&&Y.type===L.TAG_OPEN&&!ie.is_start_tag?(J.add_raw_token(Y),ie.start_tag_token=this._tag_stack.try_pop(ie.tag_name)):(J.traverse_whitespace(Y),this._set_tag_position(J,Y,ie,ue,ne),ie.is_inline_element||J.set_wrap_point(),J.print_token(Y)),ie.is_start_tag&&this._is_wrap_attributes_force){var F=0,M;do M=ee.peek(F),M.type===L.ATTRIBUTE&&(ie.attr_count+=1),F+=1;while(M.type!==L.EOF&&M.type!==L.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(ie.alignment_size=Y.text.length+1),!ie.tag_complete&&!ie.is_unformatted&&(J.alignment_size=ie.alignment_size),ie};var ae=function(J,Y,ue){if(this.parent=Y||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!ue)this.tag_complete=!0;else{var ne;this.tag_start_char=ue.text[0],this.text=ue.text,this.tag_start_char==="<"?(ne=ue.text.match(/^<([^\s>]*)/),this.tag_check=ne?ne[1]:""):(ne=ue.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ne?ne[1]:"",(ue.text.startsWith("{{#>")||ue.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&ue.next!==null?this.tag_check=ue.next.text.split(" ")[0]:this.tag_check=ue.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),ue.type===L.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||ue.closed&&ue.closed.text==="/>";var ee=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(ee=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!J.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(ee)))}};oe.prototype._get_tag_open_token=function(J){var Y=new ae(this._options,this._tag_stack.get_parser_token(),J);return Y.alignment_size=this._options.wrap_attributes_indent_size,Y.is_end_tag=Y.is_end_tag||V(Y.tag_check,this._options.void_elements),Y.is_empty_element=Y.tag_complete||Y.is_start_tag&&Y.is_end_tag,Y.is_unformatted=!Y.tag_complete&&V(Y.tag_check,this._options.unformatted),Y.is_content_unformatted=!Y.is_empty_element&&V(Y.tag_check,this._options.content_unformatted),Y.is_inline_element=V(Y.tag_name,this._options.inline)||this._options.inline_custom_elements&&Y.tag_name.includes("-")||Y.tag_start_char==="{",Y},oe.prototype._set_tag_position=function(J,Y,ue,ne,ee){if(ue.is_empty_element||(ue.is_end_tag?ue.start_tag_token=this._tag_stack.try_pop(ue.tag_name):(this._do_optional_end_element(ue)&&(ue.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(ue),(ue.tag_name==="script"||ue.tag_name==="style")&&!(ue.is_unformatted||ue.is_content_unformatted)&&(ue.custom_beautifier_name=U(ue.tag_check,Y)))),V(ue.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),ue.is_empty_element){if(ue.tag_start_char==="{"&&ue.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),ue.indent_content=!0;var ie=J.current_line_has_match(/{{#if/);ie||J.print_newline(!1)}ue.tag_name==="!--"&&ee.type===L.TAG_CLOSE&&ne.is_end_tag&&ue.text.indexOf(`
|
|
|
`)===-1||(ue.is_inline_element||ue.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,ue))}else if(ue.is_end_tag){var F=!1;F=ue.start_tag_token&&ue.start_tag_token.multiline_content,F=F||!ue.is_inline_element&&!(ne.is_inline_element||ne.is_unformatted)&&!(ee.type===L.TAG_CLOSE&&ue.start_tag_token===ne)&&ee.type!=="TK_CONTENT",(ue.is_content_unformatted||ue.is_unformatted)&&(F=!1),F&&J.print_newline(!1)}else ue.indent_content=!ue.custom_beautifier_name,ue.tag_start_char==="<"&&(ue.tag_name==="html"?ue.indent_content=this._options.indent_inner_html:ue.tag_name==="head"?ue.indent_content=this._options.indent_head_inner_html:ue.tag_name==="body"&&(ue.indent_content=this._options.indent_body_inner_html)),!(ue.is_inline_element||ue.is_unformatted)&&(ee.type!=="TK_CONTENT"||ue.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,ue)},oe.prototype._calcluate_parent_multiline=function(J,Y){Y.parent&&J._output.just_added_newline()&&!((Y.is_inline_element||Y.is_unformatted)&&Y.parent.is_inline_element)&&(Y.parent.multiline_content=!0)};var le=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],Q=["a","audio","del","ins","map","noscript","video"];oe.prototype._do_optional_end_element=function(J){var Y=null;if(!(J.is_empty_element||!J.is_start_tag||!J.parent)){if(J.tag_name==="body")Y=Y||this._tag_stack.try_pop("head");else if(J.tag_name==="li")Y=Y||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(J.tag_name==="dd"||J.tag_name==="dt")Y=Y||this._tag_stack.try_pop("dt",["dl"]),Y=Y||this._tag_stack.try_pop("dd",["dl"]);else if(J.parent.tag_name==="p"&&le.indexOf(J.tag_name)!==-1){var ue=J.parent.parent;(!ue||Q.indexOf(ue.tag_name)===-1)&&(Y=Y||this._tag_stack.try_pop("p"))}else J.tag_name==="rp"||J.tag_name==="rt"?(Y=Y||this._tag_stack.try_pop("rt",["ruby","rtc"]),Y=Y||this._tag_stack.try_pop("rp",["ruby","rtc"])):J.tag_name==="optgroup"?Y=Y||this._tag_stack.try_pop("optgroup",["select"]):J.tag_name==="option"?Y=Y||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):J.tag_name==="colgroup"?Y=Y||this._tag_stack.try_pop("caption",["table"]):J.tag_name==="thead"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"])):J.tag_name==="tbody"||J.tag_name==="tfoot"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"]),Y=Y||this._tag_stack.try_pop("thead",["table"]),Y=Y||this._tag_stack.try_pop("tbody",["table"])):J.tag_name==="tr"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"]),Y=Y||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(J.tag_name==="th"||J.tag_name==="td")&&(Y=Y||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),Y=Y||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return J.parent=this._tag_stack.get_parser_token(),Y}},p.exports.Beautifier=oe},function(p,y,_){var b=_(6).Options;function S(R){b.call(this,R,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}S.prototype=new b,p.exports.Options=S},function(p,y,_){var b=_(9).Tokenizer,S=_(9).TOKEN,R=_(13).Directives,L=_(14).TemplatablePattern,T=_(12).Pattern,D={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:S.START,RAW:S.RAW,EOF:S.EOF},B=new R(/<\!--/,/-->/),$=function(U,V){b.call(this,U,V),this._current_tag_name="";var K=new L(this._input).read_options(this._options),G=new T(this._input);if(this.__patterns={word:K.until(/[\n\r\t <]/),word_control_flow_close_excluded:K.until(/[\n\r\t <}]/),single_quote:K.until_after(/'/),double_quote:K.until_after(/"/),attribute:K.until(/[\n\r\t =>]|\/>/),element_name:K.until(/[\n\r\t >\/]/),angular_control_flow_start:G.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:G.starting_with(/{{!--/).until_after(/--}}/),handlebars:G.starting_with(/{{/).until_after(/}}/),handlebars_open:G.until(/[\n\r\t }]/),handlebars_raw_close:G.until(/}}/),comment:G.starting_with(/<!--/).until_after(/-->/),cdata:G.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:G.starting_with(/<!\[/).until_after(/]>/),processing:G.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var oe=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=G.matching(oe).until_after(oe)}};$.prototype=new b,$.prototype._is_comment=function(U){return!1},$.prototype._is_opening=function(U){return U.type===D.TAG_OPEN||U.type===D.CONTROL_FLOW_OPEN},$.prototype._is_closing=function(U,V){return U.type===D.TAG_CLOSE&&V&&((U.text===">"||U.text==="/>")&&V.text[0]==="<"||U.text==="}}"&&V.text[0]==="{"&&V.text[1]==="{")||U.type===D.CONTROL_FLOW_CLOSE&&U.text==="}"&&V.text.endsWith("{")},$.prototype._reset=function(){this._current_tag_name=""},$.prototype._get_next_token=function(U,V){var K=null;this._readWhitespace();var G=this._input.peek();return G===null?this._create_token(D.EOF,""):(K=K||this._read_open_handlebars(G,V),K=K||this._read_attribute(G,U,V),K=K||this._read_close(G,V),K=K||this._read_script_and_style(G,U),K=K||this._read_control_flows(G,V),K=K||this._read_raw_content(G,U,V),K=K||this._read_content_word(G,V),K=K||this._read_comment_or_cdata(G),K=K||this._read_processing(G),K=K||this._read_open(G,V),K=K||this._create_token(D.UNKNOWN,this._input.next()),K)},$.prototype._read_comment_or_cdata=function(U){var V=null,K=null,G=null;if(U==="<"){var oe=this._input.peek(1);oe==="!"&&(K=this.__patterns.comment.read(),K?(G=B.get_directives(K),G&&G.ignore==="start"&&(K+=B.readIgnored(this._input))):K=this.__patterns.cdata.read()),K&&(V=this._create_token(D.COMMENT,K),V.directives=G)}return V},$.prototype._read_processing=function(U){var V=null,K=null,G=null;if(U==="<"){var oe=this._input.peek(1);(oe==="!"||oe==="?")&&(K=this.__patterns.conditional_comment.read(),K=K||this.__patterns.processing.read()),K&&(V=this._create_token(D.COMMENT,K),V.directives=G)}return V},$.prototype._read_open=function(U,V){var K=null,G=null;return(!V||V.type===D.CONTROL_FLOW_OPEN)&&U==="<"&&(K=this._input.next(),this._input.peek()==="/"&&(K+=this._input.next()),K+=this.__patterns.element_name.read(),G=this._create_token(D.TAG_OPEN,K)),G},$.prototype._read_open_handlebars=function(U,V){var K=null,G=null;return(!V||V.type===D.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&U==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(K=this.__patterns.handlebars_comment.read(),K=K||this.__patterns.handlebars.read(),G=this._create_token(D.COMMENT,K)):(K=this.__patterns.handlebars_open.read(),G=this._create_token(D.TAG_OPEN,K))),G},$.prototype._read_control_flows=function(U,V){var K="",G=null;if(!this._options.templating.includes("angular"))return G;if(U==="@"){if(K=this.__patterns.angular_control_flow_start.read(),K==="")return G;for(var oe=K.endsWith("(")?1:0,ae=0;!(K.endsWith("{")&&oe===ae);){var le=this._input.next();if(le===null)break;le==="("?oe++:le===")"&&ae++,K+=le}G=this._create_token(D.CONTROL_FLOW_OPEN,K)}else U==="}"&&V&&V.type===D.CONTROL_FLOW_OPEN&&(K=this._input.next(),G=this._create_token(D.CONTROL_FLOW_CLOSE,K));return G},$.prototype._read_close=function(U,V){var K=null,G=null;return V&&V.type===D.TAG_OPEN&&(V.text[0]==="<"&&(U===">"||U==="/"&&this._input.peek(1)===">")?(K=this._input.next(),U==="/"&&(K+=this._input.next()),G=this._create_token(D.TAG_CLOSE,K)):V.text[0]==="{"&&U==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),G=this._create_token(D.TAG_CLOSE,"}}"))),G},$.prototype._read_attribute=function(U,V,K){var G=null,oe="";if(K&&K.text[0]==="<")if(U==="=")G=this._create_token(D.EQUALS,this._input.next());else if(U==='"'||U==="'"){var ae=this._input.next();U==='"'?ae+=this.__patterns.double_quote.read():ae+=this.__patterns.single_quote.read(),G=this._create_token(D.VALUE,ae)}else oe=this.__patterns.attribute.read(),oe&&(V.type===D.EQUALS?G=this._create_token(D.VALUE,oe):G=this._create_token(D.ATTRIBUTE,oe));return G},$.prototype._is_content_unformatted=function(U){return this._options.void_elements.indexOf(U)===-1&&(this._options.content_unformatted.indexOf(U)!==-1||this._options.unformatted.indexOf(U)!==-1)},$.prototype._read_raw_content=function(U,V,K){var G="";if(K&&K.text[0]==="{")G=this.__patterns.handlebars_raw_close.read();else if(V.type===D.TAG_CLOSE&&V.opened.text[0]==="<"&&V.text[0]!=="/"){var oe=V.opened.text.substr(1).toLowerCase();this._is_content_unformatted(oe)&&(G=this._input.readUntil(new RegExp("</"+oe+"[\\n\\r\\t ]*?>","ig")))}return G?this._create_token(D.TEXT,G):null},$.prototype._read_script_and_style=function(U,V){if(V.type===D.TAG_CLOSE&&V.opened.text[0]==="<"&&V.text[0]!=="/"){var K=V.opened.text.substr(1).toLowerCase();if(K==="script"||K==="style"){var G=this._read_comment_or_cdata(U);if(G)return G.type=D.TEXT,G;var oe=this._input.readUntil(new RegExp("</"+K+"[\\n\\r\\t ]*?>","ig"));if(oe)return this._create_token(D.TEXT,oe)}}return null},$.prototype._read_content_word=function(U,V){var K="";return this._options.unformatted_content_delimiter&&U===this._options.unformatted_content_delimiter[0]&&(K=this.__patterns.unformatted_content_delimiter.read()),K||(K=V&&V.type===D.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),K?this._create_token(D.TEXT,K):null},p.exports.Tokenizer=$,p.exports.TOKEN=D}],u={};function a(p){var y=u[p];if(y!==void 0)return y.exports;var _=u[p]={exports:{}};return h[p](_,_.exports,a),_.exports}var x=a(18);l=x})();var c=l;if(1)r=[e,e(58553),e(87804)],i=function(h){var u=e(58553),a=e(87804);return{html_beautify:function(x,p){return c(x,p,u.js_beautify,a.css_beautify)}}}.apply(g,r),i!==void 0&&(d.exports=i);else var f,s})()},58553:function(d,g){var e,r;(function(){var i;(function(){"use strict";var c=[function(u,a,x){var p=x(1).Beautifier,y=x(5).Options;function _(b,S){var R=new p(b,S);return R.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(2).Output,y=x(3).Token,_=x(4),b=x(5).Options,S=x(7).Tokenizer,R=x(7).line_starters,L=x(7).positionable_operators,T=x(7).TOKEN;function D(M,q){return q.indexOf(M)!==-1}function B(M){return M.replace(/^\s+/g,"")}function $(M){for(var q={},de=0;de<M.length;de++)q[M[de].replace(/-/g,"_")]=M[de];return q}function U(M,q){return M&&M.type===T.RESERVED&&M.text===q}function V(M,q){return M&&M.type===T.RESERVED&&D(M.text,q)}var K=["case","return","do","if","throw","else","await","break","continue","async"],G=["before-newline","after-newline","preserve-newline"],oe=$(G),ae=[oe.before_newline,oe.preserve_newline],le={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function Q(M,q){q.multiline_frame||q.mode===le.ForInitializer||q.mode===le.Conditional||M.remove_indent(q.start_line_index)}function J(M){M=M.replace(_.allLineBreaks,`
|
|
|
`);for(var q=[],de=M.indexOf(`
|
|
|
`);de!==-1;)q.push(M.substring(0,de)),M=M.substring(de+1),de=M.indexOf(`
|
|
|
`);return M.length&&q.push(M),q}function Y(M){return M===le.ArrayLiteral}function ue(M){return D(M,[le.Expression,le.ForInitializer,le.Conditional])}function ne(M,q){for(var de=0;de<M.length;de++){var Ee=M[de].trim();if(Ee.charAt(0)!==q)return!1}return!0}function ee(M,q){for(var de=0,Ee=M.length,Ce;de<Ee;de++)if(Ce=M[de],Ce&&Ce.indexOf(q)!==0)return!1;return!0}function ie(M,q){q=q||{},this._source_text=M||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new b(q)}ie.prototype.create_flags=function(M,q){var de=0;M&&(de=M.indentation_level,!this._output.just_added_newline()&&M.line_indent_level>de&&(de=M.line_indent_level));var Ee={mode:q,parent:M,last_token:M?M.last_token:new y(T.START_BLOCK,""),last_word:M?M.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:de,alignment:0,line_indent_level:M?M.line_indent_level:de,start_line_index:this._output.get_line_number(),ternary_depth:0};return Ee},ie.prototype._reset=function(M){var q=M.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,q),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(le.BlockStatement);var de=new S(M,this._options);return this._tokens=de.tokenize(),M},ie.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var M,q=this._reset(this._source_text),de=this._options.eol;this._options.eol==="auto"&&(de=`
|
|
|
`,q&&_.lineBreak.test(q||"")&&(de=q.match(_.lineBreak)[0]));for(var Ee=this._tokens.next();Ee;)this.handle_token(Ee),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Ee,Ee=this._tokens.next();return M=this._output.get_code(de),M},ie.prototype.handle_token=function(M,q){M.type===T.START_EXPR?this.handle_start_expr(M):M.type===T.END_EXPR?this.handle_end_expr(M):M.type===T.START_BLOCK?this.handle_start_block(M):M.type===T.END_BLOCK?this.handle_end_block(M):M.type===T.WORD?this.handle_word(M):M.type===T.RESERVED?this.handle_word(M):M.type===T.SEMICOLON?this.handle_semicolon(M):M.type===T.STRING?this.handle_string(M):M.type===T.EQUALS?this.handle_equals(M):M.type===T.OPERATOR?this.handle_operator(M):M.type===T.COMMA?this.handle_comma(M):M.type===T.BLOCK_COMMENT?this.handle_block_comment(M,q):M.type===T.COMMENT?this.handle_comment(M,q):M.type===T.DOT?this.handle_dot(M):M.type===T.EOF?this.handle_eof(M):M.type===T.UNKNOWN?this.handle_unknown(M,q):this.handle_unknown(M,q)},ie.prototype.handle_whitespace_and_comments=function(M,q){var de=M.newlines,Ee=this._options.keep_array_indentation&&Y(this._flags.mode);if(M.comments_before)for(var Ce=M.comments_before.next();Ce;)this.handle_whitespace_and_comments(Ce,q),this.handle_token(Ce,q),Ce=M.comments_before.next();if(Ee)for(var je=0;je<de;je+=1)this.print_newline(je>0,q);else if(this._options.max_preserve_newlines&&de>this._options.max_preserve_newlines&&(de=this._options.max_preserve_newlines),this._options.preserve_newlines&&de>1){this.print_newline(!1,q);for(var Fe=1;Fe<de;Fe+=1)this.print_newline(!0,q)}};var F=["async","break","continue","return","throw","yield"];ie.prototype.allow_wrap_or_preserved_newline=function(M,q){if(q=q===void 0?!1:q,!this._output.just_added_newline()){var de=this._options.preserve_newlines&&M.newlines||q,Ee=D(this._flags.last_token.text,L)||D(M.text,L);if(Ee){var Ce=D(this._flags.last_token.text,L)&&D(this._options.operator_position,ae)||D(M.text,L);de=de&&Ce}if(de)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(V(this._flags.last_token,F))return;this._output.set_wrap_point()}}},ie.prototype.print_newline=function(M,q){if(!q&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==T.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var de=this._tokens.peek();this._flags.mode===le.Statement&&!(this._flags.if_block&&U(de,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(M)&&(this._flags.multiline_frame=!0)},ie.prototype.print_token_line_indentation=function(M){this._output.just_added_newline()&&(this._options.keep_array_indentation&&M.newlines&&(M.text==="["||Y(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(M.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},ie.prototype.print_token=function(M){if(this._output.raw){this._output.add_raw_token(M);return}if(this._options.comma_first&&M.previous&&M.previous.type===T.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var q=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(q),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(M),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(M),this._output.non_breaking_space=!0,this._output.add_token(M.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},ie.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ie.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ie.prototype.set_mode=function(M){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,M),this._flags=this.create_flags(this._previous_flags,M),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ie.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===le.Statement&&Q(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ie.prototype.start_of_object_property=function(){return this._flags.parent.mode===le.ObjectLiteral&&this._flags.mode===le.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||V(this._flags.last_token,["get","set"]))},ie.prototype.start_of_statement=function(M){var q=!1;return q=q||V(this._flags.last_token,["var","let","const"])&&M.type===T.WORD,q=q||U(this._flags.last_token,"do"),q=q||!(this._flags.parent.mode===le.ObjectLiteral&&this._flags.mode===le.Statement)&&V(this._flags.last_token,F)&&!M.newlines,q=q||U(this._flags.last_token,"else")&&!(U(M,"if")&&!M.comments_before),q=q||this._flags.last_token.type===T.END_EXPR&&(this._previous_flags.mode===le.ForInitializer||this._previous_flags.mode===le.Conditional),q=q||this._flags.last_token.type===T.WORD&&this._flags.mode===le.BlockStatement&&!this._flags.in_case&&!(M.text==="--"||M.text==="++")&&this._last_last_text!=="function"&&M.type!==T.WORD&&M.type!==T.RESERVED,q=q||this._flags.mode===le.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||V(this._flags.last_token,["get","set"])),q?(this.set_mode(le.Statement),this.indent(),this.handle_whitespace_and_comments(M,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(M,V(M,["do","for","if","while"])),!0):!1},ie.prototype.handle_start_expr=function(M){this.start_of_statement(M)||this.handle_whitespace_and_comments(M);var q=le.Expression;if(M.text==="["){if(this._flags.last_token.type===T.WORD||this._flags.last_token.text===")"){V(this._flags.last_token,R)&&(this._output.space_before_token=!0),this.print_token(M),this.set_mode(q),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}q=le.ArrayLiteral,Y(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),D(this._flags.last_token.type,[T.START_EXPR,T.END_EXPR,T.WORD,T.OPERATOR,T.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===T.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,q=le.ForInitializer):D(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,q=le.Conditional):D(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&M.whitespace_before===""?this._output.space_before_token=!1:(D(this._flags.last_token.text,R)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===T.EQUALS||this._flags.last_token.type===T.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(M);else if(this._flags.last_token.type===T.WORD){this._output.space_before_token=!1;var de=this._tokens.peek(-3);if(this._options.space_after_named_function&&de){var Ee=this._tokens.peek(-4);V(de,["async","function"])||de.text==="*"&&V(Ee,["async","function"])?this._output.space_before_token=!0:this._flags.mode===le.ObjectLiteral?(de.text==="{"||de.text===","||de.text==="*"&&(Ee.text==="{"||Ee.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(M);(this._flags.last_token.type===T.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===le.ObjectLiteral&&D(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===T.START_BLOCK?this.print_newline():(this._flags.last_token.type===T.END_EXPR||this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===T.COMMA)&&this.allow_wrap_or_preserved_newline(M,M.newlines),this.print_token(M),this.set_mode(q),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ie.prototype.handle_end_expr=function(M){for(;this._flags.mode===le.Statement;)this.restore_mode();this.handle_whitespace_and_comments(M),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(M,M.text==="]"&&Y(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===T.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(M),this.restore_mode(),Q(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===le.Conditional&&(this._previous_flags.mode=le.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ie.prototype.handle_start_block=function(M){this.handle_whitespace_and_comments(M);var q=this._tokens.peek(),de=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===T.END_EXPR?(this.set_mode(le.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(le.BlockStatement):de&&(D(de.text,[":",","])&&D(q.type,[T.STRING,T.WORD,T.RESERVED])||D(q.text,["get","set","..."])&&D(de.type,[T.WORD,T.RESERVED]))?D(this._last_last_text,["class","interface"])&&!D(de.text,[":",","])?this.set_mode(le.BlockStatement):this.set_mode(le.ObjectLiteral):this._flags.last_token.type===T.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(le.BlockStatement):D(this._flags.last_token.type,[T.EQUALS,T.START_EXPR,T.COMMA,T.OPERATOR])||V(this._flags.last_token,["return","throw","import","default"])?this.set_mode(le.ObjectLiteral):this.set_mode(le.BlockStatement),this._flags.last_token&&V(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Ee=!q.comments_before&&q.text==="}",Ce=Ee&&this._flags.last_word==="function"&&this._flags.last_token.type===T.END_EXPR;if(this._options.brace_preserve_inline){var je=0,Fe=null;this._flags.inline_frame=!0;do if(je+=1,Fe=this._tokens.peek(je-1),Fe.newlines){this._flags.inline_frame=!1;break}while(Fe.type!==T.EOF&&!(Fe.type===T.END_BLOCK&&Fe.opened===M))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&M.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==T.OPERATOR&&(Ce||this._flags.last_token.type===T.EQUALS||V(this._flags.last_token,K)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(Y(this._previous_flags.mode)&&(this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.COMMA)&&((this._flags.last_token.type===T.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(M),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==T.OPERATOR&&this._flags.last_token.type!==T.START_EXPR&&(D(this._flags.last_token.type,[T.START_BLOCK,T.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(M),this.indent(),!Ee&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ie.prototype.handle_end_block=function(M){for(this.handle_whitespace_and_comments(M);this._flags.mode===le.Statement;)this.restore_mode();var q=this._flags.last_token.type===T.START_BLOCK;this._flags.inline_frame&&!q?this._output.space_before_token=!0:this._options.brace_style==="expand"?q||this.print_newline():q||(Y(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(M)},ie.prototype.handle_word=function(M){if(M.type===T.RESERVED){if(D(M.text,["set","get"])&&this._flags.mode!==le.ObjectLiteral)M.type=T.WORD;else if(M.text==="import"&&D(this._tokens.peek().text,["(","."]))M.type=T.WORD;else if(D(M.text,["as","from"])&&!this._flags.import_block)M.type=T.WORD;else if(this._flags.mode===le.ObjectLiteral){var q=this._tokens.peek();q.text===":"&&(M.type=T.WORD)}}if(this.start_of_statement(M)?V(this._flags.last_token,["var","let","const"])&&M.type===T.WORD&&(this._flags.declaration_statement=!0):M.newlines&&!ue(this._flags.mode)&&(this._flags.last_token.type!==T.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==T.EQUALS&&(this._options.preserve_newlines||!V(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(M),this.print_newline()):this.handle_whitespace_and_comments(M),this._flags.do_block&&!this._flags.do_while)if(U(M,"while")){this._output.space_before_token=!0,this.print_token(M),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&&U(M,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===le.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&V(M,["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(M),this._flags.in_case=!0;return}if((this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.EQUALS||this._flags.last_token.type===T.OPERATOR)&&!this.start_of_object_property()&&!(D(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===le.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(M),U(M,"function")){(D(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(D(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===T.OPERATOR))&&!this._output.just_added_blankline()&&!M.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===T.RESERVED||this._flags.last_token.type===T.WORD?V(this._flags.last_token,["get","set","new","export"])||V(this._flags.last_token,F)?this._output.space_before_token=!0:U(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===T.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(ue(this._flags.mode)||Y(this._flags.mode))||this.print_newline(),this.print_token(M),this._flags.last_word=M.text;return}var de="NONE";if(this._flags.last_token.type===T.END_BLOCK?this._previous_flags.inline_frame?de="SPACE":V(M,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&M.newlines?de="NEWLINE":(de="SPACE",this._output.space_before_token=!0):de="NEWLINE":this._flags.last_token.type===T.SEMICOLON&&this._flags.mode===le.BlockStatement?de="NEWLINE":this._flags.last_token.type===T.SEMICOLON&&ue(this._flags.mode)?de="SPACE":this._flags.last_token.type===T.STRING?de="NEWLINE":this._flags.last_token.type===T.RESERVED||this._flags.last_token.type===T.WORD||this._flags.last_token.text==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===le.ObjectLiteral&&D(this._last_last_text,["{",","]))?de="SPACE":this._flags.last_token.type===T.START_BLOCK?this._flags.inline_frame?de="SPACE":de="NEWLINE":this._flags.last_token.type===T.END_EXPR&&(this._output.space_before_token=!0,de="NEWLINE"),V(M,R)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?de="SPACE":de="NEWLINE"),V(M,["else","catch","finally"]))if((!(this._flags.last_token.type===T.END_BLOCK&&this._previous_flags.mode===le.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&M.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Ee=this._output.current_line;Ee.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else de==="NEWLINE"?V(this._flags.last_token,K)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&V(M,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==T.END_EXPR?(this._flags.last_token.type!==T.START_EXPR||!V(M,["var","let","const"]))&&this._flags.last_token.text!==":"&&(U(M,"if")&&U(M.previous,"else")?this._output.space_before_token=!0:this.print_newline()):V(M,R)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&Y(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():de==="SPACE"&&(this._output.space_before_token=!0);M.previous&&(M.previous.type===T.WORD||M.previous.type===T.RESERVED)&&(this._output.space_before_token=!0),this.print_token(M),this._flags.last_word=M.text,M.type===T.RESERVED&&(M.text==="do"?this._flags.do_block=!0:M.text==="if"?this._flags.if_block=!0:M.text==="import"?this._flags.import_block=!0:this._flags.import_block&&U(M,"from")&&(this._flags.import_block=!1))},ie.prototype.handle_semicolon=function(M){this.start_of_statement(M)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(M);for(var q=this._tokens.peek();this._flags.mode===le.Statement&&!(this._flags.if_block&&U(q,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(M)},ie.prototype.handle_string=function(M){M.text.startsWith("`")&&M.newlines===0&&M.whitespace_before===""&&(M.previous.text===")"||this._flags.last_token.type===T.WORD)||(this.start_of_statement(M)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(M),this._flags.last_token.type===T.RESERVED||this._flags.last_token.type===T.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR||this._flags.last_token.type===T.EQUALS||this._flags.last_token.type===T.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(M):M.text.startsWith("`")&&this._flags.last_token.type===T.END_EXPR&&(M.previous.text==="]"||M.previous.text===")")&&M.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(M)},ie.prototype.handle_equals=function(M){this.start_of_statement(M)||this.handle_whitespace_and_comments(M),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(M),this._output.space_before_token=!0},ie.prototype.handle_comma=function(M){this.handle_whitespace_and_comments(M,!0),this.print_token(M),this._output.space_before_token=!0,this._flags.declaration_statement?(ue(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(M)):this._flags.mode===le.ObjectLiteral||this._flags.mode===le.Statement&&this._flags.parent.mode===le.ObjectLiteral?(this._flags.mode===le.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(M)},ie.prototype.handle_operator=function(M){var q=M.text==="*"&&(V(this._flags.last_token,["function","yield"])||D(this._flags.last_token.type,[T.START_BLOCK,T.COMMA,T.END_BLOCK,T.SEMICOLON])),de=D(M.text,["-","+"])&&(D(this._flags.last_token.type,[T.START_BLOCK,T.START_EXPR,T.EQUALS,T.OPERATOR])||D(this._flags.last_token.text,R)||this._flags.last_token.text===",");if(!this.start_of_statement(M)){var Ee=!q;this.handle_whitespace_and_comments(M,Ee)}if(M.text==="*"&&this._flags.last_token.type===T.DOT){this.print_token(M);return}if(M.text==="::"){this.print_token(M);return}if(D(M.text,["-","+"])&&this.start_of_object_property()){this.print_token(M);return}if(this._flags.last_token.type===T.OPERATOR&&D(this._options.operator_position,ae)&&this.allow_wrap_or_preserved_newline(M),M.text===":"&&this._flags.in_case){this.print_token(M),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==T.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 Ce=!0,je=!0,Fe=!1;if(M.text===":"?this._flags.ternary_depth===0?Ce=!1:(this._flags.ternary_depth-=1,Fe=!0):M.text==="?"&&(this._flags.ternary_depth+=1),!de&&!q&&this._options.preserve_newlines&&D(M.text,L)){var Ft=M.text===":",_t=Ft&&Fe,Pt=Ft&&!Fe;switch(this._options.operator_position){case oe.before_newline:this._output.space_before_token=!Pt,this.print_token(M),(!Ft||_t)&&this.allow_wrap_or_preserved_newline(M),this._output.space_before_token=!0;return;case oe.after_newline:this._output.space_before_token=!0,!Ft||_t?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(M):this._output.space_before_token=!1,this.print_token(M),this._output.space_before_token=!0;return;case oe.preserve_newline:Pt||this.allow_wrap_or_preserved_newline(M),Ce=!(this._output.just_added_newline()||Pt),this._output.space_before_token=Ce,this.print_token(M),this._output.space_before_token=!0;return}}if(q){this.allow_wrap_or_preserved_newline(M),Ce=!1;var Qt=this._tokens.peek();je=Qt&&D(Qt.type,[T.WORD,T.RESERVED])}else if(M.text==="...")this.allow_wrap_or_preserved_newline(M),Ce=this._flags.last_token.type===T.START_BLOCK,je=!1;else if(D(M.text,["--","++","!","~"])||de){if((this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR)&&this.allow_wrap_or_preserved_newline(M),Ce=!1,je=!1,M.newlines&&(M.text==="--"||M.text==="++"||M.text==="~")){var er=V(this._flags.last_token,K)&&M.newlines;er&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(er,!0)}this._flags.last_token.text===";"&&ue(this._flags.mode)&&(Ce=!0),this._flags.last_token.type===T.RESERVED?Ce=!0:this._flags.last_token.type===T.END_EXPR?Ce=!(this._flags.last_token.text==="]"&&(M.text==="--"||M.text==="++")):this._flags.last_token.type===T.OPERATOR&&(Ce=D(M.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D(M.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(je=!0)),(this._flags.mode===le.BlockStatement&&!this._flags.inline_frame||this._flags.mode===le.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Ce,this.print_token(M),this._output.space_before_token=je},ie.prototype.handle_block_comment=function(M,q){if(this._output.raw){this._output.add_raw_token(M),M.directives&&M.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(M.directives){this.print_newline(!1,q),this.print_token(M),M.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!_.newline.test(M.text)&&!M.newlines){this._output.space_before_token=!0,this.print_token(M),this._output.space_before_token=!0;return}else this.print_block_commment(M,q)},ie.prototype.print_block_commment=function(M,q){var de=J(M.text),Ee,Ce=!1,je=!1,Fe=M.whitespace_before,Ft=Fe.length;if(this.print_newline(!1,q),this.print_token_line_indentation(M),this._output.add_token(de[0]),this.print_newline(!1,q),de.length>1){for(de=de.slice(1),Ce=ne(de,"*"),je=ee(de,Fe),Ce&&(this._flags.alignment=1),Ee=0;Ee<de.length;Ee++)Ce?(this.print_token_line_indentation(M),this._output.add_token(B(de[Ee]))):je&&de[Ee]?(this.print_token_line_indentation(M),this._output.add_token(de[Ee].substring(Ft))):(this._output.current_line.set_indent(-1),this._output.add_token(de[Ee])),this.print_newline(!1,q);this._flags.alignment=0}},ie.prototype.handle_comment=function(M,q){M.newlines?this.print_newline(!1,q):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(M),this.print_newline(!1,q)},ie.prototype.handle_dot=function(M){this.start_of_statement(M)||this.handle_whitespace_and_comments(M,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),V(this._flags.last_token,K)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(M,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(M)},ie.prototype.handle_unknown=function(M,q){this.print_token(M),M.text[M.text.length-1]===`
|
|
|
`&&this.print_newline(!1,q)},ie.prototype.handle_eof=function(M){for(;this._flags.mode===le.Statement;)this.restore_mode();this.handle_whitespace_and_comments(M)},u.exports.Beautifier=ie},function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
|
|
|
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
|
|
|
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
|
|
|
`);return y!==`
|
|
|
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var 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+"])",R="(?:"+b+"|["+p+y+_+"])*";a.identifier=new RegExp(S+R,"g"),a.identifierStart=new RegExp(S),a.identifierMatch=new RegExp("(?:"+b+"|["+p+y+_+"])+");var L=/[\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 R=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var L=0;L<R.length;L++)R[L]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=R[L];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),R=x(12).Pattern,L=x(14).TemplatablePattern;function T(ne,ee){return ee.indexOf(ne)!==-1}var D={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:_.START,RAW:_.RAW,EOF:_.EOF},B=new b(/\/\*/,/\*\//),$=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,U=/[0-9]/,V=/[^\d\.]/,K=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),G=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";G=G.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),G="\\?\\.(?!\\d) "+G,G=G.replace(/ /g,"|");var oe=new RegExp(G),ae="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),le=ae.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),Q=new RegExp("^(?:"+le.join("|")+")$"),J,Y=function(ne,ee){y.call(this,ne,ee),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var ie=new R(this._input),F=new L(this._input).read_options(this._options);this.__patterns={template:F,identifier:F.starting_with(S.identifier).matching(S.identifierMatch),number:ie.matching($),punct:ie.matching(oe),comment:ie.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:ie.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:ie.matching(/<!--/),html_comment_end:ie.matching(/-->/),include:ie.starting_with(/#include/).until_after(S.lineBreak),shebang:ie.starting_with(/#!/).until_after(S.lineBreak),xml:ie.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:F.until(/['\\\n\r\u2028\u2029]/),double_quote:F.until(/["\\\n\r\u2028\u2029]/),template_text:F.until(/[`\\$]/),template_expression:F.until(/[`}\\]/)}};Y.prototype=new y,Y.prototype._is_comment=function(ne){return ne.type===D.COMMENT||ne.type===D.BLOCK_COMMENT||ne.type===D.UNKNOWN},Y.prototype._is_opening=function(ne){return ne.type===D.START_BLOCK||ne.type===D.START_EXPR},Y.prototype._is_closing=function(ne,ee){return(ne.type===D.END_BLOCK||ne.type===D.END_EXPR)&&ee&&(ne.text==="]"&&ee.text==="["||ne.text===")"&&ee.text==="("||ne.text==="}"&&ee.text==="{")},Y.prototype._reset=function(){J=!1},Y.prototype._get_next_token=function(ne,ee){var ie=null;this._readWhitespace();var F=this._input.peek();return F===null?this._create_token(D.EOF,""):(ie=ie||this._read_non_javascript(F),ie=ie||this._read_string(F),ie=ie||this._read_pair(F,this._input.peek(1)),ie=ie||this._read_word(ne),ie=ie||this._read_singles(F),ie=ie||this._read_comment(F),ie=ie||this._read_regexp(F,ne),ie=ie||this._read_xml(F,ne),ie=ie||this._read_punctuation(),ie=ie||this._create_token(D.UNKNOWN,this._input.next()),ie)},Y.prototype._read_word=function(ne){var ee;if(ee=this.__patterns.identifier.read(),ee!=="")return ee=ee.replace(S.allLineBreaks,`
|
|
|
`),!(ne.type===D.DOT||ne.type===D.RESERVED&&(ne.text==="set"||ne.text==="get"))&&Q.test(ee)?(ee==="in"||ee==="of")&&(ne.type===D.WORD||ne.type===D.STRING)?this._create_token(D.OPERATOR,ee):this._create_token(D.RESERVED,ee):this._create_token(D.WORD,ee);if(ee=this.__patterns.number.read(),ee!=="")return this._create_token(D.WORD,ee)},Y.prototype._read_singles=function(ne){var ee=null;return ne==="("||ne==="["?ee=this._create_token(D.START_EXPR,ne):ne===")"||ne==="]"?ee=this._create_token(D.END_EXPR,ne):ne==="{"?ee=this._create_token(D.START_BLOCK,ne):ne==="}"?ee=this._create_token(D.END_BLOCK,ne):ne===";"?ee=this._create_token(D.SEMICOLON,ne):ne==="."&&V.test(this._input.peek(1))?ee=this._create_token(D.DOT,ne):ne===","&&(ee=this._create_token(D.COMMA,ne)),ee&&this._input.next(),ee},Y.prototype._read_pair=function(ne,ee){var ie=null;return ne==="#"&&ee==="{"&&(ie=this._create_token(D.START_BLOCK,ne+ee)),ie&&(this._input.next(),this._input.next()),ie},Y.prototype._read_punctuation=function(){var ne=this.__patterns.punct.read();if(ne!=="")return ne==="="?this._create_token(D.EQUALS,ne):ne==="?."?this._create_token(D.DOT,ne):this._create_token(D.OPERATOR,ne)},Y.prototype._read_non_javascript=function(ne){var ee="";if(ne==="#"){if(this._is_first_token()&&(ee=this.__patterns.shebang.read(),ee))return this._create_token(D.UNKNOWN,ee.trim()+`
|
|
|
`);if(ee=this.__patterns.include.read(),ee)return this._create_token(D.UNKNOWN,ee.trim()+`
|
|
|
`);ne=this._input.next();var ie="#";if(this._input.hasNext()&&this._input.testChar(U)){do ne=this._input.next(),ie+=ne;while(this._input.hasNext()&&ne!=="#"&&ne!=="=");return ne==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(ie+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(ie+="{}",this._input.next(),this._input.next())),this._create_token(D.WORD,ie)}this._input.back()}else if(ne==="<"&&this._is_first_token()){if(ee=this.__patterns.html_comment_start.read(),ee){for(;this._input.hasNext()&&!this._input.testChar(S.newline);)ee+=this._input.next();return J=!0,this._create_token(D.COMMENT,ee)}}else if(J&&ne==="-"&&(ee=this.__patterns.html_comment_end.read(),ee))return J=!1,this._create_token(D.COMMENT,ee);return null},Y.prototype._read_comment=function(ne){var ee=null;if(ne==="/"){var ie="";if(this._input.peek(1)==="*"){ie=this.__patterns.block_comment.read();var F=B.get_directives(ie);F&&F.ignore==="start"&&(ie+=B.readIgnored(this._input)),ie=ie.replace(S.allLineBreaks,`
|
|
|
`),ee=this._create_token(D.BLOCK_COMMENT,ie),ee.directives=F}else this._input.peek(1)==="/"&&(ie=this.__patterns.comment.read(),ee=this._create_token(D.COMMENT,ie))}return ee},Y.prototype._read_string=function(ne){if(ne==="`"||ne==="'"||ne==='"'){var ee=this._input.next();return this.has_char_escapes=!1,ne==="`"?ee+=this._read_string_recursive("`",!0,"${"):ee+=this._read_string_recursive(ne),this.has_char_escapes&&this._options.unescape_strings&&(ee=ue(ee)),this._input.peek()===ne&&(ee+=this._input.next()),ee=ee.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,ee)}return null},Y.prototype._allow_regexp_or_xml=function(ne){return ne.type===D.RESERVED&&T(ne.text,["return","case","throw","else","do","typeof","yield"])||ne.type===D.END_EXPR&&ne.text===")"&&ne.opened.previous.type===D.RESERVED&&T(ne.opened.previous.text,["if","while","for"])||T(ne.type,[D.COMMENT,D.START_EXPR,D.START_BLOCK,D.START,D.END_BLOCK,D.OPERATOR,D.EQUALS,D.EOF,D.SEMICOLON,D.COMMA])},Y.prototype._read_regexp=function(ne,ee){if(ne==="/"&&this._allow_regexp_or_xml(ee)){for(var ie=this._input.next(),F=!1,M=!1;this._input.hasNext()&&(F||M||this._input.peek()!==ne)&&!this._input.testChar(S.newline);)ie+=this._input.peek(),F?F=!1:(F=this._input.peek()==="\\",this._input.peek()==="["?M=!0:this._input.peek()==="]"&&(M=!1)),this._input.next();return this._input.peek()===ne&&(ie+=this._input.next(),ie+=this._input.read(S.identifier)),this._create_token(D.STRING,ie)}return null},Y.prototype._read_xml=function(ne,ee){if(this._options.e4x&&ne==="<"&&this._allow_regexp_or_xml(ee)){var ie="",F=this.__patterns.xml.read_match();if(F){for(var M=F[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),q=M.indexOf("{")===0,de=0;F;){var Ee=!!F[1],Ce=F[2],je=!!F[F.length-1]||Ce.slice(0,8)==="![CDATA[";if(!je&&(Ce===M||q&&Ce.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Ee?--de:++de),ie+=F[0],de<=0)break;F=this.__patterns.xml.read_match()}return F||(ie+=this._input.match(/[\s\S]*/g)[0]),ie=ie.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,ie)}}return null};function ue(ne){for(var ee="",ie=0,F=new p(ne),M=null;F.hasNext();)if(M=F.match(/([\s]|[^\\]|\\\\)+/g),M&&(ee+=M[0]),F.peek()==="\\"){if(F.next(),F.peek()==="x")M=F.match(/x([0-9A-Fa-f]{2})/g);else if(F.peek()==="u")M=F.match(/u([0-9A-Fa-f]{4})/g),M||(M=F.match(/u\{([0-9A-Fa-f]+)\}/g));else{ee+="\\",F.hasNext()&&(ee+=F.next());continue}if(!M||(ie=parseInt(M[1],16),ie>126&&ie<=255&&M[0].indexOf("x")===0))return ne;ie>=0&&ie<32||ie>1114111?ee+="\\"+M[0]:ie===34||ie===39||ie===92?ee+="\\"+String.fromCharCode(ie):ee+=String.fromCharCode(ie)}return ee}Y.prototype._read_string_recursive=function(ne,ee,ie){var F,M;ne==="'"?M=this.__patterns.single_quote:ne==='"'?M=this.__patterns.double_quote:ne==="`"?M=this.__patterns.template_text:ne==="}"&&(M=this.__patterns.template_expression);for(var q=M.read(),de="";this._input.hasNext();){if(de=this._input.next(),de===ne||!ee&&S.newline.test(de)){this._input.back();break}else de==="\\"&&this._input.hasNext()?(F=this._input.peek(),F==="x"||F==="u"?this.has_char_escapes=!0:F==="\r"&&this._input.peek(1)===`
|
|
|
`&&this._input.next(),de+=this._input.next()):ie&&(ie==="${"&&de==="$"&&this._input.peek()==="{"&&(de+=this._input.next()),ie===de&&(ne==="`"?de+=this._read_string_recursive("}",ee,"`"):de+=this._read_string_recursive("`",ee,"${"),this._input.hasNext()&&(de+=this._input.next())));de+=M.read(),q+=de}return q},u.exports.Tokenizer=Y,u.exports.TOKEN=D,u.exports.positionable_operators=K.slice(),u.exports.line_starters=ae.slice()},function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",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"},R=function(L,T){this._input=new p(L),this._options=T||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new b(this._input)};R.prototype.tokenize=function(){this._input.restart(),this.__tokens=new _,this._reset();for(var L,T=new y(S.START,""),D=null,B=[],$=new _;T.type!==S.EOF;){for(L=this._get_next_token(T,D);this._is_comment(L);)$.add(L),L=this._get_next_token(T,D);$.isEmpty()||(L.comments_before=$,$=new _),L.parent=D,this._is_opening(L)?(B.push(D),D=L):D&&this._is_closing(L,D)&&(L.opened=D,D.closed=L,D=B.pop(),L.parent=D),L.previous=T,T.next=L,this.__tokens.add(L),T=L}return this.__tokens},R.prototype._is_first_token=function(){return this.__tokens.isEmpty()},R.prototype._reset=function(){},R.prototype._get_next_token=function(L,T){this._readWhitespace();var D=this._input.read(/.+/g);return D?this._create_token(S.RAW,D):this._create_token(S.EOF,"")},R.prototype._is_comment=function(L){return!1},R.prototype._is_opening=function(L){return!1},R.prototype._is_closing=function(L,T){return!1},R.prototype._create_token=function(L,T){var D=new y(L,T,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return D},R.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},u.exports.Tokenizer=R,u.exports.TOKEN=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,R=[],L=_.exec(b);L;)R.push(b.substring(S,L.index)),S=L.index+L[0].length,L=_.exec(b);return S<b.length?R.push(b.substring(S,b.length)):R.push(""),R},u.exports.WhitespacePattern=y},function(u){function a(x,p){this._input=x,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,p&&(this._starting_pattern=this._input.get_regexp(p._starting_pattern,!0),this._match_pattern=this._input.get_regexp(p._match_pattern,!0),this._until_pattern=this._input.get_regexp(p._until_pattern),this._until_after=p._until_after)}a.prototype.read=function(){var x=this._input.read(this._starting_pattern);return(!this._starting_pattern||x)&&(x+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),x},a.prototype.read_match=function(){return this._input.match(this._match_pattern)},a.prototype.until_after=function(x){var p=this._create();return p._until_after=!0,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.until=function(x){var p=this._create();return p._until_after=!1,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.starting_with=function(x){var p=this._create();return p._starting_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype.matching=function(x){var p=this._create();return p._match_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){},u.exports.Pattern=a},function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},function(u,a,x){var p=x(12).Pattern,y={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function _(b,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 R=new p(b);this.__patterns={handlebars_comment:R.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:R.starting_with(/{{{/).until_after(/}}}/),handlebars:R.starting_with(/{{/).until_after(/}}/),php:R.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:R.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:R.starting_with(/{%/).until_after(/%}/),django_value:R.starting_with(/{{/).until_after(/}}/),django_comment:R.starting_with(/{#/).until_after(/#}/),smarty:R.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:R.starting_with(/{\*/).until_after(/\*}/),smarty_literal:R.starting_with(/{literal}/).until_after(/{\/literal}/)}}_.prototype=new p,_.prototype._create=function(){return new _(this._input,this)},_.prototype._update=function(){this.__set_templated_pattern()},_.prototype.disable=function(b){var S=this._create();return S._disabled[b]=!0,S._update(),S},_.prototype.read_options=function(b){var S=this._create();for(var R in y)S._disabled[R]=b.templating.indexOf(R)===-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 R=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&R==="?"&&(b=b||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&R==="%"&&(b=b||this.__patterns.erb.read())}else 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 s(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,s),x.exports}var h=s(0);i=h})();var l=i;e=[],r=function(){return{js_beautify:l}}.apply(g,e),r!==void 0&&(d.exports=r)})()},15342:function(d){(function(e,r){d.exports=r()})(typeof self!="undefined"?self:this,function(){return function(g){var e={};function r(i){if(e[i])return e[i].exports;var l=e[i]={i,l:!1,exports:{}};return g[i].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=g,r.c=e,r.d=function(i,l,c){r.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:c})},r.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,l){if(l&1&&(i=r(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var f in i)r.d(c,f,function(s){return i[s]}.bind(null,f));return c},r.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(l,"a",l),l},r.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},r.p="",r(r.s=1)}([function(g,e,r){},function(g,e,r){"use strict";r.r(e);var i=r(0),l=function(){function We(W,X,te){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=W,this.start=X,this.end=te}return We.range=function(X,te){return te?!X||!X.loc||!te.loc||X.loc.lexer!==te.loc.lexer?null:new We(X.loc.lexer,X.loc.start,te.loc.end):X&&X.loc},We}(),c=function(){function We(X,te){this.text=void 0,this.loc=void 0,this.text=X,this.loc=te}var W=We.prototype;return W.range=function(te,pe){return new We(pe,l.range(this,te))},We}(),f=function We(W,X){this.position=void 0;var te="KaTeX parse error: "+W,pe,Te=X&&X.loc;if(Te&&Te.start<=Te.end){var Ve=Te.lexer.input;pe=Te.start;var wt=Te.end;pe===Ve.length?te+=" at end of input: ":te+=" at position "+(pe+1)+": ";var Bt=Ve.slice(pe,wt).replace(/[^]/g,"$&\u0332"),nr;pe>15?nr="\u2026"+Ve.slice(pe-15,pe):nr=Ve.slice(0,pe);var Pr;wt+15<Ve.length?Pr=Ve.slice(wt,wt+15)+"\u2026":Pr=Ve.slice(wt),te+=nr+Bt+Pr}var Wr=new Error(te);return Wr.name="ParseError",Wr.__proto__=We.prototype,Wr.position=pe,Wr};f.prototype.__proto__=Error.prototype;var s=f,h=function(W,X){return W.indexOf(X)!==-1},u=function(W,X){return W===void 0?X:W},a=/([A-Z])/g,x=function(W){return W.replace(a,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},y=/[&><"']/g;function _(We){return String(We).replace(y,function(W){return p[W]})}var b=function We(W){return W.type==="ordgroup"||W.type==="color"?W.body.length===1?We(W.body[0]):W:W.type==="font"?We(W.body):W},S=function(W){var X=b(W);return X.type==="mathord"||X.type==="textord"||X.type==="atom"},R=function(W){if(!W)throw new Error("Expected non-null, but got "+String(W));return W},L=function(W){var X=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(W);return X!=null?X[1]:"_relative"},T={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:S,protocolFromUrl:L},D=function(){function We(X){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,X=X||{},this.displayMode=T.deflt(X.displayMode,!1),this.output=T.deflt(X.output,"htmlAndMathml"),this.leqno=T.deflt(X.leqno,!1),this.fleqn=T.deflt(X.fleqn,!1),this.throwOnError=T.deflt(X.throwOnError,!0),this.errorColor=T.deflt(X.errorColor,"#cc0000"),this.macros=X.macros||{},this.minRuleThickness=Math.max(0,T.deflt(X.minRuleThickness,0)),this.colorIsTextColor=T.deflt(X.colorIsTextColor,!1),this.strict=T.deflt(X.strict,"warn"),this.trust=T.deflt(X.trust,!1),this.maxSize=Math.max(0,T.deflt(X.maxSize,1/0)),this.maxExpand=Math.max(0,T.deflt(X.maxExpand,1e3))}var W=We.prototype;return W.reportNonstrict=function(te,pe,Te){var Ve=this.strict;if(typeof Ve=="function"&&(Ve=Ve(te,pe,Te)),!(!Ve||Ve==="ignore")){if(Ve===!0||Ve==="error")throw new s("LaTeX-incompatible input and strict mode is set to 'error': "+(pe+" ["+te+"]"),Te);Ve==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(pe+" ["+te+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ve+"': "+pe+" ["+te+"]"))}},W.useStrictBehavior=function(te,pe,Te){var Ve=this.strict;if(typeof Ve=="function")try{Ve=Ve(te,pe,Te)}catch(wt){Ve="error"}return!Ve||Ve==="ignore"?!1:Ve===!0||Ve==="error"?!0:Ve==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(pe+" ["+te+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ve+"': "+pe+" ["+te+"]")),!1)},W.isTrusted=function(te){te.url&&!te.protocol&&(te.protocol=T.protocolFromUrl(te.url));var pe=typeof this.trust=="function"?this.trust(te):this.trust;return!!pe},We}(),B=function(){function We(X,te,pe){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=X,this.size=te,this.cramped=pe}var W=We.prototype;return W.sup=function(){return Q[J[this.id]]},W.sub=function(){return Q[Y[this.id]]},W.fracNum=function(){return Q[ue[this.id]]},W.fracDen=function(){return Q[ne[this.id]]},W.cramp=function(){return Q[ee[this.id]]},W.text=function(){return Q[ie[this.id]]},W.isTight=function(){return this.size>=2},We}(),$=0,U=1,V=2,K=3,G=4,oe=5,ae=6,le=7,Q=[new B($,0,!1),new B(U,0,!0),new B(V,1,!1),new B(K,1,!0),new B(G,2,!1),new B(oe,2,!0),new B(ae,3,!1),new B(le,3,!0)],J=[G,oe,G,oe,ae,le,ae,le],Y=[oe,oe,oe,oe,le,le,le,le],ue=[V,K,G,oe,ae,le,ae,le],ne=[K,K,oe,oe,le,le,le,le],ee=[U,U,K,K,oe,oe,le,le],ie=[$,U,V,K,V,K,V,K],F={DISPLAY:Q[$],TEXT:Q[V],SCRIPT:Q[G],SCRIPTSCRIPT:Q[ae]},M=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function q(We){for(var W=0;W<M.length;W++)for(var X=M[W],te=0;te<X.blocks.length;te++){var pe=X.blocks[te];if(We>=pe[0]&&We<=pe[1])return X.name}return null}var de=[];M.forEach(function(We){return We.blocks.forEach(function(W){return de.push.apply(de,W)})});function Ee(We){for(var W=0;W<de.length;W+=2)if(We>=de[W]&&We<=de[W+1])return!0;return!1}var Ce=80,je=function(W,X){return"M95,"+(622+W+X)+`
|
|
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
|
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
|
c69,-144,104.5,-217.7,106.5,-221
|
|
|
l`+W/2.075+" -"+W+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+W)+`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+W)+" "+X+"h400000v"+(40+W)+"h-400000z"},Fe=function(W,X){return"M263,"+(601+W+X)+`c0.7,0,18,39.7,52,119
|
|
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
|
l`+W/2.084+" -"+W+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+W)+`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+W)+" "+X+"h400000v"+(40+W)+"h-400000z"},Ft=function(W,X){return"M983 "+(10+W+X)+`
|
|
|
l`+W/3.13+" -"+W+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+W)+`
|
|
|
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+W)+" "+X+"h400000v"+(40+W)+"h-400000z"},_t=function(W,X){return"M424,"+(2398+W+X)+`
|
|
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
|
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
|
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
|
l`+W/4.223+" -"+W+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+W)+`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+W)+" "+X+`
|
|
|
h400000v`+(40+W)+"h-400000z"},Pt=function(W,X){return"M473,"+(2713+W+X)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+W/5.298+" -"+W+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+W)+`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+W)+" "+X+"h400000v"+(40+W)+"H1017.7z"},Qt=function(W,X,te){var pe=te-54-X-W;return"M702 "+(W+X)+"H400000"+(40+W)+`
|
|
|
H742v`+pe+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
|
219 661 l218 661zM702 `+X+"H400000v"+(40+W)+"H742z"},er=function(W,X,te){X=1e3*X;var pe="";switch(W){case"sqrtMain":pe=je(X,Ce);break;case"sqrtSize1":pe=Fe(X,Ce);break;case"sqrtSize2":pe=Ft(X,Ce);break;case"sqrtSize3":pe=_t(X,Ce);break;case"sqrtSize4":pe=Pt(X,Ce);break;case"sqrtTall":pe=Qt(X,Ce,te)}return pe},Jt={doubleleftarrow:`M262 157
|
|
|
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
|
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
|
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
|
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
|
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
|
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
|
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
|
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
|
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
|
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
|
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
|
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
|
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
|
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
|
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
|
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
|
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
|
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
|
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
|
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
|
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
|
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
|
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
|
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
|
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
|
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
|
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
|
435 0h399565z`,leftgroupunder:`M400000 262
|
|
|
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
|
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
|
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
|
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
|
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
|
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
|
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
|
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
|
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
|
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
|
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
|
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
|
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
|
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
|
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
|
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
|
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
|
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
|
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
|
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
|
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
|
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
|
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
|
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
|
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
|
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
|
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
|
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
|
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
|
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
|
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
|
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
|
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
|
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
|
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
|
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
|
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
|
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
|
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
|
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
|
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
|
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
|
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
|
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
|
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
|
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
|
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
|
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
|
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
|
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
|
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
|
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
|
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
|
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
|
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
|
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
|
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
|
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
|
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
|
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
|
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
|
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
|
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
|
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
|
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
|
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
|
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
|
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
|
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
|
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
|
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
|
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
|
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
|
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
|
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
|
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
|
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
|
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
|
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
|
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
|
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
|
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
|
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
|
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
|
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
|
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
|
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
|
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
|
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
|
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
|
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
|
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
|
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
|
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
|
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
|
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
|
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
|
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
|
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
|
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
|
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
|
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
|
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
|
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
|
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
|
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
|
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
|
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
|
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
|
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
|
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
|
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
|
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
|
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
|
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
|
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
|
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
|
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
|
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
|
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
|
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
|
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
|
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
|
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
|
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
|
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
|
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
|
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
|
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
|
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
|
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
|
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
|
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Xe=function(){function We(X){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=X,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var W=We.prototype;return W.hasClass=function(te){return T.contains(this.classes,te)},W.toNode=function(){for(var te=document.createDocumentFragment(),pe=0;pe<this.children.length;pe++)te.appendChild(this.children[pe].toNode());return te},W.toMarkup=function(){for(var te="",pe=0;pe<this.children.length;pe++)te+=this.children[pe].toMarkup();return te},W.toText=function(){var te=function(Te){return Te.toText()};return this.children.map(te).join("")},We}(),It=function(W){return W.filter(function(X){return X}).join(" ")},zt=function(W,X,te){if(this.classes=W||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=te||{},X){X.style.isTight()&&this.classes.push("mtight");var pe=X.getColor();pe&&(this.style.color=pe)}},st=function(W){var X=document.createElement(W);X.className=It(this.classes);for(var te in this.style)this.style.hasOwnProperty(te)&&(X.style[te]=this.style[te]);for(var pe in this.attributes)this.attributes.hasOwnProperty(pe)&&X.setAttribute(pe,this.attributes[pe]);for(var Te=0;Te<this.children.length;Te++)X.appendChild(this.children[Te].toNode());return X},bt=function(W){var X="<"+W;this.classes.length&&(X+=' class="'+T.escape(It(this.classes))+'"');var te="";for(var pe in this.style)this.style.hasOwnProperty(pe)&&(te+=T.hyphenate(pe)+":"+this.style[pe]+";");te&&(X+=' style="'+T.escape(te)+'"');for(var Te in this.attributes)this.attributes.hasOwnProperty(Te)&&(X+=" "+Te+'="'+T.escape(this.attributes[Te])+'"');X+=">";for(var Ve=0;Ve<this.children.length;Ve++)X+=this.children[Ve].toMarkup();return X+="</"+W+">",X},ht=function(){function We(X,te,pe,Te){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,zt.call(this,X,pe,Te),this.children=te||[]}var W=We.prototype;return W.setAttribute=function(te,pe){this.attributes[te]=pe},W.hasClass=function(te){return T.contains(this.classes,te)},W.toNode=function(){return st.call(this,"span")},W.toMarkup=function(){return bt.call(this,"span")},We}(),Je=function(){function We(X,te,pe,Te){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,zt.call(this,te,Te),this.children=pe||[],this.setAttribute("href",X)}var W=We.prototype;return W.setAttribute=function(te,pe){this.attributes[te]=pe},W.hasClass=function(te){return T.contains(this.classes,te)},W.toNode=function(){return st.call(this,"a")},W.toMarkup=function(){return bt.call(this,"a")},We}(),Ue=function(){function We(X,te,pe){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=te,this.src=X,this.classes=["mord"],this.style=pe}var W=We.prototype;return W.hasClass=function(te){return T.contains(this.classes,te)},W.toNode=function(){var te=document.createElement("img");te.src=this.src,te.alt=this.alt,te.className="mord";for(var pe in this.style)this.style.hasOwnProperty(pe)&&(te.style[pe]=this.style[pe]);return te},W.toMarkup=function(){var te="<img src='"+this.src+" 'alt='"+this.alt+"' ",pe="";for(var Te in this.style)this.style.hasOwnProperty(Te)&&(pe+=T.hyphenate(Te)+":"+this.style[Te]+";");return pe&&(te+=' style="'+T.escape(pe)+'"'),te+="'/>",te},We}(),ge={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ae=function(){function We(X,te,pe,Te,Ve,wt,Bt,nr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=X,this.height=te||0,this.depth=pe||0,this.italic=Te||0,this.skew=Ve||0,this.width=wt||0,this.classes=Bt||[],this.style=nr||{},this.maxFontSize=0;var Pr=q(this.text.charCodeAt(0));Pr&&this.classes.push(Pr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ge[this.text])}var W=We.prototype;return W.hasClass=function(te){return T.contains(this.classes,te)},W.toNode=function(){var te=document.createTextNode(this.text),pe=null;this.italic>0&&(pe=document.createElement("span"),pe.style.marginRight=this.italic+"em"),this.classes.length>0&&(pe=pe||document.createElement("span"),pe.className=It(this.classes));for(var Te in this.style)this.style.hasOwnProperty(Te)&&(pe=pe||document.createElement("span"),pe.style[Te]=this.style[Te]);return pe?(pe.appendChild(te),pe):te},W.toMarkup=function(){var te=!1,pe="<span";this.classes.length&&(te=!0,pe+=' class="',pe+=T.escape(It(this.classes)),pe+='"');var Te="";this.italic>0&&(Te+="margin-right:"+this.italic+"em;");for(var Ve in this.style)this.style.hasOwnProperty(Ve)&&(Te+=T.hyphenate(Ve)+":"+this.style[Ve]+";");Te&&(te=!0,pe+=' style="'+T.escape(Te)+'"');var wt=T.escape(this.text);return te?(pe+=">",pe+=wt,pe+="</span>",pe):wt},We}(),Me=function(){function We(X,te){this.children=void 0,this.attributes=void 0,this.children=X||[],this.attributes=te||{}}var W=We.prototype;return W.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"svg");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&pe.setAttribute(Te,this.attributes[Te]);for(var Ve=0;Ve<this.children.length;Ve++)pe.appendChild(this.children[Ve].toNode());return pe},W.toMarkup=function(){var te="<svg";for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&(te+=" "+pe+"='"+this.attributes[pe]+"'");te+=">";for(var Te=0;Te<this.children.length;Te++)te+=this.children[Te].toMarkup();return te+="</svg>",te},We}(),$e=function(){function We(X,te){this.pathName=void 0,this.alternate=void 0,this.pathName=X,this.alternate=te}var W=We.prototype;return W.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"path");return this.alternate?pe.setAttribute("d",this.alternate):pe.setAttribute("d",Jt[this.pathName]),pe},W.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Jt[this.pathName]+"'/>"},We}(),He=function(){function We(X){this.attributes=void 0,this.attributes=X||{}}var W=We.prototype;return W.toNode=function(){var te="http://www.w3.org/2000/svg",pe=document.createElementNS(te,"line");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&pe.setAttribute(Te,this.attributes[Te]);return pe},W.toMarkup=function(){var te="<line";for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&(te+=" "+pe+"='"+this.attributes[pe]+"'");return te+="/>",te},We}();function nt(We){if(We instanceof Ae)return We;throw new Error("Expected symbolNode but got "+String(We)+".")}function ct(We){if(We instanceof ht)return We;throw new Error("Expected span<HtmlDomNode> but got "+String(We)+".")}var Kt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Wt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},De={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Qe(We,W){Kt[We]=W}function Vt(We,W,X){if(!Kt[W])throw new Error("Font metrics not found for font: "+W+".");var te=We.charCodeAt(0),pe=Kt[W][te];if(!pe&&We[0]in De&&(te=De[We[0]].charCodeAt(0),pe=Kt[W][te]),!pe&&X==="text"&&Ee(te)&&(pe=Kt[W][77]),pe)return{depth:pe[0],height:pe[1],italic:pe[2],skew:pe[3],width:pe[4]}}var kt={};function Ht(We){var W;if(We>=5?W=0:We>=3?W=1:W=2,!kt[W]){var X=kt[W]={cssEmPerMu:Wt.quad[W]/18};for(var te in Wt)Wt.hasOwnProperty(te)&&(X[te]=Wt[te][W])}return kt[W]}var $t={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},Yt={math:{},text:{}},Ge=Yt;function fe(We,W,X,te,pe,Te){Yt[We][pe]={font:W,group:X,replace:te},Te&&te&&(Yt[We][te]=Yt[We][pe])}var _e="math",Ot="text",Pe="main",dt="ams",Zt="accent-token",Tt="bin",ke="close",St="inner",be="mathord",Ke="op-token",gt="open",Rt="punct",Be="rel",kr="spacing",At="textord";fe(_e,Pe,Be,"\u2261","\\equiv",!0),fe(_e,Pe,Be,"\u227A","\\prec",!0),fe(_e,Pe,Be,"\u227B","\\succ",!0),fe(_e,Pe,Be,"\u223C","\\sim",!0),fe(_e,Pe,Be,"\u22A5","\\perp"),fe(_e,Pe,Be,"\u2AAF","\\preceq",!0),fe(_e,Pe,Be,"\u2AB0","\\succeq",!0),fe(_e,Pe,Be,"\u2243","\\simeq",!0),fe(_e,Pe,Be,"\u2223","\\mid",!0),fe(_e,Pe,Be,"\u226A","\\ll",!0),fe(_e,Pe,Be,"\u226B","\\gg",!0),fe(_e,Pe,Be,"\u224D","\\asymp",!0),fe(_e,Pe,Be,"\u2225","\\parallel"),fe(_e,Pe,Be,"\u22C8","\\bowtie",!0),fe(_e,Pe,Be,"\u2323","\\smile",!0),fe(_e,Pe,Be,"\u2291","\\sqsubseteq",!0),fe(_e,Pe,Be,"\u2292","\\sqsupseteq",!0),fe(_e,Pe,Be,"\u2250","\\doteq",!0),fe(_e,Pe,Be,"\u2322","\\frown",!0),fe(_e,Pe,Be,"\u220B","\\ni",!0),fe(_e,Pe,Be,"\u221D","\\propto",!0),fe(_e,Pe,Be,"\u22A2","\\vdash",!0),fe(_e,Pe,Be,"\u22A3","\\dashv",!0),fe(_e,Pe,Be,"\u220B","\\owns"),fe(_e,Pe,Rt,".","\\ldotp"),fe(_e,Pe,Rt,"\u22C5","\\cdotp"),fe(_e,Pe,At,"#","\\#"),fe(Ot,Pe,At,"#","\\#"),fe(_e,Pe,At,"&","\\&"),fe(Ot,Pe,At,"&","\\&"),fe(_e,Pe,At,"\u2135","\\aleph",!0),fe(_e,Pe,At,"\u2200","\\forall",!0),fe(_e,Pe,At,"\u210F","\\hbar",!0),fe(_e,Pe,At,"\u2203","\\exists",!0),fe(_e,Pe,At,"\u2207","\\nabla",!0),fe(_e,Pe,At,"\u266D","\\flat",!0),fe(_e,Pe,At,"\u2113","\\ell",!0),fe(_e,Pe,At,"\u266E","\\natural",!0),fe(_e,Pe,At,"\u2663","\\clubsuit",!0),fe(_e,Pe,At,"\u2118","\\wp",!0),fe(_e,Pe,At,"\u266F","\\sharp",!0),fe(_e,Pe,At,"\u2662","\\diamondsuit",!0),fe(_e,Pe,At,"\u211C","\\Re",!0),fe(_e,Pe,At,"\u2661","\\heartsuit",!0),fe(_e,Pe,At,"\u2111","\\Im",!0),fe(_e,Pe,At,"\u2660","\\spadesuit",!0),fe(Ot,Pe,At,"\xA7","\\S",!0),fe(Ot,Pe,At,"\xB6","\\P",!0),fe(_e,Pe,At,"\u2020","\\dag"),fe(Ot,Pe,At,"\u2020","\\dag"),fe(Ot,Pe,At,"\u2020","\\textdagger"),fe(_e,Pe,At,"\u2021","\\ddag"),fe(Ot,Pe,At,"\u2021","\\ddag"),fe(Ot,Pe,At,"\u2021","\\textdaggerdbl"),fe(_e,Pe,ke,"\u23B1","\\rmoustache",!0),fe(_e,Pe,gt,"\u23B0","\\lmoustache",!0),fe(_e,Pe,ke,"\u27EF","\\rgroup",!0),fe(_e,Pe,gt,"\u27EE","\\lgroup",!0),fe(_e,Pe,Tt,"\u2213","\\mp",!0),fe(_e,Pe,Tt,"\u2296","\\ominus",!0),fe(_e,Pe,Tt,"\u228E","\\uplus",!0),fe(_e,Pe,Tt,"\u2293","\\sqcap",!0),fe(_e,Pe,Tt,"\u2217","\\ast"),fe(_e,Pe,Tt,"\u2294","\\sqcup",!0),fe(_e,Pe,Tt,"\u25EF","\\bigcirc"),fe(_e,Pe,Tt,"\u2219","\\bullet"),fe(_e,Pe,Tt,"\u2021","\\ddagger"),fe(_e,Pe,Tt,"\u2240","\\wr",!0),fe(_e,Pe,Tt,"\u2A3F","\\amalg"),fe(_e,Pe,Tt,"&","\\And"),fe(_e,Pe,Be,"\u27F5","\\longleftarrow",!0),fe(_e,Pe,Be,"\u21D0","\\Leftarrow",!0),fe(_e,Pe,Be,"\u27F8","\\Longleftarrow",!0),fe(_e,Pe,Be,"\u27F6","\\longrightarrow",!0),fe(_e,Pe,Be,"\u21D2","\\Rightarrow",!0),fe(_e,Pe,Be,"\u27F9","\\Longrightarrow",!0),fe(_e,Pe,Be,"\u2194","\\leftrightarrow",!0),fe(_e,Pe,Be,"\u27F7","\\longleftrightarrow",!0),fe(_e,Pe,Be,"\u21D4","\\Leftrightarrow",!0),fe(_e,Pe,Be,"\u27FA","\\Longleftrightarrow",!0),fe(_e,Pe,Be,"\u21A6","\\mapsto",!0),fe(_e,Pe,Be,"\u27FC","\\longmapsto",!0),fe(_e,Pe,Be,"\u2197","\\nearrow",!0),fe(_e,Pe,Be,"\u21A9","\\hookleftarrow",!0),fe(_e,Pe,Be,"\u21AA","\\hookrightarrow",!0),fe(_e,Pe,Be,"\u2198","\\searrow",!0),fe(_e,Pe,Be,"\u21BC","\\leftharpoonup",!0),fe(_e,Pe,Be,"\u21C0","\\rightharpoonup",!0),fe(_e,Pe,Be,"\u2199","\\swarrow",!0),fe(_e,Pe,Be,"\u21BD","\\leftharpoondown",!0),fe(_e,Pe,Be,"\u21C1","\\rightharpoondown",!0),fe(_e,Pe,Be,"\u2196","\\nwarrow",!0),fe(_e,Pe,Be,"\u21CC","\\rightleftharpoons",!0),fe(_e,dt,Be,"\u226E","\\nless",!0),fe(_e,dt,Be,"\uE010","\\@nleqslant"),fe(_e,dt,Be,"\uE011","\\@nleqq"),fe(_e,dt,Be,"\u2A87","\\lneq",!0),fe(_e,dt,Be,"\u2268","\\lneqq",!0),fe(_e,dt,Be,"\uE00C","\\@lvertneqq"),fe(_e,dt,Be,"\u22E6","\\lnsim",!0),fe(_e,dt,Be,"\u2A89","\\lnapprox",!0),fe(_e,dt,Be,"\u2280","\\nprec",!0),fe(_e,dt,Be,"\u22E0","\\npreceq",!0),fe(_e,dt,Be,"\u22E8","\\precnsim",!0),fe(_e,dt,Be,"\u2AB9","\\precnapprox",!0),fe(_e,dt,Be,"\u2241","\\nsim",!0),fe(_e,dt,Be,"\uE006","\\@nshortmid"),fe(_e,dt,Be,"\u2224","\\nmid",!0),fe(_e,dt,Be,"\u22AC","\\nvdash",!0),fe(_e,dt,Be,"\u22AD","\\nvDash",!0),fe(_e,dt,Be,"\u22EA","\\ntriangleleft"),fe(_e,dt,Be,"\u22EC","\\ntrianglelefteq",!0),fe(_e,dt,Be,"\u228A","\\subsetneq",!0),fe(_e,dt,Be,"\uE01A","\\@varsubsetneq"),fe(_e,dt,Be,"\u2ACB","\\subsetneqq",!0),fe(_e,dt,Be,"\uE017","\\@varsubsetneqq"),fe(_e,dt,Be,"\u226F","\\ngtr",!0),fe(_e,dt,Be,"\uE00F","\\@ngeqslant"),fe(_e,dt,Be,"\uE00E","\\@ngeqq"),fe(_e,dt,Be,"\u2A88","\\gneq",!0),fe(_e,dt,Be,"\u2269","\\gneqq",!0),fe(_e,dt,Be,"\uE00D","\\@gvertneqq"),fe(_e,dt,Be,"\u22E7","\\gnsim",!0),fe(_e,dt,Be,"\u2A8A","\\gnapprox",!0),fe(_e,dt,Be,"\u2281","\\nsucc",!0),fe(_e,dt,Be,"\u22E1","\\nsucceq",!0),fe(_e,dt,Be,"\u22E9","\\succnsim",!0),fe(_e,dt,Be,"\u2ABA","\\succnapprox",!0),fe(_e,dt,Be,"\u2246","\\ncong",!0),fe(_e,dt,Be,"\uE007","\\@nshortparallel"),fe(_e,dt,Be,"\u2226","\\nparallel",!0),fe(_e,dt,Be,"\u22AF","\\nVDash",!0),fe(_e,dt,Be,"\u22EB","\\ntriangleright"),fe(_e,dt,Be,"\u22ED","\\ntrianglerighteq",!0),fe(_e,dt,Be,"\uE018","\\@nsupseteqq"),fe(_e,dt,Be,"\u228B","\\supsetneq",!0),fe(_e,dt,Be,"\uE01B","\\@varsupsetneq"),fe(_e,dt,Be,"\u2ACC","\\supsetneqq",!0),fe(_e,dt,Be,"\uE019","\\@varsupsetneqq"),fe(_e,dt,Be,"\u22AE","\\nVdash",!0),fe(_e,dt,Be,"\u2AB5","\\precneqq",!0),fe(_e,dt,Be,"\u2AB6","\\succneqq",!0),fe(_e,dt,Be,"\uE016","\\@nsubseteqq"),fe(_e,dt,Tt,"\u22B4","\\unlhd"),fe(_e,dt,Tt,"\u22B5","\\unrhd"),fe(_e,dt,Be,"\u219A","\\nleftarrow",!0),fe(_e,dt,Be,"\u219B","\\nrightarrow",!0),fe(_e,dt,Be,"\u21CD","\\nLeftarrow",!0),fe(_e,dt,Be,"\u21CF","\\nRightarrow",!0),fe(_e,dt,Be,"\u21AE","\\nleftrightarrow",!0),fe(_e,dt,Be,"\u21CE","\\nLeftrightarrow",!0),fe(_e,dt,Be,"\u25B3","\\vartriangle"),fe(_e,dt,At,"\u210F","\\hslash"),fe(_e,dt,At,"\u25BD","\\triangledown"),fe(_e,dt,At,"\u25CA","\\lozenge"),fe(_e,dt,At,"\u24C8","\\circledS"),fe(_e,dt,At,"\xAE","\\circledR"),fe(Ot,dt,At,"\xAE","\\circledR"),fe(_e,dt,At,"\u2221","\\measuredangle",!0),fe(_e,dt,At,"\u2204","\\nexists"),fe(_e,dt,At,"\u2127","\\mho"),fe(_e,dt,At,"\u2132","\\Finv",!0),fe(_e,dt,At,"\u2141","\\Game",!0),fe(_e,dt,At,"\u2035","\\backprime"),fe(_e,dt,At,"\u25B2","\\blacktriangle"),fe(_e,dt,At,"\u25BC","\\blacktriangledown"),fe(_e,dt,At,"\u25A0","\\blacksquare"),fe(_e,dt,At,"\u29EB","\\blacklozenge"),fe(_e,dt,At,"\u2605","\\bigstar"),fe(_e,dt,At,"\u2222","\\sphericalangle",!0),fe(_e,dt,At,"\u2201","\\complement",!0),fe(_e,dt,At,"\xF0","\\eth",!0),fe(_e,dt,At,"\u2571","\\diagup"),fe(_e,dt,At,"\u2572","\\diagdown"),fe(_e,dt,At,"\u25A1","\\square"),fe(_e,dt,At,"\u25A1","\\Box"),fe(_e,dt,At,"\u25CA","\\Diamond"),fe(_e,dt,At,"\xA5","\\yen",!0),fe(Ot,dt,At,"\xA5","\\yen",!0),fe(_e,dt,At,"\u2713","\\checkmark",!0),fe(Ot,dt,At,"\u2713","\\checkmark"),fe(_e,dt,At,"\u2136","\\beth",!0),fe(_e,dt,At,"\u2138","\\daleth",!0),fe(_e,dt,At,"\u2137","\\gimel",!0),fe(_e,dt,At,"\u03DD","\\digamma",!0),fe(_e,dt,At,"\u03F0","\\varkappa"),fe(_e,dt,gt,"\u250C","\\ulcorner",!0),fe(_e,dt,ke,"\u2510","\\urcorner",!0),fe(_e,dt,gt,"\u2514","\\llcorner",!0),fe(_e,dt,ke,"\u2518","\\lrcorner",!0),fe(_e,dt,Be,"\u2266","\\leqq",!0),fe(_e,dt,Be,"\u2A7D","\\leqslant",!0),fe(_e,dt,Be,"\u2A95","\\eqslantless",!0),fe(_e,dt,Be,"\u2272","\\lesssim",!0),fe(_e,dt,Be,"\u2A85","\\lessapprox",!0),fe(_e,dt,Be,"\u224A","\\approxeq",!0),fe(_e,dt,Tt,"\u22D6","\\lessdot"),fe(_e,dt,Be,"\u22D8","\\lll",!0),fe(_e,dt,Be,"\u2276","\\lessgtr",!0),fe(_e,dt,Be,"\u22DA","\\lesseqgtr",!0),fe(_e,dt,Be,"\u2A8B","\\lesseqqgtr",!0),fe(_e,dt,Be,"\u2251","\\doteqdot"),fe(_e,dt,Be,"\u2253","\\risingdotseq",!0),fe(_e,dt,Be,"\u2252","\\fallingdotseq",!0),fe(_e,dt,Be,"\u223D","\\backsim",!0),fe(_e,dt,Be,"\u22CD","\\backsimeq",!0),fe(_e,dt,Be,"\u2AC5","\\subseteqq",!0),fe(_e,dt,Be,"\u22D0","\\Subset",!0),fe(_e,dt,Be,"\u228F","\\sqsubset",!0),fe(_e,dt,Be,"\u227C","\\preccurlyeq",!0),fe(_e,dt,Be,"\u22DE","\\curlyeqprec",!0),fe(_e,dt,Be,"\u227E","\\precsim",!0),fe(_e,dt,Be,"\u2AB7","\\precapprox",!0),fe(_e,dt,Be,"\u22B2","\\vartriangleleft"),fe(_e,dt,Be,"\u22B4","\\trianglelefteq"),fe(_e,dt,Be,"\u22A8","\\vDash",!0),fe(_e,dt,Be,"\u22AA","\\Vvdash",!0),fe(_e,dt,Be,"\u2323","\\smallsmile"),fe(_e,dt,Be,"\u2322","\\smallfrown"),fe(_e,dt,Be,"\u224F","\\bumpeq",!0),fe(_e,dt,Be,"\u224E","\\Bumpeq",!0),fe(_e,dt,Be,"\u2267","\\geqq",!0),fe(_e,dt,Be,"\u2A7E","\\geqslant",!0),fe(_e,dt,Be,"\u2A96","\\eqslantgtr",!0),fe(_e,dt,Be,"\u2273","\\gtrsim",!0),fe(_e,dt,Be,"\u2A86","\\gtrapprox",!0),fe(_e,dt,Tt,"\u22D7","\\gtrdot"),fe(_e,dt,Be,"\u22D9","\\ggg",!0),fe(_e,dt,Be,"\u2277","\\gtrless",!0),fe(_e,dt,Be,"\u22DB","\\gtreqless",!0),fe(_e,dt,Be,"\u2A8C","\\gtreqqless",!0),fe(_e,dt,Be,"\u2256","\\eqcirc",!0),fe(_e,dt,Be,"\u2257","\\circeq",!0),fe(_e,dt,Be,"\u225C","\\triangleq",!0),fe(_e,dt,Be,"\u223C","\\thicksim"),fe(_e,dt,Be,"\u2248","\\thickapprox"),fe(_e,dt,Be,"\u2AC6","\\supseteqq",!0),fe(_e,dt,Be,"\u22D1","\\Supset",!0),fe(_e,dt,Be,"\u2290","\\sqsupset",!0),fe(_e,dt,Be,"\u227D","\\succcurlyeq",!0),fe(_e,dt,Be,"\u22DF","\\curlyeqsucc",!0),fe(_e,dt,Be,"\u227F","\\succsim",!0),fe(_e,dt,Be,"\u2AB8","\\succapprox",!0),fe(_e,dt,Be,"\u22B3","\\vartriangleright"),fe(_e,dt,Be,"\u22B5","\\trianglerighteq"),fe(_e,dt,Be,"\u22A9","\\Vdash",!0),fe(_e,dt,Be,"\u2223","\\shortmid"),fe(_e,dt,Be,"\u2225","\\shortparallel"),fe(_e,dt,Be,"\u226C","\\between",!0),fe(_e,dt,Be,"\u22D4","\\pitchfork",!0),fe(_e,dt,Be,"\u221D","\\varpropto"),fe(_e,dt,Be,"\u25C0","\\blacktriangleleft"),fe(_e,dt,Be,"\u2234","\\therefore",!0),fe(_e,dt,Be,"\u220D","\\backepsilon"),fe(_e,dt,Be,"\u25B6","\\blacktriangleright"),fe(_e,dt,Be,"\u2235","\\because",!0),fe(_e,dt,Be,"\u22D8","\\llless"),fe(_e,dt,Be,"\u22D9","\\gggtr"),fe(_e,dt,Tt,"\u22B2","\\lhd"),fe(_e,dt,Tt,"\u22B3","\\rhd"),fe(_e,dt,Be,"\u2242","\\eqsim",!0),fe(_e,Pe,Be,"\u22C8","\\Join"),fe(_e,dt,Be,"\u2251","\\Doteq",!0),fe(_e,dt,Tt,"\u2214","\\dotplus",!0),fe(_e,dt,Tt,"\u2216","\\smallsetminus"),fe(_e,dt,Tt,"\u22D2","\\Cap",!0),fe(_e,dt,Tt,"\u22D3","\\Cup",!0),fe(_e,dt,Tt,"\u2A5E","\\doublebarwedge",!0),fe(_e,dt,Tt,"\u229F","\\boxminus",!0),fe(_e,dt,Tt,"\u229E","\\boxplus",!0),fe(_e,dt,Tt,"\u22C7","\\divideontimes",!0),fe(_e,dt,Tt,"\u22C9","\\ltimes",!0),fe(_e,dt,Tt,"\u22CA","\\rtimes",!0),fe(_e,dt,Tt,"\u22CB","\\leftthreetimes",!0),fe(_e,dt,Tt,"\u22CC","\\rightthreetimes",!0),fe(_e,dt,Tt,"\u22CF","\\curlywedge",!0),fe(_e,dt,Tt,"\u22CE","\\curlyvee",!0),fe(_e,dt,Tt,"\u229D","\\circleddash",!0),fe(_e,dt,Tt,"\u229B","\\circledast",!0),fe(_e,dt,Tt,"\u22C5","\\centerdot"),fe(_e,dt,Tt,"\u22BA","\\intercal",!0),fe(_e,dt,Tt,"\u22D2","\\doublecap"),fe(_e,dt,Tt,"\u22D3","\\doublecup"),fe(_e,dt,Tt,"\u22A0","\\boxtimes",!0),fe(_e,dt,Be,"\u21E2","\\dashrightarrow",!0),fe(_e,dt,Be,"\u21E0","\\dashleftarrow",!0),fe(_e,dt,Be,"\u21C7","\\leftleftarrows",!0),fe(_e,dt,Be,"\u21C6","\\leftrightarrows",!0),fe(_e,dt,Be,"\u21DA","\\Lleftarrow",!0),fe(_e,dt,Be,"\u219E","\\twoheadleftarrow",!0),fe(_e,dt,Be,"\u21A2","\\leftarrowtail",!0),fe(_e,dt,Be,"\u21AB","\\looparrowleft",!0),fe(_e,dt,Be,"\u21CB","\\leftrightharpoons",!0),fe(_e,dt,Be,"\u21B6","\\curvearrowleft",!0),fe(_e,dt,Be,"\u21BA","\\circlearrowleft",!0),fe(_e,dt,Be,"\u21B0","\\Lsh",!0),fe(_e,dt,Be,"\u21C8","\\upuparrows",!0),fe(_e,dt,Be,"\u21BF","\\upharpoonleft",!0),fe(_e,dt,Be,"\u21C3","\\downharpoonleft",!0),fe(_e,dt,Be,"\u22B8","\\multimap",!0),fe(_e,dt,Be,"\u21AD","\\leftrightsquigarrow",!0),fe(_e,dt,Be,"\u21C9","\\rightrightarrows",!0),fe(_e,dt,Be,"\u21C4","\\rightleftarrows",!0),fe(_e,dt,Be,"\u21A0","\\twoheadrightarrow",!0),fe(_e,dt,Be,"\u21A3","\\rightarrowtail",!0),fe(_e,dt,Be,"\u21AC","\\looparrowright",!0),fe(_e,dt,Be,"\u21B7","\\curvearrowright",!0),fe(_e,dt,Be,"\u21BB","\\circlearrowright",!0),fe(_e,dt,Be,"\u21B1","\\Rsh",!0),fe(_e,dt,Be,"\u21CA","\\downdownarrows",!0),fe(_e,dt,Be,"\u21BE","\\upharpoonright",!0),fe(_e,dt,Be,"\u21C2","\\downharpoonright",!0),fe(_e,dt,Be,"\u21DD","\\rightsquigarrow",!0),fe(_e,dt,Be,"\u21DD","\\leadsto"),fe(_e,dt,Be,"\u21DB","\\Rrightarrow",!0),fe(_e,dt,Be,"\u21BE","\\restriction"),fe(_e,Pe,At,"\u2018","`"),fe(_e,Pe,At,"$","\\$"),fe(Ot,Pe,At,"$","\\$"),fe(Ot,Pe,At,"$","\\textdollar"),fe(_e,Pe,At,"%","\\%"),fe(Ot,Pe,At,"%","\\%"),fe(_e,Pe,At,"_","\\_"),fe(Ot,Pe,At,"_","\\_"),fe(Ot,Pe,At,"_","\\textunderscore"),fe(_e,Pe,At,"\u2220","\\angle",!0),fe(_e,Pe,At,"\u221E","\\infty",!0),fe(_e,Pe,At,"\u2032","\\prime"),fe(_e,Pe,At,"\u25B3","\\triangle"),fe(_e,Pe,At,"\u0393","\\Gamma",!0),fe(_e,Pe,At,"\u0394","\\Delta",!0),fe(_e,Pe,At,"\u0398","\\Theta",!0),fe(_e,Pe,At,"\u039B","\\Lambda",!0),fe(_e,Pe,At,"\u039E","\\Xi",!0),fe(_e,Pe,At,"\u03A0","\\Pi",!0),fe(_e,Pe,At,"\u03A3","\\Sigma",!0),fe(_e,Pe,At,"\u03A5","\\Upsilon",!0),fe(_e,Pe,At,"\u03A6","\\Phi",!0),fe(_e,Pe,At,"\u03A8","\\Psi",!0),fe(_e,Pe,At,"\u03A9","\\Omega",!0),fe(_e,Pe,At,"A","\u0391"),fe(_e,Pe,At,"B","\u0392"),fe(_e,Pe,At,"E","\u0395"),fe(_e,Pe,At,"Z","\u0396"),fe(_e,Pe,At,"H","\u0397"),fe(_e,Pe,At,"I","\u0399"),fe(_e,Pe,At,"K","\u039A"),fe(_e,Pe,At,"M","\u039C"),fe(_e,Pe,At,"N","\u039D"),fe(_e,Pe,At,"O","\u039F"),fe(_e,Pe,At,"P","\u03A1"),fe(_e,Pe,At,"T","\u03A4"),fe(_e,Pe,At,"X","\u03A7"),fe(_e,Pe,At,"\xAC","\\neg",!0),fe(_e,Pe,At,"\xAC","\\lnot"),fe(_e,Pe,At,"\u22A4","\\top"),fe(_e,Pe,At,"\u22A5","\\bot"),fe(_e,Pe,At,"\u2205","\\emptyset"),fe(_e,dt,At,"\u2205","\\varnothing"),fe(_e,Pe,be,"\u03B1","\\alpha",!0),fe(_e,Pe,be,"\u03B2","\\beta",!0),fe(_e,Pe,be,"\u03B3","\\gamma",!0),fe(_e,Pe,be,"\u03B4","\\delta",!0),fe(_e,Pe,be,"\u03F5","\\epsilon",!0),fe(_e,Pe,be,"\u03B6","\\zeta",!0),fe(_e,Pe,be,"\u03B7","\\eta",!0),fe(_e,Pe,be,"\u03B8","\\theta",!0),fe(_e,Pe,be,"\u03B9","\\iota",!0),fe(_e,Pe,be,"\u03BA","\\kappa",!0),fe(_e,Pe,be,"\u03BB","\\lambda",!0),fe(_e,Pe,be,"\u03BC","\\mu",!0),fe(_e,Pe,be,"\u03BD","\\nu",!0),fe(_e,Pe,be,"\u03BE","\\xi",!0),fe(_e,Pe,be,"\u03BF","\\omicron",!0),fe(_e,Pe,be,"\u03C0","\\pi",!0),fe(_e,Pe,be,"\u03C1","\\rho",!0),fe(_e,Pe,be,"\u03C3","\\sigma",!0),fe(_e,Pe,be,"\u03C4","\\tau",!0),fe(_e,Pe,be,"\u03C5","\\upsilon",!0),fe(_e,Pe,be,"\u03D5","\\phi",!0),fe(_e,Pe,be,"\u03C7","\\chi",!0),fe(_e,Pe,be,"\u03C8","\\psi",!0),fe(_e,Pe,be,"\u03C9","\\omega",!0),fe(_e,Pe,be,"\u03B5","\\varepsilon",!0),fe(_e,Pe,be,"\u03D1","\\vartheta",!0),fe(_e,Pe,be,"\u03D6","\\varpi",!0),fe(_e,Pe,be,"\u03F1","\\varrho",!0),fe(_e,Pe,be,"\u03C2","\\varsigma",!0),fe(_e,Pe,be,"\u03C6","\\varphi",!0),fe(_e,Pe,Tt,"\u2217","*"),fe(_e,Pe,Tt,"+","+"),fe(_e,Pe,Tt,"\u2212","-"),fe(_e,Pe,Tt,"\u22C5","\\cdot",!0),fe(_e,Pe,Tt,"\u2218","\\circ"),fe(_e,Pe,Tt,"\xF7","\\div",!0),fe(_e,Pe,Tt,"\xB1","\\pm",!0),fe(_e,Pe,Tt,"\xD7","\\times",!0),fe(_e,Pe,Tt,"\u2229","\\cap",!0),fe(_e,Pe,Tt,"\u222A","\\cup",!0),fe(_e,Pe,Tt,"\u2216","\\setminus"),fe(_e,Pe,Tt,"\u2227","\\land"),fe(_e,Pe,Tt,"\u2228","\\lor"),fe(_e,Pe,Tt,"\u2227","\\wedge",!0),fe(_e,Pe,Tt,"\u2228","\\vee",!0),fe(_e,Pe,At,"\u221A","\\surd"),fe(_e,Pe,gt,"(","("),fe(_e,Pe,gt,"[","["),fe(_e,Pe,gt,"\u27E8","\\langle",!0),fe(_e,Pe,gt,"\u2223","\\lvert"),fe(_e,Pe,gt,"\u2225","\\lVert"),fe(_e,Pe,ke,")",")"),fe(_e,Pe,ke,"]","]"),fe(_e,Pe,ke,"?","?"),fe(_e,Pe,ke,"!","!"),fe(_e,Pe,ke,"\u27E9","\\rangle",!0),fe(_e,Pe,ke,"\u2223","\\rvert"),fe(_e,Pe,ke,"\u2225","\\rVert"),fe(_e,Pe,Be,"=","="),fe(_e,Pe,Be,"<","<"),fe(_e,Pe,Be,">",">"),fe(_e,Pe,Be,":",":"),fe(_e,Pe,Be,"\u2248","\\approx",!0),fe(_e,Pe,Be,"\u2245","\\cong",!0),fe(_e,Pe,Be,"\u2265","\\ge"),fe(_e,Pe,Be,"\u2265","\\geq",!0),fe(_e,Pe,Be,"\u2190","\\gets"),fe(_e,Pe,Be,">","\\gt"),fe(_e,Pe,Be,"\u2208","\\in",!0),fe(_e,Pe,Be,"\uE020","\\@not"),fe(_e,Pe,Be,"\u2282","\\subset",!0),fe(_e,Pe,Be,"\u2283","\\supset",!0),fe(_e,Pe,Be,"\u2286","\\subseteq",!0),fe(_e,Pe,Be,"\u2287","\\supseteq",!0),fe(_e,dt,Be,"\u2288","\\nsubseteq",!0),fe(_e,dt,Be,"\u2289","\\nsupseteq",!0),fe(_e,Pe,Be,"\u22A8","\\models"),fe(_e,Pe,Be,"\u2190","\\leftarrow",!0),fe(_e,Pe,Be,"\u2264","\\le"),fe(_e,Pe,Be,"\u2264","\\leq",!0),fe(_e,Pe,Be,"<","\\lt"),fe(_e,Pe,Be,"\u2192","\\rightarrow",!0),fe(_e,Pe,Be,"\u2192","\\to"),fe(_e,dt,Be,"\u2271","\\ngeq",!0),fe(_e,dt,Be,"\u2270","\\nleq",!0),fe(_e,Pe,kr,"\xA0","\\ "),fe(_e,Pe,kr,"\xA0","~"),fe(_e,Pe,kr,"\xA0","\\space"),fe(_e,Pe,kr,"\xA0","\\nobreakspace"),fe(Ot,Pe,kr,"\xA0","\\ "),fe(Ot,Pe,kr,"\xA0","~"),fe(Ot,Pe,kr,"\xA0","\\space"),fe(Ot,Pe,kr,"\xA0","\\nobreakspace"),fe(_e,Pe,kr,null,"\\nobreak"),fe(_e,Pe,kr,null,"\\allowbreak"),fe(_e,Pe,Rt,",",","),fe(_e,Pe,Rt,";",";"),fe(_e,dt,Tt,"\u22BC","\\barwedge",!0),fe(_e,dt,Tt,"\u22BB","\\veebar",!0),fe(_e,Pe,Tt,"\u2299","\\odot",!0),fe(_e,Pe,Tt,"\u2295","\\oplus",!0),fe(_e,Pe,Tt,"\u2297","\\otimes",!0),fe(_e,Pe,At,"\u2202","\\partial",!0),fe(_e,Pe,Tt,"\u2298","\\oslash",!0),fe(_e,dt,Tt,"\u229A","\\circledcirc",!0),fe(_e,dt,Tt,"\u22A1","\\boxdot",!0),fe(_e,Pe,Tt,"\u25B3","\\bigtriangleup"),fe(_e,Pe,Tt,"\u25BD","\\bigtriangledown"),fe(_e,Pe,Tt,"\u2020","\\dagger"),fe(_e,Pe,Tt,"\u22C4","\\diamond"),fe(_e,Pe,Tt,"\u22C6","\\star"),fe(_e,Pe,Tt,"\u25C3","\\triangleleft"),fe(_e,Pe,Tt,"\u25B9","\\triangleright"),fe(_e,Pe,gt,"{","\\{"),fe(Ot,Pe,At,"{","\\{"),fe(Ot,Pe,At,"{","\\textbraceleft"),fe(_e,Pe,ke,"}","\\}"),fe(Ot,Pe,At,"}","\\}"),fe(Ot,Pe,At,"}","\\textbraceright"),fe(_e,Pe,gt,"{","\\lbrace"),fe(_e,Pe,ke,"}","\\rbrace"),fe(_e,Pe,gt,"[","\\lbrack"),fe(Ot,Pe,At,"[","\\lbrack"),fe(_e,Pe,ke,"]","\\rbrack"),fe(Ot,Pe,At,"]","\\rbrack"),fe(_e,Pe,gt,"(","\\lparen"),fe(_e,Pe,ke,")","\\rparen"),fe(Ot,Pe,At,"<","\\textless"),fe(Ot,Pe,At,">","\\textgreater"),fe(_e,Pe,gt,"\u230A","\\lfloor",!0),fe(_e,Pe,ke,"\u230B","\\rfloor",!0),fe(_e,Pe,gt,"\u2308","\\lceil",!0),fe(_e,Pe,ke,"\u2309","\\rceil",!0),fe(_e,Pe,At,"\\","\\backslash"),fe(_e,Pe,At,"\u2223","|"),fe(_e,Pe,At,"\u2223","\\vert"),fe(Ot,Pe,At,"|","\\textbar"),fe(_e,Pe,At,"\u2225","\\|"),fe(_e,Pe,At,"\u2225","\\Vert"),fe(Ot,Pe,At,"\u2225","\\textbardbl"),fe(Ot,Pe,At,"~","\\textasciitilde"),fe(Ot,Pe,At,"\\","\\textbackslash"),fe(Ot,Pe,At,"^","\\textasciicircum"),fe(_e,Pe,Be,"\u2191","\\uparrow",!0),fe(_e,Pe,Be,"\u21D1","\\Uparrow",!0),fe(_e,Pe,Be,"\u2193","\\downarrow",!0),fe(_e,Pe,Be,"\u21D3","\\Downarrow",!0),fe(_e,Pe,Be,"\u2195","\\updownarrow",!0),fe(_e,Pe,Be,"\u21D5","\\Updownarrow",!0),fe(_e,Pe,Ke,"\u2210","\\coprod"),fe(_e,Pe,Ke,"\u22C1","\\bigvee"),fe(_e,Pe,Ke,"\u22C0","\\bigwedge"),fe(_e,Pe,Ke,"\u2A04","\\biguplus"),fe(_e,Pe,Ke,"\u22C2","\\bigcap"),fe(_e,Pe,Ke,"\u22C3","\\bigcup"),fe(_e,Pe,Ke,"\u222B","\\int"),fe(_e,Pe,Ke,"\u222B","\\intop"),fe(_e,Pe,Ke,"\u222C","\\iint"),fe(_e,Pe,Ke,"\u222D","\\iiint"),fe(_e,Pe,Ke,"\u220F","\\prod"),fe(_e,Pe,Ke,"\u2211","\\sum"),fe(_e,Pe,Ke,"\u2A02","\\bigotimes"),fe(_e,Pe,Ke,"\u2A01","\\bigoplus"),fe(_e,Pe,Ke,"\u2A00","\\bigodot"),fe(_e,Pe,Ke,"\u222E","\\oint"),fe(_e,Pe,Ke,"\u222F","\\oiint"),fe(_e,Pe,Ke,"\u2230","\\oiiint"),fe(_e,Pe,Ke,"\u2A06","\\bigsqcup"),fe(_e,Pe,Ke,"\u222B","\\smallint"),fe(Ot,Pe,St,"\u2026","\\textellipsis"),fe(_e,Pe,St,"\u2026","\\mathellipsis"),fe(Ot,Pe,St,"\u2026","\\ldots",!0),fe(_e,Pe,St,"\u2026","\\ldots",!0),fe(_e,Pe,St,"\u22EF","\\@cdots",!0),fe(_e,Pe,St,"\u22F1","\\ddots",!0),fe(_e,Pe,At,"\u22EE","\\varvdots"),fe(_e,Pe,Zt,"\u02CA","\\acute"),fe(_e,Pe,Zt,"\u02CB","\\grave"),fe(_e,Pe,Zt,"\xA8","\\ddot"),fe(_e,Pe,Zt,"~","\\tilde"),fe(_e,Pe,Zt,"\u02C9","\\bar"),fe(_e,Pe,Zt,"\u02D8","\\breve"),fe(_e,Pe,Zt,"\u02C7","\\check"),fe(_e,Pe,Zt,"^","\\hat"),fe(_e,Pe,Zt,"\u20D7","\\vec"),fe(_e,Pe,Zt,"\u02D9","\\dot"),fe(_e,Pe,Zt,"\u02DA","\\mathring"),fe(_e,Pe,be,"\u0131","\\imath",!0),fe(_e,Pe,be,"\u0237","\\jmath",!0),fe(Ot,Pe,At,"\u0131","\\i",!0),fe(Ot,Pe,At,"\u0237","\\j",!0),fe(Ot,Pe,At,"\xDF","\\ss",!0),fe(Ot,Pe,At,"\xE6","\\ae",!0),fe(Ot,Pe,At,"\xE6","\\ae",!0),fe(Ot,Pe,At,"\u0153","\\oe",!0),fe(Ot,Pe,At,"\xF8","\\o",!0),fe(Ot,Pe,At,"\xC6","\\AE",!0),fe(Ot,Pe,At,"\u0152","\\OE",!0),fe(Ot,Pe,At,"\xD8","\\O",!0),fe(Ot,Pe,Zt,"\u02CA","\\'"),fe(Ot,Pe,Zt,"\u02CB","\\`"),fe(Ot,Pe,Zt,"\u02C6","\\^"),fe(Ot,Pe,Zt,"\u02DC","\\~"),fe(Ot,Pe,Zt,"\u02C9","\\="),fe(Ot,Pe,Zt,"\u02D8","\\u"),fe(Ot,Pe,Zt,"\u02D9","\\."),fe(Ot,Pe,Zt,"\u02DA","\\r"),fe(Ot,Pe,Zt,"\u02C7","\\v"),fe(Ot,Pe,Zt,"\xA8",'\\"'),fe(Ot,Pe,Zt,"\u02DD","\\H"),fe(Ot,Pe,Zt,"\u25EF","\\textcircled");var Kr={"--":!0,"---":!0,"``":!0,"''":!0};fe(Ot,Pe,At,"\u2013","--"),fe(Ot,Pe,At,"\u2013","\\textendash"),fe(Ot,Pe,At,"\u2014","---"),fe(Ot,Pe,At,"\u2014","\\textemdash"),fe(Ot,Pe,At,"\u2018","`"),fe(Ot,Pe,At,"\u2018","\\textquoteleft"),fe(Ot,Pe,At,"\u2019","'"),fe(Ot,Pe,At,"\u2019","\\textquoteright"),fe(Ot,Pe,At,"\u201C","``"),fe(Ot,Pe,At,"\u201C","\\textquotedblleft"),fe(Ot,Pe,At,"\u201D","''"),fe(Ot,Pe,At,"\u201D","\\textquotedblright"),fe(_e,Pe,At,"\xB0","\\degree",!0),fe(Ot,Pe,At,"\xB0","\\degree"),fe(Ot,Pe,At,"\xB0","\\textdegree",!0),fe(_e,Pe,be,"\xA3","\\pounds"),fe(_e,Pe,be,"\xA3","\\mathsterling",!0),fe(Ot,Pe,be,"\xA3","\\pounds"),fe(Ot,Pe,be,"\xA3","\\textsterling",!0),fe(_e,dt,At,"\u2720","\\maltese"),fe(Ot,dt,At,"\u2720","\\maltese"),fe(Ot,Pe,kr,"\xA0","\\ "),fe(Ot,Pe,kr,"\xA0"," "),fe(Ot,Pe,kr,"\xA0","~");for(var Qr='0123456789/@."',Ar=0;Ar<Qr.length;Ar++){var $r=Qr.charAt(Ar);fe(_e,Pe,At,$r,$r)}for(var _r='0123456789!@*()-=+[]<>|";:?/.,',Ur=0;Ur<_r.length;Ur++){var sn=_r.charAt(Ur);fe(Ot,Pe,At,sn,sn)}for(var cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ur=0;ur<cn.length;ur++){var Lt=cn.charAt(ur);fe(_e,Pe,be,Lt,Lt),fe(Ot,Pe,At,Lt,Lt)}fe(_e,dt,At,"C","\u2102"),fe(Ot,dt,At,"C","\u2102"),fe(_e,dt,At,"H","\u210D"),fe(Ot,dt,At,"H","\u210D"),fe(_e,dt,At,"N","\u2115"),fe(Ot,dt,At,"N","\u2115"),fe(_e,dt,At,"P","\u2119"),fe(Ot,dt,At,"P","\u2119"),fe(_e,dt,At,"Q","\u211A"),fe(Ot,dt,At,"Q","\u211A"),fe(_e,dt,At,"R","\u211D"),fe(Ot,dt,At,"R","\u211D"),fe(_e,dt,At,"Z","\u2124"),fe(Ot,dt,At,"Z","\u2124"),fe(_e,Pe,be,"h","\u210E"),fe(Ot,Pe,be,"h","\u210E");for(var vt="",yt=0;yt<cn.length;yt++){var jt=cn.charAt(yt);vt=String.fromCharCode(55349,56320+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56372+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56424+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56580+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56736+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56788+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56840+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56944+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),yt<26&&(vt=String.fromCharCode(55349,56632+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt),vt=String.fromCharCode(55349,56476+yt),fe(_e,Pe,be,jt,vt),fe(Ot,Pe,At,jt,vt))}vt="\u{1D55C}",fe(_e,Pe,be,"k",vt),fe(Ot,Pe,At,"k",vt);for(var Cr=0;Cr<10;Cr++){var yr=Cr.toString();vt=String.fromCharCode(55349,57294+Cr),fe(_e,Pe,be,yr,vt),fe(Ot,Pe,At,yr,vt),vt=String.fromCharCode(55349,57314+Cr),fe(_e,Pe,be,yr,vt),fe(Ot,Pe,At,yr,vt),vt=String.fromCharCode(55349,57324+Cr),fe(_e,Pe,be,yr,vt),fe(Ot,Pe,At,yr,vt),vt=String.fromCharCode(55349,57334+Cr),fe(_e,Pe,be,yr,vt),fe(Ot,Pe,At,yr,vt)}for(var ot="\xC7\xD0\xDE\xE7\xFE",Fr=0;Fr<ot.length;Fr++){var mn=ot.charAt(Fr);fe(_e,Pe,be,mn,mn),fe(Ot,Pe,At,mn,mn)}fe(Ot,Pe,At,"\xF0","\xF0"),fe(Ot,Pe,At,"\u2013","\u2013"),fe(Ot,Pe,At,"\u2014","\u2014"),fe(Ot,Pe,At,"\u2018","\u2018"),fe(Ot,Pe,At,"\u2019","\u2019"),fe(Ot,Pe,At,"\u201C","\u201C"),fe(Ot,Pe,At,"\u201D","\u201D");var Un=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],mr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],en=function(W,X){var te=W.charCodeAt(0),pe=W.charCodeAt(1),Te=(te-55296)*1024+(pe-56320)+65536,Ve=X==="math"?0:1;if(119808<=Te&&Te<120484){var wt=Math.floor((Te-119808)/26);return[Un[wt][2],Un[wt][Ve]]}else if(120782<=Te&&Te<=120831){var Bt=Math.floor((Te-120782)/10);return[mr[Bt][2],mr[Bt][Ve]]}else{if(Te===120485||Te===120486)return[Un[0][2],Un[0][Ve]];if(120486<Te&&Te<120782)return["",""];throw new s("Unsupported character: "+W)}},dn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Fn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ei=function(W,X){return X.size<2?W:dn[W-1][X.size-1]},Nn=function(){function We(X){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=X.style,this.color=X.color,this.size=X.size||We.BASESIZE,this.textSize=X.textSize||this.size,this.phantom=!!X.phantom,this.font=X.font||"",this.fontFamily=X.fontFamily||"",this.fontWeight=X.fontWeight||"",this.fontShape=X.fontShape||"",this.sizeMultiplier=Fn[this.size-1],this.maxSize=X.maxSize,this.minRuleThickness=X.minRuleThickness,this._fontMetrics=void 0}var W=We.prototype;return W.extend=function(te){var pe={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Te in te)te.hasOwnProperty(Te)&&(pe[Te]=te[Te]);return new We(pe)},W.havingStyle=function(te){return this.style===te?this:this.extend({style:te,size:ei(this.textSize,te)})},W.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},W.havingSize=function(te){return this.size===te&&this.textSize===te?this:this.extend({style:this.style.text(),size:te,textSize:te,sizeMultiplier:Fn[te-1]})},W.havingBaseStyle=function(te){te=te||this.style.text();var pe=ei(We.BASESIZE,te);return this.size===pe&&this.textSize===We.BASESIZE&&this.style===te?this:this.extend({style:te,size:pe})},W.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})},W.withColor=function(te){return this.extend({color:te})},W.withPhantom=function(){return this.extend({phantom:!0})},W.withFont=function(te){return this.extend({font:te})},W.withTextFontFamily=function(te){return this.extend({fontFamily:te,font:""})},W.withTextFontWeight=function(te){return this.extend({fontWeight:te,font:""})},W.withTextFontShape=function(te){return this.extend({fontShape:te,font:""})},W.sizingClasses=function(te){return te.size!==this.size?["sizing","reset-size"+te.size,"size"+this.size]:[]},W.baseSizingClasses=function(){return this.size!==We.BASESIZE?["sizing","reset-size"+this.size,"size"+We.BASESIZE]:[]},W.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Ht(this.size)),this._fontMetrics},W.getColor=function(){return this.phantom?"transparent":this.color},We}();Nn.BASESIZE=6;var zi=Nn,mi={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},xi={ex:!0,em:!0,mu:!0},vi=function(W){return typeof W!="string"&&(W=W.unit),W in mi||W in xi||W==="ex"},pi=function(W,X){var te;if(W.unit in mi)te=mi[W.unit]/X.fontMetrics().ptPerEm/X.sizeMultiplier;else if(W.unit==="mu")te=X.fontMetrics().cssEmPerMu;else{var pe;if(X.style.isTight()?pe=X.havingStyle(X.style.text()):pe=X,W.unit==="ex")te=pe.fontMetrics().xHeight;else if(W.unit==="em")te=pe.fontMetrics().quad;else throw new s("Invalid unit: '"+W.unit+"'");pe!==X&&(te*=pe.sizeMultiplier/X.sizeMultiplier)}return Math.min(W.number*te,X.maxSize)},Yi=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Yn=function(W,X,te){return Ge[te][W]&&Ge[te][W].replace&&(W=Ge[te][W].replace),{value:W,metrics:Vt(W,X,te)}},Vi=function(W,X,te,pe,Te){var Ve=Yn(W,X,te),wt=Ve.metrics;W=Ve.value;var Bt;if(wt){var nr=wt.italic;(te==="text"||pe&&pe.font==="mathit")&&(nr=0),Bt=new Ae(W,wt.height,wt.depth,nr,wt.skew,wt.width,Te)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+W+"' in style '"+X+"' and mode '"+te+"'")),Bt=new Ae(W,0,0,0,0,0,Te);if(pe){Bt.maxFontSize=pe.sizeMultiplier,pe.style.isTight()&&Bt.classes.push("mtight");var Pr=pe.getColor();Pr&&(Bt.style.color=Pr)}return Bt},Et=function(W,X,te,pe){return pe===void 0&&(pe=[]),te.font==="boldsymbol"&&Yn(W,"Main-Bold",X).metrics?Vi(W,"Main-Bold",X,te,pe.concat(["mathbf"])):W==="\\"||Ge[X][W].font==="main"?Vi(W,"Main-Regular",X,te,pe):Vi(W,"AMS-Regular",X,te,pe.concat(["amsrm"]))},ut=function(W,X,te,pe){return/[0-9]/.test(W.charAt(0))||T.contains(Yi,W)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Xn=function(W,X,te,pe){return T.contains(Yi,W)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(W.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},wi=function(W,X,te,pe){return Yn(W,"Math-BoldItalic",X).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},qn=function(W,X,te){var pe=W.mode,Te=W.text,Ve=["mord"],wt=pe==="math"||pe==="text"&&X.font,Bt=wt?X.font:X.fontFamily;if(Te.charCodeAt(0)===55349){var nr=en(Te,pe),Pr=nr[0],Wr=nr[1];return Vi(Te,Pr,pe,X,Ve.concat(Wr))}else if(Bt){var nn,wn;if(Bt==="boldsymbol"||Bt==="mathnormal"){var In=Bt==="boldsymbol"?wi(Te,pe,X,Ve):Xn(Te,pe,X,Ve);nn=In.fontName,wn=[In.fontClass]}else T.contains(Yi,Te)?(nn="Main-Italic",wn=["mathit"]):wt?(nn=Ze[Bt].fontName,wn=[Bt]):(nn=Rr(Bt,X.fontWeight,X.fontShape),wn=[Bt,X.fontWeight,X.fontShape]);if(Yn(Te,nn,pe).metrics)return Vi(Te,nn,pe,X,Ve.concat(wn));if(Kr.hasOwnProperty(Te)&&nn.substr(0,10)==="Typewriter"){for(var Zn=[],di=0;di<Te.length;di++)Zn.push(Vi(Te[di],nn,pe,X,Ve.concat(wn)));return Dt(Zn)}}if(te==="mathord"){var Sr=ut(Te,pe,X,Ve);return Vi(Te,Sr.fontName,pe,X,Ve.concat([Sr.fontClass]))}else if(te==="textord"){var ea=Ge[pe][Te]&&Ge[pe][Te].font;if(ea==="ams"){var aa=Rr("amsrm",X.fontWeight,X.fontShape);return Vi(Te,aa,pe,X,Ve.concat("amsrm",X.fontWeight,X.fontShape))}else if(ea==="main"||!ea){var os=Rr("textrm",X.fontWeight,X.fontShape);return Vi(Te,os,pe,X,Ve.concat(X.fontWeight,X.fontShape))}else{var Ka=Rr(ea,X.fontWeight,X.fontShape);return Vi(Te,Ka,pe,X,Ve.concat(Ka,X.fontWeight,X.fontShape))}}else throw new Error("unexpected type: "+te+" in makeOrd")},Zi=function(W,X){if(It(W.classes)!==It(X.classes)||W.skew!==X.skew||W.maxFontSize!==X.maxFontSize)return!1;for(var te in W.style)if(W.style.hasOwnProperty(te)&&W.style[te]!==X.style[te])return!1;for(var pe in X.style)if(X.style.hasOwnProperty(pe)&&W.style[pe]!==X.style[pe])return!1;return!0},_i=function(W){for(var X=0;X<W.length-1;X++){var te=W[X],pe=W[X+1];te instanceof Ae&&pe instanceof Ae&&Zi(te,pe)&&(te.text+=pe.text,te.height=Math.max(te.height,pe.height),te.depth=Math.max(te.depth,pe.depth),te.italic=pe.italic,W.splice(X+1,1),X--)}return W},Pi=function(W){for(var X=0,te=0,pe=0,Te=0;Te<W.children.length;Te++){var Ve=W.children[Te];Ve.height>X&&(X=Ve.height),Ve.depth>te&&(te=Ve.depth),Ve.maxFontSize>pe&&(pe=Ve.maxFontSize)}W.height=X,W.depth=te,W.maxFontSize=pe},Qn=function(W,X,te,pe){var Te=new ht(W,X,te,pe);return Pi(Te),Te},tr=function(W,X,te,pe){return new ht(W,X,te,pe)},mt=function(W,X,te){var pe=Qn([W],[],X);return pe.height=Math.max(te||X.fontMetrics().defaultRuleThickness,X.minRuleThickness),pe.style.borderBottomWidth=pe.height+"em",pe.maxFontSize=1,pe},rt=function(W,X,te,pe){var Te=new Je(W,X,te,pe);return Pi(Te),Te},Dt=function(W){var X=new Xe(W);return Pi(X),X},pt=function(W,X){return W instanceof Xe?Qn([],[W],X):W},cr=function(W){if(W.positionType==="individualShift"){for(var X=W.children,te=[X[0]],pe=-X[0].shift-X[0].elem.depth,Te=pe,Ve=1;Ve<X.length;Ve++){var wt=-X[Ve].shift-Te-X[Ve].elem.depth,Bt=wt-(X[Ve-1].elem.height+X[Ve-1].elem.depth);Te=Te+wt,te.push({type:"kern",size:Bt}),te.push(X[Ve])}return{children:te,depth:pe}}var nr;if(W.positionType==="top"){for(var Pr=W.positionData,Wr=0;Wr<W.children.length;Wr++){var nn=W.children[Wr];Pr-=nn.type==="kern"?nn.size:nn.elem.height+nn.elem.depth}nr=Pr}else if(W.positionType==="bottom")nr=-W.positionData;else{var wn=W.children[0];if(wn.type!=="elem")throw new Error('First child must have type "elem".');if(W.positionType==="shift")nr=-wn.elem.depth-W.positionData;else if(W.positionType==="firstBaseline")nr=-wn.elem.depth;else throw new Error("Invalid positionType "+W.positionType+".")}return{children:W.children,depth:nr}},fr=function(W,X){for(var te=cr(W),pe=te.children,Te=te.depth,Ve=0,wt=0;wt<pe.length;wt++){var Bt=pe[wt];if(Bt.type==="elem"){var nr=Bt.elem;Ve=Math.max(Ve,nr.maxFontSize,nr.height)}}Ve+=2;var Pr=Qn(["pstrut"],[]);Pr.style.height=Ve+"em";for(var Wr=[],nn=Te,wn=Te,In=Te,Zn=0;Zn<pe.length;Zn++){var di=pe[Zn];if(di.type==="kern")In+=di.size;else{var Sr=di.elem,ea=di.wrapperClasses||[],aa=di.wrapperStyle||{},os=Qn(ea,[Pr,Sr],void 0,aa);os.style.top=-Ve-In-Sr.depth+"em",di.marginLeft&&(os.style.marginLeft=di.marginLeft),di.marginRight&&(os.style.marginRight=di.marginRight),Wr.push(os),In+=Sr.height+Sr.depth}nn=Math.min(nn,In),wn=Math.max(wn,In)}var Ka=Qn(["vlist"],Wr);Ka.style.height=wn+"em";var ys;if(nn<0){var bs=Qn([],[]),Ta=Qn(["vlist"],[bs]);Ta.style.height=-nn+"em";var Ns=Qn(["vlist-s"],[new Ae("\u200B")]);ys=[Qn(["vlist-r"],[Ka,Ns]),Qn(["vlist-r"],[Ta])]}else ys=[Qn(["vlist-r"],[Ka])];var $s=Qn(["vlist-t"],ys);return ys.length===2&&$s.classes.push("vlist-t2"),$s.height=wn,$s.depth=-nn,$s},Ir=function(W,X){var te=Qn(["mspace"],[],X),pe=pi(W,X);return te.style.marginRight=pe+"em",te},Rr=function(W,X,te){var pe="";switch(W){case"amsrm":pe="AMS";break;case"textrm":pe="Main";break;case"textsf":pe="SansSerif";break;case"texttt":pe="Typewriter";break;default:pe=W}var Te;return X==="textbf"&&te==="textit"?Te="BoldItalic":X==="textbf"?Te="Bold":X==="textit"?Te="Italic":Te="Regular",pe+"-"+Te},Ze={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},et={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},we=function(W,X){var te=et[W],pe=te[0],Te=te[1],Ve=te[2],wt=new $e(pe),Bt=new Me([wt],{width:Te+"em",height:Ve+"em",style:"width:"+Te+"em",viewBox:"0 0 "+1e3*Te+" "+1e3*Ve,preserveAspectRatio:"xMinYMin"}),nr=tr(["overlay"],[Bt],X);return nr.height=Ve,nr.style.height=Ve+"em",nr.style.width=Te+"em",nr},it={fontMap:Ze,makeSymbol:Vi,mathsym:Et,makeSpan:Qn,makeSvgSpan:tr,makeLineSpan:mt,makeAnchor:rt,makeFragment:Dt,wrapFragment:pt,makeVList:fr,makeOrd:qn,makeGlue:Ir,staticSvg:we,svgData:et,tryCombineChars:_i};function ir(We,W){var X=Or(We,W);if(!X)throw new Error("Expected node of type "+W+", but got "+(We?"node of type "+We.type:String(We)));return X}function Or(We,W){return We&&We.type===W?We:null}function wr(We,W){var X=Tr(We,W);if(!X)throw new Error('Expected node of type "atom" and family "'+W+'", but got '+(We?We.type==="atom"?"atom of family "+We.family:"node of type "+We.type:String(We)));return X}function Tr(We,W){return We&&We.type==="atom"&&We.family===W?We:null}function Nr(We){var W=gn(We);if(!W)throw new Error("Expected node of symbol group type, but got "+(We?"node of type "+We.type:String(We)));return W}function gn(We){return We&&(We.type==="atom"||Ct.hasOwnProperty(We.type))?We:null}var Dr={number:3,unit:"mu"},un={number:4,unit:"mu"},tn={number:5,unit:"mu"},ln={mord:{mop:Dr,mbin:un,mrel:tn,minner:Dr},mop:{mord:Dr,mop:Dr,mrel:tn,minner:Dr},mbin:{mord:un,mop:un,mopen:un,minner:un},mrel:{mord:tn,mop:tn,mopen:tn,minner:tn},mopen:{},mclose:{mop:Dr,mbin:un,mrel:tn,minner:Dr},mpunct:{mord:Dr,mop:Dr,mrel:tn,mopen:Dr,mclose:Dr,mpunct:Dr,minner:Dr},minner:{mord:Dr,mop:Dr,mbin:un,mrel:tn,mopen:Dr,mpunct:Dr,minner:Dr}},En={mord:{mop:Dr},mop:{mord:Dr,mop:Dr},mbin:{},mrel:{},mopen:{},mclose:{mop:Dr},mpunct:{},minner:{mop:Dr}},la={},gi={},yi={};function On(We){for(var W=We.type,X=We.names,te=We.props,pe=We.handler,Te=We.htmlBuilder,Ve=We.mathmlBuilder,wt={type:W,numArgs:te.numArgs,argTypes:te.argTypes,greediness:te.greediness===void 0?1:te.greediness,allowedInText:!!te.allowedInText,allowedInMath:te.allowedInMath===void 0?!0:te.allowedInMath,numOptionalArgs:te.numOptionalArgs||0,infix:!!te.infix,handler:pe},Bt=0;Bt<X.length;++Bt)la[X[Bt]]=wt;W&&(Te&&(gi[W]=Te),Ve&&(yi[W]=Ve))}function Di(We){var W=We.type,X=We.htmlBuilder,te=We.mathmlBuilder;On({type:W,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:X,mathmlBuilder:te})}var Fi=function(W){var X=Or(W,"ordgroup");return X?X.body:[W]},oa=it.makeSpan,ws=["leftmost","mbin","mopen","mrel","mop","mpunct"],Sa=["rightmost","mrel","mclose","mpunct"],Ha={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT},Us={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ja=function(W,X,te,pe){pe===void 0&&(pe=[null,null]);for(var Te=[],Ve=0;Ve<W.length;Ve++){var wt=Ni(W[Ve],X);if(wt instanceof Xe){var Bt=wt.children;Te.push.apply(Te,Bt)}else Te.push(wt)}if(!te)return Te;var nr=X;if(W.length===1){var Pr=Or(W[0],"sizing")||Or(W[0],"styling");Pr&&(Pr.type==="sizing"?nr=X.havingSize(Pr.size):Pr.type==="styling"&&(nr=X.havingStyle(Ha[Pr.style])))}var Wr=oa([pe[0]||"leftmost"],[],X),nn=oa([pe[1]||"rightmost"],[],X);return na(Te,function(wn,In){var Zn=In.classes[0],di=wn.classes[0];Zn==="mbin"&&T.contains(Sa,di)?In.classes[0]="mord":di==="mbin"&&T.contains(ws,Zn)&&(wn.classes[0]="mord")},{node:Wr},nn),na(Te,function(wn,In){var Zn=qa(In),di=qa(wn),Sr=Zn&&di?wn.hasClass("mtight")?En[Zn][di]:ln[Zn][di]:null;if(Sr)return it.makeGlue(Sr,nr)},{node:Wr},nn),Te},na=function We(W,X,te,pe){pe&&W.push(pe);for(var Te=0;Te<W.length;Te++){var Ve=W[Te],wt=Ai(Ve);if(wt){We(wt.children,X,te);continue}if(Ve.classes[0]!=="mspace"){var Bt=X(Ve,te.node);Bt&&(te.insertAfter?te.insertAfter(Bt):(W.unshift(Bt),Te++)),te.node=Ve,te.insertAfter=function(nr){return function(Pr){W.splice(nr+1,0,Pr),Te++}}(Te)}}pe&&W.pop()},Ai=function(W){return W instanceof Xe||W instanceof Je?W:null},Ci=function We(W,X){var te=Ai(W);if(te){var pe=te.children;if(pe.length){if(X==="right")return We(pe[pe.length-1],"right");if(X==="left")return We(pe[0],"left")}}return W},qa=function(W,X){return W?(X&&(W=Ci(W,X)),Us[W.classes[0]]||null):null},Cs=function(W,X){var te=["nulldelimiter"].concat(W.baseSizingClasses());return oa(X.concat(te))},Ni=function(W,X,te){if(!W)return oa();if(gi[W.type]){var pe=gi[W.type](W,X);if(te&&X.size!==te.size){pe=oa(X.sizingClasses(te),[pe],X);var Te=X.sizeMultiplier/te.sizeMultiplier;pe.height*=Te,pe.depth*=Te}return pe}else throw new s("Got group of unknown type: '"+W.type+"'")};function Ts(We,W){var X=oa(["base"],We,W),te=oa(["strut"]);return te.style.height=X.height+X.depth+"em",te.style.verticalAlign=-X.depth+"em",X.children.unshift(te),X}function xo(We,W){var X=null;We.length===1&&We[0].type==="tag"&&(X=We[0].tag,We=We[0].body);for(var te=ja(We,W,!0),pe=[],Te=[],Ve=0;Ve<te.length;Ve++)if(Te.push(te[Ve]),te[Ve].hasClass("mbin")||te[Ve].hasClass("mrel")||te[Ve].hasClass("allowbreak")){for(var wt=!1;Ve<te.length-1&&te[Ve+1].hasClass("mspace")&&!te[Ve+1].hasClass("newline");)Ve++,Te.push(te[Ve]),te[Ve].hasClass("nobreak")&&(wt=!0);wt||(pe.push(Ts(Te,W)),Te=[])}else te[Ve].hasClass("newline")&&(Te.pop(),Te.length>0&&(pe.push(Ts(Te,W)),Te=[]),pe.push(te[Ve]));Te.length>0&&pe.push(Ts(Te,W));var Bt;X&&(Bt=Ts(ja(X,W,!0)),Bt.classes=["tag"],pe.push(Bt));var nr=oa(["katex-html"],pe);if(nr.setAttribute("aria-hidden","true"),Bt){var Pr=Bt.children[0];Pr.style.height=nr.height+nr.depth+"em",Pr.style.verticalAlign=-nr.depth+"em"}return nr}function La(We){return new Xe(We)}var hs=function(){function We(X,te){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=X,this.attributes={},this.children=te||[]}var W=We.prototype;return W.setAttribute=function(te,pe){this.attributes[te]=pe},W.getAttribute=function(te){return this.attributes[te]},W.toNode=function(){var te=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&te.setAttribute(pe,this.attributes[pe]);for(var Te=0;Te<this.children.length;Te++)te.appendChild(this.children[Te].toNode());return te},W.toMarkup=function(){var te="<"+this.type;for(var pe in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,pe)&&(te+=" "+pe+'="',te+=T.escape(this.attributes[pe]),te+='"');te+=">";for(var Te=0;Te<this.children.length;Te++)te+=this.children[Te].toMarkup();return te+="</"+this.type+">",te},W.toText=function(){return this.children.map(function(te){return te.toText()}).join("")},We}(),Hi=function(){function We(X){this.text=void 0,this.text=X}var W=We.prototype;return W.toNode=function(){return document.createTextNode(this.text)},W.toMarkup=function(){return T.escape(this.toText())},W.toText=function(){return this.text},We}(),Vs=function(){function We(X){this.width=void 0,this.character=void 0,this.width=X,X>=.05555&&X<=.05556?this.character="\u200A":X>=.1666&&X<=.1667?this.character="\u2009":X>=.2222&&X<=.2223?this.character="\u2005":X>=.2777&&X<=.2778?this.character="\u2005\u200A":X>=-.05556&&X<=-.05555?this.character="\u200A\u2063":X>=-.1667&&X<=-.1666?this.character="\u2009\u2063":X>=-.2223&&X<=-.2222?this.character="\u205F\u2063":X>=-.2778&&X<=-.2777?this.character="\u2005\u2063":this.character=null}var W=We.prototype;return W.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},W.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},W.toText=function(){return this.character?this.character:" "},We}(),kn={MathNode:hs,TextNode:Hi,SpaceNode:Vs,newDocumentFragment:La},Qa=function(W,X,te){return Ge[X][W]&&Ge[X][W].replace&&W.charCodeAt(0)!==55349&&!(Kr.hasOwnProperty(W)&&te&&(te.fontFamily&&te.fontFamily.substr(4,2)==="tt"||te.font&&te.font.substr(4,2)==="tt"))&&(W=Ge[X][W].replace),new kn.TextNode(W)},uo=function(W){return W.length===1?W[0]:new kn.MathNode("mrow",W)},Ls=function(W,X){if(X.fontFamily==="texttt")return"monospace";if(X.fontFamily==="textsf")return X.fontShape==="textit"&&X.fontWeight==="textbf"?"sans-serif-bold-italic":X.fontShape==="textit"?"sans-serif-italic":X.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(X.fontShape==="textit"&&X.fontWeight==="textbf")return"bold-italic";if(X.fontShape==="textit")return"italic";if(X.fontWeight==="textbf")return"bold";var te=X.font;if(!te||te==="mathnormal")return null;var pe=W.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 Te=W.text;if(T.contains(["\\imath","\\jmath"],Te))return null;Ge[pe][Te]&&Ge[pe][Te].replace&&(Te=Ge[pe][Te].replace);var Ve=it.fontMap[te].fontName;return Vt(Te,Ve,pe)?it.fontMap[te].variant:null},Ki=function(W,X,te){if(W.length===1){var pe=Da(W[0],X);return te&&pe instanceof hs&&pe.type==="mo"&&(pe.setAttribute("lspace","0em"),pe.setAttribute("rspace","0em")),[pe]}for(var Te=[],Ve,wt=0;wt<W.length;wt++){var Bt=Da(W[wt],X);if(Bt instanceof hs&&Ve instanceof hs){if(Bt.type==="mtext"&&Ve.type==="mtext"&&Bt.getAttribute("mathvariant")===Ve.getAttribute("mathvariant")){var nr;(nr=Ve.children).push.apply(nr,Bt.children);continue}else if(Bt.type==="mn"&&Ve.type==="mn"){var Pr;(Pr=Ve.children).push.apply(Pr,Bt.children);continue}else if(Bt.type==="mi"&&Bt.children.length===1&&Ve.type==="mn"){var Wr=Bt.children[0];if(Wr instanceof Hi&&Wr.text==="."){var nn;(nn=Ve.children).push.apply(nn,Bt.children);continue}}else if(Ve.type==="mi"&&Ve.children.length===1){var wn=Ve.children[0];if(wn instanceof Hi&&wn.text==="\u0338"&&(Bt.type==="mo"||Bt.type==="mi"||Bt.type==="mn")){var In=Bt.children[0];In instanceof Hi&&In.text.length>0&&(In.text=In.text.slice(0,1)+"\u0338"+In.text.slice(1),Te.pop())}}}Te.push(Bt),Ve=Bt}return Te},Aa=function(W,X,te){return uo(Ki(W,X,te))},Da=function(W,X){if(!W)return new kn.MathNode("mrow");if(yi[W.type]){var te=yi[W.type](W,X);return te}else throw new s("Got group of unknown type: '"+W.type+"'")};function cs(We,W,X,te){var pe=Ki(We,X),Te;pe.length===1&&pe[0]instanceof hs&&T.contains(["mrow","mtable"],pe[0].type)?Te=pe[0]:Te=new kn.MathNode("mrow",pe);var Ve=new kn.MathNode("annotation",[new kn.TextNode(W)]);Ve.setAttribute("encoding","application/x-tex");var wt=new kn.MathNode("semantics",[Te,Ve]),Bt=new kn.MathNode("math",[wt]);Bt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var nr=te?"katex":"katex-mathml";return it.makeSpan([nr],[Bt])}var zs=function(W){return new zi({style:W.displayMode?F.DISPLAY:F.TEXT,maxSize:W.maxSize,minRuleThickness:W.minRuleThickness})},wo=function(W,X){if(X.displayMode){var te=["katex-display"];X.leqno&&te.push("leqno"),X.fleqn&&te.push("fleqn"),W=it.makeSpan(te,[W])}return W},Eo=function(W,X,te){var pe=zs(te),Te;if(te.output==="mathml")return cs(W,X,pe,!0);if(te.output==="html"){var Ve=xo(W,pe);Te=it.makeSpan(["katex"],[Ve])}else{var wt=cs(W,X,pe,!1),Bt=xo(W,pe);Te=it.makeSpan(["katex"],[wt,Bt])}return wo(Te,te)},Zs=function(W,X,te){var pe=zs(te),Te=xo(W,pe),Ve=it.makeSpan(["katex"],[Te]);return wo(Ve,te)},Ms=Eo,ca={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"},fs=function(W){var X=new kn.MathNode("mo",[new kn.TextNode(ca[W.substr(1)])]);return X.setAttribute("stretchy","true"),X},So={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]},fo=function(W){return W.type==="ordgroup"?W.body.length:1},Io=function(W,X){function te(){var Bt=4e5,nr=W.label.substr(1);if(T.contains(["widehat","widecheck","widetilde","utilde"],nr)){var Pr=W,Wr=fo(Pr.base),nn,wn,In;if(Wr>5)nr==="widehat"||nr==="widecheck"?(nn=420,Bt=2364,In=.42,wn=nr+"4"):(nn=312,Bt=2340,In=.34,wn="tilde4");else{var Zn=[1,1,2,2,3,3][Wr];nr==="widehat"||nr==="widecheck"?(Bt=[0,1062,2364,2364,2364][Zn],nn=[0,239,300,360,420][Zn],In=[0,.24,.3,.3,.36,.42][Zn],wn=nr+Zn):(Bt=[0,600,1033,2339,2340][Zn],nn=[0,260,286,306,312][Zn],In=[0,.26,.286,.3,.306,.34][Zn],wn="tilde"+Zn)}var di=new $e(wn),Sr=new Me([di],{width:"100%",height:In+"em",viewBox:"0 0 "+Bt+" "+nn,preserveAspectRatio:"none"});return{span:it.makeSvgSpan([],[Sr],X),minWidth:0,height:In}}else{var ea=[],aa=So[nr],os=aa[0],Ka=aa[1],ys=aa[2],bs=ys/1e3,Ta=os.length,Ns,$s;if(Ta===1){var pa=aa[3];Ns=["hide-tail"],$s=[pa]}else if(Ta===2)Ns=["halfarrow-left","halfarrow-right"],$s=["xMinYMin","xMaxYMin"];else if(Ta===3)Ns=["brace-left","brace-center","brace-right"],$s=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+Ta+" children.");for(var Qs=0;Qs<Ta;Qs++){var Po=new $e(os[Qs]),Ro=new Me([Po],{width:"400em",height:bs+"em",viewBox:"0 0 "+Bt+" "+ys,preserveAspectRatio:$s[Qs]+" slice"}),za=it.makeSvgSpan([Ns[Qs]],[Ro],X);if(Ta===1)return{span:za,minWidth:Ka,height:bs};za.style.height=bs+"em",ea.push(za)}return{span:it.makeSpan(["stretchy"],ea,X),minWidth:Ka,height:bs}}}var pe=te(),Te=pe.span,Ve=pe.minWidth,wt=pe.height;return Te.height=wt,Te.style.height=wt+"em",Ve>0&&(Te.style.minWidth=Ve+"em"),Te},li=function(W,X,te,pe){var Te,Ve=W.height+W.depth+2*te;if(/fbox|color/.test(X)){if(Te=it.makeSpan(["stretchy",X],[],pe),X==="fbox"){var wt=pe.color&&pe.getColor();wt&&(Te.style.borderColor=wt)}}else{var Bt=[];/^[bx]cancel$/.test(X)&&Bt.push(new He({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(X)&&Bt.push(new He({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var nr=new Me(Bt,{width:"100%",height:Ve+"em"});Te=it.makeSvgSpan([],[nr],pe)}return Te.height=Ve,Te.style.height=Ve+"em",Te},ai={encloseSpan:li,mathMLnode:fs,svgSpan:Io},Wa=function(W,X){var te,pe,Te=Or(W,"supsub"),Ve;Te?(pe=ir(Te.base,"accent"),te=pe.base,Te.base=te,Ve=ct(Ni(Te,X)),Te.base=pe):(pe=ir(W,"accent"),te=pe.base);var wt=Ni(te,X.havingCrampedStyle()),Bt=pe.isShifty&&T.isCharacterBox(te),nr=0;if(Bt){var Pr=T.getBaseElem(te),Wr=Ni(Pr,X.havingCrampedStyle());nr=nt(Wr).skew}var nn=Math.min(wt.height,X.fontMetrics().xHeight),wn;if(pe.isStretchy)wn=ai.svgSpan(pe,X),wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:wt},{type:"elem",elem:wn,wrapperClasses:["svg-align"],wrapperStyle:nr>0?{width:"calc(100% - "+2*nr+"em)",marginLeft:2*nr+"em"}:void 0}]},X);else{var In,Zn;pe.label==="\\vec"?(In=it.staticSvg("vec",X),Zn=it.svgData.vec[1]):(In=it.makeOrd({mode:pe.mode,text:pe.label},X,"textord"),In=nt(In),In.italic=0,Zn=In.width),wn=it.makeSpan(["accent-body"],[In]);var di=pe.label==="\\textcircled";di&&(wn.classes.push("accent-full"),nn=wt.height);var Sr=nr;di||(Sr-=Zn/2),wn.style.left=Sr+"em",pe.label==="\\textcircled"&&(wn.style.top=".2em"),wn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:wt},{type:"kern",size:-nn},{type:"elem",elem:wn}]},X)}var ea=it.makeSpan(["mord","accent"],[wn],X);return Ve?(Ve.children[0]=ea,Ve.height=Math.max(ea.height,Ve.height),Ve.classes[0]="mord",Ve):ea},ts=function(W,X){var te=W.isStretchy?ai.mathMLnode(W.label):new kn.MathNode("mo",[Qa(W.label,W.mode)]),pe=new kn.MathNode("mover",[Da(W.base,X),te]);return pe.setAttribute("accent","true"),pe},Ua=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(We){return"\\"+We}).join("|"));On({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(W,X){var te=X[0],pe=!Ua.test(W.funcName),Te=!pe||W.funcName==="\\widehat"||W.funcName==="\\widetilde"||W.funcName==="\\widecheck";return{type:"accent",mode:W.parser.mode,label:W.funcName,isStretchy:pe,isShifty:Te,base:te}},htmlBuilder:Wa,mathmlBuilder:ts}),On({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(W,X){var te=X[0];return{type:"accent",mode:W.parser.mode,label:W.funcName,isStretchy:!1,isShifty:!0,base:te}},htmlBuilder:Wa,mathmlBuilder:ts}),On({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];return{type:"accentUnder",mode:te.mode,label:pe,base:Te}},htmlBuilder:function(W,X){var te=Ni(W.base,X),pe=ai.svgSpan(W,X),Te=W.label==="\\utilde"?.12:0,Ve=it.makeVList({positionType:"bottom",positionData:pe.height+Te,children:[{type:"elem",elem:pe,wrapperClasses:["svg-align"]},{type:"kern",size:Te},{type:"elem",elem:te}]},X);return it.makeSpan(["mord","accentunder"],[Ve],X)},mathmlBuilder:function(W,X){var te=ai.mathMLnode(W.label),pe=new kn.MathNode("munder",[Da(W.base,X),te]);return pe.setAttribute("accentunder","true"),pe}});var Ao=function(W){var X=new kn.MathNode("mpadded",W?[W]:[]);return X.setAttribute("width","+0.6em"),X.setAttribute("lspace","0.3em"),X};On({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(W,X,te){var pe=W.parser,Te=W.funcName;return{type:"xArrow",mode:pe.mode,label:Te,body:X[0],below:te[0]}},htmlBuilder:function(W,X){var te=X.style,pe=X.havingStyle(te.sup()),Te=it.wrapFragment(Ni(W.body,pe,X),X);Te.classes.push("x-arrow-pad");var Ve;W.below&&(pe=X.havingStyle(te.sub()),Ve=it.wrapFragment(Ni(W.below,pe,X),X),Ve.classes.push("x-arrow-pad"));var wt=ai.svgSpan(W,X),Bt=-X.fontMetrics().axisHeight+.5*wt.height,nr=-X.fontMetrics().axisHeight-.5*wt.height-.111;(Te.depth>.25||W.label==="\\xleftequilibrium")&&(nr-=Te.depth);var Pr;if(Ve){var Wr=-X.fontMetrics().axisHeight+Ve.height+.5*wt.height+.111;Pr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:nr},{type:"elem",elem:wt,shift:Bt},{type:"elem",elem:Ve,shift:Wr}]},X)}else Pr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:nr},{type:"elem",elem:wt,shift:Bt}]},X);return Pr.children[0].children[0].children[1].classes.push("svg-align"),it.makeSpan(["mrel","x-arrow"],[Pr],X)},mathmlBuilder:function(W,X){var te=ai.mathMLnode(W.label),pe;if(W.body){var Te=Ao(Da(W.body,X));if(W.below){var Ve=Ao(Da(W.below,X));pe=new kn.MathNode("munderover",[te,Ve,Te])}else pe=new kn.MathNode("mover",[te,Te])}else if(W.below){var wt=Ao(Da(W.below,X));pe=new kn.MathNode("munder",[te,wt])}else pe=Ao(),pe=new kn.MathNode("mover",[te,pe]);return pe}}),On({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){for(var te=W.parser,pe=ir(X[0],"ordgroup"),Te=pe.body,Ve="",wt=0;wt<Te.length;wt++){var Bt=ir(Te[wt],"textord");Ve+=Bt.text}var nr=parseInt(Ve);if(isNaN(nr))throw new s("\\@char has non-numeric argument "+Ve);return{type:"textord",mode:te.mode,text:String.fromCharCode(nr)}}});var Do=function(W,X){var te=ja(W.body,X.withColor(W.color),!1);return it.makeFragment(te)},Fo=function(W,X){var te=Ki(W.body,X.withColor(W.color)),pe=new kn.MathNode("mstyle",te);return pe.setAttribute("mathcolor",W.color),pe};On({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(W,X){var te=W.parser,pe=ir(X[0],"color-token").color,Te=X[1];return{type:"color",mode:te.mode,color:pe,body:Fi(Te)}},htmlBuilder:Do,mathmlBuilder:Fo}),On({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(W,X){var te=W.parser,pe=W.breakOnTokenText,Te=ir(X[0],"color-token").color;te.gullet.macros.set("\\current@color",Te);var Ve=te.parseExpression(!0,pe);return{type:"color",mode:te.mode,color:Te,body:Ve}},htmlBuilder:Do,mathmlBuilder:Fo}),On({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(W,X,te){var pe=W.parser,Te=W.funcName,Ve=te[0],wt=Te==="\\cr",Bt=!1;return wt||(pe.settings.displayMode&&pe.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Bt=!1:Bt=!0),{type:"cr",mode:pe.mode,newLine:Bt,newRow:wt,size:Ve&&ir(Ve,"size").value}},htmlBuilder:function(W,X){if(W.newRow)throw new s("\\cr valid only within a tabular/array environment");var te=it.makeSpan(["mspace"],[],X);return W.newLine&&(te.classes.push("newline"),W.size&&(te.style.marginTop=pi(W.size,X)+"em")),te},mathmlBuilder:function(W,X){var te=new kn.MathNode("mspace");return W.newLine&&(te.setAttribute("linebreak","newline"),W.size&&te.setAttribute("height",pi(W.size,X)+"em")),te}});var Ja=function(W,X,te){var pe=Ge.math[W]&&Ge.math[W].replace,Te=Vt(pe||W,X,te);if(!Te)throw new Error("Unsupported symbol "+W+" and font size "+X+".");return Te},du=function(W,X,te,pe){var Te=te.havingBaseStyle(X),Ve=it.makeSpan(pe.concat(Te.sizingClasses(te)),[W],te),wt=Te.sizeMultiplier/te.sizeMultiplier;return Ve.height*=wt,Ve.depth*=wt,Ve.maxFontSize=Te.sizeMultiplier,Ve},Co=function(W,X,te){var pe=X.havingBaseStyle(te),Te=(1-X.sizeMultiplier/pe.sizeMultiplier)*X.fontMetrics().axisHeight;W.classes.push("delimcenter"),W.style.top=Te+"em",W.height-=Te,W.depth+=Te},Xo=function(W,X,te,pe,Te,Ve){var wt=it.makeSymbol(W,"Main-Regular",Te,pe),Bt=du(wt,X,pe,Ve);return te&&Co(Bt,pe,X),Bt},hu=function(W,X,te,pe){return it.makeSymbol(W,"Size"+X+"-Regular",te,pe)},Pu=function(W,X,te,pe,Te,Ve){var wt=hu(W,X,Te,pe),Bt=du(it.makeSpan(["delimsizing","size"+X],[wt],pe),F.TEXT,pe,Ve);return te&&Co(Bt,pe,F.TEXT),Bt},To=function(W,X,te){var pe;X==="Size1-Regular"?pe="delim-size1":pe="delim-size4";var Te=it.makeSpan(["delimsizinginner",pe],[it.makeSpan([],[it.makeSymbol(W,X,te)])]);return{type:"elem",elem:Te}},Ps={type:"kern",size:-.005},gu=function(W,X,te,pe,Te,Ve){var wt,Bt,nr,Pr;wt=nr=Pr=W,Bt=null;var Wr="Size1-Regular";W==="\\uparrow"?nr=Pr="\u23D0":W==="\\Uparrow"?nr=Pr="\u2016":W==="\\downarrow"?wt=nr="\u23D0":W==="\\Downarrow"?wt=nr="\u2016":W==="\\updownarrow"?(wt="\\uparrow",nr="\u23D0",Pr="\\downarrow"):W==="\\Updownarrow"?(wt="\\Uparrow",nr="\u2016",Pr="\\Downarrow"):W==="["||W==="\\lbrack"?(wt="\u23A1",nr="\u23A2",Pr="\u23A3",Wr="Size4-Regular"):W==="]"||W==="\\rbrack"?(wt="\u23A4",nr="\u23A5",Pr="\u23A6",Wr="Size4-Regular"):W==="\\lfloor"||W==="\u230A"?(nr=wt="\u23A2",Pr="\u23A3",Wr="Size4-Regular"):W==="\\lceil"||W==="\u2308"?(wt="\u23A1",nr=Pr="\u23A2",Wr="Size4-Regular"):W==="\\rfloor"||W==="\u230B"?(nr=wt="\u23A5",Pr="\u23A6",Wr="Size4-Regular"):W==="\\rceil"||W==="\u2309"?(wt="\u23A4",nr=Pr="\u23A5",Wr="Size4-Regular"):W==="("||W==="\\lparen"?(wt="\u239B",nr="\u239C",Pr="\u239D",Wr="Size4-Regular"):W===")"||W==="\\rparen"?(wt="\u239E",nr="\u239F",Pr="\u23A0",Wr="Size4-Regular"):W==="\\{"||W==="\\lbrace"?(wt="\u23A7",Bt="\u23A8",Pr="\u23A9",nr="\u23AA",Wr="Size4-Regular"):W==="\\}"||W==="\\rbrace"?(wt="\u23AB",Bt="\u23AC",Pr="\u23AD",nr="\u23AA",Wr="Size4-Regular"):W==="\\lgroup"||W==="\u27EE"?(wt="\u23A7",Pr="\u23A9",nr="\u23AA",Wr="Size4-Regular"):W==="\\rgroup"||W==="\u27EF"?(wt="\u23AB",Pr="\u23AD",nr="\u23AA",Wr="Size4-Regular"):W==="\\lmoustache"||W==="\u23B0"?(wt="\u23A7",Pr="\u23AD",nr="\u23AA",Wr="Size4-Regular"):(W==="\\rmoustache"||W==="\u23B1")&&(wt="\u23AB",Pr="\u23A9",nr="\u23AA",Wr="Size4-Regular");var nn=Ja(wt,Wr,Te),wn=nn.height+nn.depth,In=Ja(nr,Wr,Te),Zn=In.height+In.depth,di=Ja(Pr,Wr,Te),Sr=di.height+di.depth,ea=0,aa=1;if(Bt!==null){var os=Ja(Bt,Wr,Te);ea=os.height+os.depth,aa=2}var Ka=wn+Sr+ea,ys=Math.max(0,Math.ceil((X-Ka)/(aa*Zn))),bs=Ka+ys*aa*Zn,Ta=pe.fontMetrics().axisHeight;te&&(Ta*=pe.sizeMultiplier);var Ns=bs/2-Ta,$s=(ys+1)*.005-Zn,pa=[];if(pa.push(To(Pr,Wr,Te)),Bt===null)for(var Qs=0;Qs<ys;Qs++)pa.push(Ps),pa.push(To(nr,Wr,Te));else{for(var Po=0;Po<ys;Po++)pa.push(Ps),pa.push(To(nr,Wr,Te));pa.push({type:"kern",size:$s}),pa.push(To(nr,Wr,Te)),pa.push(Ps),pa.push(To(Bt,Wr,Te));for(var Ro=0;Ro<ys;Ro++)pa.push(Ps),pa.push(To(nr,Wr,Te))}pa.push({type:"kern",size:$s}),pa.push(To(nr,Wr,Te)),pa.push(Ps),pa.push(To(wt,Wr,Te));var za=pe.havingBaseStyle(F.TEXT),mo=it.makeVList({positionType:"bottom",positionData:Ns,children:pa},za);return du(it.makeSpan(["delimsizing","mult"],[mo],za),F.TEXT,pe,Ve)},Bo=80,lo=.08,zo=function(W,X,te,pe,Te){var Ve=er(W,pe,te),wt=new $e(W,Ve),Bt=new Me([wt],{width:"400em",height:X+"em",viewBox:"0 0 400000 "+te,preserveAspectRatio:"xMinYMin slice"});return it.makeSvgSpan(["hide-tail"],[Bt],Te)},ru=function(W,X){var te=X.havingBaseSizing(),pe=vr("\\surd",W*te.sizeMultiplier,lr,te),Te=te.sizeMultiplier,Ve=Math.max(0,X.minRuleThickness-X.fontMetrics().sqrtRuleThickness),wt,Bt=0,nr=0,Pr=0,Wr;return pe.type==="small"?(Pr=1e3+1e3*Ve+Bo,W<1?Te=1:W<1.4&&(Te=.7),Bt=(1+Ve+lo)/Te,nr=(1+Ve)/Te,wt=zo("sqrtMain",Bt,Pr,Ve,X),wt.style.minWidth="0.853em",Wr=.833/Te):pe.type==="large"?(Pr=(1e3+Bo)*Xs[pe.size],nr=(Xs[pe.size]+Ve)/Te,Bt=(Xs[pe.size]+Ve+lo)/Te,wt=zo("sqrtSize"+pe.size,Bt,Pr,Ve,X),wt.style.minWidth="1.02em",Wr=1/Te):(Bt=W+Ve+lo,nr=W+Ve,Pr=Math.floor(1e3*W+Ve)+Bo,wt=zo("sqrtTall",Bt,Pr,Ve,X),wt.style.minWidth="0.742em",Wr=1.056),wt.height=nr,wt.style.height=Bt+"em",{span:wt,advanceWidth:Wr,ruleWidth:(X.fontMetrics().sqrtRuleThickness+Ve)*Te}},qo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Oo=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Fs=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Xs=[0,1.2,1.8,2.4,3],il=function(W,X,te,pe,Te){if(W==="<"||W==="\\lt"||W==="\u27E8"?W="\\langle":(W===">"||W==="\\gt"||W==="\u27E9")&&(W="\\rangle"),T.contains(qo,W)||T.contains(Fs,W))return Pu(W,X,!1,te,pe,Te);if(T.contains(Oo,W))return gu(W,Xs[X],!1,te,pe,Te);throw new s("Illegal delimiter: '"+W+"'")},ko=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],qt=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"stack"}],lr=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],sr=function(W){if(W.type==="small")return"Main-Regular";if(W.type==="large")return"Size"+W.size+"-Regular";if(W.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+W.type+"' here.")},vr=function(W,X,te,pe){for(var Te=Math.min(2,3-pe.style.size),Ve=Te;Ve<te.length&&te[Ve].type!=="stack";Ve++){var wt=Ja(W,sr(te[Ve]),"math"),Bt=wt.height+wt.depth;if(te[Ve].type==="small"){var nr=pe.havingBaseStyle(te[Ve].style);Bt*=nr.sizeMultiplier}if(Bt>X)return te[Ve]}return te[te.length-1]},Er=function(W,X,te,pe,Te,Ve){W==="<"||W==="\\lt"||W==="\u27E8"?W="\\langle":(W===">"||W==="\\gt"||W==="\u27E9")&&(W="\\rangle");var wt;T.contains(Fs,W)?wt=ko:T.contains(qo,W)?wt=lr:wt=qt;var Bt=vr(W,X,wt,pe);return Bt.type==="small"?Xo(W,Bt.style,te,pe,Te,Ve):Bt.type==="large"?Pu(W,Bt.size,te,pe,Te,Ve):gu(W,X,te,pe,Te,Ve)},yn=function(W,X,te,pe,Te,Ve){var wt=pe.fontMetrics().axisHeight*pe.sizeMultiplier,Bt=901,nr=5/pe.fontMetrics().ptPerEm,Pr=Math.max(X-wt,te+wt),Wr=Math.max(Pr/500*Bt,2*Pr-nr);return Er(W,Wr,!0,pe,Te,Ve)},xn={sqrtImage:ru,sizedDelim:il,customSizedDelim:Er,leftRightDelim:yn},Bn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Ln=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Kn(We,W){var X=gn(We);if(X&&T.contains(Ln,X.text))return X;throw new s("Invalid delimiter: '"+(X?X.text:JSON.stringify(We))+"' after '"+W.funcName+"'",We)}On({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(W,X){var te=Kn(X[0],W);return{type:"delimsizing",mode:W.parser.mode,size:Bn[W.funcName].size,mclass:Bn[W.funcName].mclass,delim:te.text}},htmlBuilder:function(W,X){return W.delim==="."?it.makeSpan([W.mclass]):xn.sizedDelim(W.delim,W.size,X,W.mode,[W.mclass])},mathmlBuilder:function(W){var X=[];W.delim!=="."&&X.push(Qa(W.delim,W.mode));var te=new kn.MathNode("mo",X);return W.mclass==="mopen"||W.mclass==="mclose"?te.setAttribute("fence","true"):te.setAttribute("fence","false"),te}});function or(We){if(!We.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}On({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(W,X){var te=W.parser.gullet.macros.get("\\current@color");if(te&&typeof te!="string")throw new s("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:W.parser.mode,delim:Kn(X[0],W).text,color:te}}}),On({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(W,X){var te=Kn(X[0],W),pe=W.parser;++pe.leftrightDepth;var Te=pe.parseExpression(!1);--pe.leftrightDepth,pe.expect("\\right",!1);var Ve=ir(pe.parseFunction(),"leftright-right");return{type:"leftright",mode:pe.mode,body:Te,left:te.text,right:Ve.delim,rightColor:Ve.color}},htmlBuilder:function(W,X){or(W);for(var te=ja(W.body,X,!0,["mopen","mclose"]),pe=0,Te=0,Ve=!1,wt=0;wt<te.length;wt++)te[wt].isMiddle?Ve=!0:(pe=Math.max(te[wt].height,pe),Te=Math.max(te[wt].depth,Te));pe*=X.sizeMultiplier,Te*=X.sizeMultiplier;var Bt;if(W.left==="."?Bt=Cs(X,["mopen"]):Bt=xn.leftRightDelim(W.left,pe,Te,X,W.mode,["mopen"]),te.unshift(Bt),Ve)for(var nr=1;nr<te.length;nr++){var Pr=te[nr],Wr=Pr.isMiddle;Wr&&(te[nr]=xn.leftRightDelim(Wr.delim,pe,Te,Wr.options,W.mode,[]))}var nn;if(W.right===".")nn=Cs(X,["mclose"]);else{var wn=W.rightColor?X.withColor(W.rightColor):X;nn=xn.leftRightDelim(W.right,pe,Te,wn,W.mode,["mclose"])}return te.push(nn),it.makeSpan(["minner"],te,X)},mathmlBuilder:function(W,X){or(W);var te=Ki(W.body,X);if(W.left!=="."){var pe=new kn.MathNode("mo",[Qa(W.left,W.mode)]);pe.setAttribute("fence","true"),te.unshift(pe)}if(W.right!=="."){var Te=new kn.MathNode("mo",[Qa(W.right,W.mode)]);Te.setAttribute("fence","true"),W.rightColor&&Te.setAttribute("mathcolor",W.rightColor),te.push(Te)}return uo(te)}}),On({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(W,X){var te=Kn(X[0],W);if(!W.parser.leftrightDepth)throw new s("\\middle without preceding \\left",te);return{type:"middle",mode:W.parser.mode,delim:te.text}},htmlBuilder:function(W,X){var te;if(W.delim===".")te=Cs(X,[]);else{te=xn.sizedDelim(W.delim,1,X,W.mode,[]);var pe={delim:W.delim,options:X};te.isMiddle=pe}return te},mathmlBuilder:function(W,X){var te=W.delim==="\\vert"||W.delim==="|"?Qa("|","text"):Qa(W.delim,W.mode),pe=new kn.MathNode("mo",[te]);return pe.setAttribute("fence","true"),pe.setAttribute("lspace","0.05em"),pe.setAttribute("rspace","0.05em"),pe}});var Br=function(W,X){var te=it.wrapFragment(Ni(W.body,X),X),pe=W.label.substr(1),Te=X.sizeMultiplier,Ve,wt=0,Bt=T.isCharacterBox(W.body);if(pe==="sout")Ve=it.makeSpan(["stretchy","sout"]),Ve.height=X.fontMetrics().defaultRuleThickness/Te,wt=-.5*X.fontMetrics().xHeight;else{/cancel/.test(pe)?Bt||te.classes.push("cancel-pad"):te.classes.push("boxpad");var nr=0,Pr=0;/box/.test(pe)?(Pr=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness),nr=X.fontMetrics().fboxsep+(pe==="colorbox"?0:Pr)):nr=Bt?.2:0,Ve=ai.encloseSpan(te,pe,nr,X),/fbox|boxed|fcolorbox/.test(pe)&&(Ve.style.borderStyle="solid",Ve.style.borderWidth=Pr+"em"),wt=te.depth+nr,W.backgroundColor&&(Ve.style.backgroundColor=W.backgroundColor,W.borderColor&&(Ve.style.borderColor=W.borderColor))}var Wr;return W.backgroundColor?Wr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ve,shift:wt},{type:"elem",elem:te,shift:0}]},X):Wr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:te,shift:0},{type:"elem",elem:Ve,shift:wt,wrapperClasses:/cancel/.test(pe)?["svg-align"]:[]}]},X),/cancel/.test(pe)&&(Wr.height=te.height,Wr.depth=te.depth),/cancel/.test(pe)&&!Bt?it.makeSpan(["mord","cancel-lap"],[Wr],X):it.makeSpan(["mord"],[Wr],X)},xr=function(W,X){var te=0,pe=new kn.MathNode(W.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Da(W.body,X)]);switch(W.label){case"\\cancel":pe.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":pe.setAttribute("notation","downdiagonalstrike");break;case"\\sout":pe.setAttribute("notation","horizontalstrike");break;case"\\fbox":pe.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(te=X.fontMetrics().fboxsep*X.fontMetrics().ptPerEm,pe.setAttribute("width","+"+2*te+"pt"),pe.setAttribute("height","+"+2*te+"pt"),pe.setAttribute("lspace",te+"pt"),pe.setAttribute("voffset",te+"pt"),W.label==="\\fcolorbox"){var Te=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness);pe.setAttribute("style","border: "+Te+"em solid "+String(W.borderColor))}break;case"\\xcancel":pe.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return W.backgroundColor&&pe.setAttribute("mathbackground",W.backgroundColor),pe};On({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(W,X,te){var pe=W.parser,Te=W.funcName,Ve=ir(X[0],"color-token").color,wt=X[1];return{type:"enclose",mode:pe.mode,label:Te,backgroundColor:Ve,body:wt}},htmlBuilder:Br,mathmlBuilder:xr}),On({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(W,X,te){var pe=W.parser,Te=W.funcName,Ve=ir(X[0],"color-token").color,wt=ir(X[1],"color-token").color,Bt=X[2];return{type:"enclose",mode:pe.mode,label:Te,backgroundColor:wt,borderColor:Ve,body:Bt}},htmlBuilder:Br,mathmlBuilder:xr}),On({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(W,X){var te=W.parser;return{type:"enclose",mode:te.mode,label:"\\fbox",body:X[0]}}}),On({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(W,X,te){var pe=W.parser,Te=W.funcName,Ve=X[0];return{type:"enclose",mode:pe.mode,label:Te,body:Ve}},htmlBuilder:Br,mathmlBuilder:xr});var pn={};function jn(We){for(var W=We.type,X=We.names,te=We.props,pe=We.handler,Te=We.htmlBuilder,Ve=We.mathmlBuilder,wt={type:W,numArgs:te.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:pe},Bt=0;Bt<X.length;++Bt)pn[X[Bt]]=wt;Te&&(gi[W]=Te),Ve&&(yi[W]=Ve)}function ft(We){var W=[];We.consumeSpaces();for(var X=We.fetch().text;X==="\\hline"||X==="\\hdashline";)We.consume(),W.push(X==="\\hdashline"),We.consumeSpaces(),X=We.fetch().text;return W}function Pn(We,W,X){var te=W.hskipBeforeAndAfter,pe=W.addJot,Te=W.cols,Ve=W.arraystretch,wt=W.colSeparationType;if(We.gullet.beginGroup(),We.gullet.macros.set("\\\\","\\cr"),!Ve){var Bt=We.gullet.expandMacroAsText("\\arraystretch");if(Bt==null)Ve=1;else if(Ve=parseFloat(Bt),!Ve||Ve<0)throw new s("Invalid \\arraystretch: "+Bt)}We.gullet.beginGroup();var nr=[],Pr=[nr],Wr=[],nn=[];for(nn.push(ft(We));;){var wn=We.parseExpression(!1,"\\cr");We.gullet.endGroup(),We.gullet.beginGroup(),wn={type:"ordgroup",mode:We.mode,body:wn},X&&(wn={type:"styling",mode:We.mode,style:X,body:[wn]}),nr.push(wn);var In=We.fetch().text;if(In==="&")We.consume();else if(In==="\\end"){nr.length===1&&wn.type==="styling"&&wn.body[0].body.length===0&&Pr.pop(),nn.length<Pr.length+1&&nn.push([]);break}else if(In==="\\cr"){var Zn=ir(We.parseFunction(),"cr");Wr.push(Zn.size),nn.push(ft(We)),nr=[],Pr.push(nr)}else throw new s("Expected & or \\\\ or \\cr or \\end",We.nextToken)}return We.gullet.endGroup(),We.gullet.endGroup(),{type:"array",mode:We.mode,addJot:pe,arraystretch:Ve,body:Pr,cols:Te,rowGaps:Wr,hskipBeforeAndAfter:te,hLinesBeforeRow:nn,colSeparationType:wt}}function zn(We){return We.substr(0,1)==="d"?"display":"text"}var si=function(W,X){var te,pe,Te=W.body.length,Ve=W.hLinesBeforeRow,wt=0,Bt=new Array(Te),nr=[],Pr=Math.max(X.fontMetrics().arrayRuleWidth,X.minRuleThickness),Wr=1/X.fontMetrics().ptPerEm,nn=5*Wr;if(W.colSeparationType&&W.colSeparationType==="small"){var wn=X.havingStyle(F.SCRIPT).sizeMultiplier;nn=.2778*(wn/X.sizeMultiplier)}var In=12*Wr,Zn=3*Wr,di=W.arraystretch*In,Sr=.7*di,ea=.3*di,aa=0;function os(Zo){for(var ku=0;ku<Zo.length;++ku)ku>0&&(aa+=.25),nr.push({pos:aa,isDashed:Zo[ku]})}for(os(Ve[0]),te=0;te<W.body.length;++te){var Ka=W.body[te],ys=Sr,bs=ea;wt<Ka.length&&(wt=Ka.length);var Ta=new Array(Ka.length);for(pe=0;pe<Ka.length;++pe){var Ns=Ni(Ka[pe],X);bs<Ns.depth&&(bs=Ns.depth),ys<Ns.height&&(ys=Ns.height),Ta[pe]=Ns}var $s=W.rowGaps[te],pa=0;$s&&(pa=pi($s,X),pa>0&&(pa+=ea,bs<pa&&(bs=pa),pa=0)),W.addJot&&(bs+=Zn),Ta.height=ys,Ta.depth=bs,aa+=ys,Ta.pos=aa,aa+=bs+pa,Bt[te]=Ta,os(Ve[te+1])}var Qs=aa/2+X.fontMetrics().axisHeight,Po=W.cols||[],Ro=[],za,mo;for(pe=0,mo=0;pe<wt||mo<Po.length;++pe,++mo){for(var iu=Po[mo]||{},Al=!0;iu.type==="separator";){if(Al||(za=it.makeSpan(["arraycolsep"],[]),za.style.width=X.fontMetrics().doubleRuleSep+"em",Ro.push(za)),iu.separator==="|"||iu.separator===":"){var sl=iu.separator==="|"?"solid":"dashed",Za=it.makeSpan(["vertical-separator"],[],X);Za.style.height=aa+"em",Za.style.borderRightWidth=Pr+"em",Za.style.borderRightStyle=sl,Za.style.margin="0 -"+Pr/2+"em",Za.style.verticalAlign=-(aa-Qs)+"em",Ro.push(Za)}else throw new s("Invalid separator type: "+iu.separator);mo++,iu=Po[mo]||{},Al=!1}if(!(pe>=wt)){var Du=void 0;(pe>0||W.hskipBeforeAndAfter)&&(Du=T.deflt(iu.pregap,nn),Du!==0&&(za=it.makeSpan(["arraycolsep"],[]),za.style.width=Du+"em",Ro.push(za)));var ns=[];for(te=0;te<Te;++te){var pu=Bt[te],Ou=pu[pe];if(Ou){var No=pu.pos-Qs;Ou.depth=pu.depth,Ou.height=pu.height,ns.push({type:"elem",elem:Ou,shift:No})}}ns=it.makeVList({positionType:"individualShift",children:ns},X),ns=it.makeSpan(["col-align-"+(iu.align||"c")],[ns]),Ro.push(ns),(pe<wt-1||W.hskipBeforeAndAfter)&&(Du=T.deflt(iu.postgap,nn),Du!==0&&(za=it.makeSpan(["arraycolsep"],[]),za.style.width=Du+"em",Ro.push(za)))}}if(Bt=it.makeSpan(["mtable"],Ro),nr.length>0){for(var vo=it.makeLineSpan("hline",X,Pr),Vu=it.makeLineSpan("hdashline",X,Pr),au=[{type:"elem",elem:Bt,shift:0}];nr.length>0;){var Wl=nr.pop(),Js=Wl.pos-Qs;Wl.isDashed?au.push({type:"elem",elem:Vu,shift:Js}):au.push({type:"elem",elem:vo,shift:Js})}Bt=it.makeVList({positionType:"individualShift",children:au},X)}return it.makeSpan(["mord"],[Bt],X)},qi={c:"center ",l:"left ",r:"right "},Hr=function(W,X){var te=new kn.MathNode("mtable",W.body.map(function(aa){return new kn.MathNode("mtr",aa.map(function(os){return new kn.MathNode("mtd",[Da(os,X)])}))})),pe=W.arraystretch===.5?.1:.16+W.arraystretch-1+(W.addJot?.09:0);te.setAttribute("rowspacing",pe+"em");var Te="",Ve="";if(W.cols){var wt=W.cols,Bt="",nr=!1,Pr=0,Wr=wt.length;wt[0].type==="separator"&&(Te+="top ",Pr=1),wt[wt.length-1].type==="separator"&&(Te+="bottom ",Wr-=1);for(var nn=Pr;nn<Wr;nn++)wt[nn].type==="align"?(Ve+=qi[wt[nn].align],nr&&(Bt+="none "),nr=!0):wt[nn].type==="separator"&&nr&&(Bt+=wt[nn].separator==="|"?"solid ":"dashed ",nr=!1);te.setAttribute("columnalign",Ve.trim()),/[sd]/.test(Bt)&&te.setAttribute("columnlines",Bt.trim())}if(W.colSeparationType==="align"){for(var wn=W.cols||[],In="",Zn=1;Zn<wn.length;Zn++)In+=Zn%2?"0em ":"1em ";te.setAttribute("columnspacing",In.trim())}else W.colSeparationType==="alignat"?te.setAttribute("columnspacing","0em"):W.colSeparationType==="small"?te.setAttribute("columnspacing","0.2778em"):te.setAttribute("columnspacing","1em");var di="",Sr=W.hLinesBeforeRow;Te+=Sr[0].length>0?"left ":"",Te+=Sr[Sr.length-1].length>0?"right ":"";for(var ea=1;ea<Sr.length-1;ea++)di+=Sr[ea].length===0?"none ":Sr[ea][0]?"dashed ":"solid ";return/[sd]/.test(di)&&te.setAttribute("rowlines",di.trim()),Te!==""&&(te=new kn.MathNode("menclose",[te]),te.setAttribute("notation",Te.trim())),W.arraystretch&&W.arraystretch<1&&(te=new kn.MathNode("mstyle",[te]),te.setAttribute("scriptlevel","1")),te},ji=function(W,X){var te=[],pe=Pn(W.parser,{cols:te,addJot:!0},"display"),Te,Ve=0,wt={type:"ordgroup",mode:W.mode,body:[]},Bt=Or(X[0],"ordgroup");if(Bt){for(var nr="",Pr=0;Pr<Bt.body.length;Pr++){var Wr=ir(Bt.body[Pr],"textord");nr+=Wr.text}Te=Number(nr),Ve=Te*2}var nn=!Ve;pe.body.forEach(function(di){for(var Sr=1;Sr<di.length;Sr+=2){var ea=ir(di[Sr],"styling"),aa=ir(ea.body[0],"ordgroup");aa.body.unshift(wt)}if(nn)Ve<di.length&&(Ve=di.length);else{var os=di.length/2;if(Te<os)throw new s("Too many math in a row: "+("expected "+Te+", but got "+os),di[0])}});for(var wn=0;wn<Ve;++wn){var In="r",Zn=0;wn%2===1?In="l":wn>0&&nn&&(Zn=1),te[wn]={type:"align",align:In,pregap:Zn,postgap:0}}return pe.colSeparationType=nn?"align":"alignat",pe};jn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(W,X){var te=gn(X[0]),pe=te?[X[0]]:ir(X[0],"ordgroup").body,Te=pe.map(function(wt){var Bt=Nr(wt),nr=Bt.text;if("lcr".indexOf(nr)!==-1)return{type:"align",align:nr};if(nr==="|")return{type:"separator",separator:"|"};if(nr===":")return{type:"separator",separator:":"};throw new s("Unknown column alignment: "+nr,wt)}),Ve={cols:Te,hskipBeforeAndAfter:!0};return Pn(W.parser,Ve,zn(W.envName))},htmlBuilder:si,mathmlBuilder:Hr}),jn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(W){var X={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[W.envName],te={hskipBeforeAndAfter:!1},pe=Pn(W.parser,te,zn(W.envName));return X?{type:"leftright",mode:W.mode,body:[pe],left:X[0],right:X[1],rightColor:void 0}:pe},htmlBuilder:si,mathmlBuilder:Hr}),jn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(W){var X={arraystretch:.5},te=Pn(W.parser,X,"script");return te.colSeparationType="small",te},htmlBuilder:si,mathmlBuilder:Hr}),jn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(W,X){var te=gn(X[0]),pe=te?[X[0]]:ir(X[0],"ordgroup").body,Te=pe.map(function(wt){var Bt=Nr(wt),nr=Bt.text;if("lc".indexOf(nr)!==-1)return{type:"align",align:nr};throw new s("Unknown column alignment: "+nr,wt)});if(Te.length>1)throw new s("{subarray} can contain only one column");var Ve={cols:Te,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ve=Pn(W.parser,Ve,"script"),Ve.body[0].length>1)throw new s("{subarray} can contain only one column");return Ve},htmlBuilder:si,mathmlBuilder:Hr}),jn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(W){var X={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},te=Pn(W.parser,X,zn(W.envName));return{type:"leftright",mode:W.mode,body:[te],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:si,mathmlBuilder:Hr}),jn({type:"array",names:["aligned"],props:{numArgs:0},handler:ji,htmlBuilder:si,mathmlBuilder:Hr}),jn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(W){var X={cols:[{type:"align",align:"c"}],addJot:!0};return Pn(W.parser,X,"display")},htmlBuilder:si,mathmlBuilder:Hr}),jn({type:"array",names:["alignedat"],props:{numArgs:1},handler:ji,htmlBuilder:si,mathmlBuilder:Hr}),On({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(W,X){throw new s(W.funcName+" valid only within array environment")}});var ma=pn,zr=ma;On({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];if(Te.type!=="ordgroup")throw new s("Invalid environment name",Te);for(var Ve="",wt=0;wt<Te.body.length;++wt)Ve+=ir(Te.body[wt],"textord").text;if(pe==="\\begin"){if(!zr.hasOwnProperty(Ve))throw new s("No such environment: "+Ve,Te);var Bt=zr[Ve],nr=te.parseArguments("\\begin{"+Ve+"}",Bt),Pr=nr.args,Wr=nr.optArgs,nn={mode:te.mode,envName:Ve,parser:te},wn=Bt.handler(nn,Pr,Wr);te.expect("\\end",!1);var In=te.nextToken,Zn=ir(te.parseFunction(),"environment");if(Zn.name!==Ve)throw new s("Mismatch: \\begin{"+Ve+"} matched by \\end{"+Zn.name+"}",In);return wn}return{type:"environment",mode:te.mode,name:Ve,nameGroup:Te}}});var Ca=it.makeSpan;function Es(We,W){var X=ja(We.body,W,!0);return Ca([We.mclass],X,W)}function fi(We,W){var X,te=Ki(We.body,W);return We.mclass==="minner"?kn.newDocumentFragment(te):(We.mclass==="mord"?We.isCharacterBox?(X=te[0],X.type="mi"):X=new kn.MathNode("mi",te):(We.isCharacterBox?(X=te[0],X.type="mo"):X=new kn.MathNode("mo",te),We.mclass==="mbin"?(X.attributes.lspace="0.22em",X.attributes.rspace="0.22em"):We.mclass==="mpunct"?(X.attributes.lspace="0em",X.attributes.rspace="0.17em"):(We.mclass==="mopen"||We.mclass==="mclose")&&(X.attributes.lspace="0em",X.attributes.rspace="0em")),X)}On({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];return{type:"mclass",mode:te.mode,mclass:"m"+pe.substr(5),body:Fi(Te),isCharacterBox:T.isCharacterBox(Te)}},htmlBuilder:Es,mathmlBuilder:fi});var ro=function(W){var X=W.type==="ordgroup"&&W.body.length?W.body[0]:W;return X.type==="atom"&&(X.family==="bin"||X.family==="rel")?"m"+X.family:"mord"};On({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(W,X){var te=W.parser;return{type:"mclass",mode:te.mode,mclass:ro(X[0]),body:[X[1]],isCharacterBox:T.isCharacterBox(X[1])}}}),On({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[1],Ve=X[0],wt;pe!=="\\stackrel"?wt=ro(Te):wt="mrel";var Bt={type:"op",mode:Te.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:pe!=="\\stackrel",body:Fi(Te)},nr={type:"supsub",mode:Ve.mode,base:Bt,sup:pe==="\\underset"?null:Ve,sub:pe==="\\underset"?Ve:null};return{type:"mclass",mode:te.mode,mclass:wt,body:[nr],isCharacterBox:T.isCharacterBox(nr)}},htmlBuilder:Es,mathmlBuilder:fi});var po=function(W,X){var te=W.font,pe=X.withFont(te);return Ni(W.body,pe)},ds=function(W,X){var te=W.font,pe=X.withFont(te);return Da(W.body,pe)},Oa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};On({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0],Ve=pe;return Ve in Oa&&(Ve=Oa[Ve]),{type:"font",mode:te.mode,font:Ve.slice(1),body:Te}},htmlBuilder:po,mathmlBuilder:ds}),On({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(W,X){var te=W.parser,pe=X[0],Te=T.isCharacterBox(pe);return{type:"mclass",mode:te.mode,mclass:ro(pe),body:[{type:"font",mode:te.mode,font:"boldsymbol",body:pe}],isCharacterBox:Te}}}),On({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=W.breakOnTokenText,Ve=te.mode,wt=te.parseExpression(!0,Te),Bt="math"+pe.slice(1);return{type:"font",mode:Ve,font:Bt,body:{type:"ordgroup",mode:te.mode,body:wt}}},htmlBuilder:po,mathmlBuilder:ds});var qs=function(W,X){var te=X;return W==="display"?te=te.id>=F.SCRIPT.id?te.text():F.DISPLAY:W==="text"&&te.size===F.DISPLAY.size?te=F.TEXT:W==="script"?te=F.SCRIPT:W==="scriptscript"&&(te=F.SCRIPTSCRIPT),te},Bs=function(W,X){var te=qs(W.size,X.style),pe=te.fracNum(),Te=te.fracDen(),Ve;Ve=X.havingStyle(pe);var wt=Ni(W.numer,Ve,X);if(W.continued){var Bt=8.5/X.fontMetrics().ptPerEm,nr=3.5/X.fontMetrics().ptPerEm;wt.height=wt.height<Bt?Bt:wt.height,wt.depth=wt.depth<nr?nr:wt.depth}Ve=X.havingStyle(Te);var Pr=Ni(W.denom,Ve,X),Wr,nn,wn;W.hasBarLine?(W.barSize?(nn=pi(W.barSize,X),Wr=it.makeLineSpan("frac-line",X,nn)):Wr=it.makeLineSpan("frac-line",X),nn=Wr.height,wn=Wr.height):(Wr=null,nn=0,wn=X.fontMetrics().defaultRuleThickness);var In,Zn,di;te.size===F.DISPLAY.size||W.size==="display"?(In=X.fontMetrics().num1,nn>0?Zn=3*wn:Zn=7*wn,di=X.fontMetrics().denom1):(nn>0?(In=X.fontMetrics().num2,Zn=wn):(In=X.fontMetrics().num3,Zn=3*wn),di=X.fontMetrics().denom2);var Sr;if(Wr){var aa=X.fontMetrics().axisHeight;In-wt.depth-(aa+.5*nn)<Zn&&(In+=Zn-(In-wt.depth-(aa+.5*nn))),aa-.5*nn-(Pr.height-di)<Zn&&(di+=Zn-(aa-.5*nn-(Pr.height-di)));var os=-(aa-.5*nn);Sr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pr,shift:di},{type:"elem",elem:Wr,shift:os},{type:"elem",elem:wt,shift:-In}]},X)}else{var ea=In-wt.depth-(Pr.height-di);ea<Zn&&(In+=.5*(Zn-ea),di+=.5*(Zn-ea)),Sr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pr,shift:di},{type:"elem",elem:wt,shift:-In}]},X)}Ve=X.havingStyle(te),Sr.height*=Ve.sizeMultiplier/X.sizeMultiplier,Sr.depth*=Ve.sizeMultiplier/X.sizeMultiplier;var Ka;te.size===F.DISPLAY.size?Ka=X.fontMetrics().delim1:Ka=X.fontMetrics().delim2;var ys,bs;return W.leftDelim==null?ys=Cs(X,["mopen"]):ys=xn.customSizedDelim(W.leftDelim,Ka,!0,X.havingStyle(te),W.mode,["mopen"]),W.continued?bs=it.makeSpan([]):W.rightDelim==null?bs=Cs(X,["mclose"]):bs=xn.customSizedDelim(W.rightDelim,Ka,!0,X.havingStyle(te),W.mode,["mclose"]),it.makeSpan(["mord"].concat(Ve.sizingClasses(X)),[ys,it.makeSpan(["mfrac"],[Sr]),bs],X)},bn=function(W,X){var te=new kn.MathNode("mfrac",[Da(W.numer,X),Da(W.denom,X)]);if(!W.hasBarLine)te.setAttribute("linethickness","0px");else if(W.barSize){var pe=pi(W.barSize,X);te.setAttribute("linethickness",pe+"em")}var Te=qs(W.size,X.style);if(Te.size!==X.style.size){te=new kn.MathNode("mstyle",[te]);var Ve=Te.size===F.DISPLAY.size?"true":"false";te.setAttribute("displaystyle",Ve),te.setAttribute("scriptlevel","0")}if(W.leftDelim!=null||W.rightDelim!=null){var wt=[];if(W.leftDelim!=null){var Bt=new kn.MathNode("mo",[new kn.TextNode(W.leftDelim.replace("\\",""))]);Bt.setAttribute("fence","true"),wt.push(Bt)}if(wt.push(te),W.rightDelim!=null){var nr=new kn.MathNode("mo",[new kn.TextNode(W.rightDelim.replace("\\",""))]);nr.setAttribute("fence","true"),wt.push(nr)}return uo(wt)}return te};On({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0],Ve=X[1],wt,Bt=null,nr=null,Pr="auto";switch(pe){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":wt=!0;break;case"\\\\atopfrac":wt=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":wt=!1,Bt="(",nr=")";break;case"\\\\bracefrac":wt=!1,Bt="\\{",nr="\\}";break;case"\\\\brackfrac":wt=!1,Bt="[",nr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(pe){case"\\cfrac":case"\\dfrac":case"\\dbinom":Pr="display";break;case"\\tfrac":case"\\tbinom":Pr="text";break}return{type:"genfrac",mode:te.mode,continued:pe==="\\cfrac",numer:Te,denom:Ve,hasBarLine:wt,leftDelim:Bt,rightDelim:nr,size:Pr,barSize:null}},htmlBuilder:Bs,mathmlBuilder:bn}),On({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(W){var X=W.parser,te=W.funcName,pe=W.token,Te;switch(te){case"\\over":Te="\\frac";break;case"\\choose":Te="\\binom";break;case"\\atop":Te="\\\\atopfrac";break;case"\\brace":Te="\\\\bracefrac";break;case"\\brack":Te="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:X.mode,replaceWith:Te,token:pe}}});var gs=["display","text","script","scriptscript"],Hs=function(W){var X=null;return W.length>0&&(X=W,X=X==="."?null:X),X};On({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(W,X){var te=W.parser,pe=X[4],Te=X[5],Ve=Or(X[0],"atom");Ve&&(Ve=wr(X[0],"open"));var wt=Ve?Hs(Ve.text):null,Bt=Or(X[1],"atom");Bt&&(Bt=wr(X[1],"close"));var nr=Bt?Hs(Bt.text):null,Pr=ir(X[2],"size"),Wr,nn=null;Pr.isBlank?Wr=!0:(nn=Pr.value,Wr=nn.number>0);var wn="auto",In=Or(X[3],"ordgroup");if(In){if(In.body.length>0){var Zn=ir(In.body[0],"textord");wn=gs[Number(Zn.text)]}}else In=ir(X[3],"textord"),wn=gs[Number(In.text)];return{type:"genfrac",mode:te.mode,numer:pe,denom:Te,continued:!1,hasBarLine:Wr,barSize:nn,leftDelim:wt,rightDelim:nr,size:wn}},htmlBuilder:Bs,mathmlBuilder:bn}),On({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=W.token;return{type:"infix",mode:te.mode,replaceWith:"\\\\abovefrac",size:ir(X[0],"size").value,token:Te}}}),On({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0],Ve=R(ir(X[1],"infix").size),wt=X[2],Bt=Ve.number>0;return{type:"genfrac",mode:te.mode,numer:Te,denom:wt,continued:!1,hasBarLine:Bt,barSize:Ve,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Bs,mathmlBuilder:bn});var Ye=function(W,X){var te=X.style,pe,Te,Ve=Or(W,"supsub");Ve?(pe=Ve.sup?Ni(Ve.sup,X.havingStyle(te.sup()),X):Ni(Ve.sub,X.havingStyle(te.sub()),X),Te=ir(Ve.base,"horizBrace")):Te=ir(W,"horizBrace");var wt=Ni(Te.base,X.havingBaseStyle(F.DISPLAY)),Bt=ai.svgSpan(Te,X),nr;if(Te.isOver?(nr=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:wt},{type:"kern",size:.1},{type:"elem",elem:Bt}]},X),nr.children[0].children[0].children[1].classes.push("svg-align")):(nr=it.makeVList({positionType:"bottom",positionData:wt.depth+.1+Bt.height,children:[{type:"elem",elem:Bt},{type:"kern",size:.1},{type:"elem",elem:wt}]},X),nr.children[0].children[0].children[0].classes.push("svg-align")),pe){var Pr=it.makeSpan(["mord",Te.isOver?"mover":"munder"],[nr],X);Te.isOver?nr=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pr},{type:"kern",size:.2},{type:"elem",elem:pe}]},X):nr=it.makeVList({positionType:"bottom",positionData:Pr.depth+.2+pe.height+pe.depth,children:[{type:"elem",elem:pe},{type:"kern",size:.2},{type:"elem",elem:Pr}]},X)}return it.makeSpan(["mord",Te.isOver?"mover":"munder"],[nr],X)},qe=function(W,X){var te=ai.mathMLnode(W.label);return new kn.MathNode(W.isOver?"mover":"munder",[Da(W.base,X),te])};On({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=W.funcName;return{type:"horizBrace",mode:te.mode,label:pe,isOver:/^\\over/.test(pe),base:X[0]}},htmlBuilder:Ye,mathmlBuilder:qe}),On({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(W,X){var te=W.parser,pe=X[1],Te=ir(X[0],"url").url;return te.settings.isTrusted({command:"\\href",url:Te})?{type:"href",mode:te.mode,href:Te,body:Fi(pe)}:te.formatUnsupportedCmd("\\href")},htmlBuilder:function(W,X){var te=ja(W.body,X,!1);return it.makeAnchor(W.href,[],te,X)},mathmlBuilder:function(W,X){var te=Aa(W.body,X);return te instanceof hs||(te=new hs("mrow",[te])),te.setAttribute("href",W.href),te}}),On({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(W,X){var te=W.parser,pe=ir(X[0],"url").url;if(!te.settings.isTrusted({command:"\\url",url:pe}))return te.formatUnsupportedCmd("\\url");for(var Te=[],Ve=0;Ve<pe.length;Ve++){var wt=pe[Ve];wt==="~"&&(wt="\\textasciitilde"),Te.push({type:"textord",mode:"text",text:wt})}var Bt={type:"text",mode:te.mode,font:"\\texttt",body:Te};return{type:"href",mode:te.mode,href:pe,body:Fi(Bt)}}}),On({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(W,X){var te=W.parser;return{type:"htmlmathml",mode:te.mode,html:Fi(X[0]),mathml:Fi(X[1])}},htmlBuilder:function(W,X){var te=ja(W.html,X,!1);return it.makeFragment(te)},mathmlBuilder:function(W,X){return Aa(W.mathml,X)}});var Mt=function(W){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(W))return{number:+W,unit:"bp"};var X=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(W);if(!X)throw new s("Invalid size: '"+W+"' in \\includegraphics");var te={number:+(X[1]+X[2]),unit:X[3]};if(!vi(te))throw new s("Invalid unit: '"+te.unit+"' in \\includegraphics.");return te};On({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(W,X,te){var pe=W.parser,Te={number:0,unit:"em"},Ve={number:.9,unit:"em"},wt={number:0,unit:"em"},Bt="";if(te[0])for(var nr=ir(te[0],"raw").string,Pr=nr.split(","),Wr=0;Wr<Pr.length;Wr++){var nn=Pr[Wr].split("=");if(nn.length===2){var wn=nn[1].trim();switch(nn[0].trim()){case"alt":Bt=wn;break;case"width":Te=Mt(wn);break;case"height":Ve=Mt(wn);break;case"totalheight":wt=Mt(wn);break;default:throw new s("Invalid key: '"+nn[0]+"' in \\includegraphics.")}}}var In=ir(X[0],"url").url;return Bt===""&&(Bt=In,Bt=Bt.replace(/^.*[\\/]/,""),Bt=Bt.substring(0,Bt.lastIndexOf("."))),pe.settings.isTrusted({command:"\\includegraphics",url:In})?{type:"includegraphics",mode:pe.mode,alt:Bt,width:Te,height:Ve,totalheight:wt,src:In}:pe.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(W,X){var te=pi(W.height,X),pe=0;W.totalheight.number>0&&(pe=pi(W.totalheight,X)-te,pe=Number(pe.toFixed(2)));var Te=0;W.width.number>0&&(Te=pi(W.width,X));var Ve={height:te+pe+"em"};Te>0&&(Ve.width=Te+"em"),pe>0&&(Ve.verticalAlign=-pe+"em");var wt=new Ue(W.src,W.alt,Ve);return wt.height=te,wt.depth=pe,wt},mathmlBuilder:function(W,X){var te=new kn.MathNode("mglyph",[]);te.setAttribute("alt",W.alt);var pe=pi(W.height,X),Te=0;if(W.totalheight.number>0&&(Te=pi(W.totalheight,X)-pe,Te=Te.toFixed(2),te.setAttribute("valign","-"+Te+"em")),te.setAttribute("height",pe+Te+"em"),W.width.number>0){var Ve=pi(W.width,X);te.setAttribute("width",Ve+"em")}return te.setAttribute("src",W.src),te}}),On({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=ir(X[0],"size");if(te.settings.strict){var Ve=pe[1]==="m",wt=Te.value.unit==="mu";Ve?(wt||te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+pe+" supports only mu units, "+("not "+Te.value.unit+" units")),te.mode!=="math"&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+pe+" works only in math mode")):wt&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+pe+" doesn't support mu units")}return{type:"kern",mode:te.mode,dimension:Te.value}},htmlBuilder:function(W,X){return it.makeGlue(W.dimension,X)},mathmlBuilder:function(W,X){var te=pi(W.dimension,X);return new kn.SpaceNode(te)}}),On({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];return{type:"lap",mode:te.mode,alignment:pe.slice(5),body:Te}},htmlBuilder:function(W,X){var te;W.alignment==="clap"?(te=it.makeSpan([],[Ni(W.body,X)]),te=it.makeSpan(["inner"],[te],X)):te=it.makeSpan(["inner"],[Ni(W.body,X)]);var pe=it.makeSpan(["fix"],[]),Te=it.makeSpan([W.alignment],[te,pe],X),Ve=it.makeSpan(["strut"]);return Ve.style.height=Te.height+Te.depth+"em",Ve.style.verticalAlign=-Te.depth+"em",Te.children.unshift(Ve),Te=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te}]},X),it.makeSpan(["mord"],[Te],X)},mathmlBuilder:function(W,X){var te=new kn.MathNode("mpadded",[Da(W.body,X)]);if(W.alignment!=="rlap"){var pe=W.alignment==="llap"?"-1":"-0.5";te.setAttribute("lspace",pe+"width")}return te.setAttribute("width","0px"),te}}),On({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(W,X){var te=W.funcName,pe=W.parser,Te=pe.mode;pe.switchMode("math");var Ve=te==="\\("?"\\)":"$",wt=pe.parseExpression(!1,Ve);return pe.expect(Ve),pe.switchMode(Te),{type:"styling",mode:pe.mode,style:"text",body:wt}}}),On({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(W,X){throw new s("Mismatched "+W.funcName)}});var Gt=function(W,X){switch(X.style.size){case F.DISPLAY.size:return W.display;case F.TEXT.size:return W.text;case F.SCRIPT.size:return W.script;case F.SCRIPTSCRIPT.size:return W.scriptscript;default:return W.text}};On({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(W,X){var te=W.parser;return{type:"mathchoice",mode:te.mode,display:Fi(X[0]),text:Fi(X[1]),script:Fi(X[2]),scriptscript:Fi(X[3])}},htmlBuilder:function(W,X){var te=Gt(W,X),pe=ja(te,X,!1);return it.makeFragment(pe)},mathmlBuilder:function(W,X){var te=Gt(W,X);return Aa(te,X)}});var hr=function(W,X,te,pe,Te,Ve,wt){W=it.makeSpan([],[W]);var Bt,nr;if(X){var Pr=Ni(X,pe.havingStyle(Te.sup()),pe);nr={elem:Pr,kern:Math.max(pe.fontMetrics().bigOpSpacing1,pe.fontMetrics().bigOpSpacing3-Pr.depth)}}if(te){var Wr=Ni(te,pe.havingStyle(Te.sub()),pe);Bt={elem:Wr,kern:Math.max(pe.fontMetrics().bigOpSpacing2,pe.fontMetrics().bigOpSpacing4-Wr.height)}}var nn;if(nr&&Bt){var wn=pe.fontMetrics().bigOpSpacing5+Bt.elem.height+Bt.elem.depth+Bt.kern+W.depth+wt;nn=it.makeVList({positionType:"bottom",positionData:wn,children:[{type:"kern",size:pe.fontMetrics().bigOpSpacing5},{type:"elem",elem:Bt.elem,marginLeft:-Ve+"em"},{type:"kern",size:Bt.kern},{type:"elem",elem:W},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ve+"em"},{type:"kern",size:pe.fontMetrics().bigOpSpacing5}]},pe)}else if(Bt){var In=W.height-wt;nn=it.makeVList({positionType:"top",positionData:In,children:[{type:"kern",size:pe.fontMetrics().bigOpSpacing5},{type:"elem",elem:Bt.elem,marginLeft:-Ve+"em"},{type:"kern",size:Bt.kern},{type:"elem",elem:W}]},pe)}else if(nr){var Zn=W.depth+wt;nn=it.makeVList({positionType:"bottom",positionData:Zn,children:[{type:"elem",elem:W},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ve+"em"},{type:"kern",size:pe.fontMetrics().bigOpSpacing5}]},pe)}else return W;return it.makeSpan(["mop","op-limits"],[nn],pe)},Lr=["\\smallint"],jr=function(W,X){var te,pe,Te=!1,Ve,wt=Or(W,"supsub");wt?(te=wt.sup,pe=wt.sub,Ve=ir(wt.base,"op"),Te=!0):Ve=ir(W,"op");var Bt=X.style,nr=!1;Bt.size===F.DISPLAY.size&&Ve.symbol&&!T.contains(Lr,Ve.name)&&(nr=!0);var Pr;if(Ve.symbol){var Wr=nr?"Size2-Regular":"Size1-Regular",nn="";if((Ve.name==="\\oiint"||Ve.name==="\\oiiint")&&(nn=Ve.name.substr(1),Ve.name=nn==="oiint"?"\\iint":"\\iiint"),Pr=it.makeSymbol(Ve.name,Wr,"math",X,["mop","op-symbol",nr?"large-op":"small-op"]),nn.length>0){var wn=Pr.italic,In=it.staticSvg(nn+"Size"+(nr?"2":"1"),X);Pr=it.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pr,shift:0},{type:"elem",elem:In,shift:nr?.08:0}]},X),Ve.name="\\"+nn,Pr.classes.unshift("mop"),Pr.italic=wn}}else if(Ve.body){var Zn=ja(Ve.body,X,!0);Zn.length===1&&Zn[0]instanceof Ae?(Pr=Zn[0],Pr.classes[0]="mop"):Pr=it.makeSpan(["mop"],it.tryCombineChars(Zn),X)}else{for(var di=[],Sr=1;Sr<Ve.name.length;Sr++)di.push(it.mathsym(Ve.name[Sr],Ve.mode,X));Pr=it.makeSpan(["mop"],di,X)}var ea=0,aa=0;return(Pr instanceof Ae||Ve.name==="\\oiint"||Ve.name==="\\oiiint")&&!Ve.suppressBaseShift&&(ea=(Pr.height-Pr.depth)/2-X.fontMetrics().axisHeight,aa=Pr.italic),Te?hr(Pr,te,pe,X,Bt,aa,ea):(ea&&(Pr.style.position="relative",Pr.style.top=ea+"em"),Pr)},_n=function(W,X){var te;if(W.symbol)te=new hs("mo",[Qa(W.name,W.mode)]),T.contains(Lr,W.name)&&te.setAttribute("largeop","false");else if(W.body)te=new hs("mo",Ki(W.body,X));else{te=new hs("mi",[new Hi(W.name.slice(1))]);var pe=new hs("mo",[Qa("\u2061","text")]);W.parentIsSupSub?te=new hs("mo",[te,pe]):te=La([te,pe])}return te},rn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};On({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(W,X){var te=W.parser,pe=W.funcName,Te=pe;return Te.length===1&&(Te=rn[Te]),{type:"op",mode:te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Te}},htmlBuilder:jr,mathmlBuilder:_n}),On({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=X[0];return{type:"op",mode:te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Fi(pe)}},htmlBuilder:jr,mathmlBuilder:_n});var vn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};On({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(W){var X=W.parser,te=W.funcName;return{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:jr,mathmlBuilder:_n}),On({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(W){var X=W.parser,te=W.funcName;return{type:"op",mode:X.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:jr,mathmlBuilder:_n}),On({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(W){var X=W.parser,te=W.funcName,pe=te;return pe.length===1&&(pe=vn[pe]),{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:pe}},htmlBuilder:jr,mathmlBuilder:_n});var Wn=function(W,X){var te,pe,Te=!1,Ve,wt=Or(W,"supsub");wt?(te=wt.sup,pe=wt.sub,Ve=ir(wt.base,"operatorname"),Te=!0):Ve=ir(W,"operatorname");var Bt;if(Ve.body.length>0){for(var nr=Ve.body.map(function(wn){var In=wn.text;return typeof In=="string"?{type:"textord",mode:wn.mode,text:In}:wn}),Pr=ja(nr,X.withFont("mathrm"),!0),Wr=0;Wr<Pr.length;Wr++){var nn=Pr[Wr];nn instanceof Ae&&(nn.text=nn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Bt=it.makeSpan(["mop"],Pr,X)}else Bt=it.makeSpan(["mop"],[],X);return Te?hr(Bt,te,pe,X,X.style,0,0):Bt},ti=function(W,X){for(var te=Ki(W.body,X.withFont("mathrm")),pe=!0,Te=0;Te<te.length;Te++){var Ve=te[Te];if(!(Ve instanceof kn.SpaceNode))if(Ve instanceof kn.MathNode)switch(Ve.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var wt=Ve.children[0];Ve.children.length===1&&wt instanceof kn.TextNode?wt.text=wt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):pe=!1;break}default:pe=!1}else pe=!1}if(pe){var Bt=te.map(function(Wr){return Wr.toText()}).join("");te=[new kn.TextNode(Bt)]}var nr=new kn.MathNode("mi",te);nr.setAttribute("mathvariant","normal");var Pr=new kn.MathNode("mo",[Qa("\u2061","text")]);return W.parentIsSupSub?new kn.MathNode("mo",[nr,Pr]):kn.newDocumentFragment([nr,Pr])};On({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];return{type:"operatorname",mode:te.mode,body:Fi(Te),alwaysHandleSupSub:pe==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Wn,mathmlBuilder:ti}),Di({type:"ordgroup",htmlBuilder:function(W,X){return W.semisimple?it.makeFragment(ja(W.body,X,!1)):it.makeSpan(["mord"],ja(W.body,X,!0),X)},mathmlBuilder:function(W,X){return Aa(W.body,X,!0)}}),On({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(W,X){var te=W.parser,pe=X[0];return{type:"overline",mode:te.mode,body:pe}},htmlBuilder:function(W,X){var te=Ni(W.body,X.havingCrampedStyle()),pe=it.makeLineSpan("overline-line",X),Te=X.fontMetrics().defaultRuleThickness,Ve=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te},{type:"kern",size:3*Te},{type:"elem",elem:pe},{type:"kern",size:Te}]},X);return it.makeSpan(["mord","overline"],[Ve],X)},mathmlBuilder:function(W,X){var te=new kn.MathNode("mo",[new kn.TextNode("\u203E")]);te.setAttribute("stretchy","true");var pe=new kn.MathNode("mover",[Da(W.body,X),te]);return pe.setAttribute("accent","true"),pe}}),On({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=X[0];return{type:"phantom",mode:te.mode,body:Fi(pe)}},htmlBuilder:function(W,X){var te=ja(W.body,X.withPhantom(),!1);return it.makeFragment(te)},mathmlBuilder:function(W,X){var te=Ki(W.body,X);return new kn.MathNode("mphantom",te)}}),On({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=X[0];return{type:"hphantom",mode:te.mode,body:pe}},htmlBuilder:function(W,X){var te=it.makeSpan([],[Ni(W.body,X.withPhantom())]);if(te.height=0,te.depth=0,te.children)for(var pe=0;pe<te.children.length;pe++)te.children[pe].height=0,te.children[pe].depth=0;return te=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},X),it.makeSpan(["mord"],[te],X)},mathmlBuilder:function(W,X){var te=Ki(Fi(W.body),X),pe=new kn.MathNode("mphantom",te),Te=new kn.MathNode("mpadded",[pe]);return Te.setAttribute("height","0px"),Te.setAttribute("depth","0px"),Te}}),On({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=X[0];return{type:"vphantom",mode:te.mode,body:pe}},htmlBuilder:function(W,X){var te=it.makeSpan(["inner"],[Ni(W.body,X.withPhantom())]),pe=it.makeSpan(["fix"],[]);return it.makeSpan(["mord","rlap"],[te,pe],X)},mathmlBuilder:function(W,X){var te=Ki(Fi(W.body),X),pe=new kn.MathNode("mphantom",te),Te=new kn.MathNode("mpadded",[pe]);return Te.setAttribute("width","0px"),Te}}),On({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(W,X){var te=W.parser,pe=ir(X[0],"size").value,Te=X[1];return{type:"raisebox",mode:te.mode,dy:pe,body:Te}},htmlBuilder:function(W,X){var te=Ni(W.body,X),pe=pi(W.dy,X);return it.makeVList({positionType:"shift",positionData:-pe,children:[{type:"elem",elem:te}]},X)},mathmlBuilder:function(W,X){var te=new kn.MathNode("mpadded",[Da(W.body,X)]),pe=W.dy.number+W.dy.unit;return te.setAttribute("voffset",pe),te}}),On({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(W,X,te){var pe=W.parser,Te=te[0],Ve=ir(X[0],"size"),wt=ir(X[1],"size");return{type:"rule",mode:pe.mode,shift:Te&&ir(Te,"size").value,width:Ve.value,height:wt.value}},htmlBuilder:function(W,X){var te=it.makeSpan(["mord","rule"],[],X),pe=pi(W.width,X),Te=pi(W.height,X),Ve=W.shift?pi(W.shift,X):0;return te.style.borderRightWidth=pe+"em",te.style.borderTopWidth=Te+"em",te.style.bottom=Ve+"em",te.width=pe,te.height=Te+Ve,te.depth=-Ve,te.maxFontSize=Te*1.125*X.sizeMultiplier,te},mathmlBuilder:function(W,X){var te=pi(W.width,X),pe=pi(W.height,X),Te=W.shift?pi(W.shift,X):0,Ve=X.color&&X.getColor()||"black",wt=new kn.MathNode("mspace");wt.setAttribute("mathbackground",Ve),wt.setAttribute("width",te+"em"),wt.setAttribute("height",pe+"em");var Bt=new kn.MathNode("mpadded",[wt]);return Te>=0?Bt.setAttribute("height","+"+Te+"em"):(Bt.setAttribute("height",Te+"em"),Bt.setAttribute("depth","+"+-Te+"em")),Bt.setAttribute("voffset",Te+"em"),Bt}});function hi(We,W,X){for(var te=ja(We,W,!1),pe=W.sizeMultiplier/X.sizeMultiplier,Te=0;Te<te.length;Te++){var Ve=te[Te].classes.indexOf("sizing");Ve<0?Array.prototype.push.apply(te[Te].classes,W.sizingClasses(X)):te[Te].classes[Ve+1]==="reset-size"+W.size&&(te[Te].classes[Ve+1]="reset-size"+X.size),te[Te].height*=pe,te[Te].depth*=pe}return it.makeFragment(te)}var Ii=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Qi=function(W,X){var te=X.havingSize(W.size);return hi(W.body,te,X)};On({type:"sizing",names:Ii,props:{numArgs:0,allowedInText:!0},handler:function(W,X){var te=W.breakOnTokenText,pe=W.funcName,Te=W.parser,Ve=Te.parseExpression(!1,te);return{type:"sizing",mode:Te.mode,size:Ii.indexOf(pe)+1,body:Ve}},htmlBuilder:Qi,mathmlBuilder:function(W,X){var te=X.havingSize(W.size),pe=Ki(W.body,te),Te=new kn.MathNode("mstyle",pe);return Te.setAttribute("mathsize",te.sizeMultiplier+"em"),Te}}),On({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(W,X,te){var pe=W.parser,Te=!1,Ve=!1,wt=te[0]&&ir(te[0],"ordgroup");if(wt)for(var Bt="",nr=0;nr<wt.body.length;++nr){var Pr=wt.body[nr];if(Bt=Pr.text,Bt==="t")Te=!0;else if(Bt==="b")Ve=!0;else{Te=!1,Ve=!1;break}}else Te=!0,Ve=!0;var Wr=X[0];return{type:"smash",mode:pe.mode,body:Wr,smashHeight:Te,smashDepth:Ve}},htmlBuilder:function(W,X){var te=it.makeSpan([],[Ni(W.body,X)]);if(!W.smashHeight&&!W.smashDepth)return te;if(W.smashHeight&&(te.height=0,te.children))for(var pe=0;pe<te.children.length;pe++)te.children[pe].height=0;if(W.smashDepth&&(te.depth=0,te.children))for(var Te=0;Te<te.children.length;Te++)te.children[Te].depth=0;var Ve=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},X);return it.makeSpan(["mord"],[Ve],X)},mathmlBuilder:function(W,X){var te=new kn.MathNode("mpadded",[Da(W.body,X)]);return W.smashHeight&&te.setAttribute("height","0px"),W.smashDepth&&te.setAttribute("depth","0px"),te}}),On({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(W,X,te){var pe=W.parser,Te=te[0],Ve=X[0];return{type:"sqrt",mode:pe.mode,body:Ve,index:Te}},htmlBuilder:function(W,X){var te=Ni(W.body,X.havingCrampedStyle());te.height===0&&(te.height=X.fontMetrics().xHeight),te=it.wrapFragment(te,X);var pe=X.fontMetrics(),Te=pe.defaultRuleThickness,Ve=Te;X.style.id<F.TEXT.id&&(Ve=X.fontMetrics().xHeight);var wt=Te+Ve/4,Bt=te.height+te.depth+wt+Te,nr=xn.sqrtImage(Bt,X),Pr=nr.span,Wr=nr.ruleWidth,nn=nr.advanceWidth,wn=Pr.height-Wr;wn>te.height+te.depth+wt&&(wt=(wt+wn-te.height-te.depth)/2);var In=Pr.height-te.height-wt-Wr;te.style.paddingLeft=nn+"em";var Zn=it.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te,wrapperClasses:["svg-align"]},{type:"kern",size:-(te.height+In)},{type:"elem",elem:Pr},{type:"kern",size:Wr}]},X);if(W.index){var di=X.havingStyle(F.SCRIPTSCRIPT),Sr=Ni(W.index,di,X),ea=.6*(Zn.height-Zn.depth),aa=it.makeVList({positionType:"shift",positionData:-ea,children:[{type:"elem",elem:Sr}]},X),os=it.makeSpan(["root"],[aa]);return it.makeSpan(["mord","sqrt"],[os,Zn],X)}else return it.makeSpan(["mord","sqrt"],[Zn],X)},mathmlBuilder:function(W,X){var te=W.body,pe=W.index;return pe?new kn.MathNode("mroot",[Da(te,X),Da(pe,X)]):new kn.MathNode("msqrt",[Da(te,X)])}});var Ri={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT};On({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(W,X){var te=W.breakOnTokenText,pe=W.funcName,Te=W.parser,Ve=Te.parseExpression(!0,te),wt=pe.slice(1,pe.length-5);return{type:"styling",mode:Te.mode,style:wt,body:Ve}},htmlBuilder:function(W,X){var te=Ri[W.style],pe=X.havingStyle(te).withFont("");return hi(W.body,pe,X)},mathmlBuilder:function(W,X){var te=Ri[W.style],pe=X.havingStyle(te),Te=Ki(W.body,pe),Ve=new kn.MathNode("mstyle",Te),wt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Bt=wt[W.style];return Ve.setAttribute("scriptlevel",Bt[0]),Ve.setAttribute("displaystyle",Bt[1]),Ve}});var Ei=function(W,X){var te=W.base;if(te)if(te.type==="op"){var pe=te.limits&&(X.style.size===F.DISPLAY.size||te.alwaysHandleSupSub);return pe?jr:null}else if(te.type==="operatorname"){var Te=te.alwaysHandleSupSub&&(X.style.size===F.DISPLAY.size||te.limits);return Te?Wn:null}else{if(te.type==="accent")return T.isCharacterBox(te.base)?Wa:null;if(te.type==="horizBrace"){var Ve=!W.sub;return Ve===te.isOver?Ye:null}else return null}else return null};Di({type:"supsub",htmlBuilder:function(W,X){var te=Ei(W,X);if(te)return te(W,X);var pe=W.base,Te=W.sup,Ve=W.sub,wt=Ni(pe,X),Bt,nr,Pr=X.fontMetrics(),Wr=0,nn=0,wn=pe&&T.isCharacterBox(pe);if(Te){var In=X.havingStyle(X.style.sup());Bt=Ni(Te,In,X),wn||(Wr=wt.height-In.fontMetrics().supDrop*In.sizeMultiplier/X.sizeMultiplier)}if(Ve){var Zn=X.havingStyle(X.style.sub());nr=Ni(Ve,Zn,X),wn||(nn=wt.depth+Zn.fontMetrics().subDrop*Zn.sizeMultiplier/X.sizeMultiplier)}var di;X.style===F.DISPLAY?di=Pr.sup1:X.style.cramped?di=Pr.sup3:di=Pr.sup2;var Sr=X.sizeMultiplier,ea=.5/Pr.ptPerEm/Sr+"em",aa=null;if(nr){var os=W.base&&W.base.type==="op"&&W.base.name&&(W.base.name==="\\oiint"||W.base.name==="\\oiiint");(wt instanceof Ae||os)&&(aa=-wt.italic+"em")}var Ka;if(Bt&&nr){Wr=Math.max(Wr,di,Bt.depth+.25*Pr.xHeight),nn=Math.max(nn,Pr.sub2);var ys=Pr.defaultRuleThickness,bs=4*ys;if(Wr-Bt.depth-(nr.height-nn)<bs){nn=bs-(Wr-Bt.depth)+nr.height;var Ta=.8*Pr.xHeight-(Wr-Bt.depth);Ta>0&&(Wr+=Ta,nn-=Ta)}var Ns=[{type:"elem",elem:nr,shift:nn,marginRight:ea,marginLeft:aa},{type:"elem",elem:Bt,shift:-Wr,marginRight:ea}];Ka=it.makeVList({positionType:"individualShift",children:Ns},X)}else if(nr){nn=Math.max(nn,Pr.sub1,nr.height-.8*Pr.xHeight);var $s=[{type:"elem",elem:nr,marginLeft:aa,marginRight:ea}];Ka=it.makeVList({positionType:"shift",positionData:nn,children:$s},X)}else if(Bt)Wr=Math.max(Wr,di,Bt.depth+.25*Pr.xHeight),Ka=it.makeVList({positionType:"shift",positionData:-Wr,children:[{type:"elem",elem:Bt,marginRight:ea}]},X);else throw new Error("supsub must have either sup or sub.");var pa=qa(wt,"right")||"mord";return it.makeSpan([pa],[wt,it.makeSpan(["msupsub"],[Ka])],X)},mathmlBuilder:function(W,X){var te=!1,pe,Te,Ve=Or(W.base,"horizBrace");Ve&&(Te=!!W.sup,Te===Ve.isOver&&(te=!0,pe=Ve.isOver)),W.base&&(W.base.type==="op"||W.base.type==="operatorname")&&(W.base.parentIsSupSub=!0);var wt=[Da(W.base,X)];W.sub&&wt.push(Da(W.sub,X)),W.sup&&wt.push(Da(W.sup,X));var Bt;if(te)Bt=pe?"mover":"munder";else if(W.sub)if(W.sup){var Wr=W.base;Wr&&Wr.type==="op"&&Wr.limits&&X.style===F.DISPLAY||Wr&&Wr.type==="operatorname"&&Wr.alwaysHandleSupSub&&(X.style===F.DISPLAY||Wr.limits)?Bt="munderover":Bt="msubsup"}else{var Pr=W.base;Pr&&Pr.type==="op"&&Pr.limits&&(X.style===F.DISPLAY||Pr.alwaysHandleSupSub)||Pr&&Pr.type==="operatorname"&&Pr.alwaysHandleSupSub&&(Pr.limits||X.style===F.DISPLAY)?Bt="munder":Bt="msub"}else{var nr=W.base;nr&&nr.type==="op"&&nr.limits&&(X.style===F.DISPLAY||nr.alwaysHandleSupSub)||nr&&nr.type==="operatorname"&&nr.alwaysHandleSupSub&&(nr.limits||X.style===F.DISPLAY)?Bt="mover":Bt="msup"}var nn=new kn.MathNode(Bt,wt);return nn}}),Di({type:"atom",htmlBuilder:function(W,X){return it.mathsym(W.text,W.mode,X,["m"+W.family])},mathmlBuilder:function(W,X){var te=new kn.MathNode("mo",[Qa(W.text,W.mode)]);if(W.family==="bin"){var pe=Ls(W,X);pe==="bold-italic"&&te.setAttribute("mathvariant",pe)}else W.family==="punct"?te.setAttribute("separator","true"):(W.family==="open"||W.family==="close")&&te.setAttribute("stretchy","false");return te}});var fa={mi:"italic",mn:"normal",mtext:"normal"};Di({type:"mathord",htmlBuilder:function(W,X){return it.makeOrd(W,X,"mathord")},mathmlBuilder:function(W,X){var te=new kn.MathNode("mi",[Qa(W.text,W.mode,X)]),pe=Ls(W,X)||"italic";return pe!==fa[te.type]&&te.setAttribute("mathvariant",pe),te}}),Di({type:"textord",htmlBuilder:function(W,X){return it.makeOrd(W,X,"textord")},mathmlBuilder:function(W,X){var te=Qa(W.text,W.mode,X),pe=Ls(W,X)||"normal",Te;return W.mode==="text"?Te=new kn.MathNode("mtext",[te]):/[0-9]/.test(W.text)?Te=new kn.MathNode("mn",[te]):W.text==="\\prime"?Te=new kn.MathNode("mo",[te]):Te=new kn.MathNode("mi",[te]),pe!==fa[Te.type]&&Te.setAttribute("mathvariant",pe),Te}});var Si={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},bi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Di({type:"spacing",htmlBuilder:function(W,X){if(bi.hasOwnProperty(W.text)){var te=bi[W.text].className||"";if(W.mode==="text"){var pe=it.makeOrd(W,X,"textord");return pe.classes.push(te),pe}else return it.makeSpan(["mspace",te],[it.mathsym(W.text,W.mode,X)],X)}else{if(Si.hasOwnProperty(W.text))return it.makeSpan(["mspace",Si[W.text]],[],X);throw new s('Unknown type of space "'+W.text+'"')}},mathmlBuilder:function(W,X){var te;if(bi.hasOwnProperty(W.text))te=new kn.MathNode("mtext",[new kn.TextNode("\xA0")]);else{if(Si.hasOwnProperty(W.text))return new kn.MathNode("mspace");throw new s('Unknown type of space "'+W.text+'"')}return te}});var da=function(){var W=new kn.MathNode("mtd",[]);return W.setAttribute("width","50%"),W};Di({type:"tag",mathmlBuilder:function(W,X){var te=new kn.MathNode("mtable",[new kn.MathNode("mtr",[da(),new kn.MathNode("mtd",[Aa(W.body,X)]),da(),new kn.MathNode("mtd",[Aa(W.tag,X)])])]);return te.setAttribute("width","100%"),te}});var no={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ss={"\\textbf":"textbf","\\textmd":"textmd"},Ma={"\\textit":"textit","\\textup":"textup"},Fa=function(W,X){var te=W.font;return te?no[te]?X.withTextFontFamily(no[te]):Ss[te]?X.withTextFontWeight(Ss[te]):X.withTextFontShape(Ma[te]):X};On({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(W,X){var te=W.parser,pe=W.funcName,Te=X[0];return{type:"text",mode:te.mode,body:Fi(Te),font:pe}},htmlBuilder:function(W,X){var te=Fa(W,X),pe=ja(W.body,te,!0);return it.makeSpan(["mord","text"],it.tryCombineChars(pe),te)},mathmlBuilder:function(W,X){var te=Fa(W,X);return Aa(W.body,te)}}),On({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(W,X){var te=W.parser;return{type:"underline",mode:te.mode,body:X[0]}},htmlBuilder:function(W,X){var te=Ni(W.body,X),pe=it.makeLineSpan("underline-line",X),Te=X.fontMetrics().defaultRuleThickness,Ve=it.makeVList({positionType:"top",positionData:te.height,children:[{type:"kern",size:Te},{type:"elem",elem:pe},{type:"kern",size:3*Te},{type:"elem",elem:te}]},X);return it.makeSpan(["mord","underline"],[Ve],X)},mathmlBuilder:function(W,X){var te=new kn.MathNode("mo",[new kn.TextNode("\u203E")]);te.setAttribute("stretchy","true");var pe=new kn.MathNode("munder",[Da(W.body,X),te]);return pe.setAttribute("accentunder","true"),pe}}),On({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(W,X,te){throw new s("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(W,X){for(var te=Ga(W),pe=[],Te=X.havingStyle(X.style.text()),Ve=0;Ve<te.length;Ve++){var wt=te[Ve];wt==="~"&&(wt="\\textasciitilde"),pe.push(it.makeSymbol(wt,"Typewriter-Regular",W.mode,Te,["mord","texttt"]))}return it.makeSpan(["mord","text"].concat(Te.sizingClasses(X)),it.tryCombineChars(pe),Te)},mathmlBuilder:function(W,X){var te=new kn.TextNode(Ga(W)),pe=new kn.MathNode("mtext",[te]);return pe.setAttribute("mathvariant","monospace"),pe}});var Ga=function(W){return W.body.replace(/ /g,W.star?"\u2423":"\xA0")},Oi=la,va=Oi,Ba=`[ \r
|
|
|
]`,Ya="\\\\[a-zA-Z@]+",ho="\\\\[^\uD800-\uDFFF]",rs=""+Ya+Ba+"*",ba=new RegExp("^("+Ya+")"+Ba+"*$"),Ks="[\u0300-\u036F]",Ra=new RegExp(Ks+"+$"),Ws="("+Ba+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ks+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ks+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+rs)+("|"+ho+")"),ha=function(){function We(X,te){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=X,this.settings=te,this.tokenRegex=new RegExp(Ws,"g"),this.catcodes={"%":14}}var W=We.prototype;return W.setCatcode=function(te,pe){this.catcodes[te]=pe},W.lex=function(){var te=this.input,pe=this.tokenRegex.lastIndex;if(pe===te.length)return new c("EOF",new l(this,pe,pe));var Te=this.tokenRegex.exec(te);if(Te===null||Te.index!==pe)throw new s("Unexpected character: '"+te[pe]+"'",new c(te[pe],new l(this,pe,pe+1)));var Ve=Te[2]||" ";if(this.catcodes[Ve]===14){var wt=te.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return wt===-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=wt+1,this.lex()}var Bt=Ve.match(ba);return Bt&&(Ve=Bt[1]),new c(Ve,new l(this,pe,this.tokenRegex.lastIndex))},We}(),Va=function(){function We(X,te){X===void 0&&(X={}),te===void 0&&(te={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=te,this.builtins=X,this.undefStack=[]}var W=We.prototype;return W.beginGroup=function(){this.undefStack.push({})},W.endGroup=function(){if(this.undefStack.length===0)throw new s("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var te=this.undefStack.pop();for(var pe in te)te.hasOwnProperty(pe)&&(te[pe]===void 0?delete this.current[pe]:this.current[pe]=te[pe])},W.has=function(te){return this.current.hasOwnProperty(te)||this.builtins.hasOwnProperty(te)},W.get=function(te){return this.current.hasOwnProperty(te)?this.current[te]:this.builtins[te]},W.set=function(te,pe,Te){if(Te===void 0&&(Te=!1),Te){for(var Ve=0;Ve<this.undefStack.length;Ve++)delete this.undefStack[Ve][te];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][te]=pe)}else{var wt=this.undefStack[this.undefStack.length-1];wt&&!wt.hasOwnProperty(te)&&(wt[te]=this.current[te])}this.current[te]=pe},We}(),Is={},ga=Is;function ye(We,W){Is[We]=W}ye("\\@firstoftwo",function(We){var W=We.consumeArgs(2);return{tokens:W[0],numArgs:0}}),ye("\\@secondoftwo",function(We){var W=We.consumeArgs(2);return{tokens:W[1],numArgs:0}}),ye("\\@ifnextchar",function(We){var W=We.consumeArgs(3),X=We.future();return W[0].length===1&&W[0][0].text===X.text?{tokens:W[1],numArgs:0}:{tokens:W[2],numArgs:0}}),ye("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ye("\\TextOrMath",function(We){var W=We.consumeArgs(2);return We.mode==="text"?{tokens:W[0],numArgs:0}:{tokens:W[1],numArgs:0}});var Se={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ye("\\char",function(We){var W=We.popToken(),X,te="";if(W.text==="'")X=8,W=We.popToken();else if(W.text==='"')X=16,W=We.popToken();else if(W.text==="`")if(W=We.popToken(),W.text[0]==="\\")te=W.text.charCodeAt(1);else{if(W.text==="EOF")throw new s("\\char` missing argument");te=W.text.charCodeAt(0)}else X=10;if(X){if(te=Se[W.text],te==null||te>=X)throw new s("Invalid base-"+X+" digit "+W.text);for(var pe;(pe=Se[We.future().text])!=null&&pe<X;)te*=X,te+=pe,We.popToken()}return"\\@char{"+te+"}"});var gr=function(W,X){var te=W.consumeArgs(1)[0];if(te.length!==1)throw new s("\\gdef's first argument must be a macro name");var pe=te[0].text,Te=0;for(te=W.consumeArgs(1)[0];te.length===1&&te[0].text==="#";){if(te=W.consumeArgs(1)[0],te.length!==1)throw new s('Invalid argument number length "'+te.length+'"');if(!/^[1-9]$/.test(te[0].text))throw new s('Invalid argument number "'+te[0].text+'"');if(Te++,parseInt(te[0].text)!==Te)throw new s('Argument number "'+te[0].text+'" out of order');te=W.consumeArgs(1)[0]}return W.macros.set(pe,{tokens:te,numArgs:Te},X),""};ye("\\gdef",function(We){return gr(We,!0)}),ye("\\def",function(We){return gr(We,!1)}),ye("\\global",function(We){var W=We.consumeArgs(1)[0];if(W.length!==1)throw new s("Invalid command after \\global");var X=W[0].text;if(X==="\\def")return gr(We,!0);throw new s("Invalid command '"+X+"' after \\global")});var Jr=function(W,X,te){var pe=W.consumeArgs(1)[0];if(pe.length!==1)throw new s("\\newcommand's first argument must be a macro name");var Te=pe[0].text,Ve=W.isDefined(Te);if(Ve&&!X)throw new s("\\newcommand{"+Te+"} attempting to redefine "+(Te+"; use \\renewcommand"));if(!Ve&&!te)throw new s("\\renewcommand{"+Te+"} when command "+Te+" does not yet exist; use \\newcommand");var wt=0;if(pe=W.consumeArgs(1)[0],pe.length===1&&pe[0].text==="["){for(var Bt="",nr=W.expandNextToken();nr.text!=="]"&&nr.text!=="EOF";)Bt+=nr.text,nr=W.expandNextToken();if(!Bt.match(/^\s*[0-9]+\s*$/))throw new s("Invalid number of arguments: "+Bt);wt=parseInt(Bt),pe=W.consumeArgs(1)[0]}return W.macros.set(Te,{tokens:pe,numArgs:wt}),""};ye("\\newcommand",function(We){return Jr(We,!1,!0)}),ye("\\renewcommand",function(We){return Jr(We,!0,!1)}),ye("\\providecommand",function(We){return Jr(We,!0,!0)}),ye("\\bgroup","{"),ye("\\egroup","}"),ye("\\lq","`"),ye("\\rq","'"),ye("\\aa","\\r a"),ye("\\AA","\\r A"),ye("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ye("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ye("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ye("\u212C","\\mathscr{B}"),ye("\u2130","\\mathscr{E}"),ye("\u2131","\\mathscr{F}"),ye("\u210B","\\mathscr{H}"),ye("\u2110","\\mathscr{I}"),ye("\u2112","\\mathscr{L}"),ye("\u2133","\\mathscr{M}"),ye("\u211B","\\mathscr{R}"),ye("\u212D","\\mathfrak{C}"),ye("\u210C","\\mathfrak{H}"),ye("\u2128","\\mathfrak{Z}"),ye("\\Bbbk","\\Bbb{k}"),ye("\xB7","\\cdotp"),ye("\\llap","\\mathllap{\\textrm{#1}}"),ye("\\rlap","\\mathrlap{\\textrm{#1}}"),ye("\\clap","\\mathclap{\\textrm{#1}}"),ye("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ye("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ye("\\ne","\\neq"),ye("\u2260","\\neq"),ye("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ye("\u2209","\\notin"),ye("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ye("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ye("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ye("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ye("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ye("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ye("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ye("\u27C2","\\perp"),ye("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ye("\u220C","\\notni"),ye("\u231C","\\ulcorner"),ye("\u231D","\\urcorner"),ye("\u231E","\\llcorner"),ye("\u231F","\\lrcorner"),ye("\xA9","\\copyright"),ye("\xAE","\\textregistered"),ye("\uFE0F","\\textregistered"),ye("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ye("\u22EE","\\vdots"),ye("\\varGamma","\\mathit{\\Gamma}"),ye("\\varDelta","\\mathit{\\Delta}"),ye("\\varTheta","\\mathit{\\Theta}"),ye("\\varLambda","\\mathit{\\Lambda}"),ye("\\varXi","\\mathit{\\Xi}"),ye("\\varPi","\\mathit{\\Pi}"),ye("\\varSigma","\\mathit{\\Sigma}"),ye("\\varUpsilon","\\mathit{\\Upsilon}"),ye("\\varPhi","\\mathit{\\Phi}"),ye("\\varPsi","\\mathit{\\Psi}"),ye("\\varOmega","\\mathit{\\Omega}"),ye("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ye("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ye("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ye("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ye("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ye("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var br={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ye("\\dots",function(We){var W="\\dotso",X=We.expandAfterFuture().text;return X in br?W=br[X]:(X.substr(0,4)==="\\not"||X in Ge.math&&T.contains(["bin","rel"],Ge.math[X].group))&&(W="\\dotsb"),W});var Yr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ye("\\dotso",function(We){var W=We.future().text;return W in Yr?"\\ldots\\,":"\\ldots"}),ye("\\dotsc",function(We){var W=We.future().text;return W in Yr&&W!==","?"\\ldots\\,":"\\ldots"}),ye("\\cdots",function(We){var W=We.future().text;return W in Yr?"\\@cdots\\,":"\\@cdots"}),ye("\\dotsb","\\cdots"),ye("\\dotsm","\\cdots"),ye("\\dotsi","\\!\\cdots"),ye("\\dotsx","\\ldots\\,"),ye("\\DOTSI","\\relax"),ye("\\DOTSB","\\relax"),ye("\\DOTSX","\\relax"),ye("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ye("\\,","\\tmspace+{3mu}{.1667em}"),ye("\\thinspace","\\,"),ye("\\>","\\mskip{4mu}"),ye("\\:","\\tmspace+{4mu}{.2222em}"),ye("\\medspace","\\:"),ye("\\;","\\tmspace+{5mu}{.2777em}"),ye("\\thickspace","\\;"),ye("\\!","\\tmspace-{3mu}{.1667em}"),ye("\\negthinspace","\\!"),ye("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ye("\\negthickspace","\\tmspace-{5mu}{.277em}"),ye("\\enspace","\\kern.5em "),ye("\\enskip","\\hskip.5em\\relax"),ye("\\quad","\\hskip1em\\relax"),ye("\\qquad","\\hskip2em\\relax"),ye("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ye("\\tag@paren","\\tag@literal{({#1})}"),ye("\\tag@literal",function(We){if(We.macros.get("\\df@tag"))throw new s("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ye("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ye("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ye("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ye("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ye("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ye("\\\\","\\newline"),ye("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var An=Kt["Main-Regular"][84][1]-.7*Kt["Main-Regular"][65][1]+"em";ye("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+An+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ye("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+An+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ye("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ye("\\@hspace","\\hskip #1\\relax"),ye("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ye("\\ordinarycolon",":"),ye("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ye("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ye("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ye("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ye("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ye("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ye("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ye("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ye("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ye("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ye("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ye("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ye("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ye("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ye("\u2237","\\dblcolon"),ye("\u2239","\\eqcolon"),ye("\u2254","\\coloneqq"),ye("\u2255","\\eqqcolon"),ye("\u2A74","\\Coloneqq"),ye("\\ratio","\\vcentcolon"),ye("\\coloncolon","\\dblcolon"),ye("\\colonequals","\\coloneqq"),ye("\\coloncolonequals","\\Coloneqq"),ye("\\equalscolon","\\eqqcolon"),ye("\\equalscoloncolon","\\Eqqcolon"),ye("\\colonminus","\\coloneq"),ye("\\coloncolonminus","\\Coloneq"),ye("\\minuscolon","\\eqcolon"),ye("\\minuscoloncolon","\\Eqcolon"),ye("\\coloncolonapprox","\\Colonapprox"),ye("\\coloncolonsim","\\Colonsim"),ye("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ye("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ye("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ye("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ye("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ye("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ye("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ye("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ye("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ye("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ye("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ye("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ye("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ye("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ye("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ye("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ye("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ye("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ye("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ye("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ye("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ye("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ye("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ye("\u27E6","\\llbracket"),ye("\u27E7","\\rrbracket"),ye("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ye("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ye("\u2983","\\lBrace"),ye("\u2984","\\rBrace"),ye("\\darr","\\downarrow"),ye("\\dArr","\\Downarrow"),ye("\\Darr","\\Downarrow"),ye("\\lang","\\langle"),ye("\\rang","\\rangle"),ye("\\uarr","\\uparrow"),ye("\\uArr","\\Uparrow"),ye("\\Uarr","\\Uparrow"),ye("\\N","\\mathbb{N}"),ye("\\R","\\mathbb{R}"),ye("\\Z","\\mathbb{Z}"),ye("\\alef","\\aleph"),ye("\\alefsym","\\aleph"),ye("\\Alpha","\\mathrm{A}"),ye("\\Beta","\\mathrm{B}"),ye("\\bull","\\bullet"),ye("\\Chi","\\mathrm{X}"),ye("\\clubs","\\clubsuit"),ye("\\cnums","\\mathbb{C}"),ye("\\Complex","\\mathbb{C}"),ye("\\Dagger","\\ddagger"),ye("\\diamonds","\\diamondsuit"),ye("\\empty","\\emptyset"),ye("\\Epsilon","\\mathrm{E}"),ye("\\Eta","\\mathrm{H}"),ye("\\exist","\\exists"),ye("\\harr","\\leftrightarrow"),ye("\\hArr","\\Leftrightarrow"),ye("\\Harr","\\Leftrightarrow"),ye("\\hearts","\\heartsuit"),ye("\\image","\\Im"),ye("\\infin","\\infty"),ye("\\Iota","\\mathrm{I}"),ye("\\isin","\\in"),ye("\\Kappa","\\mathrm{K}"),ye("\\larr","\\leftarrow"),ye("\\lArr","\\Leftarrow"),ye("\\Larr","\\Leftarrow"),ye("\\lrarr","\\leftrightarrow"),ye("\\lrArr","\\Leftrightarrow"),ye("\\Lrarr","\\Leftrightarrow"),ye("\\Mu","\\mathrm{M}"),ye("\\natnums","\\mathbb{N}"),ye("\\Nu","\\mathrm{N}"),ye("\\Omicron","\\mathrm{O}"),ye("\\plusmn","\\pm"),ye("\\rarr","\\rightarrow"),ye("\\rArr","\\Rightarrow"),ye("\\Rarr","\\Rightarrow"),ye("\\real","\\Re"),ye("\\reals","\\mathbb{R}"),ye("\\Reals","\\mathbb{R}"),ye("\\Rho","\\mathrm{P}"),ye("\\sdot","\\cdot"),ye("\\sect","\\S"),ye("\\spades","\\spadesuit"),ye("\\sub","\\subset"),ye("\\sube","\\subseteq"),ye("\\supe","\\supseteq"),ye("\\Tau","\\mathrm{T}"),ye("\\thetasym","\\vartheta"),ye("\\weierp","\\wp"),ye("\\Zeta","\\mathrm{Z}"),ye("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ye("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ye("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ye("\\blue","\\textcolor{##6495ed}{#1}"),ye("\\orange","\\textcolor{##ffa500}{#1}"),ye("\\pink","\\textcolor{##ff00af}{#1}"),ye("\\red","\\textcolor{##df0030}{#1}"),ye("\\green","\\textcolor{##28ae7b}{#1}"),ye("\\gray","\\textcolor{gray}{#1}"),ye("\\purple","\\textcolor{##9d38bd}{#1}"),ye("\\blueA","\\textcolor{##ccfaff}{#1}"),ye("\\blueB","\\textcolor{##80f6ff}{#1}"),ye("\\blueC","\\textcolor{##63d9ea}{#1}"),ye("\\blueD","\\textcolor{##11accd}{#1}"),ye("\\blueE","\\textcolor{##0c7f99}{#1}"),ye("\\tealA","\\textcolor{##94fff5}{#1}"),ye("\\tealB","\\textcolor{##26edd5}{#1}"),ye("\\tealC","\\textcolor{##01d1c1}{#1}"),ye("\\tealD","\\textcolor{##01a995}{#1}"),ye("\\tealE","\\textcolor{##208170}{#1}"),ye("\\greenA","\\textcolor{##b6ffb0}{#1}"),ye("\\greenB","\\textcolor{##8af281}{#1}"),ye("\\greenC","\\textcolor{##74cf70}{#1}"),ye("\\greenD","\\textcolor{##1fab54}{#1}"),ye("\\greenE","\\textcolor{##0d923f}{#1}"),ye("\\goldA","\\textcolor{##ffd0a9}{#1}"),ye("\\goldB","\\textcolor{##ffbb71}{#1}"),ye("\\goldC","\\textcolor{##ff9c39}{#1}"),ye("\\goldD","\\textcolor{##e07d10}{#1}"),ye("\\goldE","\\textcolor{##a75a05}{#1}"),ye("\\redA","\\textcolor{##fca9a9}{#1}"),ye("\\redB","\\textcolor{##ff8482}{#1}"),ye("\\redC","\\textcolor{##f9685d}{#1}"),ye("\\redD","\\textcolor{##e84d39}{#1}"),ye("\\redE","\\textcolor{##bc2612}{#1}"),ye("\\maroonA","\\textcolor{##ffbde0}{#1}"),ye("\\maroonB","\\textcolor{##ff92c6}{#1}"),ye("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ye("\\maroonD","\\textcolor{##ca337c}{#1}"),ye("\\maroonE","\\textcolor{##9e034e}{#1}"),ye("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ye("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ye("\\purpleC","\\textcolor{##aa87ff}{#1}"),ye("\\purpleD","\\textcolor{##7854ab}{#1}"),ye("\\purpleE","\\textcolor{##543b78}{#1}"),ye("\\mintA","\\textcolor{##f5f9e8}{#1}"),ye("\\mintB","\\textcolor{##edf2df}{#1}"),ye("\\mintC","\\textcolor{##e0e5cc}{#1}"),ye("\\grayA","\\textcolor{##f6f7f7}{#1}"),ye("\\grayB","\\textcolor{##f0f1f2}{#1}"),ye("\\grayC","\\textcolor{##e3e5e6}{#1}"),ye("\\grayD","\\textcolor{##d6d8da}{#1}"),ye("\\grayE","\\textcolor{##babec2}{#1}"),ye("\\grayF","\\textcolor{##888d93}{#1}"),ye("\\grayG","\\textcolor{##626569}{#1}"),ye("\\grayH","\\textcolor{##3b3e40}{#1}"),ye("\\grayI","\\textcolor{##21242c}{#1}"),ye("\\kaBlue","\\textcolor{##314453}{#1}"),ye("\\kaGreen","\\textcolor{##71B307}{#1}");var Jn={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Li=function(){function We(X,te,pe){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=te,this.expansionCount=0,this.feed(X),this.macros=new Va(ga,te.macros),this.mode=pe,this.stack=[]}var W=We.prototype;return W.feed=function(te){this.lexer=new ha(te,this.settings)},W.switchMode=function(te){this.mode=te},W.beginGroup=function(){this.macros.beginGroup()},W.endGroup=function(){this.macros.endGroup()},W.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},W.popToken=function(){return this.future(),this.stack.pop()},W.pushToken=function(te){this.stack.push(te)},W.pushTokens=function(te){var pe;(pe=this.stack).push.apply(pe,te)},W.consumeSpaces=function(){for(;;){var te=this.future();if(te.text===" ")this.stack.pop();else break}},W.consumeArgs=function(te){for(var pe=[],Te=0;Te<te;++Te){this.consumeSpaces();var Ve=this.popToken();if(Ve.text==="{"){for(var wt=[],Bt=1;Bt!==0;){var nr=this.popToken();if(wt.push(nr),nr.text==="{")++Bt;else if(nr.text==="}")--Bt;else if(nr.text==="EOF")throw new s("End of input in macro argument",Ve)}wt.pop(),wt.reverse(),pe[Te]=wt}else{if(Ve.text==="EOF")throw new s("End of input expecting macro argument");pe[Te]=[Ve]}}return pe},W.expandOnce=function(){var te=this.popToken(),pe=te.text,Te=this._getExpansion(pe);if(Te==null)return this.pushToken(te),te;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new s("Too many expansions: infinite loop or need to increase maxExpand setting");var Ve=Te.tokens;if(Te.numArgs){var wt=this.consumeArgs(Te.numArgs);Ve=Ve.slice();for(var Bt=Ve.length-1;Bt>=0;--Bt){var nr=Ve[Bt];if(nr.text==="#"){if(Bt===0)throw new s("Incomplete placeholder at end of macro body",nr);if(nr=Ve[--Bt],nr.text==="#")Ve.splice(Bt+1,1);else if(/^[1-9]$/.test(nr.text)){var Pr;(Pr=Ve).splice.apply(Pr,[Bt,2].concat(wt[+nr.text-1]))}else throw new s("Not a valid argument number",nr)}}}return this.pushTokens(Ve),Ve},W.expandAfterFuture=function(){return this.expandOnce(),this.future()},W.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},W.expandMacro=function(te){if(this.macros.get(te)){var pe=[],Te=this.stack.length;for(this.pushToken(new c(te));this.stack.length>Te;){var Ve=this.expandOnce();Ve instanceof c&&pe.push(this.stack.pop())}return pe}},W.expandMacroAsText=function(te){var pe=this.expandMacro(te);return pe&&pe.map(function(Te){return Te.text}).join("")},W._getExpansion=function(te){var pe=this.macros.get(te);if(pe==null)return pe;var Te=typeof pe=="function"?pe(this):pe;if(typeof Te=="string"){var Ve=0;if(Te.indexOf("#")!==-1)for(var wt=Te.replace(/##/g,"");wt.indexOf("#"+(Ve+1))!==-1;)++Ve;for(var Bt=new ha(Te,this.settings),nr=[],Pr=Bt.lex();Pr.text!=="EOF";)nr.push(Pr),Pr=Bt.lex();nr.reverse();var Wr={tokens:nr,numArgs:Ve};return Wr}return Te},W.isDefined=function(te){return this.macros.has(te)||va.hasOwnProperty(te)||Ge.math.hasOwnProperty(te)||Ge.text.hasOwnProperty(te)||Jn.hasOwnProperty(te)},We}(),Rn={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},Mn={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Cn=function(){function We(X,te){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Li(X,te,this.mode),this.settings=te,this.leftrightDepth=0}var W=We.prototype;return W.expect=function(te,pe){if(pe===void 0&&(pe=!0),this.fetch().text!==te)throw new s("Expected '"+te+"', got '"+this.fetch().text+"'",this.fetch());pe&&this.consume()},W.consume=function(){this.nextToken=null},W.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},W.switchMode=function(te){this.mode=te,this.gullet.switchMode(te)},W.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},W.parseExpression=function(te,pe){for(var Te=[];;){this.mode==="math"&&this.consumeSpaces();var Ve=this.fetch();if(We.endOfExpression.indexOf(Ve.text)!==-1||pe&&Ve.text===pe||te&&va[Ve.text]&&va[Ve.text].infix)break;var wt=this.parseAtom(pe);if(!wt)break;Te.push(wt)}return this.mode==="text"&&this.formLigatures(Te),this.handleInfixNodes(Te)},W.handleInfixNodes=function(te){for(var pe=-1,Te,Ve=0;Ve<te.length;Ve++){var wt=Or(te[Ve],"infix");if(wt){if(pe!==-1)throw new s("only one infix operator per group",wt.token);pe=Ve,Te=wt.replaceWith}}if(pe!==-1&&Te){var Bt,nr,Pr=te.slice(0,pe),Wr=te.slice(pe+1);Pr.length===1&&Pr[0].type==="ordgroup"?Bt=Pr[0]:Bt={type:"ordgroup",mode:this.mode,body:Pr},Wr.length===1&&Wr[0].type==="ordgroup"?nr=Wr[0]:nr={type:"ordgroup",mode:this.mode,body:Wr};var nn;return Te==="\\\\abovefrac"?nn=this.callFunction(Te,[Bt,te[pe],nr],[]):nn=this.callFunction(Te,[Bt,nr],[]),[nn]}else return te},W.handleSupSubscript=function(te){var pe=this.fetch(),Te=pe.text;this.consume();var Ve=this.parseGroup(te,!1,We.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ve)throw new s("Expected group after '"+Te+"'",pe);return Ve},W.formatUnsupportedCmd=function(te){for(var pe=[],Te=0;Te<te.length;Te++)pe.push({type:"textord",mode:"text",text:te[Te]});var Ve={type:"text",mode:this.mode,body:pe},wt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ve]};return wt},W.parseAtom=function(te){var pe=this.parseGroup("atom",!1,null,te);if(this.mode==="text")return pe;for(var Te,Ve;;){this.consumeSpaces();var wt=this.fetch();if(wt.text==="\\limits"||wt.text==="\\nolimits"){var Bt=Or(pe,"op");if(Bt){var nr=wt.text==="\\limits";Bt.limits=nr,Bt.alwaysHandleSupSub=!0}else if(Bt=Or(pe,"operatorname"),Bt&&Bt.alwaysHandleSupSub){var Pr=wt.text==="\\limits";Bt.limits=Pr}else throw new s("Limit controls must follow a math operator",wt);this.consume()}else if(wt.text==="^"){if(Te)throw new s("Double superscript",wt);Te=this.handleSupSubscript("superscript")}else if(wt.text==="_"){if(Ve)throw new s("Double subscript",wt);Ve=this.handleSupSubscript("subscript")}else if(wt.text==="'"){if(Te)throw new s("Double superscript",wt);var Wr={type:"textord",mode:this.mode,text:"\\prime"},nn=[Wr];for(this.consume();this.fetch().text==="'";)nn.push(Wr),this.consume();this.fetch().text==="^"&&nn.push(this.handleSupSubscript("superscript")),Te={type:"ordgroup",mode:this.mode,body:nn}}else break}return Te||Ve?{type:"supsub",mode:this.mode,base:pe,sup:Te,sub:Ve}:pe},W.parseFunction=function(te,pe,Te){var Ve=this.fetch(),wt=Ve.text,Bt=va[wt];if(!Bt)return null;if(this.consume(),Te!=null&&Bt.greediness<=Te)throw new s("Got function '"+wt+"' with no arguments"+(pe?" as "+pe:""),Ve);if(this.mode==="text"&&!Bt.allowedInText)throw new s("Can't use function '"+wt+"' in text mode",Ve);if(this.mode==="math"&&Bt.allowedInMath===!1)throw new s("Can't use function '"+wt+"' in math mode",Ve);var nr=this.parseArguments(wt,Bt),Pr=nr.args,Wr=nr.optArgs;return this.callFunction(wt,Pr,Wr,Ve,te)},W.callFunction=function(te,pe,Te,Ve,wt){var Bt={funcName:te,parser:this,token:Ve,breakOnTokenText:wt},nr=va[te];if(nr&&nr.handler)return nr.handler(Bt,pe,Te);throw new s("No function handler for "+te)},W.parseArguments=function(te,pe){var Te=pe.numArgs+pe.numOptionalArgs;if(Te===0)return{args:[],optArgs:[]};for(var Ve=pe.greediness,wt=[],Bt=[],nr=0;nr<Te;nr++){var Pr=pe.argTypes&&pe.argTypes[nr],Wr=nr<pe.numOptionalArgs,nn=nr>0&&!Wr||nr===0&&!Wr&&this.mode==="math",wn=this.parseGroupOfType("argument to '"+te+"'",Pr,Wr,Ve,nn);if(!wn){if(Wr){Bt.push(null);continue}throw new s("Expected group after '"+te+"'",this.fetch())}(Wr?Bt:wt).push(wn)}return{args:wt,optArgs:Bt}},W.parseGroupOfType=function(te,pe,Te,Ve,wt){switch(pe){case"color":return wt&&this.consumeSpaces(),this.parseColorGroup(Te);case"size":return wt&&this.consumeSpaces(),this.parseSizeGroup(Te);case"url":return this.parseUrlGroup(Te,wt);case"math":case"text":return this.parseGroup(te,Te,Ve,void 0,pe,wt);case"hbox":{var Bt=this.parseGroup(te,Te,Ve,void 0,"text",wt);if(!Bt)return Bt;var nr={type:"styling",mode:Bt.mode,body:[Bt],style:"text"};return nr}case"raw":{if(wt&&this.consumeSpaces(),Te&&this.fetch().text==="{")return null;var Pr=this.parseStringGroup("raw",Te,!0);if(Pr)return{type:"raw",mode:"text",string:Pr.text};throw new s("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(te,Te,Ve,void 0,void 0,wt);default:throw new s("Unknown group type as "+te,this.fetch())}},W.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},W.parseStringGroup=function(te,pe,Te){var Ve=pe?"[":"{",wt=pe?"]":"}",Bt=this.fetch();if(Bt.text!==Ve){if(pe)return null;if(Te&&Bt.text!=="EOF"&&/[^{}[\]]/.test(Bt.text))return this.consume(),Bt}var nr=this.mode;this.mode="text",this.expect(Ve);for(var Pr="",Wr=this.fetch(),nn=0,wn=Wr,In;(In=this.fetch()).text!==wt||Te&&nn>0;){switch(In.text){case"EOF":throw new s("Unexpected end of input in "+te,Wr.range(wn,Pr));case Ve:nn++;break;case wt:nn--;break}wn=In,Pr+=wn.text,this.consume()}return this.expect(wt),this.mode=nr,Wr.range(wn,Pr)},W.parseRegexGroup=function(te,pe){var Te=this.mode;this.mode="text";for(var Ve=this.fetch(),wt=Ve,Bt="",nr;(nr=this.fetch()).text!=="EOF"&&te.test(Bt+nr.text);)wt=nr,Bt+=wt.text,this.consume();if(Bt==="")throw new s("Invalid "+pe+": '"+Ve.text+"'",Ve);return this.mode=Te,Ve.range(wt,Bt)},W.parseColorGroup=function(te){var pe=this.parseStringGroup("color",te);if(!pe)return null;var Te=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(pe.text);if(!Te)throw new s("Invalid color: '"+pe.text+"'",pe);var Ve=Te[0];return/^[0-9a-f]{6}$/i.test(Ve)&&(Ve="#"+Ve),{type:"color-token",mode:this.mode,color:Ve}},W.parseSizeGroup=function(te){var pe,Te=!1;if(!te&&this.fetch().text!=="{"?pe=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):pe=this.parseStringGroup("size",te),!pe)return null;!te&&pe.text.length===0&&(pe.text="0pt",Te=!0);var Ve=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(pe.text);if(!Ve)throw new s("Invalid size: '"+pe.text+"'",pe);var wt={number:+(Ve[1]+Ve[2]),unit:Ve[3]};if(!vi(wt))throw new s("Invalid unit: '"+wt.unit+"'",pe);return{type:"size",mode:this.mode,value:wt,isBlank:Te}},W.parseUrlGroup=function(te,pe){this.gullet.lexer.setCatcode("%",13);var Te=this.parseStringGroup("url",te,!0);if(this.gullet.lexer.setCatcode("%",14),!Te)return null;var Ve=Te.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ve}},W.parseGroup=function(te,pe,Te,Ve,wt,Bt){var nr=this.mode;wt&&this.switchMode(wt),Bt&&this.consumeSpaces();var Pr=this.fetch(),Wr=Pr.text,nn;if(pe?Wr==="[":Wr==="{"||Wr==="\\begingroup"){this.consume();var wn=We.endOfGroup[Wr];this.gullet.beginGroup();var In=this.parseExpression(!1,wn),Zn=this.fetch();this.expect(wn),this.gullet.endGroup(),nn={type:"ordgroup",mode:this.mode,loc:l.range(Pr,Zn),body:In,semisimple:Wr==="\\begingroup"||void 0}}else if(pe)nn=null;else if(nn=this.parseFunction(Ve,te,Te)||this.parseSymbol(),nn==null&&Wr[0]==="\\"&&!Jn.hasOwnProperty(Wr)){if(this.settings.throwOnError)throw new s("Undefined control sequence: "+Wr,Pr);nn=this.formatUnsupportedCmd(Wr),this.consume()}return wt&&this.switchMode(nr),nn},W.formLigatures=function(te){for(var pe=te.length-1,Te=0;Te<pe;++Te){var Ve=te[Te],wt=Ve.text;wt==="-"&&te[Te+1].text==="-"&&(Te+1<pe&&te[Te+2].text==="-"?(te.splice(Te,3,{type:"textord",mode:"text",loc:l.range(Ve,te[Te+2]),text:"---"}),pe-=2):(te.splice(Te,2,{type:"textord",mode:"text",loc:l.range(Ve,te[Te+1]),text:"--"}),pe-=1)),(wt==="'"||wt==="`")&&te[Te+1].text===wt&&(te.splice(Te,2,{type:"textord",mode:"text",loc:l.range(Ve,te[Te+1]),text:wt+wt}),pe-=1)}},W.parseSymbol=function(){var te=this.fetch(),pe=te.text;if(/^\\verb[^a-zA-Z]/.test(pe)){this.consume();var Te=pe.slice(5),Ve=Te.charAt(0)==="*";if(Ve&&(Te=Te.slice(1)),Te.length<2||Te.charAt(0)!==Te.slice(-1))throw new s(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Te=Te.slice(1,-1),{type:"verb",mode:"text",body:Te,star:Ve}}Mn.hasOwnProperty(pe[0])&&!Ge[this.mode][pe[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+pe[0]+'" used in math mode',te),pe=Mn[pe[0]]+pe.substr(1));var wt=Ra.exec(pe);wt&&(pe=pe.substring(0,wt.index),pe==="i"?pe="\u0131":pe==="j"&&(pe="\u0237"));var Bt;if(Ge[this.mode][pe]){this.settings.strict&&this.mode==="math"&&ot.indexOf(pe)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+pe[0]+'" used in math mode',te);var nr=Ge[this.mode][pe].group,Pr=l.range(te),Wr;if($t.hasOwnProperty(nr)){var nn=nr;Wr={type:"atom",mode:this.mode,family:nn,loc:Pr,text:pe}}else Wr={type:nr,mode:this.mode,loc:Pr,text:pe};Bt=Wr}else if(pe.charCodeAt(0)>=128)this.settings.strict&&(Ee(pe.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+pe[0]+'" used in math mode',te):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+pe[0]+'"'+(" ("+pe.charCodeAt(0)+")"),te)),Bt={type:"textord",mode:"text",loc:l.range(te),text:pe};else return null;if(this.consume(),wt)for(var wn=0;wn<wt[0].length;wn++){var In=wt[0][wn];if(!Rn[In])throw new s("Unknown accent ' "+In+"'",te);var Zn=Rn[In][this.mode];if(!Zn)throw new s("Accent "+In+" unsupported in "+this.mode+" mode",te);Bt={type:"accent",mode:this.mode,loc:l.range(te),label:Zn,isStretchy:!1,isShifty:!0,base:Bt}}return Bt},We}();Cn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Cn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Cn.SUPSUB_GREEDINESS=1;var ia=function(W,X){if(!(typeof W=="string"||W instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var te=new Cn(W,X);delete te.gullet.macros.current["\\df@tag"];var pe=te.parse();if(te.gullet.macros.get("\\df@tag")){if(!X.displayMode)throw new s("\\tag works only in display equations");te.gullet.feed("\\df@tag"),pe=[{type:"tag",mode:"text",body:pe,tag:te.parse()}]}return pe},Na=ia,_o=function(W,X,te){X.textContent="";var pe=al(W,te).toNode();X.appendChild(pe)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),_o=function(){throw new s("KaTeX doesn't work in quirks mode.")});var io=function(W,X){var te=al(W,X).toMarkup();return te},nu=function(W,X){var te=new D(X);return Na(W,te)},gl=function(W,X,te){if(te.throwOnError||!(W instanceof s))throw W;var pe=it.makeSpan(["katex-error"],[new Ae(X)]);return pe.setAttribute("title",W.toString()),pe.setAttribute("style","color:"+te.errorColor),pe},al=function(W,X){var te=new D(X);try{var pe=Na(W,te);return Eo(pe,W,te)}catch(Te){return gl(Te,W,te)}},Gu=function(W,X){var te=new D(X);try{var pe=Na(W,te);return Zs(pe,W,te)}catch(Te){return gl(Te,W,te)}},Zc={version:"0.11.1",render:_o,renderToString:io,ParseError:s,__parse:nu,__renderToDomTree:al,__renderToHTMLTree:Gu,__setFontMetrics:Qe,__defineSymbol:fe,__defineMacro:ye,__domTree:{Span:ht,Anchor:Je,SymbolNode:Ae,SvgNode:Me,PathNode:$e,LineNode:He}},Iu=e.default=Zc}]).default})},76414:function(d,g,e){var r=e(64696),i=e(16824),l=e(23476),c=e(63122),f=e(37279);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=l,s.prototype.has=c,s.prototype.set=f,d.exports=s},99746:function(d,g,e){var r=e(34251),i=e(24968),l=e(28290),c=e(88068),f=e(54238);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=l,s.prototype.has=c,s.prototype.set=f,d.exports=s},40164:function(d,g,e){var r=e(73893),i=e(33152),l=r(i,"Map");d.exports=l},52166:function(d,g,e){var r=e(35365),i=e(63765),l=e(12608),c=e(10203),f=e(11298);function s(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])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=l,s.prototype.has=c,s.prototype.set=f,d.exports=s},91866:function(d,g,e){var r=e(99746),i=e(31119),l=e(64399),c=e(81897),f=e(90558),s=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=s,d.exports=h},91869:function(d,g,e){var r=e(33152),i=r.Symbol;d.exports=i},77945:function(d,g,e){var r=e(33152),i=r.Uint8Array;d.exports=i},79628:function(d){function g(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}d.exports=g},63333:function(d,g,e){var r=e(67943),i=e(13053),l=e(80744),c=e(57835),f=e(70213),s=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&&s(x),R=y||_||b||S,L=R?r(x.length,String):[],T=L.length;for(var D in x)(p||u.call(x,D))&&!(R&&(D=="length"||b&&(D=="offset"||D=="parent")||S&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||f(D,T)))&&L.push(D);return L}d.exports=a},89135:function(d,g,e){var r=e(42813),i=e(43607);function l(c,f,s){(s!==void 0&&!i(c[f],s)||s===void 0&&!(f in c))&&r(c,f,s)}d.exports=l},60348:function(d,g,e){var r=e(42813),i=e(43607),l=Object.prototype,c=l.hasOwnProperty;function f(s,h,u){var a=s[h];(!(c.call(s,h)&&i(a,u))||u===void 0&&!(h in s))&&r(s,h,u)}d.exports=f},67971:function(d,g,e){var r=e(43607);function i(l,c){for(var f=l.length;f--;)if(r(l[f][0],c))return f;return-1}d.exports=i},42813:function(d,g,e){var r=e(35234);function i(l,c,f){c=="__proto__"&&r?r(l,c,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[c]=f}d.exports=i},35024:function(d,g,e){var r=e(20816),i=Object.create,l=function(){function c(){}return function(f){if(!r(f))return{};if(i)return i(f);c.prototype=f;var s=new c;return c.prototype=void 0,s}}();d.exports=l},14018:function(d,g,e){var r=e(78010),i=r();d.exports=i},86756:function(d,g,e){var r=e(91869),i=e(72533),l=e(74702),c="[object Null]",f="[object Undefined]",s=r?r.toStringTag:void 0;function h(u){return u==null?u===void 0?f:c:s&&s in Object(u)?i(u):l(u)}d.exports=h},61506:function(d,g,e){var r=e(86756),i=e(93913),l="[object Arguments]";function c(f){return i(f)&&r(f)==l}d.exports=c},6367:function(d,g,e){var r=e(9363),i=e(89379),l=e(20816),c=e(63256),f=/[\\^$.*+?()[\]{}|]/g,s=/^\[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:s;return b.test(c(_))}d.exports=y},10766:function(d,g,e){var r=e(86756),i=e(11156),l=e(93913),c="[object Arguments]",f="[object Array]",s="[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]",R="[object WeakMap]",L="[object ArrayBuffer]",T="[object DataView]",D="[object Float32Array]",B="[object Float64Array]",$="[object Int8Array]",U="[object Int16Array]",V="[object Int32Array]",K="[object Uint8Array]",G="[object Uint8ClampedArray]",oe="[object Uint16Array]",ae="[object Uint32Array]",le={};le[D]=le[B]=le[$]=le[U]=le[V]=le[K]=le[G]=le[oe]=le[ae]=!0,le[c]=le[f]=le[L]=le[s]=le[T]=le[h]=le[u]=le[a]=le[x]=le[p]=le[y]=le[_]=le[b]=le[S]=le[R]=!1;function Q(J){return l(J)&&i(J.length)&&!!le[r(J)]}d.exports=Q},33988:function(d,g,e){var r=e(20816),i=e(7975),l=e(97817),c=Object.prototype,f=c.hasOwnProperty;function s(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=s},50097:function(d,g,e){var r=e(91866),i=e(89135),l=e(14018),c=e(23585),f=e(20816),s=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 R=y?y(h(a,S),b,S+"",a,x,_):void 0;R===void 0&&(R=b),i(a,S,R)}},s)}d.exports=u},23585:function(d,g,e){var r=e(89135),i=e(32315),l=e(78358),c=e(47760),f=e(4084),s=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 R(L,T,D,B,$,U,V){var K=b(L,D),G=b(T,D),oe=V.get(G);if(oe){r(L,D,oe);return}var ae=U?U(K,G,D+"",L,T,V):void 0,le=ae===void 0;if(le){var Q=h(G),J=!Q&&a(G),Y=!Q&&!J&&_(G);ae=G,Q||J||Y?h(K)?ae=K:u(K)?ae=c(K):J?(le=!1,ae=i(G,!0)):Y?(le=!1,ae=l(G,!0)):ae=[]:y(G)||s(G)?(ae=K,s(K)?ae=S(K):(!p(K)||x(K))&&(ae=f(G))):le=!1}le&&(V.set(G,ae),$(ae,G,B,U,V),V.delete(G)),r(L,D,ae)}d.exports=R},92918:function(d,g,e){var r=e(46962),i=e(19652),l=e(71152);function c(f,s){return l(i(f,s,r),f+"")}d.exports=c},63989:function(d,g,e){var r=e(13503),i=e(35234),l=e(46962),c=i?function(f,s){return i(f,"toString",{configurable:!0,enumerable:!1,value:r(s),writable:!0})}:l;d.exports=c},67943:function(d){function g(e,r){for(var i=-1,l=Array(e);++i<e;)l[i]=r(i);return l}d.exports=g},38342:function(d){function g(e){return function(r){return e(r)}}d.exports=g},20188:function(d,g,e){var r=e(77945);function i(l){var c=new l.constructor(l.byteLength);return new r(c).set(new r(l)),c}d.exports=i},32315:function(d,g,e){d=e.nmd(d);var r=e(33152),i=g&&!g.nodeType&&g,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c?r.Buffer:void 0,s=f?f.allocUnsafe:void 0;function h(u,a){if(a)return u.slice();var x=u.length,p=s?s(x):new u.constructor(x);return u.copy(p),p}d.exports=h},78358:function(d,g,e){var r=e(20188);function i(l,c){var f=c?r(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}d.exports=i},47760:function(d){function g(e,r){var i=-1,l=e.length;for(r||(r=Array(l));++i<l;)r[i]=e[i];return r}d.exports=g},95378:function(d,g,e){var r=e(60348),i=e(42813);function l(c,f,s,h){var u=!s;s||(s={});for(var a=-1,x=f.length;++a<x;){var p=f[a],y=h?h(s[p],c[p],p,s,c):void 0;y===void 0&&(y=c[p]),u?i(s,p,y):r(s,p,y)}return s}d.exports=l},64218:function(d,g,e){var r=e(33152),i=r["__core-js_shared__"];d.exports=i},63323:function(d,g,e){var r=e(92918),i=e(8138);function l(c){return r(function(f,s){var h=-1,u=s.length,a=u>1?s[u-1]:void 0,x=u>2?s[2]:void 0;for(a=c.length>3&&typeof a=="function"?(u--,a):void 0,x&&i(s[0],s[1],x)&&(a=u<3?void 0:a,u=1),f=Object(f);++h<u;){var p=s[h];p&&c(f,p,h,a)}return f})}d.exports=l},78010:function(d){function g(e){return function(r,i,l){for(var c=-1,f=Object(r),s=l(r),h=s.length;h--;){var u=s[e?h:++c];if(i(f[u],u,f)===!1)break}return r}}d.exports=g},35234:function(d,g,e){var r=e(73893),i=function(){try{var l=r(Object,"defineProperty");return l({},"",{}),l}catch(c){}}();d.exports=i},37675:function(d,g,e){var r=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;d.exports=r},89819:function(d,g,e){var r=e(94358);function i(l,c){var f=l.__data__;return r(c)?f[typeof c=="string"?"string":"hash"]:f.map}d.exports=i},73893:function(d,g,e){var r=e(6367),i=e(49966);function l(c,f){var s=i(c,f);return r(s)?s:void 0}d.exports=l},49217:function(d,g,e){var r=e(31030),i=r(Object.getPrototypeOf,Object);d.exports=i},72533:function(d,g,e){var r=e(91869),i=Object.prototype,l=i.hasOwnProperty,c=i.toString,f=r?r.toStringTag:void 0;function s(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=s},49966:function(d){function g(e,r){return e==null?void 0:e[r]}d.exports=g},64696:function(d,g,e){var r=e(65294);function i(){this.__data__=r?r(null):{},this.size=0}d.exports=i},16824:function(d){function g(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}d.exports=g},23476:function(d,g,e){var r=e(65294),i="__lodash_hash_undefined__",l=Object.prototype,c=l.hasOwnProperty;function f(s){var h=this.__data__;if(r){var u=h[s];return u===i?void 0:u}return c.call(h,s)?h[s]:void 0}d.exports=f},63122:function(d,g,e){var r=e(65294),i=Object.prototype,l=i.hasOwnProperty;function c(f){var s=this.__data__;return r?s[f]!==void 0:l.call(s,f)}d.exports=c},37279:function(d,g,e){var r=e(65294),i="__lodash_hash_undefined__";function l(c,f){var s=this.__data__;return this.size+=this.has(c)?0:1,s[c]=r&&f===void 0?i:f,this}d.exports=l},4084:function(d,g,e){var r=e(35024),i=e(49217),l=e(7975);function c(f){return typeof f.constructor=="function"&&!l(f)?r(i(f)):{}}d.exports=c},70213:function(d){var g=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(i,l){var c=typeof i;return l=l==null?g:l,!!l&&(c=="number"||c!="symbol"&&e.test(i))&&i>-1&&i%1==0&&i<l}d.exports=r},8138:function(d,g,e){var r=e(43607),i=e(24665),l=e(70213),c=e(20816);function f(s,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],s):!1}d.exports=f},94358:function(d){function g(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}d.exports=g},89379:function(d,g,e){var r=e(64218),i=function(){var c=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function l(c){return!!i&&i in c}d.exports=l},7975:function(d){var g=Object.prototype;function e(r){var i=r&&r.constructor,l=typeof i=="function"&&i.prototype||g;return r===l}d.exports=e},34251:function(d){function g(){this.__data__=[],this.size=0}d.exports=g},24968:function(d,g,e){var r=e(67971),i=Array.prototype,l=i.splice;function c(f){var s=this.__data__,h=r(s,f);if(h<0)return!1;var u=s.length-1;return h==u?s.pop():l.call(s,h,1),--this.size,!0}d.exports=c},28290:function(d,g,e){var r=e(67971);function i(l){var c=this.__data__,f=r(c,l);return f<0?void 0:c[f][1]}d.exports=i},88068:function(d,g,e){var r=e(67971);function i(l){return r(this.__data__,l)>-1}d.exports=i},54238:function(d,g,e){var r=e(67971);function i(l,c){var f=this.__data__,s=r(f,l);return s<0?(++this.size,f.push([l,c])):f[s][1]=c,this}d.exports=i},35365:function(d,g,e){var r=e(76414),i=e(99746),l=e(40164);function c(){this.size=0,this.__data__={hash:new r,map:new(l||i),string:new r}}d.exports=c},63765:function(d,g,e){var r=e(89819);function i(l){var c=r(this,l).delete(l);return this.size-=c?1:0,c}d.exports=i},12608:function(d,g,e){var r=e(89819);function i(l){return r(this,l).get(l)}d.exports=i},10203:function(d,g,e){var r=e(89819);function i(l){return r(this,l).has(l)}d.exports=i},11298:function(d,g,e){var r=e(89819);function i(l,c){var f=r(this,l),s=f.size;return f.set(l,c),this.size+=f.size==s?0:1,this}d.exports=i},65294:function(d,g,e){var r=e(73893),i=r(Object,"create");d.exports=i},97817:function(d){function g(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}d.exports=g},52495:function(d,g,e){d=e.nmd(d);var r=e(37675),i=g&&!g.nodeType&&g,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c&&r.process,s=function(){try{var h=l&&l.require&&l.require("util").types;return h||f&&f.binding&&f.binding("util")}catch(u){}}();d.exports=s},74702:function(d){var g=Object.prototype,e=g.toString;function r(i){return e.call(i)}d.exports=r},31030:function(d){function g(e,r){return function(i){return e(r(i))}}d.exports=g},19652:function(d,g,e){var r=e(79628),i=Math.max;function l(c,f,s){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]=s(x),r(c,this,p)}}d.exports=l},33152:function(d,g,e){var r=e(37675),i=typeof self=="object"&&self&&self.Object===Object&&self,l=r||i||Function("return this")();d.exports=l},47052:function(d){function g(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}d.exports=g},71152:function(d,g,e){var r=e(63989),i=e(12345),l=i(r);d.exports=l},12345:function(d){var g=800,e=16,r=Date.now;function i(l){var c=0,f=0;return function(){var s=r(),h=e-(s-f);if(f=s,h>0){if(++c>=g)return arguments[0]}else c=0;return l.apply(void 0,arguments)}}d.exports=i},31119:function(d,g,e){var r=e(99746);function i(){this.__data__=new r,this.size=0}d.exports=i},64399:function(d){function g(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}d.exports=g},81897:function(d){function g(e){return this.__data__.get(e)}d.exports=g},90558:function(d){function g(e){return this.__data__.has(e)}d.exports=g},64841:function(d,g,e){var r=e(99746),i=e(40164),l=e(52166),c=200;function f(s,h){var u=this.__data__;if(u instanceof r){var a=u.__data__;if(!i||a.length<c-1)return a.push([s,h]),this.size=++u.size,this;u=this.__data__=new l(a)}return u.set(s,h),this.size=u.size,this}d.exports=f},63256:function(d){var g=Function.prototype,e=g.toString;function r(i){if(i!=null){try{return e.call(i)}catch(l){}try{return i+""}catch(l){}}return""}d.exports=r},13503:function(d){function g(e){return function(){return e}}d.exports=g},43607:function(d){function g(e,r){return e===r||e!==e&&r!==r}d.exports=g},46962:function(d){function g(e){return e}d.exports=g},13053:function(d,g,e){var r=e(61506),i=e(93913),l=Object.prototype,c=l.hasOwnProperty,f=l.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(h){return i(h)&&c.call(h,"callee")&&!f.call(h,"callee")};d.exports=s},80744:function(d){var g=Array.isArray;d.exports=g},24665:function(d,g,e){var r=e(9363),i=e(11156);function l(c){return c!=null&&i(c.length)&&!r(c)}d.exports=l},41590:function(d,g,e){var r=e(24665),i=e(93913);function l(c){return i(c)&&r(c)}d.exports=l},57835:function(d,g,e){d=e.nmd(d);var r=e(33152),i=e(55950),l=g&&!g.nodeType&&g,c=l&&!0&&d&&!d.nodeType&&d,f=c&&c.exports===l,s=f?r.Buffer:void 0,h=s?s.isBuffer:void 0,u=h||i;d.exports=u},9363:function(d,g,e){var r=e(86756),i=e(20816),l="[object AsyncFunction]",c="[object Function]",f="[object GeneratorFunction]",s="[object Proxy]";function h(u){if(!i(u))return!1;var a=r(u);return a==c||a==f||a==l||a==s}d.exports=h},11156:function(d){var g=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=g}d.exports=e},20816:function(d){function g(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}d.exports=g},93913:function(d){function g(e){return e!=null&&typeof e=="object"}d.exports=g},19308:function(d,g,e){var r=e(86756),i=e(49217),l=e(93913),c="[object Object]",f=Function.prototype,s=Object.prototype,h=f.toString,u=s.hasOwnProperty,a=h.call(Object);function x(p){if(!l(p)||r(p)!=c)return!1;var y=i(p);if(y===null)return!0;var _=u.call(y,"constructor")&&y.constructor;return typeof _=="function"&&_ instanceof _&&h.call(_)==a}d.exports=x},18397:function(d,g,e){var r=e(10766),i=e(38342),l=e(52495),c=l&&l.isTypedArray,f=c?i(c):r;d.exports=f},56730:function(d,g,e){var r=e(63333),i=e(33988),l=e(24665);function c(f){return l(f)?r(f,!0):i(f)}d.exports=c},89392:function(d,g,e){d=e.nmd(d);var r;(function(){var i,l="4.17.21",c=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="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,R=1,L=2,T=4,D=8,B=16,$=32,U=64,V=128,K=256,G=512,oe=30,ae="...",le=800,Q=16,J=1,Y=2,ue=3,ne=1/0,ee=9007199254740991,ie=17976931348623157e292,F=NaN,M=4294967295,q=M-1,de=M>>>1,Ee=[["ary",V],["bind",R],["bindKey",L],["curry",D],["curryRight",B],["flip",G],["partial",$],["partialRight",U],["rearg",K]],Ce="[object Arguments]",je="[object Array]",Fe="[object AsyncFunction]",Ft="[object Boolean]",_t="[object Date]",Pt="[object DOMException]",Qt="[object Error]",er="[object Function]",Jt="[object GeneratorFunction]",Xe="[object Map]",It="[object Number]",zt="[object Null]",st="[object Object]",bt="[object Promise]",ht="[object Proxy]",Je="[object RegExp]",Ue="[object Set]",ge="[object String]",Ae="[object Symbol]",Me="[object Undefined]",$e="[object WeakMap]",He="[object WeakSet]",nt="[object ArrayBuffer]",ct="[object DataView]",Kt="[object Float32Array]",Wt="[object Float64Array]",De="[object Int8Array]",Qe="[object Int16Array]",Vt="[object Int32Array]",kt="[object Uint8Array]",Ht="[object Uint8ClampedArray]",$t="[object Uint16Array]",Ct="[object Uint32Array]",Yt=/\b__p \+= '';/g,Ge=/\b(__p \+=) '' \+/g,fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,Ot=/[&<>"']/g,Pe=RegExp(_e.source),dt=RegExp(Ot.source),Zt=/<%-([\s\S]+?)%>/g,Tt=/<%([\s\S]+?)%>/g,ke=/<%=([\s\S]+?)%>/g,St=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,Ke=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gt=/[\\^$.*+?()[\]{}|]/g,Rt=RegExp(gt.source),Be=/^\s+/,kr=/\s/,At=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Kr=/\{\n\/\* \[wrapped with (.+)\] \*/,Qr=/,? & /,Ar=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$r=/[()=,{}\[\]\/\s]/,_r=/\\(\\)?/g,Ur=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sn=/\w*$/,cn=/^[-+]0x[0-9a-f]+$/i,ur=/^0b[01]+$/i,Lt=/^\[object .+?Constructor\]$/,vt=/^0o[0-7]+$/i,yt=/^(?:0|[1-9]\d*)$/,jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Cr=/($^)/,yr=/['\n\r\u2028\u2029\\]/g,ot="\\ud800-\\udfff",Fr="\\u0300-\\u036f",mn="\\ufe20-\\ufe2f",Un="\\u20d0-\\u20ff",mr=Fr+mn+Un,en="\\u2700-\\u27bf",dn="a-z\\xdf-\\xf6\\xf8-\\xff",Fn="\\xac\\xb1\\xd7\\xf7",ei="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Nn="\\u2000-\\u206f",zi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",mi="A-Z\\xc0-\\xd6\\xd8-\\xde",xi="\\ufe0e\\ufe0f",vi=Fn+ei+Nn+zi,pi="['\u2019]",Yi="["+ot+"]",Yn="["+vi+"]",Vi="["+mr+"]",Et="\\d+",ut="["+en+"]",Xn="["+dn+"]",wi="[^"+ot+vi+Et+en+dn+mi+"]",qn="\\ud83c[\\udffb-\\udfff]",Zi="(?:"+Vi+"|"+qn+")",_i="[^"+ot+"]",Pi="(?:\\ud83c[\\udde6-\\uddff]){2}",Qn="[\\ud800-\\udbff][\\udc00-\\udfff]",tr="["+mi+"]",mt="\\u200d",rt="(?:"+Xn+"|"+wi+")",Dt="(?:"+tr+"|"+wi+")",pt="(?:"+pi+"(?:d|ll|m|re|s|t|ve))?",cr="(?:"+pi+"(?:D|LL|M|RE|S|T|VE))?",fr=Zi+"?",Ir="["+xi+"]?",Rr="(?:"+mt+"(?:"+[_i,Pi,Qn].join("|")+")"+Ir+fr+")*",Ze="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",et="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",we=Ir+fr+Rr,it="(?:"+[ut,Pi,Qn].join("|")+")"+we,ir="(?:"+[_i+Vi+"?",Vi,Pi,Qn,Yi].join("|")+")",Or=RegExp(pi,"g"),wr=RegExp(Vi,"g"),Tr=RegExp(qn+"(?="+qn+")|"+ir+we,"g"),Nr=RegExp([tr+"?"+Xn+"+"+pt+"(?="+[Yn,tr,"$"].join("|")+")",Dt+"+"+cr+"(?="+[Yn,tr+rt,"$"].join("|")+")",tr+"?"+rt+"+"+pt,tr+"+"+cr,et,Ze,Et,it].join("|"),"g"),gn=RegExp("["+mt+ot+mr+xi+"]"),Dr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,un=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tn=-1,ln={};ln[Kt]=ln[Wt]=ln[De]=ln[Qe]=ln[Vt]=ln[kt]=ln[Ht]=ln[$t]=ln[Ct]=!0,ln[Ce]=ln[je]=ln[nt]=ln[Ft]=ln[ct]=ln[_t]=ln[Qt]=ln[er]=ln[Xe]=ln[It]=ln[st]=ln[Je]=ln[Ue]=ln[ge]=ln[$e]=!1;var En={};En[Ce]=En[je]=En[nt]=En[ct]=En[Ft]=En[_t]=En[Kt]=En[Wt]=En[De]=En[Qe]=En[Vt]=En[Xe]=En[It]=En[st]=En[Je]=En[Ue]=En[ge]=En[Ae]=En[kt]=En[Ht]=En[$t]=En[Ct]=!0,En[Qt]=En[er]=En[$e]=!1;var la={\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"},gi={"&":"&","<":"<",">":">",'"':""","'":"'"},yi={"&":"&","<":"<",">":">",""":'"',"'":"'"},On={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Di=parseFloat,Fi=parseInt,oa=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,ws=typeof self=="object"&&self&&self.Object===Object&&self,Sa=oa||ws||Function("return this")(),Ha=g&&!g.nodeType&&g,Us=Ha&&!0&&d&&!d.nodeType&&d,ja=Us&&Us.exports===Ha,na=ja&&oa.process,Ai=function(){try{var or=Us&&Us.require&&Us.require("util").types;return or||na&&na.binding&&na.binding("util")}catch(Br){}}(),Ci=Ai&&Ai.isArrayBuffer,qa=Ai&&Ai.isDate,Cs=Ai&&Ai.isMap,Ni=Ai&&Ai.isRegExp,Ts=Ai&&Ai.isSet,xo=Ai&&Ai.isTypedArray;function La(or,Br,xr){switch(xr.length){case 0:return or.call(Br);case 1:return or.call(Br,xr[0]);case 2:return or.call(Br,xr[0],xr[1]);case 3:return or.call(Br,xr[0],xr[1],xr[2])}return or.apply(Br,xr)}function hs(or,Br,xr,pn){for(var jn=-1,ft=or==null?0:or.length;++jn<ft;){var Pn=or[jn];Br(pn,Pn,xr(Pn),or)}return pn}function Hi(or,Br){for(var xr=-1,pn=or==null?0:or.length;++xr<pn&&Br(or[xr],xr,or)!==!1;);return or}function Vs(or,Br){for(var xr=or==null?0:or.length;xr--&&Br(or[xr],xr,or)!==!1;);return or}function kn(or,Br){for(var xr=-1,pn=or==null?0:or.length;++xr<pn;)if(!Br(or[xr],xr,or))return!1;return!0}function Qa(or,Br){for(var xr=-1,pn=or==null?0:or.length,jn=0,ft=[];++xr<pn;){var Pn=or[xr];Br(Pn,xr,or)&&(ft[jn++]=Pn)}return ft}function uo(or,Br){var xr=or==null?0:or.length;return!!xr&&fs(or,Br,0)>-1}function Ls(or,Br,xr){for(var pn=-1,jn=or==null?0:or.length;++pn<jn;)if(xr(Br,or[pn]))return!0;return!1}function Ki(or,Br){for(var xr=-1,pn=or==null?0:or.length,jn=Array(pn);++xr<pn;)jn[xr]=Br(or[xr],xr,or);return jn}function Aa(or,Br){for(var xr=-1,pn=Br.length,jn=or.length;++xr<pn;)or[jn+xr]=Br[xr];return or}function Da(or,Br,xr,pn){var jn=-1,ft=or==null?0:or.length;for(pn&&ft&&(xr=or[++jn]);++jn<ft;)xr=Br(xr,or[jn],jn,or);return xr}function cs(or,Br,xr,pn){var jn=or==null?0:or.length;for(pn&&jn&&(xr=or[--jn]);jn--;)xr=Br(xr,or[jn],jn,or);return xr}function zs(or,Br){for(var xr=-1,pn=or==null?0:or.length;++xr<pn;)if(Br(or[xr],xr,or))return!0;return!1}var wo=li("length");function Eo(or){return or.split("")}function Zs(or){return or.match(Ar)||[]}function Ms(or,Br,xr){var pn;return xr(or,function(jn,ft,Pn){if(Br(jn,ft,Pn))return pn=ft,!1}),pn}function ca(or,Br,xr,pn){for(var jn=or.length,ft=xr+(pn?1:-1);pn?ft--:++ft<jn;)if(Br(or[ft],ft,or))return ft;return-1}function fs(or,Br,xr){return Br===Br?ko(or,Br,xr):ca(or,fo,xr)}function So(or,Br,xr,pn){for(var jn=xr-1,ft=or.length;++jn<ft;)if(pn(or[jn],Br))return jn;return-1}function fo(or){return or!==or}function Io(or,Br){var xr=or==null?0:or.length;return xr?Ua(or,Br)/xr:F}function li(or){return function(Br){return Br==null?i:Br[or]}}function ai(or){return function(Br){return or==null?i:or[Br]}}function Wa(or,Br,xr,pn,jn){return jn(or,function(ft,Pn,zn){xr=pn?(pn=!1,ft):Br(xr,ft,Pn,zn)}),xr}function ts(or,Br){var xr=or.length;for(or.sort(Br);xr--;)or[xr]=or[xr].value;return or}function Ua(or,Br){for(var xr,pn=-1,jn=or.length;++pn<jn;){var ft=Br(or[pn]);ft!==i&&(xr=xr===i?ft:xr+ft)}return xr}function Ao(or,Br){for(var xr=-1,pn=Array(or);++xr<or;)pn[xr]=Br(xr);return pn}function Do(or,Br){return Ki(Br,function(xr){return[xr,or[xr]]})}function Fo(or){return or&&or.slice(0,vr(or)+1).replace(Be,"")}function Ja(or){return function(Br){return or(Br)}}function du(or,Br){return Ki(Br,function(xr){return or[xr]})}function Co(or,Br){return or.has(Br)}function Xo(or,Br){for(var xr=-1,pn=or.length;++xr<pn&&fs(Br,or[xr],0)>-1;);return xr}function hu(or,Br){for(var xr=or.length;xr--&&fs(Br,or[xr],0)>-1;);return xr}function Pu(or,Br){for(var xr=or.length,pn=0;xr--;)or[xr]===Br&&++pn;return pn}var To=ai(la),Ps=ai(gi);function gu(or){return"\\"+On[or]}function Bo(or,Br){return or==null?i:or[Br]}function lo(or){return gn.test(or)}function zo(or){return Dr.test(or)}function ru(or){for(var Br,xr=[];!(Br=or.next()).done;)xr.push(Br.value);return xr}function qo(or){var Br=-1,xr=Array(or.size);return or.forEach(function(pn,jn){xr[++Br]=[jn,pn]}),xr}function Oo(or,Br){return function(xr){return or(Br(xr))}}function Fs(or,Br){for(var xr=-1,pn=or.length,jn=0,ft=[];++xr<pn;){var Pn=or[xr];(Pn===Br||Pn===x)&&(or[xr]=x,ft[jn++]=xr)}return ft}function Xs(or){var Br=-1,xr=Array(or.size);return or.forEach(function(pn){xr[++Br]=pn}),xr}function il(or){var Br=-1,xr=Array(or.size);return or.forEach(function(pn){xr[++Br]=[pn,pn]}),xr}function ko(or,Br,xr){for(var pn=xr-1,jn=or.length;++pn<jn;)if(or[pn]===Br)return pn;return-1}function qt(or,Br,xr){for(var pn=xr+1;pn--;)if(or[pn]===Br)return pn;return pn}function lr(or){return lo(or)?yn(or):wo(or)}function sr(or){return lo(or)?xn(or):Eo(or)}function vr(or){for(var Br=or.length;Br--&&kr.test(or.charAt(Br)););return Br}var Er=ai(yi);function yn(or){for(var Br=Tr.lastIndex=0;Tr.test(or);)++Br;return Br}function xn(or){return or.match(Tr)||[]}function Bn(or){return or.match(Nr)||[]}var Ln=function or(Br){Br=Br==null?Sa:Kn.defaults(Sa.Object(),Br,Kn.pick(Sa,un));var xr=Br.Array,pn=Br.Date,jn=Br.Error,ft=Br.Function,Pn=Br.Math,zn=Br.Object,si=Br.RegExp,qi=Br.String,Hr=Br.TypeError,ji=xr.prototype,ma=ft.prototype,zr=zn.prototype,Ca=Br["__core-js_shared__"],Es=ma.toString,fi=zr.hasOwnProperty,ro=0,po=function(){var E=/[^.]+$/.exec(Ca&&Ca.keys&&Ca.keys.IE_PROTO||"");return E?"Symbol(src)_1."+E:""}(),ds=zr.toString,Oa=Es.call(zn),qs=Sa._,Bs=si("^"+Es.call(fi).replace(gt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bn=ja?Br.Buffer:i,gs=Br.Symbol,Hs=Br.Uint8Array,Ye=bn?bn.allocUnsafe:i,qe=Oo(zn.getPrototypeOf,zn),Mt=zn.create,Gt=zr.propertyIsEnumerable,hr=ji.splice,Lr=gs?gs.isConcatSpreadable:i,jr=gs?gs.iterator:i,_n=gs?gs.toStringTag:i,rn=function(){try{var E=O(zn,"defineProperty");return E({},"",{}),E}catch(N){}}(),vn=Br.clearTimeout!==Sa.clearTimeout&&Br.clearTimeout,Wn=pn&&pn.now!==Sa.Date.now&&pn.now,ti=Br.setTimeout!==Sa.setTimeout&&Br.setTimeout,hi=Pn.ceil,Ii=Pn.floor,Qi=zn.getOwnPropertySymbols,Ri=bn?bn.isBuffer:i,Ei=Br.isFinite,fa=ji.join,Si=Oo(zn.keys,zn),bi=Pn.max,da=Pn.min,no=pn.now,Ss=Br.parseInt,Ma=Pn.random,Fa=ji.reverse,Ga=O(Br,"DataView"),Oi=O(Br,"Map"),va=O(Br,"Promise"),Ba=O(Br,"Set"),Ya=O(Br,"WeakMap"),ho=O(zn,"create"),rs=Ya&&new Ya,ba={},Ks=sa(Ga),Ra=sa(Oi),Ws=sa(va),ha=sa(Ba),Va=sa(Ya),Is=gs?gs.prototype:i,ga=Is?Is.valueOf:i,ye=Is?Is.toString:i;function Se(E){if(tu(E)&&!Xa(E)&&!(E instanceof Yr)){if(E instanceof br)return E;if(fi.call(E,"__wrapped__"))return vs(E)}return new br(E)}var gr=function(){function E(){}return function(N){if(!Yo(N))return{};if(Mt)return Mt(N);E.prototype=N;var he=new E;return E.prototype=i,he}}();function Jr(){}function br(E,N){this.__wrapped__=E,this.__actions__=[],this.__chain__=!!N,this.__index__=0,this.__values__=i}Se.templateSettings={escape:Zt,evaluate:Tt,interpolate:ke,variable:"",imports:{_:Se}},Se.prototype=Jr.prototype,Se.prototype.constructor=Se,br.prototype=gr(Jr.prototype),br.prototype.constructor=br;function Yr(E){this.__wrapped__=E,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=M,this.__views__=[]}function An(){var E=new Yr(this.__wrapped__);return E.__actions__=jo(this.__actions__),E.__dir__=this.__dir__,E.__filtered__=this.__filtered__,E.__iteratees__=jo(this.__iteratees__),E.__takeCount__=this.__takeCount__,E.__views__=jo(this.__views__),E}function Jn(){if(this.__filtered__){var E=new Yr(this);E.__dir__=-1,E.__filtered__=!0}else E=this.clone(),E.__dir__*=-1;return E}function Li(){var E=this.__wrapped__.value(),N=this.__dir__,he=Xa(E),Ne=N<0,xt=he?E.length:0,Xt=ni(0,xt,this.__views__),pr=Xt.start,Mr=Xt.end,Xr=Mr-pr,Tn=Ne?Mr:pr-1,Dn=this.__iteratees__,$n=Dn.length,Ti=0,ra=da(Xr,this.__takeCount__);if(!he||!Ne&&xt==Xr&&ra==Xr)return Lc(E,this.__actions__);var Pa=[];e:for(;Xr--&&Ti<ra;){Tn+=N;for(var ls=-1,Ia=E[Tn];++ls<$n;){var xs=Dn[ls],Rs=xs.iteratee,oc=xs.type,Sl=Rs(Ia);if(oc==Y)Ia=Sl;else if(!Sl){if(oc==J)continue e;break e}}Pa[Ti++]=Ia}return Pa}Yr.prototype=gr(Jr.prototype),Yr.prototype.constructor=Yr;function Rn(E){var N=-1,he=E==null?0:E.length;for(this.clear();++N<he;){var Ne=E[N];this.set(Ne[0],Ne[1])}}function Mn(){this.__data__=ho?ho(null):{},this.size=0}function Cn(E){var N=this.has(E)&&delete this.__data__[E];return this.size-=N?1:0,N}function ia(E){var N=this.__data__;if(ho){var he=N[E];return he===u?i:he}return fi.call(N,E)?N[E]:i}function Na(E){var N=this.__data__;return ho?N[E]!==i:fi.call(N,E)}function _o(E,N){var he=this.__data__;return this.size+=this.has(E)?0:1,he[E]=ho&&N===i?u:N,this}Rn.prototype.clear=Mn,Rn.prototype.delete=Cn,Rn.prototype.get=ia,Rn.prototype.has=Na,Rn.prototype.set=_o;function io(E){var N=-1,he=E==null?0:E.length;for(this.clear();++N<he;){var Ne=E[N];this.set(Ne[0],Ne[1])}}function nu(){this.__data__=[],this.size=0}function gl(E){var N=this.__data__,he=os(N,E);if(he<0)return!1;var Ne=N.length-1;return he==Ne?N.pop():hr.call(N,he,1),--this.size,!0}function al(E){var N=this.__data__,he=os(N,E);return he<0?i:N[he][1]}function Gu(E){return os(this.__data__,E)>-1}function Zc(E,N){var he=this.__data__,Ne=os(he,E);return Ne<0?(++this.size,he.push([E,N])):he[Ne][1]=N,this}io.prototype.clear=nu,io.prototype.delete=gl,io.prototype.get=al,io.prototype.has=Gu,io.prototype.set=Zc;function Iu(E){var N=-1,he=E==null?0:E.length;for(this.clear();++N<he;){var Ne=E[N];this.set(Ne[0],Ne[1])}}function We(){this.size=0,this.__data__={hash:new Rn,map:new(Oi||io),string:new Rn}}function W(E){var N=Uu(this,E).delete(E);return this.size-=N?1:0,N}function X(E){return Uu(this,E).get(E)}function te(E){return Uu(this,E).has(E)}function pe(E,N){var he=Uu(this,E),Ne=he.size;return he.set(E,N),this.size+=he.size==Ne?0:1,this}Iu.prototype.clear=We,Iu.prototype.delete=W,Iu.prototype.get=X,Iu.prototype.has=te,Iu.prototype.set=pe;function Te(E){var N=-1,he=E==null?0:E.length;for(this.__data__=new Iu;++N<he;)this.add(E[N])}function Ve(E){return this.__data__.set(E,u),this}function wt(E){return this.__data__.has(E)}Te.prototype.add=Te.prototype.push=Ve,Te.prototype.has=wt;function Bt(E){var N=this.__data__=new io(E);this.size=N.size}function nr(){this.__data__=new io,this.size=0}function Pr(E){var N=this.__data__,he=N.delete(E);return this.size=N.size,he}function Wr(E){return this.__data__.get(E)}function nn(E){return this.__data__.has(E)}function wn(E,N){var he=this.__data__;if(he instanceof io){var Ne=he.__data__;if(!Oi||Ne.length<c-1)return Ne.push([E,N]),this.size=++he.size,this;he=this.__data__=new Iu(Ne)}return he.set(E,N),this.size=he.size,this}Bt.prototype.clear=nr,Bt.prototype.delete=Pr,Bt.prototype.get=Wr,Bt.prototype.has=nn,Bt.prototype.set=wn;function In(E,N){var he=Xa(E),Ne=!he&&Lf(E),xt=!he&&!Ne&&If(E),Xt=!he&&!Ne&&!xt&&zf(E),pr=he||Ne||xt||Xt,Mr=pr?Ao(E.length,qi):[],Xr=Mr.length;for(var Tn in E)(N||fi.call(E,Tn))&&!(pr&&(Tn=="length"||xt&&(Tn=="offset"||Tn=="parent")||Xt&&(Tn=="buffer"||Tn=="byteLength"||Tn=="byteOffset")||js(Tn,Xr)))&&Mr.push(Tn);return Mr}function Zn(E){var N=E.length;return N?E[Lu(0,N-1)]:i}function di(E,N){return Mi(jo(E),$s(N,0,E.length))}function Sr(E){return Mi(jo(E))}function ea(E,N,he){(he!==i&&!Uc(E[N],he)||he===i&&!(N in E))&&Ta(E,N,he)}function aa(E,N,he){var Ne=E[N];(!(fi.call(E,N)&&Uc(Ne,he))||he===i&&!(N in E))&&Ta(E,N,he)}function os(E,N){for(var he=E.length;he--;)if(Uc(E[he][0],N))return he;return-1}function Ka(E,N,he,Ne){return mo(E,function(xt,Xt,pr){N(Ne,xt,he(xt),pr)}),Ne}function ys(E,N){return E&&_u(N,Wu(N),E)}function bs(E,N){return E&&_u(N,Zl(N),E)}function Ta(E,N,he){N=="__proto__"&&rn?rn(E,N,{configurable:!0,enumerable:!0,value:he,writable:!0}):E[N]=he}function Ns(E,N){for(var he=-1,Ne=N.length,xt=xr(Ne),Xt=E==null;++he<Ne;)xt[he]=Xt?i:sd(E,N[he]);return xt}function $s(E,N,he){return E===E&&(he!==i&&(E=E<=he?E:he),N!==i&&(E=E>=N?E:N)),E}function pa(E,N,he,Ne,xt,Xt){var pr,Mr=N&p,Xr=N&y,Tn=N&_;if(he&&(pr=xt?he(E,Ne,xt,Xt):he(E)),pr!==i)return pr;if(!Yo(E))return E;var Dn=Xa(E);if(Dn){if(pr=es(E),!Mr)return jo(E,pr)}else{var $n=an(E),Ti=$n==er||$n==Jt;if(If(E))return lf(E,Mr);if($n==st||$n==Ce||Ti&&!xt){if(pr=Xr||Ti?{}:Ds(E),!Mr)return Xr?Su(E,bs(pr,E)):ll(E,ys(pr,E))}else{if(!En[$n])return xt?E:{};pr=ii(E,$n,Mr)}}Xt||(Xt=new Bt);var ra=Xt.get(E);if(ra)return ra;Xt.set(E,pr),gd(E)?E.forEach(function(Ia){pr.add(pa(Ia,N,he,Ia,E,Xt))}):md(E)&&E.forEach(function(Ia,xs){pr.set(xs,pa(Ia,N,he,xs,E,Xt))});var Pa=Tn?Xr?Ml:Ll:Xr?Zl:Wu,ls=Dn?i:Pa(E);return Hi(ls||E,function(Ia,xs){ls&&(xs=Ia,Ia=E[xs]),aa(pr,xs,pa(Ia,N,he,xs,E,Xt))}),pr}function Qs(E){var N=Wu(E);return function(he){return Po(he,E,N)}}function Po(E,N,he){var Ne=he.length;if(E==null)return!Ne;for(E=zn(E);Ne--;){var xt=he[Ne],Xt=N[xt],pr=E[xt];if(pr===i&&!(xt in E)||!Xt(pr))return!1}return!0}function Ro(E,N,he){if(typeof E!="function")throw new Hr(s);return ac(function(){E.apply(i,he)},N)}function za(E,N,he,Ne){var xt=-1,Xt=uo,pr=!0,Mr=E.length,Xr=[],Tn=N.length;if(!Mr)return Xr;he&&(N=Ki(N,Ja(he))),Ne?(Xt=Ls,pr=!1):N.length>=c&&(Xt=Co,pr=!1,N=new Te(N));e:for(;++xt<Mr;){var Dn=E[xt],$n=he==null?Dn:he(Dn);if(Dn=Ne||Dn!==0?Dn:0,pr&&$n===$n){for(var Ti=Tn;Ti--;)if(N[Ti]===$n)continue e;Xr.push(Dn)}else Xt(N,$n,Ne)||Xr.push(Dn)}return Xr}var mo=Mo(No),iu=Mo(vo,!0);function Al(E,N){var he=!0;return mo(E,function(Ne,xt,Xt){return he=!!N(Ne,xt,Xt),he}),he}function sl(E,N,he){for(var Ne=-1,xt=E.length;++Ne<xt;){var Xt=E[Ne],pr=N(Xt);if(pr!=null&&(Mr===i?pr===pr&&!sc(pr):he(pr,Mr)))var Mr=pr,Xr=Xt}return Xr}function Za(E,N,he,Ne){var xt=E.length;for(he=ss(he),he<0&&(he=-he>xt?0:xt+he),Ne=Ne===i||Ne>xt?xt:ss(Ne),Ne<0&&(Ne+=xt),Ne=he>Ne?0:bd(Ne);he<Ne;)E[he++]=N;return E}function Du(E,N){var he=[];return mo(E,function(Ne,xt,Xt){N(Ne,xt,Xt)&&he.push(Ne)}),he}function ns(E,N,he,Ne,xt){var Xt=-1,pr=E.length;for(he||(he=bo),xt||(xt=[]);++Xt<pr;){var Mr=E[Xt];N>0&&he(Mr)?N>1?ns(Mr,N-1,he,Ne,xt):Aa(xt,Mr):Ne||(xt[xt.length]=Mr)}return xt}var pu=gc(),Ou=gc(!0);function No(E,N){return E&&pu(E,N,Wu)}function vo(E,N){return E&&Ou(E,N,Wu)}function Vu(E,N){return Qa(N,function(he){return yf(E[he])})}function au(E,N){N=Fu(N,E);for(var he=0,Ne=N.length;E!=null&&he<Ne;)E=E[Ui(N[he++])];return he&&he==Ne?E:i}function Wl(E,N,he){var Ne=N(E);return Xa(E)?Ne:Aa(Ne,he(E))}function Js(E){return E==null?E===i?Me:zt:_n&&_n in zn(E)?k(E):nc(E)}function Zo(E,N){return E>N}function ku(E,N){return E!=null&&fi.call(E,N)}function Gl(E,N){return E!=null&&N in zn(E)}function yu(E,N,he){return E>=da(N,he)&&E<bi(N,he)}function lc(E,N,he){for(var Ne=he?Ls:uo,xt=E[0].length,Xt=E.length,pr=Xt,Mr=xr(Xt),Xr=1/0,Tn=[];pr--;){var Dn=E[pr];pr&&N&&(Dn=Ki(Dn,Ja(N))),Xr=da(Dn.length,Xr),Mr[pr]=!he&&(N||xt>=120&&Dn.length>=120)?new Te(pr&&Dn):i}Dn=E[0];var $n=-1,Ti=Mr[0];e:for(;++$n<xt&&Tn.length<Xr;){var ra=Dn[$n],Pa=N?N(ra):ra;if(ra=he||ra!==0?ra:0,!(Ti?Co(Ti,Pa):Ne(Tn,Pa,he))){for(pr=Xt;--pr;){var ls=Mr[pr];if(!(ls?Co(ls,Pa):Ne(E[pr],Pa,he)))continue e}Ti&&Ti.push(Pa),Tn.push(ra)}}return Tn}function Ku(E,N,he,Ne){return No(E,function(xt,Xt,pr){N(Ne,he(xt),Xt,pr)}),Ne}function ol(E,N,he){N=Fu(N,E),E=Zu(E,N);var Ne=E==null?E:E[Ui(Ko(N))];return Ne==null?i:La(Ne,E,he)}function Cc(E){return tu(E)&&Js(E)==Ce}function ao(E){return tu(E)&&Js(E)==nt}function cc(E){return tu(E)&&Js(E)==_t}function su(E,N,he,Ne,xt){return E===N?!0:E==null||N==null||!tu(E)&&!tu(N)?E!==E&&N!==N:ul(E,N,he,Ne,su,xt)}function ul(E,N,he,Ne,xt,Xt){var pr=Xa(E),Mr=Xa(N),Xr=pr?je:an(E),Tn=Mr?je:an(N);Xr=Xr==Ce?st:Xr,Tn=Tn==Ce?st:Tn;var Dn=Xr==st,$n=Tn==st,Ti=Xr==Tn;if(Ti&&If(E)){if(!If(N))return!1;pr=!0,Dn=!1}if(Ti&&!Dn)return Xt||(Xt=new Bt),pr||zf(E)?xc(E,N,he,Ne,xt,Xt):tc(E,N,Xr,he,Ne,xt,Xt);if(!(he&b)){var ra=Dn&&fi.call(E,"__wrapped__"),Pa=$n&&fi.call(N,"__wrapped__");if(ra||Pa){var ls=ra?E.value():E,Ia=Pa?N.value():N;return Xt||(Xt=new Bt),xt(ls,Ia,he,Ne,Xt)}}return Ti?(Xt||(Xt=new Bt),ff(E,N,he,Ne,xt,Xt)):!1}function ou(E){return tu(E)&&an(E)==Xe}function Tc(E,N,he,Ne){var xt=he.length,Xt=xt,pr=!Ne;if(E==null)return!Xt;for(E=zn(E);xt--;){var Mr=he[xt];if(pr&&Mr[2]?Mr[1]!==E[Mr[0]]:!(Mr[0]in E))return!1}for(;++xt<Xt;){Mr=he[xt];var Xr=Mr[0],Tn=E[Xr],Dn=Mr[1];if(pr&&Mr[2]){if(Tn===i&&!(Xr in E))return!1}else{var $n=new Bt;if(Ne)var Ti=Ne(Tn,Dn,Xr,E,N,$n);if(!(Ti===i?su(Dn,Tn,b|S,Ne,$n):Ti))return!1}}return!0}function Hc(E){if(!Yo(E)||Bl(E))return!1;var N=yf(E)?Bs:Lt;return N.test(sa(E))}function oi(E){return tu(E)&&Js(E)==Je}function Pc(E){return tu(E)&&an(E)==Ue}function Wc(E){return tu(E)&&qf(E.length)&&!!ln[Js(E)]}function $o(E){return typeof E=="function"?E:E==null?Hl:typeof E=="object"?Xa(E)?$a(E[0],E[1]):Kl(E):Od(E)}function Cl(E){if(!Au(E))return Si(E);var N=[];for(var he in zn(E))fi.call(E,he)&&he!="constructor"&&N.push(he);return N}function Ic(E){if(!Yo(E))return zu(E);var N=Au(E),he=[];for(var Ne in E)Ne=="constructor"&&(N||!fi.call(E,Ne))||he.push(Ne);return he}function Vl(E,N){return E<N}function bu(E,N){var he=-1,Ne=zl(E)?xr(E.length):[];return mo(E,function(xt,Xt,pr){Ne[++he]=N(xt,Xt,pr)}),Ne}function Kl(E){var N=C(E);return N.length==1&&N[0][2]?wc(N[0][0],N[0][1]):function(he){return he===E||Tc(he,E,N)}}function $a(E,N){return bl(E)&&rc(N)?wc(Ui(E),N):function(he){var Ne=sd(he,E);return Ne===i&&Ne===N?od(he,E):su(N,Ne,b|S)}}function eo(E,N,he,Ne,xt){E!==N&&pu(N,function(Xt,pr){if(xt||(xt=new Bt),Yo(Xt))Ho(E,N,pr,he,eo,Ne,xt);else{var Mr=Ne?Ne(ic(E,pr),Xt,pr+"",E,N,xt):i;Mr===i&&(Mr=Xt),ea(E,pr,Mr)}},Zl)}function Ho(E,N,he,Ne,xt,Xt,pr){var Mr=ic(E,he),Xr=ic(N,he),Tn=pr.get(Xr);if(Tn){ea(E,he,Tn);return}var Dn=Xt?Xt(Mr,Xr,he+"",E,N,pr):i,$n=Dn===i;if($n){var Ti=Xa(Xr),ra=!Ti&&If(Xr),Pa=!Ti&&!ra&&zf(Xr);Dn=Xr,Ti||ra||Pa?Xa(Mr)?Dn=Mr:cu(Mr)?Dn=jo(Mr):ra?($n=!1,Dn=lf(Xr,!0)):Pa?($n=!1,Dn=Ql(Xr,!0)):Dn=[]:Vf(Xr)||Lf(Xr)?(Dn=Mr,Lf(Mr)?Dn=xd(Mr):(!Yo(Mr)||yf(Mr))&&(Dn=Ds(Xr))):$n=!1}$n&&(pr.set(Xr,Dn),xt(Dn,Xr,Ne,Xt,pr),pr.delete(Xr)),ea(E,he,Dn)}function Yu(E,N){var he=E.length;if(he)return N+=N<0?he:0,js(N,he)?E[N]:i}function Yl(E,N,he){N.length?N=Ki(N,function(Xt){return Xa(Xt)?function(pr){return au(pr,Xt.length===1?Xt[0]:Xt)}:Xt}):N=[Hl];var Ne=-1;N=Ki(N,Ja(ui()));var xt=bu(E,function(Xt,pr,Mr){var Xr=Ki(N,function(Tn){return Tn(Xt)});return{criteria:Xr,index:++Ne,value:Xt}});return ts(xt,function(Xt,pr){return Il(Xt,pr,he)})}function Qo(E,N){return Dc(E,N,function(he,Ne){return od(E,Ne)})}function Dc(E,N,he){for(var Ne=-1,xt=N.length,Xt={};++Ne<xt;){var pr=N[Ne],Mr=au(E,pr);he(Mr,pr)&&Mu(Xt,Fu(pr,E),Mr)}return Xt}function xu(E){return function(N){return au(N,E)}}function Ru(E,N,he,Ne){var xt=Ne?So:fs,Xt=-1,pr=N.length,Mr=E;for(E===N&&(N=jo(N)),he&&(Mr=Ki(E,Ja(he)));++Xt<pr;)for(var Xr=0,Tn=N[Xt],Dn=he?he(Tn):Tn;(Xr=xt(Mr,Dn,Xr,Ne))>-1;)Mr!==E&&hr.call(Mr,Xr,1),hr.call(E,Xr,1);return E}function wu(E,N){for(var he=E?N.length:0,Ne=he-1;he--;){var xt=N[he];if(he==Ne||xt!==Xt){var Xt=xt;js(xt)?hr.call(E,xt,1):Pl(E,xt)}}return E}function Lu(E,N){return E+Ii(Ma()*(N-E+1))}function fc(E,N,he,Ne){for(var xt=-1,Xt=bi(hi((N-E)/(he||1)),0),pr=xr(Xt);Xt--;)pr[Ne?Xt:++xt]=E,E+=he;return pr}function Tl(E,N){var he="";if(!E||N<1||N>ee)return he;do N%2&&(he+=E),N=Ii(N/2),N&&(E+=E);while(N);return he}function ka(E,N){return Nl(Go(E,N,Hl),E+"")}function sf(E){return Zn(Zf(E))}function of(E,N){var he=Zf(E);return Mi(he,$s(N,0,he.length))}function Mu(E,N,he,Ne){if(!Yo(E))return E;N=Fu(N,E);for(var xt=-1,Xt=N.length,pr=Xt-1,Mr=E;Mr!=null&&++xt<Xt;){var Xr=Ui(N[xt]),Tn=he;if(Xr==="__proto__"||Xr==="constructor"||Xr==="prototype")return E;if(xt!=pr){var Dn=Mr[Xr];Tn=Ne?Ne(Dn,Xr,Mr):i,Tn===i&&(Tn=Yo(Dn)?Dn:js(N[xt+1])?[]:{})}aa(Mr,Xr,Tn),Mr=Mr[Xr]}return E}var Xu=rs?function(E,N){return rs.set(E,N),E}:Hl,wf=rn?function(E,N){return rn(E,"toString",{configurable:!0,enumerable:!1,value:ld(N),writable:!0})}:Hl;function Oc(E){return Mi(Zf(E))}function uu(E,N,he){var Ne=-1,xt=E.length;N<0&&(N=-N>xt?0:xt+N),he=he>xt?xt:he,he<0&&(he+=xt),xt=N>he?0:he-N>>>0,N>>>=0;for(var Xt=xr(xt);++Ne<xt;)Xt[Ne]=E[Ne+N];return Xt}function kc(E,N){var he;return mo(E,function(Ne,xt,Xt){return he=N(Ne,xt,Xt),!he}),!!he}function dc(E,N,he){var Ne=0,xt=E==null?Ne:E.length;if(typeof N=="number"&&N===N&&xt<=de){for(;Ne<xt;){var Xt=Ne+xt>>>1,pr=E[Xt];pr!==null&&!sc(pr)&&(he?pr<=N:pr<N)?Ne=Xt+1:xt=Xt}return xt}return Xl(E,N,Hl,he)}function Xl(E,N,he,Ne){var xt=0,Xt=E==null?0:E.length;if(Xt===0)return 0;N=he(N);for(var pr=N!==N,Mr=N===null,Xr=sc(N),Tn=N===i;xt<Xt;){var Dn=Ii((xt+Xt)/2),$n=he(E[Dn]),Ti=$n!==i,ra=$n===null,Pa=$n===$n,ls=sc($n);if(pr)var Ia=Ne||Pa;else Tn?Ia=Pa&&(Ne||Ti):Mr?Ia=Pa&&Ti&&(Ne||!ra):Xr?Ia=Pa&&Ti&&!ra&&(Ne||!ls):ra||ls?Ia=!1:Ia=Ne?$n<=N:$n<N;Ia?xt=Dn+1:Xt=Dn}return da(Xt,q)}function Rc(E,N){for(var he=-1,Ne=E.length,xt=0,Xt=[];++he<Ne;){var pr=E[he],Mr=N?N(pr):pr;if(!he||!Uc(Mr,Xr)){var Xr=Mr;Xt[xt++]=pr===0?0:pr}}return Xt}function hc(E){return typeof E=="number"?E:sc(E)?F:+E}function Jo(E){if(typeof E=="string")return E;if(Xa(E))return Ki(E,Jo)+"";if(sc(E))return ye?ye.call(E):"";var N=E+"";return N=="0"&&1/E==-ne?"-0":N}function qu(E,N,he){var Ne=-1,xt=uo,Xt=E.length,pr=!0,Mr=[],Xr=Mr;if(he)pr=!1,xt=Ls;else if(Xt>=c){var Tn=N?null:Yc(E);if(Tn)return Xs(Tn);pr=!1,xt=Co,Xr=new Te}else Xr=N?[]:Mr;e:for(;++Ne<Xt;){var Dn=E[Ne],$n=N?N(Dn):Dn;if(Dn=he||Dn!==0?Dn:0,pr&&$n===$n){for(var Ti=Xr.length;Ti--;)if(Xr[Ti]===$n)continue e;N&&Xr.push($n),Mr.push(Dn)}else xt(Xr,$n,he)||(Xr!==Mr&&Xr.push($n),Mr.push(Dn))}return Mr}function Pl(E,N){return N=Fu(N,E),E=Zu(E,N),E==null||delete E[Ui(Ko(N))]}function pc(E,N,he,Ne){return Mu(E,N,he(au(E,N)),Ne)}function _c(E,N,he,Ne){for(var xt=E.length,Xt=Ne?xt:-1;(Ne?Xt--:++Xt<xt)&&N(E[Xt],Xt,E););return he?uu(E,Ne?0:Xt,Ne?Xt+1:xt):uu(E,Ne?Xt+1:0,Ne?xt:Xt)}function Lc(E,N){var he=E;return he instanceof Yr&&(he=he.value()),Da(N,function(Ne,xt){return xt.func.apply(xt.thisArg,Aa([Ne],xt.args))},he)}function ql(E,N,he){var Ne=E.length;if(Ne<2)return Ne?qu(E[0]):[];for(var xt=-1,Xt=xr(Ne);++xt<Ne;)for(var pr=E[xt],Mr=-1;++Mr<Ne;)Mr!=xt&&(Xt[xt]=za(Xt[xt]||pr,E[Mr],N,he));return qu(ns(Xt,1),N,he)}function uf(E,N,he){for(var Ne=-1,xt=E.length,Xt=N.length,pr={};++Ne<xt;){var Mr=Ne<Xt?N[Ne]:i;he(pr,E[Ne],Mr)}return pr}function Mc(E){return cu(E)?E:[]}function Gc(E){return typeof E=="function"?E:Hl}function Fu(E,N){return Xa(E)?E:bl(E,N)?[E]:xa(oo(E))}var Eu=ka;function ps(E,N,he){var Ne=E.length;return he=he===i?Ne:he,!N&&he>=Ne?E:uu(E,N,he)}var Vc=vn||function(E){return Sa.clearTimeout(E)};function lf(E,N){if(N)return E.slice();var he=E.length,Ne=Ye?Ye(he):new E.constructor(he);return E.copy(Ne),Ne}function mc(E){var N=new E.constructor(E.byteLength);return new Hs(N).set(new Hs(E)),N}function so(E,N){var he=N?mc(E.buffer):E.buffer;return new E.constructor(he,E.byteOffset,E.byteLength)}function vc(E){var N=new E.constructor(E.source,sn.exec(E));return N.lastIndex=E.lastIndex,N}function Lo(E){return ga?zn(ga.call(E)):{}}function Ql(E,N){var he=N?mc(E.buffer):E.buffer;return new E.constructor(he,E.byteOffset,E.length)}function Re(E,N){if(E!==N){var he=E!==i,Ne=E===null,xt=E===E,Xt=sc(E),pr=N!==i,Mr=N===null,Xr=N===N,Tn=sc(N);if(!Mr&&!Tn&&!Xt&&E>N||Xt&&pr&&Xr&&!Mr&&!Tn||Ne&&pr&&Xr||!he&&Xr||!xt)return 1;if(!Ne&&!Xt&&!Tn&&E<N||Tn&&he&&xt&&!Ne&&!Xt||Mr&&he&&xt||!pr&&xt||!Xr)return-1}return 0}function Il(E,N,he){for(var Ne=-1,xt=E.criteria,Xt=N.criteria,pr=xt.length,Mr=he.length;++Ne<pr;){var Xr=Re(xt[Ne],Xt[Ne]);if(Xr){if(Ne>=Mr)return Xr;var Tn=he[Ne];return Xr*(Tn=="desc"?-1:1)}}return E.index-N.index}function go(E,N,he,Ne){for(var xt=-1,Xt=E.length,pr=he.length,Mr=-1,Xr=N.length,Tn=bi(Xt-pr,0),Dn=xr(Xr+Tn),$n=!Ne;++Mr<Xr;)Dn[Mr]=N[Mr];for(;++xt<pr;)($n||xt<Xt)&&(Dn[he[xt]]=E[xt]);for(;Tn--;)Dn[Mr++]=E[xt++];return Dn}function Jl(E,N,he,Ne){for(var xt=-1,Xt=E.length,pr=-1,Mr=he.length,Xr=-1,Tn=N.length,Dn=bi(Xt-Mr,0),$n=xr(Dn+Tn),Ti=!Ne;++xt<Dn;)$n[xt]=E[xt];for(var ra=xt;++Xr<Tn;)$n[ra+Xr]=N[Xr];for(;++pr<Mr;)(Ti||xt<Xt)&&($n[ra+he[pr]]=E[xt++]);return $n}function jo(E,N){var he=-1,Ne=E.length;for(N||(N=xr(Ne));++he<Ne;)N[he]=E[he];return N}function _u(E,N,he,Ne){var xt=!he;he||(he={});for(var Xt=-1,pr=N.length;++Xt<pr;){var Mr=N[Xt],Xr=Ne?Ne(he[Mr],E[Mr],Mr,he,E):i;Xr===i&&(Xr=E[Mr]),xt?Ta(he,Mr,Xr):aa(he,Mr,Xr)}return he}function ll(E,N){return _u(E,me(E),N)}function Su(E,N){return _u(E,ze(E),N)}function yo(E,N){return function(he,Ne){var xt=Xa(he)?hs:Ka,Xt=N?N():{};return xt(he,E,ui(Ne,2),Xt)}}function cl(E){return ka(function(N,he){var Ne=-1,xt=he.length,Xt=xt>1?he[xt-1]:i,pr=xt>2?he[2]:i;for(Xt=E.length>3&&typeof Xt=="function"?(xt--,Xt):i,pr&&to(he[0],he[1],pr)&&(Xt=xt<3?i:Xt,xt=1),N=zn(N);++Ne<xt;){var Mr=he[Ne];Mr&&E(N,Mr,Ne,Xt)}return N})}function Mo(E,N){return function(he,Ne){if(he==null)return he;if(!zl(he))return E(he,Ne);for(var xt=he.length,Xt=N?xt:-1,pr=zn(he);(N?Xt--:++Xt<xt)&&Ne(pr[Xt],Xt,pr)!==!1;);return he}}function gc(E){return function(N,he,Ne){for(var xt=-1,Xt=zn(N),pr=Ne(N),Mr=pr.length;Mr--;){var Xr=pr[E?Mr:++xt];if(he(Xt[Xr],Xr,Xt)===!1)break}return N}}function fl(E,N,he){var Ne=N&R,xt=Bu(E);function Xt(){var pr=this&&this!==Sa&&this instanceof Xt?xt:E;return pr.apply(Ne?he:this,arguments)}return Xt}function Dl(E){return function(N){N=oo(N);var he=lo(N)?sr(N):i,Ne=he?he[0]:N.charAt(0),xt=he?ps(he,1).join(""):N.slice(1);return Ne[E]()+xt}}function dl(E){return function(N){return Da(Id(Pd(N).replace(Or,"")),E,"")}}function Bu(E){return function(){var N=arguments;switch(N.length){case 0:return new E;case 1:return new E(N[0]);case 2:return new E(N[0],N[1]);case 3:return new E(N[0],N[1],N[2]);case 4:return new E(N[0],N[1],N[2],N[3]);case 5:return new E(N[0],N[1],N[2],N[3],N[4]);case 6:return new E(N[0],N[1],N[2],N[3],N[4],N[5]);case 7:return new E(N[0],N[1],N[2],N[3],N[4],N[5],N[6])}var he=gr(E.prototype),Ne=E.apply(he,N);return Yo(Ne)?Ne:he}}function yc(E,N,he){var Ne=Bu(E);function xt(){for(var Xt=arguments.length,pr=xr(Xt),Mr=Xt,Xr=Gs(xt);Mr--;)pr[Mr]=arguments[Mr];var Tn=Xt<3&&pr[0]!==Xr&&pr[Xt-1]!==Xr?[]:Fs(pr,Xr);if(Xt-=Tn.length,Xt<he)return Wo(E,N,mu,xt.placeholder,i,pr,Tn,i,i,he-Xt);var Dn=this&&this!==Sa&&this instanceof xt?Ne:E;return La(Dn,this,pr)}return xt}function Kc(E){return function(N,he,Ne){var xt=zn(N);if(!zl(N)){var Xt=ui(he,3);N=Wu(N),he=function(Mr){return Xt(xt[Mr],Mr,xt)}}var pr=E(N,he,Ne);return pr>-1?xt[Xt?N[pr]:pr]:i}}function Qu(E){return ju(function(N){var he=N.length,Ne=he,xt=br.prototype.thru;for(E&&N.reverse();Ne--;){var Xt=N[Ne];if(typeof Xt!="function")throw new Hr(s);if(xt&&!pr&&_s(Xt)=="wrapper")var pr=new br([],!0)}for(Ne=pr?Ne:he;++Ne<he;){Xt=N[Ne];var Mr=_s(Xt),Xr=Mr=="wrapper"?$i(Xt):i;Xr&&xl(Xr[0])&&Xr[1]==(V|D|$|K)&&!Xr[4].length&&Xr[9]==1?pr=pr[_s(Xr[0])].apply(pr,Xr[3]):pr=Xt.length==1&&xl(Xt)?pr[Mr]():pr.thru(Xt)}return function(){var Tn=arguments,Dn=Tn[0];if(pr&&Tn.length==1&&Xa(Dn))return pr.plant(Dn).value();for(var $n=0,Ti=he?N[$n].apply(this,Tn):Dn;++$n<he;)Ti=N[$n].call(this,Ti);return Ti}})}function mu(E,N,he,Ne,xt,Xt,pr,Mr,Xr,Tn){var Dn=N&V,$n=N&R,Ti=N&L,ra=N&(D|B),Pa=N&G,ls=Ti?i:Bu(E);function Ia(){for(var xs=arguments.length,Rs=xr(xs),oc=xs;oc--;)Rs[oc]=arguments[oc];if(ra)var Sl=Gs(Ia),uc=Pu(Rs,Sl);if(Ne&&(Rs=go(Rs,Ne,xt,ra)),Xt&&(Rs=Jl(Rs,Xt,pr,ra)),xs-=uc,ra&&xs<Tn){var fu=Fs(Rs,Sl);return Wo(E,N,mu,Ia.placeholder,he,Rs,fu,Mr,Xr,Tn-xs)}var zc=$n?he:this,xf=Ti?zc[E]:E;return xs=Rs.length,Mr?Rs=wl(Rs,Mr):Pa&&xs>1&&Rs.reverse(),Dn&&Xr<xs&&(Rs.length=Xr),this&&this!==Sa&&this instanceof Ia&&(xf=ls||Bu(xf)),xf.apply(zc,Rs)}return Ia}function ec(E,N){return function(he,Ne){return Ku(he,E,N(Ne),{})}}function Ol(E,N){return function(he,Ne){var xt;if(he===i&&Ne===i)return N;if(he!==i&&(xt=he),Ne!==i){if(xt===i)return Ne;typeof he=="string"||typeof Ne=="string"?(he=Jo(he),Ne=Jo(Ne)):(he=hc(he),Ne=hc(Ne)),xt=E(he,Ne)}return xt}}function eu(E){return ju(function(N){return N=Ki(N,Ja(ui())),ka(function(he){var Ne=this;return E(N,function(xt){return La(xt,Ne,he)})})})}function kl(E,N){N=N===i?" ":Jo(N);var he=N.length;if(he<2)return he?Tl(N,E):N;var Ne=Tl(N,hi(E/lr(N)));return lo(N)?ps(sr(Ne),0,E).join(""):Ne.slice(0,E)}function bc(E,N,he,Ne){var xt=N&R,Xt=Bu(E);function pr(){for(var Mr=-1,Xr=arguments.length,Tn=-1,Dn=Ne.length,$n=xr(Dn+Xr),Ti=this&&this!==Sa&&this instanceof pr?Xt:E;++Tn<Dn;)$n[Tn]=Ne[Tn];for(;Xr--;)$n[Tn++]=arguments[++Mr];return La(Ti,xt?he:this,$n)}return pr}function cf(E){return function(N,he,Ne){return Ne&&typeof Ne!="number"&&to(N,he,Ne)&&(he=Ne=i),N=bf(N),he===i?(he=N,N=0):he=bf(he),Ne=Ne===i?N<he?1:-1:bf(Ne),fc(N,he,Ne,E)}}function Rl(E){return function(N,he){return typeof N=="string"&&typeof he=="string"||(N=Ac(N),he=Ac(he)),E(N,he)}}function Wo(E,N,he,Ne,xt,Xt,pr,Mr,Xr,Tn){var Dn=N&D,$n=Dn?pr:i,Ti=Dn?i:pr,ra=Dn?Xt:i,Pa=Dn?i:Xt;N|=Dn?$:U,N&=~(Dn?U:$),N&T||(N&=~(R|L));var ls=[E,N,xt,ra,$n,Pa,Ti,Mr,Xr,Tn],Ia=he.apply(i,ls);return xl(E)&&Tu(Ia,ls),Ia.placeholder=Ne,Sn(Ia,E,N)}function yl(E){var N=Pn[E];return function(he,Ne){if(he=Ac(he),Ne=Ne==null?0:da(ss(Ne),292),Ne&&Ei(he)){var xt=(oo(he)+"e").split("e"),Xt=N(xt[0]+"e"+(+xt[1]+Ne));return xt=(oo(Xt)+"e").split("e"),+(xt[0]+"e"+(+xt[1]-Ne))}return N(he)}}var Yc=Ba&&1/Xs(new Ba([,-0]))[1]==ne?function(E){return new Ba(E)}:dd;function Nu(E){return function(N){var he=an(N);return he==Xe?qo(N):he==Ue?il(N):Do(N,E(N))}}function $u(E,N,he,Ne,xt,Xt,pr,Mr){var Xr=N&L;if(!Xr&&typeof E!="function")throw new Hr(s);var Tn=Ne?Ne.length:0;if(Tn||(N&=~($|U),Ne=xt=i),pr=pr===i?pr:bi(ss(pr),0),Mr=Mr===i?Mr:ss(Mr),Tn-=xt?xt.length:0,N&U){var Dn=Ne,$n=xt;Ne=xt=i}var Ti=Xr?i:$i(E),ra=[E,N,he,Ne,xt,Dn,$n,Xt,pr,Mr];if(Ti&&ms(ra,Ti),E=ra[0],N=ra[1],he=ra[2],Ne=ra[3],xt=ra[4],Mr=ra[9]=ra[9]===i?Xr?0:E.length:bi(ra[9]-Tn,0),!Mr&&N&(D|B)&&(N&=~(D|B)),!N||N==R)var Pa=fl(E,N,he);else N==D||N==B?Pa=yc(E,N,Mr):(N==$||N==(R|$))&&!xt.length?Pa=bc(E,N,he,Ne):Pa=mu.apply(i,ra);var ls=Ti?Xu:Tu;return Sn(ls(Pa,ra),E,N)}function lu(E,N,he,Ne){return E===i||Uc(E,zr[he])&&!fi.call(Ne,he)?N:E}function Uo(E,N,he,Ne,xt,Xt){return Yo(E)&&Yo(N)&&(Xt.set(N,E),eo(E,N,i,Uo,Xt),Xt.delete(N)),E}function Xc(E){return Vf(E)?i:E}function xc(E,N,he,Ne,xt,Xt){var pr=he&b,Mr=E.length,Xr=N.length;if(Mr!=Xr&&!(pr&&Xr>Mr))return!1;var Tn=Xt.get(E),Dn=Xt.get(N);if(Tn&&Dn)return Tn==N&&Dn==E;var $n=-1,Ti=!0,ra=he&S?new Te:i;for(Xt.set(E,N),Xt.set(N,E);++$n<Mr;){var Pa=E[$n],ls=N[$n];if(Ne)var Ia=pr?Ne(ls,Pa,$n,N,E,Xt):Ne(Pa,ls,$n,E,N,Xt);if(Ia!==i){if(Ia)continue;Ti=!1;break}if(ra){if(!zs(N,function(xs,Rs){if(!Co(ra,Rs)&&(Pa===xs||xt(Pa,xs,he,Ne,Xt)))return ra.push(Rs)})){Ti=!1;break}}else if(!(Pa===ls||xt(Pa,ls,he,Ne,Xt))){Ti=!1;break}}return Xt.delete(E),Xt.delete(N),Ti}function tc(E,N,he,Ne,xt,Xt,pr){switch(he){case ct:if(E.byteLength!=N.byteLength||E.byteOffset!=N.byteOffset)return!1;E=E.buffer,N=N.buffer;case nt:return!(E.byteLength!=N.byteLength||!Xt(new Hs(E),new Hs(N)));case Ft:case _t:case It:return Uc(+E,+N);case Qt:return E.name==N.name&&E.message==N.message;case Je:case ge:return E==N+"";case Xe:var Mr=qo;case Ue:var Xr=Ne&b;if(Mr||(Mr=Xs),E.size!=N.size&&!Xr)return!1;var Tn=pr.get(E);if(Tn)return Tn==N;Ne|=S,pr.set(E,N);var Dn=xc(Mr(E),Mr(N),Ne,xt,Xt,pr);return pr.delete(E),Dn;case Ae:if(ga)return ga.call(E)==ga.call(N)}return!1}function ff(E,N,he,Ne,xt,Xt){var pr=he&b,Mr=Ll(E),Xr=Mr.length,Tn=Ll(N),Dn=Tn.length;if(Xr!=Dn&&!pr)return!1;for(var $n=Xr;$n--;){var Ti=Mr[$n];if(!(pr?Ti in N:fi.call(N,Ti)))return!1}var ra=Xt.get(E),Pa=Xt.get(N);if(ra&&Pa)return ra==N&&Pa==E;var ls=!0;Xt.set(E,N),Xt.set(N,E);for(var Ia=pr;++$n<Xr;){Ti=Mr[$n];var xs=E[Ti],Rs=N[Ti];if(Ne)var oc=pr?Ne(Rs,xs,Ti,N,E,Xt):Ne(xs,Rs,Ti,E,N,Xt);if(!(oc===i?xs===Rs||xt(xs,Rs,he,Ne,Xt):oc)){ls=!1;break}Ia||(Ia=Ti=="constructor")}if(ls&&!Ia){var Sl=E.constructor,uc=N.constructor;Sl!=uc&&"constructor"in E&&"constructor"in N&&!(typeof Sl=="function"&&Sl instanceof Sl&&typeof uc=="function"&&uc instanceof uc)&&(ls=!1)}return Xt.delete(E),Xt.delete(N),ls}function ju(E){return Nl(Go(E,i,df),E+"")}function Ll(E){return Wl(E,Wu,me)}function Ml(E){return Wl(E,Zl,ze)}var $i=rs?function(E){return rs.get(E)}:dd;function _s(E){for(var N=E.name+"",he=ba[N],Ne=fi.call(ba,N)?he.length:0;Ne--;){var xt=he[Ne],Xt=xt.func;if(Xt==null||Xt==E)return xt.name}return N}function Gs(E){var N=fi.call(Se,"placeholder")?Se:E;return N.placeholder}function ui(){var E=Se.iteratee||cd;return E=E===cd?$o:E,arguments.length?E(arguments[0],arguments[1]):E}function Uu(E,N){var he=E.__data__;return Fl(N)?he[typeof N=="string"?"string":"hash"]:he.map}function C(E){for(var N=Wu(E),he=N.length;he--;){var Ne=N[he],xt=E[Ne];N[he]=[Ne,xt,rc(xt)]}return N}function O(E,N){var he=Bo(E,N);return Hc(he)?he:i}function k(E){var N=fi.call(E,_n),he=E[_n];try{E[_n]=i;var Ne=!0}catch(Xt){}var xt=ds.call(E);return Ne&&(N?E[_n]=he:delete E[_n]),xt}var me=Qi?function(E){return E==null?[]:(E=zn(E),Qa(Qi(E),function(N){return Gt.call(E,N)}))}:hd,ze=Qi?function(E){for(var N=[];E;)Aa(N,me(E)),E=qe(E);return N}:hd,an=Js;(Ga&&an(new Ga(new ArrayBuffer(1)))!=ct||Oi&&an(new Oi)!=Xe||va&&an(va.resolve())!=bt||Ba&&an(new Ba)!=Ue||Ya&&an(new Ya)!=$e)&&(an=function(E){var N=Js(E),he=N==st?E.constructor:i,Ne=he?sa(he):"";if(Ne)switch(Ne){case Ks:return ct;case Ra:return Xe;case Ws:return bt;case ha:return Ue;case Va:return $e}return N});function ni(E,N,he){for(var Ne=-1,xt=he.length;++Ne<xt;){var Xt=he[Ne],pr=Xt.size;switch(Xt.type){case"drop":E+=pr;break;case"dropRight":N-=pr;break;case"take":N=da(N,E+pr);break;case"takeRight":E=bi(E,N-pr);break}}return{start:E,end:N}}function Wi(E){var N=E.match(Kr);return N?N[1].split(Qr):[]}function Bi(E,N,he){N=Fu(N,E);for(var Ne=-1,xt=N.length,Xt=!1;++Ne<xt;){var pr=Ui(N[Ne]);if(!(Xt=E!=null&&he(E,pr)))break;E=E[pr]}return Xt||++Ne!=xt?Xt:(xt=E==null?0:E.length,!!xt&&qf(xt)&&js(pr,xt)&&(Xa(E)||Lf(E)))}function es(E){var N=E.length,he=new E.constructor(N);return N&&typeof E[0]=="string"&&fi.call(E,"index")&&(he.index=E.index,he.input=E.input),he}function Ds(E){return typeof E.constructor=="function"&&!Au(E)?gr(qe(E)):{}}function ii(E,N,he){var Ne=E.constructor;switch(N){case nt:return mc(E);case Ft:case _t:return new Ne(+E);case ct:return so(E,he);case Kt:case Wt:case De:case Qe:case Vt:case kt:case Ht:case $t:case Ct:return Ql(E,he);case Xe:return new Ne;case It:case ge:return new Ne(E);case Je:return vc(E);case Ue:return new Ne;case Ae:return Lo(E)}}function As(E,N){var he=N.length;if(!he)return E;var Ne=he-1;return N[Ne]=(he>1?"& ":"")+N[Ne],N=N.join(he>2?", ":" "),E.replace(At,`{
|
|
|
/* [wrapped with `+N+`] */
|
|
|
`)}function bo(E){return Xa(E)||Lf(E)||!!(Lr&&E&&E[Lr])}function js(E,N){var he=typeof E;return N=N==null?ee:N,!!N&&(he=="number"||he!="symbol"&&yt.test(E))&&E>-1&&E%1==0&&E<N}function to(E,N,he){if(!Yo(he))return!1;var Ne=typeof N;return(Ne=="number"?zl(he)&&js(N,he.length):Ne=="string"&&N in he)?Uc(he[N],E):!1}function bl(E,N){if(Xa(E))return!1;var he=typeof E;return he=="number"||he=="symbol"||he=="boolean"||E==null||sc(E)?!0:be.test(E)||!St.test(E)||N!=null&&E in zn(N)}function Fl(E){var N=typeof E;return N=="string"||N=="number"||N=="symbol"||N=="boolean"?E!=="__proto__":E===null}function xl(E){var N=_s(E),he=Se[N];if(typeof he!="function"||!(N in Yr.prototype))return!1;if(E===he)return!0;var Ne=$i(he);return!!Ne&&E===Ne[0]}function Bl(E){return!!po&&po in E}var Ju=Ca?yf:pd;function Au(E){var N=E&&E.constructor,he=typeof N=="function"&&N.prototype||zr;return E===he}function rc(E){return E===E&&!Yo(E)}function wc(E,N){return function(he){return he==null?!1:he[E]===N&&(N!==i||E in zn(he))}}function Cu(E){var N=kf(E,function(Ne){return he.size===a&&he.clear(),Ne}),he=N.cache;return N}function ms(E,N){var he=E[1],Ne=N[1],xt=he|Ne,Xt=xt<(R|L|V),pr=Ne==V&&he==D||Ne==V&&he==K&&E[7].length<=N[8]||Ne==(V|K)&&N[7].length<=N[8]&&he==D;if(!(Xt||pr))return E;Ne&R&&(E[2]=N[2],xt|=he&R?0:T);var Mr=N[3];if(Mr){var Xr=E[3];E[3]=Xr?go(Xr,Mr,N[4]):Mr,E[4]=Xr?Fs(E[3],x):N[4]}return Mr=N[5],Mr&&(Xr=E[5],E[5]=Xr?Jl(Xr,Mr,N[6]):Mr,E[6]=Xr?Fs(E[5],x):N[6]),Mr=N[7],Mr&&(E[7]=Mr),Ne&V&&(E[8]=E[8]==null?N[8]:da(E[8],N[8])),E[9]==null&&(E[9]=N[9]),E[0]=N[0],E[1]=xt,E}function zu(E){var N=[];if(E!=null)for(var he in zn(E))N.push(he);return N}function nc(E){return ds.call(E)}function Go(E,N,he){return N=bi(N===i?E.length-1:N,0),function(){for(var Ne=arguments,xt=-1,Xt=bi(Ne.length-N,0),pr=xr(Xt);++xt<Xt;)pr[xt]=Ne[N+xt];xt=-1;for(var Mr=xr(N+1);++xt<N;)Mr[xt]=Ne[xt];return Mr[N]=he(pr),La(E,this,Mr)}}function Zu(E,N){return N.length<2?E:au(E,uu(N,0,-1))}function wl(E,N){for(var he=E.length,Ne=da(N.length,he),xt=jo(E);Ne--;){var Xt=N[Ne];E[Ne]=js(Xt,he)?xt[Xt]:i}return E}function ic(E,N){if(!(N==="constructor"&&typeof E[N]=="function")&&N!="__proto__")return E[N]}var Tu=Hn(Xu),ac=ti||function(E,N){return Sa.setTimeout(E,N)},Nl=Hn(wf);function Sn(E,N,he){var Ne=N+"";return Nl(E,As(Ne,ua(Wi(Ne),he)))}function Hn(E){var N=0,he=0;return function(){var Ne=no(),xt=Q-(Ne-he);if(he=Ne,xt>0){if(++N>=le)return arguments[0]}else N=0;return E.apply(i,arguments)}}function Mi(E,N){var he=-1,Ne=E.length,xt=Ne-1;for(N=N===i?Ne:N;++he<N;){var Xt=Lu(he,xt),pr=E[Xt];E[Xt]=E[he],E[he]=pr}return E.length=N,E}var xa=Cu(function(E){var N=[];return E.charCodeAt(0)===46&&N.push(""),E.replace(Ke,function(he,Ne,xt,Xt){N.push(xt?Xt.replace(_r,"$1"):Ne||he)}),N});function Ui(E){if(typeof E=="string"||sc(E))return E;var N=E+"";return N=="0"&&1/E==-ne?"-0":N}function sa(E){if(E!=null){try{return Es.call(E)}catch(N){}try{return E+""}catch(N){}}return""}function ua(E,N){return Hi(Ee,function(he){var Ne="_."+he[0];N&he[1]&&!uo(E,Ne)&&E.push(Ne)}),E.sort()}function vs(E){if(E instanceof Yr)return E.clone();var N=new br(E.__wrapped__,E.__chain__);return N.__actions__=jo(E.__actions__),N.__index__=E.__index__,N.__values__=E.__values__,N}function Gi(E,N,he){(he?to(E,N,he):N===i)?N=1:N=bi(ss(N),0);var Ne=E==null?0:E.length;if(!Ne||N<1)return[];for(var xt=0,Xt=0,pr=xr(hi(Ne/N));xt<Ne;)pr[Xt++]=uu(E,xt,xt+=N);return pr}function is(E){for(var N=-1,he=E==null?0:E.length,Ne=0,xt=[];++N<he;){var Xt=E[N];Xt&&(xt[Ne++]=Xt)}return xt}function el(){var E=arguments.length;if(!E)return[];for(var N=xr(E-1),he=arguments[0],Ne=E;Ne--;)N[Ne-1]=arguments[Ne];return Aa(Xa(he)?jo(he):[he],ns(N,1))}var Hu=ka(function(E,N){return cu(E)?za(E,ns(N,1,cu,!0)):[]}),tl=ka(function(E,N){var he=Ko(N);return cu(he)&&(he=i),cu(E)?za(E,ns(N,1,cu,!0),ui(he,2)):[]}),hl=ka(function(E,N){var he=Ko(N);return cu(he)&&(he=i),cu(E)?za(E,ns(N,1,cu,!0),i,he):[]});function pl(E,N,he){var Ne=E==null?0:E.length;return Ne?(N=he||N===i?1:ss(N),uu(E,N<0?0:N,Ne)):[]}function Df(E,N,he){var Ne=E==null?0:E.length;return Ne?(N=he||N===i?1:ss(N),N=Ne-N,uu(E,0,N<0?0:N)):[]}function Ef(E,N){return E&&E.length?_c(E,ui(N,3),!0,!0):[]}function $l(E,N){return E&&E.length?_c(E,ui(N,3),!0):[]}function Sf(E,N,he,Ne){var xt=E==null?0:E.length;return xt?(he&&typeof he!="number"&&to(E,N,he)&&(he=0,Ne=xt),Za(E,N,he,Ne)):[]}function Ec(E,N,he){var Ne=E==null?0:E.length;if(!Ne)return-1;var xt=he==null?0:ss(he);return xt<0&&(xt=bi(Ne+xt,0)),ca(E,ui(N,3),xt)}function qc(E,N,he){var Ne=E==null?0:E.length;if(!Ne)return-1;var xt=Ne-1;return he!==i&&(xt=ss(he),xt=he<0?bi(Ne+xt,0):da(xt,Ne-1)),ca(E,ui(N,3),xt,!0)}function df(E){var N=E==null?0:E.length;return N?ns(E,1):[]}function _l(E){var N=E==null?0:E.length;return N?ns(E,ne):[]}function Of(E,N){var he=E==null?0:E.length;return he?(N=N===i?1:ss(N),ns(E,N)):[]}function rl(E){for(var N=-1,he=E==null?0:E.length,Ne={};++N<he;){var xt=E[N];Ne[xt[0]]=xt[1]}return Ne}function Fc(E){return E&&E.length?E[0]:i}function Qc(E,N,he){var Ne=E==null?0:E.length;if(!Ne)return-1;var xt=he==null?0:ss(he);return xt<0&&(xt=bi(Ne+xt,0)),fs(E,N,xt)}function Vo(E){var N=E==null?0:E.length;return N?uu(E,0,-1):[]}var Jc=ka(function(E){var N=Ki(E,Mc);return N.length&&N[0]===E[0]?lc(N):[]}),hf=ka(function(E){var N=Ko(E),he=Ki(E,Mc);return N===Ko(he)?N=i:he.pop(),he.length&&he[0]===E[0]?lc(he,ui(N,2)):[]}),ml=ka(function(E){var N=Ko(E),he=Ki(E,Mc);return N=typeof N=="function"?N:i,N&&he.pop(),he.length&&he[0]===E[0]?lc(he,i,N):[]});function jl(E,N){return E==null?"":fa.call(E,N)}function Ko(E){var N=E==null?0:E.length;return N?E[N-1]:i}function Sc(E,N,he){var Ne=E==null?0:E.length;if(!Ne)return-1;var xt=Ne;return he!==i&&(xt=ss(he),xt=xt<0?bi(Ne+xt,0):da(xt,Ne-1)),N===N?qt(E,N,xt):ca(E,fo,xt,!0)}function pf(E,N){return E&&E.length?Yu(E,ss(N)):i}var Bc=ka(Nc);function Nc(E,N){return E&&E.length&&N&&N.length?Ru(E,N):E}function _f(E,N,he){return E&&E.length&&N&&N.length?Ru(E,N,ui(he,2)):E}function $c(E,N,he){return E&&E.length&&N&&N.length?Ru(E,N,i,he):E}var Af=ju(function(E,N){var he=E==null?0:E.length,Ne=Ns(E,N);return wu(E,Ki(N,function(xt){return js(xt,he)?+xt:xt}).sort(Re)),Ne});function Mf(E,N){var he=[];if(!(E&&E.length))return he;var Ne=-1,xt=[],Xt=E.length;for(N=ui(N,3);++Ne<Xt;){var pr=E[Ne];N(pr,Ne,E)&&(he.push(pr),xt.push(Ne))}return wu(E,xt),he}function jc(E){return E==null?E:Fa.call(E)}function Ff(E,N,he){var Ne=E==null?0:E.length;return Ne?(he&&typeof he!="number"&&to(E,N,he)?(N=0,he=Ne):(N=N==null?0:ss(N),he=he===i?Ne:ss(he)),uu(E,N,he)):[]}function ef(E,N){return dc(E,N)}function mf(E,N,he){return Xl(E,N,ui(he,2))}function Hf(E,N){var he=E==null?0:E.length;if(he){var Ne=dc(E,N);if(Ne<he&&Uc(E[Ne],N))return Ne}return-1}function Cf(E,N){return dc(E,N,!0)}function Bf(E,N,he){return Xl(E,N,ui(he,2),!0)}function Nf(E,N){var he=E==null?0:E.length;if(he){var Ne=dc(E,N,!0)-1;if(Uc(E[Ne],N))return Ne}return-1}function tf(E){return E&&E.length?Rc(E):[]}function $f(E,N){return E&&E.length?Rc(E,ui(N,2)):[]}function Tf(E){var N=E==null?0:E.length;return N?uu(E,1,N):[]}function v(E,N,he){return E&&E.length?(N=he||N===i?1:ss(N),uu(E,0,N<0?0:N)):[]}function A(E,N,he){var Ne=E==null?0:E.length;return Ne?(N=he||N===i?1:ss(N),N=Ne-N,uu(E,N<0?0:N,Ne)):[]}function Z(E,N){return E&&E.length?_c(E,ui(N,3),!1,!0):[]}function ve(E,N){return E&&E.length?_c(E,ui(N,3)):[]}var Le=ka(function(E){return qu(ns(E,1,cu,!0))}),lt=ka(function(E){var N=Ko(E);return cu(N)&&(N=i),qu(ns(E,1,cu,!0),ui(N,2))}),Ut=ka(function(E){var N=Ko(E);return N=typeof N=="function"?N:i,qu(ns(E,1,cu,!0),i,N)});function rr(E){return E&&E.length?qu(E):[]}function I(E,N){return E&&E.length?qu(E,ui(N,2)):[]}function t(E,N){return N=typeof N=="function"?N:i,E&&E.length?qu(E,i,N):[]}function n(E){if(!(E&&E.length))return[];var N=0;return E=Qa(E,function(he){if(cu(he))return N=bi(he.length,N),!0}),Ao(N,function(he){return Ki(E,li(he))})}function o(E,N){if(!(E&&E.length))return[];var he=n(E);return N==null?he:Ki(he,function(Ne){return La(N,i,Ne)})}var m=ka(function(E,N){return cu(E)?za(E,N):[]}),w=ka(function(E){return ql(Qa(E,cu))}),P=ka(function(E){var N=Ko(E);return cu(N)&&(N=i),ql(Qa(E,cu),ui(N,2))}),z=ka(function(E){var N=Ko(E);return N=typeof N=="function"?N:i,ql(Qa(E,cu),i,N)}),H=ka(n);function j(E,N){return uf(E||[],N||[],aa)}function se(E,N){return uf(E||[],N||[],Mu)}var ce=ka(function(E){var N=E.length,he=N>1?E[N-1]:i;return he=typeof he=="function"?(E.pop(),he):i,o(E,he)});function xe(E){var N=Se(E);return N.__chain__=!0,N}function Ie(E,N){return N(E),E}function Oe(E,N){return N(E)}var tt=ju(function(E){var N=E.length,he=N?E[0]:0,Ne=this.__wrapped__,xt=function(Xt){return Ns(Xt,E)};return N>1||this.__actions__.length||!(Ne instanceof Yr)||!js(he)?this.thru(xt):(Ne=Ne.slice(he,+he+(N?1:0)),Ne.__actions__.push({func:Oe,args:[xt],thisArg:i}),new br(Ne,this.__chain__).thru(function(Xt){return N&&!Xt.length&&Xt.push(i),Xt}))});function at(){return xe(this)}function Nt(){return new br(this.value(),this.__chain__)}function dr(){this.__values__===i&&(this.__values__=yd(this.value()));var E=this.__index__>=this.__values__.length,N=E?i:this.__values__[this.__index__++];return{done:E,value:N}}function ar(){return this}function Zr(E){for(var N,he=this;he instanceof Jr;){var Ne=vs(he);Ne.__index__=0,Ne.__values__=i,N?xt.__wrapped__=Ne:N=Ne;var xt=Ne;he=he.__wrapped__}return xt.__wrapped__=E,N}function Gr(){var E=this.__wrapped__;if(E instanceof Yr){var N=E;return this.__actions__.length&&(N=new Yr(this)),N=N.reverse(),N.__actions__.push({func:Oe,args:[jc],thisArg:i}),new br(N,this.__chain__)}return this.thru(jc)}function fn(){return Lc(this.__wrapped__,this.__actions__)}var Vr=yo(function(E,N,he){fi.call(E,he)?++E[he]:Ta(E,he,1)});function on(E,N,he){var Ne=Xa(E)?kn:Al;return he&&to(E,N,he)&&(N=i),Ne(E,ui(N,3))}function hn(E,N){var he=Xa(E)?Qa:Du;return he(E,ui(N,3))}var qr=Kc(Ec),Gn=Kc(qc);function ci(E,N){return ns(wa(E,N),1)}function us(E,N){return ns(wa(E,N),ne)}function ya(E,N,he){return he=he===i?1:ss(he),ns(wa(E,N),he)}function Ji(E,N){var he=Xa(E)?Hi:mo;return he(E,ui(N,3))}function ki(E,N){var he=Xa(E)?Vs:iu;return he(E,ui(N,3))}var ta=yo(function(E,N,he){fi.call(E,he)?E[he].push(N):Ta(E,he,[N])});function Xi(E,N,he,Ne){E=zl(E)?E:Zf(E),he=he&&!Ne?ss(he):0;var xt=E.length;return he<0&&(he=bi(xt+he,0)),Qf(E)?he<=xt&&E.indexOf(N,he)>-1:!!xt&&fs(E,N,he)>-1}var Vn=ka(function(E,N,he){var Ne=-1,xt=typeof N=="function",Xt=zl(E)?xr(E.length):[];return mo(E,function(pr){Xt[++Ne]=xt?La(N,pr,he):ol(pr,N,he)}),Xt}),ri=yo(function(E,N,he){Ta(E,he,N)});function wa(E,N){var he=Xa(E)?Ki:bu;return he(E,ui(N,3))}function Ea(E,N,he,Ne){return E==null?[]:(Xa(N)||(N=N==null?[]:[N]),he=Ne?i:he,Xa(he)||(he=he==null?[]:[he]),Yl(E,N,he))}var as=yo(function(E,N,he){E[he?0:1].push(N)},function(){return[[],[]]});function Os(E,N,he){var Ne=Xa(E)?Da:Wa,xt=arguments.length<3;return Ne(E,ui(N,4),he,xt,mo)}function Ys(E,N,he){var Ne=Xa(E)?cs:Wa,xt=arguments.length<3;return Ne(E,ui(N,4),he,xt,iu)}function co(E,N){var he=Xa(E)?Qa:Du;return he(E,af(ui(N,3)))}function nl(E){var N=Xa(E)?Zn:sf;return N(E)}function vl(E,N,he){(he?to(E,N,he):N===i)?N=1:N=ss(N);var Ne=Xa(E)?di:of;return Ne(E,N)}function rf(E){var N=Xa(E)?Sr:Oc;return N(E)}function Kf(E){if(E==null)return 0;if(zl(E))return Qf(E)?lr(E):E.length;var N=an(E);return N==Xe||N==Ue?E.size:Cl(E).length}function ed(E,N,he){var Ne=Xa(E)?zs:kc;return he&&to(E,N,he)&&(N=i),Ne(E,ui(N,3))}var td=ka(function(E,N){if(E==null)return[];var he=N.length;return he>1&&to(E,N[0],N[1])?N=[]:he>2&&to(N[0],N[1],N[2])&&(N=[N[0]]),Yl(E,ns(N,1),[])}),Pf=Wn||function(){return Sa.Date.now()};function Wf(E,N){if(typeof N!="function")throw new Hr(s);return E=ss(E),function(){if(--E<1)return N.apply(this,arguments)}}function rd(E,N,he){return N=he?i:N,N=E&&N==null?E.length:N,$u(E,V,i,i,i,i,N)}function ks(E,N){var he;if(typeof N!="function")throw new Hr(s);return E=ss(E),function(){return--E>0&&(he=N.apply(this,arguments)),E<=1&&(N=i),he}}var vu=ka(function(E,N,he){var Ne=R;if(he.length){var xt=Fs(he,Gs(vu));Ne|=$}return $u(E,Ne,N,he,xt)}),El=ka(function(E,N,he){var Ne=R|L;if(he.length){var xt=Fs(he,Gs(El));Ne|=$}return $u(N,Ne,E,he,xt)});function nf(E,N,he){N=he?i:N;var Ne=$u(E,D,i,i,i,i,i,N);return Ne.placeholder=nf.placeholder,Ne}function Ul(E,N,he){N=he?i:N;var Ne=$u(E,B,i,i,i,i,i,N);return Ne.placeholder=Ul.placeholder,Ne}function vf(E,N,he){var Ne,xt,Xt,pr,Mr,Xr,Tn=0,Dn=!1,$n=!1,Ti=!0;if(typeof E!="function")throw new Hr(s);N=Ac(N)||0,Yo(he)&&(Dn=!!he.leading,$n="maxWait"in he,Xt=$n?bi(Ac(he.maxWait)||0,N):Xt,Ti="trailing"in he?!!he.trailing:Ti);function ra(fu){var zc=Ne,xf=xt;return Ne=xt=i,Tn=fu,pr=E.apply(xf,zc),pr}function Pa(fu){return Tn=fu,Mr=ac(xs,N),Dn?ra(fu):pr}function ls(fu){var zc=fu-Xr,xf=fu-Tn,kd=N-zc;return $n?da(kd,Xt-xf):kd}function Ia(fu){var zc=fu-Xr,xf=fu-Tn;return Xr===i||zc>=N||zc<0||$n&&xf>=Xt}function xs(){var fu=Pf();if(Ia(fu))return Rs(fu);Mr=ac(xs,ls(fu))}function Rs(fu){return Mr=i,Ti&&Ne?ra(fu):(Ne=xt=i,pr)}function oc(){Mr!==i&&Vc(Mr),Tn=0,Ne=Xr=xt=Mr=i}function Sl(){return Mr===i?pr:Rs(Pf())}function uc(){var fu=Pf(),zc=Ia(fu);if(Ne=arguments,xt=this,Xr=fu,zc){if(Mr===i)return Pa(Xr);if($n)return Vc(Mr),Mr=ac(xs,N),ra(Xr)}return Mr===i&&(Mr=ac(xs,N)),pr}return uc.cancel=oc,uc.flush=Sl,uc}var gf=ka(function(E,N){return Ro(E,1,N)}),Yf=ka(function(E,N,he){return Ro(E,Ac(N)||0,he)});function jf(E){return $u(E,G)}function kf(E,N){if(typeof E!="function"||N!=null&&typeof N!="function")throw new Hr(s);var he=function(){var Ne=arguments,xt=N?N.apply(this,Ne):Ne[0],Xt=he.cache;if(Xt.has(xt))return Xt.get(xt);var pr=E.apply(this,Ne);return he.cache=Xt.set(xt,pr)||Xt,pr};return he.cache=new(kf.Cache||Iu),he}kf.Cache=Iu;function af(E){if(typeof E!="function")throw new Hr(s);return function(){var N=arguments;switch(N.length){case 0:return!E.call(this);case 1:return!E.call(this,N[0]);case 2:return!E.call(this,N[0],N[1]);case 3:return!E.call(this,N[0],N[1],N[2])}return!E.apply(this,N)}}function Xf(E){return ks(2,E)}var nd=Eu(function(E,N){N=N.length==1&&Xa(N[0])?Ki(N[0],Ja(ui())):Ki(ns(N,1),Ja(ui()));var he=N.length;return ka(function(Ne){for(var xt=-1,Xt=da(Ne.length,he);++xt<Xt;)Ne[xt]=N[xt].call(this,Ne[xt]);return La(E,this,Ne)})}),Uf=ka(function(E,N){var he=Fs(N,Gs(Uf));return $u(E,$,i,N,he)}),Gf=ka(function(E,N){var he=Fs(N,Gs(Gf));return $u(E,U,i,N,he)}),Rf=ju(function(E,N){return $u(E,K,i,i,i,N)});function Md(E,N){if(typeof E!="function")throw new Hr(s);return N=N===i?N:ss(N),ka(E,N)}function Fd(E,N){if(typeof E!="function")throw new Hr(s);return N=N==null?0:bi(ss(N),0),ka(function(he){var Ne=he[N],xt=ps(he,0,N);return Ne&&Aa(xt,Ne),La(E,this,xt)})}function Bd(E,N,he){var Ne=!0,xt=!0;if(typeof E!="function")throw new Hr(s);return Yo(he)&&(Ne="leading"in he?!!he.leading:Ne,xt="trailing"in he?!!he.trailing:xt),vf(E,N,{leading:Ne,maxWait:N,trailing:xt})}function Nd(E){return rd(E,1)}function $d(E,N){return Uf(Gc(N),E)}function jd(){if(!arguments.length)return[];var E=arguments[0];return Xa(E)?E:[E]}function Ud(E){return pa(E,_)}function zd(E,N){return N=typeof N=="function"?N:i,pa(E,_,N)}function Zd(E){return pa(E,p|_)}function Hd(E,N){return N=typeof N=="function"?N:i,pa(E,p|_,N)}function Wd(E,N){return N==null||Po(E,N,Wu(N))}function Uc(E,N){return E===N||E!==E&&N!==N}var Gd=Rl(Zo),Vd=Rl(function(E,N){return E>=N}),Lf=Cc(function(){return arguments}())?Cc:function(E){return tu(E)&&fi.call(E,"callee")&&!Gt.call(E,"callee")},Xa=xr.isArray,Kd=Ci?Ja(Ci):ao;function zl(E){return E!=null&&qf(E.length)&&!yf(E)}function cu(E){return tu(E)&&zl(E)}function Yd(E){return E===!0||E===!1||tu(E)&&Js(E)==Ft}var If=Ri||pd,Xd=qa?Ja(qa):cc;function qd(E){return tu(E)&&E.nodeType===1&&!Vf(E)}function Qd(E){if(E==null)return!0;if(zl(E)&&(Xa(E)||typeof E=="string"||typeof E.splice=="function"||If(E)||zf(E)||Lf(E)))return!E.length;var N=an(E);if(N==Xe||N==Ue)return!E.size;if(Au(E))return!Cl(E).length;for(var he in E)if(fi.call(E,he))return!1;return!0}function Jd(E,N){return su(E,N)}function e0(E,N,he){he=typeof he=="function"?he:i;var Ne=he?he(E,N):i;return Ne===i?su(E,N,i,he):!!Ne}function id(E){if(!tu(E))return!1;var N=Js(E);return N==Qt||N==Pt||typeof E.message=="string"&&typeof E.name=="string"&&!Vf(E)}function t0(E){return typeof E=="number"&&Ei(E)}function yf(E){if(!Yo(E))return!1;var N=Js(E);return N==er||N==Jt||N==Fe||N==ht}function _d(E){return typeof E=="number"&&E==ss(E)}function qf(E){return typeof E=="number"&&E>-1&&E%1==0&&E<=ee}function Yo(E){var N=typeof E;return E!=null&&(N=="object"||N=="function")}function tu(E){return E!=null&&typeof E=="object"}var md=Cs?Ja(Cs):ou;function r0(E,N){return E===N||Tc(E,N,C(N))}function n0(E,N,he){return he=typeof he=="function"?he:i,Tc(E,N,C(N),he)}function i0(E){return vd(E)&&E!=+E}function a0(E){if(Ju(E))throw new jn(f);return Hc(E)}function s0(E){return E===null}function o0(E){return E==null}function vd(E){return typeof E=="number"||tu(E)&&Js(E)==It}function Vf(E){if(!tu(E)||Js(E)!=st)return!1;var N=qe(E);if(N===null)return!0;var he=fi.call(N,"constructor")&&N.constructor;return typeof he=="function"&&he instanceof he&&Es.call(he)==Oa}var ad=Ni?Ja(Ni):oi;function u0(E){return _d(E)&&E>=-ee&&E<=ee}var gd=Ts?Ja(Ts):Pc;function Qf(E){return typeof E=="string"||!Xa(E)&&tu(E)&&Js(E)==ge}function sc(E){return typeof E=="symbol"||tu(E)&&Js(E)==Ae}var zf=xo?Ja(xo):Wc;function l0(E){return E===i}function c0(E){return tu(E)&&an(E)==$e}function f0(E){return tu(E)&&Js(E)==He}var d0=Rl(Vl),h0=Rl(function(E,N){return E<=N});function yd(E){if(!E)return[];if(zl(E))return Qf(E)?sr(E):jo(E);if(jr&&E[jr])return ru(E[jr]());var N=an(E),he=N==Xe?qo:N==Ue?Xs:Zf;return he(E)}function bf(E){if(!E)return E===0?E:0;if(E=Ac(E),E===ne||E===-ne){var N=E<0?-1:1;return N*ie}return E===E?E:0}function ss(E){var N=bf(E),he=N%1;return N===N?he?N-he:N:0}function bd(E){return E?$s(ss(E),0,M):0}function Ac(E){if(typeof E=="number")return E;if(sc(E))return F;if(Yo(E)){var N=typeof E.valueOf=="function"?E.valueOf():E;E=Yo(N)?N+"":N}if(typeof E!="string")return E===0?E:+E;E=Fo(E);var he=ur.test(E);return he||vt.test(E)?Fi(E.slice(2),he?2:8):cn.test(E)?F:+E}function xd(E){return _u(E,Zl(E))}function p0(E){return E?$s(ss(E),-ee,ee):E===0?E:0}function oo(E){return E==null?"":Jo(E)}var _0=cl(function(E,N){if(Au(N)||zl(N)){_u(N,Wu(N),E);return}for(var he in N)fi.call(N,he)&&aa(E,he,N[he])}),wd=cl(function(E,N){_u(N,Zl(N),E)}),Jf=cl(function(E,N,he,Ne){_u(N,Zl(N),E,Ne)}),m0=cl(function(E,N,he,Ne){_u(N,Wu(N),E,Ne)}),v0=ju(Ns);function g0(E,N){var he=gr(E);return N==null?he:ys(he,N)}var y0=ka(function(E,N){E=zn(E);var he=-1,Ne=N.length,xt=Ne>2?N[2]:i;for(xt&&to(N[0],N[1],xt)&&(Ne=1);++he<Ne;)for(var Xt=N[he],pr=Zl(Xt),Mr=-1,Xr=pr.length;++Mr<Xr;){var Tn=pr[Mr],Dn=E[Tn];(Dn===i||Uc(Dn,zr[Tn])&&!fi.call(E,Tn))&&(E[Tn]=Xt[Tn])}return E}),b0=ka(function(E){return E.push(i,Uo),La(Ed,i,E)});function x0(E,N){return Ms(E,ui(N,3),No)}function w0(E,N){return Ms(E,ui(N,3),vo)}function E0(E,N){return E==null?E:pu(E,ui(N,3),Zl)}function S0(E,N){return E==null?E:Ou(E,ui(N,3),Zl)}function A0(E,N){return E&&No(E,ui(N,3))}function C0(E,N){return E&&vo(E,ui(N,3))}function T0(E){return E==null?[]:Vu(E,Wu(E))}function P0(E){return E==null?[]:Vu(E,Zl(E))}function sd(E,N,he){var Ne=E==null?i:au(E,N);return Ne===i?he:Ne}function I0(E,N){return E!=null&&Bi(E,N,ku)}function od(E,N){return E!=null&&Bi(E,N,Gl)}var D0=ec(function(E,N,he){N!=null&&typeof N.toString!="function"&&(N=ds.call(N)),E[N]=he},ld(Hl)),O0=ec(function(E,N,he){N!=null&&typeof N.toString!="function"&&(N=ds.call(N)),fi.call(E,N)?E[N].push(he):E[N]=[he]},ui),k0=ka(ol);function Wu(E){return zl(E)?In(E):Cl(E)}function Zl(E){return zl(E)?In(E,!0):Ic(E)}function R0(E,N){var he={};return N=ui(N,3),No(E,function(Ne,xt,Xt){Ta(he,N(Ne,xt,Xt),Ne)}),he}function L0(E,N){var he={};return N=ui(N,3),No(E,function(Ne,xt,Xt){Ta(he,xt,N(Ne,xt,Xt))}),he}var M0=cl(function(E,N,he){eo(E,N,he)}),Ed=cl(function(E,N,he,Ne){eo(E,N,he,Ne)}),F0=ju(function(E,N){var he={};if(E==null)return he;var Ne=!1;N=Ki(N,function(Xt){return Xt=Fu(Xt,E),Ne||(Ne=Xt.length>1),Xt}),_u(E,Ml(E),he),Ne&&(he=pa(he,p|y|_,Xc));for(var xt=N.length;xt--;)Pl(he,N[xt]);return he});function B0(E,N){return Sd(E,af(ui(N)))}var N0=ju(function(E,N){return E==null?{}:Qo(E,N)});function Sd(E,N){if(E==null)return{};var he=Ki(Ml(E),function(Ne){return[Ne]});return N=ui(N),Dc(E,he,function(Ne,xt){return N(Ne,xt[0])})}function $0(E,N,he){N=Fu(N,E);var Ne=-1,xt=N.length;for(xt||(xt=1,E=i);++Ne<xt;){var Xt=E==null?i:E[Ui(N[Ne])];Xt===i&&(Ne=xt,Xt=he),E=yf(Xt)?Xt.call(E):Xt}return E}function j0(E,N,he){return E==null?E:Mu(E,N,he)}function U0(E,N,he,Ne){return Ne=typeof Ne=="function"?Ne:i,E==null?E:Mu(E,N,he,Ne)}var Ad=Nu(Wu),Cd=Nu(Zl);function z0(E,N,he){var Ne=Xa(E),xt=Ne||If(E)||zf(E);if(N=ui(N,4),he==null){var Xt=E&&E.constructor;xt?he=Ne?new Xt:[]:Yo(E)?he=yf(Xt)?gr(qe(E)):{}:he={}}return(xt?Hi:No)(E,function(pr,Mr,Xr){return N(he,pr,Mr,Xr)}),he}function Z0(E,N){return E==null?!0:Pl(E,N)}function H0(E,N,he){return E==null?E:pc(E,N,Gc(he))}function W0(E,N,he,Ne){return Ne=typeof Ne=="function"?Ne:i,E==null?E:pc(E,N,Gc(he),Ne)}function Zf(E){return E==null?[]:du(E,Wu(E))}function G0(E){return E==null?[]:du(E,Zl(E))}function V0(E,N,he){return he===i&&(he=N,N=i),he!==i&&(he=Ac(he),he=he===he?he:0),N!==i&&(N=Ac(N),N=N===N?N:0),$s(Ac(E),N,he)}function K0(E,N,he){return N=bf(N),he===i?(he=N,N=0):he=bf(he),E=Ac(E),yu(E,N,he)}function Y0(E,N,he){if(he&&typeof he!="boolean"&&to(E,N,he)&&(N=he=i),he===i&&(typeof N=="boolean"?(he=N,N=i):typeof E=="boolean"&&(he=E,E=i)),E===i&&N===i?(E=0,N=1):(E=bf(E),N===i?(N=E,E=0):N=bf(N)),E>N){var Ne=E;E=N,N=Ne}if(he||E%1||N%1){var xt=Ma();return da(E+xt*(N-E+Di("1e-"+((xt+"").length-1))),N)}return Lu(E,N)}var X0=dl(function(E,N,he){return N=N.toLowerCase(),E+(he?Td(N):N)});function Td(E){return ud(oo(E).toLowerCase())}function Pd(E){return E=oo(E),E&&E.replace(jt,To).replace(wr,"")}function q0(E,N,he){E=oo(E),N=Jo(N);var Ne=E.length;he=he===i?Ne:$s(ss(he),0,Ne);var xt=he;return he-=N.length,he>=0&&E.slice(he,xt)==N}function Q0(E){return E=oo(E),E&&dt.test(E)?E.replace(Ot,Ps):E}function J0(E){return E=oo(E),E&&Rt.test(E)?E.replace(gt,"\\$&"):E}var eh=dl(function(E,N,he){return E+(he?"-":"")+N.toLowerCase()}),th=dl(function(E,N,he){return E+(he?" ":"")+N.toLowerCase()}),rh=Dl("toLowerCase");function nh(E,N,he){E=oo(E),N=ss(N);var Ne=N?lr(E):0;if(!N||Ne>=N)return E;var xt=(N-Ne)/2;return kl(Ii(xt),he)+E+kl(hi(xt),he)}function ih(E,N,he){E=oo(E),N=ss(N);var Ne=N?lr(E):0;return N&&Ne<N?E+kl(N-Ne,he):E}function ah(E,N,he){E=oo(E),N=ss(N);var Ne=N?lr(E):0;return N&&Ne<N?kl(N-Ne,he)+E:E}function sh(E,N,he){return he||N==null?N=0:N&&(N=+N),Ss(oo(E).replace(Be,""),N||0)}function oh(E,N,he){return(he?to(E,N,he):N===i)?N=1:N=ss(N),Tl(oo(E),N)}function uh(){var E=arguments,N=oo(E[0]);return E.length<3?N:N.replace(E[1],E[2])}var lh=dl(function(E,N,he){return E+(he?"_":"")+N.toLowerCase()});function ch(E,N,he){return he&&typeof he!="number"&&to(E,N,he)&&(N=he=i),he=he===i?M:he>>>0,he?(E=oo(E),E&&(typeof N=="string"||N!=null&&!ad(N))&&(N=Jo(N),!N&&lo(E))?ps(sr(E),0,he):E.split(N,he)):[]}var fh=dl(function(E,N,he){return E+(he?" ":"")+ud(N)});function dh(E,N,he){return E=oo(E),he=he==null?0:$s(ss(he),0,E.length),N=Jo(N),E.slice(he,he+N.length)==N}function hh(E,N,he){var Ne=Se.templateSettings;he&&to(E,N,he)&&(N=i),E=oo(E),N=Jf({},N,Ne,lu);var xt=Jf({},N.imports,Ne.imports,lu),Xt=Wu(xt),pr=du(xt,Xt),Mr,Xr,Tn=0,Dn=N.interpolate||Cr,$n="__p += '",Ti=si((N.escape||Cr).source+"|"+Dn.source+"|"+(Dn===ke?Ur:Cr).source+"|"+(N.evaluate||Cr).source+"|$","g"),ra="//# sourceURL="+(fi.call(N,"sourceURL")?(N.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tn+"]")+`
|
|
|
`;E.replace(Ti,function(Ia,xs,Rs,oc,Sl,uc){return Rs||(Rs=oc),$n+=E.slice(Tn,uc).replace(yr,gu),xs&&(Mr=!0,$n+=`' +
|
|
|
__e(`+xs+`) +
|
|
|
'`),Sl&&(Xr=!0,$n+=`';
|
|
|
`+Sl+`;
|
|
|
__p += '`),Rs&&($n+=`' +
|
|
|
((__t = (`+Rs+`)) == null ? '' : __t) +
|
|
|
'`),Tn=uc+Ia.length,Ia}),$n+=`';
|
|
|
`;var Pa=fi.call(N,"variable")&&N.variable;if(!Pa)$n=`with (obj) {
|
|
|
`+$n+`
|
|
|
}
|
|
|
`;else if($r.test(Pa))throw new jn(h);$n=(Xr?$n.replace(Yt,""):$n).replace(Ge,"$1").replace(fe,"$1;"),$n="function("+(Pa||"obj")+`) {
|
|
|
`+(Pa?"":`obj || (obj = {});
|
|
|
`)+"var __t, __p = ''"+(Mr?", __e = _.escape":"")+(Xr?`, __j = Array.prototype.join;
|
|
|
function print() { __p += __j.call(arguments, '') }
|
|
|
`:`;
|
|
|
`)+$n+`return __p
|
|
|
}`;var ls=Dd(function(){return ft(Xt,ra+"return "+$n).apply(i,pr)});if(ls.source=$n,id(ls))throw ls;return ls}function ph(E){return oo(E).toLowerCase()}function _h(E){return oo(E).toUpperCase()}function mh(E,N,he){if(E=oo(E),E&&(he||N===i))return Fo(E);if(!E||!(N=Jo(N)))return E;var Ne=sr(E),xt=sr(N),Xt=Xo(Ne,xt),pr=hu(Ne,xt)+1;return ps(Ne,Xt,pr).join("")}function vh(E,N,he){if(E=oo(E),E&&(he||N===i))return E.slice(0,vr(E)+1);if(!E||!(N=Jo(N)))return E;var Ne=sr(E),xt=hu(Ne,sr(N))+1;return ps(Ne,0,xt).join("")}function gh(E,N,he){if(E=oo(E),E&&(he||N===i))return E.replace(Be,"");if(!E||!(N=Jo(N)))return E;var Ne=sr(E),xt=Xo(Ne,sr(N));return ps(Ne,xt).join("")}function yh(E,N){var he=oe,Ne=ae;if(Yo(N)){var xt="separator"in N?N.separator:xt;he="length"in N?ss(N.length):he,Ne="omission"in N?Jo(N.omission):Ne}E=oo(E);var Xt=E.length;if(lo(E)){var pr=sr(E);Xt=pr.length}if(he>=Xt)return E;var Mr=he-lr(Ne);if(Mr<1)return Ne;var Xr=pr?ps(pr,0,Mr).join(""):E.slice(0,Mr);if(xt===i)return Xr+Ne;if(pr&&(Mr+=Xr.length-Mr),ad(xt)){if(E.slice(Mr).search(xt)){var Tn,Dn=Xr;for(xt.global||(xt=si(xt.source,oo(sn.exec(xt))+"g")),xt.lastIndex=0;Tn=xt.exec(Dn);)var $n=Tn.index;Xr=Xr.slice(0,$n===i?Mr:$n)}}else if(E.indexOf(Jo(xt),Mr)!=Mr){var Ti=Xr.lastIndexOf(xt);Ti>-1&&(Xr=Xr.slice(0,Ti))}return Xr+Ne}function bh(E){return E=oo(E),E&&Pe.test(E)?E.replace(_e,Er):E}var xh=dl(function(E,N,he){return E+(he?" ":"")+N.toUpperCase()}),ud=Dl("toUpperCase");function Id(E,N,he){return E=oo(E),N=he?i:N,N===i?zo(E)?Bn(E):Zs(E):E.match(N)||[]}var Dd=ka(function(E,N){try{return La(E,i,N)}catch(he){return id(he)?he:new jn(he)}}),wh=ju(function(E,N){return Hi(N,function(he){he=Ui(he),Ta(E,he,vu(E[he],E))}),E});function Eh(E){var N=E==null?0:E.length,he=ui();return E=N?Ki(E,function(Ne){if(typeof Ne[1]!="function")throw new Hr(s);return[he(Ne[0]),Ne[1]]}):[],ka(function(Ne){for(var xt=-1;++xt<N;){var Xt=E[xt];if(La(Xt[0],this,Ne))return La(Xt[1],this,Ne)}})}function Sh(E){return Qs(pa(E,p))}function ld(E){return function(){return E}}function Ah(E,N){return E==null||E!==E?N:E}var Ch=Qu(),Th=Qu(!0);function Hl(E){return E}function cd(E){return $o(typeof E=="function"?E:pa(E,p))}function Ph(E){return Kl(pa(E,p))}function Ih(E,N){return $a(E,pa(N,p))}var Dh=ka(function(E,N){return function(he){return ol(he,E,N)}}),Oh=ka(function(E,N){return function(he){return ol(E,he,N)}});function fd(E,N,he){var Ne=Wu(N),xt=Vu(N,Ne);he==null&&!(Yo(N)&&(xt.length||!Ne.length))&&(he=N,N=E,E=this,xt=Vu(N,Wu(N)));var Xt=!(Yo(he)&&"chain"in he)||!!he.chain,pr=yf(E);return Hi(xt,function(Mr){var Xr=N[Mr];E[Mr]=Xr,pr&&(E.prototype[Mr]=function(){var Tn=this.__chain__;if(Xt||Tn){var Dn=E(this.__wrapped__),$n=Dn.__actions__=jo(this.__actions__);return $n.push({func:Xr,args:arguments,thisArg:E}),Dn.__chain__=Tn,Dn}return Xr.apply(E,Aa([this.value()],arguments))})}),E}function kh(){return Sa._===this&&(Sa._=qs),this}function dd(){}function Rh(E){return E=ss(E),ka(function(N){return Yu(N,E)})}var Lh=eu(Ki),Mh=eu(kn),Fh=eu(zs);function Od(E){return bl(E)?li(Ui(E)):xu(E)}function Bh(E){return function(N){return E==null?i:au(E,N)}}var Nh=cf(),$h=cf(!0);function hd(){return[]}function pd(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(E,N){if(E=ss(E),E<1||E>ee)return[];var he=M,Ne=da(E,M);N=ui(N),E-=M;for(var xt=Ao(Ne,N);++he<E;)N(he);return xt}function Hh(E){return Xa(E)?Ki(E,Ui):sc(E)?[E]:jo(xa(oo(E)))}function Wh(E){var N=++ro;return oo(E)+N}var Gh=Ol(function(E,N){return E+N},0),Vh=yl("ceil"),Kh=Ol(function(E,N){return E/N},1),Yh=yl("floor");function Xh(E){return E&&E.length?sl(E,Hl,Zo):i}function qh(E,N){return E&&E.length?sl(E,ui(N,2),Zo):i}function Qh(E){return Io(E,Hl)}function Jh(E,N){return Io(E,ui(N,2))}function ep(E){return E&&E.length?sl(E,Hl,Vl):i}function tp(E,N){return E&&E.length?sl(E,ui(N,2),Vl):i}var rp=Ol(function(E,N){return E*N},1),np=yl("round"),ip=Ol(function(E,N){return E-N},0);function ap(E){return E&&E.length?Ua(E,Hl):0}function sp(E,N){return E&&E.length?Ua(E,ui(N,2)):0}return Se.after=Wf,Se.ary=rd,Se.assign=_0,Se.assignIn=wd,Se.assignInWith=Jf,Se.assignWith=m0,Se.at=v0,Se.before=ks,Se.bind=vu,Se.bindAll=wh,Se.bindKey=El,Se.castArray=jd,Se.chain=xe,Se.chunk=Gi,Se.compact=is,Se.concat=el,Se.cond=Eh,Se.conforms=Sh,Se.constant=ld,Se.countBy=Vr,Se.create=g0,Se.curry=nf,Se.curryRight=Ul,Se.debounce=vf,Se.defaults=y0,Se.defaultsDeep=b0,Se.defer=gf,Se.delay=Yf,Se.difference=Hu,Se.differenceBy=tl,Se.differenceWith=hl,Se.drop=pl,Se.dropRight=Df,Se.dropRightWhile=Ef,Se.dropWhile=$l,Se.fill=Sf,Se.filter=hn,Se.flatMap=ci,Se.flatMapDeep=us,Se.flatMapDepth=ya,Se.flatten=df,Se.flattenDeep=_l,Se.flattenDepth=Of,Se.flip=jf,Se.flow=Ch,Se.flowRight=Th,Se.fromPairs=rl,Se.functions=T0,Se.functionsIn=P0,Se.groupBy=ta,Se.initial=Vo,Se.intersection=Jc,Se.intersectionBy=hf,Se.intersectionWith=ml,Se.invert=D0,Se.invertBy=O0,Se.invokeMap=Vn,Se.iteratee=cd,Se.keyBy=ri,Se.keys=Wu,Se.keysIn=Zl,Se.map=wa,Se.mapKeys=R0,Se.mapValues=L0,Se.matches=Ph,Se.matchesProperty=Ih,Se.memoize=kf,Se.merge=M0,Se.mergeWith=Ed,Se.method=Dh,Se.methodOf=Oh,Se.mixin=fd,Se.negate=af,Se.nthArg=Rh,Se.omit=F0,Se.omitBy=B0,Se.once=Xf,Se.orderBy=Ea,Se.over=Lh,Se.overArgs=nd,Se.overEvery=Mh,Se.overSome=Fh,Se.partial=Uf,Se.partialRight=Gf,Se.partition=as,Se.pick=N0,Se.pickBy=Sd,Se.property=Od,Se.propertyOf=Bh,Se.pull=Bc,Se.pullAll=Nc,Se.pullAllBy=_f,Se.pullAllWith=$c,Se.pullAt=Af,Se.range=Nh,Se.rangeRight=$h,Se.rearg=Rf,Se.reject=co,Se.remove=Mf,Se.rest=Md,Se.reverse=jc,Se.sampleSize=vl,Se.set=j0,Se.setWith=U0,Se.shuffle=rf,Se.slice=Ff,Se.sortBy=td,Se.sortedUniq=tf,Se.sortedUniqBy=$f,Se.split=ch,Se.spread=Fd,Se.tail=Tf,Se.take=v,Se.takeRight=A,Se.takeRightWhile=Z,Se.takeWhile=ve,Se.tap=Ie,Se.throttle=Bd,Se.thru=Oe,Se.toArray=yd,Se.toPairs=Ad,Se.toPairsIn=Cd,Se.toPath=Hh,Se.toPlainObject=xd,Se.transform=z0,Se.unary=Nd,Se.union=Le,Se.unionBy=lt,Se.unionWith=Ut,Se.uniq=rr,Se.uniqBy=I,Se.uniqWith=t,Se.unset=Z0,Se.unzip=n,Se.unzipWith=o,Se.update=H0,Se.updateWith=W0,Se.values=Zf,Se.valuesIn=G0,Se.without=m,Se.words=Id,Se.wrap=$d,Se.xor=w,Se.xorBy=P,Se.xorWith=z,Se.zip=H,Se.zipObject=j,Se.zipObjectDeep=se,Se.zipWith=ce,Se.entries=Ad,Se.entriesIn=Cd,Se.extend=wd,Se.extendWith=Jf,fd(Se,Se),Se.add=Gh,Se.attempt=Dd,Se.camelCase=X0,Se.capitalize=Td,Se.ceil=Vh,Se.clamp=V0,Se.clone=Ud,Se.cloneDeep=Zd,Se.cloneDeepWith=Hd,Se.cloneWith=zd,Se.conformsTo=Wd,Se.deburr=Pd,Se.defaultTo=Ah,Se.divide=Kh,Se.endsWith=q0,Se.eq=Uc,Se.escape=Q0,Se.escapeRegExp=J0,Se.every=on,Se.find=qr,Se.findIndex=Ec,Se.findKey=x0,Se.findLast=Gn,Se.findLastIndex=qc,Se.findLastKey=w0,Se.floor=Yh,Se.forEach=Ji,Se.forEachRight=ki,Se.forIn=E0,Se.forInRight=S0,Se.forOwn=A0,Se.forOwnRight=C0,Se.get=sd,Se.gt=Gd,Se.gte=Vd,Se.has=I0,Se.hasIn=od,Se.head=Fc,Se.identity=Hl,Se.includes=Xi,Se.indexOf=Qc,Se.inRange=K0,Se.invoke=k0,Se.isArguments=Lf,Se.isArray=Xa,Se.isArrayBuffer=Kd,Se.isArrayLike=zl,Se.isArrayLikeObject=cu,Se.isBoolean=Yd,Se.isBuffer=If,Se.isDate=Xd,Se.isElement=qd,Se.isEmpty=Qd,Se.isEqual=Jd,Se.isEqualWith=e0,Se.isError=id,Se.isFinite=t0,Se.isFunction=yf,Se.isInteger=_d,Se.isLength=qf,Se.isMap=md,Se.isMatch=r0,Se.isMatchWith=n0,Se.isNaN=i0,Se.isNative=a0,Se.isNil=o0,Se.isNull=s0,Se.isNumber=vd,Se.isObject=Yo,Se.isObjectLike=tu,Se.isPlainObject=Vf,Se.isRegExp=ad,Se.isSafeInteger=u0,Se.isSet=gd,Se.isString=Qf,Se.isSymbol=sc,Se.isTypedArray=zf,Se.isUndefined=l0,Se.isWeakMap=c0,Se.isWeakSet=f0,Se.join=jl,Se.kebabCase=eh,Se.last=Ko,Se.lastIndexOf=Sc,Se.lowerCase=th,Se.lowerFirst=rh,Se.lt=d0,Se.lte=h0,Se.max=Xh,Se.maxBy=qh,Se.mean=Qh,Se.meanBy=Jh,Se.min=ep,Se.minBy=tp,Se.stubArray=hd,Se.stubFalse=pd,Se.stubObject=jh,Se.stubString=Uh,Se.stubTrue=zh,Se.multiply=rp,Se.nth=pf,Se.noConflict=kh,Se.noop=dd,Se.now=Pf,Se.pad=nh,Se.padEnd=ih,Se.padStart=ah,Se.parseInt=sh,Se.random=Y0,Se.reduce=Os,Se.reduceRight=Ys,Se.repeat=oh,Se.replace=uh,Se.result=$0,Se.round=np,Se.runInContext=or,Se.sample=nl,Se.size=Kf,Se.snakeCase=lh,Se.some=ed,Se.sortedIndex=ef,Se.sortedIndexBy=mf,Se.sortedIndexOf=Hf,Se.sortedLastIndex=Cf,Se.sortedLastIndexBy=Bf,Se.sortedLastIndexOf=Nf,Se.startCase=fh,Se.startsWith=dh,Se.subtract=ip,Se.sum=ap,Se.sumBy=sp,Se.template=hh,Se.times=Zh,Se.toFinite=bf,Se.toInteger=ss,Se.toLength=bd,Se.toLower=ph,Se.toNumber=Ac,Se.toSafeInteger=p0,Se.toString=oo,Se.toUpper=_h,Se.trim=mh,Se.trimEnd=vh,Se.trimStart=gh,Se.truncate=yh,Se.unescape=bh,Se.uniqueId=Wh,Se.upperCase=xh,Se.upperFirst=ud,Se.each=Ji,Se.eachRight=ki,Se.first=Fc,fd(Se,function(){var E={};return No(Se,function(N,he){fi.call(Se.prototype,he)||(E[he]=N)}),E}(),{chain:!1}),Se.VERSION=l,Hi(["bind","bindKey","curry","curryRight","partial","partialRight"],function(E){Se[E].placeholder=Se}),Hi(["drop","take"],function(E,N){Yr.prototype[E]=function(he){he=he===i?1:bi(ss(he),0);var Ne=this.__filtered__&&!N?new Yr(this):this.clone();return Ne.__filtered__?Ne.__takeCount__=da(he,Ne.__takeCount__):Ne.__views__.push({size:da(he,M),type:E+(Ne.__dir__<0?"Right":"")}),Ne},Yr.prototype[E+"Right"]=function(he){return this.reverse()[E](he).reverse()}}),Hi(["filter","map","takeWhile"],function(E,N){var he=N+1,Ne=he==J||he==ue;Yr.prototype[E]=function(xt){var Xt=this.clone();return Xt.__iteratees__.push({iteratee:ui(xt,3),type:he}),Xt.__filtered__=Xt.__filtered__||Ne,Xt}}),Hi(["head","last"],function(E,N){var he="take"+(N?"Right":"");Yr.prototype[E]=function(){return this[he](1).value()[0]}}),Hi(["initial","tail"],function(E,N){var he="drop"+(N?"":"Right");Yr.prototype[E]=function(){return this.__filtered__?new Yr(this):this[he](1)}}),Yr.prototype.compact=function(){return this.filter(Hl)},Yr.prototype.find=function(E){return this.filter(E).head()},Yr.prototype.findLast=function(E){return this.reverse().find(E)},Yr.prototype.invokeMap=ka(function(E,N){return typeof E=="function"?new Yr(this):this.map(function(he){return ol(he,E,N)})}),Yr.prototype.reject=function(E){return this.filter(af(ui(E)))},Yr.prototype.slice=function(E,N){E=ss(E);var he=this;return he.__filtered__&&(E>0||N<0)?new Yr(he):(E<0?he=he.takeRight(-E):E&&(he=he.drop(E)),N!==i&&(N=ss(N),he=N<0?he.dropRight(-N):he.take(N-E)),he)},Yr.prototype.takeRightWhile=function(E){return this.reverse().takeWhile(E).reverse()},Yr.prototype.toArray=function(){return this.take(M)},No(Yr.prototype,function(E,N){var he=/^(?:filter|find|map|reject)|While$/.test(N),Ne=/^(?:head|last)$/.test(N),xt=Se[Ne?"take"+(N=="last"?"Right":""):N],Xt=Ne||/^find/.test(N);xt&&(Se.prototype[N]=function(){var pr=this.__wrapped__,Mr=Ne?[1]:arguments,Xr=pr instanceof Yr,Tn=Mr[0],Dn=Xr||Xa(pr),$n=function(xs){var Rs=xt.apply(Se,Aa([xs],Mr));return Ne&&Ti?Rs[0]:Rs};Dn&&he&&typeof Tn=="function"&&Tn.length!=1&&(Xr=Dn=!1);var Ti=this.__chain__,ra=!!this.__actions__.length,Pa=Xt&&!Ti,ls=Xr&&!ra;if(!Xt&&Dn){pr=ls?pr:new Yr(this);var Ia=E.apply(pr,Mr);return Ia.__actions__.push({func:Oe,args:[$n],thisArg:i}),new br(Ia,Ti)}return Pa&&ls?E.apply(this,Mr):(Ia=this.thru($n),Pa?Ne?Ia.value()[0]:Ia.value():Ia)})}),Hi(["pop","push","shift","sort","splice","unshift"],function(E){var N=ji[E],he=/^(?:push|sort|unshift)$/.test(E)?"tap":"thru",Ne=/^(?:pop|shift)$/.test(E);Se.prototype[E]=function(){var xt=arguments;if(Ne&&!this.__chain__){var Xt=this.value();return N.apply(Xa(Xt)?Xt:[],xt)}return this[he](function(pr){return N.apply(Xa(pr)?pr:[],xt)})}}),No(Yr.prototype,function(E,N){var he=Se[N];if(he){var Ne=he.name+"";fi.call(ba,Ne)||(ba[Ne]=[]),ba[Ne].push({name:N,func:he})}}),ba[mu(i,L).name]=[{name:"wrapper",func:i}],Yr.prototype.clone=An,Yr.prototype.reverse=Jn,Yr.prototype.value=Li,Se.prototype.at=tt,Se.prototype.chain=at,Se.prototype.commit=Nt,Se.prototype.next=dr,Se.prototype.plant=Zr,Se.prototype.reverse=Gr,Se.prototype.toJSON=Se.prototype.valueOf=Se.prototype.value=fn,Se.prototype.first=Se.prototype.head,jr&&(Se.prototype[jr]=ar),Se},Kn=Ln();Sa._=Kn,r=function(){return Kn}.call(g,e,g,d),r!==i&&(d.exports=r)}).call(this)},28440:function(d,g,e){var r=e(50097),i=e(63323),l=i(function(c,f,s){r(c,f,s)});d.exports=l},55950:function(d){function g(){return!1}d.exports=g},20480:function(d,g,e){var r=e(95378),i=e(56730);function l(c){return r(c,i(c))}d.exports=l},32834:function(d){(function(g,e){d.exports=e()})(this,function(){"use strict";function g(Tt,ke){for(var St=0;St<ke.length;St++){var be=ke[St];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(Tt,be.key,be)}}function e(Tt,ke,St){return ke&&g(Tt.prototype,ke),St&&g(Tt,St),Tt}function r(Tt,ke){if(Tt){if(typeof Tt=="string")return i(Tt,ke);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,ke)}}function i(Tt,ke){(ke==null||ke>Tt.length)&&(ke=Tt.length);for(var St=0,be=new Array(ke);St<ke;St++)be[St]=Tt[St];return be}function l(Tt,ke){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))||ke&&Tt&&typeof Tt.length=="number"){St&&(Tt=St);var be=0;return function(){return be>=Tt.length?{done:!0}:{done:!1,value:Tt[be++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c={exports:{}};function f(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function s(Tt){c.exports.defaults=Tt}c.exports={defaults:f(),getDefaults:f,changeDefaults:s};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},y=function(ke){return p[ke]};function _(Tt,ke){if(ke){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(ke,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 R=/(^|[^\[])\^/g;function L(Tt,ke){Tt=Tt.source||Tt,ke=ke||"";var St={replace:function(Ke,gt){return gt=gt.source||gt,gt=gt.replace(R,"$1"),Tt=Tt.replace(Ke,gt),St},getRegex:function(){return new RegExp(Tt,ke)}};return St}var T=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function B(Tt,ke,St){if(Tt){var be;try{be=decodeURIComponent(S(St)).replace(T,"").toLowerCase()}catch(Ke){return null}if(be.indexOf("javascript:")===0||be.indexOf("vbscript:")===0||be.indexOf("data:")===0)return null}ke&&!D.test(St)&&(St=G(ke,St));try{St=encodeURI(St).replace(/%25/g,"%")}catch(Ke){return null}return St}var $={},U=/^[^:]+:\/*[^/]*$/,V=/^([^:]+:)[\s\S]*$/,K=/^([^:]+:\/*[^/]*)[\s\S]*$/;function G(Tt,ke){$[" "+Tt]||(U.test(Tt)?$[" "+Tt]=Tt+"/":$[" "+Tt]=Q(Tt,"/",!0)),Tt=$[" "+Tt];var St=Tt.indexOf(":")===-1;return ke.substring(0,2)==="//"?St?ke:Tt.replace(V,"$1")+ke:ke.charAt(0)==="/"?St?ke:Tt.replace(K,"$1")+ke:Tt+ke}var oe={exec:function(){}};function ae(Tt){for(var ke=1,St,be;ke<arguments.length;ke++){St=arguments[ke];for(be in St)Object.prototype.hasOwnProperty.call(St,be)&&(Tt[be]=St[be])}return Tt}function le(Tt,ke){var St=Tt.replace(/\|/g,function(gt,Rt,Be){for(var kr=!1,At=Rt;--At>=0&&Be[At]==="\\";)kr=!kr;return kr?"|":" |"}),be=St.split(/ \|/),Ke=0;if(be.length>ke)be.splice(ke);else for(;be.length<ke;)be.push("");for(;Ke<be.length;Ke++)be[Ke]=be[Ke].trim().replace(/\\\|/g,"|");return be}function Q(Tt,ke,St){var be=Tt.length;if(be===0)return"";for(var Ke=0;Ke<be;){var gt=Tt.charAt(be-Ke-1);if(gt===ke&&!St)Ke++;else if(gt!==ke&&St)Ke++;else break}return Tt.substr(0,be-Ke)}function J(Tt,ke){if(Tt.indexOf(ke[1])===-1)return-1;for(var St=Tt.length,be=0,Ke=0;Ke<St;Ke++)if(Tt[Ke]==="\\")Ke++;else if(Tt[Ke]===ke[0])be++;else if(Tt[Ke]===ke[1]&&(be--,be<0))return Ke;return-1}function Y(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 ue(Tt,ke){if(ke<1)return"";for(var St="";ke>1;)ke&1&&(St+=Tt),ke>>=1,Tt+=Tt;return St+Tt}var ne={escape:_,unescape:S,edit:L,cleanUrl:B,resolveUrl:G,noopTest:oe,merge:ae,splitCells:le,rtrim:Q,findClosingBracket:J,checkSanitizeDeprecation:Y,repeatString:ue},ee=c.exports.defaults,ie=ne.rtrim,F=ne.splitCells,M=ne.escape,q=ne.findClosingBracket;function de(Tt,ke,St){var be=ke.href,Ke=ke.title?M(ke.title):null,gt=Tt[1].replace(/\\([\[\]])/g,"$1");return Tt[0].charAt(0)!=="!"?{type:"link",raw:St,href:be,title:Ke,text:gt}:{type:"image",raw:St,href:be,title:Ke,text:M(gt)}}function Ee(Tt,ke){var St=Tt.match(/^(\s+)(?:```)/);if(St===null)return ke;var be=St[1];return ke.split(`
|
|
|
`).map(function(Ke){var gt=Ke.match(/^\s+/);if(gt===null)return Ke;var Rt=gt[0];return Rt.length>=be.length?Ke.slice(be.length):Ke}).join(`
|
|
|
`)}var Ce=function(){function Tt(St){this.options=St||ee}var ke=Tt.prototype;return ke.space=function(be){var Ke=this.rules.block.newline.exec(be);if(Ke)return Ke[0].length>1?{type:"space",raw:Ke[0]}:{raw:`
|
|
|
`}},ke.code=function(be){var Ke=this.rules.block.code.exec(be);if(Ke){var gt=Ke[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ke[0],codeBlockStyle:"indented",text:this.options.pedantic?gt:ie(gt,`
|
|
|
`)}}},ke.fences=function(be){var Ke=this.rules.block.fences.exec(be);if(Ke){var gt=Ke[0],Rt=Ee(gt,Ke[3]||"");return{type:"code",raw:gt,lang:Ke[2]?Ke[2].trim():Ke[2],text:Rt}}},ke.heading=function(be){var Ke=this.rules.block.heading.exec(be);if(Ke){var gt=Ke[2].trim();if(/#$/.test(gt)){var Rt=ie(gt,"#");(this.options.pedantic||!Rt||/ $/.test(Rt))&&(gt=Rt.trim())}return{type:"heading",raw:Ke[0],depth:Ke[1].length,text:gt}}},ke.nptable=function(be){var Ke=this.rules.block.nptable.exec(be);if(Ke){var gt={type:"table",header:F(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Ke[0]};if(gt.header.length===gt.align.length){var Rt=gt.align.length,Be;for(Be=0;Be<Rt;Be++)/^ *-+: *$/.test(gt.align[Be])?gt.align[Be]="right":/^ *:-+: *$/.test(gt.align[Be])?gt.align[Be]="center":/^ *:-+ *$/.test(gt.align[Be])?gt.align[Be]="left":gt.align[Be]=null;for(Rt=gt.cells.length,Be=0;Be<Rt;Be++)gt.cells[Be]=F(gt.cells[Be],gt.header.length);return gt}}},ke.hr=function(be){var Ke=this.rules.block.hr.exec(be);if(Ke)return{type:"hr",raw:Ke[0]}},ke.blockquote=function(be){var Ke=this.rules.block.blockquote.exec(be);if(Ke){var gt=Ke[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ke[0],text:gt}}},ke.list=function(be){var Ke=this.rules.block.list.exec(be);if(Ke){var gt=Ke[0],Rt=Ke[2],Be=Rt.length>1,kr={type:"list",raw:gt,ordered:Be,start:Be?+Rt.slice(0,-1):"",loose:!1,items:[]},At=Ke[0].match(this.rules.block.item),Kr=!1,Qr,Ar,$r,_r,Ur,sn,cn,ur,Lt,vt=At.length;$r=this.rules.block.listItemStart.exec(At[0]);for(var yt=0;yt<vt;yt++){if(Qr=At[yt],gt=Qr,this.options.pedantic||(Lt=Qr.match(new RegExp("\\n\\s*\\n {0,"+($r[0].length-1)+"}\\S")),Lt&&(Ur=Qr.length-Lt.index+At.slice(yt+1).join(`
|
|
|
`).length,kr.raw=kr.raw.substring(0,kr.raw.length-Ur),Qr=Qr.substring(0,Lt.index),gt=Qr,vt=yt+1)),yt!==vt-1){if(_r=this.rules.block.listItemStart.exec(At[yt+1]),this.options.pedantic?_r[1].length>$r[1].length:_r[1].length>=$r[0].length||_r[1].length>3){At.splice(yt,2,At[yt]+(!this.options.pedantic&&_r[1].length<$r[0].length&&!At[yt].match(/\n$/)?"":`
|
|
|
`)+At[yt+1]),yt--,vt--;continue}else(!this.options.pedantic||this.options.smartLists?_r[2][_r[2].length-1]!==Rt[Rt.length-1]:Be===(_r[2].length===1))&&(Ur=At.slice(yt+1).join(`
|
|
|
`).length,kr.raw=kr.raw.substring(0,kr.raw.length-Ur),yt=vt-1);$r=_r}Ar=Qr.length,Qr=Qr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Qr.indexOf(`
|
|
|
`)&&(Ar-=Qr.length,Qr=this.options.pedantic?Qr.replace(/^ {1,4}/gm,""):Qr.replace(new RegExp("^ {1,"+Ar+"}","gm"),"")),Qr=ie(Qr,`
|
|
|
`),yt!==vt-1&&(gt=gt+`
|
|
|
`),sn=Kr||/\n\n(?!\s*$)/.test(gt),yt!==vt-1&&(Kr=gt.slice(-2)===`
|
|
|
|
|
|
`,sn||(sn=Kr)),sn&&(kr.loose=!0),this.options.gfm&&(cn=/^\[[ xX]\] /.test(Qr),ur=void 0,cn&&(ur=Qr[1]!==" ",Qr=Qr.replace(/^\[[ xX]\] +/,""))),kr.items.push({type:"list_item",raw:gt,task:cn,checked:ur,loose:sn,text:Qr})}return kr}},ke.html=function(be){var Ke=this.rules.block.html.exec(be);if(Ke)return{type:this.options.sanitize?"paragraph":"html",raw:Ke[0],pre:!this.options.sanitizer&&(Ke[1]==="pre"||Ke[1]==="script"||Ke[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ke[0]):M(Ke[0]):Ke[0]}},ke.def=function(be){var Ke=this.rules.block.def.exec(be);if(Ke){Ke[3]&&(Ke[3]=Ke[3].substring(1,Ke[3].length-1));var gt=Ke[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:gt,raw:Ke[0],href:Ke[2],title:Ke[3]}}},ke.table=function(be){var Ke=this.rules.block.table.exec(be);if(Ke){var gt={type:"table",header:F(Ke[1].replace(/^ *| *\| *$/g,"")),align:Ke[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ke[3]?Ke[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(gt.header.length===gt.align.length){gt.raw=Ke[0];var Rt=gt.align.length,Be;for(Be=0;Be<Rt;Be++)/^ *-+: *$/.test(gt.align[Be])?gt.align[Be]="right":/^ *:-+: *$/.test(gt.align[Be])?gt.align[Be]="center":/^ *:-+ *$/.test(gt.align[Be])?gt.align[Be]="left":gt.align[Be]=null;for(Rt=gt.cells.length,Be=0;Be<Rt;Be++)gt.cells[Be]=F(gt.cells[Be].replace(/^ *\| *| *\| *$/g,""),gt.header.length);return gt}}},ke.lheading=function(be){var Ke=this.rules.block.lheading.exec(be);if(Ke)return{type:"heading",raw:Ke[0],depth:Ke[2].charAt(0)==="="?1:2,text:Ke[1]}},ke.paragraph=function(be){var Ke=this.rules.block.paragraph.exec(be);if(Ke)return{type:"paragraph",raw:Ke[0],text:Ke[1].charAt(Ke[1].length-1)===`
|
|
|
`?Ke[1].slice(0,-1):Ke[1]}},ke.text=function(be){var Ke=this.rules.block.text.exec(be);if(Ke)return{type:"text",raw:Ke[0],text:Ke[0]}},ke.escape=function(be){var Ke=this.rules.inline.escape.exec(be);if(Ke)return{type:"escape",raw:Ke[0],text:M(Ke[1])}},ke.tag=function(be,Ke,gt){var Rt=this.rules.inline.tag.exec(be);if(Rt)return!Ke&&/^<a /i.test(Rt[0])?Ke=!0:Ke&&/^<\/a>/i.test(Rt[0])&&(Ke=!1),!gt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Rt[0])?gt=!0:gt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Rt[0])&&(gt=!1),{type:this.options.sanitize?"text":"html",raw:Rt[0],inLink:Ke,inRawBlock:gt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Rt[0]):M(Rt[0]):Rt[0]}},ke.link=function(be){var Ke=this.rules.inline.link.exec(be);if(Ke){var gt=Ke[2].trim();if(!this.options.pedantic&&/^</.test(gt)){if(!/>$/.test(gt))return;var Rt=ie(gt.slice(0,-1),"\\");if((gt.length-Rt.length)%2===0)return}else{var Be=q(Ke[2],"()");if(Be>-1){var kr=Ke[0].indexOf("!")===0?5:4,At=kr+Ke[1].length+Be;Ke[2]=Ke[2].substring(0,Be),Ke[0]=Ke[0].substring(0,At).trim(),Ke[3]=""}}var Kr=Ke[2],Qr="";if(this.options.pedantic){var Ar=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Kr);Ar&&(Kr=Ar[1],Qr=Ar[3])}else Qr=Ke[3]?Ke[3].slice(1,-1):"";return Kr=Kr.trim(),/^</.test(Kr)&&(this.options.pedantic&&!/>$/.test(gt)?Kr=Kr.slice(1):Kr=Kr.slice(1,-1)),de(Ke,{href:Kr&&Kr.replace(this.rules.inline._escapes,"$1"),title:Qr&&Qr.replace(this.rules.inline._escapes,"$1")},Ke[0])}},ke.reflink=function(be,Ke){var gt;if((gt=this.rules.inline.reflink.exec(be))||(gt=this.rules.inline.nolink.exec(be))){var Rt=(gt[2]||gt[1]).replace(/\s+/g," ");if(Rt=Ke[Rt.toLowerCase()],!Rt||!Rt.href){var Be=gt[0].charAt(0);return{type:"text",raw:Be,text:Be}}return de(gt,Rt,gt[0])}},ke.emStrong=function(be,Ke,gt){gt===void 0&&(gt="");var Rt=this.rules.inline.emStrong.lDelim.exec(be);if(Rt&&!(Rt[3]&>.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var Be=Rt[1]||Rt[2]||"";if(!Be||Be&&(gt===""||this.rules.inline.punctuation.exec(gt))){var kr=Rt[0].length-1,At,Kr,Qr=kr,Ar=0,$r=Rt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for($r.lastIndex=0,Ke=Ke.slice(-1*be.length+kr);(Rt=$r.exec(Ke))!=null;)if(At=Rt[1]||Rt[2]||Rt[3]||Rt[4]||Rt[5]||Rt[6],!!At){if(Kr=At.length,Rt[3]||Rt[4]){Qr+=Kr;continue}else if((Rt[5]||Rt[6])&&kr%3&&!((kr+Kr)%3)){Ar+=Kr;continue}if(Qr-=Kr,!(Qr>0))return Kr=Math.min(Kr,Kr+Qr+Ar),Math.min(kr,Kr)%2?{type:"em",raw:be.slice(0,kr+Rt.index+Kr+1),text:be.slice(1,kr+Rt.index+Kr)}:{type:"strong",raw:be.slice(0,kr+Rt.index+Kr+1),text:be.slice(2,kr+Rt.index+Kr-1)}}}}},ke.codespan=function(be){var Ke=this.rules.inline.code.exec(be);if(Ke){var gt=Ke[2].replace(/\n/g," "),Rt=/[^ ]/.test(gt),Be=/^ /.test(gt)&&/ $/.test(gt);return Rt&&Be&&(gt=gt.substring(1,gt.length-1)),gt=M(gt,!0),{type:"codespan",raw:Ke[0],text:gt}}},ke.br=function(be){var Ke=this.rules.inline.br.exec(be);if(Ke)return{type:"br",raw:Ke[0]}},ke.del=function(be){var Ke=this.rules.inline.del.exec(be);if(Ke)return{type:"del",raw:Ke[0],text:Ke[2]}},ke.autolink=function(be,Ke){var gt=this.rules.inline.autolink.exec(be);if(gt){var Rt,Be;return gt[2]==="@"?(Rt=M(this.options.mangle?Ke(gt[1]):gt[1]),Be="mailto:"+Rt):(Rt=M(gt[1]),Be=Rt),{type:"link",raw:gt[0],text:Rt,href:Be,tokens:[{type:"text",raw:Rt,text:Rt}]}}},ke.url=function(be,Ke){var gt;if(gt=this.rules.inline.url.exec(be)){var Rt,Be;if(gt[2]==="@")Rt=M(this.options.mangle?Ke(gt[0]):gt[0]),Be="mailto:"+Rt;else{var kr;do kr=gt[0],gt[0]=this.rules.inline._backpedal.exec(gt[0])[0];while(kr!==gt[0]);Rt=M(gt[0]),gt[1]==="www."?Be="http://"+Rt:Be=Rt}return{type:"link",raw:gt[0],text:Rt,href:Be,tokens:[{type:"text",raw:Rt,text:Rt}]}}},ke.inlineText=function(be,Ke,gt){var Rt=this.rules.inline.text.exec(be);if(Rt){var Be;return Ke?Be=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Rt[0]):M(Rt[0]):Rt[0]:Be=M(this.options.smartypants?gt(Rt[0]):Rt[0]),{type:"text",raw:Rt[0],text:Be}}},Tt}(),je=ne.noopTest,Fe=ne.edit,Ft=ne.merge,_t={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:je,table:je,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};_t._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_t._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,_t.def=Fe(_t.def).replace("label",_t._label).replace("title",_t._title).getRegex(),_t.bullet=/(?:[*+-]|\d{1,9}[.)])/,_t.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,_t.item=Fe(_t.item,"gm").replace(/bull/g,_t.bullet).getRegex(),_t.listItemStart=Fe(/^( *)(bull) */).replace("bull",_t.bullet).getRegex(),_t.list=Fe(_t.list).replace(/bull/g,_t.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+_t.def.source+")").getRegex(),_t._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",_t._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,_t.html=Fe(_t.html,"i").replace("comment",_t._comment).replace("tag",_t._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_t.paragraph=Fe(_t._paragraph).replace("hr",_t.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",_t._tag).getRegex(),_t.blockquote=Fe(_t.blockquote).replace("paragraph",_t.paragraph).getRegex(),_t.normal=Ft({},_t),_t.gfm=Ft({},_t.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*|$)"}),_t.gfm.nptable=Fe(_t.gfm.nptable).replace("hr",_t.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",_t._tag).getRegex(),_t.gfm.table=Fe(_t.gfm.table).replace("hr",_t.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",_t._tag).getRegex(),_t.pedantic=Ft({},_t.normal,{html:Fe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",_t._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:je,paragraph:Fe(_t.normal._paragraph).replace("hr",_t.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",_t.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Pt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:je,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:je,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Pt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Pt.punctuation=Fe(Pt.punctuation).replace(/punctuation/g,Pt._punctuation).getRegex(),Pt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Pt.escapedEmSt=/\\\*|\\_/g,Pt._comment=Fe(_t._comment).replace("(?:-->|$)","-->").getRegex(),Pt.emStrong.lDelim=Fe(Pt.emStrong.lDelim).replace(/punct/g,Pt._punctuation).getRegex(),Pt.emStrong.rDelimAst=Fe(Pt.emStrong.rDelimAst,"g").replace(/punct/g,Pt._punctuation).getRegex(),Pt.emStrong.rDelimUnd=Fe(Pt.emStrong.rDelimUnd,"g").replace(/punct/g,Pt._punctuation).getRegex(),Pt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Pt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Pt._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Pt.autolink=Fe(Pt.autolink).replace("scheme",Pt._scheme).replace("email",Pt._email).getRegex(),Pt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Pt.tag=Fe(Pt.tag).replace("comment",Pt._comment).replace("attribute",Pt._attribute).getRegex(),Pt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Pt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Pt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Pt.link=Fe(Pt.link).replace("label",Pt._label).replace("href",Pt._href).replace("title",Pt._title).getRegex(),Pt.reflink=Fe(Pt.reflink).replace("label",Pt._label).getRegex(),Pt.reflinkSearch=Fe(Pt.reflinkSearch,"g").replace("reflink",Pt.reflink).replace("nolink",Pt.nolink).getRegex(),Pt.normal=Ft({},Pt),Pt.pedantic=Ft({},Pt.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Fe(/^!?\[(label)\]\((.*?)\)/).replace("label",Pt._label).getRegex(),reflink:Fe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pt._label).getRegex()}),Pt.gfm=Ft({},Pt.normal,{escape:Fe(Pt.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Pt.gfm.url=Fe(Pt.gfm.url,"i").replace("email",Pt.gfm._extended_email).getRegex(),Pt.breaks=Ft({},Pt.gfm,{br:Fe(Pt.br).replace("{2,}","*").getRegex(),text:Fe(Pt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Qt={block:_t,inline:Pt},er=Ce,Jt=c.exports.defaults,Xe=Qt.block,It=Qt.inline,zt=ne.repeatString;function st(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 bt(Tt){var ke="",St,be,Ke=Tt.length;for(St=0;St<Ke;St++)be=Tt.charCodeAt(St),Math.random()>.5&&(be="x"+be.toString(16)),ke+="&#"+be+";";return ke}var ht=function(){function Tt(St){this.tokens=[],this.tokens.links=Object.create(null),this.options=St||Jt,this.options.tokenizer=this.options.tokenizer||new er,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var be={block:Xe.normal,inline:It.normal};this.options.pedantic?(be.block=Xe.pedantic,be.inline=It.pedantic):this.options.gfm&&(be.block=Xe.gfm,this.options.breaks?be.inline=It.breaks:be.inline=It.gfm),this.tokenizer.rules=be}Tt.lex=function(be,Ke){var gt=new Tt(Ke);return gt.lex(be)},Tt.lexInline=function(be,Ke){var gt=new Tt(Ke);return gt.inlineTokens(be)};var ke=Tt.prototype;return ke.lex=function(be){return be=be.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(be,this.tokens,!0),this.inline(this.tokens),this.tokens},ke.blockTokens=function(be,Ke,gt){Ke===void 0&&(Ke=[]),gt===void 0&&(gt=!0),this.options.pedantic&&(be=be.replace(/^ +$/gm,""));for(var Rt,Be,kr,At;be;){if(Rt=this.tokenizer.space(be)){be=be.substring(Rt.raw.length),Rt.type&&Ke.push(Rt);continue}if(Rt=this.tokenizer.code(be)){be=be.substring(Rt.raw.length),At=Ke[Ke.length-1],At&&At.type==="paragraph"?(At.raw+=`
|
|
|
`+Rt.raw,At.text+=`
|
|
|
`+Rt.text):Ke.push(Rt);continue}if(Rt=this.tokenizer.fences(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.heading(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.nptable(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.hr(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.blockquote(be)){be=be.substring(Rt.raw.length),Rt.tokens=this.blockTokens(Rt.text,[],gt),Ke.push(Rt);continue}if(Rt=this.tokenizer.list(be)){for(be=be.substring(Rt.raw.length),kr=Rt.items.length,Be=0;Be<kr;Be++)Rt.items[Be].tokens=this.blockTokens(Rt.items[Be].text,[],!1);Ke.push(Rt);continue}if(Rt=this.tokenizer.html(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(gt&&(Rt=this.tokenizer.def(be))){be=be.substring(Rt.raw.length),this.tokens.links[Rt.tag]||(this.tokens.links[Rt.tag]={href:Rt.href,title:Rt.title});continue}if(Rt=this.tokenizer.table(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.lheading(be)){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(gt&&(Rt=this.tokenizer.paragraph(be))){be=be.substring(Rt.raw.length),Ke.push(Rt);continue}if(Rt=this.tokenizer.text(be)){be=be.substring(Rt.raw.length),At=Ke[Ke.length-1],At&&At.type==="text"?(At.raw+=`
|
|
|
`+Rt.raw,At.text+=`
|
|
|
`+Rt.text):Ke.push(Rt);continue}if(be){var Kr="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(Kr);break}else throw new Error(Kr)}}return Ke},ke.inline=function(be){var Ke,gt,Rt,Be,kr,At,Kr=be.length;for(Ke=0;Ke<Kr;Ke++)switch(At=be[Ke],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,gt=0;gt<Be;gt++)At.tokens.header[gt]=[],this.inlineTokens(At.header[gt],At.tokens.header[gt]);for(Be=At.cells.length,gt=0;gt<Be;gt++)for(kr=At.cells[gt],At.tokens.cells[gt]=[],Rt=0;Rt<kr.length;Rt++)At.tokens.cells[gt][Rt]=[],this.inlineTokens(kr[Rt],At.tokens.cells[gt][Rt]);break}case"blockquote":{this.inline(At.tokens);break}case"list":{for(Be=At.items.length,gt=0;gt<Be;gt++)this.inline(At.items[gt].tokens);break}}return be},ke.inlineTokens=function(be,Ke,gt,Rt){Ke===void 0&&(Ke=[]),gt===void 0&&(gt=!1),Rt===void 0&&(Rt=!1);var Be,kr,At=be,Kr,Qr,Ar;if(this.tokens.links){var $r=Object.keys(this.tokens.links);if($r.length>0)for(;(Kr=this.tokenizer.rules.inline.reflinkSearch.exec(At))!=null;)$r.includes(Kr[0].slice(Kr[0].lastIndexOf("[")+1,-1))&&(At=At.slice(0,Kr.index)+"["+zt("a",Kr[0].length-2)+"]"+At.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Kr=this.tokenizer.rules.inline.blockSkip.exec(At))!=null;)At=At.slice(0,Kr.index)+"["+zt("a",Kr[0].length-2)+"]"+At.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Kr=this.tokenizer.rules.inline.escapedEmSt.exec(At))!=null;)At=At.slice(0,Kr.index)+"++"+At.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;be;){if(Qr||(Ar=""),Qr=!1,Be=this.tokenizer.escape(be)){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.tag(be,gt,Rt)){be=be.substring(Be.raw.length),gt=Be.inLink,Rt=Be.inRawBlock;var _r=Ke[Ke.length-1];_r&&Be.type==="text"&&_r.type==="text"?(_r.raw+=Be.raw,_r.text+=Be.text):Ke.push(Be);continue}if(Be=this.tokenizer.link(be)){be=be.substring(Be.raw.length),Be.type==="link"&&(Be.tokens=this.inlineTokens(Be.text,[],!0,Rt)),Ke.push(Be);continue}if(Be=this.tokenizer.reflink(be,this.tokens.links)){be=be.substring(Be.raw.length);var Ur=Ke[Ke.length-1];Be.type==="link"?(Be.tokens=this.inlineTokens(Be.text,[],!0,Rt),Ke.push(Be)):Ur&&Be.type==="text"&&Ur.type==="text"?(Ur.raw+=Be.raw,Ur.text+=Be.text):Ke.push(Be);continue}if(Be=this.tokenizer.emStrong(be,At,Ar)){be=be.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],gt,Rt),Ke.push(Be);continue}if(Be=this.tokenizer.codespan(be)){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.br(be)){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.del(be)){be=be.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],gt,Rt),Ke.push(Be);continue}if(Be=this.tokenizer.autolink(be,bt)){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(!gt&&(Be=this.tokenizer.url(be,bt))){be=be.substring(Be.raw.length),Ke.push(Be);continue}if(Be=this.tokenizer.inlineText(be,Rt,st)){be=be.substring(Be.raw.length),Be.raw.slice(-1)!=="_"&&(Ar=Be.raw.slice(-1)),Qr=!0,kr=Ke[Ke.length-1],kr&&kr.type==="text"?(kr.raw+=Be.raw,kr.text+=Be.text):Ke.push(Be);continue}if(be){var sn="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(sn);break}else throw new Error(sn)}}return Ke},e(Tt,null,[{key:"rules",get:function(){return{block:Xe,inline:It}}}]),Tt}(),Je=c.exports.defaults,Ue=ne.cleanUrl,ge=ne.escape,Ae=function(){function Tt(St){this.options=St||Je}var ke=Tt.prototype;return ke.code=function(be,Ke,gt){var Rt=(Ke||"").match(/\S*/)[0];if(this.options.highlight){var Be=this.options.highlight(be,Rt);Be!=null&&Be!==be&&(gt=!0,be=Be)}return be=be.replace(/\n$/,"")+`
|
|
|
`,Rt?'<pre><code class="'+this.options.langPrefix+ge(Rt,!0)+'">'+(gt?be:ge(be,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(gt?be:ge(be,!0))+`</code></pre>
|
|
|
`},ke.blockquote=function(be){return`<blockquote>
|
|
|
`+be+`</blockquote>
|
|
|
`},ke.html=function(be){return be},ke.heading=function(be,Ke,gt,Rt){return this.options.headerIds?"<h"+Ke+' id="'+this.options.headerPrefix+Rt.slug(gt)+'">'+be+"</h"+Ke+`>
|
|
|
`:"<h"+Ke+">"+be+"</h"+Ke+`>
|
|
|
`},ke.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},ke.list=function(be,Ke,gt){var Rt=Ke?"ol":"ul",Be=Ke&>!==1?' start="'+gt+'"':"";return"<"+Rt+Be+`>
|
|
|
`+be+"</"+Rt+`>
|
|
|
`},ke.listitem=function(be){return"<li>"+be+`</li>
|
|
|
`},ke.checkbox=function(be){return"<input "+(be?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},ke.paragraph=function(be){return"<p>"+be+`</p>
|
|
|
`},ke.table=function(be,Ke){return Ke&&(Ke="<tbody>"+Ke+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+be+`</thead>
|
|
|
`+Ke+`</table>
|
|
|
`},ke.tablerow=function(be){return`<tr>
|
|
|
`+be+`</tr>
|
|
|
`},ke.tablecell=function(be,Ke){var gt=Ke.header?"th":"td",Rt=Ke.align?"<"+gt+' align="'+Ke.align+'">':"<"+gt+">";return Rt+be+"</"+gt+`>
|
|
|
`},ke.strong=function(be){return"<strong>"+be+"</strong>"},ke.em=function(be){return"<em>"+be+"</em>"},ke.codespan=function(be){return"<code>"+be+"</code>"},ke.br=function(){return this.options.xhtml?"<br/>":"<br>"},ke.del=function(be){return"<del>"+be+"</del>"},ke.link=function(be,Ke,gt){if(be=Ue(this.options.sanitize,this.options.baseUrl,be),be===null)return gt;var Rt='<a href="'+ge(be)+'"';return Ke&&(Rt+=' title="'+Ke+'"'),Rt+=">"+gt+"</a>",Rt},ke.image=function(be,Ke,gt){if(be=Ue(this.options.sanitize,this.options.baseUrl,be),be===null)return gt;var Rt='<img src="'+be+'" alt="'+gt+'"';return Ke&&(Rt+=' title="'+Ke+'"'),Rt+=this.options.xhtml?"/>":">",Rt},ke.text=function(be){return be},Tt}(),Me=function(){function Tt(){}var ke=Tt.prototype;return ke.strong=function(be){return be},ke.em=function(be){return be},ke.codespan=function(be){return be},ke.del=function(be){return be},ke.html=function(be){return be},ke.text=function(be){return be},ke.link=function(be,Ke,gt){return""+gt},ke.image=function(be,Ke,gt){return""+gt},ke.br=function(){return""},Tt}(),$e=function(){function Tt(){this.seen={}}var ke=Tt.prototype;return ke.serialize=function(be){return be.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},ke.getNextSafeSlug=function(be,Ke){var gt=be,Rt=0;if(this.seen.hasOwnProperty(gt)){Rt=this.seen[be];do Rt++,gt=be+"-"+Rt;while(this.seen.hasOwnProperty(gt))}return Ke||(this.seen[be]=Rt,this.seen[gt]=0),gt},ke.slug=function(be,Ke){Ke===void 0&&(Ke={});var gt=this.serialize(be);return this.getNextSafeSlug(gt,Ke.dryrun)},Tt}(),He=Ae,nt=Me,ct=$e,Kt=c.exports.defaults,Wt=ne.unescape,De=function(){function Tt(St){this.options=St||Kt,this.options.renderer=this.options.renderer||new He,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new nt,this.slugger=new ct}Tt.parse=function(be,Ke){var gt=new Tt(Ke);return gt.parse(be)},Tt.parseInline=function(be,Ke){var gt=new Tt(Ke);return gt.parseInline(be)};var ke=Tt.prototype;return ke.parse=function(be,Ke){Ke===void 0&&(Ke=!0);var gt="",Rt,Be,kr,At,Kr,Qr,Ar,$r,_r,Ur,sn,cn,ur,Lt,vt,yt,jt,Cr,yr=be.length;for(Rt=0;Rt<yr;Rt++)switch(Ur=be[Rt],Ur.type){case"space":continue;case"hr":{gt+=this.renderer.hr();continue}case"heading":{gt+=this.renderer.heading(this.parseInline(Ur.tokens),Ur.depth,Wt(this.parseInline(Ur.tokens,this.textRenderer)),this.slugger);continue}case"code":{gt+=this.renderer.code(Ur.text,Ur.lang,Ur.escaped);continue}case"table":{for($r="",Ar="",At=Ur.header.length,Be=0;Be<At;Be++)Ar+=this.renderer.tablecell(this.parseInline(Ur.tokens.header[Be]),{header:!0,align:Ur.align[Be]});for($r+=this.renderer.tablerow(Ar),_r="",At=Ur.cells.length,Be=0;Be<At;Be++){for(Qr=Ur.tokens.cells[Be],Ar="",Kr=Qr.length,kr=0;kr<Kr;kr++)Ar+=this.renderer.tablecell(this.parseInline(Qr[kr]),{header:!1,align:Ur.align[kr]});_r+=this.renderer.tablerow(Ar)}gt+=this.renderer.table($r,_r);continue}case"blockquote":{_r=this.parse(Ur.tokens),gt+=this.renderer.blockquote(_r);continue}case"list":{for(sn=Ur.ordered,cn=Ur.start,ur=Ur.loose,At=Ur.items.length,_r="",Be=0;Be<At;Be++)vt=Ur.items[Be],yt=vt.checked,jt=vt.task,Lt="",vt.task&&(Cr=this.renderer.checkbox(yt),ur?vt.tokens.length>0&&vt.tokens[0].type==="text"?(vt.tokens[0].text=Cr+" "+vt.tokens[0].text,vt.tokens[0].tokens&&vt.tokens[0].tokens.length>0&&vt.tokens[0].tokens[0].type==="text"&&(vt.tokens[0].tokens[0].text=Cr+" "+vt.tokens[0].tokens[0].text)):vt.tokens.unshift({type:"text",text:Cr}):Lt+=Cr),Lt+=this.parse(vt.tokens,ur),_r+=this.renderer.listitem(Lt,jt,yt);gt+=this.renderer.list(_r,sn,cn);continue}case"html":{gt+=this.renderer.html(Ur.text);continue}case"paragraph":{gt+=this.renderer.paragraph(this.parseInline(Ur.tokens));continue}case"text":{for(_r=Ur.tokens?this.parseInline(Ur.tokens):Ur.text;Rt+1<yr&&be[Rt+1].type==="text";)Ur=be[++Rt],_r+=`
|
|
|
`+(Ur.tokens?this.parseInline(Ur.tokens):Ur.text);gt+=Ke?this.renderer.paragraph(_r):_r;continue}default:{var ot='Token with "'+Ur.type+'" type was not found.';if(this.options.silent){console.error(ot);return}else throw new Error(ot)}}return gt},ke.parseInline=function(be,Ke){Ke=Ke||this.renderer;var gt="",Rt,Be,kr=be.length;for(Rt=0;Rt<kr;Rt++)switch(Be=be[Rt],Be.type){case"escape":{gt+=Ke.text(Be.text);break}case"html":{gt+=Ke.html(Be.text);break}case"link":{gt+=Ke.link(Be.href,Be.title,this.parseInline(Be.tokens,Ke));break}case"image":{gt+=Ke.image(Be.href,Be.title,Be.text);break}case"strong":{gt+=Ke.strong(this.parseInline(Be.tokens,Ke));break}case"em":{gt+=Ke.em(this.parseInline(Be.tokens,Ke));break}case"codespan":{gt+=Ke.codespan(Be.text);break}case"br":{gt+=Ke.br();break}case"del":{gt+=Ke.del(this.parseInline(Be.tokens,Ke));break}case"text":{gt+=Ke.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 gt},Tt}(),Qe=ht,Vt=De,kt=Ce,Ht=Ae,$t=Me,Ct=$e,Yt=ne.merge,Ge=ne.checkSanitizeDeprecation,fe=ne.escape,_e=c.exports.getDefaults,Ot=c.exports.changeDefaults,Pe=c.exports.defaults;function dt(Tt,ke,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 ke=="function"&&(St=ke,ke=null),ke=Yt({},dt.defaults,ke||{}),Ge(ke),St){var be=ke.highlight,Ke;try{Ke=Qe.lex(Tt,ke)}catch(kr){return St(kr)}var gt=function(At){var Kr;if(!At)try{ke.walkTokens&&dt.walkTokens(Ke,ke.walkTokens),Kr=Vt.parse(Ke,ke)}catch(Qr){At=Qr}return ke.highlight=be,At?St(At):St(null,Kr)};if(!be||be.length<3||(delete ke.highlight,!Ke.length))return gt();var Rt=0;dt.walkTokens(Ke,function(kr){kr.type==="code"&&(Rt++,setTimeout(function(){be(kr.text,kr.lang,function(At,Kr){if(At)return gt(At);Kr!=null&&Kr!==kr.text&&(kr.text=Kr,kr.escaped=!0),Rt--,Rt===0&>()})},0))}),Rt===0&>();return}try{var Be=Qe.lex(Tt,ke);return ke.walkTokens&&dt.walkTokens(Be,ke.walkTokens),Vt.parse(Be,ke)}catch(kr){if(kr.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,ke.silent)return"<p>An error occurred:</p><pre>"+fe(kr.message+"",!0)+"</pre>";throw kr}}dt.options=dt.setOptions=function(Tt){return Yt(dt.defaults,Tt),Ot(dt.defaults),dt},dt.getDefaults=_e,dt.defaults=Pe,dt.use=function(Tt){var ke=Yt({},Tt);if(Tt.renderer&&function(){var be=dt.defaults.renderer||new Ht,Ke=function(Be){var kr=be[Be];be[Be]=function(){for(var At=arguments.length,Kr=new Array(At),Qr=0;Qr<At;Qr++)Kr[Qr]=arguments[Qr];var Ar=Tt.renderer[Be].apply(be,Kr);return Ar===!1&&(Ar=kr.apply(be,Kr)),Ar}};for(var gt in Tt.renderer)Ke(gt);ke.renderer=be}(),Tt.tokenizer&&function(){var be=dt.defaults.tokenizer||new kt,Ke=function(Be){var kr=be[Be];be[Be]=function(){for(var At=arguments.length,Kr=new Array(At),Qr=0;Qr<At;Qr++)Kr[Qr]=arguments[Qr];var Ar=Tt.tokenizer[Be].apply(be,Kr);return Ar===!1&&(Ar=kr.apply(be,Kr)),Ar}};for(var gt in Tt.tokenizer)Ke(gt);ke.tokenizer=be}(),Tt.walkTokens){var St=dt.defaults.walkTokens;ke.walkTokens=function(be){Tt.walkTokens(be),St&&St(be)}}dt.setOptions(ke)},dt.walkTokens=function(Tt,ke){for(var St=l(Tt),be;!(be=St()).done;){var Ke=be.value;switch(ke(Ke),Ke.type){case"table":{for(var gt=l(Ke.tokens.header),Rt;!(Rt=gt()).done;){var Be=Rt.value;dt.walkTokens(Be,ke)}for(var kr=l(Ke.tokens.cells),At;!(At=kr()).done;)for(var Kr=At.value,Qr=l(Kr),Ar;!(Ar=Qr()).done;){var $r=Ar.value;dt.walkTokens($r,ke)}break}case"list":{dt.walkTokens(Ke.items,ke);break}default:Ke.tokens&&dt.walkTokens(Ke.tokens,ke)}}},dt.parseInline=function(Tt,ke){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");ke=Yt({},dt.defaults,ke||{}),Ge(ke);try{var St=Qe.lexInline(Tt,ke);return ke.walkTokens&&dt.walkTokens(St,ke.walkTokens),Vt.parseInline(St,ke)}catch(be){if(be.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,ke.silent)return"<p>An error occurred:</p><pre>"+fe(be.message+"",!0)+"</pre>";throw be}},dt.Parser=Vt,dt.parser=Vt.parse,dt.Renderer=Ht,dt.TextRenderer=$t,dt.Lexer=Qe,dt.lexer=Qe.lex,dt.Tokenizer=kt,dt.Slugger=Ct,dt.parse=dt;var Zt=dt;return Zt})},11690:function(d){const g=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=G=>l[G];function f(G,oe){if(oe){if(g.test(G))return G.replace(e,c)}else if(r.test(G))return G.replace(i,c);return G}const s=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(G){return G.replace(s,(oe,ae)=>(ae=ae.toLowerCase(),ae==="colon"?":":ae.charAt(0)==="#"?ae.charAt(1)==="x"?String.fromCharCode(parseInt(ae.substring(2),16)):String.fromCharCode(+ae.substring(1)):""))}const u=/(^|[^\[])\^/g;function a(G,oe){G=G.source||G,oe=oe||"";const ae={replace:(le,Q)=>(Q=Q.source||Q,Q=Q.replace(u,"$1"),G=G.replace(le,Q),ae),getRegex:()=>new RegExp(G,oe)};return ae}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(G,oe,ae){if(G){let le;try{le=decodeURIComponent(h(ae)).replace(x,"").toLowerCase()}catch(Q){return null}if(le.indexOf("javascript:")===0||le.indexOf("vbscript:")===0||le.indexOf("data:")===0)return null}oe&&!p.test(ae)&&(ae=L(oe,ae));try{ae=encodeURI(ae).replace(/%25/g,"%")}catch(le){return null}return ae}const _={},b=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,R=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(G,oe){_[" "+G]||(b.test(G)?_[" "+G]=G+"/":_[" "+G]=$(G,"/",!0)),G=_[" "+G];const ae=G.indexOf(":")===-1;return oe.substring(0,2)==="//"?ae?oe:G.replace(S,"$1")+oe:oe.charAt(0)==="/"?ae?oe:G.replace(R,"$1")+oe:G+oe}const T={exec:function(){}};function D(G){let oe=1,ae,le;for(;oe<arguments.length;oe++){ae=arguments[oe];for(le in ae)Object.prototype.hasOwnProperty.call(ae,le)&&(G[le]=ae[le])}return G}function B(G,oe){const ae=G.replace(/\|/g,(J,Y,ue)=>{let ne=!1,ee=Y;for(;--ee>=0&&ue[ee]==="\\";)ne=!ne;return ne?"|":" |"}),le=ae.split(/ \|/);let Q=0;if(le.length>oe)le.splice(oe);else for(;le.length<oe;)le.push("");for(;Q<le.length;Q++)le[Q]=le[Q].trim().replace(/\\\|/g,"|");return le}function $(G,oe,ae){const le=G.length;if(le===0)return"";let Q=0;for(;Q<le;){const J=G.charAt(le-Q-1);if(J===oe&&!ae)Q++;else if(J!==oe&&ae)Q++;else break}return G.substr(0,le-Q)}function U(G,oe){if(G.indexOf(oe[1])===-1)return-1;const ae=G.length;let le=0,Q=0;for(;Q<ae;Q++)if(G[Q]==="\\")Q++;else if(G[Q]===oe[0])le++;else if(G[Q]===oe[1]&&(le--,le<0))return Q;return-1}function V(G){G&&G.sanitize&&!G.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function K(G,oe){if(oe<1)return"";let ae="";for(;oe>1;)oe&1&&(ae+=G),oe>>=1,G+=G;return ae+G}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:L,noopTest:T,merge:D,splitCells:B,rtrim:$,findClosingBracket:U,checkSanitizeDeprecation:V,repeatString:K}},93735:function(d,g,e){(function(){var r=e(75041),i=e(67751).utf8,l=e(78034),c=e(67751).bin,f=function(s,h){s.constructor==String?h&&h.encoding==="binary"?s=c.stringToBytes(s):s=i.stringToBytes(s):l(s)?s=Array.prototype.slice.call(s,0):!Array.isArray(s)&&s.constructor!==Uint8Array&&(s=s.toString());for(var u=r.bytesToWords(s),a=s.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,R=f._gg,L=f._hh,T=f._ii,b=0;b<u.length;b+=16){var D=x,B=p,$=y,U=_;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=R(x,p,y,_,u[b+1],5,-165796510),_=R(_,x,p,y,u[b+6],9,-1069501632),y=R(y,_,x,p,u[b+11],14,643717713),p=R(p,y,_,x,u[b+0],20,-373897302),x=R(x,p,y,_,u[b+5],5,-701558691),_=R(_,x,p,y,u[b+10],9,38016083),y=R(y,_,x,p,u[b+15],14,-660478335),p=R(p,y,_,x,u[b+4],20,-405537848),x=R(x,p,y,_,u[b+9],5,568446438),_=R(_,x,p,y,u[b+14],9,-1019803690),y=R(y,_,x,p,u[b+3],14,-187363961),p=R(p,y,_,x,u[b+8],20,1163531501),x=R(x,p,y,_,u[b+13],5,-1444681467),_=R(_,x,p,y,u[b+2],9,-51403784),y=R(y,_,x,p,u[b+7],14,1735328473),p=R(p,y,_,x,u[b+12],20,-1926607734),x=L(x,p,y,_,u[b+5],4,-378558),_=L(_,x,p,y,u[b+8],11,-2022574463),y=L(y,_,x,p,u[b+11],16,1839030562),p=L(p,y,_,x,u[b+14],23,-35309556),x=L(x,p,y,_,u[b+1],4,-1530992060),_=L(_,x,p,y,u[b+4],11,1272893353),y=L(y,_,x,p,u[b+7],16,-155497632),p=L(p,y,_,x,u[b+10],23,-1094730640),x=L(x,p,y,_,u[b+13],4,681279174),_=L(_,x,p,y,u[b+0],11,-358537222),y=L(y,_,x,p,u[b+3],16,-722521979),p=L(p,y,_,x,u[b+6],23,76029189),x=L(x,p,y,_,u[b+9],4,-640364487),_=L(_,x,p,y,u[b+12],11,-421815835),y=L(y,_,x,p,u[b+15],16,530742520),p=L(p,y,_,x,u[b+2],23,-995338651),x=T(x,p,y,_,u[b+0],6,-198630844),_=T(_,x,p,y,u[b+7],10,1126891415),y=T(y,_,x,p,u[b+14],15,-1416354905),p=T(p,y,_,x,u[b+5],21,-57434055),x=T(x,p,y,_,u[b+12],6,1700485571),_=T(_,x,p,y,u[b+3],10,-1894986606),y=T(y,_,x,p,u[b+10],15,-1051523),p=T(p,y,_,x,u[b+1],21,-2054922799),x=T(x,p,y,_,u[b+8],6,1873313359),_=T(_,x,p,y,u[b+15],10,-30611744),y=T(y,_,x,p,u[b+6],15,-1560198380),p=T(p,y,_,x,u[b+13],21,1309151649),x=T(x,p,y,_,u[b+4],6,-145523070),_=T(_,x,p,y,u[b+11],10,-1120210379),y=T(y,_,x,p,u[b+2],15,718787259),p=T(p,y,_,x,u[b+9],21,-343485551),x=x+D>>>0,p=p+B>>>0,y=y+$>>>0,_=_+U>>>0}return r.endian([x,p,y,_])};f._ff=function(s,h,u,a,x,p,y){var _=s+(h&u|~h&a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._gg=function(s,h,u,a,x,p,y){var _=s+(h&a|u&~a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._hh=function(s,h,u,a,x,p,y){var _=s+(h^u^a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._ii=function(s,h,u,a,x,p,y){var _=s+(u^(h|~a))+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._blocksize=16,f._digestsize=16,d.exports=function(s,h){if(s==null)throw new Error("Illegal argument "+s);var u=r.wordsToBytes(f(s,h));return h&&h.asBytes?u:h&&h.asString?c.bytesToString(u):r.bytesToHex(u)}})()},61339:function(d){d.exports=g;function g(e,r){if(!e)throw new Error(r||"Assertion failed")}g.equal=function(r,i,l){if(r!=i)throw new Error(l||"Assertion failed: "+r+" != "+i)}},75918:function(d,g,e){"use strict";e.d(g,{Wi:function(){return s},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(R){R(S)})}return new(y||(y=Promise))(function(S,R){function L(B){try{D(_.next(B))}catch($){R($)}}function T(B){try{D(_.throw(B))}catch($){R($)}}function D(B){B.done?S(B.value):b(B.value).then(L,T)}D((_=_.apply(x,p||[])).next())})};class f extends i.JT{constructor(p,y="",_="",b=!0,S){super(),this._onDidChange=this._register(new r.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=p,this._label=y,this._cssClass=_,this._enabled=b,this._actionCallback=S}get id(){return this._id}get label(){return this._label}set label(p){this._setLabel(p)}_setLabel(p){this._label!==p&&(this._label=p,this._onDidChange.fire({label:p}))}get tooltip(){return this._tooltip||""}set tooltip(p){this._setTooltip(p)}_setTooltip(p){this._tooltip!==p&&(this._tooltip=p,this._onDidChange.fire({tooltip:p}))}get class(){return this._cssClass}set class(p){this._setClass(p)}_setClass(p){this._cssClass!==p&&(this._cssClass=p,this._onDidChange.fire({class:p}))}get enabled(){return this._enabled}set enabled(p){this._setEnabled(p)}_setEnabled(p){this._enabled!==p&&(this._enabled=p,this._onDidChange.fire({enabled:p}))}get checked(){return this._checked}set checked(p){this._setChecked(p)}_setChecked(p){this._checked!==p&&(this._checked=p,this._onDidChange.fire({checked:p}))}run(p,y){return c(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(p))})}}class s extends i.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new r.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new r.Q5),this.onDidRun=this._onDidRun.event}run(p,y){return c(this,void 0,void 0,function*(){if(!p.enabled)return;this._onBeforeRun.fire({action:p});let _;try{yield this.runAction(p,y)}catch(b){_=b}this._onDidRun.fire({action:p,error:_})})}runAction(p,y){return c(this,void 0,void 0,function*(){yield p.run(y)})}}class h extends f{constructor(p){super(h.ID,p,p?"separator text":"separator"),this.checked=!1,this.enabled=!1}}h.ID="vs.actions.separator";class u{constructor(p,y,_,b){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=p,this.label=y,this.class=b,this._actions=_}get actions(){return this._actions}dispose(){}run(){return c(this,void 0,void 0,function*(){})}}class a extends f{constructor(){super(a.ID,l.N("submenu.empty","(empty)"),void 0,!1)}}a.ID="vs.actions.empty"},76068:function(d,g,e){"use strict";e.d(g,{ok:function(){return r}});function r(i,l){if(!i)throw new Error(l?`Assertion failed (${l})`:"Assertion Failed")}},52615:function(d,g,e){"use strict";e.d(g,{CM:function(){return f},JL:function(){return s},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 s(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[,R,L]=S;const T=["codicon","codicon-"+R];return L&&T.push("codicon-modifier-"+L.substr(1)),T}a.asClassNameArray=p;function y(b){return p(b).join(" ")}a.asClassName=y;function _(b){return"."+p(b).join(".")}a.asCSSSelector=_})(u||(u={})),function(a){a.add=new a("add",{fontCharacter:"\\ea60"}),a.plus=new a("plus",a.add.definition),a.gistNew=new a("gist-new",a.add.definition),a.repoCreate=new a("repo-create",a.add.definition),a.lightbulb=new a("lightbulb",{fontCharacter:"\\ea61"}),a.lightBulb=new a("light-bulb",{fontCharacter:"\\ea61"}),a.repo=new a("repo",{fontCharacter:"\\ea62"}),a.repoDelete=new a("repo-delete",{fontCharacter:"\\ea62"}),a.gistFork=new a("gist-fork",{fontCharacter:"\\ea63"}),a.repoForked=new a("repo-forked",{fontCharacter:"\\ea63"}),a.gitPullRequest=new a("git-pull-request",{fontCharacter:"\\ea64"}),a.gitPullRequestAbandoned=new a("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),a.recordKeys=new a("record-keys",{fontCharacter:"\\ea65"}),a.keyboard=new a("keyboard",{fontCharacter:"\\ea65"}),a.tag=new a("tag",{fontCharacter:"\\ea66"}),a.tagAdd=new a("tag-add",{fontCharacter:"\\ea66"}),a.tagRemove=new a("tag-remove",{fontCharacter:"\\ea66"}),a.person=new a("person",{fontCharacter:"\\ea67"}),a.personFollow=new a("person-follow",{fontCharacter:"\\ea67"}),a.personOutline=new a("person-outline",{fontCharacter:"\\ea67"}),a.personFilled=new a("person-filled",{fontCharacter:"\\ea67"}),a.gitBranch=new a("git-branch",{fontCharacter:"\\ea68"}),a.gitBranchCreate=new a("git-branch-create",{fontCharacter:"\\ea68"}),a.gitBranchDelete=new a("git-branch-delete",{fontCharacter:"\\ea68"}),a.sourceControl=new a("source-control",{fontCharacter:"\\ea68"}),a.mirror=new a("mirror",{fontCharacter:"\\ea69"}),a.mirrorPublic=new a("mirror-public",{fontCharacter:"\\ea69"}),a.star=new a("star",{fontCharacter:"\\ea6a"}),a.starAdd=new a("star-add",{fontCharacter:"\\ea6a"}),a.starDelete=new a("star-delete",{fontCharacter:"\\ea6a"}),a.starEmpty=new a("star-empty",{fontCharacter:"\\ea6a"}),a.comment=new a("comment",{fontCharacter:"\\ea6b"}),a.commentAdd=new a("comment-add",{fontCharacter:"\\ea6b"}),a.alert=new a("alert",{fontCharacter:"\\ea6c"}),a.warning=new a("warning",{fontCharacter:"\\ea6c"}),a.search=new a("search",{fontCharacter:"\\ea6d"}),a.searchSave=new a("search-save",{fontCharacter:"\\ea6d"}),a.logOut=new a("log-out",{fontCharacter:"\\ea6e"}),a.signOut=new a("sign-out",{fontCharacter:"\\ea6e"}),a.logIn=new a("log-in",{fontCharacter:"\\ea6f"}),a.signIn=new a("sign-in",{fontCharacter:"\\ea6f"}),a.eye=new a("eye",{fontCharacter:"\\ea70"}),a.eyeUnwatch=new a("eye-unwatch",{fontCharacter:"\\ea70"}),a.eyeWatch=new a("eye-watch",{fontCharacter:"\\ea70"}),a.circleFilled=new a("circle-filled",{fontCharacter:"\\ea71"}),a.primitiveDot=new a("primitive-dot",{fontCharacter:"\\ea71"}),a.closeDirty=new a("close-dirty",{fontCharacter:"\\ea71"}),a.debugBreakpoint=new a("debug-breakpoint",{fontCharacter:"\\ea71"}),a.debugBreakpointDisabled=new a("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),a.debugHint=new a("debug-hint",{fontCharacter:"\\ea71"}),a.primitiveSquare=new a("primitive-square",{fontCharacter:"\\ea72"}),a.edit=new a("edit",{fontCharacter:"\\ea73"}),a.pencil=new a("pencil",{fontCharacter:"\\ea73"}),a.info=new a("info",{fontCharacter:"\\ea74"}),a.issueOpened=new a("issue-opened",{fontCharacter:"\\ea74"}),a.gistPrivate=new a("gist-private",{fontCharacter:"\\ea75"}),a.gitForkPrivate=new a("git-fork-private",{fontCharacter:"\\ea75"}),a.lock=new a("lock",{fontCharacter:"\\ea75"}),a.mirrorPrivate=new a("mirror-private",{fontCharacter:"\\ea75"}),a.close=new a("close",{fontCharacter:"\\ea76"}),a.removeClose=new a("remove-close",{fontCharacter:"\\ea76"}),a.x=new a("x",{fontCharacter:"\\ea76"}),a.repoSync=new a("repo-sync",{fontCharacter:"\\ea77"}),a.sync=new a("sync",{fontCharacter:"\\ea77"}),a.clone=new a("clone",{fontCharacter:"\\ea78"}),a.desktopDownload=new a("desktop-download",{fontCharacter:"\\ea78"}),a.beaker=new a("beaker",{fontCharacter:"\\ea79"}),a.microscope=new a("microscope",{fontCharacter:"\\ea79"}),a.vm=new a("vm",{fontCharacter:"\\ea7a"}),a.deviceDesktop=new a("device-desktop",{fontCharacter:"\\ea7a"}),a.file=new a("file",{fontCharacter:"\\ea7b"}),a.fileText=new a("file-text",{fontCharacter:"\\ea7b"}),a.more=new a("more",{fontCharacter:"\\ea7c"}),a.ellipsis=new a("ellipsis",{fontCharacter:"\\ea7c"}),a.kebabHorizontal=new a("kebab-horizontal",{fontCharacter:"\\ea7c"}),a.mailReply=new a("mail-reply",{fontCharacter:"\\ea7d"}),a.reply=new a("reply",{fontCharacter:"\\ea7d"}),a.organization=new a("organization",{fontCharacter:"\\ea7e"}),a.organizationFilled=new a("organization-filled",{fontCharacter:"\\ea7e"}),a.organizationOutline=new a("organization-outline",{fontCharacter:"\\ea7e"}),a.newFile=new a("new-file",{fontCharacter:"\\ea7f"}),a.fileAdd=new a("file-add",{fontCharacter:"\\ea7f"}),a.newFolder=new a("new-folder",{fontCharacter:"\\ea80"}),a.fileDirectoryCreate=new a("file-directory-create",{fontCharacter:"\\ea80"}),a.trash=new a("trash",{fontCharacter:"\\ea81"}),a.trashcan=new a("trashcan",{fontCharacter:"\\ea81"}),a.history=new a("history",{fontCharacter:"\\ea82"}),a.clock=new a("clock",{fontCharacter:"\\ea82"}),a.folder=new a("folder",{fontCharacter:"\\ea83"}),a.fileDirectory=new a("file-directory",{fontCharacter:"\\ea83"}),a.symbolFolder=new a("symbol-folder",{fontCharacter:"\\ea83"}),a.logoGithub=new a("logo-github",{fontCharacter:"\\ea84"}),a.markGithub=new a("mark-github",{fontCharacter:"\\ea84"}),a.github=new a("github",{fontCharacter:"\\ea84"}),a.terminal=new a("terminal",{fontCharacter:"\\ea85"}),a.console=new a("console",{fontCharacter:"\\ea85"}),a.repl=new a("repl",{fontCharacter:"\\ea85"}),a.zap=new a("zap",{fontCharacter:"\\ea86"}),a.symbolEvent=new a("symbol-event",{fontCharacter:"\\ea86"}),a.error=new a("error",{fontCharacter:"\\ea87"}),a.stop=new a("stop",{fontCharacter:"\\ea87"}),a.variable=new a("variable",{fontCharacter:"\\ea88"}),a.symbolVariable=new a("symbol-variable",{fontCharacter:"\\ea88"}),a.array=new a("array",{fontCharacter:"\\ea8a"}),a.symbolArray=new a("symbol-array",{fontCharacter:"\\ea8a"}),a.symbolModule=new a("symbol-module",{fontCharacter:"\\ea8b"}),a.symbolPackage=new a("symbol-package",{fontCharacter:"\\ea8b"}),a.symbolNamespace=new a("symbol-namespace",{fontCharacter:"\\ea8b"}),a.symbolObject=new a("symbol-object",{fontCharacter:"\\ea8b"}),a.symbolMethod=new a("symbol-method",{fontCharacter:"\\ea8c"}),a.symbolFunction=new a("symbol-function",{fontCharacter:"\\ea8c"}),a.symbolConstructor=new a("symbol-constructor",{fontCharacter:"\\ea8c"}),a.symbolBoolean=new a("symbol-boolean",{fontCharacter:"\\ea8f"}),a.symbolNull=new a("symbol-null",{fontCharacter:"\\ea8f"}),a.symbolNumeric=new a("symbol-numeric",{fontCharacter:"\\ea90"}),a.symbolNumber=new a("symbol-number",{fontCharacter:"\\ea90"}),a.symbolStructure=new a("symbol-structure",{fontCharacter:"\\ea91"}),a.symbolStruct=new a("symbol-struct",{fontCharacter:"\\ea91"}),a.symbolParameter=new a("symbol-parameter",{fontCharacter:"\\ea92"}),a.symbolTypeParameter=new a("symbol-type-parameter",{fontCharacter:"\\ea92"}),a.symbolKey=new a("symbol-key",{fontCharacter:"\\ea93"}),a.symbolText=new a("symbol-text",{fontCharacter:"\\ea93"}),a.symbolReference=new a("symbol-reference",{fontCharacter:"\\ea94"}),a.goToFile=new a("go-to-file",{fontCharacter:"\\ea94"}),a.symbolEnum=new a("symbol-enum",{fontCharacter:"\\ea95"}),a.symbolValue=new a("symbol-value",{fontCharacter:"\\ea95"}),a.symbolRuler=new a("symbol-ruler",{fontCharacter:"\\ea96"}),a.symbolUnit=new a("symbol-unit",{fontCharacter:"\\ea96"}),a.activateBreakpoints=new a("activate-breakpoints",{fontCharacter:"\\ea97"}),a.archive=new a("archive",{fontCharacter:"\\ea98"}),a.arrowBoth=new a("arrow-both",{fontCharacter:"\\ea99"}),a.arrowDown=new a("arrow-down",{fontCharacter:"\\ea9a"}),a.arrowLeft=new a("arrow-left",{fontCharacter:"\\ea9b"}),a.arrowRight=new a("arrow-right",{fontCharacter:"\\ea9c"}),a.arrowSmallDown=new a("arrow-small-down",{fontCharacter:"\\ea9d"}),a.arrowSmallLeft=new a("arrow-small-left",{fontCharacter:"\\ea9e"}),a.arrowSmallRight=new a("arrow-small-right",{fontCharacter:"\\ea9f"}),a.arrowSmallUp=new a("arrow-small-up",{fontCharacter:"\\eaa0"}),a.arrowUp=new a("arrow-up",{fontCharacter:"\\eaa1"}),a.bell=new a("bell",{fontCharacter:"\\eaa2"}),a.bold=new a("bold",{fontCharacter:"\\eaa3"}),a.book=new a("book",{fontCharacter:"\\eaa4"}),a.bookmark=new a("bookmark",{fontCharacter:"\\eaa5"}),a.debugBreakpointConditionalUnverified=new a("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),a.debugBreakpointConditional=new a("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),a.debugBreakpointConditionalDisabled=new a("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),a.debugBreakpointDataUnverified=new a("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),a.debugBreakpointData=new a("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),a.debugBreakpointDataDisabled=new a("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),a.debugBreakpointLogUnverified=new a("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),a.debugBreakpointLog=new a("debug-breakpoint-log",{fontCharacter:"\\eaab"}),a.debugBreakpointLogDisabled=new a("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),a.briefcase=new a("briefcase",{fontCharacter:"\\eaac"}),a.broadcast=new a("broadcast",{fontCharacter:"\\eaad"}),a.browser=new a("browser",{fontCharacter:"\\eaae"}),a.bug=new a("bug",{fontCharacter:"\\eaaf"}),a.calendar=new a("calendar",{fontCharacter:"\\eab0"}),a.caseSensitive=new a("case-sensitive",{fontCharacter:"\\eab1"}),a.check=new a("check",{fontCharacter:"\\eab2"}),a.checklist=new a("checklist",{fontCharacter:"\\eab3"}),a.chevronDown=new a("chevron-down",{fontCharacter:"\\eab4"}),a.dropDownButton=new a("drop-down-button",a.chevronDown.definition),a.chevronLeft=new a("chevron-left",{fontCharacter:"\\eab5"}),a.chevronRight=new a("chevron-right",{fontCharacter:"\\eab6"}),a.chevronUp=new a("chevron-up",{fontCharacter:"\\eab7"}),a.chromeClose=new a("chrome-close",{fontCharacter:"\\eab8"}),a.chromeMaximize=new a("chrome-maximize",{fontCharacter:"\\eab9"}),a.chromeMinimize=new a("chrome-minimize",{fontCharacter:"\\eaba"}),a.chromeRestore=new a("chrome-restore",{fontCharacter:"\\eabb"}),a.circleOutline=new a("circle-outline",{fontCharacter:"\\eabc"}),a.debugBreakpointUnverified=new a("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),a.circleSlash=new a("circle-slash",{fontCharacter:"\\eabd"}),a.circuitBoard=new a("circuit-board",{fontCharacter:"\\eabe"}),a.clearAll=new a("clear-all",{fontCharacter:"\\eabf"}),a.clippy=new a("clippy",{fontCharacter:"\\eac0"}),a.closeAll=new a("close-all",{fontCharacter:"\\eac1"}),a.cloudDownload=new a("cloud-download",{fontCharacter:"\\eac2"}),a.cloudUpload=new a("cloud-upload",{fontCharacter:"\\eac3"}),a.code=new a("code",{fontCharacter:"\\eac4"}),a.collapseAll=new a("collapse-all",{fontCharacter:"\\eac5"}),a.colorMode=new a("color-mode",{fontCharacter:"\\eac6"}),a.commentDiscussion=new a("comment-discussion",{fontCharacter:"\\eac7"}),a.compareChanges=new a("compare-changes",{fontCharacter:"\\eafd"}),a.creditCard=new a("credit-card",{fontCharacter:"\\eac9"}),a.dash=new a("dash",{fontCharacter:"\\eacc"}),a.dashboard=new a("dashboard",{fontCharacter:"\\eacd"}),a.database=new a("database",{fontCharacter:"\\eace"}),a.debugContinue=new a("debug-continue",{fontCharacter:"\\eacf"}),a.debugDisconnect=new a("debug-disconnect",{fontCharacter:"\\ead0"}),a.debugPause=new a("debug-pause",{fontCharacter:"\\ead1"}),a.debugRestart=new a("debug-restart",{fontCharacter:"\\ead2"}),a.debugStart=new a("debug-start",{fontCharacter:"\\ead3"}),a.debugStepInto=new a("debug-step-into",{fontCharacter:"\\ead4"}),a.debugStepOut=new a("debug-step-out",{fontCharacter:"\\ead5"}),a.debugStepOver=new a("debug-step-over",{fontCharacter:"\\ead6"}),a.debugStop=new a("debug-stop",{fontCharacter:"\\ead7"}),a.debug=new a("debug",{fontCharacter:"\\ead8"}),a.deviceCameraVideo=new a("device-camera-video",{fontCharacter:"\\ead9"}),a.deviceCamera=new a("device-camera",{fontCharacter:"\\eada"}),a.deviceMobile=new a("device-mobile",{fontCharacter:"\\eadb"}),a.diffAdded=new a("diff-added",{fontCharacter:"\\eadc"}),a.diffIgnored=new a("diff-ignored",{fontCharacter:"\\eadd"}),a.diffModified=new a("diff-modified",{fontCharacter:"\\eade"}),a.diffRemoved=new a("diff-removed",{fontCharacter:"\\eadf"}),a.diffRenamed=new a("diff-renamed",{fontCharacter:"\\eae0"}),a.diff=new a("diff",{fontCharacter:"\\eae1"}),a.discard=new a("discard",{fontCharacter:"\\eae2"}),a.editorLayout=new a("editor-layout",{fontCharacter:"\\eae3"}),a.emptyWindow=new a("empty-window",{fontCharacter:"\\eae4"}),a.exclude=new a("exclude",{fontCharacter:"\\eae5"}),a.extensions=new a("extensions",{fontCharacter:"\\eae6"}),a.eyeClosed=new a("eye-closed",{fontCharacter:"\\eae7"}),a.fileBinary=new a("file-binary",{fontCharacter:"\\eae8"}),a.fileCode=new a("file-code",{fontCharacter:"\\eae9"}),a.fileMedia=new a("file-media",{fontCharacter:"\\eaea"}),a.filePdf=new a("file-pdf",{fontCharacter:"\\eaeb"}),a.fileSubmodule=new a("file-submodule",{fontCharacter:"\\eaec"}),a.fileSymlinkDirectory=new a("file-symlink-directory",{fontCharacter:"\\eaed"}),a.fileSymlinkFile=new a("file-symlink-file",{fontCharacter:"\\eaee"}),a.fileZip=new a("file-zip",{fontCharacter:"\\eaef"}),a.files=new a("files",{fontCharacter:"\\eaf0"}),a.filter=new a("filter",{fontCharacter:"\\eaf1"}),a.flame=new a("flame",{fontCharacter:"\\eaf2"}),a.foldDown=new a("fold-down",{fontCharacter:"\\eaf3"}),a.foldUp=new a("fold-up",{fontCharacter:"\\eaf4"}),a.fold=new a("fold",{fontCharacter:"\\eaf5"}),a.folderActive=new a("folder-active",{fontCharacter:"\\eaf6"}),a.folderOpened=new a("folder-opened",{fontCharacter:"\\eaf7"}),a.gear=new a("gear",{fontCharacter:"\\eaf8"}),a.gift=new a("gift",{fontCharacter:"\\eaf9"}),a.gistSecret=new a("gist-secret",{fontCharacter:"\\eafa"}),a.gist=new a("gist",{fontCharacter:"\\eafb"}),a.gitCommit=new a("git-commit",{fontCharacter:"\\eafc"}),a.gitCompare=new a("git-compare",{fontCharacter:"\\eafd"}),a.gitMerge=new a("git-merge",{fontCharacter:"\\eafe"}),a.githubAction=new a("github-action",{fontCharacter:"\\eaff"}),a.githubAlt=new a("github-alt",{fontCharacter:"\\eb00"}),a.globe=new a("globe",{fontCharacter:"\\eb01"}),a.grabber=new a("grabber",{fontCharacter:"\\eb02"}),a.graph=new a("graph",{fontCharacter:"\\eb03"}),a.gripper=new a("gripper",{fontCharacter:"\\eb04"}),a.heart=new a("heart",{fontCharacter:"\\eb05"}),a.home=new a("home",{fontCharacter:"\\eb06"}),a.horizontalRule=new a("horizontal-rule",{fontCharacter:"\\eb07"}),a.hubot=new a("hubot",{fontCharacter:"\\eb08"}),a.inbox=new a("inbox",{fontCharacter:"\\eb09"}),a.issueClosed=new a("issue-closed",{fontCharacter:"\\eba4"}),a.issueReopened=new a("issue-reopened",{fontCharacter:"\\eb0b"}),a.issues=new a("issues",{fontCharacter:"\\eb0c"}),a.italic=new a("italic",{fontCharacter:"\\eb0d"}),a.jersey=new a("jersey",{fontCharacter:"\\eb0e"}),a.json=new a("json",{fontCharacter:"\\eb0f"}),a.kebabVertical=new a("kebab-vertical",{fontCharacter:"\\eb10"}),a.key=new a("key",{fontCharacter:"\\eb11"}),a.law=new a("law",{fontCharacter:"\\eb12"}),a.lightbulbAutofix=new a("lightbulb-autofix",{fontCharacter:"\\eb13"}),a.linkExternal=new a("link-external",{fontCharacter:"\\eb14"}),a.link=new a("link",{fontCharacter:"\\eb15"}),a.listOrdered=new a("list-ordered",{fontCharacter:"\\eb16"}),a.listUnordered=new a("list-unordered",{fontCharacter:"\\eb17"}),a.liveShare=new a("live-share",{fontCharacter:"\\eb18"}),a.loading=new a("loading",{fontCharacter:"\\eb19"}),a.location=new a("location",{fontCharacter:"\\eb1a"}),a.mailRead=new a("mail-read",{fontCharacter:"\\eb1b"}),a.mail=new a("mail",{fontCharacter:"\\eb1c"}),a.markdown=new a("markdown",{fontCharacter:"\\eb1d"}),a.megaphone=new a("megaphone",{fontCharacter:"\\eb1e"}),a.mention=new a("mention",{fontCharacter:"\\eb1f"}),a.milestone=new a("milestone",{fontCharacter:"\\eb20"}),a.mortarBoard=new a("mortar-board",{fontCharacter:"\\eb21"}),a.move=new a("move",{fontCharacter:"\\eb22"}),a.multipleWindows=new a("multiple-windows",{fontCharacter:"\\eb23"}),a.mute=new a("mute",{fontCharacter:"\\eb24"}),a.noNewline=new a("no-newline",{fontCharacter:"\\eb25"}),a.note=new a("note",{fontCharacter:"\\eb26"}),a.octoface=new a("octoface",{fontCharacter:"\\eb27"}),a.openPreview=new a("open-preview",{fontCharacter:"\\eb28"}),a.package_=new a("package",{fontCharacter:"\\eb29"}),a.paintcan=new a("paintcan",{fontCharacter:"\\eb2a"}),a.pin=new a("pin",{fontCharacter:"\\eb2b"}),a.play=new a("play",{fontCharacter:"\\eb2c"}),a.run=new a("run",{fontCharacter:"\\eb2c"}),a.plug=new a("plug",{fontCharacter:"\\eb2d"}),a.preserveCase=new a("preserve-case",{fontCharacter:"\\eb2e"}),a.preview=new a("preview",{fontCharacter:"\\eb2f"}),a.project=new a("project",{fontCharacter:"\\eb30"}),a.pulse=new a("pulse",{fontCharacter:"\\eb31"}),a.question=new a("question",{fontCharacter:"\\eb32"}),a.quote=new a("quote",{fontCharacter:"\\eb33"}),a.radioTower=new a("radio-tower",{fontCharacter:"\\eb34"}),a.reactions=new a("reactions",{fontCharacter:"\\eb35"}),a.references=new a("references",{fontCharacter:"\\eb36"}),a.refresh=new a("refresh",{fontCharacter:"\\eb37"}),a.regex=new a("regex",{fontCharacter:"\\eb38"}),a.remoteExplorer=new a("remote-explorer",{fontCharacter:"\\eb39"}),a.remote=new a("remote",{fontCharacter:"\\eb3a"}),a.remove=new a("remove",{fontCharacter:"\\eb3b"}),a.replaceAll=new a("replace-all",{fontCharacter:"\\eb3c"}),a.replace=new a("replace",{fontCharacter:"\\eb3d"}),a.repoClone=new a("repo-clone",{fontCharacter:"\\eb3e"}),a.repoForcePush=new a("repo-force-push",{fontCharacter:"\\eb3f"}),a.repoPull=new a("repo-pull",{fontCharacter:"\\eb40"}),a.repoPush=new a("repo-push",{fontCharacter:"\\eb41"}),a.report=new a("report",{fontCharacter:"\\eb42"}),a.requestChanges=new a("request-changes",{fontCharacter:"\\eb43"}),a.rocket=new a("rocket",{fontCharacter:"\\eb44"}),a.rootFolderOpened=new a("root-folder-opened",{fontCharacter:"\\eb45"}),a.rootFolder=new a("root-folder",{fontCharacter:"\\eb46"}),a.rss=new a("rss",{fontCharacter:"\\eb47"}),a.ruby=new a("ruby",{fontCharacter:"\\eb48"}),a.saveAll=new a("save-all",{fontCharacter:"\\eb49"}),a.saveAs=new a("save-as",{fontCharacter:"\\eb4a"}),a.save=new a("save",{fontCharacter:"\\eb4b"}),a.screenFull=new a("screen-full",{fontCharacter:"\\eb4c"}),a.screenNormal=new a("screen-normal",{fontCharacter:"\\eb4d"}),a.searchStop=new a("search-stop",{fontCharacter:"\\eb4e"}),a.server=new a("server",{fontCharacter:"\\eb50"}),a.settingsGear=new a("settings-gear",{fontCharacter:"\\eb51"}),a.settings=new a("settings",{fontCharacter:"\\eb52"}),a.shield=new a("shield",{fontCharacter:"\\eb53"}),a.smiley=new a("smiley",{fontCharacter:"\\eb54"}),a.sortPrecedence=new a("sort-precedence",{fontCharacter:"\\eb55"}),a.splitHorizontal=new a("split-horizontal",{fontCharacter:"\\eb56"}),a.splitVertical=new a("split-vertical",{fontCharacter:"\\eb57"}),a.squirrel=new a("squirrel",{fontCharacter:"\\eb58"}),a.starFull=new a("star-full",{fontCharacter:"\\eb59"}),a.starHalf=new a("star-half",{fontCharacter:"\\eb5a"}),a.symbolClass=new a("symbol-class",{fontCharacter:"\\eb5b"}),a.symbolColor=new a("symbol-color",{fontCharacter:"\\eb5c"}),a.symbolConstant=new a("symbol-constant",{fontCharacter:"\\eb5d"}),a.symbolEnumMember=new a("symbol-enum-member",{fontCharacter:"\\eb5e"}),a.symbolField=new a("symbol-field",{fontCharacter:"\\eb5f"}),a.symbolFile=new a("symbol-file",{fontCharacter:"\\eb60"}),a.symbolInterface=new a("symbol-interface",{fontCharacter:"\\eb61"}),a.symbolKeyword=new a("symbol-keyword",{fontCharacter:"\\eb62"}),a.symbolMisc=new a("symbol-misc",{fontCharacter:"\\eb63"}),a.symbolOperator=new a("symbol-operator",{fontCharacter:"\\eb64"}),a.symbolProperty=new a("symbol-property",{fontCharacter:"\\eb65"}),a.wrench=new a("wrench",{fontCharacter:"\\eb65"}),a.wrenchSubaction=new a("wrench-subaction",{fontCharacter:"\\eb65"}),a.symbolSnippet=new a("symbol-snippet",{fontCharacter:"\\eb66"}),a.tasklist=new a("tasklist",{fontCharacter:"\\eb67"}),a.telescope=new a("telescope",{fontCharacter:"\\eb68"}),a.textSize=new a("text-size",{fontCharacter:"\\eb69"}),a.threeBars=new a("three-bars",{fontCharacter:"\\eb6a"}),a.thumbsdown=new a("thumbsdown",{fontCharacter:"\\eb6b"}),a.thumbsup=new a("thumbsup",{fontCharacter:"\\eb6c"}),a.tools=new a("tools",{fontCharacter:"\\eb6d"}),a.triangleDown=new a("triangle-down",{fontCharacter:"\\eb6e"}),a.triangleLeft=new a("triangle-left",{fontCharacter:"\\eb6f"}),a.triangleRight=new a("triangle-right",{fontCharacter:"\\eb70"}),a.triangleUp=new a("triangle-up",{fontCharacter:"\\eb71"}),a.twitter=new a("twitter",{fontCharacter:"\\eb72"}),a.unfold=new a("unfold",{fontCharacter:"\\eb73"}),a.unlock=new a("unlock",{fontCharacter:"\\eb74"}),a.unmute=new a("unmute",{fontCharacter:"\\eb75"}),a.unverified=new a("unverified",{fontCharacter:"\\eb76"}),a.verified=new a("verified",{fontCharacter:"\\eb77"}),a.versions=new a("versions",{fontCharacter:"\\eb78"}),a.vmActive=new a("vm-active",{fontCharacter:"\\eb79"}),a.vmOutline=new a("vm-outline",{fontCharacter:"\\eb7a"}),a.vmRunning=new a("vm-running",{fontCharacter:"\\eb7b"}),a.watch=new a("watch",{fontCharacter:"\\eb7c"}),a.whitespace=new a("whitespace",{fontCharacter:"\\eb7d"}),a.wholeWord=new a("whole-word",{fontCharacter:"\\eb7e"}),a.window=new a("window",{fontCharacter:"\\eb7f"}),a.wordWrap=new a("word-wrap",{fontCharacter:"\\eb80"}),a.zoomIn=new a("zoom-in",{fontCharacter:"\\eb81"}),a.zoomOut=new a("zoom-out",{fontCharacter:"\\eb82"}),a.listFilter=new a("list-filter",{fontCharacter:"\\eb83"}),a.listFlat=new a("list-flat",{fontCharacter:"\\eb84"}),a.listSelection=new a("list-selection",{fontCharacter:"\\eb85"}),a.selection=new a("selection",{fontCharacter:"\\eb85"}),a.listTree=new a("list-tree",{fontCharacter:"\\eb86"}),a.debugBreakpointFunctionUnverified=new a("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),a.debugBreakpointFunction=new a("debug-breakpoint-function",{fontCharacter:"\\eb88"}),a.debugBreakpointFunctionDisabled=new a("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),a.debugStackframeActive=new a("debug-stackframe-active",{fontCharacter:"\\eb89"}),a.debugStackframeDot=new a("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),a.debugStackframe=new a("debug-stackframe",{fontCharacter:"\\eb8b"}),a.debugStackframeFocused=new a("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),a.debugBreakpointUnsupported=new a("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),a.symbolString=new a("symbol-string",{fontCharacter:"\\eb8d"}),a.debugReverseContinue=new a("debug-reverse-continue",{fontCharacter:"\\eb8e"}),a.debugStepBack=new a("debug-step-back",{fontCharacter:"\\eb8f"}),a.debugRestartFrame=new a("debug-restart-frame",{fontCharacter:"\\eb90"}),a.callIncoming=new a("call-incoming",{fontCharacter:"\\eb92"}),a.callOutgoing=new a("call-outgoing",{fontCharacter:"\\eb93"}),a.menu=new a("menu",{fontCharacter:"\\eb94"}),a.expandAll=new a("expand-all",{fontCharacter:"\\eb95"}),a.feedback=new a("feedback",{fontCharacter:"\\eb96"}),a.groupByRefType=new a("group-by-ref-type",{fontCharacter:"\\eb97"}),a.ungroupByRefType=new a("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),a.account=new a("account",{fontCharacter:"\\eb99"}),a.bellDot=new a("bell-dot",{fontCharacter:"\\eb9a"}),a.debugConsole=new a("debug-console",{fontCharacter:"\\eb9b"}),a.library=new a("library",{fontCharacter:"\\eb9c"}),a.output=new a("output",{fontCharacter:"\\eb9d"}),a.runAll=new a("run-all",{fontCharacter:"\\eb9e"}),a.syncIgnored=new a("sync-ignored",{fontCharacter:"\\eb9f"}),a.pinned=new a("pinned",{fontCharacter:"\\eba0"}),a.githubInverted=new a("github-inverted",{fontCharacter:"\\eba1"}),a.debugAlt=new a("debug-alt",{fontCharacter:"\\eb91"}),a.serverProcess=new a("server-process",{fontCharacter:"\\eba2"}),a.serverEnvironment=new a("server-environment",{fontCharacter:"\\eba3"}),a.pass=new a("pass",{fontCharacter:"\\eba4"}),a.stopCircle=new a("stop-circle",{fontCharacter:"\\eba5"}),a.playCircle=new a("play-circle",{fontCharacter:"\\eba6"}),a.record=new a("record",{fontCharacter:"\\eba7"}),a.debugAltSmall=new a("debug-alt-small",{fontCharacter:"\\eba8"}),a.vmConnect=new a("vm-connect",{fontCharacter:"\\eba9"}),a.cloud=new a("cloud",{fontCharacter:"\\ebaa"}),a.merge=new a("merge",{fontCharacter:"\\ebab"}),a.exportIcon=new a("export",{fontCharacter:"\\ebac"}),a.graphLeft=new a("graph-left",{fontCharacter:"\\ebad"}),a.magnet=new a("magnet",{fontCharacter:"\\ebae"}),a.notebook=new a("notebook",{fontCharacter:"\\ebaf"}),a.redo=new a("redo",{fontCharacter:"\\ebb0"}),a.checkAll=new a("check-all",{fontCharacter:"\\ebb1"}),a.pinnedDirty=new a("pinned-dirty",{fontCharacter:"\\ebb2"}),a.passFilled=new a("pass-filled",{fontCharacter:"\\ebb3"}),a.circleLargeFilled=new a("circle-large-filled",{fontCharacter:"\\ebb4"}),a.circleLargeOutline=new a("circle-large-outline",{fontCharacter:"\\ebb5"}),a.combine=new a("combine",{fontCharacter:"\\ebb6"}),a.gather=new a("gather",{fontCharacter:"\\ebb6"}),a.table=new a("table",{fontCharacter:"\\ebb7"}),a.variableGroup=new a("variable-group",{fontCharacter:"\\ebb8"}),a.typeHierarchy=new a("type-hierarchy",{fontCharacter:"\\ebb9"}),a.typeHierarchySub=new a("type-hierarchy-sub",{fontCharacter:"\\ebba"}),a.typeHierarchySuper=new a("type-hierarchy-super",{fontCharacter:"\\ebbb"}),a.gitPullRequestCreate=new a("git-pull-request-create",{fontCharacter:"\\ebbc"}),a.runAbove=new a("run-above",{fontCharacter:"\\ebbd"}),a.runBelow=new a("run-below",{fontCharacter:"\\ebbe"}),a.notebookTemplate=new a("notebook-template",{fontCharacter:"\\ebbf"}),a.debugRerun=new a("debug-rerun",{fontCharacter:"\\ebc0"}),a.workspaceTrusted=new a("workspace-trusted",{fontCharacter:"\\ebc1"}),a.workspaceUntrusted=new a("workspace-untrusted",{fontCharacter:"\\ebc2"}),a.workspaceUnspecified=new a("workspace-unspecified",{fontCharacter:"\\ebc3"}),a.terminalCmd=new a("terminal-cmd",{fontCharacter:"\\ebc4"}),a.terminalDebian=new a("terminal-debian",{fontCharacter:"\\ebc5"}),a.terminalLinux=new a("terminal-linux",{fontCharacter:"\\ebc6"}),a.terminalPowershell=new a("terminal-powershell",{fontCharacter:"\\ebc7"}),a.terminalTmux=new a("terminal-tmux",{fontCharacter:"\\ebc8"}),a.terminalUbuntu=new a("terminal-ubuntu",{fontCharacter:"\\ebc9"}),a.terminalBash=new a("terminal-bash",{fontCharacter:"\\ebca"}),a.arrowSwap=new a("arrow-swap",{fontCharacter:"\\ebcb"}),a.copy=new a("copy",{fontCharacter:"\\ebcc"}),a.personAdd=new a("person-add",{fontCharacter:"\\ebcd"}),a.filterFilled=new a("filter-filled",{fontCharacter:"\\ebce"}),a.wand=new a("wand",{fontCharacter:"\\ebcf"}),a.debugLineByLine=new a("debug-line-by-line",{fontCharacter:"\\ebd0"}),a.inspect=new a("inspect",{fontCharacter:"\\ebd1"}),a.layers=new a("layers",{fontCharacter:"\\ebd2"}),a.layersDot=new a("layers-dot",{fontCharacter:"\\ebd3"}),a.layersActive=new a("layers-active",{fontCharacter:"\\ebd4"}),a.compass=new a("compass",{fontCharacter:"\\ebd5"}),a.compassDot=new a("compass-dot",{fontCharacter:"\\ebd6"}),a.compassActive=new a("compass-active",{fontCharacter:"\\ebd7"}),a.azure=new a("azure",{fontCharacter:"\\ebd8"}),a.issueDraft=new a("issue-draft",{fontCharacter:"\\ebd9"}),a.gitPullRequestClosed=new a("git-pull-request-closed",{fontCharacter:"\\ebda"}),a.gitPullRequestDraft=new a("git-pull-request-draft",{fontCharacter:"\\ebdb"}),a.debugAll=new a("debug-all",{fontCharacter:"\\ebdc"}),a.debugCoverage=new a("debug-coverage",{fontCharacter:"\\ebdd"}),a.runErrors=new a("run-errors",{fontCharacter:"\\ebde"}),a.folderLibrary=new a("folder-library",{fontCharacter:"\\ebdf"}),a.debugContinueSmall=new a("debug-continue-small",{fontCharacter:"\\ebe0"}),a.beakerStop=new a("beaker-stop",{fontCharacter:"\\ebe1"}),a.graphLine=new a("graph-line",{fontCharacter:"\\ebe2"}),a.graphScatter=new a("graph-scatter",{fontCharacter:"\\ebe3"}),a.pieChart=new a("pie-chart",{fontCharacter:"\\ebe4"}),a.bracket=new a("bracket",a.json.definition),a.bracketDot=new a("bracket-dot",{fontCharacter:"\\ebe5"}),a.bracketError=new a("bracket-error",{fontCharacter:"\\ebe6"}),a.lockSmall=new a("lock-small",{fontCharacter:"\\ebe7"}),a.azureDevops=new a("azure-devops",{fontCharacter:"\\ebe8"}),a.verifiedFilled=new a("verified-filled",{fontCharacter:"\\ebe9"})}(h||(h={}))},79881:function(d,g,e){"use strict";e.d(g,{B8:function(){return p},Cp:function(){return c},F0:function(){return u},L6:function(){return x},VV:function(){return h},b1:function(){return a},dL:function(){return l},ri:function(){return f}});class r{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(_){setTimeout(()=>{throw _.stack?new Error(_.message+`
|
|
|
|
|
|
`+_.stack):_},0)}}emit(_){this.listeners.forEach(b=>{b(_)})}onUnexpectedError(_){this.unexpectedErrorHandler(_),this.emit(_)}onUnexpectedExternalError(_){this.unexpectedErrorHandler(_)}}const i=new r;function l(y){h(y)||i.onUnexpectedError(y)}function c(y){h(y)||i.onUnexpectedExternalError(y)}function f(y){if(y instanceof Error){let{name:_,message:b}=y;const S=y.stacktrace||y.stack;return{$isError:!0,name:_,message:b,stack:S}}return y}const s="Canceled";function h(y){return y instanceof Error&&y.name===s&&y.message===s}function u(){const y=new Error(s);return y.name=y.message,y}function a(y){return y?new Error(`Illegal argument: ${y}`):new Error("Illegal argument")}function x(y){return y?new Error(`Illegal state: ${y}`):new Error("Illegal state")}class p extends Error{constructor(_){super("NotSupported"),_&&(this.message=_)}}},4348:function(d,g,e){"use strict";e.d(g,{D0:function(){return p},E7:function(){return y},K3:function(){return x},Q5:function(){return a},ZD:function(){return _},ju:function(){return f}});var r=e(79881),i=e(69323),l=e(34502),c=e(95830),f;(function(b){b.None=()=>i.JT.None;function S(ue){return(ne,ee=null,ie)=>{let F=!1,M;return M=ue(q=>{if(!F)return M?M.dispose():F=!0,ne.call(ee,q)},null,ie),F&&M.dispose(),M}}b.once=S;function R(ue,ne){return U((ee,ie=null,F)=>ue(M=>ee.call(ie,ne(M)),null,F))}b.map=R;function L(ue,ne){return U((ee,ie=null,F)=>ue(M=>{ne(M),ee.call(ie,M)},null,F))}b.forEach=L;function T(ue,ne){return U((ee,ie=null,F)=>ue(M=>ne(M)&&ee.call(ie,M),null,F))}b.filter=T;function D(ue){return ue}b.signal=D;function B(...ue){return(ne,ee=null,ie)=>(0,i.F8)(...ue.map(F=>F(M=>ne.call(ee,M),null,ie)))}b.any=B;function $(ue,ne,ee){let ie=ee;return R(ue,F=>(ie=ne(ie,F),ie))}b.reduce=$;function U(ue){let ne;const ee=new a({onFirstListenerAdd(){ne=ue(ee.fire,ee)},onLastListenerRemove(){ne.dispose()}});return ee.event}function V(ue,ne,ee=100,ie=!1,F){let M,q,de,Ee=0;const Ce=new a({leakWarningThreshold:F,onFirstListenerAdd(){M=ue(je=>{Ee++,q=ne(q,je),ie&&!de&&(Ce.fire(q),q=void 0),clearTimeout(de),de=setTimeout(()=>{const Fe=q;q=void 0,de=void 0,(!ie||Ee>1)&&Ce.fire(Fe),Ee=0},ee)})},onLastListenerRemove(){M.dispose()}});return Ce.event}b.debounce=V;function K(ue,ne=(ee,ie)=>ee===ie){let ee=!0,ie;return T(ue,F=>{const M=ee||!ne(F,ie);return ee=!1,ie=F,M})}b.latch=K;function G(ue,ne){return[b.filter(ue,ne),b.filter(ue,ee=>!ne(ee))]}b.split=G;function oe(ue,ne=!1,ee=[]){let ie=ee.slice(),F=ue(de=>{ie?ie.push(de):q.fire(de)});const M=()=>{ie&&ie.forEach(de=>q.fire(de)),ie=null},q=new a({onFirstListenerAdd(){F||(F=ue(de=>q.fire(de)))},onFirstListenerDidAdd(){ie&&(ne?setTimeout(M):M())},onLastListenerRemove(){F&&F.dispose(),F=null}});return q.event}b.buffer=oe;class ae{constructor(ne){this.event=ne}map(ne){return new ae(R(this.event,ne))}forEach(ne){return new ae(L(this.event,ne))}filter(ne){return new ae(T(this.event,ne))}reduce(ne,ee){return new ae($(this.event,ne,ee))}latch(){return new ae(K(this.event))}debounce(ne,ee=100,ie=!1,F){return new ae(V(this.event,ne,ee,ie,F))}on(ne,ee,ie){return this.event(ne,ee,ie)}once(ne,ee,ie){return S(this.event)(ne,ee,ie)}}function le(ue){return new ae(ue)}b.chain=le;function Q(ue,ne,ee=ie=>ie){const ie=(...de)=>q.fire(ee(...de)),F=()=>ue.on(ne,ie),M=()=>ue.removeListener(ne,ie),q=new a({onFirstListenerAdd:F,onLastListenerRemove:M});return q.event}b.fromNodeEventEmitter=Q;function J(ue,ne,ee=ie=>ie){const ie=(...de)=>q.fire(ee(...de)),F=()=>ue.addEventListener(ne,ie),M=()=>ue.removeEventListener(ne,ie),q=new a({onFirstListenerAdd:F,onLastListenerRemove:M});return q.event}b.fromDOMEventEmitter=J;function Y(ue){return new Promise(ne=>S(ue)(ne))}b.toPromise=Y})(f||(f={}));class s{constructor(S){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${S}_${s._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}}}s._idPool=0;let h=-1;class u{constructor(S,R=Math.random().toString(18).slice(2,5)){this.customThreshold=S,this.name=R,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(S){let R=h;if(typeof this.customThreshold=="number"&&(R=this.customThreshold),R<=0||S<R)return;this._stacks||(this._stacks=new Map);const L=new Error().stack.split(`
|
|
|
`).slice(3).join(`
|
|
|
`),T=this._stacks.get(L)||0;if(this._stacks.set(L,T+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=R*.5;let D,B=0;for(const[$,U]of this._stacks)(!D||B<U)&&(D=$,B=U);console.warn(`[${this.name}] potential listener LEAK detected, having ${S} listeners already. MOST frequent listener (${B}):`),console.warn(D)}return()=>{const D=this._stacks.get(L)||0;this._stacks.set(L,D-1)}}}class a{constructor(S){var R;this._disposed=!1,this._options=S,this._leakageMon=h>0?new u(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((R=this._options)===null||R===void 0)&&R._profName?new s(this._options._profName):void 0}get event(){return this._event||(this._event=(S,R,L)=>{var T;this._listeners||(this._listeners=new l.S);const D=this._listeners.isEmpty();D&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const B=this._listeners.push(R?[S,R]:S);D&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,S,R);const $=(T=this._leakageMon)===null||T===void 0?void 0:T.check(this._listeners.size),U=(0,i.OF)(()=>{$&&$(),this._disposed||(B(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return L instanceof i.SL?L.add(U):Array.isArray(L)&&L.push(U),U}),this._event}fire(S){var R,L;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let T of this._listeners)this._deliveryQueue.push([T,S]);for((R=this._perfMon)===null||R===void 0||R.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[T,D]=this._deliveryQueue.shift();try{typeof T=="function"?T.call(void 0,D):T[0].call(T[1],D)}catch(B){(0,r.dL)(B)}}(L=this._perfMon)===null||L===void 0||L.stop()}}dispose(){var S,R,L,T,D;this._disposed||(this._disposed=!0,(S=this._listeners)===null||S===void 0||S.clear(),(R=this._deliveryQueue)===null||R===void 0||R.clear(),(T=(L=this._options)===null||L===void 0?void 0:L.onLastListenerRemove)===null||T===void 0||T.call(L),(D=this._leakageMon)===null||D===void 0||D.dispose())}}class x extends a{constructor(S){super(S),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=S==null?void 0:S.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const S=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(S))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(S){this._listeners&&(this._isPaused!==0?this._eventQueue.push(S):super.fire(S))}}class p extends x{constructor(S){var R;super(S),this._delay=(R=S.delay)!==null&&R!==void 0?R: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(R,L,T)=>S(D=>{const B=this.buffers[this.buffers.length-1];B?B.push(()=>R.call(L,D)):R.call(L,D)},void 0,T)}bufferEvents(S){const R=[];this.buffers.push(R);const L=S();return this.buffers.pop(),R.forEach(T=>T()),L}}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,g,e){"use strict";e.d(g,{I:function(){return r}});function r(i){const l=this;let c=!1,f;return function(){return c||(c=!0,f=i.apply(l,arguments)),f}}},88226:function(d,g,e){"use strict";e.d(g,{$:function(){return r}});var r;(function(i){function l(B){return B&&typeof B=="object"&&typeof B[Symbol.iterator]=="function"}i.is=l;const c=Object.freeze([]);function f(){return c}i.empty=f;function*s(B){yield B}i.single=s;function h(B){return B||c}i.from=h;function u(B){return!B||B[Symbol.iterator]().next().done===!0}i.isEmpty=u;function a(B){return B[Symbol.iterator]().next().value}i.first=a;function x(B,$){for(const U of B)if($(U))return!0;return!1}i.some=x;function p(B,$){for(const U of B)if($(U))return U}i.find=p;function*y(B,$){for(const U of B)$(U)&&(yield U)}i.filter=y;function*_(B,$){let U=0;for(const V of B)yield $(V,U++)}i.map=_;function*b(...B){for(const $ of B)for(const U of $)yield U}i.concat=b;function*S(B){for(const $ of B)for(const U of $)yield U}i.concatNested=S;function R(B,$,U){let V=U;for(const K of B)V=$(V,K);return V}i.reduce=R;function*L(B,$,U=B.length){for($<0&&($+=B.length),U<0?U+=B.length:U>B.length&&(U=B.length);$<U;$++)yield B[$]}i.slice=L;function T(B,$=Number.POSITIVE_INFINITY){const U=[];if($===0)return[U,B];const V=B[Symbol.iterator]();for(let K=0;K<$;K++){const G=V.next();if(G.done)return[U,i.empty()];U.push(G.value)}return[U,{[Symbol.iterator](){return V}}]}i.consume=T;function D(B,$,U=(V,K)=>V===K){const V=B[Symbol.iterator](),K=$[Symbol.iterator]();for(;;){const G=V.next(),oe=K.next();if(G.done!==oe.done)return!1;if(G.done)return!0;if(!U(G.value,oe.value))return!1}}i.equals=D})(r||(r={}))},69323:function(d,g,e){"use strict";e.d(g,{B9:function(){return _},F8:function(){return b},JT:function(){return L},Jz:function(){return D},OF:function(){return S},SL:function(){return R},Wf:function(){return y},XK:function(){return T},dk:function(){return x}});var r=e(17845),i=e(88226);const l=!1;let c=null;function f(B){c=B}if(l){const B="__is_disposable_tracked__";f(new class{trackDisposable($){const U=new Error("Potentially leaked disposable").stack;setTimeout(()=>{$[B]||console.log(U)},3e3)}setParent($,U){if($&&$!==L.None)try{$[B]=!0}catch(V){}}markAsDisposed($){if($&&$!==L.None)try{$[B]=!0}catch(U){}}markAsSingleton($){}})}function s(B){return c==null||c.trackDisposable(B),B}function h(B){c==null||c.markAsDisposed(B)}function u(B,$){c==null||c.setParent(B,$)}function a(B,$){if(c)for(const U of B)c.setParent(U,$)}function x(B){return c==null||c.markAsSingleton(B),B}class p extends Error{constructor($){super(`Encountered errors while disposing of store. Errors: [${$.join(", ")}]`),this.errors=$}}function y(B){return typeof B.dispose=="function"&&B.dispose.length===0}function _(B){if(i.$.is(B)){let $=[];for(const U of B)if(U)try{U.dispose()}catch(V){$.push(V)}if($.length===1)throw $[0];if($.length>1)throw new p($);return Array.isArray(B)?[]:B}else if(B)return B.dispose(),B}function b(...B){const $=S(()=>_(B));return a(B,$),$}function S(B){const $=s({dispose:(0,r.I)(()=>{h($),B()})});return $}class R{constructor(){this._toDispose=new Set,this._isDisposed=!1,s(this)}dispose(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}clear(){try{_(this._toDispose.values())}finally{this._toDispose.clear()}}add($){if(!$)return $;if($===this)throw new Error("Cannot register a disposable on itself!");return u($,this),this._isDisposed?R.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add($),$}}R.DISABLE_DISPOSED_WARNING=!1;class L{constructor(){this._store=new R,s(this),u(this._store,this)}dispose(){h(this),this._store.dispose()}_register($){if($===this)throw new Error("Cannot register a disposable on itself!");return this._store.add($)}}L.None=Object.freeze({dispose(){}});class T{constructor(){this._isDisposed=!1,s(this)}get value(){return this._isDisposed?void 0:this._value}set value($){var U;this._isDisposed||$===this._value||((U=this._value)===null||U===void 0||U.dispose(),$&&u($,this),this._value=$)}clear(){this.value=void 0}dispose(){var $;this._isDisposed=!0,h(this),($=this._value)===null||$===void 0||$.dispose(),this._value=void 0}clearAndLeak(){const $=this._value;return this._value=void 0,$&&u($,null),$}}class D{constructor($){this.object=$}dispose(){}}},34502:function(d,g,e){"use strict";e.d(g,{S:function(){return i}});class r{constructor(c){this.element=c,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){let c=this._first;for(;c!==r.Undefined;){const f=c.next;c.prev=r.Undefined,c.next=r.Undefined,c=f}this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(c){return this._insert(c,!1)}push(c){return this._insert(c,!0)}_insert(c,f){const s=new r(c);if(this._first===r.Undefined)this._first=s,this._last=s;else if(f){const u=this._last;this._last=s,s.prev=u,u.next=s}else{const u=this._first;this._first=s,s.next=u,u.prev=s}this._size+=1;let h=!1;return()=>{h||(h=!0,this._remove(s))}}shift(){if(this._first!==r.Undefined){const c=this._first.element;return this._remove(this._first),c}}pop(){if(this._last!==r.Undefined){const c=this._last.element;return this._remove(this._last),c}}_remove(c){if(c.prev!==r.Undefined&&c.next!==r.Undefined){const f=c.prev;f.next=c.next,c.next.prev=f}else c.prev===r.Undefined&&c.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):c.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):c.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let c=this._first;for(;c!==r.Undefined;)yield c.element,c=c.next}}},23345:function(d,g,e){"use strict";e.d(g,{$L:function(){return V},ED:function(){return D},IJ:function(){return $},OS:function(){return ae},WE:function(){return G},dz:function(){return B},gn:function(){return K},li:function(){return S},r:function(){return J},tY:function(){return U},xS:function(){return oe}});var r=e(97671),i;const l="en";let c=!1,f=!1,s=!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 R;typeof S.vscode!="undefined"&&typeof S.vscode.process!="undefined"?R=S.vscode.process:typeof r!="undefined"&&(R=r);const L=typeof((i=R==null?void 0:R.versions)===null||i===void 0?void 0:i.electron)=="string"&&R.type==="renderer";if(typeof navigator=="object"&&!L)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,s=b.indexOf("Linux")>=0,a=!0,p=navigator.language,y=p;else if(typeof R=="object"){c=R.platform==="win32",f=R.platform==="darwin",s=R.platform==="linux",h=s&&!!R.env.SNAP&&!!R.env.SNAP_REVISION,p=l,y=l;const Y=R.env.VSCODE_NLS_CONFIG;if(Y)try{const ue=JSON.parse(Y),ne=ue.availableLanguages["*"];p=ue.locale,y=ne||l,_=ue._translationsConfigFile}catch(ue){}u=!0}else console.error("Unable to resolve platform.");let T=0;f?T=1:c?T=3:s&&(T=2);const D=c,B=f,$=s,U=u,V=a,K=x,G=b,oe=function(){if(S.setImmediate)return S.setImmediate.bind(S);if(typeof S.postMessage=="function"&&!S.importScripts){let ne=[];S.addEventListener("message",ie=>{if(ie.data&&ie.data.vscodeSetImmediateId)for(let F=0,M=ne.length;F<M;F++){const q=ne[F];if(q.id===ie.data.vscodeSetImmediateId){ne.splice(F,1),q.callback();return}}});let ee=0;return ie=>{const F=++ee;ne.push({id:F,callback:ie}),S.postMessage({vscodeSetImmediateId:F},"*")}}if(typeof(R==null?void 0:R.nextTick)=="function")return R.nextTick.bind(R);const ue=Promise.resolve();return ne=>ue.then(ne)}(),ae=f||x?2:c?1:3;let le=!0,Q=!1;function J(){if(!Q){Q=!0;const Y=new Uint8Array(2);Y[0]=1,Y[1]=2,le=new Uint16Array(Y.buffer)[0]===513}return le}},95830:function(d,g,e){"use strict";e.d(g,{G:function(){return l}});var r=e(23345);const i=r.li.performance&&typeof r.li.performance.now=="function";class l{constructor(f){this._highResolution=i&&f,this._startTime=this._now(),this._stopTime=-1}static create(f=!0){return new l(f)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?r.li.performance.now():Date.now()}}},82983:function(d,g,e){"use strict";e.d(g,{$i:function(){return Ee},C8:function(){return _t},GF:function(){return p},HO:function(){return ee},IO:function(){return y},K7:function(){return Ft},Kw:function(){return er},LC:function(){return S},Mh:function(){return oe},P1:function(){return ae},PJ:function(){return Jt},Qe:function(){return Ce},R1:function(){return x},RP:function(){return q},S6:function(){return Xe},TT:function(){return D},Ut:function(){return F},V8:function(){return R},WU:function(){return l},YK:function(){return Q},YU:function(){return c},ZG:function(){return le},ZH:function(){return Y},ab:function(){return je},c1:function(){return Pt},df:function(){return V},ec:function(){return f},fi:function(){return It},fy:function(){return s},j3:function(){return h},j_:function(){return $},m5:function(){return r},mK:function(){return U},mr:function(){return _},oH:function(){return bt},oL:function(){return u},ok:function(){return G},ow:function(){return L},qq:function(){return K},qu:function(){return T},rL:function(){return J},uS:function(){return Qt},un:function(){return a},uq:function(){return b},vH:function(){return ne},xe:function(){return Fe},zY:function(){return B}});function r(ge){return!ge||typeof ge!="string"?!0:ge.trim().length===0}const i=/{(\d+)}/g;function l(ge,...Ae){return Ae.length===0?ge:ge.replace(i,function(Me,$e){const He=parseInt($e,10);return isNaN(He)||He<0||He>=Ae.length?Me:Ae[He]})}function c(ge){return ge.replace(/[<>&]/g,function(Ae){switch(Ae){case"<":return"<";case">":return">";case"&":return"&";default:return Ae}})}function f(ge){return ge.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function s(ge,Ae=" "){const Me=h(ge,Ae);return u(Me,Ae)}function h(ge,Ae){if(!ge||!Ae)return ge;const Me=Ae.length;if(Me===0||ge.length===0)return ge;let $e=0;for(;ge.indexOf(Ae,$e)===$e;)$e=$e+Me;return ge.substring($e)}function u(ge,Ae){if(!ge||!Ae)return ge;const Me=Ae.length,$e=ge.length;if(Me===0||$e===0)return ge;let He=$e,nt=-1;for(;nt=ge.lastIndexOf(Ae,He-1),!(nt===-1||nt+Me!==He);){if(nt===0)return"";He=nt}return ge.substring(0,He)}function a(ge){return ge.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ge){return ge.replace(/\*/g,"")}function p(ge,Ae,Me={}){if(!ge)throw new Error("Cannot create regex from empty string");Ae||(ge=f(ge)),Me.wholeWord&&(/\B/.test(ge.charAt(0))||(ge="\\b"+ge),/\B/.test(ge.charAt(ge.length-1))||(ge=ge+"\\b"));let $e="";return Me.global&&($e+="g"),Me.matchCase||($e+="i"),Me.multiline&&($e+="m"),Me.unicode&&($e+="u"),new RegExp(ge,$e)}function y(ge){return ge.source==="^"||ge.source==="^$"||ge.source==="$"||ge.source==="^\\s*$"?!1:!!(ge.exec("")&&ge.lastIndex===0)}function _(ge){return(ge.global?"g":"")+(ge.ignoreCase?"i":"")+(ge.multiline?"m":"")+(ge.unicode?"u":"")}function b(ge){return ge.split(/\r\n|\r|\n/)}function S(ge){for(let Ae=0,Me=ge.length;Ae<Me;Ae++){const $e=ge.charCodeAt(Ae);if($e!==32&&$e!==9)return Ae}return-1}function R(ge,Ae=0,Me=ge.length){for(let $e=Ae;$e<Me;$e++){const He=ge.charCodeAt($e);if(He!==32&&He!==9)return ge.substring(Ae,$e)}return ge.substring(Ae,Me)}function L(ge,Ae=ge.length-1){for(let Me=Ae;Me>=0;Me--){const $e=ge.charCodeAt(Me);if($e!==32&&$e!==9)return Me}return-1}function T(ge,Ae){return ge<Ae?-1:ge>Ae?1:0}function D(ge,Ae,Me=0,$e=ge.length,He=0,nt=Ae.length){for(;Me<$e&&He<nt;Me++,He++){let Wt=ge.charCodeAt(Me),De=Ae.charCodeAt(He);if(Wt<De)return-1;if(Wt>De)return 1}const ct=$e-Me,Kt=nt-He;return ct<Kt?-1:ct>Kt?1:0}function B(ge,Ae){return $(ge,Ae,0,ge.length,0,Ae.length)}function $(ge,Ae,Me=0,$e=ge.length,He=0,nt=Ae.length){for(;Me<$e&&He<nt;Me++,He++){let Wt=ge.charCodeAt(Me),De=Ae.charCodeAt(He);if(Wt===De)continue;if(Wt>=128||De>=128)return D(ge.toLowerCase(),Ae.toLowerCase(),Me,$e,He,nt);U(Wt)&&(Wt-=32),U(De)&&(De-=32);const Qe=Wt-De;if(Qe!==0)return Qe}const ct=$e-Me,Kt=nt-He;return ct<Kt?-1:ct>Kt?1:0}function U(ge){return ge>=97&&ge<=122}function V(ge){return ge>=65&&ge<=90}function K(ge,Ae){return ge.length===Ae.length&&$(ge,Ae)===0}function G(ge,Ae){const Me=Ae.length;return Ae.length>ge.length?!1:$(ge,Ae,0,Me)===0}function oe(ge,Ae){let Me,$e=Math.min(ge.length,Ae.length);for(Me=0;Me<$e;Me++)if(ge.charCodeAt(Me)!==Ae.charCodeAt(Me))return Me;return $e}function ae(ge,Ae){let Me,$e=Math.min(ge.length,Ae.length);const He=ge.length-1,nt=Ae.length-1;for(Me=0;Me<$e;Me++)if(ge.charCodeAt(He-Me)!==Ae.charCodeAt(nt-Me))return Me;return $e}function le(ge){return 55296<=ge&&ge<=56319}function Q(ge){return 56320<=ge&&ge<=57343}function J(ge,Ae){return(ge-55296<<10)+(Ae-56320)+65536}function Y(ge,Ae,Me){const $e=ge.charCodeAt(Me);if(le($e)&&Me+1<Ae){const He=ge.charCodeAt(Me+1);if(Q(He))return J($e,He)}return $e}function ue(ge,Ae){const Me=ge.charCodeAt(Ae-1);if(Q(Me)&&Ae>1){const $e=ge.charCodeAt(Ae-2);if(le($e))return J($e,Me)}return Me}function ne(ge,Ae){const Me=zt.getInstance(),$e=Ae,He=ge.length,nt=Y(ge,He,Ae);Ae+=nt>=65536?2:1;let ct=Me.getGraphemeBreakType(nt);for(;Ae<He;){const Kt=Y(ge,He,Ae),Wt=Me.getGraphemeBreakType(Kt);if(It(ct,Wt))break;Ae+=Kt>=65536?2:1,ct=Wt}return Ae-$e}function ee(ge,Ae){const Me=zt.getInstance(),$e=Ae,He=ue(ge,Ae);Ae-=He>=65536?2:1;let nt=Me.getGraphemeBreakType(He);for(;Ae>0;){const ct=ue(ge,Ae),Kt=Me.getGraphemeBreakType(ct);if(It(Kt,nt))break;Ae-=ct>=65536?2:1,nt=Kt}return $e-Ae}const ie=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function F(ge){return ie.test(ge)}const M=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function q(ge){return M.test(ge)}const de=/^[\t\n\r\x20-\x7E]*$/;function Ee(ge){return de.test(ge)}const Ce=/[\u2028\u2029]/;function je(ge){return Ce.test(ge)}function Fe(ge){for(let Ae=0,Me=ge.length;Ae<Me;Ae++)if(Ft(ge.charCodeAt(Ae)))return!0;return!1}function Ft(ge){return ge=+ge,ge>=11904&&ge<=55215||ge>=63744&&ge<=64255||ge>=65281&&ge<=65374}function _t(ge){return ge>=127462&&ge<=127487||ge===8986||ge===8987||ge===9200||ge===9203||ge>=9728&&ge<=10175||ge===11088||ge===11093||ge>=127744&&ge<=128591||ge>=128640&&ge<=128764||ge>=128992&&ge<=129003||ge>=129280&&ge<=129535||ge>=129648&&ge<=129750}const Pt="\uFEFF";function Qt(ge){return!!(ge&&ge.length>0&&ge.charCodeAt(0)===65279)}function er(ge,Ae=!1){return ge?(Ae&&(ge=ge.replace(/\\./g,"")),ge.toLowerCase()!==ge):!1}function Jt(ge){return ge=ge%52,ge<26?String.fromCharCode(97+ge):String.fromCharCode(65+ge-26)}function Xe(ge){return zt.getInstance().getGraphemeBreakType(ge)}function It(ge,Ae){return ge===0?Ae!==5&&Ae!==7:ge===2&&Ae===3?!1:ge===4||ge===2||ge===3||Ae===4||Ae===2||Ae===3?!0:!(ge===8&&(Ae===8||Ae===9||Ae===11||Ae===12)||(ge===11||ge===9)&&(Ae===9||Ae===10)||(ge===12||ge===10)&&Ae===10||Ae===5||Ae===13||Ae===7||ge===1||ge===13&&Ae===14||ge===6&&Ae===6)}class zt{constructor(){this._data=st()}static getInstance(){return zt._INSTANCE||(zt._INSTANCE=new zt),zt._INSTANCE}getGraphemeBreakType(Ae){if(Ae<32)return Ae===10?3:Ae===13?2:4;if(Ae<127)return 0;const Me=this._data,$e=Me.length/3;let He=1;for(;He<=$e;)if(Ae<Me[3*He])He=2*He;else if(Ae>Me[3*He+1])He=2*He+1;else return Me[3*He+2];return 0}}zt._INSTANCE=null;function st(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function bt(ge,Ae){if(ge===0)return 0;const Me=ht(ge,Ae);if(Me!==void 0)return Me;const $e=ue(Ae,ge);return ge-=Je($e),ge}function ht(ge,Ae){let Me=ue(Ae,ge);for(ge-=Je(Me);Ue(Me)||Me===65039||Me===8419;){if(ge===0)return;Me=ue(Ae,ge),ge-=Je(Me)}if(_t(Me)){if(ge>=0){const $e=ue(Ae,ge);$e===8205&&(ge-=Je($e))}return ge}}function Je(ge){return ge>=65536?2:1}function Ue(ge){return 127995<=ge&&ge<=127999}},72999:function(d,g,e){"use strict";e.d(g,{$E:function(){return S},$K:function(){return h},D8:function(){return y},HD:function(){return i},IU:function(){return R},Jp:function(){return u},Kn:function(){return l},cW:function(){return x},f6:function(){return L},hj:function(){return c},jn:function(){return f},kJ:function(){return r},mf:function(){return p},o8:function(){return s},p_:function(){return a},vE:function(){return T}});function r(D){return Array.isArray(D)}function i(D){return typeof D=="string"}function l(D){return typeof D=="object"&&D!==null&&!Array.isArray(D)&&!(D instanceof RegExp)&&!(D instanceof Date)}function c(D){return typeof D=="number"&&!isNaN(D)}function f(D){return D===!0||D===!1}function s(D){return typeof D=="undefined"}function h(D){return!u(D)}function u(D){return s(D)||D===null}function a(D,B){if(!D)throw new Error(B?`Unexpected type, expected '${B}'`:"Unexpected type")}function x(D){if(u(D))throw new Error("Assertion Failed: argument is undefined or null");return D}function p(D){return typeof D=="function"}function y(D,B){const $=Math.min(D.length,B.length);for(let U=0;U<$;U++)_(D[U],B[U])}function _(D,B){if(i(B)){if(typeof D!==B)throw new Error(`argument does not match constraint: typeof ${B}`)}else if(p(B)){try{if(D instanceof B)return}catch($){}if(!u(D)&&D.constructor===B||B.length===1&&B.call(void 0,D)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function b(D){let B=[],$=Object.getPrototypeOf(D);for(;Object.prototype!==$;)B=B.concat(Object.getOwnPropertyNames($)),$=Object.getPrototypeOf($);return B}function S(D){const B=[];for(const $ of b(D))typeof D[$]=="function"&&B.push($);return B}function R(D,B){const $=V=>function(){const K=Array.prototype.slice.call(arguments,0);return B(V,K)};let U={};for(const V of D)U[V]=$(V);return U}function L(D){return D===null?void 0:D}function T(D,B="Unreachable"){throw new Error(B)}},13268:function(d,g,e){"use strict";e.d(g,{N:function(){return i}});function r(l,c){let f;return c.length===0?f=l:f=l.replace(/\{(\d+)\}/g,function(s,h){const u=h[0];return typeof c[u]!="undefined"?c[u]:s}),f}function i(l,c,...f){return r(c,f)}},96236:function(d,g,e){"use strict";e.d(g,{BH:function(){return R},NZ:function(){return L},U8:function(){return T},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),s=e(34502),h=e(35884),u=e(90689),a=e(16925),x=e(49055),p=function(D,B,$,U){var V=arguments.length,K=V<3?B:U===null?U=Object.getOwnPropertyDescriptor(B,$):U,G;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")K=Reflect.decorate(D,B,$,U);else for(var oe=D.length-1;oe>=0;oe--)(G=D[oe])&&(K=(V<3?G(K):V>3?G(B,$,K):G(B,$))||K);return V>3&&K&&Object.defineProperty(B,$,K),K},y=function(D,B){return function($,U){B($,U,D)}};function _(D){return D.command!==void 0}class b{constructor(B){this.id=b._idPool++,this._debugName=B}}b._idPool=0,b.CommandPalette=new b("CommandPalette"),b.EditorContext=new b("EditorContext"),b.SimpleEditorContext=new b("SimpleEditorContext"),b.EditorContextCopy=new b("EditorContextCopy"),b.EditorContextPeek=new b("EditorContextPeek"),b.MenubarEditMenu=new b("MenubarEditMenu"),b.MenubarCopy=new b("MenubarCopy"),b.MenubarGoMenu=new b("MenubarGoMenu"),b.MenubarSelectionMenu=new b("MenubarSelectionMenu"),b.InlineCompletionsActions=new b("InlineCompletionsActions");const S=(0,a.yh)("menuService"),R=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:D=>D===b.CommandPalette}}addCommand(D){return this.addCommands(c.$.single(D))}addCommands(D){for(const B of D)this._commands.set(B.id,B);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let B=!1;for(const $ of D)B=this._commands.delete($.id)||B;B&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(D){return this._commands.get(D)}getCommands(){const D=new Map;return this._commands.forEach((B,$)=>D.set($,B)),D}appendMenuItem(D,B){return this.appendMenuItems(c.$.single({id:D,item:B}))}appendMenuItems(D){const B=new Set,$=new s.S;for(const{id:U,item:V}of D){let K=this._menuItems.get(U);K||(K=new s.S,this._menuItems.set(U,K)),$.push(K.push(V)),B.add(U)}return this._onDidChangeMenu.fire(B),(0,f.OF)(()=>{if($.size>0){for(let U of $)U();this._onDidChangeMenu.fire(B),$.clear()}})}getMenuItems(D){let B;return this._menuItems.has(D)?B=[...this._menuItems.get(D)]:B=[],D===b.CommandPalette&&this._appendImplicitItems(B),B}_appendImplicitItems(D){const B=new Set;for(const $ of D)_($)&&(B.add($.command.id),$.alt&&B.add($.alt.id));this._commands.forEach(($,U)=>{B.has(U)||D.push({command:$})})}};class L extends r.wY{constructor(B,$,U,V){super(`submenuitem.${B.submenu.id}`,typeof B.title=="string"?B.title:B.title.value,[],"submenu"),this.item=B,this._menuService=$,this._contextKeyService=U,this._options=V}get actions(){const B=[],$=this._menuService.createMenu(this.item.submenu,this._contextKeyService),U=$.getActions(this._options);$.dispose();for(const[,V]of U)V.length>0&&(B.push(...V),B.push(new r.Z0));return B.length&&B.pop(),B}}let T=class Ld{constructor(B,$,U,V,K){var G,oe;if(this._commandService=K,this.id=B.id,this.label=U!=null&&U.renderShortTitle&&B.shortTitle?typeof B.shortTitle=="string"?B.shortTitle:B.shortTitle.value:typeof B.title=="string"?B.title:B.title.value,this.tooltip=(oe=typeof B.tooltip=="string"?B.tooltip:(G=B.tooltip)===null||G===void 0?void 0:G.value)!==null&&oe!==void 0?oe:"",this.enabled=!B.precondition||V.contextMatchesRules(B.precondition),this.checked=void 0,B.toggled){const ae=B.toggled.condition?B.toggled:{condition:B.toggled};this.checked=V.contextMatchesRules(ae.condition),this.checked&&ae.tooltip&&(this.tooltip=typeof ae.tooltip=="string"?ae.tooltip:ae.tooltip.value),ae.title&&(this.label=typeof ae.title=="string"?ae.title:ae.title.value)}this.item=B,this.alt=$?new Ld($,void 0,U,V,K):void 0,this._options=U,x.kS.isThemeIcon(B.icon)&&(this.class=i.dT.asClassName(B.icon))}dispose(){}run(...B){var $,U;let V=[];return!(($=this._options)===null||$===void 0)&&$.arg&&(V=[...V,this._options.arg]),!((U=this._options)===null||U===void 0)&&U.shouldForwardArgs&&(V=[...V,...B]),this._commandService.executeCommand(this.id,...V)}};T=p([y(3,u.i6),y(4,h.H)],T)},35884:function(d,g,e){"use strict";e.d(g,{H:function(){return h},P:function(){return u}});var r=e(4348),i=e(88226),l=e(69323),c=e(34502),f=e(72999),s=e(16925);const h=(0,s.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 L of a.description.args)S.push(L.constraint);const R=a.handler;a.handler=function(L,...T){return(0,f.D8)(T,S),R(L,...T)}}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,g,e){"use strict";e.d(g,{Ao:function(){return h},Eq:function(){return J},Fb:function(){return u},K8:function(){return ne},i6:function(){return Q},uy:function(){return le}});var r=e(23345),i=e(82983),l=e(16925);let c=r.WE||"";const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",r.dz),f.set("isLinux",r.IJ),f.set("isWindows",r.ED),f.set("isWeb",r.$L),f.set("isMacNative",r.dz&&!r.$L),f.set("isEdge",c.indexOf("Edg/")>=0),f.set("isFirefox",c.indexOf("Firefox")>=0),f.set("isChrome",c.indexOf("Chrome")>=0),f.set("isSafari",c.indexOf("Safari")>=0);const s=Object.prototype.hasOwnProperty;class h{static has(F){return y.create(F)}static equals(F,M){return _.create(F,M)}static regex(F,M){return V.create(F,M)}static not(F){return L.create(F)}static and(...F){return oe.create(F,null)}static or(...F){return ae.create(F,null,!0)}static deserialize(F,M=!1){if(F)return this._deserializeOrExpression(F,M)}static _deserializeOrExpression(F,M){let q=F.split("||");return ae.create(q.map(de=>this._deserializeAndExpression(de,M)),null,!0)}static _deserializeAndExpression(F,M){let q=F.split("&&");return oe.create(q.map(de=>this._deserializeOne(de,M)),null)}static _deserializeOne(F,M){if(F=F.trim(),F.indexOf("!=")>=0){let q=F.split("!=");return R.create(q[0].trim(),this._deserializeValue(q[1],M))}if(F.indexOf("==")>=0){let q=F.split("==");return _.create(q[0].trim(),this._deserializeValue(q[1],M))}if(F.indexOf("=~")>=0){let q=F.split("=~");return V.create(q[0].trim(),this._deserializeRegexValue(q[1],M))}if(F.indexOf(" in ")>=0){let q=F.split(" in ");return b.create(q[0].trim(),q[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(F)){const q=F.split(">=");return B.create(q[0].trim(),q[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(F)){const q=F.split(">");return D.create(q[0].trim(),q[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(F)){const q=F.split("<=");return U.create(q[0].trim(),q[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(F)){const q=F.split("<");return $.create(q[0].trim(),q[1].trim())}return/^\!\s*/.test(F)?L.create(F.substr(1).trim()):y.create(F)}static _deserializeValue(F,M){if(F=F.trim(),F==="true")return!0;if(F==="false")return!1;let q=/^'([^']*)'$/.exec(F);return q?q[1].trim():F}static _deserializeRegexValue(F,M){if((0,i.m5)(F)){if(M)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let q=F.indexOf("/"),de=F.lastIndexOf("/");if(q===de||q<0){if(M)throw new Error(`bad regexp-value '${F}', missing /-enclosure`);return console.warn(`bad regexp-value '${F}', missing /-enclosure`),null}let Ee=F.slice(q+1,de),Ce=F[de+1]==="i"?"i":"";try{return new RegExp(Ee,Ce)}catch(je){if(M)throw new Error(`bad regexp-value '${F}', parse error: ${je}`);return console.warn(`bad regexp-value '${F}', parse error: ${je}`),null}}}function u(ie,F){const M=ie?ie.substituteConstants():void 0,q=F?F.substituteConstants():void 0;return!M&&!q?!0:!M||!q?!1:M.equals(q)}function a(ie,F){return ie.cmp(F)}class x{constructor(){this.type=0}cmp(F){return this.type-F.type}equals(F){return F.type===this.type}substituteConstants(){return this}evaluate(F){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(F){return this.type-F.type}equals(F){return F.type===this.type}substituteConstants(){return this}evaluate(F){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(F,M){this.key=F,this.negated=M,this.type=2}static create(F,M=null){const q=f.get(F);return typeof q=="boolean"?q?p.INSTANCE:x.INSTANCE:new y(F,M)}cmp(F){return F.type!==this.type?this.type-F.type:Y(this.key,F.key)}equals(F){return F.type===this.type?this.key===F.key:!1}substituteConstants(){const F=f.get(this.key);return typeof F=="boolean"?F?p.INSTANCE:x.INSTANCE:this}evaluate(F){return!!F.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=L.create(this.key,this)),this.negated}}class _{constructor(F,M,q){this.key=F,this.value=M,this.negated=q,this.type=4}static create(F,M,q=null){if(typeof M=="boolean")return M?y.create(F,q):L.create(F,q);const de=f.get(F);return typeof de=="boolean"?M===(de?"true":"false")?p.INSTANCE:x.INSTANCE:new _(F,M,q)}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){const F=f.get(this.key);if(typeof F=="boolean"){const M=F?"true":"false";return this.value===M?p.INSTANCE:x.INSTANCE}return this}evaluate(F){return F.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this.key,this.value,this)),this.negated}}class b{constructor(F,M){this.key=F,this.valueKey=M,this.type=10,this.negated=null}static create(F,M){return new b(F,M)}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.valueKey,F.key,F.valueKey)}equals(F){return F.type===this.type?this.key===F.key&&this.valueKey===F.valueKey:!1}substituteConstants(){return this}evaluate(F){const M=F.getValue(this.valueKey),q=F.getValue(this.key);return Array.isArray(M)?M.indexOf(q)>=0:typeof q=="string"&&typeof M=="object"&&M!==null?s.call(M,q):!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(F){this._actual=F,this.type=11}static create(F){return new S(F)}cmp(F){return F.type!==this.type?this.type-F.type:this._actual.cmp(F._actual)}equals(F){return F.type===this.type?this._actual.equals(F._actual):!1}substituteConstants(){return this}evaluate(F){return!this._actual.evaluate(F)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class R{constructor(F,M,q){this.key=F,this.value=M,this.negated=q,this.type=5}static create(F,M,q=null){if(typeof M=="boolean")return M?L.create(F,q):y.create(F,q);const de=f.get(F);return typeof de=="boolean"?M===(de?"true":"false")?x.INSTANCE:p.INSTANCE:new R(F,M,q)}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){const F=f.get(this.key);if(typeof F=="boolean"){const M=F?"true":"false";return this.value===M?x.INSTANCE:p.INSTANCE}return this}evaluate(F){return F.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=_.create(this.key,this.value,this)),this.negated}}class L{constructor(F,M){this.key=F,this.negated=M,this.type=3}static create(F,M=null){const q=f.get(F);return typeof q=="boolean"?q?x.INSTANCE:p.INSTANCE:new L(F,M)}cmp(F){return F.type!==this.type?this.type-F.type:Y(this.key,F.key)}equals(F){return F.type===this.type?this.key===F.key:!1}substituteConstants(){const F=f.get(this.key);return typeof F=="boolean"?F?x.INSTANCE:p.INSTANCE:this}evaluate(F){return!F.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this)),this.negated}}function T(ie,F){if(typeof ie=="string"){const M=parseFloat(ie);isNaN(M)||(ie=M)}return typeof ie=="string"||typeof ie=="number"?F(ie):x.INSTANCE}class D{constructor(F,M,q){this.key=F,this.value=M,this.negated=q,this.type=12}static create(F,M,q=null){return T(M,de=>new D(F,de,q))}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=U.create(this.key,this.value,this)),this.negated}}class B{constructor(F,M,q){this.key=F,this.value=M,this.negated=q,this.type=13}static create(F,M,q=null){return T(M,de=>new B(F,de,q))}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=$.create(this.key,this.value,this)),this.negated}}class ${constructor(F,M,q){this.key=F,this.value=M,this.negated=q,this.type=14}static create(F,M,q=null){return T(M,de=>new $(F,de,q))}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class U{constructor(F,M,q){this.key=F,this.value=M,this.negated=q,this.type=15}static create(F,M,q=null){return T(M,de=>new U(F,de,q))}cmp(F){return F.type!==this.type?this.type-F.type:ue(this.key,this.value,F.key,F.value)}equals(F){return F.type===this.type?this.key===F.key&&this.value===F.value:!1}substituteConstants(){return this}evaluate(F){return typeof this.value=="string"?!1:parseFloat(F.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=D.create(this.key,this.value,this)),this.negated}}class V{constructor(F,M){this.key=F,this.regexp=M,this.type=7,this.negated=null}static create(F,M){return new V(F,M)}cmp(F){if(F.type!==this.type)return this.type-F.type;if(this.key<F.key)return-1;if(this.key>F.key)return 1;const M=this.regexp?this.regexp.source:"",q=F.regexp?F.regexp.source:"";return M<q?-1:M>q?1:0}equals(F){if(F.type===this.type){const M=this.regexp?this.regexp.source:"",q=F.regexp?F.regexp.source:"";return this.key===F.key&&M===q}return!1}substituteConstants(){return this}evaluate(F){let M=F.getValue(this.key);return this.regexp?this.regexp.test(M):!1}serialize(){const F=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${F}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=K.create(this)),this.negated}}class K{constructor(F){this._actual=F,this.type=8}static create(F){return new K(F)}cmp(F){return F.type!==this.type?this.type-F.type:this._actual.cmp(F._actual)}equals(F){return F.type===this.type?this._actual.equals(F._actual):!1}substituteConstants(){return this}evaluate(F){return!this._actual.evaluate(F)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function G(ie){let F=null;for(let M=0,q=ie.length;M<q;M++){const de=ie[M].substituteConstants();if(ie[M]!==de&&F===null){F=[];for(let Ee=0;Ee<M;Ee++)F[Ee]=ie[Ee]}F!==null&&(F[M]=de)}return F===null?ie:F}class oe{constructor(F,M){this.expr=F,this.negated=M,this.type=6}static create(F,M){return oe._normalizeArr(F,M)}cmp(F){if(F.type!==this.type)return this.type-F.type;if(this.expr.length<F.expr.length)return-1;if(this.expr.length>F.expr.length)return 1;for(let M=0,q=this.expr.length;M<q;M++){const de=a(this.expr[M],F.expr[M]);if(de!==0)return de}return 0}equals(F){if(F.type===this.type){if(this.expr.length!==F.expr.length)return!1;for(let M=0,q=this.expr.length;M<q;M++)if(!this.expr[M].equals(F.expr[M]))return!1;return!0}return!1}substituteConstants(){const F=G(this.expr);return F===this.expr?this:oe.create(F,this.negated)}evaluate(F){for(let M=0,q=this.expr.length;M<q;M++)if(!this.expr[M].evaluate(F))return!1;return!0}static _normalizeArr(F,M){const q=[];let de=!1;for(const Ee of F)if(Ee){if(Ee.type===1){de=!0;continue}if(Ee.type===0)return x.INSTANCE;if(Ee.type===6){q.push(...Ee.expr);continue}q.push(Ee)}if(q.length===0&&de)return p.INSTANCE;if(q.length!==0){if(q.length===1)return q[0];q.sort(a);for(let Ee=1;Ee<q.length;Ee++)q[Ee-1].equals(q[Ee])&&(q.splice(Ee,1),Ee--);if(q.length===1)return q[0];for(;q.length>1;){const Ee=q[q.length-1];if(Ee.type!==9)break;q.pop();const Ce=q.pop(),je=q.length===0,Fe=ae.create(Ee.expr.map(Ft=>oe.create([Ft,Ce],null)),null,je);Fe&&(q.push(Fe),q.sort(a))}return q.length===1?q[0]:new oe(q,M)}}serialize(){return this.expr.map(F=>F.serialize()).join(" && ")}keys(){const F=[];for(let M of this.expr)F.push(...M.keys());return F}negate(){if(!this.negated){const F=[];for(let M of this.expr)F.push(M.negate());this.negated=ae.create(F,this,!0)}return this.negated}}class ae{constructor(F,M){this.expr=F,this.negated=M,this.type=9}static create(F,M,q){return ae._normalizeArr(F,M,q)}cmp(F){if(F.type!==this.type)return this.type-F.type;if(this.expr.length<F.expr.length)return-1;if(this.expr.length>F.expr.length)return 1;for(let M=0,q=this.expr.length;M<q;M++){const de=a(this.expr[M],F.expr[M]);if(de!==0)return de}return 0}equals(F){if(F.type===this.type){if(this.expr.length!==F.expr.length)return!1;for(let M=0,q=this.expr.length;M<q;M++)if(!this.expr[M].equals(F.expr[M]))return!1;return!0}return!1}substituteConstants(){const F=G(this.expr);return F===this.expr?this:ae.create(F,this.negated,!1)}evaluate(F){for(let M=0,q=this.expr.length;M<q;M++)if(this.expr[M].evaluate(F))return!0;return!1}static _normalizeArr(F,M,q){let de=[],Ee=!1;if(F){for(let Ce=0,je=F.length;Ce<je;Ce++){const Fe=F[Ce];if(Fe){if(Fe.type===0){Ee=!0;continue}if(Fe.type===1)return p.INSTANCE;if(Fe.type===9){de=de.concat(Fe.expr);continue}de.push(Fe)}}if(de.length===0&&Ee)return x.INSTANCE;de.sort(a)}if(de.length!==0){if(de.length===1)return de[0];for(let Ce=1;Ce<de.length;Ce++)de[Ce-1].equals(de[Ce])&&(de.splice(Ce,1),Ce--);if(de.length===1)return de[0];if(q){for(let Ce=0;Ce<de.length;Ce++)for(let je=Ce+1;je<de.length;je++)ne(de[Ce],de[je])&&(de.splice(je,1),je--);if(de.length===1)return de[0]}return new ae(de,M)}}serialize(){return this.expr.map(F=>F.serialize()).join(" || ")}keys(){const F=[];for(let M of this.expr)F.push(...M.keys());return F}negate(){if(!this.negated){let F=[];for(let M of this.expr)F.push(M.negate());for(;F.length>1;){const M=F.shift(),q=F.shift(),de=[];for(const Ce of ee(M))for(const je of ee(q))de.push(oe.create([Ce,je],null));const Ee=F.length===0;F.unshift(ae.create(de,null,Ee))}this.negated=F[0]}return this.negated}}class le extends y{constructor(F,M,q){super(F,null),this._defaultValue=M,typeof q=="object"?le._info.push(Object.assign(Object.assign({},q),{key:F})):q!==!0&&le._info.push({key:F,description:q,type:M!=null?typeof M:void 0})}static all(){return le._info.values()}bindTo(F){return F.createKey(this.key,this._defaultValue)}getValue(F){return F.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(F){return _.create(this.key,F)}}le._info=[];const Q=(0,l.yh)("contextKeyService"),J="setContext";function Y(ie,F){return ie<F?-1:ie>F?1:0}function ue(ie,F,M,q){return ie<M?-1:ie>M?1:F<q?-1:F>q?1:0}function ne(ie,F){if(F.type===6&&ie.type!==9&&ie.type!==6){for(const de of F.expr)if(ie.equals(de))return!0}const M=ie.negate(),q=ee(M).concat(ee(F));q.sort(a);for(let de=0;de<q.length;de++){const Ce=q[de].negate();for(let je=de+1;je<q.length;je++){const Fe=q[je];if(Ce.equals(Fe))return!0}}return!1}function ee(ie){return ie.type===9?ie.expr:[ie]}},16925:function(d,g,e){"use strict";e.d(g,{I8:function(){return r},TG:function(){return i},jt:function(){return f},yh:function(){return c}});var r;(function(s){s.serviceIds=new Map,s.DI_TARGET="$di$target",s.DI_DEPENDENCIES="$di$dependencies";function h(u){return u[s.DI_DEPENDENCIES]||[]}s.getServiceDependencies=h})(r||(r={}));const i=c("instantiationService");function l(s,h,u,a){h[r.DI_TARGET]===h?h[r.DI_DEPENDENCIES].push({id:s,index:u,optional:a}):(h[r.DI_DEPENDENCIES]=[{id:s,index:u,optional:a}],h[r.DI_TARGET]=h)}function c(s){if(r.serviceIds.has(s))return r.serviceIds.get(s);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=()=>s,r.serviceIds.set(s,h),h}function f(s){return function(h,u,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");l(s,h,a,!0)}}},44650:function(d,g,e){"use strict";e.d(g,{B:function(){return c}});var r=e(76068),i=e(72999);class l{constructor(){this.data=new Map}add(s,h){r.ok(i.HD(s)),r.ok(i.Kn(h)),r.ok(!this.data.has(s),"There is already an extension with this id"),this.data.set(s,h)}as(s){return this.data.get(s)||null}}const c=new l},66213:function(d,g,e){"use strict";e.d(g,{e:function(){return r}});var r;(function(i){i.DARK="dark",i.LIGHT="light",i.HIGH_CONTRAST="hc"})(r||(r={}))},49055:function(d,g,e){"use strict";e.d(g,{EN:function(){return a},IP:function(){return y},Ic:function(){return S},XE:function(){return h},bB:function(){return R},kS:function(){return x},m6:function(){return p}});var r=e(52615),i=e(4348),l=e(69323),c=e(16925),f=e(44650),s=e(66213);const h=(0,c.yh)("themeService");var u;(function(L){function T(D){return D&&typeof D=="object"&&typeof D.id=="string"}L.isThemeColor=T})(u||(u={}));function a(L){return{id:L}}var x;(function(L){function T(K){return K&&typeof K=="object"&&typeof K.id=="string"&&(typeof K.color=="undefined"||u.isThemeColor(K.color))}L.isThemeIcon=T;const D=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function B(K){const G=D.exec(K);if(!G)return;let[,oe]=G;return{id:oe}}L.fromString=B;function $(K,G){let oe=K.id;const ae=oe.lastIndexOf("~");return ae!==-1&&(oe=oe.substring(0,ae)),G&&(oe=`${oe}~${G}`),{id:oe}}L.modify=$;function U(K,G){var oe,ae;return K.id===G.id&&((oe=K.color)===null||oe===void 0?void 0:oe.id)===((ae=G.color)===null||ae===void 0?void 0:ae.id)}L.isEqual=U;function V(K,G){return{id:K.id,color:G?a(G):void 0}}L.asThemeIcon=V,L.asClassNameArray=r.dT.asClassNameArray,L.asClassName=r.dT.asClassName,L.asCSSSelector=r.dT.asCSSSelector})(x||(x={}));function p(L){switch(L){case s.e.DARK:return"vs-dark";case s.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(T){return this.themingParticipants.push(T),this.onThemingParticipantAddedEmitter.fire(T),(0,l.OF)(()=>{const D=this.themingParticipants.indexOf(T);this.themingParticipants.splice(D,1)})}getThemingParticipants(){return this.themingParticipants}}let b=new _;f.B.add(y.ThemingContribution,b);function S(L){return b.onColorThemeChange(L)}class R extends l.JT{constructor(T){super(),this.themeService=T,this.theme=T.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(D=>this.onThemeChange(D)))}onThemeChange(T){this.theme=T,this.updateStyles()}updateStyles(){}}},84126:function(d){"use strict";var g=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function l(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var f={},s=0;s<10;s++)f["_"+String.fromCharCode(s)]=s;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 s,h=i(c),u,a=1;a<arguments.length;a++){s=Object(arguments[a]);for(var x in s)e.call(s,x)&&(h[x]=s[x]);if(g){u=g(s);for(var p=0;p<u.length;p++)r.call(s,u[p])&&(h[u[p]]=s[u[p]])}}return h}},97671:function(d){var g=d.exports={},e,r;function i(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=i}catch(b){e=i}try{typeof clearTimeout=="function"?r=clearTimeout:r=l}catch(b){r=l}})();function c(b){if(e===setTimeout)return setTimeout(b,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(b,0);try{return e(b,0)}catch(S){try{return e.call(null,b,0)}catch(R){return e.call(this,b,0)}}}function f(b){if(r===clearTimeout)return clearTimeout(b);if((r===l||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(b);try{return r(b)}catch(S){try{return r.call(null,b)}catch(R){return r.call(this,b)}}}var s=[],h=!1,u,a=-1;function x(){!h||!u||(h=!1,u.length?s=u.concat(s):a=-1,s.length&&p())}function p(){if(!h){var b=c(x);h=!0;for(var S=s.length;S;){for(u=s,s=[];++a<S;)u&&u[a].run();a=-1,S=s.length}u=null,h=!1,f(b)}}g.nextTick=function(b){var S=new Array(arguments.length-1);if(arguments.length>1)for(var R=1;R<arguments.length;R++)S[R-1]=arguments[R];s.push(new y(b,S)),s.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)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={};function _(){}g.on=_,g.addListener=_,g.once=_,g.off=_,g.removeListener=_,g.removeAllListeners=_,g.emit=_,g.prependListener=_,g.prependOnceListener=_,g.listeners=function(b){return[]},g.binding=function(b){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(b){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},79442:function(d,g,e){"use strict";var r=e(97825);function i(){}function l(){}l.resetWarningCache=i,d.exports=function(){function c(h,u,a,x,p,y){if(y!==r){var _=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw _.name="Invariant Violation",_}}c.isRequired=c;function f(){return c}var s={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 s.PropTypes=s,s}},12708:function(d,g,e){if(0)var r,i;else d.exports=e(79442)()},97825:function(d){"use strict";var g="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";d.exports=g},86923:function(d,g,e){"use strict";e.d(g,{s:function(){return $},Z:function(){return le}});var r=e(72308),i=e(52487),l=e(43403),c=e(59301),f=c.createContext({}),s=e(77321),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(Q,J,Y){var ue=J;return!ue&&Y&&(ue="".concat(Q,"-").concat(Y)),ue}function b(Q,J){var Y=Q["page".concat(J?"Y":"X","Offset")],ue="scroll".concat(J?"Top":"Left");if(typeof Y!="number"){var ne=Q.document;Y=ne.documentElement[ue],typeof Y!="number"&&(Y=ne.body[ue])}return Y}function S(Q){var J=Q.getBoundingClientRect(),Y={left:J.left,top:J.top},ue=Q.ownerDocument,ne=ue.defaultView||ue.parentWindow;return Y.left+=b(ne),Y.top+=b(ne,!0),Y}var R=e(77900),L=e(8654),T=c.memo(function(Q){var J=Q.children;return J},function(Q,J){var Y=J.shouldUpdate;return!Y}),D={width:0,height:0,overflow:"hidden",outline:"none"},B=c.forwardRef(function(Q,J){var Y=Q.prefixCls,ue=Q.className,ne=Q.style,ee=Q.title,ie=Q.ariaId,F=Q.footer,M=Q.closable,q=Q.closeIcon,de=Q.onClose,Ee=Q.children,Ce=Q.bodyStyle,je=Q.bodyProps,Fe=Q.modalRender,Ft=Q.onMouseDown,_t=Q.onMouseUp,Pt=Q.holderRef,Qt=Q.visible,er=Q.forceRender,Jt=Q.width,Xe=Q.height,It=c.useContext(f),zt=It.panel,st=(0,L.x1)(Pt,zt),bt=(0,c.useRef)(),ht=(0,c.useRef)();c.useImperativeHandle(J,function(){return{focus:function(){var He;(He=bt.current)===null||He===void 0||He.focus()},changeActive:function(He){var nt=document,ct=nt.activeElement;He&&ct===ht.current?bt.current.focus():!He&&ct===bt.current&&ht.current.focus()}}});var Je={};Jt!==void 0&&(Je.width=Jt),Xe!==void 0&&(Je.height=Xe);var Ue;F&&(Ue=c.createElement("div",{className:"".concat(Y,"-footer")},F));var ge;ee&&(ge=c.createElement("div",{className:"".concat(Y,"-header")},c.createElement("div",{className:"".concat(Y,"-title"),id:ie},ee)));var Ae;M&&(Ae=c.createElement("button",{type:"button",onClick:de,"aria-label":"Close",className:"".concat(Y,"-close")},q||c.createElement("span",{className:"".concat(Y,"-close-x")})));var Me=c.createElement("div",{className:"".concat(Y,"-content")},Ae,ge,c.createElement("div",(0,r.Z)({className:"".concat(Y,"-body"),style:Ce},je),Ee),Ue);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":ee?ie:null,"aria-modal":"true",ref:st,style:(0,s.Z)((0,s.Z)({},ne),Je),className:u()(Y,ue),onMouseDown:Ft,onMouseUp:_t},c.createElement("div",{tabIndex:0,ref:bt,style:D,"aria-hidden":"true"}),c.createElement(T,{shouldUpdate:Qt||er},Fe?Fe(Me):Me),c.createElement("div",{tabIndex:0,ref:ht,style:D,"aria-hidden":"true"}))}),$=B,U=c.forwardRef(function(Q,J){var Y=Q.prefixCls,ue=Q.title,ne=Q.style,ee=Q.className,ie=Q.visible,F=Q.forceRender,M=Q.destroyOnClose,q=Q.motionName,de=Q.ariaId,Ee=Q.onVisibleChanged,Ce=Q.mousePosition,je=(0,c.useRef)(),Fe=c.useState(),Ft=(0,i.Z)(Fe,2),_t=Ft[0],Pt=Ft[1],Qt={};_t&&(Qt.transformOrigin=_t);function er(){var Jt=S(je.current);Pt(Ce?"".concat(Ce.x-Jt.left,"px ").concat(Ce.y-Jt.top,"px"):"")}return c.createElement(R.default,{visible:ie,onVisibleChanged:Ee,onAppearPrepare:er,onEnterPrepare:er,forceRender:F,motionName:q,removeOnLeave:M,ref:je},function(Jt,Xe){var It=Jt.className,zt=Jt.style;return c.createElement($,(0,r.Z)({},Q,{ref:J,title:ue,ariaId:de,prefixCls:Y,holderRef:Xe,style:(0,s.Z)((0,s.Z)((0,s.Z)({},zt),ne),Qt),className:u()(ee,It)}))})});U.displayName="Content";var V=U;function K(Q){var J=Q.prefixCls,Y=Q.style,ue=Q.visible,ne=Q.maskProps,ee=Q.motionName;return c.createElement(R.default,{key:"mask",visible:ue,motionName:ee,leavedClassName:"".concat(J,"-mask-hidden")},function(ie,F){var M=ie.className,q=ie.style;return c.createElement("div",(0,r.Z)({ref:F,style:(0,s.Z)((0,s.Z)({},q),Y),className:u()("".concat(J,"-mask"),M)},ne))})}function G(Q){var J=Q.prefixCls,Y=J===void 0?"rc-dialog":J,ue=Q.zIndex,ne=Q.visible,ee=ne===void 0?!1:ne,ie=Q.keyboard,F=ie===void 0?!0:ie,M=Q.focusTriggerAfterClose,q=M===void 0?!0:M,de=Q.wrapStyle,Ee=Q.wrapClassName,Ce=Q.wrapProps,je=Q.onClose,Fe=Q.afterOpenChange,Ft=Q.afterClose,_t=Q.transitionName,Pt=Q.animation,Qt=Q.closable,er=Qt===void 0?!0:Qt,Jt=Q.mask,Xe=Jt===void 0?!0:Jt,It=Q.maskTransitionName,zt=Q.maskAnimation,st=Q.maskClosable,bt=st===void 0?!0:st,ht=Q.maskStyle,Je=Q.maskProps,Ue=Q.rootClassName,ge=(0,c.useRef)(),Ae=(0,c.useRef)(),Me=(0,c.useRef)(),$e=c.useState(ee),He=(0,i.Z)($e,2),nt=He[0],ct=He[1],Kt=(0,x.Z)();function Wt(){(0,a.Z)(Ae.current,document.activeElement)||(ge.current=document.activeElement)}function De(){if(!(0,a.Z)(Ae.current,document.activeElement)){var fe;(fe=Me.current)===null||fe===void 0||fe.focus()}}function Qe(fe){if(fe)De();else{if(ct(!1),Xe&&ge.current&&q){try{ge.current.focus({preventScroll:!0})}catch(_e){}ge.current=null}nt&&(Ft==null||Ft())}Fe==null||Fe(fe)}function Vt(fe){je==null||je(fe)}var kt=(0,c.useRef)(!1),Ht=(0,c.useRef)(),$t=function(){clearTimeout(Ht.current),kt.current=!0},Ct=function(){Ht.current=setTimeout(function(){kt.current=!1})},Yt=null;bt&&(Yt=function(_e){kt.current?kt.current=!1:Ae.current===_e.target&&Vt(_e)});function Ge(fe){if(F&&fe.keyCode===p.Z.ESC){fe.stopPropagation(),Vt(fe);return}ee&&fe.keyCode===p.Z.TAB&&Me.current.changeActive(!fe.shiftKey)}return(0,c.useEffect)(function(){ee&&(ct(!0),Wt())},[ee]),(0,c.useEffect)(function(){return function(){clearTimeout(Ht.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(Y,"-root"),Ue)},(0,y.Z)(Q,{data:!0})),c.createElement(K,{prefixCls:Y,visible:Xe&&ee,motionName:_(Y,It,zt),style:(0,s.Z)({zIndex:ue},ht),maskProps:Je}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:Ge,className:u()("".concat(Y,"-wrap"),Ee),ref:Ae,onClick:Yt,style:(0,s.Z)((0,s.Z)({zIndex:ue},de),{},{display:nt?null:"none"})},Ce),c.createElement(V,(0,r.Z)({},Q,{onMouseDown:$t,onMouseUp:Ct,ref:Me,closable:er,ariaId:Kt,prefixCls:Y,visible:ee&&nt,onClose:Vt,onVisibleChanged:Qe,motionName:_(Y,_t,Pt)}))))}var oe=function(J){var Y=J.visible,ue=J.getContainer,ne=J.forceRender,ee=J.destroyOnClose,ie=ee===void 0?!1:ee,F=J.afterClose,M=J.panelRef,q=c.useState(Y),de=(0,i.Z)(q,2),Ee=de[0],Ce=de[1],je=c.useMemo(function(){return{panel:M}},[M]);return c.useEffect(function(){Y&&Ce(!0)},[Y]),!ne&&ie&&!Ee?null:c.createElement(f.Provider,{value:je},c.createElement(l.Z,{open:Y||ne||Ee,autoDestroy:!1,getContainer:ue,autoLock:Y||Ee},c.createElement(G,(0,r.Z)({},J,{destroyOnClose:ie,afterClose:function(){F==null||F(),Ce(!1)}}))))};oe.displayName="Dialog";var ae=oe,le=ae},95013:function(d,g,e){"use strict";e.r(g),e.d(g,{Field:function(){return Fr},FieldContext:function(){return B},FormProvider:function(){return Yi},List:function(){return Un},ListContext:function(){return U},default:function(){return Qn},useForm:function(){return vi},useWatch:function(){return Zi}});var r=e(59301),i=e(72308),l=e(74416),c=e(65736),f=e(72633),s=e(77321),h=e(80702),u=e(96949),a=e(55090),x=e(80237),p=e(77205),y=e(38793),_=e(49618),b=e(11592),S=e(13697),R=e(48736),L="RC_FORM_INTERNAL_HOOKS",T=function(){(0,R.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},D=r.createContext({getFieldValue:T,getFieldsValue:T,getFieldError:T,getFieldWarning:T,getFieldsError:T,isFieldsTouched:T,isFieldTouched:T,isFieldValidating:T,isFieldsValidating:T,resetFields:T,setFields:T,setFieldValue:T,setFieldsValue:T,validateFields:T,submit:T,getInternalHooks:function(){return T(),{dispatch:T,initEntityValue:T,registerField:T,useSubscribe:T,setInitialValues:T,destroyForm:T,setCallbacks:T,registerWatch:T,getFields:T,setValidateMessages:T,setPreserve:T,getInitialValue:T}}}),B=D,$=r.createContext(null),U=$;function V(tr){return tr==null?[]:Array.isArray(tr)?tr:[tr]}function K(tr){return tr&&!!tr._init}var G=e(97671);function oe(){return oe=Object.assign?Object.assign.bind():function(tr){for(var mt=1;mt<arguments.length;mt++){var rt=arguments[mt];for(var Dt in rt)Object.prototype.hasOwnProperty.call(rt,Dt)&&(tr[Dt]=rt[Dt])}return tr},oe.apply(this,arguments)}function ae(tr,mt){tr.prototype=Object.create(mt.prototype),tr.prototype.constructor=tr,Q(tr,mt)}function le(tr){return le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},le(tr)}function Q(tr,mt){return Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Dt,pt){return Dt.__proto__=pt,Dt},Q(tr,mt)}function J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(tr){return!1}}function Y(tr,mt,rt){return J()?Y=Reflect.construct.bind():Y=function(pt,cr,fr){var Ir=[null];Ir.push.apply(Ir,cr);var Rr=Function.bind.apply(pt,Ir),Ze=new Rr;return fr&&Q(Ze,fr.prototype),Ze},Y.apply(null,arguments)}function ue(tr){return Function.toString.call(tr).indexOf("[native code]")!==-1}function ne(tr){var mt=typeof Map=="function"?new Map:void 0;return ne=function(Dt){if(Dt===null||!ue(Dt))return Dt;if(typeof Dt!="function")throw new TypeError("Super expression must either be null or a function");if(typeof mt!="undefined"){if(mt.has(Dt))return mt.get(Dt);mt.set(Dt,pt)}function pt(){return Y(Dt,arguments,le(this).constructor)}return pt.prototype=Object.create(Dt.prototype,{constructor:{value:pt,enumerable:!1,writable:!0,configurable:!0}}),Q(pt,Dt)},ne(tr)}var ee=/%[sdj%]/g,ie=function(){};function F(tr){if(!tr||!tr.length)return null;var mt={};return tr.forEach(function(rt){var Dt=rt.field;mt[Dt]=mt[Dt]||[],mt[Dt].push(rt)}),mt}function M(tr){for(var mt=arguments.length,rt=new Array(mt>1?mt-1:0),Dt=1;Dt<mt;Dt++)rt[Dt-1]=arguments[Dt];var pt=0,cr=rt.length;if(typeof tr=="function")return tr.apply(null,rt);if(typeof tr=="string"){var fr=tr.replace(ee,function(Ir){if(Ir==="%%")return"%";if(pt>=cr)return Ir;switch(Ir){case"%s":return String(rt[pt++]);case"%d":return Number(rt[pt++]);case"%j":try{return JSON.stringify(rt[pt++])}catch(Rr){return"[Circular]"}break;default:return Ir}});return fr}return tr}function q(tr){return tr==="string"||tr==="url"||tr==="hex"||tr==="email"||tr==="date"||tr==="pattern"}function de(tr,mt){return!!(tr==null||mt==="array"&&Array.isArray(tr)&&!tr.length||q(mt)&&typeof tr=="string"&&!tr)}function Ee(tr,mt,rt){var Dt=[],pt=0,cr=tr.length;function fr(Ir){Dt.push.apply(Dt,Ir||[]),pt++,pt===cr&&rt(Dt)}tr.forEach(function(Ir){mt(Ir,fr)})}function Ce(tr,mt,rt){var Dt=0,pt=tr.length;function cr(fr){if(fr&&fr.length){rt(fr);return}var Ir=Dt;Dt=Dt+1,Ir<pt?mt(tr[Ir],cr):rt([])}cr([])}function je(tr){var mt=[];return Object.keys(tr).forEach(function(rt){mt.push.apply(mt,tr[rt]||[])}),mt}var Fe=function(tr){ae(mt,tr);function mt(rt,Dt){var pt;return pt=tr.call(this,"Async Validation Error")||this,pt.errors=rt,pt.fields=Dt,pt}return mt}(ne(Error));function Ft(tr,mt,rt,Dt,pt){if(mt.first){var cr=new Promise(function(it,ir){var Or=function(Nr){return Dt(Nr),Nr.length?ir(new Fe(Nr,F(Nr))):it(pt)},wr=je(tr);Ce(wr,rt,Or)});return cr.catch(function(it){return it}),cr}var fr=mt.firstFields===!0?Object.keys(tr):mt.firstFields||[],Ir=Object.keys(tr),Rr=Ir.length,Ze=0,et=[],we=new Promise(function(it,ir){var Or=function(Tr){if(et.push.apply(et,Tr),Ze++,Ze===Rr)return Dt(et),et.length?ir(new Fe(et,F(et))):it(pt)};Ir.length||(Dt(et),it(pt)),Ir.forEach(function(wr){var Tr=tr[wr];fr.indexOf(wr)!==-1?Ce(Tr,rt,Or):Ee(Tr,rt,Or)})});return we.catch(function(it){return it}),we}function _t(tr){return!!(tr&&tr.message!==void 0)}function Pt(tr,mt){for(var rt=tr,Dt=0;Dt<mt.length;Dt++){if(rt==null)return rt;rt=rt[mt[Dt]]}return rt}function Qt(tr,mt){return function(rt){var Dt;return tr.fullFields?Dt=Pt(mt,tr.fullFields):Dt=mt[rt.field||tr.fullField],_t(rt)?(rt.field=rt.field||tr.fullField,rt.fieldValue=Dt,rt):{message:typeof rt=="function"?rt():rt,fieldValue:Dt,field:rt.field||tr.fullField}}}function er(tr,mt){if(mt){for(var rt in mt)if(mt.hasOwnProperty(rt)){var Dt=mt[rt];typeof Dt=="object"&&typeof tr[rt]=="object"?tr[rt]=oe({},tr[rt],Dt):tr[rt]=Dt}}return tr}var Jt=function(mt,rt,Dt,pt,cr,fr){mt.required&&(!Dt.hasOwnProperty(mt.field)||de(rt,fr||mt.type))&&pt.push(M(cr.messages.required,mt.fullField))},Xe=function(mt,rt,Dt,pt,cr){(/^\s+$/.test(rt)||rt==="")&&pt.push(M(cr.messages.whitespace,mt.fullField))},It,zt=function(){if(It)return It;var tr="[a-fA-F\\d:]",mt=function(un){return un&&un.includeBoundaries?"(?:(?<=\\s|^)(?="+tr+")|(?<="+tr+")(?=\\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}",Dt="[a-fA-F\\d]{1,4}",pt=(`
|
|
|
(?:
|
|
|
(?:`+Dt+":){7}(?:"+Dt+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
|
(?:`+Dt+":){6}(?:"+rt+"|:"+Dt+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
|
|
(?:`+Dt+":){5}(?::"+rt+"|(?::"+Dt+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
|
|
(?:`+Dt+":){4}(?:(?::"+Dt+"){0,1}:"+rt+"|(?::"+Dt+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
|
|
(?:`+Dt+":){3}(?:(?::"+Dt+"){0,2}:"+rt+"|(?::"+Dt+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
|
|
(?:`+Dt+":){2}(?:(?::"+Dt+"){0,3}:"+rt+"|(?::"+Dt+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
|
(?:`+Dt+":){1}(?:(?::"+Dt+"){0,4}:"+rt+"|(?::"+Dt+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
|
(?::(?:(?::`+Dt+"){0,5}:"+rt+"|(?::"+Dt+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
|
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
|
|
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),cr=new RegExp("(?:^"+rt+"$)|(?:^"+pt+"$)"),fr=new RegExp("^"+rt+"$"),Ir=new RegExp("^"+pt+"$"),Rr=function(un){return un&&un.exact?cr:new RegExp("(?:"+mt(un)+rt+mt(un)+")|(?:"+mt(un)+pt+mt(un)+")","g")};Rr.v4=function(Dr){return Dr&&Dr.exact?fr:new RegExp(""+mt(Dr)+rt+mt(Dr),"g")},Rr.v6=function(Dr){return Dr&&Dr.exact?Ir:new RegExp(""+mt(Dr)+pt+mt(Dr),"g")};var Ze="(?:(?:[a-z]+:)?//)",et="(?:\\S+(?::\\S*)?@)?",we=Rr.v4().source,it=Rr.v6().source,ir="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Or="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",wr="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Tr="(?::\\d{2,5})?",Nr='(?:[/?#][^\\s"]*)?',gn="(?:"+Ze+"|www\\.)"+et+"(?:localhost|"+we+"|"+it+"|"+ir+Or+wr+")"+Tr+Nr;return It=new RegExp("(?:^"+gn+"$)","i"),It},st={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},bt={integer:function(mt){return bt.number(mt)&&parseInt(mt,10)===mt},float:function(mt){return bt.number(mt)&&!bt.integer(mt)},array:function(mt){return Array.isArray(mt)},regexp:function(mt){if(mt instanceof RegExp)return!0;try{return!!new RegExp(mt)}catch(rt){return!1}},date:function(mt){return typeof mt.getTime=="function"&&typeof mt.getMonth=="function"&&typeof mt.getYear=="function"&&!isNaN(mt.getTime())},number:function(mt){return isNaN(mt)?!1:typeof mt=="number"},object:function(mt){return typeof mt=="object"&&!bt.array(mt)},method:function(mt){return typeof mt=="function"},email:function(mt){return typeof mt=="string"&&mt.length<=320&&!!mt.match(st.email)},url:function(mt){return typeof mt=="string"&&mt.length<=2048&&!!mt.match(zt())},hex:function(mt){return typeof mt=="string"&&!!mt.match(st.hex)}},ht=function(mt,rt,Dt,pt,cr){if(mt.required&&rt===void 0){Jt(mt,rt,Dt,pt,cr);return}var fr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Ir=mt.type;fr.indexOf(Ir)>-1?bt[Ir](rt)||pt.push(M(cr.messages.types[Ir],mt.fullField,mt.type)):Ir&&typeof rt!==mt.type&&pt.push(M(cr.messages.types[Ir],mt.fullField,mt.type))},Je=function(mt,rt,Dt,pt,cr){var fr=typeof mt.len=="number",Ir=typeof mt.min=="number",Rr=typeof mt.max=="number",Ze=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,et=rt,we=null,it=typeof rt=="number",ir=typeof rt=="string",Or=Array.isArray(rt);if(it?we="number":ir?we="string":Or&&(we="array"),!we)return!1;Or&&(et=rt.length),ir&&(et=rt.replace(Ze,"_").length),fr?et!==mt.len&&pt.push(M(cr.messages[we].len,mt.fullField,mt.len)):Ir&&!Rr&&et<mt.min?pt.push(M(cr.messages[we].min,mt.fullField,mt.min)):Rr&&!Ir&&et>mt.max?pt.push(M(cr.messages[we].max,mt.fullField,mt.max)):Ir&&Rr&&(et<mt.min||et>mt.max)&&pt.push(M(cr.messages[we].range,mt.fullField,mt.min,mt.max))},Ue="enum",ge=function(mt,rt,Dt,pt,cr){mt[Ue]=Array.isArray(mt[Ue])?mt[Ue]:[],mt[Ue].indexOf(rt)===-1&&pt.push(M(cr.messages[Ue],mt.fullField,mt[Ue].join(", ")))},Ae=function(mt,rt,Dt,pt,cr){if(mt.pattern){if(mt.pattern instanceof RegExp)mt.pattern.lastIndex=0,mt.pattern.test(rt)||pt.push(M(cr.messages.pattern.mismatch,mt.fullField,rt,mt.pattern));else if(typeof mt.pattern=="string"){var fr=new RegExp(mt.pattern);fr.test(rt)||pt.push(M(cr.messages.pattern.mismatch,mt.fullField,rt,mt.pattern))}}},Me={required:Jt,whitespace:Xe,type:ht,range:Je,enum:ge,pattern:Ae},$e=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt,"string")&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr,"string"),de(rt,"string")||(Me.type(mt,rt,pt,fr,cr),Me.range(mt,rt,pt,fr,cr),Me.pattern(mt,rt,pt,fr,cr),mt.whitespace===!0&&Me.whitespace(mt,rt,pt,fr,cr))}Dt(fr)},He=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr),rt!==void 0&&Me.type(mt,rt,pt,fr,cr)}Dt(fr)},nt=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(rt===""&&(rt=void 0),de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr),rt!==void 0&&(Me.type(mt,rt,pt,fr,cr),Me.range(mt,rt,pt,fr,cr))}Dt(fr)},ct=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr),rt!==void 0&&Me.type(mt,rt,pt,fr,cr)}Dt(fr)},Kt=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr),de(rt)||Me.type(mt,rt,pt,fr,cr)}Dt(fr)},Wt=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr),rt!==void 0&&(Me.type(mt,rt,pt,fr,cr),Me.range(mt,rt,pt,fr,cr))}Dt(fr)},De=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr),rt!==void 0&&(Me.type(mt,rt,pt,fr,cr),Me.range(mt,rt,pt,fr,cr))}Dt(fr)},Qe=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(rt==null&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr,"array"),rt!=null&&(Me.type(mt,rt,pt,fr,cr),Me.range(mt,rt,pt,fr,cr))}Dt(fr)},Vt=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr),rt!==void 0&&Me.type(mt,rt,pt,fr,cr)}Dt(fr)},kt="enum",Ht=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr),rt!==void 0&&Me[kt](mt,rt,pt,fr,cr)}Dt(fr)},$t=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt,"string")&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr),de(rt,"string")||Me.pattern(mt,rt,pt,fr,cr)}Dt(fr)},Ct=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt,"date")&&!mt.required)return Dt();if(Me.required(mt,rt,pt,fr,cr),!de(rt,"date")){var Rr;rt instanceof Date?Rr=rt:Rr=new Date(rt),Me.type(mt,Rr,pt,fr,cr),Rr&&Me.range(mt,Rr.getTime(),pt,fr,cr)}}Dt(fr)},Yt=function(mt,rt,Dt,pt,cr){var fr=[],Ir=Array.isArray(rt)?"array":typeof rt;Me.required(mt,rt,pt,fr,cr,Ir),Dt(fr)},Ge=function(mt,rt,Dt,pt,cr){var fr=mt.type,Ir=[],Rr=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Rr){if(de(rt,fr)&&!mt.required)return Dt();Me.required(mt,rt,pt,Ir,cr,fr),de(rt,fr)||Me.type(mt,rt,pt,Ir,cr)}Dt(Ir)},fe=function(mt,rt,Dt,pt,cr){var fr=[],Ir=mt.required||!mt.required&&pt.hasOwnProperty(mt.field);if(Ir){if(de(rt)&&!mt.required)return Dt();Me.required(mt,rt,pt,fr,cr)}Dt(fr)},_e={string:$e,method:He,number:nt,boolean:ct,regexp:Kt,integer:Wt,float:De,array:Qe,object:Vt,enum:Ht,pattern:$t,date:Ct,url:Ge,hex:Ge,email:Ge,required:Yt,any:fe};function Ot(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var mt=JSON.parse(JSON.stringify(this));return mt.clone=this.clone,mt}}}var Pe=Ot(),dt=function(){function tr(rt){this.rules=null,this._messages=Pe,this.define(rt)}var mt=tr.prototype;return mt.define=function(Dt){var pt=this;if(!Dt)throw new Error("Cannot configure a schema with no rules");if(typeof Dt!="object"||Array.isArray(Dt))throw new Error("Rules must be an object");this.rules={},Object.keys(Dt).forEach(function(cr){var fr=Dt[cr];pt.rules[cr]=Array.isArray(fr)?fr:[fr]})},mt.messages=function(Dt){return Dt&&(this._messages=er(Ot(),Dt)),this._messages},mt.validate=function(Dt,pt,cr){var fr=this;pt===void 0&&(pt={}),cr===void 0&&(cr=function(){});var Ir=Dt,Rr=pt,Ze=cr;if(typeof Rr=="function"&&(Ze=Rr,Rr={}),!this.rules||Object.keys(this.rules).length===0)return Ze&&Ze(null,Ir),Promise.resolve(Ir);function et(wr){var Tr=[],Nr={};function gn(un){if(Array.isArray(un)){var tn;Tr=(tn=Tr).concat.apply(tn,un)}else Tr.push(un)}for(var Dr=0;Dr<wr.length;Dr++)gn(wr[Dr]);Tr.length?(Nr=F(Tr),Ze(Tr,Nr)):Ze(null,Ir)}if(Rr.messages){var we=this.messages();we===Pe&&(we=Ot()),er(we,Rr.messages),Rr.messages=we}else Rr.messages=this.messages();var it={},ir=Rr.keys||Object.keys(this.rules);ir.forEach(function(wr){var Tr=fr.rules[wr],Nr=Ir[wr];Tr.forEach(function(gn){var Dr=gn;typeof Dr.transform=="function"&&(Ir===Dt&&(Ir=oe({},Ir)),Nr=Ir[wr]=Dr.transform(Nr)),typeof Dr=="function"?Dr={validator:Dr}:Dr=oe({},Dr),Dr.validator=fr.getValidationMethod(Dr),Dr.validator&&(Dr.field=wr,Dr.fullField=Dr.fullField||wr,Dr.type=fr.getType(Dr),it[wr]=it[wr]||[],it[wr].push({rule:Dr,value:Nr,source:Ir,field:wr}))})});var Or={};return Ft(it,Rr,function(wr,Tr){var Nr=wr.rule,gn=(Nr.type==="object"||Nr.type==="array")&&(typeof Nr.fields=="object"||typeof Nr.defaultField=="object");gn=gn&&(Nr.required||!Nr.required&&wr.value),Nr.field=wr.field;function Dr(ln,En){return oe({},En,{fullField:Nr.fullField+"."+ln,fullFields:Nr.fullFields?[].concat(Nr.fullFields,[ln]):[ln]})}function un(ln){ln===void 0&&(ln=[]);var En=Array.isArray(ln)?ln:[ln];!Rr.suppressWarning&&En.length&&tr.warning("async-validator:",En),En.length&&Nr.message!==void 0&&(En=[].concat(Nr.message));var la=En.map(Qt(Nr,Ir));if(Rr.first&&la.length)return Or[Nr.field]=1,Tr(la);if(!gn)Tr(la);else{if(Nr.required&&!wr.value)return Nr.message!==void 0?la=[].concat(Nr.message).map(Qt(Nr,Ir)):Rr.error&&(la=[Rr.error(Nr,M(Rr.messages.required,Nr.field))]),Tr(la);var gi={};Nr.defaultField&&Object.keys(wr.value).map(function(Di){gi[Di]=Nr.defaultField}),gi=oe({},gi,wr.rule.fields);var yi={};Object.keys(gi).forEach(function(Di){var Fi=gi[Di],oa=Array.isArray(Fi)?Fi:[Fi];yi[Di]=oa.map(Dr.bind(null,Di))});var On=new tr(yi);On.messages(Rr.messages),wr.rule.options&&(wr.rule.options.messages=Rr.messages,wr.rule.options.error=Rr.error),On.validate(wr.value,wr.rule.options||Rr,function(Di){var Fi=[];la&&la.length&&Fi.push.apply(Fi,la),Di&&Di.length&&Fi.push.apply(Fi,Di),Tr(Fi.length?Fi:null)})}}var tn;if(Nr.asyncValidator)tn=Nr.asyncValidator(Nr,wr.value,un,wr.source,Rr);else if(Nr.validator){try{tn=Nr.validator(Nr,wr.value,un,wr.source,Rr)}catch(ln){console.error==null||console.error(ln),Rr.suppressValidatorError||setTimeout(function(){throw ln},0),un(ln.message)}tn===!0?un():tn===!1?un(typeof Nr.message=="function"?Nr.message(Nr.fullField||Nr.field):Nr.message||(Nr.fullField||Nr.field)+" fails"):tn instanceof Array?un(tn):tn instanceof Error&&un(tn.message)}tn&&tn.then&&tn.then(function(){return un()},function(ln){return un(ln)})},function(wr){et(wr)},Ir)},mt.getType=function(Dt){if(Dt.type===void 0&&Dt.pattern instanceof RegExp&&(Dt.type="pattern"),typeof Dt.validator!="function"&&Dt.type&&!_e.hasOwnProperty(Dt.type))throw new Error(M("Unknown rule type %s",Dt.type));return Dt.type||"string"},mt.getValidationMethod=function(Dt){if(typeof Dt.validator=="function")return Dt.validator;var pt=Object.keys(Dt),cr=pt.indexOf("message");return cr!==-1&&pt.splice(cr,1),pt.length===1&&pt[0]==="required"?_e.required:_e[this.getType(Dt)]||void 0},tr}();dt.register=function(mt,rt){if(typeof rt!="function")throw new Error("Cannot register a validator by type, validator is not a function");_e[mt]=rt},dt.warning=ie,dt.messages=Pe,dt.validators=_e;var Zt="'${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:Zt,method:Zt,array:Zt,object:Zt,number:Zt,date:Zt,boolean:Zt,integer:Zt,float:Zt,regexp:Zt,email:Zt,url:Zt,hex:Zt},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},ke=e(24434),St=dt;function be(tr,mt){return tr.replace(/\$\{\w+\}/g,function(rt){var Dt=rt.slice(2,-1);return mt[Dt]})}var Ke="CODE_LOGIC_ERROR";function gt(tr,mt,rt,Dt,pt){return Rt.apply(this,arguments)}function Rt(){return Rt=(0,f.Z)((0,c.Z)().mark(function tr(mt,rt,Dt,pt,cr){var fr,Ir,Rr,Ze,et,we,it,ir,Or;return(0,c.Z)().wrap(function(Tr){for(;;)switch(Tr.prev=Tr.next){case 0:return fr=(0,s.Z)({},Dt),delete fr.ruleIndex,St.warning=function(){},fr.validator&&(Ir=fr.validator,fr.validator=function(){try{return Ir.apply(void 0,arguments)}catch(Nr){return console.error(Nr),Promise.reject(Ke)}}),Rr=null,fr&&fr.type==="array"&&fr.defaultField&&(Rr=fr.defaultField,delete fr.defaultField),Ze=new St((0,_.Z)({},mt,[fr])),et=(0,ke.T)(Tt,pt.validateMessages),Ze.messages(et),we=[],Tr.prev=10,Tr.next=13,Promise.resolve(Ze.validate((0,_.Z)({},mt,rt),(0,s.Z)({},pt)));case 13:Tr.next=18;break;case 15:Tr.prev=15,Tr.t0=Tr.catch(10),Tr.t0.errors&&(we=Tr.t0.errors.map(function(Nr,gn){var Dr=Nr.message,un=Dr===Ke?et.default:Dr;return r.isValidElement(un)?r.cloneElement(un,{key:"error_".concat(gn)}):un}));case 18:if(!(!we.length&&Rr)){Tr.next=23;break}return Tr.next=21,Promise.all(rt.map(function(Nr,gn){return gt("".concat(mt,".").concat(gn),Nr,Rr,pt,cr)}));case 21:return it=Tr.sent,Tr.abrupt("return",it.reduce(function(Nr,gn){return[].concat((0,h.Z)(Nr),(0,h.Z)(gn))},[]));case 23:return ir=(0,s.Z)((0,s.Z)({},Dt),{},{name:mt,enum:(Dt.enum||[]).join(", ")},cr),Or=we.map(function(Nr){return typeof Nr=="string"?be(Nr,ir):Nr}),Tr.abrupt("return",Or);case 26:case"end":return Tr.stop()}},tr,null,[[10,15]])})),Rt.apply(this,arguments)}function Be(tr,mt,rt,Dt,pt,cr){var fr=tr.join("."),Ir=rt.map(function(et,we){var it=et.validator,ir=(0,s.Z)((0,s.Z)({},et),{},{ruleIndex:we});return it&&(ir.validator=function(Or,wr,Tr){var Nr=!1,gn=function(){for(var tn=arguments.length,ln=new Array(tn),En=0;En<tn;En++)ln[En]=arguments[En];Promise.resolve().then(function(){(0,R.ZP)(!Nr,"Your validator function has already return a promise. `callback` will be ignored."),Nr||Tr.apply(void 0,ln)})},Dr=it(Or,wr,gn);Nr=Dr&&typeof Dr.then=="function"&&typeof Dr.catch=="function",(0,R.ZP)(Nr,"`callback` is deprecated. Please return a promise instead."),Nr&&Dr.then(function(){Tr()}).catch(function(un){Tr(un||" ")})}),ir}).sort(function(et,we){var it=et.warningOnly,ir=et.ruleIndex,Or=we.warningOnly,wr=we.ruleIndex;return!!it==!!Or?ir-wr:it?1:-1}),Rr;if(pt===!0)Rr=new Promise(function(){var et=(0,f.Z)((0,c.Z)().mark(function we(it,ir){var Or,wr,Tr;return(0,c.Z)().wrap(function(gn){for(;;)switch(gn.prev=gn.next){case 0:Or=0;case 1:if(!(Or<Ir.length)){gn.next=12;break}return wr=Ir[Or],gn.next=5,gt(fr,mt,wr,Dt,cr);case 5:if(Tr=gn.sent,!Tr.length){gn.next=9;break}return ir([{errors:Tr,rule:wr}]),gn.abrupt("return");case 9:Or+=1,gn.next=1;break;case 12:it([]);case 13:case"end":return gn.stop()}},we)}));return function(we,it){return et.apply(this,arguments)}}());else{var Ze=Ir.map(function(et){return gt(fr,mt,et,Dt,cr).then(function(we){return{errors:we,rule:et}})});Rr=(pt?Kr(Ze):kr(Ze)).then(function(et){return Promise.reject(et)})}return Rr.catch(function(et){return et}),Rr}function kr(tr){return At.apply(this,arguments)}function At(){return At=(0,f.Z)((0,c.Z)().mark(function tr(mt){return(0,c.Z)().wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:return Dt.abrupt("return",Promise.all(mt).then(function(pt){var cr,fr=(cr=[]).concat.apply(cr,(0,h.Z)(pt));return fr}));case 1:case"end":return Dt.stop()}},tr)})),At.apply(this,arguments)}function Kr(tr){return Qr.apply(this,arguments)}function Qr(){return Qr=(0,f.Z)((0,c.Z)().mark(function tr(mt){var rt;return(0,c.Z)().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return rt=0,pt.abrupt("return",new Promise(function(cr){mt.forEach(function(fr){fr.then(function(Ir){Ir.errors.length&&cr([Ir]),rt+=1,rt===mt.length&&cr([])})})}));case 2:case"end":return pt.stop()}},tr)})),Qr.apply(this,arguments)}var Ar=e(62853),$r=e(97938);function _r(tr){return V(tr)}function Ur(tr,mt){var rt={};return mt.forEach(function(Dt){var pt=(0,$r.Z)(tr,Dt);rt=(0,ke.Z)(rt,Dt,pt)}),rt}function sn(tr,mt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return tr&&tr.some(function(Dt){return cn(mt,Dt,rt)})}function cn(tr,mt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!tr||!mt||!rt&&tr.length!==mt.length?!1:mt.every(function(Dt,pt){return tr[pt]===Dt})}function ur(tr,mt){if(tr===mt)return!0;if(!tr&&mt||tr&&!mt||!tr||!mt||(0,Ar.Z)(tr)!=="object"||(0,Ar.Z)(mt)!=="object")return!1;var rt=Object.keys(tr),Dt=Object.keys(mt),pt=new Set([].concat(rt,Dt));return(0,h.Z)(pt).every(function(cr){var fr=tr[cr],Ir=mt[cr];return typeof fr=="function"&&typeof Ir=="function"?!0:fr===Ir})}function Lt(tr){var mt=arguments.length<=1?void 0:arguments[1];return mt&&mt.target&&(0,Ar.Z)(mt.target)==="object"&&tr in mt.target?mt.target[tr]:mt}function vt(tr,mt,rt){var Dt=tr.length;if(mt<0||mt>=Dt||rt<0||rt>=Dt)return tr;var pt=tr[mt],cr=mt-rt;return cr>0?[].concat((0,h.Z)(tr.slice(0,rt)),[pt],(0,h.Z)(tr.slice(rt,mt)),(0,h.Z)(tr.slice(mt+1,Dt))):cr<0?[].concat((0,h.Z)(tr.slice(0,mt)),(0,h.Z)(tr.slice(mt+1,rt+1)),[pt],(0,h.Z)(tr.slice(rt+1,Dt))):tr}var yt=["name"],jt=[];function Cr(tr,mt,rt,Dt,pt,cr){return typeof tr=="function"?tr(mt,rt,"source"in cr?{source:cr.source}:{}):Dt!==pt}var yr=function(tr){(0,p.Z)(rt,tr);var mt=(0,y.Z)(rt);function rt(Dt){var pt;if((0,u.Z)(this,rt),pt=mt.call(this,Dt),(0,_.Z)((0,x.Z)(pt),"state",{resetCount:0}),(0,_.Z)((0,x.Z)(pt),"cancelRegisterFunc",null),(0,_.Z)((0,x.Z)(pt),"mounted",!1),(0,_.Z)((0,x.Z)(pt),"touched",!1),(0,_.Z)((0,x.Z)(pt),"dirty",!1),(0,_.Z)((0,x.Z)(pt),"validatePromise",void 0),(0,_.Z)((0,x.Z)(pt),"prevValidating",void 0),(0,_.Z)((0,x.Z)(pt),"errors",jt),(0,_.Z)((0,x.Z)(pt),"warnings",jt),(0,_.Z)((0,x.Z)(pt),"cancelRegister",function(){var Rr=pt.props,Ze=Rr.preserve,et=Rr.isListField,we=Rr.name;pt.cancelRegisterFunc&&pt.cancelRegisterFunc(et,Ze,_r(we)),pt.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(pt),"getNamePath",function(){var Rr=pt.props,Ze=Rr.name,et=Rr.fieldContext,we=et.prefixName,it=we===void 0?[]:we;return Ze!==void 0?[].concat((0,h.Z)(it),(0,h.Z)(Ze)):[]}),(0,_.Z)((0,x.Z)(pt),"getRules",function(){var Rr=pt.props,Ze=Rr.rules,et=Ze===void 0?[]:Ze,we=Rr.fieldContext;return et.map(function(it){return typeof it=="function"?it(we):it})}),(0,_.Z)((0,x.Z)(pt),"refresh",function(){pt.mounted&&pt.setState(function(Rr){var Ze=Rr.resetCount;return{resetCount:Ze+1}})}),(0,_.Z)((0,x.Z)(pt),"metaCache",null),(0,_.Z)((0,x.Z)(pt),"triggerMetaEvent",function(Rr){var Ze=pt.props.onMetaChange;if(Ze){var et=(0,s.Z)((0,s.Z)({},pt.getMeta()),{},{destroy:Rr});(0,S.Z)(pt.metaCache,et)||Ze(et),pt.metaCache=et}else pt.metaCache=null}),(0,_.Z)((0,x.Z)(pt),"onStoreChange",function(Rr,Ze,et){var we=pt.props,it=we.shouldUpdate,ir=we.dependencies,Or=ir===void 0?[]:ir,wr=we.onReset,Tr=et.store,Nr=pt.getNamePath(),gn=pt.getValue(Rr),Dr=pt.getValue(Tr),un=Ze&&sn(Ze,Nr);switch(et.type==="valueUpdate"&&et.source==="external"&&gn!==Dr&&(pt.touched=!0,pt.dirty=!0,pt.validatePromise=null,pt.errors=jt,pt.warnings=jt,pt.triggerMetaEvent()),et.type){case"reset":if(!Ze||un){pt.touched=!1,pt.dirty=!1,pt.validatePromise=void 0,pt.errors=jt,pt.warnings=jt,pt.triggerMetaEvent(),wr==null||wr(),pt.refresh();return}break;case"remove":{if(it){pt.reRender();return}break}case"setField":{var tn=et.data;if(un){"touched"in tn&&(pt.touched=tn.touched),"validating"in tn&&!("originRCField"in tn)&&(pt.validatePromise=tn.validating?Promise.resolve([]):null),"errors"in tn&&(pt.errors=tn.errors||jt),"warnings"in tn&&(pt.warnings=tn.warnings||jt),pt.dirty=!0,pt.triggerMetaEvent(),pt.reRender();return}else if("value"in tn&&sn(Ze,Nr,!0)){pt.reRender();return}if(it&&!Nr.length&&Cr(it,Rr,Tr,gn,Dr,et)){pt.reRender();return}break}case"dependenciesUpdate":{var ln=Or.map(_r);if(ln.some(function(En){return sn(et.relatedFields,En)})){pt.reRender();return}break}default:if(un||(!Or.length||Nr.length||it)&&Cr(it,Rr,Tr,gn,Dr,et)){pt.reRender();return}break}it===!0&&pt.reRender()}),(0,_.Z)((0,x.Z)(pt),"validateRules",function(Rr){var Ze=pt.getNamePath(),et=pt.getValue(),we=Rr||{},it=we.triggerName,ir=we.validateOnly,Or=ir===void 0?!1:ir,wr=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function Tr(){var Nr,gn,Dr,un,tn,ln,En;return(0,c.Z)().wrap(function(gi){for(;;)switch(gi.prev=gi.next){case 0:if(pt.mounted){gi.next=2;break}return gi.abrupt("return",[]);case 2:if(Nr=pt.props,gn=Nr.validateFirst,Dr=gn===void 0?!1:gn,un=Nr.messageVariables,tn=Nr.validateDebounce,ln=pt.getRules(),it&&(ln=ln.filter(function(yi){return yi}).filter(function(yi){var On=yi.validateTrigger;if(!On)return!0;var Di=V(On);return Di.includes(it)})),!(tn&&it)){gi.next=10;break}return gi.next=8,new Promise(function(yi){setTimeout(yi,tn)});case 8:if(pt.validatePromise===wr){gi.next=10;break}return gi.abrupt("return",[]);case 10:return En=Be(Ze,et,ln,Rr,Dr,un),En.catch(function(yi){return yi}).then(function(){var yi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jt;if(pt.validatePromise===wr){var On;pt.validatePromise=null;var Di=[],Fi=[];(On=yi.forEach)===null||On===void 0||On.call(yi,function(oa){var ws=oa.rule.warningOnly,Sa=oa.errors,Ha=Sa===void 0?jt:Sa;ws?Fi.push.apply(Fi,(0,h.Z)(Ha)):Di.push.apply(Di,(0,h.Z)(Ha))}),pt.errors=Di,pt.warnings=Fi,pt.triggerMetaEvent(),pt.reRender()}}),gi.abrupt("return",En);case 13:case"end":return gi.stop()}},Tr)})));return Or||(pt.validatePromise=wr,pt.dirty=!0,pt.errors=jt,pt.warnings=jt,pt.triggerMetaEvent(),pt.reRender()),wr}),(0,_.Z)((0,x.Z)(pt),"isFieldValidating",function(){return!!pt.validatePromise}),(0,_.Z)((0,x.Z)(pt),"isFieldTouched",function(){return pt.touched}),(0,_.Z)((0,x.Z)(pt),"isFieldDirty",function(){if(pt.dirty||pt.props.initialValue!==void 0)return!0;var Rr=pt.props.fieldContext,Ze=Rr.getInternalHooks(L),et=Ze.getInitialValue;return et(pt.getNamePath())!==void 0}),(0,_.Z)((0,x.Z)(pt),"getErrors",function(){return pt.errors}),(0,_.Z)((0,x.Z)(pt),"getWarnings",function(){return pt.warnings}),(0,_.Z)((0,x.Z)(pt),"isListField",function(){return pt.props.isListField}),(0,_.Z)((0,x.Z)(pt),"isList",function(){return pt.props.isList}),(0,_.Z)((0,x.Z)(pt),"isPreserve",function(){return pt.props.preserve}),(0,_.Z)((0,x.Z)(pt),"getMeta",function(){pt.prevValidating=pt.isFieldValidating();var Rr={touched:pt.isFieldTouched(),validating:pt.prevValidating,errors:pt.errors,warnings:pt.warnings,name:pt.getNamePath(),validated:pt.validatePromise===null};return Rr}),(0,_.Z)((0,x.Z)(pt),"getOnlyChild",function(Rr){if(typeof Rr=="function"){var Ze=pt.getMeta();return(0,s.Z)((0,s.Z)({},pt.getOnlyChild(Rr(pt.getControlled(),Ze,pt.props.fieldContext))),{},{isFunction:!0})}var et=(0,b.Z)(Rr);return et.length!==1||!r.isValidElement(et[0])?{child:et,isFunction:!1}:{child:et[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(pt),"getValue",function(Rr){var Ze=pt.props.fieldContext.getFieldsValue,et=pt.getNamePath();return(0,$r.Z)(Rr||Ze(!0),et)}),(0,_.Z)((0,x.Z)(pt),"getControlled",function(){var Rr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ze=pt.props,et=Ze.trigger,we=Ze.validateTrigger,it=Ze.getValueFromEvent,ir=Ze.normalize,Or=Ze.valuePropName,wr=Ze.getValueProps,Tr=Ze.fieldContext,Nr=we!==void 0?we:Tr.validateTrigger,gn=pt.getNamePath(),Dr=Tr.getInternalHooks,un=Tr.getFieldsValue,tn=Dr(L),ln=tn.dispatch,En=pt.getValue(),la=wr||function(Di){return(0,_.Z)({},Or,Di)},gi=Rr[et],yi=(0,s.Z)((0,s.Z)({},Rr),la(En));yi[et]=function(){pt.touched=!0,pt.dirty=!0,pt.triggerMetaEvent();for(var Di,Fi=arguments.length,oa=new Array(Fi),ws=0;ws<Fi;ws++)oa[ws]=arguments[ws];it?Di=it.apply(void 0,oa):Di=Lt.apply(void 0,[Or].concat(oa)),ir&&(Di=ir(Di,En,un(!0))),ln({type:"updateValue",namePath:gn,value:Di}),gi&&gi.apply(void 0,oa)};var On=V(Nr||[]);return On.forEach(function(Di){var Fi=yi[Di];yi[Di]=function(){Fi&&Fi.apply(void 0,arguments);var oa=pt.props.rules;oa&&oa.length&&ln({type:"validateField",namePath:gn,triggerName:Di})}}),yi}),Dt.fieldContext){var cr=Dt.fieldContext.getInternalHooks,fr=cr(L),Ir=fr.initEntityValue;Ir((0,x.Z)(pt))}return pt}return(0,a.Z)(rt,[{key:"componentDidMount",value:function(){var pt=this.props,cr=pt.shouldUpdate,fr=pt.fieldContext;if(this.mounted=!0,fr){var Ir=fr.getInternalHooks,Rr=Ir(L),Ze=Rr.registerField;this.cancelRegisterFunc=Ze(this)}cr===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var pt=this.state.resetCount,cr=this.props.children,fr=this.getOnlyChild(cr),Ir=fr.child,Rr=fr.isFunction,Ze;return Rr?Ze=Ir:r.isValidElement(Ir)?Ze=r.cloneElement(Ir,this.getControlled(Ir.props)):((0,R.ZP)(!Ir,"`children` of Field is not validate ReactElement."),Ze=Ir),r.createElement(r.Fragment,{key:pt},Ze)}}]),rt}(r.Component);(0,_.Z)(yr,"contextType",B),(0,_.Z)(yr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function ot(tr){var mt=tr.name,rt=(0,l.Z)(tr,yt),Dt=r.useContext(B),pt=r.useContext(U),cr=mt!==void 0?_r(mt):void 0,fr="keep";return rt.isListField||(fr="_".concat((cr||[]).join("_"))),r.createElement(yr,(0,i.Z)({key:fr,name:cr,isListField:!!pt},rt,{fieldContext:Dt}))}var Fr=ot;function mn(tr){var mt=tr.name,rt=tr.initialValue,Dt=tr.children,pt=tr.rules,cr=tr.validateTrigger,fr=tr.isListField,Ir=r.useContext(B),Rr=r.useContext(U),Ze=r.useRef({keys:[],id:0}),et=Ze.current,we=r.useMemo(function(){var wr=_r(Ir.prefixName)||[];return[].concat((0,h.Z)(wr),(0,h.Z)(_r(mt)))},[Ir.prefixName,mt]),it=r.useMemo(function(){return(0,s.Z)((0,s.Z)({},Ir),{},{prefixName:we})},[Ir,we]),ir=r.useMemo(function(){return{getKey:function(Tr){var Nr=we.length,gn=Tr[Nr];return[et.keys[gn],Tr.slice(Nr+1)]}}},[we]);if(typeof Dt!="function")return(0,R.ZP)(!1,"Form.List only accepts function as children."),null;var Or=function(Tr,Nr,gn){var Dr=gn.source;return Dr==="internal"?!1:Tr!==Nr};return r.createElement(U.Provider,{value:ir},r.createElement(B.Provider,{value:it},r.createElement(Fr,{name:[],shouldUpdate:Or,rules:pt,validateTrigger:cr,initialValue:rt,isList:!0,isListField:fr!=null?fr:!!Rr},function(wr,Tr){var Nr=wr.value,gn=Nr===void 0?[]:Nr,Dr=wr.onChange,un=Ir.getFieldValue,tn=function(){var gi=un(we||[]);return gi||[]},ln={add:function(gi,yi){var On=tn();yi>=0&&yi<=On.length?(et.keys=[].concat((0,h.Z)(et.keys.slice(0,yi)),[et.id],(0,h.Z)(et.keys.slice(yi))),Dr([].concat((0,h.Z)(On.slice(0,yi)),[gi],(0,h.Z)(On.slice(yi))))):(et.keys=[].concat((0,h.Z)(et.keys),[et.id]),Dr([].concat((0,h.Z)(On),[gi]))),et.id+=1},remove:function(gi){var yi=tn(),On=new Set(Array.isArray(gi)?gi:[gi]);On.size<=0||(et.keys=et.keys.filter(function(Di,Fi){return!On.has(Fi)}),Dr(yi.filter(function(Di,Fi){return!On.has(Fi)})))},move:function(gi,yi){if(gi!==yi){var On=tn();gi<0||gi>=On.length||yi<0||yi>=On.length||(et.keys=vt(et.keys,gi,yi),Dr(vt(On,gi,yi)))}}},En=gn||[];return Array.isArray(En)||(En=[]),Dt(En.map(function(la,gi){var yi=et.keys[gi];return yi===void 0&&(et.keys[gi]=et.id,yi=et.keys[gi],et.id+=1),{name:gi,key:yi,isListField:!0}}),ln,Tr)})))}var Un=mn,mr=e(52487);function en(tr){var mt=!1,rt=tr.length,Dt=[];return tr.length?new Promise(function(pt,cr){tr.forEach(function(fr,Ir){fr.catch(function(Rr){return mt=!0,Rr}).then(function(Rr){rt-=1,Dt[Ir]=Rr,!(rt>0)&&(mt&&cr(Dt),pt(Dt))})})}):Promise.resolve([])}var dn="__@field_split__";function Fn(tr){return tr.map(function(mt){return"".concat((0,Ar.Z)(mt),":").concat(mt)}).join(dn)}var ei=function(){function tr(){(0,u.Z)(this,tr),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(tr,[{key:"set",value:function(rt,Dt){this.kvs.set(Fn(rt),Dt)}},{key:"get",value:function(rt){return this.kvs.get(Fn(rt))}},{key:"update",value:function(rt,Dt){var pt=this.get(rt),cr=Dt(pt);cr?this.set(rt,cr):this.delete(rt)}},{key:"delete",value:function(rt){this.kvs.delete(Fn(rt))}},{key:"map",value:function(rt){return(0,h.Z)(this.kvs.entries()).map(function(Dt){var pt=(0,mr.Z)(Dt,2),cr=pt[0],fr=pt[1],Ir=cr.split(dn);return rt({key:Ir.map(function(Rr){var Ze=Rr.match(/^([^:]*):(.*)$/),et=(0,mr.Z)(Ze,3),we=et[1],it=et[2];return we==="number"?Number(it):it}),value:fr})})}},{key:"toJSON",value:function(){var rt={};return this.map(function(Dt){var pt=Dt.key,cr=Dt.value;return rt[pt.join(".")]=cr,null}),rt}}]),tr}(),Nn=ei,zi=["name"],mi=(0,a.Z)(function tr(mt){var rt=this;(0,u.Z)(this,tr),(0,_.Z)(this,"formHooked",!1),(0,_.Z)(this,"forceRootUpdate",void 0),(0,_.Z)(this,"subscribable",!0),(0,_.Z)(this,"store",{}),(0,_.Z)(this,"fieldEntities",[]),(0,_.Z)(this,"initialValues",{}),(0,_.Z)(this,"callbacks",{}),(0,_.Z)(this,"validateMessages",null),(0,_.Z)(this,"preserve",null),(0,_.Z)(this,"lastValidatePromise",null),(0,_.Z)(this,"getForm",function(){return{getFieldValue: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(Dt){return Dt===L?(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,R.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,_.Z)(this,"useSubscribe",function(Dt){rt.subscribable=Dt}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(Dt,pt){if(rt.initialValues=Dt||{},pt){var cr,fr=(0,ke.T)(Dt,rt.store);(cr=rt.prevWithoutPreserves)===null||cr===void 0||cr.map(function(Ir){var Rr=Ir.key;fr=(0,ke.Z)(fr,Rr,(0,$r.Z)(Dt,Rr))}),rt.prevWithoutPreserves=null,rt.updateStore(fr)}}),(0,_.Z)(this,"destroyForm",function(){var Dt=new Nn;rt.getFieldEntities(!0).forEach(function(pt){rt.isMergedPreserve(pt.isPreserve())||Dt.set(pt.getNamePath(),!0)}),rt.prevWithoutPreserves=Dt}),(0,_.Z)(this,"getInitialValue",function(Dt){var pt=(0,$r.Z)(rt.initialValues,Dt);return Dt.length?(0,ke.T)(pt):pt}),(0,_.Z)(this,"setCallbacks",function(Dt){rt.callbacks=Dt}),(0,_.Z)(this,"setValidateMessages",function(Dt){rt.validateMessages=Dt}),(0,_.Z)(this,"setPreserve",function(Dt){rt.preserve=Dt}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(Dt){return rt.watchList.push(Dt),function(){rt.watchList=rt.watchList.filter(function(pt){return pt!==Dt})}}),(0,_.Z)(this,"notifyWatch",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(rt.watchList.length){var pt=rt.getFieldsValue(),cr=rt.getFieldsValue(!0);rt.watchList.forEach(function(fr){fr(pt,cr,Dt)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(Dt){rt.store=Dt}),(0,_.Z)(this,"getFieldEntities",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Dt?rt.fieldEntities.filter(function(pt){return pt.getNamePath().length}):rt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,pt=new Nn;return rt.getFieldEntities(Dt).forEach(function(cr){var fr=cr.getNamePath();pt.set(fr,cr)}),pt}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(Dt){if(!Dt)return rt.getFieldEntities(!0);var pt=rt.getFieldsMap(!0);return Dt.map(function(cr){var fr=_r(cr);return pt.get(fr)||{INVALIDATE_NAME_PATH:_r(cr)}})}),(0,_.Z)(this,"getFieldsValue",function(Dt,pt){rt.warningUnhooked();var cr,fr,Ir;if(Dt===!0||Array.isArray(Dt)?(cr=Dt,fr=pt):Dt&&(0,Ar.Z)(Dt)==="object"&&(Ir=Dt.strict,fr=Dt.filter),cr===!0&&!fr)return rt.store;var Rr=rt.getFieldEntitiesForNamePathList(Array.isArray(cr)?cr:null),Ze=[];return Rr.forEach(function(et){var we,it,ir="INVALIDATE_NAME_PATH"in et?et.INVALIDATE_NAME_PATH:et.getNamePath();if(Ir){var Or,wr;if((Or=(wr=et).isList)!==null&&Or!==void 0&&Or.call(wr))return}else if(!cr&&(we=(it=et).isListField)!==null&&we!==void 0&&we.call(it))return;if(!fr)Ze.push(ir);else{var Tr="getMeta"in et?et.getMeta():null;fr(Tr)&&Ze.push(ir)}}),Ur(rt.store,Ze.map(_r))}),(0,_.Z)(this,"getFieldValue",function(Dt){rt.warningUnhooked();var pt=_r(Dt);return(0,$r.Z)(rt.store,pt)}),(0,_.Z)(this,"getFieldsError",function(Dt){rt.warningUnhooked();var pt=rt.getFieldEntitiesForNamePathList(Dt);return pt.map(function(cr,fr){return cr&&!("INVALIDATE_NAME_PATH"in cr)?{name:cr.getNamePath(),errors:cr.getErrors(),warnings:cr.getWarnings()}:{name:_r(Dt[fr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(Dt){rt.warningUnhooked();var pt=_r(Dt),cr=rt.getFieldsError([pt])[0];return cr.errors}),(0,_.Z)(this,"getFieldWarning",function(Dt){rt.warningUnhooked();var pt=_r(Dt),cr=rt.getFieldsError([pt])[0];return cr.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){rt.warningUnhooked();for(var Dt=arguments.length,pt=new Array(Dt),cr=0;cr<Dt;cr++)pt[cr]=arguments[cr];var fr=pt[0],Ir=pt[1],Rr,Ze=!1;pt.length===0?Rr=null:pt.length===1?Array.isArray(fr)?(Rr=fr.map(_r),Ze=!1):(Rr=null,Ze=fr):(Rr=fr.map(_r),Ze=Ir);var et=rt.getFieldEntities(!0),we=function(Tr){return Tr.isFieldTouched()};if(!Rr)return Ze?et.every(we):et.some(we);var it=new Nn;Rr.forEach(function(wr){it.set(wr,[])}),et.forEach(function(wr){var Tr=wr.getNamePath();Rr.forEach(function(Nr){Nr.every(function(gn,Dr){return Tr[Dr]===gn})&&it.update(Nr,function(gn){return[].concat((0,h.Z)(gn),[wr])})})});var ir=function(Tr){return Tr.some(we)},Or=it.map(function(wr){var Tr=wr.value;return Tr});return Ze?Or.every(ir):Or.some(ir)}),(0,_.Z)(this,"isFieldTouched",function(Dt){return rt.warningUnhooked(),rt.isFieldsTouched([Dt])}),(0,_.Z)(this,"isFieldsValidating",function(Dt){rt.warningUnhooked();var pt=rt.getFieldEntities();if(!Dt)return pt.some(function(fr){return fr.isFieldValidating()});var cr=Dt.map(_r);return pt.some(function(fr){var Ir=fr.getNamePath();return sn(cr,Ir)&&fr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(Dt){return rt.warningUnhooked(),rt.isFieldsValidating([Dt])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pt=new Nn,cr=rt.getFieldEntities(!0);cr.forEach(function(Rr){var Ze=Rr.props.initialValue,et=Rr.getNamePath();if(Ze!==void 0){var we=pt.get(et)||new Set;we.add({entity:Rr,value:Ze}),pt.set(et,we)}});var fr=function(Ze){Ze.forEach(function(et){var we=et.props.initialValue;if(we!==void 0){var it=et.getNamePath(),ir=rt.getInitialValue(it);if(ir!==void 0)(0,R.ZP)(!1,"Form already set 'initialValues' with path '".concat(it.join("."),"'. Field can not overwrite it."));else{var Or=pt.get(it);if(Or&&Or.size>1)(0,R.ZP)(!1,"Multiple Field with path '".concat(it.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(Or){var wr=rt.getFieldValue(it);(!Dt.skipExist||wr===void 0)&&rt.updateStore((0,ke.Z)(rt.store,it,(0,h.Z)(Or)[0].value))}}}})},Ir;Dt.entities?Ir=Dt.entities:Dt.namePathList?(Ir=[],Dt.namePathList.forEach(function(Rr){var Ze=pt.get(Rr);if(Ze){var et;(et=Ir).push.apply(et,(0,h.Z)((0,h.Z)(Ze).map(function(we){return we.entity})))}})):Ir=cr,fr(Ir)}),(0,_.Z)(this,"resetFields",function(Dt){rt.warningUnhooked();var pt=rt.store;if(!Dt){rt.updateStore((0,ke.T)(rt.initialValues)),rt.resetWithFieldInitialValue(),rt.notifyObservers(pt,null,{type:"reset"}),rt.notifyWatch();return}var cr=Dt.map(_r);cr.forEach(function(fr){var Ir=rt.getInitialValue(fr);rt.updateStore((0,ke.Z)(rt.store,fr,Ir))}),rt.resetWithFieldInitialValue({namePathList:cr}),rt.notifyObservers(pt,cr,{type:"reset"}),rt.notifyWatch(cr)}),(0,_.Z)(this,"setFields",function(Dt){rt.warningUnhooked();var pt=rt.store,cr=[];Dt.forEach(function(fr){var Ir=fr.name,Rr=(0,l.Z)(fr,zi),Ze=_r(Ir);cr.push(Ze),"value"in Rr&&rt.updateStore((0,ke.Z)(rt.store,Ze,Rr.value)),rt.notifyObservers(pt,[Ze],{type:"setField",data:fr})}),rt.notifyWatch(cr)}),(0,_.Z)(this,"getFields",function(){var Dt=rt.getFieldEntities(!0),pt=Dt.map(function(cr){var fr=cr.getNamePath(),Ir=cr.getMeta(),Rr=(0,s.Z)((0,s.Z)({},Ir),{},{name:fr,value:rt.getFieldValue(fr)});return Object.defineProperty(Rr,"originRCField",{value:!0}),Rr});return pt}),(0,_.Z)(this,"initEntityValue",function(Dt){var pt=Dt.props.initialValue;if(pt!==void 0){var cr=Dt.getNamePath(),fr=(0,$r.Z)(rt.store,cr);fr===void 0&&rt.updateStore((0,ke.Z)(rt.store,cr,pt))}}),(0,_.Z)(this,"isMergedPreserve",function(Dt){var pt=Dt!==void 0?Dt:rt.preserve;return pt!=null?pt:!0}),(0,_.Z)(this,"registerField",function(Dt){rt.fieldEntities.push(Dt);var pt=Dt.getNamePath();if(rt.notifyWatch([pt]),Dt.props.initialValue!==void 0){var cr=rt.store;rt.resetWithFieldInitialValue({entities:[Dt],skipExist:!0}),rt.notifyObservers(cr,[Dt.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(fr,Ir){var Rr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(rt.fieldEntities=rt.fieldEntities.filter(function(we){return we!==Dt}),!rt.isMergedPreserve(Ir)&&(!fr||Rr.length>1)){var Ze=fr?void 0:rt.getInitialValue(pt);if(pt.length&&rt.getFieldValue(pt)!==Ze&&rt.fieldEntities.every(function(we){return!cn(we.getNamePath(),pt)})){var et=rt.store;rt.updateStore((0,ke.Z)(et,pt,Ze,!0)),rt.notifyObservers(et,[pt],{type:"remove"}),rt.triggerDependenciesUpdate(et,pt)}}rt.notifyWatch([pt])}}),(0,_.Z)(this,"dispatch",function(Dt){switch(Dt.type){case"updateValue":{var pt=Dt.namePath,cr=Dt.value;rt.updateValue(pt,cr);break}case"validateField":{var fr=Dt.namePath,Ir=Dt.triggerName;rt.validateFields([fr],{triggerName:Ir});break}default:}}),(0,_.Z)(this,"notifyObservers",function(Dt,pt,cr){if(rt.subscribable){var fr=(0,s.Z)((0,s.Z)({},cr),{},{store:rt.getFieldsValue(!0)});rt.getFieldEntities().forEach(function(Ir){var Rr=Ir.onStoreChange;Rr(Dt,pt,fr)})}else rt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(Dt,pt){var cr=rt.getDependencyChildrenFields(pt);return cr.length&&rt.validateFields(cr),rt.notifyObservers(Dt,cr,{type:"dependenciesUpdate",relatedFields:[pt].concat((0,h.Z)(cr))}),cr}),(0,_.Z)(this,"updateValue",function(Dt,pt){var cr=_r(Dt),fr=rt.store;rt.updateStore((0,ke.Z)(rt.store,cr,pt)),rt.notifyObservers(fr,[cr],{type:"valueUpdate",source:"internal"}),rt.notifyWatch([cr]);var Ir=rt.triggerDependenciesUpdate(fr,cr),Rr=rt.callbacks.onValuesChange;if(Rr){var Ze=Ur(rt.store,[cr]);Rr(Ze,rt.getFieldsValue())}rt.triggerOnFieldsChange([cr].concat((0,h.Z)(Ir)))}),(0,_.Z)(this,"setFieldsValue",function(Dt){rt.warningUnhooked();var pt=rt.store;if(Dt){var cr=(0,ke.T)(rt.store,Dt);rt.updateStore(cr)}rt.notifyObservers(pt,null,{type:"valueUpdate",source:"external"}),rt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(Dt,pt){rt.setFields([{name:Dt,value:pt}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(Dt){var pt=new Set,cr=[],fr=new Nn;rt.getFieldEntities().forEach(function(Rr){var Ze=Rr.props.dependencies;(Ze||[]).forEach(function(et){var we=_r(et);fr.update(we,function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return it.add(Rr),it})})});var Ir=function Rr(Ze){var et=fr.get(Ze)||new Set;et.forEach(function(we){if(!pt.has(we)){pt.add(we);var it=we.getNamePath();we.isFieldDirty()&&it.length&&(cr.push(it),Rr(it))}})};return Ir(Dt),cr}),(0,_.Z)(this,"triggerOnFieldsChange",function(Dt,pt){var cr=rt.callbacks.onFieldsChange;if(cr){var fr=rt.getFields();if(pt){var Ir=new Nn;pt.forEach(function(Ze){var et=Ze.name,we=Ze.errors;Ir.set(et,we)}),fr.forEach(function(Ze){Ze.errors=Ir.get(Ze.name)||Ze.errors})}var Rr=fr.filter(function(Ze){var et=Ze.name;return sn(Dt,et)});Rr.length&&cr(Rr,fr)}}),(0,_.Z)(this,"validateFields",function(Dt,pt){var cr;rt.warningUnhooked();var fr,Ir;Array.isArray(Dt)||typeof Dt=="string"||typeof pt=="string"?(fr=Dt,Ir=pt):Ir=Dt;var Rr=!!fr,Ze=Rr?fr.map(_r):[],et=[],we=String(Date.now()),it=new Set,ir=(cr=Ir)===null||cr===void 0?void 0:cr.recursive;rt.getFieldEntities(!0).forEach(function(Nr){if(Rr||Ze.push(Nr.getNamePath()),!(!Nr.props.rules||!Nr.props.rules.length)){var gn=Nr.getNamePath();if(it.add(gn.join(we)),!Rr||sn(Ze,gn,ir)){var Dr=Nr.validateRules((0,s.Z)({validateMessages:(0,s.Z)((0,s.Z)({},Tt),rt.validateMessages)},Ir));et.push(Dr.then(function(){return{name:gn,errors:[],warnings:[]}}).catch(function(un){var tn,ln=[],En=[];return(tn=un.forEach)===null||tn===void 0||tn.call(un,function(la){var gi=la.rule.warningOnly,yi=la.errors;gi?En.push.apply(En,(0,h.Z)(yi)):ln.push.apply(ln,(0,h.Z)(yi))}),ln.length?Promise.reject({name:gn,errors:ln,warnings:En}):{name:gn,errors:ln,warnings:En}}))}}});var Or=en(et);rt.lastValidatePromise=Or,Or.catch(function(Nr){return Nr}).then(function(Nr){var gn=Nr.map(function(Dr){var un=Dr.name;return un});rt.notifyObservers(rt.store,gn,{type:"validateFinish"}),rt.triggerOnFieldsChange(gn,Nr)});var wr=Or.then(function(){return rt.lastValidatePromise===Or?Promise.resolve(rt.getFieldsValue(Ze)):Promise.reject([])}).catch(function(Nr){var gn=Nr.filter(function(Dr){return Dr&&Dr.errors.length});return Promise.reject({values:rt.getFieldsValue(Ze),errorFields:gn,outOfDate:rt.lastValidatePromise!==Or})});wr.catch(function(Nr){return Nr});var Tr=Ze.filter(function(Nr){return it.has(Nr.join(we))});return rt.triggerOnFieldsChange(Tr),wr}),(0,_.Z)(this,"submit",function(){rt.warningUnhooked(),rt.validateFields().then(function(Dt){var pt=rt.callbacks.onFinish;if(pt)try{pt(Dt)}catch(cr){console.error(cr)}}).catch(function(Dt){var pt=rt.callbacks.onFinishFailed;pt&&pt(Dt)})}),this.forceRootUpdate=mt});function xi(tr){var mt=r.useRef(),rt=r.useState({}),Dt=(0,mr.Z)(rt,2),pt=Dt[1];if(!mt.current)if(tr)mt.current=tr;else{var cr=function(){pt({})},fr=new mi(cr);mt.current=fr.getForm()}return[mt.current]}var vi=xi,pi=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Yi=function(mt){var rt=mt.validateMessages,Dt=mt.onFormChange,pt=mt.onFormFinish,cr=mt.children,fr=r.useContext(pi),Ir=r.useRef({});return r.createElement(pi.Provider,{value:(0,s.Z)((0,s.Z)({},fr),{},{validateMessages:(0,s.Z)((0,s.Z)({},fr.validateMessages),rt),triggerFormChange:function(Ze,et){Dt&&Dt(Ze,{changedFields:et,forms:Ir.current}),fr.triggerFormChange(Ze,et)},triggerFormFinish:function(Ze,et){pt&&pt(Ze,{values:et,forms:Ir.current}),fr.triggerFormFinish(Ze,et)},registerForm:function(Ze,et){Ze&&(Ir.current=(0,s.Z)((0,s.Z)({},Ir.current),{},(0,_.Z)({},Ze,et))),fr.registerForm(Ze,et)},unregisterForm:function(Ze){var et=(0,s.Z)({},Ir.current);delete et[Ze],Ir.current=et,fr.unregisterForm(Ze)}})},cr)},Yn=pi,Vi=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Et=function(mt,rt){var Dt=mt.name,pt=mt.initialValues,cr=mt.fields,fr=mt.form,Ir=mt.preserve,Rr=mt.children,Ze=mt.component,et=Ze===void 0?"form":Ze,we=mt.validateMessages,it=mt.validateTrigger,ir=it===void 0?"onChange":it,Or=mt.onValuesChange,wr=mt.onFieldsChange,Tr=mt.onFinish,Nr=mt.onFinishFailed,gn=(0,l.Z)(mt,Vi),Dr=r.useContext(Yn),un=vi(fr),tn=(0,mr.Z)(un,1),ln=tn[0],En=ln.getInternalHooks(L),la=En.useSubscribe,gi=En.setInitialValues,yi=En.setCallbacks,On=En.setValidateMessages,Di=En.setPreserve,Fi=En.destroyForm;r.useImperativeHandle(rt,function(){return ln}),r.useEffect(function(){return Dr.registerForm(Dt,ln),function(){Dr.unregisterForm(Dt)}},[Dr,ln,Dt]),On((0,s.Z)((0,s.Z)({},Dr.validateMessages),we)),yi({onValuesChange:Or,onFieldsChange:function(Ci){if(Dr.triggerFormChange(Dt,Ci),wr){for(var qa=arguments.length,Cs=new Array(qa>1?qa-1:0),Ni=1;Ni<qa;Ni++)Cs[Ni-1]=arguments[Ni];wr.apply(void 0,[Ci].concat(Cs))}},onFinish:function(Ci){Dr.triggerFormFinish(Dt,Ci),Tr&&Tr(Ci)},onFinishFailed:Nr}),Di(Ir);var oa=r.useRef(null);gi(pt,!oa.current),oa.current||(oa.current=!0),r.useEffect(function(){return Fi},[]);var ws,Sa=typeof Rr=="function";if(Sa){var Ha=ln.getFieldsValue(!0);ws=Rr(Ha,ln)}else ws=Rr;la(!Sa);var Us=r.useRef();r.useEffect(function(){ur(Us.current||[],cr||[])||ln.setFields(cr||[]),Us.current=cr},[cr,ln]);var ja=r.useMemo(function(){return(0,s.Z)((0,s.Z)({},ln),{},{validateTrigger:ir})},[ln,ir]),na=r.createElement(U.Provider,{value:null},r.createElement(B.Provider,{value:ja},ws));return et===!1?na:r.createElement(et,(0,i.Z)({},gn,{onSubmit:function(Ci){Ci.preventDefault(),Ci.stopPropagation(),ln.submit()},onReset:function(Ci){var qa;Ci.preventDefault(),ln.resetFields(),(qa=gn.onReset)===null||qa===void 0||qa.call(gn,Ci)}}),na)},ut=Et;function Xn(tr){try{return JSON.stringify(tr)}catch(mt){return Math.random()}}var wi=function(){};function qn(){for(var tr=arguments.length,mt=new Array(tr),rt=0;rt<tr;rt++)mt[rt]=arguments[rt];var Dt=mt[0],pt=Dt===void 0?[]:Dt,cr=mt[1],fr=cr===void 0?{}:cr,Ir=K(fr)?{form:fr}:fr,Rr=Ir.form,Ze=(0,r.useState)(),et=(0,mr.Z)(Ze,2),we=et[0],it=et[1],ir=(0,r.useMemo)(function(){return Xn(we)},[we]),Or=(0,r.useRef)(ir);Or.current=ir;var wr=(0,r.useContext)(B),Tr=Rr||wr,Nr=Tr&&Tr._init,gn=_r(pt),Dr=(0,r.useRef)(gn);return Dr.current=gn,wi(gn),(0,r.useEffect)(function(){if(Nr){var un=Tr.getFieldsValue,tn=Tr.getInternalHooks,ln=tn(L),En=ln.registerWatch,la=En(function(yi,On){var Di=(0,$r.Z)(Ir.preserve?On:yi,Dr.current),Fi=Xn(Di);Or.current!==Fi&&(Or.current=Fi,it(Di))}),gi=(0,$r.Z)(Ir.preserve?un(!0):un(),Dr.current);return we!==gi&&it(gi),la}},[Nr]),we}var Zi=qn,_i=r.forwardRef(ut),Pi=_i;Pi.FormProvider=Yi,Pi.Field=Fr,Pi.List=Un,Pi.useForm=vi,Pi.useWatch=Zi;var Qn=Pi},77900:function(d,g,e){"use strict";e.r(g),e.d(g,{CSSMotionList:function(){return Ge},Provider:function(){return _},default:function(){return fe}});var r=e(49618),i=e(77321),l=e(52487),c=e(62853),f=e(92310),s=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(74416),p=["children"],y=a.createContext({});function _(_e){var Ot=_e.children,Pe=(0,x.Z)(_e,p);return a.createElement(y.Provider,{value:Pe},Ot)}var b=e(96949),S=e(55090),R=e(77205),L=e(38793),T=function(_e){(0,R.Z)(Pe,_e);var Ot=(0,L.Z)(Pe);function Pe(){return(0,b.Z)(this,Pe),Ot.apply(this,arguments)}return(0,S.Z)(Pe,[{key:"render",value:function(){return this.props.children}}]),Pe}(a.Component),D=T,B=e(70425),$=e(41799),U=e(6089);function V(_e){var Ot=a.useReducer(function(St){return St+1},0),Pe=(0,l.Z)(Ot,2),dt=Pe[1],Zt=a.useRef(_e),Tt=(0,U.Z)(function(){return Zt.current}),ke=(0,U.Z)(function(St){Zt.current=typeof St=="function"?St(Zt.current):St,dt()});return[Tt,ke]}var K="none",G="appear",oe="enter",ae="leave",le="none",Q="prepare",J="start",Y="active",ue="end",ne="prepared",ee=e(47273);function ie(_e,Ot){var Pe={};return Pe[_e.toLowerCase()]=Ot.toLowerCase(),Pe["Webkit".concat(_e)]="webkit".concat(Ot),Pe["Moz".concat(_e)]="moz".concat(Ot),Pe["ms".concat(_e)]="MS".concat(Ot),Pe["O".concat(_e)]="o".concat(Ot.toLowerCase()),Pe}function F(_e,Ot){var Pe={animationend:ie("Animation","AnimationEnd"),transitionend:ie("Transition","TransitionEnd")};return _e&&("AnimationEvent"in Ot||delete Pe.animationend.animation,"TransitionEvent"in Ot||delete Pe.transitionend.transition),Pe}var M=F((0,ee.Z)(),typeof window!="undefined"?window:{}),q={};if((0,ee.Z)()){var de=document.createElement("div");q=de.style}var Ee={};function Ce(_e){if(Ee[_e])return Ee[_e];var Ot=M[_e];if(Ot)for(var Pe=Object.keys(Ot),dt=Pe.length,Zt=0;Zt<dt;Zt+=1){var Tt=Pe[Zt];if(Object.prototype.hasOwnProperty.call(Ot,Tt)&&Tt in q)return Ee[_e]=Ot[Tt],Ee[_e]}return""}var je=Ce("animationend"),Fe=Ce("transitionend"),Ft=!!(je&&Fe),_t=je||"animationend",Pt=Fe||"transitionend";function Qt(_e,Ot){if(!_e)return null;if((0,c.Z)(_e)==="object"){var Pe=Ot.replace(/-\w/g,function(dt){return dt[1].toUpperCase()});return _e[Pe]}return"".concat(_e,"-").concat(Ot)}var er=function(_e){var Ot=(0,a.useRef)();function Pe(Zt){Zt&&(Zt.removeEventListener(Pt,_e),Zt.removeEventListener(_t,_e))}function dt(Zt){Ot.current&&Ot.current!==Zt&&Pe(Ot.current),Zt&&Zt!==Ot.current&&(Zt.addEventListener(Pt,_e),Zt.addEventListener(_t,_e),Ot.current=Zt)}return a.useEffect(function(){return function(){Pe(Ot.current)}},[]),[dt,Pe]},Jt=(0,ee.Z)()?a.useLayoutEffect:a.useEffect,Xe=Jt,It=e(16089),zt=function(){var _e=a.useRef(null);function Ot(){It.Z.cancel(_e.current)}function Pe(dt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ot();var Tt=(0,It.Z)(function(){Zt<=1?dt({isCanceled:function(){return Tt!==_e.current}}):Pe(dt,Zt-1)});_e.current=Tt}return a.useEffect(function(){return function(){Ot()}},[]),[Pe,Ot]},st=[Q,J,Y,ue],bt=[Q,ne],ht=!1,Je=!0;function Ue(_e){return _e===Y||_e===ue}var ge=function(_e,Ot,Pe){var dt=(0,$.Z)(le),Zt=(0,l.Z)(dt,2),Tt=Zt[0],ke=Zt[1],St=zt(),be=(0,l.Z)(St,2),Ke=be[0],gt=be[1];function Rt(){ke(Q,!0)}var Be=Ot?bt:st;return Xe(function(){if(Tt!==le&&Tt!==ue){var kr=Be.indexOf(Tt),At=Be[kr+1],Kr=Pe(Tt);Kr===ht?ke(At,!0):At&&Ke(function(Qr){function Ar(){Qr.isCanceled()||ke(At,!0)}Kr===!0?Ar():Promise.resolve(Kr).then(Ar)})}},[_e,Tt]),a.useEffect(function(){return function(){gt()}},[]),[Rt,Tt]};function Ae(_e,Ot,Pe,dt){var Zt=dt.motionEnter,Tt=Zt===void 0?!0:Zt,ke=dt.motionAppear,St=ke===void 0?!0:ke,be=dt.motionLeave,Ke=be===void 0?!0:be,gt=dt.motionDeadline,Rt=dt.motionLeaveImmediately,Be=dt.onAppearPrepare,kr=dt.onEnterPrepare,At=dt.onLeavePrepare,Kr=dt.onAppearStart,Qr=dt.onEnterStart,Ar=dt.onLeaveStart,$r=dt.onAppearActive,_r=dt.onEnterActive,Ur=dt.onLeaveActive,sn=dt.onAppearEnd,cn=dt.onEnterEnd,ur=dt.onLeaveEnd,Lt=dt.onVisibleChanged,vt=(0,$.Z)(),yt=(0,l.Z)(vt,2),jt=yt[0],Cr=yt[1],yr=V(K),ot=(0,l.Z)(yr,2),Fr=ot[0],mn=ot[1],Un=(0,$.Z)(null),mr=(0,l.Z)(Un,2),en=mr[0],dn=mr[1],Fn=Fr(),ei=(0,a.useRef)(!1),Nn=(0,a.useRef)(null);function zi(){return Pe()}var mi=(0,a.useRef)(!1);function xi(){mn(K),dn(null,!0)}var vi=(0,B.useEvent)(function(tr){var mt=Fr();if(mt!==K){var rt=zi();if(!(tr&&!tr.deadline&&tr.target!==rt)){var Dt=mi.current,pt;mt===G&&Dt?pt=sn==null?void 0:sn(rt,tr):mt===oe&&Dt?pt=cn==null?void 0:cn(rt,tr):mt===ae&&Dt&&(pt=ur==null?void 0:ur(rt,tr)),Dt&&pt!==!1&&xi()}}}),pi=er(vi),Yi=(0,l.Z)(pi,1),Yn=Yi[0],Vi=function(mt){switch(mt){case G:return(0,r.Z)((0,r.Z)((0,r.Z)({},Q,Be),J,Kr),Y,$r);case oe:return(0,r.Z)((0,r.Z)((0,r.Z)({},Q,kr),J,Qr),Y,_r);case ae:return(0,r.Z)((0,r.Z)((0,r.Z)({},Q,At),J,Ar),Y,Ur);default:return{}}},Et=a.useMemo(function(){return Vi(Fn)},[Fn]),ut=ge(Fn,!_e,function(tr){if(tr===Q){var mt=Et[Q];return mt?mt(zi()):ht}if(qn in Et){var rt;dn(((rt=Et[qn])===null||rt===void 0?void 0:rt.call(Et,zi(),null))||null)}return qn===Y&&Fn!==K&&(Yn(zi()),gt>0&&(clearTimeout(Nn.current),Nn.current=setTimeout(function(){vi({deadline:!0})},gt))),qn===ne&&xi(),Je}),Xn=(0,l.Z)(ut,2),wi=Xn[0],qn=Xn[1],Zi=Ue(qn);mi.current=Zi;var _i=(0,a.useRef)(null);Xe(function(){if(!(ei.current&&_i.current===Ot)){Cr(Ot);var tr=ei.current;ei.current=!0;var mt;!tr&&Ot&&St&&(mt=G),tr&&Ot&&Tt&&(mt=oe),(tr&&!Ot&&Ke||!tr&&Rt&&!Ot&&Ke)&&(mt=ae);var rt=Vi(mt);mt&&(_e||rt[Q])?(mn(mt),wi()):mn(K),_i.current=Ot}},[Ot]),(0,a.useEffect)(function(){(Fn===G&&!St||Fn===oe&&!Tt||Fn===ae&&!Ke)&&mn(K)},[St,Tt,Ke]),(0,a.useEffect)(function(){return function(){ei.current=!1,clearTimeout(Nn.current)}},[]);var Pi=a.useRef(!1);(0,a.useEffect)(function(){jt&&(Pi.current=!0),jt!==void 0&&Fn===K&&((Pi.current||jt)&&(Lt==null||Lt(jt)),Pi.current=!0)},[jt,Fn]);var Qn=en;return Et[Q]&&qn===J&&(Qn=(0,i.Z)({transition:"none"},Qn)),[Fn,qn,Qn,jt!=null?jt:Ot]}function Me(_e){var Ot=_e;(0,c.Z)(_e)==="object"&&(Ot=_e.transitionSupport);function Pe(Zt,Tt){return!!(Zt.motionName&&Ot&&Tt!==!1)}var dt=a.forwardRef(function(Zt,Tt){var ke=Zt.visible,St=ke===void 0?!0:ke,be=Zt.removeOnLeave,Ke=be===void 0?!0:be,gt=Zt.forceRender,Rt=Zt.children,Be=Zt.motionName,kr=Zt.leavedClassName,At=Zt.eventProps,Kr=a.useContext(y),Qr=Kr.motion,Ar=Pe(Zt,Qr),$r=(0,a.useRef)(),_r=(0,a.useRef)();function Ur(){try{return $r.current instanceof HTMLElement?$r.current:(0,h.ZP)(_r.current)}catch(mr){return null}}var sn=Ae(Ar,St,Ur,Zt),cn=(0,l.Z)(sn,4),ur=cn[0],Lt=cn[1],vt=cn[2],yt=cn[3],jt=a.useRef(yt);yt&&(jt.current=!0);var Cr=a.useCallback(function(mr){$r.current=mr,(0,u.mH)(Tt,mr)},[Tt]),yr,ot=(0,i.Z)((0,i.Z)({},At),{},{visible:St});if(!Rt)yr=null;else if(ur===K)yt?yr=Rt((0,i.Z)({},ot),Cr):!Ke&&jt.current&&kr?yr=Rt((0,i.Z)((0,i.Z)({},ot),{},{className:kr}),Cr):gt||!Ke&&!kr?yr=Rt((0,i.Z)((0,i.Z)({},ot),{},{style:{display:"none"}}),Cr):yr=null;else{var Fr;Lt===Q?Fr="prepare":Ue(Lt)?Fr="active":Lt===J&&(Fr="start");var mn=Qt(Be,"".concat(ur,"-").concat(Fr));yr=Rt((0,i.Z)((0,i.Z)({},ot),{},{className:s()(Qt(Be,ur),(0,r.Z)((0,r.Z)({},mn,mn&&Fr),Be,typeof Be=="string")),style:vt}),Cr)}if(a.isValidElement(yr)&&(0,u.Yr)(yr)){var Un=(0,u.C4)(yr);Un||(yr=a.cloneElement(yr,{ref:Cr}))}return a.createElement(D,{ref:_r},yr)});return dt.displayName="CSSMotion",dt}var $e=Me(Ft),He=e(72308),nt=e(80237),ct="add",Kt="keep",Wt="remove",De="removed";function Qe(_e){var Ot;return _e&&(0,c.Z)(_e)==="object"&&"key"in _e?Ot=_e:Ot={key:_e},(0,i.Z)((0,i.Z)({},Ot),{},{key:String(Ot.key)})}function Vt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return _e.map(Qe)}function kt(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Pe=[],dt=0,Zt=Ot.length,Tt=Vt(_e),ke=Vt(Ot);Tt.forEach(function(Ke){for(var gt=!1,Rt=dt;Rt<Zt;Rt+=1){var Be=ke[Rt];if(Be.key===Ke.key){dt<Rt&&(Pe=Pe.concat(ke.slice(dt,Rt).map(function(kr){return(0,i.Z)((0,i.Z)({},kr),{},{status:ct})})),dt=Rt),Pe.push((0,i.Z)((0,i.Z)({},Be),{},{status:Kt})),dt+=1,gt=!0;break}}gt||Pe.push((0,i.Z)((0,i.Z)({},Ke),{},{status:Wt}))}),dt<Zt&&(Pe=Pe.concat(ke.slice(dt).map(function(Ke){return(0,i.Z)((0,i.Z)({},Ke),{},{status:ct})})));var St={};Pe.forEach(function(Ke){var gt=Ke.key;St[gt]=(St[gt]||0)+1});var be=Object.keys(St).filter(function(Ke){return St[Ke]>1});return be.forEach(function(Ke){Pe=Pe.filter(function(gt){var Rt=gt.key,Be=gt.status;return Rt!==Ke||Be!==Wt}),Pe.forEach(function(gt){gt.key===Ke&&(gt.status=Kt)})}),Pe}var Ht=["component","children","onVisibleChanged","onAllRemoved"],$t=["status"],Ct=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Yt(_e){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e,Pe=function(dt){(0,R.Z)(Tt,dt);var Zt=(0,L.Z)(Tt);function Tt(){var ke;(0,b.Z)(this,Tt);for(var St=arguments.length,be=new Array(St),Ke=0;Ke<St;Ke++)be[Ke]=arguments[Ke];return ke=Zt.call.apply(Zt,[this].concat(be)),(0,r.Z)((0,nt.Z)(ke),"state",{keyEntities:[]}),(0,r.Z)((0,nt.Z)(ke),"removeKey",function(gt){ke.setState(function(Rt){var Be=Rt.keyEntities.map(function(kr){return kr.key!==gt?kr:(0,i.Z)((0,i.Z)({},kr),{},{status:De})});return{keyEntities:Be}},function(){var Rt=ke.state.keyEntities,Be=Rt.filter(function(kr){var At=kr.status;return At!==De}).length;Be===0&&ke.props.onAllRemoved&&ke.props.onAllRemoved()})}),ke}return(0,S.Z)(Tt,[{key:"render",value:function(){var St=this,be=this.state.keyEntities,Ke=this.props,gt=Ke.component,Rt=Ke.children,Be=Ke.onVisibleChanged,kr=Ke.onAllRemoved,At=(0,x.Z)(Ke,Ht),Kr=gt||a.Fragment,Qr={};return Ct.forEach(function(Ar){Qr[Ar]=At[Ar],delete At[Ar]}),delete At.keys,a.createElement(Kr,At,be.map(function(Ar,$r){var _r=Ar.status,Ur=(0,x.Z)(Ar,$t),sn=_r===ct||_r===Kt;return a.createElement(Ot,(0,He.Z)({},Qr,{key:Ur.key,visible:sn,eventProps:Ur,onVisibleChanged:function(ur){Be==null||Be(ur,{key:Ur.key}),ur||St.removeKey(Ur.key)}}),function(cn,ur){return Rt((0,i.Z)((0,i.Z)({},cn),{},{index:$r}),ur)})}))}}],[{key:"getDerivedStateFromProps",value:function(St,be){var Ke=St.keys,gt=be.keyEntities,Rt=Vt(Ke),Be=kt(gt,Rt);return{keyEntities:Be.filter(function(kr){var At=gt.find(function(Kr){var Qr=Kr.key;return kr.key===Qr});return!(At&&At.status===De&&kr.status===Wt)})}}}]),Tt}(a.Component);return(0,r.Z)(Pe,"defaultProps",{component:"div"}),Pe}var Ge=Yt(Ft),fe=$e},581:function(d,g,e){"use strict";e.d(g,{qX:function(){return b},JB:function(){return L},lm:function(){return oe}});var r=e(80702),i=e(52487),l=e(74416),c=e(59301),f=e(77321),s=e(4676),h=e(72308),u=e(92310),a=e.n(u),x=e(77900),p=e(49618),y=e(10228),_=c.forwardRef(function(ae,le){var Q=ae.prefixCls,J=ae.style,Y=ae.className,ue=ae.duration,ne=ue===void 0?4.5:ue,ee=ae.eventKey,ie=ae.content,F=ae.closable,M=ae.closeIcon,q=M===void 0?"x":M,de=ae.props,Ee=ae.onClick,Ce=ae.onNoticeClose,je=ae.times,Fe=c.useState(!1),Ft=(0,i.Z)(Fe,2),_t=Ft[0],Pt=Ft[1],Qt=function(){Ce(ee)},er=function(It){(It.key==="Enter"||It.code==="Enter"||It.keyCode===y.Z.ENTER)&&Qt()};c.useEffect(function(){if(!_t&&ne>0){var Xe=setTimeout(function(){Qt()},ne*1e3);return function(){clearTimeout(Xe)}}},[ne,_t,je]);var Jt="".concat(Q,"-notice");return c.createElement("div",(0,h.Z)({},de,{ref:le,className:a()(Jt,Y,(0,p.Z)({},"".concat(Jt,"-closable"),F)),style:J,onMouseEnter:function(){Pt(!0)},onMouseLeave:function(){Pt(!1)},onClick:Ee}),c.createElement("div",{className:"".concat(Jt,"-content")},ie),F&&c.createElement("a",{tabIndex:0,className:"".concat(Jt,"-close"),onKeyDown:er,onClick:function(It){It.preventDefault(),It.stopPropagation(),Qt()}},q))}),b=_,S=c.createContext({}),R=function(le){var Q=le.children,J=le.classNames;return c.createElement(S.Provider,{value:{classNames:J}},Q)},L=R,T=function(le){var Q=le.configList,J=le.placement,Y=le.prefixCls,ue=le.className,ne=le.style,ee=le.motion,ie=le.onAllNoticeRemoved,F=le.onNoticeClose,M=(0,c.useContext)(S),q=M.classNames,de=Q.map(function(Ce){return{config:Ce,key:Ce.key}}),Ee=typeof ee=="function"?ee(J):ee;return c.createElement(x.CSSMotionList,(0,h.Z)({key:J,className:a()(Y,"".concat(Y,"-").concat(J),q==null?void 0:q.list,ue),style:ne,keys:de,motionAppear:!0},Ee,{onAllRemoved:function(){ie(J)}}),function(Ce,je){var Fe=Ce.config,Ft=Ce.className,_t=Ce.style,Pt=Fe,Qt=Pt.key,er=Pt.times,Jt=Fe,Xe=Jt.className,It=Jt.style;return c.createElement(b,(0,h.Z)({},Fe,{ref:je,prefixCls:Y,className:a()(Ft,Xe,q==null?void 0:q.notice),style:(0,f.Z)((0,f.Z)({},_t),It),times:er,key:Qt,eventKey:Qt,onNoticeClose:F}))})},D=T,B=c.forwardRef(function(ae,le){var Q=ae.prefixCls,J=Q===void 0?"rc-notification":Q,Y=ae.container,ue=ae.motion,ne=ae.maxCount,ee=ae.className,ie=ae.style,F=ae.onAllRemoved,M=ae.renderNotifications,q=c.useState([]),de=(0,i.Z)(q,2),Ee=de[0],Ce=de[1],je=function(It){var zt,st=Ee.find(function(bt){return bt.key===It});st==null||(zt=st.onClose)===null||zt===void 0||zt.call(st),Ce(function(bt){return bt.filter(function(ht){return ht.key!==It})})};c.useImperativeHandle(le,function(){return{open:function(It){Ce(function(zt){var st=(0,r.Z)(zt),bt=st.findIndex(function(Ue){return Ue.key===It.key}),ht=(0,f.Z)({},It);if(bt>=0){var Je;ht.times=(((Je=zt[bt])===null||Je===void 0?void 0:Je.times)||0)+1,st[bt]=ht}else ht.times=0,st.push(ht);return ne>0&&st.length>ne&&(st=st.slice(-ne)),st})},close:function(It){je(It)},destroy:function(){Ce([])}}});var Fe=c.useState({}),Ft=(0,i.Z)(Fe,2),_t=Ft[0],Pt=Ft[1];c.useEffect(function(){var Xe={};Ee.forEach(function(It){var zt=It.placement,st=zt===void 0?"topRight":zt;st&&(Xe[st]=Xe[st]||[],Xe[st].push(It))}),Object.keys(_t).forEach(function(It){Xe[It]=Xe[It]||[]}),Pt(Xe)},[Ee]);var Qt=function(It){Pt(function(zt){var st=(0,f.Z)({},zt),bt=st[It]||[];return bt.length||delete st[It],st})},er=c.useRef(!1);if(c.useEffect(function(){Object.keys(_t).length>0?er.current=!0:er.current&&(F==null||F(),er.current=!1)},[_t]),!Y)return null;var Jt=Object.keys(_t);return(0,s.createPortal)(c.createElement(c.Fragment,null,Jt.map(function(Xe){var It=_t[Xe],zt=c.createElement(D,{key:Xe,configList:It,placement:Xe,prefixCls:J,className:ee==null?void 0:ee(Xe),style:ie==null?void 0:ie(Xe),motion:ue,onNoticeClose:je,onAllNoticeRemoved:Qt});return M?M(zt,{prefixCls:J,key:Xe}):zt})),Y)}),$=B,U=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],V=function(){return document.body},K=0;function G(){for(var ae={},le=arguments.length,Q=new Array(le),J=0;J<le;J++)Q[J]=arguments[J];return Q.forEach(function(Y){Y&&Object.keys(Y).forEach(function(ue){var ne=Y[ue];ne!==void 0&&(ae[ue]=ne)})}),ae}function oe(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=ae.getContainer,Q=le===void 0?V:le,J=ae.motion,Y=ae.prefixCls,ue=ae.maxCount,ne=ae.className,ee=ae.style,ie=ae.onAllRemoved,F=ae.renderNotifications,M=(0,l.Z)(ae,U),q=c.useState(),de=(0,i.Z)(q,2),Ee=de[0],Ce=de[1],je=c.useRef(),Fe=c.createElement($,{container:Ee,ref:je,prefixCls:Y,motion:J,maxCount:ue,className:ne,style:ee,onAllRemoved:ie,renderNotifications:F}),Ft=c.useState([]),_t=(0,i.Z)(Ft,2),Pt=_t[0],Qt=_t[1],er=c.useMemo(function(){return{open:function(Xe){var It=G(M,Xe);(It.key===null||It.key===void 0)&&(It.key="rc-notification-".concat(K),K+=1),Qt(function(zt){return[].concat((0,r.Z)(zt),[{type:"open",config:It}])})},close:function(Xe){Qt(function(It){return[].concat((0,r.Z)(It),[{type:"close",key:Xe}])})},destroy:function(){Qt(function(Xe){return[].concat((0,r.Z)(Xe),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){Ce(Q())}),c.useEffect(function(){je.current&&Pt.length&&(Pt.forEach(function(Jt){switch(Jt.type){case"open":je.current.open(Jt.config);break;case"close":je.current.close(Jt.key);break;case"destroy":je.current.destroy();break}}),Qt(function(Jt){return Jt.filter(function(Xe){return!Pt.includes(Xe)})}))},[Pt]),[er,Fe]}},22075:function(d,g){"use strict";g.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},91735:function(d,g){"use strict";g.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},29301:function(d,g,e){"use strict";e.d(g,{Z:function(){return J}});var r=e(72308),i=e(59301),l=e(11592),c=e(48736),f=e(77321),s=e(62853),h=e(76846),u=e(8654),a=i.createContext(null);function x(Y){var ue=Y.children,ne=Y.onBatchResize,ee=i.useRef(0),ie=i.useRef([]),F=i.useContext(a),M=i.useCallback(function(q,de,Ee){ee.current+=1;var Ce=ee.current;ie.current.push({size:q,element:de,data:Ee}),Promise.resolve().then(function(){Ce===ee.current&&(ne==null||ne(ie.current),ie.current=[])}),F==null||F(q,de,Ee)},[ne,F]);return i.createElement(a.Provider,{value:M},ue)}var p=e(76374),y=new Map;function _(Y){Y.forEach(function(ue){var ne,ee=ue.target;(ne=y.get(ee))===null||ne===void 0||ne.forEach(function(ie){return ie(ee)})})}var b=new p.Z(_),S=null,R=null;function L(Y,ue){y.has(Y)||(y.set(Y,new Set),b.observe(Y)),y.get(Y).add(ue)}function T(Y,ue){y.has(Y)&&(y.get(Y).delete(ue),y.get(Y).size||(b.unobserve(Y),y.delete(Y)))}var D=e(96949),B=e(55090),$=e(77205),U=e(38793),V=function(Y){(0,$.Z)(ne,Y);var ue=(0,U.Z)(ne);function ne(){return(0,D.Z)(this,ne),ue.apply(this,arguments)}return(0,B.Z)(ne,[{key:"render",value:function(){return this.props.children}}]),ne}(i.Component);function K(Y,ue){var ne=Y.children,ee=Y.disabled,ie=i.useRef(null),F=i.useRef(null),M=i.useContext(a),q=typeof ne=="function",de=q?ne(ie):ne,Ee=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Ce=!q&&i.isValidElement(de)&&(0,u.Yr)(de),je=Ce?(0,u.C4)(de):null,Fe=(0,u.x1)(je,ie),Ft=function(){var er;return(0,h.ZP)(ie.current)||(ie.current&&(0,s.Z)(ie.current)==="object"?(0,h.ZP)((er=ie.current)===null||er===void 0?void 0:er.nativeElement):null)||(0,h.ZP)(F.current)};i.useImperativeHandle(ue,function(){return Ft()});var _t=i.useRef(Y);_t.current=Y;var Pt=i.useCallback(function(Qt){var er=_t.current,Jt=er.onResize,Xe=er.data,It=Qt.getBoundingClientRect(),zt=It.width,st=It.height,bt=Qt.offsetWidth,ht=Qt.offsetHeight,Je=Math.floor(zt),Ue=Math.floor(st);if(Ee.current.width!==Je||Ee.current.height!==Ue||Ee.current.offsetWidth!==bt||Ee.current.offsetHeight!==ht){var ge={width:Je,height:Ue,offsetWidth:bt,offsetHeight:ht};Ee.current=ge;var Ae=bt===Math.round(zt)?zt:bt,Me=ht===Math.round(st)?st:ht,$e=(0,f.Z)((0,f.Z)({},ge),{},{offsetWidth:Ae,offsetHeight:Me});M==null||M($e,Qt,Xe),Jt&&Promise.resolve().then(function(){Jt($e,Qt)})}},[]);return i.useEffect(function(){var Qt=Ft();return Qt&&!ee&&L(Qt,Pt),function(){return T(Qt,Pt)}},[ie.current,ee]),i.createElement(V,{ref:F},Ce?i.cloneElement(de,{ref:Fe}):de)}var G=i.forwardRef(K),oe=G,ae="rc-observer-key";function le(Y,ue){var ne=Y.children,ee=typeof ne=="function"?[ne]:(0,l.Z)(ne);return ee.map(function(ie,F){var M=(ie==null?void 0:ie.key)||"".concat(ae,"-").concat(F);return i.createElement(oe,(0,r.Z)({},Y,{key:M,ref:F===0?ue:void 0}),ie)})}var Q=i.forwardRef(le);Q.Collection=x;var J=Q},55477:function(d,g,e){"use strict";e.d(g,{G:function(){return _},Z:function(){return L}});var r=e(72308),i=e(77321),l=e(74416),c=e(35593),f=e(59301),s={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:s,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:s,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:s,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:s,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:s,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:s,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 _(T){var D=T.children,B=T.prefixCls,$=T.id,U=T.overlayInnerStyle,V=T.className,K=T.style;return f.createElement("div",{className:y()("".concat(B,"-content"),V),style:K},f.createElement("div",{className:"".concat(B,"-inner"),id:$,role:"tooltip",style:U},typeof D=="function"?D():D))}var b=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],S=function(D,B){var $=D.overlayClassName,U=D.trigger,V=U===void 0?["hover"]:U,K=D.mouseEnterDelay,G=K===void 0?0:K,oe=D.mouseLeaveDelay,ae=oe===void 0?.1:oe,le=D.overlayStyle,Q=D.prefixCls,J=Q===void 0?"rc-tooltip":Q,Y=D.children,ue=D.onVisibleChange,ne=D.afterVisibleChange,ee=D.transitionName,ie=D.animation,F=D.motion,M=D.placement,q=M===void 0?"right":M,de=D.align,Ee=de===void 0?{}:de,Ce=D.destroyTooltipOnHide,je=Ce===void 0?!1:Ce,Fe=D.defaultVisible,Ft=D.getTooltipContainer,_t=D.overlayInnerStyle,Pt=D.arrowContent,Qt=D.overlay,er=D.id,Jt=D.showArrow,Xe=Jt===void 0?!0:Jt,It=(0,l.Z)(D,b),zt=(0,f.useRef)(null);(0,f.useImperativeHandle)(B,function(){return zt.current});var st=(0,i.Z)({},It);"visible"in D&&(st.popupVisible=D.visible);var bt=function(){return f.createElement(_,{key:"content",prefixCls:J,id:er,overlayInnerStyle:_t},Qt)};return f.createElement(c.Z,(0,r.Z)({popupClassName:$,prefixCls:J,popup:bt,action:V,builtinPlacements:a,popupPlacement:q,ref:zt,popupAlign:Ee,getPopupContainer:Ft,onPopupVisibleChange:ue,afterPopupVisibleChange:ne,popupTransitionName:ee,popupAnimation:ie,popupMotion:F,defaultPopupVisible:Fe,autoDestroy:je,mouseLeaveDelay:ae,popupStyle:le,mouseEnterDelay:G,arrow:Xe},st),Y)},R=(0,f.forwardRef)(S),L=R},11592:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(34678),i=e(59301);function l(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=[];return i.Children.forEach(c,function(h){h==null&&!f.keepEmpty||(Array.isArray(h)?s=s.concat(l(h)):(0,r.Z)(h)&&h.props?s=s.concat(l(h.props.children,f)):s.push(h))}),s}},47273:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){if(!i)return!1;if(i.contains)return i.contains(l);for(var c=l;c;){if(c===i)return!0;c=c.parentNode}return!1}},810:function(d,g,e){"use strict";e.d(g,{hq:function(){return L},jL:function(){return b}});var r=e(77321),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",s="rc-util-key",h=new Map;function u(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=T.mark;return D?D.startsWith("data-")?D:"data-".concat(D):s}function a(T){if(T.attachTo)return T.attachTo;var D=document.querySelector("head");return D||document.body}function x(T){return T==="queue"?"prependQueue":T?"prepend":"append"}function p(T){return Array.from((h.get(T)||T).children).filter(function(D){return D.tagName==="STYLE"})}function y(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var B=D.csp,$=D.prepend,U=D.priority,V=U===void 0?0:U,K=x($),G=K==="prependQueue",oe=document.createElement("style");oe.setAttribute(c,K),G&&V&&oe.setAttribute(f,"".concat(V)),B!=null&&B.nonce&&(oe.nonce=B==null?void 0:B.nonce),oe.innerHTML=T;var ae=a(D),le=ae.firstChild;if($){if(G){var Q=(D.styles||p(ae)).filter(function(J){if(!["prepend","prependQueue"].includes(J.getAttribute(c)))return!1;var Y=Number(J.getAttribute(f)||0);return V>=Y});if(Q.length)return ae.insertBefore(oe,Q[Q.length-1].nextSibling),oe}ae.insertBefore(oe,le)}else ae.appendChild(oe);return oe}function _(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=a(D);return(D.styles||p(B)).find(function($){return $.getAttribute(u(D))===T})}function b(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=_(T,D);if(B){var $=a(D);$.removeChild(B)}}function S(T,D){var B=h.get(T);if(!B||!(0,l.Z)(document,B)){var $=y("",D),U=$.parentNode;h.set(T,U),T.removeChild($)}}function R(){h.clear()}function L(T,D){var B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$=a(B),U=p($),V=(0,r.Z)((0,r.Z)({},B),{},{styles:U});S($,V);var K=_(D,V);if(K){var G,oe;if((G=V.csp)!==null&&G!==void 0&&G.nonce&&K.nonce!==((oe=V.csp)===null||oe===void 0?void 0:oe.nonce)){var ae;K.nonce=(ae=V.csp)===null||ae===void 0?void 0:ae.nonce}return K.innerHTML!==T&&(K.innerHTML=T),K}var le=y(T,V);return le.setAttribute(u(V),D),le}},76846:function(d,g,e){"use strict";e.d(g,{Sh:function(){return c},ZP:function(){return s}});var r=e(62853),i=e(59301),l=e(4676);function c(h){return h instanceof HTMLElement||h instanceof SVGElement}function f(h){return h&&(0,r.Z)(h)==="object"&&c(h.nativeElement)?h.nativeElement:c(h)?h:null}function s(h){var u=f(h);if(u)return u;if(h instanceof i.Component){var a;return(a=l.findDOMNode)===null||a===void 0?void 0:a.call(l,h)}return null}},29194:function(d,g){"use strict";g.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var r=e.getBBox(),i=r.width,l=r.height;if(i||l)return!0}if(e.getBoundingClientRect){var c=e.getBoundingClientRect(),f=c.width,s=c.height;if(f||s)return!0}}return!1}},96452:function(d,g,e){"use strict";e.d(g,{A:function(){return l}});function r(c){var f;return c==null||(f=c.getRootNode)===null||f===void 0?void 0:f.call(c)}function i(c){return r(c)instanceof ShadowRoot}function l(c){return i(c)?r(c):null}},10228:function(d,g){"use strict";var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(i){var l=i.keyCode;if(i.altKey&&!i.ctrlKey||i.metaKey||l>=e.F1&&l<=e.F12)return!1;switch(l){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(i){if(i>=e.ZERO&&i<=e.NINE||i>=e.NUM_ZERO&&i<=e.NUM_MULTIPLY||i>=e.A&&i<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&i===0)return!0;switch(i){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};g.Z=e},34678:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(62853),i=Symbol.for("react.element"),l=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(s){return s&&(0,r.Z)(s)==="object"&&(s.$$typeof===i||s.$$typeof===l)&&s.type===c}},1585:function(d,g,e){"use strict";var r;e.d(g,{s:function(){return T},v:function(){return V}});var i=e(65736),l=e(72633),c=e(62853),f=e(77321),s=e(4676),h=(0,f.Z)({},r||(r=e.t(s,2))),u=h.version,a=h.render,x=h.unmountComponentAtNode,p;try{var y=Number((u||"").split(".")[0]);y>=18&&(p=h.createRoot)}catch(G){}function _(G){var oe=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;oe&&(0,c.Z)(oe)==="object"&&(oe.usingClientEntryPoint=G)}var b="__rc_react_root__";function S(G,oe){_(!0);var ae=oe[b]||p(oe);_(!1),ae.render(G),oe[b]=ae}function R(G,oe){a==null||a(G,oe)}function L(G,oe){}function T(G,oe){if(p){S(G,oe);return}R(G,oe)}function D(G){return B.apply(this,arguments)}function B(){return B=(0,l.Z)((0,i.Z)().mark(function G(oe){return(0,i.Z)().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.abrupt("return",Promise.resolve().then(function(){var Q;(Q=oe[b])===null||Q===void 0||Q.unmount(),delete oe[b]}));case 1:case"end":return le.stop()}},G)})),B.apply(this,arguments)}function $(G){x(G)}function U(G){}function V(G){return K.apply(this,arguments)}function K(){return K=(0,l.Z)((0,i.Z)().mark(function G(oe){return(0,i.Z)().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:if(p===void 0){le.next=2;break}return le.abrupt("return",D(oe));case 2:$(oe);case 3:case"end":return le.stop()}},G)})),K.apply(this,arguments)}},75152:function(d,g,e){"use strict";e.d(g,{Z:function(){return c},o:function(){return f}});var r=e(810),i;function l(s){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(s){var y=getComputedStyle(s);a.scrollbarColor=y.scrollbarColor,a.scrollbarWidth=y.scrollbarWidth;var _=getComputedStyle(s,"::-webkit-scrollbar"),b=parseInt(_.width,10),S=parseInt(_.height,10);try{var R=b?"width: ".concat(_.width,";"):"",L=S?"height: ".concat(_.height,";"):"";(0,r.hq)(`
|
|
|
#`.concat(h,`::-webkit-scrollbar {
|
|
|
`).concat(R,`
|
|
|
`).concat(L,`
|
|
|
}`),h)}catch(B){console.error(B),x=b,p=S}}document.body.appendChild(u);var T=s&&x&&!isNaN(x)?x:u.offsetWidth-u.clientWidth,D=s&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:T,height:D}}function c(s){return typeof document=="undefined"?0:((s||i===void 0)&&(i=l()),i.width)}function f(s){return typeof document=="undefined"||!s||!(s instanceof Element)?{width:0,height:0}:l(s)}},6089:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(59301);function i(l){var c=r.useRef();c.current=l;var f=r.useCallback(function(){for(var s,h=arguments.length,u=new Array(h),a=0;a<h;a++)u[a]=arguments[a];return(s=c.current)===null||s===void 0?void 0:s.call.apply(s,[c].concat(u))},[]);return f}},80402:function(d,g,e){"use strict";var r,i=e(52487),l=e(77321),c=e(59301);function f(){var a=(0,l.Z)({},r||(r=e.t(c,2)));return a.useId}var s=0;function h(){}var u=f();g.Z=u?function(x){var p=u();return x||p}:function(x){var p=c.useState("ssr-id"),y=(0,i.Z)(p,2),_=y[0],b=y[1];return c.useEffect(function(){var S=s;s+=1,b("rc_unique_".concat(S))},[]),x||_}},34280:function(d,g,e){"use strict";e.d(g,{o:function(){return f}});var r=e(59301),i=e(47273),l=(0,i.Z)()?r.useLayoutEffect:r.useEffect,c=function(h,u){var a=r.useRef(!0);l(function(){return h(a.current)},u),l(function(){return a.current=!1,function(){a.current=!0}},[])},f=function(h,u){c(function(a){if(!a)return h()},u)};g.Z=c},80547:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(59301);function i(l,c,f){var s=r.useRef({});return(!("value"in s.current)||f(s.current.condition,c))&&(s.current.value=l(),s.current.condition=c),s.current.value}},18929:function(d,g,e){"use strict";e.d(g,{Z:function(){return s}});var r=e(52487),i=e(6089),l=e(34280),c=e(41799);function f(h){return h!==void 0}function s(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),R=S[0],L=S[1],T=p!==void 0?p:R,D=_?_(T):T,B=(0,i.Z)(y),$=(0,c.Z)([T]),U=(0,r.Z)($,2),V=U[0],K=U[1];(0,l.o)(function(){var oe=V[0];R!==oe&&B(R,oe)},[V]),(0,l.o)(function(){f(p)||L(p)},[p]);var G=(0,i.Z)(function(oe,ae){L(oe,ae),K([T],ae)});return[D,G]}},41799:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(52487),i=e(59301);function l(c){var f=i.useRef(!1),s=i.useState(c),h=(0,r.Z)(s,2),u=h[0],a=h[1];i.useEffect(function(){return f.current=!1,function(){f.current=!0}},[]);function x(p,y){y&&f.current||a(p)}return[u,x]}},70425:function(d,g,e){"use strict";e.r(g),e.d(g,{get:function(){return c.Z},set:function(){return f.Z},supportNodeRef:function(){return l.t4},supportRef:function(){return l.Yr},useComposeRef:function(){return l.x1},useEvent:function(){return r.Z},useMergedState:function(){return i.Z},warning:function(){return s.ZP}});var r=e(6089),i=e(18929),l=e(8654),c=e(97938),f=e(24434),s=e(48736)},13697:function(d,g,e){"use strict";var r=e(62853),i=e(48736);function l(c,f){var s=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(s&&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(R){return u(a[R],x[R],_)})}return!1}return u(c,f)}g.Z=l},49658:function(d,g){"use strict";g.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))}},2738:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){var c=Object.assign({},i);return Array.isArray(l)&&l.forEach(function(f){delete c[f]}),c}},26112:function(d,g,e){"use strict";e.d(g,{Z:function(){return u}});var r=e(77321),i=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,l=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,c="".concat(i," ").concat(l).split(/[\s\n]+/),f="aria-",s="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(_,s)||p.attr&&c.includes(_))&&(y[_]=a[_])}),y}},16089:function(d,g){"use strict";var e=function(h){return+setTimeout(h,16)},r=function(h){return clearTimeout(h)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(e=function(h){return window.requestAnimationFrame(h)},r=function(h){return window.cancelAnimationFrame(h)});var i=0,l=new Map;function c(s){l.delete(s)}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(s){var h=l.get(s);return c(s),r(h)},g.Z=f},8654:function(d,g,e){"use strict";e.d(g,{C4:function(){return _},Yr:function(){return x},mH:function(){return h},sQ:function(){return u},t4:function(){return y},x1:function(){return a}});var r=e(62853),i=e(59301),l=e(23265),c=e(80547),f=e(34678),s=Number(i.version.split(".")[0]),h=function(S,R){typeof S=="function"?S(R):(0,r.Z)(S)==="object"&&S&&"current"in S&&(S.current=R)},u=function(){for(var S=arguments.length,R=new Array(S),L=0;L<S;L++)R[L]=arguments[L];var T=R.filter(Boolean);return T.length<=1?T[0]:function(D){R.forEach(function(B){h(B,D)})}},a=function(){for(var S=arguments.length,R=new Array(S),L=0;L<S;L++)R[L]=arguments[L];return(0,c.Z)(function(){return u.apply(void 0,R)},R,function(T,D){return T.length!==D.length||T.every(function(B,$){return B!==D[$]})})},x=function(S){var R,L;if(!S)return!1;if(p(S)&&s>=19)return!0;var T=(0,l.isMemo)(S)?S.type.type:S.type;return!(typeof T=="function"&&!((R=T.prototype)!==null&&R!==void 0&&R.render)&&T.$$typeof!==l.ForwardRef||typeof S=="function"&&!((L=S.prototype)!==null&&L!==void 0&&L.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 R=S;return R.props.propertyIsEnumerable("ref")?R.props.ref:R.ref}return null}},97938:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){for(var c=i,f=0;f<l.length;f+=1){if(c==null)return;c=c[l[f]]}return c}},24434:function(d,g,e){"use strict";e.d(g,{T:function(){return p},Z:function(){return h}});var r=e(62853),i=e(77321),l=e(80702),c=e(68413),f=e(97938);function s(y,_,b,S){if(!_.length)return b;var R=(0,c.Z)(_),L=R[0],T=R.slice(1),D;return!y&&typeof L=="number"?D=[]:Array.isArray(y)?D=(0,l.Z)(y):D=(0,i.Z)({},y),S&&b===void 0&&T.length===1?delete D[L][T[0]]:D[L]=s(D[L],T,b,S),D}function h(y,_,b){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return _.length&&S&&b===void 0&&!(0,f.Z)(y,_.slice(0,-1))?y:s(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(R){function L(T,D){var B=new Set(D),$=(0,f.Z)(R,T),U=Array.isArray($);if(U||u($)){if(!B.has($)){B.add($);var V=(0,f.Z)(S,T);U?S=h(S,T,[]):(!V||(0,r.Z)(V)!=="object")&&(S=h(S,T,a($))),x($).forEach(function(K){L([].concat((0,l.Z)(T),[K]),B)})}}else S=h(S,T,$)}L([])}),S}},48736:function(d,g,e){"use strict";e.d(g,{ET:function(){return a},Kp:function(){return c}});var r={},i=[],l=function(p){i.push(p)};function c(x,p){if(0)var y}function f(x,p){if(0)var y}function s(){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=s,u.noteOnce=a,g.ZP=u},83145:function(d,g,e){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.CopyToClipboard=void 0;var r=l(e(59301)),i=l(e(25769));function l(D){return D&&D.__esModule?D:{default:D}}function c(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function($){return typeof $}:c=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},c(D)}function f(D,B){var $=Object.keys(D);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(D);B&&(U=U.filter(function(V){return Object.getOwnPropertyDescriptor(D,V).enumerable})),$.push.apply($,U)}return $}function s(D){for(var B=1;B<arguments.length;B++){var $=arguments[B]!=null?arguments[B]:{};B%2?f($,!0).forEach(function(U){L(D,U,$[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors($)):f($).forEach(function(U){Object.defineProperty(D,U,Object.getOwnPropertyDescriptor($,U))})}return D}function h(D,B){if(D==null)return{};var $=u(D,B),U,V;if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(D);for(V=0;V<K.length;V++)U=K[V],!(B.indexOf(U)>=0)&&Object.prototype.propertyIsEnumerable.call(D,U)&&($[U]=D[U])}return $}function u(D,B){if(D==null)return{};var $={},U=Object.keys(D),V,K;for(K=0;K<U.length;K++)V=U[K],!(B.indexOf(V)>=0)&&($[V]=D[V]);return $}function a(D,B){if(!(D instanceof B))throw new TypeError("Cannot call a class as a function")}function x(D,B){for(var $=0;$<B.length;$++){var U=B[$];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(D,U.key,U)}}function p(D,B,$){return B&&x(D.prototype,B),$&&x(D,$),D}function y(D,B){return B&&(c(B)==="object"||typeof B=="function")?B:b(D)}function _(D){return _=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},_(D)}function b(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function S(D,B){if(typeof B!="function"&&B!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(B&&B.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),B&&R(D,B)}function R(D,B){return R=Object.setPrototypeOf||function(U,V){return U.__proto__=V,U},R(D,B)}function L(D,B,$){return B in D?Object.defineProperty(D,B,{value:$,enumerable:!0,configurable:!0,writable:!0}):D[B]=$,D}var T=function(D){S(B,D);function B(){var $,U;a(this,B);for(var V=arguments.length,K=new Array(V),G=0;G<V;G++)K[G]=arguments[G];return U=y(this,($=_(B)).call.apply($,[this].concat(K))),L(b(U),"onClick",function(oe){var ae=U.props,le=ae.text,Q=ae.onCopy,J=ae.children,Y=ae.options,ue=r.default.Children.only(J),ne=(0,i.default)(le,Y);Q&&Q(le,ne),ue&&ue.props&&typeof ue.props.onClick=="function"&&ue.props.onClick(oe)}),U}return p(B,[{key:"render",value:function(){var U=this.props,V=U.text,K=U.onCopy,G=U.options,oe=U.children,ae=h(U,["text","onCopy","options","children"]),le=r.default.Children.only(oe);return r.default.cloneElement(le,s({},ae,{onClick:this.onClick}))}}]),B}(r.default.PureComponent);g.CopyToClipboard=T,L(T,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(d,g,e){"use strict";var r=e(83145),i=r.CopyToClipboard;i.CopyToClipboard=i,d.exports=i},23675:function(d,g,e){"use strict";var r=e(59301),i=e(84126),l=e(43014);function c(v){for(var A="https://reactjs.org/docs/error-decoder.html?invariant="+v,Z=1;Z<arguments.length;Z++)A+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+v+"; visit "+A+" 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,s={};function h(v,A){u(v,A),u(v+"Capture",A)}function u(v,A){for(s[v]=A,v=0;v<A.length;v++)f.add(A[v])}var a=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),x=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,y={},_={};function b(v){return p.call(_,v)?!0:p.call(y,v)?!1:x.test(v)?_[v]=!0:(y[v]=!0,!1)}function S(v,A,Z,ve){if(Z!==null&&Z.type===0)return!1;switch(typeof A){case"function":case"symbol":return!0;case"boolean":return ve?!1:Z!==null?!Z.acceptsBooleans:(v=v.toLowerCase().slice(0,5),v!=="data-"&&v!=="aria-");default:return!1}}function R(v,A,Z,ve){if(A===null||typeof A=="undefined"||S(v,A,Z,ve))return!0;if(ve)return!1;if(Z!==null)switch(Z.type){case 3:return!A;case 4:return A===!1;case 5:return isNaN(A);case 6:return isNaN(A)||1>A}return!1}function L(v,A,Z,ve,Le,lt,Ut){this.acceptsBooleans=A===2||A===3||A===4,this.attributeName=ve,this.attributeNamespace=Le,this.mustUseProperty=Z,this.propertyName=v,this.type=A,this.sanitizeURL=lt,this.removeEmptyString=Ut}var T={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(v){T[v]=new L(v,0,!1,v,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(v){var A=v[0];T[A]=new L(A,1,!1,v[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(v){T[v]=new L(v,2,!1,v.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(v){T[v]=new L(v,2,!1,v,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(v){T[v]=new L(v,3,!1,v.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(v){T[v]=new L(v,3,!0,v,null,!1,!1)}),["capture","download"].forEach(function(v){T[v]=new L(v,4,!1,v,null,!1,!1)}),["cols","rows","size","span"].forEach(function(v){T[v]=new L(v,6,!1,v,null,!1,!1)}),["rowSpan","start"].forEach(function(v){T[v]=new L(v,5,!1,v.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function B(v){return v[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(v){var A=v.replace(D,B);T[A]=new L(A,1,!1,v,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(v){var A=v.replace(D,B);T[A]=new L(A,1,!1,v,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(v){var A=v.replace(D,B);T[A]=new L(A,1,!1,v,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(v){T[v]=new L(v,1,!1,v.toLowerCase(),null,!1,!1)}),T.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(v){T[v]=new L(v,1,!1,v.toLowerCase(),null,!0,!0)});function $(v,A,Z,ve){var Le=T.hasOwnProperty(A)?T[A]:null,lt=Le!==null?Le.type===0:ve?!1:!(!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N");lt||(R(A,Z,Le,ve)&&(Z=null),ve||Le===null?b(A)&&(Z===null?v.removeAttribute(A):v.setAttribute(A,""+Z)):Le.mustUseProperty?v[Le.propertyName]=Z===null?Le.type===3?!1:"":Z:(A=Le.attributeName,ve=Le.attributeNamespace,Z===null?v.removeAttribute(A):(Le=Le.type,Z=Le===3||Le===4&&Z===!0?"":""+Z,ve?v.setAttributeNS(ve,A,Z):v.setAttribute(A,Z))))}var U=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=60103,K=60106,G=60107,oe=60108,ae=60114,le=60109,Q=60110,J=60112,Y=60113,ue=60120,ne=60115,ee=60116,ie=60121,F=60128,M=60129,q=60130,de=60131;if(typeof Symbol=="function"&&Symbol.for){var Ee=Symbol.for;V=Ee("react.element"),K=Ee("react.portal"),G=Ee("react.fragment"),oe=Ee("react.strict_mode"),ae=Ee("react.profiler"),le=Ee("react.provider"),Q=Ee("react.context"),J=Ee("react.forward_ref"),Y=Ee("react.suspense"),ue=Ee("react.suspense_list"),ne=Ee("react.memo"),ee=Ee("react.lazy"),ie=Ee("react.block"),Ee("react.scope"),F=Ee("react.opaque.id"),M=Ee("react.debug_trace_mode"),q=Ee("react.offscreen"),de=Ee("react.legacy_hidden")}var Ce=typeof Symbol=="function"&&Symbol.iterator;function je(v){return v===null||typeof v!="object"?null:(v=Ce&&v[Ce]||v["@@iterator"],typeof v=="function"?v:null)}var Fe;function Ft(v){if(Fe===void 0)try{throw Error()}catch(Z){var A=Z.stack.trim().match(/\n( *(at )?)/);Fe=A&&A[1]||""}return`
|
|
|
`+Fe+v}var _t=!1;function Pt(v,A){if(!v||_t)return"";_t=!0;var Z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(A)if(A=function(){throw Error()},Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(I){var ve=I}Reflect.construct(v,[],A)}else{try{A.call()}catch(I){ve=I}v.call(A.prototype)}else{try{throw Error()}catch(I){ve=I}v()}}catch(I){if(I&&ve&&typeof I.stack=="string"){for(var Le=I.stack.split(`
|
|
|
`),lt=ve.stack.split(`
|
|
|
`),Ut=Le.length-1,rr=lt.length-1;1<=Ut&&0<=rr&&Le[Ut]!==lt[rr];)rr--;for(;1<=Ut&&0<=rr;Ut--,rr--)if(Le[Ut]!==lt[rr]){if(Ut!==1||rr!==1)do if(Ut--,rr--,0>rr||Le[Ut]!==lt[rr])return`
|
|
|
`+Le[Ut].replace(" at new "," at ");while(1<=Ut&&0<=rr);break}}}finally{_t=!1,Error.prepareStackTrace=Z}return(v=v?v.displayName||v.name:"")?Ft(v):""}function Qt(v){switch(v.tag){case 5:return Ft(v.type);case 16:return Ft("Lazy");case 13:return Ft("Suspense");case 19:return Ft("SuspenseList");case 0:case 2:case 15:return v=Pt(v.type,!1),v;case 11:return v=Pt(v.type.render,!1),v;case 22:return v=Pt(v.type._render,!1),v;case 1:return v=Pt(v.type,!0),v;default:return""}}function er(v){if(v==null)return null;if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case G:return"Fragment";case K:return"Portal";case ae:return"Profiler";case oe:return"StrictMode";case Y:return"Suspense";case ue:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case Q:return(v.displayName||"Context")+".Consumer";case le:return(v._context.displayName||"Context")+".Provider";case J:var A=v.render;return A=A.displayName||A.name||"",v.displayName||(A!==""?"ForwardRef("+A+")":"ForwardRef");case ne:return er(v.type);case ie:return er(v._render);case ee:A=v._payload,v=v._init;try{return er(v(A))}catch(Z){}}return null}function Jt(v){switch(typeof v){case"boolean":case"number":case"object":case"string":case"undefined":return v;default:return""}}function Xe(v){var A=v.type;return(v=v.nodeName)&&v.toLowerCase()==="input"&&(A==="checkbox"||A==="radio")}function It(v){var A=Xe(v)?"checked":"value",Z=Object.getOwnPropertyDescriptor(v.constructor.prototype,A),ve=""+v[A];if(!v.hasOwnProperty(A)&&typeof Z!="undefined"&&typeof Z.get=="function"&&typeof Z.set=="function"){var Le=Z.get,lt=Z.set;return Object.defineProperty(v,A,{configurable:!0,get:function(){return Le.call(this)},set:function(Ut){ve=""+Ut,lt.call(this,Ut)}}),Object.defineProperty(v,A,{enumerable:Z.enumerable}),{getValue:function(){return ve},setValue:function(Ut){ve=""+Ut},stopTracking:function(){v._valueTracker=null,delete v[A]}}}}function zt(v){v._valueTracker||(v._valueTracker=It(v))}function st(v){if(!v)return!1;var A=v._valueTracker;if(!A)return!0;var Z=A.getValue(),ve="";return v&&(ve=Xe(v)?v.checked?"true":"false":v.value),v=ve,v!==Z?(A.setValue(v),!0):!1}function bt(v){if(v=v||(typeof document!="undefined"?document:void 0),typeof v=="undefined")return null;try{return v.activeElement||v.body}catch(A){return v.body}}function ht(v,A){var Z=A.checked;return i({},A,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:Z!=null?Z:v._wrapperState.initialChecked})}function Je(v,A){var Z=A.defaultValue==null?"":A.defaultValue,ve=A.checked!=null?A.checked:A.defaultChecked;Z=Jt(A.value!=null?A.value:Z),v._wrapperState={initialChecked:ve,initialValue:Z,controlled:A.type==="checkbox"||A.type==="radio"?A.checked!=null:A.value!=null}}function Ue(v,A){A=A.checked,A!=null&&$(v,"checked",A,!1)}function ge(v,A){Ue(v,A);var Z=Jt(A.value),ve=A.type;if(Z!=null)ve==="number"?(Z===0&&v.value===""||v.value!=Z)&&(v.value=""+Z):v.value!==""+Z&&(v.value=""+Z);else if(ve==="submit"||ve==="reset"){v.removeAttribute("value");return}A.hasOwnProperty("value")?Me(v,A.type,Z):A.hasOwnProperty("defaultValue")&&Me(v,A.type,Jt(A.defaultValue)),A.checked==null&&A.defaultChecked!=null&&(v.defaultChecked=!!A.defaultChecked)}function Ae(v,A,Z){if(A.hasOwnProperty("value")||A.hasOwnProperty("defaultValue")){var ve=A.type;if(!(ve!=="submit"&&ve!=="reset"||A.value!==void 0&&A.value!==null))return;A=""+v._wrapperState.initialValue,Z||A===v.value||(v.value=A),v.defaultValue=A}Z=v.name,Z!==""&&(v.name=""),v.defaultChecked=!!v._wrapperState.initialChecked,Z!==""&&(v.name=Z)}function Me(v,A,Z){(A!=="number"||bt(v.ownerDocument)!==v)&&(Z==null?v.defaultValue=""+v._wrapperState.initialValue:v.defaultValue!==""+Z&&(v.defaultValue=""+Z))}function $e(v){var A="";return r.Children.forEach(v,function(Z){Z!=null&&(A+=Z)}),A}function He(v,A){return v=i({children:void 0},A),(A=$e(A.children))&&(v.children=A),v}function nt(v,A,Z,ve){if(v=v.options,A){A={};for(var Le=0;Le<Z.length;Le++)A["$"+Z[Le]]=!0;for(Z=0;Z<v.length;Z++)Le=A.hasOwnProperty("$"+v[Z].value),v[Z].selected!==Le&&(v[Z].selected=Le),Le&&ve&&(v[Z].defaultSelected=!0)}else{for(Z=""+Jt(Z),A=null,Le=0;Le<v.length;Le++){if(v[Le].value===Z){v[Le].selected=!0,ve&&(v[Le].defaultSelected=!0);return}A!==null||v[Le].disabled||(A=v[Le])}A!==null&&(A.selected=!0)}}function ct(v,A){if(A.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},A,{value:void 0,defaultValue:void 0,children:""+v._wrapperState.initialValue})}function Kt(v,A){var Z=A.value;if(Z==null){if(Z=A.children,A=A.defaultValue,Z!=null){if(A!=null)throw Error(c(92));if(Array.isArray(Z)){if(!(1>=Z.length))throw Error(c(93));Z=Z[0]}A=Z}A==null&&(A=""),Z=A}v._wrapperState={initialValue:Jt(Z)}}function Wt(v,A){var Z=Jt(A.value),ve=Jt(A.defaultValue);Z!=null&&(Z=""+Z,Z!==v.value&&(v.value=Z),A.defaultValue==null&&v.defaultValue!==Z&&(v.defaultValue=Z)),ve!=null&&(v.defaultValue=""+ve)}function De(v){var A=v.textContent;A===v._wrapperState.initialValue&&A!==""&&A!==null&&(v.value=A)}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(v){switch(v){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function kt(v,A){return v==null||v==="http://www.w3.org/1999/xhtml"?Vt(A):v==="http://www.w3.org/2000/svg"&&A==="foreignObject"?"http://www.w3.org/1999/xhtml":v}var Ht,$t=function(v){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(A,Z,ve,Le){MSApp.execUnsafeLocalFunction(function(){return v(A,Z,ve,Le)})}:v}(function(v,A){if(v.namespaceURI!==Qe.svg||"innerHTML"in v)v.innerHTML=A;else{for(Ht=Ht||document.createElement("div"),Ht.innerHTML="<svg>"+A.valueOf().toString()+"</svg>",A=Ht.firstChild;v.firstChild;)v.removeChild(v.firstChild);for(;A.firstChild;)v.appendChild(A.firstChild)}});function Ct(v,A){if(A){var Z=v.firstChild;if(Z&&Z===v.lastChild&&Z.nodeType===3){Z.nodeValue=A;return}}v.textContent=A}var Yt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ge=["Webkit","ms","Moz","O"];Object.keys(Yt).forEach(function(v){Ge.forEach(function(A){A=A+v.charAt(0).toUpperCase()+v.substring(1),Yt[A]=Yt[v]})});function fe(v,A,Z){return A==null||typeof A=="boolean"||A===""?"":Z||typeof A!="number"||A===0||Yt.hasOwnProperty(v)&&Yt[v]?(""+A).trim():A+"px"}function _e(v,A){v=v.style;for(var Z in A)if(A.hasOwnProperty(Z)){var ve=Z.indexOf("--")===0,Le=fe(Z,A[Z],ve);Z==="float"&&(Z="cssFloat"),ve?v.setProperty(Z,Le):v[Z]=Le}}var Ot=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Pe(v,A){if(A){if(Ot[v]&&(A.children!=null||A.dangerouslySetInnerHTML!=null))throw Error(c(137,v));if(A.dangerouslySetInnerHTML!=null){if(A.children!=null)throw Error(c(60));if(!(typeof A.dangerouslySetInnerHTML=="object"&&"__html"in A.dangerouslySetInnerHTML))throw Error(c(61))}if(A.style!=null&&typeof A.style!="object")throw Error(c(62))}}function dt(v,A){if(v.indexOf("-")===-1)return typeof A.is=="string";switch(v){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Zt(v){return v=v.target||v.srcElement||window,v.correspondingUseElement&&(v=v.correspondingUseElement),v.nodeType===3?v.parentNode:v}var Tt=null,ke=null,St=null;function be(v){if(v=Ya(v)){if(typeof Tt!="function")throw Error(c(280));var A=v.stateNode;A&&(A=rs(A),Tt(v.stateNode,v.type,A))}}function Ke(v){ke?St?St.push(v):St=[v]:ke=v}function gt(){if(ke){var v=ke,A=St;if(St=ke=null,be(v),A)for(v=0;v<A.length;v++)be(A[v])}}function Rt(v,A){return v(A)}function Be(v,A,Z,ve,Le){return v(A,Z,ve,Le)}function kr(){}var At=Rt,Kr=!1,Qr=!1;function Ar(){(ke!==null||St!==null)&&(kr(),gt())}function $r(v,A,Z){if(Qr)return v(A,Z);Qr=!0;try{return At(v,A,Z)}finally{Qr=!1,Ar()}}function _r(v,A){var Z=v.stateNode;if(Z===null)return null;var ve=rs(Z);if(ve===null)return null;Z=ve[A];e:switch(A){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)||(v=v.type,ve=!(v==="button"||v==="input"||v==="select"||v==="textarea")),v=!ve;break e;default:v=!1}if(v)return null;if(Z&&typeof Z!="function")throw Error(c(231,A,typeof Z));return Z}var Ur=!1;if(a)try{var sn={};Object.defineProperty(sn,"passive",{get:function(){Ur=!0}}),window.addEventListener("test",sn,sn),window.removeEventListener("test",sn,sn)}catch(v){Ur=!1}function cn(v,A,Z,ve,Le,lt,Ut,rr,I){var t=Array.prototype.slice.call(arguments,3);try{A.apply(Z,t)}catch(n){this.onError(n)}}var ur=!1,Lt=null,vt=!1,yt=null,jt={onError:function(v){ur=!0,Lt=v}};function Cr(v,A,Z,ve,Le,lt,Ut,rr,I){ur=!1,Lt=null,cn.apply(jt,arguments)}function yr(v,A,Z,ve,Le,lt,Ut,rr,I){if(Cr.apply(this,arguments),ur){if(ur){var t=Lt;ur=!1,Lt=null}else throw Error(c(198));vt||(vt=!0,yt=t)}}function ot(v){var A=v,Z=v;if(v.alternate)for(;A.return;)A=A.return;else{v=A;do A=v,A.flags&1026&&(Z=A.return),v=A.return;while(v)}return A.tag===3?Z:null}function Fr(v){if(v.tag===13){var A=v.memoizedState;if(A===null&&(v=v.alternate,v!==null&&(A=v.memoizedState)),A!==null)return A.dehydrated}return null}function mn(v){if(ot(v)!==v)throw Error(c(188))}function Un(v){var A=v.alternate;if(!A){if(A=ot(v),A===null)throw Error(c(188));return A!==v?null:v}for(var Z=v,ve=A;;){var Le=Z.return;if(Le===null)break;var lt=Le.alternate;if(lt===null){if(ve=Le.return,ve!==null){Z=ve;continue}break}if(Le.child===lt.child){for(lt=Le.child;lt;){if(lt===Z)return mn(Le),v;if(lt===ve)return mn(Le),A;lt=lt.sibling}throw Error(c(188))}if(Z.return!==ve.return)Z=Le,ve=lt;else{for(var Ut=!1,rr=Le.child;rr;){if(rr===Z){Ut=!0,Z=Le,ve=lt;break}if(rr===ve){Ut=!0,ve=Le,Z=lt;break}rr=rr.sibling}if(!Ut){for(rr=lt.child;rr;){if(rr===Z){Ut=!0,Z=lt,ve=Le;break}if(rr===ve){Ut=!0,ve=lt,Z=Le;break}rr=rr.sibling}if(!Ut)throw Error(c(189))}}if(Z.alternate!==ve)throw Error(c(190))}if(Z.tag!==3)throw Error(c(188));return Z.stateNode.current===Z?v:A}function mr(v){if(v=Un(v),!v)return null;for(var A=v;;){if(A.tag===5||A.tag===6)return A;if(A.child)A.child.return=A,A=A.child;else{if(A===v)break;for(;!A.sibling;){if(!A.return||A.return===v)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}}return null}function en(v,A){for(var Z=v.alternate;A!==null;){if(A===v||A===Z)return!0;A=A.return}return!1}var dn,Fn,ei,Nn,zi=!1,mi=[],xi=null,vi=null,pi=null,Yi=new Map,Yn=new Map,Vi=[],Et="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ut(v,A,Z,ve,Le){return{blockedOn:v,domEventName:A,eventSystemFlags:Z|16,nativeEvent:Le,targetContainers:[ve]}}function Xn(v,A){switch(v){case"focusin":case"focusout":xi=null;break;case"dragenter":case"dragleave":vi=null;break;case"mouseover":case"mouseout":pi=null;break;case"pointerover":case"pointerout":Yi.delete(A.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yn.delete(A.pointerId)}}function wi(v,A,Z,ve,Le,lt){return v===null||v.nativeEvent!==lt?(v=ut(A,Z,ve,Le,lt),A!==null&&(A=Ya(A),A!==null&&Fn(A)),v):(v.eventSystemFlags|=ve,A=v.targetContainers,Le!==null&&A.indexOf(Le)===-1&&A.push(Le),v)}function qn(v,A,Z,ve,Le){switch(A){case"focusin":return xi=wi(xi,v,A,Z,ve,Le),!0;case"dragenter":return vi=wi(vi,v,A,Z,ve,Le),!0;case"mouseover":return pi=wi(pi,v,A,Z,ve,Le),!0;case"pointerover":var lt=Le.pointerId;return Yi.set(lt,wi(Yi.get(lt)||null,v,A,Z,ve,Le)),!0;case"gotpointercapture":return lt=Le.pointerId,Yn.set(lt,wi(Yn.get(lt)||null,v,A,Z,ve,Le)),!0}return!1}function Zi(v){var A=Ba(v.target);if(A!==null){var Z=ot(A);if(Z!==null){if(A=Z.tag,A===13){if(A=Fr(Z),A!==null){v.blockedOn=A,Nn(v.lanePriority,function(){l.unstable_runWithPriority(v.priority,function(){ei(Z)})});return}}else if(A===3&&Z.stateNode.hydrate){v.blockedOn=Z.tag===3?Z.stateNode.containerInfo:null;return}}}v.blockedOn=null}function _i(v){if(v.blockedOn!==null)return!1;for(var A=v.targetContainers;0<A.length;){var Z=na(v.domEventName,v.eventSystemFlags,A[0],v.nativeEvent);if(Z!==null)return A=Ya(Z),A!==null&&Fn(A),v.blockedOn=Z,!1;A.shift()}return!0}function Pi(v,A,Z){_i(v)&&Z.delete(A)}function Qn(){for(zi=!1;0<mi.length;){var v=mi[0];if(v.blockedOn!==null){v=Ya(v.blockedOn),v!==null&&dn(v);break}for(var A=v.targetContainers;0<A.length;){var Z=na(v.domEventName,v.eventSystemFlags,A[0],v.nativeEvent);if(Z!==null){v.blockedOn=Z;break}A.shift()}v.blockedOn===null&&mi.shift()}xi!==null&&_i(xi)&&(xi=null),vi!==null&&_i(vi)&&(vi=null),pi!==null&&_i(pi)&&(pi=null),Yi.forEach(Pi),Yn.forEach(Pi)}function tr(v,A){v.blockedOn===A&&(v.blockedOn=null,zi||(zi=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Qn)))}function mt(v){function A(Le){return tr(Le,v)}if(0<mi.length){tr(mi[0],v);for(var Z=1;Z<mi.length;Z++){var ve=mi[Z];ve.blockedOn===v&&(ve.blockedOn=null)}}for(xi!==null&&tr(xi,v),vi!==null&&tr(vi,v),pi!==null&&tr(pi,v),Yi.forEach(A),Yn.forEach(A),Z=0;Z<Vi.length;Z++)ve=Vi[Z],ve.blockedOn===v&&(ve.blockedOn=null);for(;0<Vi.length&&(Z=Vi[0],Z.blockedOn===null);)Zi(Z),Z.blockedOn===null&&Vi.shift()}function rt(v,A){var Z={};return Z[v.toLowerCase()]=A.toLowerCase(),Z["Webkit"+v]="webkit"+A,Z["Moz"+v]="moz"+A,Z}var Dt={animationend:rt("Animation","AnimationEnd"),animationiteration:rt("Animation","AnimationIteration"),animationstart:rt("Animation","AnimationStart"),transitionend:rt("Transition","TransitionEnd")},pt={},cr={};a&&(cr=document.createElement("div").style,"AnimationEvent"in window||(delete Dt.animationend.animation,delete Dt.animationiteration.animation,delete Dt.animationstart.animation),"TransitionEvent"in window||delete Dt.transitionend.transition);function fr(v){if(pt[v])return pt[v];if(!Dt[v])return v;var A=Dt[v],Z;for(Z in A)if(A.hasOwnProperty(Z)&&Z in cr)return pt[v]=A[Z];return v}var Ir=fr("animationend"),Rr=fr("animationiteration"),Ze=fr("animationstart"),et=fr("transitionend"),we=new Map,it=new Map,ir=["abort","abort",Ir,"animationEnd",Rr,"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 Or(v,A){for(var Z=0;Z<v.length;Z+=2){var ve=v[Z],Le=v[Z+1];Le="on"+(Le[0].toUpperCase()+Le.slice(1)),it.set(ve,A),we.set(ve,Le),h(Le,[ve])}}var wr=l.unstable_now;wr();var Tr=8;function Nr(v){if(1&v)return Tr=15,1;if(2&v)return Tr=14,2;if(4&v)return Tr=13,4;var A=24&v;return A!==0?(Tr=12,A):v&32?(Tr=11,32):(A=192&v,A!==0?(Tr=10,A):v&256?(Tr=9,256):(A=3584&v,A!==0?(Tr=8,A):v&4096?(Tr=7,4096):(A=4186112&v,A!==0?(Tr=6,A):(A=62914560&v,A!==0?(Tr=5,A):v&67108864?(Tr=4,67108864):v&134217728?(Tr=3,134217728):(A=805306368&v,A!==0?(Tr=2,A):1073741824&v?(Tr=1,1073741824):(Tr=8,v))))))}function gn(v){switch(v){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Dr(v){switch(v){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(c(358,v))}}function un(v,A){var Z=v.pendingLanes;if(Z===0)return Tr=0;var ve=0,Le=0,lt=v.expiredLanes,Ut=v.suspendedLanes,rr=v.pingedLanes;if(lt!==0)ve=lt,Le=Tr=15;else if(lt=Z&134217727,lt!==0){var I=lt&~Ut;I!==0?(ve=Nr(I),Le=Tr):(rr&=lt,rr!==0&&(ve=Nr(rr),Le=Tr))}else lt=Z&~Ut,lt!==0?(ve=Nr(lt),Le=Tr):rr!==0&&(ve=Nr(rr),Le=Tr);if(ve===0)return 0;if(ve=31-yi(ve),ve=Z&((0>ve?0:1<<ve)<<1)-1,A!==0&&A!==ve&&!(A&Ut)){if(Nr(A),Le<=Tr)return A;Tr=Le}if(A=v.entangledLanes,A!==0)for(v=v.entanglements,A&=ve;0<A;)Z=31-yi(A),Le=1<<Z,ve|=v[Z],A&=~Le;return ve}function tn(v){return v=v.pendingLanes&-1073741825,v!==0?v:v&1073741824?1073741824:0}function ln(v,A){switch(v){case 15:return 1;case 14:return 2;case 12:return v=En(24&~A),v===0?ln(10,A):v;case 10:return v=En(192&~A),v===0?ln(8,A):v;case 8:return v=En(3584&~A),v===0&&(v=En(4186112&~A),v===0&&(v=512)),v;case 2:return A=En(805306368&~A),A===0&&(A=268435456),A}throw Error(c(358,v))}function En(v){return v&-v}function la(v){for(var A=[],Z=0;31>Z;Z++)A.push(v);return A}function gi(v,A,Z){v.pendingLanes|=A;var ve=A-1;v.suspendedLanes&=ve,v.pingedLanes&=ve,v=v.eventTimes,A=31-yi(A),v[A]=Z}var yi=Math.clz32?Math.clz32:Fi,On=Math.log,Di=Math.LN2;function Fi(v){return v===0?32:31-(On(v)/Di|0)|0}var oa=l.unstable_UserBlockingPriority,ws=l.unstable_runWithPriority,Sa=!0;function Ha(v,A,Z,ve){Kr||kr();var Le=ja,lt=Kr;Kr=!0;try{Be(Le,v,A,Z,ve)}finally{(Kr=lt)||Ar()}}function Us(v,A,Z,ve){ws(oa,ja.bind(null,v,A,Z,ve))}function ja(v,A,Z,ve){if(Sa){var Le;if((Le=(A&4)===0)&&0<mi.length&&-1<Et.indexOf(v))v=ut(null,v,A,Z,ve),mi.push(v);else{var lt=na(v,A,Z,ve);if(lt===null)Le&&Xn(v,ve);else{if(Le){if(-1<Et.indexOf(v)){v=ut(lt,v,A,Z,ve),mi.push(v);return}if(qn(lt,v,A,Z,ve))return;Xn(v,ve)}jr(v,A,ve,null,Z)}}}}function na(v,A,Z,ve){var Le=Zt(ve);if(Le=Ba(Le),Le!==null){var lt=ot(Le);if(lt===null)Le=null;else{var Ut=lt.tag;if(Ut===13){if(Le=Fr(lt),Le!==null)return Le;Le=null}else if(Ut===3){if(lt.stateNode.hydrate)return lt.tag===3?lt.stateNode.containerInfo:null;Le=null}else lt!==Le&&(Le=null)}}return jr(v,A,ve,Le,Z),null}var Ai=null,Ci=null,qa=null;function Cs(){if(qa)return qa;var v,A=Ci,Z=A.length,ve,Le="value"in Ai?Ai.value:Ai.textContent,lt=Le.length;for(v=0;v<Z&&A[v]===Le[v];v++);var Ut=Z-v;for(ve=1;ve<=Ut&&A[Z-ve]===Le[lt-ve];ve++);return qa=Le.slice(v,1<ve?1-ve:void 0)}function Ni(v){var A=v.keyCode;return"charCode"in v?(v=v.charCode,v===0&&A===13&&(v=13)):v=A,v===10&&(v=13),32<=v||v===13?v:0}function Ts(){return!0}function xo(){return!1}function La(v){function A(Z,ve,Le,lt,Ut){this._reactName=Z,this._targetInst=Le,this.type=ve,this.nativeEvent=lt,this.target=Ut,this.currentTarget=null;for(var rr in v)v.hasOwnProperty(rr)&&(Z=v[rr],this[rr]=Z?Z(lt):lt[rr]);return this.isDefaultPrevented=(lt.defaultPrevented!=null?lt.defaultPrevented:lt.returnValue===!1)?Ts:xo,this.isPropagationStopped=xo,this}return i(A.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Z=this.nativeEvent;Z&&(Z.preventDefault?Z.preventDefault():typeof Z.returnValue!="unknown"&&(Z.returnValue=!1),this.isDefaultPrevented=Ts)},stopPropagation:function(){var Z=this.nativeEvent;Z&&(Z.stopPropagation?Z.stopPropagation():typeof Z.cancelBubble!="unknown"&&(Z.cancelBubble=!0),this.isPropagationStopped=Ts)},persist:function(){},isPersistent:Ts}),A}var hs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(v){return v.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hi=La(hs),Vs=i({},hs,{view:0,detail:0}),kn=La(Vs),Qa,uo,Ls,Ki=i({},Vs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wa,button:0,buttons:0,relatedTarget:function(v){return v.relatedTarget===void 0?v.fromElement===v.srcElement?v.toElement:v.fromElement:v.relatedTarget},movementX:function(v){return"movementX"in v?v.movementX:(v!==Ls&&(Ls&&v.type==="mousemove"?(Qa=v.screenX-Ls.screenX,uo=v.screenY-Ls.screenY):uo=Qa=0,Ls=v),Qa)},movementY:function(v){return"movementY"in v?v.movementY:uo}}),Aa=La(Ki),Da=i({},Ki,{dataTransfer:0}),cs=La(Da),zs=i({},Vs,{relatedTarget:0}),wo=La(zs),Eo=i({},hs,{animationName:0,elapsedTime:0,pseudoElement:0}),Zs=La(Eo),Ms=i({},hs,{clipboardData:function(v){return"clipboardData"in v?v.clipboardData:window.clipboardData}}),ca=La(Ms),fs=i({},hs,{data:0}),So=La(fs),fo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Io={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},li={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ai(v){var A=this.nativeEvent;return A.getModifierState?A.getModifierState(v):(v=li[v])?!!A[v]:!1}function Wa(){return ai}var ts=i({},Vs,{key:function(v){if(v.key){var A=fo[v.key]||v.key;if(A!=="Unidentified")return A}return v.type==="keypress"?(v=Ni(v),v===13?"Enter":String.fromCharCode(v)):v.type==="keydown"||v.type==="keyup"?Io[v.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wa,charCode:function(v){return v.type==="keypress"?Ni(v):0},keyCode:function(v){return v.type==="keydown"||v.type==="keyup"?v.keyCode:0},which:function(v){return v.type==="keypress"?Ni(v):v.type==="keydown"||v.type==="keyup"?v.keyCode:0}}),Ua=La(ts),Ao=i({},Ki,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Do=La(Ao),Fo=i({},Vs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wa}),Ja=La(Fo),du=i({},hs,{propertyName:0,elapsedTime:0,pseudoElement:0}),Co=La(du),Xo=i({},Ki,{deltaX:function(v){return"deltaX"in v?v.deltaX:"wheelDeltaX"in v?-v.wheelDeltaX:0},deltaY:function(v){return"deltaY"in v?v.deltaY:"wheelDeltaY"in v?-v.wheelDeltaY:"wheelDelta"in v?-v.wheelDelta:0},deltaZ:0,deltaMode:0}),hu=La(Xo),Pu=[9,13,27,32],To=a&&"CompositionEvent"in window,Ps=null;a&&"documentMode"in document&&(Ps=document.documentMode);var gu=a&&"TextEvent"in window&&!Ps,Bo=a&&(!To||Ps&&8<Ps&&11>=Ps),lo=" ",zo=!1;function ru(v,A){switch(v){case"keyup":return Pu.indexOf(A.keyCode)!==-1;case"keydown":return A.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qo(v){return v=v.detail,typeof v=="object"&&"data"in v?v.data:null}var Oo=!1;function Fs(v,A){switch(v){case"compositionend":return qo(A);case"keypress":return A.which!==32?null:(zo=!0,lo);case"textInput":return v=A.data,v===lo&&zo?null:v;default:return null}}function Xs(v,A){if(Oo)return v==="compositionend"||!To&&ru(v,A)?(v=Cs(),qa=Ci=Ai=null,Oo=!1,v):null;switch(v){case"paste":return null;case"keypress":if(!(A.ctrlKey||A.altKey||A.metaKey)||A.ctrlKey&&A.altKey){if(A.char&&1<A.char.length)return A.char;if(A.which)return String.fromCharCode(A.which)}return null;case"compositionend":return Bo&&A.locale!=="ko"?null:A.data;default:return null}}var il={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 ko(v){var A=v&&v.nodeName&&v.nodeName.toLowerCase();return A==="input"?!!il[v.type]:A==="textarea"}function qt(v,A,Z,ve){Ke(ve),A=rn(A,"onChange"),0<A.length&&(Z=new Hi("onChange","change",null,Z,ve),v.push({event:Z,listeners:A}))}var lr=null,sr=null;function vr(v){Ye(v,0)}function Er(v){var A=ho(v);if(st(A))return v}function yn(v,A){if(v==="change")return A}var xn=!1;if(a){var Bn;if(a){var Ln="oninput"in document;if(!Ln){var Kn=document.createElement("div");Kn.setAttribute("oninput","return;"),Ln=typeof Kn.oninput=="function"}Bn=Ln}else Bn=!1;xn=Bn&&(!document.documentMode||9<document.documentMode)}function or(){lr&&(lr.detachEvent("onpropertychange",Br),sr=lr=null)}function Br(v){if(v.propertyName==="value"&&Er(sr)){var A=[];if(qt(A,sr,v,Zt(v)),v=vr,Kr)v(A);else{Kr=!0;try{Rt(v,A)}finally{Kr=!1,Ar()}}}}function xr(v,A,Z){v==="focusin"?(or(),lr=A,sr=Z,lr.attachEvent("onpropertychange",Br)):v==="focusout"&&or()}function pn(v){if(v==="selectionchange"||v==="keyup"||v==="keydown")return Er(sr)}function jn(v,A){if(v==="click")return Er(A)}function ft(v,A){if(v==="input"||v==="change")return Er(A)}function Pn(v,A){return v===A&&(v!==0||1/v===1/A)||v!==v&&A!==A}var zn=typeof Object.is=="function"?Object.is:Pn,si=Object.prototype.hasOwnProperty;function qi(v,A){if(zn(v,A))return!0;if(typeof v!="object"||v===null||typeof A!="object"||A===null)return!1;var Z=Object.keys(v),ve=Object.keys(A);if(Z.length!==ve.length)return!1;for(ve=0;ve<Z.length;ve++)if(!si.call(A,Z[ve])||!zn(v[Z[ve]],A[Z[ve]]))return!1;return!0}function Hr(v){for(;v&&v.firstChild;)v=v.firstChild;return v}function ji(v,A){var Z=Hr(v);v=0;for(var ve;Z;){if(Z.nodeType===3){if(ve=v+Z.textContent.length,v<=A&&ve>=A)return{node:Z,offset:A-v};v=ve}e:{for(;Z;){if(Z.nextSibling){Z=Z.nextSibling;break e}Z=Z.parentNode}Z=void 0}Z=Hr(Z)}}function ma(v,A){return v&&A?v===A?!0:v&&v.nodeType===3?!1:A&&A.nodeType===3?ma(v,A.parentNode):"contains"in v?v.contains(A):v.compareDocumentPosition?!!(v.compareDocumentPosition(A)&16):!1:!1}function zr(){for(var v=window,A=bt();A instanceof v.HTMLIFrameElement;){try{var Z=typeof A.contentWindow.location.href=="string"}catch(ve){Z=!1}if(Z)v=A.contentWindow;else break;A=bt(v.document)}return A}function Ca(v){var A=v&&v.nodeName&&v.nodeName.toLowerCase();return A&&(A==="input"&&(v.type==="text"||v.type==="search"||v.type==="tel"||v.type==="url"||v.type==="password")||A==="textarea"||v.contentEditable==="true")}var Es=a&&"documentMode"in document&&11>=document.documentMode,fi=null,ro=null,po=null,ds=!1;function Oa(v,A,Z){var ve=Z.window===Z?Z.document:Z.nodeType===9?Z:Z.ownerDocument;ds||fi==null||fi!==bt(ve)||(ve=fi,"selectionStart"in ve&&Ca(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}),po&&qi(po,ve)||(po=ve,ve=rn(ro,"onSelect"),0<ve.length&&(A=new Hi("onSelect","select",null,A,Z),v.push({event:A,listeners:ve}),A.target=fi)))}Or("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),Or("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),Or(ir,2);for(var qs="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Bs=0;Bs<qs.length;Bs++)it.set(qs[Bs],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 bn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),gs=new Set("cancel close invalid load scroll toggle".split(" ").concat(bn));function Hs(v,A,Z){var ve=v.type||"unknown-event";v.currentTarget=Z,yr(ve,A,void 0,v),v.currentTarget=null}function Ye(v,A){A=(A&4)!==0;for(var Z=0;Z<v.length;Z++){var ve=v[Z],Le=ve.event;ve=ve.listeners;e:{var lt=void 0;if(A)for(var Ut=ve.length-1;0<=Ut;Ut--){var rr=ve[Ut],I=rr.instance,t=rr.currentTarget;if(rr=rr.listener,I!==lt&&Le.isPropagationStopped())break e;Hs(Le,rr,t),lt=I}else for(Ut=0;Ut<ve.length;Ut++){if(rr=ve[Ut],I=rr.instance,t=rr.currentTarget,rr=rr.listener,I!==lt&&Le.isPropagationStopped())break e;Hs(Le,rr,t),lt=I}}}if(vt)throw v=yt,vt=!1,yt=null,v}function qe(v,A){var Z=ba(A),ve=v+"__bubble";Z.has(ve)||(Lr(A,v,2,!1),Z.add(ve))}var Mt="_reactListening"+Math.random().toString(36).slice(2);function Gt(v){v[Mt]||(v[Mt]=!0,f.forEach(function(A){gs.has(A)||hr(A,!1,v,null),hr(A,!0,v,null)}))}function hr(v,A,Z,ve){var Le=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,lt=Z;if(v==="selectionchange"&&Z.nodeType!==9&&(lt=Z.ownerDocument),ve!==null&&!A&&gs.has(v)){if(v!=="scroll")return;Le|=2,lt=ve}var Ut=ba(lt),rr=v+"__"+(A?"capture":"bubble");Ut.has(rr)||(A&&(Le|=4),Lr(lt,v,Le,A),Ut.add(rr))}function Lr(v,A,Z,ve){var Le=it.get(A);switch(Le===void 0?2:Le){case 0:Le=Ha;break;case 1:Le=Us;break;default:Le=ja}Z=Le.bind(null,A,Z,v),Le=void 0,!Ur||A!=="touchstart"&&A!=="touchmove"&&A!=="wheel"||(Le=!0),ve?Le!==void 0?v.addEventListener(A,Z,{capture:!0,passive:Le}):v.addEventListener(A,Z,!0):Le!==void 0?v.addEventListener(A,Z,{passive:Le}):v.addEventListener(A,Z,!1)}function jr(v,A,Z,ve,Le){var lt=ve;if(!(A&1)&&!(A&2)&&ve!==null)e:for(;;){if(ve===null)return;var Ut=ve.tag;if(Ut===3||Ut===4){var rr=ve.stateNode.containerInfo;if(rr===Le||rr.nodeType===8&&rr.parentNode===Le)break;if(Ut===4)for(Ut=ve.return;Ut!==null;){var I=Ut.tag;if((I===3||I===4)&&(I=Ut.stateNode.containerInfo,I===Le||I.nodeType===8&&I.parentNode===Le))return;Ut=Ut.return}for(;rr!==null;){if(Ut=Ba(rr),Ut===null)return;if(I=Ut.tag,I===5||I===6){ve=lt=Ut;continue e}rr=rr.parentNode}}ve=ve.return}$r(function(){var t=lt,n=Zt(Z),o=[];e:{var m=we.get(v);if(m!==void 0){var w=Hi,P=v;switch(v){case"keypress":if(Ni(Z)===0)break e;case"keydown":case"keyup":w=Ua;break;case"focusin":P="focus",w=wo;break;case"focusout":P="blur",w=wo;break;case"beforeblur":case"afterblur":w=wo;break;case"click":if(Z.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=Aa;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=cs;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=Ja;break;case Ir:case Rr:case Ze:w=Zs;break;case et:w=Co;break;case"scroll":w=kn;break;case"wheel":w=hu;break;case"copy":case"cut":case"paste":w=ca;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=Do}var z=(A&4)!==0,H=!z&&v==="scroll",j=z?m!==null?m+"Capture":null:m;z=[];for(var se=t,ce;se!==null;){ce=se;var xe=ce.stateNode;if(ce.tag===5&&xe!==null&&(ce=xe,j!==null&&(xe=_r(se,j),xe!=null&&z.push(_n(se,xe,ce)))),H)break;se=se.return}0<z.length&&(m=new w(m,P,null,Z,n),o.push({event:m,listeners:z}))}}if(!(A&7)){e:{if(m=v==="mouseover"||v==="pointerover",w=v==="mouseout"||v==="pointerout",m&&!(A&16)&&(P=Z.relatedTarget||Z.fromElement)&&(Ba(P)||P[Oi]))break e;if((w||m)&&(m=n.window===n?n:(m=n.ownerDocument)?m.defaultView||m.parentWindow:window,w?(P=Z.relatedTarget||Z.toElement,w=t,P=P?Ba(P):null,P!==null&&(H=ot(P),P!==H||P.tag!==5&&P.tag!==6)&&(P=null)):(w=null,P=t),w!==P)){if(z=Aa,xe="onMouseLeave",j="onMouseEnter",se="mouse",(v==="pointerout"||v==="pointerover")&&(z=Do,xe="onPointerLeave",j="onPointerEnter",se="pointer"),H=w==null?m:ho(w),ce=P==null?m:ho(P),m=new z(xe,se+"leave",w,Z,n),m.target=H,m.relatedTarget=ce,xe=null,Ba(n)===t&&(z=new z(j,se+"enter",P,Z,n),z.target=ce,z.relatedTarget=H,xe=z),H=xe,w&&P)t:{for(z=w,j=P,se=0,ce=z;ce;ce=vn(ce))se++;for(ce=0,xe=j;xe;xe=vn(xe))ce++;for(;0<se-ce;)z=vn(z),se--;for(;0<ce-se;)j=vn(j),ce--;for(;se--;){if(z===j||j!==null&&z===j.alternate)break t;z=vn(z),j=vn(j)}z=null}else z=null;w!==null&&Wn(o,m,w,z,!1),P!==null&&H!==null&&Wn(o,H,P,z,!0)}}e:{if(m=t?ho(t):window,w=m.nodeName&&m.nodeName.toLowerCase(),w==="select"||w==="input"&&m.type==="file")var Ie=yn;else if(ko(m))if(xn)Ie=ft;else{Ie=pn;var Oe=xr}else(w=m.nodeName)&&w.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(Ie=jn);if(Ie&&(Ie=Ie(v,t))){qt(o,Ie,Z,n);break e}Oe&&Oe(v,m,t),v==="focusout"&&(Oe=m._wrapperState)&&Oe.controlled&&m.type==="number"&&Me(m,"number",m.value)}switch(Oe=t?ho(t):window,v){case"focusin":(ko(Oe)||Oe.contentEditable==="true")&&(fi=Oe,ro=t,po=null);break;case"focusout":po=ro=fi=null;break;case"mousedown":ds=!0;break;case"contextmenu":case"mouseup":case"dragend":ds=!1,Oa(o,Z,n);break;case"selectionchange":if(Es)break;case"keydown":case"keyup":Oa(o,Z,n)}var tt;if(To)e:{switch(v){case"compositionstart":var at="onCompositionStart";break e;case"compositionend":at="onCompositionEnd";break e;case"compositionupdate":at="onCompositionUpdate";break e}at=void 0}else Oo?ru(v,Z)&&(at="onCompositionEnd"):v==="keydown"&&Z.keyCode===229&&(at="onCompositionStart");at&&(Bo&&Z.locale!=="ko"&&(Oo||at!=="onCompositionStart"?at==="onCompositionEnd"&&Oo&&(tt=Cs()):(Ai=n,Ci="value"in Ai?Ai.value:Ai.textContent,Oo=!0)),Oe=rn(t,at),0<Oe.length&&(at=new So(at,v,null,Z,n),o.push({event:at,listeners:Oe}),tt?at.data=tt:(tt=qo(Z),tt!==null&&(at.data=tt)))),(tt=gu?Fs(v,Z):Xs(v,Z))&&(t=rn(t,"onBeforeInput"),0<t.length&&(n=new So("onBeforeInput","beforeinput",null,Z,n),o.push({event:n,listeners:t}),n.data=tt))}Ye(o,A)})}function _n(v,A,Z){return{instance:v,listener:A,currentTarget:Z}}function rn(v,A){for(var Z=A+"Capture",ve=[];v!==null;){var Le=v,lt=Le.stateNode;Le.tag===5&<!==null&&(Le=lt,lt=_r(v,Z),lt!=null&&ve.unshift(_n(v,lt,Le)),lt=_r(v,A),lt!=null&&ve.push(_n(v,lt,Le))),v=v.return}return ve}function vn(v){if(v===null)return null;do v=v.return;while(v&&v.tag!==5);return v||null}function Wn(v,A,Z,ve,Le){for(var lt=A._reactName,Ut=[];Z!==null&&Z!==ve;){var rr=Z,I=rr.alternate,t=rr.stateNode;if(I!==null&&I===ve)break;rr.tag===5&&t!==null&&(rr=t,Le?(I=_r(Z,lt),I!=null&&Ut.unshift(_n(Z,I,rr))):Le||(I=_r(Z,lt),I!=null&&Ut.push(_n(Z,I,rr)))),Z=Z.return}Ut.length!==0&&v.push({event:A,listeners:Ut})}function ti(){}var hi=null,Ii=null;function Qi(v,A){switch(v){case"button":case"input":case"select":case"textarea":return!!A.autoFocus}return!1}function Ri(v,A){return v==="textarea"||v==="option"||v==="noscript"||typeof A.children=="string"||typeof A.children=="number"||typeof A.dangerouslySetInnerHTML=="object"&&A.dangerouslySetInnerHTML!==null&&A.dangerouslySetInnerHTML.__html!=null}var Ei=typeof setTimeout=="function"?setTimeout:void 0,fa=typeof clearTimeout=="function"?clearTimeout:void 0;function Si(v){v.nodeType===1?v.textContent="":v.nodeType===9&&(v=v.body,v!=null&&(v.textContent=""))}function bi(v){for(;v!=null;v=v.nextSibling){var A=v.nodeType;if(A===1||A===3)break}return v}function da(v){v=v.previousSibling;for(var A=0;v;){if(v.nodeType===8){var Z=v.data;if(Z==="$"||Z==="$!"||Z==="$?"){if(A===0)return v;A--}else Z==="/$"&&A++}v=v.previousSibling}return null}var no=0;function Ss(v){return{$$typeof:F,toString:v,valueOf:v}}var Ma=Math.random().toString(36).slice(2),Fa="__reactFiber$"+Ma,Ga="__reactProps$"+Ma,Oi="__reactContainer$"+Ma,va="__reactEvents$"+Ma;function Ba(v){var A=v[Fa];if(A)return A;for(var Z=v.parentNode;Z;){if(A=Z[Oi]||Z[Fa]){if(Z=A.alternate,A.child!==null||Z!==null&&Z.child!==null)for(v=da(v);v!==null;){if(Z=v[Fa])return Z;v=da(v)}return A}v=Z,Z=v.parentNode}return null}function Ya(v){return v=v[Fa]||v[Oi],!v||v.tag!==5&&v.tag!==6&&v.tag!==13&&v.tag!==3?null:v}function ho(v){if(v.tag===5||v.tag===6)return v.stateNode;throw Error(c(33))}function rs(v){return v[Ga]||null}function ba(v){var A=v[va];return A===void 0&&(A=v[va]=new Set),A}var Ks=[],Ra=-1;function Ws(v){return{current:v}}function ha(v){0>Ra||(v.current=Ks[Ra],Ks[Ra]=null,Ra--)}function Va(v,A){Ra++,Ks[Ra]=v.current,v.current=A}var Is={},ga=Ws(Is),ye=Ws(!1),Se=Is;function gr(v,A){var Z=v.type.contextTypes;if(!Z)return Is;var ve=v.stateNode;if(ve&&ve.__reactInternalMemoizedUnmaskedChildContext===A)return ve.__reactInternalMemoizedMaskedChildContext;var Le={},lt;for(lt in Z)Le[lt]=A[lt];return ve&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=A,v.__reactInternalMemoizedMaskedChildContext=Le),Le}function Jr(v){return v=v.childContextTypes,v!=null}function br(){ha(ye),ha(ga)}function Yr(v,A,Z){if(ga.current!==Is)throw Error(c(168));Va(ga,A),Va(ye,Z)}function An(v,A,Z){var ve=v.stateNode;if(v=A.childContextTypes,typeof ve.getChildContext!="function")return Z;ve=ve.getChildContext();for(var Le in ve)if(!(Le in v))throw Error(c(108,er(A)||"Unknown",Le));return i({},Z,ve)}function Jn(v){return v=(v=v.stateNode)&&v.__reactInternalMemoizedMergedChildContext||Is,Se=ga.current,Va(ga,v),Va(ye,ye.current),!0}function Li(v,A,Z){var ve=v.stateNode;if(!ve)throw Error(c(169));Z?(v=An(v,A,Se),ve.__reactInternalMemoizedMergedChildContext=v,ha(ye),ha(ga),Va(ga,v)):ha(ye),Va(ye,Z)}var Rn=null,Mn=null,Cn=l.unstable_runWithPriority,ia=l.unstable_scheduleCallback,Na=l.unstable_cancelCallback,_o=l.unstable_shouldYield,io=l.unstable_requestPaint,nu=l.unstable_now,gl=l.unstable_getCurrentPriorityLevel,al=l.unstable_ImmediatePriority,Gu=l.unstable_UserBlockingPriority,Zc=l.unstable_NormalPriority,Iu=l.unstable_LowPriority,We=l.unstable_IdlePriority,W={},X=io!==void 0?io:function(){},te=null,pe=null,Te=!1,Ve=nu(),wt=1e4>Ve?nu:function(){return nu()-Ve};function Bt(){switch(gl()){case al:return 99;case Gu:return 98;case Zc:return 97;case Iu:return 96;case We:return 95;default:throw Error(c(332))}}function nr(v){switch(v){case 99:return al;case 98:return Gu;case 97:return Zc;case 96:return Iu;case 95:return We;default:throw Error(c(332))}}function Pr(v,A){return v=nr(v),Cn(v,A)}function Wr(v,A,Z){return v=nr(v),ia(v,A,Z)}function nn(){if(pe!==null){var v=pe;pe=null,Na(v)}wn()}function wn(){if(!Te&&te!==null){Te=!0;var v=0;try{var A=te;Pr(99,function(){for(;v<A.length;v++){var Z=A[v];do Z=Z(!0);while(Z!==null)}}),te=null}catch(Z){throw te!==null&&(te=te.slice(v+1)),ia(al,nn),Z}finally{Te=!1}}}var In=U.ReactCurrentBatchConfig;function Zn(v,A){if(v&&v.defaultProps){A=i({},A),v=v.defaultProps;for(var Z in v)A[Z]===void 0&&(A[Z]=v[Z]);return A}return A}var di=Ws(null),Sr=null,ea=null,aa=null;function os(){aa=ea=Sr=null}function Ka(v){var A=di.current;ha(di),v.type._context._currentValue=A}function ys(v,A){for(;v!==null;){var Z=v.alternate;if((v.childLanes&A)===A){if(Z===null||(Z.childLanes&A)===A)break;Z.childLanes|=A}else v.childLanes|=A,Z!==null&&(Z.childLanes|=A);v=v.return}}function bs(v,A){Sr=v,aa=ea=null,v=v.dependencies,v!==null&&v.firstContext!==null&&(v.lanes&A&&(Eu=!0),v.firstContext=null)}function Ta(v,A){if(aa!==v&&A!==!1&&A!==0)if((typeof A!="number"||A===1073741823)&&(aa=v,A=1073741823),A={context:v,observedBits:A,next:null},ea===null){if(Sr===null)throw Error(c(308));ea=A,Sr.dependencies={lanes:0,firstContext:A,responders:null}}else ea=ea.next=A;return v._currentValue}var Ns=!1;function $s(v){v.updateQueue={baseState:v.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function pa(v,A){v=v.updateQueue,A.updateQueue===v&&(A.updateQueue={baseState:v.baseState,firstBaseUpdate:v.firstBaseUpdate,lastBaseUpdate:v.lastBaseUpdate,shared:v.shared,effects:v.effects})}function Qs(v,A){return{eventTime:v,lane:A,tag:0,payload:null,callback:null,next:null}}function Po(v,A){if(v=v.updateQueue,v!==null){v=v.shared;var Z=v.pending;Z===null?A.next=A:(A.next=Z.next,Z.next=A),v.pending=A}}function Ro(v,A){var Z=v.updateQueue,ve=v.alternate;if(ve!==null&&(ve=ve.updateQueue,Z===ve)){var Le=null,lt=null;if(Z=Z.firstBaseUpdate,Z!==null){do{var Ut={eventTime:Z.eventTime,lane:Z.lane,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null};lt===null?Le=lt=Ut:lt=lt.next=Ut,Z=Z.next}while(Z!==null);lt===null?Le=lt=A:lt=lt.next=A}else Le=lt=A;Z={baseState:ve.baseState,firstBaseUpdate:Le,lastBaseUpdate:lt,shared:ve.shared,effects:ve.effects},v.updateQueue=Z;return}v=Z.lastBaseUpdate,v===null?Z.firstBaseUpdate=A:v.next=A,Z.lastBaseUpdate=A}function za(v,A,Z,ve){var Le=v.updateQueue;Ns=!1;var lt=Le.firstBaseUpdate,Ut=Le.lastBaseUpdate,rr=Le.shared.pending;if(rr!==null){Le.shared.pending=null;var I=rr,t=I.next;I.next=null,Ut===null?lt=t:Ut.next=t,Ut=I;var n=v.alternate;if(n!==null){n=n.updateQueue;var o=n.lastBaseUpdate;o!==Ut&&(o===null?n.firstBaseUpdate=t:o.next=t,n.lastBaseUpdate=I)}}if(lt!==null){o=Le.baseState,Ut=0,n=t=I=null;do{rr=lt.lane;var m=lt.eventTime;if((ve&rr)===rr){n!==null&&(n=n.next={eventTime:m,lane:0,tag:lt.tag,payload:lt.payload,callback:lt.callback,next:null});e:{var w=v,P=lt;switch(rr=A,m=Z,P.tag){case 1:if(w=P.payload,typeof w=="function"){o=w.call(m,o,rr);break e}o=w;break e;case 3:w.flags=w.flags&-4097|64;case 0:if(w=P.payload,rr=typeof w=="function"?w.call(m,o,rr):w,rr==null)break e;o=i({},o,rr);break e;case 2:Ns=!0}}lt.callback!==null&&(v.flags|=32,rr=Le.effects,rr===null?Le.effects=[lt]:rr.push(lt))}else m={eventTime:m,lane:rr,tag:lt.tag,payload:lt.payload,callback:lt.callback,next:null},n===null?(t=n=m,I=o):n=n.next=m,Ut|=rr;if(lt=lt.next,lt===null){if(rr=Le.shared.pending,rr===null)break;lt=rr.next,rr.next=null,Le.lastBaseUpdate=rr,Le.shared.pending=null}}while(!0);n===null&&(I=o),Le.baseState=I,Le.firstBaseUpdate=t,Le.lastBaseUpdate=n,ze|=Ut,v.lanes=Ut,v.memoizedState=o}}function mo(v,A,Z){if(v=A.effects,A.effects=null,v!==null)for(A=0;A<v.length;A++){var ve=v[A],Le=ve.callback;if(Le!==null){if(ve.callback=null,ve=Z,typeof Le!="function")throw Error(c(191,Le));Le.call(ve)}}}var iu=new r.Component().refs;function Al(v,A,Z,ve){A=v.memoizedState,Z=Z(ve,A),Z=Z==null?A:i({},A,Z),v.memoizedState=Z,v.lanes===0&&(v.updateQueue.baseState=Z)}var sl={isMounted:function(v){return(v=v._reactInternals)?ot(v)===v:!1},enqueueSetState:function(v,A,Z){v=v._reactInternals;var ve=Go(),Le=Zu(v),lt=Qs(ve,Le);lt.payload=A,Z!=null&&(lt.callback=Z),Po(v,lt),wl(v,Le,ve)},enqueueReplaceState:function(v,A,Z){v=v._reactInternals;var ve=Go(),Le=Zu(v),lt=Qs(ve,Le);lt.tag=1,lt.payload=A,Z!=null&&(lt.callback=Z),Po(v,lt),wl(v,Le,ve)},enqueueForceUpdate:function(v,A){v=v._reactInternals;var Z=Go(),ve=Zu(v),Le=Qs(Z,ve);Le.tag=2,A!=null&&(Le.callback=A),Po(v,Le),wl(v,ve,Z)}};function Za(v,A,Z,ve,Le,lt,Ut){return v=v.stateNode,typeof v.shouldComponentUpdate=="function"?v.shouldComponentUpdate(ve,lt,Ut):A.prototype&&A.prototype.isPureReactComponent?!qi(Z,ve)||!qi(Le,lt):!0}function Du(v,A,Z){var ve=!1,Le=Is,lt=A.contextType;return typeof lt=="object"&<!==null?lt=Ta(lt):(Le=Jr(A)?Se:ga.current,ve=A.contextTypes,lt=(ve=ve!=null)?gr(v,Le):Is),A=new A(Z,lt),v.memoizedState=A.state!==null&&A.state!==void 0?A.state:null,A.updater=sl,v.stateNode=A,A._reactInternals=v,ve&&(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=Le,v.__reactInternalMemoizedMaskedChildContext=lt),A}function ns(v,A,Z,ve){v=A.state,typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps(Z,ve),typeof A.UNSAFE_componentWillReceiveProps=="function"&&A.UNSAFE_componentWillReceiveProps(Z,ve),A.state!==v&&sl.enqueueReplaceState(A,A.state,null)}function pu(v,A,Z,ve){var Le=v.stateNode;Le.props=Z,Le.state=v.memoizedState,Le.refs=iu,$s(v);var lt=A.contextType;typeof lt=="object"&<!==null?Le.context=Ta(lt):(lt=Jr(A)?Se:ga.current,Le.context=gr(v,lt)),za(v,Z,Le,ve),Le.state=v.memoizedState,lt=A.getDerivedStateFromProps,typeof lt=="function"&&(Al(v,A,lt,Z),Le.state=v.memoizedState),typeof A.getDerivedStateFromProps=="function"||typeof Le.getSnapshotBeforeUpdate=="function"||typeof Le.UNSAFE_componentWillMount!="function"&&typeof Le.componentWillMount!="function"||(A=Le.state,typeof Le.componentWillMount=="function"&&Le.componentWillMount(),typeof Le.UNSAFE_componentWillMount=="function"&&Le.UNSAFE_componentWillMount(),A!==Le.state&&sl.enqueueReplaceState(Le,Le.state,null),za(v,Z,Le,ve),Le.state=v.memoizedState),typeof Le.componentDidMount=="function"&&(v.flags|=4)}var Ou=Array.isArray;function No(v,A,Z){if(v=Z.ref,v!==null&&typeof v!="function"&&typeof v!="object"){if(Z._owner){if(Z=Z._owner,Z){if(Z.tag!==1)throw Error(c(309));var ve=Z.stateNode}if(!ve)throw Error(c(147,v));var Le=""+v;return A!==null&&A.ref!==null&&typeof A.ref=="function"&&A.ref._stringRef===Le?A.ref:(A=function(lt){var Ut=ve.refs;Ut===iu&&(Ut=ve.refs={}),lt===null?delete Ut[Le]:Ut[Le]=lt},A._stringRef=Le,A)}if(typeof v!="string")throw Error(c(284));if(!Z._owner)throw Error(c(290,v))}return v}function vo(v,A){if(v.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(A)==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":A))}function Vu(v){function A(H,j){if(v){var se=H.lastEffect;se!==null?(se.nextEffect=j,H.lastEffect=j):H.firstEffect=H.lastEffect=j,j.nextEffect=null,j.flags=8}}function Z(H,j){if(!v)return null;for(;j!==null;)A(H,j),j=j.sibling;return null}function ve(H,j){for(H=new Map;j!==null;)j.key!==null?H.set(j.key,j):H.set(j.index,j),j=j.sibling;return H}function Le(H,j){return H=ml(H,j),H.index=0,H.sibling=null,H}function lt(H,j,se){return H.index=se,v?(se=H.alternate,se!==null?(se=se.index,se<j?(H.flags=2,j):se):(H.flags=2,j)):j}function Ut(H){return v&&H.alternate===null&&(H.flags=2),H}function rr(H,j,se,ce){return j===null||j.tag!==6?(j=pf(se,H.mode,ce),j.return=H,j):(j=Le(j,se),j.return=H,j)}function I(H,j,se,ce){return j!==null&&j.elementType===se.type?(ce=Le(j,se.props),ce.ref=No(H,j,se),ce.return=H,ce):(ce=jl(se.type,se.key,se.props,null,H.mode,ce),ce.ref=No(H,j,se),ce.return=H,ce)}function t(H,j,se,ce){return j===null||j.tag!==4||j.stateNode.containerInfo!==se.containerInfo||j.stateNode.implementation!==se.implementation?(j=Bc(se,H.mode,ce),j.return=H,j):(j=Le(j,se.children||[]),j.return=H,j)}function n(H,j,se,ce,xe){return j===null||j.tag!==7?(j=Ko(se,H.mode,ce,xe),j.return=H,j):(j=Le(j,se),j.return=H,j)}function o(H,j,se){if(typeof j=="string"||typeof j=="number")return j=pf(""+j,H.mode,se),j.return=H,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case V:return se=jl(j.type,j.key,j.props,null,H.mode,se),se.ref=No(H,null,j),se.return=H,se;case K:return j=Bc(j,H.mode,se),j.return=H,j}if(Ou(j)||je(j))return j=Ko(j,H.mode,se,null),j.return=H,j;vo(H,j)}return null}function m(H,j,se,ce){var xe=j!==null?j.key:null;if(typeof se=="string"||typeof se=="number")return xe!==null?null:rr(H,j,""+se,ce);if(typeof se=="object"&&se!==null){switch(se.$$typeof){case V:return se.key===xe?se.type===G?n(H,j,se.props.children,ce,xe):I(H,j,se,ce):null;case K:return se.key===xe?t(H,j,se,ce):null}if(Ou(se)||je(se))return xe!==null?null:n(H,j,se,ce,null);vo(H,se)}return null}function w(H,j,se,ce,xe){if(typeof ce=="string"||typeof ce=="number")return H=H.get(se)||null,rr(j,H,""+ce,xe);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case V:return H=H.get(ce.key===null?se:ce.key)||null,ce.type===G?n(j,H,ce.props.children,xe,ce.key):I(j,H,ce,xe);case K:return H=H.get(ce.key===null?se:ce.key)||null,t(j,H,ce,xe)}if(Ou(ce)||je(ce))return H=H.get(se)||null,n(j,H,ce,xe,null);vo(j,ce)}return null}function P(H,j,se,ce){for(var xe=null,Ie=null,Oe=j,tt=j=0,at=null;Oe!==null&&tt<se.length;tt++){Oe.index>tt?(at=Oe,Oe=null):at=Oe.sibling;var Nt=m(H,Oe,se[tt],ce);if(Nt===null){Oe===null&&(Oe=at);break}v&&Oe&&Nt.alternate===null&&A(H,Oe),j=lt(Nt,j,tt),Ie===null?xe=Nt:Ie.sibling=Nt,Ie=Nt,Oe=at}if(tt===se.length)return Z(H,Oe),xe;if(Oe===null){for(;tt<se.length;tt++)Oe=o(H,se[tt],ce),Oe!==null&&(j=lt(Oe,j,tt),Ie===null?xe=Oe:Ie.sibling=Oe,Ie=Oe);return xe}for(Oe=ve(H,Oe);tt<se.length;tt++)at=w(Oe,H,tt,se[tt],ce),at!==null&&(v&&at.alternate!==null&&Oe.delete(at.key===null?tt:at.key),j=lt(at,j,tt),Ie===null?xe=at:Ie.sibling=at,Ie=at);return v&&Oe.forEach(function(dr){return A(H,dr)}),xe}function z(H,j,se,ce){var xe=je(se);if(typeof xe!="function")throw Error(c(150));if(se=xe.call(se),se==null)throw Error(c(151));for(var Ie=xe=null,Oe=j,tt=j=0,at=null,Nt=se.next();Oe!==null&&!Nt.done;tt++,Nt=se.next()){Oe.index>tt?(at=Oe,Oe=null):at=Oe.sibling;var dr=m(H,Oe,Nt.value,ce);if(dr===null){Oe===null&&(Oe=at);break}v&&Oe&&dr.alternate===null&&A(H,Oe),j=lt(dr,j,tt),Ie===null?xe=dr:Ie.sibling=dr,Ie=dr,Oe=at}if(Nt.done)return Z(H,Oe),xe;if(Oe===null){for(;!Nt.done;tt++,Nt=se.next())Nt=o(H,Nt.value,ce),Nt!==null&&(j=lt(Nt,j,tt),Ie===null?xe=Nt:Ie.sibling=Nt,Ie=Nt);return xe}for(Oe=ve(H,Oe);!Nt.done;tt++,Nt=se.next())Nt=w(Oe,H,tt,Nt.value,ce),Nt!==null&&(v&&Nt.alternate!==null&&Oe.delete(Nt.key===null?tt:Nt.key),j=lt(Nt,j,tt),Ie===null?xe=Nt:Ie.sibling=Nt,Ie=Nt);return v&&Oe.forEach(function(ar){return A(H,ar)}),xe}return function(H,j,se,ce){var xe=typeof se=="object"&&se!==null&&se.type===G&&se.key===null;xe&&(se=se.props.children);var Ie=typeof se=="object"&&se!==null;if(Ie)switch(se.$$typeof){case V:e:{for(Ie=se.key,xe=j;xe!==null;){if(xe.key===Ie){switch(xe.tag){case 7:if(se.type===G){Z(H,xe.sibling),j=Le(xe,se.props.children),j.return=H,H=j;break e}break;default:if(xe.elementType===se.type){Z(H,xe.sibling),j=Le(xe,se.props),j.ref=No(H,xe,se),j.return=H,H=j;break e}}Z(H,xe);break}else A(H,xe);xe=xe.sibling}se.type===G?(j=Ko(se.props.children,H.mode,ce,se.key),j.return=H,H=j):(ce=jl(se.type,se.key,se.props,null,H.mode,ce),ce.ref=No(H,j,se),ce.return=H,H=ce)}return Ut(H);case K:e:{for(xe=se.key;j!==null;){if(j.key===xe)if(j.tag===4&&j.stateNode.containerInfo===se.containerInfo&&j.stateNode.implementation===se.implementation){Z(H,j.sibling),j=Le(j,se.children||[]),j.return=H,H=j;break e}else{Z(H,j);break}else A(H,j);j=j.sibling}j=Bc(se,H.mode,ce),j.return=H,H=j}return Ut(H)}if(typeof se=="string"||typeof se=="number")return se=""+se,j!==null&&j.tag===6?(Z(H,j.sibling),j=Le(j,se),j.return=H,H=j):(Z(H,j),j=pf(se,H.mode,ce),j.return=H,H=j),Ut(H);if(Ou(se))return P(H,j,se,ce);if(je(se))return z(H,j,se,ce);if(Ie&&vo(H,se),typeof se=="undefined"&&!xe)switch(H.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,er(H.type)||"Component"))}return Z(H,j)}}var au=Vu(!0),Wl=Vu(!1),Js={},Zo=Ws(Js),ku=Ws(Js),Gl=Ws(Js);function yu(v){if(v===Js)throw Error(c(174));return v}function lc(v,A){switch(Va(Gl,A),Va(ku,v),Va(Zo,Js),v=A.nodeType,v){case 9:case 11:A=(A=A.documentElement)?A.namespaceURI:kt(null,"");break;default:v=v===8?A.parentNode:A,A=v.namespaceURI||null,v=v.tagName,A=kt(A,v)}ha(Zo),Va(Zo,A)}function Ku(){ha(Zo),ha(ku),ha(Gl)}function ol(v){yu(Gl.current);var A=yu(Zo.current),Z=kt(A,v.type);A!==Z&&(Va(ku,v),Va(Zo,Z))}function Cc(v){ku.current===v&&(ha(Zo),ha(ku))}var ao=Ws(0);function cc(v){for(var A=v;A!==null;){if(A.tag===13){var Z=A.memoizedState;if(Z!==null&&(Z=Z.dehydrated,Z===null||Z.data==="$?"||Z.data==="$!"))return A}else if(A.tag===19&&A.memoizedProps.revealOrder!==void 0){if(A.flags&64)return A}else if(A.child!==null){A.child.return=A,A=A.child;continue}if(A===v)break;for(;A.sibling===null;){if(A.return===null||A.return===v)return null;A=A.return}A.sibling.return=A.return,A=A.sibling}return null}var su=null,ul=null,ou=!1;function Tc(v,A){var Z=Vo(5,null,null,0);Z.elementType="DELETED",Z.type="DELETED",Z.stateNode=A,Z.return=v,Z.flags=8,v.lastEffect!==null?(v.lastEffect.nextEffect=Z,v.lastEffect=Z):v.firstEffect=v.lastEffect=Z}function Hc(v,A){switch(v.tag){case 5:var Z=v.type;return A=A.nodeType!==1||Z.toLowerCase()!==A.nodeName.toLowerCase()?null:A,A!==null?(v.stateNode=A,!0):!1;case 6:return A=v.pendingProps===""||A.nodeType!==3?null:A,A!==null?(v.stateNode=A,!0):!1;case 13:return!1;default:return!1}}function oi(v){if(ou){var A=ul;if(A){var Z=A;if(!Hc(v,A)){if(A=bi(Z.nextSibling),!A||!Hc(v,A)){v.flags=v.flags&-1025|2,ou=!1,su=v;return}Tc(su,Z)}su=v,ul=bi(A.firstChild)}else v.flags=v.flags&-1025|2,ou=!1,su=v}}function Pc(v){for(v=v.return;v!==null&&v.tag!==5&&v.tag!==3&&v.tag!==13;)v=v.return;su=v}function Wc(v){if(v!==su)return!1;if(!ou)return Pc(v),ou=!0,!1;var A=v.type;if(v.tag!==5||A!=="head"&&A!=="body"&&!Ri(A,v.memoizedProps))for(A=ul;A;)Tc(v,A),A=bi(A.nextSibling);if(Pc(v),v.tag===13){if(v=v.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(c(317));e:{for(v=v.nextSibling,A=0;v;){if(v.nodeType===8){var Z=v.data;if(Z==="/$"){if(A===0){ul=bi(v.nextSibling);break e}A--}else Z!=="$"&&Z!=="$!"&&Z!=="$?"||A++}v=v.nextSibling}ul=null}}else ul=su?bi(v.stateNode.nextSibling):null;return!0}function $o(){ul=su=null,ou=!1}var Cl=[];function Ic(){for(var v=0;v<Cl.length;v++)Cl[v]._workInProgressVersionPrimary=null;Cl.length=0}var Vl=U.ReactCurrentDispatcher,bu=U.ReactCurrentBatchConfig,Kl=0,$a=null,eo=null,Ho=null,Yu=!1,Yl=!1;function Qo(){throw Error(c(321))}function Dc(v,A){if(A===null)return!1;for(var Z=0;Z<A.length&&Z<v.length;Z++)if(!zn(v[Z],A[Z]))return!1;return!0}function xu(v,A,Z,ve,Le,lt){if(Kl=lt,$a=A,A.memoizedState=null,A.updateQueue=null,A.lanes=0,Vl.current=v===null||v.memoizedState===null?uf:Mc,v=Z(ve,Le),Yl){lt=0;do{if(Yl=!1,!(25>lt))throw Error(c(301));lt+=1,Ho=eo=null,A.updateQueue=null,Vl.current=Gc,v=Z(ve,Le)}while(Yl)}if(Vl.current=ql,A=eo!==null&&eo.next!==null,Kl=0,Ho=eo=$a=null,Yu=!1,A)throw Error(c(300));return v}function Ru(){var v={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ho===null?$a.memoizedState=Ho=v:Ho=Ho.next=v,Ho}function wu(){if(eo===null){var v=$a.alternate;v=v!==null?v.memoizedState:null}else v=eo.next;var A=Ho===null?$a.memoizedState:Ho.next;if(A!==null)Ho=A,eo=v;else{if(v===null)throw Error(c(310));eo=v,v={memoizedState:eo.memoizedState,baseState:eo.baseState,baseQueue:eo.baseQueue,queue:eo.queue,next:null},Ho===null?$a.memoizedState=Ho=v:Ho=Ho.next=v}return Ho}function Lu(v,A){return typeof A=="function"?A(v):A}function fc(v){var A=wu(),Z=A.queue;if(Z===null)throw Error(c(311));Z.lastRenderedReducer=v;var ve=eo,Le=ve.baseQueue,lt=Z.pending;if(lt!==null){if(Le!==null){var Ut=Le.next;Le.next=lt.next,lt.next=Ut}ve.baseQueue=Le=lt,Z.pending=null}if(Le!==null){Le=Le.next,ve=ve.baseState;var rr=Ut=lt=null,I=Le;do{var t=I.lane;if((Kl&t)===t)rr!==null&&(rr=rr.next={lane:0,action:I.action,eagerReducer:I.eagerReducer,eagerState:I.eagerState,next:null}),ve=I.eagerReducer===v?I.eagerState:v(ve,I.action);else{var n={lane:t,action:I.action,eagerReducer:I.eagerReducer,eagerState:I.eagerState,next:null};rr===null?(Ut=rr=n,lt=ve):rr=rr.next=n,$a.lanes|=t,ze|=t}I=I.next}while(I!==null&&I!==Le);rr===null?lt=ve:rr.next=Ut,zn(ve,A.memoizedState)||(Eu=!0),A.memoizedState=ve,A.baseState=lt,A.baseQueue=rr,Z.lastRenderedState=ve}return[A.memoizedState,Z.dispatch]}function Tl(v){var A=wu(),Z=A.queue;if(Z===null)throw Error(c(311));Z.lastRenderedReducer=v;var ve=Z.dispatch,Le=Z.pending,lt=A.memoizedState;if(Le!==null){Z.pending=null;var Ut=Le=Le.next;do lt=v(lt,Ut.action),Ut=Ut.next;while(Ut!==Le);zn(lt,A.memoizedState)||(Eu=!0),A.memoizedState=lt,A.baseQueue===null&&(A.baseState=lt),Z.lastRenderedState=lt}return[lt,ve]}function ka(v,A,Z){var ve=A._getVersion;ve=ve(A._source);var Le=A._workInProgressVersionPrimary;if(Le!==null?v=Le===ve:(v=v.mutableReadLanes,(v=(Kl&v)===v)&&(A._workInProgressVersionPrimary=ve,Cl.push(A))),v)return Z(A._source);throw Cl.push(A),Error(c(350))}function sf(v,A,Z,ve){var Le=_s;if(Le===null)throw Error(c(349));var lt=A._getVersion,Ut=lt(A._source),rr=Vl.current,I=rr.useState(function(){return ka(Le,A,Z)}),t=I[1],n=I[0];I=Ho;var o=v.memoizedState,m=o.refs,w=m.getSnapshot,P=o.source;o=o.subscribe;var z=$a;return v.memoizedState={refs:m,source:A,subscribe:ve},rr.useEffect(function(){m.getSnapshot=Z,m.setSnapshot=t;var H=lt(A._source);if(!zn(Ut,H)){H=Z(A._source),zn(n,H)||(t(H),H=Zu(z),Le.mutableReadLanes|=H&Le.pendingLanes),H=Le.mutableReadLanes,Le.entangledLanes|=H;for(var j=Le.entanglements,se=H;0<se;){var ce=31-yi(se),xe=1<<ce;j[ce]|=H,se&=~xe}}},[Z,A,ve]),rr.useEffect(function(){return ve(A._source,function(){var H=m.getSnapshot,j=m.setSnapshot;try{j(H(A._source));var se=Zu(z);Le.mutableReadLanes|=se&Le.pendingLanes}catch(ce){j(function(){throw ce})}})},[A,ve]),zn(w,Z)&&zn(P,A)&&zn(o,ve)||(v={pending:null,dispatch:null,lastRenderedReducer:Lu,lastRenderedState:n},v.dispatch=t=Lc.bind(null,$a,v),I.queue=v,I.baseQueue=null,n=ka(Le,A,Z),I.memoizedState=I.baseState=n),n}function of(v,A,Z){var ve=wu();return sf(ve,v,A,Z)}function Mu(v){var A=Ru();return typeof v=="function"&&(v=v()),A.memoizedState=A.baseState=v,v=A.queue={pending:null,dispatch:null,lastRenderedReducer:Lu,lastRenderedState:v},v=v.dispatch=Lc.bind(null,$a,v),[A.memoizedState,v]}function Xu(v,A,Z,ve){return v={tag:v,create:A,destroy:Z,deps:ve,next:null},A=$a.updateQueue,A===null?(A={lastEffect:null},$a.updateQueue=A,A.lastEffect=v.next=v):(Z=A.lastEffect,Z===null?A.lastEffect=v.next=v:(ve=Z.next,Z.next=v,v.next=ve,A.lastEffect=v)),v}function wf(v){var A=Ru();return v={current:v},A.memoizedState=v}function Oc(){return wu().memoizedState}function uu(v,A,Z,ve){var Le=Ru();$a.flags|=v,Le.memoizedState=Xu(1|A,Z,void 0,ve===void 0?null:ve)}function kc(v,A,Z,ve){var Le=wu();ve=ve===void 0?null:ve;var lt=void 0;if(eo!==null){var Ut=eo.memoizedState;if(lt=Ut.destroy,ve!==null&&Dc(ve,Ut.deps)){Xu(A,Z,lt,ve);return}}$a.flags|=v,Le.memoizedState=Xu(1|A,Z,lt,ve)}function dc(v,A){return uu(516,4,v,A)}function Xl(v,A){return kc(516,4,v,A)}function Rc(v,A){return kc(4,2,v,A)}function hc(v,A){if(typeof A=="function")return v=v(),A(v),function(){A(null)};if(A!=null)return v=v(),A.current=v,function(){A.current=null}}function Jo(v,A,Z){return Z=Z!=null?Z.concat([v]):null,kc(4,2,hc.bind(null,A,v),Z)}function qu(){}function Pl(v,A){var Z=wu();A=A===void 0?null:A;var ve=Z.memoizedState;return ve!==null&&A!==null&&Dc(A,ve[1])?ve[0]:(Z.memoizedState=[v,A],v)}function pc(v,A){var Z=wu();A=A===void 0?null:A;var ve=Z.memoizedState;return ve!==null&&A!==null&&Dc(A,ve[1])?ve[0]:(v=v(),Z.memoizedState=[v,A],v)}function _c(v,A){var Z=Bt();Pr(98>Z?98:Z,function(){v(!0)}),Pr(97<Z?97:Z,function(){var ve=bu.transition;bu.transition=1;try{v(!1),A()}finally{bu.transition=ve}})}function Lc(v,A,Z){var ve=Go(),Le=Zu(v),lt={lane:Le,action:Z,eagerReducer:null,eagerState:null,next:null},Ut=A.pending;if(Ut===null?lt.next=lt:(lt.next=Ut.next,Ut.next=lt),A.pending=lt,Ut=v.alternate,v===$a||Ut!==null&&Ut===$a)Yl=Yu=!0;else{if(v.lanes===0&&(Ut===null||Ut.lanes===0)&&(Ut=A.lastRenderedReducer,Ut!==null))try{var rr=A.lastRenderedState,I=Ut(rr,Z);if(lt.eagerReducer=Ut,lt.eagerState=I,zn(I,rr))return}catch(t){}finally{}wl(v,Le,ve)}}var ql={readContext:Ta,useCallback:Qo,useContext:Qo,useEffect:Qo,useImperativeHandle:Qo,useLayoutEffect:Qo,useMemo:Qo,useReducer:Qo,useRef:Qo,useState:Qo,useDebugValue:Qo,useDeferredValue:Qo,useTransition:Qo,useMutableSource:Qo,useOpaqueIdentifier:Qo,unstable_isNewReconciler:!1},uf={readContext:Ta,useCallback:function(v,A){return Ru().memoizedState=[v,A===void 0?null:A],v},useContext:Ta,useEffect:dc,useImperativeHandle:function(v,A,Z){return Z=Z!=null?Z.concat([v]):null,uu(4,2,hc.bind(null,A,v),Z)},useLayoutEffect:function(v,A){return uu(4,2,v,A)},useMemo:function(v,A){var Z=Ru();return A=A===void 0?null:A,v=v(),Z.memoizedState=[v,A],v},useReducer:function(v,A,Z){var ve=Ru();return A=Z!==void 0?Z(A):A,ve.memoizedState=ve.baseState=A,v=ve.queue={pending:null,dispatch:null,lastRenderedReducer:v,lastRenderedState:A},v=v.dispatch=Lc.bind(null,$a,v),[ve.memoizedState,v]},useRef:wf,useState:Mu,useDebugValue:qu,useDeferredValue:function(v){var A=Mu(v),Z=A[0],ve=A[1];return dc(function(){var Le=bu.transition;bu.transition=1;try{ve(v)}finally{bu.transition=Le}},[v]),Z},useTransition:function(){var v=Mu(!1),A=v[0];return v=_c.bind(null,v[1]),wf(v),[v,A]},useMutableSource:function(v,A,Z){var ve=Ru();return ve.memoizedState={refs:{getSnapshot:A,setSnapshot:null},source:v,subscribe:Z},sf(ve,v,A,Z)},useOpaqueIdentifier:function(){if(ou){var v=!1,A=Ss(function(){throw v||(v=!0,Z("r:"+(no++).toString(36))),Error(c(355))}),Z=Mu(A)[1];return!($a.mode&2)&&($a.flags|=516,Xu(5,function(){Z("r:"+(no++).toString(36))},void 0,null)),A}return A="r:"+(no++).toString(36),Mu(A),A},unstable_isNewReconciler:!1},Mc={readContext:Ta,useCallback:Pl,useContext:Ta,useEffect:Xl,useImperativeHandle:Jo,useLayoutEffect:Rc,useMemo:pc,useReducer:fc,useRef:Oc,useState:function(){return fc(Lu)},useDebugValue:qu,useDeferredValue:function(v){var A=fc(Lu),Z=A[0],ve=A[1];return Xl(function(){var Le=bu.transition;bu.transition=1;try{ve(v)}finally{bu.transition=Le}},[v]),Z},useTransition:function(){var v=fc(Lu)[0];return[Oc().current,v]},useMutableSource:of,useOpaqueIdentifier:function(){return fc(Lu)[0]},unstable_isNewReconciler:!1},Gc={readContext:Ta,useCallback:Pl,useContext:Ta,useEffect:Xl,useImperativeHandle:Jo,useLayoutEffect:Rc,useMemo:pc,useReducer:Tl,useRef:Oc,useState:function(){return Tl(Lu)},useDebugValue:qu,useDeferredValue:function(v){var A=Tl(Lu),Z=A[0],ve=A[1];return Xl(function(){var Le=bu.transition;bu.transition=1;try{ve(v)}finally{bu.transition=Le}},[v]),Z},useTransition:function(){var v=Tl(Lu)[0];return[Oc().current,v]},useMutableSource:of,useOpaqueIdentifier:function(){return Tl(Lu)[0]},unstable_isNewReconciler:!1},Fu=U.ReactCurrentOwner,Eu=!1;function ps(v,A,Z,ve){A.child=v===null?Wl(A,null,Z,ve):au(A,v.child,Z,ve)}function Vc(v,A,Z,ve,Le){Z=Z.render;var lt=A.ref;return bs(A,Le),ve=xu(v,A,Z,ve,lt,Le),v!==null&&!Eu?(A.updateQueue=v.updateQueue,A.flags&=-517,v.lanes&=~Le,Mo(v,A,Le)):(A.flags|=1,ps(v,A,ve,Le),A.child)}function lf(v,A,Z,ve,Le,lt){if(v===null){var Ut=Z.type;return typeof Ut=="function"&&!Jc(Ut)&&Ut.defaultProps===void 0&&Z.compare===null&&Z.defaultProps===void 0?(A.tag=15,A.type=Ut,mc(v,A,Ut,ve,Le,lt)):(v=jl(Z.type,null,ve,A,A.mode,lt),v.ref=A.ref,v.return=A,A.child=v)}return Ut=v.child,!(Le<)&&(Le=Ut.memoizedProps,Z=Z.compare,Z=Z!==null?Z:qi,Z(Le,ve)&&v.ref===A.ref)?Mo(v,A,lt):(A.flags|=1,v=ml(Ut,ve),v.ref=A.ref,v.return=A,A.child=v)}function mc(v,A,Z,ve,Le,lt){if(v!==null&&qi(v.memoizedProps,ve)&&v.ref===A.ref)if(Eu=!1,(lt&Le)!==0)v.flags&16384&&(Eu=!0);else return A.lanes=v.lanes,Mo(v,A,lt);return Lo(v,A,Z,ve,lt)}function so(v,A,Z){var ve=A.pendingProps,Le=ve.children,lt=v!==null?v.memoizedState:null;if(ve.mode==="hidden"||ve.mode==="unstable-defer-without-hiding")if(!(A.mode&4))A.memoizedState={baseLanes:0},Ui(A,Z);else if(Z&1073741824)A.memoizedState={baseLanes:0},Ui(A,lt!==null?lt.baseLanes:Z);else return v=lt!==null?lt.baseLanes|Z:Z,A.lanes=A.childLanes=1073741824,A.memoizedState={baseLanes:v},Ui(A,v),null;else lt!==null?(ve=lt.baseLanes|Z,A.memoizedState=null):ve=Z,Ui(A,ve);return ps(v,A,Le,Z),A.child}function vc(v,A){var Z=A.ref;(v===null&&Z!==null||v!==null&&v.ref!==Z)&&(A.flags|=128)}function Lo(v,A,Z,ve,Le){var lt=Jr(Z)?Se:ga.current;return lt=gr(A,lt),bs(A,Le),Z=xu(v,A,Z,ve,lt,Le),v!==null&&!Eu?(A.updateQueue=v.updateQueue,A.flags&=-517,v.lanes&=~Le,Mo(v,A,Le)):(A.flags|=1,ps(v,A,Z,Le),A.child)}function Ql(v,A,Z,ve,Le){if(Jr(Z)){var lt=!0;Jn(A)}else lt=!1;if(bs(A,Le),A.stateNode===null)v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),Du(A,Z,ve),pu(A,Z,ve,Le),ve=!0;else if(v===null){var Ut=A.stateNode,rr=A.memoizedProps;Ut.props=rr;var I=Ut.context,t=Z.contextType;typeof t=="object"&&t!==null?t=Ta(t):(t=Jr(Z)?Se:ga.current,t=gr(A,t));var n=Z.getDerivedStateFromProps,o=typeof n=="function"||typeof Ut.getSnapshotBeforeUpdate=="function";o||typeof Ut.UNSAFE_componentWillReceiveProps!="function"&&typeof Ut.componentWillReceiveProps!="function"||(rr!==ve||I!==t)&&ns(A,Ut,ve,t),Ns=!1;var m=A.memoizedState;Ut.state=m,za(A,ve,Ut,Le),I=A.memoizedState,rr!==ve||m!==I||ye.current||Ns?(typeof n=="function"&&(Al(A,Z,n,ve),I=A.memoizedState),(rr=Ns||Za(A,Z,rr,ve,m,I,t))?(o||typeof Ut.UNSAFE_componentWillMount!="function"&&typeof Ut.componentWillMount!="function"||(typeof Ut.componentWillMount=="function"&&Ut.componentWillMount(),typeof Ut.UNSAFE_componentWillMount=="function"&&Ut.UNSAFE_componentWillMount()),typeof Ut.componentDidMount=="function"&&(A.flags|=4)):(typeof Ut.componentDidMount=="function"&&(A.flags|=4),A.memoizedProps=ve,A.memoizedState=I),Ut.props=ve,Ut.state=I,Ut.context=t,ve=rr):(typeof Ut.componentDidMount=="function"&&(A.flags|=4),ve=!1)}else{Ut=A.stateNode,pa(v,A),rr=A.memoizedProps,t=A.type===A.elementType?rr:Zn(A.type,rr),Ut.props=t,o=A.pendingProps,m=Ut.context,I=Z.contextType,typeof I=="object"&&I!==null?I=Ta(I):(I=Jr(Z)?Se:ga.current,I=gr(A,I));var w=Z.getDerivedStateFromProps;(n=typeof w=="function"||typeof Ut.getSnapshotBeforeUpdate=="function")||typeof Ut.UNSAFE_componentWillReceiveProps!="function"&&typeof Ut.componentWillReceiveProps!="function"||(rr!==o||m!==I)&&ns(A,Ut,ve,I),Ns=!1,m=A.memoizedState,Ut.state=m,za(A,ve,Ut,Le);var P=A.memoizedState;rr!==o||m!==P||ye.current||Ns?(typeof w=="function"&&(Al(A,Z,w,ve),P=A.memoizedState),(t=Ns||Za(A,Z,t,ve,m,P,I))?(n||typeof Ut.UNSAFE_componentWillUpdate!="function"&&typeof Ut.componentWillUpdate!="function"||(typeof Ut.componentWillUpdate=="function"&&Ut.componentWillUpdate(ve,P,I),typeof Ut.UNSAFE_componentWillUpdate=="function"&&Ut.UNSAFE_componentWillUpdate(ve,P,I)),typeof Ut.componentDidUpdate=="function"&&(A.flags|=4),typeof Ut.getSnapshotBeforeUpdate=="function"&&(A.flags|=256)):(typeof Ut.componentDidUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=4),typeof Ut.getSnapshotBeforeUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=256),A.memoizedProps=ve,A.memoizedState=P),Ut.props=ve,Ut.state=P,Ut.context=I,ve=t):(typeof Ut.componentDidUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=4),typeof Ut.getSnapshotBeforeUpdate!="function"||rr===v.memoizedProps&&m===v.memoizedState||(A.flags|=256),ve=!1)}return Re(v,A,Z,ve,lt,Le)}function Re(v,A,Z,ve,Le,lt){vc(v,A);var Ut=(A.flags&64)!==0;if(!ve&&!Ut)return Le&&Li(A,Z,!1),Mo(v,A,lt);ve=A.stateNode,Fu.current=A;var rr=Ut&&typeof Z.getDerivedStateFromError!="function"?null:ve.render();return A.flags|=1,v!==null&&Ut?(A.child=au(A,v.child,null,lt),A.child=au(A,null,rr,lt)):ps(v,A,rr,lt),A.memoizedState=ve.state,Le&&Li(A,Z,!0),A.child}function Il(v){var A=v.stateNode;A.pendingContext?Yr(v,A.pendingContext,A.pendingContext!==A.context):A.context&&Yr(v,A.context,!1),lc(v,A.containerInfo)}var go={dehydrated:null,retryLane:0};function Jl(v,A,Z){var ve=A.pendingProps,Le=ao.current,lt=!1,Ut;return(Ut=(A.flags&64)!==0)||(Ut=v!==null&&v.memoizedState===null?!1:(Le&2)!==0),Ut?(lt=!0,A.flags&=-65):v!==null&&v.memoizedState===null||ve.fallback===void 0||ve.unstable_avoidThisFallback===!0||(Le|=1),Va(ao,Le&1),v===null?(ve.fallback!==void 0&&oi(A),v=ve.children,Le=ve.fallback,lt?(v=jo(A,v,Le,Z),A.child.memoizedState={baseLanes:Z},A.memoizedState=go,v):typeof ve.unstable_expectedLoadTime=="number"?(v=jo(A,v,Le,Z),A.child.memoizedState={baseLanes:Z},A.memoizedState=go,A.lanes=33554432,v):(Z=Sc({mode:"visible",children:v},A.mode,Z,null),Z.return=A,A.child=Z)):v.memoizedState!==null?lt?(ve=ll(v,A,ve.children,ve.fallback,Z),lt=A.child,Le=v.child.memoizedState,lt.memoizedState=Le===null?{baseLanes:Z}:{baseLanes:Le.baseLanes|Z},lt.childLanes=v.childLanes&~Z,A.memoizedState=go,ve):(Z=_u(v,A,ve.children,Z),A.memoizedState=null,Z):lt?(ve=ll(v,A,ve.children,ve.fallback,Z),lt=A.child,Le=v.child.memoizedState,lt.memoizedState=Le===null?{baseLanes:Z}:{baseLanes:Le.baseLanes|Z},lt.childLanes=v.childLanes&~Z,A.memoizedState=go,ve):(Z=_u(v,A,ve.children,Z),A.memoizedState=null,Z)}function jo(v,A,Z,ve){var Le=v.mode,lt=v.child;return A={mode:"hidden",children:A},!(Le&2)&<!==null?(lt.childLanes=0,lt.pendingProps=A):lt=Sc(A,Le,0,null),Z=Ko(Z,Le,ve,null),lt.return=v,Z.return=v,lt.sibling=Z,v.child=lt,Z}function _u(v,A,Z,ve){var Le=v.child;return v=Le.sibling,Z=ml(Le,{mode:"visible",children:Z}),!(A.mode&2)&&(Z.lanes=ve),Z.return=A,Z.sibling=null,v!==null&&(v.nextEffect=null,v.flags=8,A.firstEffect=A.lastEffect=v),A.child=Z}function ll(v,A,Z,ve,Le){var lt=A.mode,Ut=v.child;v=Ut.sibling;var rr={mode:"hidden",children:Z};return!(lt&2)&&A.child!==Ut?(Z=A.child,Z.childLanes=0,Z.pendingProps=rr,Ut=Z.lastEffect,Ut!==null?(A.firstEffect=Z.firstEffect,A.lastEffect=Ut,Ut.nextEffect=null):A.firstEffect=A.lastEffect=null):Z=ml(Ut,rr),v!==null?ve=ml(v,ve):(ve=Ko(ve,lt,Le,null),ve.flags|=2),ve.return=A,Z.return=A,Z.sibling=ve,A.child=Z,ve}function Su(v,A){v.lanes|=A;var Z=v.alternate;Z!==null&&(Z.lanes|=A),ys(v.return,A)}function yo(v,A,Z,ve,Le,lt){var Ut=v.memoizedState;Ut===null?v.memoizedState={isBackwards:A,rendering:null,renderingStartTime:0,last:ve,tail:Z,tailMode:Le,lastEffect:lt}:(Ut.isBackwards=A,Ut.rendering=null,Ut.renderingStartTime=0,Ut.last=ve,Ut.tail=Z,Ut.tailMode=Le,Ut.lastEffect=lt)}function cl(v,A,Z){var ve=A.pendingProps,Le=ve.revealOrder,lt=ve.tail;if(ps(v,A,ve.children,Z),ve=ao.current,ve&2)ve=ve&1|2,A.flags|=64;else{if(v!==null&&v.flags&64)e:for(v=A.child;v!==null;){if(v.tag===13)v.memoizedState!==null&&Su(v,Z);else if(v.tag===19)Su(v,Z);else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===A)break e;for(;v.sibling===null;){if(v.return===null||v.return===A)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}ve&=1}if(Va(ao,ve),!(A.mode&2))A.memoizedState=null;else switch(Le){case"forwards":for(Z=A.child,Le=null;Z!==null;)v=Z.alternate,v!==null&&cc(v)===null&&(Le=Z),Z=Z.sibling;Z=Le,Z===null?(Le=A.child,A.child=null):(Le=Z.sibling,Z.sibling=null),yo(A,!1,Le,Z,lt,A.lastEffect);break;case"backwards":for(Z=null,Le=A.child,A.child=null;Le!==null;){if(v=Le.alternate,v!==null&&cc(v)===null){A.child=Le;break}v=Le.sibling,Le.sibling=Z,Z=Le,Le=v}yo(A,!0,Z,null,lt,A.lastEffect);break;case"together":yo(A,!1,null,null,void 0,A.lastEffect);break;default:A.memoizedState=null}return A.child}function Mo(v,A,Z){if(v!==null&&(A.dependencies=v.dependencies),ze|=A.lanes,Z&A.childLanes){if(v!==null&&A.child!==v.child)throw Error(c(153));if(A.child!==null){for(v=A.child,Z=ml(v,v.pendingProps),A.child=Z,Z.return=A;v.sibling!==null;)v=v.sibling,Z=Z.sibling=ml(v,v.pendingProps),Z.return=A;Z.sibling=null}return A.child}return null}var gc,fl,Dl,dl;gc=function(v,A){for(var Z=A.child;Z!==null;){if(Z.tag===5||Z.tag===6)v.appendChild(Z.stateNode);else if(Z.tag!==4&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===A)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===A)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}},fl=function(){},Dl=function(v,A,Z,ve){var Le=v.memoizedProps;if(Le!==ve){v=A.stateNode,yu(Zo.current);var lt=null;switch(Z){case"input":Le=ht(v,Le),ve=ht(v,ve),lt=[];break;case"option":Le=He(v,Le),ve=He(v,ve),lt=[];break;case"select":Le=i({},Le,{value:void 0}),ve=i({},ve,{value:void 0}),lt=[];break;case"textarea":Le=ct(v,Le),ve=ct(v,ve),lt=[];break;default:typeof Le.onClick!="function"&&typeof ve.onClick=="function"&&(v.onclick=ti)}Pe(Z,ve);var Ut;Z=null;for(t in Le)if(!ve.hasOwnProperty(t)&&Le.hasOwnProperty(t)&&Le[t]!=null)if(t==="style"){var rr=Le[t];for(Ut in rr)rr.hasOwnProperty(Ut)&&(Z||(Z={}),Z[Ut]="")}else t!=="dangerouslySetInnerHTML"&&t!=="children"&&t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&t!=="autoFocus"&&(s.hasOwnProperty(t)?lt||(lt=[]):(lt=lt||[]).push(t,null));for(t in ve){var I=ve[t];if(rr=Le!=null?Le[t]:void 0,ve.hasOwnProperty(t)&&I!==rr&&(I!=null||rr!=null))if(t==="style")if(rr){for(Ut in rr)!rr.hasOwnProperty(Ut)||I&&I.hasOwnProperty(Ut)||(Z||(Z={}),Z[Ut]="");for(Ut in I)I.hasOwnProperty(Ut)&&rr[Ut]!==I[Ut]&&(Z||(Z={}),Z[Ut]=I[Ut])}else Z||(lt||(lt=[]),lt.push(t,Z)),Z=I;else t==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,rr=rr?rr.__html:void 0,I!=null&&rr!==I&&(lt=lt||[]).push(t,I)):t==="children"?typeof I!="string"&&typeof I!="number"||(lt=lt||[]).push(t,""+I):t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&(s.hasOwnProperty(t)?(I!=null&&t==="onScroll"&&qe("scroll",v),lt||rr===I||(lt=[])):typeof I=="object"&&I!==null&&I.$$typeof===F?I.toString():(lt=lt||[]).push(t,I))}Z&&(lt=lt||[]).push("style",Z);var t=lt;(A.updateQueue=t)&&(A.flags|=4)}},dl=function(v,A,Z,ve){Z!==ve&&(A.flags|=4)};function Bu(v,A){if(!ou)switch(v.tailMode){case"hidden":A=v.tail;for(var Z=null;A!==null;)A.alternate!==null&&(Z=A),A=A.sibling;Z===null?v.tail=null:Z.sibling=null;break;case"collapsed":Z=v.tail;for(var ve=null;Z!==null;)Z.alternate!==null&&(ve=Z),Z=Z.sibling;ve===null?A||v.tail===null?v.tail=null:v.tail.sibling=null:ve.sibling=null}}function yc(v,A,Z){var ve=A.pendingProps;switch(A.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Jr(A.type)&&br(),null;case 3:return Ku(),ha(ye),ha(ga),Ic(),ve=A.stateNode,ve.pendingContext&&(ve.context=ve.pendingContext,ve.pendingContext=null),(v===null||v.child===null)&&(Wc(A)?A.flags|=4:ve.hydrate||(A.flags|=256)),fl(A),null;case 5:Cc(A);var Le=yu(Gl.current);if(Z=A.type,v!==null&&A.stateNode!=null)Dl(v,A,Z,ve,Le),v.ref!==A.ref&&(A.flags|=128);else{if(!ve){if(A.stateNode===null)throw Error(c(166));return null}if(v=yu(Zo.current),Wc(A)){ve=A.stateNode,Z=A.type;var lt=A.memoizedProps;switch(ve[Fa]=A,ve[Ga]=lt,Z){case"dialog":qe("cancel",ve),qe("close",ve);break;case"iframe":case"object":case"embed":qe("load",ve);break;case"video":case"audio":for(v=0;v<bn.length;v++)qe(bn[v],ve);break;case"source":qe("error",ve);break;case"img":case"image":case"link":qe("error",ve),qe("load",ve);break;case"details":qe("toggle",ve);break;case"input":Je(ve,lt),qe("invalid",ve);break;case"select":ve._wrapperState={wasMultiple:!!lt.multiple},qe("invalid",ve);break;case"textarea":Kt(ve,lt),qe("invalid",ve)}Pe(Z,lt),v=null;for(var Ut in lt)lt.hasOwnProperty(Ut)&&(Le=lt[Ut],Ut==="children"?typeof Le=="string"?ve.textContent!==Le&&(v=["children",Le]):typeof Le=="number"&&ve.textContent!==""+Le&&(v=["children",""+Le]):s.hasOwnProperty(Ut)&&Le!=null&&Ut==="onScroll"&&qe("scroll",ve));switch(Z){case"input":zt(ve),Ae(ve,lt,!0);break;case"textarea":zt(ve),De(ve);break;case"select":case"option":break;default:typeof lt.onClick=="function"&&(ve.onclick=ti)}ve=v,A.updateQueue=ve,ve!==null&&(A.flags|=4)}else{switch(Ut=Le.nodeType===9?Le:Le.ownerDocument,v===Qe.html&&(v=Vt(Z)),v===Qe.html?Z==="script"?(v=Ut.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild)):typeof ve.is=="string"?v=Ut.createElement(Z,{is:ve.is}):(v=Ut.createElement(Z),Z==="select"&&(Ut=v,ve.multiple?Ut.multiple=!0:ve.size&&(Ut.size=ve.size))):v=Ut.createElementNS(v,Z),v[Fa]=A,v[Ga]=ve,gc(v,A,!1,!1),A.stateNode=v,Ut=dt(Z,ve),Z){case"dialog":qe("cancel",v),qe("close",v),Le=ve;break;case"iframe":case"object":case"embed":qe("load",v),Le=ve;break;case"video":case"audio":for(Le=0;Le<bn.length;Le++)qe(bn[Le],v);Le=ve;break;case"source":qe("error",v),Le=ve;break;case"img":case"image":case"link":qe("error",v),qe("load",v),Le=ve;break;case"details":qe("toggle",v),Le=ve;break;case"input":Je(v,ve),Le=ht(v,ve),qe("invalid",v);break;case"option":Le=He(v,ve);break;case"select":v._wrapperState={wasMultiple:!!ve.multiple},Le=i({},ve,{value:void 0}),qe("invalid",v);break;case"textarea":Kt(v,ve),Le=ct(v,ve),qe("invalid",v);break;default:Le=ve}Pe(Z,Le);var rr=Le;for(lt in rr)if(rr.hasOwnProperty(lt)){var I=rr[lt];lt==="style"?_e(v,I):lt==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,I!=null&&$t(v,I)):lt==="children"?typeof I=="string"?(Z!=="textarea"||I!=="")&&Ct(v,I):typeof I=="number"&&Ct(v,""+I):lt!=="suppressContentEditableWarning"&<!=="suppressHydrationWarning"&<!=="autoFocus"&&(s.hasOwnProperty(lt)?I!=null&<==="onScroll"&&qe("scroll",v):I!=null&&$(v,lt,I,Ut))}switch(Z){case"input":zt(v),Ae(v,ve,!1);break;case"textarea":zt(v),De(v);break;case"option":ve.value!=null&&v.setAttribute("value",""+Jt(ve.value));break;case"select":v.multiple=!!ve.multiple,lt=ve.value,lt!=null?nt(v,!!ve.multiple,lt,!1):ve.defaultValue!=null&&nt(v,!!ve.multiple,ve.defaultValue,!0);break;default:typeof Le.onClick=="function"&&(v.onclick=ti)}Qi(Z,ve)&&(A.flags|=4)}A.ref!==null&&(A.flags|=128)}return null;case 6:if(v&&A.stateNode!=null)dl(v,A,v.memoizedProps,ve);else{if(typeof ve!="string"&&A.stateNode===null)throw Error(c(166));Z=yu(Gl.current),yu(Zo.current),Wc(A)?(ve=A.stateNode,Z=A.memoizedProps,ve[Fa]=A,ve.nodeValue!==Z&&(A.flags|=4)):(ve=(Z.nodeType===9?Z:Z.ownerDocument).createTextNode(ve),ve[Fa]=A,A.stateNode=ve)}return null;case 13:return ha(ao),ve=A.memoizedState,A.flags&64?(A.lanes=Z,A):(ve=ve!==null,Z=!1,v===null?A.memoizedProps.fallback!==void 0&&Wc(A):Z=v.memoizedState!==null,ve&&!Z&&A.mode&2&&(v===null&&A.memoizedProps.unstable_avoidThisFallback!==!0||ao.current&1?O===0&&(O=3):((O===0||O===3)&&(O=4),_s===null||!(ze&134217727)&&!(an&134217727)||Nl(_s,ui))),(ve||Z)&&(A.flags|=4),null);case 4:return Ku(),fl(A),v===null&&Gt(A.stateNode.containerInfo),null;case 10:return Ka(A),null;case 17:return Jr(A.type)&&br(),null;case 19:if(ha(ao),ve=A.memoizedState,ve===null)return null;if(lt=(A.flags&64)!==0,Ut=ve.rendering,Ut===null)if(lt)Bu(ve,!1);else{if(O!==0||v!==null&&v.flags&64)for(v=A.child;v!==null;){if(Ut=cc(v),Ut!==null){for(A.flags|=64,Bu(ve,!1),lt=Ut.updateQueue,lt!==null&&(A.updateQueue=lt,A.flags|=4),ve.lastEffect===null&&(A.firstEffect=null),A.lastEffect=ve.lastEffect,ve=Z,Z=A.child;Z!==null;)lt=Z,v=ve,lt.flags&=2,lt.nextEffect=null,lt.firstEffect=null,lt.lastEffect=null,Ut=lt.alternate,Ut===null?(lt.childLanes=0,lt.lanes=v,lt.child=null,lt.memoizedProps=null,lt.memoizedState=null,lt.updateQueue=null,lt.dependencies=null,lt.stateNode=null):(lt.childLanes=Ut.childLanes,lt.lanes=Ut.lanes,lt.child=Ut.child,lt.memoizedProps=Ut.memoizedProps,lt.memoizedState=Ut.memoizedState,lt.updateQueue=Ut.updateQueue,lt.type=Ut.type,v=Ut.dependencies,lt.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext}),Z=Z.sibling;return Va(ao,ao.current&1|2),A.child}v=v.sibling}ve.tail!==null&&wt()>es&&(A.flags|=64,lt=!0,Bu(ve,!1),A.lanes=33554432)}else{if(!lt)if(v=cc(Ut),v!==null){if(A.flags|=64,lt=!0,Z=v.updateQueue,Z!==null&&(A.updateQueue=Z,A.flags|=4),Bu(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!Ut.alternate&&!ou)return A=A.lastEffect=ve.lastEffect,A!==null&&(A.nextEffect=null),null}else 2*wt()-ve.renderingStartTime>es&&Z!==1073741824&&(A.flags|=64,lt=!0,Bu(ve,!1),A.lanes=33554432);ve.isBackwards?(Ut.sibling=A.child,A.child=Ut):(Z=ve.last,Z!==null?Z.sibling=Ut:A.child=Ut,ve.last=Ut)}return ve.tail!==null?(Z=ve.tail,ve.rendering=Z,ve.tail=Z.sibling,ve.lastEffect=A.lastEffect,ve.renderingStartTime=wt(),Z.sibling=null,A=ao.current,Va(ao,lt?A&1|2:A&1),Z):null;case 23:case 24:return sa(),v!==null&&v.memoizedState!==null!=(A.memoizedState!==null)&&ve.mode!=="unstable-defer-without-hiding"&&(A.flags|=4),null}throw Error(c(156,A.tag))}function Kc(v){switch(v.tag){case 1:Jr(v.type)&&br();var A=v.flags;return A&4096?(v.flags=A&-4097|64,v):null;case 3:if(Ku(),ha(ye),ha(ga),Ic(),A=v.flags,A&64)throw Error(c(285));return v.flags=A&-4097|64,v;case 5:return Cc(v),null;case 13:return ha(ao),A=v.flags,A&4096?(v.flags=A&-4097|64,v):null;case 19:return ha(ao),null;case 4:return Ku(),null;case 10:return Ka(v),null;case 23:case 24:return sa(),null;default:return null}}function Qu(v,A){try{var Z="",ve=A;do Z+=Qt(ve),ve=ve.return;while(ve);var Le=Z}catch(lt){Le=`
|
|
|
Error generating stack: `+lt.message+`
|
|
|
`+lt.stack}return{value:v,source:A,stack:Le}}function mu(v,A){try{console.error(A.value)}catch(Z){setTimeout(function(){throw Z})}}var ec=typeof WeakMap=="function"?WeakMap:Map;function Ol(v,A,Z){Z=Qs(-1,Z),Z.tag=3,Z.payload={element:null};var ve=A.value;return Z.callback=function(){As||(As=!0,bo=ve),mu(v,A)},Z}function eu(v,A,Z){Z=Qs(-1,Z),Z.tag=3;var ve=v.type.getDerivedStateFromError;if(typeof ve=="function"){var Le=A.value;Z.payload=function(){return mu(v,A),ve(Le)}}var lt=v.stateNode;return lt!==null&&typeof lt.componentDidCatch=="function"&&(Z.callback=function(){typeof ve!="function"&&(js===null?js=new Set([this]):js.add(this),mu(v,A));var Ut=A.stack;this.componentDidCatch(A.value,{componentStack:Ut!==null?Ut:""})}),Z}var kl=typeof WeakSet=="function"?WeakSet:Set;function bc(v){var A=v.ref;if(A!==null)if(typeof A=="function")try{A(null)}catch(Z){_l(v,Z)}else A.current=null}function cf(v,A){switch(A.tag){case 0:case 11:case 15:case 22:return;case 1:if(A.flags&256&&v!==null){var Z=v.memoizedProps,ve=v.memoizedState;v=A.stateNode,A=v.getSnapshotBeforeUpdate(A.elementType===A.type?Z:Zn(A.type,Z),ve),v.__reactInternalSnapshotBeforeUpdate=A}return;case 3:A.flags&256&&Si(A.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function Rl(v,A,Z){switch(Z.tag){case 0:case 11:case 15:case 22:if(A=Z.updateQueue,A=A!==null?A.lastEffect:null,A!==null){v=A=A.next;do{if((v.tag&3)===3){var ve=v.create;v.destroy=ve()}v=v.next}while(v!==A)}if(A=Z.updateQueue,A=A!==null?A.lastEffect:null,A!==null){v=A=A.next;do{var Le=v;ve=Le.next,Le=Le.tag,Le&4&&Le&1&&(Ec(Z,v),Sf(Z,v)),v=ve}while(v!==A)}return;case 1:v=Z.stateNode,Z.flags&4&&(A===null?v.componentDidMount():(ve=Z.elementType===Z.type?A.memoizedProps:Zn(Z.type,A.memoizedProps),v.componentDidUpdate(ve,A.memoizedState,v.__reactInternalSnapshotBeforeUpdate))),A=Z.updateQueue,A!==null&&mo(Z,A,v);return;case 3:if(A=Z.updateQueue,A!==null){if(v=null,Z.child!==null)switch(Z.child.tag){case 5:v=Z.child.stateNode;break;case 1:v=Z.child.stateNode}mo(Z,A,v)}return;case 5:v=Z.stateNode,A===null&&Z.flags&4&&Qi(Z.type,Z.memoizedProps)&&v.focus();return;case 6:return;case 4:return;case 12:return;case 13:Z.memoizedState===null&&(Z=Z.alternate,Z!==null&&(Z=Z.memoizedState,Z!==null&&(Z=Z.dehydrated,Z!==null&&mt(Z))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function Wo(v,A){for(var Z=v;;){if(Z.tag===5){var ve=Z.stateNode;if(A)ve=ve.style,typeof ve.setProperty=="function"?ve.setProperty("display","none","important"):ve.display="none";else{ve=Z.stateNode;var Le=Z.memoizedProps.style;Le=Le!=null&&Le.hasOwnProperty("display")?Le.display:null,ve.style.display=fe("display",Le)}}else if(Z.tag===6)Z.stateNode.nodeValue=A?"":Z.memoizedProps;else if((Z.tag!==23&&Z.tag!==24||Z.memoizedState===null||Z===v)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===v)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===v)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}function yl(v,A){if(Mn&&typeof Mn.onCommitFiberUnmount=="function")try{Mn.onCommitFiberUnmount(Rn,A)}catch(lt){}switch(A.tag){case 0:case 11:case 14:case 15:case 22:if(v=A.updateQueue,v!==null&&(v=v.lastEffect,v!==null)){var Z=v=v.next;do{var ve=Z,Le=ve.destroy;if(ve=ve.tag,Le!==void 0)if(ve&4)Ec(A,Z);else{ve=A;try{Le()}catch(lt){_l(ve,lt)}}Z=Z.next}while(Z!==v)}break;case 1:if(bc(A),v=A.stateNode,typeof v.componentWillUnmount=="function")try{v.props=A.memoizedProps,v.state=A.memoizedState,v.componentWillUnmount()}catch(lt){_l(A,lt)}break;case 5:bc(A);break;case 4:Xc(v,A)}}function Yc(v){v.alternate=null,v.child=null,v.dependencies=null,v.firstEffect=null,v.lastEffect=null,v.memoizedProps=null,v.memoizedState=null,v.pendingProps=null,v.return=null,v.updateQueue=null}function Nu(v){return v.tag===5||v.tag===3||v.tag===4}function $u(v){e:{for(var A=v.return;A!==null;){if(Nu(A))break e;A=A.return}throw Error(c(160))}var Z=A;switch(A=Z.stateNode,Z.tag){case 5:var ve=!1;break;case 3:A=A.containerInfo,ve=!0;break;case 4:A=A.containerInfo,ve=!0;break;default:throw Error(c(161))}Z.flags&16&&(Ct(A,""),Z.flags&=-17);e:t:for(Z=v;;){for(;Z.sibling===null;){if(Z.return===null||Nu(Z.return)){Z=null;break e}Z=Z.return}for(Z.sibling.return=Z.return,Z=Z.sibling;Z.tag!==5&&Z.tag!==6&&Z.tag!==18;){if(Z.flags&2||Z.child===null||Z.tag===4)continue t;Z.child.return=Z,Z=Z.child}if(!(Z.flags&2)){Z=Z.stateNode;break e}}ve?lu(v,Z,A):Uo(v,Z,A)}function lu(v,A,Z){var ve=v.tag,Le=ve===5||ve===6;if(Le)v=Le?v.stateNode:v.stateNode.instance,A?Z.nodeType===8?Z.parentNode.insertBefore(v,A):Z.insertBefore(v,A):(Z.nodeType===8?(A=Z.parentNode,A.insertBefore(v,Z)):(A=Z,A.appendChild(v)),Z=Z._reactRootContainer,Z!=null||A.onclick!==null||(A.onclick=ti));else if(ve!==4&&(v=v.child,v!==null))for(lu(v,A,Z),v=v.sibling;v!==null;)lu(v,A,Z),v=v.sibling}function Uo(v,A,Z){var ve=v.tag,Le=ve===5||ve===6;if(Le)v=Le?v.stateNode:v.stateNode.instance,A?Z.insertBefore(v,A):Z.appendChild(v);else if(ve!==4&&(v=v.child,v!==null))for(Uo(v,A,Z),v=v.sibling;v!==null;)Uo(v,A,Z),v=v.sibling}function Xc(v,A){for(var Z=A,ve=!1,Le,lt;;){if(!ve){ve=Z.return;e:for(;;){if(ve===null)throw Error(c(160));switch(Le=ve.stateNode,ve.tag){case 5:lt=!1;break e;case 3:Le=Le.containerInfo,lt=!0;break e;case 4:Le=Le.containerInfo,lt=!0;break e}ve=ve.return}ve=!0}if(Z.tag===5||Z.tag===6){e:for(var Ut=v,rr=Z,I=rr;;)if(yl(Ut,I),I.child!==null&&I.tag!==4)I.child.return=I,I=I.child;else{if(I===rr)break e;for(;I.sibling===null;){if(I.return===null||I.return===rr)break e;I=I.return}I.sibling.return=I.return,I=I.sibling}lt?(Ut=Le,rr=Z.stateNode,Ut.nodeType===8?Ut.parentNode.removeChild(rr):Ut.removeChild(rr)):Le.removeChild(Z.stateNode)}else if(Z.tag===4){if(Z.child!==null){Le=Z.stateNode.containerInfo,lt=!0,Z.child.return=Z,Z=Z.child;continue}}else if(yl(v,Z),Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===A)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===A)return;Z=Z.return,Z.tag===4&&(ve=!1)}Z.sibling.return=Z.return,Z=Z.sibling}}function xc(v,A){switch(A.tag){case 0:case 11:case 14:case 15:case 22:var Z=A.updateQueue;if(Z=Z!==null?Z.lastEffect:null,Z!==null){var ve=Z=Z.next;do(ve.tag&3)===3&&(v=ve.destroy,ve.destroy=void 0,v!==void 0&&v()),ve=ve.next;while(ve!==Z)}return;case 1:return;case 5:if(Z=A.stateNode,Z!=null){ve=A.memoizedProps;var Le=v!==null?v.memoizedProps:ve;v=A.type;var lt=A.updateQueue;if(A.updateQueue=null,lt!==null){for(Z[Ga]=ve,v==="input"&&ve.type==="radio"&&ve.name!=null&&Ue(Z,ve),dt(v,Le),A=dt(v,ve),Le=0;Le<lt.length;Le+=2){var Ut=lt[Le],rr=lt[Le+1];Ut==="style"?_e(Z,rr):Ut==="dangerouslySetInnerHTML"?$t(Z,rr):Ut==="children"?Ct(Z,rr):$(Z,Ut,rr,A)}switch(v){case"input":ge(Z,ve);break;case"textarea":Wt(Z,ve);break;case"select":v=Z._wrapperState.wasMultiple,Z._wrapperState.wasMultiple=!!ve.multiple,lt=ve.value,lt!=null?nt(Z,!!ve.multiple,lt,!1):v!==!!ve.multiple&&(ve.defaultValue!=null?nt(Z,!!ve.multiple,ve.defaultValue,!0):nt(Z,!!ve.multiple,ve.multiple?[]:"",!1))}}}return;case 6:if(A.stateNode===null)throw Error(c(162));A.stateNode.nodeValue=A.memoizedProps;return;case 3:Z=A.stateNode,Z.hydrate&&(Z.hydrate=!1,mt(Z.containerInfo));return;case 12:return;case 13:A.memoizedState!==null&&(Bi=wt(),Wo(A.child,!0)),tc(A);return;case 19:tc(A);return;case 17:return;case 23:case 24:Wo(A,A.memoizedState!==null);return}throw Error(c(163))}function tc(v){var A=v.updateQueue;if(A!==null){v.updateQueue=null;var Z=v.stateNode;Z===null&&(Z=v.stateNode=new kl),A.forEach(function(ve){var Le=rl.bind(null,v,ve);Z.has(ve)||(Z.add(ve),ve.then(Le,Le))})}}function ff(v,A){return v!==null&&(v=v.memoizedState,v===null||v.dehydrated!==null)?(A=A.memoizedState,A!==null&&A.dehydrated===null):!1}var ju=Math.ceil,Ll=U.ReactCurrentDispatcher,Ml=U.ReactCurrentOwner,$i=0,_s=null,Gs=null,ui=0,Uu=0,C=Ws(0),O=0,k=null,me=0,ze=0,an=0,ni=0,Wi=null,Bi=0,es=1/0;function Ds(){es=wt()+500}var ii=null,As=!1,bo=null,js=null,to=!1,bl=null,Fl=90,xl=[],Bl=[],Ju=null,Au=0,rc=null,wc=-1,Cu=0,ms=0,zu=null,nc=!1;function Go(){return $i&48?wt():wc!==-1?wc:wc=wt()}function Zu(v){if(v=v.mode,!(v&2))return 1;if(!(v&4))return Bt()===99?1:2;if(Cu===0&&(Cu=me),In.transition!==0){ms!==0&&(ms=Wi!==null?Wi.pendingLanes:0),v=Cu;var A=4186112&~ms;return A&=-A,A===0&&(v=4186112&~v,A=v&-v,A===0&&(A=8192)),A}return v=Bt(),$i&4&&v===98?v=ln(12,Cu):(v=gn(v),v=ln(v,Cu)),v}function wl(v,A,Z){if(50<Au)throw Au=0,rc=null,Error(c(185));if(v=ic(v,A),v===null)return null;gi(v,A,Z),v===_s&&(an|=A,O===4&&Nl(v,ui));var ve=Bt();A===1?$i&8&&!($i&48)?Sn(v):(Tu(v,Z),$i===0&&(Ds(),nn())):(!($i&4)||ve!==98&&ve!==99||(Ju===null?Ju=new Set([v]):Ju.add(v)),Tu(v,Z)),Wi=v}function ic(v,A){v.lanes|=A;var Z=v.alternate;for(Z!==null&&(Z.lanes|=A),Z=v,v=v.return;v!==null;)v.childLanes|=A,Z=v.alternate,Z!==null&&(Z.childLanes|=A),Z=v,v=v.return;return Z.tag===3?Z.stateNode:null}function Tu(v,A){for(var Z=v.callbackNode,ve=v.suspendedLanes,Le=v.pingedLanes,lt=v.expirationTimes,Ut=v.pendingLanes;0<Ut;){var rr=31-yi(Ut),I=1<<rr,t=lt[rr];if(t===-1){if(!(I&ve)||I&Le){t=A,Nr(I);var n=Tr;lt[rr]=10<=n?t+250:6<=n?t+5e3:-1}}else t<=A&&(v.expiredLanes|=I);Ut&=~I}if(ve=un(v,v===_s?ui:0),A=Tr,ve===0)Z!==null&&(Z!==W&&Na(Z),v.callbackNode=null,v.callbackPriority=0);else{if(Z!==null){if(v.callbackPriority===A)return;Z!==W&&Na(Z)}A===15?(Z=Sn.bind(null,v),te===null?(te=[Z],pe=ia(al,wn)):te.push(Z),Z=W):A===14?Z=Wr(99,Sn.bind(null,v)):(Z=Dr(A),Z=Wr(Z,ac.bind(null,v))),v.callbackPriority=A,v.callbackNode=Z}}function ac(v){if(wc=-1,ms=Cu=0,$i&48)throw Error(c(327));var A=v.callbackNode;if($l()&&v.callbackNode!==A)return null;var Z=un(v,v===_s?ui:0);if(Z===0)return null;var ve=Z,Le=$i;$i|=16;var lt=Gi();(_s!==v||ui!==ve)&&(Ds(),ua(v,ve));do try{Hu();break}catch(rr){vs(v,rr)}while(!0);if(os(),Ll.current=lt,$i=Le,Gs!==null?ve=0:(_s=null,ui=0,ve=O),me&an)ua(v,0);else if(ve!==0){if(ve===2&&($i|=64,v.hydrate&&(v.hydrate=!1,Si(v.containerInfo)),Z=tn(v),Z!==0&&(ve=is(v,Z))),ve===1)throw A=k,ua(v,0),Nl(v,Z),Tu(v,wt()),A;switch(v.finishedWork=v.current.alternate,v.finishedLanes=Z,ve){case 0:case 1:throw Error(c(345));case 2:pl(v);break;case 3:if(Nl(v,Z),(Z&62914560)===Z&&(ve=Bi+500-wt(),10<ve)){if(un(v,0)!==0)break;if(Le=v.suspendedLanes,(Le&Z)!==Z){Go(),v.pingedLanes|=v.suspendedLanes&Le;break}v.timeoutHandle=Ei(pl.bind(null,v),ve);break}pl(v);break;case 4:if(Nl(v,Z),(Z&4186112)===Z)break;for(ve=v.eventTimes,Le=-1;0<Z;){var Ut=31-yi(Z);lt=1<<Ut,Ut=ve[Ut],Ut>Le&&(Le=Ut),Z&=~lt}if(Z=Le,Z=wt()-Z,Z=(120>Z?120:480>Z?480:1080>Z?1080:1920>Z?1920:3e3>Z?3e3:4320>Z?4320:1960*ju(Z/1960))-Z,10<Z){v.timeoutHandle=Ei(pl.bind(null,v),Z);break}pl(v);break;case 5:pl(v);break;default:throw Error(c(329))}}return Tu(v,wt()),v.callbackNode===A?ac.bind(null,v):null}function Nl(v,A){for(A&=~ni,A&=~an,v.suspendedLanes|=A,v.pingedLanes&=~A,v=v.expirationTimes;0<A;){var Z=31-yi(A),ve=1<<Z;v[Z]=-1,A&=~ve}}function Sn(v){if($i&48)throw Error(c(327));if($l(),v===_s&&v.expiredLanes&ui){var A=ui,Z=is(v,A);me&an&&(A=un(v,A),Z=is(v,A))}else A=un(v,0),Z=is(v,A);if(v.tag!==0&&Z===2&&($i|=64,v.hydrate&&(v.hydrate=!1,Si(v.containerInfo)),A=tn(v),A!==0&&(Z=is(v,A))),Z===1)throw Z=k,ua(v,0),Nl(v,A),Tu(v,wt()),Z;return v.finishedWork=v.current.alternate,v.finishedLanes=A,pl(v),Tu(v,wt()),null}function Hn(){if(Ju!==null){var v=Ju;Ju=null,v.forEach(function(A){A.expiredLanes|=24&A.pendingLanes,Tu(A,wt())})}nn()}function Mi(v,A){var Z=$i;$i|=1;try{return v(A)}finally{$i=Z,$i===0&&(Ds(),nn())}}function xa(v,A){var Z=$i;$i&=-2,$i|=8;try{return v(A)}finally{$i=Z,$i===0&&(Ds(),nn())}}function Ui(v,A){Va(C,Uu),Uu|=A,me|=A}function sa(){Uu=C.current,ha(C)}function ua(v,A){v.finishedWork=null,v.finishedLanes=0;var Z=v.timeoutHandle;if(Z!==-1&&(v.timeoutHandle=-1,fa(Z)),Gs!==null)for(Z=Gs.return;Z!==null;){var ve=Z;switch(ve.tag){case 1:ve=ve.type.childContextTypes,ve!=null&&br();break;case 3:Ku(),ha(ye),ha(ga),Ic();break;case 5:Cc(ve);break;case 4:Ku();break;case 13:ha(ao);break;case 19:ha(ao);break;case 10:Ka(ve);break;case 23:case 24:sa()}Z=Z.return}_s=v,Gs=ml(v.current,null),ui=Uu=me=A,O=0,k=null,ni=an=ze=0}function vs(v,A){do{var Z=Gs;try{if(os(),Vl.current=ql,Yu){for(var ve=$a.memoizedState;ve!==null;){var Le=ve.queue;Le!==null&&(Le.pending=null),ve=ve.next}Yu=!1}if(Kl=0,Ho=eo=$a=null,Yl=!1,Ml.current=null,Z===null||Z.return===null){O=1,k=A,Gs=null;break}e:{var lt=v,Ut=Z.return,rr=Z,I=A;if(A=ui,rr.flags|=2048,rr.firstEffect=rr.lastEffect=null,I!==null&&typeof I=="object"&&typeof I.then=="function"){var t=I;if(!(rr.mode&2)){var n=rr.alternate;n?(rr.updateQueue=n.updateQueue,rr.memoizedState=n.memoizedState,rr.lanes=n.lanes):(rr.updateQueue=null,rr.memoizedState=null)}var o=(ao.current&1)!==0,m=Ut;do{var w;if(w=m.tag===13){var P=m.memoizedState;if(P!==null)w=P.dehydrated!==null;else{var z=m.memoizedProps;w=z.fallback===void 0?!1:z.unstable_avoidThisFallback!==!0?!0:!o}}if(w){var H=m.updateQueue;if(H===null){var j=new Set;j.add(t),m.updateQueue=j}else H.add(t);if(!(m.mode&2)){if(m.flags|=64,rr.flags|=16384,rr.flags&=-2981,rr.tag===1)if(rr.alternate===null)rr.tag=17;else{var se=Qs(-1,1);se.tag=2,Po(rr,se)}rr.lanes|=1;break e}I=void 0,rr=A;var ce=lt.pingCache;if(ce===null?(ce=lt.pingCache=new ec,I=new Set,ce.set(t,I)):(I=ce.get(t),I===void 0&&(I=new Set,ce.set(t,I))),!I.has(rr)){I.add(rr);var xe=Of.bind(null,lt,t,rr);t.then(xe,xe)}m.flags|=4096,m.lanes=A;break e}m=m.return}while(m!==null);I=Error((er(rr.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.`)}O!==5&&(O=2),I=Qu(I,rr),m=Ut;do{switch(m.tag){case 3:lt=I,m.flags|=4096,A&=-A,m.lanes|=A;var Ie=Ol(m,lt,A);Ro(m,Ie);break e;case 1:lt=I;var Oe=m.type,tt=m.stateNode;if(!(m.flags&64)&&(typeof Oe.getDerivedStateFromError=="function"||tt!==null&&typeof tt.componentDidCatch=="function"&&(js===null||!js.has(tt)))){m.flags|=4096,A&=-A,m.lanes|=A;var at=eu(m,lt,A);Ro(m,at);break e}}m=m.return}while(m!==null)}hl(Z)}catch(Nt){A=Nt,Gs===Z&&Z!==null&&(Gs=Z=Z.return);continue}break}while(!0)}function Gi(){var v=Ll.current;return Ll.current=ql,v===null?ql:v}function is(v,A){var Z=$i;$i|=16;var ve=Gi();_s===v&&ui===A||ua(v,A);do try{el();break}catch(Le){vs(v,Le)}while(!0);if(os(),$i=Z,Ll.current=ve,Gs!==null)throw Error(c(261));return _s=null,ui=0,O}function el(){for(;Gs!==null;)tl(Gs)}function Hu(){for(;Gs!==null&&!_o();)tl(Gs)}function tl(v){var A=Fc(v.alternate,v,Uu);v.memoizedProps=v.pendingProps,A===null?hl(v):Gs=A,Ml.current=null}function hl(v){var A=v;do{var Z=A.alternate;if(v=A.return,A.flags&2048){if(Z=Kc(A),Z!==null){Z.flags&=2047,Gs=Z;return}v!==null&&(v.firstEffect=v.lastEffect=null,v.flags|=2048)}else{if(Z=yc(Z,A,Uu),Z!==null){Gs=Z;return}if(Z=A,Z.tag!==24&&Z.tag!==23||Z.memoizedState===null||Uu&1073741824||!(Z.mode&4)){for(var ve=0,Le=Z.child;Le!==null;)ve|=Le.lanes|Le.childLanes,Le=Le.sibling;Z.childLanes=ve}v!==null&&!(v.flags&2048)&&(v.firstEffect===null&&(v.firstEffect=A.firstEffect),A.lastEffect!==null&&(v.lastEffect!==null&&(v.lastEffect.nextEffect=A.firstEffect),v.lastEffect=A.lastEffect),1<A.flags&&(v.lastEffect!==null?v.lastEffect.nextEffect=A:v.firstEffect=A,v.lastEffect=A))}if(A=A.sibling,A!==null){Gs=A;return}Gs=A=v}while(A!==null);O===0&&(O=5)}function pl(v){var A=Bt();return Pr(99,Df.bind(null,v,A)),null}function Df(v,A){do $l();while(bl!==null);if($i&48)throw Error(c(327));var Z=v.finishedWork;if(Z===null)return null;if(v.finishedWork=null,v.finishedLanes=0,Z===v.current)throw Error(c(177));v.callbackNode=null;var ve=Z.lanes|Z.childLanes,Le=ve,lt=v.pendingLanes&~Le;v.pendingLanes=Le,v.suspendedLanes=0,v.pingedLanes=0,v.expiredLanes&=Le,v.mutableReadLanes&=Le,v.entangledLanes&=Le,Le=v.entanglements;for(var Ut=v.eventTimes,rr=v.expirationTimes;0<lt;){var I=31-yi(lt),t=1<<I;Le[I]=0,Ut[I]=-1,rr[I]=-1,lt&=~t}if(Ju!==null&&!(ve&24)&&Ju.has(v)&&Ju.delete(v),v===_s&&(Gs=_s=null,ui=0),1<Z.flags?Z.lastEffect!==null?(Z.lastEffect.nextEffect=Z,ve=Z.firstEffect):ve=Z:ve=Z.firstEffect,ve!==null){if(Le=$i,$i|=32,Ml.current=null,hi=Sa,Ut=zr(),Ca(Ut)){if("selectionStart"in Ut)rr={start:Ut.selectionStart,end:Ut.selectionEnd};else e:if(rr=(rr=Ut.ownerDocument)&&rr.defaultView||window,(t=rr.getSelection&&rr.getSelection())&&t.rangeCount!==0){rr=t.anchorNode,lt=t.anchorOffset,I=t.focusNode,t=t.focusOffset;try{rr.nodeType,I.nodeType}catch(Nt){rr=null;break e}var n=0,o=-1,m=-1,w=0,P=0,z=Ut,H=null;t:for(;;){for(var j;z!==rr||lt!==0&&z.nodeType!==3||(o=n+lt),z!==I||t!==0&&z.nodeType!==3||(m=n+t),z.nodeType===3&&(n+=z.nodeValue.length),(j=z.firstChild)!==null;)H=z,z=j;for(;;){if(z===Ut)break t;if(H===rr&&++w===lt&&(o=n),H===I&&++P===t&&(m=n),(j=z.nextSibling)!==null)break;z=H,H=z.parentNode}z=j}rr=o===-1||m===-1?null:{start:o,end:m}}else rr=null;rr=rr||{start:0,end:0}}else rr=null;Ii={focusedElem:Ut,selectionRange:rr},Sa=!1,zu=null,nc=!1,ii=ve;do try{Ef()}catch(Nt){if(ii===null)throw Error(c(330));_l(ii,Nt),ii=ii.nextEffect}while(ii!==null);zu=null,ii=ve;do try{for(Ut=v;ii!==null;){var se=ii.flags;if(se&16&&Ct(ii.stateNode,""),se&128){var ce=ii.alternate;if(ce!==null){var xe=ce.ref;xe!==null&&(typeof xe=="function"?xe(null):xe.current=null)}}switch(se&1038){case 2:$u(ii),ii.flags&=-3;break;case 6:$u(ii),ii.flags&=-3,xc(ii.alternate,ii);break;case 1024:ii.flags&=-1025;break;case 1028:ii.flags&=-1025,xc(ii.alternate,ii);break;case 4:xc(ii.alternate,ii);break;case 8:rr=ii,Xc(Ut,rr);var Ie=rr.alternate;Yc(rr),Ie!==null&&Yc(Ie)}ii=ii.nextEffect}}catch(Nt){if(ii===null)throw Error(c(330));_l(ii,Nt),ii=ii.nextEffect}while(ii!==null);if(xe=Ii,ce=zr(),se=xe.focusedElem,Ut=xe.selectionRange,ce!==se&&se&&se.ownerDocument&&ma(se.ownerDocument.documentElement,se)){for(Ut!==null&&Ca(se)&&(ce=Ut.start,xe=Ut.end,xe===void 0&&(xe=ce),"selectionStart"in se?(se.selectionStart=ce,se.selectionEnd=Math.min(xe,se.value.length)):(xe=(ce=se.ownerDocument||document)&&ce.defaultView||window,xe.getSelection&&(xe=xe.getSelection(),rr=se.textContent.length,Ie=Math.min(Ut.start,rr),Ut=Ut.end===void 0?Ie:Math.min(Ut.end,rr),!xe.extend&&Ie>Ut&&(rr=Ut,Ut=Ie,Ie=rr),rr=ji(se,Ie),lt=ji(se,Ut),rr&<&&(xe.rangeCount!==1||xe.anchorNode!==rr.node||xe.anchorOffset!==rr.offset||xe.focusNode!==lt.node||xe.focusOffset!==lt.offset)&&(ce=ce.createRange(),ce.setStart(rr.node,rr.offset),xe.removeAllRanges(),Ie>Ut?(xe.addRange(ce),xe.extend(lt.node,lt.offset)):(ce.setEnd(lt.node,lt.offset),xe.addRange(ce)))))),ce=[],xe=se;xe=xe.parentNode;)xe.nodeType===1&&ce.push({element:xe,left:xe.scrollLeft,top:xe.scrollTop});for(typeof se.focus=="function"&&se.focus(),se=0;se<ce.length;se++)xe=ce[se],xe.element.scrollLeft=xe.left,xe.element.scrollTop=xe.top}Sa=!!hi,Ii=hi=null,v.current=Z,ii=ve;do try{for(se=v;ii!==null;){var Oe=ii.flags;if(Oe&36&&Rl(se,ii.alternate,ii),Oe&128){ce=void 0;var tt=ii.ref;if(tt!==null){var at=ii.stateNode;switch(ii.tag){case 5:ce=at;break;default:ce=at}typeof tt=="function"?tt(ce):tt.current=ce}}ii=ii.nextEffect}}catch(Nt){if(ii===null)throw Error(c(330));_l(ii,Nt),ii=ii.nextEffect}while(ii!==null);ii=null,X(),$i=Le}else v.current=Z;if(to)to=!1,bl=v,Fl=A;else for(ii=ve;ii!==null;)A=ii.nextEffect,ii.nextEffect=null,ii.flags&8&&(Oe=ii,Oe.sibling=null,Oe.stateNode=null),ii=A;if(ve=v.pendingLanes,ve===0&&(js=null),ve===1?v===rc?Au++:(Au=0,rc=v):Au=0,Z=Z.stateNode,Mn&&typeof Mn.onCommitFiberRoot=="function")try{Mn.onCommitFiberRoot(Rn,Z,void 0,(Z.current.flags&64)===64)}catch(Nt){}if(Tu(v,wt()),As)throw As=!1,v=bo,bo=null,v;return $i&8||nn(),null}function Ef(){for(;ii!==null;){var v=ii.alternate;nc||zu===null||(ii.flags&8?en(ii,zu)&&(nc=!0):ii.tag===13&&ff(v,ii)&&en(ii,zu)&&(nc=!0));var A=ii.flags;A&256&&cf(v,ii),!(A&512)||to||(to=!0,Wr(97,function(){return $l(),null})),ii=ii.nextEffect}}function $l(){if(Fl!==90){var v=97<Fl?97:Fl;return Fl=90,Pr(v,qc)}return!1}function Sf(v,A){xl.push(A,v),to||(to=!0,Wr(97,function(){return $l(),null}))}function Ec(v,A){Bl.push(A,v),to||(to=!0,Wr(97,function(){return $l(),null}))}function qc(){if(bl===null)return!1;var v=bl;if(bl=null,$i&48)throw Error(c(331));var A=$i;$i|=32;var Z=Bl;Bl=[];for(var ve=0;ve<Z.length;ve+=2){var Le=Z[ve],lt=Z[ve+1],Ut=Le.destroy;if(Le.destroy=void 0,typeof Ut=="function")try{Ut()}catch(I){if(lt===null)throw Error(c(330));_l(lt,I)}}for(Z=xl,xl=[],ve=0;ve<Z.length;ve+=2){Le=Z[ve],lt=Z[ve+1];try{var rr=Le.create;Le.destroy=rr()}catch(I){if(lt===null)throw Error(c(330));_l(lt,I)}}for(rr=v.current.firstEffect;rr!==null;)v=rr.nextEffect,rr.nextEffect=null,rr.flags&8&&(rr.sibling=null,rr.stateNode=null),rr=v;return $i=A,nn(),!0}function df(v,A,Z){A=Qu(Z,A),A=Ol(v,A,1),Po(v,A),A=Go(),v=ic(v,1),v!==null&&(gi(v,1,A),Tu(v,A))}function _l(v,A){if(v.tag===3)df(v,v,A);else for(var Z=v.return;Z!==null;){if(Z.tag===3){df(Z,v,A);break}else if(Z.tag===1){var ve=Z.stateNode;if(typeof Z.type.getDerivedStateFromError=="function"||typeof ve.componentDidCatch=="function"&&(js===null||!js.has(ve))){v=Qu(A,v);var Le=eu(Z,v,1);if(Po(Z,Le),Le=Go(),Z=ic(Z,1),Z!==null)gi(Z,1,Le),Tu(Z,Le);else if(typeof ve.componentDidCatch=="function"&&(js===null||!js.has(ve)))try{ve.componentDidCatch(A,v)}catch(lt){}break}}Z=Z.return}}function Of(v,A,Z){var ve=v.pingCache;ve!==null&&ve.delete(A),A=Go(),v.pingedLanes|=v.suspendedLanes&Z,_s===v&&(ui&Z)===Z&&(O===4||O===3&&(ui&62914560)===ui&&500>wt()-Bi?ua(v,0):ni|=Z),Tu(v,A)}function rl(v,A){var Z=v.stateNode;Z!==null&&Z.delete(A),A=0,A===0&&(A=v.mode,A&2?A&4?(Cu===0&&(Cu=me),A=En(62914560&~Cu),A===0&&(A=4194304)):A=Bt()===99?1:2:A=1),Z=Go(),v=ic(v,A),v!==null&&(gi(v,A,Z),Tu(v,Z))}var Fc;Fc=function(v,A,Z){var ve=A.lanes;if(v!==null)if(v.memoizedProps!==A.pendingProps||ye.current)Eu=!0;else if(Z&ve)Eu=!!(v.flags&16384);else{switch(Eu=!1,A.tag){case 3:Il(A),$o();break;case 5:ol(A);break;case 1:Jr(A.type)&&Jn(A);break;case 4:lc(A,A.stateNode.containerInfo);break;case 10:ve=A.memoizedProps.value;var Le=A.type._context;Va(di,Le._currentValue),Le._currentValue=ve;break;case 13:if(A.memoizedState!==null)return Z&A.child.childLanes?Jl(v,A,Z):(Va(ao,ao.current&1),A=Mo(v,A,Z),A!==null?A.sibling:null);Va(ao,ao.current&1);break;case 19:if(ve=(Z&A.childLanes)!==0,v.flags&64){if(ve)return cl(v,A,Z);A.flags|=64}if(Le=A.memoizedState,Le!==null&&(Le.rendering=null,Le.tail=null,Le.lastEffect=null),Va(ao,ao.current),ve)break;return null;case 23:case 24:return A.lanes=0,so(v,A,Z)}return Mo(v,A,Z)}else Eu=!1;switch(A.lanes=0,A.tag){case 2:if(ve=A.type,v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),v=A.pendingProps,Le=gr(A,ga.current),bs(A,Z),Le=xu(null,A,ve,v,Le,Z),A.flags|=1,typeof Le=="object"&&Le!==null&&typeof Le.render=="function"&&Le.$$typeof===void 0){if(A.tag=1,A.memoizedState=null,A.updateQueue=null,Jr(ve)){var lt=!0;Jn(A)}else lt=!1;A.memoizedState=Le.state!==null&&Le.state!==void 0?Le.state:null,$s(A);var Ut=ve.getDerivedStateFromProps;typeof Ut=="function"&&Al(A,ve,Ut,v),Le.updater=sl,A.stateNode=Le,Le._reactInternals=A,pu(A,ve,v,Z),A=Re(null,A,ve,!0,lt,Z)}else A.tag=0,ps(null,A,Le,Z),A=A.child;return A;case 16:Le=A.elementType;e:{switch(v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),v=A.pendingProps,lt=Le._init,Le=lt(Le._payload),A.type=Le,lt=A.tag=hf(Le),v=Zn(Le,v),lt){case 0:A=Lo(null,A,Le,v,Z);break e;case 1:A=Ql(null,A,Le,v,Z);break e;case 11:A=Vc(null,A,Le,v,Z);break e;case 14:A=lf(null,A,Le,Zn(Le.type,v),ve,Z);break e}throw Error(c(306,Le,""))}return A;case 0:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Zn(ve,Le),Lo(v,A,ve,Le,Z);case 1:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Zn(ve,Le),Ql(v,A,ve,Le,Z);case 3:if(Il(A),ve=A.updateQueue,v===null||ve===null)throw Error(c(282));if(ve=A.pendingProps,Le=A.memoizedState,Le=Le!==null?Le.element:null,pa(v,A),za(A,ve,null,Z),ve=A.memoizedState.element,ve===Le)$o(),A=Mo(v,A,Z);else{if(Le=A.stateNode,(lt=Le.hydrate)&&(ul=bi(A.stateNode.containerInfo.firstChild),su=A,lt=ou=!0),lt){if(v=Le.mutableSourceEagerHydrationData,v!=null)for(Le=0;Le<v.length;Le+=2)lt=v[Le],lt._workInProgressVersionPrimary=v[Le+1],Cl.push(lt);for(Z=Wl(A,null,ve,Z),A.child=Z;Z;)Z.flags=Z.flags&-3|1024,Z=Z.sibling}else ps(v,A,ve,Z),$o();A=A.child}return A;case 5:return ol(A),v===null&&oi(A),ve=A.type,Le=A.pendingProps,lt=v!==null?v.memoizedProps:null,Ut=Le.children,Ri(ve,Le)?Ut=null:lt!==null&&Ri(ve,lt)&&(A.flags|=16),vc(v,A),ps(v,A,Ut,Z),A.child;case 6:return v===null&&oi(A),null;case 13:return Jl(v,A,Z);case 4:return lc(A,A.stateNode.containerInfo),ve=A.pendingProps,v===null?A.child=au(A,null,ve,Z):ps(v,A,ve,Z),A.child;case 11:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Zn(ve,Le),Vc(v,A,ve,Le,Z);case 7:return ps(v,A,A.pendingProps,Z),A.child;case 8:return ps(v,A,A.pendingProps.children,Z),A.child;case 12:return ps(v,A,A.pendingProps.children,Z),A.child;case 10:e:{ve=A.type._context,Le=A.pendingProps,Ut=A.memoizedProps,lt=Le.value;var rr=A.type._context;if(Va(di,rr._currentValue),rr._currentValue=lt,Ut!==null)if(rr=Ut.value,lt=zn(rr,lt)?0:(typeof ve._calculateChangedBits=="function"?ve._calculateChangedBits(rr,lt):1073741823)|0,lt===0){if(Ut.children===Le.children&&!ye.current){A=Mo(v,A,Z);break e}}else for(rr=A.child,rr!==null&&(rr.return=A);rr!==null;){var I=rr.dependencies;if(I!==null){Ut=rr.child;for(var t=I.firstContext;t!==null;){if(t.context===ve&&t.observedBits<){rr.tag===1&&(t=Qs(-1,Z&-Z),t.tag=2,Po(rr,t)),rr.lanes|=Z,t=rr.alternate,t!==null&&(t.lanes|=Z),ys(rr.return,Z),I.lanes|=Z;break}t=t.next}}else Ut=rr.tag===10&&rr.type===A.type?null:rr.child;if(Ut!==null)Ut.return=rr;else for(Ut=rr;Ut!==null;){if(Ut===A){Ut=null;break}if(rr=Ut.sibling,rr!==null){rr.return=Ut.return,Ut=rr;break}Ut=Ut.return}rr=Ut}ps(v,A,Le.children,Z),A=A.child}return A;case 9:return Le=A.type,lt=A.pendingProps,ve=lt.children,bs(A,Z),Le=Ta(Le,lt.unstable_observedBits),ve=ve(Le),A.flags|=1,ps(v,A,ve,Z),A.child;case 14:return Le=A.type,lt=Zn(Le,A.pendingProps),lt=Zn(Le.type,lt),lf(v,A,Le,lt,ve,Z);case 15:return mc(v,A,A.type,A.pendingProps,ve,Z);case 17:return ve=A.type,Le=A.pendingProps,Le=A.elementType===ve?Le:Zn(ve,Le),v!==null&&(v.alternate=null,A.alternate=null,A.flags|=2),A.tag=1,Jr(ve)?(v=!0,Jn(A)):v=!1,bs(A,Z),Du(A,ve,Le),pu(A,ve,Le,Z),Re(null,A,ve,!0,v,Z);case 19:return cl(v,A,Z);case 23:return so(v,A,Z);case 24:return so(v,A,Z)}throw Error(c(156,A.tag))};function Qc(v,A,Z,ve){this.tag=v,this.key=Z,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=A,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 Vo(v,A,Z,ve){return new Qc(v,A,Z,ve)}function Jc(v){return v=v.prototype,!(!v||!v.isReactComponent)}function hf(v){if(typeof v=="function")return Jc(v)?1:0;if(v!=null){if(v=v.$$typeof,v===J)return 11;if(v===ne)return 14}return 2}function ml(v,A){var Z=v.alternate;return Z===null?(Z=Vo(v.tag,A,v.key,v.mode),Z.elementType=v.elementType,Z.type=v.type,Z.stateNode=v.stateNode,Z.alternate=v,v.alternate=Z):(Z.pendingProps=A,Z.type=v.type,Z.flags=0,Z.nextEffect=null,Z.firstEffect=null,Z.lastEffect=null),Z.childLanes=v.childLanes,Z.lanes=v.lanes,Z.child=v.child,Z.memoizedProps=v.memoizedProps,Z.memoizedState=v.memoizedState,Z.updateQueue=v.updateQueue,A=v.dependencies,Z.dependencies=A===null?null:{lanes:A.lanes,firstContext:A.firstContext},Z.sibling=v.sibling,Z.index=v.index,Z.ref=v.ref,Z}function jl(v,A,Z,ve,Le,lt){var Ut=2;if(ve=v,typeof v=="function")Jc(v)&&(Ut=1);else if(typeof v=="string")Ut=5;else e:switch(v){case G:return Ko(Z.children,Le,lt,A);case M:Ut=8,Le|=16;break;case oe:Ut=8,Le|=1;break;case ae:return v=Vo(12,Z,A,Le|8),v.elementType=ae,v.type=ae,v.lanes=lt,v;case Y:return v=Vo(13,Z,A,Le),v.type=Y,v.elementType=Y,v.lanes=lt,v;case ue:return v=Vo(19,Z,A,Le),v.elementType=ue,v.lanes=lt,v;case q:return Sc(Z,Le,lt,A);case de:return v=Vo(24,Z,A,Le),v.elementType=de,v.lanes=lt,v;default:if(typeof v=="object"&&v!==null)switch(v.$$typeof){case le:Ut=10;break e;case Q:Ut=9;break e;case J:Ut=11;break e;case ne:Ut=14;break e;case ee:Ut=16,ve=null;break e;case ie:Ut=22;break e}throw Error(c(130,v==null?v:typeof v,""))}return A=Vo(Ut,Z,A,Le),A.elementType=v,A.type=ve,A.lanes=lt,A}function Ko(v,A,Z,ve){return v=Vo(7,v,ve,A),v.lanes=Z,v}function Sc(v,A,Z,ve){return v=Vo(23,v,ve,A),v.elementType=q,v.lanes=Z,v}function pf(v,A,Z){return v=Vo(6,v,null,A),v.lanes=Z,v}function Bc(v,A,Z){return A=Vo(4,v.children!==null?v.children:[],v.key,A),A.lanes=Z,A.stateNode={containerInfo:v.containerInfo,pendingChildren:null,implementation:v.implementation},A}function Nc(v,A,Z){this.tag=A,this.containerInfo=v,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=Z,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=la(0),this.expirationTimes=la(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=la(0),this.mutableSourceEagerHydrationData=null}function _f(v,A,Z){var ve=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:K,key:ve==null?null:""+ve,children:v,containerInfo:A,implementation:Z}}function $c(v,A,Z,ve){var Le=A.current,lt=Go(),Ut=Zu(Le);e:if(Z){Z=Z._reactInternals;t:{if(ot(Z)!==Z||Z.tag!==1)throw Error(c(170));var rr=Z;do{switch(rr.tag){case 3:rr=rr.stateNode.context;break t;case 1:if(Jr(rr.type)){rr=rr.stateNode.__reactInternalMemoizedMergedChildContext;break t}}rr=rr.return}while(rr!==null);throw Error(c(171))}if(Z.tag===1){var I=Z.type;if(Jr(I)){Z=An(Z,I,rr);break e}}Z=rr}else Z=Is;return A.context===null?A.context=Z:A.pendingContext=Z,A=Qs(lt,Ut),A.payload={element:v},ve=ve===void 0?null:ve,ve!==null&&(A.callback=ve),Po(Le,A),wl(Le,Ut,lt),Ut}function Af(v){if(v=v.current,!v.child)return null;switch(v.child.tag){case 5:return v.child.stateNode;default:return v.child.stateNode}}function Mf(v,A){if(v=v.memoizedState,v!==null&&v.dehydrated!==null){var Z=v.retryLane;v.retryLane=Z!==0&&Z<A?Z:A}}function jc(v,A){Mf(v,A),(v=v.alternate)&&Mf(v,A)}function Ff(){return null}function ef(v,A,Z){var ve=Z!=null&&Z.hydrationOptions!=null&&Z.hydrationOptions.mutableSources||null;if(Z=new Nc(v,A,Z!=null&&Z.hydrate===!0),A=Vo(3,null,null,A===2?7:A===1?3:0),Z.current=A,A.stateNode=Z,$s(A),v[Oi]=Z.current,Gt(v.nodeType===8?v.parentNode:v),ve)for(v=0;v<ve.length;v++){A=ve[v];var Le=A._getVersion;Le=Le(A._source),Z.mutableSourceEagerHydrationData==null?Z.mutableSourceEagerHydrationData=[A,Le]:Z.mutableSourceEagerHydrationData.push(A,Le)}this._internalRoot=Z}ef.prototype.render=function(v){$c(v,this._internalRoot,null,null)},ef.prototype.unmount=function(){var v=this._internalRoot,A=v.containerInfo;$c(null,v,null,function(){A[Oi]=null})};function mf(v){return!(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11&&(v.nodeType!==8||v.nodeValue!==" react-mount-point-unstable "))}function Hf(v,A){if(A||(A=v?v.nodeType===9?v.documentElement:v.firstChild:null,A=!(!A||A.nodeType!==1||!A.hasAttribute("data-reactroot"))),!A)for(var Z;Z=v.lastChild;)v.removeChild(Z);return new ef(v,0,A?{hydrate:!0}:void 0)}function Cf(v,A,Z,ve,Le){var lt=Z._reactRootContainer;if(lt){var Ut=lt._internalRoot;if(typeof Le=="function"){var rr=Le;Le=function(){var t=Af(Ut);rr.call(t)}}$c(A,Ut,v,Le)}else{if(lt=Z._reactRootContainer=Hf(Z,ve),Ut=lt._internalRoot,typeof Le=="function"){var I=Le;Le=function(){var t=Af(Ut);I.call(t)}}xa(function(){$c(A,Ut,v,Le)})}return Af(Ut)}dn=function(v){if(v.tag===13){var A=Go();wl(v,4,A),jc(v,4)}},Fn=function(v){if(v.tag===13){var A=Go();wl(v,67108864,A),jc(v,67108864)}},ei=function(v){if(v.tag===13){var A=Go(),Z=Zu(v);wl(v,Z,A),jc(v,Z)}},Nn=function(v,A){return A()},Tt=function(v,A,Z){switch(A){case"input":if(ge(v,Z),A=Z.name,Z.type==="radio"&&A!=null){for(Z=v;Z.parentNode;)Z=Z.parentNode;for(Z=Z.querySelectorAll("input[name="+JSON.stringify(""+A)+'][type="radio"]'),A=0;A<Z.length;A++){var ve=Z[A];if(ve!==v&&ve.form===v.form){var Le=rs(ve);if(!Le)throw Error(c(90));st(ve),ge(ve,Le)}}}break;case"textarea":Wt(v,Z);break;case"select":A=Z.value,A!=null&&nt(v,!!Z.multiple,A,!1)}},Rt=Mi,Be=function(v,A,Z,ve,Le){var lt=$i;$i|=4;try{return Pr(98,v.bind(null,A,Z,ve,Le))}finally{$i=lt,$i===0&&(Ds(),nn())}},kr=function(){!($i&49)&&(Hn(),$l())},At=function(v,A){var Z=$i;$i|=2;try{return v(A)}finally{$i=Z,$i===0&&(Ds(),nn())}};function Bf(v,A){var Z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!mf(A))throw Error(c(200));return _f(v,A,null,Z)}var Nf={Events:[Ya,ho,rs,Ke,gt,$l,{current:!1}]},tf={findFiberByHostInstance:Ba,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},$f={bundleType:tf.bundleType,version:tf.version,rendererPackageName:tf.rendererPackageName,rendererConfig:tf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:U.ReactCurrentDispatcher,findHostInstanceByFiber:function(v){return v=mr(v),v===null?null:v.stateNode},findFiberByHostInstance:tf.findFiberByHostInstance||Ff,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tf.isDisabled&&Tf.supportsFiber)try{Rn=Tf.inject($f),Mn=Tf}catch(v){}}g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Nf,g.createPortal=Bf,g.findDOMNode=function(v){if(v==null)return null;if(v.nodeType===1)return v;var A=v._reactInternals;if(A===void 0)throw typeof v.render=="function"?Error(c(188)):Error(c(268,Object.keys(v)));return v=mr(A),v=v===null?null:v.stateNode,v},g.flushSync=function(v,A){var Z=$i;if(Z&48)return v(A);$i|=1;try{if(v)return Pr(99,v.bind(null,A))}finally{$i=Z,nn()}},g.hydrate=function(v,A,Z){if(!mf(A))throw Error(c(200));return Cf(null,v,A,!0,Z)},g.render=function(v,A,Z){if(!mf(A))throw Error(c(200));return Cf(null,v,A,!1,Z)},g.unmountComponentAtNode=function(v){if(!mf(v))throw Error(c(40));return v._reactRootContainer?(xa(function(){Cf(null,null,v,!1,function(){v._reactRootContainer=null,v[Oi]=null})}),!0):!1},g.unstable_batchedUpdates=Mi,g.unstable_createPortal=function(v,A){return Bf(v,A,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},g.unstable_renderSubtreeIntoContainer=function(v,A,Z,ve){if(!mf(Z))throw Error(c(200));if(v==null||v._reactInternals===void 0)throw Error(c(38));return Cf(v,A,Z,!1,ve)},g.version="17.0.2"},4676:function(d,g,e){"use strict";function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}r(),d.exports=e(23675)},12373:function(d){var g=typeof Element!="undefined",e=typeof Map=="function",r=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,f){if(c===f)return!0;if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var s,h,u;if(Array.isArray(c)){if(s=c.length,s!=f.length)return!1;for(h=s;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(s=c.length,s!=f.length)return!1;for(h=s;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),s=u.length,s!==Object.keys(f).length)return!1;for(h=s;h--!==0;)if(!Object.prototype.hasOwnProperty.call(f,u[h]))return!1;if(g&&c instanceof Element)return!1;for(h=s;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,s){try{return l(f,s)}catch(h){if((h.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw h}}},30508:function(d,g){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,l=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,f=e?Symbol.for("react.profiler"):60114,s=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,R=e?Symbol.for("react.fundamental"):60117,L=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function D($){if(typeof $=="object"&&$!==null){var U=$.$$typeof;switch(U){case r:switch($=$.type,$){case u:case a:case l:case f:case c:case p:return $;default:switch($=$&&$.$$typeof,$){case h:case x:case b:case _:case s:return $;default:return U}}case i:return U}}}function B($){return D($)===a}g.AsyncMode=u,g.ConcurrentMode=a,g.ContextConsumer=h,g.ContextProvider=s,g.Element=r,g.ForwardRef=x,g.Fragment=l,g.Lazy=b,g.Memo=_,g.Portal=i,g.Profiler=f,g.StrictMode=c,g.Suspense=p,g.isAsyncMode=function($){return B($)||D($)===u},g.isConcurrentMode=B,g.isContextConsumer=function($){return D($)===h},g.isContextProvider=function($){return D($)===s},g.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===r},g.isForwardRef=function($){return D($)===x},g.isFragment=function($){return D($)===l},g.isLazy=function($){return D($)===b},g.isMemo=function($){return D($)===_},g.isPortal=function($){return D($)===i},g.isProfiler=function($){return D($)===f},g.isStrictMode=function($){return D($)===c},g.isSuspense=function($){return D($)===p},g.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===l||$===a||$===f||$===c||$===p||$===y||typeof $=="object"&&$!==null&&($.$$typeof===b||$.$$typeof===_||$.$$typeof===s||$.$$typeof===h||$.$$typeof===x||$.$$typeof===R||$.$$typeof===L||$.$$typeof===T||$.$$typeof===S)},g.typeOf=D},99234:function(d,g,e){"use strict";d.exports=e(30508)},88172:function(d,g){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),s=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(R){if(typeof R=="object"&&R!==null){var L=R.$$typeof;switch(L){case e:switch(R=R.type,R){case i:case c:case l:case a:case x:return R;default:switch(R=R&&R.$$typeof,R){case h:case s:case u:case y:case p:case f:return R;default:return L}}case r:return L}}}g.ContextConsumer=s,g.ContextProvider=f,g.Element=e,g.ForwardRef=u,g.Fragment=i,g.Lazy=y,g.Memo=p,g.Portal=r,g.Profiler=c,g.StrictMode=l,g.Suspense=a,g.SuspenseList=x,g.isAsyncMode=function(){return!1},g.isConcurrentMode=function(){return!1},g.isContextConsumer=function(R){return S(R)===s},g.isContextProvider=function(R){return S(R)===f},g.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===e},g.isForwardRef=function(R){return S(R)===u},g.isFragment=function(R){return S(R)===i},g.isLazy=function(R){return S(R)===y},g.isMemo=function(R){return S(R)===p},g.isPortal=function(R){return S(R)===r},g.isProfiler=function(R){return S(R)===c},g.isStrictMode=function(R){return S(R)===l},g.isSuspense=function(R){return S(R)===a},g.isSuspenseList=function(R){return S(R)===x},g.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===i||R===c||R===l||R===a||R===x||R===_||typeof R=="object"&&R!==null&&(R.$$typeof===y||R.$$typeof===p||R.$$typeof===f||R.$$typeof===s||R.$$typeof===u||R.$$typeof===b||R.getModuleId!==void 0)},g.typeOf=S},23265:function(d,g,e){"use strict";d.exports=e(88172)},32451:function(d,g,e){"use strict";e.d(g,{lr:function(){return R},rU:function(){return _}});var r=e(59301),i=e(35338),l=e(19340);function c(){return c=Object.assign||function(T){for(var D=1;D<arguments.length;D++){var B=arguments[D];for(var $ in B)Object.prototype.hasOwnProperty.call(B,$)&&(T[$]=B[$])}return T},c.apply(this,arguments)}function f(T,D){if(T==null)return{};var B={},$=Object.keys(T),U,V;for(V=0;V<$.length;V++)U=$[V],!(D.indexOf(U)>=0)&&(B[U]=T[U]);return B}const s=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(T,D){if(!T){typeof console!="undefined"&&console.warn(D);try{throw new Error(D)}catch(B){}}}function a(T){let{basename:D,children:B,window:$}=T,U=useRef();U.current==null&&(U.current=createBrowserHistory({window:$}));let V=U.current,[K,G]=useState({action:V.action,location:V.location});return useLayoutEffect(()=>V.listen(G),[V]),createElement(Router,{basename:D,children:B,location:K.location,navigationType:K.action,navigator:V})}function x(T){let{basename:D,children:B,window:$}=T,U=useRef();U.current==null&&(U.current=createHashHistory({window:$}));let V=U.current,[K,G]=useState({action:V.action,location:V.location});return useLayoutEffect(()=>V.listen(G),[V]),createElement(Router,{basename:D,children:B,location:K.location,navigationType:K.action,navigator:V})}function p(T){let{basename:D,children:B,history:$}=T;const[U,V]=useState({action:$.action,location:$.location});return useLayoutEffect(()=>$.listen(V),[$]),createElement(Router,{basename:D,children:B,location:U.location,navigationType:U.action,navigator:$})}function y(T){return!!(T.metaKey||T.altKey||T.ctrlKey||T.shiftKey)}const _=(0,r.forwardRef)(function(D,B){let{onClick:$,reloadDocument:U,replace:V=!1,state:K,target:G,to:oe}=D,ae=f(D,s),le=(0,i.oQ)(oe),Q=S(oe,{replace:V,state:K,target:G});function J(Y){$&&$(Y),!Y.defaultPrevented&&!U&&Q(Y)}return(0,r.createElement)("a",c({},ae,{href:le,onClick:J,ref:B,target:G}))}),b=null;function S(T,D){let{target:B,replace:$,state:U}=D===void 0?{}:D,V=(0,i.s0)(),K=(0,i.TH)(),G=(0,i.WU)(T);return(0,r.useCallback)(oe=>{if(oe.button===0&&(!B||B==="_self")&&!y(oe)){oe.preventDefault();let ae=!!$||(0,l.Ep)(K)===(0,l.Ep)(G);V(T,{replace:ae,state:U})}},[K,V,G,$,U,B,T])}function R(T){let D=(0,r.useRef)(L(T)),B=(0,i.TH)(),$=(0,r.useMemo)(()=>{let K=L(B.search);for(let G of D.current.keys())K.has(G)||D.current.getAll(G).forEach(oe=>{K.append(G,oe)});return K},[B.search]),U=(0,i.s0)(),V=(0,r.useCallback)((K,G)=>{U("?"+L(K),G)},[U]);return[$,V]}function L(T){return T===void 0&&(T=""),new URLSearchParams(typeof T=="string"||Array.isArray(T)||T instanceof URLSearchParams?T:Object.keys(T).reduce((D,B)=>{let $=T[B];return D.concat(Array.isArray($)?$.map(U=>[B,U]):[[B,$]])},[]))}},35338:function(d,g,e){"use strict";e.d(g,{F0:function(){return st},Fg:function(){return Xe},Gn:function(){return x},TH:function(){return q},UO:function(){return _t},V$:function(){return Qt},WU:function(){return Pt},bx:function(){return Fe},fp:function(){return p},j3:function(){return It},oQ:function(){return F},s0:function(){return Ce}});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 s(Ue,ge){if(!Ue)throw new Error(ge)}function h(Ue,ge){if(!Ue){typeof console!="undefined"&&console.warn(ge);try{throw new Error(ge)}catch(Ae){}}}const u={};function a(Ue,ge,Ae){!ge&&!u[Ue]&&(u[Ue]=!0)}function x(Ue,ge){return ge===void 0&&(ge={}),Ue.replace(/:(\w+)/g,(Ae,Me)=>(ge[Me]==null&&s(!1),ge[Me])).replace(/\/*\*$/,Ae=>ge["*"]==null?"":ge["*"].replace(/^\/*/,"/"))}function p(Ue,ge,Ae){Ae===void 0&&(Ae="/");let Me=typeof ge=="string"?(0,r.cP)(ge):ge,$e=Y(Me.pathname||"/",Ae);if($e==null)return null;let He=y(Ue);_(He);let nt=null;for(let ct=0;nt==null&&ct<He.length;++ct)nt=V(He[ct],$e);return nt}function y(Ue,ge,Ae,Me){return ge===void 0&&(ge=[]),Ae===void 0&&(Ae=[]),Me===void 0&&(Me=""),Ue.forEach(($e,He)=>{let nt={relativePath:$e.path||"",caseSensitive:$e.caseSensitive===!0,childrenIndex:He,route:$e};nt.relativePath.startsWith("/")&&(nt.relativePath.startsWith(Me)||s(!1),nt.relativePath=nt.relativePath.slice(Me.length));let ct=ue([Me,nt.relativePath]),Kt=Ae.concat(nt);$e.children&&$e.children.length>0&&($e.index===!0&&s(!1),y($e.children,ge,Kt,ct)),!($e.path==null&&!$e.index)&&ge.push({path:ct,score:$(ct,$e.index),routesMeta:Kt})}),ge}function _(Ue){Ue.sort((ge,Ae)=>ge.score!==Ae.score?Ae.score-ge.score:U(ge.routesMeta.map(Me=>Me.childrenIndex),Ae.routesMeta.map(Me=>Me.childrenIndex)))}const b=/^:\w+$/,S=3,R=2,L=1,T=10,D=-2,B=Ue=>Ue==="*";function $(Ue,ge){let Ae=Ue.split("/"),Me=Ae.length;return Ae.some(B)&&(Me+=D),ge&&(Me+=R),Ae.filter($e=>!B($e)).reduce(($e,He)=>$e+(b.test(He)?S:He===""?L:T),Me)}function U(Ue,ge){return Ue.length===ge.length&&Ue.slice(0,-1).every((Me,$e)=>Me===ge[$e])?Ue[Ue.length-1]-ge[ge.length-1]:0}function V(Ue,ge){let{routesMeta:Ae}=Ue,Me={},$e="/",He=[];for(let nt=0;nt<Ae.length;++nt){let ct=Ae[nt],Kt=nt===Ae.length-1,Wt=$e==="/"?ge:ge.slice($e.length)||"/",De=K({path:ct.relativePath,caseSensitive:ct.caseSensitive,end:Kt},Wt);if(!De)return null;Object.assign(Me,De.params);let Qe=ct.route;He.push({params:Me,pathname:ue([$e,De.pathname]),pathnameBase:ne(ue([$e,De.pathnameBase])),route:Qe}),De.pathnameBase!=="/"&&($e=ue([$e,De.pathnameBase]))}return He}function K(Ue,ge){typeof Ue=="string"&&(Ue={path:Ue,caseSensitive:!1,end:!0});let[Ae,Me]=G(Ue.path,Ue.caseSensitive,Ue.end),$e=ge.match(Ae);if(!$e)return null;let He=$e[0],nt=He.replace(/(.)\/+$/,"$1"),ct=$e.slice(1);return{params:Me.reduce((Wt,De,Qe)=>{if(De==="*"){let Vt=ct[Qe]||"";nt=He.slice(0,He.length-Vt.length).replace(/(.)\/+$/,"$1")}return Wt[De]=oe(ct[Qe]||"",De),Wt},{}),pathname:He,pathnameBase:nt,pattern:Ue}}function G(Ue,ge,Ae){ge===void 0&&(ge=!1),Ae===void 0&&(Ae=!0);let Me=[],$e="^"+Ue.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(nt,ct)=>(Me.push(ct),"([^\\/]+)"));return Ue.endsWith("*")?(Me.push("*"),$e+=Ue==="*"||Ue==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):$e+=Ae?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp($e,ge?void 0:"i"),Me]}function oe(Ue,ge){try{return decodeURIComponent(Ue)}catch(Ae){return Ue}}function ae(Ue,ge){ge===void 0&&(ge="/");let{pathname:Ae,search:Me="",hash:$e=""}=typeof Ue=="string"?(0,r.cP)(Ue):Ue;return{pathname:Ae?Ae.startsWith("/")?Ae:le(Ae,ge):ge,search:ee(Me),hash:ie($e)}}function le(Ue,ge){let Ae=ge.replace(/\/+$/,"").split("/");return Ue.split("/").forEach($e=>{$e===".."?Ae.length>1&&Ae.pop():$e!=="."&&Ae.push($e)}),Ae.length>1?Ae.join("/"):"/"}function Q(Ue,ge,Ae){let Me=typeof Ue=="string"?(0,r.cP)(Ue):Ue,$e=Ue===""||Me.pathname===""?"/":Me.pathname,He;if($e==null)He=Ae;else{let ct=ge.length-1;if($e.startsWith("..")){let Kt=$e.split("/");for(;Kt[0]==="..";)Kt.shift(),ct-=1;Me.pathname=Kt.join("/")}He=ct>=0?ge[ct]:"/"}let nt=ae(Me,He);return $e&&$e!=="/"&&$e.endsWith("/")&&!nt.pathname.endsWith("/")&&(nt.pathname+="/"),nt}function J(Ue){return Ue===""||Ue.pathname===""?"/":typeof Ue=="string"?(0,r.cP)(Ue).pathname:Ue.pathname}function Y(Ue,ge){if(ge==="/")return Ue;if(!Ue.toLowerCase().startsWith(ge.toLowerCase()))return null;let Ae=Ue.charAt(ge.length);return Ae&&Ae!=="/"?null:Ue.slice(ge.length)||"/"}const ue=Ue=>Ue.join("/").replace(/\/\/+/g,"/"),ne=Ue=>Ue.replace(/\/+$/,"").replace(/^\/*/,"/"),ee=Ue=>!Ue||Ue==="?"?"":Ue.startsWith("?")?Ue:"?"+Ue,ie=Ue=>!Ue||Ue==="#"?"":Ue.startsWith("#")?Ue:"#"+Ue;function F(Ue){M()||s(!1);let{basename:ge,navigator:Ae}=(0,i.useContext)(l),{hash:Me,pathname:$e,search:He}=Pt(Ue),nt=$e;if(ge!=="/"){let ct=J(Ue),Kt=ct!=null&&ct.endsWith("/");nt=$e==="/"?ge+(Kt?"/":""):ue([ge,$e])}return Ae.createHref({pathname:nt,search:He,hash:Me})}function M(){return(0,i.useContext)(c)!=null}function q(){return M()||s(!1),(0,i.useContext)(c).location}function de(){return useContext(c).navigationType}function Ee(Ue){M()||s(!1);let{pathname:ge}=q();return useMemo(()=>K(Ue,ge),[ge,Ue])}function Ce(){M()||s(!1);let{basename:Ue,navigator:ge}=(0,i.useContext)(l),{matches:Ae}=(0,i.useContext)(f),{pathname:Me}=q(),$e=JSON.stringify(Ae.map(ct=>ct.pathnameBase)),He=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{He.current=!0}),(0,i.useCallback)(function(ct,Kt){if(Kt===void 0&&(Kt={}),!He.current)return;if(typeof ct=="number"){ge.go(ct);return}let Wt=Q(ct,JSON.parse($e),Me);Ue!=="/"&&(Wt.pathname=ue([Ue,Wt.pathname])),(Kt.replace?ge.replace:ge.push)(Wt,Kt.state)},[Ue,ge,$e,Me])}const je=(0,i.createContext)(null);function Fe(){return(0,i.useContext)(je)}function Ft(Ue){let ge=(0,i.useContext)(f).outlet;return ge&&(0,i.createElement)(je.Provider,{value:Ue},ge)}function _t(){let{matches:Ue}=(0,i.useContext)(f),ge=Ue[Ue.length-1];return ge?ge.params:{}}function Pt(Ue){let{matches:ge}=(0,i.useContext)(f),{pathname:Ae}=q(),Me=JSON.stringify(ge.map($e=>$e.pathnameBase));return(0,i.useMemo)(()=>Q(Ue,JSON.parse(Me),Ae),[Ue,Me,Ae])}function Qt(Ue,ge){M()||s(!1);let{matches:Ae}=(0,i.useContext)(f),Me=Ae[Ae.length-1],$e=Me?Me.params:{},He=Me?Me.pathname:"/",nt=Me?Me.pathnameBase:"/",ct=Me&&Me.route,Kt=q(),Wt;if(ge){var De;let Ht=typeof ge=="string"?(0,r.cP)(ge):ge;nt==="/"||(De=Ht.pathname)!=null&&De.startsWith(nt)||s(!1),Wt=Ht}else Wt=Kt;let Qe=Wt.pathname||"/",Vt=nt==="/"?Qe:Qe.slice(nt.length)||"/",kt=p(Ue,{pathname:Vt});return er(kt&&kt.map(Ht=>Object.assign({},Ht,{params:Object.assign({},$e,Ht.params),pathname:ue([nt,Ht.pathname]),pathnameBase:Ht.pathnameBase==="/"?nt:ue([nt,Ht.pathnameBase])})),Ae)}function er(Ue,ge){return ge===void 0&&(ge=[]),Ue==null?null:Ue.reduceRight((Ae,Me,$e)=>(0,i.createElement)(f.Provider,{children:Me.route.element!==void 0?Me.route.element:Ae,value:{outlet:Ae,matches:ge.concat(Ue.slice(0,$e+1))}}),null)}function Jt(Ue){let{basename:ge,children:Ae,initialEntries:Me,initialIndex:$e}=Ue,He=useRef();He.current==null&&(He.current=createMemoryHistory({initialEntries:Me,initialIndex:$e}));let nt=He.current,[ct,Kt]=useState({action:nt.action,location:nt.location});return useLayoutEffect(()=>nt.listen(Kt),[nt]),createElement(st,{basename:ge,children:Ae,location:ct.location,navigationType:ct.action,navigator:nt})}function Xe(Ue){let{to:ge,replace:Ae,state:Me}=Ue;M()||s(!1);let $e=Ce();return(0,i.useEffect)(()=>{$e(ge,{replace:Ae,state:Me})}),null}function It(Ue){return Ft(Ue.context)}function zt(Ue){s(!1)}function st(Ue){let{basename:ge="/",children:Ae=null,location:Me,navigationType:$e=r.aU.Pop,navigator:He,static:nt=!1}=Ue;M()&&s(!1);let ct=ne(ge),Kt=(0,i.useMemo)(()=>({basename:ct,navigator:He,static:nt}),[ct,He,nt]);typeof Me=="string"&&(Me=(0,r.cP)(Me));let{pathname:Wt="/",search:De="",hash:Qe="",state:Vt=null,key:kt="default"}=Me,Ht=(0,i.useMemo)(()=>{let $t=Y(Wt,ct);return $t==null?null:{pathname:$t,search:De,hash:Qe,state:Vt,key:kt}},[ct,Wt,De,Qe,Vt,kt]);return Ht==null?null:(0,i.createElement)(l.Provider,{value:Kt},(0,i.createElement)(c.Provider,{children:Ae,value:{location:Ht,navigationType:$e}}))}function bt(Ue){let{children:ge,location:Ae}=Ue;return Qt(ht(ge),Ae)}function ht(Ue){let ge=[];return Children.forEach(Ue,Ae=>{if(!isValidElement(Ae))return;if(Ae.type===Fragment){ge.push.apply(ge,ht(Ae.props.children));return}Ae.type!==zt&&s(!1);let Me={caseSensitive:Ae.props.caseSensitive,element:Ae.props.element,index:Ae.props.index,path:Ae.props.path};Ae.props.children&&(Me.children=ht(Ae.props.children)),ge.push(Me)}),ge}function Je(Ue){return er(Ue)}},76100:function(d,g,e){"use strict";var r=e(84126),i=60103,l=60106;g.Fragment=60107,g.StrictMode=60108,g.Profiler=60114;var c=60109,f=60110,s=60112;g.Suspense=60113;var h=60115,u=60116;if(typeof Symbol=="function"&&Symbol.for){var a=Symbol.for;i=a("react.element"),l=a("react.portal"),g.Fragment=a("react.fragment"),g.StrictMode=a("react.strict_mode"),g.Profiler=a("react.profiler"),c=a("react.provider"),f=a("react.context"),s=a("react.forward_ref"),g.Suspense=a("react.suspense"),h=a("react.memo"),u=a("react.lazy")}var x=typeof Symbol=="function"&&Symbol.iterator;function p(ee){return ee===null||typeof ee!="object"?null:(ee=x&&ee[x]||ee["@@iterator"],typeof ee=="function"?ee:null)}function y(ee){for(var ie="https://reactjs.org/docs/error-decoder.html?invariant="+ee,F=1;F<arguments.length;F++)ie+="&args[]="+encodeURIComponent(arguments[F]);return"Minified React error #"+ee+"; visit "+ie+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function S(ee,ie,F){this.props=ee,this.context=ie,this.refs=b,this.updater=F||_}S.prototype.isReactComponent={},S.prototype.setState=function(ee,ie){if(typeof ee!="object"&&typeof ee!="function"&&ee!=null)throw Error(y(85));this.updater.enqueueSetState(this,ee,ie,"setState")},S.prototype.forceUpdate=function(ee){this.updater.enqueueForceUpdate(this,ee,"forceUpdate")};function R(){}R.prototype=S.prototype;function L(ee,ie,F){this.props=ee,this.context=ie,this.refs=b,this.updater=F||_}var T=L.prototype=new R;T.constructor=L,r(T,S.prototype),T.isPureReactComponent=!0;var D={current:null},B=Object.prototype.hasOwnProperty,$={key:!0,ref:!0,__self:!0,__source:!0};function U(ee,ie,F){var M,q={},de=null,Ee=null;if(ie!=null)for(M in ie.ref!==void 0&&(Ee=ie.ref),ie.key!==void 0&&(de=""+ie.key),ie)B.call(ie,M)&&!$.hasOwnProperty(M)&&(q[M]=ie[M]);var Ce=arguments.length-2;if(Ce===1)q.children=F;else if(1<Ce){for(var je=Array(Ce),Fe=0;Fe<Ce;Fe++)je[Fe]=arguments[Fe+2];q.children=je}if(ee&&ee.defaultProps)for(M in Ce=ee.defaultProps,Ce)q[M]===void 0&&(q[M]=Ce[M]);return{$$typeof:i,type:ee,key:de,ref:Ee,props:q,_owner:D.current}}function V(ee,ie){return{$$typeof:i,type:ee.type,key:ie,ref:ee.ref,props:ee.props,_owner:ee._owner}}function K(ee){return typeof ee=="object"&&ee!==null&&ee.$$typeof===i}function G(ee){var ie={"=":"=0",":":"=2"};return"$"+ee.replace(/[=:]/g,function(F){return ie[F]})}var oe=/\/+/g;function ae(ee,ie){return typeof ee=="object"&&ee!==null&&ee.key!=null?G(""+ee.key):ie.toString(36)}function le(ee,ie,F,M,q){var de=typeof ee;(de==="undefined"||de==="boolean")&&(ee=null);var Ee=!1;if(ee===null)Ee=!0;else switch(de){case"string":case"number":Ee=!0;break;case"object":switch(ee.$$typeof){case i:case l:Ee=!0}}if(Ee)return Ee=ee,q=q(Ee),ee=M===""?"."+ae(Ee,0):M,Array.isArray(q)?(F="",ee!=null&&(F=ee.replace(oe,"$&/")+"/"),le(q,ie,F,"",function(Fe){return Fe})):q!=null&&(K(q)&&(q=V(q,F+(!q.key||Ee&&Ee.key===q.key?"":(""+q.key).replace(oe,"$&/")+"/")+ee)),ie.push(q)),1;if(Ee=0,M=M===""?".":M+":",Array.isArray(ee))for(var Ce=0;Ce<ee.length;Ce++){de=ee[Ce];var je=M+ae(de,Ce);Ee+=le(de,ie,F,je,q)}else if(je=p(ee),typeof je=="function")for(ee=je.call(ee),Ce=0;!(de=ee.next()).done;)de=de.value,je=M+ae(de,Ce++),Ee+=le(de,ie,F,je,q);else if(de==="object")throw ie=""+ee,Error(y(31,ie==="[object Object]"?"object with keys {"+Object.keys(ee).join(", ")+"}":ie));return Ee}function Q(ee,ie,F){if(ee==null)return ee;var M=[],q=0;return le(ee,M,"","",function(de){return ie.call(F,de,q++)}),M}function J(ee){if(ee._status===-1){var ie=ee._result;ie=ie(),ee._status=0,ee._result=ie,ie.then(function(F){ee._status===0&&(F=F.default,ee._status=1,ee._result=F)},function(F){ee._status===0&&(ee._status=2,ee._result=F)})}if(ee._status===1)return ee._result;throw ee._result}var Y={current:null};function ue(){var ee=Y.current;if(ee===null)throw Error(y(321));return ee}var ne={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:D,IsSomeRendererActing:{current:!1},assign:r};g.Children={map:Q,forEach:function(ee,ie,F){Q(ee,function(){ie.apply(this,arguments)},F)},count:function(ee){var ie=0;return Q(ee,function(){ie++}),ie},toArray:function(ee){return Q(ee,function(ie){return ie})||[]},only:function(ee){if(!K(ee))throw Error(y(143));return ee}},g.Component=S,g.PureComponent=L,g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,g.cloneElement=function(ee,ie,F){if(ee==null)throw Error(y(267,ee));var M=r({},ee.props),q=ee.key,de=ee.ref,Ee=ee._owner;if(ie!=null){if(ie.ref!==void 0&&(de=ie.ref,Ee=D.current),ie.key!==void 0&&(q=""+ie.key),ee.type&&ee.type.defaultProps)var Ce=ee.type.defaultProps;for(je in ie)B.call(ie,je)&&!$.hasOwnProperty(je)&&(M[je]=ie[je]===void 0&&Ce!==void 0?Ce[je]:ie[je])}var je=arguments.length-2;if(je===1)M.children=F;else if(1<je){Ce=Array(je);for(var Fe=0;Fe<je;Fe++)Ce[Fe]=arguments[Fe+2];M.children=Ce}return{$$typeof:i,type:ee.type,key:q,ref:de,props:M,_owner:Ee}},g.createContext=function(ee,ie){return ie===void 0&&(ie=null),ee={$$typeof:f,_calculateChangedBits:ie,_currentValue:ee,_currentValue2:ee,_threadCount:0,Provider:null,Consumer:null},ee.Provider={$$typeof:c,_context:ee},ee.Consumer=ee},g.createElement=U,g.createFactory=function(ee){var ie=U.bind(null,ee);return ie.type=ee,ie},g.createRef=function(){return{current:null}},g.forwardRef=function(ee){return{$$typeof:s,render:ee}},g.isValidElement=K,g.lazy=function(ee){return{$$typeof:u,_payload:{_status:-1,_result:ee},_init:J}},g.memo=function(ee,ie){return{$$typeof:h,type:ee,compare:ie===void 0?null:ie}},g.useCallback=function(ee,ie){return ue().useCallback(ee,ie)},g.useContext=function(ee,ie){return ue().useContext(ee,ie)},g.useDebugValue=function(){},g.useEffect=function(ee,ie){return ue().useEffect(ee,ie)},g.useImperativeHandle=function(ee,ie,F){return ue().useImperativeHandle(ee,ie,F)},g.useLayoutEffect=function(ee,ie){return ue().useLayoutEffect(ee,ie)},g.useMemo=function(ee,ie){return ue().useMemo(ee,ie)},g.useReducer=function(ee,ie,F){return ue().useReducer(ee,ie,F)},g.useRef=function(ee){return ue().useRef(ee)},g.useState=function(ee){return ue().useState(ee)},g.version="17.0.2"},59301:function(d,g,e){"use strict";d.exports=e(76100)},59781:function(d,g,e){"use strict";e.d(g,{DE:function(){return D},MT:function(){return y},UY:function(){return L},md:function(){return $},qC:function(){return B}});var r=e(77321);function i(U){return"Minified Redux error #"+U+"; visit https://redux.js.org/Errors?code="+U+" 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 s(U){if(typeof U!="object"||U===null)return!1;for(var V=U;Object.getPrototypeOf(V)!==null;)V=Object.getPrototypeOf(V);return Object.getPrototypeOf(U)===V}function h(U){if(U===void 0)return"undefined";if(U===null)return"null";var V=typeof U;switch(V){case"boolean":case"string":case"number":case"symbol":case"function":return V}if(Array.isArray(U))return"array";if(x(U))return"date";if(a(U))return"error";var K=u(U);switch(K){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return K}return V.slice(8,-1).toLowerCase().replace(/\s/g,"")}function u(U){return typeof U.constructor=="function"?U.constructor.name:null}function a(U){return U instanceof Error||typeof U.message=="string"&&U.constructor&&typeof U.constructor.stackTraceLimit=="number"}function x(U){return U instanceof Date?!0:typeof U.toDateString=="function"&&typeof U.getDate=="function"&&typeof U.setDate=="function"}function p(U){var V=typeof U;return V}function y(U,V,K){var G;if(typeof V=="function"&&typeof K=="function"||typeof K=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof V=="function"&&typeof K=="undefined"&&(K=V,V=void 0),typeof K!="undefined"){if(typeof K!="function")throw new Error(i(1));return K(y)(U,V)}if(typeof U!="function")throw new Error(i(2));var oe=U,ae=V,le=[],Q=le,J=!1;function Y(){Q===le&&(Q=le.slice())}function ue(){if(J)throw new Error(i(3));return ae}function ne(M){if(typeof M!="function")throw new Error(i(4));if(J)throw new Error(i(5));var q=!0;return Y(),Q.push(M),function(){if(q){if(J)throw new Error(i(6));q=!1,Y();var Ee=Q.indexOf(M);Q.splice(Ee,1),le=null}}}function ee(M){if(!s(M))throw new Error(i(7));if(typeof M.type=="undefined")throw new Error(i(8));if(J)throw new Error(i(9));try{J=!0,ae=oe(ae,M)}finally{J=!1}for(var q=le=Q,de=0;de<q.length;de++){var Ee=q[de];Ee()}return M}function ie(M){if(typeof M!="function")throw new Error(i(10));oe=M,ee({type:f.REPLACE})}function F(){var M,q=ne;return M={subscribe:function(Ee){if(typeof Ee!="object"||Ee===null)throw new Error(i(11));function Ce(){Ee.next&&Ee.next(ue())}Ce();var je=q(Ce);return{unsubscribe:je}}},M[l]=function(){return this},M}return ee({type:f.INIT}),G={dispatch:ee,subscribe:ne,getState:ue,replaceReducer:ie},G[l]=F,G}var _=null;function b(U){typeof console!="undefined"&&typeof console.error=="function"&&console.error(U);try{throw new Error(U)}catch(V){}}function S(U,V,K,G){var oe=Object.keys(V),ae=K&&K.type===f.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(oe.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!s(U))return"The "+ae+' has unexpected type of "'+p(U)+'". Expected argument to be an object with the following '+('keys: "'+oe.join('", "')+'"');var le=Object.keys(U).filter(function(Q){return!V.hasOwnProperty(Q)&&!G[Q]});if(le.forEach(function(Q){G[Q]=!0}),!(K&&K.type===f.REPLACE)&&le.length>0)return"Unexpected "+(le.length>1?"keys":"key")+" "+('"'+le.join('", "')+'" found in '+ae+". ")+"Expected to find one of the known reducer keys instead: "+('"'+oe.join('", "')+'". Unexpected keys will be ignored.')}function R(U){Object.keys(U).forEach(function(V){var K=U[V],G=K(void 0,{type:f.INIT});if(typeof G=="undefined")throw new Error(i(12));if(typeof K(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function L(U){for(var V=Object.keys(U),K={},G=0;G<V.length;G++){var oe=V[G];typeof U[oe]=="function"&&(K[oe]=U[oe])}var ae=Object.keys(K),le,Q;try{R(K)}catch(J){Q=J}return function(Y,ue){if(Y===void 0&&(Y={}),Q)throw Q;if(0)var ne;for(var ee=!1,ie={},F=0;F<ae.length;F++){var M=ae[F],q=K[M],de=Y[M],Ee=q(de,ue);if(typeof Ee=="undefined"){var Ce=ue&&ue.type;throw new Error(i(14))}ie[M]=Ee,ee=ee||Ee!==de}return ee=ee||ae.length!==Object.keys(Y).length,ee?ie:Y}}function T(U,V){return function(){return V(U.apply(this,arguments))}}function D(U,V){if(typeof U=="function")return T(U,V);if(typeof U!="object"||U===null)throw new Error(i(16));var K={};for(var G in U){var oe=U[G];typeof oe=="function"&&(K[G]=T(oe,V))}return K}function B(){for(var U=arguments.length,V=new Array(U),K=0;K<U;K++)V[K]=arguments[K];return V.length===0?function(G){return G}:V.length===1?V[0]:V.reduce(function(G,oe){return function(){return G(oe.apply(void 0,arguments))}})}function $(){for(var U=arguments.length,V=new Array(U),K=0;K<U;K++)V[K]=arguments[K];return function(G){return function(){var oe=G.apply(void 0,arguments),ae=function(){throw new Error(i(15))},le={getState:oe.getState,dispatch:function(){return ae.apply(void 0,arguments)}},Q=V.map(function(J){return J(le)});return ae=B.apply(void 0,Q)(oe.dispatch),(0,r.Z)((0,r.Z)({},oe),{},{dispatch:ae})}}}},58246:function(d){var g=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(ne,ee,ie){ne[ee]=ie.value},c,f=typeof Symbol=="function"?Symbol:{},s=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(ne,ee,ie){return Object.defineProperty(ne,ee,{value:ie,enumerable:!0,configurable:!0,writable:!0}),ne[ee]}try{a({},"")}catch(ne){a=function(ee,ie,F){return ee[ie]=F}}function x(ne,ee,ie,F){var M=ee&&ee.prototype instanceof L?ee:L,q=Object.create(M.prototype),de=new J(F||[]);return l(q,"_invoke",{value:oe(ne,ie,de)}),q}e.wrap=x;function p(ne,ee,ie){try{return{type:"normal",arg:ne.call(ee,ie)}}catch(F){return{type:"throw",arg:F}}}var y="suspendedStart",_="suspendedYield",b="executing",S="completed",R={};function L(){}function T(){}function D(){}var B={};a(B,s,function(){return this});var $=Object.getPrototypeOf,U=$&&$($(Y([])));U&&U!==r&&i.call(U,s)&&(B=U);var V=D.prototype=L.prototype=Object.create(B);T.prototype=D,l(V,"constructor",{value:D,configurable:!0}),l(D,"constructor",{value:T,configurable:!0}),T.displayName=a(D,u,"GeneratorFunction");function K(ne){["next","throw","return"].forEach(function(ee){a(ne,ee,function(ie){return this._invoke(ee,ie)})})}e.isGeneratorFunction=function(ne){var ee=typeof ne=="function"&&ne.constructor;return ee?ee===T||(ee.displayName||ee.name)==="GeneratorFunction":!1},e.mark=function(ne){return Object.setPrototypeOf?Object.setPrototypeOf(ne,D):(ne.__proto__=D,a(ne,u,"GeneratorFunction")),ne.prototype=Object.create(V),ne},e.awrap=function(ne){return{__await:ne}};function G(ne,ee){function ie(q,de,Ee,Ce){var je=p(ne[q],ne,de);if(je.type==="throw")Ce(je.arg);else{var Fe=je.arg,Ft=Fe.value;return Ft&&typeof Ft=="object"&&i.call(Ft,"__await")?ee.resolve(Ft.__await).then(function(_t){ie("next",_t,Ee,Ce)},function(_t){ie("throw",_t,Ee,Ce)}):ee.resolve(Ft).then(function(_t){Fe.value=_t,Ee(Fe)},function(_t){return ie("throw",_t,Ee,Ce)})}}var F;function M(q,de){function Ee(){return new ee(function(Ce,je){ie(q,de,Ce,je)})}return F=F?F.then(Ee,Ee):Ee()}l(this,"_invoke",{value:M})}K(G.prototype),a(G.prototype,h,function(){return this}),e.AsyncIterator=G,e.async=function(ne,ee,ie,F,M){M===void 0&&(M=Promise);var q=new G(x(ne,ee,ie,F),M);return e.isGeneratorFunction(ee)?q:q.next().then(function(de){return de.done?de.value:q.next()})};function oe(ne,ee,ie){var F=y;return function(q,de){if(F===b)throw new Error("Generator is already running");if(F===S){if(q==="throw")throw de;return ue()}for(ie.method=q,ie.arg=de;;){var Ee=ie.delegate;if(Ee){var Ce=ae(Ee,ie);if(Ce){if(Ce===R)continue;return Ce}}if(ie.method==="next")ie.sent=ie._sent=ie.arg;else if(ie.method==="throw"){if(F===y)throw F=S,ie.arg;ie.dispatchException(ie.arg)}else ie.method==="return"&&ie.abrupt("return",ie.arg);F=b;var je=p(ne,ee,ie);if(je.type==="normal"){if(F=ie.done?S:_,je.arg===R)continue;return{value:je.arg,done:ie.done}}else je.type==="throw"&&(F=S,ie.method="throw",ie.arg=je.arg)}}}function ae(ne,ee){var ie=ee.method,F=ne.iterator[ie];if(F===c)return ee.delegate=null,ie==="throw"&&ne.iterator.return&&(ee.method="return",ee.arg=c,ae(ne,ee),ee.method==="throw")||ie!=="return"&&(ee.method="throw",ee.arg=new TypeError("The iterator does not provide a '"+ie+"' method")),R;var M=p(F,ne.iterator,ee.arg);if(M.type==="throw")return ee.method="throw",ee.arg=M.arg,ee.delegate=null,R;var q=M.arg;if(!q)return ee.method="throw",ee.arg=new TypeError("iterator result is not an object"),ee.delegate=null,R;if(q.done)ee[ne.resultName]=q.value,ee.next=ne.nextLoc,ee.method!=="return"&&(ee.method="next",ee.arg=c);else return q;return ee.delegate=null,R}K(V),a(V,u,"Generator"),a(V,s,function(){return this}),a(V,"toString",function(){return"[object Generator]"});function le(ne){var ee={tryLoc:ne[0]};1 in ne&&(ee.catchLoc=ne[1]),2 in ne&&(ee.finallyLoc=ne[2],ee.afterLoc=ne[3]),this.tryEntries.push(ee)}function Q(ne){var ee=ne.completion||{};ee.type="normal",delete ee.arg,ne.completion=ee}function J(ne){this.tryEntries=[{tryLoc:"root"}],ne.forEach(le,this),this.reset(!0)}e.keys=function(ne){var ee=Object(ne),ie=[];for(var F in ee)ie.push(F);return ie.reverse(),function M(){for(;ie.length;){var q=ie.pop();if(q in ee)return M.value=q,M.done=!1,M}return M.done=!0,M}};function Y(ne){if(ne){var ee=ne[s];if(ee)return ee.call(ne);if(typeof ne.next=="function")return ne;if(!isNaN(ne.length)){var ie=-1,F=function M(){for(;++ie<ne.length;)if(i.call(ne,ie))return M.value=ne[ie],M.done=!1,M;return M.value=c,M.done=!0,M};return F.next=F}}return{next:ue}}e.values=Y;function ue(){return{value:c,done:!0}}return J.prototype={constructor:J,reset:function(ne){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(Q),!ne)for(var ee in this)ee.charAt(0)==="t"&&i.call(this,ee)&&!isNaN(+ee.slice(1))&&(this[ee]=c)},stop:function(){this.done=!0;var ne=this.tryEntries[0],ee=ne.completion;if(ee.type==="throw")throw ee.arg;return this.rval},dispatchException:function(ne){if(this.done)throw ne;var ee=this;function ie(Ce,je){return q.type="throw",q.arg=ne,ee.next=Ce,je&&(ee.method="next",ee.arg=c),!!je}for(var F=this.tryEntries.length-1;F>=0;--F){var M=this.tryEntries[F],q=M.completion;if(M.tryLoc==="root")return ie("end");if(M.tryLoc<=this.prev){var de=i.call(M,"catchLoc"),Ee=i.call(M,"finallyLoc");if(de&&Ee){if(this.prev<M.catchLoc)return ie(M.catchLoc,!0);if(this.prev<M.finallyLoc)return ie(M.finallyLoc)}else if(de){if(this.prev<M.catchLoc)return ie(M.catchLoc,!0)}else if(Ee){if(this.prev<M.finallyLoc)return ie(M.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(ne,ee){for(var ie=this.tryEntries.length-1;ie>=0;--ie){var F=this.tryEntries[ie];if(F.tryLoc<=this.prev&&i.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var M=F;break}}M&&(ne==="break"||ne==="continue")&&M.tryLoc<=ee&&ee<=M.finallyLoc&&(M=null);var q=M?M.completion:{};return q.type=ne,q.arg=ee,M?(this.method="next",this.next=M.finallyLoc,R):this.complete(q)},complete:function(ne,ee){if(ne.type==="throw")throw ne.arg;return ne.type==="break"||ne.type==="continue"?this.next=ne.arg:ne.type==="return"?(this.rval=this.arg=ne.arg,this.method="return",this.next="end"):ne.type==="normal"&&ee&&(this.next=ee),R},finish:function(ne){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var ie=this.tryEntries[ee];if(ie.finallyLoc===ne)return this.complete(ie.completion,ie.afterLoc),Q(ie),R}},catch:function(ne){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var ie=this.tryEntries[ee];if(ie.tryLoc===ne){var F=ie.completion;if(F.type==="throw"){var M=F.arg;Q(ie)}return M}}throw new Error("illegal catch attempt")},delegateYield:function(ne,ee,ie){return this.delegate={iterator:Y(ne),resultName:ee,nextLoc:ie},this.method==="next"&&(this.arg=c),R}},e}(d.exports);try{regeneratorRuntime=g}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=g:Function("r","regeneratorRuntime = r")(g)}},76374:function(d,g,e){"use strict";var r=function(){if(typeof Map!="undefined")return Map;function J(Y,ue){var ne=-1;return Y.some(function(ee,ie){return ee[0]===ue?(ne=ie,!0):!1}),ne}return function(){function Y(){this.__entries__=[]}return Object.defineProperty(Y.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Y.prototype.get=function(ue){var ne=J(this.__entries__,ue),ee=this.__entries__[ne];return ee&&ee[1]},Y.prototype.set=function(ue,ne){var ee=J(this.__entries__,ue);~ee?this.__entries__[ee][1]=ne:this.__entries__.push([ue,ne])},Y.prototype.delete=function(ue){var ne=this.__entries__,ee=J(ne,ue);~ee&&ne.splice(ee,1)},Y.prototype.has=function(ue){return!!~J(this.__entries__,ue)},Y.prototype.clear=function(){this.__entries__.splice(0)},Y.prototype.forEach=function(ue,ne){ne===void 0&&(ne=null);for(var ee=0,ie=this.__entries__;ee<ie.length;ee++){var F=ie[ee];ue.call(ne,F[1],F[0])}},Y}()}(),i=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,l=function(){return typeof e.g!="undefined"&&e.g.Math===Math?e.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),c=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(l):function(J){return setTimeout(function(){return J(Date.now())},1e3/60)}}(),f=2;function s(J,Y){var ue=!1,ne=!1,ee=0;function ie(){ue&&(ue=!1,J()),ne&&M()}function F(){c(ie)}function M(){var q=Date.now();if(ue){if(q-ee<f)return;ne=!0}else ue=!0,ne=!1,setTimeout(F,Y);ee=q}return M}var h=20,u=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",x=function(){function J(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),h)}return J.prototype.addObserver=function(Y){~this.observers_.indexOf(Y)||this.observers_.push(Y),this.connected_||this.connect_()},J.prototype.removeObserver=function(Y){var ue=this.observers_,ne=ue.indexOf(Y);~ne&&ue.splice(ne,1),!ue.length&&this.connected_&&this.disconnect_()},J.prototype.refresh=function(){var Y=this.updateObservers_();Y&&this.refresh()},J.prototype.updateObservers_=function(){var Y=this.observers_.filter(function(ue){return ue.gatherActive(),ue.hasActive()});return Y.forEach(function(ue){return ue.broadcastActive()}),Y.length>0},J.prototype.connect_=function(){!i||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},J.prototype.disconnect_=function(){!i||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},J.prototype.onTransitionEnd_=function(Y){var ue=Y.propertyName,ne=ue===void 0?"":ue,ee=u.some(function(ie){return!!~ne.indexOf(ie)});ee&&this.refresh()},J.getInstance=function(){return this.instance_||(this.instance_=new J),this.instance_},J.instance_=null,J}(),p=function(J,Y){for(var ue=0,ne=Object.keys(Y);ue<ne.length;ue++){var ee=ne[ue];Object.defineProperty(J,ee,{value:Y[ee],enumerable:!1,writable:!1,configurable:!0})}return J},y=function(J){var Y=J&&J.ownerDocument&&J.ownerDocument.defaultView;return Y||l},_=V(0,0,0,0);function b(J){return parseFloat(J)||0}function S(J){for(var Y=[],ue=1;ue<arguments.length;ue++)Y[ue-1]=arguments[ue];return Y.reduce(function(ne,ee){var ie=J["border-"+ee+"-width"];return ne+b(ie)},0)}function R(J){for(var Y=["top","right","bottom","left"],ue={},ne=0,ee=Y;ne<ee.length;ne++){var ie=ee[ne],F=J["padding-"+ie];ue[ie]=b(F)}return ue}function L(J){var Y=J.getBBox();return V(0,0,Y.width,Y.height)}function T(J){var Y=J.clientWidth,ue=J.clientHeight;if(!Y&&!ue)return _;var ne=y(J).getComputedStyle(J),ee=R(ne),ie=ee.left+ee.right,F=ee.top+ee.bottom,M=b(ne.width),q=b(ne.height);if(ne.boxSizing==="border-box"&&(Math.round(M+ie)!==Y&&(M-=S(ne,"left","right")+ie),Math.round(q+F)!==ue&&(q-=S(ne,"top","bottom")+F)),!B(J)){var de=Math.round(M+ie)-Y,Ee=Math.round(q+F)-ue;Math.abs(de)!==1&&(M-=de),Math.abs(Ee)!==1&&(q-=Ee)}return V(ee.left,ee.top,M,q)}var D=function(){return typeof SVGGraphicsElement!="undefined"?function(J){return J instanceof y(J).SVGGraphicsElement}:function(J){return J instanceof y(J).SVGElement&&typeof J.getBBox=="function"}}();function B(J){return J===y(J).document.documentElement}function $(J){return i?D(J)?L(J):T(J):_}function U(J){var Y=J.x,ue=J.y,ne=J.width,ee=J.height,ie=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,F=Object.create(ie.prototype);return p(F,{x:Y,y:ue,width:ne,height:ee,top:ue,right:Y+ne,bottom:ee+ue,left:Y}),F}function V(J,Y,ue,ne){return{x:J,y:Y,width:ue,height:ne}}var K=function(){function J(Y){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=V(0,0,0,0),this.target=Y}return J.prototype.isActive=function(){var Y=$(this.target);return this.contentRect_=Y,Y.width!==this.broadcastWidth||Y.height!==this.broadcastHeight},J.prototype.broadcastRect=function(){var Y=this.contentRect_;return this.broadcastWidth=Y.width,this.broadcastHeight=Y.height,Y},J}(),G=function(){function J(Y,ue){var ne=U(ue);p(this,{target:Y,contentRect:ne})}return J}(),oe=function(){function J(Y,ue,ne){if(this.activeObservations_=[],this.observations_=new r,typeof Y!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=Y,this.controller_=ue,this.callbackCtx_=ne}return J.prototype.observe=function(Y){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(Y instanceof y(Y).Element))throw new TypeError('parameter 1 is not of type "Element".');var ue=this.observations_;ue.has(Y)||(ue.set(Y,new K(Y)),this.controller_.addObserver(this),this.controller_.refresh())}},J.prototype.unobserve=function(Y){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(Y instanceof y(Y).Element))throw new TypeError('parameter 1 is not of type "Element".');var ue=this.observations_;ue.has(Y)&&(ue.delete(Y),ue.size||this.controller_.removeObserver(this))}},J.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},J.prototype.gatherActive=function(){var Y=this;this.clearActive(),this.observations_.forEach(function(ue){ue.isActive()&&Y.activeObservations_.push(ue)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var Y=this.callbackCtx_,ue=this.activeObservations_.map(function(ne){return new G(ne.target,ne.broadcastRect())});this.callback_.call(Y,ue,Y),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),ae=typeof WeakMap!="undefined"?new WeakMap:new r,le=function(){function J(Y){if(!(this instanceof J))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var ue=x.getInstance(),ne=new oe(Y,ue,this);ae.set(this,ne)}return J}();["observe","unobserve","disconnect"].forEach(function(J){le.prototype[J]=function(){var Y;return(Y=ae.get(this))[J].apply(Y,arguments)}});var Q=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:le}();g.Z=Q},74284:function(d,g){"use strict";var e,r,i,l;if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;g.unstable_now=function(){return c.now()}}else{var f=Date,s=f.now();g.unstable_now=function(){return f.now()-s}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var h=null,u=null,a=function(){if(h!==null)try{var F=g.unstable_now();h(!0,F),h=null}catch(M){throw setTimeout(a,0),M}};e=function(F){h!==null?setTimeout(e,0,F):(h=F,setTimeout(a,0))},r=function(F,M){u=setTimeout(F,M)},i=function(){clearTimeout(u)},g.unstable_shouldYield=function(){return!1},l=g.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,p=window.clearTimeout;if(typeof console!="undefined"){var y=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof y!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var _=!1,b=null,S=-1,R=5,L=0;g.unstable_shouldYield=function(){return g.unstable_now()>=L},l=function(){},g.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<F?Math.floor(1e3/F):5};var T=new MessageChannel,D=T.port2;T.port1.onmessage=function(){if(b!==null){var F=g.unstable_now();L=F+R;try{b(!0,F)?D.postMessage(null):(_=!1,b=null)}catch(M){throw D.postMessage(null),M}}else _=!1},e=function(F){b=F,_||(_=!0,D.postMessage(null))},r=function(F,M){S=x(function(){F(g.unstable_now())},M)},i=function(){p(S),S=-1}}function B(F,M){var q=F.length;F.push(M);e:for(;;){var de=q-1>>>1,Ee=F[de];if(Ee!==void 0&&0<V(Ee,M))F[de]=M,F[q]=Ee,q=de;else break e}}function $(F){return F=F[0],F===void 0?null:F}function U(F){var M=F[0];if(M!==void 0){var q=F.pop();if(q!==M){F[0]=q;e:for(var de=0,Ee=F.length;de<Ee;){var Ce=2*(de+1)-1,je=F[Ce],Fe=Ce+1,Ft=F[Fe];if(je!==void 0&&0>V(je,q))Ft!==void 0&&0>V(Ft,je)?(F[de]=Ft,F[Fe]=q,de=Fe):(F[de]=je,F[Ce]=q,de=Ce);else if(Ft!==void 0&&0>V(Ft,q))F[de]=Ft,F[Fe]=q,de=Fe;else break e}}return M}return null}function V(F,M){var q=F.sortIndex-M.sortIndex;return q!==0?q:F.id-M.id}var K=[],G=[],oe=1,ae=null,le=3,Q=!1,J=!1,Y=!1;function ue(F){for(var M=$(G);M!==null;){if(M.callback===null)U(G);else if(M.startTime<=F)U(G),M.sortIndex=M.expirationTime,B(K,M);else break;M=$(G)}}function ne(F){if(Y=!1,ue(F),!J)if($(K)!==null)J=!0,e(ee);else{var M=$(G);M!==null&&r(ne,M.startTime-F)}}function ee(F,M){J=!1,Y&&(Y=!1,i()),Q=!0;var q=le;try{for(ue(M),ae=$(K);ae!==null&&(!(ae.expirationTime>M)||F&&!g.unstable_shouldYield());){var de=ae.callback;if(typeof de=="function"){ae.callback=null,le=ae.priorityLevel;var Ee=de(ae.expirationTime<=M);M=g.unstable_now(),typeof Ee=="function"?ae.callback=Ee:ae===$(K)&&U(K),ue(M)}else U(K);ae=$(K)}if(ae!==null)var Ce=!0;else{var je=$(G);je!==null&&r(ne,je.startTime-M),Ce=!1}return Ce}finally{ae=null,le=q,Q=!1}}var ie=l;g.unstable_IdlePriority=5,g.unstable_ImmediatePriority=1,g.unstable_LowPriority=4,g.unstable_NormalPriority=3,g.unstable_Profiling=null,g.unstable_UserBlockingPriority=2,g.unstable_cancelCallback=function(F){F.callback=null},g.unstable_continueExecution=function(){J||Q||(J=!0,e(ee))},g.unstable_getCurrentPriorityLevel=function(){return le},g.unstable_getFirstCallbackNode=function(){return $(K)},g.unstable_next=function(F){switch(le){case 1:case 2:case 3:var M=3;break;default:M=le}var q=le;le=M;try{return F()}finally{le=q}},g.unstable_pauseExecution=function(){},g.unstable_requestPaint=ie,g.unstable_runWithPriority=function(F,M){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var q=le;le=F;try{return M()}finally{le=q}},g.unstable_scheduleCallback=function(F,M,q){var de=g.unstable_now();switch(typeof q=="object"&&q!==null?(q=q.delay,q=typeof q=="number"&&0<q?de+q:de):q=de,F){case 1:var Ee=-1;break;case 2:Ee=250;break;case 5:Ee=1073741823;break;case 4:Ee=1e4;break;default:Ee=5e3}return Ee=q+Ee,F={id:oe++,callback:M,priorityLevel:F,startTime:q,expirationTime:Ee,sortIndex:-1},q>de?(F.sortIndex=q,B(G,F),$(K)===null&&F===$(G)&&(Y?i():Y=!0,r(ne,q-de))):(F.sortIndex=Ee,B(K,F),J||Q||(J=!0,e(ee))),F},g.unstable_wrapCallback=function(F){var M=le;return function(){var q=le;le=M;try{return F.apply(this,arguments)}finally{le=q}}}},43014:function(d,g,e){"use strict";d.exports=e(74284)},18947:function(d){"use strict";function g(e,r){if(e===r)return!0;if(!e||!r)return!1;var i=Object.keys(e),l=Object.keys(r),c=i.length;if(l.length!==c)return!1;for(var f=0;f<c;f++){var s=i[f];if(e[s]!==r[s]||!Object.prototype.hasOwnProperty.call(r,s))return!1}return!0}d.exports=g},19747:function(d){d.exports=function(e,r,i,l){var c=i?i.call(l,e,r):void 0;if(c!==void 0)return!!c;if(e===r)return!0;if(typeof e!="object"||!e||typeof r!="object"||!r)return!1;var f=Object.keys(e),s=Object.keys(r);if(f.length!==s.length)return!1;for(var h=Object.prototype.hasOwnProperty.bind(r),u=0;u<f.length;u++){var a=f[u];if(!h(a))return!1;var x=e[a],p=r[a];if(c=i?i.call(l,x,p,a):void 0,c===!1||c===void 0&&x!==p)return!1}return!0}},98040:function(d){d.exports=function(){var g=document.getSelection();if(!g.rangeCount)return function(){};for(var e=document.activeElement,r=[],i=0;i<g.rangeCount;i++)r.push(g.getRangeAt(i));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return g.removeAllRanges(),function(){g.type==="Caret"&&g.removeAllRanges(),g.rangeCount||r.forEach(function(l){g.addRange(l)}),e&&e.focus()}}},797:function(d,g,e){"use strict";var r=e(54723);d.exports=function(i){if(typeof i!="function"||!hasOwnProperty.call(i,"length"))return!1;try{if(typeof i.length!="number"||typeof i.call!="function"||typeof i.apply!="function")return!1}catch(l){return!1}return!r(i)}},95562:function(d,g,e){"use strict";var r=e(57046),i={object:!0,function:!0,undefined:!0};d.exports=function(l){return r(l)?hasOwnProperty.call(i,typeof l):!1}},69574:function(d,g,e){"use strict";var r=e(797),i=/^\s*class[\s{/}]/,l=Function.prototype.toString;d.exports=function(c){return!(!r(c)||i.test(l.call(c)))}},54723:function(d,g,e){"use strict";var r=e(95562);d.exports=function(i){if(!r(i))return!1;try{return i.constructor?i.constructor.prototype===i:!1}catch(l){return!1}}},57046:function(d){"use strict";var g=void 0;d.exports=function(e){return e!==g&&e!==null}},36736:function(d,g,e){"use strict";var r=e(59301);function i(y,_){return y===_&&(y!==0||1/y===1/_)||y!==y&&_!==_}var l=typeof Object.is=="function"?Object.is:i,c=r.useState,f=r.useEffect,s=r.useLayoutEffect,h=r.useDebugValue;function u(y,_){var b=_(),S=c({inst:{value:b,getSnapshot:_}}),R=S[0].inst,L=S[1];return s(function(){R.value=b,R.getSnapshot=_,a(R)&&L({inst:R})},[y,b,_]),f(function(){return a(R)&&L({inst:R}),y(function(){a(R)&&L({inst:R})})},[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;g.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p},1719:function(d,g,e){"use strict";var r=e(59301),i=e(37573);function l(x,p){return x===p&&(x!==0||1/x===1/p)||x!==x&&p!==p}var c=typeof Object.is=="function"?Object.is:l,f=i.useSyncExternalStore,s=r.useRef,h=r.useEffect,u=r.useMemo,a=r.useDebugValue;g.useSyncExternalStoreWithSelector=function(x,p,y,_,b){var S=s(null);if(S.current===null){var R={hasValue:!1,value:null};S.current=R}else R=S.current;S=u(function(){function T(V){if(!D){if(D=!0,B=V,V=_(V),b!==void 0&&R.hasValue){var K=R.value;if(b(K,V))return $=K}return $=V}if(K=$,c(B,V))return K;var G=_(V);return b!==void 0&&b(K,G)?(B=V,K):(B=V,$=G)}var D=!1,B,$,U=y===void 0?null:y;return[function(){return T(p())},U===null?void 0:function(){return T(U())}]},[p,y,_,b]);var L=f(x,S[0],S[1]);return h(function(){R.hasValue=!0,R.value=L},[L]),a(L),L}},37573:function(d,g,e){"use strict";d.exports=e(36736)},45097:function(d,g,e){"use strict";d.exports=e(1719)},1012:function(d,g,e){"use strict";e.d(g,{Z:function(){return y}});var r=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16);function l(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function f(_){return typeof _=="string"&&c.test(_)}for(var s=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(!s(S))throw TypeError("Stringified UUID is invalid");return S}var x=a;function p(_,b,S){_=_||{};var R=_.random||(_.rng||l)();if(R[6]=R[6]&15|64,R[8]=R[8]&63|128,b){S=S||0;for(var L=0;L<16;++L)b[S+L]=R[L];return b}return x(R)}var y=p},56754:function(d){"use strict";var g=function(){};d.exports=g},85239:function(d){"use strict";var g=!1,e=function(){};if(g){var r=function(l,c){var f=arguments.length;c=new Array(f>1?f-1:0);for(var s=1;s<f;s++)c[s-1]=arguments[s];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 s=2;s<f;s++)c[s-2]=arguments[s];if(l===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");i||r.apply(null,[l].concat(c))}}d.exports=e},4977:function(d){"use strict";d.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},3828:function(){},32021:function(d,g,e){var r=e(85163).default;function i(){"use strict";d.exports=i=function(){return c},d.exports.__esModule=!0,d.exports.default=d.exports;var l,c={},f=Object.prototype,s=f.hasOwnProperty,h=Object.defineProperty||function(ie,F,M){ie[F]=M.value},u=typeof Symbol=="function"?Symbol:{},a=u.iterator||"@@iterator",x=u.asyncIterator||"@@asyncIterator",p=u.toStringTag||"@@toStringTag";function y(ie,F,M){return Object.defineProperty(ie,F,{value:M,enumerable:!0,configurable:!0,writable:!0}),ie[F]}try{y({},"")}catch(ie){y=function(M,q,de){return M[q]=de}}function _(ie,F,M,q){var de=F&&F.prototype instanceof B?F:B,Ee=Object.create(de.prototype),Ce=new ne(q||[]);return h(Ee,"_invoke",{value:Q(ie,M,Ce)}),Ee}function b(ie,F,M){try{return{type:"normal",arg:ie.call(F,M)}}catch(q){return{type:"throw",arg:q}}}c.wrap=_;var S="suspendedStart",R="suspendedYield",L="executing",T="completed",D={};function B(){}function $(){}function U(){}var V={};y(V,a,function(){return this});var K=Object.getPrototypeOf,G=K&&K(K(ee([])));G&&G!==f&&s.call(G,a)&&(V=G);var oe=U.prototype=B.prototype=Object.create(V);function ae(ie){["next","throw","return"].forEach(function(F){y(ie,F,function(M){return this._invoke(F,M)})})}function le(ie,F){function M(de,Ee,Ce,je){var Fe=b(ie[de],ie,Ee);if(Fe.type!=="throw"){var Ft=Fe.arg,_t=Ft.value;return _t&&r(_t)=="object"&&s.call(_t,"__await")?F.resolve(_t.__await).then(function(Pt){M("next",Pt,Ce,je)},function(Pt){M("throw",Pt,Ce,je)}):F.resolve(_t).then(function(Pt){Ft.value=Pt,Ce(Ft)},function(Pt){return M("throw",Pt,Ce,je)})}je(Fe.arg)}var q;h(this,"_invoke",{value:function(Ee,Ce){function je(){return new F(function(Fe,Ft){M(Ee,Ce,Fe,Ft)})}return q=q?q.then(je,je):je()}})}function Q(ie,F,M){var q=S;return function(de,Ee){if(q===L)throw Error("Generator is already running");if(q===T){if(de==="throw")throw Ee;return{value:l,done:!0}}for(M.method=de,M.arg=Ee;;){var Ce=M.delegate;if(Ce){var je=J(Ce,M);if(je){if(je===D)continue;return je}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(q===S)throw q=T,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);q=L;var Fe=b(ie,F,M);if(Fe.type==="normal"){if(q=M.done?T:R,Fe.arg===D)continue;return{value:Fe.arg,done:M.done}}Fe.type==="throw"&&(q=T,M.method="throw",M.arg=Fe.arg)}}}function J(ie,F){var M=F.method,q=ie.iterator[M];if(q===l)return F.delegate=null,M==="throw"&&ie.iterator.return&&(F.method="return",F.arg=l,J(ie,F),F.method==="throw")||M!=="return"&&(F.method="throw",F.arg=new TypeError("The iterator does not provide a '"+M+"' method")),D;var de=b(q,ie.iterator,F.arg);if(de.type==="throw")return F.method="throw",F.arg=de.arg,F.delegate=null,D;var Ee=de.arg;return Ee?Ee.done?(F[ie.resultName]=Ee.value,F.next=ie.nextLoc,F.method!=="return"&&(F.method="next",F.arg=l),F.delegate=null,D):Ee:(F.method="throw",F.arg=new TypeError("iterator result is not an object"),F.delegate=null,D)}function Y(ie){var F={tryLoc:ie[0]};1 in ie&&(F.catchLoc=ie[1]),2 in ie&&(F.finallyLoc=ie[2],F.afterLoc=ie[3]),this.tryEntries.push(F)}function ue(ie){var F=ie.completion||{};F.type="normal",delete F.arg,ie.completion=F}function ne(ie){this.tryEntries=[{tryLoc:"root"}],ie.forEach(Y,this),this.reset(!0)}function ee(ie){if(ie||ie===""){var F=ie[a];if(F)return F.call(ie);if(typeof ie.next=="function")return ie;if(!isNaN(ie.length)){var M=-1,q=function de(){for(;++M<ie.length;)if(s.call(ie,M))return de.value=ie[M],de.done=!1,de;return de.value=l,de.done=!0,de};return q.next=q}}throw new TypeError(r(ie)+" is not iterable")}return $.prototype=U,h(oe,"constructor",{value:U,configurable:!0}),h(U,"constructor",{value:$,configurable:!0}),$.displayName=y(U,p,"GeneratorFunction"),c.isGeneratorFunction=function(ie){var F=typeof ie=="function"&&ie.constructor;return!!F&&(F===$||(F.displayName||F.name)==="GeneratorFunction")},c.mark=function(ie){return Object.setPrototypeOf?Object.setPrototypeOf(ie,U):(ie.__proto__=U,y(ie,p,"GeneratorFunction")),ie.prototype=Object.create(oe),ie},c.awrap=function(ie){return{__await:ie}},ae(le.prototype),y(le.prototype,x,function(){return this}),c.AsyncIterator=le,c.async=function(ie,F,M,q,de){de===void 0&&(de=Promise);var Ee=new le(_(ie,F,M,q),de);return c.isGeneratorFunction(F)?Ee:Ee.next().then(function(Ce){return Ce.done?Ce.value:Ee.next()})},ae(oe),y(oe,p,"Generator"),y(oe,a,function(){return this}),y(oe,"toString",function(){return"[object Generator]"}),c.keys=function(ie){var F=Object(ie),M=[];for(var q in F)M.push(q);return M.reverse(),function de(){for(;M.length;){var Ee=M.pop();if(Ee in F)return de.value=Ee,de.done=!1,de}return de.done=!0,de}},c.values=ee,ne.prototype={constructor:ne,reset:function(F){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(ue),!F)for(var M in this)M.charAt(0)==="t"&&s.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=l)},stop:function(){this.done=!0;var F=this.tryEntries[0].completion;if(F.type==="throw")throw F.arg;return this.rval},dispatchException:function(F){if(this.done)throw F;var M=this;function q(Ft,_t){return Ce.type="throw",Ce.arg=F,M.next=Ft,_t&&(M.method="next",M.arg=l),!!_t}for(var de=this.tryEntries.length-1;de>=0;--de){var Ee=this.tryEntries[de],Ce=Ee.completion;if(Ee.tryLoc==="root")return q("end");if(Ee.tryLoc<=this.prev){var je=s.call(Ee,"catchLoc"),Fe=s.call(Ee,"finallyLoc");if(je&&Fe){if(this.prev<Ee.catchLoc)return q(Ee.catchLoc,!0);if(this.prev<Ee.finallyLoc)return q(Ee.finallyLoc)}else if(je){if(this.prev<Ee.catchLoc)return q(Ee.catchLoc,!0)}else{if(!Fe)throw Error("try statement without catch or finally");if(this.prev<Ee.finallyLoc)return q(Ee.finallyLoc)}}}},abrupt:function(F,M){for(var q=this.tryEntries.length-1;q>=0;--q){var de=this.tryEntries[q];if(de.tryLoc<=this.prev&&s.call(de,"finallyLoc")&&this.prev<de.finallyLoc){var Ee=de;break}}Ee&&(F==="break"||F==="continue")&&Ee.tryLoc<=M&&M<=Ee.finallyLoc&&(Ee=null);var Ce=Ee?Ee.completion:{};return Ce.type=F,Ce.arg=M,Ee?(this.method="next",this.next=Ee.finallyLoc,D):this.complete(Ce)},complete:function(F,M){if(F.type==="throw")throw F.arg;return F.type==="break"||F.type==="continue"?this.next=F.arg:F.type==="return"?(this.rval=this.arg=F.arg,this.method="return",this.next="end"):F.type==="normal"&&M&&(this.next=M),D},finish:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var q=this.tryEntries[M];if(q.finallyLoc===F)return this.complete(q.completion,q.afterLoc),ue(q),D}},catch:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var q=this.tryEntries[M];if(q.tryLoc===F){var de=q.completion;if(de.type==="throw"){var Ee=de.arg;ue(q)}return Ee}}throw Error("illegal catch attempt")},delegateYield:function(F,M,q){return this.delegate={iterator:ee(F),resultName:M,nextLoc:q},this.method==="next"&&(this.arg=l),D}},c}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},85163:function(d){function g(e){"@babel/helpers - typeof";return d.exports=g=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},d.exports.__esModule=!0,d.exports.default=d.exports,g(e)}d.exports=g,d.exports.__esModule=!0,d.exports.default=d.exports},14759:function(d,g,e){var r=e(32021)();d.exports=r;try{regeneratorRuntime=r}catch(i){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},92310:function(d,g){var e,r;(function(){"use strict";var i={}.hasOwnProperty;function l(){for(var s="",h=0;h<arguments.length;h++){var u=arguments[h];u&&(s=f(s,c(u)))}return s}function c(s){if(typeof s=="string"||typeof s=="number")return s;if(typeof s!="object")return"";if(Array.isArray(s))return l.apply(null,s);if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]"))return s.toString();var h="";for(var u in s)i.call(s,u)&&s[u]&&(h=f(h,u));return h}function f(s,h){return h?s?s+" "+h:s+h:s}d.exports?(l.default=l,d.exports=l):(e=[],r=function(){return l}.apply(g,e),r!==void 0&&(d.exports=r))})()},63335:function(d,g,e){"use strict";var r=e(55327),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a function")}},6086:function(d,g,e){"use strict";var r=e(39812),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a constructor")}},42683:function(d,g,e){"use strict";var r=e(2786).has;d.exports=function(i){return r(i),i}},557:function(d,g,e){"use strict";var r=e(55327),i=String,l=TypeError;d.exports=function(c){if(typeof c=="object"||r(c))return c;throw new l("Can't set "+i(c)+" as a prototype")}},17442:function(d,g,e){"use strict";var r=e(19691).has;d.exports=function(i){return r(i),i}},79606:function(d){"use strict";var g=TypeError;d.exports=function(e){if(typeof e=="string")return e;throw new g("Argument is not a string")}},63619:function(d,g,e){"use strict";var r=e(42530).has;d.exports=function(i){return r(i),i}},18888:function(d,g,e){"use strict";var r=e(91385).has;d.exports=function(i){return r(i),i}},5978:function(d,g,e){"use strict";var r=e(89945),i=e(94237),l=e(80666),c=e(80449),f=e(63335),s=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 R=h(b,a);return R!==void 0?R:(R=h(b,x),function(){r(R,this)})}return h(b,x)},_=function(b,S,R){return arguments.length<3&&!s(b)&&(R=f(y(c(b),S))),R===void 0?function(){}:l(R,b)};d.exports=function(b,S,R,L){var T;if(arguments.length<4){if(s(S)&&R==="sync-dispose")return;T=_(S,R)}else T=_(void 0,R,L);p(b.stack,T)}},81181:function(d,g,e){"use strict";var r=e(59893),i=e(20132),l=e(37691).f,c=r("unscopables"),f=Array.prototype;f[c]===void 0&&l(f,c,{configurable:!0,value:i(null)}),d.exports=function(s){f[c][s]=!0}},52216:function(d,g,e){"use strict";var r=e(13764).charAt;d.exports=function(i,l,c){return l+(c?r(i,l).length:1)}},56472:function(d,g,e){"use strict";var r=e(16332),i=TypeError;d.exports=function(l,c){if(r(c,l))return l;throw new i("Incorrect invocation")}},1674:function(d,g,e){"use strict";var r=e(31946),i=String,l=TypeError;d.exports=function(c){if(c===void 0||r(c))return c;throw new l(i(c)+" is not an object or undefined")}},80449:function(d,g,e){"use strict";var r=e(31946),i=String,l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not an object")}},27270:function(d,g,e){"use strict";var r=e(97607),i=TypeError;d.exports=function(l){if(r(l)==="Uint8Array")return l;throw new i("Argument is not an Uint8Array")}},3737:function(d){"use strict";d.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},78244:function(d,g,e){"use strict";var r=e(37758),i=e(29076),l=TypeError;d.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(c){if(i(c)!=="ArrayBuffer")throw new l("ArrayBuffer expected");return c.byteLength}},93683:function(d,g,e){"use strict";var r=e(94237),i=e(78244),l=r(ArrayBuffer.prototype.slice);d.exports=function(c){if(i(c)!==0)return!1;try{return l(c,0,0),!1}catch(f){return!0}}},51424:function(d,g,e){"use strict";var r=e(3338);d.exports=r(function(){if(typeof ArrayBuffer=="function"){var i=new ArrayBuffer(8);Object.isExtensible(i)&&Object.defineProperty(i,"a",{value:8})}})},39760:function(d,g,e){"use strict";var r=e(92916),i=e(94237),l=e(37758),c=e(24225),f=e(93683),s=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,R=i(b.slice),L=l(b,"resizable","get"),T=l(b,"maxByteLength","get"),D=i(S.getInt8),B=i(S.setInt8);d.exports=(u||h)&&function($,U,V){var K=s($),G=U===void 0?K:c(U),oe=!L||!L($),ae;if(f($))throw new y("ArrayBuffer is detached");if(u&&($=a($,{transfer:[$]}),K===G&&(V||oe)))return $;if(K>=G&&(!V||oe))ae=R($,0,G);else{var le=V&&!oe&&T?{maxByteLength:T($)}:void 0;ae=new x(G,le);for(var Q=new p($),J=new p(ae),Y=_(G,K),ue=0;ue<Y;ue++)B(J,ue,D(Q,ue))}return u||h($),ae}},58261:function(d,g,e){"use strict";var r=e(3737),i=e(35454),l=e(92916),c=e(55327),f=e(31946),s=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),R=e(6145),L=e(94844),T=L.enforce,D=L.get,B=l.Int8Array,$=B&&B.prototype,U=l.Uint8ClampedArray,V=U&&U.prototype,K=B&&_(B),G=$&&_($),oe=Object.prototype,ae=l.TypeError,le=S("toStringTag"),Q=R("TYPED_ARRAY_TAG"),J="TypedArrayConstructor",Y=r&&!!b&&h(l.opera)!=="Opera",ue=!1,ne,ee,ie,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M={BigInt64Array:8,BigUint64Array:8},q=function(Pt){if(!f(Pt))return!1;var Qt=h(Pt);return Qt==="DataView"||s(F,Qt)||s(M,Qt)},de=function(_t){var Pt=_(_t);if(f(Pt)){var Qt=D(Pt);return Qt&&s(Qt,J)?Qt[J]:de(Pt)}},Ee=function(_t){if(!f(_t))return!1;var Pt=h(_t);return s(F,Pt)||s(M,Pt)},Ce=function(_t){if(Ee(_t))return _t;throw new ae("Target is not a typed array")},je=function(_t){if(c(_t)&&(!b||y(K,_t)))return _t;throw new ae(u(_t)+" is not a typed array constructor")},Fe=function(_t,Pt,Qt,er){if(i){if(Qt)for(var Jt in F){var Xe=l[Jt];if(Xe&&s(Xe.prototype,_t))try{delete Xe.prototype[_t]}catch(It){try{Xe.prototype[_t]=Pt}catch(zt){}}}(!G[_t]||Qt)&&x(G,_t,Qt?Pt:Y&&$[_t]||Pt,er)}},Ft=function(_t,Pt,Qt){var er,Jt;if(i){if(b){if(Qt){for(er in F)if(Jt=l[er],Jt&&s(Jt,_t))try{delete Jt[_t]}catch(Xe){}}if(!K[_t]||Qt)try{return x(K,_t,Qt?Pt:Y&&K[_t]||Pt)}catch(Xe){}else return}for(er in F)Jt=l[er],Jt&&(!Jt[_t]||Qt)&&x(Jt,_t,Pt)}};for(ne in F)ee=l[ne],ie=ee&&ee.prototype,ie?T(ie)[J]=ee:Y=!1;for(ne in M)ee=l[ne],ie=ee&&ee.prototype,ie&&(T(ie)[J]=ee);if((!Y||!c(K)||K===Function.prototype)&&(K=function(){throw new ae("Incorrect invocation")},Y))for(ne in F)l[ne]&&b(l[ne],K);if((!Y||!G||G===oe)&&(G=K.prototype,Y))for(ne in F)l[ne]&&b(l[ne].prototype,G);if(Y&&_(V)!==G&&b(V,G),i&&!s(G,le)){ue=!0,p(G,le,{configurable:!0,get:function(){return f(this)?this[Q]:void 0}});for(ne in F)l[ne]&&a(l[ne],Q,ne)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:Y,TYPED_ARRAY_TAG:ue&&Q,aTypedArray:Ce,aTypedArrayConstructor:je,exportTypedArrayMethod:Fe,exportTypedArrayStaticMethod:Ft,getTypedArrayConstructor:de,isView:q,isTypedArray:Ee,TypedArray:K,TypedArrayPrototype:G}},91669:function(d,g,e){"use strict";var r=e(92916),i=e(94237),l=e(35454),c=e(3737),f=e(8090),s=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),R=e(53456),L=e(58218),T=e(80689).f,D=e(75202),B=e(71698),$=e(94573),U=e(94844),V=f.PROPER,K=f.CONFIGURABLE,G="ArrayBuffer",oe="DataView",ae="prototype",le="Wrong length",Q="Wrong index",J=U.getterFor(G),Y=U.getterFor(oe),ue=U.set,ne=r[G],ee=ne,ie=ee&&ee[ae],F=r[oe],M=F&&F[ae],q=Object.prototype,de=r.Array,Ee=r.RangeError,Ce=i(D),je=i([].reverse),Fe=S.pack,Ft=S.unpack,_t=function(Me){return[Me&255]},Pt=function(Me){return[Me&255,Me>>8&255]},Qt=function(Me){return[Me&255,Me>>8&255,Me>>16&255,Me>>24&255]},er=function(Me){return Me[3]<<24|Me[2]<<16|Me[1]<<8|Me[0]},Jt=function(Me){return Fe(b(Me),23,4)},Xe=function(Me){return Fe(Me,52,8)},It=function(Me,$e,He){h(Me[ae],$e,{configurable:!0,get:function(){return He(this)[$e]}})},zt=function(Me,$e,He,nt){var ct=Y(Me),Kt=_(He),Wt=!!nt;if(Kt+$e>ct.byteLength)throw new Ee(Q);var De=ct.bytes,Qe=Kt+ct.byteOffset,Vt=B(De,Qe,Qe+$e);return Wt?Vt:je(Vt)},st=function(Me,$e,He,nt,ct,Kt){var Wt=Y(Me),De=_(He),Qe=nt(+ct),Vt=!!Kt;if(De+$e>Wt.byteLength)throw new Ee(Q);for(var kt=Wt.bytes,Ht=De+Wt.byteOffset,$t=0;$t<$e;$t++)kt[Ht+$t]=Qe[Vt?$t:$e-$t-1]};if(!c)ee=function($e){x(this,ie);var He=_($e);ue(this,{type:G,bytes:Ce(de(He),0),byteLength:He}),l||(this.byteLength=He,this.detached=!1)},ie=ee[ae],F=function($e,He,nt){x(this,M),x($e,ie);var ct=J($e),Kt=ct.byteLength,Wt=p(He);if(Wt<0||Wt>Kt)throw new Ee("Wrong offset");if(nt=nt===void 0?Kt-Wt:y(nt),Wt+nt>Kt)throw new Ee(le);ue(this,{type:oe,buffer:$e,byteLength:nt,byteOffset:Wt,bytes:ct.bytes}),l||(this.buffer=$e,this.byteLength=nt,this.byteOffset=Wt)},M=F[ae],l&&(It(ee,"byteLength",J),It(F,"buffer",Y),It(F,"byteLength",Y),It(F,"byteOffset",Y)),u(M,{getInt8:function($e){return zt(this,1,$e)[0]<<24>>24},getUint8:function($e){return zt(this,1,$e)[0]},getInt16:function($e){var He=zt(this,2,$e,arguments.length>1?arguments[1]:!1);return(He[1]<<8|He[0])<<16>>16},getUint16:function($e){var He=zt(this,2,$e,arguments.length>1?arguments[1]:!1);return He[1]<<8|He[0]},getInt32:function($e){return er(zt(this,4,$e,arguments.length>1?arguments[1]:!1))},getUint32:function($e){return er(zt(this,4,$e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function($e){return Ft(zt(this,4,$e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function($e){return Ft(zt(this,8,$e,arguments.length>1?arguments[1]:!1),52)},setInt8:function($e,He){st(this,1,$e,_t,He)},setUint8:function($e,He){st(this,1,$e,_t,He)},setInt16:function($e,He){st(this,2,$e,Pt,He,arguments.length>2?arguments[2]:!1)},setUint16:function($e,He){st(this,2,$e,Pt,He,arguments.length>2?arguments[2]:!1)},setInt32:function($e,He){st(this,4,$e,Qt,He,arguments.length>2?arguments[2]:!1)},setUint32:function($e,He){st(this,4,$e,Qt,He,arguments.length>2?arguments[2]:!1)},setFloat32:function($e,He){st(this,4,$e,Jt,He,arguments.length>2?arguments[2]:!1)},setFloat64:function($e,He){st(this,8,$e,Xe,He,arguments.length>2?arguments[2]:!1)}});else{var bt=V&&ne.name!==G;if(!a(function(){ne(1)})||!a(function(){new ne(-1)})||a(function(){return new ne,new ne(1.5),new ne(NaN),ne.length!==1||bt&&!K})){ee=function($e){return x(this,ie),new ne(_($e))},ee[ae]=ie;for(var ht=T(ne),Je=0,Ue;ht.length>Je;)(Ue=ht[Je++])in ee||s(ee,Ue,ne[Ue]);ie.constructor=ee}else bt&&K&&s(ne,"name",G);L&&R(M)!==q&&L(M,q);var ge=new F(new ee(2)),Ae=i(M.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&u(M,{setInt8:function($e,He){Ae(this,$e,He<<24>>24)},setUint8:function($e,He){Ae(this,$e,He<<24>>24)}},{unsafe:!0})}$(ee,G),$(F,oe),d.exports={ArrayBuffer:ee,DataView:F}},92670:function(d,g,e){"use strict";var r=e(94029),i=e(51981),l=e(82762),c=e(84233),f=Math.min;d.exports=[].copyWithin||function(h,u){var a=r(this),x=l(a),p=i(h,x),y=i(u,x),_=arguments.length>2?arguments[2]:void 0,b=f((_===void 0?x:i(_,x))-y,x-p),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,g,e){"use strict";var r=e(94029),i=e(51981),l=e(82762);d.exports=function(f){for(var s=r(this),h=l(s),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;)s[a++]=f;return s}},59594:function(d,g,e){"use strict";var r=e(90560).forEach,i=e(45601),l=i("forEach");d.exports=l?[].forEach:function(f){return r(this,f,arguments.length>1?arguments[1]:void 0)}},32278:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(94029),c=e(39812),f=e(69034),s=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"),R=i(p("Array","values")),L=i(R([]).next),T=function(){return new D(this)},D=function(B){this.iterator=R(B)};D.prototype.next=function(){return L(this.iterator)},d.exports=function($){var U=this,V=arguments.length,K=V>1?arguments[1]:void 0,G=V>2?arguments[2]:void 0;return new(x("Promise"))(function(oe){var ae=l($);K!==void 0&&(K=r(K,G));var le=a(ae,S),Q=le?void 0:u(ae)||T,J=c(U)?new U:[],Y=le?f(ae,le):new _(h(s(ae,Q)));oe(b(Y,K,J))})}},69478:function(d,g,e){"use strict";var r=e(82762);d.exports=function(i,l,c){for(var f=0,s=arguments.length>2?c:r(l),h=new i(s);s>f;)h[f]=l[f++];return h}},60255:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(94029),c=e(46319),f=e(345),s=e(39812),h=e(82762),u=e(69392),a=e(85428),x=e(26006),p=Array;d.exports=function(_){var b=l(_),S=s(this),R=arguments.length,L=R>1?arguments[1]:void 0,T=L!==void 0;T&&(L=r(L,R>2?arguments[2]:void 0));var D=x(b),B=0,$,U,V,K,G,oe;if(D&&!(this===p&&f(D)))for(K=a(b,D),G=K.next,U=S?new this:[];!(V=i(G,K)).done;B++)oe=T?c(K,L,[V.value,B],!0):V.value,u(U,B,oe);else for($=h(b),U=S?new this($):p($);$>B;B++)oe=T?L(b[B],B):b[B],u(U,B,oe);return U.length=B,U}},33940:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),s=e(2786),h=s.Map,u=s.get,a=s.has,x=s.set,p=i([].push);d.exports=function(_){for(var b=c(this),S=l(b),R=r(_,arguments.length>1?arguments[1]:void 0),L=new h,T=f(S),D=0,B,$;T>D;D++)$=S[D],B=R($,D,b),a(L,B)?p(u(L,B),$):x(L,B,[$]);return L}},36444:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(17818),s=e(82762),h=e(20132),u=e(69478),a=Array,x=i([].push);d.exports=function(p,y,_,b){for(var S=c(p),R=l(S),L=r(y,_),T=h(null),D=s(R),B=0,$,U,V;D>B;B++)V=R[B],U=f(L(V,B,S)),U in T?x(T[U],V):T[U]=[V];if(b&&($=b(S),$!==a))for(U in T)T[U]=u($,T[U]);return T}},22999:function(d,g,e){"use strict";var r=e(80524),i=e(51981),l=e(82762),c=function(f){return function(s,h,u){var a=r(s),x=l(a),p=i(u,x),y;if(f&&h!==h){for(;x>p;)if(y=a[p++],y!==y)return!0}else for(;x>p;p++)if((f||p in a)&&a[p]===h)return f||p||0;return!f&&-1}};d.exports={includes:c(!0),indexOf:c(!1)}},53279:function(d,g,e){"use strict";var r=e(80666),i=e(1835),l=e(94029),c=e(82762),f=function(s){var h=s===1;return function(u,a,x){for(var p=l(u),y=i(p),_=c(y),b=r(a,x),S,R;_-- >0;)if(S=y[_],R=b(S,_,p),R)switch(s){case 0:return S;case 1:return _}return h?-1:void 0}};d.exports={findLast:f(0),findLastIndex:f(1)}},90560:function(d,g,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),s=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,R=a===5||b;return function(L,T,D,B){for(var $=c(L),U=l($),V=f(U),K=r(T,D),G=0,oe=B||s,ae=x?oe(L,V):p||S?oe(L,0):void 0,le,Q;V>G;G++)if((R||G in U)&&(le=U[G],Q=K(le,G,$),a))if(x)ae[G]=Q;else if(Q)switch(a){case 3:return!0;case 5:return le;case 6:return G;case 2:h(ae,le)}else switch(a){case 4:return!1;case 7:h(ae,le)}return b?-1:y||_?_:ae}};d.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},55009:function(d,g,e){"use strict";var r=e(13743),i=e(80524),l=e(56902),c=e(82762),f=e(45601),s=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=s(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,g,e){"use strict";var r=e(3338),i=e(59893),l=e(46573),c=i("species");d.exports=function(f){return l>=51||!r(function(){var s=[],h=s.constructor={};return h[c]=function(){return{foo:1}},s[f](Boolean).foo!==1})}},45601:function(d,g,e){"use strict";var r=e(3338);d.exports=function(i,l){var c=[][i];return!!c&&r(function(){c.call(null,l||function(){return 1},1)})}},16370:function(d,g,e){"use strict";var r=e(63335),i=e(94029),l=e(1835),c=e(82762),f=TypeError,s=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,R=h?-1:1;if(x<2)for(;;){if(S in _){p=_[S],S+=R;break}if(S+=R,h?S<0:b<=S)throw new f("Reduce of empty array with no initial value")}for(;h?S>=0:b>S;S+=R)S in _&&(p=a(p,_[S],S,y));return p}};d.exports={left:s(!1),right:s(!0)}},39428:function(d,g,e){"use strict";var r=e(35454),i=e(18589),l=TypeError,c=Object.getOwnPropertyDescriptor,f=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(s){return s instanceof TypeError}}();d.exports=f?function(s,h){if(i(s)&&!c(s,"length").writable)throw new l("Cannot set read only .length");return s.length=h}:function(s,h){return s.length=h}},71698:function(d,g,e){"use strict";var r=e(51981),i=e(82762),l=e(69392),c=Array,f=Math.max;d.exports=function(s,h,u){for(var a=i(s),x=r(h,a),p=r(u===void 0?a:u,a),y=c(f(p-x,0)),_=0;x<p;x++,_++)l(y,_,s[x]);return y.length=_,y}},30867:function(d,g,e){"use strict";var r=e(94237);d.exports=r([].slice)},63668:function(d,g,e){"use strict";var r=e(71698),i=Math.floor,l=function(s,h){var u=s.length,a=i(u/2);return u<8?c(s,h):f(s,l(r(s,0,a),h),l(r(s,a),h),h)},c=function(s,h){for(var u=s.length,a=1,x,p;a<u;){for(p=a,x=s[a];p&&h(s[p-1],x)>0;)s[p]=s[--p];p!==a++&&(s[p]=x)}return s},f=function(s,h,u,a){for(var x=h.length,p=u.length,y=0,_=0;y<x||_<p;)s[y+_]=y<x&&_<p?a(h[y],u[_])<=0?h[y++]:u[_++]:y<x?h[y++]:u[_++];return s};d.exports=l},34487:function(d,g,e){"use strict";var r=e(18589),i=e(39812),l=e(31946),c=e(59893),f=c("species"),s=Array;d.exports=function(h){var u;return r(h)&&(u=h.constructor,i(u)&&(u===s||r(u.prototype))?u=void 0:l(u)&&(u=u[f],u===null&&(u=void 0))),u===void 0?s:u}},81427:function(d,g,e){"use strict";var r=e(34487);d.exports=function(i,l){return new(r(i))(l===0?0:l)}},85903:function(d,g,e){"use strict";var r=e(82762);d.exports=function(i,l){for(var c=r(i),f=new l(c),s=0;s<c;s++)f[s]=i[c-s-1];return f}},65621:function(d,g,e){"use strict";var r=e(94237),i=e(63335),l=e(4112),c=e(82762),f=e(94029),s=e(2786),h=e(95037),u=s.Map,a=s.has,x=s.set,p=r([].push);d.exports=function(_){var b=f(this),S=c(b),R=[],L=new u,T=l(_)?function(U){return U}:i(_),D,B,$;for(D=0;D<S;D++)B=b[D],$=T(B),a(L,$)||x(L,$,B);return h(L,function(U){p(R,U)}),R}},82041:function(d,g,e){"use strict";var r=e(82762),i=e(56902),l=RangeError;d.exports=function(c,f,s,h){var u=r(c),a=i(s),x=a<0?u+a:a;if(x>=u||x<0)throw new l("Incorrect index");for(var p=new f(u),y=0;y<u;y++)p[y]=y===x?h:c[y];return p}},57975:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(20132),c=e(53776),f=e(66477),s=e(94844),h=e(65911),u=e(14052),a=e(25587),x=h("Promise"),p="AsyncFromSyncIterator",y=s.set,_=s.getterFor(p),b=function(R,L,T){var D=R.done;x.resolve(R.value).then(function(B){L(a(B,D))},T)},S=function(L){L.type=p,y(this,L)};S.prototype=f(l(u),{next:function(){var L=_(this);return new x(function(T,D){var B=i(r(L.next,L.iterator));b(B,T,D)})},return:function(){var R=_(this).iterator;return new x(function(L,T){var D=c(R,"return");if(D===void 0)return L(a(void 0,!0));var B=i(r(D,R));b(B,L,T)})}}),d.exports=S},28255:function(d,g,e){"use strict";var r=e(89945),i=e(65911),l=e(53776);d.exports=function(c,f,s,h){try{var u=l(c,"return");if(u)return i("Promise").resolve(r(u,c)).then(function(){f(s)},function(a){h(a)})}catch(a){return h(a)}f(s)}},31342:function(d,g,e){"use strict";var r=e(89945),i=e(80734),l=e(80449),c=e(20132),f=e(68151),s=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"),R="AsyncIteratorHelper",L="WrapForValidAsyncIterator",T=u.set,D=function(U){var V=!U,K=u.getterFor(U?L:R),G=function(oe){var ae=i(function(){return K(oe)}),le=ae.error,Q=ae.value;return le||V&&Q.done?{exit:!0,value:le?b.reject(Q):b.resolve(y(void 0,!0))}:{exit:!1,value:Q}};return s(c(p),{next:function(){var ae=G(this),le=ae.value;if(ae.exit)return le;var Q=i(function(){return l(le.nextHandler(b))}),J=Q.error,Y=Q.value;return J&&(le.done=!0),J?b.reject(Y):b.resolve(Y)},return:function(){var oe=G(this),ae=oe.value;if(oe.exit)return ae;ae.done=!0;var le=ae.iterator,Q,J,Y=i(function(){if(ae.inner)try{_(ae.inner.iterator,"normal")}catch(ue){return _(le,"throw",ue)}return x(le,"return")});return Q=J=Y.value,Y.error?b.reject(J):Q===void 0?b.resolve(y(void 0,!0)):(Y=i(function(){return r(Q,le)}),J=Y.value,Y.error?b.reject(J):U?b.resolve(J):b.resolve(J).then(function(ue){return l(ue),y(void 0,!0)}))}})},B=D(!0),$=D(!1);f($,S,"Async Iterator Helper"),d.exports=function(U,V){var K=function(oe,ae){ae?(ae.iterator=oe.iterator,ae.next=oe.next):ae=oe,ae.type=V?L:R,ae.nextHandler=U,ae.counter=0,ae.done=!1,T(this,ae)};return K.prototype=V?B:$,K}},34535:function(d,g,e){"use strict";var r=e(89945),i=e(41586),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},55266:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(66434),s=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,R,L){l(S);var T=R!==void 0;(T||!p)&&i(R);var D=h(S),B=s("Promise"),$=D.iterator,U=D.next,V=0;return new B(function(K,G){var oe=function(le){u($,G,le,G)},ae=function(){try{if(T)try{f(V)}catch(le){oe(le)}B.resolve(l(r(U,$))).then(function(le){try{if(l(le).done)p?(L.length=V,K(L)):K(b?!1:_||void 0);else{var Q=le.value;try{if(T){var J=R(Q,V),Y=function(ue){if(y)ae();else if(_)ue?ae():u($,K,!1,G);else if(p)try{L[V++]=ue,ae()}catch(ne){oe(ne)}else ue?u($,K,b||Q,G):ae()};c(J)?B.resolve(J).then(Y,oe):Y(J)}else L[V++]=Q,ae()}catch(ue){oe(ue)}}}catch(ue){G(ue)}},G)}catch(le){G(le)}};ae()})}};d.exports={toArray:a(0),forEach:a(1),every:a(2),some:a(3),find:a(4)}},41586:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(10731),s=e(31342),h=e(25587),u=e(28255),a=s(function(x){var p=this,y=p.iterator,_=p.mapper;return new x(function(b,S){var R=function(T){p.done=!0,S(T)},L=function(T){u(y,R,T,R)};x.resolve(l(r(p.next,y))).then(function(T){try{if(l(T).done)p.done=!0,b(h(void 0,!0));else{var D=T.value;try{var B=_(D,p.counter++),$=function(U){b(h(U,!1))};c(B)?x.resolve(B).then($,L):$(B)}catch(U){L(U)}}}catch(U){R(U)}},R)})});d.exports=function(p){return l(this),i(p),new a(f(this),{mapper:p})}},14052:function(d,g,e){"use strict";var r=e(92916),i=e(77398),l=e(55327),c=e(20132),f=e(53456),s=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])||s(_,x,function(){return this}),d.exports=_},80025:function(d,g,e){"use strict";var r=e(89945),i=e(31342);d.exports=i(function(){return r(this.next,this.iterator)},!0)},66244:function(d){"use strict";var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=g+"+/",r=g+"-_",i=function(l){for(var c={},f=0;f<64;f++)c[l.charAt(f)]=f;return c};d.exports={i2c:e,c2i:i(e),i2cUrl:r,c2iUrl:i(r)}},46319:function(d,g,e){"use strict";var r=e(80449),i=e(67996);d.exports=function(l,c,f,s){try{return s?c(r(f)[0],f[1]):c(f)}catch(h){i(l,"throw",h)}}},35221:function(d,g,e){"use strict";var r=e(59893),i=r("iterator"),l=!1;try{var c=0,f={next:function(){return{done:!!c++}},return:function(){l=!0}};f[i]=function(){return this},Array.from(f,function(){throw 2})}catch(s){}d.exports=function(s,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}}}},s(a)}catch(x){}return u}},29076:function(d,g,e){"use strict";var r=e(94237),i=r({}.toString),l=r("".slice);d.exports=function(c){return l(i(c),8,-1)}},97607:function(d,g,e){"use strict";var r=e(68527),i=e(55327),l=e(29076),c=e(59893),f=c("toStringTag"),s=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=s(a),f))=="string"?p:h?l(x):(y=l(x))==="Object"&&i(x.callee)?"Arguments":y}},72846:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(63335),c=e(6086),f=e(4112),s=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),s(a,function(R){i(h,_,S(R,b++))})):s(a,h,{that:_}),new this(_))}},48800:function(d,g,e){"use strict";var r=e(30867);d.exports=function(){return new this(r(arguments))}},40942:function(d,g,e){"use strict";var r=e(20132),i=e(64110),l=e(66477),c=e(80666),f=e(56472),s=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(R,L,T,D){var B=R(function(G,oe){f(G,$),b(G,{type:L,index:r(null),first:void 0,last:void 0,size:0}),p||(G.size=0),s(oe)||h(oe,G[D],{that:G,AS_ENTRIES:T})}),$=B.prototype,U=S(L),V=function(G,oe,ae){var le=U(G),Q=K(G,oe),J,Y;return Q?Q.value=ae:(le.last=Q={index:Y=y(oe,!0),key:oe,value:ae,previous:J=le.last,next:void 0,removed:!1},le.first||(le.first=Q),J&&(J.next=Q),p?le.size++:G.size++,Y!=="F"&&(le.index[Y]=Q)),G},K=function(G,oe){var ae=U(G),le=y(oe),Q;if(le!=="F")return ae.index[le];for(Q=ae.first;Q;Q=Q.next)if(Q.key===oe)return Q};return l($,{clear:function(){for(var oe=this,ae=U(oe),le=ae.index,Q=ae.first;Q;)Q.removed=!0,Q.previous&&(Q.previous=Q.previous.next=void 0),delete le[Q.index],Q=Q.next;ae.first=ae.last=void 0,p?ae.size=0:oe.size=0},delete:function(G){var oe=this,ae=U(oe),le=K(oe,G);if(le){var Q=le.next,J=le.previous;delete ae.index[le.index],le.removed=!0,J&&(J.next=Q),Q&&(Q.previous=J),ae.first===le&&(ae.first=Q),ae.last===le&&(ae.last=J),p?ae.size--:oe.size--}return!!le},forEach:function(oe){for(var ae=U(this),le=c(oe,arguments.length>1?arguments[1]:void 0),Q;Q=Q?Q.next:ae.first;)for(le(Q.value,Q.key,this);Q&&Q.removed;)Q=Q.previous},has:function(oe){return!!K(this,oe)}}),l($,T?{get:function(oe){var ae=K(this,oe);return ae&&ae.value},set:function(oe,ae){return V(this,oe===0?0:oe,ae)}}:{add:function(oe){return V(this,oe=oe===0?0:oe,oe)}}),p&&i($,"size",{configurable:!0,get:function(){return U(this).size}}),B},setStrong:function(R,L,T){var D=L+" Iterator",B=S(L),$=S(D);u(R,L,function(U,V){b(this,{type:D,target:U,state:B(U),kind:V,last:void 0})},function(){for(var U=$(this),V=U.kind,K=U.last;K&&K.removed;)K=K.previous;return!U.target||!(U.last=K=K?K.next:U.state.first)?(U.target=void 0,a(void 0,!0)):a(V==="keys"?K.key:V==="values"?K.value:[K.key,K.value],!1)},T?"entries":"values",!T,!0),x(L)}}},39656:function(d,g,e){"use strict";var r=e(94237),i=e(66477),l=e(2074).getWeakData,c=e(56472),f=e(80449),s=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,R=r([].splice),L=0,T=function($){return $.frozen||($.frozen=new D)},D=function(){this.entries=[]},B=function($,U){return b($.entries,function(V){return V[0]===U})};D.prototype={get:function($){var U=B(this,$);if(U)return U[1]},has:function($){return!!B(this,$)},set:function($,U){var V=B(this,$);V?V[1]=U:this.entries.push([$,U])},delete:function($){var U=S(this.entries,function(V){return V[0]===$});return~U&&R(this.entries,U,1),!!~U}},d.exports={getConstructor:function($,U,V,K){var G=$(function(Q,J){c(Q,oe),y(Q,{type:U,id:L++,frozen:void 0}),s(J)||u(J,Q[K],{that:Q,AS_ENTRIES:V})}),oe=G.prototype,ae=_(U),le=function(Q,J,Y){var ue=ae(Q),ne=l(f(J),!0);return ne===!0?T(ue).set(J,Y):ne[ue.id]=Y,Q};return i(oe,{delete:function(Q){var J=ae(this);if(!h(Q))return!1;var Y=l(Q);return Y===!0?T(J).delete(Q):Y&&x(Y,J.id)&&delete Y[J.id]},has:function(J){var Y=ae(this);if(!h(J))return!1;var ue=l(J);return ue===!0?T(Y).has(J):ue&&x(ue,Y.id)}}),i(oe,V?{get:function(J){var Y=ae(this);if(h(J)){var ue=l(J);return ue===!0?T(Y).get(J):ue?ue[Y.id]:void 0}},set:function(J,Y){return le(this,J,Y)}}:{add:function(J){return le(this,J,!0)}}),G}}},48059:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(20865),f=e(2291),s=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(R,L,T){var D=R.indexOf("Map")!==-1,B=R.indexOf("Weak")!==-1,$=D?"set":"add",U=i[R],V=U&&U.prototype,K=U,G={},oe=function(ne){var ee=l(V[ne]);f(V,ne,ne==="add"?function(F){return ee(this,F===0?0:F),this}:ne==="delete"?function(ie){return B&&!p(ie)?!1:ee(this,ie===0?0:ie)}:ne==="get"?function(F){return B&&!p(F)?void 0:ee(this,F===0?0:F)}:ne==="has"?function(F){return B&&!p(F)?!1:ee(this,F===0?0:F)}:function(F,M){return ee(this,F===0?0:F,M),this})},ae=c(R,!a(U)||!(B||V.forEach&&!y(function(){new U().entries().next()})));if(ae)K=T.getConstructor(L,R,D,$),s.enable();else if(c(R,!0)){var le=new K,Q=le[$](B?{}:-0,1)!==le,J=y(function(){le.has(1)}),Y=_(function(ne){new U(ne)}),ue=!B&&y(function(){for(var ne=new U,ee=5;ee--;)ne[$](ee,ee);return!ne.has(-0)});Y||(K=L(function(ne,ee){u(ne,V);var ie=S(new U,ne,K);return x(ee)||h(ee,ie[$],{that:ie,AS_ENTRIES:D}),ie}),K.prototype=V,V.constructor=K),(J||ue)&&(oe("delete"),oe("has"),D&&oe("get")),(ue||Q)&&oe($),B&&V.clear&&delete V.clear}return G[R]=K,r({global:!0,constructor:!0,forced:K!==U},G),b(K,R),B||T.setStrong(K,R,D),K}},32754:function(d,g,e){"use strict";e(34941),e(55410);var r=e(65911),i=e(20132),l=e(31946),c=Object,f=TypeError,s=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 s),b=_.get(p);return b||_.set(p,b=new u),b};var a=new u;d.exports=function(){var x=a,p=arguments.length,y,_;for(y=0;y<p;y++)l(_=arguments[y])&&(x=x.next(y,_,!0));if(this===c&&x===a)throw new f("Composite keys must contain a non-primitive component");for(y=0;y<p;y++)l(_=arguments[y])||(x=x.next(y,_,!1));return x}},24538:function(d,g,e){"use strict";var r=e(32621),i=e(48662),l=e(71256),c=e(37691);d.exports=function(f,s,h){for(var u=i(s),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(s,y))}}},86266:function(d,g,e){"use strict";var r=e(59893),i=r("match");d.exports=function(l){var c=/./;try{"/./"[l](c)}catch(f){try{return c[i]=!1,"/./"[l](c)}catch(s){}}return!1}},4870:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})},95994:function(d,g,e){"use strict";var r=e(94237),i=e(95955),l=e(69905),c=/"/g,f=r("".replace);d.exports=function(s,h,u,a){var x=l(i(s)),p="<"+h;return u!==""&&(p+=" "+u+'="'+f(l(a),c,""")+'"'),p+">"+x+"</"+h+">"}},25587:function(d){"use strict";d.exports=function(g,e){return{value:g,done:e}}},68151:function(d,g,e){"use strict";var r=e(35454),i=e(37691),l=e(35012);d.exports=r?function(c,f,s){return i.f(c,f,l(1,s))}:function(c,f,s){return c[f]=s,c}},35012:function(d){"use strict";d.exports=function(g,e){return{enumerable:!(g&1),configurable:!(g&2),writable:!(g&4),value:e}}},69392:function(d,g,e){"use strict";var r=e(17818),i=e(37691),l=e(35012);d.exports=function(c,f,s){var h=r(f);h in c?i.f(c,h,l(0,s)):c[h]=s}},32494:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(85571).start,c=RangeError,f=isFinite,s=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),R=r(h.getUTCSeconds);d.exports=i(function(){return u.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!i(function(){u.call(new Date(NaN))})?function(){if(!f(a(this)))throw new c("Invalid time value");var T=this,D=p(T),B=_(T),$=D<0?"-":D>9999?"+":"";return $+l(s(D),$?6:4,0)+"-"+l(S(T)+1,2,0)+"-"+l(x(T),2,0)+"T"+l(y(T),2,0)+":"+l(b(T),2,0)+":"+l(R(T),2,0)+"."+l(B,3,0)+"Z"}:u},77119:function(d,g,e){"use strict";var r=e(80449),i=e(44759),l=TypeError;d.exports=function(c){if(r(this),c==="string"||c==="default")c="string";else if(c!=="number")throw new l("Incorrect hint");return i(this,c)}},64110:function(d,g,e){"use strict";var r=e(86528),i=e(37691);d.exports=function(l,c,f){return f.get&&r(f.get,c,{getter:!0}),f.set&&r(f.set,c,{setter:!0}),i.f(l,c,f)}},2291:function(d,g,e){"use strict";var r=e(55327),i=e(37691),l=e(86528),c=e(29539);d.exports=function(f,s,h,u){u||(u={});var a=u.enumerable,x=u.name!==void 0?u.name:s;if(r(h)&&l(h,x,u),u.global)a?f[s]=h:c(s,h);else{try{u.unsafe?f[s]&&(a=!0):delete f[s]}catch(p){}a?f[s]=h:i.f(f,s,{value:h,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return f}},66477:function(d,g,e){"use strict";var r=e(2291);d.exports=function(i,l,c){for(var f in l)r(i,f,l[f],c);return i}},29539:function(d,g,e){"use strict";var r=e(92916),i=Object.defineProperty;d.exports=function(l,c){try{i(r,l,{value:c,configurable:!0,writable:!0})}catch(f){r[l]=c}return c}},84233:function(d,g,e){"use strict";var r=e(40593),i=TypeError;d.exports=function(l,c){if(!delete l[c])throw new i("Cannot delete property "+r(c)+" of "+r(l))}},35454:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},39311:function(d,g,e){"use strict";var r=e(92916),i=e(11270),l=e(80426),c=r.structuredClone,f=r.ArrayBuffer,s=r.MessageChannel,h=!1,u,a,x,p;if(l)h=function(y){c(y,{transfer:[y]})};else if(f)try{s||(u=i("worker_threads"),u&&(s=u.MessageChannel)),s&&(a=new s,x=new f(2),p=function(y){a.port1.postMessage(null,[y])},x.byteLength===2&&(p(x),x.byteLength===0&&(h=p)))}catch(y){}d.exports=h},81766:function(d){"use strict";var g=typeof document=="object"&&document.all,e=typeof g=="undefined"&&g!==void 0;d.exports={all:g,IS_HTMLDDA:e}},86060:function(d,g,e){"use strict";var r=e(92916),i=e(31946),l=r.document,c=i(l)&&i(l.createElement);d.exports=function(f){return c?l.createElement(f):{}}},66434:function(d){"use strict";var g=TypeError,e=9007199254740991;d.exports=function(r){if(r>e)throw g("Maximum allowed index exceeded");return r}},52109:function(d){"use strict";d.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},66749:function(d){"use strict";d.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9518:function(d,g,e){"use strict";var r=e(86060),i=r("span").classList,l=i&&i.constructor&&i.constructor.prototype;d.exports=l===Object.prototype?void 0:l},78177:function(d,g,e){"use strict";var r=e(66011),i=r.match(/firefox\/(\d+)/i);d.exports=!!i&&+i[1]},66994:function(d,g,e){"use strict";var r=e(91821),i=e(90946);d.exports=!r&&!i&&typeof window=="object"&&typeof document=="object"},90843:function(d){"use strict";d.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},91821:function(d){"use strict";d.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},17687:function(d,g,e){"use strict";var r=e(66011);d.exports=/MSIE|Trident/.test(r)},1908:function(d,g,e){"use strict";var r=e(66011);d.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},70695:function(d,g,e){"use strict";var r=e(66011);d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},90946:function(d,g,e){"use strict";var r=e(92916),i=e(29076);d.exports=i(r.process)==="process"},44914:function(d,g,e){"use strict";var r=e(66011);d.exports=/web0s(?!.*chrome)/i.test(r)},66011:function(d){"use strict";d.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},46573:function(d,g,e){"use strict";var r=e(92916),i=e(66011),l=r.process,c=r.Deno,f=l&&l.versions||c&&c.version,s=f&&f.v8,h,u;s&&(h=s.split("."),u=h[0]>0&&h[0]<4?1:+(h[0]+h[1])),!u&&i&&(h=i.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=i.match(/Chrome\/(\d+)/),h&&(u=+h[1]))),d.exports=u},19684:function(d,g,e){"use strict";var r=e(66011),i=r.match(/AppleWebKit\/(\d+)\./);d.exports=!!i&&+i[1]},46678:function(d){"use strict";d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80739:function(d,g,e){"use strict";var r=e(94237),i=Error,l=r("".replace),c=function(h){return String(new i(h).stack)}("zxcasd"),f=/\n\s*at [^:]*:[^\n]*/,s=f.test(c);d.exports=function(h,u){if(s&&typeof h=="string"&&!i.prepareStackTrace)for(;u--;)h=l(h,f,"");return h}},61888:function(d,g,e){"use strict";var r=e(68151),i=e(80739),l=e(25406),c=Error.captureStackTrace;d.exports=function(f,s,h,u){l&&(c?c(f,s):r(f,"stack",i(h,u)))}},25406:function(d,g,e){"use strict";var r=e(3338),i=e(35012);d.exports=!r(function(){var l=new Error("a");return"stack"in l?(Object.defineProperty(l,"stack",i(1,7)),l.stack!==7):!0})},13367:function(d,g,e){"use strict";var r=e(35454),i=e(3338),l=e(80449),c=e(7825),f=Error.prototype.toString,s=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=s?function(){var u=l(this),a=c(u.name,"Error"),x=c(u.message);return a?x?a+": "+x:a:x}:f},94488:function(d,g,e){"use strict";var r=e(92916),i=e(71256).f,l=e(68151),c=e(2291),f=e(29539),s=e(24538),h=e(20865);d.exports=function(u,a){var x=u.target,p=u.global,y=u.stat,_,b,S,R,L,T;if(p?b=r:y?b=r[x]||f(x,{}):b=(r[x]||{}).prototype,b)for(S in a){if(L=a[S],u.dontCallGetSet?(T=i(b,S),R=T&&T.value):R=b[S],_=h(p?S:x+(y?".":"#")+S,u.forced),!_&&R!==void 0){if(typeof L==typeof R)continue;s(L,R)}(u.sham||R&&R.sham)&&l(L,"sham",!0),c(b,S,L,u)}}},3338:function(d){"use strict";d.exports=function(g){try{return!!g()}catch(e){return!0}}},8662:function(d,g,e){"use strict";e(44001);var r=e(34114),i=e(2291),l=e(88736),c=e(3338),f=e(59893),s=e(68151),h=f("species"),u=RegExp.prototype;d.exports=function(a,x,p,y){var _=f(a),b=!c(function(){var T={};return T[_]=function(){return 7},""[a](T)!==7}),S=b&&!c(function(){var T=!1,D=/a/;return a==="split"&&(D={},D.constructor={},D.constructor[h]=function(){return D},D.flags="",D[_]=/./[_]),D.exec=function(){return T=!0,null},D[_](""),!T});if(!b||!S||p){var R=r(/./[_]),L=x(_,""[a],function(T,D,B,$,U){var V=r(T),K=D.exec;return K===l||K===u.exec?b&&!U?{done:!0,value:R(D,B,$)}:{done:!0,value:V(B,D,$)}:{done:!1}});i(String.prototype,a,L[0]),i(u,_,L[1])}y&&s(u[_],"sham",!0)}},3372:function(d,g,e){"use strict";var r=e(18589),i=e(82762),l=e(66434),c=e(80666),f=function(s,h,u,a,x,p,y,_){for(var b=x,S=0,R=y?c(y,_):!1,L,T;S<a;)S in u&&(L=R?R(u[S],S,h):u[S],p>0&&r(L)?(T=i(L),b=f(s,h,L,T,b,p-1)-1):(l(b+1),s[b]=L),b++),S++;return b};d.exports=f},13247:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},13743:function(d,g,e){"use strict";var r=e(40486),i=Function.prototype,l=i.apply,c=i.call;d.exports=typeof Reflect=="object"&&Reflect.apply||(r?c.bind(l):function(){return c.apply(l,arguments)})},80666:function(d,g,e){"use strict";var r=e(34114),i=e(63335),l=e(40486),c=r(r.bind);d.exports=function(f,s){return i(f),s===void 0?f:l?c(f,s):function(){return f.apply(s,arguments)}}},40486:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},4645:function(d,g,e){"use strict";var r=e(94237),i=e(63335),l=e(31946),c=e(32621),f=e(30867),s=e(40486),h=Function,u=r([].concat),a=r([].join),x={},p=function(y,_,b){if(!c(x,_)){for(var S=[],R=0;R<_;R++)S[R]="a["+R+"]";x[_]=h("C,a","return new C("+a(S,",")+")")}return x[_](y,b)};d.exports=s?h.bind:function(_){var b=i(this),S=b.prototype,R=f(arguments,1),L=function(){var D=u(R,f(arguments));return this instanceof L?p(b,D.length,D):b.apply(_,D)};return l(S)&&(L.prototype=S),L}},89945:function(d,g,e){"use strict";var r=e(40486),i=Function.prototype.call;d.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},47739:function(d,g,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(){return r(i(this))}},8090:function(d,g,e){"use strict";var r=e(35454),i=e(32621),l=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,f=i(l,"name"),s=f&&function(){}.name==="something",h=f&&(!r||r&&c(l,"name").configurable);d.exports={EXISTS:f,PROPER:s,CONFIGURABLE:h}},37758:function(d,g,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(l,c,f){try{return r(i(Object.getOwnPropertyDescriptor(l,c)[f]))}catch(s){}}},34114:function(d,g,e){"use strict";var r=e(29076),i=e(94237);d.exports=function(l){if(r(l)==="Function")return i(l)}},94237:function(d,g,e){"use strict";var r=e(40486),i=Function.prototype,l=i.call,c=r&&i.bind.bind(l,l);d.exports=r?c:function(f){return function(){return l.apply(f,arguments)}}},81750:function(d){"use strict";var g=TypeError;d.exports=function(e){var r=e&&e.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new g("Incorrect `alphabet` option")}},38116:function(d,g,e){"use strict";var r=e(89945),i=e(55327),l=e(80449),c=e(10731),f=e(26006),s=e(53776),h=e(59893),u=e(57975),a=h("asyncIterator");d.exports=function(x){var p=l(x),y=!0,_=s(p,a),b;return i(_)||(_=f(p),y=!1),_!==void 0?b=r(_,p):(b=p,y=!0),l(b),c(y?b:new u(c(b)))}},69034:function(d,g,e){"use strict";var r=e(89945),i=e(57975),l=e(80449),c=e(85428),f=e(10731),s=e(53776),h=e(59893),u=h("asyncIterator");d.exports=function(a,x){var p=arguments.length<2?s(a,u):x;return p?l(r(p,a)):new i(f(c(a)))}},55174:function(d,g,e){"use strict";var r=e(92916);d.exports=function(i,l){var c=r[i],f=c&&c.prototype;return f&&f[l]}},65911:function(d,g,e){"use strict";var r=e(92916),i=e(55327),l=function(c){return i(c)?c:void 0};d.exports=function(c,f){return arguments.length<2?l(r[c]):r[c]&&r[c][f]}},10731:function(d){"use strict";d.exports=function(g){return{iterator:g,next:g.next,done:!1}}},7157:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(10731),c=e(26006);d.exports=function(f,s){(!s||typeof f!="string")&&i(f);var h=c(f);return l(i(h!==void 0?r(h,f):f))}},26006:function(d,g,e){"use strict";var r=e(97607),i=e(53776),l=e(4112),c=e(48074),f=e(59893),s=f("iterator");d.exports=function(h){if(!l(h))return i(h,s)||i(h,"@@iterator")||c[r(h)]}},85428:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(40593),f=e(26006),s=TypeError;d.exports=function(h,u){var a=arguments.length<2?f(h):u;if(i(a))return l(r(a,h));throw new s(c(h)+" is not iterable")}},65451:function(d,g,e){"use strict";var r=e(94237),i=e(18589),l=e(55327),c=e(29076),f=e(69905),s=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"?s(a,p):(typeof p=="number"||c(p)==="Number"||c(p)==="String")&&s(a,f(p))}var y=a.length,_=!0;return function(b,S){if(_)return _=!1,S;if(i(this))return S;for(var R=0;R<y;R++)if(a[R]===b)return S}}}},53776:function(d,g,e){"use strict";var r=e(63335),i=e(4112);d.exports=function(l,c){var f=l[c];return i(f)?void 0:r(f)}},88203:function(d,g,e){"use strict";var r=e(63335),i=e(80449),l=e(89945),c=e(56902),f=e(10731),s="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(s);var _=c(y);if(_<0)throw new h(s);return new x(p,a(_,0),r(p.has),r(p.keys))}},23011:function(d,g,e){"use strict";var r=e(94237),i=e(94029),l=Math.floor,c=r("".charAt),f=r("".replace),s=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,R=y.length,L=u;return _!==void 0&&(_=i(_),L=h),f(b,L,function(T,D){var B;switch(c(D,0)){case"$":return"$";case"&":return a;case"`":return s(x,0,p);case"'":return s(x,S);case"<":B=_[s(D,1,-1)];break;default:var $=+D;if($===0)return T;if($>R){var U=l($/10);return U===0?T:U<=R?y[U-1]===void 0?c(D,1):y[U-1]+c(D,1):T}B=y[$-1]}return B===void 0?"":B})}},92916:function(d,g,e){"use strict";var r=function(i){return i&&i.Math===Math&&i};d.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof e.g=="object"&&e.g)||r(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},32621:function(d,g,e){"use strict";var r=e(94237),i=e(94029),l=r({}.hasOwnProperty);d.exports=Object.hasOwn||function(f,s){return l(i(f),s)}},54406:function(d){"use strict";d.exports={}},61810:function(d){"use strict";d.exports=function(g,e){try{arguments.length===1?console.error(g):console.error(g,e)}catch(r){}}},75171:function(d,g,e){"use strict";var r=e(65911);d.exports=r("document","documentElement")},46796:function(d,g,e){"use strict";var r=e(35454),i=e(3338),l=e(86060);d.exports=!r&&!i(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!==7})},61618:function(d){"use strict";var g=Array,e=Math.abs,r=Math.pow,i=Math.floor,l=Math.log,c=Math.LN2,f=function(h,u,a){var x=g(a),p=a*8-u-1,y=(1<<p)-1,_=y>>1,b=u===23?r(2,-24)-r(2,-77):0,S=h<0||h===0&&1/h<0?1:0,R=0,L,T,D;for(h=e(h),h!==h||h===1/0?(T=h!==h?1:0,L=y):(L=i(l(h)/c),D=r(2,-L),h*D<1&&(L--,D*=2),L+_>=1?h+=b/D:h+=b*r(2,1-_),h*D>=2&&(L++,D/=2),L+_>=y?(T=0,L=y):L+_>=1?(T=(h*D-1)*r(2,u),L+=_):(T=h*r(2,_-1)*r(2,u),L=0));u>=8;)x[R++]=T&255,T/=256,u-=8;for(L=L<<u|T,p+=u;p>0;)x[R++]=L&255,L/=256,p-=8;return x[--R]|=S*128,x},s=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--],R=S&127,L;for(S>>=7;_>0;)R=R*256+h[b--],_-=8;for(L=R&(1<<-_)-1,R>>=-_,_+=u;_>0;)L=L*256+h[b--],_-=8;if(R===0)R=1-y;else{if(R===p)return L?NaN:S?-1/0:1/0;L+=r(2,u),R-=y}return(S?-1:1)*L*r(2,R-u)};d.exports={pack:f,unpack:s}},1835:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(29076),c=Object,f=r("".split);d.exports=i(function(){return!c("z").propertyIsEnumerable(0)})?function(s){return l(s)==="String"?f(s,""):c(s)}:c},25576:function(d,g,e){"use strict";var r=e(55327),i=e(31946),l=e(58218);d.exports=function(c,f,s){var h,u;return l&&r(h=f.constructor)&&h!==s&&i(u=h.prototype)&&u!==s.prototype&&l(c,u),c}},15212:function(d,g,e){"use strict";var r=e(94237),i=e(55327),l=e(77398),c=r(Function.toString);i(l.inspectSource)||(l.inspectSource=function(f){return c(f)}),d.exports=l.inspectSource},73068:function(d,g,e){"use strict";var r=e(31946),i=e(68151);d.exports=function(l,c){r(c)&&"cause"in c&&i(l,"cause",c.cause)}},2074:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(54406),c=e(31946),f=e(32621),s=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($){s($,_,{value:{objectID:"O"+b++,weakData:{}}})},R=function($,U){if(!c($))return typeof $=="symbol"?$:(typeof $=="string"?"S":"P")+$;if(!f($,_)){if(!a($))return"F";if(!U)return"E";S($)}return $[_].objectID},L=function($,U){if(!f($,_)){if(!a($))return!0;if(!U)return!1;S($)}return $[_].weakData},T=function($){return p&&y&&a($)&&!f($,_)&&S($),$},D=function(){B.enable=function(){},y=!0;var $=h.f,U=i([].splice),V={};V[_]=1,$(V).length&&(h.f=function(K){for(var G=$(K),oe=0,ae=G.length;oe<ae;oe++)if(G[oe]===_){U(G,oe,1);break}return G},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},B=d.exports={enable:D,fastKey:R,getWeakData:L,onFreeze:T};l[_]=!0},94844:function(d,g,e){"use strict";var r=e(40115),i=e(92916),l=e(31946),c=e(68151),f=e(32621),s=e(77398),h=e(11898),u=e(54406),a="Object already initialized",x=i.TypeError,p=i.WeakMap,y,_,b,S=function(D){return b(D)?_(D):y(D,{})},R=function(D){return function(B){var $;if(!l(B)||($=_(B)).type!==D)throw new x("Incompatible receiver, "+D+" required");return $}};if(r||s.state){var L=s.state||(s.state=new p);L.get=L.get,L.has=L.has,L.set=L.set,y=function(D,B){if(L.has(D))throw new x(a);return B.facade=D,L.set(D,B),B},_=function(D){return L.get(D)||{}},b=function(D){return L.has(D)}}else{var T=h("state");u[T]=!0,y=function(D,B){if(f(D,T))throw new x(a);return B.facade=D,c(D,T,B),B},_=function(D){return f(D,T)?D[T]:{}},b=function(D){return f(D,T)}}d.exports={set:y,get:_,has:b,enforce:S,getterFor:R}},345:function(d,g,e){"use strict";var r=e(59893),i=e(48074),l=r("iterator"),c=Array.prototype;d.exports=function(f){return f!==void 0&&(i.Array===f||c[l]===f)}},18589:function(d,g,e){"use strict";var r=e(29076);d.exports=Array.isArray||function(l){return r(l)==="Array"}},75406:function(d,g,e){"use strict";var r=e(97607);d.exports=function(i){var l=r(i);return l==="BigInt64Array"||l==="BigUint64Array"}},55327:function(d,g,e){"use strict";var r=e(81766),i=r.all;d.exports=r.IS_HTMLDDA?function(l){return typeof l=="function"||l===i}:function(l){return typeof l=="function"}},39812:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(55327),c=e(97607),f=e(65911),s=e(15212),h=function(){},u=[],a=f("Reflect","construct"),x=/^\s*(?:class|function)\b/,p=r(x.exec),y=!x.test(h),_=function(R){if(!l(R))return!1;try{return a(h,u,R),!0}catch(L){return!1}},b=function(R){if(!l(R))return!1;switch(c(R)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!p(x,s(R))}catch(L){return!0}};b.sham=!0,d.exports=!a||i(function(){var S;return _(_.call)||!_(Object)||!_(function(){S=!0})||S})?b:_},60516:function(d,g,e){"use strict";var r=e(32621);d.exports=function(i){return i!==void 0&&(r(i,"value")||r(i,"writable"))}},20865:function(d,g,e){"use strict";var r=e(3338),i=e(55327),l=/#|\.prototype\./,c=function(a,x){var p=s[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()},s=c.data={},h=c.NATIVE="N",u=c.POLYFILL="P";d.exports=c},62896:function(d,g,e){"use strict";var r=e(31946),i=Math.floor;d.exports=Number.isInteger||function(c){return!r(c)&&isFinite(c)&&i(c)===c}},30360:function(d,g,e){"use strict";var r=e(97607),i=e(32621),l=e(4112),c=e(59893),f=e(48074),s=c("iterator"),h=Object;d.exports=function(u){if(l(u))return!1;var a=h(u);return a[s]!==void 0||"@@iterator"in a||i(f,r(a))}},4112:function(d){"use strict";d.exports=function(g){return g==null}},31946:function(d,g,e){"use strict";var r=e(55327),i=e(81766),l=i.all;d.exports=i.IS_HTMLDDA?function(c){return typeof c=="object"?c!==null:r(c)||c===l}:function(c){return typeof c=="object"?c!==null:r(c)}},16697:function(d){"use strict";d.exports=!1},83502:function(d,g,e){"use strict";var r=e(31946),i=e(94844).get;d.exports=function(c){if(!r(c))return!1;var f=i(c);return!!f&&f.type==="RawJSON"}},44639:function(d,g,e){"use strict";var r=e(31946),i=e(29076),l=e(59893),c=l("match");d.exports=function(f){var s;return r(f)&&((s=f[c])!==void 0?!!s:i(f)==="RegExp")}},18446:function(d,g,e){"use strict";var r=e(65911),i=e(55327),l=e(16332),c=e(14417),f=Object;d.exports=c?function(s){return typeof s=="symbol"}:function(s){var h=r("Symbol");return i(h)&&l(h.prototype,f(s))}},43545:function(d,g,e){"use strict";var r=e(89945);d.exports=function(i,l,c){for(var f=c?i:i.iterator,s=i.next,h,u;!(h=r(s,f)).done;)if(u=l(h.value),u!==void 0)return u}},62003:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(80449),c=e(40593),f=e(345),s=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,R){var L=R&&R.that,T=!!(R&&R.AS_ENTRIES),D=!!(R&&R.IS_RECORD),B=!!(R&&R.IS_ITERATOR),$=!!(R&&R.INTERRUPTED),U=r(S,L),V,K,G,oe,ae,le,Q,J=function(ue){return V&&x(V,"normal",ue),new y(!0,ue)},Y=function(ue){return T?(l(ue),$?U(ue[0],ue[1],J):U(ue[0],ue[1])):$?U(ue,J):U(ue)};if(D)V=b.iterator;else if(B)V=b;else{if(K=a(b),!K)throw new p(c(b)+" is not iterable");if(f(K)){for(G=0,oe=s(b);oe>G;G++)if(ae=Y(b[G]),ae&&h(_,ae))return ae;return new y(!1)}V=u(b,K)}for(le=D?b.next:V.next;!(Q=i(le,V)).done;){try{ae=Y(Q.value)}catch(ue){x(V,"throw",ue)}if(typeof ae=="object"&&ae&&h(_,ae))return ae}return new y(!1)}},67996:function(d,g,e){"use strict";var r=e(89945),i=e(80449),l=e(53776);d.exports=function(c,f,s){var h,u;i(c);try{if(h=l(c,"return"),!h){if(f==="throw")throw s;return s}h=r(h,c)}catch(a){u=!0,h=a}if(f==="throw")throw s;if(u)throw h;return i(h),s}},83126:function(d,g,e){"use strict";var r=e(46571).IteratorPrototype,i=e(20132),l=e(35012),c=e(94573),f=e(48074),s=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]=s,h}},20547:function(d,g,e){"use strict";var r=e(89945),i=e(20132),l=e(68151),c=e(66477),f=e(59893),s=e(94844),h=e(53776),u=e(46571).IteratorPrototype,a=e(25587),x=e(67996),p=f("toStringTag"),y="IteratorHelper",_="WrapForValidIterator",b=s.set,S=function(T){var D=s.getterFor(T?_:y);return c(i(u),{next:function(){var $=D(this);if(T)return $.nextHandler();try{var U=$.done?void 0:$.nextHandler();return a(U,$.done)}catch(V){throw $.done=!0,V}},return:function(){var B=D(this),$=B.iterator;if(B.done=!0,T){var U=h($,"return");return U?r(U,$):a(void 0,!0)}if(B.inner)try{x(B.inner.iterator,"normal")}catch(V){return x($,"throw",V)}return x($,"normal"),a(void 0,!0)}})},R=S(!0),L=S(!1);l(L,p,"Iterator Helper"),d.exports=function(T,D){var B=function(U,V){V?(V.iterator=U.iterator,V.next=U.next):V=U,V.type=D?_:y,V.nextHandler=T,V.counter=0,V.done=!1,b(this,V)};return B.prototype=D?R:L,B}},24019:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(16697),c=e(8090),f=e(55327),s=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,R=c.CONFIGURABLE,L=b.IteratorPrototype,T=b.BUGGY_SAFARI_ITERATORS,D=y("iterator"),B="keys",$="values",U="entries",V=function(){return this};d.exports=function(K,G,oe,ae,le,Q,J){s(oe,G,ae);var Y=function(Ce){if(Ce===le&&F)return F;if(!T&&Ce&&Ce in ee)return ee[Ce];switch(Ce){case B:return function(){return new oe(this,Ce)};case $:return function(){return new oe(this,Ce)};case U:return function(){return new oe(this,Ce)}}return function(){return new oe(this)}},ue=G+" Iterator",ne=!1,ee=K.prototype,ie=ee[D]||ee["@@iterator"]||le&&ee[le],F=!T&&ie||Y(le),M=G==="Array"&&ee.entries||ie,q,de,Ee;if(M&&(q=h(M.call(new K)),q!==Object.prototype&&q.next&&(!l&&h(q)!==L&&(u?u(q,L):f(q[D])||p(q,D,V)),a(q,ue,!0,!0),l&&(_[ue]=V))),S&&le===$&&ie&&ie.name!==$&&(!l&&R?x(ee,"name",$):(ne=!0,F=function(){return i(ie,this)})),le)if(de={values:Y($),keys:Q?F:Y(B),entries:Y(U)},J)for(Ee in de)(T||ne||!(Ee in ee))&&p(ee,Ee,de[Ee]);else r({target:G,proto:!0,forced:T||ne},de);return(!l||J)&&ee[D]!==F&&p(ee,D,F,{name:le}),_[G]=F,de}},24771:function(d,g,e){"use strict";var r=e(89945),i=e(2155),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},2155:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(10731),f=e(20547),s=e(46319),h=f(function(){var u=this.iterator,a=l(r(this.next,u)),x=this.done=!!a.done;if(!x)return s(u,this.mapper,[a.value,this.counter++],!0)});d.exports=function(a){return l(this),i(a),new h(c(this),{mapper:a})}},46571:function(d,g,e){"use strict";var r=e(3338),i=e(55327),l=e(31946),c=e(20132),f=e(53456),s=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])||s(p,a,function(){return this}),d.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:x}},48074:function(d){"use strict";d.exports={}},82762:function(d,g,e){"use strict";var r=e(61578);d.exports=function(i){return r(i.length)}},86528:function(d,g,e){"use strict";var r=e(94237),i=e(3338),l=e(55327),c=e(32621),f=e(35454),s=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),R=f&&!i(function(){return y(function(){},"length",{value:8}).length!==8}),L=String(String).split("String"),T=d.exports=function(D,B,$){_(p(B),0,7)==="Symbol("&&(B="["+b(p(B),/^Symbol\(([^)]*)\)/,"$1")+"]"),$&&$.getter&&(B="get "+B),$&&$.setter&&(B="set "+B),(!c(D,"name")||s&&D.name!==B)&&(f?y(D,"name",{value:B,configurable:!0}):D.name=B),R&&$&&c($,"arity")&&D.length!==$.arity&&y(D,"length",{value:$.arity});try{$&&c($,"constructor")&&$.constructor?f&&y(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch(V){}var U=a(D);return c(U,"source")||(U.source=S(L,typeof B=="string"?B:"")),D};Function.prototype.toString=T(function(){return l(this)&&x(this).source||h(this)},"toString")},2786:function(d,g,e){"use strict";var r=e(94237),i=Map.prototype;d.exports={Map,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete),proto:i}},95037:function(d,g,e){"use strict";var r=e(94237),i=e(43545),l=e(2786),c=l.Map,f=l.proto,s=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])}):s(a,x)}},14615:function(d,g,e){"use strict";var r=e(89945),i=e(63335),l=e(55327),c=e(80449),f=TypeError;d.exports=function(h,u){var a=c(this),x=i(a.get),p=i(a.has),y=i(a.set),_=arguments.length>2?arguments[2]:void 0,b;if(!l(u)&&!l(_))throw new f("At least one callback required");return r(p,a,h)?(b=r(x,a,h),l(u)&&(b=u(b),r(y,a,h,b))):l(_)&&(b=_(),r(y,a,h,b)),b}},10014:function(d){"use strict";var g=Math.expm1,e=Math.exp;d.exports=!g||g(10)>22025.465794806718||g(10)<22025.465794806718||g(-2e-17)!==-2e-17?function(i){var l=+i;return l===0?l:l>-1e-6&&l<1e-6?l+l*l/2:e(l)-1}:g},35175:function(d,g,e){"use strict";var r=e(77056),i=.0009765625,l=65504,c=6103515625e-14;d.exports=Math.f16round||function(s){return r(s,i,l,c)}},77056:function(d,g,e){"use strict";var r=e(37666),i=Math.abs,l=2220446049250313e-31,c=1/l,f=function(s){return s+c-c};d.exports=function(s,h,u,a){var x=+s,p=i(x),y=r(x);if(p<a)return y*f(p/a/h)*a*h;var _=(1+h/l)*p,b=_-(_-p);return b>u||b!==b?y*(1/0):y*b}},14894:function(d,g,e){"use strict";var r=e(77056),i=11920928955078125e-23,l=34028234663852886e22,c=11754943508222875e-54;d.exports=Math.fround||function(s){return r(s,i,l,c)}},53309:function(d){"use strict";var g=Math.log,e=Math.LOG10E;d.exports=Math.log10||function(i){return g(i)*e}},25726:function(d){"use strict";var g=Math.log;d.exports=Math.log1p||function(r){var i=+r;return i>-1e-8&&i<1e-8?i-i*i/2:g(1+i)}},24619:function(d){"use strict";d.exports=Math.scale||function(e,r,i,l,c){var f=+e,s=+r,h=+i,u=+l,a=+c;return f!==f||s!==s||h!==h||u!==u||a!==a?NaN:f===1/0||f===-1/0?f:(f-s)*(a-u)/(h-s)+u}},37666:function(d){"use strict";d.exports=Math.sign||function(e){var r=+e;return r===0||r!==r?r:r<0?-1:1}},3312:function(d){"use strict";var g=Math.ceil,e=Math.floor;d.exports=Math.trunc||function(i){var l=+i;return(l>0?e:g)(l)}},72933:function(d,g,e){"use strict";var r=e(92916),i=e(80666),l=e(71256).f,c=e(28887).set,f=e(66790),s=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,R,L,T,D,B;if(!S){var $=new f,U=function(){var V,K;for(a&&(V=y.domain)&&V.exit();K=$.get();)try{K()}catch(G){throw $.head&&R(),G}V&&V.enter()};!s&&!a&&!u&&x&&p?(L=!0,T=p.createTextNode(""),new x(U).observe(T,{characterData:!0}),R=function(){T.data=L=!L}):!h&&_&&_.resolve?(D=_.resolve(void 0),D.constructor=_,B=i(D.then,D),R=function(){B(U)}):a?R=function(){y.nextTick(U)}:(c=i(c,r),R=function(){c(U)}),S=function(V){$.head||R(),$.add(V)}}d.exports=S},82778:function(d,g,e){"use strict";var r=e(3338);d.exports=!r(function(){var i="9007199254740993",l=JSON.rawJSON(i);return!JSON.isRawJSON(l)||JSON.stringify(l)!==i})},73446:function(d,g,e){"use strict";var r=e(63335),i=TypeError,l=function(c){var f,s;this.promise=new c(function(h,u){if(f!==void 0||s!==void 0)throw new i("Bad Promise constructor");f=h,s=u}),this.resolve=r(f),this.reject=r(s)};d.exports.f=function(c){return new l(c)}},7825:function(d,g,e){"use strict";var r=e(69905);d.exports=function(i,l){return i===void 0?arguments.length<2?"":l:r(i)}},2279:function(d){"use strict";var g=RangeError;d.exports=function(e){if(e===e)return e;throw new g("NaN is not allowed")}},41696:function(d,g,e){"use strict";var r=e(44639),i=TypeError;d.exports=function(l){if(r(l))throw new i("The method doesn't accept regular expressions");return l}},1222:function(d,g,e){"use strict";var r=e(92916),i=r.isFinite;d.exports=Number.isFinite||function(c){return typeof c=="number"&&i(c)}},31280:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(69905),f=e(52971).trim,s=e(19268),h=l("".charAt),u=r.parseFloat,a=r.Symbol,x=a&&a.iterator,p=1/u(s+"-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,g,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(69905),f=e(52971).trim,s=e(19268),h=r.parseInt,u=r.Symbol,a=u&&u.iterator,x=/^[+-]?0x/i,p=l(x.exec),y=h(s+"08")!==8||h(s+"0x16")!==22||a&&!i(function(){h(Object(a))});d.exports=y?function(b,S){var R=f(c(b));return h(R,S>>>0||(p(x,R)?16:10))}:h},17243:function(d,g,e){"use strict";var r=e(94844),i=e(83126),l=e(25587),c=e(4112),f=e(31946),s=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(L,T,D,B,$,U){if(typeof L!=B||T!==1/0&&T!==-1/0&&typeof T!=B)throw new _(u);if(L===1/0||L===-1/0)throw new y(u);var V=T>L,K=!1,G;if(D===void 0)G=void 0;else if(f(D))G=D.step,K=!!D.inclusive;else if(typeof D==B)G=D;else throw new _(u);if(c(G)&&(G=V?U:-U),typeof G!=B)throw new _(u);if(G===1/0||G===-1/0||G===$&&L!==T)throw new y(u);var oe=L!==L||T!==T||G!==G||T>L!=G>$;x(this,{type:a,start:L,end:T,step:G,inclusive:K,hitsEnd:oe,currentCount:$,zero:$}),h||(this.start=L,this.end=T,this.step=G,this.inclusive=K)},a,function(){var L=p(this);if(L.hitsEnd)return l(void 0,!0);var T=L.start,D=L.end,B=L.step,$=T+B*L.currentCount++;$===D&&(L.hitsEnd=!0);var U=L.inclusive,V;return D>T?V=U?$>D:$>=D:V=U?D>$:D>=$,V?(L.hitsEnd=!0,l(void 0,!0)):l($,!1)}),S=function(R){s(b.prototype,R,{get:function(){return p(this)[R]},set:function(){},configurable:!0,enumerable:!1})};h&&(S("start"),S("end"),S("inclusive"),S("step")),d.exports=b},80530:function(d,g,e){"use strict";var r=e(35454),i=e(94237),l=e(89945),c=e(3338),f=e(7733),s=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"),R="abcdefghijklmnopqrst";return _[S]=7,R.split("").forEach(function(L){b[L]=L}),x({},_)[S]!==7||f(x({},b)).join("")!==R})?function(b,S){for(var R=u(b),L=arguments.length,T=1,D=s.f,B=h.f;L>T;)for(var $=a(arguments[T++]),U=D?y(f($),D($)):f($),V=U.length,K=0,G;V>K;)G=U[K++],(!r||l(B,$,G))&&(R[G]=$[G]);return R}:x},20132:function(d,g,e){"use strict";var r=e(80449),i=e(55666),l=e(46678),c=e(54406),f=e(75171),s=e(86060),h=e(11898),u=">",a="<",x="prototype",p="script",y=h("IE_PROTO"),_=function(){},b=function(D){return a+p+u+D+a+"/"+p+u},S=function(D){D.write(b("")),D.close();var B=D.parentWindow.Object;return D=null,B},R=function(){var D=s("iframe"),B="java"+p+":",$;return D.style.display="none",f.appendChild(D),D.src=String(B),$=D.contentWindow.document,$.open(),$.write(b("document.F=Object")),$.close(),$.F},L,T=function(){try{L=new ActiveXObject("htmlfile")}catch(B){}T=typeof document!="undefined"?document.domain&&L?S(L):R():S(L);for(var D=l.length;D--;)delete T[x][l[D]];return T()};c[y]=!0,d.exports=Object.create||function(B,$){var U;return B!==null?(_[x]=r(B),U=new _,_[x]=null,U[y]=B):U=T(),$===void 0?U:i.f(U,$)}},55666:function(d,g,e){"use strict";var r=e(35454),i=e(93199),l=e(37691),c=e(80449),f=e(80524),s=e(7733);g.f=r&&!i?Object.defineProperties:function(u,a){c(u);for(var x=f(a),p=s(a),y=p.length,_=0,b;y>_;)l.f(u,b=p[_++],x[b]);return u}},37691:function(d,g,e){"use strict";var r=e(35454),i=e(46796),l=e(93199),c=e(80449),f=e(17818),s=TypeError,h=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a="enumerable",x="configurable",p="writable";g.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 R=u(_,b);R&&R[p]&&(_[b]=S.value,S={configurable:x in S?S[x]:R[x],enumerable:a in S?S[a]:R[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(R){}if("get"in S||"set"in S)throw new s("Accessors not supported");return"value"in S&&(_[b]=S.value),_}},71256:function(d,g,e){"use strict";var r=e(35454),i=e(89945),l=e(27597),c=e(35012),f=e(80524),s=e(17818),h=e(32621),u=e(46796),a=Object.getOwnPropertyDescriptor;g.f=r?a:function(p,y){if(p=f(p),y=s(y),u)try{return a(p,y)}catch(_){}if(h(p,y))return c(!i(l.f,p,y),p[y])}},53393:function(d,g,e){"use strict";var r=e(29076),i=e(80524),l=e(80689).f,c=e(71698),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(h){try{return l(h)}catch(u){return c(f)}};d.exports.f=function(u){return f&&r(u)==="Window"?s(u):l(i(u))}},80689:function(d,g,e){"use strict";var r=e(97486),i=e(46678),l=i.concat("length","prototype");g.f=Object.getOwnPropertyNames||function(f){return r(f,l)}},92635:function(d,g){"use strict";g.f=Object.getOwnPropertySymbols},53456:function(d,g,e){"use strict";var r=e(32621),i=e(55327),l=e(94029),c=e(11898),f=e(4870),s=c("IE_PROTO"),h=Object,u=h.prototype;d.exports=f?h.getPrototypeOf:function(a){var x=l(a);if(r(x,s))return x[s];var p=x.constructor;return i(p)&&x instanceof p?p.prototype:x instanceof h?u:null}},12477:function(d,g,e){"use strict";var r=e(3338),i=e(31946),l=e(29076),c=e(51424),f=Object.isExtensible,s=r(function(){f(1)});d.exports=s||c?function(u){return!i(u)||c&&l(u)==="ArrayBuffer"?!1:f?f(u):!0}:f},16332:function(d,g,e){"use strict";var r=e(94237);d.exports=r({}.isPrototypeOf)},20574:function(d,g,e){"use strict";var r=e(94844),i=e(83126),l=e(25587),c=e(32621),f=e(7733),s=e(94029),h="Object Iterator",u=r.set,a=r.getterFor(h);d.exports=i(function(p,y){var _=s(p);u(this,{type:h,mode:y,object:_,keys:f(_),index:0})},"Object",function(){for(var p=a(this),y=p.keys;;){if(y===null||p.index>=y.length)return p.object=p.keys=null,l(void 0,!0);var _=y[p.index++],b=p.object;if(c(b,_)){switch(p.mode){case"keys":return l(_,!1);case"values":return l(b[_],!1)}return l([_,b[_]],!1)}}})},97486:function(d,g,e){"use strict";var r=e(94237),i=e(32621),l=e(80524),c=e(22999).indexOf,f=e(54406),s=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)&&s(p,y);for(;u.length>x;)i(a,y=u[x++])&&(~c(p,y)||s(p,y));return p}},7733:function(d,g,e){"use strict";var r=e(97486),i=e(46678);d.exports=Object.keys||function(c){return r(c,i)}},27597:function(d,g){"use strict";var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!e.call({1:2},1);g.f=i?function(c){var f=r(this,c);return!!f&&f.enumerable}:e},25837:function(d,g,e){"use strict";var r=e(16697),i=e(92916),l=e(3338),c=e(19684);d.exports=r||!l(function(){if(!(c&&c<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete i[f]}})},58218:function(d,g,e){"use strict";var r=e(37758),i=e(80449),l=e(557);d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,f={},s;try{s=r(Object.prototype,"__proto__","set"),s(f,[]),c=f instanceof Array}catch(h){}return function(u,a){return i(u),l(a),c?s(u,a):u.__proto__=a,u}}():void 0)},88698:function(d,g,e){"use strict";var r=e(35454),i=e(3338),l=e(94237),c=e(53456),f=e(7733),s=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=s(_),S=f(b),R=x&&c(b)===null,L=S.length,T=0,D=[],B;L>T;)B=S[T++],(!r||(R?B in b:u(b,B)))&&a(D,y?[B,b[B]]:b[B]);return D}};d.exports={entries:p(!0),values:p(!1)}},28488:function(d,g,e){"use strict";var r=e(68527),i=e(97607);d.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},44759:function(d,g,e){"use strict";var r=e(89945),i=e(55327),l=e(31946),c=TypeError;d.exports=function(f,s){var h,u;if(s==="string"&&i(h=f.toString)&&!l(u=r(h,f))||i(h=f.valueOf)&&!l(u=r(h,f))||s!=="string"&&i(h=f.toString)&&!l(u=r(h,f)))return u;throw new c("Can't convert object to primitive value")}},48662:function(d,g,e){"use strict";var r=e(65911),i=e(94237),l=e(80689),c=e(92635),f=e(80449),s=i([].concat);d.exports=r("Reflect","ownKeys")||function(u){var a=l.f(f(u)),x=c.f;return x?s(a,x(u)):a}},70913:function(d,g,e){"use strict";var r=e(94237),i=e(32621),l=SyntaxError,c=parseInt,f=String.fromCharCode,s=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 R=s(y,_);if(R==="\\"){var L=h(y,_,_+2);if(i(a,L))S+=a[L],_+=2;else if(L==="\\u"){_+=2;var T=h(y,_,_+4);if(!u(x,T))throw new l("Bad Unicode escape at: "+_);S+=f(c(T,16)),_+=4}else throw new l('Unknown escape sequence: "'+L+'"')}else if(R==='"'){b=!1,_++;break}else{if(u(p,R))throw new l("Bad control character in string literal at: "+_);S+=R,_++}}if(b)throw new l("Unterminated string at: "+_);return{value:S,end:_}}},9699:function(d,g,e){"use strict";var r=e(92916);d.exports=r},80734:function(d){"use strict";d.exports=function(g){try{return{error:!1,value:g()}}catch(e){return{error:!0,value:e}}}},82830:function(d,g,e){"use strict";var r=e(92916),i=e(2451),l=e(55327),c=e(20865),f=e(15212),s=e(59893),h=e(66994),u=e(91821),a=e(16697),x=e(46573),p=i&&i.prototype,y=s("species"),_=!1,b=l(r.PromiseRejectionEvent),S=c("Promise",function(){var R=f(i),L=R!==String(i);if(!L&&x===66||a&&!(p.catch&&p.finally))return!0;if(!x||x<51||!/native code/.test(R)){var T=new i(function($){$(1)}),D=function($){$(function(){},function(){})},B=T.constructor={};if(B[y]=D,_=T.then(function(){})instanceof D,!_)return!0}return!L&&(h||u)&&!b});d.exports={CONSTRUCTOR:S,REJECTION_EVENT:b,SUBCLASSING:_}},2451:function(d,g,e){"use strict";var r=e(92916);d.exports=r.Promise},15597:function(d,g,e){"use strict";var r=e(80449),i=e(31946),l=e(73446);d.exports=function(c,f){if(r(c),i(f)&&f.constructor===c)return f;var s=l.f(c),h=s.resolve;return h(f),s.promise}},22093:function(d,g,e){"use strict";var r=e(2451),i=e(35221),l=e(82830).CONSTRUCTOR;d.exports=l||!i(function(c){r.all(c).then(void 0,function(){})})},44166:function(d,g,e){"use strict";var r=e(37691).f;d.exports=function(i,l,c){c in i||r(i,c,{configurable:!0,get:function(){return l[c]},set:function(f){l[c]=f}})}},66790:function(d){"use strict";var g=function(){this.head=null,this.tail=null};g.prototype={add:function(e){var r={item:e,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var e=this.head;if(e){var r=this.head=e.next;return r===null&&(this.tail=null),e.item}}},d.exports=g},82584:function(d,g,e){"use strict";e(34941),e(55410);var r=e(65911),i=e(94237),l=e(77898),c=r("Map"),f=r("WeakMap"),s=i([].push),h=l("metadata"),u=h.store||(h.store=new f),a=function(S,R,L){var T=u.get(S);if(!T){if(!L)return;u.set(S,T=new c)}var D=T.get(R);if(!D){if(!L)return;T.set(R,D=new c)}return D},x=function(S,R,L){var T=a(R,L,!1);return T===void 0?!1:T.has(S)},p=function(S,R,L){var T=a(R,L,!1);return T===void 0?void 0:T.get(S)},y=function(S,R,L,T){a(L,T,!0).set(S,R)},_=function(S,R){var L=a(S,R,!1),T=[];return L&&L.forEach(function(D,B){s(T,B)}),T},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,g,e){"use strict";var r=e(89945),i=e(80449),l=e(55327),c=e(29076),f=e(88736),s=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 s("RegExp#exec called on incompatible receiver")}},88736:function(d,g,e){"use strict";var r=e(89945),i=e(94237),l=e(69905),c=e(82163),f=e(19286),s=e(77898),h=e(20132),u=e(94844).get,a=e(6041),x=e(51224),p=s("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,b=i("".charAt),S=i("".indexOf),R=i("".replace),L=i("".slice),T=function(){var U=/a/,V=/b*/g;return r(y,U,"a"),r(y,V,"a"),U.lastIndex!==0||V.lastIndex!==0}(),D=f.BROKEN_CARET,B=/()??/.exec("")[1]!==void 0,$=T||B||D||a||x;$&&(_=function(V){var K=this,G=u(K),oe=l(V),ae=G.raw,le,Q,J,Y,ue,ne,ee;if(ae)return ae.lastIndex=K.lastIndex,le=r(_,ae,oe),K.lastIndex=ae.lastIndex,le;var ie=G.groups,F=D&&K.sticky,M=r(c,K),q=K.source,de=0,Ee=oe;if(F&&(M=R(M,"y",""),S(M,"g")===-1&&(M+="g"),Ee=L(oe,K.lastIndex),K.lastIndex>0&&(!K.multiline||K.multiline&&b(oe,K.lastIndex-1)!==`
|
|
|
`)&&(q="(?: "+q+")",Ee=" "+Ee,de++),Q=new RegExp("^(?:"+q+")",M)),B&&(Q=new RegExp("^"+q+"$(?!\\s)",M)),T&&(J=K.lastIndex),Y=r(y,F?Q:K,Ee),F?Y?(Y.input=L(Y.input,de),Y[0]=L(Y[0],de),Y.index=K.lastIndex,K.lastIndex+=Y[0].length):K.lastIndex=0:T&&Y&&(K.lastIndex=K.global?Y.index+Y[0].length:J),B&&Y&&Y.length>1&&r(p,Y[0],Q,function(){for(ue=1;ue<arguments.length-2;ue++)arguments[ue]===void 0&&(Y[ue]=void 0)}),Y&&ie)for(Y.groups=ne=h(null),ue=0;ue<ie.length;ue++)ee=ie[ue],ne[ee[0]]=Y[ee[1]];return Y}),d.exports=_},82163:function(d,g,e){"use strict";var r=e(80449);d.exports=function(){var i=r(this),l="";return i.hasIndices&&(l+="d"),i.global&&(l+="g"),i.ignoreCase&&(l+="i"),i.multiline&&(l+="m"),i.dotAll&&(l+="s"),i.unicode&&(l+="u"),i.unicodeSets&&(l+="v"),i.sticky&&(l+="y"),l}},81644:function(d,g,e){"use strict";var r=e(89945),i=e(32621),l=e(16332),c=e(82163),f=RegExp.prototype;d.exports=function(s){var h=s.flags;return h===void 0&&!("flags"in f)&&!i(s,"flags")&&l(f,s)?r(c,s):h}},19286:function(d,g,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp,c=r(function(){var h=l("a","y");return h.lastIndex=2,h.exec("abcd")!==null}),f=c||r(function(){return!l("a","y").sticky}),s=c||r(function(){var h=l("^r","gy");return h.lastIndex=2,h.exec("str")!==null});d.exports={BROKEN_CARET:s,MISSED_STICKY:f,UNSUPPORTED_Y:c}},6041:function(d,g,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp;d.exports=r(function(){var c=l(".","s");return!(c.dotAll&&c.test(`
|
|
|
`)&&c.flags==="s")})},51224:function(d,g,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp;d.exports=r(function(){var c=l("(?<a>b)","g");return c.exec("b").groups.a!=="b"||"b".replace(c,"$<a>c")!=="bc"})},95955:function(d,g,e){"use strict";var r=e(4112),i=TypeError;d.exports=function(l){if(r(l))throw new i("Can't call method on "+l);return l}},88134:function(d){"use strict";d.exports=function(g,e){return g===e||g!==g&&e!==e}},5370:function(d){"use strict";d.exports=Object.is||function(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}},93222:function(d,g,e){"use strict";var r=e(92916),i=e(13743),l=e(55327),c=e(90843),f=e(66011),s=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,R=l(_)?_:u(_),L=S?s(arguments,y):[],T=S?function(){i(R,this,L)}:R;return p?x(T,b):x(T)}:x}},61838:function(d,g,e){"use strict";var r=e(19691),i=e(57002),l=r.Set,c=r.add;d.exports=function(f){var s=new l;return i(f,function(h){c(s,h)}),s}},10038:function(d,g,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(108),f=e(88203),s=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?s(y,function(S){_.includes(S)&&a(b,S)}):h(_.getIterator(),function(S){u(y,S)&&a(b,S)}),b}},19691:function(d,g,e){"use strict";var r=e(94237),i=Set.prototype;d.exports={Set,add:r(i.add),has:r(i.has),remove:r(i.delete),proto:i}},16049:function(d,g,e){"use strict";var r=e(17442),i=e(19691),l=e(108),c=e(88203),f=e(57002),s=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?s(_.getIterator(),function(S){a(y,S)&&u(b,S)}):f(y,function(S){_.includes(S)&&u(b,S)}),b}},17616:function(d,g,e){"use strict";var r=e(17442),i=e(19691).has,l=e(108),c=e(88203),f=e(57002),s=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 s(y,function(_){if(i(x,_))return h(y,"normal",!1)})!==!1}},84833:function(d,g,e){"use strict";var r=e(17442),i=e(108),l=e(57002),c=e(88203);d.exports=function(s){var h=r(this),u=c(s);return i(h)>u.size?!1:l(h,function(a){if(!u.includes(a))return!1},!0)!==!1}},51135:function(d,g,e){"use strict";var r=e(17442),i=e(19691).has,l=e(108),c=e(88203),f=e(43545),s=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 s(p,"normal",!1)})!==!1}},57002:function(d,g,e){"use strict";var r=e(94237),i=e(43545),l=e(19691),c=l.Set,f=l.proto,s=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):s(a,x)}},22627:function(d,g,e){"use strict";var r=e(65911),i=function(l){return{size:l,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};d.exports=function(l){var c=r("Set");try{new c()[l](i(0));try{return new c()[l](i(-1)),!1}catch(f){return!0}}catch(f){return!1}}},108:function(d,g,e){"use strict";var r=e(37758),i=e(19691);d.exports=r(i.proto,"size","get")||function(l){return l.size}},51996:function(d,g,e){"use strict";var r=e(65911),i=e(64110),l=e(59893),c=e(35454),f=l("species");d.exports=function(s){var h=r(s);c&&h&&!h[f]&&i(h,f,{configurable:!0,get:function(){return this}})}},36312:function(d,g,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(88203),f=e(43545),s=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):s(_,b)}),_}},94573:function(d,g,e){"use strict";var r=e(37691).f,i=e(32621),l=e(59893),c=l("toStringTag");d.exports=function(f,s,h){f&&!h&&(f=f.prototype),f&&!i(f,c)&&r(f,c,{configurable:!0,value:s})}},24667:function(d,g,e){"use strict";var r=e(17442),i=e(19691).add,l=e(61838),c=e(88203),f=e(43545);d.exports=function(h){var u=r(this),a=c(h).getIterator(),x=l(u);return f(a,function(p){i(x,p)}),x}},11898:function(d,g,e){"use strict";var r=e(77898),i=e(6145),l=r("keys");d.exports=function(c){return l[c]||(l[c]=i(c))}},77398:function(d,g,e){"use strict";var r=e(92916),i=e(29539),l="__core-js_shared__",c=r[l]||i(l,{});d.exports=c},77898:function(d,g,e){"use strict";var r=e(16697),i=e(77398);(d.exports=function(l,c){return i[l]||(i[l]=c!==void 0?c:{})})("versions",[]).push({version:"3.34.0",mode:r?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},60473:function(d,g,e){"use strict";var r=e(80449),i=e(6086),l=e(4112),c=e(59893),f=c("species");d.exports=function(s,h){var u=r(s).constructor,a;return u===void 0||l(a=r(u)[f])?h:i(a)}},67410:function(d,g,e){"use strict";var r=e(94237),i=e(80524),l=e(69905),c=e(82762),f=TypeError,s=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(s(_,l(S)),b===p)return h(_,"");b<y&&s(_,l(arguments[b]))}}},17691:function(d,g,e){"use strict";var r=e(3338);d.exports=function(i){return r(function(){var l=""[i]('"');return l!==l.toLowerCase()||l.split('"').length>3})}},13764:function(d,g,e){"use strict";var r=e(94237),i=e(56902),l=e(69905),c=e(95955),f=r("".charAt),s=r("".charCodeAt),h=r("".slice),u=function(a){return function(x,p){var y=l(c(x)),_=i(p),b=y.length,S,R;return _<0||_>=b?a?"":void 0:(S=s(y,_),S<55296||S>56319||_+1===b||(R=s(y,_+1))<56320||R>57343?a?f(y,_):S:a?h(y,_,_+2):(S-55296<<10)+(R-56320)+65536)}};d.exports={codeAt:u(!1),charAt:u(!0)}},98352:function(d,g,e){"use strict";var r=e(66011);d.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},85571:function(d,g,e){"use strict";var r=e(94237),i=e(61578),l=e(69905),c=e(71049),f=e(95955),s=r(c),h=r("".slice),u=Math.ceil,a=function(x){return function(p,y,_){var b=l(f(p)),S=i(y),R=b.length,L=_===void 0?" ":l(_),T,D;return S<=R||L===""?b:(T=S-R,D=s(L,u(T/L.length)),D.length>T&&(D=h(D,0,T)),x?b+D:D+b)}};d.exports={start:a(!1),end:a(!0)}},79204:function(d,g,e){"use strict";var r=e(65911),i=e(94237),l=String.fromCharCode,c=r("String","fromCodePoint"),f=i("".charAt),s=i("".charCodeAt),h=i("".indexOf),u=i("".slice),a=48,x=57,p=97,y=102,_=65,b=70,S=function(T,D){var B=s(T,D);return B>=a&&B<=x},R=function(T,D,B){if(B>=T.length)return-1;for(var $=0;D<B;D++){var U=L(s(T,D));if(U===-1)return-1;$=$*16+U}return $},L=function(T){return T>=a&&T<=x?T-a:T>=p&&T<=y?T-p+10:T>=_&&T<=b?T-_+10:-1};d.exports=function(T){for(var D="",B=0,$=0,U;($=h(T,"\\",$))>-1;){if(D+=u(T,B,$),++$===T.length)return;var V=f(T,$++);switch(V){case"b":D+="\b";break;case"t":D+=" ";break;case"n":D+=`
|
|
|
`;break;case"v":D+="\v";break;case"f":D+="\f";break;case"r":D+="\r";break;case"\r":$<T.length&&f(T,$)===`
|
|
|
`&&++$;case`
|
|
|
`:case"\u2028":case"\u2029":break;case"0":if(S(T,$))return;D+="\0";break;case"x":if(U=R(T,$,$+2),U===-1)return;$+=2,D+=l(U);break;case"u":if($<T.length&&f(T,$)==="{"){var K=h(T,"}",++$);if(K===-1)return;U=R(T,$,K),$=K+1}else U=R(T,$,$+4),$+=4;if(U===-1||U>1114111)return;D+=c(U);break;default:if(S(V,0))return;D+=V}B=$}return D+u(T,B)}},93245:function(d,g,e){"use strict";var r=e(94237),i=2147483647,l=36,c=1,f=26,s=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,R=r(y.exec),L=Math.floor,T=String.fromCharCode,D=r("".charCodeAt),B=r([].join),$=r([].push),U=r("".replace),V=r("".split),K=r("".toLowerCase),G=function(Q){for(var J=[],Y=0,ue=Q.length;Y<ue;){var ne=D(Q,Y++);if(ne>=55296&&ne<=56319&&Y<ue){var ee=D(Q,Y++);(ee&64512)===56320?$(J,((ne&1023)<<10)+(ee&1023)+65536):($(J,ne),Y--)}else $(J,ne)}return J},oe=function(Q){return Q+22+75*(Q<26)},ae=function(Q,J,Y){var ue=0;for(Q=Y?L(Q/h):Q>>1,Q+=L(Q/J);Q>b*f>>1;)Q=L(Q/b),ue+=l;return L(ue+(b+1)*Q/(Q+s))},le=function(Q){var J=[];Q=G(Q);var Y=Q.length,ue=a,ne=0,ee=u,ie,F;for(ie=0;ie<Q.length;ie++)F=Q[ie],F<128&&$(J,T(F));var M=J.length,q=M;for(M&&$(J,x);q<Y;){var de=i;for(ie=0;ie<Q.length;ie++)F=Q[ie],F>=ue&&F<de&&(de=F);var Ee=q+1;if(de-ue>L((i-ne)/Ee))throw new S(_);for(ne+=(de-ue)*Ee,ue=de,ie=0;ie<Q.length;ie++){if(F=Q[ie],F<ue&&++ne>i)throw new S(_);if(F===ue){for(var Ce=ne,je=l;;){var Fe=je<=ee?c:je>=ee+f?f:je-ee;if(Ce<Fe)break;var Ft=Ce-Fe,_t=l-Fe;$(J,T(oe(Fe+Ft%_t))),Ce=L(Ft/_t),je+=l}$(J,T(oe(Ce))),ee=ae(ne,Ee,q===M),ne=0,q++}}ne++,ue++}return B(J,"")};d.exports=function(Q){var J=[],Y=V(U(K(Q),y,"."),"."),ue,ne;for(ue=0;ue<Y.length;ue++)ne=Y[ue],$(J,R(p,ne)?"xn--"+le(ne):ne);return B(J,".")}},71049:function(d,g,e){"use strict";var r=e(56902),i=e(69905),l=e(95955),c=RangeError;d.exports=function(s){var h=i(l(this)),u="",a=r(s);if(a<0||a===1/0)throw new c("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(h+=h))a&1&&(u+=h);return u}},9591:function(d,g,e){"use strict";var r=e(52971).end,i=e(18105);d.exports=i("trimEnd")?function(){return r(this)}:"".trimEnd},18105:function(d,g,e){"use strict";var r=e(8090).PROPER,i=e(3338),l=e(19268),c="\u200B\x85\u180E";d.exports=function(f){return i(function(){return!!l[f]()||c[f]()!==c||r&&l[f].name!==f})}},27374:function(d,g,e){"use strict";var r=e(52971).start,i=e(18105);d.exports=i("trimStart")?function(){return r(this)}:"".trimStart},52971:function(d,g,e){"use strict";var r=e(94237),i=e(95955),l=e(69905),c=e(19268),f=r("".replace),s=RegExp("^["+c+"]+"),h=RegExp("(^|[^"+c+"])["+c+"]+$"),u=function(a){return function(x){var p=l(i(x));return a&1&&(p=f(p,s,"")),a&2&&(p=f(p,h,"$1")),p}};d.exports={start:u(1),end:u(2),trim:u(3)}},80426:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(46573),c=e(66994),f=e(91821),s=e(90946),h=r.structuredClone;d.exports=!!h&&!i(function(){if(f&&l>92||s&&l>94||c&&l>97)return!1;var u=new ArrayBuffer(8),a=h(u,{transfer:[u]});return u.byteLength!==0||a.byteLength!==8})},42820:function(d,g,e){"use strict";var r=e(46573),i=e(3338),l=e(92916),c=l.String;d.exports=!!Object.getOwnPropertySymbols&&!i(function(){var f=Symbol("symbol detection");return!c(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&r&&r<41})},14311:function(d,g,e){"use strict";var r=e(89945),i=e(65911),l=e(59893),c=e(2291);d.exports=function(){var f=i("Symbol"),s=f&&f.prototype,h=s&&s.valueOf,u=l("toPrimitive");s&&!s[u]&&c(s,u,function(a){return r(h,this)},{arity:1})}},69077:function(d,g,e){"use strict";var r=e(65911),i=e(94237),l=r("Symbol"),c=l.keyFor,f=i(l.prototype.valueOf);d.exports=l.isRegisteredSymbol||function(h){try{return c(f(h))!==void 0}catch(u){return!1}}},40443:function(d,g,e){"use strict";for(var r=e(77898),i=e(65911),l=e(94237),c=e(18446),f=e(59893),s=i("Symbol"),h=s.isWellKnownSymbol,u=i("Object","getOwnPropertyNames"),a=l(s.prototype.valueOf),x=r("wks"),p=0,y=u(s),_=y.length;p<_;p++)try{var b=y[p];c(s[b])&&f(b)}catch(S){}d.exports=function(R){if(h&&h(R))return!0;try{for(var L=a(R),T=0,D=u(x),B=D.length;T<B;T++)if(x[D[T]]==L)return!0}catch($){}return!1}},60798:function(d,g,e){"use strict";var r=e(42820);d.exports=r&&!!Symbol.for&&!!Symbol.keyFor},28887:function(d,g,e){"use strict";var r=e(92916),i=e(13743),l=e(80666),c=e(55327),f=e(32621),s=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,R=r.Dispatch,L=r.Function,T=r.MessageChannel,D=r.String,B=0,$={},U="onreadystatechange",V,K,G,oe;s(function(){V=r.location});var ae=function(Y){if(f($,Y)){var ue=$[Y];delete $[Y],ue()}},le=function(Y){return function(){ae(Y)}},Q=function(Y){ae(Y.data)},J=function(Y){r.postMessage(D(Y),V.protocol+"//"+V.host)};(!_||!b)&&(_=function(ue){x(arguments.length,1);var ne=c(ue)?ue:L(ue),ee=u(arguments,1);return $[++B]=function(){i(ne,void 0,ee)},K(B),B},b=function(ue){delete $[ue]},y?K=function(Y){S.nextTick(le(Y))}:R&&R.now?K=function(Y){R.now(le(Y))}:T&&!p?(G=new T,oe=G.port2,G.port1.onmessage=Q,K=l(oe.postMessage,oe)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&V&&V.protocol!=="file:"&&!s(J)?(K=J,r.addEventListener("message",Q,!1)):U in a("script")?K=function(Y){h.appendChild(a("script"))[U]=function(){h.removeChild(this),ae(Y)}}:K=function(Y){setTimeout(le(Y),0)}),d.exports={set:_,clear:b}},49228:function(d,g,e){"use strict";var r=e(94237);d.exports=r(1 .valueOf)},51981:function(d,g,e){"use strict";var r=e(56902),i=Math.max,l=Math.min;d.exports=function(c,f){var s=r(c);return s<0?i(s+f,0):l(s,f)}},93303:function(d,g,e){"use strict";var r=e(97954),i=TypeError;d.exports=function(l){var c=r(l,"number");if(typeof c=="number")throw new i("Can't convert number to bigint");return BigInt(c)}},24225:function(d,g,e){"use strict";var r=e(56902),i=e(61578),l=RangeError;d.exports=function(c){if(c===void 0)return 0;var f=r(c),s=i(f);if(f!==s)throw new l("Wrong length or index");return s}},80524:function(d,g,e){"use strict";var r=e(1835),i=e(95955);d.exports=function(l){return r(i(l))}},56902:function(d,g,e){"use strict";var r=e(3312);d.exports=function(i){var l=+i;return l!==l||l===0?0:r(l)}},61578:function(d,g,e){"use strict";var r=e(56902),i=Math.min;d.exports=function(l){return l>0?i(r(l),9007199254740991):0}},94029:function(d,g,e){"use strict";var r=e(95955),i=Object;d.exports=function(l){return i(r(l))}},64135:function(d,g,e){"use strict";var r=e(51358),i=RangeError;d.exports=function(l,c){var f=r(l);if(f%c)throw new i("Wrong offset");return f}},51358:function(d,g,e){"use strict";var r=e(56902),i=RangeError;d.exports=function(l){var c=r(l);if(c<0)throw new i("The argument can't be less than 0");return c}},97954:function(d,g,e){"use strict";var r=e(89945),i=e(31946),l=e(18446),c=e(53776),f=e(44759),s=e(59893),h=TypeError,u=s("toPrimitive");d.exports=function(a,x){if(!i(a)||l(a))return a;var p=c(a,u),y;if(p){if(x===void 0&&(x="default"),y=r(p,a,x),!i(y)||l(y))return y;throw new h("Can't convert object to primitive value")}return x===void 0&&(x="number"),f(a,x)}},17818:function(d,g,e){"use strict";var r=e(97954),i=e(18446);d.exports=function(l){var c=r(l,"string");return i(c)?c:c+""}},77999:function(d,g,e){"use strict";var r=e(65911),i=e(55327),l=e(30360),c=e(31946),f=r("Set"),s=function(h){return c(h)&&typeof h.size=="number"&&i(h.has)&&i(h.keys)};d.exports=function(h){return s(h)?h:l(h)?new f(h):h}},68527:function(d,g,e){"use strict";var r=e(59893),i=r("toStringTag"),l={};l[i]="z",d.exports=String(l)==="[object z]"},69905:function(d,g,e){"use strict";var r=e(97607),i=String;d.exports=function(l){if(r(l)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return i(l)}},86350:function(d){"use strict";var g=Math.round;d.exports=function(e){var r=g(e);return r<0?0:r>255?255:r&255}},11270:function(d,g,e){"use strict";var r=e(90946);d.exports=function(i){try{if(r)return Function('return require("'+i+'")')()}catch(l){}}},40593:function(d){"use strict";var g=String;d.exports=function(e){try{return g(e)}catch(r){return"Object"}}},69733:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(89945),c=e(35454),f=e(59627),s=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),R=e(17818),L=e(32621),T=e(97607),D=e(31946),B=e(18446),$=e(20132),U=e(16332),V=e(58218),K=e(80689).f,G=e(50706),oe=e(90560).forEach,ae=e(51996),le=e(64110),Q=e(37691),J=e(71256),Y=e(94844),ue=e(25576),ne=Y.get,ee=Y.set,ie=Y.enforce,F=Q.f,M=J.f,q=i.RangeError,de=h.ArrayBuffer,Ee=de.prototype,Ce=h.DataView,je=s.NATIVE_ARRAY_BUFFER_VIEWS,Fe=s.TYPED_ARRAY_TAG,Ft=s.TypedArray,_t=s.TypedArrayPrototype,Pt=s.aTypedArrayConstructor,Qt=s.isTypedArray,er="BYTES_PER_ELEMENT",Jt="Wrong length",Xe=function(Je,Ue){Pt(Je);for(var ge=0,Ae=Ue.length,Me=new Je(Ae);Ae>ge;)Me[ge]=Ue[ge++];return Me},It=function(Je,Ue){le(Je,Ue,{configurable:!0,get:function(){return ne(this)[Ue]}})},zt=function(Je){var Ue;return U(Ee,Je)||(Ue=T(Je))==="ArrayBuffer"||Ue==="SharedArrayBuffer"},st=function(Je,Ue){return Qt(Je)&&!B(Ue)&&Ue in Je&&p(+Ue)&&Ue>=0},bt=function(Ue,ge){return ge=R(ge),st(Ue,ge)?a(2,Ue[ge]):M(Ue,ge)},ht=function(Ue,ge,Ae){return ge=R(ge),st(Ue,ge)&&D(Ae)&&L(Ae,"value")&&!L(Ae,"get")&&!L(Ae,"set")&&!Ae.configurable&&(!L(Ae,"writable")||Ae.writable)&&(!L(Ae,"enumerable")||Ae.enumerable)?(Ue[ge]=Ae.value,Ue):F(Ue,ge,Ae)};c?(je||(J.f=bt,Q.f=ht,It(_t,"buffer"),It(_t,"byteOffset"),It(_t,"byteLength"),It(_t,"length")),r({target:"Object",stat:!0,forced:!je},{getOwnPropertyDescriptor:bt,defineProperty:ht}),d.exports=function(Je,Ue,ge){var Ae=Je.match(/\d+/)[0]/8,Me=Je+(ge?"Clamped":"")+"Array",$e="get"+Je,He="set"+Je,nt=i[Me],ct=nt,Kt=ct&&ct.prototype,Wt={},De=function(Ht,$t){var Ct=ne(Ht);return Ct.view[$e]($t*Ae+Ct.byteOffset,!0)},Qe=function(Ht,$t,Ct){var Yt=ne(Ht);Yt.view[He]($t*Ae+Yt.byteOffset,ge?S(Ct):Ct,!0)},Vt=function(Ht,$t){F(Ht,$t,{get:function(){return De(this,$t)},set:function(Ct){return Qe(this,$t,Ct)},enumerable:!0})};je?f&&(ct=Ue(function(Ht,$t,Ct,Yt){return u(Ht,Kt),ue(function(){return D($t)?zt($t)?Yt!==void 0?new nt($t,b(Ct,Ae),Yt):Ct!==void 0?new nt($t,b(Ct,Ae)):new nt($t):Qt($t)?Xe(ct,$t):l(G,ct,$t):new nt(_($t))}(),Ht,ct)}),V&&V(ct,Ft),oe(K(nt),function(Ht){Ht in ct||x(ct,Ht,nt[Ht])}),ct.prototype=Kt):(ct=Ue(function(Ht,$t,Ct,Yt){u(Ht,Kt);var Ge=0,fe=0,_e,Ot,Pe;if(!D($t))Pe=_($t),Ot=Pe*Ae,_e=new de(Ot);else if(zt($t)){_e=$t,fe=b(Ct,Ae);var dt=$t.byteLength;if(Yt===void 0){if(dt%Ae)throw new q(Jt);if(Ot=dt-fe,Ot<0)throw new q(Jt)}else if(Ot=y(Yt)*Ae,Ot+fe>dt)throw new q(Jt);Pe=Ot/Ae}else return Qt($t)?Xe(ct,$t):l(G,ct,$t);for(ee(Ht,{buffer:_e,byteOffset:fe,byteLength:Ot,length:Pe,view:new Ce(_e)});Ge<Pe;)Vt(Ht,Ge++)}),V&&V(ct,Ft),Kt=ct.prototype=$(_t)),Kt.constructor!==ct&&x(Kt,"constructor",ct),ie(Kt).TypedArrayConstructor=ct,Fe&&x(Kt,Fe,Me);var kt=ct!==nt;Wt[Me]=ct,r({global:!0,constructor:!0,forced:kt,sham:!je},Wt),er in ct||x(ct,er,Ae),er in Kt||x(Kt,er,Ae),ae(Me)}):d.exports=function(){}},59627:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(35221),c=e(58261).NATIVE_ARRAY_BUFFER_VIEWS,f=r.ArrayBuffer,s=r.Int8Array;d.exports=!c||!i(function(){s(1)})||!i(function(){new s(-1)})||!l(function(h){new s,new s(null),new s(1.5),new s(h)},!0)||i(function(){return new s(new f(2),1,void 0).length!==1})},27607:function(d,g,e){"use strict";var r=e(69478),i=e(31384);d.exports=function(l,c){return r(i(l),c)}},50706:function(d,g,e){"use strict";var r=e(80666),i=e(89945),l=e(6086),c=e(94029),f=e(82762),s=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(_),R=arguments.length,L=R>1?arguments[1]:void 0,T=L!==void 0,D=h(S),B,$,U,V,K,G,oe,ae;if(D&&!u(D))for(oe=s(S,D),ae=oe.next,S=[];!(G=i(ae,oe)).done;)S.push(G.value);for(T&&R>2&&(L=r(L,arguments[2])),$=f(S),U=new(x(b))($),V=a(U),B=0;$>B;B++)K=T?L(S[B],B):S[B],U[B]=V?p(K):+K;return U}},31384:function(d,g,e){"use strict";var r=e(58261),i=e(60473),l=r.aTypedArrayConstructor,c=r.getTypedArrayConstructor;d.exports=function(f){return l(i(f,c(f)))}},6145:function(d,g,e){"use strict";var r=e(94237),i=0,l=Math.random(),c=r(1 .toString);d.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+c(++i+l,36)}},3299:function(d,g,e){"use strict";var r=e(3338),i=e(59893),l=e(35454),c=e(16697),f=i("iterator");d.exports=!r(function(){var s=new URL("b?a=1&b=2&c=3","http://a"),h=s.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),a="";return s.pathname="c%20d",h.forEach(function(x,p){h.delete("b"),a+=p+x}),u.delete("a",2),u.delete("b",void 0),c&&(!s.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!h.size&&(c||!l)||!h.sort||s.href!=="http://a/c%20d?a=1&c=3"||h.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!h[f]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||a!=="a1c3"||new URL("http://x",void 0).host!=="x"})},14417:function(d,g,e){"use strict";var r=e(42820);d.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},93199:function(d,g,e){"use strict";var r=e(35454),i=e(3338);d.exports=r&&i(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},57106:function(d){"use strict";var g=TypeError;d.exports=function(e,r){if(e<r)throw new g("Not enough arguments");return e}},40115:function(d,g,e){"use strict";var r=e(92916),i=e(55327),l=r.WeakMap;d.exports=i(l)&&/native code/.test(String(l))},42530:function(d,g,e){"use strict";var r=e(94237),i=WeakMap.prototype;d.exports={WeakMap,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete)}},91385:function(d,g,e){"use strict";var r=e(94237),i=WeakSet.prototype;d.exports={WeakSet,add:r(i.add),has:r(i.has),remove:r(i.delete)}},94674:function(d,g,e){"use strict";var r=e(9699),i=e(32621),l=e(38282),c=e(37691).f;d.exports=function(f){var s=r.Symbol||(r.Symbol={});i(s,f)||c(s,f,{value:l.f(f)})}},38282:function(d,g,e){"use strict";var r=e(59893);g.f=r},59893:function(d,g,e){"use strict";var r=e(92916),i=e(77898),l=e(32621),c=e(6145),f=e(42820),s=e(14417),h=r.Symbol,u=i("wks"),a=s?h.for||h:h&&h.withoutSetter||c;d.exports=function(x){return l(u,x)||(u[x]=f&&l(h,x)?h[x]:a("Symbol."+x)),u[x]}},19268:function(d){"use strict";d.exports=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},78540:function(d,g,e){"use strict";var r=e(65911),i=e(32621),l=e(68151),c=e(16332),f=e(58218),s=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,R,L){var T="stackTraceLimit",D=L?2:1,B=b.split("."),$=B[B.length-1],U=r.apply(null,B);if(U){var V=U.prototype;if(!_&&i(V,"cause")&&delete V.cause,!R)return U;var K=r("Error"),G=S(function(oe,ae){var le=a(L?ae:oe,void 0),Q=L?new U(oe):new U;return le!==void 0&&l(Q,"message",le),p(Q,G,Q.stack,2),this&&c(V,this)&&u(Q,this,G),arguments.length>D&&x(Q,arguments[D]),Q});if(G.prototype=V,$!=="Error"?f?f(G,K):s(G,K,{name:!0}):y&&T in U&&(h(G,U,T),h(G,U,"prepareStackTrace")),s(G,U),!_)try{V.name!==$&&l(V,"name",$),V.constructor=G}catch(oe){}return G}}},93074:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(3338),f=e(78540),s="AggregateError",h=i(s),u=!c(function(){return h([1]).errors[0]!==1})&&c(function(){return h([1],s,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:f(s,function(a){return function(p,y){return l(a,this,arguments)}},u,!0)})},6555:function(d,g,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),s=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,R=[].push,L=function(B,$){var U=i(T,this),V;c?V=c(new S,U?l(this):T):(V=U?this:s(T),h(V,b,"Error")),$!==void 0&&h(V,"message",y($)),x(V,L,V.stack,1),arguments.length>2&&a(V,arguments[2]);var K=[];return p(B,R,{that:K}),h(V,"errors",K),V};c?c(L,S):f(L,S,{name:!0});var T=L.prototype=s(S.prototype,{constructor:u(1,L),message:u(1,""),name:u(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:L})},86357:function(d,g,e){"use strict";e(6555)},89170:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(91669),c=e(51996),f="ArrayBuffer",s=l[f],h=i[f];r({global:!0,constructor:!0,forced:h!==s},{ArrayBuffer:s}),c(f)},71012:function(d,g,e){"use strict";var r=e(94488),i=e(58261),l=i.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!l},{isView:i.isView})},84203:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(3338),c=e(91669),f=e(80449),s=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(L,T){if(y&&T===void 0)return y(f(this),L);for(var D=f(this).byteLength,B=s(L,D),$=s(T===void 0?D:T,D),U=new(u(this,a))(h($-B)),V=new x(this),K=new x(U),G=0;B<$;)b(K,G++,_(V,B++));return U}})},96331:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(56902),f=e(81181);r({target:"Array",proto:!0},{at:function(h){var u=i(this),a=l(u),x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]}}),f("at")},2924:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(18589),c=e(31946),f=e(94029),s=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 L=[];return L[_]=!1,L.concat()[0]!==L}),S=function(L){if(!c(L))return!1;var T=L[_];return T!==void 0?!!T:l(L)},R=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:R},{concat:function(T){var D=f(this),B=a(D,0),$=0,U,V,K,G,oe;for(U=-1,K=arguments.length;U<K;U++)if(oe=U===-1?D:arguments[U],S(oe))for(G=s(oe),h($+G),V=0;V<G;V++,$++)V in oe&&u(B,$,oe[V]);else h($+1),u(B,$++,oe);return B.length=$,B}})},26425:function(d,g,e){"use strict";var r=e(94488),i=e(92670),l=e(81181);r({target:"Array",proto:!0},{copyWithin:i}),l("copyWithin")},32125:function(d,g,e){"use strict";var r=e(94488),i=e(90560).every,l=e(45601),c=l("every");r({target:"Array",proto:!0,forced:!c},{every:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},16137:function(d,g,e){"use strict";var r=e(94488),i=e(75202),l=e(81181);r({target:"Array",proto:!0},{fill:i}),l("fill")},48435:function(d,g,e){"use strict";var r=e(94488),i=e(90560).filter,l=e(17480),c=l("filter");r({target:"Array",proto:!0,forced:!c},{filter:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},70365:function(d,g,e){"use strict";var r=e(94488),i=e(90560).findIndex,l=e(81181),c="findIndex",f=!0;c in[]&&Array(1)[c](function(){f=!1}),r({target:"Array",proto:!0,forced:f},{findIndex:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),l(c)},17482:function(d,g,e){"use strict";var r=e(94488),i=e(53279).findLastIndex,l=e(81181);r({target:"Array",proto:!0},{findLastIndex:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("findLastIndex")},33717:function(d,g,e){"use strict";var r=e(94488),i=e(53279).findLast,l=e(81181);r({target:"Array",proto:!0},{findLast:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("findLast")},11553:function(d,g,e){"use strict";var r=e(94488),i=e(90560).find,l=e(81181),c="find",f=!0;c in[]&&Array(1)[c](function(){f=!1}),r({target:"Array",proto:!0,forced:f},{find:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),l(c)},65033:function(d,g,e){"use strict";var r=e(94488),i=e(3372),l=e(63335),c=e(94029),f=e(82762),s=e(81427);r({target:"Array",proto:!0},{flatMap:function(u){var a=c(this),x=f(a),p;return l(u),p=s(a,0),p.length=i(p,a,a,x,0,1,u,arguments.length>1?arguments[1]:void 0),p}})},23708:function(d,g,e){"use strict";var r=e(94488),i=e(3372),l=e(94029),c=e(82762),f=e(56902),s=e(81427);r({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,a=l(this),x=c(a),p=s(a,0);return p.length=i(p,a,a,x,0,u===void 0?1:f(u)),p}})},52732:function(d,g,e){"use strict";var r=e(94488),i=e(59594);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},99382:function(d,g,e){"use strict";var r=e(94488),i=e(60255),l=e(35221),c=!l(function(f){Array.from(f)});r({target:"Array",stat:!0,forced:c},{from:i})},88437:function(d,g,e){"use strict";var r=e(94488),i=e(22999).includes,l=e(3338),c=e(81181),f=l(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:f},{includes:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},68440:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(22999).indexOf,c=e(45601),f=i([].indexOf),s=!!f&&1/f([1],1,-0)<0,h=s||!c("indexOf");r({target:"Array",proto:!0,forced:h},{indexOf:function(a){var x=arguments.length>1?arguments[1]:void 0;return s?f(this,a,x)||0:l(this,a,x)}})},13412:function(d,g,e){"use strict";var r=e(94488),i=e(18589);r({target:"Array",stat:!0},{isArray:i})},11005:function(d,g,e){"use strict";var r=e(80524),i=e(81181),l=e(48074),c=e(94844),f=e(37691).f,s=e(24019),h=e(25587),u=e(16697),a=e(35454),x="Array Iterator",p=c.set,y=c.getterFor(x);d.exports=s(Array,"Array",function(b,S){p(this,{type:x,target:r(b),index:0,kind:S})},function(){var b=y(this),S=b.target,R=b.index++;if(!S||R>=S.length)return b.target=void 0,h(void 0,!0);switch(b.kind){case"keys":return h(R,!1);case"values":return h(S[R],!1)}return h([R,S[R]],!1)},"values");var _=l.Arguments=l.Array;if(i("keys"),i("values"),i("entries"),!u&&a&&_.name!=="values")try{f(_,"name",{value:"values"})}catch(b){}},70348:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(1835),c=e(80524),f=e(45601),s=i([].join),h=l!==Object,u=h||!f("join",",");r({target:"Array",proto:!0,forced:u},{join:function(x){return s(c(this),x===void 0?",":x)}})},19801:function(d,g,e){"use strict";var r=e(94488),i=e(55009);r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},91550:function(d,g,e){"use strict";var r=e(94488),i=e(90560).map,l=e(17480),c=l("map");r({target:"Array",proto:!0,forced:!c},{map:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},85223:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(39812),c=e(69392),f=Array,s=i(function(){function h(){}return!(f.of.call(h)instanceof h)});r({target:"Array",stat:!0,forced:s},{of:function(){for(var u=0,a=arguments.length,x=new(l(this)?this:f)(a);a>u;)c(x,u,arguments[u++]);return x.length=a,x}})},7154:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(66434),s=e(3338),h=s(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,g,e){"use strict";var r=e(94488),i=e(16370).right,l=e(45601),c=e(46573),f=e(90946),s=!f&&c>79&&c<83,h=s||!l("reduceRight");r({target:"Array",proto:!0,forced:h},{reduceRight:function(a){return i(this,a,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(d,g,e){"use strict";var r=e(94488),i=e(16370).left,l=e(45601),c=e(46573),f=e(90946),s=!f&&c>79&&c<83,h=s||!l("reduce");r({target:"Array",proto:!0,forced:h},{reduce:function(a){var x=arguments.length;return i(this,a,x,x>1?arguments[1]:void 0)}})},9402:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(18589),c=i([].reverse),f=[1,2];r({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){return l(this)&&(this.length=this.length),c(this)}})},62489:function(d,g,e){"use strict";var r=e(94488),i=e(18589),l=e(39812),c=e(31946),f=e(51981),s=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(L,T){var D=h(this),B=s(D),$=f(L,B),U=f(T===void 0?B:T,B),V,K,G;if(i(D)&&(V=D.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(D,$,U);for(K=new(V===void 0?b:V)(S(U-$,0)),G=0;$<U;$++,G++)$ in D&&u(K,G,D[$]);return K.length=G,K}})},80881:function(d,g,e){"use strict";var r=e(94488),i=e(90560).some,l=e(45601),c=l("some");r({target:"Array",proto:!0,forced:!c},{some:function(s){return i(this,s,arguments.length>1?arguments[1]:void 0)}})},62837:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(94029),f=e(82762),s=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=[],R=i(S.sort),L=i(S.push),T=u(function(){S.sort(void 0)}),D=u(function(){S.sort(null)}),B=x("sort"),$=!u(function(){if(_)return _<70;if(!(p&&p>3)){if(y)return!0;if(b)return b<603;var K="",G,oe,ae,le;for(G=65;G<76;G++){switch(oe=String.fromCharCode(G),G){case 66:case 69:case 70:case 72:ae=3;break;case 68:case 71:ae=4;break;default:ae=2}for(le=0;le<47;le++)S.push({k:oe+le,v:ae})}for(S.sort(function(Q,J){return J.v-Q.v}),le=0;le<S.length;le++)oe=S[le].k.charAt(0),K.charAt(K.length-1)!==oe&&(K+=oe);return K!=="DGBEFHACIJK"}}),U=T||!D||!B||!$,V=function(K){return function(G,oe){return oe===void 0?-1:G===void 0?1:K!==void 0?+K(G,oe)||0:h(G)>h(oe)?1:-1}};r({target:"Array",proto:!0,forced:U},{sort:function(G){G!==void 0&&l(G);var oe=c(this);if($)return G===void 0?R(oe):R(oe,G);var ae=[],le=f(oe),Q,J;for(J=0;J<le;J++)J in oe&&L(ae,oe[J]);for(a(ae,V(G)),Q=f(ae),J=0;J<Q;)oe[J]=ae[J++];for(;J<le;)s(oe,J++);return oe}})},4705:function(d,g,e){"use strict";var r=e(51996);r("Array")},13941:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(51981),c=e(56902),f=e(82762),s=e(39428),h=e(66434),u=e(81427),a=e(69392),x=e(84233),p=e(17480),y=p("splice"),_=Math.max,b=Math.min;r({target:"Array",proto:!0,forced:!y},{splice:function(R,L){var T=i(this),D=f(T),B=l(R,D),$=arguments.length,U,V,K,G,oe,ae;for($===0?U=V=0:$===1?(U=0,V=D-B):(U=$-2,V=b(_(c(L),0),D-B)),h(D+U-V),K=u(T,V),G=0;G<V;G++)oe=B+G,oe in T&&a(K,G,T[oe]);if(K.length=V,U<V){for(G=B;G<D-V;G++)oe=G+V,ae=G+U,oe in T?T[ae]=T[oe]:x(T,ae);for(G=D;G>D-V+U;G--)x(T,G-1)}else if(U>V)for(G=D-V;G>B;G--)oe=G+V-1,ae=G+U-1,oe in T?T[ae]=T[oe]:x(T,ae);for(G=0;G<U;G++)T[G+B]=arguments[G+2];return s(T,D-V+U),K}})},1148:function(d,g,e){"use strict";var r=e(94488),i=e(85903),l=e(80524),c=e(81181),f=Array;r({target:"Array",proto:!0},{toReversed:function(){return i(l(this),f)}}),c("toReversed")},82445:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(80524),f=e(69478),s=e(55174),h=e(81181),u=Array,a=i(s("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(p){p!==void 0&&l(p);var y=c(this),_=f(u,y);return a(_,p)}}),h("toSorted")},27267:function(d,g,e){"use strict";var r=e(94488),i=e(81181),l=e(66434),c=e(82762),f=e(51981),s=e(80524),h=e(56902),u=Array,a=Math.max,x=Math.min;r({target:"Array",proto:!0},{toSpliced:function(y,_){var b=s(this),S=c(b),R=f(y,S),L=arguments.length,T=0,D,B,$,U;for(L===0?D=B=0:L===1?(D=0,B=S-R):(D=L-2,B=x(a(h(_),0),S-R)),$=l(S+D-B),U=u($);T<R;T++)U[T]=b[T];for(;T<R+D;T++)U[T]=arguments[T-R+2];for(;T<$;T++)U[T]=b[T+B-D];return U}}),i("toSpliced")},90308:function(d,g,e){"use strict";var r=e(81181);r("flatMap")},96353:function(d,g,e){"use strict";var r=e(81181);r("flat")},84818:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(84233),s=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){s(_+b);for(var S=_;S--;){var R=S+b;S in y?y[R]=y[S]:f(y,R)}for(var L=0;L<b;L++)y[L]=arguments[L]}return c(y,_+b)}})},80585:function(d,g,e){"use strict";var r=e(94488),i=e(82041),l=e(80524),c=Array;r({target:"Array",proto:!0},{with:function(f,s){return i(l(this),c,f,s)}})},40194:function(d,g,e){"use strict";var r=e(94488),i=e(91669),l=e(3737);r({global:!0,constructor:!0,forced:!l},{DataView:i.DataView})},22112:function(d,g,e){"use strict";e(40194)},81440:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=l(function(){return new Date(16e11).getYear()!==120}),f=i(Date.prototype.getFullYear);r({target:"Date",proto:!0,forced:c},{getYear:function(){return f(this)-1900}})},25430:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=Date,c=i(l.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return c(new l)}})},70105:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=Date.prototype,f=i(c.getTime),s=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 s(this,x)}})},71390:function(d,g,e){"use strict";var r=e(94488);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(d,g,e){"use strict";var r=e(94488),i=e(32494);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},83578:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(94029),c=e(97954),f=i(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});r({target:"Date",proto:!0,arity:1,forced:f},{toJSON:function(h){var u=l(this),a=c(u,"number");return typeof a=="number"&&!isFinite(a)?null:u.toISOString()}})},69762:function(d,g,e){"use strict";var r=e(32621),i=e(2291),l=e(77119),c=e(59893),f=c("toPrimitive"),s=Date.prototype;r(s,f)||i(s,f,l)},76880:function(d,g,e){"use strict";var r=e(94237),i=e(2291),l=Date.prototype,c="Invalid Date",f="toString",s=r(l[f]),h=r(l.getTime);String(new Date(NaN))!==c&&i(l,f,function(){var a=h(this);return a===a?s(this):c})},31808:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(13743),c=e(78540),f="WebAssembly",s=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(s&&s[x]){var y={};y[x]=c(f+"."+x,p,h),r({target:f,stat:!0,constructor:!0,arity:1,forced:h},y)}};u("Error",function(x){return function(y){return l(x,this,arguments)}}),u("EvalError",function(x){return function(y){return l(x,this,arguments)}}),u("RangeError",function(x){return function(y){return l(x,this,arguments)}}),u("ReferenceError",function(x){return function(y){return l(x,this,arguments)}}),u("SyntaxError",function(x){return function(y){return l(x,this,arguments)}}),u("TypeError",function(x){return function(y){return l(x,this,arguments)}}),u("URIError",function(x){return function(y){return l(x,this,arguments)}}),a("CompileError",function(x){return function(y){return l(x,this,arguments)}}),a("LinkError",function(x){return function(y){return l(x,this,arguments)}}),a("RuntimeError",function(x){return function(y){return l(x,this,arguments)}})},99953:function(d,g,e){"use strict";var r=e(2291),i=e(13367),l=Error.prototype;l.toString!==i&&r(l,"toString",i)},65009:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=i("".charAt),f=i("".charCodeAt),s=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,R=0,L,T;R<S;)L=c(_,R++),s(a,L)?b+=L:(T=f(L,0),T<256?b+="%"+x(T,2):b+="%u"+u(x(T,4)));return b}})},28796:function(d,g,e){"use strict";var r=e(94488),i=e(4645);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},56450:function(d,g,e){"use strict";var r=e(55327),i=e(31946),l=e(37691),c=e(53456),f=e(59893),s=e(86528),h=f("hasInstance"),u=Function.prototype;h in u||l.f(u,h,{value:s(function(a){if(!r(this)||!i(a))return!1;var x=this.prototype;if(!i(x))return a instanceof this;for(;a=c(a);)if(x===a)return!0;return!1},h)})},78342:function(d,g,e){"use strict";var r=e(35454),i=e(8090).EXISTS,l=e(94237),c=e(64110),f=Function.prototype,s=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,s(this))[1]}catch(x){return""}}})},13161:function(d,g,e){"use strict";var r=e(94488),i=e(92916);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},54226:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(89945),f=e(94237),s=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),R=f("".charCodeAt),L=f("".replace),T=f(1 .toString),D=/[\uD800-\uDFFF]/g,B=/^[\uD800-\uDBFF]$/,$=/^[\uDC00-\uDFFF]$/,U=!p||s(function(){var oe=i("Symbol")("stringify detection");return _([oe])!=="[null]"||_({a:oe})!=="{}"||_(Object(oe))!=="{}"}),V=s(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),K=function(oe,ae){var le=a(arguments),Q=x(ae);if(!(!h(Q)&&(oe===void 0||u(oe))))return le[1]=function(J,Y){if(h(Q)&&(Y=c(Q,this,y(J),Y)),!u(Y))return Y},l(_,null,le)},G=function(oe,ae,le){var Q=S(le,ae-1),J=S(le,ae+1);return b(B,oe)&&!b($,J)||b($,oe)&&!b(B,Q)?"\\u"+T(R(oe,0),16):oe};_&&r({target:"JSON",stat:!0,arity:3,forced:U||V},{stringify:function(ae,le,Q){var J=a(arguments),Y=l(U?K:_,null,J);return V&&typeof Y=="string"?L(Y,D,G):Y}})},70201:function(d,g,e){"use strict";var r=e(92916),i=e(94573);i(r.JSON,"JSON",!0)},44781:function(d,g,e){"use strict";var r=e(48059),i=e(40942);r("Map",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},85671:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(95955),f=e(62003),s=e(2786),h=e(16697),u=s.Map,a=s.has,x=s.get,p=s.set,y=i([].push);r({target:"Map",stat:!0,forced:h},{groupBy:function(b,S){c(b),l(S);var R=new u,L=0;return f(b,function(T){var D=S(T,L++);a(R,D)?y(x(R,D),T):p(R,D,[T])}),R}})},34941:function(d,g,e){"use strict";e(44781)},35152:function(d,g,e){"use strict";var r=e(94488),i=e(25726),l=Math.acosh,c=Math.log,f=Math.sqrt,s=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)+s:i(x-1+f(x-1)*f(x+1))}})},85660:function(d,g,e){"use strict";var r=e(94488),i=Math.asinh,l=Math.log,c=Math.sqrt;function f(h){var u=+h;return!isFinite(u)||u===0?u:u<0?-f(-u):l(u+c(u*u+1))}var s=!(i&&1/i(0)>0);r({target:"Math",stat:!0,forced:s},{asinh:f})},80031:function(d,g,e){"use strict";var r=e(94488),i=Math.atanh,l=Math.log,c=!(i&&1/i(-0)<0);r({target:"Math",stat:!0,forced:c},{atanh:function(s){var h=+s;return h===0?h:l((1+h)/(1-h))/2}})},34434:function(d,g,e){"use strict";var r=e(94488),i=e(37666),l=Math.abs,c=Math.pow;r({target:"Math",stat:!0},{cbrt:function(s){var h=+s;return i(h)*c(l(h),.3333333333333333)}})},83579:function(d,g,e){"use strict";var r=e(94488),i=Math.floor,l=Math.log,c=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(s){var h=s>>>0;return h?31-i(l(h+.5)*c):32}})},74307:function(d,g,e){"use strict";var r=e(94488),i=e(10014),l=Math.cosh,c=Math.abs,f=Math.E,s=!l||l(710)===1/0;r({target:"Math",stat:!0,forced:s},{cosh:function(u){var a=i(c(u)-1)+1;return(a+1/(a*f*f))*(f/2)}})},97423:function(d,g,e){"use strict";var r=e(94488),i=e(10014);r({target:"Math",stat:!0,forced:i!==Math.expm1},{expm1:i})},93321:function(d,g,e){"use strict";var r=e(94488),i=e(14894);r({target:"Math",stat:!0},{fround:i})},82277:function(d,g,e){"use strict";var r=e(94488),i=Math.hypot,l=Math.abs,c=Math.sqrt,f=!!i&&i(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(h,u){for(var a=0,x=0,p=arguments.length,y=0,_,b;x<p;)_=l(arguments[x++]),y<_?(b=y/_,a=a*b*b+1,y=_):_>0?(b=_/y,a+=b*b):a+=_;return y===1/0?1/0:y*c(a)}})},61425:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=Math.imul,c=i(function(){return l(4294967295,5)!==-5||l.length!==2});r({target:"Math",stat:!0,forced:c},{imul:function(s,h){var u=65535,a=+s,x=+h,p=u&a,y=u&x;return 0|p*y+((u&a>>>16)*y+p*(u&x>>>16)<<16>>>0)}})},61873:function(d,g,e){"use strict";var r=e(94488),i=e(53309);r({target:"Math",stat:!0},{log10:i})},9307:function(d,g,e){"use strict";var r=e(94488),i=e(25726);r({target:"Math",stat:!0},{log1p:i})},8821:function(d,g,e){"use strict";var r=e(94488),i=Math.log,l=Math.LN2;r({target:"Math",stat:!0},{log2:function(f){return i(f)/l}})},64385:function(d,g,e){"use strict";var r=e(94488),i=e(37666);r({target:"Math",stat:!0},{sign:i})},64099:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(10014),c=Math.abs,f=Math.exp,s=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))*(s/2)}})},62455:function(d,g,e){"use strict";var r=e(94488),i=e(10014),l=Math.exp;r({target:"Math",stat:!0},{tanh:function(f){var s=+f,h=i(s),u=i(-s);return h===1/0?1:u===1/0?-1:(h-u)/(l(s)+l(-s))}})},79965:function(d,g,e){"use strict";var r=e(94573);r(Math,"Math",!0)},59118:function(d,g,e){"use strict";var r=e(94488),i=e(3312);r({target:"Math",stat:!0},{trunc:i})},275:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(35454),c=e(92916),f=e(9699),s=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,R=e(37691).f,L=e(49228),T=e(52971).trim,D="Number",B=c[D],$=f[D],U=B.prototype,V=c.TypeError,K=s("".slice),G=s("".charCodeAt),oe=function(ue){var ne=y(ue,"number");return typeof ne=="bigint"?ne:ae(ne)},ae=function(ue){var ne=y(ue,"number"),ee,ie,F,M,q,de,Ee,Ce;if(p(ne))throw new V("Cannot convert a Symbol value to a number");if(typeof ne=="string"&&ne.length>2){if(ne=T(ne),ee=G(ne,0),ee===43||ee===45){if(ie=G(ne,2),ie===88||ie===120)return NaN}else if(ee===48){switch(G(ne,1)){case 66:case 98:F=2,M=49;break;case 79:case 111:F=8,M=55;break;default:return+ne}for(q=K(ne,2),de=q.length,Ee=0;Ee<de;Ee++)if(Ce=G(q,Ee),Ce<48||Ce>M)return NaN;return parseInt(q,F)}}return+ne},le=h(D,!B(" 0o1")||!B("0b1")||B("+0x1")),Q=function(ue){return x(U,ue)&&_(function(){L(ue)})},J=function(ne){var ee=arguments.length<1?0:B(oe(ne));return Q(this)?a(Object(ee),this,J):ee};J.prototype=U,le&&!i&&(U.constructor=J),r({global:!0,constructor:!0,wrap:!0,forced:le},{Number:J});var Y=function(ue,ne){for(var ee=l?b(ne):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),ie=0,F;ee.length>ie;ie++)u(ne,F=ee[ie])&&!u(ue,F)&&R(ue,F,S(ne,F))};i&&$&&Y(f[D],$),(le||i)&&Y(f[D],B)},31919:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(d,g,e){"use strict";var r=e(94488),i=e(1222);r({target:"Number",stat:!0},{isFinite:i})},10177:function(d,g,e){"use strict";var r=e(94488),i=e(62896);r({target:"Number",stat:!0},{isInteger:i})},85690:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0},{isNaN:function(l){return l!==l}})},92114:function(d,g,e){"use strict";var r=e(94488),i=e(62896),l=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(f){return i(f)&&l(f)<=9007199254740991}})},1017:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(d,g,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(d,g,e){"use strict";var r=e(94488),i=e(31280);r({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},76345:function(d,g,e){"use strict";var r=e(94488),i=e(52446);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},7282:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),s=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),R=i(f),L=i("".slice),T=S(-69e-12,4)==="-6.9000e-11"&&S(1.255,2)==="1.25e+0"&&S(12345,3)==="1.235e+4"&&S(25,0)==="3e+1",D=function(){return h(function(){S(1,1/0)})&&h(function(){S(1,-1/0)})},B=function(){return!h(function(){S(1/0,1/0),S(NaN,1/0)})},$=!T||!D()||!B();r({target:"Number",proto:!0,forced:$},{toExponential:function(V){var K=c(this);if(V===void 0)return S(K);var G=l(V);if(!x(K))return String(K);if(G<0||G>20)throw new u("Incorrect fraction digits");if(T)return S(K,G);var oe="",ae="",le=0,Q="",J="";if(K<0&&(oe="-",K=-K),K===0)le=0,ae=R("0",G+1);else{var Y=s(K);le=y(Y);var ue=0,ne=_(10,le-G);ue=b(K/ne),2*K>=(2*ue+1)*ne&&(ue+=1),ue>=_(10,G+1)&&(ue/=10,le+=1),ae=a(ue)}return G!==0&&(ae=L(ae,0,1)+"."+L(ae,1)),le===0?(Q="+",J="0"):(Q=le>0?"+":"-",J=a(p(le))),ae+="e"+Q+J,oe+ae}})},58055:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),s=e(3338),h=RangeError,u=String,a=Math.floor,x=i(f),p=i("".slice),y=i(1 .toFixed),_=function(D,B,$){return B===0?$:B%2===1?_(D,B-1,$*D):_(D*D,B/2,$)},b=function(D){for(var B=0,$=D;$>=4096;)B+=12,$/=4096;for(;$>=2;)B+=1,$/=2;return B},S=function(D,B,$){for(var U=-1,V=$;++U<6;)V+=B*D[U],D[U]=V%1e7,V=a(V/1e7)},R=function(D,B){for(var $=6,U=0;--$>=0;)U+=D[$],D[$]=a(U/B),U=U%B*1e7},L=function(D){for(var B=6,$="";--B>=0;)if($!==""||B===0||D[B]!==0){var U=u(D[B]);$=$===""?U:$+x("0",7-U.length)+U}return $},T=s(function(){return y(8e-5,3)!=="0.000"||y(.9,0)!=="1"||y(1.255,2)!=="1.25"||y(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!s(function(){y({})});r({target:"Number",proto:!0,forced:T},{toFixed:function(B){var $=c(this),U=l(B),V=[0,0,0,0,0,0],K="",G="0",oe,ae,le,Q;if(U<0||U>20)throw new h("Incorrect fraction digits");if($!==$)return"NaN";if($<=-1e21||$>=1e21)return u($);if($<0&&(K="-",$=-$),$>1e-21)if(oe=b($*_(2,69,1))-69,ae=oe<0?$*_(2,-oe,1):$/_(2,oe,1),ae*=4503599627370496,oe=52-oe,oe>0){for(S(V,0,ae),le=U;le>=7;)S(V,1e7,0),le-=7;for(S(V,_(10,le,1),0),le=oe-1;le>=23;)R(V,8388608),le-=23;R(V,1<<le),S(V,1,1),R(V,2),G=L(V)}else S(V,0,ae),S(V,1<<-oe,0),G=L(V)+x("0",U);return U>0?(Q=G.length,G=K+(Q<=U?"0."+x("0",U-Q)+G:p(G,0,Q-U)+"."+p(G,Q-U))):G=K+G,G}})},93547:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=e(49228),f=i(1 .toPrecision),s=l(function(){return f(1,void 0)!=="1"})||!l(function(){f({})});r({target:"Number",proto:!0,forced:s},{toPrecision:function(u){return u===void 0?f(c(this)):f(c(this),u)}})},31237:function(d,g,e){"use strict";var r=e(94488),i=e(80530);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},17954:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(20132);r({target:"Object",stat:!0,sham:!i},{create:l})},58580:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),s=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineGetter__:function(u,a){s.f(f(this),u,{get:c(a),enumerable:!0,configurable:!0})}})},47146:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(55666).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==l,sham:!i},{defineProperties:l})},40416:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(37691).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==l,sham:!i},{defineProperty:l})},7615:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),s=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineSetter__:function(u,a){s.f(f(this),u,{set:c(a),enumerable:!0,configurable:!0})}})},72820:function(d,g,e){"use strict";var r=e(94488),i=e(88698).entries;r({target:"Object",stat:!0},{entries:function(c){return i(c)}})},86070:function(d,g,e){"use strict";var r=e(94488),i=e(13247),l=e(3338),c=e(31946),f=e(2074).onFreeze,s=Object.freeze,h=l(function(){s(1)});r({target:"Object",stat:!0,forced:h,sham:!i},{freeze:function(a){return s&&c(a)?s(f(a)):a}})},23569:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(69392);r({target:"Object",stat:!0},{fromEntries:function(f){var s={};return i(f,function(h,u){l(s,h,u)},{AS_ENTRIES:!0}),s}})},55639:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(80524),c=e(71256).f,f=e(35454),s=!f||i(function(){c(1)});r({target:"Object",stat:!0,forced:s,sham:!f},{getOwnPropertyDescriptor:function(u,a){return c(l(u),a)}})},63046:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(48662),c=e(80524),f=e(71256),s=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&&s(y,b,S);return y}})},464:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(53393).f,c=i(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:c},{getOwnPropertyNames:l})},67936:function(d,g,e){"use strict";var r=e(94488),i=e(42820),l=e(3338),c=e(92635),f=e(94029),s=!i||l(function(){c.f(1)});r({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(u){var a=c.f;return a?a(f(u)):[]}})},51082:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(94029),c=e(53456),f=e(4870),s=i(function(){c(1)});r({target:"Object",stat:!0,forced:s,sham:!f},{getPrototypeOf:function(u){return c(l(u))}})},83850:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(94237),c=e(63335),f=e(95955),s=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 R=s(y(S,b++));R in _?a(_[R],S):_[R]=[S]}),_}})},41990:function(d,g,e){"use strict";var r=e(94488),i=e(32621);r({target:"Object",stat:!0},{hasOwn:i})},55888:function(d,g,e){"use strict";var r=e(94488),i=e(12477);r({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},53827:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(31946),c=e(29076),f=e(51424),s=Object.isFrozen,h=f||i(function(){s(1)});r({target:"Object",stat:!0,forced:h},{isFrozen:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:s?s(a):!1}})},78143:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(31946),c=e(29076),f=e(51424),s=Object.isSealed,h=f||i(function(){s(1)});r({target:"Object",stat:!0,forced:h},{isSealed:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:s?s(a):!1}})},15787:function(d,g,e){"use strict";var r=e(94488),i=e(5370);r({target:"Object",stat:!0},{is:i})},66419:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(7733),c=e(3338),f=c(function(){l(1)});r({target:"Object",stat:!0,forced:f},{keys:function(h){return l(i(h))}})},75765:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),s=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=s(x))}})},14645:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),s=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=s(x))}})},71122:function(d,g,e){"use strict";var r=e(94488),i=e(31946),l=e(2074).onFreeze,c=e(13247),f=e(3338),s=Object.preventExtensions,h=f(function(){s(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{preventExtensions:function(a){return s&&i(a)?s(l(a)):a}})},42084:function(d,g,e){"use strict";var r=e(35454),i=e(64110),l=e(31946),c=e(94029),f=e(95955),s=Object.getPrototypeOf,h=Object.setPrototypeOf,u=Object.prototype,a="__proto__";if(r&&s&&h&&!(a in u))try{i(u,a,{configurable:!0,get:function(){return s(c(this))},set:function(p){var y=f(this);!l(p)&&p!==null||!l(y)||h(y,p)}})}catch(x){}},25070:function(d,g,e){"use strict";var r=e(94488),i=e(31946),l=e(2074).onFreeze,c=e(13247),f=e(3338),s=Object.seal,h=f(function(){s(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{seal:function(a){return s&&i(a)?s(l(a)):a}})},77140:function(d,g,e){"use strict";var r=e(94488),i=e(58218);r({target:"Object",stat:!0},{setPrototypeOf:i})},15954:function(d,g,e){"use strict";var r=e(68527),i=e(2291),l=e(28488);r||i(Object.prototype,"toString",l,{unsafe:!0})},4266:function(d,g,e){"use strict";var r=e(94488),i=e(88698).values;r({target:"Object",stat:!0},{values:function(c){return i(c)}})},49988:function(d,g,e){"use strict";var r=e(94488),i=e(31280);r({global:!0,forced:parseFloat!==i},{parseFloat:i})},38823:function(d,g,e){"use strict";var r=e(94488),i=e(52446);r({global:!0,forced:parseInt!==i},{parseInt:i})},4045:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),s=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),R=[],L=0,T=1;s(a,function(D){var B=L++,$=!1;T++,i(S,x,D).then(function(U){$||($=!0,R[B]={status:"fulfilled",value:U},--T||y(R))},function(U){$||($=!0,R[B]={status:"rejected",reason:U},--T||y(R))})}),--T||y(R)});return b.error&&_(b.value),p.promise}})},12785:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),s=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),R=[],L=0,T=1;s(a,function(D){var B=L++,$=!1;T++,i(S,x,D).then(function(U){$||($=!0,R[B]=U,--T||y(R))},_)}),--T||y(R)});return b.error&&_(b.value),p.promise}})},50747:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(65911),f=e(73446),s=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,R=b.reject,L=s(function(){var T=l(y.resolve),D=[],B=0,$=1,U=!1;h(p,function(V){var K=B++,G=!1;$++,i(T,y,V).then(function(oe){G||U||(U=!0,S(oe))},function(oe){G||U||(G=!0,D[K]=oe,--$||R(new _(D,a)))})}),--$||R(new _(D,a))});return L.error&&R(L.value),b.promise}})},41902:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(82830).CONSTRUCTOR,c=e(2451),f=e(65911),s=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&&s(c)){var a=f("Promise").prototype.catch;u.catch!==a&&h(u,"catch",a,{unsafe:!0})}},90366:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(90946),c=e(92916),f=e(89945),s=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,R=e(72933),L=e(61810),T=e(80734),D=e(66790),B=e(94844),$=e(2451),U=e(82830),V=e(73446),K="Promise",G=U.CONSTRUCTOR,oe=U.REJECTION_EVENT,ae=U.SUBCLASSING,le=B.getterFor(K),Q=B.set,J=$&&$.prototype,Y=$,ue=J,ne=c.TypeError,ee=c.document,ie=c.process,F=V.f,M=F,q=!!(ee&&ee.createEvent&&c.dispatchEvent),de="unhandledrejection",Ee="rejectionhandled",Ce=0,je=1,Fe=2,Ft=1,_t=2,Pt,Qt,er,Jt,Xe=function(Me){var $e;return y(Me)&&p($e=Me.then)?$e:!1},It=function(Me,$e){var He=$e.value,nt=$e.state===je,ct=nt?Me.ok:Me.fail,Kt=Me.resolve,Wt=Me.reject,De=Me.domain,Qe,Vt,kt;try{ct?(nt||($e.rejection===_t&&Je($e),$e.rejection=Ft),ct===!0?Qe=He:(De&&De.enter(),Qe=ct(He),De&&(De.exit(),kt=!0)),Qe===Me.promise?Wt(new ne("Promise-chain cycle")):(Vt=Xe(Qe))?f(Vt,Qe,Kt,Wt):Kt(Qe)):Wt(He)}catch(Ht){De&&!kt&&De.exit(),Wt(Ht)}},zt=function(Me,$e){Me.notified||(Me.notified=!0,R(function(){for(var He=Me.reactions,nt;nt=He.get();)It(nt,Me);Me.notified=!1,$e&&!Me.rejection&&bt(Me)}))},st=function(Me,$e,He){var nt,ct;q?(nt=ee.createEvent("Event"),nt.promise=$e,nt.reason=He,nt.initEvent(Me,!1,!0),c.dispatchEvent(nt)):nt={promise:$e,reason:He},!oe&&(ct=c["on"+Me])?ct(nt):Me===de&&L("Unhandled promise rejection",He)},bt=function(Me){f(S,c,function(){var $e=Me.facade,He=Me.value,nt=ht(Me),ct;if(nt&&(ct=T(function(){l?ie.emit("unhandledRejection",He,$e):st(de,$e,He)}),Me.rejection=l||ht(Me)?_t:Ft,ct.error))throw ct.value})},ht=function(Me){return Me.rejection!==Ft&&!Me.parent},Je=function(Me){f(S,c,function(){var $e=Me.facade;l?ie.emit("rejectionHandled",$e):st(Ee,$e,Me.value)})},Ue=function(Me,$e,He){return function(nt){Me($e,nt,He)}},ge=function(Me,$e,He){Me.done||(Me.done=!0,He&&(Me=He),Me.value=$e,Me.state=Fe,zt(Me,!0))},Ae=function(Me,$e,He){if(!Me.done){Me.done=!0,He&&(Me=He);try{if(Me.facade===$e)throw new ne("Promise can't be resolved itself");var nt=Xe($e);nt?R(function(){var ct={done:!1};try{f(nt,$e,Ue(Ae,ct,Me),Ue(ge,ct,Me))}catch(Kt){ge(ct,Kt,Me)}}):(Me.value=$e,Me.state=je,zt(Me,!1))}catch(ct){ge({done:!1},ct,Me)}}};if(G&&(Y=function($e){_(this,ue),x($e),f(Pt,this);var He=le(this);try{$e(Ue(Ae,He),Ue(ge,He))}catch(nt){ge(He,nt)}},ue=Y.prototype,Pt=function($e){Q(this,{type:K,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:Ce,value:void 0})},Pt.prototype=s(ue,"then",function($e,He){var nt=le(this),ct=F(b(this,Y));return nt.parent=!0,ct.ok=p($e)?$e:!0,ct.fail=p(He)&&He,ct.domain=l?ie.domain:void 0,nt.state===Ce?nt.reactions.add(ct):R(function(){It(ct,nt)}),ct.promise}),Qt=function(){var Me=new Pt,$e=le(Me);this.promise=Me,this.resolve=Ue(Ae,$e),this.reject=Ue(ge,$e)},V.f=F=function(Me){return Me===Y||Me===er?new Qt(Me):M(Me)},!i&&p($)&&J!==Object.prototype)){Jt=J.then,ae||s(J,"then",function($e,He){var nt=this;return new Y(function(ct,Kt){f(Jt,nt,ct,Kt)}).then($e,He)},{unsafe:!0});try{delete J.constructor}catch(Me){}h&&h(J,ue)}r({global:!0,constructor:!0,wrap:!0,forced:G},{Promise:Y}),u(Y,K,!1,!0),a(K)},43595:function(d,g,e){"use strict";var r=e(94488),i=e(16697),l=e(2451),c=e(3338),f=e(65911),s=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=s(_);return this.then(S?function(R){return u(b,_()).then(function(){return R})}:_,S?function(R){return u(b,_()).then(function(){throw R})}:_)}}),!i&&s(l)){var y=f("Promise").prototype.finally;x.finally!==y&&a(x,"finally",y,{unsafe:!0})}},24627:function(d,g,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),s=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);s(a,function(S){i(b,x,S).then(p.resolve,y)})});return _.error&&y(_.value),p.promise}})},95693:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(73446),c=e(82830).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:c},{reject:function(s){var h=l.f(this);return i(h.reject,void 0,s),h.promise}})},81930:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(16697),c=e(2451),f=e(82830).CONSTRUCTOR,s=e(15597),h=i("Promise"),u=l&&!f;r({target:"Promise",stat:!0,forced:l||f},{resolve:function(x){return s(u&&this===h?c:this,x)}})},92324:function(d,g,e){"use strict";var r=e(94488),i=e(73446);r({target:"Promise",stat:!0},{withResolvers:function(){var c=i.f(this);return{promise:c.promise,resolve:c.resolve,reject:c.reject}}})},23551:function(d,g,e){"use strict";var r=e(94488),i=e(13743),l=e(63335),c=e(80449),f=e(3338),s=!f(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:s},{apply:function(u,a,x){return i(l(u),a,c(x))}})},74521:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(4645),f=e(6086),s=e(80449),h=e(31946),u=e(20132),a=e(3338),x=i("Reflect","construct"),p=Object.prototype,y=[].push,_=a(function(){function R(){}return!(x(function(){},[],R)instanceof R)}),b=!a(function(){x(function(){})}),S=_||b;r({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(L,T){f(L),s(T);var D=arguments.length<3?L:f(arguments[2]);if(b&&!_)return x(L,T,D);if(L===D){switch(T.length){case 0:return new L;case 1:return new L(T[0]);case 2:return new L(T[0],T[1]);case 3:return new L(T[0],T[1],T[2]);case 4:return new L(T[0],T[1],T[2],T[3])}var B=[null];return l(y,B,T),new(l(c,L,B))}var $=D.prototype,U=u(h($)?$:p),V=l(L,U,T);return h(V)?V:U}})},57891:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(17818),f=e(37691),s=e(3338),h=s(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:h,sham:!i},{defineProperty:function(a,x,p){l(a);var y=c(x);l(p);try{return f.f(a,y,p),!0}catch(_){return!1}}})},84138:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(71256).f;r({target:"Reflect",stat:!0},{deleteProperty:function(f,s){var h=l(i(f),s);return h&&!h.configurable?!1:delete f[s]}})},37135:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(71256);r({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(s,h){return c.f(l(s),h)}})},6474:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(53456),c=e(4870);r({target:"Reflect",stat:!0,sham:!c},{getPrototypeOf:function(s){return l(i(s))}})},51832:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(31946),c=e(80449),f=e(60516),s=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=s.f(a,x),y)return f(y)?y.value:y.get===void 0?void 0:i(y.get,p);if(l(_=h(a)))return u(_,x,p)}r({target:"Reflect",stat:!0},{get:u})},40135:function(d,g,e){"use strict";var r=e(94488);r({target:"Reflect",stat:!0},{has:function(l,c){return c in l}})},7982:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(12477);r({target:"Reflect",stat:!0},{isExtensible:function(f){return i(f),l(f)}})},14893:function(d,g,e){"use strict";var r=e(94488),i=e(48662);r({target:"Reflect",stat:!0},{ownKeys:i})},49233:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(80449),c=e(13247);r({target:"Reflect",stat:!0,sham:!c},{preventExtensions:function(s){l(s);try{var h=i("Object","preventExtensions");return h&&h(s),!0}catch(u){return!1}}})},42844:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(557),c=e(58218);c&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(s,h){i(s),l(h);try{return c(s,h),!0}catch(u){return!1}}})},92130:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(31946),f=e(60516),s=e(3338),h=e(37691),u=e(71256),a=e(53456),x=e(35012);function p(_,b,S){var R=arguments.length<4?_:arguments[3],L=u.f(l(_),b),T,D,B;if(!L){if(c(D=a(_)))return p(D,b,S,R);L=x(0)}if(f(L)){if(L.writable===!1||!c(R))return!1;if(T=u.f(R,b)){if(T.get||T.set||T.writable===!1)return!1;T.value=S,h.f(R,b,T)}else h.f(R,b,x(0,S))}else{if(B=L.set,B===void 0)return!1;i(B,R,S)}return!0}var y=s(function(){var _=function(){},b=h.f(new _,"a",{configurable:!0});return Reflect.set(_.prototype,"a",1,b)!==!1});r({target:"Reflect",stat:!0,forced:y},{set:p})},6536:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94573);r({global:!0},{Reflect:{}}),l(i.Reflect,"Reflect",!0)},27228:function(d,g,e){"use strict";var r=e(35454),i=e(92916),l=e(94237),c=e(20865),f=e(25576),s=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),R=e(3338),L=e(32621),T=e(94844).enforce,D=e(51996),B=e(59893),$=e(6041),U=e(51224),V=B("match"),K=i.RegExp,G=K.prototype,oe=i.SyntaxError,ae=l(G.exec),le=l("".charAt),Q=l("".replace),J=l("".indexOf),Y=l("".slice),ue=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ne=/a/g,ee=/a/g,ie=new K(ne)!==ne,F=_.MISSED_STICKY,M=_.UNSUPPORTED_Y,q=r&&(!ie||F||$||U||R(function(){return ee[V]=!1,K(ne)!==ne||K(ee)===ee||String(K(ne,"i"))!=="/a/i"})),de=function(Ft){for(var _t=Ft.length,Pt=0,Qt="",er=!1,Jt;Pt<=_t;Pt++){if(Jt=le(Ft,Pt),Jt==="\\"){Qt+=Jt+le(Ft,++Pt);continue}!er&&Jt==="."?Qt+="[\\s\\S]":(Jt==="["?er=!0:Jt==="]"&&(er=!1),Qt+=Jt)}return Qt},Ee=function(Ft){for(var _t=Ft.length,Pt=0,Qt="",er=[],Jt=h(null),Xe=!1,It=!1,zt=0,st="",bt;Pt<=_t;Pt++){if(bt=le(Ft,Pt),bt==="\\")bt+=le(Ft,++Pt);else if(bt==="]")Xe=!1;else if(!Xe)switch(!0){case bt==="[":Xe=!0;break;case bt==="(":ae(ue,Y(Ft,Pt+1))&&(Pt+=2,It=!0),Qt+=bt,zt++;continue;case(bt===">"&&It):if(st===""||L(Jt,st))throw new oe("Invalid capture group name");Jt[st]=!0,er[er.length]=[st,zt],It=!1,st="";continue}It?st+=bt:Qt+=bt}return[Qt,er]};if(c("RegExp",q)){for(var Ce=function(_t,Pt){var Qt=a(G,this),er=x(_t),Jt=Pt===void 0,Xe=[],It=_t,zt,st,bt,ht,Je,Ue;if(!Qt&&er&&Jt&&_t.constructor===Ce)return _t;if((er||a(G,_t))&&(_t=_t.source,Jt&&(Pt=y(It))),_t=_t===void 0?"":p(_t),Pt=Pt===void 0?"":p(Pt),It=_t,$&&"dotAll"in ne&&(st=!!Pt&&J(Pt,"s")>-1,st&&(Pt=Q(Pt,/s/g,""))),zt=Pt,F&&"sticky"in ne&&(bt=!!Pt&&J(Pt,"y")>-1,bt&&M&&(Pt=Q(Pt,/y/g,""))),U&&(ht=Ee(_t),_t=ht[0],Xe=ht[1]),Je=f(K(_t,Pt),Qt?this:G,Ce),(st||bt||Xe.length)&&(Ue=T(Je),st&&(Ue.dotAll=!0,Ue.raw=Ce(de(_t),zt)),bt&&(Ue.sticky=!0),Xe.length&&(Ue.groups=Xe)),_t!==It)try{s(Je,"source",It===""?"(?:)":It)}catch(ge){}return Je},je=u(K),Fe=0;je.length>Fe;)b(Ce,K,je[Fe++]);G.constructor=Ce,Ce.prototype=G,S(i,"RegExp",Ce,{constructor:!0})}D("RegExp")},62921:function(d,g,e){"use strict";var r=e(35454),i=e(6041),l=e(29076),c=e(64110),f=e(94844).get,s=RegExp.prototype,h=TypeError;r&&i&&c(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if(l(this)==="RegExp")return!!f(this).dotAll;throw new h("Incompatible receiver, RegExp required")}}})},44001:function(d,g,e){"use strict";var r=e(94488),i=e(88736);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},92262:function(d,g,e){"use strict";var r=e(92916),i=e(35454),l=e(64110),c=e(82163),f=e(3338),s=r.RegExp,h=s.prototype,u=i&&f(function(){var a=!0;try{s(".","d")}catch(L){a=!1}var x={},p="",y=a?"dgimsy":"gimsy",_=function(L,T){Object.defineProperty(x,L,{get:function(){return p+=T,!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 R=Object.getOwnPropertyDescriptor(h,"flags").get.call(x);return R!==y||p!==y});u&&l(h,"flags",{configurable:!0,get:c})},54744:function(d,g,e){"use strict";var r=e(35454),i=e(19286).MISSED_STICKY,l=e(29076),c=e(64110),f=e(94844).get,s=RegExp.prototype,h=TypeError;r&&i&&c(s,"sticky",{configurable:!0,get:function(){if(this!==s){if(l(this)==="RegExp")return!!f(this).sticky;throw new h("Incompatible receiver, RegExp required")}}})},38214:function(d,g,e){"use strict";e(44001);var r=e(94488),i=e(89945),l=e(55327),c=e(80449),f=e(69905),s=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:!s},{test:function(u){var a=c(this),x=f(u),p=a.exec;if(!l(p))return i(h,a,x);var y=i(p,a,x);return y===null?!1:(c(y),!0)}})},12756:function(d,g,e){"use strict";var r=e(8090).PROPER,i=e(2291),l=e(80449),c=e(69905),f=e(3338),s=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(s(_));return"/"+b+"/"+S},{unsafe:!0})},69772:function(d,g,e){"use strict";var r=e(48059),i=e(40942);r("Set",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},93379:function(d,g,e){"use strict";e(69772)},34932:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("anchor")},{anchor:function(f){return i(this,"a","name",f)}})},62007:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),s=e(3338),h=i("".charAt),u=s(function(){return"\u{20BB7}".at(-2)!=="\uD842"});r({target:"String",proto:!0,forced:u},{at:function(x){var p=f(l(this)),y=p.length,_=c(x),b=_>=0?_:y+_;return b<0||b>=y?void 0:h(p,b)}})},81046:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("big")},{big:function(){return i(this,"big","","")}})},85744:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("blink")},{blink:function(){return i(this,"blink","","")}})},13494:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("bold")},{bold:function(){return i(this,"b","","")}})},90572:function(d,g,e){"use strict";var r=e(94488),i=e(13764).codeAt;r({target:"String",proto:!0},{codePointAt:function(c){return i(this,c)}})},37343:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),s=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(R){var L=f(h(this));s(R);var T=arguments.length>1?arguments[1]:void 0,D=L.length,B=T===void 0?D:y(c(T),D),$=f(R);return x?x(L,$,B):p(L,B-$.length,B)===$}})},56338:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fixed")},{fixed:function(){return i(this,"tt","","")}})},66755:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontcolor")},{fontcolor:function(f){return i(this,"font","color",f)}})},68709:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontsize")},{fontsize:function(f){return i(this,"font","size",f)}})},45945:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(51981),c=RangeError,f=String.fromCharCode,s=String.fromCodePoint,h=i([].join),u=!!s&&s.length!==1;r({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(x){for(var p=[],y=arguments.length,_=0,b;y>_;){if(b=+arguments[_++],l(b,1114111)!==b)throw new c(b+" is not a valid code point");p[_]=b<65536?f(b):f(((b-=65536)>>10)+55296,b%1024+56320)}return h(p,"")}})},75551:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(41696),c=e(95955),f=e(69905),s=e(86266),h=i("".indexOf);r({target:"String",proto:!0,forced:!s("includes")},{includes:function(a){return!!~h(f(c(this)),f(l(a)),arguments.length>1?arguments[1]:void 0)}})},32493:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(69905),f=i("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var h=c(l(this)),u=h.length,a=0;a<u;a++){var x=f(h,a);if((x&63488)===55296&&(x>=56320||++a>=u||(f(h,a)&64512)!==56320))return!1}return!0}})},4939:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("italics")},{italics:function(){return i(this,"i","","")}})},20852:function(d,g,e){"use strict";var r=e(13764).charAt,i=e(69905),l=e(94844),c=e(24019),f=e(25587),s="String Iterator",h=l.set,u=l.getterFor(s);c(String,"String",function(a){h(this,{type:s,string:i(a),index:0})},function(){var x=u(this),p=x.string,y=x.index,_;return y>=p.length?f(void 0,!0):(_=r(p,y),x.index+=_.length,f(_,!1))})},81927:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("link")},{link:function(f){return i(this,"a","href",f)}})},18827:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(34114),c=e(83126),f=e(25587),s=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),R=e(3338),L=e(59893),T=e(60473),D=e(52216),B=e(94338),$=e(94844),U=e(16697),V=L("matchAll"),K="RegExp String",G=K+" Iterator",oe=$.set,ae=$.getterFor(G),le=RegExp.prototype,Q=TypeError,J=l("".indexOf),Y=l("".matchAll),ue=!!Y&&!R(function(){Y("a",/./)}),ne=c(function(F,M,q,de){oe(this,{type:G,regexp:F,string:M,global:q,unicode:de,done:!1})},K,function(){var F=ae(this);if(F.done)return f(void 0,!0);var M=F.regexp,q=F.string,de=B(M,q);return de===null?(F.done=!0,f(void 0,!0)):F.global?(u(de[0])===""&&(M.lastIndex=D(q,h(M.lastIndex),F.unicode)),f(de,!1)):(F.done=!0,f(de,!1))}),ee=function(ie){var F=a(this),M=u(ie),q=T(F,RegExp),de=u(_(F)),Ee,Ce,je;return Ee=new q(q===RegExp?F.source:F,de),Ce=!!~J(de,"g"),je=!!~J(de,"u"),Ee.lastIndex=h(F.lastIndex),new ne(Ee,M,Ce,je)};r({target:"String",proto:!0,forced:ue},{matchAll:function(F){var M=s(this),q,de,Ee,Ce;if(x(F)){if(ue)return Y(M,F)}else{if(y(F)&&(q=u(s(_(F))),!~J(q,"g")))throw new Q("`.matchAll` does not allow non-global regexes");if(ue)return Y(M,F);if(Ee=b(F,V),Ee===void 0&&U&&p(F)==="RegExp"&&(Ee=ee),Ee)return i(Ee,F,M)}return de=u(M),Ce=new RegExp(F,"g"),U?i(ee,Ce,de):Ce[V](de)}}),U||V in le||S(le,V,ee)},46302:function(d,g,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(61578),s=e(69905),h=e(95955),u=e(53776),a=e(52216),x=e(94338);i("match",function(p,y,_){return[function(S){var R=h(this),L=c(S)?void 0:u(S,p);return L?r(L,S,R):new RegExp(S)[p](s(R))},function(b){var S=l(this),R=s(b),L=_(y,S,R);if(L.done)return L.value;if(!S.global)return x(S,R);var T=S.unicode;S.lastIndex=0;for(var D=[],B=0,$;($=x(S,R))!==null;){var U=s($[0]);D[B]=U,U===""&&(S.lastIndex=a(R,f(S.lastIndex),T)),B++}return B===0?null:D}]})},76718:function(d,g,e){"use strict";var r=e(94488),i=e(85571).end,l=e(98352);r({target:"String",proto:!0,forced:l},{padEnd:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},79172:function(d,g,e){"use strict";var r=e(94488),i=e(85571).start,l=e(98352);r({target:"String",proto:!0,forced:l},{padStart:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},32192:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(80524),c=e(94029),f=e(69905),s=e(82762),h=i([].push),u=i([].join);r({target:"String",stat:!0},{raw:function(x){var p=l(c(x).raw),y=s(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,g,e){"use strict";var r=e(94488),i=e(71049);r({target:"String",proto:!0},{repeat:i})},55629:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(94237),c=e(95955),f=e(55327),s=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,R=l("".indexOf),L=l("".replace),T=l("".slice),D=Math.max,B=function($,U,V){return V>$.length?-1:U===""?V:R($,U,V)};r({target:"String",proto:!0},{replaceAll:function(U,V){var K=c(this),G,oe,ae,le,Q,J,Y,ue,ne,ee=0,ie=0,F="";if(!s(U)){if(G=h(U),G&&(oe=u(c(x(U))),!~R(oe,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(ae=a(U,b),ae)return i(ae,U,K,V);if(_&&G)return L(u(K),U,V)}for(le=u(K),Q=u(U),J=f(V),J||(V=u(V)),Y=Q.length,ue=D(1,Y),ee=B(le,Q,0);ee!==-1;)ne=J?u(V(Q,ee,le)):p(Q,le,ee,[],void 0,V),F+=T(le,ie,ee)+ne,ie=ee+Y,ee=B(le,Q,ee+ue);return ie<le.length&&(F+=T(le,ie)),F}})},5658:function(d,g,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(3338),s=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),R=e(94338),L=e(59893),T=L("replace"),D=Math.max,B=Math.min,$=l([].concat),U=l([].push),V=l("".indexOf),K=l("".slice),G=function(Q){return Q===void 0?Q:String(Q)},oe=function(){return"a".replace(/./,"$0")==="$0"}(),ae=function(){return/./[T]?/./[T]("a","$0")==="":!1}(),le=!f(function(){var Q=/./;return Q.exec=function(){var J=[];return J.groups={a:"7"},J},"".replace(Q,"$<a>")!=="7"});c("replace",function(Q,J,Y){var ue=ae?"$":"$0";return[function(ee,ie){var F=y(this),M=u(ee)?void 0:b(ee,T);return M?i(M,ee,F,ie):i(J,p(F),ee,ie)},function(ne,ee){var ie=s(this),F=p(ne);if(typeof ee=="string"&&V(ee,ue)===-1&&V(ee,"$<")===-1){var M=Y(J,ie,F,ee);if(M.done)return M.value}var q=h(ee);q||(ee=p(ee));var de=ie.global,Ee;de&&(Ee=ie.unicode,ie.lastIndex=0);for(var Ce=[],je;je=R(ie,F),!(je===null||(U(Ce,je),!de));){var Fe=p(je[0]);Fe===""&&(ie.lastIndex=_(F,x(ie.lastIndex),Ee))}for(var Ft="",_t=0,Pt=0;Pt<Ce.length;Pt++){je=Ce[Pt];for(var Qt=p(je[0]),er=D(B(a(je.index),F.length),0),Jt=[],Xe,It=1;It<je.length;It++)U(Jt,G(je[It]));var zt=je.groups;if(q){var st=$([Qt],Jt,er,F);zt!==void 0&&U(st,zt),Xe=p(r(ee,void 0,st))}else Xe=S(Qt,F,er,Jt,zt,ee);er>=_t&&(Ft+=K(F,_t,er)+Xe,_t=er+Qt.length)}return Ft+K(F,_t)}]},!le||!oe||ae)},62925:function(d,g,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(95955),s=e(5370),h=e(69905),u=e(53776),a=e(94338);i("search",function(x,p,y){return[function(b){var S=f(this),R=c(b)?void 0:u(b,x);return R?r(R,b,S):new RegExp(b)[x](h(S))},function(_){var b=l(this),S=h(_),R=y(p,b,S);if(R.done)return R.value;var L=b.lastIndex;s(L,0)||(b.lastIndex=0);var T=a(b,S);return s(b.lastIndex,L)||(b.lastIndex=L),T===null?-1:T.index}]})},60462:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("small")},{small:function(){return i(this,"small","","")}})},9595:function(d,g,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(80449),s=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),R=e(88736),L=e(19286),T=e(3338),D=L.UNSUPPORTED_Y,B=4294967295,$=Math.min,U=[].push,V=l(/./.exec),K=l(U),G=l("".slice),oe=!T(function(){var ae=/(?:)/,le=ae.exec;ae.exec=function(){return le.apply(this,arguments)};var Q="ab".split(ae);return Q.length!==2||Q[0]!=="a"||Q[1]!=="b"});c("split",function(ae,le,Q){var J;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?J=function(Y,ue){var ne=y(u(this)),ee=ue===void 0?B:ue>>>0;if(ee===0)return[];if(Y===void 0)return[ne];if(!h(Y))return i(le,ne,Y,ee);for(var ie=[],F=(Y.ignoreCase?"i":"")+(Y.multiline?"m":"")+(Y.unicode?"u":"")+(Y.sticky?"y":""),M=0,q=new RegExp(Y.source,F+"g"),de,Ee,Ce;(de=i(R,q,ne))&&(Ee=q.lastIndex,!(Ee>M&&(K(ie,G(ne,M,de.index)),de.length>1&&de.index<ne.length&&r(U,ie,b(de,1)),Ce=de[0].length,M=Ee,ie.length>=ee)));)q.lastIndex===de.index&&q.lastIndex++;return M===ne.length?(Ce||!V(q,""))&&K(ie,""):K(ie,G(ne,M)),ie.length>ee?b(ie,0,ee):ie}:"0".split(void 0,0).length?J=function(Y,ue){return Y===void 0&&ue===0?[]:i(le,this,Y,ue)}:J=le,[function(ue,ne){var ee=u(this),ie=s(ue)?void 0:_(ue,ae);return ie?i(ie,ue,ee,ne):i(J,y(ee),ue,ne)},function(Y,ue){var ne=f(this),ee=y(Y),ie=Q(J,ne,ee,ue,J!==le);if(ie.done)return ie.value;var F=a(ne,RegExp),M=ne.unicode,q=(ne.ignoreCase?"i":"")+(ne.multiline?"m":"")+(ne.unicode?"u":"")+(D?"g":"y"),de=new F(D?"^(?:"+ne.source+")":ne,q),Ee=ue===void 0?B:ue>>>0;if(Ee===0)return[];if(ee.length===0)return S(de,ee)===null?[ee]:[];for(var Ce=0,je=0,Fe=[];je<ee.length;){de.lastIndex=D?0:je;var Ft=S(de,D?G(ee,je):ee),_t;if(Ft===null||(_t=$(p(de.lastIndex+(D?je:0)),ee.length))===Ce)je=x(ee,je,M);else{if(K(Fe,G(ee,Ce,je)),Fe.length===Ee)return Fe;for(var Pt=1;Pt<=Ft.length-1;Pt++)if(K(Fe,Ft[Pt]),Fe.length===Ee)return Fe;je=Ce=_t}}return K(Fe,G(ee,Ce)),Fe}]},!oe,D)},58127:function(d,g,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),s=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(R){var L=f(h(this));s(R);var T=c(y(arguments.length>1?arguments[1]:void 0,L.length)),D=f(R);return x?x(L,D,T):p(L,T,T+D.length)===D}})},72571:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("strike")},{strike:function(){return i(this,"strike","","")}})},71200:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sub")},{sub:function(){return i(this,"sub","","")}})},70917:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),s=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),R,L;return S===1/0&&(S=0),S<0&&(S=h(b+S,0)),R=y===void 0?b:c(y),R<=0||R===1/0?"":(L=u(S+R,b),S>=L?"":s(_,S,L))}})},85767:function(d,g,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sup")},{sup:function(){return i(this,"sup","","")}})},53427:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(94237),c=e(95955),f=e(69905),s=e(3338),h=Array,u=l("".charAt),a=l("".charCodeAt),x=l([].join),p="".toWellFormed,y="\uFFFD",_=p&&s(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 R=S.length,L=h(R),T=0;T<R;T++){var D=a(S,T);(D&63488)!==55296?L[T]=u(S,T):D>=56320||T+1>=R||(a(S,T+1)&64512)!==56320?L[T]=y:(L[T]=u(S,T),L[++T]=u(S,T))}return x(L,"")}})},49257:function(d,g,e){"use strict";e(20189);var r=e(94488),i=e(9591);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},93980:function(d,g,e){"use strict";var r=e(94488),i=e(27374);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==i},{trimLeft:i})},20189:function(d,g,e){"use strict";var r=e(94488),i=e(9591);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},72910:function(d,g,e){"use strict";e(93980);var r=e(94488),i=e(27374);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==i},{trimStart:i})},70878:function(d,g,e){"use strict";var r=e(94488),i=e(52971).trim,l=e(18105);r({target:"String",proto:!0,forced:l("trim")},{trim:function(){return i(this)}})},64003:function(d,g,e){"use strict";var r=e(94674);r("asyncIterator")},39161:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(89945),c=e(94237),f=e(16697),s=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),R=e(20132),L=e(7733),T=e(80689),D=e(53393),B=e(92635),$=e(71256),U=e(37691),V=e(55666),K=e(27597),G=e(2291),oe=e(64110),ae=e(77898),le=e(11898),Q=e(54406),J=e(6145),Y=e(59893),ue=e(38282),ne=e(94674),ee=e(14311),ie=e(94573),F=e(94844),M=e(90560).forEach,q=le("hidden"),de="Symbol",Ee="prototype",Ce=F.set,je=F.getterFor(de),Fe=Object[Ee],Ft=i.Symbol,_t=Ft&&Ft[Ee],Pt=i.RangeError,Qt=i.TypeError,er=i.QObject,Jt=$.f,Xe=U.f,It=D.f,zt=K.f,st=c([].push),bt=ae("symbols"),ht=ae("op-symbols"),Je=ae("wks"),Ue=!er||!er[Ee]||!er[Ee].findChild,ge=function(Qe,Vt,kt){var Ht=Jt(Fe,Vt);Ht&&delete Fe[Vt],Xe(Qe,Vt,kt),Ht&&Qe!==Fe&&Xe(Fe,Vt,Ht)},Ae=s&&u(function(){return R(Xe({},"a",{get:function(){return Xe(this,"a",{value:7}).a}})).a!==7})?ge:Xe,Me=function(Qe,Vt){var kt=bt[Qe]=R(_t);return Ce(kt,{type:de,tag:Qe,description:Vt}),s||(kt.description=Vt),kt},$e=function(Vt,kt,Ht){Vt===Fe&&$e(ht,kt,Ht),p(Vt);var $t=_(kt);return p(Ht),a(bt,$t)?(Ht.enumerable?(a(Vt,q)&&Vt[q][$t]&&(Vt[q][$t]=!1),Ht=R(Ht,{enumerable:S(0,!1)})):(a(Vt,q)||Xe(Vt,q,S(1,{})),Vt[q][$t]=!0),Ae(Vt,$t,Ht)):Xe(Vt,$t,Ht)},He=function(Vt,kt){p(Vt);var Ht=y(kt),$t=L(Ht).concat(De(Ht));return M($t,function(Ct){(!s||l(ct,Ht,Ct))&&$e(Vt,Ct,Ht[Ct])}),Vt},nt=function(Vt,kt){return kt===void 0?R(Vt):He(R(Vt),kt)},ct=function(Vt){var kt=_(Vt),Ht=l(zt,this,kt);return this===Fe&&a(bt,kt)&&!a(ht,kt)?!1:Ht||!a(this,kt)||!a(bt,kt)||a(this,q)&&this[q][kt]?Ht:!0},Kt=function(Vt,kt){var Ht=y(Vt),$t=_(kt);if(!(Ht===Fe&&a(bt,$t)&&!a(ht,$t))){var Ct=Jt(Ht,$t);return Ct&&a(bt,$t)&&!(a(Ht,q)&&Ht[q][$t])&&(Ct.enumerable=!0),Ct}},Wt=function(Vt){var kt=It(y(Vt)),Ht=[];return M(kt,function($t){!a(bt,$t)&&!a(Q,$t)&&st(Ht,$t)}),Ht},De=function(Qe){var Vt=Qe===Fe,kt=It(Vt?ht:y(Qe)),Ht=[];return M(kt,function($t){a(bt,$t)&&(!Vt||a(Fe,$t))&&st(Ht,bt[$t])}),Ht};h||(Ft=function(){if(x(_t,this))throw new Qt("Symbol is not a constructor");var Vt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),kt=J(Vt),Ht=function($t){var Ct=this===void 0?i:this;Ct===Fe&&l(Ht,ht,$t),a(Ct,q)&&a(Ct[q],kt)&&(Ct[q][kt]=!1);var Yt=S(1,$t);try{Ae(Ct,kt,Yt)}catch(Ge){if(!(Ge instanceof Pt))throw Ge;ge(Ct,kt,Yt)}};return s&&Ue&&Ae(Fe,kt,{configurable:!0,set:Ht}),Me(kt,Vt)},_t=Ft[Ee],G(_t,"toString",function(){return je(this).tag}),G(Ft,"withoutSetter",function(Qe){return Me(J(Qe),Qe)}),K.f=ct,U.f=$e,V.f=He,$.f=Kt,T.f=D.f=Wt,B.f=De,ue.f=function(Qe){return Me(Y(Qe),Qe)},s&&(oe(_t,"description",{configurable:!0,get:function(){return je(this).description}}),f||G(Fe,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Ft}),M(L(Je),function(Qe){ne(Qe)}),r({target:de,stat:!0,forced:!h},{useSetter:function(){Ue=!0},useSimple:function(){Ue=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!s},{create:nt,defineProperty:$e,defineProperties:He,getOwnPropertyDescriptor:Kt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Wt}),ee(),ie(Ft,de),Q[q]=!0},44852:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(94237),f=e(32621),s=e(55327),h=e(16332),u=e(69905),a=e(64110),x=e(24538),p=l.Symbol,y=p&&p.prototype;if(i&&s(p)&&(!("description"in y)||p().description!==void 0)){var _={},b=function(){var U=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),V=h(y,this)?new p(U):U===void 0?p():p(U);return U===""&&(_[V]=!0),V};x(b,p),b.prototype=y,y.constructor=b;var S=String(p("description detection"))==="Symbol(description detection)",R=c(y.valueOf),L=c(y.toString),T=/^Symbol\((.*)\)[^)]+$/,D=c("".replace),B=c("".slice);a(y,"description",{configurable:!0,get:function(){var U=R(this);if(f(_,U))return"";var V=L(U),K=S?B(V,7,-1):D(V,T,"$1");return K===""?void 0:K}}),r({global:!0,constructor:!0,forced:!0},{Symbol:b})}},54524:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(32621),c=e(69905),f=e(77898),s=e(60798),h=f("string-to-symbol-registry"),u=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{for:function(a){var x=c(a);if(l(h,x))return h[x];var p=i("Symbol")(x);return h[x]=p,u[p]=x,p}})},17898:function(d,g,e){"use strict";var r=e(94674);r("hasInstance")},40902:function(d,g,e){"use strict";var r=e(94674);r("isConcatSpreadable")},2259:function(d,g,e){"use strict";var r=e(94674);r("iterator")},68557:function(d,g,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(d,g,e){"use strict";var r=e(94488),i=e(32621),l=e(18446),c=e(40593),f=e(77898),s=e(60798),h=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!s},{keyFor:function(a){if(!l(a))throw new TypeError(c(a)+" is not a symbol");if(i(h,a))return h[a]}})},69811:function(d,g,e){"use strict";var r=e(94674);r("matchAll")},14589:function(d,g,e){"use strict";var r=e(94674);r("match")},18114:function(d,g,e){"use strict";var r=e(94674);r("replace")},23844:function(d,g,e){"use strict";var r=e(94674);r("search")},39581:function(d,g,e){"use strict";var r=e(94674);r("species")},40632:function(d,g,e){"use strict";var r=e(94674);r("split")},22690:function(d,g,e){"use strict";var r=e(94674),i=e(14311);r("toPrimitive"),i()},7786:function(d,g,e){"use strict";var r=e(65911),i=e(94674),l=e(94573);i("toStringTag"),l(r("Symbol"),"Symbol")},99062:function(d,g,e){"use strict";var r=e(94674);r("unscopables")},35246:function(d,g,e){"use strict";var r=e(58261),i=e(82762),l=e(56902),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("at",function(h){var u=c(this),a=i(u),x=l(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]})},83470:function(d,g,e){"use strict";var r=e(94237),i=e(58261),l=e(92670),c=r(l),f=i.aTypedArray,s=i.exportTypedArrayMethod;s("copyWithin",function(u,a){return c(f(this),u,a,arguments.length>2?arguments[2]:void 0)})},79641:function(d,g,e){"use strict";var r=e(58261),i=e(90560).every,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("every",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},72397:function(d,g,e){"use strict";var r=e(58261),i=e(75202),l=e(93303),c=e(97607),f=e(89945),s=e(94237),h=e(3338),u=r.aTypedArray,a=r.exportTypedArrayMethod,x=s("".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,g,e){"use strict";var r=e(58261),i=e(90560).filter,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filter",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)})},56233:function(d,g,e){"use strict";var r=e(58261),i=e(90560).findIndex,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findIndex",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},64344:function(d,g,e){"use strict";var r=e(58261),i=e(53279).findLastIndex,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findLastIndex",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},59419:function(d,g,e){"use strict";var r=e(58261),i=e(53279).findLast,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findLast",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},19320:function(d,g,e){"use strict";var r=e(58261),i=e(90560).find,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("find",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},84432:function(d,g,e){"use strict";var r=e(69733);r("Float32",function(i){return function(c,f,s){return i(this,c,f,s)}})},59022:function(d,g,e){"use strict";var r=e(69733);r("Float64",function(i){return function(c,f,s){return i(this,c,f,s)}})},5316:function(d,g,e){"use strict";var r=e(58261),i=e(90560).forEach,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("forEach",function(s){i(l(this),s,arguments.length>1?arguments[1]:void 0)})},93744:function(d,g,e){"use strict";var r=e(59627),i=e(58261).exportTypedArrayStaticMethod,l=e(50706);i("from",l,r)},19299:function(d,g,e){"use strict";var r=e(58261),i=e(22999).includes,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("includes",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},15286:function(d,g,e){"use strict";var r=e(58261),i=e(22999).indexOf,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("indexOf",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},51054:function(d,g,e){"use strict";var r=e(69733);r("Int16",function(i){return function(c,f,s){return i(this,c,f,s)}})},60330:function(d,g,e){"use strict";var r=e(69733);r("Int32",function(i){return function(c,f,s){return i(this,c,f,s)}})},19363:function(d,g,e){"use strict";var r=e(69733);r("Int8",function(i){return function(c,f,s){return i(this,c,f,s)}})},91927:function(d,g,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(58261),f=e(11005),s=e(59893),h=s("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])}),R=!!b&&b.values&&b[h]===b.values&&b.values.name==="values",L=function(){return a(y(this))};_("entries",function(){return p(y(this))},S),_("keys",function(){return x(y(this))},S),_("values",L,S||!R,{name:"values"}),_(h,L,S||!R,{name:"values"})},27730:function(d,g,e){"use strict";var r=e(58261),i=e(94237),l=r.aTypedArray,c=r.exportTypedArrayMethod,f=i([].join);c("join",function(h){return f(l(this),h)})},58707:function(d,g,e){"use strict";var r=e(58261),i=e(13743),l=e(55009),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("lastIndexOf",function(h){var u=arguments.length;return i(l,c(this),u>1?[h,arguments[1]]:[h])})},41356:function(d,g,e){"use strict";var r=e(58261),i=e(90560).map,l=e(31384),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("map",function(h){return i(c(this),h,arguments.length>1?arguments[1]:void 0,function(u,a){return new(l(u))(a)})})},51606:function(d,g,e){"use strict";var r=e(58261),i=e(59627),l=r.aTypedArrayConstructor,c=r.exportTypedArrayStaticMethod;c("of",function(){for(var s=0,h=arguments.length,u=new(l(this))(h);h>s;)u[s]=arguments[s++];return u},i)},38458:function(d,g,e){"use strict";var r=e(58261),i=e(16370).right,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("reduceRight",function(s){var h=arguments.length;return i(l(this),s,h,h>1?arguments[1]:void 0)})},8966:function(d,g,e){"use strict";var r=e(58261),i=e(16370).left,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("reduce",function(s){var h=arguments.length;return i(l(this),s,h,h>1?arguments[1]:void 0)})},71957:function(d,g,e){"use strict";var r=e(58261),i=r.aTypedArray,l=r.exportTypedArrayMethod,c=Math.floor;l("reverse",function(){for(var s=this,h=i(s).length,u=c(h/2),a=0,x;a<u;)x=s[a],s[a++]=s[--h],s[h]=x;return s})},89466:function(d,g,e){"use strict";var r=e(92916),i=e(89945),l=e(58261),c=e(82762),f=e(64135),s=e(94029),h=e(3338),u=r.RangeError,a=r.Int8Array,x=a&&a.prototype,p=x&&x.set,y=l.aTypedArray,_=l.exportTypedArrayMethod,b=!h(function(){var R=new Uint8ClampedArray(2);return i(p,R,{length:1,0:3},1),R[1]!==3}),S=b&&l.NATIVE_ARRAY_BUFFER_VIEWS&&h(function(){var R=new a(2);return R.set(1),R.set("2",1),R[0]!==0||R[1]!==2});_("set",function(L){y(this);var T=f(arguments.length>1?arguments[1]:void 0,1),D=s(L);if(b)return i(p,this,D,T);var B=this.length,$=c(D),U=0;if($+T>B)throw new u("Wrong length");for(;U<$;)this[T+U]=D[U++]},!b||S)},69653:function(d,g,e){"use strict";var r=e(58261),i=e(31384),l=e(3338),c=e(30867),f=r.aTypedArray,s=r.exportTypedArrayMethod,h=l(function(){new Int8Array(1).slice()});s("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,g,e){"use strict";var r=e(58261),i=e(90560).some,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("some",function(s){return i(l(this),s,arguments.length>1?arguments[1]:void 0)})},95576:function(d,g,e){"use strict";var r=e(92916),i=e(34114),l=e(3338),c=e(63335),f=e(63668),s=e(58261),h=e(78177),u=e(17687),a=e(46573),x=e(19684),p=s.aTypedArray,y=s.exportTypedArrayMethod,_=r.Uint16Array,b=_&&i(_.prototype.sort),S=!!b&&!(l(function(){b(new _(2),null)})&&l(function(){b(new _(2),{})})),R=!!b&&!l(function(){if(a)return a<74;if(h)return h<67;if(u)return!0;if(x)return x<602;var T=new _(516),D=Array(516),B,$;for(B=0;B<516;B++)$=B%4,T[B]=515-B,D[B]=B-2*$+3;for(b(T,function(U,V){return(U/4|0)-(V/4|0)}),B=0;B<516;B++)if(T[B]!==D[B])return!0}),L=function(T){return function(D,B){return T!==void 0?+T(D,B)||0:B!==B?-1:D!==D?1:D===0&&B===0?1/D>0&&1/B<0?1:-1:D>B}};y("sort",function(D){return D!==void 0&&c(D),R?b(this,D):f(p(this),L(D))},!R||S)},63079:function(d,g,e){"use strict";var r=e(58261),i=e(61578),l=e(51981),c=e(31384),f=r.aTypedArray,s=r.exportTypedArrayMethod;s("subarray",function(u,a){var x=f(this),p=x.length,y=l(u,p),_=c(x);return new _(x.buffer,x.byteOffset+y*x.BYTES_PER_ELEMENT,i((a===void 0?p:l(a,p))-y))})},8995:function(d,g,e){"use strict";var r=e(92916),i=e(13743),l=e(58261),c=e(3338),f=e(30867),s=r.Int8Array,h=l.aTypedArray,u=l.exportTypedArrayMethod,a=[].toLocaleString,x=!!s&&c(function(){a.call(new s(1))}),p=c(function(){return[1,2].toLocaleString()!==new s([1,2]).toLocaleString()})||!c(function(){s.prototype.toLocaleString.call([1,2])});u("toLocaleString",function(){return i(a,x?f(h(this)):h(this),f(arguments))},p)},23080:function(d,g,e){"use strict";var r=e(85903),i=e(58261),l=i.aTypedArray,c=i.exportTypedArrayMethod,f=i.getTypedArrayConstructor;c("toReversed",function(){return r(l(this),f(this))})},74701:function(d,g,e){"use strict";var r=e(58261),i=e(94237),l=e(63335),c=e(69478),f=r.aTypedArray,s=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(s(p),p);return u(y,x)})},91809:function(d,g,e){"use strict";var r=e(58261).exportTypedArrayMethod,i=e(3338),l=e(92916),c=e(94237),f=l.Uint8Array,s=f&&f.prototype||{},h=[].toString,u=c([].join);i(function(){h.call({})})&&(h=function(){return u(this)});var a=s.toString!==h;r("toString",h,a)},64336:function(d,g,e){"use strict";var r=e(69733);r("Uint16",function(i){return function(c,f,s){return i(this,c,f,s)}})},63914:function(d,g,e){"use strict";var r=e(69733);r("Uint32",function(i){return function(c,f,s){return i(this,c,f,s)}})},55234:function(d,g,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,s){return i(this,c,f,s)}})},88104:function(d,g,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,s){return i(this,c,f,s)}},!0)},77517:function(d,g,e){"use strict";var r=e(82041),i=e(58261),l=e(75406),c=e(56902),f=e(93303),s=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=s(this),_=c(x),b=l(y)?f(p):+p;return r(y,h(y),_,b)},!a)},30149:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=String.fromCharCode,f=i("".charAt),s=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,R,L;S<b;){if(R=f(y,S++),R==="%"){if(f(y,S)==="u"){if(L=h(y,S+1,S+5),s(a,L)){_+=c(parseInt(L,16)),S+=5;continue}}else if(L=h(y,S,S+2),s(u,L)){_+=c(parseInt(L,16)),S+=2;continue}}_+=R}return _}})},58453:function(d,g,e){"use strict";var r=e(13247),i=e(92916),l=e(94237),c=e(66477),f=e(2074),s=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,R=y.isSealed,L=y.freeze,T=y.seal,D={},B={},$=!i.ActiveXObject&&"ActiveXObject"in i,U,V=function(Y){return function(){return Y(this,arguments.length?arguments[0]:void 0)}},K=s("WeakMap",V,h),G=K.prototype,oe=l(G.set),ae=function(){return r&&x(function(){var Y=L([]);return oe(new K,Y,1),!S(Y)})};if(p)if($){U=h.getConstructor(V,"WeakMap",!0),f.enable();var le=l(G.delete),Q=l(G.has),J=l(G.get);c(G,{delete:function(Y){if(u(Y)&&!b(Y)){var ue=a(this);return ue.frozen||(ue.frozen=new U),le(this,Y)||ue.frozen.delete(Y)}return le(this,Y)},has:function(ue){if(u(ue)&&!b(ue)){var ne=a(this);return ne.frozen||(ne.frozen=new U),Q(this,ue)||ne.frozen.has(ue)}return Q(this,ue)},get:function(ue){if(u(ue)&&!b(ue)){var ne=a(this);return ne.frozen||(ne.frozen=new U),Q(this,ue)?J(this,ue):ne.frozen.get(ue)}return J(this,ue)},set:function(ue,ne){if(u(ue)&&!b(ue)){var ee=a(this);ee.frozen||(ee.frozen=new U),Q(this,ue)?oe(this,ue,ne):ee.frozen.set(ue,ne)}else oe(this,ue,ne);return this}})}else ae()&&c(G,{set:function(ue,ne){var ee;return _(ue)&&(S(ue)?ee=D:R(ue)&&(ee=B)),oe(this,ue,ne),ee===D&&L(ue),ee===B&&T(ue),this}})},55410:function(d,g,e){"use strict";e(58453)},65092:function(d,g,e){"use strict";var r=e(48059),i=e(39656);r("WeakSet",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},46161:function(d,g,e){"use strict";e(65092)},88900:function(d,g,e){"use strict";var r=e(35454),i=e(64110),l=e(93683),c=ArrayBuffer.prototype;r&&!("detached"in c)&&i(c,"detached",{configurable:!0,get:function(){return l(this)}})},81138:function(d,g,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},54815:function(d,g,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},2722:function(d,g,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterOut:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterOut")},55885:function(d,g,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterReject:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterReject")},91130:function(d,g,e){"use strict";var r=e(94488),i=e(32278);r({target:"Array",stat:!0},{fromAsync:i})},64963:function(d,g,e){"use strict";var r=e(94488),i=e(45601),l=e(81181),c=e(33940),f=e(16697);r({target:"Array",proto:!0,name:"groupToMap",forced:f||!i("groupByToMap")},{groupByToMap:c}),l("groupByToMap")},8604:function(d,g,e){"use strict";var r=e(94488),i=e(36444),l=e(45601),c=e(81181);r({target:"Array",proto:!0,forced:!l("groupBy")},{groupBy:function(s){var h=arguments.length>1?arguments[1]:void 0;return i(this,s,h)}}),c("groupBy")},25178:function(d,g,e){"use strict";var r=e(94488),i=e(81181),l=e(33940),c=e(16697);r({target:"Array",proto:!0,forced:c},{groupToMap:l}),i("groupToMap")},39034:function(d,g,e){"use strict";var r=e(94488),i=e(36444),l=e(81181);r({target:"Array",proto:!0},{group:function(f){var s=arguments.length>1?arguments[1]:void 0;return i(this,f,s)}}),l("group")},1905:function(d,g,e){"use strict";var r=e(94488),i=e(18589),l=Object.isFrozen,c=function(f,s){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"||s&&a===void 0))return!1;return u!==0};r({target:"Array",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(s){if(!c(s,!0))return!1;var h=s.raw;return h.length===s.length&&c(h,!1)}})},94306:function(d,g,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastIndex",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?0:u-1}}),i("lastIndex"))},11762:function(d,g,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastItem",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?void 0:h[u-1]},set:function(h){var u=l(this),a=c(u);return u[a===0?0:a-1]=h}}),i("lastItem"))},93164:function(d,g,e){"use strict";var r=e(94488),i=e(81181),l=e(65621);r({target:"Array",proto:!0,forced:!0},{uniqueBy:l}),i("uniqueBy")},37252:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),s=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"),R=a("toStringTag"),L="AsyncDisposableStack",T=x.set,D=x.getterFor(L),B="async-dispose",$="disposed",U="pending",V=function(oe){var ae=D(oe);if(ae.state===$)throw new b(L+" already disposed");return ae},K=function(){T(f(this,G),{type:L,state:U,stack:[]}),i||(this.disposed=!1)},G=K.prototype;h(G,{disposeAsync:function(){var ae=this;return new y(function(le,Q){var J=D(ae);if(J.state===$)return le(void 0);J.state=$,i||(ae.disposed=!0);var Y=J.stack,ue=Y.length,ne=!1,ee,ie=function(M){ne?ee=new _(M,ee):(ne=!0,ee=M),F()},F=function(){if(ue){var M=Y[--ue];Y[ue]=null;try{y.resolve(M()).then(F,ie)}catch(q){ie(q)}}else J.stack=null,ne?Q(ee):le(void 0)};F()})},use:function(ae){return p(V(this),ae,B),ae},adopt:function(ae,le){var Q=V(this);return c(le),p(Q,void 0,B,function(){return le(ae)}),ae},defer:function(ae){var le=V(this);c(ae),p(le,void 0,B,ae)},move:function(){var ae=V(this),le=new K;return D(le).stack=ae.stack,ae.stack=[],ae.state=$,i||(this.disposed=!0),le}}),i&&u(G,"disposed",{configurable:!0,get:function(){return D(this).state===$}}),s(G,S,G.disposeAsync,{name:"disposeAsync"}),s(G,R,L,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:K})},48966:function(d,g,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},13015:function(d,g,e){"use strict";var r=e(89945),i=e(2291),l=e(65911),c=e(53776),f=e(32621),s=e(59893),h=e(14052),u=s("asyncDispose"),a=l("Promise");f(h,u)||i(h,u,function(){var x=this;return new a(function(p,y){var _=c(x,"return");_?a.resolve(r(_,x)).then(function(){p(void 0)},y):p(void 0)})})},81673:function(d,g,e){"use strict";var r=e(94488),i=e(56472),l=e(53456),c=e(68151),f=e(32621),s=e(59893),h=e(14052),u=e(16697),a=s("toStringTag"),x=TypeError,p=function(){if(i(this,h),l(this)===h)throw new x("Abstract class AsyncIterator not directly constructable")};p.prototype=h,f(h,a)||c(h,a,"AsyncIterator"),(u||!f(h,"constructor")||h.constructor===Object)&&c(h,"constructor",p),r({global:!0,constructor:!0,forced:u},{AsyncIterator:p})},78527:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=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(L){y.done=!0,b(L)},R=function(){try{p.resolve(l(i(y.next,y.iterator))).then(function(L){try{l(L).done?(y.done=!0,_(u(void 0,!0))):y.remaining?(y.remaining--,R()):_(u(L.value,!1))}catch(T){S(T)}},S)}catch(L){S(L)}};R()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{drop:function(y){l(this);var _=s(f(+y));return new x(c(this),{remaining:_})}})},20511:function(d,g,e){"use strict";var r=e(94488),i=e(55266).every;r({target:"AsyncIterator",proto:!0,real:!0},{every:function(c){return i(this,c)}})},78366:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),s=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(R,L){var T=function($){_.done=!0,L($)},D=function($){a(b,T,$,T)},B=function(){try{y.resolve(c(i(_.next,b))).then(function($){try{if(c($).done)_.done=!0,R(u(void 0,!0));else{var U=$.value;try{var V=S(U,_.counter++),K=function(G){G?R(u(U,!1)):B()};f(V)?y.resolve(V).then(K,D):K(V)}catch(G){D(G)}}}catch(G){T(G)}},T)}catch($){T($)}};B()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:x},{filter:function(_){return c(this),l(_),new p(s(this),{predicate:_})}})},27427:function(d,g,e){"use strict";var r=e(94488),i=e(55266).find;r({target:"AsyncIterator",proto:!0,real:!0},{find:function(c){return i(this,c)}})},43890:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),s=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,R=b.mapper;return new _(function(L,T){var D=function(V){b.done=!0,T(V)},B=function(V){x(S,D,V,D)},$=function(){try{_.resolve(c(i(b.next,S))).then(function(V){try{if(c(V).done)b.done=!0,L(u(void 0,!0));else{var K=V.value;try{var G=R(K,b.counter++),oe=function(ae){try{b.inner=a(ae),U()}catch(le){B(le)}};f(G)?_.resolve(G).then(oe,B):oe(G)}catch(ae){B(ae)}}}catch(ae){D(ae)}},D)}catch(V){D(V)}},U=function(){var V=b.inner;if(V)try{_.resolve(c(i(V.next,V.iterator))).then(function(K){try{c(K).done?(b.inner=null,$()):L(u(K.value,!1))}catch(G){B(G)}},B)}catch(K){B(K)}else $()};U()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:p},{flatMap:function(b){return c(this),l(b),new y(s(this),{mapper:b,inner:null})}})},55844:function(d,g,e){"use strict";var r=e(94488),i=e(55266).forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(c){return i(this,c)}})},71361:function(d,g,e){"use strict";var r=e(94488),i=e(94029),l=e(16332),c=e(38116),f=e(14052),s=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 s(x)}})},44550:function(d,g,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{indexed:i})},413:function(d,g,e){"use strict";var r=e(94488),i=e(41586),l=e(16697);r({target:"AsyncIterator",proto:!0,real:!0,forced:l},{map:i})},77464:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),s=e(65911),h=e(10731),u=e(28255),a=s("Promise"),x=TypeError;r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(y){c(this),l(y);var _=h(this),b=_.iterator,S=_.next,R=arguments.length<2,L=R?void 0:arguments[1],T=0;return new a(function(D,B){var $=function(V){u(b,B,V,B)},U=function(){try{a.resolve(c(i(S,b))).then(function(V){try{if(c(V).done)R?B(new x("Reduce of empty iterator with no initial value")):D(L);else{var K=V.value;if(R)R=!1,L=K,U();else try{var G=y(L,K,T),oe=function(ae){L=ae,U()};f(G)?a.resolve(G).then(oe,$):oe(G)}catch(ae){$(ae)}}T++}catch(ae){B(ae)}},B)}catch(V){B(V)}};U()})}})},77703:function(d,g,e){"use strict";var r=e(94488),i=e(55266).some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(c){return i(this,c)}})},93854:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=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(R){return l(R).done?(y.done=!0,u(void 0,!0)):u(R.value,!1)}).then(null,function(R){throw y.done=!0,R})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var _=s(f(+y));return new x(c(this),{remaining:_})}})},962:function(d,g,e){"use strict";var r=e(94488),i=e(55266).toArray;r({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return i(this,void 0,[])}})},44169:function(d,g,e){"use strict";var r=e(94488),i=e(17243);typeof BigInt=="function"&&r({target:"BigInt",stat:!0,forced:!0},{range:function(c,f,s){return new i(c,f,s,"bigint",BigInt(0),BigInt(1))}})},56272:function(d,g,e){"use strict";var r=e(94488),i=e(13743),l=e(32754),c=e(65911),f=e(20132),s=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,s,arguments).get("object",h)}})},43466:function(d,g,e){"use strict";var r=e(94488),i=e(32754),l=e(65911),c=e(13743);r({global:!0,forced:!0},{compositeSymbol:function(){return arguments.length===1&&typeof arguments[0]=="string"?l("Symbol").for(arguments[0]):c(i,null,arguments).get("symbol",l("Symbol"))}})},48156:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(61618).unpack,c=i(DataView.prototype.getUint16);r({target:"DataView",proto:!0},{getFloat16:function(s){var h=c(this,s,arguments.length>1?arguments[1]:!1);return l([h&255,h>>8&255],10)}})},93236:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=i(DataView.prototype.getUint8);r({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(f){return l(this,f)}})},42212:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(97607),c=e(24225),f=e(61618).pack,s=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(s(p),10,2);return u(this,y,_[1]<<8|_[0],arguments.length>2?arguments[2]:!1)}})},63923:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(97607),c=e(24225),f=e(86350),s=TypeError,h=i(DataView.prototype.setUint8);r({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(a,x){if(l(this)!=="DataView")throw new s("Incorrect receiver");var p=c(a);return h(this,p,f(x))}})},2278:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),s=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"),R="DisposableStack",L=x.set,T=x.getterFor(R),D="sync-dispose",B="disposed",$="pending",U=function(G){var oe=T(G);if(oe.state===B)throw new _(R+" already disposed");return oe},V=function(){L(f(this,K),{type:R,state:$,stack:[]}),i||(this.disposed=!1)},K=V.prototype;h(K,{dispose:function(){var oe=T(this);if(oe.state!==B){oe.state=B,i||(this.disposed=!0);for(var ae=oe.stack,le=ae.length,Q=!1,J;le;){var Y=ae[--le];ae[le]=null;try{Y()}catch(ue){Q?J=new y(ue,J):(Q=!0,J=ue)}}if(oe.stack=null,Q)throw J}},use:function(oe){return p(U(this),oe,D),oe},adopt:function(oe,ae){var le=U(this);return c(ae),p(le,void 0,D,function(){ae(oe)}),oe},defer:function(oe){var ae=U(this);c(oe),p(ae,void 0,D,oe)},move:function(){var oe=U(this),ae=new V;return T(ae).stack=oe.stack,oe.stack=[],oe.state=B,i||(this.disposed=!0),ae}}),i&&u(K,"disposed",{configurable:!0,get:function(){return T(this).state===B}}),s(K,b,K.dispose,{name:"dispose"}),s(K,S,R,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:V})},36955:function(d,g,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0},{demethodize:i})},77326:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(55327),c=e(15212),f=e(32621),s=e(35454),h=Object.getOwnPropertyDescriptor,u=/^\s*class\b/,a=i(u.exec),x=function(p){try{if(!s||!a(u,c(p)))return!1}catch(_){}var y=h(p,"prototype");return!!y&&f(y,"writable")&&!y.writable};r({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(y){return l(y)&&!x(y)}})},53571:function(d,g,e){"use strict";var r=e(94488),i=e(39812);r({target:"Function",stat:!0,forced:!0},{isConstructor:i})},28670:function(d,g,e){"use strict";var r=e(59893),i=e(37691).f,l=r("metadata"),c=Function.prototype;c[l]===void 0&&i(c,l,{value:null})},31050:function(d,g,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:i})},96364:function(d,g,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},25321:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(56472),c=e(80449),f=e(55327),s=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",R="Iterator",L=p("toStringTag"),T=TypeError,D=i[R],B=b||!f(D)||D.prototype!==y||!a(function(){D({})}),$=function(){if(l(this,y),s(this)===y)throw new T("Abstract class Iterator not directly constructable")},U=function(V,K){_?h(y,V,{configurable:!0,get:function(){return K},set:function(G){if(c(this),this===y)throw new T("You can't redefine this property");x(this,V)?this[V]=G:u(this,V,G)}}):y[V]=K};x(y,L)||U(L,R),(B||!x(y,S)||y[S]===Object)&&U(S,$),$.prototype=y,r({global:!0,constructor:!0,forced:B},{Iterator:$})},46304:function(d,g,e){"use strict";var r=e(89945),i=e(2291),l=e(53776),c=e(32621),f=e(59893),s=e(46571).IteratorPrototype,h=f("dispose");c(s,h)||i(s,h,function(){var u=l(this,"return");u&&r(u,this)})},55163:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=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=s(f(+p));return new a(c(this),{remaining:y})}})},78722:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{every:function(h){c(this),l(h);var u=f(this),a=0;return!i(u,function(x,p){if(!h(x,a++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(10731),s=e(20547),h=e(46319),u=e(16697),a=s(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,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{find:function(h){c(this),l(h);var u=f(this),a=0;return i(u,function(x,p){if(h(x,a++))return p(x)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(10731),s=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=s(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,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{forEach:function(h){c(this),l(h);var u=f(this),a=0;i(u,function(x){h(x,a++)},{IS_RECORD:!0})}})},84862:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(94029),c=e(16332),f=e(46571).IteratorPrototype,s=e(20547),h=e(7157),u=e(16697),a=s(function(){return i(this.next,this.iterator)},!0);r({target:"Iterator",stat:!0,forced:u},{from:function(p){var y=h(typeof p=="string"?l(p):p,!0);return c(f,y.iterator)?y.iterator:new a(y)}})},92381:function(d,g,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:i})},19517:function(d,g,e){"use strict";var r=e(94488),i=e(2155),l=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:l},{map:i})},69667:function(d,g,e){"use strict";var r=e(94488),i=e(17243),l=TypeError;r({target:"Iterator",stat:!0,forced:!0},{range:function(f,s,h){if(typeof f=="number")return new i(f,s,h,"number",0,1);if(typeof f=="bigint")return new i(f,s,h,"bigint",BigInt(0),BigInt(1));throw new l("Incorrect Iterator.range arguments")}})},80820:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731),s=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 s("Reduce of empty iterator with no initial value");return p}})},87873:function(d,g,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{some:function(h){c(this),l(h);var u=f(this),a=0;return i(u,function(x,p){if(h(x,a++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),s=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 _=s(f(+y));return new x(c(this),{remaining:_})}})},28566:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(62003),c=e(10731),f=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var h=[];return l(c(i(this)),f,{that:h,IS_RECORD:!0}),h}})},51697:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(57975),c=e(80025),f=e(10731),s=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:s},{toAsync:function(){return new c(f(new l(f(i(this)))))}})},61872:function(d,g,e){"use strict";var r=e(94488),i=e(82778),l=e(83502);r({target:"JSON",stat:!0,forced:!i},{isRawJSON:l})},76077:function(d,g,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(65911),f=e(94237),s=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),R=e(42820),L=l.JSON,T=l.Number,D=l.SyntaxError,B=L&&L.parse,$=c("Object","keys"),U=Object.getOwnPropertyDescriptor,V=f("".charAt),K=f("".slice),G=f(/./.exec),oe=f([].push),ae=/^\d$/,le=/^[1-9]$/,Q=/^(?:-|\d)$/,J=/^[\t\n\r ]$/,Y=0,ue=1,ne=function(Ee,Ce){Ee=p(Ee);var je=new M(Ee,0,""),Fe=je.parse(),Ft=Fe.value,_t=je.skip(J,Fe.end);if(_t<Ee.length)throw new D('Unexpected extra character: "'+V(Ee,_t)+'" after the parsed data at: '+_t);return h(Ce)?ee({"":Ft},"",Ce,Fe):Ft},ee=function(Ee,Ce,je,Fe){var Ft=Ee[Ce],_t=Fe&&Ft===Fe.value,Pt=_t&&typeof Fe.source=="string"?{source:Fe.source}:{},Qt,er,Jt,Xe,It;if(u(Ft)){var zt=a(Ft),st=_t?Fe.nodes:zt?[]:{};if(zt)for(Qt=st.length,Jt=y(Ft),Xe=0;Xe<Jt;Xe++)ie(Ft,Xe,ee(Ft,""+Xe,je,Xe<Qt?st[Xe]:void 0));else for(er=$(Ft),Jt=y(er),Xe=0;Xe<Jt;Xe++)It=er[Xe],ie(Ft,It,ee(Ft,It,je,x(st,It)?st[It]:void 0))}return s(je,Ee,Ce,Ft,Pt)},ie=function(Ee,Ce,je){if(i){var Fe=U(Ee,Ce);if(Fe&&!Fe.configurable)return}je===void 0?delete Ee[Ce]:_(Ee,Ce,je)},F=function(Ee,Ce,je,Fe){this.value=Ee,this.end=Ce,this.source=je,this.nodes=Fe},M=function(Ee,Ce){this.source=Ee,this.index=Ce};M.prototype={fork:function(Ee){return new M(this.source,Ee)},parse:function(){var Ee=this.source,Ce=this.skip(J,this.index),je=this.fork(Ce),Fe=V(Ee,Ce);if(G(Q,Fe))return je.number();switch(Fe){case"{":return je.object();case"[":return je.array();case'"':return je.string();case"t":return je.keyword(!0);case"f":return je.keyword(!1);case"n":return je.keyword(null)}throw new D('Unexpected character: "'+Fe+'" at: '+Ce)},node:function(Ee,Ce,je,Fe,Ft){return new F(Ce,Fe,Ee?null:K(this.source,je,Fe),Ft)},object:function(){for(var Ee=this.source,Ce=this.index+1,je=!1,Fe={},Ft={};Ce<Ee.length;){if(Ce=this.until(['"',"}"],Ce),V(Ee,Ce)==="}"&&!je){Ce++;break}var _t=this.fork(Ce).string(),Pt=_t.value;Ce=_t.end,Ce=this.until([":"],Ce)+1,Ce=this.skip(J,Ce),_t=this.fork(Ce).parse(),_(Ft,Pt,_t),_(Fe,Pt,_t.value),Ce=this.until([",","}"],_t.end);var Qt=V(Ee,Ce);if(Qt===",")je=!0,Ce++;else if(Qt==="}"){Ce++;break}}return this.node(ue,Fe,this.index,Ce,Ft)},array:function(){for(var Ee=this.source,Ce=this.index+1,je=!1,Fe=[],Ft=[];Ce<Ee.length;){if(Ce=this.skip(J,Ce),V(Ee,Ce)==="]"&&!je){Ce++;break}var _t=this.fork(Ce).parse();if(oe(Ft,_t),oe(Fe,_t.value),Ce=this.until([",","]"],_t.end),V(Ee,Ce)===",")je=!0,Ce++;else if(V(Ee,Ce)==="]"){Ce++;break}}return this.node(ue,Fe,this.index,Ce,Ft)},string:function(){var Ee=this.index,Ce=S(this.source,this.index+1);return this.node(Y,Ce.value,Ee,Ce.end)},number:function(){var Ee=this.source,Ce=this.index,je=Ce;if(V(Ee,je)==="-"&&je++,V(Ee,je)==="0")je++;else if(G(le,V(Ee,je)))je=this.skip(ae,++je);else throw new D("Failed to parse number at: "+je);if(V(Ee,je)==="."&&(je=this.skip(ae,++je)),V(Ee,je)==="e"||V(Ee,je)==="E"){je++,(V(Ee,je)==="+"||V(Ee,je)==="-")&&je++;var Fe=je;if(je=this.skip(ae,je),Fe===je)throw new D("Failed to parse number's exponent value at: "+je)}return this.node(Y,T(K(Ee,Ce,je)),Ce,je)},keyword:function(Ee){var Ce=""+Ee,je=this.index,Fe=je+Ce.length;if(K(this.source,je,Fe)!==Ce)throw new D("Failed to parse value at: "+je);return this.node(Y,Ee,je,Fe)},skip:function(Ee,Ce){for(var je=this.source;Ce<je.length&&G(Ee,V(je,Ce));Ce++);return Ce},until:function(Ee,Ce){Ce=this.skip(J,Ce);for(var je=V(this.source,Ce),Fe=0;Fe<Ee.length;Fe++)if(Ee[Fe]===je)return Ce;throw new D('Unexpected character: "'+je+'" at: '+Ce)}};var q=b(function(){var Ee="9007199254740993",Ce;return B(Ee,function(je,Fe,Ft){Ce=Ft.source}),Ce!==Ee}),de=R&&!b(function(){return 1/B("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:q},{parse:function(Ce,je){return de&&!h(je)?B(Ce):ne(Ce,je)}})},9196:function(d,g,e){"use strict";var r=e(94488),i=e(13247),l=e(82778),c=e(65911),f=e(89945),s=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,R=SyntaxError,L=c("JSON","parse"),T=c("JSON","stringify"),D=c("Object","create"),B=c("Object","freeze"),$=s("".charAt),U=s("".slice),V=s(/./.exec),K=s([].push),G=_(),oe=G.length,ae="Unacceptable as raw JSON",le=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(J){var Y=a(J);if(Y===""||V(le,$(Y,0))||V(le,$(Y,Y.length-1)))throw new R(ae);var ue=L(Y);if(typeof ue=="object"&&ue!==null)throw new R(ae);var ne=D(null);return b(ne,{type:"RawJSON"}),x(ne,"rawJSON",Y),i?B(ne):ne}}),T&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(J,Y,ue){var ne=y(Y),ee=[],ie=T(J,function(je,Fe){var Ft=h(ne)?f(ne,this,S(je),Fe):Fe;return u(Ft)?G+(K(ee,Ft.rawJSON)-1):Ft},ue);if(typeof ie!="string")return ie;for(var F="",M=ie.length,q=0;q<M;q++){var de=$(ie,q);if(de==='"'){var Ee=p(ie,++q).end-1,Ce=U(ie,q,Ee);F+=U(Ce,0,oe)===G?ee[U(Ce,oe)]:'"'+Ce+'"',q=Ee}else F+=de}return F}})},5369:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(2786).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},26259:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(2786),c=l.get,f=l.has,s=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),s(x,u,p)),p):(y=a.insert(u,x),s(x,u,y),y)}})},47736:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(!u(a,x,h))return!1},!0)!==!1}})},28220:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),s=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 s;return f(x,function(_,b){p(_,b,x)&&h(y,b,_)}),y}})},49350:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{key:p}},!0);return a&&a.key}})},62060:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{value:x}},!0);return a&&a.value}})},20126:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"Map",stat:!0,forced:!0},{from:i})},18090:function(d,g,e){"use strict";var r=e(94488),i=e(88134),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(s){return c(l(this),function(h){if(i(h,s))return!0},!0)===!0}})},14309:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(62003),c=e(55327),f=e(63335),s=e(2786).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(u,a){var x=c(this)?this:s,p=new x;f(a);var y=f(p.set);return l(u,function(_){i(y,p,a(_),_)}),p}})},17822:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(f){var s=l(i(this),function(h,u){if(h===f)return{key:u}},!0);return s&&s.key}})},83543:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),s=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 s;return f(x,function(_,b){h(y,p(_,b,x),_)}),y}})},13853:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),s=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 s;return f(x,function(_,b){h(y,b,p(_,b,x))}),y}})},25188:function(d,g,e){"use strict";var r=e(94488),i=e(42683),l=e(62003),c=e(2786).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(s){for(var h=i(this),u=arguments.length,a=0;a<u;)l(arguments[a++],function(x,p){c(h,x,p)},{AS_ENTRIES:!0});return h}})},10215:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"Map",stat:!0,forced:!0},{of:i})},3432:function(d,g,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(95037),f=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p,y){a?(a=!1,x=p):x=h(x,p,y,u)}),a)throw new f("Reduce of empty map with no initial value");return x}})},90486:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(u(a,x,h))return!0},!0)===!0}})},8774:function(d,g,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:i})},6736:function(d,g,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(2786),f=TypeError,s=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?s(y,x):i(_>2?arguments[2]:void 0)(x,y);return u(y,x,p(S,x,y)),y}})},94065:function(d,g,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,forced:!0},{upsert:i})},93036:function(d,g,e){"use strict";var r=e(94488),i=Math.min,l=Math.max;r({target:"Math",stat:!0,forced:!0},{clamp:function(f,s,h){return i(h,l(s,f))}})},75708:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(d,g,e){"use strict";var r=e(94488),i=180/Math.PI;r({target:"Math",stat:!0,forced:!0},{degrees:function(c){return c*i}})},43710:function(d,g,e){"use strict";var r=e(94488),i=e(35175);r({target:"Math",stat:!0},{f16round:i})},66233:function(d,g,e){"use strict";var r=e(94488),i=e(24619),l=e(14894);r({target:"Math",stat:!0,forced:!0},{fscale:function(f,s,h,u,a){return l(i(f,s,h,u,a))}})},92762:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{iaddh:function(l,c,f,s){var h=l>>>0,u=c>>>0,a=f>>>0;return u+(s>>>0)+((h&a|(h|a)&~(h+a>>>0))>>>31)|0}})},24467:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{imulh:function(l,c){var f=65535,s=+l,h=+c,u=s&f,a=h&f,x=s>>16,p=h>>16,y=(x*a>>>0)+(u*a>>>16);return x*p+(y>>16)+((u*p>>>0)+(y&f)>>16)}})},68465:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{isubh:function(l,c,f,s){var h=l>>>0,u=c>>>0,a=f>>>0;return u-(s>>>0)-((~h&a|~(h^a)&h-a>>>0)>>>31)|0}})},77004:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(d,g,e){"use strict";var r=e(94488),i=Math.PI/180;r({target:"Math",stat:!0,forced:!0},{radians:function(c){return c*i}})},51117:function(d,g,e){"use strict";var r=e(94488),i=e(24619);r({target:"Math",stat:!0,forced:!0},{scale:i})},87236:function(d,g,e){"use strict";var r=e(94488),i=e(80449),l=e(1222),c=e(83126),f=e(25587),s=e(94844),h="Seeded Random",u=h+" Generator",a='Math.seededPRNG() argument should have a "seed" field with a finite value.',x=s.set,p=s.getterFor(u),y=TypeError,_=c(function(S){x(this,{type:u,seed:S%2147483647})},h,function(){var S=p(this),R=S.seed=(S.seed*1103515245+12345)%2147483647;return f((R&1073741823)/1073741823,!1)});r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(S){var R=i(S).seed;if(!l(R))throw new y(a);return new _(R)}})},83733:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{signbit:function(l){var c=+l;return c===c&&c===0?1/c===-1/0:c<0}})},92044:function(d,g,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{umulh:function(l,c){var f=65535,s=+l,h=+c,u=s&f,a=h&f,x=s>>>16,p=h>>>16,y=(x*a>>>0)+(u*a>>>16);return x*p+(y>>>16)+((u*p>>>0)+(y&f)>>>16)}})},29190:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c="Invalid number representation",f="Invalid radix",s=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),R=i("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(T,D){var B=1;if(typeof T!="string")throw new u(c);if(!T.length)throw new h(c);if(y(T,0)==="-"&&(B=-1,T=S(T,1),!T.length))throw new h(c);var $=D===void 0?10:l(D);if($<2||$>36)throw new s(f);if(!_(p,T))throw new h(c);var U=R(T,"."),V=a(U[0],$);if(U.length>1&&(V+=a(U[1],$)/x($,U[1].length)),$===10&&b(V,$)!==T)throw new h(c);return B*V}})},10775:function(d,g,e){"use strict";var r=e(94488),i=e(17243);r({target:"Number",stat:!0,forced:!0},{range:function(c,f,s){return new i(c,f,s,"number",0,1)}})},19593:function(d,g,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateEntries:function(c){return new i(c,"entries")}})},26502:function(d,g,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateKeys:function(c){return new i(c,"keys")}})},10174:function(d,g,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateValues:function(c){return new i(c,"values")}})},76867:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(35454),c=e(51996),f=e(63335),s=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),R=e(59893),L=e(94844),T=R("observable"),D="Observable",B="Subscription",$="SubscriptionObserver",U=L.getterFor,V=L.set,K=U(D),G=U(B),oe=U($),ae=function(ue){this.observer=s(ue),this.cleanup=void 0,this.subscriptionObserver=void 0};ae.prototype={type:B,clean:function(){var ue=this.cleanup;if(ue){this.cleanup=void 0;try{ue()}catch(ne){S(ne)}}},close:function(){if(!l){var ue=this.facade,ne=this.subscriptionObserver;ue.closed=!0,ne&&(ne.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var le=function(ue,ne){var ee=V(this,new ae(ue)),ie;l||(this.closed=!1);try{(ie=p(ue,"start"))&&i(ie,ue,this)}catch(de){S(de)}if(!ee.isClosed()){var F=ee.subscriptionObserver=new Q(ee);try{var M=ne(F),q=M;a(M)||(ee.cleanup=u(M.unsubscribe)?function(){q.unsubscribe()}:f(M))}catch(de){F.error(de);return}ee.isClosed()&&ee.clean()}};le.prototype=_({},{unsubscribe:function(){var ne=G(this);ne.isClosed()||(ne.close(),ne.clean())}}),l&&b(le.prototype,"closed",{configurable:!0,get:function(){return G(this).isClosed()}});var Q=function(ue){V(this,{type:$,subscriptionState:ue}),l||(this.closed=!1)};Q.prototype=_({},{next:function(ne){var ee=oe(this).subscriptionState;if(!ee.isClosed()){var ie=ee.observer;try{var F=p(ie,"next");F&&i(F,ie,ne)}catch(M){S(M)}}},error:function(ne){var ee=oe(this).subscriptionState;if(!ee.isClosed()){var ie=ee.observer;ee.close();try{var F=p(ie,"error");F?i(F,ie,ne):S(ne)}catch(M){S(M)}ee.clean()}},complete:function(){var ne=oe(this).subscriptionState;if(!ne.isClosed()){var ee=ne.observer;ne.close();try{var ie=p(ee,"complete");ie&&i(ie,ee)}catch(F){S(F)}ne.clean()}}}),l&&b(Q.prototype,"closed",{configurable:!0,get:function(){return oe(this).subscriptionState.isClosed()}});var J=function(ne){h(this,Y),V(this,{type:D,subscriber:f(ne)})},Y=J.prototype;_(Y,{subscribe:function(ne){var ee=arguments.length;return new le(u(ne)?{next:ne,error:ee>1?arguments[1]:void 0,complete:ee>2?arguments[2]:void 0}:x(ne)?ne:{},K(this).subscriber)}}),y(Y,T,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:J}),c(D)},14548:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(89945),c=e(80449),f=e(39812),s=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(L){return S.subscribe(L)})}var R=s(y);return new _(function(L){u(R,function(T,D){if(L.next(T),L.closed)return D()},{IS_ITERATOR:!0,INTERRUPTED:!0}),L.complete()})}})},96378:function(d,g,e){"use strict";e(76867),e(14548),e(6053)},6053:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(39812),c=i("Array");r({target:"Observable",stat:!0,forced:!0},{of:function(){for(var s=l(this)?this:i("Observable"),h=arguments.length,u=c(h),a=0;a<h;)u[a]=arguments[a++];return new s(function(x){for(var p=0;p<h;p++)if(x.next(u[p]),x.closed)return;x.complete()})}})},58216:function(d,g,e){"use strict";var r=e(94488),i=e(73446),l=e(80734);r({target:"Promise",stat:!0,forced:!0},{try:function(c){var f=i.f(this),s=l(c);return(s.error?f.reject:f.resolve)(s.value),f.promise}})},41401:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{defineMetadata:function(h,u,a){var x=arguments.length<4?void 0:c(arguments[3]);f(h,u,l(a),x)}})},79908:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.getMap,s=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=s.get(a);return y.delete(x),!!y.size||s.delete(a)}})},79890:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(82584),c=e(80449),f=e(53456),s=e(65621),h=i(s),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 R=p(S,_);return R.length?b.length?h(u(b,R)):R:b};r({target:"Reflect",stat:!0},{getMetadataKeys:function(_){var b=arguments.length<2?void 0:x(arguments[1]);return p(c(_),b)}})},82531:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=e(53456),f=i.has,s=i.get,h=i.toKey,u=function(a,x,p){var y=f(a,x,p);if(y)return s(a,x,p);var _=c(x);return _!==null?u(a,_,p):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(x,p){var y=arguments.length<3?void 0:h(arguments[2]);return u(x,l(p),y)}})},38944:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.keys,f=i.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(h){var u=arguments.length<2?void 0:f(arguments[1]);return c(l(h),u)}})},88472:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.get,f=i.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(h,u){var a=arguments.length<3?void 0:f(arguments[2]);return c(h,l(u),a)}})},78423:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=e(53456),f=i.has,s=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:s(arguments[2]);return h(a,l(x),p)}})},65713:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.has,f=i.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(h,u){var a=arguments.length<3?void 0:f(arguments[2]);return c(h,l(u),a)}})},22968:function(d,g,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{metadata:function(h,u){return function(x,p){f(h,u,l(x),c(p))}}})},17564:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=e(19268),f=i("".charCodeAt),s=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":"")+s(x,h,"\\$&")}})},1220:function(d,g,e){"use strict";var r=e(94488),i=e(17442),l=e(19691).add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),s=0,h=arguments.length;s<h;s++)l(f,arguments[s]);return f}})},44886:function(d,g,e){"use strict";var r=e(94488),i=e(17442),l=e(19691).remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},35295:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(10038);r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(s){return i(c,this,l(s))}})},57019:function(d,g,e){"use strict";var r=e(94488),i=e(10038),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("difference")},{difference:i})},80286:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a){if(!u(a,a,h))return!1},!0)!==!1}})},38487:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(19691),f=e(57002),s=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 s;return f(x,function(_){p(_,_,x)&&h(y,_)}),y}})},29916:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0),a=c(h,function(x){if(u(x,x,h))return{value:x}},!0);return a&&a.value}})},25541:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"Set",stat:!0,forced:!0},{from:i})},34926:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(16049);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(s){return i(c,this,l(s))}})},45612:function(d,g,e){"use strict";var r=e(94488),i=e(3338),l=e(16049),c=e(22627),f=!c("intersection")||i(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});r({target:"Set",proto:!0,real:!0,forced:f},{intersection:l})},68255:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(17616);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(s){return i(c,this,l(s))}})},98080:function(d,g,e){"use strict";var r=e(94488),i=e(17616),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isDisjointFrom")},{isDisjointFrom:i})},16450:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(84833);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(s){return i(c,this,l(s))}})},96351:function(d,g,e){"use strict";var r=e(94488),i=e(84833),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isSubsetOf")},{isSubsetOf:i})},86921:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(51135);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(s){return i(c,this,l(s))}})},60244:function(d,g,e){"use strict";var r=e(94488),i=e(51135),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isSupersetOf")},{isSupersetOf:i})},82928:function(d,g,e){"use strict";var r=e(94488),i=e(94237),l=e(17442),c=e(57002),f=e(69905),s=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,_)}),s(y,p)}})},42947:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(19691),f=e(57002),s=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 s;return f(x,function(_){h(y,p(_,_,x))}),y}})},71568:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"Set",stat:!0,forced:!0},{of:i})},94194:function(d,g,e){"use strict";var r=e(94488),i=e(63335),l=e(17442),c=e(57002),f=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p){a?(a=!1,x=p):x=h(x,p,p,u)}),a)throw new f("Reduce of empty set with no initial value");return x}})},30556:function(d,g,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(s){var h=l(this),u=i(s,arguments.length>1?arguments[1]:void 0);return c(h,function(a){if(u(a,a,h))return!0},!0)===!0}})},93102:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(36312);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(s){return i(c,this,l(s))}})},32100:function(d,g,e){"use strict";var r=e(94488),i=e(36312),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("symmetricDifference")},{symmetricDifference:i})},82074:function(d,g,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(24667);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(s){return i(c,this,l(s))}})},1821:function(d,g,e){"use strict";var r=e(94488),i=e(24667),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("union")},{union:i})},13578:function(d,g,e){"use strict";var r=e(94488),i=e(13764).charAt,l=e(95955),c=e(56902),f=e(69905);r({target:"String",proto:!0,forced:!0},{at:function(h){var u=f(l(this)),a=u.length,x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:i(u,p)}})},62882:function(d,g,e){"use strict";var r=e(94488),i=e(83126),l=e(25587),c=e(95955),f=e(69905),s=e(94844),h=e(13764),u=h.codeAt,a=h.charAt,x="String Iterator",p=s.set,y=s.getterFor(x),_=i(function(S){p(this,{type:x,string:S,index:0})},"String",function(){var S=y(this),R=S.string,L=S.index,T;return L>=R.length?l(void 0,!0):(T=a(R,L),S.index+=T.length,l({codePoint:u(T,0),position:L},!1))});r({target:"String",proto:!0,forced:!0},{codePoints:function(){return new _(f(c(this)))}})},59348:function(d,g,e){"use strict";var r=e(94488),i=e(67410);r({target:"String",stat:!0,forced:!0},{cooked:i})},37457:function(d,g,e){"use strict";var r=e(13247),i=e(94488),l=e(86528),c=e(94237),f=e(13743),s=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),R=new y.WeakMap,L=y.get,T=y.has,D=y.set,B=Array,$=TypeError,U=Object.freeze||Object,V=Object.isFrozen,K=Math.min,G=c("".charAt),oe=c("".slice),ae=c("".split),le=c(/./.exec),Q=/([\n\u2028\u2029]|\r\n?)/g,J=RegExp("^["+S+"]*"),Y=RegExp("[^"+S+"]"),ue="Invalid tag",ne="Invalid opening line",ee="Invalid closing line",ie=function(Ce){var je=Ce.raw;if(r&&!V(je))throw new $("Raw template should be frozen");if(T(R,je))return L(R,je);var Fe=F(je),Ft=q(Fe);return x(Ft,"raw",{value:U(Fe)}),U(Ft),D(R,je,Ft),Ft},F=function(Ce){var je=h(Ce),Fe=a(je),Ft=B(Fe),_t=B(Fe),Pt=0,Qt,er,Jt,Xe;if(!Fe)throw new $(ue);for(;Pt<Fe;Pt++){var It=je[Pt];if(typeof It=="string")Ft[Pt]=ae(It,Q);else throw new $(ue)}for(Pt=0;Pt<Fe;Pt++){var zt=Pt+1===Fe;if(Qt=Ft[Pt],Pt===0){if(Qt.length===1||Qt[0].length>0)throw new $(ne);Qt[1]=""}if(zt){if(Qt.length===1||le(Y,Qt[Qt.length-1]))throw new $(ee);Qt[Qt.length-2]="",Qt[Qt.length-1]=""}for(var st=2;st<Qt.length;st+=2){var bt=Qt[st],ht=st+1===Qt.length&&!zt,Je=le(J,bt)[0];if(!ht&&Je.length===bt.length){Qt[st]="";continue}er=M(Je,er)}}var Ue=er?er.length:0;for(Pt=0;Pt<Fe;Pt++){for(Qt=Ft[Pt],Jt=Qt[0],Xe=1;Xe<Qt.length;Xe+=2)Jt+=Qt[Xe]+oe(Qt[Xe+1],Ue);_t[Pt]=Jt}return _t},M=function(Ce,je){if(je===void 0||Ce===je)return Ce;for(var Fe=0,Ft=K(Ce.length,je.length);Fe<Ft&&G(Ce,Fe)===G(je,Fe);Fe++);return oe(Ce,0,Fe)},q=function(Ce){for(var je=0,Fe=Ce.length,Ft=B(Fe);je<Fe;je++)Ft[je]=b(Ce[je]);return Ft},de=function(Ce){return l(function(je){var Fe=p(arguments);return Fe[0]=ie(s(je)),f(Ce,this,Fe)},"")},Ee=de(_);i({target:"String",stat:!0,forced:!0},{dedent:function(je){return s(je),u(je)?de(je):f(Ee,this,arguments)}})},14800:function(d,g,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),s=e(20132),h=e(68151),u=e(35012),a=e(61888),x=e(7825),p=e(59893),y=p("toStringTag"),_=Error,b=function(L,T,D){var B=i(S,this),$;return c?$=c(new _,B?l(this):S):($=B?this:s(S),h($,y,"Error")),D!==void 0&&h($,"message",x(D)),a($,b,$.stack,1),h($,"error",L),h($,"suppressed",T),$};c?c(b,_):f(b,_,{name:!0});var S=b.prototype=s(_.prototype,{constructor:u(1,b),message:u(1,""),name:u(1,"SuppressedError")});r({global:!0,constructor:!0,arity:3},{SuppressedError:b})},70654:function(d,g,e){"use strict";var r=e(92916),i=e(94674),l=e(37691).f,c=e(71256).f,f=r.Symbol;if(i("asyncDispose"),f){var s=c(f,"asyncDispose");s.enumerable&&s.configurable&&s.writable&&l(f,"asyncDispose",{value:s.value,enumerable:!1,configurable:!1,writable:!1})}},90252:function(d,g,e){"use strict";var r=e(92916),i=e(94674),l=e(37691).f,c=e(71256).f,f=r.Symbol;if(i("dispose"),f){var s=c(f,"dispose");s.enumerable&&s.configurable&&s.writable&&l(f,"dispose",{value:s.value,enumerable:!1,configurable:!1,writable:!1})}},29482:function(d,g,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0},{isRegisteredSymbol:i})},51630:function(d,g,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:i})},61933:function(d,g,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:i})},619:function(d,g,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:i})},99675:function(d,g,e){"use strict";var r=e(94674);r("matcher")},53637:function(d,g,e){"use strict";var r=e(94674);r("metadataKey")},52548:function(d,g,e){"use strict";var r=e(94674);r("metadata")},57482:function(d,g,e){"use strict";var r=e(94674);r("observable")},59725:function(d,g,e){"use strict";var r=e(94674);r("patternMatch")},17610:function(d,g,e){"use strict";var r=e(94674);r("replaceAll")},11507:function(d,g,e){"use strict";var r=e(58261),i=e(90560).filterReject,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filterOut",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)},!0)},16315:function(d,g,e){"use strict";var r=e(58261),i=e(90560).filterReject,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filterReject",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)},!0)},56966:function(d,g,e){"use strict";var r=e(65911),i=e(6086),l=e(32278),c=e(58261),f=e(69478),s=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(s(x),b)})},!0)},60239:function(d,g,e){"use strict";var r=e(58261),i=e(36444),l=e(31384),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("groupBy",function(h){var u=arguments.length>1?arguments[1]:void 0;return i(c(this),h,u,l)},!0)},49381:function(d,g,e){"use strict";var r=e(58261),i=e(82762),l=e(75406),c=e(51981),f=e(93303),s=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,R){var L=u(this),T=a(L),D=i(L),B=c(S,D),$=arguments.length,U=0,V,K,G,oe,ae,le,Q;if($===0)V=K=0;else if($===1)V=0,K=D-B;else if(K=y(p(s(R),0),D-B),V=$-2,V){oe=new T(V),G=l(oe);for(var J=2;J<$;J++)ae=arguments[J],oe[J-2]=G?f(ae):+ae}for(le=D+V-K,Q=new T(le);U<B;U++)Q[U]=L[U];for(;U<B+V;U++)Q[U]=oe[U-B];for(;U<le;U++)Q[U]=L[U+K-V];return Q},!_)},17230:function(d,g,e){"use strict";var r=e(94237),i=e(58261),l=e(69478),c=e(65621),f=i.aTypedArray,s=i.getTypedArrayConstructor,h=i.exportTypedArrayMethod,u=r(c);h("uniqueBy",function(x){return f(this),l(s(this),u(this,x))},!0)},62720:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(1674),f=e(79606),s=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),R=l("".slice),L=l([].push),T=/[\t\n\f\r ]/g,D="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function($){f($);var U=arguments.length>1?c(arguments[1]):void 0,V=a(U)==="base64"?x:p,K=U?!!U.strict:!1,G=K?$:S($,T,"");if(G.length%4===0)R(G,-2)==="=="?G=R(G,0,-2):R(G,-1)==="="&&(G=R(G,0,-1));else if(K)throw new _("Input is not correctly padded");var oe=G.length%4;switch(oe){case 1:throw new _("Bad input length");case 2:G+="AA";break;case 3:G+="A"}for(var ae=[],le=0,Q=G.length,J=function(ne){var ee=b(G,le+ne);if(!s(V,ee))throw new _('Bad char in input: "'+ee+'"');return V[ee]<<18-6*ne};le<Q;le+=4){var Y=J(0)+J(1)+J(2)+J(3);L(ae,Y>>16&255,Y>>8&255,Y&255)}var ue=ae.length;if(oe===2){if(K&&ae[ue-2]!==0)throw new _(D);ue-=2}else if(oe===3){if(K&&ae[ue-1]!==0)throw new _(D);ue--}return h(y,ae,ue)}})},57151:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(79606),f=i.Uint8Array,s=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 s("String should have an even number of characters");if(a(u,y))throw new s("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,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(1674),f=e(27270),s=e(66244),h=e(81750),u=s.i2c,a=s.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,R="",L=0,T=_.length,D,B=function($){return p(S,D>>6*$&63)};L+2<T;L+=3)D=(_[L]<<16)+(_[L+1]<<8)+_[L+2],R+=B(3)+B(2)+B(1)+B(0);return L+2===T?(D=(_[L]<<16)+(_[L+1]<<8),R+=B(3)+B(2)+B(1)+"="):L+1===T&&(D=_[L]<<16,R+=B(3)+B(2)+"=="),R}})},18481:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(27270),f=i.Uint8Array,s=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=s(this[a],16);u+=p.length===1?"0"+p:p}return u}})},55055:function(d,g,e){"use strict";var r=e(94488),i=e(63619),l=e(42530).remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},90965:function(d,g,e){"use strict";var r=e(94488),i=e(63619),l=e(42530),c=l.get,f=l.has,s=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),s(x,u,p)),p):(y=a.insert(u,x),s(x,u,y),y)}})},7195:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakMap",stat:!0,forced:!0},{from:i})},89179:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakMap",stat:!0,forced:!0},{of:i})},67725:function(d,g,e){"use strict";var r=e(94488),i=e(14615);r({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:i})},59884:function(d,g,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).add;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),s=0,h=arguments.length;s<h;s++)l(f,arguments[s]);return f}})},89202:function(d,g,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).remove;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),s=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),s=s&&h;return!!s}})},97815:function(d,g,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakSet",stat:!0,forced:!0},{from:i})},11593:function(d,g,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakSet",stat:!0,forced:!0},{of:i})},7597:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),s=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),R=c("".replace),L=c(x.exec),T=!!_&&!s(function(){return _("aGk=")!=="hi"}),D=T&&s(function(){return _(" ")!==""}),B=T&&!s(function(){_("a")}),$=T&&!s(function(){_()}),U=T&&_.length!==1,V=!T||D||B||$||U;r({global:!0,bind:!0,enumerable:!0,forced:V},{atob:function(G){if(u(arguments.length,1),T&&!D&&!B)return f(_,i,G);var oe=R(h(G),p,""),ae="",le=0,Q=0,J,Y,ue;if(oe.length%4===0&&(oe=R(oe,y,"")),J=oe.length,J%4===1||L(x,oe))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;le<J;)Y=S(oe,le++),ue=Q%4?ue*64+a[Y]:a[Y],Q++%4&&(ae+=b(255&ue>>(-2*Q&6)));return ae}})},55182:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),s=e(3338),h=e(69905),u=e(57106),a=e(66244).i2c,x=l("btoa"),p=c("".charAt),y=c("".charCodeAt),_=!!x&&!s(function(){return x("hi")!=="aGk="}),b=_&&!s(function(){x()}),S=_&&s(function(){return x(null)!=="bnVsbA=="}),R=_&&x.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!_||b||S||R},{btoa:function(T){if(u(arguments.length,1),_)return f(x,i,h(T));for(var D=h(T),B="",$=0,U=a,V,K;p(D,$)||(U="=",$%1);){if(K=y(D,$+=.75),K>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");V=V<<8|K,B+=p(U,63&V>>8-$%1*8)}return B}})},91472:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==l},{clearImmediate:l})},34366:function(d,g,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(59594),f=e(68151),s=function(u){if(u&&u.forEach!==c)try{f(u,"forEach",c)}catch(a){u.forEach=c}};for(var h in i)i[h]&&s(r[h]&&r[h].prototype);s(l)},85425:function(d,g,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(11005),f=e(68151),s=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(s(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,g,e){"use strict";var r=e(94488),i=e(11270),l=e(65911),c=e(3338),f=e(20132),s=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),R=e(80739),L=e(94844),T=e(35454),D=e(16697),B="DOMException",$="DATA_CLONE_ERR",U=l("Error"),V=l(B)||function(){try{var _t=l("MessageChannel")||i("worker_threads").MessageChannel;new _t().port1.postMessage(new WeakMap)}catch(Pt){if(Pt.name===$&&Pt.code===25)return Pt.constructor}}(),K=V&&V.prototype,G=U.prototype,oe=L.set,ae=L.getterFor(B),le="stack"in new U(B),Q=function(_t){return x(S,_t)&&S[_t].m?S[_t].c:0},J=function(){p(this,Y);var Pt=arguments.length,Qt=b(Pt<1?void 0:arguments[0]),er=b(Pt<2?void 0:arguments[1],"Error"),Jt=Q(er);if(oe(this,{type:B,name:er,message:Qt,code:Jt}),T||(this.name=er,this.message=Qt,this.code=Jt),le){var Xe=new U(Qt);Xe.name=B,h(this,"stack",s(1,R(Xe.stack,1)))}},Y=J.prototype=f(G),ue=function(_t){return{enumerable:!0,configurable:!0,get:_t}},ne=function(_t){return ue(function(){return ae(this)[_t]})};T&&(a(Y,"code",ne("code")),a(Y,"message",ne("message")),a(Y,"name",ne("name"))),h(Y,"constructor",s(1,J));var ee=c(function(){return!(new V instanceof U)}),ie=ee||c(function(){return G.toString!==_||String(new V(1,2))!=="2: 1"}),F=ee||c(function(){return new V(1,"DataCloneError").code!==25}),M=ee||V[$]!==25||K[$]!==25,q=D?ie||F||M:ee;r({global:!0,constructor:!0,forced:q},{DOMException:q?J:V});var de=l(B),Ee=de.prototype;ie&&(D||V===de)&&u(Ee,"toString",_),F&&T&&V===de&&a(Ee,"code",ue(function(){return Q(y(this).name)}));for(var Ce in S)if(x(S,Ce)){var je=S[Ce],Fe=je.s,Ft=s(6,je.c);x(de,Fe)||h(de,Fe,Ft),x(Ee,Fe)||h(Ee,Fe,Ft)}},41599:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(35012),f=e(37691).f,s=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"),R=l(b),L=function(){h(this,T);var J=arguments.length,Y=a(J<1?void 0:arguments[0]),ue=a(J<2?void 0:arguments[1],"Error"),ne=new R(Y,ue),ee=new S(Y);return ee.name=b,f(ne,"stack",c(1,p(ee.stack,1))),u(ne,this,L),ne},T=L.prototype=R.prototype,D="stack"in new S(b),B="stack"in new R(1,2),$=R&&y&&Object.getOwnPropertyDescriptor(i,b),U=!!$&&!($.writable&&$.configurable),V=D&&!U&&!B;r({global:!0,constructor:!0,forced:_||V},{DOMException:V?L:R});var K=l(b),G=K.prototype;if(G.constructor!==K){_||f(G,"constructor",c(1,K));for(var oe in x)if(s(x,oe)){var ae=x[oe],le=ae.s;s(K,le)||f(K,le,c(6,ae.c))}}},86465:function(d,g,e){"use strict";var r=e(65911),i=e(94573),l="DOMException";i(r(l),l)},78437:function(d,g,e){"use strict";e(91472),e(91700)},73624:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(72933),c=e(63335),f=e(57106),s=e(90946),h=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(a){f(arguments.length,1),c(a);var x=s&&h.domain;l(x?x.bind(a):a)}})},62059:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(64110),c=e(35454),f=TypeError,s=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");s(i,"self",{value:x,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:h},{self:i})}catch(a){}},91700:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).set,c=e(93222),f=i.setImmediate?c(l,!1):l;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==f},{setImmediate:f})},88469:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==c},{setInterval:c})},91572:function(d,g,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==c},{setTimeout:c})},10305:function(d,g,e){"use strict";var r=e(16697),i=e(94488),l=e(92916),c=e(65911),f=e(94237),s=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),R=e(32621),L=e(69392),T=e(68151),D=e(82762),B=e(57106),$=e(81644),U=e(2786),V=e(19691),K=e(57002),G=e(39311),oe=e(25406),ae=e(80426),le=l.Object,Q=l.Array,J=l.Date,Y=l.Error,ue=l.TypeError,ne=l.PerformanceMark,ee=c("DOMException"),ie=U.Map,F=U.has,M=U.get,q=U.set,de=V.Set,Ee=V.add,Ce=V.has,je=c("Object","keys"),Fe=f([].push),Ft=f((!0).valueOf),_t=f(1 .valueOf),Pt=f("".valueOf),Qt=f(J.prototype.getTime),er=h("structuredClone"),Jt="DataCloneError",Xe="Transferring",It=function(De){return!s(function(){var Qe=new l.Set([7]),Vt=De(Qe),kt=De(le(7));return Vt===Qe||!Vt.has(7)||!p(kt)||+kt!=7})&&De},zt=function(De,Qe){return!s(function(){var Vt=new Qe,kt=De({a:Vt,b:Vt});return!(kt&&kt.a===kt.b&&kt.a instanceof Qe&&kt.a.stack===Vt.stack)})},st=function(De){return!s(function(){var Qe=De(new l.AggregateError([1],er,{cause:3}));return Qe.name!=="AggregateError"||Qe.errors[0]!==1||Qe.message!==er||Qe.cause!==3})},bt=l.structuredClone,ht=r||!zt(bt,Y)||!zt(bt,ee)||!st(bt),Je=!bt&&It(function(De){return new ne(er,{detail:De}).detail}),Ue=It(bt)||Je,ge=function(De){throw new ee("Uncloneable type: "+De,Jt)},Ae=function(De,Qe){throw new ee((Qe||"Cloning")+" of "+De+" cannot be properly polyfilled in this engine",Jt)},Me=function(De,Qe){return Ue||Ae(Qe),Ue(De)},$e=function(){var De;try{De=new l.DataTransfer}catch(Qe){try{De=new l.ClipboardEvent("").clipboardData}catch(Vt){}}return De&&De.items&&De.files?De:null},He=function(De,Qe,Vt){if(F(Qe,De))return M(Qe,De);var kt=Vt||S(De),Ht,$t,Ct,Yt,Ge,fe;if(kt==="SharedArrayBuffer")Ue?Ht=Ue(De):Ht=De;else{var _e=l.DataView;!_e&&!u(De.slice)&&Ae("ArrayBuffer");try{if(u(De.slice)&&!De.resizable)Ht=De.slice(0);else for($t=De.byteLength,Ct=("maxByteLength"in De)?{maxByteLength:De.maxByteLength}:void 0,Ht=new ArrayBuffer($t,Ct),Yt=new _e(De),Ge=new _e(Ht),fe=0;fe<$t;fe++)Ge.setUint8(fe,Yt.getUint8(fe))}catch(Ot){throw new ee("ArrayBuffer is detached",Jt)}}return q(Qe,De,Ht),Ht},nt=function(De,Qe,Vt,kt,Ht){var $t=l[Qe];return p($t)||Ae(Qe),new $t(He(De.buffer,Ht),Vt,kt)},ct=function(De,Qe){if(y(De)&&ge("Symbol"),!p(De))return De;if(Qe){if(F(Qe,De))return M(Qe,De)}else Qe=new ie;var Vt=S(De),kt,Ht,$t,Ct,Yt,Ge,fe,_e;switch(Vt){case"Array":$t=Q(D(De));break;case"Object":$t={};break;case"Map":$t=new ie;break;case"Set":$t=new de;break;case"RegExp":$t=new RegExp(De.source,$(De));break;case"Error":switch(Ht=De.name,Ht){case"AggregateError":$t=new(c(Ht))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":$t=new(c(Ht));break;case"CompileError":case"LinkError":case"RuntimeError":$t=new(c("WebAssembly",Ht));break;default:$t=new Y}break;case"DOMException":$t=new ee(De.message,De.name);break;case"ArrayBuffer":case"SharedArrayBuffer":$t=He(De,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":Ge=Vt==="DataView"?De.byteLength:De.length,$t=nt(De,Vt,De.byteOffset,Ge,Qe);break;case"DOMQuad":try{$t=new DOMQuad(ct(De.p1,Qe),ct(De.p2,Qe),ct(De.p3,Qe),ct(De.p4,Qe))}catch(Ot){$t=Me(De,Vt)}break;case"File":if(Ue)try{$t=Ue(De),S($t)!==Vt&&($t=void 0)}catch(Ot){}if(!$t)try{$t=new File([De],De.name,De)}catch(Ot){}$t||Ae(Vt);break;case"FileList":if(Ct=$e(),Ct){for(Yt=0,Ge=D(De);Yt<Ge;Yt++)Ct.items.add(ct(De[Yt],Qe));$t=Ct.files}else $t=Me(De,Vt);break;case"ImageData":try{$t=new ImageData(ct(De.data,Qe),De.width,De.height,{colorSpace:De.colorSpace})}catch(Ot){$t=Me(De,Vt)}break;default:if(Ue)$t=Ue(De);else switch(Vt){case"BigInt":$t=le(De.valueOf());break;case"Boolean":$t=le(Ft(De));break;case"Number":$t=le(_t(De));break;case"String":$t=le(Pt(De));break;case"Date":$t=new J(Qt(De));break;case"Blob":try{$t=De.slice(0,De.size,De.type)}catch(Ot){Ae(Vt)}break;case"DOMPoint":case"DOMPointReadOnly":kt=l[Vt];try{$t=kt.fromPoint?kt.fromPoint(De):new kt(De.x,De.y,De.z,De.w)}catch(Ot){Ae(Vt)}break;case"DOMRect":case"DOMRectReadOnly":kt=l[Vt];try{$t=kt.fromRect?kt.fromRect(De):new kt(De.x,De.y,De.width,De.height)}catch(Ot){Ae(Vt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":kt=l[Vt];try{$t=kt.fromMatrix?kt.fromMatrix(De):new kt(De)}catch(Ot){Ae(Vt)}break;case"AudioData":case"VideoFrame":u(De.clone)||Ae(Vt);try{$t=De.clone()}catch(Ot){ge(Vt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Ae(Vt);default:ge(Vt)}}switch(q(Qe,De,$t),Vt){case"Array":case"Object":for(fe=je(De),Yt=0,Ge=D(fe);Yt<Ge;Yt++)_e=fe[Yt],L($t,_e,ct(De[_e],Qe));break;case"Map":De.forEach(function(Ot,Pe){q($t,ct(Pe,Qe),ct(Ot,Qe))});break;case"Set":De.forEach(function(Ot){Ee($t,ct(Ot,Qe))});break;case"Error":T($t,"message",ct(De.message,Qe)),R(De,"cause")&&T($t,"cause",ct(De.cause,Qe)),Ht==="AggregateError"?$t.errors=ct(De.errors,Qe):Ht==="SuppressedError"&&($t.error=ct(De.error,Qe),$t.suppressed=ct(De.suppressed,Qe));case"DOMException":oe&&T($t,"stack",ct(De.stack,Qe))}return $t},Kt=function(De,Qe){if(!p(De))throw new ue("Transfer option cannot be converted to a sequence");var Vt=[];_(De,function(Pe){Fe(Vt,b(Pe))});for(var kt=0,Ht=D(Vt),$t=new de,Ct,Yt,Ge,fe,_e,Ot;kt<Ht;){if(Ct=Vt[kt++],Yt=S(Ct),Yt==="ArrayBuffer"?Ce($t,Ct):F(Qe,Ct))throw new ee("Duplicate transferable",Jt);if(Yt==="ArrayBuffer"){Ee($t,Ct);continue}if(ae)fe=bt(Ct,{transfer:[Ct]});else switch(Yt){case"ImageBitmap":Ge=l.OffscreenCanvas,a(Ge)||Ae(Yt,Xe);try{_e=new Ge(Ct.width,Ct.height),Ot=_e.getContext("bitmaprenderer"),Ot.transferFromImageBitmap(Ct),fe=_e.transferToImageBitmap()}catch(Pe){}break;case"AudioData":case"VideoFrame":(!u(Ct.clone)||!u(Ct.close))&&Ae(Yt,Xe);try{fe=Ct.clone(),Ct.close()}catch(Pe){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Ae(Yt,Xe)}if(fe===void 0)throw new ee("This object cannot be transferred: "+Yt,Jt);q(Qe,Ct,fe)}return $t},Wt=function(De){K(De,function(Qe){ae?Ue(Qe,{transfer:[Qe]}):u(Qe.transfer)?Qe.transfer():G?G(Qe):Ae("ArrayBuffer",Xe)})};i({global:!0,enumerable:!0,sham:!ae,forced:ht},{structuredClone:function(Qe){var Vt=B(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,kt=Vt?Vt.transfer:void 0,Ht,$t;kt!==void 0&&(Ht=new ie,$t=Kt(kt,Ht));var Ct=ct(Qe,Ht);return $t&&Wt($t),Ct}})},41208:function(d,g,e){"use strict";e(88469),e(91572)},91340:function(d,g,e){"use strict";e(11005);var r=e(94488),i=e(92916),l=e(89945),c=e(94237),f=e(35454),s=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),R=e(80666),L=e(97607),T=e(80449),D=e(31946),B=e(69905),$=e(20132),U=e(35012),V=e(85428),K=e(26006),G=e(25587),oe=e(57106),ae=e(59893),le=e(63668),Q=ae("iterator"),J="URLSearchParams",Y=J+"Iterator",ue=y.set,ne=y.getterFor(J),ee=y.getterFor(Y),ie=Object.getOwnPropertyDescriptor,F=function(Ht){if(!f)return i[Ht];var $t=ie(i,Ht);return $t&&$t.value},M=F("fetch"),q=F("Request"),de=F("Headers"),Ee=q&&q.prototype,Ce=de&&de.prototype,je=i.RegExp,Fe=i.TypeError,Ft=i.decodeURIComponent,_t=i.encodeURIComponent,Pt=c("".charAt),Qt=c([].join),er=c([].push),Jt=c("".replace),Xe=c([].shift),It=c([].splice),zt=c("".split),st=c("".slice),bt=/\+/g,ht=Array(4),Je=function(Ht){return ht[Ht-1]||(ht[Ht-1]=je("((?:%[\\da-f]{2}){"+Ht+"})","gi"))},Ue=function(Ht){try{return Ft(Ht)}catch($t){return Ht}},ge=function(Ht){var $t=Jt(Ht,bt," "),Ct=4;try{return Ft($t)}catch(Yt){for(;Ct;)$t=Jt($t,Je(Ct--),Ue);return $t}},Ae=/[!'()~]|%20/g,Me={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},$e=function(Ht){return Me[Ht]},He=function(Ht){return Jt(_t(Ht),Ae,$e)},nt=p(function($t,Ct){ue(this,{type:Y,target:ne($t).entries,index:0,kind:Ct})},J,function(){var $t=ee(this),Ct=$t.target,Yt=$t.index++;if(!Ct||Yt>=Ct.length)return $t.target=void 0,G(void 0,!0);var Ge=Ct[Yt];switch($t.kind){case"keys":return G(Ge.key,!1);case"values":return G(Ge.value,!1)}return G([Ge.key,Ge.value],!1)},!0),ct=function(Ht){this.entries=[],this.url=null,Ht!==void 0&&(D(Ht)?this.parseObject(Ht):this.parseQuery(typeof Ht=="string"?Pt(Ht,0)==="?"?st(Ht,1):Ht:B(Ht)))};ct.prototype={type:J,bindURL:function(Ht){this.url=Ht,this.update()},parseObject:function(Ht){var $t=this.entries,Ct=K(Ht),Yt,Ge,fe,_e,Ot,Pe,dt;if(Ct)for(Yt=V(Ht,Ct),Ge=Yt.next;!(fe=l(Ge,Yt)).done;){if(_e=V(T(fe.value)),Ot=_e.next,(Pe=l(Ot,_e)).done||(dt=l(Ot,_e)).done||!l(Ot,_e).done)throw new Fe("Expected sequence with length 2");er($t,{key:B(Pe.value),value:B(dt.value)})}else for(var Zt in Ht)S(Ht,Zt)&&er($t,{key:Zt,value:B(Ht[Zt])})},parseQuery:function(Ht){if(Ht)for(var $t=this.entries,Ct=zt(Ht,"&"),Yt=0,Ge,fe;Yt<Ct.length;)Ge=Ct[Yt++],Ge.length&&(fe=zt(Ge,"="),er($t,{key:ge(Xe(fe)),value:ge(Qt(fe,"="))}))},serialize:function(){for(var Ht=this.entries,$t=[],Ct=0,Yt;Ct<Ht.length;)Yt=Ht[Ct++],er($t,He(Yt.key)+"="+He(Yt.value));return Qt($t,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Kt=function(){_(this,Wt);var $t=arguments.length>0?arguments[0]:void 0,Ct=ue(this,new ct($t));f||(this.size=Ct.entries.length)},Wt=Kt.prototype;if(a(Wt,{append:function($t,Ct){var Yt=ne(this);oe(arguments.length,2),er(Yt.entries,{key:B($t),value:B(Ct)}),f||this.length++,Yt.updateURL()},delete:function(Ht){for(var $t=ne(this),Ct=oe(arguments.length,1),Yt=$t.entries,Ge=B(Ht),fe=Ct<2?void 0:arguments[1],_e=fe===void 0?fe:B(fe),Ot=0;Ot<Yt.length;){var Pe=Yt[Ot];if(Pe.key===Ge&&(_e===void 0||Pe.value===_e)){if(It(Yt,Ot,1),_e!==void 0)break}else Ot++}f||(this.size=Yt.length),$t.updateURL()},get:function($t){var Ct=ne(this).entries;oe(arguments.length,1);for(var Yt=B($t),Ge=0;Ge<Ct.length;Ge++)if(Ct[Ge].key===Yt)return Ct[Ge].value;return null},getAll:function($t){var Ct=ne(this).entries;oe(arguments.length,1);for(var Yt=B($t),Ge=[],fe=0;fe<Ct.length;fe++)Ct[fe].key===Yt&&er(Ge,Ct[fe].value);return Ge},has:function($t){for(var Ct=ne(this).entries,Yt=oe(arguments.length,1),Ge=B($t),fe=Yt<2?void 0:arguments[1],_e=fe===void 0?fe:B(fe),Ot=0;Ot<Ct.length;){var Pe=Ct[Ot++];if(Pe.key===Ge&&(_e===void 0||Pe.value===_e))return!0}return!1},set:function($t,Ct){var Yt=ne(this);oe(arguments.length,1);for(var Ge=Yt.entries,fe=!1,_e=B($t),Ot=B(Ct),Pe=0,dt;Pe<Ge.length;Pe++)dt=Ge[Pe],dt.key===_e&&(fe?It(Ge,Pe--,1):(fe=!0,dt.value=Ot));fe||er(Ge,{key:_e,value:Ot}),f||(this.size=Ge.length),Yt.updateURL()},sort:function(){var $t=ne(this);le($t.entries,function(Ct,Yt){return Ct.key>Yt.key?1:-1}),$t.updateURL()},forEach:function($t){for(var Ct=ne(this).entries,Yt=R($t,arguments.length>1?arguments[1]:void 0),Ge=0,fe;Ge<Ct.length;)fe=Ct[Ge++],Yt(fe.value,fe.key,this)},keys:function(){return new nt(this,"keys")},values:function(){return new nt(this,"values")},entries:function(){return new nt(this,"entries")}},{enumerable:!0}),h(Wt,Q,Wt.entries,{name:"entries"}),h(Wt,"toString",function(){return ne(this).serialize()},{enumerable:!0}),f&&u(Wt,"size",{get:function(){return ne(this).entries.length},configurable:!0,enumerable:!0}),x(Kt,J),r({global:!0,constructor:!0,forced:!s},{URLSearchParams:Kt}),!s&&b(de)){var De=c(Ce.has),Qe=c(Ce.set),Vt=function(Ht){if(D(Ht)){var $t=Ht.body,Ct;if(L($t)===J)return Ct=Ht.headers?new de(Ht.headers):new de,De(Ct,"content-type")||Qe(Ct,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),$(Ht,{body:U(0,B($t)),headers:U(0,Ct)})}return Ht};if(b(M)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function($t){return M($t,arguments.length>1?Vt(arguments[1]):{})}}),b(q)){var kt=function($t){return _(this,Ee),new q($t,arguments.length>1?Vt(arguments[1]):{})};Ee.constructor=kt,kt.prototype=Ee,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}d.exports={URLSearchParams:Kt,getState:ne}},4890:function(d,g,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,s=f.prototype,h=i(s.append),u=i(s.delete),a=i(s.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(s,"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,K){x(S,{key:K,value:V})}),c(_,1);for(var R=l(y),L=l(b),T=0,D=0,B=!1,$=S.length,U;T<$;)U=S[T++],B||U.key===R?(B=!0,u(this,U.key)):D++;for(;D<$;)U=S[D++],U.key===R&&U.value===L||h(this,U.key,U.value)},{enumerable:!0,unsafe:!0})},5340:function(d,g,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,s=f.prototype,h=i(s.getAll),u=i(s.has),a=new f("a=1");(a.has("a",2)||!a.has("a",void 0))&&r(s,"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(_),R=0;R<b.length;)if(b[R++]===S)return!0;return!1},{enumerable:!0,unsafe:!0})},7893:function(d,g,e){"use strict";e(91340)},61650:function(d,g,e){"use strict";var r=e(35454),i=e(94237),l=e(64110),c=URLSearchParams.prototype,f=i(c.forEach);r&&!("size"in c)&&l(c,"size",{get:function(){var h=0;return f(this,function(){h++}),h},configurable:!0,enumerable:!0})},40061:function(d,g,e){"use strict";var r=e(94488),i=e(65911),l=e(3338),c=e(57106),f=e(69905),s=e(3299),h=i("URL"),u=s&&l(function(){h.canParse()});r({target:"URL",stat:!0,forced:!u},{canParse:function(x){var p=c(arguments.length,1),y=f(x),_=p<2||arguments[1]===void 0?void 0:f(arguments[1]);try{return!!new h(y,_)}catch(b){return!1}}})},13588:function(d,g,e){"use strict";e(20852);var r=e(94488),i=e(35454),l=e(3299),c=e(92916),f=e(80666),s=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),R=e(69905),L=e(94573),T=e(57106),D=e(91340),B=e(94844),$=B.set,U=B.getterFor("URL"),V=D.URLSearchParams,K=D.getState,G=c.URL,oe=c.TypeError,ae=c.parseInt,le=Math.floor,Q=Math.pow,J=s("".charAt),Y=s(/./.exec),ue=s([].join),ne=s(1 .toString),ee=s([].pop),ie=s([].push),F=s("".replace),M=s([].shift),q=s("".split),de=s("".slice),Ee=s("".toLowerCase),Ce=s([].unshift),je="Invalid authority",Fe="Invalid scheme",Ft="Invalid host",_t="Invalid port",Pt=/[a-z]/i,Qt=/[\d+-.a-z]/i,er=/\d/,Jt=/^0x/i,Xe=/^[0-7]+$/,It=/^\d+$/,zt=/^[\da-f]+$/i,st=/[\0\t\n\r #%/:<>?@[\\\]^|]/,bt=/[\0\t\n\r #/:<>?@[\\\]^|]/,ht=/^[\u0000-\u0020]+/,Je=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ue=/[\t\n\r]/g,ge,Ae=function(ur){var Lt=q(ur,"."),vt,yt,jt,Cr,yr,ot,Fr;if(Lt.length&&Lt[Lt.length-1]===""&&Lt.length--,vt=Lt.length,vt>4)return ur;for(yt=[],jt=0;jt<vt;jt++){if(Cr=Lt[jt],Cr==="")return ur;if(yr=10,Cr.length>1&&J(Cr,0)==="0"&&(yr=Y(Jt,Cr)?16:8,Cr=de(Cr,yr===8?1:2)),Cr==="")ot=0;else{if(!Y(yr===10?It:yr===8?Xe:zt,Cr))return ur;ot=ae(Cr,yr)}ie(yt,ot)}for(jt=0;jt<vt;jt++)if(ot=yt[jt],jt===vt-1){if(ot>=Q(256,5-vt))return null}else if(ot>255)return null;for(Fr=ee(yt),jt=0;jt<yt.length;jt++)Fr+=yt[jt]*Q(256,3-jt);return Fr},Me=function(ur){var Lt=[0,0,0,0,0,0,0,0],vt=0,yt=null,jt=0,Cr,yr,ot,Fr,mn,Un,mr,en=function(){return J(ur,jt)};if(en()===":"){if(J(ur,1)!==":")return;jt+=2,vt++,yt=vt}for(;en();){if(vt===8)return;if(en()===":"){if(yt!==null)return;jt++,vt++,yt=vt;continue}for(Cr=yr=0;yr<4&&Y(zt,en());)Cr=Cr*16+ae(en(),16),jt++,yr++;if(en()==="."){if(yr===0||(jt-=yr,vt>6))return;for(ot=0;en();){if(Fr=null,ot>0)if(en()==="."&&ot<4)jt++;else return;if(!Y(er,en()))return;for(;Y(er,en());){if(mn=ae(en(),10),Fr===null)Fr=mn;else{if(Fr===0)return;Fr=Fr*10+mn}if(Fr>255)return;jt++}Lt[vt]=Lt[vt]*256+Fr,ot++,(ot===2||ot===4)&&vt++}if(ot!==4)return;break}else if(en()===":"){if(jt++,!en())return}else if(en())return;Lt[vt++]=Cr}if(yt!==null)for(Un=vt-yt,vt=7;vt!==0&&Un>0;)mr=Lt[vt],Lt[vt--]=Lt[yt+Un-1],Lt[yt+--Un]=mr;else if(vt!==8)return;return Lt},$e=function(ur){for(var Lt=null,vt=1,yt=null,jt=0,Cr=0;Cr<8;Cr++)ur[Cr]!==0?(jt>vt&&(Lt=yt,vt=jt),yt=null,jt=0):(yt===null&&(yt=Cr),++jt);return jt>vt&&(Lt=yt,vt=jt),Lt},He=function(ur){var Lt,vt,yt,jt;if(typeof ur=="number"){for(Lt=[],vt=0;vt<4;vt++)Ce(Lt,ur%256),ur=le(ur/256);return ue(Lt,".")}else if(typeof ur=="object"){for(Lt="",yt=$e(ur),vt=0;vt<8;vt++)jt&&ur[vt]===0||(jt&&(jt=!1),yt===vt?(Lt+=vt?":":"::",jt=!0):(Lt+=ne(ur[vt],16),vt<7&&(Lt+=":")));return"["+Lt+"]"}return ur},nt={},ct=p({},nt,{" ":1,'"':1,"<":1,">":1,"`":1}),Kt=p({},ct,{"#":1,"?":1,"{":1,"}":1}),Wt=p({},Kt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),De=function(ur,Lt){var vt=b(ur,0);return vt>32&&vt<127&&!x(Lt,ur)?ur:encodeURIComponent(ur)},Qe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Vt=function(ur,Lt){var vt;return ur.length===2&&Y(Pt,J(ur,0))&&((vt=J(ur,1))===":"||!Lt&&vt==="|")},kt=function(ur){var Lt;return ur.length>1&&Vt(de(ur,0,2))&&(ur.length===2||(Lt=J(ur,2))==="/"||Lt==="\\"||Lt==="?"||Lt==="#")},Ht=function(ur){return ur==="."||Ee(ur)==="%2e"},$t=function(ur){return ur=Ee(ur),ur===".."||ur==="%2e."||ur===".%2e"||ur==="%2e%2e"},Ct={},Yt={},Ge={},fe={},_e={},Ot={},Pe={},dt={},Zt={},Tt={},ke={},St={},be={},Ke={},gt={},Rt={},Be={},kr={},At={},Kr={},Qr={},Ar=function(ur,Lt,vt){var yt=R(ur),jt,Cr,yr;if(Lt){if(Cr=this.parse(yt),Cr)throw new oe(Cr);this.searchParams=null}else{if(vt!==void 0&&(jt=new Ar(vt,!0)),Cr=this.parse(yt,null,jt),Cr)throw new oe(Cr);yr=K(new V),yr.bindURL(this),this.searchParams=yr}};Ar.prototype={type:"URL",parse:function(ur,Lt,vt){var yt=this,jt=Lt||Ct,Cr=0,yr="",ot=!1,Fr=!1,mn=!1,Un,mr,en,dn;for(ur=R(ur),Lt||(yt.scheme="",yt.username="",yt.password="",yt.host=null,yt.port=null,yt.path=[],yt.query=null,yt.fragment=null,yt.cannotBeABaseURL=!1,ur=F(ur,ht,""),ur=F(ur,Je,"$1")),ur=F(ur,Ue,""),Un=y(ur);Cr<=Un.length;){switch(mr=Un[Cr],jt){case Ct:if(mr&&Y(Pt,mr))yr+=Ee(mr),jt=Yt;else{if(Lt)return Fe;jt=Ge;continue}break;case Yt:if(mr&&(Y(Qt,mr)||mr==="+"||mr==="-"||mr==="."))yr+=Ee(mr);else if(mr===":"){if(Lt&&(yt.isSpecial()!==x(Qe,yr)||yr==="file"&&(yt.includesCredentials()||yt.port!==null)||yt.scheme==="file"&&!yt.host))return;if(yt.scheme=yr,Lt){yt.isSpecial()&&Qe[yt.scheme]===yt.port&&(yt.port=null);return}yr="",yt.scheme==="file"?jt=Ke:yt.isSpecial()&&vt&&vt.scheme===yt.scheme?jt=fe:yt.isSpecial()?jt=dt:Un[Cr+1]==="/"?(jt=_e,Cr++):(yt.cannotBeABaseURL=!0,ie(yt.path,""),jt=At)}else{if(Lt)return Fe;yr="",jt=Ge,Cr=0;continue}break;case Ge:if(!vt||vt.cannotBeABaseURL&&mr!=="#")return Fe;if(vt.cannotBeABaseURL&&mr==="#"){yt.scheme=vt.scheme,yt.path=_(vt.path),yt.query=vt.query,yt.fragment="",yt.cannotBeABaseURL=!0,jt=Qr;break}jt=vt.scheme==="file"?Ke:Ot;continue;case fe:if(mr==="/"&&Un[Cr+1]==="/")jt=Zt,Cr++;else{jt=Ot;continue}break;case _e:if(mr==="/"){jt=Tt;break}else{jt=kr;continue}case Ot:if(yt.scheme=vt.scheme,mr===ge)yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.query=vt.query;else if(mr==="/"||mr==="\\"&&yt.isSpecial())jt=Pe;else if(mr==="?")yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.query="",jt=Kr;else if(mr==="#")yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.query=vt.query,yt.fragment="",jt=Qr;else{yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,yt.path=_(vt.path),yt.path.length--,jt=kr;continue}break;case Pe:if(yt.isSpecial()&&(mr==="/"||mr==="\\"))jt=Zt;else if(mr==="/")jt=Tt;else{yt.username=vt.username,yt.password=vt.password,yt.host=vt.host,yt.port=vt.port,jt=kr;continue}break;case dt:if(jt=Zt,mr!=="/"||J(yr,Cr+1)!=="/")continue;Cr++;break;case Zt:if(mr!=="/"&&mr!=="\\"){jt=Tt;continue}break;case Tt:if(mr==="@"){ot&&(yr="%40"+yr),ot=!0,en=y(yr);for(var Fn=0;Fn<en.length;Fn++){var ei=en[Fn];if(ei===":"&&!mn){mn=!0;continue}var Nn=De(ei,Wt);mn?yt.password+=Nn:yt.username+=Nn}yr=""}else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&&yt.isSpecial()){if(ot&&yr==="")return je;Cr-=y(yr).length+1,yr="",jt=ke}else yr+=mr;break;case ke:case St:if(Lt&&yt.scheme==="file"){jt=Rt;continue}else if(mr===":"&&!Fr){if(yr==="")return Ft;if(dn=yt.parseHost(yr),dn)return dn;if(yr="",jt=be,Lt===St)return}else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&&yt.isSpecial()){if(yt.isSpecial()&&yr==="")return Ft;if(Lt&&yr===""&&(yt.includesCredentials()||yt.port!==null))return;if(dn=yt.parseHost(yr),dn)return dn;if(yr="",jt=Be,Lt)return;continue}else mr==="["?Fr=!0:mr==="]"&&(Fr=!1),yr+=mr;break;case be:if(Y(er,mr))yr+=mr;else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&&yt.isSpecial()||Lt){if(yr!==""){var zi=ae(yr,10);if(zi>65535)return _t;yt.port=yt.isSpecial()&&zi===Qe[yt.scheme]?null:zi,yr=""}if(Lt)return;jt=Be;continue}else return _t;break;case Ke:if(yt.scheme="file",mr==="/"||mr==="\\")jt=gt;else if(vt&&vt.scheme==="file")switch(mr){case ge:yt.host=vt.host,yt.path=_(vt.path),yt.query=vt.query;break;case"?":yt.host=vt.host,yt.path=_(vt.path),yt.query="",jt=Kr;break;case"#":yt.host=vt.host,yt.path=_(vt.path),yt.query=vt.query,yt.fragment="",jt=Qr;break;default:kt(ue(_(Un,Cr),""))||(yt.host=vt.host,yt.path=_(vt.path),yt.shortenPath()),jt=kr;continue}else{jt=kr;continue}break;case gt:if(mr==="/"||mr==="\\"){jt=Rt;break}vt&&vt.scheme==="file"&&!kt(ue(_(Un,Cr),""))&&(Vt(vt.path[0],!0)?ie(yt.path,vt.path[0]):yt.host=vt.host),jt=kr;continue;case Rt:if(mr===ge||mr==="/"||mr==="\\"||mr==="?"||mr==="#"){if(!Lt&&Vt(yr))jt=kr;else if(yr===""){if(yt.host="",Lt)return;jt=Be}else{if(dn=yt.parseHost(yr),dn)return dn;if(yt.host==="localhost"&&(yt.host=""),Lt)return;yr="",jt=Be}continue}else yr+=mr;break;case Be:if(yt.isSpecial()){if(jt=kr,mr!=="/"&&mr!=="\\")continue}else if(!Lt&&mr==="?")yt.query="",jt=Kr;else if(!Lt&&mr==="#")yt.fragment="",jt=Qr;else if(mr!==ge&&(jt=kr,mr!=="/"))continue;break;case kr:if(mr===ge||mr==="/"||mr==="\\"&&yt.isSpecial()||!Lt&&(mr==="?"||mr==="#")){if($t(yr)?(yt.shortenPath(),mr!=="/"&&!(mr==="\\"&&yt.isSpecial())&&ie(yt.path,"")):Ht(yr)?mr!=="/"&&!(mr==="\\"&&yt.isSpecial())&&ie(yt.path,""):(yt.scheme==="file"&&!yt.path.length&&Vt(yr)&&(yt.host&&(yt.host=""),yr=J(yr,0)+":"),ie(yt.path,yr)),yr="",yt.scheme==="file"&&(mr===ge||mr==="?"||mr==="#"))for(;yt.path.length>1&&yt.path[0]==="";)M(yt.path);mr==="?"?(yt.query="",jt=Kr):mr==="#"&&(yt.fragment="",jt=Qr)}else yr+=De(mr,Kt);break;case At:mr==="?"?(yt.query="",jt=Kr):mr==="#"?(yt.fragment="",jt=Qr):mr!==ge&&(yt.path[0]+=De(mr,nt));break;case Kr:!Lt&&mr==="#"?(yt.fragment="",jt=Qr):mr!==ge&&(mr==="'"&&yt.isSpecial()?yt.query+="%27":mr==="#"?yt.query+="%23":yt.query+=De(mr,nt));break;case Qr:mr!==ge&&(yt.fragment+=De(mr,ct));break}Cr++}},parseHost:function(ur){var Lt,vt,yt;if(J(ur,0)==="["){if(J(ur,ur.length-1)!=="]"||(Lt=Me(de(ur,1,-1)),!Lt))return Ft;this.host=Lt}else if(this.isSpecial()){if(ur=S(ur),Y(st,ur)||(Lt=Ae(ur),Lt===null))return Ft;this.host=Lt}else{if(Y(bt,ur))return Ft;for(Lt="",vt=y(ur),yt=0;yt<vt.length;yt++)Lt+=De(vt[yt],nt);this.host=Lt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(Qe,this.scheme)},shortenPath:function(){var ur=this.path,Lt=ur.length;Lt&&(this.scheme!=="file"||Lt!==1||!Vt(ur[0],!0))&&ur.length--},serialize:function(){var ur=this,Lt=ur.scheme,vt=ur.username,yt=ur.password,jt=ur.host,Cr=ur.port,yr=ur.path,ot=ur.query,Fr=ur.fragment,mn=Lt+":";return jt!==null?(mn+="//",ur.includesCredentials()&&(mn+=vt+(yt?":"+yt:"")+"@"),mn+=He(jt),Cr!==null&&(mn+=":"+Cr)):Lt==="file"&&(mn+="//"),mn+=ur.cannotBeABaseURL?yr[0]:yr.length?"/"+ue(yr,"/"):"",ot!==null&&(mn+="?"+ot),Fr!==null&&(mn+="#"+Fr),mn},setHref:function(ur){var Lt=this.parse(ur);if(Lt)throw new oe(Lt);this.searchParams.update()},getOrigin:function(){var ur=this.scheme,Lt=this.port;if(ur==="blob")try{return new $r(ur.path[0]).origin}catch(vt){return"null"}return ur==="file"||!this.isSpecial()?"null":ur+"://"+He(this.host)+(Lt!==null?":"+Lt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(ur){this.parse(R(ur)+":",Ct)},getUsername:function(){return this.username},setUsername:function(ur){var Lt=y(R(ur));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var vt=0;vt<Lt.length;vt++)this.username+=De(Lt[vt],Wt)}},getPassword:function(){return this.password},setPassword:function(ur){var Lt=y(R(ur));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var vt=0;vt<Lt.length;vt++)this.password+=De(Lt[vt],Wt)}},getHost:function(){var ur=this.host,Lt=this.port;return ur===null?"":Lt===null?He(ur):He(ur)+":"+Lt},setHost:function(ur){this.cannotBeABaseURL||this.parse(ur,ke)},getHostname:function(){var ur=this.host;return ur===null?"":He(ur)},setHostname:function(ur){this.cannotBeABaseURL||this.parse(ur,St)},getPort:function(){var ur=this.port;return ur===null?"":R(ur)},setPort:function(ur){this.cannotHaveUsernamePasswordPort()||(ur=R(ur),ur===""?this.port=null:this.parse(ur,be))},getPathname:function(){var ur=this.path;return this.cannotBeABaseURL?ur[0]:ur.length?"/"+ue(ur,"/"):""},setPathname:function(ur){this.cannotBeABaseURL||(this.path=[],this.parse(ur,Be))},getSearch:function(){var ur=this.query;return ur?"?"+ur:""},setSearch:function(ur){ur=R(ur),ur===""?this.query=null:(J(ur,0)==="?"&&(ur=de(ur,1)),this.query="",this.parse(ur,Kr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var ur=this.fragment;return ur?"#"+ur:""},setHash:function(ur){if(ur=R(ur),ur===""){this.fragment=null;return}J(ur,0)==="#"&&(ur=de(ur,1)),this.fragment="",this.parse(ur,Qr)},update:function(){this.query=this.searchParams.serialize()||null}};var $r=function(Lt){var vt=a(this,_r),yt=T(arguments.length,1)>1?arguments[1]:void 0,jt=$(vt,new Ar(Lt,!1,yt));i||(vt.href=jt.serialize(),vt.origin=jt.getOrigin(),vt.protocol=jt.getProtocol(),vt.username=jt.getUsername(),vt.password=jt.getPassword(),vt.host=jt.getHost(),vt.hostname=jt.getHostname(),vt.port=jt.getPort(),vt.pathname=jt.getPathname(),vt.search=jt.getSearch(),vt.searchParams=jt.getSearchParams(),vt.hash=jt.getHash())},_r=$r.prototype,Ur=function(ur,Lt){return{get:function(){return U(this)[ur]()},set:Lt&&function(vt){return U(this)[Lt](vt)},configurable:!0,enumerable:!0}};if(i&&(u(_r,"href",Ur("serialize","setHref")),u(_r,"origin",Ur("getOrigin")),u(_r,"protocol",Ur("getProtocol","setProtocol")),u(_r,"username",Ur("getUsername","setUsername")),u(_r,"password",Ur("getPassword","setPassword")),u(_r,"host",Ur("getHost","setHost")),u(_r,"hostname",Ur("getHostname","setHostname")),u(_r,"port",Ur("getPort","setPort")),u(_r,"pathname",Ur("getPathname","setPathname")),u(_r,"search",Ur("getSearch","setSearch")),u(_r,"searchParams",Ur("getSearchParams")),u(_r,"hash",Ur("getHash","setHash"))),h(_r,"toJSON",function(){return U(this).serialize()},{enumerable:!0}),h(_r,"toString",function(){return U(this).serialize()},{enumerable:!0}),G){var sn=G.createObjectURL,cn=G.revokeObjectURL;sn&&h($r,"createObjectURL",f(sn,G)),cn&&h($r,"revokeObjectURL",f(cn,G))}L($r,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:$r})},25204:function(d,g,e){"use strict";e(13588)},47803:function(d,g,e){"use strict";var r=e(94488),i=e(89945);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},73825:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},65873:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(89878);function i(l,c,f){return c=(0,r.Z)(c),c in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},38329:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(this,arguments)}},66160:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},63579:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(65873);function i(c,f){var s=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),s.push.apply(s,h)}return s}function l(c){for(var f=1;f<arguments.length;f++){var s=arguments[f]!=null?arguments[f]:{};f%2?i(Object(s),!0).forEach(function(h){(0,r.Z)(c,h,s[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(s)):i(Object(s)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(s,h))})}return c}},38127:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});function r(l,c){if(l==null)return{};var f={},s=Object.keys(l),h,u;for(u=0;u<s.length;u++)h=s[u],!(c.indexOf(h)>=0)&&(f[h]=l[h]);return f}function i(l,c){if(l==null)return{};var f=r(l,c),s,h;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(h=0;h<u.length;h++)s=u[h],!(c.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(l,s)&&(f[s]=l[s])}return f}},87296:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(73825);function i(s,h){var u=s==null?null:typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,S=!1;try{if(p=(u=u.call(s)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(R){S=!0,x=R}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(s,h){return(0,r.Z)(s)||i(s,h)||(0,l.Z)(s,h)||(0,c.Z)()}},89878:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(8616);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var s=c[Symbol.toPrimitive];if(s!==void 0){var h=s.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:String(f)}},8616:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},99227:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});function r(l,c){(c==null||c>l.length)&&(c=l.length);for(var f=0,s=new Array(c);f<c;f++)s[f]=l[f];return s}function i(l,c){if(l){if(typeof l=="string")return r(l,c);var f=Object.prototype.toString.call(l).slice(8,-1);if(f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set")return Array.from(l);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return r(l,c)}}},56243:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){(l==null||l>i.length)&&(l=i.length);for(var c=0,f=Array(l);c<l;c++)f[c]=i[c];return f}},29675:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},80237:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}},72633:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});function r(l,c,f,s,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(s,h)}function i(l){return function(){var c=this,f=arguments;return new Promise(function(s,h){var u=l.apply(c,f);function a(p){r(u,s,h,a,x,"next",p)}function x(p){r(u,s,h,a,x,"throw",p)}a(void 0)})}}},96949:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){if(!(i instanceof l))throw new TypeError("Cannot call a class as a function")}},55090:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(60254);function i(c,f){for(var s=0;s<f.length;s++){var h=f[s];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,s){return f&&i(c.prototype,f),s&&i(c,s),Object.defineProperty(c,"prototype",{writable:!1}),c}},38793:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});var r=e(75841),i=e(47123),l=e(73447);function c(f){var s=(0,i.Z)();return function(){var h,u=(0,r.Z)(f);if(s){var a=(0,r.Z)(this).constructor;h=Reflect.construct(u,arguments,a)}else h=u.apply(this,arguments);return(0,l.Z)(this,h)}}},49618:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(60254);function i(l,c,f){return(c=(0,r.Z)(c))in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},72308:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)({}).hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(null,arguments)}},75841:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},r(i)}},77205:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(60039);function i(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),c&&(0,r.Z)(l,c)}},47123:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(r=function(){return!!i})()}},97591:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){if(typeof Symbol!="undefined"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}},49787:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},39564:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(49618);function i(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?Object(arguments[c]):{},s=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&s.push.apply(s,Object.getOwnPropertySymbols(f).filter(function(h){return Object.getOwnPropertyDescriptor(f,h).enumerable})),s.forEach(function(h){(0,r.Z)(l,h,f[h])})}return l}},77321:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(49618);function i(c,f){var s=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),s.push.apply(s,h)}return s}function l(c){for(var f=1;f<arguments.length;f++){var s=arguments[f]!=null?arguments[f]:{};f%2?i(Object(s),!0).forEach(function(h){(0,r.Z)(c,h,s[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(s)):i(Object(s)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(s,h))})}return c}},74416:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(87488);function i(l,c){if(l==null)return{};var f,s,h=(0,r.Z)(l,c);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(s=0;s<u.length;s++)f=u[s],c.indexOf(f)===-1&&{}.propertyIsEnumerable.call(l,f)&&(h[f]=l[f])}return h}},87488:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){if(i==null)return{};var c={};for(var f in i)if({}.hasOwnProperty.call(i,f)){if(l.indexOf(f)!==-1)continue;c[f]=i[f]}return c}},73447:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(62853),i=e(80237);function l(c,f){if(f&&((0,r.Z)(f)=="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(c)}},65736:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(62853);function i(){"use strict";i=function(){return c};var l,c={},f=Object.prototype,s=f.hasOwnProperty,h=Object.defineProperty||function(ie,F,M){ie[F]=M.value},u=typeof Symbol=="function"?Symbol:{},a=u.iterator||"@@iterator",x=u.asyncIterator||"@@asyncIterator",p=u.toStringTag||"@@toStringTag";function y(ie,F,M){return Object.defineProperty(ie,F,{value:M,enumerable:!0,configurable:!0,writable:!0}),ie[F]}try{y({},"")}catch(ie){y=function(M,q,de){return M[q]=de}}function _(ie,F,M,q){var de=F&&F.prototype instanceof B?F:B,Ee=Object.create(de.prototype),Ce=new ne(q||[]);return h(Ee,"_invoke",{value:Q(ie,M,Ce)}),Ee}function b(ie,F,M){try{return{type:"normal",arg:ie.call(F,M)}}catch(q){return{type:"throw",arg:q}}}c.wrap=_;var S="suspendedStart",R="suspendedYield",L="executing",T="completed",D={};function B(){}function $(){}function U(){}var V={};y(V,a,function(){return this});var K=Object.getPrototypeOf,G=K&&K(K(ee([])));G&&G!==f&&s.call(G,a)&&(V=G);var oe=U.prototype=B.prototype=Object.create(V);function ae(ie){["next","throw","return"].forEach(function(F){y(ie,F,function(M){return this._invoke(F,M)})})}function le(ie,F){function M(de,Ee,Ce,je){var Fe=b(ie[de],ie,Ee);if(Fe.type!=="throw"){var Ft=Fe.arg,_t=Ft.value;return _t&&(0,r.Z)(_t)=="object"&&s.call(_t,"__await")?F.resolve(_t.__await).then(function(Pt){M("next",Pt,Ce,je)},function(Pt){M("throw",Pt,Ce,je)}):F.resolve(_t).then(function(Pt){Ft.value=Pt,Ce(Ft)},function(Pt){return M("throw",Pt,Ce,je)})}je(Fe.arg)}var q;h(this,"_invoke",{value:function(Ee,Ce){function je(){return new F(function(Fe,Ft){M(Ee,Ce,Fe,Ft)})}return q=q?q.then(je,je):je()}})}function Q(ie,F,M){var q=S;return function(de,Ee){if(q===L)throw Error("Generator is already running");if(q===T){if(de==="throw")throw Ee;return{value:l,done:!0}}for(M.method=de,M.arg=Ee;;){var Ce=M.delegate;if(Ce){var je=J(Ce,M);if(je){if(je===D)continue;return je}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(q===S)throw q=T,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);q=L;var Fe=b(ie,F,M);if(Fe.type==="normal"){if(q=M.done?T:R,Fe.arg===D)continue;return{value:Fe.arg,done:M.done}}Fe.type==="throw"&&(q=T,M.method="throw",M.arg=Fe.arg)}}}function J(ie,F){var M=F.method,q=ie.iterator[M];if(q===l)return F.delegate=null,M==="throw"&&ie.iterator.return&&(F.method="return",F.arg=l,J(ie,F),F.method==="throw")||M!=="return"&&(F.method="throw",F.arg=new TypeError("The iterator does not provide a '"+M+"' method")),D;var de=b(q,ie.iterator,F.arg);if(de.type==="throw")return F.method="throw",F.arg=de.arg,F.delegate=null,D;var Ee=de.arg;return Ee?Ee.done?(F[ie.resultName]=Ee.value,F.next=ie.nextLoc,F.method!=="return"&&(F.method="next",F.arg=l),F.delegate=null,D):Ee:(F.method="throw",F.arg=new TypeError("iterator result is not an object"),F.delegate=null,D)}function Y(ie){var F={tryLoc:ie[0]};1 in ie&&(F.catchLoc=ie[1]),2 in ie&&(F.finallyLoc=ie[2],F.afterLoc=ie[3]),this.tryEntries.push(F)}function ue(ie){var F=ie.completion||{};F.type="normal",delete F.arg,ie.completion=F}function ne(ie){this.tryEntries=[{tryLoc:"root"}],ie.forEach(Y,this),this.reset(!0)}function ee(ie){if(ie||ie===""){var F=ie[a];if(F)return F.call(ie);if(typeof ie.next=="function")return ie;if(!isNaN(ie.length)){var M=-1,q=function de(){for(;++M<ie.length;)if(s.call(ie,M))return de.value=ie[M],de.done=!1,de;return de.value=l,de.done=!0,de};return q.next=q}}throw new TypeError((0,r.Z)(ie)+" is not iterable")}return $.prototype=U,h(oe,"constructor",{value:U,configurable:!0}),h(U,"constructor",{value:$,configurable:!0}),$.displayName=y(U,p,"GeneratorFunction"),c.isGeneratorFunction=function(ie){var F=typeof ie=="function"&&ie.constructor;return!!F&&(F===$||(F.displayName||F.name)==="GeneratorFunction")},c.mark=function(ie){return Object.setPrototypeOf?Object.setPrototypeOf(ie,U):(ie.__proto__=U,y(ie,p,"GeneratorFunction")),ie.prototype=Object.create(oe),ie},c.awrap=function(ie){return{__await:ie}},ae(le.prototype),y(le.prototype,x,function(){return this}),c.AsyncIterator=le,c.async=function(ie,F,M,q,de){de===void 0&&(de=Promise);var Ee=new le(_(ie,F,M,q),de);return c.isGeneratorFunction(F)?Ee:Ee.next().then(function(Ce){return Ce.done?Ce.value:Ee.next()})},ae(oe),y(oe,p,"Generator"),y(oe,a,function(){return this}),y(oe,"toString",function(){return"[object Generator]"}),c.keys=function(ie){var F=Object(ie),M=[];for(var q in F)M.push(q);return M.reverse(),function de(){for(;M.length;){var Ee=M.pop();if(Ee in F)return de.value=Ee,de.done=!1,de}return de.done=!0,de}},c.values=ee,ne.prototype={constructor:ne,reset:function(F){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(ue),!F)for(var M in this)M.charAt(0)==="t"&&s.call(this,M)&&!isNaN(+M.slice(1))&&(this[M]=l)},stop:function(){this.done=!0;var F=this.tryEntries[0].completion;if(F.type==="throw")throw F.arg;return this.rval},dispatchException:function(F){if(this.done)throw F;var M=this;function q(Ft,_t){return Ce.type="throw",Ce.arg=F,M.next=Ft,_t&&(M.method="next",M.arg=l),!!_t}for(var de=this.tryEntries.length-1;de>=0;--de){var Ee=this.tryEntries[de],Ce=Ee.completion;if(Ee.tryLoc==="root")return q("end");if(Ee.tryLoc<=this.prev){var je=s.call(Ee,"catchLoc"),Fe=s.call(Ee,"finallyLoc");if(je&&Fe){if(this.prev<Ee.catchLoc)return q(Ee.catchLoc,!0);if(this.prev<Ee.finallyLoc)return q(Ee.finallyLoc)}else if(je){if(this.prev<Ee.catchLoc)return q(Ee.catchLoc,!0)}else{if(!Fe)throw Error("try statement without catch or finally");if(this.prev<Ee.finallyLoc)return q(Ee.finallyLoc)}}}},abrupt:function(F,M){for(var q=this.tryEntries.length-1;q>=0;--q){var de=this.tryEntries[q];if(de.tryLoc<=this.prev&&s.call(de,"finallyLoc")&&this.prev<de.finallyLoc){var Ee=de;break}}Ee&&(F==="break"||F==="continue")&&Ee.tryLoc<=M&&M<=Ee.finallyLoc&&(Ee=null);var Ce=Ee?Ee.completion:{};return Ce.type=F,Ce.arg=M,Ee?(this.method="next",this.next=Ee.finallyLoc,D):this.complete(Ce)},complete:function(F,M){if(F.type==="throw")throw F.arg;return F.type==="break"||F.type==="continue"?this.next=F.arg:F.type==="return"?(this.rval=this.arg=F.arg,this.method="return",this.next="end"):F.type==="normal"&&M&&(this.next=M),D},finish:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var q=this.tryEntries[M];if(q.finallyLoc===F)return this.complete(q.completion,q.afterLoc),ue(q),D}},catch:function(F){for(var M=this.tryEntries.length-1;M>=0;--M){var q=this.tryEntries[M];if(q.tryLoc===F){var de=q.completion;if(de.type==="throw"){var Ee=de.arg;ue(q)}return Ee}}throw Error("illegal catch attempt")},delegateYield:function(F,M,q){return this.delegate={iterator:ee(F),resultName:M,nextLoc:q},this.method==="next"&&(this.arg=l),D}},c}},60039:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i,l){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},r(i,l)}},52487:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(29675);function i(s,h){var u=s==null?null:typeof Symbol!="undefined"&&s[Symbol.iterator]||s["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,S=!1;try{if(p=(u=u.call(s)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(R){S=!0,x=R}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw x}}return _}}var l=e(13873),c=e(49787);function f(s,h){return(0,r.Z)(s)||i(s,h)||(0,l.Z)(s,h)||(0,c.Z)()}},68413:function(d,g,e){"use strict";e.d(g,{Z:function(){return f}});var r=e(29675),i=e(97591),l=e(13873),c=e(49787);function f(s){return(0,r.Z)(s)||(0,i.Z)(s)||(0,l.Z)(s)||(0,c.Z)()}},80702:function(d,g,e){"use strict";e.d(g,{Z:function(){return s}});var r=e(56243);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(97591),c=e(13873);function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(h){return i(h)||(0,l.Z)(h)||(0,c.Z)(h)||f()}},60254:function(d,g,e){"use strict";e.d(g,{Z:function(){return l}});var r=e(62853);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var s=c[Symbol.toPrimitive];if(s!==void 0){var h=s.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:f+""}},62853:function(d,g,e){"use strict";e.d(g,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},13873:function(d,g,e){"use strict";e.d(g,{Z:function(){return i}});var r=e(56243);function i(l,c){if(l){if(typeof l=="string")return(0,r.Z)(l,c);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?(0,r.Z)(l,c):void 0}}},79710:function(d,g,e){"use strict";e.d(g,{ZP:function(){return rr}});const r=Number.isFinite||function(I){return typeof I=="number"&&isFinite(I)},i=Number.isSafeInteger||function(I){return typeof I=="number"&&Math.abs(I)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(I){return I.NETWORK_ERROR="networkError",I.MEDIA_ERROR="mediaError",I.KEY_SYSTEM_ERROR="keySystemError",I.MUX_ERROR="muxError",I.OTHER_ERROR="otherError",I}({}),f=function(I){return I.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",I.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",I.KEY_SYSTEM_NO_SESSION="keySystemNoSession",I.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",I.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",I.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",I.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",I.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",I.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",I.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",I.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",I.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",I.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",I.MANIFEST_LOAD_ERROR="manifestLoadError",I.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",I.MANIFEST_PARSING_ERROR="manifestParsingError",I.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",I.LEVEL_EMPTY_ERROR="levelEmptyError",I.LEVEL_LOAD_ERROR="levelLoadError",I.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",I.LEVEL_PARSING_ERROR="levelParsingError",I.LEVEL_SWITCH_ERROR="levelSwitchError",I.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",I.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",I.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",I.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",I.FRAG_LOAD_ERROR="fragLoadError",I.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",I.FRAG_DECRYPT_ERROR="fragDecryptError",I.FRAG_PARSING_ERROR="fragParsingError",I.FRAG_GAP="fragGap",I.REMUX_ALLOC_ERROR="remuxAllocError",I.KEY_LOAD_ERROR="keyLoadError",I.KEY_LOAD_TIMEOUT="keyLoadTimeOut",I.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",I.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",I.BUFFER_APPEND_ERROR="bufferAppendError",I.BUFFER_APPENDING_ERROR="bufferAppendingError",I.BUFFER_STALLED_ERROR="bufferStalledError",I.BUFFER_FULL_ERROR="bufferFullError",I.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",I.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",I.ASSET_LIST_LOAD_ERROR="assetListLoadError",I.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",I.ASSET_LIST_PARSING_ERROR="assetListParsingError",I.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",I.INTERNAL_EXCEPTION="internalException",I.INTERNAL_ABORTED="aborted",I.ATTACH_MEDIA_ERROR="attachMediaError",I.UNKNOWN="unknown",I}({}),s=function(I){return I.MEDIA_ATTACHING="hlsMediaAttaching",I.MEDIA_ATTACHED="hlsMediaAttached",I.MEDIA_DETACHING="hlsMediaDetaching",I.MEDIA_DETACHED="hlsMediaDetached",I.MEDIA_ENDED="hlsMediaEnded",I.STALL_RESOLVED="hlsStallResolved",I.BUFFER_RESET="hlsBufferReset",I.BUFFER_CODECS="hlsBufferCodecs",I.BUFFER_CREATED="hlsBufferCreated",I.BUFFER_APPENDING="hlsBufferAppending",I.BUFFER_APPENDED="hlsBufferAppended",I.BUFFER_EOS="hlsBufferEos",I.BUFFERED_TO_END="hlsBufferedToEnd",I.BUFFER_FLUSHING="hlsBufferFlushing",I.BUFFER_FLUSHED="hlsBufferFlushed",I.MANIFEST_LOADING="hlsManifestLoading",I.MANIFEST_LOADED="hlsManifestLoaded",I.MANIFEST_PARSED="hlsManifestParsed",I.LEVEL_SWITCHING="hlsLevelSwitching",I.LEVEL_SWITCHED="hlsLevelSwitched",I.LEVEL_LOADING="hlsLevelLoading",I.LEVEL_LOADED="hlsLevelLoaded",I.LEVEL_UPDATED="hlsLevelUpdated",I.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",I.LEVELS_UPDATED="hlsLevelsUpdated",I.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",I.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",I.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",I.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",I.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",I.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",I.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",I.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",I.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",I.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",I.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",I.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",I.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",I.CUES_PARSED="hlsCuesParsed",I.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",I.INIT_PTS_FOUND="hlsInitPtsFound",I.FRAG_LOADING="hlsFragLoading",I.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",I.FRAG_LOADED="hlsFragLoaded",I.FRAG_DECRYPTED="hlsFragDecrypted",I.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",I.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",I.FRAG_PARSING_METADATA="hlsFragParsingMetadata",I.FRAG_PARSED="hlsFragParsed",I.FRAG_BUFFERED="hlsFragBuffered",I.FRAG_CHANGED="hlsFragChanged",I.FPS_DROP="hlsFpsDrop",I.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",I.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",I.ERROR="hlsError",I.DESTROYING="hlsDestroying",I.KEY_LOADING="hlsKeyLoading",I.KEY_LOADED="hlsKeyLoaded",I.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",I.BACK_BUFFER_REACHED="hlsBackBufferReached",I.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",I.ASSET_LIST_LOADING="hlsAssetListLoading",I.ASSET_LIST_LOADED="hlsAssetListLoaded",I.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",I.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",I.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",I.INTERSTITIAL_STARTED="hlsInterstitialStarted",I.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",I.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",I.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",I.INTERSTITIAL_ENDED="hlsInterstitialEnded",I.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",I.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",I.EVENT_CUE_ENTER="hlsEventCueEnter",I}({});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,o=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_=o}sample(t,n){const o=Math.pow(this.alpha_,t);this.estimate_=n*(1-o)+o*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,o,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_=o,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_:o,fast_:m,ttfb_:w}=this;o.halfLife!==t&&(this.slow_=new a(t,o.getEstimate(),o.getTotalWeight())),m.halfLife!==n&&(this.fast_=new a(n,m.getEstimate(),m.getTotalWeight())),w.halfLife!==t&&(this.ttfb_=new a(t,w.getEstimate(),w.getTotalWeight()))}sample(t,n){t=Math.max(t,this.minDelayMs_);const o=8*n,m=t/1e3,w=o/m;this.fast_.sample(m,w),this.slow_.sample(m,w)}sampleTTFB(t){const n=t/1e3,o=Math.sqrt(2)*Math.exp(-Math.pow(n,2)/2);this.ttfb_.sample(o,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(I,t,n){return(t=R(t))in I?Object.defineProperty(I,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):I[t]=n,I}function y(){return y=Object.assign?Object.assign.bind():function(I){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(I[o]=n[o])}return I},y.apply(null,arguments)}function _(I,t){var n=Object.keys(I);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(I);t&&(o=o.filter(function(m){return Object.getOwnPropertyDescriptor(I,m).enumerable})),n.push.apply(n,o)}return n}function b(I){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(o){p(I,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(o){Object.defineProperty(I,o,Object.getOwnPropertyDescriptor(n,o))})}return I}function S(I,t){if(typeof I!="object"||!I)return I;var n=I[Symbol.toPrimitive];if(n!==void 0){var o=n.call(I,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(I)}function R(I){var t=S(I,"string");return typeof t=="symbol"?t:t+""}class L{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 o=`[${t}]:`;this.trace=T,this.debug=n.debug.bind(null,o),this.log=n.log.bind(null,o),this.warn=n.warn.bind(null,o),this.info=n.info.bind(null,o),this.error=n.error.bind(null,o)}}const T=function(){},D={trace:T,debug:T,log:T,warn:T,info:T,error:T};function B(){return y({},D)}function $(I,t){const n=self.console[I];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${I}] >`):T}function U(I,t,n){return t[I]?t[I].bind(t):$(I,n)}const V=B();function K(I,t,n){const o=B();if(typeof console=="object"&&I===!0||typeof I=="object"){const m=["debug","log","info","warn","error"];m.forEach(w=>{o[w]=U(w,I,n)});try{o.log(`Debug logs enabled for "${t}" in hls.js version 1.6.2`)}catch(w){return B()}m.forEach(w=>{V[w]=U(w,I)})}else y(V,o);return o}const G=V;function oe(I=!0){return typeof self=="undefined"?void 0:(I||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ae(I){return typeof self!="undefined"&&I===self.ManagedMediaSource}function le(I,t){const n=Object.keys(I),o=Object.keys(t),m=n.length,w=o.length;return!m||!w||m===w&&!n.some(P=>o.indexOf(P)===-1)}function Q(I,t=!1){if(typeof TextDecoder!="undefined"){const j=new TextDecoder("utf-8").decode(I);if(t){const se=j.indexOf("\0");return se!==-1?j.substring(0,se):j}return j.replace(/\0/g,"")}const n=I.length;let o,m,w,P="",z=0;for(;z<n;){if(o=I[z++],o===0&&t)return P;if(o===0||o===3)continue;switch(o>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:P+=String.fromCharCode(o);break;case 12:case 13:m=I[z++],P+=String.fromCharCode((o&31)<<6|m&63);break;case 14:m=I[z++],w=I[z++],P+=String.fromCharCode((o&15)<<12|(m&63)<<6|(w&63)<<0);break}}return P}const J={hexDump:function(I){let t="";for(let n=0;n<I.length;n++){let o=I[n].toString(16);o.length<2&&(o="0"+o),t+=o}return t}};function Y(I){return I&&I.__esModule&&Object.prototype.hasOwnProperty.call(I,"default")?I.default:I}var ue={exports:{}},ne;function ee(){return ne||(ne=1,function(I,t){(function(n){var o=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,w=/(?:\/|^)\.(?=\/)/g,P=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,z={buildAbsoluteURL:function(H,j,se){if(se=se||{},H=H.trim(),j=j.trim(),!j){if(!se.alwaysNormalize)return H;var ce=z.parseURL(H);if(!ce)throw new Error("Error trying to parse base URL.");return ce.path=z.normalizePath(ce.path),z.buildURLFromParts(ce)}var xe=z.parseURL(j);if(!xe)throw new Error("Error trying to parse relative URL.");if(xe.scheme)return se.alwaysNormalize?(xe.path=z.normalizePath(xe.path),z.buildURLFromParts(xe)):j;var Ie=z.parseURL(H);if(!Ie)throw new Error("Error trying to parse base URL.");if(!Ie.netLoc&&Ie.path&&Ie.path[0]!=="/"){var Oe=m.exec(Ie.path);Ie.netLoc=Oe[1],Ie.path=Oe[2]}Ie.netLoc&&!Ie.path&&(Ie.path="/");var tt={scheme:Ie.scheme,netLoc:xe.netLoc,path:null,params:xe.params,query:xe.query,fragment:xe.fragment};if(!xe.netLoc&&(tt.netLoc=Ie.netLoc,xe.path[0]!=="/"))if(!xe.path)tt.path=Ie.path,xe.params||(tt.params=Ie.params,xe.query||(tt.query=Ie.query));else{var at=Ie.path,Nt=at.substring(0,at.lastIndexOf("/")+1)+xe.path;tt.path=z.normalizePath(Nt)}return tt.path===null&&(tt.path=se.alwaysNormalize?z.normalizePath(xe.path):xe.path),z.buildURLFromParts(tt)},parseURL:function(H){var j=o.exec(H);return j?{scheme:j[1]||"",netLoc:j[2]||"",path:j[3]||"",params:j[4]||"",query:j[5]||"",fragment:j[6]||""}:null},normalizePath:function(H){for(H=H.split("").reverse().join("").replace(w,"");H.length!==(H=H.replace(P,"")).length;);return H.split("").reverse().join("")},buildURLFromParts:function(H){return H.scheme+H.netLoc+H.path+H.params+H.query+H.fragment}};I.exports=z})()}(ue)),ue.exports}var ie=ee();class F{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var M={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class q{constructor(t){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof t=="string"&&(t={url:t}),this.base=t,Fe(this,"stats")}setByteRange(t,n){const o=t.split("@",2);let m;o.length===1?m=(n==null?void 0:n.byteRangeEndOffset)||0:m=parseInt(o[1]),this._byteRange=[m,parseInt(o[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={[M.AUDIO]:null,[M.VIDEO]:null,[M.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(t){this._streams=t}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new F),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=ie.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[M.AUDIO]=null,t[M.VIDEO]=null,t[M.AUDIOVIDEO]=null}}function de(I){return I.sn!=="initSegment"}class Ee extends q{constructor(t,n){super(n),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=t}get byteLength(){if(this.hasStats){const t=this.stats.total;if(t)return t}if(this.byteRange){const t=this.byteRange[0],n=this.byteRange[1];if(r(t)&&r(n))return n-t}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(t){this._bitrate=t}get decryptdata(){const{levelkeys:t}=this;if(!t&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const n=this.levelkeys.identity;if(n)this._decryptdata=n.getDecryptData(this.sn);else{const o=Object.keys(this.levelkeys);if(o.length===1)return this._decryptdata=this.levelkeys[o[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)return null;const t=r(this.duration)?this.duration:0;return this.programDateTime+t*1e3}get encrypted(){var t;if((t=this._decryptdata)!=null&&t.encrypted)return!0;if(this.levelkeys){const n=Object.keys(this.levelkeys),o=n.length;if(o>1||o===1&&this.levelkeys[n[0]].encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(t){if(!r(t)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=t}get ref(){return de(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(t){this.setStart(this.start+t)}setStart(t){this.start=t,this._ref&&(this._ref.start=t)}setDuration(t){this.duration=t,this._ref&&(this._ref.duration=t)}setKeyFormat(t){if(this.levelkeys){const n=this.levelkeys[t];n&&!this._decryptdata&&(this._decryptdata=n.getDecryptData(this.sn))}}abortRequests(){var t,n;(t=this.loader)==null||t.abort(),(n=this.keyLoader)==null||n.abort()}setElementaryStreamInfo(t,n,o,m,w,P=!1){const{elementaryStreams:z}=this,H=z[t];if(!H){z[t]={startPTS:n,endPTS:o,startDTS:m,endDTS:w,partial:P};return}H.startPTS=Math.min(H.startPTS,n),H.endPTS=Math.max(H.endPTS,o),H.startDTS=Math.min(H.startDTS,m),H.endDTS=Math.max(H.endDTS,w)}}class Ce extends q{constructor(t,n,o,m,w){super(o),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 P=t.enumeratedString("BYTERANGE");P&&this.setByteRange(P,w),w&&(this.fragOffset=w.fragOffset+w.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 je(I,t){const n=Object.getPrototypeOf(I);if(n){const o=Object.getOwnPropertyDescriptor(n,t);return o||je(n,t)}}function Fe(I,t){const n=je(I,t);n&&(n.enumerable=!0,Object.defineProperty(I,t,n))}const Ft=Math.pow(2,32)-1,_t=[].push,Pt={video:1,audio:2,id3:3,text:4};function Qt(I){return String.fromCharCode.apply(null,I)}function er(I,t){const n=I[t]<<8|I[t+1];return n<0?65536+n:n}function Jt(I,t){const n=It(I,t);return n<0?4294967296+n:n}function Xe(I,t){let n=Jt(I,t);return n*=Math.pow(2,32),n+=Jt(I,t+4),n}function It(I,t){return I[t]<<24|I[t+1]<<16|I[t+2]<<8|I[t+3]}function zt(I,t,n){I[t]=n>>24,I[t+1]=n>>16&255,I[t+2]=n>>8&255,I[t+3]=n&255}function st(I){const t=I.byteLength;for(let n=0;n<t;){const o=Jt(I,n);if(o>8&&I[n+4]===109&&I[n+5]===111&&I[n+6]===111&&I[n+7]===102)return!0;n=o>1?n+o:t}return!1}function bt(I,t){const n=[];if(!t.length)return n;const o=I.byteLength;for(let m=0;m<o;){const w=Jt(I,m),P=Qt(I.subarray(m+4,m+8)),z=w>1?m+w:o;if(P===t[0])if(t.length===1)n.push(I.subarray(m+8,z));else{const H=bt(I.subarray(m+8,z),t.slice(1));H.length&&_t.apply(n,H)}m=z}return n}function ht(I){const t=[],n=I[0];let o=8;const m=Jt(I,o);o+=4;let w=0,P=0;n===0?(w=Jt(I,o),P=Jt(I,o+4),o+=8):(w=Xe(I,o),P=Xe(I,o+8),o+=16),o+=2;let z=I.length+P;const H=er(I,o);o+=2;for(let j=0;j<H;j++){let se=o;const ce=Jt(I,se);se+=4;const xe=ce&2147483647;if((ce&2147483648)>>>31===1)return G.warn("SIDX has hierarchical references (not supported)"),null;const Oe=Jt(I,se);se+=4,t.push({referenceSize:xe,subsegmentDuration:Oe,info:{duration:Oe/m,start:z,end:z+xe-1}}),z+=xe,se+=4,o=se}return{earliestPresentationTime:w,timescale:m,version:n,referencesCount:H,references:t}}function Je(I){const t=[],n=bt(I,["moov","trak"]);for(let m=0;m<n.length;m++){const w=n[m],P=bt(w,["tkhd"])[0];if(P){let z=P[0];const H=Jt(P,z===0?12:20),j=bt(w,["mdia","mdhd"])[0];if(j){z=j[0];const se=Jt(j,z===0?12:20),ce=bt(w,["mdia","hdlr"])[0];if(ce){const xe=Qt(ce.subarray(8,12)),Ie={soun:M.AUDIO,vide:M.VIDEO}[xe],Oe=bt(w,["mdia","minf","stbl","stsd"])[0],tt=Ue(Oe);Ie?(t[H]={timescale:se,type:Ie,stsd:tt},t[Ie]=b({timescale:se,id:H},tt)):t[H]={timescale:se,type:xe,stsd:tt}}}}}return bt(I,["moov","mvex","trex"]).forEach(m=>{const w=Jt(m,4),P=t[w];P&&(P.default={duration:Jt(m,12),flags:Jt(m,20)})}),t}function Ue(I){const t=I.subarray(8),n=t.subarray(86),o=Qt(t.subarray(4,8));let m=o,w;const P=o==="enca"||o==="encv";if(P){const j=bt(t,[o])[0].subarray(o==="enca"?28:78);bt(j,["sinf"]).forEach(ce=>{const xe=bt(ce,["schm"])[0];if(xe){const Ie=Qt(xe.subarray(4,8));if(Ie==="cbcs"||Ie==="cenc"){const Oe=bt(ce,["frma"])[0];Oe&&(m=Qt(Oe))}}})}const z=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const H=bt(n,["avcC"])[0];H&&H.length>3&&(m+="."+Me(H[1])+Me(H[2])+Me(H[3]),w=ge(z==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const H=bt(t,[o])[0],j=bt(H.subarray(28),["esds"])[0];if(j&&j.length>7){let se=4;if(j[se++]!==3)break;se=Ae(j,se),se+=2;const ce=j[se++];if(ce&128&&(se+=2),ce&64&&(se+=j[se++]),j[se++]!==4)break;se=Ae(j,se);const xe=j[se++];if(xe===64)m+="."+Me(xe);else break;if(se+=12,j[se++]!==5)break;se=Ae(j,se);const Ie=j[se++];let Oe=(Ie&248)>>3;Oe===31&&(Oe+=1+((Ie&7)<<3)+((j[se]&224)>>5)),m+="."+Oe}break}case"hvc1":case"hev1":{const H=bt(n,["hvcC"])[0];if(H&&H.length>12){const j=H[1],se=["","A","B","C"][j>>6],ce=j&31,xe=Jt(H,2),Ie=(j&32)>>5?"H":"L",Oe=H[12],tt=H.subarray(6,12);m+="."+se+ce,m+="."+xe.toString(16).toUpperCase(),m+="."+Ie+Oe;let at="";for(let Nt=tt.length;Nt--;){const dr=tt[Nt];(dr||at)&&(at="."+dr.toString(16).toUpperCase()+at)}m+=at}w=ge(z=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=ge(m,n)||m;break}case"vp09":{const H=bt(n,["vpcC"])[0];if(H&&H.length>6){const j=H[4],se=H[5],ce=H[6]>>4&15;m+="."+$e(j)+"."+$e(se)+"."+$e(ce)}break}case"av01":{const H=bt(n,["av1C"])[0];if(H&&H.length>2){const j=H[1]>>>5,se=H[1]&31,ce=H[2]>>>7?"H":"M",xe=(H[2]&64)>>6,Ie=(H[2]&32)>>5,Oe=j===2&&xe?Ie?12:10:xe?10:8,tt=(H[2]&16)>>4,at=(H[2]&8)>>3,Nt=(H[2]&4)>>2,dr=H[2]&3;m+="."+j+"."+$e(se)+ce+"."+$e(Oe)+"."+tt+"."+at+Nt+dr+"."+$e(1)+"."+$e(1)+"."+$e(1)+"."+0,w=ge("dav1",n)}break}}return{codec:m,encrypted:P,supplemental:w}}function ge(I,t){const n=bt(t,["dvvC"]),o=n.length?n[0]:bt(t,["dvcC"])[0];if(o){const m=o[2]>>1&127,w=o[2]<<5&32|o[3]>>3&31;return I+"."+$e(m)+"."+$e(w)}}function Ae(I,t){const n=t+5;for(;I[t++]&128&&t<n;);return t}function Me(I){return("0"+I.toString(16).toUpperCase()).slice(-2)}function $e(I){return(I<10?"0":"")+I}function He(I,t){if(!I||!t)return I;const n=t.keyId;return n&&t.isCommonEncryption&&bt(I,["moov","trak"]).forEach(m=>{const P=bt(m,["mdia","minf","stbl","stsd"])[0].subarray(8);let z=bt(P,["enca"]);const H=z.length>0;H||(z=bt(P,["encv"])),z.forEach(j=>{const se=H?j.subarray(28):j.subarray(78);bt(se,["sinf"]).forEach(xe=>{const Ie=nt(xe);if(Ie){const Oe=Ie.subarray(8,24);Oe.some(tt=>tt!==0)||(G.log(`[eme] Patching keyId in 'enc${H?"a":"v"}>sinf>>tenc' box: ${J.hexDump(Oe)} -> ${J.hexDump(n)}`),Ie.set(n,8))}})})}),I}function nt(I){const t=bt(I,["schm"])[0];if(t){const n=Qt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return bt(I,["schi","tenc"])[0]}return null}function ct(I,t){return bt(t,["moof","traf"]).reduce((n,o)=>{const m=bt(o,["tfdt"])[0],w=m[0],P=bt(o,["tfhd"]).reduce((z,H)=>{const j=Jt(H,4),se=I[j];if(se){let ce=Jt(m,4);if(w===1){if(ce===Ft)return G.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),z;ce*=Ft+1,ce+=Jt(m,8)}const xe=se.timescale||9e4,Ie=ce/xe;if(r(Ie)&&(z===null||Ie<z))return Ie}return z},null);return P!==null&&r(P)&&(n===null||P<n)?P:n},null)}function Kt(I,t){let n=0,o=0,m=0;const w=bt(I,["moof","traf"]);for(let P=0;P<w.length;P++){const z=w[P],H=bt(z,["tfhd"])[0],j=Jt(H,4),se=t[j];if(!se)continue;const ce=se.default,xe=Jt(H,0)|(ce==null?void 0:ce.flags);let Ie=ce==null?void 0:ce.duration;xe&8&&(xe&2?Ie=Jt(H,12):Ie=Jt(H,8));const Oe=se.timescale||9e4,tt=bt(z,["trun"]);for(let at=0;at<tt.length;at++){if(n=Wt(tt[at]),!n&&Ie){const Nt=Jt(tt[at],4);n=Ie*Nt}se.type===M.VIDEO?o+=n/Oe:se.type===M.AUDIO&&(m+=n/Oe)}}if(o===0&&m===0){let P=1/0,z=0,H=0;const j=bt(I,["sidx"]);for(let se=0;se<j.length;se++){const ce=ht(j[se]);if(ce!=null&&ce.references){P=Math.min(P,ce.earliestPresentationTime/ce.timescale);const xe=ce.references.reduce((Ie,Oe)=>Ie+Oe.info.duration||0,0);z=Math.max(z,xe+ce.earliestPresentationTime/ce.timescale),H=z-P}}if(H&&r(H))return H}return o||m}function Wt(I){const t=Jt(I,0);let n=8;t&1&&(n+=4),t&4&&(n+=4);let o=0;const m=Jt(I,4);for(let w=0;w<m;w++){if(t&256){const P=Jt(I,n);o+=P,n+=4}t&512&&(n+=4),t&1024&&(n+=4),t&2048&&(n+=4)}return o}function De(I,t,n){bt(t,["moof","traf"]).forEach(o=>{bt(o,["tfhd"]).forEach(m=>{const w=Jt(m,4),P=I[w];if(!P)return;const z=P.timescale||9e4;bt(o,["tfdt"]).forEach(H=>{const j=H[0],se=n*z;if(se){let ce=Jt(H,4);if(j===0)ce-=se,ce=Math.max(ce,0),zt(H,4,ce);else{ce*=Math.pow(2,32),ce+=Jt(H,8),ce-=se,ce=Math.max(ce,0);const xe=Math.floor(ce/(Ft+1)),Ie=Math.floor(ce%(Ft+1));zt(H,4,xe),zt(H,8,Ie)}}})})})}function Qe(I){const t={valid:null,remainder:null},n=bt(I,["moof"]);if(n.length<2)return t.remainder=I,t;const o=n[n.length-1];return t.valid=I.slice(0,o.byteOffset-8),t.remainder=I.slice(o.byteOffset-8),t}function Vt(I,t){const n=new Uint8Array(I.length+t.length);return n.set(I),n.set(t,I.length),n}function kt(I,t){const n=[],o=t.samples,m=t.timescale,w=t.id;let P=!1;return bt(o,["moof"]).map(H=>{const j=H.byteOffset-8;bt(H,["traf"]).map(ce=>{const xe=bt(ce,["tfdt"]).map(Ie=>{const Oe=Ie[0];let tt=Jt(Ie,4);return Oe===1&&(tt*=Math.pow(2,32),tt+=Jt(Ie,8)),tt/m})[0];return xe!==void 0&&(I=xe),bt(ce,["tfhd"]).map(Ie=>{const Oe=Jt(Ie,4),tt=Jt(Ie,0)&16777215,at=(tt&1)!==0,Nt=(tt&2)!==0,dr=(tt&8)!==0;let ar=0;const Zr=(tt&16)!==0;let Gr=0;const fn=(tt&32)!==0;let Vr=8;Oe===w&&(at&&(Vr+=8),Nt&&(Vr+=4),dr&&(ar=Jt(Ie,Vr),Vr+=4),Zr&&(Gr=Jt(Ie,Vr),Vr+=4),fn&&(Vr+=4),t.type==="video"&&(P=Ht(t.codec)),bt(ce,["trun"]).map(on=>{const hn=on[0],qr=Jt(on,0)&16777215,Gn=(qr&1)!==0;let ci=0;const us=(qr&4)!==0,ya=(qr&256)!==0;let Ji=0;const ki=(qr&512)!==0;let ta=0;const Xi=(qr&1024)!==0,Vn=(qr&2048)!==0;let ri=0;const wa=Jt(on,4);let Ea=8;Gn&&(ci=Jt(on,Ea),Ea+=4),us&&(Ea+=4);let as=ci+j;for(let Os=0;Os<wa;Os++){if(ya?(Ji=Jt(on,Ea),Ea+=4):Ji=ar,ki?(ta=Jt(on,Ea),Ea+=4):ta=Gr,Xi&&(Ea+=4),Vn&&(hn===0?ri=Jt(on,Ea):ri=It(on,Ea),Ea+=4),t.type===M.VIDEO){let Ys=0;for(;Ys<ta;){const co=Jt(o,as);if(as+=4,$t(P,o[as])){const nl=o.subarray(as,as+co);Ct(nl,P?2:1,I+ri/m,n)}as+=co,Ys+=co+4}}I+=Ji/m}}))})})}),n}function Ht(I){if(!I)return!1;const t=I.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function $t(I,t){if(I){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function Ct(I,t,n,o){const m=Yt(I);let w=0;w+=t;let P=0,z=0,H=0;for(;w<m.length;){P=0;do{if(w>=m.length)break;H=m[w++],P+=H}while(H===255);z=0;do{if(w>=m.length)break;H=m[w++],z+=H}while(H===255);const j=m.length-w;let se=w;if(z<j)w+=z;else if(z>j){G.error(`Malformed SEI payload. ${z} is too small, only ${j} bytes left to parse.`);break}if(P===4){if(m[se++]===181){const xe=er(m,se);if(se+=2,xe===49){const Ie=Jt(m,se);if(se+=4,Ie===1195456820){const Oe=m[se++];if(Oe===3){const tt=m[se++],at=31&tt,Nt=64&tt,dr=Nt?2+at*3:0,ar=new Uint8Array(dr);if(Nt){ar[0]=tt;for(let Zr=1;Zr<dr;Zr++)ar[Zr]=m[se++]}o.push({type:Oe,payloadType:P,pts:n,bytes:ar})}}}}}else if(P===5&&z>16){const ce=[];for(let Oe=0;Oe<16;Oe++){const tt=m[se++].toString(16);ce.push(tt.length==1?"0"+tt:tt),(Oe===3||Oe===5||Oe===7||Oe===9)&&ce.push("-")}const xe=z-16,Ie=new Uint8Array(xe);for(let Oe=0;Oe<xe;Oe++)Ie[Oe]=m[se++];o.push({payloadType:P,pts:n,uuid:ce.join(""),userData:Q(Ie),userDataBytes:Ie})}}}function Yt(I){const t=I.byteLength,n=[];let o=1;for(;o<t-2;)I[o]===0&&I[o+1]===0&&I[o+2]===3?(n.push(o+2),o+=2):o++;if(n.length===0)return I;const m=t-n.length,w=new Uint8Array(m);let P=0;for(o=0;o<m;P++,o++)P===n[0]&&(P++,n.shift()),w[o]=I[P];return w}function Ge(I){const t=I[0];let n="",o="",m=0,w=0,P=0,z=0,H=0,j=0;if(t===0){for(;Qt(I.subarray(j,j+1))!=="\0";)n+=Qt(I.subarray(j,j+1)),j+=1;for(n+=Qt(I.subarray(j,j+1)),j+=1;Qt(I.subarray(j,j+1))!=="\0";)o+=Qt(I.subarray(j,j+1)),j+=1;o+=Qt(I.subarray(j,j+1)),j+=1,m=Jt(I,12),w=Jt(I,16),z=Jt(I,20),H=Jt(I,24),j=28}else if(t===1){j+=4,m=Jt(I,j),j+=4;const ce=Jt(I,j);j+=4;const xe=Jt(I,j);for(j+=4,P=4294967296*ce+xe,i(P)||(P=Number.MAX_SAFE_INTEGER,G.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),z=Jt(I,j),j+=4,H=Jt(I,j),j+=4;Qt(I.subarray(j,j+1))!=="\0";)n+=Qt(I.subarray(j,j+1)),j+=1;for(n+=Qt(I.subarray(j,j+1)),j+=1;Qt(I.subarray(j,j+1))!=="\0";)o+=Qt(I.subarray(j,j+1)),j+=1;o+=Qt(I.subarray(j,j+1)),j+=1}const se=I.subarray(j,I.byteLength);return{schemeIdUri:n,value:o,timeScale:m,presentationTime:P,presentationTimeDelta:w,eventDuration:z,id:H,payload:se}}function fe(I,...t){const n=t.length;let o=8,m=n;for(;m--;)o+=t[m].byteLength;const w=new Uint8Array(o);for(w[0]=o>>24&255,w[1]=o>>16&255,w[2]=o>>8&255,w[3]=o&255,w.set(I,4),m=0,o=8;m<n;m++)w.set(t[m],o),o+=t[m].byteLength;return w}function _e(I,t,n){if(I.byteLength!==16)throw new RangeError("Invalid system id");let o,m;o=0,m=new Uint8Array;let w;o>0?(w=new Uint8Array(4),t.length>0&&new DataView(w.buffer).setUint32(0,t.length,!1)):w=new Uint8Array;const P=new Uint8Array(4);return n&&n.byteLength>0&&new DataView(P.buffer).setUint32(0,n.byteLength,!1),fe([112,115,115,104],new Uint8Array([o,0,0,0]),I,w,m,P,n||new Uint8Array)}function Ot(I){const t=[];if(I instanceof ArrayBuffer){const n=I.byteLength;let o=0;for(;o+32<n;){const m=new DataView(I,o),w=Pe(m);t.push(w),o+=w.size}}return t}function Pe(I){const t=I.getUint32(0),n=I.byteOffset,o=I.byteLength;if(o<t)return{offset:n,size:o};if(I.getUint32(4)!==1886614376)return{offset:n,size:t};const w=I.getUint32(8)>>>24;if(w!==0&&w!==1)return{offset:n,size:t};const P=I.buffer,z=J.hexDump(new Uint8Array(P,n+12,16)),H=I.getUint32(28);let j=null,se=null;if(w===0){if(t-32<H||H<22)return{offset:n,size:t};se=new Uint8Array(P,n+32,H)}else if(w===1){if(!H||o<n+32+H*16+16)return{offset:n,size:t};j=[];for(let ce=0;ce<H;ce++)j.push(new Uint8Array(P,n+32+ce*16,16))}return{version:w,systemId:z,kids:j,data:se,offset:n,size:t}}const dt=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),Zt={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,dav1:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function Tt(I,t){const n=Zt[t];return!!n&&!!n[I.slice(0,4)]}function ke(I,t,n=!0){return!I.split(",").some(o=>!St(o,t,n))}function St(I,t,n=!0){var o;const m=oe(n);return(o=m==null?void 0:m.isTypeSupported(be(I,t)))!=null?o:!1}function be(I,t){return`${t}/mp4;codecs=${I}`}function Ke(I){if(I){const t=I.substring(0,4);return Zt.video[t]}return 2}function gt(I){const t=dt();return I.split(",").reduce((n,o)=>{const w=t&&Ht(o)?9:Zt.video[o];return w?(w*2+n)/(n?3:2):(Zt.audio[o]+n)/(n?2:1)},0)}const Rt={};function Be(I,t=!0){if(Rt[I])return Rt[I];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[I];for(let m=0;m<n.length;m++){var o;if(St(n[m],"audio",t))return Rt[I]=n[m],n[m];if(n[m]==="mp3"&&(o=oe(t))!=null&&o.isTypeSupported("audio/mpeg"))return""}return I}const kr=/flac|opus|mp4a\.40\.34/i;function At(I,t=!0){return I.replace(kr,n=>Be(n.toLowerCase(),t))}function Kr(I,t){const n=[];if(I){const o=I.split(",");for(let m=0;m<o.length;m++)Tt(o[m],"video")||n.push(o[m])}return t&&n.push(t),n.join(",")}function Qr(I,t){if(I&&(I.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(I)!==-1))return I;if(t){const n=t.split(",");if(n.length>1){if(I){for(let o=n.length;o--;)if(n[o].substring(0,4)===I.substring(0,4))return n[o]}return n[0]}}return t||I}function Ar(I){const t=I.split(",");for(let n=0;n<t.length;n++){const o=t[n].split(".");if(o.length>2){let m=o.shift()+".";m+=parseInt(o.shift()).toString(16),m+=("000"+parseInt(o.shift()).toString(16)).slice(-4),t[n]=m}}return t.join(",")}function $r(I){if(I.startsWith("av01.")){const t=I.split("."),n=["0","111","01","01","01","0"];for(let o=t.length;o>4&&o<10;o++)t[o]=n[o-4];return t.join(".")}return I}function _r(I){const t=oe(I)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function Ur(I){return I.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const sn={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function cn(I,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:I}}const ur={};function Lt(I,t,n,o,m,w){const P=I.audioCodec?I.audioGroups:null,z=w==null?void 0:w.audioCodec,H=w==null?void 0:w.channels,j=H?parseInt(H):z?1/0:2;let se=null;if(P!=null&&P.length)try{P.length===1&&P[0]?se=t.groups[P[0]].channels:se=P.reduce((ce,xe)=>{if(xe){const Ie=t.groups[xe];if(!Ie)throw new Error(`Audio track group ${xe} not found`);Object.keys(Ie.channels).forEach(Oe=>{ce[Oe]=(ce[Oe]||0)+Ie.channels[Oe]})}return ce},{2:0})}catch(ce){return!0}return I.videoCodec!==void 0&&(I.width>1920&&I.height>1088||I.height>1920&&I.width>1088||I.frameRate>Math.max(o,30)||I.videoRange!=="SDR"&&I.videoRange!==n||I.bitrate>Math.max(m,8e6))||!!se&&r(j)&&Object.keys(se).some(ce=>parseInt(ce)>j)}function vt(I,t,n){const o=I.videoCodec,m=I.audioCodec;if(!o&&!m||!n)return Promise.resolve(sn);const w=[];if(o){const P={width:I.width,height:I.height,bitrate:Math.ceil(Math.max(I.bitrate*.9,I.averageBitrate)),framerate:I.frameRate||30},z=I.videoRange;z!=="SDR"&&(P.transferFunction=z.toLowerCase());const H=o.split(","),j=navigator.userAgent;if(H.some(se=>Ht(se))&&dt())return Promise.resolve(cn(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: (${j})`),w));w.push.apply(w,H.map(se=>({type:"media-source",video:b(b({},P),{},{contentType:be($r(se),"video")})})))}return m&&I.audioGroups&&I.audioGroups.forEach(P=>{var z;P&&((z=t.groups[P])==null||z.tracks.forEach(H=>{if(H.groupId===P){const j=H.channels||"",se=parseFloat(j);r(se)&&se>2&&w.push.apply(w,m.split(",").map(ce=>({type:"media-source",audio:{contentType:be(ce,"audio"),channels:""+se}})))}}))}),Promise.all(w.map(P=>{const z=yt(P);return ur[z]||(ur[z]=n.decodingInfo(P))})).then(P=>({supported:!P.some(z=>!z.supported),configurations:w,decodingInfoResults:P})).catch(P=>({supported:!1,configurations:w,decodingInfoResults:[],error:P}))}function yt(I){const{audio:t,video:n}=I,o=n||t;if(o){const m=Ur(o.contentType);if(n)return`r${n.height}x${n.width}f${Math.ceil(n.framerate)}${n.transferFunction||"sd"}_${m}_${Math.ceil(n.bitrate/1e5)}`;if(t)return`c${t.channels}${t.spatialRendering?"s":"n"}_${m}`}return""}const jt=["NONE","TYPE-0","TYPE-1",null];function Cr(I){return jt.indexOf(I)>-1}const yr=["SDR","PQ","HLG"];function ot(I){return!!I&&yr.indexOf(I)>-1}var Fr={No:"",Yes:"YES",v2:"v2"};function mn(I){const{canSkipUntil:t,canSkipDateRanges:n,age:o}=I,m=o<t/2;return t&&m?n?Fr.v2:Fr.Yes:Fr.No}class Un{constructor(t,n,o){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=t,this.part=n,this.skip=o}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 mr{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(o=>!!o).map(o=>o.substring(0,4)).join(","),"supplemental"in t){var n;this.supplemental=t.supplemental;const o=(n=t.supplemental)==null?void 0:n.videoCodec;o&&o!==t.videoCodec&&(this.codecSet+=`,${o.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 en(this._audioGroups,t)}hasSubtitleGroup(t){return en(this._subtitleGroups,t)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(t,n){if(n){if(t==="audio"){let o=this._audioGroups;o||(o=this._audioGroups=[]),o.indexOf(n)===-1&&o.push(n)}else if(t==="text"){let o=this._subtitleGroups;o||(o=this._subtitleGroups=[]),o.indexOf(n)===-1&&o.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 en(I,t){return!t||!I?!1:I.indexOf(t)!==-1}function dn(){if(typeof matchMedia=="function"){const I=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(I.media!==t.media)return I.matches===!0}return!1}function Fn(I,t){let n=!1,o=[];if(I&&(n=I!=="SDR",o=[I]),t){o=t.allowedVideoRanges||yr.slice(0);const m=o.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&dn(),n||(o=["SDR"])}return{preferHDR:n,allowedVideoRanges:o}}const ei=I=>{const t=new WeakSet;return(n,o)=>{if(I&&(o=I(n,o)),typeof o=="object"&&o!==null){if(t.has(o))return;t.add(o)}return o}},Nn=(I,t)=>JSON.stringify(I,ei(t));function zi(I,t,n,o,m){const w=Object.keys(I),P=o==null?void 0:o.channels,z=o==null?void 0:o.audioCodec,H=m==null?void 0:m.videoCodec,j=P&&parseInt(P)===2;let se=!1,ce=!1,xe=1/0,Ie=1/0,Oe=1/0,tt=1/0,at=0,Nt=[];const{preferHDR:dr,allowedVideoRanges:ar}=Fn(t,m);for(let on=w.length;on--;){const hn=I[w[on]];se||(se=hn.channels[2]>0),xe=Math.min(xe,hn.minHeight),Ie=Math.min(Ie,hn.minFramerate),Oe=Math.min(Oe,hn.minBitrate),ar.filter(Gn=>hn.videoRanges[Gn]>0).length>0&&(ce=!0)}xe=r(xe)?xe:0,Ie=r(Ie)?Ie:0;const Zr=Math.max(1080,xe),Gr=Math.max(30,Ie);Oe=r(Oe)?Oe:n,n=Math.max(Oe,n),ce||(t=void 0);const fn=w.length>1;return{codecSet:w.reduce((on,hn)=>{const qr=I[hn];if(hn===on)return on;if(Nt=ce?ar.filter(Gn=>qr.videoRanges[Gn]>0):[],fn){if(qr.minBitrate>n)return mi(hn,`min bitrate of ${qr.minBitrate} > current estimate of ${n}`),on;if(!qr.hasDefaultAudio)return mi(hn,"no renditions with default or auto-select sound found"),on;if(z&&hn.indexOf(z.substring(0,4))%5!==0)return mi(hn,`audio codec preference "${z}" not found`),on;if(P&&!j){if(!qr.channels[P])return mi(hn,`no renditions with ${P} channel sound found (channels options: ${Object.keys(qr.channels)})`),on}else if((!z||j)&&se&&qr.channels[2]===0)return mi(hn,"no renditions with stereo sound found"),on;if(qr.minHeight>Zr)return mi(hn,`min resolution of ${qr.minHeight} > maximum of ${Zr}`),on;if(qr.minFramerate>Gr)return mi(hn,`min framerate of ${qr.minFramerate} > maximum of ${Gr}`),on;if(!Nt.some(Gn=>qr.videoRanges[Gn]>0))return mi(hn,`no variants with VIDEO-RANGE of ${Nn(Nt)} found`),on;if(H&&hn.indexOf(H.substring(0,4))%5!==0)return mi(hn,`video codec preference "${H}" not found`),on;if(qr.maxScore<at)return mi(hn,`max score of ${qr.maxScore} < selected max of ${at}`),on}return on&&(gt(hn)>=gt(on)||qr.fragmentError>I[on].fragmentError)?on:(tt=qr.minIndex,at=qr.maxScore,hn)},void 0),videoRanges:Nt,preferHDR:dr,minFramerate:Ie,minBitrate:Oe,minIndex:tt}}function mi(I,t){G.log(`[abr] start candidates with "${I}" ignored because ${t}`)}function xi(I){return I.reduce((t,n)=>{let o=t.groups[n.groupId];o||(o=t.groups[n.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),o.tracks.push(n);const m=n.channels||"2";return o.channels[m]=(o.channels[m]||0)+1,o.hasDefault=o.hasDefault||n.default,o.hasAutoSelect=o.hasAutoSelect||n.autoselect,o.hasDefault&&(t.hasDefaultAudio=!0),o.hasAutoSelect&&(t.hasAutoSelectAudio=!0),t},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function vi(I,t,n,o){return I.slice(n,o+1).reduce((m,w,P)=>{if(!w.codecSet)return m;const z=w.audioGroups;let H=m[w.codecSet];H||(m[w.codecSet]=H={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:P,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!z,fragmentError:0}),H.minBitrate=Math.min(H.minBitrate,w.bitrate);const j=Math.min(w.height,w.width);return H.minHeight=Math.min(H.minHeight,j),H.minFramerate=Math.min(H.minFramerate,w.frameRate),H.minIndex=Math.min(H.minIndex,P),H.maxScore=Math.max(H.maxScore,w.score),H.fragmentError+=w.fragmentError,H.videoRanges[w.videoRange]=(H.videoRanges[w.videoRange]||0)+1,z&&z.forEach(se=>{if(!se)return;const ce=t.groups[se];ce&&(H.hasDefaultAudio=H.hasDefaultAudio||t.hasDefaultAudio?ce.hasDefault:ce.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(ce.channels).forEach(xe=>{H.channels[xe]=(H.channels[xe]||0)+ce.channels[xe]}))}),m},{})}function pi(I){if(!I)return I;const{lang:t,assocLang:n,characteristics:o,channels:m,audioCodec:w}=I;return{lang:t,assocLang:n,characteristics:o,channels:m,audioCodec:w}}function Yi(I,t,n){if("attrs"in I){const o=t.indexOf(I);if(o!==-1)return o}for(let o=0;o<t.length;o++){const m=t[o];if(Yn(I,m,n))return o}return-1}function Yn(I,t,n){const{groupId:o,name:m,lang:w,assocLang:P,default:z}=I,H=I.forced;return(o===void 0||t.groupId===o)&&(m===void 0||t.name===m)&&(w===void 0||Vi(w,t.lang))&&(w===void 0||t.assocLang===P)&&(z===void 0||t.default===z)&&(H===void 0||t.forced===H)&&(!("characteristics"in I)||Et(I.characteristics||"",t.characteristics))&&(n===void 0||n(I,t))}function Vi(I,t="--"){return I.length===t.length?I===t:I.startsWith(t)||t.startsWith(I)}function Et(I,t=""){const n=I.split(","),o=t.split(",");return n.length===o.length&&!n.some(m=>o.indexOf(m)===-1)}function ut(I,t){const{audioCodec:n,channels:o}=I;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(o===void 0||o===(t.channels||"2"))}function Xn(I,t,n,o,m){const w=t[o],z=t.reduce((xe,Ie,Oe)=>{const tt=Ie.uri;return(xe[tt]||(xe[tt]=[])).push(Oe),xe},{})[w.uri];z.length>1&&(o=Math.max.apply(Math,z));const H=w.videoRange,j=w.frameRate,se=w.codecSet.substring(0,4),ce=wi(t,o,xe=>{if(xe.videoRange!==H||xe.frameRate!==j||xe.codecSet.substring(0,4)!==se)return!1;const Ie=xe.audioGroups,Oe=n.filter(tt=>!Ie||Ie.indexOf(tt.groupId)!==-1);return Yi(I,Oe,m)>-1});return ce>-1?ce:wi(t,o,xe=>{const Ie=xe.audioGroups,Oe=n.filter(tt=>!Ie||Ie.indexOf(tt.groupId)!==-1);return Yi(I,Oe,m)>-1})}function wi(I,t,n){for(let o=t;o>-1;o--)if(n(I[o]))return o;for(let o=t+1;o<I.length;o++)if(n(I[o]))return o;return-1}function qn(I,t){var n;return!!I&&I!==((n=t.loadLevelObj)==null?void 0:n.uri)}class Zi extends L{constructor(t){super("abr",t.logger),this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=-1,this.firstSelection=-1,this._nextAutoLevel=-1,this.nextAutoLevelKey="",this.audioTracksByGroup=null,this.codecTiers=null,this.timer=-1,this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.rebufferNotice=-1,this.bwEstimator=void 0,this._abandonRulesCheck=n=>{var o;const{fragCurrent:m,partCurrent:w,hls:P}=this,{autoLevelEnabled:z,media:H}=P;if(!m||!H)return;const j=performance.now(),se=w?w.stats:m.stats,ce=w?w.duration:m.duration,xe=j-se.loading.start,Ie=P.minAutoLevel,Oe=m.level,tt=this._nextAutoLevel;if(se.aborted||se.loaded&&se.loaded===se.total||Oe<=Ie){this.clearTimer(),this._nextAutoLevel=-1;return}if(!z)return;const at=tt>-1&&tt!==Oe,Nt=!!n||at;if(!Nt&&(H.paused||!H.playbackRate||!H.readyState))return;const dr=P.mainForwardBufferInfo;if(!Nt&&dr===null)return;const ar=this.bwEstimator.getEstimateTTFB(),Zr=Math.abs(H.playbackRate);if(xe<=Math.max(ar,1e3*(ce/(Zr*2))))return;const Gr=dr?dr.len/Zr:0,fn=se.loading.first?se.loading.first-se.loading.start:-1,Vr=se.loaded&&fn>-1,on=this.getBwEstimate(),hn=P.levels,qr=hn[Oe],Gn=Math.max(se.loaded,Math.round(ce*(m.bitrate||qr.averageBitrate)/8));let ci=Vr?xe-fn:xe;ci<1&&Vr&&(ci=Math.min(xe,se.loaded*8/on));const us=Vr?se.loaded*1e3/ci:0,ya=ar/1e3,Ji=us?(Gn-se.loaded)/us:Gn*8/on+ya;if(Ji<=Gr)return;const ki=us?us*8:on,ta=((o=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:o.live)===!0,Xi=this.hls.config.abrBandWidthUpFactor;let Vn=Number.POSITIVE_INFINITY,ri;for(ri=Oe-1;ri>Ie;ri--){const Os=hn[ri].maxBitrate,Ys=!hn[ri].details||ta;if(Vn=this.getTimeToLoadFrag(ya,ki,ce*Os,Ys),Vn<Math.min(Gr,ce+ya))break}if(Vn>=Ji||Vn>ce*10)return;Vr?this.bwEstimator.sample(xe-Math.min(ar,fn),se.loaded):this.bwEstimator.sampleTTFB(xe);const wa=hn[ri].maxBitrate;this.getBwEstimate()*Xi>wa&&this.resetEstimator(wa);const Ea=this.findBestLevel(wa,Ie,ri,0,Gr,1,1);Ea>-1&&(ri=Ea),this.warn(`Fragment ${m.sn}${w?" part "+w.index:""} of level ${Oe} is loading too slowly;
|
|
|
Fragment duration: ${m.duration.toFixed(3)}
|
|
|
Time to underbuffer: ${Gr.toFixed(3)} s
|
|
|
Estimated load time for current fragment: ${Ji.toFixed(3)} s
|
|
|
Estimated load time for down switch fragment: ${Vn.toFixed(3)} s
|
|
|
TTFB estimate: ${fn|0} ms
|
|
|
Current BW estimate: ${r(on)?on|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${ri} @ ${wa|0} bps`),P.nextLoadLevel=P.nextAutoLevel=ri,this.clearTimer();const as=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===ri&&ri>0){const Os=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${ri>0?"and switching down":""}
|
|
|
Fragment duration: ${m.duration.toFixed(3)} s
|
|
|
Time to underbuffer: ${Os.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,ri>Ie){let Ys=this.findBestLevel(this.hls.levels[Ie].bitrate,Ie,ri,0,Os,1,1);Ys===-1&&(Ys=Ie),this.hls.nextLoadLevel=this.hls.nextAutoLevel=Ys,this.resetEstimator(this.hls.levels[Ys].bitrate)}}};at||Ji>Vn*2?as():this.timer=self.setInterval(as,Vn*1e3),P.trigger(s.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:w,stats:se})},this.hls=t,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(t){t&&(this.log(`setting initial bwe to ${t}`),this.hls.config.abrEwmaDefaultEstimate=t),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const t=this.hls.config;return new x(t.abrEwmaSlowVoD,t.abrEwmaFastVoD,t.abrEwmaDefaultEstimate)}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.off(s.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(t,n){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(t,n){const o=n.frag;if(!this.ignoreFragment(o)){if(!o.bitrateTest){var m;this.fragCurrent=o,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 o=n.frag,{fragCurrent:m,partCurrent:w}=this;if(o&&m&&o.sn===m.sn&&o.level===m.level){const P=performance.now(),z=w?w.stats:o.stats,H=P-z.loading.start,j=z.loading.first?z.loading.first-z.loading.start:-1;if(z.loaded&&j>-1){const ce=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(H-Math.min(ce,j),z.loaded)}else this.bwEstimator.sampleTTFB(H)}break}}}getTimeToLoadFrag(t,n,o,m){const w=t+o/n,P=m?t+this.lastLevelLoadSec:0;return w+P}onLevelLoaded(t,n){const o=this.hls.config,{loading:m}=n.stats,w=m.end-m.first;r(w)&&(this.lastLevelLoadSec=w/1e3),n.details.live?this.bwEstimator.update(o.abrEwmaSlowLive,o.abrEwmaFastLive):this.bwEstimator.update(o.abrEwmaSlowVoD,o.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(n.levelInfo)}onFragLoaded(t,{frag:n,part:o}){const m=o?o.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 w=o?o.duration:n.duration,P=this.hls.levels[n.level],z=(P.loaded?P.loaded.bytes:0)+m.loaded,H=(P.loaded?P.loaded.duration:0)+w;P.loaded={bytes:z,duration:H},P.realBitrate=Math.round(8*z/H)}if(n.bitrateTest){const w={stats:m,frag:n,part:o,id:n.type};this.onFragBuffered(s.FRAG_BUFFERED,w),n.bitrateTest=!1}else this.lastLoadedFragLevel=n.level}}onFragBuffered(t,n){const{frag:o,part:m}=n,w=m!=null&&m.stats.loaded?m.stats:o.stats;if(w.aborted||this.ignoreFragment(o))return;const P=w.parsing.end-w.loading.start-Math.min(w.loading.first-w.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(P,w.loaded),w.bwEstimate=this.getBwEstimate(),o.bitrateTest?this.bitrateTestDelay=P/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,o=this.getBwEstimate(),m=this.hls.config.maxStarvationDelay,w=this.findBestLevel(o,n,t,0,m,1,1);if(w>-1)return w;const P=this.hls.firstLevel,z=Math.min(Math.max(P,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${P} clamped to ${z}`),z}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const t=this.forcedAutoLevel,o=this.bwEstimator.canEstimate(),m=this.lastLoadedFragLevel>-1;if(t!==-1&&(!o||!m||this.nextAutoLevelKey===this.getAutoLevelKey()))return t;const w=o&&m?this.getNextABRAutoLevel():this.firstAutoLevel;if(t!==-1){const P=this.hls.levels;if(P.length>Math.max(t,w)&&P[t].loadError<=P[w].loadError)return t}return this._nextAutoLevel=w,this.nextAutoLevelKey=this.getAutoLevelKey(),w}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:t,partCurrent:n,hls:o}=this;if(o.levels.length<=1)return o.loadLevel;const{maxAutoLevel:m,config:w,minAutoLevel:P}=o,z=n?n.duration:t?t.duration:0,H=this.getBwEstimate(),j=this.getStarvationDelay();let se=w.abrBandWidthFactor,ce=w.abrBandWidthUpFactor;if(j){const at=this.findBestLevel(H,P,m,j,0,se,ce);if(at>=0)return this.rebufferNotice=-1,at}let xe=z?Math.min(z,w.maxStarvationDelay):w.maxStarvationDelay;if(!j){const at=this.bitrateTestDelay;at&&(xe=(z?Math.min(z,w.maxLoadingDelay):w.maxLoadingDelay)-at,this.info(`bitrate test took ${Math.round(1e3*at)}ms, set first fragment max fetchDuration to ${Math.round(1e3*xe)} ms`),se=ce=1)}const Ie=this.findBestLevel(H,P,m,j,xe,se,ce);if(this.rebufferNotice!==Ie&&(this.rebufferNotice=Ie,this.info(`${j?"rebuffering expected":"buffer is empty"}, optimal quality level ${Ie}`)),Ie>-1)return Ie;const Oe=o.levels[P],tt=o.loadLevelObj;return tt&&(Oe==null?void 0:Oe.bitrate)<tt.bitrate?P:o.loadLevel}getStarvationDelay(){const t=this.hls,n=t.media;if(!n)return 1/0;const o=n&&n.playbackRate!==0?Math.abs(n.playbackRate):1,m=t.mainForwardBufferInfo;return(m?m.len:0)/o}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(t,n,o,m,w,P,z){var H;const j=m+w,se=this.lastLoadedFragLevel,ce=se===-1?this.hls.firstLevel:se,{fragCurrent:xe,partCurrent:Ie}=this,{levels:Oe,allAudioTracks:tt,loadLevel:at,config:Nt}=this.hls;if(Oe.length===1)return 0;const dr=Oe[ce],ar=!!((H=this.hls.latestLevelDetails)!=null&&H.live),Zr=at===-1||se===-1;let Gr,fn="SDR",Vr=(dr==null?void 0:dr.frameRate)||0;const{audioPreference:on,videoPreference:hn}=Nt,qr=this.audioTracksByGroup||(this.audioTracksByGroup=xi(tt));let Gn=-1;if(Zr){if(this.firstSelection!==-1)return this.firstSelection;const ki=this.codecTiers||(this.codecTiers=vi(Oe,qr,n,o)),ta=zi(ki,fn,t,on,hn),{codecSet:Xi,videoRanges:Vn,minFramerate:ri,minBitrate:wa,minIndex:Ea,preferHDR:as}=ta;Gn=Ea,Gr=Xi,fn=as?Vn[Vn.length-1]:Vn[0],Vr=ri,t=Math.max(t,wa),this.log(`picked start tier ${Nn(ta)}`)}else Gr=dr==null?void 0:dr.codecSet,fn=dr==null?void 0:dr.videoRange;const ci=Ie?Ie.duration:xe?xe.duration:0,us=this.bwEstimator.getEstimateTTFB()/1e3,ya=[];for(let ki=o;ki>=n;ki--){var Ji;const ta=Oe[ki],Xi=ki>ce;if(!ta)continue;if(Nt.useMediaCapabilities&&!ta.supportedResult&&!ta.supportedPromise){const Ys=navigator.mediaCapabilities;typeof(Ys==null?void 0:Ys.decodingInfo)=="function"&&(Lt(ta,qr,fn,Vr,t,on)||Ht(ta.videoCodec))?(ta.supportedPromise=vt(ta,qr,Ys),ta.supportedPromise.then(co=>{if(!this.hls)return;ta.supportedResult=co;const nl=this.hls.levels,vl=nl.indexOf(ta);co.error?this.warn(`MediaCapabilities decodingInfo error: "${co.error}" for level ${vl} ${Nn(co)}`):co.supported||(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${vl} ${Nn(co)}`),vl>-1&&nl.length>1&&(this.log(`Removing unsupported level ${vl}`),this.hls.removeLevel(vl),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):ta.supportedResult=sn}if((Gr&&ta.codecSet!==Gr||fn&&ta.videoRange!==fn||Xi&&Vr>ta.frameRate||!Xi&&Vr>0&&Vr<ta.frameRate||ta.supportedResult&&!((Ji=ta.supportedResult.decodingInfoResults)!=null&&Ji[0].smooth))&&(!Zr||ki!==Gn)){ya.push(ki);continue}const Vn=ta.details,ri=(Ie?Vn==null?void 0:Vn.partTarget:Vn==null?void 0:Vn.averagetargetduration)||ci;let wa;Xi?wa=z*t:wa=P*t;const Ea=ci&&m>=ci*2&&w===0?ta.averageBitrate:ta.maxBitrate,as=this.getTimeToLoadFrag(us,wa,Ea*ri,Vn===void 0);if(wa>=Ea&&(ki===se||ta.loadError===0&&ta.fragmentError===0)&&(as<=us||!r(as)||ar&&!this.bitrateTestDelay||as<j)){const Ys=this.forcedAutoLevel;return ki!==at&&(Ys===-1||Ys!==at)&&(ya.length&&this.trace(`Skipped level(s) ${ya.join(",")} of ${o} max with CODECS and VIDEO-RANGE:"${Oe[ya[0]].codecs}" ${Oe[ya[0]].videoRange}; not compatible with "${Gr}" ${fn}`),this.info(`switch candidate:${ce}->${ki} adjustedbw(${Math.round(wa)})-bitrate=${Math.round(wa-Ea)} ttfb:${us.toFixed(1)} avgDuration:${ri.toFixed(1)} maxFetchDuration:${j.toFixed(1)} fetchDuration:${as.toFixed(1)} firstSelection:${Zr} codecSet:${ta.codecSet} videoRange:${ta.videoRange} hls.loadLevel:${at}`)),Zr&&(this.firstSelection=ki),ki}}return-1}set nextAutoLevel(t){const n=this.deriveNextAutoLevel(t);this._nextAutoLevel!==n&&(this.nextAutoLevelKey="",this._nextAutoLevel=n)}deriveNextAutoLevel(t){const{maxAutoLevel:n,minAutoLevel:o}=this.hls;return Math.min(Math.max(t,o),n)}}const _i={search:function(I,t){let n=0,o=I.length-1,m=null,w=null;for(;n<=o;){m=(n+o)/2|0,w=I[m];const P=t(w);if(P>0)n=m+1;else if(P<0)o=m-1;else return w}return null}};function Pi(I,t,n){if(t===null||!Array.isArray(I)||!I.length||!r(t))return null;const o=I[0].programDateTime;if(t<(o||0))return null;const m=I[I.length-1].endProgramDateTime;if(t>=(m||0))return null;n=n||0;for(let w=0;w<I.length;++w){const P=I[w];if(rt(t,n,P))return P}return null}function Qn(I,t,n=0,o=0,m=.005){let w=null;if(I){w=t[1+I.sn-t[0].sn]||null;const z=I.endDTS-n;z>0&&z<15e-7&&(n+=15e-7),w&&I.level!==w.level&&w.end<=I.end&&(w=t[2+I.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(w=t[0]);if(w&&((!I||I.level===w.level)&&mt(n,o,w)===0||tr(w,I,Math.min(m,o))))return w;const P=_i.search(t,mt.bind(null,n,o));return P&&(P!==I||!w)?P:w}function tr(I,t,n){if(t&&t.start===0&&t.level<I.level&&(t.endPTS||0)>0){const o=t.tagList.reduce((m,w)=>(w[0]==="INF"&&(m+=parseFloat(w[1])),m),n);return I.start<=o}return!1}function mt(I=0,t=0,n){if(n.start<=I&&n.start+n.duration>I)return 0;const o=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-o<=I?1:n.start-o>I&&n.start?-1:0}function rt(I,t,n){const o=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-o>I}function Dt(I,t){return _i.search(I,n=>n.cc<t?1:n.cc>t?-1:0)}function pt(I,t,n){if(I&&I.startCC<=t&&I.endCC>=t){const o=n.start,m=n.end;let w=I.fragments;if(!n.relurl){const{fragmentHint:P}=I;P&&(w=w.concat(P))}return _i.search(w,P=>P.cc<t||P.end<=o?1:P.cc>t||P.start>=m?-1:0)}return null}function cr(I){switch(I.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 fr(I,t){const n=cr(t);return I.default[`${n?"timeout":"error"}Retry`]}function Ir(I,t){const n=I.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*I.retryDelayMs,I.maxRetryDelayMs)}function Rr(I){return b(b({},I),{errorRetry:null,timeoutRetry:null})}function Ze(I,t,n,o){if(!I)return!1;const m=o==null?void 0:o.code,w=t<I.maxNumRetry&&(et(m)||!!n);return I.shouldRetry?I.shouldRetry(I,t,n,o,w):w}function et(I){return I===0&&navigator.onLine===!1||!!I&&(I<400||I>499)}var we={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},it={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class ir extends L{constructor(t){super("error-controller",t.logger),this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.hls=t,this.registerListeners()}registerListeners(){const t=this.hls;t.on(s.ERROR,this.onError,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const t=this.hls;t&&(t.off(s.ERROR,this.onError,this),t.off(s.ERROR,this.onErrorOut,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(t){}stopLoad(){this.playlistError=0}getVariantLevelIndex(t){return(t==null?void 0:t.type)===u.MAIN?t.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(t,n){var o;if(n.fatal)return;const m=this.hls,w=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((o=n.frag)!=null&&o.gap){n.errorAction=Or();return}case f.FRAG_GAP:case f.FRAG_DECRYPT_ERROR:{n.errorAction=this.getFragRetryOrSwitchAction(n),n.errorAction.action=we.SendAlternateToPenaltyBox;return}case f.LEVEL_EMPTY_ERROR:case f.LEVEL_PARSING_ERROR:{var P,z;const j=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((P=n.context)!=null&&(z=P.levelDetails)!=null&&z.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,j):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,j))}return;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:typeof(w==null?void 0:w.level)=="number"&&(n.errorAction=this.getPlaylistRetryOrSwitchAction(n,w.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(w){const j=m.loadLevelObj;if(j&&(w.type===h.AUDIO_TRACK&&j.hasAudioGroup(w.groupId)||w.type===h.SUBTITLE_TRACK&&j.hasSubtitleGroup(w.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=we.SendAlternateToPenaltyBox,n.errorAction.flags=it.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const j=m.loadLevelObj,se=j==null?void 0:j.attrs["HDCP-LEVEL"];se?n.errorAction={action:we.SendAlternateToPenaltyBox,flags:it.MoveAllAlternatesMatchingHDCP,hdcpLevel:se}:this.keySystemError(n)}return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var H;n.errorAction=this.getLevelSwitchAction(n,(H=n.level)!=null?H: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=Or();return}n.type===c.KEY_SYSTEM_ERROR&&this.keySystemError(n)}keySystemError(t){const n=this.getVariantLevelIndex(t.frag);t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,n)}getPlaylistRetryOrSwitchAction(t,n){const o=this.hls,m=fr(o.config.playlistLoadPolicy,t),w=this.playlistError++;if(Ze(m,w,cr(t),t.response))return{action:we.RetryRequest,flags:it.None,retryConfig:m,retryCount:w};const z=this.getLevelSwitchAction(t,n);return m&&(z.retryConfig=m,z.retryCount=w),z}getFragRetryOrSwitchAction(t){const n=this.hls,o=this.getVariantLevelIndex(t.frag),m=n.levels[o],{fragLoadPolicy:w,keyLoadPolicy:P}=n.config,z=fr(t.details.startsWith("key")?P:w,t),H=n.levels.reduce((se,ce)=>se+ce.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,Ze(z,H,cr(t),t.response)))return{action:we.RetryRequest,flags:it.None,retryConfig:z,retryCount:H};const j=this.getLevelSwitchAction(t,o);return z&&(j.retryConfig=z,j.retryCount=H),j}getLevelSwitchAction(t,n){const o=this.hls;n==null&&(n=o.loadLevel);const m=this.hls.levels[n];if(m){var w,P;const j=t.details;m.loadError++,j===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let se=-1;const{levels:ce,loadLevel:xe,minAutoLevel:Ie,maxAutoLevel:Oe}=o;o.autoLevelEnabled||(o.loadLevel=-1);const tt=(w=t.frag)==null?void 0:w.type,Nt=(tt===u.AUDIO&&j===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(j===f.BUFFER_ADD_CODEC_ERROR||j===f.BUFFER_APPEND_ERROR))&&ce.some(({audioCodec:fn})=>m.audioCodec!==fn),ar=t.sourceBufferName==="video"&&(j===f.BUFFER_ADD_CODEC_ERROR||j===f.BUFFER_APPEND_ERROR)&&ce.some(({codecSet:fn,audioCodec:Vr})=>m.codecSet!==fn&&m.audioCodec===Vr),{type:Zr,groupId:Gr}=(P=t.context)!=null?P:{};for(let fn=ce.length;fn--;){const Vr=(fn+xe)%ce.length;if(Vr!==xe&&Vr>=Ie&&Vr<=Oe&&ce[Vr].loadError===0){var z,H;const on=ce[Vr];if(j===f.FRAG_GAP&&tt===u.MAIN&&t.frag){const hn=ce[Vr].details;if(hn){const qr=Qn(t.frag,hn.fragments,t.frag.start);if(qr!=null&&qr.gap)continue}}else{if(Zr===h.AUDIO_TRACK&&on.hasAudioGroup(Gr)||Zr===h.SUBTITLE_TRACK&&on.hasSubtitleGroup(Gr))continue;if(tt===u.AUDIO&&(z=m.audioGroups)!=null&&z.some(hn=>on.hasAudioGroup(hn))||tt===u.SUBTITLE&&(H=m.subtitleGroups)!=null&&H.some(hn=>on.hasSubtitleGroup(hn))||Nt&&m.audioCodec===on.audioCodec||!Nt&&m.audioCodec!==on.audioCodec||ar&&m.codecSet===on.codecSet)continue}se=Vr;break}}if(se>-1&&o.loadLevel!==se)return t.levelRetry=!0,this.playlistError=0,{action:we.SendAlternateToPenaltyBox,flags:it.None,nextAutoLevel:se}}return{action:we.SendAlternateToPenaltyBox,flags:it.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var o;switch((o=n.errorAction)==null?void 0:o.action){case we.DoNothing:break;case we.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 we.RetryRequest:break}if(n.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(t){const n=this.hls,o=t.errorAction;if(!o)return;const{flags:m,hdcpLevel:w,nextAutoLevel:P}=o;switch(m){case it.None:this.switchLevel(t,P);break;case it.MoveAllAlternatesMatchingHDCP:w&&(n.maxHdcpLevel=jt[jt.indexOf(w)-1],o.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}o.resolved||this.switchLevel(t,P)}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 o=Ur(t.mimeType),m=this.hls.levels;for(let w=m.length;w--;)m[w][`${t.sourceBufferName}Codec`]===o&&this.hls.removeLevel(w)}}}function Or(I){const t={action:we.DoNothing,flags:it.None};return I&&(t.resolved=!0),t}var wr={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Tr{constructor(t){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=t,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(t,n){const o=this.activePartLists[n];if(o)for(let m=o.length;m--;){const w=o[m];if(!w)break;const P=w.end;if(w.start<=t&&P!==null&&t<=P)return w}return this.getBufferedFrag(t,n)}getBufferedFrag(t,n){return this.getFragAtPos(t,n,!0)}getFragAtPos(t,n,o){const{fragments:m}=this,w=Object.keys(m);for(let P=w.length;P--;){const z=m[w[P]];if((z==null?void 0:z.body.type)===n&&(!o||z.buffered)){const H=z.body;if(H.start<=t&&t<=H.end)return H}}return null}detectEvictedFragments(t,n,o,m,w){this.timeRanges&&(this.timeRanges[t]=n);const P=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(z=>{const H=this.fragments[z];if(!H||P>=H.body.sn)return;if(!H.buffered&&(!H.loaded||w)){H.body.type===o&&this.removeFragment(H.body);return}const j=H.range[t];if(j){if(j.time.length===0){this.removeFragment(H.body);return}j.time.some(se=>{const ce=!this.isTimeBuffered(se.startPTS,se.endPTS,n);return ce&&this.removeFragment(H.body),ce})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const o=t.frag,m=gn(o),w=this.fragments[m];if(!w||w.buffered&&o.gap)return;const P=!o.relurl;Object.keys(n).forEach(z=>{const H=o.elementaryStreams[z];if(!H)return;const j=n[z],se=P||H.partial===!0;w.range[z]=this.getBufferedTimes(o,t.part,se,j)}),w.loaded=null,Object.keys(w.range).length?(w.buffered=!0,(w.body.endList=o.endList||w.body.endList)&&(this.endListFragments[w.body.type]=w),Nr(w)||this.removeParts(o.sn-1,o.type)):this.removeFragment(w.body)}removeParts(t,n){const o=this.activePartLists[n];o&&(this.activePartLists[n]=Dr(o,m=>m.fragment.sn>=t))}fragBuffered(t,n){const o=gn(t);let m=this.fragments[o];!m&&n&&(m=this.fragments[o]={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,o,m){const w={time:[],partial:o},P=t.start,z=t.end,H=t.minEndPTS||z,j=t.maxStartPTS||P;for(let se=0;se<m.length;se++){const ce=m.start(se)-this.bufferPadding,xe=m.end(se)+this.bufferPadding;if(j>=ce&&H<=xe){w.time.push({startPTS:Math.max(P,m.start(se)),endPTS:Math.min(z,m.end(se))});break}else if(P<xe&&z>ce){const Ie=Math.max(P,m.start(se)),Oe=Math.min(z,m.end(se));Oe>Ie&&(w.partial=!0,w.time.push({startPTS:Ie,endPTS:Oe}))}else if(z<=ce)break}return w}getPartialFragment(t){let n=null,o,m,w,P=0;const{bufferPadding:z,fragments:H}=this;return Object.keys(H).forEach(j=>{const se=H[j];se&&Nr(se)&&(m=se.body.start-z,w=se.body.end+z,t>=m&&t<=w&&(o=Math.min(t-m,w-t),P<=o&&(n=se.body,P=o)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||Nr(n))}getState(t){const n=gn(t),o=this.fragments[n];return o?o.buffered?Nr(o)?wr.PARTIAL:wr.OK:wr.APPENDING:wr.NOT_LOADED}isTimeBuffered(t,n,o){let m,w;for(let P=0;P<o.length;P++){if(m=o.start(P)-this.bufferPadding,w=o.end(P)+this.bufferPadding,t>=m&&n<=w)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 o=n.frag,m=n.part?null:n,w=gn(o);this.fragments[w]={body:o,appendedPTS:null,loaded:m,buffered:!1,range:Object.create(null)}}onBufferAppended(t,n){const{frag:o,part:m,timeRanges:w,type:P}=n;if(o.sn==="initSegment")return;const z=o.type;if(m){let j=this.activePartLists[z];j||(this.activePartLists[z]=j=[]),j.push(m)}this.timeRanges=w;const H=w[P];this.detectEvictedFragments(P,H,z,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=gn(t);return!!this.fragments[n]}hasFragments(t){const{fragments:n}=this,o=Object.keys(n);if(!t)return o.length>0;for(let m=o.length;m--;){const w=n[o[m]];if((w==null?void 0:w.body.type)===t)return!0}return!1}hasParts(t){var n;return!!((n=this.activePartLists[t])!=null&&n.length)}removeFragmentsInRange(t,n,o,m,w){m&&!this.hasGaps||Object.keys(this.fragments).forEach(P=>{const z=this.fragments[P];if(!z)return;const H=z.body;H.type!==o||m&&!H.gap||H.start<n&&H.end>t&&(z.buffered||w)&&this.removeFragment(H)})}removeFragment(t){const n=gn(t);t.clearElementaryStreamInfo();const o=this.activePartLists[t.type];if(o){const m=t.sn;this.activePartLists[t.type]=Dr(o,w=>w.fragment.sn!==m)}delete this.fragments[n],t.endList&&delete this.endListFragments[t.type]}removeAllFragments(){var t,n;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const o=(t=this.hls)==null||(n=t.latestLevelDetails)==null?void 0:n.partList;o&&o.forEach(m=>m.clearElementaryStreamInfo())}}function Nr(I){var t,n,o;return I.buffered&&(I.body.gap||((t=I.range.video)==null?void 0:t.partial)||((n=I.range.audio)==null?void 0:n.partial)||((o=I.range.audiovideo)==null?void 0:o.partial))}function gn(I){return`${I.type}_${I.level}_${I.sn}`}function Dr(I,t){return I.filter(n=>{const o=t(n);return o||n.clearElementaryStreamInfo(),o})}var un={cbc:0,ctr:1};class tn{constructor(t,n,o){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=t,this.aesIV=n,this.aesMode=o}decrypt(t,n){switch(this.aesMode){case un.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case un.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 ln(I){const t=I.byteLength,n=t&&new DataView(I.buffer).getUint8(t-1);return n?I.slice(0,t-n):I}class En{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),o=new Uint32Array(4);for(let m=0;m<4;m++)o[m]=n.getUint32(m*4);return o}initTable(){const t=this.sBox,n=this.invSBox,o=this.subMix,m=o[0],w=o[1],P=o[2],z=o[3],H=this.invSubMix,j=H[0],se=H[1],ce=H[2],xe=H[3],Ie=new Uint32Array(256);let Oe=0,tt=0,at=0;for(at=0;at<256;at++)at<128?Ie[at]=at<<1:Ie[at]=at<<1^283;for(at=0;at<256;at++){let Nt=tt^tt<<1^tt<<2^tt<<3^tt<<4;Nt=Nt>>>8^Nt&255^99,t[Oe]=Nt,n[Nt]=Oe;const dr=Ie[Oe],ar=Ie[dr],Zr=Ie[ar];let Gr=Ie[Nt]*257^Nt*16843008;m[Oe]=Gr<<24|Gr>>>8,w[Oe]=Gr<<16|Gr>>>16,P[Oe]=Gr<<8|Gr>>>24,z[Oe]=Gr,Gr=Zr*16843009^ar*65537^dr*257^Oe*16843008,j[Nt]=Gr<<24|Gr>>>8,se[Nt]=Gr<<16|Gr>>>16,ce[Nt]=Gr<<8|Gr>>>24,xe[Nt]=Gr,Oe?(Oe=dr^Ie[Ie[Ie[Zr^dr]]],tt^=Ie[Ie[tt]]):Oe=tt=1}}expandKey(t){const n=this.uint8ArrayToUint32Array_(t);let o=!0,m=0;for(;m<n.length&&o;)o=n[m]===this.key[m],m++;if(o)return;this.key=n;const w=this.keySize=n.length;if(w!==4&&w!==6&&w!==8)throw new Error("Invalid aes key size="+w);const P=this.ksRows=(w+6+1)*4;let z,H;const j=this.keySchedule=new Uint32Array(P),se=this.invKeySchedule=new Uint32Array(P),ce=this.sBox,xe=this.rcon,Ie=this.invSubMix,Oe=Ie[0],tt=Ie[1],at=Ie[2],Nt=Ie[3];let dr,ar;for(z=0;z<P;z++){if(z<w){dr=j[z]=n[z];continue}ar=dr,z%w===0?(ar=ar<<8|ar>>>24,ar=ce[ar>>>24]<<24|ce[ar>>>16&255]<<16|ce[ar>>>8&255]<<8|ce[ar&255],ar^=xe[z/w|0]<<24):w>6&&z%w===4&&(ar=ce[ar>>>24]<<24|ce[ar>>>16&255]<<16|ce[ar>>>8&255]<<8|ce[ar&255]),j[z]=dr=(j[z-w]^ar)>>>0}for(H=0;H<P;H++)z=P-H,H&3?ar=j[z]:ar=j[z-4],H<4||z<=4?se[H]=ar:se[H]=Oe[ce[ar>>>24]]^tt[ce[ar>>>16&255]]^at[ce[ar>>>8&255]]^Nt[ce[ar&255]],se[H]=se[H]>>>0}networkToHostOrderSwap(t){return t<<24|(t&65280)<<8|(t&16711680)>>8|t>>>24}decrypt(t,n,o){const m=this.keySize+6,w=this.invKeySchedule,P=this.invSBox,z=this.invSubMix,H=z[0],j=z[1],se=z[2],ce=z[3],xe=this.uint8ArrayToUint32Array_(o);let Ie=xe[0],Oe=xe[1],tt=xe[2],at=xe[3];const Nt=new Int32Array(t),dr=new Int32Array(Nt.length);let ar,Zr,Gr,fn,Vr,on,hn,qr,Gn,ci,us,ya,Ji,ki;const ta=this.networkToHostOrderSwap;for(;n<Nt.length;){for(Gn=ta(Nt[n]),ci=ta(Nt[n+1]),us=ta(Nt[n+2]),ya=ta(Nt[n+3]),Vr=Gn^w[0],on=ya^w[1],hn=us^w[2],qr=ci^w[3],Ji=4,ki=1;ki<m;ki++)ar=H[Vr>>>24]^j[on>>16&255]^se[hn>>8&255]^ce[qr&255]^w[Ji],Zr=H[on>>>24]^j[hn>>16&255]^se[qr>>8&255]^ce[Vr&255]^w[Ji+1],Gr=H[hn>>>24]^j[qr>>16&255]^se[Vr>>8&255]^ce[on&255]^w[Ji+2],fn=H[qr>>>24]^j[Vr>>16&255]^se[on>>8&255]^ce[hn&255]^w[Ji+3],Vr=ar,on=Zr,hn=Gr,qr=fn,Ji=Ji+4;ar=P[Vr>>>24]<<24^P[on>>16&255]<<16^P[hn>>8&255]<<8^P[qr&255]^w[Ji],Zr=P[on>>>24]<<24^P[hn>>16&255]<<16^P[qr>>8&255]<<8^P[Vr&255]^w[Ji+1],Gr=P[hn>>>24]<<24^P[qr>>16&255]<<16^P[Vr>>8&255]<<8^P[on&255]^w[Ji+2],fn=P[qr>>>24]<<24^P[Vr>>16&255]<<16^P[on>>8&255]<<8^P[hn&255]^w[Ji+3],dr[n]=ta(ar^Ie),dr[n+1]=ta(fn^Oe),dr[n+2]=ta(Gr^tt),dr[n+3]=ta(Zr^at),Ie=Gn,Oe=ci,tt=us,at=ya,n=n+4}return dr.buffer}}class la{constructor(t,n,o){this.subtle=void 0,this.key=void 0,this.aesMode=void 0,this.subtle=t,this.key=n,this.aesMode=o}expandKey(){const t=gi(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function gi(I){switch(I){case un.cbc:return"AES-CBC";case un.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${I}`)}}const yi=16;class On{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 o=self.crypto;o&&(this.subtle=o.subtle||o.webkitSubtle)}catch(o){}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 o=new Uint8Array(t);return this.reset(),this.removePKCS7Padding?ln(o):o}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(t,n,o,m){return this.useSoftware?new Promise((w,P)=>{const z=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(z,n,o,m);const H=this.flush();H?w(H.buffer):P(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,o,m)}softwareDecrypt(t,n,o,m){const{currentIV:w,currentResult:P,remainderData:z}=this;if(m!==un.cbc||n.byteLength!==16)return G.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),z&&(t=Vt(z,t),this.remainderData=null);const H=this.getValidChunk(t);if(!H.length)return null;w&&(o=w);let j=this.softwareDecrypter;j||(j=this.softwareDecrypter=new En),j.expandKey(n);const se=P;return this.currentResult=j.decrypt(H.buffer,0,o),this.currentIV=H.slice(-16).buffer,se||null}webCryptoDecrypt(t,n,o,m){if(this.key!==n||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(t,n,o,m));this.key=n,this.fastAesKey=new la(this.subtle,n,m)}return this.fastAesKey.expandKey().then(w=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new tn(this.subtle,new Uint8Array(o),m).decrypt(t.buffer,w)):Promise.reject(new Error("web crypto not initialized"))).catch(w=>(G.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${w.name}: ${w.message}`),this.onWebCryptoError(t,n,o,m)))}onWebCryptoError(t,n,o,m){const w=this.enableSoftwareAES;if(w){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,n,o,m);const P=this.flush();if(P)return P.buffer}throw new Error("WebCrypto"+(w?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const o=t.length-t.length%yi;return o!==t.length&&(n=t.slice(0,o),this.remainderData=t.slice(o)),n}logOnce(t){this.logEnabled&&(G.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const Di=Math.pow(2,17);class Fi{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 o=t.url;if(!o)return Promise.reject(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,error:new Error(`Fragment does not have a ${o?"part list":"url"}`),networkDetails:null}));this.abort();const m=this.config,w=m.fLoader,P=m.loader;return new Promise((z,H)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(Oe=>Oe[0]==="GAP")){H(ws(t));return}else t.gap=!1;const j=this.loader=w?new w(m):new P(m),se=oa(t);t.loader=j;const ce=Rr(m.fragLoadPolicy.default),xe={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:Di};t.stats=j.stats;const Ie={onSuccess:(Oe,tt,at,Nt)=>{this.resetLoader(t,j);let dr=Oe.data;at.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(dr.slice(0,16)),dr=dr.slice(16)),z({frag:t,part:null,payload:dr,networkDetails:Nt})},onError:(Oe,tt,at,Nt)=>{this.resetLoader(t,j),H(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:o,data:void 0},Oe),error:new Error(`HTTP Error ${Oe.code} ${Oe.text}`),networkDetails:at,stats:Nt}))},onAbort:(Oe,tt,at)=>{this.resetLoader(t,j),H(new Ha({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:at,stats:Oe}))},onTimeout:(Oe,tt,at)=>{this.resetLoader(t,j),H(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${xe.timeout}ms`),networkDetails:at,stats:Oe}))}};n&&(Ie.onProgress=(Oe,tt,at,Nt)=>n({frag:t,part:null,payload:at,networkDetails:Nt})),j.load(se,xe,Ie)})}loadPart(t,n,o){this.abort();const m=this.config,w=m.fLoader,P=m.loader;return new Promise((z,H)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){H(ws(t,n));return}const j=this.loader=w?new w(m):new P(m),se=oa(t,n);t.loader=j;const ce=Rr(m.fragLoadPolicy.default),xe={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:Di};n.stats=j.stats,j.load(se,xe,{onSuccess:(Ie,Oe,tt,at)=>{this.resetLoader(t,j),this.updateStatsFromPart(t,n);const Nt={frag:t,part:n,payload:Ie.data,networkDetails:at};o(Nt),z(Nt)},onError:(Ie,Oe,tt,at)=>{this.resetLoader(t,j),H(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:se.url,data:void 0},Ie),error:new Error(`HTTP Error ${Ie.code} ${Ie.text}`),networkDetails:tt,stats:at}))},onAbort:(Ie,Oe,tt)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,j),H(new Ha({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:tt,stats:Ie}))},onTimeout:(Ie,Oe,tt)=>{this.resetLoader(t,j),H(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${xe.timeout}ms`),networkDetails:tt,stats:Ie}))}})})}updateStatsFromPart(t,n){const o=t.stats,m=n.stats,w=m.total;if(o.loaded+=m.loaded,w){const H=Math.round(t.duration/n.duration),j=Math.min(Math.round(o.loaded/w),H),ce=(H-j)*Math.round(o.loaded/j);o.total=o.loaded+ce}else o.total=Math.max(o.loaded,o.total);const P=o.loading,z=m.loading;P.start?P.first+=z.first-z.start:(P.start=z.start,P.first=z.first),P.end=z.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function oa(I,t=null){const n=t||I,o={frag:I,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},m=n.byteRangeStartOffset,w=n.byteRangeEndOffset;if(r(m)&&r(w)){var P;let z=m,H=w;if(I.sn==="initSegment"&&Sa((P=I.decryptdata)==null?void 0:P.method)){const j=w-m;j%16&&(H=w+(16-j%16)),m!==0&&(o.resetIV=!0,z=m-16)}o.rangeStart=z,o.rangeEnd=H}return o}function ws(I,t){const n=new Error(`GAP ${I.gap?"tag":"attribute"} found`),o={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:I,error:n,networkDetails:null};return t&&(o.part=t),(t||I).stats.aborted=!0,new Ha(o)}function Sa(I){return I==="AES-128"||I==="AES-256"}class Ha extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class Us extends L{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 ja{constructor(t,n,o,m=0,w=-1,P=!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=na(),this.buffering={audio:na(),video:na(),audiovideo:na()},this.level=t,this.sn=n,this.id=o,this.size=m,this.part=w,this.partial=P}}function na(){return{start:0,executeStart:0,executeEnd:0,end:0}}const Ai={length:0,start:()=>0,end:()=>0};class Ci{static isBuffered(t,n){if(t){const o=Ci.getBuffered(t);for(let m=o.length;m--;)if(n>=o.start(m)&&n<=o.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 o=0;o<t.length;o++)n.push({start:t.start(o),end:t.end(o)});return n}static bufferInfo(t,n,o){if(t){const m=Ci.bufferedRanges(t);if(m.length)return Ci.bufferedInfo(m,n,o)}return{len:0,start:n,end:n,bufferedIndex:-1}}static bufferedInfo(t,n,o){n=Math.max(0,n),t.length>1&&t.sort((se,ce)=>se.start-ce.start||ce.end-se.end);let m=-1,w=[];if(o)for(let se=0;se<t.length;se++){n>=t[se].start&&n<=t[se].end&&(m=se);const ce=w.length;if(ce){const xe=w[ce-1].end;t[se].start-xe<o?t[se].end>xe&&(w[ce-1].end=t[se].end):w.push(t[se])}else w.push(t[se])}else w=t;let P=0,z,H=n,j=n;for(let se=0;se<w.length;se++){const ce=w[se].start,xe=w[se].end;if(m===-1&&n>=ce&&n<=xe&&(m=se),n+o>=ce&&n<xe)H=ce,j=xe,P=j-n;else if(n+o<ce){z=ce;break}}return{len:P,start:H||0,end:j||0,nextStart:z,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||Ai}catch(n){return G.log("failed to get media.buffered",n),Ai}}}const qa=/\{\$([a-zA-Z0-9-_]+)\}/g;function Cs(I){return qa.test(I)}function Ni(I,t){if(I.variableList!==null||I.hasVariableRefs){const n=I.variableList;return t.replace(qa,o=>{const m=o.substring(2,o.length-1),w=n==null?void 0:n[m];return w===void 0?(I.playlistParsingError||(I.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),o):w})}return t}function Ts(I,t,n){let o=I.variableList;o||(I.variableList=o={});let m,w;if("QUERYPARAM"in t){m=t.QUERYPARAM;try{const P=new self.URL(n).searchParams;if(P.has(m))w=P.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(P){I.playlistParsingError||(I.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${P.message}`))}}else m=t.NAME,w=t.VALUE;m in o?I.playlistParsingError||(I.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):o[m]=w||""}function xo(I,t,n){const o=t.IMPORT;if(n&&o in n){let m=I.variableList;m||(I.variableList=m={}),m[o]=n[o]}else I.playlistParsingError||(I.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${o}"`))}const La=/^(\d+)x(\d+)$/,hs=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Hi{constructor(t,n){typeof t=="string"&&(t=Hi.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 o=new Uint8Array(n.length/2);for(let m=0;m<n.length/2;m++)o[m]=parseInt(n.slice(m*2,m*2+2),16);return o}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 o=this[t];return o?parseFloat(o):n}enumeratedString(t){return this[t]}enumeratedStringList(t,n){const o=this[t];return(o?o.split(/[ ,]+/):[]).reduce((m,w)=>(m[w.toLowerCase()]=!0,m),n)}bool(t){return this[t]==="YES"}decimalResolution(t){const n=La.exec(this[t]);if(n!==null)return{width:parseInt(n[1],10),height:parseInt(n[2],10)}}static parseAttrList(t,n){let o;const m={},w='"';for(hs.lastIndex=0;(o=hs.exec(t))!==null;){const P=o[1].trim();let z=o[2];const H=z.indexOf(w)===0&&z.lastIndexOf(w)===z.length-1;let j=!1;if(H)z=z.slice(1,-1);else switch(P){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":j=!0}if(n&&(H||j))z=Ni(n,z);else if(!j&&!H)switch(P){case"CLOSED-CAPTIONS":if(z==="NONE")break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":G.warn(`${t}: attribute ${P} is missing quotes`)}m[P]=z}return m}}const Vs="com.apple.hls.interstitial";function kn(I){return I!=="ID"&&I!=="CLASS"&&I!=="CUE"&&I!=="START-DATE"&&I!=="DURATION"&&I!=="END-DATE"&&I!=="END-ON-NEXT"}function Qa(I){return I==="SCTE35-OUT"||I==="SCTE35-IN"||I==="SCTE35-CMD"}class uo{constructor(t,n,o=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:o,n){const w=n.attr;for(const P in w)if(Object.prototype.hasOwnProperty.call(t,P)&&t[P]!==w[P]){G.warn(`DATERANGE tag attribute: "${P}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=P;break}t=y(new Hi({}),w,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 w=(n==null?void 0:n.endDate)||new Date(this.attr["END-DATE"]);r(w.getTime())&&(this._endDate=w)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const t=this._cue;return t===void 0?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):t}get startTime(){const{tagAnchor:t}=this;return t===null||t.programDateTime===null?(G.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${t}`),NaN):t.start+(this.startDate.getTime()-t.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const t=this._endDate||this._dateAtEnd;if(t)return t;const n=this.duration;return n!==null?this._dateAtEnd=new Date(this._startDate.getTime()+n*1e3):null}get duration(){if("DURATION"in this.attr){const t=this.attr.decimalFloatingPoint("DURATION");if(r(t))return t}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return this.class===Vs}get isValid(){return!!this.id&&!this._badValueForSameId&&r(this.startDate.getTime())&&(this.duration===null||this.duration>=0)&&(!this.endOnNext||!!this.class)&&(!this.attr.CUE||!this.cue.pre&&!this.cue.post||this.cue.pre!==this.cue.post)&&(!this.isInterstitial||"X-ASSET-URI"in this.attr||"X-ASSET-LIST"in this.attr)}}const Ls=10;class Ki{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,o=this.lastPartIndex-t.lastPartIndex;this.updated=this.endSN!==t.endSN||!!o||!!n||!this.live,this.advanced=this.endSN>t.endSN||n>0||n===0&&o>0,this.updated||this.advanced?this.misses=Math.floor(t.misses*.6):this.misses=t.misses+1}get hasProgramDateTime(){return this.fragments.length?r(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||Ls}get drift(){const t=this.driftEndTime-this.driftStartTime;return t>0?(this.driftEnd-this.driftStart)*1e3/t:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const t=this.partList;if(t){const n=this.lastPartIndex;if(n!==-1){for(let o=t.length;o--;)if(t[o].index>n)return t[o].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 Aa(I){return I==="AES-128"||I==="AES-256"||I==="AES-256-CTR"}function Da(I){switch(I){case"AES-128":case"AES-256":return un.cbc;case"AES-256-CTR":return un.ctr;default:throw new Error(`invalid full segment method ${I}`)}}function cs(I){return Uint8Array.from(atob(I),t=>t.charCodeAt(0))}function zs(I){return Uint8Array.from(unescape(encodeURIComponent(I)),t=>t.charCodeAt(0))}function wo(I){const t=zs(I).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function Eo(I){const t=function(o,m,w){const P=o[m];o[m]=o[w],o[w]=P};t(I,0,3),t(I,1,2),t(I,4,5),t(I,6,7)}function Zs(I){const t=I.split(":");let n=null;if(t[0]==="data"&&t.length===2){const o=t[1].split(";"),m=o[o.length-1].split(",");if(m.length===2){const w=m[0]==="base64",P=m[1];w?(o.splice(-1,1),n=cs(P)):n=wo(P)}}return n}const Ms=typeof self!="undefined"?self:void 0;var ca={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},fs={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function So(I){switch(I){case fs.FAIRPLAY:return ca.FAIRPLAY;case fs.PLAYREADY:return ca.PLAYREADY;case fs.WIDEVINE:return ca.WIDEVINE;case fs.CLEARKEY:return ca.CLEARKEY}}var fo={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function Io(I){if(I===fo.WIDEVINE)return ca.WIDEVINE;if(I===fo.PLAYREADY)return ca.PLAYREADY;if(I===fo.CENC||I===fo.CLEARKEY)return ca.CLEARKEY}function li(I){switch(I){case ca.FAIRPLAY:return fs.FAIRPLAY;case ca.PLAYREADY:return fs.PLAYREADY;case ca.WIDEVINE:return fs.WIDEVINE;case ca.CLEARKEY:return fs.CLEARKEY}}function ai(I){const{drmSystems:t,widevineLicenseUrl:n}=I,o=t?[ca.FAIRPLAY,ca.WIDEVINE,ca.PLAYREADY,ca.CLEARKEY].filter(m=>!!t[m]):[];return!o[ca.WIDEVINE]&&n&&o.push(ca.WIDEVINE),o}const Wa=function(I){return Ms!=null&&(I=Ms.navigator)!=null&&I.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function ts(I,t,n,o){let m;switch(I){case ca.FAIRPLAY:m=["cenc","sinf"];break;case ca.WIDEVINE:case ca.PLAYREADY:m=["cenc"];break;case ca.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${I}`)}return Ua(m,t,n,o)}function Ua(I,t,n,o){return[{initDataTypes:I,persistentState:o.persistentState||"optional",distinctiveIdentifier:o.distinctiveIdentifier||"optional",sessionTypes:o.sessionTypes||[o.sessionType||"temporary"],audioCapabilities:t.map(w=>({contentType:`audio/mp4; codecs=${w}`,robustness:o.audioRobustness||"",encryptionScheme:o.audioEncryptionScheme||null})),videoCapabilities:n.map(w=>({contentType:`video/mp4; codecs=${w}`,robustness:o.videoRobustness||"",encryptionScheme:o.videoEncryptionScheme||null}))}]}function Ao(I){var t;return I.sessionType==="persistent-license"||!!((t=I.sessionTypes)!=null&&t.some(n=>n==="persistent-license"))}function Do(I){const t=new Uint16Array(I.buffer,I.byteOffset,I.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),o=n.substring(n.indexOf("<"),n.length),P=new DOMParser().parseFromString(o,"text/xml").getElementsByTagName("KID")[0];if(P){const z=P.childNodes[0]?P.childNodes[0].nodeValue:P.getAttribute("VALUE");if(z){const H=cs(z).subarray(0,16);return Eo(H),H}}return null}let Fo={};class Ja{static clearKeyUriToKeyIdMap(){Fo={}}constructor(t,n,o,m=[1],w=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=t,this.uri=n,this.keyFormat=o,this.keyFormatVersions=m,this.iv=w,this.encrypted=t?t!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!Aa(t)}isSupported(){if(this.method){if(Aa(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case fs.FAIRPLAY:case fs.WIDEVINE:case fs.PLAYREADY:case fs.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(t){if(!this.encrypted||!this.uri)return null;if(Aa(this.method)&&this.uri&&!this.iv){typeof t!="number"&&(G.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0);const o=du(t);return new Ja(this.method,this.uri,"identity",this.keyFormatVersions,o)}const n=Zs(this.uri);if(n)switch(this.keyFormat){case fs.WIDEVINE:this.pssh=n,n.length>=22&&(this.keyId=n.subarray(n.length-22,n.length-6));break;case fs.PLAYREADY:{const o=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=_e(o,null,n),this.keyId=Do(n);break}default:{let o=n.subarray(0,16);if(o.length!==16){const m=new Uint8Array(16);m.set(o,16-o.length),o=m}this.keyId=o;break}}if(!this.keyId||this.keyId.byteLength!==16){let o=Fo[this.uri];if(!o){const m=Object.keys(Fo).length%Number.MAX_SAFE_INTEGER;o=new Uint8Array(16),new DataView(o.buffer,12,4).setUint32(0,m),Fo[this.uri]=o}this.keyId=o}return this}}function du(I){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=I>>8*(15-n)&255;return t}const Co=/#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,Xo=/#EXT-X-MEDIA:(.*)/g,hu=/^#EXT(?:INF|-X-TARGETDURATION):/m,Pu=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),To=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 Ps{static findGroup(t,n){for(let o=0;o<t.length;o++){const m=t[o];if(m.id===n)return m}}static resolve(t,n){return ie.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return hu.test(t)}static parseMasterPlaylist(t,n){const o=Cs(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:o},w=[];Co.lastIndex=0;let P;for(;(P=Co.exec(t))!=null;)if(P[1]){var z;const j=new Hi(P[1],m),se=Ni(m,P[2]),ce={attrs:j,bitrate:j.decimalInteger("BANDWIDTH")||j.decimalInteger("AVERAGE-BANDWIDTH"),name:j.NAME,url:Ps.resolve(se,n)},xe=j.decimalResolution("RESOLUTION");xe&&(ce.width=xe.width,ce.height=xe.height),ru(j.CODECS,ce);const Ie=j["SUPPLEMENTAL-CODECS"];Ie&&(ce.supplemental={},ru(Ie,ce.supplemental)),(z=ce.unknownCodecs)!=null&&z.length||w.push(ce),m.levels.push(ce)}else if(P[3]){const j=P[3],se=P[4];switch(j){case"SESSION-DATA":{const ce=new Hi(se,m),xe=ce["DATA-ID"];xe&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[xe]=ce);break}case"SESSION-KEY":{const ce=lo(se,n,m);ce.encrypted&&ce.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(ce)):G.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${se}"`);break}case"DEFINE":{{const ce=new Hi(se,m);Ts(m,ce,n)}break}case"CONTENT-STEERING":{const ce=new Hi(se,m);m.contentSteering={uri:Ps.resolve(ce["SERVER-URI"],n),pathwayId:ce["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=zo(se);break}}}const H=w.length>0&&w.length<m.levels.length;return m.levels=H?w:m.levels,m.levels.length===0&&(m.playlistParsingError=new Error("no levels found in manifest")),m}static parseMasterPlaylistMedia(t,n,o){let m;const w={},P=o.levels,z={AUDIO:P.map(j=>({id:j.attrs.AUDIO,audioCodec:j.audioCodec})),SUBTITLES:P.map(j=>({id:j.attrs.SUBTITLES,textCodec:j.textCodec})),"CLOSED-CAPTIONS":[]};let H=0;for(Xo.lastIndex=0;(m=Xo.exec(t))!==null;){const j=new Hi(m[1],o),se=j.TYPE;if(se){const ce=z[se],xe=w[se]||[];w[se]=xe;const Ie=j.LANGUAGE,Oe=j["ASSOC-LANGUAGE"],tt=j.CHANNELS,at=j.CHARACTERISTICS,Nt=j["INSTREAM-ID"],dr={attrs:j,bitrate:0,id:H++,groupId:j["GROUP-ID"]||"",name:j.NAME||Ie||"",type:se,default:j.bool("DEFAULT"),autoselect:j.bool("AUTOSELECT"),forced:j.bool("FORCED"),lang:Ie,url:j.URI?Ps.resolve(j.URI,n):""};if(Oe&&(dr.assocLang=Oe),tt&&(dr.channels=tt),at&&(dr.characteristics=at),Nt&&(dr.instreamId=Nt),ce!=null&&ce.length){const ar=Ps.findGroup(ce,dr.groupId)||ce[0];qo(dr,ar,"audioCodec"),qo(dr,ar,"textCodec")}xe.push(dr)}}return w}static parseLevelPlaylist(t,n,o,m,w,P){var z;const H={url:n},j=new Ki(n),se=j.fragments,ce=[];let xe=null,Ie=0,Oe=0,tt=0,at=0,Nt=0,dr=null,ar=new Ee(m,H),Zr,Gr,fn,Vr=-1,on=!1,hn=null,qr;if(Pu.lastIndex=0,j.m3u8=t,j.hasVariableRefs=Cs(t),((z=Pu.exec(t))==null?void 0:z[0])!=="#EXTM3U")return j.playlistParsingError=new Error("Missing format identifier #EXTM3U"),j;for(;(Zr=Pu.exec(t))!==null;){on&&(on=!1,ar=new Ee(m,H),ar.playlistOffset=tt,ar.start=tt,ar.sn=Ie,ar.cc=at,Nt&&(ar.bitrate=Nt),ar.level=o,xe&&(ar.initSegment=xe,xe.rawProgramDateTime&&(ar.rawProgramDateTime=xe.rawProgramDateTime,xe.rawProgramDateTime=null),hn&&(ar.setByteRange(hn),hn=null)));const ya=Zr[1];if(ya){ar.duration=parseFloat(ya);const Ji=(" "+Zr[2]).slice(1);ar.title=Ji||null,ar.tagList.push(Ji?["INF",ya,Ji]:["INF",ya])}else if(Zr[3]){if(r(ar.duration)){ar.playlistOffset=tt,ar.start=tt,fn&&il(ar,fn,j),ar.sn=Ie,ar.level=o,ar.cc=at,se.push(ar);const Ji=(" "+Zr[3]).slice(1);ar.relurl=Ni(j,Ji),Fs(ar,dr,ce),dr=ar,tt+=ar.duration,Ie++,Oe=0,on=!0}}else{if(Zr=Zr[0].match(To),!Zr){G.warn("No matches on slow regex match for level playlist!");continue}for(Gr=1;Gr<Zr.length&&Zr[Gr]===void 0;Gr++);const Ji=(" "+Zr[Gr]).slice(1),ki=(" "+Zr[Gr+1]).slice(1),ta=Zr[Gr+2]?(" "+Zr[Gr+2]).slice(1):null;switch(Ji){case"BYTERANGE":dr?ar.setByteRange(ki,dr):ar.setByteRange(ki);break;case"PROGRAM-DATE-TIME":ar.rawProgramDateTime=ki,ar.tagList.push(["PROGRAM-DATE-TIME",ki]),Vr===-1&&(Vr=se.length);break;case"PLAYLIST-TYPE":j.type&&ko(j,Ji,Zr),j.type=ki.toUpperCase();break;case"MEDIA-SEQUENCE":j.startSN!==0?ko(j,Ji,Zr):se.length>0&&qt(j,Ji,Zr),Ie=j.startSN=parseInt(ki);break;case"SKIP":{j.skippedSegments&&ko(j,Ji,Zr);const Xi=new Hi(ki,j),Vn=Xi.decimalInteger("SKIPPED-SEGMENTS");if(r(Vn)){j.skippedSegments+=Vn;for(let wa=Vn;wa--;)se.push(null);Ie+=Vn}const ri=Xi.enumeratedString("RECENTLY-REMOVED-DATERANGES");ri&&(j.recentlyRemovedDateranges=(j.recentlyRemovedDateranges||[]).concat(ri.split(" ")));break}case"TARGETDURATION":j.targetduration!==0&&ko(j,Ji,Zr),j.targetduration=Math.max(parseInt(ki),1);break;case"VERSION":j.version!==null&&ko(j,Ji,Zr),j.version=parseInt(ki);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":j.live||ko(j,Ji,Zr),j.live=!1;break;case"#":(ki||ta)&&ar.tagList.push(ta?[ki,ta]:[ki]);break;case"DISCONTINUITY":at++,ar.tagList.push(["DIS"]);break;case"GAP":ar.gap=!0,ar.tagList.push([Ji]);break;case"BITRATE":ar.tagList.push([Ji,ki]),Nt=parseInt(ki)*1e3,r(Nt)?ar.bitrate=Nt:Nt=0;break;case"DATERANGE":{const Xi=new Hi(ki,j),Vn=new uo(Xi,j.dateRanges[Xi.ID],j.dateRangeTagCount);j.dateRangeTagCount++,Vn.isValid||j.skippedSegments?j.dateRanges[Vn.id]=Vn:G.warn(`Ignoring invalid DATERANGE tag: "${ki}"`),ar.tagList.push(["EXT-X-DATERANGE",ki]);break}case"DEFINE":{{const Xi=new Hi(ki,j);"IMPORT"in Xi?xo(j,Xi,P):Ts(j,Xi,n)}break}case"DISCONTINUITY-SEQUENCE":j.startCC!==0?ko(j,Ji,Zr):se.length>0&&qt(j,Ji,Zr),j.startCC=at=parseInt(ki);break;case"KEY":{const Xi=lo(ki,n,j);if(Xi.isSupported()){if(Xi.method==="NONE"){fn=void 0;break}fn||(fn={}),fn[Xi.keyFormat]&&(fn=y({},fn)),fn[Xi.keyFormat]=Xi}else G.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${ki}"`);break}case"START":j.startTimeOffset=zo(ki);break;case"MAP":{const Xi=new Hi(ki,j);if(ar.duration){const Vn=new Ee(m,H);Xs(Vn,Xi,o,fn),xe=Vn,ar.initSegment=xe,xe.rawProgramDateTime&&!ar.rawProgramDateTime&&(ar.rawProgramDateTime=xe.rawProgramDateTime)}else{const Vn=ar.byteRangeEndOffset;if(Vn){const ri=ar.byteRangeStartOffset;hn=`${Vn-ri}@${ri}`}else hn=null;Xs(ar,Xi,o,fn),xe=ar,on=!0}xe.cc=at;break}case"SERVER-CONTROL":{qr&&ko(j,Ji,Zr),qr=new Hi(ki),j.canBlockReload=qr.bool("CAN-BLOCK-RELOAD"),j.canSkipUntil=qr.optionalFloat("CAN-SKIP-UNTIL",0),j.canSkipDateRanges=j.canSkipUntil>0&&qr.bool("CAN-SKIP-DATERANGES"),j.partHoldBack=qr.optionalFloat("PART-HOLD-BACK",0),j.holdBack=qr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{j.partTarget&&ko(j,Ji,Zr);const Xi=new Hi(ki);j.partTarget=Xi.decimalFloatingPoint("PART-TARGET");break}case"PART":{let Xi=j.partList;Xi||(Xi=j.partList=[]);const Vn=Oe>0?Xi[Xi.length-1]:void 0,ri=Oe++,wa=new Hi(ki,j),Ea=new Ce(wa,ar,H,ri,Vn);Xi.push(Ea),ar.duration+=Ea.duration;break}case"PRELOAD-HINT":{const Xi=new Hi(ki,j);j.preloadHint=Xi;break}case"RENDITION-REPORT":{const Xi=new Hi(ki,j);j.renditionReports=j.renditionReports||[],j.renditionReports.push(Xi);break}default:G.warn(`line parsed but not handled: ${Zr}`);break}}}dr&&!dr.relurl?(se.pop(),tt-=dr.duration,j.partList&&(j.fragmentHint=dr)):j.partList&&(Fs(ar,dr,ce),ar.cc=at,j.fragmentHint=ar,fn&&il(ar,fn,j)),j.targetduration||(j.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Gn=se.length,ci=se[0],us=se[Gn-1];if(tt+=j.skippedSegments*j.targetduration,tt>0&&Gn&&us){j.averagetargetduration=tt/Gn;const ya=us.sn;j.endSN=ya!=="initSegment"?ya:0,j.live||(us.endList=!0),ci&&j.startCC===void 0&&(j.startCC=ci.cc),Vr>0&&(Oo(se,Vr),ci&&ce.unshift(ci))}else j.endSN=0,j.startCC=0;return j.fragmentHint&&(tt+=j.fragmentHint.duration),j.totalduration=tt,ce.length&&j.dateRangeTagCount&&ci&&gu(ce,j),j.endCC=at,j}}function gu(I,t){const n=I.length,o=I[n-1],m=t.live?1/0:t.totalduration,w=Object.keys(t.dateRanges);for(let P=w.length;P--;){const z=t.dateRanges[w[P]],H=z.startDate.getTime();z.tagAnchor=o.ref;for(let j=n;j--;){const se=Bo(t,H,I,j,m);if(se!==-1){z.tagAnchor=t.fragments[se].ref;break}}}}function Bo(I,t,n,o,m){const w=n[o];if(w){const z=w.programDateTime;if(t>=z||o===0){var P;const H=(((P=n[o+1])==null?void 0:P.start)||m)-w.start;if(t<=z+H*1e3){const j=n[o].sn-I.startSN,se=I.fragments;if(se.length>n.length){const xe=(n[o+1]||se[se.length-1]).sn-I.startSN;for(let Ie=xe;Ie>j;Ie--){const Oe=se[Ie].programDateTime;if(t>=Oe&&t<Oe+se[Ie].duration*1e3)return Ie}}return j}}}return-1}function lo(I,t,n){var o,m;const w=new Hi(I,n),P=(o=w.METHOD)!=null?o:"",z=w.URI,H=w.hexadecimalInteger("IV"),j=w.KEYFORMATVERSIONS,se=(m=w.KEYFORMAT)!=null?m:"identity";z&&w.IV&&!H&&G.error(`Invalid IV: ${w.IV}`);const ce=z?Ps.resolve(z,t):"",xe=(j||"1").split("/").map(Number).filter(Number.isFinite);return new Ja(P,ce,se,xe,H)}function zo(I){const n=new Hi(I).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function ru(I,t){let n=(I||"").split(/[ ,]+/).filter(o=>o);["video","audio","text"].forEach(o=>{const m=n.filter(w=>Tt(w,o));m.length&&(t[`${o}Codec`]=m.map(w=>w.split("/")[0]).join(","),n=n.filter(w=>m.indexOf(w)===-1))}),t.unknownCodecs=n}function qo(I,t,n){const o=t[n];o&&(I[n]=o)}function Oo(I,t){let n=I[t];for(let o=t;o--;){const m=I[o];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function Fs(I,t,n){I.rawProgramDateTime?n.push(I):t!=null&&t.programDateTime&&(I.programDateTime=t.endProgramDateTime)}function Xs(I,t,n,o){I.relurl=t.URI,t.BYTERANGE&&I.setByteRange(t.BYTERANGE),I.level=n,I.sn="initSegment",o&&(I.levelkeys=o),I.initSegment=null}function il(I,t,n){I.levelkeys=t;const{encryptedFragments:o}=n;(!o.length||o[o.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&o.push(I)}function ko(I,t,n){I.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function qt(I,t,n){I.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function lr(I,t){const n=t.startPTS;if(r(n)){let o=0,m;t.sn>I.sn?(o=n-I.start,m=I):(o=I.start-n,m=t),m.duration!==o&&m.setDuration(o)}else t.sn>I.sn?I.cc===t.cc&&I.minEndPTS?t.setStart(I.start+(I.minEndPTS-I.start)):t.setStart(I.start+I.duration):t.setStart(Math.max(I.start-t.duration,0))}function sr(I,t,n,o,m,w){o-n<=0&&(G.warn("Fragment should have a positive duration",t),o=n+t.duration,w=m+t.duration);let z=n,H=o;const j=t.startPTS,se=t.endPTS;if(r(j)){const at=Math.abs(j-n);r(t.deltaPTS)?t.deltaPTS=Math.max(at,t.deltaPTS):t.deltaPTS=at,z=Math.max(n,j),n=Math.min(n,j),m=Math.min(m,t.startDTS),H=Math.min(o,se),o=Math.max(o,se),w=Math.max(w,t.endDTS)}const ce=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(o-t.start),t.startPTS=n,t.maxStartPTS=z,t.startDTS=m,t.endPTS=o,t.minEndPTS=H,t.endDTS=w;const xe=t.sn;if(!I||xe<I.startSN||xe>I.endSN)return 0;let Ie;const Oe=xe-I.startSN,tt=I.fragments;for(tt[Oe]=t,Ie=Oe;Ie>0;Ie--)lr(tt[Ie],tt[Ie-1]);for(Ie=Oe;Ie<tt.length-1;Ie++)lr(tt[Ie],tt[Ie+1]);return I.fragmentHint&&lr(tt[tt.length-1],I.fragmentHint),I.PTSKnown=I.alignedSliding=!0,ce}function vr(I,t){if(I===t)return;let n=null;const o=I.fragments;for(let H=o.length-1;H>=0;H--){const j=o[H].initSegment;if(j){n=j;break}}I.fragmentHint&&delete I.fragmentHint.endPTS;let m;xn(I,t,(H,j,se,ce)=>{if(!t.startCC&&j.cc!==H.cc){var xe,Ie;const Oe=H.cc-j.cc;for(let tt=se;tt<ce.length;tt++)ce[tt].cc+=Oe;t.startCC=(xe=(Ie=Br(I,t.startSN-1))==null?void 0:Ie.cc)!=null?xe:ce[0].cc,t.endCC=ce[ce.length-1].cc}r(H.startPTS)&&r(H.endPTS)&&(j.setStart(j.startPTS=H.startPTS),j.startDTS=H.startDTS,j.maxStartPTS=H.maxStartPTS,j.endPTS=H.endPTS,j.endDTS=H.endDTS,j.minEndPTS=H.minEndPTS,j.setDuration(H.endPTS-H.startPTS),j.duration&&(m=j),t.PTSKnown=t.alignedSliding=!0),H.hasStreams&&(j.elementaryStreams=H.elementaryStreams),j.loader=H.loader,H.hasStats&&(j.stats=H.stats),H.initSegment&&(j.initSegment=H.initSegment,n=H.initSegment)});const w=t.fragments,P=t.fragmentHint?w.concat(t.fragmentHint):w;if(n&&P.forEach(H=>{var j;H&&(!H.initSegment||H.initSegment.relurl===((j=n)==null?void 0:j.relurl))&&(H.initSegment=n)}),t.skippedSegments)if(t.deltaUpdateFailed=w.some(H=>!H),t.deltaUpdateFailed){G.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let H=t.skippedSegments;H--;)w.shift();t.startSN=w[0].sn}else{t.endCC=w[w.length-1].cc,t.canSkipDateRanges&&(t.dateRanges=Er(I.dateRanges,t));const H=I.fragments.filter(j=>j.rawProgramDateTime);if(I.hasProgramDateTime&&!t.hasProgramDateTime)for(let j=1;j<P.length;j++)P[j].programDateTime===null&&Fs(P[j],P[j-1],H);gu(H,t)}yn(I.partList,t.partList,(H,j)=>{j.elementaryStreams=H.elementaryStreams,j.stats=H.stats}),m?sr(t,m,m.startPTS,m.endPTS,m.startDTS,m.endDTS):Ln(I,t),w.length&&(t.totalduration=t.edge-w[0].start),t.driftStartTime=I.driftStartTime,t.driftStart=I.driftStart;const z=t.advancedDateTime;if(t.advanced&&z){const H=t.edge;t.driftStart||(t.driftStartTime=z,t.driftStart=H),t.driftEndTime=z,t.driftEnd=H}else t.driftEndTime=I.driftEndTime,t.driftEnd=I.driftEnd,t.advancedDateTime=I.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=I.requestScheduled)}function Er(I,t){const{dateRanges:n,recentlyRemovedDateranges:o}=t,m=y({},I);o&&o.forEach(z=>{delete m[z]});const P=Object.keys(m).length;return P&&Object.keys(n).forEach(z=>{const H=m[z],j=new uo(n[z].attr,H);j.isValid?(m[z]=j,H||(j.tagOrder+=P)):G.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${Nn(n[z].attr)}"`)}),m}function yn(I,t,n){if(I&&t){let o=0;for(let m=0,w=I.length;m<=w;m++){const P=I[m],z=t[m+o];P&&z&&P.index===z.index&&P.fragment.sn===z.fragment.sn?n(P,z):o--}}}function xn(I,t,n){const o=t.skippedSegments,m=Math.max(I.startSN,t.startSN)-t.startSN,w=(I.fragmentHint?1:0)+(o?t.endSN:Math.min(I.endSN,t.endSN))-t.startSN,P=t.startSN-I.startSN,z=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,H=I.fragmentHint?I.fragments.concat(I.fragmentHint):I.fragments;for(let j=m;j<=w;j++){const se=H[P+j];let ce=z[j];if(o&&!ce&&se&&(ce=t.fragments[j]=se),se&&ce){if(n(se,ce,j,z),se.url&&se.url!==ce.url){t.playlistParsingError=Bn(`media sequence mismatch ${ce.sn}:`,I,t,se,ce);return}else if(se.cc!==ce.cc){t.playlistParsingError=Bn(`discontinuity sequence mismatch (${se.cc}!=${ce.cc})`,I,t,se,ce);return}}}}function Bn(I,t,n,o,m){return new Error(`${I} ${m.url}
|
|
|
Playlist starting @${t.startSN}
|
|
|
${t.m3u8}
|
|
|
|
|
|
Playlist starting @${n.startSN}
|
|
|
${n.m3u8}`)}function Ln(I,t,n=!0){const o=t.startSN+t.skippedSegments-I.startSN,m=I.fragments,w=o>=0;let P=0;if(w&&o<m.length)P=m[o].start;else if(w&&t.startSN===I.endSN+1)P=I.fragmentEnd;else if(w&&n)P=I.fragmentStart+o*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)P=I.fragmentStart;else return;Kn(t,P)}function Kn(I,t){if(t){const n=I.fragments;for(let o=I.skippedSegments;o<n.length;o++)n[o].addStart(t);I.fragmentHint&&I.fragmentHint.addStart(t)}}function or(I,t=1/0){let n=1e3*I.targetduration;if(I.updated){const o=I.fragments;if(o.length&&n*4>t){const w=o[o.length-1].duration*1e3;w<n&&(n=w)}}else n/=2;return Math.round(n)}function Br(I,t,n){if(!I)return null;let o=I.fragments[t-I.startSN];return o||(o=I.fragmentHint,o&&o.sn===t)?o:t<I.startSN&&n&&n.sn===t?n:null}function xr(I,t,n){return I?pn(I.partList,t,n):null}function pn(I,t,n){if(I)for(let o=I.length;o--;){const m=I[o];if(m.index===n&&m.fragment.sn===t)return m}return null}function jn(I){I.forEach((t,n)=>{var o;(o=t.details)==null||o.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function ft(I,t){for(let o=0,m=I.length;o<m;o++){var n;if(((n=I[o])==null?void 0:n.cc)===t)return I[o]}return null}function Pn(I,t){return!!(I&&t.startCC<I.endCC&&t.endCC>I.startCC)}function zn(I,t){if(I){const n=I.start+t;I.start=I.startPTS=n,I.endPTS=n+I.duration}}function si(I,t){const n=t.fragments;for(let o=0,m=n.length;o<m;o++)zn(n[o],I);t.fragmentHint&&zn(t.fragmentHint,I),t.alignedSliding=!0}function qi(I,t){I&&(Hr(t,I),!t.alignedSliding&&I&&ji(t,I),!t.alignedSliding&&I&&!t.skippedSegments&&Ln(I,t,!1))}function Hr(I,t){if(!Pn(t,I))return;const n=Math.min(t.endCC,I.endCC),o=ft(t.fragments,n),m=ft(I.fragments,n);if(!o||!m)return;G.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const w=o.start-m.start;si(w,I)}function ji(I,t){if(!I.hasProgramDateTime||!t.hasProgramDateTime)return;const n=I.fragments,o=t.fragments;if(!n.length||!o.length)return;let m,w;const P=Math.min(t.endCC,I.endCC);t.startCC<P&&I.startCC<P&&(m=ft(o,P),w=ft(n,P)),(!m||!w)&&(m=o[Math.floor(o.length/2)],w=ft(n,m.cc)||n[Math.floor(n.length/2)]);const z=m.programDateTime,H=w.programDateTime;if(!z||!H)return;const j=(H-z)/1e3-(w.start-m.start);si(j,I)}const ma={toString:function(I){let t="";const n=I.length;for(let o=0;o<n;o++)t+=`[${I.start(o).toFixed(3)}-${I.end(o).toFixed(3)}]`;return t}},zr={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 Ca extends Us{constructor(t,n,o,m,w){super(m,t.logger),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=zr.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:P,fragCurrent:z,media:H,mediaBuffer:j,state:se}=this,ce=H?H.currentTime:0,xe=Ci.bufferInfo(j||H,ce,P.maxBufferHole);if(this.log(`media seeking to ${r(ce)?ce.toFixed(3):ce}, state: ${se}`),this.state===zr.ENDED)this.resetLoadingState();else if(z){const Ie=P.maxFragLookUpTolerance,Oe=z.start-Ie,tt=z.start+z.duration+Ie;if(!xe.len||tt<xe.start||Oe>xe.end){const at=ce>tt;(ce<Oe||at)&&(at&&z.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),z.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(H){this.fragmentTracker.removeFragmentsInRange(ce,1/0,this.playlistType,!0);const Ie=this.lastCurrentTime;if(ce>Ie&&(this.lastCurrentTime=ce),!this.loadingParts){const Oe=Math.max(xe.end,ce),tt=this.shouldLoadParts(this.getLevelDetails(),Oe);tt&&(this.log(`LL-Part loading ON after seeking to ${ce.toFixed(2)} with buffer @${Oe.toFixed(2)}`),this.loadingParts=tt)}}!this.hls.hasEnoughToStart&&!xe.len&&(this.log(`setting startPosition to ${ce} because of seek before start`),this.nextLoadPosition=this.startPosition=ce),this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=w,this.hls=t,this.fragmentLoader=new Fi(t.config),this.keyLoader=o,this.fragmentTracker=n,this.config=t.config,this.decrypter=new On(t.config)}registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(t){}stopLoad(){if(this.state===zr.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=zr.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 o=t.end||0,m=this.config.timelineOffset||0;if(o<=m)return!1;const w=t.nextStart;if(w&&w>m&&w<n.edge||this.media.currentTime<t.start)return!1;const z=n.partList;if(z!=null&&z.length){const j=z[z.length-1];return Ci.isBuffered(this.media,j.start+j.duration/2)}const H=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(H)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var t;return(t=this.levelLastLoaded)==null?void 0:t.details}}get timelineOffset(){const t=this.config.timelineOffset;if(t){var n;return((n=this.getLevelDetails())==null?void 0:n.appliedTimelineOffset)||t}return 0}onMediaAttached(t,n){const o=this.media=this.mediaBuffer=n.media;o.removeEventListener("seeking",this.onMediaSeeking),o.removeEventListener("ended",this.onMediaEnded),o.addEventListener("seeking",this.onMediaSeeking),o.addEventListener("ended",this.onMediaEnded);const m=this.config;this.levels&&m.autoStartLoad&&this.state===zr.STOPPED&&this.startLoad(m.startPosition)}onMediaDetaching(t,n){const o=!!n.transferMedia,m=this.media;if(m!==null){if(m.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),m.removeEventListener("seeking",this.onMediaSeeking),m.removeEventListener("ended",this.onMediaEnded),this.keyLoader&&!o&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loopSn=void 0,o){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=zr.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,o){this.startFragRequested=!0,this._loadFragForPlayback(t,n,o)}_loadFragForPlayback(t,n,o){const m=w=>{const P=w.frag;if(this.fragContextChanged(P)){this.warn(`${P.type} sn: ${P.sn}${w.part?" part: "+w.part.index:""} of ${this.fragInfo(P,!1,w.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(P);return}P.stats.chunkCount++,this._handleFragmentLoadProgress(w)};this._doFragLoad(t,n,o,m).then(w=>{if(!w)return;const P=this.state,z=w.frag;if(this.fragContextChanged(z)){(P===zr.FRAG_LOADING||!this.fragCurrent&&P===zr.PARSING)&&(this.fragmentTracker.removeFragment(z),this.state=zr.IDLE);return}"payload"in w&&(this.log(`Loaded ${z.type} sn: ${z.sn} of ${this.playlistLabel()} ${z.level}`),this.hls.trigger(s.FRAG_LOADED,w)),this._handleFragmentLoadComplete(w)}).catch(w=>{this.state===zr.STOPPED||this.state===zr.ERROR||(this.warn(`Frag error: ${(w==null?void 0:w.message)||w}`),this.resetFragmentLoading(t))})}clearTrackerIfNeeded(t){var n;const{fragmentTracker:o}=this;if(o.getState(t)===wr.APPENDING){const w=t.type,P=this.getFwdBufferInfo(this.mediaBuffer,w),z=Math.max(t.duration,P?P.len:this.config.maxBufferLength),H=this.backtrackFragment;((H?t.sn-H.sn:0)===1||this.reduceMaxBufferLength(z,t.duration))&&o.removeFragment(t)}else((n=this.mediaBuffer)==null?void 0:n.buffered.length)===0?o.removeAllFragments():o.hasParts(t.type)&&(o.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type}),o.getState(t)===wr.PARTIAL&&o.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,o=null){if(!(t-n))return;const m={startOffset:t,endOffset:n,type:o};this.hls.trigger(s.BUFFER_FLUSHING,m)}_loadInitSegment(t,n){this._doFragLoad(t,n).then(o=>{const m=o==null?void 0:o.frag;if(!m||this.fragContextChanged(m)||!this.levels)throw new Error("init load aborted");return o}).then(o=>{const{hls:m}=this,{frag:w,payload:P}=o,z=w.decryptdata;if(P&&P.byteLength>0&&z!=null&&z.key&&z.iv&&Aa(z.method)){const H=self.performance.now();return this.decrypter.decrypt(new Uint8Array(P),z.key.buffer,z.iv.buffer,Da(z.method)).catch(j=>{throw m.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:j,reason:j.message,frag:w}),j}).then(j=>{const se=self.performance.now();return m.trigger(s.FRAG_DECRYPTED,{frag:w,payload:j,stats:{tstart:H,tdecrypt:se}}),o.payload=j,this.completeInitSegmentLoad(o)})}return this.completeInitSegmentLoad(o)}).catch(o=>{this.state===zr.STOPPED||this.state===zr.ERROR||(this.warn(o),this.resetFragmentLoading(t))})}completeInitSegmentLoad(t){const{levels:n}=this;if(!n)throw new Error("init load aborted, missing levels");const o=t.frag.stats;this.state!==zr.STOPPED&&(this.state=zr.IDLE),t.frag.data=new Uint8Array(t.payload),o.parsing.start=o.buffering.start=self.performance.now(),o.parsing.end=o.buffering.end=self.performance.now(),this.tick()}fragContextChanged(t){const{fragCurrent:n}=this;return!t||!n||t.sn!==n.sn||t.level!==n.level}fragBufferedComplete(t,n){const o=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:${o?ma.toString(Ci.getBuffered(o)):"(detached)"})`),de(t)){var m;if(t.type!==u.SUBTITLE){const P=t.elementaryStreams;if(!Object.keys(P).some(z=>!!P[z])){this.state=zr.IDLE;return}}const w=(m=this.levels)==null?void 0:m[t.level];w!=null&&w.fragmentError&&(this.log(`Resetting level fragment error count of ${w.fragmentError} on frag buffered`),w.fragmentError=0)}this.state=zr.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:o,part:m,partsLoaded:w}=t,P=!w||w.length===0||w.some(H=>!H),z=new ja(o.level,o.sn,o.stats.chunkCount+1,0,m?m.index:-1,!P);n.flush(z)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,o=null,m){var w;this.fragCurrent=t;const P=n==null?void 0:n.details;if(!this.levels||!P)throw new Error(`frag load aborted, missing level${P?"":" detail"}s`);let z=null;t.encrypted&&!((w=t.decryptdata)!=null&&w.key)?(this.log(`Loading key for ${t.sn} of [${P.startSN}-${P.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=zr.KEY_LOADING,this.fragCurrent=t,z=this.keyLoader.load(t).then(ce=>{if(!this.fragContextChanged(ce.frag))return this.hls.trigger(s.KEY_LOADED,ce),this.state===zr.KEY_LOADING&&(this.state=zr.IDLE),ce}),this.hls.trigger(s.KEY_LOADING,{frag:t}),this.fragCurrent===null&&(z=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):!t.encrypted&&P.encryptedFragments.length&&this.keyLoader.loadClear(t,P.encryptedFragments);const H=this.fragPrevious;if(de(t)&&(!H||t.sn!==H.sn)){const ce=this.shouldLoadParts(n.details,t.end);ce!==this.loadingParts&&(this.log(`LL-Part loading ${ce?"ON":"OFF"} loading sn ${H==null?void 0:H.sn}->${t.sn}`),this.loadingParts=ce)}if(o=Math.max(t.start,o||0),this.loadingParts&&de(t)){const ce=P.partList;if(ce&&m){o>t.end&&P.fragmentHint&&(t=P.fragmentHint);const xe=this.getNextPart(ce,t,o);if(xe>-1){const Ie=ce[xe];t=this.fragCurrent=Ie.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Ie.index} (${xe}/${ce.length-1}) of ${this.fragInfo(t,!1,Ie)}) cc: ${t.cc} [${P.startSN}-${P.endSN}], target: ${parseFloat(o.toFixed(3))}`),this.nextLoadPosition=Ie.start+Ie.duration,this.state=zr.FRAG_LOADING;let Oe;return z?Oe=z.then(tt=>!tt||this.fragContextChanged(tt.frag)?null:this.doFragPartsLoad(t,Ie,n,m)).catch(tt=>this.handleFragLoadError(tt)):Oe=this.doFragPartsLoad(t,Ie,n,m).catch(tt=>this.handleFragLoadError(tt)),this.hls.trigger(s.FRAG_LOADING,{frag:t,part:Ie,targetBufferTime:o}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):Oe}else if(!t.url||this.loadedEndOfParts(ce,o))return Promise.resolve(null)}}if(de(t)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${o.toFixed(2)}`),this.loadingParts=!1;else if(!t.url)return Promise.resolve(null);this.log(`Loading ${t.type} sn: ${t.sn} of ${this.fragInfo(t,!1)}) cc: ${t.cc} ${P?"["+P.startSN+"-"+P.endSN+"]":""}, target: ${parseFloat(o.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=zr.FRAG_LOADING;const j=this.config.progressive;let se;return j&&z?se=z.then(ce=>!ce||this.fragContextChanged(ce==null?void 0:ce.frag)?null:this.fragmentLoader.load(t,m)).catch(ce=>this.handleFragLoadError(ce)):se=Promise.all([this.fragmentLoader.load(t,j?m:void 0),z]).then(([ce])=>(!j&&ce&&m&&m(ce),ce)).catch(ce=>this.handleFragLoadError(ce)),this.hls.trigger(s.FRAG_LOADING,{frag:t,targetBufferTime:o}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):se}doFragPartsLoad(t,n,o,m){return new Promise((w,P)=>{var z;const H=[],j=(z=o.details)==null?void 0:z.partList,se=ce=>{this.fragmentLoader.loadPart(t,ce,m).then(xe=>{H[ce.index]=xe;const Ie=xe.part;this.hls.trigger(s.FRAG_LOADED,xe);const Oe=xr(o.details,t.sn,ce.index+1)||pn(j,t.sn,ce.index+1);if(Oe)se(Oe);else return w({frag:t,part:Ie,partsLoaded:H})}).catch(P)};se(n)})}handleFragLoadError(t){if("data"in t){const n=t.data;t.data&&n.details===f.INTERNAL_ABORTED?this.handleFragLoadAborted(n.frag,n.part):this.hls.trigger(s.ERROR,n)}else this.hls.trigger(s.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!==zr.PARSING){!this.fragCurrent&&this.state!==zr.STOPPED&&this.state!==zr.ERROR&&(this.state=zr.IDLE);return}const{frag:o,part:m,level:w}=n,P=self.performance.now();o.stats.parsing.end=P,m&&(m.stats.parsing.end=P);const z=this.getLevelDetails(),j=z&&o.sn>z.endSN||this.shouldLoadParts(z,o.end);j!==this.loadingParts&&(this.log(`LL-Part loading ${j?"ON":"OFF"} after parsing segment ending @${o.end.toFixed(2)}`),this.loadingParts=j),this.updateLevelTiming(o,m,w,t.partial)}shouldLoadParts(t,n){if(this.config.lowLatencyMode){if(!t)return this.loadingParts;if(t!=null&&t.partList){var o;const w=t.partList[0],P=w.end+(((o=t.fragmentHint)==null?void 0:o.duration)||0);if(n>=P){var m;if((this.hls.hasEnoughToStart?((m=this.media)==null?void 0:m.currentTime)||this.lastCurrentTime:this.getLoadPosition())>w.start-w.fragment.duration)return!0}}}return!1}getCurrentContext(t){const{levels:n,fragCurrent:o}=this,{level:m,sn:w,part:P}=t;if(!(n!=null&&n[m]))return this.warn(`Levels object was unset while buffering fragment ${w} of ${this.playlistLabel()} ${m}. The current chunk will not be buffered.`),null;const z=n[m],H=z.details,j=P>-1?xr(H,w,P):null,se=j?j.fragment:Br(H,w,o);return se?(o&&o!==se&&(se.stats=o.stats),{frag:se,part:j,level:z}):null}bufferFragmentData(t,n,o,m,w){var P;if(!t||this.state!==zr.PARSING)return;const{data1:z,data2:H}=t;let j=z;if(z&&H&&(j=Vt(z,H)),!((P=j)!=null&&P.length))return;const se={type:t.type,frag:n,part:o,chunkMeta:m,parent:n.type,data:j};if(this.hls.trigger(s.BUFFER_APPENDING,se),t.dropped&&t.independent&&!o){if(w)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 o=n.currentTime,m=Ci.bufferInfo(n,o,0),w=t.duration,P=Math.min(this.config.maxFragLookUpTolerance*2,w*.25),z=Math.max(Math.min(t.start-P,m.end-P),o+P);t.start-z>P&&this.flushMainBuffer(z,t.start)}getFwdBufferInfo(t,n){var o;const m=this.getLoadPosition();if(!r(m))return null;const P=this.lastCurrentTime>m||(o=this.media)!=null&&o.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,P)}getFwdBufferInfoAtPos(t,n,o,m){const w=Ci.bufferInfo(t,n,m);if(w.len===0&&w.nextStart!==void 0){const P=this.fragmentTracker.getBufferedFrag(n,o);if(P&&(w.nextStart<=P.end||P.gap)){const z=Math.max(Math.min(w.nextStart,P.end)-n,m);return Ci.bufferInfo(t,n,z)}}return w}getMaxBufferLength(t){const{config:n}=this;let o;return t?o=Math.max(8*n.maxBufferSize/t,n.maxBufferLength):o=n.maxBufferLength,Math.min(o,n.maxMaxBufferLength)}reduceMaxBufferLength(t,n){const o=this.config,m=Math.max(Math.min(t-n,o.maxBufferLength),n),w=Math.max(t-n*3,o.maxMaxBufferLength/2,m);return w>=m?(o.maxMaxBufferLength=w,this.warn(`Reduce max buffer length to ${w}s`),!0):!1}getAppendedFrag(t,n=u.MAIN){var o;const m=(o=this.fragmentTracker)==null?void 0:o.getAppendedFrag(t,n);return m&&"fragment"in m?m.fragment:m}getNextFragment(t,n){const o=n.fragments,m=o.length;if(!m)return null;const{config:w}=this,P=o[0].start,z=w.lowLatencyMode&&!!n.partList;let H=null;if(n.live){const ce=w.initialLiveManifestSize;if(m<ce)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${ce})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<P){var j;z&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),H=this.getInitialLiveFragment(n,o);const xe=this.hls.startPosition,Ie=this.hls.liveSyncPosition,Oe=H?(xe!==-1&&xe>=P?xe:Ie)||H.start:t;this.log(`Setting startPosition to ${Oe} to match start frag at live edge. mainStart: ${xe} liveSyncPosition: ${Ie} frag.start: ${(j=H)==null?void 0:j.start}`),this.startPosition=this.nextLoadPosition=Oe}}else t<=P&&(H=o[0]);if(!H){const ce=this.loadingParts?n.partEnd:n.fragmentEnd;H=this.getFragmentAtPosition(t,ce,n)}let se=this.filterReplacedPrimary(H,n);if(!se&&H){const ce=H.sn-n.startSN;se=this.filterReplacedPrimary(o[ce+1]||null,n)}return this.mapToInitFragWhenRequired(se)}isLoopLoading(t,n){const o=this.fragmentTracker.getState(t);return(o===wr.OK||o===wr.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,o,m,w){let P=null;if(t.gap&&(P=this.getNextFragment(this.nextLoadPosition,n),P&&!P.gap&&o.nextStart)){const z=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,o.nextStart,m,0);if(z!==null&&o.len+z.len>=w){const H=P.sn;return this.loopSn!==H&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${H}`),this.loopSn=H),null}}return this.loopSn=void 0,P}get primaryPrefetch(){if(Es(this.hls.config)){var t,n;if((t=this.hls.interstitialsManager)==null||(n=t.playingItem)==null?void 0:n.event)return!0}return!1}filterReplacedPrimary(t,n){if(!t)return t;if(Es(this.hls.config)&&t.type!==u.SUBTITLE){const o=this.hls.interstitialsManager,m=o==null?void 0:o.bufferingItem;if(m){const P=m.event;if(P){if(P.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 w=o==null?void 0:o.playerQueue;if(w)for(let P=w.length;P--;){const z=w[P].interstitial;if(z.appendInPlace&&t.start>=z.startTime&&t.end<=z.resumeTime)return null}}return t}mapToInitFragWhenRequired(t){return t!=null&&t.initSegment&&!(t!=null&&t.initSegment.data)&&!this.bitrateTest?t.initSegment:t}getNextPart(t,n,o){let m=-1,w=!1,P=!0;for(let z=0,H=t.length;z<H;z++){const j=t[z];if(P=P&&!j.independent,m>-1&&o<j.start)break;const se=j.loaded;se?m=-1:(w||j.independent||P)&&j.fragment===n&&(m=z),w=se}return m}loadedEndOfParts(t,n){const o=t[t.length-1];return o&&n>o.start&&o.loaded}getInitialLiveFragment(t,n){const o=this.fragPrevious;let m=null;if(o){if(t.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${o.programDateTime}`),m=Pi(n,o.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const w=o.sn+1;if(w>=t.startSN&&w<=t.endSN){const P=n[w-t.startSN];o.cc===P.cc&&(m=P,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=Dt(n,o.cc),m&&this.log(`Live playlist, switching playlist, load frag with same CC: ${m.sn}`))}}else{const w=this.hls.liveSyncPosition;w!==null&&(m=this.getFragmentAtPosition(w,this.bitrateTest?t.fragmentEnd:t.edge,t))}return m}getFragmentAtPosition(t,n,o){const{config:m}=this;let{fragPrevious:w}=this,{fragments:P,endSN:z}=o;const{fragmentHint:H}=o,{maxFragLookUpTolerance:j}=m,se=o.partList,ce=!!(this.loadingParts&&se!=null&&se.length&&H);ce&&H&&!this.bitrateTest&&se[se.length-1].fragment.sn===H.sn&&(P=P.concat(H),z=H.sn);let xe;if(t<n){var Ie;const tt=t<this.lastCurrentTime||t>n-j||(Ie=this.media)!=null&&Ie.paused||!this.startFragRequested?0:j;xe=Qn(w,P,t,tt)}else xe=P[P.length-1];if(xe){const Oe=xe.sn-o.startSN,tt=this.fragmentTracker.getState(xe);if((tt===wr.OK||tt===wr.PARTIAL&&xe.gap)&&(w=xe),w&&xe.sn===w.sn&&(!ce||se[0].fragment.sn>xe.sn||!o.live&&!ce)&&w&&xe.level===w.level){const Nt=P[Oe+1];xe.sn<z&&this.fragmentTracker.getState(Nt)!==wr.OK?xe=Nt:xe=null}}return xe}alignPlaylists(t,n,o){const m=t.fragments.length;if(!m)return this.warn("No fragments in live playlist"),0;const w=t.fragmentStart,P=!n,z=t.alignedSliding&&r(w);if(P||!z&&!w){qi(o,t);const H=t.fragmentStart;return this.log(`Live playlist sliding: ${H.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),H}return w}waitForCdnTuneIn(t){return t.live&&t.canBlockReload&&t.partTarget&&t.tuneInGoal>Math.max(t.partHoldBack,t.partTarget*3)}setStartPosition(t,n){let o=this.startPosition;o<n&&(o=-1);const m=this.timelineOffset;if(o===-1){const w=this.startTimeOffset!==null,P=w?this.startTimeOffset:t.startTimeOffset;P!==null&&r(P)?(o=n+P,P<0&&(o+=t.edge),o=Math.min(Math.max(n,o),n+t.totalduration),this.log(`Setting startPosition to ${o} for start time offset ${P} found in ${w?"multivariant":"media"} playlist`),this.startPosition=o):t.live?(o=this.hls.liveSyncPosition||n,this.log(`Setting startPosition to -1 to start at live edge ${o}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=o=0),this.lastCurrentTime=o+m}this.nextLoadPosition=o+m}getLoadPosition(){var t;const{media:n}=this;let o=0;return(t=this.hls)!=null&&t.hasEnoughToStart&&n?o=n.currentTime:this.nextLoadPosition>=0&&(o=this.nextLoadPosition),o}handleFragLoadAborted(t,n){this.transmuxer&&t.type===this.playlistType&&de(t)&&t.stats.aborted&&(this.warn(`Fragment ${t.sn}${n?" part "+n.index:""} of ${this.playlistLabel()} ${t.level} was aborted`),this.resetFragmentLoading(t))}resetFragmentLoading(t){(!this.fragCurrent||!this.fragContextChanged(t)&&this.state!==zr.FRAG_LOADING_WAITING_RETRY)&&(this.state=zr.IDLE)}onFragmentOrKeyLoadError(t,n){if(n.chunkMeta&&!n.frag){const Oe=this.getCurrentContext(n.chunkMeta);Oe&&(n.frag=Oe.frag)}const o=n.frag;if(!o||o.type!==t||!this.levels)return;if(this.fragContextChanged(o)){var m;this.warn(`Frag load error must match current frag to retry ${o.url} > ${(m=this.fragCurrent)==null?void 0:m.url}`);return}const w=n.details===f.FRAG_GAP;w&&this.fragmentTracker.fragBuffered(o,!0);const P=n.errorAction,{action:z,flags:H,retryCount:j=0,retryConfig:se}=P||{},ce=!!P&&!!se,xe=ce&&z===we.RetryRequest,Ie=ce&&!P.resolved&&H===it.MoveAllAlternatesMatchingHost;if(!xe&&Ie&&de(o)&&!o.endList)this.resetFragmentErrors(t),this.treatAsGap(o),P.resolved=!0;else if((xe||Ie)&&j<se.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const Oe=Ir(se,j);this.warn(`Fragment ${o.sn} of ${t} ${o.level} errored with ${n.details}, retrying loading ${j+1}/${se.maxNumRetry} in ${Oe}ms`),P.resolved=!0,this.retryDate=self.performance.now()+Oe,this.state=zr.FRAG_LOADING_WAITING_RETRY}else if(se&&P)if(this.resetFragmentErrors(t),j<se.maxNumRetry)!w&&z!==we.RemoveAlternatePermanently&&(P.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${j})`);return}else z===we.SendAlternateToPenaltyBox?this.state=zr.WAITING_LEVEL:this.state=zr.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(t){if(this.state===zr.PARSING||this.state===zr.PARSED){const n=t.frag,o=t.parent,m=this.getFwdBufferInfo(this.mediaBuffer,o),w=m&&m.len>.5;w&&this.reduceMaxBufferLength(m.len,(n==null?void 0:n.duration)||10);const P=!w;return P&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${o} buffer`),n&&(this.fragmentTracker.removeFragment(n),this.nextLoadPosition=n.start),this.resetLoadingState(),P}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==zr.STOPPED&&(this.state=zr.IDLE)}afterBufferFlushed(t,n,o){if(!t)return;const m=Ci.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,o),this.state===zr.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==zr.STOPPED&&(this.state=zr.IDLE)}resetStartWhenNotLoaded(t){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const n=t?t.details:null;n!=null&&n.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(n,n.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(t){this.warn(`The loading context changed while buffering fragment ${t.sn} of ${this.playlistLabel()} ${t.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(t=0){this.fragmentTracker.removeFragmentsInRange(t,1/0,this.playlistType,!1,!0)}updateLevelTiming(t,n,o,m){const w=o.details;if(!w){this.warn("level.details undefined");return}if(!Object.keys(t.elementaryStreams).reduce((H,j)=>{const se=t.elementaryStreams[j];if(se){const ce=se.endPTS-se.startPTS;if(ce<=0)return this.warn(`Could not parse fragment ${t.sn} ${j} duration reliably (${ce})`),H||!1;const xe=m?0:sr(w,t,se.startPTS,se.endPTS,se.startDTS,se.endDTS);return this.hls.trigger(s.LEVEL_PTS_UPDATED,{details:w,level:o,drift:xe,type:j,frag:t,start:se.startPTS,end:se.endPTS}),!0}return H},!1)){var z;if(o.fragmentError===0&&this.treatAsGap(t,o),((z=this.transmuxer)==null?void 0:z.error)===null){const H=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(H.message),this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:H,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${o.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=zr.PARSED,this.log(`Parsed ${t.type} sn: ${t.sn}${n?" part: "+n.index:""} of ${this.fragInfo(t,!1,n)})`),this.hls.trigger(s.FRAG_PARSED,{frag:t,part:n})}playlistLabel(){return this.playlistType===u.MAIN?"level":"track"}fragInfo(t,n=!0,o){var m,w;return`${this.playlistLabel()} ${t.level} (${o?"part":"frag"}:[${((m=n&&!o?t.startPTS:(o||t).start)!=null?m:NaN).toFixed(3)}-${((w=n&&!o?t.endPTS:(o||t).end)!=null?w:NaN).toFixed(3)}]${o&&t.type==="main"?"INDEPENDENT="+(o.independent?"YES":"NO"):""}`}treatAsGap(t,n){n&&n.fragmentError++,t.gap=!0,this.fragmentTracker.removeFragment(t),this.fragmentTracker.fragBuffered(t,!0)}resetTransmuxer(){var t;(t=this.transmuxer)==null||t.reset()}recoverWorkerError(t){t.event==="demuxerWorker"&&(this.fragmentTracker.removeAllFragments(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())}set state(t){const n=this._state;n!==t&&(this._state=t,this.log(`${n}->${t}`))}get state(){return this._state}}function Es(I){return!!I.interstitialsController&&I.enableInterstitialPlayback!==!1}class fi{constructor(){this.chunks=[],this.dataLength=0}push(t){this.chunks.push(t),this.dataLength+=t.length}flush(){const{chunks:t,dataLength:n}=this;let o;if(t.length)t.length===1?o=t[0]:o=ro(t,n);else return new Uint8Array(0);return this.reset(),o}reset(){this.chunks.length=0,this.dataLength=0}}function ro(I,t){const n=new Uint8Array(t);let o=0;for(let m=0;m<I.length;m++){const w=I[m];n.set(w,o),o+=w.length}return n}var po={exports:{}},ds;function Oa(){return ds||(ds=1,function(I){var t=Object.prototype.hasOwnProperty,n="~";function o(){}Object.create&&(o.prototype=Object.create(null),new o().__proto__||(n=!1));function m(H,j,se){this.fn=H,this.context=j,this.once=se||!1}function w(H,j,se,ce,xe){if(typeof se!="function")throw new TypeError("The listener must be a function");var Ie=new m(se,ce||H,xe),Oe=n?n+j:j;return H._events[Oe]?H._events[Oe].fn?H._events[Oe]=[H._events[Oe],Ie]:H._events[Oe].push(Ie):(H._events[Oe]=Ie,H._eventsCount++),H}function P(H,j){--H._eventsCount===0?H._events=new o:delete H._events[j]}function z(){this._events=new o,this._eventsCount=0}z.prototype.eventNames=function(){var j=[],se,ce;if(this._eventsCount===0)return j;for(ce in se=this._events)t.call(se,ce)&&j.push(n?ce.slice(1):ce);return Object.getOwnPropertySymbols?j.concat(Object.getOwnPropertySymbols(se)):j},z.prototype.listeners=function(j){var se=n?n+j:j,ce=this._events[se];if(!ce)return[];if(ce.fn)return[ce.fn];for(var xe=0,Ie=ce.length,Oe=new Array(Ie);xe<Ie;xe++)Oe[xe]=ce[xe].fn;return Oe},z.prototype.listenerCount=function(j){var se=n?n+j:j,ce=this._events[se];return ce?ce.fn?1:ce.length:0},z.prototype.emit=function(j,se,ce,xe,Ie,Oe){var tt=n?n+j:j;if(!this._events[tt])return!1;var at=this._events[tt],Nt=arguments.length,dr,ar;if(at.fn){switch(at.once&&this.removeListener(j,at.fn,void 0,!0),Nt){case 1:return at.fn.call(at.context),!0;case 2:return at.fn.call(at.context,se),!0;case 3:return at.fn.call(at.context,se,ce),!0;case 4:return at.fn.call(at.context,se,ce,xe),!0;case 5:return at.fn.call(at.context,se,ce,xe,Ie),!0;case 6:return at.fn.call(at.context,se,ce,xe,Ie,Oe),!0}for(ar=1,dr=new Array(Nt-1);ar<Nt;ar++)dr[ar-1]=arguments[ar];at.fn.apply(at.context,dr)}else{var Zr=at.length,Gr;for(ar=0;ar<Zr;ar++)switch(at[ar].once&&this.removeListener(j,at[ar].fn,void 0,!0),Nt){case 1:at[ar].fn.call(at[ar].context);break;case 2:at[ar].fn.call(at[ar].context,se);break;case 3:at[ar].fn.call(at[ar].context,se,ce);break;case 4:at[ar].fn.call(at[ar].context,se,ce,xe);break;default:if(!dr)for(Gr=1,dr=new Array(Nt-1);Gr<Nt;Gr++)dr[Gr-1]=arguments[Gr];at[ar].fn.apply(at[ar].context,dr)}}return!0},z.prototype.on=function(j,se,ce){return w(this,j,se,ce,!1)},z.prototype.once=function(j,se,ce){return w(this,j,se,ce,!0)},z.prototype.removeListener=function(j,se,ce,xe){var Ie=n?n+j:j;if(!this._events[Ie])return this;if(!se)return P(this,Ie),this;var Oe=this._events[Ie];if(Oe.fn)Oe.fn===se&&(!xe||Oe.once)&&(!ce||Oe.context===ce)&&P(this,Ie);else{for(var tt=0,at=[],Nt=Oe.length;tt<Nt;tt++)(Oe[tt].fn!==se||xe&&!Oe[tt].once||ce&&Oe[tt].context!==ce)&&at.push(Oe[tt]);at.length?this._events[Ie]=at.length===1?at[0]:at:P(this,Ie)}return this},z.prototype.removeAllListeners=function(j){var se;return j?(se=n?n+j:j,this._events[se]&&P(this,se)):(this._events=new o,this._eventsCount=0),this},z.prototype.off=z.prototype.removeListener,z.prototype.addListener=z.prototype.on,z.prefixed=n,z.EventEmitter=z,I.exports=z}(po)),po.exports}var qs=Oa(),Bs=Y(qs);const bn="1.6.2",gs={};function Hs(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Ye(){const I=gs[bn];if(I)return I.clientCount++,I;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 gs[bn]=m,m}function qe(I){const t=gs[I];if(t)return t.clientCount++,t;const n=new self.URL(I,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return gs[I]=m,m}function Mt(I){const t=gs[I||bn];if(t&&t.clientCount--===1){const{worker:o,objectURL:m}=t;delete gs[I||bn],m&&self.URL.revokeObjectURL(m),o.terminate()}}function Gt(I,t){return t+10<=I.length&&I[t]===51&&I[t+1]===68&&I[t+2]===73&&I[t+3]<255&&I[t+4]<255&&I[t+6]<128&&I[t+7]<128&&I[t+8]<128&&I[t+9]<128}function hr(I,t){return t+10<=I.length&&I[t]===73&&I[t+1]===68&&I[t+2]===51&&I[t+3]<255&&I[t+4]<255&&I[t+6]<128&&I[t+7]<128&&I[t+8]<128&&I[t+9]<128}function Lr(I,t){let n=0;return n=(I[t]&127)<<21,n|=(I[t+1]&127)<<14,n|=(I[t+2]&127)<<7,n|=I[t+3]&127,n}function jr(I,t){const n=t;let o=0;for(;hr(I,t);){o+=10;const m=Lr(I,t+6);o+=m,Gt(I,t+10)&&(o+=10),t+=o}if(o>0)return I.subarray(n,n+o)}function _n(I,t,n,o){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],w=t[n+2],P=w>>2&15;if(P>12){const Ie=new Error(`invalid ADTS sampling index:${P}`);I.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Ie,reason:Ie.message});return}const z=(w>>6&3)+1,H=t[n+3]>>6&3|(w&1)<<2,j="mp4a.40."+z,se=m[P];let ce=P;(z===5||z===29)&&(ce-=3);const xe=[z<<3|(ce&14)>>1,(ce&1)<<7|H<<3];return G.log(`manifest codec:${o}, parsed codec:${j}, channels:${H}, rate:${se} (ADTS object type:${z} sampling index:${P})`),{config:xe,samplerate:se,channelCount:H,codec:j,parsedCodec:j,manifestCodec:o}}function rn(I,t){return I[t]===255&&(I[t+1]&246)===240}function vn(I,t){return I[t+1]&1?7:9}function Wn(I,t){return(I[t+3]&3)<<11|I[t+4]<<3|(I[t+5]&224)>>>5}function ti(I,t){return t+5<I.length}function hi(I,t){return t+1<I.length&&rn(I,t)}function Ii(I,t){return ti(I,t)&&rn(I,t)&&Wn(I,t)<=I.length-t}function Qi(I,t){if(hi(I,t)){const n=vn(I,t);if(t+n>=I.length)return!1;const o=Wn(I,t);if(o<=n)return!1;const m=t+o;return m===I.length||hi(I,m)}return!1}function Ri(I,t,n,o,m){if(!I.samplerate){const w=_n(t,n,o,m);if(!w)return;y(I,w)}}function Ei(I){return 9216e4/I}function fa(I,t){const n=vn(I,t);if(t+n<=I.length){const o=Wn(I,t)-n;if(o>0)return{headerLength:n,frameLength:o}}}function Si(I,t,n,o,m){const w=Ei(I.samplerate),P=o+m*w,z=fa(t,n);let H;if(z){const{frameLength:ce,headerLength:xe}=z,Ie=xe+ce,Oe=Math.max(0,n+Ie-t.length);Oe?(H=new Uint8Array(Ie-xe),H.set(t.subarray(n+xe,t.length),0)):H=t.subarray(n+xe,n+Ie);const tt={unit:H,pts:P};return Oe||I.samples.push(tt),{sample:tt,length:Ie,missing:Oe}}const j=t.length-n;return H=new Uint8Array(j),H.set(t.subarray(n,t.length),0),{sample:{unit:H,pts:P},length:j,missing:-1}}function bi(I,t){return hr(I,t)&&Lr(I,t+6)+10<=I.length-t}function da(I){if(I.size<2)return;const t=Q(I.data,!0),n=new Uint8Array(I.data.subarray(t.length+1));return{key:I.type,info:t,data:n.buffer}}function no(I){if(I.size<2)return;if(I.type==="TXXX"){let n=1;const o=Q(I.data.subarray(n),!0);n+=o.length+1;const m=Q(I.data.subarray(n));return{key:I.type,info:o,data:m}}const t=Q(I.data.subarray(1));return{key:I.type,info:"",data:t}}function Ss(I){if(I.type==="WXXX"){if(I.size<2)return;let n=1;const o=Q(I.data.subarray(n),!0);n+=o.length+1;const m=Q(I.data.subarray(n));return{key:I.type,info:o,data:m}}const t=Q(I.data);return{key:I.type,info:"",data:t}}function Ma(I){return btoa(String.fromCharCode(...I))}function Fa(I,t){if(I<0)return-Fa(-I,t);const n=Math.pow(10,t);if(Math.abs(I*n%1-.5)<Number.EPSILON){const m=Math.floor(I*n);return(m%2===0?m:m+1)/n}else return Math.round(I*n)/n}function Ga(I,t){const n=new URL(I),o=new URL(t);if(n.origin!==o.origin)return I;const m=n.pathname.split("/").slice(1),w=o.pathname.split("/").slice(1,-1);for(;m[0]===w[0];)m.shift(),w.shift();for(;w.length;)w.shift(),m.unshift("..");return m.join("/")}function Oi(){try{return crypto.randomUUID()}catch(I){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 w=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(m=="x"?w:w&3|8).toString(16)})}}}function va(I){return I instanceof ArrayBuffer?I:I.byteOffset==0&&I.byteLength==I.buffer.byteLength?I.buffer:new Uint8Array(I).buffer}function Ba(I,t=0,n=1/0){return Ya(I,t,n,Uint8Array)}function Ya(I,t,n,o){const m=ho(I);let w=1;"BYTES_PER_ELEMENT"in o&&(w=o.BYTES_PER_ELEMENT);const P=rs(I)?I.byteOffset:0,z=(P+I.byteLength)/w,H=(P+t)/w,j=Math.floor(Math.max(0,Math.min(H,z))),se=Math.floor(Math.min(j+Math.max(n,0),z));return new o(m,j,se-j)}function ho(I){return I instanceof ArrayBuffer?I:I.buffer}function rs(I){return I&&I.buffer instanceof ArrayBuffer&&I.byteLength!==void 0&&I.byteOffset!==void 0}function ba(I){const t={key:I.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(I.size<2)return;if(I.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const o=I.data.subarray(1).indexOf(0);if(o===-1)return;const m=Q(Ba(I.data,1,o)),w=I.data[2+o],P=I.data.subarray(3+o).indexOf(0);if(P===-1)return;const z=Q(Ba(I.data,3+o,P));let H;return m==="-->"?H=Q(Ba(I.data,4+o+P)):H=va(I.data.subarray(4+o+P)),t.mimeType=m,t.pictureType=w,t.description=z,t.data=H,t}function Ks(I){return I.type==="PRIV"?da(I):I.type[0]==="W"?Ss(I):I.type==="APIC"?ba(I):no(I)}function Ra(I){const t=String.fromCharCode(I[0],I[1],I[2],I[3]),n=Lr(I,4),o=10;return{type:t,size:n,data:I.subarray(o,o+n)}}const Ws=10,ha=10;function Va(I){let t=0;const n=[];for(;hr(I,t);){const o=Lr(I,t+6);I[t+5]>>6&1&&(t+=Ws),t+=Ws;const m=t+o;for(;t+ha<m;){const w=Ra(I.subarray(t)),P=Ks(w);P&&n.push(P),t+=w.size+Ws}Gt(I,t)&&(t+=Ws)}return n}function Is(I){return I&&I.key==="PRIV"&&I.info==="com.apple.streaming.transportStreamTimestamp"}function ga(I){if(I.data.byteLength===8){const t=new Uint8Array(I.data),n=t[3]&1;let o=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return o/=45,n&&(o+=4772185884e-2),Math.round(o)}}function ye(I){const t=Va(I);for(let n=0;n<t.length;n++){const o=t[n];if(Is(o))return ga(o)}}let Se=function(I){return I.audioId3="org.id3",I.dateRange="com.apple.quicktime.HLS",I.emsg="https://aomedia.org/emsg/ID3",I.misbklv="urn:misb:KLV:bin:1910.1",I}({});function gr(I="",t=9e4){return{type:I,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class Jr{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,o,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,o){}demux(t,n){this.cachedData&&(t=Vt(this.cachedData,t),this.cachedData=null);let o=jr(t,0),m=o?o.length:0,w;const P=this._audioTrack,z=this._id3Track,H=o?ye(o):void 0,j=t.length;for((this.basePTS===null||this.frameIndex===0&&r(H))&&(this.basePTS=br(H,n,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),o&&o.length>0&&z.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:o,type:Se.audioId3,duration:Number.POSITIVE_INFINITY});m<j;){if(this.canParse(t,m)){const se=this.appendFrame(P,t,m);se?(this.frameIndex++,this.lastPTS=se.sample.pts,m+=se.length,w=m):m=j}else bi(t,m)?(o=jr(t,m),z.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:o,type:Se.audioId3,duration:Number.POSITIVE_INFINITY}),m+=o.length,w=m):m++;if(m===j&&w!==j){const se=t.slice(w);this.cachedData?this.cachedData=Vt(this.cachedData,se):this.cachedData=se}}return{audioTrack:P,videoTrack:gr(),id3Track:z,textTrack:gr()}}demuxSampleAes(t,n,o){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:gr(),id3Track:this._id3Track,textTrack:gr()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const br=(I,t,n)=>{if(r(I))return I*90;const o=n?n.baseTime*9e4/n.timescale:0;return t*9e4+o};let Yr=null;const An=[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],Jn=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Li=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Rn=[0,1,1,4];function Mn(I,t,n,o,m){if(n+24>t.length)return;const w=Cn(t,n);if(w&&n+w.frameLength<=t.length){const P=w.samplesPerFrame*9e4/w.sampleRate,z=o+m*P,H={unit:t.subarray(n,n+w.frameLength),pts:z,dts:z};return I.config=[],I.channelCount=w.channelCount,I.samplerate=w.sampleRate,I.samples.push(H),{sample:H,length:w.frameLength,missing:0}}}function Cn(I,t){const n=I[t+1]>>3&3,o=I[t+1]>>1&3,m=I[t+2]>>4&15,w=I[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&w!==3){const P=I[t+2]>>1&1,z=I[t+3]>>6,H=n===3?3-o:o===3?3:4,j=An[H*14+m-1]*1e3,ce=Jn[(n===3?0:n===2?1:2)*3+w],xe=z===3?1:2,Ie=Li[n][o],Oe=Rn[o],tt=Ie*8*Oe,at=Math.floor(Ie*j/ce+P)*Oe;if(Yr===null){const ar=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Yr=ar?parseInt(ar[1]):0}return!!Yr&&Yr<=87&&o===2&&j>=224e3&&z===0&&(I[t+3]=I[t+3]|128),{sampleRate:ce,channelCount:xe,frameLength:at,samplesPerFrame:tt}}}function ia(I,t){return I[t]===255&&(I[t+1]&224)===224&&(I[t+1]&6)!==0}function Na(I,t){return t+1<I.length&&ia(I,t)}function _o(I,t){return ia(I,t)&&4<=I.length-t}function io(I,t){if(t+1<I.length&&ia(I,t)){const o=Cn(I,t);let m=4;o!=null&&o.frameLength&&(m=o.frameLength);const w=t+m;return w===I.length||Na(I,w)}return!1}class nu extends Jr{constructor(t,n){super(),this.observer=void 0,this.config=void 0,this.observer=t,this.config=n}resetInitSegment(t,n,o,m){super.resetInitSegment(t,n,o,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 o=jr(t,0);let m=(o==null?void 0:o.length)||0;if(io(t,m))return!1;for(let w=t.length;m<w;m++)if(Qi(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return Ii(t,n)}appendFrame(t,n,o){Ri(t,this.observer,n,o,t.manifestCodec);const m=Si(t,n,o,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const gl=(I,t)=>{let n=0,o=5;t+=o;const m=new Uint32Array(1),w=new Uint32Array(1),P=new Uint8Array(1);for(;o>0;){P[0]=I[t];const z=Math.min(o,8),H=8-z;w[0]=4278190080>>>24+H<<H,m[0]=(P[0]&w[0])>>H,n=n?n<<z|m[0]:m[0],t+=1,o-=z}return n};class al extends Jr{constructor(t){super(),this.observer=void 0,this.observer=t}resetInitSegment(t,n,o,m){super.resetInitSegment(t,n,o,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,o){const m=Gu(t,n,o,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=jr(t,0);if(!n)return!1;const o=n.length;return t[o]===11&&t[o+1]===119&&ye(n)!==void 0&&gl(t,o)<16}}function Gu(I,t,n,o,m){if(n+8>t.length||t[n]!==11||t[n+1]!==119)return-1;const w=t[n+4]>>6;if(w>=3)return-1;const z=[48e3,44100,32e3][w],H=t[n+4]&63,se=[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][H*3+w]*2;if(n+se>t.length)return-1;const ce=t[n+6]>>5;let xe=0;ce===2?xe+=2:(ce&1&&ce!==1&&(xe+=2),ce&4&&(xe+=2));const Ie=(t[n+6]<<8|t[n+7])>>12-xe&1,tt=[2,1,2,3,3,4,4,5][ce]+Ie,at=t[n+5]>>3,Nt=t[n+5]&7,dr=new Uint8Array([w<<6|at<<1|Nt>>2,(Nt&3)<<6|ce<<3|Ie<<2|H>>4,H<<4&224]),ar=1536/z*9e4,Zr=o+m*ar,Gr=t.subarray(n,n+se);return I.config=dr,I.channelCount=tt,I.samplerate=z,I.samples.push({unit:Gr,pts:Zr}),se}class Zc extends Jr{resetInitSegment(t,n,o,m){super.resetInitSegment(t,n,o,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=jr(t,0);let o=(n==null?void 0:n.length)||0;if(n&&t[o]===11&&t[o+1]===119&&ye(n)!==void 0&&gl(t,o)<=16)return!1;for(let m=t.length;o<m;o++)if(io(t,o))return G.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return _o(t,n)}appendFrame(t,n,o){if(this.basePTS!==null)return Mn(t,n,o,this.basePTS,this.frameIndex)}}const Iu=/\/emsg[-/]ID3/i;class We{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,o,m){const w=this.videoTrack=gr("video",1),P=this.audioTrack=gr("audio",1),z=this.txtTrack=gr("text",1);if(this.id3Track=gr("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const H=Je(t);if(H.video){const{id:j,timescale:se,codec:ce,supplemental:xe}=H.video;w.id=j,w.timescale=z.timescale=se,w.codec=ce,w.supplemental=xe}if(H.audio){const{id:j,timescale:se,codec:ce}=H.audio;P.id=j,P.timescale=se,P.codec=ce}z.id=Pt.text,w.sampleDuration=0,w.duration=P.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return st(t)}demux(t,n){this.timeOffset=n;let o=t;const m=this.videoTrack,w=this.txtTrack;if(this.config.progressive){this.remainderData&&(o=Vt(this.remainderData,t));const z=Qe(o);this.remainderData=z.remainder,m.samples=z.valid||new Uint8Array}else m.samples=o;const P=this.extractID3Track(m,n);return w.samples=kt(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:P,textTrack:this.txtTrack}}flush(){const t=this.timeOffset,n=this.videoTrack,o=this.txtTrack;n.samples=this.remainderData||new Uint8Array,this.remainderData=null;const m=this.extractID3Track(n,this.timeOffset);return o.samples=kt(t,n),{videoTrack:n,audioTrack:gr(),id3Track:m,textTrack:gr()}}extractID3Track(t,n){const o=this.id3Track;if(t.samples.length){const m=bt(t.samples,["emsg"]);m&&m.forEach(w=>{const P=Ge(w);if(Iu.test(P.schemeIdUri)){const z=W(P,n);let H=P.eventDuration===4294967295?Number.POSITIVE_INFINITY:P.eventDuration/P.timeScale;H<=.001&&(H=Number.POSITIVE_INFINITY);const j=P.payload;o.samples.push({data:j,len:j.byteLength,dts:z,pts:z,type:Se.emsg,duration:H})}else if(this.config.enableEmsgKLVMetadata&&P.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const z=W(P,n);o.samples.push({data:P.payload,len:P.payload.byteLength,dts:z,pts:z,type:Se.misbklv,duration:Number.POSITIVE_INFINITY})}})}return o}demuxSampleAes(t,n,o){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 W(I,t){return r(I.presentationTime)?I.presentationTime/I.timeScale:t+I.presentationTimeDelta/I.timeScale}class X{constructor(t,n,o){this.keyData=void 0,this.decrypter=void 0,this.keyData=o,this.decrypter=new On(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,un.cbc)}decryptAacSample(t,n,o){const m=t[n].unit;if(m.length<=16)return;const w=m.subarray(16,m.length-m.length%16),P=w.buffer.slice(w.byteOffset,w.byteOffset+w.length);this.decryptBuffer(P).then(z=>{const H=new Uint8Array(z);m.set(H,16),this.decrypter.isSync()||this.decryptAacSamples(t,n+1,o)})}decryptAacSamples(t,n,o){for(;;n++){if(n>=t.length){o();return}if(!(t[n].unit.length<32)&&(this.decryptAacSample(t,n,o),!this.decrypter.isSync()))return}}getAvcEncryptedData(t){const n=Math.floor((t.length-48)/160)*16+16,o=new Int8Array(n);let m=0;for(let w=32;w<t.length-16;w+=160,m+=16)o.set(t.subarray(w,w+16),m);return o}getAvcDecryptedUnit(t,n){const o=new Uint8Array(n);let m=0;for(let w=32;w<t.length-16;w+=160,m+=16)t.set(o.subarray(m,m+16),w);return t}decryptAvcSample(t,n,o,m,w){const P=Yt(w.data),z=this.getAvcEncryptedData(P);this.decryptBuffer(z.buffer).then(H=>{w.data=this.getAvcDecryptedUnit(P,H),this.decrypter.isSync()||this.decryptAvcSamples(t,n,o+1,m)})}decryptAvcSamples(t,n,o,m){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;n++,o=0){if(n>=t.length){m();return}const w=t[n].units;for(;!(o>=w.length);o++){const P=w[o];if(!(P.data.length<=48||P.type!==1&&P.type!==5)&&(this.decryptAvcSample(t,n,o,m,P),!this.decrypter.isSync()))return}}}}class te{constructor(){this.VideoSample=null}createVideoSample(t,n,o){return{key:t,frame:!1,pts:n,dts:o,units:[],length:0}}getLastNalUnit(t){var n;let o=this.VideoSample,m;if((!o||o.units.length===0)&&(o=t[t.length-1]),(n=o)!=null&&n.units){const w=o.units;m=w[w.length-1]}return m}pushAccessUnit(t,n){if(t.units.length&&t.frame){if(t.pts===void 0){const o=n.samples,m=o.length;if(m){const w=o[m-1];t.pts=w.pts,t.dts=w.dts}else{n.dropped++;return}}n.samples.push(t)}}parseNALu(t,n,o){const m=n.byteLength;let w=t.naluState||0;const P=w,z=[];let H=0,j,se,ce,xe=-1,Ie=0;for(w===-1&&(xe=0,Ie=this.getNALuType(n,0),w=0,H=1);H<m;){if(j=n[H++],!w){w=j?0:1;continue}if(w===1){w=j?0:2;continue}if(!j)w=3;else if(j===1){if(se=H-w-1,xe>=0){const Oe={data:n.subarray(xe,se),type:Ie};z.push(Oe)}else{const Oe=this.getLastNalUnit(t.samples);Oe&&(P&&H<=4-P&&Oe.state&&(Oe.data=Oe.data.subarray(0,Oe.data.byteLength-P)),se>0&&(Oe.data=Vt(Oe.data,n.subarray(0,se)),Oe.state=0))}H<m?(ce=this.getNALuType(n,H),xe=H,Ie=ce,w=0):w=-1}else w=0}if(xe>=0&&w>=0){const Oe={data:n.subarray(xe,m),type:Ie,state:w};z.push(Oe)}if(z.length===0){const Oe=this.getLastNalUnit(t.samples);Oe&&(Oe.data=Vt(Oe.data,n))}return t.naluState=w,z}}class pe{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,o=t.byteLength-n,m=new Uint8Array(4),w=Math.min(4,n);if(w===0)throw new Error("no bytes available");m.set(t.subarray(o,o+w)),this.word=new DataView(m.buffer).getUint32(0),this.bitsAvailable=w*8,this.bytesAvailable-=w}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 o=this.word>>>32-n;if(t>32&&G.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=n,this.bitsAvailable>0)this.word<<=n;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return n=t-n,n>0&&this.bitsAvailable?o<<n|this.readBits(n):o}skipLZ(){let t;for(t=0;t<this.bitsAvailable;++t)if(this.word&2147483648>>>t)return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const t=this.skipLZ();return this.readBits(t+1)-1}readEG(){const t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class Te extends te{parsePES(t,n,o,m){const w=this.parseNALu(t,o.data,m);let P=this.VideoSample,z,H=!1;o.data=null,P&&w.length&&!t.audFound&&(this.pushAccessUnit(P,t),P=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),w.forEach(j=>{var se,ce;switch(j.type){case 1:{let tt=!1;z=!0;const at=j.data;if(H&&at.length>4){const Nt=this.readSliceType(at);(Nt===2||Nt===4||Nt===7||Nt===9)&&(tt=!0)}if(tt){var xe;(xe=P)!=null&&xe.frame&&!P.key&&(this.pushAccessUnit(P,t),P=this.VideoSample=null)}P||(P=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),P.frame=!0,P.key=tt;break}case 5:z=!0,(se=P)!=null&&se.frame&&!P.key&&(this.pushAccessUnit(P,t),P=this.VideoSample=null),P||(P=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),P.key=!0,P.frame=!0;break;case 6:{z=!0,Ct(j.data,1,o.pts,n.samples);break}case 7:{var Ie,Oe;z=!0,H=!0;const tt=j.data,at=this.readSPS(tt);if(!t.sps||t.width!==at.width||t.height!==at.height||((Ie=t.pixelRatio)==null?void 0:Ie[0])!==at.pixelRatio[0]||((Oe=t.pixelRatio)==null?void 0:Oe[1])!==at.pixelRatio[1]){t.width=at.width,t.height=at.height,t.pixelRatio=at.pixelRatio,t.sps=[tt];const Nt=tt.subarray(1,4);let dr="avc1.";for(let ar=0;ar<3;ar++){let Zr=Nt[ar].toString(16);Zr.length<2&&(Zr="0"+Zr),dr+=Zr}t.codec=dr}break}case 8:z=!0,t.pps=[j.data];break;case 9:z=!0,t.audFound=!0,(ce=P)!=null&&ce.frame&&(this.pushAccessUnit(P,t),P=null),P||(P=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts));break;case 12:z=!0;break;default:z=!1;break}P&&z&&P.units.push(j)}),m&&P&&(this.pushAccessUnit(P,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new pe(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let o=8,m=8,w;for(let P=0;P<t;P++)m!==0&&(w=n.readEG(),m=(o+w+256)%256),o=m===0?o:m}readSPS(t){const n=new pe(t);let o=0,m=0,w=0,P=0,z,H,j;const se=n.readUByte.bind(n),ce=n.readBits.bind(n),xe=n.readUEG.bind(n),Ie=n.readBoolean.bind(n),Oe=n.skipBits.bind(n),tt=n.skipEG.bind(n),at=n.skipUEG.bind(n),Nt=this.skipScalingList.bind(this);se();const dr=se();if(ce(5),Oe(3),se(),at(),dr===100||dr===110||dr===122||dr===244||dr===44||dr===83||dr===86||dr===118||dr===128){const on=xe();if(on===3&&Oe(1),at(),at(),Oe(1),Ie())for(H=on!==3?8:12,j=0;j<H;j++)Ie()&&(j<6?Nt(16,n):Nt(64,n))}at();const ar=xe();if(ar===0)xe();else if(ar===1)for(Oe(1),tt(),tt(),z=xe(),j=0;j<z;j++)tt();at(),Oe(1);const Zr=xe(),Gr=xe(),fn=ce(1);fn===0&&Oe(1),Oe(1),Ie()&&(o=xe(),m=xe(),w=xe(),P=xe());let Vr=[1,1];if(Ie()&&Ie())switch(se()){case 1:Vr=[1,1];break;case 2:Vr=[12,11];break;case 3:Vr=[10,11];break;case 4:Vr=[16,11];break;case 5:Vr=[40,33];break;case 6:Vr=[24,11];break;case 7:Vr=[20,11];break;case 8:Vr=[32,11];break;case 9:Vr=[80,33];break;case 10:Vr=[18,11];break;case 11:Vr=[15,11];break;case 12:Vr=[64,33];break;case 13:Vr=[160,99];break;case 14:Vr=[4,3];break;case 15:Vr=[3,2];break;case 16:Vr=[2,1];break;case 255:{Vr=[se()<<8|se(),se()<<8|se()];break}}return{width:Math.ceil((Zr+1)*16-o*2-m*2),height:(2-fn)*(Gr+1)*16-(fn?2:4)*(w+P),pixelRatio:Vr}}}class Ve extends te{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,o,m){const w=this.parseNALu(t,o.data,m);let P=this.VideoSample,z,H=!1;o.data=null,P&&w.length&&!t.audFound&&(this.pushAccessUnit(P,t),P=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),w.forEach(j=>{var se,ce;switch(j.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:P||(P=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts)),P.frame=!0,z=!0;break;case 16:case 17:case 18:case 21:if(z=!0,H){var xe;(xe=P)!=null&&xe.frame&&!P.key&&(this.pushAccessUnit(P,t),P=this.VideoSample=null)}P||(P=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),P.key=!0,P.frame=!0;break;case 19:case 20:z=!0,(se=P)!=null&&se.frame&&!P.key&&(this.pushAccessUnit(P,t),P=this.VideoSample=null),P||(P=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),P.key=!0,P.frame=!0;break;case 39:z=!0,Ct(j.data,2,o.pts,n.samples);break;case 32:z=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS(j.data)),this.initVPS=j.data),t.vps=[j.data];break;case 33:if(z=!0,H=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],j.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Ie=this.readSPS(j.data);t.width=Ie.width,t.height=Ie.height,t.pixelRatio=Ie.pixelRatio,t.codec=Ie.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Oe in Ie.params)t.params[Oe]=Ie.params[Oe]}this.pushParameterSet(t.sps,j.data,t.vps),P||(P=this.VideoSample=this.createVideoSample(!0,o.pts,o.dts)),P.key=!0;break;case 34:if(z=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Ie=this.readPPS(j.data);for(const Oe in Ie)t.params[Oe]=Ie[Oe]}this.pushParameterSet(t.pps,j.data,t.vps)}break;case 35:z=!0,t.audFound=!0,(ce=P)!=null&&ce.frame&&(this.pushAccessUnit(P,t),P=null),P||(P=this.VideoSample=this.createVideoSample(!1,o.pts,o.dts));break;default:z=!1;break}P&&z&&P.units.push(j)}),m&&P&&(this.pushAccessUnit(P,t),this.VideoSample=null)}pushParameterSet(t,n,o){(o&&o[0]===this.initVPS||!o&&!t.length)&&t.push(n)}getNALuType(t,n){return(t[n]&126)>>>1}ebsp2rbsp(t){const n=new Uint8Array(t.byteLength);let o=0;for(let m=0;m<t.byteLength;m++)m>=2&&t[m]===3&&t[m-1]===0&&t[m-2]===0||(n[o]=t[m],o++);return new Uint8Array(n.buffer,0,o)}pushAccessUnit(t,n){super.pushAccessUnit(t,n),this.initVPS&&(this.initVPS=null)}readVPS(t){const n=new pe(t);n.readUByte(),n.readUByte(),n.readBits(4),n.skipBits(2),n.readBits(6);const o=n.readBits(3),m=n.readBoolean();return{numTemporalLayers:o+1,temporalIdNested:m}}readSPS(t){const n=new pe(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.readBits(4);const o=n.readBits(3);n.readBoolean();const m=n.readBits(2),w=n.readBoolean(),P=n.readBits(5),z=n.readUByte(),H=n.readUByte(),j=n.readUByte(),se=n.readUByte(),ce=n.readUByte(),xe=n.readUByte(),Ie=n.readUByte(),Oe=n.readUByte(),tt=n.readUByte(),at=n.readUByte(),Nt=n.readUByte(),dr=[],ar=[];for(let ks=0;ks<o;ks++)dr.push(n.readBoolean()),ar.push(n.readBoolean());if(o>0)for(let ks=o;ks<8;ks++)n.readBits(2);for(let ks=0;ks<o;ks++)dr[ks]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),ar[ks]&&n.readUByte();n.readUEG();const Zr=n.readUEG();Zr==3&&n.skipBits(1);const Gr=n.readUEG(),fn=n.readUEG(),Vr=n.readBoolean();let on=0,hn=0,qr=0,Gn=0;Vr&&(on+=n.readUEG(),hn+=n.readUEG(),qr+=n.readUEG(),Gn+=n.readUEG());const ci=n.readUEG(),us=n.readUEG(),ya=n.readUEG(),Ji=n.readBoolean();for(let ks=Ji?0:o;ks<=o;ks++)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 vu=0;vu<4;vu++)for(let El=0;El<(vu===3?2:6);El++)if(!n.readBoolean())n.readUEG();else{const Ul=Math.min(64,1<<4+(vu<<1));vu>1&&n.readEG();for(let vf=0;vf<Ul;vf++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const Xi=n.readUEG();let Vn=0;for(let ks=0;ks<Xi;ks++){let vu=!1;if(ks!==0&&(vu=n.readBoolean()),vu){ks===Xi&&n.readUEG(),n.readBoolean(),n.readUEG();let El=0;for(let nf=0;nf<=Vn;nf++){const Ul=n.readBoolean();let vf=!1;Ul||(vf=n.readBoolean()),(Ul||vf)&&El++}Vn=El}else{const El=n.readUEG(),nf=n.readUEG();Vn=El+nf;for(let Ul=0;Ul<El;Ul++)n.readUEG(),n.readBoolean();for(let Ul=0;Ul<nf;Ul++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const ks=n.readUEG();for(let vu=0;vu<ks;vu++){for(let El=0;El<ya+4;El++)n.readBits(1);n.readBits(1)}}let wa=0,Ea=1,as=1,Os=!0,Ys=1,co=0;n.readBoolean(),n.readBoolean();let nl=!1;if(n.readBoolean()){if(n.readBoolean()){const gf=n.readUByte(),Yf=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],jf=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];gf>0&&gf<16?(Ea=Yf[gf-1],as=jf[gf-1]):gf===255&&(Ea=n.readBits(16),as=n.readBits(16))}if(n.readBoolean()&&n.readBoolean(),n.readBoolean()&&(n.readBits(3),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.readUByte(),n.readUByte())),n.readBoolean()&&(n.readUEG(),n.readUEG()),n.readBoolean(),n.readBoolean(),n.readBoolean(),nl=n.readBoolean(),nl&&(on+=n.readUEG(),hn+=n.readUEG(),qr+=n.readUEG(),Gn+=n.readUEG()),n.readBoolean()&&(Ys=n.readBits(32),co=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const jf=n.readBoolean(),kf=n.readBoolean();let af=!1;(jf||kf)&&(af=n.readBoolean(),af&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),af&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let Xf=0;Xf<=o;Xf++){Os=n.readBoolean();const nd=Os||n.readBoolean();let Uf=!1;nd?n.readEG():Uf=n.readBoolean();const Gf=Uf?1:n.readUEG()+1;if(jf)for(let Rf=0;Rf<Gf;Rf++)n.readUEG(),n.readUEG(),af&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(kf)for(let Rf=0;Rf<Gf;Rf++)n.readUEG(),n.readUEG(),af&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),wa=n.readUEG())}let rf=Gr,Kf=fn;if(Vr||nl){let ks=1,vu=1;Zr===1?ks=vu=2:Zr==2&&(ks=2),rf=Gr-ks*hn-ks*on,Kf=fn-vu*Gn-vu*qr}const ed=m?["A","B","C"][m]:"",td=z<<24|H<<16|j<<8|se;let Pf=0;for(let ks=0;ks<32;ks++)Pf=(Pf|(td>>ks&1)<<31-ks)>>>0;let Wf=Pf.toString(16);return P===1&&Wf==="2"&&(Wf="6"),{codecString:`hvc1.${ed}${P}.${Wf}.${w?"H":"L"}${Nt}.B0`,params:{general_tier_flag:w,general_profile_idc:P,general_profile_space:m,general_profile_compatibility_flags:[z,H,j,se],general_constraint_indicator_flags:[ce,xe,Ie,Oe,tt,at],general_level_idc:Nt,bit_depth:ci+8,bit_depth_luma_minus8:ci,bit_depth_chroma_minus8:us,min_spatial_segmentation_idc:wa,chroma_format_idc:Zr,frame_rate:{fixed:Os,fps:co/Ys}},width:rf,height:Kf,pixelRatio:[Ea,as]}}readPPS(t){const n=new pe(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(),w=n.readBoolean();let P=1;return w&&m?P=0:w?P=3:m&&(P=2),{parallelismType:P}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const wt=188;class Bt{constructor(t,n,o,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=o,this.logger=m,this.videoParser=null}static probe(t,n){const o=Bt.syncOffset(t);return o>0&&n.warn(`MPEG2-TS detected but first sync word found @ offset ${o}`),o!==-1}static syncOffset(t){const n=t.length;let o=Math.min(wt*5,n-wt)+1,m=0;for(;m<o;){let w=!1,P=-1,z=0;for(let H=m;H<n;H+=wt)if(t[H]===71&&(n-H===wt||t[H+wt]===71)){if(z++,P===-1&&(P=H,P!==0&&(o=Math.min(P+wt*99,t.length-wt)+1)),w||(w=nr(t,H)===0),w&&z>1&&(P===0&&z>2||H+wt>o))return P}else{if(z)return-1;break}m++}return-1}static createTrack(t,n){return{container:t==="video"||t==="audio"?"video/mp2t":void 0,type:t,id:Pt[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:t==="audio"?n:void 0}}resetInitSegment(t,n,o,m){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=Bt.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=Bt.createTrack("audio",m),this._id3Track=Bt.createTrack("id3"),this._txtTrack=Bt.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=n,this.videoCodec=o}resetTimeStamp(){}resetContiguity(){const{_audioTrack:t,_videoTrack:n,_id3Track:o}=this;t&&(t.pesData=null),n&&(n.pesData=null),o&&(o.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(t,n,o=!1,m=!1){o||(this.sampleAes=null);let w;const P=this._videoTrack,z=this._audioTrack,H=this._id3Track,j=this._txtTrack;let se=P.pid,ce=P.pesData,xe=z.pid,Ie=H.pid,Oe=z.pesData,tt=H.pesData,at=null,Nt=this.pmtParsed,dr=this._pmtId,ar=t.length;if(this.remainderData&&(t=Vt(this.remainderData,t),ar=t.length,this.remainderData=null),ar<wt&&!m)return this.remainderData=t,{audioTrack:z,videoTrack:P,id3Track:H,textTrack:j};const Zr=Math.max(0,Bt.syncOffset(t));ar-=(ar-Zr)%wt,ar<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,ar,t.buffer.byteLength-ar));let Gr=0;for(let Vr=Zr;Vr<ar;Vr+=wt)if(t[Vr]===71){const on=!!(t[Vr+1]&64),hn=nr(t,Vr),qr=(t[Vr+3]&48)>>4;let Gn;if(qr>1){if(Gn=Vr+5+t[Vr+4],Gn===Vr+wt)continue}else Gn=Vr+4;switch(hn){case se:if(on){if(ce&&(w=In(ce,this.logger))){if(this.videoParser===null)switch(P.segmentCodec){case"avc":this.videoParser=new Te;break;case"hevc":this.videoParser=new Ve;break}this.videoParser!==null&&this.videoParser.parsePES(P,j,w,!1)}ce={data:[],size:0}}ce&&(ce.data.push(t.subarray(Gn,Vr+wt)),ce.size+=Vr+wt-Gn);break;case xe:if(on){if(Oe&&(w=In(Oe,this.logger)))switch(z.segmentCodec){case"aac":this.parseAACPES(z,w);break;case"mp3":this.parseMPEGPES(z,w);break;case"ac3":this.parseAC3PES(z,w);break}Oe={data:[],size:0}}Oe&&(Oe.data.push(t.subarray(Gn,Vr+wt)),Oe.size+=Vr+wt-Gn);break;case Ie:on&&(tt&&(w=In(tt,this.logger))&&this.parseID3PES(H,w),tt={data:[],size:0}),tt&&(tt.data.push(t.subarray(Gn,Vr+wt)),tt.size+=Vr+wt-Gn);break;case 0:on&&(Gn+=t[Gn]+1),dr=this._pmtId=Pr(t,Gn);break;case dr:{on&&(Gn+=t[Gn]+1);const ci=Wr(t,Gn,this.typeSupported,o,this.observer,this.logger);se=ci.videoPid,se>0&&(P.pid=se,P.segmentCodec=ci.segmentVideoCodec),xe=ci.audioPid,xe>0&&(z.pid=xe,z.segmentCodec=ci.segmentAudioCodec),Ie=ci.id3Pid,Ie>0&&(H.pid=Ie),at!==null&&!Nt&&(this.logger.warn(`MPEG-TS PMT found at ${Vr} after unknown PID '${at}'. Backtracking to sync byte @${Zr} to parse all TS packets.`),at=null,Vr=Zr-188),Nt=this.pmtParsed=!0;break}case 17:case 8191:break;default:at=hn;break}}else Gr++;Gr>0&&nn(this.observer,new Error(`Found ${Gr} TS packet/s that do not start with 0x47`),void 0,this.logger),P.pesData=ce,z.pesData=Oe,H.pesData=tt;const fn={audioTrack:z,videoTrack:P,id3Track:H,textTrack:j};return m&&this.extractRemainingSamples(fn),fn}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:o,id3Track:m,textTrack:w}=t,P=o.pesData,z=n.pesData,H=m.pesData;let j;if(P&&(j=In(P,this.logger))){if(this.videoParser===null)switch(o.segmentCodec){case"avc":this.videoParser=new Te;break;case"hevc":this.videoParser=new Ve;break}this.videoParser!==null&&(this.videoParser.parsePES(o,w,j,!0),o.pesData=null)}else o.pesData=P;if(z&&(j=In(z,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,j);break;case"mp3":this.parseMPEGPES(n,j);break;case"ac3":this.parseAC3PES(n,j);break}n.pesData=null}else z!=null&&z.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=z;H&&(j=In(H,this.logger))?(this.parseID3PES(m,j),m.pesData=null):m.pesData=H}demuxSampleAes(t,n,o){const m=this.demux(t,o,!0,!this.config.progressive),w=this.sampleAes=new X(this.observer,this.config,n);return this.decrypt(m,w)}decrypt(t,n){return new Promise(o=>{const{audioTrack:m,videoTrack:w}=t;m.samples&&m.segmentCodec==="aac"?n.decryptAacSamples(m.samples,0,()=>{w.samples?n.decryptAvcSamples(w.samples,0,0,()=>{o(t)}):o(t)}):w.samples&&n.decryptAvcSamples(w.samples,0,0,()=>{o(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 o=0;const m=this.aacOverFlow;let w=n.data;if(m){this.aacOverFlow=null;const ce=m.missing,xe=m.sample.unit.byteLength;if(ce===-1)w=Vt(m.sample.unit,w);else{const Ie=xe-ce;m.sample.unit.set(w.subarray(0,ce),Ie),t.samples.push(m.sample),o=m.missing}}let P,z;for(P=o,z=w.length;P<z-1&&!hi(w,P);P++);if(P!==o){let ce;const xe=P<z-1;if(xe?ce=`AAC PES did not start with ADTS header,offset:${P}`:ce="No ADTS header found in AAC PES",nn(this.observer,new Error(ce),xe,this.logger),!xe)return}Ri(t,this.observer,w,P,this.audioCodec);let H;if(n.pts!==void 0)H=n.pts;else if(m){const ce=Ei(t.samplerate);H=m.sample.pts+ce}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let j=0,se;for(;P<z;)if(se=Si(t,w,P,H,j),P+=se.length,se.missing){this.aacOverFlow=se;break}else for(j++;P<z-1&&!hi(w,P);P++);}parseMPEGPES(t,n){const o=n.data,m=o.length;let w=0,P=0;const z=n.pts;if(z===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;P<m;)if(Na(o,P)){const H=Mn(t,o,P,z,w);if(H)P+=H.length,w++;else break}else P++}parseAC3PES(t,n){{const o=n.data,m=n.pts;if(m===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const w=o.length;let P=0,z=0,H;for(;z<w&&(H=Gu(t,o,z,m,P++))>0;)z+=H}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const o=y({},n,{type:this._videoTrack?Se.emsg:Se.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(o)}}function nr(I,t){return((I[t+1]&31)<<8)+I[t+2]}function Pr(I,t){return(I[t+10]&31)<<8|I[t+11]}function Wr(I,t,n,o,m,w){const P={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},z=(I[t+1]&15)<<8|I[t+2],H=t+3+z-4,j=(I[t+10]&15)<<8|I[t+11];for(t+=12+j;t<H;){const se=nr(I,t),ce=(I[t+3]&15)<<8|I[t+4];switch(I[t]){case 207:if(!o){wn("ADTS AAC",w);break}case 15:P.audioPid===-1&&(P.audioPid=se);break;case 21:P.id3Pid===-1&&(P.id3Pid=se);break;case 219:if(!o){wn("H.264",w);break}case 27:P.videoPid===-1&&(P.videoPid=se);break;case 3:case 4:!n.mpeg&&!n.mp3?w.log("MPEG audio found, not supported in this browser"):P.audioPid===-1&&(P.audioPid=se,P.segmentAudioCodec="mp3");break;case 193:if(!o){wn("AC-3",w);break}case 129:n.ac3?P.audioPid===-1&&(P.audioPid=se,P.segmentAudioCodec="ac3"):w.log("AC-3 audio found, not supported in this browser");break;case 6:if(P.audioPid===-1&&ce>0){let xe=t+5,Ie=ce;for(;Ie>2;){switch(I[xe]){case 106:n.ac3!==!0?w.log("AC-3 audio found, not supported in this browser for now"):(P.audioPid=se,P.segmentAudioCodec="ac3");break}const tt=I[xe+1]+2;xe+=tt,Ie-=tt}}break;case 194:case 135:return nn(m,new Error("Unsupported EC-3 in M2TS found"),void 0,w),P;case 36:P.videoPid===-1&&(P.videoPid=se,P.segmentVideoCodec="hevc",w.log("HEVC in M2TS found"));break}t+=ce+5}return P}function nn(I,t,n,o){o.warn(`parsing error: ${t.message}`),I.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function wn(I,t){t.log(`${I} with AES-128-CBC encryption found in unencrypted stream`)}function In(I,t){let n=0,o,m,w,P,z;const H=I.data;if(!I||I.size===0)return null;for(;H[0].length<19&&H.length>1;)H[0]=Vt(H[0],H[1]),H.splice(1,1);if(o=H[0],(o[0]<<16)+(o[1]<<8)+o[2]===1){if(m=(o[4]<<8)+o[5],m&&m>I.size-6)return null;const se=o[7];se&192&&(P=(o[9]&14)*536870912+(o[10]&255)*4194304+(o[11]&254)*16384+(o[12]&255)*128+(o[13]&254)/2,se&64?(z=(o[14]&14)*536870912+(o[15]&255)*4194304+(o[16]&254)*16384+(o[17]&255)*128+(o[18]&254)/2,P-z>54e5&&(t.warn(`${Math.round((P-z)/9e4)}s delta between PTS and DTS, align them`),P=z)):z=P),w=o[8];let ce=w+9;if(I.size<=ce)return null;I.size-=ce;const xe=new Uint8Array(I.size);for(let Ie=0,Oe=H.length;Ie<Oe;Ie++){o=H[Ie];let tt=o.byteLength;if(ce)if(ce>tt){ce-=tt;continue}else o=o.subarray(ce),tt-=ce,ce=0;xe.set(o,n),n+=tt}return m&&(m-=w+3),{data:xe,pts:P,dts:z,len:m}}return null}class Zn{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 di=Math.pow(2,32)-1;class Sr{static init(){Sr.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 Sr.types)Sr.types.hasOwnProperty(t)&&(Sr.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]),o=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]);Sr.HDLR_TYPES={video:n,audio:o};const m=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),w=new Uint8Array([0,0,0,0,0,0,0,0]);Sr.STTS=Sr.STSC=Sr.STCO=w,Sr.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Sr.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Sr.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Sr.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const P=new Uint8Array([105,115,111,109]),z=new Uint8Array([97,118,99,49]),H=new Uint8Array([0,0,0,1]);Sr.FTYP=Sr.box(Sr.types.ftyp,P,H,P,z),Sr.DINF=Sr.box(Sr.types.dinf,Sr.box(Sr.types.dref,m))}static box(t,...n){let o=8,m=n.length;const w=m;for(;m--;)o+=n[m].byteLength;const P=new Uint8Array(o);for(P[0]=o>>24&255,P[1]=o>>16&255,P[2]=o>>8&255,P[3]=o&255,P.set(t,4),m=0,o=8;m<w;m++)P.set(n[m],o),o+=n[m].byteLength;return P}static hdlr(t){return Sr.box(Sr.types.hdlr,Sr.HDLR_TYPES[t])}static mdat(t){return Sr.box(Sr.types.mdat,t)}static mdhd(t,n){n*=t;const o=Math.floor(n/(di+1)),m=Math.floor(n%(di+1));return Sr.box(Sr.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,o>>24,o>>16&255,o>>8&255,o&255,m>>24,m>>16&255,m>>8&255,m&255,85,196,0,0]))}static mdia(t){return Sr.box(Sr.types.mdia,Sr.mdhd(t.timescale||0,t.duration||0),Sr.hdlr(t.type),Sr.minf(t))}static mfhd(t){return Sr.box(Sr.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"?Sr.box(Sr.types.minf,Sr.box(Sr.types.smhd,Sr.SMHD),Sr.DINF,Sr.stbl(t)):Sr.box(Sr.types.minf,Sr.box(Sr.types.vmhd,Sr.VMHD),Sr.DINF,Sr.stbl(t))}static moof(t,n,o){return Sr.box(Sr.types.moof,Sr.mfhd(t),Sr.traf(o,n))}static moov(t){let n=t.length;const o=[];for(;n--;)o[n]=Sr.trak(t[n]);return Sr.box.apply(null,[Sr.types.moov,Sr.mvhd(t[0].timescale||0,t[0].duration||0)].concat(o).concat(Sr.mvex(t)))}static mvex(t){let n=t.length;const o=[];for(;n--;)o[n]=Sr.trex(t[n]);return Sr.box.apply(null,[Sr.types.mvex,...o])}static mvhd(t,n){n*=t;const o=Math.floor(n/(di+1)),m=Math.floor(n%(di+1)),w=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,o>>24,o>>16&255,o>>8&255,o&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 Sr.box(Sr.types.mvhd,w)}static sdtp(t){const n=t.samples||[],o=new Uint8Array(4+n.length);let m,w;for(m=0;m<n.length;m++)w=n[m].flags,o[m+4]=w.dependsOn<<4|w.isDependedOn<<2|w.hasRedundancy;return Sr.box(Sr.types.sdtp,o)}static stbl(t){return Sr.box(Sr.types.stbl,Sr.stsd(t),Sr.box(Sr.types.stts,Sr.STTS),Sr.box(Sr.types.stsc,Sr.STSC),Sr.box(Sr.types.stsz,Sr.STSZ),Sr.box(Sr.types.stco,Sr.STCO))}static avc1(t){let n=[],o=[],m,w,P;for(m=0;m<t.sps.length;m++)w=t.sps[m],P=w.byteLength,n.push(P>>>8&255),n.push(P&255),n=n.concat(Array.prototype.slice.call(w));for(m=0;m<t.pps.length;m++)w=t.pps[m],P=w.byteLength,o.push(P>>>8&255),o.push(P&255),o=o.concat(Array.prototype.slice.call(w));const z=Sr.box(Sr.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(o))),H=t.width,j=t.height,se=t.pixelRatio[0],ce=t.pixelRatio[1];return Sr.box(Sr.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,H>>8&255,H&255,j>>8&255,j&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),z,Sr.box(Sr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Sr.box(Sr.types.pasp,new Uint8Array([se>>24,se>>16&255,se>>8&255,se&255,ce>>24,ce>>16&255,ce>>8&255,ce&255])))}static esds(t){const n=t.config;return new Uint8Array([0,0,0,0,3,25,0,1,0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,...n,6,1,2])}static audioStsd(t){const n=t.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount||0,0,16,0,0,0,0,n>>8&255,n&255,0,0])}static mp4a(t){return Sr.box(Sr.types.mp4a,Sr.audioStsd(t),Sr.box(Sr.types.esds,Sr.esds(t)))}static mp3(t){return Sr.box(Sr.types[".mp3"],Sr.audioStsd(t))}static ac3(t){return Sr.box(Sr.types["ac-3"],Sr.audioStsd(t),Sr.box(Sr.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return Sr.box(Sr.types.stsd,Sr.STSD,Sr.mp4a(t));if(n==="ac3"&&t.config)return Sr.box(Sr.types.stsd,Sr.STSD,Sr.ac3(t));if(n==="mp3"&&t.codec==="mp3")return Sr.box(Sr.types.stsd,Sr.STSD,Sr.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return Sr.box(Sr.types.stsd,Sr.STSD,Sr.avc1(t));if(n==="hevc"&&t.vps)return Sr.box(Sr.types.stsd,Sr.STSD,Sr.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,o=(t.duration||0)*(t.timescale||0),m=t.width||0,w=t.height||0,P=Math.floor(o/(di+1)),z=Math.floor(o%(di+1));return Sr.box(Sr.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,P>>24,P>>16&255,P>>8&255,P&255,z>>24,z>>16&255,z>>8&255,z&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,m>>8&255,m&255,0,0,w>>8&255,w&255,0,0]))}static traf(t,n){const o=Sr.sdtp(t),m=t.id,w=Math.floor(n/(di+1)),P=Math.floor(n%(di+1));return Sr.box(Sr.types.traf,Sr.box(Sr.types.tfhd,new Uint8Array([0,0,0,0,m>>24,m>>16&255,m>>8&255,m&255])),Sr.box(Sr.types.tfdt,new Uint8Array([1,0,0,0,w>>24,w>>16&255,w>>8&255,w&255,P>>24,P>>16&255,P>>8&255,P&255])),Sr.trun(t,o.length+16+20+8+16+8+8),o)}static trak(t){return t.duration=t.duration||4294967295,Sr.box(Sr.types.trak,Sr.tkhd(t),Sr.mdia(t))}static trex(t){const n=t.id;return Sr.box(Sr.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 o=t.samples||[],m=o.length,w=12+16*m,P=new Uint8Array(w);let z,H,j,se,ce,xe;for(n+=8+w,P.set([t.type==="video"?1:0,0,15,1,m>>>24&255,m>>>16&255,m>>>8&255,m&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0),z=0;z<m;z++)H=o[z],j=H.duration,se=H.size,ce=H.flags,xe=H.cts,P.set([j>>>24&255,j>>>16&255,j>>>8&255,j&255,se>>>24&255,se>>>16&255,se>>>8&255,se&255,ce.isLeading<<2|ce.dependsOn,ce.isDependedOn<<6|ce.hasRedundancy<<4|ce.paddingValue<<1|ce.isNonSync,ce.degradPrio&61440,ce.degradPrio&15,xe>>>24&255,xe>>>16&255,xe>>>8&255,xe&255],12+16*z);return Sr.box(Sr.types.trun,P)}static initSegment(t){Sr.types||Sr.init();const n=Sr.moov(t);return Vt(Sr.FTYP,n)}static hvc1(t){const n=t.params,o=[t.vps,t.sps,t.pps],m=4,w=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),o.length]);let P=w.length;for(let Oe=0;Oe<o.length;Oe+=1){P+=3;for(let tt=0;tt<o[Oe].length;tt+=1)P+=2+o[Oe][tt].length}const z=new Uint8Array(P);z.set(w,0),P=w.length;const H=o.length-1;for(let Oe=0;Oe<o.length;Oe+=1){z.set(new Uint8Array([32+Oe|(Oe===H?128:0),0,o[Oe].length]),P),P+=3;for(let tt=0;tt<o[Oe].length;tt+=1)z.set(new Uint8Array([o[Oe][tt].length>>8,o[Oe][tt].length&255]),P),P+=2,z.set(o[Oe][tt],P),P+=o[Oe][tt].length}const j=Sr.box(Sr.types.hvcC,z),se=t.width,ce=t.height,xe=t.pixelRatio[0],Ie=t.pixelRatio[1];return Sr.box(Sr.types.hvc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,se>>8&255,se&255,ce>>8&255,ce&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),j,Sr.box(Sr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Sr.box(Sr.types.pasp,new Uint8Array([xe>>24,xe>>16&255,xe>>8&255,xe&255,Ie>>24,Ie>>16&255,Ie>>8&255,Ie&255])))}}Sr.types=void 0,Sr.HDLR_TYPES=void 0,Sr.STTS=void 0,Sr.STSC=void 0,Sr.STCO=void 0,Sr.STSZ=void 0,Sr.VMHD=void 0,Sr.SMHD=void 0,Sr.STSD=void 0,Sr.FTYP=void 0,Sr.DINF=void 0;const ea=9e4;function aa(I,t,n=1,o=!1){const m=I*t*n;return o?Math.round(m):m}function os(I,t,n=1,o=!1){return aa(I,t,1/n,o)}function Ka(I,t=!1){return aa(I,1e3,1/ea,t)}function ys(I,t=1){return aa(I,ea,1/t)}const bs=10*1e3,Ta=1024,Ns=1152,$s=1536;let pa=null,Qs=null;function Po(I,t,n,o){return{duration:t,size:n,cts:o,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:I?2:1,isNonSync:I?0:1}}}class Ro{constructor(t,n,o,m){if(this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=t,this.config=n,this.typeSupported=o,this.logger=m,this.ISGenerated=!1,pa===null){const P=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);pa=P?parseInt(P[1]):0}if(Qs===null){const w=navigator.userAgent.match(/Safari\/(\d+)/i);Qs=w?parseInt(w[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(t){this.logger.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=t}resetNextTimestamp(){this.logger.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.logger.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(t){let n=!1;const o=t[0].pts,m=t.reduce((w,P)=>{let z=P.pts,H=z-w;return H<-4294967296&&(n=!0,z=za(z,o),H=z-w),H>0?w:z},o);return n&&this.logger.debug("PTS rollover detected"),m}remux(t,n,o,m,w,P,z,H){let j,se,ce,xe,Ie,Oe,tt=w,at=w;const Nt=t.pid>-1,dr=n.pid>-1,ar=n.samples.length,Zr=t.samples.length>0,Gr=z&&ar>0||ar>1;if((!Nt||Zr)&&(!dr||Gr)||this.ISGenerated||z){if(this.ISGenerated){var Vr,on,hn,qr;const ya=this.videoTrackConfig;(ya&&(n.width!==ya.width||n.height!==ya.height||((Vr=n.pixelRatio)==null?void 0:Vr[0])!==((on=ya.pixelRatio)==null?void 0:on[0])||((hn=n.pixelRatio)==null?void 0:hn[1])!==((qr=ya.pixelRatio)==null?void 0:qr[1]))||!ya&&Gr||this.nextAudioPts===null&&Zr)&&this.resetInitSegment()}this.ISGenerated||(ce=this.generateIS(t,n,w,P));const Gn=this.isVideoContiguous;let ci=-1,us;if(Gr&&(ci=mo(n.samples),!Gn&&this.config.forceKeyFrameOnDiscontinuity))if(Oe=!0,ci>0){this.logger.warn(`[mp4-remuxer]: Dropped ${ci} out of ${ar} video samples due to a missing keyframe`);const ya=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(ci),n.dropped+=ci,at+=(n.samples[0].pts-ya)/n.inputTimeScale,us=at}else ci===-1&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${ar} video samples`),Oe=!1);if(this.ISGenerated){if(Zr&&Gr){const ya=this.getVideoStartPts(n.samples),ki=(za(t.samples[0].pts,ya)-ya)/n.inputTimeScale;tt+=Math.max(0,ki),at+=Math.max(0,-ki)}if(Zr){if(t.samplerate||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),ce=this.generateIS(t,n,w,P)),se=this.remuxAudio(t,tt,this.isAudioContiguous,P,dr||Gr||H===u.AUDIO?at:void 0),Gr){const ya=se?se.endPTS-se.startPTS:0;n.inputTimeScale||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),ce=this.generateIS(t,n,w,P)),j=this.remuxVideo(n,at,Gn,ya)}}else Gr&&(j=this.remuxVideo(n,at,Gn,0));j&&(j.firstKeyFrame=ci,j.independent=ci!==-1,j.firstKeyFramePTS=us)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(o.samples.length&&(Ie=iu(o,w,this._initPTS,this._initDTS)),m.samples.length&&(xe=Al(m,w,this._initPTS))),{audio:se,video:j,initSegment:ce,independent:Oe,text:xe,id3:Ie}}generateIS(t,n,o,m){const w=t.samples,P=n.samples,z=this.typeSupported,H={},j=this._initPTS;let se=!j||m,ce="audio/mp4",xe,Ie,Oe;if(se&&(xe=Ie=1/0),t.config&&w.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":z.mpeg?(ce="audio/mpeg",t.codec=""):z.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}H.audio={id:"audio",container:ce,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&z.mpeg?new Uint8Array(0):Sr.initSegment([t]),metadata:{channelCount:t.channelCount}},se&&(Oe=t.inputTimeScale,!j||Oe!==j.timescale?xe=Ie=w[0].pts-Math.round(Oe*o):se=!1)}if(n.sps&&n.pps&&P.length){if(n.timescale=n.inputTimeScale,H.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:Sr.initSegment([n]),metadata:{width:n.width,height:n.height}},se)if(Oe=n.inputTimeScale,!j||Oe!==j.timescale){const tt=this.getVideoStartPts(P),at=Math.round(Oe*o);Ie=Math.min(Ie,za(P[0].dts,tt)-at),xe=Math.min(xe,tt-at)}else se=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(H).length)return this.ISGenerated=!0,se?(this._initPTS={baseTime:xe,timescale:Oe},this._initDTS={baseTime:Ie,timescale:Oe}):xe=Oe=void 0,{tracks:H,initPTS:xe,timescale:Oe}}remuxVideo(t,n,o,m){const w=t.inputTimeScale,P=t.samples,z=[],H=P.length,j=this._initPTS;let se=this.nextAvcDts,ce=8,xe=this.videoSampleDuration,Ie,Oe,tt=Number.POSITIVE_INFINITY,at=Number.NEGATIVE_INFINITY,Nt=!1;if(!o||se===null){const Vn=n*w,ri=P[0].pts-za(P[0].dts,P[0].pts);pa&&se!==null&&Math.abs(Vn-ri-se)<15e3?o=!0:se=Vn-ri}const dr=j.baseTime*w/j.timescale;for(let Vn=0;Vn<H;Vn++){const ri=P[Vn];ri.pts=za(ri.pts-dr,se),ri.dts=za(ri.dts-dr,se),ri.dts<P[Vn>0?Vn-1:Vn].dts&&(Nt=!0)}Nt&&P.sort(function(Vn,ri){const wa=Vn.dts-ri.dts,Ea=Vn.pts-ri.pts;return wa||Ea}),Ie=P[0].dts,Oe=P[P.length-1].dts;const ar=Oe-Ie,Zr=ar?Math.round(ar/(H-1)):xe||t.inputTimeScale/30;if(o){const Vn=Ie-se,ri=Vn>Zr,wa=Vn<-1;if((ri||wa)&&(ri?this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Ka(Vn,!0)} ms (${Vn}dts) hole between fragments detected at ${n.toFixed(3)}`):this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Ka(-Vn,!0)} ms (${Vn}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!wa||se>=P[0].pts||pa)){Ie=se;const Ea=P[0].pts-Vn;if(ri)P[0].dts=Ie,P[0].pts=Ea;else{let as=!0;for(let Os=0;Os<P.length&&!(P[Os].dts>Ea&&as);Os++){const Ys=P[Os].pts;if(P[Os].dts-=Vn,P[Os].pts-=Vn,Os<P.length-1){const co=P[Os+1].pts,nl=P[Os].pts,vl=co<=nl,rf=co<=Ys;as=vl==rf}}}this.logger.log(`Video: Initial PTS/DTS adjusted: ${Ka(Ea,!0)}/${Ka(Ie,!0)}, delta: ${Ka(Vn,!0)} ms`)}}Ie=Math.max(0,Ie);let Gr=0,fn=0,Vr=Ie;for(let Vn=0;Vn<H;Vn++){const ri=P[Vn],wa=ri.units,Ea=wa.length;let as=0;for(let Os=0;Os<Ea;Os++)as+=wa[Os].data.length;fn+=as,Gr+=Ea,ri.length=as,ri.dts<Vr?(ri.dts=Vr,Vr+=Zr/4|0||1):Vr=ri.dts,tt=Math.min(ri.pts,tt),at=Math.max(ri.pts,at)}Oe=P[H-1].dts;const on=fn+4*Gr+8;let hn;try{hn=new Uint8Array(on)}catch(Vn){this.observer.emit(s.ERROR,s.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Vn,bytes:on,reason:`fail allocating video mdat ${on}`});return}const qr=new DataView(hn.buffer);qr.setUint32(0,on),hn.set(Sr.types.mdat,4);let Gn=!1,ci=Number.POSITIVE_INFINITY,us=Number.POSITIVE_INFINITY,ya=Number.NEGATIVE_INFINITY,Ji=Number.NEGATIVE_INFINITY;for(let Vn=0;Vn<H;Vn++){const ri=P[Vn],wa=ri.units;let Ea=0;for(let Ys=0,co=wa.length;Ys<co;Ys++){const nl=wa[Ys],vl=nl.data,rf=nl.data.byteLength;qr.setUint32(ce,rf),ce+=4,hn.set(vl,ce),ce+=rf,Ea+=4+rf}let as;if(Vn<H-1)xe=P[Vn+1].dts-ri.dts,as=P[Vn+1].pts-ri.pts;else{const Ys=this.config,co=Vn>0?ri.dts-P[Vn-1].dts:Zr;if(as=Vn>0?ri.pts-P[Vn-1].pts:Zr,Ys.stretchShortVideoTrack&&this.nextAudioPts!==null){const nl=Math.floor(Ys.maxBufferHole*w),vl=(m?tt+m*w:this.nextAudioPts)-ri.pts;vl>nl?(xe=vl-co,xe<0?xe=co:Gn=!0,this.logger.log(`[mp4-remuxer]: It is approximately ${vl/90} ms to the next segment; using duration ${xe/90} ms for the last video frame.`)):xe=co}else xe=co}const Os=Math.round(ri.pts-ri.dts);ci=Math.min(ci,xe),ya=Math.max(ya,xe),us=Math.min(us,as),Ji=Math.max(Ji,as),z.push(Po(ri.key,xe,Ea,Os))}if(z.length){if(pa){if(pa<70){const Vn=z[0].flags;Vn.dependsOn=2,Vn.isNonSync=0}}else if(Qs&&Ji-us<ya-ci&&Zr/ya<.025&&z[0].cts===0){this.logger.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let Vn=Ie;for(let ri=0,wa=z.length;ri<wa;ri++){const Ea=Vn+z[ri].duration,as=Vn+z[ri].cts;if(ri<wa-1){const Os=Ea+z[ri+1].cts;z[ri].duration=Os-as}else z[ri].duration=ri?z[ri-1].duration:Zr;z[ri].cts=0,Vn=Ea}}}xe=Gn||!xe?Zr:xe,this.nextAvcDts=se=Oe+xe,this.videoSampleDuration=xe,this.isVideoContiguous=!0;const Xi={data1:Sr.moof(t.sequenceNumber++,Ie,y(t,{samples:z})),data2:hn,startPTS:tt/w,endPTS:(at+xe)/w,startDTS:Ie/w,endDTS:se/w,type:"video",hasAudio:!1,hasVideo:!0,nb:z.length,dropped:t.dropped};return t.samples=[],t.dropped=0,Xi}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return Ns;case"ac3":return $s;default:return Ta}}remuxAudio(t,n,o,m,w){const P=t.inputTimeScale,z=t.samplerate?t.samplerate:P,H=P/z,j=this.getSamplesPerFrame(t),se=j*H,ce=this._initPTS,xe=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Ie=[],Oe=w!==void 0;let tt=t.samples,at=xe?0:8,Nt=this.nextAudioPts||-1;const dr=n*P,ar=ce.baseTime*P/ce.timescale;if(this.isAudioContiguous=o=o||tt.length&&Nt>0&&(m&&Math.abs(dr-Nt)<9e3||Math.abs(za(tt[0].pts-ar,dr)-Nt)<20*se),tt.forEach(function(ki){ki.pts=za(ki.pts-ar,dr)}),!o||Nt<0){if(tt=tt.filter(ki=>ki.pts>=0),!tt.length)return;w===0?Nt=0:m&&!Oe?Nt=Math.max(0,dr):Nt=tt[0].pts}if(t.segmentCodec==="aac"){const ki=this.config.maxAudioFramesDrift;for(let ta=0,Xi=Nt;ta<tt.length;ta++){const Vn=tt[ta],ri=Vn.pts,wa=ri-Xi,Ea=Math.abs(1e3*wa/P);if(wa<=-ki*se&&Oe)ta===0&&(this.logger.warn(`Audio frame @ ${(ri/P).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*wa/P)} ms.`),this.nextAudioPts=Nt=Xi=ri);else if(wa>=ki*se&&Ea<bs&&Oe){let as=Math.round(wa/se);Xi=ri-as*se,Xi<0&&(as--,Xi+=se),ta===0&&(this.nextAudioPts=Nt=Xi),this.logger.warn(`[mp4-remuxer]: Injecting ${as} audio frame @ ${(Xi/P).toFixed(3)}s due to ${Math.round(1e3*wa/P)} ms gap.`);for(let Os=0;Os<as;Os++){const Ys=Math.max(Xi,0);let co=Zn.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);co||(this.logger.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),co=Vn.unit.subarray()),tt.splice(ta,0,{unit:co,pts:Ys}),Xi+=se,ta++}}Vn.pts=Xi,Xi+=se}}let Zr=null,Gr=null,fn,Vr=0,on=tt.length;for(;on--;)Vr+=tt[on].unit.byteLength;for(let ki=0,ta=tt.length;ki<ta;ki++){const Xi=tt[ki],Vn=Xi.unit;let ri=Xi.pts;if(Gr!==null){const Ea=Ie[ki-1];Ea.duration=Math.round((ri-Gr)/H)}else if(o&&t.segmentCodec==="aac"&&(ri=Nt),Zr=ri,Vr>0){Vr+=at;try{fn=new Uint8Array(Vr)}catch(Ea){this.observer.emit(s.ERROR,s.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Ea,bytes:Vr,reason:`fail allocating audio mdat ${Vr}`});return}xe||(new DataView(fn.buffer).setUint32(0,Vr),fn.set(Sr.types.mdat,4))}else return;fn.set(Vn,at);const wa=Vn.byteLength;at+=wa,Ie.push(Po(!0,j,wa,0)),Gr=ri}const hn=Ie.length;if(!hn)return;const qr=Ie[Ie.length-1];this.nextAudioPts=Nt=Gr+H*qr.duration;const Gn=xe?new Uint8Array(0):Sr.moof(t.sequenceNumber++,Zr/H,y({},t,{samples:Ie}));t.samples=[];const ci=Zr/P,us=Nt/P,Ji={data1:Gn,data2:fn,startPTS:ci,endPTS:us,startDTS:ci,endDTS:us,type:"audio",hasAudio:!0,hasVideo:!1,nb:hn};return this.isAudioContiguous=!0,Ji}}function za(I,t){let n;if(t===null)return I;for(t<I?n=-8589934592:n=8589934592;Math.abs(I-t)>4294967296;)I+=n;return I}function mo(I){for(let t=0;t<I.length;t++)if(I[t].key)return t;return-1}function iu(I,t,n,o){const m=I.samples.length;if(!m)return;const w=I.inputTimeScale;for(let z=0;z<m;z++){const H=I.samples[z];H.pts=za(H.pts-n.baseTime*w/n.timescale,t*w)/w,H.dts=za(H.dts-o.baseTime*w/o.timescale,t*w)/w}const P=I.samples;return I.samples=[],{samples:P}}function Al(I,t,n){const o=I.samples.length;if(!o)return;const m=I.inputTimeScale;for(let P=0;P<o;P++){const z=I.samples[P];z.pts=za(z.pts-n.baseTime*m/n.timescale,t*m)/m}I.samples.sort((P,z)=>P.pts-z.pts);const w=I.samples;return I.samples=[],{samples:w}}class sl{constructor(t,n,o,m){this.logger=void 0,this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.logger=m}destroy(){}resetTimeStamp(t){this.initPTS=t,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(t,n,o,m){this.audioCodec=n,this.videoCodec=o,this.generateInitSegment(He(t,m)),this.emitInitSegment=!0}generateInitSegment(t){let{audioCodec:n,videoCodec:o}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const m=this.initData=Je(t);m.audio&&(n=Du(m.audio,M.AUDIO)),m.video&&(o=Du(m.video,M.VIDEO));const w={};m.audio&&m.video?w.audiovideo={container:"video/mp4",codec:n+","+o,supplemental:m.video.supplemental,initSegment:t,id:"main"}:m.audio?w.audio={container:"audio/mp4",codec:n,initSegment:t,id:"audio"}:m.video?w.video={container:"video/mp4",codec:o,supplemental:m.video.supplemental,initSegment:t,id:"main"}:this.logger.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=w}remux(t,n,o,m,w,P){var z,H;let{initPTS:j,lastEndTime:se}=this;const ce={audio:void 0,video:void 0,text:m,id3:o,initSegment:void 0};r(se)||(se=this.lastEndTime=w||0);const xe=n.samples;if(!(xe!=null&&xe.length))return ce;const Ie={initPTS:void 0,timescale:1};let Oe=this.initData;if((z=Oe)!=null&&z.length||(this.generateInitSegment(xe),Oe=this.initData),!((H=Oe)!=null&&H.length))return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),ce;this.emitInitSegment&&(Ie.tracks=this.initTracks,this.emitInitSegment=!1);const tt=Kt(xe,Oe),at=ct(Oe,xe),Nt=at===null?w:at;(P||!j)&&(Za(j,Nt,w,tt)||Ie.timescale!==j.timescale)&&(Ie.initPTS=Nt-w,j&&j.timescale===1&&this.logger.warn(`Adjusting initPTS @${w} from ${j.baseTime/j.timescale} to ${Ie.initPTS}`),this.initPTS=j={baseTime:Ie.initPTS,timescale:1});const dr=t?Nt-j.baseTime/j.timescale:se,ar=dr+tt;De(Oe,xe,j.baseTime/j.timescale),tt>0?this.lastEndTime=ar:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Zr=!!Oe.audio,Gr=!!Oe.video;let fn="";Zr&&(fn+="audio"),Gr&&(fn+="video");const Vr={data1:xe,startPTS:dr,startDTS:dr,endPTS:ar,endDTS:ar,type:fn,hasAudio:Zr,hasVideo:Gr,nb:1,dropped:0};return ce.audio=Vr.type==="audio"?Vr:void 0,ce.video=Vr.type!=="audio"?Vr:void 0,ce.initSegment=Ie,ce.id3=iu(o,w,j,j),m.samples.length&&(ce.text=Al(m,w,j)),ce}}function Za(I,t,n,o){if(I===null)return!0;const m=Math.max(o,1),w=t-I.baseTime/I.timescale;return Math.abs(w-n)>m}function Du(I,t){const n=I==null?void 0:I.codec;return n&&n.length>4?n:t===M.AUDIO?n==="ec-3"||n==="ac-3"||n==="alac"?n:n==="fLaC"||n==="Opus"?At(n,!1):(G.warn(`Unhandled audio codec "${n}" in mp4 MAP`),n||"mp4a"):(G.warn(`Unhandled video codec "${n}" in mp4 MAP`),n||"avc1")}let ns;try{ns=self.performance.now.bind(self.performance)}catch(I){ns=Date.now}const pu=[{demux:We,remux:sl},{demux:Bt,remux:Ro},{demux:nu,remux:Ro},{demux:Zc,remux:Ro}];pu.splice(2,0,{demux:al,remux:Ro});class Ou{constructor(t,n,o,m,w,P){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=o,this.id=w,this.logger=P}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,o,m){const w=o.transmuxing;w.executeStart=ns();let P=new Uint8Array(t);const{currentTransmuxState:z,transmuxConfig:H}=this;m&&(this.currentTransmuxState=m);const{contiguous:j,discontinuity:se,trackSwitch:ce,accurateTimeOffset:xe,timeOffset:Ie,initSegmentChange:Oe}=m||z,{audioCodec:tt,videoCodec:at,defaultInitPts:Nt,duration:dr,initSegmentData:ar}=H,Zr=No(P,n);if(Zr&&Aa(Zr.method)){const on=this.getDecrypter(),hn=Da(Zr.method);if(on.isSync()){let qr=on.softwareDecrypt(P,Zr.key.buffer,Zr.iv.buffer,hn);if(o.part>-1){const ci=on.flush();qr=ci&&ci.buffer}if(!qr)return w.executeEnd=ns(),vo(o);P=new Uint8Array(qr)}else return this.asyncResult=!0,this.decryptionPromise=on.webCryptoDecrypt(P,Zr.key.buffer,Zr.iv.buffer,hn).then(qr=>{const Gn=this.push(qr,null,o);return this.decryptionPromise=null,Gn}),this.decryptionPromise}const Gr=this.needsProbing(se,ce);if(Gr){const on=this.configureTransmuxer(P);if(on)return this.logger.warn(`[transmuxer] ${on.message}`),this.observer.emit(s.ERROR,s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:on,reason:on.message}),w.executeEnd=ns(),vo(o)}(se||ce||Oe||Gr)&&this.resetInitSegment(ar,tt,at,dr,n),(se||Oe||Gr)&&this.resetInitialTimestamp(Nt),j||this.resetContiguity();const fn=this.transmux(P,Zr,Ie,xe,o);this.asyncResult=Vu(fn);const Vr=this.currentTransmuxState;return Vr.contiguous=!0,Vr.discontinuity=!1,Vr.trackSwitch=!1,w.executeEnd=ns(),fn}flush(t){const n=t.transmuxing;n.executeStart=ns();const{decrypter:o,currentTransmuxState:m,decryptionPromise:w}=this;if(w)return this.asyncResult=!0,w.then(()=>this.flush(t));const P=[],{timeOffset:z}=m;if(o){const ce=o.flush();ce&&P.push(this.push(ce.buffer,null,t))}const{demuxer:H,remuxer:j}=this;if(!H||!j){n.executeEnd=ns();const ce=[vo(t)];return this.asyncResult?Promise.resolve(ce):ce}const se=H.flush(z);return Vu(se)?(this.asyncResult=!0,se.then(ce=>(this.flushRemux(P,ce,t),P))):(this.flushRemux(P,se,t),this.asyncResult?Promise.resolve(P):P)}flushRemux(t,n,o){const{audioTrack:m,videoTrack:w,id3Track:P,textTrack:z}=n,{accurateTimeOffset:H,timeOffset:j}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${o.sn}${o.part>-1?" part: "+o.part:""} of ${this.id===u.MAIN?"level":"track"} ${o.level}`);const se=this.remuxer.remux(m,w,P,z,j,H,!0,this.id);t.push({remuxResult:se,chunkMeta:o}),o.transmuxing.executeEnd=ns()}resetInitialTimestamp(t){const{demuxer:n,remuxer:o}=this;!n||!o||(n.resetTimeStamp(t),o.resetTimeStamp(t))}resetContiguity(){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetContiguity(),n.resetNextTimestamp())}resetInitSegment(t,n,o,m,w){const{demuxer:P,remuxer:z}=this;!P||!z||(P.resetInitSegment(t,n,o,m),z.resetInitSegment(t,n,o,w))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(t,n,o,m,w){let P;return n&&n.method==="SAMPLE-AES"?P=this.transmuxSampleAes(t,n,o,m,w):P=this.transmuxUnencrypted(t,o,m,w),P}transmuxUnencrypted(t,n,o,m){const{audioTrack:w,videoTrack:P,id3Track:z,textTrack:H}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(w,P,z,H,n,o,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,o,m,w){return this.demuxer.demuxSampleAes(t,n,o).then(P=>({remuxResult:this.remuxer.remux(P.audioTrack,P.videoTrack,P.id3Track,P.textTrack,o,m,!1,this.id),chunkMeta:w}))}configureTransmuxer(t){const{config:n,observer:o,typeSupported:m}=this;let w;for(let ce=0,xe=pu.length;ce<xe;ce++){var P;if((P=pu[ce].demux)!=null&&P.probe(t,this.logger)){w=pu[ce];break}}if(!w)return new Error("Failed to find demuxer by probing fragment data");const z=this.demuxer,H=this.remuxer,j=w.remux,se=w.demux;(!H||!(H instanceof j))&&(this.remuxer=new j(o,n,m,this.logger)),(!z||!(z instanceof se))&&(this.demuxer=new se(o,n,m,this.logger),this.probe=se.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new On(this.config)),t}}function No(I,t){let n=null;return I.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const vo=I=>({remuxResult:{},chunkMeta:I});function Vu(I){return"then"in I&&I.then instanceof Function}class au{constructor(t,n,o,m,w){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=o,this.duration=m,this.defaultInitPts=w||null}}class Wl{constructor(t,n,o,m,w,P){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=o,this.trackSwitch=m,this.timeOffset=w,this.initSegmentChange=P}}let Js=0;class Zo{constructor(t,n,o,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=Js++,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=H=>{const j=H.data,se=this.hls;if(!(!se||!(j!=null&&j.event)||j.instanceNo!==this.instanceNo))switch(j.event){case"init":{var ce;const xe=(ce=this.workerContext)==null?void 0:ce.objectURL;xe&&self.URL.revokeObjectURL(xe);break}case"transmuxComplete":{this.handleTransmuxComplete(j.data);break}case"flush":{this.onFlush(j.data);break}case"workerLog":{se.logger[j.data.logType]&&se.logger[j.data.logType](j.data.message);break}default:{j.data=j.data||{},j.data.frag=this.frag,j.data.part=this.part,j.data.id=this.id,se.trigger(j.event,j.data);break}}},this.onWorkerError=H=>{if(!this.hls)return;const j=new Error(`${H.message} (${H.filename}:${H.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:j})};const w=t.config;this.hls=t,this.id=n,this.useWorker=!!w.enableWorker,this.onTransmuxComplete=o,this.onFlush=m;const P=(H,j)=>{j=j||{},j.frag=this.frag||void 0,H===s.ERROR&&(j=j,j.parent=this.id,j.part=this.part,this.error=j.error),this.hls.trigger(H,j)};this.observer=new Bs,this.observer.on(s.FRAG_DECRYPTED,P),this.observer.on(s.ERROR,P);const z=_r(w.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const H=this.hls.logger;if(w.workerPath||Hs()){try{w.workerPath?(H.log(`loading Web Worker ${w.workerPath} for "${n}"`),this.workerContext=qe(w.workerPath)):(H.log(`injecting Web Worker for "${n}"`),this.workerContext=Ye());const{worker:se}=this.workerContext;se.addEventListener("message",this.onWorkerMessage),se.addEventListener("error",this.onWorkerError),se.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:z,id:n,config:Nn(w)})}catch(se){H.warn(`Error setting up "${n}" Web Worker, fallback to inline`,se),this.terminateWorker(),this.error=null,this.transmuxer=new Ou(this.observer,z,w,"",n,t.logger)}return}}this.transmuxer=new Ou(this.observer,z,w,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=Js++;const n=this.hls.config,o=_r(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:o,id:this.id,config:Nn(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),Mt(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,o,m,w,P,z,H,j,se){var ce,xe;j.transmuxing.start=self.performance.now();const{instanceNo:Ie,transmuxer:Oe}=this,tt=P?P.start:w.start,at=w.decryptdata,Nt=this.frag,dr=!(Nt&&w.cc===Nt.cc),ar=!(Nt&&j.level===Nt.level),Zr=Nt?j.sn-Nt.sn:-1,Gr=this.part?j.part-this.part.index:-1,fn=Zr===0&&j.id>1&&j.id===(Nt==null?void 0:Nt.stats.chunkCount),Vr=!ar&&(Zr===1||Zr===0&&(Gr===1||fn&&Gr<=0)),on=self.performance.now();(ar||Zr||w.stats.parsing.start===0)&&(w.stats.parsing.start=on),P&&(Gr||!Vr)&&(P.stats.parsing.start=on);const hn=!(Nt&&((ce=w.initSegment)==null?void 0:ce.url)===((xe=Nt.initSegment)==null?void 0:xe.url)),qr=new Wl(dr,Vr,H,ar,tt,hn);if(!Vr||dr||hn){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${w.type} sn: ${j.sn}${j.part>-1?" part: "+j.part:""} ${this.id===u.MAIN?"level":"track"}: ${j.level} id: ${j.id}
|
|
|
discontinuity: ${dr}
|
|
|
trackSwitch: ${ar}
|
|
|
contiguous: ${Vr}
|
|
|
accurateTimeOffset: ${H}
|
|
|
timeOffset: ${tt}
|
|
|
initSegmentChange: ${hn}`);const Gn=new au(o,m,n,z,se);this.configureTransmuxer(Gn)}if(this.frag=w,this.part=P,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Ie,cmd:"demux",data:t,decryptdata:at,chunkMeta:j,state:qr},t instanceof ArrayBuffer?[t]:[]);else if(Oe){const Gn=Oe.push(t,at,j,qr);Vu(Gn)?Gn.then(ci=>{this.handleTransmuxComplete(ci)}).catch(ci=>{this.transmuxerError(ci,j,"transmuxer-interface push error")}):this.handleTransmuxComplete(Gn)}}flush(t){t.transmuxing.start=self.performance.now();const{instanceNo:n,transmuxer:o}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:n,cmd:"flush",chunkMeta:t});else if(o){const m=o.flush(t);Vu(m)?m.then(w=>{this.handleFlushResult(w,t)}).catch(w=>{this.transmuxerError(w,t,"transmuxer-interface flush error")}):this.handleFlushResult(m,t)}}transmuxerError(t,n,o){this.hls&&(this.error=t,this.hls.trigger(s.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:o}))}handleFlushResult(t,n){t.forEach(o=>{this.handleTransmuxComplete(o)}),this.onFlush(n)}configureTransmuxer(t){const{instanceNo:n,transmuxer:o}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:n,cmd:"configure",config:t}):o&&o.configure(t)}handleTransmuxComplete(t){t.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(t)}}const ku=100;class Gl extends Ca{constructor(t,n,o){super(t,n,o,"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(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(s.BUFFER_RESET,this.onBufferReset,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:t}=this;t&&(super.unregisterListeners(),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(s.BUFFER_RESET,this.onBufferReset,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:w}){if(o===u.MAIN){const P=n.cc,z=this.fragCurrent;if(this.initPTS[P]={baseTime:m,timescale:w},this.log(`InitPTS for cc: ${P} found from main: ${m}/${w}`),this.mainAnchor=n,this.state===zr.WAITING_INIT_PTS){const H=this.waitingData;(!H&&!this.loadingParts||H&&H.frag.cc!==P)&&(this.nextLoadPosition=this.findSyncFrag(n).start),this.tick()}else!this.hls.hasEnoughToStart&&z&&z.cc!==P?(this.startFragRequested=!1,this.nextLoadPosition=this.findSyncFrag(n).start,z.abortRequests(),this.resetLoadingState()):this.state===zr.IDLE&&this.tick()}}findSyncFrag(t){const n=this.getLevelDetails(),o=t.cc;return pt(n,o,t)||n&&Dt(n.fragments,o)||t}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=zr.STOPPED;return}const o=this.lastCurrentTime;this.stopLoad(),this.setInterval(ku),o>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${o.toFixed(3)}`),t=o,this.state=zr.IDLE):this.state=zr.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case zr.IDLE:this.doTickIdle();break;case zr.WAITING_TRACK:{const{levels:n,trackId:o}=this,m=n==null?void 0:n[o],w=m==null?void 0:m.details;if(w&&!this.waitForLive(m)){if(this.waitForCdnTuneIn(w))break;this.state=zr.WAITING_INIT_PTS}break}case zr.FRAG_LOADING_WAITING_RETRY:{var t;const n=performance.now(),o=this.retryDate;if(!o||n>=o||(t=this.media)!=null&&t.seeking){const{levels:m,trackId:w}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((m==null?void 0:m[w])||null),this.state=zr.IDLE}break}case zr.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:o,part:m,cache:w,complete:P}=n,z=this.mainAnchor;if(this.initPTS[o.cc]!==void 0){this.waitingData=null,this.state=zr.FRAG_LOADING;const H=w.flush().buffer,j={frag:o,part:m,payload:H,networkDetails:null};this._handleFragmentLoadProgress(j),P&&super._handleFragmentLoadComplete(j)}else z&&z.cc!==n.frag.cc&&(this.log(`Waiting fragment cc (${o.cc}) cancelled because video is at cc ${z.cc}`),this.nextLoadPosition=this.findSyncFrag(z).start,this.clearWaitingFragment())}else this.state=zr.IDLE}}this.onTickEnd()}clearWaitingFragment(){const t=this.waitingData;t&&(this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.fragmentTracker.removeFragment(t.frag),this.waitingData=null,this.state!==zr.STOPPED&&(this.state=zr.IDLE))}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:t}=this;t!=null&&t.readyState&&(this.lastCurrentTime=t.currentTime)}doTickIdle(){var t;const{hls:n,levels:o,media:m,trackId:w}=this,P=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!P.startFragPrefetch)||!(o!=null&&o[w]))return;const z=o[w],H=z.details;if(!H||this.waitForLive(z)||this.waitForCdnTuneIn(H)){this.state=zr.WAITING_TRACK,this.startFragRequested=!1;return}const j=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&j&&(this.bufferFlushed=!1,this.afterBufferFlushed(j,M.AUDIO,u.AUDIO));const se=this.getFwdBufferInfo(j,u.AUDIO);if(se===null)return;if(!this.switchingTrack&&this._streamEnded(se,H)){n.trigger(s.BUFFER_EOS,{type:"audio"}),this.state=zr.ENDED;return}const ce=se.len,xe=n.maxBufferLength,Ie=H.fragments,Oe=Ie[0].start,tt=this.getLoadPosition(),at=this.flushing?tt:se.end;if(this.switchingTrack&&m){const ar=tt;H.PTSKnown&&ar<Oe&&(se.end>Oe||se.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=Oe+.05)}if(ce>=xe&&!this.switchingTrack&&at<Ie[Ie.length-1].start)return;let Nt=this.getNextFragment(at,H);if(Nt&&this.isLoopLoading(Nt,at)&&(Nt=this.getNextFragmentLoopLoading(Nt,H,se,u.MAIN,xe)),!Nt){this.bufferFlushed=!0;return}let dr=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&dr&&de(Nt)&&!Nt.endList&&(!H.live||!this.loadingParts&&at<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(dr)===wr.OK&&(this.mainFragLoading=dr=null),dr&&de(dr))){if(Nt.start>dr.end){const Zr=this.fragmentTracker.getFragAtPos(at,u.MAIN);Zr&&Zr.end>dr.end&&(dr=Zr,this.mainFragLoading={frag:Zr,targetBufferTime:null})}if(Nt.start>dr.end)return}this.loadFragment(Nt,z,at)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(o=>new mr(o))}onAudioTrackSwitching(t,n){const o=!!n.url;this.trackId=n.id;const{fragCurrent:m}=this;m&&(m.abortRequests(),this.removeUnbufferedFrags(m.start)),this.resetLoadingState(),o?(this.switchingTrack=n,this.flushAudioIfNeeded(n),this.state!==zr.STOPPED&&(this.setInterval(ku),this.state=zr.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 o=this.cachedTrackLoadedData;o&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(s.AUDIO_TRACK_LOADED,o))}onAudioTrackLoaded(t,n){var o;const{levels:m}=this,{details:w,id:P,groupId:z,track:H}=n;if(!m){this.warn(`Audio tracks reset while loading track ${P} "${H.name}" of "${z}"`);return}const j=this.mainDetails;if(!j||w.endCC>j.endCC||j.expired){this.cachedTrackLoadedData=n,this.state!==zr.STOPPED&&(this.state=zr.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${P} "${H.name}" of "${z}" loaded [${w.startSN},${w.endSN}]${w.lastPartSn?`[part-${w.lastPartSn}-${w.lastPartIndex}]`:""},duration:${w.totalduration}`);const se=m[P];let ce=0;if(w.live||(o=se.details)!=null&&o.live){if(this.checkLiveUpdate(w),w.deltaUpdateFailed)return;if(se.details){var xe;ce=this.alignPlaylists(w,se.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}w.alignedSliding||(Hr(w,j),w.alignedSliding||ji(w,j),ce=w.fragmentStart)}se.details=w,this.levelLastLoaded=se,this.startFragRequested||this.setStartPosition(j,ce),this.hls.trigger(s.AUDIO_TRACK_UPDATED,{details:w,id:P,groupId:n.groupId}),this.state===zr.WAITING_TRACK&&!this.waitForCdnTuneIn(w)&&(this.state=zr.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const o=t.frag,{part:m,payload:w}=t,{config:P,trackId:z,levels:H}=this;if(!H){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${o.sn} of level ${o.level} will not be buffered`);return}const j=H[z];if(!j){this.warn("Audio track is undefined on fragment load progress");return}const se=j.details;if(!se){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(o.start);return}const ce=P.defaultAudioCodec||j.audioCodec||"mp4a.40.2";let xe=this.transmuxer;xe||(xe=this.transmuxer=new Zo(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Ie=this.initPTS[o.cc],Oe=(n=o.initSegment)==null?void 0:n.data;if(Ie!==void 0){const at=m?m.index:-1,Nt=at!==-1,dr=new ja(o.level,o.sn,o.stats.chunkCount,w.byteLength,at,Nt);xe.push(w,Oe,ce,"",o,m,se.totalduration,!1,dr,Ie)}else{this.log(`Unknown video PTS for cc ${o.cc}, waiting for video PTS before demuxing audio frag ${o.sn} of [${se.startSN} ,${se.endSN}],track ${z}`);const{cache:tt}=this.waitingData=this.waitingData||{frag:o,part:m,cache:new fi,complete:!1};tt.push(new Uint8Array(w)),this.state!==zr.STOPPED&&(this.state=zr.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 o=n.tracks.audio;o&&(this.mediaBuffer=o.buffer||null)}onFragLoading(t,n){!this.audioOnly&&n.frag.type===u.MAIN&&de(n.frag)&&(this.mainFragLoading=n,this.state===zr.IDLE&&this.tick())}onFragBuffered(t,n){const{frag:o,part:m}=n;if(o.type!==u.AUDIO){!this.audioOnly&&o.type===u.MAIN&&!o.elementaryStreams.video&&!o.elementaryStreams.audiovideo&&(this.audioOnly=!0,this.mainFragLoading=null);return}if(this.fragContextChanged(o)){this.warn(`Fragment ${o.sn}${m?" p: "+m.index:""} of level ${o.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(de(o)){this.fragPrevious=o;const w=this.switchingTrack;w&&(this.bufferedTrack=w,this.switchingTrack=null,this.hls.trigger(s.AUDIO_TRACK_SWITCHED,b({},w)))}this.fragBufferedComplete(o,m),this.media&&this.tick()}onError(t,n){var o;if(n.fatal){this.state=zr.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===zr.WAITING_TRACK&&((o=n.context)==null?void 0:o.type)===h.AUDIO_TRACK&&(this.state=zr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="audio")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onBufferFlushing(t,{type:n}){n!==M.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==M.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===zr.ENDED&&(this.state=zr.IDLE);const o=this.mediaBuffer||this.media;o&&(this.afterBufferFlushed(o,n,u.AUDIO),this.tick())}}_handleTransmuxComplete(t){var n;const o="audio",{hls:m}=this,{remuxResult:w,chunkMeta:P}=t,z=this.getCurrentContext(P);if(!z){this.resetWhenMissingContext(P);return}const{frag:H,part:j,level:se}=z,{details:ce}=se,{audio:xe,text:Ie,id3:Oe,initSegment:tt}=w;if(this.fragContextChanged(H)||!ce){this.fragmentTracker.removeFragment(H);return}if(this.state=zr.PARSING,this.switchingTrack&&xe&&this.completeAudioSwitch(this.switchingTrack),tt!=null&&tt.tracks){const at=H.initSegment||H;this._bufferInitSegment(se,tt.tracks,at,P),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:at,id:o,tracks:tt.tracks})}if(xe){const{startPTS:at,endPTS:Nt,startDTS:dr,endDTS:ar}=xe;j&&(j.elementaryStreams[M.AUDIO]={startPTS:at,endPTS:Nt,startDTS:dr,endDTS:ar}),H.setElementaryStreamInfo(M.AUDIO,at,Nt,dr,ar),this.bufferFragmentData(xe,H,j,P)}if(Oe!=null&&(n=Oe.samples)!=null&&n.length){const at=y({id:o,frag:H,details:ce},Oe);m.trigger(s.FRAG_PARSING_METADATA,at)}if(Ie){const at=y({id:o,frag:H,details:ce},Ie);m.trigger(s.FRAG_PARSING_USERDATA,at)}}_bufferInitSegment(t,n,o,m){if(this.state!==zr.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const w=n.audio;w.id=u.AUDIO;const P=t.audioCodec;this.log(`Init audio buffer, container:${w.container}, codecs[level/parsed]=[${P}/${w.codec}]`),P&&P.split(",").length===1&&(w.levelCodec=P),this.hls.trigger(s.BUFFER_CODECS,n);const z=w.initSegment;if(z!=null&&z.byteLength){const H={type:"audio",frag:o,part:null,chunkMeta:m,parent:o.type,data:z};this.hls.trigger(s.BUFFER_APPENDING,H)}this.tickImmediate()}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===wr.NOT_LOADED||m===wr.PARTIAL){var w;if(!de(t))this._loadInitSegment(t,n);else if((w=n.details)!=null&&w.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=zr.WAITING_INIT_PTS;const P=this.mainDetails;P&&P.fragmentStart!==n.details.fragmentStart&&ji(n.details,P)}else super.loadFragment(t,n,o)}else this.clearTrackerIfNeeded(t)}flushAudioIfNeeded(t){if(this.media&&this.bufferedTrack){const{name:n,lang:o,assocLang:m,characteristics:w,audioCodec:P,channels:z}=this.bufferedTrack;Yn({name:n,lang:o,assocLang:m,characteristics:w,audioCodec:P,channels:z},t,ut)||(qn(t.url,this.hls)?(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null):this.bufferedTrack=t)}}completeAudioSwitch(t){const{hls:n}=this;this.flushAudioIfNeeded(t),this.bufferedTrack=t,this.switchingTrack=null,n.trigger(s.AUDIO_TRACK_SWITCHED,b({},t))}}class yu extends L{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,o){const m=n==null?void 0:n.renditionReports;if(m){let w=-1;for(let P=0;P<m.length;P++){const z=m[P];let H;try{H=new self.URL(z.URI,n.url).href}catch(j){this.warn(`Could not construct new URL for Rendition Report: ${j}`),H=z.URI||""}if(H===t){w=P;break}else H===t.substring(0,H.length)&&(w=P)}if(w!==-1){const P=m[w],z=parseInt(P["LAST-MSN"])||(n==null?void 0:n.lastPartSn);let H=parseInt(P["LAST-PART"])||(n==null?void 0:n.lastPartIndex);if(this.hls.config.lowLatencyMode){const se=Math.min(n.age-n.partTarget,n.targetduration);H>=0&&se>n.partTarget&&(H+=1)}const j=o&&mn(o);return new Un(z,H>=0?H:void 0,j)}}}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(o){this.warn(`Could not construct new URL with HLS Delivery Directives: ${o}`)}return t}playlistLoaded(t,n,o){const{details:m,stats:w}=n,P=self.performance.now(),z=w.loading.first?Math.max(0,P-w.loading.first):0;m.advancedDateTime=Date.now()-z;const H=this.hls.config.timelineOffset;if(H!==m.appliedTimelineOffset){const se=Math.max(H||0,0);m.appliedTimelineOffset=se,m.fragments.forEach(ce=>{ce.start=ce.playlistOffset+se})}if(m.live||o!=null&&o.live){const se="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(o),o&&m.fragments.length>0){vr(o,m);const dr=m.playlistParsingError;if(dr){this.warn(dr);const ar=this.hls;if(!ar.config.ignorePlaylistParsingErrors){var j;const{networkDetails:Zr}=n;ar.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:dr,reason:dr.message,level:n.level||void 0,parent:(j=m.fragments[0])==null?void 0:j.type,networkDetails:Zr,stats:w});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=w.loading.start);const ce=this.hls.mainForwardBufferInfo,xe=ce?ce.end-ce.len:0,Ie=(m.edge-xe)*1e3,Oe=or(m,Ie);if(m.requestScheduled+Oe<P?m.requestScheduled=P:m.requestScheduled+=Oe,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let tt,at,Nt;if(m.canBlockReload&&m.endSN&&m.advanced){const dr=this.hls.config.lowLatencyMode,ar=m.lastPartSn,Zr=m.endSN,Gr=m.lastPartIndex,fn=Gr!==-1,Vr=ar===Zr;fn?Vr?(at=Zr+1,Nt=dr?0:Gr):(at=ar,Nt=dr?Gr+1:m.maxPartIndex):at=Zr+1;const on=m.age,hn=on+m.ageHeader;let qr=Math.min(hn-m.partTarget,m.targetduration*1.5);if(qr>0){if(hn>m.targetduration*3)this.log(`Playlist last advanced ${on.toFixed(2)}s ago. Omitting segment and part directives.`),at=void 0,Nt=void 0;else if(o!=null&&o.tuneInGoal&&hn-m.partTarget>o.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${o.tuneInGoal} to: ${qr} with playlist age: ${m.age}`),qr=0;else{const Gn=Math.floor(qr/m.targetduration);if(at+=Gn,Nt!==void 0){const ci=Math.round(qr%m.targetduration/m.partTarget);Nt+=ci}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${on.toFixed(2)}s goal: ${qr} skip sn ${Gn} to part ${Nt}`)}m.tuneInGoal=qr}if(tt=this.getDeliveryDirectives(m,n.deliveryDirectives,at,Nt),dr||!Vr){m.requestScheduled=P,this.loadingPlaylist(se,tt);return}}else(m.canBlockReload||m.canSkipUntil)&&(tt=this.getDeliveryDirectives(m,n.deliveryDirectives,at,Nt));tt&&at!==void 0&&m.canBlockReload&&(m.requestScheduled=w.loading.first+Math.max(Oe-z*2,Oe/2)),this.scheduleLoading(se,tt,m)}else this.clearTimer()}scheduleLoading(t,n,o){const m=o||t.details;if(!m){this.loadingPlaylist(t,n);return}const w=self.performance.now(),P=m.requestScheduled;if(w>=P){this.loadingPlaylist(t,n);return}const z=P-w;this.log(`reload live playlist ${t.name||t.bitrate+"bps"} in ${Math.round(z)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(t,n),z)}getDeliveryDirectives(t,n,o,m){let w=mn(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(o=n.msn,m=n.part,w=Fr.No),new Un(o,m,w)}checkRetry(t){const n=t.details,o=cr(t),m=t.errorAction,{action:w,retryCount:P=0,retryConfig:z}=m||{},H=!!m&&!!z&&(w===we.RetryRequest||!m.resolved&&w===we.SendAlternateToPenaltyBox);if(H){var j;if(P>=z.maxNumRetry)return!1;if(o&&(j=t.context)!=null&&j.deliveryDirectives)this.warn(`Retrying playlist loading ${P+1}/${z.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const se=Ir(z,P);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),se),this.warn(`Retrying playlist loading ${P+1}/${z.maxNumRetry} after "${n}" in ${se}ms`)}t.levelRetry=!0,m.resolved=!0}return H}}function lc(I,t){if(I.length!==t.length)return!1;for(let n=0;n<I.length;n++)if(!Ku(I[n].attrs,t[n].attrs))return!1;return!0}function Ku(I,t,n){const o=I["STABLE-RENDITION-ID"];return o&&!n?o===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>I[m]!==t[m])}function ol(I,t){return t.label.toLowerCase()===I.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(I.lang||"").toLowerCase())}class Cc extends yu{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(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(s.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(s.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:o,groupId:m,details:w}=n,P=this.tracksInGroup[o];if(!P||P.groupId!==m){this.warn(`Audio track with id:${o} and group:${m} not found in active group ${P==null?void 0:P.groupId}`);return}const z=P.details;P.details=n.details,this.log(`Audio track ${o} "${P.name}" lang:${P.lang} group:${m} loaded [${w.startSN}-${w.endSN}]`),o===this.trackId&&this.playlistLoaded(o,n,z)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const o=n.audioGroups||null,m=this.groupIds;let w=this.currentTrack;if(!o||(m==null?void 0:m.length)!==(o==null?void 0:o.length)||o!=null&&o.some(z=>(m==null?void 0:m.indexOf(z))===-1)){this.groupIds=o,this.trackId=-1,this.currentTrack=null;const z=this.tracks.filter(xe=>!o||o.indexOf(xe.groupId)!==-1);if(z.length)this.selectDefaultTrack&&!z.some(xe=>xe.default)&&(this.selectDefaultTrack=!1),z.forEach((xe,Ie)=>{xe.id=Ie});else if(!w&&!this.tracksInGroup.length)return;this.tracksInGroup=z;const H=this.hls.config.audioPreference;if(!w&&H){const xe=Yi(H,z,ut);if(xe>-1)w=z[xe];else{const Ie=Yi(H,this.tracks);w=this.tracks[Ie]}}let j=this.findTrackId(w);j===-1&&w&&(j=this.findTrackId(null));const se={audioTracks:z};this.log(`Updating audio tracks, ${z.length} track(s) found in group(s): ${o==null?void 0:o.join(",")}`),this.hls.trigger(s.AUDIO_TRACKS_UPDATED,se);const ce=this.trackId;if(j!==-1&&ce===-1)this.setAudioTrack(j);else if(z.length&&ce===-1){var P;const xe=new Error(`No audio track selected for current audio group-ID(s): ${(P=this.groupIds)==null?void 0:P.join(",")} track count: ${z.length}`);this.warn(xe.message),this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:xe})}}}onError(t,n){n.fatal||!n.context||n.context.type===h.AUDIO_TRACK&&n.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(n.context.groupId)!==-1)&&this.checkRetry(n)}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(t){this.selectDefaultTrack=!1,this.setAudioTrack(t)}setAudioOption(t){const n=this.hls;if(n.config.audioPreference=t,t){const o=this.allAudioTracks;if(this.selectDefaultTrack=!1,o.length){const m=this.currentTrack;if(m&&Yn(t,m,ut))return m;const w=Yi(t,this.tracksInGroup,ut);if(w>-1){const P=this.tracksInGroup[w];return this.setAudioTrack(w),P}else if(m){let P=n.loadLevel;P===-1&&(P=n.firstAutoLevel);const z=Xn(t,n.levels,o,P,ut);if(z===-1)return null;n.nextLoadLevel=z}if(t.channels||t.audioCodec){const P=Yi(t,o);if(P>-1)return o[P]}}}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 o=this.currentTrack,m=n[t],w=m.details&&!m.details.live;if(t===this.trackId&&m===o&&w||(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(s.AUDIO_TRACK_SWITCHING,b({},m)),w))return;const P=this.switchParams(m.url,o==null?void 0:o.details,m.details);this.loadPlaylist(P)}findTrackId(t){const n=this.tracksInGroup;for(let o=0;o<n.length;o++){const m=n[o];if(!(this.selectDefaultTrack&&!m.default)&&(!t||Yn(t,m,ut)))return o}if(t){const{name:o,lang:m,assocLang:w,characteristics:P,audioCodec:z,channels:H}=t;for(let j=0;j<n.length;j++){const se=n[j];if(Yn({name:o,lang:m,assocLang:w,characteristics:P,audioCodec:z,channels:H},se,ut))return j}for(let j=0;j<n.length;j++){const se=n[j];if(Ku(t.attrs,se.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return j}for(let j=0;j<n.length;j++){const se=n[j];if(Ku(t.attrs,se.attrs,["LANGUAGE"]))return j}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&qn(n.url,this.hls)&&this.scheduleLoading(n,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=t.id,m=t.groupId,w=this.getUrlWithDirectives(t.url,n),P=t.details,z=P==null?void 0:P.age;this.log(`Loading audio-track ${o} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${z&&P.live?" age "+z.toFixed(1)+(P.type?" "+P.type||0:""):""} ${w}`),this.hls.trigger(s.AUDIO_TRACK_LOADING,{url:w,id:o,groupId:m,deliveryDirectives:n||null,track:t})}}class ao{constructor(t){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=t}destroy(){this.tracks=this.queues=null}append(t,n,o){if(this.queues===null||this.tracks===null)return;const m=this.queues[n];m.push(t),m.length===1&&!o&&this.executeNext(n)}appendBlocker(t){return new Promise(n=>{const o={label:"async-blocker",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(o,t)})}prependBlocker(t){return new Promise(n=>{if(this.queues){const o={label:"async-blocker-prepend",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[t].unshift(o)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(t=>{var n;const o=(n=t[0])==null?void 0:n.label;(o==="async-blocker"||o==="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(w){var o;if(m.onError(w),this.queues===null||this.tracks===null)return;const P=(o=this.tracks[t])==null?void 0:o.buffer;P!=null&&P.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,o;return(n=this.queues)!=null&&n[t]||(o=this.tracks)!=null&&o[t]?`${t}: (${this.listSbInfo(t)}) ${this.listOps(t)}`:""}listSbInfo(t){var n;const o=(n=this.tracks)==null?void 0:n[t],m=o==null?void 0:o.buffer;return m?`SourceBuffer${m.updating?" updating":""}${o.ended?" ended":""}${o.ending?" ending":""}`:"none"}listOps(t){var n;return((n=this.queues)==null?void 0:n[t].map(o=>o.label).join(", "))||""}}const cc=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,su="HlsJsTrackRemovedError";class ul extends Error{constructor(t){super(t),this.name=su}}class ou extends L{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=o=>{var m;this.hls&&((m=this.mediaSource)==null?void 0:m.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=o=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=o=>{const{media:m,mediaSource:w}=this;o&&this.log("Media source opened"),!(!m||!w)&&(w.removeEventListener("sourceopen",this._onMediaSourceOpen),m.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(s.MEDIA_ATTACHED,{media:m,mediaSource:w}),this.mediaSource!==null&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:o,_objectUrl:m}=this;o!==m&&this.error(`Media element src was set while attaching MediaSource (${m} > ${o})`)},this.hls=t,this.fragmentTracker=n,this.appendSource=ae(oe(t.config.preferManagedMediaSource)),this.initTracks(),this.registerListeners()}hasSourceTypes(){return Object.keys(this.tracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.transferData=this.overrides=void 0,this.operationQueue&&(this.operationQueue.destroy(),this.operationQueue=null),this.hls=this.fragmentTracker=null,this._onMediaSourceOpen=this._onMediaSourceClose=null,this._onMediaSourceEnded=null,this._onStartStreaming=this._onEndStreaming=null}registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.BUFFER_RESET,this.onBufferReset,this),t.on(s.BUFFER_APPENDING,this.onBufferAppending,this),t.on(s.BUFFER_CODECS,this.onBufferCodecs,this),t.on(s.BUFFER_EOS,this.onBufferEos,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.FRAG_PARSED,this.onFragParsed,this),t.on(s.FRAG_CHANGED,this.onFragChanged,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.BUFFER_RESET,this.onBufferReset,this),t.off(s.BUFFER_APPENDING,this.onBufferAppending,this),t.off(s.BUFFER_CODECS,this.onBufferCodecs,this),t.off(s.BUFFER_EOS,this.onBufferEos,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.FRAG_PARSED,this.onFragParsed,this),t.off(s.FRAG_CHANGED,this.onFragChanged,this),t.off(s.ERROR,this.onError,this)}transferMedia(){const{media:t,mediaSource:n}=this;if(!t)return null;const o={};if(this.operationQueue){const w=this.isUpdating();w||this.operationQueue.removeBlockers();const P=this.isQueued();(w||P)&&this.warn(`Transfering MediaSource with${P?" operations in queue":""}${w?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const m=this.transferData;return!this.sourceBufferCount&&m&&m.mediaSource===n?y(o,m.tracks):this.sourceBuffers.forEach(w=>{const[P]=w;P&&(o[P]=y({},this.tracks[P]),this.removeBuffer(P)),w[0]=w[1]=null}),{media:t,mediaSource:n,tracks:o}}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 o;let m=2;(n.audio&&!n.video||!n.altAudio)&&(m=1),this.bufferCodecEventsTotal=m,this.log(`${m} bufferCodec event(s) expected.`),(o=this.transferData)!=null&&o.mediaSource&&this.sourceBufferCount&&m&&this.bufferCreated()}onMediaAttaching(t,n){const o=this.media=n.media,m=oe(this.appendSource);if(this.transferData=this.overrides=void 0,o&&m){const w=!!n.mediaSource;(w||n.overrides)&&(this.transferData=n,this.overrides=n.overrides);const P=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(P),w)this._objectUrl=o.src,this.attachTransferred();else{const z=this._objectUrl=self.URL.createObjectURL(P);if(this.appendSource)try{o.removeAttribute("src");const H=self.ManagedMediaSource;o.disableRemotePlayback=o.disableRemotePlayback||H&&P instanceof H,Tc(o),Hc(o,z),o.load()}catch(H){o.src=z}else o.src=z}o.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(t){var n,o;this.log(`${((n=this.transferData)==null?void 0:n.mediaSource)===t?"transferred":"created"} media source: ${(o=t.constructor)==null?void 0:o.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 o=this.tracks,m=n.tracks,w=m?Object.keys(m):null,P=w?w.length:0,z=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(m&&w&&P){if(!this.tracksReady){this.hls.config.startFragPrefetch=!0,this.log("attachTransferred: waiting for SourceBuffer track info");return}if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})
|
|
|
required tracks: ${Nn(o,(H,j)=>H==="initSegment"?void 0:j)};
|
|
|
transfer tracks: ${Nn(m,(H,j)=>H==="initSegment"?void 0:j)}}`),!le(m,o)){n.mediaSource=null,n.tracks=void 0;const H=t.currentTime,j=this.details,se=Math.max(H,(j==null?void 0:j.fragments[0].start)||0);if(se-H>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${H} -> ${se}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(o)}") start time: ${se} currentTime: ${H}`),this.onMediaDetaching(s.MEDIA_DETACHING,{}),this.onMediaAttaching(s.MEDIA_ATTACHING,n),t.currentTime=se;return}this.transferData=void 0,w.forEach(H=>{const j=H,se=m[j];if(se){const ce=se.buffer;if(ce){const xe=this.fragmentTracker,Ie=se.id;if(xe.hasFragments(Ie)||xe.hasParts(Ie)){const at=Ci.getBuffered(ce);xe.detectEvictedFragments(j,at,Ie,null,!0)}const Oe=oi(j),tt=[j,ce];this.sourceBuffers[Oe]=tt,ce.updating&&this.operationQueue&&this.operationQueue.prependBlocker(j),this.trackSourceBuffer(j,se)}}}),z(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),z()}get mediaSourceOpenOrEnded(){var t;const n=(t=this.mediaSource)==null?void 0:t.readyState;return n==="open"||n==="ended"}onMediaDetaching(t,n){const o=!!n.transferMedia;this.transferData=this.overrides=void 0;const{media:m,mediaSource:w,_objectUrl:P}=this;if(w){if(this.log(`media source ${o?"transferring":"detaching"}`),o)this.sourceBuffers.forEach(([z])=>{z&&this.removeBuffer(z)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const z=w.readyState==="open";try{const H=w.sourceBuffers;for(let j=H.length;j--;)z&&H[j].abort(),w.removeSourceBuffer(H[j]);z&&w.endOfStream()}catch(H){this.warn(`onMediaDetaching: ${H.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}w.removeEventListener("sourceopen",this._onMediaSourceOpen),w.removeEventListener("sourceended",this._onMediaSourceEnded),w.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(w.removeEventListener("startstreaming",this._onStartStreaming),w.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}m&&(m.removeEventListener("emptied",this._onMediaEmptied),o||(P&&self.URL.revokeObjectURL(P),this.mediaSrc===P?(m.removeAttribute("src"),this.appendSource&&Tc(m),m.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(s.MEDIA_DETACHED,n)}onBufferReset(){this.sourceBuffers.forEach(([t])=>{t&&this.resetBuffer(t)}),this.initTracks()}resetBuffer(t){var n;const o=(n=this.tracks[t])==null?void 0:n.buffer;if(this.removeBuffer(t),o)try{var m;(m=this.mediaSource)!=null&&m.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(o)}catch(w){this.warn(`onBufferReset ${t}`,w)}delete this.tracks[t]}removeBuffer(t){this.removeBufferListeners(t),this.sourceBuffers[oi(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new ao(this.tracks)}onBufferCodecs(t,n){const o=this.tracks,m=Object.keys(n);this.log(`BUFFER_CODECS: "${m}" (current SB count ${this.sourceBufferCount})`);const w="audiovideo"in n&&(o.audio||o.video)||o.audiovideo&&("audio"in n||"video"in n),P=!w&&this.sourceBufferCount&&this.media&&m.some(z=>!o[z]);if(w||P){this.warn(`Unsupported transition between "${Object.keys(o)}" and "${m}" SourceBuffers`);return}m.forEach(z=>{var H,j,se;const ce=n[z],{id:xe,codec:Ie,levelCodec:Oe,container:tt,metadata:at,supplemental:Nt}=ce;let dr=o[z];const ar=(H=this.transferData)==null||(j=H.tracks)==null?void 0:j[z],Zr=ar!=null&&ar.buffer?ar:dr,Gr=(Zr==null?void 0:Zr.pendingCodec)||(Zr==null?void 0:Zr.codec),fn=Zr==null?void 0:Zr.levelCodec;dr||(dr=o[z]={buffer:void 0,listeners:[],codec:Ie,supplemental:Nt,container:tt,levelCodec:Oe,metadata:at,id:xe});const Vr=Qr(Gr,fn),on=Vr==null?void 0:Vr.replace(cc,"$1");let hn=Qr(Ie,Oe);const qr=(se=hn)==null?void 0:se.replace(cc,"$1");hn&&Vr&&on!==qr&&(z.slice(0,5)==="audio"&&(hn=At(hn,this.appendSource)),this.log(`switching codec ${Gr} to ${hn}`),hn!==(dr.pendingCodec||dr.codec)&&(dr.pendingCodec=hn),dr.container=tt,this.appendChangeType(z,tt,hn))}),(this.tracksReady||this.sourceBufferCount)&&(n.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&this.mediaSourceOpenOrEnded&&this.checkPendingTracks()}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((t,n)=>{const o=this.tracks[n];return t[n]={id:o.id,container:o.container,codec:o.codec,levelCodec:o.levelCodec},t},{})}appendChangeType(t,n,o){const m=`${n};codecs=${o}`,w={label:`change-type=${m}`,execute:()=>{const P=this.tracks[t];if(P){const z=P.buffer;z!=null&&z.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),z.changeType(m),P.codec=o,P.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:P=>{this.warn(`Failed to change ${t} SourceBuffer type`,P)}};this.append(w,t,this.isPending(this.tracks[t]))}blockAudio(t){var n;const o=t.start,m=o+t.duration*.05;if(((n=this.fragmentTracker.getAppendedFrag(o,u.MAIN))==null?void 0:n.gap)===!0)return;const P={label:"block-audio",execute:()=>{var z;const H=this.tracks.video;(this.lastVideoAppendEnd>m||H!=null&&H.buffer&&Ci.isBuffered(H.buffer,m)||((z=this.fragmentTracker.getAppendedFrag(m,u.MAIN))==null?void 0:z.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:z=>{this.warn("Error executing block-audio operation",z)}};this.blockedAudioAppend={op:P,frag:t},this.append(P,"audio",!0)}unblockAudio(){const{blockedAudioAppend:t,operationQueue:n}=this;t&&n&&(this.blockedAudioAppend=null,n.unblockAudio(t.op))}onBufferAppending(t,n){const{tracks:o}=this,{data:m,type:w,parent:P,frag:z,part:H,chunkMeta:j}=n,se=j.buffering[w],ce=z.sn,xe=self.performance.now();se.start=xe;const Ie=z.stats.buffering,Oe=H?H.stats.buffering:null;Ie.start===0&&(Ie.start=xe),Oe&&Oe.start===0&&(Oe.start=xe);const tt=o.audio;let at=!1;w==="audio"&&(tt==null?void 0:tt.container)==="audio/mpeg"&&(at=!this.lastMpegAudioChunk||j.id===1||this.lastMpegAudioChunk.sn!==j.sn,this.lastMpegAudioChunk=j);const Nt=this.tracks.video,dr=Nt==null?void 0:Nt.buffer;if(dr&&ce!=="initSegment"){const Gr=H||z,fn=this.blockedAudioAppend;if(w==="audio"&&P!=="main"&&!this.blockedAudioAppend){const on=Gr.start+Gr.duration*.05,hn=dr.buffered,qr=this.currentOp("video");!hn.length&&!qr?this.blockAudio(Gr):!qr&&!Ci.isBuffered(dr,on)&&this.lastVideoAppendEnd<on&&this.blockAudio(Gr)}else if(w==="video"){const Vr=Gr.end;if(fn){const on=fn.frag.start;(Vr>on||Vr<this.lastVideoAppendEnd||Ci.isBuffered(dr,on))&&this.unblockAudio()}this.lastVideoAppendEnd=Vr}}const ar=(H||z).start,Zr={label:`append-${w}`,execute:()=>{if(se.executeStart=self.performance.now(),at){const Gr=this.tracks[w];if(Gr){const fn=Gr.buffer;if(fn){const Vr=ar-fn.timestampOffset;Math.abs(Vr)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${ar} (delta: ${Vr}) sn: ${ce})`),fn.timestampOffset=ar)}}}this.appendExecutor(m,w)},onStart:()=>{},onComplete:()=>{const Gr=self.performance.now();se.executeEnd=se.end=Gr,Ie.first===0&&(Ie.first=Gr),Oe&&Oe.first===0&&(Oe.first=Gr);const fn={};this.sourceBuffers.forEach(([Vr,on])=>{Vr&&(fn[Vr]=Ci.getBuffered(on))}),this.appendErrors[w]=0,w==="audio"||w==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(s.BUFFER_APPENDED,{type:w,frag:z,part:H,chunkMeta:j,parent:z.type,timeRanges:fn})},onError:Gr=>{var fn;const Vr={type:c.MEDIA_ERROR,parent:z.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:w,frag:z,part:H,chunkMeta:j,error:Gr,err:Gr,fatal:!1},on=(fn=this.media)==null?void 0:fn.error;if(Gr.code===DOMException.QUOTA_EXCEEDED_ERR)Vr.details=f.BUFFER_FULL_ERROR;else if(Gr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!on)Vr.errorAction=Or(!0);else if(Gr.name===su&&this.sourceBufferCount===0)Vr.errorAction=Or(!0);else{const hn=++this.appendErrors[w];this.warn(`Failed ${hn}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${w}" sourceBuffer (${on||"no media error"})`),(hn>=this.hls.config.appendErrorMaxRetry||on)&&(Vr.fatal=!0)}this.hls.trigger(s.ERROR,Vr)}};this.append(Zr,w,this.isPending(this.tracks[w]))}getFlushOp(t,n,o){return this.log(`queuing "${t}" remove ${n}-${o}`),{label:"remove",execute:()=>{this.removeExecutor(t,n,o)},onStart:()=>{},onComplete:()=>{this.hls.trigger(s.BUFFER_FLUSHED,{type:t})},onError:m=>{this.warn(`Failed to remove ${n}-${o} from "${t}" SourceBuffer`,m)}}}onBufferFlushing(t,n){const{type:o,startOffset:m,endOffset:w}=n;o?this.append(this.getFlushOp(o,m,w),o):this.sourceBuffers.forEach(([P])=>{P&&this.append(this.getFlushOp(P,m,w),P)})}onFragParsed(t,n){const{frag:o,part:m}=n,w=[],P=m?m.elementaryStreams:o.elementaryStreams;P[M.AUDIOVIDEO]?w.push("audiovideo"):(P[M.AUDIO]&&w.push("audio"),P[M.VIDEO]&&w.push("video"));const z=()=>{const H=self.performance.now();o.stats.buffering.end=H,m&&(m.stats.buffering.end=H);const j=m?m.stats:o.stats;this.hls.trigger(s.FRAG_BUFFERED,{frag:o,part:m,stats:j,id:o.type})};w.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${o.type} level: ${o.level} sn: ${o.sn}`),this.blockBuffers(z,w).catch(H=>{this.warn(`Fragment buffered callback ${H}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{var n,o;return t&&(!((n=this.tracks[t])!=null&&n.ended)||((o=this.tracks[t])==null?void 0:o.ending))})}onBufferEos(t,n){var o;this.sourceBuffers.forEach(([P])=>{if(P){const z=this.tracks[P];(!n.type||n.type===P)&&(z.ending=!0,z.ended||(z.ended=!0,this.log(`${P} buffer reached EOS`)))}});const m=((o=this.overrides)==null?void 0:o.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([P])=>{var z;return P&&!((z=this.tracks[P])!=null&&z.ended)})&&(m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:P}=this;if(!P||P.readyState!=="open"){P&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${P.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),P.endOfStream(),this.hls.trigger(s.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(s.BUFFERED_TO_END,void 0)))}tracksEnded(){this.sourceBuffers.forEach(([t])=>{if(t!==null){const n=this.tracks[t];n&&(n.ending=!1)}})}onLevelUpdated(t,{details:n}){n.fragments.length&&(this.details=n,this.updateDuration())}updateDuration(){const t=this.getDurationAndRange();t&&this.blockUntilOpen(()=>this.updateMediaSource(t))}onError(t,n){if(n.details===f.BUFFER_APPEND_ERROR&&n.frag){var o;const m=(o=n.errorAction)==null?void 0:o.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:o}=this;if(!o||n===null||!this.sourceBufferCount)return;const m=t.config,w=o.currentTime,P=n.levelTargetDuration,z=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(z)&&z>=0){const H=Math.max(z,P),j=Math.floor(w/P)*P-H;this.flushBackBuffer(w,P,j)}if(r(m.frontBufferFlushThreshold)&&m.frontBufferFlushThreshold>0){const H=Math.max(m.maxBufferLength,m.frontBufferFlushThreshold),j=Math.max(H,P),se=Math.floor(w/P)*P+j;this.flushFrontBuffer(w,P,se)}}flushBackBuffer(t,n,o){this.sourceBuffers.forEach(([m,w])=>{if(w){const z=Ci.getBuffered(w);if(z.length>0&&o>z.start(0)){var P;this.hls.trigger(s.BACK_BUFFER_REACHED,{bufferEnd:o});const H=this.tracks[m];if((P=this.details)!=null&&P.live)this.hls.trigger(s.LIVE_BACK_BUFFER_REACHED,{bufferEnd:o});else if(H!=null&&H.ended){this.log(`Cannot flush ${m} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:o,type:m})}}})}flushFrontBuffer(t,n,o){this.sourceBuffers.forEach(([m,w])=>{if(w){const P=Ci.getBuffered(w),z=P.length;if(z<2)return;const H=P.start(z-1),j=P.end(z-1);if(o>H||t>=H&&t<=j)return;this.hls.trigger(s.BUFFER_FLUSHING,{startOffset:H,endOffset:1/0,type:m})}})}getDurationAndRange(){var t;const{details:n,mediaSource:o}=this;if(!n||!this.media||(o==null?void 0:o.readyState)!=="open")return null;const m=n.edge;if(n.live&&this.hls.config.liveDurationInfinity){if(n.fragments.length&&n.live&&o.setLiveSeekableRange){const j=Math.max(0,n.fragmentStart),se=Math.max(j,m);return{duration:1/0,start:j,end:se}}return{duration:1/0}}const w=(t=this.overrides)==null?void 0:t.duration;if(w)return r(w)?{duration:w}:null;const P=this.media.duration,z=r(o.duration)?o.duration:0;return m>z&&m>P||!r(P)?{duration:m}:null}updateMediaSource({duration:t,start:n,end:o}){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&&o!==void 0&&(this.log(`MediaSource duration is set to ${m.duration}. Setting seekable range to ${n}-${o}.`),m.setLiveSeekableRange(n,o)))}get tracksReady(){const t=this.pendingTrackCount;return t>0&&(t>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:t,pendingTrackCount:n,tracks:o}=this;if(this.log(`checkPendingTracks (pending: ${n} codec events expected: ${t}) ${Nn(o)}`),this.tracksReady){var m;const w=(m=this.transferData)==null?void 0:m.tracks;w&&Object.keys(w).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const t={};this.sourceBuffers.forEach(([n,o])=>{if(n){const m=this.tracks[n];t[n]={buffer:o,container:m.container,codec:m.codec,supplemental:m.supplemental,levelCodec:m.levelCodec,id:m.id,metadata:m.metadata}}}),this.hls.trigger(s.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(s.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:o}=this;if(!o)throw new Error("createSourceBuffers called when mediaSource was null");for(const w in t){const P=w,z=t[P];if(this.isPending(z)){const H=this.getTrackCodec(z,P),j=`${z.container};codecs=${H}`;z.codec=H,this.log(`creating sourceBuffer(${j})${this.currentOp(P)?" Queued":""} ${Nn(z)}`);try{const se=o.addSourceBuffer(j),ce=oi(P),xe=[P,se];n[ce]=xe,z.buffer=se}catch(se){var m;this.error(`error while trying to add sourceBuffer: ${se.message}`),this.shiftAndExecuteNext(P),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[P],this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:se,sourceBufferName:P,mimeType:j,parent:z.id});return}this.trackSourceBuffer(P,z)}}this.bufferCreated()}getTrackCodec(t,n){const o=t.supplemental;let m=t.codec;o&&(n==="video"||n==="audiovideo")&&ke(o,"video")&&(m=Kr(m,o));const w=Qr(m,t.levelCodec);return w?n.slice(0,5)==="audio"?At(w,this.appendSource):w:""}trackSourceBuffer(t,n){const o=n.buffer;if(!o)return;const m=this.getTrackCodec(n,t);this.tracks[t]={buffer:o,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",(w,P)=>{const z=P.removedRanges;z!=null&&z.length&&this.hls.trigger(s.BUFFER_FLUSHED,{type:w})})}get mediaSrc(){var t,n;const o=((t=this.media)==null||(n=t.querySelector)==null?void 0:n.call(t,"source"))||this.media;return o==null?void 0:o.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 o=this.currentOp(t);o&&(o.onComplete(),this.shiftAndExecuteNext(t))}onSBUpdateError(t,n){var o;const m=new Error(`${t} SourceBuffer error. MediaSource readyState: ${(o=this.mediaSource)==null?void 0:o.readyState}`);this.error(`${m}`,n),this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_APPENDING_ERROR,sourceBufferName:t,error:m,fatal:!1});const w=this.currentOp(t);w&&w.onError(m)}removeExecutor(t,n,o){const{media:m,mediaSource:w}=this,P=this.tracks[t],z=P==null?void 0:P.buffer;if(!m||!w||!z){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const H=r(m.duration)?m.duration:1/0,j=r(w.duration)?w.duration:1/0,se=Math.max(0,n),ce=Math.min(o,H,j);ce>se&&(!P.ending||P.ended)?(P.ended=!1,this.log(`Removing [${se},${ce}] from the ${t} SourceBuffer`),z.remove(se,ce)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const o=this.tracks[n],m=o==null?void 0:o.buffer;if(!m)throw new ul(`Attempting to append to the ${n} SourceBuffer, but it does not exist`);o.ending=!1,o.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:o}=this,m=n.map(P=>this.appendBlocker(P));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(P=>{o===this.operationQueue&&(t(),this.stepOperationQueue(this.sourceBufferTypes))})}stepOperationQueue(t){t.forEach(n=>{var o;const m=(o=this.tracks[n])==null?void 0:o.buffer;!m||m.updating||this.shiftAndExecuteNext(n)})}append(t,n,o){this.operationQueue&&this.operationQueue.append(t,n,o)}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,o){const m=this.tracks[t];if(!m)return;const w=m.buffer;if(!w)return;const P=o.bind(this,t);m.listeners.push({event:n,listener:P}),w.addEventListener(n,P)}removeBufferListeners(t){const n=this.tracks[t];if(!n)return;const o=n.buffer;o&&(n.listeners.forEach(m=>{o.removeEventListener(m.event,m.listener)}),n.listeners.length=0)}}function Tc(I){const t=I.querySelectorAll("source");[].slice.call(t).forEach(n=>{I.removeChild(n)})}function Hc(I,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,I.appendChild(n)}function oi(I){return I==="audio"?1:0}class Pc{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(s.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.BUFFER_CODECS,this.onBufferCodecs,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:t}=this;t.off(s.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.BUFFER_CODECS,this.onBufferCodecs,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(t,n){const o=this.hls.levels[n.droppedLevel];this.isLevelAllowed(o)&&this.restrictedLevels.push({bitrate:o.bitrate,height:o.height,width:o.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 o=this.hls;this.restrictedLevels=[],this.firstLevel=n.firstLevel,o.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,o=this.getMaxLevel(t.length-1);o!==this.autoLevelCapping&&n.logger.log(`Setting autoLevelCapping to ${o}: ${t[o].height}p@${t[o].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),n.autoLevelCapping=o,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 o=n.filter((m,w)=>this.isLevelAllowed(m)&&w<=t);return this.clientRect=null,Pc.getMaxLevelByMediaSize(o,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 o=t.getBoundingClientRect();n.width=o.width,n.height=o.height,!n.width&&!n.height&&(n.width=o.right-o.left||t.width||0,n.height=o.bottom-o.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(o=>t.bitrate===o.bitrate&&t.width===o.width&&t.height===o.height)}static getMaxLevelByMediaSize(t,n,o){if(!(t!=null&&t.length))return-1;const m=(z,H)=>H?z.width!==H.width||z.height!==H.height:!0;let w=t.length-1;const P=Math.max(n,o);for(let z=0;z<t.length;z+=1){const H=t[z];if((H.width>=P||H.height>=P)&&m(H,t[z+1])){w=z;break}}return w}}const $o={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},Ic={HLS:"h"},eo={OBJECT:"CMCD-Object",REQUEST:"CMCD-Request",SESSION:"CMCD-Session",STATUS:"CMCD-Status"},Ho={[eo.OBJECT]:["br","d","ot","tb"],[eo.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[eo.SESSION]:["cid","pr","sf","sid","st","v"],[eo.STATUS]:["bs","rtp"]};class Yu{constructor(t,n){Array.isArray(t)&&(t=t.map(o=>o instanceof Yu?o:new Yu(o))),this.value=t,this.params=n}}const Yl="Dict";function Qo(I){return Array.isArray(I)?JSON.stringify(I):I instanceof Map?"Map{}":I instanceof Set?"Set{}":typeof I=="object"?JSON.stringify(I):String(I)}function Dc(I,t,n,o){return new Error(`failed to ${I} "${Qo(t)}" as ${n}`,{cause:o})}function xu(I,t,n){return Dc("serialize",I,t,n)}class Ru{constructor(t){this.description=t}}const wu="Bare Item",Lu="Boolean";function fc(I){if(typeof I!="boolean")throw xu(I,Lu);return I?"?1":"?0"}const Tl="Byte Sequence";function ka(I){if(ArrayBuffer.isView(I)===!1)throw xu(I,Tl);return`:${Ma(I)}:`}const sf="Integer";function of(I){return I<-999999999999999||999999999999999<I}function Mu(I){if(of(I))throw xu(I,sf);return I.toString()}function Xu(I){return`@${Mu(I.getTime()/1e3)}`}const wf="Decimal";function Oc(I){const t=Fa(I,3);if(Math.floor(Math.abs(t)).toString().length>12)throw xu(I,wf);const n=t.toString();return n.includes(".")?n:`${n}.0`}const uu="String",kc=/[\x00-\x1f\x7f]+/;function dc(I){if(kc.test(I))throw xu(I,uu);return`"${I.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Xl(I){return I.description||I.toString().slice(7,-1)}const Rc="Token";function hc(I){const t=Xl(I);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw xu(t,Rc);return t}function Jo(I){switch(typeof I){case"number":if(!r(I))throw xu(I,wu);return Number.isInteger(I)?Mu(I):Oc(I);case"string":return dc(I);case"symbol":return hc(I);case"boolean":return fc(I);case"object":if(I instanceof Date)return Xu(I);if(I instanceof Uint8Array)return ka(I);if(I instanceof Ru)return hc(I);default:throw xu(I,wu)}}const qu="Key";function Pl(I){if(/^[a-z*][a-z0-9\-_.*]*$/.test(I)===!1)throw xu(I,qu);return I}function pc(I){return I==null?"":Object.entries(I).map(([t,n])=>n===!0?`;${Pl(t)}`:`;${Pl(t)}=${Jo(n)}`).join("")}function _c(I){return I instanceof Yu?`${Jo(I.value)}${pc(I.params)}`:Jo(I)}function Lc(I){return`(${I.value.map(_c).join(" ")})${pc(I.params)}`}function ql(I,t={whitespace:!0}){if(typeof I!="object")throw xu(I,Yl);const n=I instanceof Map?I.entries():Object.entries(I),o=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,w])=>{w instanceof Yu||(w=new Yu(w));let P=Pl(m);return w.value===!0?P+=pc(w.params):(P+="=",Array.isArray(w.value)?P+=Lc(w):P+=_c(w)),P}).join(`,${o}`)}function uf(I,t){return ql(I,t)}function Mc(I){return I==="ot"||I==="sf"||I==="st"}function Gc(I){return typeof I=="number"?r(I):I!=null&&I!==""&&I!==!1}const Fu=I=>Math.round(I),Eu=(I,t)=>(t!=null&&t.baseUrl&&(I=Ga(I,t.baseUrl)),encodeURIComponent(I)),ps=I=>Fu(I/100)*100,Vc={br:Fu,d:Fu,bl:ps,dl:ps,mtp:ps,nor:Eu,rtp:ps,tb:Fu};function lf(I,t){const n={};if(I==null||typeof I!="object")return n;const o=Object.keys(I).sort(),m=y({},Vc,t==null?void 0:t.formatters),w=t==null?void 0:t.filter;return o.forEach(P=>{if(w!=null&&w(P))return;let z=I[P];const H=m[P];H&&(z=H(z,t)),!(P==="v"&&z===1)&&(P=="pr"&&z===1||Gc(z)&&(Mc(P)&&typeof z=="string"&&(z=new Ru(z)),n[P]=z))}),n}function mc(I,t={}){return I?uf(lf(I,t),y({whitespace:!1},t)):""}function so(I,t={}){const n={};if(!I)return n;const o=Object.entries(I),m=Object.entries(Ho).concat(Object.entries((t==null?void 0:t.customHeaderMap)||{})),w=o.reduce((P,z)=>{var H,j;const[se,ce]=z,xe=((H=m.find(Ie=>Ie[1].includes(se)))===null||H===void 0?void 0:H[0])||eo.REQUEST;return(j=P[xe])!==null&&j!==void 0||(P[xe]={}),P[xe][se]=ce,P},{});return Object.entries(w).reduce((P,[z,H])=>(P[z]=mc(H,t),P),n)}function vc(I,t,n){return y(I,so(t,n))}const Lo="CMCD";function Ql(I,t={}){if(!I)return"";const n=mc(I,t);return`${Lo}=${encodeURIComponent(n)}`}const Re=/CMCD=[^&#]+/;function Il(I,t,n){const o=Ql(t,n);if(!o)return I;if(Re.test(I))return I.replace(Re,o);const m=I.includes("?")?"&":"?";return`${I}${m}${o}`}class go{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:$o.MANIFEST,su:!this.initialized})}catch(w){this.hls.logger.warn("Could not generate manifest CMCD data.",w)}},this.applyFragmentData=m=>{try{const{frag:w,part:P}=m,z=this.hls.levels[w.level],H=this.getObjectType(w),j={d:(P||w).duration*1e3,ot:H};(H===$o.VIDEO||H===$o.AUDIO||H==$o.MUXED)&&(j.br=z.bitrate/1e3,j.tb=this.getTopBandwidth(H)/1e3,j.bl=this.getBufferLength(H));const se=P?this.getNextPart(P):this.getNextFrag(w);se!=null&&se.url&&se.url!==w.url&&(j.nor=se.url),this.apply(m,j)}catch(w){this.hls.logger.warn("Could not generate segment CMCD data.",w)}},this.hls=t;const n=this.config=t.config,{cmcd:o}=n;o!=null&&(n.pLoader=this.createPlaylistLoader(),n.fLoader=this.createFragmentLoader(),this.sid=o.sessionId||t.sessionId,this.cid=o.contentId,this.useHeaders=o.useHeaders===!0,this.includeKeys=o.includeKeys,this.registerListeners())}registerListeners(){const t=this.hls;t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHED,this.onMediaDetached,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const t=this.hls;t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHED,this.onMediaDetached,this),t.off(s.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 o,m;this.audioBuffer=(o=n.tracks.audio)==null?void 0:o.buffer,this.videoBuffer=(m=n.tracks.video)==null?void 0:m.buffer}createData(){var t;return{v:1,sf:Ic.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 o=n.ot===$o.INIT||n.ot===$o.VIDEO||n.ot===$o.MUXED;this.starved&&o&&(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((P,z)=>(m.includes(z)&&(P[z]=n[z]),P),{}));const w={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),vc(t.headers,n,w)):t.url=Il(t.url,n,w)}getNextFrag(t){var n;const o=(n=this.hls.levels[t.level])==null?void 0:n.details;if(o){const m=t.sn-o.startSN;return o.fragments[m+1]}}getNextPart(t){var n,o;const{index:m,fragment:w}=t,P=(n=this.hls.levels[w.level])==null||(o=n.details)==null?void 0:o.partList;if(P){const{sn:z}=w;for(let H=P.length-1;H>=0;H--){const j=P[H];if(j.index===m&&j.fragment.sn===z)return P[H+1]}}}getObjectType(t){const{type:n}=t;if(n==="subtitle")return $o.TIMED_TEXT;if(t.sn==="initSegment")return $o.INIT;if(n==="audio")return $o.AUDIO;if(n==="main")return this.hls.audioTracks.length?$o.VIDEO:$o.MUXED}getTopBandwidth(t){let n=0,o;const m=this.hls;if(t===$o.AUDIO)o=m.audioTracks;else{const w=m.maxAutoLevel,P=w>-1?w+1:m.levels.length;o=m.levels.slice(0,P)}for(const w of o)w.bitrate>n&&(n=w.bitrate);return n>0?n:NaN}getBufferLength(t){const n=this.media,o=t===$o.AUDIO?this.audioBuffer:this.videoBuffer;return!o||!n?NaN:Ci.bufferInfo(o,n.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:t}=this.config,n=this.applyPlaylistData,o=t||this.config.loader;return class{constructor(w){this.loader=void 0,this.loader=new o(w)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(w,P,z){n(w),this.loader.load(w,P,z)}}}createFragmentLoader(){const{fLoader:t}=this.config,n=this.applyFragmentData,o=t||this.config.loader;return class{constructor(w){this.loader=void 0,this.loader=new o(w)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(w,P,z){n(w),this.loader.load(w,P,z)}}}}const Jl=3e5;class jo extends L{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(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const t=this.hls;t&&(t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.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(o=>o!==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:o}=n;o!==null&&(this.pathwayId=o.pathwayId,this.uri=o.uri,this.started&&this.startLoad())}onManifestParsed(t,n){this.audioTracks=n.audioTracks,this.subtitleTracks=n.subtitleTracks}onError(t,n){const{errorAction:o}=n;if((o==null?void 0:o.action)===we.SendAlternateToPenaltyBox&&o.flags===it.MoveAllAlternatesMatchingHost){const m=this.levels;let w=this._pathwayPriority,P=this.pathwayId;if(n.context){const{groupId:z,pathwayId:H,type:j}=n.context;z&&m?P=this.getPathwayForGroupId(z,j,P):H&&(P=H)}P in this.penalizedPathways||(this.penalizedPathways[P]=performance.now()),!w&&m&&(w=this.pathways()),w&&w.length>1&&(this.updatePathwayPriority(w),o.resolved=this.pathwayId!==P),o.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${P} levels: ${m&&m.length} priorities: ${Nn(w)} penalized: ${Nn(this.penalizedPathways)}`)}}filterParsedLevels(t){this.levels=t;let n=this.getLevelsForPathway(this.pathwayId);if(n.length===0){const o=t[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${o}"`),n=this.getLevelsForPathway(o),this.pathwayId=o}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 o=this.penalizedPathways,m=performance.now();Object.keys(o).forEach(w=>{m-o[w]>Jl&&delete o[w]});for(let w=0;w<t.length;w++){const P=t[w];if(P in o)continue;if(P===this.pathwayId)return;const z=this.hls.nextLoadLevel,H=this.hls.levels[z];if(n=this.getLevelsForPathway(P),n.length>0){this.log(`Setting Pathway to "${P}"`),this.pathwayId=P,jn(n),this.hls.trigger(s.LEVELS_UPDATED,{levels:n});const j=this.hls.levels[z];H&&j&&this.levels&&(j.attrs["STABLE-VARIANT-ID"]!==H.attrs["STABLE-VARIANT-ID"]&&j.bitrate!==H.bitrate&&this.log(`Unstable Pathways change from bitrate ${H.bitrate} to ${j.bitrate}`),this.hls.nextLoadLevel=z);break}}}getPathwayForGroupId(t,n,o){const m=this.getLevelsForPathway(o).concat(this.levels||[]);for(let w=0;w<m.length;w++)if(n===h.AUDIO_TRACK&&m[w].hasAudioGroup(t)||n===h.SUBTITLE_TRACK&&m[w].hasSubtitleGroup(t))return m[w].pathwayId;return o}clonePathways(t){const n=this.levels;if(!n)return;const o={},m={};t.forEach(w=>{const{ID:P,"BASE-ID":z,"URI-REPLACEMENT":H}=w;if(n.some(se=>se.pathwayId===P))return;const j=this.getLevelsForPathway(z).map(se=>{const ce=new Hi(se.attrs);ce["PATHWAY-ID"]=P;const xe=ce.AUDIO&&`${ce.AUDIO}_clone_${P}`,Ie=ce.SUBTITLES&&`${ce.SUBTITLES}_clone_${P}`;xe&&(o[ce.AUDIO]=xe,ce.AUDIO=xe),Ie&&(m[ce.SUBTITLES]=Ie,ce.SUBTITLES=Ie);const Oe=ll(se.uri,ce["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",H),tt=new mr({attrs:ce,audioCodec:se.audioCodec,bitrate:se.bitrate,height:se.height,name:se.name,url:Oe,videoCodec:se.videoCodec,width:se.width});if(se.audioGroups)for(let at=1;at<se.audioGroups.length;at++)tt.addGroupId("audio",`${se.audioGroups[at]}_clone_${P}`);if(se.subtitleGroups)for(let at=1;at<se.subtitleGroups.length;at++)tt.addGroupId("text",`${se.subtitleGroups[at]}_clone_${P}`);return tt});n.push(...j),_u(this.audioTracks,o,H,P),_u(this.subtitleTracks,m,H,P)})}loadSteeringManifest(t){const n=this.hls.config,o=n.loader;this.loader&&this.loader.destroy(),this.loader=new o(n);let m;try{m=new self.URL(t)}catch(se){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const se=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+se)}const w={responseType:"json",url:m.href},P=n.steeringManifestLoadPolicy.default,z=P.errorRetry||P.timeoutRetry||{},H={loadPolicy:P,timeout:P.maxLoadTimeMs,maxRetry:z.maxNumRetry||0,retryDelay:z.retryDelayMs||0,maxRetryDelay:z.maxRetryDelayMs||0},j={onSuccess:(se,ce,xe,Ie)=>{this.log(`Loaded steering manifest: "${m}"`);const Oe=se.data;if((Oe==null?void 0:Oe.VERSION)!==1){this.log(`Steering VERSION ${Oe.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Oe.TTL;const{"RELOAD-URI":tt,"PATHWAY-CLONES":at,"PATHWAY-PRIORITY":Nt}=Oe;if(tt)try{this.uri=new self.URL(tt,m).href}catch(ar){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${tt}`);return}this.scheduleRefresh(this.uri||xe.url),at&&this.clonePathways(at);const dr={steeringManifest:Oe,url:m.toString()};this.hls.trigger(s.STEERING_MANIFEST_LOADED,dr),Nt&&this.updatePathwayPriority(Nt)},onError:(se,ce,xe,Ie)=>{if(this.log(`Error loading steering manifest: ${se.code} ${se.text} (${ce.url})`),this.stopLoad(),se.code===410){this.enabled=!1,this.log(`Steering manifest ${ce.url} no longer available`);return}let Oe=this.timeToLoad*1e3;if(se.code===429){const tt=this.loader;if(typeof(tt==null?void 0:tt.getResponseHeader)=="function"){const at=tt.getResponseHeader("Retry-After");at&&(Oe=parseFloat(at)*1e3)}this.log(`Steering manifest ${ce.url} rate limited`);return}this.scheduleRefresh(this.uri||ce.url,Oe)},onTimeout:(se,ce,xe)=>{this.log(`Timeout loading steering manifest (${ce.url})`),this.scheduleRefresh(this.uri||ce.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(w,H,j)}scheduleRefresh(t,n=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var o;const m=(o=this.hls)==null?void 0:o.media;if(m&&!m.ended){this.loadSteeringManifest(t);return}this.scheduleRefresh(t,this.timeToLoad*1e3)},n)}}function _u(I,t,n,o){I&&Object.keys(t).forEach(m=>{const w=I.filter(P=>P.groupId===m).map(P=>{const z=y({},P);return z.details=void 0,z.attrs=new Hi(z.attrs),z.url=z.attrs.URI=ll(P.url,P.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),z.groupId=z.attrs["GROUP-ID"]=t[m],z.attrs["PATHWAY-ID"]=o,z});I.push(...w)})}function ll(I,t,n,o){const{HOST:m,PARAMS:w,[n]:P}=o;let z;t&&(z=P==null?void 0:P[t],z&&(I=z));const H=new self.URL(I);return m&&!z&&(H.host=m),w&&Object.keys(w).sort().forEach(j=>{j&&H.searchParams.set(j,w[j])}),H.href}class Su extends L{constructor(t){super("eme",t.logger),this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=Su.CDMCleanupPromise?[Su.CDMCleanupPromise]:[],this.onMediaEncrypted=n=>{const{initDataType:o,initData:m}=n,w=`"${n.type}" event: init data type: "${o}"`;if(this.debug(w),m!==null){if(!this.keyFormatPromise){let P=Object.keys(this.keySystemAccessPromises);P.length||(P=ai(this.config));const z=P.map(li).filter(H=>!!H);this.keyFormatPromise=this.getKeyFormatPromise(z)}this.keyFormatPromise.then(P=>{const z=So(P);let H,j;if(o==="sinf"){if(z!==ca.FAIRPLAY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${o}" for selected key-system ${z}`);return}const Oe=Qt(new Uint8Array(m));try{const tt=cs(JSON.parse(Oe).sinf),at=nt(tt);if(!at)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");H=new Uint8Array(at.subarray(8,24)),j=ca.FAIRPLAY}catch(tt){this.warn(`${w} Failed to parse sinf: ${tt}`);return}}else{if(z!==ca.WIDEVINE&&z!==ca.PLAYREADY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${o}" for selected key-system ${z}`);return}const Oe=Ot(m),tt=Oe.filter(Nt=>!!Nt.systemId&&Io(Nt.systemId)===z);tt.length>1&&this.warn(`${w} Using first of ${tt.length} pssh found for selected key-system ${z}`);const at=tt[0];if(!at){Oe.length===0||Oe.some(Nt=>!Nt.systemId)?this.warn(`${w} contains incomplete or invalid pssh data`):this.log(`ignoring ${w} for ${Oe.map(Nt=>Io(Nt.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(j=Io(at.systemId),at.version===0&&at.data)if(j===ca.WIDEVINE){const Nt=at.data.length-22;H=new Uint8Array(at.data.subarray(Nt,Nt+16))}else j===ca.PLAYREADY&&(H=Do(at.data))}if(!j||!H)return;const se=J.hexDump(H),{keyIdToKeySessionPromise:ce,mediaKeySessions:xe}=this;let Ie=ce[se];for(let Oe=0;Oe<xe.length;Oe++){const tt=xe[Oe],at=tt.decryptdata;if(!at.keyId)continue;const Nt=J.hexDump(at.keyId);if(se===Nt||at.uri.replace(/-/g,"").indexOf(se)!==-1){if(Ie=ce[Nt],at.pssh)break;delete ce[Nt],at.pssh=new Uint8Array(m),at.keyId=H,Ie=ce[se]=Ie.then(()=>this.generateRequestWithPreferredKeySession(tt,o,m,"encrypted-event-key-match")),Ie.catch(dr=>this.handleError(dr));break}}if(!Ie){if(j!==z){this.log(`Ignoring "${n.type}" event with ${j} init data for selected key-system ${z}`);return}Ie=ce[se]=this.getKeySystemSelectionPromise([j]).then(({keySystem:Oe,mediaKeys:tt})=>{var at;this.throwIfDestroyed();const Nt=new Ja("ISO-23001-7",se,(at=li(Oe))!=null?at:"");return Nt.pssh=new Uint8Array(m),Nt.keyId=H,this.attemptSetMediaKeys(Oe,tt).then(()=>{this.throwIfDestroyed();const dr=this.createMediaKeySessionContext({decryptdata:Nt,keySystem:Oe,mediaKeys:tt});return this.generateRequestWithPreferredKeySession(dr,o,m,"encrypted-event-no-match")})}),Ie.catch(Oe=>this.handleError(Oe))}})}},this.onWaitingForKey=n=>{this.log(`"${n.type}" event`)},this.hls=t,this.config=t.config,this.registerListeners()}destroy(){const t=this.media;this.unregisterListeners(),this.onMediaDetached(),this._clear(t);const n=this.config;n.requestMediaKeySystemAccessFunc=null,n.licenseXhrSetup=n.licenseResponseCallback=void 0,n.drmSystems=n.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(s.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(s.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(s.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(s.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(s.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(s.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(t){const{drmSystems:n,widevineLicenseUrl:o}=this.config,m=n[t];if(m)return m.licenseUrl;if(t===ca.WIDEVINE&&o)return o}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,o=n[t];if(o)return o.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${t}"]`)}attemptKeySystemAccess(t){const n=this.hls.levels,o=(P,z,H)=>!!P&&H.indexOf(P)===z,m=n.map(P=>P.audioCodec).filter(o),w=n.map(P=>P.videoCodec).filter(o);return m.length+w.length===0&&w.push("avc1.42e01e"),new Promise((P,z)=>{const H=j=>{const se=j.shift();this.getMediaKeysPromise(se,m,w).then(ce=>P({keySystem:se,mediaKeys:ce})).catch(ce=>{j.length?H(j):ce instanceof yo?z(ce):z(new yo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:ce,fatal:!0},ce.message))})};H(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:o}=this.config;if(typeof o!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${o}`;return Wa===null&&self.location.protocol==="http:"&&(m=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(m))}return o(t,n)}getMediaKeysPromise(t,n,o){const m=ts(t,n,o,this.config.drmSystemOptions),w=this.keySystemAccessPromises[t];let P=w==null?void 0:w.keySystemAccess;if(!P){this.log(`Requesting encrypted media "${t}" key-system access with config: ${Nn(m)}`),P=this.requestMediaKeySystemAccess(t,m);const z=this.keySystemAccessPromises[t]={keySystemAccess:P};return P.catch(H=>{this.log(`Failed to obtain access to key-system "${t}": ${H}`)}),P.then(H=>{this.log(`Access for key-system "${H.keySystem}" obtained`);const j=this.fetchServerCertificate(t);return this.log(`Create media-keys for "${t}"`),z.mediaKeys=H.createMediaKeys().then(se=>(this.log(`Media-keys created for "${t}"`),j.then(ce=>ce?this.setMediaKeysServerCertificate(se,t,ce):se))),z.mediaKeys.catch(se=>{this.error(`Failed to create media-keys for "${t}"}: ${se}`)}),z.mediaKeys})}return P.then(()=>w.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:o}){this.log(`Creating key-system session "${n}" keyId: ${J.hexDump(t.keyId||[])}`);const m=o.createSession(),w={decryptdata:t,keySystem:n,mediaKeys:o,mediaKeysSession:m,keyStatus:"status-pending"};return this.mediaKeySessions.push(w),w}renewKeySession(t){const n=t.decryptdata;if(n.pssh){const o=this.createMediaKeySessionContext(t),m=this.getKeyIdString(n),w="cenc";this.keyIdToKeySessionPromise[m]=this.generateRequestWithPreferredKeySession(o,w,n.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(t)}getKeyIdString(t){if(!t)throw new Error("Could not read keyId of undefined decryptdata");if(t.keyId===null)throw new Error("keyId is null");return J.hexDump(t.keyId)}updateKeySession(t,n){var o;const m=t.mediaKeysSession;return this.log(`Updating key-session "${m.sessionId}" for keyID ${J.hexDump(((o=t.decryptdata)==null?void 0:o.keyId)||[])}
|
|
|
} (data length: ${n&&n.byteLength})`),m.update(n)}selectKeySystemFormat(t){const n=Object.keys(t.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${t.sn} ${t.type}: ${t.level}) key formats ${n.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(n)),this.keyFormatPromise}getKeyFormatPromise(t){return new Promise((n,o)=>{const m=ai(this.config),w=t.map(So).filter(P=>!!P&&m.indexOf(P)!==-1);return this.getKeySystemSelectionPromise(w).then(({keySystem:P})=>{const z=li(P);z?n(z):o(new Error(`Unable to find format for key-system "${P}"`))}).catch(o)})}loadKey(t){const n=t.keyInfo.decryptdata,o=this.getKeyIdString(n),m=`(keyId: ${o} format: "${n.keyFormat}" method: ${n.method} uri: ${n.uri})`;this.log(`Starting session for key ${m}`);let w=this.keyIdToKeySessionPromise[o];return w||(w=this.getKeySystemForKeyPromise(n).then(({keySystem:z,mediaKeys:H})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${m}`),this.attemptSetMediaKeys(z,H).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:z,mediaKeys:H,decryptdata:n}))))),(this.keyIdToKeySessionPromise[o]=w.then(z=>{const H="cenc",j=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(z,H,j,"playlist-key")})).catch(z=>this.handleError(z))),w}throwIfDestroyed(t="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(t){this.hls&&(this.error(t.message),t instanceof yo?this.hls.trigger(s.ERROR,t.data):this.hls.trigger(s.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,error:t,fatal:!0}))}getKeySystemForKeyPromise(t){const n=this.getKeyIdString(t),o=this.keyIdToKeySessionPromise[n];if(!o){const m=So(t.keyFormat),w=m?[m]:ai(this.config);return this.attemptKeySystemAccess(w)}return o}getKeySystemSelectionPromise(t){if(t.length||(t=ai(this.config)),t.length===0)throw new yo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${Nn({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(t)}attemptSetMediaKeys(t,n){const o=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${t}"`);const m=Promise.all(o).then(()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(n)});return this.setMediaKeysQueue.push(m),m.then(()=>{this.log(`Media-keys set for "${t}"`),o.push(m),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(w=>o.indexOf(w)===-1)})}generateRequestWithPreferredKeySession(t,n,o,m){var w,P;const z=(w=this.config.drmSystems)==null||(P=w[t.keySystem])==null?void 0:P.generateRequest;if(z)try{const Oe=z.call(this.hls,n,o,t);if(!Oe)throw new Error("Invalid response from configured generateRequest filter");n=Oe.initDataType,o=Oe.initData?Oe.initData:null,t.decryptdata.pssh=o?new Uint8Array(o):null}catch(Oe){var H;if(this.warn(Oe.message),(H=this.hls)!=null&&H.config.debug)throw Oe}if(o===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const j=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${m}": ${j} (init data type: ${n} length: ${o?o.byteLength:null})`);const se=new Bs,ce=t._onmessage=Oe=>{const tt=t.mediaKeysSession;if(!tt){se.emit("error",new Error("invalid state"));return}const{messageType:at,message:Nt}=Oe;this.log(`"${at}" message event for session "${tt.sessionId}" message size: ${Nt.byteLength}`),at==="license-request"||at==="license-renewal"?this.renewLicense(t,Nt).catch(dr=>{se.eventNames().length?se.emit("error",dr):this.handleError(dr)}):at==="license-release"?t.keySystem===ca.FAIRPLAY&&(this.updateKeySession(t,zs("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${at}"`)},xe=t._onkeystatuseschange=Oe=>{if(!t.mediaKeysSession){se.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const at=t.keyStatus;se.emit("keyStatus",at),at==="expired"&&(this.warn(`${t.keySystem} expired for key ${j}`),this.renewKeySession(t))};t.mediaKeysSession.addEventListener("message",ce),t.mediaKeysSession.addEventListener("keystatuseschange",xe);const Ie=new Promise((Oe,tt)=>{se.on("error",tt),se.on("keyStatus",at=>{at.startsWith("usable")?Oe():at==="output-restricted"?tt(new yo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):at==="internal-error"?tt(new yo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${at}"`)):at==="expired"?tt(new Error("key expired while generating request")):this.warn(`unhandled key status change "${at}"`)})});return t.mediaKeysSession.generateRequest(n,o).then(()=>{var Oe;this.log(`Request generated for key-session "${(Oe=t.mediaKeysSession)==null?void 0:Oe.sessionId}" keyId: ${j}`)}).catch(Oe=>{throw new yo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Oe,fatal:!1},`Error generating key-session request: ${Oe}`)}).then(()=>Ie).catch(Oe=>{throw se.removeAllListeners(),this.removeSession(t),Oe}).then(()=>(se.removeAllListeners(),t))}onKeyStatusChange(t){t.mediaKeysSession.keyStatuses.forEach((n,o)=>{if(typeof o=="string"&&typeof n=="object"){const m=o;o=n,n=m}this.log(`key status change "${n}" for keyStatuses keyId: ${J.hexDump("buffer"in o?new Uint8Array(o.buffer,o.byteOffset,o.byteLength):new Uint8Array(o))} session keyId: ${J.hexDump(new Uint8Array(t.decryptdata.keyId||[]))} uri: ${t.decryptdata.uri}`),t.keyStatus=n})}fetchServerCertificate(t){const n=this.config,o=n.loader,m=new o(n),w=this.getServerCertificateUrl(t);return w?(this.log(`Fetching server certificate for "${t}"`),new Promise((P,z)=>{const H={responseType:"arraybuffer",url:w},j=n.certLoadPolicy.default,se={loadPolicy:j,timeout:j.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Oe,tt)=>{P(xe.data)},onError:(xe,Ie,Oe,tt)=>{z(new yo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Oe,response:b({url:H.url,data:void 0},xe)},`"${t}" certificate request failed (${w}). Status: ${xe.code} (${xe.text})`))},onTimeout:(xe,Ie,Oe)=>{z(new yo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Oe,response:{url:H.url,data:void 0}},`"${t}" certificate request timed out (${w})`))},onAbort:(xe,Ie,Oe)=>{z(new Error("aborted"))}};m.load(H,se,ce)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,o){return new Promise((m,w)=>{t.setServerCertificate(o).then(P=>{this.log(`setServerCertificate ${P?"success":"not supported by CDM"} (${o==null?void 0:o.byteLength}) on "${n}"`),m(t)}).catch(P=>{w(new yo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:P,fatal:!0},P.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(o=>this.updateKeySession(t,new Uint8Array(o)).catch(m=>{throw new yo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:m,fatal:!0},m.message)}))}unpackPlayReadyKeyMessage(t,n){const o=String.fromCharCode.apply(null,new Uint16Array(n.buffer));if(!o.includes("PlayReadyKeyMessage"))return t.setRequestHeader("Content-Type","text/xml; charset=utf-8"),n;const m=new DOMParser().parseFromString(o,"application/xml"),w=m.querySelectorAll("HttpHeader");if(w.length>0){let se;for(let ce=0,xe=w.length;ce<xe;ce++){var P,z;se=w[ce];const Ie=(P=se.querySelector("name"))==null?void 0:P.textContent,Oe=(z=se.querySelector("value"))==null?void 0:z.textContent;Ie&&Oe&&t.setRequestHeader(Ie,Oe)}}const H=m.querySelector("Challenge"),j=H==null?void 0:H.textContent;if(!j)throw new Error("Cannot find <Challenge> in key message");return zs(atob(j))}setupLicenseXHR(t,n,o,m){const w=this.config.licenseXhrSetup;return w?Promise.resolve().then(()=>{if(!o.decryptdata)throw new Error("Key removed");return w.call(this.hls,t,n,o,m)}).catch(P=>{if(!o.decryptdata)throw P;return t.open("POST",n,!0),w.call(this.hls,t,n,o,m)}).then(P=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:P||m})):(t.open("POST",n,!0),Promise.resolve({xhr:t,licenseChallenge:m}))}requestLicense(t,n){const o=this.config.keyLoadPolicy.default;return new Promise((m,w)=>{const P=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${P}`);const z=new XMLHttpRequest;z.responseType="arraybuffer",z.onreadystatechange=()=>{if(!this.hls||!t.mediaKeysSession)return w(new Error("invalid state"));if(z.readyState===4)if(z.status===200){this._requestLicenseFailureCount=0;let H=z.response;this.log(`License received ${H instanceof ArrayBuffer?H.byteLength:H}`);const j=this.config.licenseResponseCallback;if(j)try{H=j.call(this.hls,z,P,t)}catch(se){this.error(se)}m(H)}else{const H=o.errorRetry,j=H?H.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>j||z.status>=400&&z.status<500)w(new yo({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:z,response:{url:P,data:void 0,code:z.status,text:z.statusText}},`License Request XHR failed (${P}). Status: ${z.status} (${z.statusText})`));else{const se=j-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${se} attempts left`),this.requestLicense(t,n).then(m,w)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=z,this.setupLicenseXHR(z,P,t,n).then(({xhr:H,licenseChallenge:j})=>{t.keySystem==ca.PLAYREADY&&(j=this.unpackPlayReadyKeyMessage(H,j)),H.send(j)})})}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const o=n.media;this.media=o,o.removeEventListener("encrypted",this.onMediaEncrypted),o.removeEventListener("waitingforkey",this.onWaitingForKey),o.addEventListener("encrypted",this.onMediaEncrypted),o.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const t=this.media;t&&(t.removeEventListener("encrypted",this.onMediaEncrypted),t.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null)}_clear(t){var n;const o=this.mediaKeySessions;this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Ja.clearKeyUriToKeyIdMap();const m=o.length;Su.CDMCleanupPromise=Promise.all(o.map(w=>this.removeSession(w)).concat(t==null||(n=t.setMediaKeys(null))==null?void 0:n.catch(w=>{var P;this.log(`Could not clear media keys: ${w}`),(P=this.hls)==null||P.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${w}`)})}))).then(()=>{m&&(this.log("finished closing key sessions and clearing media keys"),o.length=0)}).catch(w=>{var P;this.log(`Could not close sessions and clear media keys: ${w}`),(P=this.hls)==null||P.trigger(s.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: ${w}`)})})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(t,{sessionKeys:n}){if(!(!n||!this.config.emeEnabled)&&!this.keyFormatPromise){const o=n.reduce((m,w)=>(m.indexOf(w.keyFormat)===-1&&m.push(w.keyFormat),m),[]);this.log(`Selecting key-system from session-keys ${o.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(o)}}removeSession(t){const{mediaKeysSession:n,licenseXhr:o}=t;if(n){this.log(`Remove licenses and keys and close session ${n.sessionId}`),t._onmessage&&(n.removeEventListener("message",t._onmessage),t._onmessage=void 0),t._onkeystatuseschange&&(n.removeEventListener("keystatuseschange",t._onkeystatuseschange),t._onkeystatuseschange=void 0),o&&o.readyState!==XMLHttpRequest.DONE&&o.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;const m=this.mediaKeySessions.indexOf(t);m>-1&&this.mediaKeySessions.splice(m,1);const{drmSystemOptions:w}=this.config;return(Ao(w)?new Promise((z,H)=>{self.setTimeout(()=>H(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(z)}):Promise.resolve()).catch(z=>{var H;this.log(`Could not remove session: ${z}`),(H=this.hls)==null||H.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${z}`)})}).then(()=>n.close()).catch(z=>{var H;this.log(`Could not close session: ${z}`),(H=this.hls)==null||H.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${z}`)})})}}}Su.CDMCleanupPromise=void 0;class yo extends Error{constructor(t,n){super(n),this.data=void 0,t.error||(t.error=new Error(n)),this.data=t,t.err=t.error}}class cl{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(s.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(s.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(s.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(t,n){const o=this.hls.config;if(o.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),o.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(t,n,o){const m=performance.now();if(n){if(this.lastTime){const w=m-this.lastTime,P=o-this.lastDroppedFrames,z=n-this.lastDecodedFrames,H=1e3*P/w,j=this.hls;if(j.trigger(s.FPS_DROP,{currentDropped:P,currentDecoded:z,totalDroppedFrames:o}),H>0&&P>j.config.fpsDroppedMonitoringThreshold*z){let se=j.currentLevel;j.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+se),se>0&&(j.autoLevelCapping===-1||j.autoLevelCapping>=se)&&(se=se-1,j.trigger(s.FPS_DROP_LEVEL_CAPPING,{level:se,droppedLevel:j.currentLevel}),j.autoLevelCapping=se,this.streamController.nextLevelSwitch())}}this.lastTime=m,this.lastDroppedFrames=o,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 Mo(I,t){let n;try{n=new Event("addtrack")}catch(o){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=I,t.dispatchEvent(n)}function gc(I,t){const n=I.mode;if(n==="disabled"&&(I.mode="hidden"),I.cues&&!I.cues.getCueById(t.id))try{if(I.addCue(t),!I.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(o){G.debug(`[texttrack-utils]: ${o}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,I.addCue(m)}catch(m){G.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(I.mode=n)}function fl(I,t){const n=I.mode;if(n==="disabled"&&(I.mode="hidden"),I.cues)for(let o=I.cues.length;o--;)t&&I.cues[o].removeEventListener("enter",t),I.removeCue(I.cues[o]);n==="disabled"&&(I.mode=n)}function Dl(I,t,n,o){const m=I.mode;if(m==="disabled"&&(I.mode="hidden"),I.cues&&I.cues.length>0){const w=Bu(I.cues,t,n);for(let P=0;P<w.length;P++)(!o||o(w[P]))&&I.removeCue(w[P])}m==="disabled"&&(I.mode=m)}function dl(I,t){if(t<=I[0].startTime)return 0;const n=I.length-1;if(t>I[n].endTime)return-1;let o=0,m=n,w;for(;o<=m;)if(w=Math.floor((m+o)/2),t<I[w].startTime)m=w-1;else if(t>I[w].startTime&&o<n)o=w+1;else return w;return I[o].startTime-t<t-I[m].startTime?o:m}function Bu(I,t,n){const o=[],m=dl(I,t);if(m>-1)for(let w=m,P=I.length;w<P;w++){const z=I[w];if(z.startTime>=t&&z.endTime<=n)o.push(z);else if(z.startTime>n)return o}return o}function yc(I){const t=[];for(let n=0;n<I.length;n++){const o=I[n];(o.kind==="subtitles"||o.kind==="captions")&&o.label&&t.push(I[n])}return t}class Kc extends yu{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 o=yc(this.media.textTracks);for(let w=0;w<o.length;w++)if(o[w].mode==="hidden")n=o[w];else if(o[w].mode==="showing"){n=o[w];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(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(s.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(s.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 o=this.media;if(!o)return;const m=!!n.transferMedia;if(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||o.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,m)return;yc(o.textTracks).forEach(P=>{fl(P)})}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:o,groupId:m,details:w}=n,P=this.tracksInGroup[o];if(!P||P.groupId!==m){this.warn(`Subtitle track with id:${o} and group:${m} not found in active group ${P==null?void 0:P.groupId}`);return}const z=P.details;P.details=n.details,this.log(`Subtitle track ${o} "${P.name}" lang:${P.lang} group:${m} loaded [${w.startSN}-${w.endSN}]`),o===this.trackId&&this.playlistLoaded(o,n,z)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const o=n.subtitleGroups||null,m=this.groupIds;let w=this.currentTrack;if(!o||(m==null?void 0:m.length)!==(o==null?void 0:o.length)||o!=null&&o.some(P=>(m==null?void 0:m.indexOf(P))===-1)){this.groupIds=o,this.trackId=-1,this.currentTrack=null;const P=this.tracks.filter(se=>!o||o.indexOf(se.groupId)!==-1);if(P.length)this.selectDefaultTrack&&!P.some(se=>se.default)&&(this.selectDefaultTrack=!1),P.forEach((se,ce)=>{se.id=ce});else if(!w&&!this.tracksInGroup.length)return;this.tracksInGroup=P;const z=this.hls.config.subtitlePreference;if(!w&&z){this.selectDefaultTrack=!1;const se=Yi(z,P);if(se>-1)w=P[se];else{const ce=Yi(z,this.tracks);w=this.tracks[ce]}}let H=this.findTrackId(w);H===-1&&w&&(H=this.findTrackId(null));const j={subtitleTracks:P};this.log(`Updating subtitle tracks, ${P.length} track(s) found in "${o==null?void 0:o.join(",")}" group-id`),this.hls.trigger(s.SUBTITLE_TRACKS_UPDATED,j),H!==-1&&this.trackId===-1&&this.setSubtitleTrack(H)}}findTrackId(t){const n=this.tracksInGroup,o=this.selectDefaultTrack;for(let m=0;m<n.length;m++){const w=n[m];if(!(o&&!w.default||!o&&!t)&&(!t||Yn(w,t)))return m}if(t){for(let m=0;m<n.length;m++){const w=n[m];if(Ku(t.attrs,w.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const w=n[m];if(Ku(t.attrs,w.attrs,["LANGUAGE"]))return m}}return-1}findTrackForTextTrack(t){if(t){const n=this.tracksInGroup;for(let o=0;o<n.length;o++){const m=n[o];if(ol(m,t))return o}}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 o=this.currentTrack;if(o&&Yn(t,o))return o;const m=Yi(t,this.tracksInGroup);if(m>-1){const w=this.tracksInGroup[m];return this.setSubtitleTrack(m),w}else{if(o)return null;{const w=Yi(t,n);if(w>-1)return n[w]}}}}return null}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=t.id,m=t.groupId,w=this.getUrlWithDirectives(t.url,n),P=t.details,z=P==null?void 0:P.age;this.log(`Loading subtitle ${o} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${z&&P.live?" age "+z.toFixed(1)+(P.type?" "+P.type||0:""):""} ${w}`),this.hls.trigger(s.SUBTITLE_TRACK_LOADING,{url:w,id:o,groupId:m,deliveryDirectives:n||null,track:t})}toggleTrackModes(){const{media:t}=this;if(!t)return;const n=yc(t.textTracks),o=this.currentTrack;let m;if(o&&(m=n.filter(w=>ol(o,w))[0],m||this.warn(`Unable to find subtitle TextTrack with name "${o.name}" and language "${o.lang}"`)),[].slice.call(n).forEach(w=>{w.mode!=="disabled"&&w!==m&&(w.mode="disabled")}),m){const w=this.subtitleDisplay?"showing":"hidden";m.mode!==w&&(m.mode=w)}}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 o=this.currentTrack,m=n[t]||null;if(this.trackId=t,this.currentTrack=m,this.toggleTrackModes(),!m){this.hls.trigger(s.SUBTITLE_TRACK_SWITCH,{id:t});return}const w=!!m.details&&!m.details.live;if(t===this.trackId&&m===o&&w)return;this.log(`Switching to subtitle-track ${t}`+(m?` "${m.name}" lang:${m.lang} group:${m.groupId}`:""));const{id:P,groupId:z="",name:H,type:j,url:se}=m;this.hls.trigger(s.SUBTITLE_TRACK_SWITCH,{id:P,groupId:z,name:H,type:j,url:se});const ce=this.switchParams(m.url,o==null?void 0:o.details,m.details);this.loadPlaylist(ce)}}function Qu(I){let t=5381,n=I.length;for(;n;)t=t*33^I.charCodeAt(--n);return(t>>>0).toString()}const mu=.025;let ec=function(I){return I[I.Point=0]="Point",I[I.Range=1]="Range",I}({});function Ol(I,t,n){return`${I.identifier}-${n+1}-${Qu(t)}`}class eu{constructor(t,n){this.base=void 0,this._duration=null,this._timelineStart=null,this.appendInPlaceDisabled=void 0,this.appendInPlaceStarted=void 0,this.dateRange=void 0,this.hasPlayed=!1,this.cumulativeDuration=0,this.resumeOffset=NaN,this.playoutLimit=NaN,this.restrictions={skip:!1,jump:!1},this.snapOptions={out:!1,in:!1},this.assetList=[],this.assetListLoader=void 0,this.assetListResponse=null,this.resumeAnchor=void 0,this.error=void 0,this.resetOnResume=void 0,this.base=n,this.dateRange=t,this.setDateRange(t)}setDateRange(t){this.dateRange=t,this.resumeOffset=t.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=t.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=t.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=t.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var t;this.appendInPlaceStarted=!1,(t=this.assetListLoader)==null||t.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(t){if(t>=this.assetList.length)return!0;const n=this.playoutLimit;return t<=0||isNaN(n)?!1:this.assetList[t].startOffset>n}findAssetIndex(t){return this.assetList.indexOf(t)}get identifier(){return this.dateRange.id}get startDate(){return this.dateRange.startDate}get startTime(){const t=this.dateRange.startTime;if(this.snapOptions.out){const n=this.dateRange.tagAnchor;if(n)return kl(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,o=kl(n,t);return n-o<.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 kl(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)<mu))}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"?ec.Range:ec.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 cf(this)}}function kl(I,t){return I-t.start<t.duration/2&&!(Math.abs(I-(t.start+t.duration))<mu)?t.start:t.start+t.duration}function bc(I,t,n){const o=new self.URL(I,n);return o.protocol!=="data:"&&o.searchParams.set("_HLS_primary_id",t),o}function cf(I){return`["${I.identifier}" ${I.cue.pre?"<pre>":I.cue.post?"<post>":""}${I.timelineStart.toFixed(2)}-${I.resumeTime.toFixed(2)}]`}function Rl(I){const t=I.timelineStart,n=I.duration||0;return`["${I.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class Wo{constructor(t,n,o,m){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetails=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{const j=this.interstitial.playoutLimit,se=this.currentTime;this.startOffset+se>=j&&this.hls.trigger(s.PLAYOUT_LIMIT_REACHED,{})};const w=this.hls=new t(n);this.interstitial=o,this.assetItem=m;let P=m.uri;try{P=bc(P,w.sessionId).href}catch(H){}w.loadSource(P);const z=()=>{this.hasDetails=!0};w.once(s.LEVEL_LOADED,z),w.once(s.AUDIO_TRACK_LOADED,z),w.once(s.SUBTITLE_TRACK_LOADED,z),w.on(s.MEDIA_ATTACHING,(H,{media:j})=>{this.removeMediaListeners(),this.mediaAttached=j,this.interstitial.playoutLimit&&j.addEventListener("timeupdate",this.checkPlayout)})}bufferedInPlaceToEnd(t){var n;if(!this.interstitial.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t||!this._bufferedEosTime)return!1;const o=this.timelineOffset,m=Ci.bufferInfo(t,o,0);return this.getAssetTime(m.end)>=this._bufferedEosTime-.02}get destroyed(){var t;return!((t=this.hls)!=null&&t.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var t;return((t=this.hls)==null?void 0:t.media)||null}get bufferedEnd(){const t=this.media||this.mediaAttached;if(!t)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const n=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;return t||0}get remaining(){const t=this.duration;return t?Math.max(0,t-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var t;return((t=this.hls)==null?void 0:t.config.timelineOffset)||0}set timelineOffset(t){const n=this.timelineOffset;if(t!==n){const o=t-n;if(Math.abs(o)>11111111111111112e-21){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=t}}}getAssetTime(t){const n=this.timelineOffset,o=this.duration;return Math.min(Math.max(0,t-n),o)}removeMediaListeners(){const t=this.mediaAttached;t&&(this._currentTime=t.currentTime,this.bufferSnapShot(),t.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){if(this.mediaAttached){var t;(t=this.hls)!=null&&t.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}}destroy(){this.removeMediaListeners(),this.hls.destroy(),this.hls=this.interstitial=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(t){this.hls.attachMedia(t)}detachMedia(){this.removeMediaListeners(),this.mediaAttached=null,this.hls.detachMedia()}resumeBuffering(){this.hls.resumeBuffering()}pauseBuffering(){this.hls.pauseBuffering()}transferMedia(){return this.bufferSnapShot(),this.hls.transferMedia()}on(t,n,o){this.hls.on(t,n)}once(t,n,o){this.hls.once(t,n)}off(t,n,o){this.hls.off(t,n)}toString(){var t,n;return`HlsAssetPlayer: ${Rl(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${(n=this.interstitial)!=null&&n.appendInPlace?"append-in-place":""}`}}const yl=.033;class Yc extends L{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((o,m)=>t<=m.startOffset&&n>m.startOffset?(delete m.error,o+1):o,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 o=-1;t.nextEvent?o=this.findEventIndex(t.nextEvent.identifier)-1:t.previousEvent&&(o=this.findEventIndex(t.previousEvent.identifier)+1);const m=this.items;if(m)for(m[o]||(n===void 0&&(n=t.start),o=this.findItemIndexAtTime(n));o>=0&&(w=m[o])!=null&&w.event;){var w;o--}return o}findItemIndexAtTime(t,n){const o=this.items;if(o)for(let m=0;m<o.length;m++){let w=o[m];if(n&&n!=="primary"&&(w=w[n]),t===w.start||t>w.start&&t<w.end)return m}return-1}findJumpRestrictedIndex(t,n){const o=this.items;if(o)for(let m=t;m<=n&&o[m];m++){const w=o[m].event;if(w!=null&&w.restrictions.jump&&!w.appendInPlace)return m}return-1}findEventIndex(t){const n=this.items;if(n)for(let m=n.length;m--;){var o;if(((o=n[m].event)==null?void 0:o.identifier)===t)return m}return-1}findAssetIndex(t,n){const o=t.assetList,m=o.length;if(m>1)for(let w=0;w<m;w++){const P=o[w];if(!P.error){const z=P.timelineStart;if(n===z||n>z&&n<z+(P.duration||0))return w}}return 0}get assetIdAtEnd(){var t,n;const o=(t=this.items)==null||(n=t[this.length-1])==null?void 0:n.event;if(o){const m=o.assetList,w=m[m.length-1];if(w)return w.identifier}return null}parseInterstitialDateRanges(t,n){const o=t.main.details,{dateRanges:m}=o,w=this.events,P=this.parseDateRanges(m,{url:o.url},n),z=Object.keys(m),H=w?w.filter(j=>!z.includes(j.identifier)):[];P.length&&P.sort((j,se)=>{const ce=j.cue.pre,xe=j.cue.post,Ie=se.cue.pre,Oe=se.cue.post;if(ce&&!Ie)return-1;if(Ie&&!ce||xe&&!Oe)return 1;if(Oe&&!xe)return-1;if(!ce&&!Ie&&!xe&&!Oe){const tt=j.startTime,at=se.startTime;if(tt!==at)return tt-at}return j.dateRange.tagOrder-se.dateRange.tagOrder}),this.events=P,H.forEach(j=>{this.removeEvent(j)}),this.updateSchedule(t,H)}updateSchedule(t,n=[]){const o=this.events||[];if(o.length||n.length||this.length<2){const m=this.items,w=this.parseSchedule(o,t);(n.length||(m==null?void 0:m.length)!==w.length||w.some((z,H)=>Math.abs(z.playout.start-m[H].playout.start)>.005||Math.abs(z.playout.end-m[H].playout.end)>.005))&&(this.items=w,this.onScheduleUpdate(n,m))}}parseDateRanges(t,n,o){const m=[],w=Object.keys(t);for(let P=0;P<w.length;P++){const z=w[P],H=t[z];if(H.isInterstitial){let j=this.eventMap[z];j?j.setDateRange(H):(j=new eu(H,n),this.eventMap[z]=j,o===!1&&(j.appendInPlace=o)),m.push(j)}}return m}parseSchedule(t,n){const o=[],m=n.main.details,w=m.live?1/0:m.edge;let P=0;if(t=t.filter(H=>!H.error&&!(H.cue.once&&H.hasPlayed)),t.length){this.resolveOffsets(t,n);let H=0,j=0;if(t.forEach((se,ce)=>{const xe=se.cue.pre,Ie=se.cue.post,Oe=t[ce-1]||null,tt=se.appendInPlace,at=Ie?w:se.startOffset,Nt=se.duration,dr=se.timelineOccupancy===ec.Range?Nt:0,ar=se.resumptionOffset,Zr=(Oe==null?void 0:Oe.startTime)===at,Gr=at+se.cumulativeDuration;let fn=tt?Gr+Nt:at+ar;if(xe||!Ie&&at<=0){const on=j;j+=dr,se.timelineStart=Gr;const hn=P;P+=Nt,o.push({event:se,start:Gr,end:fn,playout:{start:hn,end:P},integrated:{start:on,end:j}})}else if(at<=w){if(!Zr){const qr=at-H;if(qr>yl){const Gn=H,ci=j;j+=qr;const us=P;P+=qr;const ya={previousEvent:t[ce-1]||null,nextEvent:se,start:Gn,end:Gn+qr,playout:{start:us,end:P},integrated:{start:ci,end:j}};o.push(ya)}else qr>0&&Oe&&(Oe.cumulativeDuration+=qr,o[o.length-1].end=at)}Ie&&(fn=Gr),se.timelineStart=Gr;const on=j;j+=dr;const hn=P;P+=Nt,o.push({event:se,start:Gr,end:fn,playout:{start:hn,end:P},integrated:{start:on,end:j}})}else return;const Vr=se.resumeTime;Ie||Vr>w?H=w:H=Vr}),H<w){var z;const se=H,ce=j,xe=w-H;j+=xe;const Ie=P;P+=xe,o.push({previousEvent:((z=o[o.length-1])==null?void 0:z.event)||null,nextEvent:null,start:H,end:se+xe,playout:{start:Ie,end:P},integrated:{start:ce,end:j}})}this.setDurations(w,P,j)}else o.push({previousEvent:null,nextEvent:null,start:0,end:w,playout:{start:0,end:w},integrated:{start:0,end:w}}),this.setDurations(w,w,w);return o}setDurations(t,n,o){this.durations={primary:t,playout:n,integrated:o}}resolveOffsets(t,n){const o=n.main.details,m=o.live?1/0:o.edge;let w=0,P=-1;t.forEach((z,H)=>{const j=z.cue.pre,se=z.cue.post,ce=j?0:se?m:z.startTime;this.updateAssetDurations(z),P===ce?z.cumulativeDuration=w:(w=0,P=ce),!se&&z.snapOptions.in&&(z.resumeAnchor=Qn(null,o.fragments,z.startOffset+z.resumptionOffset,0,0)||void 0),z.appendInPlace&&!z.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(z,n)||(z.appendInPlace=!1)),!z.appendInPlace&&H+1<t.length&&t[H+1].startTime-t[H].resumeTime<yl&&(t[H+1].appendInPlace=!1,t[H+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${z}`));const Ie=r(z.resumeOffset)?z.resumeOffset:z.duration;w+=Ie})}primaryCanResumeInPlaceAt(t,n){const o=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(o-m)>mu?(this.log(`"${t.identifier}" resumption ${o} not aligned with estimated timeline end ${m}`),!1):n?!Object.keys(n).some(P=>{const z=n[P].details,H=z.edge;if(o>=H)return this.log(`"${t.identifier}" resumption ${o} past ${P} playlist end ${H}`),!1;const j=Qn(null,z.fragments,o);if(!j)return this.log(`"${t.identifier}" resumption ${o} does not align with any fragments in ${P} playlist (${z.fragStart}-${z.fragmentEnd})`),!0;const se=P==="audio"?.175:0;return Math.abs(j.start-o)<mu+se||Math.abs(j.end-o)<mu+se?!1:(this.log(`"${t.identifier}" resumption ${o} not aligned with ${P} fragment bounds (${j.start}-${j.end} sn: ${j.sn} cc: ${j.cc})`),!0)}):(this.log(`"${t.identifier}" resumption ${o} can not be aligned with media (none selected)`),!1)}updateAssetDurations(t){if(!t.assetListLoaded)return;const n=t.timelineStart;let o=0,m=!1,w=!1;t.assetList.forEach((P,z)=>{const H=n+o;P.startOffset=o,P.timelineStart=H,m||(m=P.duration===null),w||(w=!!P.error);const j=P.error?0:P.duration||0;o+=j}),m&&!w?t.duration=Math.max(o,t.duration):t.duration=o}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function Nu(I){return`[${I.event?'"'+I.event.identifier+'"':"primary"}: ${I.start.toFixed(2)}-${I.end.toFixed(2)}]`}class $u{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const o=t.assetListUrl;let m;try{m=bc(o,this.hls.sessionId,t.baseUrl)}catch(xe){const Ie=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,xe,o);this.hls.trigger(s.ERROR,Ie);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const w=this.hls.config,P=w.loader,z=new P(w),H={responseType:"json",url:m.href},j=w.interstitialAssetListLoadPolicy.default,se={loadPolicy:j,timeout:j.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Oe,tt)=>{const at=xe.data,Nt=at==null?void 0:at.ASSETS;if(!Array.isArray(Nt)){const dr=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Oe.url,Ie,tt);this.hls.trigger(s.ERROR,dr);return}t.assetListResponse=at,this.hls.trigger(s.ASSET_LIST_LOADED,{event:t,assetListResponse:at,networkDetails:tt})},onError:(xe,Ie,Oe,tt)=>{const at=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${xe.code} ${xe.text} (${Ie.url})`),Ie.url,tt,Oe);this.hls.trigger(s.ERROR,at)},onTimeout:(xe,Ie,Oe)=>{const tt=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Ie.url})`),Ie.url,xe,Oe);this.hls.trigger(s.ERROR,tt)}};return z.load(H,se,ce),this.hls.trigger(s.ASSET_LIST_LOADING,{event:t}),z}assignAssetListError(t,n,o,m,w,P){return t.error=o,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:o,networkDetails:P,stats:w}}}function lu(I,t,n){Uo(I,t,n),I.addEventListener(t,n)}function Uo(I,t,n){I.removeEventListener(t,n)}function Xc(I){I==null||I.play().catch(()=>{})}class xc extends L{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 o=this.currentTime;if(o===void 0||this.playbackDisabled)return;const m=o-this.timelinePos;if(Math.abs(m)<1/7056e5)return;const P=m<=-.01;this.timelinePos=o,this.bufferedPos=o;const z=this.playingItem;if(!z){this.checkBuffer();return}if(P&&this.schedule.resetErrorsInRange(o,o-m)&&this.updateSchedule(),this.checkBuffer(),P&&o<z.start||o>=z.end){var H;const xe=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(z)&&(H=this.media)!=null&&H.paused&&(this.shouldPlay=!1),!P){const Ie=this.findItemIndex(z);if(xe>Ie){const Oe=this.schedule.findJumpRestrictedIndex(Ie+1,xe);if(Oe>Ie){this.setSchedulePosition(Oe);return}}}this.setSchedulePosition(xe);return}const j=this.playingAsset;if(!j){if(this.playingLastItem&&this.isInterstitial(z)){const xe=z.event.assetList[0];xe&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(o,xe))}return}const se=j.timelineStart,ce=j.duration||0;(P&&o<se||o>=se+ce)&&this.setScheduleToAssetAtTime(o,j)},this.onTimeupdate=()=>{const o=this.currentTime;if(o===void 0||this.playbackDisabled)return;if(o>this.timelinePos)this.timelinePos=o,o>this.bufferedPos&&this.checkBuffer();else return;const m=this.playingItem;if(!m||this.playingLastItem)return;if(o>=m.end){this.timelinePos=m.end;const z=this.findItemIndex(m);this.setSchedulePosition(z+1)}const w=this.playingAsset;if(!w)return;const P=w.timelineStart+(w.duration||0);o>=P&&this.setScheduleToAssetAtTime(o,w)},this.onScheduleUpdate=(o,m)=>{const w=this.schedule,P=this.playingItem,z=w.events||[],H=w.items||[],j=w.durations,se=o.map(Ie=>Ie.identifier),ce=!!(z.length||se.length);if(ce&&this.log(`INTERSTITIALS_UPDATED (${z.length}): ${z}
|
|
|
Schedule: ${H.map(Ie=>Nu(Ie))}`),se.length&&this.log(`Removed events ${se}`),this.playerQueue.forEach(Ie=>{if(Ie.interstitial.appendInPlace){const Oe=Ie.assetItem.timelineStart,tt=Ie.timelineOffset-Oe;if(tt)try{Ie.timelineOffset=Oe}catch(at){Math.abs(tt)>mu&&this.warn(`${at} ("${Ie.assetId}" ${Ie.timelineOffset}->${Oe})`)}}}),P){const Ie=this.updateItem(P,this.timelinePos);this.itemsMatch(P,Ie)&&(this.playingItem=Ie,this.waitingItem=this.endedItem=null)}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const xe=this.bufferingItem;if(xe){const Ie=this.updateItem(xe,this.bufferedPos);this.itemsMatch(xe,Ie)?this.bufferingItem=Ie:xe.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(xe.event,null))}if(o.forEach(Ie=>{Ie.assetList.forEach(Oe=>{this.clearAssetPlayer(Oe.identifier,null)})}),ce||m){if(this.hls.trigger(s.INTERSTITIALS_UPDATED,{events:z.slice(0),schedule:H.slice(0),durations:j,removedIds:se}),this.isInterstitial(P)&&se.includes(P.event.identifier)){this.warn(`Interstitial "${P.event.identifier}" removed while playing`),this.primaryFallback(P.event);return}this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new $u(t),this.schedule=new Yc(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.on(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(s.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.on(s.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.on(s.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.BUFFERED_TO_END,this.onBufferedToEnd,this),t.on(s.MEDIA_ENDED,this.onMediaEnded,this),t.on(s.ERROR,this.onError,this),t.on(s.DESTROYING,this.onDestroying,this)}unregisterListeners(){const t=this.hls;t&&(t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.off(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(s.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.off(s.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.off(s.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.off(s.BUFFER_CODECS,this.onBufferCodecs,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.BUFFERED_TO_END,this.onBufferedToEnd,this),t.off(s.MEDIA_ENDED,this.onMediaEnded,this),t.off(s.ERROR,this.onError,this),t.off(s.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var t;(t=this.getBufferingPlayer())==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.getBufferingPlayer())==null||t.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.manager=null,this.hls=this.HlsPlayerClass=this.schedule=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const t=this.primaryMedia||this.media;t&&this.removeMediaListeners(t)}removeMediaListeners(t){Uo(t,"play",this.onPlay),Uo(t,"pause",this.onPause),Uo(t,"seeking",this.onSeeking),Uo(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const o=this.media=n.media;lu(o,"seeking",this.onSeeking),lu(o,"timeupdate",this.onTimeupdate),lu(o,"play",this.onPlay),lu(o,"pause",this.onPause)}onMediaAttached(t,n){const o=this.effectivePlayingItem,m=this.detachedData;if(this.detachedData=null,o===null)this.checkStart();else if(!m){this.clearScheduleState();const w=this.findItemIndex(o);this.setSchedulePosition(w)}}clearScheduleState(){this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(t,n){const o=!!n.transferMedia,m=this.media;if(this.media=null,!o&&(m&&this.removeMediaListeners(m),this.detachedData)){const w=this.getBufferingPlayer();w&&(this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,w.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.manager){if(!this.hls)return null;const t=this,n=()=>t.bufferingItem||t.waitingItem,o=ce=>ce&&t.getAssetPlayer(ce.identifier),m=(ce,xe,Ie,Oe,tt)=>{if(ce){let at=ce[xe].start;const Nt=ce.event;if(Nt){if(xe==="playout"||Nt.timelineOccupancy!==ec.Point){const dr=o(Ie);(dr==null?void 0:dr.interstitial)===Nt&&(at+=dr.assetItem.startOffset+dr[tt])}}else{const dr=Oe==="bufferedPos"?P():t[Oe];at+=dr-ce.start}return at}return 0},w=(ce,xe)=>{if(ce!==0&&xe!=="primary"&&t.schedule.length){var Ie;const Oe=t.schedule.findItemIndexAtTime(ce),tt=(Ie=t.schedule.items)==null?void 0:Ie[Oe];if(tt){const at=tt[xe].start-tt.start;return ce+at}}return ce},P=()=>{const ce=t.bufferedPos;return ce===Number.MAX_VALUE?z("primary"):Math.max(ce,0)},z=ce=>{var xe;return(xe=t.primaryDetails)!=null&&xe.live?t.primaryDetails.edge:t.schedule.durations[ce]},H=(ce,xe)=>{var Ie,Oe;const tt=t.effectivePlayingItem;if(tt!=null&&(Ie=tt.event)!=null&&Ie.restrictions.skip)return;t.log(`seek to ${ce} "${xe}"`);const at=t.effectivePlayingItem,Nt=t.schedule.findItemIndexAtTime(ce,xe),dr=(Oe=t.schedule.items)==null?void 0:Oe[Nt],ar=t.getBufferingPlayer(),Zr=ar==null?void 0:ar.interstitial,Gr=Zr==null?void 0:Zr.appendInPlace,fn=at&&t.itemsMatch(at,dr);if(at&&(Gr||fn)){const on=o(t.playingAsset),hn=(on==null?void 0:on.media)||t.primaryMedia;if(hn){const qr=xe==="primary"?hn.currentTime:m(at,xe,t.playingAsset,"timelinePos","currentTime"),Gn=ce-qr,ci=(Gr?qr:hn.currentTime)+Gn;if(ci>=0&&(!on||Gr||ci<=on.duration)){hn.currentTime=ci;return}}}if(dr){let on=ce;if(xe!=="primary"){const qr=dr[xe].start,Gn=ce-qr;on=dr.start+Gn}const hn=!t.isInterstitial(dr);if((!t.isInterstitial(at)||at.event.appendInPlace)&&(hn||dr.event.appendInPlace)){const qr=t.media||(Gr?ar==null?void 0:ar.media:null);qr&&(qr.currentTime=on)}else if(at){const qr=t.findItemIndex(at);if(Nt>qr){const ci=t.schedule.findJumpRestrictedIndex(qr+1,Nt);if(ci>qr){t.setSchedulePosition(ci);return}}let Gn=0;if(hn)t.timelinePos=on,t.checkBuffer();else{var Vr;const ci=dr==null||(Vr=dr.event)==null?void 0:Vr.assetList;if(ci){const us=ce-(dr[xe]||dr).start;for(let ya=ci.length;ya--;){const Ji=ci[ya];if(Ji.duration&&us>=Ji.startOffset&&us<Ji.startOffset+Ji.duration){Gn=ya;break}}}}t.setSchedulePosition(Nt,Gn)}}},j=()=>{const ce=t.effectivePlayingItem;if(t.isInterstitial(ce))return ce;const xe=n();return t.isInterstitial(xe)?xe:null},se={get currentTime(){const ce=j(),xe=t.effectivePlayingItem;return xe&&xe===ce?m(xe,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-xe.playout.start:0},set currentTime(ce){const xe=j(),Ie=t.effectivePlayingItem;Ie&&Ie===xe&&H(ce+Ie.playout.start,"playout")},get duration(){const ce=j();return ce?ce.playout.end-ce.playout.start:0},get assetPlayers(){var ce;const xe=(ce=j())==null?void 0:ce.event.assetList;return xe?xe.map(Ie=>t.getAssetPlayer(Ie.identifier)):[]},get playingIndex(){var ce;const xe=(ce=j())==null?void 0:ce.event;return xe&&t.effectivePlayingAsset?xe.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return j()}};this.manager={get events(){var ce,xe;return((ce=t.schedule)==null||(xe=ce.events)==null?void 0:xe.slice(0))||[]},get schedule(){var ce,xe;return((ce=t.schedule)==null||(xe=ce.items)==null?void 0:xe.slice(0))||[]},get interstitialPlayer(){return j()?se:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const ce=n();return t.findItemIndex(ce)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const ce=t.effectivePlayingItem;return t.findItemIndex(ce)},primary:{get bufferedEnd(){return P()},get currentTime(){const ce=t.timelinePos;return ce>0?ce:0},set currentTime(ce){H(ce,"primary")},get duration(){return z("primary")},get seekableStart(){var ce;return((ce=t.primaryDetails)==null?void 0:ce.fragmentStart)||0}},integrated:{get bufferedEnd(){return m(n(),"integrated",t.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return m(t.effectivePlayingItem,"integrated",t.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(ce){H(ce,"integrated")},get duration(){return z("integrated")},get seekableStart(){var ce;return w(((ce=t.primaryDetails)==null?void 0:ce.fragmentStart)||0,"integrated")}},skip:()=>{const ce=t.effectivePlayingItem,xe=ce==null?void 0:ce.event;if(xe&&!xe.restrictions.skip){const Ie=t.findItemIndex(ce);if(xe.appendInPlace){const Oe=ce.playout.start+ce.event.duration;H(Oe+.001,"playout")}else t.advanceAfterAssetEnded(xe,Ie,1/0)}}}}return this.manager}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var t;const n=this.playingItem,o=(t=this.schedule)==null?void 0:t.items;return!this.playbackStarted||!n||!o?!1:this.findItemIndex(n)===o.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var t,n,o;if(this.mediaSelection===null)return;const m=this.waitingItem||this.playingItem;if(this.isInterstitial(m)&&!m.event.appendInPlace)return;let w=this.media;!w&&(t=this.bufferingItem)!=null&&(n=t.event)!=null&&n.appendInPlace&&(w=this.primaryMedia);const P=(o=w)==null?void 0:o.currentTime;if(!(P===void 0||!r(P)))return P}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 o=this.getAssetPlayer(t);o&&this.transferMediaFromPlayer(o,n)}transferMediaFromPlayer(t,n){const o=t.interstitial.appendInPlace,m=t.media;if(o&&m===this.primaryMedia){if(this.bufferingAsset=null,(!n||this.isInterstitial(n)&&!n.event.appendInPlace)&&n&&m){this.detachedData={media:m};return}const w=t.transferMedia();this.log(`transfer MediaSource from ${t} ${Nn(w)}`),this.detachedData=w}else n&&m&&(this.shouldPlay||(this.shouldPlay=!m.paused))}transferMediaTo(t,n){var o,m;if(t.media===n)return;let w=null;const P=this.hls,z=t!==P,H=z&&t.interstitial.appendInPlace,j=(o=this.detachedData)==null?void 0:o.mediaSource;let se;if(P.media)H&&(w=P.transferMedia(),this.detachedData=w),se="Primary";else if(j){const Ie=this.getBufferingPlayer();Ie?(w=Ie.transferMedia(),se=`${Ie}`):se="detached MediaSource"}else se="detached media";if(!w){if(j)w=this.detachedData,this.log(`using detachedData: MediaSource ${Nn(w)}`);else if(!this.detachedData||P.media===n){const Ie=this.playerQueue;Ie.length>1&&Ie.forEach(Oe=>{if(z&&Oe.interstitial.appendInPlace!==H){const tt=Oe.interstitial;this.clearInterstitial(Oe.interstitial,null),tt.appendInPlace=!1,tt.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${tt}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const ce=w&&"mediaSource"in w&&((m=w.mediaSource)==null?void 0:m.readyState)!=="closed",xe=ce&&w?w:n;if(this.log(`${ce?"transfering MediaSource":"attaching media"} to ${z?t:"Primary"} from ${se}`),xe===w){const Ie=z&&t.assetId===this.schedule.assetIdAtEnd;xe.overrides={duration:this.schedule.duration,endOfStream:!z||Ie,cueRemoval:!z}}t.attachMedia(xe)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t.events;if(!n||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const o=this.timelinePos,m=this.effectivePlayingItem;if(o===-1){const w=this.hls.startPosition;if(this.timelinePos=w,n.length&&n[0].cue.pre){const P=t.findEventIndex(n[0].identifier);this.setSchedulePosition(P)}else if(w>=0||!this.primaryLive){const P=this.timelinePos=w>0?w:0,z=t.findItemIndexAtTime(P);this.setSchedulePosition(z)}}else if(m&&!this.playingItem){const w=t.findItemIndex(m);this.setSchedulePosition(w)}}advanceAfterAssetEnded(t,n,o){const m=o+1;if(!t.isAssetPastPlayoutLimit(m)&&!t.assetList[m].error)this.setSchedulePosition(n,m);else{const w=this.schedule.items;if(w){const P=n+1,z=w.length;if(P>=z){this.setSchedulePosition(-1);return}const H=t.resumeTime;this.timelinePos<H&&(this.timelinePos=H,this.checkBuffer()),this.setSchedulePosition(P)}}}setScheduleToAssetAtTime(t,n){const o=this.schedule,m=n.parentIdentifier,w=o.getEvent(m);if(w){const P=o.findEventIndex(m),z=o.findAssetIndex(w,t);this.setSchedulePosition(P,z)}}setSchedulePosition(t,n){const o=this.schedule.items;if(!o||this.playbackDisabled)return;this.log(`setSchedulePosition ${t}, ${n}`);const m=t>=0?o[t]:null,w=this.playingItem,P=this.playingLastItem;if(this.isInterstitial(w)){var z;const j=w.event,se=this.playingAsset,ce=se==null?void 0:se.identifier,xe=ce?this.getAssetPlayer(ce):null;if(xe&&ce&&(!this.eventItemsMatch(w,m)||n!==void 0&&ce!==((z=j.assetList)==null?void 0:z[n].identifier))){var H;const Ie=j.findAssetIndex(se);this.log(`INTERSTITIAL_ASSET_ENDED ${Ie+1}/${j.assetList.length} ${Rl(se)}`),this.endedAsset=se,this.playingAsset=null,this.hls.trigger(s.INTERSTITIAL_ASSET_ENDED,{asset:se,assetListIndex:Ie,event:j,schedule:o.slice(0),scheduleIndex:t,player:xe}),this.retreiveMediaSource(ce,m),xe.media&&!((H=this.detachedData)!=null&&H.mediaSource)&&xe.detachMedia()}if(!this.eventItemsMatch(w,m)&&(this.endedItem=w,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${j} ${Nu(w)}`),j.hasPlayed=!0,this.hls.trigger(s.INTERSTITIAL_ENDED,{event:j,schedule:o.slice(0),scheduleIndex:t}),j.cue.once)){this.updateSchedule();const Ie=this.schedule.items;if(m&&Ie){const Oe=this.schedule.findItemIndex(m);this.advanceSchedule(Oe,Ie,n,w,P)}return}}this.advanceSchedule(t,o,n,w,P)}advanceSchedule(t,n,o,m,w){const P=t>=0?n[t]:null,z=this.primaryMedia,H=this.playerQueue;if(H.length&&H.forEach(j=>{const se=j.interstitial,ce=this.schedule.findEventIndex(se.identifier);(ce<t||ce>t+1)&&this.clearInterstitial(se,P)}),this.isInterstitial(P)){this.timelinePos=Math.min(Math.max(this.timelinePos,P.start),P.end);const j=P.event;o===void 0&&(o=this.schedule.findAssetIndex(j,this.timelinePos));const se=this.waitingItem;this.assetsBuffered(P,z)||this.setBufferingItem(P);let ce=this.preloadAssets(j,o);if(this.eventItemsMatch(P,se||m)||(this.waitingItem=P,this.log(`INTERSTITIAL_STARTED ${Nu(P)} ${j.appendInPlace?"append in place":""}`),this.hls.trigger(s.INTERSTITIAL_STARTED,{event:j,schedule:n.slice(0),scheduleIndex:t})),!j.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${j}`);return}if(j.assetListLoader&&(j.assetListLoader.destroy(),j.assetListLoader=void 0),!z){this.log(`Waiting for attachMedia to start Interstitial ${j}`);return}this.waitingItem=this.endedItem=null,this.playingItem=P;const xe=j.assetList[o];if(!xe){const Ie=n[t+1],Oe=this.media;Ie&&Oe&&!this.isInterstitial(Ie)&&Oe.currentTime<Ie.start&&(Oe.currentTime=this.timelinePos=Ie.start),this.advanceAfterAssetEnded(j,t,o||0);return}if(ce||(ce=this.getAssetPlayer(xe.identifier)),ce===null||ce.destroyed){const Ie=j.assetList.length;this.warn(`asset ${o+1}/${Ie} player destroyed ${j}`),ce=this.createAssetPlayer(j,xe,o)}if(!this.eventItemsMatch(P,this.bufferingItem)&&j.appendInPlace&&this.isAssetBuffered(xe))return;this.startAssetPlayer(ce,o,n,t,z),this.shouldPlay&&Xc(ce.media)}else P!==null?(this.resumePrimary(P,t,m),this.shouldPlay&&Xc(this.hls.media)):w&&this.isInterstitial(m)&&(this.endedItem=null,this.playingItem=m,m.event.appendInPlace||this.attachPrimary(this.schedule.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var t,n;return(t=this.mediaSelection)==null||(n=t.main)==null?void 0:n.details}get primaryLive(){var t;return!!((t=this.primaryDetails)!=null&&t.live)}resumePrimary(t,n,o){var m;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${Nu(t)}`),!((m=this.detachedData)!=null&&m.mediaSource)){let P=this.timelinePos;(P<t.start||P>=t.end)&&(P=this.getPrimaryResumption(t,n),this.timelinePos=P),this.attachPrimary(P,t)}if(!o)return;const w=this.schedule.items;w&&(this.log(`resumed ${Nu(t)}`),this.hls.trigger(s.INTERSTITIALS_PRIMARY_RESUMED,{schedule:w.slice(0),scheduleIndex:n}),this.checkBuffer())}getPrimaryResumption(t,n){const o=t.start;if(this.primaryLive){const m=this.primaryDetails;if(n===0)return this.hls.startPosition;if(m&&(o<m.fragmentStart||o>m.edge))return this.hls.liveSyncPosition||-1}return o}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,o){n?this.setBufferingItem(n):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const m=this.primaryMedia;if(!m)return;const w=this.hls;w.media?this.checkBuffer():(this.transferMediaTo(w,m),o&&this.startLoadingPrimaryAt(t,o)),o||(this.timelinePos=t,this.startLoadingPrimaryAt(t,o))}startLoadingPrimaryAt(t,n){var o;const m=this.hls;!m.loadingEnabled||!m.media||Math.abs((((o=m.mainForwardBufferInfo)==null?void 0:o.start)||m.media.currentTime)-t)>.5?m.startLoad(t,n):m.bufferingEnabled||m.resumeBuffering()}onManifestLoading(){this.stopLoad(),this.schedule.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(s.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(s.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(t,n){if(n.level===-1)return;const o=this.hls.levels[n.level],m=b(b({},this.mediaSelection||this.altSelection),{},{main:o});this.mediaSelection=m,this.schedule.parseInterstitialDateRanges(m,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(t,n){const o=this.hls.audioTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{audio:o});return}const w=b(b({},m),{},{audio:o});this.mediaSelection=w}onSubtitleTrackUpdated(t,n){const o=this.hls.subtitleTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{subtitles:o});return}const w=b(b({},m),{},{subtitles:o});this.mediaSelection=w}onAudioTrackSwitching(t,n){const o=pi(n);this.playerQueue.forEach(m=>m.hls.setAudioOption(n)||m.hls.setAudioOption(o))}onSubtitleTrackSwitch(t,n){const o=pi(n);this.playerQueue.forEach(m=>m.hls.setSubtitleOption(n)||n.id!==-1&&m.hls.setSubtitleOption(o))}onBufferCodecs(t,n){const o=n.tracks;o&&(this.requiredTracks=o)}onBufferAppended(t,n){this.checkBuffer()}onBufferFlushed(t,n){const o=this.playingItem;if(o&&!this.itemsMatch(o,this.bufferingItem)&&!this.isInterstitial(o)){const m=this.timelinePos;this.bufferedPos=m,this.checkBuffer()}}onBufferedToEnd(t){const n=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&n){for(let m=0;m<n.length;m++){const w=n[m];if(w.cue.post){var o;const P=this.schedule.findEventIndex(w.identifier),z=(o=this.schedule.items)==null?void 0:o[P];this.isInterstitial(z)&&this.eventItemsMatch(z,this.bufferingItem)&&this.bufferedToItem(z,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(t){const n=this.playingItem;if(!this.playingLastItem&&n){const o=this.findItemIndex(n);this.setSchedulePosition(o+1)}else this.shouldPlay=!1}updateItem(t,n){const o=this.schedule.items;if(t&&o){const m=this.findItemIndex(t,n);return o[m]||null}return null}itemsMatch(t,n){return!!n&&(t===n||t.event&&n.event&&this.eventItemsMatch(t,n)||!t.event&&!n.event&&this.findItemIndex(t)===this.findItemIndex(n))}eventItemsMatch(t,n){var o;return!!n&&(t===n||t.event.identifier===((o=n.event)==null?void 0:o.identifier))}findItemIndex(t,n){return t?this.schedule.findItemIndex(t,n):-1}updateSchedule(){const t=this.mediaSelection;t&&this.schedule.updateSchedule(t,[])}checkBuffer(t){const n=this.schedule.items;if(!n)return;const o=Ci.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=o.len<1),this.updateBufferedPos(o.end,n,t)}updateBufferedPos(t,n,o){const m=this.schedule,w=this.bufferingItem;if(this.bufferedPos>t)return;if(n.length===1&&this.itemsMatch(n[0],w)){this.bufferedPos=t;return}const P=this.playingItem,z=this.findItemIndex(P);let H=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var j,se;const ce=this.findItemIndex(w),xe=Math.min(ce+1,n.length-1),Ie=n[xe];if((H===-1&&w&&t>=w.end||(j=Ie.event)!=null&&j.appendInPlace&&t+.01>=Ie.start)&&(H=xe),xe-z>1&&(w==null||(se=w.event)==null?void 0:se.appendInPlace)===!1)return;if(this.bufferedPos=t,H>ce&&H>z)this.bufferedToItem(Ie);else{const Oe=this.primaryDetails;this.primaryLive&&Oe&&t>Oe.edge-Oe.targetduration&&Ie.start<Oe.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Ie)&&this.preloadAssets(Ie.event,0)}}else o&&P&&!this.itemsMatch(P,w)&&(H===z?this.bufferedToItem(P):H===z+1&&this.bufferedToItem(n[H]))}assetsBuffered(t,n){return t.event.assetList.length===0?!1:!t.event.assetList.some(m=>{const w=this.getAssetPlayer(m.identifier);return!(w!=null&&w.bufferedInPlaceToEnd(n))})}setBufferingItem(t){const n=this.bufferingItem,o=this.schedule;if(this.itemsMatch(t,n))this.bufferingItem!==t&&(this.bufferingItem=t);else{const{items:m,events:w}=o;if(!m||!w)return n;const P=this.isInterstitial(t),z=this.getBufferingPlayer();if(this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos)),!this.playbackDisabled){const H=z?z.remaining:n?n.end-this.timelinePos:0;this.log(`buffered to boundary ${Nu(t)}`+(n?` (${H.toFixed(2)} remaining)`:"")),P?t.event.assetList.forEach(j=>{const se=this.getAssetPlayer(j.identifier);se&&se.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach(j=>j.pauseBuffering()))}this.hls.trigger(s.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:w.slice(0),schedule:m.slice(0),bufferingIndex:this.findItemIndex(t),playingIndex:this.findItemIndex(this.playingItem)})}return n}bufferedToItem(t,n=0){const o=this.setBufferingItem(t);if(!this.playbackDisabled){if(this.isInterstitial(t))this.bufferedToEvent(t,n);else if(o!==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),o=this.getPrimaryResumption(t,n);this.startLoadingPrimaryAt(o)}bufferedToEvent(t,n){const o=t.event,m=o.assetList.length===0&&!o.assetListLoader,w=o.cue.once;if(m||!w){const P=this.preloadAssets(o,n);if(P!=null&&P.interstitial.appendInPlace){const z=o.assetList[n],H=this.primaryMedia;z&&H&&this.bufferAssetPlayer(P,H)}}}preloadAssets(t,n){const o=t.assetUrl,m=t.assetList.length,w=m===0&&!t.assetListLoader,P=t.cue.once;if(w){const H=t.timelineStart;if(t.appendInPlace){var z;const xe=this.playingItem;!this.isInterstitial(xe)&&(xe==null||(z=xe.nextEvent)==null?void 0:z.identifier)===t.identifier&&this.flushFrontBuffer(H+.25)}let j,se=0;if(!this.playingItem&&this.primaryLive&&(se=this.hls.startPosition,se===-1&&(se=this.hls.liveSyncPosition||0)),se&&!(t.cue.pre||t.cue.post)){const xe=se-H;xe>0&&(j=Math.round(xe*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${o?1:m} ${t}${j?` live-start: ${se} start-offset: ${j}`:""}`),o)return this.createAsset(t,0,0,H,t.duration,o);const ce=this.assetListLoader.loadAssetList(t,j);ce&&(t.assetListLoader=ce)}else if(!P&&m){for(let H=n;H<m;H++){const j=t.assetList[H],se=this.getAssetPlayerQueueIndex(j.identifier);(se===-1||this.playerQueue[se].destroyed)&&!j.error&&this.createAssetPlayer(t,j,H)}return this.getAssetPlayer(t.assetList[n].identifier)}return null}flushFrontBuffer(t){const n=this.requiredTracks;if(!n)return;this.log(`Removing front buffer starting at ${t}`),Object.keys(n).forEach(m=>{this.hls.trigger(s.BUFFER_FLUSHING,{startOffset:t,endOffset:1/0,type:m})})}getAssetPlayerQueueIndex(t){const n=this.playerQueue;for(let o=0;o<n.length;o++)if(t===n[o].assetId)return o;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 o=0;o<t.length;o++)if(t[o].media===n)return t[o]}return null}createAsset(t,n,o,m,w,P){const z={parentIdentifier:t.identifier,identifier:Ol(t,P,n),duration:w,startOffset:o,timelineStart:m,uri:P};return this.createAssetPlayer(t,z,n)}createAssetPlayer(t,n,o){this.log(`create HLSAssetPlayer for ${Rl(n)}`);const m=this.hls,w=m.userConfig;let P=w.videoPreference;const z=m.loadLevelObj||m.levels[m.currentLevel];(P||z)&&(P=y({},P),z.videoCodec&&(P.videoCodec=z.videoCodec),z.videoRange&&(P.allowedVideoRanges=[z.videoRange]));const H=m.audioTracks[m.audioTrack],j=m.subtitleTracks[m.subtitleTrack];let se=0;if(this.primaryLive||t.appendInPlace){const ar=this.timelinePos-n.timelineStart;if(ar>1){const Zr=n.duration;Zr&&ar<Zr&&(se=ar)}}const ce=n.identifier,xe=b(b({},w),{},{autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:ce,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:se,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:P,audioPreference:H||w.audioPreference,subtitlePreference:j||w.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(xe.timelineOffset=n.timelineStart));const Ie=xe.cmcd;Ie!=null&&Ie.sessionId&&Ie.contentId&&(xe.cmcd=y({},Ie,{contentId:Qu(n.uri)})),this.getAssetPlayer(ce)&&this.warn(`Duplicate date range identifier ${t} and asset ${ce}`);const Oe=new Wo(this.HlsPlayerClass,xe,t,n);this.playerQueue.push(Oe),t.assetList[o]=n;const tt=ar=>{if(ar.live){const fn=new Error(`Interstitials MUST be VOD assets ${t}`),Vr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:fn};this.handleAssetItemError(Vr,t,this.schedule.findEventIndex(t.identifier),o,fn.message);return}const Zr=ar.edge-ar.fragmentStart,Gr=n.duration;(Gr===null||Zr>Gr)&&(this.log(`Interstitial asset "${ce}" duration change ${Gr} > ${Zr}`),n.duration=Zr,this.updateSchedule())};Oe.on(s.LEVEL_UPDATED,(ar,{details:Zr})=>tt(Zr)),Oe.on(s.LEVEL_PTS_UPDATED,(ar,{details:Zr})=>tt(Zr));const at=(ar,Zr)=>{const Gr=this.getAssetPlayer(ce);if(Gr&&Zr.tracks){Gr.off(s.BUFFER_CODECS,at),Gr.tracks=Zr.tracks;const fn=this.primaryMedia;this.bufferingAsset===Gr.assetItem&&fn&&!Gr.media&&this.bufferAssetPlayer(Gr,fn)}};Oe.on(s.BUFFER_CODECS,at);const Nt=()=>{var ar;const Zr=this.getAssetPlayer(ce);if(this.log(`buffered to end of asset ${Zr}`),!Zr)return;const Gr=this.schedule.findEventIndex(t.identifier),fn=t.findAssetIndex(n),Vr=fn+1,on=(ar=this.schedule.items)==null?void 0:ar[Gr];if(this.isInterstitial(on))if(fn!==-1&&!t.isAssetPastPlayoutLimit(Vr)&&!t.assetList[Vr].error)this.bufferedToItem(on,Vr);else{var hn;const qr=(hn=this.schedule.items)==null?void 0:hn[Gr+1];qr&&this.bufferedToItem(qr)}};Oe.on(s.BUFFERED_TO_END,Nt);const dr=ar=>()=>{if(!this.getAssetPlayer(ce))return;this.shouldPlay=!0;const Gr=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,Gr,ar)};return Oe.once(s.MEDIA_ENDED,dr(o)),Oe.once(s.PLAYOUT_LIMIT_REACHED,dr(1/0)),Oe.on(s.ERROR,(ar,Zr)=>{const Gr=this.getAssetPlayer(ce);if(Zr.details===f.BUFFER_STALLED_ERROR){if(Gr!=null&&Gr.media){const fn=Gr.currentTime,Vr=Gr.duration-fn;fn&&t.appendInPlace&&Vr/Gr.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${ce} ${t} at ${Gr.media.currentTime}`),Nt()):(this.warn(`Stalled at ${fn} of ${fn+Vr} in asset ${ce} ${t}`),this.onTimeupdate(),this.checkBuffer(!0))}return}this.handleAssetItemError(Zr,t,this.schedule.findEventIndex(t.identifier),o,`Asset player error ${Zr.error} ${t}`)}),Oe.on(s.DESTROYING,()=>{if(!this.getAssetPlayer(ce))return;const Zr=new Error(`Asset player destroyed unexpectedly ${ce}`),Gr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Zr};this.handleAssetItemError(Gr,t,this.schedule.findEventIndex(t.identifier),o,Zr.message)}),this.hls.trigger(s.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:o,event:t,player:Oe}),Oe}clearInterstitial(t,n){t.assetList.forEach(o=>{this.clearAssetPlayer(o.identifier,n)}),t.reset()}clearAssetPlayer(t,n){const o=this.getAssetPlayerQueueIndex(t);if(o!==-1){this.log(`clearAssetPlayer "${t}" toSegment: ${n&&Nu(n)}`);const m=this.playerQueue[o];this.transferMediaFromPlayer(m,n),this.playerQueue.splice(o,1),m.destroy()}}emptyPlayerQueue(){let t;for(;t=this.playerQueue.pop();)t.destroy();this.playerQueue=[]}startAssetPlayer(t,n,o,m,w){const{interstitial:P,assetItem:z,assetId:H}=t,j=P.assetList.length,se=this.playingAsset;this.endedAsset=null,this.playingAsset=z,(!se||se.identifier!==H)&&(se&&(this.clearAssetPlayer(se.identifier,o[m]),delete se.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${j} ${t}`),this.hls.trigger(s.INTERSTITIAL_ASSET_STARTED,{asset:z,assetListIndex:n,event:P,schedule:o.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,w)}bufferAssetPlayer(t,n){var o,m;const{interstitial:w,assetItem:P,assetId:z}=t,H=this.schedule.findEventIndex(w.identifier),j=(o=this.schedule.items)==null?void 0:o[H];if(!j)return;this.setBufferingItem(j),this.bufferingAsset=P;const se=this.getBufferingPlayer();if(se===t)return;const ce=w.appendInPlace;if(ce&&(se==null?void 0:se.interstitial.appendInPlace)===!1)return;const xe=(se==null?void 0:se.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(ce&&P!==this.playingAsset){if(!t.tracks)return;if(xe&&!le(xe,t.tracks)){const Ie=new Error(`Asset "${z}" SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(xe)}')`),Oe={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Ie},tt=w.findAssetIndex(P);this.handleAssetItemError(Oe,w,H,tt,Ie.message);return}}this.transferMediaTo(t,n)}handleAssetItemError(t,n,o,m,w){if(t.details===f.BUFFER_STALLED_ERROR)return;const P=n.assetList[m]||null;let z=null;if(P){const ce=this.getAssetPlayerQueueIndex(P.identifier);z=this.playerQueue[ce]||null}const H=this.schedule.items,j=y({},t,{fatal:!1,errorAction:Or(!0),asset:P,assetListIndex:m,event:n,schedule:H,scheduleIndex:o,player:z});if(this.warn(`Asset item error: ${t.error}`),this.hls.trigger(s.INTERSTITIAL_ASSET_ERROR,j),!t.fatal)return;const se=new Error(w);P&&(this.playingAsset!==P&&this.clearAssetPlayer(P.identifier,null),P.error=se),n.assetList.some(ce=>!ce.error)?n.appendInPlace&&(n.error=se):n.error=se,this.primaryFallback(n)}primaryFallback(t){const n=t.timelineStart,o=this.effectivePlayingItem;if(this.updateSchedule(),o){this.log(`Fallback to primary from event "${t.identifier}" start: ${n} pos: ${this.timelinePos} playing: ${o?Nu(o):"<none>"} error: ${t.error}`),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n));let m=this.timelinePos;m===-1&&(m=this.hls.startPosition);const w=this.updateItem(o,m);if(this.itemsMatch(o,w))this.clearInterstitial(t,null);else{const P=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(P)}}else this.checkStart()}onAssetListLoaded(t,n){var o;const m=n.event,w=m.identifier,P=n.assetListResponse.ASSETS;if(!this.schedule.hasEvent(w))return;const z=m.timelineStart,H=m.duration;let j=0;P.forEach((Oe,tt)=>{const at=parseFloat(Oe.DURATION);this.createAsset(m,tt,j,z+j,at,Oe.URI),j+=at}),m.duration=j,this.log(`Loaded asset-list with duration: ${j} (was: ${H}) ${m}`);const se=this.waitingItem,ce=(se==null?void 0:se.event.identifier)===w;this.updateSchedule();const xe=(o=this.bufferingItem)==null?void 0:o.event;if(ce){var Ie;const Oe=this.schedule.findEventIndex(w),tt=(Ie=this.schedule.items)==null?void 0:Ie[Oe];if(tt){if(!this.playingItem&&this.timelinePos>tt.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==Oe){m.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${m}`),this.primaryFallback(m);return}this.setBufferingItem(tt)}this.setSchedulePosition(Oe)}else if((xe==null?void 0:xe.identifier)===w&&xe.appendInPlace){const Oe=m.assetList[0],tt=this.getAssetPlayer(Oe.identifier),at=this.primaryMedia;Oe&&tt&&at&&this.bufferAssetPlayer(tt,at)}}onError(t,n){switch(n.details){case f.ASSET_LIST_PARSING_ERROR:case f.ASSET_LIST_LOAD_ERROR:case f.ASSET_LIST_LOAD_TIMEOUT:{const o=n.interstitial;o&&this.primaryFallback(o);break}case f.BUFFER_STALLED_ERROR:{this.onTimeupdate(),this.checkBuffer(!0);break}}}}const tc=500;class ff extends Ca{constructor(t,n,o){super(t,n,o,"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(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(s.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(s.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(s.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(t,n){this.stopLoad(),this.state=zr.IDLE,this.setInterval(tc),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:o,success:m}=n;if(de(o)&&(this.fragPrevious=o),this.state=zr.IDLE,!m)return;const w=this.tracksBuffered[this.currentTrackId];if(!w)return;let P;const z=o.start;for(let j=0;j<w.length;j++)if(z>=w[j].start&&z<=w[j].end){P=w[j];break}const H=o.start+o.duration;P?P.end=H:(P={start:z,end:H},w.push(P)),this.fragmentTracker.fragBuffered(o),this.fragBufferedComplete(o,null),this.media&&this.tick()}onBufferFlushing(t,n){const{startOffset:o,endOffset:m}=n;if(o===0&&m!==Number.POSITIVE_INFINITY){const w=m-1;if(w<=0)return;n.endOffsetSubtitles=Math.max(0,w),this.tracksBuffered.forEach(P=>{for(let z=0;z<P.length;){if(P[z].end<=w){P.shift();continue}else if(P[z].start<w)P[z].start=w;else break;z++}}),this.fragmentTracker.removeFragmentsInRange(o,w,u.SUBTITLE)}}onError(t,n){const o=n.frag;(o==null?void 0:o.type)===u.SUBTITLE&&(n.details===f.FRAG_GAP&&this.fragmentTracker.fragBuffered(o,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==zr.STOPPED&&(this.state=zr.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&lc(this.levels,n)){this.levels=n.map(o=>new mr(o));return}this.tracksBuffered=[],this.levels=n.map(o=>{const m=new mr(o);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 o;if(this.currentTrackId=n.id,!((o=this.levels)!=null&&o.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!==zr.STOPPED&&this.setInterval(tc)}onSubtitleTrackLoaded(t,n){var o;const{currentTrackId:m,levels:w}=this,{details:P,id:z}=n;if(!w){this.warn(`Subtitle tracks were reset while loading level ${z}`);return}const H=w[z];if(z>=w.length||!H)return;this.log(`Subtitle track ${z} loaded [${P.startSN},${P.endSN}]${P.lastPartSn?`[part-${P.lastPartSn}-${P.lastPartIndex}]`:""},duration:${P.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let j=0;if(P.live||(o=H.details)!=null&&o.live){const ce=this.mainDetails;if(P.deltaUpdateFailed||!ce)return;const xe=ce.fragments[0];if(!H.details)P.hasProgramDateTime&&ce.hasProgramDateTime?(ji(P,ce),j=P.fragmentStart):xe&&(j=xe.start,Kn(P,j));else{var se;j=this.alignPlaylists(P,H.details,(se=this.levelLastLoaded)==null?void 0:se.details),j===0&&xe&&(j=xe.start,Kn(P,j))}}H.details=P,this.levelLastLoaded=H,z===m&&(this.hls.trigger(s.SUBTITLE_TRACK_UPDATED,{details:P,id:z,groupId:n.groupId}),this.tick(),P.live&&!this.fragCurrent&&this.media&&this.state===zr.IDLE&&(Qn(null,P.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),H.details=void 0)))}_handleFragmentLoadComplete(t){const{frag:n,payload:o}=t,m=n.decryptdata,w=this.hls;if(!this.fragContextChanged(n)&&o&&o.byteLength>0&&m!=null&&m.key&&m.iv&&Aa(m.method)){const P=performance.now();this.decrypter.decrypt(new Uint8Array(o),m.key.buffer,m.iv.buffer,Da(m.method)).catch(z=>{throw w.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:z,reason:z.message,frag:n}),z}).then(z=>{const H=performance.now();w.trigger(s.FRAG_DECRYPTED,{frag:n,payload:z,stats:{tstart:P,tdecrypt:H}})}).catch(z=>{this.warn(`${z.name}: ${z.message}`),this.state=zr.IDLE})}}doTick(){if(!this.media){this.state=zr.IDLE;return}if(this.state===zr.IDLE){const{currentTrackId:t,levels:n}=this,o=n==null?void 0:n[t];if(!o||!n.length||!o.details||this.waitForLive(o))return;const{config:m}=this,w=this.getLoadPosition(),P=Ci.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],w,m.maxBufferHole),{end:z,len:H}=P,j=o.details,se=this.hls.maxBufferLength+j.levelTargetDuration;if(H>se)return;const ce=j.fragments,xe=ce.length,Ie=j.edge;let Oe=null;const tt=this.fragPrevious;if(z<Ie){const dr=m.maxFragLookUpTolerance,ar=z>Ie-dr?0:dr;Oe=Qn(tt,ce,Math.max(ce[0].start,z),ar),!Oe&&tt&&tt.start<ce[0].start&&(Oe=ce[0])}else Oe=ce[xe-1];if(Oe=this.filterReplacedPrimary(Oe,o.details),!Oe)return;const at=Oe.sn-j.startSN,Nt=ce[at-1];if(Nt&&Nt.cc===Oe.cc&&this.fragmentTracker.getState(Nt)===wr.NOT_LOADED&&(Oe=Nt),this.fragmentTracker.getState(Oe)===wr.NOT_LOADED){const dr=this.mapToInitFragWhenRequired(Oe);dr&&this.loadFragment(dr,o,z)}}}loadFragment(t,n,o){de(t)?super.loadFragment(t,n,o):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new ju(this.tracksBuffered[this.currentTrackId]||[])}}class ju{constructor(t){this.buffered=void 0;const n=(o,m,w)=>{if(m=m>>>0,m>w-1)throw new DOMException(`Failed to execute '${o}' on 'TimeRanges': The index provided (${m}) is greater than the maximum bound (${w})`);return t[m][o]};this.buffered={get length(){return t.length},end(o){return n("end",o,t.length)},start(o){return n("start",o,t.length)}}}}const Ll={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},Ml=I=>String.fromCharCode(Ll[I]||I),$i=15,_s=100,Gs={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},ui={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Uu={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},C={25:2,26:4,29:6,30:8,31:10,27:13,28:15},O=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class k{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const o=typeof n=="function"?n():n;G.log(`${this.time} [${t}] ${o}`)}}}const me=function(t){const n=[];for(let o=0;o<t.length;o++)n.push(t[o].toString(16));return n};class ze{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 o=0;o<n.length;o++){const m=n[o];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 an{constructor(){this.uchar=" ",this.penState=new ze}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 ni{constructor(t){this.chars=[],this.pos=0,this.currPenState=new ze,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<_s;n++)this.chars.push(new an);this.logger=t}equals(t){for(let n=0;n<_s;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<_s;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<_s;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>_s&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=_s)}moveCursor(t){const n=this.pos+t;if(t>1)for(let o=this.pos+1;o<n+1;o++)this.chars[o].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=Ml(t);if(this.pos>=_s){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<_s;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 o=0;o<_s;o++){const m=this.chars[o].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 Wi{constructor(t){this.rows=[],this.currRow=$i-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<$i;n++)this.rows.push(new ni(t));this.logger=t}reset(){for(let t=0;t<$i;t++)this.rows[t].clear();this.currRow=$i-1}equals(t){let n=!0;for(let o=0;o<$i;o++)if(!this.rows[o].equals(t.rows[o])){n=!1;break}return n}copy(t){for(let n=0;n<$i;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<$i;n++)if(!this.rows[n].isEmpty()){t=!1;break}return t}backSpace(){this.rows[this.currRow].backSpace()}clearToEndOfRow(){this.rows[this.currRow].clearToEndOfRow()}insertChar(t){this.rows[this.currRow].insertChar(t)}setPen(t){this.rows[this.currRow].setPenStyles(t)}moveCursor(t){this.rows[this.currRow].moveCursor(t)}setCursor(t){this.logger.log(2,"setCursor: "+t),this.rows[this.currRow].setCursor(t)}setPAC(t){this.logger.log(2,()=>"pacData = "+Nn(t));let n=t.row-1;if(this.nrRollUpRows&&n<this.nrRollUpRows-1&&(n=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==n){for(let z=0;z<$i;z++)this.rows[z].clear();const w=this.currRow+1-this.nrRollUpRows,P=this.lastOutputScreen;if(P){const z=P.rows[w].cueStartTime,H=this.logger.time;if(z!==null&&H!==null&&z<H)for(let j=0;j<this.nrRollUpRows;j++)this.rows[n-this.nrRollUpRows+j+1].copy(P.rows[w+j])}}this.currRow=n;const o=this.rows[this.currRow];if(t.indent!==null){const w=t.indent,P=Math.max(w-1,0);o.setCursor(t.indent),t.color=o.chars[P].penState.foreground}const m={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(m)}setBkgData(t){this.logger.log(2,()=>"bkgData = "+Nn(t)),this.backSpace(),this.setPen(t),this.insertChar(32)}setRollUpRows(t){this.nrRollUpRows=t}rollUp(){if(this.nrRollUpRows===null){this.logger.log(3,"roll_up but nrRollUpRows not set yet");return}this.logger.log(1,()=>this.getDisplayText());const t=this.currRow+1-this.nrRollUpRows,n=this.rows.splice(t,1)[0];n.clear(),this.rows.splice(this.currRow,0,n),this.logger.log(2,"Rolling up")}getDisplayText(t){t=t||!1;const n=[];let o="",m=-1;for(let w=0;w<$i;w++){const P=this.rows[w].getTextString();P&&(m=w+1,t?n.push("Row "+m+": '"+P+"'"):n.push(P.trim()))}return n.length>0&&(t?o="["+n.join(" | ")+"]":o=n.join(`
|
|
|
`)),o}getTextAndFormat(){return this.rows}}class Bi{constructor(t,n,o){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 Wi(o),this.nonDisplayedMemory=new Wi(o),this.lastOutputScreen=new Wi(o),this.currRollUpRow=this.displayedMemory.rows[$i-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=o}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[$i-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 o=0;o<t.length;o++)this.writeScreen.insertChar(t[o]);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 o=Math.floor(t/2)-16,m=["white","green","blue","cyan","red","yellow","magenta"];n.foreground=m[o]}this.logger.log(2,"MIDROW: "+Nn(n)),this.writeScreen.setPen(n)}outputDataUpdate(t=!1){const n=this.logger.time;n!==null&&this.outputFilter&&(this.cueStartTime===null&&!this.displayedMemory.isEmpty()?this.cueStartTime=n:this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,n,this.lastOutputScreen),t&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:n),this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(t){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,t,this.displayedMemory),this.cueStartTime=t))}}class es{constructor(t,n,o){this.channels=void 0,this.currentChannel=0,this.cmdHistory=As(),this.logger=void 0;const m=this.logger=new k;this.channels=[null,new Bi(t,n,m),new Bi(t+1,o,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 o=0;o<n.length;o+=2){const m=n[o]&127,w=n[o+1]&127;let P=!1,z=null;if(m===0&&w===0)continue;this.logger.log(3,()=>"["+me([n[o],n[o+1]])+"] -> ("+me([m,w])+")");const H=this.cmdHistory;if(m>=16&&m<=31){if(ii(m,w,H)){Ds(null,null,H),this.logger.log(3,()=>"Repeated command ("+me([m,w])+") is dropped");continue}Ds(m,w,this.cmdHistory),P=this.parseCmd(m,w),P||(P=this.parseMidrow(m,w)),P||(P=this.parsePAC(m,w)),P||(P=this.parseBackgroundAttributes(m,w))}else Ds(null,null,H);if(!P&&(z=this.parseChars(m,w),z)){const se=this.currentChannel;se&&se>0?this.channels[se].insertChars(z):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!P&&!z&&this.logger.log(2,()=>"Couldn't parse cleaned data "+me([m,w])+" orig: "+me([n[o],n[o+1]]))}}parseCmd(t,n){const o=(t===20||t===28||t===21||t===29)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=33&&n<=35;if(!(o||m))return!1;const w=t===20||t===21||t===23?1:2,P=this.channels[w];return t===20||t===21||t===28||t===29?n===32?P.ccRCL():n===33?P.ccBS():n===34?P.ccAOF():n===35?P.ccAON():n===36?P.ccDER():n===37?P.ccRU(2):n===38?P.ccRU(3):n===39?P.ccRU(4):n===40?P.ccFON():n===41?P.ccRDC():n===42?P.ccTR():n===43?P.ccRTD():n===44?P.ccEDM():n===45?P.ccCR():n===46?P.ccENM():n===47&&P.ccEOC():P.ccTO(n-32),this.currentChannel=w,!0}parseMidrow(t,n){let o=0;if((t===17||t===25)&&n>=32&&n<=47){if(t===17?o=1:o=2,o!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const m=this.channels[o];return m?(m.ccMIDROW(n),this.logger.log(3,()=>"MIDROW ("+me([t,n])+")"),!0):!1}return!1}parsePAC(t,n){let o;const m=(t>=17&&t<=23||t>=25&&t<=31)&&n>=64&&n<=127,w=(t===16||t===24)&&n>=64&&n<=95;if(!(m||w))return!1;const P=t<=23?1:2;n>=64&&n<=95?o=P===1?Gs[t]:Uu[t]:o=P===1?ui[t]:C[t];const z=this.channels[P];return z?(z.setPAC(this.interpretPAC(o,n)),this.currentChannel=P,!0):!1}interpretPAC(t,n){let o;const m={color:null,italics:!1,indent:null,underline:!1,row:t};return n>95?o=n-96:o=n-64,m.underline=(o&1)===1,o<=13?m.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(o/2)]:o<=15?(m.italics=!0,m.color="white"):m.indent=Math.floor((o-16)/2)*4,m}parseChars(t,n){let o,m=null,w=null;if(t>=25?(o=2,w=t-8):(o=1,w=t),w>=17&&w<=19){let P;w===17?P=n+80:w===18?P=n+112:P=n+144,this.logger.log(2,()=>"Special char '"+Ml(P)+"' in channel "+o),m=[P]}else t>=32&&t<=127&&(m=n===0?[t]:[t,n]);return m&&this.logger.log(3,()=>"Char codes = "+me(m).join(",")),m}parseBackgroundAttributes(t,n){const o=(t===16||t===24)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=45&&n<=47;if(!(o||m))return!1;let w;const P={};t===16||t===24?(w=Math.floor((n-32)/2),P.background=O[w],n%2===1&&(P.background=P.background+"_semi")):n===45?P.background="transparent":(P.foreground="black",n===47&&(P.underline=!0));const z=t<=23?1:2;return this.channels[z].setBkgData(P),!0}reset(){for(let t=0;t<Object.keys(this.channels).length;t++){const n=this.channels[t];n&&n.reset()}Ds(null,null,this.cmdHistory)}cueSplitAtTime(t){for(let n=0;n<this.channels.length;n++){const o=this.channels[n];o&&o.cueSplitAtTime(t)}}}function Ds(I,t,n){n.a=I,n.b=t}function ii(I,t,n){return n.a===I&&n.b===t}function As(){return{a:null,b:null}}var bo=function(){if(Ms!=null&&Ms.VTTCue)return self.VTTCue;const I=["","lr","rl"],t=["start","middle","end","left","right"];function n(z,H){if(typeof H!="string"||!Array.isArray(z))return!1;const j=H.toLowerCase();return~z.indexOf(j)?j:!1}function o(z){return n(I,z)}function m(z){return n(t,z)}function w(z,...H){let j=1;for(;j<arguments.length;j++){const se=arguments[j];for(const ce in se)z[ce]=se[ce]}return z}function P(z,H,j){const se=this,ce={enumerable:!0};se.hasBeenReset=!1;let xe="",Ie=!1,Oe=z,tt=H,at=j,Nt=null,dr="",ar=!0,Zr="auto",Gr="start",fn=50,Vr="middle",on=50,hn="middle";Object.defineProperty(se,"id",w({},ce,{get:function(){return xe},set:function(qr){xe=""+qr}})),Object.defineProperty(se,"pauseOnExit",w({},ce,{get:function(){return Ie},set:function(qr){Ie=!!qr}})),Object.defineProperty(se,"startTime",w({},ce,{get:function(){return Oe},set:function(qr){if(typeof qr!="number")throw new TypeError("Start time must be set to a number.");Oe=qr,this.hasBeenReset=!0}})),Object.defineProperty(se,"endTime",w({},ce,{get:function(){return tt},set:function(qr){if(typeof qr!="number")throw new TypeError("End time must be set to a number.");tt=qr,this.hasBeenReset=!0}})),Object.defineProperty(se,"text",w({},ce,{get:function(){return at},set:function(qr){at=""+qr,this.hasBeenReset=!0}})),Object.defineProperty(se,"region",w({},ce,{get:function(){return Nt},set:function(qr){Nt=qr,this.hasBeenReset=!0}})),Object.defineProperty(se,"vertical",w({},ce,{get:function(){return dr},set:function(qr){const Gn=o(qr);if(Gn===!1)throw new SyntaxError("An invalid or illegal string was specified.");dr=Gn,this.hasBeenReset=!0}})),Object.defineProperty(se,"snapToLines",w({},ce,{get:function(){return ar},set:function(qr){ar=!!qr,this.hasBeenReset=!0}})),Object.defineProperty(se,"line",w({},ce,{get:function(){return Zr},set:function(qr){if(typeof qr!="number"&&qr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Zr=qr,this.hasBeenReset=!0}})),Object.defineProperty(se,"lineAlign",w({},ce,{get:function(){return Gr},set:function(qr){const Gn=m(qr);if(!Gn)throw new SyntaxError("An invalid or illegal string was specified.");Gr=Gn,this.hasBeenReset=!0}})),Object.defineProperty(se,"position",w({},ce,{get:function(){return fn},set:function(qr){if(qr<0||qr>100)throw new Error("Position must be between 0 and 100.");fn=qr,this.hasBeenReset=!0}})),Object.defineProperty(se,"positionAlign",w({},ce,{get:function(){return Vr},set:function(qr){const Gn=m(qr);if(!Gn)throw new SyntaxError("An invalid or illegal string was specified.");Vr=Gn,this.hasBeenReset=!0}})),Object.defineProperty(se,"size",w({},ce,{get:function(){return on},set:function(qr){if(qr<0||qr>100)throw new Error("Size must be between 0 and 100.");on=qr,this.hasBeenReset=!0}})),Object.defineProperty(se,"align",w({},ce,{get:function(){return hn},set:function(qr){const Gn=m(qr);if(!Gn)throw new SyntaxError("An invalid or illegal string was specified.");hn=Gn,this.hasBeenReset=!0}})),se.displayState=void 0}return P.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},P}();class js{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function to(I){function t(o,m,w,P){return(o|0)*3600+(m|0)*60+(w|0)+parseFloat(P||0)}const n=I.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 bl{constructor(){this.values=Object.create(null)}set(t,n){!this.get(t)&&n!==""&&(this.values[t]=n)}get(t,n,o){return o?this.has(t)?this.values[t]:n[o]:this.has(t)?this.values[t]:n}has(t){return t in this.values}alt(t,n,o){for(let m=0;m<o.length;++m)if(n===o[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 o=parseFloat(n);if(o>=0&&o<=100)return this.set(t,o),!0}return!1}}function Fl(I,t,n,o){const m=o?I.split(o):[I];for(const w in m){if(typeof m[w]!="string")continue;const P=m[w].split(n);if(P.length!==2)continue;const z=P[0],H=P[1];t(z,H)}}const xl=new bo(0,0,""),Bl=xl.align==="middle"?"middle":"center";function Ju(I,t,n){const o=I;function m(){const z=to(I);if(z===null)throw new Error("Malformed timestamp: "+o);return I=I.replace(/^[^\sa-zA-Z-]+/,""),z}function w(z,H){const j=new bl;Fl(z,function(xe,Ie){let Oe;switch(xe){case"region":for(let tt=n.length-1;tt>=0;tt--)if(n[tt].id===Ie){j.set(xe,n[tt].region);break}break;case"vertical":j.alt(xe,Ie,["rl","lr"]);break;case"line":Oe=Ie.split(","),j.integer(xe,Oe[0]),j.percent(xe,Oe[0])&&j.set("snapToLines",!1),j.alt(xe,Oe[0],["auto"]),Oe.length===2&&j.alt("lineAlign",Oe[1],["start",Bl,"end"]);break;case"position":Oe=Ie.split(","),j.percent(xe,Oe[0]),Oe.length===2&&j.alt("positionAlign",Oe[1],["start",Bl,"end","line-left","line-right","auto"]);break;case"size":j.percent(xe,Ie);break;case"align":j.alt(xe,Ie,["start",Bl,"end","left","right"]);break}},/:/,/\s/),H.region=j.get("region",null),H.vertical=j.get("vertical","");let se=j.get("line","auto");se==="auto"&&xl.line===-1&&(se=-1),H.line=se,H.lineAlign=j.get("lineAlign","start"),H.snapToLines=j.get("snapToLines",!0),H.size=j.get("size",100),H.align=j.get("align",Bl);let ce=j.get("position","auto");ce==="auto"&&xl.position===50&&(ce=H.align==="start"||H.align==="left"?0:H.align==="end"||H.align==="right"?100:50),H.position=ce}function P(){I=I.replace(/^\s+/,"")}if(P(),t.startTime=m(),P(),I.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+o);I=I.slice(3),P(),t.endTime=m(),P(),w(I,t)}function Au(I){return I.replace(/<br(?: \/)?>/gi,`
|
|
|
`)}class rc{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new js,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 o(){let w=n.buffer,P=0;for(w=Au(w);P<w.length&&w[P]!=="\r"&&w[P]!==`
|
|
|
`;)++P;const z=w.slice(0,P);return w[P]==="\r"&&++P,w[P]===`
|
|
|
`&&++P,n.buffer=w.slice(P),z}function m(w){Fl(w,function(P,z){},/:/)}try{let w="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;w=o();const z=w.match(/^()?WEBVTT([ \t].*)?$/);if(!(z!=null&&z[0]))throw new Error("Malformed WebVTT signature.");n.state="HEADER"}let P=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(P?P=!1:w=o(),n.state){case"HEADER":/:/.test(w)?m(w):w||(n.state="ID");continue;case"NOTE":w||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(w)){n.state="NOTE";break}if(!w)continue;if(n.cue=new bo(0,0,""),n.state="CUE",w.indexOf("-->")===-1){n.cue.id=w;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{Ju(w,n.cue,n.regionList)}catch(z){n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":{const z=w.indexOf("-->")!==-1;if(!w||z&&(P=!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+=w}continue;case"BADCUE":w||(n.state="ID")}}}catch(w){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 wc=/\r\n|\n\r|\n|\r/g,Cu=function(t,n,o=0){return t.slice(o,o+n.length)===n},ms=function(t){let n=parseInt(t.slice(-3));const o=parseInt(t.slice(-6,-4)),m=parseInt(t.slice(-9,-7)),w=t.length>9?parseInt(t.substring(0,t.indexOf(":"))):0;if(!r(n)||!r(o)||!r(m)||!r(w))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${t}`);return n+=1e3*o,n+=60*1e3*m,n+=60*60*1e3*w,n};function zu(I,t,n){return Qu(I.toString())+Qu(t.toString())+Qu(n)}const nc=function(t,n,o){let m=t[n],w=t[m.prevCC];if(!w||!w.new&&m.new){t.ccOffset=t.presentationOffset=m.start,m.new=!1;return}for(;(P=w)!=null&&P.new;){var P;t.ccOffset+=m.start-w.start,m.new=!1,m=w,w=t[m.prevCC]}t.presentationOffset=o};function Go(I,t,n,o,m,w,P){const z=new rc,H=Q(new Uint8Array(I)).trim().replace(wc,`
|
|
|
`).split(`
|
|
|
`),j=[],se=t?ys(t.baseTime,t.timescale):0;let ce="00:00.000",xe=0,Ie=0,Oe,tt=!0;z.oncue=function(at){const Nt=n[o];let dr=n.ccOffset;const ar=(xe-se)/9e4;if(Nt!=null&&Nt.new&&(Ie!==void 0?dr=n.ccOffset=Nt.start:nc(n,o,ar)),ar){if(!t){Oe=new Error("Missing initPTS for VTT MPEGTS");return}dr=ar-n.presentationOffset}const Zr=at.endTime-at.startTime,Gr=za((at.startTime+dr-Ie)*9e4,m*9e4)/9e4;at.startTime=Math.max(Gr,0),at.endTime=Math.max(Gr+Zr,0);const fn=at.text.trim();at.text=decodeURIComponent(encodeURIComponent(fn)),at.id||(at.id=zu(at.startTime,at.endTime,fn)),at.endTime>0&&j.push(at)},z.onparsingerror=function(at){Oe=at},z.onflush=function(){if(Oe){P(Oe);return}w(j)},H.forEach(at=>{if(tt)if(Cu(at,"X-TIMESTAMP-MAP=")){tt=!1,at.slice(16).split(",").forEach(Nt=>{Cu(Nt,"LOCAL:")?ce=Nt.slice(6):Cu(Nt,"MPEGTS:")&&(xe=parseInt(Nt.slice(7)))});try{Ie=ms(ce)/1e3}catch(Nt){Oe=Nt}return}else at===""&&(tt=!1);z.parse(at+`
|
|
|
`)}),z.flush()}const Zu="stpp.ttml.im1t",wl=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,ic=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Tu={left:"start",center:"center",right:"end",start:"start",end:"end"};function ac(I,t,n,o){const m=bt(new Uint8Array(I),["mdat"]);if(m.length===0){o(new Error("Could not parse IMSC1 mdat"));return}const w=m.map(z=>Q(z)),P=os(t.baseTime,1,t.timescale);try{w.forEach(z=>n(Nl(z,P)))}catch(z){o(z)}}function Nl(I,t){const m=new DOMParser().parseFromString(I,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const w={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},P=Object.keys(w).reduce((ce,xe)=>(ce[xe]=m.getAttribute(`ttp:${xe}`)||w[xe],ce),{}),z=m.getAttribute("xml:space")!=="preserve",H=Hn(Sn(m,"styling","style")),j=Hn(Sn(m,"layout","region")),se=Sn(m,"body","[begin]");return[].map.call(se,ce=>{const xe=Mi(ce,z);if(!xe||!ce.hasAttribute("begin"))return null;const Ie=ua(ce.getAttribute("begin"),P),Oe=ua(ce.getAttribute("dur"),P);let tt=ua(ce.getAttribute("end"),P);if(Ie===null)throw sa(ce);if(tt===null){if(Oe===null)throw sa(ce);tt=Ie+Oe}const at=new bo(Ie-t,tt-t,xe);at.id=zu(at.startTime,at.endTime,at.text);const Nt=j[ce.getAttribute("region")],dr=H[ce.getAttribute("style")],ar=xa(Nt,dr,H),{textAlign:Zr}=ar;if(Zr){const Gr=Tu[Zr];Gr&&(at.lineAlign=Gr),at.align=Zr}return y(at,ar),at}).filter(ce=>ce!==null)}function Sn(I,t,n){const o=I.getElementsByTagName(t)[0];return o?[].slice.call(o.querySelectorAll(n)):[]}function Hn(I){return I.reduce((t,n)=>{const o=n.getAttribute("xml:id");return o&&(t[o]=n),t},{})}function Mi(I,t){return[].slice.call(I.childNodes).reduce((n,o,m)=>{var w;return o.nodeName==="br"&&m?n+`
|
|
|
`:(w=o.childNodes)!=null&&w.length?Mi(o,t):t?n+o.textContent.trim().replace(/\s+/g," "):n+o.textContent},"")}function xa(I,t,n){const o="http://www.w3.org/ns/ttml#styling";let m=null;const w=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],P=I!=null&&I.hasAttribute("style")?I.getAttribute("style"):null;return P&&n.hasOwnProperty(P)&&(m=n[P]),w.reduce((z,H)=>{const j=Ui(t,o,H)||Ui(I,o,H)||Ui(m,o,H);return j&&(z[H]=j),z},{})}function Ui(I,t,n){return I&&I.hasAttributeNS(t,n)?I.getAttributeNS(t,n):null}function sa(I){return new Error(`Could not parse ttml timestamp ${I}`)}function ua(I,t){if(!I)return null;let n=to(I);return n===null&&(wl.test(I)?n=vs(I,t):ic.test(I)&&(n=Gi(I,t))),n}function vs(I,t){const n=wl.exec(I),o=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+o/t.frameRate}function Gi(I,t){const n=ic.exec(I),o=Number(n[1]);switch(n[2]){case"h":return o*3600;case"m":return o*60;case"ms":return o*1e3;case"f":return o/t.frameRate;case"t":return o/t.tickRate}return o}class is{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,o){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=o,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class el{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=pl(),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(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new is(this,"textTrack1"),n=new is(this,"textTrack2"),o=new is(this,"textTrack3"),m=new is(this,"textTrack4");this.cea608Parser1=new es(1,t,n),this.cea608Parser2=new es(3,o,m)}addCues(t,n,o,m,w){let P=!1;for(let z=w.length;z--;){const H=w[z],j=hl(H[0],H[1],n,o);if(j>=0&&(H[0]=Math.min(H[0],n),H[1]=Math.max(H[1],o),P=!0,j/(o-n)>.5))return}if(P||w.push([n,o]),this.config.renderTextTracksNatively){const z=this.captionsTracks[t];this.Cues.newCue(z,n,o,m)}else{const z=this.Cues.newCue(null,n,o,m);this.hls.trigger(s.CUES_PARSED,{type:"captions",cues:z,track:t})}}onInitPtsFound(t,{frag:n,id:o,initPTS:m,timescale:w}){const{unparsedVttFrags:P}=this;o===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:w}),P.length&&(this.unparsedVttFrags=[],P.forEach(z=>{this.onFragLoaded(s.FRAG_LOADED,z)}))}getExistingTrack(t,n){const{media:o}=this;if(o)for(let m=0;m<o.textTracks.length;m++){const w=o.textTracks[m];if(tl(w,{name:t,lang:n,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return w}return null}createCaptionsTrack(t){this.config.renderTextTracksNatively?this.createNativeTrack(t):this.createNonNativeTrack(t)}createNativeTrack(t){if(this.captionsTracks[t])return;const{captionsProperties:n,captionsTracks:o,media:m}=this,{label:w,languageCode:P}=n[t],z=this.getExistingTrack(w,P);if(z)o[t]=z,fl(o[t]),Mo(o[t],m);else{const H=this.createTextTrack("captions",w,P);H&&(H[t]=!0,o[t]=H)}}createNonNativeTrack(t){if(this.nonNativeCaptionsTracks[t])return;const n=this.captionsProperties[t];if(!n)return;const o=n.label,m={_id:t,label:o,kind:"captions",default:n.media?!!n.media.default:!1,closedCaptions:n.media};this.nonNativeCaptionsTracks[t]=m,this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[m]})}createTextTrack(t,n,o){const m=this.media;if(m)return m.addTextTrack(t,n,o)}onMediaAttaching(t,n){this.media=n.media,n.mediaSource||this._cleanTracks()}onMediaDetaching(t,n){const o=!!n.transferMedia;if(this.media=null,o)return;const{captionsTracks:m}=this;Object.keys(m).forEach(w=>{fl(m[w]),delete m[w]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=pl(),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 o=0;o<n.length;o++)fl(n[o])}onSubtitleTracksUpdated(t,n){const o=n.subtitleTracks||[],m=o.some(w=>w.textCodec===Zu);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(lc(this.tracks,o)){this.tracks=o;return}if(this.textTracks=[],this.tracks=o,this.config.renderTextTracksNatively){const P=this.media,z=P?yc(P.textTracks):null;if(this.tracks.forEach((H,j)=>{let se;if(z){let ce=null;for(let xe=0;xe<z.length;xe++)if(z[xe]&&tl(z[xe],H)){ce=z[xe],z[xe]=null;break}ce&&(se=ce)}if(se)fl(se);else{const ce=Hu(H);se=this.createTextTrack(ce,H.name,H.lang),se&&(se.mode="disabled")}se&&this.textTracks.push(se)}),z!=null&&z.length){const H=z.filter(j=>j!==null).map(j=>j.label);H.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${H.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const P=this.tracks.map(z=>({label:z.name,kind:z.type.toLowerCase(),default:z.default,subtitleTrack:z}));this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:P})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(o=>{const m=/(?:CC|SERVICE)([1-4])/.exec(o.instreamId);if(!m)return;const w=`textTrack${m[1]}`,P=this.captionsProperties[w];P&&(P.label=o.name,o.lang&&(P.languageCode=o.lang),P.media=o)})}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 o,m;const{cea608Parser1:w,cea608Parser2:P,lastSn:z}=this,{cc:H,sn:j}=n.frag,se=(o=(m=n.part)==null?void 0:m.index)!=null?o:-1;w&&P&&(j!==z+1||j===z&&se!==this.lastPartIndex+1||H!==this.lastCc)&&(w.reset(),P.reset()),this.lastCc=H,this.lastSn=j,this.lastPartIndex=se}}onFragLoaded(t,n){const{frag:o,payload:m}=n;if(o.type===u.SUBTITLE)if(m.byteLength){const w=o.decryptdata,P="stats"in n;if(w==null||!w.encrypted||P){const z=this.tracks[o.level],H=this.vttCCs;H[o.cc]||(H[o.cc]={start:o.start,prevCC:this.prevCC,new:!0},this.prevCC=o.cc),z&&z.textCodec===Zu?this._parseIMSC1(o,m):this._parseVTTs(n)}}else this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const o=this.hls;ac(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{o.logger.log(`Failed to parse IMSC1: ${m}`),o.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:o,payload:m}=t,{initPTS:w,unparsedVttFrags:P}=this,z=w.length-1;if(!w[o.cc]&&z===-1){P.push(t);return}const H=this.hls,j=(n=o.initSegment)!=null&&n.data?Vt(o.initSegment.data,new Uint8Array(m)).buffer:m;Go(j,this.initPTS[o.cc],this.vttCCs,o.cc,o.start,se=>{this._appendCues(se,o.level),H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:o})},se=>{const ce=se.message==="Missing initPTS for VTT MPEGTS";ce?P.push(t):this._fallbackToIMSC1(o,m),H.logger.log(`Failed to parse VTT cue: ${se}`),!(ce&&z>o.cc)&&H.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:o,error:se})})}_fallbackToIMSC1(t,n){const o=this.tracks[t.level];o.textCodec||ac(n,this.initPTS[t.cc],()=>{o.textCodec=Zu,this._parseIMSC1(t,n)},()=>{o.textCodec="wvtt"})}_appendCues(t,n){const o=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(w=>gc(m,w))}else{const m=this.tracks[n];if(!m)return;const w=m.default?"default":"subtitles"+n;o.trigger(s.CUES_PARSED,{type:"subtitles",cues:t,track:w})}}onFragDecrypted(t,n){const{frag:o}=n;o.type===u.SUBTITLE&&this.onFragLoaded(s.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:o,samples:m}=n;if(!(o.type===u.MAIN&&this.closedCaptionsForLevel(o)==="NONE"))for(let w=0;w<m.length;w++){const P=m[w].bytes;if(P){this.cea608Parser1||this.initCea608Parsers();const z=this.extractCea608Data(P);this.cea608Parser1.addData(m[w].pts,z[0]),this.cea608Parser2.addData(m[w].pts,z[1])}}}onBufferFlushing(t,{startOffset:n,endOffset:o,endOffsetSubtitles:m,type:w}){const{media:P}=this;if(!(!P||P.currentTime<o)){if(!w||w==="video"){const{captionsTracks:z}=this;Object.keys(z).forEach(H=>Dl(z[H],n,o))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:z}=this;Object.keys(z).forEach(H=>Dl(z[H],n,m))}}}extractCea608Data(t){const n=[[],[]],o=t[0]&31;let m=2;for(let w=0;w<o;w++){const P=t[m++],z=127&t[m++],H=127&t[m++];if(z===0&&H===0)continue;if((4&P)!==0){const se=3&P;(se===0||se===1)&&(n[se].push(z),n[se].push(H))}}return n}}function Hu(I){return I.characteristics&&/transcribes-spoken-dialog/gi.test(I.characteristics)&&/describes-music-and-sound/gi.test(I.characteristics)?"captions":"subtitles"}function tl(I,t){return!!I&&I.kind===Hu(t)&&ol(t,I)}function hl(I,t,n,o){return Math.min(t,o)-Math.max(I,n)}function pl(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const Df=/\s/,Ef={newCue(I,t,n,o){const m=[];let w,P,z,H,j;const se=self.VTTCue||self.TextTrackCue;for(let xe=0;xe<o.rows.length;xe++)if(w=o.rows[xe],z=!0,H=0,j="",!w.isEmpty()){var ce;for(let tt=0;tt<w.chars.length;tt++)Df.test(w.chars[tt].uchar)&&z?H++:(j+=w.chars[tt].uchar,z=!1);w.cueStartTime=t,t===n&&(n+=1e-4),H>=16?H--:H++;const Ie=Au(j.trim()),Oe=zu(t,n,Ie);I!=null&&(ce=I.cues)!=null&&ce.getCueById(Oe)||(P=new se(t,n,Ie),P.id=Oe,P.line=xe+1,P.align="left",P.position=10+Math.min(80,Math.floor(H*8/32)*10),m.push(P))}return I&&m.length&&(m.sort((xe,Ie)=>xe.line==="auto"||Ie.line==="auto"?0:xe.line>8&&Ie.line>8?Ie.line-xe.line:xe.line-Ie.line),m.forEach(xe=>gc(I,xe))),m}};function $l(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(I){}return!1}const Sf=/(\d+)-(\d+)\/(\d+)/;class Ec{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||Of,this.controller=new self.AbortController,this.stats=new F}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,o){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const w=qc(t,this.controller.signal),P=t.responseType==="arraybuffer",z=P?"byteLength":"length",{maxTimeToFirstByteMs:H,maxLoadTimeMs:j}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=o,this.request=this.fetchSetup(t,w),self.clearTimeout(this.requestTimeout),n.timeout=H&&r(H)?H:j,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Vu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var xe;this.response=this.loader=ce;const Ie=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=j,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},j-(Ie-m.loading.start)),!ce.ok){const{status:tt,statusText:at}=ce;throw new rl(at||"fetch, bad network response",tt,ce)}m.loading.first=Ie,m.total=_l(ce.headers)||m.total;const Oe=(xe=this.callbacks)==null?void 0:xe.onProgress;return Oe&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,Oe):P?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Ie;const Oe=this.response;if(!Oe)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const tt=ce[z];tt&&(m.loaded=m.total=tt);const at={url:Oe.url,data:ce,code:Oe.status},Nt=(xe=this.callbacks)==null?void 0:xe.onProgress;Nt&&!r(n.highWaterMark)&&Nt(m,t,ce,Oe),(Ie=this.callbacks)==null||Ie.onSuccess(at,m,t,Oe)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Ie=ce&&ce.code||0,Oe=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Ie,text:Oe},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,o,m=0,w){const P=new fi,z=t.body.getReader(),H=()=>z.read().then(j=>{if(j.done)return P.dataLength&&w(n,o,P.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const se=j.value,ce=se.length;return n.loaded+=ce,ce<m||P.dataLength?(P.push(se),P.dataLength>=m&&w(n,o,P.flush().buffer,t)):w(n,o,se.buffer,t),H()}).catch(()=>Promise.reject());return H()}}function qc(I,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},I.headers))};return I.rangeEnd&&n.headers.set("Range","bytes="+I.rangeStart+"-"+String(I.rangeEnd-1)),n}function df(I){const t=Sf.exec(I);if(t)return parseInt(t[2])-parseInt(t[1])+1}function _l(I){const t=I.get("Content-Range");if(t){const o=df(t);if(r(o))return o}const n=I.get("Content-Length");if(n)return parseInt(n)}function Of(I,t){return new self.Request(I.url,t)}class rl extends Error{constructor(t,n,o){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=o}}const Fc=/^age:\s*[\d.]+\s*$/im;class Qc{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new F,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,o){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=o,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const o=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const w=this.xhrSetup;w?Promise.resolve().then(()=>{if(!(this.loader!==o||this.stats.aborted))return w(o,n.url)}).catch(P=>{if(!(this.loader!==o||this.stats.aborted))return o.open("GET",n.url,!0),w(o,n.url)}).then(()=>{this.loader!==o||this.stats.aborted||this.openAndSendXhr(o,n,t)}).catch(P=>{var z;(z=this.callbacks)==null||z.onError({code:o.status,text:P.message},n,o,m)}):this.openAndSendXhr(o,n,t)}openAndSendXhr(t,n,o){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:w,maxLoadTimeMs:P}=o.loadPolicy;if(m)for(const z in m)t.setRequestHeader(z,m[z]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),o.timeout=w&&r(w)?w:P,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),o.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:o}=this;if(!t||!n)return;const m=n.readyState,w=this.config;if(!o.aborted&&m>=2&&(o.loading.first===0&&(o.loading.first=Math.max(self.performance.now(),o.loading.start),w.timeout!==w.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),w.timeout=w.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),w.loadPolicy.maxLoadTimeMs-(o.loading.first-o.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const j=n.status,se=n.responseType==="text"?n.responseText:null;if(j>=200&&j<300){const Oe=se!=null?se:n.response;if(Oe!=null){var P,z;o.loading.end=Math.max(self.performance.now(),o.loading.first);const tt=n.responseType==="arraybuffer"?Oe.byteLength:Oe.length;o.loaded=o.total=tt,o.bwEstimate=o.total*8e3/(o.loading.end-o.loading.first);const at=(P=this.callbacks)==null?void 0:P.onProgress;at&&at(o,t,Oe,n);const Nt={url:n.responseURL,data:Oe,code:j};(z=this.callbacks)==null||z.onSuccess(Nt,o,t,n);return}}const ce=w.loadPolicy.errorRetry,xe=o.retry,Ie={url:t.url,data:void 0,code:j};if(Ze(ce,xe,!1,Ie))this.retry(ce);else{var H;G.error(`${j} while loading ${t.url}`),(H=this.callbacks)==null||H.onError({code:j,text:n.statusText},t,n,o)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(Ze(t,n,!0))this.retry(t);else{var o;G.warn(`timeout while loading ${(o=this.context)==null?void 0:o.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:o}=this;this.retryDelay=Ir(t,o.retry),o.retry++,G.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${o.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&&Fc.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 Vo={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Jc=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:Qc,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Zi,bufferController:ou,capLevelController:Pc,errorController:ir,fpsController:cl,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:Wa,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:Vo},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},hf()),{},{subtitleStreamController:ff,subtitleTrackController:Kc,timelineController:el,audioStreamController:Gl,audioTrackController:Cc,emeController:Su,cmcdController:go,contentSteeringController:jo,interstitialsController:xc});function hf(){return{cueHandler:Ef,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 ml(I,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 o=jl(I),m=["manifest","level","frag"],w=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(P=>{const z=`${P==="level"?"playlist":P}LoadPolicy`,H=t[z]===void 0,j=[];w.forEach(se=>{const ce=`${P}Loading${se}`,xe=t[ce];if(xe!==void 0&&H){j.push(ce);const Ie=o[z].default;switch(t[z]={default:Ie},se){case"TimeOut":Ie.maxLoadTimeMs=xe,Ie.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Ie.errorRetry.maxNumRetry=xe,Ie.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Ie.errorRetry.retryDelayMs=xe,Ie.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Ie.errorRetry.maxRetryDelayMs=xe,Ie.timeoutRetry.maxRetryDelayMs=xe;break}}}),j.length&&n.warn(`hls.js config: "${j.join('", "')}" setting(s) are deprecated, use "${z}": ${Nn(t[z])}`)}),b(b({},o),t)}function jl(I){return I&&typeof I=="object"?Array.isArray(I)?I.map(jl):Object.keys(I).reduce((t,n)=>(t[n]=jl(I[n]),t),{}):I}function Ko(I,t){const n=I.loader;n!==Ec&&n!==Qc?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),I.progressive=!1):$l()&&(I.loader=Ec,I.progressive=!0,I.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Sc=2,pf=.1,Bc=.05,Nc=100;class _f extends Us{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var o;(o=this.media)!=null&&o.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var o;this.ended=((o=this.media)==null?void 0:o.currentTime)||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.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(Nc),this.mediaSource=n.mediaSource;const o=this.media=n.media;lu(o,"playing",this.onMediaPlaying),lu(o,"waiting",this.onMediaWaiting),lu(o,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:o}=this;o&&(Uo(o,"playing",this.onMediaPlaying),Uo(o,"waiting",this.onMediaWaiting),Uo(o,"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 o,m;const w=(o=this.hls)==null?void 0:o.config;if(!w)return;const{media:P,stalled:z}=this;if(!P)return;const{seeking:H}=P,j=this.seeking&&!H,se=!this.seeking&&H,ce=P.paused&&!H||P.ended||P.playbackRate===0;if(this.seeking=H,t!==n){n&&(this.ended=0),this.moved=!0,H||(this.nudgeRetry=0,w.nudgeOnVideoHole&&!ce&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(se||j){j&&this.stallResolved(t);return}if(ce){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&P.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1}));return}if(!Ci.getBuffered(P).length){this.nudgeRetry=0;return}const xe=Ci.bufferInfo(P,t,0),Ie=xe.nextStart||0,Oe=this.fragmentTracker;if(H&&Oe&&this.hls){const fn=$c(this.hls.inFlightFragments,t),Vr=xe.len>Sc,on=!Ie||fn||Ie-t>Sc&&!Oe.getPartialFragment(t);if(Vr||on)return;this.moved=!1}const tt=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Oe){if(!(xe.len>0)&&!Ie)return;const Vr=Math.max(Ie,xe.start||0)-t,hn=!!(tt!=null&&tt.live)?tt.targetduration*2:Sc,qr=Oe.getPartialFragment(t);if(Vr>0&&(Vr<=hn||qr)){P.paused||this._trySkipBufferHole(qr);return}}const at=w.detectStallWithCurrentTimeMs,Nt=self.performance.now(),dr=this.waiting;if(z===null){dr>0&&Nt-dr<at?this.stalled=dr:this.stalled=Nt;return}const ar=Nt-z;if(!H&&(ar>=at||dr)&&this.hls){var Zr;if(((Zr=this.mediaSource)==null?void 0:Zr.readyState)==="ended"&&!(tt!=null&&tt.live)&&Math.abs(t-((tt==null?void 0:tt.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(xe),!this.media||!this.hls)return}const Gr=Ci.bufferInfo(P,t,w.maxBufferHole);this._tryFixBufferStall(Gr,ar)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const o=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(o)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(s.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var o;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(o=this.buffered.audio)!=null&&o.length&&m&&m.length>1&&t>m.end(0)){const w=Ci.bufferedInfo(Ci.timeRangesToArray(this.buffered.audio),t,0);if(w.len>1&&n>=w.start){const P=Ci.timeRangesToArray(m),z=Ci.bufferedInfo(P,n,0).bufferedIndex;if(z>-1&&z<P.length-1){const H=Ci.bufferedInfo(P,t,0).bufferedIndex,j=P[z].end,se=P[z+1].start;if((H===-1||H>z)&&se-j<1&&t-j<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${j} -> ${se} buffered index: ${H}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Ie=Ci.bufferInfo(this.media,t,0);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:xe,buffer:Ie.len,bufferInfo:Ie})}}}}}_tryFixBufferStall(t,n){var o,m;const{fragmentTracker:w,media:P}=this,z=(o=this.hls)==null?void 0:o.config;if(!P||!w||!z)return;const H=P.currentTime,j=(m=this.hls)==null?void 0:m.latestLevelDetails,se=w.getPartialFragment(H);if((se||j!=null&&j.live&&H<j.fragmentStart)&&(this._trySkipBufferHole(se)||!this.media))return;const ce=t.buffered;(ce&&ce.length>1&&t.len>z.maxBufferHole||t.nextStart&&t.nextStart-H<z.maxBufferHole)&&(n>z.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}_reportStall(t){const{hls:n,media:o,stallReported:m,stalled:w}=this;if(!m&&w!==null&&o&&n){this.stallReported=!0;const P=new Error(`Playback stalling at @${o.currentTime} due to low buffer (${Nn(t)})`);this.warn(P.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:P,buffer:t.len,bufferInfo:t,stalled:{start:w}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:o,media:m}=this,w=(n=this.hls)==null?void 0:n.config;if(!m||!o||!w)return 0;const P=m.currentTime,z=Ci.bufferInfo(m,P,0),H=P<z.start?z.start:z.nextStart;if(H&&this.hls){const se=z.len<=w.maxBufferHole,ce=z.len>0&&z.len<1&&m.readyState<3,xe=H-P;if(xe>0&&(se||ce)){if(xe>w.maxBufferHole){let Oe=!1;if(P===0){const tt=o.getAppendedFrag(0,u.MAIN);tt&&H<tt.end&&(Oe=!0)}if(!Oe){const tt=t||o.getAppendedFrag(P,u.MAIN);if(tt){var j;if(!((j=this.hls.loadLevelObj)!=null&&j.details)||$c(this.hls.inFlightFragments,H))return 0;let Nt=!1,dr=tt.end;for(;dr<H;){const ar=o.getPartialFragment(dr);if(ar)dr+=ar.duration;else{Nt=!0;break}}if(Nt)return 0}}}const Ie=Math.max(H+Bc,P+pf);if(this.warn(`skipping hole, adjusting currentTime from ${P} to ${Ie}`),this.moved=!0,m.currentTime=Ie,!(t!=null&&t.gap)){const Oe=new Error(`fragment loaded with buffer holes, seeking from ${P} to ${Ie}`);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Oe,reason:Oe.message,frag:t||void 0,buffer:z.len,bufferInfo:z})}return Ie}}return 0}_tryNudgeBuffer(t){const{hls:n,media:o,nudgeRetry:m}=this,w=n==null?void 0:n.config;if(!o||!w)return 0;const P=o.currentTime;if(this.nudgeRetry++,m<w.nudgeMaxRetry){const z=P+(m+1)*w.nudgeOffset,H=new Error(`Nudging 'currentTime' from ${P} to ${z}`);this.warn(H.message),o.currentTime=z,n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:H,fatal:!1,buffer:t.len,bufferInfo:t})}else{const z=new Error(`Playhead still not moving while enough data buffered @${P} after ${w.nudgeMaxRetry} nudges`);this.error(z.message),n.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:z,fatal:!0,buffer:t.len,bufferInfo:t})}}}function $c(I,t){const n=Af(I.main);if(n&&n.start<=t)return n;const o=Af(I.audio);return o&&o.start<=t?o:null}function Af(I){if(!I)return null;switch(I.state){case zr.IDLE:case zr.STOPPED:case zr.ENDED:case zr.ERROR:return null}return I.frag}const Mf=.25;function jc(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function Ff(I,t,n,o,m){let w=new I(t,n,"");try{w.value=o,m&&(w.type=m)}catch(P){w=new I(t,n,Nn(m?b({type:m},o):o))}return w}const ef=(()=>{const I=jc();try{I&&new I(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function mf(I){return Uint8Array.from(I.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Hf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(s.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var o;this.media=n.media,((o=n.overrides)==null?void 0:o.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&fl(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 o=t[n];if(o.kind==="metadata"&&o.label==="id3")return Mo(o,this.media),o}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:o,enableID3MetadataCues:m}}}=this;if(!o&&!m)return;const{samples:w}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const P=jc();if(P)for(let z=0;z<w.length;z++){const H=w[z].type;if(H===Se.emsg&&!o||!m)continue;const j=Va(w[z].data);if(j){const se=w[z].pts;let ce=se+w[z].duration;ce>ef&&(ce=ef),ce-se<=0&&(ce=se+Mf);for(let Ie=0;Ie<j.length;Ie++){const Oe=j[Ie];if(!Is(Oe)){this.updateId3CueEnds(se,H);const tt=Ff(P,se,ce,Oe,H);tt&&this.id3Track.addCue(tt)}}}}}updateId3CueEnds(t,n){var o;const m=(o=this.id3Track)==null?void 0:o.cues;if(m)for(let w=m.length;w--;){const P=m[w];P.type===n&&P.startTime<t&&P.endTime===ef&&(P.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:o,type:m}){const{id3Track:w,hls:P}=this;if(!P)return;const{config:{enableEmsgMetadataCues:z,enableID3MetadataCues:H}}=P;if(w&&(z||H)){let j;m==="audio"?j=se=>se.type===Se.audioId3&&H:m==="video"?j=se=>se.type===Se.emsg&&z:j=se=>se.type===Se.audioId3&&H||se.type===Se.emsg&&z,Dl(w,n,o,j)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:o}=this,{dateRanges:m}=t,w=Object.keys(m);let P=this.dateRangeCuesAppended;if(o&&n){var z;if((z=o.cues)!=null&&z.length){const se=Object.keys(P).filter(ce=>!w.includes(ce));for(let ce=se.length;ce--;){const xe=se[ce],Ie=P[xe].cues;delete P[xe],Object.keys(Ie).forEach(Oe=>{try{const tt=Ie[Oe];tt.removeEventListener("enter",this.onEventCueEnter),o.removeCue(tt)}catch(tt){}})}}else P=this.dateRangeCuesAppended={}}const H=t.fragments[t.fragments.length-1];if(w.length===0||!r(H==null?void 0:H.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const j=jc();for(let se=0;se<w.length;se++){const ce=w[se],xe=m[ce],Ie=xe.startTime,Oe=P[ce],tt=(Oe==null?void 0:Oe.cues)||{};let at=(Oe==null?void 0:Oe.durationKnown)||!1,Nt=ef;const{duration:dr,endDate:ar}=xe;if(ar&&dr!==null)Nt=Ie+dr,at=!0;else if(xe.endOnNext&&!at){const Gr=w.reduce((fn,Vr)=>{if(Vr!==xe.id){const on=m[Vr];if(on.class===xe.class&&on.startDate>xe.startDate&&(!fn||xe.startDate<fn.startDate))return on}return fn},null);Gr&&(Nt=Gr.startTime,at=!0)}const Zr=Object.keys(xe.attr);for(let Gr=0;Gr<Zr.length;Gr++){const fn=Zr[Gr];if(!kn(fn))continue;const Vr=tt[fn];if(Vr)at&&!Oe.durationKnown?Vr.endTime=Nt:Math.abs(Vr.startTime-Ie)>.01&&(Vr.startTime=Ie,Vr.endTime=Nt);else if(j){let on=xe.attr[fn];Qa(fn)&&(on=mf(on));const qr=Ff(j,Ie,Nt,{key:fn,data:on},Se.dateRange);qr&&(qr.id=ce,this.id3Track.addCue(qr),tt[fn]=qr,this.hls.config.interstitialsController&&(fn==="X-ASSET-LIST"||fn==="X-ASSET-URL")&&qr.addEventListener("enter",this.onEventCueEnter))}}P[ce]={cues:tt,dateRange:xe,durationKnown:at}}}}class Cf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,o=this.levelDetails;if(!n||!o)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:w,maxLiveSyncPlaybackRate:P}=this.config;if(!w||P===1||!o.live)return;const z=this.targetLatency;if(z===null)return;const H=m-z,j=Math.min(this.maxLatency,z+o.targetduration);if(H<j&&H>.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,P)),xe=Math.round(2/(1+Math.exp(-.75*H-this.edgeStalled))*20)/20,Ie=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Ie)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:o,targetduration:m}=t,{liveSyncDuration:w,liveSyncDurationCount:P,lowLatencyMode:z}=this.config,H=this.hls.userConfig;let j=z&&o||n;(this._targetLatencyUpdated||H.liveSyncDuration||H.liveSyncDurationCount||j===0)&&(j=w!==void 0?w:P*m);const se=m;return j+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,se)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const o=this.levelDetails;if(o===null)return null;const m=o.edge,w=t-n-this.edgeStalled,P=m-o.totalduration,z=m-(this.config.lowLatencyMode&&o.partTarget||o.targetduration);return Math.min(Math.max(P,w),z)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const o=t.buffered.length;return(o?t.buffered.end(o-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.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 o;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(o=this.levelDetails)!=null&&o.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var o,m;t.playbackRate!==n&&((o=this.hls)==null||o.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Bf extends yu{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(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.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 o=this.hls.config.preferManagedMediaSource,m=[],w={},P={};let z=!1,H=!1,j=!1;n.levels.forEach(se=>{var ce;const xe=se.attrs;let{audioCodec:Ie,videoCodec:Oe}=se;Ie&&(se.audioCodec=Ie=At(Ie,o)||void 0),((ce=Oe)==null?void 0:ce.indexOf("avc1"))===0&&(Oe=se.videoCodec=Ar(Oe));const{width:tt,height:at,unknownCodecs:Nt}=se;let dr=Nt?Nt.length:0;if(Nt)for(let Gn=dr;Gn--;){const ci=Nt[Gn];this.isAudioSupported(ci)?(se.audioCodec=Ie=Ie?`${Ie},${ci}`:ci,dr--,Zt.audio[Ie.substring(0,4)]=2):this.isVideoSupported(ci)&&(se.videoCodec=Oe=Oe?`${Oe},${ci}`:ci,dr--,Zt.video[Oe.substring(0,4)]=2)}if(z||(z=!!(tt&&at)),H||(H=!!Oe),j||(j=!!Ie),dr||Ie&&!this.isAudioSupported(Ie)||Oe&&!this.isVideoSupported(Oe)){this.log(`Some or all CODECS not supported "${xe.CODECS}"`);return}const{CODECS:ar,"FRAME-RATE":Zr,"HDCP-LEVEL":Gr,"PATHWAY-ID":fn,RESOLUTION:Vr,"VIDEO-RANGE":on}=xe,qr=`${`${fn||"."}-`}${se.bitrate}-${Vr}-${Zr}-${ar}-${on}-${Gr}`;if(w[qr])if(w[qr].uri!==se.url&&!se.attrs["PATHWAY-ID"]){const Gn=P[qr]+=1;se.attrs["PATHWAY-ID"]=new Array(Gn+1).join(".");const ci=this.createLevel(se);w[qr]=ci,m.push(ci)}else w[qr].addGroupId("audio",xe.AUDIO),w[qr].addGroupId("text",xe.SUBTITLES);else{const Gn=this.createLevel(se);w[qr]=Gn,P[qr]=1,m.push(Gn)}}),this.filterAndSortMediaOptions(m,n,z,H,j)}createLevel(t){const n=new mr(t),o=t.supplemental;if(o!=null&&o.videoCodec&&!this.isVideoSupported(o.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${o.videoCodec}"`);this.log(m.message),n.supportedResult=cn(m,[])}return n}isAudioSupported(t){return ke(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return ke(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,o,m,w){let P=[],z=[],H=t;if((o||m)&&w&&(H=H.filter(({videoCodec:at,videoRange:Nt,width:dr,height:ar})=>(!!at||!!(dr&&ar))&&ot(Nt))),H.length===0){Promise.resolve().then(()=>{if(this.hls){let at="no level with compatible codecs found in manifest",Nt=at;n.levels.length&&(Nt=`one or more CODECS in variant not supported: ${Nn(n.levels.map(ar=>ar.attrs.CODECS).filter((ar,Zr,Gr)=>Gr.indexOf(ar)===Zr))}`,this.warn(Nt),at+=` (${Nt})`);const dr=new Error(at);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:dr,reason:Nt})}});return}n.audioTracks&&(P=n.audioTracks.filter(at=>!at.audioCodec||this.isAudioSupported(at.audioCodec)),Nf(P)),n.subtitles&&(z=n.subtitles,Nf(z));const j=H.slice(0);H.sort((at,Nt)=>{if(at.attrs["HDCP-LEVEL"]!==Nt.attrs["HDCP-LEVEL"])return(at.attrs["HDCP-LEVEL"]||"")>(Nt.attrs["HDCP-LEVEL"]||"")?1:-1;if(o&&at.height!==Nt.height)return at.height-Nt.height;if(at.frameRate!==Nt.frameRate)return at.frameRate-Nt.frameRate;if(at.videoRange!==Nt.videoRange)return yr.indexOf(at.videoRange)-yr.indexOf(Nt.videoRange);if(at.videoCodec!==Nt.videoCodec){const dr=Ke(at.videoCodec),ar=Ke(Nt.videoCodec);if(dr!==ar)return ar-dr}if(at.uri===Nt.uri&&at.codecSet!==Nt.codecSet){const dr=gt(at.codecSet),ar=gt(Nt.codecSet);if(dr!==ar)return ar-dr}return at.averageBitrate!==Nt.averageBitrate?at.averageBitrate-Nt.averageBitrate:0});let se=j[0];if(this.steering&&(H=this.steering.filterParsedLevels(H),H.length!==j.length)){for(let at=0;at<j.length;at++)if(j[at].pathwayId===H[0].pathwayId){se=j[at];break}}this._levels=H;for(let at=0;at<H.length;at++)if(H[at]===se){var ce;this._firstLevel=at;const Nt=se.bitrate,dr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${H.length} level(s) found, first bitrate: ${Nt}`),((ce=this.hls.userConfig)==null?void 0:ce.abrEwmaDefaultEstimate)===void 0){const ar=Math.min(Nt,this.hls.config.abrEwmaDefaultEstimateMax);ar>dr&&dr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ar)}break}const xe=w&&!m,Ie=this.hls.config,Oe=!!(Ie.audioStreamController&&Ie.audioTrackController),tt={levels:H,audioTracks:P,subtitleTracks:z,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:w,video:m,altAudio:Oe&&!xe&&P.some(at=>!!at.url)};this.hls.trigger(s.MANIFEST_PARSED,tt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const se=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:se,reason:se.message}),ce)return;t=Math.min(t,n.length-1)}const o=this.currentLevelIndex,m=this.currentLevel,w=m?m.attrs["PATHWAY-ID"]:void 0,P=n[t],z=P.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=P,o===t&&m&&w===z)return;this.log(`Switching to level ${t} (${P.height?P.height+"p ":""}${P.videoRange?P.videoRange+" ":""}${P.codecSet?P.codecSet+" ":""}@${P.bitrate})${z?" with Pathway "+z:""} from level ${o}${w?" with Pathway "+w:""}`);const H={level:t,attrs:P.attrs,details:P.details,bitrate:P.bitrate,averageBitrate:P.averageBitrate,maxBitrate:P.maxBitrate,realBitrate:P.realBitrate,width:P.width,height:P.height,codecSet:P.codecSet,audioCodec:P.audioCodec,videoCodec:P.videoCodec,audioGroups:P.audioGroups,subtitleGroups:P.subtitleGroups,loaded:P.loaded,loadError:P.loadError,fragmentError:P.fragmentError,name:P.name,id:P.id,uri:P.uri,url:P.url,urlId:0,audioGroupIds:P.audioGroupIds,textGroupIds:P.textGroupIds};this.hls.trigger(s.LEVEL_SWITCHING,H);const j=P.details;if(!j||j.live){const se=this.switchParams(P.uri,m==null?void 0:m.details,j);this.loadPlaylist(se)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),o=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=o}}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 o=n.elementaryStreams;if(!Object.keys(o).some(w=>!!o[w]))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 o;const{level:m,details:w}=n,P=n.levelInfo;if(!P){var z;this.warn(`Invalid level index ${m}`),(z=n.deliveryDirectives)!=null&&z.skip&&(w.deltaUpdateFailed=!0);return}if(P===this.currentLevel||n.withoutMultiVariant){P.fragmentError===0&&(P.loadError=0);let H=P.details;H===n.details&&H.advanced&&(H=void 0),this.playlistLoaded(m,n,H)}else(o=n.deliveryDirectives)!=null&&o.skip&&(w.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const o=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,w=t.attrs["PATHWAY-ID"],P=t.details,z=P==null?void 0:P.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${w?" Pathway "+w:""}${z&&P.live?" age "+z.toFixed(1)+(P.type?" "+P.type||0:""):""} ${o}`),this.hls.trigger(s.LEVEL_LOADING,{url:o,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 o=this._levels.filter((w,P)=>P!==t?!0:(this.steering&&this.steering.removeLevel(w),w===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,w.details&&w.details.fragments.forEach(z=>z.level=-1)),!1));jn(o),this._levels=o,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=o.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(s.LEVELS_UPDATED,{levels:o})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:o}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(s.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:o}))}}function Nf(I){const t={};I.forEach(n=>{const o=n.groupId||"";n.id=t[o]=t[o]||0,t[o]++})}function tf(){return self.SourceBuffer||self.WebKitSourceBuffer}function $f(){if(!oe())return!1;const t=tf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Tf(){if(!$f())return!1;const I=oe();return typeof(I==null?void 0:I.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>I.isTypeSupported(be(t,"video")))||["mp4a.40.2","fLaC"].some(t=>I.isTypeSupported(be(t,"audio"))))}function v(){var I;const t=tf();return typeof(t==null||(I=t.prototype)==null?void 0:I.changeType)=="function"}const A=100;class Z extends Ca{constructor(t,n,o){super(t,n,o,"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,w=m?m.currentTime:null;if(w===null||!r(w)||(this.log(`Media seeked to ${w.toFixed(3)}`),!this.getBufferedFrag(w)))return;const P=this.getFwdBufferInfoAtPos(m,w,u.MAIN,0);if(P===null||P.len===0){this.warn(`Main forward buffer length at ${w} on "seeked" event ${P?P.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:o,hls:m}=this;if(this.stopLoad(),this.setInterval(A),this.level=-1,!this.startFragRequested){let w=m.startLevel;w===-1&&(m.config.testBandwidth&&this.levels.length>1?(w=0,this.bitrateTest=!0):w=m.firstAutoLevel),m.nextLoadLevel=w,this.level=m.loadLevel,this._hasEnoughToStart=!!n}o>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${o.toFixed(3)}`),t=o),this.state=zr.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=zr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case zr.WAITING_LEVEL:{const{levels:n,level:o}=this,m=n==null?void 0:n[o],w=m==null?void 0:m.details;if(w&&(!w.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(w))break;this.state=zr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=zr.IDLE;break}break}case zr.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),o=this.retryDate;if(!o||n>=o||(t=this.media)!=null&&t.seeking){const{levels:m,level:w}=this,P=m==null?void 0:m[w];this.resetStartWhenNotLoaded(P||null),this.state=zr.IDLE}}break}this.state===zr.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:o,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const w=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(o!=null&&o[w]))return;const P=o[w],z=this.getMainFwdBufferInfo();if(z===null)return;const H=this.getLevelDetails();if(H&&this._streamEnded(z,H)){const tt={};this.altAudio===2&&(tt.type="video"),this.hls.trigger(s.BUFFER_EOS,tt),this.state=zr.ENDED;return}if(!this.buffering)return;t.loadLevel!==w&&t.manualLevel===-1&&this.log(`Adapting to level ${w} from level ${this.level}`),this.level=t.nextLoadLevel=w;const j=P.details;if(!j||this.state===zr.WAITING_LEVEL||this.waitForLive(P)){this.level=w,this.state=zr.WAITING_LEVEL,this.startFragRequested=!1;return}const se=z.len,ce=this.getMaxBufferLength(P.maxBitrate);if(se>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>z.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:z.end;let Ie=this.getNextFragment(xe,j);if(this.couldBacktrack&&!this.fragPrevious&&Ie&&de(Ie)&&this.fragmentTracker.getState(Ie)!==wr.OK){var Oe;const at=((Oe=this.backtrackFragment)!=null?Oe:Ie).sn-j.startSN,Nt=j.fragments[at-1];Nt&&Ie.cc===Nt.cc&&(Ie=Nt,this.fragmentTracker.removeFragment(Nt))}else this.backtrackFragment&&z.len&&(this.backtrackFragment=null);if(Ie&&this.isLoopLoading(Ie,xe)){if(!Ie.gap){const at=this.audioOnly&&!this.altAudio?M.AUDIO:M.VIDEO,Nt=(at===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Nt&&this.afterBufferFlushed(Nt,at,u.MAIN)}Ie=this.getNextFragmentLoopLoading(Ie,j,z,u.MAIN,ce)}Ie&&(Ie.initSegment&&!Ie.initSegment.data&&!this.bitrateTest&&(Ie=Ie.initSegment),this.loadFragment(Ie,P,xe))}loadFragment(t,n,o){const m=this.fragmentTracker.getState(t);m===wr.NOT_LOADED||m===wr.PARTIAL?de(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,o):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 o;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const w=this.getLevelDetails();if(w!=null&&w.live){const z=this.getMainFwdBufferInfo();if(!z||z.len<w.targetduration*2)return}if(!n.paused&&t){const z=this.hls.nextLoadLevel,H=t[z],j=this.fragLastKbps;j&&this.fragCurrent?o=this.fragCurrent.duration*H.maxBitrate/(1e3*j)+1:o=0}else o=0;const P=this.getBufferedFrag(n.currentTime+o);if(P){const z=this.followingBufferedFrag(P);if(z){this.abortCurrentFrag();const H=z.maxStartPTS?z.maxStartPTS:z.start,j=z.duration,se=Math.max(P.end,H+Math.min(Math.max(j-this.config.maxFragLookUpTolerance,j*(this.couldBacktrack?.5:.125)),j*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(se,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const t=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,t&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.state){case zr.KEY_LOADING:case zr.FRAG_LOADING:case zr.FRAG_LOADING_WAITING_RETRY:case zr.PARSING:case zr.PARSED:this.state=zr.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 o=n.media;lu(o,"playing",this.onMediaPlaying),lu(o,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:o}=this;o&&(Uo(o,"playing",this.onMediaPlaying),Uo(o,"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(s.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 o=!1,m=!1;n.levels.forEach(w=>{const P=w.audioCodec;P&&(o=o||P.indexOf("mp4a.40.2")!==-1,m=m||P.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=o&&m&&!v(),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:o}=this;if(!o||this.state!==zr.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=zr.WAITING_LEVEL)}onLevelLoaded(t,n){var o;const{levels:m,startFragRequested:w}=this,P=n.level,z=n.details,H=z.totalduration;if(!m){this.warn(`Levels were reset while loading level ${P}`);return}this.log(`Level ${P} loaded [${z.startSN},${z.endSN}]${z.lastPartSn?`[part-${z.lastPartSn}-${z.lastPartIndex}]`:""}, cc [${z.startCC}, ${z.endCC}] duration:${H}`);const j=n.levelInfo,se=this.fragCurrent;se&&(this.state===zr.FRAG_LOADING||this.state===zr.FRAG_LOADING_WAITING_RETRY)&&se.level!==n.level&&se.loader&&this.abortCurrentFrag();let ce=0;if(z.live||(o=j.details)!=null&&o.live){var xe;if(this.checkLiveUpdate(z),z.deltaUpdateFailed)return;ce=this.alignPlaylists(z,j.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if(j.details=z,this.levelLastLoaded=j,w||this.setStartPosition(z,ce),this.hls.trigger(s.LEVEL_UPDATED,{details:z,level:P}),this.state===zr.WAITING_LEVEL){if(this.waitForCdnTuneIn(z))return;this.state=zr.IDLE}w&&z.live&&this.synchronizeToLiveEdge(z),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:o}=this;if(!o)return;const m=this.hls.liveSyncPosition,w=this.getLoadPosition(),P=t.fragmentStart,z=t.edge,H=w>=P-n.maxFragLookUpTolerance&&w<=z;if(m!==null&&o.duration>m&&(w<m||!H)){const j=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;(!H&&o.readyState<4||w<z-j)&&(this._hasEnoughToStart||(this.nextLoadPosition=m),o.readyState&&(this.warn(`Playback: ${w.toFixed(3)} is located too far from the end of live sliding playlist: ${z}, reset currentTime to : ${m.toFixed(3)}`),o.currentTime=m))}}_handleFragmentLoadProgress(t){var n;const o=t.frag,{part:m,payload:w}=t,{levels:P}=this;if(!P){this.warn(`Levels were reset while fragment load was in progress. Fragment ${o.sn} of level ${o.level} will not be buffered`);return}const z=P[o.level];if(!z){this.warn(`Level ${o.level} not found on progress`);return}const H=z.details;if(!H){this.warn(`Dropping fragment ${o.sn} of level ${o.level} after level details were reset`),this.fragmentTracker.removeFragment(o);return}const j=z.videoCodec,se=H.PTSKnown||!H.live,ce=(n=o.initSegment)==null?void 0:n.data,xe=this._getAudioCodec(z),Ie=this.transmuxer=this.transmuxer||new Zo(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Oe=m?m.index:-1,tt=Oe!==-1,at=new ja(o.level,o.sn,o.stats.chunkCount,w.byteLength,Oe,tt),Nt=this.initPTS[o.cc];Ie.push(w,ce,xe,j,o,m,H.totalduration,se,at,Nt)}onAudioTrackSwitching(t,n){const o=this.hls,m=this.altAudio===2;if(qn(n.url,o))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 P=this.fragCurrent;P&&(this.log("Switching to main audio track, cancel main fragment load"),P.abortRequests(),this.fragmentTracker.removeFragment(P)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),o.once(s.BUFFER_FLUSHED,()=>{var P;(P=this.hls)==null||P.trigger(s.AUDIO_TRACK_SWITCHED,n)}),o.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}o.trigger(s.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const o=qn(n.url,this.hls);if(o){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=o?2:0,this.tick()}onBufferCreated(t,n){const o=n.tracks;let m,w,P=!1;for(const z in o){const H=o[z];if(H.id==="main"){if(w=z,m=H,z==="video"){const j=o[z];j&&(this.videoBuffer=j.buffer)}}else P=!0}P&&m?(this.log(`Alternate track found, use ${w}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:o,part:m}=n,w=o.type===u.MAIN;if(w){if(this.fragContextChanged(o)){this.warn(`Fragment ${o.sn}${m?" p: "+m.index:""} of level ${o.level} finished buffering, but was aborted. state: ${this.state}`),this.state===zr.PARSED&&(this.state=zr.IDLE);return}const z=m?m.stats:o.stats;this.fragLastKbps=Math.round(8*z.total/(z.buffering.end-z.loading.first)),de(o)&&(this.fragPrevious=o),this.fragBufferedComplete(o,m)}const P=this.media;P&&(!this._hasEnoughToStart&&Ci.getBuffered(P).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),w&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var o;if(n.fatal){this.state=zr.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===zr.WAITING_LEVEL&&((o=n.context)==null?void 0:o.type)===h.LEVEL&&(this.state=zr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=zr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==M.AUDIO||!this.altAudio){const o=(n===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;o&&(this.afterBufferFlushed(o,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 o=this.startPosition;if(o>=0&&n<o){if(t.seeking){this.log(`could not seek to ${o}, already seeking at ${n}`);return}const m=this.timelineOffset;m&&o&&(o+=m);const w=this.getLevelDetails(),P=Ci.getBuffered(t),z=P.length?P.start(0):0,H=z-o,j=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);H>0&&(H<j||this.loadingParts&&H<2*((w==null?void 0:w.partTarget)||0))&&(this.log(`adjusting start position by ${H} to match buffer start`),o+=H,this.startPosition=o),n<o&&(this.log(`seek to target start position ${o} from current time ${n} buffer start ${z}`),t.currentTime=o)}}_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(o=>{const{hls:m}=this,w=o==null?void 0:o.frag;if(!w||this.fragContextChanged(w))return;n.fragmentError=0,this.state=zr.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const P=w.stats;P.parsing.start=P.parsing.end=P.buffering.start=P.buffering.end=self.performance.now(),m.trigger(s.FRAG_LOADED,o),w.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const o=this.playlistType,{hls:m}=this,{remuxResult:w,chunkMeta:P}=t,z=this.getCurrentContext(P);if(!z){this.resetWhenMissingContext(P);return}const{frag:H,part:j,level:se}=z,{video:ce,text:xe,id3:Ie,initSegment:Oe}=w,{details:tt}=se,at=this.altAudio?void 0:w.audio;if(this.fragContextChanged(H)){this.fragmentTracker.removeFragment(H);return}if(this.state=zr.PARSING,Oe){if(Oe!=null&&Oe.tracks){const ar=H.initSegment||H;this._bufferInitSegment(se,Oe.tracks,ar,P),m.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:ar,id:o,tracks:Oe.tracks})}const Nt=Oe.initPTS,dr=Oe.timescale;r(Nt)&&(this.initPTS[H.cc]={baseTime:Nt,timescale:dr},m.trigger(s.INIT_PTS_FOUND,{frag:H,id:o,initPTS:Nt,timescale:dr}))}if(ce&&tt){at&&ce.type==="audiovideo"&&this.logMuxedErr(H);const Nt=tt.fragments[H.sn-1-tt.startSN],dr=H.sn===tt.startSN,ar=!Nt||H.cc>Nt.cc;if(w.independent!==!1){const{startPTS:Zr,endPTS:Gr,startDTS:fn,endDTS:Vr}=ce;if(j)j.elementaryStreams[ce.type]={startPTS:Zr,endPTS:Gr,startDTS:fn,endDTS:Vr};else if(ce.firstKeyFrame&&ce.independent&&P.id===1&&!ar&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const on=this.getMainFwdBufferInfo(),hn=(on?on.end:this.getLoadPosition())+this.config.maxBufferHole,qr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:Zr;if(!dr&&hn<qr-this.config.maxBufferHole&&!ar){this.backtrack(H);return}else ar&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,H.start,Gr,H.start,Vr,!0)}else dr&&Zr-(tt.appliedTimelineOffset||0)>Sc&&(H.gap=!0);H.setElementaryStreamInfo(ce.type,Zr,Gr,fn,Vr),this.backtrackFragment&&(this.backtrackFragment=H),this.bufferFragmentData(ce,H,j,P,dr||ar)}else if(dr||ar)H.gap=!0;else{this.backtrack(H);return}}if(at){const{startPTS:Nt,endPTS:dr,startDTS:ar,endDTS:Zr}=at;j&&(j.elementaryStreams[M.AUDIO]={startPTS:Nt,endPTS:dr,startDTS:ar,endDTS:Zr}),H.setElementaryStreamInfo(M.AUDIO,Nt,dr,ar,Zr),this.bufferFragmentData(at,H,j,P)}if(tt&&Ie!=null&&(n=Ie.samples)!=null&&n.length){const Nt={id:o,frag:H,details:tt,samples:Ie.samples};m.trigger(s.FRAG_PARSING_METADATA,Nt)}if(tt&&xe){const Nt={id:o,frag:H,details:tt,samples:xe.samples};m.trigger(s.FRAG_PARSING_USERDATA,Nt)}}logMuxedErr(t){this.warn(`${de(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,o,m){if(this.state!==zr.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(o));const{audio:w,video:P,audiovideo:z}=n;if(w){let j=Qr(w.codec,t.audioCodec);j==="mp4a"&&(j="mp4a.40.5");const se=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){j&&(j.indexOf("mp4a.40.5")!==-1?j="mp4a.40.2":j="mp4a.40.5");const ce=w.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&se.indexOf("firefox")===-1&&(j="mp4a.40.5")}j&&j.indexOf("mp4a.40.5")!==-1&&se.indexOf("android")!==-1&&w.container!=="audio/mpeg"&&(j="mp4a.40.2",this.log(`Android: force audio codec to ${j}`)),t.audioCodec&&t.audioCodec!==j&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${j}"`),w.levelCodec=j,w.id=u.MAIN,this.log(`Init audio buffer, container:${w.container}, codecs[selected/level/parsed]=[${j||""}/${t.audioCodec||""}/${w.codec}]`),delete n.audiovideo}if(P){P.levelCodec=t.videoCodec,P.id=u.MAIN;const j=P.codec;if((j==null?void 0:j.length)===4)switch(j){case"hvc1":case"hev1":P.codec="hvc1.1.6.L120.90";break;case"av01":P.codec="av01.0.04M.08";break;case"avc1":P.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${P.container}, codecs[level/parsed]=[${t.videoCodec||""}/${j}]${P.codec!==j?" parsed-corrected="+P.codec:""}${P.supplemental?" supplemental="+P.supplemental:""}`),delete n.audiovideo}z&&(this.log(`Init audiovideo buffer, container:${z.container}, codecs[level/parsed]=[${t.codecs}/${z.codec}]`),delete n.video,delete n.audio);const H=Object.keys(n);if(H.length){if(this.hls.trigger(s.BUFFER_CODECS,n),!this.hls)return;H.forEach(j=>{const ce=n[j].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(s.BUFFER_APPENDING,{type:j,data:ce,frag:o,part:null,chunkMeta:m,parent:o.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,o=t==null?void 0:t[n];return o?this.getMaxBufferLength(o.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=zr.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const o=t.currentTime;if(Ci.isBuffered(t,o)?n=this.getAppendedFrag(o):Ci.isBuffered(t,o+.1)&&(n=this.getAppendedFrag(o+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,w=n.level;(!m||n.sn!==m.sn||m.level!==w)&&(this.fragPlaying=n,this.hls.trigger(s.FRAG_CHANGED,{frag:n}),(!m||m.level!==w)&&this.hls.trigger(s.LEVEL_SWITCHED,{level:w}))}}}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 o=this.getLevelDetails(),m=this.currentFrag||(o?Qn(null,o.fragments,n):null);if(m){const w=m.programDateTime;if(w!==null){const P=w+(n-m.start)*1e3;return new Date(P)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class ve{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const o in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[o].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,o,m,w){return new Ha({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:w,error:o,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled){const{sn:o,cc:m}=t;for(let w=0;w<n.length;w++){const P=n[w];if(m<=P.cc&&(o==="initSegment"||P.sn==="initSegment"||o<P.sn)){this.emeController.selectKeySystemFormat(P).then(z=>{P.setKeyFormat(z)});break}}}}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var o,m;n&&t.setKeyFormat(n);const w=t.decryptdata;if(!w){const j=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,j))}const P=w.uri;if(!P)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${P}"`)));let z=this.keyUriToKeyInfo[P];if((o=z)!=null&&o.decryptdata.key)return w.key=z.decryptdata.key,Promise.resolve({frag:t,keyInfo:z});if((m=z)!=null&&m.keyLoadPromise){var H;switch((H=z.mediaKeySessionContext)==null?void 0:H.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return z.keyLoadPromise.then(j=>(w.key=j.keyInfo.decryptdata.key,{frag:t,keyInfo:z}))}}switch(z=this.keyUriToKeyInfo[P]={decryptdata:w,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},w.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return w.keyFormat==="identity"?this.loadKeyHTTP(z,t):this.loadKeyEME(z,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(z,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${w.method}"`)))}}loadKeyEME(t,n){const o={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(o);if(m)return(t.keyLoadPromise=m.then(w=>(t.mediaKeySessionContext=w,o))).catch(w=>{throw t.keyLoadPromise=null,w})}return Promise.resolve(o)}loadKeyHTTP(t,n){const o=this.config,m=o.loader,w=new m(o);return n.keyLoader=t.loader=w,t.keyLoadPromise=new Promise((P,z)=>{const H={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},j=o.keyLoadPolicy.default,se={loadPolicy:j,timeout:j.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Ie,Oe,tt)=>{const{frag:at,keyInfo:Nt,url:dr}=Oe;if(!at.decryptdata||Nt!==this.keyUriToKeyInfo[dr])return z(this.createKeyLoadError(at,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),tt));Nt.decryptdata.key=at.decryptdata.key=new Uint8Array(xe.data),at.keyLoader=null,Nt.loader=null,P({frag:at,keyInfo:Nt})},onError:(xe,Ie,Oe,tt)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Oe,b({url:H.url,data:void 0},xe)))},onTimeout:(xe,Ie,Oe)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Oe))},onAbort:(xe,Ie,Oe)=>{this.resetLoader(Ie),z(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Oe))}};w.load(H,se,ce)})}resetLoader(t){const{frag:n,keyInfo:o,url:m}=t,w=o.loader;n.keyLoader===w&&(n.keyLoader=null,o.loader=null),delete this.keyUriToKeyInfo[m],w&&w.destroy()}}function Le(I){const{type:t}=I;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function lt(I,t){let n=I.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class Ut{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(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,o=n.pLoader,m=n.loader,w=o||m,P=new w(n);return this.loaders[t.type]=P,P}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:o}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:o,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:o,level:m,pathwayId:w,url:P,deliveryDirectives:z,levelInfo:H}=n;this.load({id:o,level:m,pathwayId:w,responseType:"text",type:h.LEVEL,url:P,deliveryDirectives:z,levelOrTrack:H})}onAudioTrackLoading(t,n){const{id:o,groupId:m,url:w,deliveryDirectives:P,track:z}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:w,deliveryDirectives:P,levelOrTrack:z})}onSubtitleTrackLoading(t,n){const{id:o,groupId:m,url:w,deliveryDirectives:P,track:z}=n;this.load({id:o,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:w,deliveryDirectives:P,levelOrTrack:z})}onLevelsUpdated(t,n){const o=this.loaders[h.LEVEL];if(o){const m=o.context;m&&!n.levels.some(w=>w===m.levelOrTrack)&&(o.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const o=this.hls.config;let m=this.getInternalLoader(t);if(m){const j=this.hls.logger,se=m.context;if(se&&se.levelOrTrack===t.levelOrTrack&&(se.url===t.url||se.deliveryDirectives&&!t.deliveryDirectives)){se.url===t.url?j.log(`[playlist-loader]: ignore ${t.url} ongoing request`):j.log(`[playlist-loader]: ignore ${t.url} in favor of ${se.url}`);return}j.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let w;if(t.type===h.MANIFEST?w=o.manifestLoadPolicy.default:w=y({},o.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let j;if(t.type===h.LEVEL&&t.level!==null?j=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?j=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(j=this.hls.subtitleTracks[t.id].details),j){const se=j.partTarget,ce=j.targetduration;if(se&&ce){const xe=Math.max(se*3,ce*.8)*1e3;w=y({},w,{maxTimeToFirstByteMs:Math.min(xe,w.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,w.maxTimeToFirstByteMs)})}}}const P=w.errorRetry||w.timeoutRetry||{},z={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:P.maxNumRetry||0,retryDelay:P.retryDelayMs||0,maxRetryDelay:P.maxRetryDelayMs||0},H={onSuccess:(j,se,ce,xe)=>{const Ie=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const Oe=j.data;if(Oe.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(j,ce,new Error("no EXTM3U delimiter"),xe||null,se);return}se.parsing.start=performance.now(),Ps.isMediaPlaylist(Oe)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(j,se,ce,xe||null,Ie):this.handleMasterPlaylist(j,se,ce,xe)},onError:(j,se,ce,xe)=>{this.handleNetworkError(se,ce,!1,j,xe)},onTimeout:(j,se,ce)=>{this.handleNetworkError(se,ce,!0,void 0,j)}};m.load(t,z,H)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:o}=this.hls;(t||o)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,o,m){const w=this.hls,P=t.data,z=lt(t,o),H=Ps.parseMasterPlaylist(P,z);if(H.playlistParsingError){this.handleManifestParsingError(t,o,H.playlistParsingError,m,n);return}const{contentSteering:j,levels:se,sessionData:ce,sessionKeys:xe,startTimeOffset:Ie,variableList:Oe}=H;this.variableList=Oe;const{AUDIO:tt=[],SUBTITLES:at,"CLOSED-CAPTIONS":Nt}=Ps.parseMasterPlaylistMedia(P,z,H);tt.length&&!tt.some(ar=>!ar.url)&&se[0].audioCodec&&!se[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),tt.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Hi({}),bitrate:0,url:""})),w.trigger(s.MANIFEST_LOADED,{levels:se,audioTracks:tt,subtitles:at,captions:Nt,contentSteering:j,url:z,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Ie,variableList:Oe})}handleTrackOrLevelPlaylist(t,n,o,m,w){const P=this.hls,{id:z,level:H,type:j}=o,se=lt(t,o),ce=r(H)?H:r(z)?z:0,xe=Le(o),Ie=Ps.parseLevelPlaylist(t.data,se,ce,xe,0,this.variableList);if(j===h.MANIFEST){const Oe={attrs:new Hi({}),bitrate:0,details:Ie,name:"",url:se};Ie.requestScheduled=n.loading.start+or(Ie,0),P.trigger(s.MANIFEST_LOADED,{levels:[Oe],audioTracks:[],url:se,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),o.levelDetails=Ie,this.handlePlaylistLoaded(Ie,t,n,o,m,w)}handleManifestParsingError(t,n,o,m,w){this.hls.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:o,error:o,reason:o.message,response:t,context:n,networkDetails:m,stats:w})}handleNetworkError(t,n,o=!1,m,w){let P=`A network ${o?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?P+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(P+=` id: ${t.id} group-id: "${t.groupId}"`);const z=new Error(P);this.hls.logger.warn(`[playlist-loader]: ${P}`);let H=f.UNKNOWN,j=!1;const se=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:H=o?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,j=!0;break;case h.LEVEL:H=o?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,j=!1;break;case h.AUDIO_TRACK:H=o?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,j=!1;break;case h.SUBTITLE_TRACK:H=o?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,j=!1;break}se&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:H,fatal:j,url:t.url,loader:se,context:t,error:z,networkDetails:n,stats:w};if(m){const xe=(n==null?void 0:n.url)||t.url;ce.response=b({url:xe,data:void 0},m)}this.hls.trigger(s.ERROR,ce)}handlePlaylistLoaded(t,n,o,m,w,P){const z=this.hls,{type:H,level:j,id:se,groupId:ce,deliveryDirectives:xe}=m,Ie=lt(n,m),Oe=Le(m),tt=typeof m.level=="number"&&Oe===u.MAIN?j:void 0;if(!t.fragments.length){const Nt=t.playlistParsingError=new Error("No Segments found in Playlist");z.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Ie,error:Nt,reason:Nt.message,response:n,context:m,level:tt,parent:Oe,networkDetails:w,stats:o});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const at=t.playlistParsingError;if(at){if(this.hls.logger.warn(at),!z.config.ignorePlaylistParsingErrors){z.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Ie,error:at,reason:at.message,response:n,context:m,level:tt,parent:Oe,networkDetails:w,stats:o});return}t.playlistParsingError=null}switch(t.live&&P&&(P.getCacheAge&&(t.ageHeader=P.getCacheAge()||0),(!P.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),H){case h.MANIFEST:case h.LEVEL:z.trigger(s.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||z.levels[0],level:tt||0,id:se||0,stats:o,networkDetails:w,deliveryDirectives:xe,withoutMultiVariant:H===h.MANIFEST});break;case h.AUDIO_TRACK:z.trigger(s.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:se||0,groupId:ce||"",stats:o,networkDetails:w,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:z.trigger(s.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:se||0,groupId:ce||"",stats:o,networkDetails:w,deliveryDirectives:xe});break}}}class rr{static get version(){return bn}static isMSESupported(){return $f()}static isSupported(){return Tf()}static getMediaSource(){return oe()}static get Events(){return s}static get MetadataSchema(){return Se}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return rr.defaultConfig?rr.defaultConfig:Jc}static set DefaultConfig(t){rr.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 Bs,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=K(t.debug||!1,"Hls instance",t.assetPlayerId),o=this.config=ml(rr.DefaultConfig,t,n);this.userConfig=t,o.progressive&&Ko(o,n);const{abrController:m,bufferController:w,capLevelController:P,errorController:z,fpsController:H}=o,j=new z(this),se=this.abrController=new m(this),ce=new Tr(this),xe=o.interstitialsController,Ie=xe?this.interstitialsController=new xe(this,rr):null,Oe=this.bufferController=new w(this,ce),tt=this.capLevelController=new P(this),at=new H(this),Nt=new Ut(this),dr=o.contentSteeringController,ar=dr?new dr(this):null,Zr=this.levelController=new Bf(this,ar),Gr=new Hf(this),fn=new ve(this.config),Vr=this.streamController=new Z(this,ce,fn),on=this.gapController=new _f(this,ce);tt.setStreamController(Vr),at.setStreamController(Vr);const hn=[Nt,Zr,Vr];Ie&&hn.splice(1,0,Ie),ar&&hn.splice(1,0,ar),this.networkControllers=hn;const qr=[se,Oe,on,tt,at,Gr,ce];this.audioTrackController=this.createController(o.audioTrackController,hn);const Gn=o.audioStreamController;Gn&&hn.push(this.audioStreamController=new Gn(this,ce,fn)),this.subtitleTrackController=this.createController(o.subtitleTrackController,hn);const ci=o.subtitleStreamController;ci&&hn.push(this.subtititleStreamController=new ci(this,ce,fn)),this.createController(o.timelineController,qr),fn.emeController=this.emeController=this.createController(o.emeController,qr),this.cmcdController=this.createController(o.cmcdController,qr),this.latencyController=this.createController(Cf,qr),this.coreComponents=qr,hn.push(j);const us=j.onErrorOut;typeof us=="function"&&this.on(s.ERROR,us,j),this.on(s.MANIFEST_LOADED,Nt.onManifestLoaded,Nt)}createController(t,n){if(t){const o=new t(this);return n&&n.push(o),o}return null}on(t,n,o=this){this._emitter.on(t,n,o)}once(t,n,o=this){this._emitter.once(t,n,o)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,o=this,m){this._emitter.off(t,n,o,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,o){return this._emitter.emit(t,n,o)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(o){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+o.message+'". Here is a stacktrace:',o),!this.triggeringException){this.triggeringException=!0;const m=t===s.ERROR;this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:o}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(s.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 w=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:w});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,o=n?t.media:t,m=n?t:{media:o};this._media=o,this.trigger(s.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(s.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(s.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,o=this._url,m=this._url=ie.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&o&&(o!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(s.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 o=0;o<this.networkControllers.length&&(this.networkControllers[o].startLoad(t,n),!(!this.started||!this.networkControllers));o++);}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=Oi()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Cr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const o=t.length;for(let m=0;m<o;m++)if(t[m].maxBitrate>=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:o}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,o)for(let w=m;w--;){const P=t[w].attrs["HDCP-LEVEL"];if(P&&P<=o)return w}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 o=xi(n);return vt(t,o,navigator.mediaCapabilities)}}rr.defaultConfig=void 0},53280:function(d,g,e){"use strict";e.d(g,{D:function(){return i}});function r(l,c,f){var s=f||{},h=s.noTrailing,u=h===void 0?!1:h,a=s.noLeading,x=a===void 0?!1:a,p=s.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function R(){_&&clearTimeout(_)}function L(D){var B=D||{},$=B.upcomingOnly,U=$===void 0?!1:$;R(),b=!U}function T(){for(var D=arguments.length,B=new Array(D),$=0;$<D;$++)B[$]=arguments[$];var U=this,V=Date.now()-S;if(b)return;function K(){S=Date.now(),c.apply(U,B)}function G(){_=void 0}!x&&y&&!_&&K(),R(),y===void 0&&V>l?x?(S=Date.now(),u||(_=setTimeout(y?G:K,l))):K():u!==!0&&(_=setTimeout(y?G:K,y===void 0?l-V:l))}return T.cancel=L,T}function i(l,c,f){var s=f||{},h=s.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var g=__webpack_module_cache__[d];if(g!==void 0)return g.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var g=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(g,{a:g}),g}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};g=g||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~g.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,g){for(var e in g)__webpack_require__.o(g,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:g[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(g,e){return __webpack_require__.f[e](d,g),g},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",70:"p__Declaration__Research__Project__Edit__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",146:"p__Declaration__Research__ConferenceResearch__Edit__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",233:"p__Declaration__Research__TeachWin__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",957:"p__Declaration__Research__TeachWin__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",1279:"p__Declaration__Research__Instruction__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",1538:"p__Declaration__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",2029:"p__Declaration__Review__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2086:"p__Declaration__Research__ConferenceResearch__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",2385:"p__Declaration__Research__Paper__Edit__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",2625:"p__Declaration__Research__TeachCompetition__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",3261:"p__Declaration__Research__ResearchAward__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",3677:"p__Declaration__Research__IntellectualProperty__Edit__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",3914:"p__Declaration__Filds__index",3935:"p__Classrooms__Lists__GroupHomework__index",3939:"p__Declaration__Research__TeachBook__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3996:"p__Declaration__Research__TeachMeeting__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",4292:"p__Declaration__Research__TeachPaper__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",5089:"p__Declaration__Research__Project__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",5232:"p__Declaration__Research__TeachPaper__Edit__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5301:"p__Declaration__Research__Paper__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",5472:"p__Declaration__Research__TeachProject__Edit__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",5807:"p__Declaration__Research__Monograph__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",5908:"p__Declaration__Research__TechnologyTransfer__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",6290:"p__Declaration__Research__TeachCompetition__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7280:"p__Declaration__Research__Monograph__Edit__index",7285:"p__Declaration__Home__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",7529:"p__Declaration__Research__IntellectualProperty__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7608:"p__Declaration__Research__ResearchAward__Edit__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",8205:"p__Declaration__Research__TeachProject__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",8902:"p__Declaration__Research__TeachMeeting__Edit__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",9516:"p__Declaration__Research__TechnologyTransfer__Edit__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",9995:"p__Declaration__Research__TeachBook__Edit__index"}[d]||d)+"."+{26:"6e19769e",67:"084ae0e1",70:"9287cbbf",109:"19545c5e",146:"e366bd56",195:"6caaabb1",233:"9b63a0d4",264:"78d27c8a",265:"06beec0f",292:"1dab54d5",310:"3650e091",316:"1f60ada6",337:"861aadcd",342:"f6e89bf6",354:"d4d139cf",479:"226a1220",485:"556a78b0",508:"09a9440d",532:"8ea83bbb",533:"b0d512fe",547:"7b37a0ee",556:"61865d90",559:"bb8f34c2",570:"5ef31a0d",576:"1f56ada1",610:"4f73197c",629:"44a1d9a5",643:"c9f86efe",671:"4a609b8d",672:"0c5b7811",680:"87c77a2e",700:"d03774cc",737:"195558cc",741:"ac5fd360",799:"de14fa50",869:"646eb21c",895:"eb557d48",921:"fc72bb85",928:"5d8c13fa",957:"471fff47",981:"24da50c7",1006:"2456baf7",1043:"9a453e78",1045:"01e6adba",1048:"72ab1d79",1054:"fc7b5dca",1070:"9d1c5633",1144:"c90eccaf",1148:"f95482ad",1154:"8cb80842",1183:"8fa45794",1211:"0f394530",1253:"34203d9d",1257:"a8c5ad6f",1265:"ed5089c5",1274:"5f6ea65a",1276:"5ae1260e",1279:"980b0347",1343:"587aba4d",1416:"56194d85",1423:"fadd1b89",1427:"60be1c73",1450:"2b92a56e",1461:"1a20dd16",1462:"fcf08abc",1470:"6fa36710",1475:"73ee18df",1482:"4e672bd6",1512:"80ee4a76",1520:"60f32af5",1538:"16826c1d",1545:"3aec66f2",1578:"a0967952",1581:"87601bee",1582:"178e336d",1646:"e6e27b60",1657:"baa6e2f3",1660:"9bdd643b",1674:"8e603af0",1702:"08a0cdef",1713:"0034803e",1717:"86199f0f",1727:"cfa01f83",1783:"0ecd53d6",1799:"a0f63f59",1831:"d806b6fc",1836:"0af01077",1855:"703b3662",1880:"bd429f19",1939:"f6992e12",1953:"5b6cecac",1962:"86a334da",2011:"59d51f98",2029:"6fc302bb",2045:"222842e2",2076:"7a611ef7",2086:"37d1d1da",2102:"9dbc1400",2125:"0917684a",2141:"534ae5e0",2145:"e7a6dbc2",2216:"3658900c",2240:"016e633a",2249:"f4830452",2254:"6d3d7bb5",2300:"748a41ec",2303:"f21677cc",2307:"621a4e50",2338:"6799727e",2339:"8cea6432",2385:"546cdb7f",2386:"192e235c",2396:"2a29f5e9",2404:"2e730755",2412:"e7f32956",2425:"9945322a",2443:"c94fd9ab",2476:"3426a1d3",2494:"68080a87",2501:"0daf859f",2529:"a3a8bf47",2538:"de4a3723",2539:"bd0bf444",2548:"dbd6b38a",2570:"1c9a4993",2594:"e87d3761",2603:"394edb88",2625:"d4992121",2659:"64a38e44",2707:"128c66fb",2806:"8c75468a",2819:"7ffb9911",2823:"b09f94eb",2826:"ee27c5fd",2829:"08733059",2837:"54a82605",2865:"5d099761",2875:"1cabba1e",2884:"ddeec464",2969:"ab3357d7",2983:"aa6a2e20",3006:"35f42b26",3133:"9bf3f89c",3141:"d6d226ee",3157:"da83f1d0",3183:"32b58436",3198:"8e655451",3212:"b97dcba6",3220:"980e3c15",3247:"aba0f18a",3260:"3efe63a8",3261:"5dd66812",3276:"7cfc5595",3282:"59bd42c9",3317:"1fa8ac3c",3332:"1a79d5d6",3355:"cb010816",3356:"94aa8383",3391:"8c1c0b66",3433:"e45eb1c1",3442:"495404ba",3445:"61ad6ee1",3447:"6d4c064c",3451:"f864831d",3496:"d21120d7",3509:"8768a110",3550:"3dc83156",3554:"4fbb9487",3581:"0e04b0bd",3585:"db71285d",3647:"1a648ed4",3665:"d9411f91",3668:"272d2ba5",3677:"0d5a85cf",3697:"481a10d9",3747:"f4f240ec",3754:"3f3f7b5f",3777:"d5b0f2f1",3784:"c34f41b7",3805:"9dbcb95e",3862:"9cc15cf4",3873:"62846e79",3885:"f87f7f15",3910:"b1acca71",3914:"20cc2834",3935:"f546a060",3939:"bbfdda41",3951:"7993e131",3987:"5cecd51b",3996:"662b5bfb",4014:"27a8e97c",4017:"7508937f",4030:"cdde4428",4056:"90c1c3be",4058:"5446790f",4078:"2d65f12c",4088:"236723f3",4093:"89e08a6c",4105:"c5cd2d81",4144:"c64c1120",4164:"e54e9f31",4216:"9618f696",4217:"b7322036",4227:"8220bfb6",4259:"00629357",4264:"93155585",4292:"defb510e",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"0e7f33ec",4492:"29f5a90f",4496:"182d54e0",4498:"a4028ff6",4504:"38f109ad",4514:"c1918b87",4520:"9bcc91b9",4546:"82e922f4",4565:"15231efb",4572:"d49bbeb6",4599:"61def4cb",4601:"6d97e669",4610:"5c28d69a",4621:"60f0b8b4",4628:"ece2c60c",4662:"1b0cab49",4685:"c33f1528",4715:"6fd70478",4736:"db01fd36",4741:"854fc91f",4757:"e05cf301",4766:"baf88ed1",4770:"cf78b557",4790:"619413e4",4795:"24fae0e2",4797:"a24e92db",4800:"49599835",4849:"48b7d543",4850:"1edda4b7",4862:"484d1e83",4884:"a4b882d5",4889:"1597bd58",4928:"cb6d81c0",4973:"759f6e52",4994:"f314fda1",5022:"9a979da4",5043:"71a1f694",5048:"d4268e93",5060:"85dafcc6",5089:"5fb96b1a",5096:"13e1d3db",5111:"9fc15ce8",5125:"6c764f0f",5148:"3fc9e8a1",5176:"065d2792",5179:"f004349a",5186:"cfeb521a",5191:"e5c2d4c9",5232:"2bbdd03c",5238:"39392e2d",5290:"5dabcdc2",5297:"84e2eb6f",5301:"add374b8",5319:"114fbe6c",5321:"1163c84e",5335:"8c98e9b3",5354:"7ae70604",5357:"c992d264",5359:"4325d224",5382:"ab2555d4",5402:"6813d7f7",5416:"454536b7",5434:"38b302a6",5470:"a03f2639",5472:"2e090622",5494:"d89549c4",5518:"2e73d105",5549:"8fce9874",5572:"49e996f1",5573:"c7f60b65",5599:"f5356a6c",5624:"c3b8c375",5631:"e00d3d36",5650:"ec2be135",5679:"4a090bef",5705:"4f040b6b",5729:"9f714e34",5764:"e0d7e586",5775:"0c458d4f",5786:"ad485fcd",5798:"58684276",5807:"aa1109a3",5816:"183ae7a0",5825:"01f14d63",5876:"5eded409",5888:"ce2dc1b3",5891:"aa373076",5895:"9f2df9ff",5902:"8ac3dd08",5908:"4a5e8b0f",5915:"73dfa9be",5972:"16147c0d",5992:"bacd2889",6029:"f074cb00",6034:"67864c19",6045:"d268f87f",6047:"3ce45acd",6052:"d44677c2",6063:"14aa4e91",6069:"fa1008ce",6126:"99519171",6127:"04be829d",6132:"00726f74",6170:"e5091ce3",6265:"6b59b7e7",6270:"d14d7ef1",6277:"444a4a98",6290:"46ec4615",6328:"20c2b6af",6366:"c7c78084",6378:"7f3a946a",6411:"3b971528",6434:"ecc4a977",6444:"28ef7bde",6452:"41a7c9ed",6531:"cc3473fc",6541:"df8c4863",6583:"cec95671",6587:"a6fb1157",6634:"353317f8",6651:"9ccd75d7",6685:"12bb5fe3",6729:"82f6dc2c",6741:"511b9cc4",6758:"deb1b14e",6774:"59d4d618",6784:"9a5e5cc0",6788:"72dd9c57",6796:"c623b085",6805:"5648bb3b",6820:"5298b257",6845:"e0a6a5dc",6882:"22aa83e3",6883:"6cb80143",6904:"a7e29fea",6913:"baf2f11b",6963:"63cb0148",6982:"0650c40b",7008:"94c575ca",7043:"047738b7",7045:"505654b5",7046:"b3054956",7058:"e5bc0e12",7062:"52f49ad2",7084:"46ccce72",7156:"e7466006",7178:"e89e7f14",7182:"f6aebccc",7242:"7d86c543",7260:"efd33266",7280:"d7b554af",7285:"828038d2",7331:"2e27a23b",7333:"6958bb13",7365:"1005464f",7395:"3cdb00d7",7460:"e5371326",7477:"613ae2a9",7482:"63432f61",7527:"083bf5a3",7529:"0f2c8479",7545:"7f273684",7560:"ced1ee1a",7589:"d3dd3004",7591:"8354027c",7608:"128ec17c",7614:"5402c11b",7622:"6883dca1",7686:"4fcec9f9",7706:"c2a79e40",7806:"556399cf",7852:"f2b91a44",7855:"de502897",7857:"13518f25",7878:"802c98fe",7884:"572989b6",7922:"391b006b",7948:"d5c33aa5",7964:"29aed9a1",8014:"2d32be02",8062:"6b3d9c89",8072:"fa445877",8077:"d6c06b74",8085:"86090e8f",8089:"d536b13a",8143:"53e385dd",8155:"c1315de6",8161:"83c5fa9a",8205:"a8f895ba",8237:"8ecbfec9",8241:"537415f7",8302:"34c02cc4",8307:"0a654c00",8340:"2dbe5b9b",8350:"07df8a75",8365:"cf72c9b9",8398:"e001b5c5",8431:"1e020aa8",8435:"f4c01e84",8447:"4aeedd14",8517:"59712998",8561:"333e8ec9",8563:"da9b9980",8613:"5f35f4d3",8634:"529b4265",8639:"ce3dfc0b",8665:"d4b54c0b",8688:"aa41e6b3",8689:"7ebf8f79",8723:"9d87f363",8737:"ce7dad23",8776:"0ad26240",8782:"0c260e07",8787:"f96d93ab",8797:"0a749075",8818:"1d6b820b",8823:"7d73d170",8827:"fb55f17f",8842:"9f25a3e2",8866:"00d9c1b2",8882:"876aa25c",8885:"5da0b8a4",8898:"d002bcd8",8902:"3d53b483",8909:"7661e465",8920:"7f82440c",8963:"790aecdd",8982:"23912a3b",8999:"ae079a87",9076:"eca01880",9104:"bbcb2345",9133:"60b048c2",9205:"7b7a1d8f",9215:"4a4fbd3b",9248:"56a6d348",9252:"0d791a59",9260:"cf5f8140",9332:"6f745a80",9360:"7f0e4dde",9366:"4c41e99a",9391:"b2eddd71",9404:"9fcc3d3e",9408:"551a45a5",9416:"54b1e5eb",9487:"155e124e",9489:"a8f1be07",9507:"92bb1685",9516:"c8aca603",9519:"866d1bf9",9554:"ed358e7b",9559:"f794af19",9590:"4eb98499",9647:"a7e1ad14",9649:"11fa1f3c",9674:"0b260ccf",9677:"9874878a",9695:"4b8f464a",9715:"780b0b49",9716:"db7bb4b4",9785:"8191531b",9788:"4f9eff99",9890:"fc154fe8",9891:"37eca69e",9895:"b8e31ff2",9921:"787302d0",9922:"ee1a8666",9928:"5989f5e0",9944:"aa8f6332",9950:"74f6dfb2",9968:"17466785",9995:"59d348ae"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",70:"p__Declaration__Research__Project__Edit__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",146:"p__Declaration__Research__ConferenceResearch__Edit__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",233:"p__Declaration__Research__TeachWin__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",957:"p__Declaration__Research__TeachWin__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",1279:"p__Declaration__Research__Instruction__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",1538:"p__Declaration__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",2029:"p__Declaration__Review__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2086:"p__Declaration__Research__ConferenceResearch__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",2385:"p__Declaration__Research__Paper__Edit__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",2625:"p__Declaration__Research__TeachCompetition__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",3261:"p__Declaration__Research__ResearchAward__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",3677:"p__Declaration__Research__IntellectualProperty__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3914:"p__Declaration__Filds__index",3935:"p__Classrooms__Lists__GroupHomework__index",3939:"p__Declaration__Research__TeachBook__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3996:"p__Declaration__Research__TeachMeeting__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",4292:"p__Declaration__Research__TeachPaper__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",5089:"p__Declaration__Research__Project__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",5232:"p__Declaration__Research__TeachPaper__Edit__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5301:"p__Declaration__Research__Paper__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",5472:"p__Declaration__Research__TeachProject__Edit__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",5807:"p__Declaration__Research__Monograph__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",5908:"p__Declaration__Research__TechnologyTransfer__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",6290:"p__Declaration__Research__TeachCompetition__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7280:"p__Declaration__Research__Monograph__Edit__index",7285:"p__Declaration__Home__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",7529:"p__Declaration__Research__IntellectualProperty__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7608:"p__Declaration__Research__ResearchAward__Edit__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",8205:"p__Declaration__Research__TeachProject__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",8902:"p__Declaration__Research__TeachMeeting__Edit__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",9516:"p__Declaration__Research__TechnologyTransfer__Edit__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",9995:"p__Declaration__Research__TeachBook__Edit__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",70:"2bd1bed1",109:"1a7fc455",146:"a97d03cb",195:"65632591",233:"8a4b910a",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"4c1ff0fa",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",957:"c985bd0f",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1279:"27e9950f",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1538:"d0c9713b",1545:"04d6c7d3",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",2029:"ad1abbc6",2045:"dcfad42d",2076:"09b07fa0",2086:"3be58587",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2385:"71706e93",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2625:"91933aee",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3261:"8d7ff238",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3647:"03cdfb68",3665:"99f7daed",3668:"86f20630",3677:"176044a4",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3914:"3b542c2b",3935:"cd50aa32",3939:"2bb62050",3951:"4a9249b1",3996:"062d37ae",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"0e623fec",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4292:"ce82aee0",4449:"e68d8d58",4492:"cdc29460",4496:"77babddd",4498:"b05686dd",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"aca6ff45",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5089:"baca593f",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5232:"dc11c918",5238:"3d814a61",5297:"5426028f",5301:"4c239299",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5472:"ea09b168",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5807:"b42f7279",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5908:"fa502a9a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6290:"f1d35571",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",7242:"4f353f61",7260:"2c380d56",7280:"502dfca6",7285:"f1adbccb",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7529:"6a5bc8ab",7545:"1f6a7624",7560:"d82e43ca",7589:"2a3e68f3",7608:"fd79cfde",7614:"de9ee12f",7622:"ca0e645a",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"0b7f10a8",8143:"b6ca83ad",8155:"d345abd7",8205:"8884214e",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",8902:"1ec0798f",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",9516:"801f5e52",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",9995:"55cf9889"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,g){return Object.prototype.hasOwnProperty.call(d,g)}}(),function(){var d={};__webpack_require__.l=function(g,e,r,i){if(d[g]){d[g].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),s=0;s<f.length;s++){var h=f[s];if(h.getAttribute("src")==g){l=h;break}}l||(c=!0,l=document.createElement("script"),l.charset="utf-8",l.timeout=120,__webpack_require__.nc&&l.setAttribute("nonce",__webpack_require__.nc),l.src=g,l.src.indexOf(window.location.origin+"/")!==0&&(l.crossOrigin="anonymous")),d[g]=[e];var u=function(x,p){l.onerror=l.onload=null,clearTimeout(a);var y=d[g];if(delete d[g],l.parentNode&&l.parentNode.removeChild(l),y&&y.forEach(function(_){return _(p)}),x)return x(p)},a=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),c&&document.head.appendChild(l)}}(),function(){__webpack_require__.r=function(d){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})}}(),function(){__webpack_require__.nmd=function(d){return d.paths=[],d.children||(d.children=[]),d}}(),function(){__webpack_require__.p="/react/build/"}(),function(){if(typeof document!="undefined"){var d=function(i,l,c,f,s){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),s(y)}};return h.onerror=h.onload=u,h.href=l,h.href.indexOf(window.location.origin+"/")!==0&&(h.crossOrigin="anonymous"),c?c.parentNode.insertBefore(h,c.nextSibling):document.head.appendChild(h),h},g=function(i,l){for(var c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var s=c[f],h=s.getAttribute("data-href")||s.getAttribute("href");if(s.rel==="stylesheet"&&(h===i||h===l))return s}for(var u=document.getElementsByTagName("style"),f=0;f<u.length;f++){var s=u[f],h=s.getAttribute("data-href");if(h===i||h===l)return s}},e=function(i){return new Promise(function(l,c){var f=__webpack_require__.miniCssF(i),s=__webpack_require__.p+f;if(g(f,s))return l();d(i,s,null,l,c)})},r={4620:0};__webpack_require__.f.miniCss=function(i,l){var c={26:1,67:1,70:1,109:1,146:1,195:1,233: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,957:1,1006:1,1043:1,1045:1,1048:1,1070:1,1148:1,1211:1,1253:1,1257:1,1265:1,1276:1,1279:1,1343:1,1416:1,1423:1,1427:1,1450:1,1461:1,1470:1,1475:1,1482:1,1512:1,1520:1,1538: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,2029:1,2045:1,2076:1,2086:1,2102:1,2141:1,2216:1,2240:1,2254:1,2303:1,2307:1,2338:1,2339:1,2385:1,2396:1,2404:1,2412:1,2425:1,2443:1,2476:1,2501:1,2529:1,2539:1,2548:1,2570:1,2603:1,2625: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,3261: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,3647:1,3665:1,3668:1,3677:1,3747:1,3784:1,3873:1,3910:1,3914:1,3935:1,3939:1,3951:1,3996: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,4292: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,5089:1,5096:1,5111:1,5125:1,5148:1,5176:1,5179:1,5186:1,5191:1,5232:1,5238:1,5297:1,5301:1,5319:1,5335:1,5357:1,5359:1,5382:1,5402:1,5470:1,5472: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,5807:1,5816:1,5825:1,5888:1,5891:1,5895:1,5908:1,5915:1,5972:1,5992:1,6029:1,6052:1,6063:1,6069:1,6127:1,6265:1,6270:1,6277:1,6290:1,6328:1,6366:1,6434:1,6444:1,6452:1,6541:1,6583:1,6587:1,6634:1,6651:1,6685:1,6729:1,6741:1,6758:1,6784:1,6788:1,6796:1,6805:1,6820:1,6845:1,6882:1,6883:1,6904:1,6913:1,6963:1,6982:1,7008:1,7043:1,7045:1,7046:1,7058:1,7062:1,7178:1,7182:1,7242:1,7260:1,7280:1,7285:1,7395:1,7460:1,7477:1,7482:1,7527:1,7529:1,7545:1,7560:1,7589:1,7608: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,8205: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,8902: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,9516: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,9995: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),s=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;s.message="Loading chunk "+r+` failed.
|
|
|
(`+a+": "+x+")",s.name="ChunkLoadError",s.type=a,s.request=x,l[1](s)}};__webpack_require__.l(f,h,"chunk-"+r,r)}};var g=function(r,i){var l=i[0],c=i[1],f=i[2],s,h,u=0;if(l.some(function(x){return d[x]!==0})){for(s in c)__webpack_require__.o(c,s)&&(__webpack_require__.m[s]=c[s]);if(f)var a=f(__webpack_require__)}for(r&&r(i);u<l.length;u++)h=l[u],__webpack_require__.o(d,h)&&d[h]&&d[h][0](),d[h]=0},e=self.webpackChunk=self.webpackChunk||[];e.forEach(g.bind(null,0)),e.push=g.bind(null,e.push.bind(e))}();var __webpack_exports__={};(function(){"use strict";var d=__webpack_require__(68557),g=__webpack_require__(44852),e=__webpack_require__(64003),r=__webpack_require__(17898),i=__webpack_require__(40902),l=__webpack_require__(2259),c=__webpack_require__(14589),f=__webpack_require__(69811),s=__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),R=__webpack_require__(93074),L=__webpack_require__(96331),T=__webpack_require__(2924),D=__webpack_require__(26425),B=__webpack_require__(32125),$=__webpack_require__(16137),U=__webpack_require__(48435),V=__webpack_require__(11553),K=__webpack_require__(70365),G=__webpack_require__(33717),oe=__webpack_require__(17482),ae=__webpack_require__(23708),le=__webpack_require__(65033),Q=__webpack_require__(52732),J=__webpack_require__(99382),Y=__webpack_require__(88437),ue=__webpack_require__(68440),ne=__webpack_require__(13412),ee=__webpack_require__(11005),ie=__webpack_require__(70348),F=__webpack_require__(19801),M=__webpack_require__(91550),q=__webpack_require__(85223),de=__webpack_require__(7154),Ee=__webpack_require__(67788),Ce=__webpack_require__(96009),je=__webpack_require__(9402),Fe=__webpack_require__(62489),Ft=__webpack_require__(80881),_t=__webpack_require__(62837),Pt=__webpack_require__(4705),Qt=__webpack_require__(13941),er=__webpack_require__(1148),Jt=__webpack_require__(82445),Xe=__webpack_require__(27267),It=__webpack_require__(96353),zt=__webpack_require__(90308),st=__webpack_require__(84818),bt=__webpack_require__(80585),ht=__webpack_require__(89170),Je=__webpack_require__(71012),Ue=__webpack_require__(84203),ge=__webpack_require__(22112),Ae=__webpack_require__(81440),Me=__webpack_require__(25430),$e=__webpack_require__(70105),He=__webpack_require__(71390),nt=__webpack_require__(96844),ct=__webpack_require__(83578),Kt=__webpack_require__(69762),Wt=__webpack_require__(76880),De=__webpack_require__(65009),Qe=__webpack_require__(28796),Vt=__webpack_require__(56450),kt=__webpack_require__(78342),Ht=__webpack_require__(13161),$t=__webpack_require__(54226),Ct=__webpack_require__(70201),Yt=__webpack_require__(34941),Ge=__webpack_require__(85671),fe=__webpack_require__(35152),_e=__webpack_require__(85660),Ot=__webpack_require__(80031),Pe=__webpack_require__(34434),dt=__webpack_require__(83579),Zt=__webpack_require__(74307),Tt=__webpack_require__(97423),ke=__webpack_require__(93321),St=__webpack_require__(82277),be=__webpack_require__(61425),Ke=__webpack_require__(61873),gt=__webpack_require__(9307),Rt=__webpack_require__(8821),Be=__webpack_require__(64385),kr=__webpack_require__(64099),At=__webpack_require__(62455),Kr=__webpack_require__(79965),Qr=__webpack_require__(59118),Ar=__webpack_require__(275),$r=__webpack_require__(31919),_r=__webpack_require__(51284),Ur=__webpack_require__(10177),sn=__webpack_require__(85690),cn=__webpack_require__(92114),ur=__webpack_require__(1017),Lt=__webpack_require__(14480),vt=__webpack_require__(40516),yt=__webpack_require__(76345),jt=__webpack_require__(7282),Cr=__webpack_require__(58055),yr=__webpack_require__(93547),ot=__webpack_require__(31237),Fr=__webpack_require__(17954),mn=__webpack_require__(58580),Un=__webpack_require__(47146),mr=__webpack_require__(40416),en=__webpack_require__(7615),dn=__webpack_require__(72820),Fn=__webpack_require__(86070),ei=__webpack_require__(23569),Nn=__webpack_require__(55639),zi=__webpack_require__(63046),mi=__webpack_require__(464),xi=__webpack_require__(51082),vi=__webpack_require__(83850),pi=__webpack_require__(41990),Yi=__webpack_require__(15787),Yn=__webpack_require__(55888),Vi=__webpack_require__(53827),Et=__webpack_require__(78143),ut=__webpack_require__(66419),Xn=__webpack_require__(75765),wi=__webpack_require__(14645),qn=__webpack_require__(71122),Zi=__webpack_require__(42084),_i=__webpack_require__(25070),Pi=__webpack_require__(77140),Qn=__webpack_require__(15954),tr=__webpack_require__(4266),mt=__webpack_require__(49988),rt=__webpack_require__(38823),Dt=__webpack_require__(24627),pt=__webpack_require__(4045),cr=__webpack_require__(50747),fr=__webpack_require__(43595),Ir=__webpack_require__(92324),Rr=__webpack_require__(23551),Ze=__webpack_require__(74521),et=__webpack_require__(57891),we=__webpack_require__(84138),it=__webpack_require__(51832),ir=__webpack_require__(37135),Or=__webpack_require__(6474),wr=__webpack_require__(40135),Tr=__webpack_require__(7982),Nr=__webpack_require__(14893),gn=__webpack_require__(49233),Dr=__webpack_require__(92130),un=__webpack_require__(42844),tn=__webpack_require__(6536),ln=__webpack_require__(27228),En=__webpack_require__(62921),la=__webpack_require__(44001),gi=__webpack_require__(92262),yi=__webpack_require__(54744),On=__webpack_require__(38214),Di=__webpack_require__(12756),Fi=__webpack_require__(93379),oa=__webpack_require__(62007),ws=__webpack_require__(90572),Sa=__webpack_require__(37343),Ha=__webpack_require__(45945),Us=__webpack_require__(75551),ja=__webpack_require__(32493),na=__webpack_require__(20852),Ai=__webpack_require__(46302),Ci=__webpack_require__(18827),qa=__webpack_require__(76718),Cs=__webpack_require__(79172),Ni=__webpack_require__(32192),Ts=__webpack_require__(42828),xo=__webpack_require__(5658),La=__webpack_require__(55629),hs=__webpack_require__(62925),Hi=__webpack_require__(9595),Vs=__webpack_require__(58127),kn=__webpack_require__(70917),Qa=__webpack_require__(53427),uo=__webpack_require__(70878),Ls=__webpack_require__(49257),Ki=__webpack_require__(72910),Aa=__webpack_require__(34932),Da=__webpack_require__(81046),cs=__webpack_require__(85744),zs=__webpack_require__(13494),wo=__webpack_require__(56338),Eo=__webpack_require__(66755),Zs=__webpack_require__(68709),Ms=__webpack_require__(4939),ca=__webpack_require__(81927),fs=__webpack_require__(60462),So=__webpack_require__(72571),fo=__webpack_require__(71200),Io=__webpack_require__(85767),li=__webpack_require__(84432),ai=__webpack_require__(59022),Wa=__webpack_require__(19363),ts=__webpack_require__(51054),Ua=__webpack_require__(60330),Ao=__webpack_require__(55234),Do=__webpack_require__(88104),Fo=__webpack_require__(64336),Ja=__webpack_require__(63914),du=__webpack_require__(35246),Co=__webpack_require__(83470),Xo=__webpack_require__(79641),hu=__webpack_require__(72397),Pu=__webpack_require__(24860),To=__webpack_require__(19320),Ps=__webpack_require__(56233),gu=__webpack_require__(59419),Bo=__webpack_require__(64344),lo=__webpack_require__(5316),zo=__webpack_require__(93744),ru=__webpack_require__(19299),qo=__webpack_require__(15286),Oo=__webpack_require__(91927),Fs=__webpack_require__(27730),Xs=__webpack_require__(58707),il=__webpack_require__(41356),ko=__webpack_require__(51606),qt=__webpack_require__(8966),lr=__webpack_require__(38458),sr=__webpack_require__(71957),vr=__webpack_require__(89466),Er=__webpack_require__(69653),yn=__webpack_require__(96519),xn=__webpack_require__(95576),Bn=__webpack_require__(63079),Ln=__webpack_require__(8995),Kn=__webpack_require__(23080),or=__webpack_require__(74701),Br=__webpack_require__(91809),xr=__webpack_require__(77517),pn=__webpack_require__(30149),jn=__webpack_require__(55410),ft=__webpack_require__(46161),Pn=__webpack_require__(14800),zn=__webpack_require__(91130),si=__webpack_require__(2722),qi=__webpack_require__(55885),Hr=__webpack_require__(39034),ji=__webpack_require__(8604),ma=__webpack_require__(64963),zr=__webpack_require__(25178),Ca=__webpack_require__(1905),Es=__webpack_require__(94306),fi=__webpack_require__(11762),ro=__webpack_require__(93164),po=__webpack_require__(88900),ds=__webpack_require__(54815),Oa=__webpack_require__(81138),qs=__webpack_require__(37252),Bs=__webpack_require__(81673),bn=__webpack_require__(48966),gs=__webpack_require__(13015),Hs=__webpack_require__(78527),Ye=__webpack_require__(20511),qe=__webpack_require__(78366),Mt=__webpack_require__(27427),Gt=__webpack_require__(43890),hr=__webpack_require__(55844),Lr=__webpack_require__(71361),jr=__webpack_require__(44550),_n=__webpack_require__(413),rn=__webpack_require__(77464),vn=__webpack_require__(77703),Wn=__webpack_require__(93854),ti=__webpack_require__(962),hi=__webpack_require__(44169),Ii=__webpack_require__(56272),Qi=__webpack_require__(43466),Ri=__webpack_require__(48156),Ei=__webpack_require__(93236),fa=__webpack_require__(42212),Si=__webpack_require__(63923),bi=__webpack_require__(2278),da=__webpack_require__(36955),no=__webpack_require__(77326),Ss=__webpack_require__(53571),Ma=__webpack_require__(28670),Fa=__webpack_require__(31050),Ga=__webpack_require__(25321),Oi=__webpack_require__(96364),va=__webpack_require__(46304),Ba=__webpack_require__(55163),Ya=__webpack_require__(78722),ho=__webpack_require__(35977),rs=__webpack_require__(81848),ba=__webpack_require__(52867),Ks=__webpack_require__(72211),Ra=__webpack_require__(84862),Ws=__webpack_require__(92381),ha=__webpack_require__(19517),Va=__webpack_require__(69667),Is=__webpack_require__(80820),ga=__webpack_require__(87873),ye=__webpack_require__(54609),Se=__webpack_require__(28566),gr=__webpack_require__(51697),Jr=__webpack_require__(61872),br=__webpack_require__(76077),Yr=__webpack_require__(9196),An=__webpack_require__(5369),Jn=__webpack_require__(26259),Li=__webpack_require__(47736),Rn=__webpack_require__(28220),Mn=__webpack_require__(62060),Cn=__webpack_require__(49350),ia=__webpack_require__(20126),Na=__webpack_require__(18090),_o=__webpack_require__(14309),io=__webpack_require__(17822),nu=__webpack_require__(83543),gl=__webpack_require__(13853),al=__webpack_require__(25188),Gu=__webpack_require__(10215),Zc=__webpack_require__(3432),Iu=__webpack_require__(90486),We=__webpack_require__(6736),W=__webpack_require__(8774),X=__webpack_require__(94065),te=__webpack_require__(93036),pe=__webpack_require__(75708),Te=__webpack_require__(84624),Ve=__webpack_require__(66233),wt=__webpack_require__(43710),Bt=__webpack_require__(92762),nr=__webpack_require__(24467),Pr=__webpack_require__(68465),Wr=__webpack_require__(77004),nn=__webpack_require__(83925),wn=__webpack_require__(51117),In=__webpack_require__(87236),Zn=__webpack_require__(83733),di=__webpack_require__(92044),Sr=__webpack_require__(29190),ea=__webpack_require__(10775),aa=__webpack_require__(19593),os=__webpack_require__(26502),Ka=__webpack_require__(10174),ys=__webpack_require__(96378),bs=__webpack_require__(58216),Ta=__webpack_require__(41401),Ns=__webpack_require__(79908),$s=__webpack_require__(82531),pa=__webpack_require__(79890),Qs=__webpack_require__(88472),Po=__webpack_require__(38944),Ro=__webpack_require__(78423),za=__webpack_require__(65713),mo=__webpack_require__(22968),iu=__webpack_require__(17564),Al=__webpack_require__(1220),sl=__webpack_require__(44886),Za=__webpack_require__(57019),Du=__webpack_require__(35295),ns=__webpack_require__(80286),pu=__webpack_require__(38487),Ou=__webpack_require__(29916),No=__webpack_require__(25541),vo=__webpack_require__(45612),Vu=__webpack_require__(34926),au=__webpack_require__(98080),Wl=__webpack_require__(68255),Js=__webpack_require__(96351),Zo=__webpack_require__(16450),ku=__webpack_require__(60244),Gl=__webpack_require__(86921),yu=__webpack_require__(82928),lc=__webpack_require__(42947),Ku=__webpack_require__(71568),ol=__webpack_require__(94194),Cc=__webpack_require__(30556),ao=__webpack_require__(32100),cc=__webpack_require__(93102),su=__webpack_require__(1821),ul=__webpack_require__(82074),ou=__webpack_require__(13578),Tc=__webpack_require__(59348),Hc=__webpack_require__(62882),oi=__webpack_require__(37457),Pc=__webpack_require__(70654),Wc=__webpack_require__(90252),$o=__webpack_require__(29482),Cl=__webpack_require__(51630),Ic=__webpack_require__(61933),Vl=__webpack_require__(619),bu=__webpack_require__(99675),Kl=__webpack_require__(52548),$a=__webpack_require__(53637),eo=__webpack_require__(57482),Ho=__webpack_require__(59725),Yu=__webpack_require__(17610),Yl=__webpack_require__(56966),Qo=__webpack_require__(11507),Dc=__webpack_require__(16315),xu=__webpack_require__(60239),Ru=__webpack_require__(49381),wu=__webpack_require__(17230),Lu=__webpack_require__(62720),fc=__webpack_require__(57151),Tl=__webpack_require__(48732),ka=__webpack_require__(18481),sf=__webpack_require__(55055),of=__webpack_require__(7195),Mu=__webpack_require__(89179),Xu=__webpack_require__(90965),wf=__webpack_require__(67725),Oc=__webpack_require__(59884),uu=__webpack_require__(89202),kc=__webpack_require__(97815),dc=__webpack_require__(11593),Xl=__webpack_require__(7597),Rc=__webpack_require__(55182),hc=__webpack_require__(34366),Jo=__webpack_require__(85425),qu=__webpack_require__(64522),Pl=__webpack_require__(41599),pc=__webpack_require__(86465),_c=__webpack_require__(78437),Lc=__webpack_require__(73624),ql=__webpack_require__(62059),uf=__webpack_require__(10305),Mc=__webpack_require__(41208),Gc=__webpack_require__(25204),Fu=__webpack_require__(40061),Eu=__webpack_require__(47803),ps=__webpack_require__(7893),Vc=__webpack_require__(4890),lf=__webpack_require__(5340),mc=__webpack_require__(61650),so=__webpack_require__(58246),vc=__webpack_require__(65873),Lo=__webpack_require__(63579),Ql=__webpack_require__(87296),Re=__webpack_require__(59301),Il=__webpack_require__(4676),go=__webpack_require__(35338),Jl=__webpack_require__(9981);function jo(Sn){var Hn=Sn.id,Mi=Sn.basename,xa=Sn.cb,Ui=new URLSearchParams({route:Hn,url:window.location.href}).toString(),sa="".concat(_u(window.umiServerLoaderPath||Mi),"__serverLoader?").concat(Ui);fetch(sa,{credentials:"include"}).then(function(ua){return ua.json()}).then(xa).catch(console.error)}function _u(){var Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Sn.endsWith("/")?Sn:"".concat(Sn,"/")}var ll=__webpack_require__(38127),Su=__webpack_require__(38329),yo=__webpack_require__(8616),cl=["content"],Mo=["content"],gc=/^(http:|https:)?\/\//;function fl(Sn){return gc.test(Sn)||Sn.startsWith("/")&&!Sn.startsWith("/*")||Sn.startsWith("./")||Sn.startsWith("../")}var Dl=function(){return Re.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},dl=function(Hn){var Mi,xa=Hn.loaderData,Ui=Hn.htmlPageOpts,sa=Hn.manifest,ua=(sa==null||(Mi=sa.assets)===null||Mi===void 0?void 0:Mi["umi.css"])||"";return Re.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(xa||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Ui||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ua,"'")}})};function Bu(Sn){var Hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Sn=="string")return fl(Sn)?(0,Lo.Z)({src:Sn},Hn):{content:Sn};if((0,yo.Z)(Sn)==="object")return(0,Lo.Z)((0,Lo.Z)({},Sn),Hn);throw new Error("Invalid script type: ".concat((0,yo.Z)(Sn)))}function yc(Sn){return fl(Sn)?{type:"link",href:Sn}:{type:"style",content:Sn}}var Kc=function(Hn){var Mi,xa,Ui,sa,ua,vs,Gi=Hn.htmlPageOpts;return Re.createElement(Re.Fragment,null,(Gi==null?void 0:Gi.title)&&Re.createElement("title",null,Gi.title),Gi==null||(Mi=Gi.favicons)===null||Mi===void 0?void 0:Mi.map(function(is,el){return Re.createElement("link",{key:el,rel:"shortcut icon",href:is})}),(Gi==null?void 0:Gi.description)&&Re.createElement("meta",{name:"description",content:Gi.description}),(Gi==null||(xa=Gi.keywords)===null||xa===void 0?void 0:xa.length)&&Re.createElement("meta",{name:"keywords",content:Gi.keywords.join(",")}),Gi==null||(Ui=Gi.metas)===null||Ui===void 0?void 0:Ui.map(function(is){return Re.createElement("meta",{key:is.name,name:is.name,content:is.content})}),Gi==null||(sa=Gi.links)===null||sa===void 0?void 0:sa.map(function(is,el){return Re.createElement("link",(0,Su.Z)({key:el},is))}),Gi==null||(ua=Gi.styles)===null||ua===void 0?void 0:ua.map(function(is,el){var Hu=yc(is),tl=Hu.type,hl=Hu.href,pl=Hu.content;if(tl==="link")return Re.createElement("link",{key:el,rel:"stylesheet",href:hl});if(tl==="style")return Re.createElement("style",{key:el},pl)}),Gi==null||(vs=Gi.headScripts)===null||vs===void 0?void 0:vs.map(function(is,el){var Hu=Bu(is),tl=Hu.content,hl=(0,ll.Z)(Hu,cl);return Re.createElement("script",(0,Su.Z)({dangerouslySetInnerHTML:{__html:tl},key:el},hl))}))};function Qu(Sn){var Hn,Mi=Sn.children,xa=Sn.loaderData,Ui=Sn.manifest,sa=Sn.htmlPageOpts,ua=Sn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vs=Sn.mountElementId;if(ua!=null&&ua.pureHtml)return Re.createElement("html",null,Re.createElement("head",null),Re.createElement("body",null,Re.createElement(Dl,null),Re.createElement("div",{id:vs},Mi),Re.createElement(dl,{manifest:Ui,loaderData:xa,htmlPageOpts:sa})));if(ua!=null&&ua.pureApp)return Re.createElement(Re.Fragment,null,Mi);var Gi=typeof window=="undefined"?Ui==null?void 0:Ui.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Re.createElement("html",{suppressHydrationWarning:!0,lang:(sa==null?void 0:sa.lang)||"en"},Re.createElement("head",null,Re.createElement("meta",{charSet:"utf-8"}),Re.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Gi&&Re.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Gi}),Re.createElement(Kc,{htmlPageOpts:sa})),Re.createElement("body",null,Re.createElement(Dl,null),Re.createElement("div",{id:vs},Mi),Re.createElement(dl,{manifest:Ui,loaderData:xa,htmlPageOpts:sa}),sa==null||(Hn=sa.scripts)===null||Hn===void 0?void 0:Hn.map(function(is,el){var Hu=Bu(is),tl=Hu.content,hl=(0,ll.Z)(Hu,Mo);return Re.createElement("script",(0,Su.Z)({dangerouslySetInnerHTML:{__html:tl},key:el},hl))})))}var mu=Re.createContext(void 0);function ec(){return Re.useContext(mu)}var Ol=["redirect"];function eu(Sn){var Hn=Sn.routesById,Mi=Sn.parentId,xa=Sn.routeComponents,Ui=Sn.useStream,sa=Ui===void 0?!0:Ui;return Object.keys(Hn).filter(function(ua){return Hn[ua].parentId===Mi}).map(function(ua){var vs=bc((0,Lo.Z)((0,Lo.Z)({route:Hn[ua],routeComponent:xa[ua],loadingComponent:Sn.loadingComponent,reactRouter5Compat:Sn.reactRouter5Compat},Sn.reactRouter5Compat&&{hasChildren:Object.keys(Hn).filter(function(is){return Hn[is].parentId===ua}).length>0}),{},{useStream:sa})),Gi=eu({routesById:Hn,routeComponents:xa,parentId:vs.id,loadingComponent:Sn.loadingComponent,reactRouter5Compat:Sn.reactRouter5Compat,useStream:sa});return Gi.length>0&&(vs.children=Gi,vs.routes=Gi),vs})}function kl(Sn){var Hn=(0,go.UO)(),Mi=(0,go.Gn)(Sn.to,Hn),xa=(0,Jl.T$)(),Ui=(0,go.TH)();if(xa!=null&&xa.keepQuery){var sa=Ui.search+Ui.hash;Mi+=sa}var ua=(0,Lo.Z)((0,Lo.Z)({},Sn),{},{to:Mi});return Re.createElement(go.Fg,(0,Su.Z)({replace:!0},ua))}function bc(Sn){var Hn=Sn.route,Mi=Sn.useStream,xa=Mi===void 0?!0:Mi,Ui=Hn.redirect,sa=(0,ll.Z)(Hn,Ol),ua=Sn.reactRouter5Compat?Rl:Wo;return(0,Lo.Z)({element:Ui?Re.createElement(kl,{to:Ui}):Re.createElement(mu.Provider,{value:{route:Sn.route}},Re.createElement(ua,{loader:Re.memo(Sn.routeComponent),loadingComponent:Sn.loadingComponent||cf,hasChildren:Sn.hasChildren,useStream:xa}))},sa)}function cf(){return Re.createElement("div",null)}function Rl(Sn){var Hn=ec(),Mi=Hn.route,xa=(0,Jl.Ov)(),Ui=xa.history,sa=xa.clientRoutes,ua=(0,go.UO)(),vs={params:ua,isExact:!0,path:Mi.path,url:Ui.location.pathname},Gi=Sn.loader,is={location:Ui.location,match:vs,history:Ui,params:ua,route:Mi,routes:sa};return Sn.useStream?Re.createElement(Re.Suspense,{fallback:Re.createElement(Sn.loadingComponent,null)},Re.createElement(Gi,is,Sn.hasChildren&&Re.createElement(go.j3,null))):Re.createElement(Gi,is,Sn.hasChildren&&Re.createElement(go.j3,null))}function Wo(Sn){var Hn=Sn.loader;return Sn.useStream?Re.createElement(Re.Suspense,{fallback:Re.createElement(Sn.loadingComponent,null)},Re.createElement(Hn,null)):Re.createElement(Hn,null)}var yl=null;function Yc(){return yl}function Nu(Sn){var Hn=Sn.history,Mi=Re.useState({action:Hn.action,location:Hn.location}),xa=(0,Ql.Z)(Mi,2),Ui=xa[0],sa=xa[1];return(0,Re.useLayoutEffect)(function(){return Hn.listen(sa)},[Hn]),(0,Re.useLayoutEffect)(function(){function ua(vs){Sn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Sn.routes,clientRoutes:Sn.clientRoutes,location:vs.location,action:vs.action,basename:Sn.basename,isFirst:!!vs.isFirst}})}return ua({location:Ui.location,action:Ui.action,isFirst:!0}),Hn.listen(ua)},[Hn,Sn.routes,Sn.clientRoutes]),Re.createElement(go.F0,{navigator:Hn,location:Ui.location,basename:Sn.basename},Sn.children)}function $u(){var Sn=(0,Jl.Ov)(),Hn=Sn.clientRoutes;return(0,go.V$)(Hn)}var lu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Uo=function(Hn,Mi){var xa=Hn.basename||"/",Ui=eu({routesById:Hn.routes,routeComponents:Hn.routeComponents,loadingComponent:Hn.loadingComponent,reactRouter5Compat:Hn.reactRouter5Compat,useStream:Hn.useStream});Hn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Ui}});for(var sa=Re.createElement(Nu,{basename:xa,pluginManager:Hn.pluginManager,routes:Hn.routes,clientRoutes:Ui,history:Hn.history},Mi),ua=0,vs=lu;ua<vs.length;ua++){var Gi=vs[ua];sa=Hn.pluginManager.applyPlugins({type:"modify",key:Gi,initialValue:sa,args:{routes:Hn.routes,history:Hn.history,plugin:Hn.pluginManager}})}var is=function(){var Hu=(0,Re.useState)({}),tl=(0,Ql.Z)(Hu,2),hl=tl[0],pl=tl[1],Df=(0,Re.useState)(window.__UMI_LOADER_DATA__||{}),Ef=(0,Ql.Z)(Df,2),$l=Ef[0],Sf=Ef[1],Ec=(0,Re.useCallback)(function(qc,df){var _l,Of=(((_l=(0,go.fp)(Ui,qc,xa))===null||_l===void 0?void 0:_l.map(function(rl){return rl.route.id}))||[]).filter(Boolean);Of.forEach(function(rl){var Fc,Qc;if(window.__umi_route_prefetch__){var Vo,Jc=(Vo=Hn.routeComponents[rl])===null||Vo===void 0||(Vo=Vo._payload)===null||Vo===void 0?void 0:Vo._result;typeof Jc=="function"&&Jc()}var hf=(Fc=Hn.routes[rl])===null||Fc===void 0?void 0:Fc.clientLoader,ml=!!hf,jl=(Qc=Hn.routes[rl])===null||Qc===void 0?void 0:Qc.hasServerLoader;!df&&jl&&!ml&&!window.__UMI_LOADER_DATA__&&jo({id:rl,basename:xa,cb:function(Nc){Re.startTransition(function(){Sf(function(_f){return(0,Lo.Z)((0,Lo.Z)({},_f),{},(0,vc.Z)({},rl,Nc))})})}});var Ko=!!hl[rl],Sc=ml&&hf.hydrate||!jl,pf=jl&&!window.__UMI_LOADER_DATA__;ml&&!Ko&&(Sc||pf)&&hf({serverLoader:function(){return jo({id:rl,basename:xa,cb:function(_f){Re.startTransition(function(){Sf(function($c){return(0,Lo.Z)((0,Lo.Z)({},$c),{},(0,vc.Z)({},rl,_f))})})}})}}).then(function(Bc){pl(function(Nc){return(0,Lo.Z)((0,Lo.Z)({},Nc),{},(0,vc.Z)({},rl,Bc))})})})},[hl]);return(0,Re.useEffect)(function(){return Ec(window.location.pathname,!0),Hn.history.listen(function(qc){Ec(qc.location.pathname)})},[]),(0,Re.useLayoutEffect)(function(){typeof Hn.callback=="function"&&Hn.callback()},[]),Re.createElement(Jl.Il.Provider,{value:{routes:Hn.routes,routeComponents:Hn.routeComponents,clientRoutes:Ui,pluginManager:Hn.pluginManager,rootElement:Hn.rootElement,basename:xa,clientLoaderData:hl,serverLoaderData:$l,preloadRoute:Ec,history:Hn.history}},sa)};return is};function Xc(Sn){var Hn=Sn.rootElement||document.getElementById("root"),Mi=Uo(Sn,Re.createElement($u,null));if(Sn.components)return Mi;if(Sn.hydrate){var xa=window.__UMI_LOADER_DATA__||{},Ui=window.__UMI_METADATA_LOADER_DATA__||{},sa={metadata:Ui,loaderData:xa,mountElementId:Sn.mountElementId},ua=Sn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||Sn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;Il.hydrateRoot(ua?Hn:document,ua?Re.createElement(Mi,null):Re.createElement(Qu,sa,Re.createElement(Mi,null)));return}if(Il.createRoot){yl=Il.createRoot(Hn),yl.render(Re.createElement(Mi,null));return}Il.render(Re.createElement(Mi,null),Hn)}var xc=(Sn,Hn,Mi)=>new Promise((xa,Ui)=>{var sa=Gi=>{try{vs(Mi.next(Gi))}catch(is){Ui(is)}},ua=Gi=>{try{vs(Mi.throw(Gi))}catch(is){Ui(is)}},vs=Gi=>Gi.done?xa(Gi.value):Promise.resolve(Gi.value).then(sa,ua);vs((Mi=Mi.apply(Sn,Hn)).next())});function tc(){return xc(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:"/declaration",parentId:"1",id:"431"},432:{path:"/declaration",parentId:"431",id:"432"},433:{path:"/declaration/home",parentId:"432",id:"433"},434:{path:"/declaration/fileds",parentId:"432",id:"434"},435:{path:"/declaration/review",parentId:"432",id:"435"},436:{path:"/declaration/research/instruction",parentId:"432",id:"436"},437:{path:"/declaration/research/paper",parentId:"432",id:"437"},438:{path:"/declaration/research/teachCompetition",parentId:"432",id:"438"},439:{path:"/declaration/research/teachProject",parentId:"432",id:"439"},440:{path:"/declaration/research/teachWin",parentId:"432",id:"440"},441:{path:"/declaration/research/teachPaper",parentId:"432",id:"441"},442:{path:"/declaration/research/teachBook",parentId:"432",id:"442"},443:{path:"/declaration/research/teachMeeting",parentId:"432",id:"443"},444:{path:"/declaration/research/project",parentId:"432",id:"444"},445:{path:"/declaration/research/monograph",parentId:"432",id:"445"},446:{path:"/declaration/research/intellectualProperty",parentId:"432",id:"446"},447:{path:"/declaration/research/researchAward",parentId:"432",id:"447"},448:{path:"/declaration/research/technologyTransfer",parentId:"432",id:"448"},449:{path:"/declaration/research/conferenceResearch",parentId:"432",id:"449"},450:{path:"/declaration/research/paper/edit",parentId:"431",id:"450"},451:{path:"/declaration/research/teachCompetition/edit",parentId:"431",id:"451"},452:{path:"/declaration/research/teachProject/edit",parentId:"431",id:"452"},453:{path:"/declaration/research/teachWin/edit",parentId:"431",id:"453"},454:{path:"/declaration/research/teachPaper/edit",parentId:"431",id:"454"},455:{path:"/declaration/research/teachBook/edit",parentId:"431",id:"455"},456:{path:"/declaration/research/teachMeeting/edit",parentId:"431",id:"456"},457:{path:"/declaration/research/project/edit",parentId:"431",id:"457"},458:{path:"/declaration/research/monograph/edit",parentId:"431",id:"458"},459:{path:"/declaration/research/intellectualProperty/edit",parentId:"431",id:"459"},460:{path:"/declaration/research/researchAward/edit",parentId:"431",id:"460"},461:{path:"/declaration/research/technologyTransfer/edit",parentId:"431",id:"461"},462:{path:"/declaration/research/conferenceResearch/edit",parentId:"431",id:"462"},463:{path:"/declaration/research/paper/review",parentId:"431",id:"463"},464:{path:"/declaration/research/teachCompetition/review",parentId:"431",id:"464"},465:{path:"/declaration/research/teachProject/review",parentId:"431",id:"465"},466:{path:"/declaration/research/teachWin/review",parentId:"431",id:"466"},467:{path:"/declaration/research/teachPaper/review",parentId:"431",id:"467"},468:{path:"/declaration/research/teachBook/review",parentId:"431",id:"468"},469:{path:"/declaration/research/teachMeeting/review",parentId:"431",id:"469"},470:{path:"/declaration/research/project/review",parentId:"431",id:"470"},471:{path:"/declaration/research/monograph/review",parentId:"431",id:"471"},472:{path:"/declaration/research/intellectualProperty/review",parentId:"431",id:"472"},473:{path:"/declaration/research/researchAward/review",parentId:"431",id:"473"},474:{path:"/declaration/research/technologyTransfer/review",parentId:"431",id:"474"},475:{path:"/declaration/research/conferenceResearch/review",parentId:"431",id:"475"},476:{path:"/declaration/research/paper/view",parentId:"431",id:"476"},477:{path:"/declaration/research/teachCompetition/view",parentId:"431",id:"477"},478:{path:"/declaration/research/teachProject/view",parentId:"431",id:"478"},479:{path:"/declaration/research/teachWin/view",parentId:"431",id:"479"},480:{path:"/declaration/research/teachPaper/view",parentId:"431",id:"480"},481:{path:"/declaration/research/teachBook/view",parentId:"431",id:"481"},482:{path:"/declaration/research/teachMeeting/view",parentId:"431",id:"482"},483:{path:"/declaration/research/project/view",parentId:"431",id:"483"},484:{path:"/declaration/research/monograph/view",parentId:"431",id:"484"},485:{path:"/declaration/research/intellectualProperty/view",parentId:"431",id:"485"},486:{path:"/declaration/research/researchAward/view",parentId:"431",id:"486"},487:{path:"/declaration/research/technologyTransfer/view",parentId:"431",id:"487"},488:{path:"/declaration/research/conferenceResearch/view",parentId:"431",id:"488"},489:{path:"/onlinenum",parentId:"1",id:"489"},490:{path:"/onlinenum",parentId:"489",id:"490"},491:{path:"/shixuncontext",parentId:"1",id:"491"},492:{path:"/shixuncontext",parentId:"491",id:"492"},493:{path:"/shixuncontext/:Id/detail",parentId:"491",id:"493"},494:{path:"/educoder-demo",exact:!0,parentId:"1",id:"494"},495:{path:"/training",parentId:"1",id:"495"},496:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"495",id:"496"},497:{path:"/largeScreen",exact:!0,parentId:"1",id:"497"},498:{path:"/quality",parentId:"1",id:"498"},499:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"498",id:"499"},500:{path:"/otherlogin",exact:!0,parentId:"1",id:"500"},501:{path:"/otherloginqq",exact:!0,parentId:"1",id:"501"},502:{path:"/otherloginstart",exact:!0,parentId:"1",id:"502"},503:{path:"/pathsoverview",exact:!0,parentId:"1",id:"503"},504:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"504"},505:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"505"},506:{path:"/login",parentId:"1",id:"506"},507:{path:"/login",parentId:"506",id:"507"},508:{path:"/user",parentId:"1",id:"508"},509:{path:"/user/login",parentId:"508",id:"509"},510:{path:"/user/register",parentId:"508",id:"510"},511:{path:"/user/reset-password",parentId:"508",id:"511"},512:{path:"/colleges",parentId:"1",id:"512"},513:{path:"/colleges/:id/statistics",parentId:"512",id:"513"},514:{path:"/help",parentId:"1",id:"514"},515:{path:"/help/:id",parentId:"514",id:"515"},516:{path:"/video",parentId:"1",id:"516"},517:{path:"/video/:videoId",parentId:"516",id:"517"},518:{path:"/terminal",parentId:"1",id:"518"},519:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"519"},520:{path:"/",parentId:"1",id:"520"},521:{path:"/",exact:!0,parentId:"520",id:"521"},522:{path:"/api/*",exact:!0,parentId:"520",id:"522"},523:{path:"/search",exact:!0,parentId:"520",id:"523"},524:{path:"/moop_cases",exact:!0,parentId:"520",id:"524"},525:{path:"/moop_cases/new",exact:!0,parentId:"520",id:"525"},526:{path:"/moop_cases/:caseId",exact:!0,parentId:"520",id:"526"},527:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"520",id:"527"},528:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"520",id:"528"},529:{path:"/randompaper",exact:!0,parentId:"520",id:"529"},530:{path:"/randompaper/edit/:id",exact:!0,parentId:"520",id:"530"},531:{path:"/randompaper/detail/:id",exact:!0,parentId:"520",id:"531"},532:{path:"/403",parentId:"520",id:"532"},533:{path:"/500",parentId:"520",id:"533"},534:{path:"/404",parentId:"520",id:"534"},535:{path:"/download",parentId:"520",id:"535"},536:{path:"/iwce",parentId:"520",id:"536"},537:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"520",id:"537"},538:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"520",id:"538"},539:{path:"/Activities",parentId:"520",id:"539"},540:{path:"/iwce/:itemname",parentId:"520",id:"540"},541:{path:"/hpc-course",parentId:"520",id:"541"},542:{path:"/user_agents",parentId:"520",id:"542"},543:{path:"/three",parentId:"520",id:"543"},544:{path:"/introduction",parentId:"520",id:"544"},545:{path:"/chatgpt",parentId:"520",id:"545"},546:{path:"/*",parentId:"520",id:"546"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:Re.lazy(()=>__webpack_require__.e(610).then(__webpack_require__.bind(__webpack_require__,10610))),2:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),3:Re.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,10159))),4:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,43641))),5:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,43641))),6:Re.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,20086))),7:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(8613),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,99131))),8:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(8613),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,45610))),9:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),10:Re.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,56090))),11:Re.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,31517))),12:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,54144))),13:Re.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,60807))),14:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,42602))),15:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,70338))),16:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,54144))),17:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(8613),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,99131))),18:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(8613),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,99131))),19:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),20:Re.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,60948))),21:Re.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,14920))),22:Re.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,50203))),23:Re.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,60948))),24:Re.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,46400))),25:Re.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,46400))),26:Re.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,10707))),27:Re.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,10707))),28:Re.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,22742))),29:Re.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,35153))),30:Re.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,82246))),31:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,50815))),32:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,33909))),33:Re.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,28641))),34:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,81364))),35:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,97083))),36:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,2388))),37:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,46724))),38:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,71765))),39:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,74987))),40:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,77511))),41:Re.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,99792))),42:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,59328))),43:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(8613),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,99131))),44:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,85877))),45:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,23587))),46:Re.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,71860))),47:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,67255))),48:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,64648))),49:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,81646))),50:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,81646))),51:Re.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,17905))),52:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(2145),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,15074))),53:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(2145),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,15074))),54:Re.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,20281))),55:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,92297))),56:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,42083))),57:Re.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,16798))),58:Re.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,16798))),59:Re.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,89764))),60:Re.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,89764))),61:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,33065))),62:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,24887))),63:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,18142))),64:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,63175))),65:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,17868))),66:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,90088))),67:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,47487))),68:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,90585))),69:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,63150))),70:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,89482))),71:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,19824))),72:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,93997))),73:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,65440))),74:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,42714))),75:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,27435))),76:Re.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,58643))),77:Re.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,58619))),78:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,97617))),79:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,53985))),80:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,30824))),81:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,11219))),82:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,73605))),83:Re.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,60807))),84:Re.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,31420))),85:Re.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,91564))),86:Re.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,75732))),87:Re.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,54108))),88:Re.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,88878))),89:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,48021))),90:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,48021))),91:Re.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,23557))),92:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,36655))),93:Re.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,45303))),94:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,76471))),95:Re.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,52438))),96:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,22214))),97:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,22897))),98:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,25900))),99:Re.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,57031))),100:Re.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,45151))),101:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,57883))),102:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,57883))),103:Re.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,28521))),104:Re.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,39733))),105:Re.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,39733))),106:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,9861))),107:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,9861))),108:Re.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,61756))),109:Re.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,61756))),110:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8818),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,59100))),111:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8818),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,59100))),112:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8818),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,2950))),113:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8818),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,2950))),114:Re.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,73149))),115:Re.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,19732))),116:Re.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,1974))),117:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,66201))),118:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,66201))),119:Re.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,96425))),120:Re.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,12736))),121:Re.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,81780))),122:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,95950))),123:Re.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,41278))),124:Re.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,1700))),125:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,47291))),126:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,47291))),127:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,49026))),128:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,49026))),129:Re.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,50563))),130:Re.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,50563))),131:Re.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,16066))),132:Re.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,16066))),133:Re.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,31999))),134:Re.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,21690))),135:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,87735))),136:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,91055))),137:Re.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,72697))),138:Re.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,72697))),139:Re.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,81938))),140:Re.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,44952))),141:Re.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,44952))),142:Re.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,36377))),143:Re.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,36377))),144:Re.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,96138))),145:Re.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,25983))),146:Re.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,25983))),147:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3422))),148:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3422))),149:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,44900))),150:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,99279))),151:Re.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,76133))),152:Re.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,18384))),153:Re.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,81519))),154:Re.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,43759))),155:Re.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,74259))),156:Re.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,75295))),157:Re.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,74884))),158:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),159:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9248),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,48404))),160:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9248),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,48404))),161:Re.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,48357))),162:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9248),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,48404))),163:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3445),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,85707))),164:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3445),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,85707))),165:Re.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,32439))),166:Re.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,32240))),167:Re.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,19247))),168:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3445),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,72003))),169:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),170:Re.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,71208))),171:Re.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,75212))),172:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,70596))),173:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,70596))),174:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,58835))),175:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),176:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(8613),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,99131))),177:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,43306))),178:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,43306))),179:Re.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,75032))),180:Re.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,34577))),181:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(8613),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,99131))),182:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),183:Re.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,85447))),184:Re.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,66666))),185:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,24355))),186:Re.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,54943))),187:Re.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,87452))),188:Re.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,24728))),189:Re.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,92051))),190:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(1054),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,79777))),191:Re.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,20332))),192:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,89348))),193:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,73907))),194:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,73907))),195:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,34834))),196:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,34834))),197:Re.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,56201))),198:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,70967))),199:Re.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,15135))),200:Re.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,16517))),201:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,51311))),202:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,36418))),203:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,36418))),204:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,7601))),205:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,95818))),206:Re.lazy(()=>Promise.all([__webpack_require__.e(1054),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,88257))),207:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,48134))),208:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,17017))),209:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,11415))),210:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,18108))),211:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,18108))),212:Re.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,43045))),213:Re.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,43045))),214:Re.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,81314))),215:Re.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,81314))),216:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,36418))),217:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,36418))),218:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,57331))),219:Re.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,57863))),220:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),221:Re.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,28721))),222:Re.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,84270))),223:Re.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,48023))),224:Re.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,54682))),225:Re.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,10494))),226:Re.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,10494))),227:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,77697))),228:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,85938))),229:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,95813))),230:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,65990))),231:Re.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,57823))),232:Re.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,12002))),233:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,23916))),234:Re.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,1641))),235:Re.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,59779))),236:Re.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,99171))),237:Re.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,95295))),238:Re.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,94360))),239:Re.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,53768))),240:Re.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,59779))),241:Re.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,82039))),242:Re.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,19573))),243:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,63081))),244:Re.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,99591))),245:Re.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,37892))),246:Re.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,75854))),247:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,76344))),248:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,70388))),249:Re.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,49925))),250:Re.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,96562))),251:Re.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,62005))),252:Re.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,9694))),253:Re.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,4120))),254:Re.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,93856))),255:Re.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,14715))),256:Re.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,82551))),257:Re.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,22268))),258:Re.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,89539))),259:Re.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,74690))),260:Re.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,25584))),261:Re.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,36926))),262:Re.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,37433))),263:Re.lazy(()=>__webpack_require__.e(610).then(__webpack_require__.bind(__webpack_require__,10610))),264:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),265:Re.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,48613))),266:Re.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,84163))),267:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,98567))),268:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,98567))),269:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,18300))),270:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,18300))),271:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,79831))),272:Re.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,96578))),273:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,87094))),274:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,87094))),275:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),276:Re.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,11408))),277:Re.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,68463))),278:Re.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,58852))),279:Re.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,24938))),280:Re.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,12916))),281:Re.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,20484))),282:Re.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,99373))),283:Re.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,82071))),284:Re.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,89732))),285:Re.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,94645))),286:Re.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,95762))),287:Re.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,17382))),288:Re.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,51566))),289:Re.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,47432))),290:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,97290))),291:Re.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,97261))),292:Re.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,90678))),293:Re.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,16604))),294:Re.lazy(()=>__webpack_require__.e(610).then(__webpack_require__.bind(__webpack_require__,10610))),295:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),296:Re.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,21447))),297:Re.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,51458))),298:Re.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,1363))),299:Re.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,44186))),300:Re.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,64150))),301:Re.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,27700))),302:Re.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,52490))),303:Re.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,46158))),304:Re.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,16686))),305:Re.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,16686))),306:Re.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,35200))),307:Re.lazy(()=>__webpack_require__.e(610).then(__webpack_require__.bind(__webpack_require__,10610))),308:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(2145),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,36632))),309:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,36453))),310:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(2145),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,36632))),311:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,36453))),312:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(2145),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,36632))),313:Re.lazy(()=>__webpack_require__.e(610).then(__webpack_require__.bind(__webpack_require__,10610))),314:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,83684))),315:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2145),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,46464))),316:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),317:Re.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,51378))),318:Re.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,21896))),319:Re.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,3292))),320:Re.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,34496))),321:Re.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,37748))),322:Re.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,609))),323:Re.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,32127))),324:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),325:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,77874))),326:Re.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,77055))),327:Re.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,77055))),328:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),329:Re.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,49051))),330:Re.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,5539))),331:Re.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,98158))),332:Re.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,21310))),333:Re.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,40816))),334:Re.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,70478))),335:Re.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,94569))),336:Re.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,82993))),337:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),338:Re.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,63798))),339:Re.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,21661))),340:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,33953))),341:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),342:Re.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,64597))),343:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,1816))),344:Re.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,85147))),345:Re.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,52842))),346:Re.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,8817))),347:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,90302))),348:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,90302))),349:Re.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,66503))),350:Re.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,59074))),351:Re.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,30402))),352:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,48172))),353:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,81638))),354:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,81638))),355:Re.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,45046))),356:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,96393))),357:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,98437))),358:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,40295))),359:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,40295))),360:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,60877))),361:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,12331))),362:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,12331))),363:Re.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,29738))),364:Re.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,16715))),365:Re.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,90616))),366:Re.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,54100))),367:Re.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,63681))),368:Re.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,3347))),369:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,1816))),370:Re.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,72771))),371:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),372:Re.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,64597))),373:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,1816))),374:Re.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,85147))),375:Re.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,52842))),376:Re.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,8817))),377:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,90302))),378:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,90302))),379:Re.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,66503))),380:Re.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,59074))),381:Re.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,30402))),382:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,48172))),383:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,81638))),384:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,81638))),385:Re.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,45046))),386:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,96393))),387:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,98437))),388:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,40295))),389:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,40295))),390:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,60877))),391:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,12331))),392:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,12331))),393:Re.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,29738))),394:Re.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,16715))),395:Re.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,90616))),396:Re.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,54100))),397:Re.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,63681))),398:Re.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,3347))),399:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,1816))),400:Re.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,72771))),401:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),402:Re.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,42244))),403:Re.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,93203))),404:Re.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,8015))),405:Re.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,35101))),406:Re.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,86643))),407:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),408:Re.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,99323))),409:Re.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,70550))),410:Re.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,54447))),411:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,23076))),412:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,33728))),413:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,51582))),414:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,47613))),415:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,72716))),416:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,72716))),417:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,72716))),418:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,72716))),419:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,72716))),420:Re.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,94623))),421:Re.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,14523))),422:Re.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,14523))),423:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,87694))),424:Re.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,9860))),425:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),426:Re.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,37312))),427:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,34899))),428:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),429:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,20544))),430:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,66125))),431:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),432:Re.lazy(()=>__webpack_require__.e(1538).then(__webpack_require__.bind(__webpack_require__,13214))),433:Re.lazy(()=>__webpack_require__.e(7285).then(__webpack_require__.bind(__webpack_require__,47128))),434:Re.lazy(()=>__webpack_require__.e(3914).then(__webpack_require__.bind(__webpack_require__,18050))),435:Re.lazy(()=>__webpack_require__.e(2029).then(__webpack_require__.bind(__webpack_require__,65709))),436:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(1279)]).then(__webpack_require__.bind(__webpack_require__,15473))),437:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5301)]).then(__webpack_require__.bind(__webpack_require__,38651))),438:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2625)]).then(__webpack_require__.bind(__webpack_require__,52091))),439:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8205)]).then(__webpack_require__.bind(__webpack_require__,55214))),440:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(233)]).then(__webpack_require__.bind(__webpack_require__,47218))),441:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4292)]).then(__webpack_require__.bind(__webpack_require__,63814))),442:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3939)]).then(__webpack_require__.bind(__webpack_require__,61125))),443:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3996)]).then(__webpack_require__.bind(__webpack_require__,23324))),444:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5089)]).then(__webpack_require__.bind(__webpack_require__,76759))),445:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5807)]).then(__webpack_require__.bind(__webpack_require__,73680))),446:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7529)]).then(__webpack_require__.bind(__webpack_require__,42641))),447:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(3261)]).then(__webpack_require__.bind(__webpack_require__,33343))),448:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5908)]).then(__webpack_require__.bind(__webpack_require__,73043))),449:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(2086)]).then(__webpack_require__.bind(__webpack_require__,45965))),450:Re.lazy(()=>__webpack_require__.e(2385).then(__webpack_require__.bind(__webpack_require__,70214))),451:Re.lazy(()=>__webpack_require__.e(6290).then(__webpack_require__.bind(__webpack_require__,46575))),452:Re.lazy(()=>__webpack_require__.e(5472).then(__webpack_require__.bind(__webpack_require__,23452))),453:Re.lazy(()=>__webpack_require__.e(957).then(__webpack_require__.bind(__webpack_require__,66070))),454:Re.lazy(()=>__webpack_require__.e(5232).then(__webpack_require__.bind(__webpack_require__,89896))),455:Re.lazy(()=>__webpack_require__.e(9995).then(__webpack_require__.bind(__webpack_require__,64475))),456:Re.lazy(()=>__webpack_require__.e(8902).then(__webpack_require__.bind(__webpack_require__,68199))),457:Re.lazy(()=>__webpack_require__.e(70).then(__webpack_require__.bind(__webpack_require__,79270))),458:Re.lazy(()=>__webpack_require__.e(7280).then(__webpack_require__.bind(__webpack_require__,53147))),459:Re.lazy(()=>__webpack_require__.e(3677).then(__webpack_require__.bind(__webpack_require__,64614))),460:Re.lazy(()=>__webpack_require__.e(7608).then(__webpack_require__.bind(__webpack_require__,534))),461:Re.lazy(()=>__webpack_require__.e(9516).then(__webpack_require__.bind(__webpack_require__,61846))),462:Re.lazy(()=>__webpack_require__.e(146).then(__webpack_require__.bind(__webpack_require__,53521))),463:Re.lazy(()=>__webpack_require__.e(2385).then(__webpack_require__.bind(__webpack_require__,70214))),464:Re.lazy(()=>__webpack_require__.e(6290).then(__webpack_require__.bind(__webpack_require__,46575))),465:Re.lazy(()=>__webpack_require__.e(5472).then(__webpack_require__.bind(__webpack_require__,23452))),466:Re.lazy(()=>__webpack_require__.e(957).then(__webpack_require__.bind(__webpack_require__,66070))),467:Re.lazy(()=>__webpack_require__.e(5232).then(__webpack_require__.bind(__webpack_require__,89896))),468:Re.lazy(()=>__webpack_require__.e(9995).then(__webpack_require__.bind(__webpack_require__,64475))),469:Re.lazy(()=>__webpack_require__.e(8902).then(__webpack_require__.bind(__webpack_require__,68199))),470:Re.lazy(()=>__webpack_require__.e(70).then(__webpack_require__.bind(__webpack_require__,79270))),471:Re.lazy(()=>__webpack_require__.e(7280).then(__webpack_require__.bind(__webpack_require__,53147))),472:Re.lazy(()=>__webpack_require__.e(3677).then(__webpack_require__.bind(__webpack_require__,64614))),473:Re.lazy(()=>__webpack_require__.e(7608).then(__webpack_require__.bind(__webpack_require__,534))),474:Re.lazy(()=>__webpack_require__.e(9516).then(__webpack_require__.bind(__webpack_require__,61846))),475:Re.lazy(()=>__webpack_require__.e(146).then(__webpack_require__.bind(__webpack_require__,53521))),476:Re.lazy(()=>__webpack_require__.e(2385).then(__webpack_require__.bind(__webpack_require__,70214))),477:Re.lazy(()=>__webpack_require__.e(6290).then(__webpack_require__.bind(__webpack_require__,46575))),478:Re.lazy(()=>__webpack_require__.e(5472).then(__webpack_require__.bind(__webpack_require__,23452))),479:Re.lazy(()=>__webpack_require__.e(957).then(__webpack_require__.bind(__webpack_require__,66070))),480:Re.lazy(()=>__webpack_require__.e(5232).then(__webpack_require__.bind(__webpack_require__,89896))),481:Re.lazy(()=>__webpack_require__.e(9995).then(__webpack_require__.bind(__webpack_require__,64475))),482:Re.lazy(()=>__webpack_require__.e(8902).then(__webpack_require__.bind(__webpack_require__,68199))),483:Re.lazy(()=>__webpack_require__.e(70).then(__webpack_require__.bind(__webpack_require__,79270))),484:Re.lazy(()=>__webpack_require__.e(7280).then(__webpack_require__.bind(__webpack_require__,53147))),485:Re.lazy(()=>__webpack_require__.e(3677).then(__webpack_require__.bind(__webpack_require__,64614))),486:Re.lazy(()=>__webpack_require__.e(7608).then(__webpack_require__.bind(__webpack_require__,534))),487:Re.lazy(()=>__webpack_require__.e(9516).then(__webpack_require__.bind(__webpack_require__,61846))),488:Re.lazy(()=>__webpack_require__.e(146).then(__webpack_require__.bind(__webpack_require__,53521))),489:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),490:Re.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,31525))),491:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),492:Re.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,20047))),493:Re.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,13715))),494:Re.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,61520))),495:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),496:Re.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,39511))),497:Re.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,52503))),498:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),499:Re.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,43790))),500:Re.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,38800))),501:Re.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,9760))),502:Re.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,2374))),503:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,57486))),504:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,12298))),505:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,26949))),506:Re.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,60763))),507:Re.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,49043))),508:Re.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,62636))),509:Re.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,49043))),510:Re.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,44092))),511:Re.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,86343))),512:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),513:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,88013))),514:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),515:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,62980))),516:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),517:Re.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,82273))),518:Re.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,54607))),519:Re.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,75183))),520:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,46520))),521:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9248),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,29400))),522:Re.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,83923))),523:Re.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,75091))),524:Re.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,68540))),525:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,22636))),526:Re.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,30386))),527:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,22636))),528:Re.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,81669))),529:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,67255))),530:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,67255))),531:Re.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,34254))),532:Re.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,96014))),533:Re.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,77215))),534:Re.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,25416))),535:Re.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,78239))),536:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,58927))),537:Re.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,96323))),538:Re.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,95950))),539:Re.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,46155))),540:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,58927))),541:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,58927))),542:Re.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,55645))),543:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,57165))),544:Re.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,48281))),545:Re.lazy(()=>Promise.all([__webpack_require__.e(1183),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,55848))),546:Re.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,25416))),"@@/global-layout":Re.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,79332)))}}})}var ff=__webpack_require__(56186),ju=__webpack_require__(62202),Ll=__webpack_require__(71418),Ml=__webpack_require__(38673),$i=()=>Re.createElement(Ll.Z,{size:"middle",className:Ml.Z.loading}),_s=__webpack_require__(1997),Gs=__webpack_require__(61186),ui=__webpack_require__.n(Gs),Uu=__webpack_require__(91392),C=__webpack_require__.n(Uu),O=__webpack_require__(34749),k=__webpack_require__.n(O),me=__webpack_require__(19277),ze=__webpack_require__.n(me),an=__webpack_require__(10238),ni=__webpack_require__.n(an),Wi=__webpack_require__(33656),Bi=__webpack_require__.n(Wi),es=__webpack_require__(90111),Ds=__webpack_require__.n(es),ii=__webpack_require__(74959),As=__webpack_require__.n(ii),bo=__webpack_require__(23250),js=__webpack_require__.n(bo),to=__webpack_require__(58862),bl=__webpack_require__.n(to),Fl=__webpack_require__(58319),xl=__webpack_require__.n(Fl),Bl=__webpack_require__(62053),Ju=__webpack_require__.n(Bl),Au=__webpack_require__(47477),rc=__webpack_require__.n(Au),wc=__webpack_require__(59717),Cu=__webpack_require__.n(wc);ui().extend(k()),ui().extend(ze()),ui().extend(ni()),ui().extend(Bi()),ui().extend(Ds()),ui().extend(As()),ui().extend(js()),ui().extend(bl()),ui().extend(xl()),ui().extend(Ju()),ui().extend(rc()),ui().extend(Cu()),ui().extend(C());var ms=Object.defineProperty,zu=Object.getOwnPropertySymbols,nc=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,Zu=(Sn,Hn,Mi)=>Hn in Sn?ms(Sn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Mi}):Sn[Hn]=Mi,wl=(Sn,Hn)=>{for(var Mi in Hn||(Hn={}))nc.call(Hn,Mi)&&Zu(Sn,Mi,Hn[Mi]);if(zu)for(var Mi of zu(Hn))Go.call(Hn,Mi)&&Zu(Sn,Mi,Hn[Mi]);return Sn},ic=(Sn,Hn,Mi)=>new Promise((xa,Ui)=>{var sa=Gi=>{try{vs(Mi.next(Gi))}catch(is){Ui(is)}},ua=Gi=>{try{vs(Mi.throw(Gi))}catch(is){Ui(is)}},vs=Gi=>Gi.done?xa(Gi.value):Promise.resolve(Gi.value).then(sa,ua);vs((Mi=Mi.apply(Sn,Hn)).next())});const Tu="/react/build/",ac=!1;function Nl(){return ic(this,null,function*(){const Sn=(0,ff.gD)(),{routes:Hn,routeComponents:Mi}=yield tc(Sn);yield Sn.applyPlugins({key:"patchRoutes",type:_s.ApplyPluginsType.event,args:{routes:Hn,routeComponents:Mi}});const xa=Sn.applyPlugins({key:"modifyContextOpts",type:_s.ApplyPluginsType.modify,initialValue:{}}),Ui=xa.basename||"/",sa=xa.historyType||"browser",ua=(0,ju.fi)(wl({type:sa,basename:Ui},xa.historyOpts));return Sn.applyPlugins({key:"render",type:_s.ApplyPluginsType.compose,initialValue(){const vs={useStream:!0,routes:Hn,routeComponents:Mi,pluginManager:Sn,mountElementId:"root",rootElement:xa.rootElement||document.getElementById("root"),loadingComponent:$i,publicPath:Tu,runtimePublicPath:ac,history:ua,historyType:sa,basename:Ui,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:xa.callback},Gi=Sn.applyPlugins({key:"modifyClientRenderOpts",type:_s.ApplyPluginsType.modify,initialValue:vs});return Xc(Gi)}})()})}Nl(),typeof window!="undefined"&&(window.g_umi={version:"4.4.9"})})()})();
|