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

1486 lines
2.8 MiB

This file contains ambiguous Unicode characters!

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

(function(){var __webpack_modules__={30071:function(d,v,e){"use strict";e.r(v),e.d(v,{blue:function(){return le},blueDark:function(){return $e},cyan:function(){return ae},cyanDark:function(){return He},geekblue:function(){return Q},geekblueDark:function(){return Bt},generate:function(){return T},gold:function(){return K},goldDark:function(){return se},gray:function(){return ee},green:function(){return ne},greenDark:function(){return Le},grey:function(){return ue},greyDark:function(){return rr},lime:function(){return W},limeDark:function(){return Oe},magenta:function(){return V},magentaDark:function(){return It},orange:function(){return N},orangeDark:function(){return $},presetDarkPalettes:function(){return Yt},presetPalettes:function(){return X},presetPrimaryColors:function(){return D},purple:function(){return J},purpleDark:function(){return yt},red:function(){return M},redDark:function(){return ce},volcano:function(){return B},volcanoDark:function(){return z},yellow:function(){return G},yellowDark:function(){return _e}});var r=e(52873);const i=Math.round;function l(lr,Ve){const Ct=lr.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Ut=Ct.map(st=>parseFloat(st));for(let st=0;st<3;st+=1)Ut[st]=Ve(Ut[st]||0,Ct[st]||"",st);return Ct[3]?Ut[3]=Ct[3].includes("%")?Ut[3]/100:Ut[3]:Ut[3]=1,Ut}const c=(lr,Ve,Ct)=>Ct===0?lr:lr/100;function f(lr,Ve){const Ct=Ve||255;return lr>Ct?Ct:lr<0?0:lr}class o{constructor(Ve){(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 Ct(Ut){return Ut[0]in Ve&&Ut[1]in Ve&&Ut[2]in Ve}if(Ve)if(typeof Ve=="string"){let st=function(xt){return Ut.startsWith(xt)};const Ut=Ve.trim();/^#?[A-F\d]{3,8}$/i.test(Ut)?this.fromHexString(Ut):st("rgb")?this.fromRgbString(Ut):st("hsl")?this.fromHslString(Ut):(st("hsv")||st("hsb"))&&this.fromHsvString(Ut)}else if(Ve instanceof o)this.r=Ve.r,this.g=Ve.g,this.b=Ve.b,this.a=Ve.a,this._h=Ve._h,this._s=Ve._s,this._l=Ve._l,this._v=Ve._v;else if(Ct("rgb"))this.r=f(Ve.r),this.g=f(Ve.g),this.b=f(Ve.b),this.a=typeof Ve.a=="number"?f(Ve.a,1):1;else if(Ct("hsl"))this.fromHsl(Ve);else if(Ct("hsv"))this.fromHsv(Ve);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Ve))}setR(Ve){return this._sc("r",Ve)}setG(Ve){return this._sc("g",Ve)}setB(Ve){return this._sc("b",Ve)}setA(Ve){return this._sc("a",Ve,1)}setHue(Ve){const Ct=this.toHsv();return Ct.h=Ve,this._c(Ct)}getLuminance(){function Ve(xt){const ht=xt/255;return ht<=.03928?ht/12.92:Math.pow((ht+.055)/1.055,2.4)}const Ct=Ve(this.r),Ut=Ve(this.g),st=Ve(this.b);return .2126*Ct+.7152*Ut+.0722*st}getHue(){if(typeof this._h=="undefined"){const Ve=this.getMax()-this.getMin();Ve===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Ve+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/Ve+2:(this.r-this.g)/Ve+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const Ve=this.getMax()-this.getMin();Ve===0?this._s=0:this._s=Ve/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(Ve=10){const Ct=this.getHue(),Ut=this.getSaturation();let st=this.getLightness()-Ve/100;return st<0&&(st=0),this._c({h:Ct,s:Ut,l:st,a:this.a})}lighten(Ve=10){const Ct=this.getHue(),Ut=this.getSaturation();let st=this.getLightness()+Ve/100;return st>1&&(st=1),this._c({h:Ct,s:Ut,l:st,a:this.a})}mix(Ve,Ct=50){const Ut=this._c(Ve),st=Ct/100,xt=rt=>(Ut[rt]-this[rt])*st+this[rt],ht={r:i(xt("r")),g:i(xt("g")),b:i(xt("b")),a:i(xt("a")*100)/100};return this._c(ht)}tint(Ve=10){return this.mix({r:255,g:255,b:255,a:1},Ve)}shade(Ve=10){return this.mix({r:0,g:0,b:0,a:1},Ve)}onBackground(Ve){const Ct=this._c(Ve),Ut=this.a+Ct.a*(1-this.a),st=xt=>i((this[xt]*this.a+Ct[xt]*Ct.a*(1-this.a))/Ut);return this._c({r:st("r"),g:st("g"),b:st("b"),a:Ut})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Ve){return this.r===Ve.r&&this.g===Ve.g&&this.b===Ve.b&&this.a===Ve.a}clone(){return this._c(this)}toHexString(){let Ve="#";const Ct=(this.r||0).toString(16);Ve+=Ct.length===2?Ct:"0"+Ct;const Ut=(this.g||0).toString(16);Ve+=Ut.length===2?Ut:"0"+Ut;const st=(this.b||0).toString(16);if(Ve+=st.length===2?st:"0"+st,typeof this.a=="number"&&this.a>=0&&this.a<1){const xt=i(this.a*255).toString(16);Ve+=xt.length===2?xt:"0"+xt}return Ve}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Ve=this.getHue(),Ct=i(this.getSaturation()*100),Ut=i(this.getLightness()*100);return this.a!==1?`hsla(${Ve},${Ct}%,${Ut}%,${this.a})`:`hsl(${Ve},${Ct}%,${Ut}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(Ve,Ct,Ut){const st=this.clone();return st[Ve]=f(Ct,Ut),st}_c(Ve){return new this.constructor(Ve)}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(Ve){const Ct=Ve.replace("#","");function Ut(st,xt){return parseInt(Ct[st]+Ct[xt||st],16)}Ct.length<6?(this.r=Ut(0),this.g=Ut(1),this.b=Ut(2),this.a=Ct[3]?Ut(3)/255:1):(this.r=Ut(0,1),this.g=Ut(2,3),this.b=Ut(4,5),this.a=Ct[6]?Ut(6,7)/255:1)}fromHsl({h:Ve,s:Ct,l:Ut,a:st}){if(this._h=Ve%360,this._s=Ct,this._l=Ut,this.a=typeof st=="number"?st:1,Ct<=0){const je=i(Ut*255);this.r=je,this.g=je,this.b=je}let xt=0,ht=0,rt=0;const Ue=Ve/60,ye=(1-Math.abs(2*Ut-1))*Ct,Ce=ye*(1-Math.abs(Ue%2-1));Ue>=0&&Ue<1?(xt=ye,ht=Ce):Ue>=1&&Ue<2?(xt=Ce,ht=ye):Ue>=2&&Ue<3?(ht=ye,rt=Ce):Ue>=3&&Ue<4?(ht=Ce,rt=ye):Ue>=4&&Ue<5?(xt=Ce,rt=ye):Ue>=5&&Ue<6&&(xt=ye,rt=Ce);const Fe=Ut-ye/2;this.r=i((xt+Fe)*255),this.g=i((ht+Fe)*255),this.b=i((rt+Fe)*255)}fromHsv({h:Ve,s:Ct,v:Ut,a:st}){this._h=Ve%360,this._s=Ct,this._v=Ut,this.a=typeof st=="number"?st:1;const xt=i(Ut*255);if(this.r=xt,this.g=xt,this.b=xt,Ct<=0)return;const ht=Ve/60,rt=Math.floor(ht),Ue=ht-rt,ye=i(Ut*(1-Ct)*255),Ce=i(Ut*(1-Ct*Ue)*255),Fe=i(Ut*(1-Ct*(1-Ue))*255);switch(rt){case 0:this.g=Fe,this.b=ye;break;case 1:this.r=Ce,this.b=ye;break;case 2:this.r=ye,this.b=Fe;break;case 3:this.r=ye,this.g=Ce;break;case 4:this.r=Fe,this.g=ye;break;case 5:default:this.g=ye,this.b=Ce;break}}fromHsvString(Ve){const Ct=l(Ve,c);this.fromHsv({h:Ct[0],s:Ct[1],v:Ct[2],a:Ct[3]})}fromHslString(Ve){const Ct=l(Ve,c);this.fromHsl({h:Ct[0],s:Ct[1],l:Ct[2],a:Ct[3]})}fromRgbString(Ve){const Ct=l(Ve,(Ut,st)=>st.includes("%")?i(Ut/100*255):Ut);this.r=Ct[0],this.g=Ct[1],this.b=Ct[2],this.a=Ct[3]}}var h=2,u=.16,a=.05,x=.05,p=.15,y=5,_=4,b=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function A(lr,Ve,Ct){var Ut;return Math.round(lr.h)>=60&&Math.round(lr.h)<=240?Ut=Ct?Math.round(lr.h)-h*Ve:Math.round(lr.h)+h*Ve:Ut=Ct?Math.round(lr.h)+h*Ve:Math.round(lr.h)-h*Ve,Ut<0?Ut+=360:Ut>=360&&(Ut-=360),Ut}function k(lr,Ve,Ct){if(lr.h===0&&lr.s===0)return lr.s;var Ut;return Ct?Ut=lr.s-u*Ve:Ve===_?Ut=lr.s+u:Ut=lr.s+a*Ve,Ut>1&&(Ut=1),Ct&&Ve===y&&Ut>.1&&(Ut=.1),Ut<.06&&(Ut=.06),Math.round(Ut*100)/100}function L(lr,Ve,Ct){var Ut;return Ct?Ut=lr.v+x*Ve:Ut=lr.v-p*Ve,Ut=Math.max(0,Math.min(1,Ut)),Math.round(Ut*100)/100}function T(lr){for(var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ct=[],Ut=new o(lr),st=Ut.toHsv(),xt=y;xt>0;xt-=1){var ht=new o({h:A(st,xt,!0),s:k(st,xt,!0),v:L(st,xt,!0)});Ct.push(ht)}Ct.push(Ut);for(var rt=1;rt<=_;rt+=1){var Ue=new o({h:A(st,rt),s:k(st,rt),v:L(st,rt)});Ct.push(Ue)}return Ve.theme==="dark"?b.map(function(ye){var Ce=ye.index,Fe=ye.amount;return new o(Ve.backgroundColor||"#141414").mix(Ct[Ce],Fe).toHexString()}):Ct.map(function(ye){return ye.toHexString()})}var D={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},M=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];M.primary=M[5];var B=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];B.primary=B[5];var N=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];N.primary=N[5];var K=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];K.primary=K[5];var G=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];G.primary=G[5];var W=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];W.primary=W[5];var ne=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ne.primary=ne[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 V=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];V.primary=V[5];var ue=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];ue.primary=ue[5];var ee=ue,X={red:M,volcano:B,orange:N,gold:K,yellow:G,lime:W,green:ne,cyan:ae,blue:le,geekblue:Q,purple:J,magenta:V,grey:ue},ce=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];ce.primary=ce[5];var z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];z.primary=z[5];var $=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];$.primary=$[5];var se=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];se.primary=se[5];var _e=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];_e.primary=_e[5];var Oe=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Oe.primary=Oe[5];var Le=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];Le.primary=Le[5];var He=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];He.primary=He[5];var $e=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];$e.primary=$e[5];var Bt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Bt.primary=Bt[5];var yt=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];yt.primary=yt[5];var It=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];It.primary=It[5];var rr=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];rr.primary=rr[5];var Yt={red:ce,volcano:z,orange:$,gold:se,yellow:_e,lime:Oe,green:Le,cyan:He,blue:$e,geekblue:Bt,purple:yt,magenta:It,grey:rr}},36237:function(d,v,e){"use strict";e.r(v),e.d(v,{Keyframes:function(){return Co},NaNLinter:function(){return Wa},StyleContext:function(){return ae},StyleProvider:function(){return ne},Theme:function(){return It},_experimental:function(){return ju},createCache:function(){return G},createTheme:function(){return Yt},extractStyle:function(){return lo},genCalc:function(){return Le},getComputedToken:function(){return pr},legacyLogicalPropertiesTransformer:function(){return Jo},legacyNotSelectorLinter:function(){return Ji},logicalPropertiesLinter:function(){return Ks},parentSelectorLinter:function(){return Bs},px2remTransformer:function(){return Js},token2CSSVar:function(){return Pe},unit:function(){return Gt},useCSSVarRegister:function(){return hu},useCacheToken:function(){return en},useStyleRegister:function(){return Ia}});var r=e(16886),i=e(52873),l=e(15142),c=e(98506);function f(Qt){for(var fr=0,ar,dr=0,Sr=Qt.length;Sr>=4;++dr,Sr-=4)ar=Qt.charCodeAt(dr)&255|(Qt.charCodeAt(++dr)&255)<<8|(Qt.charCodeAt(++dr)&255)<<16|(Qt.charCodeAt(++dr)&255)<<24,ar=(ar&65535)*1540483477+((ar>>>16)*59797<<16),ar^=ar>>>24,fr=(ar&65535)*1540483477+((ar>>>16)*59797<<16)^(fr&65535)*1540483477+((fr>>>16)*59797<<16);switch(Sr){case 3:fr^=(Qt.charCodeAt(dr+2)&255)<<16;case 2:fr^=(Qt.charCodeAt(dr+1)&255)<<8;case 1:fr^=Qt.charCodeAt(dr)&255,fr=(fr&65535)*1540483477+((fr>>>16)*59797<<16)}return fr^=fr>>>13,fr=(fr&65535)*1540483477+((fr>>>16)*59797<<16),((fr^fr>>>15)>>>0).toString(36)}var o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(33346),p=e(80547),y=e(13697),_=e(42573),b=e(58698),A="%";function k(Qt){return Qt.join(A)}var L=function(){function Qt(fr){(0,_.Z)(this,Qt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),(0,i.Z)(this,"extracted",new Set),this.instanceId=fr}return(0,b.Z)(Qt,[{key:"get",value:function(ar){return this.opGet(k(ar))}},{key:"opGet",value:function(ar){return this.cache.get(ar)||null}},{key:"update",value:function(ar,dr){return this.opUpdate(k(ar),dr)}},{key:"opUpdate",value:function(ar,dr){var Sr=this.cache.get(ar),un=dr(Sr);un===null?this.cache.delete(ar):this.cache.set(ar,un)}}]),Qt}(),T=L,D=["children"],M="data-token-hash",B="data-css-hash",N="data-cache-path",K="__cssinjs_instance__";function G(){var Qt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var fr=document.body.querySelectorAll("style[".concat(B,"]"))||[],ar=document.head.firstChild;Array.from(fr).forEach(function(Sr){Sr[K]=Sr[K]||Qt,Sr[K]===Qt&&document.head.insertBefore(Sr,ar)});var dr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(Sr){var un=Sr.getAttribute(B);if(dr[un]){if(Sr[K]===Qt){var Mn;(Mn=Sr.parentNode)===null||Mn===void 0||Mn.removeChild(Sr)}}else dr[un]=!0})}return new T(Qt)}var W=u.createContext({hashPriority:"low",cache:G(),defaultCache:!0}),ne=function(fr){var ar=fr.children,dr=(0,x.Z)(fr,D),Sr=u.useContext(W),un=(0,p.Z)(function(){var Mn=(0,c.Z)({},Sr);Object.keys(dr).forEach(function(In){var Qn=dr[In];dr[In]!==void 0&&(Mn[In]=Qn)});var bn=dr.cache;return Mn.cache=Mn.cache||G(),Mn.defaultCache=!bn&&Sr.defaultCache,Mn},[Sr,dr],function(Mn,bn){return!(0,y.Z)(Mn[0],bn[0],!0)||!(0,y.Z)(Mn[1],bn[1],!0)});return u.createElement(W.Provider,{value:un},ar)},ae=W,le=e(26420),Q=e(47273),J=e(62437),V=e(74700),ue=e(45080),ee=(0,b.Z)(function Qt(){(0,_.Z)(this,Qt)}),X=ee,ce="CALC_UNIT",z=new RegExp(ce,"g");function $(Qt){return typeof Qt=="number"?"".concat(Qt).concat(ce):Qt}var se=function(Qt){(0,V.Z)(ar,Qt);var fr=(0,ue.Z)(ar);function ar(dr,Sr){var un;(0,_.Z)(this,ar),un=fr.call(this),(0,i.Z)((0,J.Z)(un),"result",""),(0,i.Z)((0,J.Z)(un),"unitlessCssVar",void 0),(0,i.Z)((0,J.Z)(un),"lowPriority",void 0);var Mn=(0,le.Z)(dr);return un.unitlessCssVar=Sr,dr instanceof ar?un.result="(".concat(dr.result,")"):Mn==="number"?un.result=$(dr):Mn==="string"&&(un.result=dr),un}return(0,b.Z)(ar,[{key:"add",value:function(Sr){return Sr instanceof ar?this.result="".concat(this.result," + ").concat(Sr.getResult()):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," + ").concat($(Sr))),this.lowPriority=!0,this}},{key:"sub",value:function(Sr){return Sr instanceof ar?this.result="".concat(this.result," - ").concat(Sr.getResult()):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," - ").concat($(Sr))),this.lowPriority=!0,this}},{key:"mul",value:function(Sr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Sr instanceof ar?this.result="".concat(this.result," * ").concat(Sr.getResult(!0)):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," * ").concat(Sr)),this.lowPriority=!1,this}},{key:"div",value:function(Sr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Sr instanceof ar?this.result="".concat(this.result," / ").concat(Sr.getResult(!0)):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," / ").concat(Sr)),this.lowPriority=!1,this}},{key:"getResult",value:function(Sr){return this.lowPriority||Sr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Sr){var un=this,Mn=Sr||{},bn=Mn.unit,In=!0;return typeof bn=="boolean"?In=bn:Array.from(this.unitlessCssVar).some(function(Qn){return un.result.includes(Qn)})&&(In=!1),this.result=this.result.replace(z,In?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),ar}(X),_e=function(Qt){(0,V.Z)(ar,Qt);var fr=(0,ue.Z)(ar);function ar(dr){var Sr;return(0,_.Z)(this,ar),Sr=fr.call(this),(0,i.Z)((0,J.Z)(Sr),"result",0),dr instanceof ar?Sr.result=dr.result:typeof dr=="number"&&(Sr.result=dr),Sr}return(0,b.Z)(ar,[{key:"add",value:function(Sr){return Sr instanceof ar?this.result+=Sr.result:typeof Sr=="number"&&(this.result+=Sr),this}},{key:"sub",value:function(Sr){return Sr instanceof ar?this.result-=Sr.result:typeof Sr=="number"&&(this.result-=Sr),this}},{key:"mul",value:function(Sr){return Sr instanceof ar?this.result*=Sr.result:typeof Sr=="number"&&(this.result*=Sr),this}},{key:"div",value:function(Sr){return Sr instanceof ar?this.result/=Sr.result:typeof Sr=="number"&&(this.result/=Sr),this}},{key:"equal",value:function(){return this.result}}]),ar}(X),Oe=function(fr,ar){var dr=fr==="css"?se:_e;return function(Sr){return new dr(Sr,ar)}},Le=Oe;function He(Qt,fr){if(Qt.length!==fr.length)return!1;for(var ar=0;ar<Qt.length;ar++)if(Qt[ar]!==fr[ar])return!1;return!0}var $e=function(){function Qt(){(0,_.Z)(this,Qt),(0,i.Z)(this,"cache",void 0),(0,i.Z)(this,"keys",void 0),(0,i.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,b.Z)(Qt,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(ar){var dr,Sr,un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Mn={map:this.cache};return ar.forEach(function(bn){if(!Mn)Mn=void 0;else{var In;Mn=(In=Mn)===null||In===void 0||(In=In.map)===null||In===void 0?void 0:In.get(bn)}}),(dr=Mn)!==null&&dr!==void 0&&dr.value&&un&&(Mn.value[1]=this.cacheCallTimes++),(Sr=Mn)===null||Sr===void 0?void 0:Sr.value}},{key:"get",value:function(ar){var dr;return(dr=this.internalGet(ar,!0))===null||dr===void 0?void 0:dr[0]}},{key:"has",value:function(ar){return!!this.internalGet(ar)}},{key:"set",value:function(ar,dr){var Sr=this;if(!this.has(ar)){if(this.size()+1>Qt.MAX_CACHE_SIZE+Qt.MAX_CACHE_OFFSET){var un=this.keys.reduce(function(Qn,Xn){var ur=(0,r.Z)(Qn,2),Rr=ur[1];return Sr.internalGet(Xn)[1]<Rr?[Xn,Sr.internalGet(Xn)[1]]:Qn},[this.keys[0],this.cacheCallTimes]),Mn=(0,r.Z)(un,1),bn=Mn[0];this.delete(bn)}this.keys.push(ar)}var In=this.cache;ar.forEach(function(Qn,Xn){if(Xn===ar.length-1)In.set(Qn,{value:[dr,Sr.cacheCallTimes++]});else{var ur=In.get(Qn);ur?ur.map||(ur.map=new Map):In.set(Qn,{map:new Map}),In=In.get(Qn).map}})}},{key:"deleteByPath",value:function(ar,dr){var Sr=ar.get(dr[0]);if(dr.length===1){var un;return Sr.map?ar.set(dr[0],{map:Sr.map}):ar.delete(dr[0]),(un=Sr.value)===null||un===void 0?void 0:un[0]}var Mn=this.deleteByPath(Sr.map,dr.slice(1));return(!Sr.map||Sr.map.size===0)&&!Sr.value&&ar.delete(dr[0]),Mn}},{key:"delete",value:function(ar){if(this.has(ar))return this.keys=this.keys.filter(function(dr){return!He(dr,ar)}),this.deleteByPath(this.cache,ar)}}]),Qt}();(0,i.Z)($e,"MAX_CACHE_SIZE",20),(0,i.Z)($e,"MAX_CACHE_OFFSET",5);var Bt=e(48736),yt=0,It=function(){function Qt(fr){(0,_.Z)(this,Qt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(fr)?fr:[fr],this.id=yt,fr.length===0&&(0,Bt.Kp)(fr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),yt+=1}return(0,b.Z)(Qt,[{key:"getDerivativeToken",value:function(ar){return this.derivatives.reduce(function(dr,Sr){return Sr(ar,dr)},void 0)}}]),Qt}(),rr=new $e;function Yt(Qt){var fr=Array.isArray(Qt)?Qt:[Qt];return rr.has(fr)||rr.set(fr,new It(fr)),rr.get(fr)}var lr=new WeakMap,Ve={};function Ct(Qt,fr){for(var ar=lr,dr=0;dr<fr.length;dr+=1){var Sr=fr[dr];ar.has(Sr)||ar.set(Sr,new WeakMap),ar=ar.get(Sr)}return ar.has(Ve)||ar.set(Ve,Qt()),ar.get(Ve)}var Ut=new WeakMap;function st(Qt){var fr=Ut.get(Qt)||"";return fr||(Object.keys(Qt).forEach(function(ar){var dr=Qt[ar];fr+=ar,dr instanceof It?fr+=dr.id:dr&&(0,le.Z)(dr)==="object"?fr+=st(dr):fr+=dr}),fr=o(fr),Ut.set(Qt,fr)),fr}function xt(Qt,fr){return o("".concat(fr,"_").concat(st(Qt)))}var ht="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),rt="_bAmBoO_";function Ue(Qt,fr,ar){if((0,Q.Z)()){var dr,Sr;(0,h.hq)(Qt,ht);var un=document.createElement("div");un.style.position="fixed",un.style.left="0",un.style.top="0",fr==null||fr(un),document.body.appendChild(un);var Mn=ar?ar(un):(dr=getComputedStyle(un).content)===null||dr===void 0?void 0:dr.includes(rt);return(Sr=un.parentNode)===null||Sr===void 0||Sr.removeChild(un),(0,h.jL)(ht),Mn}return!1}var ye=null;function Ce(){return ye===void 0&&(ye=Ue("@layer ".concat(ht," { .").concat(ht,' { content: "').concat(rt,'"!important; } }'),function(Qt){Qt.className=ht})),ye}var Fe=void 0;function je(){return Fe===void 0&&(Fe=Ue(":where(.".concat(ht,') { content: "').concat(rt,'"!important; }'),function(Qt){Qt.className=ht})),Fe}var Ge=void 0;function it(){return Ge===void 0&&(Ge=Ue(".".concat(ht," { inset-block: 93px !important; }"),function(Qt){Qt.className=ht},function(Qt){return getComputedStyle(Qt).bottom==="93px"})),Ge}var ct=(0,Q.Z)();function Gt(Qt){return typeof Qt=="number"?"".concat(Qt,"px"):Qt}function Ht(Qt,fr,ar){var dr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Sr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Sr)return Qt;var un=(0,c.Z)((0,c.Z)({},dr),{},(0,i.Z)((0,i.Z)({},M,fr),B,ar)),Mn=Object.keys(un).map(function(bn){var In=un[bn];return In?"".concat(bn,'="').concat(In,'"'):null}).filter(function(bn){return bn}).join(" ");return"<style ".concat(Mn,">").concat(Qt,"</style>")}var Pe=function(fr){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(ar?"".concat(ar,"-"):"").concat(fr).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()},tt=function(fr,ar,dr){return Object.keys(fr).length?".".concat(ar).concat(dr!=null&&dr.scope?".".concat(dr.scope):"","{").concat(Object.entries(fr).map(function(Sr){var un=(0,r.Z)(Sr,2),Mn=un[0],bn=un[1];return"".concat(Mn,":").concat(bn,";")}).join(""),"}"):""},Vt=function(fr,ar,dr){var Sr={},un={};return Object.entries(fr).forEach(function(Mn){var bn,In,Qn=(0,r.Z)(Mn,2),Xn=Qn[0],ur=Qn[1];if(dr!=null&&(bn=dr.preserve)!==null&&bn!==void 0&&bn[Xn])un[Xn]=ur;else if((typeof ur=="string"||typeof ur=="number")&&!(dr!=null&&(In=dr.ignore)!==null&&In!==void 0&&In[Xn])){var Rr,Or=Pe(Xn,dr==null?void 0:dr.prefix);Sr[Or]=typeof ur=="number"&&!(dr!=null&&(Rr=dr.unitless)!==null&&Rr!==void 0&&Rr[Xn])?"".concat(ur,"px"):String(ur),un[Xn]="var(".concat(Or,")")}}),[un,tt(Sr,ar,{scope:dr==null?void 0:dr.scope})]},kt=e(34280),Zt=(0,c.Z)({},a),Nt=Zt.useInsertionEffect,At=function(fr,ar,dr){u.useMemo(fr,dr),(0,kt.Z)(function(){return ar(!0)},dr)},qt=Nt?function(Qt,fr,ar){return Nt(function(){return Qt(),fr()},ar)}:At,Ke=qt,fe=(0,c.Z)({},a),pe=fe.useInsertionEffect,Dt=function(fr){var ar=[],dr=!1;function Sr(un){dr||ar.push(un)}return u.useEffect(function(){return dr=!1,function(){dr=!0,ar.length&&ar.forEach(function(un){return un()})}},fr),Sr},De=function(){return function(fr){fr()}},ft=typeof pe!="undefined"?Dt:De,zt=ft;function Et(){return!1}var Re=!1;function wt(){return Re}var xe=Et;if(0)var qe,vt;function Ft(Qt,fr,ar,dr,Sr){var un=u.useContext(ae),Mn=un.cache,bn=[Qt].concat((0,l.Z)(fr)),In=k(bn),Qn=zt([In]),Xn=xe(),ur=function(_n){Mn.opUpdate(In,function(_t){var Dn=_t||[void 0,void 0],kn=(0,r.Z)(Dn,2),vi=kn[0],Wi=vi===void 0?0:vi,er=kn[1],Yi=er,ki=Yi||ar(),ua=[Wi,ki];return _n?_n(ua):ua})};u.useMemo(function(){ur()},[In]);var Rr=Mn.opGet(In),Or=Rr[1];return Ke(function(){Sr==null||Sr(Or)},function(pn){return ur(function(_n){var _t=(0,r.Z)(_n,2),Dn=_t[0],kn=_t[1];return pn&&Dn===0&&(Sr==null||Sr(Or)),[Dn+1,kn]}),function(){Mn.opUpdate(In,function(_n){var _t=_n||[],Dn=(0,r.Z)(_t,2),kn=Dn[0],vi=kn===void 0?0:kn,Wi=Dn[1],er=vi-1;return er===0?(Qn(function(){(pn||!Mn.opGet(In))&&(dr==null||dr(Wi,!1))}),null):[vi-1,Wi]})}},[In]),Or}var Be={},Pr="css",St=new Map;function Zr(Qt){St.set(Qt,(St.get(Qt)||0)+1)}function Vr(Qt,fr){if(typeof document!="undefined"){var ar=document.querySelectorAll("style[".concat(M,'="').concat(Qt,'"]'));ar.forEach(function(dr){if(dr[K]===fr){var Sr;(Sr=dr.parentNode)===null||Sr===void 0||Sr.removeChild(dr)}})}}var xr=0;function Br(Qt,fr){St.set(Qt,(St.get(Qt)||0)-1);var ar=new Set;St.forEach(function(dr,Sr){dr<=0&&ar.add(Sr)}),St.size-ar.size>xr&&ar.forEach(function(dr){Vr(dr,fr),St.delete(dr)})}var pr=function(fr,ar,dr,Sr){var un=dr.getDerivativeToken(fr),Mn=(0,c.Z)((0,c.Z)({},un),ar);return Sr&&(Mn=Sr(Mn)),Mn},$r="token";function en(Qt,fr){var ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},dr=(0,u.useContext)(ae),Sr=dr.cache.instanceId,un=dr.container,Mn=ar.salt,bn=Mn===void 0?"":Mn,In=ar.override,Qn=In===void 0?Be:In,Xn=ar.formatToken,ur=ar.getComputedToken,Rr=ar.cssVar,Or=Ct(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(fr)))},fr),pn=st(Or),_n=st(Qn),_t=Rr?st(Rr):"",Dn=Ft($r,[bn,Qt.id,pn,_n,_t],function(){var kn,vi=ur?ur(Or,Qn,Qt):pr(Or,Qn,Qt,Xn),Wi=(0,c.Z)({},vi),er="";if(Rr){var Yi=Vt(vi,Rr.key,{prefix:Rr.prefix,ignore:Rr.ignore,unitless:Rr.unitless,preserve:Rr.preserve}),ki=(0,r.Z)(Yi,2);vi=ki[0],er=ki[1]}var ua=xt(vi,bn);vi._tokenKey=ua,Wi._tokenKey=xt(Wi,bn);var qs=(kn=Rr==null?void 0:Rr.key)!==null&&kn!==void 0?kn:ua;vi._themeKey=qs,Zr(qs);var fs="".concat(Pr,"-").concat(o(ua));return vi._hashId=fs,[vi,fs,Wi,er,(Rr==null?void 0:Rr.key)||""]},function(kn){Br(kn[0]._themeKey,Sr)},function(kn){var vi=(0,r.Z)(kn,4),Wi=vi[0],er=vi[3];if(Rr&&er){var Yi=(0,h.hq)(er,o("css-variables-".concat(Wi._themeKey)),{mark:B,prepend:"queue",attachTo:un,priority:-999});Yi[K]=Sr,Yi.setAttribute(M,Wi._themeKey)}});return Dn}var an=function(fr,ar,dr){var Sr=(0,r.Z)(fr,5),un=Sr[2],Mn=Sr[3],bn=Sr[4],In=dr||{},Qn=In.plain;if(!Mn)return null;var Xn=un._tokenKey,ur=-999,Rr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ur)},Or=Ht(Mn,bn,Xn,Rr,Qn);return[ur,Xn,Or]},sr=e(67711),Rt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},mt=Rt,gt="-ms-",$t="-moz-",Er="-webkit-",vr="comm",ot="rule",Mr="decl",dn="@page",jn="@media",_r="@import",qr="@charset",ln="@viewport",Ln="@supports",Vn="@document",Bn="@namespace",Ui="@keyframes",pi="@font-face",bi="@counter-style",_i="@font-feature-values",li="@layer",Ki="@scope",Zn=Math.abs,Gi=String.fromCharCode,ui=Object.assign;function we(Qt,fr){return di(Qt,0)^45?(((fr<<2^di(Qt,0))<<2^di(Qt,1))<<2^di(Qt,2))<<2^di(Qt,3):0}function Nn(Qt){return Qt.trim()}function qn(Qt,fr){return(Qt=fr.exec(Qt))?Qt[0]:Qt}function Wn(Qt,fr,ar){return Qt.replace(fr,ar)}function zi(Qt,fr,ar){return Qt.indexOf(fr,ar)}function di(Qt,fr){return Qt.charCodeAt(fr)|0}function Ti(Qt,fr,ar){return Qt.slice(fr,ar)}function Yn(Qt){return Qt.length}function Jt(Qt){return Qt.length}function pt(Qt,fr){return fr.push(Qt),Qt}function nt(Qt,fr){return Qt.map(fr).join("")}function Ot(Qt,fr){return Qt.filter(function(ar){return!qn(ar,fr)})}function dt(Qt,fr){for(var ar="",dr=0;dr<Qt.length;dr++)ar+=fr(Qt[dr],dr,Qt,fr)||"";return ar}function or(Qt,fr,ar,dr){switch(Qt.type){case li:if(Qt.children.length)break;case _r:case Bn:case Mr:return Qt.return=Qt.return||Qt.value;case vr:return"";case Ui:return Qt.return=Qt.value+"{"+dt(Qt.children,dr)+"}";case ot:if(!Yn(Qt.value=Qt.props.join(",")))return""}return Yn(ar=dt(Qt.children,dr))?Qt.return=Qt.value+"{"+ar+"}":""}var cr=1,Ar=1,Ir=0,Ze=0,Je=0,Ee="";function ut(Qt,fr,ar,dr,Sr,un,Mn,bn){return{value:Qt,root:fr,parent:ar,type:dr,props:Sr,children:un,line:cr,column:Ar,length:Mn,return:"",siblings:bn}}function ir(Qt,fr){return assign(ut("",null,null,"",null,null,0,Qt.siblings),Qt,{length:-Qt.length},fr)}function br(Qt){for(;Qt.root;)Qt=ir(Qt.root,{children:[Qt]});append(Qt,Qt.siblings)}function Dr(){return Je}function wr(){return Je=Ze>0?di(Ee,--Ze):0,Ar--,Je===10&&(Ar=1,cr--),Je}function Fr(){return Je=Ze<Ir?di(Ee,Ze++):0,Ar++,Je===10&&(Ar=1,cr++),Je}function hn(){return di(Ee,Ze)}function Tr(){return Ze}function sn(Qt,fr){return Ti(Ee,Qt,fr)}function Xr(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 nn(Qt){return cr=Ar=1,Ir=Yn(Ee=Qt),Ze=0,[]}function gn(Qt){return Ee="",Qt}function da(Qt){return Nn(sn(Ze-1,Oi(Qt===91?Qt+2:Qt===40?Qt+1:Qt)))}function mi(Qt){return gn(Cn(nn(Qt)))}function ci(Qt){for(;(Je=hn())&&Je<33;)Fr();return Xr(Qt)>2||Xr(Je)>3?"":" "}function Cn(Qt){for(;Fr();)switch(Xr(Je)){case 0:append(Cs(Ze-1),Qt);break;case 2:append(da(Je),Qt);break;default:append(from(Je),Qt)}return Qt}function Pi(Qt,fr){for(;--fr&&Fr()&&!(Je<48||Je>102||Je>57&&Je<65||Je>70&&Je<97););return sn(Qt,Tr()+(fr<6&&hn()==32&&Fr()==32))}function Oi(Qt){for(;Fr();)switch(Je){case Qt:return Ze;case 34:case 39:Qt!==34&&Qt!==39&&Oi(Je);break;case 40:Qt===41&&Oi(Qt);break;case 92:Fr();break}return Ze}function aa(Qt,fr){for(;Fr()&&Qt+Je!==57;)if(Qt+Je===84&&hn()===47)break;return"/*"+sn(fr,Ze-1)+"*"+Gi(Qt===47?Qt:Fr())}function Cs(Qt){for(;!Xr(hn());)Fr();return sn(Qt,Ze)}function na(Qt){return gn(vs("",null,null,null,[""],Qt=nn(Qt),0,[0],Qt))}function vs(Qt,fr,ar,dr,Sr,un,Mn,bn,In){for(var Qn=0,Xn=0,ur=Mn,Rr=0,Or=0,pn=0,_n=1,_t=1,Dn=1,kn=0,vi="",Wi=Sr,er=un,Yi=dr,ki=vi;_t;)switch(pn=kn,kn=Fr()){case 40:if(pn!=108&&di(ki,ur-1)==58){zi(ki+=Wn(da(kn),"&","&\f"),"&\f",Zn(Qn?bn[Qn-1]:0))!=-1&&(Dn=-1);break}case 34:case 39:case 91:ki+=da(kn);break;case 9:case 10:case 13:case 32:ki+=ci(pn);break;case 92:ki+=Pi(Tr()-1,7);continue;case 47:switch(hn()){case 42:case 47:pt(Ba(aa(Fr(),Tr()),fr,ar,In),In),(Xr(pn||1)==5||Xr(hn()||1)==5)&&Yn(ki)&&Ti(ki,-1,void 0)!==" "&&(ki+=" ");break;default:ki+="/"}break;case 123*_n:bn[Qn++]=Yn(ki)*Dn;case 125*_n:case 59:case 0:switch(kn){case 0:case 125:_t=0;case 59+Xn:Dn==-1&&(ki=Wn(ki,/\f/g,"")),Or>0&&(Yn(ki)-ur||_n===0&&pn===47)&&pt(Or>32?sa(ki+";",dr,ar,ur-1,In):sa(Wn(ki," ","")+";",dr,ar,ur-2,In),In);break;case 59:ki+=";";default:if(pt(Yi=Ms(ki,fr,ar,Qn,Xn,Sr,bn,vi,Wi=[],er=[],ur,un),un),kn===123)if(Xn===0)vs(ki,fr,Yi,Yi,Wi,un,ur,bn,er);else{switch(Rr){case 99:if(di(ki,3)===110)break;case 108:if(di(ki,2)===97)break;default:Xn=0;case 100:case 109:case 115:}Xn?vs(Qt,Yi,Yi,dr&&pt(Ms(Qt,Yi,Yi,0,0,Sr,bn,vi,Sr,Wi=[],ur,er),er),Sr,er,ur,bn,dr?Wi:er):vs(ki,Yi,Yi,Yi,[""],er,0,bn,er)}}Qn=Xn=Or=0,_n=Dn=1,vi=ki="",ur=Mn;break;case 58:ur=1+Yn(ki),Or=pn;default:if(_n<1){if(kn==123)--_n;else if(kn==125&&_n++==0&&wr()==125)continue}switch(ki+=Gi(kn),kn*_n){case 38:Dn=Xn>0?1:(ki+="\f",-1);break;case 44:bn[Qn++]=(Yn(ki)-1)*Dn,Dn=1;break;case 64:hn()===45&&(ki+=da(Fr())),Rr=hn(),Xn=ur=Yn(vi=ki+=Cs(Tr())),kn++;break;case 45:pn===45&&Yn(ki)==2&&(_n=0)}}return un}function Ms(Qt,fr,ar,dr,Sr,un,Mn,bn,In,Qn,Xn,ur){for(var Rr=Sr-1,Or=Sr===0?un:[""],pn=Jt(Or),_n=0,_t=0,Dn=0;_n<dr;++_n)for(var kn=0,vi=Ti(Qt,Rr+1,Rr=Zn(_t=Mn[_n])),Wi=Qt;kn<pn;++kn)(Wi=Nn(_t>0?Or[kn]+" "+vi:Wn(vi,/&\f/g,Or[kn])))&&(In[Dn++]=Wi);return ut(Qt,fr,ar,Sr===0?ot:bn,In,Qn,Xn,ur)}function Ba(Qt,fr,ar,dr){return ut(Qt,fr,ar,vr,Gi(Dr()),Ti(Qt,2,-2),0,dr)}function sa(Qt,fr,ar,dr,Sr){return ut(Qt,fr,ar,Mr,Ti(Qt,0,dr),Ti(Qt,dr+1,-1),dr,Sr)}function yn(Qt,fr){var ar=fr.path,dr=fr.parentSelectors;(0,Bt.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(ar?"Error in ".concat(ar,": "):"").concat(Qt).concat(dr.length?" Selector: ".concat(dr.join(" | ")):""))}var bs=function(fr,ar,dr){if(fr==="content"){var Sr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,un=["normal","none","initial","inherit","unset"];(typeof ar!="string"||un.indexOf(ar)===-1&&!Sr.test(ar)&&(ar.charAt(0)!==ar.charAt(ar.length-1)||ar.charAt(0)!=='"'&&ar.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(ar,"\"'`."),dr)}},Xa=null,xs=function(fr,ar,dr){fr==="animation"&&dr.hashId&&ar!=="none"&&lintWarning("You seem to be using hashed animation '".concat(ar,"', in which case 'animationName' with Keyframe as value is recommended."),dr)},ji=null;function Fs(Qt){var fr,ar=((fr=Qt.match(/:not\(([^)]*)\)/))===null||fr===void 0?void 0:fr[1])||"",dr=ar.split(/(\[[^[]*])|(?=[.#])/).filter(function(Sr){return Sr});return dr.length>1}function So(Qt){return Qt.parentSelectors.reduce(function(fr,ar){return fr?ar.includes("&")?ar.replace(/&/g,fr):"".concat(fr," ").concat(ar):ar},"")}var Da=function(fr,ar,dr){var Sr=So(dr),un=Sr.match(/:not\([^)]*\)/g)||[];un.length>0&&un.some(Fs)&&yn("Concat ':not' selector not support in legacy browsers.",dr)},Ji=Da,Qa=function(fr,ar,dr){switch(fr){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":yn("You seem to be using non-logical property '".concat(fr,"' 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."),dr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof ar=="string"){var Sr=ar.split(" ").map(function(bn){return bn.trim()});Sr.length===4&&Sr[1]!==Sr[3]&&yn("You seem to be using '".concat(fr,"' property with different left ").concat(fr," and right ").concat(fr,", 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."),dr)}return;case"clear":case"textAlign":(ar==="left"||ar==="right")&&yn("You seem to be using non-logical value '".concat(ar,"' of ").concat(fr,", 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."),dr);return;case"borderRadius":if(typeof ar=="string"){var un=ar.split("/").map(function(bn){return bn.trim()}),Mn=un.reduce(function(bn,In){if(bn)return bn;var Qn=In.split(" ").map(function(Xn){return Xn.trim()});return Qn.length>=2&&Qn[0]!==Qn[1]||Qn.length===3&&Qn[1]!==Qn[2]||Qn.length===4&&Qn[2]!==Qn[3]?!0:bn},!1);Mn&&yn("You seem to be using non-logical value '".concat(ar,"' of ").concat(fr,", 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."),dr)}return;default:}},Ks=Qa,Pn=function(fr,ar,dr){(typeof ar=="string"&&/NaN/g.test(ar)||Number.isNaN(ar))&&yn("Unexpected 'NaN' in property '".concat(fr,": ").concat(ar,"'."),dr)},Wa=Pn,mo=function(fr,ar,dr){dr.parentSelectors.some(function(Sr){var un=Sr.split(",");return un.some(function(Mn){return Mn.split("&").length>2})})&&yn("Should not use more than one `&` in a selector.",dr)},Bs=mo,Li="data-ant-cssinjs-cache-path",Oa="_FILE_STYLE__";function ka(Qt){return Object.keys(Qt).map(function(fr){var ar=Qt[fr];return"".concat(fr,":").concat(ar)}).join(";")}var os,Qs=!0;function Ao(Qt){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;os=Qt,Qs=fr}function To(){if(!os&&(os={},(0,Q.Z)())){var Qt=document.createElement("div");Qt.className=Li,Qt.style.position="fixed",Qt.style.visibility="hidden",Qt.style.top="-9999px",document.body.appendChild(Qt);var fr=getComputedStyle(Qt).content||"";fr=fr.replace(/^"/,"").replace(/"$/,""),fr.split(";").forEach(function(Sr){var un=Sr.split(":"),Mn=(0,r.Z)(un,2),bn=Mn[0],In=Mn[1];os[bn]=In});var ar=document.querySelector("style[".concat(Li,"]"));if(ar){var dr;Qs=!1,(dr=ar.parentNode)===null||dr===void 0||dr.removeChild(ar)}document.body.removeChild(Qt)}}function ws(Qt){return To(),!!os[Qt]}function wa(Qt){var fr=os[Qt],ar=null;if(fr&&(0,Q.Z)())if(Qs)ar=Oa;else{var dr=document.querySelector("style[".concat(B,'="').concat(os[Qt],'"]'));dr?ar=dr.innerHTML:delete os[Qt]}return[ar,fr]}var us="_skip_check_",vo="_multi_value_";function Do(Qt){var fr=dt(na(Qt),or);return fr.replace(/\{%%%\:[^;];}/g,";")}function go(Qt){return(0,le.Z)(Qt)==="object"&&Qt&&(us in Qt||vo in Qt)}function $o(Qt,fr,ar){if(!fr)return Qt;var dr=".".concat(fr),Sr=ar==="low"?":where(".concat(dr,")"):dr,un=Qt.split(",").map(function(Mn){var bn,In=Mn.trim().split(/\s+/),Qn=In[0]||"",Xn=((bn=Qn.match(/^\w+/))===null||bn===void 0?void 0:bn[0])||"";return Qn="".concat(Xn).concat(Sr).concat(Qn.slice(Xn.length)),[Qn].concat((0,l.Z)(In.slice(1))).join(" ")});return un.join(",")}var oi=function Qt(fr){var ar=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Sr=dr.root,un=dr.injectHash,Mn=dr.parentSelectors,bn=ar.hashId,In=ar.layer,Qn=ar.path,Xn=ar.hashPriority,ur=ar.transformers,Rr=ur===void 0?[]:ur,Or=ar.linters,pn=Or===void 0?[]:Or,_n="",_t={};function Dn(Wi){var er=Wi.getName(bn);if(!_t[er]){var Yi=Qt(Wi.style,ar,{root:!1,parentSelectors:Mn}),ki=(0,r.Z)(Yi,1),ua=ki[0];_t[er]="@keyframes ".concat(Wi.getName(bn)).concat(ua)}}function kn(Wi){var er=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Wi.forEach(function(Yi){Array.isArray(Yi)?kn(Yi,er):Yi&&er.push(Yi)}),er}var vi=kn(Array.isArray(fr)?fr:[fr]);return vi.forEach(function(Wi){var er=typeof Wi=="string"&&!Sr?{}:Wi;if(typeof er=="string")_n+="".concat(er,`
`);else if(er._keyframe)Dn(er);else{var Yi=Rr.reduce(function(ki,ua){var qs;return(ua==null||(qs=ua.visit)===null||qs===void 0?void 0:qs.call(ua,ki))||ki},er);Object.keys(Yi).forEach(function(ki){var ua=Yi[ki];if((0,le.Z)(ua)==="object"&&ua&&(ki!=="animationName"||!ua._keyframe)&&!go(ua)){var qs=!1,fs=ki.trim(),Ci=!1;(Sr||un)&&bn?fs.startsWith("@")?qs=!0:fs==="&"?fs=$o("",bn,Xn):fs=$o(ki,bn,Xn):Sr&&!bn&&(fs==="&"||fs==="")&&(fs="",Ci=!0);var co=Qt(ua,ar,{root:Ci,injectHash:qs,parentSelectors:[].concat((0,l.Z)(Mn),[fs])}),Zs=(0,r.Z)(co,2),Va=Zs[0],Ra=Zs[1];_t=(0,c.Z)((0,c.Z)({},_t),Ra),_n+="".concat(fs).concat(Va)}else{let mn=function(Es,Hs){var Xe=Es.replace(/[A-Z]/g,function(Mt){return"-".concat(Mt.toLowerCase())}),Qe=Hs;!mt[Es]&&typeof Qe=="number"&&Qe!==0&&(Qe="".concat(Qe,"px")),Es==="animationName"&&Hs!==null&&Hs!==void 0&&Hs._keyframe&&(Dn(Hs),Qe=Hs.getName(bn)),_n+="".concat(Xe,":").concat(Qe,";")};var eo,to=(eo=ua==null?void 0:ua.value)!==null&&eo!==void 0?eo:ua;(0,le.Z)(ua)==="object"&&ua!==null&&ua!==void 0&&ua[vo]&&Array.isArray(to)?to.forEach(function(Es){mn(ki,Es)}):mn(ki,to)}})}}),Sr?In&&(_n&&(_n="@layer ".concat(In.name," {").concat(_n,"}")),In.dependencies&&(_t["@layer ".concat(In.name)]=In.dependencies.map(function(Wi){return"@layer ".concat(Wi,", ").concat(In.name,";")}).join(`
`))):_n="{".concat(_n,"}"),[_n,_t]};function ni(Qt,fr){return o("".concat(Qt.join("%")).concat(fr))}function Ga(){return null}var ts="style";function Ia(Qt,fr){var ar=Qt.token,dr=Qt.path,Sr=Qt.hashId,un=Qt.layer,Mn=Qt.nonce,bn=Qt.clientOnly,In=Qt.order,Qn=In===void 0?0:In,Xn=u.useContext(ae),ur=Xn.autoClear,Rr=Xn.mock,Or=Xn.defaultCache,pn=Xn.hashPriority,_n=Xn.container,_t=Xn.ssrInline,Dn=Xn.transformers,kn=Xn.linters,vi=Xn.cache,Wi=Xn.layer,er=ar._tokenKey,Yi=[er];Wi&&Yi.push("layer"),Yi.push.apply(Yi,(0,l.Z)(dr));var ki=ct,ua=Ft(ts,Yi,function(){var Zs=Yi.join("|");if(ws(Zs)){var Va=wa(Zs),Ra=(0,r.Z)(Va,2),eo=Ra[0],to=Ra[1];if(eo)return[eo,er,to,{},bn,Qn]}var mn=fr(),Es=oi(mn,{hashId:Sr,hashPriority:pn,layer:Wi?un:void 0,path:dr.join("-"),transformers:Dn,linters:kn}),Hs=(0,r.Z)(Es,2),Xe=Hs[0],Qe=Hs[1],Mt=Do(Xe),Wt=ni(Yi,Mt);return[Mt,er,Wt,Qe,bn,Qn]},function(Zs,Va){var Ra=(0,r.Z)(Zs,3),eo=Ra[2];(Va||ur)&&ct&&(0,h.jL)(eo,{mark:B,attachTo:_n})},function(Zs){var Va=(0,r.Z)(Zs,4),Ra=Va[0],eo=Va[1],to=Va[2],mn=Va[3];if(ki&&Ra!==Oa){var Es={mark:B,prepend:Wi?!1:"queue",attachTo:_n,priority:Qn},Hs=typeof Mn=="function"?Mn():Mn;Hs&&(Es.csp={nonce:Hs});var Xe=[],Qe=[];Object.keys(mn).forEach(function(Wt){Wt.startsWith("@layer")?Xe.push(Wt):Qe.push(Wt)}),Xe.forEach(function(Wt){(0,h.hq)(Do(mn[Wt]),"_layer-".concat(Wt),(0,c.Z)((0,c.Z)({},Es),{},{prepend:!0}))});var Mt=(0,h.hq)(Ra,to,Es);Mt[K]=vi.instanceId,Mt.setAttribute(M,er),Qe.forEach(function(Wt){(0,h.hq)(Do(mn[Wt]),"_effect-".concat(Wt),Es)})}}),qs=(0,r.Z)(ua,3),fs=qs[0],Ci=qs[1],co=qs[2];return function(Zs){var Va;return!_t||ki||!Or?Va=u.createElement(Ga,null):Va=u.createElement("style",(0,sr.Z)({},(0,i.Z)((0,i.Z)({},M,Ci),B,co),{dangerouslySetInnerHTML:{__html:fs}})),u.createElement(u.Fragment,null,Va,Zs)}}var uo=function(fr,ar,dr){var Sr=(0,r.Z)(fr,6),un=Sr[0],Mn=Sr[1],bn=Sr[2],In=Sr[3],Qn=Sr[4],Xn=Sr[5],ur=dr||{},Rr=ur.plain;if(Qn)return null;var Or=un,pn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Xn)};return Or=Ht(un,Mn,bn,pn,Rr),In&&Object.keys(In).forEach(function(_n){if(!ar[_n]){ar[_n]=!0;var _t=Do(In[_n]),Dn=Ht(_t,Mn,"_effect-".concat(_n),pn,Rr);_n.startsWith("@layer")?Or=Dn+Or:Or+=Dn}}),[Xn,bn,Or]},jo="cssVar",Qo=function(fr,ar){var dr=fr.key,Sr=fr.prefix,un=fr.unitless,Mn=fr.ignore,bn=fr.token,In=fr.scope,Qn=In===void 0?"":In,Xn=(0,u.useContext)(ae),ur=Xn.cache.instanceId,Rr=Xn.container,Or=bn._tokenKey,pn=[].concat((0,l.Z)(fr.path),[dr,Qn,Or]),_n=Ft(jo,pn,function(){var _t=ar(),Dn=Vt(_t,dr,{prefix:Sr,unitless:un,ignore:Mn,scope:Qn}),kn=(0,r.Z)(Dn,2),vi=kn[0],Wi=kn[1],er=ni(pn,Wi);return[vi,Wi,er,dr]},function(_t){var Dn=(0,r.Z)(_t,3),kn=Dn[2];ct&&(0,h.jL)(kn,{mark:B,attachTo:Rr})},function(_t){var Dn=(0,r.Z)(_t,3),kn=Dn[1],vi=Dn[2];if(kn){var Wi=(0,h.hq)(kn,vi,{mark:B,prepend:"queue",attachTo:Rr,priority:-999});Wi[K]=ur,Wi.setAttribute(M,dr)}});return _n},ls=function(fr,ar,dr){var Sr=(0,r.Z)(fr,4),un=Sr[1],Mn=Sr[2],bn=Sr[3],In=dr||{},Qn=In.plain;if(!un)return null;var Xn=-999,ur={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Xn)},Rr=Ht(un,bn,Mn,ur,Qn);return[Xn,Mn,Rr]},hu=Qo,Go=(0,i.Z)((0,i.Z)((0,i.Z)({},ts,uo),$r,an),jo,ls);function su(Qt){return Qt!==null}function lo(Qt,fr){var ar=typeof fr=="boolean"?{plain:fr}:fr||{},dr=ar.plain,Sr=dr===void 0?!1:dr,un=ar.types,Mn=un===void 0?["style","token","cssVar"]:un,bn=ar.once,In=bn===void 0?!1:bn,Qn=new RegExp("^(".concat((typeof Mn=="string"?[Mn]:Mn).join("|"),")%")),Xn=Array.from(Qt.cache.keys()).filter(function(pn){return Qn.test(pn)}),ur={},Rr={},Or="";return Xn.map(function(pn){if(In&&Qt.extracted.has(pn))return null;var _n=pn.replace(Qn,"").replace(/%/g,"|"),_t=pn.split("%"),Dn=(0,r.Z)(_t,1),kn=Dn[0],vi=Go[kn],Wi=vi(Qt.cache.get(pn)[1],ur,{plain:Sr});if(!Wi)return null;var er=(0,r.Z)(Wi,3),Yi=er[0],ki=er[1],ua=er[2];return pn.startsWith("style")&&(Rr[_n]=ki),Qt.extracted.add(pn),[Yi,ua]}).filter(su).sort(function(pn,_n){var _t=(0,r.Z)(pn,1),Dn=_t[0],kn=(0,r.Z)(_n,1),vi=kn[0];return Dn-vi}).forEach(function(pn){var _n=(0,r.Z)(pn,2),_t=_n[1];Or+=_t}),Or+=Ht(".".concat(Li,'{content:"').concat(ka(Rr),'";}'),void 0,void 0,(0,i.Z)({},Li,Li),Sr),Or}var $u=function(){function Qt(fr,ar){(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=fr,this.style=ar}return(0,b.Z)(Qt,[{key:"getName",value:function(){var ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ar?"".concat(ar,"-").concat(this.name):this.name}}]),Qt}(),Co=$u;function wo(Qt){if(typeof Qt=="number")return[[Qt],!1];var fr=String(Qt).trim(),ar=fr.match(/(.*)(!important)/),dr=(ar?ar[1]:fr).trim().split(/\s+/),Sr=[],un=0;return[dr.reduce(function(Mn,bn){if(bn.includes("(")||bn.includes(")")){var In=bn.split("(").length-1,Qn=bn.split(")").length-1;un+=In-Qn}return un>=0&&Sr.push(bn),un===0&&(Mn.push(Sr.join(" ")),Sr=[]),Mn},[]),!!ar]}function Uo(Qt){return Qt.notSplit=!0,Qt}var pu={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:Uo(["borderTop","borderBottom"]),borderBlockStart:Uo(["borderTop"]),borderBlockEnd:Uo(["borderBottom"]),borderInline:Uo(["borderLeft","borderRight"]),borderInlineStart:Uo(["borderLeft"]),borderInlineEnd:Uo(["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 Ys(Qt,fr){var ar=Qt;return fr&&(ar="".concat(ar," !important")),{_skip_check_:!0,value:ar}}var bu={visit:function(fr){var ar={};return Object.keys(fr).forEach(function(dr){var Sr=fr[dr],un=pu[dr];if(un&&(typeof Sr=="number"||typeof Sr=="string")){var Mn=wo(Sr),bn=(0,r.Z)(Mn,2),In=bn[0],Qn=bn[1];un.length&&un.notSplit?un.forEach(function(Xn){ar[Xn]=Ys(Sr,Qn)}):un.length===1?ar[un[0]]=Ys(In[0],Qn):un.length===2?un.forEach(function(Xn,ur){var Rr;ar[Xn]=Ys((Rr=In[ur])!==null&&Rr!==void 0?Rr:In[0],Qn)}):un.length===4?un.forEach(function(Xn,ur){var Rr,Or;ar[Xn]=Ys((Rr=(Or=In[ur])!==null&&Or!==void 0?Or:In[ur-2])!==null&&Rr!==void 0?Rr:In[0],Qn)}):ar[dr]=Sr}else ar[dr]=Sr}),ar}},Jo=bu,zo=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Zo(Qt,fr){var ar=Math.pow(10,fr+1),dr=Math.floor(Qt*ar);return Math.round(dr/10)*10/ar}var ns=function(){var fr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ar=fr.rootValue,dr=ar===void 0?16:ar,Sr=fr.precision,un=Sr===void 0?5:Sr,Mn=fr.mediaQuery,bn=Mn===void 0?!1:Mn,In=function(ur,Rr){if(!Rr)return ur;var Or=parseFloat(Rr);if(Or<=1)return ur;var pn=Zo(Or/dr,un);return"".concat(pn,"rem")},Qn=function(ur){var Rr=(0,c.Z)({},ur);return Object.entries(ur).forEach(function(Or){var pn=(0,r.Z)(Or,2),_n=pn[0],_t=pn[1];if(typeof _t=="string"&&_t.includes("px")){var Dn=_t.replace(zo,In);Rr[_n]=Dn}!mt[_n]&&typeof _t=="number"&&_t!==0&&(Rr[_n]="".concat(_t,"px").replace(zo,In));var kn=_n.trim();if(kn.startsWith("@")&&kn.includes("px")&&bn){var vi=_n.replace(zo,In);Rr[vi]=Rr[_n],delete Rr[_n]}}),Rr};return{visit:Qn}},Js=ns,ju={supportModernCSS:function(){return je()&&it()}}},7657:function(d,v,e){"use strict";e.d(v,{Z:function(){return ce}});var r=e(67711),i=e(16886),l=e(52873),c=e(33346),f=e(59301),o=e(92310),h=e.n(o),u=e(30071),a=e(18418),x=e(98506),p=e(26420),y=e(810),_=e(96452),b=e(48736);function A(z){return z.replace(/-(.)/g,function($,se){return se.toUpperCase()})}function k(z,$){(0,b.ZP)(z,"[@ant-design/icons] ".concat($))}function L(z){return(0,p.Z)(z)==="object"&&typeof z.name=="string"&&typeof z.theme=="string"&&((0,p.Z)(z.icon)==="object"||typeof z.icon=="function")}function T(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(z).reduce(function($,se){var _e=z[se];switch(se){case"class":$.className=_e,delete $.class;break;default:delete $[se],$[A(se)]=_e}return $},{})}function D(z,$,se){return se?f.createElement(z.tag,(0,x.Z)((0,x.Z)({key:$},T(z.attrs)),se),(z.children||[]).map(function(_e,Oe){return D(_e,"".concat($,"-").concat(z.tag,"-").concat(Oe))})):f.createElement(z.tag,(0,x.Z)({key:$},T(z.attrs)),(z.children||[]).map(function(_e,Oe){return D(_e,"".concat($,"-").concat(z.tag,"-").concat(Oe))}))}function M(z){return(0,u.generate)(z)[0]}function B(z){return z?Array.isArray(z)?z:[z]:[]}var N={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},K=`
.anticon {
display: inline-flex;
align-items: center;
color: inherit;
font-style: normal;
line-height: 0;
text-align: center;
text-transform: none;
vertical-align: -0.125em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.anticon > * {
line-height: 1;
}
.anticon svg {
display: inline-block;
}
.anticon::before {
display: none;
}
.anticon .anticon-icon {
display: block;
}
.anticon[tabindex] {
cursor: pointer;
}
.anticon-spin::before,
.anticon-spin {
display: inline-block;
-webkit-animation: loadingCircle 1s infinite linear;
animation: loadingCircle 1s infinite linear;
}
@-webkit-keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes loadingCircle {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
`,G=function($){var se=(0,f.useContext)(a.Z),_e=se.csp,Oe=se.prefixCls,Le=se.layer,He=K;Oe&&(He=He.replace(/anticon/g,Oe)),Le&&(He="@layer ".concat(Le,` {
`).concat(He,`
}`)),(0,f.useEffect)(function(){var $e=$.current,Bt=(0,_.A)($e);(0,y.hq)(He,"@ant-design-icons",{prepend:!Le,csp:_e,attachTo:Bt})},[])},W=["icon","className","onClick","style","primaryColor","secondaryColor"],ne={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ae(z){var $=z.primaryColor,se=z.secondaryColor;ne.primaryColor=$,ne.secondaryColor=se||M($),ne.calculated=!!se}function le(){return(0,x.Z)({},ne)}var Q=function($){var se=$.icon,_e=$.className,Oe=$.onClick,Le=$.style,He=$.primaryColor,$e=$.secondaryColor,Bt=(0,c.Z)($,W),yt=f.useRef(),It=ne;if(He&&(It={primaryColor:He,secondaryColor:$e||M(He)}),G(yt),k(L(se),"icon should be icon definiton, but got ".concat(se)),!L(se))return null;var rr=se;return rr&&typeof rr.icon=="function"&&(rr=(0,x.Z)((0,x.Z)({},rr),{},{icon:rr.icon(It.primaryColor,It.secondaryColor)})),D(rr.icon,"svg-".concat(rr.name),(0,x.Z)((0,x.Z)({className:_e,onClick:Oe,style:Le,"data-icon":rr.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Bt),{},{ref:yt}))};Q.displayName="IconReact",Q.getTwoToneColors=le,Q.setTwoToneColors=ae;var J=Q;function V(z){var $=B(z),se=(0,i.Z)($,2),_e=se[0],Oe=se[1];return J.setTwoToneColors({primaryColor:_e,secondaryColor:Oe})}function ue(){var z=J.getTwoToneColors();return z.calculated?[z.primaryColor,z.secondaryColor]:z.primaryColor}var ee=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];V(u.blue.primary);var X=f.forwardRef(function(z,$){var se=z.className,_e=z.icon,Oe=z.spin,Le=z.rotate,He=z.tabIndex,$e=z.onClick,Bt=z.twoToneColor,yt=(0,c.Z)(z,ee),It=f.useContext(a.Z),rr=It.prefixCls,Yt=rr===void 0?"anticon":rr,lr=It.rootClassName,Ve=h()(lr,Yt,(0,l.Z)((0,l.Z)({},"".concat(Yt,"-").concat(_e.name),!!_e.name),"".concat(Yt,"-spin"),!!Oe||_e.name==="loading"),se),Ct=He;Ct===void 0&&$e&&(Ct=-1);var Ut=Le?{msTransform:"rotate(".concat(Le,"deg)"),transform:"rotate(".concat(Le,"deg)")}:void 0,st=B(Bt),xt=(0,i.Z)(st,2),ht=xt[0],rt=xt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":_e.name},yt,{ref:$,tabIndex:Ct,onClick:$e,className:Ve}),f.createElement(J,{icon:_e,primaryColor:ht,secondaryColor:rt,style:Ut}))});X.displayName="AntdIcon",X.getTwoToneColor=ue,X.setTwoToneColor=V;var ce=X},18418:function(d,v,e){"use strict";var r=e(59301),i=(0,r.createContext)({});v.Z=i},29679:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(67711),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},19248:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(67711),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},99267:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(67711),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},96512:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(67711),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},78987:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(67711),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},58617:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(67711),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},12722:function(d,v,e){"use strict";e.d(v,{GC:function(){return x},T6:function(){return y},VD:function(){return _},WE:function(){return h},Wl:function(){return p},Yt:function(){return b},lC:function(){return l},py:function(){return o},rW:function(){return i},s:function(){return a},ve:function(){return f},vq:function(){return u}});var r=e(12187);function i(A,k,L){return{r:(0,r.sh)(A,255)*255,g:(0,r.sh)(k,255)*255,b:(0,r.sh)(L,255)*255}}function l(A,k,L){A=(0,r.sh)(A,255),k=(0,r.sh)(k,255),L=(0,r.sh)(L,255);var T=Math.max(A,k,L),D=Math.min(A,k,L),M=0,B=0,N=(T+D)/2;if(T===D)B=0,M=0;else{var K=T-D;switch(B=N>.5?K/(2-T-D):K/(T+D),T){case A:M=(k-L)/K+(k<L?6:0);break;case k:M=(L-A)/K+2;break;case L:M=(A-k)/K+4;break;default:break}M/=6}return{h:M,s:B,l:N}}function c(A,k,L){return L<0&&(L+=1),L>1&&(L-=1),L<.16666666666666666?A+(k-A)*(6*L):L<.5?k:L<.6666666666666666?A+(k-A)*(.6666666666666666-L)*6:A}function f(A,k,L){var T,D,M;if(A=(0,r.sh)(A,360),k=(0,r.sh)(k,100),L=(0,r.sh)(L,100),k===0)D=L,M=L,T=L;else{var B=L<.5?L*(1+k):L+k-L*k,N=2*L-B;T=c(N,B,A+.3333333333333333),D=c(N,B,A),M=c(N,B,A-.3333333333333333)}return{r:T*255,g:D*255,b:M*255}}function o(A,k,L){A=(0,r.sh)(A,255),k=(0,r.sh)(k,255),L=(0,r.sh)(L,255);var T=Math.max(A,k,L),D=Math.min(A,k,L),M=0,B=T,N=T-D,K=T===0?0:N/T;if(T===D)M=0;else{switch(T){case A:M=(k-L)/N+(k<L?6:0);break;case k:M=(L-A)/N+2;break;case L:M=(A-k)/N+4;break;default:break}M/=6}return{h:M,s:K,v:B}}function h(A,k,L){A=(0,r.sh)(A,360)*6,k=(0,r.sh)(k,100),L=(0,r.sh)(L,100);var T=Math.floor(A),D=A-T,M=L*(1-k),B=L*(1-D*k),N=L*(1-(1-D)*k),K=T%6,G=[L,B,M,M,N,L][K],W=[N,L,L,B,M,M][K],ne=[M,M,N,L,L,B][K];return{r:G*255,g:W*255,b:ne*255}}function u(A,k,L,T){var D=[(0,r.FZ)(Math.round(A).toString(16)),(0,r.FZ)(Math.round(k).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(A,k,L,T,D){var M=[(0,r.FZ)(Math.round(A).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(L).toString(16)),(0,r.FZ)(p(T))];return D&&M[0].startsWith(M[0].charAt(1))&&M[1].startsWith(M[1].charAt(1))&&M[2].startsWith(M[2].charAt(1))&&M[3].startsWith(M[3].charAt(1))?M[0].charAt(0)+M[1].charAt(0)+M[2].charAt(0)+M[3].charAt(0):M.join("")}function x(A,k,L,T){var D=[(0,r.FZ)(p(T)),(0,r.FZ)(Math.round(A).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(L).toString(16))];return D.join("")}function p(A){return Math.round(parseFloat(A)*255).toString(16)}function y(A){return _(A)/255}function _(A){return parseInt(A,16)}function b(A){return{r:A>>16,g:(A&65280)>>8,b:A&255}}},93796:function(d,v,e){"use strict";e.d(v,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},9915:function(d,v,e){"use strict";e.d(v,{ky:function(){return y},uA:function(){return c},uz:function(){return p}});var r=e(12722),i=e(93796),l=e(12187);function c(_){var b={r:0,g:0,b:0},A=1,k=null,L=null,T=null,D=!1,M=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),D=!0,M=String(_.r).substr(-1)==="%"?"prgb":"rgb"):y(_.h)&&y(_.s)&&y(_.v)?(k=(0,l.JX)(_.s),L=(0,l.JX)(_.v),b=(0,r.WE)(_.h,k,L),D=!0,M="hsv"):y(_.h)&&y(_.s)&&y(_.l)&&(k=(0,l.JX)(_.s),T=(0,l.JX)(_.l),b=(0,r.ve)(_.h,k,T),D=!0,M="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(A=_.a)),A=(0,l.Yq)(A),{ok:D,format:_.format||M,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:A}}var f="[-\\+]?\\d+%?",o="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(o,")|(?:").concat(f,")"),u="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),a="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),x={CSS_UNIT:new RegExp(h),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+a),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+a),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+a),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function p(_){if(_=_.trim().toLowerCase(),_.length===0)return!1;var b=!1;if(i.R[_])_=i.R[_],b=!0;else if(_==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var A=x.rgb.exec(_);return A?{r:A[1],g:A[2],b:A[3]}:(A=x.rgba.exec(_),A?{r:A[1],g:A[2],b:A[3],a:A[4]}:(A=x.hsl.exec(_),A?{h:A[1],s:A[2],l:A[3]}:(A=x.hsla.exec(_),A?{h:A[1],s:A[2],l:A[3],a:A[4]}:(A=x.hsv.exec(_),A?{h:A[1],s:A[2],v:A[3]}:(A=x.hsva.exec(_),A?{h:A[1],s:A[2],v:A[3],a:A[4]}:(A=x.hex8.exec(_),A?{r:(0,r.VD)(A[1]),g:(0,r.VD)(A[2]),b:(0,r.VD)(A[3]),a:(0,r.T6)(A[4]),format:b?"name":"hex8"}:(A=x.hex6.exec(_),A?{r:(0,r.VD)(A[1]),g:(0,r.VD)(A[2]),b:(0,r.VD)(A[3]),format:b?"name":"hex"}:(A=x.hex4.exec(_),A?{r:(0,r.VD)(A[1]+A[1]),g:(0,r.VD)(A[2]+A[2]),b:(0,r.VD)(A[3]+A[3]),a:(0,r.T6)(A[4]+A[4]),format:b?"name":"hex8"}:(A=x.hex3.exec(_),A?{r:(0,r.VD)(A[1]+A[1]),g:(0,r.VD)(A[2]+A[2]),b:(0,r.VD)(A[3]+A[3]),format:b?"name":"hex"}:!1)))))))))}function y(_){return!!x.CSS_UNIT.exec(String(_))}},64993:function(d,v,e){"use strict";e.d(v,{C:function(){return f},H:function(){return o}});var r=e(12722),i=e(93796),l=e(9915),c=e(12187),f=function(){function h(u,a){u===void 0&&(u=""),a===void 0&&(a={});var x;if(u instanceof h)return u;typeof u=="number"&&(u=(0,r.Yt)(u)),this.originalInput=u;var p=(0,l.uA)(u);this.originalInput=u,this.r=p.r,this.g=p.g,this.b=p.b,this.a=p.a,this.roundA=Math.round(100*this.a)/100,this.format=(x=a.format)!==null&&x!==void 0?x:p.format,this.gradientType=a.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=p.ok}return h.prototype.isDark=function(){return this.getBrightness()<128},h.prototype.isLight=function(){return!this.isDark()},h.prototype.getBrightness=function(){var u=this.toRgb();return(u.r*299+u.g*587+u.b*114)/1e3},h.prototype.getLuminance=function(){var u=this.toRgb(),a,x,p,y=u.r/255,_=u.g/255,b=u.b/255;return y<=.03928?a=y/12.92:a=Math.pow((y+.055)/1.055,2.4),_<=.03928?x=_/12.92:x=Math.pow((_+.055)/1.055,2.4),b<=.03928?p=b/12.92:p=Math.pow((b+.055)/1.055,2.4),.2126*a+.7152*x+.0722*p},h.prototype.getAlpha=function(){return this.a},h.prototype.setAlpha=function(u){return this.a=(0,c.Yq)(u),this.roundA=Math.round(100*this.a)/100,this},h.prototype.isMonochrome=function(){var u=this.toHsl().s;return u===0},h.prototype.toHsv=function(){var u=(0,r.py)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,v:u.v,a:this.a}},h.prototype.toHsvString=function(){var u=(0,r.py)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.v*100);return this.a===1?"hsv(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsva(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHsl=function(){var u=(0,r.lC)(this.r,this.g,this.b);return{h:u.h*360,s:u.s,l:u.l,a:this.a}},h.prototype.toHslString=function(){var u=(0,r.lC)(this.r,this.g,this.b),a=Math.round(u.h*360),x=Math.round(u.s*100),p=Math.round(u.l*100);return this.a===1?"hsl(".concat(a,", ").concat(x,"%, ").concat(p,"%)"):"hsla(".concat(a,", ").concat(x,"%, ").concat(p,"%, ").concat(this.roundA,")")},h.prototype.toHex=function(u){return u===void 0&&(u=!1),(0,r.vq)(this.r,this.g,this.b,u)},h.prototype.toHexString=function(u){return u===void 0&&(u=!1),"#"+this.toHex(u)},h.prototype.toHex8=function(u){return u===void 0&&(u=!1),(0,r.s)(this.r,this.g,this.b,this.a,u)},h.prototype.toHex8String=function(u){return u===void 0&&(u=!1),"#"+this.toHex8(u)},h.prototype.toHexShortString=function(u){return u===void 0&&(u=!1),this.a===1?this.toHexString(u):this.toHex8String(u)},h.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},h.prototype.toRgbString=function(){var u=Math.round(this.r),a=Math.round(this.g),x=Math.round(this.b);return this.a===1?"rgb(".concat(u,", ").concat(a,", ").concat(x,")"):"rgba(".concat(u,", ").concat(a,", ").concat(x,", ").concat(this.roundA,")")},h.prototype.toPercentageRgb=function(){var u=function(a){return"".concat(Math.round((0,c.sh)(a,255)*100),"%")};return{r:u(this.r),g:u(this.g),b:u(this.b),a:this.a}},h.prototype.toPercentageRgbString=function(){var u=function(a){return Math.round((0,c.sh)(a,255)*100)};return this.a===1?"rgb(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%)"):"rgba(".concat(u(this.r),"%, ").concat(u(this.g),"%, ").concat(u(this.b),"%, ").concat(this.roundA,")")},h.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var u="#"+(0,r.vq)(this.r,this.g,this.b,!1),a=0,x=Object.entries(i.R);a<x.length;a++){var p=x[a],y=p[0],_=p[1];if(u===_)return y}return!1},h.prototype.toString=function(u){var a=!!u;u=u!=null?u:this.format;var x=!1,p=this.a<1&&this.a>=0,y=!a&&p&&(u.startsWith("hex")||u==="name");return y?u==="name"&&this.a===0?this.toName():this.toRgbString():(u==="rgb"&&(x=this.toRgbString()),u==="prgb"&&(x=this.toPercentageRgbString()),(u==="hex"||u==="hex6")&&(x=this.toHexString()),u==="hex3"&&(x=this.toHexString(!0)),u==="hex4"&&(x=this.toHex8String(!0)),u==="hex8"&&(x=this.toHex8String()),u==="name"&&(x=this.toName()),u==="hsl"&&(x=this.toHslString()),u==="hsv"&&(x=this.toHsvString()),x||this.toHexString())},h.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},h.prototype.clone=function(){return new h(this.toString())},h.prototype.lighten=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l+=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.brighten=function(u){u===void 0&&(u=10);var a=this.toRgb();return a.r=Math.max(0,Math.min(255,a.r-Math.round(255*-(u/100)))),a.g=Math.max(0,Math.min(255,a.g-Math.round(255*-(u/100)))),a.b=Math.max(0,Math.min(255,a.b-Math.round(255*-(u/100)))),new h(a)},h.prototype.darken=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.l-=u/100,a.l=(0,c.V2)(a.l),new h(a)},h.prototype.tint=function(u){return u===void 0&&(u=10),this.mix("white",u)},h.prototype.shade=function(u){return u===void 0&&(u=10),this.mix("black",u)},h.prototype.desaturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s-=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.saturate=function(u){u===void 0&&(u=10);var a=this.toHsl();return a.s+=u/100,a.s=(0,c.V2)(a.s),new h(a)},h.prototype.greyscale=function(){return this.desaturate(100)},h.prototype.spin=function(u){var a=this.toHsl(),x=(a.h+u)%360;return a.h=x<0?360+x:x,new h(a)},h.prototype.mix=function(u,a){a===void 0&&(a=50);var x=this.toRgb(),p=new h(u).toRgb(),y=a/100,_={r:(p.r-x.r)*y+x.r,g:(p.g-x.g)*y+x.g,b:(p.b-x.b)*y+x.b,a:(p.a-x.a)*y+x.a};return new h(_)},h.prototype.analogous=function(u,a){u===void 0&&(u=6),a===void 0&&(a=30);var x=this.toHsl(),p=360/a,y=[this];for(x.h=(x.h-(p*u>>1)+720)%360;--u;)x.h=(x.h+p)%360,y.push(new h(x));return y},h.prototype.complement=function(){var u=this.toHsl();return u.h=(u.h+180)%360,new h(u)},h.prototype.monochromatic=function(u){u===void 0&&(u=6);for(var a=this.toHsv(),x=a.h,p=a.s,y=a.v,_=[],b=1/u;u--;)_.push(new h({h:x,s:p,v:y})),y=(y+b)%1;return _},h.prototype.splitcomplement=function(){var u=this.toHsl(),a=u.h;return[this,new h({h:(a+72)%360,s:u.s,l:u.l}),new h({h:(a+216)%360,s:u.s,l:u.l})]},h.prototype.onBackground=function(u){var a=this.toRgb(),x=new h(u).toRgb(),p=a.a+x.a*(1-a.a);return new h({r:(a.r*a.a+x.r*x.a*(1-a.a))/p,g:(a.g*a.a+x.g*x.a*(1-a.a))/p,b:(a.b*a.a+x.b*x.a*(1-a.a))/p,a:p})},h.prototype.triad=function(){return this.polyad(3)},h.prototype.tetrad=function(){return this.polyad(4)},h.prototype.polyad=function(u){for(var a=this.toHsl(),x=a.h,p=[this],y=360/u,_=1;_<u;_++)p.push(new h({h:(x+_*y)%360,s:a.s,l:a.l}));return p},h.prototype.equals=function(u){return this.toRgbString()===new h(u).toRgbString()},h}();function o(h,u){return h===void 0&&(h=""),u===void 0&&(u={}),new f(h,u)}},12187:function(d,v,e){"use strict";e.d(v,{FZ:function(){return h},JX:function(){return o},V2:function(){return i},Yq:function(){return f},sh:function(){return r}});function r(u,a){l(u)&&(u="100%");var x=c(u);return u=a===360?u:Math.min(a,Math.max(0,parseFloat(u))),x&&(u=parseInt(String(u*a),10)/100),Math.abs(u-a)<1e-6?1:(a===360?u=(u<0?u%a+a:u%a)/parseFloat(String(a)):u=u%a/parseFloat(String(a)),u)}function i(u){return Math.min(1,Math.max(0,u))}function l(u){return typeof u=="string"&&u.indexOf(".")!==-1&&parseFloat(u)===1}function c(u){return typeof u=="string"&&u.indexOf("%")!==-1}function f(u){return u=parseFloat(u),(isNaN(u)||u<0||u>1)&&(u=1),u}function o(u){return u<=1?"".concat(Number(u)*100,"%"):u}function h(u){return u.length===1?"0"+u:String(u)}},43403:function(d,v,e){"use strict";e.d(v,{Z:function(){return G}});var r=e(16886),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(15142),x=e(34280),p=[];function y(W,ne){var ae=i.useState(function(){if(!(0,c.Z)())return null;var _e=document.createElement("div");return _e}),le=(0,r.Z)(ae,1),Q=le[0],J=i.useRef(!1),V=i.useContext(u),ue=i.useState(p),ee=(0,r.Z)(ue,2),X=ee[0],ce=ee[1],z=V||(J.current?void 0:function(_e){ce(function(Oe){var Le=[_e].concat((0,a.Z)(Oe));return Le})});function $(){Q.parentElement||document.body.appendChild(Q),J.current=!0}function se(){var _e;(_e=Q.parentElement)===null||_e===void 0||_e.removeChild(Q),J.current=!1}return(0,x.Z)(function(){return W?V?V($):$():se(),se},[W]),(0,x.Z)(function(){X.length&&(X.forEach(function(_e){return _e()}),ce(p))},[X]),[Q,z]}var _=e(810),b=e(75152);function A(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var k="rc-util-locker-".concat(Date.now()),L=0;function T(W){var ne=!!W,ae=i.useState(function(){return L+=1,"".concat(k,"_").concat(L)}),le=(0,r.Z)(ae,1),Q=le[0];(0,x.Z)(function(){if(ne){var J=(0,b.o)(document.body).width,V=A();(0,_.hq)(`
html body {
overflow-y: hidden;
`.concat(V?"width: calc(100% - ".concat(J,"px);"):"",`
}`),Q)}else(0,_.jL)(Q);return function(){(0,_.jL)(Q)}},[ne,Q])}var D=!1;function M(W){return typeof W=="boolean"&&(D=W),D}var B=function(ne){return ne===!1?!1:!(0,c.Z)()||!ne?null:typeof ne=="string"?document.querySelector(ne):typeof ne=="function"?ne():ne},N=i.forwardRef(function(W,ne){var ae=W.open,le=W.autoLock,Q=W.getContainer,J=W.debug,V=W.autoDestroy,ue=V===void 0?!0:V,ee=W.children,X=i.useState(ae),ce=(0,r.Z)(X,2),z=ce[0],$=ce[1],se=z||ae;i.useEffect(function(){(ue||ae)&&$(ae)},[ae,ue]);var _e=i.useState(function(){return B(Q)}),Oe=(0,r.Z)(_e,2),Le=Oe[0],He=Oe[1];i.useEffect(function(){var st=B(Q);He(st!=null?st:null)});var $e=y(se&&!Le,J),Bt=(0,r.Z)($e,2),yt=Bt[0],It=Bt[1],rr=Le!=null?Le:yt;T(le&&ae&&(0,c.Z)()&&(rr===yt||rr===document.body));var Yt=null;if(ee&&(0,o.Yr)(ee)&&ne){var lr=ee;Yt=lr.ref}var Ve=(0,o.x1)(Yt,ne);if(!se||!(0,c.Z)()||Le===void 0)return null;var Ct=rr===!1||M(),Ut=ee;return ne&&(Ut=i.cloneElement(ee,{ref:Ve})),i.createElement(u.Provider,{value:It},Ct?Ut:(0,l.createPortal)(Ut,rr))}),K=N,G=K},35593:function(d,v,e){"use strict";e.d(v,{Z:function(){return Ut}});var r=e(98506),i=e(16886),l=e(33346),c=e(43403),f=e(92310),o=e.n(f),h=e(29301),u=e(76846),a=e(96452),x=e(6089),p=e(80402),y=e(34280),_=e(49658),b=e(59301),A=e(67711),k=e(77900),L=e(8654);function T(st){var xt=st.prefixCls,ht=st.align,rt=st.arrow,Ue=st.arrowPos,ye=rt||{},Ce=ye.className,Fe=ye.content,je=Ue.x,Ge=je===void 0?0:je,it=Ue.y,ct=it===void 0?0:it,Gt=b.useRef();if(!ht||!ht.points)return null;var Ht={position:"absolute"};if(ht.autoArrow!==!1){var Pe=ht.points[0],tt=ht.points[1],Vt=Pe[0],kt=Pe[1],Zt=tt[0],Nt=tt[1];Vt===Zt||!["t","b"].includes(Vt)?Ht.top=ct:Vt==="t"?Ht.top=0:Ht.bottom=0,kt===Nt||!["l","r"].includes(kt)?Ht.left=Ge:kt==="l"?Ht.left=0:Ht.right=0}return b.createElement("div",{ref:Gt,className:o()("".concat(xt,"-arrow"),Ce),style:Ht},Fe)}function D(st){var xt=st.prefixCls,ht=st.open,rt=st.zIndex,Ue=st.mask,ye=st.motion;return Ue?b.createElement(k.default,(0,A.Z)({},ye,{motionAppear:!0,visible:ht,removeOnLeave:!0}),function(Ce){var Fe=Ce.className;return b.createElement("div",{style:{zIndex:rt},className:o()("".concat(xt,"-mask"),Fe)})}):null}var M=b.memo(function(st){var xt=st.children;return xt},function(st,xt){return xt.cache}),B=M,N=b.forwardRef(function(st,xt){var ht=st.popup,rt=st.className,Ue=st.prefixCls,ye=st.style,Ce=st.target,Fe=st.onVisibleChanged,je=st.open,Ge=st.keepDom,it=st.fresh,ct=st.onClick,Gt=st.mask,Ht=st.arrow,Pe=st.arrowPos,tt=st.align,Vt=st.motion,kt=st.maskMotion,Zt=st.forceRender,Nt=st.getPopupContainer,At=st.autoDestroy,qt=st.portal,Ke=st.zIndex,fe=st.onMouseEnter,pe=st.onMouseLeave,Dt=st.onPointerEnter,De=st.ready,ft=st.offsetX,zt=st.offsetY,Et=st.offsetR,Re=st.offsetB,wt=st.onAlign,xe=st.onPrepare,qe=st.stretch,vt=st.targetWidth,Ft=st.targetHeight,Be=typeof ht=="function"?ht():ht,Pr=je||Ge,St=(Nt==null?void 0:Nt.length)>0,Zr=b.useState(!Nt||!St),Vr=(0,i.Z)(Zr,2),xr=Vr[0],Br=Vr[1];if((0,y.Z)(function(){!xr&&St&&Ce&&Br(!0)},[xr,St,Ce]),!xr)return null;var pr="auto",$r={left:"-1000vw",top:"-1000vh",right:pr,bottom:pr};if(De||!je){var en,an=tt.points,sr=tt.dynamicInset||((en=tt._experimental)===null||en===void 0?void 0:en.dynamicInset),Rt=sr&&an[0][1]==="r",mt=sr&&an[0][0]==="b";Rt?($r.right=Et,$r.left=pr):($r.left=ft,$r.right=pr),mt?($r.bottom=Re,$r.top=pr):($r.top=zt,$r.bottom=pr)}var gt={};return qe&&(qe.includes("height")&&Ft?gt.height=Ft:qe.includes("minHeight")&&Ft&&(gt.minHeight=Ft),qe.includes("width")&&vt?gt.width=vt:qe.includes("minWidth")&&vt&&(gt.minWidth=vt)),je||(gt.pointerEvents="none"),b.createElement(qt,{open:Zt||Pr,getContainer:Nt&&function(){return Nt(Ce)},autoDestroy:At},b.createElement(D,{prefixCls:Ue,open:je,zIndex:Ke,mask:Gt,motion:kt}),b.createElement(h.Z,{onResize:wt,disabled:!je},function($t){return b.createElement(k.default,(0,A.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Zt,leavedClassName:"".concat(Ue,"-hidden")},Vt,{onAppearPrepare:xe,onEnterPrepare:xe,visible:je,onVisibleChanged:function(vr){var ot;Vt==null||(ot=Vt.onVisibleChanged)===null||ot===void 0||ot.call(Vt,vr),Fe(vr)}}),function(Er,vr){var ot=Er.className,Mr=Er.style,dn=o()(Ue,ot,rt);return b.createElement("div",{ref:(0,L.sQ)($t,xt,vr),className:dn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Pe.x||0,"px"),"--arrow-y":"".concat(Pe.y||0,"px")},$r),gt),Mr),{},{boxSizing:"border-box",zIndex:Ke},ye),onMouseEnter:fe,onMouseLeave:pe,onPointerEnter:Dt,onClick:ct},Ht&&b.createElement(T,{prefixCls:Ue,arrow:Ht,arrowPos:Pe,align:tt}),b.createElement(B,{cache:!je&&!it},Be))})}))}),K=N,G=b.forwardRef(function(st,xt){var ht=st.children,rt=st.getTriggerDOMNode,Ue=(0,L.Yr)(ht),ye=b.useCallback(function(Fe){(0,L.mH)(xt,rt?rt(Fe):Fe)},[rt]),Ce=(0,L.x1)(ye,ht.ref);return Ue?b.cloneElement(ht,{ref:Ce}):ht}),W=G,ne=b.createContext(null),ae=ne;function le(st){return st?Array.isArray(st)?st:[st]:[]}function Q(st,xt,ht,rt){return b.useMemo(function(){var Ue=le(ht!=null?ht:xt),ye=le(rt!=null?rt:xt),Ce=new Set(Ue),Fe=new Set(ye);return st&&(Ce.has("hover")&&(Ce.delete("hover"),Ce.add("click")),Fe.has("hover")&&(Fe.delete("hover"),Fe.add("click"))),[Ce,Fe]},[st,xt,ht,rt])}var J=e(29194);function V(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ht=arguments.length>2?arguments[2]:void 0;return ht?st[0]===xt[0]:st[0]===xt[0]&&st[1]===xt[1]}function ue(st,xt,ht,rt){for(var Ue=ht.points,ye=Object.keys(st),Ce=0;Ce<ye.length;Ce+=1){var Fe,je=ye[Ce];if(V((Fe=st[je])===null||Fe===void 0?void 0:Fe.points,Ue,rt))return"".concat(xt,"-placement-").concat(je)}return""}function ee(st,xt,ht,rt){return xt||(ht?{motionName:"".concat(st,"-").concat(ht)}:rt?{motionName:rt}:null)}function X(st){return st.ownerDocument.defaultView}function ce(st){for(var xt=[],ht=st==null?void 0:st.parentElement,rt=["hidden","scroll","clip","auto"];ht;){var Ue=X(ht).getComputedStyle(ht),ye=Ue.overflowX,Ce=Ue.overflowY,Fe=Ue.overflow;[ye,Ce,Fe].some(function(je){return rt.includes(je)})&&xt.push(ht),ht=ht.parentElement}return xt}function z(st){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(st)?xt:st}function $(st){return z(parseFloat(st),0)}function se(st,xt){var ht=(0,r.Z)({},st);return(xt||[]).forEach(function(rt){if(!(rt instanceof HTMLBodyElement||rt instanceof HTMLHtmlElement)){var Ue=X(rt).getComputedStyle(rt),ye=Ue.overflow,Ce=Ue.overflowClipMargin,Fe=Ue.borderTopWidth,je=Ue.borderBottomWidth,Ge=Ue.borderLeftWidth,it=Ue.borderRightWidth,ct=rt.getBoundingClientRect(),Gt=rt.offsetHeight,Ht=rt.clientHeight,Pe=rt.offsetWidth,tt=rt.clientWidth,Vt=$(Fe),kt=$(je),Zt=$(Ge),Nt=$(it),At=z(Math.round(ct.width/Pe*1e3)/1e3),qt=z(Math.round(ct.height/Gt*1e3)/1e3),Ke=(Pe-tt-Zt-Nt)*At,fe=(Gt-Ht-Vt-kt)*qt,pe=Vt*qt,Dt=kt*qt,De=Zt*At,ft=Nt*At,zt=0,Et=0;if(ye==="clip"){var Re=$(Ce);zt=Re*At,Et=Re*qt}var wt=ct.x+De-zt,xe=ct.y+pe-Et,qe=wt+ct.width+2*zt-De-ft-Ke,vt=xe+ct.height+2*Et-pe-Dt-fe;ht.left=Math.max(ht.left,wt),ht.top=Math.max(ht.top,xe),ht.right=Math.min(ht.right,qe),ht.bottom=Math.min(ht.bottom,vt)}}),ht}function _e(st){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ht="".concat(xt),rt=ht.match(/^(.*)\%$/);return rt?st*(parseFloat(rt[1])/100):parseFloat(ht)}function Oe(st,xt){var ht=xt||[],rt=(0,i.Z)(ht,2),Ue=rt[0],ye=rt[1];return[_e(st.width,Ue),_e(st.height,ye)]}function Le(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[st[0],st[1]]}function He(st,xt){var ht=xt[0],rt=xt[1],Ue,ye;return ht==="t"?ye=st.y:ht==="b"?ye=st.y+st.height:ye=st.y+st.height/2,rt==="l"?Ue=st.x:rt==="r"?Ue=st.x+st.width:Ue=st.x+st.width/2,{x:Ue,y:ye}}function $e(st,xt){var ht={t:"b",b:"t",l:"r",r:"l"};return st.map(function(rt,Ue){return Ue===xt?ht[rt]||"c":rt}).join("")}function Bt(st,xt,ht,rt,Ue,ye,Ce){var Fe=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ue[rt]||{}}),je=(0,i.Z)(Fe,2),Ge=je[0],it=je[1],ct=b.useRef(0),Gt=b.useMemo(function(){return xt?ce(xt):[]},[xt]),Ht=b.useRef({}),Pe=function(){Ht.current={}};st||Pe();var tt=(0,x.Z)(function(){if(xt&&ht&&st){let Oa=function(os,Qs){var Ao=arguments.length>2&&arguments[2]!==void 0?arguments[2]:dn,To=Be.x+os,ws=Be.y+Qs,wa=To+en,us=ws+$r,vo=Math.max(To,Ao.left),Do=Math.max(ws,Ao.top),go=Math.min(wa,Ao.right),$o=Math.min(us,Ao.bottom);return Math.max(0,(go-vo)*($o-Do))},ka=function(){ir=Be.y+Jt,br=ir+$r,Dr=Be.x+Yn,wr=Dr+en};var Zt,Nt,At=xt,qt=At.ownerDocument,Ke=X(At),fe=Ke.getComputedStyle(At),pe=fe.width,Dt=fe.height,De=fe.position,ft=At.style.left,zt=At.style.top,Et=At.style.right,Re=At.style.bottom,wt=At.style.overflow,xe=(0,r.Z)((0,r.Z)({},Ue[rt]),ye),qe=qt.createElement("div");(Zt=At.parentElement)===null||Zt===void 0||Zt.appendChild(qe),qe.style.left="".concat(At.offsetLeft,"px"),qe.style.top="".concat(At.offsetTop,"px"),qe.style.position=De,qe.style.height="".concat(At.offsetHeight,"px"),qe.style.width="".concat(At.offsetWidth,"px"),At.style.left="0",At.style.top="0",At.style.right="auto",At.style.bottom="auto",At.style.overflow="hidden";var vt;if(Array.isArray(ht))vt={x:ht[0],y:ht[1],width:0,height:0};else{var Ft=ht.getBoundingClientRect();vt={x:Ft.x,y:Ft.y,width:Ft.width,height:Ft.height}}var Be=At.getBoundingClientRect(),Pr=qt.documentElement,St=Pr.clientWidth,Zr=Pr.clientHeight,Vr=Pr.scrollWidth,xr=Pr.scrollHeight,Br=Pr.scrollTop,pr=Pr.scrollLeft,$r=Be.height,en=Be.width,an=vt.height,sr=vt.width,Rt={left:0,top:0,right:St,bottom:Zr},mt={left:-pr,top:-Br,right:Vr-pr,bottom:xr-Br},gt=xe.htmlRegion,$t="visible",Er="visibleFirst";gt!=="scroll"&&gt!==Er&&(gt=$t);var vr=gt===Er,ot=se(mt,Gt),Mr=se(Rt,Gt),dn=gt===$t?Mr:ot,jn=vr?Mr:dn;At.style.left="auto",At.style.top="auto",At.style.right="0",At.style.bottom="0";var _r=At.getBoundingClientRect();At.style.left=ft,At.style.top=zt,At.style.right=Et,At.style.bottom=Re,At.style.overflow=wt,(Nt=At.parentElement)===null||Nt===void 0||Nt.removeChild(qe);var qr=z(Math.round(en/parseFloat(pe)*1e3)/1e3),ln=z(Math.round($r/parseFloat(Dt)*1e3)/1e3);if(qr===0||ln===0||(0,u.Sh)(ht)&&!(0,J.Z)(ht))return;var Ln=xe.offset,Vn=xe.targetOffset,Bn=Oe(Be,Ln),Ui=(0,i.Z)(Bn,2),pi=Ui[0],bi=Ui[1],_i=Oe(vt,Vn),li=(0,i.Z)(_i,2),Ki=li[0],Zn=li[1];vt.x-=Ki,vt.y-=Zn;var Gi=xe.points||[],ui=(0,i.Z)(Gi,2),we=ui[0],Nn=ui[1],qn=Le(Nn),Wn=Le(we),zi=He(vt,qn),di=He(Be,Wn),Ti=(0,r.Z)({},xe),Yn=zi.x-di.x+pi,Jt=zi.y-di.y+bi,pt=Oa(Yn,Jt),nt=Oa(Yn,Jt,Mr),Ot=He(vt,["t","l"]),dt=He(Be,["t","l"]),or=He(vt,["b","r"]),cr=He(Be,["b","r"]),Ar=xe.overflow||{},Ir=Ar.adjustX,Ze=Ar.adjustY,Je=Ar.shiftX,Ee=Ar.shiftY,ut=function(Qs){return typeof Qs=="boolean"?Qs:Qs>=0},ir,br,Dr,wr;ka();var Fr=ut(Ze),hn=Wn[0]===qn[0];if(Fr&&Wn[0]==="t"&&(br>jn.bottom||Ht.current.bt)){var Tr=Jt;hn?Tr-=$r-an:Tr=Ot.y-cr.y-bi;var sn=Oa(Yn,Tr),Xr=Oa(Yn,Tr,Mr);sn>pt||sn===pt&&(!vr||Xr>=nt)?(Ht.current.bt=!0,Jt=Tr,bi=-bi,Ti.points=[$e(Wn,0),$e(qn,0)]):Ht.current.bt=!1}if(Fr&&Wn[0]==="b"&&(ir<jn.top||Ht.current.tb)){var nn=Jt;hn?nn+=$r-an:nn=or.y-dt.y-bi;var gn=Oa(Yn,nn),da=Oa(Yn,nn,Mr);gn>pt||gn===pt&&(!vr||da>=nt)?(Ht.current.tb=!0,Jt=nn,bi=-bi,Ti.points=[$e(Wn,0),$e(qn,0)]):Ht.current.tb=!1}var mi=ut(Ir),ci=Wn[1]===qn[1];if(mi&&Wn[1]==="l"&&(wr>jn.right||Ht.current.rl)){var Cn=Yn;ci?Cn-=en-sr:Cn=Ot.x-cr.x-pi;var Pi=Oa(Cn,Jt),Oi=Oa(Cn,Jt,Mr);Pi>pt||Pi===pt&&(!vr||Oi>=nt)?(Ht.current.rl=!0,Yn=Cn,pi=-pi,Ti.points=[$e(Wn,1),$e(qn,1)]):Ht.current.rl=!1}if(mi&&Wn[1]==="r"&&(Dr<jn.left||Ht.current.lr)){var aa=Yn;ci?aa+=en-sr:aa=or.x-dt.x-pi;var Cs=Oa(aa,Jt),na=Oa(aa,Jt,Mr);Cs>pt||Cs===pt&&(!vr||na>=nt)?(Ht.current.lr=!0,Yn=aa,pi=-pi,Ti.points=[$e(Wn,1),$e(qn,1)]):Ht.current.lr=!1}ka();var vs=Je===!0?0:Je;typeof vs=="number"&&(Dr<Mr.left&&(Yn-=Dr-Mr.left-pi,vt.x+sr<Mr.left+vs&&(Yn+=vt.x-Mr.left+sr-vs)),wr>Mr.right&&(Yn-=wr-Mr.right-pi,vt.x>Mr.right-vs&&(Yn+=vt.x-Mr.right+vs)));var Ms=Ee===!0?0:Ee;typeof Ms=="number"&&(ir<Mr.top&&(Jt-=ir-Mr.top-bi,vt.y+an<Mr.top+Ms&&(Jt+=vt.y-Mr.top+an-Ms)),br>Mr.bottom&&(Jt-=br-Mr.bottom-bi,vt.y>Mr.bottom-Ms&&(Jt+=vt.y-Mr.bottom+Ms)));var Ba=Be.x+Yn,sa=Ba+en,yn=Be.y+Jt,bs=yn+$r,Xa=vt.x,xs=Xa+sr,ji=vt.y,Fs=ji+an,So=Math.max(Ba,Xa),Da=Math.min(sa,xs),Ji=(So+Da)/2,Qa=Ji-Ba,Ks=Math.max(yn,ji),Pn=Math.min(bs,Fs),Wa=(Ks+Pn)/2,mo=Wa-yn;Ce==null||Ce(xt,Ti);var Bs=_r.right-Be.x-(Yn+Be.width),Li=_r.bottom-Be.y-(Jt+Be.height);it({ready:!0,offsetX:Yn/qr,offsetY:Jt/ln,offsetR:Bs/qr,offsetB:Li/ln,arrowX:Qa/qr,arrowY:mo/ln,scaleX:qr,scaleY:ln,align:Ti})}}),Vt=function(){ct.current+=1;var Nt=ct.current;Promise.resolve().then(function(){ct.current===Nt&&tt()})},kt=function(){it(function(Nt){return(0,r.Z)((0,r.Z)({},Nt),{},{ready:!1})})};return(0,y.Z)(kt,[rt]),(0,y.Z)(function(){st||kt()},[st]),[Ge.ready,Ge.offsetX,Ge.offsetY,Ge.offsetR,Ge.offsetB,Ge.arrowX,Ge.arrowY,Ge.scaleX,Ge.scaleY,Ge.align,Vt]}var yt=e(15142);function It(st,xt,ht,rt,Ue){(0,y.Z)(function(){if(st&&xt&&ht){let ct=function(){rt(),Ue()};var ye=xt,Ce=ht,Fe=ce(ye),je=ce(Ce),Ge=X(Ce),it=new Set([Ge].concat((0,yt.Z)(Fe),(0,yt.Z)(je)));return it.forEach(function(Gt){Gt.addEventListener("scroll",ct,{passive:!0})}),Ge.addEventListener("resize",ct,{passive:!0}),rt(),function(){it.forEach(function(Gt){Gt.removeEventListener("scroll",ct),Ge.removeEventListener("resize",ct)})}}},[st,xt,ht])}var rr=e(48736),Yt=e(16089);function lr(st,xt,ht,rt,Ue,ye,Ce,Fe){var je=b.useRef(st),Ge=b.useRef(!1);je.current!==st&&(Ge.current=!0,je.current=st),b.useEffect(function(){var it=(0,Yt.Z)(function(){Ge.current=!1});return function(){Yt.Z.cancel(it)}},[st]),b.useEffect(function(){if(xt&&rt&&(!Ue||ye)){var it=function(){var De=!1,ft=function(Re){var wt=Re.target;De=Ce(wt)},zt=function(Re){var wt=Re.target;!Ge.current&&je.current&&!De&&!Ce(wt)&&Fe(!1)};return[ft,zt]},ct=it(),Gt=(0,i.Z)(ct,2),Ht=Gt[0],Pe=Gt[1],tt=it(),Vt=(0,i.Z)(tt,2),kt=Vt[0],Zt=Vt[1],Nt=X(rt);Nt.addEventListener("mousedown",Ht,!0),Nt.addEventListener("click",Pe,!0),Nt.addEventListener("contextmenu",Pe,!0);var At=(0,a.A)(ht);if(At&&(At.addEventListener("mousedown",kt,!0),At.addEventListener("click",Zt,!0),At.addEventListener("contextmenu",Zt,!0)),0)var qt,Ke,fe,pe;return function(){Nt.removeEventListener("mousedown",Ht,!0),Nt.removeEventListener("click",Pe,!0),Nt.removeEventListener("contextmenu",Pe,!0),At&&(At.removeEventListener("mousedown",kt,!0),At.removeEventListener("click",Zt,!0),At.removeEventListener("contextmenu",Zt,!0))}}},[xt,ht,rt,Ue,ye])}var Ve=["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 Ct(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,xt=b.forwardRef(function(ht,rt){var Ue=ht.prefixCls,ye=Ue===void 0?"rc-trigger-popup":Ue,Ce=ht.children,Fe=ht.action,je=Fe===void 0?"hover":Fe,Ge=ht.showAction,it=ht.hideAction,ct=ht.popupVisible,Gt=ht.defaultPopupVisible,Ht=ht.onPopupVisibleChange,Pe=ht.afterPopupVisibleChange,tt=ht.mouseEnterDelay,Vt=ht.mouseLeaveDelay,kt=Vt===void 0?.1:Vt,Zt=ht.focusDelay,Nt=ht.blurDelay,At=ht.mask,qt=ht.maskClosable,Ke=qt===void 0?!0:qt,fe=ht.getPopupContainer,pe=ht.forceRender,Dt=ht.autoDestroy,De=ht.destroyPopupOnHide,ft=ht.popup,zt=ht.popupClassName,Et=ht.popupStyle,Re=ht.popupPlacement,wt=ht.builtinPlacements,xe=wt===void 0?{}:wt,qe=ht.popupAlign,vt=ht.zIndex,Ft=ht.stretch,Be=ht.getPopupClassNameFromAlign,Pr=ht.fresh,St=ht.alignPoint,Zr=ht.onPopupClick,Vr=ht.onPopupAlign,xr=ht.arrow,Br=ht.popupMotion,pr=ht.maskMotion,$r=ht.popupTransitionName,en=ht.popupAnimation,an=ht.maskTransitionName,sr=ht.maskAnimation,Rt=ht.className,mt=ht.getTriggerDOMNode,gt=(0,l.Z)(ht,Ve),$t=Dt||De||!1,Er=b.useState(!1),vr=(0,i.Z)(Er,2),ot=vr[0],Mr=vr[1];(0,y.Z)(function(){Mr((0,_.Z)())},[]);var dn=b.useRef({}),jn=b.useContext(ae),_r=b.useMemo(function(){return{registerSubPopup:function(ni,Ga){dn.current[ni]=Ga,jn==null||jn.registerSubPopup(ni,Ga)}}},[jn]),qr=(0,p.Z)(),ln=b.useState(null),Ln=(0,i.Z)(ln,2),Vn=Ln[0],Bn=Ln[1],Ui=(0,x.Z)(function(oi){(0,u.Sh)(oi)&&Vn!==oi&&Bn(oi),jn==null||jn.registerSubPopup(qr,oi)}),pi=b.useState(null),bi=(0,i.Z)(pi,2),_i=bi[0],li=bi[1],Ki=b.useRef(null),Zn=(0,x.Z)(function(oi){(0,u.Sh)(oi)&&_i!==oi&&(li(oi),Ki.current=oi)}),Gi=b.Children.only(Ce),ui=(Gi==null?void 0:Gi.props)||{},we={},Nn=(0,x.Z)(function(oi){var ni,Ga,ts=_i;return(ts==null?void 0:ts.contains(oi))||((ni=(0,a.A)(ts))===null||ni===void 0?void 0:ni.host)===oi||oi===ts||(Vn==null?void 0:Vn.contains(oi))||((Ga=(0,a.A)(Vn))===null||Ga===void 0?void 0:Ga.host)===oi||oi===Vn||Object.values(dn.current).some(function(Ia){return(Ia==null?void 0:Ia.contains(oi))||oi===Ia})}),qn=ee(ye,Br,en,$r),Wn=ee(ye,pr,sr,an),zi=b.useState(Gt||!1),di=(0,i.Z)(zi,2),Ti=di[0],Yn=di[1],Jt=ct!=null?ct:Ti,pt=(0,x.Z)(function(oi){ct===void 0&&Yn(oi)});(0,y.Z)(function(){Yn(ct||!1)},[ct]);var nt=b.useRef(Jt);nt.current=Jt;var Ot=b.useRef([]);Ot.current=[];var dt=(0,x.Z)(function(oi){var ni;pt(oi),((ni=Ot.current[Ot.current.length-1])!==null&&ni!==void 0?ni:Jt)!==oi&&(Ot.current.push(oi),Ht==null||Ht(oi))}),or=b.useRef(),cr=function(){clearTimeout(or.current)},Ar=function(ni){var Ga=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;cr(),Ga===0?dt(ni):or.current=setTimeout(function(){dt(ni)},Ga*1e3)};b.useEffect(function(){return cr},[]);var Ir=b.useState(!1),Ze=(0,i.Z)(Ir,2),Je=Ze[0],Ee=Ze[1];(0,y.Z)(function(oi){(!oi||Jt)&&Ee(!0)},[Jt]);var ut=b.useState(null),ir=(0,i.Z)(ut,2),br=ir[0],Dr=ir[1],wr=b.useState([0,0]),Fr=(0,i.Z)(wr,2),hn=Fr[0],Tr=Fr[1],sn=function(ni){Tr([ni.clientX,ni.clientY])},Xr=Bt(Jt,Vn,St?hn:_i,Re,xe,qe,Vr),nn=(0,i.Z)(Xr,11),gn=nn[0],da=nn[1],mi=nn[2],ci=nn[3],Cn=nn[4],Pi=nn[5],Oi=nn[6],aa=nn[7],Cs=nn[8],na=nn[9],vs=nn[10],Ms=Q(ot,je,Ge,it),Ba=(0,i.Z)(Ms,2),sa=Ba[0],yn=Ba[1],bs=sa.has("click"),Xa=yn.has("click")||yn.has("contextMenu"),xs=(0,x.Z)(function(){Je||vs()}),ji=function(){nt.current&&St&&Xa&&Ar(!1)};It(Jt,_i,Vn,xs,ji),(0,y.Z)(function(){xs()},[hn,Re]),(0,y.Z)(function(){Jt&&!(xe!=null&&xe[Re])&&xs()},[JSON.stringify(qe)]);var Fs=b.useMemo(function(){var oi=ue(xe,ye,na,St);return o()(oi,Be==null?void 0:Be(na))},[na,Be,xe,ye,St]);b.useImperativeHandle(rt,function(){return{nativeElement:Ki.current,forceAlign:xs}});var So=b.useState(0),Da=(0,i.Z)(So,2),Ji=Da[0],Qa=Da[1],Ks=b.useState(0),Pn=(0,i.Z)(Ks,2),Wa=Pn[0],mo=Pn[1],Bs=function(){if(Ft&&_i){var ni=_i.getBoundingClientRect();Qa(ni.width),mo(ni.height)}},Li=function(){Bs(),xs()},Oa=function(ni){Ee(!1),vs(),Pe==null||Pe(ni)},ka=function(){return new Promise(function(ni){Bs(),Dr(function(){return ni})})};(0,y.Z)(function(){br&&(vs(),br(),Dr(null))},[br]);function os(oi,ni,Ga,ts){we[oi]=function(Ia){var uo;ts==null||ts(Ia),Ar(ni,Ga);for(var jo=arguments.length,Qo=new Array(jo>1?jo-1:0),ls=1;ls<jo;ls++)Qo[ls-1]=arguments[ls];(uo=ui[oi])===null||uo===void 0||uo.call.apply(uo,[ui,Ia].concat(Qo))}}(bs||Xa)&&(we.onClick=function(oi){var ni;nt.current&&Xa?Ar(!1):!nt.current&&bs&&(sn(oi),Ar(!0));for(var Ga=arguments.length,ts=new Array(Ga>1?Ga-1:0),Ia=1;Ia<Ga;Ia++)ts[Ia-1]=arguments[Ia];(ni=ui.onClick)===null||ni===void 0||ni.call.apply(ni,[ui,oi].concat(ts))}),lr(Jt,Xa,_i,Vn,At,Ke,Nn,Ar);var Qs=sa.has("hover"),Ao=yn.has("hover"),To,ws;Qs&&(os("onMouseEnter",!0,tt,function(oi){sn(oi)}),os("onPointerEnter",!0,tt,function(oi){sn(oi)}),To=function(ni){(Jt||Je)&&Vn!==null&&Vn!==void 0&&Vn.contains(ni.target)&&Ar(!0,tt)},St&&(we.onMouseMove=function(oi){var ni;(ni=ui.onMouseMove)===null||ni===void 0||ni.call(ui,oi)})),Ao&&(os("onMouseLeave",!1,kt),os("onPointerLeave",!1,kt),ws=function(){Ar(!1,kt)}),sa.has("focus")&&os("onFocus",!0,Zt),yn.has("focus")&&os("onBlur",!1,Nt),sa.has("contextMenu")&&(we.onContextMenu=function(oi){var ni;nt.current&&yn.has("contextMenu")?Ar(!1):(sn(oi),Ar(!0)),oi.preventDefault();for(var Ga=arguments.length,ts=new Array(Ga>1?Ga-1:0),Ia=1;Ia<Ga;Ia++)ts[Ia-1]=arguments[Ia];(ni=ui.onContextMenu)===null||ni===void 0||ni.call.apply(ni,[ui,oi].concat(ts))}),Rt&&(we.className=o()(ui.className,Rt));var wa=(0,r.Z)((0,r.Z)({},ui),we),us={},vo=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];vo.forEach(function(oi){gt[oi]&&(us[oi]=function(){for(var ni,Ga=arguments.length,ts=new Array(Ga),Ia=0;Ia<Ga;Ia++)ts[Ia]=arguments[Ia];(ni=wa[oi])===null||ni===void 0||ni.call.apply(ni,[wa].concat(ts)),gt[oi].apply(gt,ts)})});var Do=b.cloneElement(Gi,(0,r.Z)((0,r.Z)({},wa),us)),go={x:Pi,y:Oi},$o=xr?(0,r.Z)({},xr!==!0?xr:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!Jt,ref:Zn,onResize:Li},b.createElement(W,{getTriggerDOMNode:mt},Do)),b.createElement(ae.Provider,{value:_r},b.createElement(K,{portal:st,ref:Ui,prefixCls:ye,popup:ft,className:o()(zt,Fs),style:Et,target:_i,onMouseEnter:To,onMouseLeave:ws,onPointerEnter:To,zIndex:vt,open:Jt,keepDom:Je,fresh:Pr,onClick:Zr,mask:At,motion:qn,maskMotion:Wn,onVisibleChanged:Oa,onPrepare:ka,forceRender:pe,autoDestroy:$t,getPopupContainer:fe,align:na,arrow:$o,arrowPos:go,ready:gn,offsetX:da,offsetY:mi,offsetR:ci,offsetB:Cn,onAlign:xs,stretch:Ft,targetWidth:Ji/aa,targetHeight:Wa/Cs})))});return xt}var Ut=Ct(c.Z)},8944:function(){"use strict"},5755:function(d,v){"use strict";v.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},49535:function(d,v){"use strict";function e(i){const l={},c={channels:l,subscribe:function(f,o){return l[f]||(l[f]=[]),l[f].push(o),this.unsubscribe.bind(null,f,o)},unsubscribe:function(f,o){console.log(f,"channel");let h=l[f],u=-1;if(h){for(let a=0;a<h.length;a++)if(h[a].name===o.name){u=a;break}if(u>=0)return l[f].splice(u,1),!0}return!1},publish:function(f){if(!l[f])return!1;const o=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,o)}),this}};return i?Object.assign(i,c):c}const r=new e;v.Z=r},2339:function(d,v,e){"use strict";e.d(v,{zt:function(){return qs},$j:function(){return ki},Ue:function(){return Qs},I0:function(){return Zs},v9:function(){return Go}});var r={};e.r(r),e.d(r,{actionChannel:function(){return sr},all:function(){return Be},apply:function(){return Vr},call:function(){return Zr},cancel:function(){return en},cancelled:function(){return Rt},cps:function(){return xr},flush:function(){return mt},fork:function(){return Br},getContext:function(){return gt},join:function(){return $r},put:function(){return Ft},race:function(){return Pr},select:function(){return an},setContext:function(){return $t},spawn:function(){return pr},take:function(){return qe},takeEvery:function(){return pt},takeLatest:function(){return nt},takem:function(){return vt},throttle:function(){return Ot}});var i=e(59301),l=e(19456),c=e(59781),f=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Wt in Mt)Object.prototype.hasOwnProperty.call(Mt,Wt)&&(Xe[Wt]=Mt[Wt])}return Xe},o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Xe){return typeof Xe}:function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe},h=function(Qe){return"@@redux-saga/"+Qe},u=h("TASK"),a=h("HELPER"),x=h("MATCH"),p=h("CANCEL_PROMISE"),y=h("SAGA_ACTION"),_=h("SELF_CANCELLATION"),b=function(Qe){return function(){return Qe}},A=b(!0),k=null,L=function(){},T=function(Qe){return Qe};function D(Xe,Qe,Mt){if(!Qe(Xe))throw ce("error","uncaught at check",Mt),new Error(Mt)}var M=Object.prototype.hasOwnProperty;function B(Xe,Qe){return N.notUndef(Xe)&&M.call(Xe,Qe)}var N={undef:function(Qe){return Qe==null},notUndef:function(Qe){return Qe!=null},func:function(Qe){return typeof Qe=="function"},number:function(Qe){return typeof Qe=="number"},string:function(Qe){return typeof Qe=="string"},array:Array.isArray,object:function(Qe){return Qe&&!N.array(Qe)&&(typeof Qe=="undefined"?"undefined":o(Qe))==="object"},promise:function(Qe){return Qe&&N.func(Qe.then)},iterator:function(Qe){return Qe&&N.func(Qe.next)&&N.func(Qe.throw)},iterable:function(Qe){return Qe&&N.func(Symbol)?N.func(Qe[Symbol.iterator]):N.array(Qe)},task:function(Qe){return Qe&&Qe[u]},observable:function(Qe){return Qe&&N.func(Qe.subscribe)},buffer:function(Qe){return Qe&&N.func(Qe.isEmpty)&&N.func(Qe.take)&&N.func(Qe.put)},pattern:function(Qe){return Qe&&(N.string(Qe)||(typeof Qe=="undefined"?"undefined":o(Qe))==="symbol"||N.func(Qe)||N.array(Qe))},channel:function(Qe){return Qe&&N.func(Qe.take)&&N.func(Qe.close)},helper:function(Qe){return Qe&&Qe[a]},stringableFunc:function(Qe){return N.func(Qe)&&B(Qe,"toString")}},K={assign:function(Qe,Mt){for(var Wt in Mt)B(Mt,Wt)&&(Qe[Wt]=Mt[Wt])}};function G(Xe,Qe){var Mt=Xe.indexOf(Qe);Mt>=0&&Xe.splice(Mt,1)}var W={from:function(Qe){var Mt=Array(Qe.length);for(var Wt in Qe)B(Qe,Wt)&&(Mt[Wt]=Qe[Wt]);return Mt}};function ne(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=f({},Xe),Mt=new Promise(function(Wt,mr){Qe.resolve=Wt,Qe.reject=mr});return Qe.promise=Mt,Qe}function ae(Xe){for(var Qe=[],Mt=0;Mt<Xe;Mt++)Qe.push(ne());return Qe}function le(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Mt=void 0,Wt=new Promise(function(mr){Mt=setTimeout(function(){return mr(Qe)},Xe)});return Wt[p]=function(){return clearTimeout(Mt)},Wt}function Q(){var Xe,Qe=!0,Mt=void 0,Wt=void 0;return Xe={},Xe[u]=!0,Xe.isRunning=function(){return Qe},Xe.result=function(){return Mt},Xe.error=function(){return Wt},Xe.setRunning=function(Lr){return Qe=Lr},Xe.setResult=function(Lr){return Mt=Lr},Xe.setError=function(Lr){return Wt=Lr},Xe}function J(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Xe}}var V=J(),ue=function(Qe){throw Qe},ee=function(Qe){return{value:Qe,done:!0}};function X(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ue,Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Wt=arguments[3],mr={name:Mt,next:Xe,throw:Qe,return:ee};return Wt&&(mr[a]=!0),typeof Symbol!="undefined"&&(mr[Symbol.iterator]=function(){return mr}),mr}function ce(Xe,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Xe+": "+Qe+`
`+(Mt&&Mt.stack||Mt)):console[Xe](Qe,Mt)}function z(Xe,Qe){return function(){return Xe.apply(void 0,arguments)}}var $=function(Qe,Mt){return Qe+" has been deprecated in favor of "+Mt+", please update your code"},se=function(Qe){return new Error(`
redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug
in redux-saga code and not yours. Thanks for reporting this in the project's github repo.
Error: `+Qe+`
`)},_e=function(Qe,Mt){return(Qe?Qe+".":"")+"setContext(props): argument "+Mt+" is not a plain object"},Oe=function(Qe){return function(Mt){return Qe(Object.defineProperty(Mt,y,{value:!0}))}},Le=function Xe(Qe){return function(){for(var Mt=arguments.length,Wt=Array(Mt),mr=0;mr<Mt;mr++)Wt[mr]=arguments[mr];var Lr=[],jr=Qe.apply(void 0,Wt);return{next:function(tn){return Lr.push(tn),jr.next(tn)},clone:function(){var tn=Xe(Qe).apply(void 0,Wt);return Lr.forEach(function(fn){return tn.next(fn)}),tn},return:function(tn){return jr.return(tn)},throw:function(tn){return jr.throw(tn)}}}},He="Channel's Buffer overflow!",$e=1,Bt=2,yt=3,It=4,rr={isEmpty:A,put:L,take:L};function Yt(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qe=arguments[1],Mt=new Array(Xe),Wt=0,mr=0,Lr=0,jr=function(Hn){Mt[mr]=Hn,mr=(mr+1)%Xe,Wt++},cn=function(){if(Wt!=0){var Hn=Mt[Lr];return Mt[Lr]=null,Wt--,Lr=(Lr+1)%Xe,Hn}},tn=function(){for(var Hn=[];Wt;)Hn.push(cn());return Hn};return{isEmpty:function(){return Wt==0},put:function(Hn){if(Wt<Xe)jr(Hn);else{var Kn=void 0;switch(Qe){case $e:throw new Error(He);case yt:Mt[mr]=Hn,mr=(mr+1)%Xe,Lr=mr;break;case It:Kn=2*Xe,Mt=tn(),Wt=Mt.length,mr=Mt.length,Lr=0,Mt.length=Kn,Xe=Kn,jr(Hn);break;default:}}},take:cn,flush:tn}}var lr={none:function(){return rr},fixed:function(Qe){return Yt(Qe,$e)},dropping:function(Qe){return Yt(Qe,Bt)},sliding:function(Qe){return Yt(Qe,yt)},expanding:function(Qe){return Yt(Qe,It)}},Ve=[],Ct=0;function Ut(Xe){try{xt(),Xe()}finally{ht()}}function st(Xe){Ve.push(Xe),Ct||(xt(),rt())}function xt(){Ct++}function ht(){Ct--}function rt(){ht();for(var Xe=void 0;!Ct&&(Xe=Ve.shift())!==void 0;)Ut(Xe)}var Ue=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Wt in Mt)Object.prototype.hasOwnProperty.call(Mt,Wt)&&(Xe[Wt]=Mt[Wt])}return Xe},ye="@@redux-saga/CHANNEL_END",Ce={type:ye},Fe=function(Qe){return Qe&&Qe.type===ye};function je(){var Xe=[];function Qe(Wt){return Xe.push(Wt),function(){return G(Xe,Wt)}}function Mt(Wt){for(var mr=Xe.slice(),Lr=0,jr=mr.length;Lr<jr;Lr++)mr[Lr](Wt)}return{subscribe:Qe,emit:Mt}}var Ge="invalid buffer passed to channel factory function",it="Saga was provided with an undefined action";function ct(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lr.fixed(),Qe=!1,Mt=[];D(Xe,N.buffer,Ge);function Wt(){if(Qe&&Mt.length)throw se("Cannot have a closed channel with pending takers");if(Mt.length&&!Xe.isEmpty())throw se("Cannot have pending takers with non empty buffer")}function mr(tn){if(Wt(),D(tn,N.notUndef,it),!Qe){if(!Mt.length)return Xe.put(tn);for(var fn=0;fn<Mt.length;fn++){var Hn=Mt[fn];if(!Hn[x]||Hn[x](tn))return Mt.splice(fn,1),Hn(tn)}}}function Lr(tn){Wt(),D(tn,N.func,"channel.take's callback must be a function"),Qe&&Xe.isEmpty()?tn(Ce):Xe.isEmpty()?(Mt.push(tn),tn.cancel=function(){return G(Mt,tn)}):tn(Xe.take())}function jr(tn){if(Wt(),D(tn,N.func,"channel.flush' callback must be a function"),Qe&&Xe.isEmpty()){tn(Ce);return}tn(Xe.flush())}function cn(){if(Wt(),!Qe&&(Qe=!0,Mt.length)){var tn=Mt;Mt=[];for(var fn=0,Hn=tn.length;fn<Hn;fn++)tn[fn](Ce)}}return{take:Lr,put:mr,flush:jr,close:cn,get __takers__(){return Mt},get __closed__(){return Qe}}}function Gt(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lr.none(),Mt=arguments[2];arguments.length>2&&D(Mt,N.func,"Invalid match function passed to eventChannel");var Wt=ct(Qe),mr=function(){Wt.__closed__||(Lr&&Lr(),Wt.close())},Lr=Xe(function(jr){if(Fe(jr)){mr();return}Mt&&!Mt(jr)||Wt.put(jr)});if(Wt.__closed__&&Lr(),!N.func(Lr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Wt.take,flush:Wt.flush,close:mr}}function Ht(Xe){var Qe=Gt(function(Mt){return Xe(function(Wt){if(Wt[y]){Mt(Wt);return}st(function(){return Mt(Wt)})})});return Ue({},Qe,{take:function(Wt,mr){arguments.length>1&&(D(mr,N.func,"channel.take's matcher argument must be a function"),Wt[x]=mr),Qe.take(Wt)}})}var Pe=h("IO"),tt="TAKE",Vt="PUT",kt="ALL",Zt="RACE",Nt="CALL",At="CPS",qt="FORK",Ke="JOIN",fe="CANCEL",pe="SELECT",Dt="ACTION_CHANNEL",De="CANCELLED",ft="FLUSH",zt="GET_CONTEXT",Et="SET_CONTEXT",Re=`
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,wt=function(Qe,Mt){var Wt;return Wt={},Wt[Pe]=!0,Wt[Qe]=Mt,Wt},xe=function(Qe){return D(vr.fork(Qe),N.object,"detach(eff): argument must be a fork effect"),Qe[qt].detached=!0,Qe};function qe(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&D(arguments[0],N.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),N.pattern(Xe))return wt(tt,{pattern:Xe});if(N.channel(Xe))return wt(tt,{channel:Xe});throw new Error("take(patternOrChannel): argument "+String(Xe)+" is not valid channel or a valid pattern")}qe.maybe=function(){var Xe=qe.apply(void 0,arguments);return Xe[tt].maybe=!0,Xe};var vt=z(qe.maybe,$("takem","take.maybe"));function Ft(Xe,Qe){return arguments.length>1?(D(Xe,N.notUndef,"put(channel, action): argument channel is undefined"),D(Xe,N.channel,"put(channel, action): argument "+Xe+" is not a valid channel"),D(Qe,N.notUndef,"put(channel, action): argument action is undefined")):(D(Xe,N.notUndef,"put(action): argument action is undefined"),Qe=Xe,Xe=null),wt(Vt,{channel:Xe,action:Qe})}Ft.resolve=function(){var Xe=Ft.apply(void 0,arguments);return Xe[Vt].resolve=!0,Xe},Ft.sync=z(Ft.resolve,$("put.sync","put.resolve"));function Be(Xe){return wt(kt,Xe)}function Pr(Xe){return wt(Zt,Xe)}function St(Xe,Qe,Mt){D(Qe,N.notUndef,Xe+": argument fn is undefined");var Wt=null;if(N.array(Qe)){var mr=Qe;Wt=mr[0],Qe=mr[1]}else if(Qe.fn){var Lr=Qe;Wt=Lr.context,Qe=Lr.fn}return Wt&&N.string(Qe)&&N.func(Wt[Qe])&&(Qe=Wt[Qe]),D(Qe,N.func,Xe+": argument "+Qe+" is not a function"),{context:Wt,fn:Qe,args:Mt}}function Zr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Wt=1;Wt<Qe;Wt++)Mt[Wt-1]=arguments[Wt];return wt(Nt,St("call",Xe,Mt))}function Vr(Xe,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wt(Nt,St("apply",{context:Xe,fn:Qe},Mt))}function xr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Wt=1;Wt<Qe;Wt++)Mt[Wt-1]=arguments[Wt];return wt(At,St("cps",Xe,Mt))}function Br(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Wt=1;Wt<Qe;Wt++)Mt[Wt-1]=arguments[Wt];return wt(qt,St("fork",Xe,Mt))}function pr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Wt=1;Wt<Qe;Wt++)Mt[Wt-1]=arguments[Wt];return xe(Br.apply(void 0,[Xe].concat(Mt)))}function $r(){for(var Xe=arguments.length,Qe=Array(Xe),Mt=0;Mt<Xe;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Be(Qe.map(function(mr){return $r(mr)}));var Wt=Qe[0];return D(Wt,N.notUndef,"join(task): argument task is undefined"),D(Wt,N.task,"join(task): argument "+Wt+" is not a valid Task object "+Re),wt(Ke,Wt)}function en(){for(var Xe=arguments.length,Qe=Array(Xe),Mt=0;Mt<Xe;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Be(Qe.map(function(mr){return en(mr)}));var Wt=Qe[0];return Qe.length===1&&(D(Wt,N.notUndef,"cancel(task): argument task is undefined"),D(Wt,N.task,"cancel(task): argument "+Wt+" is not a valid Task object "+Re)),wt(fe,Wt||_)}function an(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Wt=1;Wt<Qe;Wt++)Mt[Wt-1]=arguments[Wt];return arguments.length===0?Xe=T:(D(Xe,N.notUndef,"select(selector,[...]): argument selector is undefined"),D(Xe,N.func,"select(selector,[...]): argument "+Xe+" is not a function")),wt(pe,{selector:Xe,args:Mt})}function sr(Xe,Qe){return D(Xe,N.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(D(Qe,N.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),D(Qe,N.buffer,"actionChannel(pattern, buffer): argument "+Qe+" is not a valid buffer")),wt(Dt,{pattern:Xe,buffer:Qe})}function Rt(){return wt(De,{})}function mt(Xe){return D(Xe,N.channel,"flush(channel): argument "+Xe+" is not valid channel"),wt(ft,Xe)}function gt(Xe){return D(Xe,N.string,"getContext(prop): argument "+Xe+" is not a string"),wt(zt,Xe)}function $t(Xe){return D(Xe,N.object,_e(null,Xe)),wt(Et,Xe)}var Er=function(Qe){return function(Mt){return Mt&&Mt[Pe]&&Mt[Qe]}},vr={take:Er(tt),put:Er(Vt),all:Er(kt),race:Er(Zt),call:Er(Nt),cps:Er(At),fork:Er(qt),join:Er(Ke),cancel:Er(fe),select:Er(pe),actionChannel:Er(Dt),cancelled:Er(De),flush:Er(ft),getContext:Er(zt),setContext:Er(Et)},ot=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Wt in Mt)Object.prototype.hasOwnProperty.call(Mt,Wt)&&(Xe[Wt]=Mt[Wt])}return Xe},Mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Xe){return typeof Xe}:function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe};function dn(Xe,Qe){for(var Mt in Qe){var Wt=Qe[Mt];Wt.configurable=Wt.enumerable=!0,"value"in Wt&&(Wt.writable=!0),Object.defineProperty(Xe,Mt,Wt)}return Xe}var jn="proc first argument (Saga function result) must be an iterator",_r={toString:function(){return"@@redux-saga/CHANNEL_END"}},qr={toString:function(){return"@@redux-saga/TASK_CANCEL"}},ln={wildcard:function(){return A},default:function(Qe){return(typeof Qe=="undefined"?"undefined":Mr(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(Wt){return Ln(Wt)(Mt)})}},predicate:function(Qe){return function(Mt){return Qe(Mt)}}};function Ln(Xe){return(Xe==="*"?ln.wildcard:N.array(Xe)?ln.array:N.stringableFunc(Xe)?ln.default:N.func(Xe)?ln.predicate:ln.default)(Xe)}function Vn(Xe,Qe,Mt){var Wt=[],mr=void 0,Lr=!1;cn(Qe);function jr(fn){tn(),Mt(fn,!0)}function cn(fn){Wt.push(fn),fn.cont=function(Hn,Kn){Lr||(G(Wt,fn),fn.cont=L,Kn?jr(Hn):(fn===Qe&&(mr=Hn),Wt.length||(Lr=!0,Mt(mr))))}}function tn(){Lr||(Lr=!0,Wt.forEach(function(fn){fn.cont=L,fn.cancel()}),Wt=[])}return{addTask:cn,cancelAll:tn,abort:jr,getTasks:function(){return Wt},taskNames:function(){return Wt.map(function(Hn){return Hn.name})}}}function Bn(Xe){var Qe=Xe.context,Mt=Xe.fn,Wt=Xe.args;if(N.iterator(Mt))return Mt;var mr=void 0,Lr=void 0;try{mr=Mt.apply(Qe,Wt)}catch(jr){Lr=jr}return N.iterator(mr)?mr:X(Lr?function(){throw Lr}:function(){var jr=void 0,cn={done:!1,value:mr},tn=function(Hn){return{done:!0,value:Hn}};return function(fn){return jr?tn(fn):(jr=!0,cn)}}())}var Ui=function(Qe){return{fn:Qe}};function pi(Xe){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,Wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:L,mr=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,cn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",tn=arguments[8];D(Xe,N.iterator,jn);var fn="[...effects]",Hn=z(cs,$(fn,"all("+fn+")")),Kn=Lr.sagaMonitor,fi=Lr.logger,xi=Lr.onError,qi=fi||ce,Ri=function(Wr){var xn=Wr.sagaStack;!xn&&Wr.stack&&(xn=Wr.stack.split(`
`)[0].indexOf(Wr.message)!==-1?Wr.stack:"Error: "+Wr.message+`
`+Wr.stack),qi("error","uncaught at "+cn,xn||Wr.message||Wr)},wi=Ht(Qe),ha=Object.create(mr);Na.cancel=L;var gi=Kr(jr,cn,Xe,tn),yi={name:cn,cancel:ro,isRunning:!0},pa=Vn(cn,yi,$a);function ro(){yi.isRunning&&!yi.isCancelled&&(yi.isCancelled=!0,Na(qr))}function Ss(){Xe._isRunning&&!Xe._isCancelled&&(Xe._isCancelled=!0,pa.cancelAll(),$a(qr))}return tn&&(tn.cancel=Ss),Xe._isRunning=!0,Na(),gi;function Na(gr,Wr){if(!yi.isRunning)throw new Error("Trying to resume an already finished generator");try{var xn=void 0;Wr?xn=Xe.throw(gr):gr===qr?(yi.isCancelled=!0,Na.cancel(),xn=N.func(Xe.return)?Xe.return(qr):{done:!0,value:qr}):gr===_r?xn=N.func(Xe.return)?Xe.return():{done:!0}:xn=Xe.next(gr),xn.done?(yi.isMainRunning=!1,yi.cont&&yi.cont(xn.value)):za(xn.value,jr,"",Na)}catch(Gn){yi.isCancelled&&Ri(Gn),yi.isMainRunning=!1,yi.cont(Gn,!0)}}function $a(gr,Wr){Xe._isRunning=!1,wi.close(),Wr?(gr instanceof Error&&Object.defineProperty(gr,"sagaStack",{value:"at "+cn+`
`+(gr.sagaStack||gr.stack),configurable:!0}),gi.cont||(gr instanceof Error&&xi?xi(gr):Ri(gr)),Xe._error=gr,Xe._isAborted=!0,Xe._deferredEnd&&Xe._deferredEnd.reject(gr)):(Xe._result=gr,Xe._deferredEnd&&Xe._deferredEnd.resolve(gr)),gi.cont&&gi.cont(gr,Wr),gi.joiners.forEach(function(xn){return xn.cb(gr,Wr)}),gi.joiners=null}function za(gr,Wr){var xn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Gn=arguments[3],Di=V();Kn&&Kn.effectTriggered({effectId:Di,parentEffectId:Wr,label:xn,effect:gr});var On=void 0;function Rn(oa,ja){On||(On=!0,Gn.cancel=L,Kn&&(ja?Kn.effectRejected(Di,oa):Kn.effectResolved(Di,oa)),Gn(oa,ja))}Rn.cancel=L,Gn.cancel=function(){if(!On){On=!0;try{Rn.cancel()}catch(oa){Ri(oa)}Rn.cancel=L,Kn&&Kn.effectCancelled(Di)}};var En=void 0;return N.promise(gr)?Ii(gr,Rn):N.helper(gr)?Ea(Ui(gr),Di,Rn):N.iterator(gr)?ga(gr,Di,cn,Rn):N.array(gr)?Hn(gr,Di,Rn):(En=vr.take(gr))?La(En,Rn):(En=vr.put(gr))?Ka(En,Rn):(En=vr.all(gr))?cs(En,Di,Rn):(En=vr.race(gr))?la(En,Di,Rn):(En=vr.call(gr))?fo(En,Di,Rn):(En=vr.cps(gr))?Ja(En,Rn):(En=vr.fork(gr))?Ea(En,Di,Rn):(En=vr.join(gr))?Ns(En,Rn):(En=vr.cancel(gr))?ea(En,Rn):(En=vr.select(gr))?Ya(En,Rn):(En=vr.actionChannel(gr))?gs(En,Rn):(En=vr.flush(gr))?be(En,Rn):(En=vr.cancelled(gr))?ya(En,Rn):(En=vr.getContext(gr))?Te(En,Rn):(En=vr.setContext(gr))?yr(En,Rn):Rn(gr)}function Ii(gr,Wr){var xn=gr[p];N.func(xn)?Wr.cancel=xn:N.func(gr.abort)&&(Wr.cancel=function(){return gr.abort()}),gr.then(Wr,function(Gn){return Wr(Gn,!0)})}function ga(gr,Wr,xn,Gn){pi(gr,Qe,Mt,Wt,ha,Lr,Wr,xn,Gn)}function La(gr,Wr){var xn=gr.channel,Gn=gr.pattern,Di=gr.maybe;xn=xn||wi;var On=function(En){return En instanceof Error?Wr(En,!0):Fe(En)&&!Di?Wr(_r):Wr(En)};try{xn.take(On,Ln(Gn))}catch(Rn){return Wr(Rn,!0)}Wr.cancel=On.cancel}function Ka(gr,Wr){var xn=gr.channel,Gn=gr.action,Di=gr.resolve;st(function(){var On=void 0;try{On=(xn?xn.put:Mt)(Gn)}catch(Rn){if(xn||Di)return Wr(Rn,!0);Ri(Rn)}if(Di&&N.promise(On))Ii(On,Wr);else return Wr(On)})}function fo(gr,Wr,xn){var Gn=gr.context,Di=gr.fn,On=gr.args,Rn=void 0;try{Rn=Di.apply(Gn,On)}catch(En){return xn(En,!0)}return N.promise(Rn)?Ii(Rn,xn):N.iterator(Rn)?ga(Rn,Wr,Di.name,xn):xn(Rn)}function Ja(gr,Wr){var xn=gr.context,Gn=gr.fn,Di=gr.args;try{var On=function(En,oa){return N.undef(En)?Wr(oa):Wr(En,!0)};Gn.apply(xn,Di.concat(On)),On.cancel&&(Wr.cancel=function(){return On.cancel()})}catch(Rn){return Wr(Rn,!0)}}function Ea(gr,Wr,xn){var Gn=gr.context,Di=gr.fn,On=gr.args,Rn=gr.detached,En=Bn({context:Gn,fn:Di,args:On});try{xt();var oa=pi(En,Qe,Mt,Wt,ha,Lr,Wr,Di.name,Rn?null:L);Rn?xn(oa):En._isRunning?(pa.addTask(oa),xn(oa)):En._error?pa.abort(En._error):xn(oa)}finally{rt()}}function Ns(gr,Wr){if(gr.isRunning()){var xn={task:gi,cb:Wr};Wr.cancel=function(){return G(gr.joiners,xn)},gr.joiners.push(xn)}else gr.isAborted()?Wr(gr.error(),!0):Wr(gr.result())}function ea(gr,Wr){gr===_&&(gr=gi),gr.isRunning()&&gr.cancel(),Wr()}function cs(gr,Wr,xn){var Gn=Object.keys(gr);if(!Gn.length)return xn(N.array(gr)?[]:{});var Di=0,On=void 0,Rn={},En={};function oa(){Di===Gn.length&&(On=!0,xn(N.array(gr)?W.from(ot({},Rn,{length:Gn.length})):Rn))}Gn.forEach(function(ja){var Eo=function(eu,xl){On||(xl||Fe(eu)||eu===_r||eu===qr?(xn.cancel(),xn(eu,xl)):(Rn[ja]=eu,Di++,oa()))};Eo.cancel=L,En[ja]=Eo}),xn.cancel=function(){On||(On=!0,Gn.forEach(function(ja){return En[ja].cancel()}))},Gn.forEach(function(ja){return za(gr[ja],Wr,ja,En[ja])})}function la(gr,Wr,xn){var Gn=void 0,Di=Object.keys(gr),On={};Di.forEach(function(Rn){var En=function(ja,Eo){if(!Gn){if(Eo)xn.cancel(),xn(ja,!0);else if(!Fe(ja)&&ja!==_r&&ja!==qr){var ho;xn.cancel(),Gn=!0;var eu=(ho={},ho[Rn]=ja,ho);xn(N.array(gr)?[].slice.call(ot({},eu,{length:Di.length})):eu)}}};En.cancel=L,On[Rn]=En}),xn.cancel=function(){Gn||(Gn=!0,Di.forEach(function(Rn){return On[Rn].cancel()}))},Di.forEach(function(Rn){Gn||za(gr[Rn],Wr,Rn,On[Rn])})}function Ya(gr,Wr){var xn=gr.selector,Gn=gr.args;try{var Di=xn.apply(void 0,[Wt()].concat(Gn));Wr(Di)}catch(On){Wr(On,!0)}}function gs(gr,Wr){var xn=gr.pattern,Gn=gr.buffer,Di=Ln(xn);Di.pattern=xn,Wr(Gt(Qe,Gn||lr.fixed(),Di))}function ya(gr,Wr){Wr(!!yi.isCancelled)}function be(gr,Wr){gr.flush(Wr)}function Te(gr,Wr){Wr(ha[gr])}function yr(gr,Wr){K.assign(ha,gr),Wr()}function Kr(gr,Wr,xn,Gn){var Di,On,Rn;return xn._deferredEnd=null,On={},On[u]=!0,On.id=gr,On.name=Wr,Di="done",Rn={},Rn[Di]=Rn[Di]||{},Rn[Di].get=function(){if(xn._deferredEnd)return xn._deferredEnd.promise;var En=ne();return xn._deferredEnd=En,xn._isRunning||(xn._error?En.reject(xn._error):En.resolve(xn._result)),En.promise},On.cont=Gn,On.joiners=[],On.cancel=Ss,On.isRunning=function(){return xn._isRunning},On.isCancelled=function(){return xn._isCancelled},On.isAborted=function(){return xn._isAborted},On.result=function(){return xn._result},On.error=function(){return xn._error},On.setContext=function(oa){D(oa,N.object,_e("task",oa)),K.assign(ha,oa)},dn(On,Rn),On}}var bi="runSaga(storeInterface, saga, ...args)",_i=bi+": saga argument must be a Generator function!";function li(Xe,Qe){for(var Mt=arguments.length,Wt=Array(Mt>2?Mt-2:0),mr=2;mr<Mt;mr++)Wt[mr-2]=arguments[mr];var Lr=void 0;N.iterator(Xe)?(Lr=Xe,Xe=Qe):(D(Qe,N.func,_i),Lr=Qe.apply(void 0,Wt),D(Lr,N.iterator,_i));var jr=Xe,cn=jr.subscribe,tn=jr.dispatch,fn=jr.getState,Hn=jr.context,Kn=jr.sagaMonitor,fi=jr.logger,xi=jr.onError,qi=V();Kn&&(Kn.effectTriggered=Kn.effectTriggered||L,Kn.effectResolved=Kn.effectResolved||L,Kn.effectRejected=Kn.effectRejected||L,Kn.effectCancelled=Kn.effectCancelled||L,Kn.actionDispatched=Kn.actionDispatched||L,Kn.effectTriggered({effectId:qi,root:!0,parentEffectId:0,effect:{root:!0,saga:Qe,args:Wt}}));var Ri=pi(Lr,cn,Oe(tn),fn,Hn,{sagaMonitor:Kn,logger:fi,onError:xi},qi,Qe.name);return Kn&&Kn.effectResolved(qi,Ri),Ri}function Ki(Xe,Qe){var Mt={};for(var Wt in Xe)Qe.indexOf(Wt)>=0||Object.prototype.hasOwnProperty.call(Xe,Wt)&&(Mt[Wt]=Xe[Wt]);return Mt}function Zn(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Xe.context,Mt=Qe===void 0?{}:Qe,Wt=Ki(Xe,["context"]),mr=Wt.sagaMonitor,Lr=Wt.logger,jr=Wt.onError;if(N.func(Wt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Lr&&!N.func(Lr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(jr&&!N.func(jr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Wt.emitter&&!N.func(Wt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function cn(tn){var fn=tn.getState,Hn=tn.dispatch,Kn=je();return Kn.emit=(Wt.emitter||T)(Kn.emit),cn.run=li.bind(null,{context:Mt,subscribe:Kn.subscribe,dispatch:Hn,getState:fn,sagaMonitor:mr,logger:Lr,onError:jr}),function(fi){return function(xi){mr&&mr.actionDispatched&&mr.actionDispatched(xi);var qi=fi(xi);return Kn.emit(xi),qi}}}return cn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},cn.setContext=function(tn){D(tn,N.object,_e("sagaMiddleware",tn)),K.assign(Mt,tn)},cn}var Gi={done:!0,value:void 0},ui={};function we(Xe){return N.channel(Xe)?"channel":Array.isArray(Xe)?String(Xe.map(function(Qe){return String(Qe)})):String(Xe)}function Nn(Xe,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Wt=void 0,mr=Qe;function Lr(jr,cn){if(mr===ui)return Gi;if(cn)throw mr=ui,cn;Wt&&Wt(jr);var tn=Xe[mr](),fn=tn[0],Hn=tn[1],Kn=tn[2];return mr=fn,Wt=Kn,mr===ui?Gi:Hn}return X(Lr,function(jr){return Lr(null,jr)},Mt,!0)}function qn(Xe,Qe){for(var Mt=arguments.length,Wt=Array(Mt>2?Mt-2:0),mr=2;mr<Mt;mr++)Wt[mr-2]=arguments[mr];var Lr={done:!1,value:qe(Xe)},jr=function(Hn){return{done:!1,value:Br.apply(void 0,[Qe].concat(Wt,[Hn]))}},cn=void 0,tn=function(Hn){return cn=Hn};return Nn({q1:function(){return["q2",Lr,tn]},q2:function(){return cn===Ce?[ui]:["q1",jr(cn)]}},"q1","takeEvery("+we(Xe)+", "+Qe.name+")")}function Wn(Xe,Qe){for(var Mt=arguments.length,Wt=Array(Mt>2?Mt-2:0),mr=2;mr<Mt;mr++)Wt[mr-2]=arguments[mr];var Lr={done:!1,value:qe(Xe)},jr=function(xi){return{done:!1,value:Br.apply(void 0,[Qe].concat(Wt,[xi]))}},cn=function(xi){return{done:!1,value:en(xi)}},tn=void 0,fn=void 0,Hn=function(xi){return tn=xi},Kn=function(xi){return fn=xi};return Nn({q1:function(){return["q2",Lr,Kn]},q2:function(){return fn===Ce?[ui]:tn?["q3",cn(tn)]:["q1",jr(fn),Hn]},q3:function(){return["q1",jr(fn),Hn]}},"q1","takeLatest("+we(Xe)+", "+Qe.name+")")}function zi(Xe,Qe,Mt){for(var Wt=arguments.length,mr=Array(Wt>3?Wt-3:0),Lr=3;Lr<Wt;Lr++)mr[Lr-3]=arguments[Lr];var jr=void 0,cn=void 0,tn={done:!1,value:sr(Qe,lr.sliding(1))},fn=function(){return{done:!1,value:qe(cn)}},Hn=function(Ri){return{done:!1,value:Br.apply(void 0,[Mt].concat(mr,[Ri]))}},Kn={done:!1,value:Zr(le,Xe)},fi=function(Ri){return jr=Ri},xi=function(Ri){return cn=Ri};return Nn({q1:function(){return["q2",tn,xi]},q2:function(){return["q3",fn(),fi]},q3:function(){return jr===Ce?[ui]:["q4",Hn(jr)]},q4:function(){return["q2",Kn]}},"q1","throttle("+we(Qe)+", "+Mt.name+")")}var di=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."},Ti=null,Yn=null,Jt=null;function pt(Xe,Qe){for(var Mt=arguments.length,Wt=Array(Mt>2?Mt-2:0),mr=2;mr<Mt;mr++)Wt[mr-2]=arguments[mr];return Br.apply(void 0,[qn,Xe,Qe].concat(Wt))}function nt(Xe,Qe){for(var Mt=arguments.length,Wt=Array(Mt>2?Mt-2:0),mr=2;mr<Mt;mr++)Wt[mr-2]=arguments[mr];return Br.apply(void 0,[Wn,Xe,Qe].concat(Wt))}function Ot(Xe,Qe,Mt){for(var Wt=arguments.length,mr=Array(Wt>3?Wt-3:0),Lr=3;Lr<Wt;Lr++)mr[Lr-3]=arguments[Lr];return Br.apply(void 0,[zi,Xe,Qe,Mt].concat(mr))}var dt=Zn,or=e(44520),cr=e.n(or),Ar=e(26420),Ir=e(78639),Ze=e.n(Ir),Je=e(15142),Ee=e(57879),ut=e(56754),ir=e.n(ut),br=e(42573),Dr=e(58698),wr=e(89381),Fr=e.n(wr),hn=e(60288),Tr=e(16886),sn=e(9478),Xr=e.n(sn),nn=Array.isArray.bind(Array),gn=function(Qe){return typeof Qe=="function"},da=function(Qe){return Qe},mi=function(){},ci=function(Qe,Mt){for(var Wt=0,mr=Qe.length;Wt<mr;Wt+=1)if(Mt(Qe[Wt],Wt))return Wt;return-1},Cn=Object.freeze({isPlainObject:Ze(),isArray:nn,isFunction:gn,returnSelf:da,noop:mi,findIndex:ci});function Pi(Xe,Qe){var Mt=Xe.namespace,Wt=Xe.reducers,mr=Xe.effects,Lr=Xe.subscriptions;invariant(Mt,"[app.model] namespace should be defined"),invariant(typeof Mt=="string","[app.model] namespace should be string, but got ".concat(_typeof(Mt))),invariant(!Qe.some(function(jr){return jr.namespace===Mt}),"[app.model] namespace should be unique"),Wt&&(invariant(isPlainObject(Wt)||nn(Wt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Wt))),invariant(!nn(Wt)||isPlainObject(Wt[0])&&gn(Wt[1]),"[app.model] reducers with array should be [Object, Function]")),mr&&invariant(isPlainObject(mr),"[app.model] effects should be plain object, but got ".concat(_typeof(mr))),Lr&&(invariant(isPlainObject(Lr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Lr))),invariant(Oi(Lr),"[app.model] subscription should be function"))}function Oi(Xe){return Object.keys(Xe).every(function(Qe){return gn(Xe[Qe])})}var aa="/";function Cs(Xe,Qe,Mt){return Object.keys(Xe).reduce(function(Wt,mr){ir()(mr.indexOf("".concat(Qe).concat(aa))!==0,"[prefixNamespace]: ".concat(Mt," ").concat(mr," should not be prefixed with namespace ").concat(Qe));var Lr="".concat(Qe).concat(aa).concat(mr);return Wt[Lr]=Xe[mr],Wt},{})}function na(Xe){var Qe=Xe.namespace,Mt=Xe.reducers,Wt=Xe.effects;if(Mt)if(nn(Mt)){var mr=(0,Ee.Z)(Mt),Lr=mr[0],jr=mr.slice(1);Xe.reducers=[Cs(Lr,Qe,"reducer")].concat((0,Je.Z)(jr))}else Xe.reducers=Cs(Mt,Qe,"reducer");return Wt&&(Xe.effects=Cs(Wt,Qe,"effect")),Xe}var vs=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function Ms(Xe){return Object.keys(Xe).reduce(function(Qe,Mt){return vs.indexOf(Mt)>-1&&(Qe[Mt]=Xe[Mt]),Qe},{})}var Ba=function(){function Xe(){(0,br.Z)(this,Xe),this._handleActions=null,this.hooks=vs.reduce(function(Qe,Mt){return Qe[Mt]=[],Qe},{})}return(0,Dr.Z)(Xe,[{key:"use",value:function(Mt){cr()(Ze()(Mt),"plugin.use: plugin should be plain object");var Wt=this.hooks;for(var mr in Mt)Object.prototype.hasOwnProperty.call(Mt,mr)&&(cr()(Wt[mr],"plugin.use: unknown plugin property: ".concat(mr)),mr==="_handleActions"?this._handleActions=Mt[mr]:mr==="extraEnhancers"?Wt[mr]=Mt[mr]:Wt[mr].push(Mt[mr]))}},{key:"apply",value:function(Mt,Wt){var mr=this.hooks,Lr=["onError","onHmr"];cr()(Lr.indexOf(Mt)>-1,"plugin.apply: hook ".concat(Mt," cannot be applied"));var jr=mr[Mt];return function(){if(jr.length){var cn=!0,tn=!1,fn=void 0;try{for(var Hn=jr[Symbol.iterator](),Kn;!(cn=(Kn=Hn.next()).done);cn=!0){var fi=Kn.value;fi.apply(void 0,arguments)}}catch(xi){tn=!0,fn=xi}finally{try{!cn&&Hn.return!=null&&Hn.return()}finally{if(tn)throw fn}}}else Wt&&Wt.apply(void 0,arguments)}}},{key:"get",value:function(Mt){var Wt=this.hooks;return cr()(Mt in Wt,"plugin.get: hook ".concat(Mt," cannot be got")),Mt==="extraReducers"?sa(Wt[Mt]):Mt==="onReducer"?yn(Wt[Mt]):Wt[Mt]}}]),Xe}();function sa(Xe){var Qe={},Mt=!0,Wt=!1,mr=void 0;try{for(var Lr=Xe[Symbol.iterator](),jr;!(Mt=(jr=Lr.next()).done);Mt=!0){var cn=jr.value;Qe=(0,l.Z)({},Qe,cn)}}catch(tn){Wt=!0,mr=tn}finally{try{!Mt&&Lr.return!=null&&Lr.return()}finally{if(Wt)throw mr}}return Qe}function yn(Xe){return function(Qe){var Mt=!0,Wt=!1,mr=void 0;try{for(var Lr=Xe[Symbol.iterator](),jr;!(Mt=(jr=Lr.next()).done);Mt=!0){var cn=jr.value;Qe=cn(Qe)}}catch(tn){Wt=!0,mr=tn}finally{try{!Mt&&Lr.return!=null&&Lr.return()}finally{if(Wt)throw mr}}return Qe}}function bs(Xe){var Qe=Xe.reducers,Mt=Xe.initialState,Wt=Xe.plugin,mr=Xe.sagaMiddleware,Lr=Xe.promiseMiddleware,jr=Xe.createOpts.setupMiddlewares,cn=jr===void 0?da:jr,tn=Wt.get("extraEnhancers");cr()(nn(tn),"[app.start] extraEnhancers should be array, but got ".concat((0,Ar.Z)(tn)));var fn=Wt.get("onAction"),Hn=cn([Lr,mr].concat((0,Je.Z)(Fr()(fn)))),Kn=c.qC,fi=[c.md.apply(void 0,(0,Je.Z)(Hn))].concat((0,Je.Z)(tn));return(0,c.MT)(Qe,Mt,Kn.apply(void 0,(0,Je.Z)(fi)))}function Xa(Xe,Qe){var Mt="".concat(Qe.namespace).concat(aa).concat(Xe),Wt=Mt.replace(/\/@@[^/]+?$/,""),mr=Array.isArray(Qe.reducers)?Qe.reducers[0][Wt]:Qe.reducers&&Qe.reducers[Wt];return mr||Qe.effects&&Qe.effects[Wt]?Mt:Xe}function xs(Xe,Qe,Mt,Wt){var mr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return Xr().mark(function Lr(){var jr;return Xr().wrap(function(tn){for(;;)switch(tn.prev=tn.next){case 0:tn.t0=Xr().keys(Xe);case 1:if((tn.t1=tn.t0()).done){tn.next=7;break}if(jr=tn.t1.value,!Object.prototype.hasOwnProperty.call(Xe,jr)){tn.next=5;break}return tn.delegateYield(Xr().mark(function fn(){var Hn,Kn;return Xr().wrap(function(xi){for(;;)switch(xi.prev=xi.next){case 0:return Hn=ji(jr,Xe[jr],Qe,Mt,Wt,mr),xi.next=3,Br(Hn);case 3:return Kn=xi.sent,xi.next=6,Br(Xr().mark(function qi(){return Xr().wrap(function(wi){for(;;)switch(wi.prev=wi.next){case 0:return wi.next=2,qe("".concat(Qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return wi.next=4,en(Kn);case 4:case"end":return wi.stop()}},qi)}));case 6:case"end":return xi.stop()}},fn)})(),"t2",5);case 5:tn.next=1;break;case 7:case"end":return tn.stop()}},Lr)})}function ji(Xe,Qe,Mt,Wt,mr,Lr){var jr=Xr().mark(qi),cn=Qe,tn="takeEvery",fn,Hn;if(Array.isArray(Qe)){var Kn=(0,Tr.Z)(Qe,1);cn=Kn[0];var fi=Qe[1];fi&&fi.type&&(tn=fi.type,tn==="throttle"&&(cr()(fi.ms,"app.start: opts.ms should be defined if type is throttle"),fn=fi.ms),tn==="poll"&&(cr()(fi.delay,"app.start: opts.delay should be defined if type is poll"),Hn=fi.delay)),cr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(tn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function xi(){}function qi(){var wi,ha,gi,yi,pa,ro,Ss,Na,$a,za=arguments;return Xr().wrap(function(ga){for(;;)switch(ga.prev=ga.next){case 0:for(wi=za.length,ha=new Array(wi),gi=0;gi<wi;gi++)ha[gi]=za[gi];return yi=ha.length>0?ha[0]:{},pa=yi.__dva_resolve,ro=pa===void 0?xi:pa,Ss=yi.__dva_reject,Na=Ss===void 0?xi:Ss,ga.prev=2,ga.next=5,Ft({type:"".concat(Xe).concat(aa,"@@start")});case 5:return ga.next=7,cn.apply(void 0,(0,Je.Z)(ha.concat(Fs(Mt,Lr))));case 7:return $a=ga.sent,ga.next=10,Ft({type:"".concat(Xe).concat(aa,"@@end")});case 10:ro($a),ga.next=17;break;case 13:ga.prev=13,ga.t0=ga.catch(2),Wt(ga.t0,{key:Xe,effectArgs:ha}),ga.t0._dontReject||Na(ga.t0);case 17:case"end":return ga.stop()}},jr,null,[[2,13]])}var Ri=So(mr,qi,Mt,Xe);switch(tn){case"watcher":return qi;case"takeLatest":return Xr().mark(function wi(){return Xr().wrap(function(gi){for(;;)switch(gi.prev=gi.next){case 0:return gi.next=2,nt(Xe,Ri);case 2:case"end":return gi.stop()}},wi)});case"throttle":return Xr().mark(function wi(){return Xr().wrap(function(gi){for(;;)switch(gi.prev=gi.next){case 0:return gi.next=2,Ot(fn,Xe,Ri);case 2:case"end":return gi.stop()}},wi)});case"poll":return Xr().mark(function wi(){var ha,gi,yi,pa,ro,Ss,Na;return Xr().wrap(function(za){for(;;)switch(za.prev=za.next){case 0:yi=function(ga,La){var Ka;return Xr().wrap(function(Ja){for(;;)switch(Ja.prev=Ja.next){case 0:Ka=ga.call;case 1:return Ja.next=4,Ka(Ri,La);case 4:return Ja.next=6,Ka(gi,Hn);case 6:Ja.next=1;break;case 8:case"end":return Ja.stop()}},ha)},gi=function(ga){return new Promise(function(La){return setTimeout(La,ga)})},ha=Xr().mark(yi),pa=Zr,ro=qe,Ss=Pr;case 4:return za.next=7,ro("".concat(Xe,"-start"));case 7:return Na=za.sent,za.next=10,Ss([pa(yi,r,Na),ro("".concat(Xe,"-stop"))]);case 10:za.next=4;break;case 12:case"end":return za.stop()}},wi)});default:return Xr().mark(function wi(){return Xr().wrap(function(gi){for(;;)switch(gi.prev=gi.next){case 0:return gi.next=2,pt(Xe,Ri);case 2:case"end":return gi.stop()}},wi)})}}function Fs(Xe,Qe){function Mt(jr,cn){cr()(jr,"dispatch: action should be a plain Object with type");var tn=Qe.namespacePrefixWarning,fn=tn===void 0?!0:tn;fn&&ir()(jr.indexOf("".concat(Xe.namespace).concat(aa))!==0,"[".concat(cn,"] ").concat(jr," should not be prefixed with namespace ").concat(Xe.namespace))}function Wt(jr){var cn=jr.type;return Mt(cn,"sagaEffects.put"),Ft((0,l.Z)({},jr,{type:Xa(cn,Xe)}))}function mr(jr){var cn=jr.type;return Mt(cn,"sagaEffects.put.resolve"),Ft.resolve((0,l.Z)({},jr,{type:Xa(cn,Xe)}))}Wt.resolve=mr;function Lr(jr){return typeof jr=="string"?(Mt(jr,"sagaEffects.take"),qe(Xa(jr,Xe))):Array.isArray(jr)?qe(jr.map(function(cn){return typeof cn=="string"?(Mt(cn,"sagaEffects.take"),Xa(cn,Xe)):cn})):qe(jr)}return(0,l.Z)({},r,{put:Wt,take:Lr})}function So(Xe,Qe,Mt,Wt){var mr=!0,Lr=!1,jr=void 0;try{for(var cn=Xe[Symbol.iterator](),tn;!(mr=(tn=cn.next()).done);mr=!0){var fn=tn.value;Qe=fn(Qe,r,Mt,Wt)}}catch(Hn){Lr=!0,jr=Hn}finally{try{!mr&&cn.return!=null&&cn.return()}finally{if(Lr)throw jr}}return Qe}function Da(Xe){return Xe}function Ji(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Da;return function(Mt,Wt){var mr=Wt.type;return cr()(mr,"dispatch: action should be a plain Object with type"),Xe===mr?Qe(Mt,Wt):Mt}}function Qa(){for(var Xe=arguments.length,Qe=new Array(Xe),Mt=0;Mt<Xe;Mt++)Qe[Mt]=arguments[Mt];return function(Wt,mr){return Qe.reduce(function(Lr,jr){return jr(Lr,mr)},Wt)}}function Ks(Xe,Qe){var Mt=Object.keys(Xe).map(function(mr){return Ji(mr,Xe[mr])}),Wt=Qa.apply(void 0,(0,Je.Z)(Mt));return function(){var mr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Lr=arguments.length>1?arguments[1]:void 0;return Wt(mr,Lr)}}function Pn(Xe,Qe,Mt){return Array.isArray(Xe)?Xe[1]((Mt||Ks)(Xe[0],Qe)):(Mt||Ks)(Xe||{},Qe)}function Wa(Xe){return function(){return function(Mt){return function(Wt){var mr=Wt.type;return Qe(mr)?new Promise(function(Lr,jr){Mt((0,l.Z)({__dva_resolve:Lr,__dva_reject:jr},Wt))}):Mt(Wt)}}};function Qe(Mt){if(!Mt||typeof Mt!="string")return!1;var Wt=Mt.split(aa),mr=(0,Tr.Z)(Wt,1),Lr=mr[0],jr=Xe._models.filter(function(cn){return cn.namespace===Lr})[0];return!!(jr&&jr.effects&&jr.effects[Mt])}}function mo(Xe,Qe){return function(Mt){var Wt=Mt.type;return cr()(Wt,"dispatch: action should be a plain Object with type"),ir()(Wt.indexOf("".concat(Qe.namespace).concat(aa))!==0,"dispatch: ".concat(Wt," should not be prefixed with namespace ").concat(Qe.namespace)),Xe((0,l.Z)({},Mt,{type:Xa(Wt,Qe)}))}}function Bs(Xe,Qe,Mt,Wt){var mr=[],Lr=[];for(var jr in Xe)if(Object.prototype.hasOwnProperty.call(Xe,jr)){var cn=Xe[jr],tn=cn({dispatch:mo(Mt._store.dispatch,Qe),history:Mt._history},Wt);gn(tn)?mr.push(tn):Lr.push(jr)}return{funcs:mr,nonFuncs:Lr}}function Li(Xe,Qe){if(Xe[Qe]){var Mt=Xe[Qe],Wt=Mt.funcs,mr=Mt.nonFuncs;ir()(mr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(mr.join(", ")));var Lr=!0,jr=!1,cn=void 0;try{for(var tn=Wt[Symbol.iterator](),fn;!(Lr=(fn=tn.next()).done);Lr=!0){var Hn=fn.value;Hn()}}catch(Kn){jr=!0,cn=Kn}finally{try{!Lr&&tn.return!=null&&tn.return()}finally{if(jr)throw cn}}delete Xe[Qe]}}var Oa=mi,ka=ci,os={namespace:"@@dva",state:0,reducers:{UPDATE:function(Qe){return Qe+1}}};function Qs(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mt=Qe.initialReducer,Wt=Qe.setupApp,mr=Wt===void 0?Oa:Wt,Lr=new Ba;Lr.use(Ms(Xe));var jr={_models:[na((0,l.Z)({},os))],_store:null,_plugin:Lr,use:Lr.use.bind(Lr),model:cn,start:Kn};return jr;function cn(fi){var xi=na((0,l.Z)({},fi));return jr._models.push(xi),xi}function tn(fi,xi,qi,Ri){Ri=cn(Ri);var wi=jr._store;wi.asyncReducers[Ri.namespace]=Pn(Ri.reducers,Ri.state,Lr._handleActions),wi.replaceReducer(fi()),Ri.effects&&wi.runSaga(jr._getSaga(Ri.effects,Ri,xi,Lr.get("onEffect"),Xe)),Ri.subscriptions&&(qi[Ri.namespace]=Bs(Ri.subscriptions,Ri,jr,xi))}function fn(fi,xi,qi,Ri){var wi=jr._store;delete wi.asyncReducers[Ri],delete xi[Ri],wi.replaceReducer(fi()),wi.dispatch({type:"@@dva/UPDATE"}),wi.dispatch({type:"".concat(Ri,"/@@CANCEL_EFFECTS")}),Li(qi,Ri),jr._models=jr._models.filter(function(ha){return ha.namespace!==Ri})}function Hn(fi,xi,qi,Ri,wi){var ha=jr._store,gi=wi.namespace,yi=ka(jr._models,function(pa){return pa.namespace===gi});~yi&&(ha.dispatch({type:"".concat(gi,"/@@CANCEL_EFFECTS")}),delete ha.asyncReducers[gi],delete xi[gi],Li(qi,gi),jr._models.splice(yi,1)),jr.model(wi),ha.dispatch({type:"@@dva/UPDATE"})}function Kn(){var fi=function(yr,Kr){yr&&(typeof yr=="string"&&(yr=new Error(yr)),yr.preventDefault=function(){yr._dontReject=!0},Lr.apply("onError",function(gr){throw new Error(gr.stack||gr)})(yr,jr._store.dispatch,Kr))},xi=dt(),qi=Wa(jr);jr._getSaga=xs.bind(null);var Ri=[],wi=(0,l.Z)({},Mt),ha=!0,gi=!1,yi=void 0;try{for(var pa=jr._models[Symbol.iterator](),ro;!(ha=(ro=pa.next()).done);ha=!0){var Ss=ro.value;wi[Ss.namespace]=Pn(Ss.reducers,Ss.state,Lr._handleActions),Ss.effects&&Ri.push(jr._getSaga(Ss.effects,Ss,fi,Lr.get("onEffect"),Xe))}}catch(Te){gi=!0,yi=Te}finally{try{!ha&&pa.return!=null&&pa.return()}finally{if(gi)throw yi}}var Na=Lr.get("onReducer"),$a=Lr.get("extraReducers");cr()(Object.keys($a).every(function(Te){return!(Te in wi)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(wi).join(", "))),jr._store=bs({reducers:be(),initialState:Xe.initialState||{},plugin:Lr,createOpts:Qe,sagaMiddleware:xi,promiseMiddleware:qi});var za=jr._store;za.runSaga=xi.run,za.asyncReducers={};var Ii=Lr.get("onStateChange"),ga=!0,La=!1,Ka=void 0;try{for(var fo=function(){var yr=Ea.value;za.subscribe(function(){yr(za.getState())})},Ja=Ii[Symbol.iterator](),Ea;!(ga=(Ea=Ja.next()).done);ga=!0)fo()}catch(Te){La=!0,Ka=Te}finally{try{!ga&&Ja.return!=null&&Ja.return()}finally{if(La)throw Ka}}Ri.forEach(xi.run),mr(jr);var Ns={},ea=!0,cs=!1,la=void 0;try{for(var Ya=this._models[Symbol.iterator](),gs;!(ea=(gs=Ya.next()).done);ea=!0){var ya=gs.value;ya.subscriptions&&(Ns[ya.namespace]=Bs(ya.subscriptions,ya,jr,fi))}}catch(Te){cs=!0,la=Te}finally{try{!ea&&Ya.return!=null&&Ya.return()}finally{if(cs)throw la}}jr.model=tn.bind(jr,be,fi,Ns),jr.unmodel=fn.bind(jr,be,wi,Ns),jr.replaceModel=Hn.bind(jr,be,wi,Ns,fi);function be(){return Na((0,c.UY)((0,l.Z)({},wi,$a,jr._store?jr._store.asyncReducers:{})))}}}var Ao=e(37573),To=e(45097),ws=e(4676);function wa(Xe){Xe()}let us=wa;const vo=Xe=>us=Xe,Do=()=>us,go=Symbol.for("react-redux-context"),$o=typeof globalThis!="undefined"?globalThis:{};function oi(){var Xe;if(!i.createContext)return{};const Qe=(Xe=$o[go])!=null?Xe:$o[go]=new Map;let Mt=Qe.get(i.createContext);return Mt||(Mt=i.createContext(null),Qe.set(i.createContext,Mt)),Mt}const ni=oi();var Ga=null;function ts(Xe=ni){return function(){return(0,i.useContext)(Xe)}}const Ia=ts(),uo=()=>{throw new Error("uSES not initialized!")};let jo=uo;const Qo=Xe=>{jo=Xe},ls=(Xe,Qe)=>Xe===Qe;function hu(Xe=ni){const Qe=Xe===ni?Ia:ts(Xe);return function(Wt,mr={}){const{equalityFn:Lr=ls,stabilityCheck:jr=void 0,noopCheck:cn=void 0}=typeof mr=="function"?{equalityFn:mr}:mr,{store:tn,subscription:fn,getServerState:Hn,stabilityCheck:Kn,noopCheck:fi}=Qe(),xi=(0,i.useRef)(!0),qi=(0,i.useCallback)({[Wt.name](wi){return Wt(wi)}}[Wt.name],[Wt,Kn,jr]),Ri=jo(fn.addNestedSub,tn.getState,Hn||tn.getState,qi,Lr);return(0,i.useDebugValue)(Ri),Ri}}const Go=hu();var su=e(67711),lo=e(12359),$u=e(94266),Co=e.n($u),wo=e(23265);const Uo=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function pu(Xe,Qe,Mt,Wt,{areStatesEqual:mr,areOwnPropsEqual:Lr,areStatePropsEqual:jr}){let cn=!1,tn,fn,Hn,Kn,fi;function xi(gi,yi){return tn=gi,fn=yi,Hn=Xe(tn,fn),Kn=Qe(Wt,fn),fi=Mt(Hn,Kn,fn),cn=!0,fi}function qi(){return Hn=Xe(tn,fn),Qe.dependsOnOwnProps&&(Kn=Qe(Wt,fn)),fi=Mt(Hn,Kn,fn),fi}function Ri(){return Xe.dependsOnOwnProps&&(Hn=Xe(tn,fn)),Qe.dependsOnOwnProps&&(Kn=Qe(Wt,fn)),fi=Mt(Hn,Kn,fn),fi}function wi(){const gi=Xe(tn,fn),yi=!jr(gi,Hn);return Hn=gi,yi&&(fi=Mt(Hn,Kn,fn)),fi}function ha(gi,yi){const pa=!Lr(yi,fn),ro=!mr(gi,tn,yi,fn);return tn=gi,fn=yi,pa&&ro?qi():pa?Ri():ro?wi():fi}return function(yi,pa){return cn?ha(yi,pa):xi(yi,pa)}}function Ys(Xe,Qe){let{initMapStateToProps:Mt,initMapDispatchToProps:Wt,initMergeProps:mr}=Qe,Lr=(0,lo.Z)(Qe,Uo);const jr=Mt(Xe,Lr),cn=Wt(Xe,Lr),tn=mr(Xe,Lr);return pu(jr,cn,tn,Xe,Lr)}function bu(Xe,Qe){const Mt={};for(const Wt in Xe){const mr=Xe[Wt];typeof mr=="function"&&(Mt[Wt]=(...Lr)=>Qe(mr(...Lr)))}return Mt}function Jo(Xe){return function(Mt){const Wt=Xe(Mt);function mr(){return Wt}return mr.dependsOnOwnProps=!1,mr}}function zo(Xe){return Xe.dependsOnOwnProps?!!Xe.dependsOnOwnProps:Xe.length!==1}function Zo(Xe,Qe){return function(Wt,{displayName:mr}){const Lr=function(cn,tn){return Lr.dependsOnOwnProps?Lr.mapToProps(cn,tn):Lr.mapToProps(cn,void 0)};return Lr.dependsOnOwnProps=!0,Lr.mapToProps=function(cn,tn){Lr.mapToProps=Xe,Lr.dependsOnOwnProps=zo(Xe);let fn=Lr(cn,tn);return typeof fn=="function"&&(Lr.mapToProps=fn,Lr.dependsOnOwnProps=zo(fn),fn=Lr(cn,tn)),fn},Lr}}function ns(Xe,Qe){return(Mt,Wt)=>{throw new Error(`Invalid value of type ${typeof Xe} for ${Qe} argument when connecting component ${Wt.wrappedComponentName}.`)}}function Js(Xe){return Xe&&typeof Xe=="object"?Jo(Qe=>bu(Xe,Qe)):Xe?typeof Xe=="function"?Zo(Xe,"mapDispatchToProps"):ns(Xe,"mapDispatchToProps"):Jo(Qe=>({dispatch:Qe}))}function ju(Xe){return Xe?typeof Xe=="function"?Zo(Xe,"mapStateToProps"):ns(Xe,"mapStateToProps"):Jo(()=>({}))}function Qt(Xe,Qe,Mt){return(0,su.Z)({},Mt,Xe,Qe)}function fr(Xe){return function(Mt,{displayName:Wt,areMergedPropsEqual:mr}){let Lr=!1,jr;return function(tn,fn,Hn){const Kn=Xe(tn,fn,Hn);return Lr?mr(Kn,jr)||(jr=Kn):(Lr=!0,jr=Kn),jr}}}function ar(Xe){return Xe?typeof Xe=="function"?fr(Xe):ns(Xe,"mergeProps"):()=>Qt}function dr(){const Xe=Do();let Qe=null,Mt=null;return{clear(){Qe=null,Mt=null},notify(){Xe(()=>{let Wt=Qe;for(;Wt;)Wt.callback(),Wt=Wt.next})},get(){let Wt=[],mr=Qe;for(;mr;)Wt.push(mr),mr=mr.next;return Wt},subscribe(Wt){let mr=!0,Lr=Mt={callback:Wt,next:null,prev:Mt};return Lr.prev?Lr.prev.next=Lr:Qe=Lr,function(){!mr||Qe===null||(mr=!1,Lr.next?Lr.next.prev=Lr.prev:Mt=Lr.prev,Lr.prev?Lr.prev.next=Lr.next:Qe=Lr.next)}}}}const Sr={notify(){},get:()=>[]};function un(Xe,Qe){let Mt,Wt=Sr,mr=0,Lr=!1;function jr(Ri){Hn();const wi=Wt.subscribe(Ri);let ha=!1;return()=>{ha||(ha=!0,wi(),Kn())}}function cn(){Wt.notify()}function tn(){qi.onStateChange&&qi.onStateChange()}function fn(){return Lr}function Hn(){mr++,Mt||(Mt=Qe?Qe.addNestedSub(tn):Xe.subscribe(tn),Wt=dr())}function Kn(){mr--,Mt&&mr===0&&(Mt(),Mt=void 0,Wt.clear(),Wt=Sr)}function fi(){Lr||(Lr=!0,Hn())}function xi(){Lr&&(Lr=!1,Kn())}const qi={addNestedSub:jr,notifyNestedSubs:cn,handleChangeWrapper:tn,isSubscribed:fn,trySubscribe:fi,tryUnsubscribe:xi,getListeners:()=>Wt};return qi}const bn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function In(Xe,Qe){return Xe===Qe?Xe!==0||Qe!==0||1/Xe===1/Qe:Xe!==Xe&&Qe!==Qe}function Qn(Xe,Qe){if(In(Xe,Qe))return!0;if(typeof Xe!="object"||Xe===null||typeof Qe!="object"||Qe===null)return!1;const Mt=Object.keys(Xe),Wt=Object.keys(Qe);if(Mt.length!==Wt.length)return!1;for(let mr=0;mr<Mt.length;mr++)if(!Object.prototype.hasOwnProperty.call(Qe,Mt[mr])||!In(Xe[Mt[mr]],Qe[Mt[mr]]))return!1;return!0}const Xn=["reactReduxForwardedRef"];let ur=uo;const Rr=Xe=>{ur=Xe},Or=null,pn=[null,null],_n=Xe=>{try{return JSON.stringify(Xe)}catch(Qe){return String(Xe)}};function _t(Xe,Qe,Mt){bn(()=>Xe(...Qe),Mt)}function Dn(Xe,Qe,Mt,Wt,mr,Lr){Xe.current=Wt,Mt.current=!1,mr.current&&(mr.current=null,Lr())}function kn(Xe,Qe,Mt,Wt,mr,Lr,jr,cn,tn,fn,Hn){if(!Xe)return()=>{};let Kn=!1,fi=null;const xi=()=>{if(Kn||!cn.current)return;const Ri=Qe.getState();let wi,ha;try{wi=Wt(Ri,mr.current)}catch(gi){ha=gi,fi=gi}ha||(fi=null),wi===Lr.current?jr.current||fn():(Lr.current=wi,tn.current=wi,jr.current=!0,Hn())};return Mt.onStateChange=xi,Mt.trySubscribe(),xi(),()=>{if(Kn=!0,Mt.tryUnsubscribe(),Mt.onStateChange=null,fi)throw fi}}const vi=()=>Or;function Wi(Xe,Qe){return Xe===Qe}let er=!1;function Yi(Xe,Qe,Mt,{pure:Wt,areStatesEqual:mr=Wi,areOwnPropsEqual:Lr=Qn,areStatePropsEqual:jr=Qn,areMergedPropsEqual:cn=Qn,forwardRef:tn=!1,context:fn=ni}={}){const Hn=fn,Kn=ju(Xe),fi=Js(Qe),xi=ar(Mt),qi=!!Xe;return wi=>{const ha=wi.displayName||wi.name||"Component",gi=`Connect(${ha})`,yi={shouldHandleStateChanges:qi,displayName:gi,wrappedComponentName:ha,WrappedComponent:wi,initMapStateToProps:Kn,initMapDispatchToProps:fi,initMergeProps:xi,areStatesEqual:mr,areStatePropsEqual:jr,areOwnPropsEqual:Lr,areMergedPropsEqual:cn};function pa(Na){const[$a,za,Ii]=i.useMemo(()=>{const{reactReduxForwardedRef:On}=Na,Rn=(0,lo.Z)(Na,Xn);return[Na.context,On,Rn]},[Na]),ga=i.useMemo(()=>$a&&$a.Consumer&&(0,wo.isContextConsumer)(i.createElement($a.Consumer,null))?$a:Hn,[$a,Hn]),La=i.useContext(ga),Ka=!!Na.store&&!!Na.store.getState&&!!Na.store.dispatch,fo=!!La&&!!La.store,Ja=Ka?Na.store:La.store,Ea=fo?La.getServerState:Ja.getState,Ns=i.useMemo(()=>Ys(Ja.dispatch,yi),[Ja]),[ea,cs]=i.useMemo(()=>{if(!qi)return pn;const On=un(Ja,Ka?void 0:La.subscription),Rn=On.notifyNestedSubs.bind(On);return[On,Rn]},[Ja,Ka,La]),la=i.useMemo(()=>Ka?La:(0,su.Z)({},La,{subscription:ea}),[Ka,La,ea]),Ya=i.useRef(),gs=i.useRef(Ii),ya=i.useRef(),be=i.useRef(!1),Te=i.useRef(!1),yr=i.useRef(!1),Kr=i.useRef();bn(()=>(yr.current=!0,()=>{yr.current=!1}),[]);const gr=i.useMemo(()=>()=>ya.current&&Ii===gs.current?ya.current:Ns(Ja.getState(),Ii),[Ja,Ii]),Wr=i.useMemo(()=>Rn=>ea?kn(qi,Ja,ea,Ns,gs,Ya,be,yr,ya,cs,Rn):()=>{},[ea]);_t(Dn,[gs,Ya,be,Ii,ya,cs]);let xn;try{xn=ur(Wr,gr,Ea?()=>Ns(Ea(),Ii):gr)}catch(On){throw Kr.current&&(On.message+=`
The error may be correlated with this previous error:
${Kr.current.stack}
`),On}bn(()=>{Kr.current=void 0,ya.current=void 0,Ya.current=xn});const Gn=i.useMemo(()=>i.createElement(wi,(0,su.Z)({},xn,{ref:za})),[za,wi,xn]);return i.useMemo(()=>qi?i.createElement(ga.Provider,{value:la},Gn):Gn,[ga,Gn,la])}const Ss=i.memo(pa);if(Ss.WrappedComponent=wi,Ss.displayName=pa.displayName=gi,tn){const $a=i.forwardRef(function(Ii,ga){return i.createElement(Ss,(0,su.Z)({},Ii,{reactReduxForwardedRef:ga}))});return $a.displayName=gi,$a.WrappedComponent=wi,Co()($a,wi)}return Co()(Ss,wi)}}var ki=Yi;function ua({store:Xe,context:Qe,children:Mt,serverState:Wt,stabilityCheck:mr="once",noopCheck:Lr="once"}){const jr=i.useMemo(()=>{const fn=un(Xe);return{store:Xe,subscription:fn,getServerState:Wt?()=>Wt:void 0,stabilityCheck:mr,noopCheck:Lr}},[Xe,Wt,mr,Lr]),cn=i.useMemo(()=>Xe.getState(),[Xe]);bn(()=>{const{subscription:fn}=jr;return fn.onStateChange=fn.notifyNestedSubs,fn.trySubscribe(),cn!==Xe.getState()&&fn.notifyNestedSubs(),()=>{fn.tryUnsubscribe(),fn.onStateChange=void 0}},[jr,cn]);const tn=Qe||ni;return i.createElement(tn.Provider,{value:jr},Mt)}var qs=ua;function fs(Xe=ni){const Qe=Xe===ni?Ia:ts(Xe);return function(){const{store:Wt}=Qe();return Wt}}const Ci=fs();function co(Xe=ni){const Qe=Xe===ni?Ci:fs(Xe);return function(){return Qe().dispatch}}const Zs=co();Qo(To.useSyncExternalStoreWithSelector),Rr(Ao.useSyncExternalStore),vo(ws.unstable_batchedUpdates);var Va=Object.defineProperty,Ra=Object.getOwnPropertySymbols,eo=Object.prototype.hasOwnProperty,to=Object.prototype.propertyIsEnumerable,mn=(Xe,Qe,Mt)=>Qe in Xe?Va(Xe,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Xe[Qe]=Mt,Es=(Xe,Qe)=>{for(var Mt in Qe||(Qe={}))eo.call(Qe,Mt)&&mn(Xe,Mt,Qe[Mt]);if(Ra)for(var Mt of Ra(Qe))to.call(Qe,Mt)&&mn(Xe,Mt,Qe[Mt]);return Xe};function Hs(Xe){const Qe=create(Xe,{initialReducer:{},setupApp(){}}),Mt=Qe.start;return Qe.router=Wt,Qe.start=mr,Qe;function Wt(Lr){Qe._router=Lr}function mr(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,cn=Qe._router;return tn=>React.createElement(Provider,{store:jr},cn(Es({app:Qe},tn)))}}},58293:function(d,v,e){"use strict";e.d(v,{fi:function(){return _},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(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={}))o.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,M){T.push(A(D,T),M)},replace(D,M){T.replace(A(D,T),M)},get location(){return T.location},get action(){return T.action}}),T}function b(L){L&&(p=L)}function A(L,T){if(typeof L=="string")return`${k(y)}${L}`;if(typeof L=="object"){const D=T.location.pathname;return x(a({},L),{pathname:L.pathname?`${k(y)}${L.pathname}`:D})}else throw new Error(`Unexpected to: ${L}`)}function k(L){return L.slice(-1)==="/"?L.slice(0,-1):L}},3191:function(d,v,e){"use strict";e.d(v,{gD:function(){return an},We:function(){return sr}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return Ge}});var l={};e.r(l),e.d(l,{rootContainer:function(){return De}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return zt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return xr}});var o=e(8591),h=e(61186),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(Rt){o.ZP.error(Rt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),_=e(12373),b=e.n(_),A=e(44520),k=e.n(A),L=e(19747),T=e.n(L);function D(){return D=Object.assign||function(Rt){for(var mt=1;mt<arguments.length;mt++){var gt=arguments[mt];for(var $t in gt)Object.prototype.hasOwnProperty.call(gt,$t)&&(Rt[$t]=gt[$t])}return Rt},D.apply(this,arguments)}function M(Rt,mt){Rt.prototype=Object.create(mt.prototype),Rt.prototype.constructor=Rt,B(Rt,mt)}function B(Rt,mt){return B=Object.setPrototypeOf||function(gt,$t){return gt.__proto__=$t,gt},B(Rt,mt)}function N(Rt,mt){if(Rt==null)return{};var gt,$t,Er={},vr=Object.keys(Rt);for($t=0;$t<vr.length;$t++)mt.indexOf(gt=vr[$t])>=0||(Er[gt]=Rt[gt]);return Er}var K={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},G={rel:["amphtml","canonical","alternate"]},W={type:["application/ld+json"]},ne={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(K).map(function(Rt){return K[Rt]}),le={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Q=Object.keys(le).reduce(function(Rt,mt){return Rt[le[mt]]=mt,Rt},{}),J=function(Rt,mt){for(var gt=Rt.length-1;gt>=0;gt-=1){var $t=Rt[gt];if(Object.prototype.hasOwnProperty.call($t,mt))return $t[mt]}return null},V=function(Rt){var mt=J(Rt,K.TITLE),gt=J(Rt,"titleTemplate");if(Array.isArray(mt)&&(mt=mt.join("")),gt&&mt)return gt.replace(/%s/g,function(){return mt});var $t=J(Rt,"defaultTitle");return mt||$t||void 0},ue=function(Rt){return J(Rt,"onChangeClientState")||function(){}},ee=function(Rt,mt){return mt.filter(function(gt){return gt[Rt]!==void 0}).map(function(gt){return gt[Rt]}).reduce(function(gt,$t){return D({},gt,$t)},{})},X=function(Rt,mt){return mt.filter(function(gt){return gt[K.BASE]!==void 0}).map(function(gt){return gt[K.BASE]}).reverse().reduce(function(gt,$t){if(!gt.length)for(var Er=Object.keys($t),vr=0;vr<Er.length;vr+=1){var ot=Er[vr].toLowerCase();if(Rt.indexOf(ot)!==-1&&$t[ot])return gt.concat($t)}return gt},[])},ce=function(Rt,mt,gt){var $t={};return gt.filter(function(Er){return!!Array.isArray(Er[Rt])||(Er[Rt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+Rt+' should be of type "Array". Instead found type "'+typeof Er[Rt]+'"'),!1)}).map(function(Er){return Er[Rt]}).reverse().reduce(function(Er,vr){var ot={};vr.filter(function(qr){for(var ln,Ln=Object.keys(qr),Vn=0;Vn<Ln.length;Vn+=1){var Bn=Ln[Vn],Ui=Bn.toLowerCase();mt.indexOf(Ui)===-1||ln==="rel"&&qr[ln].toLowerCase()==="canonical"||Ui==="rel"&&qr[Ui].toLowerCase()==="stylesheet"||(ln=Ui),mt.indexOf(Bn)===-1||Bn!=="innerHTML"&&Bn!=="cssText"&&Bn!=="itemprop"||(ln=Bn)}if(!ln||!qr[ln])return!1;var pi=qr[ln].toLowerCase();return $t[ln]||($t[ln]={}),ot[ln]||(ot[ln]={}),!$t[ln][pi]&&(ot[ln][pi]=!0,!0)}).reverse().forEach(function(qr){return Er.push(qr)});for(var Mr=Object.keys(ot),dn=0;dn<Mr.length;dn+=1){var jn=Mr[dn],_r=D({},$t[jn],ot[jn]);$t[jn]=_r}return Er},[]).reverse()},z=function(Rt,mt){if(Array.isArray(Rt)&&Rt.length){for(var gt=0;gt<Rt.length;gt+=1)if(Rt[gt][mt])return!0}return!1},$=function(Rt){return Array.isArray(Rt)?Rt.join(""):Rt},se=function(Rt,mt){return Array.isArray(Rt)?Rt.reduce(function(gt,$t){return function(Er,vr){for(var ot=Object.keys(Er),Mr=0;Mr<ot.length;Mr+=1)if(vr[ot[Mr]]&&vr[ot[Mr]].includes(Er[ot[Mr]]))return!0;return!1}($t,mt)?gt.priority.push($t):gt.default.push($t),gt},{priority:[],default:[]}):{default:Rt}},_e=function(Rt,mt){var gt;return D({},Rt,((gt={})[mt]=void 0,gt))},Oe=[K.NOSCRIPT,K.SCRIPT,K.STYLE],Le=function(Rt,mt){return mt===void 0&&(mt=!0),mt===!1?String(Rt):String(Rt).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},He=function(Rt){return Object.keys(Rt).reduce(function(mt,gt){var $t=Rt[gt]!==void 0?gt+'="'+Rt[gt]+'"':""+gt;return mt?mt+" "+$t:$t},"")},$e=function(Rt,mt){return mt===void 0&&(mt={}),Object.keys(Rt).reduce(function(gt,$t){return gt[le[$t]||$t]=Rt[$t],gt},mt)},Bt=function(Rt,mt){return mt.map(function(gt,$t){var Er,vr=((Er={key:$t})["data-rh"]=!0,Er);return Object.keys(gt).forEach(function(ot){var Mr=le[ot]||ot;Mr==="innerHTML"||Mr==="cssText"?vr.dangerouslySetInnerHTML={__html:gt.innerHTML||gt.cssText}:vr[Mr]=gt[ot]}),x.createElement(Rt,vr)})},yt=function(Rt,mt,gt){switch(Rt){case K.TITLE:return{toComponent:function(){return Er=mt.titleAttributes,(vr={key:$t=mt.title})["data-rh"]=!0,ot=$e(Er,vr),[x.createElement(K.TITLE,ot,$t)];var $t,Er,vr,ot},toString:function(){return function($t,Er,vr,ot){var Mr=He(vr),dn=$(Er);return Mr?"<"+$t+' data-rh="true" '+Mr+">"+Le(dn,ot)+"</"+$t+">":"<"+$t+' data-rh="true">'+Le(dn,ot)+"</"+$t+">"}(Rt,mt.title,mt.titleAttributes,gt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return $e(mt)},toString:function(){return He(mt)}};default:return{toComponent:function(){return Bt(Rt,mt)},toString:function(){return function($t,Er,vr){return Er.reduce(function(ot,Mr){var dn=Object.keys(Mr).filter(function(qr){return!(qr==="innerHTML"||qr==="cssText")}).reduce(function(qr,ln){var Ln=Mr[ln]===void 0?ln:ln+'="'+Le(Mr[ln],vr)+'"';return qr?qr+" "+Ln:Ln},""),jn=Mr.innerHTML||Mr.cssText||"",_r=Oe.indexOf($t)===-1;return ot+"<"+$t+' data-rh="true" '+dn+(_r?"/>":">"+jn+"</"+$t+">")},"")}(Rt,mt,gt)}}}},It=function(Rt){var mt=Rt.baseTag,gt=Rt.bodyAttributes,$t=Rt.encode,Er=Rt.htmlAttributes,vr=Rt.noscriptTags,ot=Rt.styleTags,Mr=Rt.title,dn=Mr===void 0?"":Mr,jn=Rt.titleAttributes,_r=Rt.linkTags,qr=Rt.metaTags,ln=Rt.scriptTags,Ln={toComponent:function(){},toString:function(){return""}};if(Rt.prioritizeSeoTags){var Vn=function(Bn){var Ui=Bn.linkTags,pi=Bn.scriptTags,bi=Bn.encode,_i=se(Bn.metaTags,ne),li=se(Ui,G),Ki=se(pi,W);return{priorityMethods:{toComponent:function(){return[].concat(Bt(K.META,_i.priority),Bt(K.LINK,li.priority),Bt(K.SCRIPT,Ki.priority))},toString:function(){return yt(K.META,_i.priority,bi)+" "+yt(K.LINK,li.priority,bi)+" "+yt(K.SCRIPT,Ki.priority,bi)}},metaTags:_i.default,linkTags:li.default,scriptTags:Ki.default}}(Rt);Ln=Vn.priorityMethods,_r=Vn.linkTags,qr=Vn.metaTags,ln=Vn.scriptTags}return{priority:Ln,base:yt(K.BASE,mt,$t),bodyAttributes:yt("bodyAttributes",gt,$t),htmlAttributes:yt("htmlAttributes",Er,$t),link:yt(K.LINK,_r,$t),meta:yt(K.META,qr,$t),noscript:yt(K.NOSCRIPT,vr,$t),script:yt(K.SCRIPT,ln,$t),style:yt(K.STYLE,ot,$t),title:yt(K.TITLE,{title:dn,titleAttributes:jn},$t)}},rr=[],Yt=function(Rt,mt){var gt=this;mt===void 0&&(mt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function($t){gt.context.helmet=$t},helmetInstances:{get:function(){return gt.canUseDOM?rr:gt.instances},add:function($t){(gt.canUseDOM?rr:gt.instances).push($t)},remove:function($t){var Er=(gt.canUseDOM?rr:gt.instances).indexOf($t);(gt.canUseDOM?rr:gt.instances).splice(Er,1)}}},this.context=Rt,this.canUseDOM=mt,mt||(Rt.helmet=It({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},lr=x.createContext({}),Ve=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),Ct=typeof document!="undefined",Ut=function(Rt){function mt(gt){var $t;return($t=Rt.call(this,gt)||this).helmetData=new Yt($t.props.context,mt.canUseDOM),$t}return M(mt,Rt),mt.prototype.render=function(){return x.createElement(lr.Provider,{value:this.helmetData.value},this.props.children)},mt}(x.Component);Ut.canUseDOM=Ct,Ut.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Ut.defaultProps={context:{}},Ut.displayName="HelmetProvider";var st=function(Rt,mt){var gt,$t=document.head||document.querySelector(K.HEAD),Er=$t.querySelectorAll(Rt+"[data-rh]"),vr=[].slice.call(Er),ot=[];return mt&&mt.length&&mt.forEach(function(Mr){var dn=document.createElement(Rt);for(var jn in Mr)Object.prototype.hasOwnProperty.call(Mr,jn)&&(jn==="innerHTML"?dn.innerHTML=Mr.innerHTML:jn==="cssText"?dn.styleSheet?dn.styleSheet.cssText=Mr.cssText:dn.appendChild(document.createTextNode(Mr.cssText)):dn.setAttribute(jn,Mr[jn]===void 0?"":Mr[jn]));dn.setAttribute("data-rh","true"),vr.some(function(_r,qr){return gt=qr,dn.isEqualNode(_r)})?vr.splice(gt,1):ot.push(dn)}),vr.forEach(function(Mr){return Mr.parentNode.removeChild(Mr)}),ot.forEach(function(Mr){return $t.appendChild(Mr)}),{oldTags:vr,newTags:ot}},xt=function(Rt,mt){var gt=document.getElementsByTagName(Rt)[0];if(gt){for(var $t=gt.getAttribute("data-rh"),Er=$t?$t.split(","):[],vr=[].concat(Er),ot=Object.keys(mt),Mr=0;Mr<ot.length;Mr+=1){var dn=ot[Mr],jn=mt[dn]||"";gt.getAttribute(dn)!==jn&&gt.setAttribute(dn,jn),Er.indexOf(dn)===-1&&Er.push(dn);var _r=vr.indexOf(dn);_r!==-1&&vr.splice(_r,1)}for(var qr=vr.length-1;qr>=0;qr-=1)gt.removeAttribute(vr[qr]);Er.length===vr.length?gt.removeAttribute("data-rh"):gt.getAttribute("data-rh")!==ot.join(",")&&gt.setAttribute("data-rh",ot.join(","))}},ht=function(Rt,mt){var gt=Rt.baseTag,$t=Rt.htmlAttributes,Er=Rt.linkTags,vr=Rt.metaTags,ot=Rt.noscriptTags,Mr=Rt.onChangeClientState,dn=Rt.scriptTags,jn=Rt.styleTags,_r=Rt.title,qr=Rt.titleAttributes;xt(K.BODY,Rt.bodyAttributes),xt(K.HTML,$t),function(Bn,Ui){Bn!==void 0&&document.title!==Bn&&(document.title=$(Bn)),xt(K.TITLE,Ui)}(_r,qr);var ln={baseTag:st(K.BASE,gt),linkTags:st(K.LINK,Er),metaTags:st(K.META,vr),noscriptTags:st(K.NOSCRIPT,ot),scriptTags:st(K.SCRIPT,dn),styleTags:st(K.STYLE,jn)},Ln={},Vn={};Object.keys(ln).forEach(function(Bn){var Ui=ln[Bn],pi=Ui.newTags,bi=Ui.oldTags;pi.length&&(Ln[Bn]=pi),bi.length&&(Vn[Bn]=ln[Bn].oldTags)}),mt&&mt(),Mr(Rt,Ln,Vn)},rt=null,Ue=function(Rt){function mt(){for(var $t,Er=arguments.length,vr=new Array(Er),ot=0;ot<Er;ot++)vr[ot]=arguments[ot];return($t=Rt.call.apply(Rt,[this].concat(vr))||this).rendered=!1,$t}M(mt,Rt);var gt=mt.prototype;return gt.shouldComponentUpdate=function($t){return!T()($t,this.props)},gt.componentDidUpdate=function(){this.emitChange()},gt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},gt.emitChange=function(){var $t,Er,vr=this.props.context,ot=vr.setHelmet,Mr=null,dn=($t=vr.helmetInstances.get().map(function(jn){var _r=D({},jn.props);return delete _r.context,_r}),{baseTag:X(["href"],$t),bodyAttributes:ee("bodyAttributes",$t),defer:J($t,"defer"),encode:J($t,"encodeSpecialCharacters"),htmlAttributes:ee("htmlAttributes",$t),linkTags:ce(K.LINK,["rel","href"],$t),metaTags:ce(K.META,["name","charset","http-equiv","property","itemprop"],$t),noscriptTags:ce(K.NOSCRIPT,["innerHTML"],$t),onChangeClientState:ue($t),scriptTags:ce(K.SCRIPT,["src","innerHTML"],$t),styleTags:ce(K.STYLE,["cssText"],$t),title:V($t),titleAttributes:ee("titleAttributes",$t),prioritizeSeoTags:z($t,"prioritizeSeoTags")});Ut.canUseDOM?(Er=dn,rt&&cancelAnimationFrame(rt),Er.defer?rt=requestAnimationFrame(function(){ht(Er,function(){rt=null})}):(ht(Er),rt=null)):It&&(Mr=It(dn)),ot(Mr)},gt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},gt.render=function(){return this.init(),null},mt}(x.Component);Ue.propTypes={context:Ve.isRequired},Ue.displayName="HelmetDispatcher";var ye=["children"],Ce=["children"],Fe=function(Rt){function mt(){return Rt.apply(this,arguments)||this}M(mt,Rt);var gt=mt.prototype;return gt.shouldComponentUpdate=function($t){return!b()(_e(this.props,"helmetData"),_e($t,"helmetData"))},gt.mapNestedChildrenToProps=function($t,Er){if(!Er)return null;switch($t.type){case K.SCRIPT:case K.NOSCRIPT:return{innerHTML:Er};case K.STYLE:return{cssText:Er};default:throw new Error("<"+$t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},gt.flattenArrayTypeChildren=function($t){var Er,vr=$t.child,ot=$t.arrayTypeChildren;return D({},ot,((Er={})[vr.type]=[].concat(ot[vr.type]||[],[D({},$t.newChildProps,this.mapNestedChildrenToProps(vr,$t.nestedChildren))]),Er))},gt.mapObjectTypeChildren=function($t){var Er,vr,ot=$t.child,Mr=$t.newProps,dn=$t.newChildProps,jn=$t.nestedChildren;switch(ot.type){case K.TITLE:return D({},Mr,((Er={})[ot.type]=jn,Er.titleAttributes=D({},dn),Er));case K.BODY:return D({},Mr,{bodyAttributes:D({},dn)});case K.HTML:return D({},Mr,{htmlAttributes:D({},dn)});default:return D({},Mr,((vr={})[ot.type]=D({},dn),vr))}},gt.mapArrayTypeChildrenToProps=function($t,Er){var vr=D({},Er);return Object.keys($t).forEach(function(ot){var Mr;vr=D({},vr,((Mr={})[ot]=$t[ot],Mr))}),vr},gt.warnOnInvalidChildren=function($t,Er){return k()(ae.some(function(vr){return $t.type===vr}),typeof $t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ae.join(", ")+" are allowed. Helmet does not support rendering <"+$t.type+"> elements. Refer to our API for more information."),k()(!Er||typeof Er=="string"||Array.isArray(Er)&&!Er.some(function(vr){return typeof vr!="string"}),"Helmet expects a string as a child of <"+$t.type+">. Did you forget to wrap your children in braces? ( <"+$t.type+">{``}</"+$t.type+"> ) Refer to our API for more information."),!0},gt.mapChildrenToProps=function($t,Er){var vr=this,ot={};return x.Children.forEach($t,function(Mr){if(Mr&&Mr.props){var dn=Mr.props,jn=dn.children,_r=N(dn,ye),qr=Object.keys(_r).reduce(function(Ln,Vn){return Ln[Q[Vn]||Vn]=_r[Vn],Ln},{}),ln=Mr.type;switch(typeof ln=="symbol"?ln=ln.toString():vr.warnOnInvalidChildren(Mr,jn),ln){case K.FRAGMENT:Er=vr.mapChildrenToProps(jn,Er);break;case K.LINK:case K.META:case K.NOSCRIPT:case K.SCRIPT:case K.STYLE:ot=vr.flattenArrayTypeChildren({child:Mr,arrayTypeChildren:ot,newChildProps:qr,nestedChildren:jn});break;default:Er=vr.mapObjectTypeChildren({child:Mr,newProps:Er,newChildProps:qr,nestedChildren:jn})}}}),this.mapArrayTypeChildrenToProps(ot,Er)},gt.render=function(){var $t=this.props,Er=$t.children,vr=N($t,Ce),ot=D({},vr),Mr=vr.helmetData;return Er&&(ot=this.mapChildrenToProps(Er,ot)),!Mr||Mr instanceof Yt||(Mr=new Yt(Mr.context,Mr.instances)),Mr?x.createElement(Ue,D({},ot,{context:Mr.value,helmetData:void 0})):x.createElement(lr.Consumer,null,function(dn){return x.createElement(Ue,D({},ot,{context:dn}))})},mt}(x.Component);Fe.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},Fe.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Fe.displayName="Helmet";const je={},Ge=Rt=>x.createElement(Ut,{context:je},Rt);var it=e(92736),ct=e(25690),Gt=e(36237),Ht=e(61337),Pe=e(28440),tt=e.n(Pe),Vt=Object.defineProperty,kt=Object.getOwnPropertySymbols,Zt=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,At=(Rt,mt,gt)=>mt in Rt?Vt(Rt,mt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Rt[mt]=gt,qt=(Rt,mt)=>{for(var gt in mt||(mt={}))Zt.call(mt,gt)&&At(Rt,gt,mt[gt]);if(kt)for(var gt of kt(mt))Nt.call(mt,gt)&&At(Rt,gt,mt[gt]);return Rt},Ke=(Rt,mt)=>{var gt={};for(var $t in Rt)Zt.call(Rt,$t)&&mt.indexOf($t)<0&&(gt[$t]=Rt[$t]);if(Rt!=null&&kt)for(var $t of kt(Rt))mt.indexOf($t)<0&&Nt.call(Rt,$t)&&(gt[$t]=Rt[$t]);return gt};let fe=null;const pe=()=>(fe||(fe=sr().applyPlugins({key:"antd",type:ct.ApplyPluginsType.modify,initialValue:qt({},{componentSize:"middle"})})),fe);function Dt({children:Rt}){let mt=Rt;const[gt,$t]=x.useState(()=>{const vr=pe(),{appConfig:ot}=vr;return Ke(vr,["appConfig"])}),Er=vr=>{$t(ot=>tt()({},ot,typeof vr=="function"?vr(ot):vr))};return gt.prefixCls&&it.ZP.config({prefixCls:gt.prefixCls}),gt.iconPrefixCls&&it.ZP.config({iconPrefixCls:gt.iconPrefixCls}),gt.theme&&it.ZP.config({theme:gt.theme}),mt=x.createElement(it.ZP,qt({},gt),mt),mt=x.createElement(Gt.StyleProvider,{hashPriority:"high"},mt),mt=x.createElement(Ht.C.Provider,{value:Er},x.createElement(Ht.S.Provider,{value:gt},mt)),mt}function De(Rt){return x.createElement(Dt,null,Rt)}var ft=e(51061);function zt(Rt,mt){return x.createElement(ft.j,mt,Rt)}var Et=e(65517),Re=e(18956),wt=e(81863),xe=Object.defineProperty,qe=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,Be=(Rt,mt,gt)=>mt in Rt?xe(Rt,mt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Rt[mt]=gt,Pr=(Rt,mt)=>{for(var gt in mt||(mt={}))vt.call(mt,gt)&&Be(Rt,gt,mt[gt]);if(qe)for(var gt of qe(mt))Ft.call(mt,gt)&&Be(Rt,gt,mt[gt]);return Rt};function St(){var Rt,mt;const gt=getLocale();(Rt=moment)!=null&&Rt.locale&&moment.locale(((mt=localeInfo[gt])==null?void 0:mt.momentLocale)||"zh-cn"),setIntl(gt)}const Zr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Vr=Rt=>{var mt;const gt=(0,Re.Kd)(),[$t,Er]=x.useState(gt),[vr,ot]=x.useState(()=>(0,Re.lw)($t,!0)),Mr=_r=>{var qr,ln;(qr=u())!=null&&qr.locale&&u().locale(((ln=Re.H8[_r])==null?void 0:ln.momentLocale)||"en"),Er(_r),ot((0,Re.lw)(_r))};Zr(()=>(Re.B.on(Re.PZ,Mr),()=>{Re.B.off(Re.PZ,Mr)}),[]);const dn=Pr({},wt.Z),jn=(0,Re.Mg)();return x.createElement(it.ZP,{direction:jn,locale:((mt=Re.H8[$t])==null?void 0:mt.antd)||dn},x.createElement(Re.eU,{value:vr},Rt.children))};function xr(Rt){return x.createElement(Vr,null,Rt)}function Br(Rt){return Rt.default?typeof Rt.default=="function"?Rt.default():Rt.default:Rt}function pr(){return[{apply:Br(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 $r(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let en=null;function an(){return en=ct.PluginManager.create({plugins:pr(),validKeys:$r()}),en}function sr(){return en}},25690:function(d,v,e){"use strict";e.d(v,{ApplyPluginsType:function(){return Ct},Link:function(){return J},Outlet:function(){return V.j3},PluginManager:function(){return Ut},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return st.m8},useAppData:function(){return W.Ov},useDispatch:function(){return f.I0},useLocation:function(){return V.TH},useOutletContext:function(){return V.bx},useParams:function(){return V.UO},useSearchParams:function(){return G.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(61337);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(2339),o=e(51061),h=e(18956),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(Ge,it,ct)=>it in Ge?u(Ge,it,{enumerable:!0,configurable:!0,writable:!0,value:ct}):Ge[it]=ct,A=(Ge,it)=>{for(var ct in it||(it={}))y.call(it,ct)&&b(Ge,ct,it[ct]);if(p)for(var ct of p(it))_.call(it,ct)&&b(Ge,ct,it[ct]);return Ge},k=(Ge,it)=>a(Ge,x(it)),L=(Ge,it)=>{var ct={};for(var Gt in Ge)y.call(Ge,Gt)&&it.indexOf(Gt)<0&&(ct[Gt]=Ge[Gt]);if(Ge!=null&&p)for(var Gt of p(Ge))it.indexOf(Gt)<0&&_.call(Ge,Gt)&&(ct[Gt]=Ge[Gt]);return ct};const T=Ge=>{var it=Ge,{overlayClassName:ct}=it,Gt=L(it,["overlayClassName"]);return React.createElement(Dropdown,A({overlayClassName:ct},Gt))},D=Ge=>Ge.reduce((it,ct)=>ct.lang?k(A({},it),{[ct.lang]:ct}):it,{}),M={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},B=Ge=>React.createElement(React.Fragment,null);var N=e(38329),K=e(38127),G=e(32451),W=e(91231),ne=e(87296);function ae(Ge,it){var ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Ht=r.useRef(typeof IntersectionObserver=="function"),Pe=r.useRef(null);return r.useEffect(function(){if(!(!Ge.current||!Ht.current||Gt.disabled))return Pe.current=new IntersectionObserver(function(tt){var Vt=(0,ne.Z)(tt,1),kt=Vt[0];it(kt)},ct),Pe.current.observe(Ge.current),function(){var tt;(tt=Pe.current)===null||tt===void 0||tt.disconnect()}},[it,ct,Gt.disabled,Ge]),Pe.current}var le=["prefetch"];function Q(Ge){var it=r.useRef(null);return r.useEffect(function(){Ge&&(typeof Ge=="function"?Ge(it.current):Ge.current=it.current)}),it}var J=r.forwardRef(function(Ge,it){var ct,Gt=Ge.prefetch,Ht=(0,K.Z)(Ge,le),Pe=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},tt=Pe.defaultPrefetch,Vt=Pe.defaultPrefetchTimeout,kt=(Gt===!0?"intent":Gt===!1?"none":Gt)||tt;if(!["intent","render","viewport","none"].includes(kt))throw new Error("Invalid prefetch value ".concat(kt," found in Link component"));var Zt=(0,W.Ov)(),Nt=typeof Ge.to=="string"?Ge.to:(ct=Ge.to)===null||ct===void 0?void 0:ct.pathname,At=r.useRef(!1),qt=Q(it),Ke=function(Dt){if(kt==="intent"){var De=Dt.target||{};De.preloadTimeout||(De.preloadTimeout=setTimeout(function(){var ft;De.preloadTimeout=null,(ft=Zt.preloadRoute)===null||ft===void 0||ft.call(Zt,Nt)},Ge.prefetchTimeout||Vt))}},fe=function(Dt){if(kt==="intent"){var De=Dt.target||{};De.preloadTimeout&&(clearTimeout(De.preloadTimeout),De.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(kt==="render"&&!At.current){var pe;(pe=Zt.preloadRoute)===null||pe===void 0||pe.call(Zt,Nt),At.current=!0}},[kt,Nt]),ae(qt,function(pe){if(pe!=null&&pe.isIntersecting){var Dt;(Dt=Zt.preloadRoute)===null||Dt===void 0||Dt.call(Zt,Nt)}},{rootMargin:"100px"},{disabled:kt!=="viewport"}),Nt?r.createElement(G.rU,(0,N.Z)({onMouseEnter:Ke,onMouseLeave:fe,ref:qt},Ht),Ge.children):null}),V=e(35338),ue=e(8616);function ee(){"use strict";ee=function(){return it};var Ge,it={},ct=Object.prototype,Gt=ct.hasOwnProperty,Ht=Object.defineProperty||function(xr,Br,pr){xr[Br]=pr.value},Pe=typeof Symbol=="function"?Symbol:{},tt=Pe.iterator||"@@iterator",Vt=Pe.asyncIterator||"@@asyncIterator",kt=Pe.toStringTag||"@@toStringTag";function Zt(xr,Br,pr){return Object.defineProperty(xr,Br,{value:pr,enumerable:!0,configurable:!0,writable:!0}),xr[Br]}try{Zt({},"")}catch(xr){Zt=function(pr,$r,en){return pr[$r]=en}}function Nt(xr,Br,pr,$r){var en=Br&&Br.prototype instanceof De?Br:De,an=Object.create(en.prototype),sr=new Zr($r||[]);return Ht(an,"_invoke",{value:Ft(xr,pr,sr)}),an}function At(xr,Br,pr){try{return{type:"normal",arg:xr.call(Br,pr)}}catch($r){return{type:"throw",arg:$r}}}it.wrap=Nt;var qt="suspendedStart",Ke="suspendedYield",fe="executing",pe="completed",Dt={};function De(){}function ft(){}function zt(){}var Et={};Zt(Et,tt,function(){return this});var Re=Object.getPrototypeOf,wt=Re&&Re(Re(Vr([])));wt&&wt!==ct&&Gt.call(wt,tt)&&(Et=wt);var xe=zt.prototype=De.prototype=Object.create(Et);function qe(xr){["next","throw","return"].forEach(function(Br){Zt(xr,Br,function(pr){return this._invoke(Br,pr)})})}function vt(xr,Br){function pr(en,an,sr,Rt){var mt=At(xr[en],xr,an);if(mt.type!=="throw"){var gt=mt.arg,$t=gt.value;return $t&&(0,ue.Z)($t)=="object"&&Gt.call($t,"__await")?Br.resolve($t.__await).then(function(Er){pr("next",Er,sr,Rt)},function(Er){pr("throw",Er,sr,Rt)}):Br.resolve($t).then(function(Er){gt.value=Er,sr(gt)},function(Er){return pr("throw",Er,sr,Rt)})}Rt(mt.arg)}var $r;Ht(this,"_invoke",{value:function(an,sr){function Rt(){return new Br(function(mt,gt){pr(an,sr,mt,gt)})}return $r=$r?$r.then(Rt,Rt):Rt()}})}function Ft(xr,Br,pr){var $r=qt;return function(en,an){if($r===fe)throw new Error("Generator is already running");if($r===pe){if(en==="throw")throw an;return{value:Ge,done:!0}}for(pr.method=en,pr.arg=an;;){var sr=pr.delegate;if(sr){var Rt=Be(sr,pr);if(Rt){if(Rt===Dt)continue;return Rt}}if(pr.method==="next")pr.sent=pr._sent=pr.arg;else if(pr.method==="throw"){if($r===qt)throw $r=pe,pr.arg;pr.dispatchException(pr.arg)}else pr.method==="return"&&pr.abrupt("return",pr.arg);$r=fe;var mt=At(xr,Br,pr);if(mt.type==="normal"){if($r=pr.done?pe:Ke,mt.arg===Dt)continue;return{value:mt.arg,done:pr.done}}mt.type==="throw"&&($r=pe,pr.method="throw",pr.arg=mt.arg)}}}function Be(xr,Br){var pr=Br.method,$r=xr.iterator[pr];if($r===Ge)return Br.delegate=null,pr==="throw"&&xr.iterator.return&&(Br.method="return",Br.arg=Ge,Be(xr,Br),Br.method==="throw")||pr!=="return"&&(Br.method="throw",Br.arg=new TypeError("The iterator does not provide a '"+pr+"' method")),Dt;var en=At($r,xr.iterator,Br.arg);if(en.type==="throw")return Br.method="throw",Br.arg=en.arg,Br.delegate=null,Dt;var an=en.arg;return an?an.done?(Br[xr.resultName]=an.value,Br.next=xr.nextLoc,Br.method!=="return"&&(Br.method="next",Br.arg=Ge),Br.delegate=null,Dt):an:(Br.method="throw",Br.arg=new TypeError("iterator result is not an object"),Br.delegate=null,Dt)}function Pr(xr){var Br={tryLoc:xr[0]};1 in xr&&(Br.catchLoc=xr[1]),2 in xr&&(Br.finallyLoc=xr[2],Br.afterLoc=xr[3]),this.tryEntries.push(Br)}function St(xr){var Br=xr.completion||{};Br.type="normal",delete Br.arg,xr.completion=Br}function Zr(xr){this.tryEntries=[{tryLoc:"root"}],xr.forEach(Pr,this),this.reset(!0)}function Vr(xr){if(xr||xr===""){var Br=xr[tt];if(Br)return Br.call(xr);if(typeof xr.next=="function")return xr;if(!isNaN(xr.length)){var pr=-1,$r=function en(){for(;++pr<xr.length;)if(Gt.call(xr,pr))return en.value=xr[pr],en.done=!1,en;return en.value=Ge,en.done=!0,en};return $r.next=$r}}throw new TypeError((0,ue.Z)(xr)+" is not iterable")}return ft.prototype=zt,Ht(xe,"constructor",{value:zt,configurable:!0}),Ht(zt,"constructor",{value:ft,configurable:!0}),ft.displayName=Zt(zt,kt,"GeneratorFunction"),it.isGeneratorFunction=function(xr){var Br=typeof xr=="function"&&xr.constructor;return!!Br&&(Br===ft||(Br.displayName||Br.name)==="GeneratorFunction")},it.mark=function(xr){return Object.setPrototypeOf?Object.setPrototypeOf(xr,zt):(xr.__proto__=zt,Zt(xr,kt,"GeneratorFunction")),xr.prototype=Object.create(xe),xr},it.awrap=function(xr){return{__await:xr}},qe(vt.prototype),Zt(vt.prototype,Vt,function(){return this}),it.AsyncIterator=vt,it.async=function(xr,Br,pr,$r,en){en===void 0&&(en=Promise);var an=new vt(Nt(xr,Br,pr,$r),en);return it.isGeneratorFunction(Br)?an:an.next().then(function(sr){return sr.done?sr.value:an.next()})},qe(xe),Zt(xe,kt,"Generator"),Zt(xe,tt,function(){return this}),Zt(xe,"toString",function(){return"[object Generator]"}),it.keys=function(xr){var Br=Object(xr),pr=[];for(var $r in Br)pr.push($r);return pr.reverse(),function en(){for(;pr.length;){var an=pr.pop();if(an in Br)return en.value=an,en.done=!1,en}return en.done=!0,en}},it.values=Vr,Zr.prototype={constructor:Zr,reset:function(Br){if(this.prev=0,this.next=0,this.sent=this._sent=Ge,this.done=!1,this.delegate=null,this.method="next",this.arg=Ge,this.tryEntries.forEach(St),!Br)for(var pr in this)pr.charAt(0)==="t"&&Gt.call(this,pr)&&!isNaN(+pr.slice(1))&&(this[pr]=Ge)},stop:function(){this.done=!0;var Br=this.tryEntries[0].completion;if(Br.type==="throw")throw Br.arg;return this.rval},dispatchException:function(Br){if(this.done)throw Br;var pr=this;function $r(gt,$t){return sr.type="throw",sr.arg=Br,pr.next=gt,$t&&(pr.method="next",pr.arg=Ge),!!$t}for(var en=this.tryEntries.length-1;en>=0;--en){var an=this.tryEntries[en],sr=an.completion;if(an.tryLoc==="root")return $r("end");if(an.tryLoc<=this.prev){var Rt=Gt.call(an,"catchLoc"),mt=Gt.call(an,"finallyLoc");if(Rt&&mt){if(this.prev<an.catchLoc)return $r(an.catchLoc,!0);if(this.prev<an.finallyLoc)return $r(an.finallyLoc)}else if(Rt){if(this.prev<an.catchLoc)return $r(an.catchLoc,!0)}else{if(!mt)throw new Error("try statement without catch or finally");if(this.prev<an.finallyLoc)return $r(an.finallyLoc)}}}},abrupt:function(Br,pr){for(var $r=this.tryEntries.length-1;$r>=0;--$r){var en=this.tryEntries[$r];if(en.tryLoc<=this.prev&&Gt.call(en,"finallyLoc")&&this.prev<en.finallyLoc){var an=en;break}}an&&(Br==="break"||Br==="continue")&&an.tryLoc<=pr&&pr<=an.finallyLoc&&(an=null);var sr=an?an.completion:{};return sr.type=Br,sr.arg=pr,an?(this.method="next",this.next=an.finallyLoc,Dt):this.complete(sr)},complete:function(Br,pr){if(Br.type==="throw")throw Br.arg;return Br.type==="break"||Br.type==="continue"?this.next=Br.arg:Br.type==="return"?(this.rval=this.arg=Br.arg,this.method="return",this.next="end"):Br.type==="normal"&&pr&&(this.next=pr),Dt},finish:function(Br){for(var pr=this.tryEntries.length-1;pr>=0;--pr){var $r=this.tryEntries[pr];if($r.finallyLoc===Br)return this.complete($r.completion,$r.afterLoc),St($r),Dt}},catch:function(Br){for(var pr=this.tryEntries.length-1;pr>=0;--pr){var $r=this.tryEntries[pr];if($r.tryLoc===Br){var en=$r.completion;if(en.type==="throw"){var an=en.arg;St($r)}return an}}throw new Error("illegal catch attempt")},delegateYield:function(Br,pr,$r){return this.delegate={iterator:Vr(Br),resultName:pr,nextLoc:$r},this.method==="next"&&(this.arg=Ge),Dt}},it}var X=e(63579);function ce(Ge,it,ct,Gt,Ht,Pe,tt){try{var Vt=Ge[Pe](tt),kt=Vt.value}catch(Zt){ct(Zt);return}Vt.done?it(kt):Promise.resolve(kt).then(Gt,Ht)}function z(Ge){return function(){var it=this,ct=arguments;return new Promise(function(Gt,Ht){var Pe=Ge.apply(it,ct);function tt(kt){ce(Pe,Gt,Ht,tt,Vt,"next",kt)}function Vt(kt){ce(Pe,Gt,Ht,tt,Vt,"throw",kt)}tt(void 0)})}}var $=e(99227);function se(Ge,it){var ct=typeof Symbol!="undefined"&&Ge[Symbol.iterator]||Ge["@@iterator"];if(!ct){if(Array.isArray(Ge)||(ct=(0,$.Z)(Ge))||it&&Ge&&typeof Ge.length=="number"){ct&&(Ge=ct);var Gt=0,Ht=function(){};return{s:Ht,n:function(){return Gt>=Ge.length?{done:!0}:{done:!1,value:Ge[Gt++]}},e:function(Zt){throw Zt},f:Ht}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Pe=!0,tt=!1,Vt;return{s:function(){ct=ct.call(Ge)},n:function(){var Zt=ct.next();return Pe=Zt.done,Zt},e:function(Zt){tt=!0,Vt=Zt},f:function(){try{!Pe&&ct.return!=null&&ct.return()}finally{if(tt)throw Vt}}}}var _e=e(73825);function Oe(Ge){if(typeof Symbol!="undefined"&&Ge[Symbol.iterator]!=null||Ge["@@iterator"]!=null)return Array.from(Ge)}var Le=e(66160);function He(Ge){return(0,_e.Z)(Ge)||Oe(Ge)||(0,$.Z)(Ge)||(0,Le.Z)()}function $e(Ge,it){if(!(Ge instanceof it))throw new TypeError("Cannot call a class as a function")}var Bt=e(89878);function yt(Ge,it){for(var ct=0;ct<it.length;ct++){var Gt=it[ct];Gt.enumerable=Gt.enumerable||!1,Gt.configurable=!0,"value"in Gt&&(Gt.writable=!0),Object.defineProperty(Ge,(0,Bt.Z)(Gt.key),Gt)}}function It(Ge,it,ct){return it&&yt(Ge.prototype,it),ct&&yt(Ge,ct),Object.defineProperty(Ge,"prototype",{writable:!1}),Ge}var rr=e(65873);function Yt(Ge,it){if(!Ge)throw new Error(it)}function lr(Ge){var it=Ge.fns,ct=Ge.args;if(it.length===1)return it[0];var Gt=it.pop();return it.reduce(function(Ht,Pe){return function(){return Pe(Ht,ct)}},Gt)}function Ve(Ge){return!!Ge&&(0,ue.Z)(Ge)==="object"&&typeof Ge.then=="function"}var Ct=function(Ge){return Ge.compose="compose",Ge.modify="modify",Ge.event="event",Ge}({}),Ut=function(){function Ge(it){$e(this,Ge),(0,rr.Z)(this,"opts",void 0),(0,rr.Z)(this,"hooks",{}),this.opts=it}return It(Ge,[{key:"register",value:function(ct){var Gt=this;Yt(ct.apply,"plugin register failed, apply must supplied"),Object.keys(ct.apply).forEach(function(Ht){Yt(Gt.opts.validKeys.indexOf(Ht)>-1,"register failed, invalid key ".concat(Ht," ").concat(ct.path?"from plugin ".concat(ct.path):"",".")),Gt.hooks[Ht]=(Gt.hooks[Ht]||[]).concat(ct.apply[Ht])})}},{key:"getHooks",value:function(ct){var Gt=ct.split("."),Ht=He(Gt),Pe=Ht[0],tt=Ht.slice(1),Vt=this.hooks[Pe]||[];return tt.length&&(Vt=Vt.map(function(kt){try{var Zt=kt,Nt=se(tt),At;try{for(Nt.s();!(At=Nt.n()).done;){var qt=At.value;Zt=Zt[qt]}}catch(Ke){Nt.e(Ke)}finally{Nt.f()}return Zt}catch(Ke){return null}}).filter(Boolean)),Vt}},{key:"applyPlugins",value:function(ct){var Gt=ct.key,Ht=ct.type,Pe=ct.initialValue,tt=ct.args,Vt=ct.async,kt=this.getHooks(Gt)||[];switch(tt&&Yt((0,ue.Z)(tt)==="object","applyPlugins failed, args must be plain object."),Vt&&Yt(Ht===Ct.modify||Ht===Ct.event,"async only works with modify and event type."),Ht){case Ct.modify:return Vt?kt.reduce(function(){var Zt=z(ee().mark(function Nt(At,qt){var Ke;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Yt(typeof qt=="function"||(0,ue.Z)(qt)==="object"||Ve(qt),"applyPlugins failed, all hooks for key ".concat(Gt," must be function, plain object or Promise.")),!Ve(At)){pe.next=5;break}return pe.next=4,At;case 4:At=pe.sent;case 5:if(typeof qt!="function"){pe.next=16;break}if(Ke=qt(At,tt),!Ve(Ke)){pe.next=13;break}return pe.next=10,Ke;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",Ke);case 14:pe.next=21;break;case 16:if(!Ve(qt)){pe.next=20;break}return pe.next=19,qt;case 19:qt=pe.sent;case 20:return pe.abrupt("return",(0,X.Z)((0,X.Z)({},At),qt));case 21:case"end":return pe.stop()}},Nt)}));return function(Nt,At){return Zt.apply(this,arguments)}}(),Ve(Pe)?Pe:Promise.resolve(Pe)):kt.reduce(function(Zt,Nt){return Yt(typeof Nt=="function"||(0,ue.Z)(Nt)==="object","applyPlugins failed, all hooks for key ".concat(Gt," must be function or plain object.")),typeof Nt=="function"?Nt(Zt,tt):(0,X.Z)((0,X.Z)({},Zt),Nt)},Pe);case Ct.event:return z(ee().mark(function Zt(){var Nt,At,qt,Ke;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:Nt=se(kt),pe.prev=1,Nt.s();case 3:if((At=Nt.n()).done){pe.next=12;break}if(qt=At.value,Yt(typeof qt=="function","applyPlugins failed, all hooks for key ".concat(Gt," must be function.")),Ke=qt(tt),!(Vt&&Ve(Ke))){pe.next=10;break}return pe.next=10,Ke;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),Nt.e(pe.t0);case 17:return pe.prev=17,Nt.f(),pe.finish(17);case 20:case"end":return pe.stop()}},Zt,null,[[1,14,17,20]])}))();case Ct.compose:return function(){return lr({fns:kt.concat(Pe),args:tt})()}}}}],[{key:"create",value:function(ct){var Gt=new Ge({validKeys:ct.validKeys});return ct.plugins.forEach(function(Ht){Gt.register(Ht)}),Gt}}]),Ge}(),st=e(58293);let xt=0,ht=0;function rt(Ge,it){}function Ue(Ge){return JSON.stringify(Ge,null,2)}function ye(Ge){const it=Ge.length>1?Ge.map(Ce).join(" "):Ge[0];return typeof it=="object"?`${Ue(it)}`:it.toString()}function Ce(Ge){return typeof Ge=="object"?`${JSON.stringify(Ge)}`:Ge.toString()}const Fe={log(...Ge){ye(Ge)},info(...Ge){ye(Ge)},warn(...Ge){ye(Ge)},error(...Ge){ye(Ge)},group(){ht++},groupCollapsed(){ht++},groupEnd(){ht&&--ht},clear(){},trace(...Ge){console.trace(...Ge)},profile(...Ge){console.profile(...Ge)},profileEnd(...Ge){console.profileEnd(...Ge)}},je=()=>{}},61337:function(d,v,e){"use strict";e.d(v,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},51061:function(d,v,e){"use strict";e.d(v,{j:function(){return ti},Q:function(){return Ou}});var r=e(2339),i=e(89880),l=e.n(i),c=e(59301),f=e(25690),o=e(98750),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(I,O,R)=>O in I?h(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,y=(I,O)=>{for(var R in O||(O={}))a.call(O,R)&&p(I,R,O[R]);if(u)for(var R of u(O))x.call(O,R)&&p(I,R,O[R]);return I},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:I},{call:O,put:R}){return yield O(o.n1,I)},*appplySchool({payload:I},{call:O,put:R}){return yield O(o.bz,I)},*getSchoolOption({payload:I},{call:O,put:R}){return yield O(o.GY,I)},*getDepartmentOption({payload:I},{call:O,put:R}){return yield O(o.Ql,I)},*appplyDepartment({payload:I},{call:O,put:R}){return yield O(o.Zm,I)},*updateAccount({payload:I},{call:O,put:R}){return yield O(o.sG,I)},*cancelRealNameAuth({payload:I},{call:O,put:R}){return yield O(o.P,I)},*cancelProfessionalAuth({payload:I},{call:O,put:R}){return yield O(o.$f,I)},*applyProfessionalAuth({payload:I},{call:O,put:R}){return yield O(o.Ow,I)},*applyRealNameAuth({payload:I},{call:O,put:R}){return yield O(o.ht,I)},*getCode({payload:I},{call:O,put:R}){return yield O(o.Cq,I)},*bindPhone({payload:I},{call:O,put:R}){return yield O(o.eF,I)},*bindEmail({payload:I},{call:O,put:R}){return yield O(o.I8,I)},*updatePassword({payload:I},{call:O,put:R}){return yield O(o.gQ,I)},*unbindAccount({payload:I},{call:O,put:R}){return yield O(o.wi,I)},*getBasicInfo({payload:I},{call:O,put:R}){const ve=yield O(o.o9,I);return yield R({type:"save",payload:{basicInfo:y({},ve)}}),ve},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:y({},I)}})}},reducers:{save(I,O){return y(y({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},A=e(97402),k=Object.defineProperty,L=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,M=(I,O,R)=>O in I?k(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,B=(I,O)=>{for(var R in O||(O={}))T.call(O,R)&&M(I,R,O[R]);if(L)for(var R of L(O))D.call(O,R)&&M(I,R,O[R]);return I},K={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:I,callback:O},{call:R,put:ve}){return yield R(A.nZ,I)},*informUp({payload:I,callback:O},{call:R,put:ve}){return yield R(A.TO,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:B({},I)}})}},reducers:{save(I,O){return B(B({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},G=e(44203),W=Object.defineProperty,ne=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,Q=(I,O,R)=>O in I?W(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,J=(I,O)=>{for(var R in O||(O={}))ae.call(O,R)&&Q(I,R,O[R]);if(ne)for(var R of ne(O))le.call(O,R)&&Q(I,R,O[R]);return I},ue={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(G.SV,I);return yield ve({type:"save",payload:{allList:J({},ze)}}),ze},*mineAttachment({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(G.zI,I);return yield ve({type:"save",payload:{mineList:J({},ze)}}),ze},*fileImport({payload:I,callback:O},{call:R,put:ve}){return yield R(G.tO,I)},*getDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(G.Nm,I);return yield ve({type:"save",payload:{detail:J({},ze)}}),ze},*updateVisits({payload:I,callback:O},{call:R,put:ve}){return yield R(G.H,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:J({},I)}})}},reducers:{save(I,O){return J(J({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},ee=e(32967),X=Object.defineProperty,ce=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,se=(I,O,R)=>O in I?X(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,_e=(I,O)=>{for(var R in O||(O={}))z.call(O,R)&&se(I,R,O[R]);if(ce)for(var R of ce(O))$.call(O,R)&&se(I,R,O[R]);return I},Le={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(ee.yq,I);return yield ve({type:"save",payload:{boardsCategoryList:_e({},ze.data)}}),ze.data},*getBoardsDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(ee.dI,I);return yield ve({type:"save",payload:{boardsDetail:_e({},ze.data)}}),ze.data},*setTopping({payload:I,callback:O},{call:R,put:ve}){return yield R(ee.cc,I)},*escTopping({payload:I,callback:O},{call:R,put:ve}){return yield R(ee.CJ,I)},*getReplyList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(ee.PC,I);yield ve({type:"save",payload:{replyList:_e({},ze.data)}})},*createReply({payload:I,callback:O},{call:R,put:ve}){return yield R(ee.PP,I)},*replyLike({payload:I,callback:O},{call:R,put:ve}){return yield R(ee.NA,I)},*replyUnLike({payload:I,callback:O},{call:R,put:ve}){return yield R(ee.YQ,I)},*deleteReply({payload:I,callback:O},{call:R,put:ve}){return yield R(ee.Mf,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:_e({},I)}})}},reducers:{save(I,O){return _e(_e({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},He=e(81722),$e=Object.defineProperty,Bt=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,rr=(I,O,R)=>O in I?$e(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Yt=(I,O)=>{for(var R in O||(O={}))yt.call(O,R)&&rr(I,R,O[R]);if(Bt)for(var R of Bt(O))It.call(O,R)&&rr(I,R,O[R]);return I},Ve={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.$Q,I);return yield ve({type:"save",payload:{ScoreRangesData:ze==null?void 0:ze.data}}),ze},*getQuestionResult({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He._U,I);return yield ve({type:"save",payload:{NormalResult:ze}}),ze},*getUserExercise({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.xA,I);return yield ve({type:"save",payload:{userExerciseList:Yt({},(ze==null?void 0:ze.data)||{})}}),console.log("getUserExercise-res:",ze),ze==null?void 0:ze.data},*getExerciseIdentityPhotos({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.J,I);return yield ve({type:"save",payload:{exerciseIdentityPhotos:Yt({},(ze==null?void 0:ze.data)||{})}}),ze==null?void 0:ze.data},*getExerciseExportHeadData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.iw,I);return yield ve({type:"save",payload:{exerciseExportHeadData:Yt({},ze)}}),ze},*getExerciseUserInfo({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.Ty,I);return(ze==null?void 0:ze.status)===0&&(yield ve({type:"save",payload:Yt({},{exerciseUserInfo:Yt({},ze.data)})})),ze},*getExaminationIntelligentSettings({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.sA,I);return yield ve({type:"save",payload:{examinationIntelligentSettings:Yt({},ze)}}),ze},*getRandomEditExercises({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.yu,I);return yield ve({type:"save",payload:{editRandomExercises:Yt({},ze)}}),ze},*getExerciseList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.G$,I);if(ze!=null&&ze.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(ze.total_exercise_users)}catch(Jr){}return yield ve({type:"save",payload:{exerciseList:Yt({},ze)}}),yield ve({type:"save",payload:{order_type:I.order_type,order:I.order}}),ze},*getExerciseStatistics({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He._u,I);return yield ve({type:"save",payload:{statisticsList:Yt({},ze)}}),ze},*getBrankList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.n$,I);return yield ve({type:"save",payload:{brankList:Yt({},ze)}}),ze},*saveBanks({payload:I,callback:O},{call:R,put:ve}){return yield R(He.lf,I)},*getExerciseCourses({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.N3,I);return yield ve({type:"save",payload:{exerciseCoursesList:Yt({},ze)}}),ze},*addExercise({payload:I,callback:O},{call:R,put:ve}){return yield R(He.uR,I)},*editExercise({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.qf,I);return yield ve({type:"save",payload:{editData:Yt({},ze)}}),ze},*getTagDiscipline({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.YY,I);return yield ve({type:"save",payload:{tagDisciplineData:Yt({},ze)}}),ze},*editExerciseQuestion({payload:I,callback:O},{call:R,put:ve}){return yield R(He.Di,I)},*addExerciseQuestion({payload:I,callback:O},{call:R,put:ve}){return yield R(He.MK,I)},*exeriseMoveUpDown({payload:I,callback:O},{call:R,put:ve}){return yield R(He.GK,I)},*getEndGroups({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.KE,I);return yield ve({type:"save",payload:{endGroups:Yt({},ze)}}),ze},*getPublishGroups({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.ux,I);return yield ve({type:"save",payload:{publishGroups:Yt({},ze)}}),ze},*getCommonHeader({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.UK,I);return yield ve({type:"save",payload:{commonHeader:Yt({},ze)}}),ze},*getReviewExercise({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.BJ,I);return yield ve({type:"save",payload:{reviewExercise:Yt({},ze)}}),ze},*postReviewExercise({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.pu,I);return yield ve({type:"save",payload:{reviewExercise:Yt({},ze)}}),ze},*getCentralizeReviewExercise({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.X4,I);return yield ve({type:"save",payload:{reviewExercise:Yt({},ze)}}),ze},*clearData({payload:I,callback:O},{call:R,put:ve}){yield ve({type:"save",payload:{[I.key]:{}}})},*getReviewGroupExercise({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.W4,I);return yield ve({type:"save",payload:{reviewGroupExercise:Yt({},ze)}}),ze},*getWorkSetting({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.Ul,I);return yield ve({type:"save",payload:{workSetting:Yt({},ze)}}),ze},*getRedoModal({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.tX,I);return yield ve({type:"save",payload:{redoModal:Yt({},ze)}}),ze},*getRedoListModal({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.s,I);return yield ve({type:"save",payload:{redoModal:Yt({},ze)}}),ze},*getCodeReviewDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.Xn,I);return yield ve({type:"save",payload:{codeReviewDetail:Yt({},ze)}}),ze},*changeScore({payload:I,callback:O},{call:R,put:ve}){return yield R(He.gG,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Yt({},I)}})},*setUpdateIndex({payload:I},{call:O,put:R}){yield R({type:"save",payload:{updateIndex:I==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:I},{call:O,put:R}){yield R({type:"save",payload:{saveExerciseDownUsers:I}})}},reducers:{save(I,O){return Yt(Yt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Ct=e(24059),Ut=Object.defineProperty,st=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,rt=(I,O,R)=>O in I?Ut(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Ue=(I,O)=>{for(var R in O||(O={}))xt.call(O,R)&&rt(I,R,O[R]);if(st)for(var R of st(O))ht.call(O,R)&&rt(I,R,O[R]);return I},Ce={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ct.x_,I);return yield ve({type:"save",payload:{detailList:Ue({},ze)}}),ze},*getTasksListDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ct.QA,I);return yield ve({type:"save",payload:{detailTaskList:Ue({},ze)}}),ze},*getTopisDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ct.B6,I);return yield ve({type:"save",payload:{detail:Ue({},ze)}}),ze},*getTasksDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ct.y3,I);return yield ve({type:"save",payload:{tasksDetail:Ue({},ze)}}),ze},*refuseTopic({payload:I,callback:O},{call:R,put:ve}){return yield R(Ct.mM,I)},*agreeTopic({payload:I,callback:O},{call:R,put:ve}){return yield R(Ct.je,I)},*getReplyList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ct.PC,I);yield ve({type:"save",payload:{replyList:Ue({},ze)}})},*createReply({payload:I,callback:O},{call:R,put:ve}){return yield R(Ct.PP,I)},*replyLike({payload:I,callback:O},{call:R,put:ve}){return yield R(Ct.NA,I)},*replyUnLike({payload:I,callback:O},{call:R,put:ve}){return yield R(Ct.YQ,I)},*deleteReply({payload:I,callback:O},{call:R,put:ve}){return yield R(Ct.Mf,I)},*addTopicDefaultData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ct.y0,I);yield ve({type:"save",payload:{addTopicData:Ue({},ze)}})},*editTopicDefaultData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ct.hL,I);return yield ve({type:"save",payload:{editTopicData:Ue({},ze)}}),ze},*editTasksDefaultData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ct._n,I);return yield ve({type:"save",payload:{editTasksData:Ue({},ze)}}),ze},*addTopic({payload:I,callback:O},{call:R,put:ve}){return yield R(Ct.Gr,I)},*editTopic({payload:I,callback:O},{call:R,put:ve}){return yield R(Ct.wA,I)},*addTasks({payload:I,callback:O},{call:R,put:ve}){return yield R(Ct.Sv,I)},*editTasks({payload:I,callback:O},{call:R,put:ve}){return yield R(Ct.RP,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Ue({},I)}})}},reducers:{save(I,O){return Ue(Ue({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Fe=e(89392),je=e(1247),Ge=Object.defineProperty,it=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,Ht=(I,O,R)=>O in I?Ge(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Pe=(I,O)=>{for(var R in O||(O={}))ct.call(O,R)&&Ht(I,R,O[R]);if(it)for(var R of it(O))Gt.call(O,R)&&Ht(I,R,O[R]);return I},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:I,callback:O},{call:R,put:ve}){const ze=yield R(je.h$,I);try{sessionStorage.all_student_works=JSON.stringify(ze.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(Jr){}return yield ve({type:"save",payload:{workList:Pe({},ze)}}),ze},*getShixunWorkHeadInfo({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.fK,I);try{}catch(Jr){}return yield ve({type:"save",payload:{headerInfo:ze==null?void 0:ze.data}}),ze},*getShixunWorkList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.Z8,I);try{sessionStorage.all_student_works=JSON.stringify(ze.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(Jr){}return yield ve({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:I,callback:O},{call:R,put:ve}){const ze=yield R(je.RP,I);return yield ve({type:"save",payload:{codeReview:Pe({},ze)}}),ze},*getCodeReviewDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.Xn,I);return yield ve({type:"save",payload:{codeReviewDetail:Pe({},ze)}}),ze},*getWorkDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.to,I);return yield ve({type:"save",payload:{workDetail:Pe({},ze)}}),ze},*updateWork({payload:I,callback:O},{call:R,put:ve}){return yield R(je.H,I)},*getShixunWorkReport({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.sw,I);try{ze.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(Jr){}return yield ve({type:"save",payload:{shixunWorkReport:Pe({},ze)}}),ze},*getShixunWorkReports({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.cz,I);try{ze.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(Jr){}return yield ve({type:"save",payload:{shixunWorkReport:Pe({},ze)}}),ze},*getWorkSetting({payload:I,callback:O},{call:R,put:ve}){var ze,Jr;const Jn=yield R(je.Ul,I);(ze=Jn==null?void 0:Jn.group_settings)==null||ze.map(Mi=>{Mi.value=Mi.group_name,Mi.id=Mi.group_id,Mi.group_id=[Mi.group_id]}),(Jr=Jn==null?void 0:Jn.allow_late_settings)==null||Jr.map(Mi=>{Mi.value=Mi.group_name,Mi.id=Mi.group_id,Mi.group_id=[Mi.group_id]});const Vi={shixun_evaluation:Jn.shixun_evaluation,challenge_settings:Jn.challenge_settings};return yield ve({type:"save",payload:{workSetting:Pe({},Jn),changeData:(0,Fe.cloneDeep)(Vi)}}),Jn},*updateSetting({payload:I,callback:O},{call:R,put:ve}){return yield R(je.m7,I)},*getCodeReviewCourse({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.JG,I);return yield ve({type:"save",payload:{codeReviewCourse:Pe({},ze)}}),ze},*exportShixunWorks({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.Dx,I)},*getReferenceAnswer({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.Q3,I);return yield ve({type:"save",payload:{referenceAnswer:Pe({},ze)}}),ze},*getPublishGroups({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.ux,I);return yield ve({type:"save",payload:{publishGroups:Pe({},ze)}}),ze},*getEndGroups({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.KE,I);return yield ve({type:"save",payload:{endGroups:Pe({},ze)}}),ze},*getBrankList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.n$,I);return yield ve({type:"save",payload:{brankList:Pe({},ze)}}),ze},*changeScore({payload:I,callback:O},{call:R,put:ve}){return yield R(je.gG,I)},*saveBanks({payload:I,callback:O},{call:R,put:ve}){return yield R(je.lf,I)},*addCommonHomeWorkDefaultData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.Qt,I);return yield ve({type:"save",payload:{commonHomeWorkAddDefaultData:Pe({},ze)}}),ze},*getSearchMemberList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.Lz,I);return yield ve({type:"save",payload:{searchMemberList:Pe({},ze)}}),ze},*getProjectList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.ku,I);return yield ve({type:"save",payload:{searchProjectList:Pe({},ze)}}),ze},*addStudentWorkDefaultData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.ak,I);return yield ve({type:"save",payload:{studentWorkAddDefaultData:Pe({},ze)}}),ze},*editStudentWorkDefaultData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.PW,I);return yield ve({type:"save",payload:{studentWorkEditDefaultData:Pe({},ze)}}),ze},*editCommonHomeWorkDefaultData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.BD,I);return yield ve({type:"save",payload:{commonHomeWorkEditDefaultData:Pe({},ze)}}),ze},*editCommonHomeWorkDefaultBankData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.pH,I);return yield ve({type:"save",payload:{commonHomeWorkEditDefaultData:Pe({},ze)}}),ze},*getReplyList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.PC,I);yield ve({type:"save",payload:{replyList:Pe({},ze)}})},*getStudentWorkDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.Hj,I);yield ve({type:"save",payload:{studentWorkDetail:Pe({},ze)}})},*getStudentWorkSupplyDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.ub,I);yield ve({type:"save",payload:{studentWorkSupplyDetail:Pe({},ze)}})},*getStudentWorkCommon({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.JA,I);yield ve({type:"save",payload:{studentWorkCommon:Pe({},ze)}})},*getAllStudentWorks({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.ql,I);return yield ve({type:"save",payload:{allStudentWorks:Pe({},ze)}}),ze},*getFileRepeatResult({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.oN,I);return yield ve({type:"save",payload:{codeReview:Pe({},ze)}}),ze},*getFileRepeatDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(je.Ti,I);return yield ve({type:"save",payload:{codeReviewDetail:Pe({},ze)}}),ze},*createReply({payload:I,callback:O},{call:R,put:ve}){return yield R(je.PP,I)},*replyLike({payload:I,callback:O},{call:R,put:ve}){return yield R(je.NA,I)},*replyUnLike({payload:I,callback:O},{call:R,put:ve}){return yield R(je.YQ,I)},*deleteReply({payload:I,callback:O},{call:R,put:ve}){return yield R(je.Mf,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Pe({},I)}})}},reducers:{save(I,O){return Pe(Pe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},kt=e(82264),Zt=e(48790),Nt=Object.defineProperty,At=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,fe=(I,O,R)=>O in I?Nt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,pe=(I,O)=>{for(var R in O||(O={}))qt.call(O,R)&&fe(I,R,O[R]);if(At)for(var R of At(O))Ke.call(O,R)&&fe(I,R,O[R]);return I},De={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:""},effects:{*setAssistantPermissions({payload:I},{call:O,put:R}){yield O(kt.gq,I)},*getAssistantPermissions({payload:I},{call:O,put:R}){if(!(0,Zt.eB)())return;const ve=yield O(kt.rS,I);yield R({type:"save",payload:{AssistantObject:ve.permissions}})},*getAiStatusQuery({payload:I},{call:O,put:R}){const ve=yield O(kt.LH,I);return yield R({type:"save",payload:{cal_finish_if:ve.cal_finish_if}}),ve},*updateCoursePortraitData({payload:I},{call:O,put:R}){return yield O(kt.Z_,I)},*getUserPortraitConfig({payload:I},{call:O,put:R}){const ve=yield O(kt._0,I);return yield R({type:"save",payload:{userPortraitConfig:ve.data}}),ve},*updateUserPortraitConfig({payload:I},{call:O,put:R}){return yield O(kt.r2,I)},*getClassroom({payload:I},{call:O,put:R}){const ve=I,ze=yield O(kt.V8,I);return yield R({type:"save",payload:pe({listParams:ve},ze)}),ze},*getClassroomTopBanner({payload:I},{call:O,put:R}){const ve=yield O(kt.U_,I);return yield R({type:"save",payload:{detailTopBanner:ve.status?{copy_completed:!0}:pe({},ve)}}),ve.status?{copy_completed:!0}:ve},*getClassroomLeftMenus({payload:I},{call:O,put:R}){const ve=yield O(kt.w9,I);let ze=[...(ve==null?void 0:ve.course_modules)||[],...(ve==null?void 0:ve.hidden_modules)||[]],Jr={};return ze==null||ze.forEach(Jn=>{Jr[Jn.type]=Jn.name}),yield R({type:"save",payload:{detailLeftMenus:pe({},ve),detailLeftMenusNames:Jr}}),ve},*getClassroomShixunsList({payload:I},{call:O,put:R}){const ve=yield O(kt.Nd,I);yield R({type:"save",payload:{detailShixunsList:pe({},ve)}})},*getClassroomTeacherShixunsList({payload:I},{call:O,put:R}){const ve=yield O(kt.Gk,I);return yield R({type:"save",payload:{detailShixunsList:pe({},ve)}}),ve},*getClassroomCommonList({payload:I},{call:O,put:R}){const ve=yield O(kt.Nd,I);yield R({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}})},*getClassroomTeacherCommonList({payload:I},{call:O,put:R}){const ve=yield O(kt.Gk,I);return yield R({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}}),ve},*getClassroomGraduationTopicsList({payload:I},{call:O,put:R}){const ve=yield O(kt.yV,I);yield R({type:"save",payload:{detailGraduationTopicsList:pe({},ve)}})},*getClassroomGraduationTaskList({payload:I},{call:O,put:R}){const ve=yield O(kt.R2,I);yield R({type:"save",payload:{detailGraduationTaskList:pe({},ve)}})},*getClassroomExercisesList({payload:I},{call:O,put:R}){const ve=yield O(kt.N7,I);yield R({type:"save",payload:{detailExerciseList:pe({},ve)}})},*getClassroomPollsList({payload:I},{call:O,put:R}){const ve=yield O(kt.BR,I);yield R({type:"save",payload:{detailPollsList:pe({},ve)}})},*getCourseGroups({payload:I},{call:O,put:R}){const ve=yield O(kt.qB,I);yield R({type:"save",payload:{courseGroups:pe({},ve)}})},*getAllCourseGroup({payload:I},{call:O,put:R}){const ve=yield O(kt.c_,I);return yield R({type:"save",payload:{allCourseGroups:pe({},ve)}}),ve},*getClassroomCommonHomeworksList({payload:I},{call:O,put:R}){const ve=yield O(kt.Al,I);yield R({type:"save",payload:{detailCommonHomeworksList:pe({},ve)}})},*getClassroomAttendancesList({payload:I},{call:O,put:R}){const ve=yield O(kt.Vw,I);yield R({type:"save",payload:{detailAttendancesList:pe({},ve)}})},*getClassroomAttendancesStatistic({payload:I},{call:O,put:R}){const ve=yield O(kt.Ls,I);yield R({type:"save",payload:{detailAttendancesStatistic:pe({},ve)}})},*getAttendanceDetail({payload:I},{call:O,put:R}){const ve=yield O(kt.zg,I);return yield R({type:"save",payload:{detailAttendancesDetail:pe({},ve)}}),ve},*getAnnouncementList({payload:I},{call:O,put:R}){const ve=yield O(kt.QZ,I);yield R({type:"save",payload:{detailAnnouncementList:pe({},ve)}})},*getAttachmentList({payload:I},{call:O,put:R}){const ve=yield O(kt.KT,I);yield R({type:"save",payload:{detailAttachmentList:pe({},ve.data)}})},*getCourseware({payload:I},{call:O,put:R}){const ve=yield O(kt.ZT,I);yield R({type:"save",payload:{detailCourseware:pe({},ve.data)}})},*getVideoList({payload:I},{call:O,put:R}){const ve=yield O(kt.O3,I);yield R({type:"save",payload:{detailVideoList:pe({},ve)}})},*getLiveVideoList({payload:I},{call:O,put:R}){const ve=yield O(kt.DJ,I);yield R({type:"save",payload:{detailLiveVideoList:pe({},ve)}})},*getCoursesMine({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.Ed,I);return yield ve({type:"save",payload:{courseMine:pe({},ze)}}),ze.data},*getBoardList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.KP,I);return yield ve({type:"save",payload:{detailBoardList:pe({},ze.data)}}),ze.data},*getCourseGroupsList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.kW,I);return yield ve({type:"save",payload:{detailCourseGroupsList:pe({},ze)}}),ze},*getCourseStudentsList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.J2,I);return yield ve({type:"save",payload:{detailCoursStudentsList:pe({},ze)}}),ze.data},*getCourseStatistics({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.g4,I);return yield ve({type:"save",payload:{detailCourseStatisticsList:pe({},ze)}}),ze},*getCourseActscore({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.t1,I);return yield ve({type:"save",payload:{detailCourseActscore:pe({},ze)}}),ze},*getCourseWorkscore({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.GV,I);return yield ve({type:"save",payload:{detailCourseWorkscore:pe({},ze)}}),ze},*getShixunLists({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.Pj,I);return yield ve({type:"save",payload:{shixunLists:pe({},ze)}}),ze},*getExperimentLists({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt._9,I);return yield ve({type:"save",payload:{shixunLists:pe({},ze)}}),ze},*getShixunAiRecommendLists({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.Hn,I);return yield ve({type:"save",payload:{shixunAiRecommendLists:pe({},ze)}}),ze},*getCoursesLists({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.W7,I);return yield ve({type:"save",payload:{coursesLists:pe({},ze)}}),ze},*createCoursesHomework({payload:I,callback:O},{call:R,put:ve}){return yield R(kt.Ds,I)},*createShixunHomework({payload:I,callback:O},{call:R,put:ve}){return yield R(kt.aQ,I)},*createExperiment({payload:I,callback:O},{call:R,put:ve}){return yield R(kt.BQ,I)},*getSchoolList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.K$,I);return yield ve({type:"save",payload:{schoolList:pe({},ze.school_names)}}),ze.school_names},*searchSchoolTeacherList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.nQ,I);return yield ve({type:"save",payload:{searchMemberList:pe({},ze)}}),ze},*getAllTaskList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.km,I);return yield ve({type:"save",payload:{taskList:[...ze.tasks]}}),ze},*updateTaskPosition({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(kt.U8,I);return yield ve({type:"save",payload:{actionTabs:{key:""}}}),ze},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:pe({},I)}})},*setUpdateData({payload:I},{call:O,put:R}){yield R({type:"save",payload:{updateData:I}})}},reducers:{save(I,O){return pe(pe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},ft=Object.defineProperty,zt=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,wt=(I,O,R)=>O in I?ft(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,xe=(I,O)=>{for(var R in O||(O={}))Et.call(O,R)&&wt(I,R,O[R]);if(zt)for(var R of zt(O))Re.call(O,R)&&wt(I,R,O[R]);return I},vt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:I},{call:O,put:R}){const ve=yield O(kt.K$,I);yield R({type:"save",payload:{schoolList:(ve==null?void 0:ve.school_names)||[]}})},*getSearchCourseList({payload:I},{call:O,put:R}){const ve=yield O(kt.oM,I);yield R({type:"save",payload:{searchCourseList:(ve==null?void 0:ve.course_lists)||[]}})},*submitCourses({payload:I},{call:O,put:R}){return yield O(kt.Bn,I)},*appplySchool({payload:I},{call:O,put:R}){return yield O(kt.bz,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:xe({},I)}})},*joincoursegroup({payload:I},{call:O,put:R}){return yield O(kt.WK,I)}},reducers:{save(I,O){return xe(xe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Ft=Object.defineProperty,Be=Object.getOwnPropertySymbols,Pr=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Zr=(I,O,R)=>O in I?Ft(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Vr=(I,O)=>{for(var R in O||(O={}))Pr.call(O,R)&&Zr(I,R,O[R]);if(Be)for(var R of Be(O))St.call(O,R)&&Zr(I,R,O[R]);return I},Br={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:I},{call:O,put:R}){const ve=yield O(kt.Dd,I);yield R({type:"save",payload:{CourseUseInfos:ve}})},*getRankList({payload:I},{call:O,put:R}){const ve=yield O(kt.Fg,I);yield R({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(ve==null?void 0:ve.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(ve==null?void 0:ve.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(ve==null?void 0:ve.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(ve==null?void 0:ve.finish_course_list)||[]]}}})},*getStatisticsBody({payload:I},{call:O,put:R}){const ve=yield O(kt.Gz,I);yield R({type:"save",payload:{SBody:ve}})},*getStatisticsHeader({payload:I},{call:O,put:R}){const ve=yield O(kt.Hl,I);yield R({type:"save",payload:{SHeader:ve}})}},reducers:{save(I,O){return Vr(Vr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},pr=e(7299),$r=Object.defineProperty,en=Object.getOwnPropertySymbols,an=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,Rt=(I,O,R)=>O in I?$r(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,mt=(I,O)=>{for(var R in O||(O={}))an.call(O,R)&&Rt(I,R,O[R]);if(en)for(var R of en(O))sr.call(O,R)&&Rt(I,R,O[R]);return I},$t={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(pr.s3,I);return yield ve({type:"save",payload:{pollsList:mt({},ze)}}),ze},*getCommonHeader({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(pr.UK,I);return yield ve({type:"save",payload:{commonHeader:mt({},ze)}}),ze},*getPollsStatistics({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(pr.Qn,I);return yield ve({type:"save",payload:{statisticsList:mt({},ze)}}),ze},*getBrankList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(pr.n$,I);return yield ve({type:"save",payload:{brankList:mt({},ze)}}),ze},*saveBanks({payload:I,callback:O},{call:R,put:ve}){return yield R(pr.lf,I)},*getPollsCourses({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(pr.Q9,I);return yield ve({type:"save",payload:{pollsCoursesList:mt({},ze)}}),ze},*getPollsSetting({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(pr.Hi,I);return yield ve({type:"save",payload:{pollSetting:mt({},ze)}}),ze},*editPolls({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(pr.Ye,I);return yield ve({type:"save",payload:{editData:mt({},JSON.parse(JSON.stringify(ze)))}}),ze},*getEndGroups({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(pr.KE,I);return yield ve({type:"save",payload:{endGroups:mt({},ze)}}),ze},*getPublishGroups({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(pr.ux,I);return yield ve({type:"save",payload:{publishGroups:mt({},ze)}}),ze},*getExerciseBanks({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(pr.kp,I);return yield ve({type:"save",payload:{exerciseBanks:mt({},ze)}}),ze},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:mt({},I)}})}},reducers:{save(I,O){return mt(mt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Er=e(49234),vr=Object.defineProperty,ot=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,dn=Object.prototype.propertyIsEnumerable,jn=(I,O,R)=>O in I?vr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,_r=(I,O)=>{for(var R in O||(O={}))Mr.call(O,R)&&jn(I,R,O[R]);if(ot)for(var R of ot(O))dn.call(O,R)&&jn(I,R,O[R]);return I},ln={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:I},{call:O,put:R}){var ve;const ze=yield O(Er.gp,I);return(ve=ze==null?void 0:ze.teacher_list)==null||ve.map(Jr=>(Jr.key=Jr.course_member_id,Jr)),yield R({type:"save",payload:{list:ze}}),ze},*getStudentsList({payload:I},{call:O,put:R}){var ve;const ze=yield O(Er.ur,I);return(ve=ze==null?void 0:ze.students)==null||ve.map(Jr=>(Jr.key=Jr.user_id,Jr)),yield R({type:"save",payload:{studentsList:ze}}),ze},*getApplyList({payload:I},{call:O,put:R}){const ve=yield O(Er.s,I);return yield R({type:"save",payload:{applyList:ve}}),ve},*getAllCourseGroups({payload:I},{call:O,put:R}){const ve=yield O(Er.xV,I);return yield R({type:"save",payload:{allCourseGroups:ve}}),ve},*getGraduationGroupList({payload:I},{call:O,put:R}){const ve=yield O(Er.Bg,I);return yield R({type:"save",payload:{graduationGroupList:ve}}),ve},*setAllCourseGroups({payload:I},{call:O,put:R}){const ve=yield O(Er.oZ,I);return yield R({type:"save",payload:{setAllCourseGroups:ve}}),ve},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:_r({},I)}})},*setUpdateIndex({payload:I},{call:O,put:R}){yield R({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(I,O){return _r(_r({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Ln=e(69618),Vn=Object.defineProperty,Bn=Object.getOwnPropertySymbols,Ui=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,bi=(I,O,R)=>O in I?Vn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,_i=(I,O)=>{for(var R in O||(O={}))Ui.call(O,R)&&bi(I,R,O[R]);if(Bn)for(var R of Bn(O))pi.call(O,R)&&bi(I,R,O[R]);return I},Ki={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ln.BQ,I);return yield ve({type:"save",payload:{videoStatisticsList:_i({},ze)}}),ze},*getNewVideoStatisticsList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ln.cU,I);return yield ve({type:"save",payload:{newVideoStatisticsList:_i({},ze)}}),ze},*getVideoPeopleStatics({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ln.Zx,I);return yield ve({type:"save",payload:{videoPeopleStatics:_i({},ze)}}),ze},*getVideoDurationStatics({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ln.Mz,I);return yield ve({type:"save",payload:{videoDurationStatics:_i({},ze)}}),ze},*getVideoStatistics({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ln.ZY,I);return yield ve({type:"save",payload:{videoStatistics:_i({},ze)}}),ze},*getOneVideoStatisticsList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ln.cU,I);return yield ve({type:"save",payload:{oneVideoStatisticsList:_i({},ze)}}),ze},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:_i({},I)}})},*getStudentVideoStatisticsList({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ln.Vg,I);return yield ve({type:"save",payload:{StudentvideoStatistics:_i({},ze)}}),ze}},reducers:{save(I,O){return _i(_i({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Zn=e(73801),Gi=Object.defineProperty,ui=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,qn=(I,O,R)=>O in I?Gi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Wn=(I,O)=>{for(var R in O||(O={}))we.call(O,R)&&qn(I,R,O[R]);if(ui)for(var R of ui(O))Nn.call(O,R)&&qn(I,R,O[R]);return I},di={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.cC,I)},*getGuides({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Zn.Ax,I);return yield ve({type:"save",payload:{GuidesData:ze}}),ze},*getWorkSubmitUpdateRes({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.zF,I)},*getList({payload:I},{call:O,put:R}){const ve=I,ze=yield O(Zn.bQ,I);return yield R({type:"save",payload:Wn({listParams:ve},ze)}),ze},*getMemberWorks({payload:I},{call:O,put:R}){const ve=yield O(Zn.xx,I);return yield R({type:"save",payload:{MemberWorks:ve||{}}}),ve},*addApplytojoincourse({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.qS,I)},*competitionTeams({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.Pt,I)},*getStaff({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Zn.Dh,I);return yield ve({type:"save",payload:{Staff:ze}}),ze},*getHeader({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Zn.Pg,I);return yield ve({type:"save",payload:{Header:ze}}),ze},*getItem({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Zn.rV,I);return yield ve({type:"save",payload:{RightItems:ze}}),ze},*updateMdContent({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.zj,I)},*getTeamList({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.aq,I)},*getTeamDetail({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.Ze,I)},*UpTeam({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.yS,I)},*DeleteTeam({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.ps,I)},*ExitTeam({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.vV,I)},*AddTeam({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.FU,I)},*AddPersonnel({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.R9,I)},*JoinTeam({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.zc,I)},*getTeacher({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.jS,I)},*getStudents({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.sK,I)},*SubmitTeam({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.rm,I)},*Reward({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.Qp,I)},*ChartRules({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.Ux,I)},*Charts({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.GQ,I)},*TabResults({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Zn.ml,I);return yield ve({type:"save",payload:{TabResultList:ze}}),ze},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Wn({},I)}})},*Results({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.u9,I)},*Prize({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Zn.pU,I);return yield ve({type:"save",payload:{Prizes:ze}}),ze},*Accounts({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Zn.XJ,I);return yield ve({type:"save",payload:{Account:ze}}),ze},*getVerification({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.Ni,I)},*PhoneBind({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.uZ,I)},*EmailBind({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.rk,I)},*Authentication({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.Vy,I)},*Professional({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.tC,I)},*setleader({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.tO,I)},*getShixun({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.qj,I)},*getCourse({payload:I,callback:O},{call:R,put:ve}){return yield R(Zn.XR,I)},*competition_teams({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Zn.zz,I);return yield ve({type:"save",payload:{competition_team:ze}}),ze},*all_team_members({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Zn.$P,I);return yield ve({type:"save",payload:{all_team_member:ze}}),ze}},reducers:{save(I,O){return Wn(Wn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},Ti=e(36910),Yn=Object.defineProperty,Jt=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,Ot=(I,O,R)=>O in I?Yn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,dt=(I,O)=>{for(var R in O||(O={}))pt.call(O,R)&&Ot(I,R,O[R]);if(Jt)for(var R of Jt(O))nt.call(O,R)&&Ot(I,R,O[R]);return I},cr={namespace:"declaration",state:{name:"\u79D1\u7814\u6559\u5B66\u7533\u62A5",loading:!0,mode:"view",actionTabs:{key:""}},effects:{*changeMode({payload:I},{put:O}){yield O({type:"save",payload:{mode:I.mode}})},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:dt({},I)}})},*getDeclaraList({payload:I},{call:O,put:R}){return yield O(Ti.Dn,{payload:I})},*getDeclaraDetail({payload:I},{call:O,put:R}){return yield O(Ti.Hs,{payload:I})},*addDeclara({payload:I},{call:O,put:R}){return yield O(Ti.eu,{payload:I})},*updateDeclara({payload:I},{call:O,put:R}){return yield O(Ti.Bb,{payload:I})}},reducers:{save(I,O){return dt(dt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/declaration"&&O.replace({pathname:"/declaration/research/instruction"})})}}},Ar=e(1103),Ir=e(32026),Ze=Object.defineProperty,Je=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,Dr=(I,O,R)=>O in I?Ze(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,wr=(I,O)=>{for(var R in O||(O={}))ir.call(O,R)&&Dr(I,R,O[R]);if(ut)for(var R of ut(O))br.call(O,R)&&Dr(I,R,O[R]);return I},Fr=(I,O)=>Je(I,Ee(O)),Tr={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[Ir.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Ir.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[Ir.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Ir.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:wr({},I)}})},*getMajorList({payload:I},{call:O,put:R,select:ve}){const{userInfo:ze}=yield ve(Jr=>Jr.user);if(ze!=null&&ze.school_id){const Jr=yield O(Ar.BA,ze.school_id);Jr&&Jr.data&&(yield R({type:"setMajorOrYearDataSource",payload:{key:Ir.k[0],value:Jr.data.map(Jn=>({label:Jn.name,value:Jn.ec_major_school_id}))}}))}},*getYearList({payload:I},{call:O,put:R}){const ve=yield O(Ar.Nx,I);ve&&ve.data&&(yield R({type:"setMajorOrYearDataSource",payload:{key:Ir.k[1],value:ve.data.map(ze=>({label:ze.year,value:ze.ec_year_id}))}}))},*getCourseResultDetail({payload:I},{call:O,put:R}){console.log(I,"payload");const ve=yield O(Ar.p1,I);ve&&ve.ec_course_target&&(yield R({type:"setEchartsData",payload:ve}))},*getCourseResultDetailClass({payload:I},{call:O,put:R}){const ve=yield O(Ar.ff,I);ve&&ve.class_name&&(yield R({type:"save",payload:{classDataSource:{active:null,dataList:[...ve.class_name]}}}))},*setClassActive({payload:I},{call:O,put:R}){yield R({type:"save",payload:{classDataSource:wr({},I)}})}},reducers:{save(I,O){return wr(wr({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){return Fr(wr({},I),{headerData:Fr(wr({},I.headerData),{dataSource:Fr(wr({},I.headerData.dataSource),{[O.key]:Fr(wr({},I.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(I,{payload:O}){return Fr(wr({},I),{headerData:Fr(wr({},I.headerData),{active:Fr(wr({},I.headerData.active),{[O.key]:O.value})})})},setEchartsData(I,{payload:O}){let R={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},ve={name:O.course_name||"",xData:[],seriesData:[]},ze={};return O.ec_course_target.forEach((Jr,Jn)=>{Jr.position=Jn+1,R=Fr(wr({},R),{dataSource:{xData:[...R.dataSource.xData,Jn+1],yBarData:[...R.dataSource.yBarData,Jr.actual_grade],yLineData:[...R.dataSource.yLineData,Jr.standard_grade]}});let Vi=[],Mi={min:[],max:[]},Za=[],Xs=[],ei=[];Jr.student_data.detail.forEach((hs,Fo)=>{let ks=hs.score;Vi.push(Fo+1),Mi.max.push(ks>=Jr.student_data.goal_score?ks:null),Mi.min.push(ks>=Jr.student_data.goal_score?null:ks),Za.push(hs.name),Xs.push(hs.student_id),ei.push(hs.clazz)}),ze[Jn+1]={name:Jn+1,average_score:Jr.student_data.average_score,goal_score:Jr.student_data.goal_score,xData:Vi,yData:Mi,name_data:Za,student_ids:Xs,class_data:ei,goal_scoreData:new Array(Jr.student_data.detail.length).fill(Jr.student_data.goal_score),average_scoreData:new Array(Jr.student_data.detail.length).fill(Jr.student_data.average_score)}}),O.history.forEach(Jr=>{ve=Fr(wr({},ve),{xData:[...ve.xData,Jr.year],seriesData:[...ve.seriesData,Jr.total_score]})}),Fr(wr({},I),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:R,lineData:ve,scatterData:ze}})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},sn=Object.defineProperty,Xr=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,da=(I,O,R)=>O in I?sn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,mi=(I,O)=>{for(var R in O||(O={}))nn.call(O,R)&&da(I,R,O[R]);if(Xr)for(var R of Xr(O))gn.call(O,R)&&da(I,R,O[R]);return I},Cn={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:mi({},I)}})},*setShowMenu({payload:I},{call:O,put:R}){yield R({type:"save",payload:{showMenu:I}})},*setMatrixVerify({payload:I},{call:O,put:R}){yield R({type:"save",payload:{matrixVerify:mi({},I)}})}},reducers:{save(I,O){return mi(mi({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},Pi=e(96999),Oi=Object.defineProperty,aa=Object.defineProperties,Cs=Object.getOwnPropertyDescriptors,na=Object.getOwnPropertySymbols,vs=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable,Ba=(I,O,R)=>O in I?Oi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,sa=(I,O)=>{for(var R in O||(O={}))vs.call(O,R)&&Ba(I,R,O[R]);if(na)for(var R of na(O))Ms.call(O,R)&&Ba(I,R,O[R]);return I},yn=(I,O)=>aa(I,Cs(O)),Xa={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[Ir.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Ir.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[Ir.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Ir.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:sa({},I)}})},*getMajorList({},{call:I,put:O,select:R}){const{userInfo:ve}=yield R(ze=>ze.user);if(ve!=null&&ve.school_id){const ze=yield I(Ar.BA,ve.school_id);if(ze&&ze.data){const Jr=Pi.U.getItem(ve==null?void 0:ve.login);yield O({type:"setMajorOrYearDataSource",payload:{key:Ir.k[0],value:ze.data.map(Jn=>({label:Jn.name,value:Jn.ec_major_school_id})),active:ze.data.length>0?Jr[0]||ze.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:R,select:ve}){const ze=yield O(Ar.Nx,I.id),{userInfo:Jr}=yield ve(Jn=>Jn.user);if(ze&&ze.data){const Jn=Pi.U.getItem(Jr==null?void 0:Jr.login);yield R({type:"setMajorOrYearDataSource",payload:{key:Ir.k[1],value:ze.data.map(Vi=>({label:Vi.year,value:Vi.ec_year_id})),active:ze.data.length>0?I.firstEnter?Jn[1]:ze.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:I,put:O,select:R}){const{headerData:ve}=yield R(Jn=>Jn.engineeringNavigtion),{userInfo:ze}=yield R(Jn=>Jn.user);let Jr={};if(ve.active[Ir.k[1]]&&ze.school_id){const Jn=[ve.active[Ir.k[0]],ve.active[Ir.k[1]]];Pi.U.setItem(ze==null?void 0:ze.login,Jn);const Vi=yield I(Ar.bA,{ec_year_id:ve.active[Ir.k[1]],school_id:ze.school_id});Vi&&Vi.data&&(Jr=Vi.data),yield O({type:"setTopPage",payload:Jr})}},*putTopPageName({payload:I,callback:O},{call:R,put:ve}){try{const ze=yield R(Ar.ay,I);O(ze)}catch(ze){let Jr="";ze&&(Jr=JSON.stringify(ze),ze.message&&(Jr=ze.message)),O({message:Jr,status:999})}}},reducers:{save(I,O){return sa(sa({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let R=I.headerData.active;return O.active&&(R=yn(sa({},R),{[O.key]:O.active})),yn(sa({},I),{headerData:yn(sa({},I.headerData),{dataSource:yn(sa({},I.headerData.dataSource),{[O.key]:yn(sa({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:R})})},setMajorOrYearActive(I,{payload:O}){return yn(sa({},I),{headerData:yn(sa({},I.headerData),{active:yn(sa({},I.headerData.active),{[O.key]:O.value})})})},setTopPage(I,{payload:O}){return yn(sa({},I),{headerData:yn(sa({},I.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:yn(sa({},I.cardListData),{appraiseData:yn(sa({},I.cardListData.appraiseData),{norm:yn(sa({},I.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:I.cardListData.appraiseData.norm.listData.map(R=>yn(sa({},R),{value:O[R.key]||0}))}),course:yn(sa({},I.cardListData.appraiseData.course),{result:O.course_result,listData:I.cardListData.appraiseData.course.listData.map(R=>yn(sa({},R),{value:O[R.key]||0}))})}),teamData:{teach:yn(sa({},I.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:yn(sa({},I.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:I.totalListData.map(R=>yn(sa({},R),{value:O[R.key]||0}))})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},xs=Object.defineProperty,ji=Object.defineProperties,Fs=Object.getOwnPropertyDescriptors,So=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,Ji=Object.prototype.propertyIsEnumerable,Qa=(I,O,R)=>O in I?xs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Ks=(I,O)=>{for(var R in O||(O={}))Da.call(O,R)&&Qa(I,R,O[R]);if(So)for(var R of So(O))Ji.call(O,R)&&Qa(I,R,O[R]);return I},Pn=(I,O)=>ji(I,Fs(O)),mo={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Ks({},I)}})},*getGraduationResultDetail({payload:I},{call:O,put:R}){const ve=yield O(Ar.gq,I);yield R({type:"save",payload:{dataSource:ve}})}},reducers:{save(I,O){return Ks(Ks({},I),O.payload)},setDataSource(I,{payload:O}){let R=O;return Pn(Ks({},I),{dataSource:R})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},Bs=e(8591),Li=Object.defineProperty,Oa=Object.defineProperties,ka=Object.getOwnPropertyDescriptors,os=Object.getOwnPropertySymbols,Qs=Object.prototype.hasOwnProperty,Ao=Object.prototype.propertyIsEnumerable,To=(I,O,R)=>O in I?Li(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,ws=(I,O)=>{for(var R in O||(O={}))Qs.call(O,R)&&To(I,R,O[R]);if(os)for(var R of os(O))Ao.call(O,R)&&To(I,R,O[R]);return I},wa=(I,O)=>Oa(I,ka(O)),us=(I,O)=>{var R={};for(var ve in I)Qs.call(I,ve)&&O.indexOf(ve)<0&&(R[ve]=I[ve]);if(I!=null&&os)for(var ve of os(I))O.indexOf(ve)<0&&Ao.call(I,ve)&&(R[ve]=I[ve]);return R},Do={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[Ir.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Ir.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[Ir.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Ir.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:ws({},I)}})},*getMajorList({},{call:I,put:O,select:R}){const{userInfo:ve}=yield R(ze=>ze.user);if(ve!=null&&ve.school_id){const ze=yield I(Ar.BA,ve.school_id);if(ze&&ze.data){const Jr=Pi.U.getItem(ve==null?void 0:ve.login);yield O({type:"setMajorOrYearDataSource",payload:{key:Ir.k[0],value:ze.data.map(Jn=>({label:Jn.name,value:Jn.ec_major_school_id})),active:ze.data.length>0?Jr[0]||ze.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:R,select:ve}){const ze=yield O(Ar.Nx,I.id),{userInfo:Jr}=yield ve(Jn=>Jn.user);if(ze&&ze.data){const Jn=Pi.U.getItem(Jr==null?void 0:Jr.login);yield R({type:"setMajorOrYearDataSource",payload:{key:Ir.k[1],value:ze.data.map(Vi=>({label:Vi.year,value:Vi.ec_year_id})),active:ze.data.length>0?I.firstEnter?Jn[1]:ze.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:I,put:O,select:R}){const{headerData:ve}=yield R(Za=>Za.engineeringNormList),{userInfo:ze}=yield R(Za=>Za.user);let Jr=[],Jn=[],Vi="";const Mi=ve.active[Ir.k[1]];if(Mi){const Za=[ve.active[Ir.k[0]],ve.active[Ir.k[1]]];Pi.U.setItem(ze==null?void 0:ze.login,Za);const Xs=yield I(Ar.eM,Mi);Xs&&Xs.graduation_requirements&&(Vi=Xs.all_goal_value||"",Jr=Xs.graduation_requirements.map(ei=>{var hs=ei,{subitems:Fo}=hs,ks=us(hs,["subitems"]);return Jn.push(ks.id),wa(ws({},ks),{children:Fo})}))}yield O({type:"save",payload:{tabListData:Jr,all_goal_value:Vi,expandedRowKeys:Jn}})},*exportGraduation({},{call:I,select:O}){const{headerData:R}=yield O(ve=>ve.engineeringNormList);R.active[Ir.k[1]]&&(yield I(Ar.OE,R.active[Ir.k[1]]))},*compute({payload:I},{call:O,put:R}){const ve=I,{all:ze}=ve,Jr=us(ve,["all"]),Jn=yield O(ze?Ar.Qx:Ar.Xl,Jr);Jn&&Jn.status===0?(Bs.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield R({type:"getGraduationResults"})):Bs.ZP.error(Jn.message)},*getFormulas({callback:I},{call:O,select:R}){const{headerData:ve}=yield R(ze=>ze.engineeringNormList);if(ve.active[Ir.k[1]]){const ze=yield O(Ar.mK,ve.active[Ir.k[1]]);I(ze)}},*setFormulas({payload:I,callback:O},{call:R}){const ve=yield R(Ar.y9,I);O(ve)},*putGoalValue({payload:I},{call:O,put:R}){const ve=yield O(Ar.No,I);if(ve&&ve.status===0)Bs.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield R({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield R({type:"getGraduationResults"});else{let ze="\u4FDD\u5B58\u5931\u8D25";ve&&ve.message&&(ze=ve.message),Bs.ZP.error(ze)}}},reducers:{save(I,O){return ws(ws({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let R=I.headerData.active;return O.active&&(R=wa(ws({},R),{[O.key]:O.active})),wa(ws({},I),{headerData:wa(ws({},I.headerData),{dataSource:wa(ws({},I.headerData.dataSource),{[O.key]:wa(ws({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:R})})},setMajorOrYearActive(I,{payload:O}){return wa(ws({},I),{headerData:wa(ws({},I.headerData),{active:wa(ws({},I.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},go=e(94670),$o=Object.defineProperty,oi=Object.getOwnPropertySymbols,ni=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,ts=(I,O,R)=>O in I?$o(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Ia=(I,O)=>{for(var R in O||(O={}))ni.call(O,R)&&ts(I,R,O[R]);if(oi)for(var R of oi(O))Ga.call(O,R)&&ts(I,R,O[R]);return I},jo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:I},{call:O,put:R}){const ve=yield O(go.Si,I);return yield R({type:"save",payload:{forumsDetailData:Ia({},ve)}}),ve},*setForumsDetailData({payload:I},{call:O,put:R}){yield R({type:"save",payload:{forumsDetailData:Ia({},I)}})}},reducers:{save(I,O){return Ia(Ia({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},Qo=Object.defineProperty,ls=Object.getOwnPropertySymbols,hu=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,su=(I,O,R)=>O in I?Qo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,lo=(I,O)=>{for(var R in O||(O={}))hu.call(O,R)&&su(I,R,O[R]);if(ls)for(var R of ls(O))Go.call(O,R)&&su(I,R,O[R]);return I},Co={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:I},{call:O,put:R}){const ve=yield O(I.memoType==="shixun_discuss"?go.kd:go.bc,I);return delete I.memoType,yield R({type:"save",payload:{listParams:I,forumsData:lo({},ve)}}),ve}},reducers:{save(I,O){return lo(lo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},wo=e(22072),Uo=e(346),pu=e(28209),Ys=e.n(pu),bu=Object.defineProperty,Jo=Object.getOwnPropertySymbols,zo=Object.prototype.hasOwnProperty,Zo=Object.prototype.propertyIsEnumerable,ns=(I,O,R)=>O in I?bu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Js=(I,O)=>{for(var R in O||(O={}))zo.call(O,R)&&ns(I,R,O[R]);if(Jo)for(var R of Jo(O))Zo.call(O,R)&&ns(I,R,O[R]);return I},Qt={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:I},{call:O,put:R}){var ve,ze;const Jr=yield O(wo.D2,I);Uo.Z.ONLYOFFICE=(ve=Jr==null?void 0:Jr.setting)==null?void 0:ve.office_server_url,fr(Jr);try{const Mi="5183666c72eec9e4",Za="5183666c72eec9e4";var Jn=Ys().enc.Utf8.parse(Mi);let Xs=Ys().enc.Utf8.parse(Za);var Vi=Ys().AES.decrypt(((ze=Jr==null?void 0:Jr.setting)==null?void 0:ze.user_default_password)||"",Jn,{iv:Xs,mode:Ys().mode.CBC});Jr.setting.user_default_password=Vi.toString(Ys().enc.Utf8)}catch(Mi){}yield R({type:"save",payload:Js({},Jr)})},*getSystemUpdate({payload:I},{call:O,put:R}){const ve=yield O(wo.n0,I);yield R({type:"save",payload:{updateData:Js({},ve)}})},*setTheme({payload:I},{call:O,put:R}){const ve=yield O(wo.n0,I);yield R({type:"save",payload:{theme:I||"default"}})},*setShareData({payload:I},{call:O,put:R}){yield R({type:"save",payload:{shareData:I}})},*setGlobalLoading({payload:I},{call:O,put:R}){yield R({type:"save",payload:{globalLoading:Js({},I)}})},*delayTipToggle({payload:I},{call:O,put:R}){yield R({type:"save",payload:{showTip:I}})},*headerToggle({payload:I},{call:O,put:R}){yield R({type:"save",payload:{showHeader:I}})},*footerToggle({payload:I},{call:O,put:R}){yield R({type:"save",payload:{showFooter:I}})},*headerFooterToggle({payload:I},{call:O,put:R}){yield R({type:"save",payload:{showHeaderFooter:I}})},*delayTipToggle({payload:I},{call:O,put:R}){yield R({type:"save",payload:{showTip:I}})},*headerFixedToggle({payload:I},{call:O,put:R}){yield R({type:"save",payload:{showHeaderFixed:I}})},*onlyShowBackTopToggle({payload:I},{call:O,put:R}){yield R({type:"save",payload:{onlyShowBackTop:I}})},*onlyShowBackTopIconToggle({payload:I},{call:O,put:R}){yield R({type:"save",payload:{onlyShowBackTopIcons:I}})},*setOperateModel({payload:I},{call:O,put:R}){yield R({type:"save",payload:{operateModel:I}})},*setOperateModelPath({payload:I},{call:O,put:R}){yield R({type:"save",payload:{operateModelPath:I}})},*setShowQuestionBackTop({payload:I},{call:O,put:R}){yield R({type:"save",payload:{showQuestionBackTop:I}})},*setInfoData({payload:I},{call:O,put:R}){yield R({type:"save",payload:{infoData:Js({},I)}})},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Js({},I)}})}},reducers:{save(I,O){return Js(Js({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{})}}};const fr=(I={})=>{var O,R,ve,ze,Jr;if(window.self!==window.top||!((O=I.setting)!=null&&O.tab_logo_url))return;const Jn=document.createElement("link"),Vi=document.getElementById("dynamic-favicon");Jn.id="dynamic-favicon",Jn.rel="shortcut icon",Jn.href=(R=I.setting)!=null&&R.tab_logo_url?`${Uo.Z.IMG_SERVER}/${(ve=I.setting)==null?void 0:ve.tab_logo_url}`:"",Vi&&document.head.removeChild(Vi),document.head.appendChild(Jn);try{(ze=I.setting)!=null&&ze.main_site||(document.querySelector('meta[name="keywords"]').content=(Jr=I.setting)==null?void 0:Jr.name,document.querySelector('meta[name="description"]').remove())}catch(Mi){}};var ar=e(12309),dr=Object.defineProperty,Sr=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,Mn=Object.prototype.propertyIsEnumerable,bn=(I,O,R)=>O in I?dr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,In=(I,O)=>{for(var R in O||(O={}))un.call(O,R)&&bn(I,R,O[R]);if(Sr)for(var R of Sr(O))Mn.call(O,R)&&bn(I,R,O[R]);return I},Xn={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:I},{call:O,put:R}){return yield O(ar.Xh,I)},*getGraduationsFinalScore({payload:I},{call:O,put:R}){return yield O(ar.H3,I)},*getDelGraduationsTasks({payload:I},{call:O,put:R}){return yield O(ar.km,I)},*getGraduationsTasks({payload:I},{call:O,put:R}){const ve=yield O(ar.Xw,I);yield R({type:"save",payload:{Tasks:ve}})},*getGraduationsTeachers({payload:I},{call:O,put:R}){var ve;const ze=yield O(ar.AA,I);return(ve=ze==null?void 0:ze.data)==null||ve.map(Jr=>(Jr.key=Jr.id,Jr)),yield R({type:"save",payload:{teachers:ze}}),ze},*getGraduationsStudents({payload:I},{call:O,put:R}){var ve;const ze=yield O(ar.eh,I);(ve=ze==null?void 0:ze.data)==null||ve.map(Jr=>(Jr.key=Jr.id,Jr)),yield R({type:"save",payload:{students:ze}})},*getGraduationsNotices({payload:I},{call:O,put:R}){const ve=yield O(ar.Rk,I);yield R({type:"save",payload:{Notices:ve}})},*getGraduationsInfo({payload:I},{call:O,put:R}){const ve=yield O(ar.F7,I);yield R({type:"save",payload:{graduation:ve.graduation}})},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:In({},I)}})},*setUpdateIndex({payload:I},{call:O,put:R}){yield R({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:I},{call:O,put:R}){const ve=yield O(ar.Ou,I);yield R({type:"save",payload:{details:(ve==null?void 0:ve.graduation)||{},menus:(ve==null?void 0:ve.data)||[],forTask:(ve==null?void 0:ve.for_task)||[]}})}},reducers:{save(I,O){return In(In({},I),O.payload)}}},ur=e(82220),Rr=Object.defineProperty,Or=Object.defineProperties,pn=Object.getOwnPropertyDescriptors,_n=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,kn=(I,O,R)=>O in I?Rr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,vi=(I,O)=>{for(var R in O||(O={}))_t.call(O,R)&&kn(I,R,O[R]);if(_n)for(var R of _n(O))Dn.call(O,R)&&kn(I,R,O[R]);return I},Wi=(I,O)=>Or(I,pn(O)),Yi={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:I},{call:O,put:R}){const ve=yield O(ur.Tt,{payload:I});yield R({type:"save",payload:Wi(vi({},ve),{isloading:!0})})},*query({payload:I},{call:O,put:R}){yield R({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:I,callback:O},{call:R,put:ve}){return yield R(ur.LA,I)},*UploadNotice({payload:I,callback:O},{call:R,put:ve}){return yield R(ur.S_,I)}},reducers:{save(I,O){return vi(vi({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},ki=Object.defineProperty,ua=Object.defineProperties,qs=Object.getOwnPropertyDescriptors,fs=Object.getOwnPropertySymbols,Ci=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Zs=(I,O,R)=>O in I?ki(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Va=(I,O)=>{for(var R in O||(O={}))Ci.call(O,R)&&Zs(I,R,O[R]);if(fs)for(var R of fs(O))co.call(O,R)&&Zs(I,R,O[R]);return I},Ra=(I,O)=>ua(I,qs(O)),to={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(I,O){return Va(Va({},I),O.payload)},openModal(I,O){return Ra(Va({},I),{visibleModalName:O.payload})},closeModal(I){return Ra(Va({},I),{visibleModalName:""})},openSimpleModal(I,O){return Ra(Va({},I),{simpleModalProps:Va({visible:!0},O.payload)})},closeSimpleModal(I){return Ra(Va({},I),{simpleModalProps:{visible:!1}})}}},mn=e(38986),Es=Object.defineProperty,Hs=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Mt=(I,O,R)=>O in I?Es(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Wt=(I,O)=>{for(var R in O||(O={}))Xe.call(O,R)&&Mt(I,R,O[R]);if(Hs)for(var R of Hs(O))Qe.call(O,R)&&Mt(I,R,O[R]);return I},mr=(I,O,R)=>new Promise((ve,ze)=>{var Jr=Mi=>{try{Vi(R.next(Mi))}catch(Za){ze(Za)}},Jn=Mi=>{try{Vi(R.throw(Mi))}catch(Za){ze(Za)}},Vi=Mi=>Mi.done?ve(Mi.value):Promise.resolve(Mi.value).then(Jr,Jn);Vi((R=R.apply(I,O)).next())});const Lr=I=>mr(void 0,null,function*(){return(0,mn.ZP)("/api/paid_subjects/banner.json",{method:"get",params:Wt({},I)})}),jr=I=>mr(void 0,null,function*(){return(0,mn.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:Wt({},I)})}),cn=I=>mr(void 0,null,function*(){return(0,mn.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:Wt({},I)})}),tn=I=>mr(void 0,null,function*(){return(0,mn.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:Wt({},I)})}),fn=I=>mr(void 0,null,function*(){return(0,mn.ZP)("/api/paid_subjects.json",{method:"post",body:Wt({},I)})}),Hn=I=>mr(void 0,null,function*(){return(0,mn.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:Wt({},I)})}),Kn=I=>mr(void 0,null,function*(){return(0,mn.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:Wt({},I)})}),fi=I=>mr(void 0,null,function*(){return(0,mn.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:Wt({},I)})});var xi=Object.defineProperty,qi=Object.getOwnPropertySymbols,Ri=Object.prototype.hasOwnProperty,wi=Object.prototype.propertyIsEnumerable,ha=(I,O,R)=>O in I?xi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,gi=(I,O)=>{for(var R in O||(O={}))Ri.call(O,R)&&ha(I,R,O[R]);if(qi)for(var R of qi(O))wi.call(O,R)&&ha(I,R,O[R]);return I},pa={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:I},{call:O,put:R}){const{data:{adv:ve,top_banner:ze}}=yield O(Lr,I);yield R({type:"save",payload:{BannerList:ze,Adv:ve}})},*getTopCategoryList({payload:I},{call:O,put:R}){const{data:{top_category_list:ve}}=yield O(jr,I);yield R({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...ve]}})},*getHotList({payload:I},{call:O,put:R}){const{data:{hot_list:ve}}=yield O(cn,I);yield R({type:"save",payload:{HotList:ve}})},*getDiscountList({payload:I},{call:O,put:R}){const{data:{discount_list:ve}}=yield O(tn,I);yield R({type:"save",payload:{DiscountList:ve}})},*getPaidSubjects({payload:I},{call:O,put:R}){const{data:ve}=yield O(fn,I);yield R({type:"save",payload:{SubjectList:ve}})},*getTags({payload:I},{call:O,put:R}){const{data:{list:ve}}=yield O(Hn,I);yield R({type:"save",payload:{Tags:ve}})},*getUserComments({payload:I},{call:O,put:R}){const{data:{list:ve}}=yield O(Kn,I);yield R({type:"save",payload:{UserComments:ve}})},*getInfoShow({payload:I},{call:O,put:R}){const{data:ve}=yield O(fi,I);yield R({type:"save",payload:{InfoShow:ve}})}},reducers:{save(I,O){return gi(gi({},I),O.payload)}}},Ss={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Na=e(50958),$a=Object.defineProperty,za=Object.getOwnPropertySymbols,Ii=Object.prototype.hasOwnProperty,ga=Object.prototype.propertyIsEnumerable,La=(I,O,R)=>O in I?$a(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Ka=(I,O)=>{for(var R in O||(O={}))Ii.call(O,R)&&La(I,R,O[R]);if(za)for(var R of za(O))ga.call(O,R)&&La(I,R,O[R]);return I},Ja={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:I},{call:O,put:R}){const ve=yield O(Na.Ub,I);return yield R({type:"save",payload:{privateMessageDetails:ve||[]}}),ve},*getTidings({payload:I},{call:O,put:R}){const ve=yield O(Na.AD,I);yield R({type:"save",payload:{tidingsList:ve||[]}})},*getPrivateMessages({payload:I},{call:O,put:R}){const ve=yield O(Na.V8,I);return yield R({type:"save",payload:{privateMessage:ve||[]}}),ve},*getUsersForPrivateMessages({payload:I},{call:O,put:R}){const ve=yield O(Na.QJ,I);return yield R({type:"save",payload:{userPrivateMessage:ve||[]}}),ve},*unreadMessageInfo({payload:I},{call:O,put:R}){const ve=yield O(Na.Ig,I);yield R({type:"save",payload:{unreadInfo:ve||[]}})},*getRecentContacts({payload:I},{call:O,put:R}){const ve=yield O(Na.Ko,I);return yield R({type:"save",payload:{recentContacts:ve||[]}}),ve},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Ka({},I)}})}},reducers:{save(I,O){return Ka(Ka({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Ea=e(93629),Ns=e(51257),ea=e(32162),cs=Object.defineProperty,la=Object.defineProperties,Ya=Object.getOwnPropertyDescriptors,gs=Object.getOwnPropertySymbols,ya=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Te=(I,O,R)=>O in I?cs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,yr=(I,O)=>{for(var R in O||(O={}))ya.call(O,R)&&Te(I,R,O[R]);if(gs)for(var R of gs(O))be.call(O,R)&&Te(I,R,O[R]);return I},Kr=(I,O)=>la(I,Ya(O));const gr=(I,O)=>{var R,ve,ze,Jr,Jn,Vi,Mi,Za,Xs;if(!I)return;const{exam:ei,single_questions:hs,multiple_questions:Fo,judgement_questions:ks,program_questions:so,completion_questions:al,subjective_questions:pl,practical_questions:sl,combination_questions:Rc,bprogram_questions:ku}=I||{},Ru=[yr({type:"SINGLE",question_type:0,name:((R=O==null?void 0:O.find(as=>as.value==ea.fw[0].nameType))==null?void 0:R.name)||ea.fw[0].name},hs),yr({type:"MULTIPLE",question_type:1,name:((ve=O==null?void 0:O.find(as=>as.value==ea.fw[1].nameType))==null?void 0:ve.name)||ea.fw[1].name},Fo),yr({type:"JUDGMENT",question_type:2,name:((ze=O==null?void 0:O.find(as=>as.value==ea.fw[2].nameType))==null?void 0:ze.name)||ea.fw[2].name},ks),yr({type:"PROGRAM",question_type:6,name:((Jr=O==null?void 0:O.find(as=>as.value==ea.fw[6].nameType))==null?void 0:Jr.name)||ea.fw[6].name},so),yr({type:"COMPLETION",question_type:3,name:((Jn=O==null?void 0:O.find(as=>as.value==ea.fw[3].nameType))==null?void 0:Jn.name)||ea.fw[3].name},al),yr({type:"SUBJECTIVE",question_type:4,name:((Vi=O==null?void 0:O.find(as=>as.value==ea.fw[4].nameType))==null?void 0:Vi.name)||ea.fw[4].name},pl),yr({type:"PRACTICAL",question_type:5,name:((Mi=O==null?void 0:O.find(as=>as.value==ea.fw[5].nameType))==null?void 0:Mi.name)||ea.fw[5].name},sl),yr({type:"COMBINATION",question_type:7,name:((Za=O==null?void 0:O.find(as=>as.value==ea.fw[7].nameType))==null?void 0:Za.name)||ea.fw[7].name},Rc),yr({type:"BPROGRAM",question_type:8,name:((Xs=O==null?void 0:O.find(as=>as.value==ea.fw[8].nameType))==null?void 0:Xs.name)||ea.fw[8].name},ku)],nc=[];if(I.sort_by_qustion_type)for(const as of I.qustion_type_order_name_en)nc.push(Ru.find(ol=>ol.type===as));const qu=(I.sort_by_qustion_type?nc:Ru).filter(as=>(as==null?void 0:as.questions_count)>0).map((as,ol)=>{var ic;return yr(yr({},as),{number:(0,Ns.EM)(ol+1),questions:(ic=as==null?void 0:as.questions)==null?void 0:ic.map(Bo=>Kr(yr({},Bo),{shixun:Bo.examination_bank_shixun_challenges,question_type:as.question_type}))})});return{exam:ei,questionList:qu}};var Wr=e(55305),xn=Object.defineProperty,Gn=Object.getOwnPropertySymbols,Di=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,Rn=(I,O,R)=>O in I?xn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,En=(I,O)=>{for(var R in O||(O={}))Di.call(O,R)&&Rn(I,R,O[R]);if(Gn)for(var R of Gn(O))On.call(O,R)&&Rn(I,R,O[R]);return I},ja={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:I},{call:O,put:R}){return yield O(Ea.a2,I)},*postCheckExaminationBanks({payload:I},{call:O,put:R}){return yield O(Ea.q$,I)},*postPaperlibraryCopy({payload:I},{call:O,put:R}){return yield O(Ea.ID,I)},*getDisciplines({payload:I},{call:O,put:R}){const ve=yield O(Ea.d1,I);return yield R({type:"save",payload:{disciplinesData:En({},ve)}}),ve},*getCustomDisciplines({payload:I},{call:O,put:R}){const ve=yield O(Ea.ar,I);return yield R({type:"save",payload:{disciplinesData:En({},ve)}}),ve},*getEditDisciplines({payload:I},{call:O,put:R}){const ve=yield O(Ea.d1,I),ze=ve==null?void 0:ve.disciplines,Jr=(0,Wr.L)(ze);return yield R({type:"save",payload:{courseOptions:Jr,disciplinesData:En({},ve)}}),ve},*getTeachGroupData({payload:I},{call:O,put:R}){const ve=yield O(Ea.Dm,I);return yield R({type:"save",payload:{teachGroupData:En({},ve)}}),ve},*getPaperData({payload:I},{call:O,put:R}){const ve=yield O(Ea.iT,I),ze=yield O(Ea.cV,I),Jr=gr(ve,ze.data);return yield R({type:"save",payload:{paperData:Jr}}),ve},*getPaperlibraryList({payload:I},{call:O,put:R}){return yield O(Ea.Gd,I)},*setPublic({payload:I},{call:O,put:R}){return yield O(Ea.DF,I)},*handleDelete({payload:I},{call:O,put:R}){return yield O(Ea.fn,I)},*getCourseList({payload:I},{call:O,put:R}){return yield O(Ea.tS,I)},*postBatchSendToCourse({payload:I},{call:O,put:R}){return yield O(Ea.lc,I)},*sendToClass({payload:I},{call:O,put:R}){return yield O(Ea.kp,I)},*adjustPosition({payload:I},{call:O,put:R}){return yield O(Ea.qN,I)},*setScore({payload:I},{call:O,put:R}){return yield O(Ea.ts,I)},*handleDeleteEditQuestion({payload:I},{call:O,put:R}){return yield O(Ea.NC,I)},*batchSetScore({payload:I},{call:O,put:R}){return yield O(Ea.YP,I)},*batchDelete({payload:I},{call:O,put:R}){return yield O(Ea.Hm,I)},*updatePaper({payload:I},{call:O,put:R}){return yield O(Ea.jK,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:En({},I)}})}},reducers:{save(I,O){return En(En({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},Eo=Object.defineProperty,ho=Object.getOwnPropertySymbols,eu=Object.prototype.hasOwnProperty,xl=Object.prototype.propertyIsEnumerable,Uu=(I,O,R)=>O in I?Eo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,_u=(I,O)=>{for(var R in O||(O={}))eu.call(O,R)&&Uu(I,R,O[R]);if(ho)for(var R of ho(O))xl.call(O,R)&&Uu(I,R,O[R]);return I},xu={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ea.Dq,I);return yield ve({type:"save",payload:{exerciseExportHeadData:_u({},ze)}}),ze},*editExercise({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ea.Di,I);return yield ve({type:"save",payload:{editData:_u({},ze)}}),ze},*getTagDiscipline({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(He.YY,I);return yield ve({type:"save",payload:{tagDisciplineData:_u({},ze)}}),ze},*editExerciseQuestion({payload:I,callback:O},{call:R,put:ve}){return yield R(Ea.oF,I)},*addExerciseQuestion({payload:I,callback:O},{call:R,put:ve}){return yield R(Ea.oF,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:_u({},I)}})}},reducers:{save(I,O){return _u(_u({},I),O.payload)},modifyTitle(I,O){const R=(0,Fe.cloneDeep)(I);return R.editData.exercise.exercise_name=O.payload,R}},subscriptions:{setup({dispatch:I,history:O}){}}},We=e(36714),Z=Object.defineProperty,q=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Ie=(I,O,R)=>O in I?Z(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Ye=(I,O)=>{for(var R in O||(O={}))ie.call(O,R)&&Ie(I,R,O[R]);if(q)for(var R of q(O))he.call(O,R)&&Ie(I,R,O[R]);return I},jt={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:I},{call:O,put:R}){const ve=yield O(We.Ax,I);yield R({type:"save",payload:{discusses:Ye({},ve)}})},*getPathsDetail({payload:I},{call:O,put:R}){const ve=yield O(We.lk,I);return yield R({type:"save",payload:{detail:Ye({},ve)}}),ve},*getCourseDetail({payload:I},{call:O,put:R}){const ve=yield O(We.Sp,I);return yield R({type:"save",payload:{detail:Ye({},ve)}}),ve},*getRightData({payload:I},{call:O,put:R}){const ve=yield O(We.AQ,I);yield R({type:"save",payload:{rightData:Ye({},ve)}})},*getCoureses({payload:I},{call:O,put:R}){const ve=yield O(We.ue,I);yield R({type:"save",payload:{Courses:Ye({},ve)}})},*getStageChildrenData({payload:I},{call:O,put:R}){const ve=yield O(We.w4,I);return yield R({type:"save",payload:{StageChildrenData:ve}}),ve},*getStageData({payload:I},{call:O,put:R}){var ve,ze;let Jr=null;I!=null&&I.show_course_section?Jr=yield O(We.yN,I):Jr=yield O(We.p,I),yield R({type:"save",payload:{stageData:((ve=Jr==null?void 0:Jr.data)==null?void 0:ve.stages)||(Jr==null?void 0:Jr.stages)||[],isShowSchedule:((ze=Jr==null?void 0:Jr.data)==null?void 0:ze.is_show_schedule)||(Jr==null?void 0:Jr.is_show_schedule)||!1}})},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Ye({},I)}})}},reducers:{save(I,O){return Ye(Ye({},I),O.payload)}}},nr=Object.defineProperty,Pt=Object.getOwnPropertySymbols,Ur=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,vn=(I,O,R)=>O in I?nr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Tn=(I,O)=>{for(var R in O||(O={}))Ur.call(O,R)&&vn(I,R,O[R]);if(Pt)for(var R of Pt(O))Qr.call(O,R)&&vn(I,R,O[R]);return I},Ei={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:I},{call:O,put:R}){const ve=I,ze=yield O(We.tS,I);return yield R({type:"save",payload:Tn({listParams:ve},ze)}),ze},*getMenus({payload:I},{call:O,put:R}){const ve=yield O(We.fh,I);yield R({type:"save",payload:{menus:ve}})},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Tn({},I)}})},*clearListParams({payload:I},{call:O,put:R}){yield R({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(I,O){return Tn(Tn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},ca=Object.defineProperty,ta=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,es=(I,O,R)=>O in I?ca(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,ds=(I,O)=>{for(var R in O||(O={}))fa.call(O,R)&&es(I,R,O[R]);if(ta)for(var R of ta(O))Ua.call(O,R)&&es(I,R,O[R]);return I},Xi={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:I},{call:O,put:R}){return yield O(We.tu,I)},*submitCourse({payload:I},{call:O,put:R}){return yield O(We.pU,I)},*getEditCourseData({payload:I},{call:O,put:R}){return yield O(We.mQ,I)},*getSchoolOption({payload:I},{call:O,put:R}){return yield O(We.GY,I)},*appplySchool({payload:I},{call:O,put:R}){return yield O(We.bz,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:ds({},I)}})}},reducers:{save(I,O){return ds(ds({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},$s=Object.defineProperty,Ps=Object.defineProperties,Sa=Object.getOwnPropertyDescriptors,po=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,Is=(I,O,R)=>O in I?$s(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Ds=(I,O)=>{for(var R in O||(O={}))yo.call(O,R)&&Is(I,R,O[R]);if(po)for(var R of po(O))tu.call(O,R)&&Is(I,R,O[R]);return I},Vo=(I,O)=>Ps(I,Sa(O)),el={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:I},{call:O,put:R}){const ve=yield O(We.nq,I);yield R({type:"save",payload:{SubjectUseInfos:ve}})},*getRankList({payload:I},{call:O,put:R}){const ve=yield O(We.Fg,I);yield R({type:"save",payload:{RankList:Vo(Ds({},ve),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_list)||[]]})}})},*getStatisticsBody({payload:I},{call:O,put:R}){const ve=yield O(We.Gz,I);yield R({type:"save",payload:{SBody:ve}})},*getOnlineCount({payload:I},{call:O,put:R}){const ve=yield O(We.hS,I);yield R({type:"save",payload:{OnlineCount:ve==null?void 0:ve.data}})},*getStatisticsHeader({payload:I},{call:O,put:R}){const ve=yield O(We.Hl,I);yield R({type:"save",payload:{SHeader:ve}})}},reducers:{save(I,O){return Ds(Ds({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},Ma=e(46722),ou=Object.defineProperty,Ws=Object.getOwnPropertySymbols,zu=Object.prototype.hasOwnProperty,Tu=Object.prototype.propertyIsEnumerable,Oo=(I,O,R)=>O in I?ou(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Po=(I,O)=>{for(var R in O||(O={}))zu.call(O,R)&&Oo(I,R,O[R]);if(Ws)for(var R of Ws(O))Tu.call(O,R)&&Oo(I,R,O[R]);return I},Ko={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:I},{call:O,put:R}){const ve=yield O(Ma.ex,I);return yield R({type:"save",payload:{groupfolderList:ve}}),ve},*getDisciplines({payload:I},{call:O,put:R}){const ve=yield O(Ma.d1,I);return yield R({type:"save",payload:{disciplinesData:Po({},ve)}}),ve},*getEditDisciplines({payload:I},{call:O,put:R}){const ve=yield O(Ma.d1,I),ze=ve==null?void 0:ve.disciplines,Jr=(0,Wr.L)(ze);return yield R({type:"save",payload:{courseOptions:Jr,disciplinesData:Po({},ve)}}),ve},*getBasketList({payload:I},{call:O,put:R}){const ve=yield O(Ma.Qj,I);return yield R({type:"save",payload:{basketData:Po({},ve)}}),ve},*getTeachGroupData({payload:I},{call:O,put:R}){const ve=yield O(Ma.Dm,I);return yield R({type:"save",payload:{teachGroupData:Po({},ve)}}),ve},*getEditData({payload:I},{call:O,put:R}){const ve=yield O(Ma.FG,I);return yield R({type:"save",payload:{editData:Po({},ve)}}),ve},*getEditDataBprogram({payload:I},{call:O,put:R}){const ve=yield O(Ma.Bo,I);return yield R({type:"save",payload:{editData:Po({},ve)}}),ve},*getGroupData({payload:I},{call:O,put:R}){const ve=yield O(Ma.hI,I);return yield R({type:"save",payload:{groupData:Po({},ve)}}),ve},*getItemBanks({payload:I},{call:O,put:R}){const ve=yield O(Ma.Of,I);return yield R({type:"save",payload:{itemBanks:Po({},ve)}}),ve},*setPrivate({payload:I},{call:O,put:R}){return yield O(Ma.Pl,I)},*revokePublish({payload:I},{call:O,put:R}){return yield O(Ma.IJ,I)},*setPublic({payload:I},{call:O,put:R}){return yield O(Ma.DF,I)},*handleDelete({payload:I},{call:O,put:R}){return yield O(Ma.fn,I)},*startExperience({payload:I},{call:O,put:R}){return yield O(Ma.Bd,I)},*cancel({payload:I},{call:O,put:R}){return yield O(Ma.al,I)},*select({payload:I},{call:O,put:R}){return yield O(Ma.Ys,I)},*examUnselectAll({payload:I},{call:O,put:R}){return yield O(Ma.rV,I)},*basketDelete({payload:I},{call:O,put:R}){return yield O(Ma.x5,I)},*unselectAll({payload:I},{call:O,put:R}){return yield O(Ma.HF,I)},*addKnowledge({payload:I},{call:O,put:R}){return yield O(Ma.U6,I)},*editProblemset({payload:I},{call:O,put:R}){return yield O(Ma.Wk,I)},*addProblemset({payload:I},{call:O,put:R}){return yield O(Ma.Mr,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Po({},I)}})}},reducers:{save(I,O){return Po(Po({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},El=Object.defineProperty,js=Object.getOwnPropertySymbols,Ho=Object.prototype.hasOwnProperty,Zu=Object.prototype.propertyIsEnumerable,jl=(I,O,R)=>O in I?El(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Cu=(I,O)=>{for(var R in O||(O={}))Ho.call(O,R)&&jl(I,R,O[R]);if(js)for(var R of js(O))Zu.call(O,R)&&jl(I,R,O[R]);return I},Ul={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:I},{call:O,put:R}){const ve=yield O(Ma.iT,I),ze=(0,Wr.r)(ve);return yield R({type:"save",payload:{paperData:ze}}),ve},*getEditDisciplines({payload:I},{call:O,put:R}){const ve=yield O(Ma.d1,I),ze=ve==null?void 0:ve.disciplines,Jr=(0,Wr.L)(ze);return yield R({type:"save",payload:{courseOptions:Jr,disciplinesData:Cu({},ve)}}),ve},*setScore({payload:I},{call:O,put:R}){return yield O(Ma.ts,I)},*handleDelete({payload:I},{call:O,put:R}){return yield O(Ma.Cn,I)},*batchSetScore({payload:I},{call:O,put:R}){return yield O(Ma.YP,I)},*batchDelete({payload:I},{call:O,put:R}){return yield O(Ma.Hm,I)},*adjustPosition({payload:I},{call:O,put:R}){return yield O(Ma.qN,I)},*newPreviewProblemset({payload:I},{call:O,put:R}){return yield O(Ma.et,I)},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Cu({},I)}})}},reducers:{save(I,O){return Cu(Cu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},Sl=e(506),lc=Object.defineProperty,no=Object.getOwnPropertySymbols,zl=Object.prototype.hasOwnProperty,ru=Object.prototype.propertyIsEnumerable,fl=(I,O,R)=>O in I?lc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Us=(I,O)=>{for(var R in O||(O={}))zl.call(O,R)&&fl(I,R,O[R]);if(no)for(var R of no(O))ru.call(O,R)&&fl(I,R,O[R]);return I},Uc={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:I},{call:O,put:R}){const ve=yield O(Sl.Go,I);return yield R({type:"save",payload:{restful:Us({},ve)}}),ve},*getRestfulDetail({payload:I},{call:O,put:R}){const ve=yield O(Sl.H5,I);return yield R({type:"save",payload:{restfulDetail:Us({},(ve==null?void 0:ve.data)||{})}}),(ve==null?void 0:ve.data)||{}},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Us({},I)}})}},reducers:{save(I,O){return Us(Us({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},ii=e(75736);const wf=(I={})=>{var O,R,ve,ze,Jr,Jn;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(O=I==null?void 0:I.content_info)==null?void 0:O.status,username:(R=I==null?void 0:I.content_info)==null?void 0:R.username,time:(ve=I==null?void 0:I.content_info)==null?void 0:ve.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(ze=I==null?void 0:I.perference_info)==null?void 0:ze.status,username:(Jr=I==null?void 0:I.perference_info)==null?void 0:Jr.username,time:(Jn=I==null?void 0:I.perference_info)==null?void 0:Jn.time}]};var zc=Object.defineProperty,Zc=Object.defineProperties,wu=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertySymbols,Eu=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,Al=(I,O,R)=>O in I?zc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Fa=(I,O)=>{for(var R in O||(O={}))Eu.call(O,R)&&Al(I,R,O[R]);if(Ec)for(var R of Ec(O))mu.call(O,R)&&Al(I,R,O[R]);return I},As=(I,O)=>Zc(I,wu(O)),Zl={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:I},{call:O,put:R}){const ve=yield O(ii.Po,I);return yield R({type:"save",payload:{detail:Fa({},ve)}}),ve},*getMirrorApplies({payload:I},{call:O,put:R}){const ve=yield O(ii.tX,I);return yield R({type:"save",payload:{mirrorApplies:Fa({},(ve==null?void 0:ve.data)||{})}}),ve},*getRightData({payload:I},{call:O,put:R}){const ve=yield O(ii.AQ,I);yield R({type:"save",payload:{rightData:Fa({},ve)}})},*getChallengesData({payload:I},{call:O,put:R}){const ve=yield O(ii.n5,I);yield R({type:"save",payload:{challenges:Fa({},ve)}})},*saveCopyForExercise({payload:I},{call:O,put:R}){return yield O(ii.FB,I)},*execJupyter({payload:I},{call:O,put:R}){return yield O(ii.BK,I)},*execShixun({payload:I},{call:O,put:R}){const ve=yield O(ii.Ir,I);return(ve==null?void 0:ve.status)===-3&&(0,Ns.eF)(),ve},*openChallenge({payload:I},{call:O,put:R}){return yield O(ii.dK,I)},*challengeMoveUp({payload:I},{call:O,put:R}){return yield O(ii.zD,I)},*challengeMoveDown({payload:I},{call:O,put:R}){return yield O(ii.hn,I)},*cancelCollect({payload:I},{call:O,put:R}){return yield O(ii.rs,I)},*collect({payload:I},{call:O,put:R}){return yield O(ii.KM,I)},*searchUserCourses({payload:I},{call:O,put:R}){return yield O(ii._7,I)},*sendToCourse({payload:I},{call:O,put:R}){return yield O(ii.Q,I)},*cancelRelease({payload:I},{call:O,put:R}){return yield O(ii.Ne,I)},*cancelPublic({payload:I},{call:O,put:R}){return yield O(ii.Er,I)},*applyPublic({payload:I},{call:O,put:R}){return yield O(ii.WO,I)},*release({payload:I},{call:O,put:R}){return yield O(ii.Ar,I)},*updateAuditSituation({payload:I},{call:O,put:R}){return yield O(ii.LP,I)},*getCollaboratorsData({payload:I},{call:O,put:R}){return yield O(ii.j8,I)},*addCollaborator({payload:I},{call:O,put:R}){return yield O(ii.OV,I)},*addTeachGroupMember({payload:I},{call:O,put:R}){return yield O(ii.l3,I)},*getChangeManager({payload:I},{call:O,put:R}){return yield O(ii.P2,I)},*changeManager({payload:I},{call:O,put:R}){return yield O(ii.X$,I)},*deleteCollaborators({payload:I},{call:O,put:R}){return yield O(ii.xk,I)},*getRankingList({payload:I},{call:O,put:R}){return yield O(ii.E4,I)},*getMirrorScript({payload:I},{call:O,put:R}){return yield O(ii.Z2,I)},*getScriptContent({payload:I},{call:O,put:R}){return yield O(ii.Bj,I)},*getCustomScript({payload:I},{call:O,put:R}){return yield O(ii.Wi,I)},*updateSettingBasicInfo({payload:I},{call:O,put:R}){return yield O(ii.ZO,I)},*getShixunQuote({payload:I},{call:O,put:R}){return yield O(ii.Gr,I)},*deleteShixun({payload:I},{call:O,put:R}){return yield O(ii.Ps,I)},*permanentClose({payload:I},{call:O,put:R}){return yield O(ii.U9,I)},*getDepartments({payload:I},{call:O,put:R}){return yield O(ii.Ql,I)},*updatePermissionSetting({payload:I},{call:O,put:R}){return yield O(ii.aH,I)},*updateLearnSetting({payload:I},{call:O,put:R}){return yield O(ii.yE,I)},*updateSetting({payload:I},{call:O,put:R}){return yield O(ii.m7,I)},*getSetData({payload:I},{call:O,put:R}){return yield O(ii.U0,I)},*deleteDataSet({payload:I},{call:O,put:R}){return yield O(ii.uo,I)},*deleteGitFile({payload:I},{call:O,put:R}){return yield O(ii.sr,I)},*deleteGitFiles({payload:I},{call:O,put:R}){return yield O(ii.p0,I)},*moveGitFile({payload:I},{call:O,put:R}){return yield O(ii.IT,I)},*moveGitFiles({payload:I},{call:O,put:R}){return yield O(ii.t2,I)},*getRepository({payload:I},{call:O,put:R}){const ve=yield O(ii.Ag,I);return yield R({type:"save",payload:{repository:Fa({},ve)}}),Fa({},ve)},*getRepositorys({payload:I},{call:O,put:R}){const ve=yield O(ii.Wl,I);return yield R({type:"save",payload:{repository:Fa({},ve)}}),Fa({},ve)},*getRepositorys({payload:I},{call:O,put:R}){const ve=yield O(ii.Wl,I);return yield R({type:"save",payload:{repository:Fa({},ve)}}),Fa({},ve)},*getSecretRepository({payload:I},{call:O,put:R}){const ve=yield O(ii.w,I);return yield R({type:"save",payload:{secretRepository:Fa({},ve)}}),ve},*addRepositoryFile({payload:I},{call:O,put:R}){return yield O(ii.v3,I)},*addRepositoryFiles({payload:I},{call:O,put:R}){return yield O(ii.fL,I)},*getRepositoryCommit({payload:I},{call:O,put:R}){return yield O(ii.Je,I)},*getFileContent({payload:I},{call:O,put:R}){const ve=yield O(ii.LK,I);return yield R({type:"save",payload:{fileContent:As(Fa({},ve),{params:I})}}),ve},*getFileContents({payload:I},{call:O,put:R}){const ve=yield O(ii.nu,I);return yield R({type:"save",payload:{fileContent:As(Fa({},ve),{params:I})}}),ve},*updateRepositoryFile({payload:I},{call:O,put:R}){return yield O(ii.kF,I)},*updateRepositoryFiles({payload:I},{call:O,put:R}){return yield O(ii.jq,I)},*uploadGitFolder({payload:I},{call:O,put:R}){return yield O(ii.Op,I)},*updateCollaboratorEditable({payload:I},{call:O,put:R}){return yield O(ii.Dz,I)},*getSettingsData({payload:I},{call:O,put:R}){const ve=yield O(ii.DC,I);yield R({type:"save",payload:{setting:Fa({},ve)}})},*getChallengesNew({payload:I},{call:O,put:R}){const ve=yield O(ii.km,I);yield R({type:"save",payload:{challengesNew:Fa({},ve)}})},*getChallengesEdit({payload:I},{call:O,put:R}){const ve=yield O(ii.q0,I);return yield R({type:"save",payload:{challengesEdit:Fa({},ve)}}),ve},*getAuditSituationData({payload:I},{call:O,put:R}){const ve=yield O(ii.GI,I),ze=wf(ve);yield R({type:"save",payload:{auditSituationData:ze}})},*getEditChallengesQuestion({payload:I},{call:O,put:R}){const ve=yield O(ii.UQ,I);return yield R({type:"save",payload:{editChallengesQuestion:ve}}),ve},*getInfoWithJupyterLab({payload:I},{call:O,put:R}){const ve=yield O(ii.mI,I);return yield R({type:"save",payload:{infoWithJupyterLab:ve}}),ve},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Fa({},I)}})}},reducers:{save(I,O){return console.log("reducers:",I,O),Fa(Fa({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},Hl=Object.defineProperty,nu=Object.getOwnPropertySymbols,Sc=Object.prototype.hasOwnProperty,Hc=Object.prototype.propertyIsEnumerable,Hu=(I,O,R)=>O in I?Hl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Pu=(I,O)=>{for(var R in O||(O={}))Sc.call(O,R)&&Hu(I,R,O[R]);if(nu)for(var R of nu(O))Hc.call(O,R)&&Hu(I,R,O[R]);return I},Wl={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:I},{call:O,put:R}){const ve=yield O(ii.he,I),ze=Pu({},I);return yield R({type:"save",payload:Pu({listParams:ze},ve)}),ve},*getMenus({payload:I},{call:O,put:R}){var ve;const ze=yield O(ii.I_,I);(ve=ze==null?void 0:ze.disciplines)==null||ve.map(Jr=>(Jr.sub_repertoires=Jr.sub_disciplines,Jr)),yield R({type:"save",payload:{menus:[...(ze==null?void 0:ze.disciplines)||[]]}})},*clearListParams({payload:I},{call:O,put:R}){yield R({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(I,O){return Pu(Pu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},Tl=Object.defineProperty,Pa=Object.getOwnPropertySymbols,ef=Object.prototype.hasOwnProperty,tf=Object.prototype.propertyIsEnumerable,Wu=(I,O,R)=>O in I?Tl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Gu=(I,O)=>{for(var R in O||(O={}))ef.call(O,R)&&Wu(I,R,O[R]);if(Pa)for(var R of Pa(O))tf.call(O,R)&&Wu(I,R,O[R]);return I},Ac={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:I},{call:O,put:R}){const ve=yield O(ii.b8,I);return yield R({type:"save",payload:{newData:Gu({},ve)}}),ve},*deleteAttachment({payload:I},{call:O,put:R}){return yield O(ii.OW,I)},*applyShixunMirror({payload:I},{call:O,put:R}){return yield O(ii.EH,I)},*submitShixuns({payload:I},{call:O,put:R}){return yield O(ii.eX,I)},*getShixunsJupyterLab({payload:I},{call:O,put:R}){const ve=yield O(ii.Gu,I);return yield R({type:"save",payload:{newData:Gu({},ve)}}),ve},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Gu({},I)}})},*getEnvironmentData({payload:I},{call:O,put:R}){const ve=yield O(ii.K,I);return console.log(ve,"response"),yield R({type:"save",payload:{environmentData:Gu({},ve.data)}}),ve}},reducers:{save(I,O){return Gu(Gu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},uu=Object.defineProperty,cc=Object.getOwnPropertySymbols,Cl=Object.prototype.hasOwnProperty,Gl=Object.prototype.propertyIsEnumerable,Vl=(I,O,R)=>O in I?uu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Kl=(I,O)=>{for(var R in O||(O={}))Cl.call(O,R)&&Vl(I,R,O[R]);if(cc)for(var R of cc(O))Gl.call(O,R)&&Vl(I,R,O[R]);return I},Vu={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:I},{call:O,put:R}){const ve=yield O(ii.e,I);yield R({type:"save",payload:{ShixunUseInfos:ve}})},*getRankList({payload:I},{call:O,put:R}){const ve=yield O(ii.Fg,I);yield R({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(ve==null?void 0:ve.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(ve==null?void 0:ve.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(ve==null?void 0:ve.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(ve==null?void 0:ve.quote_list)||[]]}}})},*getStatisticsBody({payload:I},{call:O,put:R}){const ve=yield O(ii.Gz,I);yield R({type:"save",payload:{SBody:ve}})},*getOnlineCount({payload:I},{call:O,put:R}){const ve=yield O(ii.hS,I);yield R({type:"save",payload:{OnlineCount:ve==null?void 0:ve.data}})},*getStatisticsHeader({payload:I},{call:O,put:R}){const ve=yield O(ii.Hl,I);yield R({type:"save",payload:{SHeader:ve}})}},reducers:{save(I,O){return Kl(Kl({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},fc=(I,O,R)=>new Promise((ve,ze)=>{var Jr=Mi=>{try{Vi(R.next(Mi))}catch(Za){ze(Za)}},Jn=Mi=>{try{Vi(R.throw(Mi))}catch(Za){ze(Za)}},Vi=Mi=>Mi.done?ve(Mi.value):Promise.resolve(Mi.value).then(Jr,Jn);Vi((R=R.apply(I,O)).next())});function Wc(I){return fc(this,null,function*(){return(0,mn.ZP)("/api/shixuns/new.json",{method:"Get",params:I})})}function Tc(I){return fc(this,null,function*(){return(0,mn.ZP)(`/api/shixuns/${I.id}/required_status.json`,{method:"Get",params:{}})})}var Cc=Object.defineProperty,Yl=Object.defineProperties,dc=Object.getOwnPropertyDescriptors,Pc=Object.getOwnPropertySymbols,ql=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,Su=(I,O,R)=>O in I?Cc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Ts=(I,O)=>{for(var R in O||(O={}))ql.call(O,R)&&Su(I,R,O[R]);if(Pc)for(var R of Pc(O))dl.call(O,R)&&Su(I,R,O[R]);return I},Gc=(I,O)=>Yl(I,dc(O)),Ic={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:I},{call:O,put:R}){yield R({type:"save",payload:Ts({},I)})},*getTestData({payload:I},{call:O,put:R}){const ve=yield O(Wc,I);yield R({type:"save",payload:{data:ve}})},*setUpdateIndex({payload:I},{call:O,put:R}){yield R({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:I},{call:O,put:R}){const ve=yield O(Tc,I);yield R({type:"save",payload:Ts({},ve.data)})},*setSideBarTabs({payload:I},{call:O,put:R}){yield R({type:"sideBar",payload:Ts({},I)})}},reducers:{save(I,O){return Ts(Ts({},I),O.payload)},sideBar(I,O){return Gc(Ts({},I),{sideBar:Ts(Ts({},I.sideBar),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){}}},io=e(86245),Xl=Object.defineProperty,ko=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Pl=(I,O,R)=>O in I?Xl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,bo=(I,O)=>{for(var R in O||(O={}))Ql.call(O,R)&&Pl(I,R,O[R]);if(ko)for(var R of ko(O))ke.call(O,R)&&Pl(I,R,O[R]);return I},Os={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:I},{call:O,put:R}){const ve=yield O(io.JJ,I);return yield R({type:"save",payload:{homeworkBanksDetail:bo({},ve)}}),ve},*getSystemUpdate({payload:I},{call:O,put:R}){const ve=yield O(io.n0,I);return yield R({type:"save",payload:{systemUpdate:bo({},ve)}}),ve},*getHomepageInfo({payload:I},{call:O,put:R}){const ve=yield O(io.DA,I);return yield R({type:"save",payload:{homepageInfo:bo({},ve)}}),ve},*signed({payload:I},{call:O,put:R}){return yield O(io.qN,I)},*getCourses({payload:I},{call:O,put:R}){return yield O(io.Ho,I)},*getShixuns({payload:I},{call:O,put:R}){return yield O(io.rV,I)},*getPaths({payload:I},{call:O,put:R}){return yield O(io.w3,I)},*getProjects({payload:I},{call:O,put:R}){return yield O(io.mW,I)},*getVideos({payload:I},{call:O,put:R}){return yield O(io.WY,I)},*getReviewVideos({payload:I},{call:O,put:R}){return yield O(io.Qx,I)},*deleteVideo({payload:I},{call:O,put:R}){return yield O(io.FM,I)},*getQuestionBanks({payload:I},{call:O,put:R}){return yield O(io.ai,I)},*topicsSetPublic({payload:I},{call:O,put:R}){return yield O(io.Cx,I)},*topicsDelete({payload:I},{call:O,put:R}){return yield O(io.WS,I)},*topicGetCourseList({payload:I},{call:O,put:R}){return yield O(io.gI,I)},*topicSendToClass({payload:I},{call:O,put:R}){return I.object_type==="videos"?yield O(io.Fn,I):yield O(io.Ef,I)},*logWatchHistory({payload:I},{call:O,put:R}){const ve=yield O(io.lO,I);return ve==null?void 0:ve.log_id},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:bo({},I)}})}},reducers:{save(I,O){return bo(bo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},_o=Object.defineProperty,vu=Object.getOwnPropertySymbols,Ro=Object.prototype.hasOwnProperty,tl=Object.prototype.propertyIsEnumerable,Ku=(I,O,R)=>O in I?_o(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,Lo=(I,O)=>{for(var R in O||(O={}))Ro.call(O,R)&&Ku(I,R,O[R]);if(vu)for(var R of vu(O))tl.call(O,R)&&Ku(I,R,O[R]);return I},rl=(I,O)=>{var R={};for(var ve in I)Ro.call(I,ve)&&O.indexOf(ve)<0&&(R[ve]=I[ve]);if(I!=null&&vu)for(var ve of vu(I))O.indexOf(ve)<0&&tl.call(I,ve)&&(R[ve]=I[ve]);return R},hc={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:I},{call:O,put:R}){const ve=I,{to:ze}=ve,Jr=rl(ve,["to"]);if(!(yield O(io.Es,Jr)).status)try{ze?f.history.replace(ze):location.reload()}catch(Vi){}},*showPopLogin({payload:I},{put:O}){yield O({type:"save",payload:{showPopLogin:I.showPopLogin,showClosable:I.showClosable}})},*setBindAccountModal({payload:I},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:I.bindAccountModalVisible,userInfoForBindAccountModal:I.userInfoForBindAccountModal,loginInfo:I.loginInfo}})},*getUserInfo({payload:I},{call:O,put:R}){const ve=yield O(io.bG,Lo({},I));return localStorage.userInfo=JSON.stringify(ve),yield R({type:"save",payload:{userInfo:Lo({},ve)}}),ve},*getNavigationInfo({payload:I},{call:O,put:R}){const ve=yield O(io.x4,Lo({},I));yield R({type:"save",payload:{navigationInfo:Lo({},ve)}})},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:Lo({},I)}})}},reducers:{save(I,O){return Lo(Lo({},I),O.payload)}}},nl=e(49379),cu=Object.defineProperty,nf=Object.defineProperties,Vc=Object.getOwnPropertyDescriptors,Yu=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,ec=Object.prototype.propertyIsEnumerable,Dl=(I,O,R)=>O in I?cu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,iu=(I,O)=>{for(var R in O||(O={}))gu.call(O,R)&&Dl(I,R,O[R]);if(Yu)for(var R of Yu(O))ec.call(O,R)&&Dl(I,R,O[R]);return I},Ol=(I,O)=>nf(I,Vc(O));const pc=()=>{var I,O,R,ve,ze,Jr,Jn;let Vi=window.location.href.split("/");if(!Vi.includes("video"))return;let Mi=(I=Vi[Vi.length-1])==null?void 0:I.split("?")[0];Mi=Number(Mi);const Za=(R=(O=Vi[Vi.length-1])==null?void 0:O.split("?")[1])==null?void 0:R.split("=")[1];return((ze=(ve=Vi[Vi.length-1])==null?void 0:ve.split("?")[1])==null?void 0:ze.split("=")[0])==="subject_id"?{videoId:Mi,subject_id:Za}:((Jn=(Jr=Vi[Vi.length-1])==null?void 0:Jr.split("?")[1])==null?void 0:Jn.split("=")[0])==="new_video_id"?{videoId:Mi,new_video_id:Za}:{videoId:Mi,course_id:Za}};var _c={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:pc(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:I,callback:O},{call:R,put:ve}){const ze=yield R(Ln.O2,I);return O?O(ze):yield ve({type:"save",payload:{detail:iu({},ze)}}),ze},*setVideoValue({payload:I},{call:O,put:R}){yield R({type:"save",payload:{detail:iu({},I)}})},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:iu({},I)}})},*setVideoTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{videoTabs:iu({},I)}})},*setSelectValue({payload:I},{call:O,put:R}){yield R({type:"save",payload:{selectParams:iu({},I)}})},*getStageData({payload:I},{call:O,put:R,select:ve}){const ze=yield O(Ln.yN,I),Jr=yield O(We.lk,{id:I.subject_id}),{queryParams:Jn}=yield ve(hs=>hs.videoDetail),{stages:Vi=[]}=ze,Mi=[];let Za=[],Xs={};const ei=hs=>{hs.forEach(Fo=>{String(Fo.id)===String(Jn.videoId)&&(Xs=Fo),Fo.item_type==="VideoItem"?Mi.push(Fo):Fo.item_type==="Attachment"&&Za.push(Fo),Fo.children&&Fo.children.length&&ei(Fo.children)})};Vi==null||Vi.forEach(hs=>{ei(hs.items)}),window.filterVideoSign=[...Mi],yield R({type:"save",payload:{stages:Vi,active:Xs,cust_seq:Jr.cust_seq,videoList:Mi,attachmentList:Za}})},*getVideoData({payload:I},{call:O,put:R,select:ve}){const ze=yield O(Ln.fn,I),{categories:Jr=[],coruse_videos:Jn=[]}=ze;yield R({type:"save",payload:{stages:(Jr==null?void 0:Jr.length)>0?Jr:[{coruse_videos:Jn,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:I},{call:O,put:R,select:ve}){const ze=yield O(nl.R7,I),{queryParams:Jr}=yield ve(ei=>ei.videoDetail),{stages:Jn}=ze;let Vi=[],Mi=[],Za={};const Xs=ei=>{ei.forEach(hs=>{String(hs.id)===String(Jr.videoId)&&(Za=hs),hs.item_type==="VideoItem"?Vi.push(hs):hs.item_type==="Attachment"&&Mi.push(hs),hs.children&&hs.children.length&&Xs(hs.children)})};Jn==null||Jn.forEach(ei=>{Xs(ei.items)}),window.filterVideoSign=[...Vi],yield R({type:"save",payload:{active:Za,stages:Jn,cust_seq:!0,videoList:Vi,attachmentList:Mi}})}},reducers:{save(I,O){return iu(iu({},I),O.payload)},handleListItemClick(I,O){const{videoList:R,attachmentList:ve}=I,ze=O.payload.videoId||O.payload.attachmentId,Jr=[...R,...ve].find(Jn=>`${Jn.id}`==`${ze}`);return Ol(iu({},I),{active:Jr,queryParams:iu(iu({},pc()),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}},xo=e(466),kl=Object.defineProperty,Oc=Object.getOwnPropertySymbols,kc=Object.prototype.hasOwnProperty,Mo=Object.prototype.propertyIsEnumerable,tc=(I,O,R)=>O in I?kl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,il=(I,O)=>{for(var R in O||(O={}))kc.call(O,R)&&tc(I,R,O[R]);if(Oc)for(var R of Oc(O))Mo.call(O,R)&&tc(I,R,O[R]);return I},rc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:I},{call:O,put:R}){const ve=yield O(xo.y2,I);return yield R({type:"save",payload:{Workplace:{BaseData:ve.data}}}),ve},*putEditDiscussion({payload:I},{call:O,put:R}){return yield O(xo.CH,I)},*getDiscussionDetail({payload:I},{call:O,put:R}){const ve=yield O(xo.XQ,I);return yield R({type:"save",payload:{DiscussionDetail:ve}}),ve},*postDiscussionList({payload:I},{call:O,put:R}){return yield O(xo.Ll,I)},*getDiscussionList({payload:I},{call:O,put:R}){const ve=yield O(xo.EA,I);return yield R({type:"save",payload:{DiscussionList:ve}}),ve},*postAddLessonRes({payload:I},{call:O,put:R}){return yield O(xo.cZ,I)},*getLessonResourcesList({payload:I},{call:O,put:R}){const ve=yield O(xo.b,I);return yield R({type:"save",payload:{LessonResList:ve}}),ve},*putGoodLessonsDetail({payload:I},{call:O,put:R}){return yield O(xo.To,I)},*getGoodLessonsDetail({payload:I},{call:O,put:R}){const ve=yield O(xo.FU,I);return yield R({type:"save",payload:{LessonDetail:ve}}),ve},*postGoodLessonsList({payload:I},{call:O,put:R}){return yield O(xo.Vf,I)},*getGoodLessonsList({payload:I},{call:O,put:R}){const ve=yield O(xo.G_,I);return yield R({type:"save",payload:{LessonsList:ve}}),ve},*setActionTabs({payload:I},{call:O,put:R}){yield R({type:"save",payload:{actionTabs:il({},I)}})},*setShowMenu({payload:I},{call:O,put:R}){yield R({type:"save",payload:{showMenu:I}})},*getVirtualSpacesDetails({payload:I},{call:O,put:R}){const ve=yield O(xo.sT,I);yield R({type:"save",payload:{virtualSpacesDetails:il({},ve)}})},*setVirtualSpacesLoading({payload:I},{call:O,put:R}){yield R({type:"save",payload:{loading:I}})},*getVirtualSpacesMenus({payload:I},{call:O,put:R}){const ve=yield O(xo.Sl,I);return yield R({type:"save",payload:{menus:ve}}),ve}},reducers:{save(I,O){return il(il({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:R})=>{R==="/"&&I({type:"query"})})}}};const mc={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:K},model_3:{namespace:"classrooms.attachment",model:ue},model_4:{namespace:"classrooms.boards",model:Le},model_5:{namespace:"classrooms.exercise",model:Ve},model_6:{namespace:"classrooms.graduation",model:Ce},model_7:{namespace:"classrooms.homeworks",model:Vt},model_8:{namespace:"classrooms.index",model:De},model_9:{namespace:"classrooms.new",model:vt},model_10:{namespace:"classrooms.overview",model:Br},model_11:{namespace:"classrooms.polls",model:$t},model_12:{namespace:"classrooms.teacher",model:ln},model_13:{namespace:"classrooms.video",model:Ki},model_14:{namespace:"competitions.index",model:di},model_15:{namespace:"declaration.index",model:cr},model_16:{namespace:"engineering.evaluateDetail",model:Tr},model_17:{namespace:"engineering.evaluateList",model:Ir.Z},model_18:{namespace:"engineering.index",model:Cn},model_19:{namespace:"engineering.navigation",model:Xa},model_20:{namespace:"engineering.normDetail",model:mo},model_21:{namespace:"engineering.normList",model:Do},model_22:{namespace:"forums.detail",model:jo},model_23:{namespace:"forums.index",model:Co},model_24:{namespace:"globalSetting",model:Qt},model_25:{namespace:"graduations.index",model:Xn},model_26:{namespace:"homePage",model:Yi},model_27:{namespace:"innovation.index",model:to},model_28:{namespace:"intraincourse.index",model:pa},model_29:{namespace:"loading",model:Ss},model_30:{namespace:"messages.index",model:Ja},model_31:{namespace:"paperlibrary.index",model:ja},model_32:{namespace:"paperlibrary.newPaper",model:xu},model_33:{namespace:"paths.detail",model:jt},model_34:{namespace:"paths.index",model:Ei},model_35:{namespace:"paths.new",model:Xi},model_36:{namespace:"paths.overview",model:el},model_37:{namespace:"problemset.index",model:Ko},model_38:{namespace:"problemset.preview",model:Ul},model_39:{namespace:"resetFul.index",model:Uc},model_40:{namespace:"shixuns.detail",model:Zl},model_41:{namespace:"shixuns.index",model:Wl},model_42:{namespace:"shixuns.new",model:Ac},model_43:{namespace:"shixuns.overview",model:Vu},model_44:{namespace:"shixuns.practiceSetting",model:Ic},model_45:{namespace:"user.detail",model:Os},model_46:{namespace:"user.index",model:hc},model_47:{namespace:"video.detail",model:_c},model_48:{namespace:"virtualSpaces.index",model:rc}};var sf=Object.defineProperty,Du=Object.getOwnPropertySymbols,hl=Object.prototype.hasOwnProperty,Yo=Object.prototype.propertyIsEnumerable,Zi=(I,O,R)=>O in I?sf(I,O,{enumerable:!0,configurable:!0,writable:!0,value:R}):I[O]=R,ao=(I,O)=>{for(var R in O||(O={}))hl.call(O,R)&&Zi(I,R,O[R]);if(Du)for(var R of Du(O))Yo.call(O,R)&&Zi(I,R,O[R]);return I};let Gs;function ti(I){const{pluginManager:O}=(0,f.useAppData)(),R=(0,c.useRef)(),ve=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!R.current){R.current=(0,r.Ue)(ao({history:f.history},ve.config||{}),{initialReducer:{},setupMiddlewares(ze){return[...ze]},setupApp(ze){ze._history=f.history}}),Gs=R.current,R.current.use(l()()),(ve.plugins||[]).forEach(ze=>{R.current.use(ze)});for(const ze of Object.keys(mc))R.current.model(ao({namespace:mc[ze].namespace},mc[ze].model));R.current.start()}return c.createElement(r.zt,{store:R.current._store},I.children)}function Ou(){return Gs}},18956:function(d,v,e){"use strict";e.d(v,{PZ:function(){return Wn},eU:function(){return a},B:function(){return qn},Mg:function(){return dt},lw:function(){return pt},Kd:function(){return Ot},H8:function(){return di}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(Ze){return Ze.displayName||Ze.name||"Component"}const o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p(Ze,Je){const{intlPropName:Ee="intl",forwardRef:ut=!1,enforceContext:ir=!0}=Je||{},br=Dr=>React.createElement(h,null,wr=>(ir&&invariantIntlContext(wr),React.createElement(Ze,Object.assign({},Dr,{[Ee]:wr},{ref:ut?Dr.forwardedRef:null}))));return br.displayName=`injectIntl(${f(Ze)})`,br.WrappedComponent=Ze,c(ut?React.forwardRef((Dr,wr)=>React.createElement(br,Object.assign({},Dr,{forwardedRef:wr}))):br,Ze)}var y;(function(Ze){Ze[Ze.literal=0]="literal",Ze[Ze.argument=1]="argument",Ze[Ze.number=2]="number",Ze[Ze.date=3]="date",Ze[Ze.time=4]="time",Ze[Ze.select=5]="select",Ze[Ze.plural=6]="plural",Ze[Ze.pound=7]="pound"})(y||(y={}));function _(Ze){return Ze.type===y.literal}function b(Ze){return Ze.type===y.argument}function A(Ze){return Ze.type===y.number}function k(Ze){return Ze.type===y.date}function L(Ze){return Ze.type===y.time}function T(Ze){return Ze.type===y.select}function D(Ze){return Ze.type===y.plural}function M(Ze){return Ze.type===y.pound}function B(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===0)}function N(Ze){return!!(Ze&&typeof Ze=="object"&&Ze.type===1)}function K(Ze){return{type:y.literal,value:Ze}}function G(Ze,Je){return{type:y.number,value:Ze,style:Je}}var W=function(){var Ze=function(Je,Ee){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ut,ir){ut.__proto__=ir}||function(ut,ir){for(var br in ir)ir.hasOwnProperty(br)&&(ut[br]=ir[br])},Ze(Je,Ee)};return function(Je,Ee){Ze(Je,Ee);function ut(){this.constructor=Je}Je.prototype=Ee===null?Object.create(Ee):(ut.prototype=Ee.prototype,new ut)}}(),ne=function(){return ne=Object.assign||function(Ze){for(var Je,Ee=1,ut=arguments.length;Ee<ut;Ee++){Je=arguments[Ee];for(var ir in Je)Object.prototype.hasOwnProperty.call(Je,ir)&&(Ze[ir]=Je[ir])}return Ze},ne.apply(this,arguments)},ae=function(Ze){W(Je,Ze);function Je(Ee,ut,ir,br){var Dr=Ze.call(this)||this;return Dr.message=Ee,Dr.expected=ut,Dr.found=ir,Dr.location=br,Dr.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(Dr,Je),Dr}return Je.buildMessage=function(Ee,ut){function ir(Tr){return Tr.charCodeAt(0).toString(16).toUpperCase()}function br(Tr){return Tr.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(sn){return"\\x0"+ir(sn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(sn){return"\\x"+ir(sn)})}function Dr(Tr){return Tr.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(sn){return"\\x0"+ir(sn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(sn){return"\\x"+ir(sn)})}function wr(Tr){switch(Tr.type){case"literal":return'"'+br(Tr.text)+'"';case"class":var sn=Tr.parts.map(function(Xr){return Array.isArray(Xr)?Dr(Xr[0])+"-"+Dr(Xr[1]):Dr(Xr)});return"["+(Tr.inverted?"^":"")+sn+"]";case"any":return"any character";case"end":return"end of input";case"other":return Tr.description}}function Fr(Tr){var sn=Tr.map(wr),Xr,nn;if(sn.sort(),sn.length>0){for(Xr=1,nn=1;Xr<sn.length;Xr++)sn[Xr-1]!==sn[Xr]&&(sn[nn]=sn[Xr],nn++);sn.length=nn}switch(sn.length){case 1:return sn[0];case 2:return sn[0]+" or "+sn[1];default:return sn.slice(0,-1).join(", ")+", or "+sn[sn.length-1]}}function hn(Tr){return Tr?'"'+br(Tr)+'"':"end of input"}return"Expected "+Fr(Ee)+" but "+hn(ut)+" found."},Je}(Error);function le(Ze,Je){Je=Je!==void 0?Je:{};var Ee={},ut={start:Xe},ir=Xe,br=function(be){return be.join("")},Dr=function(be){return ne({type:y.literal,value:be},ya())},wr="#",Fr=Ci("#",!1),hn=function(){return ne({type:y.pound},ya())},Tr=Ra("argumentElement"),sn="{",Xr=Ci("{",!1),nn="}",gn=Ci("}",!1),da=function(be){return ne({type:y.argument,value:be},ya())},mi=Ra("numberSkeletonId"),ci=/^['\/{}]/,Cn=co(["'","/","{","}"],!1,!1),Pi=Zs(),Oi=Ra("numberSkeletonTokenOption"),aa="/",Cs=Ci("/",!1),na=function(be){return be},vs=Ra("numberSkeletonToken"),Ms=function(be,Te){return{stem:be,options:Te}},Ba=function(be){return ne({type:0,tokens:be},ya())},sa="::",yn=Ci("::",!1),bs=function(be){return be},Xa=function(){return la.push("numberArgStyle"),!0},xs=function(be){return la.pop(),be.replace(/\s*$/,"")},ji=",",Fs=Ci(",",!1),So="number",Da=Ci("number",!1),Ji=function(be,Te,yr){return ne({type:Te==="number"?y.number:Te==="date"?y.date:y.time,style:yr&&yr[2],value:be},ya())},Qa="'",Ks=Ci("'",!1),Pn=/^[^']/,Wa=co(["'"],!0,!1),mo=/^[^a-zA-Z'{}]/,Bs=co([["a","z"],["A","Z"],"'","{","}"],!0,!1),Li=/^[a-zA-Z]/,Oa=co([["a","z"],["A","Z"]],!1,!1),ka=function(be){return ne({type:1,pattern:be},ya())},os=function(){return la.push("dateOrTimeArgStyle"),!0},Qs="date",Ao=Ci("date",!1),To="time",ws=Ci("time",!1),wa="plural",us=Ci("plural",!1),vo="selectordinal",Do=Ci("selectordinal",!1),go="offset:",$o=Ci("offset:",!1),oi=function(be,Te,yr,Kr){return ne({type:y.plural,pluralType:Te==="plural"?"cardinal":"ordinal",value:be,offset:yr?yr[2]:0,options:Kr.reduce(function(gr,Wr){var xn=Wr.id,Gn=Wr.value,Di=Wr.location;return xn in gr&&fs('Duplicate option "'+xn+'" in plural element: "'+ki()+'"',ua()),gr[xn]={value:Gn,location:Di},gr},{})},ya())},ni="select",Ga=Ci("select",!1),ts=function(be,Te){return ne({type:y.select,value:be,options:Te.reduce(function(yr,Kr){var gr=Kr.id,Wr=Kr.value,xn=Kr.location;return gr in yr&&fs('Duplicate option "'+gr+'" in select element: "'+ki()+'"',ua()),yr[gr]={value:Wr,location:xn},yr},{})},ya())},Ia="=",uo=Ci("=",!1),jo=function(be){return la.push("select"),!0},Qo=function(be,Te){return la.pop(),ne({id:be,value:Te},ya())},ls=function(be){return la.push("plural"),!0},hu=function(be,Te){return la.pop(),ne({id:be,value:Te},ya())},Go=Ra("whitespace"),su=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,lo=co([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),$u=Ra("syntax pattern"),Co=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,wo=co([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\xA1","\xA7"],"\xA9","\xAB","\xAC","\xAE","\xB0","\xB1","\xB6","\xBB","\xBF","\xD7","\xF7",["\u2010","\u2027"],["\u2030","\u203E"],["\u2041","\u2053"],["\u2055","\u205E"],["\u2190","\u245F"],["\u2500","\u2775"],["\u2794","\u2BFF"],["\u2E00","\u2E7F"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\uFD3E","\uFD3F","\uFE45","\uFE46"],!1,!1),Uo=Ra("optional whitespace"),pu=Ra("number"),Ys="-",bu=Ci("-",!1),Jo=function(be,Te){return Te?be?-Te:Te:0},zo=Ra("apostrophe"),Zo=Ra("double apostrophes"),ns="''",Js=Ci("''",!1),ju=function(){return"'"},Qt=function(be,Te){return be+Te.replace("''","'")},fr=function(be){return be!=="{"&&!(gs()&&be==="#")&&!(Ya()&&be==="}")},ar=`
`,dr=Ci(`
`,!1),Sr=function(be){return be==="{"||be==="}"||gs()&&be==="#"},un=Ra("argNameOrNumber"),Mn=Ra("argNumber"),bn="0",In=Ci("0",!1),Qn=function(){return 0},Xn=/^[1-9]/,ur=co([["1","9"]],!1,!1),Rr=/^[0-9]/,Or=co([["0","9"]],!1,!1),pn=function(be){return parseInt(be.join(""),10)},_n=Ra("argName"),_t=0,Dn=0,kn=[{line:1,column:1}],vi=0,Wi=[],er=0,Yi;if(Je.startRule!==void 0){if(!(Je.startRule in ut))throw new Error(`Can't start parsing from rule "`+Je.startRule+'".');ir=ut[Je.startRule]}function ki(){return Ze.substring(Dn,_t)}function ua(){return to(Dn,_t)}function qs(be,Te){throw Te=Te!==void 0?Te:to(Dn,_t),Hs([Ra(be)],Ze.substring(Dn,_t),Te)}function fs(be,Te){throw Te=Te!==void 0?Te:to(Dn,_t),Es(be,Te)}function Ci(be,Te){return{type:"literal",text:be,ignoreCase:Te}}function co(be,Te,yr){return{type:"class",parts:be,inverted:Te,ignoreCase:yr}}function Zs(){return{type:"any"}}function Va(){return{type:"end"}}function Ra(be){return{type:"other",description:be}}function eo(be){var Te=kn[be],yr;if(Te)return Te;for(yr=be-1;!kn[yr];)yr--;for(Te=kn[yr],Te={line:Te.line,column:Te.column};yr<be;)Ze.charCodeAt(yr)===10?(Te.line++,Te.column=1):Te.column++,yr++;return kn[be]=Te,Te}function to(be,Te){var yr=eo(be),Kr=eo(Te);return{start:{offset:be,line:yr.line,column:yr.column},end:{offset:Te,line:Kr.line,column:Kr.column}}}function mn(be){_t<vi||(_t>vi&&(vi=_t,Wi=[]),Wi.push(be))}function Es(be,Te){return new ae(be,[],"",Te)}function Hs(be,Te,yr){return new ae(ae.buildMessage(be,Te),be,Te,yr)}function Xe(){var be;return be=Qe(),be}function Qe(){var be,Te;for(be=[],Te=Mt();Te!==Ee;)be.push(Te),Te=Mt();return be}function Mt(){var be;return be=mr(),be===Ee&&(be=jr(),be===Ee&&(be=gi(),be===Ee&&(be=yi(),be===Ee&&(be=pa(),be===Ee&&(be=Lr()))))),be}function Wt(){var be,Te,yr;if(be=_t,Te=[],yr=Ka(),yr===Ee&&(yr=fo(),yr===Ee&&(yr=Ja())),yr!==Ee)for(;yr!==Ee;)Te.push(yr),yr=Ka(),yr===Ee&&(yr=fo(),yr===Ee&&(yr=Ja()));else Te=Ee;return Te!==Ee&&(Dn=be,Te=br(Te)),be=Te,be}function mr(){var be,Te;return be=_t,Te=Wt(),Te!==Ee&&(Dn=be,Te=Dr(Te)),be=Te,be}function Lr(){var be,Te;return be=_t,Ze.charCodeAt(_t)===35?(Te=wr,_t++):(Te=Ee,er===0&&mn(Fr)),Te!==Ee&&(Dn=be,Te=hn()),be=Te,be}function jr(){var be,Te,yr,Kr,gr,Wr;return er++,be=_t,Ze.charCodeAt(_t)===123?(Te=sn,_t++):(Te=Ee,er===0&&mn(Xr)),Te!==Ee?(yr=Ii(),yr!==Ee?(Kr=Ns(),Kr!==Ee?(gr=Ii(),gr!==Ee?(Ze.charCodeAt(_t)===125?(Wr=nn,_t++):(Wr=Ee,er===0&&mn(gn)),Wr!==Ee?(Dn=be,Te=da(Kr),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee),er--,be===Ee&&(Te=Ee,er===0&&mn(Tr)),be}function cn(){var be,Te,yr,Kr,gr;if(er++,be=_t,Te=[],yr=_t,Kr=_t,er++,gr=$a(),gr===Ee&&(ci.test(Ze.charAt(_t))?(gr=Ze.charAt(_t),_t++):(gr=Ee,er===0&&mn(Cn))),er--,gr===Ee?Kr=void 0:(_t=Kr,Kr=Ee),Kr!==Ee?(Ze.length>_t?(gr=Ze.charAt(_t),_t++):(gr=Ee,er===0&&mn(Pi)),gr!==Ee?(Kr=[Kr,gr],yr=Kr):(_t=yr,yr=Ee)):(_t=yr,yr=Ee),yr!==Ee)for(;yr!==Ee;)Te.push(yr),yr=_t,Kr=_t,er++,gr=$a(),gr===Ee&&(ci.test(Ze.charAt(_t))?(gr=Ze.charAt(_t),_t++):(gr=Ee,er===0&&mn(Cn))),er--,gr===Ee?Kr=void 0:(_t=Kr,Kr=Ee),Kr!==Ee?(Ze.length>_t?(gr=Ze.charAt(_t),_t++):(gr=Ee,er===0&&mn(Pi)),gr!==Ee?(Kr=[Kr,gr],yr=Kr):(_t=yr,yr=Ee)):(_t=yr,yr=Ee);else Te=Ee;return Te!==Ee?be=Ze.substring(be,_t):be=Te,er--,be===Ee&&(Te=Ee,er===0&&mn(mi)),be}function tn(){var be,Te,yr;return er++,be=_t,Ze.charCodeAt(_t)===47?(Te=aa,_t++):(Te=Ee,er===0&&mn(Cs)),Te!==Ee?(yr=cn(),yr!==Ee?(Dn=be,Te=na(yr),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee),er--,be===Ee&&(Te=Ee,er===0&&mn(Oi)),be}function fn(){var be,Te,yr,Kr,gr;if(er++,be=_t,Te=Ii(),Te!==Ee)if(yr=cn(),yr!==Ee){for(Kr=[],gr=tn();gr!==Ee;)Kr.push(gr),gr=tn();Kr!==Ee?(Dn=be,Te=Ms(yr,Kr),be=Te):(_t=be,be=Ee)}else _t=be,be=Ee;else _t=be,be=Ee;return er--,be===Ee&&(Te=Ee,er===0&&mn(vs)),be}function Hn(){var be,Te,yr;if(be=_t,Te=[],yr=fn(),yr!==Ee)for(;yr!==Ee;)Te.push(yr),yr=fn();else Te=Ee;return Te!==Ee&&(Dn=be,Te=Ba(Te)),be=Te,be}function Kn(){var be,Te,yr;return be=_t,Ze.substr(_t,2)===sa?(Te=sa,_t+=2):(Te=Ee,er===0&&mn(yn)),Te!==Ee?(yr=Hn(),yr!==Ee?(Dn=be,Te=bs(yr),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee),be===Ee&&(be=_t,Dn=_t,Te=Xa(),Te?Te=void 0:Te=Ee,Te!==Ee?(yr=Wt(),yr!==Ee?(Dn=be,Te=xs(yr),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)),be}function fi(){var be,Te,yr,Kr,gr,Wr,xn,Gn,Di,On,Rn,En,oa;return be=_t,Ze.charCodeAt(_t)===123?(Te=sn,_t++):(Te=Ee,er===0&&mn(Xr)),Te!==Ee?(yr=Ii(),yr!==Ee?(Kr=Ns(),Kr!==Ee?(gr=Ii(),gr!==Ee?(Ze.charCodeAt(_t)===44?(Wr=ji,_t++):(Wr=Ee,er===0&&mn(Fs)),Wr!==Ee?(xn=Ii(),xn!==Ee?(Ze.substr(_t,6)===So?(Gn=So,_t+=6):(Gn=Ee,er===0&&mn(Da)),Gn!==Ee?(Di=Ii(),Di!==Ee?(On=_t,Ze.charCodeAt(_t)===44?(Rn=ji,_t++):(Rn=Ee,er===0&&mn(Fs)),Rn!==Ee?(En=Ii(),En!==Ee?(oa=Kn(),oa!==Ee?(Rn=[Rn,En,oa],On=Rn):(_t=On,On=Ee)):(_t=On,On=Ee)):(_t=On,On=Ee),On===Ee&&(On=null),On!==Ee?(Rn=Ii(),Rn!==Ee?(Ze.charCodeAt(_t)===125?(En=nn,_t++):(En=Ee,er===0&&mn(gn)),En!==Ee?(Dn=be,Te=Ji(Kr,Gn,On),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee),be}function xi(){var be,Te,yr,Kr;if(be=_t,Ze.charCodeAt(_t)===39?(Te=Qa,_t++):(Te=Ee,er===0&&mn(Ks)),Te!==Ee){if(yr=[],Kr=Ka(),Kr===Ee&&(Pn.test(Ze.charAt(_t))?(Kr=Ze.charAt(_t),_t++):(Kr=Ee,er===0&&mn(Wa))),Kr!==Ee)for(;Kr!==Ee;)yr.push(Kr),Kr=Ka(),Kr===Ee&&(Pn.test(Ze.charAt(_t))?(Kr=Ze.charAt(_t),_t++):(Kr=Ee,er===0&&mn(Wa)));else yr=Ee;yr!==Ee?(Ze.charCodeAt(_t)===39?(Kr=Qa,_t++):(Kr=Ee,er===0&&mn(Ks)),Kr!==Ee?(Te=[Te,yr,Kr],be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)}else _t=be,be=Ee;if(be===Ee)if(be=[],Te=Ka(),Te===Ee&&(mo.test(Ze.charAt(_t))?(Te=Ze.charAt(_t),_t++):(Te=Ee,er===0&&mn(Bs))),Te!==Ee)for(;Te!==Ee;)be.push(Te),Te=Ka(),Te===Ee&&(mo.test(Ze.charAt(_t))?(Te=Ze.charAt(_t),_t++):(Te=Ee,er===0&&mn(Bs)));else be=Ee;return be}function qi(){var be,Te;if(be=[],Li.test(Ze.charAt(_t))?(Te=Ze.charAt(_t),_t++):(Te=Ee,er===0&&mn(Oa)),Te!==Ee)for(;Te!==Ee;)be.push(Te),Li.test(Ze.charAt(_t))?(Te=Ze.charAt(_t),_t++):(Te=Ee,er===0&&mn(Oa));else be=Ee;return be}function Ri(){var be,Te,yr,Kr;if(be=_t,Te=_t,yr=[],Kr=xi(),Kr===Ee&&(Kr=qi()),Kr!==Ee)for(;Kr!==Ee;)yr.push(Kr),Kr=xi(),Kr===Ee&&(Kr=qi());else yr=Ee;return yr!==Ee?Te=Ze.substring(Te,_t):Te=yr,Te!==Ee&&(Dn=be,Te=ka(Te)),be=Te,be}function wi(){var be,Te,yr;return be=_t,Ze.substr(_t,2)===sa?(Te=sa,_t+=2):(Te=Ee,er===0&&mn(yn)),Te!==Ee?(yr=Ri(),yr!==Ee?(Dn=be,Te=bs(yr),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee),be===Ee&&(be=_t,Dn=_t,Te=os(),Te?Te=void 0:Te=Ee,Te!==Ee?(yr=Wt(),yr!==Ee?(Dn=be,Te=xs(yr),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)),be}function ha(){var be,Te,yr,Kr,gr,Wr,xn,Gn,Di,On,Rn,En,oa;return be=_t,Ze.charCodeAt(_t)===123?(Te=sn,_t++):(Te=Ee,er===0&&mn(Xr)),Te!==Ee?(yr=Ii(),yr!==Ee?(Kr=Ns(),Kr!==Ee?(gr=Ii(),gr!==Ee?(Ze.charCodeAt(_t)===44?(Wr=ji,_t++):(Wr=Ee,er===0&&mn(Fs)),Wr!==Ee?(xn=Ii(),xn!==Ee?(Ze.substr(_t,4)===Qs?(Gn=Qs,_t+=4):(Gn=Ee,er===0&&mn(Ao)),Gn===Ee&&(Ze.substr(_t,4)===To?(Gn=To,_t+=4):(Gn=Ee,er===0&&mn(ws))),Gn!==Ee?(Di=Ii(),Di!==Ee?(On=_t,Ze.charCodeAt(_t)===44?(Rn=ji,_t++):(Rn=Ee,er===0&&mn(Fs)),Rn!==Ee?(En=Ii(),En!==Ee?(oa=wi(),oa!==Ee?(Rn=[Rn,En,oa],On=Rn):(_t=On,On=Ee)):(_t=On,On=Ee)):(_t=On,On=Ee),On===Ee&&(On=null),On!==Ee?(Rn=Ii(),Rn!==Ee?(Ze.charCodeAt(_t)===125?(En=nn,_t++):(En=Ee,er===0&&mn(gn)),En!==Ee?(Dn=be,Te=Ji(Kr,Gn,On),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee),be}function gi(){var be;return be=fi(),be===Ee&&(be=ha()),be}function yi(){var be,Te,yr,Kr,gr,Wr,xn,Gn,Di,On,Rn,En,oa,ja,Eo,ho;if(be=_t,Ze.charCodeAt(_t)===123?(Te=sn,_t++):(Te=Ee,er===0&&mn(Xr)),Te!==Ee)if(yr=Ii(),yr!==Ee)if(Kr=Ns(),Kr!==Ee)if(gr=Ii(),gr!==Ee)if(Ze.charCodeAt(_t)===44?(Wr=ji,_t++):(Wr=Ee,er===0&&mn(Fs)),Wr!==Ee)if(xn=Ii(),xn!==Ee)if(Ze.substr(_t,6)===wa?(Gn=wa,_t+=6):(Gn=Ee,er===0&&mn(us)),Gn===Ee&&(Ze.substr(_t,13)===vo?(Gn=vo,_t+=13):(Gn=Ee,er===0&&mn(Do))),Gn!==Ee)if(Di=Ii(),Di!==Ee)if(Ze.charCodeAt(_t)===44?(On=ji,_t++):(On=Ee,er===0&&mn(Fs)),On!==Ee)if(Rn=Ii(),Rn!==Ee)if(En=_t,Ze.substr(_t,7)===go?(oa=go,_t+=7):(oa=Ee,er===0&&mn($o)),oa!==Ee?(ja=Ii(),ja!==Ee?(Eo=ga(),Eo!==Ee?(oa=[oa,ja,Eo],En=oa):(_t=En,En=Ee)):(_t=En,En=Ee)):(_t=En,En=Ee),En===Ee&&(En=null),En!==Ee)if(oa=Ii(),oa!==Ee){if(ja=[],Eo=Na(),Eo!==Ee)for(;Eo!==Ee;)ja.push(Eo),Eo=Na();else ja=Ee;ja!==Ee?(Eo=Ii(),Eo!==Ee?(Ze.charCodeAt(_t)===125?(ho=nn,_t++):(ho=Ee,er===0&&mn(gn)),ho!==Ee?(Dn=be,Te=oi(Kr,Gn,En,ja),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)}else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;return be}function pa(){var be,Te,yr,Kr,gr,Wr,xn,Gn,Di,On,Rn,En,oa,ja;if(be=_t,Ze.charCodeAt(_t)===123?(Te=sn,_t++):(Te=Ee,er===0&&mn(Xr)),Te!==Ee)if(yr=Ii(),yr!==Ee)if(Kr=Ns(),Kr!==Ee)if(gr=Ii(),gr!==Ee)if(Ze.charCodeAt(_t)===44?(Wr=ji,_t++):(Wr=Ee,er===0&&mn(Fs)),Wr!==Ee)if(xn=Ii(),xn!==Ee)if(Ze.substr(_t,6)===ni?(Gn=ni,_t+=6):(Gn=Ee,er===0&&mn(Ga)),Gn!==Ee)if(Di=Ii(),Di!==Ee)if(Ze.charCodeAt(_t)===44?(On=ji,_t++):(On=Ee,er===0&&mn(Fs)),On!==Ee)if(Rn=Ii(),Rn!==Ee){if(En=[],oa=Ss(),oa!==Ee)for(;oa!==Ee;)En.push(oa),oa=Ss();else En=Ee;En!==Ee?(oa=Ii(),oa!==Ee?(Ze.charCodeAt(_t)===125?(ja=nn,_t++):(ja=Ee,er===0&&mn(gn)),ja!==Ee?(Dn=be,Te=ts(Kr,En),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)}else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;else _t=be,be=Ee;return be}function ro(){var be,Te,yr,Kr;return be=_t,Te=_t,Ze.charCodeAt(_t)===61?(yr=Ia,_t++):(yr=Ee,er===0&&mn(uo)),yr!==Ee?(Kr=ga(),Kr!==Ee?(yr=[yr,Kr],Te=yr):(_t=Te,Te=Ee)):(_t=Te,Te=Ee),Te!==Ee?be=Ze.substring(be,_t):be=Te,be===Ee&&(be=cs()),be}function Ss(){var be,Te,yr,Kr,gr,Wr,xn,Gn;return be=_t,Te=Ii(),Te!==Ee?(yr=cs(),yr!==Ee?(Kr=Ii(),Kr!==Ee?(Ze.charCodeAt(_t)===123?(gr=sn,_t++):(gr=Ee,er===0&&mn(Xr)),gr!==Ee?(Dn=_t,Wr=jo(yr),Wr?Wr=void 0:Wr=Ee,Wr!==Ee?(xn=Qe(),xn!==Ee?(Ze.charCodeAt(_t)===125?(Gn=nn,_t++):(Gn=Ee,er===0&&mn(gn)),Gn!==Ee?(Dn=be,Te=Qo(yr,xn),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee),be}function Na(){var be,Te,yr,Kr,gr,Wr,xn,Gn;return be=_t,Te=Ii(),Te!==Ee?(yr=ro(),yr!==Ee?(Kr=Ii(),Kr!==Ee?(Ze.charCodeAt(_t)===123?(gr=sn,_t++):(gr=Ee,er===0&&mn(Xr)),gr!==Ee?(Dn=_t,Wr=ls(yr),Wr?Wr=void 0:Wr=Ee,Wr!==Ee?(xn=Qe(),xn!==Ee?(Ze.charCodeAt(_t)===125?(Gn=nn,_t++):(Gn=Ee,er===0&&mn(gn)),Gn!==Ee?(Dn=be,Te=hu(yr,xn),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee)):(_t=be,be=Ee),be}function $a(){var be,Te;return er++,su.test(Ze.charAt(_t))?(be=Ze.charAt(_t),_t++):(be=Ee,er===0&&mn(lo)),er--,be===Ee&&(Te=Ee,er===0&&mn(Go)),be}function za(){var be,Te;return er++,Co.test(Ze.charAt(_t))?(be=Ze.charAt(_t),_t++):(be=Ee,er===0&&mn(wo)),er--,be===Ee&&(Te=Ee,er===0&&mn($u)),be}function Ii(){var be,Te,yr;for(er++,be=_t,Te=[],yr=$a();yr!==Ee;)Te.push(yr),yr=$a();return Te!==Ee?be=Ze.substring(be,_t):be=Te,er--,be===Ee&&(Te=Ee,er===0&&mn(Uo)),be}function ga(){var be,Te,yr;return er++,be=_t,Ze.charCodeAt(_t)===45?(Te=Ys,_t++):(Te=Ee,er===0&&mn(bu)),Te===Ee&&(Te=null),Te!==Ee?(yr=ea(),yr!==Ee?(Dn=be,Te=Jo(Te,yr),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee),er--,be===Ee&&(Te=Ee,er===0&&mn(pu)),be}function La(){var be,Te;return er++,Ze.charCodeAt(_t)===39?(be=Qa,_t++):(be=Ee,er===0&&mn(Ks)),er--,be===Ee&&(Te=Ee,er===0&&mn(zo)),be}function Ka(){var be,Te;return er++,be=_t,Ze.substr(_t,2)===ns?(Te=ns,_t+=2):(Te=Ee,er===0&&mn(Js)),Te!==Ee&&(Dn=be,Te=ju()),be=Te,er--,be===Ee&&(Te=Ee,er===0&&mn(Zo)),be}function fo(){var be,Te,yr,Kr,gr,Wr;if(be=_t,Ze.charCodeAt(_t)===39?(Te=Qa,_t++):(Te=Ee,er===0&&mn(Ks)),Te!==Ee)if(yr=Ea(),yr!==Ee){for(Kr=_t,gr=[],Ze.substr(_t,2)===ns?(Wr=ns,_t+=2):(Wr=Ee,er===0&&mn(Js)),Wr===Ee&&(Pn.test(Ze.charAt(_t))?(Wr=Ze.charAt(_t),_t++):(Wr=Ee,er===0&&mn(Wa)));Wr!==Ee;)gr.push(Wr),Ze.substr(_t,2)===ns?(Wr=ns,_t+=2):(Wr=Ee,er===0&&mn(Js)),Wr===Ee&&(Pn.test(Ze.charAt(_t))?(Wr=Ze.charAt(_t),_t++):(Wr=Ee,er===0&&mn(Wa)));gr!==Ee?Kr=Ze.substring(Kr,_t):Kr=gr,Kr!==Ee?(Ze.charCodeAt(_t)===39?(gr=Qa,_t++):(gr=Ee,er===0&&mn(Ks)),gr===Ee&&(gr=null),gr!==Ee?(Dn=be,Te=Qt(yr,Kr),be=Te):(_t=be,be=Ee)):(_t=be,be=Ee)}else _t=be,be=Ee;else _t=be,be=Ee;return be}function Ja(){var be,Te,yr,Kr;return be=_t,Te=_t,Ze.length>_t?(yr=Ze.charAt(_t),_t++):(yr=Ee,er===0&&mn(Pi)),yr!==Ee?(Dn=_t,Kr=fr(yr),Kr?Kr=void 0:Kr=Ee,Kr!==Ee?(yr=[yr,Kr],Te=yr):(_t=Te,Te=Ee)):(_t=Te,Te=Ee),Te===Ee&&(Ze.charCodeAt(_t)===10?(Te=ar,_t++):(Te=Ee,er===0&&mn(dr))),Te!==Ee?be=Ze.substring(be,_t):be=Te,be}function Ea(){var be,Te,yr,Kr;return be=_t,Te=_t,Ze.length>_t?(yr=Ze.charAt(_t),_t++):(yr=Ee,er===0&&mn(Pi)),yr!==Ee?(Dn=_t,Kr=Sr(yr),Kr?Kr=void 0:Kr=Ee,Kr!==Ee?(yr=[yr,Kr],Te=yr):(_t=Te,Te=Ee)):(_t=Te,Te=Ee),Te!==Ee?be=Ze.substring(be,_t):be=Te,be}function Ns(){var be,Te;return er++,be=_t,Te=ea(),Te===Ee&&(Te=cs()),Te!==Ee?be=Ze.substring(be,_t):be=Te,er--,be===Ee&&(Te=Ee,er===0&&mn(un)),be}function ea(){var be,Te,yr,Kr,gr;if(er++,be=_t,Ze.charCodeAt(_t)===48?(Te=bn,_t++):(Te=Ee,er===0&&mn(In)),Te!==Ee&&(Dn=be,Te=Qn()),be=Te,be===Ee){if(be=_t,Te=_t,Xn.test(Ze.charAt(_t))?(yr=Ze.charAt(_t),_t++):(yr=Ee,er===0&&mn(ur)),yr!==Ee){for(Kr=[],Rr.test(Ze.charAt(_t))?(gr=Ze.charAt(_t),_t++):(gr=Ee,er===0&&mn(Or));gr!==Ee;)Kr.push(gr),Rr.test(Ze.charAt(_t))?(gr=Ze.charAt(_t),_t++):(gr=Ee,er===0&&mn(Or));Kr!==Ee?(yr=[yr,Kr],Te=yr):(_t=Te,Te=Ee)}else _t=Te,Te=Ee;Te!==Ee&&(Dn=be,Te=pn(Te)),be=Te}return er--,be===Ee&&(Te=Ee,er===0&&mn(Mn)),be}function cs(){var be,Te,yr,Kr,gr;if(er++,be=_t,Te=[],yr=_t,Kr=_t,er++,gr=$a(),gr===Ee&&(gr=za()),er--,gr===Ee?Kr=void 0:(_t=Kr,Kr=Ee),Kr!==Ee?(Ze.length>_t?(gr=Ze.charAt(_t),_t++):(gr=Ee,er===0&&mn(Pi)),gr!==Ee?(Kr=[Kr,gr],yr=Kr):(_t=yr,yr=Ee)):(_t=yr,yr=Ee),yr!==Ee)for(;yr!==Ee;)Te.push(yr),yr=_t,Kr=_t,er++,gr=$a(),gr===Ee&&(gr=za()),er--,gr===Ee?Kr=void 0:(_t=Kr,Kr=Ee),Kr!==Ee?(Ze.length>_t?(gr=Ze.charAt(_t),_t++):(gr=Ee,er===0&&mn(Pi)),gr!==Ee?(Kr=[Kr,gr],yr=Kr):(_t=yr,yr=Ee)):(_t=yr,yr=Ee);else Te=Ee;return Te!==Ee?be=Ze.substring(be,_t):be=Te,er--,be===Ee&&(Te=Ee,er===0&&mn(_n)),be}var la=["root"];function Ya(){return la.length>1}function gs(){return la[la.length-1]==="plural"}function ya(){return Je&&Je.captureLocation?{location:ua()}:{}}if(Yi=ir(),Yi!==Ee&&_t===Ze.length)return Yi;throw Yi!==Ee&&_t<Ze.length&&mn(Va()),Hs(Wi,vi<Ze.length?Ze.charAt(vi):null,vi<Ze.length?to(vi,vi+1):to(vi,vi))}var Q=le,J=function(){for(var Ze=0,Je=0,Ee=arguments.length;Je<Ee;Je++)Ze+=arguments[Je].length;for(var ut=Array(Ze),ir=0,Je=0;Je<Ee;Je++)for(var br=arguments[Je],Dr=0,wr=br.length;Dr<wr;Dr++,ir++)ut[ir]=br[Dr];return ut},V=/(^|[^\\])#/g;function ue(Ze){Ze.forEach(function(Je){!D(Je)&&!T(Je)||Object.keys(Je.options).forEach(function(Ee){for(var ut,ir=Je.options[Ee],br=-1,Dr=void 0,wr=0;wr<ir.value.length;wr++){var Fr=ir.value[wr];if(_(Fr)&&V.test(Fr.value)){br=wr,Dr=Fr;break}}if(Dr){var hn=Dr.value.replace(V,"$1{"+Je.value+", number}"),Tr=Q(hn);(ut=ir.value).splice.apply(ut,J([br,1],Tr))}ue(ir.value)})})}function ee(Ze,Je){var Ee=Q(Ze,Je);return(!Je||Je.normalizeHashtagInPlural!==!1)&&ue(Ee),Ee}var X=function(){for(var Ze=0,Je=0,Ee=arguments.length;Je<Ee;Je++)Ze+=arguments[Je].length;for(var ut=Array(Ze),ir=0,Je=0;Je<Ee;Je++)for(var br=arguments[Je],Dr=0,wr=br.length;Dr<wr;Dr++,ir++)ut[ir]=br[Dr];return ut};function ce(Ze){return JSON.stringify(Ze.map(function(Je){return Je&&typeof Je=="object"?z(Je):Je}))}function z(Ze){return Object.keys(Ze).sort().map(function(Je){var Ee;return Ee={},Ee[Je]=Ze[Je],Ee})}var $=function(Ze,Je){return Je===void 0&&(Je={}),function(){for(var Ee,ut=[],ir=0;ir<arguments.length;ir++)ut[ir]=arguments[ir];var br=ce(ut),Dr=br&&Je[br];return Dr||(Dr=new((Ee=Ze).bind.apply(Ee,X([void 0],ut))),br&&(Je[br]=Dr)),Dr}},se=$,_e=function(){return _e=Object.assign||function(Ze){for(var Je,Ee=1,ut=arguments.length;Ee<ut;Ee++){Je=arguments[Ee];for(var ir in Je)Object.prototype.hasOwnProperty.call(Je,ir)&&(Ze[ir]=Je[ir])}return Ze},_e.apply(this,arguments)},Oe=/(?:[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 Le(Ze){var Je={};return Ze.replace(Oe,function(Ee){var ut=Ee.length;switch(Ee[0]){case"G":Je.era=ut===4?"long":ut===5?"narrow":"short";break;case"y":Je.year=ut===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":Je.month=["numeric","2-digit","short","long","narrow"][ut-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":Je.day=["numeric","2-digit"][ut-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":Je.weekday=ut===4?"short":ut===5?"narrow":"short";break;case"e":if(ut<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");Je.weekday=["short","long","narrow","short"][ut-4];break;case"c":if(ut<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");Je.weekday=["short","long","narrow","short"][ut-4];break;case"a":Je.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":Je.hourCycle="h12",Je.hour=["numeric","2-digit"][ut-1];break;case"H":Je.hourCycle="h23",Je.hour=["numeric","2-digit"][ut-1];break;case"K":Je.hourCycle="h11",Je.hour=["numeric","2-digit"][ut-1];break;case"k":Je.hourCycle="h24",Je.hour=["numeric","2-digit"][ut-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":Je.minute=["numeric","2-digit"][ut-1];break;case"s":Je.second=["numeric","2-digit"][ut-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":Je.timeZoneName=ut<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""}),Je}function He(Ze){return Ze.replace(/^(.*?)-/,"")}var $e=/^\.(?:(0+)(\+|#+)?)?$/g,Bt=/^(@+)?(\+|#+)?$/g;function yt(Ze){var Je={};return Ze.replace(Bt,function(Ee,ut,ir){return typeof ir!="string"?(Je.minimumSignificantDigits=ut.length,Je.maximumSignificantDigits=ut.length):ir==="+"?Je.minimumSignificantDigits=ut.length:ut[0]==="#"?Je.maximumSignificantDigits=ut.length:(Je.minimumSignificantDigits=ut.length,Je.maximumSignificantDigits=ut.length+(typeof ir=="string"?ir.length:0)),""}),Je}function It(Ze){switch(Ze){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function rr(Ze){var Je={},Ee=It(Ze);return Ee||Je}function Yt(Ze){for(var Je={},Ee=0,ut=Ze;Ee<ut.length;Ee++){var ir=ut[Ee];switch(ir.stem){case"percent":Je.style="percent";continue;case"currency":Je.style="currency",Je.currency=ir.options[0];continue;case"group-off":Je.useGrouping=!1;continue;case"precision-integer":Je.maximumFractionDigits=0;continue;case"measure-unit":Je.style="unit",Je.unit=He(ir.options[0]);continue;case"compact-short":Je.notation="compact",Je.compactDisplay="short";continue;case"compact-long":Je.notation="compact",Je.compactDisplay="long";continue;case"scientific":Je=_e(_e(_e({},Je),{notation:"scientific"}),ir.options.reduce(function(Dr,wr){return _e(_e({},Dr),rr(wr))},{}));continue;case"engineering":Je=_e(_e(_e({},Je),{notation:"engineering"}),ir.options.reduce(function(Dr,wr){return _e(_e({},Dr),rr(wr))},{}));continue;case"notation-simple":Je.notation="standard";continue;case"unit-width-narrow":Je.currencyDisplay="narrowSymbol",Je.unitDisplay="narrow";continue;case"unit-width-short":Je.currencyDisplay="code",Je.unitDisplay="short";continue;case"unit-width-full-name":Je.currencyDisplay="name",Je.unitDisplay="long";continue;case"unit-width-iso-code":Je.currencyDisplay="symbol";continue}if($e.test(ir.stem)){if(ir.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");ir.stem.replace($e,function(Dr,wr,Fr){return Dr==="."?Je.maximumFractionDigits=0:Fr==="+"?Je.minimumFractionDigits=Fr.length:wr[0]==="#"?Je.maximumFractionDigits=wr.length:(Je.minimumFractionDigits=wr.length,Je.maximumFractionDigits=wr.length+(typeof Fr=="string"?Fr.length:0)),""}),ir.options.length&&(Je=_e(_e({},Je),yt(ir.options[0])));continue}if(Bt.test(ir.stem)){Je=_e(_e({},Je),yt(ir.stem));continue}var br=It(ir.stem);br&&(Je=_e(_e({},Je),br))}return Je}var lr=function(){var Ze=function(Je,Ee){return Ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ut,ir){ut.__proto__=ir}||function(ut,ir){for(var br in ir)ir.hasOwnProperty(br)&&(ut[br]=ir[br])},Ze(Je,Ee)};return function(Je,Ee){Ze(Je,Ee);function ut(){this.constructor=Je}Je.prototype=Ee===null?Object.create(Ee):(ut.prototype=Ee.prototype,new ut)}}(),Ve=function(){for(var Ze=0,Je=0,Ee=arguments.length;Je<Ee;Je++)Ze+=arguments[Je].length;for(var ut=Array(Ze),ir=0,Je=0;Je<Ee;Je++)for(var br=arguments[Je],Dr=0,wr=br.length;Dr<wr;Dr++,ir++)ut[ir]=br[Dr];return ut},Ct=function(Ze){lr(Je,Ze);function Je(Ee,ut){var ir=Ze.call(this,Ee)||this;return ir.variableId=ut,ir}return Je}(Error);function Ut(Ze){return Ze.length<2?Ze:Ze.reduce(function(Je,Ee){var ut=Je[Je.length-1];return!ut||ut.type!==0||Ee.type!==0?Je.push(Ee):ut.value+=Ee.value,Je},[])}function st(Ze,Je,Ee,ut,ir,br,Dr){if(Ze.length===1&&_(Ze[0]))return[{type:0,value:Ze[0].value}];for(var wr=[],Fr=0,hn=Ze;Fr<hn.length;Fr++){var Tr=hn[Fr];if(_(Tr)){wr.push({type:0,value:Tr.value});continue}if(M(Tr)){typeof br=="number"&&wr.push({type:0,value:Ee.getNumberFormat(Je).format(br)});continue}var sn=Tr.value;if(!(ir&&sn in ir))throw new Ct('The intl string context variable "'+sn+'" was not provided to the string "'+Dr+'"');var Xr=ir[sn];if(b(Tr)){(!Xr||typeof Xr=="string"||typeof Xr=="number")&&(Xr=typeof Xr=="string"||typeof Xr=="number"?String(Xr):""),wr.push({type:1,value:Xr});continue}if(k(Tr)){var nn=typeof Tr.style=="string"?ut.date[Tr.style]:void 0;wr.push({type:0,value:Ee.getDateTimeFormat(Je,nn).format(Xr)});continue}if(L(Tr)){var nn=typeof Tr.style=="string"?ut.time[Tr.style]:N(Tr.style)?Le(Tr.style.pattern):void 0;wr.push({type:0,value:Ee.getDateTimeFormat(Je,nn).format(Xr)});continue}if(A(Tr)){var nn=typeof Tr.style=="string"?ut.number[Tr.style]:B(Tr.style)?Yt(Tr.style.tokens):void 0;wr.push({type:0,value:Ee.getNumberFormat(Je,nn).format(Xr)});continue}if(T(Tr)){var gn=Tr.options[Xr]||Tr.options.other;if(!gn)throw new RangeError('Invalid values for "'+Tr.value+'": "'+Xr+'". Options are "'+Object.keys(Tr.options).join('", "')+'"');wr.push.apply(wr,st(gn.value,Je,Ee,ut,ir));continue}if(D(Tr)){var gn=Tr.options["="+Xr];if(!gn){if(!Intl.PluralRules)throw new Ct(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`);var da=Ee.getPluralRules(Je,{type:Tr.pluralType}).select(Xr-(Tr.offset||0));gn=Tr.options[da]||Tr.options.other}if(!gn)throw new RangeError('Invalid values for "'+Tr.value+'": "'+Xr+'". Options are "'+Object.keys(Tr.options).join('", "')+'"');wr.push.apply(wr,st(gn.value,Je,Ee,ut,ir,Xr-(Tr.offset||0)));continue}}return Ut(wr)}function xt(Ze,Je,Ee,ut,ir,br){var Dr=st(Ze,Je,Ee,ut,ir,void 0,br);return Dr.length===1?Dr[0].value:Dr.reduce(function(wr,Fr){return wr+=Fr.value},"")}var ht,rt="@@",Ue=/@@(\d+_\d+)@@/g,ye=0;function Ce(){return Date.now()+"_"+ ++ye}function Fe(Ze,Je){return Ze.split(Ue).filter(Boolean).map(function(Ee){return Je[Ee]!=null?Je[Ee]:Ee}).reduce(function(Ee,ut){return Ee.length&&typeof ut=="string"&&typeof Ee[Ee.length-1]=="string"?Ee[Ee.length-1]+=ut:Ee.push(ut),Ee},[])}var je=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ge=Date.now()+"@@",it=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ct(Ze,Je,Ee){var ut=Ze.tagName,ir=Ze.outerHTML,br=Ze.textContent,Dr=Ze.childNodes;if(!ut)return Fe(br||"",Je);ut=ut.toLowerCase();var wr=~it.indexOf(ut),Fr=Ee[ut];if(Fr&&wr)throw new Ct(ut+" is a self-closing tag and can not be used, please use another tag name.");if(!Dr.length)return[ir];var hn=Array.prototype.slice.call(Dr).reduce(function(Tr,sn){return Tr.concat(ct(sn,Je,Ee))},[]);return Fr?typeof Fr=="function"?[Fr.apply(void 0,hn)]:[Fr]:Ve(["<"+ut+">"],hn,["</"+ut+">"])}function Gt(Ze,Je,Ee,ut,ir,br){var Dr=st(Ze,Je,Ee,ut,ir,void 0,br),wr={},Fr=Dr.reduce(function(Xr,nn){if(nn.type===0)return Xr+=nn.value;var gn=Ce();return wr[gn]=nn.value,Xr+=""+rt+gn+rt},"");if(!je.test(Fr))return Fe(Fr,wr);if(!ir)throw new Ct("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Ct("Cannot format XML message without DOMParser");ht||(ht=new DOMParser);var hn=ht.parseFromString('<formatted-message id="'+Ge+'">'+Fr+"</formatted-message>","text/html").getElementById(Ge);if(!hn)throw new Ct("Malformed HTML message "+Fr);var Tr=Object.keys(ir).filter(function(Xr){return!!hn.getElementsByTagName(Xr).length});if(!Tr.length)return Fe(Fr,wr);var sn=Tr.filter(function(Xr){return Xr!==Xr.toLowerCase()});if(sn.length)throw new Ct("HTML tag must be lowercased but the following tags are not: "+sn.join(", "));return Array.prototype.slice.call(hn.childNodes).reduce(function(Xr,nn){return Xr.concat(ct(nn,wr,ir))},[])}var Ht=function(){return Ht=Object.assign||function(Ze){for(var Je,Ee=1,ut=arguments.length;Ee<ut;Ee++){Je=arguments[Ee];for(var ir in Je)Object.prototype.hasOwnProperty.call(Je,ir)&&(Ze[ir]=Je[ir])}return Ze},Ht.apply(this,arguments)};function Pe(Ze,Je){return Je?Ht(Ht(Ht({},Ze||{}),Je||{}),Object.keys(Ze).reduce(function(Ee,ut){return Ee[ut]=Ht(Ht({},Ze[ut]),Je[ut]||{}),Ee},{})):Ze}function tt(Ze,Je){return Je?Object.keys(Ze).reduce(function(Ee,ut){return Ee[ut]=Pe(Ze[ut],Je[ut]),Ee},Ht({},Ze)):Ze}function Vt(Ze){return Ze===void 0&&(Ze={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:se(Intl.NumberFormat,Ze.number),getDateTimeFormat:se(Intl.DateTimeFormat,Ze.dateTime),getPluralRules:se(Intl.PluralRules,Ze.pluralRules)}}var kt=function(){function Ze(Je,Ee,ut,ir){var br=this;if(Ee===void 0&&(Ee=Ze.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Dr){return xt(br.ast,br.locales,br.formatters,br.formats,Dr,br.message)},this.formatToParts=function(Dr){return st(br.ast,br.locales,br.formatters,br.formats,Dr,void 0,br.message)},this.formatHTMLMessage=function(Dr){return Gt(br.ast,br.locales,br.formatters,br.formats,Dr,br.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(br.locales)[0]}},this.getAst=function(){return br.ast},typeof Je=="string"){if(this.message=Je,!Ze.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Ze.__parse(Je,{normalizeHashtagInPlural:!1})}else this.ast=Je;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=tt(Ze.formats,ut),this.locales=Ee,this.formatters=ir&&ir.formatters||Vt(this.formatterCache)}return Ze.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,Ze.__parse=ee,Ze.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Ze}(),Zt=kt,Nt=Zt;function At(Ze,Je,Ee){if(Ee===void 0&&(Ee=Error),!Ze)throw new Ee(Je)}const qt={38:"&amp;",62:"&gt;",60:"&lt;",34:"&quot;",39:"&#x27;"},Ke=/[&><"']/g;function fe(Ze){return(""+Ze).replace(Ke,Je=>qt[Je.charCodeAt(0)])}function pe(Ze,Je,Ee={}){return Je.reduce((ut,ir)=>(ir in Ze?ut[ir]=Ze[ir]:ir in Ee&&(ut[ir]=Ee[ir]),ut),{})}function Dt(Ze){At(Ze,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function De(Ze,Je){const Ee=Je?`
${Je.stack}`:"";return`[React Intl] ${Ze}${Ee}`}function ft(Ze){}const zt={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:ft};function Et(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Re(Ze=Et()){const Je=Intl.RelativeTimeFormat,Ee=Intl.ListFormat,ut=Intl.DisplayNames;return{getDateTimeFormat:se(Intl.DateTimeFormat,Ze.dateTime),getNumberFormat:se(Intl.NumberFormat,Ze.number),getMessageFormat:se(Nt,Ze.message),getRelativeTimeFormat:se(Je,Ze.relativeTime),getPluralRules:se(Intl.PluralRules,Ze.pluralRules),getListFormat:se(Ee,Ze.list),getDisplayNames:se(ut,Ze.displayNames)}}function wt(Ze,Je,Ee,ut){const ir=Ze&&Ze[Je];let br;if(ir&&(br=ir[Ee]),br)return br;ut(De(`No ${Je} format named: ${Ee}`))}const xe=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function qe({locale:Ze,formats:Je,onError:Ee},ut,ir={}){const{format:br}=ir,Dr=br&&wt(Je,"number",br,Ee)||{},wr=pe(ir,xe,Dr);return ut(Ze,wr)}function vt(Ze,Je,Ee,ut={}){try{return qe(Ze,Je,ut).format(Ee)}catch(ir){Ze.onError(De("Error formatting number.",ir))}return String(Ee)}function Ft(Ze,Je,Ee,ut={}){try{return qe(Ze,Je,ut).formatToParts(Ee)}catch(ir){Ze.onError(De("Error formatting number.",ir))}return[]}const Be=["numeric","style"];function Pr({locale:Ze,formats:Je,onError:Ee},ut,ir={}){const{format:br}=ir,Dr=!!br&&wt(Je,"relative",br,Ee)||{},wr=pe(ir,Be,Dr);return ut(Ze,wr)}function St(Ze,Je,Ee,ut,ir={}){ut||(ut="second"),Intl.RelativeTimeFormat||Ze.onError(De(`Intl.RelativeTimeFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-relativetimeformat"
`));try{return Pr(Ze,Je,ir).format(Ee,ut)}catch(Dr){Ze.onError(De("Error formatting relative time.",Dr))}return String(Ee)}const Zr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Vr({locale:Ze,formats:Je,onError:Ee,timeZone:ut},ir,br,Dr={}){const{format:wr}=Dr,Fr=Object.assign(Object.assign({},ut&&{timeZone:ut}),wr&&wt(Je,ir,wr,Ee));let hn=pe(Dr,Zr,Fr);return ir==="time"&&!hn.hour&&!hn.minute&&!hn.second&&(hn=Object.assign(Object.assign({},hn),{hour:"numeric",minute:"numeric"})),br(Ze,hn)}function xr(Ze,Je,Ee,ut={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Vr(Ze,"date",Je,ut).format(ir)}catch(br){Ze.onError(De("Error formatting date.",br))}return String(ir)}function Br(Ze,Je,Ee,ut={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Vr(Ze,"time",Je,ut).format(ir)}catch(br){Ze.onError(De("Error formatting time.",br))}return String(ir)}function pr(Ze,Je,Ee,ut={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Vr(Ze,"date",Je,ut).formatToParts(ir)}catch(br){Ze.onError(De("Error formatting date.",br))}return[]}function $r(Ze,Je,Ee,ut={}){const ir=typeof Ee=="string"?new Date(Ee||0):Ee;try{return Vr(Ze,"time",Je,ut).formatToParts(ir)}catch(br){Ze.onError(De("Error formatting time.",br))}return[]}const en=["localeMatcher","type"];function an({locale:Ze,onError:Je},Ee,ut,ir={}){Intl.PluralRules||Je(De(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`));const br=pe(ir,en);try{return Ee(Ze,br).select(ut)}catch(Dr){Je(De("Error formatting plural.",Dr))}return"other"}function sr(Ze,Je){return Object.keys(Ze).reduce((Ee,ut)=>(Ee[ut]=Object.assign({timeZone:Je},Ze[ut]),Ee),{})}function Rt(Ze,Je){return Object.keys(Object.assign(Object.assign({},Ze),Je)).reduce((ut,ir)=>(ut[ir]=Object.assign(Object.assign({},Ze[ir]||{}),Je[ir]||{}),ut),{})}function mt(Ze,Je){if(!Je)return Ze;const Ee=Nt.formats;return Object.assign(Object.assign(Object.assign({},Ee),Ze),{date:Rt(sr(Ee.date,Je),sr(Ze.date||{},Je)),time:Rt(sr(Ee.time,Je),sr(Ze.time||{},Je))})}const gt=Ze=>r.createElement(r.Fragment,null,...Ze);function $t({locale:Ze,formats:Je,messages:Ee,defaultLocale:ut,defaultFormats:ir,onError:br,timeZone:Dr},wr,Fr={id:""},hn={}){const{id:Tr,defaultMessage:sn}=Fr;At(!!Tr,"[React Intl] An `id` must be provided to format a message.");const Xr=Ee&&Ee[String(Tr)];Je=mt(Je,Dr),ir=mt(ir,Dr);let nn=[];if(Xr)try{nn=wr.getMessageFormat(Xr,Ze,Je,{formatters:wr}).formatHTMLMessage(hn)}catch(gn){br(De(`Error formatting message: "${Tr}" for locale: "${Ze}"`+(sn?", using default message as fallback.":""),gn))}else(!sn||Ze&&Ze.toLowerCase()!==ut.toLowerCase())&&br(De(`Missing message: "${Tr}" for locale: "${Ze}"`+(sn?", using default message as fallback.":"")));if(!nn.length&&sn)try{nn=wr.getMessageFormat(sn,ut,ir).formatHTMLMessage(hn)}catch(gn){br(De(`Error formatting the default message for: "${Tr}"`,gn))}return nn.length?nn.length===1&&typeof nn[0]=="string"?nn[0]||sn||String(Tr):gt(nn):(br(De(`Cannot format message: "${Tr}", using message ${Xr||sn?"source":"id"} as fallback.`)),typeof Xr=="string"?Xr||sn||String(Tr):sn||String(Tr))}function Er(Ze,Je,Ee={id:""},ut={}){const ir=Object.keys(ut).reduce((br,Dr)=>{const wr=ut[Dr];return br[Dr]=typeof wr=="string"?fe(wr):wr,br},{});return $t(Ze,Je,Ee,ir)}var vr=e(18947),ot=e.n(vr);const Mr=["localeMatcher","type","style"],dn=Date.now();function jn(Ze){return`${dn}_${Ze}_${dn}`}function _r({locale:Ze,onError:Je},Ee,ut,ir={}){Intl.ListFormat||Je(De(`Intl.ListFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-listformat"
`));const Dr=pe(ir,Mr);try{const wr={},Fr=ut.map((Tr,sn)=>{if(typeof Tr=="object"){const Xr=jn(sn);return wr[Xr]=Tr,Xr}return String(Tr)});return Object.keys(wr).length?Ee(Ze,Dr).formatToParts(Fr).reduce((Tr,sn)=>{const Xr=sn.value;return wr[Xr]?Tr.push(wr[Xr]):typeof Tr[Tr.length-1]=="string"?Tr[Tr.length-1]+=Xr:Tr.push(Xr),Tr},[]):Ee(Ze,Dr).format(Fr)}catch(wr){Je(De("Error formatting list.",wr))}return ut}const qr=["localeMatcher","style","type","fallback"];function ln({locale:Ze,onError:Je},Ee,ut,ir={}){Intl.DisplayNames||Je(De(`Intl.DisplayNames is not available in this environment.
Try polyfilling it using "@formatjs/intl-displaynames"
`));const Dr=pe(ir,qr);try{return Ee(Ze,Dr).of(ut)}catch(wr){Je(De("Error formatting display name.",wr))}}const Ln=ot()||vr;function Vn(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 Bn(Ze,Je){const Ee=Re(Je),ut=Object.assign(Object.assign({},zt),Ze),{locale:ir,defaultLocale:br,onError:Dr}=ut;return ir?!Intl.NumberFormat.supportedLocalesOf(ir).length&&Dr?Dr(De(`Missing locale data for locale: "${ir}" in Intl.NumberFormat. Using default locale: "${br}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(ir).length&&Dr&&Dr(De(`Missing locale data for locale: "${ir}" in Intl.DateTimeFormat. Using default locale: "${br}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Dr&&Dr(De(`"locale" was not configured, using "${br}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),ut.locale=ut.defaultLocale||"en"),Object.assign(Object.assign({},ut),{formatters:Ee,formatNumber:vt.bind(null,ut,Ee.getNumberFormat),formatNumberToParts:Ft.bind(null,ut,Ee.getNumberFormat),formatRelativeTime:St.bind(null,ut,Ee.getRelativeTimeFormat),formatDate:xr.bind(null,ut,Ee.getDateTimeFormat),formatDateToParts:pr.bind(null,ut,Ee.getDateTimeFormat),formatTime:Br.bind(null,ut,Ee.getDateTimeFormat),formatTimeToParts:$r.bind(null,ut,Ee.getDateTimeFormat),formatPlural:an.bind(null,ut,Ee.getPluralRules),formatMessage:$t.bind(null,ut,Ee),formatHTMLMessage:Er.bind(null,ut,Ee),formatList:_r.bind(null,ut,Ee.getListFormat),formatDisplayName:ln.bind(null,ut,Ee.getDisplayNames)})}class Ui extends r.PureComponent{constructor(){super(...arguments),this.cache=Et(),this.state={cache:this.cache,intl:Bn(Vn(this.props),this.cache),prevConfig:Vn(this.props)}}static getDerivedStateFromProps(Je,{prevConfig:Ee,cache:ut}){const ir=Vn(Je);return Ln(Ee,ir)?null:{intl:Bn(ir,ut),prevConfig:ir}}render(){return Dt(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Ui.displayName="IntlProvider",Ui.defaultProps=zt;var pi=e(3191),bi=e(3424),_i=e.n(bi),li=e(85239),Ki=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,ui=(Ze,Je)=>{var Ee={};for(var ut in Ze)Zn.call(Ze,ut)&&Je.indexOf(ut)<0&&(Ee[ut]=Ze[ut]);if(Ze!=null&&Ki)for(var ut of Ki(Ze))Je.indexOf(ut)<0&&Gi.call(Ze,ut)&&(Ee[ut]=Ze[ut]);return Ee};let we;const Nn=!0,qn=new(_i()),Wn=Symbol("LANG_CHANGE"),zi=(Ze,Je="")=>Object.keys(Ze).reduce((Ee,ut)=>{const ir=Ze[ut],br=Je?`${Je}.${ut}`:ut;return typeof ir=="string"?Ee[br]=ir:Object.assign(Ee,zi(ir,br)),Ee},{}),di={},Ti=(Ze,Je,Ee)=>{var ut,ir,br,Dr;if(!Ze)return;const wr=(ut=di[Ze])!=null&&ut.messages?Object.assign({},di[Ze].messages,Je):Je,{momentLocale:Fr=(ir=di[Ze])==null?void 0:ir.momentLocale,antd:hn=(br=di[Ze])==null?void 0:br.antd}=Ee||{},Tr=(Dr=Ze.split("-"))==null?void 0:Dr.join("-");di[Ze]={messages:wr,locale:Tr,momentLocale:Fr,antd:hn},Tr===Ot()&&qn.emit(Wn,Tr)},Yn=Ze=>(0,pi.We)().applyPlugins({key:"locale",type:"modify",initialValue:Ze}),Jt=Ze=>{const Ee=Yn(di[Ze]),{cache:ut}=Ee,ir=ui(Ee,["cache"]);return Bn(ir,ut)},pt=(Ze,Je)=>we&&!Je&&!Ze?we:(Ze||(Ze=Ot()),Ze&&di[Ze]?Jt(Ze):di["zh-CN"]?Jt("zh-CN"):Bn({locale:"zh-CN",messages:{}})),nt=Ze=>{we=pt(Ze,!0)},Ot=()=>{const Ze=Yn({});return typeof(Ze==null?void 0:Ze.getLocale)=="function"?Ze.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Nn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},dt=()=>{const Ze=Ot();return["he","ar","fa","ku"].filter(ut=>Ze.startsWith(ut)).length?"rtl":"ltr"},or=(Ze,Je=!0)=>{(()=>{if(Ot()!==Ze){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Nn&&window.localStorage.setItem("umi_locale",Ze||""),nt(Ze),Je)window.location.reload();else if(qn.emit(Wn,Ze),window.dispatchEvent){const ut=new Event("languagechange");window.dispatchEvent(ut)}}})()};let cr=!0;const Ar=(Ze,Je)=>(cr&&(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
`),cr=!1),we||nt(Ot()),we.formatMessage(Ze,Je)),Ir=()=>Object.keys(di)},6383:function(d,v,e){"use strict";e.d(v,{y:function(){return o}});var r=e(43418),i=e(95237),l=e(43604),c=e(4787),f=e(59301);const o=h=>new Promise((u,a)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return a("WebRTC not supported by browser");let x=new RTCPeerConnection,p=[];x.createDataChannel(""),x.createOffer().then(y=>x.setLocalDescription(y)).catch(y=>a(y)),x.onicecandidate=y=>{console.log("event:",y);const _=[];if(!y||!y.candidate){if(console.log("ips",p),p.length==0||!(0,c.t)(p[0])){const W=r.default.info({title:f.createElement(i.Z,null,f.createElement(l.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(l.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>W.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(i.Z,null,f.createElement(l.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return a("WebRTC disabled or restricted by browser")}const G=p.filter(W=>(0,c.t)(W));return!G||!G.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(G.join(""))}let b=y.candidate.candidate.split(" "),[A,k,L,T,D,M,,B,...N]=b,K=["rtp","rtpc"];if(console.log("event:",y),p.some(G=>G==D)||p.push(D),console.log(" candidate: "+A.split(":")[1]),console.log(" component: "+K[k-1]),console.log(" protocol: "+L),console.log(" priority: "+T),console.log(" ip: "+D),console.log(" port: "+M),console.log(" type: "+B),N.length){console.log("attributes: ");for(let G=0;G<N.length;G+=2)console.log("> "+N[G]+": "+N[G+1])}}})},28426:function(d,v,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(b,A,k)=>A in b?c(b,A,{enumerable:!0,configurable:!0,writable:!0,value:k}):b[A]=k,p=(b,A)=>{for(var k in A||(A={}))u.call(A,k)&&x(b,k,A[k]);if(h)for(var k of h(A))a.call(A,k)&&x(b,k,A[k]);return b},y=(b,A)=>f(b,o(A));const _=({img:b,buttonProps:A={},styles:k={},customText:L,ButtonText:T,ButtonClick:D,Buttonclass:M,ButtonTwo:B,imgStyles:N,loading:K=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:K?"hidden":"visible"}),k)},r.createElement("img",{src:b||i,style:y(p({},N),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14"},L||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),T&&r.createElement(l.ZP,p({className:M,onClick:D},A),T),B&&B);v.Z=_},75617:function(d,v,e){"use strict";e.d(v,{Z:function(){return ne}});var r=e(59301),i={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},l=e(3113),c=e(67711),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},o=f,h=e(7657),u=function(le,Q){return r.createElement(h.Z,(0,c.Z)({},le,{ref:Q,icon:o}))},a=r.forwardRef(u),x=a,p=e(75975),y=e(6848),_=e(51257),b=e(81722),A=e(28426),k=e(346),L=e(44203),T=e(59301),D=Object.defineProperty,M=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,K=(ae,le,Q)=>le in ae?D(ae,le,{enumerable:!0,configurable:!0,writable:!0,value:Q}):ae[le]=Q,G=(ae,le)=>{for(var Q in le||(le={}))B.call(le,Q)&&K(ae,Q,le[Q]);if(M)for(var Q of M(le))N.call(le,Q)&&K(ae,Q,le[Q]);return ae},W=(ae,le,Q)=>new Promise((J,V)=>{var ue=ce=>{try{X(Q.next(ce))}catch(z){V(z)}},ee=ce=>{try{X(Q.throw(ce))}catch(z){V(z)}},X=ce=>ce.done?J(ce.value):Promise.resolve(ce.value).then(ue,ee);X((Q=Q.apply(ae,le)).next())}),ne=({editOffice:ae="view",data:le,theme:Q,type:J,filename:V,monacoEditor:ue,className:ee,style:X,close:ce,onClose:z,hasMask:$,disabledDownload:se,onImgDimensions:_e,showNodata:Oe,recordInfo:Le})=>{const[He,$e]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Bt,yt]=(0,r.useState)(""),[It,rr]=(0,r.useState)(),Yt=window.ENV==="build"?"/react/build":"",lr=location.host.startsWith("localhost")?k.Z.PROXY_SERVER:k.Z.API_SERVER,Ct=10*(1024*1024),Ut=(0,r.useRef)();le!=null&&le.startsWith("/api")&&J!=="txt"&&(le=k.Z.API_SERVER+le);const st=Ue=>Ue.substring(Ue.lastIndexOf("/")+1).split(".").pop();V&&ue&&(ue.filename=V),(0,r.useEffect)(()=>{var Ue,ye;const Ce=(ye=(Ue=document.cookie)==null?void 0:Ue.replace(/\s/g,""))==null?void 0:ye.split(";");Ce==null||Ce.map(Fe=>{let je=Fe.split("=");je[0]==="_educoder_session"&&yt(je[1])})},[]),(0,r.useEffect)(()=>{J==="office"&&(le.indexOf("bigfilescdn.")>-1||le.indexOf("bigfiles1")>-1?rr({url:le,fileType:st(le),model:le.indexOf("model=edit")?"edit":"view"}):xt())},[J,le]);const xt=()=>W(void 0,null,function*(){console.log("data:",le);let Ue=le;le.startsWith("http")||(Ue=location.origin+Ue);let ye=new URL(Ue).pathname.split("/").pop();const Ce=yield(0,b.gJ)({attachment_id:ye});Ce.url=lr+Ce.url,rr(Ce)}),ht=()=>{if(le.startsWith("http")||le.startsWith("blob:")){rt();return}(0,_.Nd)(V||"educoder",decodeURIComponent(le))},rt=()=>{Le&&(0,L.fc)({id:Le==null?void 0:Le.id,watch_type:1,course_id:Le==null?void 0:Le.course_id}),(0,_.Nd)(V||"educoder",decodeURIComponent(le))};return console.log(le,"data"),T.createElement("div",{style:G({},X||{}),className:`${$&&i.bgBlack} ${J?i.wrp:"hide"}`},ce&&T.createElement("div",{className:i.close,ref:Ut},!!_e&&T.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ut.current},T.createElement("span",{onClick:()=>{z(),_e()}},T.createElement("i",{className:"icon-yulanpizhu"}))),!se&&T.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ut.current},T.createElement("span",{onClick:rt},T.createElement("i",{className:"icon-quxiaozhiding"}))),T.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ut.current},T.createElement("span",{className:"",onClick:z},T.createElement("i",{className:"icon-guanbi1"})))),T.createElement("div",{className:`${i[ee]} ${ee} ${i.monaco} ${J==="txt"?"show":"hide"}`},J==="txt"&&T.createElement(T.Fragment,null,T.createElement(p.ZP,G({},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"&&It&&T.createElement("iframe",{src:`${Yt}/office.html?key=${It.key}&url=${btoa(It.url)}&callbackUrl=${lr+(It.callbackUrl||"")}&fileType=${It.fileType}&title=${It.title||""}&model=${ae}&officeServer=${k.Z.ONLYOFFICE}&disabledDownload=${!!se}`}),J==="html"&&T.createElement("iframe",{src:le+"&disposition=inline"}),J==="pdf"&&T.createElement("iframe",{src:`${Yt}/js/pdfview/index.html?filename=${V||"educoder.pdf"}&url=${encodeURIComponent(le)}&disabledDownload=${!!se}`}),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,Oe?T.createElement(A.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:se},"\u4E0B\u8F7D")}):T.createElement(l.ZP,{type:"primary",size:"middle",onClick:ht,disabled:se},T.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},91842:function(d,v,e){"use strict";e.d(v,{z:function(){return G},Z:function(){return W}});var r=e(59301),i=e(8944),l=e(81428),c=e(64018),f=e(81168),o=e(346),h=e(51257),u=e(15342),a=e(1012),x=e(75617),p=e(59301),_=({html:ne})=>{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=ne,J.appendChild(le.current);const V=document.createElement("style");return V.textContent=Q,J.appendChild(V),()=>{J.innerHTML=""}},[]),(0,r.useEffect)(()=>{le.current&&(le.current.innerHTML=ne)},[ne]),p.createElement("div",{ref:ae})},b=Object.defineProperty,A=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,T=(ne,ae,le)=>ae in ne?b(ne,ae,{enumerable:!0,configurable:!0,writable:!0,value:le}):ne[ae]=le,D=(ne,ae)=>{for(var le in ae||(ae={}))k.call(ae,le)&&T(ne,le,ae[le]);if(A)for(var le of A(ae))L.call(ae,le)&&T(ne,le,ae[le]);return ne};const M="@\u2581\u2581@",B="@\u2581@",N=/<pre[^>]*>/g;function K(ne){let ae=document.createElement("div");return ae.innerHTML=ne,ae.childNodes.length===0?"":ae.childNodes[0].nodeValue}const G=(ne,ae)=>{ne=ne||"";const le=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Q=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,J=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,V=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ae?ne.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(le,(ue,ee,X,ce,z,$,se)=>{const _e=ee||ce||$,Oe=X||z||se||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+Oe+"&t="+(0,h.Jn)(_e,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ne=ne.replace(V,(ue,ee,X,ce,z,$,se)=>{const _e=ee||ce||$,Oe=X||z||se||"?";return o.Z.API_SERVER+"/attachments/download/"+_e+Oe+"&t="+(0,h.Jn)(_e,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replace(le,(ue,ee,X,ce,z,$,se)=>{const _e=ee||ce||$,Oe=X||z||se||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+Oe+"&t="+(0,h.Jn)(_e,Date.now())+(ue.indexOf(")")>-1?")":"&")}).replace(Q,(ue,ee,X,ce,z)=>{const $=ee||ce,se=X||z||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+$+se+$+se+"&t="+(0,h.Jn)($,Date.now())}).replace(J,(ue,ee,X,ce,z)=>{const $=ee||ce,se=X||z||"";return"("+o.Z.API_SERVER+"/files/uploads/"+$+se+$+se+"&t="+(0,h.Jn)($,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),ne)};var W=({value:ne="",className:ae,showTextOnly:le,showLines:Q,style:J={},stylesPrev:V={},highlightKeywords:ue,showProgramFill:ee,isProgramFill:X,disabledFill:ce=!1,programFillValue:z,onFillChange:$=Oe=>{},onFillBlur:se=()=>{},onFillFocus:_e=()=>{}})=>{let Oe=String(ne);const[Le,He]=(0,r.useState)(""),[$e,Bt]=(0,r.useState)("office"),[yt,It]=(0,r.useState)([]),rr=(0,r.useRef)("a"+(0,a.Z)()),Yt={},lr=(je,Ge,it)=>{const ct=document.createElement(je===B?"input":"textarea");ct.style.width="100%",ct.style.height=je===B?"40px":"151px",ct.rows=5,ct.spellcheck=!1,ct.name="edu-program-fill",ct.placeholder="\u8BF7\u8F93\u5165",ct.dataset.id=Ge;const Gt=Object.keys(Yt).length;return Yt[Gt]=ct,`<span class="edu-program-fill-wrap ${je===B?"":"show"}" style="width:${je===B?"400px":"100%"}" title=${it||""}><span>${ct.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Ve(je){return je=je.replace(/!\[.*?\]\(.*?\)/g,""),je=je.replace(/\[.*?\]\(.*?\)/g,""),je=je.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),je=je.replace(/<embed.*?>/g,""),je=je.replace(/<img.*?>/g,""),je=je.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),je=je.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),je=je.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),je=je.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),je}const Ct=je=>je.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Ge,it){let ct=it.replace(/(\n|\r)/g,"").split("}"),Gt=[];return ct.map(Ht=>{Ht!=""&&Gt.push(`.${rr.current} ${Ht}`)}),`<style>${Gt.join("}")}</style>`}),Ut=(0,r.useMemo)(()=>{try{const ct=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Gt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Ht=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Pe=/\(\/attachments\/download\//g;Oe=Oe.replace(Pe,"("+o.Z.API_SERVER+"/attachments/download/").replace(ct,"("+o.Z.API_SERVER+"/api/attachments/").replace(Gt,'"'+o.Z.API_SERVER+"/api/attachments/").replace(Ht,'"'+o.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`)}catch(ct){}if(ee){let ct=-1;return Oe=Oe.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Gt,Ht,Pe){var tt;return++ct,lr(Gt,ct,(tt=z==null?void 0:z[ct])==null?void 0:tt.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${Ct(Oe||"")}</pre>`}let je=Ct(Oe);je=(0,l.ZP)(je);const Ge=(0,l.ez)();Oe.match(/\[TOC\]/)&&(je=je.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),je=je.replace(/(__special_katext_id_\d+__)/g,(ct,Gt)=>{const{type:Ht,expression:Pe}=Ge[Gt];return(0,u.renderToString)(K(Pe)||"",{displayMode:Ht==="block",throwOnError:!1,output:"html"})}),je=je.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const it=document.createElement("div");if(it.innerHTML=je,le)return it.innerText;if(ue){const ct=ue.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return rt(it,ct),it.innerHTML}return setTimeout(()=>Ce(),500),it.innerHTML},[Oe,ue]);(0,r.useEffect)(()=>{Ue.current&&Ue.current.querySelectorAll(["input","textarea"]).forEach(Ge=>{Ge.oninput=st,Ge.onblur=xt,Ge.onfocus=ht})},[yt]),(0,r.useEffect)(()=>{var je,Ge,it,ct,Gt;if(z!=null&&z.length)try{const Ht=Ue.current.querySelectorAll(".edu-program-fill-score"),Pe=Ue.current.querySelectorAll('[name="edu-program-fill"]');for(const[tt,Vt]of Pe.entries())Vt.value=((je=z==null?void 0:z[tt])==null?void 0:je.value)||"",((Ge=z==null?void 0:z[tt])==null?void 0:Ge.type)==="warning"?Vt.className="program-fill-warning":((it=z==null?void 0:z[tt])==null?void 0:it.type)==="success"?Vt.className="program-fill-success":Vt.className="";for(const[tt,Vt]of Ht.entries())Vt.innerHTML=(ct=z==null?void 0:z[tt])!=null&&ct.score?`${(Gt=z==null?void 0:z[tt])==null?void 0:Gt.score}\u5206`:"";It(z)}catch(Ht){console.log(Ht,"error")}},[z]);const st=je=>{yt[je.target.dataset.id]=yt[je.target.dataset.id]||{},yt[je.target.dataset.id].value=je.target.value,It([...yt]),$(yt,je.target.dataset.id)},xt=je=>{yt[je.target.dataset.id]=yt[je.target.dataset.id]||{},yt[je.target.dataset.id].value=je.target.value,It([...yt]),se(yt,je.target.dataset.id)},ht=je=>{yt[je.target.dataset.id]=yt[je.target.dataset.id]||{},yt[je.target.dataset.id].value=je.target.value,It([...yt]),_e(yt,je.target.dataset.id)};function rt(je,Ge){return je.childNodes.forEach(it=>{var ct;if(it.childNodes.length>0)rt(it,Ge);else if(it.nodeName!=="IMG")if(it.innerHTML)it.innerHTML=(ct=it.innerHTML)==null?void 0:ct.replace(new RegExp(Ge,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Gt=document.createElement("span");Gt.innerHTML=it.textContent.replace(new RegExp(Ge,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),it.replaceWith(Gt)}})}const Ue=(0,r.useRef)();l.jb.WebkitLineClamp=Q,Q&&(J=D(D({},J),l.jb));function ye(je){let Ge=je.target;if(Ge.tagName.toUpperCase()==="A"){let it=Ge.getAttribute("href");if(it.indexOf("office")>-1)je.preventDefault(),He(it),Bt("office");else if(it.indexOf("application/pdf")>-1)je.preventDefault(),He(it),Bt("pdf");else if(it.indexOf("text/html")>-1)je.preventDefault(),He(it),Bt("html");else if(it.startsWith("#")){je.preventDefault();let ct=document.getElementById(it.replace("#",""));ct&&ct.scrollIntoView(!0)}}}const Ce=()=>{var je;const Ge=(je=Ue.current)==null?void 0:je.querySelectorAll("video");Ge==null||Ge.forEach(it=>{if(it.oncontextmenu=()=>!1,it.src.indexOf(".m3u8")>-1&&!it.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var ct=new f.ZP;ct.loadSource(it.src),ct.attachMedia(it)}}})};(0,r.useEffect)(()=>{if(Ue.current&&Ut&&Ut.match(N)&&window.PR.prettyPrint(),Ue.current)return Ue.current.addEventListener("click",ye),()=>{var je;(je=Ue.current)==null||je.removeEventListener("click",ye),(0,l.AL)(),(0,l.Iy)()}},[Ut,Ue.current,ye]),(0,r.useEffect)(()=>{var je;const Ge=it=>{it.preventDefault(),it.clipboardData.setData("text",window.getSelection().toString())};return(je=Ue.current)==null||je.addEventListener("copy",Ge),()=>{var it;(it=Ue.current)==null||it.removeEventListener("copy",Ge)}},[Ue.current]);const Fe=je=>/<style[\s\S]*?>/i.test(je||"");return r.createElement(r.Fragment,null,le&&r.createElement("div",{ref:Ue},Ut),!le&&!Fe(Ut)&&r.createElement("div",{ref:Ue,style:D({},J),className:`${ae||""} ${ce?"disabled-fill":""} markdown-body ${rr.current}`,dangerouslySetInnerHTML:{__html:Ut}}),!le&&Fe(Ut)&&r.createElement(_,{html:Ut}),r.createElement(x.Z,{close:!0,data:Le,type:Le!=null&&Le.length?$e:"",style:D({},V),onClose:()=>He("")}))}},75975:function(d,v,e){"use strict";e.d(v,{SV:function(){return Ue},ZP:function(){return rt}});var r=e(59301),i=e(76374);const l={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},c={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},f={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},o={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
`)}]};var u=e(53184),a=e.n(u),x=Object.defineProperty,p=Object.defineProperties,y=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,k=(ye,Ce,Fe)=>Ce in ye?x(ye,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):ye[Ce]=Fe,L=(ye,Ce)=>{for(var Fe in Ce||(Ce={}))b.call(Ce,Fe)&&k(ye,Fe,Ce[Fe]);if(_)for(var Fe of _(Ce))A.call(Ce,Fe)&&k(ye,Fe,Ce[Fe]);return ye},T=(ye,Ce)=>p(ye,y(Ce)),D=(ye,Ce,Fe)=>new Promise((je,Ge)=>{var it=Ht=>{try{Gt(Fe.next(Ht))}catch(Pe){Ge(Pe)}},ct=Ht=>{try{Gt(Fe.throw(Ht))}catch(Pe){Ge(Pe)}},Gt=Ht=>Ht.done?je(Ht.value):Promise.resolve(Ht.value).then(it,ct);Gt((Fe=Fe.apply(ye,Ce)).next())});const M={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},B=(ye,Ce)=>Ce.map(Fe=>({label:Fe,kind:ye.languages.CompletionItemKind.Keyword,insertText:Fe})),N=ye=>Object.keys(M.tables).map(Ce=>({label:Ce,kind:ye.languages.CompletionItemKind.Variable,insertText:Ce})),K=(ye,Ce)=>{const Fe=M.tables[ye];return Fe?Fe.map(je=>({label:je,kind:Ce.languages.CompletionItemKind.Field,insertText:je})):[]};function G(ye,Ce,Fe,je,Ge){let it=Ce.getWordUntilPosition(Fe),ct={startLineNumber:Fe.lineNumber,endLineNumber:Fe.lineNumber,startColumn:it.startColumn,endColumn:it.endColumn},Gt=je.map(Ht=>({label:Ht,kind:ye.languages.CompletionItemKind.Keyword,insertText:Ht,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct}));return Ge.map(Ht=>{Gt.push(T(L({},Ht),{range:ct}))}),Gt}var W=ye=>{M.languages.map(Ge=>(ye.languages.registerDocumentFormattingEditProvider(Ge,{provideDocumentFormattingEdits(it,ct,Gt){return D(this,null,function*(){const Ht=a()(it.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:it.getFullModelRange(),text:Ht}]})}}),Ge));const Ce=f.quickKey.map(Ge=>({label:Ge.label,kind:ye.languages.CompletionItemKind.Method,insertText:Ge.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Fe=o.quickKey.map(Ge=>({label:Ge.label,kind:ye.languages.CompletionItemKind.Method,insertText:Ge.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet})),je=c.quickKey.map(Ge=>({label:Ge.label,kind:ye.languages.CompletionItemKind.Method,insertText:Ge.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ye.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Ge,it){var ct=Ge.getWordUntilPosition(it),Gt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=Ge.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...f.keywords.map(Pe=>({label:Pe,kind:ye.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt})),...f.quickKey.map(Pe=>({label:Pe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt}))]}}}),ye.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Ge,it){var ct=Ge.getWordUntilPosition(it),Gt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn};return{suggestions:[...l.keywords.map(Ht=>({label:Ht,kind:ye.languages.CompletionItemKind.Function,documentation:Ht,insertText:Ht,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt}))]}}}),ye.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Ge,it){var ct=Ge.getWordUntilPosition(it),Gt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=Ge.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...c.keywords.map(Pe=>({label:Pe,kind:ye.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt})),...c.quickKey.map(Pe=>({label:Pe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt}))]}}}),ye.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Ge,it){var ct=Ge.getWordUntilPosition(it),Gt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=Ge.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...h.keywords.map(Pe=>({label:Pe,kind:ye.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt})),...h.quickKey.map(Pe=>({label:Pe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt}))]}}}),ye.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Ge,it){var ct=Ge.getWordUntilPosition(it),Gt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Ht=Ge.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...o.keywords.map(Pe=>({label:Pe,kind:ye.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt})),...o.quickKey.map(Pe=>({label:Pe.label,kind:ye.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:Ht.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:ye.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Gt}))]}}})};const ne="\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=(ye,Ce,Fe)=>Ce in ye?ae(ye,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):ye[Ce]=Fe,Q=(ye,Ce,Fe)=>le(ye,typeof Ce!="symbol"?Ce+"":Ce,Fe);const J=class kd{constructor(Ce,Fe,je){this.placeholder=Ce,this.editor=Fe,this.monaco=je,Fe.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return kd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Q(J,"ID","editor.widget.placeholderHint");var ue=J,ee=e(96236),X=e(8591),ce=e(6848),z=e(89392),$=e(49535),se=e(56102),_e=Object.defineProperty,Oe=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,yt=(ye,Ce,Fe)=>Ce in ye?_e(ye,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):ye[Ce]=Fe,It=(ye,Ce)=>{for(var Fe in Ce||(Ce={}))$e.call(Ce,Fe)&&yt(ye,Fe,Ce[Fe]);if(He)for(var Fe of He(Ce))Bt.call(Ce,Fe)&&yt(ye,Fe,Ce[Fe]);return ye},rr=(ye,Ce)=>Oe(ye,Le(Ce)),Yt=(ye,Ce)=>{var Fe={};for(var je in ye)$e.call(ye,je)&&Ce.indexOf(je)<0&&(Fe[je]=ye[je]);if(ye!=null&&He)for(var je of He(ye))Ce.indexOf(je)<0&&Bt.call(ye,je)&&(Fe[je]=ye[je]);return Fe},lr=(ye,Ce,Fe)=>new Promise((je,Ge)=>{var it=Ht=>{try{Gt(Fe.next(Ht))}catch(Pe){Ge(Pe)}},ct=Ht=>{try{Gt(Fe.throw(Ht))}catch(Pe){Ge(Pe)}},Gt=Ht=>Ht.done?je(Ht.value):Promise.resolve(Ht.value).then(it,ct);Gt((Fe=Fe.apply(ye,Ce)).next())});function Ve(ye){return/^\d+$/.test(ye)?`${ye}px`:ye}function Ct(){}let Ut=!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 xt(ye=[]){let Ce=ye;if(Array.isArray(ye)){for(let Fe=0;Fe<ye.length;Fe++){let je=st[ye[Fe]];if(je)return je}return Ce[0]}return st[Ce]||Ce}let ht=null;var rt=ye=>{var Ce=ye,{width:Fe="100%",height:je="100%",value:Ge,language:it="javascript",style:ct={},options:Gt={},overrideServices:Ht={},theme:Pe="vs-dark",onEditBlur:tt,isCopy:Vt=!1,onSave:kt,autoHeight:Zt=!1,forbidCopy:Nt=!1,onChange:At=Ct,editorDidMount:qt=Ct,onFocus:Ke=Ct,onBreakPoint:fe=Ct,breakPointValue:pe=[],filename:Dt="educoder.txt",errorLine:De,errorContent:ft="",highlightLine:zt,openBreakPoint:Et=!1,placeholder:Re=""}=Ce,wt=Yt(Ce,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const xe=(0,r.useRef)(),qe=(0,r.useRef)({}),vt=(0,r.useRef)(),Ft=(0,r.useRef)(),Be=(0,r.useRef)([]),Pr=(0,r.useRef)(!1),St=(0,r.useRef)(),Zr=(0,r.useRef)(),Vr=(0,r.useRef)(!1),[xr,Br]=(0,r.useState)(!1);function pr(){let _r;return xe.current&&(_r=new i.Z(qr=>{for(let ln of qr)(ln.target.offsetHeight>0||ln.target.offsetWidth>0)&&qe.current.instance.layout()}),_r.observe(xe.current)),_r}function $r(){X.ZP.warning({content:decodeURIComponent(ne),key:"monaco-editor-tip"})}const en=()=>{let _r=qe.current.instance;if(Ge!=null&&_r&&xr){const qr=_r.getModel();qr&&Ge!==qr.getValue()&&(Ut=!0,qr.setValue(Ge),_r.layout(),Ut=!1)}};(0,r.useEffect)(()=>{const _r=$.Z.subscribe("formatDocument",qr=>{var ln;let Ln=qe.current.instance;(ln=Ln==null?void 0:Ln.getAction)==null||ln.call(Ln,"editor.action.formatDocument").run()});return window.updateMonacoValue=qr=>{At(qr)},_r},[]),(0,r.useEffect)(()=>{var _r;let qr=qe.current.instance;Ft.current&&clearTimeout(Ft.current),Ft.current=setTimeout(()=>{en()},500),Ge&&(Ge!=null&&Ge.length)&&((_r=qr==null?void 0:qr.updateOptions)==null||_r.call(qr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Ge.split(/\r\n|\r|\n/g).length))+3,5)}))},[Ge,xr,qe.current]),(0,r.useEffect)(()=>{if(De&&qe.current&&qe.current.instance){let qr=qe.current.instance;qr.changeViewZones(function(ln){var Ln=document.createElement("div");Ln.style.padding="10px 20px",Ln.style.width="calc(100% - 20px)",Ln.className="my-error-line-wrp",Ln.innerHTML=ft,ln.addZone({afterLineNumber:De||11,heightInLines:3,domNode:Ln})});var _r={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};qr.addOverlayWidget(_r),qr.revealPositionInCenter({lineNumber:20,column:1})}},[De,qe.current,xr]);const an=(_r="",qr)=>{if(!_r||_r.trim()==="")return!0;const Ln=qe.current.instance.getModel().getLineTokens(qr);let Vn=!1;for(let Bn=0;Bn<2;Bn++)Ln.getStandardTokenType(Bn)===1&&(Vn=!0);return Vn};(0,r.useEffect)(()=>{var _r;const qr=(_r=qe.current)==null?void 0:_r.instance;if(qr&&xr&&Nt){const ln=qr.onDidBlurEditorWidget(()=>{Vr.current=!1}),Ln=qr.onDidFocusEditorText(()=>{Vr.current=!0});return()=>{ln.dispose(),Ln.dispose()}}},[qe.current,xr,Nt]),(0,r.useEffect)(()=>{var _r;if((_r=qe.current)!=null&&_r.instance&&xr&&Et){let qr=qe.current.instance,ln=qr.getModel();if(!ln)return;(()=>{var ui;let we=[],Nn=[];const qn=ln.getAllDecorations();for(let zi of qn)zi.options.className==="highlighted-line"&&(we.push((ui=zi==null?void 0:zi.range)==null?void 0:ui.startLineNumber),Nn.push(zi==null?void 0:zi.id));if(zt===we[0])return;ln.deltaDecorations(Nn,[]);const Wn=ln.getLineCount();zt&&zt<=Wn&&(qr.deltaDecorations([],[{range:new ht.Range(zt,1,zt,ln.getLineMaxColumn(zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),qr.revealLineInCenter(zt))})();const Vn=(ui=!1)=>{var we;let Nn=[],qn=[];const Wn=ln.getAllDecorations();for(let zi of Wn)zi.options.linesDecorationsClassName==="breakpoints-select"&&(Nn.push((we=zi==null?void 0:zi.range)==null?void 0:we.startLineNumber),qn.push(zi==null?void 0:zi.id));if(ui)return{lines:Nn,ids:qn};fe(Nn)},Bn=ui=>lr(void 0,null,function*(){let we={range:new ht.Range(ui,1,ui,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield ln.deltaDecorations([],[we]),Vn()}),Ui=ui=>lr(void 0,null,function*(){let we=[];const Nn=qr.getLineDecorations(ui);for(let qn of Nn)qn.options.linesDecorationsClassName==="breakpoints-select"&&we.push(qn.id);yield ln.deltaDecorations(we,[]),Vn()}),pi=ui=>{let we=qr.getLineDecorations(ui);for(let Nn of we)if(Nn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,z.isEqual)(pe,Vn(!0).lines)){ln.deltaDecorations(Vn(!0).ids,[]);const ui=pe.map(we=>({range:new ht.Range(we,1,we,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));ln.deltaDecorations([],ui)}const bi=qr.onDidChangeModelContent(ui=>{let we=qr.getPosition();if(we){let Nn=we.lineNumber;clearTimeout(Zr.current),Zr.current=setTimeout(()=>{an(ln.getLineContent(Nn),Nn)?Ui(Nn):pi(Nn)?(Ui(Nn),Bn(Nn)):Vn()},100)}}),_i=qr.onMouseDown(ui=>{var we,Nn,qn;if(ui.target.detail&&((qn=(Nn=(we=ui.target)==null?void 0:we.element)==null?void 0:Nn.className)!=null&&qn.includes("line-numbers"))){let Wn=ui.target.position.lineNumber;if(an(ln.getLineContent(Wn),Wn))return;pi(Wn)?Ui(Wn):Bn(Wn)}}),li=ui=>{let we={range:new ht.Range(ui,1,ui,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Be.current=qr.deltaDecorations(Be.current,[we])},Ki=()=>{Be.current=qr.deltaDecorations(Be.current,[])},Zn=qr.onMouseMove(ui=>{var we,Nn,qn;if(Ki(),ui.target.detail&&((qn=(Nn=(we=ui.target)==null?void 0:we.element)==null?void 0:Nn.className)!=null&&qn.includes("line-numbers"))){let Wn=ui.target.position.lineNumber;if(an(ln.getLineContent(Wn),Wn))return;li(Wn)}}),Gi=qr.onMouseLeave(()=>{Ki()});return()=>{bi.dispose(),_i.dispose(),Zn.dispose(),Gi.dispose()}}},[qe.current,xr,pe,zt,Et,it]),(0,r.useEffect)(()=>{var _r;(_r=qe.current)!=null&&_r.instance&&Et&&qe.current.instance.setPosition({lineNumber:0,column:0})},[zt]);function sr(){let _r=qe.current.instance;if(_r){const qr=_r.getSelection(),ln=qe.current.pastePos||{},Ln=new ht.Range(ln.startLineNumber||qr.endLineNumber,ln.startColumn||qr.endColumn,ln.endLineNumber||qr.endLineNumber,ln.endColumn||qr.endColumn);setTimeout(()=>{_r.executeEdits("",[{range:Ln,text:""}])},300)}}function Rt(_r){(window.navigator.platform.match("Mac")?_r.metaKey:_r.ctrlKey)&&_r.keyCode==83&&(_r.preventDefault(),kt())}const mt=()=>{if(Zt&&qe.current.instance){const _r=qe.current.instance.getContentHeight();dn(_r<je?je:_r)}else dn(je)};function gt(_r){var qr=document.createEvent("MouseEvents");qr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),_r.dispatchEvent(qr)}const $t=_r=>{if(!Vr.current)return;const{keyCode:qr,ctrlKey:ln,metaKey:Ln,target:Vn,type:Bn}=_r;return(Bn==="paste"||(qr===67||qr===86)&&(Ln||ln))&&Vn.nodeName==="TEXTAREA"&&($r(),_r.preventDefault()),!1};function Er(_r,qr){var ln=window.URL||window.webkitURL||window,Ln=new Blob([qr]),Vn=document.createElementNS("http://www.w3.org/1999/xhtml","a");Vn.href=ln.createObjectURL(Ln),Vn.download=_r,gt(Vn)}(0,r.useEffect)(()=>{mt()},[mt]),(0,r.useEffect)(()=>{xe.current&&!xr&&Promise.all([e.e(8909),e.e(6656)]).then(e.bind(e,71448)).then(_r=>{try{ht=_r,qe.current.instance=ht.editor.create(xe.current,{value:Ge,language:xt(it),theme:Pe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Ht);const qr=qe.current.instance;let Vn=[...ee.BH._menuItems].find(bi=>bi[0]._debugName=="EditorContext")[1],Bn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ui=(bi,_i)=>{var li,Ki;let Zn=bi._first;do _i.includes((Ki=(li=Zn.element)==null?void 0:li.command)==null?void 0:Ki.id)&&bi._remove(Zn);while(Zn=Zn.next)};if(qt(qr,ht),setTimeout(()=>{mt(),qe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Er(Dt||"educoder.txt",qr.getValue())}})},500),qe.current.subscription=qr.onDidChangeModelContent(bi=>{Pr.current?clearTimeout(St.current):(mt(),At(qr.getValue(),bi)),St.current=setTimeout(()=>{Pr.current=!1},500)}),window.Monaco||W(ht,xt(it)),Nt&&(Ui(Vn,Bn),xe.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",$t),window.removeEventListener("paste",$t),window.addEventListener("keydown",$t),window.addEventListener("paste",$t)),window.Monaco=ht,tt&&qr.onDidBlurEditorWidget(()=>{tt(qr.getValue())}),Ke&&qr.onDidFocusEditorText(()=>{Ke(qr.getValue())}),Nt)try{qr.onDidPaste(bi=>{const _i=qr.getSelection(),li=qe.current.pastePos||{},Ki=new ht.Range(li.startLineNumber||_i.endLineNumber,li.startColumn||_i.endColumn,li.endLineNumber||_i.endLineNumber,li.endColumn||_i.endColumn);qr.executeEdits("",[{range:bi.range,text:""}])})}catch(bi){}let pi=pr();return Re&&typeof Re=="string"&&new ue(Re,qr,ht),Br(!0),()=>{const bi=qe.current.instance;bi.dispose();const _i=bi.getModel();_i&&_i.dispose(),qe.current.subscription&&qe.current.subscription.dispose(),pi.unobserve(xe.current)}}catch(qr){}})},[]),(0,r.useEffect)(()=>{if(qe.current.instance&&xr)return document.addEventListener("keydown",Rt,!1),()=>{document.removeEventListener("keydown",Rt)}},[kt,xr]),(0,r.useEffect)(()=>{let _r=qe.current.instance;if(_r&&xr){let qr=xt(it);ht.editor.setModelLanguage(_r.getModel(),qr)}},[it,xr]),(0,r.useEffect)(()=>{qe.current.instance&&xr&&ht.editor.setTheme(Pe)},[Pe,xr]),(0,r.useEffect)(()=>{let _r=qe.current.instance;vt.current=Gt,_r&&xr&&(_r.updateOptions(It({},Gt)),setTimeout(()=>{_r.getModel().updateOptions(It({},Gt))},200))},[JSON.stringify(Gt),xr]),(0,r.useEffect)(()=>{let _r=qe.current.instance;_r&&xr&&_r.layout()},[Fe,je,xr]);const[vr,ot]=(0,r.useState)(Ve(Fe)),[Mr,dn]=(0,r.useState)(Ve(je)),jn=rr(It({},ct),{width:vr,height:Mr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:xe,style:jn},Vt&&r.createElement(se.CopyToClipboard,{text:Ge,onCopy:()=>X.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(ce.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:ye="100%",height:Ce="100%",original:Fe,modified:je,language:Ge,options:it={}}){const ct=(0,r.useRef)(),[Gt,Ht]=(0,r.useState)(null);function Pe(Zt){let Nt;return ct.current&&(Nt=new i.Z(At=>{for(let qt of At)(qt.target.offsetHeight>0||qt.target.offsetWidth>0)&&Zt.layout()}),Nt.observe(ct.current)),Nt}(0,r.useEffect)(()=>(ct.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Zt=>{ht=Zt;const Nt=ht.editor.createDiffEditor(ct.current,rr(It({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},it),{wordWrap:!0}));Ht(Nt);let At=Pe(Nt);return()=>{Nt.dispose();const qt=Nt.getModel();qt&&qt.dispose(),At.unobserve(ct.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Gt&&Gt.setModel({original:ht.editor.createModel(Fe,Ge),modified:ht.editor.createModel(je,Ge)})},[Fe,je,Ge,Gt]);const tt=Ve(ye),Vt=Ve(Ce),kt={width:tt,height:Vt};return r.createElement("div",{className:"my-diff-editor",ref:ct,style:kt})}},32026:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var r=e(1103),i=e(8591),l=e(96999),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,L,T)=>L in k?c(k,L,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[L]=T,p=(k,L)=>{for(var T in L||(L={}))u.call(L,T)&&x(k,T,L[T]);if(h)for(var T of h(L))a.call(L,T)&&x(k,T,L[T]);return k},y=(k,L)=>f(k,o(L)),_=(k,L)=>{var T={};for(var D in k)u.call(k,D)&&L.indexOf(D)<0&&(T[D]=k[D]);if(k!=null&&h)for(var D of h(k))L.indexOf(D)<0&&a.call(k,D)&&(T[D]=k[D]);return T};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],A={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:k},{call:L,put:T}){yield T({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:L,put:T,select:D}){const{userInfo:M}=yield D(B=>B.user);if(M!=null&&M.school_id){const B=yield L(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield T({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:L,put:T,select:D}){const M=yield L(r.Nx,k.id),{userInfo:B}=yield D(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield T({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(K=>({label:K.year,value:K.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:L,put:T,select:D}){const{calc:M,page:B,per_page:N}=k,{headerData:K,tabListData:G}=yield D(ae=>ae.engineeringEvaluteList),{userInfo:W}=yield D(ae=>ae.user);let ne=K.active[b[1]];if(ne){let ae={id:ne,page:B||1,per_page:N||G.pageSize};M&&(ae=y(p({},ae),{page:G.pageNo}));const le=yield L(r._y,ae),Q=[K.active[b[0]],K.active[b[1]]];l.U.setItem(W==null?void 0:W.login,Q),le&&le.ec_courses&&(yield T({type:"setCourseResults",payload:y(p({},G),{pageNo:ae.page,total:le.count,pageSize:ae.per_page||G.pageSize,dataSource:le.ec_courses.map((J,V)=>y(p({},J),{key:ae.page>1?(ae.page-1)*ae.per_page+V+1:V+1}))})}))}else yield T({type:"setCourseResults",payload:y(p({},G),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:L,select:T}){const{headerData:D}=yield T(M=>M.engineeringEvaluteList);D.active[b[1]]&&(yield L(r.F,D.active[b[1]]))},*compute({payload:k},{call:L,put:T}){const D=k,{all:M}=D,B=_(D,["all"]),N=yield L(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield T({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,L){return p(p({},k),L.payload)},setMajorOrYearDataSource(k,{payload:L}){let T=k.headerData.active;return L.active&&(T=y(p({},T),{[L.key]:L.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[L.key]:y(p({},k.headerData.dataSource[L.key]),{dataList:L.value})}),active:T})})},setMajorOrYearActive(k,{payload:L}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[L.key]:L.value})})})},setCourseResults(k,{payload:L}){return y(p({},k),{tabListData:p(p({},k.tabListData),L)})}},subscriptions:{setup({dispatch:k,history:L}){return L.listen(({pathname:T})=>{T==="/"&&k({type:"query"})})}}};v.Z=A},55305:function(d,v,e){"use strict";e.d(v,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(_=>({value:_.id,label:_.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:_,multiple_questions:b,judgement_questions:A,program_questions:k,completion_questions:L,subjective_questions:T,practical_questions:D,combination_questions:M}=x||{},N=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},_),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},L),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},A),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},T),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},D),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(K=>K.questions_count>0).map((K,G)=>o(o({},K),{number:u[G+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},96999:function(d,v,e){"use strict";e.d(v,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(48790);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},98750:function(d,v,e){"use strict";e.d(v,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return D},Zm:function(){return u},bz:function(){return f},eF:function(){return A},gQ:function(){return L},ht:function(){return _},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return T}});var r=e(38986),i=(N,K,G)=>new Promise((W,ne)=>{var ae=J=>{try{Q(G.next(J))}catch(V){ne(V)}},le=J=>{try{Q(G.throw(J))}catch(V){ne(V)}},Q=J=>J.done?W(J.value):Promise.resolve(J.value).then(ae,le);Q((G=G.apply(N,K)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function _(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function L(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function T(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function D(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:K})})}},97402:function(d,v,e){"use strict";e.d(v,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(_,b,A)=>b in _?i(_,b,{enumerable:!0,configurable:!0,writable:!0,value:A}):_[b]=A,h=(_,b)=>{for(var A in b||(b={}))c.call(b,A)&&o(_,A,b[A]);if(l)for(var A of l(b))f.call(b,A)&&o(_,A,b[A]);return _},u=(_,b,A)=>new Promise((k,L)=>{var T=B=>{try{M(A.next(B))}catch(N){L(N)}},D=B=>{try{M(A.throw(B))}catch(N){L(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(T,D);M((A=A.apply(_,b)).next())});function a(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_up.json`,{method:"post",body:h({},_)})})}function x(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_down.json`,{method:"post",body:h({},_)})})}function p(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/update_informs.json`,{method:"post",body:h({},_)})})}function y(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/new_informs.json`,{method:"post",body:h({},_)})})}},44203:function(d,v,e){"use strict";e.d(v,{$n:function(){return A},H:function(){return b},Nm:function(){return y},Ot:function(){return _},SV:function(){return a},fc:function(){return L},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(T,D,M)=>D in T?i(T,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):T[D]=M,h=(T,D)=>{for(var M in D||(D={}))c.call(D,M)&&o(T,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&o(T,M,D[M]);return T},u=(T,D,M)=>new Promise((B,N)=>{var K=ne=>{try{W(M.next(ne))}catch(ae){N(ae)}},G=ne=>{try{W(M.throw(ne))}catch(ae){N(ae)}},W=ne=>ne.done?B(ne.value):Promise.resolve(ne.value).then(K,G);W((M=M.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 A(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 k(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)})})}},32967:function(d,v,e){"use strict";e.d(v,{CJ:function(){return y},Mf:function(){return L},NA:function(){return A},PC:function(){return _},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(T,D,M)=>D in T?i(T,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):T[D]=M,h=(T,D)=>{for(var M in D||(D={}))c.call(D,M)&&o(T,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&o(T,M,D[M]);return T},u=(T,D,M)=>new Promise((B,N)=>{var K=ne=>{try{W(M.next(ne))}catch(ae){N(ae)}},G=ne=>{try{W(M.throw(ne))}catch(ae){N(ae)}},W=ne=>ne.done?B(ne.value):Promise.resolve(ne.value).then(K,G);W((M=M.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 A(T){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},T)})})}function k(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)})})}},82264:function(d,v,e){"use strict";e.d(v,{$T:function(){return vr},A:function(){return Nt},Ab:function(){return pi},Al:function(){return X},BQ:function(){return ht},BR:function(){return ee},Bj:function(){return ui},Bn:function(){return Fe},Cq:function(){return $t},DJ:function(){return $e},Dd:function(){return _},Ds:function(){return Ue},EO:function(){return At},Ed:function(){return Bt},F9:function(){return it},FU:function(){return Gt},Fg:function(){return b},GV:function(){return lr},Gk:function(){return Q},Gm:function(){return Ut},Gz:function(){return A},Hl:function(){return k},Hn:function(){return G},ID:function(){return en},IU:function(){return De},J2:function(){return rr},K$:function(){return ye},KP:function(){return yt},KT:function(){return Le},L$:function(){return Vt},LH:function(){return D},Lk:function(){return Gi},Ls:function(){return se},MA:function(){return jn},Mc:function(){return Zn},N7:function(){return ue},Nd:function(){return le},Nl:function(){return Dt},Ns:function(){return an},O3:function(){return He},Pj:function(){return Ct},QX:function(){return pe},QZ:function(){return Oe},R2:function(){return V},Rk:function(){return Er},S9:function(){return kt},U8:function(){return Rt},UD:function(){return xr},U_:function(){return ne},Uy:function(){return pr},V8:function(){return K},Vw:function(){return $},W0:function(){return zt},W7:function(){return rt},WK:function(){return _r},Wr:function(){return Ui},YR:function(){return Ke},Z0:function(){return vt},ZL:function(){return wt},ZT:function(){return bi},ZX:function(){return ln},Z_:function(){return M},_0:function(){return B},_9:function(){return st},_B:function(){return li},aP:function(){return Et},aQ:function(){return xt},aZ:function(){return Pe},al:function(){return Zt},bm:function(){return Vr},bz:function(){return je},c_:function(){return gt},ds:function(){return Zr},fN:function(){return qr},fr:function(){return qt},g4:function(){return Yt},gq:function(){return L},hf:function(){return z},i:function(){return Ft},i6:function(){return Mr},i7:function(){return $r},iE:function(){return a},ih:function(){return Ln},kW:function(){return It},km:function(){return sr},nP:function(){return p},nQ:function(){return Ge},nX:function(){return Pr},oM:function(){return Ce},oR:function(){return Ki},o_:function(){return Re},pf:function(){return St},pr:function(){return _i},pv:function(){return ot},qB:function(){return ce},r2:function(){return N},rS:function(){return T},s:function(){return Vn},sb:function(){return tt},sm:function(){return y},t1:function(){return Ve},tB:function(){return Bn},tR:function(){return ct},td:function(){return ft},uh:function(){return Ht},up:function(){return mt},v2:function(){return x},vV:function(){return xe},w9:function(){return ae},wR:function(){return dn},yS:function(){return fe},yV:function(){return J},yd:function(){return Be},zg:function(){return _e}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(we,Nn,qn)=>Nn in we?i(we,Nn,{enumerable:!0,configurable:!0,writable:!0,value:qn}):we[Nn]=qn,h=(we,Nn)=>{for(var qn in Nn||(Nn={}))c.call(Nn,qn)&&o(we,qn,Nn[qn]);if(l)for(var qn of l(Nn))f.call(Nn,qn)&&o(we,qn,Nn[qn]);return we},u=(we,Nn,qn)=>new Promise((Wn,zi)=>{var di=Jt=>{try{Yn(qn.next(Jt))}catch(pt){zi(pt)}},Ti=Jt=>{try{Yn(qn.throw(Jt))}catch(pt){zi(pt)}},Yn=Jt=>Jt.done?Wn(Jt.value):Promise.resolve(Jt.value).then(di,Ti);Yn((qn=qn.apply(we,Nn)).next())});const a=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/course_videos/configs.json`,{method:"put",body:we})}),x=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/course_videos/list_for_config.json`,{method:"Get",params:we})}),p=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:we})}),y=we=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/batch_late_setting`,{method:"post",body:we})}),_=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:we})}),b=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:we})}),A=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:we})}),k=we=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:we})});function L(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},we.permissions)})})}function T(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.course_id}/assistant_permissions.json`,{method:"Get",params:h({},we)})})}function D(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/ai_status_query.json`,{method:"Get",params:we})})}function M(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},we)})})}function B(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/get_user_portrait_config.json`,{method:"Get",params:we})})}function N(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/update_user_portrait_config.json?id=${we.coursesId}`,{method:"put",body:h({},we)})})}function K(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},we)})})}function G(we){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},we)})})}function W(we){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},we)})})}function ne(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/top_banner.json`,{method:"get",params:h({},we)})})}function ae(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id||we.coursesId}/left_banner.json`,{method:"get",params:h({},we)})})}function le(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/homework_commons.json`,{method:"get",params:h({},we)})})}function Q(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/homework_commons/list.json`,{method:"get",params:h({},we)})})}function J(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/graduation_topics.json`,{method:"get",params:h({},we)})})}function V(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/graduation_tasks.json`,{method:"get",params:h({},we)})})}function ue(we){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${we.id}/exercises.json`,{method:"get",params:h({},we)})})}function ee(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/polls.json`,{method:"get",params:h({},we)})})}function X(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/homework_commons.json`,{method:"get",params:h({},we)})})}function ce(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/course_groups.json`,{method:"get",params:h({},we)})})}function z(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/all_course_groups.json`,{method:"get",params:h({},we)})})}function $(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/attendances.json`,{method:"get",params:h({},we)})})}function se(we){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${we.coursesId}/attendances.json`,{method:"get",params:h({},we)})})}function _e(we){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${we.id}/edit.json`,{method:"get",params:h({},we)})})}function Oe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/informs.json`,{method:"get",params:h({},we)})})}function Le(we){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},we)})})}function He(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/course_videos.json`,{method:"get",params:h({},we)})})}function $e(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/live_links.json`,{method:"get",params:h({},we)})})}function Bt(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},we)})})}function yt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${we.categoryId}/messages.json`,{method:"get",params:h({},we)})})}function It(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/course_groups.json`,{method:"get",params:h({},we)})})}function rr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/students.json`,{method:"get",params:h({},we)})})}function Yt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/statistics.json`,{method:"get",params:h({},we)})})}function lr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/work_score.json`,{method:"get",params:h({},we)})})}function Ve(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/act_score.json`,{method:"get",params:h({},we)})})}function Ct(we){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},we)})})}function Ut(we){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},we)})})}function st(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},we)})})}function xt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},we)})})}function ht(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we==null?void 0:we.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},we)})})}function rt(we){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},we)})})}function Ue(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},we)})})}function ye(we){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:we})})}function Ce(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:we})})}function Fe(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:we})})}function je(we){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:we})})}function Ge(we){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:we})})}function it(we){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},we)})})}function ct(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.identifier}/add_student_groups.json`,{method:"post",body:we})})}function Gt(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:we})})}function Ht(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/add_teacher.json`,{method:"post",body:we})})}function Pe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/add_students_by_search.json`,{method:"post",body:we})})}function tt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/set_public_or_private.json`,{method:"post",body:we})})}function Vt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/set_invite_code_halt.json`,{method:"post",body:we})})}function kt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/duplicate_course.json`,{method:"post",body:we})})}function Zt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/update_end_date.json`,{method:"put",body:we})})}function Nt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}.json`,{method:"delete",body:we})})}function At(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/settings.json`,{method:"get",params:h({},we)})})}function qt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}.json`,{method:"put",body:we})})}function Ke(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},we)})})}function pe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},we)})})}function Dt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},we)})})}function De(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},we)})})}function ft(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},we)})})}function zt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},we)})})}function Et(we){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${we.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},we)})})}function Re(we){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${we.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},we)})})}function wt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},we)})})}function xe(we){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},we)})})}function qe(we){return u(this,null,function*(){return Fetch(`/api/homework_commons/${we.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},we)})})}function vt(we){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${we.id}.json`,{method:"delete",params:{export:!0}})})}function Ft(we){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${we.id}.json`,{method:"delete",params:{export:!0}})})}function Be(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${we.id}/sticky_module.json`,{method:"get"})})}function Pr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${we.id}/hidden_module.json`,{method:"get"})})}function St(we){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:we})})}function Zr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${we.id}.json`,{method:"get",params:we})})}function Vr(we){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:we})})}function xr(we){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:we})})}function Br(we){return u(this,null,function*(){return Fetch(`/api/polls/${we.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},we)})})}function pr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},we)})})}function $r(we){return(0,r.ZP)(`/api/polls/${we.categoryId}/start_answer.json`,{method:"get",params:h({},we)})}function en(we){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${we.questionId}/poll_votes.json`,{method:"post",body:we})})}function an(we){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${we.categoryId}/commit_poll.json`,{method:"post",body:we})})}function sr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.courseId}/tasks_list.json`,{method:"get",params:we})})}function Rt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.courseId}/update_task_position.json`,{method:"post",body:we})})}function mt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:we})})}function gt(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/all_course_groups.json`,{method:"get",params:we})})}function $t(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/polls/all_course_groups.json`,{method:"get",params:we})})}function Er(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/students.json`,{method:"get",params:we})})}function vr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${we.categoryId}/rename_group.json`,{method:"POST",body:we})})}function ot(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${we.categoryId}.json`,{method:"delete",body:we})})}function Mr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/join_course_group.json`,{method:"POST",body:we})})}function dn(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/transfer_to_course_group.json`,{method:"post",body:we})})}function jn(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/delete_from_course.json`,{method:"post",body:we})})}function _r(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/join_course_group.json`,{method:"post",body:we})})}function qr(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/exit_course.json`,{method:"post"})})}function ln(we){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},we)})})}function Ln(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/mooc_users/${we.user_id}/edit.json`,{method:"get",params:we})})}function Vn(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/mooc_users.json`,{method:"post",body:we})})}function Bn(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.coursesId}/mooc_users/${we.user_id}.json`,{method:"put",body:we})})}function Ui(we){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${we.id}/move_category.json`,{method:"post",body:we})})}function pi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${we.id}/move_category.json`,{method:"post",body:we})})}function bi(we){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we.id}/courseware.json`,{method:"get",params:we})})}function _i(we,Nn){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we}/mark_wrong_topic.json`,{method:"get",params:Nn})})}function li(we,Nn){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${we}/cancel_wrong_topic.json`,{method:"get",params:Nn})})}function Ki(we,Nn){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${we}/allow_end_group.json`,{method:"get",params:Nn})})}function Zn(we,Nn){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${we}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:Nn})})}function Gi(we,Nn){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${we}/get_content_for_commit_id.json`,{method:"get",params:Nn})})}function ui(we){return u(this,null,function*(){return(0,r.ZP)("/api/declarations/search_user_list.json",{method:"get",params:we})})}},73801:function(d,v,e){"use strict";e.d(v,{$M:function(){return Yt},$P:function(){return Gt},Ax:function(){return x},Dh:function(){return k},FU:function(){return W},GQ:function(){return ee},IN:function(){return Ue},JM:function(){return je},Ju:function(){return rr},Mn:function(){return rt},Ni:function(){return se},Pg:function(){return L},Pt:function(){return A},Qp:function(){return V},R9:function(){return ne},Ux:function(){return ue},Vy:function(){return He},XJ:function(){return $},XR:function(){return yt},Ze:function(){return B},aq:function(){return M},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return le},lm:function(){return ye},ml:function(){return ce},o3:function(){return Ve},pA:function(){return Ut},pS:function(){return Fe},pU:function(){return z},ps:function(){return G},q0:function(){return xt},qN:function(){return ht},qS:function(){return b},qj:function(){return Bt},qt:function(){return it},rV:function(){return T},rZ:function(){return Ge},rk:function(){return Oe},rm:function(){return J},sK:function(){return Q},sL:function(){return st},su:function(){return Ce},tC:function(){return Le},tO:function(){return $e},u9:function(){return X},uZ:function(){return _e},vV:function(){return K},xx:function(){return Ht},y8:function(){return It},yS:function(){return N},zF:function(){return y},zc:function(){return ae},zj:function(){return D},zz:function(){return ct}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Pe,tt,Vt)=>tt in Pe?i(Pe,tt,{enumerable:!0,configurable:!0,writable:!0,value:Vt}):Pe[tt]=Vt,h=(Pe,tt)=>{for(var Vt in tt||(tt={}))c.call(tt,Vt)&&o(Pe,Vt,tt[Vt]);if(l)for(var Vt of l(tt))f.call(tt,Vt)&&o(Pe,Vt,tt[Vt]);return Pe},u=(Pe,tt,Vt)=>new Promise((kt,Zt)=>{var Nt=Ke=>{try{qt(Vt.next(Ke))}catch(fe){Zt(fe)}},At=Ke=>{try{qt(Vt.throw(Ke))}catch(fe){Zt(fe)}},qt=Ke=>Ke.done?kt(Ke.value):Promise.resolve(Ke.value).then(Nt,At);qt((Vt=Vt.apply(Pe,tt)).next())});const a=Pe=>(0,r.ZP)(`/api/competitions/${Pe.identifier}/create_guide.json`,{method:"post",body:Pe}),x=Pe=>(0,r.ZP)(`/api/competitions/${Pe.identifier}/guides.json`,{method:"get",params:Pe}),p=Pe=>(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.competition_team_id}/edit_info.json`,{method:"put",body:Pe});function y(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/update_result.json`,{method:"post",body:Pe})})}function _(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Pe)})})}function b(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Pe})})}function A(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"post"})})}function k(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_staff.json`,{method:"get"})})}function L(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/common_header.json`,{method:"get"})})}function T(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/${Pe.url}`,{method:"get",params:h({},Pe)})})}function D(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/update_md_content.json`,{method:"post",body:Pe})})}function M(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"get",params:Pe})})}function B(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.Teannameid}/edit.json`,{method:"get",params:Pe})})}function N(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.Teannameid}.json`,{method:"put",body:Pe})})}function K(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.id}/leave.json`,{method:"post",body:Pe})})}function G(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.id}.json`,{method:"delete"})})}function W(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"post",body:Pe})})}function ne(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.id}/add_managers.json`,{method:"post",body:Pe})})}function ae(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/join.json`,{method:"post",body:Pe})})}function le(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/teachers.json`,{method:"get",params:Pe})})}function Q(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/students.json`,{method:"get",params:Pe})})}function J(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/crud_team_members.json`,{method:"post",body:Pe})})}function V(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Pe})})}function ue(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/chart_rules.json`,{method:"get"})})}function ee(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/charts.json`,{method:"get",params:Pe})})}function X(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/results.json`,{method:"get",params:Pe})})}function ce(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/md_tab_rules.json`,{method:"get",params:Pe})})}function z(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/prize.json`,{method:"get",params:Pe})})}function $(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.id}.json`,{method:"get",params:Pe})})}function se(Pe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Pe})})}function _e(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/phone_bind.json`,{method:"post",body:Pe})})}function Oe(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/email_bind.json`,{method:"post",body:Pe})})}function Le(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/professional_auth_apply.json`,{method:"delete"})})}function He(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Pe.userid}/authentication_apply.json`,{method:"delete"})})}function $e(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/prize_leader_account.json`,{method:"put",body:Pe})})}function Bt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/shixun_detail.json`,{method:"get"})})}function yt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams/${Pe.teamid}/course_detail.json`,{method:"get"})})}function It(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Pe.id}.json`,{method:"delete"})})}function rr(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.id}/get_certificate_info.json`,{method:"get",params:Pe})})}function Yt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.id}/basic_setting.json`,{method:"post",body:Pe})})}function lr(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ve(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/common_header.json`,{method:"get"})})}function Ct(Pe){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Pe})})}function Ut(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/search_managers.json`,{method:"get",params:Pe})})}function st(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/get_managers.json`,{method:"get"})})}function xt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/add_managers.json`,{method:"post",body:Pe})})}function ht(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/delete_managers.json`,{method:"delete",body:Pe})})}function rt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/get_picture.json`,{method:"get"})})}function Ue(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/identifier_exist.json`,{method:"post",body:Pe})})}function ye(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/get_shixun_settings.json`,{method:"get"})})}function Ce(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_add.json`,{method:"post",body:Pe})})}function Fe(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_delete.json`,{method:"delete",body:Pe})})}function je(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/shixun_select.json`,{method:"post",body:Pe})})}function Ge(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe}/info_finish.json`,{method:"get"})})}function it(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe==null?void 0:Pe.id}/competition_review.json`,{method:"post",body:h({},Pe)})})}function ct(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_teams.json`,{method:"get",params:Pe})})}function Gt(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/all_team_members.json`,{method:"get",params:Pe})})}function Ht(Pe){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Pe.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Pe})})}},36910:function(d,v,e){"use strict";e.d(v,{$7:function(){return _},Bb:function(){return L},Dn:function(){return b},Hh:function(){return l},Hs:function(){return A},It:function(){return u},JD:function(){return c},LX:function(){return p},O:function(){return D},SW:function(){return T},Td:function(){return o},UX:function(){return N},Uk:function(){return B},W9:function(){return h},Xi:function(){return a},Zm:function(){return f},eu:function(){return k},kF:function(){return x},kq:function(){return W},lG:function(){return K},o5:function(){return y},t2:function(){return G},xx:function(){return M}});var r=e(38986),i=(ne,ae,le)=>new Promise((Q,J)=>{var V=X=>{try{ee(le.next(X))}catch(ce){J(ce)}},ue=X=>{try{ee(le.throw(X))}catch(ce){J(ce)}},ee=X=>X.done?Q(X.value):Promise.resolve(X.value).then(V,ue);ee((le=le.apply(ne,ae)).next())});const l=ne=>i(void 0,null,function*(){return(0,r.ZP)("/api/annual_statistics.json",{method:"get",params:ne})});function c(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/declaration_selects.json",{method:"get",params:ne})})}function f(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/add_declaration_selects.json",{method:"post",body:ne})})}function o(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/type_selects.json",{method:"get"})})}function h(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/delete_declaration_selects.json",{method:"delete",body:ne})})}function u(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/edit_declaration_selects.json",{method:"post",body:ne})})}function a(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/declaration_profile.json",{method:"get",params:ne})})}function x(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/edit_declaration_profile.json",{method:"put",body:ne})})}function p(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/get_all_type.json",{method:"get",params:ne})})}function y(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/declaration_descriptions.json",{method:"get",params:ne})})}function _(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/edit_declaration_descriptions.json",{method:"put",body:ne})})}function b(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations.json",{method:"get",params:ne})})}function A(ne){return i(this,null,function*(){return(0,r.ZP)(`/api/declarations/${ne==null?void 0:ne.id}.json`,{method:"get",params:ne})})}function k(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations.json",{method:"post",body:ne})})}function L(ne){return i(this,null,function*(){return(0,r.ZP)(`/api/declarations/${ne==null?void 0:ne.id}.json`,{method:"put",body:ne})})}function T(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/verify_list.json",{method:"get",params:ne})})}function D(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/calculate.json",{method:"POST",body:ne})})}function M(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/commit_verify.json",{method:"post",body:ne})})}function B(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/verify.json",{method:"post",body:ne})})}function N(ne){return i(this,null,function*(){return(0,r.ZP)(`/api/declarations/${ne.id}.json`,{method:"delete"})})}function K(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/get_declare_type.json",{method:"get",params:ne})})}function G(ne){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/import.json",{method:"post",body:ne},!0,!0)})}function W(ne){return i(this,null,function*(){return(0,r.ZP)("/api/export_excels/import.json",{method:"post",body:ne},!0,!0)})}},1103:function(d,v,e){"use strict";e.d(v,{F:function(){return b},OE:function(){return D},ff:function(){return A},p1:function(){return k},_y:function(){return _},mK:function(){return K},gq:function(){return W},eM:function(){return N},BA:function(){return le},bA:function(){return J},Nx:function(){return Q},Qx:function(){return M},At:function(){return L},PX:function(){return T},Xl:function(){return B},y9:function(){return G},No:function(){return ne},ay:function(){return V}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ue,ee,X)=>ee in ue?i(ue,ee,{enumerable:!0,configurable:!0,writable:!0,value:X}):ue[ee]=X,a=(ue,ee)=>{for(var X in ee||(ee={}))o.call(ee,X)&&u(ue,X,ee[X]);if(f)for(var X of f(ee))h.call(ee,X)&&u(ue,X,ee[X]);return ue},x=(ue,ee)=>l(ue,c(ee)),p=(ue,ee)=>{var X={};for(var ce in ue)o.call(ue,ce)&&ee.indexOf(ce)<0&&(X[ce]=ue[ce]);if(ue!=null&&f)for(var ce of f(ue))ee.indexOf(ce)<0&&h.call(ue,ce)&&(X[ce]=ue[ce]);return X},y=(ue,ee,X)=>new Promise((ce,z)=>{var $=Oe=>{try{_e(X.next(Oe))}catch(Le){z(Le)}},se=Oe=>{try{_e(X.throw(Oe))}catch(Le){z(Le)}},_e=Oe=>Oe.done?ce(Oe.value):Promise.resolve(Oe.value).then($,se);_e((X=X.apply(ue,ee)).next())});const _=ue=>y(void 0,null,function*(){var ee=ue,{id:X}=ee,ce=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${X}/course_results.json`,{method:"get",params:ce})}),b=ue=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${ue}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},A=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:ue,id:ee,class_name:X=null})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/${ee}.json`,{method:"get",params:{class_name:X}}),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 ee=document.createElement("iframe");ee.src=`/api/ec_years/${ue}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:ue,id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results.json`,{method:"get"}),K=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/get_formulas.json`,{method:"get"}),G=({ec_year_id:ue,formula_one:ee,formula_two:X,formula_three:ce})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:X,formula_three_id:ce}}),W=({ec_year_id:ue,id:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/${ee}.json`,{method:"get"}),ne=ue=>{var ee=ue,{ec_year_id:X,type:ce,goal_value:z}=ee,$=p(ee,["ec_year_id","type","goal_value"]);let se=`?type=${ce}`,_e={method:"PUT"};return ce==="all"&&(se+=`&goal_value=${z}`),ce==="each"&&(_e=x(a({},_e),{body:$})),(0,r.ZP)(`/api/ec_years/${X}/ec_graduation_results/set_goal_value${se}`,_e)};var ae=(ue,ee,X)=>new Promise((ce,z)=>{var $=Oe=>{try{_e(X.next(Oe))}catch(Le){z(Le)}},se=Oe=>{try{_e(X.throw(Oe))}catch(Le){z(Le)}},_e=Oe=>Oe.done?ce(Oe.value):Promise.resolve(Oe.value).then($,se);_e((X=X.apply(ue,ee)).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:ee})=>(0,r.ZP)(`/api/ec_years/${ue}/top_pages.json`,{method:"get",params:{school_id:ee}}),V=({id:ue,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${ue}?name=${ee}`,{method:"PUT"})},81722:function(d,v,e){"use strict";e.d(v,{$Q:function(){return D},$l:function(){return vr},BJ:function(){return ht},CD:function(){return tt},Cd:function(){return it},Cl:function(){return Be},Di:function(){return lr},Fl:function(){return Ut},G$:function(){return ce},GK:function(){return Ct},Ip:function(){return ye},J:function(){return z},KE:function(){return st},L8:function(){return qt},LP:function(){return Ce},MK:function(){return Ve},Mb:function(){return xr},N0:function(){return G},N3:function(){return $e},OO:function(){return L},P8:function(){return an},PJ:function(){return se},PT:function(){return pr},Qc:function(){return ne},RK:function(){return X},Ty:function(){return qe},UH:function(){return ft},UK:function(){return Bt},Uj:function(){return Ht},Ul:function(){return Ge},VL:function(){return Zt},Vj:function(){return fe},W4:function(){return Gt},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Ue},Xn:function(){return Zr},Xo:function(){return le},YY:function(){return Yt},Ym:function(){return N},Yu:function(){return sr},ZD:function(){return en},Zg:function(){return Pr},_B:function(){return Pe},_F:function(){return Br},_U:function(){return J},_u:function(){return _e},aU:function(){return K},ab:function(){return Ft},cC:function(){return xe},cV:function(){return V},ck:function(){return $r},dp:function(){return W},eA:function(){return $t},fG:function(){return A},gA:function(){return ue},gG:function(){return Vr},gJ:function(){return Rt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return k},iw:function(){return wt},kp:function(){return Nt},lL:function(){return T},lf:function(){return He},n$:function(){return Le},n7:function(){return Q},nF:function(){return Ke},o3:function(){return mt},oS:function(){return Fe},oX:function(){return kt},oy:function(){return vt},p7:function(){return B},pL:function(){return Vt},pu:function(){return rt},q6:function(){return At},qf:function(){return rr},qz:function(){return je},s:function(){return Et},sA:function(){return Dt},sS:function(){return gt},tX:function(){return zt},uR:function(){return yt},ux:function(){return xt},wy:function(){return It},xA:function(){return Re},yE:function(){return ae},yu:function(){return De},zP:function(){return M},zR:function(){return Er}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ot,Mr,dn)=>Mr in ot?i(ot,Mr,{enumerable:!0,configurable:!0,writable:!0,value:dn}):ot[Mr]=dn,a=(ot,Mr)=>{for(var dn in Mr||(Mr={}))o.call(Mr,dn)&&u(ot,dn,Mr[dn]);if(f)for(var dn of f(Mr))h.call(Mr,dn)&&u(ot,dn,Mr[dn]);return ot},x=(ot,Mr)=>l(ot,c(Mr)),p=(ot,Mr,dn)=>new Promise((jn,_r)=>{var qr=Vn=>{try{Ln(dn.next(Vn))}catch(Bn){_r(Bn)}},ln=Vn=>{try{Ln(dn.throw(Vn))}catch(Bn){_r(Bn)}},Ln=Vn=>Vn.done?jn(Vn.value):Promise.resolve(Vn.value).then(qr,ln);Ln((dn=dn.apply(ot,Mr)).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}),A=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:ot}),k=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}),M=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/sava_exam_summary.json`,{method:"post",body:ot}),B=ot=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:ot}),N=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/generate_exam_summary.json`,{method:"post",body:ot}),K=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/exam_summary_settings.json`,{method:"post",body:ot}),G=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})}),W=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/code_check.json`,{method:"get",params:ot}),ne=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}),V=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 ee(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 X(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/edit_question_type_alias.json`,{method:"POST",body:ot})})}function ce(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.json`,{method:"get",params:a({},ot)})})}function z(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},ot)})})}function $(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/video_push_url.json`,{method:"get",params:a({},ot)})})}function se(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 _e(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_result.json`,{method:"get",params:a({},ot)})})}function Oe(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},ot)})})}function Le(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},ot)})})}function He(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},ot)})})}function $e(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},ot)})})}function Bt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/common_header.json`,{method:"get",params:a({},ot)})})}function yt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises.json`,{method:"post",body:a({},ot)})})}function It(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}.json`,{method:"put",body:a({},ot)})})}function rr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}.json`,{method:"get",params:a({},ot)})})}function Yt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},ot)})})}function lr(ot){return p(this,null,function*(){const{id:Mr}=ot;return delete ot.id,(0,r.ZP)(`/api/exercise_questions/${Mr}.json`,{method:"put",body:a({},ot)})})}function Ve(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_questions.json`,{method:"post",body:a({},ot)})})}function Ct(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/up_down.json`,{method:"post",body:a({},ot)})})}function Ut(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 xt(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 rt(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 ye(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ce(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 Fe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function je(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time.json`,{method:"post",body:a({},ot)})})}function Ge(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function it(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 Gt(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 Ht(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 Pe(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},ot),{login:null})})}function tt(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 Zt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_exercise.json`,{method:"post",body:ot})})}function Nt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_commit_exercise.json`,{method:"post",body:ot})})}function At(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_exercise.json`,{method:"post",body:ot})})}function qt(ot){return(0,r.ZP)(`/api/${ot.url}`,{method:"get",params:a({},ot)})}function Ke(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 pe(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/simulate_begin_commit.json`,{method:"get",params:a({},ot)})}function Dt(ot){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},ot)})}function De(ot){return console.log("params:",ot),(0,r.ZP)(`/api/exercises/${ot.categoryId}/edit.json`,{method:"get",params:a({},ot)})}function ft(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 Et(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/student_redo_lists.json`,{method:"get",params:a({},ot)})}function Re(ot){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:ot})}function wt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/exercise_header.json`,{method:"get",params:a({},ot)})}function xe(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/allow_close_camera.json`,{method:"post",body:a({},ot)})}function qe(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},ot)})}function vt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/record_screen`,{method:"post",params:a({},ot)})}function Ft(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 Pr(ot){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/check_user_exercise.json`,{method:"get",params:a({},ot)})}function St(ot){return Fetch(`/api/exercises/${ot.id}/make_up_students.json`,{method:"get",params:a({},ot)})}function Zr(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 Vr(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 xr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${ot.categoryId}/simulate_exercise.json`,{method:"post",body:a({},ot)})})}function Br(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},ot)})})}function pr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_time.json`,{method:"get",params:a({},ot)})})}function $r(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_screen_at.json`,{method:"post",body:a({},ot)})})}function en(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/unlock_user`,{method:"post",body:Mr})})}function an(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/save_screen_record.json`,{method:"post",body:Mr})})}function sr(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/screen_record_list.json`,{method:"get",params:Mr})})}function Rt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},ot)})})}function mt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:ot})})}function gt(ot,Mr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/mark.json`,{method:"post",body:Mr})})}function $t(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${ot}/exit_delete_pod.json`,{method:"post",body:ot})})}function Er(ot){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:ot})})}function vr(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)})})}},94670:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return L},Sr:function(){return D},YP:function(){return T},b4:function(){return k},bc:function(){return a},dX:function(){return A},eh:function(){return M},iI:function(){return _},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return K}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,W,ne)=>W in G?i(G,W,{enumerable:!0,configurable:!0,writable:!0,value:ne}):G[W]=ne,h=(G,W)=>{for(var ne in W||(W={}))c.call(W,ne)&&o(G,ne,W[ne]);if(l)for(var ne of l(W))f.call(W,ne)&&o(G,ne,W[ne]);return G},u=(G,W,ne)=>new Promise((ae,le)=>{var Q=ue=>{try{V(ne.next(ue))}catch(ee){le(ee)}},J=ue=>{try{V(ne.throw(ue))}catch(ee){le(ee)}},V=ue=>ue.done?ae(ue.value):Promise.resolve(ue.value).then(Q,J);V((ne=ne.apply(G,W)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:G})})}function x(G){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:G})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/sticky_or_cancel.json`,{method:"post",body:G})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"delete",body:G})})}function _(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:G})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/edit.json`,{method:"get",params:G})})}function A(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},G)})})}function k(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"put",body:h({},G)})})}function L(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}.json`,{method:"get",params:G})})}function T(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"post",body:G})})}function D(G){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${G.user_id}/watch.json`,{method:"delete",body:h({},G)})})}function M(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/reward_code.json`,{method:"post",body:G})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${G.id}/plus.json`,{method:"post",body:G})})}function N(G){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:G})})}function K(G){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${G.id}/more_reply.json`,{method:"get",params:G})})}},22072:function(d,v,e){"use strict";e.d(v,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,_,b)=>_ in y?i(y,_,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[_]=b,h=(y,_)=>{for(var b in _||(_={}))c.call(_,b)&&o(y,b,_[b]);if(l)for(var b of l(_))f.call(_,b)&&o(y,b,_[b]);return y},u=(y,_,b)=>new Promise((A,k)=>{var L=M=>{try{D(b.next(M))}catch(B){k(B)}},T=M=>{try{D(b.throw(M))}catch(B){k(B)}},D=M=>M.done?A(M.value):Promise.resolve(M.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})})}},24059:function(d,v,e){"use strict";e.d(v,{B6:function(){return p},Gr:function(){return N},Mf:function(){return D},NA:function(){return L},PC:function(){return A},PP:function(){return k},QA:function(){return x},RP:function(){return W},Sv:function(){return G},YQ:function(){return T},_n:function(){return ne},hL:function(){return B},je:function(){return b},mM:function(){return _},wA:function(){return K},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(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)&&o(ae,Q,le[Q]);if(l)for(var Q of l(le))f.call(le,Q)&&o(ae,Q,le[Q]);return ae},u=(ae,le,Q)=>new Promise((J,V)=>{var ue=ce=>{try{X(Q.next(ce))}catch(z){V(z)}},ee=ce=>{try{X(Q.throw(ce))}catch(z){V(z)}},X=ce=>ce.done?J(ce.value):Promise.resolve(ce.value).then(ue,ee);X((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 A(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ae.categoryId}/show_comment.json`,{method:"get",params:h({},ae)})})}function k(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 M(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ae)})})}function B(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 N(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics`,{method:"post",body:h({},ae)})})}function K(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_topics/${ae.categoryId}`,{method:"put",body:h({},ae)})})}function G(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ae.coursesId}/graduation_tasks`,{method:"post",body:h({},ae)})})}function W(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}.json`,{method:"put",body:h({},ae)})})}function ne(ae){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ae.categoryId}/edit.json`,{method:"get",params:h({},ae)})})}},12309:function(d,v,e){"use strict";e.d(v,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return Q},Fi:function(){return ce},H3:function(){return _},HF:function(){return k},HH:function(){return y},Ib:function(){return ue},J3:function(){return o},NT:function(){return l},NX:function(){return T},Ot:function(){return L},Ou:function(){return J},Ps:function(){return c},Rk:function(){return le},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ae},YS:function(){return W},Zd:function(){return X},bS:function(){return D},ck:function(){return A},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return G},km:function(){return ne},l5:function(){return B},rU:function(){return z},xF:function(){return M},zC:function(){return V},zT:function(){return $}});var r=e(38986),i=(se,_e,Oe)=>new Promise((Le,He)=>{var $e=It=>{try{yt(Oe.next(It))}catch(rr){He(rr)}},Bt=It=>{try{yt(Oe.throw(It))}catch(rr){He(rr)}},yt=It=>It.done?Le(It.value):Promise.resolve(It.value).then($e,Bt);yt((Oe=Oe.apply(se,_e)).next())});function l(se){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:se})}function c(se){return(0,r.ZP)(`/api/schools/${se.id}/departments/for_option.json`,{method:"get",params:se})}function f(se){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:se})}function o(se){return(0,r.ZP)("/api/graduations.json",{method:"get",params:se})}function h(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.stageid}/authorized_redelivery.json`,{method:"POST",body:se})})}function u(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.stageid}/submit.json`,{method:"POST",body:se})})}function a(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/export_status.json`,{method:"get",params:se})})}function x(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/export_all_attachments.json`,{method:"get",params:se})})}function p(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.id}.json`,{method:"get",params:se})})}function y(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/set_final_score.json`,{method:"POST",body:se})})}function _(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/final_score.json`,{method:"get",params:se})})}function b(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/set_novice_guide.json`,{method:"POST",body:se})})}function A(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_notices/${se.doid}/set_do.json`,{method:"POST",body:se})})}function k(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers.json`,{method:"POST",body:se})})}function L(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_students/${se.id}/update_major.json`,{method:"PUT",body:se})})}function T(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students.json`,{method:"POST",body:se})})}function D(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers/search.json`,{method:"get",params:se})})}function M(se){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:se})})}function B(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students/search.json`,{method:"get",params:se})})}function N(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students.json`,{method:"get",params:se})})}function K(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers.json`,{method:"get",params:se})})}function G(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.graduation_id}/graduation_tasks.json`,{method:"POST",body:se})})}function W(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.graduation_id}/graduation_tasks/${se.id}.json`,{method:"PUT",body:se})})}function ne(se){return i(this,null,function*(){var _e;return(0,r.ZP)(`/api/graduations/${se.id}/graduation_tasks/${(_e=se.ids)==null?void 0:_e[0]}`,{method:"DELETE",body:{ids:se.ids}})})}function ae(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_tasks.json`,{method:"get",params:se})})}function le(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_notices.json`,{method:"get",params:se})})}function Q(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}.json`,{method:"get"})})}function J(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se==null?void 0:se.id}/common_header.json`,{method:"get"})})}function V(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/preview.json`,{method:"get"})})}function ue(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/not_pass.json`,{method:"post",body:_e})})}function ee(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/pass.json`,{method:"post",body:_e})})}function X(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/not_pass.json`,{method:"post",body:_e})})}function ce(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/pass.json`,{method:"post",body:_e})})}function z(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/batch_delete`,{method:"delete",body:_e})})}function $(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/batch_delete`,{method:"delete",body:_e})})}},82220:function(d,v,e){"use strict";e.d(v,{LA:function(){return a},Rm:function(){return c},S_:function(){return x},Tt:function(){return o},cR:function(){return h},eX:function(){return l},h$:function(){return f},vm:function(){return u}});var r=e(38986),i=(p,y,_)=>new Promise((b,A)=>{var k=D=>{try{T(_.next(D))}catch(M){A(M)}},L=D=>{try{T(_.throw(D))}catch(M){A(M)}},T=D=>D.done?b(D.value):Promise.resolve(D.value).then(k,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 o(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function h(p){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:p})})}function u(p){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:p})})}function a(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function x(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:p})})}},50958:function(d,v,e){"use strict";e.d(v,{AD:function(){return a},Ig:function(){return x},Ko:function(){return _},QJ:function(){return b},Ub:function(){return A},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(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)&&o(L,D,T[D]);if(l)for(var D of l(T))f.call(T,D)&&o(L,D,T[D]);return L},u=(L,T,D)=>new Promise((M,B)=>{var N=W=>{try{G(D.next(W))}catch(ne){B(ne)}},K=W=>{try{G(D.throw(W))}catch(ne){B(ne)}},G=W=>W.done?M(W.value):Promise.resolve(W.value).then(N,K);G((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 A(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_message_details.json`,{method:"get",params:h({},L)})})}function k(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages/${L.id}.json`,{method:"delete"})})}},49379:function(d,v,e){"use strict";e.d(v,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return D},ms:function(){return L},s0:function(){return A},vf:function(){return y},xn:function(){return x},yy:function(){return T}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,K,G)=>K in N?i(N,K,{enumerable:!0,configurable:!0,writable:!0,value:G}):N[K]=G,h=(N,K)=>{for(var G in K||(K={}))c.call(K,G)&&o(N,G,K[G]);if(l)for(var G of l(K))f.call(K,G)&&o(N,G,K[G]);return N},u=(N,K,G)=>new Promise((W,ne)=>{var ae=J=>{try{Q(G.next(J))}catch(V){ne(V)}},le=J=>{try{Q(G.throw(J))}catch(V){ne(V)}},Q=J=>J.done?W(J.value):Promise.resolve(J.value).then(ae,le);Q((G=G.apply(N,K)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function _(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function L(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function T(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function D(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},93629:function(d,v,e){"use strict";e.d(v,{DF:function(){return b},Di:function(){return ee},Dm:function(){return le},Dq:function(){return Oe},Gd:function(){return _},Hb:function(){return Le},Hm:function(){return W},ID:function(){return u},JP:function(){return _e},NC:function(){return K},Pl:function(){return A},Qc:function(){return c},Qp:function(){return Q},RK:function(){return x},YP:function(){return G},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return ae},kF:function(){return He},kp:function(){return D},lc:function(){return T},oF:function(){return ce},q$:function(){return h},qN:function(){return ne},tS:function(){return L},ts:function(){return B},un:function(){return V},w0:function(){return ue},wX:function(){return J},yE:function(){return f}});var r=e(38986),i=($e,Bt,yt)=>new Promise((It,rr)=>{var Yt=Ct=>{try{Ve(yt.next(Ct))}catch(Ut){rr(Ut)}},lr=Ct=>{try{Ve(yt.throw(Ct))}catch(Ut){rr(Ut)}},Ve=Ct=>Ct.done?It(Ct.value):Promise.resolve(Ct.value).then(Yt,lr);Ve((yt=yt.apply($e,Bt)).next())});const l=$e=>(0,r.ZP)(`/api/examination_banks/${$e==null?void 0:$e.id}/code_check.json`,{method:"get",params:$e}),c=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/reset_pwd.json`,{method:"post",body:$e}),f=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/encrypt_or_decrypt.json`,{method:"post",body:$e}),o=$e=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:$e}),h=$e=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:$e}),u=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/copy.json`,{method:"post",body:$e}),a=$e=>(0,r.ZP)(`/api/examination_banks/${$e.id}/get_question_type_alias.json`,{method:"get",params:$e});function x($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/edit_question_type_alias.json`,{method:"POST",body:$e})})}function p($e){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:$e})})}function y($e){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:$e})})}function _($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:$e})})}function b($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/set_public.json`,{method:"post"})})}function A($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/set_private.json`,{method:"post"})})}function k($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}.json`,{method:"delete"})})}function L($e){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:$e})})}const T=$e=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:$e});function D($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/send_to_course.json`,{method:"post",body:$e})})}function M($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}.json`,{method:"get",params:$e})})}function B($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}/set_score`,{method:"post",body:$e})})}function N($e){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}/set_shixun_score.json`,{method:"post",body:$e})})}function K($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}.json`,{method:"delete"})})}function G($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:$e})})}function W($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:$e})})}function ne($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/${$e.itemId}/adjust_position.json`,{method:"post",body:$e})})}function ae($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}.json`,{method:"put",body:$e})})}function le($e){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:$e})})}function Q($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:$e})})}function J($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e==null?void 0:$e.id}/set_public.json`,{method:"post",body:$e})})}function V($e){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:$e})})}function ue($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/update_exam.json`,{method:"put",body:$e})})}function ee($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/edit_exam.json`,{method:"get"})})}function X($e,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/examination_banks_item_banks.json`,{method:"post",body:Bt})})}function ce($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:$e})})}function z($e,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/sort_question_type.json`,{method:"post",body:Bt})})}function $($e){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e.exam_id}/examination_banks_item_banks/${$e.question_id}.json`,{method:"delete"})})}function se($e,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${$e}/batch_set_score.json`,{method:"post",body:Bt})})}function _e($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e}/simulate_exercise.json`,{method:"post"})})}function Oe($e){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${$e}/exercise_header.json`,{method:"get"})})}function Le($e,Bt,yt){return i(this,null,function*(){const It=new FormData;return It.append("file",Bt),It.append("sub_discipline_id",yt),(0,r.ZP)(`/api/examination_banks/${$e}/import_item_banks.json`,{method:"post",body:It},!0)})}function He($e){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:$e})})}},36714:function(d,v,e){"use strict";e.d(v,{$D:function(){return Q},A2:function(){return ye},A7:function(){return zt},AQ:function(){return N},Ax:function(){return Pe},Bn:function(){return wt},CI:function(){return Ge},DQ:function(){return pe},DU:function(){return Ut},EP:function(){return le},Ep:function(){return Ue},Er:function(){return se},Ex:function(){return kt},FD:function(){return Dt},F_:function(){return Ct},Fg:function(){return x},GY:function(){return qt},Go:function(){return ce},Gz:function(){return p},Hl:function(){return y},JS:function(){return yt},KM:function(){return ue},M2:function(){return Fe},MO:function(){return _e},Mt:function(){return je},Mu:function(){return tt},NV:function(){return Re},Q:function(){return Oe},Sp:function(){return B},VO:function(){return De},WD:function(){return At},WO:function(){return $},WW:function(){return Zt},_C:function(){return Et},_V:function(){return Ht},bw:function(){return ae},bz:function(){return fe},c3:function(){return Bt},eJ:function(){return X},ef:function(){return Ve},fh:function(){return k},fj:function(){return z},hS:function(){return _},jT:function(){return ft},ke:function(){return Nt},lk:function(){return M},mQ:function(){return D},ms:function(){return ct},mx:function(){return He},nq:function(){return a},ol:function(){return Ke},p:function(){return G},p4:function(){return Le},pU:function(){return T},rS:function(){return It},rs:function(){return ee},s0:function(){return Ce},sm:function(){return $e},tS:function(){return b},tu:function(){return L},ue:function(){return K},vf:function(){return ht},w4:function(){return W},xG:function(){return rt},xn:function(){return xt},yN:function(){return ne},yy:function(){return Gt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(xe,qe,vt)=>qe in xe?i(xe,qe,{enumerable:!0,configurable:!0,writable:!0,value:vt}):xe[qe]=vt,h=(xe,qe)=>{for(var vt in qe||(qe={}))c.call(qe,vt)&&o(xe,vt,qe[vt]);if(l)for(var vt of l(qe))f.call(qe,vt)&&o(xe,vt,qe[vt]);return xe},u=(xe,qe,vt)=>new Promise((Ft,Be)=>{var Pr=Vr=>{try{Zr(vt.next(Vr))}catch(xr){Be(xr)}},St=Vr=>{try{Zr(vt.throw(Vr))}catch(xr){Be(xr)}},Zr=Vr=>Vr.done?Ft(Vr.value):Promise.resolve(Vr.value).then(Pr,St);Zr((vt=vt.apply(xe,qe)).next())});const a=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:xe})}),x=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:xe})}),p=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:xe})}),y=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:xe})}),_=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:xe})});function b(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},xe)})})}function A(xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},xe)})})}function k(xe){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},xe)})})}function L(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"PUT",body:xe})})}function T(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:xe})})}function D(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/edit.json`,{method:"get"})})}function M(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"get",params:h({identifier:xe.id},xe)})})}function B(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}.json`,{method:"get",params:h({identifier:xe.id},xe)})})}function N(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/right_banner.json`,{method:"get",params:xe})})}function K(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses.json`,{method:"get",params:xe})})}const G=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:xe})}),W=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${xe.id}/children.json`,{method:"Get",params:xe})});function ne(xe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:xe})})}function ae(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/update_team_title.json`,{method:"post",body:xe})})}function le(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/delete_member.json`,{method:"Delete",body:xe})})}function Q(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses/${xe==null?void 0:xe.courseid}.json`,{method:"Delete"})})}function J(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/up_member_position.json`,{method:"post",body:xe})})}function V(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/down_member_position.json`,{method:"post",body:xe})})}function ue(xe){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:xe})})}function ee(xe){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:xe})})}function X(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}.json`,{method:"Delete",body:xe})})}function ce(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/publish.json`,{method:"post",body:xe})})}function z(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/cancel_publish.json`,{method:"post",body:xe})})}function $(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/apply_public.json`,{method:"post",body:xe})})}function se(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/cancel_public.json`,{method:"post",body:xe})})}function _e(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/choose_course.json`,{method:"get",params:xe})})}function Oe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/send_to_course.json`,{method:"post",body:xe})})}function Le(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${xe.id}/send_to_course.json`,{method:"post",body:xe})})}function He(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/add_subject_members.json`,{method:"post",body:xe})})}function $e(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/spoc_courses.json`,{method:"post",body:xe})})}function Bt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/appointment.json`,{method:"post",body:xe})})}function yt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/join_excellent_course.json`,{method:"post",body:xe})})}function It(xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:xe})})}function rr(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/statistics_info.json`,{method:"get",params:xe})})}function Yt(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/shixun_analyze.json`,{method:"get",params:xe})})}function lr(xe){return u(this,null,function*(){return Fetch(`/api/paths/${xe.id}/learning_analyze.json`,{method:"get",params:xe})})}function Ve(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/learning_statistics.json`,{method:"get",params:xe})})}function Ct(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/shixun_statistics.json`,{method:"get",params:xe})})}function Ut(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/study_analyze/${xe.type}.json`,{method:"get",params:xe})})}function st(xe){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:xe})})}function xt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}.json`,{method:"put",body:xe})})}function ht(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_shixun_to_stage.json`,{method:"post",body:xe})})}const rt=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.stage_id}/select_challenge_to_stage.json`,{method:"post",body:xe})});function Ue(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/select_shixun_to_stage.json`,{method:"post",body:xe})})}function ye(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_video_to_stage.json`,{method:"post",body:xe})})}function Ce(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_attachment_to_stage.json`,{method:"post",body:xe})})}function Fe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe.id}.json`,{method:"put",body:xe})})}function je(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/add_blank_to_stage.json`,{method:"post",body:xe})})}function Ge(xe){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:xe})})}function it(xe){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:xe})})}function ct(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/up_position.json`,{method:"get"})})}function Gt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}/down_position.json`,{method:"get"})})}function Ht(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.id}.json`,{method:"delete"})})}function Pe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.pathId}/discusses.json`,{method:"get",params:h({},xe)})})}function tt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/excellent_discusses.json`,{method:"get",params:h({},xe)})})}function Vt(xe){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},xe)})})}function kt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.stage_id}/items/move_position`,{method:"post",body:h({},xe)})})}function Zt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe.stage_id}/items/${xe.id}`,{method:"delete"})})}function Nt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/excellent_discuss`,{method:"post",body:h({},xe)})})}function At(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${xe.id}/post_discuss`,{method:"post",body:h({},xe)})})}function qt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:xe})})}function Ke(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:xe})})}function fe(xe){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:xe})})}function pe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.id}/add_homework_to_stage.json`,{method:"post",body:xe})})}function Dt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe==null?void 0:xe.id}/edit.json`,{method:"get",params:xe})})}function De(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${xe==null?void 0:xe.id}.json`,{method:"put",body:xe})})}function ft(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_id}/subjects/subject_homework.json`,{method:"get",params:xe})})}function zt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_id}/courses/course_homework.json`,{method:"get",params:xe})})}function Et(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${xe==null?void 0:xe.id}/batch_add_homework_to_stage.json`,{method:"post",body:xe})})}function Re(xe){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:xe})})}function wt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${xe==null?void 0:xe.user_login}/subjects/cancel.json`,{method:"get",params:xe})})}},7299:function(d,v,e){"use strict";e.d(v,{Fd:function(){return ue},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return X},MK:function(){return G},Q9:function(){return D},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return z},Ye:function(){return B},_c:function(){return a},hO:function(){return le},iV:function(){return ce},jy:function(){return W},kp:function(){return ae},lf:function(){return T},m7:function(){return _},n$:function(){return L},rJ:function(){return M},s3:function(){return x},ux:function(){return A},vf:function(){return V},wh:function(){return ne},wo:function(){return ee},x$:function(){return J}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=($,se,_e)=>se in $?i($,se,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[se]=_e,h=($,se)=>{for(var _e in se||(se={}))c.call(se,_e)&&o($,_e,se[_e]);if(l)for(var _e of l(se))f.call(se,_e)&&o($,_e,se[_e]);return $},u=($,se,_e)=>new Promise((Oe,Le)=>{var He=yt=>{try{Bt(_e.next(yt))}catch(It){Le(It)}},$e=yt=>{try{Bt(_e.throw(yt))}catch(It){Le(It)}},Bt=yt=>yt.done?Oe(yt.value):Promise.resolve(yt.value).then(He,$e);Bt((_e=_e.apply($,se)).next())});const a=$=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$==null?void 0:$.id}/commit_word_cloud.json`,{method:"Get",params:$})});function x($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/poll_lists.json`,{method:"get",params:h({},$)})})}function p($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/common_header.json`,{method:"get"})})}function y($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/poll_setting.json`,{method:"get"})})}function _($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/commit_setting.json`,{method:"post",body:h({},$)})})}function b($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},$)})})}function A($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/publish_groups.json`,{method:"get",params:h({},$)})})}function k($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/commit_result.json`,{method:"get",params:h({},$)})})}function L($){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},$)})})}function T($){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},$)})})}function D($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},$)})})}function M($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls.json`,{method:"POST",body:h({},$)})})}function B($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/edit.json`,{method:"get"})})}function N($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function K($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function G($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}/poll_questions.json`,{method:"post",body:h({},$)})})}function W($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function ne($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function ae($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"get"})})}function le($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function Q($){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function J($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function V($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function ue($){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},$)})})}function ee($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function X($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.id}.json`,{method:"put",body:h({},$)})})}function ce($){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},$)})})}function z($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.exerciseId}/up_down.json`,{method:"post",body:h({},$)})})}},46722:function(d,v,e){"use strict";e.d(v,{$c:function(){return it},A1:function(){return je},Bd:function(){return D},Bo:function(){return Q},Cc:function(){return ue},Cn:function(){return ce},DF:function(){return L},Dm:function(){return Ve},FG:function(){return le},GW:function(){return Ct},HF:function(){return G},Hm:function(){return $},IJ:function(){return Fe},L5:function(){return lr},LS:function(){return st},MZ:function(){return ye},Mr:function(){return ae},NZ:function(){return Bt},Of:function(){return A},Pl:function(){return k},Qj:function(){return _},Qp:function(){return ht},RT:function(){return Pe},Rp:function(){return xt},U6:function(){return W},Vl:function(){return ee},Wk:function(){return ne},YP:function(){return z},Ys:function(){return B},al:function(){return M},bF:function(){return ct},d1:function(){return y},dt:function(){return Gt},et:function(){return _e},ex:function(){return b},fY:function(){return Oe},fn:function(){return T},hI:function(){return yt},hg:function(){return Ue},iT:function(){return J},lS:function(){return $e},nD:function(){return Ut},qN:function(){return se},rV:function(){return N},s:function(){return He},sD:function(){return Ce},sS:function(){return Yt},ts:function(){return V},vi:function(){return Ge},wX:function(){return rt},x5:function(){return K},zh:function(){return Le}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(tt,Vt,kt)=>Vt in tt?i(tt,Vt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):tt[Vt]=kt,a=(tt,Vt)=>{for(var kt in Vt||(Vt={}))o.call(Vt,kt)&&u(tt,kt,Vt[kt]);if(f)for(var kt of f(Vt))h.call(Vt,kt)&&u(tt,kt,Vt[kt]);return tt},x=(tt,Vt)=>l(tt,c(Vt)),p=(tt,Vt,kt)=>new Promise((Zt,Nt)=>{var At=fe=>{try{Ke(kt.next(fe))}catch(pe){Nt(pe)}},qt=fe=>{try{Ke(kt.throw(fe))}catch(pe){Nt(pe)}},Ke=fe=>fe.done?Zt(fe.value):Promise.resolve(fe.value).then(At,qt);Ke((kt=kt.apply(tt,Vt)).next())});function y(tt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},tt),{clazz:"ItemBanksGroup"})})})}function _(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:tt})})}function b(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:tt})})}function A(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:tt})})}function k(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_private.json`,{method:"post"})})}function L(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/set_public.json`,{method:"post"})})}function T(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"delete"})})}function D(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/start.json`,{method:"get"})})}function M(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete",body:a({},tt)})})}function B(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:tt})})}function N(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function K(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:tt.type}})})}function G(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:tt})})}function W(tt){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:tt})})}function ne(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}.json`,{method:"put",body:tt})})}function ae(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:tt})})}function le(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/edit.json`,{method:"get"})})}function Q(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${tt.id}/edit.json`,{method:"get"})})}function J(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:tt})})}function V(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_score.json`,{method:"post",body:tt})})}function ue(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/set_challenge_score.json`,{method:"post",body:tt})})}function ee(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function X(tt){return p(this,null,function*(){return Fetch(`/api/examination_banks//${tt.exerid}/examination_banks_item_banks/${tt.id}/combination_set_score.json`,{method:"post",body:tt})})}function ce(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}.json`,{method:"delete"})})}function z(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:tt})})}function $(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:tt})})}function se(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${tt.id}/adjust_position.json`,{method:"post",body:tt})})}function _e(tt){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:tt})})}function Oe(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.id}/revoke_item.json`,{method:"delete",body:tt})})}function Le(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${tt.exam_id}/examination_banks_item_banks.json`,{method:"post",body:tt})})}function He(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/join_to_collection.json`,{method:"post",params:tt})})}function $e(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/cancel_collection.json`,{method:"post",params:tt})})}function Bt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:tt})})}function yt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:tt})})}function It(tt){return p(this,null,function*(){return Fetch(`/api/item_banks/${tt.id}/join_to_group.json`,{method:"post",body:tt})})}function rr(tt){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${tt.id}.json`,{method:"put",body:tt})})}function Yt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:tt})})}function lr(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt.id}/feedback.json`,{method:"post",body:tt})})}function Ve(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:tt})})}function Ct(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:tt})})}function Ut(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:tt})})}function st(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:tt})})}function xt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:tt})})}function ht(tt){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:tt})})}function rt(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${tt==null?void 0:tt.id}/set_public.json`,{method:"post",body:tt})})}function Ue(tt){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:tt})})}function ye(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/publish.json`,{method:"post",body:tt})}function Ce(tt){return(0,r.ZP)(`/api/problems/${tt.identifier}/cancel_publish.json`,{method:"post",body:tt})}function Fe(tt){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...tt.id]}})}function je(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/up_position.json`,{method:"get",params:tt})})}function Ge(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${tt.id}/down_position.json`,{method:"get",params:tt})})}function it(tt){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${tt.id}/edit_hack.json`,{method:"get",params:tt})})}function ct(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:tt})})}function Gt(tt){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:tt})})}function Ht(tt){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:tt})})}function Pe(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},506:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38986),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{_(u.next(b))}catch(A){x(A)}},y=b=>{try{_(u.throw(b))}catch(A){x(A)}},_=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);_((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},1247:function(d,v,e){"use strict";e.d(v,{Am:function(){return _},Ar:function(){return Ve},BD:function(){return Ge},Be:function(){return rt},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return W},Gw:function(){return A},H:function(){return Yt},H1:function(){return lr},Hj:function(){return ct},JA:function(){return Ht},JG:function(){return ue},KE:function(){return z},Lz:function(){return Fe},Mf:function(){return rr},NA:function(){return yt},PC:function(){return $e},PP:function(){return Bt},PW:function(){return st},Q3:function(){return X},QC:function(){return Pe},Qt:function(){return je},Qz:function(){return D},R$:function(){return Ke},RP:function(){return le},Ti:function(){return Et},Uc:function(){return Zt},Ul:function(){return J},VB:function(){return ft},Vs:function(){return Nt},Wr:function(){return L},Xn:function(){return Q},YQ:function(){return It},Yn:function(){return b},Z8:function(){return K},ak:function(){return Ut},cN:function(){return B},co:function(){return Ue},cz:function(){return Le},fK:function(){return G},gG:function(){return He},gZ:function(){return kt},h$:function(){return N},ku:function(){return Ce},lf:function(){return se},m7:function(){return V},mQ:function(){return M},mz:function(){return ht},n$:function(){return $},oK:function(){return y},oN:function(){return zt},pH:function(){return it},pb:function(){return De},qP:function(){return tt},ql:function(){return Vt},rN:function(){return ye},sw:function(){return _e},t1:function(){return Oe},to:function(){return ae},ub:function(){return Gt},ux:function(){return ce},wS:function(){return Dt},wT:function(){return T},yT:function(){return Ct},yy:function(){return At},z2:function(){return xt}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Re,wt,xe)=>wt in Re?i(Re,wt,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Re[wt]=xe,a=(Re,wt)=>{for(var xe in wt||(wt={}))o.call(wt,xe)&&u(Re,xe,wt[xe]);if(f)for(var xe of f(wt))h.call(wt,xe)&&u(Re,xe,wt[xe]);return Re},x=(Re,wt)=>l(Re,c(wt)),p=(Re,wt,xe)=>new Promise((qe,vt)=>{var Ft=St=>{try{Pr(xe.next(St))}catch(Zr){vt(Zr)}},Be=St=>{try{Pr(xe.throw(St))}catch(Zr){vt(Zr)}},Pr=St=>St.done?qe(St.value):Promise.resolve(St.value).then(Ft,Be);Pr((xe=xe.apply(Re,wt)).next())});const y=Re=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.id}/update_journals.json`,{method:"post",body:Re})}),_=Re=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Re==null?void 0:Re.homeworkId}/change_score.json`,{method:"post",body:Re})}),b=Re=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Re==null?void 0:Re.homeworkId}/history_comment`,{method:"Get",params:Re})}),A=Re=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Re==null?void 0:Re.homeworkId}/feedback_know`,{method:"Get",params:Re})}),k=Re=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re==null?void 0:Re.userId}/student_work_feedbacks.json`,{method:"POST",body:Re})}),L=Re=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Re==null?void 0:Re.userId}/feedback_list.json`,{method:"Get",params:Re})}),T=Re=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Re==null?void 0:Re.userId}/histories.json`,{method:"Get",params:Re})}),D=Re=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re==null?void 0:Re.homeworkId}/feedback_list`,{method:"Get",params:Re})}),M=Re=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re==null?void 0:Re.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Re})}),B=Re=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re==null?void 0:Re.homeworkId}/appeal_list`,{method:"Get",params:Re})});function N(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/works_list.json`,{method:"post",body:a({},Re)})})}function K(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Re.categoryId}/student_works.json`,{method:"get",params:a({},Re)})})}function G(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Re.categoryId}/header_info.json`,{method:"get",params:a({},Re)})})}function W(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re}/query_game_url.json`,{method:"get"})})}function ne(Re){return p(this,null,function*(){return Fetch(`/api/student_works/${Re}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ae(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}.json`,{method:"get"})})}function le(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/code_review_results.json`,{method:"get",params:a({},Re)})})}function Q(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/code_review_detail.json`,{method:"get",params:a({},Re)})})}function J(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/settings.json`,{method:"get",params:a({},Re)})})}function V(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/update_settings.json`,{method:"post",body:a({},Re)})})}function ue(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/group_list.json`,{method:"get",params:a({},Re)})})}function ee(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/works_list.xlsx`,{method:"get",params:a({},Re)})})}function X(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.coursesId}/reference_answer.json`,{method:"get",params:a({},Re)})})}function ce(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/publish_groups.json`,{method:"get",params:a({},Re)})})}function z(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/end_groups.json`,{method:"get",params:a({},Re)})})}function $(Re){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Re)})})}function se(Re){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Re)})})}function _e(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.homeworkId}/shixun_work_report.json`,{method:"get",params:Re})})}function Oe(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Re})})}function Le(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Re.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Re),{id:Re.categoryId})})})}function He(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Re)})})}function $e(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/show_comment.json`,{method:"get",params:a({},Re)})})}function Bt(Re){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Re)})})}function yt(Re){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Re)})})}function It(Re){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Re)})})}function rr(Re){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Re)})})}function Yt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/update_explanation.json`,{method:"post",body:a({},Re)})})}function lr(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Re.coursesId}/homework_commons.json`,{method:"post",body:a({},Re)})})}function Ve(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}.json`,{method:"put",body:a({},Re)})})}function Ct(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Re.id}.json`,{method:"put",body:a({},Re)})})}function Ut(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Re)})})}function st(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.homeworkId}/edit.json`,{method:"get",params:a({},Re)})})}function xt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.homeworkId}.json`,{method:"put",body:a({},Re)})})}function ht(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Re)})})}function rt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Re)})})}function Ue(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Re)})})}function ye(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Ce(Re){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Re)})})}function Fe(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Re)})})}function je(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Re.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Re)})})}function Ge(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/edit.json`,{method:"get",params:a({},Re)})})}function it(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Re.id}.json`,{method:"get",params:a({},Re)})})}function ct(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.userId}.json`,{method:"get",params:a({},Re)})})}function Gt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.userId}/supply_attachments.json`,{method:"get",params:a({},Re)})})}function Ht(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.userId}/comment_list.json`,{method:"get",params:a({},Re)})})}function Pe(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.userId}/destroy_score.json`,{method:"delete",body:a({},Re)})})}function tt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.userId}/add_score_reply.json`,{method:"post",body:a({},Re)})})}function Vt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/all_student_works.json`,{method:"get",params:a({},Re)})})}function kt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Re)})})}function Zt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/score_status.json`,{method:"get",params:a({},Re)})})}function Nt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Re.categoryId}/update_score.json`,{method:"get",params:a({},Re)})})}function At(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.userId}/add_score.json`,{method:"post",body:a({},Re)})})}function qt(Re){return p(this,null,function*(){return Fetch(`/api/student_works/${Re.userId}/cancel_appeal.json`,{method:"post",body:a({},Re)})})}function Ke(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Re)})})}function fe(Re){return p(this,null,function*(){return Fetch(`/api/student_works/${Re.userId}/deal_appeal_score.json`,{method:"post",body:a({},Re)})})}function pe(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Re.id}/reset_my_game.json`,{method:"get",params:a({},Re)})})}function Dt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.homeworkId}/commit_des.json`,{method:"get",params:a({},Re)})})}function De(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Re.homeworkId}/update_des.json`,{method:"post",body:a({},Re)})})}function ft(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Re.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Re)})})}function zt(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Re.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Re)})})}function Et(Re){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Re.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Re)})})}},75736:function(d,v,e){"use strict";e.d(v,{$Q:function(){return Br},AE:function(){return Nt},AQ:function(){return M},Ag:function(){return wt},Ar:function(){return ce},At:function(){return Rt},BK:function(){return K},Bj:function(){return Ut},DC:function(){return Ve},Dz:function(){return mt},E4:function(){return lr},EH:function(){return se},Ee:function(){return dn},Er:function(){return ee},FB:function(){return N},Fg:function(){return A},GI:function(){return Le},Gr:function(){return ht},Gu:function(){return Oe},Gz:function(){return b},HS:function(){return ui},Hl:function(){return y},IT:function(){return Et},I_:function(){return T},Ir:function(){return G},Je:function(){return Be},K:function(){return $t},K0:function(){return Mr},KM:function(){return Q},K_:function(){return $r},LK:function(){return Pr},LP:function(){return He},Ne:function(){return ue},OV:function(){return Bt},OW:function(){return $},Op:function(){return xr},P2:function(){return It},Po:function(){return D},Ps:function(){return rt},Q:function(){return V},Q1:function(){return Er},QA:function(){return _i},Ql:function(){return ye},Rs:function(){return Pe},SG:function(){return Gi},Tn:function(){return qt},Tr:function(){return li},U0:function(){return Ge},U9:function(){return Ue},UQ:function(){return De},Ui:function(){return pr},Vx:function(){return ot},WO:function(){return X},WT:function(){return Ki},Wi:function(){return st},Wl:function(){return xe},X$:function(){return rr},Yn:function(){return fe},Z2:function(){return Ct},ZO:function(){return xt},Zt:function(){return gt},_7:function(){return J},_9:function(){return pe},aH:function(){return Ce},al:function(){return Gt},b8:function(){return z},bq:function(){return Ke},dK:function(){return W},e:function(){return k},eX:function(){return _e},eb:function(){return tt},fL:function(){return Ft},h4:function(){return vr},hS:function(){return _},he:function(){return L},hn:function(){return ae},ii:function(){return Ht},im:function(){return Dt},j8:function(){return $e},jq:function(){return Vr},kF:function(){return Zr},km:function(){return ct},l3:function(){return yt},m7:function(){return je},mI:function(){return bi},n5:function(){return B},nu:function(){return St},p0:function(){return zt},q0:function(){return Zt},q9:function(){return sr},qA:function(){return an},rO:function(){return kt},rs:function(){return le},sr:function(){return ft},t2:function(){return Re},tX:function(){return jn},uo:function(){return it},v3:function(){return vt},w:function(){return qe},xK:function(){return At},xg:function(){return Vt},xk:function(){return Yt},yE:function(){return Fe},yx:function(){return pi},zD:function(){return ne},zH:function(){return en}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(we,Nn,qn)=>Nn in we?i(we,Nn,{enumerable:!0,configurable:!0,writable:!0,value:qn}):we[Nn]=qn,a=(we,Nn)=>{for(var qn in Nn||(Nn={}))o.call(Nn,qn)&&u(we,qn,Nn[qn]);if(f)for(var qn of f(Nn))h.call(Nn,qn)&&u(we,qn,Nn[qn]);return we},x=(we,Nn)=>l(we,c(Nn)),p=(we,Nn,qn)=>new Promise((Wn,zi)=>{var di=Jt=>{try{Yn(qn.next(Jt))}catch(pt){zi(pt)}},Ti=Jt=>{try{Yn(qn.throw(Jt))}catch(pt){zi(pt)}},Yn=Jt=>Jt.done?Wn(Jt.value):Promise.resolve(Jt.value).then(di,Ti);Yn((qn=qn.apply(we,Nn)).next())});const y=we=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:we})}),_=we=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:we})}),b=we=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:we})}),A=we=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:we})}),k=we=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:we})});function L(we){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},we)})})}function T(we){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},we||{})})})}function D(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}.json`,{method:"Get",params:we})})}function M(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/show_right.json`,{method:"Get"})})}function B(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges.json`,{method:"Get"})})}function N(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:we.save_type}})})}function K(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/jupyter_exec.json${we.reset?`?reset=${we.reset}`:""}`,{method:"Get",params:we})})}function G(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/shixun_exec.json${we.reset?`?reset=${we.reset}`:""}`,{method:"Get",params:we})})}function W(we){return p(this,null,function*(){return(0,r.ZP)(we.url,{method:"Get"})})}function ne(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.shixun_identifier}/challenges/${we.challenge_id}/index_up.json`,{method:"Get"})})}function ae(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.shixun_identifier}/challenges/${we.challenge_id}/index_down.json`,{method:"Get"})})}function le(we){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:we.container_id,container_type:we.container_type}})})}function Q(we){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:we.container_id,container_type:we.container_type}})})}function J(we){return p(this,null,function*(){const{id:Nn}=we||{};return(0,r.ZP)(`/api/shixuns/${Nn}/search_user_courses.json`,{method:"Get",params:we})})}function V(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we==null?void 0:we.id}/send_to_course.json`,{method:"Post",body:a({},we)})})}function ue(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/cancel_publish.json`,{method:"Get"})})}function ee(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/cancel_apply_public.json`,{method:"Get"})})}function X(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/apply_public.json`,{method:"post",body:a({},we)})})}function ce(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/publish.json`,{method:"Get"})})}function z(we){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function $(we){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${we.id}.json`,{method:"delete"})})}function se(we){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:we})})}function _e(we){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:we})})}function Oe(we){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:we})})}function Le(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/review_newest_record.json`,{method:"Get"})})}function He(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/review_shixun.json`,{method:"post",body:we})})}function $e(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/collaborators.json`,{method:"Get",params:we})})}function Bt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/shixun_members_added.json`,{method:"post",body:we})})}function yt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.identifier}/add_members_group.json`,{method:"post",body:we})})}function It(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/change_manager.json`,{method:"Get",params:we})})}function rr(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/change_manager.json`,{method:"post",body:we})})}function Yt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/collaborators_delete.json`,{method:"delete",body:{user_id:we.userId}})})}function lr(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/ranking_list.json`,{method:"Get"})})}function Ve(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/settings.json`,{method:"Get"})})}function Ct(we){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:we.mirror_id}})})}function Ut(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/get_script_contents.json`,{method:"Get",params:we})})}function st(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/get_custom_script.json`,{method:"Get",params:we})})}function xt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/update_for_jupyter.json`,{method:"put",body:we})})}function ht(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/shixun_quotes.json`,{method:"Get"})})}function rt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}.json`,{method:"delete"})})}function Ue(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/close.json`,{method:"post",body:we})})}function ye(we){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:we})})}function Ce(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/update_permission_setting.json`,{method:"post",body:we})})}function Fe(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/update_learn_setting.json`,{method:"post",body:we})})}function je(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/update_setting`,{method:"post",body:we})})}function Ge(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/get_data_sets.json`,{method:"Get",params:we})})}function it(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/destroy_data_sets.json`,{method:"Delete",body:{id:we.deleteId}})})}function ct(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/new.json`,{method:"get"})})}function Gt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.identifier}/challenges.json`,{method:"post",body:a({},we)})})}function Ht(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengeId}/edit.json`,{method:"get",params:{tab:we.tab}})})}function Pe(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}.json`,{method:"put",body:a({},we)})})}function tt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/choose_questions.json`,{method:"get"})})}function Vt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/move_position.json`,{method:"post",body:a({},we)})})}function kt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}.json`,{method:"delete",body:a({},we)})})}function Zt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/edit.json`,{method:"get",params:a({},we)})})}function Nt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengeId}/answer.json`,{method:"get",params:a({},we)})})}function At(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengeId}/crud_answer.json`,{method:"post",body:a({},we)})})}function qt(we){return p(this,null,function*(){if(we.type===1)return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/create_choose_question.json`,{method:"post",body:a({},we)});if(we.type===2)return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/create_blank_question.json`,{method:"post",body:a({},we)});if(we.type===3)return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/create_judge_question.json`,{method:"post",body:a({},we)})})}function Ke(we){return p(this,null,function*(){if(we.type===1)return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},we),{choose_id:we.questionId})});if(we.type===2)return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},we),{choose_id:we.questionId})});if(we.type===3)return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},we),{choose_id:we.questionId})})})}function fe(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:we.questionId}})})}function pe(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:we.questionId}})})}function Dt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:we.questionId}})})}function De(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/challenges/${we.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},we),{choose_id:we.questionId})})})}function ft(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/delete_git_file.json`,{method:"Delete",body:we})})}function zt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${we.id}/delete_git_file.json`,{method:"Delete",body:we})})}function Et(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/mv_file.json`,{method:"post",body:we})})}function Re(we){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${we.id}/mv_file.json`,{method:"post",body:we})})}function wt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/repository.json`,{method:"post",body:we})})}function xe(we){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${we.id}/repository.json`,{method:"post",body:we})})}function qe(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/secret_repository.json`,{method:"post",body:we})})}function vt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/add_file.json`,{method:"post",body:we})})}function Ft(we){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${we.id}/add_file.json`,{method:"post",body:we})})}function Be(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/commits.json`,{method:"post",body:we})})}function Pr(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/file_content.json`,{method:"post",body:we})})}function St(we){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${we.id}/file_content.json`,{method:"post",body:we})})}function Zr(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/update_file.json`,{method:"post",body:we})})}function Vr(we){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${we.id}/update_file.json`,{method:"post",body:we})})}function xr(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/upload_git_folder.json`,{method:"post",body:{path:we.path,secret_repository:we.secret_repository}})})}function Br(we){return p(this,null,function*(){return(0,r.ZP)(`/api/${we.url}`,{method:"Get"})})}function pr(we){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:we})})}function $r(we){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:we})})}function en(we){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:we})})}function an(we){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:we})})}function sr(we){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:we})})}function Rt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/fork_list.json`,{method:"Get",params:we})})}function mt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.identifier}/change_editable.json`,{method:"put",body:a({},we)})})}function gt(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/set_secret_dir.json`,{method:"post",body:a({},we)})})}function $t(we){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:we})})}function Er(we){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:we})})}function vr(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/init_repository.json`,{method:"post",body:a({},we)})})}function ot(we){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${we.id}/init_repository.json`,{method:"post",body:a({},we)})})}function Mr(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/update_secret_repository.json`,{method:"post",body:a({},we)})})}function dn(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/exist_exercise.json`,{method:"get",params:a({},we)})})}function jn(we){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${we.id}.json`,{method:"get",params:a({},we)})})}function _r(we){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${we.id}/publish.json`,{method:"post",body:a({},we)})})}function qr(we){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${we.id}/open_vnc.json`,{method:"post",params:a({},we)})})}function ln(we){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${we.id}/open_webssh.json`,{method:"post",params:a({},we)})})}function Ln(we){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${we.id}/save_image.json`,{method:"post",body:a({},we)})})}function Vn(we){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${we.id}/delete_image.json`,{method:"post",body:a({},we)})})}function Bn(we){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${we.id}/extend_vnc.json`,{method:"post",body:a({},we)})})}function Ui(we){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${we.id}/reset_vnc_link.json`,{method:"post",body:a({},we)})})}function pi(we){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},we)})})}function bi(we){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},we)})})}function _i(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},we)})})}function li(we){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:we})})}function Ki(we){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${we}`,{method:"get",params:{is_initiative_study:1}})})}function Zn(we){return p(this,null,function*(){return Fetch(`/api/shixuns/${we.id}/update_shixun_study_num.json`,{method:"post",body:a({},we)})})}function Gi(we){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:we})})}function ui(we){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${we}/recommend_config.json`,{method:"get"})})}},49234:function(d,v,e){"use strict";e.d(v,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return A},fd:function(){return G},gp:function(){return a},iU:function(){return N},l3:function(){return L},mw:function(){return T},oZ:function(){return _},rM:function(){return D},r_:function(){return K},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(W,ne,ae)=>ne in W?i(W,ne,{enumerable:!0,configurable:!0,writable:!0,value:ae}):W[ne]=ae,h=(W,ne)=>{for(var ae in ne||(ne={}))c.call(ne,ae)&&o(W,ae,ne[ae]);if(l)for(var ae of l(ne))f.call(ne,ae)&&o(W,ae,ne[ae]);return W},u=(W,ne,ae)=>new Promise((le,Q)=>{var J=ee=>{try{ue(ae.next(ee))}catch(X){Q(X)}},V=ee=>{try{ue(ae.throw(ee))}catch(X){Q(X)}},ue=ee=>ee.done?le(ee.value):Promise.resolve(ee.value).then(J,V);ue((ae=ae.apply(W,ne)).next())});function a(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/teachers.json`,{method:"get",params:h({},W)})})}function x(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/apply_teachers.json`,{method:"get",params:h({},W)})})}function p(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/graduation_group_list.json`,{method:"get",params:h({},W)})})}function y(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/all_course_groups.json`,{method:"get",params:h({},W)})})}function _(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/set_course_group.json`,{method:"post",body:h({},W)})})}function b(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/join_graduation_group.json`,{method:"post",body:h({},W)})})}function A(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/create_graduation_group.json`,{method:"post",body:h({},W)})})}function k(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},W)})})}function L(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/delete_from_course.json`,{method:"post",body:h({},W)})})}function T(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/change_member_role.json`,{method:"post",body:h({},W)})})}function D(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/change_course_admin.json`,{method:"post",body:h({},W)})})}function M(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/teacher_application_review.json`,{method:"post",body:h({},W)})})}function B(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/students.json`,{method:"get",params:h({},W)})})}function N(W,ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/apply_students.json`,{method:"get",params:ne})})}function K(W,ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/join_student_checkout.json`,{method:"get",params:ne})})}function G(W,ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/student_application_review.json`,{method:"post",body:ne})})}},86245:function(d,v,e){"use strict";e.d(v,{B$:function(){return y},Cx:function(){return J},DA:function(){return D},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return rr},FM:function(){return ae},Fn:function(){return X},Gq:function(){return lr},Ho:function(){return B},IU:function(){return _e},JJ:function(){return ce},Ol:function(){return $e},Qx:function(){return ne},Tv:function(){return z},V8:function(){return x},WS:function(){return V},WY:function(){return W},ai:function(){return Q},bG:function(){return k},bJ:function(){return a},c0:function(){return Yt},dE:function(){return se},dt:function(){return $},gI:function(){return ue},lO:function(){return le},mW:function(){return G},n0:function(){return T},nV:function(){return He},o1:function(){return Bt},qE:function(){return _},qN:function(){return M},rV:function(){return N},sh:function(){return Le},vR:function(){return A},w3:function(){return K},x4:function(){return L},z2:function(){return yt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ve,Ct,Ut)=>Ct in Ve?i(Ve,Ct,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):Ve[Ct]=Ut,h=(Ve,Ct)=>{for(var Ut in Ct||(Ct={}))c.call(Ct,Ut)&&o(Ve,Ut,Ct[Ut]);if(l)for(var Ut of l(Ct))f.call(Ct,Ut)&&o(Ve,Ut,Ct[Ut]);return Ve},u=(Ve,Ct,Ut)=>new Promise((st,xt)=>{var ht=ye=>{try{Ue(Ut.next(ye))}catch(Ce){xt(Ce)}},rt=ye=>{try{Ue(Ut.throw(ye))}catch(Ce){xt(Ce)}},Ue=ye=>ye.done?st(ye.value):Promise.resolve(ye.value).then(ht,rt);Ue((Ut=Ut.apply(Ve,Ct)).next())});const a=Ve=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ve.id}/move.json`,{method:"post",body:Ve})}),x=Ve=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ve.id}.json`,{method:"delete",body:Ve})}),p=Ve=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ve.id}.json`,{method:"put",body:Ve})}),y=Ve=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Ve})}),_=Ve=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Ve})});function b(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Ve)})})}function A(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Ve)})})}function L(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Ve)})})}function T(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function D(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ve.username}/homepage_info.json`,{method:"get"})})}function M(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ve.username}/courses.json`,{method:"get",params:Ve})})}function N(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ve.username}/shixuns.json`,{method:"get",params:Ve})})}function K(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ve.username}/subjects.json`,{method:"get",params:Ve})})}function G(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ve.username}/projects.json`,{method:"get",params:Ve})})}function W(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ve.username}/videos.json`,{method:"get",params:Ve})})}function ne(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ve.username}/videos/review.json`,{method:"get",params:Ve})})}function ae(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ve.username}/videos/${Ve.id}.json`,{method:"delete"})})}function le(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Ve})})}function Q(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Ve})})}function J(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Ve})})}function V(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Ve})})}function ue(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ve})})}function ee(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Ve})})}function X(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ve.username}/videos/${Ve.object_id}/create_course_video.json`,{method:"post",body:Ve})})}function ce(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ve.topicId}.json`,{method:"get",params:Ve})})}function z(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Ve)})})}function $(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ve.username}/videos/batch_publish.json`,{method:"post",body:Ve})})}function se(Ve){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ve.identifier}/cancel.json`,{method:"delete",body:h({},Ve)})})}function _e(Ve){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Ve)})})}function Oe(Ve){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Ve)})})}function Le(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function He(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function $e(Ve){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ve})}function Bt(Ve){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ve})}function yt(Ve){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Ve)})}function It(Ve){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Ve)})}function rr(Ve){return(0,r.ZP)(`/api/users/accounts/${Ve.login}/password.json`,{method:"put",body:h({},Ve)})}function Yt(Ve){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Ve)})}function lr(Ve){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Ve)})}},69618:function(d,v,e){"use strict";e.d(v,{BQ:function(){return a},DH:function(){return B},Db:function(){return le},Ju:function(){return ae},Mz:function(){return G},O2:function(){return _},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return ne},jK:function(){return L},yN:function(){return W}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Q,J,V)=>J in Q?i(Q,J,{enumerable:!0,configurable:!0,writable:!0,value:V}):Q[J]=V,h=(Q,J)=>{for(var V in J||(J={}))c.call(J,V)&&o(Q,V,J[V]);if(l)for(var V of l(J))f.call(J,V)&&o(Q,V,J[V]);return Q},u=(Q,J,V)=>new Promise((ue,ee)=>{var X=$=>{try{z(V.next($))}catch(se){ee(se)}},ce=$=>{try{z(V.throw($))}catch(se){ee(se)}},z=$=>$.done?ue($.value):Promise.resolve($.value).then(X,ce);z((V=V.apply(Q,J)).next())});function a(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},Q)})})}function x(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/watch_statics.json`,{method:"Get",params:h({},Q)})})}function p(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${Q.videoId}/watch_histories.json`,{method:"Get",params:h({},Q)})})}function y(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},Q)})})}function _(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${Q.id}.json`,{method:"Get",params:h({},Q)})})}function b(Q){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:Q})})}function A(Q){return u(this,null,function*(){return Fetch(`/api/video_items/${Q.id}/edit.json`,{method:"Get",params:h({},Q)})})}function k(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${Q.id}/edit.json`,{method:"Get",params:h({},Q)})})}function 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 M(Q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},Q)})})}function B(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${Q.id}/view_video.json`,{method:"post",body:Q})})}function N(Q){return u(this,null,function*(){return Fetch(`/api/video_items/${Q.id}/add_school.json`,{method:"post",body:Q})})}function K(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.course_id}/video_people_statics.json`,{method:"get",params:Q})})}function G(Q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Q.course_id}/video_duration_statics.json`,{method:"get",params:Q})})}function W(Q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:Q})})}function ne(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})})}},466:function(d,v,e){"use strict";e.d(v,{A:function(){return G},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return M},Ll:function(){return o},MM:function(){return L},Ps:function(){return B},Sl:function(){return A},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return u},rV:function(){return D},sT:function(){return b},tS:function(){return N},xt:function(){return T},y2:function(){return l}});var r=e(38986),i=(W,ne,ae)=>new Promise((le,Q)=>{var J=ee=>{try{ue(ae.next(ee))}catch(X){Q(X)}},V=ee=>{try{ue(ae.throw(ee))}catch(X){Q(X)}},ue=ee=>ee.done?le(ee.value):Promise.resolve(ee.value).then(J,V);ue((ae=ae.apply(W,ne)).next())});const l=W=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:W})});function c(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions/${W.id}.json`,{method:"put",body:W})})}function f(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions/${W.id}.json`,{method:"get",params:W})})}function o(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions.json`,{method:"post",body:W})})}function h(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions.json`,{method:"get",params:W})})}function u(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}/add_resources.json`,{method:"post",body:W})})}function a(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}/lesson_resources_list.json`,{method:"get",params:W})})}function x(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}.json`,{method:"get",params:W})})}function p(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}.json`,{method:"put",body:W})})}function y(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons.json`,{method:"post",body:W})})}function _(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons.json`,{method:"get",params:W})})}function b(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W==null?void 0:W.id}.json`,{method:"get"})})}function A(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W==null?void 0:W.id}/modules.json`,{method:"get"})})}function k(W){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${W.id}/videos/batch_publish.json`,{method:"post",body:W})})}function L(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/members.json`,{method:"post",body:W})})}function T(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/members/${W.id}/change_creator.json`,{method:"post",body:W})})}function D(W,ne){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/shixuns.json`,{method:"get",params:ne})})}function M(W,ne){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/shixuns`,{method:"post",body:ne})})}function B(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_classroom_id}/shixuns/${W.shixun_id}.json`,{method:"delete"})})}function N(W,ne){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/subjects.json`,{method:"get",params:ne})})}function K(W,ne){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/subjects.json`,{method:"post",body:ne})})}function G(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_classroom_id}/subjects/${W.subject_id}.json`,{method:"delete"})})}},48790:function(d,v,e){"use strict";e.d(v,{$O:function(){return J},EO:function(){return it},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return W},JA:function(){return Ge},JL:function(){return T},Jd:function(){return Q},Ny:function(){return k},RV:function(){return ae},Rb:function(){return N},Rm:function(){return G},V9:function(){return $},Yh:function(){return X},aN:function(){return b},aQ:function(){return u},ag:function(){return je},bg:function(){return Gt},d8:function(){return B},dE:function(){return ne},eB:function(){return le},eY:function(){return Ht},fn:function(){return Fe},h:function(){return Nt},j5:function(){return _},m$:function(){return Pe},oF:function(){return y},qz:function(){return h},t_:function(){return A},tu:function(){return Vt},y8:function(){return ct}});var r=e(25690),i=(At=>(At[At.SuperAdmin=1]="SuperAdmin",At[At.Operation=2]="Operation",At[At.CertifiedTeacher=5]="CertifiedTeacher",At[At.TrainingProduction=8]="TrainingProduction",At[At.UncertifiedTeacher=12]="UncertifiedTeacher",At[At.Student=15]="Student",At))(i||{}),l=(At=>(At[At.SuperAdmin=1]="SuperAdmin",At[At.Operation=2]="Operation",At[At.Admin=5]="Admin",At[At.Teacher=8]="Teacher",At[At.Assistant=12]="Assistant",At[At.Student=15]="Student",At))(l||{}),c=(At=>(At[At.SuperAdmin=0]="SuperAdmin",At[At.Teacher=1]="Teacher",At[At.Student=2]="Student",At))(c||{});const f=At=>{const{user:qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ke}=qt;return At.some(fe=>fe==(Ke==null?void 0:Ke.role))},o=At=>{const{user:qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ke}=qt;return Ke!=null&&Ke.own?!0:At.some(fe=>{var pe;return fe==((pe=Ke==null?void 0:Ke.course)==null?void 0:pe.course_role)})},h=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState(),{userInfo:qt}=At;return qt.main_site},u=()=>{var At;const{user:qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ke}=qt;return(At=Ke==null?void 0:Ke.course)==null?void 0:At.course_is_end},a=()=>{const{user:At}=getDvaApp()._store.getState(),{userInfo:qt}=At;return qt.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),_=()=>o([1]),b=()=>o([1,2,5]),A=()=>o([1,2]),k=()=>f([1,2]),L=()=>f([1]),T=()=>f([1,2,5]),D=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),K=()=>o([1,2,5,8]),G=()=>o([12]),W=()=>o([8]),ne=()=>o([15]),ae=()=>o([1,2,5,8,12,15]),le=()=>o([1,2,5,8,12]),Q=()=>{var At;const{user:qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ke}=qt;return((At=Ke==null?void 0:Ke.course)==null?void 0:At.course_role)===null},J=()=>{var At;const{user:qt,globalSetting:Ke}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=qt,pe=((At=Ke==null?void 0:Ke.setting)==null?void 0:At.big_model_users)||[];return pe==null?void 0:pe.includes(fe==null?void 0:fe.login)},V=(At=!0,qt=!1)=>f([1,2,5,8,12,15]),ue=(At=!0,qt=!1)=>qt||!qt&&f([1]),ee=(At=!0,qt=!1)=>qt||!qt&&f([1,2]),X=()=>f([15]),ce=(At=!0,qt=!1)=>At?f([1,2,5,8,12,15]):qt||!qt&&f([1,2]),z=(At=!0,qt=!1)=>At?f([1,2,5,8,12,15]):qt||!qt&&f([1,2]),$=(At=!0,qt=!1)=>{const{user:Ke}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Ke;return fe!=null&&fe.is_shixun_marker?!0:f([1,2,5,8])},se=(At=!0,qt=!1)=>At?f([1]):qt||!qt&&f([1]),_e=(At=!0,qt=!1)=>At?f([1,2]):qt||!qt&&f([1,2]),Oe=(At=!0,qt=!1)=>At?f([1,2,5,8,12,15]):qt||!qt&&f([1,2]),Le=(At=!0,qt=!1)=>At?f([1,2,5,8,12]):qt||!qt&&f([1,2]),He=(At=!0,qt=!1)=>At?f([1,2,5]):qt||!qt&&f([1,2]),$e=(At=!0,qt=!1)=>At?f([1]):!1,Bt=(At=!0,qt=!1)=>f([1,2,5,8,12,15]),yt=(At=!0,qt=!1)=>At?f([1]):qt||!qt&&f([1]),It=(At=!0,qt=!1)=>At?f([1,2]):qt||!qt&&f([1,2]),rr=(At=!0,qt=!1)=>At?f([1,2,5,8,12,15]):qt||!qt&&f([1,2]),Yt=(At=!0,qt=!1)=>At?!1:qt||!qt&&f([1,2]),lr=(At=!0,qt=!1)=>At?qt||!qt&&f([1,2]):!1,Ve=(At=!0,qt=!1)=>At?f([1,2,5,8,12]):!1,Ct=(At=!0,qt=!1)=>At?!qt&&f([1,2,5,8,12]):!1,Ut=(At=!0,qt=!1)=>At?f([1,2,5]):qt||!qt&&f([1,2]),st=(At=!0,qt=!1)=>f([1,2,5,8,12]),xt=(At=!0,qt=!1)=>At?f([1]):qt||!qt&&f([1]),ht=(At=!0,qt=!1)=>At?f([1,2]):qt||!qt&&f([1,2]),rt=(At=!0,qt=!1)=>At?f([1,2,5,8,12]):qt||!qt&&f([1,2]),Ue=(At=!0,qt=!1)=>At?qt||!qt&&f([1,2]):!1,ye=(At=!0,qt=!1)=>At?f([1,2,5,8,12]):qt||!qt&&f([1,2]),Ce=(At=!0,qt=!1)=>o([8]),Fe=()=>f([1]),je=()=>f([1,2]),Ge=()=>f([15]),it=()=>f([1,2,5]),ct=()=>f([1,2,5,12]),Gt=()=>{var At;const{user:qt}=(0,r.getDvaApp)()._store.getState();return!!((At=qt.userInfo)!=null&&At.login)},Ht=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState();return At.userInfo},Pe=()=>{var At,qt;const{user:Ke}=(0,r.getDvaApp)()._store.getState();return!!((qt=(At=Ke.userInfo)==null?void 0:At.path)!=null&&qt.own)},tt=At=>{const{graduations:qt}=(0,r.getDvaApp)()._store.getState(),{details:Ke}=qt;return At.some(fe=>fe===(Ke==null?void 0:Ke.user_identity))},Vt=()=>tt([0,1]),kt=()=>tt([0]),Zt=()=>tt([1]),Nt=()=>tt([2])},32162:function(d,v,e){"use strict";e.d(v,{a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(o=>(o.PROBLEM="problem",o.PAPER="paper",o.OTHER="other",o))(l||{}),c=(o=>(o.SINGLE="single",o.MULTIPLEFLOW="multiple_flow",o.MULTIPLEFIXED="multiple_fixed",o.OTHER="other",o))(c||{}),f=(o=>(o[o.BISHI=1]="BISHI",o[o.JISHI=2]="JISHI",o[o.KOUSHI=3]="KOUSHI",o[o.OTHER=4]="OTHER",o))(f||{})},77935:function(d,v,e){"use strict";e.d(v,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},346:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.182/",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.111",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},38986:function(d,v,e){"use strict";e.d(v,{IV:function(){return z},U2:function(){return ue},ZP:function(){return le},d4:function(){return ee},gz:function(){return ce},rz:function(){return ae},v_:function(){return X}});var r=e(346),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(25690),a=e(51257),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,A=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,T=($,se,_e)=>se in $?y($,se,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[se]=_e,D=($,se)=>{for(var _e in se||(se={}))k.call(se,_e)&&T($,_e,se[_e]);if(A)for(var _e of A(se))L.call(se,_e)&&T($,_e,se[_e]);return $},M=($,se)=>_($,b(se)),B=($,se,_e)=>new Promise((Oe,Le)=>{var He=yt=>{try{Bt(_e.next(yt))}catch(It){Le(It)}},$e=yt=>{try{Bt(_e.throw(yt))}catch(It){Le(It)}},Bt=yt=>yt.done?Oe(yt.value):Promise.resolve(yt.value).then(He,$e);Bt((_e=_e.apply($,se)).next())});let N;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},G=($,se)=>B(void 0,null,function*(){if($.status>=200&&$.status<300)return $;const _e=K[$.status]||$.statusText;let Oe;var Le=$.json();yield Le.then(($e,Bt)=>{setTimeout(()=>{let yt=(0,u.getDvaApp)()},400),Oe=$e.message,window.showNetworkErrorTip($e.message||`\u8BF7\u6C42\u9519\u8BEF ${$.status}: ${$.message}`),i.Z.error({style:{wordBreak:"break-all"},message:$e.message||`\u8BF7\u6C42\u9519\u8BEF ${$.status}: ${$.message}`,description:$e.message?"":_e})});const He=new Error(_e);throw He.name=$.status,He.response=$,{data:$,code:$.status,message:Oe||_e}}),W=($,se)=>{const _e=$.headers.get("Content-Type");return _e&&_e.match(/application\/json/i)&&$.clone().text().then(()=>{}),$};function ne($){try{return decodeURIComponent($),decodeURIComponent(encodeURIComponent($))===$}catch(se){return!1}}const ae=$=>{$=$||{};let se="";for(let _e in $)typeof $[_e]=="object"?Array.isArray($[_e])&&$[_e].forEach((Oe,Le)=>{se+="&"+_e+"[]="+Oe}):$[_e]!==void 0&&(se+="&"+_e+"="+(ne($[_e])?$[_e]:encodeURIComponent($[_e])));return se.substr(1)};function le($,se,_e,Oe){se.method||(se.method="get"),se.method=se.method.toUpperCase(),se.mode="cors";const Le=D({},se),{user:He}=(0,u.getDvaApp)()._store.getState(),{userInfo:$e}=He,Bt=$+(Le.body?JSON.stringify(Le.body):""),yt=o().sha256().update(Bt).digest("hex"),It={credentials:"include",withCredentials:!0},rr={};$e!=null&&$e.login&&(rr.zzud=$e==null?void 0:$e.login,$e!=null&&$e.school_id&&(rr.zzsud=$e==null?void 0:$e.school_id),Le.params=D(D({},Le.params||{}),rr));let Yt=D(D({},It),(0,x.cloneDeep)(Le));(Yt.method==="POST"||Yt.method==="PUT"||Yt.method==="PATCH"||Yt.method==="DELETE")&&(_e?(Yt.headers=M(D({_method:se.method.toUpperCase()},Yt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Yt.body=Le.body):(Yt.headers=D({Accept:"application/json",_method:se.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Yt.headers),Yt.body=JSON.stringify(Le.body))),Yt.method=="GET"?(Yt.headers=M(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:se.method.toUpperCase()},Yt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Le.params&&ae(Le.params)&&($+="?"+ae(Le.params))):rr.zzud&&($+="?"+ae(D({},rr)));const lr=Le.expirys&&60;let Ve;(xt=>{xt.json="application/json;charset=UTF-8",xt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Ve||(Ve={}));let Ct;(xt=>{xt.get="GET",xt.post="POST"})(Ct||(Ct={}));const Ut=xt=>B(this,null,function*(){const ht=yield xt.arrayBuffer();let rt;const Ue=new Blob([ht]);try{rt=xt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\,\,\“,\”,\<,\>,\《,\》]/g,"")}catch(je){rt="userfiles.zip"}const ye=document.createElement("a"),Ce=window.URL.createObjectURL(Ue),Fe=rt;return ye.href=Ce,ye.download=Fe,ye.click(),window.URL.revokeObjectURL(Ce),ht});let st=r.Z.API_SERVER;return(window.ENV==="dev"||$.startsWith("http"))&&(st=""),Yt.method=="GET"&&Yt.params&&Object.keys(Yt.params).map(xt=>{if(Yt.params[xt]&&!Array.isArray(Yt.params[xt]))try{Yt.params[xt]=encodeURIComponent(decodeURIComponent(Yt.params[xt]))}catch(ht){Yt.params[xt]=encodeURIComponent(Yt.params[xt])}}),(0,a.Ec)(Yt,$),Oe&&(st=""),Yt.headers._method=Yt.method,Yt.headers["X-HTTP-Method-Override"]=Yt.method,Yt.method!=="GET"&&(Yt.method="POST"),fetch(st+$,Yt).then(xt=>G(xt,D({url:r.Z.API_SERVER+$},Yt))).then(xt=>W(xt,yt)).then(xt=>B(this,null,function*(){var ht,rt,Ue,ye;try{const Fe=xt.headers.get("cs");Fe&&(0,a.d8)("_educoder_session",Fe,1)}catch(Fe){}if(xt.status===204)return xt.text();let Ce;if(xt.headers.get("content-type").indexOf("application/json")>-1){Ce=yield xt.json();try{const Fe=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,je=/\"\/api\/attachments\/(\d+)\//g,Ge=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,it=/\/api\/attachments\/(\d+)/g,ct=/\/attachments\/download\/(\d+)/g;let Gt=JSON.stringify(Ce).replace(it,(Ht,Pe,tt,Vt)=>{const kt=Pe||tt||Vt;return"/api/attachments/"+(0,a.Jn)(kt)}).replace(ct,(Ht,Pe,tt)=>{const Vt=Pe||tt;return"/attachments/download/"+(0,a.Jn)(Vt)}).replace(Fe,(Ht,Pe,tt,Vt)=>{const kt=Pe||tt||Vt;return"(/api/attachments/"+(0,a.Jn)(kt)}).replace(je,(Ht,Pe,tt)=>{const Vt=Pe||tt;return'"/api/attachments/'+(0,a.Jn)(Vt)}).replace(Ge,(Ht,Pe,tt)=>{const Vt=Pe||tt;return"(/files/uploads/"+(0,a.Jn)(Vt)}).replace(/\r\n/g,`
`);Ce=JSON.parse(Gt)}catch(Fe){}}else Yt.headers["Content-Type"]==="application/xml"?Ce=yield xt.text():(ht=Le.body)!=null&&ht.autoDownload||(rt=Le.params)!=null&&rt.autoDownload?Ce=yield Ut(xt):Ce=yield xt.arrayBuffer();try{Ce.status===401&&(!((Ue=Yt.params)!=null&&Ue.hidePopLogin)||!((ye=Yt.body)!=null&&ye.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Ce.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(N=N||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),N.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch(Fe){console.log("fetcherr",Fe)}return V(Ce,$),Ce})).catch(xt=>{try{const ht=xt.code;if(xt instanceof TypeError&&window.showNetworkErrorTip(`${$}<span class="ml10">${xt.message}</span>`),ht){if(ht===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}V(xt,$)}else $.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Yt.body}}):xt.message!=="403"&&window.showNetworkErrorTip(`${$}<span class="ml10">${xt.message}</span>`);return xt}catch(ht){}})}let Q=!1,J=!1;const V=($,se)=>{var _e,Oe,Le;if($.status==-6&&!J){J=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>J=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:$.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if($.status==-7){J=!0,setTimeout(()=>J=!1,500);let $e="";(_e=$==null?void 0:$.data)!=null&&_e.exercise_list&&((Le=(Oe=$==null?void 0:$.data)==null?void 0:Oe.exercise_list)==null||Le.map(Bt=>{$e+=`<a target="_blank" href="/classrooms/${Bt.identifier}/exercise">\u300A${Bt.exercise_name}\u300B</a>`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`<div>\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${$e} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762</div>`},500);return}if(($.status==-1||$.status==-2||$.status==-102||$.status>400)&&$.status!=403&&!J){J=!0,setTimeout(()=>J=!1,500),c.ZP.warning({content:$.message,key:"message-key"});return}const He={403:"/403",404:"/404",500:"/500"};if(He[$.status]&&!Q){const{user:$e}=(0,u.getDvaApp)()._store.getState(),{userInfo:Bt}=$e;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(Q=!0),setTimeout(()=>Q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify($)),Object.values(He).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(He[$.status]),new Error("403")}};function ue($,se){return le(`/api/${$}`,{method:"Get",params:se||{}})}function ee($,se){return le(`/${$}`,{method:"Get",params:se})}function X($,se){return le(`/api/${$}`,{method:"Post",body:D({},se)})}function ce($,se){return le(`/api/${$}`,{method:"Put",body:D({},se)})}function z($,se){return le(`/api/${$}`,{method:"delete",body:D({},se||{})})}},11851:function(d,v,e){"use strict";e.d(v,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},81428:function(d,v,e){"use strict";e.d(v,{AL:function(){return B},Iy:function(){return p},Qv:function(){return b},ez:function(){return M},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function o(ne,ae){const le=ne.match(/^(\s+)(?:```)/);if(le===null)return ae;const Q=le[1];return ae.split(`
`).map(J=>{const V=J.match(/^\s+/);if(V===null)return J;const[ue]=V;return ue.length>=Q.length?J.slice(Q.length):J}).join(`
`)}let h=[],u=["<ul>"];const a=new(i()).Renderer,x=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function p(){h.length=0,u=["<ul>"]}const y={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function _(ne,ae,le,Q){if(ae>=ne.length||ne[ae].level<=le)return ae;var J=ne[ae];Q.push("<li><a href='#"+f+J.anchor+"'>"+J.text+"</a>"),ae++;var V=[];return ae=_(ne,ae,J.level,V),V.length>0&&(Q.push("<ul>"),V.forEach(function(ue){Q.push(ue)}),Q.push("</ul>")),Q.push("</li>"),ae=_(ne,ae,le,Q),ae}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const A={heading(ne){const ae=x.exec(ne);if(f+=1,ae)return{type:"heading",raw:ae[0],depth:ae[1].length,text:ae[2]}},fences(ne){const ae=this.rules.block.fences.exec(ne);if(ae){const le=ae[0];let Q=o(le,ae[3]||"");const J=ae[2]?ae[2].trim():ae[2];if(["latex","katex","math"].indexOf(J)>=0){const V=T(),ue=Q;Q=V,D[V]={type:"block",expression:ue}}return{type:"code",raw:le,lang:J,text:Q}}}},k=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let L=0;const T=()=>`__special_katext_id_${L++}__`;let D={};function M(){return D}function B(){L=0,D={}}function N(ne){return ne=ne.replace(k,(ae,le)=>{const Q=T();return D[Q]={type:"inline",expression:le},Q}),ne}const K=a.listitem;a.listitem=function(ne){return K(N(ne))};const G=a.paragraph;a.paragraph=function(ne){return G(N(ne))};const W=a.tablecell;a.tablecell=function(ne,ae){return W(N(ne),ae)},a.code=function(ne,ae,le){const Q=(ae||"").match(/\S*/)[0];return Q?["latex","katex","math"].indexOf(Q)>=0?`<p class='editormd-tex'>${ne}</p>`:`<pre class="prettyprint linenums"><code class="language-${ae}">${le?ne:(0,l.escape)(ne,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(le?ne:(0,l.escape)(ne,!0))+"</code></pre>"},a.heading=function(ne,ae,le){let Q=this.options.headerPrefix+le.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:Q,level:ae,text:ne}),"<h"+ae+' id="'+f+Q+'">'+ne+"</h"+ae+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:A,renderer:a}),v.ZP=i()},51257:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jt:function(){return showInstallWebRtcDoc},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},vQ:function(){return copyToClipboard},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(48790),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(95237),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(43604),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6383),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(81722),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(77935),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(25690),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(346),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(49535),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(91842),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(38986),crypto_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_11__),_key__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(11851),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(d,v,e)=>v in d?__defProp(d,v,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[v]=e,__spreadValues=(d,v)=>{for(var e in v||(v={}))__hasOwnProp.call(v,e)&&__defNormalProp(d,e,v[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(v))__propIsEnum.call(v,e)&&__defNormalProp(d,e,v[e]);return d},__spreadProps=(d,v)=>__defProps(d,__getOwnPropDescs(v)),__async=(d,v,e)=>new Promise((r,i)=>{var l=o=>{try{f(e.next(o))}catch(h){i(h)}},c=o=>{try{f(e.throw(o))}catch(h){i(h)}},f=o=>o.done?r(o.value):Promise.resolve(o.value).then(l,c);f((e=e.apply(d,v)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_12___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default());const HighLightedContent=(d,v=[],e="#2EC25B")=>(typeof v=="string"&&(v=[v]),d.replace(new RegExp(`(${v.join("|")})`,"gi"),`<span style="color:${e}">$1</span>`)),parseParams=d=>{d=d||{};let v="";for(let e in d)typeof d[e]=="object"?Array.isArray(d[e])&&d[e].forEach((r,i)=>{v+="&"+e+"[]="+r}):d[e]!==void 0&&(v+="&"+e+"="+d[e]);return v.substr(1)},getKey=d=>window.atob(window.atob(d));function bytesToSize(d){var v=["Bytes","KB","MB","GB","TB"];if(d==0)return"0 Byte";var e=parseInt(""+Math.floor(Math.log(d)/Math.log(1024)),10);return(d/Math.pow(1024,e)).toFixed(1)+" "+v[e]}const getTwoDecimalPlaces=d=>Math.round(Math.round(d*1e5)/1e3*100)/100,NewAntdDisabledDate=(d,v=null)=>{const e=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.startTime).startOf("day"),r=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.endTime).endOf("day"),i=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).startOf("day");return v!=null&&v.endTime?v!=null&&v.compared?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared)?i||r:e||r:d&&e||r:v!=null&&v.compared&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared)?i:e},NewAntdDisabledTime=(d,v=null)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("mm")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),l=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("ss"));function f(o,h){const u=[];for(let a=o;a<h;a++)u.push(a);return u}if(!d)return{disabledHours:()=>f(0,i),disabledMinutes:()=>f(0,l)};if(v!=null&&v.compared){const o=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("HH")),h=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("mm")),u=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(v==null?void 0:v.compared),"day")?{disabledHours:()=>f(0,o),disabledMinutes:()=>e<=o?f(0,h):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>f(0,i),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=i?f(0,l):[]}},disabledDate=(d,v,e,r)=>{r=typeof r=="string"?moment__WEBPACK_IMPORTED_MODULE_12___default()(r):r;const i=r?d<(r==null?void 0:r.startOf("day")):d<moment__WEBPACK_IMPORTED_MODULE_12___default()().startOf("day"),l=d>moment__WEBPACK_IMPORTED_MODULE_12___default()(v).endOf("day"),c=d<moment__WEBPACK_IMPORTED_MODULE_12___default()(e).startOf("day");return v?e?moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c||l:i||l:d&&i||l:e&&moment__WEBPACK_IMPORTED_MODULE_12___default()()<=moment__WEBPACK_IMPORTED_MODULE_12___default()(e)?c:i},disabledTime=(d,v)=>{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("HH")),i=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()().format("mm"));function l(c,f){const o=[];for(let h=c;h<f;h++)o.push(h);return o}if(!d)return{disabledHours:()=>l(0,r),disabledMinutes:()=>l(0,i)};if(v){const c=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v).format("HH")),f=parseInt(moment__WEBPACK_IMPORTED_MODULE_12___default()(v).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(v),"day")?{disabledHours:()=>l(0,c),disabledMinutes:()=>e<=c?l(0,f):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"day"))return{disabledHours:()=>l(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_12___default()(d).isSame(moment__WEBPACK_IMPORTED_MODULE_12___default()(),"hour")&&e<=r?l(0,i):[]}},preciseCalculation=(d,v,e)=>{typeof d=="string"&&(d=Number(d)),typeof v=="string"&&(v=Number(v));const r=(d.toString().split(".")[1]||"").length,i=(v.toString().split(".")[1]||"").length,l=Math.max(r,i),c=Math.pow(10,l);return(()=>{switch(e){case"+":return(Math.round(d*c)+Math.round(v*c))/c;case"-":return(Math.round(d*c)-Math.round(v*c))/c;case"*":return Math.round(d*c)*Math.round(v*c)/(c*c);case"/":return Math.round(d*c)/Math.round(v*c);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=d=>d/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(d/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):d,toChineseNumber=d=>{const v=d.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],r=["","\u5341","\u767E","\u5343"],i=["","\u4E07","\u4EBF"],l=f=>{let o="";for(let h=0;h<f.length;h++){const u=+f[h],a=e[u],x=r[f.length-1-h];u===0?o[o.length-1]!==e[0]&&(o+=a):o+=a+x}return o[o.length-1]===e[0]&&(o=o.slice(0,-1)),o};let c="";for(let f=0;f<v.length;f++){const o=v[f],h=l(o),u=h?i[v.length-1-f]:"";c+=h+u}return c=c.replace(/^一十$/,"\u5341"),c=c.replace(/^一(?=十[一二三四五六七八九])/,""),c},moveArray=(d,v,e)=>{const r=d.splice(v,1)[0];return d.splice(e,0,r),d},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=d=>{if(!d)return"";const v=d.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r
`).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",v,JSON.stringify(d)),v},StatusTags=d=>{const v={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};return d.data&&d.data.map(function(e,r){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{key:r,className:v[e]&&v[e].class},e)})},formatHomeWorkStatusToName=d=>({[-1]:"\u91CD\u505A\u4E2D",0:"\u672A\u5F00\u542F",1:"\u672A\u901A\u5173",2:"\u6309\u65F6\u901A\u5173"})[d]||"\u8FDF\u4EA4\u901A\u5173",HomeWorkListStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r==null?void 0:r[d.status])==null?void 0:v.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunListStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r==null?void 0:r[d.status])==null?void 0:v.class},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkDetailStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(v=r==null?void 0:r[d.status])==null?void 0:v.color,borderRadius:"20px",width:"65px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkShixunDetailStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red",color:"#d4443d"},5:{name:"\u622A\u6B62\u540E\u8BC4\u6D4B",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(v=r==null?void 0:r[d.status])==null?void 0:v.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},HomeWorkCommonDetailStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-black",color:"#999999"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black",color:"#999999"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green",color:"#57be40"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(v=r==null?void 0:r[d.status])==null?void 0:v.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=r==null?void 0:r[d.status])==null?void 0:e.name)},StatusGraduationProjectTags=d=>{const{status:v}=d,e={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:e[v].class},e[v].name)}catch(r){console.log("utils.StatusGraduationProjectTags",d.status)}},ExerciseStatus={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u96C6\u4E2D\u9605\u5377",99:"\u6A21\u62DF\u8003\u8BD5\u4E2D"},PollsStatus={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u672A\u5F00\u59CB"},StatusClassroomsTags=d=>{let v={\u6A21\u62DF\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-pink ml10"},\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10soft"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10soft"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-c5d6ff ml10soft"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10soft"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10soft"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"},\u5BFC\u5165:{class:"export ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};const e={\u672A\u53D1\u5E03:{class:"tag-style bg-C6CED6 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-C1E2FF ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u5DF2\u622A\u6B62:{class:"tag-style bg-E53333 ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-44D7B6 ml10soft"}};d.temporary&&(v=__spreadValues(__spreadValues({},v),e));const r=[];d.is_random&&r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{d.status&&d.status.map((i,l)=>{r.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:(d==null?void 0:d.style)||[],key:l,className:v[i]&&v[i].class},i))})}catch(i){console.log("utils.status.tag:",i,d.status)}return r},exerciseTips=(d,v)=>{if(d===5||v)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style ml5"},"\u96C6\u4E2D\u9605\u5377");if(d===1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style ml5"},"\u672A\u5F00\u59CB");if(d===2)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style ml5"},"\u8003\u8BD5\u4E2D");if(d===3||d===4)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style ml5"},"\u5DF2\u622A\u6B62");if(d===-1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"export ml5"},"\u5BFC\u5165")},WorkStatus=d=>{var v,e;const r={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r[d.status])==null?void 0:v.class},(e=r[d.status])==null?void 0:e.name)},CommonWorkStatus=d=>{var v,e;const r={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"},3:{name:"\u90E8\u5206\u63D0\u4EA4",class:"c-green"},4:{name:`\u6309\u65F6\u63D0\u4EA4${d!=null&&d.lineBreak?`
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-green"},5:{name:`\u672A\u63D0\u4EA4${d!=null&&d.lineBreak?`
`:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-black"},6:{name:"\u6309\u65F6\u63D0\u4EA4\uFF08\u7EBF\u4E0B\uFF09",class:"c-green"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(v=r[d.status])==null?void 0:v.class},(e=r[d.status])==null?void 0:e.name)},timego=d=>{d=new Date(d).getTime();let v=1e3*60,e=v*60,r=e*24,i="",c=new Date().getTime()-d;if(c<0)return console.log("\u65F6\u95F4\u4E0D\u5BF9\u52B2,\u670D\u52A1\u5668\u521B\u5EFA\u65F6\u95F4\u4E0E\u5F53\u524D\u65F6\u95F4\u4E0D\u540C\u6B65"),i="\u521A\u521A";let f=parseInt(c/r,10),o=parseInt(c/e,10),h=parseInt(c/v,10);return f>30?i=""+timeformat(d,"yyyy-MM-dd"):f>1?i=""+f+"\u5929\u524D":f==1?i="\u6628\u5929":o>=1?i=""+o+"\u5C0F\u65F6\u524D":h>=5?i=""+h+"\u5206\u949F\u524D":i="\u521A\u521A",i};function replaceParamVal(paramName,replaceWith){var oUrl=window.location.href.toString(),re=eval("/("+paramName+"=)([^&]*)/gi"),nUrl=oUrl.replace(re,paramName+"="+replaceWith);window.history.replaceState(null,"",nUrl)}const timeformat=(d,v)=>{typeof d=="string"&&(d.indexOf("T")>=0&&(d=d.replace("T"," ")),d=new Date(Date.parse(d.replace(/-/g,"/")))),d=new Date(d);let e={"M+":d.getMonth()+1,"d+":d.getDate(),"h+":d.getHours(),"m+":d.getMinutes(),"s+":d.getSeconds(),"q+":Math.floor((d.getMonth()+3)/3),S:d.getMilliseconds()},r=[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]];/(y+)/.test(v)&&(v=v.replace(RegExp.$1,(d.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(v)&&(v=v.replace(RegExp.$1,r[RegExp.$1.length-1][d.getDay()]));for(let i in e)new RegExp("("+i+")").test(v)&&(v=v.replace(RegExp.$1,RegExp.$1.length==1?e[i]:("00"+e[i]).substr((""+e[i]).length)));return v},toTimeFormat=d=>{if(!d||d<0)return"0\u79D2";console.log("time:",d);let v=60,e=v*60,r=e*24,i=d/r,l=d/e,c=d/v,f=d%60;return i>=1?parseInt(i.toString())+"\u5929"+Math.floor(l%24)+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":l>1?parseInt(l.toString())+"\u65F6"+Math.floor(c%60)+"\u5206"+Math.floor(d%60)+"\u79D2":c>=1?parseInt(c.toString())+"\u5206"+Math.floor(d%60)+"\u79D2":Math.ceil(d)+"\u79D2"},validateLength=(d="",v=100)=>{let e=0;if(d){e=d.length;for(let r=0;r<e;r++){let i=d.charCodeAt(r);i>=55296&&i<=56319&&(e--,r++)}}return e<=v};function buildTree(d,v){const e={};let r=null;return d.forEach(i=>{e[i.properties.uuid]=__spreadProps(__spreadValues({},i),{children:[]})}),v.forEach(i=>{const l=e[i.startNodeUuid],c=e[i.endNodeUuid];l&&c&&l.children.push(c)}),d.forEach(i=>{!v.some(c=>c.endNodeUuid===i.properties.uuid)&&(r=e[i.properties.uuid])}),r}const handleValidatorNickName=(d,v,e)=>{if(v){let r=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]~@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(v),c=r.test(v);(l===!0||c===!0||v.length<2||v.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}e()},handleValidatorName=(d,v,e)=>{if(v){let r=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]~@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im;const l=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(v),c=r.test(v);(l===!0||c===!0||v.length<2||v.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}e()},getHiddenName=d=>{if(!d)return"";let v=d.length-1,e="";for(var r=0;r<v;r++)e+="*";return d.substr(0,1)+e},getBase64=(d,v)=>{const e=new FileReader;e.addEventListener("load",()=>v(e.result)),e.readAsDataURL(d)},getFileContentAndUrl=d=>new Promise((v,e)=>{var r=new FileReader;r.onload=function(){try{const i=window.URL.createObjectURL(d);v({text:this.result,link:i})}catch(i){antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9"),e("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9")}},r.readAsText(d)});function setmiyah(d){return md5__WEBPACK_IMPORTED_MODULE_6___default()("79e33abd4b6588941ab7622aed1e67e8"+d)}const getCookie=d=>{var v,e=RegExp("(^| )"+d+"=([^;]+)(;|$)");return(v=document.cookie.match(e))?decodeURIComponent(v[2]):null};function setCookie(d,v,e){var r=new Date;r.setTime(r.getTime()+e*24*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=d+"="+v+"; "+i+`;domain=${document.domain.indexOf("educoder.net")>-1?".educoder.net":document.domain};path=/;SameSite=None;secure`}const delCookie=d=>{document.cookie=d+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;"},clearAllCookies=()=>{for(var d=document.cookie.split(";"),v=0;v<d.length;v++){var e=d[v],r=e.indexOf("="),i=r>-1?e.substr(0,r):e;document.cookie=i+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT"}};function downLoadLink(d,v){let e=document.createElement("a");document.body.appendChild(e),e.href=v,d&&(e.title=d,e.download=d);let r=document.createEvent("MouseEvents");r.initEvent("click",!1,!1),e.dispatchEvent(r),document.body.removeChild(e)}function getFirstLevelDomain(){var d=window.location.hostname,v=d.split(".").reverse();return v.length>2?[v[1],v[0]].join("."):d}function getBlob(d){return new Promise(v=>{const e=new window.XMLHttpRequest;(d.indexOf(getFirstLevelDomain())>-1||location.hostname==="localhost"&&d.indexOf("/api/")>-1)&&(e.withCredentials=!0),e.open("GET",d,!0),e.responseType="blob",e.onload=()=>{e.status===200&&v(e.response)},e.send()})}function saveAs(d,v){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(d,v);else{const e=document.createElement("a"),r=document.querySelector("body");e.href=window.URL.createObjectURL(d),e.download=v,e.style.display="none",r.appendChild(e),e.click(),r.removeChild(e),window.URL.revokeObjectURL(e.href)}}function download(d,v){getBlob(d).then(e=>{saveAs(e,v)})}function downLoadFileIframe(d,v){return new Promise((e,r)=>{var i=v,l=document.createElement("iframe"),c;document.body.appendChild(l),l.src=i,l.style.display="none",l.addEventListener("load",function(){setTimeout(()=>{document.body.removeChild(l)},1e3)},!0),c=setInterval(()=>{getCookie("fileDownload")&&(delCookie("fileDownload"),clearInterval(c),document.body.removeChild(l),e())},1e3)})}function downLoadFile(d,v){downLoadLink(d,v)}const setUrlQuery=d=>{let{url:v,query:e}=d;if(!v)return"";if(e){let r=[];for(const i in e)e.hasOwnProperty(i)&&!isUnOrNull(e[i])&&(typeof e[i]=="object"?e[i].map(l=>{r.push(`${i}[]=${l}`)}):r.push(`${i}=${e[i]}`));v.indexOf("?")!==-1?v=`${v}&${r.join("&")}`:v=`${v}?${r.join("&")}`,console.log("url1111",v)}return v};function isPc(){let d=navigator.userAgent,v=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],e=!0;for(var r=0;r<v.length;r++)if(d.indexOf(v[r])>0){e=!1;break}return e}function isChrome(){let d=navigator.userAgent;return["Chrome"].some(e=>d.indexOf(e)>-1)}function isFirefox(){let d=navigator.userAgent;return["Firefox"].some(e=>d.indexOf(e)>-1)}function isChromeOrFirefox(){let d=navigator.userAgent;return["Chrome","Firefox"].some(e=>d.indexOf(e)>-1)}const formatMoney=(d="")=>{var v;return(v=d==null?void 0:d.toString())==null?void 0:v.replace(/\B(?=(\d{3})+(?!\d))/g,",")},openNewWindow=d=>{let v=document.createElement("a");v.target="_blank",document.body.appendChild(v),v.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),v.dispatchEvent(e),document.body.removeChild(v)},openNewWindows=d=>{let v=document.createElement("a");document.body.appendChild(v),v.href=d;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),v.dispatchEvent(e),document.body.removeChild(v)},formatTextMiddleIntercept=(d="")=>d.length<=6?d:`${d.substring(0,3)}...${d.substring(d.length-3,d.length)}`,HalfPastOne=()=>{let d=new Date().getHours(),v=new Date().getMinutes();return v>=30?(d++,v="00"):v="30",d+":"+v},DayHalfPastOne=(d="-")=>{let v=new Date().getHours(),e=new Date().getMinutes();return e>=30?(v++,e="00"):e="30",new Date().toLocaleDateString().replace(/\//g,d)+" "+v+":"+e};var Type=(d=>(d.Number="Number",d.String="String",d.Boolean="Boolean",d.Object="Object",d.Array="Array",d.Function="Function",d))(Type||{});const type=d=>{const v=Object.prototype.toString.call(d);return v.substring(8,v.length-1)},isEmpty=d=>type(d)==="Array"?d.length===0:type(d)==="Object"?Object.keys(d).length===0:!d,rangeNumber=(d,v)=>{const e=[];for(let r=d;r<v;r++)e.push(r);return e},middleEllipsis=(d,v=12)=>{let e=v/2-2,r=v/2+3;return d.length>v?d.substr(0,e)+"..."+d.substr(r,v):d},formatRate=d=>d>4.5?5:d>4&&d<=4.5?4.5:d>3.5&&d<=4?4:d>3&&d<=3.5?3.5:d>2.5&&d<=3?3:d>2&&d<=2.5?2.5:d>1.5&&d<=2?2:d>1&&d<=1.5?1.5:d>.5&&d<=1?1:d>0&&d<=.5?.5:0,isUnOrNull=d=>d==null;function getUrlToken(d,v){const e=new RegExp(`(^|&)${d}=([^&]*)(&|$)`,"i"),r=v.substr(1).match(e);return r!=null?decodeURIComponent(r[2]):null}const getMessagesUrl=d=>{var v,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(((v=i==null?void 0:i.setting)==null?void 0:v.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"Declaration":return window.open("/declaration/research/instruction");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,v)=>__async(void 0,null,function*(){let e="",r;return new Promise((i,l)=>__async(void 0,null,function*(){if(d.ip_limit!=="no"||d.ip_bind_type)try{e=yield(0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__.y)({ip_limit:d==null?void 0:d.ip_limit,ip_bind:d==null?void 0:d.ip_bind_type}),console.log(e,44)}catch(f){l(void 0)}const c=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Cl)({id:d.exerciseId,ip:e});if(c.status===0)i(c);else if(c.status===-5){(0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:{errorMessage:c==null?void 0:c.message,exercise_user_id:d==null?void 0:d.exercise_user_id,id:d.exerciseId,unlockClose:d.unlockClose}}});return}else i(c);if(d.errmsgHide||v)return!0;if(c.status===-1)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01"),okText:"\u6211\u77E5\u9053\u4E86"}),!1;if(c.status===-2)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},c.ip),"\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"),okText:"\u6211\u77E5\u9053\u4E86"}),!1}))}),checkDisabledExam=d=>new Promise((v,e)=>__async(void 0,null,function*(){const r=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Zg)({id:d==null?void 0:d.exerciseId,coursesId:d==null?void 0:d.coursesId});if((r==null?void 0:r.status)===0){v("");return}setTimeout(()=>{window.location.reload()},2e3),e("")})),isKepuKehuan=()=>location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1,startExercise=d=>__async(void 0,null,function*(){var v,e,r;sessionStorage.removeItem("studentunlock");let i;if((location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1)&&!isPc()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({content:"\u8BF7\u4F7F\u7528\u7535\u8111\u53C2\u52A0\u8003\u8BD5\uFF01"});return}if(copyTextFuc(" ",!0),yield checkDisabledExam(d),d.ip_limit!=="no"||d.ip_bind){const l=yield checkLocalOrPublicIp(d,!0);if((l==null?void 0:l.status)!==0)return;if(!isChrome()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")});return}}if(d.forbid_screen){const l=new WebSocket("ws://localhost:8082");yield new Promise(c=>setTimeout(()=>c(),200)),sendAppStatus(l,d)}if(d.open_camera||d.screen_open||d.ip_limit!=="no"||d.identity_verify){if(!isChromeOrFirefox())return antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")}),!1;d.open_phone_video_recording?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login}/check`:d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(e=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:e.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(r=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:r.login}`}else d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}`});var httpBuildQuery=function(d,v,e,r){if(console.log("param:",d),v=v||null,e=e||"&",r=r||null,!d)return"";var i=function(o){for(var h=new Array,u=0;u<o.length;u++)o[u]&&h.push(o[u]);return h},l=function(o){return encodeURIComponent(o).replace(/[!'()*]/g,escape)},c=function(o){return!isNaN(parseFloat(o))&&isFinite(o)},f=Object.keys(d).map(function(o){var h,u=o;if(typeof d[o]=="object"&&d[o]!==null)h=httpBuildQuery(d[o],null);else{v&&(u=c(u)?v+Number(u):u);var a=d[o];a=a===!0?"1":a,a=a===!1?"0":a,a=a===0?"0":a,a=a||"",h=u+"="+a}return h});return i(f).join(e).replace(/[!'()*]/g,escape)};const parseParamsStr=(d,v)=>{const e={},r=Object.assign(!0,d,{}),i=[];return Object.keys(r).sort().forEach(function(l){if(r[l]=r[l]===!0?"true":r[l],r[l]=r[l]===!1?"false":r[l],v==="GET"){if(r[l]!==null){if(typeof r[l]=="object"&&(!Array.isArray(r[l])||Array.isArray(r[l])&&!r[l].length))return;const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?decodeURIComponent(c):JSON.stringify(c)}`)}}else{const c=r[l]===null||r[l]==="null"?"":r[l];i.push(`${l}=${typeof c=="string"||typeof c=="number"?c:JSON.stringify(c)}`),r[l],e[l]=r[l]}}),i.join("&").trim()},educationList=[{name:"\u672C\u79D1",id:6},{name:"\u5927\u4E13",id:5},{name:"\u4E2D\u4E13",id:4},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8}];function getTopLevelDomain(){let d=window.location.hostname;if(/^\d+\.\d+\.\d+\.\d+$/.test(d)||d==="localhost")return d;let v=d.split(".");return v.length>2&&/^[a-z]{2}$/.test(v[v.length-2])?v.slice(-3).join("."):v.slice(-2).join(".")}const setHeader=(d,v)=>{var e;try{const r=Date.now();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,v)}},setThreeComponent=()=>{(function(d){XMLHttpRequest.prototype.open=function(v,e,r=!0){const i=setHeader({method:v,headers:{}});d.call(this,v,e,r);try{e.indexOf(getTopLevelDomain())>-1&&(this.setRequestHeader("X-EDU-Type","pc"),this.setRequestHeader("X-EDU-Timestamps",i.headers["X-EDU-Timestamp"]),this.setRequestHeader("X-EDU-Signatures",i.headers["X-EDU-Signature"]),this.setRequestHeader("Pc-Authorization",getCookie("_educoder_session")))}catch(l){}}})(XMLHttpRequest.prototype.open),function(d){window.fetch=function(v,e){var r;return e=e||{},(r=e.headers)!=null&&r["X-EDU-Timestamp"]||setHeader(e),d.apply(this,arguments).then(function(i){return i})}}(window.fetch)},parseUrl=d=>{const v=/(\w+)=([^\#&]*)/gi,e={};return d.replace(v,function(r,i,l){e[i]=decodeURI(l)}),e},messageInfo=(d,v)=>{const r={1:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6682\u672A\u53D1\u5E03\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",2:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u4E0D\u5B58\u5728\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",3:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",4:`\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E${v}\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002`}[d];antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning(r)},base64ToBlob=(d,v)=>{var e;const r=window.atob(d),i=r.length,l=new Uint8Array(i);for(let c=0;c<i;++c)l[c]=r.charCodeAt(c);return new Blob([l],{type:_contentType__WEBPACK_IMPORTED_MODULE_4__.F[(e=v.split("."))==null?void 0:e[1]]||"application/octet-stream"})},downloadFile=(d,v,e)=>{const r=base64ToBlob(v,e);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r,d);else{const i=document.createElement("a");i.href=window.URL.createObjectURL(r),i.download=d,document.body.appendChild(i);const l=document.createEvent("MouseEvents");l.initEvent("click",!1,!1),i.dispatchEvent(l),document.body.removeChild(i)}},trackEvent=d=>{var v;if(d.length)try{window._czc.push(["_trackEvent",...d]),window==null||window.gtag("event",d[1],{event_category:d[0],event_label:d[2]||"",value:d[3]||"",user_id:((v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login)||""})}catch(e){console.log("trackEvent:err:",e)}},trackEventCustom=d=>{if(d.length)try{window._czc.push(["_setCustomVar",...d])}catch(v){console.log("trackEvent:err:",v)}},onPreviewImage=d=>{const v=(i,l)=>{if(i.localName===l)return i;for(let c=0,f=i;f=f.parentNode;c++){if(f.localName===l)return f;if(f==document.documentElement)return!1}},e=d.target,r=v(e,"a");if(!(r!=null&&r.href)&&e.tagName.toUpperCase()==="IMG"){let i=e.src||e.getAttribute("src");i&&i.indexOf("/images/avatars/User")===-1&&(d.stopPropagation(),d.preventDefault(),_components_mediator__WEBPACK_IMPORTED_MODULE_8__.Z.publish("preview-image",i))}},getCategoryName=(d,v)=>{var e,r,i,l;if(d&&d!=""){let c=(e=d==null?void 0:d.filter(f=>f.type===location.pathname.split("/")[3]))==null?void 0:e[0];return v?(l=(i=(r=c==null?void 0:c.second_category)==null?void 0:r.filter(f=>f.category_id==v))==null?void 0:i[0])==null?void 0:l.category_name:c==null?void 0:c.name}return null},bindPhone=d=>{const v=antd__WEBPACK_IMPORTED_MODULE_15__.default.confirm({title:"\u5B8C\u5584\u624B\u673A\u53F7\u7801",content:"\u6309\u7167\u6709\u5173\u653F\u7B56\u89C4\u5B9A\uFF0C\u7279\u6B8A\u5B9E\u9A8C\u9700\u8981\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u624D\u80FD\u4F7F\u7528\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801",okText:"\u7ACB\u5373\u7ED1\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,onOk:()=>{location.href="/account/secure"},onCancel:()=>{v.destroy(),d!=null&&d.onCancel&&d.onCancel()}})},copyTextFuc=(d="",v=!1)=>{const e=document.createElement("textarea");e.value=d,document.body.appendChild(e),e.select(),document.execCommand("Copy"),v||antd__WEBPACK_IMPORTED_MODULE_14__.ZP.success("\u590D\u5236\u6210\u529F"),document.body.removeChild(e)},getJsonFromUrl=d=>{if(d||(d=window.location.search),!d)return{};let v=d.substring(1),e={};return v.split("&").forEach(function(r){let i=r.split("=");e[i[0]]=decodeURIComponent(i[1])}),e},arrTrans=(d,v)=>{if(!v)return null;const e=[];return v.forEach((r,i)=>{const l=Math.floor(i/d);e[l]||(e[l]=[]),e[l].push(r)}),e},setDocumentTitle=d=>{checkIsClientExam()?document.title="\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF":d!==""&&d&&(document.title=d||(document.domain.indexOf(".educoder.net")>-1?"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0":""))},checkIsClientExam=()=>{var d;return(d=window==null?void 0:window.localStorage)==null?void 0:d.isClientExam},localSort={setItem:(d,v,e)=>{const r=d,i=localStorage.getItem(r),l=i!==null&&i!=="[object Object]"?JSON.parse(i):{};l[e]=v,localStorage.setItem(r,JSON.stringify(l))},getItem:(d,v)=>{const e=d,r=localStorage.getItem(e);return(r!==null&&r!=="[object Object]"?JSON.parse(r):{})[v]}},ImgSrcConvert=d=>d!=null&&d.startsWith("http")?d:_env__WEBPACK_IMPORTED_MODULE_7__.Z.IMG_SERVER+d,compareVersion=d=>{const v=getVersion(),e=d.split("."),r=v.split("."),i=Math.max(e.length,r.length);for(;e.length<i;)e.push("0");for(;r.length<i;)r.push("0");for(let l=0;l<i;l++){const c=parseInt(e[l]),f=parseInt(r[l]);if(c>f)return 1;if(c<f)return-1}return 0},getImageUrl=(d,v)=>{d=`${d}${v?","+v:""}`;const e=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().enc.Utf8.parse(window.atob(window.atob(_key__WEBPACK_IMPORTED_MODULE_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 v=navigator.userAgent.toLowerCase().match(/version\/[\d.]+/gi);return v&&v[0].replace(/version\//,"")},isLocalApp=()=>navigator.userAgent.indexOf("ExerciseApp")>-1;function randomArray(d,v){let e=d.length,r,i;v=v||1;let l=function(){var c=Math.sin(v++)*1e3;return c-Math.floor(c)};for(;e!==0;)i=Math.floor(l()*e),e-=1,r=d[e],d[e]=d[i],d[i]=r;return d}function pointerEvents(d){const v=document.getElementsByTagName("iframe");for(let r=0;r<v.length;r++)v[r].style["pointer-events"]=d;const e=document.getElementsByTagName("canvas");for(let r=0;r<e.length;r++)e[r].style["pointer-events"]=d}const toDataUrl=d=>new Promise((v,e)=>{var r=new XMLHttpRequest;r.withCredentials=!0,r.onload=function(){var i=new FileReader;i.onloadend=function(){v(i.result)},i.readAsDataURL(r.response)},r.open("GET",d),r.responseType="blob",r.send()}),vtrsKey=(_b=(_a=location==null?void 0:location.pathname)==null?void 0:_a.split("/"))==null?void 0:_b[1];function scrollToTop(){window.scrollTo({left:0,top:0,behavior:"smooth"})}function domScrollToTop(d){var v;(v=document.querySelector(d))==null||v.scrollTo({left:0,top:0,behavior:"smooth"})}function dealUploadChange(d){var v,e,r,i,l;const c=(v=d.fileList)==null?void 0:v.map(f=>{var o,h;return __spreadProps(__spreadValues({},f),{status:typeof(f==null?void 0:f.response)=="string"||((o=f==null?void 0:f.response)==null?void 0:o.status)===-1?"error":f.status,response:typeof(f==null?void 0:f.response)=="string"?f==null?void 0:f.response:f!=null&&f.response&&(f==null?void 0:f.response.status)===-1?(h=f==null?void 0:f.response)==null?void 0:h.message:f==null?void 0:f.response})});return((r=(e=d.file)==null?void 0:e.response)==null?void 0:r.status)===-1&&(antd__WEBPACK_IMPORTED_MODULE_14__.ZP.destroy(),antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning((l=(i=d.file)==null?void 0:i.response)==null?void 0:l.message)),c}function cutFileName(d="",v){if(!d)return"";const e=d.lastIndexOf(".");let r=[d,""];if(e!==-1&&e!==d.length-1){const i=d.substring(0,e),l=d.substring(e+1);r=[i,l]}return r[0].length>v?r[0].slice(0,v)+"..."+r[1]:d}function cutName(d="",v,e="--"){return d?(d==null?void 0:d.length)>=v?(d==null?void 0:d.slice(0,v))+"...":d:e}function timeContrast(d){return d?moment__WEBPACK_IMPORTED_MODULE_12___default()().isBefore(moment__WEBPACK_IMPORTED_MODULE_12___default()(d)):!0}function showTotal(d){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"font14 c-grey-333"},"\u5171",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-light-primary"},"\xA0",d,"\xA0"),"\u6761\u6570\u636E")}const formatRandomPaperData=d=>{const v={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:e,single_questions:r,multiple_questions:i,judgement_questions:l,program_questions:c,completion_questions:f,subjective_questions:o,practical_questions:h,combination_questions:u,bprogram_questions:a}=d||{},x=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},r),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},i),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},f),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},l),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},o),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},c),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},a),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},h),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},u)],p=[];let y=0,_=0;const b=x.filter(A=>A.questions_count>0).map((A,k)=>{var L;return(L=A.questions)==null||L.forEach(T=>{p.push(T.id),y=y+T.score,_=_+1}),__spreadValues(__spreadValues({},A),{number:v[k+1]})});return{all_questions_count:_,all_score:y,questionList:b,ids:p,exam:e}},formatRandomPaperDatas=d=>{var v;const e={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!d)return;const{exam:r,single_questions:i,multiple_questions:l,judgement_questions:c,program_questions:f,completion_questions:o,subjective_questions:h,practical_questions:u,combination_questions:a,bprogram_questions:x}=d||{},p=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},i),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},l),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},o),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},c),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},h),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},f),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},x),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},u),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},a)];let y=[];(v=r==null?void 0:r.question_type_position)==null||v.map((L,T)=>{p==null||p.map((D,M)=>{L.type===D.type&&y.push(D)})});const _=[];let b=0,A=0;const k=y.filter(L=>L.questions_count>0).map((L,T)=>{var D;return(D=L.questions)==null||D.forEach(M=>{_.push(M.id),b=b+M.score,A=A+1}),__spreadValues(__spreadValues({},L),{number:e[T+1]})});return{all_questions_count:A,all_score:b,questionList:k,ids:_,exam:r}},isWechatBrowser=()=>navigator.userAgent.toLowerCase().match(/MicroMessenger/i)=="micromessenger",toWechatLogin=()=>{isWechatBrowser()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx0955caba88bc37eb&redirect_uri=https%3A%2F%2Fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":window.location.href="/wxlogin.html"},isMobileDevice=()=>typeof window.orientation!="undefined"||navigator.userAgent.indexOf("Mobi")!==-1,sendAppStatus=(d,v)=>{var e;try{v?(d.send(JSON.stringify({type:"toggleLockExit",data:!0})),v!=null&&v.forbid_screen&&d.send(JSON.stringify({type:"open-disabled-switchscreen"})),v!=null&&v.use_white_list&&d.send(JSON.stringify({type:"open-only-allow-runapp",data:v==null?void 0:v.white_list})),v!=null&&v.net_limit&&d.send(JSON.stringify({type:"network-close",data:(e=v==null?void 0:v.net_limit_list)==null?void 0:e.split(`
`)}))):(d.send(JSON.stringify({type:"toggleLockExit",data:!1})),d.send(JSON.stringify({type:"close-disabled-switchscreen"})),d.send(JSON.stringify({type:"close-only-allow-runapp"})),d.send(JSON.stringify({type:"network-open"})))}catch(r){}},addJumping=()=>{const d=document.querySelector('a[title="\u589E\u52A0\u586B\u7A7A"]'),v=d==null?void 0:d.querySelector("span");v&&(v.classList.remove("jumping-icon"),v.offsetWidth,v.classList.add("jumping-icon"),setTimeout(()=>{var e;(e=v==null?void 0:v.classList)==null||e.remove("jumping-icon")},2e3))},showClassroomsmodal=d=>d!=null&&d.forbid_student_visit?(antd__WEBPACK_IMPORTED_MODULE_15__.default.warning({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{fontWeight:600}},d==null?void 0:d.username,"\u8001\u5E08 "),"\u5DF2\u5173\u95ED\u8BE5\u8BFE\u5802\uFF0C\u5B66\u751F\u7528\u6237\u6682\u65F6\u65E0\u6CD5\u8BBF\u95EE ")}),!0):!1,getExamRestrictionInfo=d=>{const v=[];return d.is_locked&&v.push("\u8003\u8BD5\u89E3\u9501\u7801"),d.login_restrict&&v.push("\u8003\u8BD5\u767B\u5F55\u9650\u5236"),d.screen_open&&v.push("\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"),d.ip_bind&&v.push("IP\u5730\u5740\u7ED1\u5B9A"),(d.ip_limit==="pub"||d.ip_limit==="inner")&&v.push("\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP"),d.open_camera&&v.push("\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790"),d.identity_verify&&v.push("\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C"),d.open_phone_video_recording&&v.push("\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"),v.length>0?v.join("\u3001"):""},releaseRuleDataAdjust=d=>{const v=d.reduce((r,i)=>{const l=`${i.publish_time}_${i.end_time}_${i.is_admin}`;return r[l]?(r[l].group_name.push(i.group_name),r[l].group_id.push(i.group_id)):r[l]={publish_time:i.publish_time,end_time:i.end_time,is_admin:i.is_admin,group_name:[i.group_name],group_id:[i.group_id]},r},{});return Object.values(v).map(r=>__spreadProps(__spreadValues({},r),{group_name:r.group_name.flat(),group_id:r.group_id.flat()}))},showInstallWebRtcDoc=()=>new Promise((d,v)=>__async(void 0,null,function*(){const e=yield(0,_utils_fetch__WEBPACK_IMPORTED_MODULE_10__.ZP)("/api/documents/webrtc_content",{method:"get"});antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:"WebRTC\u63D2\u4EF6\u5B89\u88C5\u6559\u7A0B",width:"1000px",centered:!0,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:{maxHeight:"70vh",overflow:"auto"}},react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__.Z,{value:(e==null?void 0:e.data)||""}))}),d(e==null?void 0:e.data)}));function copyToClipboard(d){return navigator.clipboard?navigator.clipboard.writeText(d).then(()=>(console.log("Text copied to clipboard successfully!"),!0)).catch(v=>{throw console.error("Failed to copy text: ",v),v}):new Promise((v,e)=>{const r=document.createElement("textarea");r.value=d,document.body.appendChild(r),r.select();try{const i=document.execCommand("copy");document.body.removeChild(r),i?(console.log("Text copied to clipboard successfully!"),v(!0)):(console.error("Failed to copy text using execCommand."),e(!1))}catch(i){document.body.removeChild(r),console.error("Failed to copy text: ",i),e(i)}})}const isArrayBuffer=d=>Object.prototype.toString.call(d)==="[object ArrayBuffer]",parseArrayBufferAsText=(d,v="utf-8")=>isArrayBuffer(d)?new TextDecoder(v).decode(d):d},4787:function(d,v,e){"use strict";e.d(v,{t:function(){return r}});const r=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;return c.test(l)},i=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/;return c.test(l)}},91231:function(d,v,e){"use strict";e.d(v,{Il:function(){return f},Ov:function(){return o},T$:function(){return u}});var r=e(38127),i=e(59301),l=e(35338),c=["element"],f=i.createContext({});function o(){return i.useContext(f)}function h(){var y=(0,l.TH)(),_=o(),b=_.clientRoutes,A=(0,l.fp)(b,y.pathname);return A||[]}function u(){var y,_=h().slice(-1),b=((y=_[0])===null||y===void 0?void 0:y.route)||{},A=b.element,k=(0,r.Z)(b,c);return k}function a(){var y=h(),_=o(),b=_.serverLoaderData,A=_.basename,k=React.useState(function(){var M={},B=!1;return y.forEach(function(N){var K=b[N.route.id];K&&(Object.assign(M,K),B=!0)}),B?M:void 0}),L=_slicedToArray(k,2),T=L[0],D=L[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(y.filter(function(M){return M.route.hasServerLoader}).map(function(M){return new Promise(function(B){fetchServerLoader({id:M.route.id,basename:A,cb:B})})})).then(function(M){if(M.length){var B={};M.forEach(function(N){Object.assign(B,N)}),D(B)}})},[]),{data:T}}function x(){var y=useRouteData(),_=o();return{data:_.clientLoaderData[y.route.id]}}function p(){var y=a(),_=x();return{data:_objectSpread(_objectSpread({},y.data),_.data)}}},91392:function(d){var v={en_GB:"en-gb",en_US:"en",zh_CN:"zh-cn",zh_TW:"zh-tw"},e=function(i){var l=v[i];return l||i.split("_")[0]};d.exports=function(r,i,l){var c=i.prototype.locale;i.prototype.locale=function(f){return typeof f=="string"&&(f=e(f)),c.call(this,f)}}},92806:function(d,v,e){"use strict";var r=e(41799),i=e(59301),l=e(3113),c=e(67797);function f(h){return!!(h&&h.then)}const o=h=>{const{type:u,children:a,prefixCls:x,buttonProps:p,close:y,autoFocus:_,emitEvent:b,isSilent:A,quitOnNullishReturnValue:k,actionFn:L}=h,T=i.useRef(!1),D=i.useRef(null),[M,B]=(0,r.Z)(!1),N=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let W=null;return _&&(W=setTimeout(()=>{var ne;(ne=D.current)===null||ne===void 0||ne.focus()})),()=>{W&&clearTimeout(W)}},[]);const K=W=>{f(W)&&(B(!0),W.then(function(){B(!1,!0),N.apply(void 0,arguments),T.current=!1},ne=>{if(B(!1,!0),T.current=!1,!(A!=null&&A()))return Promise.reject(ne)}))},G=W=>{if(T.current)return;if(T.current=!0,!L){N();return}let ne;if(b){if(ne=L(W),k&&!f(ne)){T.current=!1,N(W);return}}else if(L.length)ne=L(y),T.current=!1;else if(ne=L(),!ne){N();return}K(ne)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:G,loading:M,prefixCls:x},p,{ref:D}),a)};v.Z=o},53487:function(d,v,e){"use strict";e.d(v,{Z:function(){return o},i:function(){return f}});var r=e(18929),i=e(59301),l=e(92736),c=e(36355);function f(h){return function(a){return i.createElement(l.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},i.createElement(h,Object.assign({},a)))}}function o(h,u,a,x){function p(y){const{prefixCls:_,style:b}=y,A=i.useRef(null),[k,L]=i.useState(0),[T,D]=i.useState(0),[M,B]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:N}=i.useContext(c.E_),K=N(u||"select",_);i.useEffect(()=>{if(B(!0),typeof ResizeObserver!="undefined"){const W=new ResizeObserver(ae=>{const le=ae[0].target;L(le.offsetHeight+8),D(le.offsetWidth)}),ne=setInterval(()=>{var ae;const le=a?`.${a(K)}`:`.${K}-dropdown`,Q=(ae=A.current)===null||ae===void 0?void 0:ae.querySelector(le);Q&&(clearInterval(ne),W.observe(Q))},10);return()=>{clearInterval(ne),W.disconnect()}}},[]);let G=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:M,visible:M,getPopupContainer:()=>A.current});return x&&(G=x(G)),i.createElement("div",{ref:A,style:{paddingBottom:k,position:"relative",minWidth:T}},i.createElement(h,Object.assign({},G)))}return f(p)}},36785:function(d,v,e){"use strict";e.d(v,{o2:function(){return f},yT:function(){return o}});var r=e(15142),i=e(33166);const l=i.i.map(h=>`${h}-inverse`),c=["success","processing","error","default","warning"];function f(h){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,r.Z)(l),(0,r.Z)(i.i)).includes(h):i.i.includes(h)}function o(h){return c.includes(h)}},47729:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(99267),i=e(59301);function l(f,o,h){return typeof f=="boolean"?f:o===void 0?!!h:o!==!1&&o!==null}function c(f,o,h){let u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:i.createElement(r.Z,null),a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!l(f,o,a))return[!1,null];const p=typeof o=="boolean"||o===void 0||o===null?u:o;return[!0,h?h(p):p]}},62892:function(d,v,e){"use strict";e.d(v,{m:function(){return h}});const r=()=>({height:0,opacity:0}),i=u=>{const{scrollHeight:a}=u;return{height:a,opacity:1}},l=u=>({height:u?u.offsetHeight:0}),c=(u,a)=>(a==null?void 0:a.deadline)===!0||a.propertyName==="height",f=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:i,onEnterActive:i,onLeaveStart:l,onLeaveActive:r,onAppearEnd:c,onEnterEnd:c,onLeaveEnd:c,motionDeadline:500}},o=null,h=(u,a,x)=>x!==void 0?x:`${u}-${a}`;v.Z=f},79676:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(19447);function i(h,u,a,x){if(x===!1)return{adjustX:!1,adjustY:!1};const p=x&&typeof x=="object"?x:{},y={};switch(h){case"top":case"bottom":y.shiftX=u.dropdownArrowOffset*2+a;break;case"left":case"right":y.shiftY=u.dropdownArrowOffsetVertical*2+a;break}const _=Object.assign(Object.assign({},y),p);return _.shiftX||(_.adjustX=!0),_.shiftY||(_.adjustY=!0),_}const l={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},c={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},f=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function o(h){const{arrowWidth:u,autoAdjustOverflow:a,arrowPointAtCenter:x,offset:p,borderRadius:y,visibleFirst:_}=h,b=u/2,A={};return Object.keys(l).forEach(k=>{const L=x&&c[k]||l[k],T=Object.assign(Object.assign({},L),{offset:[0,0]});switch(A[k]=T,f.has(k)&&(T.autoArrow=!1),k){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(k){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(k,D,u,a),_&&(T.htmlRegion="visibleFirst")}),A}},92343:function(d,v,e){"use strict";var r;e.d(v,{M2:function(){return c},Tm:function(){return o},l$:function(){return l},wm:function(){return f}});var i=e(59301);const{isValidElement:l}=r||(r=e.t(i,2));function c(h){return h&&l(h)&&h.type===i.Fragment}function f(h,u,a){return l(h)?i.cloneElement(h,typeof a=="function"?a(h.props||{}):a):u}function o(h,u){return f(h,h,u)}},69507:function(d,v,e){"use strict";e.d(v,{ZP:function(){return o},c4:function(){return l},m9:function(){return h}});var r=e(59301),i=e(88088);const l=["xxl","xl","lg","md","sm","xs"],c=u=>({xs:`(max-width: ${u.screenXSMax}px)`,sm:`(min-width: ${u.screenSM}px)`,md:`(min-width: ${u.screenMD}px)`,lg:`(min-width: ${u.screenLG}px)`,xl:`(min-width: ${u.screenXL}px)`,xxl:`(min-width: ${u.screenXXL}px)`}),f=u=>{const a=u,x=[].concat(l).reverse();return x.forEach((p,y)=>{const _=p.toUpperCase(),b=`screen${_}Min`,A=`screen${_}`;if(!(a[b]<=a[A]))throw new Error(`${b}<=${A} fails : !(${a[b]}<=${a[A]})`);if(y<x.length-1){const k=`screen${_}Max`;if(!(a[A]<=a[k]))throw new Error(`${A}<=${k} fails : !(${a[A]}<=${a[k]})`);const T=`screen${x[y+1].toUpperCase()}Min`;if(!(a[k]<=a[T]))throw new Error(`${k}<=${T} fails : !(${a[k]}<=${a[T]})`)}}),u};function o(){const[,u]=(0,i.Z)(),a=c(f(u));return r.useMemo(()=>{const x=new Map;let p=-1,y={};return{matchHandlers:{},dispatch(_){return y=_,x.forEach(b=>b(y)),x.size>=1},subscribe(_){return x.size||this.register(),p+=1,x.set(p,_),_(y),p},unsubscribe(_){x.delete(_),x.size||this.unregister()},unregister(){Object.keys(a).forEach(_=>{const b=a[_],A=this.matchHandlers[b];A==null||A.mql.removeListener(A==null?void 0:A.listener)}),x.clear()},register(){Object.keys(a).forEach(_=>{const b=a[_],A=L=>{let{matches:T}=L;this.dispatch(Object.assign(Object.assign({},y),{[_]:T}))},k=window.matchMedia(b);k.addListener(A),this.matchHandlers[b]={mql:k,listener:A},A(k)})},responsiveMap:a}},[u])}const h=(u,a)=>{if(a&&typeof a=="object")for(let x=0;x<l.length;x++){const p=l[x];if(u[p]&&a[p]!==void 0)return a[p]}}},14088:function(d,v,e){"use strict";e.d(v,{Z:function(){return ne}});var r=e(92310),i=e.n(r),l=e(8654),c=e(29194),f=e(59301),o=e(36355),h=e(92343),u=e(83116);const a=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 A(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 k(ae){return ae&&ae!=="#fff"&&ae!=="#ffffff"&&ae!=="rgb(255, 255, 255)"&&ae!=="rgba(255, 255, 255, 1)"&&A(ae)&&!/rgba\((?:\d*, ){3}0\)/.test(ae)&&ae!=="transparent"}function L(ae){const{borderTopColor:le,borderColor:Q,backgroundColor:J}=getComputedStyle(ae);return k(le)?le:k(Q)?Q:k(J)?J:null}var T=e(4572);function D(ae){return Number.isNaN(ae)?0:ae}const M=ae=>{const{className:le,target:Q,component:J}=ae,V=f.useRef(null),[ue,ee]=f.useState(null),[X,ce]=f.useState([]),[z,$]=f.useState(0),[se,_e]=f.useState(0),[Oe,Le]=f.useState(0),[He,$e]=f.useState(0),[Bt,yt]=f.useState(!1),It={left:z,top:se,width:Oe,height:He,borderRadius:X.map(lr=>`${lr}px`).join(" ")};ue&&(It["--wave-color"]=ue);function rr(){const lr=getComputedStyle(Q);ee(L(Q));const Ve=lr.position==="static",{borderLeftWidth:Ct,borderTopWidth:Ut}=lr;$(Ve?Q.offsetLeft:D(-parseFloat(Ct))),_e(Ve?Q.offsetTop:D(-parseFloat(Ut))),Le(Q.offsetWidth),$e(Q.offsetHeight);const{borderTopLeftRadius:st,borderTopRightRadius:xt,borderBottomLeftRadius:ht,borderBottomRightRadius:rt}=lr;ce([st,xt,rt,ht].map(Ue=>D(parseFloat(Ue))))}if(f.useEffect(()=>{if(Q){const lr=(0,y.Z)(()=>{rr(),yt(!0)});let Ve;return typeof ResizeObserver!="undefined"&&(Ve=new ResizeObserver(rr),Ve.observe(Q)),()=>{y.Z.cancel(lr),Ve==null||Ve.disconnect()}}},[]),!Bt)return null;const Yt=(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:(lr,Ve)=>{var Ct;if(Ve.deadline||Ve.propertyName==="opacity"){const Ut=(Ct=V.current)===null||Ct===void 0?void 0:Ct.parentElement;(0,b.v)(Ut).then(()=>{Ut==null||Ut.remove()})}return!1}},lr=>{let{className:Ve}=lr;return f.createElement("div",{ref:V,className:i()(le,{"wave-quick":Yt},Ve),style:It})})};var N=(ae,le)=>{var Q;const{component:J}=le;if(J==="Checkbox"&&!(!((Q=ae.querySelector("input"))===null||Q===void 0)&&Q.checked))return;const V=document.createElement("div");V.style.position="absolute",V.style.left="0px",V.style.top="0px",ae==null||ae.insertBefore(V,ae==null?void 0:ae.firstChild),(0,b.s)(f.createElement(M,Object.assign({},le,{target:ae})),V)},K=e(88088);function G(ae,le,Q){const{wave:J}=f.useContext(o.E_),[,V,ue]=(0,K.Z)(),ee=(0,p.useEvent)(z=>{const $=ae.current;if(J!=null&&J.disabled||!$)return;const se=$.querySelector(`.${T.A}`)||$,{showEffect:_e}=J||{};(_e||N)(se,{className:le,token:V,component:Q,event:z,hashId:ue})}),X=f.useRef();return z=>{y.Z.cancel(X.current),X.current=(0,y.Z)(()=>{ee(z)})}}var ne=ae=>{const{children:le,disabled:Q,component:J}=ae,{getPrefixCls:V}=(0,f.useContext)(o.E_),ue=(0,f.useRef)(null),ee=V("wave"),[,X]=x(ee),ce=G(ue,i()(ee,X),J);if(f.useEffect(()=>{const $=ue.current;if(!$||$.nodeType!==1||Q)return;const se=_e=>{!(0,c.Z)(_e.target)||!$.getAttribute||$.getAttribute("disabled")||$.disabled||$.className.includes("disabled")||$.className.includes("-leave")||ce(_e)};return $.addEventListener("click",se,!0),()=>{$.removeEventListener("click",se,!0)}},[Q]),!f.isValidElement(le))return le!=null?le:null;const z=(0,l.Yr)(le)?(0,l.sQ)(le.ref,ue):ue;return(0,h.Tm)(le,{ref:z})}},4572:function(d,v,e){"use strict";e.d(v,{A:function(){return r}});const r="ant-wave-target"},67797:function(d,v,e){"use strict";e.d(v,{n:function(){return kt},Z:function(){return qt}});var r=e(59301),i=e(92310),l=e.n(i),c=e(2738),f=e(8654),o=e(14088),h=e(36355),u=e(1684),a=e(19716),x=e(33234),p=e(88088),y=function(Ke,fe){var pe={};for(var Dt in Ke)Object.prototype.hasOwnProperty.call(Ke,Dt)&&fe.indexOf(Dt)<0&&(pe[Dt]=Ke[Dt]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Dt=Object.getOwnPropertySymbols(Ke);De<Dt.length;De++)fe.indexOf(Dt[De])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Dt[De])&&(pe[Dt[De]]=Ke[Dt[De]]);return pe};const _=r.createContext(void 0);var A=Ke=>{const{getPrefixCls:fe,direction:pe}=r.useContext(h.E_),{prefixCls:Dt,size:De,className:ft}=Ke,zt=y(Ke,["prefixCls","size","className"]),Et=fe("btn-group",Dt),[,,Re]=(0,p.Z)();let wt="";switch(De){case"large":wt="lg";break;case"small":wt="sm";break;case"middle":case void 0:break;default:}const xe=l()(Et,{[`${Et}-${wt}`]:wt,[`${Et}-rtl`]:pe==="rtl"},ft,Re);return r.createElement(_.Provider,{value:De},r.createElement("div",Object.assign({},zt,{className:xe})))},k=e(92343);const L=/^[\u4e00-\u9fa5]{2}$/,T=L.test.bind(L);function D(Ke){return typeof Ke=="string"}function M(Ke){return Ke==="text"||Ke==="link"}function B(Ke,fe){if(Ke==null)return;const pe=fe?" ":"";return typeof Ke!="string"&&typeof Ke!="number"&&D(Ke.type)&&T(Ke.props.children)?(0,k.Tm)(Ke,{children:Ke.props.children.split("").join(pe)}):D(Ke)?T(Ke)?r.createElement("span",null,Ke.split("").join(pe)):r.createElement("span",null,Ke):(0,k.M2)(Ke)?r.createElement("span",null,Ke):Ke}function N(Ke,fe){let pe=!1;const Dt=[];return r.Children.forEach(Ke,De=>{const ft=typeof De,zt=ft==="string"||ft==="number";if(pe&&zt){const Et=Dt.length-1,Re=Dt[Et];Dt[Et]=`${Re}${De}`}else Dt.push(De);pe=zt}),r.Children.map(Dt,De=>B(De,fe))}const K=null,G=null,W=null;var ae=(0,r.forwardRef)((Ke,fe)=>{const{className:pe,style:Dt,children:De,prefixCls:ft}=Ke,zt=l()(`${ft}-icon`,pe);return r.createElement("span",{ref:fe,className:zt,style:Dt},De)}),le=e(58617),Q=e(77900);const J=(0,r.forwardRef)((Ke,fe)=>{let{prefixCls:pe,className:Dt,style:De,iconClassName:ft}=Ke;const zt=l()(`${pe}-loading-icon`,Dt);return r.createElement(ae,{prefixCls:pe,className:zt,style:De,ref:fe},r.createElement(le.Z,{className:ft}))}),V=()=>({width:0,opacity:0,transform:"scale(0)"}),ue=Ke=>({width:Ke.scrollWidth,opacity:1,transform:"scale(1)"});var X=Ke=>{const{prefixCls:fe,loading:pe,existIcon:Dt,className:De,style:ft}=Ke,zt=!!pe;return Dt?r.createElement(J,{prefixCls:fe,className:De,style:ft}):r.createElement(Q.default,{visible:zt,motionName:`${fe}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:V,onAppearActive:ue,onEnterStart:V,onEnterActive:ue,onLeaveStart:ue,onLeaveActive:V},(Et,Re)=>{let{className:wt,style:xe}=Et;return r.createElement(J,{prefixCls:fe,className:De,style:Object.assign(Object.assign({},ft),xe),ref:Re,iconClassName:wt})})},ce=e(17313),z=e(37613),$=e(83116);const se=(Ke,fe)=>({[`> span, > ${Ke}`]:{"&:not(:last-child)":{[`&, & > ${Ke}`]:{"&:not(:disabled)":{borderInlineEndColor:fe}}},"&:not(:first-child)":{[`&, & > ${Ke}`]:{"&:not(:disabled)":{borderInlineStartColor:fe}}}}});var Oe=Ke=>{const{componentCls:fe,fontSize:pe,lineWidth:Dt,groupBorderColor:De,colorErrorHover:ft}=Ke;return{[`${fe}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${fe}`]:{"&:not(:last-child)":{[`&, & > ${fe}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Dt,[`&, & > ${fe}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[fe]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${fe}-icon-only`]:{fontSize:pe}},se(`${fe}-primary`,De),se(`${fe}-danger`,ft)]}};const Le=Ke=>{const{componentCls:fe,iconCls:pe,fontWeight:Dt}=Ke;return{[fe]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Dt,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${Ke.lineWidth}px ${Ke.lineType} transparent`,cursor:"pointer",transition:`all ${Ke.motionDurationMid} ${Ke.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:Ke.lineHeight,color:Ke.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${fe}-icon`]:{lineHeight:0},[`> ${pe} + span, > span + ${pe}`]:{marginInlineStart:Ke.marginXS},[`&:not(${fe}-icon-only) > ${fe}-icon`]:{[`&${fe}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:Ke.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,ce.Qy)(Ke)),[`&-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:-Ke.lineWidth,insetInlineStart:-Ke.lineWidth,display:"inline-block",width:Ke.lineWidth,height:`calc(100% + ${Ke.lineWidth*2}px)`,backgroundColor:Ke.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-vertical-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Ke.lineWidth,insetInlineStart:-Ke.lineWidth,display:"inline-block",width:`calc(100% + ${Ke.lineWidth*2}px)`,height:Ke.lineWidth,backgroundColor:Ke.colorPrimaryHover,content:'""'}}}}}}},He=(Ke,fe,pe)=>({[`&:not(:disabled):not(${Ke}-disabled)`]:{"&:hover":fe,"&:active":pe}}),$e=Ke=>({minWidth:Ke.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Bt=Ke=>({borderRadius:Ke.controlHeight,paddingInlineStart:Ke.controlHeight/2,paddingInlineEnd:Ke.controlHeight/2}),yt=Ke=>({cursor:"not-allowed",borderColor:Ke.borderColorDisabled,color:Ke.colorTextDisabled,backgroundColor:Ke.colorBgContainerDisabled,boxShadow:"none"}),It=(Ke,fe,pe,Dt,De,ft,zt,Et)=>({[`&${Ke}-background-ghost`]:Object.assign(Object.assign({color:pe||void 0,backgroundColor:fe,borderColor:Dt||void 0,boxShadow:"none"},He(Ke,Object.assign({backgroundColor:fe},zt),Object.assign({backgroundColor:fe},Et))),{"&:disabled":{cursor:"not-allowed",color:De||void 0,borderColor:ft||void 0}})}),rr=Ke=>({[`&:disabled, &${Ke.componentCls}-disabled`]:Object.assign({},yt(Ke))}),Yt=Ke=>Object.assign({},rr(Ke)),lr=Ke=>({[`&:disabled, &${Ke.componentCls}-disabled`]:{cursor:"not-allowed",color:Ke.colorTextDisabled}}),Ve=Ke=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Yt(Ke)),{backgroundColor:Ke.defaultBg,borderColor:Ke.defaultBorderColor,color:Ke.defaultColor,boxShadow:Ke.defaultShadow}),He(Ke.componentCls,{color:Ke.colorPrimaryHover,borderColor:Ke.colorPrimaryHover},{color:Ke.colorPrimaryActive,borderColor:Ke.colorPrimaryActive})),It(Ke.componentCls,Ke.ghostBg,Ke.defaultGhostColor,Ke.defaultGhostBorderColor,Ke.colorTextDisabled,Ke.colorBorder)),{[`&${Ke.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:Ke.colorError,borderColor:Ke.colorError},He(Ke.componentCls,{color:Ke.colorErrorHover,borderColor:Ke.colorErrorBorderHover},{color:Ke.colorErrorActive,borderColor:Ke.colorErrorActive})),It(Ke.componentCls,Ke.ghostBg,Ke.colorError,Ke.colorError,Ke.colorTextDisabled,Ke.colorBorder)),rr(Ke))}),Ct=Ke=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Yt(Ke)),{color:Ke.primaryColor,backgroundColor:Ke.colorPrimary,boxShadow:Ke.primaryShadow}),He(Ke.componentCls,{color:Ke.colorTextLightSolid,backgroundColor:Ke.colorPrimaryHover},{color:Ke.colorTextLightSolid,backgroundColor:Ke.colorPrimaryActive})),It(Ke.componentCls,Ke.ghostBg,Ke.colorPrimary,Ke.colorPrimary,Ke.colorTextDisabled,Ke.colorBorder,{color:Ke.colorPrimaryHover,borderColor:Ke.colorPrimaryHover},{color:Ke.colorPrimaryActive,borderColor:Ke.colorPrimaryActive})),{[`&${Ke.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:Ke.colorError,boxShadow:Ke.dangerShadow,color:Ke.dangerColor},He(Ke.componentCls,{backgroundColor:Ke.colorErrorHover},{backgroundColor:Ke.colorErrorActive})),It(Ke.componentCls,Ke.ghostBg,Ke.colorError,Ke.colorError,Ke.colorTextDisabled,Ke.colorBorder,{color:Ke.colorErrorHover,borderColor:Ke.colorErrorHover},{color:Ke.colorErrorActive,borderColor:Ke.colorErrorActive})),rr(Ke))}),Ut=Ke=>Object.assign(Object.assign({},Ve(Ke)),{borderStyle:"dashed"}),st=Ke=>Object.assign(Object.assign(Object.assign({color:Ke.colorLink},He(Ke.componentCls,{color:Ke.colorLinkHover,backgroundColor:Ke.linkHoverBg},{color:Ke.colorLinkActive})),lr(Ke)),{[`&${Ke.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ke.colorError},He(Ke.componentCls,{color:Ke.colorErrorHover},{color:Ke.colorErrorActive})),lr(Ke))}),xt=Ke=>Object.assign(Object.assign(Object.assign({},He(Ke.componentCls,{color:Ke.colorText,backgroundColor:Ke.textHoverBg},{color:Ke.colorText,backgroundColor:Ke.colorBgTextActive})),lr(Ke)),{[`&${Ke.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ke.colorError},lr(Ke)),He(Ke.componentCls,{color:Ke.colorErrorHover,backgroundColor:Ke.colorErrorBg},{color:Ke.colorErrorHover,backgroundColor:Ke.colorErrorBg}))}),ht=Ke=>{const{componentCls:fe}=Ke;return{[`${fe}-default`]:Ve(Ke),[`${fe}-primary`]:Ct(Ke),[`${fe}-dashed`]:Ut(Ke),[`${fe}-link`]:st(Ke),[`${fe}-text`]:xt(Ke),[`${fe}-ghost`]:It(Ke.componentCls,Ke.ghostBg,Ke.colorBgContainer,Ke.colorBgContainer,Ke.colorTextDisabled,Ke.colorBorder)}},rt=function(Ke){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:pe,controlHeight:Dt,fontSize:De,lineHeight:ft,lineWidth:zt,borderRadius:Et,buttonPaddingHorizontal:Re,iconCls:wt}=Ke,xe=Math.max(0,(Dt-De*ft)/2-zt),qe=`${pe}-icon-only`;return[{[`${pe}${fe}`]:{fontSize:De,height:Dt,padding:`${xe}px ${Re}px`,borderRadius:Et,[`&${qe}`]:{width:Dt,paddingInlineStart:0,paddingInlineEnd:0,[`&${pe}-round`]:{width:"auto"},[wt]:{fontSize:Ke.buttonIconOnlyFontSize}},[`&${pe}-loading`]:{opacity:Ke.opacityLoading,cursor:"default"},[`${pe}-loading-icon`]:{transition:`width ${Ke.motionDurationSlow} ${Ke.motionEaseInOut}, opacity ${Ke.motionDurationSlow} ${Ke.motionEaseInOut}`}}},{[`${pe}${pe}-circle${fe}`]:$e(Ke)},{[`${pe}${pe}-round${fe}`]:Bt(Ke)}]},Ue=Ke=>rt((0,z.TS)(Ke,{fontSize:Ke.contentFontSize})),ye=Ke=>{const fe=(0,z.TS)(Ke,{controlHeight:Ke.controlHeightSM,fontSize:Ke.contentFontSizeSM,padding:Ke.paddingXS,buttonPaddingHorizontal:Ke.paddingInlineSM,borderRadius:Ke.borderRadiusSM,buttonIconOnlyFontSize:Ke.onlyIconSizeSM});return rt(fe,`${Ke.componentCls}-sm`)},Ce=Ke=>{const fe=(0,z.TS)(Ke,{controlHeight:Ke.controlHeightLG,fontSize:Ke.contentFontSizeLG,buttonPaddingHorizontal:Ke.paddingInlineLG,borderRadius:Ke.borderRadiusLG,buttonIconOnlyFontSize:Ke.onlyIconSizeLG});return rt(fe,`${Ke.componentCls}-lg`)},Fe=Ke=>{const{componentCls:fe}=Ke;return{[fe]:{[`&${fe}-block`]:{width:"100%"}}}},je=Ke=>{const{paddingInline:fe,onlyIconSize:pe}=Ke;return(0,z.TS)(Ke,{buttonPaddingHorizontal:fe,buttonIconOnlyFontSize:pe})},Ge=Ke=>({fontWeight:400,defaultShadow:`0 ${Ke.controlOutlineWidth}px 0 ${Ke.controlTmpOutline}`,primaryShadow:`0 ${Ke.controlOutlineWidth}px 0 ${Ke.controlOutline}`,dangerShadow:`0 ${Ke.controlOutlineWidth}px 0 ${Ke.colorErrorOutline}`,primaryColor:Ke.colorTextLightSolid,dangerColor:Ke.colorTextLightSolid,borderColorDisabled:Ke.colorBorder,defaultGhostColor:Ke.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:Ke.colorBgContainer,paddingInline:Ke.paddingContentHorizontal-Ke.lineWidth,paddingInlineLG:Ke.paddingContentHorizontal-Ke.lineWidth,paddingInlineSM:8-Ke.lineWidth,onlyIconSize:Ke.fontSizeLG,onlyIconSizeSM:Ke.fontSizeLG-2,onlyIconSizeLG:Ke.fontSizeLG+2,groupBorderColor:Ke.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:Ke.colorBgTextHover,defaultColor:Ke.colorText,defaultBg:Ke.colorBgContainer,defaultBorderColor:Ke.colorBorder,defaultBorderColorDisabled:Ke.colorBorder,contentFontSize:Ke.fontSize,contentFontSizeSM:Ke.fontSize,contentFontSizeLG:Ke.fontSizeLG});var it=(0,$.Z)("Button",Ke=>{const fe=je(Ke);return[Le(fe),ye(fe),Ue(fe),Ce(fe),Fe(fe),ht(fe),Oe(fe)]},Ge),ct=e(74207);function Gt(Ke,fe){return{[`&-item:not(${fe}-last-item)`]:{marginBottom:-Ke.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Ht(Ke,fe){return{[`&-item:not(${fe}-first-item):not(${fe}-last-item)`]:{borderRadius:0},[`&-item${fe}-first-item:not(${fe}-last-item)`]:{[`&, &${Ke}-sm, &${Ke}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${fe}-last-item:not(${fe}-first-item)`]:{[`&, &${Ke}-sm, &${Ke}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Pe(Ke){const fe=`${Ke.componentCls}-compact-vertical`;return{[fe]:Object.assign(Object.assign({},Gt(Ke,fe)),Ht(Ke.componentCls,fe))}}var tt=(0,$.b)(["Button","compact"],Ke=>{const fe=je(Ke);return[(0,ct.c)(fe),Pe(fe)]},Ge),Vt=function(Ke,fe){var pe={};for(var Dt in Ke)Object.prototype.hasOwnProperty.call(Ke,Dt)&&fe.indexOf(Dt)<0&&(pe[Dt]=Ke[Dt]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Dt=Object.getOwnPropertySymbols(Ke);De<Dt.length;De++)fe.indexOf(Dt[De])<0&&Object.prototype.propertyIsEnumerable.call(Ke,Dt[De])&&(pe[Dt[De]]=Ke[Dt[De]]);return pe};function kt(Ke){return Ke==="danger"?{danger:!0}:{type:Ke}}function Zt(Ke){if(typeof Ke=="object"&&Ke){const fe=Ke==null?void 0:Ke.delay;return{loading:!1,delay:!Number.isNaN(fe)&&typeof fe=="number"?fe:0}}return{loading:!!Ke,delay:0}}const Nt=(Ke,fe)=>{var pe,Dt;const{loading:De=!1,prefixCls:ft,type:zt="default",danger:Et,shape:Re="default",size:wt,styles:xe,disabled:qe,className:vt,rootClassName:Ft,children:Be,icon:Pr,ghost:St=!1,block:Zr=!1,htmlType:Vr="button",classNames:xr,style:Br={}}=Ke,pr=Vt(Ke,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:$r,autoInsertSpaceInButton:en,direction:an,button:sr}=(0,r.useContext)(h.E_),Rt=$r("btn",ft),[mt,gt]=it(Rt),$t=(0,r.useContext)(u.Z),Er=qe!=null?qe:$t,vr=(0,r.useContext)(_),ot=(0,r.useMemo)(()=>Zt(De),[De]),[Mr,dn]=(0,r.useState)(ot.loading),[jn,_r]=(0,r.useState)(!1),qr=(0,r.createRef)(),ln=(0,f.sQ)(fe,qr),Ln=r.Children.count(Be)===1&&!Pr&&!M(zt);(0,r.useEffect)(()=>{let di=null;ot.delay>0?di=setTimeout(()=>{di=null,dn(!0)},ot.delay):dn(ot.loading);function Ti(){di&&(clearTimeout(di),di=null)}return Ti},[ot]),(0,r.useEffect)(()=>{if(!ln||!ln.current||en===!1)return;const di=ln.current.textContent;Ln&&T(di)?jn||_r(!0):jn&&_r(!1)},[ln]);const Vn=di=>{const{onClick:Ti}=Ke;if(Mr||Er){di.preventDefault();return}Ti==null||Ti(di)},Bn=en!==!1,{compactSize:Ui,compactItemClassnames:pi}=(0,x.ri)(Rt,an),bi={large:"lg",small:"sm",middle:void 0},_i=(0,a.Z)(di=>{var Ti,Yn;return(Yn=(Ti=wt!=null?wt:Ui)!==null&&Ti!==void 0?Ti:vr)!==null&&Yn!==void 0?Yn:di}),li=_i&&bi[_i]||"",Ki=Mr?"loading":Pr,Zn=(0,c.Z)(pr,["navigate"]),Gi=l()(Rt,gt,{[`${Rt}-${Re}`]:Re!=="default"&&Re,[`${Rt}-${zt}`]:zt,[`${Rt}-${li}`]:li,[`${Rt}-icon-only`]:!Be&&Be!==0&&!!Ki,[`${Rt}-background-ghost`]:St&&!M(zt),[`${Rt}-loading`]:Mr,[`${Rt}-two-chinese-chars`]:jn&&Bn&&!Mr,[`${Rt}-block`]:Zr,[`${Rt}-dangerous`]:!!Et,[`${Rt}-rtl`]:an==="rtl"},pi,vt,Ft,sr==null?void 0:sr.className),ui=Object.assign(Object.assign({},sr==null?void 0:sr.style),Br),we=l()(xr==null?void 0:xr.icon,(pe=sr==null?void 0:sr.classNames)===null||pe===void 0?void 0:pe.icon),Nn=Object.assign(Object.assign({},(xe==null?void 0:xe.icon)||{}),((Dt=sr==null?void 0:sr.styles)===null||Dt===void 0?void 0:Dt.icon)||{}),qn=Pr&&!Mr?r.createElement(ae,{prefixCls:Rt,className:we,style:Nn},Pr):r.createElement(X,{existIcon:!!Pr,prefixCls:Rt,loading:!!Mr}),Wn=Be||Be===0?N(Be,Ln&&Bn):null;if(Zn.href!==void 0)return mt(r.createElement("a",Object.assign({},Zn,{className:l()(Gi,{[`${Rt}-disabled`]:Er}),style:ui,onClick:Vn,ref:ln}),qn,Wn));let zi=r.createElement("button",Object.assign({},pr,{type:Vr,className:Gi,style:ui,onClick:Vn,disabled:Er,ref:ln}),qn,Wn,pi&&r.createElement(tt,{key:"compact",prefixCls:Rt}));return M(zt)||(zi=r.createElement(o.Z,{component:"Button",disabled:!!Mr},zi)),mt(zi)},At=(0,r.forwardRef)(Nt);At.Group=A,At.__ANT_BUTTON=!0;var qt=At},3113:function(d,v,e){"use strict";var r=e(67797);v.ZP=r.Z},43604:function(d,v,e){"use strict";var r=e(37028);v.Z=r.Z},1684:function(d,v,e){"use strict";e.d(v,{n:function(){return l}});var r=e(59301);const i=r.createContext(!1),l=c=>{let{children:f,disabled:o}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:o!=null?o:h},f)};v.Z=i},52946:function(d,v,e){"use strict";e.d(v,{q:function(){return l}});var r=e(59301);const i=r.createContext(void 0),l=c=>{let{children:f,size:o}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:o||h},f)};v.Z=i},36355:function(d,v,e){"use strict";e.d(v,{E_:function(){return c},oR:function(){return i}});var r=e(59301);const i="anticon",l=(o,h)=>h||(o?`ant-${o}`:"ant"),c=r.createContext({getPrefixCls:l,iconPrefixCls:i}),{Consumer:f}=c},19716:function(d,v,e){"use strict";var r=e(59301),i=e(52946);const l=c=>{const f=r.useContext(i.Z);return r.useMemo(()=>c?typeof c=="string"?c!=null?c:f:c instanceof Function?c(f):f:f,[c,f])};v.Z=l},92736:function(d,v,e){"use strict";e.d(v,{ZP:function(){return lr},w6:function(){return It}});var r=e(36237),i=e(18418),l=e(80547),c=e(24434),f=e(59301),o=e(28726),h=e(98044),u=e(41887);const a="internalMark";var p=Ve=>{const{locale:Ct={},children:Ut,_ANT_MARK__:st}=Ve;f.useEffect(()=>(0,h.f)(Ct&&Ct.Modal),[Ct]);const xt=f.useMemo(()=>Object.assign(Object.assign({},Ct),{exist:!0}),[Ct]);return f.createElement(u.Z.Provider,{value:xt},Ut)},y=e(31724),_=e(45246),b=e(34117),A=e(36355),k=e(30071),L=e(64993),T=e(47273),D=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function B(Ve,Ct){const Ut={},st=(rt,Ue)=>{let ye=rt.clone();return ye=(Ue==null?void 0:Ue(ye))||ye,ye.toRgbString()},xt=(rt,Ue)=>{const ye=new L.C(rt),Ce=(0,k.generate)(ye.toRgbString());Ut[`${Ue}-color`]=st(ye),Ut[`${Ue}-color-disabled`]=Ce[1],Ut[`${Ue}-color-hover`]=Ce[4],Ut[`${Ue}-color-active`]=Ce[6],Ut[`${Ue}-color-outline`]=ye.clone().setAlpha(.2).toRgbString(),Ut[`${Ue}-color-deprecated-bg`]=Ce[0],Ut[`${Ue}-color-deprecated-border`]=Ce[2]};if(Ct.primaryColor){xt(Ct.primaryColor,"primary");const rt=new L.C(Ct.primaryColor),Ue=(0,k.generate)(rt.toRgbString());Ue.forEach((Ce,Fe)=>{Ut[`primary-${Fe+1}`]=Ce}),Ut["primary-color-deprecated-l-35"]=st(rt,Ce=>Ce.lighten(35)),Ut["primary-color-deprecated-l-20"]=st(rt,Ce=>Ce.lighten(20)),Ut["primary-color-deprecated-t-20"]=st(rt,Ce=>Ce.tint(20)),Ut["primary-color-deprecated-t-50"]=st(rt,Ce=>Ce.tint(50)),Ut["primary-color-deprecated-f-12"]=st(rt,Ce=>Ce.setAlpha(Ce.getAlpha()*.12));const ye=new L.C(Ue[0]);Ut["primary-color-active-deprecated-f-30"]=st(ye,Ce=>Ce.setAlpha(Ce.getAlpha()*.3)),Ut["primary-color-active-deprecated-d-02"]=st(ye,Ce=>Ce.darken(2))}return Ct.successColor&&xt(Ct.successColor,"success"),Ct.warningColor&&xt(Ct.warningColor,"warning"),Ct.errorColor&&xt(Ct.errorColor,"error"),Ct.infoColor&&xt(Ct.infoColor,"info"),`
:root {
${Object.keys(Ut).map(rt=>`--${Ve}-${rt}: ${Ut[rt]};`).join(`
`)}
}
`.trim()}function N(Ve,Ct){const Ut=B(Ve,Ct);(0,T.Z)()&&(0,D.hq)(Ut,`${M}-dynamic-theme`)}var K=e(1684),G=e(52946);function W(){const Ve=(0,f.useContext)(K.Z),Ct=(0,f.useContext)(G.Z);return{componentDisabled:Ve,componentSize:Ct}}var ne=W,ae=e(13697);function le(Ve,Ct){const Ut=Ve||{},st=Ut.inherit===!1||!Ct?_.u_:Ct;return(0,l.Z)(()=>{if(!Ve)return Ct;const xt=Object.assign({},st.components);return Object.keys(Ve.components||{}).forEach(ht=>{xt[ht]=Object.assign(Object.assign({},xt[ht]),Ve.components[ht])}),Object.assign(Object.assign(Object.assign({},st),Ut),{token:Object.assign(Object.assign({},st.token),Ut.token),components:xt})},[Ut,st],(xt,ht)=>xt.some((rt,Ue)=>{const ye=ht[Ue];return!(0,ae.Z)(rt,ye,!0)}))}var Q=e(77900),J=e(88088);function V(Ve){const{children:Ct}=Ve,[,Ut]=(0,J.Z)(),{motion:st}=Ut,xt=f.useRef(!1);return xt.current=xt.current||st===!1,xt.current?f.createElement(Q.Provider,{motion:st},Ct):Ct}var ue=e(73040),ee=function(Ve,Ct){var Ut={};for(var st in Ve)Object.prototype.hasOwnProperty.call(Ve,st)&&Ct.indexOf(st)<0&&(Ut[st]=Ve[st]);if(Ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,st=Object.getOwnPropertySymbols(Ve);xt<st.length;xt++)Ct.indexOf(st[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ve,st[xt])&&(Ut[st[xt]]=Ve[st[xt]]);return Ut};let X=!1;const ce=null,z=null,$=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],se="ant";let _e,Oe,Le;function He(){return _e||se}function $e(){return Oe||A.oR}function Bt(Ve){return Object.keys(Ve).some(Ct=>Ct.endsWith("Color"))}const yt=Ve=>{let{prefixCls:Ct,iconPrefixCls:Ut,theme:st}=Ve;Ct!==void 0&&(_e=Ct),Ut!==void 0&&(Oe=Ut),st&&(Bt(st)?N(He(),st):Le=st)},It=()=>({getPrefixCls:(Ve,Ct)=>Ct||(Ve?`${He()}-${Ve}`:He()),getIconPrefixCls:$e,getRootPrefixCls:()=>_e||He(),getTheme:()=>Le}),rr=Ve=>{const{children:Ct,csp:Ut,autoInsertSpaceInButton:st,alert:xt,anchor:ht,form:rt,locale:Ue,componentSize:ye,direction:Ce,space:Fe,virtual:je,dropdownMatchSelectWidth:Ge,popupMatchSelectWidth:it,popupOverflow:ct,legacyLocale:Gt,parentContext:Ht,iconPrefixCls:Pe,theme:tt,componentDisabled:Vt,segmented:kt,statistic:Zt,spin:Nt,calendar:At,carousel:qt,cascader:Ke,collapse:fe,typography:pe,checkbox:Dt,descriptions:De,divider:ft,drawer:zt,skeleton:Et,steps:Re,image:wt,layout:xe,list:qe,mentions:vt,modal:Ft,progress:Be,result:Pr,slider:St,breadcrumb:Zr,menu:Vr,pagination:xr,input:Br,empty:pr,badge:$r,radio:en,rate:an,switch:sr,transfer:Rt,avatar:mt,message:gt,tag:$t,table:Er,card:vr,tabs:ot,timeline:Mr,timePicker:dn,upload:jn,notification:_r,tree:qr,colorPicker:ln,datePicker:Ln,wave:Vn}=Ve,Bn=f.useCallback((Wn,zi)=>{const{prefixCls:di}=Ve;if(zi)return zi;const Ti=di||Ht.getPrefixCls("");return Wn?`${Ti}-${Wn}`:Ti},[Ht.getPrefixCls,Ve.prefixCls]),Ui=Pe||Ht.iconPrefixCls||A.oR,pi=Ui!==Ht.iconPrefixCls,bi=Ut||Ht.csp,_i=(0,ue.Z)(Ui,bi),li=le(tt,Ht.theme),Ki={csp:bi,autoInsertSpaceInButton:st,alert:xt,anchor:ht,locale:Ue||Gt,direction:Ce,space:Fe,virtual:je,popupMatchSelectWidth:it!=null?it:Ge,popupOverflow:ct,getPrefixCls:Bn,iconPrefixCls:Ui,theme:li,segmented:kt,statistic:Zt,spin:Nt,calendar:At,carousel:qt,cascader:Ke,collapse:fe,typography:pe,checkbox:Dt,descriptions:De,divider:ft,drawer:zt,skeleton:Et,steps:Re,image:wt,input:Br,layout:xe,list:qe,mentions:vt,modal:Ft,progress:Be,result:Pr,slider:St,breadcrumb:Zr,menu:Vr,pagination:xr,empty:pr,badge:$r,radio:en,rate:an,switch:sr,transfer:Rt,avatar:mt,message:gt,tag:$t,table:Er,card:vr,tabs:ot,timeline:Mr,timePicker:dn,upload:jn,notification:_r,tree:qr,colorPicker:ln,datePicker:Ln,wave:Vn},Zn=Object.assign({},Ht);Object.keys(Ki).forEach(Wn=>{Ki[Wn]!==void 0&&(Zn[Wn]=Ki[Wn])}),$.forEach(Wn=>{const zi=Ve[Wn];zi&&(Zn[Wn]=zi)});const Gi=(0,l.Z)(()=>Zn,Zn,(Wn,zi)=>{const di=Object.keys(Wn),Ti=Object.keys(zi);return di.length!==Ti.length||di.some(Yn=>Wn[Yn]!==zi[Yn])}),ui=f.useMemo(()=>({prefixCls:Ui,csp:bi}),[Ui,bi]);let we=pi?_i(Ct):Ct;const Nn=f.useMemo(()=>{var Wn,zi,di,Ti;return(0,c.T)(((Wn=y.Z.Form)===null||Wn===void 0?void 0:Wn.defaultValidateMessages)||{},((di=(zi=Gi.locale)===null||zi===void 0?void 0:zi.Form)===null||di===void 0?void 0:di.defaultValidateMessages)||{},((Ti=Gi.form)===null||Ti===void 0?void 0:Ti.validateMessages)||{},(rt==null?void 0:rt.validateMessages)||{})},[Gi,rt==null?void 0:rt.validateMessages]);Object.keys(Nn).length>0&&(we=f.createElement(o.Z.Provider,{value:Nn},Ct)),Ue&&(we=f.createElement(p,{locale:Ue,_ANT_MARK__:a},we)),(Ui||bi)&&(we=f.createElement(i.Z.Provider,{value:ui},we)),ye&&(we=f.createElement(G.q,{size:ye},we)),we=f.createElement(V,null,we);const qn=f.useMemo(()=>{const Wn=li||{},{algorithm:zi,token:di,components:Ti}=Wn,Yn=ee(Wn,["algorithm","token","components"]),Jt=zi&&(!Array.isArray(zi)||zi.length>0)?(0,r.createTheme)(zi):_.uH,pt={};return Object.entries(Ti||{}).forEach(nt=>{let[Ot,dt]=nt;const or=Object.assign({},dt);"algorithm"in or&&(or.algorithm===!0?or.theme=Jt:(Array.isArray(or.algorithm)||typeof or.algorithm=="function")&&(or.theme=(0,r.createTheme)(or.algorithm)),delete or.algorithm),pt[Ot]=or}),Object.assign(Object.assign({},Yn),{theme:Jt,token:Object.assign(Object.assign({},b.Z),di),components:pt})},[li]);return tt&&(we=f.createElement(_.Mj.Provider,{value:qn},we)),Vt!==void 0&&(we=f.createElement(K.n,{disabled:Vt},we)),f.createElement(A.E_.Provider,{value:Gi},we)},Yt=Ve=>{const Ct=f.useContext(A.E_),Ut=f.useContext(u.Z);return f.createElement(rr,Object.assign({parentContext:Ct,legacyLocale:Ut},Ve))};Yt.ConfigContext=A.E_,Yt.SizeContext=G.Z,Yt.config=yt,Yt.useConfig=ne,Object.defineProperty(Yt,"SizeContext",{get:()=>G.Z});var lr=Yt},48183:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i=r,l=e(67532),f={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},i),timePickerLocale:Object.assign({},l.Z)}},32441:function(d,v,e){"use strict";e.d(v,{RV:function(){return o},Rk:function(){return h},Ux:function(){return a},aM:function(){return u},q3:function(){return c},qI:function(){return f}});var r=e(59301),i=e(95013),l=e(2738);const c=r.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),f=r.createContext(null),o=x=>{const p=(0,l.Z)(x,["prefixCls"]);return r.createElement(i.FormProvider,Object.assign({},p))},h=r.createContext({prefixCls:""}),u=r.createContext({}),a=x=>{let{children:p,status:y,override:_}=x;const b=(0,r.useContext)(u),A=(0,r.useMemo)(()=>{const k=Object.assign({},b);return _&&delete k.isFormItemInput,y&&(delete k.status,delete k.hasFeedback,delete k.feedbackIcon),k},[y,_,b]);return r.createElement(u.Provider,{value:A},p)}},28726:function(d,v,e){"use strict";var r=e(59301);v.Z=(0,r.createContext)(void 0)},6700:function(d,v,e){"use strict";var r=e(59301);const i=(0,r.createContext)({});v.Z=i},37028:function(d,v,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(36355),f=e(6700),o=e(98242),h=function(p,y){var _={};for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&y.indexOf(b)<0&&(_[b]=p[b]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,b=Object.getOwnPropertySymbols(p);A<b.length;A++)y.indexOf(b[A])<0&&Object.prototype.propertyIsEnumerable.call(p,b[A])&&(_[b[A]]=p[b[A]]);return _};function u(p){return typeof p=="number"?`${p} ${p} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(p)?`0 0 ${p}`:p}const a=["xs","sm","md","lg","xl","xxl"],x=r.forwardRef((p,y)=>{const{getPrefixCls:_,direction:b}=r.useContext(c.E_),{gutter:A,wrap:k}=r.useContext(f.Z),{prefixCls:L,span:T,order:D,offset:M,push:B,pull:N,className:K,children:G,flex:W,style:ne}=p,ae=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),le=_("col",L),[Q,J]=(0,o.c)(le);let V={};a.forEach(X=>{let ce={};const z=p[X];typeof z=="number"?ce.span=z:typeof z=="object"&&(ce=z||{}),delete ae[X],V=Object.assign(Object.assign({},V),{[`${le}-${X}-${ce.span}`]:ce.span!==void 0,[`${le}-${X}-order-${ce.order}`]:ce.order||ce.order===0,[`${le}-${X}-offset-${ce.offset}`]:ce.offset||ce.offset===0,[`${le}-${X}-push-${ce.push}`]:ce.push||ce.push===0,[`${le}-${X}-pull-${ce.pull}`]:ce.pull||ce.pull===0,[`${le}-${X}-flex-${ce.flex}`]:ce.flex||ce.flex==="auto",[`${le}-rtl`]:b==="rtl"})});const ue=l()(le,{[`${le}-${T}`]:T!==void 0,[`${le}-order-${D}`]:D,[`${le}-offset-${M}`]:M,[`${le}-push-${B}`]:B,[`${le}-pull-${N}`]:N},K,V,J),ee={};if(A&&A[0]>0){const X=A[0]/2;ee.paddingLeft=X,ee.paddingRight=X}return W&&(ee.flex=u(W),k===!1&&!ee.minWidth&&(ee.minWidth=0)),Q(r.createElement("div",Object.assign({},ae,{style:Object.assign(Object.assign({},ee),ne),className:ue,ref:y}),G))});v.Z=x},27382:function(d,v,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(69507),f=e(36355),o=e(6700),h=e(98242),u=function(_,b){var A={};for(var k in _)Object.prototype.hasOwnProperty.call(_,k)&&b.indexOf(k)<0&&(A[k]=_[k]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,k=Object.getOwnPropertySymbols(_);L<k.length;L++)b.indexOf(k[L])<0&&Object.prototype.propertyIsEnumerable.call(_,k[L])&&(A[k[L]]=_[k[L]]);return A};const a=null,x=null;function p(_,b){const[A,k]=r.useState(typeof _=="string"?_:""),L=()=>{if(typeof _=="string"&&k(_),typeof _=="object")for(let T=0;T<c.c4.length;T++){const D=c.c4[T];if(!b[D])continue;const M=_[D];if(M!==void 0){k(M);return}}};return r.useEffect(()=>{L()},[JSON.stringify(_),b]),A}const y=r.forwardRef((_,b)=>{const{prefixCls:A,justify:k,align:L,className:T,style:D,children:M,gutter:B=0,wrap:N}=_,K=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:G,direction:W}=r.useContext(f.E_),[ne,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),V=p(k,le),ue=r.useRef(B),ee=(0,c.ZP)();r.useEffect(()=>{const yt=ee.subscribe(It=>{Q(It);const rr=ue.current||0;(!Array.isArray(rr)&&typeof rr=="object"||Array.isArray(rr)&&(typeof rr[0]=="object"||typeof rr[1]=="object"))&&ae(It)});return()=>ee.unsubscribe(yt)},[]);const X=()=>{const yt=[void 0,void 0];return(Array.isArray(B)?B:[B,void 0]).forEach((rr,Yt)=>{if(typeof rr=="object")for(let lr=0;lr<c.c4.length;lr++){const Ve=c.c4[lr];if(ne[Ve]&&rr[Ve]!==void 0){yt[Yt]=rr[Ve];break}}else yt[Yt]=rr}),yt},ce=G("row",A),[z,$]=(0,h.V)(ce),se=X(),_e=l()(ce,{[`${ce}-no-wrap`]:N===!1,[`${ce}-${V}`]:V,[`${ce}-${J}`]:J,[`${ce}-rtl`]:W==="rtl"},T,$),Oe={},Le=se[0]!=null&&se[0]>0?se[0]/-2:void 0;Le&&(Oe.marginLeft=Le,Oe.marginRight=Le),[,Oe.rowGap]=se;const[He,$e]=se,Bt=r.useMemo(()=>({gutter:[He,$e],wrap:N}),[He,$e,N]);return z(r.createElement(o.Z.Provider,{value:Bt},r.createElement("div",Object.assign({},K,{className:_e,style:Object.assign(Object.assign({},Oe),D),ref:b}),M)))});v.Z=y},98242:function(d,v,e){"use strict";e.d(v,{V:function(){return u},c:function(){return a}});var r=e(83116),i=e(37613);const l=x=>{const{componentCls:p}=x;return{[p]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},c=x=>{const{componentCls:p}=x;return{[p]:{position:"relative",maxWidth:"100%",minHeight:1}}},f=(x,p)=>{const{componentCls:y,gridColumns:_}=x,b={};for(let A=_;A>=0;A--)A===0?(b[`${y}${p}-${A}`]={display:"none"},b[`${y}-push-${A}`]={insetInlineStart:"auto"},b[`${y}-pull-${A}`]={insetInlineEnd:"auto"},b[`${y}${p}-push-${A}`]={insetInlineStart:"auto"},b[`${y}${p}-pull-${A}`]={insetInlineEnd:"auto"},b[`${y}${p}-offset-${A}`]={marginInlineStart:0},b[`${y}${p}-order-${A}`]={order:0}):(b[`${y}${p}-${A}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${A/_*100}%`,maxWidth:`${A/_*100}%`}],b[`${y}${p}-push-${A}`]={insetInlineStart:`${A/_*100}%`},b[`${y}${p}-pull-${A}`]={insetInlineEnd:`${A/_*100}%`},b[`${y}${p}-offset-${A}`]={marginInlineStart:`${A/_*100}%`},b[`${y}${p}-order-${A}`]={order:A});return b},o=(x,p)=>f(x,p),h=(x,p,y)=>({[`@media (min-width: ${p}px)`]:Object.assign({},o(x,y))}),u=(0,r.Z)("Grid",x=>[l(x)]),a=(0,r.Z)("Grid",x=>{const p=(0,i.TS)(x,{gridColumns:24}),y={"-sm":p.screenSMMin,"-md":p.screenMDMin,"-lg":p.screenLGMin,"-xl":p.screenXLMin,"-xxl":p.screenXXLMin};return[c(p),o(p,""),o(p,"-xs"),Object.keys(y).map(_=>h(p,y[_],_)).reduce((_,b)=>Object.assign(Object.assign({},_),b),{})]})},41887:function(d,v,e){"use strict";var r=e(59301);const i=(0,r.createContext)(void 0);v.Z=i},31724:function(d,v,e){"use strict";e.d(v,{Z:function(){return h}});var r=e(22075),i=e(48183),l=i.Z,c=e(67532);const f="${label} is not a valid ${type}";var h={locale:"en",Pagination:r.Z,DatePicker:i.Z,TimePicker:c.Z,Calendar:l,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:f,method:f,array:f,object:f,number:f,date:f,boolean:f,integer:f,float:f,regexp:f,email:f,url:f,hex:f},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}}},9763:function(d,v,e){"use strict";var r=e(59301),i=e(41887),l=e(31724);const c=(f,o)=>{const h=r.useContext(i.Z),u=r.useMemo(()=>{var x;const p=o||l.Z[f],y=(x=h==null?void 0:h[f])!==null&&x!==void 0?x:{};return Object.assign(Object.assign({},typeof p=="function"?p():p),y||{})},[f,o,h]),a=r.useMemo(()=>{const x=h==null?void 0:h.locale;return h!=null&&h.exist&&!x?l.Z.locale:x},[h]);return[u,a]};v.Z=c},81863:function(d,v,e){"use strict";e.d(v,{Z:function(){return p}});var r=e(91735),i={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},l=i,f={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const o={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},l),timePickerLocale:Object.assign({},f)};o.lang.ok="\u786E\u5B9A";var h=o,u=h;const a="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var p={locale:"zh-cn",Pagination:r.Z,DatePicker:h,TimePicker:f,Calendar:u,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0"},ColorPicker:{presetEmpty:"\u6682\u65E0"}}},8591:function(d,v,e){"use strict";e.d(v,{ZP:function(){return xt}});var r=e(15142),i=e(59301),l=e(1585),c=e(92736),f=e(29679),o=e(19248),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(36237),A=e(17313),k=e(83116),L=e(37613);const T=ht=>{const{componentCls:rt,iconCls:Ue,boxShadow:ye,colorText:Ce,colorSuccess:Fe,colorError:je,colorWarning:Ge,colorInfo:it,fontSizeLG:ct,motionEaseInOutCirc:Gt,motionDurationSlow:Ht,marginXS:Pe,paddingXS:tt,borderRadiusLG:Vt,zIndexPopup:kt,contentPadding:Zt,contentBg:Nt}=ht,At=`${rt}-notice`,qt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:tt,transform:"translateY(0)",opacity:1}}),Ke=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:ht.height,padding:tt,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),fe={padding:tt,textAlign:"center",[`${rt}-custom-content > ${Ue}`]:{verticalAlign:"text-bottom",marginInlineEnd:Pe,fontSize:ct},[`${At}-content`]:{display:"inline-block",padding:Zt,background:Nt,borderRadius:Vt,boxShadow:ye,pointerEvents:"all"},[`${rt}-success > ${Ue}`]:{color:Fe},[`${rt}-error > ${Ue}`]:{color:je},[`${rt}-warning > ${Ue}`]:{color:Ge},[`${rt}-info > ${Ue},
${rt}-loading > ${Ue}`]:{color:it}};return[{[rt]:Object.assign(Object.assign({},(0,A.Wf)(ht)),{color:Ce,position:"fixed",top:Pe,width:"100%",pointerEvents:"none",zIndex:kt,[`${rt}-move-up`]:{animationFillMode:"forwards"},[`
${rt}-move-up-appear,
${rt}-move-up-enter
`]:{animationName:qt,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Gt},[`
${rt}-move-up-appear${rt}-move-up-appear-active,
${rt}-move-up-enter${rt}-move-up-enter-active
`]:{animationPlayState:"running"},[`${rt}-move-up-leave`]:{animationName:Ke,animationDuration:Ht,animationPlayState:"paused",animationTimingFunction:Gt},[`${rt}-move-up-leave${rt}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[rt]:{[At]:Object.assign({},fe)}},{[`${rt}-notice-pure-panel`]:Object.assign(Object.assign({},fe),{padding:0,textAlign:"start"})}]};var D=(0,k.Z)("Message",ht=>{const rt=(0,L.TS)(ht,{height:150});return[T(rt)]},ht=>({zIndexPopup:ht.zIndexPopupBase+10,contentBg:ht.colorBgElevated,contentPadding:`${(ht.controlHeightLG-ht.fontSize*ht.lineHeight)/2}px ${ht.paddingSM}px`})),M=function(ht,rt){var Ue={};for(var ye in ht)Object.prototype.hasOwnProperty.call(ht,ye)&&rt.indexOf(ye)<0&&(Ue[ye]=ht[ye]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ye=Object.getOwnPropertySymbols(ht);Ce<ye.length;Ce++)rt.indexOf(ye[Ce])<0&&Object.prototype.propertyIsEnumerable.call(ht,ye[Ce])&&(Ue[ye[Ce]]=ht[ye[Ce]]);return Ue};const B={info:i.createElement(u.Z,null),success:i.createElement(f.Z,null),error:i.createElement(o.Z,null),warning:i.createElement(h.Z,null),loading:i.createElement(a.Z,null)},N=ht=>{let{prefixCls:rt,type:Ue,icon:ye,children:Ce}=ht;return i.createElement("div",{className:p()(`${rt}-custom-content`,`${rt}-${Ue}`)},ye||B[Ue],i.createElement("span",null,Ce))};var G=ht=>{const{prefixCls:rt,className:Ue,type:ye,icon:Ce,content:Fe}=ht,je=M(ht,["prefixCls","className","type","icon","content"]),{getPrefixCls:Ge}=i.useContext(_.E_),it=rt||Ge("message"),[,ct]=D(it);return i.createElement(y.qX,Object.assign({},je,{prefixCls:it,className:p()(Ue,ct,`${it}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(N,{prefixCls:it,type:ye,icon:Ce},Fe)}))},W=e(99267);function ne(ht,rt){return{motionName:rt!=null?rt:`${ht}-move-up`}}function ae(ht){let rt;const Ue=new Promise(Ce=>{rt=ht(()=>{Ce(!0)})}),ye=()=>{rt==null||rt()};return ye.then=(Ce,Fe)=>Ue.then(Ce,Fe),ye.promise=Ue,ye}var le=function(ht,rt){var Ue={};for(var ye in ht)Object.prototype.hasOwnProperty.call(ht,ye)&&rt.indexOf(ye)<0&&(Ue[ye]=ht[ye]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,ye=Object.getOwnPropertySymbols(ht);Ce<ye.length;Ce++)rt.indexOf(ye[Ce])<0&&Object.prototype.propertyIsEnumerable.call(ht,ye[Ce])&&(Ue[ye[Ce]]=ht[ye[Ce]]);return Ue};const Q=8,J=3,V=ht=>{let{children:rt,prefixCls:Ue}=ht;const[,ye]=D(Ue);return i.createElement(y.JB,{classNames:{list:ye,notice:ye}},rt)},ue=(ht,rt)=>{let{prefixCls:Ue,key:ye}=rt;return i.createElement(V,{prefixCls:Ue,key:ye},ht)},ee=i.forwardRef((ht,rt)=>{const{top:Ue,prefixCls:ye,getContainer:Ce,maxCount:Fe,duration:je=J,rtl:Ge,transitionName:it,onAllRemoved:ct}=ht,{getPrefixCls:Gt,getPopupContainer:Ht,message:Pe}=i.useContext(_.E_),tt=ye||Gt("message"),Vt=()=>({left:"50%",transform:"translateX(-50%)",top:Ue!=null?Ue:Q}),kt=()=>p()({[`${tt}-rtl`]:Ge}),Zt=()=>ne(tt,it),Nt=i.createElement("span",{className:`${tt}-close-x`},i.createElement(W.Z,{className:`${tt}-close-icon`})),[At,qt]=(0,y.lm)({prefixCls:tt,style:Vt,className:kt,motion:Zt,closable:!1,closeIcon:Nt,duration:je,getContainer:()=>(Ce==null?void 0:Ce())||(Ht==null?void 0:Ht())||document.body,maxCount:Fe,onAllRemoved:ct,renderNotifications:ue});return i.useImperativeHandle(rt,()=>Object.assign(Object.assign({},At),{prefixCls:tt,message:Pe})),qt});let X=0;function ce(ht){const rt=i.useRef(null);return[i.useMemo(()=>{const ye=it=>{var ct;(ct=rt.current)===null||ct===void 0||ct.close(it)},Ce=it=>{if(!rt.current){const pe=()=>{};return pe.then=()=>{},pe}const{open:ct,prefixCls:Gt,message:Ht}=rt.current,Pe=`${Gt}-notice`,{content:tt,icon:Vt,type:kt,key:Zt,className:Nt,style:At,onClose:qt}=it,Ke=le(it,["content","icon","type","key","className","style","onClose"]);let fe=Zt;return fe==null&&(X+=1,fe=`antd-message-${X}`),ae(pe=>(ct(Object.assign(Object.assign({},Ke),{key:fe,content:i.createElement(N,{prefixCls:Gt,type:kt,icon:Vt},tt),placement:"top",className:p()(kt&&`${Pe}-${kt}`,Nt,Ht==null?void 0:Ht.className),style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),At),onClose:()=>{qt==null||qt(),pe()}})),()=>{ye(fe)}))},je={open:Ce,destroy:it=>{var ct;it!==void 0?ye(it):(ct=rt.current)===null||ct===void 0||ct.destroy()}};return["info","success","warning","error","loading"].forEach(it=>{const ct=(Gt,Ht,Pe)=>{let tt;Gt&&typeof Gt=="object"&&"content"in Gt?tt=Gt:tt={content:Gt};let Vt,kt;typeof Ht=="function"?kt=Ht:(Vt=Ht,kt=Pe);const Zt=Object.assign(Object.assign({onClose:kt,duration:Vt},tt),{type:it});return Ce(Zt)};je[it]=ct}),je},[]),i.createElement(ee,Object.assign({key:"message-holder"},ht,{ref:rt}))]}function z(ht){return ce(ht)}let $=null,se=ht=>ht(),_e=[],Oe={};function Le(){const{prefixCls:ht,getContainer:rt,duration:Ue,rtl:ye,maxCount:Ce,top:Fe}=Oe,je=ht!=null?ht:(0,c.w6)().getPrefixCls("message"),Ge=(rt==null?void 0:rt())||document.body;return{prefixCls:je,getContainer:()=>Ge,duration:Ue,rtl:ye,maxCount:Ce,top:Fe}}const He=i.forwardRef((ht,rt)=>{const[Ue,ye]=i.useState(Le),[Ce,Fe]=ce(Ue),je=(0,c.w6)(),Ge=je.getRootPrefixCls(),it=je.getIconPrefixCls(),ct=je.getTheme(),Gt=()=>{ye(Le)};return i.useEffect(Gt,[]),i.useImperativeHandle(rt,()=>{const Ht=Object.assign({},Ce);return Object.keys(Ht).forEach(Pe=>{Ht[Pe]=function(){return Gt(),Ce[Pe].apply(Ce,arguments)}}),{instance:Ht,sync:Gt}}),i.createElement(c.ZP,{prefixCls:Ge,iconPrefixCls:it,theme:ct},Fe)});function $e(){if(!$){const ht=document.createDocumentFragment(),rt={fragment:ht};$=rt,se(()=>{(0,l.s)(i.createElement(He,{ref:Ue=>{const{instance:ye,sync:Ce}=Ue||{};Promise.resolve().then(()=>{!rt.instance&&ye&&(rt.instance=ye,rt.sync=Ce,$e())})}}),ht)});return}$.instance&&(_e.forEach(ht=>{const{type:rt,skipped:Ue}=ht;if(!Ue)switch(rt){case"open":{se(()=>{const ye=$.instance.open(Object.assign(Object.assign({},Oe),ht.config));ye==null||ye.then(ht.resolve),ht.setCloseFn(ye)});break}case"destroy":se(()=>{$==null||$.instance.destroy(ht.key)});break;default:se(()=>{var ye;const Ce=(ye=$.instance)[rt].apply(ye,(0,r.Z)(ht.args));Ce==null||Ce.then(ht.resolve),ht.setCloseFn(Ce)})}}),_e=[])}function Bt(ht){Oe=Object.assign(Object.assign({},Oe),ht),se(()=>{var rt;(rt=$==null?void 0:$.sync)===null||rt===void 0||rt.call($)})}function yt(ht){const rt=ae(Ue=>{let ye;const Ce={type:"open",config:ht,resolve:Ue,setCloseFn:Fe=>{ye=Fe}};return _e.push(Ce),()=>{ye?se(()=>{ye()}):Ce.skipped=!0}});return $e(),rt}function It(ht,rt){const Ue=ae(ye=>{let Ce;const Fe={type:ht,args:rt,resolve:ye,setCloseFn:je=>{Ce=je}};return _e.push(Fe),()=>{Ce?se(()=>{Ce()}):Fe.skipped=!0}});return $e(),Ue}function rr(ht){_e.push({type:"destroy",key:ht}),$e()}const Yt=["success","info","warning","error","loading"],Ve={open:yt,destroy:rr,config:Bt,useMessage:z,_InternalPanelDoNotUseOrYouWillBeFired:G};Yt.forEach(ht=>{Ve[ht]=function(){for(var rt=arguments.length,Ue=new Array(rt),ye=0;ye<rt;ye++)Ue[ye]=arguments[ye];return It(ht,Ue)}});const Ct=()=>{};let Ut=null,st=null;var xt=Ve},43418:function(d,v,e){"use strict";e.d(v,{default:function(){return ft}});var r=e(15142),i=e(1585),l=e(59301),c=e(92736),f=e(29679),o=e(19248),h=e(96512),u=e(78987),a=e(92310),x=e.n(a),p=e(62892),y=e(9763),_=e(92806);const b=l.createContext({}),{Provider:A}=b;var L=()=>{const{autoFocusButton:zt,cancelButtonProps:Et,cancelTextLocale:Re,isSilent:wt,mergedOkCancel:xe,rootPrefixCls:qe,close:vt,onCancel:Ft,onConfirm:Be}=(0,l.useContext)(b);return xe?l.createElement(_.Z,{isSilent:wt,actionFn:Ft,close:function(){vt==null||vt.apply(void 0,arguments),Be==null||Be(!1)},autoFocus:zt==="cancel",buttonProps:Et,prefixCls:`${qe}-btn`},Re):null},D=()=>{const{autoFocusButton:zt,close:Et,isSilent:Re,okButtonProps:wt,rootPrefixCls:xe,okTextLocale:qe,okType:vt,onConfirm:Ft,onOk:Be}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:Re,type:vt||"primary",actionFn:Be,close:function(){Et==null||Et.apply(void 0,arguments),Ft==null||Ft(!0)},autoFocus:zt==="ok",buttonProps:wt,prefixCls:`${xe}-btn`},qe)},M=e(99267),B=e(86923),N=e(47729),K=e(47273);const G=()=>(0,K.Z)()&&window.document.documentElement;var W=e(36355),ne=e(32441),ae=e(33234),le=e(11575),Q=e(1684),J=e(3113),ue=()=>{const{cancelButtonProps:zt,cancelTextLocale:Et,onCancel:Re}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({onClick:Re},zt),Et)},ee=e(67797),ce=()=>{const{confirmLoading:zt,okButtonProps:Et,okType:Re,okTextLocale:wt,onOk:xe}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({},(0,ee.n)(Re),{loading:zt,onClick:xe},Et),wt)},z=e(98044);function $(zt,Et){return l.createElement("span",{className:`${zt}-close-x`},Et||l.createElement(M.Z,{className:`${zt}-close-icon`}))}const se=zt=>{const{okText:Et,okType:Re="primary",cancelText:wt,confirmLoading:xe,onOk:qe,onCancel:vt,okButtonProps:Ft,cancelButtonProps:Be,footer:Pr}=zt,[St]=(0,y.Z)("Modal",(0,z.A)()),Zr=Et||(St==null?void 0:St.okText),Vr=wt||(St==null?void 0:St.cancelText),xr={confirmLoading:xe,okButtonProps:Ft,cancelButtonProps:Be,okTextLocale:Zr,cancelTextLocale:Vr,okType:Re,onOk:qe,onCancel:vt},Br=l.useMemo(()=>xr,(0,r.Z)(Object.values(xr)));let pr;return typeof Pr=="function"||typeof Pr=="undefined"?(pr=l.createElement(A,{value:Br},l.createElement(ue,null),l.createElement(ce,null)),typeof Pr=="function"&&(pr=Pr(pr,{OkBtn:ce,CancelBtn:ue}))):pr=Pr,l.createElement(Q.n,{disabled:!1},pr)};var _e=e(73819),Oe=function(zt,Et){var Re={};for(var wt in zt)Object.prototype.hasOwnProperty.call(zt,wt)&&Et.indexOf(wt)<0&&(Re[wt]=zt[wt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,wt=Object.getOwnPropertySymbols(zt);xe<wt.length;xe++)Et.indexOf(wt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[xe])&&(Re[wt[xe]]=zt[wt[xe]]);return Re};let Le;const He=zt=>{Le={x:zt.pageX,y:zt.pageY},setTimeout(()=>{Le=null},100)};G()&&document.documentElement.addEventListener("click",He,!0);var Bt=zt=>{var Et;const{getPopupContainer:Re,getPrefixCls:wt,direction:xe,modal:qe}=l.useContext(W.E_),vt=ln=>{const{onCancel:Ln}=zt;Ln==null||Ln(ln)},Ft=ln=>{const{onOk:Ln}=zt;Ln==null||Ln(ln)},{prefixCls:Be,className:Pr,rootClassName:St,open:Zr,wrapClassName:Vr,centered:xr,getContainer:Br,closeIcon:pr,closable:$r,focusTriggerAfterClose:en=!0,style:an,visible:sr,width:Rt=520,footer:mt}=zt,gt=Oe(zt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),$t=wt("modal",Be),Er=wt(),[vr,ot]=(0,_e.ZP)($t),Mr=x()(Vr,{[`${$t}-centered`]:!!xr,[`${$t}-wrap-rtl`]:xe==="rtl"}),dn=mt!==null&&l.createElement(se,Object.assign({},zt,{onOk:Ft,onCancel:vt})),[jn,_r]=(0,N.Z)($r,pr,ln=>$($t,ln),l.createElement(M.Z,{className:`${$t}-close-icon`}),!0),qr=(0,le.H)(`.${$t}-content`);return vr(l.createElement(ae.BR,null,l.createElement(ne.Ux,{status:!0,override:!0},l.createElement(B.Z,Object.assign({width:Rt},gt,{getContainer:Br===void 0?Re:Br,prefixCls:$t,rootClassName:x()(ot,St),wrapClassName:Mr,footer:dn,visible:Zr!=null?Zr:sr,mousePosition:(Et=gt.mousePosition)!==null&&Et!==void 0?Et:Le,onClose:vt,closable:jn,closeIcon:_r,focusTriggerAfterClose:en,transitionName:(0,p.m)(Er,"zoom",zt.transitionName),maskTransitionName:(0,p.m)(Er,"fade",zt.maskTransitionName),className:x()(ot,Pr,qe==null?void 0:qe.className),style:Object.assign(Object.assign({},qe==null?void 0:qe.style),an),panelRef:qr})))))},yt=e(17313),It=e(83116);const rr=zt=>{const{componentCls:Et,titleFontSize:Re,titleLineHeight:wt,modalConfirmIconSize:xe,fontSize:qe,lineHeight:vt}=zt,Ft=`${Et}-confirm`,Be=Math.round(Re*wt),Pr=Math.round(qe*vt);return{[Ft]:{"&-rtl":{direction:"rtl"},[`${zt.antCls}-modal-header`]:{display:"none"},[`${Ft}-body-wrapper`]:Object.assign({},(0,yt.dF)()),[`${Ft}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${zt.iconCls}`]:{flex:"none",fontSize:xe,marginInlineEnd:zt.marginSM,marginTop:(Pr-xe)/2},[`&-has-title > ${zt.iconCls}`]:{marginTop:(Be-xe)/2}},[`${Ft}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:zt.marginXS},[`${Ft}-title`]:{color:zt.colorTextHeading,fontWeight:zt.fontWeightStrong,fontSize:Re,lineHeight:wt},[`${Ft}-content`]:{color:zt.colorText,fontSize:qe,lineHeight:vt},[`${Ft}-btns`]:{textAlign:"end",marginTop:zt.marginSM,[`${zt.antCls}-btn + ${zt.antCls}-btn`]:{marginBottom:0,marginInlineStart:zt.marginXS}}},[`${Ft}-error ${Ft}-body > ${zt.iconCls}`]:{color:zt.colorError},[`${Ft}-warning ${Ft}-body > ${zt.iconCls},
${Ft}-confirm ${Ft}-body > ${zt.iconCls}`]:{color:zt.colorWarning},[`${Ft}-info ${Ft}-body > ${zt.iconCls}`]:{color:zt.colorInfo},[`${Ft}-success ${Ft}-body > ${zt.iconCls}`]:{color:zt.colorSuccess}}};var Yt=(0,It.b)(["Modal","confirm"],zt=>{const Et=(0,_e.B4)(zt);return[rr(Et)]},_e.eh,{order:-1e3}),lr=function(zt,Et){var Re={};for(var wt in zt)Object.prototype.hasOwnProperty.call(zt,wt)&&Et.indexOf(wt)<0&&(Re[wt]=zt[wt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,wt=Object.getOwnPropertySymbols(zt);xe<wt.length;xe++)Et.indexOf(wt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[xe])&&(Re[wt[xe]]=zt[wt[xe]]);return Re};function Ve(zt){const{prefixCls:Et,icon:Re,okText:wt,cancelText:xe,confirmPrefixCls:qe,type:vt,okCancel:Ft,footer:Be,locale:Pr}=zt,St=lr(zt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Zr=Re;if(!Re&&Re!==null)switch(vt){case"info":Zr=l.createElement(u.Z,null);break;case"success":Zr=l.createElement(f.Z,null);break;case"error":Zr=l.createElement(o.Z,null);break;default:Zr=l.createElement(h.Z,null)}const Vr=Ft!=null?Ft:vt==="confirm",xr=zt.autoFocusButton===null?!1:zt.autoFocusButton||"ok",[Br]=(0,y.Z)("Modal"),pr=Pr||Br,$r=wt||(Vr?pr==null?void 0:pr.okText:pr==null?void 0:pr.justOkText),en=xe||(pr==null?void 0:pr.cancelText),an=Object.assign({autoFocusButton:xr,cancelTextLocale:en,okTextLocale:$r,mergedOkCancel:Vr},St),sr=l.useMemo(()=>an,(0,r.Z)(Object.values(an))),Rt=l.createElement(l.Fragment,null,l.createElement(L,null),l.createElement(D,null)),mt=zt.title!==void 0&&zt.title!==null,gt=`${qe}-body`;return l.createElement("div",{className:`${qe}-body-wrapper`},l.createElement("div",{className:x()(gt,{[`${gt}-has-title`]:mt})},Zr,l.createElement("div",{className:`${qe}-paragraph`},mt&&l.createElement("span",{className:`${qe}-title`},zt.title),l.createElement("div",{className:`${qe}-content`},zt.content))),Be===void 0||typeof Be=="function"?l.createElement(A,{value:sr},l.createElement("div",{className:`${qe}-btns`},typeof Be=="function"?Be(Rt,{OkBtn:D,CancelBtn:L}):Rt)):Be,l.createElement(Yt,{prefixCls:Et}))}var Ut=zt=>{const{close:Et,zIndex:Re,afterClose:wt,visible:xe,open:qe,keyboard:vt,centered:Ft,getContainer:Be,maskStyle:Pr,direction:St,prefixCls:Zr,wrapClassName:Vr,rootPrefixCls:xr,iconPrefixCls:Br,theme:pr,bodyStyle:$r,closable:en=!1,closeIcon:an,modalRender:sr,focusTriggerAfterClose:Rt,onConfirm:mt}=zt,gt=`${Zr}-confirm`,$t=zt.width||416,Er=zt.style||{},vr=zt.mask===void 0?!0:zt.mask,ot=zt.maskClosable===void 0?!1:zt.maskClosable,Mr=x()(gt,`${gt}-${zt.type}`,{[`${gt}-rtl`]:St==="rtl"},zt.className);return l.createElement(c.ZP,{prefixCls:xr,iconPrefixCls:Br,direction:St,theme:pr},l.createElement(Bt,{prefixCls:Zr,className:Mr,wrapClassName:x()({[`${gt}-centered`]:!!zt.centered},Vr),onCancel:()=>{Et==null||Et({triggerCancel:!0}),mt==null||mt(!1)},open:qe,title:"",footer:null,transitionName:(0,p.m)(xr||"","zoom",zt.transitionName),maskTransitionName:(0,p.m)(xr||"","fade",zt.maskTransitionName),mask:vr,maskClosable:ot,maskStyle:Pr,style:Er,bodyStyle:$r,width:$t,zIndex:Re,afterClose:wt,keyboard:vt,centered:Ft,getContainer:Be,closable:en,closeIcon:an,modalRender:sr,focusTriggerAfterClose:Rt},l.createElement(Ve,Object.assign({},zt,{confirmPrefixCls:gt}))))},xt=[],ht=function(zt,Et){var Re={};for(var wt in zt)Object.prototype.hasOwnProperty.call(zt,wt)&&Et.indexOf(wt)<0&&(Re[wt]=zt[wt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,wt=Object.getOwnPropertySymbols(zt);xe<wt.length;xe++)Et.indexOf(wt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[xe])&&(Re[wt[xe]]=zt[wt[xe]]);return Re};let rt="";function Ue(){return rt}function ye(zt){const Et=document.createDocumentFragment();let Re=Object.assign(Object.assign({},zt),{close:vt,open:!0}),wt;function xe(){for(var Be=arguments.length,Pr=new Array(Be),St=0;St<Be;St++)Pr[St]=arguments[St];const Zr=Pr.some(Vr=>Vr&&Vr.triggerCancel);zt.onCancel&&Zr&&zt.onCancel.apply(zt,[()=>{}].concat((0,r.Z)(Pr.slice(1))));for(let Vr=0;Vr<xt.length;Vr++)if(xt[Vr]===vt){xt.splice(Vr,1);break}(0,i.v)(Et)}function qe(Be){var{okText:Pr,cancelText:St,prefixCls:Zr,getContainer:Vr}=Be,xr=ht(Be,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(wt),wt=setTimeout(()=>{const Br=(0,z.A)(),{getPrefixCls:pr,getIconPrefixCls:$r,getTheme:en}=(0,c.w6)(),an=pr(void 0,Ue()),sr=Zr||`${an}-modal`,Rt=$r(),mt=en();let gt=Vr;gt===!1&&(gt=void 0),(0,i.s)(l.createElement(Ut,Object.assign({},xr,{getContainer:gt,prefixCls:sr,rootPrefixCls:an,iconPrefixCls:Rt,okText:Pr,locale:Br,theme:mt,cancelText:St||Br.cancelText})),Et)})}function vt(){for(var Be=arguments.length,Pr=new Array(Be),St=0;St<Be;St++)Pr[St]=arguments[St];Re=Object.assign(Object.assign({},Re),{open:!1,afterClose:()=>{typeof zt.afterClose=="function"&&zt.afterClose(),xe.apply(this,Pr)}}),Re.visible&&delete Re.visible,qe(Re)}function Ft(Be){typeof Be=="function"?Re=Be(Re):Re=Object.assign(Object.assign({},Re),Be),qe(Re)}return qe(Re),xt.push(vt),{destroy:vt,update:Ft}}function Ce(zt){return Object.assign(Object.assign({},zt),{type:"warning"})}function Fe(zt){return Object.assign(Object.assign({},zt),{type:"info"})}function je(zt){return Object.assign(Object.assign({},zt),{type:"success"})}function Ge(zt){return Object.assign(Object.assign({},zt),{type:"error"})}function it(zt){return Object.assign(Object.assign({},zt),{type:"confirm"})}function ct(zt){let{rootPrefixCls:Et}=zt;rt=Et}var Gt=e(53487),Ht=function(zt,Et){var Re={};for(var wt in zt)Object.prototype.hasOwnProperty.call(zt,wt)&&Et.indexOf(wt)<0&&(Re[wt]=zt[wt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,wt=Object.getOwnPropertySymbols(zt);xe<wt.length;xe++)Et.indexOf(wt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[xe])&&(Re[wt[xe]]=zt[wt[xe]]);return Re};const Pe=zt=>{const{prefixCls:Et,className:Re,closeIcon:wt,closable:xe,type:qe,title:vt,children:Ft}=zt,Be=Ht(zt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:Pr}=l.useContext(W.E_),St=Pr(),Zr=Et||Pr("modal"),[,Vr]=(0,_e.ZP)(Zr),xr=`${Zr}-confirm`;let Br={};return qe?Br={closable:xe!=null?xe:!1,title:"",footer:"",children:l.createElement(Ve,Object.assign({},zt,{prefixCls:Zr,confirmPrefixCls:xr,rootPrefixCls:St,content:Ft}))}:Br={closable:xe!=null?xe:!0,title:vt,footer:zt.footer===void 0?l.createElement(se,Object.assign({},zt)):zt.footer,children:Ft},l.createElement(B.s,Object.assign({prefixCls:Zr,className:x()(Vr,`${Zr}-pure-panel`,qe&&xr,qe&&`${xr}-${qe}`,Re)},Be,{closeIcon:$(Zr,wt),closable:xe},Br))};var tt=(0,Gt.i)(Pe);function Vt(){const[zt,Et]=l.useState([]),Re=l.useCallback(wt=>(Et(xe=>[].concat((0,r.Z)(xe),[wt])),()=>{Et(xe=>xe.filter(qe=>qe!==wt))}),[]);return[zt,Re]}var kt=e(31724),Zt=function(zt,Et){var Re={};for(var wt in zt)Object.prototype.hasOwnProperty.call(zt,wt)&&Et.indexOf(wt)<0&&(Re[wt]=zt[wt]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,wt=Object.getOwnPropertySymbols(zt);xe<wt.length;xe++)Et.indexOf(wt[xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,wt[xe])&&(Re[wt[xe]]=zt[wt[xe]]);return Re};const Nt=(zt,Et)=>{var Re,{afterClose:wt,config:xe}=zt,qe=Zt(zt,["afterClose","config"]);const[vt,Ft]=l.useState(!0),[Be,Pr]=l.useState(xe),{direction:St,getPrefixCls:Zr}=l.useContext(W.E_),Vr=Zr("modal"),xr=Zr(),Br=()=>{var an;wt(),(an=Be.afterClose)===null||an===void 0||an.call(Be)},pr=function(){Ft(!1);for(var an=arguments.length,sr=new Array(an),Rt=0;Rt<an;Rt++)sr[Rt]=arguments[Rt];const mt=sr.some(gt=>gt&&gt.triggerCancel);Be.onCancel&&mt&&Be.onCancel.apply(Be,[()=>{}].concat((0,r.Z)(sr.slice(1))))};l.useImperativeHandle(Et,()=>({destroy:pr,update:an=>{Pr(sr=>Object.assign(Object.assign({},sr),an))}}));const $r=(Re=Be.okCancel)!==null&&Re!==void 0?Re:Be.type==="confirm",[en]=(0,y.Z)("Modal",kt.Z.Modal);return l.createElement(Ut,Object.assign({prefixCls:Vr,rootPrefixCls:xr},Be,{close:pr,open:vt,afterClose:Br,okText:Be.okText||($r?en==null?void 0:en.okText:en==null?void 0:en.justOkText),direction:Be.direction||St,cancelText:Be.cancelText||(en==null?void 0:en.cancelText)},qe))};var At=l.forwardRef(Nt);let qt=0;const Ke=l.memo(l.forwardRef((zt,Et)=>{const[Re,wt]=Vt();return l.useImperativeHandle(Et,()=>({patchElement:wt}),[]),l.createElement(l.Fragment,null,Re)}));function fe(){const zt=l.useRef(null),[Et,Re]=l.useState([]);l.useEffect(()=>{Et.length&&((0,r.Z)(Et).forEach(vt=>{vt()}),Re([]))},[Et]);const wt=l.useCallback(qe=>function(Ft){var Be;qt+=1;const Pr=l.createRef();let St;const Zr=new Promise($r=>{St=$r});let Vr=!1,xr;const Br=l.createElement(At,{key:`modal-${qt}`,config:qe(Ft),ref:Pr,afterClose:()=>{xr==null||xr()},isSilent:()=>Vr,onConfirm:$r=>{St($r)}});return xr=(Be=zt.current)===null||Be===void 0?void 0:Be.patchElement(Br),xr&&xt.push(xr),{destroy:()=>{function $r(){var en;(en=Pr.current)===null||en===void 0||en.destroy()}Pr.current?$r():Re(en=>[].concat((0,r.Z)(en),[$r]))},update:$r=>{function en(){var an;(an=Pr.current)===null||an===void 0||an.update($r)}Pr.current?en():Re(an=>[].concat((0,r.Z)(an),[en]))},then:$r=>(Vr=!0,Zr.then($r))}},[]);return[l.useMemo(()=>({info:wt(Fe),success:wt(je),error:wt(Ge),warning:wt(Ce),confirm:wt(it)}),[]),l.createElement(Ke,{key:"modal-holder",ref:zt})]}var pe=fe;function Dt(zt){return ye(Ce(zt))}const De=Bt;De.useModal=pe,De.info=function(Et){return ye(Fe(Et))},De.success=function(Et){return ye(je(Et))},De.error=function(Et){return ye(Ge(Et))},De.warning=Dt,De.warn=Dt,De.confirm=function(Et){return ye(it(Et))},De.destroyAll=function(){for(;xt.length;){const Et=xt.pop();Et&&Et()}},De.config=ct,De._InternalPanelDoNotUseOrYouWillBeFired=tt;var ft=De},98044:function(d,v,e){"use strict";e.d(v,{A:function(){return o},f:function(){return f}});var r=e(31724);let i=Object.assign({},r.Z.Modal),l=[];const c=()=>l.reduce((h,u)=>Object.assign(Object.assign({},h),u),r.Z.Modal);function f(h){if(h){const u=Object.assign({},h);return l.push(u),i=c(),()=>{l=l.filter(a=>a!==u),i=c()}}i=Object.assign({},r.Z.Modal)}function o(){return i}},73819:function(d,v,e){"use strict";e.d(v,{B4:function(){return p},QA:function(){return h},eh:function(){return y}});var r=e(17313),i=e(1950),l=e(29878),c=e(37613),f=e(83116);function o(_){return{position:_,inset:0}}const h=_=>{const{componentCls:b,antCls:A}=_;return[{[`${b}-root`]:{[`${b}${A}-zoom-enter, ${b}${A}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:_.motionDurationSlow,userSelect:"none"},[`${b}${A}-zoom-leave ${b}-content`]:{pointerEvents:"none"},[`${b}-mask`]:Object.assign(Object.assign({},o("fixed")),{zIndex:_.zIndexPopupBase,height:"100%",backgroundColor:_.colorBgMask,pointerEvents:"none",[`${b}-hidden`]:{display:"none"}}),[`${b}-wrap`]:Object.assign(Object.assign({},o("fixed")),{zIndex:_.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${b}${A}-zoom-enter), &:has(${b}${A}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${b}-root`]:(0,i.J$)(_)}]},u=_=>{const{componentCls:b}=_;return[{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl"},[`${b}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[b]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${_.screenSMMax})`]:{[b]:{maxWidth:"calc(100vw - 16px)",margin:`${_.marginXS} auto`},[`${b}-centered`]:{[b]:{flex:1}}}}},{[b]:Object.assign(Object.assign({},(0,r.Wf)(_)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${_.margin*2}px)`,margin:"0 auto",paddingBottom:_.paddingLG,[`${b}-title`]:{margin:0,color:_.titleColor,fontWeight:_.fontWeightStrong,fontSize:_.titleFontSize,lineHeight:_.titleLineHeight,wordWrap:"break-word"},[`${b}-content`]:{position:"relative",backgroundColor:_.contentBg,backgroundClip:"padding-box",border:0,borderRadius:_.borderRadiusLG,boxShadow:_.boxShadow,pointerEvents:"auto",padding:`${_.paddingMD}px ${_.paddingContentHorizontalLG}px`},[`${b}-close`]:Object.assign({position:"absolute",top:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,insetInlineEnd:(_.modalHeaderHeight-_.modalCloseBtnSize)/2,zIndex:_.zIndexPopupBase+10,padding:0,color:_.modalCloseIconColor,fontWeight:_.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:_.borderRadiusSM,width:_.modalCloseBtnSize,height:_.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${_.motionDurationMid}, background-color ${_.motionDurationMid}`,"&-x":{display:"flex",fontSize:_.fontSizeLG,fontStyle:"normal",lineHeight:`${_.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:_.modalIconHoverColor,backgroundColor:_.wireframe?"transparent":_.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:_.wireframe?"transparent":_.colorFillContentHover}},(0,r.Qy)(_)),[`${b}-header`]:{color:_.colorText,background:_.headerBg,borderRadius:`${_.borderRadiusLG}px ${_.borderRadiusLG}px 0 0`,marginBottom:_.marginXS},[`${b}-body`]:{fontSize:_.fontSize,lineHeight:_.lineHeight,wordWrap:"break-word"},[`${b}-footer`]:{textAlign:"end",background:_.footerBg,marginTop:_.marginSM,[`${_.antCls}-btn + ${_.antCls}-btn:not(${_.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:_.marginXS}},[`${b}-open`]:{overflow:"hidden"}})},{[`${b}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${b}-content,
${b}-body,
${b}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${b}-confirm-body`]:{marginBottom:"auto"}}}]},a=_=>{const{componentCls:b,antCls:A}=_,k=`${b}-confirm`;return{[b]:{[`${b}-content`]:{padding:0},[`${b}-header`]:{padding:_.modalHeaderPadding,borderBottom:`${_.modalHeaderBorderWidth}px ${_.modalHeaderBorderStyle} ${_.modalHeaderBorderColorSplit}`,marginBottom:0},[`${b}-body`]:{padding:_.modalBodyPadding},[`${b}-footer`]:{padding:`${_.modalFooterPaddingVertical}px ${_.modalFooterPaddingHorizontal}px`,borderTop:`${_.modalFooterBorderWidth}px ${_.modalFooterBorderStyle} ${_.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${_.borderRadiusLG}px ${_.borderRadiusLG}px`,marginTop:0}},[k]:{[`${A}-modal-body`]:{padding:`${_.padding*2}px ${_.padding*2}px ${_.paddingLG}px`},[`${k}-body`]:{[`> ${_.iconCls}`]:{marginInlineEnd:_.margin,[`+ ${k}-title + ${k}-content`]:{marginInlineStart:_.modalConfirmIconSize+_.margin}}},[`${k}-btns`]:{marginTop:_.marginLG}}}},x=_=>{const{componentCls:b}=_;return{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl",[`${b}-confirm-body`]:{direction:"rtl"}}}}},p=_=>{const b=_.padding,A=_.fontSizeHeading5,k=_.lineHeightHeading5;return(0,c.TS)(_,{modalBodyPadding:_.paddingLG,modalHeaderPadding:`${b}px ${_.paddingLG}px`,modalHeaderBorderWidth:_.lineWidth,modalHeaderBorderStyle:_.lineType,modalHeaderBorderColorSplit:_.colorSplit,modalHeaderHeight:k*A+b*2,modalFooterBorderColorSplit:_.colorSplit,modalFooterBorderStyle:_.lineType,modalFooterPaddingVertical:_.paddingXS,modalFooterPaddingHorizontal:_.padding,modalFooterBorderWidth:_.lineWidth,modalIconHoverColor:_.colorIconHover,modalCloseIconColor:_.colorIcon,modalCloseBtnSize:_.fontSize*_.lineHeight,modalConfirmIconSize:_.fontSize*_.lineHeight})},y=_=>({footerBg:"transparent",headerBg:_.colorBgElevated,titleLineHeight:_.lineHeightHeading5,titleFontSize:_.fontSizeHeading5,contentBg:_.colorBgElevated,titleColor:_.colorTextHeading});v.ZP=(0,f.Z)("Modal",_=>{const b=p(_);return[u(b),x(b),h(b),_.wireframe&&a(b),(0,l._y)(b,"zoom")]},y)},28909:function(d,v,e){"use strict";e.d(v,{Z:function(){return ht}});var r=e(59301),i=e(1585),l=e(92736),c=e(29679),f=e(19248),o=e(99267),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),_=e(36355),b=e(36237),A=e(17313),k=e(83116),L=e(37613),D=rt=>{const{componentCls:Ue,width:ye,notificationMarginEdge:Ce}=rt,Fe=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),je=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),Ge=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:ye},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${Ue}-top, &${Ue}-bottom`]:{marginInline:0},[`&${Ue}-top`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:Fe}},[`&${Ue}-bottom`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:je}},[`&${Ue}-topLeft, &${Ue}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Ce,[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:Ge}}}};const M=rt=>{const{iconCls:Ue,componentCls:ye,boxShadow:Ce,fontSizeLG:Fe,notificationMarginBottom:je,borderRadiusLG:Ge,colorSuccess:it,colorInfo:ct,colorWarning:Gt,colorError:Ht,colorTextHeading:Pe,notificationBg:tt,notificationPadding:Vt,notificationMarginEdge:kt,motionDurationMid:Zt,motionEaseInOut:Nt,fontSize:At,lineHeight:qt,width:Ke,notificationIconSize:fe,colorText:pe}=rt,Dt=`${ye}-notice`,De=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:Ke},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),ft=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:rt.animationMaxHeight,marginBottom:je,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),zt={position:"relative",width:Ke,maxWidth:`calc(100vw - ${kt*2}px)`,marginBottom:je,marginInlineStart:"auto",padding:Vt,overflow:"hidden",lineHeight:qt,wordWrap:"break-word",background:tt,borderRadius:Ge,boxShadow:Ce,[`${ye}-close-icon`]:{fontSize:At,cursor:"pointer"},[`${Dt}-message`]:{marginBottom:rt.marginXS,color:Pe,fontSize:Fe,lineHeight:rt.lineHeightLG},[`${Dt}-description`]:{fontSize:At,color:pe},[`&${Dt}-closable ${Dt}-message`]:{paddingInlineEnd:rt.paddingLG},[`${Dt}-with-icon ${Dt}-message`]:{marginBottom:rt.marginXS,marginInlineStart:rt.marginSM+fe,fontSize:Fe},[`${Dt}-with-icon ${Dt}-description`]:{marginInlineStart:rt.marginSM+fe,fontSize:At},[`${Dt}-icon`]:{position:"absolute",fontSize:fe,lineHeight:0,[`&-success${Ue}`]:{color:it},[`&-info${Ue}`]:{color:ct},[`&-warning${Ue}`]:{color:Gt},[`&-error${Ue}`]:{color:Ht}},[`${Dt}-close`]:{position:"absolute",top:rt.notificationPaddingVertical,insetInlineEnd:rt.notificationPaddingHorizontal,color:rt.colorIcon,outline:"none",width:rt.notificationCloseButtonSize,height:rt.notificationCloseButtonSize,borderRadius:rt.borderRadiusSM,transition:`background-color ${rt.motionDurationMid}, color ${rt.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:rt.colorIconHover,backgroundColor:rt.wireframe?"transparent":rt.colorFillContent}},[`${Dt}-btn`]:{float:"right",marginTop:rt.marginSM}};return[{[ye]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,A.Wf)(rt)),{position:"fixed",zIndex:rt.zIndexPopup,marginInlineEnd:kt,[`${ye}-hook-holder`]:{position:"relative"},[`&${ye}-top, &${ye}-bottom`]:{[Dt]:{marginInline:"auto auto"}},[`&${ye}-topLeft, &${ye}-bottomLeft`]:{[Dt]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${ye}-fade-enter, ${ye}-fade-appear`]:{animationDuration:rt.motionDurationMid,animationTimingFunction:Nt,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${ye}-fade-leave`]:{animationTimingFunction:Nt,animationFillMode:"both",animationDuration:Zt,animationPlayState:"paused"},[`${ye}-fade-enter${ye}-fade-enter-active, ${ye}-fade-appear${ye}-fade-appear-active`]:{animationName:De,animationPlayState:"running"},[`${ye}-fade-leave${ye}-fade-leave-active`]:{animationName:ft,animationPlayState:"running"}}),D(rt)),{"&-rtl":{direction:"rtl",[`${Dt}-btn`]:{float:"left"}}})},{[ye]:{[Dt]:Object.assign({},zt)}},{[`${Dt}-pure-panel`]:Object.assign(Object.assign({},zt),{margin:0})}]};var B=(0,k.Z)("Notification",rt=>{const Ue=rt.paddingMD,ye=rt.paddingLG,Ce=(0,L.TS)(rt,{notificationBg:rt.colorBgElevated,notificationPaddingVertical:Ue,notificationPaddingHorizontal:ye,notificationIconSize:rt.fontSizeLG*rt.lineHeightLG,notificationCloseButtonSize:rt.controlHeightLG*.55,notificationMarginBottom:rt.margin,notificationPadding:`${rt.paddingMD}px ${rt.paddingContentHorizontalLG}px`,notificationMarginEdge:rt.marginLG,animationMaxHeight:150});return[M(Ce)]},rt=>({zIndexPopup:rt.zIndexPopupBase+50,width:384})),N=function(rt,Ue){var ye={};for(var Ce in rt)Object.prototype.hasOwnProperty.call(rt,Ce)&&Ue.indexOf(Ce)<0&&(ye[Ce]=rt[Ce]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,Ce=Object.getOwnPropertySymbols(rt);Fe<Ce.length;Fe++)Ue.indexOf(Ce[Fe])<0&&Object.prototype.propertyIsEnumerable.call(rt,Ce[Fe])&&(ye[Ce[Fe]]=rt[Ce[Fe]]);return ye};const K={info:r.createElement(u.Z,null),success:r.createElement(c.Z,null),error:r.createElement(f.Z,null),warning:r.createElement(h.Z,null),loading:r.createElement(a.Z,null)};function G(rt,Ue){return Ue===null||Ue===!1?null:Ue||r.createElement("span",{className:`${rt}-close-x`},r.createElement(o.Z,{className:`${rt}-close-icon`}))}const W={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},ne=rt=>{const{prefixCls:Ue,icon:ye,type:Ce,message:Fe,description:je,btn:Ge,role:it="alert"}=rt;let ct=null;return ye?ct=r.createElement("span",{className:`${Ue}-icon`},ye):Ce&&(ct=r.createElement(W[Ce]||null,{className:p()(`${Ue}-icon`,`${Ue}-icon-${Ce}`)})),r.createElement("div",{className:p()({[`${Ue}-with-icon`]:ct}),role:it},ct,r.createElement("div",{className:`${Ue}-message`},Fe),r.createElement("div",{className:`${Ue}-description`},je),Ge&&r.createElement("div",{className:`${Ue}-btn`},Ge))};var le=rt=>{const{prefixCls:Ue,className:ye,icon:Ce,type:Fe,message:je,description:Ge,btn:it,closable:ct=!0,closeIcon:Gt}=rt,Ht=N(rt,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Pe}=r.useContext(_.E_),tt=Ue||Pe("notification"),Vt=`${tt}-notice`,[,kt]=B(tt);return r.createElement(y.qX,Object.assign({},Ht,{prefixCls:tt,className:p()(ye,kt,`${Vt}-pure-panel`),eventKey:"pure",duration:null,closable:ct,closeIcon:G(tt,Gt),content:r.createElement(ne,{prefixCls:Vt,icon:Ce,type:Fe,message:je,description:Ge,btn:it})}))};function Q(rt,Ue,ye){let Ce;switch(rt){case"top":Ce={left:"50%",transform:"translateX(-50%)",right:"auto",top:Ue,bottom:"auto"};break;case"topLeft":Ce={left:0,top:Ue,bottom:"auto"};break;case"topRight":Ce={right:0,top:Ue,bottom:"auto"};break;case"bottom":Ce={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ye};break;case"bottomLeft":Ce={left:0,top:"auto",bottom:ye};break;default:Ce={right:0,top:"auto",bottom:ye};break}return Ce}function J(rt){return{motionName:`${rt}-fade`}}var V=function(rt,Ue){var ye={};for(var Ce in rt)Object.prototype.hasOwnProperty.call(rt,Ce)&&Ue.indexOf(Ce)<0&&(ye[Ce]=rt[Ce]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,Ce=Object.getOwnPropertySymbols(rt);Fe<Ce.length;Fe++)Ue.indexOf(Ce[Fe])<0&&Object.prototype.propertyIsEnumerable.call(rt,Ce[Fe])&&(ye[Ce[Fe]]=rt[Ce[Fe]]);return ye};const ue=24,ee=4.5,X="topRight",ce=rt=>{let{children:Ue,prefixCls:ye}=rt;const[,Ce]=B(ye);return r.createElement(y.JB,{classNames:{list:Ce,notice:Ce}},Ue)},z=(rt,Ue)=>{let{prefixCls:ye,key:Ce}=Ue;return r.createElement(ce,{prefixCls:ye,key:Ce},rt)},$=r.forwardRef((rt,Ue)=>{const{top:ye,bottom:Ce,prefixCls:Fe,getContainer:je,maxCount:Ge,rtl:it,onAllRemoved:ct}=rt,{getPrefixCls:Gt,getPopupContainer:Ht,notification:Pe}=r.useContext(_.E_),tt=Fe||Gt("notification"),Vt=qt=>Q(qt,ye!=null?ye:ue,Ce!=null?Ce:ue),kt=()=>p()({[`${tt}-rtl`]:it}),Zt=()=>J(tt),[Nt,At]=(0,y.lm)({prefixCls:tt,style:Vt,className:kt,motion:Zt,closable:!0,closeIcon:G(tt),duration:ee,getContainer:()=>(je==null?void 0:je())||(Ht==null?void 0:Ht())||document.body,maxCount:Ge,onAllRemoved:ct,renderNotifications:z});return r.useImperativeHandle(Ue,()=>Object.assign(Object.assign({},Nt),{prefixCls:tt,notification:Pe})),At});function se(rt){const Ue=r.useRef(null);return[r.useMemo(()=>{const Ce=it=>{var ct;if(!Ue.current)return;const{open:Gt,prefixCls:Ht,notification:Pe}=Ue.current,tt=`${Ht}-notice`,{message:Vt,description:kt,icon:Zt,type:Nt,btn:At,className:qt,style:Ke,role:fe="alert",closeIcon:pe}=it,Dt=V(it,["message","description","icon","type","btn","className","style","role","closeIcon"]),De=G(tt,pe);return Gt(Object.assign(Object.assign({placement:(ct=rt==null?void 0:rt.placement)!==null&&ct!==void 0?ct:X},Dt),{content:r.createElement(ne,{prefixCls:tt,icon:Zt,type:Nt,message:Vt,description:kt,btn:At,role:fe}),className:p()(Nt&&`${tt}-${Nt}`,qt,Pe==null?void 0:Pe.className),style:Object.assign(Object.assign({},Pe==null?void 0:Pe.style),Ke),closeIcon:De,closable:!!De}))},je={open:Ce,destroy:it=>{var ct,Gt;it!==void 0?(ct=Ue.current)===null||ct===void 0||ct.close(it):(Gt=Ue.current)===null||Gt===void 0||Gt.destroy()}};return["success","info","warning","error"].forEach(it=>{je[it]=ct=>Ce(Object.assign(Object.assign({},ct),{type:it}))}),je},[]),r.createElement($,Object.assign({key:"notification-holder"},rt,{ref:Ue}))]}function _e(rt){return se(rt)}let Oe=null,Le=rt=>rt(),He=[],$e={};function Bt(){const{prefixCls:rt,getContainer:Ue,rtl:ye,maxCount:Ce,top:Fe,bottom:je}=$e,Ge=rt!=null?rt:(0,l.w6)().getPrefixCls("notification"),it=(Ue==null?void 0:Ue())||document.body;return{prefixCls:Ge,getContainer:()=>it,rtl:ye,maxCount:Ce,top:Fe,bottom:je}}const yt=r.forwardRef((rt,Ue)=>{const[ye,Ce]=r.useState(Bt),[Fe,je]=se(ye),Ge=(0,l.w6)(),it=Ge.getRootPrefixCls(),ct=Ge.getIconPrefixCls(),Gt=Ge.getTheme(),Ht=()=>{Ce(Bt)};return r.useEffect(Ht,[]),r.useImperativeHandle(Ue,()=>{const Pe=Object.assign({},Fe);return Object.keys(Pe).forEach(tt=>{Pe[tt]=function(){return Ht(),Fe[tt].apply(Fe,arguments)}}),{instance:Pe,sync:Ht}}),r.createElement(l.ZP,{prefixCls:it,iconPrefixCls:ct,theme:Gt},je)});function It(){if(!Oe){const rt=document.createDocumentFragment(),Ue={fragment:rt};Oe=Ue,Le(()=>{(0,i.s)(r.createElement(yt,{ref:ye=>{const{instance:Ce,sync:Fe}=ye||{};Promise.resolve().then(()=>{!Ue.instance&&Ce&&(Ue.instance=Ce,Ue.sync=Fe,It())})}}),rt)});return}Oe.instance&&(He.forEach(rt=>{switch(rt.type){case"open":{Le(()=>{Oe.instance.open(Object.assign(Object.assign({},$e),rt.config))});break}case"destroy":Le(()=>{Oe==null||Oe.instance.destroy(rt.key)});break}}),He=[])}function rr(rt){$e=Object.assign(Object.assign({},$e),rt),Le(()=>{var Ue;(Ue=Oe==null?void 0:Oe.sync)===null||Ue===void 0||Ue.call(Oe)})}function Yt(rt){He.push({type:"open",config:rt}),It()}function lr(rt){He.push({type:"destroy",key:rt}),It()}const Ve=["success","info","warning","error"],Ut={open:Yt,destroy:lr,config:rr,useNotification:_e,_InternalPanelDoNotUseOrYouWillBeFired:le};Ve.forEach(rt=>{Ut[rt]=Ue=>Yt(Object.assign(Object.assign({},Ue),{type:rt}))});const st=()=>{};let xt=null;var ht=Ut},95237:function(d,v,e){"use strict";var r=e(27382);v.Z=r.Z},33234:function(d,v,e){"use strict";e.d(v,{BR:function(){return p},ri:function(){return x}});var r=e(92310),i=e.n(r),l=e(11592),c=e(59301),f=e(36355),o=e(19716),h=e(2856),u=function(b,A){var k={};for(var L in b)Object.prototype.hasOwnProperty.call(b,L)&&A.indexOf(L)<0&&(k[L]=b[L]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,L=Object.getOwnPropertySymbols(b);T<L.length;T++)A.indexOf(L[T])<0&&Object.prototype.propertyIsEnumerable.call(b,L[T])&&(k[L[T]]=b[L[T]]);return k};const a=c.createContext(null),x=(b,A)=>{const k=c.useContext(a),L=c.useMemo(()=>{if(!k)return"";const{compactDirection:T,isFirstItem:D,isLastItem:M}=k,B=T==="vertical"?"-vertical-":"-";return i()(`${b}-compact${B}item`,{[`${b}-compact${B}first-item`]:D,[`${b}-compact${B}last-item`]:M,[`${b}-compact${B}item-rtl`]:A==="rtl"})},[b,A,k]);return{compactSize:k==null?void 0:k.compactSize,compactDirection:k==null?void 0:k.compactDirection,compactItemClassnames:L}},p=b=>{let{children:A}=b;return c.createElement(a.Provider,{value:null},A)},y=b=>{var{children:A}=b,k=u(b,["children"]);return c.createElement(a.Provider,{value:k},A)},_=b=>{const{getPrefixCls:A,direction:k}=c.useContext(f.E_),{size:L,direction:T,block:D,prefixCls:M,className:B,rootClassName:N,children:K}=b,G=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),W=(0,o.Z)(ee=>L!=null?L:ee),ne=A("space-compact",M),[ae,le]=(0,h.Z)(ne),Q=i()(ne,le,{[`${ne}-rtl`]:k==="rtl",[`${ne}-block`]:D,[`${ne}-vertical`]:T==="vertical"},B,N),J=c.useContext(a),V=(0,l.Z)(K),ue=c.useMemo(()=>V.map((ee,X)=>{const ce=ee&&ee.key||`${ne}-item-${X}`;return c.createElement(y,{key:ce,compactSize:W,compactDirection:T,isFirstItem:X===0&&(!J||(J==null?void 0:J.isFirstItem)),isLastItem:X===V.length-1&&(!J||(J==null?void 0:J.isLastItem))},ee)}),[L,V,J]);return V.length===0?null:ae(c.createElement("div",Object.assign({className:Q},G),ue))};v.ZP=_},2856:function(d,v,e){"use strict";e.d(v,{Z:function(){return h}});var r=e(83116),i=e(37613),c=u=>{const{componentCls:a}=u;return{[a]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};const f=u=>{const{componentCls:a}=u;return{[a]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${a}-item:empty`]:{display:"none"}}}},o=u=>{const{componentCls:a}=u;return{[a]:{"&-gap-row-small":{rowGap:u.spaceGapSmallSize},"&-gap-row-middle":{rowGap:u.spaceGapMiddleSize},"&-gap-row-large":{rowGap:u.spaceGapLargeSize},"&-gap-col-small":{columnGap:u.spaceGapSmallSize},"&-gap-col-middle":{columnGap:u.spaceGapMiddleSize},"&-gap-col-large":{columnGap:u.spaceGapLargeSize}}}};var h=(0,r.Z)("Space",u=>{const a=(0,i.TS)(u,{spaceGapSmallSize:u.paddingXS,spaceGapMiddleSize:u.padding,spaceGapLargeSize:u.paddingLG});return[f(a),o(a),c(a)]},()=>({}),{resetStyle:!1})},71418:function(d,v,e){"use strict";e.d(v,{Z:function(){return K}});var r=e(92310),i=e.n(r),l=e(2738),c=e(59301),f=e(53280),o=e(92343),h=e(36355),u=e(36237),a=e(17313),x=e(83116),p=e(37613);const y=new u.Keyframes("antSpinMove",{to:{opacity:1}}),_=new u.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),b=G=>({[`${G.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(G)),{position:"absolute",display:"none",color:G.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${G.motionDurationSlow} ${G.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${G.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:G.contentHeight,[`${G.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-G.dotSize/2},[`${G.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(G.dotSize-G.fontSize)/2+2,textShadow:`0 1px 2px ${G.colorBgContainer}`,fontSize:G.fontSize},[`&${G.componentCls}-show-text ${G.componentCls}-dot`]:{marginTop:-(G.dotSize/2)-10},"&-sm":{[`${G.componentCls}-dot`]:{margin:-G.dotSizeSM/2},[`${G.componentCls}-text`]:{paddingTop:(G.dotSizeSM-G.fontSize)/2+2},[`&${G.componentCls}-show-text ${G.componentCls}-dot`]:{marginTop:-(G.dotSizeSM/2)-10}},"&-lg":{[`${G.componentCls}-dot`]:{margin:-(G.dotSizeLG/2)},[`${G.componentCls}-text`]:{paddingTop:(G.dotSizeLG-G.fontSize)/2+2},[`&${G.componentCls}-show-text ${G.componentCls}-dot`]:{marginTop:-(G.dotSizeLG/2)-10}}},[`${G.componentCls}-container`]:{position:"relative",transition:`opacity ${G.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:G.colorBgContainer,opacity:0,transition:`all ${G.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${G.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:G.spinDotDefault},[`${G.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:G.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(G.dotSize-G.marginXXS/2)/2,height:(G.dotSize-G.marginXXS/2)/2,backgroundColor:G.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:_,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${G.componentCls}-dot`]:{fontSize:G.dotSizeSM,i:{width:(G.dotSizeSM-G.marginXXS/2)/2,height:(G.dotSizeSM-G.marginXXS/2)/2}},[`&-lg ${G.componentCls}-dot`]:{fontSize:G.dotSizeLG,i:{width:(G.dotSizeLG-G.marginXXS)/2,height:(G.dotSizeLG-G.marginXXS)/2}},[`&${G.componentCls}-show-text ${G.componentCls}-text`]:{display:"block"}})});var A=(0,x.Z)("Spin",G=>{const W=(0,p.TS)(G,{spinDotDefault:G.colorTextDescription});return[b(W)]},G=>({contentHeight:400,dotSize:G.controlHeightLG/2,dotSizeSM:G.controlHeightLG*.35,dotSizeLG:G.controlHeight})),k=function(G,W){var ne={};for(var ae in G)Object.prototype.hasOwnProperty.call(G,ae)&&W.indexOf(ae)<0&&(ne[ae]=G[ae]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ae=Object.getOwnPropertySymbols(G);le<ae.length;le++)W.indexOf(ae[le])<0&&Object.prototype.propertyIsEnumerable.call(G,ae[le])&&(ne[ae[le]]=G[ae[le]]);return ne};const L=null;let T=null;function D(G,W){const{indicator:ne}=W,ae=`${G}-dot`;return ne===null?null:(0,o.l$)(ne)?(0,o.Tm)(ne,{className:i()(ne.props.className,ae)}):(0,o.l$)(T)?(0,o.Tm)(T,{className:i()(T.props.className,ae)}):c.createElement("span",{className:i()(ae,`${G}-dot-spin`)},c.createElement("i",{className:`${G}-dot-item`,key:1}),c.createElement("i",{className:`${G}-dot-item`,key:2}),c.createElement("i",{className:`${G}-dot-item`,key:3}),c.createElement("i",{className:`${G}-dot-item`,key:4}))}function M(G,W){return!!G&&!!W&&!isNaN(Number(W))}const B=G=>{const{spinPrefixCls:W,spinning:ne=!0,delay:ae=0,className:le,rootClassName:Q,size:J="default",tip:V,wrapperClassName:ue,style:ee,children:X,hashId:ce}=G,z=k(G,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[$,se]=c.useState(()=>ne&&!M(ne,ae));c.useEffect(()=>{if(ne){const rr=(0,f.D)(ae,()=>{se(!0)});return rr(),()=>{var Yt;(Yt=rr==null?void 0:rr.cancel)===null||Yt===void 0||Yt.call(rr)}}se(!1)},[ae,ne]);const _e=c.useMemo(()=>typeof X!="undefined",[X]),{direction:Oe,spin:Le}=c.useContext(h.E_),He=i()(W,Le==null?void 0:Le.className,{[`${W}-sm`]:J==="small",[`${W}-lg`]:J==="large",[`${W}-spinning`]:$,[`${W}-show-text`]:!!V,[`${W}-rtl`]:Oe==="rtl"},le,Q,ce),$e=i()(`${W}-container`,{[`${W}-blur`]:$}),Bt=(0,l.Z)(z,["indicator","prefixCls"]),yt=Object.assign(Object.assign({},Le==null?void 0:Le.style),ee),It=c.createElement("div",Object.assign({},Bt,{style:yt,className:He,"aria-live":"polite","aria-busy":$}),D(W,G),V&&_e?c.createElement("div",{className:`${W}-text`},V):null);return _e?c.createElement("div",Object.assign({},Bt,{className:i()(`${W}-nested-loading`,ue,ce)}),$&&c.createElement("div",{key:"loading"},It),c.createElement("div",{className:$e,key:"container"},X)):It},N=G=>{const{prefixCls:W}=G,{getPrefixCls:ne}=c.useContext(h.E_),ae=ne("spin",W),[le,Q]=A(ae),J=Object.assign(Object.assign({},G),{spinPrefixCls:ae,hashId:Q});return le(c.createElement(B,Object.assign({},J)))};N.setDefaultIndicator=G=>{T=G};var K=N},74207:function(d,v,e){"use strict";e.d(v,{c:function(){return l}});function r(c,f,o){const{focusElCls:h,focus:u,borderElCls:a}=o,x=a?"> *":"",p=["hover",u?"focus":null,"active"].filter(Boolean).map(y=>`&:${y} ${x}`).join(",");return{[`&-item:not(${f}-last-item)`]:{marginInlineEnd:-c.lineWidth},"&-item":Object.assign(Object.assign({[p]:{zIndex:2}},h?{[`&${h}`]:{zIndex:2}}:{}),{[`&[disabled] ${x}`]:{zIndex:0}})}}function i(c,f,o){const{borderElCls:h}=o,u=h?`> ${h}`:"";return{[`&-item:not(${f}-first-item):not(${f}-last-item) ${u}`]:{borderRadius:0},[`&-item:not(${f}-last-item)${f}-first-item`]:{[`& ${u}, &${c}-sm ${u}, &${c}-lg ${u}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${f}-first-item)${f}-last-item`]:{[`& ${u}, &${c}-sm ${u}, &${c}-lg ${u}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function l(c){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:o}=c,h=`${o}-compact`;return{[h]:Object.assign(Object.assign({},r(c,h,f)),i(o,h,f))}}},17313:function(d,v,e){"use strict";e.d(v,{Lx:function(){return f},Qy:function(){return u},Ro:function(){return l},Wf:function(){return i},dF:function(){return c},du:function(){return o},oN:function(){return h},vS:function(){return r}});const r={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=a=>({boxSizing:"border-box",margin:0,padding:0,color:a.colorText,fontSize:a.fontSize,lineHeight:a.lineHeight,listStyle:"none",fontFamily:a.fontFamily}),l=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),c=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),f=a=>({a:{color:a.colorLink,textDecoration:a.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${a.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:a.colorLinkHover},"&:active":{color:a.colorLinkActive},"&:active,\n &:hover":{textDecoration:a.linkHoverDecoration,outline:0},"&:focus":{textDecoration:a.linkFocusDecoration,outline:0},"&[disabled]":{color:a.colorTextDisabled,cursor:"not-allowed"}}}),o=(a,x)=>{const{fontFamily:p,fontSize:y}=a,_=`[class^="${x}"], [class*=" ${x}"]`;return{[_]:{fontFamily:p,fontSize:y,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[_]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},h=a=>({outline:`${a.lineWidthFocus}px solid ${a.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=a=>({"&:focus-visible":Object.assign({},h(a))})},1950:function(d,v,e){"use strict";e.d(v,{J$:function(){return f}});var r=e(36237),i=e(95406);const l=new r.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),c=new r.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),f=function(o){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:u}=o,a=`${u}-fade`,x=h?"&":"";return[(0,i.R)(a,l,c,o.motionDurationMid,h),{[`
${x}${a}-enter,
${x}${a}-appear
`]:{opacity:0,animationTimingFunction:"linear"},[`${x}${a}-leave`]:{animationTimingFunction:"linear"}}]}},95406:function(d,v,e){"use strict";e.d(v,{R:function(){return l}});const r=c=>({animationDuration:c,animationFillMode:"both"}),i=c=>({animationDuration:c,animationFillMode:"both"}),l=function(c,f,o,h){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
${a}${c}-enter,
${a}${c}-appear
`]:Object.assign(Object.assign({},r(h)),{animationPlayState:"paused"}),[`${a}${c}-leave`]:Object.assign(Object.assign({},i(h)),{animationPlayState:"paused"}),[`
${a}${c}-enter${c}-enter-active,
${a}${c}-appear${c}-appear-active
`]:{animationName:f,animationPlayState:"running"},[`${a}${c}-leave${c}-leave-active`]:{animationName:o,animationPlayState:"running",pointerEvents:"none"}}}},29878:function(d,v,e){"use strict";e.d(v,{_y:function(){return k},kr:function(){return l}});var r=e(36237),i=e(95406);const l=new r.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),c=new r.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),f=new r.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),o=new r.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),h=new r.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),a=new r.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),x=new r.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new r.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),y=new r.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),_=new r.Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),b=new r.Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),A={zoom:{inKeyframes:l,outKeyframes:c},"zoom-big":{inKeyframes:f,outKeyframes:o},"zoom-big-fast":{inKeyframes:f,outKeyframes:o},"zoom-left":{inKeyframes:a,outKeyframes:x},"zoom-right":{inKeyframes:p,outKeyframes:y},"zoom-up":{inKeyframes:h,outKeyframes:u},"zoom-down":{inKeyframes:_,outKeyframes:b}},k=(L,T)=>{const{antCls:D}=L,M=`${D}-${T}`,{inKeyframes:B,outKeyframes:N}=A[T];return[(0,i.R)(M,B,N,T==="zoom-big-fast"?L.motionDurationFast:L.motionDurationMid),{[`
${M}-enter,
${M}-appear
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:L.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${M}-leave`]:{animationTimingFunction:L.motionEaseInOutCirc}}]}},19447:function(d,v,e){"use strict";e.d(v,{ZP:function(){return f},fS:function(){return l},qN:function(){return i}});var r=e(47585);const i=8;function l(o){const h=i,{contentRadius:u,limitVerticalRadius:a}=o,x=u>12?u+2:12;return{dropdownArrowOffset:x,dropdownArrowOffsetVertical:a?h:x}}function c(o,h){return o?h:{}}function f(o,h){const{componentCls:u,sizePopupArrow:a,borderRadiusXS:x,borderRadiusOuter:p,boxShadowPopoverArrow:y}=o,{colorBg:_,contentRadius:b=o.borderRadiusLG,limitVerticalRadius:A,arrowDistance:k=0,arrowPlacement:L={left:!0,right:!0,top:!0,bottom:!0}}=h,{dropdownArrowOffsetVertical:T,dropdownArrowOffset:D}=l({contentRadius:b,limitVerticalRadius:A});return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.r)(a,x,p,_,y)),{"&:before":{background:_}})]},c(!!L.top,{[[`&-placement-top ${u}-arrow`,`&-placement-topLeft ${u}-arrow`,`&-placement-topRight ${u}-arrow`].join(",")]:{bottom:k,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:D}},[`&-placement-topRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),c(!!L.bottom,{[[`&-placement-bottom ${u}-arrow`,`&-placement-bottomLeft ${u}-arrow`,`&-placement-bottomRight ${u}-arrow`].join(",")]:{top:k,transform:"translateY(-100%)"},[`&-placement-bottom ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${u}-arrow`]:{left:{_skip_check_:!0,value:D}},[`&-placement-bottomRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),c(!!L.left,{[[`&-placement-left ${u}-arrow`,`&-placement-leftTop ${u}-arrow`,`&-placement-leftBottom ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:k},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${u}-arrow`]:{top: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:k},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${u}-arrow`]:{top:T},[`&-placement-rightBottom ${u}-arrow`]:{bottom:T}}))}}},47585:function(d,v,e){"use strict";e.d(v,{r:function(){return r}});const r=(i,l,c,f,o)=>{const h=i/2,u=0,a=h,x=c*1/Math.sqrt(2),p=h-c*(1-1/Math.sqrt(2)),y=h-l*(1/Math.sqrt(2)),_=c*(Math.sqrt(2)-1)+l*(1/Math.sqrt(2)),b=2*h-y,A=_,k=2*h-x,L=p,T=2*h-u,D=a,M=h*Math.sqrt(2)+c*(Math.sqrt(2)-2),B=c*(Math.sqrt(2)-1);return{pointerEvents:"none",width:i,height:i,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:i,height:i/2,background:f,clipPath:{_multi_value_:!0,value:[`polygon(${B}px 100%, 50% ${B}px, ${2*h-B}px 100%, ${B}px 100%)`,`path('M ${u} ${a} A ${c} ${c} 0 0 0 ${x} ${p} L ${y} ${_} A ${l} ${l} 0 0 1 ${b} ${A} L ${k} ${L} A ${c} ${c} 0 0 0 ${T} ${D} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:M,height:M,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${l}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}}},45246:function(d,v,e){"use strict";e.d(v,{Mj:function(){return K},u_:function(){return N},uH:function(){return B}});var r=e(36237),i=e(59301),l=e(30071),f=G=>{const{controlHeight:W}=G;return{controlHeightSM:W*.75,controlHeightXS:W*.5,controlHeightLG:W*1.25}};function o(G){const{sizeUnit:W,sizeStep:ne}=G;return{sizeXXL:W*(ne+8),sizeXL:W*(ne+4),sizeLG:W*(ne+2),sizeMD:W*(ne+1),sizeMS:W*ne,size:W*ne,sizeSM:W*(ne-1),sizeXS:W*(ne-2),sizeXXS:W*(ne-3)}}var h=e(34117),u=e(64993);function a(G,W){let{generateColorPalettes:ne,generateNeutralColorPalettes:ae}=W;const{colorSuccess:le,colorWarning:Q,colorError:J,colorInfo:V,colorPrimary:ue,colorBgBase:ee,colorTextBase:X}=G,ce=ne(ue),z=ne(le),$=ne(Q),se=ne(J),_e=ne(V),Oe=ae(ee,X),Le=G.colorLink||G.colorInfo,He=ne(Le);return Object.assign(Object.assign({},Oe),{colorPrimaryBg:ce[1],colorPrimaryBgHover:ce[2],colorPrimaryBorder:ce[3],colorPrimaryBorderHover:ce[4],colorPrimaryHover:ce[5],colorPrimary:ce[6],colorPrimaryActive:ce[7],colorPrimaryTextHover:ce[8],colorPrimaryText:ce[9],colorPrimaryTextActive:ce[10],colorSuccessBg:z[1],colorSuccessBgHover:z[2],colorSuccessBorder:z[3],colorSuccessBorderHover:z[4],colorSuccessHover:z[4],colorSuccess:z[6],colorSuccessActive:z[7],colorSuccessTextHover:z[8],colorSuccessText:z[9],colorSuccessTextActive:z[10],colorErrorBg:se[1],colorErrorBgHover:se[2],colorErrorBorder:se[3],colorErrorBorderHover:se[4],colorErrorHover:se[5],colorError:se[6],colorErrorActive:se[7],colorErrorTextHover:se[8],colorErrorText:se[9],colorErrorTextActive:se[10],colorWarningBg:$[1],colorWarningBgHover:$[2],colorWarningBorder:$[3],colorWarningBorderHover:$[4],colorWarningHover:$[4],colorWarning:$[6],colorWarningActive:$[7],colorWarningTextHover:$[8],colorWarningText:$[9],colorWarningTextActive:$[10],colorInfoBg:_e[1],colorInfoBgHover:_e[2],colorInfoBorder:_e[3],colorInfoBorderHover:_e[4],colorInfoHover:_e[4],colorInfo:_e[6],colorInfoActive:_e[7],colorInfoTextHover:_e[8],colorInfoText:_e[9],colorInfoTextActive:_e[10],colorLinkHover:He[4],colorLink:He[6],colorLinkActive:He[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=G=>{let W=G,ne=G,ae=G,le=G;return G<6&&G>=5?W=G+1:G<16&&G>=6?W=G+2:G>=16&&(W=16),G<7&&G>=5?ne=4:G<8&&G>=7?ne=5:G<14&&G>=8?ne=6:G<16&&G>=14?ne=7:G>=16&&(ne=8),G<6&&G>=2?ae=1:G>=6&&(ae=2),G>4&&G<8?le=4:G>=8&&(le=6),{borderRadius:G>16?16:G,borderRadiusXS:ae,borderRadiusSM:ne,borderRadiusLG:W,borderRadiusOuter:le}};function y(G){const{motionUnit:W,motionBase:ne,borderRadius:ae,lineWidth:le}=G;return Object.assign({motionDurationFast:`${(ne+W).toFixed(1)}s`,motionDurationMid:`${(ne+W*2).toFixed(1)}s`,motionDurationSlow:`${(ne+W*3).toFixed(1)}s`,lineWidthBold:le+1},p(ae))}const _=(G,W)=>new u.C(G).setAlpha(W).toRgbString(),b=(G,W)=>new u.C(G).darken(W).toHexString(),A=G=>{const W=(0,l.generate)(G);return{1:W[0],2:W[1],3:W[2],4:W[3],5:W[4],6:W[5],7:W[6],8:W[4],9:W[5],10:W[6]}},k=(G,W)=>{const ne=G||"#fff",ae=W||"#000";return{colorBgBase:ne,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(ne,4),colorBgContainer:b(ne,0),colorBgElevated:b(ne,0),colorBgSpotlight:_(ae,.85),colorBorder:b(ne,15),colorBorderSecondary:b(ne,6)}};function L(G){const W=new Array(10).fill(null).map((ne,ae)=>{const le=ae-1,Q=G*Math.pow(2.71828,le/5),J=ae>1?Math.floor(Q):Math.ceil(Q);return Math.floor(J/2)*2});return W[1]=G,W.map(ne=>{const ae=ne+8;return{size:ne,lineHeight:ae/ne}})}var D=G=>{const W=L(G),ne=W.map(le=>le.size),ae=W.map(le=>le.lineHeight);return{fontSizeSM:ne[0],fontSize:ne[1],fontSizeLG:ne[2],fontSizeXL:ne[3],fontSizeHeading1:ne[6],fontSizeHeading2:ne[5],fontSizeHeading3:ne[4],fontSizeHeading4:ne[3],fontSizeHeading5:ne[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 M(G){const W=Object.keys(h.M).map(ne=>{const ae=(0,l.generate)(G[ne]);return new Array(10).fill(1).reduce((le,Q,J)=>(le[`${ne}-${J+1}`]=ae[J],le[`${ne}${J+1}`]=ae[J],le),{})}).reduce((ne,ae)=>(ne=Object.assign(Object.assign({},ne),ae),ne),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},G),W),a(G,{generateColorPalettes:A,generateNeutralColorPalettes:k})),D(G.fontSize)),o(G)),f(G)),y(G))}const B=(0,r.createTheme)(M),N={token:h.Z,hashed:!0},K=i.createContext(N)},33166:function(d,v,e){"use strict";e.d(v,{i:function(){return r}});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},34117:function(d,v,e){"use strict";e.d(v,{M:function(){return r}});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},i=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});v.Z=i},88088:function(d,v,e){"use strict";e.d(v,{Z:function(){return A}});var r=e(36237),i=e(59301),l="5.9.0",c=l,f=e(45246),o=e(34117),h=e(64993);function u(k){return k>=0&&k<=255}function a(k,L){const{r:T,g:D,b:M,a:B}=new h.C(k).toRgb();if(B<1)return k;const{r:N,g:K,b:G}=new h.C(L).toRgb();for(let W=.01;W<=1;W+=.01){const ne=Math.round((T-N*(1-W))/W),ae=Math.round((D-K*(1-W))/W),le=Math.round((M-G*(1-W))/W);if(u(ne)&&u(ae)&&u(le))return new h.C({r:ne,g:ae,b:le,a:Math.round(W*100)/100}).toRgbString()}return new h.C({r:T,g:D,b:M,a:1}).toRgbString()}var x=a,p=function(k,L){var T={};for(var D in k)Object.prototype.hasOwnProperty.call(k,D)&&L.indexOf(D)<0&&(T[D]=k[D]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(k);M<D.length;M++)L.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(k,D[M])&&(T[D[M]]=k[D[M]]);return T};function y(k){const{override:L}=k,T=p(k,["override"]),D=Object.assign({},L);Object.keys(o.Z).forEach(le=>{delete D[le]});const M=Object.assign(Object.assign({},T),D),B=480,N=576,K=768,G=992,W=1200,ne=1600;if(M.motion===!1){const le="0s";M.motionDurationFast=le,M.motionDurationMid=le,M.motionDurationSlow=le}return Object.assign(Object.assign(Object.assign({},M),{colorFillContent:M.colorFillSecondary,colorFillContentHover:M.colorFill,colorFillAlter:M.colorFillQuaternary,colorBgContainerDisabled:M.colorFillTertiary,colorBorderBg:M.colorBgContainer,colorSplit:x(M.colorBorderSecondary,M.colorBgContainer),colorTextPlaceholder:M.colorTextQuaternary,colorTextDisabled:M.colorTextQuaternary,colorTextHeading:M.colorText,colorTextLabel:M.colorTextSecondary,colorTextDescription:M.colorTextTertiary,colorTextLightSolid:M.colorWhite,colorHighlight:M.colorError,colorBgTextHover:M.colorFillSecondary,colorBgTextActive:M.colorFill,colorIcon:M.colorTextTertiary,colorIconHover:M.colorText,colorErrorOutline:x(M.colorErrorBg,M.colorBgContainer),colorWarningOutline:x(M.colorWarningBg,M.colorBgContainer),fontSizeIcon:M.fontSizeSM,lineWidthFocus:M.lineWidth*4,lineWidth:M.lineWidth,controlOutlineWidth:M.lineWidth*2,controlInteractiveSize:M.controlHeight/2,controlItemBgHover:M.colorFillTertiary,controlItemBgActive:M.colorPrimaryBg,controlItemBgActiveHover:M.colorPrimaryBgHover,controlItemBgActiveDisabled:M.colorFill,controlTmpOutline:M.colorFillQuaternary,controlOutline:x(M.colorPrimaryBg,M.colorBgContainer),lineType:M.lineType,borderRadius:M.borderRadius,borderRadiusXS:M.borderRadiusXS,borderRadiusSM:M.borderRadiusSM,borderRadiusLG:M.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:M.sizeXXS,paddingXS:M.sizeXS,paddingSM:M.sizeSM,padding:M.size,paddingMD:M.sizeMD,paddingLG:M.sizeLG,paddingXL:M.sizeXL,paddingContentHorizontalLG:M.sizeLG,paddingContentVerticalLG:M.sizeMS,paddingContentHorizontal:M.sizeMS,paddingContentVertical:M.sizeSM,paddingContentHorizontalSM:M.size,paddingContentVerticalSM:M.sizeXS,marginXXS:M.sizeXXS,marginXS:M.sizeXS,marginSM:M.sizeSM,margin:M.size,marginMD:M.sizeMD,marginLG:M.sizeLG,marginXL:M.sizeXL,marginXXL:M.sizeXXL,boxShadow:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowSecondary:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowTertiary:`
0 1px 2px 0 rgba(0, 0, 0, 0.03),
0 1px 6px -1px rgba(0, 0, 0, 0.02),
0 2px 4px 0 rgba(0, 0, 0, 0.02)
`,screenXS:B,screenXSMin:B,screenXSMax:N-1,screenSM:N,screenSMMin:N,screenSMMax:K-1,screenMD:K,screenMDMin:K,screenMDMax:G-1,screenLG:G,screenLGMin:G,screenLGMax:W-1,screenXL:W,screenXLMin:W,screenXLMax:ne-1,screenXXL:ne,screenXXLMin:ne,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
0 1px 2px -2px ${new h.C("rgba(0, 0, 0, 0.16)").toRgbString()},
0 3px 6px 0 ${new h.C("rgba(0, 0, 0, 0.12)").toRgbString()},
0 5px 12px 4px ${new h.C("rgba(0, 0, 0, 0.09)").toRgbString()}
`,boxShadowDrawerRight:`
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerLeft:`
6px 0 16px 0 rgba(0, 0, 0, 0.08),
3px 0 6px -4px rgba(0, 0, 0, 0.12),
9px 0 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerUp:`
0 6px 16px 0 rgba(0, 0, 0, 0.08),
0 3px 6px -4px rgba(0, 0, 0, 0.12),
0 9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowDrawerDown:`
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),D)}var _=function(k,L){var T={};for(var D in k)Object.prototype.hasOwnProperty.call(k,D)&&L.indexOf(D)<0&&(T[D]=k[D]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(k);M<D.length;M++)L.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(k,D[M])&&(T[D[M]]=k[D[M]]);return T};const b=(k,L,T)=>{const D=T.getDerivativeToken(k),{override:M}=L,B=_(L,["override"]);let N=Object.assign(Object.assign({},D),{override:M});return N=y(N),B&&Object.entries(B).forEach(K=>{let[G,W]=K;const{theme:ne}=W,ae=_(W,["theme"]);let le=ae;ne&&(le=b(Object.assign(Object.assign({},N),ae),{override:ae},ne)),N[G]=le}),N};function A(){const{token:k,hashed:L,theme:T,components:D}=i.useContext(f.Mj),M=`${c}-${L||""}`,B=T||f.uH,[N,K]=(0,r.useCacheToken)(B,[o.Z,k],{salt:M,override:Object.assign({override:k},D),getComputedToken:b,formatToken:y});return[B,N,L?K:""]}},83116:function(d,v,e){"use strict";e.d(v,{Z:function(){return a},b:function(){return x}});var r=e(59301),i=e(36237),l=e(70425),c=e(36355),f=e(17313),o=e(88088),h=e(37613),u=e(73040);function a(p,y,_){let b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const A=Array.isArray(p)?p:[p,p],[k]=A,L=A.join("-");return T=>{const[D,M,B]=(0,o.Z)(),{getPrefixCls:N,iconPrefixCls:K,csp:G}=(0,r.useContext)(c.E_),W=N(),ne={theme:D,token:M,hashId:B,nonce:()=>G==null?void 0:G.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},ne),{clientOnly:!1,path:["Shared",W]}),()=>[{"&":(0,f.Lx)(M)}]),(0,u.Z)(K),[(0,i.useStyleRegister)(Object.assign(Object.assign({},ne),{path:[L,T,K]}),()=>{const{token:ae,flush:le}=(0,h.ZP)(M),Q=Object.assign({},M[k]);if(b.deprecatedTokens){const{deprecatedTokens:ce}=b;ce.forEach(z=>{let[$,se]=z;var _e;(Q!=null&&Q[$]||Q!=null&&Q[se])&&((_e=Q[se])!==null&&_e!==void 0||(Q[se]=Q==null?void 0:Q[$]))})}const J=typeof _=="function"?_((0,h.TS)(ae,Q!=null?Q:{})):_,V=Object.assign(Object.assign({},J),Q),ue=`.${T}`,ee=(0,h.TS)(ae,{componentCls:ue,prefixCls:T,iconCls:`.${K}`,antCls:`.${W}`},V),X=y(ee,{hashId:B,prefixCls:T,rootPrefixCls:W,iconPrefixCls:K,overrideComponentToken:Q});return le(k,V),[b.resetStyle===!1?null:(0,f.du)(M,T),X]}),B]}}const x=(p,y,_,b)=>{const A=a(p,y,_,Object.assign({resetStyle:!1,order:-998},b));return L=>{let{prefixCls:T}=L;return A(T),null}}},45157:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(33166);function i(l,c){return r.i.reduce((f,o)=>{const h=l[`${o}1`],u=l[`${o}3`],a=l[`${o}6`],x=l[`${o}7`];return Object.assign(Object.assign({},f),c(o,{lightColor:h,lightBorderColor:u,darkColor:a,textColor:x}))},{})}},37613:function(d,v,e){"use strict";e.d(v,{TS:function(){return l},ZP:function(){return h}});const r=typeof CSSINJS_STATISTIC!="undefined";let i=!0;function l(){for(var u=arguments.length,a=new Array(u),x=0;x<u;x++)a[x]=arguments[x];if(!r)return Object.assign.apply(Object,[{}].concat(a));i=!1;const p={};return a.forEach(y=>{Object.keys(y).forEach(b=>{Object.defineProperty(p,b,{configurable:!0,enumerable:!0,get:()=>y[b]})})}),i=!0,p}const c={},f={};function o(){}function h(u){let a,x=u,p=o;return r&&(a=new Set,x=new Proxy(u,{get(y,_){return i&&a.add(_),y[_]}}),p=(y,_)=>{var b;c[y]={global:Array.from(a),component:Object.assign(Object.assign({},(b=c[y])===null||b===void 0?void 0:b.component),_)}}),{token:x,keys:a,flush:p}}},73040:function(d,v,e){"use strict";var r=e(36237),i=e(17313),l=e(88088);const c=(f,o)=>{const[h,u]=(0,l.Z)();return(0,r.useStyleRegister)({theme:h,token:u,hashId:"",path:["ant-design-icons",f],nonce:()=>o==null?void 0:o.nonce},()=>[{[`.${f}`]:Object.assign(Object.assign({},(0,i.Ro)()),{[`.${f} .${f}-icon`]:{display:"block"}})}])};v.Z=c},67532:function(d,v){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};v.Z=e},6848:function(d,v,e){"use strict";e.d(v,{Z:function(){return le}});var r=e(59301),i=e(92310),l=e.n(i),c=e(55477),f=e(18929),o=e(62892),h=e(79676),u=e(92343),a=e(36355),x=e(33234),p=e(88088),y=e(17313),_=e(29878),b=e(19447),A=e(45157),k=e(37613),L=e(83116);const T=Q=>{const{componentCls:J,tooltipMaxWidth:V,tooltipColor:ue,tooltipBg:ee,tooltipBorderRadius:X,zIndexPopup:ce,controlHeight:z,boxShadowSecondary:$,paddingSM:se,paddingXS:_e,tooltipRadiusOuter:Oe}=Q;return[{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(Q)),{position:"absolute",zIndex:ce,display:"block",width:"max-content",maxWidth:V,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":ee,[`${J}-inner`]:{minWidth:z,minHeight:z,padding:`${se/2}px ${_e}px`,color:ue,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:ee,borderRadius:X,boxShadow:$,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${J}-inner`]:{borderRadius:Math.min(X,b.qN)}},[`${J}-content`]:{position:"relative"}}),(0,A.Z)(Q,(Le,He)=>{let{darkColor:$e}=He;return{[`&${J}-${Le}`]:{[`${J}-inner`]:{backgroundColor:$e},[`${J}-arrow`]:{"--antd-arrow-background-color":$e}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,k.TS)(Q,{borderRadiusOuter:Oe}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:X,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:ee,colorTextLightSolid:X,colorBgDefault:ce,borderRadiusOuter:z}=ue,$=(0,k.TS)(ue,{tooltipMaxWidth:250,tooltipColor:X,tooltipBorderRadius:ee,tooltipBg:ce,tooltipRadiusOuter:z>4?4:z});return[T($),(0,_._y)(ue,"zoom-big-fast")]},ue=>{let{zIndexPopupBase:ee,colorBgSpotlight:X}=ue;return{zIndexPopup:ee+70,colorBgDefault:X}},{resetStyle:!1})(Q),M=e(36785);function B(Q,J){const V=(0,M.o2)(J),ue=l()({[`${Q}-${J}`]:J&&V}),ee={},X={};return J&&!V&&(ee.background=J,X["--antd-arrow-background-color"]=J),{className:ue,overlayStyle:ee,arrowStyle:X}}var K=Q=>{const{prefixCls:J,className:V,placement:ue="top",title:ee,color:X,overlayInnerStyle:ce}=Q,{getPrefixCls:z}=r.useContext(a.E_),$=z("tooltip",J),[se,_e]=D($,!0),Oe=B($,X),Le=Oe.arrowStyle,He=Object.assign(Object.assign({},ce),Oe.overlayStyle),$e=l()(_e,$,`${$}-pure`,`${$}-placement-${ue}`,V,Oe.className);return se(r.createElement("div",{className:$e,style:Le},r.createElement("div",{className:`${$}-arrow`}),r.createElement(c.G,Object.assign({},Q,{className:_e,prefixCls:$,overlayInnerStyle:He}),ee)))},G=function(Q,J){var V={};for(var ue in Q)Object.prototype.hasOwnProperty.call(Q,ue)&&J.indexOf(ue)<0&&(V[ue]=Q[ue]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,ue=Object.getOwnPropertySymbols(Q);ee<ue.length;ee++)J.indexOf(ue[ee])<0&&Object.prototype.propertyIsEnumerable.call(Q,ue[ee])&&(V[ue[ee]]=Q[ue[ee]]);return V};const W=(Q,J)=>{const V={},ue=Object.assign({},Q);return J.forEach(ee=>{Q&&ee in Q&&(V[ee]=Q[ee],delete ue[ee])}),{picked:V,omitted:ue}};function ne(Q,J){const V=Q.type;if((V.__ANT_BUTTON===!0||Q.type==="button")&&Q.props.disabled||V.__ANT_SWITCH===!0&&(Q.props.disabled||Q.props.loading)||V.__ANT_RADIO===!0&&Q.props.disabled){const{picked:ue,omitted:ee}=W(Q.props.style,["position","left","right","top","bottom","float","display","zIndex"]),X=Object.assign(Object.assign({display:"inline-block"},ue),{cursor:"not-allowed",width:Q.props.block?"100%":void 0}),ce=Object.assign(Object.assign({},ee),{pointerEvents:"none"}),z=(0,u.Tm)(Q,{style:ce,className:null});return r.createElement("span",{style:X,className:l()(Q.props.className,`${J}-disabled-compatible-wrapper`)},z)}return Q}const ae=r.forwardRef((Q,J)=>{var V,ue;const{prefixCls:ee,openClassName:X,getTooltipContainer:ce,overlayClassName:z,color:$,overlayInnerStyle:se,children:_e,afterOpenChange:Oe,afterVisibleChange:Le,destroyTooltipOnHide:He,arrow:$e=!0,title:Bt,overlay:yt,builtinPlacements:It,arrowPointAtCenter:rr=!1,autoAdjustOverflow:Yt=!0}=Q,lr=!!$e,[,Ve]=(0,p.Z)(),{getPopupContainer:Ct,getPrefixCls:Ut,direction:st}=r.useContext(a.E_),xt=r.useRef(null),ht=()=>{var Re;(Re=xt.current)===null||Re===void 0||Re.forceAlign()};r.useImperativeHandle(J,()=>({forceAlign:ht,forcePopupAlign:()=>{ht()}}));const[rt,Ue]=(0,f.Z)(!1,{value:(V=Q.open)!==null&&V!==void 0?V:Q.visible,defaultValue:(ue=Q.defaultOpen)!==null&&ue!==void 0?ue:Q.defaultVisible}),ye=!Bt&&!yt&&Bt!==0,Ce=Re=>{var wt,xe;Ue(ye?!1:Re),ye||((wt=Q.onOpenChange)===null||wt===void 0||wt.call(Q,Re),(xe=Q.onVisibleChange)===null||xe===void 0||xe.call(Q,Re))},Fe=r.useMemo(()=>{var Re,wt;let xe=rr;return typeof $e=="object"&&(xe=(wt=(Re=$e.pointAtCenter)!==null&&Re!==void 0?Re:$e.arrowPointAtCenter)!==null&&wt!==void 0?wt:rr),It||(0,h.Z)({arrowPointAtCenter:xe,autoAdjustOverflow:Yt,arrowWidth:lr?Ve.sizePopupArrow:0,borderRadius:Ve.borderRadius,offset:Ve.marginXXS,visibleFirst:!0})},[rr,$e,It,Ve]),je=r.useMemo(()=>Bt===0?Bt:yt||Bt||"",[yt,Bt]),Ge=r.createElement(x.BR,null,typeof je=="function"?je():je),{getPopupContainer:it,placement:ct="top",mouseEnterDelay:Gt=.1,mouseLeaveDelay:Ht=.1,overlayStyle:Pe,rootClassName:tt}=Q,Vt=G(Q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),kt=Ut("tooltip",ee),Zt=Ut(),Nt=Q["data-popover-inject"];let At=rt;!("open"in Q)&&!("visible"in Q)&&ye&&(At=!1);const qt=ne((0,u.l$)(_e)&&!(0,u.M2)(_e)?_e:r.createElement("span",null,_e),kt),Ke=qt.props,fe=!Ke.className||typeof Ke.className=="string"?l()(Ke.className,X||`${kt}-open`):Ke.className,[pe,Dt]=D(kt,!Nt),De=B(kt,$),ft=De.arrowStyle,zt=Object.assign(Object.assign({},se),De.overlayStyle),Et=l()(z,{[`${kt}-rtl`]:st==="rtl"},De.className,tt,Dt);return pe(r.createElement(c.Z,Object.assign({},Vt,{showArrow:lr,placement:ct,mouseEnterDelay:Gt,mouseLeaveDelay:Ht,prefixCls:kt,overlayClassName:Et,overlayStyle:Object.assign(Object.assign({},ft),Pe),getTooltipContainer:it||ce||Ct,ref:xt,builtinPlacements:Fe,overlay:Ge,visible:At,onVisibleChange:Ce,afterVisibleChange:Oe!=null?Oe:Le,overlayInnerStyle:zt,arrowContent:r.createElement("span",{className:`${kt}-arrow-content`}),motion:{motionName:(0,o.m)(Zt,"zoom-big-fast",Q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!He}),At?(0,u.Tm)(qt,{className:fe}):qt))});ae._InternalPanelDoNotUseOrYouWillBeFired=K;var le=ae},11575:function(d,v,e){"use strict";e.d(v,{H:function(){return f}});var r=e(70425),i=e(59301);function l(){}const c=i.createContext({add:l,remove:l});function f(h){const u=i.useContext(c),a=i.useRef();return(0,r.useEvent)(p=>{if(p){const y=h?p.querySelector(h):p;u.add(y),a.current=y}else u.remove(a.current)})}var o=null},67751:function(d){var v={utf8:{stringToBytes:function(e){return v.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(v.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var r=[],i=0;i<e.length;i++)r.push(e.charCodeAt(i)&255);return r},bytesToString:function(e){for(var r=[],i=0;i<e.length;i++)r.push(String.fromCharCode(e[i]));return r.join("")}}};d.exports=v},64018:function(){var d,v,e,r=!1,i,l;window.PR_SHOULD_USE_CONTINUATION=!0;var c,f;(function(){var o=window,h=["break,continue,do,else,for,if,return,while"],u=[h,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],a=[u,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],x=[a,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],p=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],y=[a,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],_="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",b=[a,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],A="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",k=[h,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],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,A,k,L,T],M=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,B="str",N="kwd",K="com",G="typ",W="lit",ne="pun",ae="pln",le="tag",Q="dec",J="src",V="atn",ue="atv",ee="nocode",X="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ce(st){for(var xt=0,ht=!1,rt=!1,Ue=0,ye=st.length;Ue<ye;++Ue){var Ce=st[Ue];if(Ce.ignoreCase)rt=!0;else if(/[a-z]/i.test(Ce.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ht=!0,rt=!1;break}}var Fe={b:8,t:9,n:10,v:11,f:12,r:13};function je(Ht){var Pe=Ht.charCodeAt(0);if(Pe!==92)return Pe;var tt=Ht.charAt(1);return Pe=Fe[tt],Pe||("0"<=tt&&tt<="7"?parseInt(Ht.substring(1),8):tt==="u"||tt==="x"?parseInt(Ht.substring(2),16):Ht.charCodeAt(1))}function Ge(Ht){if(Ht<32)return(Ht<16?"\\x0":"\\x")+Ht.toString(16);var Pe=String.fromCharCode(Ht);return Pe==="\\"||Pe==="-"||Pe==="]"||Pe==="^"?"\\"+Pe:Pe}function it(Ht){var Pe=Ht.substring(1,Ht.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),tt=[],Vt=Pe[0]==="^",kt=["["];Vt&&kt.push("^");for(var Zt=Vt?1:0,Nt=Pe.length;Zt<Nt;++Zt){var At=Pe[Zt];if(/\\[bdsw]/i.test(At))kt.push(At);else{var qt=je(At),Ke;Zt+2<Nt&&Pe[Zt+1]==="-"?(Ke=je(Pe[Zt+2]),Zt+=2):Ke=qt,tt.push([qt,Ke]),Ke<65||qt>122||(Ke<65||qt>90||tt.push([Math.max(65,qt)|32,Math.min(Ke,90)|32]),Ke<97||qt>122||tt.push([Math.max(97,qt)&-33,Math.min(Ke,122)&-33]))}}tt.sort(function(De,ft){return De[0]-ft[0]||ft[1]-De[1]});for(var fe=[],pe=[],Zt=0;Zt<tt.length;++Zt){var Dt=tt[Zt];Dt[0]<=pe[1]+1?pe[1]=Math.max(pe[1],Dt[1]):fe.push(pe=Dt)}for(var Zt=0;Zt<fe.length;++Zt){var Dt=fe[Zt];kt.push(Ge(Dt[0])),Dt[1]>Dt[0]&&(Dt[1]+1>Dt[0]&&kt.push("-"),kt.push(Ge(Dt[1])))}return kt.push("]"),kt.join("")}function ct(Ht){for(var Pe=Ht.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),tt=Pe.length,Vt=[],kt=0,Zt=0;kt<tt;++kt){var Nt=Pe[kt];if(Nt==="(")++Zt;else if(Nt.charAt(0)==="\\"){var At=+Nt.substring(1);At&&(At<=Zt?Vt[At]=-1:Pe[kt]=Ge(At))}}for(var kt=1;kt<Vt.length;++kt)Vt[kt]===-1&&(Vt[kt]=++xt);for(var kt=0,Zt=0;kt<tt;++kt){var Nt=Pe[kt];if(Nt==="(")++Zt,Vt[Zt]||(Pe[kt]="(?:");else if(Nt.charAt(0)==="\\"){var At=+Nt.substring(1);At&&At<=Zt&&(Pe[kt]="\\"+Vt[At])}}for(var kt=0;kt<tt;++kt)Pe[kt]==="^"&&Pe[kt+1]!=="^"&&(Pe[kt]="");if(Ht.ignoreCase&&ht)for(var kt=0;kt<tt;++kt){var Nt=Pe[kt],qt=Nt.charAt(0);Nt.length>=2&&qt==="["?Pe[kt]=it(Nt):qt!=="\\"&&(Pe[kt]=Nt.replace(/[a-zA-Z]/g,function(pe){var Dt=pe.charCodeAt(0);return"["+String.fromCharCode(Dt&-33,Dt|32)+"]"}))}return Pe.join("")}for(var Gt=[],Ue=0,ye=st.length;Ue<ye;++Ue){var Ce=st[Ue];if(Ce.global||Ce.multiline)throw new Error(""+Ce);Gt.push("(?:"+ct(Ce)+")")}return new RegExp(Gt.join("|"),rt?"gi":"g")}function z(st,xt){var ht=/(?:^|\s)nocode(?:\s|$)/,rt=[],Ue=0,ye=[],Ce=0;function Fe(je){var Ge=je.nodeType;if(Ge==1){if(ht.test(je.className))return;for(var it=je.firstChild;it;it=it.nextSibling)Fe(it);var ct=je.nodeName.toLowerCase();(ct==="br"||ct==="li")&&(rt[Ce]=`
`,ye[Ce<<1]=Ue++,ye[Ce++<<1|1]=je)}else if(Ge==3||Ge==4){var Gt=je.nodeValue;Gt.length&&(xt?Gt=Gt.replace(/\r\n?/g,`
`):Gt=Gt.replace(/[ \t\r\n]+/g," "),rt[Ce]=Gt,ye[Ce<<1]=Ue,Ue+=Gt.length,ye[Ce++<<1|1]=je)}}return Fe(st),{sourceCode:rt.join("").replace(/\n$/,""),spans:ye}}function $(st,xt,ht,rt,Ue){if(ht){var ye={sourceNode:st,pre:1,langExtension:null,numberLines:null,sourceCode:ht,spans:null,basePos:xt,decorations:null};rt(ye),Ue.push.apply(Ue,ye.decorations)}}var se=/\S/;function _e(st){for(var xt=void 0,ht=st.firstChild;ht;ht=ht.nextSibling){var rt=ht.nodeType;xt=rt===1?xt?st:ht:rt===3&&se.test(ht.nodeValue)?st:xt}return xt===st?void 0:xt}function Oe(st,xt){var ht={},rt;(function(){for(var Ce=st.concat(xt),Fe=[],je={},Ge=0,it=Ce.length;Ge<it;++Ge){var ct=Ce[Ge],Gt=ct[3];if(Gt)for(var Ht=Gt.length;--Ht>=0;)ht[Gt.charAt(Ht)]=ct;var Pe=ct[1],tt=""+Pe;je.hasOwnProperty(tt)||(Fe.push(Pe),je[tt]=null)}Fe.push(/[\0-\uffff]/),rt=ce(Fe)})();var Ue=xt.length,ye=function(Ce){for(var Fe=Ce.sourceCode,je=Ce.basePos,Ge=Ce.sourceNode,it=[je,ae],ct=0,Gt=Fe.match(rt)||[],Ht={},Pe=0,tt=Gt.length;Pe<tt;++Pe){var Vt=Gt[Pe],kt=Ht[Vt],Zt=void 0,Nt;if(typeof kt=="string")Nt=!1;else{var At=ht[Vt.charAt(0)];if(At)Zt=Vt.match(At[1]),kt=At[0];else{for(var qt=0;qt<Ue;++qt)if(At=xt[qt],Zt=Vt.match(At[1]),Zt){kt=At[0];break}Zt||(kt=ae)}Nt=kt.length>=5&&kt.substring(0,5)==="lang-",Nt&&!(Zt&&typeof Zt[1]=="string")&&(Nt=!1,kt=J),Nt||(Ht[Vt]=kt)}var Ke=ct;if(ct+=Vt.length,!Nt)it.push(je+Ke,kt);else{var fe=Zt[1],pe=Vt.indexOf(fe),Dt=pe+fe.length;Zt[2]&&(Dt=Vt.length-Zt[2].length,pe=Dt-fe.length);var De=kt.substring(5);$(Ge,je+Ke,Vt.substring(0,pe),ye,it),$(Ge,je+Ke+pe,fe,rr(De,fe),it),$(Ge,je+Ke+Dt,Vt.substring(Dt),ye,it)}}Ce.decorations=it};return ye}function Le(st){var xt=[],ht=[];st.tripleQuotedStrings?xt.push([B,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):st.multiLineStrings?xt.push([B,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):xt.push([B,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),st.verbatimStrings&&ht.push([B,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var rt=st.hashComments;rt&&(st.cStyleComments?(rt>1?xt.push([K,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):xt.push([K,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ht.push([B,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):xt.push([K,/^#[^\r\n]*/,null,"#"])),st.cStyleComments&&(ht.push([K,/^\/\/[^\r\n]*/,null]),ht.push([K,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ue=st.regexLiterals;if(Ue){var ye=Ue>1?"":`
\r`,Ce=ye?".":"[\\S\\s]",Fe="/(?=[^/*"+ye+"])(?:[^/\\x5B\\x5C"+ye+"]|\\x5C"+Ce+"|\\x5B(?:[^\\x5C\\x5D"+ye+"]|\\x5C"+Ce+")*(?:\\x5D|$))+/";ht.push(["lang-regex",RegExp("^"+X+"("+Fe+")")])}var je=st.types;je&&ht.push([G,je]);var Ge=(""+st.keywords).replace(/^ | $/g,"");Ge.length&&ht.push([N,new RegExp("^(?:"+Ge.replace(/[\s,]+/g,"|")+")\\b"),null]),xt.push([ae,/^\s+/,null,` \r
\xA0`]);var it="^.[^\\s\\w.$@'\"`/\\\\]*";return st.regexLiterals&&(it+="(?!s*/)"),ht.push([W,/^@[a-z_$][a-z_$@0-9]*/i,null],[G,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ae,/^[a-z_$][a-z_$@0-9]*/i,null],[W,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ae,/^\\[\s\S]?/,null],[ne,new RegExp(it),null]),Oe(xt,ht)}var He=Le({keywords:D,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function $e(st,xt,ht){for(var rt=/(?:^|\s)nocode(?:\s|$)/,Ue=/\r\n?|\n/,ye=st.ownerDocument,Ce=ye.createElement("li");st.firstChild;)Ce.appendChild(st.firstChild);var Fe=[Ce];function je(Pe){var tt=Pe.nodeType;if(tt==1&&!rt.test(Pe.className))if(Pe.nodeName==="br")Ge(Pe),Pe.parentNode&&Pe.parentNode.removeChild(Pe);else for(var Vt=Pe.firstChild;Vt;Vt=Vt.nextSibling)je(Vt);else if((tt==3||tt==4)&&ht){var kt=Pe.nodeValue,Zt=kt.match(Ue);if(Zt){var Nt=kt.substring(0,Zt.index);Pe.nodeValue=Nt;var At=kt.substring(Zt.index+Zt[0].length);if(At){var qt=Pe.parentNode;qt.insertBefore(ye.createTextNode(At),Pe.nextSibling)}Ge(Pe),Nt||Pe.parentNode.removeChild(Pe)}}}function Ge(Pe){for(;!Pe.nextSibling;)if(Pe=Pe.parentNode,!Pe)return;function tt(Zt,Nt){var At=Nt?Zt.cloneNode(!1):Zt,qt=Zt.parentNode;if(qt){var Ke=tt(qt,1),fe=Zt.nextSibling;Ke.appendChild(At);for(var pe=fe;pe;pe=fe)fe=pe.nextSibling,Ke.appendChild(pe)}return At}for(var Vt=tt(Pe.nextSibling,0),kt;(kt=Vt.parentNode)&&kt.nodeType===1;)Vt=kt;Fe.push(Vt)}for(var it=0;it<Fe.length;++it)je(Fe[it]);xt===(xt|0)&&Fe[0].setAttribute("value",xt);var ct=ye.createElement("ol");ct.className="linenums";for(var Gt=Math.max(0,xt-1|0)||0,it=0,Ht=Fe.length;it<Ht;++it)Ce=Fe[it],Ce.className="L"+(it+Gt)%10,Ce.firstChild||Ce.appendChild(ye.createTextNode("\xA0")),ct.appendChild(Ce);st.appendChild(ct)}function Bt(st){var xt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);xt=xt&&+xt[1]<=8;var ht=/\n/g,rt=st.sourceCode,Ue=rt.length,ye=0,Ce=st.spans,Fe=Ce.length,je=0,Ge=st.decorations,it=Ge.length,ct=0;Ge[it]=Ue;var Gt,Ht;for(Ht=Gt=0;Ht<it;)Ge[Ht]!==Ge[Ht+2]?(Ge[Gt++]=Ge[Ht++],Ge[Gt++]=Ge[Ht++]):Ht+=2;for(it=Gt,Ht=Gt=0;Ht<it;){for(var Pe=Ge[Ht],tt=Ge[Ht+1],Vt=Ht+2;Vt+2<=it&&Ge[Vt+1]===tt;)Vt+=2;Ge[Gt++]=Pe,Ge[Gt++]=tt,Ht=Vt}it=Ge.length=Gt;var kt=st.sourceNode,Zt="";kt&&(Zt=kt.style.display,kt.style.display="none");try{for(var Nt=null;je<Fe;){var At=Ce[je],qt=Ce[je+2]||Ue,Ke=Ge[ct+2]||Ue,Vt=Math.min(qt,Ke),fe=Ce[je+1],pe;if(fe.nodeType!==1&&(pe=rt.substring(ye,Vt))){xt&&(pe=pe.replace(ht,"\r")),fe.nodeValue=pe;var Dt=fe.ownerDocument,De=Dt.createElement("span");De.className=Ge[ct+1];var ft=fe.parentNode;ft.replaceChild(De,fe),De.appendChild(fe),ye<qt&&(Ce[je+1]=fe=Dt.createTextNode(rt.substring(Vt,qt)),ft.insertBefore(fe,De.nextSibling))}ye=Vt,ye>=qt&&(je+=2),ye>=Ke&&(ct+=2)}}finally{kt&&(kt.style.display=Zt)}}var yt={};function It(st,xt){for(var ht=xt.length;--ht>=0;){var rt=xt[ht];yt.hasOwnProperty(rt)?o.console&&console.warn("cannot override language handler %s",rt):yt[rt]=st}}function rr(st,xt){return st&&yt.hasOwnProperty(st)||(st=/^\s*</.test(xt)?"default-markup":"default-code"),yt[st]}It(He,["default-code"]),It(Oe([],[[ae,/^[^<?]+/],[Q,/^<!\w[^>]*(?:>|$)/],[K,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[ne,/^(?:<[%?]|[%?]>)/],["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"]),It(Oe([[ae,/^[\s]+/,null,` \r
`],[ue,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[le,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[V,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[ne,/^[=<>\/]+/],["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"]),It(Oe([],[[ue,/^[\s\S]+/]]),["uq.val"]),It(Le({keywords:x,hashComments:!0,cStyleComments:!0,types:M}),["c","cc","cpp","cxx","cyc","m"]),It(Le({keywords:"null,true,false"}),["json"]),It(Le({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:M}),["cs"]),It(Le({keywords:p,cStyleComments:!0}),["java"]),It(Le({keywords:T,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),It(Le({keywords:k,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),It(Le({keywords:A,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),It(Le({keywords:L,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),It(Le({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),It(Le({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),It(Oe([],[[B,/^[\s\S]+/]]),["regex"]);function Yt(st){var xt=st.langExtension;try{var ht=z(st.sourceNode,st.pre),rt=ht.sourceCode;st.sourceCode=rt,st.spans=ht.spans,st.basePos=0,rr(xt,rt)(st),Bt(st)}catch(Ue){o.console&&console.log(Ue&&Ue.stack||Ue)}}function lr(st,xt,ht){var rt=ht||!1,Ue=xt||null,ye=document.createElement("div");ye.innerHTML="<pre>"+st+"</pre>",ye=ye.firstChild,rt&&$e(ye,rt,!0);var Ce={langExtension:Ue,numberLines:rt,sourceNode:ye,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Yt(Ce),ye.innerHTML}function Ve(st,xt){var ht=xt||document.body,rt=ht.ownerDocument||document;function Ue(At){return ht.getElementsByTagName(At)}for(var ye=[Ue("pre"),Ue("code"),Ue("xmp")],Ce=[],Fe=0;Fe<ye.length;++Fe)for(var je=0,Ge=ye[Fe].length;je<Ge;++je)Ce.push(ye[Fe][je]);ye=null;var it=Date;it.now||(it={now:function(){return+new Date}});var ct=0,Gt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ht=/\bprettyprint\b/,Pe=/\bprettyprinted\b/,tt=/pre|xmp/i,Vt=/^code$/i,kt=/^(?:pre|code|xmp)$/i,Zt={};function Nt(){for(var At=o.PR_SHOULD_USE_CONTINUATION?it.now()+250:1/0;ct<Ce.length&&it.now()<At;ct++){for(var qt=Ce[ct],Ke=Zt,fe=qt;fe=fe.previousSibling;){var pe=fe.nodeType,Dt=(pe===7||pe===8)&&fe.nodeValue;if(Dt?!/^\??prettify\b/.test(Dt):pe!==3||/\S/.test(fe.nodeValue))break;if(Dt){Ke={},Dt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(St,Zr,Vr){Ke[Zr]=Vr});break}}var De=qt.className;if((Ke!==Zt||Ht.test(De))&&!Pe.test(De)){for(var ft=!1,zt=qt.parentNode;zt;zt=zt.parentNode){var Et=zt.tagName;if(kt.test(Et)&&zt.className&&Ht.test(zt.className)){ft=!0;break}}if(!ft){qt.className+=" prettyprinted";var Re=Ke.lang;if(!Re){Re=De.match(Gt);var wt;!Re&&(wt=_e(qt))&&Vt.test(wt.tagName)&&(Re=wt.className.match(Gt)),Re&&(Re=Re[1])}var xe;if(tt.test(qt.tagName))xe=1;else{var qe=qt.currentStyle,vt=rt.defaultView,Ft=qe?qe.whiteSpace:vt&&vt.getComputedStyle?vt.getComputedStyle(qt,null).getPropertyValue("white-space"):0;xe=Ft&&Ft.substring(0,3)==="pre"}var Be=Ke.linenums;(Be=Be==="true"||+Be)||(Be=De.match(/\blinenums\b(?::(\d+))?/),Be=Be?Be[1]&&Be[1].length?+Be[1]:!0:!1),Be&&$e(qt,Be,xe);var Pr={langExtension:Re,sourceNode:qt,numberLines:Be,pre:xe,sourceCode:null,basePos:null,spans:null,decorations:null};Yt(Pr)}}}ct<Ce.length?o.setTimeout(Nt,250):typeof st=="function"&&st()}Nt()}var Ct=o.PR={createSimpleLexer:Oe,registerLangHandler:It,sourceDecorator:Le,PR_ATTRIB_NAME:V,PR_ATTRIB_VALUE:ue,PR_COMMENT:K,PR_DECLARATION:Q,PR_KEYWORD:N,PR_LITERAL:W,PR_NOCODE:ee,PR_PLAIN:ae,PR_PUNCTUATION:ne,PR_SOURCE:J,PR_STRING:B,PR_TAG:le,PR_TYPE:G,prettyPrintOne:r?o.prettyPrintOne=lr:c=lr,prettyPrint:f=r?o.prettyPrint=Ve:f=Ve},Ut=o.define;typeof Ut=="function"&&Ut.amd&&Ut("google-code-prettify",[],function(){return Ct})})()},25769:function(d,v,e){"use strict";var r=e(98040),i={"text/plain":"Text","text/html":"Url",default:"Text"},l="Copy to clipboard: #{key}, Enter";function c(o){var h=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return o.replace(/#{\s*key\s*}/g,h)}function f(o,h){var u,a,x,p,y,_,b=!1;h||(h={}),u=h.debug||!1;try{x=r(),p=document.createRange(),y=document.getSelection(),_=document.createElement("span"),_.textContent=o,_.ariaHidden="true",_.style.all="unset",_.style.position="fixed",_.style.top=0,_.style.clip="rect(0, 0, 0, 0)",_.style.whiteSpace="pre",_.style.webkitUserSelect="text",_.style.MozUserSelect="text",_.style.msUserSelect="text",_.style.userSelect="text",_.addEventListener("copy",function(k){if(k.stopPropagation(),h.format)if(k.preventDefault(),typeof k.clipboardData=="undefined"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var L=i[h.format]||i.default;window.clipboardData.setData(L,o)}else k.clipboardData.clearData(),k.clipboardData.setData(h.format,o);h.onCopy&&(k.preventDefault(),h.onCopy(k.clipboardData))}),document.body.appendChild(_),p.selectNodeContents(_),y.addRange(p);var A=document.execCommand("copy");if(!A)throw new Error("copy command was unsuccessful");b=!0}catch(k){u&&console.error("unable to copy using execCommand: ",k),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(h.format||"text",o),h.onCopy&&h.onCopy(window.clipboardData),b=!0}catch(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,o)}}finally{y&&(typeof y.removeRange=="function"?y.removeRange(p):y.removeAllRanges()),_&&document.body.removeChild(_),x()}return b}d.exports=f},75041:function(d){(function(){var v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(r,i){return r<<i|r>>>32-i},rotr:function(r,i){return r<<32-i|r>>>i},endian:function(r){if(r.constructor==Number)return e.rotl(r,8)&16711935|e.rotl(r,24)&4278255360;for(var i=0;i<r.length;i++)r[i]=e.endian(r[i]);return r},randomBytes:function(r){for(var i=[];r>0;r--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(r){for(var i=[],l=0,c=0;l<r.length;l++,c+=8)i[c>>>5]|=r[l]<<24-c%32;return i},wordsToBytes:function(r){for(var i=[],l=0;l<r.length*32;l+=8)i.push(r[l>>>5]>>>24-l%32&255);return i},bytesToHex:function(r){for(var i=[],l=0;l<r.length;l++)i.push((r[l]>>>4).toString(16)),i.push((r[l]&15).toString(16));return i.join("")},hexToBytes:function(r){for(var i=[],l=0;l<r.length;l+=2)i.push(parseInt(r.substr(l,2),16));return i},bytesToBase64:function(r){for(var i=[],l=0;l<r.length;l+=3)for(var c=r[l]<<16|r[l+1]<<8|r[l+2],f=0;f<4;f++)l*8+f*6<=r.length*8?i.push(v.charAt(c>>>6*(3-f)&63)):i.push("=");return i.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],l=0,c=0;l<r.length;c=++l%4)c!=0&&i.push((v.indexOf(r.charAt(l-1))&Math.pow(2,-2*c+8)-1)<<c*2|v.indexOf(r.charAt(l))>>>6-c*2);return i}};d.exports=e})()},84452:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.BlockCipher,f=i.algo,o=[],h=[],u=[],a=[],x=[],p=[],y=[],_=[],b=[],A=[];(function(){for(var T=[],D=0;D<256;D++)D<128?T[D]=D<<1:T[D]=D<<1^283;for(var M=0,B=0,D=0;D<256;D++){var N=B^B<<1^B<<2^B<<3^B<<4;N=N>>>8^N&255^99,o[M]=N,h[N]=M;var K=T[M],G=T[K],W=T[G],ne=T[N]*257^N*16843008;u[M]=ne<<24|ne>>>8,a[M]=ne<<16|ne>>>16,x[M]=ne<<8|ne>>>24,p[M]=ne;var ne=W*16843009^G*65537^K*257^M*16843008;y[N]=ne<<24|ne>>>8,_[N]=ne<<16|ne>>>16,b[N]=ne<<8|ne>>>24,A[N]=ne,M?(M=K^T[T[T[W^K]]],B^=T[T[B]]):M=B=1}})();var k=[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,M=D.words,B=D.sigBytes/4,N=this._nRounds=B+6,K=(N+1)*4,G=this._keySchedule=[],W=0;W<K;W++)W<B?G[W]=M[W]:(T=G[W-1],W%B?B>6&&W%B==4&&(T=o[T>>>24]<<24|o[T>>>16&255]<<16|o[T>>>8&255]<<8|o[T&255]):(T=T<<8|T>>>24,T=o[T>>>24]<<24|o[T>>>16&255]<<16|o[T>>>8&255]<<8|o[T&255],T^=k[W/B|0]<<24),G[W]=G[W-B]^T);for(var ne=this._invKeySchedule=[],ae=0;ae<K;ae++){var W=K-ae;if(ae%4)var T=G[W];else var T=G[W-4];ae<4||W<=4?ne[ae]=T:ne[ae]=y[o[T>>>24]]^_[o[T>>>16&255]]^b[o[T>>>8&255]]^A[o[T&255]]}}},encryptBlock:function(T,D){this._doCryptBlock(T,D,this._keySchedule,u,a,x,p,o)},decryptBlock:function(T,D){var M=T[D+1];T[D+1]=T[D+3],T[D+3]=M,this._doCryptBlock(T,D,this._invKeySchedule,y,_,b,A,h);var M=T[D+1];T[D+1]=T[D+3],T[D+3]=M},_doCryptBlock:function(T,D,M,B,N,K,G,W){for(var ne=this._nRounds,ae=T[D]^M[0],le=T[D+1]^M[1],Q=T[D+2]^M[2],J=T[D+3]^M[3],V=4,ue=1;ue<ne;ue++){var ee=B[ae>>>24]^N[le>>>16&255]^K[Q>>>8&255]^G[J&255]^M[V++],X=B[le>>>24]^N[Q>>>16&255]^K[J>>>8&255]^G[ae&255]^M[V++],ce=B[Q>>>24]^N[J>>>16&255]^K[ae>>>8&255]^G[le&255]^M[V++],z=B[J>>>24]^N[ae>>>16&255]^K[le>>>8&255]^G[Q&255]^M[V++];ae=ee,le=X,Q=ce,J=z}var ee=(W[ae>>>24]<<24|W[le>>>16&255]<<16|W[Q>>>8&255]<<8|W[J&255])^M[V++],X=(W[le>>>24]<<24|W[Q>>>16&255]<<16|W[J>>>8&255]<<8|W[ae&255])^M[V++],ce=(W[Q>>>24]<<24|W[J>>>16&255]<<16|W[ae>>>8&255]<<8|W[le&255])^M[V++],z=(W[J>>>24]<<24|W[ae>>>16&255]<<16|W[le>>>8&255]<<8|W[Q&255])^M[V++];T[D]=ee,T[D+1]=X,T[D+2]=ce,T[D+3]=z},keySize:256/32});i.AES=c._createHelper(L)}(),r.AES})},93617:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(28492))})(this,function(r){r.lib.Cipher||function(i){var l=r,c=l.lib,f=c.Base,o=c.WordArray,h=c.BufferedBlockAlgorithm,u=l.enc,a=u.Utf8,x=u.Base64,p=l.algo,y=p.EvpKDF,_=c.Cipher=h.extend({cfg:f.extend(),createEncryptor:function(le,Q){return this.create(this._ENC_XFORM_MODE,le,Q)},createDecryptor:function(le,Q){return this.create(this._DEC_XFORM_MODE,le,Q)},init:function(le,Q,J){this.cfg=this.cfg.extend(J),this._xformMode=le,this._key=Q,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(le){return this._append(le),this._process()},finalize:function(le){le&&this._append(le);var Q=this._doFinalize();return Q},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function le(Q){return typeof Q=="string"?ae:G}return function(Q){return{encrypt:function(J,V,ue){return le(V).encrypt(Q,J,V,ue)},decrypt:function(J,V,ue){return le(V).decrypt(Q,J,V,ue)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var le=this._process(!0);return le},blockSize:1}),A=l.mode={},k=c.BlockCipherMode=f.extend({createEncryptor:function(le,Q){return this.Encryptor.create(le,Q)},createDecryptor:function(le,Q){return this.Decryptor.create(le,Q)},init:function(le,Q){this._cipher=le,this._iv=Q}}),L=A.CBC=function(){var le=k.extend();le.Encryptor=le.extend({processBlock:function(J,V){var ue=this._cipher,ee=ue.blockSize;Q.call(this,J,V,ee),ue.encryptBlock(J,V),this._prevBlock=J.slice(V,V+ee)}}),le.Decryptor=le.extend({processBlock:function(J,V){var ue=this._cipher,ee=ue.blockSize,X=J.slice(V,V+ee);ue.decryptBlock(J,V),Q.call(this,J,V,ee),this._prevBlock=X}});function Q(J,V,ue){var ee,X=this._iv;X?(ee=X,this._iv=i):ee=this._prevBlock;for(var ce=0;ce<ue;ce++)J[V+ce]^=ee[ce]}return le}(),T=l.pad={},D=T.Pkcs7={pad:function(le,Q){for(var J=Q*4,V=J-le.sigBytes%J,ue=V<<24|V<<16|V<<8|V,ee=[],X=0;X<V;X+=4)ee.push(ue);var ce=o.create(ee,V);le.concat(ce)},unpad:function(le){var Q=le.words[le.sigBytes-1>>>2]&255;le.sigBytes-=Q}},M=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:L,padding:D}),reset:function(){var le;_.reset.call(this);var Q=this.cfg,J=Q.iv,V=Q.mode;this._xformMode==this._ENC_XFORM_MODE?le=V.createEncryptor:(le=V.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==le?this._mode.init(this,J&&J.words):(this._mode=le.call(V,this,J&&J.words),this._mode.__creator=le)},_doProcessBlock:function(le,Q){this._mode.processBlock(le,Q)},_doFinalize:function(){var le,Q=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(Q.pad(this._data,this.blockSize),le=this._process(!0)):(le=this._process(!0),Q.unpad(le)),le},blockSize:128/32}),B=c.CipherParams=f.extend({init:function(le){this.mixIn(le)},toString:function(le){return(le||this.formatter).stringify(this)}}),N=l.format={},K=N.OpenSSL={stringify:function(le){var Q,J=le.ciphertext,V=le.salt;return V?Q=o.create([1398893684,1701076831]).concat(V).concat(J):Q=J,Q.toString(x)},parse:function(le){var Q,J=x.parse(le),V=J.words;return V[0]==1398893684&&V[1]==1701076831&&(Q=o.create(V.slice(2,4)),V.splice(0,4),J.sigBytes-=16),B.create({ciphertext:J,salt:Q})}},G=c.SerializableCipher=f.extend({cfg:f.extend({format:K}),encrypt:function(le,Q,J,V){V=this.cfg.extend(V);var ue=le.createEncryptor(J,V),ee=ue.finalize(Q),X=ue.cfg;return B.create({ciphertext:ee,key:J,iv:X.iv,algorithm:le,mode:X.mode,padding:X.padding,blockSize:le.blockSize,formatter:V.format})},decrypt:function(le,Q,J,V){V=this.cfg.extend(V),Q=this._parse(Q,V.format);var ue=le.createDecryptor(J,V).finalize(Q.ciphertext);return ue},_parse:function(le,Q){return typeof le=="string"?Q.parse(le,this):le}}),W=l.kdf={},ne=W.OpenSSL={execute:function(le,Q,J,V){V||(V=o.random(64/8));var ue=y.create({keySize:Q+J}).compute(le,V),ee=o.create(ue.words.slice(Q),J*4);return ue.sigBytes=Q*4,B.create({key:ue,iv:ee,salt:V})}},ae=c.PasswordBasedCipher=G.extend({cfg:G.cfg.extend({kdf:ne}),encrypt:function(le,Q,J,V){V=this.cfg.extend(V);var ue=V.kdf.execute(J,le.keySize,le.ivSize);V.iv=ue.iv;var ee=G.encrypt.call(this,le,Q,ue.key,V);return ee.mixIn(ue),ee},decrypt:function(le,Q,J,V){V=this.cfg.extend(V),Q=this._parse(Q,V.format);var ue=V.kdf.execute(J,le.keySize,le.ivSize,Q.salt);V.iv=ue.iv;var ee=G.decrypt.call(this,le,Q,ue.key,V);return ee}})}()})},52952:function(d,v,e){(function(r,i){d.exports=v=i()})(this,function(){var r=r||function(i,l){var c;if(typeof window!="undefined"&&window.crypto&&(c=window.crypto),typeof self!="undefined"&&self.crypto&&(c=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(c=globalThis.crypto),!c&&typeof window!="undefined"&&window.msCrypto&&(c=window.msCrypto),!c&&typeof e.g!="undefined"&&e.g.crypto&&(c=e.g.crypto),!c)try{c=e(3828)}catch(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.")},o=Object.create||function(){function T(){}return function(D){var M;return T.prototype=D,M=new T,T.prototype=null,M}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(T){var D=o(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,M=T.words,B=this.sigBytes,N=T.sigBytes;if(this.clamp(),B%4)for(var K=0;K<N;K++){var G=M[K>>>2]>>>24-K%4*8&255;D[B+K>>>2]|=G<<24-(B+K)%4*8}else for(var W=0;W<N;W+=4)D[B+W>>>2]=M[W>>>2];return this.sigBytes+=N,this},clamp:function(){var 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=[],M=0;M<T;M+=4)D.push(f());return new x.init(D,T)}}),p=h.enc={},y=p.Hex={stringify:function(T){for(var D=T.words,M=T.sigBytes,B=[],N=0;N<M;N++){var K=D[N>>>2]>>>24-N%4*8&255;B.push((K>>>4).toString(16)),B.push((K&15).toString(16))}return B.join("")},parse:function(T){for(var D=T.length,M=[],B=0;B<D;B+=2)M[B>>>3]|=parseInt(T.substr(B,2),16)<<24-B%8*4;return new x.init(M,D/2)}},_=p.Latin1={stringify:function(T){for(var D=T.words,M=T.sigBytes,B=[],N=0;N<M;N++){var K=D[N>>>2]>>>24-N%4*8&255;B.push(String.fromCharCode(K))}return B.join("")},parse:function(T){for(var D=T.length,M=[],B=0;B<D;B++)M[B>>>2]|=(T.charCodeAt(B)&255)<<24-B%4*8;return new x.init(M,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)))}},A=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,M=this._data,B=M.words,N=M.sigBytes,K=this.blockSize,G=K*4,W=N/G;T?W=i.ceil(W):W=i.max((W|0)-this._minBufferSize,0);var ne=W*K,ae=i.min(ne*4,N);if(ne){for(var le=0;le<ne;le+=K)this._doProcessBlock(B,le);D=B.splice(0,ne),M.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}),k=u.Hasher=A.extend({cfg:a.extend(),init:function(T){this.cfg=this.cfg.extend(T),this.reset()},reset:function(){A.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,M){return new T.init(M).finalize(D)}},_createHmacHelper:function(T){return function(D,M){return new L.HMAC.init(T,M).finalize(D)}}}),L=h.algo={};return h}(Math);return r})},35909:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,o=f.Base64={stringify:function(u){var a=u.words,x=u.sigBytes,p=this._map;u.clamp();for(var y=[],_=0;_<x;_+=3)for(var b=a[_>>>2]>>>24-_%4*8&255,A=a[_+1>>>2]>>>24-(_+1)%4*8&255,k=a[_+2>>>2]>>>24-(_+2)%4*8&255,L=b<<16|A<<8|k,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,A=x[u.charCodeAt(_)]>>>6-_%4*2,k=b|A;p[y>>>2]|=k<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64})},52695:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,o=f.Base64url={stringify:function(u,a=!0){var x=u.words,p=u.sigBytes,y=a?this._safe_map:this._map;u.clamp();for(var _=[],b=0;b<p;b+=3)for(var A=x[b>>>2]>>>24-b%4*8&255,k=x[b+1>>>2]>>>24-(b+1)%4*8&255,L=x[b+2>>>2]>>>24-(b+2)%4*8&255,T=A<<16|k<<8|L,D=0;D<4&&b+D*.75<p;D++)_.push(y.charAt(T>>>6*(3-D)&63));var M=y.charAt(64);if(M)for(;_.length%4;)_.push(M);return _.join("")},parse:function(u,a=!0){var x=u.length,p=a?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var _=0;_<p.length;_++)y[p.charCodeAt(_)]=_}var b=p.charAt(64);if(b){var A=u.indexOf(b);A!==-1&&(x=A)}return h(u,x,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,A=x[u.charCodeAt(_)]>>>6-_%4*2,k=b|A;p[y>>>2]|=k<<24-y%4*8,y++}return c.create(p,y)}}(),r.enc.Base64url})},73323:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.enc,o=f.Utf16=f.Utf16BE={stringify:function(u){for(var a=u.words,x=u.sigBytes,p=[],y=0;y<x;y+=2){var _=a[y>>>2]>>>16-y%4*8&65535;p.push(String.fromCharCode(_))}return p.join("")},parse:function(u){for(var a=u.length,x=[],p=0;p<a;p++)x[p>>>1]|=u.charCodeAt(p)<<16-p%2*16;return c.create(x,a*2)}};f.Utf16LE={stringify:function(u){for(var a=u.words,x=u.sigBytes,p=[],y=0;y<x;y+=2){var _=h(a[y>>>2]>>>16-y%4*8&65535);p.push(String.fromCharCode(_))}return p.join("")},parse:function(u){for(var a=u.length,x=[],p=0;p<a;p++)x[p>>>1]|=h(u.charCodeAt(p)<<16-p%2*16);return c.create(x,a*2)}};function h(u){return u<<8&4278255360|u>>>8&16711935}}(),r.enc.Utf16})},28492:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(49479),e(83760))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Base,f=l.WordArray,o=i.algo,h=o.MD5,u=o.EvpKDF=c.extend({cfg:c.extend({keySize:128/32,hasher:h,iterations:1}),init:function(a){this.cfg=this.cfg.extend(a)},compute:function(a,x){for(var p,y=this.cfg,_=y.hasher.create(),b=f.create(),A=b.words,k=y.keySize,L=y.iterations;A.length<k;){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=k*4,b}});i.EvpKDF=function(a,x,p){return u.create(p).compute(a,x)}}(),r.EvpKDF})},24408:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.CipherParams,o=l.enc,h=o.Hex,u=l.format,a=u.Hex={stringify:function(x){return x.ciphertext.toString(h)},parse:function(x){var p=h.parse(x);return f.create({ciphertext:p})}}}(),r.format.Hex})},83760:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){(function(){var i=r,l=i.lib,c=l.Base,f=i.enc,o=f.Utf8,h=i.algo,u=h.HMAC=c.extend({init:function(a,x){a=this._hasher=new a.init,typeof x=="string"&&(x=o.parse(x));var p=a.blockSize,y=p*4;x.sigBytes>y&&(x=a.finalize(x)),x.clamp();for(var _=this._oKey=x.clone(),b=this._iKey=x.clone(),A=_.words,k=b.words,L=0;L<p;L++)A[L]^=1549556828,k[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,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(41988),e(79183),e(73323),e(35909),e(52695),e(34905),e(49479),e(2481),e(93653),e(12133),e(82307),e(79421),e(25824),e(83760),e(37248),e(28492),e(93617),e(2882),e(98277),e(69972),e(30509),e(79182),e(74990),e(2593),e(10829),e(10265),e(18846),e(24408),e(84452),e(61945),e(22528),e(21865),e(35308))})(this,function(r){return r})},79183:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){if(typeof ArrayBuffer=="function"){var i=r,l=i.lib,c=l.WordArray,f=c.init,o=c.init=function(h){if(h instanceof ArrayBuffer&&(h=new Uint8Array(h)),(h instanceof Int8Array||typeof Uint8ClampedArray!="undefined"&&h instanceof Uint8ClampedArray||h instanceof Int16Array||h instanceof Uint16Array||h instanceof Int32Array||h instanceof Uint32Array||h instanceof Float32Array||h instanceof Float64Array)&&(h=new Uint8Array(h.buffer,h.byteOffset,h.byteLength)),h instanceof Uint8Array){for(var u=h.byteLength,a=[],x=0;x<u;x++)a[x>>>2]|=h[x]<<24-x%4*8;f.call(this,a,u)}else f.apply(this,arguments)};o.prototype=c}}(),r.lib.WordArray})},34905:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,o=c.Hasher,h=l.algo,u=[];(function(){for(var b=0;b<64;b++)u[b]=i.abs(i.sin(b+1))*4294967296|0})();var a=h.MD5=o.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(b,A){for(var k=0;k<16;k++){var L=A+k,T=b[L];b[L]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}var D=this._hash.words,M=b[A+0],B=b[A+1],N=b[A+2],K=b[A+3],G=b[A+4],W=b[A+5],ne=b[A+6],ae=b[A+7],le=b[A+8],Q=b[A+9],J=b[A+10],V=b[A+11],ue=b[A+12],ee=b[A+13],X=b[A+14],ce=b[A+15],z=D[0],$=D[1],se=D[2],_e=D[3];z=x(z,$,se,_e,M,7,u[0]),_e=x(_e,z,$,se,B,12,u[1]),se=x(se,_e,z,$,N,17,u[2]),$=x($,se,_e,z,K,22,u[3]),z=x(z,$,se,_e,G,7,u[4]),_e=x(_e,z,$,se,W,12,u[5]),se=x(se,_e,z,$,ne,17,u[6]),$=x($,se,_e,z,ae,22,u[7]),z=x(z,$,se,_e,le,7,u[8]),_e=x(_e,z,$,se,Q,12,u[9]),se=x(se,_e,z,$,J,17,u[10]),$=x($,se,_e,z,V,22,u[11]),z=x(z,$,se,_e,ue,7,u[12]),_e=x(_e,z,$,se,ee,12,u[13]),se=x(se,_e,z,$,X,17,u[14]),$=x($,se,_e,z,ce,22,u[15]),z=p(z,$,se,_e,B,5,u[16]),_e=p(_e,z,$,se,ne,9,u[17]),se=p(se,_e,z,$,V,14,u[18]),$=p($,se,_e,z,M,20,u[19]),z=p(z,$,se,_e,W,5,u[20]),_e=p(_e,z,$,se,J,9,u[21]),se=p(se,_e,z,$,ce,14,u[22]),$=p($,se,_e,z,G,20,u[23]),z=p(z,$,se,_e,Q,5,u[24]),_e=p(_e,z,$,se,X,9,u[25]),se=p(se,_e,z,$,K,14,u[26]),$=p($,se,_e,z,le,20,u[27]),z=p(z,$,se,_e,ee,5,u[28]),_e=p(_e,z,$,se,N,9,u[29]),se=p(se,_e,z,$,ae,14,u[30]),$=p($,se,_e,z,ue,20,u[31]),z=y(z,$,se,_e,W,4,u[32]),_e=y(_e,z,$,se,le,11,u[33]),se=y(se,_e,z,$,V,16,u[34]),$=y($,se,_e,z,X,23,u[35]),z=y(z,$,se,_e,B,4,u[36]),_e=y(_e,z,$,se,G,11,u[37]),se=y(se,_e,z,$,ae,16,u[38]),$=y($,se,_e,z,J,23,u[39]),z=y(z,$,se,_e,ee,4,u[40]),_e=y(_e,z,$,se,M,11,u[41]),se=y(se,_e,z,$,K,16,u[42]),$=y($,se,_e,z,ne,23,u[43]),z=y(z,$,se,_e,Q,4,u[44]),_e=y(_e,z,$,se,ue,11,u[45]),se=y(se,_e,z,$,ce,16,u[46]),$=y($,se,_e,z,N,23,u[47]),z=_(z,$,se,_e,M,6,u[48]),_e=_(_e,z,$,se,ae,10,u[49]),se=_(se,_e,z,$,X,15,u[50]),$=_($,se,_e,z,W,21,u[51]),z=_(z,$,se,_e,ue,6,u[52]),_e=_(_e,z,$,se,K,10,u[53]),se=_(se,_e,z,$,J,15,u[54]),$=_($,se,_e,z,B,21,u[55]),z=_(z,$,se,_e,le,6,u[56]),_e=_(_e,z,$,se,ce,10,u[57]),se=_(se,_e,z,$,ne,15,u[58]),$=_($,se,_e,z,ee,21,u[59]),z=_(z,$,se,_e,G,6,u[60]),_e=_(_e,z,$,se,V,10,u[61]),se=_(se,_e,z,$,N,15,u[62]),$=_($,se,_e,z,Q,21,u[63]),D[0]=D[0]+z|0,D[1]=D[1]+$|0,D[2]=D[2]+se|0,D[3]=D[3]+_e|0},_doFinalize:function(){var b=this._data,A=b.words,k=this._nDataBytes*8,L=b.sigBytes*8;A[L>>>5]|=128<<24-L%32;var T=i.floor(k/4294967296),D=k;A[(L+64>>>9<<4)+15]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,A[(L+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,b.sigBytes=(A.length+1)*4,this._process();for(var M=this._hash,B=M.words,N=0;N<4;N++){var K=B[N];B[N]=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360}return M},clone:function(){var b=o.clone.call(this);return b._hash=this._hash.clone(),b}});function x(b,A,k,L,T,D,M){var B=b+(A&k|~A&L)+T+M;return(B<<D|B>>>32-D)+A}function p(b,A,k,L,T,D,M){var B=b+(A&L|k&~L)+T+M;return(B<<D|B>>>32-D)+A}function y(b,A,k,L,T,D,M){var B=b+(A^k^L)+T+M;return(B<<D|B>>>32-D)+A}function _(b,A,k,L,T,D,M){var B=b+(k^(A|~L))+T+M;return(B<<D|B>>>32-D)+A}l.MD5=o._createHelper(a),l.HmacMD5=o._createHmacHelper(a)}(Math),r.MD5})},2882:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.mode.CFB=function(){var i=r.lib.BlockCipherMode.extend();i.Encryptor=i.extend({processBlock:function(c,f){var o=this._cipher,h=o.blockSize;l.call(this,c,f,h,o),this._prevBlock=c.slice(f,f+h)}}),i.Decryptor=i.extend({processBlock:function(c,f){var o=this._cipher,h=o.blockSize,u=c.slice(f,f+h);l.call(this,c,f,h,o),this._prevBlock=u}});function l(c,f,o,h){var u,a=this._iv;a?(u=a.slice(0),this._iv=void 0):u=this._prevBlock,h.encryptBlock(u,0);for(var x=0;x<o;x++)c[f+x]^=u[x]}return i}(),r.mode.CFB})},69972:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.mode.CTRGladman=function(){var i=r.lib.BlockCipherMode.extend();function l(o){if((o>>24&255)===255){var h=o>>16&255,u=o>>8&255,a=o&255;h===255?(h=0,u===255?(u=0,a===255?a=0:++a):++u):++h,o=0,o+=h<<16,o+=u<<8,o+=a}else o+=16777216;return o}function c(o){return(o[0]=l(o[0]))===0&&(o[1]=l(o[1])),o}var f=i.Encryptor=i.extend({processBlock:function(o,h){var u=this._cipher,a=u.blockSize,x=this._iv,p=this._counter;x&&(p=this._counter=x.slice(0),this._iv=void 0),c(p);var y=p.slice(0);u.encryptBlock(y,0);for(var _=0;_<a;_++)o[h+_]^=y[_]}});return i.Decryptor=f,i}(),r.mode.CTRGladman})},98277:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.mode.CTR=function(){var i=r.lib.BlockCipherMode.extend(),l=i.Encryptor=i.extend({processBlock:function(c,f){var o=this._cipher,h=o.blockSize,u=this._iv,a=this._counter;u&&(a=this._counter=u.slice(0),this._iv=void 0);var x=a.slice(0);o.encryptBlock(x,0),a[h-1]=a[h-1]+1|0;for(var p=0;p<h;p++)c[f+p]^=x[p]}});return i.Decryptor=l,i}(),r.mode.CTR})},79182:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.mode.ECB=function(){var i=r.lib.BlockCipherMode.extend();return i.Encryptor=i.extend({processBlock:function(l,c){this._cipher.encryptBlock(l,c)}}),i.Decryptor=i.extend({processBlock:function(l,c){this._cipher.decryptBlock(l,c)}}),i}(),r.mode.ECB})},30509:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.mode.OFB=function(){var i=r.lib.BlockCipherMode.extend(),l=i.Encryptor=i.extend({processBlock:function(c,f){var o=this._cipher,h=o.blockSize,u=this._iv,a=this._keystream;u&&(a=this._keystream=u.slice(0),this._iv=void 0),o.encryptBlock(a,0);for(var x=0;x<h;x++)c[f+x]^=a[x]}});return i.Decryptor=l,i}(),r.mode.OFB})},74990:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.AnsiX923={pad:function(i,l){var c=i.sigBytes,f=l*4,o=f-c%f,h=c+o-1;i.clamp(),i.words[h>>>2]|=o<<24-h%4*8,i.sigBytes+=o},unpad:function(i){var l=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=l}},r.pad.Ansix923})},2593:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.Iso10126={pad:function(i,l){var c=l*4,f=c-i.sigBytes%c;i.concat(r.lib.WordArray.random(f-1)).concat(r.lib.WordArray.create([f<<24],1))},unpad:function(i){var l=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=l}},r.pad.Iso10126})},10829:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.Iso97971={pad:function(i,l){i.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(i,l)},unpad:function(i){r.pad.ZeroPadding.unpad(i),i.sigBytes--}},r.pad.Iso97971})},18846:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})},10265:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(93617))})(this,function(r){return r.pad.ZeroPadding={pad:function(i,l){var c=l*4;i.clamp(),i.sigBytes+=c-(i.sigBytes%c||c)},unpad:function(i){for(var l=i.words,c=i.sigBytes-1,c=i.sigBytes-1;c>=0;c--)if(l[c>>>2]>>>24-c%4*8&255){i.sigBytes=c+1;break}}},r.pad.ZeroPadding})},37248:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(49479),e(83760))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Base,f=l.WordArray,o=i.algo,h=o.SHA1,u=o.HMAC,a=o.PBKDF2=c.extend({cfg:c.extend({keySize:128/32,hasher:h,iterations:1}),init:function(x){this.cfg=this.cfg.extend(x)},compute:function(x,p){for(var y=this.cfg,_=u.create(y.hasher,x),b=f.create(),A=f.create([1]),k=b.words,L=A.words,T=y.keySize,D=y.iterations;k.length<T;){var M=_.update(p).finalize(A);_.reset();for(var B=M.words,N=B.length,K=M,G=1;G<D;G++){K=_.finalize(K),_.reset();for(var W=K.words,ne=0;ne<N;ne++)B[ne]^=W[ne]}b.concat(M),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,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,o=[],h=[],u=[],a=f.RabbitLegacy=c.extend({_doReset:function(){var p=this._key.words,y=this.cfg.iv,_=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],b=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var A=0;A<4;A++)x.call(this);for(var A=0;A<8;A++)b[A]^=_[A+4&7];if(y){var k=y.words,L=k[0],T=k[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,M=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,B=D>>>16|M&4294901760,N=M<<16|D&65535;b[0]^=D,b[1]^=B,b[2]^=M,b[3]^=N,b[4]^=D,b[5]^=B,b[6]^=M,b[7]^=N;for(var A=0;A<4;A++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),o[0]=_[0]^_[5]>>>16^_[3]<<16,o[1]=_[2]^_[7]>>>16^_[5]<<16,o[2]=_[4]^_[1]>>>16^_[7]<<16,o[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)o[b]=(o[b]<<8|o[b]>>>24)&16711935|(o[b]<<24|o[b]>>>8)&4278255360,p[y+b]^=o[b]},blockSize:128/32,ivSize:64/32});function x(){for(var p=this._X,y=this._C,_=0;_<8;_++)h[_]=y[_];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<h[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<h[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<h[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<h[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<h[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<h[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<h[6]>>>0?1:0)|0,this._b=y[7]>>>0<h[7]>>>0?1:0;for(var _=0;_<8;_++){var b=p[_]+y[_],A=b&65535,k=b>>>16,L=((A*A>>>17)+A*k>>>15)+k*k,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,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,o=[],h=[],u=[],a=f.Rabbit=c.extend({_doReset:function(){for(var p=this._key.words,y=this.cfg.iv,_=0;_<4;_++)p[_]=(p[_]<<8|p[_]>>>24)&16711935|(p[_]<<24|p[_]>>>8)&4278255360;var b=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],A=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var _=0;_<4;_++)x.call(this);for(var _=0;_<8;_++)A[_]^=b[_+4&7];if(y){var k=y.words,L=k[0],T=k[1],D=(L<<8|L>>>24)&16711935|(L<<24|L>>>8)&4278255360,M=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,B=D>>>16|M&4294901760,N=M<<16|D&65535;A[0]^=D,A[1]^=B,A[2]^=M,A[3]^=N,A[4]^=D,A[5]^=B,A[6]^=M,A[7]^=N;for(var _=0;_<4;_++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),o[0]=_[0]^_[5]>>>16^_[3]<<16,o[1]=_[2]^_[7]>>>16^_[5]<<16,o[2]=_[4]^_[1]>>>16^_[7]<<16,o[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)o[b]=(o[b]<<8|o[b]>>>24)&16711935|(o[b]<<24|o[b]>>>8)&4278255360,p[y+b]^=o[b]},blockSize:128/32,ivSize:64/32});function x(){for(var p=this._X,y=this._C,_=0;_<8;_++)h[_]=y[_];y[0]=y[0]+1295307597+this._b|0,y[1]=y[1]+3545052371+(y[0]>>>0<h[0]>>>0?1:0)|0,y[2]=y[2]+886263092+(y[1]>>>0<h[1]>>>0?1:0)|0,y[3]=y[3]+1295307597+(y[2]>>>0<h[2]>>>0?1:0)|0,y[4]=y[4]+3545052371+(y[3]>>>0<h[3]>>>0?1:0)|0,y[5]=y[5]+886263092+(y[4]>>>0<h[4]>>>0?1:0)|0,y[6]=y[6]+1295307597+(y[5]>>>0<h[5]>>>0?1:0)|0,y[7]=y[7]+3545052371+(y[6]>>>0<h[6]>>>0?1:0)|0,this._b=y[7]>>>0<h[7]>>>0?1:0;for(var _=0;_<8;_++){var b=p[_]+y[_],A=b&65535,k=b>>>16,L=((A*A>>>17)+A*k>>>15)+k*k,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,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.StreamCipher,f=i.algo,o=f.RC4=c.extend({_doReset:function(){for(var a=this._key,x=a.words,p=a.sigBytes,y=this._S=[],_=0;_<256;_++)y[_]=_;for(var _=0,b=0;_<256;_++){var A=_%p,k=x[A>>>2]>>>24-A%4*8&255;b=(b+y[_]+k)%256;var 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(o);var u=f.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._doReset.call(this);for(var a=this.cfg.drop;a>0;a--)h.call(this)}});i.RC4Drop=c._createHelper(u)}(),r.RC4})},25824:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,o=c.Hasher,h=l.algo,u=f.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=f.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),x=f.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),p=f.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),y=f.create([0,1518500249,1859775393,2400959708,2840853838]),_=f.create([1352829926,1548603684,1836072691,2053994217,0]),b=h.RIPEMD160=o.extend({_doReset:function(){this._hash=f.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(B,N){for(var K=0;K<16;K++){var G=N+K,W=B[G];B[G]=(W<<8|W>>>24)&16711935|(W<<24|W>>>8)&4278255360}var ne=this._hash.words,ae=y.words,le=_.words,Q=u.words,J=a.words,V=x.words,ue=p.words,ee,X,ce,z,$,se,_e,Oe,Le,He;se=ee=ne[0],_e=X=ne[1],Oe=ce=ne[2],Le=z=ne[3],He=$=ne[4];for(var $e,K=0;K<80;K+=1)$e=ee+B[N+Q[K]]|0,K<16?$e+=A(X,ce,z)+ae[0]:K<32?$e+=k(X,ce,z)+ae[1]:K<48?$e+=L(X,ce,z)+ae[2]:K<64?$e+=T(X,ce,z)+ae[3]:$e+=D(X,ce,z)+ae[4],$e=$e|0,$e=M($e,V[K]),$e=$e+$|0,ee=$,$=z,z=M(ce,10),ce=X,X=$e,$e=se+B[N+J[K]]|0,K<16?$e+=D(_e,Oe,Le)+le[0]:K<32?$e+=T(_e,Oe,Le)+le[1]:K<48?$e+=L(_e,Oe,Le)+le[2]:K<64?$e+=k(_e,Oe,Le)+le[3]:$e+=A(_e,Oe,Le)+le[4],$e=$e|0,$e=M($e,ue[K]),$e=$e+He|0,se=He,He=Le,Le=M(Oe,10),Oe=_e,_e=$e;$e=ne[1]+ce+Le|0,ne[1]=ne[2]+z+He|0,ne[2]=ne[3]+$+se|0,ne[3]=ne[4]+ee+_e|0,ne[4]=ne[0]+X+Oe|0,ne[0]=$e},_doFinalize:function(){var B=this._data,N=B.words,K=this._nDataBytes*8,G=B.sigBytes*8;N[G>>>5]|=128<<24-G%32,N[(G+64>>>9<<4)+14]=(K<<8|K>>>24)&16711935|(K<<24|K>>>8)&4278255360,B.sigBytes=(N.length+1)*4,this._process();for(var W=this._hash,ne=W.words,ae=0;ae<5;ae++){var le=ne[ae];ne[ae]=(le<<8|le>>>24)&16711935|(le<<24|le>>>8)&4278255360}return W},clone:function(){var B=o.clone.call(this);return B._hash=this._hash.clone(),B}});function A(B,N,K){return B^N^K}function k(B,N,K){return B&N|~B&K}function L(B,N,K){return(B|~N)^K}function T(B,N,K){return B&K|N&~K}function D(B,N,K){return B^(N|~K)}function M(B,N){return B<<N|B>>>32-N}l.RIPEMD160=o._createHelper(b),l.HmacRIPEMD160=o._createHmacHelper(b)}(Math),r.RIPEMD160})},49479:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.Hasher,o=i.algo,h=[],u=o.SHA1=f.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(a,x){for(var p=this._hash.words,y=p[0],_=p[1],b=p[2],A=p[3],k=p[4],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)+k+h[L];L<20?D+=(_&b|~_&A)+1518500249:L<40?D+=(_^b^A)+1859775393:L<60?D+=(_&b|_&A|b&A)-1894007588:D+=(_^b^A)-899497514,k=A,A=b,b=_<<30|_>>>2,_=y,y=D}p[0]=p[0]+y|0,p[1]=p[1]+_|0,p[2]=p[2]+b|0,p[3]=p[3]+A|0,p[4]=p[4]+k|0},_doFinalize:function(){var a=this._data,x=a.words,p=this._nDataBytes*8,y=a.sigBytes*8;return x[y>>>5]|=128<<24-y%32,x[(y+64>>>9<<4)+14]=Math.floor(p/4294967296),x[(y+64>>>9<<4)+15]=p,a.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var a=f.clone.call(this);return a._hash=this._hash.clone(),a}});i.SHA1=f._createHelper(u),i.HmacSHA1=f._createHmacHelper(u)}(),r.SHA1})},93653:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(2481))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=i.algo,o=f.SHA256,h=f.SHA224=o.extend({_doReset:function(){this._hash=new c.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=o._doFinalize.call(this);return u.sigBytes-=4,u}});i.SHA224=o._createHelper(h),i.HmacSHA224=o._createHmacHelper(h)}(),r.SHA224})},2481:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,o=c.Hasher,h=l.algo,u=[],a=[];(function(){function y(k){for(var L=i.sqrt(k),T=2;T<=L;T++)if(!(k%T))return!1;return!0}function _(k){return(k-(k|0))*4294967296|0}for(var b=2,A=0;A<64;)y(b)&&(A<8&&(u[A]=_(i.pow(b,.5))),a[A]=_(i.pow(b,.3333333333333333)),A++),b++})();var x=[],p=h.SHA256=o.extend({_doReset:function(){this._hash=new f.init(u.slice(0))},_doProcessBlock:function(y,_){for(var b=this._hash.words,A=b[0],k=b[1],L=b[2],T=b[3],D=b[4],M=b[5],B=b[6],N=b[7],K=0;K<64;K++){if(K<16)x[K]=y[_+K]|0;else{var G=x[K-15],W=(G<<25|G>>>7)^(G<<14|G>>>18)^G>>>3,ne=x[K-2],ae=(ne<<15|ne>>>17)^(ne<<13|ne>>>19)^ne>>>10;x[K]=W+x[K-7]+ae+x[K-16]}var le=D&M^~D&B,Q=A&k^A&L^k&L,J=(A<<30|A>>>2)^(A<<19|A>>>13)^(A<<10|A>>>22),V=(D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25),ue=N+V+le+a[K]+x[K],ee=J+Q;N=B,B=M,M=D,D=T+ue|0,T=L,L=k,k=A,A=ue+ee|0}b[0]=b[0]+A|0,b[1]=b[1]+k|0,b[2]=b[2]+L|0,b[3]=b[3]+T|0,b[4]=b[4]+D|0,b[5]=b[5]+M|0,b[6]=b[6]+B|0,b[7]=b[7]+N|0},_doFinalize:function(){var y=this._data,_=y.words,b=this._nDataBytes*8,A=y.sigBytes*8;return _[A>>>5]|=128<<24-A%32,_[(A+64>>>9<<4)+14]=i.floor(b/4294967296),_[(A+64>>>9<<4)+15]=b,y.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var y=o.clone.call(this);return y._hash=this._hash.clone(),y}});l.SHA256=o._createHelper(p),l.HmacSHA256=o._createHmacHelper(p)}(Math),r.SHA256})},79421:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(41988))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.WordArray,o=c.Hasher,h=l.x64,u=h.Word,a=l.algo,x=[],p=[],y=[];(function(){for(var A=1,k=0,L=0;L<24;L++){x[A+5*k]=(L+1)*(L+2)/2%64;var T=k%5,D=(2*A+3*k)%5;A=T,k=D}for(var A=0;A<5;A++)for(var k=0;k<5;k++)p[A+5*k]=k+(2*A+3*k)%5*5;for(var M=1,B=0;B<24;B++){for(var N=0,K=0,G=0;G<7;G++){if(M&1){var W=(1<<G)-1;W<32?K^=1<<W:N^=1<<W-32}M&128?M=M<<1^113:M<<=1}y[B]=u.create(N,K)}})();var _=[];(function(){for(var A=0;A<25;A++)_[A]=u.create()})();var b=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var A=this._state=[],k=0;k<25;k++)A[k]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(A,k){for(var L=this._state,T=this.blockSize/2,D=0;D<T;D++){var M=A[k+2*D],B=A[k+2*D+1];M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360;var N=L[D];N.high^=B,N.low^=M}for(var K=0;K<24;K++){for(var G=0;G<5;G++){for(var W=0,ne=0,ae=0;ae<5;ae++){var N=L[G+5*ae];W^=N.high,ne^=N.low}var le=_[G];le.high=W,le.low=ne}for(var G=0;G<5;G++)for(var Q=_[(G+4)%5],J=_[(G+1)%5],V=J.high,ue=J.low,W=Q.high^(V<<1|ue>>>31),ne=Q.low^(ue<<1|V>>>31),ae=0;ae<5;ae++){var N=L[G+5*ae];N.high^=W,N.low^=ne}for(var ee=1;ee<25;ee++){var W,ne,N=L[ee],X=N.high,ce=N.low,z=x[ee];z<32?(W=X<<z|ce>>>32-z,ne=ce<<z|X>>>32-z):(W=ce<<z-32|X>>>64-z,ne=X<<z-32|ce>>>64-z);var $=_[p[ee]];$.high=W,$.low=ne}var se=_[0],_e=L[0];se.high=_e.high,se.low=_e.low;for(var G=0;G<5;G++)for(var ae=0;ae<5;ae++){var ee=G+5*ae,N=L[ee],Oe=_[ee],Le=_[(G+1)%5+5*ae],He=_[(G+2)%5+5*ae];N.high=Oe.high^~Le.high&He.high,N.low=Oe.low^~Le.low&He.low}var N=L[0],$e=y[K];N.high^=$e.high,N.low^=$e.low}},_doFinalize:function(){var A=this._data,k=A.words,L=this._nDataBytes*8,T=A.sigBytes*8,D=this.blockSize*32;k[T>>>5]|=1<<24-T%32,k[(i.ceil((T+1)/D)*D>>>5)-1]|=128,A.sigBytes=k.length*4,this._process();for(var M=this._state,B=this.cfg.outputLength/8,N=B/8,K=[],G=0;G<N;G++){var W=M[G],ne=W.high,ae=W.low;ne=(ne<<8|ne>>>24)&16711935|(ne<<24|ne>>>8)&4278255360,ae=(ae<<8|ae>>>24)&16711935|(ae<<24|ae>>>8)&4278255360,K.push(ae),K.push(ne)}return new f.init(K,B)},clone:function(){for(var A=o.clone.call(this),k=A._state=this._state.slice(0),L=0;L<25;L++)k[L]=k[L].clone();return A}});l.SHA3=o._createHelper(b),l.HmacSHA3=o._createHmacHelper(b)}(Math),r.SHA3})},82307:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(41988),e(12133))})(this,function(r){return function(){var i=r,l=i.x64,c=l.Word,f=l.WordArray,o=i.algo,h=o.SHA512,u=o.SHA384=h.extend({_doReset:function(){this._hash=new f.init([new c.init(3418070365,3238371032),new c.init(1654270250,914150663),new c.init(2438529370,812702999),new c.init(355462360,4144912697),new c.init(1731405415,4290775857),new c.init(2394180231,1750603025),new c.init(3675008525,1694076839),new c.init(1203062813,3204075428)])},_doFinalize:function(){var a=h._doFinalize.call(this);return a.sigBytes-=16,a}});i.SHA384=h._createHelper(u),i.HmacSHA384=h._createHmacHelper(u)}(),r.SHA384})},12133:function(d,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(41988))})(this,function(r){return function(){var i=r,l=i.lib,c=l.Hasher,f=i.x64,o=f.Word,h=f.WordArray,u=i.algo;function a(){return o.create.apply(o,arguments)}var x=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],p=[];(function(){for(var _=0;_<80;_++)p[_]=a()})();var y=u.SHA512=c.extend({_doReset:function(){this._hash=new h.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(_,b){for(var A=this._hash.words,k=A[0],L=A[1],T=A[2],D=A[3],M=A[4],B=A[5],N=A[6],K=A[7],G=k.high,W=k.low,ne=L.high,ae=L.low,le=T.high,Q=T.low,J=D.high,V=D.low,ue=M.high,ee=M.low,X=B.high,ce=B.low,z=N.high,$=N.low,se=K.high,_e=K.low,Oe=G,Le=W,He=ne,$e=ae,Bt=le,yt=Q,It=J,rr=V,Yt=ue,lr=ee,Ve=X,Ct=ce,Ut=z,st=$,xt=se,ht=_e,rt=0;rt<80;rt++){var Ue,ye,Ce=p[rt];if(rt<16)ye=Ce.high=_[b+rt*2]|0,Ue=Ce.low=_[b+rt*2+1]|0;else{var Fe=p[rt-15],je=Fe.high,Ge=Fe.low,it=(je>>>1|Ge<<31)^(je>>>8|Ge<<24)^je>>>7,ct=(Ge>>>1|je<<31)^(Ge>>>8|je<<24)^(Ge>>>7|je<<25),Gt=p[rt-2],Ht=Gt.high,Pe=Gt.low,tt=(Ht>>>19|Pe<<13)^(Ht<<3|Pe>>>29)^Ht>>>6,Vt=(Pe>>>19|Ht<<13)^(Pe<<3|Ht>>>29)^(Pe>>>6|Ht<<26),kt=p[rt-7],Zt=kt.high,Nt=kt.low,At=p[rt-16],qt=At.high,Ke=At.low;Ue=ct+Nt,ye=it+Zt+(Ue>>>0<ct>>>0?1:0),Ue=Ue+Vt,ye=ye+tt+(Ue>>>0<Vt>>>0?1:0),Ue=Ue+Ke,ye=ye+qt+(Ue>>>0<Ke>>>0?1:0),Ce.high=ye,Ce.low=Ue}var fe=Yt&Ve^~Yt&Ut,pe=lr&Ct^~lr&st,Dt=Oe&He^Oe&Bt^He&Bt,De=Le&$e^Le&yt^$e&yt,ft=(Oe>>>28|Le<<4)^(Oe<<30|Le>>>2)^(Oe<<25|Le>>>7),zt=(Le>>>28|Oe<<4)^(Le<<30|Oe>>>2)^(Le<<25|Oe>>>7),Et=(Yt>>>14|lr<<18)^(Yt>>>18|lr<<14)^(Yt<<23|lr>>>9),Re=(lr>>>14|Yt<<18)^(lr>>>18|Yt<<14)^(lr<<23|Yt>>>9),wt=x[rt],xe=wt.high,qe=wt.low,vt=ht+Re,Ft=xt+Et+(vt>>>0<ht>>>0?1:0),vt=vt+pe,Ft=Ft+fe+(vt>>>0<pe>>>0?1:0),vt=vt+qe,Ft=Ft+xe+(vt>>>0<qe>>>0?1:0),vt=vt+Ue,Ft=Ft+ye+(vt>>>0<Ue>>>0?1:0),Be=zt+De,Pr=ft+Dt+(Be>>>0<zt>>>0?1:0);xt=Ut,ht=st,Ut=Ve,st=Ct,Ve=Yt,Ct=lr,lr=rr+vt|0,Yt=It+Ft+(lr>>>0<rr>>>0?1:0)|0,It=Bt,rr=yt,Bt=He,yt=$e,He=Oe,$e=Le,Le=vt+Be|0,Oe=Ft+Pr+(Le>>>0<vt>>>0?1:0)|0}W=k.low=W+Le,k.high=G+Oe+(W>>>0<Le>>>0?1:0),ae=L.low=ae+$e,L.high=ne+He+(ae>>>0<$e>>>0?1:0),Q=T.low=Q+yt,T.high=le+Bt+(Q>>>0<yt>>>0?1:0),V=D.low=V+rr,D.high=J+It+(V>>>0<rr>>>0?1:0),ee=M.low=ee+lr,M.high=ue+Yt+(ee>>>0<lr>>>0?1:0),ce=B.low=ce+Ct,B.high=X+Ve+(ce>>>0<Ct>>>0?1:0),$=N.low=$+st,N.high=z+Ut+($>>>0<st>>>0?1:0),_e=K.low=_e+ht,K.high=se+xt+(_e>>>0<ht>>>0?1:0)},_doFinalize:function(){var _=this._data,b=_.words,A=this._nDataBytes*8,k=_.sigBytes*8;b[k>>>5]|=128<<24-k%32,b[(k+128>>>10<<5)+30]=Math.floor(A/4294967296),b[(k+128>>>10<<5)+31]=A,_.sigBytes=b.length*4,this._process();var 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,v,e){(function(r,i,l){d.exports=v=i(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.BlockCipher,o=i.algo,h=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],a=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],x=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],y=o.DES=f.extend({_doReset:function(){for(var k=this._key,L=k.words,T=[],D=0;D<56;D++){var M=h[D]-1;T[D]=L[M>>>5]>>>31-M%32&1}for(var B=this._subKeys=[],N=0;N<16;N++){for(var K=B[N]=[],G=a[N],D=0;D<24;D++)K[D/6|0]|=T[(u[D]-1+G)%28]<<31-D%6,K[4+(D/6|0)]|=T[28+(u[D+24]-1+G)%28]<<31-D%6;K[0]=K[0]<<1|K[0]>>>31;for(var D=1;D<7;D++)K[D]=K[D]>>>(D-1)*4+3;K[7]=K[7]<<5|K[7]>>>27}for(var W=this._invSubKeys=[],D=0;D<16;D++)W[D]=B[15-D]},encryptBlock:function(k,L){this._doCryptBlock(k,L,this._subKeys)},decryptBlock:function(k,L){this._doCryptBlock(k,L,this._invSubKeys)},_doCryptBlock:function(k,L,T){this._lBlock=k[L],this._rBlock=k[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 M=T[D],B=this._lBlock,N=this._rBlock,K=0,G=0;G<8;G++)K|=x[G][((N^M[G])&p[G])>>>0];this._lBlock=N,this._rBlock=B^K}var W=this._lBlock;this._lBlock=this._rBlock,this._rBlock=W,_.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),_.call(this,16,65535),_.call(this,4,252645135),k[L]=this._lBlock,k[L+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function _(k,L){var T=(this._lBlock>>>k^this._rBlock)&L;this._rBlock^=T,this._lBlock^=T<<k}function b(k,L){var T=(this._rBlock>>>k^this._lBlock)&L;this._lBlock^=T,this._rBlock^=T<<k}i.DES=f._createHelper(y);var A=o.TripleDES=f.extend({_doReset:function(){var k=this._key,L=k.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),M=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(M))},encryptBlock:function(k,L){this._des1.encryptBlock(k,L),this._des2.decryptBlock(k,L),this._des3.encryptBlock(k,L)},decryptBlock:function(k,L){this._des3.decryptBlock(k,L),this._des2.encryptBlock(k,L),this._des1.decryptBlock(k,L)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=f._createHelper(A)}(),r.TripleDES})},41988:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(i){var l=r,c=l.lib,f=c.Base,o=c.WordArray,h=l.x64={},u=h.Word=f.extend({init:function(x,p){this.high=x,this.low=p}}),a=h.WordArray=f.extend({init:function(x,p){x=this.words=x||[],p!=i?this.sigBytes=p:this.sigBytes=x.length*8},toX32:function(){for(var x=this.words,p=x.length,y=[],_=0;_<p;_++){var b=x[_];y.push(b.high),y.push(b.low)}return o.create(y,this.sigBytes)},clone:function(){for(var x=f.clone.call(this),p=x.words=this.words.slice(0),y=p.length,_=0;_<y;_++)p[_]=p[_].clone();return x}})}(),r})},35413:function(d,v,e){"use strict";var r=e(57046),i=e(69574),l=e(63474),c=e(47095),f=e(99363),o=d.exports=function(h,u){var a,x,p,y,_;return arguments.length<2||typeof h!="string"?(y=u,u=h,h=null):y=arguments[2],r(h)?(a=f.call(h,"c"),x=f.call(h,"e"),p=f.call(h,"w")):(a=p=!0,x=!1),_={value:u,configurable:a,enumerable:x,writable:p},y?l(c(y),_):_};o.gs=function(h,u,a){var x,p,y,_;return typeof h!="string"?(y=a,a=u,u=h,h=null):y=arguments[3],r(u)?i(u)?r(a)?i(a)||(y=a,a=void 0):a=void 0:(y=u,u=a=void 0):u=void 0,r(h)?(x=f.call(h,"c"),p=f.call(h,"e")):(x=!0,p=!1),_={get:u,set:a,configurable:x,enumerable:p},y?l(c(y),_):_}},61186:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v=1e3,e=6e4,r=36e5,i="millisecond",l="second",c="minute",f="hour",o="day",h="week",u="month",a="quarter",x="year",p="date",y="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(ae){var le=["th","st","nd","rd"],Q=ae%100;return"["+ae+(le[(Q-20)%10]||le[Q]||le[0])+"]"}},k=function(ae,le,Q){var J=String(ae);return!J||J.length>=le?ae:""+Array(le+1-J.length).join(Q)+ae},L={s:k,z:function(ae){var le=-ae.utcOffset(),Q=Math.abs(le),J=Math.floor(Q/60),V=Q%60;return(le<=0?"+":"-")+k(J,2,"0")+":"+k(V,2,"0")},m:function ae(le,Q){if(le.date()<Q.date())return-ae(Q,le);var J=12*(Q.year()-le.year())+(Q.month()-le.month()),V=le.clone().add(J,u),ue=Q-V<0,ee=le.clone().add(J+(ue?-1:1),u);return+(-(J+(Q-V)/(ue?V-ee:ee-V))||0)},a:function(ae){return ae<0?Math.ceil(ae)||0:Math.floor(ae)},p:function(ae){return{M:u,y:x,w:h,d:o,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]=A;var M="$isDayjsObject",B=function(ae){return ae instanceof W||!(!ae||!ae[M])},N=function ae(le,Q,J){var V;if(!le)return T;if(typeof le=="string"){var ue=le.toLowerCase();D[ue]&&(V=ue),Q&&(D[ue]=Q,V=ue);var ee=le.split("-");if(!V&&ee.length>1)return ae(ee[0])}else{var X=le.name;D[X]=le,V=X}return!J&&V&&(T=V),V||!J&&T},K=function(ae,le){if(B(ae))return ae.clone();var Q=typeof le=="object"?le:{};return Q.date=ae,Q.args=arguments,new W(Q)},G=L;G.l=N,G.i=B,G.w=function(ae,le){return K(ae,{locale:le.$L,utc:le.$u,x:le.$x,$offset:le.$offset})};var W=function(){function ae(Q){this.$L=N(Q.locale,null,!0),this.parse(Q),this.$x=this.$x||Q.x||{},this[M]=!0}var le=ae.prototype;return le.parse=function(Q){this.$d=function(J){var V=J.date,ue=J.utc;if(V===null)return new Date(NaN);if(G.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var ee=V.match(_);if(ee){var X=ee[2]-1||0,ce=(ee[7]||"0").substring(0,3);return ue?new Date(Date.UTC(ee[1],X,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,ce)):new Date(ee[1],X,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,ce)}}return new Date(V)}(Q),this.init()},le.init=function(){var Q=this.$d;this.$y=Q.getFullYear(),this.$M=Q.getMonth(),this.$D=Q.getDate(),this.$W=Q.getDay(),this.$H=Q.getHours(),this.$m=Q.getMinutes(),this.$s=Q.getSeconds(),this.$ms=Q.getMilliseconds()},le.$utils=function(){return G},le.isValid=function(){return this.$d.toString()!==y},le.isSame=function(Q,J){var V=K(Q);return this.startOf(J)<=V&&V<=this.endOf(J)},le.isAfter=function(Q,J){return K(Q)<this.startOf(J)},le.isBefore=function(Q,J){return this.endOf(J)<K(Q)},le.$g=function(Q,J,V){return G.u(Q)?this[J]:this.set(V,Q)},le.unix=function(){return Math.floor(this.valueOf()/1e3)},le.valueOf=function(){return this.$d.getTime()},le.startOf=function(Q,J){var V=this,ue=!!G.u(J)||J,ee=G.p(Q),X=function(He,$e){var Bt=G.w(V.$u?Date.UTC(V.$y,$e,He):new Date(V.$y,$e,He),V);return ue?Bt:Bt.endOf(o)},ce=function(He,$e){return G.w(V.toDate()[He].apply(V.toDate("s"),(ue?[0,0,0,0]:[23,59,59,999]).slice($e)),V)},z=this.$W,$=this.$M,se=this.$D,_e="set"+(this.$u?"UTC":"");switch(ee){case x:return ue?X(1,0):X(31,11);case u:return ue?X(1,$):X(0,$+1);case h:var Oe=this.$locale().weekStart||0,Le=(z<Oe?z+7:z)-Oe;return X(ue?se-Le:se+(6-Le),$);case o:case p:return ce(_e+"Hours",0);case f:return ce(_e+"Minutes",1);case c:return ce(_e+"Seconds",2);case l:return ce(_e+"Milliseconds",3);default:return this.clone()}},le.endOf=function(Q){return this.startOf(Q,!1)},le.$set=function(Q,J){var V,ue=G.p(Q),ee="set"+(this.$u?"UTC":""),X=(V={},V[o]=ee+"Date",V[p]=ee+"Date",V[u]=ee+"Month",V[x]=ee+"FullYear",V[f]=ee+"Hours",V[c]=ee+"Minutes",V[l]=ee+"Seconds",V[i]=ee+"Milliseconds",V)[ue],ce=ue===o?this.$D+(J-this.$W):J;if(ue===u||ue===x){var z=this.clone().set(p,1);z.$d[X](ce),z.init(),this.$d=z.set(p,Math.min(this.$D,z.daysInMonth())).$d}else X&&this.$d[X](ce);return this.init(),this},le.set=function(Q,J){return this.clone().$set(Q,J)},le.get=function(Q){return this[G.p(Q)]()},le.add=function(Q,J){var V,ue=this;Q=Number(Q);var ee=G.p(J),X=function($){var se=K(ue);return G.w(se.date(se.date()+Math.round($*Q)),ue)};if(ee===u)return this.set(u,this.$M+Q);if(ee===x)return this.set(x,this.$y+Q);if(ee===o)return X(1);if(ee===h)return X(7);var ce=(V={},V[c]=e,V[f]=r,V[l]=v,V)[ee]||1,z=this.$d.getTime()+Q*ce;return G.w(z,this)},le.subtract=function(Q,J){return this.add(-1*Q,J)},le.format=function(Q){var J=this,V=this.$locale();if(!this.isValid())return V.invalidDate||y;var ue=Q||"YYYY-MM-DDTHH:mm:ssZ",ee=G.z(this),X=this.$H,ce=this.$m,z=this.$M,$=V.weekdays,se=V.months,_e=V.meridiem,Oe=function($e,Bt,yt,It){return $e&&($e[Bt]||$e(J,ue))||yt[Bt].slice(0,It)},Le=function($e){return G.s(X%12||12,$e,"0")},He=_e||function($e,Bt,yt){var It=$e<12?"AM":"PM";return yt?It.toLowerCase():It};return ue.replace(b,function($e,Bt){return Bt||function(yt){switch(yt){case"YY":return String(J.$y).slice(-2);case"YYYY":return G.s(J.$y,4,"0");case"M":return z+1;case"MM":return G.s(z+1,2,"0");case"MMM":return Oe(V.monthsShort,z,se,3);case"MMMM":return Oe(se,z);case"D":return J.$D;case"DD":return G.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Oe(V.weekdaysMin,J.$W,$,2);case"ddd":return Oe(V.weekdaysShort,J.$W,$,3);case"dddd":return $[J.$W];case"H":return String(X);case"HH":return G.s(X,2,"0");case"h":return Le(1);case"hh":return Le(2);case"a":return He(X,ce,!0);case"A":return He(X,ce,!1);case"m":return String(ce);case"mm":return G.s(ce,2,"0");case"s":return String(J.$s);case"ss":return G.s(J.$s,2,"0");case"SSS":return G.s(J.$ms,3,"0");case"Z":return ee}return null}($e)||ee.replace(":","")})},le.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},le.diff=function(Q,J,V){var ue,ee=this,X=G.p(J),ce=K(Q),z=(ce.utcOffset()-this.utcOffset())*e,$=this-ce,se=function(){return G.m(ee,ce)};switch(X){case x:ue=se()/12;break;case u:ue=se();break;case a:ue=se()/3;break;case h:ue=($-z)/6048e5;break;case o:ue=($-z)/864e5;break;case f:ue=$/r;break;case c:ue=$/e;break;case l:ue=$/v;break;default:ue=$}return V?ue:G.a(ue)},le.daysInMonth=function(){return this.endOf(u).$D},le.$locale=function(){return D[this.$L]},le.locale=function(Q,J){if(!Q)return this.$L;var V=this.clone(),ue=N(Q,J,!0);return ue&&(V.$L=ue),V},le.clone=function(){return G.w(this.$d,this)},le.toDate=function(){return new Date(this.valueOf())},le.toJSON=function(){return this.isValid()?this.toISOString():null},le.toISOString=function(){return this.$d.toISOString()},le.toString=function(){return this.$d.toUTCString()},ae}(),ne=W.prototype;return K.prototype=ne,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",o],["$M",u],["$y",x],["$D",p]].forEach(function(ae){ne[ae[1]]=function(le){return this.$g(le,ae[0],ae[1])}}),K.extend=function(ae,le){return ae.$i||(ae(le,W,K),ae.$i=!0),K},K.locale=N,K.isDayjs=B,K.unix=function(ae){return K(1e3*ae)},K.en=D[T],K.Ls=D,K.p={},K})},65517:function(d,v,e){(function(r,i){d.exports=i(e(61186))})(this,function(r){"use strict";function i(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var l=i(r),c={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(f,o){return o==="W"?f+"\u5468":f+"\u65E5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(f,o){var h=100*f+o;return h<600?"\u51CC\u6668":h<900?"\u65E9\u4E0A":h<1100?"\u4E0A\u5348":h<1300?"\u4E2D\u5348":h<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return l.default.locale(c,null,!0),c})},10238:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){var r=e.prototype,i=r.format;r.format=function(l){var c=this,f=this.$locale();if(!this.isValid())return i.bind(this)(l);var o=this.$utils(),h=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(u){switch(u){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return f.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return f.ordinal(c.week(),"W");case"w":case"ww":return o.s(c.week(),u==="w"?1:2,"0");case"W":case"WW":return o.s(c.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return o.s(String(c.$H===0?24:c.$H),u==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return u}});return i.bind(this)(h)}}})},33656:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,i=/\d\d/,l=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,f={},o=function(_){return(_=+_)+(_>68?1900:2e3)},h=function(_){return function(b){this[_]=+b}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(_){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var A=b.match(/([+-]|\d\d)/g),k=60*A[1]+(+A[2]||0);return k===0?0:A[0]==="+"?-k:k}(_)}],a=function(_){var b=f[_];return b&&(b.indexOf?b:b.s.concat(b.f))},x=function(_,b){var A,k=f.meridiem;if(k){for(var L=1;L<=24;L+=1)if(_.indexOf(k(L,0,b))>-1){A=L>12;break}}else A=_===(b?"pm":"PM");return A},p={A:[c,function(_){this.afternoon=x(_,!1)}],a:[c,function(_){this.afternoon=x(_,!0)}],Q:[r,function(_){this.month=3*(_-1)+1}],S:[r,function(_){this.milliseconds=100*+_}],SS:[i,function(_){this.milliseconds=10*+_}],SSS:[/\d{3}/,function(_){this.milliseconds=+_}],s:[l,h("seconds")],ss:[l,h("seconds")],m:[l,h("minutes")],mm:[l,h("minutes")],H:[l,h("hours")],h:[l,h("hours")],HH:[l,h("hours")],hh:[l,h("hours")],D:[l,h("day")],DD:[i,h("day")],Do:[c,function(_){var b=f.ordinal,A=_.match(/\d+/);if(this.day=A[0],b)for(var k=1;k<=31;k+=1)b(k).replace(/\[|\]/g,"")===_&&(this.day=k)}],w:[l,h("week")],ww:[i,h("week")],M:[l,h("month")],MM:[i,h("month")],MMM:[c,function(_){var b=a("months"),A=(a("monthsShort")||b.map(function(k){return k.slice(0,3)})).indexOf(_)+1;if(A<1)throw new Error;this.month=A%12||A}],MMMM:[c,function(_){var b=a("months").indexOf(_)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,h("year")],YY:[i,function(_){this.year=o(_)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function y(_){var b,A;b=_,A=f&&f.formats;for(var k=(_=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(K,G,W){var ne=W&&W.toUpperCase();return G||A[W]||v[W]||A[ne].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ae,le,Q){return le||Q.slice(1)})})).match(e),L=k.length,T=0;T<L;T+=1){var D=k[T],M=p[D],B=M&&M[0],N=M&&M[1];k[T]=N?{regex:B,parser:N}:D.replace(/^\[|\]$/g,"")}return function(K){for(var G={},W=0,ne=0;W<L;W+=1){var ae=k[W];if(typeof ae=="string")ne+=ae.length;else{var le=ae.regex,Q=ae.parser,J=K.slice(ne),V=le.exec(J)[0];Q.call(G,V),K=K.replace(V,"")}}return function(ue){var ee=ue.afternoon;if(ee!==void 0){var X=ue.hours;ee?X<12&&(ue.hours+=12):X===12&&(ue.hours=0),delete ue.afternoon}}(G),G}}return function(_,b,A){A.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(o=_.parseTwoDigitYear);var k=b.prototype,L=k.parse;k.parse=function(T){var D=T.date,M=T.utc,B=T.args;this.$u=M;var N=B[1];if(typeof N=="string"){var K=B[2]===!0,G=B[3]===!0,W=K||G,ne=B[2];G&&(ne=B[2]),f=this.$locale(),!K&&ne&&(f=A.Ls[ne]),this.$d=function(J,V,ue,ee){try{if(["x","X"].indexOf(V)>-1)return new Date((V==="X"?1e3:1)*J);var X=y(V)(J),ce=X.year,z=X.month,$=X.day,se=X.hours,_e=X.minutes,Oe=X.seconds,Le=X.milliseconds,He=X.zone,$e=X.week,Bt=new Date,yt=$||(ce||z?1:Bt.getDate()),It=ce||Bt.getFullYear(),rr=0;ce&&!z||(rr=z>0?z-1:Bt.getMonth());var Yt,lr=se||0,Ve=_e||0,Ct=Oe||0,Ut=Le||0;return He?new Date(Date.UTC(It,rr,yt,lr,Ve,Ct,Ut+60*He.offset*1e3)):ue?new Date(Date.UTC(It,rr,yt,lr,Ve,Ct,Ut)):(Yt=new Date(It,rr,yt,lr,Ve,Ct,Ut),$e&&(Yt=ee(Yt).week($e).toDate()),Yt)}catch(st){return new Date("")}}(D,N,M,A),this.init(),ne&&ne!==!0&&(this.$L=this.locale(ne).$L),W&&D!=this.format(N)&&(this.$d=new Date("")),f={}}else if(N instanceof Array)for(var ae=N.length,le=1;le<=ae;le+=1){B[1]=N[le-1];var Q=A.apply(this,B);if(Q.isValid()){this.$d=Q.$d,this.$L=Q.$L,this.init();break}le===ae&&(this.$d=new Date(""))}else L.call(this,T)}}})},47477:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v,e,r=1e3,i=6e4,l=36e5,c=864e5,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,o=31536e6,h=2628e6,u=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,a={years:o,months:h,days:c,hours:l,minutes:i,seconds:r,milliseconds:1,weeks:6048e5},x=function(D){return D instanceof L},p=function(D,M,B){return new L(D,B,M.$l)},y=function(D){return e.p(D)+"s"},_=function(D){return D<0},b=function(D){return _(D)?Math.ceil(D):Math.floor(D)},A=function(D){return Math.abs(D)},k=function(D,M){return D?_(D)?{negative:!0,format:""+A(D)+M}:{negative:!1,format:""+D+M}:{negative:!1,format:""}},L=function(){function D(B,N,K){var G=this;if(this.$d={},this.$l=K,B===void 0&&(this.$ms=0,this.parseFromMilliseconds()),N)return p(B*a[y(N)],this);if(typeof B=="number")return this.$ms=B,this.parseFromMilliseconds(),this;if(typeof B=="object")return Object.keys(B).forEach(function(ae){G.$d[y(ae)]=B[ae]}),this.calMilliseconds(),this;if(typeof B=="string"){var W=B.match(u);if(W){var ne=W.slice(2).map(function(ae){return ae!=null?Number(ae):0});return this.$d.years=ne[0],this.$d.months=ne[1],this.$d.weeks=ne[2],this.$d.days=ne[3],this.$d.hours=ne[4],this.$d.minutes=ne[5],this.$d.seconds=ne[6],this.calMilliseconds(),this}}return this}var M=D.prototype;return M.calMilliseconds=function(){var B=this;this.$ms=Object.keys(this.$d).reduce(function(N,K){return N+(B.$d[K]||0)*a[K]},0)},M.parseFromMilliseconds=function(){var B=this.$ms;this.$d.years=b(B/o),B%=o,this.$d.months=b(B/h),B%=h,this.$d.days=b(B/c),B%=c,this.$d.hours=b(B/l),B%=l,this.$d.minutes=b(B/i),B%=i,this.$d.seconds=b(B/r),B%=r,this.$d.milliseconds=B},M.toISOString=function(){var B=k(this.$d.years,"Y"),N=k(this.$d.months,"M"),K=+this.$d.days||0;this.$d.weeks&&(K+=7*this.$d.weeks);var G=k(K,"D"),W=k(this.$d.hours,"H"),ne=k(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=k(ae,"S"),Q=B.negative||N.negative||G.negative||W.negative||ne.negative||le.negative,J=W.format||ne.format||le.format?"T":"",V=(Q?"-":"")+"P"+B.format+N.format+G.format+J+W.format+ne.format+le.format;return V==="P"||V==="-P"?"P0D":V},M.toJSON=function(){return this.toISOString()},M.format=function(B){var N=B||"YYYY-MM-DDTHH:mm:ss",K={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return N.replace(f,function(G,W){return W||String(K[G])})},M.as=function(B){return this.$ms/a[y(B)]},M.get=function(B){var N=this.$ms,K=y(B);return K==="milliseconds"?N%=1e3:N=K==="weeks"?b(N/a[K]):this.$d[K],N||0},M.add=function(B,N,K){var G;return G=N?B*a[y(N)]:x(B)?B.$ms:p(B,this).$ms,p(this.$ms+G*(K?-1:1),this)},M.subtract=function(B,N){return this.add(B,N,!0)},M.locale=function(B){var N=this.clone();return N.$l=B,N},M.clone=function(){return p(this.$ms,this)},M.humanize=function(B){return v().add(this.$ms,"ms").locale(this.$l).fromNow(!B)},M.valueOf=function(){return this.asMilliseconds()},M.milliseconds=function(){return this.get("milliseconds")},M.asMilliseconds=function(){return this.as("milliseconds")},M.seconds=function(){return this.get("seconds")},M.asSeconds=function(){return this.as("seconds")},M.minutes=function(){return this.get("minutes")},M.asMinutes=function(){return this.as("minutes")},M.hours=function(){return this.get("hours")},M.asHours=function(){return this.as("hours")},M.days=function(){return this.get("days")},M.asDays=function(){return this.as("days")},M.weeks=function(){return this.get("weeks")},M.asWeeks=function(){return this.as("weeks")},M.months=function(){return this.get("months")},M.asMonths=function(){return this.as("months")},M.years=function(){return this.get("years")},M.asYears=function(){return this.as("years")},D}(),T=function(D,M,B){return D.add(M.years()*B,"y").add(M.months()*B,"M").add(M.days()*B,"d").add(M.hours()*B,"h").add(M.minutes()*B,"m").add(M.seconds()*B,"s").add(M.milliseconds()*B,"ms")};return function(D,M,B){v=B,e=B().$utils(),B.duration=function(G,W){var ne=B.locale();return p(G,{$l:ne},W)},B.isDuration=x;var N=M.prototype.add,K=M.prototype.subtract;M.prototype.add=function(G,W){return x(G)?T(this,G,1):N.bind(this)(G,W)},M.prototype.subtract=function(G,W){return x(G)?T(this,G,-1):K.bind(this)(G,W)}}})},58862:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){r.isMoment=function(i){return r.isDayjs(i)}}})},19277:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.isSameOrAfter=function(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}})},34749:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.isSameOrBefore=function(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}})},58319:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){var i=e.prototype,l=function(u){return u&&(u.indexOf?u:u.s)},c=function(u,a,x,p,y){var _=u.name?u:u.$locale(),b=l(_[a]),A=l(_[x]),k=b||A.map(function(T){return T.slice(0,p)});if(!y)return k;var L=_.weekStart;return k.map(function(T,D){return k[(D+(L||0))%7]})},f=function(){return r.Ls[r.locale()]},o=function(u,a){return u.formats[a]||function(x){return x.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,y,_){return y||_.slice(1)})}(u.formats[a.toUpperCase()])},h=function(){var u=this;return{months:function(a){return a?a.format("MMMM"):c(u,"months")},monthsShort:function(a){return a?a.format("MMM"):c(u,"monthsShort","months",3)},firstDayOfWeek:function(){return u.$locale().weekStart||0},weekdays:function(a){return a?a.format("dddd"):c(u,"weekdays")},weekdaysMin:function(a){return a?a.format("dd"):c(u,"weekdaysMin","weekdays",2)},weekdaysShort:function(a){return a?a.format("ddd"):c(u,"weekdaysShort","weekdays",3)},longDateFormat:function(a){return o(u.$locale(),a)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return h.bind(this)()},r.localeData=function(){var u=f();return{firstDayOfWeek:function(){return u.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(a){return o(u,a)},meridiem:u.meridiem,ordinal:u.ordinal}},r.months=function(){return c(f(),"months")},r.monthsShort=function(){return c(f(),"monthsShort","months",3)},r.weekdays=function(u){return c(f(),"weekdays",null,null,u)},r.weekdaysShort=function(u){return c(f(),"weekdaysShort","weekdays",3,u)},r.weekdaysMin=function(u){return c(f(),"weekdaysMin","weekdays",2,u)}}})},62053:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,r,i){var l=r.prototype,c=l.format;i.en.formats=v,l.format=function(f){f===void 0&&(f="YYYY-MM-DDTHH:mm:ssZ");var o=this.$locale().formats,h=function(u,a){return u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,p,y){var _=y&&y.toUpperCase();return p||a[y]||v[y]||a[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,A,k){return A||k.slice(1)})})}(f,o===void 0?{}:o);return c.call(this,h)}}})},59717:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){v=v||{};var i=e.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(o,h,u,a){return i.fromToBase(o,h,u,a)}r.en.relativeTime=l,i.fromToBase=function(o,h,u,a,x){for(var p,y,_,b=u.$locale().relativeTime||l,A=v.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=A.length,L=0;L<k;L+=1){var T=A[L];T.d&&(p=a?r(o).diff(u,T.d,!0):u.diff(o,T.d,!0));var D=(v.rounding||Math.round)(Math.abs(p));if(_=p>0,D<=T.r||!T.r){D<=1&&L>0&&(T=A[L-1]);var M=b[T.l];x&&(D=x(""+D)),y=typeof M=="string"?M.replace("%d",D):M(D,h,T.l,_);break}}if(h)return y;var B=_?b.future:b.past;return typeof B=="function"?B(y):B.replace("%s",y)},i.to=function(o,h){return c(o,h,this,!0)},i.from=function(o,h){return c(o,h,this)};var f=function(o){return o.$u?r.utc():r()};i.toNow=function(o){return this.to(f(this),o)},i.fromNow=function(o){return this.from(f(this),o)}}})},23250:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v="week",e="year";return function(r,i,l){var c=i.prototype;c.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var o=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=l(this).startOf(e).add(1,e).date(o),u=l(this).endOf(v);if(h.isBefore(u))return 1}var a=l(this).startOf(e).date(o).startOf(v).subtract(1,"millisecond"),x=this.diff(a,v,!0);return x<0?l(this).startOf("week").week():Math.ceil(x)},c.weeks=function(f){return f===void 0&&(f=null),this.week(f)}}})},74959:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.weekYear=function(){var r=this.month(),i=this.week(),l=this.year();return i===1&&r===11?l+1:r===0&&i>=52?l-1:l}}})},90111:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.weekday=function(r){var i=this.$locale().weekStart||0,l=this.$W,c=(l<i?l+7:l)-i;return this.$utils().u(r)?c:this.subtract(c,"day").add(r,"day")}}})},89880:function(d){"use strict";function v(o,h,u){return h in o?Object.defineProperty(o,h,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[h]=u,o}function e(o,h){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);h&&(a=a.filter(function(x){return Object.getOwnPropertyDescriptor(o,x).enumerable})),u.push.apply(u,a)}return u}function r(o){for(var h=1;h<arguments.length;h++){var u=arguments[h]!=null?arguments[h]:{};h%2?e(Object(u),!0).forEach(function(a){v(o,a,u[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):e(Object(u)).forEach(function(a){Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(u,a))})}return o}var i="@@DVA_LOADING/SHOW",l="@@DVA_LOADING/HIDE",c="loading";function f(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=o.namespace||c,u=o.only,a=u===void 0?[]:u,x=o.except,p=x===void 0?[]:x;if(a.length>0&&p.length>0)throw Error("It is ambiguous to configurate `only` and `except` items at the same time.");var y={global:!1,models:{},effects:{}},_=v({},h,function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y,k=arguments.length>1?arguments[1]:void 0,L=k.type,T=k.payload,D=T||{},M=D.namespace,B=D.actionType,N;switch(L){case i:N=r(r({},A),{},{global:!0,models:r(r({},A.models),{},v({},M,!0)),effects:r(r({},A.effects),{},v({},B,!0))});break;case l:{var K=r(r({},A.effects),{},v({},B,!1)),G=r(r({},A.models),{},v({},M,Object.keys(K).some(function(ne){var ae=ne.split("/")[0];return ae!==M?!1:K[ne]}))),W=Object.keys(G).some(function(ne){return G[ne]});N=r(r({},A),{},{global:W,models:G,effects:K});break}default:N=A;break}return N});function b(A,k,L,T){var D=k.put,M=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 B(){var N=arguments;return regeneratorRuntime.wrap(function(G){for(;;)switch(G.prev=G.next){case 0:return G.next=2,D({type:i,payload:{namespace:M,actionType:T}});case 2:return G.next=4,A.apply(void 0,N);case 4:return G.next=6,D({type:l,payload:{namespace:M,actionType:T}});case 6:case"end":return G.stop()}},B)}):A}return{extraReducers:_,onEffect:b}}d.exports=f},68192:function(d){"use strict";d.exports=function(){}},63474:function(d,v,e){"use strict";d.exports=e(71111)()?Object.assign:e(47597)},71111:function(d){"use strict";d.exports=function(){var v=Object.assign,e;return typeof v!="function"?!1:(e={foo:"raz"},v(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},47597:function(d,v,e){"use strict";var r=e(90721),i=e(58883),l=Math.max;d.exports=function(c,f){var o,h,u=l(arguments.length,2),a;for(c=Object(i(c)),a=function(x){try{c[x]=f[x]}catch(p){o||(o=p)}},h=1;h<u;++h)f=arguments[h],r(f).forEach(a);if(o!==void 0)throw o;return c}},67390:function(d,v,e){"use strict";var r=e(68192)();d.exports=function(i){return i!==r&&i!==null}},90721:function(d,v,e){"use strict";d.exports=e(69075)()?Object.keys:e(34810)},69075:function(d){"use strict";d.exports=function(){try{return Object.keys("primitive"),!0}catch(v){return!1}}},34810:function(d,v,e){"use strict";var r=e(67390),i=Object.keys;d.exports=function(l){return i(r(l)?Object(l):l)}},47095:function(d,v,e){"use strict";var r=e(67390),i=Array.prototype.forEach,l=Object.create,c=function(f,o){var h;for(h in f)o[h]=f[h]};d.exports=function(f){var o=l(null);return i.call(arguments,function(h){r(h)&&c(Object(h),o)}),o}},15895:function(d){"use strict";d.exports=function(v){if(typeof v!="function")throw new TypeError(v+" is not a function");return v}},58883:function(d,v,e){"use strict";var r=e(67390);d.exports=function(i){if(!r(i))throw new TypeError("Cannot use null or undefined");return i}},99363:function(d,v,e){"use strict";d.exports=e(65136)()?String.prototype.contains:e(12444)},65136:function(d){"use strict";var v="razdwatrzy";d.exports=function(){return typeof v.contains!="function"?!1:v.contains("dwa")===!0&&v.contains("foo")===!1}},12444:function(d){"use strict";var v=String.prototype.indexOf;d.exports=function(e){return v.call(this,e,arguments[1])>-1}},3424:function(d,v,e){"use strict";var r=e(35413),i=e(15895),l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,o=Object.defineProperty,h=Object.defineProperties,u=Object.prototype.hasOwnProperty,a={configurable:!0,enumerable:!1,writable:!0},x,p,y,_,b,A,k;x=function(L,T){var D;return i(T),u.call(this,"__ee__")?D=this.__ee__:(D=a.value=f(null),o(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,M;return i(T),M=this,x.call(this,L,D=function(){y.call(M,L,D),l.call(T,this,arguments)}),D.__eeOnceListener__=T,this},y=function(L,T){var D,M,B,N;if(i(T),!u.call(this,"__ee__"))return this;if(D=this.__ee__,!D[L])return this;if(M=D[L],typeof M=="object")for(N=0;B=M[N];++N)(B===T||B.__eeOnceListener__===T)&&(M.length===2?D[L]=M[N?0:1]:M.splice(N,1));else(M===T||M.__eeOnceListener__===T)&&delete D[L];return this},_=function(L){var T,D,M,B,N;if(u.call(this,"__ee__")&&(B=this.__ee__[L],!!B))if(typeof B=="object"){for(D=arguments.length,N=new Array(D-1),T=1;T<D;++T)N[T-1]=arguments[T];for(B=B.slice(),T=0;M=B[T];++T)l.call(M,this,N)}else switch(arguments.length){case 1:c.call(B,this);break;case 2:c.call(B,this,arguments[1]);break;case 3:c.call(B,this,arguments[1],arguments[2]);break;default:for(D=arguments.length,N=new Array(D-1),T=1;T<D;++T)N[T-1]=arguments[T];l.call(B,this,N)}},b={on:x,once:p,off:y,emit:_},A={on:r(x),once:r(p),off:r(y),emit:r(_)},k=h({},A),d.exports=v=function(L){return L==null?f(k):h(Object(L),A)},v.methods=b},89381:function(d){d.exports=function(e,r){if(r=typeof r=="number"?r:1/0,!r)return Array.isArray(e)?e.map(function(l){return l}):e;return i(e,1);function i(l,c){return l.reduce(function(f,o){return Array.isArray(o)&&c<r?f.concat(i(o,c+1)):f.concat(o)},[])}}},60288:function(d,v,e){var r;typeof window!="undefined"?r=window:typeof e.g!="undefined"?r=e.g:typeof self!="undefined"?r=self:r={},d.exports=r},85582:function(d,v,e){var r=v;r.utils=e(8631),r.common=e(28766),r.sha=e(26672),r.ripemd=e(20427),r.hmac=e(57969),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},28766:function(d,v,e){"use strict";var r=e(8631),i=e(61339);function l(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}v.BlockHash=l,l.prototype.update=function(f,o){if(f=r.toArray(f,o),this.pending?this.pending=this.pending.concat(f):this.pending=f,this.pendingTotal+=f.length,this.pending.length>=this._delta8){f=this.pending;var h=f.length%this._delta8;this.pending=f.slice(f.length-h,f.length),this.pending.length===0&&(this.pending=null),f=r.join32(f,0,f.length-h,this.endian);for(var u=0;u<f.length;u+=this._delta32)this._update(f,u,u+this._delta32)}return this},l.prototype.digest=function(f){return this.update(this._pad()),i(this.pending===null),this._digest(f)},l.prototype._pad=function(){var f=this.pendingTotal,o=this._delta8,h=o-(f+this.padLength)%o,u=new Array(h+this.padLength);u[0]=128;for(var a=1;a<h;a++)u[a]=0;if(f<<=3,this.endian==="big"){for(var x=8;x<this.padLength;x++)u[a++]=0;u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=f>>>24&255,u[a++]=f>>>16&255,u[a++]=f>>>8&255,u[a++]=f&255}else for(u[a++]=f&255,u[a++]=f>>>8&255,u[a++]=f>>>16&255,u[a++]=f>>>24&255,u[a++]=0,u[a++]=0,u[a++]=0,u[a++]=0,x=8;x<this.padLength;x++)u[a++]=0;return u}},57969:function(d,v,e){"use strict";var r=e(8631),i=e(61339);function l(c,f,o){if(!(this instanceof l))return new l(c,f,o);this.Hash=c,this.blockSize=c.blockSize/8,this.outSize=c.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(f,o))}d.exports=l,l.prototype._init=function(f){f.length>this.blockSize&&(f=new this.Hash().update(f).digest()),i(f.length<=this.blockSize);for(var o=f.length;o<this.blockSize;o++)f.push(0);for(o=0;o<f.length;o++)f[o]^=54;for(this.inner=new this.Hash().update(f),o=0;o<f.length;o++)f[o]^=106;this.outer=new this.Hash().update(f)},l.prototype.update=function(f,o){return this.inner.update(f,o),this},l.prototype.digest=function(f){return this.outer.update(this.inner.digest()),this.outer.digest(f)}},20427:function(d,v,e){"use strict";var r=e(8631),i=e(28766),l=r.rotl32,c=r.sum32,f=r.sum32_3,o=r.sum32_4,h=i.BlockHash;function u(){if(!(this instanceof u))return new u;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}r.inherits(u,h),v.ripemd160=u,u.blockSize=512,u.outSize=160,u.hmacStrength=192,u.padLength=64,u.prototype._update=function(L,T){for(var D=this.h[0],M=this.h[1],B=this.h[2],N=this.h[3],K=this.h[4],G=D,W=M,ne=B,ae=N,le=K,Q=0;Q<80;Q++){var J=c(l(o(D,a(Q,M,B,N),L[y[Q]+T],x(Q)),b[Q]),K);D=K,K=N,N=l(B,10),B=M,M=J,J=c(l(o(G,a(79-Q,W,ne,ae),L[_[Q]+T],p(Q)),A[Q]),le),G=le,le=ae,ae=l(ne,10),ne=W,W=J}J=f(this.h[1],B,ae),this.h[1]=f(this.h[2],N,le),this.h[2]=f(this.h[3],K,G),this.h[3]=f(this.h[4],D,W),this.h[4]=f(this.h[0],M,ne),this.h[0]=J},u.prototype._digest=function(L){return L==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(k,L,T,D){return k<=15?L^T^D:k<=31?L&T|~L&D:k<=47?(L|~T)^D:k<=63?L&D|T&~D:L^(T|~D)}function x(k){return k<=15?0:k<=31?1518500249:k<=47?1859775393:k<=63?2400959708:2840853838}function p(k){return k<=15?1352829926:k<=31?1548603684:k<=47?1836072691:k<=63?2053994217:0}var y=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],b=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],A=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},26672:function(d,v,e){"use strict";v.sha1=e(16114),v.sha224=e(44853),v.sha256=e(6586),v.sha384=e(66474),v.sha512=e(50663)},16114:function(d,v,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=r.rotl32,f=r.sum32,o=r.sum32_5,h=l.ft_1,u=i.BlockHash,a=[1518500249,1859775393,2400959708,3395469782];function x(){if(!(this instanceof x))return new x;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(x,u),d.exports=x,x.blockSize=512,x.outSize=160,x.hmacStrength=80,x.padLength=64,x.prototype._update=function(y,_){for(var b=this.W,A=0;A<16;A++)b[A]=y[_+A];for(;A<b.length;A++)b[A]=c(b[A-3]^b[A-8]^b[A-14]^b[A-16],1);var k=this.h[0],L=this.h[1],T=this.h[2],D=this.h[3],M=this.h[4];for(A=0;A<b.length;A++){var B=~~(A/20),N=o(c(k,5),h(B,L,T,D),M,b[A],a[B]);M=D,D=T,T=c(L,30),L=k,k=N}this.h[0]=f(this.h[0],k),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],M)},x.prototype._digest=function(y){return y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},44853:function(d,v,e){"use strict";var r=e(8631),i=e(6586);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=512,l.outSize=224,l.hmacStrength=192,l.padLength=64,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},6586:function(d,v,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=e(61339),f=r.sum32,o=r.sum32_4,h=r.sum32_5,u=l.ch32,a=l.maj32,x=l.s0_256,p=l.s1_256,y=l.g0_256,_=l.g1_256,b=i.BlockHash,A=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function k(){if(!(this instanceof k))return new k;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=A,this.W=new Array(64)}r.inherits(k,b),d.exports=k,k.blockSize=512,k.outSize=256,k.hmacStrength=192,k.padLength=64,k.prototype._update=function(T,D){for(var M=this.W,B=0;B<16;B++)M[B]=T[D+B];for(;B<M.length;B++)M[B]=o(_(M[B-2]),M[B-7],y(M[B-15]),M[B-16]);var N=this.h[0],K=this.h[1],G=this.h[2],W=this.h[3],ne=this.h[4],ae=this.h[5],le=this.h[6],Q=this.h[7];for(c(this.k.length===M.length),B=0;B<M.length;B++){var J=h(Q,p(ne),u(ne,ae,le),this.k[B],M[B]),V=f(x(N),a(N,K,G));Q=le,le=ae,ae=ne,ne=f(W,J),W=G,G=K,K=N,N=f(J,V)}this.h[0]=f(this.h[0],N),this.h[1]=f(this.h[1],K),this.h[2]=f(this.h[2],G),this.h[3]=f(this.h[3],W),this.h[4]=f(this.h[4],ne),this.h[5]=f(this.h[5],ae),this.h[6]=f(this.h[6],le),this.h[7]=f(this.h[7],Q)},k.prototype._digest=function(T){return T==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},66474:function(d,v,e){"use strict";var r=e(8631),i=e(50663);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=1024,l.outSize=384,l.hmacStrength=192,l.padLength=128,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},50663:function(d,v,e){"use strict";var r=e(8631),i=e(28766),l=e(61339),c=r.rotr64_hi,f=r.rotr64_lo,o=r.shr64_hi,h=r.shr64_lo,u=r.sum64,a=r.sum64_hi,x=r.sum64_lo,p=r.sum64_4_hi,y=r.sum64_4_lo,_=r.sum64_5_hi,b=r.sum64_5_lo,A=i.BlockHash,k=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function L(){if(!(this instanceof L))return new L;A.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=k,this.W=new Array(160)}r.inherits(L,A),d.exports=L,L.blockSize=1024,L.outSize=512,L.hmacStrength=192,L.padLength=128,L.prototype._prepareBlock=function(V,ue){for(var ee=this.W,X=0;X<32;X++)ee[X]=V[ue+X];for(;X<ee.length;X+=2){var ce=le(ee[X-4],ee[X-3]),z=Q(ee[X-4],ee[X-3]),$=ee[X-14],se=ee[X-13],_e=ne(ee[X-30],ee[X-29]),Oe=ae(ee[X-30],ee[X-29]),Le=ee[X-32],He=ee[X-31];ee[X]=p(ce,z,$,se,_e,Oe,Le,He),ee[X+1]=y(ce,z,$,se,_e,Oe,Le,He)}},L.prototype._update=function(V,ue){this._prepareBlock(V,ue);var ee=this.W,X=this.h[0],ce=this.h[1],z=this.h[2],$=this.h[3],se=this.h[4],_e=this.h[5],Oe=this.h[6],Le=this.h[7],He=this.h[8],$e=this.h[9],Bt=this.h[10],yt=this.h[11],It=this.h[12],rr=this.h[13],Yt=this.h[14],lr=this.h[15];l(this.k.length===ee.length);for(var Ve=0;Ve<ee.length;Ve+=2){var Ct=Yt,Ut=lr,st=G(He,$e),xt=W(He,$e),ht=T(He,$e,Bt,yt,It,rr),rt=D(He,$e,Bt,yt,It,rr),Ue=this.k[Ve],ye=this.k[Ve+1],Ce=ee[Ve],Fe=ee[Ve+1],je=_(Ct,Ut,st,xt,ht,rt,Ue,ye,Ce,Fe),Ge=b(Ct,Ut,st,xt,ht,rt,Ue,ye,Ce,Fe);Ct=N(X,ce),Ut=K(X,ce),st=M(X,ce,z,$,se,_e),xt=B(X,ce,z,$,se,_e);var it=a(Ct,Ut,st,xt),ct=x(Ct,Ut,st,xt);Yt=It,lr=rr,It=Bt,rr=yt,Bt=He,yt=$e,He=a(Oe,Le,je,Ge),$e=x(Le,Le,je,Ge),Oe=se,Le=_e,se=z,_e=$,z=X,$=ce,X=a(je,Ge,it,ct),ce=x(je,Ge,it,ct)}u(this.h,0,X,ce),u(this.h,2,z,$),u(this.h,4,se,_e),u(this.h,6,Oe,Le),u(this.h,8,He,$e),u(this.h,10,Bt,yt),u(this.h,12,It,rr),u(this.h,14,Yt,lr)},L.prototype._digest=function(V){return V==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function T(J,V,ue,ee,X){var ce=J&ue^~J&X;return ce<0&&(ce+=4294967296),ce}function D(J,V,ue,ee,X,ce){var z=V&ee^~V&ce;return z<0&&(z+=4294967296),z}function M(J,V,ue,ee,X){var ce=J&ue^J&X^ue&X;return ce<0&&(ce+=4294967296),ce}function B(J,V,ue,ee,X,ce){var z=V&ee^V&ce^ee&ce;return z<0&&(z+=4294967296),z}function N(J,V){var ue=c(J,V,28),ee=c(V,J,2),X=c(V,J,7),ce=ue^ee^X;return ce<0&&(ce+=4294967296),ce}function K(J,V){var ue=f(J,V,28),ee=f(V,J,2),X=f(V,J,7),ce=ue^ee^X;return ce<0&&(ce+=4294967296),ce}function G(J,V){var ue=c(J,V,14),ee=c(J,V,18),X=c(V,J,9),ce=ue^ee^X;return ce<0&&(ce+=4294967296),ce}function W(J,V){var ue=f(J,V,14),ee=f(J,V,18),X=f(V,J,9),ce=ue^ee^X;return ce<0&&(ce+=4294967296),ce}function ne(J,V){var ue=c(J,V,1),ee=c(J,V,8),X=o(J,V,7),ce=ue^ee^X;return ce<0&&(ce+=4294967296),ce}function ae(J,V){var ue=f(J,V,1),ee=f(J,V,8),X=h(J,V,7),ce=ue^ee^X;return ce<0&&(ce+=4294967296),ce}function le(J,V){var ue=c(J,V,19),ee=c(V,J,29),X=o(J,V,6),ce=ue^ee^X;return ce<0&&(ce+=4294967296),ce}function Q(J,V){var ue=f(J,V,19),ee=f(V,J,29),X=h(J,V,6),ce=ue^ee^X;return ce<0&&(ce+=4294967296),ce}},81692:function(d,v,e){"use strict";var r=e(8631),i=r.rotr32;function l(p,y,_,b){if(p===0)return c(y,_,b);if(p===1||p===3)return o(y,_,b);if(p===2)return f(y,_,b)}v.ft_1=l;function c(p,y,_){return p&y^~p&_}v.ch32=c;function f(p,y,_){return p&y^p&_^y&_}v.maj32=f;function o(p,y,_){return p^y^_}v.p32=o;function h(p){return i(p,2)^i(p,13)^i(p,22)}v.s0_256=h;function u(p){return i(p,6)^i(p,11)^i(p,25)}v.s1_256=u;function a(p){return i(p,7)^i(p,18)^p>>>3}v.g0_256=a;function x(p){return i(p,17)^i(p,19)^p>>>10}v.g1_256=x},8631:function(d,v,e){"use strict";var r=e(61339),i=e(4603);v.inherits=i;function l(Q,J){return(Q.charCodeAt(J)&64512)!==55296||J<0||J+1>=Q.length?!1:(Q.charCodeAt(J+1)&64512)===56320}function c(Q,J){if(Array.isArray(Q))return Q.slice();if(!Q)return[];var V=[];if(typeof Q=="string")if(J){if(J==="hex")for(Q=Q.replace(/[^a-z0-9]+/ig,""),Q.length%2!==0&&(Q="0"+Q),ee=0;ee<Q.length;ee+=2)V.push(parseInt(Q[ee]+Q[ee+1],16))}else for(var ue=0,ee=0;ee<Q.length;ee++){var X=Q.charCodeAt(ee);X<128?V[ue++]=X:X<2048?(V[ue++]=X>>6|192,V[ue++]=X&63|128):l(Q,ee)?(X=65536+((X&1023)<<10)+(Q.charCodeAt(++ee)&1023),V[ue++]=X>>18|240,V[ue++]=X>>12&63|128,V[ue++]=X>>6&63|128,V[ue++]=X&63|128):(V[ue++]=X>>12|224,V[ue++]=X>>6&63|128,V[ue++]=X&63|128)}else for(ee=0;ee<Q.length;ee++)V[ee]=Q[ee]|0;return V}v.toArray=c;function f(Q){for(var J="",V=0;V<Q.length;V++)J+=u(Q[V].toString(16));return J}v.toHex=f;function o(Q){var J=Q>>>24|Q>>>8&65280|Q<<8&16711680|(Q&255)<<24;return J>>>0}v.htonl=o;function h(Q,J){for(var V="",ue=0;ue<Q.length;ue++){var ee=Q[ue];J==="little"&&(ee=o(ee)),V+=a(ee.toString(16))}return V}v.toHex32=h;function u(Q){return Q.length===1?"0"+Q:Q}v.zero2=u;function a(Q){return Q.length===7?"0"+Q:Q.length===6?"00"+Q:Q.length===5?"000"+Q:Q.length===4?"0000"+Q:Q.length===3?"00000"+Q:Q.length===2?"000000"+Q:Q.length===1?"0000000"+Q:Q}v.zero8=a;function x(Q,J,V,ue){var ee=V-J;r(ee%4===0);for(var X=new Array(ee/4),ce=0,z=J;ce<X.length;ce++,z+=4){var $;ue==="big"?$=Q[z]<<24|Q[z+1]<<16|Q[z+2]<<8|Q[z+3]:$=Q[z+3]<<24|Q[z+2]<<16|Q[z+1]<<8|Q[z],X[ce]=$>>>0}return X}v.join32=x;function p(Q,J){for(var V=new Array(Q.length*4),ue=0,ee=0;ue<Q.length;ue++,ee+=4){var X=Q[ue];J==="big"?(V[ee]=X>>>24,V[ee+1]=X>>>16&255,V[ee+2]=X>>>8&255,V[ee+3]=X&255):(V[ee+3]=X>>>24,V[ee+2]=X>>>16&255,V[ee+1]=X>>>8&255,V[ee]=X&255)}return V}v.split32=p;function y(Q,J){return Q>>>J|Q<<32-J}v.rotr32=y;function _(Q,J){return Q<<J|Q>>>32-J}v.rotl32=_;function b(Q,J){return Q+J>>>0}v.sum32=b;function A(Q,J,V){return Q+J+V>>>0}v.sum32_3=A;function k(Q,J,V,ue){return Q+J+V+ue>>>0}v.sum32_4=k;function L(Q,J,V,ue,ee){return Q+J+V+ue+ee>>>0}v.sum32_5=L;function T(Q,J,V,ue){var ee=Q[J],X=Q[J+1],ce=ue+X>>>0,z=(ce<ue?1:0)+V+ee;Q[J]=z>>>0,Q[J+1]=ce}v.sum64=T;function D(Q,J,V,ue){var ee=J+ue>>>0,X=(ee<J?1:0)+Q+V;return X>>>0}v.sum64_hi=D;function M(Q,J,V,ue){var ee=J+ue;return ee>>>0}v.sum64_lo=M;function B(Q,J,V,ue,ee,X,ce,z){var $=0,se=J;se=se+ue>>>0,$+=se<J?1:0,se=se+X>>>0,$+=se<X?1:0,se=se+z>>>0,$+=se<z?1:0;var _e=Q+V+ee+ce+$;return _e>>>0}v.sum64_4_hi=B;function N(Q,J,V,ue,ee,X,ce,z){var $=J+ue+X+z;return $>>>0}v.sum64_4_lo=N;function K(Q,J,V,ue,ee,X,ce,z,$,se){var _e=0,Oe=J;Oe=Oe+ue>>>0,_e+=Oe<J?1:0,Oe=Oe+X>>>0,_e+=Oe<X?1:0,Oe=Oe+z>>>0,_e+=Oe<z?1:0,Oe=Oe+se>>>0,_e+=Oe<se?1:0;var Le=Q+V+ee+ce+$+_e;return Le>>>0}v.sum64_5_hi=K;function G(Q,J,V,ue,ee,X,ce,z,$,se){var _e=J+ue+X+z+se;return _e>>>0}v.sum64_5_lo=G;function W(Q,J,V){var ue=J<<32-V|Q>>>V;return ue>>>0}v.rotr64_hi=W;function ne(Q,J,V){var ue=Q<<32-V|J>>>V;return ue>>>0}v.rotr64_lo=ne;function ae(Q,J,V){return Q>>>V}v.shr64_hi=ae;function le(Q,J,V){var ue=Q<<32-V|J>>>V;return ue>>>0}v.shr64_lo=le},19340:function(d,v,e){"use strict";e.d(v,{Ep:function(){return A},PP:function(){return x},aU:function(){return i},cP:function(){return k},lX:function(){return u},q_:function(){return a}});var r=e(67711),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",o="hashchange",h="popstate";function u(L){L===void 0&&(L={});var T=L,D=T.window,M=D===void 0?document.defaultView:D,B=M.history;function N(){var Oe=M.location,Le=Oe.pathname,He=Oe.search,$e=Oe.hash,Bt=B.state||{};return[Bt.idx,l({pathname:Le,search:He,hash:$e,state:Bt.usr||null,key:Bt.key||"default"})]}var K=null;function G(){if(K)J.call(K),K=null;else{var Oe=i.Pop,Le=N(),He=Le[0],$e=Le[1];if(J.length){if(He!=null){var Bt=ae-He;Bt&&(K={action:Oe,location:$e,retry:function(){se(Bt*-1)}},se(Bt))}}else ce(Oe)}}M.addEventListener(h,G);var W=i.Pop,ne=N(),ae=ne[0],le=ne[1],Q=_(),J=_();ae==null&&(ae=0,B.replaceState((0,r.Z)({},B.state,{idx:ae}),""));function V(Oe){return typeof Oe=="string"?Oe:A(Oe)}function ue(Oe,Le){return Le===void 0&&(Le=null),l((0,r.Z)({pathname:le.pathname,hash:"",search:""},typeof Oe=="string"?k(Oe):Oe,{state:Le,key:b()}))}function ee(Oe,Le){return[{usr:Oe.state,key:Oe.key,idx:Le},V(Oe)]}function X(Oe,Le,He){return!J.length||(J.call({action:Oe,location:Le,retry:He}),!1)}function ce(Oe){W=Oe;var Le=N();ae=Le[0],le=Le[1],Q.call({action:W,location:le})}function z(Oe,Le){var He=i.Push,$e=ue(Oe,Le);function Bt(){z(Oe,Le)}if(X(He,$e,Bt)){var yt=ee($e,ae+1),It=yt[0],rr=yt[1];try{B.pushState(It,"",rr)}catch(Yt){M.location.assign(rr)}ce(He)}}function $(Oe,Le){var He=i.Replace,$e=ue(Oe,Le);function Bt(){$(Oe,Le)}if(X(He,$e,Bt)){var yt=ee($e,ae),It=yt[0],rr=yt[1];B.replaceState(It,"",rr),ce(He)}}function se(Oe){B.go(Oe)}var _e={get action(){return W},get location(){return le},createHref:V,push:z,replace:$,go:se,back:function(){se(-1)},forward:function(){se(1)},listen:function(Le){return Q.push(Le)},block:function(Le){var He=J.push(Le);return J.length===1&&M.addEventListener(f,y),function(){He(),J.length||M.removeEventListener(f,y)}}};return _e}function a(L){L===void 0&&(L={});var T=L,D=T.window,M=D===void 0?document.defaultView:D,B=M.history;function N(){var Le=k(M.location.hash.substr(1)),He=Le.pathname,$e=He===void 0?"/":He,Bt=Le.search,yt=Bt===void 0?"":Bt,It=Le.hash,rr=It===void 0?"":It,Yt=B.state||{};return[Yt.idx,l({pathname:$e,search:yt,hash:rr,state:Yt.usr||null,key:Yt.key||"default"})]}var K=null;function G(){if(K)J.call(K),K=null;else{var Le=i.Pop,He=N(),$e=He[0],Bt=He[1];if(J.length){if($e!=null){var yt=ae-$e;yt&&(K={action:Le,location:Bt,retry:function(){_e(yt*-1)}},_e(yt))}}else z(Le)}}M.addEventListener(h,G),M.addEventListener(o,function(){var Le=N(),He=Le[1];A(He)!==A(le)&&G()});var W=i.Pop,ne=N(),ae=ne[0],le=ne[1],Q=_(),J=_();ae==null&&(ae=0,B.replaceState((0,r.Z)({},B.state,{idx:ae}),""));function V(){var Le=document.querySelector("base"),He="";if(Le&&Le.getAttribute("href")){var $e=M.location.href,Bt=$e.indexOf("#");He=Bt===-1?$e:$e.slice(0,Bt)}return He}function ue(Le){return V()+"#"+(typeof Le=="string"?Le:A(Le))}function ee(Le,He){return He===void 0&&(He=null),l((0,r.Z)({pathname:le.pathname,hash:"",search:""},typeof Le=="string"?k(Le):Le,{state:He,key:b()}))}function X(Le,He){return[{usr:Le.state,key:Le.key,idx:He},ue(Le)]}function ce(Le,He,$e){return!J.length||(J.call({action:Le,location:He,retry:$e}),!1)}function z(Le){W=Le;var He=N();ae=He[0],le=He[1],Q.call({action:W,location:le})}function $(Le,He){var $e=i.Push,Bt=ee(Le,He);function yt(){$(Le,He)}if(ce($e,Bt,yt)){var It=X(Bt,ae+1),rr=It[0],Yt=It[1];try{B.pushState(rr,"",Yt)}catch(lr){M.location.assign(Yt)}z($e)}}function se(Le,He){var $e=i.Replace,Bt=ee(Le,He);function yt(){se(Le,He)}if(ce($e,Bt,yt)){var It=X(Bt,ae),rr=It[0],Yt=It[1];B.replaceState(rr,"",Yt),z($e)}}function _e(Le){B.go(Le)}var Oe={get action(){return W},get location(){return le},createHref:ue,push:$,replace:se,go:_e,back:function(){_e(-1)},forward:function(){_e(1)},listen:function(He){return Q.push(He)},block:function(He){var $e=J.push(He);return J.length===1&&M.addEventListener(f,y),function(){$e(),J.length||M.removeEventListener(f,y)}}};return Oe}function x(L){L===void 0&&(L={});var T=L,D=T.initialEntries,M=D===void 0?["/"]:D,B=T.initialIndex,N=M.map(function(z){var $=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof z=="string"?k(z):z));return $}),K=p(B==null?N.length-1:B,0,N.length-1),G=i.Pop,W=N[K],ne=_(),ae=_();function le(z){return typeof z=="string"?z:A(z)}function Q(z,$){return $===void 0&&($=null),l((0,r.Z)({pathname:W.pathname,search:"",hash:""},typeof z=="string"?k(z):z,{state:$,key:b()}))}function J(z,$,se){return!ae.length||(ae.call({action:z,location:$,retry:se}),!1)}function V(z,$){G=z,W=$,ne.call({action:G,location:W})}function ue(z,$){var se=i.Push,_e=Q(z,$);function Oe(){ue(z,$)}J(se,_e,Oe)&&(K+=1,N.splice(K,N.length,_e),V(se,_e))}function ee(z,$){var se=i.Replace,_e=Q(z,$);function Oe(){ee(z,$)}J(se,_e,Oe)&&(N[K]=_e,V(se,_e))}function X(z){var $=p(K+z,0,N.length-1),se=i.Pop,_e=N[$];function Oe(){X(z)}J(se,_e,Oe)&&(K=$,V(se,_e))}var ce={get index(){return K},get action(){return G},get location(){return W},createHref:le,push:ue,replace:ee,go:X,back:function(){X(-1)},forward:function(){X(1)},listen:function($){return ne.push($)},block:function($){return ae.push($)}};return ce}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(M){return M!==D})}},call:function(D){L.forEach(function(M){return M&&M(D)})}}}function b(){return Math.random().toString(36).substr(2,8)}function A(L){var T=L.pathname,D=T===void 0?"/":T,M=L.search,B=M===void 0?"":M,N=L.hash,K=N===void 0?"":N;return B&&B!=="?"&&(D+=B.charAt(0)==="?"?B:"?"+B),K&&K!=="#"&&(D+=K.charAt(0)==="#"?K:"#"+K),D}function k(L){var T={};if(L){var D=L.indexOf("#");D>=0&&(T.hash=L.substr(D),L=L.substr(0,D));var M=L.indexOf("?");M>=0&&(T.search=L.substr(M),L=L.substr(0,M)),L&&(T.pathname=L)}return T}},94266:function(d,v,e){"use strict";var r=e(99234),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[r.ForwardRef]=c,o[r.Memo]=f;function h(A){return r.isMemo(A)?f:o[A.$$typeof]||i}var u=Object.defineProperty,a=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,_=Object.prototype;function b(A,k,L){if(typeof k!="string"){if(_){var T=y(k);T&&T!==_&&b(A,T,L)}var D=a(k);x&&(D=D.concat(x(k)));for(var M=h(A),B=h(k),N=0;N<D.length;++N){var K=D[N];if(!l[K]&&!(L&&L[K])&&!(B&&B[K])&&!(M&&M[K])){var G=p(k,K);try{u(A,K,G)}catch(W){}}}}return A}d.exports=b},4603:function(d){typeof Object.create=="function"?d.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:d.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}}},44520:function(d){"use strict";var v=function(e,r,i,l,c,f,o,h){if(!e){var u;if(r===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=[i,l,c,f,o,h],x=0;u=new Error(r.replace(/%s/g,function(){return a[x++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};d.exports=v},78034:function(d){d.exports=function(r){return r!=null&&(v(r)||e(r)||!!r._isBuffer)};function v(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function e(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&v(r.slice(0,0))}},78639:function(d,v,e){"use strict";var r=e(77497);function i(l){return r(l)===!0&&Object.prototype.toString.call(l)==="[object Object]"}d.exports=function(c){var f,o;return!(i(c)===!1||(f=c.constructor,typeof f!="function")||(o=f.prototype,i(o)===!1)||o.hasOwnProperty("isPrototypeOf")===!1)}},77497:function(d){"use strict";d.exports=function(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}},53184:function(d,v,e){"use strict";var r,i;function l(c,f,o){var h=function(u,a){return c.js_beautify(u,a)};return h.js=c.js_beautify,h.css=f.css_beautify,h.html=o.html_beautify,h.js_beautify=c.js_beautify,h.css_beautify=f.css_beautify,h.html_beautify=o.html_beautify,h}r=[e(58553),e(87804),e(40998)],i=function(c,f,o){return l(c,f,o)}.apply(v,r),i!==void 0&&(d.exports=i)},87804:function(d,v){var e,r;(function(){var i;(function(){"use strict";var c=[,,function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
`);return y!==`
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var A=this.__lines[b];if(A.is_empty())break;if(A.item(0).indexOf(y)!==0&&A.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},,,,function(u){function a(y,_){this.raw_options=x(y,_),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(y,_){var b=this.raw_options[y],A=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(A=b.concat()):typeof b=="string"&&(A=b.split(/[^a-zA-Z0-9_\/\-]+/)),A},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],A=b===void 0?!!_:!!b;return A},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],A=_||"";return typeof b=="string"&&(A=b.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),A},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var A=parseInt(b,10);return isNaN(A)&&(A=_),A},a.prototype._get_selection=function(y,_,b){var A=this._get_selection_list(y,_,b);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return A[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var A=this._get_array(y,b);if(!this._is_valid_selection(A,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return A},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var A;for(A in y)A!==_&&(b[A]=y[A]);if(_&&y[_])for(A in y[_])b[A]=y[_][A];return b}function p(y){var _={},b;for(b in y){var A=b.replace(/-/g,"_");_[A]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},,function(u){var a=RegExp.prototype.hasOwnProperty("sticky");function x(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}x.prototype.restart=function(){this.__position=0},x.prototype.back=function(){this.__position>0&&(this.__position-=1)},x.prototype.hasNext=function(){return this.__position<this.__input_length},x.prototype.next=function(){var p=null;return this.hasNext()&&(p=this.__input.charAt(this.__position),this.__position+=1),p},x.prototype.peek=function(p){var y=null;return p=p||0,p+=this.__position,p>=0&&p<this.__input_length&&(y=this.__input.charAt(p)),y},x.prototype.__match=function(p,y){p.lastIndex=y;var _=p.exec(this.__input);return _&&!(a&&p.sticky)&&_.index!==y&&(_=null),_},x.prototype.test=function(p,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(p,y):!1},x.prototype.testChar=function(p,y){var _=this.peek(y);return p.lastIndex=0,_!==null&&p.test(_)},x.prototype.match=function(p){var y=this.__match(p,this.__position);return y?this.__position+=y[0].length:y=null,y},x.prototype.read=function(p,y,_){var b="",A;return p&&(A=this.match(p),A&&(b+=A[0])),y&&(A||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var A=p.exec(this.__input);return A?(b=A.index,y&&(b+=A[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},,,,,function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},,function(u,a,x){var p=x(16).Beautifier,y=x(17).Options;function _(b,A){var k=new p(b,A);return k.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(17).Options,y=x(2).Output,_=x(8).InputScanner,b=x(13).Directives,A=new b(/\/\*/,/\*\//),k=/\r\n|[\r\n]/,L=/\r\n|[\r\n]/g,T=/\s/,D=/(?:\s|\n)+/g,M=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,B=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function N(K,G){this._source_text=K||"",this._options=new p(G),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}N.prototype.eatString=function(K){var G="";for(this._ch=this._input.next();this._ch;){if(G+=this._ch,this._ch==="\\")G+=this._input.next();else if(K.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return G},N.prototype.eatWhitespace=function(K){for(var G=T.test(this._input.peek()),W=0;T.test(this._input.peek());)this._ch=this._input.next(),K&&this._ch===`
`&&(W===0||W<this._options.max_preserve_newlines)&&(W++,this._output.add_new_line(!0));return G},N.prototype.foundNestedPseudoClass=function(){for(var K=0,G=1,W=this._input.peek(G);W;){if(W==="{")return!0;if(W==="(")K+=1;else if(W===")"){if(K===0)return!1;K-=1}else if(W===";"||W==="}")return!1;G++,W=this._input.peek(G)}return!1},N.prototype.print_string=function(K){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(K)},N.prototype.preserveSingleSpace=function(K){K&&(this._output.space_before_token=!0)},N.prototype.indent=function(){this._indentLevel++},N.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},N.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var K=this._source_text,G=this._options.eol;G==="auto"&&(G=`
`,K&&k.test(K||"")&&(G=K.match(k)[0])),K=K.replace(L,`
`);var W=K.match(/^[\t ]*/)[0];this._output=new y(this._options,W),this._input=new _(K),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var ne=0,ae=!1,le=!1,Q=!1,J=!1,V=!1,ue=this._ch,ee=!1,X,ce,z;X=this._input.read(D),ce=X!=="",z=ue,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),ue=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var $=this._input.read(M),se=A.get_directives($);se&&se.ignore==="start"&&($+=A.readIgnored(this._input)),this.print_string($),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(B)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(ce),this.print_string(this._ch);var _e=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);_e.match(/[ :]$/)&&(_e=this.eatString(": ").replace(/\s+$/,""),this.print_string(_e),this._output.space_before_token=!0),ne===0&&_e.indexOf(":")!==-1&&(le=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(ce),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Oe=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Oe.match(/[ :]$/)&&(Oe=this.eatString(": ").replace(/\s+$/,""),this.print_string(Oe),this._output.space_before_token=!0),ne===0&&Oe.indexOf(":")!==-1?(le=!0,this.indent()):Oe in this.NESTED_AT_RULE?(this._nestedLevel+=1,Oe in this.CONDITIONAL_GROUP_RULE&&(Q=!0)):ne===0&&!le&&(J=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ce),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")le&&(le=!1,this.outdent()),J=!1,Q?(Q=!1,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)):(z==="("?this._output.space_before_token=!1:z!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),z==="{"&&this._output.trim(!0),le&&(this.outdent(),le=!1),this.print_string(this._ch),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 Le=0;Le<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Le++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Le])){ee=!0;break}(ae||Q)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!J&&ne===0?(this.print_string(":"),le||(le=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var He=z==='"'||z==="'";this.preserveSingleSpace(He||ce),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ee=!1,ne===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(),ne++,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(")")),ne&&(ne--,this.outdent()));else{var $e=!1;this._input.lookBack("with")&&($e=!0),this.preserveSingleSpace(ce||$e),this.print_string(this._ch),le&&z==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),V=!0):(this.eatWhitespace(),ne++,this.indent())}else if(this._ch===")")ne&&(ne--,this.outdent()),V&&this._input.peek()===";"&&this._options.selector_separator_newline&&(V=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!le||V)&&ne===0&&!J?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!le&&ne===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(ce),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 Bt=z==='"'||z==="'";this.preserveSingleSpace(Bt||ce),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&ee&&this._output.add_new_line()}var yt=this._output.get_code(G);return yt},u.exports.Beautifier=N},function(u,a,x){var p=x(6).Options;function y(_){p.call(this,_,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var b=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||b;var A=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var k=0;k<A.length;k++)A[k]!=="expand"?this.brace_style="collapse":this.brace_style=A[k]}y.prototype=new p,u.exports.Options=y}],f={};function o(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,o),x.exports}var h=o(15);i=h})();var l=i;e=[],r=function(){return{css_beautify:l}}.apply(v,e),r!==void 0&&(d.exports=r)})()},40998:function(d,v,e){var r,i;(function(){var l;(function(){"use strict";var h=[,,function(p){function y(A){this.__parent=A,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}y.prototype.clone_empty=function(){var A=new y(this.__parent);return A.set_indent(this.__indent_count,this.__alignment_count),A},y.prototype.item=function(A){return A<0?this.__items[this.__items.length+A]:this.__items[A]},y.prototype.has_match=function(A){for(var k=this.__items.length-1;k>=0;k--)if(this.__items[k].match(A))return!0;return!1},y.prototype.set_indent=function(A,k){this.is_empty()&&(this.__indent_count=A||0,this.__alignment_count=k||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},y.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},y.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},y.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var A=this.__parent.current_line;return A.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),A.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),A.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,A.__items[0]===" "&&(A.__items.splice(0,1),A.__character_count-=1),!0}return!1},y.prototype.is_empty=function(){return this.__items.length===0},y.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},y.prototype.push=function(A){this.__items.push(A);var k=A.lastIndexOf(`
`);k!==-1?this.__character_count=A.length-k:this.__character_count+=A.length},y.prototype.pop=function(){var A=null;return this.is_empty()||(A=this.__items.pop(),this.__character_count-=A.length),A},y.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},y.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},y.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},y.prototype.toString=function(){var A="";return this.is_empty()?this.__parent.indent_empty_lines&&(A=this.__parent.get_indent_string(this.__indent_count)):(A=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),A+=this.__items.join("")),A};function _(A,k){this.__cache=[""],this.__indent_size=A.indent_size,this.__indent_string=A.indent_char,A.indent_with_tabs||(this.__indent_string=new Array(A.indent_size+1).join(A.indent_char)),k=k||"",A.indent_level>0&&(k=new Array(A.indent_level+1).join(this.__indent_string)),this.__base_string=k,this.__base_string_length=k.length}_.prototype.get_indent_size=function(A,k){var L=this.__base_string_length;return k=k||0,A<0&&(L=0),L+=A*this.__indent_size,L+=k,L},_.prototype.get_indent_string=function(A,k){var L=this.__base_string;return k=k||0,A<0&&(A=0,L=""),k+=A*this.__indent_size,this.__ensure_cache(k),L+=this.__cache[k],L},_.prototype.__ensure_cache=function(A){for(;A>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var A=this.__cache.length,k=0,L="";this.__indent_size&&A>=this.__indent_size&&(k=Math.floor(A/this.__indent_size),A-=k*this.__indent_size,L=new Array(k+1).join(this.__indent_string)),A&&(L+=new Array(A+1).join(" ")),this.__cache.push(L)};function b(A,k){this.__indent_cache=new _(A,k),this.raw=!1,this._end_with_newline=A.end_with_newline,this.indent_size=A.indent_size,this.wrap_line_length=A.wrap_line_length,this.indent_empty_lines=A.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new y(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}b.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},b.prototype.get_line_number=function(){return this.__lines.length},b.prototype.get_indent_string=function(A,k){return this.__indent_cache.get_indent_string(A,k)},b.prototype.get_indent_size=function(A,k){return this.__indent_cache.get_indent_size(A,k)},b.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},b.prototype.add_new_line=function(A){return this.is_empty()||!A&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},b.prototype.get_code=function(A){this.trim(!0);var k=this.current_line.pop();k&&(k[k.length-1]===`
`&&(k=k.replace(/\n+$/g,"")),this.current_line.push(k)),this._end_with_newline&&this.__add_outputline();var L=this.__lines.join(`
`);return A!==`
`&&(L=L.replace(/[\n]/g,A)),L},b.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},b.prototype.set_indent=function(A,k){return A=A||0,k=k||0,this.next_line.set_indent(A,k),this.__lines.length>1?(this.current_line.set_indent(A,k),!0):(this.current_line.set_indent(),!1)},b.prototype.add_raw_token=function(A){for(var k=0;k<A.newlines;k++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(A.whitespace_before),this.current_line.push(A.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},b.prototype.add_token=function(A){this.__add_space_before_token(),this.current_line.push(A),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},b.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},b.prototype.remove_indent=function(A){for(var k=this.__lines.length;A<k;)this.__lines[A]._remove_indent(),A++;this.current_line._remove_wrap_indent()},b.prototype.trim=function(A){for(A=A===void 0?!1:A,this.current_line.trim();A&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},b.prototype.just_added_newline=function(){return this.current_line.is_empty()},b.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},b.prototype.ensure_empty_line_above=function(A,k){for(var L=this.__lines.length-2;L>=0;){var T=this.__lines[L];if(T.is_empty())break;if(T.item(0).indexOf(A)!==0&&T.item(-1)!==k){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,A,k){this.type=_,this.text=b,this.comments_before=null,this.newlines=A||0,this.whitespace_before=k||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}p.exports.Token=y},,,function(p){function y(A,k){this.raw_options=_(A,k),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}y.prototype._get_array=function(A,k){var L=this.raw_options[A],T=k||[];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(A,k){var L=this.raw_options[A],T=L===void 0?!!k:!!L;return T},y.prototype._get_characters=function(A,k){var L=this.raw_options[A],T=k||"";return typeof L=="string"&&(T=L.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),T},y.prototype._get_number=function(A,k){var L=this.raw_options[A];k=parseInt(k,10),isNaN(k)&&(k=0);var T=parseInt(L,10);return isNaN(T)&&(T=k),T},y.prototype._get_selection=function(A,k,L){var T=this._get_selection_list(A,k,L);if(T.length!==1)throw new Error("Invalid Option Value: The option '"+A+`' can only be one of the following values:
`+k+`
You passed in: '`+this.raw_options[A]+"'");return T[0]},y.prototype._get_selection_list=function(A,k,L){if(!k||k.length===0)throw new Error("Selection list cannot be empty.");if(L=L||[k[0]],!this._is_valid_selection(L,k))throw new Error("Invalid Default Value!");var T=this._get_array(A,L);if(!this._is_valid_selection(T,k))throw new Error("Invalid Option Value: The option '"+A+`' can contain only the following values:
`+k+`
You passed in: '`+this.raw_options[A]+"'");return T},y.prototype._is_valid_selection=function(A,k){return A.length&&k.length&&!A.some(function(L){return k.indexOf(L)===-1})};function _(A,k){var L={};A=b(A);var T;for(T in A)T!==k&&(L[T]=A[T]);if(k&&A[k])for(T in A[k])L[T]=A[k][T];return L}function b(A){var k={},L;for(L in A){var T=L.replace(/-/g,"_");k[T]=A[L]}return k}p.exports.Options=y,p.exports.normalizeOpts=b,p.exports.mergeOpts=_},,function(p){var y=RegExp.prototype.hasOwnProperty("sticky");function _(b){this.__input=b||"",this.__input_length=this.__input.length,this.__position=0}_.prototype.restart=function(){this.__position=0},_.prototype.back=function(){this.__position>0&&(this.__position-=1)},_.prototype.hasNext=function(){return this.__position<this.__input_length},_.prototype.next=function(){var b=null;return this.hasNext()&&(b=this.__input.charAt(this.__position),this.__position+=1),b},_.prototype.peek=function(b){var A=null;return b=b||0,b+=this.__position,b>=0&&b<this.__input_length&&(A=this.__input.charAt(b)),A},_.prototype.__match=function(b,A){b.lastIndex=A;var k=b.exec(this.__input);return k&&!(y&&b.sticky)&&k.index!==A&&(k=null),k},_.prototype.test=function(b,A){return A=A||0,A+=this.__position,A>=0&&A<this.__input_length?!!this.__match(b,A):!1},_.prototype.testChar=function(b,A){var k=this.peek(A);return b.lastIndex=0,k!==null&&b.test(k)},_.prototype.match=function(b){var A=this.__match(b,this.__position);return A?this.__position+=A[0].length:A=null,A},_.prototype.read=function(b,A,k){var L="",T;return b&&(T=this.match(b),T&&(L+=T[0])),A&&(T||!b)&&(L+=this.readUntil(A,k)),L},_.prototype.readUntil=function(b,A){var k="",L=this.__position;b.lastIndex=this.__position;var T=b.exec(this.__input);return T?(L=T.index,A&&(L+=T[0].length)):L=this.__input_length,k=this.__input.substring(this.__position,L),this.__position=L,k},_.prototype.readUntilAfter=function(b){return this.readUntil(b,!0)},_.prototype.get_regexp=function(b,A){var k=null,L="g";return A&&y&&(L="y"),typeof b=="string"&&b!==""?k=new RegExp(b,L):b&&(k=new RegExp(b.source,L)),k},_.prototype.get_literal_regexp=function(b){return RegExp(b.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},_.prototype.peekUntilAfter=function(b){var A=this.__position,k=this.readUntilAfter(b);return this.__position=A,k},_.prototype.lookBack=function(b){var A=this.__position-1;return A>=b.length&&this.__input.substring(A-b.length,A).toLowerCase()===b},p.exports.InputScanner=_},function(p,y,_){var b=_(8).InputScanner,A=_(3).Token,k=_(10).TokenStream,L=_(11).WhitespacePattern,T={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},D=function(M,B){this._input=new b(M),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new L(this._input)};D.prototype.tokenize=function(){this._input.restart(),this.__tokens=new k,this._reset();for(var M,B=new A(T.START,""),N=null,K=[],G=new k;B.type!==T.EOF;){for(M=this._get_next_token(B,N);this._is_comment(M);)G.add(M),M=this._get_next_token(B,N);G.isEmpty()||(M.comments_before=G,G=new k),M.parent=N,this._is_opening(M)?(K.push(N),N=M):N&&this._is_closing(M,N)&&(M.opened=N,N.closed=M,N=K.pop(),M.parent=N),M.previous=B,B.next=M,this.__tokens.add(M),B=M}return this.__tokens},D.prototype._is_first_token=function(){return this.__tokens.isEmpty()},D.prototype._reset=function(){},D.prototype._get_next_token=function(M,B){this._readWhitespace();var N=this._input.read(/.+/g);return N?this._create_token(T.RAW,N):this._create_token(T.EOF,"")},D.prototype._is_comment=function(M){return!1},D.prototype._is_opening=function(M){return!1},D.prototype._is_closing=function(M,B){return!1},D.prototype._create_token=function(M,B){var N=new A(M,B,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return N},D.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=D,p.exports.TOKEN=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 A(k,L){b.call(this,k,L),L?this._line_regexp=this._input.get_regexp(L._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}A.prototype=new b,A.prototype.__set_whitespace_patterns=function(k,L){k+="\\t ",L+="\\n\\r",this._match_pattern=this._input.get_regexp("["+k+L+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+L+"]")},A.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var k=this._input.read(this._match_pattern);if(k===" ")this.whitespace_before_token=" ";else if(k){var L=this.__split(this._newline_regexp,k);this.newline_count=L.length-1,this.whitespace_before_token=L[this.newline_count]}return k},A.prototype.matching=function(k,L){var T=this._create();return T.__set_whitespace_patterns(k,L),T._update(),T},A.prototype._create=function(){return new A(this._input,this)},A.prototype.__split=function(k,L){k.lastIndex=0;for(var T=0,D=[],M=k.exec(L);M;)D.push(L.substring(T,M.index)),T=M.index+M[0].length,M=k.exec(L);return T<L.length?D.push(L.substring(T,L.length)):D.push(""),D},p.exports.WhitespacePattern=A},function(p){function y(_,b){this._input=_,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,b&&(this._starting_pattern=this._input.get_regexp(b._starting_pattern,!0),this._match_pattern=this._input.get_regexp(b._match_pattern,!0),this._until_pattern=this._input.get_regexp(b._until_pattern),this._until_after=b._until_after)}y.prototype.read=function(){var _=this._input.read(this._starting_pattern);return(!this._starting_pattern||_)&&(_+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),_},y.prototype.read_match=function(){return this._input.match(this._match_pattern)},y.prototype.until_after=function(_){var b=this._create();return b._until_after=!0,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.until=function(_){var b=this._create();return b._until_after=!1,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.starting_with=function(_){var b=this._create();return b._starting_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype.matching=function(_){var b=this._create();return b._match_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype._create=function(){return new y(this._input,this)},y.prototype._update=function(){},p.exports.Pattern=y},function(p){function y(_,b){_=typeof _=="string"?_:_.source,b=typeof b=="string"?b:b.source,this.__directives_block_pattern=new RegExp(_+/ beautify( \w+[:]\w+)+ /.source+b,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(_+/\sbeautify\signore:end\s/.source+b,"g")}y.prototype.get_directives=function(_){if(!_.match(this.__directives_block_pattern))return null;var b={};this.__directive_pattern.lastIndex=0;for(var A=this.__directive_pattern.exec(_);A;)b[A[1]]=A[2],A=this.__directive_pattern.exec(_);return b},y.prototype.readIgnored=function(_){return _.readUntilAfter(this.__directives_end_ignore_pattern)},p.exports.Directives=y},function(p,y,_){var b=_(12).Pattern,A={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function k(L,T){b.call(this,L,T),this.__template_pattern=null,this._disabled=Object.assign({},A),this._excluded=Object.assign({},A),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}/)}}k.prototype=new b,k.prototype._create=function(){return new k(this._input,this)},k.prototype._update=function(){this.__set_templated_pattern()},k.prototype.disable=function(L){var T=this._create();return T._disabled[L]=!0,T._update(),T},k.prototype.read_options=function(L){var T=this._create();for(var D in A)T._disabled[D]=L.templating.indexOf(D)===-1;return T._update(),T},k.prototype.exclude=function(L){var T=this._create();return T._excluded[L]=!0,T._update(),T},k.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},k.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("|")+")")},k.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=k},,,,function(p,y,_){var b=_(19).Beautifier,A=_(20).Options;function k(L,T,D,M){var B=new b(L,T,D,M);return B.beautify()}p.exports=k,p.exports.defaultOptions=function(){return new A}},function(p,y,_){var b=_(20).Options,A=_(2).Output,k=_(21).Tokenizer,L=_(21).TOKEN,T=/\r\n|[\r\n]/,D=/\r\n|[\r\n]/g,M=function(J,V){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=J.max_preserve_newlines,this.preserve_newlines=J.preserve_newlines,this._output=new A(J,V)};M.prototype.current_line_has_match=function(J){return this._output.current_line.has_match(J)},M.prototype.set_space_before_token=function(J,V){this._output.space_before_token=J,this._output.non_breaking_space=V},M.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},M.prototype.add_raw_token=function(J){this._output.add_raw_token(J)},M.prototype.print_preserved_newlines=function(J){var V=0;J.type!==L.TEXT&&J.previous.type!==L.TEXT&&(V=J.newlines?1:0),this.preserve_newlines&&(V=J.newlines<this.max_preserve_newlines+1?J.newlines:this.max_preserve_newlines+1);for(var ue=0;ue<V;ue++)this.print_newline(ue>0);return V!==0},M.prototype.traverse_whitespace=function(J){return J.whitespace_before||J.newlines?(this.print_preserved_newlines(J)||(this._output.space_before_token=!0),!0):!1},M.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},M.prototype.print_newline=function(J){this._output.add_new_line(J)},M.prototype.print_token=function(J){J.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(J.text))},M.prototype.indent=function(){this.indent_level++},M.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},M.prototype.get_full_indent=function(J){return J=this.indent_level+(J||0),J<1?"":this._output.get_indent_string(J)};var B=function(J){for(var V=null,ue=J.next;ue.type!==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&&(V=ue.next.next.text);break}ue=ue.next}return V},N=function(J,V){var ue=null,ee=null;return V.closed?(J==="script"?ue="text/javascript":J==="style"&&(ue="text/css"),ue=B(V)||ue,ue.search("text/css")>-1?ee="css":ue.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ee="javascript":ue.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ee="html":ue.search(/test\/null/)>-1&&(ee="null"),ee):null};function K(J,V){return V.indexOf(J)!==-1}function G(J,V,ue){this.parent=J||null,this.tag=V?V.tag_name:"",this.indent_level=ue||0,this.parser_token=V||null}function W(J){this._printer=J,this._current_frame=null}W.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},W.prototype.record_tag=function(J){var V=new G(this._current_frame,J,this._printer.indent_level);this._current_frame=V},W.prototype._try_pop_frame=function(J){var V=null;return J&&(V=J.parser_token,this._printer.indent_level=J.indent_level,this._current_frame=J.parent),V},W.prototype._get_frame=function(J,V){for(var ue=this._current_frame;ue&&J.indexOf(ue.tag)===-1;){if(V&&V.indexOf(ue.tag)!==-1){ue=null;break}ue=ue.parent}return ue},W.prototype.try_pop=function(J,V){var ue=this._get_frame([J],V);return this._try_pop_frame(ue)},W.prototype.indent_to_tag=function(J){var V=this._get_frame(J);V&&(this._printer.indent_level=V.indent_level)};function ne(J,V,ue,ee){this._source_text=J||"",V=V||{},this._js_beautify=ue,this._css_beautify=ee,this._tag_stack=null;var X=new b(V,"html");this._options=X,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"}ne.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var J=this._source_text,V=this._options.eol;this._options.eol==="auto"&&(V=`
`,J&&T.test(J)&&(V=J.match(T)[0])),J=J.replace(D,`
`);var ue=J.match(/^[\t ]*/)[0],ee={text:"",type:""},X=new ae(this._options),ce=new M(this._options,ue),z=new k(J,this._options).tokenize();this._tag_stack=new W(ce);for(var $=null,se=z.next();se.type!==L.EOF;)se.type===L.TAG_OPEN||se.type===L.COMMENT?($=this._handle_tag_open(ce,se,X,ee,z),X=$):se.type===L.ATTRIBUTE||se.type===L.EQUALS||se.type===L.VALUE||se.type===L.TEXT&&!X.tag_complete?$=this._handle_inside_tag(ce,se,X,ee):se.type===L.TAG_CLOSE?$=this._handle_tag_close(ce,se,X):se.type===L.TEXT?$=this._handle_text(ce,se,X):se.type===L.CONTROL_FLOW_OPEN?$=this._handle_control_flow_open(ce,se):se.type===L.CONTROL_FLOW_CLOSE?$=this._handle_control_flow_close(ce,se):ce.add_raw_token(se),ee=$,se=z.next();var _e=ce._output.get_code(V);return _e},ne.prototype._handle_control_flow_open=function(J,V){var ue={text:V.text,type:V.type};return J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),V.newlines?J.print_preserved_newlines(V):J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),J.print_token(V),J.indent(),ue},ne.prototype._handle_control_flow_close=function(J,V){var ue={text:V.text,type:V.type};return J.deindent(),V.newlines?J.print_preserved_newlines(V):J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),J.print_token(V),ue},ne.prototype._handle_tag_close=function(J,V,ue){var ee={text:V.text,type:V.type};return J.alignment_size=0,ue.tag_complete=!0,J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),ue.is_unformatted?J.add_raw_token(V):(ue.tag_start_char==="<"&&(J.set_space_before_token(V.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&ue.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(V)),ue.indent_content&&!(ue.is_unformatted||ue.is_content_unformatted)&&(J.indent(),ue.indent_content=!1),!ue.is_inline_element&&!(ue.is_unformatted||ue.is_content_unformatted)&&J.set_wrap_point(),ee},ne.prototype._handle_inside_tag=function(J,V,ue,ee){var X=ue.has_wrapped_attrs,ce={text:V.text,type:V.type};return J.set_space_before_token(V.newlines||V.whitespace_before!=="",!0),ue.is_unformatted?J.add_raw_token(V):ue.tag_start_char==="{"&&V.type===L.TEXT?J.print_preserved_newlines(V)?(V.newlines=0,J.add_raw_token(V)):J.print_token(V):(V.type===L.ATTRIBUTE?J.set_space_before_token(!0):(V.type===L.EQUALS||V.type===L.VALUE&&V.previous.type===L.EQUALS)&&J.set_space_before_token(!1),V.type===L.ATTRIBUTE&&ue.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(J.traverse_whitespace(V),X=X||V.newlines!==0),this._is_wrap_attributes_force&&ue.attr_count>=this._options.wrap_attributes_min_attrs&&(ee.type!==L.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(J.print_newline(!1),X=!0)),J.print_token(V),X=X||J.previous_token_wrapped(),ue.has_wrapped_attrs=X),ce},ne.prototype._handle_text=function(J,V,ue){var ee={text:V.text,type:"TK_CONTENT"};return ue.custom_beautifier_name?this._print_custom_beatifier_text(J,V,ue):ue.is_unformatted||ue.is_content_unformatted?J.add_raw_token(V):(J.traverse_whitespace(V),J.print_token(V)),ee},ne.prototype._print_custom_beatifier_text=function(J,V,ue){var ee=this;if(V.text!==""){var X=V.text,ce,z=1,$="",se="";ue.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ce=this._js_beautify:ue.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ce=this._css_beautify:ue.custom_beautifier_name==="html"&&(ce=function(Bt,yt){var It=new ne(Bt,yt,ee._js_beautify,ee._css_beautify);return It.beautify()}),this._options.indent_scripts==="keep"?z=0:this._options.indent_scripts==="separate"&&(z=-J.indent_level);var _e=J.get_full_indent(z);if(X=X.replace(/\n[ \t]*$/,""),ue.custom_beautifier_name!=="html"&&X[0]==="<"&&X.match(/^(<!--|<!\[CDATA\[)/)){var Oe=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(X);if(!Oe){J.add_raw_token(V);return}$=_e+Oe[1]+`
`,X=Oe[4],Oe[5]&&(se=_e+Oe[5]),X=X.replace(/\n[ \t]*$/,""),(Oe[2]||Oe[3].indexOf(`
`)!==-1)&&(Oe=Oe[3].match(/[ \t]+$/),Oe&&(V.whitespace_before=Oe[0]))}if(X)if(ce){var Le=function(){this.eol=`
`};Le.prototype=this._options.raw_options;var He=new Le;X=ce(_e+X,He)}else{var $e=V.whitespace_before;$e&&(X=X.replace(new RegExp(`
(`+$e+")?","g"),`
`)),X=_e+X.replace(/\n/g,`
`+_e)}$&&(X?X=$+X+`
`+se:X=$+se),J.print_newline(!1),X&&(V.text=X,V.whitespace_before="",V.newlines=0,J.add_raw_token(V),J.print_newline(!0))}},ne.prototype._handle_tag_open=function(J,V,ue,ee,X){var ce=this._get_tag_open_token(V);if((ue.is_unformatted||ue.is_content_unformatted)&&!ue.is_empty_element&&V.type===L.TAG_OPEN&&!ce.is_start_tag?(J.add_raw_token(V),ce.start_tag_token=this._tag_stack.try_pop(ce.tag_name)):(J.traverse_whitespace(V),this._set_tag_position(J,V,ce,ue,ee),ce.is_inline_element||J.set_wrap_point(),J.print_token(V)),ce.is_start_tag&&this._is_wrap_attributes_force){var z=0,$;do $=X.peek(z),$.type===L.ATTRIBUTE&&(ce.attr_count+=1),z+=1;while($.type!==L.EOF&&$.type!==L.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(ce.alignment_size=V.text.length+1),!ce.tag_complete&&!ce.is_unformatted&&(J.alignment_size=ce.alignment_size),ce};var ae=function(J,V,ue){if(this.parent=V||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!ue)this.tag_complete=!0;else{var ee;this.tag_start_char=ue.text[0],this.text=ue.text,this.tag_start_char==="<"?(ee=ue.text.match(/^<([^\s>]*)/),this.tag_check=ee?ee[1]:""):(ee=ue.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ee?ee[1]:"",(ue.text.startsWith("{{#>")||ue.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&ue.next!==null?this.tag_check=ue.next.text.split(" ")[0]:this.tag_check=ue.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),ue.type===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 X=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(X=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!J.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(X)))}};ne.prototype._get_tag_open_token=function(J){var V=new ae(this._options,this._tag_stack.get_parser_token(),J);return V.alignment_size=this._options.wrap_attributes_indent_size,V.is_end_tag=V.is_end_tag||K(V.tag_check,this._options.void_elements),V.is_empty_element=V.tag_complete||V.is_start_tag&&V.is_end_tag,V.is_unformatted=!V.tag_complete&&K(V.tag_check,this._options.unformatted),V.is_content_unformatted=!V.is_empty_element&&K(V.tag_check,this._options.content_unformatted),V.is_inline_element=K(V.tag_name,this._options.inline)||this._options.inline_custom_elements&&V.tag_name.includes("-")||V.tag_start_char==="{",V},ne.prototype._set_tag_position=function(J,V,ue,ee,X){if(ue.is_empty_element||(ue.is_end_tag?ue.start_tag_token=this._tag_stack.try_pop(ue.tag_name):(this._do_optional_end_element(ue)&&(ue.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(ue),(ue.tag_name==="script"||ue.tag_name==="style")&&!(ue.is_unformatted||ue.is_content_unformatted)&&(ue.custom_beautifier_name=N(ue.tag_check,V)))),K(ue.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),ue.is_empty_element){if(ue.tag_start_char==="{"&&ue.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),ue.indent_content=!0;var ce=J.current_line_has_match(/{{#if/);ce||J.print_newline(!1)}ue.tag_name==="!--"&&X.type===L.TAG_CLOSE&&ee.is_end_tag&&ue.text.indexOf(`
`)===-1||(ue.is_inline_element||ue.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,ue))}else if(ue.is_end_tag){var z=!1;z=ue.start_tag_token&&ue.start_tag_token.multiline_content,z=z||!ue.is_inline_element&&!(ee.is_inline_element||ee.is_unformatted)&&!(X.type===L.TAG_CLOSE&&ue.start_tag_token===ee)&&X.type!=="TK_CONTENT",(ue.is_content_unformatted||ue.is_unformatted)&&(z=!1),z&&J.print_newline(!1)}else ue.indent_content=!ue.custom_beautifier_name,ue.tag_start_char==="<"&&(ue.tag_name==="html"?ue.indent_content=this._options.indent_inner_html:ue.tag_name==="head"?ue.indent_content=this._options.indent_head_inner_html:ue.tag_name==="body"&&(ue.indent_content=this._options.indent_body_inner_html)),!(ue.is_inline_element||ue.is_unformatted)&&(X.type!=="TK_CONTENT"||ue.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,ue)},ne.prototype._calcluate_parent_multiline=function(J,V){V.parent&&J._output.just_added_newline()&&!((V.is_inline_element||V.is_unformatted)&&V.parent.is_inline_element)&&(V.parent.multiline_content=!0)};var le=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],Q=["a","audio","del","ins","map","noscript","video"];ne.prototype._do_optional_end_element=function(J){var V=null;if(!(J.is_empty_element||!J.is_start_tag||!J.parent)){if(J.tag_name==="body")V=V||this._tag_stack.try_pop("head");else if(J.tag_name==="li")V=V||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(J.tag_name==="dd"||J.tag_name==="dt")V=V||this._tag_stack.try_pop("dt",["dl"]),V=V||this._tag_stack.try_pop("dd",["dl"]);else if(J.parent.tag_name==="p"&&le.indexOf(J.tag_name)!==-1){var ue=J.parent.parent;(!ue||Q.indexOf(ue.tag_name)===-1)&&(V=V||this._tag_stack.try_pop("p"))}else J.tag_name==="rp"||J.tag_name==="rt"?(V=V||this._tag_stack.try_pop("rt",["ruby","rtc"]),V=V||this._tag_stack.try_pop("rp",["ruby","rtc"])):J.tag_name==="optgroup"?V=V||this._tag_stack.try_pop("optgroup",["select"]):J.tag_name==="option"?V=V||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):J.tag_name==="colgroup"?V=V||this._tag_stack.try_pop("caption",["table"]):J.tag_name==="thead"?(V=V||this._tag_stack.try_pop("caption",["table"]),V=V||this._tag_stack.try_pop("colgroup",["table"])):J.tag_name==="tbody"||J.tag_name==="tfoot"?(V=V||this._tag_stack.try_pop("caption",["table"]),V=V||this._tag_stack.try_pop("colgroup",["table"]),V=V||this._tag_stack.try_pop("thead",["table"]),V=V||this._tag_stack.try_pop("tbody",["table"])):J.tag_name==="tr"?(V=V||this._tag_stack.try_pop("caption",["table"]),V=V||this._tag_stack.try_pop("colgroup",["table"]),V=V||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(J.tag_name==="th"||J.tag_name==="td")&&(V=V||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),V=V||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return J.parent=this._tag_stack.get_parser_token(),V}},p.exports.Beautifier=ne},function(p,y,_){var b=_(6).Options;function A(k){b.call(this,k,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}A.prototype=new b,p.exports.Options=A},function(p,y,_){var b=_(9).Tokenizer,A=_(9).TOKEN,k=_(13).Directives,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:A.START,RAW:A.RAW,EOF:A.EOF},M=new k(/<\!--/,/-->/),B=function(N,K){b.call(this,N,K),this._current_tag_name="";var G=new L(this._input).read_options(this._options),W=new T(this._input);if(this.__patterns={word:G.until(/[\n\r\t <]/),word_control_flow_close_excluded:G.until(/[\n\r\t <}]/),single_quote:G.until_after(/'/),double_quote:G.until_after(/"/),attribute:G.until(/[\n\r\t =>]|\/>/),element_name:G.until(/[\n\r\t >\/]/),angular_control_flow_start:W.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:W.starting_with(/{{!--/).until_after(/--}}/),handlebars:W.starting_with(/{{/).until_after(/}}/),handlebars_open:W.until(/[\n\r\t }]/),handlebars_raw_close:W.until(/}}/),comment:W.starting_with(/<!--/).until_after(/-->/),cdata:W.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:W.starting_with(/<!\[/).until_after(/]>/),processing:W.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var ne=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=W.matching(ne).until_after(ne)}};B.prototype=new b,B.prototype._is_comment=function(N){return!1},B.prototype._is_opening=function(N){return N.type===D.TAG_OPEN||N.type===D.CONTROL_FLOW_OPEN},B.prototype._is_closing=function(N,K){return N.type===D.TAG_CLOSE&&K&&((N.text===">"||N.text==="/>")&&K.text[0]==="<"||N.text==="}}"&&K.text[0]==="{"&&K.text[1]==="{")||N.type===D.CONTROL_FLOW_CLOSE&&N.text==="}"&&K.text.endsWith("{")},B.prototype._reset=function(){this._current_tag_name=""},B.prototype._get_next_token=function(N,K){var G=null;this._readWhitespace();var W=this._input.peek();return W===null?this._create_token(D.EOF,""):(G=G||this._read_open_handlebars(W,K),G=G||this._read_attribute(W,N,K),G=G||this._read_close(W,K),G=G||this._read_script_and_style(W,N),G=G||this._read_control_flows(W,K),G=G||this._read_raw_content(W,N,K),G=G||this._read_content_word(W,K),G=G||this._read_comment_or_cdata(W),G=G||this._read_processing(W),G=G||this._read_open(W,K),G=G||this._create_token(D.UNKNOWN,this._input.next()),G)},B.prototype._read_comment_or_cdata=function(N){var K=null,G=null,W=null;if(N==="<"){var ne=this._input.peek(1);ne==="!"&&(G=this.__patterns.comment.read(),G?(W=M.get_directives(G),W&&W.ignore==="start"&&(G+=M.readIgnored(this._input))):G=this.__patterns.cdata.read()),G&&(K=this._create_token(D.COMMENT,G),K.directives=W)}return K},B.prototype._read_processing=function(N){var K=null,G=null,W=null;if(N==="<"){var ne=this._input.peek(1);(ne==="!"||ne==="?")&&(G=this.__patterns.conditional_comment.read(),G=G||this.__patterns.processing.read()),G&&(K=this._create_token(D.COMMENT,G),K.directives=W)}return K},B.prototype._read_open=function(N,K){var G=null,W=null;return(!K||K.type===D.CONTROL_FLOW_OPEN)&&N==="<"&&(G=this._input.next(),this._input.peek()==="/"&&(G+=this._input.next()),G+=this.__patterns.element_name.read(),W=this._create_token(D.TAG_OPEN,G)),W},B.prototype._read_open_handlebars=function(N,K){var G=null,W=null;return(!K||K.type===D.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&N==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(G=this.__patterns.handlebars_comment.read(),G=G||this.__patterns.handlebars.read(),W=this._create_token(D.COMMENT,G)):(G=this.__patterns.handlebars_open.read(),W=this._create_token(D.TAG_OPEN,G))),W},B.prototype._read_control_flows=function(N,K){var G="",W=null;if(!this._options.templating.includes("angular"))return W;if(N==="@"){if(G=this.__patterns.angular_control_flow_start.read(),G==="")return W;for(var ne=G.endsWith("(")?1:0,ae=0;!(G.endsWith("{")&&ne===ae);){var le=this._input.next();if(le===null)break;le==="("?ne++:le===")"&&ae++,G+=le}W=this._create_token(D.CONTROL_FLOW_OPEN,G)}else N==="}"&&K&&K.type===D.CONTROL_FLOW_OPEN&&(G=this._input.next(),W=this._create_token(D.CONTROL_FLOW_CLOSE,G));return W},B.prototype._read_close=function(N,K){var G=null,W=null;return K&&K.type===D.TAG_OPEN&&(K.text[0]==="<"&&(N===">"||N==="/"&&this._input.peek(1)===">")?(G=this._input.next(),N==="/"&&(G+=this._input.next()),W=this._create_token(D.TAG_CLOSE,G)):K.text[0]==="{"&&N==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),W=this._create_token(D.TAG_CLOSE,"}}"))),W},B.prototype._read_attribute=function(N,K,G){var W=null,ne="";if(G&&G.text[0]==="<")if(N==="=")W=this._create_token(D.EQUALS,this._input.next());else if(N==='"'||N==="'"){var ae=this._input.next();N==='"'?ae+=this.__patterns.double_quote.read():ae+=this.__patterns.single_quote.read(),W=this._create_token(D.VALUE,ae)}else ne=this.__patterns.attribute.read(),ne&&(K.type===D.EQUALS?W=this._create_token(D.VALUE,ne):W=this._create_token(D.ATTRIBUTE,ne));return W},B.prototype._is_content_unformatted=function(N){return this._options.void_elements.indexOf(N)===-1&&(this._options.content_unformatted.indexOf(N)!==-1||this._options.unformatted.indexOf(N)!==-1)},B.prototype._read_raw_content=function(N,K,G){var W="";if(G&&G.text[0]==="{")W=this.__patterns.handlebars_raw_close.read();else if(K.type===D.TAG_CLOSE&&K.opened.text[0]==="<"&&K.text[0]!=="/"){var ne=K.opened.text.substr(1).toLowerCase();this._is_content_unformatted(ne)&&(W=this._input.readUntil(new RegExp("</"+ne+"[\\n\\r\\t ]*?>","ig")))}return W?this._create_token(D.TEXT,W):null},B.prototype._read_script_and_style=function(N,K){if(K.type===D.TAG_CLOSE&&K.opened.text[0]==="<"&&K.text[0]!=="/"){var G=K.opened.text.substr(1).toLowerCase();if(G==="script"||G==="style"){var W=this._read_comment_or_cdata(N);if(W)return W.type=D.TEXT,W;var ne=this._input.readUntil(new RegExp("</"+G+"[\\n\\r\\t ]*?>","ig"));if(ne)return this._create_token(D.TEXT,ne)}}return null},B.prototype._read_content_word=function(N,K){var G="";return this._options.unformatted_content_delimiter&&N===this._options.unformatted_content_delimiter[0]&&(G=this.__patterns.unformatted_content_delimiter.read()),G||(G=K&&K.type===D.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),G?this._create_token(D.TEXT,G):null},p.exports.Tokenizer=B,p.exports.TOKEN=D}],u={};function a(p){var y=u[p];if(y!==void 0)return y.exports;var _=u[p]={exports:{}};return h[p](_,_.exports,a),_.exports}var x=a(18);l=x})();var c=l;if(1)r=[e,e(58553),e(87804)],i=function(h){var u=e(58553),a=e(87804);return{html_beautify:function(x,p){return c(x,p,u.js_beautify,a.css_beautify)}}}.apply(v,r),i!==void 0&&(d.exports=i);else var f,o})()},58553:function(d,v){var e,r;(function(){var i;(function(){"use strict";var c=[function(u,a,x){var p=x(1).Beautifier,y=x(5).Options;function _(b,A){var k=new p(b,A);return k.beautify()}u.exports=_,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(2).Output,y=x(3).Token,_=x(4),b=x(5).Options,A=x(7).Tokenizer,k=x(7).line_starters,L=x(7).positionable_operators,T=x(7).TOKEN;function D($,se){return se.indexOf($)!==-1}function M($){return $.replace(/^\s+/g,"")}function B($){for(var se={},_e=0;_e<$.length;_e++)se[$[_e].replace(/-/g,"_")]=$[_e];return se}function N($,se){return $&&$.type===T.RESERVED&&$.text===se}function K($,se){return $&&$.type===T.RESERVED&&D($.text,se)}var G=["case","return","do","if","throw","else","await","break","continue","async"],W=["before-newline","after-newline","preserve-newline"],ne=B(W),ae=[ne.before_newline,ne.preserve_newline],le={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function Q($,se){se.multiline_frame||se.mode===le.ForInitializer||se.mode===le.Conditional||$.remove_indent(se.start_line_index)}function J($){$=$.replace(_.allLineBreaks,`
`);for(var se=[],_e=$.indexOf(`
`);_e!==-1;)se.push($.substring(0,_e)),$=$.substring(_e+1),_e=$.indexOf(`
`);return $.length&&se.push($),se}function V($){return $===le.ArrayLiteral}function ue($){return D($,[le.Expression,le.ForInitializer,le.Conditional])}function ee($,se){for(var _e=0;_e<$.length;_e++){var Oe=$[_e].trim();if(Oe.charAt(0)!==se)return!1}return!0}function X($,se){for(var _e=0,Oe=$.length,Le;_e<Oe;_e++)if(Le=$[_e],Le&&Le.indexOf(se)!==0)return!1;return!0}function ce($,se){se=se||{},this._source_text=$||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new b(se)}ce.prototype.create_flags=function($,se){var _e=0;$&&(_e=$.indentation_level,!this._output.just_added_newline()&&$.line_indent_level>_e&&(_e=$.line_indent_level));var Oe={mode:se,parent:$,last_token:$?$.last_token:new y(T.START_BLOCK,""),last_word:$?$.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:_e,alignment:0,line_indent_level:$?$.line_indent_level:_e,start_line_index:this._output.get_line_number(),ternary_depth:0};return Oe},ce.prototype._reset=function($){var se=$.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,se),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(le.BlockStatement);var _e=new A($,this._options);return this._tokens=_e.tokenize(),$},ce.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $,se=this._reset(this._source_text),_e=this._options.eol;this._options.eol==="auto"&&(_e=`
`,se&&_.lineBreak.test(se||"")&&(_e=se.match(_.lineBreak)[0]));for(var Oe=this._tokens.next();Oe;)this.handle_token(Oe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Oe,Oe=this._tokens.next();return $=this._output.get_code(_e),$},ce.prototype.handle_token=function($,se){$.type===T.START_EXPR?this.handle_start_expr($):$.type===T.END_EXPR?this.handle_end_expr($):$.type===T.START_BLOCK?this.handle_start_block($):$.type===T.END_BLOCK?this.handle_end_block($):$.type===T.WORD?this.handle_word($):$.type===T.RESERVED?this.handle_word($):$.type===T.SEMICOLON?this.handle_semicolon($):$.type===T.STRING?this.handle_string($):$.type===T.EQUALS?this.handle_equals($):$.type===T.OPERATOR?this.handle_operator($):$.type===T.COMMA?this.handle_comma($):$.type===T.BLOCK_COMMENT?this.handle_block_comment($,se):$.type===T.COMMENT?this.handle_comment($,se):$.type===T.DOT?this.handle_dot($):$.type===T.EOF?this.handle_eof($):$.type===T.UNKNOWN?this.handle_unknown($,se):this.handle_unknown($,se)},ce.prototype.handle_whitespace_and_comments=function($,se){var _e=$.newlines,Oe=this._options.keep_array_indentation&&V(this._flags.mode);if($.comments_before)for(var Le=$.comments_before.next();Le;)this.handle_whitespace_and_comments(Le,se),this.handle_token(Le,se),Le=$.comments_before.next();if(Oe)for(var He=0;He<_e;He+=1)this.print_newline(He>0,se);else if(this._options.max_preserve_newlines&&_e>this._options.max_preserve_newlines&&(_e=this._options.max_preserve_newlines),this._options.preserve_newlines&&_e>1){this.print_newline(!1,se);for(var $e=1;$e<_e;$e+=1)this.print_newline(!0,se)}};var z=["async","break","continue","return","throw","yield"];ce.prototype.allow_wrap_or_preserved_newline=function($,se){if(se=se===void 0?!1:se,!this._output.just_added_newline()){var _e=this._options.preserve_newlines&&$.newlines||se,Oe=D(this._flags.last_token.text,L)||D($.text,L);if(Oe){var Le=D(this._flags.last_token.text,L)&&D(this._options.operator_position,ae)||D($.text,L);_e=_e&&Le}if(_e)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(K(this._flags.last_token,z))return;this._output.set_wrap_point()}}},ce.prototype.print_newline=function($,se){if(!se&&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 _e=this._tokens.peek();this._flags.mode===le.Statement&&!(this._flags.if_block&&N(_e,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line($)&&(this._flags.multiline_frame=!0)},ce.prototype.print_token_line_indentation=function($){this._output.just_added_newline()&&(this._options.keep_array_indentation&&$.newlines&&($.text==="["||V(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push($.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},ce.prototype.print_token=function($){if(this._output.raw){this._output.add_raw_token($);return}if(this._options.comma_first&&$.previous&&$.previous.type===T.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var se=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(se),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation($),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation($),this._output.non_breaking_space=!0,this._output.add_token($.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},ce.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ce.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ce.prototype.set_mode=function($){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,$),this._flags=this.create_flags(this._previous_flags,$),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ce.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===le.Statement&&Q(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ce.prototype.start_of_object_property=function(){return this._flags.parent.mode===le.ObjectLiteral&&this._flags.mode===le.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||K(this._flags.last_token,["get","set"]))},ce.prototype.start_of_statement=function($){var se=!1;return se=se||K(this._flags.last_token,["var","let","const"])&&$.type===T.WORD,se=se||N(this._flags.last_token,"do"),se=se||!(this._flags.parent.mode===le.ObjectLiteral&&this._flags.mode===le.Statement)&&K(this._flags.last_token,z)&&!$.newlines,se=se||N(this._flags.last_token,"else")&&!(N($,"if")&&!$.comments_before),se=se||this._flags.last_token.type===T.END_EXPR&&(this._previous_flags.mode===le.ForInitializer||this._previous_flags.mode===le.Conditional),se=se||this._flags.last_token.type===T.WORD&&this._flags.mode===le.BlockStatement&&!this._flags.in_case&&!($.text==="--"||$.text==="++")&&this._last_last_text!=="function"&&$.type!==T.WORD&&$.type!==T.RESERVED,se=se||this._flags.mode===le.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||K(this._flags.last_token,["get","set"])),se?(this.set_mode(le.Statement),this.indent(),this.handle_whitespace_and_comments($,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline($,K($,["do","for","if","while"])),!0):!1},ce.prototype.handle_start_expr=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($);var se=le.Expression;if($.text==="["){if(this._flags.last_token.type===T.WORD||this._flags.last_token.text===")"){K(this._flags.last_token,k)&&(this._output.space_before_token=!0),this.print_token($),this.set_mode(se),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}se=le.ArrayLiteral,V(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),D(this._flags.last_token.type,[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,se=le.ForInitializer):D(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,se=le.Conditional):D(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&$.whitespace_before===""?this._output.space_before_token=!1:(D(this._flags.last_token.text,k)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===T.EQUALS||this._flags.last_token.type===T.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline($);else if(this._flags.last_token.type===T.WORD){this._output.space_before_token=!1;var _e=this._tokens.peek(-3);if(this._options.space_after_named_function&&_e){var Oe=this._tokens.peek(-4);K(_e,["async","function"])||_e.text==="*"&&K(Oe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===le.ObjectLiteral?(_e.text==="{"||_e.text===","||_e.text==="*"&&(Oe.text==="{"||Oe.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline($);(this._flags.last_token.type===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($,$.newlines),this.print_token($),this.set_mode(se),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ce.prototype.handle_end_expr=function($){for(;this._flags.mode===le.Statement;)this.restore_mode();this.handle_whitespace_and_comments($),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline($,$.text==="]"&&V(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===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($),this.restore_mode(),Q(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===le.Conditional&&(this._previous_flags.mode=le.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ce.prototype.handle_start_block=function($){this.handle_whitespace_and_comments($);var se=this._tokens.peek(),_e=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):_e&&(D(_e.text,[":",","])&&D(se.type,[T.STRING,T.WORD,T.RESERVED])||D(se.text,["get","set","..."])&&D(_e.type,[T.WORD,T.RESERVED]))?D(this._last_last_text,["class","interface"])&&!D(_e.text,[":",","])?this.set_mode(le.BlockStatement):this.set_mode(le.ObjectLiteral):this._flags.last_token.type===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])||K(this._flags.last_token,["return","throw","import","default"])?this.set_mode(le.ObjectLiteral):this.set_mode(le.BlockStatement),this._flags.last_token&&K(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Oe=!se.comments_before&&se.text==="}",Le=Oe&&this._flags.last_word==="function"&&this._flags.last_token.type===T.END_EXPR;if(this._options.brace_preserve_inline){var He=0,$e=null;this._flags.inline_frame=!0;do if(He+=1,$e=this._tokens.peek(He-1),$e.newlines){this._flags.inline_frame=!1;break}while($e.type!==T.EOF&&!($e.type===T.END_BLOCK&&$e.opened===$))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==T.OPERATOR&&(Le||this._flags.last_token.type===T.EQUALS||K(this._flags.last_token,G)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(V(this._previous_flags.mode)&&(this._flags.last_token.type===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($),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($),this.indent(),!Oe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ce.prototype.handle_end_block=function($){for(this.handle_whitespace_and_comments($);this._flags.mode===le.Statement;)this.restore_mode();var se=this._flags.last_token.type===T.START_BLOCK;this._flags.inline_frame&&!se?this._output.space_before_token=!0:this._options.brace_style==="expand"?se||this.print_newline():se||(V(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token($)},ce.prototype.handle_word=function($){if($.type===T.RESERVED){if(D($.text,["set","get"])&&this._flags.mode!==le.ObjectLiteral)$.type=T.WORD;else if($.text==="import"&&D(this._tokens.peek().text,["(","."]))$.type=T.WORD;else if(D($.text,["as","from"])&&!this._flags.import_block)$.type=T.WORD;else if(this._flags.mode===le.ObjectLiteral){var se=this._tokens.peek();se.text===":"&&($.type=T.WORD)}}if(this.start_of_statement($)?K(this._flags.last_token,["var","let","const"])&&$.type===T.WORD&&(this._flags.declaration_statement=!0):$.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||!K(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments($),this.print_newline()):this.handle_whitespace_and_comments($),this._flags.do_block&&!this._flags.do_while)if(N($,"while")){this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&N($,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===le.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&K($,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token($),this._flags.in_case=!0;return}if((this._flags.last_token.type===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($),N($,"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()&&!$.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===T.RESERVED||this._flags.last_token.type===T.WORD?K(this._flags.last_token,["get","set","new","export"])||K(this._flags.last_token,z)?this._output.space_before_token=!0:N(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===T.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(ue(this._flags.mode)||V(this._flags.mode))||this.print_newline(),this.print_token($),this._flags.last_word=$.text;return}var _e="NONE";if(this._flags.last_token.type===T.END_BLOCK?this._previous_flags.inline_frame?_e="SPACE":K($,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&$.newlines?_e="NEWLINE":(_e="SPACE",this._output.space_before_token=!0):_e="NEWLINE":this._flags.last_token.type===T.SEMICOLON&&this._flags.mode===le.BlockStatement?_e="NEWLINE":this._flags.last_token.type===T.SEMICOLON&&ue(this._flags.mode)?_e="SPACE":this._flags.last_token.type===T.STRING?_e="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,["{",","]))?_e="SPACE":this._flags.last_token.type===T.START_BLOCK?this._flags.inline_frame?_e="SPACE":_e="NEWLINE":this._flags.last_token.type===T.END_EXPR&&(this._output.space_before_token=!0,_e="NEWLINE"),K($,k)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?_e="SPACE":_e="NEWLINE"),K($,["else","catch","finally"]))if((!(this._flags.last_token.type===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"&&$.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Oe=this._output.current_line;Oe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else _e==="NEWLINE"?K(this._flags.last_token,G)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&K($,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==T.END_EXPR?(this._flags.last_token.type!==T.START_EXPR||!K($,["var","let","const"]))&&this._flags.last_token.text!==":"&&(N($,"if")&&N($.previous,"else")?this._output.space_before_token=!0:this.print_newline()):K($,k)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&V(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():_e==="SPACE"&&(this._output.space_before_token=!0);$.previous&&($.previous.type===T.WORD||$.previous.type===T.RESERVED)&&(this._output.space_before_token=!0),this.print_token($),this._flags.last_word=$.text,$.type===T.RESERVED&&($.text==="do"?this._flags.do_block=!0:$.text==="if"?this._flags.if_block=!0:$.text==="import"?this._flags.import_block=!0:this._flags.import_block&&N($,"from")&&(this._flags.import_block=!1))},ce.prototype.handle_semicolon=function($){this.start_of_statement($)?this._output.space_before_token=!1:this.handle_whitespace_and_comments($);for(var se=this._tokens.peek();this._flags.mode===le.Statement&&!(this._flags.if_block&&N(se,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token($)},ce.prototype.handle_string=function($){$.text.startsWith("`")&&$.newlines===0&&$.whitespace_before===""&&($.previous.text===")"||this._flags.last_token.type===T.WORD)||(this.start_of_statement($)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments($),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($):$.text.startsWith("`")&&this._flags.last_token.type===T.END_EXPR&&($.previous.text==="]"||$.previous.text===")")&&$.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token($)},ce.prototype.handle_equals=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0},ce.prototype.handle_comma=function($){this.handle_whitespace_and_comments($,!0),this.print_token($),this._output.space_before_token=!0,this._flags.declaration_statement?(ue(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)):this._flags.mode===le.ObjectLiteral||this._flags.mode===le.Statement&&this._flags.parent.mode===le.ObjectLiteral?(this._flags.mode===le.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)},ce.prototype.handle_operator=function($){var se=$.text==="*"&&(K(this._flags.last_token,["function","yield"])||D(this._flags.last_token.type,[T.START_BLOCK,T.COMMA,T.END_BLOCK,T.SEMICOLON])),_e=D($.text,["-","+"])&&(D(this._flags.last_token.type,[T.START_BLOCK,T.START_EXPR,T.EQUALS,T.OPERATOR])||D(this._flags.last_token.text,k)||this._flags.last_token.text===",");if(!this.start_of_statement($)){var Oe=!se;this.handle_whitespace_and_comments($,Oe)}if($.text==="*"&&this._flags.last_token.type===T.DOT){this.print_token($);return}if($.text==="::"){this.print_token($);return}if(D($.text,["-","+"])&&this.start_of_object_property()){this.print_token($);return}if(this._flags.last_token.type===T.OPERATOR&&D(this._options.operator_position,ae)&&this.allow_wrap_or_preserved_newline($),$.text===":"&&this._flags.in_case){this.print_token($),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==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 Le=!0,He=!0,$e=!1;if($.text===":"?this._flags.ternary_depth===0?Le=!1:(this._flags.ternary_depth-=1,$e=!0):$.text==="?"&&(this._flags.ternary_depth+=1),!_e&&!se&&this._options.preserve_newlines&&D($.text,L)){var Bt=$.text===":",yt=Bt&&$e,It=Bt&&!$e;switch(this._options.operator_position){case ne.before_newline:this._output.space_before_token=!It,this.print_token($),(!Bt||yt)&&this.allow_wrap_or_preserved_newline($),this._output.space_before_token=!0;return;case ne.after_newline:this._output.space_before_token=!0,!Bt||yt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline($):this._output.space_before_token=!1,this.print_token($),this._output.space_before_token=!0;return;case ne.preserve_newline:It||this.allow_wrap_or_preserved_newline($),Le=!(this._output.just_added_newline()||It),this._output.space_before_token=Le,this.print_token($),this._output.space_before_token=!0;return}}if(se){this.allow_wrap_or_preserved_newline($),Le=!1;var rr=this._tokens.peek();He=rr&&D(rr.type,[T.WORD,T.RESERVED])}else if($.text==="...")this.allow_wrap_or_preserved_newline($),Le=this._flags.last_token.type===T.START_BLOCK,He=!1;else if(D($.text,["--","++","!","~"])||_e){if((this._flags.last_token.type===T.COMMA||this._flags.last_token.type===T.START_EXPR)&&this.allow_wrap_or_preserved_newline($),Le=!1,He=!1,$.newlines&&($.text==="--"||$.text==="++"||$.text==="~")){var Yt=K(this._flags.last_token,G)&&$.newlines;Yt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Yt,!0)}this._flags.last_token.text===";"&&ue(this._flags.mode)&&(Le=!0),this._flags.last_token.type===T.RESERVED?Le=!0:this._flags.last_token.type===T.END_EXPR?Le=!(this._flags.last_token.text==="]"&&($.text==="--"||$.text==="++")):this._flags.last_token.type===T.OPERATOR&&(Le=D($.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D($.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(He=!0)),(this._flags.mode===le.BlockStatement&&!this._flags.inline_frame||this._flags.mode===le.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Le,this.print_token($),this._output.space_before_token=He},ce.prototype.handle_block_comment=function($,se){if(this._output.raw){this._output.add_raw_token($),$.directives&&$.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if($.directives){this.print_newline(!1,se),this.print_token($),$.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!_.newline.test($.text)&&!$.newlines){this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0;return}else this.print_block_commment($,se)},ce.prototype.print_block_commment=function($,se){var _e=J($.text),Oe,Le=!1,He=!1,$e=$.whitespace_before,Bt=$e.length;if(this.print_newline(!1,se),this.print_token_line_indentation($),this._output.add_token(_e[0]),this.print_newline(!1,se),_e.length>1){for(_e=_e.slice(1),Le=ee(_e,"*"),He=X(_e,$e),Le&&(this._flags.alignment=1),Oe=0;Oe<_e.length;Oe++)Le?(this.print_token_line_indentation($),this._output.add_token(M(_e[Oe]))):He&&_e[Oe]?(this.print_token_line_indentation($),this._output.add_token(_e[Oe].substring(Bt))):(this._output.current_line.set_indent(-1),this._output.add_token(_e[Oe])),this.print_newline(!1,se);this._flags.alignment=0}},ce.prototype.handle_comment=function($,se){$.newlines?this.print_newline(!1,se):this._output.trim(!0),this._output.space_before_token=!0,this.print_token($),this.print_newline(!1,se)},ce.prototype.handle_dot=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),K(this._flags.last_token,G)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline($,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token($)},ce.prototype.handle_unknown=function($,se){this.print_token($),$.text[$.text.length-1]===`
`&&this.print_newline(!1,se)},ce.prototype.handle_eof=function($){for(;this._flags.mode===le.Statement;)this.restore_mode();this.handle_whitespace_and_comments($)},u.exports.Beautifier=ce},function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var _=this.__items.length-1;_>=0;_--)if(this.__items[_].match(y))return!0;return!1},a.prototype.set_indent=function(y,_){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=_||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var y=this.__parent.current_line;return y.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),y.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),y.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,y.__items[0]===" "&&(y.__items.splice(0,1),y.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(y){this.__items.push(y);var _=y.lastIndexOf(`
`);_!==-1?this.__character_count=y.length-_:this.__character_count+=y.length},a.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var y="";return this.is_empty()?this.__parent.indent_empty_lines&&(y=this.__parent.get_indent_string(this.__indent_count)):(y=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),y+=this.__items.join("")),y};function x(y,_){this.__cache=[""],this.__indent_size=y.indent_size,this.__indent_string=y.indent_char,y.indent_with_tabs||(this.__indent_string=new Array(y.indent_size+1).join(y.indent_char)),_=_||"",y.indent_level>0&&(_=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=_,this.__base_string_length=_.length}x.prototype.get_indent_size=function(y,_){var b=this.__base_string_length;return _=_||0,y<0&&(b=0),b+=y*this.__indent_size,b+=_,b},x.prototype.get_indent_string=function(y,_){var b=this.__base_string;return _=_||0,y<0&&(y=0,b=""),_+=y*this.__indent_size,this.__ensure_cache(_),b+=this.__cache[_],b},x.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},x.prototype.__add_column=function(){var y=this.__cache.length,_=0,b="";this.__indent_size&&y>=this.__indent_size&&(_=Math.floor(y/this.__indent_size),y-=_*this.__indent_size,b=new Array(_+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,_){this.__indent_cache=new x(y,_),this.raw=!1,this._end_with_newline=y.end_with_newline,this.indent_size=y.indent_size,this.wrap_line_length=y.wrap_line_length,this.indent_empty_lines=y.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(y,_){return this.__indent_cache.get_indent_string(y,_)},p.prototype.get_indent_size=function(y,_){return this.__indent_cache.get_indent_size(y,_)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(y){this.trim(!0);var _=this.current_line.pop();_&&(_[_.length-1]===`
`&&(_=_.replace(/\n+$/g,"")),this.current_line.push(_)),this._end_with_newline&&this.__add_outputline();var b=this.__lines.join(`
`);return y!==`
`&&(b=b.replace(/[\n]/g,y)),b},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(y,_){return y=y||0,_=_||0,this.next_line.set_indent(y,_),this.__lines.length>1?(this.current_line.set_indent(y,_),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var _=0;_<y.newlines;_++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(y.whitespace_before),this.current_line.push(y.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},p.prototype.add_token=function(y){this.__add_space_before_token(),this.current_line.push(y),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},p.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},p.prototype.remove_indent=function(y){for(var _=this.__lines.length;y<_;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},p.prototype.trim=function(y){for(y=y===void 0?!1:y,this.current_line.trim();y&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(y,_){for(var b=this.__lines.length-2;b>=0;){var A=this.__lines[b];if(A.is_empty())break;if(A.item(0).indexOf(y)!==0&&A.item(-1)!==_){this.__lines.splice(b+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}b--}},u.exports.Output=p},function(u){function a(x,p,y,_){this.type=x,this.text=p,this.comments_before=null,this.newlines=y||0,this.whitespace_before=_||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}u.exports.Token=a},function(u,a){var x="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",p="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",y="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",_="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",b="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",A="(?:"+b+"|["+x+y+"])",k="(?:"+b+"|["+p+y+_+"])*";a.identifier=new RegExp(A+k,"g"),a.identifierStart=new RegExp(A),a.identifierMatch=new RegExp("(?:"+b+"|["+p+y+_+"])+");var 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 A=this.raw_options.brace_style||null;A==="expand-strict"?this.raw_options.brace_style="expand":A==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var k=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var L=0;L<k.length;L++)k[L]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=k[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],A=_||[];return typeof b=="object"?b!==null&&typeof b.concat=="function"&&(A=b.concat()):typeof b=="string"&&(A=b.split(/[^a-zA-Z0-9_\/\-]+/)),A},a.prototype._get_boolean=function(y,_){var b=this.raw_options[y],A=b===void 0?!!_:!!b;return A},a.prototype._get_characters=function(y,_){var b=this.raw_options[y],A=_||"";return typeof b=="string"&&(A=b.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),A},a.prototype._get_number=function(y,_){var b=this.raw_options[y];_=parseInt(_,10),isNaN(_)&&(_=0);var A=parseInt(b,10);return isNaN(A)&&(A=_),A},a.prototype._get_selection=function(y,_,b){var A=this._get_selection_list(y,_,b);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return A[0]},a.prototype._get_selection_list=function(y,_,b){if(!_||_.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[_[0]],!this._is_valid_selection(b,_))throw new Error("Invalid Default Value!");var A=this._get_array(y,b);if(!this._is_valid_selection(A,_))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
`+_+`
You passed in: '`+this.raw_options[y]+"'");return A},a.prototype._is_valid_selection=function(y,_){return y.length&&_.length&&!y.some(function(b){return _.indexOf(b)===-1})};function x(y,_){var b={};y=p(y);var A;for(A in y)A!==_&&(b[A]=y[A]);if(_&&y[_])for(A in y[_])b[A]=y[_][A];return b}function p(y){var _={},b;for(b in y){var A=b.replace(/-/g,"_");_[A]=y[b]}return _}u.exports.Options=a,u.exports.normalizeOpts=p,u.exports.mergeOpts=x},function(u,a,x){var p=x(8).InputScanner,y=x(9).Tokenizer,_=x(9).TOKEN,b=x(13).Directives,A=x(4),k=x(12).Pattern,L=x(14).TemplatablePattern;function T(ee,X){return X.indexOf(ee)!==-1}var D={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:_.START,RAW:_.RAW,EOF:_.EOF},M=new b(/\/\*/,/\*\//),B=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,N=/[0-9]/,K=/[^\d\.]/,G=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),W=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";W=W.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),W="\\?\\.(?!\\d) "+W,W=W.replace(/ /g,"|");var ne=new RegExp(W),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,V=function(ee,X){y.call(this,ee,X),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var ce=new k(this._input),z=new L(this._input).read_options(this._options);this.__patterns={template:z,identifier:z.starting_with(A.identifier).matching(A.identifierMatch),number:ce.matching(B),punct:ce.matching(ne),comment:ce.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:ce.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:ce.matching(/<!--/),html_comment_end:ce.matching(/-->/),include:ce.starting_with(/#include/).until_after(A.lineBreak),shebang:ce.starting_with(/#!/).until_after(A.lineBreak),xml:ce.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:z.until(/['\\\n\r\u2028\u2029]/),double_quote:z.until(/["\\\n\r\u2028\u2029]/),template_text:z.until(/[`\\$]/),template_expression:z.until(/[`}\\]/)}};V.prototype=new y,V.prototype._is_comment=function(ee){return ee.type===D.COMMENT||ee.type===D.BLOCK_COMMENT||ee.type===D.UNKNOWN},V.prototype._is_opening=function(ee){return ee.type===D.START_BLOCK||ee.type===D.START_EXPR},V.prototype._is_closing=function(ee,X){return(ee.type===D.END_BLOCK||ee.type===D.END_EXPR)&&X&&(ee.text==="]"&&X.text==="["||ee.text===")"&&X.text==="("||ee.text==="}"&&X.text==="{")},V.prototype._reset=function(){J=!1},V.prototype._get_next_token=function(ee,X){var ce=null;this._readWhitespace();var z=this._input.peek();return z===null?this._create_token(D.EOF,""):(ce=ce||this._read_non_javascript(z),ce=ce||this._read_string(z),ce=ce||this._read_pair(z,this._input.peek(1)),ce=ce||this._read_word(ee),ce=ce||this._read_singles(z),ce=ce||this._read_comment(z),ce=ce||this._read_regexp(z,ee),ce=ce||this._read_xml(z,ee),ce=ce||this._read_punctuation(),ce=ce||this._create_token(D.UNKNOWN,this._input.next()),ce)},V.prototype._read_word=function(ee){var X;if(X=this.__patterns.identifier.read(),X!=="")return X=X.replace(A.allLineBreaks,`
`),!(ee.type===D.DOT||ee.type===D.RESERVED&&(ee.text==="set"||ee.text==="get"))&&Q.test(X)?(X==="in"||X==="of")&&(ee.type===D.WORD||ee.type===D.STRING)?this._create_token(D.OPERATOR,X):this._create_token(D.RESERVED,X):this._create_token(D.WORD,X);if(X=this.__patterns.number.read(),X!=="")return this._create_token(D.WORD,X)},V.prototype._read_singles=function(ee){var X=null;return ee==="("||ee==="["?X=this._create_token(D.START_EXPR,ee):ee===")"||ee==="]"?X=this._create_token(D.END_EXPR,ee):ee==="{"?X=this._create_token(D.START_BLOCK,ee):ee==="}"?X=this._create_token(D.END_BLOCK,ee):ee===";"?X=this._create_token(D.SEMICOLON,ee):ee==="."&&K.test(this._input.peek(1))?X=this._create_token(D.DOT,ee):ee===","&&(X=this._create_token(D.COMMA,ee)),X&&this._input.next(),X},V.prototype._read_pair=function(ee,X){var ce=null;return ee==="#"&&X==="{"&&(ce=this._create_token(D.START_BLOCK,ee+X)),ce&&(this._input.next(),this._input.next()),ce},V.prototype._read_punctuation=function(){var ee=this.__patterns.punct.read();if(ee!=="")return ee==="="?this._create_token(D.EQUALS,ee):ee==="?."?this._create_token(D.DOT,ee):this._create_token(D.OPERATOR,ee)},V.prototype._read_non_javascript=function(ee){var X="";if(ee==="#"){if(this._is_first_token()&&(X=this.__patterns.shebang.read(),X))return this._create_token(D.UNKNOWN,X.trim()+`
`);if(X=this.__patterns.include.read(),X)return this._create_token(D.UNKNOWN,X.trim()+`
`);ee=this._input.next();var ce="#";if(this._input.hasNext()&&this._input.testChar(N)){do ee=this._input.next(),ce+=ee;while(this._input.hasNext()&&ee!=="#"&&ee!=="=");return ee==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(ce+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(ce+="{}",this._input.next(),this._input.next())),this._create_token(D.WORD,ce)}this._input.back()}else if(ee==="<"&&this._is_first_token()){if(X=this.__patterns.html_comment_start.read(),X){for(;this._input.hasNext()&&!this._input.testChar(A.newline);)X+=this._input.next();return J=!0,this._create_token(D.COMMENT,X)}}else if(J&&ee==="-"&&(X=this.__patterns.html_comment_end.read(),X))return J=!1,this._create_token(D.COMMENT,X);return null},V.prototype._read_comment=function(ee){var X=null;if(ee==="/"){var ce="";if(this._input.peek(1)==="*"){ce=this.__patterns.block_comment.read();var z=M.get_directives(ce);z&&z.ignore==="start"&&(ce+=M.readIgnored(this._input)),ce=ce.replace(A.allLineBreaks,`
`),X=this._create_token(D.BLOCK_COMMENT,ce),X.directives=z}else this._input.peek(1)==="/"&&(ce=this.__patterns.comment.read(),X=this._create_token(D.COMMENT,ce))}return X},V.prototype._read_string=function(ee){if(ee==="`"||ee==="'"||ee==='"'){var X=this._input.next();return this.has_char_escapes=!1,ee==="`"?X+=this._read_string_recursive("`",!0,"${"):X+=this._read_string_recursive(ee),this.has_char_escapes&&this._options.unescape_strings&&(X=ue(X)),this._input.peek()===ee&&(X+=this._input.next()),X=X.replace(A.allLineBreaks,`
`),this._create_token(D.STRING,X)}return null},V.prototype._allow_regexp_or_xml=function(ee){return ee.type===D.RESERVED&&T(ee.text,["return","case","throw","else","do","typeof","yield"])||ee.type===D.END_EXPR&&ee.text===")"&&ee.opened.previous.type===D.RESERVED&&T(ee.opened.previous.text,["if","while","for"])||T(ee.type,[D.COMMENT,D.START_EXPR,D.START_BLOCK,D.START,D.END_BLOCK,D.OPERATOR,D.EQUALS,D.EOF,D.SEMICOLON,D.COMMA])},V.prototype._read_regexp=function(ee,X){if(ee==="/"&&this._allow_regexp_or_xml(X)){for(var ce=this._input.next(),z=!1,$=!1;this._input.hasNext()&&(z||$||this._input.peek()!==ee)&&!this._input.testChar(A.newline);)ce+=this._input.peek(),z?z=!1:(z=this._input.peek()==="\\",this._input.peek()==="["?$=!0:this._input.peek()==="]"&&($=!1)),this._input.next();return this._input.peek()===ee&&(ce+=this._input.next(),ce+=this._input.read(A.identifier)),this._create_token(D.STRING,ce)}return null},V.prototype._read_xml=function(ee,X){if(this._options.e4x&&ee==="<"&&this._allow_regexp_or_xml(X)){var ce="",z=this.__patterns.xml.read_match();if(z){for(var $=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),se=$.indexOf("{")===0,_e=0;z;){var Oe=!!z[1],Le=z[2],He=!!z[z.length-1]||Le.slice(0,8)==="![CDATA[";if(!He&&(Le===$||se&&Le.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Oe?--_e:++_e),ce+=z[0],_e<=0)break;z=this.__patterns.xml.read_match()}return z||(ce+=this._input.match(/[\s\S]*/g)[0]),ce=ce.replace(A.allLineBreaks,`
`),this._create_token(D.STRING,ce)}}return null};function ue(ee){for(var X="",ce=0,z=new p(ee),$=null;z.hasNext();)if($=z.match(/([\s]|[^\\]|\\\\)+/g),$&&(X+=$[0]),z.peek()==="\\"){if(z.next(),z.peek()==="x")$=z.match(/x([0-9A-Fa-f]{2})/g);else if(z.peek()==="u")$=z.match(/u([0-9A-Fa-f]{4})/g),$||($=z.match(/u\{([0-9A-Fa-f]+)\}/g));else{X+="\\",z.hasNext()&&(X+=z.next());continue}if(!$||(ce=parseInt($[1],16),ce>126&&ce<=255&&$[0].indexOf("x")===0))return ee;ce>=0&&ce<32||ce>1114111?X+="\\"+$[0]:ce===34||ce===39||ce===92?X+="\\"+String.fromCharCode(ce):X+=String.fromCharCode(ce)}return X}V.prototype._read_string_recursive=function(ee,X,ce){var z,$;ee==="'"?$=this.__patterns.single_quote:ee==='"'?$=this.__patterns.double_quote:ee==="`"?$=this.__patterns.template_text:ee==="}"&&($=this.__patterns.template_expression);for(var se=$.read(),_e="";this._input.hasNext();){if(_e=this._input.next(),_e===ee||!X&&A.newline.test(_e)){this._input.back();break}else _e==="\\"&&this._input.hasNext()?(z=this._input.peek(),z==="x"||z==="u"?this.has_char_escapes=!0:z==="\r"&&this._input.peek(1)===`
`&&this._input.next(),_e+=this._input.next()):ce&&(ce==="${"&&_e==="$"&&this._input.peek()==="{"&&(_e+=this._input.next()),ce===_e&&(ee==="`"?_e+=this._read_string_recursive("}",X,"`"):_e+=this._read_string_recursive("`",X,"${"),this._input.hasNext()&&(_e+=this._input.next())));_e+=$.read(),se+=_e}return se},u.exports.Tokenizer=V,u.exports.TOKEN=D,u.exports.positionable_operators=G.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="",A;return p&&(A=this.match(p),A&&(b+=A[0])),y&&(A||!p)&&(b+=this.readUntil(y,_)),b},x.prototype.readUntil=function(p,y){var _="",b=this.__position;p.lastIndex=this.__position;var A=p.exec(this.__input);return A?(b=A.index,y&&(b+=A[0].length)):b=this.__input_length,_=this.__input.substring(this.__position,b),this.__position=b,_},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var _=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?_=new RegExp(p,b):p&&(_=new RegExp(p.source,b)),_},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,_=this.readUntilAfter(p);return this.__position=y,_},x.prototype.lookBack=function(p){var y=this.__position-1;return y>=p.length&&this.__input.substring(y-p.length,y).toLowerCase()===p},u.exports.InputScanner=x},function(u,a,x){var p=x(8).InputScanner,y=x(3).Token,_=x(10).TokenStream,b=x(11).WhitespacePattern,A={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},k=function(L,T){this._input=new p(L),this._options=T||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new b(this._input)};k.prototype.tokenize=function(){this._input.restart(),this.__tokens=new _,this._reset();for(var L,T=new y(A.START,""),D=null,M=[],B=new _;T.type!==A.EOF;){for(L=this._get_next_token(T,D);this._is_comment(L);)B.add(L),L=this._get_next_token(T,D);B.isEmpty()||(L.comments_before=B,B=new _),L.parent=D,this._is_opening(L)?(M.push(D),D=L):D&&this._is_closing(L,D)&&(L.opened=D,D.closed=L,D=M.pop(),L.parent=D),L.previous=T,T.next=L,this.__tokens.add(L),T=L}return this.__tokens},k.prototype._is_first_token=function(){return this.__tokens.isEmpty()},k.prototype._reset=function(){},k.prototype._get_next_token=function(L,T){this._readWhitespace();var D=this._input.read(/.+/g);return D?this._create_token(A.RAW,D):this._create_token(A.EOF,"")},k.prototype._is_comment=function(L){return!1},k.prototype._is_opening=function(L){return!1},k.prototype._is_closing=function(L,T){return!1},k.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},k.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},u.exports.Tokenizer=k,u.exports.TOKEN=A},function(u){function a(x){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=x}a.prototype.restart=function(){this.__position=0},a.prototype.isEmpty=function(){return this.__tokens_length===0},a.prototype.hasNext=function(){return this.__position<this.__tokens_length},a.prototype.next=function(){var x=null;return this.hasNext()&&(x=this.__tokens[this.__position],this.__position+=1),x},a.prototype.peek=function(x){var p=null;return x=x||0,x+=this.__position,x>=0&&x<this.__tokens_length&&(p=this.__tokens[x]),p},a.prototype.add=function(x){this.__parent_token&&(x.parent=this.__parent_token),this.__tokens.push(x),this.__tokens_length+=1},u.exports.TokenStream=a},function(u,a,x){var p=x(12).Pattern;function y(_,b){p.call(this,_,b),b?this._line_regexp=this._input.get_regexp(b._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}y.prototype=new p,y.prototype.__set_whitespace_patterns=function(_,b){_+="\\t ",b+="\\n\\r",this._match_pattern=this._input.get_regexp("["+_+b+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+b+"]")},y.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var _=this._input.read(this._match_pattern);if(_===" ")this.whitespace_before_token=" ";else if(_){var b=this.__split(this._newline_regexp,_);this.newline_count=b.length-1,this.whitespace_before_token=b[this.newline_count]}return _},y.prototype.matching=function(_,b){var A=this._create();return A.__set_whitespace_patterns(_,b),A._update(),A},y.prototype._create=function(){return new y(this._input,this)},y.prototype.__split=function(_,b){_.lastIndex=0;for(var A=0,k=[],L=_.exec(b);L;)k.push(b.substring(A,L.index)),A=L.index+L[0].length,L=_.exec(b);return A<b.length?k.push(b.substring(A,b.length)):k.push(""),k},u.exports.WhitespacePattern=y},function(u){function a(x,p){this._input=x,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,p&&(this._starting_pattern=this._input.get_regexp(p._starting_pattern,!0),this._match_pattern=this._input.get_regexp(p._match_pattern,!0),this._until_pattern=this._input.get_regexp(p._until_pattern),this._until_after=p._until_after)}a.prototype.read=function(){var x=this._input.read(this._starting_pattern);return(!this._starting_pattern||x)&&(x+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),x},a.prototype.read_match=function(){return this._input.match(this._match_pattern)},a.prototype.until_after=function(x){var p=this._create();return p._until_after=!0,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.until=function(x){var p=this._create();return p._until_after=!1,p._until_pattern=this._input.get_regexp(x),p._update(),p},a.prototype.starting_with=function(x){var p=this._create();return p._starting_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype.matching=function(x){var p=this._create();return p._match_pattern=this._input.get_regexp(x,!0),p._update(),p},a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){},u.exports.Pattern=a},function(u){function a(x,p){x=typeof x=="string"?x:x.source,p=typeof p=="string"?p:p.source,this.__directives_block_pattern=new RegExp(x+/ beautify( \w+[:]\w+)+ /.source+p,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(x+/\sbeautify\signore:end\s/.source+p,"g")}a.prototype.get_directives=function(x){if(!x.match(this.__directives_block_pattern))return null;var p={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(x);y;)p[y[1]]=y[2],y=this.__directive_pattern.exec(x);return p},a.prototype.readIgnored=function(x){return x.readUntilAfter(this.__directives_end_ignore_pattern)},u.exports.Directives=a},function(u,a,x){var p=x(12).Pattern,y={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function _(b,A){p.call(this,b,A),this.__template_pattern=null,this._disabled=Object.assign({},y),this._excluded=Object.assign({},y),A&&(this.__template_pattern=this._input.get_regexp(A.__template_pattern),this._excluded=Object.assign(this._excluded,A._excluded),this._disabled=Object.assign(this._disabled,A._disabled));var k=new p(b);this.__patterns={handlebars_comment:k.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:k.starting_with(/{{{/).until_after(/}}}/),handlebars:k.starting_with(/{{/).until_after(/}}/),php:k.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:k.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:k.starting_with(/{%/).until_after(/%}/),django_value:k.starting_with(/{{/).until_after(/}}/),django_comment:k.starting_with(/{#/).until_after(/#}/),smarty:k.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:k.starting_with(/{\*/).until_after(/\*}/),smarty_literal:k.starting_with(/{literal}/).until_after(/{\/literal}/)}}_.prototype=new p,_.prototype._create=function(){return new _(this._input,this)},_.prototype._update=function(){this.__set_templated_pattern()},_.prototype.disable=function(b){var A=this._create();return A._disabled[b]=!0,A._update(),A},_.prototype.read_options=function(b){var A=this._create();for(var k in y)A._disabled[k]=b.templating.indexOf(k)===-1;return A._update(),A},_.prototype.exclude=function(b){var A=this._create();return A._excluded[b]=!0,A._update(),A},_.prototype.read=function(){var b="";this._match_pattern?b=this._input.read(this._starting_pattern):b=this._input.read(this._starting_pattern,this.__template_pattern);for(var A=this._read_template();A;)this._match_pattern?A+=this._input.read(this._match_pattern):A+=this._input.readUntil(this.__template_pattern),b+=A,A=this._read_template();return this._until_after&&(b+=this._input.readUntilAfter(this._until_pattern)),b},_.prototype.__set_templated_pattern=function(){var b=[];this._disabled.php||b.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||b.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||b.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(b.push(this.__patterns.django._starting_pattern.source),b.push(this.__patterns.django_value._starting_pattern.source),b.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||b.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&b.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+b.join("|")+")")},_.prototype._read_template=function(){var b="",A=this._input.peek();if(A==="<"){var k=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&k==="?"&&(b=b||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&k==="%"&&(b=b||this.__patterns.erb.read())}else A==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(b=b||this.__patterns.handlebars_comment.read(),b=b||this.__patterns.handlebars_unescaped.read(),b=b||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(b=b||this.__patterns.django_value.read()),this._excluded.django||(b=b||this.__patterns.django_comment.read(),b=b||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(b=b||this.__patterns.smarty_comment.read(),b=b||this.__patterns.smarty_literal.read(),b=b||this.__patterns.smarty.read()));return b},u.exports.TemplatablePattern=_}],f={};function o(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,o),x.exports}var h=o(0);i=h})();var l=i;e=[],r=function(){return{js_beautify:l}}.apply(v,e),r!==void 0&&(d.exports=r)})()},15342:function(d){(function(e,r){d.exports=r()})(typeof self!="undefined"?self:this,function(){return function(v){var e={};function r(i){if(e[i])return e[i].exports;var l=e[i]={i,l:!1,exports:{}};return v[i].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=v,r.c=e,r.d=function(i,l,c){r.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:c})},r.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,l){if(l&1&&(i=r(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var f in i)r.d(c,f,function(o){return i[o]}.bind(null,f));return c},r.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(l,"a",l),l},r.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},r.p="",r(r.s=1)}([function(v,e,r){},function(v,e,r){"use strict";r.r(e);var i=r(0),l=function(){function We(Z,q,ie){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=Z,this.start=q,this.end=ie}return We.range=function(q,ie){return ie?!q||!q.loc||!ie.loc||q.loc.lexer!==ie.loc.lexer?null:new We(q.loc.lexer,q.loc.start,ie.loc.end):q&&q.loc},We}(),c=function(){function We(q,ie){this.text=void 0,this.loc=void 0,this.text=q,this.loc=ie}var Z=We.prototype;return Z.range=function(ie,he){return new We(he,l.range(this,ie))},We}(),f=function We(Z,q){this.position=void 0;var ie="KaTeX parse error: "+Z,he,Ie=q&&q.loc;if(Ie&&Ie.start<=Ie.end){var Ye=Ie.lexer.input;he=Ie.start;var Tt=Ie.end;he===Ye.length?ie+=" at end of input: ":ie+=" at position "+(he+1)+": ";var jt=Ye.slice(he,Tt).replace(/[^]/g,"$&\u0332"),nr;he>15?nr="\u2026"+Ye.slice(he-15,he):nr=Ye.slice(0,he);var Pt;Tt+15<Ye.length?Pt=Ye.slice(Tt,Tt+15)+"\u2026":Pt=Ye.slice(Tt),ie+=nr+jt+Pt}var Ur=new Error(ie);return Ur.name="ParseError",Ur.__proto__=We.prototype,Ur.position=he,Ur};f.prototype.__proto__=Error.prototype;var o=f,h=function(Z,q){return Z.indexOf(q)!==-1},u=function(Z,q){return Z===void 0?q:Z},a=/([A-Z])/g,x=function(Z){return Z.replace(a,"-$1").toLowerCase()},p={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},y=/[&><"']/g;function _(We){return String(We).replace(y,function(Z){return p[Z]})}var b=function We(Z){return Z.type==="ordgroup"||Z.type==="color"?Z.body.length===1?We(Z.body[0]):Z:Z.type==="font"?We(Z.body):Z},A=function(Z){var q=b(Z);return q.type==="mathord"||q.type==="textord"||q.type==="atom"},k=function(Z){if(!Z)throw new Error("Expected non-null, but got "+String(Z));return Z},L=function(Z){var q=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(Z);return q!=null?q[1]:"_relative"},T={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:A,protocolFromUrl:L},D=function(){function We(q){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,q=q||{},this.displayMode=T.deflt(q.displayMode,!1),this.output=T.deflt(q.output,"htmlAndMathml"),this.leqno=T.deflt(q.leqno,!1),this.fleqn=T.deflt(q.fleqn,!1),this.throwOnError=T.deflt(q.throwOnError,!0),this.errorColor=T.deflt(q.errorColor,"#cc0000"),this.macros=q.macros||{},this.minRuleThickness=Math.max(0,T.deflt(q.minRuleThickness,0)),this.colorIsTextColor=T.deflt(q.colorIsTextColor,!1),this.strict=T.deflt(q.strict,"warn"),this.trust=T.deflt(q.trust,!1),this.maxSize=Math.max(0,T.deflt(q.maxSize,1/0)),this.maxExpand=Math.max(0,T.deflt(q.maxExpand,1e3))}var Z=We.prototype;return Z.reportNonstrict=function(ie,he,Ie){var Ye=this.strict;if(typeof Ye=="function"&&(Ye=Ye(ie,he,Ie)),!(!Ye||Ye==="ignore")){if(Ye===!0||Ye==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(he+" ["+ie+"]"),Ie);Ye==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+ie+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ye+"': "+he+" ["+ie+"]"))}},Z.useStrictBehavior=function(ie,he,Ie){var Ye=this.strict;if(typeof Ye=="function")try{Ye=Ye(ie,he,Ie)}catch(Tt){Ye="error"}return!Ye||Ye==="ignore"?!1:Ye===!0||Ye==="error"?!0:Ye==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+ie+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ye+"': "+he+" ["+ie+"]")),!1)},Z.isTrusted=function(ie){ie.url&&!ie.protocol&&(ie.protocol=T.protocolFromUrl(ie.url));var he=typeof this.trust=="function"?this.trust(ie):this.trust;return!!he},We}(),M=function(){function We(q,ie,he){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=q,this.size=ie,this.cramped=he}var Z=We.prototype;return Z.sup=function(){return Q[J[this.id]]},Z.sub=function(){return Q[V[this.id]]},Z.fracNum=function(){return Q[ue[this.id]]},Z.fracDen=function(){return Q[ee[this.id]]},Z.cramp=function(){return Q[X[this.id]]},Z.text=function(){return Q[ce[this.id]]},Z.isTight=function(){return this.size>=2},We}(),B=0,N=1,K=2,G=3,W=4,ne=5,ae=6,le=7,Q=[new M(B,0,!1),new M(N,0,!0),new M(K,1,!1),new M(G,1,!0),new M(W,2,!1),new M(ne,2,!0),new M(ae,3,!1),new M(le,3,!0)],J=[W,ne,W,ne,ae,le,ae,le],V=[ne,ne,ne,ne,le,le,le,le],ue=[K,G,W,ne,ae,le,ae,le],ee=[G,G,ne,ne,le,le,le,le],X=[N,N,G,G,ne,ne,le,le],ce=[B,N,K,G,K,G,K,G],z={DISPLAY:Q[B],TEXT:Q[K],SCRIPT:Q[W],SCRIPTSCRIPT:Q[ae]},$=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function se(We){for(var Z=0;Z<$.length;Z++)for(var q=$[Z],ie=0;ie<q.blocks.length;ie++){var he=q.blocks[ie];if(We>=he[0]&&We<=he[1])return q.name}return null}var _e=[];$.forEach(function(We){return We.blocks.forEach(function(Z){return _e.push.apply(_e,Z)})});function Oe(We){for(var Z=0;Z<_e.length;Z+=2)if(We>=_e[Z]&&We<=_e[Z+1])return!0;return!1}var Le=80,He=function(Z,q){return"M95,"+(622+Z+q)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+Z/2.075+" -"+Z+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+Z)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+Z)+" "+q+"h400000v"+(40+Z)+"h-400000z"},$e=function(Z,q){return"M263,"+(601+Z+q)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+Z/2.084+" -"+Z+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+Z)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+Z)+" "+q+"h400000v"+(40+Z)+"h-400000z"},Bt=function(Z,q){return"M983 "+(10+Z+q)+`
l`+Z/3.13+" -"+Z+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+Z)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+Z)+" "+q+"h400000v"+(40+Z)+"h-400000z"},yt=function(Z,q){return"M424,"+(2398+Z+q)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+Z/4.223+" -"+Z+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+Z)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+Z)+" "+q+`
h400000v`+(40+Z)+"h-400000z"},It=function(Z,q){return"M473,"+(2713+Z+q)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+Z/5.298+" -"+Z+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+Z)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+Z)+" "+q+"h400000v"+(40+Z)+"H1017.7z"},rr=function(Z,q,ie){var he=ie-54-q-Z;return"M702 "+(Z+q)+"H400000"+(40+Z)+`
H742v`+he+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+q+"H400000v"+(40+Z)+"H742z"},Yt=function(Z,q,ie){q=1e3*q;var he="";switch(Z){case"sqrtMain":he=He(q,Le);break;case"sqrtSize1":he=$e(q,Le);break;case"sqrtSize2":he=Bt(q,Le);break;case"sqrtSize3":he=yt(q,Le);break;case"sqrtSize4":he=It(q,Le);break;case"sqrtTall":he=rr(q,Le,ie)}return he},lr={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`},Ve=function(){function We(q){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=q,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var Z=We.prototype;return Z.hasClass=function(ie){return T.contains(this.classes,ie)},Z.toNode=function(){for(var ie=document.createDocumentFragment(),he=0;he<this.children.length;he++)ie.appendChild(this.children[he].toNode());return ie},Z.toMarkup=function(){for(var ie="",he=0;he<this.children.length;he++)ie+=this.children[he].toMarkup();return ie},Z.toText=function(){var ie=function(Ie){return Ie.toText()};return this.children.map(ie).join("")},We}(),Ct=function(Z){return Z.filter(function(q){return q}).join(" ")},Ut=function(Z,q,ie){if(this.classes=Z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ie||{},q){q.style.isTight()&&this.classes.push("mtight");var he=q.getColor();he&&(this.style.color=he)}},st=function(Z){var q=document.createElement(Z);q.className=Ct(this.classes);for(var ie in this.style)this.style.hasOwnProperty(ie)&&(q.style[ie]=this.style[ie]);for(var he in this.attributes)this.attributes.hasOwnProperty(he)&&q.setAttribute(he,this.attributes[he]);for(var Ie=0;Ie<this.children.length;Ie++)q.appendChild(this.children[Ie].toNode());return q},xt=function(Z){var q="<"+Z;this.classes.length&&(q+=' class="'+T.escape(Ct(this.classes))+'"');var ie="";for(var he in this.style)this.style.hasOwnProperty(he)&&(ie+=T.hyphenate(he)+":"+this.style[he]+";");ie&&(q+=' style="'+T.escape(ie)+'"');for(var Ie in this.attributes)this.attributes.hasOwnProperty(Ie)&&(q+=" "+Ie+'="'+T.escape(this.attributes[Ie])+'"');q+=">";for(var Ye=0;Ye<this.children.length;Ye++)q+=this.children[Ye].toMarkup();return q+="</"+Z+">",q},ht=function(){function We(q,ie,he,Ie){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ut.call(this,q,he,Ie),this.children=ie||[]}var Z=We.prototype;return Z.setAttribute=function(ie,he){this.attributes[ie]=he},Z.hasClass=function(ie){return T.contains(this.classes,ie)},Z.toNode=function(){return st.call(this,"span")},Z.toMarkup=function(){return xt.call(this,"span")},We}(),rt=function(){function We(q,ie,he,Ie){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ut.call(this,ie,Ie),this.children=he||[],this.setAttribute("href",q)}var Z=We.prototype;return Z.setAttribute=function(ie,he){this.attributes[ie]=he},Z.hasClass=function(ie){return T.contains(this.classes,ie)},Z.toNode=function(){return st.call(this,"a")},Z.toMarkup=function(){return xt.call(this,"a")},We}(),Ue=function(){function We(q,ie,he){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=ie,this.src=q,this.classes=["mord"],this.style=he}var Z=We.prototype;return Z.hasClass=function(ie){return T.contains(this.classes,ie)},Z.toNode=function(){var ie=document.createElement("img");ie.src=this.src,ie.alt=this.alt,ie.className="mord";for(var he in this.style)this.style.hasOwnProperty(he)&&(ie.style[he]=this.style[he]);return ie},Z.toMarkup=function(){var ie="<img src='"+this.src+" 'alt='"+this.alt+"' ",he="";for(var Ie in this.style)this.style.hasOwnProperty(Ie)&&(he+=T.hyphenate(Ie)+":"+this.style[Ie]+";");return he&&(ie+=' style="'+T.escape(he)+'"'),ie+="'/>",ie},We}(),ye={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ce=function(){function We(q,ie,he,Ie,Ye,Tt,jt,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=q,this.height=ie||0,this.depth=he||0,this.italic=Ie||0,this.skew=Ye||0,this.width=Tt||0,this.classes=jt||[],this.style=nr||{},this.maxFontSize=0;var Pt=se(this.text.charCodeAt(0));Pt&&this.classes.push(Pt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ye[this.text])}var Z=We.prototype;return Z.hasClass=function(ie){return T.contains(this.classes,ie)},Z.toNode=function(){var ie=document.createTextNode(this.text),he=null;this.italic>0&&(he=document.createElement("span"),he.style.marginRight=this.italic+"em"),this.classes.length>0&&(he=he||document.createElement("span"),he.className=Ct(this.classes));for(var Ie in this.style)this.style.hasOwnProperty(Ie)&&(he=he||document.createElement("span"),he.style[Ie]=this.style[Ie]);return he?(he.appendChild(ie),he):ie},Z.toMarkup=function(){var ie=!1,he="<span";this.classes.length&&(ie=!0,he+=' class="',he+=T.escape(Ct(this.classes)),he+='"');var Ie="";this.italic>0&&(Ie+="margin-right:"+this.italic+"em;");for(var Ye in this.style)this.style.hasOwnProperty(Ye)&&(Ie+=T.hyphenate(Ye)+":"+this.style[Ye]+";");Ie&&(ie=!0,he+=' style="'+T.escape(Ie)+'"');var Tt=T.escape(this.text);return ie?(he+=">",he+=Tt,he+="</span>",he):Tt},We}(),Fe=function(){function We(q,ie){this.children=void 0,this.attributes=void 0,this.children=q||[],this.attributes=ie||{}}var Z=We.prototype;return Z.toNode=function(){var ie="http://www.w3.org/2000/svg",he=document.createElementNS(ie,"svg");for(var Ie in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ie)&&he.setAttribute(Ie,this.attributes[Ie]);for(var Ye=0;Ye<this.children.length;Ye++)he.appendChild(this.children[Ye].toNode());return he},Z.toMarkup=function(){var ie="<svg";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ie+=" "+he+"='"+this.attributes[he]+"'");ie+=">";for(var Ie=0;Ie<this.children.length;Ie++)ie+=this.children[Ie].toMarkup();return ie+="</svg>",ie},We}(),je=function(){function We(q,ie){this.pathName=void 0,this.alternate=void 0,this.pathName=q,this.alternate=ie}var Z=We.prototype;return Z.toNode=function(){var ie="http://www.w3.org/2000/svg",he=document.createElementNS(ie,"path");return this.alternate?he.setAttribute("d",this.alternate):he.setAttribute("d",lr[this.pathName]),he},Z.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+lr[this.pathName]+"'/>"},We}(),Ge=function(){function We(q){this.attributes=void 0,this.attributes=q||{}}var Z=We.prototype;return Z.toNode=function(){var ie="http://www.w3.org/2000/svg",he=document.createElementNS(ie,"line");for(var Ie in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ie)&&he.setAttribute(Ie,this.attributes[Ie]);return he},Z.toMarkup=function(){var ie="<line";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ie+=" "+he+"='"+this.attributes[he]+"'");return ie+="/>",ie},We}();function it(We){if(We instanceof Ce)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 Gt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Ht={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Pe={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function tt(We,Z){Gt[We]=Z}function Vt(We,Z,q){if(!Gt[Z])throw new Error("Font metrics not found for font: "+Z+".");var ie=We.charCodeAt(0),he=Gt[Z][ie];if(!he&&We[0]in Pe&&(ie=Pe[We[0]].charCodeAt(0),he=Gt[Z][ie]),!he&&q==="text"&&Oe(ie)&&(he=Gt[Z][77]),he)return{depth:he[0],height:he[1],italic:he[2],skew:he[3],width:he[4]}}var kt={};function Zt(We){var Z;if(We>=5?Z=0:We>=3?Z=1:Z=2,!kt[Z]){var q=kt[Z]={cssEmPerMu:Ht.quad[Z]/18};for(var ie in Ht)Ht.hasOwnProperty(ie)&&(q[ie]=Ht[ie][Z])}return kt[Z]}var Nt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},At={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},qt={math:{},text:{}},Ke=qt;function fe(We,Z,q,ie,he,Ie){qt[We][he]={font:Z,group:q,replace:ie},Ie&&ie&&(qt[We][ie]=qt[We][he])}var pe="math",Dt="text",De="main",ft="ams",zt="accent-token",Et="bin",Re="close",wt="inner",xe="mathord",qe="op-token",vt="open",Ft="punct",Be="rel",Pr="spacing",St="textord";fe(pe,De,Be,"\u2261","\\equiv",!0),fe(pe,De,Be,"\u227A","\\prec",!0),fe(pe,De,Be,"\u227B","\\succ",!0),fe(pe,De,Be,"\u223C","\\sim",!0),fe(pe,De,Be,"\u22A5","\\perp"),fe(pe,De,Be,"\u2AAF","\\preceq",!0),fe(pe,De,Be,"\u2AB0","\\succeq",!0),fe(pe,De,Be,"\u2243","\\simeq",!0),fe(pe,De,Be,"\u2223","\\mid",!0),fe(pe,De,Be,"\u226A","\\ll",!0),fe(pe,De,Be,"\u226B","\\gg",!0),fe(pe,De,Be,"\u224D","\\asymp",!0),fe(pe,De,Be,"\u2225","\\parallel"),fe(pe,De,Be,"\u22C8","\\bowtie",!0),fe(pe,De,Be,"\u2323","\\smile",!0),fe(pe,De,Be,"\u2291","\\sqsubseteq",!0),fe(pe,De,Be,"\u2292","\\sqsupseteq",!0),fe(pe,De,Be,"\u2250","\\doteq",!0),fe(pe,De,Be,"\u2322","\\frown",!0),fe(pe,De,Be,"\u220B","\\ni",!0),fe(pe,De,Be,"\u221D","\\propto",!0),fe(pe,De,Be,"\u22A2","\\vdash",!0),fe(pe,De,Be,"\u22A3","\\dashv",!0),fe(pe,De,Be,"\u220B","\\owns"),fe(pe,De,Ft,".","\\ldotp"),fe(pe,De,Ft,"\u22C5","\\cdotp"),fe(pe,De,St,"#","\\#"),fe(Dt,De,St,"#","\\#"),fe(pe,De,St,"&","\\&"),fe(Dt,De,St,"&","\\&"),fe(pe,De,St,"\u2135","\\aleph",!0),fe(pe,De,St,"\u2200","\\forall",!0),fe(pe,De,St,"\u210F","\\hbar",!0),fe(pe,De,St,"\u2203","\\exists",!0),fe(pe,De,St,"\u2207","\\nabla",!0),fe(pe,De,St,"\u266D","\\flat",!0),fe(pe,De,St,"\u2113","\\ell",!0),fe(pe,De,St,"\u266E","\\natural",!0),fe(pe,De,St,"\u2663","\\clubsuit",!0),fe(pe,De,St,"\u2118","\\wp",!0),fe(pe,De,St,"\u266F","\\sharp",!0),fe(pe,De,St,"\u2662","\\diamondsuit",!0),fe(pe,De,St,"\u211C","\\Re",!0),fe(pe,De,St,"\u2661","\\heartsuit",!0),fe(pe,De,St,"\u2111","\\Im",!0),fe(pe,De,St,"\u2660","\\spadesuit",!0),fe(Dt,De,St,"\xA7","\\S",!0),fe(Dt,De,St,"\xB6","\\P",!0),fe(pe,De,St,"\u2020","\\dag"),fe(Dt,De,St,"\u2020","\\dag"),fe(Dt,De,St,"\u2020","\\textdagger"),fe(pe,De,St,"\u2021","\\ddag"),fe(Dt,De,St,"\u2021","\\ddag"),fe(Dt,De,St,"\u2021","\\textdaggerdbl"),fe(pe,De,Re,"\u23B1","\\rmoustache",!0),fe(pe,De,vt,"\u23B0","\\lmoustache",!0),fe(pe,De,Re,"\u27EF","\\rgroup",!0),fe(pe,De,vt,"\u27EE","\\lgroup",!0),fe(pe,De,Et,"\u2213","\\mp",!0),fe(pe,De,Et,"\u2296","\\ominus",!0),fe(pe,De,Et,"\u228E","\\uplus",!0),fe(pe,De,Et,"\u2293","\\sqcap",!0),fe(pe,De,Et,"\u2217","\\ast"),fe(pe,De,Et,"\u2294","\\sqcup",!0),fe(pe,De,Et,"\u25EF","\\bigcirc"),fe(pe,De,Et,"\u2219","\\bullet"),fe(pe,De,Et,"\u2021","\\ddagger"),fe(pe,De,Et,"\u2240","\\wr",!0),fe(pe,De,Et,"\u2A3F","\\amalg"),fe(pe,De,Et,"&","\\And"),fe(pe,De,Be,"\u27F5","\\longleftarrow",!0),fe(pe,De,Be,"\u21D0","\\Leftarrow",!0),fe(pe,De,Be,"\u27F8","\\Longleftarrow",!0),fe(pe,De,Be,"\u27F6","\\longrightarrow",!0),fe(pe,De,Be,"\u21D2","\\Rightarrow",!0),fe(pe,De,Be,"\u27F9","\\Longrightarrow",!0),fe(pe,De,Be,"\u2194","\\leftrightarrow",!0),fe(pe,De,Be,"\u27F7","\\longleftrightarrow",!0),fe(pe,De,Be,"\u21D4","\\Leftrightarrow",!0),fe(pe,De,Be,"\u27FA","\\Longleftrightarrow",!0),fe(pe,De,Be,"\u21A6","\\mapsto",!0),fe(pe,De,Be,"\u27FC","\\longmapsto",!0),fe(pe,De,Be,"\u2197","\\nearrow",!0),fe(pe,De,Be,"\u21A9","\\hookleftarrow",!0),fe(pe,De,Be,"\u21AA","\\hookrightarrow",!0),fe(pe,De,Be,"\u2198","\\searrow",!0),fe(pe,De,Be,"\u21BC","\\leftharpoonup",!0),fe(pe,De,Be,"\u21C0","\\rightharpoonup",!0),fe(pe,De,Be,"\u2199","\\swarrow",!0),fe(pe,De,Be,"\u21BD","\\leftharpoondown",!0),fe(pe,De,Be,"\u21C1","\\rightharpoondown",!0),fe(pe,De,Be,"\u2196","\\nwarrow",!0),fe(pe,De,Be,"\u21CC","\\rightleftharpoons",!0),fe(pe,ft,Be,"\u226E","\\nless",!0),fe(pe,ft,Be,"\uE010","\\@nleqslant"),fe(pe,ft,Be,"\uE011","\\@nleqq"),fe(pe,ft,Be,"\u2A87","\\lneq",!0),fe(pe,ft,Be,"\u2268","\\lneqq",!0),fe(pe,ft,Be,"\uE00C","\\@lvertneqq"),fe(pe,ft,Be,"\u22E6","\\lnsim",!0),fe(pe,ft,Be,"\u2A89","\\lnapprox",!0),fe(pe,ft,Be,"\u2280","\\nprec",!0),fe(pe,ft,Be,"\u22E0","\\npreceq",!0),fe(pe,ft,Be,"\u22E8","\\precnsim",!0),fe(pe,ft,Be,"\u2AB9","\\precnapprox",!0),fe(pe,ft,Be,"\u2241","\\nsim",!0),fe(pe,ft,Be,"\uE006","\\@nshortmid"),fe(pe,ft,Be,"\u2224","\\nmid",!0),fe(pe,ft,Be,"\u22AC","\\nvdash",!0),fe(pe,ft,Be,"\u22AD","\\nvDash",!0),fe(pe,ft,Be,"\u22EA","\\ntriangleleft"),fe(pe,ft,Be,"\u22EC","\\ntrianglelefteq",!0),fe(pe,ft,Be,"\u228A","\\subsetneq",!0),fe(pe,ft,Be,"\uE01A","\\@varsubsetneq"),fe(pe,ft,Be,"\u2ACB","\\subsetneqq",!0),fe(pe,ft,Be,"\uE017","\\@varsubsetneqq"),fe(pe,ft,Be,"\u226F","\\ngtr",!0),fe(pe,ft,Be,"\uE00F","\\@ngeqslant"),fe(pe,ft,Be,"\uE00E","\\@ngeqq"),fe(pe,ft,Be,"\u2A88","\\gneq",!0),fe(pe,ft,Be,"\u2269","\\gneqq",!0),fe(pe,ft,Be,"\uE00D","\\@gvertneqq"),fe(pe,ft,Be,"\u22E7","\\gnsim",!0),fe(pe,ft,Be,"\u2A8A","\\gnapprox",!0),fe(pe,ft,Be,"\u2281","\\nsucc",!0),fe(pe,ft,Be,"\u22E1","\\nsucceq",!0),fe(pe,ft,Be,"\u22E9","\\succnsim",!0),fe(pe,ft,Be,"\u2ABA","\\succnapprox",!0),fe(pe,ft,Be,"\u2246","\\ncong",!0),fe(pe,ft,Be,"\uE007","\\@nshortparallel"),fe(pe,ft,Be,"\u2226","\\nparallel",!0),fe(pe,ft,Be,"\u22AF","\\nVDash",!0),fe(pe,ft,Be,"\u22EB","\\ntriangleright"),fe(pe,ft,Be,"\u22ED","\\ntrianglerighteq",!0),fe(pe,ft,Be,"\uE018","\\@nsupseteqq"),fe(pe,ft,Be,"\u228B","\\supsetneq",!0),fe(pe,ft,Be,"\uE01B","\\@varsupsetneq"),fe(pe,ft,Be,"\u2ACC","\\supsetneqq",!0),fe(pe,ft,Be,"\uE019","\\@varsupsetneqq"),fe(pe,ft,Be,"\u22AE","\\nVdash",!0),fe(pe,ft,Be,"\u2AB5","\\precneqq",!0),fe(pe,ft,Be,"\u2AB6","\\succneqq",!0),fe(pe,ft,Be,"\uE016","\\@nsubseteqq"),fe(pe,ft,Et,"\u22B4","\\unlhd"),fe(pe,ft,Et,"\u22B5","\\unrhd"),fe(pe,ft,Be,"\u219A","\\nleftarrow",!0),fe(pe,ft,Be,"\u219B","\\nrightarrow",!0),fe(pe,ft,Be,"\u21CD","\\nLeftarrow",!0),fe(pe,ft,Be,"\u21CF","\\nRightarrow",!0),fe(pe,ft,Be,"\u21AE","\\nleftrightarrow",!0),fe(pe,ft,Be,"\u21CE","\\nLeftrightarrow",!0),fe(pe,ft,Be,"\u25B3","\\vartriangle"),fe(pe,ft,St,"\u210F","\\hslash"),fe(pe,ft,St,"\u25BD","\\triangledown"),fe(pe,ft,St,"\u25CA","\\lozenge"),fe(pe,ft,St,"\u24C8","\\circledS"),fe(pe,ft,St,"\xAE","\\circledR"),fe(Dt,ft,St,"\xAE","\\circledR"),fe(pe,ft,St,"\u2221","\\measuredangle",!0),fe(pe,ft,St,"\u2204","\\nexists"),fe(pe,ft,St,"\u2127","\\mho"),fe(pe,ft,St,"\u2132","\\Finv",!0),fe(pe,ft,St,"\u2141","\\Game",!0),fe(pe,ft,St,"\u2035","\\backprime"),fe(pe,ft,St,"\u25B2","\\blacktriangle"),fe(pe,ft,St,"\u25BC","\\blacktriangledown"),fe(pe,ft,St,"\u25A0","\\blacksquare"),fe(pe,ft,St,"\u29EB","\\blacklozenge"),fe(pe,ft,St,"\u2605","\\bigstar"),fe(pe,ft,St,"\u2222","\\sphericalangle",!0),fe(pe,ft,St,"\u2201","\\complement",!0),fe(pe,ft,St,"\xF0","\\eth",!0),fe(pe,ft,St,"\u2571","\\diagup"),fe(pe,ft,St,"\u2572","\\diagdown"),fe(pe,ft,St,"\u25A1","\\square"),fe(pe,ft,St,"\u25A1","\\Box"),fe(pe,ft,St,"\u25CA","\\Diamond"),fe(pe,ft,St,"\xA5","\\yen",!0),fe(Dt,ft,St,"\xA5","\\yen",!0),fe(pe,ft,St,"\u2713","\\checkmark",!0),fe(Dt,ft,St,"\u2713","\\checkmark"),fe(pe,ft,St,"\u2136","\\beth",!0),fe(pe,ft,St,"\u2138","\\daleth",!0),fe(pe,ft,St,"\u2137","\\gimel",!0),fe(pe,ft,St,"\u03DD","\\digamma",!0),fe(pe,ft,St,"\u03F0","\\varkappa"),fe(pe,ft,vt,"\u250C","\\ulcorner",!0),fe(pe,ft,Re,"\u2510","\\urcorner",!0),fe(pe,ft,vt,"\u2514","\\llcorner",!0),fe(pe,ft,Re,"\u2518","\\lrcorner",!0),fe(pe,ft,Be,"\u2266","\\leqq",!0),fe(pe,ft,Be,"\u2A7D","\\leqslant",!0),fe(pe,ft,Be,"\u2A95","\\eqslantless",!0),fe(pe,ft,Be,"\u2272","\\lesssim",!0),fe(pe,ft,Be,"\u2A85","\\lessapprox",!0),fe(pe,ft,Be,"\u224A","\\approxeq",!0),fe(pe,ft,Et,"\u22D6","\\lessdot"),fe(pe,ft,Be,"\u22D8","\\lll",!0),fe(pe,ft,Be,"\u2276","\\lessgtr",!0),fe(pe,ft,Be,"\u22DA","\\lesseqgtr",!0),fe(pe,ft,Be,"\u2A8B","\\lesseqqgtr",!0),fe(pe,ft,Be,"\u2251","\\doteqdot"),fe(pe,ft,Be,"\u2253","\\risingdotseq",!0),fe(pe,ft,Be,"\u2252","\\fallingdotseq",!0),fe(pe,ft,Be,"\u223D","\\backsim",!0),fe(pe,ft,Be,"\u22CD","\\backsimeq",!0),fe(pe,ft,Be,"\u2AC5","\\subseteqq",!0),fe(pe,ft,Be,"\u22D0","\\Subset",!0),fe(pe,ft,Be,"\u228F","\\sqsubset",!0),fe(pe,ft,Be,"\u227C","\\preccurlyeq",!0),fe(pe,ft,Be,"\u22DE","\\curlyeqprec",!0),fe(pe,ft,Be,"\u227E","\\precsim",!0),fe(pe,ft,Be,"\u2AB7","\\precapprox",!0),fe(pe,ft,Be,"\u22B2","\\vartriangleleft"),fe(pe,ft,Be,"\u22B4","\\trianglelefteq"),fe(pe,ft,Be,"\u22A8","\\vDash",!0),fe(pe,ft,Be,"\u22AA","\\Vvdash",!0),fe(pe,ft,Be,"\u2323","\\smallsmile"),fe(pe,ft,Be,"\u2322","\\smallfrown"),fe(pe,ft,Be,"\u224F","\\bumpeq",!0),fe(pe,ft,Be,"\u224E","\\Bumpeq",!0),fe(pe,ft,Be,"\u2267","\\geqq",!0),fe(pe,ft,Be,"\u2A7E","\\geqslant",!0),fe(pe,ft,Be,"\u2A96","\\eqslantgtr",!0),fe(pe,ft,Be,"\u2273","\\gtrsim",!0),fe(pe,ft,Be,"\u2A86","\\gtrapprox",!0),fe(pe,ft,Et,"\u22D7","\\gtrdot"),fe(pe,ft,Be,"\u22D9","\\ggg",!0),fe(pe,ft,Be,"\u2277","\\gtrless",!0),fe(pe,ft,Be,"\u22DB","\\gtreqless",!0),fe(pe,ft,Be,"\u2A8C","\\gtreqqless",!0),fe(pe,ft,Be,"\u2256","\\eqcirc",!0),fe(pe,ft,Be,"\u2257","\\circeq",!0),fe(pe,ft,Be,"\u225C","\\triangleq",!0),fe(pe,ft,Be,"\u223C","\\thicksim"),fe(pe,ft,Be,"\u2248","\\thickapprox"),fe(pe,ft,Be,"\u2AC6","\\supseteqq",!0),fe(pe,ft,Be,"\u22D1","\\Supset",!0),fe(pe,ft,Be,"\u2290","\\sqsupset",!0),fe(pe,ft,Be,"\u227D","\\succcurlyeq",!0),fe(pe,ft,Be,"\u22DF","\\curlyeqsucc",!0),fe(pe,ft,Be,"\u227F","\\succsim",!0),fe(pe,ft,Be,"\u2AB8","\\succapprox",!0),fe(pe,ft,Be,"\u22B3","\\vartriangleright"),fe(pe,ft,Be,"\u22B5","\\trianglerighteq"),fe(pe,ft,Be,"\u22A9","\\Vdash",!0),fe(pe,ft,Be,"\u2223","\\shortmid"),fe(pe,ft,Be,"\u2225","\\shortparallel"),fe(pe,ft,Be,"\u226C","\\between",!0),fe(pe,ft,Be,"\u22D4","\\pitchfork",!0),fe(pe,ft,Be,"\u221D","\\varpropto"),fe(pe,ft,Be,"\u25C0","\\blacktriangleleft"),fe(pe,ft,Be,"\u2234","\\therefore",!0),fe(pe,ft,Be,"\u220D","\\backepsilon"),fe(pe,ft,Be,"\u25B6","\\blacktriangleright"),fe(pe,ft,Be,"\u2235","\\because",!0),fe(pe,ft,Be,"\u22D8","\\llless"),fe(pe,ft,Be,"\u22D9","\\gggtr"),fe(pe,ft,Et,"\u22B2","\\lhd"),fe(pe,ft,Et,"\u22B3","\\rhd"),fe(pe,ft,Be,"\u2242","\\eqsim",!0),fe(pe,De,Be,"\u22C8","\\Join"),fe(pe,ft,Be,"\u2251","\\Doteq",!0),fe(pe,ft,Et,"\u2214","\\dotplus",!0),fe(pe,ft,Et,"\u2216","\\smallsetminus"),fe(pe,ft,Et,"\u22D2","\\Cap",!0),fe(pe,ft,Et,"\u22D3","\\Cup",!0),fe(pe,ft,Et,"\u2A5E","\\doublebarwedge",!0),fe(pe,ft,Et,"\u229F","\\boxminus",!0),fe(pe,ft,Et,"\u229E","\\boxplus",!0),fe(pe,ft,Et,"\u22C7","\\divideontimes",!0),fe(pe,ft,Et,"\u22C9","\\ltimes",!0),fe(pe,ft,Et,"\u22CA","\\rtimes",!0),fe(pe,ft,Et,"\u22CB","\\leftthreetimes",!0),fe(pe,ft,Et,"\u22CC","\\rightthreetimes",!0),fe(pe,ft,Et,"\u22CF","\\curlywedge",!0),fe(pe,ft,Et,"\u22CE","\\curlyvee",!0),fe(pe,ft,Et,"\u229D","\\circleddash",!0),fe(pe,ft,Et,"\u229B","\\circledast",!0),fe(pe,ft,Et,"\u22C5","\\centerdot"),fe(pe,ft,Et,"\u22BA","\\intercal",!0),fe(pe,ft,Et,"\u22D2","\\doublecap"),fe(pe,ft,Et,"\u22D3","\\doublecup"),fe(pe,ft,Et,"\u22A0","\\boxtimes",!0),fe(pe,ft,Be,"\u21E2","\\dashrightarrow",!0),fe(pe,ft,Be,"\u21E0","\\dashleftarrow",!0),fe(pe,ft,Be,"\u21C7","\\leftleftarrows",!0),fe(pe,ft,Be,"\u21C6","\\leftrightarrows",!0),fe(pe,ft,Be,"\u21DA","\\Lleftarrow",!0),fe(pe,ft,Be,"\u219E","\\twoheadleftarrow",!0),fe(pe,ft,Be,"\u21A2","\\leftarrowtail",!0),fe(pe,ft,Be,"\u21AB","\\looparrowleft",!0),fe(pe,ft,Be,"\u21CB","\\leftrightharpoons",!0),fe(pe,ft,Be,"\u21B6","\\curvearrowleft",!0),fe(pe,ft,Be,"\u21BA","\\circlearrowleft",!0),fe(pe,ft,Be,"\u21B0","\\Lsh",!0),fe(pe,ft,Be,"\u21C8","\\upuparrows",!0),fe(pe,ft,Be,"\u21BF","\\upharpoonleft",!0),fe(pe,ft,Be,"\u21C3","\\downharpoonleft",!0),fe(pe,ft,Be,"\u22B8","\\multimap",!0),fe(pe,ft,Be,"\u21AD","\\leftrightsquigarrow",!0),fe(pe,ft,Be,"\u21C9","\\rightrightarrows",!0),fe(pe,ft,Be,"\u21C4","\\rightleftarrows",!0),fe(pe,ft,Be,"\u21A0","\\twoheadrightarrow",!0),fe(pe,ft,Be,"\u21A3","\\rightarrowtail",!0),fe(pe,ft,Be,"\u21AC","\\looparrowright",!0),fe(pe,ft,Be,"\u21B7","\\curvearrowright",!0),fe(pe,ft,Be,"\u21BB","\\circlearrowright",!0),fe(pe,ft,Be,"\u21B1","\\Rsh",!0),fe(pe,ft,Be,"\u21CA","\\downdownarrows",!0),fe(pe,ft,Be,"\u21BE","\\upharpoonright",!0),fe(pe,ft,Be,"\u21C2","\\downharpoonright",!0),fe(pe,ft,Be,"\u21DD","\\rightsquigarrow",!0),fe(pe,ft,Be,"\u21DD","\\leadsto"),fe(pe,ft,Be,"\u21DB","\\Rrightarrow",!0),fe(pe,ft,Be,"\u21BE","\\restriction"),fe(pe,De,St,"\u2018","`"),fe(pe,De,St,"$","\\$"),fe(Dt,De,St,"$","\\$"),fe(Dt,De,St,"$","\\textdollar"),fe(pe,De,St,"%","\\%"),fe(Dt,De,St,"%","\\%"),fe(pe,De,St,"_","\\_"),fe(Dt,De,St,"_","\\_"),fe(Dt,De,St,"_","\\textunderscore"),fe(pe,De,St,"\u2220","\\angle",!0),fe(pe,De,St,"\u221E","\\infty",!0),fe(pe,De,St,"\u2032","\\prime"),fe(pe,De,St,"\u25B3","\\triangle"),fe(pe,De,St,"\u0393","\\Gamma",!0),fe(pe,De,St,"\u0394","\\Delta",!0),fe(pe,De,St,"\u0398","\\Theta",!0),fe(pe,De,St,"\u039B","\\Lambda",!0),fe(pe,De,St,"\u039E","\\Xi",!0),fe(pe,De,St,"\u03A0","\\Pi",!0),fe(pe,De,St,"\u03A3","\\Sigma",!0),fe(pe,De,St,"\u03A5","\\Upsilon",!0),fe(pe,De,St,"\u03A6","\\Phi",!0),fe(pe,De,St,"\u03A8","\\Psi",!0),fe(pe,De,St,"\u03A9","\\Omega",!0),fe(pe,De,St,"A","\u0391"),fe(pe,De,St,"B","\u0392"),fe(pe,De,St,"E","\u0395"),fe(pe,De,St,"Z","\u0396"),fe(pe,De,St,"H","\u0397"),fe(pe,De,St,"I","\u0399"),fe(pe,De,St,"K","\u039A"),fe(pe,De,St,"M","\u039C"),fe(pe,De,St,"N","\u039D"),fe(pe,De,St,"O","\u039F"),fe(pe,De,St,"P","\u03A1"),fe(pe,De,St,"T","\u03A4"),fe(pe,De,St,"X","\u03A7"),fe(pe,De,St,"\xAC","\\neg",!0),fe(pe,De,St,"\xAC","\\lnot"),fe(pe,De,St,"\u22A4","\\top"),fe(pe,De,St,"\u22A5","\\bot"),fe(pe,De,St,"\u2205","\\emptyset"),fe(pe,ft,St,"\u2205","\\varnothing"),fe(pe,De,xe,"\u03B1","\\alpha",!0),fe(pe,De,xe,"\u03B2","\\beta",!0),fe(pe,De,xe,"\u03B3","\\gamma",!0),fe(pe,De,xe,"\u03B4","\\delta",!0),fe(pe,De,xe,"\u03F5","\\epsilon",!0),fe(pe,De,xe,"\u03B6","\\zeta",!0),fe(pe,De,xe,"\u03B7","\\eta",!0),fe(pe,De,xe,"\u03B8","\\theta",!0),fe(pe,De,xe,"\u03B9","\\iota",!0),fe(pe,De,xe,"\u03BA","\\kappa",!0),fe(pe,De,xe,"\u03BB","\\lambda",!0),fe(pe,De,xe,"\u03BC","\\mu",!0),fe(pe,De,xe,"\u03BD","\\nu",!0),fe(pe,De,xe,"\u03BE","\\xi",!0),fe(pe,De,xe,"\u03BF","\\omicron",!0),fe(pe,De,xe,"\u03C0","\\pi",!0),fe(pe,De,xe,"\u03C1","\\rho",!0),fe(pe,De,xe,"\u03C3","\\sigma",!0),fe(pe,De,xe,"\u03C4","\\tau",!0),fe(pe,De,xe,"\u03C5","\\upsilon",!0),fe(pe,De,xe,"\u03D5","\\phi",!0),fe(pe,De,xe,"\u03C7","\\chi",!0),fe(pe,De,xe,"\u03C8","\\psi",!0),fe(pe,De,xe,"\u03C9","\\omega",!0),fe(pe,De,xe,"\u03B5","\\varepsilon",!0),fe(pe,De,xe,"\u03D1","\\vartheta",!0),fe(pe,De,xe,"\u03D6","\\varpi",!0),fe(pe,De,xe,"\u03F1","\\varrho",!0),fe(pe,De,xe,"\u03C2","\\varsigma",!0),fe(pe,De,xe,"\u03C6","\\varphi",!0),fe(pe,De,Et,"\u2217","*"),fe(pe,De,Et,"+","+"),fe(pe,De,Et,"\u2212","-"),fe(pe,De,Et,"\u22C5","\\cdot",!0),fe(pe,De,Et,"\u2218","\\circ"),fe(pe,De,Et,"\xF7","\\div",!0),fe(pe,De,Et,"\xB1","\\pm",!0),fe(pe,De,Et,"\xD7","\\times",!0),fe(pe,De,Et,"\u2229","\\cap",!0),fe(pe,De,Et,"\u222A","\\cup",!0),fe(pe,De,Et,"\u2216","\\setminus"),fe(pe,De,Et,"\u2227","\\land"),fe(pe,De,Et,"\u2228","\\lor"),fe(pe,De,Et,"\u2227","\\wedge",!0),fe(pe,De,Et,"\u2228","\\vee",!0),fe(pe,De,St,"\u221A","\\surd"),fe(pe,De,vt,"(","("),fe(pe,De,vt,"[","["),fe(pe,De,vt,"\u27E8","\\langle",!0),fe(pe,De,vt,"\u2223","\\lvert"),fe(pe,De,vt,"\u2225","\\lVert"),fe(pe,De,Re,")",")"),fe(pe,De,Re,"]","]"),fe(pe,De,Re,"?","?"),fe(pe,De,Re,"!","!"),fe(pe,De,Re,"\u27E9","\\rangle",!0),fe(pe,De,Re,"\u2223","\\rvert"),fe(pe,De,Re,"\u2225","\\rVert"),fe(pe,De,Be,"=","="),fe(pe,De,Be,"<","<"),fe(pe,De,Be,">",">"),fe(pe,De,Be,":",":"),fe(pe,De,Be,"\u2248","\\approx",!0),fe(pe,De,Be,"\u2245","\\cong",!0),fe(pe,De,Be,"\u2265","\\ge"),fe(pe,De,Be,"\u2265","\\geq",!0),fe(pe,De,Be,"\u2190","\\gets"),fe(pe,De,Be,">","\\gt"),fe(pe,De,Be,"\u2208","\\in",!0),fe(pe,De,Be,"\uE020","\\@not"),fe(pe,De,Be,"\u2282","\\subset",!0),fe(pe,De,Be,"\u2283","\\supset",!0),fe(pe,De,Be,"\u2286","\\subseteq",!0),fe(pe,De,Be,"\u2287","\\supseteq",!0),fe(pe,ft,Be,"\u2288","\\nsubseteq",!0),fe(pe,ft,Be,"\u2289","\\nsupseteq",!0),fe(pe,De,Be,"\u22A8","\\models"),fe(pe,De,Be,"\u2190","\\leftarrow",!0),fe(pe,De,Be,"\u2264","\\le"),fe(pe,De,Be,"\u2264","\\leq",!0),fe(pe,De,Be,"<","\\lt"),fe(pe,De,Be,"\u2192","\\rightarrow",!0),fe(pe,De,Be,"\u2192","\\to"),fe(pe,ft,Be,"\u2271","\\ngeq",!0),fe(pe,ft,Be,"\u2270","\\nleq",!0),fe(pe,De,Pr,"\xA0","\\ "),fe(pe,De,Pr,"\xA0","~"),fe(pe,De,Pr,"\xA0","\\space"),fe(pe,De,Pr,"\xA0","\\nobreakspace"),fe(Dt,De,Pr,"\xA0","\\ "),fe(Dt,De,Pr,"\xA0","~"),fe(Dt,De,Pr,"\xA0","\\space"),fe(Dt,De,Pr,"\xA0","\\nobreakspace"),fe(pe,De,Pr,null,"\\nobreak"),fe(pe,De,Pr,null,"\\allowbreak"),fe(pe,De,Ft,",",","),fe(pe,De,Ft,";",";"),fe(pe,ft,Et,"\u22BC","\\barwedge",!0),fe(pe,ft,Et,"\u22BB","\\veebar",!0),fe(pe,De,Et,"\u2299","\\odot",!0),fe(pe,De,Et,"\u2295","\\oplus",!0),fe(pe,De,Et,"\u2297","\\otimes",!0),fe(pe,De,St,"\u2202","\\partial",!0),fe(pe,De,Et,"\u2298","\\oslash",!0),fe(pe,ft,Et,"\u229A","\\circledcirc",!0),fe(pe,ft,Et,"\u22A1","\\boxdot",!0),fe(pe,De,Et,"\u25B3","\\bigtriangleup"),fe(pe,De,Et,"\u25BD","\\bigtriangledown"),fe(pe,De,Et,"\u2020","\\dagger"),fe(pe,De,Et,"\u22C4","\\diamond"),fe(pe,De,Et,"\u22C6","\\star"),fe(pe,De,Et,"\u25C3","\\triangleleft"),fe(pe,De,Et,"\u25B9","\\triangleright"),fe(pe,De,vt,"{","\\{"),fe(Dt,De,St,"{","\\{"),fe(Dt,De,St,"{","\\textbraceleft"),fe(pe,De,Re,"}","\\}"),fe(Dt,De,St,"}","\\}"),fe(Dt,De,St,"}","\\textbraceright"),fe(pe,De,vt,"{","\\lbrace"),fe(pe,De,Re,"}","\\rbrace"),fe(pe,De,vt,"[","\\lbrack"),fe(Dt,De,St,"[","\\lbrack"),fe(pe,De,Re,"]","\\rbrack"),fe(Dt,De,St,"]","\\rbrack"),fe(pe,De,vt,"(","\\lparen"),fe(pe,De,Re,")","\\rparen"),fe(Dt,De,St,"<","\\textless"),fe(Dt,De,St,">","\\textgreater"),fe(pe,De,vt,"\u230A","\\lfloor",!0),fe(pe,De,Re,"\u230B","\\rfloor",!0),fe(pe,De,vt,"\u2308","\\lceil",!0),fe(pe,De,Re,"\u2309","\\rceil",!0),fe(pe,De,St,"\\","\\backslash"),fe(pe,De,St,"\u2223","|"),fe(pe,De,St,"\u2223","\\vert"),fe(Dt,De,St,"|","\\textbar"),fe(pe,De,St,"\u2225","\\|"),fe(pe,De,St,"\u2225","\\Vert"),fe(Dt,De,St,"\u2225","\\textbardbl"),fe(Dt,De,St,"~","\\textasciitilde"),fe(Dt,De,St,"\\","\\textbackslash"),fe(Dt,De,St,"^","\\textasciicircum"),fe(pe,De,Be,"\u2191","\\uparrow",!0),fe(pe,De,Be,"\u21D1","\\Uparrow",!0),fe(pe,De,Be,"\u2193","\\downarrow",!0),fe(pe,De,Be,"\u21D3","\\Downarrow",!0),fe(pe,De,Be,"\u2195","\\updownarrow",!0),fe(pe,De,Be,"\u21D5","\\Updownarrow",!0),fe(pe,De,qe,"\u2210","\\coprod"),fe(pe,De,qe,"\u22C1","\\bigvee"),fe(pe,De,qe,"\u22C0","\\bigwedge"),fe(pe,De,qe,"\u2A04","\\biguplus"),fe(pe,De,qe,"\u22C2","\\bigcap"),fe(pe,De,qe,"\u22C3","\\bigcup"),fe(pe,De,qe,"\u222B","\\int"),fe(pe,De,qe,"\u222B","\\intop"),fe(pe,De,qe,"\u222C","\\iint"),fe(pe,De,qe,"\u222D","\\iiint"),fe(pe,De,qe,"\u220F","\\prod"),fe(pe,De,qe,"\u2211","\\sum"),fe(pe,De,qe,"\u2A02","\\bigotimes"),fe(pe,De,qe,"\u2A01","\\bigoplus"),fe(pe,De,qe,"\u2A00","\\bigodot"),fe(pe,De,qe,"\u222E","\\oint"),fe(pe,De,qe,"\u222F","\\oiint"),fe(pe,De,qe,"\u2230","\\oiiint"),fe(pe,De,qe,"\u2A06","\\bigsqcup"),fe(pe,De,qe,"\u222B","\\smallint"),fe(Dt,De,wt,"\u2026","\\textellipsis"),fe(pe,De,wt,"\u2026","\\mathellipsis"),fe(Dt,De,wt,"\u2026","\\ldots",!0),fe(pe,De,wt,"\u2026","\\ldots",!0),fe(pe,De,wt,"\u22EF","\\@cdots",!0),fe(pe,De,wt,"\u22F1","\\ddots",!0),fe(pe,De,St,"\u22EE","\\varvdots"),fe(pe,De,zt,"\u02CA","\\acute"),fe(pe,De,zt,"\u02CB","\\grave"),fe(pe,De,zt,"\xA8","\\ddot"),fe(pe,De,zt,"~","\\tilde"),fe(pe,De,zt,"\u02C9","\\bar"),fe(pe,De,zt,"\u02D8","\\breve"),fe(pe,De,zt,"\u02C7","\\check"),fe(pe,De,zt,"^","\\hat"),fe(pe,De,zt,"\u20D7","\\vec"),fe(pe,De,zt,"\u02D9","\\dot"),fe(pe,De,zt,"\u02DA","\\mathring"),fe(pe,De,xe,"\u0131","\\imath",!0),fe(pe,De,xe,"\u0237","\\jmath",!0),fe(Dt,De,St,"\u0131","\\i",!0),fe(Dt,De,St,"\u0237","\\j",!0),fe(Dt,De,St,"\xDF","\\ss",!0),fe(Dt,De,St,"\xE6","\\ae",!0),fe(Dt,De,St,"\xE6","\\ae",!0),fe(Dt,De,St,"\u0153","\\oe",!0),fe(Dt,De,St,"\xF8","\\o",!0),fe(Dt,De,St,"\xC6","\\AE",!0),fe(Dt,De,St,"\u0152","\\OE",!0),fe(Dt,De,St,"\xD8","\\O",!0),fe(Dt,De,zt,"\u02CA","\\'"),fe(Dt,De,zt,"\u02CB","\\`"),fe(Dt,De,zt,"\u02C6","\\^"),fe(Dt,De,zt,"\u02DC","\\~"),fe(Dt,De,zt,"\u02C9","\\="),fe(Dt,De,zt,"\u02D8","\\u"),fe(Dt,De,zt,"\u02D9","\\."),fe(Dt,De,zt,"\u02DA","\\r"),fe(Dt,De,zt,"\u02C7","\\v"),fe(Dt,De,zt,"\xA8",'\\"'),fe(Dt,De,zt,"\u02DD","\\H"),fe(Dt,De,zt,"\u25EF","\\textcircled");var Zr={"--":!0,"---":!0,"``":!0,"''":!0};fe(Dt,De,St,"\u2013","--"),fe(Dt,De,St,"\u2013","\\textendash"),fe(Dt,De,St,"\u2014","---"),fe(Dt,De,St,"\u2014","\\textemdash"),fe(Dt,De,St,"\u2018","`"),fe(Dt,De,St,"\u2018","\\textquoteleft"),fe(Dt,De,St,"\u2019","'"),fe(Dt,De,St,"\u2019","\\textquoteright"),fe(Dt,De,St,"\u201C","``"),fe(Dt,De,St,"\u201C","\\textquotedblleft"),fe(Dt,De,St,"\u201D","''"),fe(Dt,De,St,"\u201D","\\textquotedblright"),fe(pe,De,St,"\xB0","\\degree",!0),fe(Dt,De,St,"\xB0","\\degree"),fe(Dt,De,St,"\xB0","\\textdegree",!0),fe(pe,De,xe,"\xA3","\\pounds"),fe(pe,De,xe,"\xA3","\\mathsterling",!0),fe(Dt,De,xe,"\xA3","\\pounds"),fe(Dt,De,xe,"\xA3","\\textsterling",!0),fe(pe,ft,St,"\u2720","\\maltese"),fe(Dt,ft,St,"\u2720","\\maltese"),fe(Dt,De,Pr,"\xA0","\\ "),fe(Dt,De,Pr,"\xA0"," "),fe(Dt,De,Pr,"\xA0","~");for(var Vr='0123456789/@."',xr=0;xr<Vr.length;xr++){var Br=Vr.charAt(xr);fe(pe,De,St,Br,Br)}for(var pr='0123456789!@*()-=+[]<>|";:?/.,',$r=0;$r<pr.length;$r++){var en=pr.charAt($r);fe(Dt,De,St,en,en)}for(var an="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",sr=0;sr<an.length;sr++){var Rt=an.charAt(sr);fe(pe,De,xe,Rt,Rt),fe(Dt,De,St,Rt,Rt)}fe(pe,ft,St,"C","\u2102"),fe(Dt,ft,St,"C","\u2102"),fe(pe,ft,St,"H","\u210D"),fe(Dt,ft,St,"H","\u210D"),fe(pe,ft,St,"N","\u2115"),fe(Dt,ft,St,"N","\u2115"),fe(pe,ft,St,"P","\u2119"),fe(Dt,ft,St,"P","\u2119"),fe(pe,ft,St,"Q","\u211A"),fe(Dt,ft,St,"Q","\u211A"),fe(pe,ft,St,"R","\u211D"),fe(Dt,ft,St,"R","\u211D"),fe(pe,ft,St,"Z","\u2124"),fe(Dt,ft,St,"Z","\u2124"),fe(pe,De,xe,"h","\u210E"),fe(Dt,De,xe,"h","\u210E");for(var mt="",gt=0;gt<an.length;gt++){var $t=an.charAt(gt);mt=String.fromCharCode(55349,56320+gt),fe(pe,De,xe,$t,mt),fe(Dt,De,St,$t,mt),mt=String.fromCharCode(55349,56372+gt),fe(pe,De,xe,$t,mt),fe(Dt,De,St,$t,mt),mt=String.fromCharCode(55349,56424+gt),fe(pe,De,xe,$t,mt),fe(Dt,De,St,$t,mt),mt=String.fromCharCode(55349,56580+gt),fe(pe,De,xe,$t,mt),fe(Dt,De,St,$t,mt),mt=String.fromCharCode(55349,56736+gt),fe(pe,De,xe,$t,mt),fe(Dt,De,St,$t,mt),mt=String.fromCharCode(55349,56788+gt),fe(pe,De,xe,$t,mt),fe(Dt,De,St,$t,mt),mt=String.fromCharCode(55349,56840+gt),fe(pe,De,xe,$t,mt),fe(Dt,De,St,$t,mt),mt=String.fromCharCode(55349,56944+gt),fe(pe,De,xe,$t,mt),fe(Dt,De,St,$t,mt),gt<26&&(mt=String.fromCharCode(55349,56632+gt),fe(pe,De,xe,$t,mt),fe(Dt,De,St,$t,mt),mt=String.fromCharCode(55349,56476+gt),fe(pe,De,xe,$t,mt),fe(Dt,De,St,$t,mt))}mt="\u{1D55C}",fe(pe,De,xe,"k",mt),fe(Dt,De,St,"k",mt);for(var Er=0;Er<10;Er++){var vr=Er.toString();mt=String.fromCharCode(55349,57294+Er),fe(pe,De,xe,vr,mt),fe(Dt,De,St,vr,mt),mt=String.fromCharCode(55349,57314+Er),fe(pe,De,xe,vr,mt),fe(Dt,De,St,vr,mt),mt=String.fromCharCode(55349,57324+Er),fe(pe,De,xe,vr,mt),fe(Dt,De,St,vr,mt),mt=String.fromCharCode(55349,57334+Er),fe(pe,De,xe,vr,mt),fe(Dt,De,St,vr,mt)}for(var ot="\xC7\xD0\xDE\xE7\xFE",Mr=0;Mr<ot.length;Mr++){var dn=ot.charAt(Mr);fe(pe,De,xe,dn,dn),fe(Dt,De,St,dn,dn)}fe(Dt,De,St,"\xF0","\xF0"),fe(Dt,De,St,"\u2013","\u2013"),fe(Dt,De,St,"\u2014","\u2014"),fe(Dt,De,St,"\u2018","\u2018"),fe(Dt,De,St,"\u2019","\u2019"),fe(Dt,De,St,"\u201C","\u201C"),fe(Dt,De,St,"\u201D","\u201D");var jn=[["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"]],_r=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],qr=function(Z,q){var ie=Z.charCodeAt(0),he=Z.charCodeAt(1),Ie=(ie-55296)*1024+(he-56320)+65536,Ye=q==="math"?0:1;if(119808<=Ie&&Ie<120484){var Tt=Math.floor((Ie-119808)/26);return[jn[Tt][2],jn[Tt][Ye]]}else if(120782<=Ie&&Ie<=120831){var jt=Math.floor((Ie-120782)/10);return[_r[jt][2],_r[jt][Ye]]}else{if(Ie===120485||Ie===120486)return[jn[0][2],jn[0][Ye]];if(120486<Ie&&Ie<120782)return["",""];throw new o("Unsupported character: "+Z)}},ln=[[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]],Ln=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Vn=function(Z,q){return q.size<2?Z:ln[Z-1][q.size-1]},Bn=function(){function We(q){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=q.style,this.color=q.color,this.size=q.size||We.BASESIZE,this.textSize=q.textSize||this.size,this.phantom=!!q.phantom,this.font=q.font||"",this.fontFamily=q.fontFamily||"",this.fontWeight=q.fontWeight||"",this.fontShape=q.fontShape||"",this.sizeMultiplier=Ln[this.size-1],this.maxSize=q.maxSize,this.minRuleThickness=q.minRuleThickness,this._fontMetrics=void 0}var Z=We.prototype;return Z.extend=function(ie){var he={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Ie in ie)ie.hasOwnProperty(Ie)&&(he[Ie]=ie[Ie]);return new We(he)},Z.havingStyle=function(ie){return this.style===ie?this:this.extend({style:ie,size:Vn(this.textSize,ie)})},Z.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},Z.havingSize=function(ie){return this.size===ie&&this.textSize===ie?this:this.extend({style:this.style.text(),size:ie,textSize:ie,sizeMultiplier:Ln[ie-1]})},Z.havingBaseStyle=function(ie){ie=ie||this.style.text();var he=Vn(We.BASESIZE,ie);return this.size===he&&this.textSize===We.BASESIZE&&this.style===ie?this:this.extend({style:ie,size:he})},Z.havingBaseSizing=function(){var ie;switch(this.style.id){case 4:case 5:ie=3;break;case 6:case 7:ie=1;break;default:ie=6}return this.extend({style:this.style.text(),size:ie})},Z.withColor=function(ie){return this.extend({color:ie})},Z.withPhantom=function(){return this.extend({phantom:!0})},Z.withFont=function(ie){return this.extend({font:ie})},Z.withTextFontFamily=function(ie){return this.extend({fontFamily:ie,font:""})},Z.withTextFontWeight=function(ie){return this.extend({fontWeight:ie,font:""})},Z.withTextFontShape=function(ie){return this.extend({fontShape:ie,font:""})},Z.sizingClasses=function(ie){return ie.size!==this.size?["sizing","reset-size"+ie.size,"size"+this.size]:[]},Z.baseSizingClasses=function(){return this.size!==We.BASESIZE?["sizing","reset-size"+this.size,"size"+We.BASESIZE]:[]},Z.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Zt(this.size)),this._fontMetrics},Z.getColor=function(){return this.phantom?"transparent":this.color},We}();Bn.BASESIZE=6;var Ui=Bn,pi={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},bi={ex:!0,em:!0,mu:!0},_i=function(Z){return typeof Z!="string"&&(Z=Z.unit),Z in pi||Z in bi||Z==="ex"},li=function(Z,q){var ie;if(Z.unit in pi)ie=pi[Z.unit]/q.fontMetrics().ptPerEm/q.sizeMultiplier;else if(Z.unit==="mu")ie=q.fontMetrics().cssEmPerMu;else{var he;if(q.style.isTight()?he=q.havingStyle(q.style.text()):he=q,Z.unit==="ex")ie=he.fontMetrics().xHeight;else if(Z.unit==="em")ie=he.fontMetrics().quad;else throw new o("Invalid unit: '"+Z.unit+"'");he!==q&&(ie*=he.sizeMultiplier/q.sizeMultiplier)}return Math.min(Z.number*ie,q.maxSize)},Ki=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Zn=function(Z,q,ie){return Ke[ie][Z]&&Ke[ie][Z].replace&&(Z=Ke[ie][Z].replace),{value:Z,metrics:Vt(Z,q,ie)}},Gi=function(Z,q,ie,he,Ie){var Ye=Zn(Z,q,ie),Tt=Ye.metrics;Z=Ye.value;var jt;if(Tt){var nr=Tt.italic;(ie==="text"||he&&he.font==="mathit")&&(nr=0),jt=new Ce(Z,Tt.height,Tt.depth,nr,Tt.skew,Tt.width,Ie)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+Z+"' in style '"+q+"' and mode '"+ie+"'")),jt=new Ce(Z,0,0,0,0,0,Ie);if(he){jt.maxFontSize=he.sizeMultiplier,he.style.isTight()&&jt.classes.push("mtight");var Pt=he.getColor();Pt&&(jt.style.color=Pt)}return jt},ui=function(Z,q,ie,he){return he===void 0&&(he=[]),ie.font==="boldsymbol"&&Zn(Z,"Main-Bold",q).metrics?Gi(Z,"Main-Bold",q,ie,he.concat(["mathbf"])):Z==="\\"||Ke[q][Z].font==="main"?Gi(Z,"Main-Regular",q,ie,he):Gi(Z,"AMS-Regular",q,ie,he.concat(["amsrm"]))},we=function(Z,q,ie,he){return/[0-9]/.test(Z.charAt(0))||T.contains(Ki,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Nn=function(Z,q,ie,he){return T.contains(Ki,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(Z.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},qn=function(Z,q,ie,he){return Zn(Z,"Math-BoldItalic",q).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Wn=function(Z,q,ie){var he=Z.mode,Ie=Z.text,Ye=["mord"],Tt=he==="math"||he==="text"&&q.font,jt=Tt?q.font:q.fontFamily;if(Ie.charCodeAt(0)===55349){var nr=qr(Ie,he),Pt=nr[0],Ur=nr[1];return Gi(Ie,Pt,he,q,Ye.concat(Ur))}else if(jt){var Qr,vn;if(jt==="boldsymbol"||jt==="mathnormal"){var Tn=jt==="boldsymbol"?qn(Ie,he,q,Ye):Nn(Ie,he,q,Ye);Qr=Tn.fontName,vn=[Tn.fontClass]}else T.contains(Ki,Ie)?(Qr="Main-Italic",vn=["mathit"]):Tt?(Qr=Ze[jt].fontName,vn=[jt]):(Qr=Ir(jt,q.fontWeight,q.fontShape),vn=[jt,q.fontWeight,q.fontShape]);if(Zn(Ie,Qr,he).metrics)return Gi(Ie,Qr,he,q,Ye.concat(vn));if(Zr.hasOwnProperty(Ie)&&Qr.substr(0,10)==="Typewriter"){for(var Un=[],Ei=0;Ei<Ie.length;Ei++)Un.push(Gi(Ie[Ei],Qr,he,q,Ye.concat(vn)));return Ot(Un)}}if(ie==="mathord"){var ca=we(Ie,he,q,Ye);return Gi(Ie,ca.fontName,he,q,Ye.concat([ca.fontClass]))}else if(ie==="textord"){var ta=Ke[he][Ie]&&Ke[he][Ie].font;if(ta==="ams"){var fa=Ir("amsrm",q.fontWeight,q.fontShape);return Gi(Ie,fa,he,q,Ye.concat("amsrm",q.fontWeight,q.fontShape))}else if(ta==="main"||!ta){var Ua=Ir("textrm",q.fontWeight,q.fontShape);return Gi(Ie,Ua,he,q,Ye.concat(q.fontWeight,q.fontShape))}else{var es=Ir(ta,q.fontWeight,q.fontShape);return Gi(Ie,es,he,q,Ye.concat(es,q.fontWeight,q.fontShape))}}else throw new Error("unexpected type: "+ie+" in makeOrd")},zi=function(Z,q){if(Ct(Z.classes)!==Ct(q.classes)||Z.skew!==q.skew||Z.maxFontSize!==q.maxFontSize)return!1;for(var ie in Z.style)if(Z.style.hasOwnProperty(ie)&&Z.style[ie]!==q.style[ie])return!1;for(var he in q.style)if(q.style.hasOwnProperty(he)&&Z.style[he]!==q.style[he])return!1;return!0},di=function(Z){for(var q=0;q<Z.length-1;q++){var ie=Z[q],he=Z[q+1];ie instanceof Ce&&he instanceof Ce&&zi(ie,he)&&(ie.text+=he.text,ie.height=Math.max(ie.height,he.height),ie.depth=Math.max(ie.depth,he.depth),ie.italic=he.italic,Z.splice(q+1,1),q--)}return Z},Ti=function(Z){for(var q=0,ie=0,he=0,Ie=0;Ie<Z.children.length;Ie++){var Ye=Z.children[Ie];Ye.height>q&&(q=Ye.height),Ye.depth>ie&&(ie=Ye.depth),Ye.maxFontSize>he&&(he=Ye.maxFontSize)}Z.height=q,Z.depth=ie,Z.maxFontSize=he},Yn=function(Z,q,ie,he){var Ie=new ht(Z,q,ie,he);return Ti(Ie),Ie},Jt=function(Z,q,ie,he){return new ht(Z,q,ie,he)},pt=function(Z,q,ie){var he=Yn([Z],[],q);return he.height=Math.max(ie||q.fontMetrics().defaultRuleThickness,q.minRuleThickness),he.style.borderBottomWidth=he.height+"em",he.maxFontSize=1,he},nt=function(Z,q,ie,he){var Ie=new rt(Z,q,ie,he);return Ti(Ie),Ie},Ot=function(Z){var q=new Ve(Z);return Ti(q),q},dt=function(Z,q){return Z instanceof Ve?Yn([],[Z],q):Z},or=function(Z){if(Z.positionType==="individualShift"){for(var q=Z.children,ie=[q[0]],he=-q[0].shift-q[0].elem.depth,Ie=he,Ye=1;Ye<q.length;Ye++){var Tt=-q[Ye].shift-Ie-q[Ye].elem.depth,jt=Tt-(q[Ye-1].elem.height+q[Ye-1].elem.depth);Ie=Ie+Tt,ie.push({type:"kern",size:jt}),ie.push(q[Ye])}return{children:ie,depth:he}}var nr;if(Z.positionType==="top"){for(var Pt=Z.positionData,Ur=0;Ur<Z.children.length;Ur++){var Qr=Z.children[Ur];Pt-=Qr.type==="kern"?Qr.size:Qr.elem.height+Qr.elem.depth}nr=Pt}else if(Z.positionType==="bottom")nr=-Z.positionData;else{var vn=Z.children[0];if(vn.type!=="elem")throw new Error('First child must have type "elem".');if(Z.positionType==="shift")nr=-vn.elem.depth-Z.positionData;else if(Z.positionType==="firstBaseline")nr=-vn.elem.depth;else throw new Error("Invalid positionType "+Z.positionType+".")}return{children:Z.children,depth:nr}},cr=function(Z,q){for(var ie=or(Z),he=ie.children,Ie=ie.depth,Ye=0,Tt=0;Tt<he.length;Tt++){var jt=he[Tt];if(jt.type==="elem"){var nr=jt.elem;Ye=Math.max(Ye,nr.maxFontSize,nr.height)}}Ye+=2;var Pt=Yn(["pstrut"],[]);Pt.style.height=Ye+"em";for(var Ur=[],Qr=Ie,vn=Ie,Tn=Ie,Un=0;Un<he.length;Un++){var Ei=he[Un];if(Ei.type==="kern")Tn+=Ei.size;else{var ca=Ei.elem,ta=Ei.wrapperClasses||[],fa=Ei.wrapperStyle||{},Ua=Yn(ta,[Pt,ca],void 0,fa);Ua.style.top=-Ye-Tn-ca.depth+"em",Ei.marginLeft&&(Ua.style.marginLeft=Ei.marginLeft),Ei.marginRight&&(Ua.style.marginRight=Ei.marginRight),Ur.push(Ua),Tn+=ca.height+ca.depth}Qr=Math.min(Qr,Tn),vn=Math.max(vn,Tn)}var es=Yn(["vlist"],Ur);es.style.height=vn+"em";var ds;if(Qr<0){var is=Yn([],[]),Xi=Yn(["vlist"],[is]);Xi.style.height=-Qr+"em";var $s=Yn(["vlist-s"],[new Ce("\u200B")]);ds=[Yn(["vlist-r"],[es,$s]),Yn(["vlist-r"],[Xi])]}else ds=[Yn(["vlist-r"],[es])];var Ps=Yn(["vlist-t"],ds);return ds.length===2&&Ps.classes.push("vlist-t2"),Ps.height=vn,Ps.depth=-Qr,Ps},Ar=function(Z,q){var ie=Yn(["mspace"],[],q),he=li(Z,q);return ie.style.marginRight=he+"em",ie},Ir=function(Z,q,ie){var he="";switch(Z){case"amsrm":he="AMS";break;case"textrm":he="Main";break;case"textsf":he="SansSerif";break;case"texttt":he="Typewriter";break;default:he=Z}var Ie;return q==="textbf"&&ie==="textit"?Ie="BoldItalic":q==="textbf"?Ie="Bold":q==="textit"?Ie="Italic":Ie="Regular",he+"-"+Ie},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"}},Je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ee=function(Z,q){var ie=Je[Z],he=ie[0],Ie=ie[1],Ye=ie[2],Tt=new je(he),jt=new Fe([Tt],{width:Ie+"em",height:Ye+"em",style:"width:"+Ie+"em",viewBox:"0 0 "+1e3*Ie+" "+1e3*Ye,preserveAspectRatio:"xMinYMin"}),nr=Jt(["overlay"],[jt],q);return nr.height=Ye,nr.style.height=Ye+"em",nr.style.width=Ie+"em",nr},ut={fontMap:Ze,makeSymbol:Gi,mathsym:ui,makeSpan:Yn,makeSvgSpan:Jt,makeLineSpan:pt,makeAnchor:nt,makeFragment:Ot,wrapFragment:dt,makeVList:cr,makeOrd:Wn,makeGlue:Ar,staticSvg:Ee,svgData:Je,tryCombineChars:di};function ir(We,Z){var q=br(We,Z);if(!q)throw new Error("Expected node of type "+Z+", but got "+(We?"node of type "+We.type:String(We)));return q}function br(We,Z){return We&&We.type===Z?We:null}function Dr(We,Z){var q=wr(We,Z);if(!q)throw new Error('Expected node of type "atom" and family "'+Z+'", but got '+(We?We.type==="atom"?"atom of family "+We.family:"node of type "+We.type:String(We)));return q}function wr(We,Z){return We&&We.type==="atom"&&We.family===Z?We:null}function Fr(We){var Z=hn(We);if(!Z)throw new Error("Expected node of symbol group type, but got "+(We?"node of type "+We.type:String(We)));return Z}function hn(We){return We&&(We.type==="atom"||At.hasOwnProperty(We.type))?We:null}var Tr={number:3,unit:"mu"},sn={number:4,unit:"mu"},Xr={number:5,unit:"mu"},nn={mord:{mop:Tr,mbin:sn,mrel:Xr,minner:Tr},mop:{mord:Tr,mop:Tr,mrel:Xr,minner:Tr},mbin:{mord:sn,mop:sn,mopen:sn,minner:sn},mrel:{mord:Xr,mop:Xr,mopen:Xr,minner:Xr},mopen:{},mclose:{mop:Tr,mbin:sn,mrel:Xr,minner:Tr},mpunct:{mord:Tr,mop:Tr,mrel:Xr,mopen:Tr,mclose:Tr,mpunct:Tr,minner:Tr},minner:{mord:Tr,mop:Tr,mbin:sn,mrel:Xr,mopen:Tr,mpunct:Tr,minner:Tr}},gn={mord:{mop:Tr},mop:{mord:Tr,mop:Tr},mbin:{},mrel:{},mopen:{},mclose:{mop:Tr},mpunct:{},minner:{mop:Tr}},da={},mi={},ci={};function Cn(We){for(var Z=We.type,q=We.names,ie=We.props,he=We.handler,Ie=We.htmlBuilder,Ye=We.mathmlBuilder,Tt={type:Z,numArgs:ie.numArgs,argTypes:ie.argTypes,greediness:ie.greediness===void 0?1:ie.greediness,allowedInText:!!ie.allowedInText,allowedInMath:ie.allowedInMath===void 0?!0:ie.allowedInMath,numOptionalArgs:ie.numOptionalArgs||0,infix:!!ie.infix,handler:he},jt=0;jt<q.length;++jt)da[q[jt]]=Tt;Z&&(Ie&&(mi[Z]=Ie),Ye&&(ci[Z]=Ye))}function Pi(We){var Z=We.type,q=We.htmlBuilder,ie=We.mathmlBuilder;Cn({type:Z,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:q,mathmlBuilder:ie})}var Oi=function(Z){var q=br(Z,"ordgroup");return q?q.body:[Z]},aa=ut.makeSpan,Cs=["leftmost","mbin","mopen","mrel","mop","mpunct"],na=["rightmost","mrel","mclose","mpunct"],vs={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT},Ms={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ba=function(Z,q,ie,he){he===void 0&&(he=[null,null]);for(var Ie=[],Ye=0;Ye<Z.length;Ye++){var Tt=ji(Z[Ye],q);if(Tt instanceof Ve){var jt=Tt.children;Ie.push.apply(Ie,jt)}else Ie.push(Tt)}if(!ie)return Ie;var nr=q;if(Z.length===1){var Pt=br(Z[0],"sizing")||br(Z[0],"styling");Pt&&(Pt.type==="sizing"?nr=q.havingSize(Pt.size):Pt.type==="styling"&&(nr=q.havingStyle(vs[Pt.style])))}var Ur=aa([he[0]||"leftmost"],[],q),Qr=aa([he[1]||"rightmost"],[],q);return sa(Ie,function(vn,Tn){var Un=Tn.classes[0],Ei=vn.classes[0];Un==="mbin"&&T.contains(na,Ei)?Tn.classes[0]="mord":Ei==="mbin"&&T.contains(Cs,Un)&&(vn.classes[0]="mord")},{node:Ur},Qr),sa(Ie,function(vn,Tn){var Un=Xa(Tn),Ei=Xa(vn),ca=Un&&Ei?vn.hasClass("mtight")?gn[Un][Ei]:nn[Un][Ei]:null;if(ca)return ut.makeGlue(ca,nr)},{node:Ur},Qr),Ie},sa=function We(Z,q,ie,he){he&&Z.push(he);for(var Ie=0;Ie<Z.length;Ie++){var Ye=Z[Ie],Tt=yn(Ye);if(Tt){We(Tt.children,q,ie);continue}if(Ye.classes[0]!=="mspace"){var jt=q(Ye,ie.node);jt&&(ie.insertAfter?ie.insertAfter(jt):(Z.unshift(jt),Ie++)),ie.node=Ye,ie.insertAfter=function(nr){return function(Pt){Z.splice(nr+1,0,Pt),Ie++}}(Ie)}}he&&Z.pop()},yn=function(Z){return Z instanceof Ve||Z instanceof rt?Z:null},bs=function We(Z,q){var ie=yn(Z);if(ie){var he=ie.children;if(he.length){if(q==="right")return We(he[he.length-1],"right");if(q==="left")return We(he[0],"left")}}return Z},Xa=function(Z,q){return Z?(q&&(Z=bs(Z,q)),Ms[Z.classes[0]]||null):null},xs=function(Z,q){var ie=["nulldelimiter"].concat(Z.baseSizingClasses());return aa(q.concat(ie))},ji=function(Z,q,ie){if(!Z)return aa();if(mi[Z.type]){var he=mi[Z.type](Z,q);if(ie&&q.size!==ie.size){he=aa(q.sizingClasses(ie),[he],q);var Ie=q.sizeMultiplier/ie.sizeMultiplier;he.height*=Ie,he.depth*=Ie}return he}else throw new o("Got group of unknown type: '"+Z.type+"'")};function Fs(We,Z){var q=aa(["base"],We,Z),ie=aa(["strut"]);return ie.style.height=q.height+q.depth+"em",ie.style.verticalAlign=-q.depth+"em",q.children.unshift(ie),q}function So(We,Z){var q=null;We.length===1&&We[0].type==="tag"&&(q=We[0].tag,We=We[0].body);for(var ie=Ba(We,Z,!0),he=[],Ie=[],Ye=0;Ye<ie.length;Ye++)if(Ie.push(ie[Ye]),ie[Ye].hasClass("mbin")||ie[Ye].hasClass("mrel")||ie[Ye].hasClass("allowbreak")){for(var Tt=!1;Ye<ie.length-1&&ie[Ye+1].hasClass("mspace")&&!ie[Ye+1].hasClass("newline");)Ye++,Ie.push(ie[Ye]),ie[Ye].hasClass("nobreak")&&(Tt=!0);Tt||(he.push(Fs(Ie,Z)),Ie=[])}else ie[Ye].hasClass("newline")&&(Ie.pop(),Ie.length>0&&(he.push(Fs(Ie,Z)),Ie=[]),he.push(ie[Ye]));Ie.length>0&&he.push(Fs(Ie,Z));var jt;q&&(jt=Fs(Ba(q,Z,!0)),jt.classes=["tag"],he.push(jt));var nr=aa(["katex-html"],he);if(nr.setAttribute("aria-hidden","true"),jt){var Pt=jt.children[0];Pt.style.height=nr.height+nr.depth+"em",Pt.style.verticalAlign=-nr.depth+"em"}return nr}function Da(We){return new Ve(We)}var Ji=function(){function We(q,ie){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=q,this.attributes={},this.children=ie||[]}var Z=We.prototype;return Z.setAttribute=function(ie,he){this.attributes[ie]=he},Z.getAttribute=function(ie){return this.attributes[ie]},Z.toNode=function(){var ie=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&ie.setAttribute(he,this.attributes[he]);for(var Ie=0;Ie<this.children.length;Ie++)ie.appendChild(this.children[Ie].toNode());return ie},Z.toMarkup=function(){var ie="<"+this.type;for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ie+=" "+he+'="',ie+=T.escape(this.attributes[he]),ie+='"');ie+=">";for(var Ie=0;Ie<this.children.length;Ie++)ie+=this.children[Ie].toMarkup();return ie+="</"+this.type+">",ie},Z.toText=function(){return this.children.map(function(ie){return ie.toText()}).join("")},We}(),Qa=function(){function We(q){this.text=void 0,this.text=q}var Z=We.prototype;return Z.toNode=function(){return document.createTextNode(this.text)},Z.toMarkup=function(){return T.escape(this.toText())},Z.toText=function(){return this.text},We}(),Ks=function(){function We(q){this.width=void 0,this.character=void 0,this.width=q,q>=.05555&&q<=.05556?this.character="\u200A":q>=.1666&&q<=.1667?this.character="\u2009":q>=.2222&&q<=.2223?this.character="\u2005":q>=.2777&&q<=.2778?this.character="\u2005\u200A":q>=-.05556&&q<=-.05555?this.character="\u200A\u2063":q>=-.1667&&q<=-.1666?this.character="\u2009\u2063":q>=-.2223&&q<=-.2222?this.character="\u205F\u2063":q>=-.2778&&q<=-.2777?this.character="\u2005\u2063":this.character=null}var Z=We.prototype;return Z.toNode=function(){if(this.character)return document.createTextNode(this.character);var ie=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return ie.setAttribute("width",this.width+"em"),ie},Z.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},Z.toText=function(){return this.character?this.character:" "},We}(),Pn={MathNode:Ji,TextNode:Qa,SpaceNode:Ks,newDocumentFragment:Da},Wa=function(Z,q,ie){return Ke[q][Z]&&Ke[q][Z].replace&&Z.charCodeAt(0)!==55349&&!(Zr.hasOwnProperty(Z)&&ie&&(ie.fontFamily&&ie.fontFamily.substr(4,2)==="tt"||ie.font&&ie.font.substr(4,2)==="tt"))&&(Z=Ke[q][Z].replace),new Pn.TextNode(Z)},mo=function(Z){return Z.length===1?Z[0]:new Pn.MathNode("mrow",Z)},Bs=function(Z,q){if(q.fontFamily==="texttt")return"monospace";if(q.fontFamily==="textsf")return q.fontShape==="textit"&&q.fontWeight==="textbf"?"sans-serif-bold-italic":q.fontShape==="textit"?"sans-serif-italic":q.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(q.fontShape==="textit"&&q.fontWeight==="textbf")return"bold-italic";if(q.fontShape==="textit")return"italic";if(q.fontWeight==="textbf")return"bold";var ie=q.font;if(!ie||ie==="mathnormal")return null;var he=Z.mode;if(ie==="mathit")return"italic";if(ie==="boldsymbol")return"bold-italic";if(ie==="mathbf")return"bold";if(ie==="mathbb")return"double-struck";if(ie==="mathfrak")return"fraktur";if(ie==="mathscr"||ie==="mathcal")return"script";if(ie==="mathsf")return"sans-serif";if(ie==="mathtt")return"monospace";var Ie=Z.text;if(T.contains(["\\imath","\\jmath"],Ie))return null;Ke[he][Ie]&&Ke[he][Ie].replace&&(Ie=Ke[he][Ie].replace);var Ye=ut.fontMap[ie].fontName;return Vt(Ie,Ye,he)?ut.fontMap[ie].variant:null},Li=function(Z,q,ie){if(Z.length===1){var he=ka(Z[0],q);return ie&&he instanceof Ji&&he.type==="mo"&&(he.setAttribute("lspace","0em"),he.setAttribute("rspace","0em")),[he]}for(var Ie=[],Ye,Tt=0;Tt<Z.length;Tt++){var jt=ka(Z[Tt],q);if(jt instanceof Ji&&Ye instanceof Ji){if(jt.type==="mtext"&&Ye.type==="mtext"&&jt.getAttribute("mathvariant")===Ye.getAttribute("mathvariant")){var nr;(nr=Ye.children).push.apply(nr,jt.children);continue}else if(jt.type==="mn"&&Ye.type==="mn"){var Pt;(Pt=Ye.children).push.apply(Pt,jt.children);continue}else if(jt.type==="mi"&&jt.children.length===1&&Ye.type==="mn"){var Ur=jt.children[0];if(Ur instanceof Qa&&Ur.text==="."){var Qr;(Qr=Ye.children).push.apply(Qr,jt.children);continue}}else if(Ye.type==="mi"&&Ye.children.length===1){var vn=Ye.children[0];if(vn instanceof Qa&&vn.text==="\u0338"&&(jt.type==="mo"||jt.type==="mi"||jt.type==="mn")){var Tn=jt.children[0];Tn instanceof Qa&&Tn.text.length>0&&(Tn.text=Tn.text.slice(0,1)+"\u0338"+Tn.text.slice(1),Ie.pop())}}}Ie.push(jt),Ye=jt}return Ie},Oa=function(Z,q,ie){return mo(Li(Z,q,ie))},ka=function(Z,q){if(!Z)return new Pn.MathNode("mrow");if(ci[Z.type]){var ie=ci[Z.type](Z,q);return ie}else throw new o("Got group of unknown type: '"+Z.type+"'")};function os(We,Z,q,ie){var he=Li(We,q),Ie;he.length===1&&he[0]instanceof Ji&&T.contains(["mrow","mtable"],he[0].type)?Ie=he[0]:Ie=new Pn.MathNode("mrow",he);var Ye=new Pn.MathNode("annotation",[new Pn.TextNode(Z)]);Ye.setAttribute("encoding","application/x-tex");var Tt=new Pn.MathNode("semantics",[Ie,Ye]),jt=new Pn.MathNode("math",[Tt]);jt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var nr=ie?"katex":"katex-mathml";return ut.makeSpan([nr],[jt])}var Qs=function(Z){return new Ui({style:Z.displayMode?z.DISPLAY:z.TEXT,maxSize:Z.maxSize,minRuleThickness:Z.minRuleThickness})},Ao=function(Z,q){if(q.displayMode){var ie=["katex-display"];q.leqno&&ie.push("leqno"),q.fleqn&&ie.push("fleqn"),Z=ut.makeSpan(ie,[Z])}return Z},To=function(Z,q,ie){var he=Qs(ie),Ie;if(ie.output==="mathml")return os(Z,q,he,!0);if(ie.output==="html"){var Ye=So(Z,he);Ie=ut.makeSpan(["katex"],[Ye])}else{var Tt=os(Z,q,he,!1),jt=So(Z,he);Ie=ut.makeSpan(["katex"],[Tt,jt])}return Ao(Ie,ie)},ws=function(Z,q,ie){var he=Qs(ie),Ie=So(Z,he),Ye=ut.makeSpan(["katex"],[Ie]);return Ao(Ye,ie)},wa=To,us={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"},vo=function(Z){var q=new Pn.MathNode("mo",[new Pn.TextNode(us[Z.substr(1)])]);return q.setAttribute("stretchy","true"),q},Do={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]},go=function(Z){return Z.type==="ordgroup"?Z.body.length:1},$o=function(Z,q){function ie(){var jt=4e5,nr=Z.label.substr(1);if(T.contains(["widehat","widecheck","widetilde","utilde"],nr)){var Pt=Z,Ur=go(Pt.base),Qr,vn,Tn;if(Ur>5)nr==="widehat"||nr==="widecheck"?(Qr=420,jt=2364,Tn=.42,vn=nr+"4"):(Qr=312,jt=2340,Tn=.34,vn="tilde4");else{var Un=[1,1,2,2,3,3][Ur];nr==="widehat"||nr==="widecheck"?(jt=[0,1062,2364,2364,2364][Un],Qr=[0,239,300,360,420][Un],Tn=[0,.24,.3,.3,.36,.42][Un],vn=nr+Un):(jt=[0,600,1033,2339,2340][Un],Qr=[0,260,286,306,312][Un],Tn=[0,.26,.286,.3,.306,.34][Un],vn="tilde"+Un)}var Ei=new je(vn),ca=new Fe([Ei],{width:"100%",height:Tn+"em",viewBox:"0 0 "+jt+" "+Qr,preserveAspectRatio:"none"});return{span:ut.makeSvgSpan([],[ca],q),minWidth:0,height:Tn}}else{var ta=[],fa=Do[nr],Ua=fa[0],es=fa[1],ds=fa[2],is=ds/1e3,Xi=Ua.length,$s,Ps;if(Xi===1){var Sa=fa[3];$s=["hide-tail"],Ps=[Sa]}else if(Xi===2)$s=["halfarrow-left","halfarrow-right"],Ps=["xMinYMin","xMaxYMin"];else if(Xi===3)$s=["brace-left","brace-center","brace-right"],Ps=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Xi+" children.");for(var po=0;po<Xi;po++){var yo=new je(Ua[po]),tu=new Fe([yo],{width:"400em",height:is+"em",viewBox:"0 0 "+jt+" "+ds,preserveAspectRatio:Ps[po]+" slice"}),Is=ut.makeSvgSpan([$s[po]],[tu],q);if(Xi===1)return{span:Is,minWidth:es,height:is};Is.style.height=is+"em",ta.push(Is)}return{span:ut.makeSpan(["stretchy"],ta,q),minWidth:es,height:is}}}var he=ie(),Ie=he.span,Ye=he.minWidth,Tt=he.height;return Ie.height=Tt,Ie.style.height=Tt+"em",Ye>0&&(Ie.style.minWidth=Ye+"em"),Ie},oi=function(Z,q,ie,he){var Ie,Ye=Z.height+Z.depth+2*ie;if(/fbox|color/.test(q)){if(Ie=ut.makeSpan(["stretchy",q],[],he),q==="fbox"){var Tt=he.color&&he.getColor();Tt&&(Ie.style.borderColor=Tt)}}else{var jt=[];/^[bx]cancel$/.test(q)&&jt.push(new Ge({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(q)&&jt.push(new Ge({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var nr=new Fe(jt,{width:"100%",height:Ye+"em"});Ie=ut.makeSvgSpan([],[nr],he)}return Ie.height=Ye,Ie.style.height=Ye+"em",Ie},ni={encloseSpan:oi,mathMLnode:vo,svgSpan:$o},Ga=function(Z,q){var ie,he,Ie=br(Z,"supsub"),Ye;Ie?(he=ir(Ie.base,"accent"),ie=he.base,Ie.base=ie,Ye=ct(ji(Ie,q)),Ie.base=he):(he=ir(Z,"accent"),ie=he.base);var Tt=ji(ie,q.havingCrampedStyle()),jt=he.isShifty&&T.isCharacterBox(ie),nr=0;if(jt){var Pt=T.getBaseElem(ie),Ur=ji(Pt,q.havingCrampedStyle());nr=it(Ur).skew}var Qr=Math.min(Tt.height,q.fontMetrics().xHeight),vn;if(he.isStretchy)vn=ni.svgSpan(he,q),vn=ut.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"elem",elem:vn,wrapperClasses:["svg-align"],wrapperStyle:nr>0?{width:"calc(100% - "+2*nr+"em)",marginLeft:2*nr+"em"}:void 0}]},q);else{var Tn,Un;he.label==="\\vec"?(Tn=ut.staticSvg("vec",q),Un=ut.svgData.vec[1]):(Tn=ut.makeOrd({mode:he.mode,text:he.label},q,"textord"),Tn=it(Tn),Tn.italic=0,Un=Tn.width),vn=ut.makeSpan(["accent-body"],[Tn]);var Ei=he.label==="\\textcircled";Ei&&(vn.classes.push("accent-full"),Qr=Tt.height);var ca=nr;Ei||(ca-=Un/2),vn.style.left=ca+"em",he.label==="\\textcircled"&&(vn.style.top=".2em"),vn=ut.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"kern",size:-Qr},{type:"elem",elem:vn}]},q)}var ta=ut.makeSpan(["mord","accent"],[vn],q);return Ye?(Ye.children[0]=ta,Ye.height=Math.max(ta.height,Ye.height),Ye.classes[0]="mord",Ye):ta},ts=function(Z,q){var ie=Z.isStretchy?ni.mathMLnode(Z.label):new Pn.MathNode("mo",[Wa(Z.label,Z.mode)]),he=new Pn.MathNode("mover",[ka(Z.base,q),ie]);return he.setAttribute("accent","true"),he},Ia=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(We){return"\\"+We}).join("|"));Cn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(Z,q){var ie=q[0],he=!Ia.test(Z.funcName),Ie=!he||Z.funcName==="\\widehat"||Z.funcName==="\\widetilde"||Z.funcName==="\\widecheck";return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:he,isShifty:Ie,base:ie}},htmlBuilder:Ga,mathmlBuilder:ts}),Cn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(Z,q){var ie=q[0];return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:!1,isShifty:!0,base:ie}},htmlBuilder:Ga,mathmlBuilder:ts}),Cn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=q[0];return{type:"accentUnder",mode:ie.mode,label:he,base:Ie}},htmlBuilder:function(Z,q){var ie=ji(Z.base,q),he=ni.svgSpan(Z,q),Ie=Z.label==="\\utilde"?.12:0,Ye=ut.makeVList({positionType:"bottom",positionData:he.height+Ie,children:[{type:"elem",elem:he,wrapperClasses:["svg-align"]},{type:"kern",size:Ie},{type:"elem",elem:ie}]},q);return ut.makeSpan(["mord","accentunder"],[Ye],q)},mathmlBuilder:function(Z,q){var ie=ni.mathMLnode(Z.label),he=new Pn.MathNode("munder",[ka(Z.base,q),ie]);return he.setAttribute("accentunder","true"),he}});var uo=function(Z){var q=new Pn.MathNode("mpadded",Z?[Z]:[]);return q.setAttribute("width","+0.6em"),q.setAttribute("lspace","0.3em"),q};Cn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,q,ie){var he=Z.parser,Ie=Z.funcName;return{type:"xArrow",mode:he.mode,label:Ie,body:q[0],below:ie[0]}},htmlBuilder:function(Z,q){var ie=q.style,he=q.havingStyle(ie.sup()),Ie=ut.wrapFragment(ji(Z.body,he,q),q);Ie.classes.push("x-arrow-pad");var Ye;Z.below&&(he=q.havingStyle(ie.sub()),Ye=ut.wrapFragment(ji(Z.below,he,q),q),Ye.classes.push("x-arrow-pad"));var Tt=ni.svgSpan(Z,q),jt=-q.fontMetrics().axisHeight+.5*Tt.height,nr=-q.fontMetrics().axisHeight-.5*Tt.height-.111;(Ie.depth>.25||Z.label==="\\xleftequilibrium")&&(nr-=Ie.depth);var Pt;if(Ye){var Ur=-q.fontMetrics().axisHeight+Ye.height+.5*Tt.height+.111;Pt=ut.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ie,shift:nr},{type:"elem",elem:Tt,shift:jt},{type:"elem",elem:Ye,shift:Ur}]},q)}else Pt=ut.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ie,shift:nr},{type:"elem",elem:Tt,shift:jt}]},q);return Pt.children[0].children[0].children[1].classes.push("svg-align"),ut.makeSpan(["mrel","x-arrow"],[Pt],q)},mathmlBuilder:function(Z,q){var ie=ni.mathMLnode(Z.label),he;if(Z.body){var Ie=uo(ka(Z.body,q));if(Z.below){var Ye=uo(ka(Z.below,q));he=new Pn.MathNode("munderover",[ie,Ye,Ie])}else he=new Pn.MathNode("mover",[ie,Ie])}else if(Z.below){var Tt=uo(ka(Z.below,q));he=new Pn.MathNode("munder",[ie,Tt])}else he=uo(),he=new Pn.MathNode("mover",[ie,he]);return he}}),Cn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(Z,q){for(var ie=Z.parser,he=ir(q[0],"ordgroup"),Ie=he.body,Ye="",Tt=0;Tt<Ie.length;Tt++){var jt=ir(Ie[Tt],"textord");Ye+=jt.text}var nr=parseInt(Ye);if(isNaN(nr))throw new o("\\@char has non-numeric argument "+Ye);return{type:"textord",mode:ie.mode,text:String.fromCharCode(nr)}}});var jo=function(Z,q){var ie=Ba(Z.body,q.withColor(Z.color),!1);return ut.makeFragment(ie)},Qo=function(Z,q){var ie=Li(Z.body,q.withColor(Z.color)),he=new Pn.MathNode("mstyle",ie);return he.setAttribute("mathcolor",Z.color),he};Cn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(Z,q){var ie=Z.parser,he=ir(q[0],"color-token").color,Ie=q[1];return{type:"color",mode:ie.mode,color:he,body:Oi(Ie)}},htmlBuilder:jo,mathmlBuilder:Qo}),Cn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(Z,q){var ie=Z.parser,he=Z.breakOnTokenText,Ie=ir(q[0],"color-token").color;ie.gullet.macros.set("\\current@color",Ie);var Ye=ie.parseExpression(!0,he);return{type:"color",mode:ie.mode,color:Ie,body:Ye}},htmlBuilder:jo,mathmlBuilder:Qo}),Cn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,q,ie){var he=Z.parser,Ie=Z.funcName,Ye=ie[0],Tt=Ie==="\\cr",jt=!1;return Tt||(he.settings.displayMode&&he.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?jt=!1:jt=!0),{type:"cr",mode:he.mode,newLine:jt,newRow:Tt,size:Ye&&ir(Ye,"size").value}},htmlBuilder:function(Z,q){if(Z.newRow)throw new o("\\cr valid only within a tabular/array environment");var ie=ut.makeSpan(["mspace"],[],q);return Z.newLine&&(ie.classes.push("newline"),Z.size&&(ie.style.marginTop=li(Z.size,q)+"em")),ie},mathmlBuilder:function(Z,q){var ie=new Pn.MathNode("mspace");return Z.newLine&&(ie.setAttribute("linebreak","newline"),Z.size&&ie.setAttribute("height",li(Z.size,q)+"em")),ie}});var ls=function(Z,q,ie){var he=Ke.math[Z]&&Ke.math[Z].replace,Ie=Vt(he||Z,q,ie);if(!Ie)throw new Error("Unsupported symbol "+Z+" and font size "+q+".");return Ie},hu=function(Z,q,ie,he){var Ie=ie.havingBaseStyle(q),Ye=ut.makeSpan(he.concat(Ie.sizingClasses(ie)),[Z],ie),Tt=Ie.sizeMultiplier/ie.sizeMultiplier;return Ye.height*=Tt,Ye.depth*=Tt,Ye.maxFontSize=Ie.sizeMultiplier,Ye},Go=function(Z,q,ie){var he=q.havingBaseStyle(ie),Ie=(1-q.sizeMultiplier/he.sizeMultiplier)*q.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=Ie+"em",Z.height-=Ie,Z.depth+=Ie},su=function(Z,q,ie,he,Ie,Ye){var Tt=ut.makeSymbol(Z,"Main-Regular",Ie,he),jt=hu(Tt,q,he,Ye);return ie&&Go(jt,he,q),jt},lo=function(Z,q,ie,he){return ut.makeSymbol(Z,"Size"+q+"-Regular",ie,he)},$u=function(Z,q,ie,he,Ie,Ye){var Tt=lo(Z,q,Ie,he),jt=hu(ut.makeSpan(["delimsizing","size"+q],[Tt],he),z.TEXT,he,Ye);return ie&&Go(jt,he,z.TEXT),jt},Co=function(Z,q,ie){var he;q==="Size1-Regular"?he="delim-size1":he="delim-size4";var Ie=ut.makeSpan(["delimsizinginner",he],[ut.makeSpan([],[ut.makeSymbol(Z,q,ie)])]);return{type:"elem",elem:Ie}},wo={type:"kern",size:-.005},Uo=function(Z,q,ie,he,Ie,Ye){var Tt,jt,nr,Pt;Tt=nr=Pt=Z,jt=null;var Ur="Size1-Regular";Z==="\\uparrow"?nr=Pt="\u23D0":Z==="\\Uparrow"?nr=Pt="\u2016":Z==="\\downarrow"?Tt=nr="\u23D0":Z==="\\Downarrow"?Tt=nr="\u2016":Z==="\\updownarrow"?(Tt="\\uparrow",nr="\u23D0",Pt="\\downarrow"):Z==="\\Updownarrow"?(Tt="\\Uparrow",nr="\u2016",Pt="\\Downarrow"):Z==="["||Z==="\\lbrack"?(Tt="\u23A1",nr="\u23A2",Pt="\u23A3",Ur="Size4-Regular"):Z==="]"||Z==="\\rbrack"?(Tt="\u23A4",nr="\u23A5",Pt="\u23A6",Ur="Size4-Regular"):Z==="\\lfloor"||Z==="\u230A"?(nr=Tt="\u23A2",Pt="\u23A3",Ur="Size4-Regular"):Z==="\\lceil"||Z==="\u2308"?(Tt="\u23A1",nr=Pt="\u23A2",Ur="Size4-Regular"):Z==="\\rfloor"||Z==="\u230B"?(nr=Tt="\u23A5",Pt="\u23A6",Ur="Size4-Regular"):Z==="\\rceil"||Z==="\u2309"?(Tt="\u23A4",nr=Pt="\u23A5",Ur="Size4-Regular"):Z==="("||Z==="\\lparen"?(Tt="\u239B",nr="\u239C",Pt="\u239D",Ur="Size4-Regular"):Z===")"||Z==="\\rparen"?(Tt="\u239E",nr="\u239F",Pt="\u23A0",Ur="Size4-Regular"):Z==="\\{"||Z==="\\lbrace"?(Tt="\u23A7",jt="\u23A8",Pt="\u23A9",nr="\u23AA",Ur="Size4-Regular"):Z==="\\}"||Z==="\\rbrace"?(Tt="\u23AB",jt="\u23AC",Pt="\u23AD",nr="\u23AA",Ur="Size4-Regular"):Z==="\\lgroup"||Z==="\u27EE"?(Tt="\u23A7",Pt="\u23A9",nr="\u23AA",Ur="Size4-Regular"):Z==="\\rgroup"||Z==="\u27EF"?(Tt="\u23AB",Pt="\u23AD",nr="\u23AA",Ur="Size4-Regular"):Z==="\\lmoustache"||Z==="\u23B0"?(Tt="\u23A7",Pt="\u23AD",nr="\u23AA",Ur="Size4-Regular"):(Z==="\\rmoustache"||Z==="\u23B1")&&(Tt="\u23AB",Pt="\u23A9",nr="\u23AA",Ur="Size4-Regular");var Qr=ls(Tt,Ur,Ie),vn=Qr.height+Qr.depth,Tn=ls(nr,Ur,Ie),Un=Tn.height+Tn.depth,Ei=ls(Pt,Ur,Ie),ca=Ei.height+Ei.depth,ta=0,fa=1;if(jt!==null){var Ua=ls(jt,Ur,Ie);ta=Ua.height+Ua.depth,fa=2}var es=vn+ca+ta,ds=Math.max(0,Math.ceil((q-es)/(fa*Un))),is=es+ds*fa*Un,Xi=he.fontMetrics().axisHeight;ie&&(Xi*=he.sizeMultiplier);var $s=is/2-Xi,Ps=(ds+1)*.005-Un,Sa=[];if(Sa.push(Co(Pt,Ur,Ie)),jt===null)for(var po=0;po<ds;po++)Sa.push(wo),Sa.push(Co(nr,Ur,Ie));else{for(var yo=0;yo<ds;yo++)Sa.push(wo),Sa.push(Co(nr,Ur,Ie));Sa.push({type:"kern",size:Ps}),Sa.push(Co(nr,Ur,Ie)),Sa.push(wo),Sa.push(Co(jt,Ur,Ie));for(var tu=0;tu<ds;tu++)Sa.push(wo),Sa.push(Co(nr,Ur,Ie))}Sa.push({type:"kern",size:Ps}),Sa.push(Co(nr,Ur,Ie)),Sa.push(wo),Sa.push(Co(Tt,Ur,Ie));var Is=he.havingBaseStyle(z.TEXT),Ds=ut.makeVList({positionType:"bottom",positionData:$s,children:Sa},Is);return hu(ut.makeSpan(["delimsizing","mult"],[Ds],Is),z.TEXT,he,Ye)},pu=80,Ys=.08,bu=function(Z,q,ie,he,Ie){var Ye=Yt(Z,he,ie),Tt=new je(Z,Ye),jt=new Fe([Tt],{width:"400em",height:q+"em",viewBox:"0 0 400000 "+ie,preserveAspectRatio:"xMinYMin slice"});return ut.makeSvgSpan(["hide-tail"],[jt],Ie)},Jo=function(Z,q){var ie=q.havingBaseSizing(),he=Sr("\\surd",Z*ie.sizeMultiplier,ar,ie),Ie=ie.sizeMultiplier,Ye=Math.max(0,q.minRuleThickness-q.fontMetrics().sqrtRuleThickness),Tt,jt=0,nr=0,Pt=0,Ur;return he.type==="small"?(Pt=1e3+1e3*Ye+pu,Z<1?Ie=1:Z<1.4&&(Ie=.7),jt=(1+Ye+Ys)/Ie,nr=(1+Ye)/Ie,Tt=bu("sqrtMain",jt,Pt,Ye,q),Tt.style.minWidth="0.853em",Ur=.833/Ie):he.type==="large"?(Pt=(1e3+pu)*Js[he.size],nr=(Js[he.size]+Ye)/Ie,jt=(Js[he.size]+Ye+Ys)/Ie,Tt=bu("sqrtSize"+he.size,jt,Pt,Ye,q),Tt.style.minWidth="1.02em",Ur=1/Ie):(jt=Z+Ye+Ys,nr=Z+Ye,Pt=Math.floor(1e3*Z+Ye)+pu,Tt=bu("sqrtTall",jt,Pt,Ye,q),Tt.style.minWidth="0.742em",Ur=1.056),Tt.height=nr,Tt.style.height=jt+"em",{span:Tt,advanceWidth:Ur,ruleWidth:(q.fontMetrics().sqrtRuleThickness+Ye)*Ie}},zo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Zo=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],ns=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Js=[0,1.2,1.8,2.4,3],ju=function(Z,q,ie,he,Ie){if(Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle"),T.contains(zo,Z)||T.contains(ns,Z))return $u(Z,q,!1,ie,he,Ie);if(T.contains(Zo,Z))return Uo(Z,Js[q],!1,ie,he,Ie);throw new o("Illegal delimiter: '"+Z+"'")},Qt=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],fr=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"stack"}],ar=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],dr=function(Z){if(Z.type==="small")return"Main-Regular";if(Z.type==="large")return"Size"+Z.size+"-Regular";if(Z.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+Z.type+"' here.")},Sr=function(Z,q,ie,he){for(var Ie=Math.min(2,3-he.style.size),Ye=Ie;Ye<ie.length&&ie[Ye].type!=="stack";Ye++){var Tt=ls(Z,dr(ie[Ye]),"math"),jt=Tt.height+Tt.depth;if(ie[Ye].type==="small"){var nr=he.havingBaseStyle(ie[Ye].style);jt*=nr.sizeMultiplier}if(jt>q)return ie[Ye]}return ie[ie.length-1]},un=function(Z,q,ie,he,Ie,Ye){Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle");var Tt;T.contains(ns,Z)?Tt=Qt:T.contains(zo,Z)?Tt=ar:Tt=fr;var jt=Sr(Z,q,Tt,he);return jt.type==="small"?su(Z,jt.style,ie,he,Ie,Ye):jt.type==="large"?$u(Z,jt.size,ie,he,Ie,Ye):Uo(Z,q,ie,he,Ie,Ye)},Mn=function(Z,q,ie,he,Ie,Ye){var Tt=he.fontMetrics().axisHeight*he.sizeMultiplier,jt=901,nr=5/he.fontMetrics().ptPerEm,Pt=Math.max(q-Tt,ie+Tt),Ur=Math.max(Pt/500*jt,2*Pt-nr);return un(Z,Ur,!0,he,Ie,Ye)},bn={sqrtImage:Jo,sizedDelim:ju,customSizedDelim:un,leftRightDelim:Mn},In={"\\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}},Qn=["(","\\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 Xn(We,Z){var q=hn(We);if(q&&T.contains(Qn,q.text))return q;throw new o("Invalid delimiter: '"+(q?q.text:JSON.stringify(We))+"' after '"+Z.funcName+"'",We)}Cn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(Z,q){var ie=Xn(q[0],Z);return{type:"delimsizing",mode:Z.parser.mode,size:In[Z.funcName].size,mclass:In[Z.funcName].mclass,delim:ie.text}},htmlBuilder:function(Z,q){return Z.delim==="."?ut.makeSpan([Z.mclass]):bn.sizedDelim(Z.delim,Z.size,q,Z.mode,[Z.mclass])},mathmlBuilder:function(Z){var q=[];Z.delim!=="."&&q.push(Wa(Z.delim,Z.mode));var ie=new Pn.MathNode("mo",q);return Z.mclass==="mopen"||Z.mclass==="mclose"?ie.setAttribute("fence","true"):ie.setAttribute("fence","false"),ie}});function ur(We){if(!We.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Cn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(Z,q){var ie=Z.parser.gullet.macros.get("\\current@color");if(ie&&typeof ie!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Z.parser.mode,delim:Xn(q[0],Z).text,color:ie}}}),Cn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(Z,q){var ie=Xn(q[0],Z),he=Z.parser;++he.leftrightDepth;var Ie=he.parseExpression(!1);--he.leftrightDepth,he.expect("\\right",!1);var Ye=ir(he.parseFunction(),"leftright-right");return{type:"leftright",mode:he.mode,body:Ie,left:ie.text,right:Ye.delim,rightColor:Ye.color}},htmlBuilder:function(Z,q){ur(Z);for(var ie=Ba(Z.body,q,!0,["mopen","mclose"]),he=0,Ie=0,Ye=!1,Tt=0;Tt<ie.length;Tt++)ie[Tt].isMiddle?Ye=!0:(he=Math.max(ie[Tt].height,he),Ie=Math.max(ie[Tt].depth,Ie));he*=q.sizeMultiplier,Ie*=q.sizeMultiplier;var jt;if(Z.left==="."?jt=xs(q,["mopen"]):jt=bn.leftRightDelim(Z.left,he,Ie,q,Z.mode,["mopen"]),ie.unshift(jt),Ye)for(var nr=1;nr<ie.length;nr++){var Pt=ie[nr],Ur=Pt.isMiddle;Ur&&(ie[nr]=bn.leftRightDelim(Ur.delim,he,Ie,Ur.options,Z.mode,[]))}var Qr;if(Z.right===".")Qr=xs(q,["mclose"]);else{var vn=Z.rightColor?q.withColor(Z.rightColor):q;Qr=bn.leftRightDelim(Z.right,he,Ie,vn,Z.mode,["mclose"])}return ie.push(Qr),ut.makeSpan(["minner"],ie,q)},mathmlBuilder:function(Z,q){ur(Z);var ie=Li(Z.body,q);if(Z.left!=="."){var he=new Pn.MathNode("mo",[Wa(Z.left,Z.mode)]);he.setAttribute("fence","true"),ie.unshift(he)}if(Z.right!=="."){var Ie=new Pn.MathNode("mo",[Wa(Z.right,Z.mode)]);Ie.setAttribute("fence","true"),Z.rightColor&&Ie.setAttribute("mathcolor",Z.rightColor),ie.push(Ie)}return mo(ie)}}),Cn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(Z,q){var ie=Xn(q[0],Z);if(!Z.parser.leftrightDepth)throw new o("\\middle without preceding \\left",ie);return{type:"middle",mode:Z.parser.mode,delim:ie.text}},htmlBuilder:function(Z,q){var ie;if(Z.delim===".")ie=xs(q,[]);else{ie=bn.sizedDelim(Z.delim,1,q,Z.mode,[]);var he={delim:Z.delim,options:q};ie.isMiddle=he}return ie},mathmlBuilder:function(Z,q){var ie=Z.delim==="\\vert"||Z.delim==="|"?Wa("|","text"):Wa(Z.delim,Z.mode),he=new Pn.MathNode("mo",[ie]);return he.setAttribute("fence","true"),he.setAttribute("lspace","0.05em"),he.setAttribute("rspace","0.05em"),he}});var Rr=function(Z,q){var ie=ut.wrapFragment(ji(Z.body,q),q),he=Z.label.substr(1),Ie=q.sizeMultiplier,Ye,Tt=0,jt=T.isCharacterBox(Z.body);if(he==="sout")Ye=ut.makeSpan(["stretchy","sout"]),Ye.height=q.fontMetrics().defaultRuleThickness/Ie,Tt=-.5*q.fontMetrics().xHeight;else{/cancel/.test(he)?jt||ie.classes.push("cancel-pad"):ie.classes.push("boxpad");var nr=0,Pt=0;/box/.test(he)?(Pt=Math.max(q.fontMetrics().fboxrule,q.minRuleThickness),nr=q.fontMetrics().fboxsep+(he==="colorbox"?0:Pt)):nr=jt?.2:0,Ye=ni.encloseSpan(ie,he,nr,q),/fbox|boxed|fcolorbox/.test(he)&&(Ye.style.borderStyle="solid",Ye.style.borderWidth=Pt+"em"),Tt=ie.depth+nr,Z.backgroundColor&&(Ye.style.backgroundColor=Z.backgroundColor,Z.borderColor&&(Ye.style.borderColor=Z.borderColor))}var Ur;return Z.backgroundColor?Ur=ut.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ye,shift:Tt},{type:"elem",elem:ie,shift:0}]},q):Ur=ut.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ie,shift:0},{type:"elem",elem:Ye,shift:Tt,wrapperClasses:/cancel/.test(he)?["svg-align"]:[]}]},q),/cancel/.test(he)&&(Ur.height=ie.height,Ur.depth=ie.depth),/cancel/.test(he)&&!jt?ut.makeSpan(["mord","cancel-lap"],[Ur],q):ut.makeSpan(["mord"],[Ur],q)},Or=function(Z,q){var ie=0,he=new Pn.MathNode(Z.label.indexOf("colorbox")>-1?"mpadded":"menclose",[ka(Z.body,q)]);switch(Z.label){case"\\cancel":he.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":he.setAttribute("notation","downdiagonalstrike");break;case"\\sout":he.setAttribute("notation","horizontalstrike");break;case"\\fbox":he.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(ie=q.fontMetrics().fboxsep*q.fontMetrics().ptPerEm,he.setAttribute("width","+"+2*ie+"pt"),he.setAttribute("height","+"+2*ie+"pt"),he.setAttribute("lspace",ie+"pt"),he.setAttribute("voffset",ie+"pt"),Z.label==="\\fcolorbox"){var Ie=Math.max(q.fontMetrics().fboxrule,q.minRuleThickness);he.setAttribute("style","border: "+Ie+"em solid "+String(Z.borderColor))}break;case"\\xcancel":he.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return Z.backgroundColor&&he.setAttribute("mathbackground",Z.backgroundColor),he};Cn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(Z,q,ie){var he=Z.parser,Ie=Z.funcName,Ye=ir(q[0],"color-token").color,Tt=q[1];return{type:"enclose",mode:he.mode,label:Ie,backgroundColor:Ye,body:Tt}},htmlBuilder:Rr,mathmlBuilder:Or}),Cn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(Z,q,ie){var he=Z.parser,Ie=Z.funcName,Ye=ir(q[0],"color-token").color,Tt=ir(q[1],"color-token").color,jt=q[2];return{type:"enclose",mode:he.mode,label:Ie,backgroundColor:Tt,borderColor:Ye,body:jt}},htmlBuilder:Rr,mathmlBuilder:Or}),Cn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(Z,q){var ie=Z.parser;return{type:"enclose",mode:ie.mode,label:"\\fbox",body:q[0]}}}),Cn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(Z,q,ie){var he=Z.parser,Ie=Z.funcName,Ye=q[0];return{type:"enclose",mode:he.mode,label:Ie,body:Ye}},htmlBuilder:Rr,mathmlBuilder:Or});var pn={};function _n(We){for(var Z=We.type,q=We.names,ie=We.props,he=We.handler,Ie=We.htmlBuilder,Ye=We.mathmlBuilder,Tt={type:Z,numArgs:ie.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:he},jt=0;jt<q.length;++jt)pn[q[jt]]=Tt;Ie&&(mi[Z]=Ie),Ye&&(ci[Z]=Ye)}function _t(We){var Z=[];We.consumeSpaces();for(var q=We.fetch().text;q==="\\hline"||q==="\\hdashline";)We.consume(),Z.push(q==="\\hdashline"),We.consumeSpaces(),q=We.fetch().text;return Z}function Dn(We,Z,q){var ie=Z.hskipBeforeAndAfter,he=Z.addJot,Ie=Z.cols,Ye=Z.arraystretch,Tt=Z.colSeparationType;if(We.gullet.beginGroup(),We.gullet.macros.set("\\\\","\\cr"),!Ye){var jt=We.gullet.expandMacroAsText("\\arraystretch");if(jt==null)Ye=1;else if(Ye=parseFloat(jt),!Ye||Ye<0)throw new o("Invalid \\arraystretch: "+jt)}We.gullet.beginGroup();var nr=[],Pt=[nr],Ur=[],Qr=[];for(Qr.push(_t(We));;){var vn=We.parseExpression(!1,"\\cr");We.gullet.endGroup(),We.gullet.beginGroup(),vn={type:"ordgroup",mode:We.mode,body:vn},q&&(vn={type:"styling",mode:We.mode,style:q,body:[vn]}),nr.push(vn);var Tn=We.fetch().text;if(Tn==="&")We.consume();else if(Tn==="\\end"){nr.length===1&&vn.type==="styling"&&vn.body[0].body.length===0&&Pt.pop(),Qr.length<Pt.length+1&&Qr.push([]);break}else if(Tn==="\\cr"){var Un=ir(We.parseFunction(),"cr");Ur.push(Un.size),Qr.push(_t(We)),nr=[],Pt.push(nr)}else throw new o("Expected & or \\\\ or \\cr or \\end",We.nextToken)}return We.gullet.endGroup(),We.gullet.endGroup(),{type:"array",mode:We.mode,addJot:he,arraystretch:Ye,body:Pt,cols:Ie,rowGaps:Ur,hskipBeforeAndAfter:ie,hLinesBeforeRow:Qr,colSeparationType:Tt}}function kn(We){return We.substr(0,1)==="d"?"display":"text"}var vi=function(Z,q){var ie,he,Ie=Z.body.length,Ye=Z.hLinesBeforeRow,Tt=0,jt=new Array(Ie),nr=[],Pt=Math.max(q.fontMetrics().arrayRuleWidth,q.minRuleThickness),Ur=1/q.fontMetrics().ptPerEm,Qr=5*Ur;if(Z.colSeparationType&&Z.colSeparationType==="small"){var vn=q.havingStyle(z.SCRIPT).sizeMultiplier;Qr=.2778*(vn/q.sizeMultiplier)}var Tn=12*Ur,Un=3*Ur,Ei=Z.arraystretch*Tn,ca=.7*Ei,ta=.3*Ei,fa=0;function Ua(Ho){for(var Zu=0;Zu<Ho.length;++Zu)Zu>0&&(fa+=.25),nr.push({pos:fa,isDashed:Ho[Zu]})}for(Ua(Ye[0]),ie=0;ie<Z.body.length;++ie){var es=Z.body[ie],ds=ca,is=ta;Tt<es.length&&(Tt=es.length);var Xi=new Array(es.length);for(he=0;he<es.length;++he){var $s=ji(es[he],q);is<$s.depth&&(is=$s.depth),ds<$s.height&&(ds=$s.height),Xi[he]=$s}var Ps=Z.rowGaps[ie],Sa=0;Ps&&(Sa=li(Ps,q),Sa>0&&(Sa+=ta,is<Sa&&(is=Sa),Sa=0)),Z.addJot&&(is+=Un),Xi.height=ds,Xi.depth=is,fa+=ds,Xi.pos=fa,fa+=is+Sa,jt[ie]=Xi,Ua(Ye[ie+1])}var po=fa/2+q.fontMetrics().axisHeight,yo=Z.cols||[],tu=[],Is,Ds;for(he=0,Ds=0;he<Tt||Ds<yo.length;++he,++Ds){for(var Vo=yo[Ds]||{},wl=!0;Vo.type==="separator";){if(wl||(Is=ut.makeSpan(["arraycolsep"],[]),Is.style.width=q.fontMetrics().doubleRuleSep+"em",tu.push(Is)),Vo.separator==="|"||Vo.separator===":"){var el=Vo.separator==="|"?"solid":"dashed",Ma=ut.makeSpan(["vertical-separator"],[],q);Ma.style.height=fa+"em",Ma.style.borderRightWidth=Pt+"em",Ma.style.borderRightStyle=el,Ma.style.margin="0 -"+Pt/2+"em",Ma.style.verticalAlign=-(fa-po)+"em",tu.push(Ma)}else throw new o("Invalid separator type: "+Vo.separator);Ds++,Vo=yo[Ds]||{},wl=!1}if(!(he>=Tt)){var ou=void 0;(he>0||Z.hskipBeforeAndAfter)&&(ou=T.deflt(Vo.pregap,Qr),ou!==0&&(Is=ut.makeSpan(["arraycolsep"],[]),Is.style.width=ou+"em",tu.push(Is)));var Ws=[];for(ie=0;ie<Ie;++ie){var zu=jt[ie],Tu=zu[he];if(Tu){var Oo=zu.pos-po;Tu.depth=zu.depth,Tu.height=zu.height,Ws.push({type:"elem",elem:Tu,shift:Oo})}}Ws=ut.makeVList({positionType:"individualShift",children:Ws},q),Ws=ut.makeSpan(["col-align-"+(Vo.align||"c")],[Ws]),tu.push(Ws),(he<Tt-1||Z.hskipBeforeAndAfter)&&(ou=T.deflt(Vo.postgap,Qr),ou!==0&&(Is=ut.makeSpan(["arraycolsep"],[]),Is.style.width=ou+"em",tu.push(Is)))}}if(jt=ut.makeSpan(["mtable"],tu),nr.length>0){for(var Po=ut.makeLineSpan("hline",q,Pt),$l=ut.makeLineSpan("hdashline",q,Pt),Ko=[{type:"elem",elem:jt,shift:0}];nr.length>0;){var El=nr.pop(),js=El.pos-po;El.isDashed?Ko.push({type:"elem",elem:$l,shift:js}):Ko.push({type:"elem",elem:Po,shift:js})}jt=ut.makeVList({positionType:"individualShift",children:Ko},q)}return ut.makeSpan(["mord"],[jt],q)},Wi={c:"center ",l:"left ",r:"right "},er=function(Z,q){var ie=new Pn.MathNode("mtable",Z.body.map(function(fa){return new Pn.MathNode("mtr",fa.map(function(Ua){return new Pn.MathNode("mtd",[ka(Ua,q)])}))})),he=Z.arraystretch===.5?.1:.16+Z.arraystretch-1+(Z.addJot?.09:0);ie.setAttribute("rowspacing",he+"em");var Ie="",Ye="";if(Z.cols){var Tt=Z.cols,jt="",nr=!1,Pt=0,Ur=Tt.length;Tt[0].type==="separator"&&(Ie+="top ",Pt=1),Tt[Tt.length-1].type==="separator"&&(Ie+="bottom ",Ur-=1);for(var Qr=Pt;Qr<Ur;Qr++)Tt[Qr].type==="align"?(Ye+=Wi[Tt[Qr].align],nr&&(jt+="none "),nr=!0):Tt[Qr].type==="separator"&&nr&&(jt+=Tt[Qr].separator==="|"?"solid ":"dashed ",nr=!1);ie.setAttribute("columnalign",Ye.trim()),/[sd]/.test(jt)&&ie.setAttribute("columnlines",jt.trim())}if(Z.colSeparationType==="align"){for(var vn=Z.cols||[],Tn="",Un=1;Un<vn.length;Un++)Tn+=Un%2?"0em ":"1em ";ie.setAttribute("columnspacing",Tn.trim())}else Z.colSeparationType==="alignat"?ie.setAttribute("columnspacing","0em"):Z.colSeparationType==="small"?ie.setAttribute("columnspacing","0.2778em"):ie.setAttribute("columnspacing","1em");var Ei="",ca=Z.hLinesBeforeRow;Ie+=ca[0].length>0?"left ":"",Ie+=ca[ca.length-1].length>0?"right ":"";for(var ta=1;ta<ca.length-1;ta++)Ei+=ca[ta].length===0?"none ":ca[ta][0]?"dashed ":"solid ";return/[sd]/.test(Ei)&&ie.setAttribute("rowlines",Ei.trim()),Ie!==""&&(ie=new Pn.MathNode("menclose",[ie]),ie.setAttribute("notation",Ie.trim())),Z.arraystretch&&Z.arraystretch<1&&(ie=new Pn.MathNode("mstyle",[ie]),ie.setAttribute("scriptlevel","1")),ie},Yi=function(Z,q){var ie=[],he=Dn(Z.parser,{cols:ie,addJot:!0},"display"),Ie,Ye=0,Tt={type:"ordgroup",mode:Z.mode,body:[]},jt=br(q[0],"ordgroup");if(jt){for(var nr="",Pt=0;Pt<jt.body.length;Pt++){var Ur=ir(jt.body[Pt],"textord");nr+=Ur.text}Ie=Number(nr),Ye=Ie*2}var Qr=!Ye;he.body.forEach(function(Ei){for(var ca=1;ca<Ei.length;ca+=2){var ta=ir(Ei[ca],"styling"),fa=ir(ta.body[0],"ordgroup");fa.body.unshift(Tt)}if(Qr)Ye<Ei.length&&(Ye=Ei.length);else{var Ua=Ei.length/2;if(Ie<Ua)throw new o("Too many math in a row: "+("expected "+Ie+", but got "+Ua),Ei[0])}});for(var vn=0;vn<Ye;++vn){var Tn="r",Un=0;vn%2===1?Tn="l":vn>0&&Qr&&(Un=1),ie[vn]={type:"align",align:Tn,pregap:Un,postgap:0}}return he.colSeparationType=Qr?"align":"alignat",he};_n({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(Z,q){var ie=hn(q[0]),he=ie?[q[0]]:ir(q[0],"ordgroup").body,Ie=he.map(function(Tt){var jt=Fr(Tt),nr=jt.text;if("lcr".indexOf(nr)!==-1)return{type:"align",align:nr};if(nr==="|")return{type:"separator",separator:"|"};if(nr===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+nr,Tt)}),Ye={cols:Ie,hskipBeforeAndAfter:!0};return Dn(Z.parser,Ye,kn(Z.envName))},htmlBuilder:vi,mathmlBuilder:er}),_n({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(Z){var q={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Z.envName],ie={hskipBeforeAndAfter:!1},he=Dn(Z.parser,ie,kn(Z.envName));return q?{type:"leftright",mode:Z.mode,body:[he],left:q[0],right:q[1],rightColor:void 0}:he},htmlBuilder:vi,mathmlBuilder:er}),_n({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(Z){var q={arraystretch:.5},ie=Dn(Z.parser,q,"script");return ie.colSeparationType="small",ie},htmlBuilder:vi,mathmlBuilder:er}),_n({type:"array",names:["subarray"],props:{numArgs:1},handler:function(Z,q){var ie=hn(q[0]),he=ie?[q[0]]:ir(q[0],"ordgroup").body,Ie=he.map(function(Tt){var jt=Fr(Tt),nr=jt.text;if("lc".indexOf(nr)!==-1)return{type:"align",align:nr};throw new o("Unknown column alignment: "+nr,Tt)});if(Ie.length>1)throw new o("{subarray} can contain only one column");var Ye={cols:Ie,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ye=Dn(Z.parser,Ye,"script"),Ye.body[0].length>1)throw new o("{subarray} can contain only one column");return Ye},htmlBuilder:vi,mathmlBuilder:er}),_n({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(Z){var q={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ie=Dn(Z.parser,q,kn(Z.envName));return{type:"leftright",mode:Z.mode,body:[ie],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:vi,mathmlBuilder:er}),_n({type:"array",names:["aligned"],props:{numArgs:0},handler:Yi,htmlBuilder:vi,mathmlBuilder:er}),_n({type:"array",names:["gathered"],props:{numArgs:0},handler:function(Z){var q={cols:[{type:"align",align:"c"}],addJot:!0};return Dn(Z.parser,q,"display")},htmlBuilder:vi,mathmlBuilder:er}),_n({type:"array",names:["alignedat"],props:{numArgs:1},handler:Yi,htmlBuilder:vi,mathmlBuilder:er}),Cn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(Z,q){throw new o(Z.funcName+" valid only within array environment")}});var ki=pn,ua=ki;Cn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=q[0];if(Ie.type!=="ordgroup")throw new o("Invalid environment name",Ie);for(var Ye="",Tt=0;Tt<Ie.body.length;++Tt)Ye+=ir(Ie.body[Tt],"textord").text;if(he==="\\begin"){if(!ua.hasOwnProperty(Ye))throw new o("No such environment: "+Ye,Ie);var jt=ua[Ye],nr=ie.parseArguments("\\begin{"+Ye+"}",jt),Pt=nr.args,Ur=nr.optArgs,Qr={mode:ie.mode,envName:Ye,parser:ie},vn=jt.handler(Qr,Pt,Ur);ie.expect("\\end",!1);var Tn=ie.nextToken,Un=ir(ie.parseFunction(),"environment");if(Un.name!==Ye)throw new o("Mismatch: \\begin{"+Ye+"} matched by \\end{"+Un.name+"}",Tn);return vn}return{type:"environment",mode:ie.mode,name:Ye,nameGroup:Ie}}});var qs=ut.makeSpan;function fs(We,Z){var q=Ba(We.body,Z,!0);return qs([We.mclass],q,Z)}function Ci(We,Z){var q,ie=Li(We.body,Z);return We.mclass==="minner"?Pn.newDocumentFragment(ie):(We.mclass==="mord"?We.isCharacterBox?(q=ie[0],q.type="mi"):q=new Pn.MathNode("mi",ie):(We.isCharacterBox?(q=ie[0],q.type="mo"):q=new Pn.MathNode("mo",ie),We.mclass==="mbin"?(q.attributes.lspace="0.22em",q.attributes.rspace="0.22em"):We.mclass==="mpunct"?(q.attributes.lspace="0em",q.attributes.rspace="0.17em"):(We.mclass==="mopen"||We.mclass==="mclose")&&(q.attributes.lspace="0em",q.attributes.rspace="0em")),q)}Cn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=q[0];return{type:"mclass",mode:ie.mode,mclass:"m"+he.substr(5),body:Oi(Ie),isCharacterBox:T.isCharacterBox(Ie)}},htmlBuilder:fs,mathmlBuilder:Ci});var co=function(Z){var q=Z.type==="ordgroup"&&Z.body.length?Z.body[0]:Z;return q.type==="atom"&&(q.family==="bin"||q.family==="rel")?"m"+q.family:"mord"};Cn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(Z,q){var ie=Z.parser;return{type:"mclass",mode:ie.mode,mclass:co(q[0]),body:[q[1]],isCharacterBox:T.isCharacterBox(q[1])}}}),Cn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=q[1],Ye=q[0],Tt;he!=="\\stackrel"?Tt=co(Ie):Tt="mrel";var jt={type:"op",mode:Ie.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:he!=="\\stackrel",body:Oi(Ie)},nr={type:"supsub",mode:Ye.mode,base:jt,sup:he==="\\underset"?null:Ye,sub:he==="\\underset"?Ye:null};return{type:"mclass",mode:ie.mode,mclass:Tt,body:[nr],isCharacterBox:T.isCharacterBox(nr)}},htmlBuilder:fs,mathmlBuilder:Ci});var Zs=function(Z,q){var ie=Z.font,he=q.withFont(ie);return ji(Z.body,he)},Va=function(Z,q){var ie=Z.font,he=q.withFont(ie);return ka(Z.body,he)},Ra={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Cn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=q[0],Ye=he;return Ye in Ra&&(Ye=Ra[Ye]),{type:"font",mode:ie.mode,font:Ye.slice(1),body:Ie}},htmlBuilder:Zs,mathmlBuilder:Va}),Cn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(Z,q){var ie=Z.parser,he=q[0],Ie=T.isCharacterBox(he);return{type:"mclass",mode:ie.mode,mclass:co(he),body:[{type:"font",mode:ie.mode,font:"boldsymbol",body:he}],isCharacterBox:Ie}}}),Cn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=Z.breakOnTokenText,Ye=ie.mode,Tt=ie.parseExpression(!0,Ie),jt="math"+he.slice(1);return{type:"font",mode:Ye,font:jt,body:{type:"ordgroup",mode:ie.mode,body:Tt}}},htmlBuilder:Zs,mathmlBuilder:Va});var eo=function(Z,q){var ie=q;return Z==="display"?ie=ie.id>=z.SCRIPT.id?ie.text():z.DISPLAY:Z==="text"&&ie.size===z.DISPLAY.size?ie=z.TEXT:Z==="script"?ie=z.SCRIPT:Z==="scriptscript"&&(ie=z.SCRIPTSCRIPT),ie},to=function(Z,q){var ie=eo(Z.size,q.style),he=ie.fracNum(),Ie=ie.fracDen(),Ye;Ye=q.havingStyle(he);var Tt=ji(Z.numer,Ye,q);if(Z.continued){var jt=8.5/q.fontMetrics().ptPerEm,nr=3.5/q.fontMetrics().ptPerEm;Tt.height=Tt.height<jt?jt:Tt.height,Tt.depth=Tt.depth<nr?nr:Tt.depth}Ye=q.havingStyle(Ie);var Pt=ji(Z.denom,Ye,q),Ur,Qr,vn;Z.hasBarLine?(Z.barSize?(Qr=li(Z.barSize,q),Ur=ut.makeLineSpan("frac-line",q,Qr)):Ur=ut.makeLineSpan("frac-line",q),Qr=Ur.height,vn=Ur.height):(Ur=null,Qr=0,vn=q.fontMetrics().defaultRuleThickness);var Tn,Un,Ei;ie.size===z.DISPLAY.size||Z.size==="display"?(Tn=q.fontMetrics().num1,Qr>0?Un=3*vn:Un=7*vn,Ei=q.fontMetrics().denom1):(Qr>0?(Tn=q.fontMetrics().num2,Un=vn):(Tn=q.fontMetrics().num3,Un=3*vn),Ei=q.fontMetrics().denom2);var ca;if(Ur){var fa=q.fontMetrics().axisHeight;Tn-Tt.depth-(fa+.5*Qr)<Un&&(Tn+=Un-(Tn-Tt.depth-(fa+.5*Qr))),fa-.5*Qr-(Pt.height-Ei)<Un&&(Ei+=Un-(fa-.5*Qr-(Pt.height-Ei)));var Ua=-(fa-.5*Qr);ca=ut.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pt,shift:Ei},{type:"elem",elem:Ur,shift:Ua},{type:"elem",elem:Tt,shift:-Tn}]},q)}else{var ta=Tn-Tt.depth-(Pt.height-Ei);ta<Un&&(Tn+=.5*(Un-ta),Ei+=.5*(Un-ta)),ca=ut.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pt,shift:Ei},{type:"elem",elem:Tt,shift:-Tn}]},q)}Ye=q.havingStyle(ie),ca.height*=Ye.sizeMultiplier/q.sizeMultiplier,ca.depth*=Ye.sizeMultiplier/q.sizeMultiplier;var es;ie.size===z.DISPLAY.size?es=q.fontMetrics().delim1:es=q.fontMetrics().delim2;var ds,is;return Z.leftDelim==null?ds=xs(q,["mopen"]):ds=bn.customSizedDelim(Z.leftDelim,es,!0,q.havingStyle(ie),Z.mode,["mopen"]),Z.continued?is=ut.makeSpan([]):Z.rightDelim==null?is=xs(q,["mclose"]):is=bn.customSizedDelim(Z.rightDelim,es,!0,q.havingStyle(ie),Z.mode,["mclose"]),ut.makeSpan(["mord"].concat(Ye.sizingClasses(q)),[ds,ut.makeSpan(["mfrac"],[ca]),is],q)},mn=function(Z,q){var ie=new Pn.MathNode("mfrac",[ka(Z.numer,q),ka(Z.denom,q)]);if(!Z.hasBarLine)ie.setAttribute("linethickness","0px");else if(Z.barSize){var he=li(Z.barSize,q);ie.setAttribute("linethickness",he+"em")}var Ie=eo(Z.size,q.style);if(Ie.size!==q.style.size){ie=new Pn.MathNode("mstyle",[ie]);var Ye=Ie.size===z.DISPLAY.size?"true":"false";ie.setAttribute("displaystyle",Ye),ie.setAttribute("scriptlevel","0")}if(Z.leftDelim!=null||Z.rightDelim!=null){var Tt=[];if(Z.leftDelim!=null){var jt=new Pn.MathNode("mo",[new Pn.TextNode(Z.leftDelim.replace("\\",""))]);jt.setAttribute("fence","true"),Tt.push(jt)}if(Tt.push(ie),Z.rightDelim!=null){var nr=new Pn.MathNode("mo",[new Pn.TextNode(Z.rightDelim.replace("\\",""))]);nr.setAttribute("fence","true"),Tt.push(nr)}return mo(Tt)}return ie};Cn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=q[0],Ye=q[1],Tt,jt=null,nr=null,Pt="auto";switch(he){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Tt=!0;break;case"\\\\atopfrac":Tt=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Tt=!1,jt="(",nr=")";break;case"\\\\bracefrac":Tt=!1,jt="\\{",nr="\\}";break;case"\\\\brackfrac":Tt=!1,jt="[",nr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(he){case"\\cfrac":case"\\dfrac":case"\\dbinom":Pt="display";break;case"\\tfrac":case"\\tbinom":Pt="text";break}return{type:"genfrac",mode:ie.mode,continued:he==="\\cfrac",numer:Ie,denom:Ye,hasBarLine:Tt,leftDelim:jt,rightDelim:nr,size:Pt,barSize:null}},htmlBuilder:to,mathmlBuilder:mn}),Cn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(Z){var q=Z.parser,ie=Z.funcName,he=Z.token,Ie;switch(ie){case"\\over":Ie="\\frac";break;case"\\choose":Ie="\\binom";break;case"\\atop":Ie="\\\\atopfrac";break;case"\\brace":Ie="\\\\bracefrac";break;case"\\brack":Ie="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:q.mode,replaceWith:Ie,token:he}}});var Es=["display","text","script","scriptscript"],Hs=function(Z){var q=null;return Z.length>0&&(q=Z,q=q==="."?null:q),q};Cn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(Z,q){var ie=Z.parser,he=q[4],Ie=q[5],Ye=br(q[0],"atom");Ye&&(Ye=Dr(q[0],"open"));var Tt=Ye?Hs(Ye.text):null,jt=br(q[1],"atom");jt&&(jt=Dr(q[1],"close"));var nr=jt?Hs(jt.text):null,Pt=ir(q[2],"size"),Ur,Qr=null;Pt.isBlank?Ur=!0:(Qr=Pt.value,Ur=Qr.number>0);var vn="auto",Tn=br(q[3],"ordgroup");if(Tn){if(Tn.body.length>0){var Un=ir(Tn.body[0],"textord");vn=Es[Number(Un.text)]}}else Tn=ir(q[3],"textord"),vn=Es[Number(Tn.text)];return{type:"genfrac",mode:ie.mode,numer:he,denom:Ie,continued:!1,hasBarLine:Ur,barSize:Qr,leftDelim:Tt,rightDelim:nr,size:vn}},htmlBuilder:to,mathmlBuilder:mn}),Cn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=Z.token;return{type:"infix",mode:ie.mode,replaceWith:"\\\\abovefrac",size:ir(q[0],"size").value,token:Ie}}}),Cn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=q[0],Ye=k(ir(q[1],"infix").size),Tt=q[2],jt=Ye.number>0;return{type:"genfrac",mode:ie.mode,numer:Ie,denom:Tt,continued:!1,hasBarLine:jt,barSize:Ye,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:to,mathmlBuilder:mn});var Xe=function(Z,q){var ie=q.style,he,Ie,Ye=br(Z,"supsub");Ye?(he=Ye.sup?ji(Ye.sup,q.havingStyle(ie.sup()),q):ji(Ye.sub,q.havingStyle(ie.sub()),q),Ie=ir(Ye.base,"horizBrace")):Ie=ir(Z,"horizBrace");var Tt=ji(Ie.base,q.havingBaseStyle(z.DISPLAY)),jt=ni.svgSpan(Ie,q),nr;if(Ie.isOver?(nr=ut.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"kern",size:.1},{type:"elem",elem:jt}]},q),nr.children[0].children[0].children[1].classes.push("svg-align")):(nr=ut.makeVList({positionType:"bottom",positionData:Tt.depth+.1+jt.height,children:[{type:"elem",elem:jt},{type:"kern",size:.1},{type:"elem",elem:Tt}]},q),nr.children[0].children[0].children[0].classes.push("svg-align")),he){var Pt=ut.makeSpan(["mord",Ie.isOver?"mover":"munder"],[nr],q);Ie.isOver?nr=ut.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pt},{type:"kern",size:.2},{type:"elem",elem:he}]},q):nr=ut.makeVList({positionType:"bottom",positionData:Pt.depth+.2+he.height+he.depth,children:[{type:"elem",elem:he},{type:"kern",size:.2},{type:"elem",elem:Pt}]},q)}return ut.makeSpan(["mord",Ie.isOver?"mover":"munder"],[nr],q)},Qe=function(Z,q){var ie=ni.mathMLnode(Z.label);return new Pn.MathNode(Z.isOver?"mover":"munder",[ka(Z.base,q),ie])};Cn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(Z,q){var ie=Z.parser,he=Z.funcName;return{type:"horizBrace",mode:ie.mode,label:he,isOver:/^\\over/.test(he),base:q[0]}},htmlBuilder:Xe,mathmlBuilder:Qe}),Cn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(Z,q){var ie=Z.parser,he=q[1],Ie=ir(q[0],"url").url;return ie.settings.isTrusted({command:"\\href",url:Ie})?{type:"href",mode:ie.mode,href:Ie,body:Oi(he)}:ie.formatUnsupportedCmd("\\href")},htmlBuilder:function(Z,q){var ie=Ba(Z.body,q,!1);return ut.makeAnchor(Z.href,[],ie,q)},mathmlBuilder:function(Z,q){var ie=Oa(Z.body,q);return ie instanceof Ji||(ie=new Ji("mrow",[ie])),ie.setAttribute("href",Z.href),ie}}),Cn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(Z,q){var ie=Z.parser,he=ir(q[0],"url").url;if(!ie.settings.isTrusted({command:"\\url",url:he}))return ie.formatUnsupportedCmd("\\url");for(var Ie=[],Ye=0;Ye<he.length;Ye++){var Tt=he[Ye];Tt==="~"&&(Tt="\\textasciitilde"),Ie.push({type:"textord",mode:"text",text:Tt})}var jt={type:"text",mode:ie.mode,font:"\\texttt",body:Ie};return{type:"href",mode:ie.mode,href:he,body:Oi(jt)}}}),Cn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(Z,q){var ie=Z.parser;return{type:"htmlmathml",mode:ie.mode,html:Oi(q[0]),mathml:Oi(q[1])}},htmlBuilder:function(Z,q){var ie=Ba(Z.html,q,!1);return ut.makeFragment(ie)},mathmlBuilder:function(Z,q){return Oa(Z.mathml,q)}});var Mt=function(Z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Z))return{number:+Z,unit:"bp"};var q=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Z);if(!q)throw new o("Invalid size: '"+Z+"' in \\includegraphics");var ie={number:+(q[1]+q[2]),unit:q[3]};if(!_i(ie))throw new o("Invalid unit: '"+ie.unit+"' in \\includegraphics.");return ie};Cn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(Z,q,ie){var he=Z.parser,Ie={number:0,unit:"em"},Ye={number:.9,unit:"em"},Tt={number:0,unit:"em"},jt="";if(ie[0])for(var nr=ir(ie[0],"raw").string,Pt=nr.split(","),Ur=0;Ur<Pt.length;Ur++){var Qr=Pt[Ur].split("=");if(Qr.length===2){var vn=Qr[1].trim();switch(Qr[0].trim()){case"alt":jt=vn;break;case"width":Ie=Mt(vn);break;case"height":Ye=Mt(vn);break;case"totalheight":Tt=Mt(vn);break;default:throw new o("Invalid key: '"+Qr[0]+"' in \\includegraphics.")}}}var Tn=ir(q[0],"url").url;return jt===""&&(jt=Tn,jt=jt.replace(/^.*[\\/]/,""),jt=jt.substring(0,jt.lastIndexOf("."))),he.settings.isTrusted({command:"\\includegraphics",url:Tn})?{type:"includegraphics",mode:he.mode,alt:jt,width:Ie,height:Ye,totalheight:Tt,src:Tn}:he.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(Z,q){var ie=li(Z.height,q),he=0;Z.totalheight.number>0&&(he=li(Z.totalheight,q)-ie,he=Number(he.toFixed(2)));var Ie=0;Z.width.number>0&&(Ie=li(Z.width,q));var Ye={height:ie+he+"em"};Ie>0&&(Ye.width=Ie+"em"),he>0&&(Ye.verticalAlign=-he+"em");var Tt=new Ue(Z.src,Z.alt,Ye);return Tt.height=ie,Tt.depth=he,Tt},mathmlBuilder:function(Z,q){var ie=new Pn.MathNode("mglyph",[]);ie.setAttribute("alt",Z.alt);var he=li(Z.height,q),Ie=0;if(Z.totalheight.number>0&&(Ie=li(Z.totalheight,q)-he,Ie=Ie.toFixed(2),ie.setAttribute("valign","-"+Ie+"em")),ie.setAttribute("height",he+Ie+"em"),Z.width.number>0){var Ye=li(Z.width,q);ie.setAttribute("width",Ye+"em")}return ie.setAttribute("src",Z.src),ie}}),Cn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=ir(q[0],"size");if(ie.settings.strict){var Ye=he[1]==="m",Tt=Ie.value.unit==="mu";Ye?(Tt||ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" supports only mu units, "+("not "+Ie.value.unit+" units")),ie.mode!=="math"&&ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" works only in math mode")):Tt&&ie.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" doesn't support mu units")}return{type:"kern",mode:ie.mode,dimension:Ie.value}},htmlBuilder:function(Z,q){return ut.makeGlue(Z.dimension,q)},mathmlBuilder:function(Z,q){var ie=li(Z.dimension,q);return new Pn.SpaceNode(ie)}}),Cn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=q[0];return{type:"lap",mode:ie.mode,alignment:he.slice(5),body:Ie}},htmlBuilder:function(Z,q){var ie;Z.alignment==="clap"?(ie=ut.makeSpan([],[ji(Z.body,q)]),ie=ut.makeSpan(["inner"],[ie],q)):ie=ut.makeSpan(["inner"],[ji(Z.body,q)]);var he=ut.makeSpan(["fix"],[]),Ie=ut.makeSpan([Z.alignment],[ie,he],q),Ye=ut.makeSpan(["strut"]);return Ye.style.height=Ie.height+Ie.depth+"em",Ye.style.verticalAlign=-Ie.depth+"em",Ie.children.unshift(Ye),Ie=ut.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ie}]},q),ut.makeSpan(["mord"],[Ie],q)},mathmlBuilder:function(Z,q){var ie=new Pn.MathNode("mpadded",[ka(Z.body,q)]);if(Z.alignment!=="rlap"){var he=Z.alignment==="llap"?"-1":"-0.5";ie.setAttribute("lspace",he+"width")}return ie.setAttribute("width","0px"),ie}}),Cn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,q){var ie=Z.funcName,he=Z.parser,Ie=he.mode;he.switchMode("math");var Ye=ie==="\\("?"\\)":"$",Tt=he.parseExpression(!1,Ye);return he.expect(Ye),he.switchMode(Ie),{type:"styling",mode:he.mode,style:"text",body:Tt}}}),Cn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,q){throw new o("Mismatched "+Z.funcName)}});var Wt=function(Z,q){switch(q.style.size){case z.DISPLAY.size:return Z.display;case z.TEXT.size:return Z.text;case z.SCRIPT.size:return Z.script;case z.SCRIPTSCRIPT.size:return Z.scriptscript;default:return Z.text}};Cn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(Z,q){var ie=Z.parser;return{type:"mathchoice",mode:ie.mode,display:Oi(q[0]),text:Oi(q[1]),script:Oi(q[2]),scriptscript:Oi(q[3])}},htmlBuilder:function(Z,q){var ie=Wt(Z,q),he=Ba(ie,q,!1);return ut.makeFragment(he)},mathmlBuilder:function(Z,q){var ie=Wt(Z,q);return Oa(ie,q)}});var mr=function(Z,q,ie,he,Ie,Ye,Tt){Z=ut.makeSpan([],[Z]);var jt,nr;if(q){var Pt=ji(q,he.havingStyle(Ie.sup()),he);nr={elem:Pt,kern:Math.max(he.fontMetrics().bigOpSpacing1,he.fontMetrics().bigOpSpacing3-Pt.depth)}}if(ie){var Ur=ji(ie,he.havingStyle(Ie.sub()),he);jt={elem:Ur,kern:Math.max(he.fontMetrics().bigOpSpacing2,he.fontMetrics().bigOpSpacing4-Ur.height)}}var Qr;if(nr&&jt){var vn=he.fontMetrics().bigOpSpacing5+jt.elem.height+jt.elem.depth+jt.kern+Z.depth+Tt;Qr=ut.makeVList({positionType:"bottom",positionData:vn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:jt.elem,marginLeft:-Ye+"em"},{type:"kern",size:jt.kern},{type:"elem",elem:Z},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ye+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else if(jt){var Tn=Z.height-Tt;Qr=ut.makeVList({positionType:"top",positionData:Tn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:jt.elem,marginLeft:-Ye+"em"},{type:"kern",size:jt.kern},{type:"elem",elem:Z}]},he)}else if(nr){var Un=Z.depth+Tt;Qr=ut.makeVList({positionType:"bottom",positionData:Un,children:[{type:"elem",elem:Z},{type:"kern",size:nr.kern},{type:"elem",elem:nr.elem,marginLeft:Ye+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else return Z;return ut.makeSpan(["mop","op-limits"],[Qr],he)},Lr=["\\smallint"],jr=function(Z,q){var ie,he,Ie=!1,Ye,Tt=br(Z,"supsub");Tt?(ie=Tt.sup,he=Tt.sub,Ye=ir(Tt.base,"op"),Ie=!0):Ye=ir(Z,"op");var jt=q.style,nr=!1;jt.size===z.DISPLAY.size&&Ye.symbol&&!T.contains(Lr,Ye.name)&&(nr=!0);var Pt;if(Ye.symbol){var Ur=nr?"Size2-Regular":"Size1-Regular",Qr="";if((Ye.name==="\\oiint"||Ye.name==="\\oiiint")&&(Qr=Ye.name.substr(1),Ye.name=Qr==="oiint"?"\\iint":"\\iiint"),Pt=ut.makeSymbol(Ye.name,Ur,"math",q,["mop","op-symbol",nr?"large-op":"small-op"]),Qr.length>0){var vn=Pt.italic,Tn=ut.staticSvg(Qr+"Size"+(nr?"2":"1"),q);Pt=ut.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Pt,shift:0},{type:"elem",elem:Tn,shift:nr?.08:0}]},q),Ye.name="\\"+Qr,Pt.classes.unshift("mop"),Pt.italic=vn}}else if(Ye.body){var Un=Ba(Ye.body,q,!0);Un.length===1&&Un[0]instanceof Ce?(Pt=Un[0],Pt.classes[0]="mop"):Pt=ut.makeSpan(["mop"],ut.tryCombineChars(Un),q)}else{for(var Ei=[],ca=1;ca<Ye.name.length;ca++)Ei.push(ut.mathsym(Ye.name[ca],Ye.mode,q));Pt=ut.makeSpan(["mop"],Ei,q)}var ta=0,fa=0;return(Pt instanceof Ce||Ye.name==="\\oiint"||Ye.name==="\\oiiint")&&!Ye.suppressBaseShift&&(ta=(Pt.height-Pt.depth)/2-q.fontMetrics().axisHeight,fa=Pt.italic),Ie?mr(Pt,ie,he,q,jt,fa,ta):(ta&&(Pt.style.position="relative",Pt.style.top=ta+"em"),Pt)},cn=function(Z,q){var ie;if(Z.symbol)ie=new Ji("mo",[Wa(Z.name,Z.mode)]),T.contains(Lr,Z.name)&&ie.setAttribute("largeop","false");else if(Z.body)ie=new Ji("mo",Li(Z.body,q));else{ie=new Ji("mi",[new Qa(Z.name.slice(1))]);var he=new Ji("mo",[Wa("\u2061","text")]);Z.parentIsSupSub?ie=new Ji("mo",[ie,he]):ie=Da([ie,he])}return ie},tn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Cn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=he;return Ie.length===1&&(Ie=tn[Ie]),{type:"op",mode:ie.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ie}},htmlBuilder:jr,mathmlBuilder:cn}),Cn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(Z,q){var ie=Z.parser,he=q[0];return{type:"op",mode:ie.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Oi(he)}},htmlBuilder:jr,mathmlBuilder:cn});var fn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Cn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(Z){var q=Z.parser,ie=Z.funcName;return{type:"op",mode:q.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:ie}},htmlBuilder:jr,mathmlBuilder:cn}),Cn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(Z){var q=Z.parser,ie=Z.funcName;return{type:"op",mode:q.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:ie}},htmlBuilder:jr,mathmlBuilder:cn}),Cn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(Z){var q=Z.parser,ie=Z.funcName,he=ie;return he.length===1&&(he=fn[he]),{type:"op",mode:q.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:he}},htmlBuilder:jr,mathmlBuilder:cn});var Hn=function(Z,q){var ie,he,Ie=!1,Ye,Tt=br(Z,"supsub");Tt?(ie=Tt.sup,he=Tt.sub,Ye=ir(Tt.base,"operatorname"),Ie=!0):Ye=ir(Z,"operatorname");var jt;if(Ye.body.length>0){for(var nr=Ye.body.map(function(vn){var Tn=vn.text;return typeof Tn=="string"?{type:"textord",mode:vn.mode,text:Tn}:vn}),Pt=Ba(nr,q.withFont("mathrm"),!0),Ur=0;Ur<Pt.length;Ur++){var Qr=Pt[Ur];Qr instanceof Ce&&(Qr.text=Qr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}jt=ut.makeSpan(["mop"],Pt,q)}else jt=ut.makeSpan(["mop"],[],q);return Ie?mr(jt,ie,he,q,q.style,0,0):jt},Kn=function(Z,q){for(var ie=Li(Z.body,q.withFont("mathrm")),he=!0,Ie=0;Ie<ie.length;Ie++){var Ye=ie[Ie];if(!(Ye instanceof Pn.SpaceNode))if(Ye instanceof Pn.MathNode)switch(Ye.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Tt=Ye.children[0];Ye.children.length===1&&Tt instanceof Pn.TextNode?Tt.text=Tt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):he=!1;break}default:he=!1}else he=!1}if(he){var jt=ie.map(function(Ur){return Ur.toText()}).join("");ie=[new Pn.TextNode(jt)]}var nr=new Pn.MathNode("mi",ie);nr.setAttribute("mathvariant","normal");var Pt=new Pn.MathNode("mo",[Wa("\u2061","text")]);return Z.parentIsSupSub?new Pn.MathNode("mo",[nr,Pt]):Pn.newDocumentFragment([nr,Pt])};Cn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=q[0];return{type:"operatorname",mode:ie.mode,body:Oi(Ie),alwaysHandleSupSub:he==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Hn,mathmlBuilder:Kn}),Pi({type:"ordgroup",htmlBuilder:function(Z,q){return Z.semisimple?ut.makeFragment(Ba(Z.body,q,!1)):ut.makeSpan(["mord"],Ba(Z.body,q,!0),q)},mathmlBuilder:function(Z,q){return Oa(Z.body,q,!0)}}),Cn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(Z,q){var ie=Z.parser,he=q[0];return{type:"overline",mode:ie.mode,body:he}},htmlBuilder:function(Z,q){var ie=ji(Z.body,q.havingCrampedStyle()),he=ut.makeLineSpan("overline-line",q),Ie=q.fontMetrics().defaultRuleThickness,Ye=ut.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ie},{type:"kern",size:3*Ie},{type:"elem",elem:he},{type:"kern",size:Ie}]},q);return ut.makeSpan(["mord","overline"],[Ye],q)},mathmlBuilder:function(Z,q){var ie=new Pn.MathNode("mo",[new Pn.TextNode("\u203E")]);ie.setAttribute("stretchy","true");var he=new Pn.MathNode("mover",[ka(Z.body,q),ie]);return he.setAttribute("accent","true"),he}}),Cn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,q){var ie=Z.parser,he=q[0];return{type:"phantom",mode:ie.mode,body:Oi(he)}},htmlBuilder:function(Z,q){var ie=Ba(Z.body,q.withPhantom(),!1);return ut.makeFragment(ie)},mathmlBuilder:function(Z,q){var ie=Li(Z.body,q);return new Pn.MathNode("mphantom",ie)}}),Cn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,q){var ie=Z.parser,he=q[0];return{type:"hphantom",mode:ie.mode,body:he}},htmlBuilder:function(Z,q){var ie=ut.makeSpan([],[ji(Z.body,q.withPhantom())]);if(ie.height=0,ie.depth=0,ie.children)for(var he=0;he<ie.children.length;he++)ie.children[he].height=0,ie.children[he].depth=0;return ie=ut.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ie}]},q),ut.makeSpan(["mord"],[ie],q)},mathmlBuilder:function(Z,q){var ie=Li(Oi(Z.body),q),he=new Pn.MathNode("mphantom",ie),Ie=new Pn.MathNode("mpadded",[he]);return Ie.setAttribute("height","0px"),Ie.setAttribute("depth","0px"),Ie}}),Cn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,q){var ie=Z.parser,he=q[0];return{type:"vphantom",mode:ie.mode,body:he}},htmlBuilder:function(Z,q){var ie=ut.makeSpan(["inner"],[ji(Z.body,q.withPhantom())]),he=ut.makeSpan(["fix"],[]);return ut.makeSpan(["mord","rlap"],[ie,he],q)},mathmlBuilder:function(Z,q){var ie=Li(Oi(Z.body),q),he=new Pn.MathNode("mphantom",ie),Ie=new Pn.MathNode("mpadded",[he]);return Ie.setAttribute("width","0px"),Ie}}),Cn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(Z,q){var ie=Z.parser,he=ir(q[0],"size").value,Ie=q[1];return{type:"raisebox",mode:ie.mode,dy:he,body:Ie}},htmlBuilder:function(Z,q){var ie=ji(Z.body,q),he=li(Z.dy,q);return ut.makeVList({positionType:"shift",positionData:-he,children:[{type:"elem",elem:ie}]},q)},mathmlBuilder:function(Z,q){var ie=new Pn.MathNode("mpadded",[ka(Z.body,q)]),he=Z.dy.number+Z.dy.unit;return ie.setAttribute("voffset",he),ie}}),Cn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(Z,q,ie){var he=Z.parser,Ie=ie[0],Ye=ir(q[0],"size"),Tt=ir(q[1],"size");return{type:"rule",mode:he.mode,shift:Ie&&ir(Ie,"size").value,width:Ye.value,height:Tt.value}},htmlBuilder:function(Z,q){var ie=ut.makeSpan(["mord","rule"],[],q),he=li(Z.width,q),Ie=li(Z.height,q),Ye=Z.shift?li(Z.shift,q):0;return ie.style.borderRightWidth=he+"em",ie.style.borderTopWidth=Ie+"em",ie.style.bottom=Ye+"em",ie.width=he,ie.height=Ie+Ye,ie.depth=-Ye,ie.maxFontSize=Ie*1.125*q.sizeMultiplier,ie},mathmlBuilder:function(Z,q){var ie=li(Z.width,q),he=li(Z.height,q),Ie=Z.shift?li(Z.shift,q):0,Ye=q.color&&q.getColor()||"black",Tt=new Pn.MathNode("mspace");Tt.setAttribute("mathbackground",Ye),Tt.setAttribute("width",ie+"em"),Tt.setAttribute("height",he+"em");var jt=new Pn.MathNode("mpadded",[Tt]);return Ie>=0?jt.setAttribute("height","+"+Ie+"em"):(jt.setAttribute("height",Ie+"em"),jt.setAttribute("depth","+"+-Ie+"em")),jt.setAttribute("voffset",Ie+"em"),jt}});function fi(We,Z,q){for(var ie=Ba(We,Z,!1),he=Z.sizeMultiplier/q.sizeMultiplier,Ie=0;Ie<ie.length;Ie++){var Ye=ie[Ie].classes.indexOf("sizing");Ye<0?Array.prototype.push.apply(ie[Ie].classes,Z.sizingClasses(q)):ie[Ie].classes[Ye+1]==="reset-size"+Z.size&&(ie[Ie].classes[Ye+1]="reset-size"+q.size),ie[Ie].height*=he,ie[Ie].depth*=he}return ut.makeFragment(ie)}var xi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],qi=function(Z,q){var ie=q.havingSize(Z.size);return fi(Z.body,ie,q)};Cn({type:"sizing",names:xi,props:{numArgs:0,allowedInText:!0},handler:function(Z,q){var ie=Z.breakOnTokenText,he=Z.funcName,Ie=Z.parser,Ye=Ie.parseExpression(!1,ie);return{type:"sizing",mode:Ie.mode,size:xi.indexOf(he)+1,body:Ye}},htmlBuilder:qi,mathmlBuilder:function(Z,q){var ie=q.havingSize(Z.size),he=Li(Z.body,ie),Ie=new Pn.MathNode("mstyle",he);return Ie.setAttribute("mathsize",ie.sizeMultiplier+"em"),Ie}}),Cn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(Z,q,ie){var he=Z.parser,Ie=!1,Ye=!1,Tt=ie[0]&&ir(ie[0],"ordgroup");if(Tt)for(var jt="",nr=0;nr<Tt.body.length;++nr){var Pt=Tt.body[nr];if(jt=Pt.text,jt==="t")Ie=!0;else if(jt==="b")Ye=!0;else{Ie=!1,Ye=!1;break}}else Ie=!0,Ye=!0;var Ur=q[0];return{type:"smash",mode:he.mode,body:Ur,smashHeight:Ie,smashDepth:Ye}},htmlBuilder:function(Z,q){var ie=ut.makeSpan([],[ji(Z.body,q)]);if(!Z.smashHeight&&!Z.smashDepth)return ie;if(Z.smashHeight&&(ie.height=0,ie.children))for(var he=0;he<ie.children.length;he++)ie.children[he].height=0;if(Z.smashDepth&&(ie.depth=0,ie.children))for(var Ie=0;Ie<ie.children.length;Ie++)ie.children[Ie].depth=0;var Ye=ut.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ie}]},q);return ut.makeSpan(["mord"],[Ye],q)},mathmlBuilder:function(Z,q){var ie=new Pn.MathNode("mpadded",[ka(Z.body,q)]);return Z.smashHeight&&ie.setAttribute("height","0px"),Z.smashDepth&&ie.setAttribute("depth","0px"),ie}}),Cn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,q,ie){var he=Z.parser,Ie=ie[0],Ye=q[0];return{type:"sqrt",mode:he.mode,body:Ye,index:Ie}},htmlBuilder:function(Z,q){var ie=ji(Z.body,q.havingCrampedStyle());ie.height===0&&(ie.height=q.fontMetrics().xHeight),ie=ut.wrapFragment(ie,q);var he=q.fontMetrics(),Ie=he.defaultRuleThickness,Ye=Ie;q.style.id<z.TEXT.id&&(Ye=q.fontMetrics().xHeight);var Tt=Ie+Ye/4,jt=ie.height+ie.depth+Tt+Ie,nr=bn.sqrtImage(jt,q),Pt=nr.span,Ur=nr.ruleWidth,Qr=nr.advanceWidth,vn=Pt.height-Ur;vn>ie.height+ie.depth+Tt&&(Tt=(Tt+vn-ie.height-ie.depth)/2);var Tn=Pt.height-ie.height-Tt-Ur;ie.style.paddingLeft=Qr+"em";var Un=ut.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ie,wrapperClasses:["svg-align"]},{type:"kern",size:-(ie.height+Tn)},{type:"elem",elem:Pt},{type:"kern",size:Ur}]},q);if(Z.index){var Ei=q.havingStyle(z.SCRIPTSCRIPT),ca=ji(Z.index,Ei,q),ta=.6*(Un.height-Un.depth),fa=ut.makeVList({positionType:"shift",positionData:-ta,children:[{type:"elem",elem:ca}]},q),Ua=ut.makeSpan(["root"],[fa]);return ut.makeSpan(["mord","sqrt"],[Ua,Un],q)}else return ut.makeSpan(["mord","sqrt"],[Un],q)},mathmlBuilder:function(Z,q){var ie=Z.body,he=Z.index;return he?new Pn.MathNode("mroot",[ka(ie,q),ka(he,q)]):new Pn.MathNode("msqrt",[ka(ie,q)])}});var Ri={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT};Cn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(Z,q){var ie=Z.breakOnTokenText,he=Z.funcName,Ie=Z.parser,Ye=Ie.parseExpression(!0,ie),Tt=he.slice(1,he.length-5);return{type:"styling",mode:Ie.mode,style:Tt,body:Ye}},htmlBuilder:function(Z,q){var ie=Ri[Z.style],he=q.havingStyle(ie).withFont("");return fi(Z.body,he,q)},mathmlBuilder:function(Z,q){var ie=Ri[Z.style],he=q.havingStyle(ie),Ie=Li(Z.body,he),Ye=new Pn.MathNode("mstyle",Ie),Tt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},jt=Tt[Z.style];return Ye.setAttribute("scriptlevel",jt[0]),Ye.setAttribute("displaystyle",jt[1]),Ye}});var wi=function(Z,q){var ie=Z.base;if(ie)if(ie.type==="op"){var he=ie.limits&&(q.style.size===z.DISPLAY.size||ie.alwaysHandleSupSub);return he?jr:null}else if(ie.type==="operatorname"){var Ie=ie.alwaysHandleSupSub&&(q.style.size===z.DISPLAY.size||ie.limits);return Ie?Hn:null}else{if(ie.type==="accent")return T.isCharacterBox(ie.base)?Ga:null;if(ie.type==="horizBrace"){var Ye=!Z.sub;return Ye===ie.isOver?Xe:null}else return null}else return null};Pi({type:"supsub",htmlBuilder:function(Z,q){var ie=wi(Z,q);if(ie)return ie(Z,q);var he=Z.base,Ie=Z.sup,Ye=Z.sub,Tt=ji(he,q),jt,nr,Pt=q.fontMetrics(),Ur=0,Qr=0,vn=he&&T.isCharacterBox(he);if(Ie){var Tn=q.havingStyle(q.style.sup());jt=ji(Ie,Tn,q),vn||(Ur=Tt.height-Tn.fontMetrics().supDrop*Tn.sizeMultiplier/q.sizeMultiplier)}if(Ye){var Un=q.havingStyle(q.style.sub());nr=ji(Ye,Un,q),vn||(Qr=Tt.depth+Un.fontMetrics().subDrop*Un.sizeMultiplier/q.sizeMultiplier)}var Ei;q.style===z.DISPLAY?Ei=Pt.sup1:q.style.cramped?Ei=Pt.sup3:Ei=Pt.sup2;var ca=q.sizeMultiplier,ta=.5/Pt.ptPerEm/ca+"em",fa=null;if(nr){var Ua=Z.base&&Z.base.type==="op"&&Z.base.name&&(Z.base.name==="\\oiint"||Z.base.name==="\\oiiint");(Tt instanceof Ce||Ua)&&(fa=-Tt.italic+"em")}var es;if(jt&&nr){Ur=Math.max(Ur,Ei,jt.depth+.25*Pt.xHeight),Qr=Math.max(Qr,Pt.sub2);var ds=Pt.defaultRuleThickness,is=4*ds;if(Ur-jt.depth-(nr.height-Qr)<is){Qr=is-(Ur-jt.depth)+nr.height;var Xi=.8*Pt.xHeight-(Ur-jt.depth);Xi>0&&(Ur+=Xi,Qr-=Xi)}var $s=[{type:"elem",elem:nr,shift:Qr,marginRight:ta,marginLeft:fa},{type:"elem",elem:jt,shift:-Ur,marginRight:ta}];es=ut.makeVList({positionType:"individualShift",children:$s},q)}else if(nr){Qr=Math.max(Qr,Pt.sub1,nr.height-.8*Pt.xHeight);var Ps=[{type:"elem",elem:nr,marginLeft:fa,marginRight:ta}];es=ut.makeVList({positionType:"shift",positionData:Qr,children:Ps},q)}else if(jt)Ur=Math.max(Ur,Ei,jt.depth+.25*Pt.xHeight),es=ut.makeVList({positionType:"shift",positionData:-Ur,children:[{type:"elem",elem:jt,marginRight:ta}]},q);else throw new Error("supsub must have either sup or sub.");var Sa=Xa(Tt,"right")||"mord";return ut.makeSpan([Sa],[Tt,ut.makeSpan(["msupsub"],[es])],q)},mathmlBuilder:function(Z,q){var ie=!1,he,Ie,Ye=br(Z.base,"horizBrace");Ye&&(Ie=!!Z.sup,Ie===Ye.isOver&&(ie=!0,he=Ye.isOver)),Z.base&&(Z.base.type==="op"||Z.base.type==="operatorname")&&(Z.base.parentIsSupSub=!0);var Tt=[ka(Z.base,q)];Z.sub&&Tt.push(ka(Z.sub,q)),Z.sup&&Tt.push(ka(Z.sup,q));var jt;if(ie)jt=he?"mover":"munder";else if(Z.sub)if(Z.sup){var Ur=Z.base;Ur&&Ur.type==="op"&&Ur.limits&&q.style===z.DISPLAY||Ur&&Ur.type==="operatorname"&&Ur.alwaysHandleSupSub&&(q.style===z.DISPLAY||Ur.limits)?jt="munderover":jt="msubsup"}else{var Pt=Z.base;Pt&&Pt.type==="op"&&Pt.limits&&(q.style===z.DISPLAY||Pt.alwaysHandleSupSub)||Pt&&Pt.type==="operatorname"&&Pt.alwaysHandleSupSub&&(Pt.limits||q.style===z.DISPLAY)?jt="munder":jt="msub"}else{var nr=Z.base;nr&&nr.type==="op"&&nr.limits&&(q.style===z.DISPLAY||nr.alwaysHandleSupSub)||nr&&nr.type==="operatorname"&&nr.alwaysHandleSupSub&&(nr.limits||q.style===z.DISPLAY)?jt="mover":jt="msup"}var Qr=new Pn.MathNode(jt,Tt);return Qr}}),Pi({type:"atom",htmlBuilder:function(Z,q){return ut.mathsym(Z.text,Z.mode,q,["m"+Z.family])},mathmlBuilder:function(Z,q){var ie=new Pn.MathNode("mo",[Wa(Z.text,Z.mode)]);if(Z.family==="bin"){var he=Bs(Z,q);he==="bold-italic"&&ie.setAttribute("mathvariant",he)}else Z.family==="punct"?ie.setAttribute("separator","true"):(Z.family==="open"||Z.family==="close")&&ie.setAttribute("stretchy","false");return ie}});var ha={mi:"italic",mn:"normal",mtext:"normal"};Pi({type:"mathord",htmlBuilder:function(Z,q){return ut.makeOrd(Z,q,"mathord")},mathmlBuilder:function(Z,q){var ie=new Pn.MathNode("mi",[Wa(Z.text,Z.mode,q)]),he=Bs(Z,q)||"italic";return he!==ha[ie.type]&&ie.setAttribute("mathvariant",he),ie}}),Pi({type:"textord",htmlBuilder:function(Z,q){return ut.makeOrd(Z,q,"textord")},mathmlBuilder:function(Z,q){var ie=Wa(Z.text,Z.mode,q),he=Bs(Z,q)||"normal",Ie;return Z.mode==="text"?Ie=new Pn.MathNode("mtext",[ie]):/[0-9]/.test(Z.text)?Ie=new Pn.MathNode("mn",[ie]):Z.text==="\\prime"?Ie=new Pn.MathNode("mo",[ie]):Ie=new Pn.MathNode("mi",[ie]),he!==ha[Ie.type]&&Ie.setAttribute("mathvariant",he),Ie}});var gi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},yi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Pi({type:"spacing",htmlBuilder:function(Z,q){if(yi.hasOwnProperty(Z.text)){var ie=yi[Z.text].className||"";if(Z.mode==="text"){var he=ut.makeOrd(Z,q,"textord");return he.classes.push(ie),he}else return ut.makeSpan(["mspace",ie],[ut.mathsym(Z.text,Z.mode,q)],q)}else{if(gi.hasOwnProperty(Z.text))return ut.makeSpan(["mspace",gi[Z.text]],[],q);throw new o('Unknown type of space "'+Z.text+'"')}},mathmlBuilder:function(Z,q){var ie;if(yi.hasOwnProperty(Z.text))ie=new Pn.MathNode("mtext",[new Pn.TextNode("\xA0")]);else{if(gi.hasOwnProperty(Z.text))return new Pn.MathNode("mspace");throw new o('Unknown type of space "'+Z.text+'"')}return ie}});var pa=function(){var Z=new Pn.MathNode("mtd",[]);return Z.setAttribute("width","50%"),Z};Pi({type:"tag",mathmlBuilder:function(Z,q){var ie=new Pn.MathNode("mtable",[new Pn.MathNode("mtr",[pa(),new Pn.MathNode("mtd",[Oa(Z.body,q)]),pa(),new Pn.MathNode("mtd",[Oa(Z.tag,q)])])]);return ie.setAttribute("width","100%"),ie}});var ro={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ss={"\\textbf":"textbf","\\textmd":"textmd"},Na={"\\textit":"textit","\\textup":"textup"},$a=function(Z,q){var ie=Z.font;return ie?ro[ie]?q.withTextFontFamily(ro[ie]):Ss[ie]?q.withTextFontWeight(Ss[ie]):q.withTextFontShape(Na[ie]):q};Cn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(Z,q){var ie=Z.parser,he=Z.funcName,Ie=q[0];return{type:"text",mode:ie.mode,body:Oi(Ie),font:he}},htmlBuilder:function(Z,q){var ie=$a(Z,q),he=Ba(Z.body,ie,!0);return ut.makeSpan(["mord","text"],ut.tryCombineChars(he),ie)},mathmlBuilder:function(Z,q){var ie=$a(Z,q);return Oa(Z.body,ie)}}),Cn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(Z,q){var ie=Z.parser;return{type:"underline",mode:ie.mode,body:q[0]}},htmlBuilder:function(Z,q){var ie=ji(Z.body,q),he=ut.makeLineSpan("underline-line",q),Ie=q.fontMetrics().defaultRuleThickness,Ye=ut.makeVList({positionType:"top",positionData:ie.height,children:[{type:"kern",size:Ie},{type:"elem",elem:he},{type:"kern",size:3*Ie},{type:"elem",elem:ie}]},q);return ut.makeSpan(["mord","underline"],[Ye],q)},mathmlBuilder:function(Z,q){var ie=new Pn.MathNode("mo",[new Pn.TextNode("\u203E")]);ie.setAttribute("stretchy","true");var he=new Pn.MathNode("munder",[ka(Z.body,q),ie]);return he.setAttribute("accentunder","true"),he}}),Cn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(Z,q,ie){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(Z,q){for(var ie=za(Z),he=[],Ie=q.havingStyle(q.style.text()),Ye=0;Ye<ie.length;Ye++){var Tt=ie[Ye];Tt==="~"&&(Tt="\\textasciitilde"),he.push(ut.makeSymbol(Tt,"Typewriter-Regular",Z.mode,Ie,["mord","texttt"]))}return ut.makeSpan(["mord","text"].concat(Ie.sizingClasses(q)),ut.tryCombineChars(he),Ie)},mathmlBuilder:function(Z,q){var ie=new Pn.TextNode(za(Z)),he=new Pn.MathNode("mtext",[ie]);return he.setAttribute("mathvariant","monospace"),he}});var za=function(Z){return Z.body.replace(/ /g,Z.star?"\u2423":"\xA0")},Ii=da,ga=Ii,La=`[ \r
]`,Ka="\\\\[a-zA-Z@]+",fo="\\\\[^\uD800-\uDFFF]",Ja=""+Ka+La+"*",Ea=new RegExp("^("+Ka+")"+La+"*$"),Ns="[\u0300-\u036F]",ea=new RegExp(Ns+"+$"),cs="("+La+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ns+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ns+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ja)+("|"+fo+")"),la=function(){function We(q,ie){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=q,this.settings=ie,this.tokenRegex=new RegExp(cs,"g"),this.catcodes={"%":14}}var Z=We.prototype;return Z.setCatcode=function(ie,he){this.catcodes[ie]=he},Z.lex=function(){var ie=this.input,he=this.tokenRegex.lastIndex;if(he===ie.length)return new c("EOF",new l(this,he,he));var Ie=this.tokenRegex.exec(ie);if(Ie===null||Ie.index!==he)throw new o("Unexpected character: '"+ie[he]+"'",new c(ie[he],new l(this,he,he+1)));var Ye=Ie[2]||" ";if(this.catcodes[Ye]===14){var Tt=ie.indexOf(`
`,this.tokenRegex.lastIndex);return Tt===-1?(this.tokenRegex.lastIndex=ie.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Tt+1,this.lex()}var jt=Ye.match(Ea);return jt&&(Ye=jt[1]),new c(Ye,new l(this,he,this.tokenRegex.lastIndex))},We}(),Ya=function(){function We(q,ie){q===void 0&&(q={}),ie===void 0&&(ie={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ie,this.builtins=q,this.undefStack=[]}var Z=We.prototype;return Z.beginGroup=function(){this.undefStack.push({})},Z.endGroup=function(){if(this.undefStack.length===0)throw new o("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var ie=this.undefStack.pop();for(var he in ie)ie.hasOwnProperty(he)&&(ie[he]===void 0?delete this.current[he]:this.current[he]=ie[he])},Z.has=function(ie){return this.current.hasOwnProperty(ie)||this.builtins.hasOwnProperty(ie)},Z.get=function(ie){return this.current.hasOwnProperty(ie)?this.current[ie]:this.builtins[ie]},Z.set=function(ie,he,Ie){if(Ie===void 0&&(Ie=!1),Ie){for(var Ye=0;Ye<this.undefStack.length;Ye++)delete this.undefStack[Ye][ie];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][ie]=he)}else{var Tt=this.undefStack[this.undefStack.length-1];Tt&&!Tt.hasOwnProperty(ie)&&(Tt[ie]=this.current[ie])}this.current[ie]=he},We}(),gs={},ya=gs;function be(We,Z){gs[We]=Z}be("\\@firstoftwo",function(We){var Z=We.consumeArgs(2);return{tokens:Z[0],numArgs:0}}),be("\\@secondoftwo",function(We){var Z=We.consumeArgs(2);return{tokens:Z[1],numArgs:0}}),be("\\@ifnextchar",function(We){var Z=We.consumeArgs(3),q=We.future();return Z[0].length===1&&Z[0][0].text===q.text?{tokens:Z[1],numArgs:0}:{tokens:Z[2],numArgs:0}}),be("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),be("\\TextOrMath",function(We){var Z=We.consumeArgs(2);return We.mode==="text"?{tokens:Z[0],numArgs:0}:{tokens:Z[1],numArgs:0}});var Te={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};be("\\char",function(We){var Z=We.popToken(),q,ie="";if(Z.text==="'")q=8,Z=We.popToken();else if(Z.text==='"')q=16,Z=We.popToken();else if(Z.text==="`")if(Z=We.popToken(),Z.text[0]==="\\")ie=Z.text.charCodeAt(1);else{if(Z.text==="EOF")throw new o("\\char` missing argument");ie=Z.text.charCodeAt(0)}else q=10;if(q){if(ie=Te[Z.text],ie==null||ie>=q)throw new o("Invalid base-"+q+" digit "+Z.text);for(var he;(he=Te[We.future().text])!=null&&he<q;)ie*=q,ie+=he,We.popToken()}return"\\@char{"+ie+"}"});var yr=function(Z,q){var ie=Z.consumeArgs(1)[0];if(ie.length!==1)throw new o("\\gdef's first argument must be a macro name");var he=ie[0].text,Ie=0;for(ie=Z.consumeArgs(1)[0];ie.length===1&&ie[0].text==="#";){if(ie=Z.consumeArgs(1)[0],ie.length!==1)throw new o('Invalid argument number length "'+ie.length+'"');if(!/^[1-9]$/.test(ie[0].text))throw new o('Invalid argument number "'+ie[0].text+'"');if(Ie++,parseInt(ie[0].text)!==Ie)throw new o('Argument number "'+ie[0].text+'" out of order');ie=Z.consumeArgs(1)[0]}return Z.macros.set(he,{tokens:ie,numArgs:Ie},q),""};be("\\gdef",function(We){return yr(We,!0)}),be("\\def",function(We){return yr(We,!1)}),be("\\global",function(We){var Z=We.consumeArgs(1)[0];if(Z.length!==1)throw new o("Invalid command after \\global");var q=Z[0].text;if(q==="\\def")return yr(We,!0);throw new o("Invalid command '"+q+"' after \\global")});var Kr=function(Z,q,ie){var he=Z.consumeArgs(1)[0];if(he.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Ie=he[0].text,Ye=Z.isDefined(Ie);if(Ye&&!q)throw new o("\\newcommand{"+Ie+"} attempting to redefine "+(Ie+"; use \\renewcommand"));if(!Ye&&!ie)throw new o("\\renewcommand{"+Ie+"} when command "+Ie+" does not yet exist; use \\newcommand");var Tt=0;if(he=Z.consumeArgs(1)[0],he.length===1&&he[0].text==="["){for(var jt="",nr=Z.expandNextToken();nr.text!=="]"&&nr.text!=="EOF";)jt+=nr.text,nr=Z.expandNextToken();if(!jt.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+jt);Tt=parseInt(jt),he=Z.consumeArgs(1)[0]}return Z.macros.set(Ie,{tokens:he,numArgs:Tt}),""};be("\\newcommand",function(We){return Kr(We,!1,!0)}),be("\\renewcommand",function(We){return Kr(We,!0,!1)}),be("\\providecommand",function(We){return Kr(We,!0,!0)}),be("\\bgroup","{"),be("\\egroup","}"),be("\\lq","`"),be("\\rq","'"),be("\\aa","\\r a"),be("\\AA","\\r A"),be("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),be("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),be("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),be("\u212C","\\mathscr{B}"),be("\u2130","\\mathscr{E}"),be("\u2131","\\mathscr{F}"),be("\u210B","\\mathscr{H}"),be("\u2110","\\mathscr{I}"),be("\u2112","\\mathscr{L}"),be("\u2133","\\mathscr{M}"),be("\u211B","\\mathscr{R}"),be("\u212D","\\mathfrak{C}"),be("\u210C","\\mathfrak{H}"),be("\u2128","\\mathfrak{Z}"),be("\\Bbbk","\\Bbb{k}"),be("\xB7","\\cdotp"),be("\\llap","\\mathllap{\\textrm{#1}}"),be("\\rlap","\\mathrlap{\\textrm{#1}}"),be("\\clap","\\mathclap{\\textrm{#1}}"),be("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),be("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),be("\\ne","\\neq"),be("\u2260","\\neq"),be("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),be("\u2209","\\notin"),be("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),be("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),be("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),be("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),be("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),be("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),be("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),be("\u27C2","\\perp"),be("\u203C","\\mathclose{!\\mkern-0.8mu!}"),be("\u220C","\\notni"),be("\u231C","\\ulcorner"),be("\u231D","\\urcorner"),be("\u231E","\\llcorner"),be("\u231F","\\lrcorner"),be("\xA9","\\copyright"),be("\xAE","\\textregistered"),be("\uFE0F","\\textregistered"),be("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),be("\u22EE","\\vdots"),be("\\varGamma","\\mathit{\\Gamma}"),be("\\varDelta","\\mathit{\\Delta}"),be("\\varTheta","\\mathit{\\Theta}"),be("\\varLambda","\\mathit{\\Lambda}"),be("\\varXi","\\mathit{\\Xi}"),be("\\varPi","\\mathit{\\Pi}"),be("\\varSigma","\\mathit{\\Sigma}"),be("\\varUpsilon","\\mathit{\\Upsilon}"),be("\\varPhi","\\mathit{\\Phi}"),be("\\varPsi","\\mathit{\\Psi}"),be("\\varOmega","\\mathit{\\Omega}"),be("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),be("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),be("\\boxed","\\fbox{$\\displaystyle{#1}$}"),be("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),be("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),be("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var gr={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};be("\\dots",function(We){var Z="\\dotso",q=We.expandAfterFuture().text;return q in gr?Z=gr[q]:(q.substr(0,4)==="\\not"||q in Ke.math&&T.contains(["bin","rel"],Ke.math[q].group))&&(Z="\\dotsb"),Z});var Wr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};be("\\dotso",function(We){var Z=We.future().text;return Z in Wr?"\\ldots\\,":"\\ldots"}),be("\\dotsc",function(We){var Z=We.future().text;return Z in Wr&&Z!==","?"\\ldots\\,":"\\ldots"}),be("\\cdots",function(We){var Z=We.future().text;return Z in Wr?"\\@cdots\\,":"\\@cdots"}),be("\\dotsb","\\cdots"),be("\\dotsm","\\cdots"),be("\\dotsi","\\!\\cdots"),be("\\dotsx","\\ldots\\,"),be("\\DOTSI","\\relax"),be("\\DOTSB","\\relax"),be("\\DOTSX","\\relax"),be("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),be("\\,","\\tmspace+{3mu}{.1667em}"),be("\\thinspace","\\,"),be("\\>","\\mskip{4mu}"),be("\\:","\\tmspace+{4mu}{.2222em}"),be("\\medspace","\\:"),be("\\;","\\tmspace+{5mu}{.2777em}"),be("\\thickspace","\\;"),be("\\!","\\tmspace-{3mu}{.1667em}"),be("\\negthinspace","\\!"),be("\\negmedspace","\\tmspace-{4mu}{.2222em}"),be("\\negthickspace","\\tmspace-{5mu}{.277em}"),be("\\enspace","\\kern.5em "),be("\\enskip","\\hskip.5em\\relax"),be("\\quad","\\hskip1em\\relax"),be("\\qquad","\\hskip2em\\relax"),be("\\tag","\\@ifstar\\tag@literal\\tag@paren"),be("\\tag@paren","\\tag@literal{({#1})}"),be("\\tag@literal",function(We){if(We.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),be("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),be("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),be("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),be("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),be("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),be("\\\\","\\newline"),be("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var xn=Gt["Main-Regular"][84][1]-.7*Gt["Main-Regular"][65][1]+"em";be("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+xn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),be("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+xn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),be("\\hspace","\\@ifstar\\@hspacer\\@hspace"),be("\\@hspace","\\hskip #1\\relax"),be("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),be("\\ordinarycolon",":"),be("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),be("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),be("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),be("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),be("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),be("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),be("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),be("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),be("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),be("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),be("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),be("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),be("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),be("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),be("\u2237","\\dblcolon"),be("\u2239","\\eqcolon"),be("\u2254","\\coloneqq"),be("\u2255","\\eqqcolon"),be("\u2A74","\\Coloneqq"),be("\\ratio","\\vcentcolon"),be("\\coloncolon","\\dblcolon"),be("\\colonequals","\\coloneqq"),be("\\coloncolonequals","\\Coloneqq"),be("\\equalscolon","\\eqqcolon"),be("\\equalscoloncolon","\\Eqqcolon"),be("\\colonminus","\\coloneq"),be("\\coloncolonminus","\\Coloneq"),be("\\minuscolon","\\eqcolon"),be("\\minuscoloncolon","\\Eqcolon"),be("\\coloncolonapprox","\\Colonapprox"),be("\\coloncolonsim","\\Colonsim"),be("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),be("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),be("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),be("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),be("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),be("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),be("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),be("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),be("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),be("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),be("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),be("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),be("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),be("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),be("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),be("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),be("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),be("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),be("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),be("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),be("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),be("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),be("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),be("\u27E6","\\llbracket"),be("\u27E7","\\rrbracket"),be("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),be("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),be("\u2983","\\lBrace"),be("\u2984","\\rBrace"),be("\\darr","\\downarrow"),be("\\dArr","\\Downarrow"),be("\\Darr","\\Downarrow"),be("\\lang","\\langle"),be("\\rang","\\rangle"),be("\\uarr","\\uparrow"),be("\\uArr","\\Uparrow"),be("\\Uarr","\\Uparrow"),be("\\N","\\mathbb{N}"),be("\\R","\\mathbb{R}"),be("\\Z","\\mathbb{Z}"),be("\\alef","\\aleph"),be("\\alefsym","\\aleph"),be("\\Alpha","\\mathrm{A}"),be("\\Beta","\\mathrm{B}"),be("\\bull","\\bullet"),be("\\Chi","\\mathrm{X}"),be("\\clubs","\\clubsuit"),be("\\cnums","\\mathbb{C}"),be("\\Complex","\\mathbb{C}"),be("\\Dagger","\\ddagger"),be("\\diamonds","\\diamondsuit"),be("\\empty","\\emptyset"),be("\\Epsilon","\\mathrm{E}"),be("\\Eta","\\mathrm{H}"),be("\\exist","\\exists"),be("\\harr","\\leftrightarrow"),be("\\hArr","\\Leftrightarrow"),be("\\Harr","\\Leftrightarrow"),be("\\hearts","\\heartsuit"),be("\\image","\\Im"),be("\\infin","\\infty"),be("\\Iota","\\mathrm{I}"),be("\\isin","\\in"),be("\\Kappa","\\mathrm{K}"),be("\\larr","\\leftarrow"),be("\\lArr","\\Leftarrow"),be("\\Larr","\\Leftarrow"),be("\\lrarr","\\leftrightarrow"),be("\\lrArr","\\Leftrightarrow"),be("\\Lrarr","\\Leftrightarrow"),be("\\Mu","\\mathrm{M}"),be("\\natnums","\\mathbb{N}"),be("\\Nu","\\mathrm{N}"),be("\\Omicron","\\mathrm{O}"),be("\\plusmn","\\pm"),be("\\rarr","\\rightarrow"),be("\\rArr","\\Rightarrow"),be("\\Rarr","\\Rightarrow"),be("\\real","\\Re"),be("\\reals","\\mathbb{R}"),be("\\Reals","\\mathbb{R}"),be("\\Rho","\\mathrm{P}"),be("\\sdot","\\cdot"),be("\\sect","\\S"),be("\\spades","\\spadesuit"),be("\\sub","\\subset"),be("\\sube","\\subseteq"),be("\\supe","\\supseteq"),be("\\Tau","\\mathrm{T}"),be("\\thetasym","\\vartheta"),be("\\weierp","\\wp"),be("\\Zeta","\\mathrm{Z}"),be("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),be("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),be("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),be("\\blue","\\textcolor{##6495ed}{#1}"),be("\\orange","\\textcolor{##ffa500}{#1}"),be("\\pink","\\textcolor{##ff00af}{#1}"),be("\\red","\\textcolor{##df0030}{#1}"),be("\\green","\\textcolor{##28ae7b}{#1}"),be("\\gray","\\textcolor{gray}{#1}"),be("\\purple","\\textcolor{##9d38bd}{#1}"),be("\\blueA","\\textcolor{##ccfaff}{#1}"),be("\\blueB","\\textcolor{##80f6ff}{#1}"),be("\\blueC","\\textcolor{##63d9ea}{#1}"),be("\\blueD","\\textcolor{##11accd}{#1}"),be("\\blueE","\\textcolor{##0c7f99}{#1}"),be("\\tealA","\\textcolor{##94fff5}{#1}"),be("\\tealB","\\textcolor{##26edd5}{#1}"),be("\\tealC","\\textcolor{##01d1c1}{#1}"),be("\\tealD","\\textcolor{##01a995}{#1}"),be("\\tealE","\\textcolor{##208170}{#1}"),be("\\greenA","\\textcolor{##b6ffb0}{#1}"),be("\\greenB","\\textcolor{##8af281}{#1}"),be("\\greenC","\\textcolor{##74cf70}{#1}"),be("\\greenD","\\textcolor{##1fab54}{#1}"),be("\\greenE","\\textcolor{##0d923f}{#1}"),be("\\goldA","\\textcolor{##ffd0a9}{#1}"),be("\\goldB","\\textcolor{##ffbb71}{#1}"),be("\\goldC","\\textcolor{##ff9c39}{#1}"),be("\\goldD","\\textcolor{##e07d10}{#1}"),be("\\goldE","\\textcolor{##a75a05}{#1}"),be("\\redA","\\textcolor{##fca9a9}{#1}"),be("\\redB","\\textcolor{##ff8482}{#1}"),be("\\redC","\\textcolor{##f9685d}{#1}"),be("\\redD","\\textcolor{##e84d39}{#1}"),be("\\redE","\\textcolor{##bc2612}{#1}"),be("\\maroonA","\\textcolor{##ffbde0}{#1}"),be("\\maroonB","\\textcolor{##ff92c6}{#1}"),be("\\maroonC","\\textcolor{##ed5fa6}{#1}"),be("\\maroonD","\\textcolor{##ca337c}{#1}"),be("\\maroonE","\\textcolor{##9e034e}{#1}"),be("\\purpleA","\\textcolor{##ddd7ff}{#1}"),be("\\purpleB","\\textcolor{##c6b9fc}{#1}"),be("\\purpleC","\\textcolor{##aa87ff}{#1}"),be("\\purpleD","\\textcolor{##7854ab}{#1}"),be("\\purpleE","\\textcolor{##543b78}{#1}"),be("\\mintA","\\textcolor{##f5f9e8}{#1}"),be("\\mintB","\\textcolor{##edf2df}{#1}"),be("\\mintC","\\textcolor{##e0e5cc}{#1}"),be("\\grayA","\\textcolor{##f6f7f7}{#1}"),be("\\grayB","\\textcolor{##f0f1f2}{#1}"),be("\\grayC","\\textcolor{##e3e5e6}{#1}"),be("\\grayD","\\textcolor{##d6d8da}{#1}"),be("\\grayE","\\textcolor{##babec2}{#1}"),be("\\grayF","\\textcolor{##888d93}{#1}"),be("\\grayG","\\textcolor{##626569}{#1}"),be("\\grayH","\\textcolor{##3b3e40}{#1}"),be("\\grayI","\\textcolor{##21242c}{#1}"),be("\\kaBlue","\\textcolor{##314453}{#1}"),be("\\kaGreen","\\textcolor{##71B307}{#1}");var Gn={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Di=function(){function We(q,ie,he){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=ie,this.expansionCount=0,this.feed(q),this.macros=new Ya(ya,ie.macros),this.mode=he,this.stack=[]}var Z=We.prototype;return Z.feed=function(ie){this.lexer=new la(ie,this.settings)},Z.switchMode=function(ie){this.mode=ie},Z.beginGroup=function(){this.macros.beginGroup()},Z.endGroup=function(){this.macros.endGroup()},Z.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},Z.popToken=function(){return this.future(),this.stack.pop()},Z.pushToken=function(ie){this.stack.push(ie)},Z.pushTokens=function(ie){var he;(he=this.stack).push.apply(he,ie)},Z.consumeSpaces=function(){for(;;){var ie=this.future();if(ie.text===" ")this.stack.pop();else break}},Z.consumeArgs=function(ie){for(var he=[],Ie=0;Ie<ie;++Ie){this.consumeSpaces();var Ye=this.popToken();if(Ye.text==="{"){for(var Tt=[],jt=1;jt!==0;){var nr=this.popToken();if(Tt.push(nr),nr.text==="{")++jt;else if(nr.text==="}")--jt;else if(nr.text==="EOF")throw new o("End of input in macro argument",Ye)}Tt.pop(),Tt.reverse(),he[Ie]=Tt}else{if(Ye.text==="EOF")throw new o("End of input expecting macro argument");he[Ie]=[Ye]}}return he},Z.expandOnce=function(){var ie=this.popToken(),he=ie.text,Ie=this._getExpansion(he);if(Ie==null)return this.pushToken(ie),ie;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Ye=Ie.tokens;if(Ie.numArgs){var Tt=this.consumeArgs(Ie.numArgs);Ye=Ye.slice();for(var jt=Ye.length-1;jt>=0;--jt){var nr=Ye[jt];if(nr.text==="#"){if(jt===0)throw new o("Incomplete placeholder at end of macro body",nr);if(nr=Ye[--jt],nr.text==="#")Ye.splice(jt+1,1);else if(/^[1-9]$/.test(nr.text)){var Pt;(Pt=Ye).splice.apply(Pt,[jt,2].concat(Tt[+nr.text-1]))}else throw new o("Not a valid argument number",nr)}}}return this.pushTokens(Ye),Ye},Z.expandAfterFuture=function(){return this.expandOnce(),this.future()},Z.expandNextToken=function(){for(;;){var ie=this.expandOnce();if(ie instanceof c)if(ie.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},Z.expandMacro=function(ie){if(this.macros.get(ie)){var he=[],Ie=this.stack.length;for(this.pushToken(new c(ie));this.stack.length>Ie;){var Ye=this.expandOnce();Ye instanceof c&&he.push(this.stack.pop())}return he}},Z.expandMacroAsText=function(ie){var he=this.expandMacro(ie);return he&&he.map(function(Ie){return Ie.text}).join("")},Z._getExpansion=function(ie){var he=this.macros.get(ie);if(he==null)return he;var Ie=typeof he=="function"?he(this):he;if(typeof Ie=="string"){var Ye=0;if(Ie.indexOf("#")!==-1)for(var Tt=Ie.replace(/##/g,"");Tt.indexOf("#"+(Ye+1))!==-1;)++Ye;for(var jt=new la(Ie,this.settings),nr=[],Pt=jt.lex();Pt.text!=="EOF";)nr.push(Pt),Pt=jt.lex();nr.reverse();var Ur={tokens:nr,numArgs:Ye};return Ur}return Ie},Z.isDefined=function(ie){return this.macros.has(ie)||ga.hasOwnProperty(ie)||Ke.math.hasOwnProperty(ie)||Ke.text.hasOwnProperty(ie)||Gn.hasOwnProperty(ie)},We}(),On={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},Rn={\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"},En=function(){function We(q,ie){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 Di(q,ie,this.mode),this.settings=ie,this.leftrightDepth=0}var Z=We.prototype;return Z.expect=function(ie,he){if(he===void 0&&(he=!0),this.fetch().text!==ie)throw new o("Expected '"+ie+"', got '"+this.fetch().text+"'",this.fetch());he&&this.consume()},Z.consume=function(){this.nextToken=null},Z.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},Z.switchMode=function(ie){this.mode=ie,this.gullet.switchMode(ie)},Z.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var ie=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),ie},Z.parseExpression=function(ie,he){for(var Ie=[];;){this.mode==="math"&&this.consumeSpaces();var Ye=this.fetch();if(We.endOfExpression.indexOf(Ye.text)!==-1||he&&Ye.text===he||ie&&ga[Ye.text]&&ga[Ye.text].infix)break;var Tt=this.parseAtom(he);if(!Tt)break;Ie.push(Tt)}return this.mode==="text"&&this.formLigatures(Ie),this.handleInfixNodes(Ie)},Z.handleInfixNodes=function(ie){for(var he=-1,Ie,Ye=0;Ye<ie.length;Ye++){var Tt=br(ie[Ye],"infix");if(Tt){if(he!==-1)throw new o("only one infix operator per group",Tt.token);he=Ye,Ie=Tt.replaceWith}}if(he!==-1&&Ie){var jt,nr,Pt=ie.slice(0,he),Ur=ie.slice(he+1);Pt.length===1&&Pt[0].type==="ordgroup"?jt=Pt[0]:jt={type:"ordgroup",mode:this.mode,body:Pt},Ur.length===1&&Ur[0].type==="ordgroup"?nr=Ur[0]:nr={type:"ordgroup",mode:this.mode,body:Ur};var Qr;return Ie==="\\\\abovefrac"?Qr=this.callFunction(Ie,[jt,ie[he],nr],[]):Qr=this.callFunction(Ie,[jt,nr],[]),[Qr]}else return ie},Z.handleSupSubscript=function(ie){var he=this.fetch(),Ie=he.text;this.consume();var Ye=this.parseGroup(ie,!1,We.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ye)throw new o("Expected group after '"+Ie+"'",he);return Ye},Z.formatUnsupportedCmd=function(ie){for(var he=[],Ie=0;Ie<ie.length;Ie++)he.push({type:"textord",mode:"text",text:ie[Ie]});var Ye={type:"text",mode:this.mode,body:he},Tt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ye]};return Tt},Z.parseAtom=function(ie){var he=this.parseGroup("atom",!1,null,ie);if(this.mode==="text")return he;for(var Ie,Ye;;){this.consumeSpaces();var Tt=this.fetch();if(Tt.text==="\\limits"||Tt.text==="\\nolimits"){var jt=br(he,"op");if(jt){var nr=Tt.text==="\\limits";jt.limits=nr,jt.alwaysHandleSupSub=!0}else if(jt=br(he,"operatorname"),jt&&jt.alwaysHandleSupSub){var Pt=Tt.text==="\\limits";jt.limits=Pt}else throw new o("Limit controls must follow a math operator",Tt);this.consume()}else if(Tt.text==="^"){if(Ie)throw new o("Double superscript",Tt);Ie=this.handleSupSubscript("superscript")}else if(Tt.text==="_"){if(Ye)throw new o("Double subscript",Tt);Ye=this.handleSupSubscript("subscript")}else if(Tt.text==="'"){if(Ie)throw new o("Double superscript",Tt);var Ur={type:"textord",mode:this.mode,text:"\\prime"},Qr=[Ur];for(this.consume();this.fetch().text==="'";)Qr.push(Ur),this.consume();this.fetch().text==="^"&&Qr.push(this.handleSupSubscript("superscript")),Ie={type:"ordgroup",mode:this.mode,body:Qr}}else break}return Ie||Ye?{type:"supsub",mode:this.mode,base:he,sup:Ie,sub:Ye}:he},Z.parseFunction=function(ie,he,Ie){var Ye=this.fetch(),Tt=Ye.text,jt=ga[Tt];if(!jt)return null;if(this.consume(),Ie!=null&&jt.greediness<=Ie)throw new o("Got function '"+Tt+"' with no arguments"+(he?" as "+he:""),Ye);if(this.mode==="text"&&!jt.allowedInText)throw new o("Can't use function '"+Tt+"' in text mode",Ye);if(this.mode==="math"&&jt.allowedInMath===!1)throw new o("Can't use function '"+Tt+"' in math mode",Ye);var nr=this.parseArguments(Tt,jt),Pt=nr.args,Ur=nr.optArgs;return this.callFunction(Tt,Pt,Ur,Ye,ie)},Z.callFunction=function(ie,he,Ie,Ye,Tt){var jt={funcName:ie,parser:this,token:Ye,breakOnTokenText:Tt},nr=ga[ie];if(nr&&nr.handler)return nr.handler(jt,he,Ie);throw new o("No function handler for "+ie)},Z.parseArguments=function(ie,he){var Ie=he.numArgs+he.numOptionalArgs;if(Ie===0)return{args:[],optArgs:[]};for(var Ye=he.greediness,Tt=[],jt=[],nr=0;nr<Ie;nr++){var Pt=he.argTypes&&he.argTypes[nr],Ur=nr<he.numOptionalArgs,Qr=nr>0&&!Ur||nr===0&&!Ur&&this.mode==="math",vn=this.parseGroupOfType("argument to '"+ie+"'",Pt,Ur,Ye,Qr);if(!vn){if(Ur){jt.push(null);continue}throw new o("Expected group after '"+ie+"'",this.fetch())}(Ur?jt:Tt).push(vn)}return{args:Tt,optArgs:jt}},Z.parseGroupOfType=function(ie,he,Ie,Ye,Tt){switch(he){case"color":return Tt&&this.consumeSpaces(),this.parseColorGroup(Ie);case"size":return Tt&&this.consumeSpaces(),this.parseSizeGroup(Ie);case"url":return this.parseUrlGroup(Ie,Tt);case"math":case"text":return this.parseGroup(ie,Ie,Ye,void 0,he,Tt);case"hbox":{var jt=this.parseGroup(ie,Ie,Ye,void 0,"text",Tt);if(!jt)return jt;var nr={type:"styling",mode:jt.mode,body:[jt],style:"text"};return nr}case"raw":{if(Tt&&this.consumeSpaces(),Ie&&this.fetch().text==="{")return null;var Pt=this.parseStringGroup("raw",Ie,!0);if(Pt)return{type:"raw",mode:"text",string:Pt.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(ie,Ie,Ye,void 0,void 0,Tt);default:throw new o("Unknown group type as "+ie,this.fetch())}},Z.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},Z.parseStringGroup=function(ie,he,Ie){var Ye=he?"[":"{",Tt=he?"]":"}",jt=this.fetch();if(jt.text!==Ye){if(he)return null;if(Ie&&jt.text!=="EOF"&&/[^{}[\]]/.test(jt.text))return this.consume(),jt}var nr=this.mode;this.mode="text",this.expect(Ye);for(var Pt="",Ur=this.fetch(),Qr=0,vn=Ur,Tn;(Tn=this.fetch()).text!==Tt||Ie&&Qr>0;){switch(Tn.text){case"EOF":throw new o("Unexpected end of input in "+ie,Ur.range(vn,Pt));case Ye:Qr++;break;case Tt:Qr--;break}vn=Tn,Pt+=vn.text,this.consume()}return this.expect(Tt),this.mode=nr,Ur.range(vn,Pt)},Z.parseRegexGroup=function(ie,he){var Ie=this.mode;this.mode="text";for(var Ye=this.fetch(),Tt=Ye,jt="",nr;(nr=this.fetch()).text!=="EOF"&&ie.test(jt+nr.text);)Tt=nr,jt+=Tt.text,this.consume();if(jt==="")throw new o("Invalid "+he+": '"+Ye.text+"'",Ye);return this.mode=Ie,Ye.range(Tt,jt)},Z.parseColorGroup=function(ie){var he=this.parseStringGroup("color",ie);if(!he)return null;var Ie=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(he.text);if(!Ie)throw new o("Invalid color: '"+he.text+"'",he);var Ye=Ie[0];return/^[0-9a-f]{6}$/i.test(Ye)&&(Ye="#"+Ye),{type:"color-token",mode:this.mode,color:Ye}},Z.parseSizeGroup=function(ie){var he,Ie=!1;if(!ie&&this.fetch().text!=="{"?he=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):he=this.parseStringGroup("size",ie),!he)return null;!ie&&he.text.length===0&&(he.text="0pt",Ie=!0);var Ye=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(he.text);if(!Ye)throw new o("Invalid size: '"+he.text+"'",he);var Tt={number:+(Ye[1]+Ye[2]),unit:Ye[3]};if(!_i(Tt))throw new o("Invalid unit: '"+Tt.unit+"'",he);return{type:"size",mode:this.mode,value:Tt,isBlank:Ie}},Z.parseUrlGroup=function(ie,he){this.gullet.lexer.setCatcode("%",13);var Ie=this.parseStringGroup("url",ie,!0);if(this.gullet.lexer.setCatcode("%",14),!Ie)return null;var Ye=Ie.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ye}},Z.parseGroup=function(ie,he,Ie,Ye,Tt,jt){var nr=this.mode;Tt&&this.switchMode(Tt),jt&&this.consumeSpaces();var Pt=this.fetch(),Ur=Pt.text,Qr;if(he?Ur==="[":Ur==="{"||Ur==="\\begingroup"){this.consume();var vn=We.endOfGroup[Ur];this.gullet.beginGroup();var Tn=this.parseExpression(!1,vn),Un=this.fetch();this.expect(vn),this.gullet.endGroup(),Qr={type:"ordgroup",mode:this.mode,loc:l.range(Pt,Un),body:Tn,semisimple:Ur==="\\begingroup"||void 0}}else if(he)Qr=null;else if(Qr=this.parseFunction(Ye,ie,Ie)||this.parseSymbol(),Qr==null&&Ur[0]==="\\"&&!Gn.hasOwnProperty(Ur)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+Ur,Pt);Qr=this.formatUnsupportedCmd(Ur),this.consume()}return Tt&&this.switchMode(nr),Qr},Z.formLigatures=function(ie){for(var he=ie.length-1,Ie=0;Ie<he;++Ie){var Ye=ie[Ie],Tt=Ye.text;Tt==="-"&&ie[Ie+1].text==="-"&&(Ie+1<he&&ie[Ie+2].text==="-"?(ie.splice(Ie,3,{type:"textord",mode:"text",loc:l.range(Ye,ie[Ie+2]),text:"---"}),he-=2):(ie.splice(Ie,2,{type:"textord",mode:"text",loc:l.range(Ye,ie[Ie+1]),text:"--"}),he-=1)),(Tt==="'"||Tt==="`")&&ie[Ie+1].text===Tt&&(ie.splice(Ie,2,{type:"textord",mode:"text",loc:l.range(Ye,ie[Ie+1]),text:Tt+Tt}),he-=1)}},Z.parseSymbol=function(){var ie=this.fetch(),he=ie.text;if(/^\\verb[^a-zA-Z]/.test(he)){this.consume();var Ie=he.slice(5),Ye=Ie.charAt(0)==="*";if(Ye&&(Ie=Ie.slice(1)),Ie.length<2||Ie.charAt(0)!==Ie.slice(-1))throw new o(`\\verb assertion failed --
please report what input caused this bug`);return Ie=Ie.slice(1,-1),{type:"verb",mode:"text",body:Ie,star:Ye}}Rn.hasOwnProperty(he[0])&&!Ke[this.mode][he[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+he[0]+'" used in math mode',ie),he=Rn[he[0]]+he.substr(1));var Tt=ea.exec(he);Tt&&(he=he.substring(0,Tt.index),he==="i"?he="\u0131":he==="j"&&(he="\u0237"));var jt;if(Ke[this.mode][he]){this.settings.strict&&this.mode==="math"&&ot.indexOf(he)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+he[0]+'" used in math mode',ie);var nr=Ke[this.mode][he].group,Pt=l.range(ie),Ur;if(Nt.hasOwnProperty(nr)){var Qr=nr;Ur={type:"atom",mode:this.mode,family:Qr,loc:Pt,text:he}}else Ur={type:nr,mode:this.mode,loc:Pt,text:he};jt=Ur}else if(he.charCodeAt(0)>=128)this.settings.strict&&(Oe(he.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+he[0]+'" used in math mode',ie):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+he[0]+'"'+(" ("+he.charCodeAt(0)+")"),ie)),jt={type:"textord",mode:"text",loc:l.range(ie),text:he};else return null;if(this.consume(),Tt)for(var vn=0;vn<Tt[0].length;vn++){var Tn=Tt[0][vn];if(!On[Tn])throw new o("Unknown accent ' "+Tn+"'",ie);var Un=On[Tn][this.mode];if(!Un)throw new o("Accent "+Tn+" unsupported in "+this.mode+" mode",ie);jt={type:"accent",mode:this.mode,loc:l.range(ie),label:Un,isStretchy:!1,isShifty:!0,base:jt}}return jt},We}();En.endOfExpression=["}","\\endgroup","\\end","\\right","&"],En.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},En.SUPSUB_GREEDINESS=1;var oa=function(Z,q){if(!(typeof Z=="string"||Z instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ie=new En(Z,q);delete ie.gullet.macros.current["\\df@tag"];var he=ie.parse();if(ie.gullet.macros.get("\\df@tag")){if(!q.displayMode)throw new o("\\tag works only in display equations");ie.gullet.feed("\\df@tag"),he=[{type:"tag",mode:"text",body:he,tag:ie.parse()}]}return he},ja=oa,Eo=function(Z,q,ie){q.textContent="";var he=Uu(Z,ie).toNode();q.appendChild(he)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Eo=function(){throw new o("KaTeX doesn't work in quirks mode.")});var ho=function(Z,q){var ie=Uu(Z,q).toMarkup();return ie},eu=function(Z,q){var ie=new D(q);return ja(Z,ie)},xl=function(Z,q,ie){if(ie.throwOnError||!(Z instanceof o))throw Z;var he=ut.makeSpan(["katex-error"],[new Ce(q)]);return he.setAttribute("title",Z.toString()),he.setAttribute("style","color:"+ie.errorColor),he},Uu=function(Z,q){var ie=new D(q);try{var he=ja(Z,ie);return To(he,Z,ie)}catch(Ie){return xl(Ie,Z,ie)}},_u=function(Z,q){var ie=new D(q);try{var he=ja(Z,ie);return ws(he,Z,ie)}catch(Ie){return xl(Ie,Z,ie)}},wc={version:"0.11.1",render:Eo,renderToString:ho,ParseError:o,__parse:eu,__renderToDomTree:Uu,__renderToHTMLTree:_u,__setFontMetrics:tt,__defineSymbol:fe,__defineMacro:be,__domTree:{Span:ht,Anchor:rt,SymbolNode:Ce,SvgNode:Fe,PathNode:je,LineNode:Ge}},xu=e.default=wc}]).default})},76414:function(d,v,e){var r=e(64696),i=e(16824),l=e(23476),c=e(63122),f=e(37279);function o(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},99746:function(d,v,e){var r=e(34251),i=e(24968),l=e(28290),c=e(88068),f=e(54238);function o(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},40164:function(d,v,e){var r=e(73893),i=e(33152),l=r(i,"Map");d.exports=l},52166:function(d,v,e){var r=e(35365),i=e(63765),l=e(12608),c=e(10203),f=e(11298);function o(h){var u=-1,a=h==null?0:h.length;for(this.clear();++u<a;){var x=h[u];this.set(x[0],x[1])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},91866:function(d,v,e){var r=e(99746),i=e(31119),l=e(64399),c=e(81897),f=e(90558),o=e(64841);function h(u){var a=this.__data__=new r(u);this.size=a.size}h.prototype.clear=i,h.prototype.delete=l,h.prototype.get=c,h.prototype.has=f,h.prototype.set=o,d.exports=h},91869:function(d,v,e){var r=e(33152),i=r.Symbol;d.exports=i},77945:function(d,v,e){var r=e(33152),i=r.Uint8Array;d.exports=i},79628:function(d){function v(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}d.exports=v},63333:function(d,v,e){var r=e(67943),i=e(13053),l=e(80744),c=e(57835),f=e(70213),o=e(18397),h=Object.prototype,u=h.hasOwnProperty;function a(x,p){var y=l(x),_=!y&&i(x),b=!y&&!_&&c(x),A=!y&&!_&&!b&&o(x),k=y||_||b||A,L=k?r(x.length,String):[],T=L.length;for(var D in x)(p||u.call(x,D))&&!(k&&(D=="length"||b&&(D=="offset"||D=="parent")||A&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||f(D,T)))&&L.push(D);return L}d.exports=a},89135:function(d,v,e){var r=e(42813),i=e(43607);function l(c,f,o){(o!==void 0&&!i(c[f],o)||o===void 0&&!(f in c))&&r(c,f,o)}d.exports=l},60348:function(d,v,e){var r=e(42813),i=e(43607),l=Object.prototype,c=l.hasOwnProperty;function f(o,h,u){var a=o[h];(!(c.call(o,h)&&i(a,u))||u===void 0&&!(h in o))&&r(o,h,u)}d.exports=f},67971:function(d,v,e){var r=e(43607);function i(l,c){for(var f=l.length;f--;)if(r(l[f][0],c))return f;return-1}d.exports=i},42813:function(d,v,e){var r=e(35234);function i(l,c,f){c=="__proto__"&&r?r(l,c,{configurable:!0,enumerable:!0,value:f,writable:!0}):l[c]=f}d.exports=i},35024:function(d,v,e){var r=e(20816),i=Object.create,l=function(){function c(){}return function(f){if(!r(f))return{};if(i)return i(f);c.prototype=f;var o=new c;return c.prototype=void 0,o}}();d.exports=l},14018:function(d,v,e){var r=e(78010),i=r();d.exports=i},86756:function(d,v,e){var r=e(91869),i=e(72533),l=e(74702),c="[object Null]",f="[object Undefined]",o=r?r.toStringTag:void 0;function h(u){return u==null?u===void 0?f:c:o&&o in Object(u)?i(u):l(u)}d.exports=h},61506:function(d,v,e){var r=e(86756),i=e(93913),l="[object Arguments]";function c(f){return i(f)&&r(f)==l}d.exports=c},6367:function(d,v,e){var r=e(9363),i=e(89379),l=e(20816),c=e(63256),f=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,h=Function.prototype,u=Object.prototype,a=h.toString,x=u.hasOwnProperty,p=RegExp("^"+a.call(x).replace(f,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function y(_){if(!l(_)||i(_))return!1;var b=r(_)?p:o;return b.test(c(_))}d.exports=y},10766:function(d,v,e){var r=e(86756),i=e(11156),l=e(93913),c="[object Arguments]",f="[object Array]",o="[object Boolean]",h="[object Date]",u="[object Error]",a="[object Function]",x="[object Map]",p="[object Number]",y="[object Object]",_="[object RegExp]",b="[object Set]",A="[object String]",k="[object WeakMap]",L="[object ArrayBuffer]",T="[object DataView]",D="[object Float32Array]",M="[object Float64Array]",B="[object Int8Array]",N="[object Int16Array]",K="[object Int32Array]",G="[object Uint8Array]",W="[object Uint8ClampedArray]",ne="[object Uint16Array]",ae="[object Uint32Array]",le={};le[D]=le[M]=le[B]=le[N]=le[K]=le[G]=le[W]=le[ne]=le[ae]=!0,le[c]=le[f]=le[L]=le[o]=le[T]=le[h]=le[u]=le[a]=le[x]=le[p]=le[y]=le[_]=le[b]=le[A]=le[k]=!1;function Q(J){return l(J)&&i(J.length)&&!!le[r(J)]}d.exports=Q},33988:function(d,v,e){var r=e(20816),i=e(7975),l=e(97817),c=Object.prototype,f=c.hasOwnProperty;function o(h){if(!r(h))return l(h);var u=i(h),a=[];for(var x in h)x=="constructor"&&(u||!f.call(h,x))||a.push(x);return a}d.exports=o},50097:function(d,v,e){var r=e(91866),i=e(89135),l=e(14018),c=e(23585),f=e(20816),o=e(56730),h=e(47052);function u(a,x,p,y,_){a!==x&&l(x,function(b,A){if(_||(_=new r),f(b))c(a,x,A,p,u,y,_);else{var k=y?y(h(a,A),b,A+"",a,x,_):void 0;k===void 0&&(k=b),i(a,A,k)}},o)}d.exports=u},23585:function(d,v,e){var r=e(89135),i=e(32315),l=e(78358),c=e(47760),f=e(4084),o=e(13053),h=e(80744),u=e(41590),a=e(57835),x=e(9363),p=e(20816),y=e(19308),_=e(18397),b=e(47052),A=e(20480);function k(L,T,D,M,B,N,K){var G=b(L,D),W=b(T,D),ne=K.get(W);if(ne){r(L,D,ne);return}var ae=N?N(G,W,D+"",L,T,K):void 0,le=ae===void 0;if(le){var Q=h(W),J=!Q&&a(W),V=!Q&&!J&&_(W);ae=W,Q||J||V?h(G)?ae=G:u(G)?ae=c(G):J?(le=!1,ae=i(W,!0)):V?(le=!1,ae=l(W,!0)):ae=[]:y(W)||o(W)?(ae=G,o(G)?ae=A(G):(!p(G)||x(G))&&(ae=f(W))):le=!1}le&&(K.set(W,ae),B(ae,W,M,N,K),K.delete(W)),r(L,D,ae)}d.exports=k},92918:function(d,v,e){var r=e(46962),i=e(19652),l=e(71152);function c(f,o){return l(i(f,o,r),f+"")}d.exports=c},63989:function(d,v,e){var r=e(13503),i=e(35234),l=e(46962),c=i?function(f,o){return i(f,"toString",{configurable:!0,enumerable:!1,value:r(o),writable:!0})}:l;d.exports=c},67943:function(d){function v(e,r){for(var i=-1,l=Array(e);++i<e;)l[i]=r(i);return l}d.exports=v},38342:function(d){function v(e){return function(r){return e(r)}}d.exports=v},20188:function(d,v,e){var r=e(77945);function i(l){var c=new l.constructor(l.byteLength);return new r(c).set(new r(l)),c}d.exports=i},32315:function(d,v,e){d=e.nmd(d);var r=e(33152),i=v&&!v.nodeType&&v,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c?r.Buffer:void 0,o=f?f.allocUnsafe:void 0;function h(u,a){if(a)return u.slice();var x=u.length,p=o?o(x):new u.constructor(x);return u.copy(p),p}d.exports=h},78358:function(d,v,e){var r=e(20188);function i(l,c){var f=c?r(l.buffer):l.buffer;return new l.constructor(f,l.byteOffset,l.length)}d.exports=i},47760:function(d){function v(e,r){var i=-1,l=e.length;for(r||(r=Array(l));++i<l;)r[i]=e[i];return r}d.exports=v},95378:function(d,v,e){var r=e(60348),i=e(42813);function l(c,f,o,h){var u=!o;o||(o={});for(var a=-1,x=f.length;++a<x;){var p=f[a],y=h?h(o[p],c[p],p,o,c):void 0;y===void 0&&(y=c[p]),u?i(o,p,y):r(o,p,y)}return o}d.exports=l},64218:function(d,v,e){var r=e(33152),i=r["__core-js_shared__"];d.exports=i},63323:function(d,v,e){var r=e(92918),i=e(8138);function l(c){return r(function(f,o){var h=-1,u=o.length,a=u>1?o[u-1]:void 0,x=u>2?o[2]:void 0;for(a=c.length>3&&typeof a=="function"?(u--,a):void 0,x&&i(o[0],o[1],x)&&(a=u<3?void 0:a,u=1),f=Object(f);++h<u;){var p=o[h];p&&c(f,p,h,a)}return f})}d.exports=l},78010:function(d){function v(e){return function(r,i,l){for(var c=-1,f=Object(r),o=l(r),h=o.length;h--;){var u=o[e?h:++c];if(i(f[u],u,f)===!1)break}return r}}d.exports=v},35234:function(d,v,e){var r=e(73893),i=function(){try{var l=r(Object,"defineProperty");return l({},"",{}),l}catch(c){}}();d.exports=i},37675:function(d,v,e){var r=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;d.exports=r},89819:function(d,v,e){var r=e(94358);function i(l,c){var f=l.__data__;return r(c)?f[typeof c=="string"?"string":"hash"]:f.map}d.exports=i},73893:function(d,v,e){var r=e(6367),i=e(49966);function l(c,f){var o=i(c,f);return r(o)?o:void 0}d.exports=l},49217:function(d,v,e){var r=e(31030),i=r(Object.getPrototypeOf,Object);d.exports=i},72533:function(d,v,e){var r=e(91869),i=Object.prototype,l=i.hasOwnProperty,c=i.toString,f=r?r.toStringTag:void 0;function o(h){var u=l.call(h,f),a=h[f];try{h[f]=void 0;var x=!0}catch(y){}var p=c.call(h);return x&&(u?h[f]=a:delete h[f]),p}d.exports=o},49966:function(d){function v(e,r){return e==null?void 0:e[r]}d.exports=v},64696:function(d,v,e){var r=e(65294);function i(){this.__data__=r?r(null):{},this.size=0}d.exports=i},16824:function(d){function v(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}d.exports=v},23476:function(d,v,e){var r=e(65294),i="__lodash_hash_undefined__",l=Object.prototype,c=l.hasOwnProperty;function f(o){var h=this.__data__;if(r){var u=h[o];return u===i?void 0:u}return c.call(h,o)?h[o]:void 0}d.exports=f},63122:function(d,v,e){var r=e(65294),i=Object.prototype,l=i.hasOwnProperty;function c(f){var o=this.__data__;return r?o[f]!==void 0:l.call(o,f)}d.exports=c},37279:function(d,v,e){var r=e(65294),i="__lodash_hash_undefined__";function l(c,f){var o=this.__data__;return this.size+=this.has(c)?0:1,o[c]=r&&f===void 0?i:f,this}d.exports=l},4084:function(d,v,e){var r=e(35024),i=e(49217),l=e(7975);function c(f){return typeof f.constructor=="function"&&!l(f)?r(i(f)):{}}d.exports=c},70213:function(d){var v=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(i,l){var c=typeof i;return l=l==null?v:l,!!l&&(c=="number"||c!="symbol"&&e.test(i))&&i>-1&&i%1==0&&i<l}d.exports=r},8138:function(d,v,e){var r=e(43607),i=e(24665),l=e(70213),c=e(20816);function f(o,h,u){if(!c(u))return!1;var a=typeof h;return(a=="number"?i(u)&&l(h,u.length):a=="string"&&h in u)?r(u[h],o):!1}d.exports=f},94358:function(d){function v(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}d.exports=v},89379:function(d,v,e){var r=e(64218),i=function(){var c=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function l(c){return!!i&&i in c}d.exports=l},7975:function(d){var v=Object.prototype;function e(r){var i=r&&r.constructor,l=typeof i=="function"&&i.prototype||v;return r===l}d.exports=e},34251:function(d){function v(){this.__data__=[],this.size=0}d.exports=v},24968:function(d,v,e){var r=e(67971),i=Array.prototype,l=i.splice;function c(f){var o=this.__data__,h=r(o,f);if(h<0)return!1;var u=o.length-1;return h==u?o.pop():l.call(o,h,1),--this.size,!0}d.exports=c},28290:function(d,v,e){var r=e(67971);function i(l){var c=this.__data__,f=r(c,l);return f<0?void 0:c[f][1]}d.exports=i},88068:function(d,v,e){var r=e(67971);function i(l){return r(this.__data__,l)>-1}d.exports=i},54238:function(d,v,e){var r=e(67971);function i(l,c){var f=this.__data__,o=r(f,l);return o<0?(++this.size,f.push([l,c])):f[o][1]=c,this}d.exports=i},35365:function(d,v,e){var r=e(76414),i=e(99746),l=e(40164);function c(){this.size=0,this.__data__={hash:new r,map:new(l||i),string:new r}}d.exports=c},63765:function(d,v,e){var r=e(89819);function i(l){var c=r(this,l).delete(l);return this.size-=c?1:0,c}d.exports=i},12608:function(d,v,e){var r=e(89819);function i(l){return r(this,l).get(l)}d.exports=i},10203:function(d,v,e){var r=e(89819);function i(l){return r(this,l).has(l)}d.exports=i},11298:function(d,v,e){var r=e(89819);function i(l,c){var f=r(this,l),o=f.size;return f.set(l,c),this.size+=f.size==o?0:1,this}d.exports=i},65294:function(d,v,e){var r=e(73893),i=r(Object,"create");d.exports=i},97817:function(d){function v(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}d.exports=v},52495:function(d,v,e){d=e.nmd(d);var r=e(37675),i=v&&!v.nodeType&&v,l=i&&!0&&d&&!d.nodeType&&d,c=l&&l.exports===i,f=c&&r.process,o=function(){try{var h=l&&l.require&&l.require("util").types;return h||f&&f.binding&&f.binding("util")}catch(u){}}();d.exports=o},74702:function(d){var v=Object.prototype,e=v.toString;function r(i){return e.call(i)}d.exports=r},31030:function(d){function v(e,r){return function(i){return e(r(i))}}d.exports=v},19652:function(d,v,e){var r=e(79628),i=Math.max;function l(c,f,o){return f=i(f===void 0?c.length-1:f,0),function(){for(var h=arguments,u=-1,a=i(h.length-f,0),x=Array(a);++u<a;)x[u]=h[f+u];u=-1;for(var p=Array(f+1);++u<f;)p[u]=h[u];return p[f]=o(x),r(c,this,p)}}d.exports=l},33152:function(d,v,e){var r=e(37675),i=typeof self=="object"&&self&&self.Object===Object&&self,l=r||i||Function("return this")();d.exports=l},47052:function(d){function v(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}d.exports=v},71152:function(d,v,e){var r=e(63989),i=e(12345),l=i(r);d.exports=l},12345:function(d){var v=800,e=16,r=Date.now;function i(l){var c=0,f=0;return function(){var o=r(),h=e-(o-f);if(f=o,h>0){if(++c>=v)return arguments[0]}else c=0;return l.apply(void 0,arguments)}}d.exports=i},31119:function(d,v,e){var r=e(99746);function i(){this.__data__=new r,this.size=0}d.exports=i},64399:function(d){function v(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}d.exports=v},81897:function(d){function v(e){return this.__data__.get(e)}d.exports=v},90558:function(d){function v(e){return this.__data__.has(e)}d.exports=v},64841:function(d,v,e){var r=e(99746),i=e(40164),l=e(52166),c=200;function f(o,h){var u=this.__data__;if(u instanceof r){var a=u.__data__;if(!i||a.length<c-1)return a.push([o,h]),this.size=++u.size,this;u=this.__data__=new l(a)}return u.set(o,h),this.size=u.size,this}d.exports=f},63256:function(d){var v=Function.prototype,e=v.toString;function r(i){if(i!=null){try{return e.call(i)}catch(l){}try{return i+""}catch(l){}}return""}d.exports=r},13503:function(d){function v(e){return function(){return e}}d.exports=v},43607:function(d){function v(e,r){return e===r||e!==e&&r!==r}d.exports=v},46962:function(d){function v(e){return e}d.exports=v},13053:function(d,v,e){var r=e(61506),i=e(93913),l=Object.prototype,c=l.hasOwnProperty,f=l.propertyIsEnumerable,o=r(function(){return arguments}())?r:function(h){return i(h)&&c.call(h,"callee")&&!f.call(h,"callee")};d.exports=o},80744:function(d){var v=Array.isArray;d.exports=v},24665:function(d,v,e){var r=e(9363),i=e(11156);function l(c){return c!=null&&i(c.length)&&!r(c)}d.exports=l},41590:function(d,v,e){var r=e(24665),i=e(93913);function l(c){return i(c)&&r(c)}d.exports=l},57835:function(d,v,e){d=e.nmd(d);var r=e(33152),i=e(55950),l=v&&!v.nodeType&&v,c=l&&!0&&d&&!d.nodeType&&d,f=c&&c.exports===l,o=f?r.Buffer:void 0,h=o?o.isBuffer:void 0,u=h||i;d.exports=u},9363:function(d,v,e){var r=e(86756),i=e(20816),l="[object AsyncFunction]",c="[object Function]",f="[object GeneratorFunction]",o="[object Proxy]";function h(u){if(!i(u))return!1;var a=r(u);return a==c||a==f||a==l||a==o}d.exports=h},11156:function(d){var v=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=v}d.exports=e},20816:function(d){function v(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}d.exports=v},93913:function(d){function v(e){return e!=null&&typeof e=="object"}d.exports=v},19308:function(d,v,e){var r=e(86756),i=e(49217),l=e(93913),c="[object Object]",f=Function.prototype,o=Object.prototype,h=f.toString,u=o.hasOwnProperty,a=h.call(Object);function x(p){if(!l(p)||r(p)!=c)return!1;var y=i(p);if(y===null)return!0;var _=u.call(y,"constructor")&&y.constructor;return typeof _=="function"&&_ instanceof _&&h.call(_)==a}d.exports=x},18397:function(d,v,e){var r=e(10766),i=e(38342),l=e(52495),c=l&&l.isTypedArray,f=c?i(c):r;d.exports=f},56730:function(d,v,e){var r=e(63333),i=e(33988),l=e(24665);function c(f){return l(f)?r(f,!0):i(f)}d.exports=c},89392:function(d,v,e){d=e.nmd(d);var r;(function(){var i,l="4.17.21",c=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",h="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",a=500,x="__lodash_placeholder__",p=1,y=2,_=4,b=1,A=2,k=1,L=2,T=4,D=8,M=16,B=32,N=64,K=128,G=256,W=512,ne=30,ae="...",le=800,Q=16,J=1,V=2,ue=3,ee=1/0,X=9007199254740991,ce=17976931348623157e292,z=NaN,$=4294967295,se=$-1,_e=$>>>1,Oe=[["ary",K],["bind",k],["bindKey",L],["curry",D],["curryRight",M],["flip",W],["partial",B],["partialRight",N],["rearg",G]],Le="[object Arguments]",He="[object Array]",$e="[object AsyncFunction]",Bt="[object Boolean]",yt="[object Date]",It="[object DOMException]",rr="[object Error]",Yt="[object Function]",lr="[object GeneratorFunction]",Ve="[object Map]",Ct="[object Number]",Ut="[object Null]",st="[object Object]",xt="[object Promise]",ht="[object Proxy]",rt="[object RegExp]",Ue="[object Set]",ye="[object String]",Ce="[object Symbol]",Fe="[object Undefined]",je="[object WeakMap]",Ge="[object WeakSet]",it="[object ArrayBuffer]",ct="[object DataView]",Gt="[object Float32Array]",Ht="[object Float64Array]",Pe="[object Int8Array]",tt="[object Int16Array]",Vt="[object Int32Array]",kt="[object Uint8Array]",Zt="[object Uint8ClampedArray]",Nt="[object Uint16Array]",At="[object Uint32Array]",qt=/\b__p \+= '';/g,Ke=/\b(__p \+=) '' \+/g,fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pe=/&(?:amp|lt|gt|quot|#39);/g,Dt=/[&<>"']/g,De=RegExp(pe.source),ft=RegExp(Dt.source),zt=/<%-([\s\S]+?)%>/g,Et=/<%([\s\S]+?)%>/g,Re=/<%=([\s\S]+?)%>/g,wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xe=/^\w*$/,qe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vt=/[\\^$.*+?()[\]{}|]/g,Ft=RegExp(vt.source),Be=/^\s+/,Pr=/\s/,St=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Zr=/\{\n\/\* \[wrapped with (.+)\] \*/,Vr=/,? & /,xr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Br=/[()=,{}\[\]\/\s]/,pr=/\\(\\)?/g,$r=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/\w*$/,an=/^[-+]0x[0-9a-f]+$/i,sr=/^0b[01]+$/i,Rt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,gt=/^(?:0|[1-9]\d*)$/,$t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Er=/($^)/,vr=/['\n\r\u2028\u2029\\]/g,ot="\\ud800-\\udfff",Mr="\\u0300-\\u036f",dn="\\ufe20-\\ufe2f",jn="\\u20d0-\\u20ff",_r=Mr+dn+jn,qr="\\u2700-\\u27bf",ln="a-z\\xdf-\\xf6\\xf8-\\xff",Ln="\\xac\\xb1\\xd7\\xf7",Vn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Bn="\\u2000-\\u206f",Ui=" \\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",pi="A-Z\\xc0-\\xd6\\xd8-\\xde",bi="\\ufe0e\\ufe0f",_i=Ln+Vn+Bn+Ui,li="['\u2019]",Ki="["+ot+"]",Zn="["+_i+"]",Gi="["+_r+"]",ui="\\d+",we="["+qr+"]",Nn="["+ln+"]",qn="[^"+ot+_i+ui+qr+ln+pi+"]",Wn="\\ud83c[\\udffb-\\udfff]",zi="(?:"+Gi+"|"+Wn+")",di="[^"+ot+"]",Ti="(?:\\ud83c[\\udde6-\\uddff]){2}",Yn="[\\ud800-\\udbff][\\udc00-\\udfff]",Jt="["+pi+"]",pt="\\u200d",nt="(?:"+Nn+"|"+qn+")",Ot="(?:"+Jt+"|"+qn+")",dt="(?:"+li+"(?:d|ll|m|re|s|t|ve))?",or="(?:"+li+"(?:D|LL|M|RE|S|T|VE))?",cr=zi+"?",Ar="["+bi+"]?",Ir="(?:"+pt+"(?:"+[di,Ti,Yn].join("|")+")"+Ar+cr+")*",Ze="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Je="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ee=Ar+cr+Ir,ut="(?:"+[we,Ti,Yn].join("|")+")"+Ee,ir="(?:"+[di+Gi+"?",Gi,Ti,Yn,Ki].join("|")+")",br=RegExp(li,"g"),Dr=RegExp(Gi,"g"),wr=RegExp(Wn+"(?="+Wn+")|"+ir+Ee,"g"),Fr=RegExp([Jt+"?"+Nn+"+"+dt+"(?="+[Zn,Jt,"$"].join("|")+")",Ot+"+"+or+"(?="+[Zn,Jt+nt,"$"].join("|")+")",Jt+"?"+nt+"+"+dt,Jt+"+"+or,Je,Ze,ui,ut].join("|"),"g"),hn=RegExp("["+pt+ot+_r+bi+"]"),Tr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,sn=["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"],Xr=-1,nn={};nn[Gt]=nn[Ht]=nn[Pe]=nn[tt]=nn[Vt]=nn[kt]=nn[Zt]=nn[Nt]=nn[At]=!0,nn[Le]=nn[He]=nn[it]=nn[Bt]=nn[ct]=nn[yt]=nn[rr]=nn[Yt]=nn[Ve]=nn[Ct]=nn[st]=nn[rt]=nn[Ue]=nn[ye]=nn[je]=!1;var gn={};gn[Le]=gn[He]=gn[it]=gn[ct]=gn[Bt]=gn[yt]=gn[Gt]=gn[Ht]=gn[Pe]=gn[tt]=gn[Vt]=gn[Ve]=gn[Ct]=gn[st]=gn[rt]=gn[Ue]=gn[ye]=gn[Ce]=gn[kt]=gn[Zt]=gn[Nt]=gn[At]=!0,gn[rr]=gn[Yt]=gn[je]=!1;var da={\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"},mi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ci={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Cn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Pi=parseFloat,Oi=parseInt,aa=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Cs=typeof self=="object"&&self&&self.Object===Object&&self,na=aa||Cs||Function("return this")(),vs=v&&!v.nodeType&&v,Ms=vs&&!0&&d&&!d.nodeType&&d,Ba=Ms&&Ms.exports===vs,sa=Ba&&aa.process,yn=function(){try{var ur=Ms&&Ms.require&&Ms.require("util").types;return ur||sa&&sa.binding&&sa.binding("util")}catch(Rr){}}(),bs=yn&&yn.isArrayBuffer,Xa=yn&&yn.isDate,xs=yn&&yn.isMap,ji=yn&&yn.isRegExp,Fs=yn&&yn.isSet,So=yn&&yn.isTypedArray;function Da(ur,Rr,Or){switch(Or.length){case 0:return ur.call(Rr);case 1:return ur.call(Rr,Or[0]);case 2:return ur.call(Rr,Or[0],Or[1]);case 3:return ur.call(Rr,Or[0],Or[1],Or[2])}return ur.apply(Rr,Or)}function Ji(ur,Rr,Or,pn){for(var _n=-1,_t=ur==null?0:ur.length;++_n<_t;){var Dn=ur[_n];Rr(pn,Dn,Or(Dn),ur)}return pn}function Qa(ur,Rr){for(var Or=-1,pn=ur==null?0:ur.length;++Or<pn&&Rr(ur[Or],Or,ur)!==!1;);return ur}function Ks(ur,Rr){for(var Or=ur==null?0:ur.length;Or--&&Rr(ur[Or],Or,ur)!==!1;);return ur}function Pn(ur,Rr){for(var Or=-1,pn=ur==null?0:ur.length;++Or<pn;)if(!Rr(ur[Or],Or,ur))return!1;return!0}function Wa(ur,Rr){for(var Or=-1,pn=ur==null?0:ur.length,_n=0,_t=[];++Or<pn;){var Dn=ur[Or];Rr(Dn,Or,ur)&&(_t[_n++]=Dn)}return _t}function mo(ur,Rr){var Or=ur==null?0:ur.length;return!!Or&&vo(ur,Rr,0)>-1}function Bs(ur,Rr,Or){for(var pn=-1,_n=ur==null?0:ur.length;++pn<_n;)if(Or(Rr,ur[pn]))return!0;return!1}function Li(ur,Rr){for(var Or=-1,pn=ur==null?0:ur.length,_n=Array(pn);++Or<pn;)_n[Or]=Rr(ur[Or],Or,ur);return _n}function Oa(ur,Rr){for(var Or=-1,pn=Rr.length,_n=ur.length;++Or<pn;)ur[_n+Or]=Rr[Or];return ur}function ka(ur,Rr,Or,pn){var _n=-1,_t=ur==null?0:ur.length;for(pn&&_t&&(Or=ur[++_n]);++_n<_t;)Or=Rr(Or,ur[_n],_n,ur);return Or}function os(ur,Rr,Or,pn){var _n=ur==null?0:ur.length;for(pn&&_n&&(Or=ur[--_n]);_n--;)Or=Rr(Or,ur[_n],_n,ur);return Or}function Qs(ur,Rr){for(var Or=-1,pn=ur==null?0:ur.length;++Or<pn;)if(Rr(ur[Or],Or,ur))return!0;return!1}var Ao=oi("length");function To(ur){return ur.split("")}function ws(ur){return ur.match(xr)||[]}function wa(ur,Rr,Or){var pn;return Or(ur,function(_n,_t,Dn){if(Rr(_n,_t,Dn))return pn=_t,!1}),pn}function us(ur,Rr,Or,pn){for(var _n=ur.length,_t=Or+(pn?1:-1);pn?_t--:++_t<_n;)if(Rr(ur[_t],_t,ur))return _t;return-1}function vo(ur,Rr,Or){return Rr===Rr?Qt(ur,Rr,Or):us(ur,go,Or)}function Do(ur,Rr,Or,pn){for(var _n=Or-1,_t=ur.length;++_n<_t;)if(pn(ur[_n],Rr))return _n;return-1}function go(ur){return ur!==ur}function $o(ur,Rr){var Or=ur==null?0:ur.length;return Or?Ia(ur,Rr)/Or:z}function oi(ur){return function(Rr){return Rr==null?i:Rr[ur]}}function ni(ur){return function(Rr){return ur==null?i:ur[Rr]}}function Ga(ur,Rr,Or,pn,_n){return _n(ur,function(_t,Dn,kn){Or=pn?(pn=!1,_t):Rr(Or,_t,Dn,kn)}),Or}function ts(ur,Rr){var Or=ur.length;for(ur.sort(Rr);Or--;)ur[Or]=ur[Or].value;return ur}function Ia(ur,Rr){for(var Or,pn=-1,_n=ur.length;++pn<_n;){var _t=Rr(ur[pn]);_t!==i&&(Or=Or===i?_t:Or+_t)}return Or}function uo(ur,Rr){for(var Or=-1,pn=Array(ur);++Or<ur;)pn[Or]=Rr(Or);return pn}function jo(ur,Rr){return Li(Rr,function(Or){return[Or,ur[Or]]})}function Qo(ur){return ur&&ur.slice(0,Sr(ur)+1).replace(Be,"")}function ls(ur){return function(Rr){return ur(Rr)}}function hu(ur,Rr){return Li(Rr,function(Or){return ur[Or]})}function Go(ur,Rr){return ur.has(Rr)}function su(ur,Rr){for(var Or=-1,pn=ur.length;++Or<pn&&vo(Rr,ur[Or],0)>-1;);return Or}function lo(ur,Rr){for(var Or=ur.length;Or--&&vo(Rr,ur[Or],0)>-1;);return Or}function $u(ur,Rr){for(var Or=ur.length,pn=0;Or--;)ur[Or]===Rr&&++pn;return pn}var Co=ni(da),wo=ni(mi);function Uo(ur){return"\\"+Cn[ur]}function pu(ur,Rr){return ur==null?i:ur[Rr]}function Ys(ur){return hn.test(ur)}function bu(ur){return Tr.test(ur)}function Jo(ur){for(var Rr,Or=[];!(Rr=ur.next()).done;)Or.push(Rr.value);return Or}function zo(ur){var Rr=-1,Or=Array(ur.size);return ur.forEach(function(pn,_n){Or[++Rr]=[_n,pn]}),Or}function Zo(ur,Rr){return function(Or){return ur(Rr(Or))}}function ns(ur,Rr){for(var Or=-1,pn=ur.length,_n=0,_t=[];++Or<pn;){var Dn=ur[Or];(Dn===Rr||Dn===x)&&(ur[Or]=x,_t[_n++]=Or)}return _t}function Js(ur){var Rr=-1,Or=Array(ur.size);return ur.forEach(function(pn){Or[++Rr]=pn}),Or}function ju(ur){var Rr=-1,Or=Array(ur.size);return ur.forEach(function(pn){Or[++Rr]=[pn,pn]}),Or}function Qt(ur,Rr,Or){for(var pn=Or-1,_n=ur.length;++pn<_n;)if(ur[pn]===Rr)return pn;return-1}function fr(ur,Rr,Or){for(var pn=Or+1;pn--;)if(ur[pn]===Rr)return pn;return pn}function ar(ur){return Ys(ur)?Mn(ur):Ao(ur)}function dr(ur){return Ys(ur)?bn(ur):To(ur)}function Sr(ur){for(var Rr=ur.length;Rr--&&Pr.test(ur.charAt(Rr)););return Rr}var un=ni(ci);function Mn(ur){for(var Rr=wr.lastIndex=0;wr.test(ur);)++Rr;return Rr}function bn(ur){return ur.match(wr)||[]}function In(ur){return ur.match(Fr)||[]}var Qn=function ur(Rr){Rr=Rr==null?na:Xn.defaults(na.Object(),Rr,Xn.pick(na,sn));var Or=Rr.Array,pn=Rr.Date,_n=Rr.Error,_t=Rr.Function,Dn=Rr.Math,kn=Rr.Object,vi=Rr.RegExp,Wi=Rr.String,er=Rr.TypeError,Yi=Or.prototype,ki=_t.prototype,ua=kn.prototype,qs=Rr["__core-js_shared__"],fs=ki.toString,Ci=ua.hasOwnProperty,co=0,Zs=function(){var S=/[^.]+$/.exec(qs&&qs.keys&&qs.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),Va=ua.toString,Ra=fs.call(kn),eo=na._,to=vi("^"+fs.call(Ci).replace(vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mn=Ba?Rr.Buffer:i,Es=Rr.Symbol,Hs=Rr.Uint8Array,Xe=mn?mn.allocUnsafe:i,Qe=Zo(kn.getPrototypeOf,kn),Mt=kn.create,Wt=ua.propertyIsEnumerable,mr=Yi.splice,Lr=Es?Es.isConcatSpreadable:i,jr=Es?Es.iterator:i,cn=Es?Es.toStringTag:i,tn=function(){try{var S=O(kn,"defineProperty");return S({},"",{}),S}catch(F){}}(),fn=Rr.clearTimeout!==na.clearTimeout&&Rr.clearTimeout,Hn=pn&&pn.now!==na.Date.now&&pn.now,Kn=Rr.setTimeout!==na.setTimeout&&Rr.setTimeout,fi=Dn.ceil,xi=Dn.floor,qi=kn.getOwnPropertySymbols,Ri=mn?mn.isBuffer:i,wi=Rr.isFinite,ha=Yi.join,gi=Zo(kn.keys,kn),yi=Dn.max,pa=Dn.min,ro=pn.now,Ss=Rr.parseInt,Na=Dn.random,$a=Yi.reverse,za=O(Rr,"DataView"),Ii=O(Rr,"Map"),ga=O(Rr,"Promise"),La=O(Rr,"Set"),Ka=O(Rr,"WeakMap"),fo=O(kn,"create"),Ja=Ka&&new Ka,Ea={},Ns=ra(za),ea=ra(Ii),cs=ra(ga),la=ra(La),Ya=ra(Ka),gs=Es?Es.prototype:i,ya=gs?gs.valueOf:i,be=gs?gs.toString:i;function Te(S){if(au(S)&&!qa(S)&&!(S instanceof Wr)){if(S instanceof gr)return S;if(Ci.call(S,"__wrapped__"))return ps(S)}return new gr(S)}var yr=function(){function S(){}return function(F){if(!Xo(F))return{};if(Mt)return Mt(F);S.prototype=F;var de=new S;return S.prototype=i,de}}();function Kr(){}function gr(S,F){this.__wrapped__=S,this.__actions__=[],this.__chain__=!!F,this.__index__=0,this.__values__=i}Te.templateSettings={escape:zt,evaluate:Et,interpolate:Re,variable:"",imports:{_:Te}},Te.prototype=Kr.prototype,Te.prototype.constructor=Te,gr.prototype=yr(Kr.prototype),gr.prototype.constructor=gr;function Wr(S){this.__wrapped__=S,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function xn(){var S=new Wr(this.__wrapped__);return S.__actions__=Os(this.__actions__),S.__dir__=this.__dir__,S.__filtered__=this.__filtered__,S.__iteratees__=Os(this.__iteratees__),S.__takeCount__=this.__takeCount__,S.__views__=Os(this.__views__),S}function Gn(){if(this.__filtered__){var S=new Wr(this);S.__dir__=-1,S.__filtered__=!0}else S=this.clone(),S.__dir__*=-1;return S}function Di(){var S=this.__wrapped__.value(),F=this.__dir__,de=qa(S),Ne=F<0,bt=de?S.length:0,Xt=Jn(0,bt,this.__views__),hr=Xt.start,kr=Xt.end,Gr=kr-hr,Sn=Ne?kr:hr-1,An=this.__iteratees__,$n=An.length,Si=0,Qi=pa(Gr,this.__takeCount__);if(!de||!Ne&&bt==Gr&&Qi==Gr)return Cc(S,this.__actions__);var Ta=[];e:for(;Gr--&&Si<Qi;){Sn+=F;for(var ss=-1,Ca=S[Sn];++ss<$n;){var ys=An[ss],Ls=ys.iteratee,sc=ys.type,bl=Ls(Ca);if(sc==V)Ca=bl;else if(!bl){if(sc==J)continue e;break e}}Ta[Si++]=Ca}return Ta}Wr.prototype=yr(Kr.prototype),Wr.prototype.constructor=Wr;function On(S){var F=-1,de=S==null?0:S.length;for(this.clear();++F<de;){var Ne=S[F];this.set(Ne[0],Ne[1])}}function Rn(){this.__data__=fo?fo(null):{},this.size=0}function En(S){var F=this.has(S)&&delete this.__data__[S];return this.size-=F?1:0,F}function oa(S){var F=this.__data__;if(fo){var de=F[S];return de===u?i:de}return Ci.call(F,S)?F[S]:i}function ja(S){var F=this.__data__;return fo?F[S]!==i:Ci.call(F,S)}function Eo(S,F){var de=this.__data__;return this.size+=this.has(S)?0:1,de[S]=fo&&F===i?u:F,this}On.prototype.clear=Rn,On.prototype.delete=En,On.prototype.get=oa,On.prototype.has=ja,On.prototype.set=Eo;function ho(S){var F=-1,de=S==null?0:S.length;for(this.clear();++F<de;){var Ne=S[F];this.set(Ne[0],Ne[1])}}function eu(){this.__data__=[],this.size=0}function xl(S){var F=this.__data__,de=Ua(F,S);if(de<0)return!1;var Ne=F.length-1;return de==Ne?F.pop():mr.call(F,de,1),--this.size,!0}function Uu(S){var F=this.__data__,de=Ua(F,S);return de<0?i:F[de][1]}function _u(S){return Ua(this.__data__,S)>-1}function wc(S,F){var de=this.__data__,Ne=Ua(de,S);return Ne<0?(++this.size,de.push([S,F])):de[Ne][1]=F,this}ho.prototype.clear=eu,ho.prototype.delete=xl,ho.prototype.get=Uu,ho.prototype.has=_u,ho.prototype.set=wc;function xu(S){var F=-1,de=S==null?0:S.length;for(this.clear();++F<de;){var Ne=S[F];this.set(Ne[0],Ne[1])}}function We(){this.size=0,this.__data__={hash:new On,map:new(Ii||ho),string:new On}}function Z(S){var F=Ou(this,S).delete(S);return this.size-=F?1:0,F}function q(S){return Ou(this,S).get(S)}function ie(S){return Ou(this,S).has(S)}function he(S,F){var de=Ou(this,S),Ne=de.size;return de.set(S,F),this.size+=de.size==Ne?0:1,this}xu.prototype.clear=We,xu.prototype.delete=Z,xu.prototype.get=q,xu.prototype.has=ie,xu.prototype.set=he;function Ie(S){var F=-1,de=S==null?0:S.length;for(this.__data__=new xu;++F<de;)this.add(S[F])}function Ye(S){return this.__data__.set(S,u),this}function Tt(S){return this.__data__.has(S)}Ie.prototype.add=Ie.prototype.push=Ye,Ie.prototype.has=Tt;function jt(S){var F=this.__data__=new ho(S);this.size=F.size}function nr(){this.__data__=new ho,this.size=0}function Pt(S){var F=this.__data__,de=F.delete(S);return this.size=F.size,de}function Ur(S){return this.__data__.get(S)}function Qr(S){return this.__data__.has(S)}function vn(S,F){var de=this.__data__;if(de instanceof ho){var Ne=de.__data__;if(!Ii||Ne.length<c-1)return Ne.push([S,F]),this.size=++de.size,this;de=this.__data__=new xu(Ne)}return de.set(S,F),this.size=de.size,this}jt.prototype.clear=nr,jt.prototype.delete=Pt,jt.prototype.get=Ur,jt.prototype.has=Qr,jt.prototype.set=vn;function Tn(S,F){var de=qa(S),Ne=!de&&Ff(S),bt=!de&&!Ne&&Pf(S),Xt=!de&&!Ne&&!bt&&jf(S),hr=de||Ne||bt||Xt,kr=hr?uo(S.length,Wi):[],Gr=kr.length;for(var Sn in S)(F||Ci.call(S,Sn))&&!(hr&&(Sn=="length"||bt&&(Sn=="offset"||Sn=="parent")||Xt&&(Sn=="buffer"||Sn=="byteLength"||Sn=="byteOffset")||ks(Sn,Gr)))&&kr.push(Sn);return kr}function Un(S){var F=S.length;return F?S[Iu(0,F-1)]:i}function Ei(S,F){return Fi(Os(S),Ps(F,0,S.length))}function ca(S){return Fi(Os(S))}function ta(S,F,de){(de!==i&&!$c(S[F],de)||de===i&&!(F in S))&&Xi(S,F,de)}function fa(S,F,de){var Ne=S[F];(!(Ci.call(S,F)&&$c(Ne,de))||de===i&&!(F in S))&&Xi(S,F,de)}function Ua(S,F){for(var de=S.length;de--;)if($c(S[de][0],F))return de;return-1}function es(S,F,de,Ne){return Ds(S,function(bt,Xt,hr){F(Ne,bt,de(bt),hr)}),Ne}function ds(S,F){return S&&_o(F,Nu(F),S)}function is(S,F){return S&&_o(F,Bl(F),S)}function Xi(S,F,de){F=="__proto__"&&tn?tn(S,F,{configurable:!0,enumerable:!0,value:de,writable:!0}):S[F]=de}function $s(S,F){for(var de=-1,Ne=F.length,bt=Or(Ne),Xt=S==null;++de<Ne;)bt[de]=Xt?i:id(S,F[de]);return bt}function Ps(S,F,de){return S===S&&(de!==i&&(S=S<=de?S:de),F!==i&&(S=S>=F?S:F)),S}function Sa(S,F,de,Ne,bt,Xt){var hr,kr=F&p,Gr=F&y,Sn=F&_;if(de&&(hr=bt?de(S,Ne,bt,Xt):de(S)),hr!==i)return hr;if(!Xo(S))return S;var An=qa(S);if(An){if(hr=Za(S),!kr)return Os(S,hr)}else{var $n=Jr(S),Si=$n==Yt||$n==lr;if(Pf(S))return rf(S,kr);if($n==st||$n==Le||Si&&!bt){if(hr=Gr||Si?{}:Xs(S),!kr)return Gr?Ro(S,is(hr,S)):vu(S,ds(hr,S))}else{if(!gn[$n])return bt?S:{};hr=ei(S,$n,kr)}}Xt||(Xt=new jt);var Qi=Xt.get(S);if(Qi)return Qi;Xt.set(S,hr),vd(S)?S.forEach(function(Ca){hr.add(Sa(Ca,F,de,Ca,S,Xt))}):_d(S)&&S.forEach(function(Ca,ys){hr.set(ys,Sa(Ca,F,de,ys,S,Xt))});var Ta=Sn?Gr?Yo:hl:Gr?Bl:Nu,ss=An?i:Ta(S);return Qa(ss||S,function(Ca,ys){ss&&(ys=Ca,Ca=S[ys]),fa(hr,ys,Sa(Ca,F,de,ys,S,Xt))}),hr}function po(S){var F=Nu(S);return function(de){return yo(de,S,F)}}function yo(S,F,de){var Ne=de.length;if(S==null)return!Ne;for(S=kn(S);Ne--;){var bt=de[Ne],Xt=F[bt],hr=S[bt];if(hr===i&&!(bt in S)||!Xt(hr))return!1}return!0}function tu(S,F,de){if(typeof S!="function")throw new er(o);return gc(function(){S.apply(i,de)},F)}function Is(S,F,de,Ne){var bt=-1,Xt=mo,hr=!0,kr=S.length,Gr=[],Sn=F.length;if(!kr)return Gr;de&&(F=Li(F,ls(de))),Ne?(Xt=Bs,hr=!1):F.length>=c&&(Xt=Go,hr=!1,F=new Ie(F));e:for(;++bt<kr;){var An=S[bt],$n=de==null?An:de(An);if(An=Ne||An!==0?An:0,hr&&$n===$n){for(var Si=Sn;Si--;)if(F[Si]===$n)continue e;Gr.push(An)}else Xt(F,$n,Ne)||Gr.push(An)}return Gr}var Ds=Lo(Oo),Vo=Lo(Po,!0);function wl(S,F){var de=!0;return Ds(S,function(Ne,bt,Xt){return de=!!F(Ne,bt,Xt),de}),de}function el(S,F,de){for(var Ne=-1,bt=S.length;++Ne<bt;){var Xt=S[Ne],hr=F(Xt);if(hr!=null&&(kr===i?hr===hr&&!ac(hr):de(hr,kr)))var kr=hr,Gr=Xt}return Gr}function Ma(S,F,de,Ne){var bt=S.length;for(de=rs(de),de<0&&(de=-de>bt?0:bt+de),Ne=Ne===i||Ne>bt?bt:rs(Ne),Ne<0&&(Ne+=bt),Ne=de>Ne?0:yd(Ne);de<Ne;)S[de++]=F;return S}function ou(S,F){var de=[];return Ds(S,function(Ne,bt,Xt){F(Ne,bt,Xt)&&de.push(Ne)}),de}function Ws(S,F,de,Ne,bt){var Xt=-1,hr=S.length;for(de||(de=Fo),bt||(bt=[]);++Xt<hr;){var kr=S[Xt];F>0&&de(kr)?F>1?Ws(kr,F-1,de,Ne,bt):Oa(bt,kr):Ne||(bt[bt.length]=kr)}return bt}var zu=rl(),Tu=rl(!0);function Oo(S,F){return S&&zu(S,F,Nu)}function Po(S,F){return S&&Tu(S,F,Nu)}function $l(S,F){return Wa(F,function(de){return yf(S[de])})}function Ko(S,F){F=dl(F,S);for(var de=0,Ne=F.length;S!=null&&de<Ne;)S=S[Hi(F[de++])];return de&&de==Ne?S:i}function El(S,F,de){var Ne=F(S);return qa(S)?Ne:Oa(Ne,de(S))}function js(S){return S==null?S===i?Fe:Ut:cn&&cn in kn(S)?R(S):ic(S)}function Ho(S,F){return S>F}function Zu(S,F){return S!=null&&Ci.call(S,F)}function jl(S,F){return S!=null&&F in kn(S)}function Cu(S,F,de){return S>=pa(F,de)&&S<yi(F,de)}function uc(S,F,de){for(var Ne=de?Bs:mo,bt=S[0].length,Xt=S.length,hr=Xt,kr=Or(Xt),Gr=1/0,Sn=[];hr--;){var An=S[hr];hr&&F&&(An=Li(An,ls(F))),Gr=pa(An.length,Gr),kr[hr]=!de&&(F||bt>=120&&An.length>=120)?new Ie(hr&&An):i}An=S[0];var $n=-1,Si=kr[0];e:for(;++$n<bt&&Sn.length<Gr;){var Qi=An[$n],Ta=F?F(Qi):Qi;if(Qi=de||Qi!==0?Qi:0,!(Si?Go(Si,Ta):Ne(Sn,Ta,de))){for(hr=Xt;--hr;){var ss=kr[hr];if(!(ss?Go(ss,Ta):Ne(S[hr],Ta,de)))continue e}Si&&Si.push(Ta),Sn.push(Qi)}}return Sn}function Ul(S,F,de,Ne){return Oo(S,function(bt,Xt,hr){F(Ne,de(bt),Xt,hr)}),Ne}function Sl(S,F,de){F=dl(F,S),S=Xu(S,F);var Ne=S==null?S:S[Hi(Io(F))];return Ne==null?i:Da(Ne,S,de)}function lc(S){return au(S)&&js(S)==Le}function no(S){return au(S)&&js(S)==it}function zl(S){return au(S)&&js(S)==yt}function ru(S,F,de,Ne,bt){return S===F?!0:S==null||F==null||!au(S)&&!au(F)?S!==S&&F!==F:fl(S,F,de,Ne,ru,bt)}function fl(S,F,de,Ne,bt,Xt){var hr=qa(S),kr=qa(F),Gr=hr?He:Jr(S),Sn=kr?He:Jr(F);Gr=Gr==Le?st:Gr,Sn=Sn==Le?st:Sn;var An=Gr==st,$n=Sn==st,Si=Gr==Sn;if(Si&&Pf(S)){if(!Pf(F))return!1;hr=!0,An=!1}if(Si&&!An)return Xt||(Xt=new jt),hr||jf(S)?rc(S,F,de,Ne,bt,Xt):mc(S,F,Gr,de,Ne,bt,Xt);if(!(de&b)){var Qi=An&&Ci.call(S,"__wrapped__"),Ta=$n&&Ci.call(F,"__wrapped__");if(Qi||Ta){var ss=Qi?S.value():S,Ca=Ta?F.value():F;return Xt||(Xt=new jt),bt(ss,Ca,de,Ne,Xt)}}return Si?(Xt||(Xt=new jt),sf(S,F,de,Ne,bt,Xt)):!1}function Us(S){return au(S)&&Jr(S)==Ve}function Jc(S,F,de,Ne){var bt=de.length,Xt=bt,hr=!Ne;if(S==null)return!Xt;for(S=kn(S);bt--;){var kr=de[bt];if(hr&&kr[2]?kr[1]!==S[kr[0]]:!(kr[0]in S))return!1}for(;++bt<Xt;){kr=de[bt];var Gr=kr[0],Sn=S[Gr],An=kr[1];if(hr&&kr[2]){if(Sn===i&&!(Gr in S))return!1}else{var $n=new jt;if(Ne)var Si=Ne(Sn,An,Gr,S,F,$n);if(!(Si===i?ru(An,Sn,b|A,Ne,$n):Si))return!1}}return!0}function Uc(S){if(!Xo(S)||Rc(S))return!1;var F=yf(S)?to:Rt;return F.test(ra(S))}function ii(S){return au(S)&&js(S)==rt}function wf(S){return au(S)&&Jr(S)==Ue}function zc(S){return au(S)&&Qf(S.length)&&!!nn[js(S)]}function Zc(S){return typeof S=="function"?S:S==null?Nl:typeof S=="object"?qa(S)?Fa(S[0],S[1]):Al(S):Dd(S)}function wu(S){if(!Ru(S))return gi(S);var F=[];for(var de in kn(S))Ci.call(S,de)&&de!="constructor"&&F.push(de);return F}function Ec(S){if(!Xo(S))return ol(S);var F=Ru(S),de=[];for(var Ne in S)Ne=="constructor"&&(F||!Ci.call(S,Ne))||de.push(Ne);return de}function Eu(S,F){return S<F}function mu(S,F){var de=-1,Ne=Fl(S)?Or(S.length):[];return Ds(S,function(bt,Xt,hr){Ne[++de]=F(bt,Xt,hr)}),Ne}function Al(S){var F=I(S);return F.length==1&&F[0][2]?Rl(F[0][0],F[0][1]):function(de){return de===S||Jc(de,S,F)}}function Fa(S,F){return al(S)&&nc(F)?Rl(Hi(S),F):function(de){var Ne=id(de,S);return Ne===i&&Ne===F?ad(de,S):ru(F,Ne,b|A)}}function As(S,F,de,Ne,bt){S!==F&&zu(F,function(Xt,hr){if(bt||(bt=new jt),Xo(Xt))Wo(S,F,hr,de,As,Ne,bt);else{var kr=Ne?Ne(vc(S,hr),Xt,hr+"",S,F,bt):i;kr===i&&(kr=Xt),ta(S,hr,kr)}},Bl)}function Wo(S,F,de,Ne,bt,Xt,hr){var kr=vc(S,de),Gr=vc(F,de),Sn=hr.get(Gr);if(Sn){ta(S,de,Sn);return}var An=Xt?Xt(kr,Gr,de+"",S,F,hr):i,$n=An===i;if($n){var Si=qa(Gr),Qi=!Si&&Pf(Gr),Ta=!Si&&!Qi&&jf(Gr);An=Gr,Si||Qi||Ta?qa(kr)?An=kr:fu(kr)?An=Os(kr):Qi?($n=!1,An=rf(Gr,!0)):Ta?($n=!1,An=Ql(Gr,!0)):An=[]:Kf(Gr)||Ff(Gr)?(An=kr,Ff(kr)?An=bd(kr):(!Xo(kr)||yf(kr))&&(An=Xs(Gr))):$n=!1}$n&&(hr.set(Gr,An),bt(An,Gr,Ne,Xt,hr),hr.delete(Gr)),ta(S,de,An)}function Zl(S,F){var de=S.length;if(de)return F+=F<0?de:0,ks(F,de)?S[F]:i}function Hl(S,F,de){F.length?F=Li(F,function(Xt){return qa(Xt)?function(hr){return Ko(hr,Xt.length===1?Xt[0]:Xt)}:Xt}):F=[Nl];var Ne=-1;F=Li(F,ls(ti()));var bt=mu(S,function(Xt,hr,kr){var Gr=Li(F,function(Sn){return Sn(Xt)});return{criteria:Gr,index:++Ne,value:Xt}});return ts(bt,function(Xt,hr){return Pl(Xt,hr,de)})}function nu(S,F){return Sc(S,F,function(de,Ne){return ad(S,Ne)})}function Sc(S,F,de){for(var Ne=-1,bt=F.length,Xt={};++Ne<bt;){var hr=F[Ne],kr=Ko(S,hr);de(kr,hr)&&Wu(Xt,dl(hr,S),kr)}return Xt}function Hc(S){return function(F){return Ko(F,S)}}function Hu(S,F,de,Ne){var bt=Ne?Do:vo,Xt=-1,hr=F.length,kr=S;for(S===F&&(F=Os(F)),de&&(kr=Li(S,ls(de)));++Xt<hr;)for(var Gr=0,Sn=F[Xt],An=de?de(Sn):Sn;(Gr=bt(kr,An,Gr,Ne))>-1;)kr!==S&&mr.call(kr,Gr,1),mr.call(S,Gr,1);return S}function Pu(S,F){for(var de=S?F.length:0,Ne=de-1;de--;){var bt=F[de];if(de==Ne||bt!==Xt){var Xt=bt;ks(bt)?mr.call(S,bt,1):fc(S,bt)}}return S}function Iu(S,F){return S+xi(Na()*(F-S+1))}function Wl(S,F,de,Ne){for(var bt=-1,Xt=yi(fi((F-S)/(de||1)),0),hr=Or(Xt);Xt--;)hr[Ne?Xt:++bt]=S,S+=de;return hr}function Tl(S,F){var de="";if(!S||F<1||F>X)return de;do F%2&&(de+=S),F=xi(F/2),F&&(S+=S);while(F);return de}function Pa(S,F){return ul(Bo(S,F,Nl),S+"")}function ef(S){return Un(Uf(S))}function tf(S,F){var de=Uf(S);return Fi(de,Ps(F,0,de.length))}function Wu(S,F,de,Ne){if(!Xo(S))return S;F=dl(F,S);for(var bt=-1,Xt=F.length,hr=Xt-1,kr=S;kr!=null&&++bt<Xt;){var Gr=Hi(F[bt]),Sn=de;if(Gr==="__proto__"||Gr==="constructor"||Gr==="prototype")return S;if(bt!=hr){var An=kr[Gr];Sn=Ne?Ne(An,Gr,kr):i,Sn===i&&(Sn=Xo(An)?An:ks(F[bt+1])?[]:{})}fa(kr,Gr,Sn),kr=kr[Gr]}return S}var Gu=Ja?function(S,F){return Ja.set(S,F),S}:Nl,Ef=tn?function(S,F){return tn(S,"toString",{configurable:!0,enumerable:!1,value:od(F),writable:!0})}:Nl;function Ac(S){return Fi(Uf(S))}function uu(S,F,de){var Ne=-1,bt=S.length;F<0&&(F=-F>bt?0:bt+F),de=de>bt?bt:de,de<0&&(de+=bt),bt=F>de?0:de-F>>>0,F>>>=0;for(var Xt=Or(bt);++Ne<bt;)Xt[Ne]=S[Ne+F];return Xt}function cc(S,F){var de;return Ds(S,function(Ne,bt,Xt){return de=F(Ne,bt,Xt),!de}),!!de}function Cl(S,F,de){var Ne=0,bt=S==null?Ne:S.length;if(typeof F=="number"&&F===F&&bt<=_e){for(;Ne<bt;){var Xt=Ne+bt>>>1,hr=S[Xt];hr!==null&&!ac(hr)&&(de?hr<=F:hr<F)?Ne=Xt+1:bt=Xt}return bt}return Gl(S,F,Nl,de)}function Gl(S,F,de,Ne){var bt=0,Xt=S==null?0:S.length;if(Xt===0)return 0;F=de(F);for(var hr=F!==F,kr=F===null,Gr=ac(F),Sn=F===i;bt<Xt;){var An=xi((bt+Xt)/2),$n=de(S[An]),Si=$n!==i,Qi=$n===null,Ta=$n===$n,ss=ac($n);if(hr)var Ca=Ne||Ta;else Sn?Ca=Ta&&(Ne||Si):kr?Ca=Ta&&Si&&(Ne||!Qi):Gr?Ca=Ta&&Si&&!Qi&&(Ne||!ss):Qi||ss?Ca=!1:Ca=Ne?$n<=F:$n<F;Ca?bt=An+1:Xt=An}return pa(Xt,se)}function Vl(S,F){for(var de=-1,Ne=S.length,bt=0,Xt=[];++de<Ne;){var hr=S[de],kr=F?F(hr):hr;if(!de||!$c(kr,Gr)){var Gr=kr;Xt[bt++]=hr===0?0:hr}}return Xt}function Kl(S){return typeof S=="number"?S:ac(S)?z:+S}function lu(S){if(typeof S=="string")return S;if(qa(S))return Li(S,lu)+"";if(ac(S))return be?be.call(S):"";var F=S+"";return F=="0"&&1/S==-ee?"-0":F}function Vu(S,F,de){var Ne=-1,bt=mo,Xt=S.length,hr=!0,kr=[],Gr=kr;if(de)hr=!1,bt=Bs;else if(Xt>=c){var Sn=F?null:Oc(S);if(Sn)return Js(Sn);hr=!1,bt=Go,Gr=new Ie}else Gr=F?[]:kr;e:for(;++Ne<Xt;){var An=S[Ne],$n=F?F(An):An;if(An=de||An!==0?An:0,hr&&$n===$n){for(var Si=Gr.length;Si--;)if(Gr[Si]===$n)continue e;F&&Gr.push($n),kr.push(An)}else bt(Gr,$n,de)||(Gr!==kr&&Gr.push($n),kr.push(An))}return kr}function fc(S,F){return F=dl(F,S),S=Xu(S,F),S==null||delete S[Hi(Io(F))]}function Wc(S,F,de,Ne){return Wu(S,F,de(Ko(S,F)),Ne)}function Tc(S,F,de,Ne){for(var bt=S.length,Xt=Ne?bt:-1;(Ne?Xt--:++Xt<bt)&&F(S[Xt],Xt,S););return de?uu(S,Ne?0:Xt,Ne?Xt+1:bt):uu(S,Ne?Xt+1:0,Ne?bt:Xt)}function Cc(S,F){var de=S;return de instanceof Wr&&(de=de.value()),ka(F,function(Ne,bt){return bt.func.apply(bt.thisArg,Oa([Ne],bt.args))},de)}function Yl(S,F,de){var Ne=S.length;if(Ne<2)return Ne?Vu(S[0]):[];for(var bt=-1,Xt=Or(Ne);++bt<Ne;)for(var hr=S[bt],kr=-1;++kr<Ne;)kr!=bt&&(Xt[bt]=Is(Xt[bt]||hr,S[kr],F,de));return Vu(Ws(Xt,1),F,de)}function dc(S,F,de){for(var Ne=-1,bt=S.length,Xt=F.length,hr={};++Ne<bt;){var kr=Ne<Xt?F[Ne]:i;de(hr,S[Ne],kr)}return hr}function Pc(S){return fu(S)?S:[]}function ql(S){return typeof S=="function"?S:Nl}function dl(S,F){return qa(S)?S:al(S,F)?[S]:ba(oo(S))}var Su=Pa;function Ts(S,F,de){var Ne=S.length;return de=de===i?Ne:de,!F&&de>=Ne?S:uu(S,F,de)}var Gc=fn||function(S){return na.clearTimeout(S)};function rf(S,F){if(F)return S.slice();var de=S.length,Ne=Xe?Xe(de):new S.constructor(de);return S.copy(Ne),Ne}function Ic(S){var F=new S.constructor(S.byteLength);return new Hs(F).set(new Hs(S)),F}function io(S,F){var de=F?Ic(S.buffer):S.buffer;return new S.constructor(de,S.byteOffset,S.byteLength)}function Xl(S){var F=new S.constructor(S.source,en.exec(S));return F.lastIndex=S.lastIndex,F}function ko(S){return ya?kn(ya.call(S)):{}}function Ql(S,F){var de=F?Ic(S.buffer):S.buffer;return new S.constructor(de,S.byteOffset,S.length)}function ke(S,F){if(S!==F){var de=S!==i,Ne=S===null,bt=S===S,Xt=ac(S),hr=F!==i,kr=F===null,Gr=F===F,Sn=ac(F);if(!kr&&!Sn&&!Xt&&S>F||Xt&&hr&&Gr&&!kr&&!Sn||Ne&&hr&&Gr||!de&&Gr||!bt)return 1;if(!Ne&&!Xt&&!Sn&&S<F||Sn&&de&&bt&&!Ne&&!Xt||kr&&de&&bt||!hr&&bt||!Gr)return-1}return 0}function Pl(S,F,de){for(var Ne=-1,bt=S.criteria,Xt=F.criteria,hr=bt.length,kr=de.length;++Ne<hr;){var Gr=ke(bt[Ne],Xt[Ne]);if(Gr){if(Ne>=kr)return Gr;var Sn=de[Ne];return Gr*(Sn=="desc"?-1:1)}}return S.index-F.index}function bo(S,F,de,Ne){for(var bt=-1,Xt=S.length,hr=de.length,kr=-1,Gr=F.length,Sn=yi(Xt-hr,0),An=Or(Gr+Sn),$n=!Ne;++kr<Gr;)An[kr]=F[kr];for(;++bt<hr;)($n||bt<Xt)&&(An[de[bt]]=S[bt]);for(;Sn--;)An[kr++]=S[bt++];return An}function Il(S,F,de,Ne){for(var bt=-1,Xt=S.length,hr=-1,kr=de.length,Gr=-1,Sn=F.length,An=yi(Xt-kr,0),$n=Or(An+Sn),Si=!Ne;++bt<An;)$n[bt]=S[bt];for(var Qi=bt;++Gr<Sn;)$n[Qi+Gr]=F[Gr];for(;++hr<kr;)(Si||bt<Xt)&&($n[Qi+de[hr]]=S[bt++]);return $n}function Os(S,F){var de=-1,Ne=S.length;for(F||(F=Or(Ne));++de<Ne;)F[de]=S[de];return F}function _o(S,F,de,Ne){var bt=!de;de||(de={});for(var Xt=-1,hr=F.length;++Xt<hr;){var kr=F[Xt],Gr=Ne?Ne(de[kr],S[kr],kr,de,S):i;Gr===i&&(Gr=S[kr]),bt?Xi(de,kr,Gr):fa(de,kr,Gr)}return de}function vu(S,F){return _o(S,ve(S),F)}function Ro(S,F){return _o(S,ze(S),F)}function tl(S,F){return function(de,Ne){var bt=qa(de)?Ji:es,Xt=F?F():{};return bt(de,S,ti(Ne,2),Xt)}}function Ku(S){return Pa(function(F,de){var Ne=-1,bt=de.length,Xt=bt>1?de[bt-1]:i,hr=bt>2?de[2]:i;for(Xt=S.length>3&&typeof Xt=="function"?(bt--,Xt):i,hr&&so(de[0],de[1],hr)&&(Xt=bt<3?i:Xt,bt=1),F=kn(F);++Ne<bt;){var kr=de[Ne];kr&&S(F,kr,Ne,Xt)}return F})}function Lo(S,F){return function(de,Ne){if(de==null)return de;if(!Fl(de))return S(de,Ne);for(var bt=de.length,Xt=F?bt:-1,hr=kn(de);(F?Xt--:++Xt<bt)&&Ne(hr[Xt],Xt,hr)!==!1;);return de}}function rl(S){return function(F,de,Ne){for(var bt=-1,Xt=kn(F),hr=Ne(F),kr=hr.length;kr--;){var Gr=hr[S?kr:++bt];if(de(Xt[Gr],Gr,Xt)===!1)break}return F}}function Jl(S,F,de){var Ne=F&k,bt=cu(S);function Xt(){var hr=this&&this!==na&&this instanceof Xt?bt:S;return hr.apply(Ne?de:this,arguments)}return Xt}function hc(S){return function(F){F=oo(F);var de=Ys(F)?dr(F):i,Ne=de?de[0]:F.charAt(0),bt=de?Ts(de,1).join(""):F.slice(1);return Ne[S]()+bt}}function nl(S){return function(F){return ka(Pd(Cd(F).replace(br,"")),S,"")}}function cu(S){return function(){var F=arguments;switch(F.length){case 0:return new S;case 1:return new S(F[0]);case 2:return new S(F[0],F[1]);case 3:return new S(F[0],F[1],F[2]);case 4:return new S(F[0],F[1],F[2],F[3]);case 5:return new S(F[0],F[1],F[2],F[3],F[4]);case 6:return new S(F[0],F[1],F[2],F[3],F[4],F[5]);case 7:return new S(F[0],F[1],F[2],F[3],F[4],F[5],F[6])}var de=yr(S.prototype),Ne=S.apply(de,F);return Xo(Ne)?Ne:de}}function nf(S,F,de){var Ne=cu(S);function bt(){for(var Xt=arguments.length,hr=Or(Xt),kr=Xt,Gr=Gs(bt);kr--;)hr[kr]=arguments[kr];var Sn=Xt<3&&hr[0]!==Gr&&hr[Xt-1]!==Gr?[]:ns(hr,Gr);if(Xt-=Sn.length,Xt<de)return xo(S,F,gu,bt.placeholder,i,hr,Sn,i,i,de-Xt);var An=this&&this!==na&&this instanceof bt?Ne:S;return Da(An,this,hr)}return bt}function Vc(S){return function(F,de,Ne){var bt=kn(F);if(!Fl(F)){var Xt=ti(de,3);F=Nu(F),de=function(kr){return Xt(bt[kr],kr,bt)}}var hr=S(F,de,Ne);return hr>-1?bt[Xt?F[hr]:hr]:i}}function Yu(S){return Du(function(F){var de=F.length,Ne=de,bt=gr.prototype.thru;for(S&&F.reverse();Ne--;){var Xt=F[Ne];if(typeof Xt!="function")throw new er(o);if(bt&&!hr&&ao(Xt)=="wrapper")var hr=new gr([],!0)}for(Ne=hr?Ne:de;++Ne<de;){Xt=F[Ne];var kr=ao(Xt),Gr=kr=="wrapper"?Zi(Xt):i;Gr&&sl(Gr[0])&&Gr[1]==(K|D|B|G)&&!Gr[4].length&&Gr[9]==1?hr=hr[ao(Gr[0])].apply(hr,Gr[3]):hr=Xt.length==1&&sl(Xt)?hr[kr]():hr.thru(Xt)}return function(){var Sn=arguments,An=Sn[0];if(hr&&Sn.length==1&&qa(An))return hr.plant(An).value();for(var $n=0,Si=de?F[$n].apply(this,Sn):An;++$n<de;)Si=F[$n].call(this,Si);return Si}})}function gu(S,F,de,Ne,bt,Xt,hr,kr,Gr,Sn){var An=F&K,$n=F&k,Si=F&L,Qi=F&(D|M),Ta=F&W,ss=Si?i:cu(S);function Ca(){for(var ys=arguments.length,Ls=Or(ys),sc=ys;sc--;)Ls[sc]=arguments[sc];if(Qi)var bl=Gs(Ca),oc=$u(Ls,bl);if(Ne&&(Ls=bo(Ls,Ne,bt,Qi)),Xt&&(Ls=Il(Ls,Xt,hr,Qi)),ys-=oc,Qi&&ys<Sn){var du=ns(Ls,bl);return xo(S,F,gu,Ca.placeholder,de,Ls,du,kr,Gr,Sn-ys)}var jc=$n?de:this,xf=Si?jc[S]:S;return ys=Ls.length,kr?Ls=_l(Ls,kr):Ta&&ys>1&&Ls.reverse(),An&&Gr<ys&&(Ls.length=Gr),this&&this!==na&&this instanceof Ca&&(xf=ss||cu(xf)),xf.apply(jc,Ls)}return Ca}function ec(S,F){return function(de,Ne){return Ul(de,S,F(Ne),{})}}function Dl(S,F){return function(de,Ne){var bt;if(de===i&&Ne===i)return F;if(de!==i&&(bt=de),Ne!==i){if(bt===i)return Ne;typeof de=="string"||typeof Ne=="string"?(de=lu(de),Ne=lu(Ne)):(de=Kl(de),Ne=Kl(Ne)),bt=S(de,Ne)}return bt}}function iu(S){return Du(function(F){return F=Li(F,ls(ti())),Pa(function(de){var Ne=this;return S(F,function(bt){return Da(bt,Ne,de)})})})}function Ol(S,F){F=F===i?" ":lu(F);var de=F.length;if(de<2)return de?Tl(F,S):F;var Ne=Tl(F,fi(S/ar(F)));return Ys(F)?Ts(dr(Ne),0,S).join(""):Ne.slice(0,S)}function pc(S,F,de,Ne){var bt=F&k,Xt=cu(S);function hr(){for(var kr=-1,Gr=arguments.length,Sn=-1,An=Ne.length,$n=Or(An+Gr),Si=this&&this!==na&&this instanceof hr?Xt:S;++Sn<An;)$n[Sn]=Ne[Sn];for(;Gr--;)$n[Sn++]=arguments[++kr];return Da(Si,bt?de:this,$n)}return hr}function Dc(S){return function(F,de,Ne){return Ne&&typeof Ne!="number"&&so(F,de,Ne)&&(de=Ne=i),F=bf(F),de===i?(de=F,F=0):de=bf(de),Ne=Ne===i?F<de?1:-1:bf(Ne),Wl(F,de,Ne,S)}}function _c(S){return function(F,de){return typeof F=="string"&&typeof de=="string"||(F=xc(F),de=xc(de)),S(F,de)}}function xo(S,F,de,Ne,bt,Xt,hr,kr,Gr,Sn){var An=F&D,$n=An?hr:i,Si=An?i:hr,Qi=An?Xt:i,Ta=An?i:Xt;F|=An?B:N,F&=~(An?N:B),F&T||(F&=~(k|L));var ss=[S,F,bt,Qi,$n,Ta,Si,kr,Gr,Sn],Ca=de.apply(i,ss);return sl(S)&&yu(Ca,ss),Ca.placeholder=Ne,wn(Ca,S,F)}function kl(S){var F=Dn[S];return function(de,Ne){if(de=xc(de),Ne=Ne==null?0:pa(rs(Ne),292),Ne&&wi(de)){var bt=(oo(de)+"e").split("e"),Xt=F(bt[0]+"e"+(+bt[1]+Ne));return bt=(oo(Xt)+"e").split("e"),+(bt[0]+"e"+(+bt[1]-Ne))}return F(de)}}var Oc=La&&1/Js(new La([,-0]))[1]==ee?function(S){return new La(S)}:cd;function kc(S){return function(F){var de=Jr(F);return de==Ve?zo(F):de==Ue?ju(F):jo(F,S(F))}}function Mo(S,F,de,Ne,bt,Xt,hr,kr){var Gr=F&L;if(!Gr&&typeof S!="function")throw new er(o);var Sn=Ne?Ne.length:0;if(Sn||(F&=~(B|N),Ne=bt=i),hr=hr===i?hr:yi(rs(hr),0),kr=kr===i?kr:rs(kr),Sn-=bt?bt.length:0,F&N){var An=Ne,$n=bt;Ne=bt=i}var Si=Gr?i:Zi(S),Qi=[S,F,de,Ne,bt,An,$n,Xt,hr,kr];if(Si&&as(Qi,Si),S=Qi[0],F=Qi[1],de=Qi[2],Ne=Qi[3],bt=Qi[4],kr=Qi[9]=Qi[9]===i?Gr?0:S.length:yi(Qi[9]-Sn,0),!kr&&F&(D|M)&&(F&=~(D|M)),!F||F==k)var Ta=Jl(S,F,de);else F==D||F==M?Ta=nf(S,F,kr):(F==B||F==(k|B))&&!bt.length?Ta=pc(S,F,de,Ne):Ta=gu.apply(i,Qi);var ss=Si?Gu:yu;return wn(ss(Ta,Qi),S,F)}function tc(S,F,de,Ne){return S===i||$c(S,ua[de])&&!Ci.call(Ne,de)?F:S}function il(S,F,de,Ne,bt,Xt){return Xo(S)&&Xo(F)&&(Xt.set(F,S),As(S,F,i,il,Xt),Xt.delete(F)),S}function af(S){return Kf(S)?i:S}function rc(S,F,de,Ne,bt,Xt){var hr=de&b,kr=S.length,Gr=F.length;if(kr!=Gr&&!(hr&&Gr>kr))return!1;var Sn=Xt.get(S),An=Xt.get(F);if(Sn&&An)return Sn==F&&An==S;var $n=-1,Si=!0,Qi=de&A?new Ie:i;for(Xt.set(S,F),Xt.set(F,S);++$n<kr;){var Ta=S[$n],ss=F[$n];if(Ne)var Ca=hr?Ne(ss,Ta,$n,F,S,Xt):Ne(Ta,ss,$n,S,F,Xt);if(Ca!==i){if(Ca)continue;Si=!1;break}if(Qi){if(!Qs(F,function(ys,Ls){if(!Go(Qi,Ls)&&(Ta===ys||bt(Ta,ys,de,Ne,Xt)))return Qi.push(Ls)})){Si=!1;break}}else if(!(Ta===ss||bt(Ta,ss,de,Ne,Xt))){Si=!1;break}}return Xt.delete(S),Xt.delete(F),Si}function mc(S,F,de,Ne,bt,Xt,hr){switch(de){case ct:if(S.byteLength!=F.byteLength||S.byteOffset!=F.byteOffset)return!1;S=S.buffer,F=F.buffer;case it:return!(S.byteLength!=F.byteLength||!Xt(new Hs(S),new Hs(F)));case Bt:case yt:case Ct:return $c(+S,+F);case rr:return S.name==F.name&&S.message==F.message;case rt:case ye:return S==F+"";case Ve:var kr=zo;case Ue:var Gr=Ne&b;if(kr||(kr=Js),S.size!=F.size&&!Gr)return!1;var Sn=hr.get(S);if(Sn)return Sn==F;Ne|=A,hr.set(S,F);var An=rc(kr(S),kr(F),Ne,bt,Xt,hr);return hr.delete(S),An;case Ce:if(ya)return ya.call(S)==ya.call(F)}return!1}function sf(S,F,de,Ne,bt,Xt){var hr=de&b,kr=hl(S),Gr=kr.length,Sn=hl(F),An=Sn.length;if(Gr!=An&&!hr)return!1;for(var $n=Gr;$n--;){var Si=kr[$n];if(!(hr?Si in F:Ci.call(F,Si)))return!1}var Qi=Xt.get(S),Ta=Xt.get(F);if(Qi&&Ta)return Qi==F&&Ta==S;var ss=!0;Xt.set(S,F),Xt.set(F,S);for(var Ca=hr;++$n<Gr;){Si=kr[$n];var ys=S[Si],Ls=F[Si];if(Ne)var sc=hr?Ne(Ls,ys,Si,F,S,Xt):Ne(ys,Ls,Si,S,F,Xt);if(!(sc===i?ys===Ls||bt(ys,Ls,de,Ne,Xt):sc)){ss=!1;break}Ca||(Ca=Si=="constructor")}if(ss&&!Ca){var bl=S.constructor,oc=F.constructor;bl!=oc&&"constructor"in S&&"constructor"in F&&!(typeof bl=="function"&&bl instanceof bl&&typeof oc=="function"&&oc instanceof oc)&&(ss=!1)}return Xt.delete(S),Xt.delete(F),ss}function Du(S){return ul(Bo(S,i,uf),S+"")}function hl(S){return El(S,Nu,ve)}function Yo(S){return El(S,Bl,ze)}var Zi=Ja?function(S){return Ja.get(S)}:cd;function ao(S){for(var F=S.name+"",de=Ea[F],Ne=Ci.call(Ea,F)?de.length:0;Ne--;){var bt=de[Ne],Xt=bt.func;if(Xt==null||Xt==S)return bt.name}return F}function Gs(S){var F=Ci.call(Te,"placeholder")?Te:S;return F.placeholder}function ti(){var S=Te.iteratee||ud;return S=S===ud?Zc:S,arguments.length?S(arguments[0],arguments[1]):S}function Ou(S,F){var de=S.__data__;return pl(F)?de[typeof F=="string"?"string":"hash"]:de.map}function I(S){for(var F=Nu(S),de=F.length;de--;){var Ne=F[de],bt=S[Ne];F[de]=[Ne,bt,nc(bt)]}return F}function O(S,F){var de=pu(S,F);return Uc(de)?de:i}function R(S){var F=Ci.call(S,cn),de=S[cn];try{S[cn]=i;var Ne=!0}catch(Xt){}var bt=Va.call(S);return Ne&&(F?S[cn]=de:delete S[cn]),bt}var ve=qi?function(S){return S==null?[]:(S=kn(S),Wa(qi(S),function(F){return Wt.call(S,F)}))}:fd,ze=qi?function(S){for(var F=[];S;)Oa(F,ve(S)),S=Qe(S);return F}:fd,Jr=js;(za&&Jr(new za(new ArrayBuffer(1)))!=ct||Ii&&Jr(new Ii)!=Ve||ga&&Jr(ga.resolve())!=xt||La&&Jr(new La)!=Ue||Ka&&Jr(new Ka)!=je)&&(Jr=function(S){var F=js(S),de=F==st?S.constructor:i,Ne=de?ra(de):"";if(Ne)switch(Ne){case Ns:return ct;case ea:return Ve;case cs:return xt;case la:return Ue;case Ya:return je}return F});function Jn(S,F,de){for(var Ne=-1,bt=de.length;++Ne<bt;){var Xt=de[Ne],hr=Xt.size;switch(Xt.type){case"drop":S+=hr;break;case"dropRight":F-=hr;break;case"take":F=pa(F,S+hr);break;case"takeRight":S=yi(S,F-hr);break}}return{start:S,end:F}}function Vi(S){var F=S.match(Zr);return F?F[1].split(Vr):[]}function Mi(S,F,de){F=dl(F,S);for(var Ne=-1,bt=F.length,Xt=!1;++Ne<bt;){var hr=Hi(F[Ne]);if(!(Xt=S!=null&&de(S,hr)))break;S=S[hr]}return Xt||++Ne!=bt?Xt:(bt=S==null?0:S.length,!!bt&&Qf(bt)&&ks(hr,bt)&&(qa(S)||Ff(S)))}function Za(S){var F=S.length,de=new S.constructor(F);return F&&typeof S[0]=="string"&&Ci.call(S,"index")&&(de.index=S.index,de.input=S.input),de}function Xs(S){return typeof S.constructor=="function"&&!Ru(S)?yr(Qe(S)):{}}function ei(S,F,de){var Ne=S.constructor;switch(F){case it:return Ic(S);case Bt:case yt:return new Ne(+S);case ct:return io(S,de);case Gt:case Ht:case Pe:case tt:case Vt:case kt:case Zt:case Nt:case At:return Ql(S,de);case Ve:return new Ne;case Ct:case ye:return new Ne(S);case rt:return Xl(S);case Ue:return new Ne;case Ce:return ko(S)}}function hs(S,F){var de=F.length;if(!de)return S;var Ne=de-1;return F[Ne]=(de>1?"& ":"")+F[Ne],F=F.join(de>2?", ":" "),S.replace(St,`{
/* [wrapped with `+F+`] */
`)}function Fo(S){return qa(S)||Ff(S)||!!(Lr&&S&&S[Lr])}function ks(S,F){var de=typeof S;return F=F==null?X:F,!!F&&(de=="number"||de!="symbol"&&gt.test(S))&&S>-1&&S%1==0&&S<F}function so(S,F,de){if(!Xo(de))return!1;var Ne=typeof F;return(Ne=="number"?Fl(de)&&ks(F,de.length):Ne=="string"&&F in de)?$c(de[F],S):!1}function al(S,F){if(qa(S))return!1;var de=typeof S;return de=="number"||de=="symbol"||de=="boolean"||S==null||ac(S)?!0:xe.test(S)||!wt.test(S)||F!=null&&S in kn(F)}function pl(S){var F=typeof S;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?S!=="__proto__":S===null}function sl(S){var F=ao(S),de=Te[F];if(typeof de!="function"||!(F in Wr.prototype))return!1;if(S===de)return!0;var Ne=Zi(de);return!!Ne&&S===Ne[0]}function Rc(S){return!!Zs&&Zs in S}var ku=qs?yf:dd;function Ru(S){var F=S&&S.constructor,de=typeof F=="function"&&F.prototype||ua;return S===de}function nc(S){return S===S&&!Xo(S)}function Rl(S,F){return function(de){return de==null?!1:de[S]===F&&(F!==i||S in kn(de))}}function qu(S){var F=Mf(S,function(Ne){return de.size===a&&de.clear(),Ne}),de=F.cache;return F}function as(S,F){var de=S[1],Ne=F[1],bt=de|Ne,Xt=bt<(k|L|K),hr=Ne==K&&de==D||Ne==K&&de==G&&S[7].length<=F[8]||Ne==(K|G)&&F[7].length<=F[8]&&de==D;if(!(Xt||hr))return S;Ne&k&&(S[2]=F[2],bt|=de&k?0:T);var kr=F[3];if(kr){var Gr=S[3];S[3]=Gr?bo(Gr,kr,F[4]):kr,S[4]=Gr?ns(S[3],x):F[4]}return kr=F[5],kr&&(Gr=S[5],S[5]=Gr?Il(Gr,kr,F[6]):kr,S[6]=Gr?ns(S[5],x):F[6]),kr=F[7],kr&&(S[7]=kr),Ne&K&&(S[8]=S[8]==null?F[8]:pa(S[8],F[8])),S[9]==null&&(S[9]=F[9]),S[0]=F[0],S[1]=bt,S}function ol(S){var F=[];if(S!=null)for(var de in kn(S))F.push(de);return F}function ic(S){return Va.call(S)}function Bo(S,F,de){return F=yi(F===i?S.length-1:F,0),function(){for(var Ne=arguments,bt=-1,Xt=yi(Ne.length-F,0),hr=Or(Xt);++bt<Xt;)hr[bt]=Ne[F+bt];bt=-1;for(var kr=Or(F+1);++bt<F;)kr[bt]=Ne[bt];return kr[F]=de(hr),Da(S,this,kr)}}function Xu(S,F){return F.length<2?S:Ko(S,uu(F,0,-1))}function _l(S,F){for(var de=S.length,Ne=pa(F.length,de),bt=Os(S);Ne--;){var Xt=F[Ne];S[Ne]=ks(Xt,de)?bt[Xt]:i}return S}function vc(S,F){if(!(F==="constructor"&&typeof S[F]=="function")&&F!="__proto__")return S[F]}var yu=zn(Gu),gc=Kn||function(S,F){return na.setTimeout(S,F)},ul=zn(Ef);function wn(S,F,de){var Ne=F+"";return ul(S,hs(Ne,ma(Vi(Ne),de)))}function zn(S){var F=0,de=0;return function(){var Ne=ro(),bt=Q-(Ne-de);if(de=Ne,bt>0){if(++F>=le)return arguments[0]}else F=0;return S.apply(i,arguments)}}function Fi(S,F){var de=-1,Ne=S.length,bt=Ne-1;for(F=F===i?Ne:F;++de<F;){var Xt=Iu(de,bt),hr=S[Xt];S[Xt]=S[de],S[de]=hr}return S.length=F,S}var ba=qu(function(S){var F=[];return S.charCodeAt(0)===46&&F.push(""),S.replace(qe,function(de,Ne,bt,Xt){F.push(bt?Xt.replace(pr,"$1"):Ne||de)}),F});function Hi(S){if(typeof S=="string"||ac(S))return S;var F=S+"";return F=="0"&&1/S==-ee?"-0":F}function ra(S){if(S!=null){try{return fs.call(S)}catch(F){}try{return S+""}catch(F){}}return""}function ma(S,F){return Qa(Oe,function(de){var Ne="_."+de[0];F&de[1]&&!mo(S,Ne)&&S.push(Ne)}),S.sort()}function ps(S){if(S instanceof Wr)return S.clone();var F=new gr(S.__wrapped__,S.__chain__);return F.__actions__=Os(S.__actions__),F.__index__=S.__index__,F.__values__=S.__values__,F}function Ni(S,F,de){(de?so(S,F,de):F===i)?F=1:F=yi(rs(F),0);var Ne=S==null?0:S.length;if(!Ne||F<1)return[];for(var bt=0,Xt=0,hr=Or(fi(Ne/F));bt<Ne;)hr[Xt++]=uu(S,bt,bt+=F);return hr}function _s(S){for(var F=-1,de=S==null?0:S.length,Ne=0,bt=[];++F<de;){var Xt=S[F];Xt&&(bt[Ne++]=Xt)}return bt}function Lu(){var S=arguments.length;if(!S)return[];for(var F=Or(S-1),de=arguments[0],Ne=S;Ne--;)F[Ne-1]=arguments[Ne];return Oa(qa(de)?Os(de):[de],Ws(F,1))}var Mu=Pa(function(S,F){return fu(S)?Is(S,Ws(F,1,fu,!0)):[]}),ll=Pa(function(S,F){var de=Io(F);return fu(de)&&(de=i),fu(S)?Is(S,Ws(F,1,fu,!0),ti(de,2)):[]}),Qu=Pa(function(S,F){var de=Io(F);return fu(de)&&(de=i),fu(S)?Is(S,Ws(F,1,fu,!0),i,de):[]});function ml(S,F,de){var Ne=S==null?0:S.length;return Ne?(F=de||F===i?1:rs(F),uu(S,F<0?0:F,Ne)):[]}function If(S,F,de){var Ne=S==null?0:S.length;return Ne?(F=de||F===i?1:rs(F),F=Ne-F,uu(S,0,F<0?0:F)):[]}function Sf(S,F){return S&&S.length?Tc(S,ti(F,3),!0,!0):[]}function Ll(S,F){return S&&S.length?Tc(S,ti(F,3),!0):[]}function of(S,F,de,Ne){var bt=S==null?0:S.length;return bt?(de&&typeof de!="number"&&so(S,F,de)&&(de=0,Ne=bt),Ma(S,F,de,Ne)):[]}function Lc(S,F,de){var Ne=S==null?0:S.length;if(!Ne)return-1;var bt=de==null?0:rs(de);return bt<0&&(bt=yi(Ne+bt,0)),us(S,ti(F,3),bt)}function Kc(S,F,de){var Ne=S==null?0:S.length;if(!Ne)return-1;var bt=Ne-1;return de!==i&&(bt=rs(de),bt=de<0?yi(Ne+bt,0):pa(bt,Ne-1)),us(S,ti(F,3),bt,!0)}function uf(S){var F=S==null?0:S.length;return F?Ws(S,1):[]}function cl(S){var F=S==null?0:S.length;return F?Ws(S,ee):[]}function Df(S,F){var de=S==null?0:S.length;return de?(F=F===i?1:rs(F),Ws(S,F)):[]}function Ju(S){for(var F=-1,de=S==null?0:S.length,Ne={};++F<de;){var bt=S[F];Ne[bt[0]]=bt[1]}return Ne}function yc(S){return S&&S.length?S[0]:i}function lf(S,F,de){var Ne=S==null?0:S.length;if(!Ne)return-1;var bt=de==null?0:rs(de);return bt<0&&(bt=yi(Ne+bt,0)),vo(S,F,bt)}function qo(S){var F=S==null?0:S.length;return F?uu(S,0,-1):[]}var Yc=Pa(function(S){var F=Li(S,Pc);return F.length&&F[0]===S[0]?uc(F):[]}),cf=Pa(function(S){var F=Io(S),de=Li(S,Pc);return F===Io(de)?F=i:de.pop(),de.length&&de[0]===S[0]?uc(de,ti(F,2)):[]}),Fu=Pa(function(S){var F=Io(S),de=Li(S,Pc);return F=typeof F=="function"?F:i,F&&de.pop(),de.length&&de[0]===S[0]?uc(de,i,F):[]});function bc(S,F){return S==null?"":ha.call(S,F)}function Io(S){var F=S==null?0:S.length;return F?S[F-1]:i}function ff(S,F,de){var Ne=S==null?0:S.length;if(!Ne)return-1;var bt=Ne;return de!==i&&(bt=rs(de),bt=bt<0?yi(Ne+bt,0):pa(bt,Ne-1)),F===F?fr(S,F,bt):us(S,go,bt,!0)}function df(S,F){return S&&S.length?Zl(S,rs(F)):i}var Mc=Pa(Fc);function Fc(S,F){return S&&S.length&&F&&F.length?Hu(S,F):S}function qc(S,F,de){return S&&S.length&&F&&F.length?Hu(S,F,ti(de,2)):S}function Bc(S,F,de){return S&&S.length&&F&&F.length?Hu(S,F,i,de):S}var Of=Du(function(S,F){var de=S==null?0:S.length,Ne=$s(S,F);return Pu(S,Li(F,function(bt){return ks(bt,de)?+bt:bt}).sort(ke)),Ne});function Af(S,F){var de=[];if(!(S&&S.length))return de;var Ne=-1,bt=[],Xt=S.length;for(F=ti(F,3);++Ne<Xt;){var hr=S[Ne];F(hr,Ne,S)&&(de.push(hr),bt.push(Ne))}return Pu(S,bt),de}function Xc(S){return S==null?S:$a.call(S)}function Tf(S,F,de){var Ne=S==null?0:S.length;return Ne?(de&&typeof de!="number"&&so(S,F,de)?(F=0,de=Ne):(F=F==null?0:rs(F),de=de===i?Ne:rs(de)),uu(S,F,de)):[]}function kf(S,F){return Cl(S,F)}function hf(S,F,de){return Gl(S,F,ti(de,2))}function zf(S,F){var de=S==null?0:S.length;if(de){var Ne=Cl(S,F);if(Ne<de&&$c(S[Ne],F))return Ne}return-1}function pf(S,F){return Cl(S,F,!0)}function Rf(S,F,de){return Gl(S,F,ti(de,2),!0)}function Bf(S,F){var de=S==null?0:S.length;if(de){var Ne=Cl(S,F,!0)-1;if($c(S[Ne],F))return Ne}return-1}function _f(S){return S&&S.length?Vl(S):[]}function Zf(S,F){return S&&S.length?Vl(S,ti(F,2)):[]}function Cf(S){var F=S==null?0:S.length;return F?uu(S,1,F):[]}function g(S,F,de){return S&&S.length?(F=de||F===i?1:rs(F),uu(S,0,F<0?0:F)):[]}function P(S,F,de){var Ne=S==null?0:S.length;return Ne?(F=de||F===i?1:rs(F),F=Ne-F,uu(S,F<0?0:F,Ne)):[]}function U(S,F){return S&&S.length?Tc(S,ti(F,3),!1,!0):[]}function ge(S,F){return S&&S.length?Tc(S,ti(F,3)):[]}var Me=Pa(function(S){return Vu(Ws(S,1,fu,!0))}),at=Pa(function(S){var F=Io(S);return fu(F)&&(F=i),Vu(Ws(S,1,fu,!0),ti(F,2))}),E=Pa(function(S){var F=Io(S);return F=typeof F=="function"?F:i,Vu(Ws(S,1,fu,!0),i,F)});function t(S){return S&&S.length?Vu(S):[]}function n(S,F){return S&&S.length?Vu(S,ti(F,2)):[]}function s(S,F){return F=typeof F=="function"?F:i,S&&S.length?Vu(S,i,F):[]}function m(S){if(!(S&&S.length))return[];var F=0;return S=Wa(S,function(de){if(fu(de))return F=yi(de.length,F),!0}),uo(F,function(de){return Li(S,oi(de))})}function w(S,F){if(!(S&&S.length))return[];var de=m(S);return F==null?de:Li(de,function(Ne){return Da(F,i,Ne)})}var C=Pa(function(S,F){return fu(S)?Is(S,F):[]}),j=Pa(function(S){return Yl(Wa(S,fu))}),Y=Pa(function(S){var F=Io(S);return fu(F)&&(F=i),Yl(Wa(S,fu),ti(F,2))}),H=Pa(function(S){var F=Io(S);return F=typeof F=="function"?F:i,Yl(Wa(S,fu),i,F)}),te=Pa(m);function oe(S,F){return dc(S||[],F||[],fa)}function me(S,F){return dc(S||[],F||[],Wu)}var Se=Pa(function(S){var F=S.length,de=F>1?S[F-1]:i;return de=typeof de=="function"?(S.pop(),de):i,w(S,de)});function Ae(S){var F=Te(S);return F.__chain__=!0,F}function lt(S,F){return F(S),S}function et(S,F){return F(S)}var Lt=Du(function(S){var F=S.length,de=F?S[0]:0,Ne=this.__wrapped__,bt=function(Xt){return $s(Xt,S)};return F>1||this.__actions__.length||!(Ne instanceof Wr)||!ks(de)?this.thru(bt):(Ne=Ne.slice(de,+de+(F?1:0)),Ne.__actions__.push({func:et,args:[bt],thisArg:i}),new gr(Ne,this.__chain__).thru(function(Xt){return F&&!Xt.length&&Xt.push(i),Xt}))});function tr(){return Ae(this)}function Kt(){return new gr(this.value(),this.__chain__)}function Cr(){this.__values__===i&&(this.__values__=gd(this.value()));var S=this.__index__>=this.__values__.length,F=S?i:this.__values__[this.__index__++];return{done:S,value:F}}function Hr(){return this}function on(S){for(var F,de=this;de instanceof Kr;){var Ne=ps(de);Ne.__index__=0,Ne.__values__=i,F?bt.__wrapped__=Ne:F=Ne;var bt=Ne;de=de.__wrapped__}return bt.__wrapped__=S,F}function zr(){var S=this.__wrapped__;if(S instanceof Wr){var F=S;return this.__actions__.length&&(F=new Wr(this)),F=F.reverse(),F.__actions__.push({func:et,args:[Xc],thisArg:i}),new gr(F,this.__chain__)}return this.thru(Xc)}function Yr(){return Cc(this.__wrapped__,this.__actions__)}var rn=tl(function(S,F,de){Ci.call(S,de)?++S[de]:Xi(S,de,1)});function Nr(S,F,de){var Ne=qa(S)?Pn:wl;return de&&so(S,F,de)&&(F=i),Ne(S,ti(F,3))}function Fn(S,F){var de=qa(S)?Wa:ou;return de(S,ti(F,3))}var ai=Vc(Lc),ia=Vc(Kc);function $i(S,F){return Ws(Ha(S,F),1)}function Bi(S,F){return Ws(Ha(S,F),ee)}function Ai(S,F,de){return de=de===i?1:rs(de),Ws(Ha(S,F),de)}function va(S,F){var de=qa(S)?Qa:Ds;return de(S,ti(F,3))}function si(S,F){var de=qa(S)?Ks:Vo;return de(S,ti(F,3))}var Aa=tl(function(S,F,de){Ci.call(S,de)?S[de].push(F):Xi(S,de,[F])});function xa(S,F,de,Ne){S=Fl(S)?S:Uf(S),de=de&&!Ne?rs(de):0;var bt=S.length;return de<0&&(de=yi(bt+de,0)),Jf(S)?de<=bt&&S.indexOf(F,de)>-1:!!bt&&vo(S,F,de)>-1}var hi=Pa(function(S,F,de){var Ne=-1,bt=typeof F=="function",Xt=Fl(S)?Or(S.length):[];return Ds(S,function(hr){Xt[++Ne]=bt?Da(F,hr,de):Sl(hr,F,de)}),Xt}),ri=tl(function(S,F,de){Xi(S,de,F)});function Ha(S,F){var de=qa(S)?Li:mu;return de(S,ti(F,3))}function ms(S,F,de,Ne){return S==null?[]:(qa(F)||(F=F==null?[]:[F]),de=Ne?i:de,qa(de)||(de=de==null?[]:[de]),Hl(S,F,de))}var Vs=tl(function(S,F,de){S[de?0:1].push(F)},function(){return[[],[]]});function Rs(S,F,de){var Ne=qa(S)?ka:Ga,bt=arguments.length<3;return Ne(S,ti(F,4),de,bt,Ds)}function No(S,F,de){var Ne=qa(S)?os:Ga,bt=arguments.length<3;return Ne(S,ti(F,4),de,bt,Vo)}function vl(S,F){var de=qa(S)?Wa:ou;return de(S,$f(ti(F,3)))}function Bu(S){var F=qa(S)?Un:ef;return F(S)}function gl(S,F,de){(de?so(S,F,de):F===i)?F=1:F=rs(F);var Ne=qa(S)?Ei:tf;return Ne(S,F)}function mf(S){var F=qa(S)?ca:Ac;return F(S)}function td(S){if(S==null)return 0;if(Fl(S))return Jf(S)?ar(S):S.length;var F=Jr(S);return F==Ve||F==Ue?S.size:wu(S).length}function Hf(S,F,de){var Ne=qa(S)?Qs:cc;return de&&so(S,F,de)&&(F=i),Ne(S,ti(F,3))}var Wf=Pa(function(S,F){if(S==null)return[];var de=F.length;return de>1&&so(S,F[0],F[1])?F=[]:de>2&&so(F[0],F[1],F[2])&&(F=[F[0]]),Hl(S,Ws(F,1),[])}),Gf=Hn||function(){return na.Date.now()};function zs(S,F){if(typeof F!="function")throw new er(o);return S=rs(S),function(){if(--S<1)return F.apply(this,arguments)}}function Au(S,F,de){return F=de?i:F,F=S&&F==null?S.length:F,Mo(S,K,i,i,i,i,F)}function yl(S,F){var de;if(typeof F!="function")throw new er(o);return S=rs(S),function(){return--S>0&&(de=F.apply(this,arguments)),S<=1&&(F=i),de}}var Nc=Pa(function(S,F,de){var Ne=k;if(de.length){var bt=ns(de,Gs(Nc));Ne|=B}return Mo(S,Ne,F,de,bt)}),Ml=Pa(function(S,F,de){var Ne=k|L;if(de.length){var bt=ns(de,Gs(Ml));Ne|=B}return Mo(F,Ne,S,de,bt)});function vf(S,F,de){F=de?i:F;var Ne=Mo(S,D,i,i,i,i,i,F);return Ne.placeholder=vf.placeholder,Ne}function Qc(S,F,de){F=de?i:F;var Ne=Mo(S,M,i,i,i,i,i,F);return Ne.placeholder=Qc.placeholder,Ne}function Vf(S,F,de){var Ne,bt,Xt,hr,kr,Gr,Sn=0,An=!1,$n=!1,Si=!0;if(typeof S!="function")throw new er(o);F=xc(F)||0,Xo(de)&&(An=!!de.leading,$n="maxWait"in de,Xt=$n?yi(xc(de.maxWait)||0,F):Xt,Si="trailing"in de?!!de.trailing:Si);function Qi(du){var jc=Ne,xf=bt;return Ne=bt=i,Sn=du,hr=S.apply(xf,jc),hr}function Ta(du){return Sn=du,kr=gc(ys,F),An?Qi(du):hr}function ss(du){var jc=du-Gr,xf=du-Sn,Od=F-jc;return $n?pa(Od,Xt-xf):Od}function Ca(du){var jc=du-Gr,xf=du-Sn;return Gr===i||jc>=F||jc<0||$n&&xf>=Xt}function ys(){var du=Gf();if(Ca(du))return Ls(du);kr=gc(ys,ss(du))}function Ls(du){return kr=i,Si&&Ne?Qi(du):(Ne=bt=i,hr)}function sc(){kr!==i&&Gc(kr),Sn=0,Ne=Gr=bt=kr=i}function bl(){return kr===i?hr:Ls(Gf())}function oc(){var du=Gf(),jc=Ca(du);if(Ne=arguments,bt=this,Gr=du,jc){if(kr===i)return Ta(Gr);if($n)return Gc(kr),kr=gc(ys,F),Qi(Gr)}return kr===i&&(kr=gc(ys,F)),hr}return oc.cancel=sc,oc.flush=bl,oc}var Nf=Pa(function(S,F){return tu(S,1,F)}),Yf=Pa(function(S,F,de){return tu(S,xc(F)||0,de)});function Lf(S){return Mo(S,W)}function Mf(S,F){if(typeof S!="function"||F!=null&&typeof F!="function")throw new er(o);var de=function(){var Ne=arguments,bt=F?F.apply(this,Ne):Ne[0],Xt=de.cache;if(Xt.has(bt))return Xt.get(bt);var hr=S.apply(this,Ne);return de.cache=Xt.set(bt,hr)||Xt,hr};return de.cache=new(Mf.Cache||xu),de}Mf.Cache=xu;function $f(S){if(typeof S!="function")throw new er(o);return function(){var F=arguments;switch(F.length){case 0:return!S.call(this);case 1:return!S.call(this,F[0]);case 2:return!S.call(this,F[0],F[1]);case 3:return!S.call(this,F[0],F[1],F[2])}return!S.apply(this,F)}}function qf(S){return yl(2,S)}var Xf=Su(function(S,F){F=F.length==1&&qa(F[0])?Li(F[0],ls(ti())):Li(Ws(F,1),ls(ti()));var de=F.length;return Pa(function(Ne){for(var bt=-1,Xt=pa(Ne.length,de);++bt<Xt;)Ne[bt]=F[bt].call(this,Ne[bt]);return Da(S,this,Ne)})}),gf=Pa(function(S,F){var de=ns(F,Gs(gf));return Mo(S,B,i,F,de)}),hd=Pa(function(S,F){var de=ns(F,Gs(hd));return Mo(S,N,i,F,de)}),Ld=Du(function(S,F){return Mo(S,G,i,i,i,F)});function Md(S,F){if(typeof S!="function")throw new er(o);return F=F===i?F:rs(F),Pa(S,F)}function Fd(S,F){if(typeof S!="function")throw new er(o);return F=F==null?0:yi(rs(F),0),Pa(function(de){var Ne=de[F],bt=Ts(de,0,F);return Ne&&Oa(bt,Ne),Da(S,this,bt)})}function Bd(S,F,de){var Ne=!0,bt=!0;if(typeof S!="function")throw new er(o);return Xo(de)&&(Ne="leading"in de?!!de.leading:Ne,bt="trailing"in de?!!de.trailing:bt),Vf(S,F,{leading:Ne,maxWait:F,trailing:bt})}function Nd(S){return Au(S,1)}function $d(S,F){return gf(ql(F),S)}function jd(){if(!arguments.length)return[];var S=arguments[0];return qa(S)?S:[S]}function Ud(S){return Sa(S,_)}function zd(S,F){return F=typeof F=="function"?F:i,Sa(S,_,F)}function Zd(S){return Sa(S,p|_)}function Hd(S,F){return F=typeof F=="function"?F:i,Sa(S,p|_,F)}function Wd(S,F){return F==null||yo(S,F,Nu(F))}function $c(S,F){return S===F||S!==S&&F!==F}var Gd=_c(Ho),Vd=_c(function(S,F){return S>=F}),Ff=lc(function(){return arguments}())?lc:function(S){return au(S)&&Ci.call(S,"callee")&&!Wt.call(S,"callee")},qa=Or.isArray,Kd=bs?ls(bs):no;function Fl(S){return S!=null&&Qf(S.length)&&!yf(S)}function fu(S){return au(S)&&Fl(S)}function Yd(S){return S===!0||S===!1||au(S)&&js(S)==Bt}var Pf=Ri||dd,qd=Xa?ls(Xa):zl;function Xd(S){return au(S)&&S.nodeType===1&&!Kf(S)}function Qd(S){if(S==null)return!0;if(Fl(S)&&(qa(S)||typeof S=="string"||typeof S.splice=="function"||Pf(S)||jf(S)||Ff(S)))return!S.length;var F=Jr(S);if(F==Ve||F==Ue)return!S.size;if(Ru(S))return!wu(S).length;for(var de in S)if(Ci.call(S,de))return!1;return!0}function Jd(S,F){return ru(S,F)}function e0(S,F,de){de=typeof de=="function"?de:i;var Ne=de?de(S,F):i;return Ne===i?ru(S,F,i,de):!!Ne}function rd(S){if(!au(S))return!1;var F=js(S);return F==rr||F==It||typeof S.message=="string"&&typeof S.name=="string"&&!Kf(S)}function t0(S){return typeof S=="number"&&wi(S)}function yf(S){if(!Xo(S))return!1;var F=js(S);return F==Yt||F==lr||F==$e||F==ht}function pd(S){return typeof S=="number"&&S==rs(S)}function Qf(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=X}function Xo(S){var F=typeof S;return S!=null&&(F=="object"||F=="function")}function au(S){return S!=null&&typeof S=="object"}var _d=xs?ls(xs):Us;function r0(S,F){return S===F||Jc(S,F,I(F))}function n0(S,F,de){return de=typeof de=="function"?de:i,Jc(S,F,I(F),de)}function i0(S){return md(S)&&S!=+S}function a0(S){if(ku(S))throw new _n(f);return Uc(S)}function s0(S){return S===null}function o0(S){return S==null}function md(S){return typeof S=="number"||au(S)&&js(S)==Ct}function Kf(S){if(!au(S)||js(S)!=st)return!1;var F=Qe(S);if(F===null)return!0;var de=Ci.call(F,"constructor")&&F.constructor;return typeof de=="function"&&de instanceof de&&fs.call(de)==Ra}var nd=ji?ls(ji):ii;function u0(S){return pd(S)&&S>=-X&&S<=X}var vd=Fs?ls(Fs):wf;function Jf(S){return typeof S=="string"||!qa(S)&&au(S)&&js(S)==ye}function ac(S){return typeof S=="symbol"||au(S)&&js(S)==Ce}var jf=So?ls(So):zc;function l0(S){return S===i}function c0(S){return au(S)&&Jr(S)==je}function f0(S){return au(S)&&js(S)==Ge}var d0=_c(Eu),h0=_c(function(S,F){return S<=F});function gd(S){if(!S)return[];if(Fl(S))return Jf(S)?dr(S):Os(S);if(jr&&S[jr])return Jo(S[jr]());var F=Jr(S),de=F==Ve?zo:F==Ue?Js:Uf;return de(S)}function bf(S){if(!S)return S===0?S:0;if(S=xc(S),S===ee||S===-ee){var F=S<0?-1:1;return F*ce}return S===S?S:0}function rs(S){var F=bf(S),de=F%1;return F===F?de?F-de:F:0}function yd(S){return S?Ps(rs(S),0,$):0}function xc(S){if(typeof S=="number")return S;if(ac(S))return z;if(Xo(S)){var F=typeof S.valueOf=="function"?S.valueOf():S;S=Xo(F)?F+"":F}if(typeof S!="string")return S===0?S:+S;S=Qo(S);var de=sr.test(S);return de||mt.test(S)?Oi(S.slice(2),de?2:8):an.test(S)?z:+S}function bd(S){return _o(S,Bl(S))}function p0(S){return S?Ps(rs(S),-X,X):S===0?S:0}function oo(S){return S==null?"":lu(S)}var _0=Ku(function(S,F){if(Ru(F)||Fl(F)){_o(F,Nu(F),S);return}for(var de in F)Ci.call(F,de)&&fa(S,de,F[de])}),xd=Ku(function(S,F){_o(F,Bl(F),S)}),ed=Ku(function(S,F,de,Ne){_o(F,Bl(F),S,Ne)}),m0=Ku(function(S,F,de,Ne){_o(F,Nu(F),S,Ne)}),v0=Du($s);function g0(S,F){var de=yr(S);return F==null?de:ds(de,F)}var y0=Pa(function(S,F){S=kn(S);var de=-1,Ne=F.length,bt=Ne>2?F[2]:i;for(bt&&so(F[0],F[1],bt)&&(Ne=1);++de<Ne;)for(var Xt=F[de],hr=Bl(Xt),kr=-1,Gr=hr.length;++kr<Gr;){var Sn=hr[kr],An=S[Sn];(An===i||$c(An,ua[Sn])&&!Ci.call(S,Sn))&&(S[Sn]=Xt[Sn])}return S}),b0=Pa(function(S){return S.push(i,il),Da(wd,i,S)});function x0(S,F){return wa(S,ti(F,3),Oo)}function w0(S,F){return wa(S,ti(F,3),Po)}function E0(S,F){return S==null?S:zu(S,ti(F,3),Bl)}function S0(S,F){return S==null?S:Tu(S,ti(F,3),Bl)}function A0(S,F){return S&&Oo(S,ti(F,3))}function T0(S,F){return S&&Po(S,ti(F,3))}function C0(S){return S==null?[]:$l(S,Nu(S))}function P0(S){return S==null?[]:$l(S,Bl(S))}function id(S,F,de){var Ne=S==null?i:Ko(S,F);return Ne===i?de:Ne}function I0(S,F){return S!=null&&Mi(S,F,Zu)}function ad(S,F){return S!=null&&Mi(S,F,jl)}var D0=ec(function(S,F,de){F!=null&&typeof F.toString!="function"&&(F=Va.call(F)),S[F]=de},od(Nl)),O0=ec(function(S,F,de){F!=null&&typeof F.toString!="function"&&(F=Va.call(F)),Ci.call(S,F)?S[F].push(de):S[F]=[de]},ti),k0=Pa(Sl);function Nu(S){return Fl(S)?Tn(S):wu(S)}function Bl(S){return Fl(S)?Tn(S,!0):Ec(S)}function R0(S,F){var de={};return F=ti(F,3),Oo(S,function(Ne,bt,Xt){Xi(de,F(Ne,bt,Xt),Ne)}),de}function L0(S,F){var de={};return F=ti(F,3),Oo(S,function(Ne,bt,Xt){Xi(de,bt,F(Ne,bt,Xt))}),de}var M0=Ku(function(S,F,de){As(S,F,de)}),wd=Ku(function(S,F,de,Ne){As(S,F,de,Ne)}),F0=Du(function(S,F){var de={};if(S==null)return de;var Ne=!1;F=Li(F,function(Xt){return Xt=dl(Xt,S),Ne||(Ne=Xt.length>1),Xt}),_o(S,Yo(S),de),Ne&&(de=Sa(de,p|y|_,af));for(var bt=F.length;bt--;)fc(de,F[bt]);return de});function B0(S,F){return Ed(S,$f(ti(F)))}var N0=Du(function(S,F){return S==null?{}:nu(S,F)});function Ed(S,F){if(S==null)return{};var de=Li(Yo(S),function(Ne){return[Ne]});return F=ti(F),Sc(S,de,function(Ne,bt){return F(Ne,bt[0])})}function $0(S,F,de){F=dl(F,S);var Ne=-1,bt=F.length;for(bt||(bt=1,S=i);++Ne<bt;){var Xt=S==null?i:S[Hi(F[Ne])];Xt===i&&(Ne=bt,Xt=de),S=yf(Xt)?Xt.call(S):Xt}return S}function j0(S,F,de){return S==null?S:Wu(S,F,de)}function U0(S,F,de,Ne){return Ne=typeof Ne=="function"?Ne:i,S==null?S:Wu(S,F,de,Ne)}var Sd=kc(Nu),Ad=kc(Bl);function z0(S,F,de){var Ne=qa(S),bt=Ne||Pf(S)||jf(S);if(F=ti(F,4),de==null){var Xt=S&&S.constructor;bt?de=Ne?new Xt:[]:Xo(S)?de=yf(Xt)?yr(Qe(S)):{}:de={}}return(bt?Qa:Oo)(S,function(hr,kr,Gr){return F(de,hr,kr,Gr)}),de}function Z0(S,F){return S==null?!0:fc(S,F)}function H0(S,F,de){return S==null?S:Wc(S,F,ql(de))}function W0(S,F,de,Ne){return Ne=typeof Ne=="function"?Ne:i,S==null?S:Wc(S,F,ql(de),Ne)}function Uf(S){return S==null?[]:hu(S,Nu(S))}function G0(S){return S==null?[]:hu(S,Bl(S))}function V0(S,F,de){return de===i&&(de=F,F=i),de!==i&&(de=xc(de),de=de===de?de:0),F!==i&&(F=xc(F),F=F===F?F:0),Ps(xc(S),F,de)}function K0(S,F,de){return F=bf(F),de===i?(de=F,F=0):de=bf(de),S=xc(S),Cu(S,F,de)}function Y0(S,F,de){if(de&&typeof de!="boolean"&&so(S,F,de)&&(F=de=i),de===i&&(typeof F=="boolean"?(de=F,F=i):typeof S=="boolean"&&(de=S,S=i)),S===i&&F===i?(S=0,F=1):(S=bf(S),F===i?(F=S,S=0):F=bf(F)),S>F){var Ne=S;S=F,F=Ne}if(de||S%1||F%1){var bt=Na();return pa(S+bt*(F-S+Pi("1e-"+((bt+"").length-1))),F)}return Iu(S,F)}var q0=nl(function(S,F,de){return F=F.toLowerCase(),S+(de?Td(F):F)});function Td(S){return sd(oo(S).toLowerCase())}function Cd(S){return S=oo(S),S&&S.replace($t,Co).replace(Dr,"")}function X0(S,F,de){S=oo(S),F=lu(F);var Ne=S.length;de=de===i?Ne:Ps(rs(de),0,Ne);var bt=de;return de-=F.length,de>=0&&S.slice(de,bt)==F}function Q0(S){return S=oo(S),S&&ft.test(S)?S.replace(Dt,wo):S}function J0(S){return S=oo(S),S&&Ft.test(S)?S.replace(vt,"\\$&"):S}var eh=nl(function(S,F,de){return S+(de?"-":"")+F.toLowerCase()}),th=nl(function(S,F,de){return S+(de?" ":"")+F.toLowerCase()}),rh=hc("toLowerCase");function nh(S,F,de){S=oo(S),F=rs(F);var Ne=F?ar(S):0;if(!F||Ne>=F)return S;var bt=(F-Ne)/2;return Ol(xi(bt),de)+S+Ol(fi(bt),de)}function ih(S,F,de){S=oo(S),F=rs(F);var Ne=F?ar(S):0;return F&&Ne<F?S+Ol(F-Ne,de):S}function ah(S,F,de){S=oo(S),F=rs(F);var Ne=F?ar(S):0;return F&&Ne<F?Ol(F-Ne,de)+S:S}function sh(S,F,de){return de||F==null?F=0:F&&(F=+F),Ss(oo(S).replace(Be,""),F||0)}function oh(S,F,de){return(de?so(S,F,de):F===i)?F=1:F=rs(F),Tl(oo(S),F)}function uh(){var S=arguments,F=oo(S[0]);return S.length<3?F:F.replace(S[1],S[2])}var lh=nl(function(S,F,de){return S+(de?"_":"")+F.toLowerCase()});function ch(S,F,de){return de&&typeof de!="number"&&so(S,F,de)&&(F=de=i),de=de===i?$:de>>>0,de?(S=oo(S),S&&(typeof F=="string"||F!=null&&!nd(F))&&(F=lu(F),!F&&Ys(S))?Ts(dr(S),0,de):S.split(F,de)):[]}var fh=nl(function(S,F,de){return S+(de?" ":"")+sd(F)});function dh(S,F,de){return S=oo(S),de=de==null?0:Ps(rs(de),0,S.length),F=lu(F),S.slice(de,de+F.length)==F}function hh(S,F,de){var Ne=Te.templateSettings;de&&so(S,F,de)&&(F=i),S=oo(S),F=ed({},F,Ne,tc);var bt=ed({},F.imports,Ne.imports,tc),Xt=Nu(bt),hr=hu(bt,Xt),kr,Gr,Sn=0,An=F.interpolate||Er,$n="__p += '",Si=vi((F.escape||Er).source+"|"+An.source+"|"+(An===Re?$r:Er).source+"|"+(F.evaluate||Er).source+"|$","g"),Qi="//# sourceURL="+(Ci.call(F,"sourceURL")?(F.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Xr+"]")+`
`;S.replace(Si,function(Ca,ys,Ls,sc,bl,oc){return Ls||(Ls=sc),$n+=S.slice(Sn,oc).replace(vr,Uo),ys&&(kr=!0,$n+=`' +
__e(`+ys+`) +
'`),bl&&(Gr=!0,$n+=`';
`+bl+`;
__p += '`),Ls&&($n+=`' +
((__t = (`+Ls+`)) == null ? '' : __t) +
'`),Sn=oc+Ca.length,Ca}),$n+=`';
`;var Ta=Ci.call(F,"variable")&&F.variable;if(!Ta)$n=`with (obj) {
`+$n+`
}
`;else if(Br.test(Ta))throw new _n(h);$n=(Gr?$n.replace(qt,""):$n).replace(Ke,"$1").replace(fe,"$1;"),$n="function("+(Ta||"obj")+`) {
`+(Ta?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(kr?", __e = _.escape":"")+(Gr?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+$n+`return __p
}`;var ss=Id(function(){return _t(Xt,Qi+"return "+$n).apply(i,hr)});if(ss.source=$n,rd(ss))throw ss;return ss}function ph(S){return oo(S).toLowerCase()}function _h(S){return oo(S).toUpperCase()}function mh(S,F,de){if(S=oo(S),S&&(de||F===i))return Qo(S);if(!S||!(F=lu(F)))return S;var Ne=dr(S),bt=dr(F),Xt=su(Ne,bt),hr=lo(Ne,bt)+1;return Ts(Ne,Xt,hr).join("")}function vh(S,F,de){if(S=oo(S),S&&(de||F===i))return S.slice(0,Sr(S)+1);if(!S||!(F=lu(F)))return S;var Ne=dr(S),bt=lo(Ne,dr(F))+1;return Ts(Ne,0,bt).join("")}function gh(S,F,de){if(S=oo(S),S&&(de||F===i))return S.replace(Be,"");if(!S||!(F=lu(F)))return S;var Ne=dr(S),bt=su(Ne,dr(F));return Ts(Ne,bt).join("")}function yh(S,F){var de=ne,Ne=ae;if(Xo(F)){var bt="separator"in F?F.separator:bt;de="length"in F?rs(F.length):de,Ne="omission"in F?lu(F.omission):Ne}S=oo(S);var Xt=S.length;if(Ys(S)){var hr=dr(S);Xt=hr.length}if(de>=Xt)return S;var kr=de-ar(Ne);if(kr<1)return Ne;var Gr=hr?Ts(hr,0,kr).join(""):S.slice(0,kr);if(bt===i)return Gr+Ne;if(hr&&(kr+=Gr.length-kr),nd(bt)){if(S.slice(kr).search(bt)){var Sn,An=Gr;for(bt.global||(bt=vi(bt.source,oo(en.exec(bt))+"g")),bt.lastIndex=0;Sn=bt.exec(An);)var $n=Sn.index;Gr=Gr.slice(0,$n===i?kr:$n)}}else if(S.indexOf(lu(bt),kr)!=kr){var Si=Gr.lastIndexOf(bt);Si>-1&&(Gr=Gr.slice(0,Si))}return Gr+Ne}function bh(S){return S=oo(S),S&&De.test(S)?S.replace(pe,un):S}var xh=nl(function(S,F,de){return S+(de?" ":"")+F.toUpperCase()}),sd=hc("toUpperCase");function Pd(S,F,de){return S=oo(S),F=de?i:F,F===i?bu(S)?In(S):ws(S):S.match(F)||[]}var Id=Pa(function(S,F){try{return Da(S,i,F)}catch(de){return rd(de)?de:new _n(de)}}),wh=Du(function(S,F){return Qa(F,function(de){de=Hi(de),Xi(S,de,Nc(S[de],S))}),S});function Eh(S){var F=S==null?0:S.length,de=ti();return S=F?Li(S,function(Ne){if(typeof Ne[1]!="function")throw new er(o);return[de(Ne[0]),Ne[1]]}):[],Pa(function(Ne){for(var bt=-1;++bt<F;){var Xt=S[bt];if(Da(Xt[0],this,Ne))return Da(Xt[1],this,Ne)}})}function Sh(S){return po(Sa(S,p))}function od(S){return function(){return S}}function Ah(S,F){return S==null||S!==S?F:S}var Th=Yu(),Ch=Yu(!0);function Nl(S){return S}function ud(S){return Zc(typeof S=="function"?S:Sa(S,p))}function Ph(S){return Al(Sa(S,p))}function Ih(S,F){return Fa(S,Sa(F,p))}var Dh=Pa(function(S,F){return function(de){return Sl(de,S,F)}}),Oh=Pa(function(S,F){return function(de){return Sl(S,de,F)}});function ld(S,F,de){var Ne=Nu(F),bt=$l(F,Ne);de==null&&!(Xo(F)&&(bt.length||!Ne.length))&&(de=F,F=S,S=this,bt=$l(F,Nu(F)));var Xt=!(Xo(de)&&"chain"in de)||!!de.chain,hr=yf(S);return Qa(bt,function(kr){var Gr=F[kr];S[kr]=Gr,hr&&(S.prototype[kr]=function(){var Sn=this.__chain__;if(Xt||Sn){var An=S(this.__wrapped__),$n=An.__actions__=Os(this.__actions__);return $n.push({func:Gr,args:arguments,thisArg:S}),An.__chain__=Sn,An}return Gr.apply(S,Oa([this.value()],arguments))})}),S}function kh(){return na._===this&&(na._=eo),this}function cd(){}function Rh(S){return S=rs(S),Pa(function(F){return Zl(F,S)})}var Lh=iu(Li),Mh=iu(Pn),Fh=iu(Qs);function Dd(S){return al(S)?oi(Hi(S)):Hc(S)}function Bh(S){return function(F){return S==null?i:Ko(S,F)}}var Nh=Dc(),$h=Dc(!0);function fd(){return[]}function dd(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(S,F){if(S=rs(S),S<1||S>X)return[];var de=$,Ne=pa(S,$);F=ti(F),S-=$;for(var bt=uo(Ne,F);++de<S;)F(de);return bt}function Hh(S){return qa(S)?Li(S,Hi):ac(S)?[S]:Os(ba(oo(S)))}function Wh(S){var F=++co;return oo(S)+F}var Gh=Dl(function(S,F){return S+F},0),Vh=kl("ceil"),Kh=Dl(function(S,F){return S/F},1),Yh=kl("floor");function qh(S){return S&&S.length?el(S,Nl,Ho):i}function Xh(S,F){return S&&S.length?el(S,ti(F,2),Ho):i}function Qh(S){return $o(S,Nl)}function Jh(S,F){return $o(S,ti(F,2))}function ep(S){return S&&S.length?el(S,Nl,Eu):i}function tp(S,F){return S&&S.length?el(S,ti(F,2),Eu):i}var rp=Dl(function(S,F){return S*F},1),np=kl("round"),ip=Dl(function(S,F){return S-F},0);function ap(S){return S&&S.length?Ia(S,Nl):0}function sp(S,F){return S&&S.length?Ia(S,ti(F,2)):0}return Te.after=zs,Te.ary=Au,Te.assign=_0,Te.assignIn=xd,Te.assignInWith=ed,Te.assignWith=m0,Te.at=v0,Te.before=yl,Te.bind=Nc,Te.bindAll=wh,Te.bindKey=Ml,Te.castArray=jd,Te.chain=Ae,Te.chunk=Ni,Te.compact=_s,Te.concat=Lu,Te.cond=Eh,Te.conforms=Sh,Te.constant=od,Te.countBy=rn,Te.create=g0,Te.curry=vf,Te.curryRight=Qc,Te.debounce=Vf,Te.defaults=y0,Te.defaultsDeep=b0,Te.defer=Nf,Te.delay=Yf,Te.difference=Mu,Te.differenceBy=ll,Te.differenceWith=Qu,Te.drop=ml,Te.dropRight=If,Te.dropRightWhile=Sf,Te.dropWhile=Ll,Te.fill=of,Te.filter=Fn,Te.flatMap=$i,Te.flatMapDeep=Bi,Te.flatMapDepth=Ai,Te.flatten=uf,Te.flattenDeep=cl,Te.flattenDepth=Df,Te.flip=Lf,Te.flow=Th,Te.flowRight=Ch,Te.fromPairs=Ju,Te.functions=C0,Te.functionsIn=P0,Te.groupBy=Aa,Te.initial=qo,Te.intersection=Yc,Te.intersectionBy=cf,Te.intersectionWith=Fu,Te.invert=D0,Te.invertBy=O0,Te.invokeMap=hi,Te.iteratee=ud,Te.keyBy=ri,Te.keys=Nu,Te.keysIn=Bl,Te.map=Ha,Te.mapKeys=R0,Te.mapValues=L0,Te.matches=Ph,Te.matchesProperty=Ih,Te.memoize=Mf,Te.merge=M0,Te.mergeWith=wd,Te.method=Dh,Te.methodOf=Oh,Te.mixin=ld,Te.negate=$f,Te.nthArg=Rh,Te.omit=F0,Te.omitBy=B0,Te.once=qf,Te.orderBy=ms,Te.over=Lh,Te.overArgs=Xf,Te.overEvery=Mh,Te.overSome=Fh,Te.partial=gf,Te.partialRight=hd,Te.partition=Vs,Te.pick=N0,Te.pickBy=Ed,Te.property=Dd,Te.propertyOf=Bh,Te.pull=Mc,Te.pullAll=Fc,Te.pullAllBy=qc,Te.pullAllWith=Bc,Te.pullAt=Of,Te.range=Nh,Te.rangeRight=$h,Te.rearg=Ld,Te.reject=vl,Te.remove=Af,Te.rest=Md,Te.reverse=Xc,Te.sampleSize=gl,Te.set=j0,Te.setWith=U0,Te.shuffle=mf,Te.slice=Tf,Te.sortBy=Wf,Te.sortedUniq=_f,Te.sortedUniqBy=Zf,Te.split=ch,Te.spread=Fd,Te.tail=Cf,Te.take=g,Te.takeRight=P,Te.takeRightWhile=U,Te.takeWhile=ge,Te.tap=lt,Te.throttle=Bd,Te.thru=et,Te.toArray=gd,Te.toPairs=Sd,Te.toPairsIn=Ad,Te.toPath=Hh,Te.toPlainObject=bd,Te.transform=z0,Te.unary=Nd,Te.union=Me,Te.unionBy=at,Te.unionWith=E,Te.uniq=t,Te.uniqBy=n,Te.uniqWith=s,Te.unset=Z0,Te.unzip=m,Te.unzipWith=w,Te.update=H0,Te.updateWith=W0,Te.values=Uf,Te.valuesIn=G0,Te.without=C,Te.words=Pd,Te.wrap=$d,Te.xor=j,Te.xorBy=Y,Te.xorWith=H,Te.zip=te,Te.zipObject=oe,Te.zipObjectDeep=me,Te.zipWith=Se,Te.entries=Sd,Te.entriesIn=Ad,Te.extend=xd,Te.extendWith=ed,ld(Te,Te),Te.add=Gh,Te.attempt=Id,Te.camelCase=q0,Te.capitalize=Td,Te.ceil=Vh,Te.clamp=V0,Te.clone=Ud,Te.cloneDeep=Zd,Te.cloneDeepWith=Hd,Te.cloneWith=zd,Te.conformsTo=Wd,Te.deburr=Cd,Te.defaultTo=Ah,Te.divide=Kh,Te.endsWith=X0,Te.eq=$c,Te.escape=Q0,Te.escapeRegExp=J0,Te.every=Nr,Te.find=ai,Te.findIndex=Lc,Te.findKey=x0,Te.findLast=ia,Te.findLastIndex=Kc,Te.findLastKey=w0,Te.floor=Yh,Te.forEach=va,Te.forEachRight=si,Te.forIn=E0,Te.forInRight=S0,Te.forOwn=A0,Te.forOwnRight=T0,Te.get=id,Te.gt=Gd,Te.gte=Vd,Te.has=I0,Te.hasIn=ad,Te.head=yc,Te.identity=Nl,Te.includes=xa,Te.indexOf=lf,Te.inRange=K0,Te.invoke=k0,Te.isArguments=Ff,Te.isArray=qa,Te.isArrayBuffer=Kd,Te.isArrayLike=Fl,Te.isArrayLikeObject=fu,Te.isBoolean=Yd,Te.isBuffer=Pf,Te.isDate=qd,Te.isElement=Xd,Te.isEmpty=Qd,Te.isEqual=Jd,Te.isEqualWith=e0,Te.isError=rd,Te.isFinite=t0,Te.isFunction=yf,Te.isInteger=pd,Te.isLength=Qf,Te.isMap=_d,Te.isMatch=r0,Te.isMatchWith=n0,Te.isNaN=i0,Te.isNative=a0,Te.isNil=o0,Te.isNull=s0,Te.isNumber=md,Te.isObject=Xo,Te.isObjectLike=au,Te.isPlainObject=Kf,Te.isRegExp=nd,Te.isSafeInteger=u0,Te.isSet=vd,Te.isString=Jf,Te.isSymbol=ac,Te.isTypedArray=jf,Te.isUndefined=l0,Te.isWeakMap=c0,Te.isWeakSet=f0,Te.join=bc,Te.kebabCase=eh,Te.last=Io,Te.lastIndexOf=ff,Te.lowerCase=th,Te.lowerFirst=rh,Te.lt=d0,Te.lte=h0,Te.max=qh,Te.maxBy=Xh,Te.mean=Qh,Te.meanBy=Jh,Te.min=ep,Te.minBy=tp,Te.stubArray=fd,Te.stubFalse=dd,Te.stubObject=jh,Te.stubString=Uh,Te.stubTrue=zh,Te.multiply=rp,Te.nth=df,Te.noConflict=kh,Te.noop=cd,Te.now=Gf,Te.pad=nh,Te.padEnd=ih,Te.padStart=ah,Te.parseInt=sh,Te.random=Y0,Te.reduce=Rs,Te.reduceRight=No,Te.repeat=oh,Te.replace=uh,Te.result=$0,Te.round=np,Te.runInContext=ur,Te.sample=Bu,Te.size=td,Te.snakeCase=lh,Te.some=Hf,Te.sortedIndex=kf,Te.sortedIndexBy=hf,Te.sortedIndexOf=zf,Te.sortedLastIndex=pf,Te.sortedLastIndexBy=Rf,Te.sortedLastIndexOf=Bf,Te.startCase=fh,Te.startsWith=dh,Te.subtract=ip,Te.sum=ap,Te.sumBy=sp,Te.template=hh,Te.times=Zh,Te.toFinite=bf,Te.toInteger=rs,Te.toLength=yd,Te.toLower=ph,Te.toNumber=xc,Te.toSafeInteger=p0,Te.toString=oo,Te.toUpper=_h,Te.trim=mh,Te.trimEnd=vh,Te.trimStart=gh,Te.truncate=yh,Te.unescape=bh,Te.uniqueId=Wh,Te.upperCase=xh,Te.upperFirst=sd,Te.each=va,Te.eachRight=si,Te.first=yc,ld(Te,function(){var S={};return Oo(Te,function(F,de){Ci.call(Te.prototype,de)||(S[de]=F)}),S}(),{chain:!1}),Te.VERSION=l,Qa(["bind","bindKey","curry","curryRight","partial","partialRight"],function(S){Te[S].placeholder=Te}),Qa(["drop","take"],function(S,F){Wr.prototype[S]=function(de){de=de===i?1:yi(rs(de),0);var Ne=this.__filtered__&&!F?new Wr(this):this.clone();return Ne.__filtered__?Ne.__takeCount__=pa(de,Ne.__takeCount__):Ne.__views__.push({size:pa(de,$),type:S+(Ne.__dir__<0?"Right":"")}),Ne},Wr.prototype[S+"Right"]=function(de){return this.reverse()[S](de).reverse()}}),Qa(["filter","map","takeWhile"],function(S,F){var de=F+1,Ne=de==J||de==ue;Wr.prototype[S]=function(bt){var Xt=this.clone();return Xt.__iteratees__.push({iteratee:ti(bt,3),type:de}),Xt.__filtered__=Xt.__filtered__||Ne,Xt}}),Qa(["head","last"],function(S,F){var de="take"+(F?"Right":"");Wr.prototype[S]=function(){return this[de](1).value()[0]}}),Qa(["initial","tail"],function(S,F){var de="drop"+(F?"":"Right");Wr.prototype[S]=function(){return this.__filtered__?new Wr(this):this[de](1)}}),Wr.prototype.compact=function(){return this.filter(Nl)},Wr.prototype.find=function(S){return this.filter(S).head()},Wr.prototype.findLast=function(S){return this.reverse().find(S)},Wr.prototype.invokeMap=Pa(function(S,F){return typeof S=="function"?new Wr(this):this.map(function(de){return Sl(de,S,F)})}),Wr.prototype.reject=function(S){return this.filter($f(ti(S)))},Wr.prototype.slice=function(S,F){S=rs(S);var de=this;return de.__filtered__&&(S>0||F<0)?new Wr(de):(S<0?de=de.takeRight(-S):S&&(de=de.drop(S)),F!==i&&(F=rs(F),de=F<0?de.dropRight(-F):de.take(F-S)),de)},Wr.prototype.takeRightWhile=function(S){return this.reverse().takeWhile(S).reverse()},Wr.prototype.toArray=function(){return this.take($)},Oo(Wr.prototype,function(S,F){var de=/^(?:filter|find|map|reject)|While$/.test(F),Ne=/^(?:head|last)$/.test(F),bt=Te[Ne?"take"+(F=="last"?"Right":""):F],Xt=Ne||/^find/.test(F);bt&&(Te.prototype[F]=function(){var hr=this.__wrapped__,kr=Ne?[1]:arguments,Gr=hr instanceof Wr,Sn=kr[0],An=Gr||qa(hr),$n=function(ys){var Ls=bt.apply(Te,Oa([ys],kr));return Ne&&Si?Ls[0]:Ls};An&&de&&typeof Sn=="function"&&Sn.length!=1&&(Gr=An=!1);var Si=this.__chain__,Qi=!!this.__actions__.length,Ta=Xt&&!Si,ss=Gr&&!Qi;if(!Xt&&An){hr=ss?hr:new Wr(this);var Ca=S.apply(hr,kr);return Ca.__actions__.push({func:et,args:[$n],thisArg:i}),new gr(Ca,Si)}return Ta&&ss?S.apply(this,kr):(Ca=this.thru($n),Ta?Ne?Ca.value()[0]:Ca.value():Ca)})}),Qa(["pop","push","shift","sort","splice","unshift"],function(S){var F=Yi[S],de=/^(?:push|sort|unshift)$/.test(S)?"tap":"thru",Ne=/^(?:pop|shift)$/.test(S);Te.prototype[S]=function(){var bt=arguments;if(Ne&&!this.__chain__){var Xt=this.value();return F.apply(qa(Xt)?Xt:[],bt)}return this[de](function(hr){return F.apply(qa(hr)?hr:[],bt)})}}),Oo(Wr.prototype,function(S,F){var de=Te[F];if(de){var Ne=de.name+"";Ci.call(Ea,Ne)||(Ea[Ne]=[]),Ea[Ne].push({name:F,func:de})}}),Ea[gu(i,L).name]=[{name:"wrapper",func:i}],Wr.prototype.clone=xn,Wr.prototype.reverse=Gn,Wr.prototype.value=Di,Te.prototype.at=Lt,Te.prototype.chain=tr,Te.prototype.commit=Kt,Te.prototype.next=Cr,Te.prototype.plant=on,Te.prototype.reverse=zr,Te.prototype.toJSON=Te.prototype.valueOf=Te.prototype.value=Yr,Te.prototype.first=Te.prototype.head,jr&&(Te.prototype[jr]=Hr),Te},Xn=Qn();na._=Xn,r=function(){return Xn}.call(v,e,v,d),r!==i&&(d.exports=r)}).call(this)},28440:function(d,v,e){var r=e(50097),i=e(63323),l=i(function(c,f,o){r(c,f,o)});d.exports=l},55950:function(d){function v(){return!1}d.exports=v},20480:function(d,v,e){var r=e(95378),i=e(56730);function l(c){return r(c,i(c))}d.exports=l},32834:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";function v(Et,Re){for(var wt=0;wt<Re.length;wt++){var xe=Re[wt];xe.enumerable=xe.enumerable||!1,xe.configurable=!0,"value"in xe&&(xe.writable=!0),Object.defineProperty(Et,xe.key,xe)}}function e(Et,Re,wt){return Re&&v(Et.prototype,Re),wt&&v(Et,wt),Et}function r(Et,Re){if(Et){if(typeof Et=="string")return i(Et,Re);var wt=Object.prototype.toString.call(Et).slice(8,-1);if(wt==="Object"&&Et.constructor&&(wt=Et.constructor.name),wt==="Map"||wt==="Set")return Array.from(Et);if(wt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(wt))return i(Et,Re)}}function i(Et,Re){(Re==null||Re>Et.length)&&(Re=Et.length);for(var wt=0,xe=new Array(Re);wt<Re;wt++)xe[wt]=Et[wt];return xe}function l(Et,Re){var wt=typeof Symbol!="undefined"&&Et[Symbol.iterator]||Et["@@iterator"];if(wt)return(wt=wt.call(Et)).next.bind(wt);if(Array.isArray(Et)||(wt=r(Et))||Re&&Et&&typeof Et.length=="number"){wt&&(Et=wt);var xe=0;return function(){return xe>=Et.length?{done:!0}:{done:!1,value:Et[xe++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c={exports:{}};function f(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function o(Et){c.exports.defaults=Et}c.exports={defaults:f(),getDefaults:f,changeDefaults:o};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},y=function(Re){return p[Re]};function _(Et,Re){if(Re){if(h.test(Et))return Et.replace(u,y)}else if(a.test(Et))return Et.replace(x,y);return Et}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function A(Et){return Et.replace(b,function(Re,wt){return wt=wt.toLowerCase(),wt==="colon"?":":wt.charAt(0)==="#"?wt.charAt(1)==="x"?String.fromCharCode(parseInt(wt.substring(2),16)):String.fromCharCode(+wt.substring(1)):""})}var k=/(^|[^\[])\^/g;function L(Et,Re){Et=Et.source||Et,Re=Re||"";var wt={replace:function(qe,vt){return vt=vt.source||vt,vt=vt.replace(k,"$1"),Et=Et.replace(qe,vt),wt},getRegex:function(){return new RegExp(Et,Re)}};return wt}var T=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(Et,Re,wt){if(Et){var xe;try{xe=decodeURIComponent(A(wt)).replace(T,"").toLowerCase()}catch(qe){return null}if(xe.indexOf("javascript:")===0||xe.indexOf("vbscript:")===0||xe.indexOf("data:")===0)return null}Re&&!D.test(wt)&&(wt=W(Re,wt));try{wt=encodeURI(wt).replace(/%25/g,"%")}catch(qe){return null}return wt}var B={},N=/^[^:]+:\/*[^/]*$/,K=/^([^:]+:)[\s\S]*$/,G=/^([^:]+:\/*[^/]*)[\s\S]*$/;function W(Et,Re){B[" "+Et]||(N.test(Et)?B[" "+Et]=Et+"/":B[" "+Et]=Q(Et,"/",!0)),Et=B[" "+Et];var wt=Et.indexOf(":")===-1;return Re.substring(0,2)==="//"?wt?Re:Et.replace(K,"$1")+Re:Re.charAt(0)==="/"?wt?Re:Et.replace(G,"$1")+Re:Et+Re}var ne={exec:function(){}};function ae(Et){for(var Re=1,wt,xe;Re<arguments.length;Re++){wt=arguments[Re];for(xe in wt)Object.prototype.hasOwnProperty.call(wt,xe)&&(Et[xe]=wt[xe])}return Et}function le(Et,Re){var wt=Et.replace(/\|/g,function(vt,Ft,Be){for(var Pr=!1,St=Ft;--St>=0&&Be[St]==="\\";)Pr=!Pr;return Pr?"|":" |"}),xe=wt.split(/ \|/),qe=0;if(xe.length>Re)xe.splice(Re);else for(;xe.length<Re;)xe.push("");for(;qe<xe.length;qe++)xe[qe]=xe[qe].trim().replace(/\\\|/g,"|");return xe}function Q(Et,Re,wt){var xe=Et.length;if(xe===0)return"";for(var qe=0;qe<xe;){var vt=Et.charAt(xe-qe-1);if(vt===Re&&!wt)qe++;else if(vt!==Re&&wt)qe++;else break}return Et.substr(0,xe-qe)}function J(Et,Re){if(Et.indexOf(Re[1])===-1)return-1;for(var wt=Et.length,xe=0,qe=0;qe<wt;qe++)if(Et[qe]==="\\")qe++;else if(Et[qe]===Re[0])xe++;else if(Et[qe]===Re[1]&&(xe--,xe<0))return qe;return-1}function V(Et){Et&&Et.sanitize&&!Et.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(Et,Re){if(Re<1)return"";for(var wt="";Re>1;)Re&1&&(wt+=Et),Re>>=1,Et+=Et;return wt+Et}var ee={escape:_,unescape:A,edit:L,cleanUrl:M,resolveUrl:W,noopTest:ne,merge:ae,splitCells:le,rtrim:Q,findClosingBracket:J,checkSanitizeDeprecation:V,repeatString:ue},X=c.exports.defaults,ce=ee.rtrim,z=ee.splitCells,$=ee.escape,se=ee.findClosingBracket;function _e(Et,Re,wt){var xe=Re.href,qe=Re.title?$(Re.title):null,vt=Et[1].replace(/\\([\[\]])/g,"$1");return Et[0].charAt(0)!=="!"?{type:"link",raw:wt,href:xe,title:qe,text:vt}:{type:"image",raw:wt,href:xe,title:qe,text:$(vt)}}function Oe(Et,Re){var wt=Et.match(/^(\s+)(?:```)/);if(wt===null)return Re;var xe=wt[1];return Re.split(`
`).map(function(qe){var vt=qe.match(/^\s+/);if(vt===null)return qe;var Ft=vt[0];return Ft.length>=xe.length?qe.slice(xe.length):qe}).join(`
`)}var Le=function(){function Et(wt){this.options=wt||X}var Re=Et.prototype;return Re.space=function(xe){var qe=this.rules.block.newline.exec(xe);if(qe)return qe[0].length>1?{type:"space",raw:qe[0]}:{raw:`
`}},Re.code=function(xe){var qe=this.rules.block.code.exec(xe);if(qe){var vt=qe[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:qe[0],codeBlockStyle:"indented",text:this.options.pedantic?vt:ce(vt,`
`)}}},Re.fences=function(xe){var qe=this.rules.block.fences.exec(xe);if(qe){var vt=qe[0],Ft=Oe(vt,qe[3]||"");return{type:"code",raw:vt,lang:qe[2]?qe[2].trim():qe[2],text:Ft}}},Re.heading=function(xe){var qe=this.rules.block.heading.exec(xe);if(qe){var vt=qe[2].trim();if(/#$/.test(vt)){var Ft=ce(vt,"#");(this.options.pedantic||!Ft||/ $/.test(Ft))&&(vt=Ft.trim())}return{type:"heading",raw:qe[0],depth:qe[1].length,text:vt}}},Re.nptable=function(xe){var qe=this.rules.block.nptable.exec(xe);if(qe){var vt={type:"table",header:z(qe[1].replace(/^ *| *\| *$/g,"")),align:qe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:qe[3]?qe[3].replace(/\n$/,"").split(`
`):[],raw:qe[0]};if(vt.header.length===vt.align.length){var Ft=vt.align.length,Be;for(Be=0;Be<Ft;Be++)/^ *-+: *$/.test(vt.align[Be])?vt.align[Be]="right":/^ *:-+: *$/.test(vt.align[Be])?vt.align[Be]="center":/^ *:-+ *$/.test(vt.align[Be])?vt.align[Be]="left":vt.align[Be]=null;for(Ft=vt.cells.length,Be=0;Be<Ft;Be++)vt.cells[Be]=z(vt.cells[Be],vt.header.length);return vt}}},Re.hr=function(xe){var qe=this.rules.block.hr.exec(xe);if(qe)return{type:"hr",raw:qe[0]}},Re.blockquote=function(xe){var qe=this.rules.block.blockquote.exec(xe);if(qe){var vt=qe[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:qe[0],text:vt}}},Re.list=function(xe){var qe=this.rules.block.list.exec(xe);if(qe){var vt=qe[0],Ft=qe[2],Be=Ft.length>1,Pr={type:"list",raw:vt,ordered:Be,start:Be?+Ft.slice(0,-1):"",loose:!1,items:[]},St=qe[0].match(this.rules.block.item),Zr=!1,Vr,xr,Br,pr,$r,en,an,sr,Rt,mt=St.length;Br=this.rules.block.listItemStart.exec(St[0]);for(var gt=0;gt<mt;gt++){if(Vr=St[gt],vt=Vr,this.options.pedantic||(Rt=Vr.match(new RegExp("\\n\\s*\\n {0,"+(Br[0].length-1)+"}\\S")),Rt&&($r=Vr.length-Rt.index+St.slice(gt+1).join(`
`).length,Pr.raw=Pr.raw.substring(0,Pr.raw.length-$r),Vr=Vr.substring(0,Rt.index),vt=Vr,mt=gt+1)),gt!==mt-1){if(pr=this.rules.block.listItemStart.exec(St[gt+1]),this.options.pedantic?pr[1].length>Br[1].length:pr[1].length>=Br[0].length||pr[1].length>3){St.splice(gt,2,St[gt]+(!this.options.pedantic&&pr[1].length<Br[0].length&&!St[gt].match(/\n$/)?"":`
`)+St[gt+1]),gt--,mt--;continue}else(!this.options.pedantic||this.options.smartLists?pr[2][pr[2].length-1]!==Ft[Ft.length-1]:Be===(pr[2].length===1))&&($r=St.slice(gt+1).join(`
`).length,Pr.raw=Pr.raw.substring(0,Pr.raw.length-$r),gt=mt-1);Br=pr}xr=Vr.length,Vr=Vr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Vr.indexOf(`
`)&&(xr-=Vr.length,Vr=this.options.pedantic?Vr.replace(/^ {1,4}/gm,""):Vr.replace(new RegExp("^ {1,"+xr+"}","gm"),"")),Vr=ce(Vr,`
`),gt!==mt-1&&(vt=vt+`
`),en=Zr||/\n\n(?!\s*$)/.test(vt),gt!==mt-1&&(Zr=vt.slice(-2)===`
`,en||(en=Zr)),en&&(Pr.loose=!0),this.options.gfm&&(an=/^\[[ xX]\] /.test(Vr),sr=void 0,an&&(sr=Vr[1]!==" ",Vr=Vr.replace(/^\[[ xX]\] +/,""))),Pr.items.push({type:"list_item",raw:vt,task:an,checked:sr,loose:en,text:Vr})}return Pr}},Re.html=function(xe){var qe=this.rules.block.html.exec(xe);if(qe)return{type:this.options.sanitize?"paragraph":"html",raw:qe[0],pre:!this.options.sanitizer&&(qe[1]==="pre"||qe[1]==="script"||qe[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):$(qe[0]):qe[0]}},Re.def=function(xe){var qe=this.rules.block.def.exec(xe);if(qe){qe[3]&&(qe[3]=qe[3].substring(1,qe[3].length-1));var vt=qe[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:vt,raw:qe[0],href:qe[2],title:qe[3]}}},Re.table=function(xe){var qe=this.rules.block.table.exec(xe);if(qe){var vt={type:"table",header:z(qe[1].replace(/^ *| *\| *$/g,"")),align:qe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:qe[3]?qe[3].replace(/\n$/,"").split(`
`):[]};if(vt.header.length===vt.align.length){vt.raw=qe[0];var Ft=vt.align.length,Be;for(Be=0;Be<Ft;Be++)/^ *-+: *$/.test(vt.align[Be])?vt.align[Be]="right":/^ *:-+: *$/.test(vt.align[Be])?vt.align[Be]="center":/^ *:-+ *$/.test(vt.align[Be])?vt.align[Be]="left":vt.align[Be]=null;for(Ft=vt.cells.length,Be=0;Be<Ft;Be++)vt.cells[Be]=z(vt.cells[Be].replace(/^ *\| *| *\| *$/g,""),vt.header.length);return vt}}},Re.lheading=function(xe){var qe=this.rules.block.lheading.exec(xe);if(qe)return{type:"heading",raw:qe[0],depth:qe[2].charAt(0)==="="?1:2,text:qe[1]}},Re.paragraph=function(xe){var qe=this.rules.block.paragraph.exec(xe);if(qe)return{type:"paragraph",raw:qe[0],text:qe[1].charAt(qe[1].length-1)===`
`?qe[1].slice(0,-1):qe[1]}},Re.text=function(xe){var qe=this.rules.block.text.exec(xe);if(qe)return{type:"text",raw:qe[0],text:qe[0]}},Re.escape=function(xe){var qe=this.rules.inline.escape.exec(xe);if(qe)return{type:"escape",raw:qe[0],text:$(qe[1])}},Re.tag=function(xe,qe,vt){var Ft=this.rules.inline.tag.exec(xe);if(Ft)return!qe&&/^<a /i.test(Ft[0])?qe=!0:qe&&/^<\/a>/i.test(Ft[0])&&(qe=!1),!vt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Ft[0])?vt=!0:vt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Ft[0])&&(vt=!1),{type:this.options.sanitize?"text":"html",raw:Ft[0],inLink:qe,inRawBlock:vt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ft[0]):$(Ft[0]):Ft[0]}},Re.link=function(xe){var qe=this.rules.inline.link.exec(xe);if(qe){var vt=qe[2].trim();if(!this.options.pedantic&&/^</.test(vt)){if(!/>$/.test(vt))return;var Ft=ce(vt.slice(0,-1),"\\");if((vt.length-Ft.length)%2===0)return}else{var Be=se(qe[2],"()");if(Be>-1){var Pr=qe[0].indexOf("!")===0?5:4,St=Pr+qe[1].length+Be;qe[2]=qe[2].substring(0,Be),qe[0]=qe[0].substring(0,St).trim(),qe[3]=""}}var Zr=qe[2],Vr="";if(this.options.pedantic){var xr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Zr);xr&&(Zr=xr[1],Vr=xr[3])}else Vr=qe[3]?qe[3].slice(1,-1):"";return Zr=Zr.trim(),/^</.test(Zr)&&(this.options.pedantic&&!/>$/.test(vt)?Zr=Zr.slice(1):Zr=Zr.slice(1,-1)),_e(qe,{href:Zr&&Zr.replace(this.rules.inline._escapes,"$1"),title:Vr&&Vr.replace(this.rules.inline._escapes,"$1")},qe[0])}},Re.reflink=function(xe,qe){var vt;if((vt=this.rules.inline.reflink.exec(xe))||(vt=this.rules.inline.nolink.exec(xe))){var Ft=(vt[2]||vt[1]).replace(/\s+/g," ");if(Ft=qe[Ft.toLowerCase()],!Ft||!Ft.href){var Be=vt[0].charAt(0);return{type:"text",raw:Be,text:Be}}return _e(vt,Ft,vt[0])}},Re.emStrong=function(xe,qe,vt){vt===void 0&&(vt="");var Ft=this.rules.inline.emStrong.lDelim.exec(xe);if(Ft&&!(Ft[3]&&vt.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=Ft[1]||Ft[2]||"";if(!Be||Be&&(vt===""||this.rules.inline.punctuation.exec(vt))){var Pr=Ft[0].length-1,St,Zr,Vr=Pr,xr=0,Br=Ft[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Br.lastIndex=0,qe=qe.slice(-1*xe.length+Pr);(Ft=Br.exec(qe))!=null;)if(St=Ft[1]||Ft[2]||Ft[3]||Ft[4]||Ft[5]||Ft[6],!!St){if(Zr=St.length,Ft[3]||Ft[4]){Vr+=Zr;continue}else if((Ft[5]||Ft[6])&&Pr%3&&!((Pr+Zr)%3)){xr+=Zr;continue}if(Vr-=Zr,!(Vr>0))return Zr=Math.min(Zr,Zr+Vr+xr),Math.min(Pr,Zr)%2?{type:"em",raw:xe.slice(0,Pr+Ft.index+Zr+1),text:xe.slice(1,Pr+Ft.index+Zr)}:{type:"strong",raw:xe.slice(0,Pr+Ft.index+Zr+1),text:xe.slice(2,Pr+Ft.index+Zr-1)}}}}},Re.codespan=function(xe){var qe=this.rules.inline.code.exec(xe);if(qe){var vt=qe[2].replace(/\n/g," "),Ft=/[^ ]/.test(vt),Be=/^ /.test(vt)&&/ $/.test(vt);return Ft&&Be&&(vt=vt.substring(1,vt.length-1)),vt=$(vt,!0),{type:"codespan",raw:qe[0],text:vt}}},Re.br=function(xe){var qe=this.rules.inline.br.exec(xe);if(qe)return{type:"br",raw:qe[0]}},Re.del=function(xe){var qe=this.rules.inline.del.exec(xe);if(qe)return{type:"del",raw:qe[0],text:qe[2]}},Re.autolink=function(xe,qe){var vt=this.rules.inline.autolink.exec(xe);if(vt){var Ft,Be;return vt[2]==="@"?(Ft=$(this.options.mangle?qe(vt[1]):vt[1]),Be="mailto:"+Ft):(Ft=$(vt[1]),Be=Ft),{type:"link",raw:vt[0],text:Ft,href:Be,tokens:[{type:"text",raw:Ft,text:Ft}]}}},Re.url=function(xe,qe){var vt;if(vt=this.rules.inline.url.exec(xe)){var Ft,Be;if(vt[2]==="@")Ft=$(this.options.mangle?qe(vt[0]):vt[0]),Be="mailto:"+Ft;else{var Pr;do Pr=vt[0],vt[0]=this.rules.inline._backpedal.exec(vt[0])[0];while(Pr!==vt[0]);Ft=$(vt[0]),vt[1]==="www."?Be="http://"+Ft:Be=Ft}return{type:"link",raw:vt[0],text:Ft,href:Be,tokens:[{type:"text",raw:Ft,text:Ft}]}}},Re.inlineText=function(xe,qe,vt){var Ft=this.rules.inline.text.exec(xe);if(Ft){var Be;return qe?Be=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ft[0]):$(Ft[0]):Ft[0]:Be=$(this.options.smartypants?vt(Ft[0]):Ft[0]),{type:"text",raw:Ft[0],text:Be}}},Et}(),He=ee.noopTest,$e=ee.edit,Bt=ee.merge,yt={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:He,table:He,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};yt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,yt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,yt.def=$e(yt.def).replace("label",yt._label).replace("title",yt._title).getRegex(),yt.bullet=/(?:[*+-]|\d{1,9}[.)])/,yt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,yt.item=$e(yt.item,"gm").replace(/bull/g,yt.bullet).getRegex(),yt.listItemStart=$e(/^( *)(bull) */).replace("bull",yt.bullet).getRegex(),yt.list=$e(yt.list).replace(/bull/g,yt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+yt.def.source+")").getRegex(),yt._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",yt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,yt.html=$e(yt.html,"i").replace("comment",yt._comment).replace("tag",yt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),yt.paragraph=$e(yt._paragraph).replace("hr",yt.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",yt._tag).getRegex(),yt.blockquote=$e(yt.blockquote).replace("paragraph",yt.paragraph).getRegex(),yt.normal=Bt({},yt),yt.gfm=Bt({},yt.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),yt.gfm.nptable=$e(yt.gfm.nptable).replace("hr",yt.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",yt._tag).getRegex(),yt.gfm.table=$e(yt.gfm.table).replace("hr",yt.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",yt._tag).getRegex(),yt.pedantic=Bt({},yt.normal,{html:$e(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",yt._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:He,paragraph:$e(yt.normal._paragraph).replace("hr",yt.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",yt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var It={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:He,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:He,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};It._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",It.punctuation=$e(It.punctuation).replace(/punctuation/g,It._punctuation).getRegex(),It.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,It.escapedEmSt=/\\\*|\\_/g,It._comment=$e(yt._comment).replace("(?:-->|$)","-->").getRegex(),It.emStrong.lDelim=$e(It.emStrong.lDelim).replace(/punct/g,It._punctuation).getRegex(),It.emStrong.rDelimAst=$e(It.emStrong.rDelimAst,"g").replace(/punct/g,It._punctuation).getRegex(),It.emStrong.rDelimUnd=$e(It.emStrong.rDelimUnd,"g").replace(/punct/g,It._punctuation).getRegex(),It._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,It._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,It._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])?)+(?![-_])/,It.autolink=$e(It.autolink).replace("scheme",It._scheme).replace("email",It._email).getRegex(),It._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,It.tag=$e(It.tag).replace("comment",It._comment).replace("attribute",It._attribute).getRegex(),It._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,It._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,It._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,It.link=$e(It.link).replace("label",It._label).replace("href",It._href).replace("title",It._title).getRegex(),It.reflink=$e(It.reflink).replace("label",It._label).getRegex(),It.reflinkSearch=$e(It.reflinkSearch,"g").replace("reflink",It.reflink).replace("nolink",It.nolink).getRegex(),It.normal=Bt({},It),It.pedantic=Bt({},It.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:$e(/^!?\[(label)\]\((.*?)\)/).replace("label",It._label).getRegex(),reflink:$e(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",It._label).getRegex()}),It.gfm=Bt({},It.normal,{escape:$e(It.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),It.gfm.url=$e(It.gfm.url,"i").replace("email",It.gfm._extended_email).getRegex(),It.breaks=Bt({},It.gfm,{br:$e(It.br).replace("{2,}","*").getRegex(),text:$e(It.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var rr={block:yt,inline:It},Yt=Le,lr=c.exports.defaults,Ve=rr.block,Ct=rr.inline,Ut=ee.repeatString;function st(Et){return Et.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function xt(Et){var Re="",wt,xe,qe=Et.length;for(wt=0;wt<qe;wt++)xe=Et.charCodeAt(wt),Math.random()>.5&&(xe="x"+xe.toString(16)),Re+="&#"+xe+";";return Re}var ht=function(){function Et(wt){this.tokens=[],this.tokens.links=Object.create(null),this.options=wt||lr,this.options.tokenizer=this.options.tokenizer||new Yt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var xe={block:Ve.normal,inline:Ct.normal};this.options.pedantic?(xe.block=Ve.pedantic,xe.inline=Ct.pedantic):this.options.gfm&&(xe.block=Ve.gfm,this.options.breaks?xe.inline=Ct.breaks:xe.inline=Ct.gfm),this.tokenizer.rules=xe}Et.lex=function(xe,qe){var vt=new Et(qe);return vt.lex(xe)},Et.lexInline=function(xe,qe){var vt=new Et(qe);return vt.inlineTokens(xe)};var Re=Et.prototype;return Re.lex=function(xe){return xe=xe.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(xe,this.tokens,!0),this.inline(this.tokens),this.tokens},Re.blockTokens=function(xe,qe,vt){qe===void 0&&(qe=[]),vt===void 0&&(vt=!0),this.options.pedantic&&(xe=xe.replace(/^ +$/gm,""));for(var Ft,Be,Pr,St;xe;){if(Ft=this.tokenizer.space(xe)){xe=xe.substring(Ft.raw.length),Ft.type&&qe.push(Ft);continue}if(Ft=this.tokenizer.code(xe)){xe=xe.substring(Ft.raw.length),St=qe[qe.length-1],St&&St.type==="paragraph"?(St.raw+=`
`+Ft.raw,St.text+=`
`+Ft.text):qe.push(Ft);continue}if(Ft=this.tokenizer.fences(xe)){xe=xe.substring(Ft.raw.length),qe.push(Ft);continue}if(Ft=this.tokenizer.heading(xe)){xe=xe.substring(Ft.raw.length),qe.push(Ft);continue}if(Ft=this.tokenizer.nptable(xe)){xe=xe.substring(Ft.raw.length),qe.push(Ft);continue}if(Ft=this.tokenizer.hr(xe)){xe=xe.substring(Ft.raw.length),qe.push(Ft);continue}if(Ft=this.tokenizer.blockquote(xe)){xe=xe.substring(Ft.raw.length),Ft.tokens=this.blockTokens(Ft.text,[],vt),qe.push(Ft);continue}if(Ft=this.tokenizer.list(xe)){for(xe=xe.substring(Ft.raw.length),Pr=Ft.items.length,Be=0;Be<Pr;Be++)Ft.items[Be].tokens=this.blockTokens(Ft.items[Be].text,[],!1);qe.push(Ft);continue}if(Ft=this.tokenizer.html(xe)){xe=xe.substring(Ft.raw.length),qe.push(Ft);continue}if(vt&&(Ft=this.tokenizer.def(xe))){xe=xe.substring(Ft.raw.length),this.tokens.links[Ft.tag]||(this.tokens.links[Ft.tag]={href:Ft.href,title:Ft.title});continue}if(Ft=this.tokenizer.table(xe)){xe=xe.substring(Ft.raw.length),qe.push(Ft);continue}if(Ft=this.tokenizer.lheading(xe)){xe=xe.substring(Ft.raw.length),qe.push(Ft);continue}if(vt&&(Ft=this.tokenizer.paragraph(xe))){xe=xe.substring(Ft.raw.length),qe.push(Ft);continue}if(Ft=this.tokenizer.text(xe)){xe=xe.substring(Ft.raw.length),St=qe[qe.length-1],St&&St.type==="text"?(St.raw+=`
`+Ft.raw,St.text+=`
`+Ft.text):qe.push(Ft);continue}if(xe){var Zr="Infinite loop on byte: "+xe.charCodeAt(0);if(this.options.silent){console.error(Zr);break}else throw new Error(Zr)}}return qe},Re.inline=function(xe){var qe,vt,Ft,Be,Pr,St,Zr=xe.length;for(qe=0;qe<Zr;qe++)switch(St=xe[qe],St.type){case"paragraph":case"text":case"heading":{St.tokens=[],this.inlineTokens(St.text,St.tokens);break}case"table":{for(St.tokens={header:[],cells:[]},Be=St.header.length,vt=0;vt<Be;vt++)St.tokens.header[vt]=[],this.inlineTokens(St.header[vt],St.tokens.header[vt]);for(Be=St.cells.length,vt=0;vt<Be;vt++)for(Pr=St.cells[vt],St.tokens.cells[vt]=[],Ft=0;Ft<Pr.length;Ft++)St.tokens.cells[vt][Ft]=[],this.inlineTokens(Pr[Ft],St.tokens.cells[vt][Ft]);break}case"blockquote":{this.inline(St.tokens);break}case"list":{for(Be=St.items.length,vt=0;vt<Be;vt++)this.inline(St.items[vt].tokens);break}}return xe},Re.inlineTokens=function(xe,qe,vt,Ft){qe===void 0&&(qe=[]),vt===void 0&&(vt=!1),Ft===void 0&&(Ft=!1);var Be,Pr,St=xe,Zr,Vr,xr;if(this.tokens.links){var Br=Object.keys(this.tokens.links);if(Br.length>0)for(;(Zr=this.tokenizer.rules.inline.reflinkSearch.exec(St))!=null;)Br.includes(Zr[0].slice(Zr[0].lastIndexOf("[")+1,-1))&&(St=St.slice(0,Zr.index)+"["+Ut("a",Zr[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Zr=this.tokenizer.rules.inline.blockSkip.exec(St))!=null;)St=St.slice(0,Zr.index)+"["+Ut("a",Zr[0].length-2)+"]"+St.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Zr=this.tokenizer.rules.inline.escapedEmSt.exec(St))!=null;)St=St.slice(0,Zr.index)+"++"+St.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;xe;){if(Vr||(xr=""),Vr=!1,Be=this.tokenizer.escape(xe)){xe=xe.substring(Be.raw.length),qe.push(Be);continue}if(Be=this.tokenizer.tag(xe,vt,Ft)){xe=xe.substring(Be.raw.length),vt=Be.inLink,Ft=Be.inRawBlock;var pr=qe[qe.length-1];pr&&Be.type==="text"&&pr.type==="text"?(pr.raw+=Be.raw,pr.text+=Be.text):qe.push(Be);continue}if(Be=this.tokenizer.link(xe)){xe=xe.substring(Be.raw.length),Be.type==="link"&&(Be.tokens=this.inlineTokens(Be.text,[],!0,Ft)),qe.push(Be);continue}if(Be=this.tokenizer.reflink(xe,this.tokens.links)){xe=xe.substring(Be.raw.length);var $r=qe[qe.length-1];Be.type==="link"?(Be.tokens=this.inlineTokens(Be.text,[],!0,Ft),qe.push(Be)):$r&&Be.type==="text"&&$r.type==="text"?($r.raw+=Be.raw,$r.text+=Be.text):qe.push(Be);continue}if(Be=this.tokenizer.emStrong(xe,St,xr)){xe=xe.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],vt,Ft),qe.push(Be);continue}if(Be=this.tokenizer.codespan(xe)){xe=xe.substring(Be.raw.length),qe.push(Be);continue}if(Be=this.tokenizer.br(xe)){xe=xe.substring(Be.raw.length),qe.push(Be);continue}if(Be=this.tokenizer.del(xe)){xe=xe.substring(Be.raw.length),Be.tokens=this.inlineTokens(Be.text,[],vt,Ft),qe.push(Be);continue}if(Be=this.tokenizer.autolink(xe,xt)){xe=xe.substring(Be.raw.length),qe.push(Be);continue}if(!vt&&(Be=this.tokenizer.url(xe,xt))){xe=xe.substring(Be.raw.length),qe.push(Be);continue}if(Be=this.tokenizer.inlineText(xe,Ft,st)){xe=xe.substring(Be.raw.length),Be.raw.slice(-1)!=="_"&&(xr=Be.raw.slice(-1)),Vr=!0,Pr=qe[qe.length-1],Pr&&Pr.type==="text"?(Pr.raw+=Be.raw,Pr.text+=Be.text):qe.push(Be);continue}if(xe){var en="Infinite loop on byte: "+xe.charCodeAt(0);if(this.options.silent){console.error(en);break}else throw new Error(en)}}return qe},e(Et,null,[{key:"rules",get:function(){return{block:Ve,inline:Ct}}}]),Et}(),rt=c.exports.defaults,Ue=ee.cleanUrl,ye=ee.escape,Ce=function(){function Et(wt){this.options=wt||rt}var Re=Et.prototype;return Re.code=function(xe,qe,vt){var Ft=(qe||"").match(/\S*/)[0];if(this.options.highlight){var Be=this.options.highlight(xe,Ft);Be!=null&&Be!==xe&&(vt=!0,xe=Be)}return xe=xe.replace(/\n$/,"")+`
`,Ft?'<pre><code class="'+this.options.langPrefix+ye(Ft,!0)+'">'+(vt?xe:ye(xe,!0))+`</code></pre>
`:"<pre><code>"+(vt?xe:ye(xe,!0))+`</code></pre>
`},Re.blockquote=function(xe){return`<blockquote>
`+xe+`</blockquote>
`},Re.html=function(xe){return xe},Re.heading=function(xe,qe,vt,Ft){return this.options.headerIds?"<h"+qe+' id="'+this.options.headerPrefix+Ft.slug(vt)+'">'+xe+"</h"+qe+`>
`:"<h"+qe+">"+xe+"</h"+qe+`>
`},Re.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},Re.list=function(xe,qe,vt){var Ft=qe?"ol":"ul",Be=qe&&vt!==1?' start="'+vt+'"':"";return"<"+Ft+Be+`>
`+xe+"</"+Ft+`>
`},Re.listitem=function(xe){return"<li>"+xe+`</li>
`},Re.checkbox=function(xe){return"<input "+(xe?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Re.paragraph=function(xe){return"<p>"+xe+`</p>
`},Re.table=function(xe,qe){return qe&&(qe="<tbody>"+qe+"</tbody>"),`<table>
<thead>
`+xe+`</thead>
`+qe+`</table>
`},Re.tablerow=function(xe){return`<tr>
`+xe+`</tr>
`},Re.tablecell=function(xe,qe){var vt=qe.header?"th":"td",Ft=qe.align?"<"+vt+' align="'+qe.align+'">':"<"+vt+">";return Ft+xe+"</"+vt+`>
`},Re.strong=function(xe){return"<strong>"+xe+"</strong>"},Re.em=function(xe){return"<em>"+xe+"</em>"},Re.codespan=function(xe){return"<code>"+xe+"</code>"},Re.br=function(){return this.options.xhtml?"<br/>":"<br>"},Re.del=function(xe){return"<del>"+xe+"</del>"},Re.link=function(xe,qe,vt){if(xe=Ue(this.options.sanitize,this.options.baseUrl,xe),xe===null)return vt;var Ft='<a href="'+ye(xe)+'"';return qe&&(Ft+=' title="'+qe+'"'),Ft+=">"+vt+"</a>",Ft},Re.image=function(xe,qe,vt){if(xe=Ue(this.options.sanitize,this.options.baseUrl,xe),xe===null)return vt;var Ft='<img src="'+xe+'" alt="'+vt+'"';return qe&&(Ft+=' title="'+qe+'"'),Ft+=this.options.xhtml?"/>":">",Ft},Re.text=function(xe){return xe},Et}(),Fe=function(){function Et(){}var Re=Et.prototype;return Re.strong=function(xe){return xe},Re.em=function(xe){return xe},Re.codespan=function(xe){return xe},Re.del=function(xe){return xe},Re.html=function(xe){return xe},Re.text=function(xe){return xe},Re.link=function(xe,qe,vt){return""+vt},Re.image=function(xe,qe,vt){return""+vt},Re.br=function(){return""},Et}(),je=function(){function Et(){this.seen={}}var Re=Et.prototype;return Re.serialize=function(xe){return xe.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Re.getNextSafeSlug=function(xe,qe){var vt=xe,Ft=0;if(this.seen.hasOwnProperty(vt)){Ft=this.seen[xe];do Ft++,vt=xe+"-"+Ft;while(this.seen.hasOwnProperty(vt))}return qe||(this.seen[xe]=Ft,this.seen[vt]=0),vt},Re.slug=function(xe,qe){qe===void 0&&(qe={});var vt=this.serialize(xe);return this.getNextSafeSlug(vt,qe.dryrun)},Et}(),Ge=Ce,it=Fe,ct=je,Gt=c.exports.defaults,Ht=ee.unescape,Pe=function(){function Et(wt){this.options=wt||Gt,this.options.renderer=this.options.renderer||new Ge,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new it,this.slugger=new ct}Et.parse=function(xe,qe){var vt=new Et(qe);return vt.parse(xe)},Et.parseInline=function(xe,qe){var vt=new Et(qe);return vt.parseInline(xe)};var Re=Et.prototype;return Re.parse=function(xe,qe){qe===void 0&&(qe=!0);var vt="",Ft,Be,Pr,St,Zr,Vr,xr,Br,pr,$r,en,an,sr,Rt,mt,gt,$t,Er,vr=xe.length;for(Ft=0;Ft<vr;Ft++)switch($r=xe[Ft],$r.type){case"space":continue;case"hr":{vt+=this.renderer.hr();continue}case"heading":{vt+=this.renderer.heading(this.parseInline($r.tokens),$r.depth,Ht(this.parseInline($r.tokens,this.textRenderer)),this.slugger);continue}case"code":{vt+=this.renderer.code($r.text,$r.lang,$r.escaped);continue}case"table":{for(Br="",xr="",St=$r.header.length,Be=0;Be<St;Be++)xr+=this.renderer.tablecell(this.parseInline($r.tokens.header[Be]),{header:!0,align:$r.align[Be]});for(Br+=this.renderer.tablerow(xr),pr="",St=$r.cells.length,Be=0;Be<St;Be++){for(Vr=$r.tokens.cells[Be],xr="",Zr=Vr.length,Pr=0;Pr<Zr;Pr++)xr+=this.renderer.tablecell(this.parseInline(Vr[Pr]),{header:!1,align:$r.align[Pr]});pr+=this.renderer.tablerow(xr)}vt+=this.renderer.table(Br,pr);continue}case"blockquote":{pr=this.parse($r.tokens),vt+=this.renderer.blockquote(pr);continue}case"list":{for(en=$r.ordered,an=$r.start,sr=$r.loose,St=$r.items.length,pr="",Be=0;Be<St;Be++)mt=$r.items[Be],gt=mt.checked,$t=mt.task,Rt="",mt.task&&(Er=this.renderer.checkbox(gt),sr?mt.tokens.length>0&&mt.tokens[0].type==="text"?(mt.tokens[0].text=Er+" "+mt.tokens[0].text,mt.tokens[0].tokens&&mt.tokens[0].tokens.length>0&&mt.tokens[0].tokens[0].type==="text"&&(mt.tokens[0].tokens[0].text=Er+" "+mt.tokens[0].tokens[0].text)):mt.tokens.unshift({type:"text",text:Er}):Rt+=Er),Rt+=this.parse(mt.tokens,sr),pr+=this.renderer.listitem(Rt,$t,gt);vt+=this.renderer.list(pr,en,an);continue}case"html":{vt+=this.renderer.html($r.text);continue}case"paragraph":{vt+=this.renderer.paragraph(this.parseInline($r.tokens));continue}case"text":{for(pr=$r.tokens?this.parseInline($r.tokens):$r.text;Ft+1<vr&&xe[Ft+1].type==="text";)$r=xe[++Ft],pr+=`
`+($r.tokens?this.parseInline($r.tokens):$r.text);vt+=qe?this.renderer.paragraph(pr):pr;continue}default:{var ot='Token with "'+$r.type+'" type was not found.';if(this.options.silent){console.error(ot);return}else throw new Error(ot)}}return vt},Re.parseInline=function(xe,qe){qe=qe||this.renderer;var vt="",Ft,Be,Pr=xe.length;for(Ft=0;Ft<Pr;Ft++)switch(Be=xe[Ft],Be.type){case"escape":{vt+=qe.text(Be.text);break}case"html":{vt+=qe.html(Be.text);break}case"link":{vt+=qe.link(Be.href,Be.title,this.parseInline(Be.tokens,qe));break}case"image":{vt+=qe.image(Be.href,Be.title,Be.text);break}case"strong":{vt+=qe.strong(this.parseInline(Be.tokens,qe));break}case"em":{vt+=qe.em(this.parseInline(Be.tokens,qe));break}case"codespan":{vt+=qe.codespan(Be.text);break}case"br":{vt+=qe.br();break}case"del":{vt+=qe.del(this.parseInline(Be.tokens,qe));break}case"text":{vt+=qe.text(Be.text);break}default:{var St='Token with "'+Be.type+'" type was not found.';if(this.options.silent){console.error(St);return}else throw new Error(St)}}return vt},Et}(),tt=ht,Vt=Pe,kt=Le,Zt=Ce,Nt=Fe,At=je,qt=ee.merge,Ke=ee.checkSanitizeDeprecation,fe=ee.escape,pe=c.exports.getDefaults,Dt=c.exports.changeDefaults,De=c.exports.defaults;function ft(Et,Re,wt){if(typeof Et=="undefined"||Et===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Et!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Et)+", string expected");if(typeof Re=="function"&&(wt=Re,Re=null),Re=qt({},ft.defaults,Re||{}),Ke(Re),wt){var xe=Re.highlight,qe;try{qe=tt.lex(Et,Re)}catch(Pr){return wt(Pr)}var vt=function(St){var Zr;if(!St)try{Re.walkTokens&&ft.walkTokens(qe,Re.walkTokens),Zr=Vt.parse(qe,Re)}catch(Vr){St=Vr}return Re.highlight=xe,St?wt(St):wt(null,Zr)};if(!xe||xe.length<3||(delete Re.highlight,!qe.length))return vt();var Ft=0;ft.walkTokens(qe,function(Pr){Pr.type==="code"&&(Ft++,setTimeout(function(){xe(Pr.text,Pr.lang,function(St,Zr){if(St)return vt(St);Zr!=null&&Zr!==Pr.text&&(Pr.text=Zr,Pr.escaped=!0),Ft--,Ft===0&&vt()})},0))}),Ft===0&&vt();return}try{var Be=tt.lex(Et,Re);return Re.walkTokens&&ft.walkTokens(Be,Re.walkTokens),Vt.parse(Be,Re)}catch(Pr){if(Pr.message+=`
Please report this to https://github.com/markedjs/marked.`,Re.silent)return"<p>An error occurred:</p><pre>"+fe(Pr.message+"",!0)+"</pre>";throw Pr}}ft.options=ft.setOptions=function(Et){return qt(ft.defaults,Et),Dt(ft.defaults),ft},ft.getDefaults=pe,ft.defaults=De,ft.use=function(Et){var Re=qt({},Et);if(Et.renderer&&function(){var xe=ft.defaults.renderer||new Zt,qe=function(Be){var Pr=xe[Be];xe[Be]=function(){for(var St=arguments.length,Zr=new Array(St),Vr=0;Vr<St;Vr++)Zr[Vr]=arguments[Vr];var xr=Et.renderer[Be].apply(xe,Zr);return xr===!1&&(xr=Pr.apply(xe,Zr)),xr}};for(var vt in Et.renderer)qe(vt);Re.renderer=xe}(),Et.tokenizer&&function(){var xe=ft.defaults.tokenizer||new kt,qe=function(Be){var Pr=xe[Be];xe[Be]=function(){for(var St=arguments.length,Zr=new Array(St),Vr=0;Vr<St;Vr++)Zr[Vr]=arguments[Vr];var xr=Et.tokenizer[Be].apply(xe,Zr);return xr===!1&&(xr=Pr.apply(xe,Zr)),xr}};for(var vt in Et.tokenizer)qe(vt);Re.tokenizer=xe}(),Et.walkTokens){var wt=ft.defaults.walkTokens;Re.walkTokens=function(xe){Et.walkTokens(xe),wt&&wt(xe)}}ft.setOptions(Re)},ft.walkTokens=function(Et,Re){for(var wt=l(Et),xe;!(xe=wt()).done;){var qe=xe.value;switch(Re(qe),qe.type){case"table":{for(var vt=l(qe.tokens.header),Ft;!(Ft=vt()).done;){var Be=Ft.value;ft.walkTokens(Be,Re)}for(var Pr=l(qe.tokens.cells),St;!(St=Pr()).done;)for(var Zr=St.value,Vr=l(Zr),xr;!(xr=Vr()).done;){var Br=xr.value;ft.walkTokens(Br,Re)}break}case"list":{ft.walkTokens(qe.items,Re);break}default:qe.tokens&&ft.walkTokens(qe.tokens,Re)}}},ft.parseInline=function(Et,Re){if(typeof Et=="undefined"||Et===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof Et!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Et)+", string expected");Re=qt({},ft.defaults,Re||{}),Ke(Re);try{var wt=tt.lexInline(Et,Re);return Re.walkTokens&&ft.walkTokens(wt,Re.walkTokens),Vt.parseInline(wt,Re)}catch(xe){if(xe.message+=`
Please report this to https://github.com/markedjs/marked.`,Re.silent)return"<p>An error occurred:</p><pre>"+fe(xe.message+"",!0)+"</pre>";throw xe}},ft.Parser=Vt,ft.parser=Vt.parse,ft.Renderer=Zt,ft.TextRenderer=Nt,ft.Lexer=tt,ft.lexer=tt.lex,ft.Tokenizer=kt,ft.Slugger=At,ft.parse=ft;var zt=ft;return zt})},11690:function(d){const v=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},c=W=>l[W];function f(W,ne){if(ne){if(v.test(W))return W.replace(e,c)}else if(r.test(W))return W.replace(i,c);return W}const o=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(W){return W.replace(o,(ne,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(W,ne){W=W.source||W,ne=ne||"";const ae={replace:(le,Q)=>(Q=Q.source||Q,Q=Q.replace(u,"$1"),W=W.replace(le,Q),ae),getRegex:()=>new RegExp(W,ne)};return ae}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(W,ne,ae){if(W){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}ne&&!p.test(ae)&&(ae=L(ne,ae));try{ae=encodeURI(ae).replace(/%25/g,"%")}catch(le){return null}return ae}const _={},b=/^[^:]+:\/*[^/]*$/,A=/^([^:]+:)[\s\S]*$/,k=/^([^:]+:\/*[^/]*)[\s\S]*$/;function L(W,ne){_[" "+W]||(b.test(W)?_[" "+W]=W+"/":_[" "+W]=B(W,"/",!0)),W=_[" "+W];const ae=W.indexOf(":")===-1;return ne.substring(0,2)==="//"?ae?ne:W.replace(A,"$1")+ne:ne.charAt(0)==="/"?ae?ne:W.replace(k,"$1")+ne:W+ne}const T={exec:function(){}};function D(W){let ne=1,ae,le;for(;ne<arguments.length;ne++){ae=arguments[ne];for(le in ae)Object.prototype.hasOwnProperty.call(ae,le)&&(W[le]=ae[le])}return W}function M(W,ne){const ae=W.replace(/\|/g,(J,V,ue)=>{let ee=!1,X=V;for(;--X>=0&&ue[X]==="\\";)ee=!ee;return ee?"|":" |"}),le=ae.split(/ \|/);let Q=0;if(le.length>ne)le.splice(ne);else for(;le.length<ne;)le.push("");for(;Q<le.length;Q++)le[Q]=le[Q].trim().replace(/\\\|/g,"|");return le}function B(W,ne,ae){const le=W.length;if(le===0)return"";let Q=0;for(;Q<le;){const J=W.charAt(le-Q-1);if(J===ne&&!ae)Q++;else if(J!==ne&&ae)Q++;else break}return W.substr(0,le-Q)}function N(W,ne){if(W.indexOf(ne[1])===-1)return-1;const ae=W.length;let le=0,Q=0;for(;Q<ae;Q++)if(W[Q]==="\\")Q++;else if(W[Q]===ne[0])le++;else if(W[Q]===ne[1]&&(le--,le<0))return Q;return-1}function K(W){W&&W.sanitize&&!W.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function G(W,ne){if(ne<1)return"";let ae="";for(;ne>1;)ne&1&&(ae+=W),ne>>=1,W+=W;return ae+W}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:L,noopTest:T,merge:D,splitCells:M,rtrim:B,findClosingBracket:N,checkSanitizeDeprecation:K,repeatString:G}},93735:function(d,v,e){(function(){var r=e(75041),i=e(67751).utf8,l=e(78034),c=e(67751).bin,f=function(o,h){o.constructor==String?h&&h.encoding==="binary"?o=c.stringToBytes(o):o=i.stringToBytes(o):l(o)?o=Array.prototype.slice.call(o,0):!Array.isArray(o)&&o.constructor!==Uint8Array&&(o=o.toString());for(var u=r.bytesToWords(o),a=o.length*8,x=1732584193,p=-271733879,y=-1732584194,_=271733878,b=0;b<u.length;b++)u[b]=(u[b]<<8|u[b]>>>24)&16711935|(u[b]<<24|u[b]>>>8)&4278255360;u[a>>>5]|=128<<a%32,u[(a+64>>>9<<4)+14]=a;for(var A=f._ff,k=f._gg,L=f._hh,T=f._ii,b=0;b<u.length;b+=16){var D=x,M=p,B=y,N=_;x=A(x,p,y,_,u[b+0],7,-680876936),_=A(_,x,p,y,u[b+1],12,-389564586),y=A(y,_,x,p,u[b+2],17,606105819),p=A(p,y,_,x,u[b+3],22,-1044525330),x=A(x,p,y,_,u[b+4],7,-176418897),_=A(_,x,p,y,u[b+5],12,1200080426),y=A(y,_,x,p,u[b+6],17,-1473231341),p=A(p,y,_,x,u[b+7],22,-45705983),x=A(x,p,y,_,u[b+8],7,1770035416),_=A(_,x,p,y,u[b+9],12,-1958414417),y=A(y,_,x,p,u[b+10],17,-42063),p=A(p,y,_,x,u[b+11],22,-1990404162),x=A(x,p,y,_,u[b+12],7,1804603682),_=A(_,x,p,y,u[b+13],12,-40341101),y=A(y,_,x,p,u[b+14],17,-1502002290),p=A(p,y,_,x,u[b+15],22,1236535329),x=k(x,p,y,_,u[b+1],5,-165796510),_=k(_,x,p,y,u[b+6],9,-1069501632),y=k(y,_,x,p,u[b+11],14,643717713),p=k(p,y,_,x,u[b+0],20,-373897302),x=k(x,p,y,_,u[b+5],5,-701558691),_=k(_,x,p,y,u[b+10],9,38016083),y=k(y,_,x,p,u[b+15],14,-660478335),p=k(p,y,_,x,u[b+4],20,-405537848),x=k(x,p,y,_,u[b+9],5,568446438),_=k(_,x,p,y,u[b+14],9,-1019803690),y=k(y,_,x,p,u[b+3],14,-187363961),p=k(p,y,_,x,u[b+8],20,1163531501),x=k(x,p,y,_,u[b+13],5,-1444681467),_=k(_,x,p,y,u[b+2],9,-51403784),y=k(y,_,x,p,u[b+7],14,1735328473),p=k(p,y,_,x,u[b+12],20,-1926607734),x=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+M>>>0,y=y+B>>>0,_=_+N>>>0}return r.endian([x,p,y,_])};f._ff=function(o,h,u,a,x,p,y){var _=o+(h&u|~h&a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._gg=function(o,h,u,a,x,p,y){var _=o+(h&a|u&~a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._hh=function(o,h,u,a,x,p,y){var _=o+(h^u^a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._ii=function(o,h,u,a,x,p,y){var _=o+(u^(h|~a))+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._blocksize=16,f._digestsize=16,d.exports=function(o,h){if(o==null)throw new Error("Illegal argument "+o);var u=r.wordsToBytes(f(o,h));return h&&h.asBytes?u:h&&h.asString?c.bytesToString(u):r.bytesToHex(u)}})()},61339:function(d){d.exports=v;function v(e,r){if(!e)throw new Error(r||"Assertion failed")}v.equal=function(r,i,l){if(r!=i)throw new Error(l||"Assertion failed: "+r+" != "+i)}},75918:function(d,v,e){"use strict";e.d(v,{Wi:function(){return o},Z0:function(){return h},aU:function(){return f},eZ:function(){return a},wY:function(){return u}});var r=e(4348),i=e(69323),l=e(13268),c=function(x,p,y,_){function b(A){return A instanceof y?A:new y(function(k){k(A)})}return new(y||(y=Promise))(function(A,k){function L(M){try{D(_.next(M))}catch(B){k(B)}}function T(M){try{D(_.throw(M))}catch(B){k(B)}}function D(M){M.done?A(M.value):b(M.value).then(L,T)}D((_=_.apply(x,p||[])).next())})};class f extends i.JT{constructor(p,y="",_="",b=!0,A){super(),this._onDidChange=this._register(new r.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=p,this._label=y,this._cssClass=_,this._enabled=b,this._actionCallback=A}get id(){return this._id}get label(){return this._label}set label(p){this._setLabel(p)}_setLabel(p){this._label!==p&&(this._label=p,this._onDidChange.fire({label:p}))}get tooltip(){return this._tooltip||""}set tooltip(p){this._setTooltip(p)}_setTooltip(p){this._tooltip!==p&&(this._tooltip=p,this._onDidChange.fire({tooltip:p}))}get class(){return this._cssClass}set class(p){this._setClass(p)}_setClass(p){this._cssClass!==p&&(this._cssClass=p,this._onDidChange.fire({class:p}))}get enabled(){return this._enabled}set enabled(p){this._setEnabled(p)}_setEnabled(p){this._enabled!==p&&(this._enabled=p,this._onDidChange.fire({enabled:p}))}get checked(){return this._checked}set checked(p){this._setChecked(p)}_setChecked(p){this._checked!==p&&(this._checked=p,this._onDidChange.fire({checked:p}))}run(p,y){return c(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(p))})}}class o extends i.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new r.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new r.Q5),this.onDidRun=this._onDidRun.event}run(p,y){return c(this,void 0,void 0,function*(){if(!p.enabled)return;this._onBeforeRun.fire({action:p});let _;try{yield this.runAction(p,y)}catch(b){_=b}this._onDidRun.fire({action:p,error:_})})}runAction(p,y){return c(this,void 0,void 0,function*(){yield p.run(y)})}}class h extends f{constructor(p){super(h.ID,p,p?"separator text":"separator"),this.checked=!1,this.enabled=!1}}h.ID="vs.actions.separator";class u{constructor(p,y,_,b){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=p,this.label=y,this.class=b,this._actions=_}get actions(){return this._actions}dispose(){}run(){return c(this,void 0,void 0,function*(){})}}class a extends f{constructor(){super(a.ID,l.N("submenu.empty","(empty)"),void 0,!1)}}a.ID="vs.actions.empty"},76068:function(d,v,e){"use strict";e.d(v,{ok:function(){return r}});function r(i,l){if(!i)throw new Error(l?`Assertion failed (${l})`:"Assertion Failed")}},52615:function(d,v,e){"use strict";e.d(v,{CM:function(){return f},JL:function(){return o},dT:function(){return u},fK:function(){return c},lA:function(){return h}});var r=e(4348);class i{constructor(){this._icons=new Map,this._onDidRegister=new r.Q5}add(x){const p=this._icons.get(x.id);p?x.description?p.description=x.description:console.error(`Duplicate registration of codicon ${x.id}`):(this._icons.set(x.id,x),this._onDidRegister.fire(x))}get(x){return this._icons.get(x)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const l=new i,c=l;function f(a,x){return new h(a,x)}function o(a){return a?a.replace(/\$\((.*?)\)/g,(x,p)=>` ${p} `).trim():""}class h{constructor(x,p,y){this.id=x,this.definition=p,this.description=y,l.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var u;(function(a){a.iconNameSegment="[A-Za-z0-9]+",a.iconNameExpression="[A-Za-z0-9\\-]+",a.iconModifierExpression="~[A-Za-z]+";const x=new RegExp(`^(${a.iconNameExpression})(${a.iconModifierExpression})?$`);function p(b){if(b instanceof h)return["codicon","codicon-"+b.id];const A=x.exec(b.id);if(!A)return p(h.error);let[,k,L]=A;const T=["codicon","codicon-"+k];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,v,e){"use strict";e.d(v,{B8:function(){return p},Cp:function(){return c},F0:function(){return u},L6:function(){return x},VV:function(){return h},b1:function(){return a},dL:function(){return l},ri:function(){return f}});class r{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(_){setTimeout(()=>{throw _.stack?new Error(_.message+`
`+_.stack):_},0)}}emit(_){this.listeners.forEach(b=>{b(_)})}onUnexpectedError(_){this.unexpectedErrorHandler(_),this.emit(_)}onUnexpectedExternalError(_){this.unexpectedErrorHandler(_)}}const i=new r;function l(y){h(y)||i.onUnexpectedError(y)}function c(y){h(y)||i.onUnexpectedExternalError(y)}function f(y){if(y instanceof Error){let{name:_,message:b}=y;const A=y.stacktrace||y.stack;return{$isError:!0,name:_,message:b,stack:A}}return y}const o="Canceled";function h(y){return y instanceof Error&&y.name===o&&y.message===o}function u(){const y=new Error(o);return y.name=y.message,y}function a(y){return y?new Error(`Illegal argument: ${y}`):new Error("Illegal argument")}function x(y){return y?new Error(`Illegal state: ${y}`):new Error("Illegal state")}class p extends Error{constructor(_){super("NotSupported"),_&&(this.message=_)}}},4348:function(d,v,e){"use strict";e.d(v,{D0:function(){return p},E7:function(){return y},K3:function(){return x},Q5:function(){return a},ZD:function(){return _},ju:function(){return f}});var r=e(79881),i=e(69323),l=e(34502),c=e(95830),f;(function(b){b.None=()=>i.JT.None;function A(ue){return(ee,X=null,ce)=>{let z=!1,$;return $=ue(se=>{if(!z)return $?$.dispose():z=!0,ee.call(X,se)},null,ce),z&&$.dispose(),$}}b.once=A;function k(ue,ee){return N((X,ce=null,z)=>ue($=>X.call(ce,ee($)),null,z))}b.map=k;function L(ue,ee){return N((X,ce=null,z)=>ue($=>{ee($),X.call(ce,$)},null,z))}b.forEach=L;function T(ue,ee){return N((X,ce=null,z)=>ue($=>ee($)&&X.call(ce,$),null,z))}b.filter=T;function D(ue){return ue}b.signal=D;function M(...ue){return(ee,X=null,ce)=>(0,i.F8)(...ue.map(z=>z($=>ee.call(X,$),null,ce)))}b.any=M;function B(ue,ee,X){let ce=X;return k(ue,z=>(ce=ee(ce,z),ce))}b.reduce=B;function N(ue){let ee;const X=new a({onFirstListenerAdd(){ee=ue(X.fire,X)},onLastListenerRemove(){ee.dispose()}});return X.event}function K(ue,ee,X=100,ce=!1,z){let $,se,_e,Oe=0;const Le=new a({leakWarningThreshold:z,onFirstListenerAdd(){$=ue(He=>{Oe++,se=ee(se,He),ce&&!_e&&(Le.fire(se),se=void 0),clearTimeout(_e),_e=setTimeout(()=>{const $e=se;se=void 0,_e=void 0,(!ce||Oe>1)&&Le.fire($e),Oe=0},X)})},onLastListenerRemove(){$.dispose()}});return Le.event}b.debounce=K;function G(ue,ee=(X,ce)=>X===ce){let X=!0,ce;return T(ue,z=>{const $=X||!ee(z,ce);return X=!1,ce=z,$})}b.latch=G;function W(ue,ee){return[b.filter(ue,ee),b.filter(ue,X=>!ee(X))]}b.split=W;function ne(ue,ee=!1,X=[]){let ce=X.slice(),z=ue(_e=>{ce?ce.push(_e):se.fire(_e)});const $=()=>{ce&&ce.forEach(_e=>se.fire(_e)),ce=null},se=new a({onFirstListenerAdd(){z||(z=ue(_e=>se.fire(_e)))},onFirstListenerDidAdd(){ce&&(ee?setTimeout($):$())},onLastListenerRemove(){z&&z.dispose(),z=null}});return se.event}b.buffer=ne;class ae{constructor(ee){this.event=ee}map(ee){return new ae(k(this.event,ee))}forEach(ee){return new ae(L(this.event,ee))}filter(ee){return new ae(T(this.event,ee))}reduce(ee,X){return new ae(B(this.event,ee,X))}latch(){return new ae(G(this.event))}debounce(ee,X=100,ce=!1,z){return new ae(K(this.event,ee,X,ce,z))}on(ee,X,ce){return this.event(ee,X,ce)}once(ee,X,ce){return A(this.event)(ee,X,ce)}}function le(ue){return new ae(ue)}b.chain=le;function Q(ue,ee,X=ce=>ce){const ce=(..._e)=>se.fire(X(..._e)),z=()=>ue.on(ee,ce),$=()=>ue.removeListener(ee,ce),se=new a({onFirstListenerAdd:z,onLastListenerRemove:$});return se.event}b.fromNodeEventEmitter=Q;function J(ue,ee,X=ce=>ce){const ce=(..._e)=>se.fire(X(..._e)),z=()=>ue.addEventListener(ee,ce),$=()=>ue.removeEventListener(ee,ce),se=new a({onFirstListenerAdd:z,onLastListenerRemove:$});return se.event}b.fromDOMEventEmitter=J;function V(ue){return new Promise(ee=>A(ue)(ee))}b.toPromise=V})(f||(f={}));class o{constructor(A){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${A}_${o._idPool++}`}start(A){this._stopWatch=new c.G(!0),this._listenerCount=A}stop(){if(this._stopWatch){const A=this._stopWatch.elapsed();this._elapsedOverall+=A,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${A.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}o._idPool=0;let h=-1;class u{constructor(A,k=Math.random().toString(18).slice(2,5)){this.customThreshold=A,this.name=k,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(A){let k=h;if(typeof this.customThreshold=="number"&&(k=this.customThreshold),k<=0||A<k)return;this._stacks||(this._stacks=new Map);const 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=k*.5;let D,M=0;for(const[B,N]of this._stacks)(!D||M<N)&&(D=B,M=N);console.warn(`[${this.name}] potential listener LEAK detected, having ${A} listeners already. MOST frequent listener (${M}):`),console.warn(D)}return()=>{const D=this._stacks.get(L)||0;this._stacks.set(L,D-1)}}}class a{constructor(A){var k;this._disposed=!1,this._options=A,this._leakageMon=h>0?new u(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((k=this._options)===null||k===void 0)&&k._profName?new o(this._options._profName):void 0}get event(){return this._event||(this._event=(A,k,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 M=this._listeners.push(k?[A,k]:A);D&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,A,k);const B=(T=this._leakageMon)===null||T===void 0?void 0:T.check(this._listeners.size),N=(0,i.OF)(()=>{B&&B(),this._disposed||(M(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return L instanceof i.SL?L.add(N):Array.isArray(L)&&L.push(N),N}),this._event}fire(A){var k,L;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let T of this._listeners)this._deliveryQueue.push([T,A]);for((k=this._perfMon)===null||k===void 0||k.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(M){(0,r.dL)(M)}}(L=this._perfMon)===null||L===void 0||L.stop()}}dispose(){var A,k,L,T,D;this._disposed||(this._disposed=!0,(A=this._listeners)===null||A===void 0||A.clear(),(k=this._deliveryQueue)===null||k===void 0||k.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(A){super(A),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=A==null?void 0:A.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const A=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(A))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(A){this._listeners&&(this._isPaused!==0?this._eventQueue.push(A):super.fire(A))}}class p extends x{constructor(A){var k;super(A),this._delay=(k=A.delay)!==null&&k!==void 0?k:100}fire(A){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(A)}}class y{constructor(){this.buffers=[]}wrapEvent(A){return(k,L,T)=>A(D=>{const M=this.buffers[this.buffers.length-1];M?M.push(()=>k.call(L,D)):k.call(L,D)},void 0,T)}bufferEvents(A){const k=[];this.buffers.push(k);const L=A();return this.buffers.pop(),k.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(A){this.inputEvent=A,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=A(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(d,v,e){"use strict";e.d(v,{I:function(){return r}});function r(i){const l=this;let c=!1,f;return function(){return c||(c=!0,f=i.apply(l,arguments)),f}}},88226:function(d,v,e){"use strict";e.d(v,{$:function(){return r}});var r;(function(i){function l(M){return M&&typeof M=="object"&&typeof M[Symbol.iterator]=="function"}i.is=l;const c=Object.freeze([]);function f(){return c}i.empty=f;function*o(M){yield M}i.single=o;function h(M){return M||c}i.from=h;function u(M){return!M||M[Symbol.iterator]().next().done===!0}i.isEmpty=u;function a(M){return M[Symbol.iterator]().next().value}i.first=a;function x(M,B){for(const N of M)if(B(N))return!0;return!1}i.some=x;function p(M,B){for(const N of M)if(B(N))return N}i.find=p;function*y(M,B){for(const N of M)B(N)&&(yield N)}i.filter=y;function*_(M,B){let N=0;for(const K of M)yield B(K,N++)}i.map=_;function*b(...M){for(const B of M)for(const N of B)yield N}i.concat=b;function*A(M){for(const B of M)for(const N of B)yield N}i.concatNested=A;function k(M,B,N){let K=N;for(const G of M)K=B(K,G);return K}i.reduce=k;function*L(M,B,N=M.length){for(B<0&&(B+=M.length),N<0?N+=M.length:N>M.length&&(N=M.length);B<N;B++)yield M[B]}i.slice=L;function T(M,B=Number.POSITIVE_INFINITY){const N=[];if(B===0)return[N,M];const K=M[Symbol.iterator]();for(let G=0;G<B;G++){const W=K.next();if(W.done)return[N,i.empty()];N.push(W.value)}return[N,{[Symbol.iterator](){return K}}]}i.consume=T;function D(M,B,N=(K,G)=>K===G){const K=M[Symbol.iterator](),G=B[Symbol.iterator]();for(;;){const W=K.next(),ne=G.next();if(W.done!==ne.done)return!1;if(W.done)return!0;if(!N(W.value,ne.value))return!1}}i.equals=D})(r||(r={}))},69323:function(d,v,e){"use strict";e.d(v,{B9:function(){return _},F8:function(){return b},JT:function(){return L},Jz:function(){return D},OF:function(){return A},SL:function(){return k},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(M){c=M}if(l){const M="__is_disposable_tracked__";f(new class{trackDisposable(B){const N=new Error("Potentially leaked disposable").stack;setTimeout(()=>{B[M]||console.log(N)},3e3)}setParent(B,N){if(B&&B!==L.None)try{B[M]=!0}catch(K){}}markAsDisposed(B){if(B&&B!==L.None)try{B[M]=!0}catch(N){}}markAsSingleton(B){}})}function o(M){return c==null||c.trackDisposable(M),M}function h(M){c==null||c.markAsDisposed(M)}function u(M,B){c==null||c.setParent(M,B)}function a(M,B){if(c)for(const N of M)c.setParent(N,B)}function x(M){return c==null||c.markAsSingleton(M),M}class p extends Error{constructor(B){super(`Encountered errors while disposing of store. Errors: [${B.join(", ")}]`),this.errors=B}}function y(M){return typeof M.dispose=="function"&&M.dispose.length===0}function _(M){if(i.$.is(M)){let B=[];for(const N of M)if(N)try{N.dispose()}catch(K){B.push(K)}if(B.length===1)throw B[0];if(B.length>1)throw new p(B);return Array.isArray(M)?[]:M}else if(M)return M.dispose(),M}function b(...M){const B=A(()=>_(M));return a(M,B),B}function A(M){const B=o({dispose:(0,r.I)(()=>{h(B),M()})});return B}class k{constructor(){this._toDispose=new Set,this._isDisposed=!1,o(this)}dispose(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}clear(){try{_(this._toDispose.values())}finally{this._toDispose.clear()}}add(B){if(!B)return B;if(B===this)throw new Error("Cannot register a disposable on itself!");return u(B,this),this._isDisposed?k.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(B),B}}k.DISABLE_DISPOSED_WARNING=!1;class L{constructor(){this._store=new k,o(this),u(this._store,this)}dispose(){h(this),this._store.dispose()}_register(B){if(B===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(B)}}L.None=Object.freeze({dispose(){}});class T{constructor(){this._isDisposed=!1,o(this)}get value(){return this._isDisposed?void 0:this._value}set value(B){var N;this._isDisposed||B===this._value||((N=this._value)===null||N===void 0||N.dispose(),B&&u(B,this),this._value=B)}clear(){this.value=void 0}dispose(){var B;this._isDisposed=!0,h(this),(B=this._value)===null||B===void 0||B.dispose(),this._value=void 0}clearAndLeak(){const B=this._value;return this._value=void 0,B&&u(B,null),B}}class D{constructor(B){this.object=B}dispose(){}}},34502:function(d,v,e){"use strict";e.d(v,{S:function(){return i}});class r{constructor(c){this.element=c,this.next=r.Undefined,this.prev=r.Undefined}}r.Undefined=new r(void 0);class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){let c=this._first;for(;c!==r.Undefined;){const f=c.next;c.prev=r.Undefined,c.next=r.Undefined,c=f}this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(c){return this._insert(c,!1)}push(c){return this._insert(c,!0)}_insert(c,f){const o=new r(c);if(this._first===r.Undefined)this._first=o,this._last=o;else if(f){const u=this._last;this._last=o,o.prev=u,u.next=o}else{const u=this._first;this._first=o,o.next=u,u.prev=o}this._size+=1;let h=!1;return()=>{h||(h=!0,this._remove(o))}}shift(){if(this._first!==r.Undefined){const c=this._first.element;return this._remove(this._first),c}}pop(){if(this._last!==r.Undefined){const c=this._last.element;return this._remove(this._last),c}}_remove(c){if(c.prev!==r.Undefined&&c.next!==r.Undefined){const f=c.prev;f.next=c.next,c.next.prev=f}else c.prev===r.Undefined&&c.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):c.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):c.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let c=this._first;for(;c!==r.Undefined;)yield c.element,c=c.next}}},23345:function(d,v,e){"use strict";e.d(v,{$L:function(){return K},ED:function(){return D},IJ:function(){return B},OS:function(){return ae},WE:function(){return W},dz:function(){return M},gn:function(){return G},li:function(){return A},r:function(){return J},tY:function(){return N},xS:function(){return ne}});var r=e(97671),i;const l="en";let c=!1,f=!1,o=!1,h=!1,u=!1,a=!1,x=!1,p,y=null,_=null,b;const A=typeof self=="object"?self:typeof e.g=="object"?e.g:{};let k;typeof A.vscode!="undefined"&&typeof A.vscode.process!="undefined"?k=A.vscode.process:typeof r!="undefined"&&(k=r);const L=typeof((i=k==null?void 0:k.versions)===null||i===void 0?void 0:i.electron)=="string"&&k.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,o=b.indexOf("Linux")>=0,a=!0,p=navigator.language,y=p;else if(typeof k=="object"){c=k.platform==="win32",f=k.platform==="darwin",o=k.platform==="linux",h=o&&!!k.env.SNAP&&!!k.env.SNAP_REVISION,p=l,y=l;const V=k.env.VSCODE_NLS_CONFIG;if(V)try{const ue=JSON.parse(V),ee=ue.availableLanguages["*"];p=ue.locale,y=ee||l,_=ue._translationsConfigFile}catch(ue){}u=!0}else console.error("Unable to resolve platform.");let T=0;f?T=1:c?T=3:o&&(T=2);const D=c,M=f,B=o,N=u,K=a,G=x,W=b,ne=function(){if(A.setImmediate)return A.setImmediate.bind(A);if(typeof A.postMessage=="function"&&!A.importScripts){let ee=[];A.addEventListener("message",ce=>{if(ce.data&&ce.data.vscodeSetImmediateId)for(let z=0,$=ee.length;z<$;z++){const se=ee[z];if(se.id===ce.data.vscodeSetImmediateId){ee.splice(z,1),se.callback();return}}});let X=0;return ce=>{const z=++X;ee.push({id:z,callback:ce}),A.postMessage({vscodeSetImmediateId:z},"*")}}if(typeof(k==null?void 0:k.nextTick)=="function")return k.nextTick.bind(k);const ue=Promise.resolve();return ee=>ue.then(ee)}(),ae=f||x?2:c?1:3;let le=!0,Q=!1;function J(){if(!Q){Q=!0;const V=new Uint8Array(2);V[0]=1,V[1]=2,le=new Uint16Array(V.buffer)[0]===513}return le}},95830:function(d,v,e){"use strict";e.d(v,{G:function(){return l}});var r=e(23345);const i=r.li.performance&&typeof r.li.performance.now=="function";class l{constructor(f){this._highResolution=i&&f,this._startTime=this._now(),this._stopTime=-1}static create(f=!0){return new l(f)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?r.li.performance.now():Date.now()}}},82983:function(d,v,e){"use strict";e.d(v,{$i:function(){return Oe},C8:function(){return yt},GF:function(){return p},HO:function(){return X},IO:function(){return y},K7:function(){return Bt},Kw:function(){return Yt},LC:function(){return A},Mh:function(){return ne},P1:function(){return ae},PJ:function(){return lr},Qe:function(){return Le},R1:function(){return x},RP:function(){return se},S6:function(){return Ve},TT:function(){return D},Ut:function(){return z},V8:function(){return k},WU:function(){return l},YK:function(){return Q},YU:function(){return c},ZG:function(){return le},ZH:function(){return V},ab:function(){return He},c1:function(){return It},df:function(){return K},ec:function(){return f},fi:function(){return Ct},fy:function(){return o},j3:function(){return h},j_:function(){return B},m5:function(){return r},mK:function(){return N},mr:function(){return _},oH:function(){return xt},oL:function(){return u},ok:function(){return W},ow:function(){return L},qq:function(){return G},qu:function(){return T},rL:function(){return J},uS:function(){return rr},un:function(){return a},uq:function(){return b},vH:function(){return ee},xe:function(){return $e},zY:function(){return M}});function r(ye){return!ye||typeof ye!="string"?!0:ye.trim().length===0}const i=/{(\d+)}/g;function l(ye,...Ce){return Ce.length===0?ye:ye.replace(i,function(Fe,je){const Ge=parseInt(je,10);return isNaN(Ge)||Ge<0||Ge>=Ce.length?Fe:Ce[Ge]})}function c(ye){return ye.replace(/[<>&]/g,function(Ce){switch(Ce){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return Ce}})}function f(ye){return ye.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function o(ye,Ce=" "){const Fe=h(ye,Ce);return u(Fe,Ce)}function h(ye,Ce){if(!ye||!Ce)return ye;const Fe=Ce.length;if(Fe===0||ye.length===0)return ye;let je=0;for(;ye.indexOf(Ce,je)===je;)je=je+Fe;return ye.substring(je)}function u(ye,Ce){if(!ye||!Ce)return ye;const Fe=Ce.length,je=ye.length;if(Fe===0||je===0)return ye;let Ge=je,it=-1;for(;it=ye.lastIndexOf(Ce,Ge-1),!(it===-1||it+Fe!==Ge);){if(it===0)return"";Ge=it}return ye.substring(0,Ge)}function a(ye){return ye.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ye){return ye.replace(/\*/g,"")}function p(ye,Ce,Fe={}){if(!ye)throw new Error("Cannot create regex from empty string");Ce||(ye=f(ye)),Fe.wholeWord&&(/\B/.test(ye.charAt(0))||(ye="\\b"+ye),/\B/.test(ye.charAt(ye.length-1))||(ye=ye+"\\b"));let je="";return Fe.global&&(je+="g"),Fe.matchCase||(je+="i"),Fe.multiline&&(je+="m"),Fe.unicode&&(je+="u"),new RegExp(ye,je)}function y(ye){return ye.source==="^"||ye.source==="^$"||ye.source==="$"||ye.source==="^\\s*$"?!1:!!(ye.exec("")&&ye.lastIndex===0)}function _(ye){return(ye.global?"g":"")+(ye.ignoreCase?"i":"")+(ye.multiline?"m":"")+(ye.unicode?"u":"")}function b(ye){return ye.split(/\r\n|\r|\n/)}function A(ye){for(let Ce=0,Fe=ye.length;Ce<Fe;Ce++){const je=ye.charCodeAt(Ce);if(je!==32&&je!==9)return Ce}return-1}function k(ye,Ce=0,Fe=ye.length){for(let je=Ce;je<Fe;je++){const Ge=ye.charCodeAt(je);if(Ge!==32&&Ge!==9)return ye.substring(Ce,je)}return ye.substring(Ce,Fe)}function L(ye,Ce=ye.length-1){for(let Fe=Ce;Fe>=0;Fe--){const je=ye.charCodeAt(Fe);if(je!==32&&je!==9)return Fe}return-1}function T(ye,Ce){return ye<Ce?-1:ye>Ce?1:0}function D(ye,Ce,Fe=0,je=ye.length,Ge=0,it=Ce.length){for(;Fe<je&&Ge<it;Fe++,Ge++){let Ht=ye.charCodeAt(Fe),Pe=Ce.charCodeAt(Ge);if(Ht<Pe)return-1;if(Ht>Pe)return 1}const ct=je-Fe,Gt=it-Ge;return ct<Gt?-1:ct>Gt?1:0}function M(ye,Ce){return B(ye,Ce,0,ye.length,0,Ce.length)}function B(ye,Ce,Fe=0,je=ye.length,Ge=0,it=Ce.length){for(;Fe<je&&Ge<it;Fe++,Ge++){let Ht=ye.charCodeAt(Fe),Pe=Ce.charCodeAt(Ge);if(Ht===Pe)continue;if(Ht>=128||Pe>=128)return D(ye.toLowerCase(),Ce.toLowerCase(),Fe,je,Ge,it);N(Ht)&&(Ht-=32),N(Pe)&&(Pe-=32);const tt=Ht-Pe;if(tt!==0)return tt}const ct=je-Fe,Gt=it-Ge;return ct<Gt?-1:ct>Gt?1:0}function N(ye){return ye>=97&&ye<=122}function K(ye){return ye>=65&&ye<=90}function G(ye,Ce){return ye.length===Ce.length&&B(ye,Ce)===0}function W(ye,Ce){const Fe=Ce.length;return Ce.length>ye.length?!1:B(ye,Ce,0,Fe)===0}function ne(ye,Ce){let Fe,je=Math.min(ye.length,Ce.length);for(Fe=0;Fe<je;Fe++)if(ye.charCodeAt(Fe)!==Ce.charCodeAt(Fe))return Fe;return je}function ae(ye,Ce){let Fe,je=Math.min(ye.length,Ce.length);const Ge=ye.length-1,it=Ce.length-1;for(Fe=0;Fe<je;Fe++)if(ye.charCodeAt(Ge-Fe)!==Ce.charCodeAt(it-Fe))return Fe;return je}function le(ye){return 55296<=ye&&ye<=56319}function Q(ye){return 56320<=ye&&ye<=57343}function J(ye,Ce){return(ye-55296<<10)+(Ce-56320)+65536}function V(ye,Ce,Fe){const je=ye.charCodeAt(Fe);if(le(je)&&Fe+1<Ce){const Ge=ye.charCodeAt(Fe+1);if(Q(Ge))return J(je,Ge)}return je}function ue(ye,Ce){const Fe=ye.charCodeAt(Ce-1);if(Q(Fe)&&Ce>1){const je=ye.charCodeAt(Ce-2);if(le(je))return J(je,Fe)}return Fe}function ee(ye,Ce){const Fe=Ut.getInstance(),je=Ce,Ge=ye.length,it=V(ye,Ge,Ce);Ce+=it>=65536?2:1;let ct=Fe.getGraphemeBreakType(it);for(;Ce<Ge;){const Gt=V(ye,Ge,Ce),Ht=Fe.getGraphemeBreakType(Gt);if(Ct(ct,Ht))break;Ce+=Gt>=65536?2:1,ct=Ht}return Ce-je}function X(ye,Ce){const Fe=Ut.getInstance(),je=Ce,Ge=ue(ye,Ce);Ce-=Ge>=65536?2:1;let it=Fe.getGraphemeBreakType(Ge);for(;Ce>0;){const ct=ue(ye,Ce),Gt=Fe.getGraphemeBreakType(ct);if(Ct(Gt,it))break;Ce-=ct>=65536?2:1,it=Gt}return je-Ce}const ce=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function z(ye){return ce.test(ye)}const $=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function se(ye){return $.test(ye)}const _e=/^[\t\n\r\x20-\x7E]*$/;function Oe(ye){return _e.test(ye)}const Le=/[\u2028\u2029]/;function He(ye){return Le.test(ye)}function $e(ye){for(let Ce=0,Fe=ye.length;Ce<Fe;Ce++)if(Bt(ye.charCodeAt(Ce)))return!0;return!1}function Bt(ye){return ye=+ye,ye>=11904&&ye<=55215||ye>=63744&&ye<=64255||ye>=65281&&ye<=65374}function yt(ye){return ye>=127462&&ye<=127487||ye===8986||ye===8987||ye===9200||ye===9203||ye>=9728&&ye<=10175||ye===11088||ye===11093||ye>=127744&&ye<=128591||ye>=128640&&ye<=128764||ye>=128992&&ye<=129003||ye>=129280&&ye<=129535||ye>=129648&&ye<=129750}const It="\uFEFF";function rr(ye){return!!(ye&&ye.length>0&&ye.charCodeAt(0)===65279)}function Yt(ye,Ce=!1){return ye?(Ce&&(ye=ye.replace(/\\./g,"")),ye.toLowerCase()!==ye):!1}function lr(ye){return ye=ye%52,ye<26?String.fromCharCode(97+ye):String.fromCharCode(65+ye-26)}function Ve(ye){return Ut.getInstance().getGraphemeBreakType(ye)}function Ct(ye,Ce){return ye===0?Ce!==5&&Ce!==7:ye===2&&Ce===3?!1:ye===4||ye===2||ye===3||Ce===4||Ce===2||Ce===3?!0:!(ye===8&&(Ce===8||Ce===9||Ce===11||Ce===12)||(ye===11||ye===9)&&(Ce===9||Ce===10)||(ye===12||ye===10)&&Ce===10||Ce===5||Ce===13||Ce===7||ye===1||ye===13&&Ce===14||ye===6&&Ce===6)}class Ut{constructor(){this._data=st()}static getInstance(){return Ut._INSTANCE||(Ut._INSTANCE=new Ut),Ut._INSTANCE}getGraphemeBreakType(Ce){if(Ce<32)return Ce===10?3:Ce===13?2:4;if(Ce<127)return 0;const Fe=this._data,je=Fe.length/3;let Ge=1;for(;Ge<=je;)if(Ce<Fe[3*Ge])Ge=2*Ge;else if(Ce>Fe[3*Ge+1])Ge=2*Ge+1;else return Fe[3*Ge+2];return 0}}Ut._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 xt(ye,Ce){if(ye===0)return 0;const Fe=ht(ye,Ce);if(Fe!==void 0)return Fe;const je=ue(Ce,ye);return ye-=rt(je),ye}function ht(ye,Ce){let Fe=ue(Ce,ye);for(ye-=rt(Fe);Ue(Fe)||Fe===65039||Fe===8419;){if(ye===0)return;Fe=ue(Ce,ye),ye-=rt(Fe)}if(yt(Fe)){if(ye>=0){const je=ue(Ce,ye);je===8205&&(ye-=rt(je))}return ye}}function rt(ye){return ye>=65536?2:1}function Ue(ye){return 127995<=ye&&ye<=127999}},72999:function(d,v,e){"use strict";e.d(v,{$E:function(){return A},$K:function(){return h},D8:function(){return y},HD:function(){return i},IU:function(){return k},Jp:function(){return u},Kn:function(){return l},cW:function(){return x},f6:function(){return L},hj:function(){return c},jn:function(){return f},kJ:function(){return r},mf:function(){return p},o8:function(){return o},p_:function(){return a},vE:function(){return 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 o(D){return typeof D=="undefined"}function h(D){return!u(D)}function u(D){return o(D)||D===null}function a(D,M){if(!D)throw new Error(M?`Unexpected type, expected '${M}'`:"Unexpected type")}function x(D){if(u(D))throw new Error("Assertion Failed: argument is undefined or null");return D}function p(D){return typeof D=="function"}function y(D,M){const B=Math.min(D.length,M.length);for(let N=0;N<B;N++)_(D[N],M[N])}function _(D,M){if(i(M)){if(typeof D!==M)throw new Error(`argument does not match constraint: typeof ${M}`)}else if(p(M)){try{if(D instanceof M)return}catch(B){}if(!u(D)&&D.constructor===M||M.length===1&&M.call(void 0,D)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function b(D){let M=[],B=Object.getPrototypeOf(D);for(;Object.prototype!==B;)M=M.concat(Object.getOwnPropertyNames(B)),B=Object.getPrototypeOf(B);return M}function A(D){const M=[];for(const B of b(D))typeof D[B]=="function"&&M.push(B);return M}function k(D,M){const B=K=>function(){const G=Array.prototype.slice.call(arguments,0);return M(K,G)};let N={};for(const K of D)N[K]=B(K);return N}function L(D){return D===null?void 0:D}function T(D,M="Unreachable"){throw new Error(M)}},13268:function(d,v,e){"use strict";e.d(v,{N:function(){return i}});function r(l,c){let f;return c.length===0?f=l:f=l.replace(/\{(\d+)\}/g,function(o,h){const u=h[0];return typeof c[u]!="undefined"?c[u]:o}),f}function i(l,c,...f){return r(c,f)}},96236:function(d,v,e){"use strict";e.d(v,{BH:function(){return k},NZ:function(){return L},U8:function(){return T},co:function(){return A},eH:function(){return b},vr:function(){return _}});var r=e(75918),i=e(52615),l=e(4348),c=e(88226),f=e(69323),o=e(34502),h=e(35884),u=e(90689),a=e(16925),x=e(49055),p=function(D,M,B,N){var K=arguments.length,G=K<3?M:N===null?N=Object.getOwnPropertyDescriptor(M,B):N,W;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")G=Reflect.decorate(D,M,B,N);else for(var ne=D.length-1;ne>=0;ne--)(W=D[ne])&&(G=(K<3?W(G):K>3?W(M,B,G):W(M,B))||G);return K>3&&G&&Object.defineProperty(M,B,G),G},y=function(D,M){return function(B,N){M(B,N,D)}};function _(D){return D.command!==void 0}class b{constructor(M){this.id=b._idPool++,this._debugName=M}}b._idPool=0,b.CommandPalette=new b("CommandPalette"),b.EditorContext=new b("EditorContext"),b.SimpleEditorContext=new b("SimpleEditorContext"),b.EditorContextCopy=new b("EditorContextCopy"),b.EditorContextPeek=new b("EditorContextPeek"),b.MenubarEditMenu=new b("MenubarEditMenu"),b.MenubarCopy=new b("MenubarCopy"),b.MenubarGoMenu=new b("MenubarGoMenu"),b.MenubarSelectionMenu=new b("MenubarSelectionMenu"),b.InlineCompletionsActions=new b("InlineCompletionsActions");const A=(0,a.yh)("menuService"),k=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:D=>D===b.CommandPalette}}addCommand(D){return this.addCommands(c.$.single(D))}addCommands(D){for(const M of D)this._commands.set(M.id,M);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let M=!1;for(const B of D)M=this._commands.delete(B.id)||M;M&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(D){return this._commands.get(D)}getCommands(){const D=new Map;return this._commands.forEach((M,B)=>D.set(B,M)),D}appendMenuItem(D,M){return this.appendMenuItems(c.$.single({id:D,item:M}))}appendMenuItems(D){const M=new Set,B=new o.S;for(const{id:N,item:K}of D){let G=this._menuItems.get(N);G||(G=new o.S,this._menuItems.set(N,G)),B.push(G.push(K)),M.add(N)}return this._onDidChangeMenu.fire(M),(0,f.OF)(()=>{if(B.size>0){for(let N of B)N();this._onDidChangeMenu.fire(M),B.clear()}})}getMenuItems(D){let M;return this._menuItems.has(D)?M=[...this._menuItems.get(D)]:M=[],D===b.CommandPalette&&this._appendImplicitItems(M),M}_appendImplicitItems(D){const M=new Set;for(const B of D)_(B)&&(M.add(B.command.id),B.alt&&M.add(B.alt.id));this._commands.forEach((B,N)=>{M.has(N)||D.push({command:B})})}};class L extends r.wY{constructor(M,B,N,K){super(`submenuitem.${M.submenu.id}`,typeof M.title=="string"?M.title:M.title.value,[],"submenu"),this.item=M,this._menuService=B,this._contextKeyService=N,this._options=K}get actions(){const M=[],B=this._menuService.createMenu(this.item.submenu,this._contextKeyService),N=B.getActions(this._options);B.dispose();for(const[,K]of N)K.length>0&&(M.push(...K),M.push(new r.Z0));return M.length&&M.pop(),M}}let T=class Rd{constructor(M,B,N,K,G){var W,ne;if(this._commandService=G,this.id=M.id,this.label=N!=null&&N.renderShortTitle&&M.shortTitle?typeof M.shortTitle=="string"?M.shortTitle:M.shortTitle.value:typeof M.title=="string"?M.title:M.title.value,this.tooltip=(ne=typeof M.tooltip=="string"?M.tooltip:(W=M.tooltip)===null||W===void 0?void 0:W.value)!==null&&ne!==void 0?ne:"",this.enabled=!M.precondition||K.contextMatchesRules(M.precondition),this.checked=void 0,M.toggled){const ae=M.toggled.condition?M.toggled:{condition:M.toggled};this.checked=K.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=M,this.alt=B?new Rd(B,void 0,N,K,G):void 0,this._options=N,x.kS.isThemeIcon(M.icon)&&(this.class=i.dT.asClassName(M.icon))}dispose(){}run(...M){var B,N;let K=[];return!((B=this._options)===null||B===void 0)&&B.arg&&(K=[...K,this._options.arg]),!((N=this._options)===null||N===void 0)&&N.shouldForwardArgs&&(K=[...K,...M]),this._commandService.executeCommand(this.id,...K)}};T=p([y(3,u.i6),y(4,h.H)],T)},35884:function(d,v,e){"use strict";e.d(v,{H:function(){return h},P:function(){return u}});var r=e(4348),i=e(88226),l=e(69323),c=e(34502),f=e(72999),o=e(16925);const h=(0,o.yh)("commandService"),u=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new r.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(a,x){if(!a)throw new Error("invalid command");if(typeof a=="string"){if(!x)throw new Error("invalid command");return this.registerCommand({id:a,handler:x})}if(a.description){const A=[];for(let L of a.description.args)A.push(L.constraint);const k=a.handler;a.handler=function(L,...T){return(0,f.D8)(T,A),k(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 A=this._commands.get(p);A!=null&&A.isEmpty()&&this._commands.delete(p)});return this._onDidRegisterCommand.fire(p),b}registerCommandAlias(a,x){return u.registerCommand(a,(p,...y)=>p.get(h).executeCommand(x,...y))}getCommand(a){const x=this._commands.get(a);if(!(!x||x.isEmpty()))return i.$.first(x)}getCommands(){const a=new Map;for(const x of this._commands.keys()){const p=this.getCommand(x);p&&a.set(x,p)}return a}};u.registerCommand("noop",()=>{})},90689:function(d,v,e){"use strict";e.d(v,{Ao:function(){return h},Eq:function(){return J},Fb:function(){return u},K8:function(){return ee},i6:function(){return Q},uy:function(){return le}});var r=e(23345),i=e(82983),l=e(16925);let c=r.WE||"";const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",r.dz),f.set("isLinux",r.IJ),f.set("isWindows",r.ED),f.set("isWeb",r.$L),f.set("isMacNative",r.dz&&!r.$L),f.set("isEdge",c.indexOf("Edg/")>=0),f.set("isFirefox",c.indexOf("Firefox")>=0),f.set("isChrome",c.indexOf("Chrome")>=0),f.set("isSafari",c.indexOf("Safari")>=0);const o=Object.prototype.hasOwnProperty;class h{static has(z){return y.create(z)}static equals(z,$){return _.create(z,$)}static regex(z,$){return K.create(z,$)}static not(z){return L.create(z)}static and(...z){return ne.create(z,null)}static or(...z){return ae.create(z,null,!0)}static deserialize(z,$=!1){if(z)return this._deserializeOrExpression(z,$)}static _deserializeOrExpression(z,$){let se=z.split("||");return ae.create(se.map(_e=>this._deserializeAndExpression(_e,$)),null,!0)}static _deserializeAndExpression(z,$){let se=z.split("&&");return ne.create(se.map(_e=>this._deserializeOne(_e,$)),null)}static _deserializeOne(z,$){if(z=z.trim(),z.indexOf("!=")>=0){let se=z.split("!=");return k.create(se[0].trim(),this._deserializeValue(se[1],$))}if(z.indexOf("==")>=0){let se=z.split("==");return _.create(se[0].trim(),this._deserializeValue(se[1],$))}if(z.indexOf("=~")>=0){let se=z.split("=~");return K.create(se[0].trim(),this._deserializeRegexValue(se[1],$))}if(z.indexOf(" in ")>=0){let se=z.split(" in ");return b.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(z)){const se=z.split(">=");return M.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(z)){const se=z.split(">");return D.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(z)){const se=z.split("<=");return N.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(z)){const se=z.split("<");return B.create(se[0].trim(),se[1].trim())}return/^\!\s*/.test(z)?L.create(z.substr(1).trim()):y.create(z)}static _deserializeValue(z,$){if(z=z.trim(),z==="true")return!0;if(z==="false")return!1;let se=/^'([^']*)'$/.exec(z);return se?se[1].trim():z}static _deserializeRegexValue(z,$){if((0,i.m5)(z)){if($)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let se=z.indexOf("/"),_e=z.lastIndexOf("/");if(se===_e||se<0){if($)throw new Error(`bad regexp-value '${z}', missing /-enclosure`);return console.warn(`bad regexp-value '${z}', missing /-enclosure`),null}let Oe=z.slice(se+1,_e),Le=z[_e+1]==="i"?"i":"";try{return new RegExp(Oe,Le)}catch(He){if($)throw new Error(`bad regexp-value '${z}', parse error: ${He}`);return console.warn(`bad regexp-value '${z}', parse error: ${He}`),null}}}function u(ce,z){const $=ce?ce.substituteConstants():void 0,se=z?z.substituteConstants():void 0;return!$&&!se?!0:!$||!se?!1:$.equals(se)}function a(ce,z){return ce.cmp(z)}class x{constructor(){this.type=0}cmp(z){return this.type-z.type}equals(z){return z.type===this.type}substituteConstants(){return this}evaluate(z){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(z){return this.type-z.type}equals(z){return z.type===this.type}substituteConstants(){return this}evaluate(z){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(z,$){this.key=z,this.negated=$,this.type=2}static create(z,$=null){const se=f.get(z);return typeof se=="boolean"?se?p.INSTANCE:x.INSTANCE:new y(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:V(this.key,z.key)}equals(z){return z.type===this.type?this.key===z.key:!1}substituteConstants(){const z=f.get(this.key);return typeof z=="boolean"?z?p.INSTANCE:x.INSTANCE:this}evaluate(z){return!!z.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=L.create(this.key,this)),this.negated}}class _{constructor(z,$,se){this.key=z,this.value=$,this.negated=se,this.type=4}static create(z,$,se=null){if(typeof $=="boolean")return $?y.create(z,se):L.create(z,se);const _e=f.get(z);return typeof _e=="boolean"?$===(_e?"true":"false")?p.INSTANCE:x.INSTANCE:new _(z,$,se)}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){const z=f.get(this.key);if(typeof z=="boolean"){const $=z?"true":"false";return this.value===$?p.INSTANCE:x.INSTANCE}return this}evaluate(z){return z.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this.key,this.value,this)),this.negated}}class b{constructor(z,$){this.key=z,this.valueKey=$,this.type=10,this.negated=null}static create(z,$){return new b(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.valueKey,z.key,z.valueKey)}equals(z){return z.type===this.type?this.key===z.key&&this.valueKey===z.valueKey:!1}substituteConstants(){return this}evaluate(z){const $=z.getValue(this.valueKey),se=z.getValue(this.key);return Array.isArray($)?$.indexOf(se)>=0:typeof se=="string"&&typeof $=="object"&&$!==null?o.call($,se):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=A.create(this)),this.negated}}class A{constructor(z){this._actual=z,this.type=11}static create(z){return new A(z)}cmp(z){return z.type!==this.type?this.type-z.type:this._actual.cmp(z._actual)}equals(z){return z.type===this.type?this._actual.equals(z._actual):!1}substituteConstants(){return this}evaluate(z){return!this._actual.evaluate(z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class k{constructor(z,$,se){this.key=z,this.value=$,this.negated=se,this.type=5}static create(z,$,se=null){if(typeof $=="boolean")return $?L.create(z,se):y.create(z,se);const _e=f.get(z);return typeof _e=="boolean"?$===(_e?"true":"false")?x.INSTANCE:p.INSTANCE:new k(z,$,se)}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){const z=f.get(this.key);if(typeof z=="boolean"){const $=z?"true":"false";return this.value===$?x.INSTANCE:p.INSTANCE}return this}evaluate(z){return z.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=_.create(this.key,this.value,this)),this.negated}}class L{constructor(z,$){this.key=z,this.negated=$,this.type=3}static create(z,$=null){const se=f.get(z);return typeof se=="boolean"?se?x.INSTANCE:p.INSTANCE:new L(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:V(this.key,z.key)}equals(z){return z.type===this.type?this.key===z.key:!1}substituteConstants(){const z=f.get(this.key);return typeof z=="boolean"?z?x.INSTANCE:p.INSTANCE:this}evaluate(z){return!z.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this)),this.negated}}function T(ce,z){if(typeof ce=="string"){const $=parseFloat(ce);isNaN($)||(ce=$)}return typeof ce=="string"||typeof ce=="number"?z(ce):x.INSTANCE}class D{constructor(z,$,se){this.key=z,this.value=$,this.negated=se,this.type=12}static create(z,$,se=null){return T($,_e=>new D(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}class M{constructor(z,$,se){this.key=z,this.value=$,this.negated=se,this.type=13}static create(z,$,se=null){return T($,_e=>new M(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class B{constructor(z,$,se){this.key=z,this.value=$,this.negated=se,this.type=14}static create(z,$,se=null){return T($,_e=>new B(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=M.create(this.key,this.value,this)),this.negated}}class N{constructor(z,$,se){this.key=z,this.value=$,this.negated=se,this.type=15}static create(z,$,se=null){return T($,_e=>new N(z,_e,se))}cmp(z){return z.type!==this.type?this.type-z.type:ue(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=D.create(this.key,this.value,this)),this.negated}}class K{constructor(z,$){this.key=z,this.regexp=$,this.type=7,this.negated=null}static create(z,$){return new K(z,$)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.key<z.key)return-1;if(this.key>z.key)return 1;const $=this.regexp?this.regexp.source:"",se=z.regexp?z.regexp.source:"";return $<se?-1:$>se?1:0}equals(z){if(z.type===this.type){const $=this.regexp?this.regexp.source:"",se=z.regexp?z.regexp.source:"";return this.key===z.key&&$===se}return!1}substituteConstants(){return this}evaluate(z){let $=z.getValue(this.key);return this.regexp?this.regexp.test($):!1}serialize(){const z=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${z}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=G.create(this)),this.negated}}class G{constructor(z){this._actual=z,this.type=8}static create(z){return new G(z)}cmp(z){return z.type!==this.type?this.type-z.type:this._actual.cmp(z._actual)}equals(z){return z.type===this.type?this._actual.equals(z._actual):!1}substituteConstants(){return this}evaluate(z){return!this._actual.evaluate(z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function W(ce){let z=null;for(let $=0,se=ce.length;$<se;$++){const _e=ce[$].substituteConstants();if(ce[$]!==_e&&z===null){z=[];for(let Oe=0;Oe<$;Oe++)z[Oe]=ce[Oe]}z!==null&&(z[$]=_e)}return z===null?ce:z}class ne{constructor(z,$){this.expr=z,this.negated=$,this.type=6}static create(z,$){return ne._normalizeArr(z,$)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.expr.length<z.expr.length)return-1;if(this.expr.length>z.expr.length)return 1;for(let $=0,se=this.expr.length;$<se;$++){const _e=a(this.expr[$],z.expr[$]);if(_e!==0)return _e}return 0}equals(z){if(z.type===this.type){if(this.expr.length!==z.expr.length)return!1;for(let $=0,se=this.expr.length;$<se;$++)if(!this.expr[$].equals(z.expr[$]))return!1;return!0}return!1}substituteConstants(){const z=W(this.expr);return z===this.expr?this:ne.create(z,this.negated)}evaluate(z){for(let $=0,se=this.expr.length;$<se;$++)if(!this.expr[$].evaluate(z))return!1;return!0}static _normalizeArr(z,$){const se=[];let _e=!1;for(const Oe of z)if(Oe){if(Oe.type===1){_e=!0;continue}if(Oe.type===0)return x.INSTANCE;if(Oe.type===6){se.push(...Oe.expr);continue}se.push(Oe)}if(se.length===0&&_e)return p.INSTANCE;if(se.length!==0){if(se.length===1)return se[0];se.sort(a);for(let Oe=1;Oe<se.length;Oe++)se[Oe-1].equals(se[Oe])&&(se.splice(Oe,1),Oe--);if(se.length===1)return se[0];for(;se.length>1;){const Oe=se[se.length-1];if(Oe.type!==9)break;se.pop();const Le=se.pop(),He=se.length===0,$e=ae.create(Oe.expr.map(Bt=>ne.create([Bt,Le],null)),null,He);$e&&(se.push($e),se.sort(a))}return se.length===1?se[0]:new ne(se,$)}}serialize(){return this.expr.map(z=>z.serialize()).join(" && ")}keys(){const z=[];for(let $ of this.expr)z.push(...$.keys());return z}negate(){if(!this.negated){const z=[];for(let $ of this.expr)z.push($.negate());this.negated=ae.create(z,this,!0)}return this.negated}}class ae{constructor(z,$){this.expr=z,this.negated=$,this.type=9}static create(z,$,se){return ae._normalizeArr(z,$,se)}cmp(z){if(z.type!==this.type)return this.type-z.type;if(this.expr.length<z.expr.length)return-1;if(this.expr.length>z.expr.length)return 1;for(let $=0,se=this.expr.length;$<se;$++){const _e=a(this.expr[$],z.expr[$]);if(_e!==0)return _e}return 0}equals(z){if(z.type===this.type){if(this.expr.length!==z.expr.length)return!1;for(let $=0,se=this.expr.length;$<se;$++)if(!this.expr[$].equals(z.expr[$]))return!1;return!0}return!1}substituteConstants(){const z=W(this.expr);return z===this.expr?this:ae.create(z,this.negated,!1)}evaluate(z){for(let $=0,se=this.expr.length;$<se;$++)if(this.expr[$].evaluate(z))return!0;return!1}static _normalizeArr(z,$,se){let _e=[],Oe=!1;if(z){for(let Le=0,He=z.length;Le<He;Le++){const $e=z[Le];if($e){if($e.type===0){Oe=!0;continue}if($e.type===1)return p.INSTANCE;if($e.type===9){_e=_e.concat($e.expr);continue}_e.push($e)}}if(_e.length===0&&Oe)return x.INSTANCE;_e.sort(a)}if(_e.length!==0){if(_e.length===1)return _e[0];for(let Le=1;Le<_e.length;Le++)_e[Le-1].equals(_e[Le])&&(_e.splice(Le,1),Le--);if(_e.length===1)return _e[0];if(se){for(let Le=0;Le<_e.length;Le++)for(let He=Le+1;He<_e.length;He++)ee(_e[Le],_e[He])&&(_e.splice(He,1),He--);if(_e.length===1)return _e[0]}return new ae(_e,$)}}serialize(){return this.expr.map(z=>z.serialize()).join(" || ")}keys(){const z=[];for(let $ of this.expr)z.push(...$.keys());return z}negate(){if(!this.negated){let z=[];for(let $ of this.expr)z.push($.negate());for(;z.length>1;){const $=z.shift(),se=z.shift(),_e=[];for(const Le of X($))for(const He of X(se))_e.push(ne.create([Le,He],null));const Oe=z.length===0;z.unshift(ae.create(_e,null,Oe))}this.negated=z[0]}return this.negated}}class le extends y{constructor(z,$,se){super(z,null),this._defaultValue=$,typeof se=="object"?le._info.push(Object.assign(Object.assign({},se),{key:z})):se!==!0&&le._info.push({key:z,description:se,type:$!=null?typeof $:void 0})}static all(){return le._info.values()}bindTo(z){return z.createKey(this.key,this._defaultValue)}getValue(z){return z.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(z){return _.create(this.key,z)}}le._info=[];const Q=(0,l.yh)("contextKeyService"),J="setContext";function V(ce,z){return ce<z?-1:ce>z?1:0}function ue(ce,z,$,se){return ce<$?-1:ce>$?1:z<se?-1:z>se?1:0}function ee(ce,z){if(z.type===6&&ce.type!==9&&ce.type!==6){for(const _e of z.expr)if(ce.equals(_e))return!0}const $=ce.negate(),se=X($).concat(X(z));se.sort(a);for(let _e=0;_e<se.length;_e++){const Le=se[_e].negate();for(let He=_e+1;He<se.length;He++){const $e=se[He];if(Le.equals($e))return!0}}return!1}function X(ce){return ce.type===9?ce.expr:[ce]}},16925:function(d,v,e){"use strict";e.d(v,{I8:function(){return r},TG:function(){return i},jt:function(){return f},yh:function(){return c}});var r;(function(o){o.serviceIds=new Map,o.DI_TARGET="$di$target",o.DI_DEPENDENCIES="$di$dependencies";function h(u){return u[o.DI_DEPENDENCIES]||[]}o.getServiceDependencies=h})(r||(r={}));const i=c("instantiationService");function l(o,h,u,a){h[r.DI_TARGET]===h?h[r.DI_DEPENDENCIES].push({id:o,index:u,optional:a}):(h[r.DI_DEPENDENCIES]=[{id:o,index:u,optional:a}],h[r.DI_TARGET]=h)}function c(o){if(r.serviceIds.has(o))return r.serviceIds.get(o);const h=function(u,a,x){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");l(h,u,x,!1)};return h.toString=()=>o,r.serviceIds.set(o,h),h}function f(o){return function(h,u,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");l(o,h,a,!0)}}},44650:function(d,v,e){"use strict";e.d(v,{B:function(){return c}});var r=e(76068),i=e(72999);class l{constructor(){this.data=new Map}add(o,h){r.ok(i.HD(o)),r.ok(i.Kn(h)),r.ok(!this.data.has(o),"There is already an extension with this id"),this.data.set(o,h)}as(o){return this.data.get(o)||null}}const c=new l},66213:function(d,v,e){"use strict";e.d(v,{e:function(){return r}});var r;(function(i){i.DARK="dark",i.LIGHT="light",i.HIGH_CONTRAST="hc"})(r||(r={}))},49055:function(d,v,e){"use strict";e.d(v,{EN:function(){return a},IP:function(){return y},Ic:function(){return A},XE:function(){return h},bB:function(){return k},kS:function(){return x},m6:function(){return p}});var r=e(52615),i=e(4348),l=e(69323),c=e(16925),f=e(44650),o=e(66213);const h=(0,c.yh)("themeService");var u;(function(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(G){return G&&typeof G=="object"&&typeof G.id=="string"&&(typeof G.color=="undefined"||u.isThemeColor(G.color))}L.isThemeIcon=T;const D=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function M(G){const W=D.exec(G);if(!W)return;let[,ne]=W;return{id:ne}}L.fromString=M;function B(G,W){let ne=G.id;const ae=ne.lastIndexOf("~");return ae!==-1&&(ne=ne.substring(0,ae)),W&&(ne=`${ne}~${W}`),{id:ne}}L.modify=B;function N(G,W){var ne,ae;return G.id===W.id&&((ne=G.color)===null||ne===void 0?void 0:ne.id)===((ae=W.color)===null||ae===void 0?void 0:ae.id)}L.isEqual=N;function K(G,W){return{id:G.id,color:W?a(W):void 0}}L.asThemeIcon=K,L.asClassNameArray=r.dT.asClassNameArray,L.asClassName=r.dT.asClassName,L.asCSSSelector=r.dT.asCSSSelector})(x||(x={}));function p(L){switch(L){case o.e.DARK:return"vs-dark";case o.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const y={ThemingContribution:"base.contributions.theming"};class _{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new i.Q5}onColorThemeChange(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 A(L){return b.onColorThemeChange(L)}class k 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 v=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function l(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var f={},o=0;o<10;o++)f["_"+String.fromCharCode(o)]=o;var h=Object.getOwnPropertyNames(f).map(function(a){return f[a]});if(h.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(a){u[a]=a}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch(a){return!1}}d.exports=l()?Object.assign:function(c,f){for(var o,h=i(c),u,a=1;a<arguments.length;a++){o=Object(arguments[a]);for(var x in o)e.call(o,x)&&(h[x]=o[x]);if(v){u=v(o);for(var p=0;p<u.length;p++)r.call(o,u[p])&&(h[u[p]]=o[u[p]])}}return h}},97671:function(d){var v=d.exports={},e,r;function i(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=i}catch(b){e=i}try{typeof clearTimeout=="function"?r=clearTimeout:r=l}catch(b){r=l}})();function c(b){if(e===setTimeout)return setTimeout(b,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(b,0);try{return e(b,0)}catch(A){try{return e.call(null,b,0)}catch(k){return e.call(this,b,0)}}}function f(b){if(r===clearTimeout)return clearTimeout(b);if((r===l||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(b);try{return r(b)}catch(A){try{return r.call(null,b)}catch(k){return r.call(this,b)}}}var o=[],h=!1,u,a=-1;function x(){!h||!u||(h=!1,u.length?o=u.concat(o):a=-1,o.length&&p())}function p(){if(!h){var b=c(x);h=!0;for(var A=o.length;A;){for(u=o,o=[];++a<A;)u&&u[a].run();a=-1,A=o.length}u=null,h=!1,f(b)}}v.nextTick=function(b){var A=new Array(arguments.length-1);if(arguments.length>1)for(var k=1;k<arguments.length;k++)A[k-1]=arguments[k];o.push(new y(b,A)),o.length===1&&!h&&c(p)};function y(b,A){this.fun=b,this.array=A}y.prototype.run=function(){this.fun.apply(null,this.array)},v.title="browser",v.browser=!0,v.env={},v.argv=[],v.version="",v.versions={};function _(){}v.on=_,v.addListener=_,v.once=_,v.off=_,v.removeListener=_,v.removeAllListeners=_,v.emit=_,v.prependListener=_,v.prependOnceListener=_,v.listeners=function(b){return[]},v.binding=function(b){throw new Error("process.binding is not supported")},v.cwd=function(){return"/"},v.chdir=function(b){throw new Error("process.chdir is not supported")},v.umask=function(){return 0}},79442:function(d,v,e){"use strict";var r=e(97825);function i(){}function l(){}l.resetWarningCache=i,d.exports=function(){function c(h,u,a,x,p,y){if(y!==r){var _=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw _.name="Invariant Violation",_}}c.isRequired=c;function f(){return c}var o={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:f,element:c,elementType:c,instanceOf:f,node:c,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:i};return o.PropTypes=o,o}},12708:function(d,v,e){if(0)var r,i;else d.exports=e(79442)()},97825:function(d){"use strict";var v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";d.exports=v},86923:function(d,v,e){"use strict";e.d(v,{s:function(){return B},Z:function(){return le}});var r=e(67711),i=e(16886),l=e(43403),c=e(59301),f=c.createContext({}),o=e(98506),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(Q,J,V){var ue=J;return!ue&&V&&(ue="".concat(Q,"-").concat(V)),ue}function b(Q,J){var V=Q["page".concat(J?"Y":"X","Offset")],ue="scroll".concat(J?"Top":"Left");if(typeof V!="number"){var ee=Q.document;V=ee.documentElement[ue],typeof V!="number"&&(V=ee.body[ue])}return V}function A(Q){var J=Q.getBoundingClientRect(),V={left:J.left,top:J.top},ue=Q.ownerDocument,ee=ue.defaultView||ue.parentWindow;return V.left+=b(ee),V.top+=b(ee,!0),V}var k=e(77900),L=e(8654),T=c.memo(function(Q){var J=Q.children;return J},function(Q,J){var V=J.shouldUpdate;return!V}),D={width:0,height:0,overflow:"hidden",outline:"none"},M=c.forwardRef(function(Q,J){var V=Q.prefixCls,ue=Q.className,ee=Q.style,X=Q.title,ce=Q.ariaId,z=Q.footer,$=Q.closable,se=Q.closeIcon,_e=Q.onClose,Oe=Q.children,Le=Q.bodyStyle,He=Q.bodyProps,$e=Q.modalRender,Bt=Q.onMouseDown,yt=Q.onMouseUp,It=Q.holderRef,rr=Q.visible,Yt=Q.forceRender,lr=Q.width,Ve=Q.height,Ct=c.useContext(f),Ut=Ct.panel,st=(0,L.x1)(It,Ut),xt=(0,c.useRef)(),ht=(0,c.useRef)();c.useImperativeHandle(J,function(){return{focus:function(){var Ge;(Ge=xt.current)===null||Ge===void 0||Ge.focus()},changeActive:function(Ge){var it=document,ct=it.activeElement;Ge&&ct===ht.current?xt.current.focus():!Ge&&ct===xt.current&&ht.current.focus()}}});var rt={};lr!==void 0&&(rt.width=lr),Ve!==void 0&&(rt.height=Ve);var Ue;z&&(Ue=c.createElement("div",{className:"".concat(V,"-footer")},z));var ye;X&&(ye=c.createElement("div",{className:"".concat(V,"-header")},c.createElement("div",{className:"".concat(V,"-title"),id:ce},X)));var Ce;$&&(Ce=c.createElement("button",{type:"button",onClick:_e,"aria-label":"Close",className:"".concat(V,"-close")},se||c.createElement("span",{className:"".concat(V,"-close-x")})));var Fe=c.createElement("div",{className:"".concat(V,"-content")},Ce,ye,c.createElement("div",(0,r.Z)({className:"".concat(V,"-body"),style:Le},He),Oe),Ue);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":X?ce:null,"aria-modal":"true",ref:st,style:(0,o.Z)((0,o.Z)({},ee),rt),className:u()(V,ue),onMouseDown:Bt,onMouseUp:yt},c.createElement("div",{tabIndex:0,ref:xt,style:D,"aria-hidden":"true"}),c.createElement(T,{shouldUpdate:rr||Yt},$e?$e(Fe):Fe),c.createElement("div",{tabIndex:0,ref:ht,style:D,"aria-hidden":"true"}))}),B=M,N=c.forwardRef(function(Q,J){var V=Q.prefixCls,ue=Q.title,ee=Q.style,X=Q.className,ce=Q.visible,z=Q.forceRender,$=Q.destroyOnClose,se=Q.motionName,_e=Q.ariaId,Oe=Q.onVisibleChanged,Le=Q.mousePosition,He=(0,c.useRef)(),$e=c.useState(),Bt=(0,i.Z)($e,2),yt=Bt[0],It=Bt[1],rr={};yt&&(rr.transformOrigin=yt);function Yt(){var lr=A(He.current);It(Le?"".concat(Le.x-lr.left,"px ").concat(Le.y-lr.top,"px"):"")}return c.createElement(k.default,{visible:ce,onVisibleChanged:Oe,onAppearPrepare:Yt,onEnterPrepare:Yt,forceRender:z,motionName:se,removeOnLeave:$,ref:He},function(lr,Ve){var Ct=lr.className,Ut=lr.style;return c.createElement(B,(0,r.Z)({},Q,{ref:J,title:ue,ariaId:_e,prefixCls:V,holderRef:Ve,style:(0,o.Z)((0,o.Z)((0,o.Z)({},Ut),ee),rr),className:u()(X,Ct)}))})});N.displayName="Content";var K=N;function G(Q){var J=Q.prefixCls,V=Q.style,ue=Q.visible,ee=Q.maskProps,X=Q.motionName;return c.createElement(k.default,{key:"mask",visible:ue,motionName:X,leavedClassName:"".concat(J,"-mask-hidden")},function(ce,z){var $=ce.className,se=ce.style;return c.createElement("div",(0,r.Z)({ref:z,style:(0,o.Z)((0,o.Z)({},se),V),className:u()("".concat(J,"-mask"),$)},ee))})}function W(Q){var J=Q.prefixCls,V=J===void 0?"rc-dialog":J,ue=Q.zIndex,ee=Q.visible,X=ee===void 0?!1:ee,ce=Q.keyboard,z=ce===void 0?!0:ce,$=Q.focusTriggerAfterClose,se=$===void 0?!0:$,_e=Q.wrapStyle,Oe=Q.wrapClassName,Le=Q.wrapProps,He=Q.onClose,$e=Q.afterOpenChange,Bt=Q.afterClose,yt=Q.transitionName,It=Q.animation,rr=Q.closable,Yt=rr===void 0?!0:rr,lr=Q.mask,Ve=lr===void 0?!0:lr,Ct=Q.maskTransitionName,Ut=Q.maskAnimation,st=Q.maskClosable,xt=st===void 0?!0:st,ht=Q.maskStyle,rt=Q.maskProps,Ue=Q.rootClassName,ye=(0,c.useRef)(),Ce=(0,c.useRef)(),Fe=(0,c.useRef)(),je=c.useState(X),Ge=(0,i.Z)(je,2),it=Ge[0],ct=Ge[1],Gt=(0,x.Z)();function Ht(){(0,a.Z)(Ce.current,document.activeElement)||(ye.current=document.activeElement)}function Pe(){if(!(0,a.Z)(Ce.current,document.activeElement)){var fe;(fe=Fe.current)===null||fe===void 0||fe.focus()}}function tt(fe){if(fe)Pe();else{if(ct(!1),Ve&&ye.current&&se){try{ye.current.focus({preventScroll:!0})}catch(pe){}ye.current=null}it&&(Bt==null||Bt())}$e==null||$e(fe)}function Vt(fe){He==null||He(fe)}var kt=(0,c.useRef)(!1),Zt=(0,c.useRef)(),Nt=function(){clearTimeout(Zt.current),kt.current=!0},At=function(){Zt.current=setTimeout(function(){kt.current=!1})},qt=null;xt&&(qt=function(pe){kt.current?kt.current=!1:Ce.current===pe.target&&Vt(pe)});function Ke(fe){if(z&&fe.keyCode===p.Z.ESC){fe.stopPropagation(),Vt(fe);return}X&&fe.keyCode===p.Z.TAB&&Fe.current.changeActive(!fe.shiftKey)}return(0,c.useEffect)(function(){X&&(ct(!0),Ht())},[X]),(0,c.useEffect)(function(){return function(){clearTimeout(Zt.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(V,"-root"),Ue)},(0,y.Z)(Q,{data:!0})),c.createElement(G,{prefixCls:V,visible:Ve&&X,motionName:_(V,Ct,Ut),style:(0,o.Z)({zIndex:ue},ht),maskProps:rt}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:Ke,className:u()("".concat(V,"-wrap"),Oe),ref:Ce,onClick:qt,style:(0,o.Z)((0,o.Z)({zIndex:ue},_e),{},{display:it?null:"none"})},Le),c.createElement(K,(0,r.Z)({},Q,{onMouseDown:Nt,onMouseUp:At,ref:Fe,closable:Yt,ariaId:Gt,prefixCls:V,visible:X&&it,onClose:Vt,onVisibleChanged:tt,motionName:_(V,yt,It)}))))}var ne=function(J){var V=J.visible,ue=J.getContainer,ee=J.forceRender,X=J.destroyOnClose,ce=X===void 0?!1:X,z=J.afterClose,$=J.panelRef,se=c.useState(V),_e=(0,i.Z)(se,2),Oe=_e[0],Le=_e[1],He=c.useMemo(function(){return{panel:$}},[$]);return c.useEffect(function(){V&&Le(!0)},[V]),!ee&&ce&&!Oe?null:c.createElement(f.Provider,{value:He},c.createElement(l.Z,{open:V||ee||Oe,autoDestroy:!1,getContainer:ue,autoLock:V||Oe},c.createElement(W,(0,r.Z)({},J,{destroyOnClose:ce,afterClose:function(){z==null||z(),Le(!1)}}))))};ne.displayName="Dialog";var ae=ne,le=ae},95013:function(d,v,e){"use strict";e.r(v),e.d(v,{Field:function(){return Mr},FieldContext:function(){return M},FormProvider:function(){return Ki},List:function(){return jn},ListContext:function(){return N},default:function(){return Yn},useForm:function(){return _i},useWatch:function(){return zi}});var r=e(59301),i=e(67711),l=e(33346),c=e(77910),f=e(51343),o=e(98506),h=e(15142),u=e(42573),a=e(58698),x=e(62437),p=e(74700),y=e(45080),_=e(52873),b=e(11592),A=e(13697),k=e(48736),L="RC_FORM_INTERNAL_HOOKS",T=function(){(0,k.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}}}),M=D,B=r.createContext(null),N=B;function K(Jt){return Jt==null?[]:Array.isArray(Jt)?Jt:[Jt]}function G(Jt){return Jt&&!!Jt._init}var W=e(97671);function ne(){return ne=Object.assign?Object.assign.bind():function(Jt){for(var pt=1;pt<arguments.length;pt++){var nt=arguments[pt];for(var Ot in nt)Object.prototype.hasOwnProperty.call(nt,Ot)&&(Jt[Ot]=nt[Ot])}return Jt},ne.apply(this,arguments)}function ae(Jt,pt){Jt.prototype=Object.create(pt.prototype),Jt.prototype.constructor=Jt,Q(Jt,pt)}function le(Jt){return le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(nt){return nt.__proto__||Object.getPrototypeOf(nt)},le(Jt)}function Q(Jt,pt){return Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Ot,dt){return Ot.__proto__=dt,Ot},Q(Jt,pt)}function J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(Jt){return!1}}function V(Jt,pt,nt){return J()?V=Reflect.construct.bind():V=function(dt,or,cr){var Ar=[null];Ar.push.apply(Ar,or);var Ir=Function.bind.apply(dt,Ar),Ze=new Ir;return cr&&Q(Ze,cr.prototype),Ze},V.apply(null,arguments)}function ue(Jt){return Function.toString.call(Jt).indexOf("[native code]")!==-1}function ee(Jt){var pt=typeof Map=="function"?new Map:void 0;return ee=function(Ot){if(Ot===null||!ue(Ot))return Ot;if(typeof Ot!="function")throw new TypeError("Super expression must either be null or a function");if(typeof pt!="undefined"){if(pt.has(Ot))return pt.get(Ot);pt.set(Ot,dt)}function dt(){return V(Ot,arguments,le(this).constructor)}return dt.prototype=Object.create(Ot.prototype,{constructor:{value:dt,enumerable:!1,writable:!0,configurable:!0}}),Q(dt,Ot)},ee(Jt)}var X=/%[sdj%]/g,ce=function(){};function z(Jt){if(!Jt||!Jt.length)return null;var pt={};return Jt.forEach(function(nt){var Ot=nt.field;pt[Ot]=pt[Ot]||[],pt[Ot].push(nt)}),pt}function $(Jt){for(var pt=arguments.length,nt=new Array(pt>1?pt-1:0),Ot=1;Ot<pt;Ot++)nt[Ot-1]=arguments[Ot];var dt=0,or=nt.length;if(typeof Jt=="function")return Jt.apply(null,nt);if(typeof Jt=="string"){var cr=Jt.replace(X,function(Ar){if(Ar==="%%")return"%";if(dt>=or)return Ar;switch(Ar){case"%s":return String(nt[dt++]);case"%d":return Number(nt[dt++]);case"%j":try{return JSON.stringify(nt[dt++])}catch(Ir){return"[Circular]"}break;default:return Ar}});return cr}return Jt}function se(Jt){return Jt==="string"||Jt==="url"||Jt==="hex"||Jt==="email"||Jt==="date"||Jt==="pattern"}function _e(Jt,pt){return!!(Jt==null||pt==="array"&&Array.isArray(Jt)&&!Jt.length||se(pt)&&typeof Jt=="string"&&!Jt)}function Oe(Jt,pt,nt){var Ot=[],dt=0,or=Jt.length;function cr(Ar){Ot.push.apply(Ot,Ar||[]),dt++,dt===or&&nt(Ot)}Jt.forEach(function(Ar){pt(Ar,cr)})}function Le(Jt,pt,nt){var Ot=0,dt=Jt.length;function or(cr){if(cr&&cr.length){nt(cr);return}var Ar=Ot;Ot=Ot+1,Ar<dt?pt(Jt[Ar],or):nt([])}or([])}function He(Jt){var pt=[];return Object.keys(Jt).forEach(function(nt){pt.push.apply(pt,Jt[nt]||[])}),pt}var $e=function(Jt){ae(pt,Jt);function pt(nt,Ot){var dt;return dt=Jt.call(this,"Async Validation Error")||this,dt.errors=nt,dt.fields=Ot,dt}return pt}(ee(Error));function Bt(Jt,pt,nt,Ot,dt){if(pt.first){var or=new Promise(function(ut,ir){var br=function(Fr){return Ot(Fr),Fr.length?ir(new $e(Fr,z(Fr))):ut(dt)},Dr=He(Jt);Le(Dr,nt,br)});return or.catch(function(ut){return ut}),or}var cr=pt.firstFields===!0?Object.keys(Jt):pt.firstFields||[],Ar=Object.keys(Jt),Ir=Ar.length,Ze=0,Je=[],Ee=new Promise(function(ut,ir){var br=function(wr){if(Je.push.apply(Je,wr),Ze++,Ze===Ir)return Ot(Je),Je.length?ir(new $e(Je,z(Je))):ut(dt)};Ar.length||(Ot(Je),ut(dt)),Ar.forEach(function(Dr){var wr=Jt[Dr];cr.indexOf(Dr)!==-1?Le(wr,nt,br):Oe(wr,nt,br)})});return Ee.catch(function(ut){return ut}),Ee}function yt(Jt){return!!(Jt&&Jt.message!==void 0)}function It(Jt,pt){for(var nt=Jt,Ot=0;Ot<pt.length;Ot++){if(nt==null)return nt;nt=nt[pt[Ot]]}return nt}function rr(Jt,pt){return function(nt){var Ot;return Jt.fullFields?Ot=It(pt,Jt.fullFields):Ot=pt[nt.field||Jt.fullField],yt(nt)?(nt.field=nt.field||Jt.fullField,nt.fieldValue=Ot,nt):{message:typeof nt=="function"?nt():nt,fieldValue:Ot,field:nt.field||Jt.fullField}}}function Yt(Jt,pt){if(pt){for(var nt in pt)if(pt.hasOwnProperty(nt)){var Ot=pt[nt];typeof Ot=="object"&&typeof Jt[nt]=="object"?Jt[nt]=ne({},Jt[nt],Ot):Jt[nt]=Ot}}return Jt}var lr=function(pt,nt,Ot,dt,or,cr){pt.required&&(!Ot.hasOwnProperty(pt.field)||_e(nt,cr||pt.type))&&dt.push($(or.messages.required,pt.fullField))},Ve=function(pt,nt,Ot,dt,or){(/^\s+$/.test(nt)||nt==="")&&dt.push($(or.messages.whitespace,pt.fullField))},Ct,Ut=function(){if(Ct)return Ct;var Jt="[a-fA-F\\d:]",pt=function(sn){return sn&&sn.includeBoundaries?"(?:(?<=\\s|^)(?="+Jt+")|(?<="+Jt+")(?=\\s|$))":""},nt="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Ot="[a-fA-F\\d]{1,4}",dt=(`
(?:
(?:`+Ot+":){7}(?:"+Ot+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
(?:`+Ot+":){6}(?:"+nt+"|:"+Ot+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
(?:`+Ot+":){5}(?::"+nt+"|(?::"+Ot+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
(?:`+Ot+":){4}(?:(?::"+Ot+"){0,1}:"+nt+"|(?::"+Ot+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
(?:`+Ot+":){3}(?:(?::"+Ot+"){0,2}:"+nt+"|(?::"+Ot+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
(?:`+Ot+":){2}(?:(?::"+Ot+"){0,3}:"+nt+"|(?::"+Ot+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
(?:`+Ot+":){1}(?:(?::"+Ot+"){0,4}:"+nt+"|(?::"+Ot+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
(?::(?:(?::`+Ot+"){0,5}:"+nt+"|(?::"+Ot+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),or=new RegExp("(?:^"+nt+"$)|(?:^"+dt+"$)"),cr=new RegExp("^"+nt+"$"),Ar=new RegExp("^"+dt+"$"),Ir=function(sn){return sn&&sn.exact?or:new RegExp("(?:"+pt(sn)+nt+pt(sn)+")|(?:"+pt(sn)+dt+pt(sn)+")","g")};Ir.v4=function(Tr){return Tr&&Tr.exact?cr:new RegExp(""+pt(Tr)+nt+pt(Tr),"g")},Ir.v6=function(Tr){return Tr&&Tr.exact?Ar:new RegExp(""+pt(Tr)+dt+pt(Tr),"g")};var Ze="(?:(?:[a-z]+:)?//)",Je="(?:\\S+(?::\\S*)?@)?",Ee=Ir.v4().source,ut=Ir.v6().source,ir="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",br="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Dr="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",wr="(?::\\d{2,5})?",Fr='(?:[/?#][^\\s"]*)?',hn="(?:"+Ze+"|www\\.)"+Je+"(?:localhost|"+Ee+"|"+ut+"|"+ir+br+Dr+")"+wr+Fr;return Ct=new RegExp("(?:^"+hn+"$)","i"),Ct},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},xt={integer:function(pt){return xt.number(pt)&&parseInt(pt,10)===pt},float:function(pt){return xt.number(pt)&&!xt.integer(pt)},array:function(pt){return Array.isArray(pt)},regexp:function(pt){if(pt instanceof RegExp)return!0;try{return!!new RegExp(pt)}catch(nt){return!1}},date:function(pt){return typeof pt.getTime=="function"&&typeof pt.getMonth=="function"&&typeof pt.getYear=="function"&&!isNaN(pt.getTime())},number:function(pt){return isNaN(pt)?!1:typeof pt=="number"},object:function(pt){return typeof pt=="object"&&!xt.array(pt)},method:function(pt){return typeof pt=="function"},email:function(pt){return typeof pt=="string"&&pt.length<=320&&!!pt.match(st.email)},url:function(pt){return typeof pt=="string"&&pt.length<=2048&&!!pt.match(Ut())},hex:function(pt){return typeof pt=="string"&&!!pt.match(st.hex)}},ht=function(pt,nt,Ot,dt,or){if(pt.required&&nt===void 0){lr(pt,nt,Ot,dt,or);return}var cr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Ar=pt.type;cr.indexOf(Ar)>-1?xt[Ar](nt)||dt.push($(or.messages.types[Ar],pt.fullField,pt.type)):Ar&&typeof nt!==pt.type&&dt.push($(or.messages.types[Ar],pt.fullField,pt.type))},rt=function(pt,nt,Ot,dt,or){var cr=typeof pt.len=="number",Ar=typeof pt.min=="number",Ir=typeof pt.max=="number",Ze=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Je=nt,Ee=null,ut=typeof nt=="number",ir=typeof nt=="string",br=Array.isArray(nt);if(ut?Ee="number":ir?Ee="string":br&&(Ee="array"),!Ee)return!1;br&&(Je=nt.length),ir&&(Je=nt.replace(Ze,"_").length),cr?Je!==pt.len&&dt.push($(or.messages[Ee].len,pt.fullField,pt.len)):Ar&&!Ir&&Je<pt.min?dt.push($(or.messages[Ee].min,pt.fullField,pt.min)):Ir&&!Ar&&Je>pt.max?dt.push($(or.messages[Ee].max,pt.fullField,pt.max)):Ar&&Ir&&(Je<pt.min||Je>pt.max)&&dt.push($(or.messages[Ee].range,pt.fullField,pt.min,pt.max))},Ue="enum",ye=function(pt,nt,Ot,dt,or){pt[Ue]=Array.isArray(pt[Ue])?pt[Ue]:[],pt[Ue].indexOf(nt)===-1&&dt.push($(or.messages[Ue],pt.fullField,pt[Ue].join(", ")))},Ce=function(pt,nt,Ot,dt,or){if(pt.pattern){if(pt.pattern instanceof RegExp)pt.pattern.lastIndex=0,pt.pattern.test(nt)||dt.push($(or.messages.pattern.mismatch,pt.fullField,nt,pt.pattern));else if(typeof pt.pattern=="string"){var cr=new RegExp(pt.pattern);cr.test(nt)||dt.push($(or.messages.pattern.mismatch,pt.fullField,nt,pt.pattern))}}},Fe={required:lr,whitespace:Ve,type:ht,range:rt,enum:ye,pattern:Ce},je=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt,"string")&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or,"string"),_e(nt,"string")||(Fe.type(pt,nt,dt,cr,or),Fe.range(pt,nt,dt,cr,or),Fe.pattern(pt,nt,dt,cr,or),pt.whitespace===!0&&Fe.whitespace(pt,nt,dt,cr,or))}Ot(cr)},Ge=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt)&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or),nt!==void 0&&Fe.type(pt,nt,dt,cr,or)}Ot(cr)},it=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(nt===""&&(nt=void 0),_e(nt)&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or),nt!==void 0&&(Fe.type(pt,nt,dt,cr,or),Fe.range(pt,nt,dt,cr,or))}Ot(cr)},ct=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt)&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or),nt!==void 0&&Fe.type(pt,nt,dt,cr,or)}Ot(cr)},Gt=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt)&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or),_e(nt)||Fe.type(pt,nt,dt,cr,or)}Ot(cr)},Ht=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt)&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or),nt!==void 0&&(Fe.type(pt,nt,dt,cr,or),Fe.range(pt,nt,dt,cr,or))}Ot(cr)},Pe=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt)&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or),nt!==void 0&&(Fe.type(pt,nt,dt,cr,or),Fe.range(pt,nt,dt,cr,or))}Ot(cr)},tt=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(nt==null&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or,"array"),nt!=null&&(Fe.type(pt,nt,dt,cr,or),Fe.range(pt,nt,dt,cr,or))}Ot(cr)},Vt=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt)&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or),nt!==void 0&&Fe.type(pt,nt,dt,cr,or)}Ot(cr)},kt="enum",Zt=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt)&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or),nt!==void 0&&Fe[kt](pt,nt,dt,cr,or)}Ot(cr)},Nt=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt,"string")&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or),_e(nt,"string")||Fe.pattern(pt,nt,dt,cr,or)}Ot(cr)},At=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt,"date")&&!pt.required)return Ot();if(Fe.required(pt,nt,dt,cr,or),!_e(nt,"date")){var Ir;nt instanceof Date?Ir=nt:Ir=new Date(nt),Fe.type(pt,Ir,dt,cr,or),Ir&&Fe.range(pt,Ir.getTime(),dt,cr,or)}}Ot(cr)},qt=function(pt,nt,Ot,dt,or){var cr=[],Ar=Array.isArray(nt)?"array":typeof nt;Fe.required(pt,nt,dt,cr,or,Ar),Ot(cr)},Ke=function(pt,nt,Ot,dt,or){var cr=pt.type,Ar=[],Ir=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ir){if(_e(nt,cr)&&!pt.required)return Ot();Fe.required(pt,nt,dt,Ar,or,cr),_e(nt,cr)||Fe.type(pt,nt,dt,Ar,or)}Ot(Ar)},fe=function(pt,nt,Ot,dt,or){var cr=[],Ar=pt.required||!pt.required&&dt.hasOwnProperty(pt.field);if(Ar){if(_e(nt)&&!pt.required)return Ot();Fe.required(pt,nt,dt,cr,or)}Ot(cr)},pe={string:je,method:Ge,number:it,boolean:ct,regexp:Gt,integer:Ht,float:Pe,array:tt,object:Vt,enum:Zt,pattern:Nt,date:At,url:Ke,hex:Ke,email:Ke,required:qt,any:fe};function Dt(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var pt=JSON.parse(JSON.stringify(this));return pt.clone=this.clone,pt}}}var De=Dt(),ft=function(){function Jt(nt){this.rules=null,this._messages=De,this.define(nt)}var pt=Jt.prototype;return pt.define=function(Ot){var dt=this;if(!Ot)throw new Error("Cannot configure a schema with no rules");if(typeof Ot!="object"||Array.isArray(Ot))throw new Error("Rules must be an object");this.rules={},Object.keys(Ot).forEach(function(or){var cr=Ot[or];dt.rules[or]=Array.isArray(cr)?cr:[cr]})},pt.messages=function(Ot){return Ot&&(this._messages=Yt(Dt(),Ot)),this._messages},pt.validate=function(Ot,dt,or){var cr=this;dt===void 0&&(dt={}),or===void 0&&(or=function(){});var Ar=Ot,Ir=dt,Ze=or;if(typeof Ir=="function"&&(Ze=Ir,Ir={}),!this.rules||Object.keys(this.rules).length===0)return Ze&&Ze(null,Ar),Promise.resolve(Ar);function Je(Dr){var wr=[],Fr={};function hn(sn){if(Array.isArray(sn)){var Xr;wr=(Xr=wr).concat.apply(Xr,sn)}else wr.push(sn)}for(var Tr=0;Tr<Dr.length;Tr++)hn(Dr[Tr]);wr.length?(Fr=z(wr),Ze(wr,Fr)):Ze(null,Ar)}if(Ir.messages){var Ee=this.messages();Ee===De&&(Ee=Dt()),Yt(Ee,Ir.messages),Ir.messages=Ee}else Ir.messages=this.messages();var ut={},ir=Ir.keys||Object.keys(this.rules);ir.forEach(function(Dr){var wr=cr.rules[Dr],Fr=Ar[Dr];wr.forEach(function(hn){var Tr=hn;typeof Tr.transform=="function"&&(Ar===Ot&&(Ar=ne({},Ar)),Fr=Ar[Dr]=Tr.transform(Fr)),typeof Tr=="function"?Tr={validator:Tr}:Tr=ne({},Tr),Tr.validator=cr.getValidationMethod(Tr),Tr.validator&&(Tr.field=Dr,Tr.fullField=Tr.fullField||Dr,Tr.type=cr.getType(Tr),ut[Dr]=ut[Dr]||[],ut[Dr].push({rule:Tr,value:Fr,source:Ar,field:Dr}))})});var br={};return Bt(ut,Ir,function(Dr,wr){var Fr=Dr.rule,hn=(Fr.type==="object"||Fr.type==="array")&&(typeof Fr.fields=="object"||typeof Fr.defaultField=="object");hn=hn&&(Fr.required||!Fr.required&&Dr.value),Fr.field=Dr.field;function Tr(nn,gn){return ne({},gn,{fullField:Fr.fullField+"."+nn,fullFields:Fr.fullFields?[].concat(Fr.fullFields,[nn]):[nn]})}function sn(nn){nn===void 0&&(nn=[]);var gn=Array.isArray(nn)?nn:[nn];!Ir.suppressWarning&&gn.length&&Jt.warning("async-validator:",gn),gn.length&&Fr.message!==void 0&&(gn=[].concat(Fr.message));var da=gn.map(rr(Fr,Ar));if(Ir.first&&da.length)return br[Fr.field]=1,wr(da);if(!hn)wr(da);else{if(Fr.required&&!Dr.value)return Fr.message!==void 0?da=[].concat(Fr.message).map(rr(Fr,Ar)):Ir.error&&(da=[Ir.error(Fr,$(Ir.messages.required,Fr.field))]),wr(da);var mi={};Fr.defaultField&&Object.keys(Dr.value).map(function(Pi){mi[Pi]=Fr.defaultField}),mi=ne({},mi,Dr.rule.fields);var ci={};Object.keys(mi).forEach(function(Pi){var Oi=mi[Pi],aa=Array.isArray(Oi)?Oi:[Oi];ci[Pi]=aa.map(Tr.bind(null,Pi))});var Cn=new Jt(ci);Cn.messages(Ir.messages),Dr.rule.options&&(Dr.rule.options.messages=Ir.messages,Dr.rule.options.error=Ir.error),Cn.validate(Dr.value,Dr.rule.options||Ir,function(Pi){var Oi=[];da&&da.length&&Oi.push.apply(Oi,da),Pi&&Pi.length&&Oi.push.apply(Oi,Pi),wr(Oi.length?Oi:null)})}}var Xr;if(Fr.asyncValidator)Xr=Fr.asyncValidator(Fr,Dr.value,sn,Dr.source,Ir);else if(Fr.validator){try{Xr=Fr.validator(Fr,Dr.value,sn,Dr.source,Ir)}catch(nn){console.error==null||console.error(nn),Ir.suppressValidatorError||setTimeout(function(){throw nn},0),sn(nn.message)}Xr===!0?sn():Xr===!1?sn(typeof Fr.message=="function"?Fr.message(Fr.fullField||Fr.field):Fr.message||(Fr.fullField||Fr.field)+" fails"):Xr instanceof Array?sn(Xr):Xr instanceof Error&&sn(Xr.message)}Xr&&Xr.then&&Xr.then(function(){return sn()},function(nn){return sn(nn)})},function(Dr){Je(Dr)},Ar)},pt.getType=function(Ot){if(Ot.type===void 0&&Ot.pattern instanceof RegExp&&(Ot.type="pattern"),typeof Ot.validator!="function"&&Ot.type&&!pe.hasOwnProperty(Ot.type))throw new Error($("Unknown rule type %s",Ot.type));return Ot.type||"string"},pt.getValidationMethod=function(Ot){if(typeof Ot.validator=="function")return Ot.validator;var dt=Object.keys(Ot),or=dt.indexOf("message");return or!==-1&&dt.splice(or,1),dt.length===1&&dt[0]==="required"?pe.required:pe[this.getType(Ot)]||void 0},Jt}();ft.register=function(pt,nt){if(typeof nt!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[pt]=nt},ft.warning=ce,ft.messages=De,ft.validators=pe;var zt="'${name}' is not a valid ${type}",Et={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}"}},Re=e(24434),wt=ft;function xe(Jt,pt){return Jt.replace(/\$\{\w+\}/g,function(nt){var Ot=nt.slice(2,-1);return pt[Ot]})}var qe="CODE_LOGIC_ERROR";function vt(Jt,pt,nt,Ot,dt){return Ft.apply(this,arguments)}function Ft(){return Ft=(0,f.Z)((0,c.Z)().mark(function Jt(pt,nt,Ot,dt,or){var cr,Ar,Ir,Ze,Je,Ee,ut,ir,br;return(0,c.Z)().wrap(function(wr){for(;;)switch(wr.prev=wr.next){case 0:return cr=(0,o.Z)({},Ot),delete cr.ruleIndex,wt.warning=function(){},cr.validator&&(Ar=cr.validator,cr.validator=function(){try{return Ar.apply(void 0,arguments)}catch(Fr){return console.error(Fr),Promise.reject(qe)}}),Ir=null,cr&&cr.type==="array"&&cr.defaultField&&(Ir=cr.defaultField,delete cr.defaultField),Ze=new wt((0,_.Z)({},pt,[cr])),Je=(0,Re.T)(Et,dt.validateMessages),Ze.messages(Je),Ee=[],wr.prev=10,wr.next=13,Promise.resolve(Ze.validate((0,_.Z)({},pt,nt),(0,o.Z)({},dt)));case 13:wr.next=18;break;case 15:wr.prev=15,wr.t0=wr.catch(10),wr.t0.errors&&(Ee=wr.t0.errors.map(function(Fr,hn){var Tr=Fr.message,sn=Tr===qe?Je.default:Tr;return r.isValidElement(sn)?r.cloneElement(sn,{key:"error_".concat(hn)}):sn}));case 18:if(!(!Ee.length&&Ir)){wr.next=23;break}return wr.next=21,Promise.all(nt.map(function(Fr,hn){return vt("".concat(pt,".").concat(hn),Fr,Ir,dt,or)}));case 21:return ut=wr.sent,wr.abrupt("return",ut.reduce(function(Fr,hn){return[].concat((0,h.Z)(Fr),(0,h.Z)(hn))},[]));case 23:return ir=(0,o.Z)((0,o.Z)({},Ot),{},{name:pt,enum:(Ot.enum||[]).join(", ")},or),br=Ee.map(function(Fr){return typeof Fr=="string"?xe(Fr,ir):Fr}),wr.abrupt("return",br);case 26:case"end":return wr.stop()}},Jt,null,[[10,15]])})),Ft.apply(this,arguments)}function Be(Jt,pt,nt,Ot,dt,or){var cr=Jt.join("."),Ar=nt.map(function(Je,Ee){var ut=Je.validator,ir=(0,o.Z)((0,o.Z)({},Je),{},{ruleIndex:Ee});return ut&&(ir.validator=function(br,Dr,wr){var Fr=!1,hn=function(){for(var Xr=arguments.length,nn=new Array(Xr),gn=0;gn<Xr;gn++)nn[gn]=arguments[gn];Promise.resolve().then(function(){(0,k.ZP)(!Fr,"Your validator function has already return a promise. `callback` will be ignored."),Fr||wr.apply(void 0,nn)})},Tr=ut(br,Dr,hn);Fr=Tr&&typeof Tr.then=="function"&&typeof Tr.catch=="function",(0,k.ZP)(Fr,"`callback` is deprecated. Please return a promise instead."),Fr&&Tr.then(function(){wr()}).catch(function(sn){wr(sn||" ")})}),ir}).sort(function(Je,Ee){var ut=Je.warningOnly,ir=Je.ruleIndex,br=Ee.warningOnly,Dr=Ee.ruleIndex;return!!ut==!!br?ir-Dr:ut?1:-1}),Ir;if(dt===!0)Ir=new Promise(function(){var Je=(0,f.Z)((0,c.Z)().mark(function Ee(ut,ir){var br,Dr,wr;return(0,c.Z)().wrap(function(hn){for(;;)switch(hn.prev=hn.next){case 0:br=0;case 1:if(!(br<Ar.length)){hn.next=12;break}return Dr=Ar[br],hn.next=5,vt(cr,pt,Dr,Ot,or);case 5:if(wr=hn.sent,!wr.length){hn.next=9;break}return ir([{errors:wr,rule:Dr}]),hn.abrupt("return");case 9:br+=1,hn.next=1;break;case 12:ut([]);case 13:case"end":return hn.stop()}},Ee)}));return function(Ee,ut){return Je.apply(this,arguments)}}());else{var Ze=Ar.map(function(Je){return vt(cr,pt,Je,Ot,or).then(function(Ee){return{errors:Ee,rule:Je}})});Ir=(dt?Zr(Ze):Pr(Ze)).then(function(Je){return Promise.reject(Je)})}return Ir.catch(function(Je){return Je}),Ir}function Pr(Jt){return St.apply(this,arguments)}function St(){return St=(0,f.Z)((0,c.Z)().mark(function Jt(pt){return(0,c.Z)().wrap(function(Ot){for(;;)switch(Ot.prev=Ot.next){case 0:return Ot.abrupt("return",Promise.all(pt).then(function(dt){var or,cr=(or=[]).concat.apply(or,(0,h.Z)(dt));return cr}));case 1:case"end":return Ot.stop()}},Jt)})),St.apply(this,arguments)}function Zr(Jt){return Vr.apply(this,arguments)}function Vr(){return Vr=(0,f.Z)((0,c.Z)().mark(function Jt(pt){var nt;return(0,c.Z)().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return nt=0,dt.abrupt("return",new Promise(function(or){pt.forEach(function(cr){cr.then(function(Ar){Ar.errors.length&&or([Ar]),nt+=1,nt===pt.length&&or([])})})}));case 2:case"end":return dt.stop()}},Jt)})),Vr.apply(this,arguments)}var xr=e(26420),Br=e(97938);function pr(Jt){return K(Jt)}function $r(Jt,pt){var nt={};return pt.forEach(function(Ot){var dt=(0,Br.Z)(Jt,Ot);nt=(0,Re.Z)(nt,Ot,dt)}),nt}function en(Jt,pt){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Jt&&Jt.some(function(Ot){return an(pt,Ot,nt)})}function an(Jt,pt){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!Jt||!pt||!nt&&Jt.length!==pt.length?!1:pt.every(function(Ot,dt){return Jt[dt]===Ot})}function sr(Jt,pt){if(Jt===pt)return!0;if(!Jt&&pt||Jt&&!pt||!Jt||!pt||(0,xr.Z)(Jt)!=="object"||(0,xr.Z)(pt)!=="object")return!1;var nt=Object.keys(Jt),Ot=Object.keys(pt),dt=new Set([].concat(nt,Ot));return(0,h.Z)(dt).every(function(or){var cr=Jt[or],Ar=pt[or];return typeof cr=="function"&&typeof Ar=="function"?!0:cr===Ar})}function Rt(Jt){var pt=arguments.length<=1?void 0:arguments[1];return pt&&pt.target&&(0,xr.Z)(pt.target)==="object"&&Jt in pt.target?pt.target[Jt]:pt}function mt(Jt,pt,nt){var Ot=Jt.length;if(pt<0||pt>=Ot||nt<0||nt>=Ot)return Jt;var dt=Jt[pt],or=pt-nt;return or>0?[].concat((0,h.Z)(Jt.slice(0,nt)),[dt],(0,h.Z)(Jt.slice(nt,pt)),(0,h.Z)(Jt.slice(pt+1,Ot))):or<0?[].concat((0,h.Z)(Jt.slice(0,pt)),(0,h.Z)(Jt.slice(pt+1,nt+1)),[dt],(0,h.Z)(Jt.slice(nt+1,Ot))):Jt}var gt=["name"],$t=[];function Er(Jt,pt,nt,Ot,dt,or){return typeof Jt=="function"?Jt(pt,nt,"source"in or?{source:or.source}:{}):Ot!==dt}var vr=function(Jt){(0,p.Z)(nt,Jt);var pt=(0,y.Z)(nt);function nt(Ot){var dt;if((0,u.Z)(this,nt),dt=pt.call(this,Ot),(0,_.Z)((0,x.Z)(dt),"state",{resetCount:0}),(0,_.Z)((0,x.Z)(dt),"cancelRegisterFunc",null),(0,_.Z)((0,x.Z)(dt),"mounted",!1),(0,_.Z)((0,x.Z)(dt),"touched",!1),(0,_.Z)((0,x.Z)(dt),"dirty",!1),(0,_.Z)((0,x.Z)(dt),"validatePromise",void 0),(0,_.Z)((0,x.Z)(dt),"prevValidating",void 0),(0,_.Z)((0,x.Z)(dt),"errors",$t),(0,_.Z)((0,x.Z)(dt),"warnings",$t),(0,_.Z)((0,x.Z)(dt),"cancelRegister",function(){var Ir=dt.props,Ze=Ir.preserve,Je=Ir.isListField,Ee=Ir.name;dt.cancelRegisterFunc&&dt.cancelRegisterFunc(Je,Ze,pr(Ee)),dt.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(dt),"getNamePath",function(){var Ir=dt.props,Ze=Ir.name,Je=Ir.fieldContext,Ee=Je.prefixName,ut=Ee===void 0?[]:Ee;return Ze!==void 0?[].concat((0,h.Z)(ut),(0,h.Z)(Ze)):[]}),(0,_.Z)((0,x.Z)(dt),"getRules",function(){var Ir=dt.props,Ze=Ir.rules,Je=Ze===void 0?[]:Ze,Ee=Ir.fieldContext;return Je.map(function(ut){return typeof ut=="function"?ut(Ee):ut})}),(0,_.Z)((0,x.Z)(dt),"refresh",function(){dt.mounted&&dt.setState(function(Ir){var Ze=Ir.resetCount;return{resetCount:Ze+1}})}),(0,_.Z)((0,x.Z)(dt),"metaCache",null),(0,_.Z)((0,x.Z)(dt),"triggerMetaEvent",function(Ir){var Ze=dt.props.onMetaChange;if(Ze){var Je=(0,o.Z)((0,o.Z)({},dt.getMeta()),{},{destroy:Ir});(0,A.Z)(dt.metaCache,Je)||Ze(Je),dt.metaCache=Je}else dt.metaCache=null}),(0,_.Z)((0,x.Z)(dt),"onStoreChange",function(Ir,Ze,Je){var Ee=dt.props,ut=Ee.shouldUpdate,ir=Ee.dependencies,br=ir===void 0?[]:ir,Dr=Ee.onReset,wr=Je.store,Fr=dt.getNamePath(),hn=dt.getValue(Ir),Tr=dt.getValue(wr),sn=Ze&&en(Ze,Fr);switch(Je.type==="valueUpdate"&&Je.source==="external"&&hn!==Tr&&(dt.touched=!0,dt.dirty=!0,dt.validatePromise=null,dt.errors=$t,dt.warnings=$t,dt.triggerMetaEvent()),Je.type){case"reset":if(!Ze||sn){dt.touched=!1,dt.dirty=!1,dt.validatePromise=void 0,dt.errors=$t,dt.warnings=$t,dt.triggerMetaEvent(),Dr==null||Dr(),dt.refresh();return}break;case"remove":{if(ut){dt.reRender();return}break}case"setField":{var Xr=Je.data;if(sn){"touched"in Xr&&(dt.touched=Xr.touched),"validating"in Xr&&!("originRCField"in Xr)&&(dt.validatePromise=Xr.validating?Promise.resolve([]):null),"errors"in Xr&&(dt.errors=Xr.errors||$t),"warnings"in Xr&&(dt.warnings=Xr.warnings||$t),dt.dirty=!0,dt.triggerMetaEvent(),dt.reRender();return}else if("value"in Xr&&en(Ze,Fr,!0)){dt.reRender();return}if(ut&&!Fr.length&&Er(ut,Ir,wr,hn,Tr,Je)){dt.reRender();return}break}case"dependenciesUpdate":{var nn=br.map(pr);if(nn.some(function(gn){return en(Je.relatedFields,gn)})){dt.reRender();return}break}default:if(sn||(!br.length||Fr.length||ut)&&Er(ut,Ir,wr,hn,Tr,Je)){dt.reRender();return}break}ut===!0&&dt.reRender()}),(0,_.Z)((0,x.Z)(dt),"validateRules",function(Ir){var Ze=dt.getNamePath(),Je=dt.getValue(),Ee=Ir||{},ut=Ee.triggerName,ir=Ee.validateOnly,br=ir===void 0?!1:ir,Dr=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function wr(){var Fr,hn,Tr,sn,Xr,nn,gn;return(0,c.Z)().wrap(function(mi){for(;;)switch(mi.prev=mi.next){case 0:if(dt.mounted){mi.next=2;break}return mi.abrupt("return",[]);case 2:if(Fr=dt.props,hn=Fr.validateFirst,Tr=hn===void 0?!1:hn,sn=Fr.messageVariables,Xr=Fr.validateDebounce,nn=dt.getRules(),ut&&(nn=nn.filter(function(ci){return ci}).filter(function(ci){var Cn=ci.validateTrigger;if(!Cn)return!0;var Pi=K(Cn);return Pi.includes(ut)})),!(Xr&&ut)){mi.next=10;break}return mi.next=8,new Promise(function(ci){setTimeout(ci,Xr)});case 8:if(dt.validatePromise===Dr){mi.next=10;break}return mi.abrupt("return",[]);case 10:return gn=Be(Ze,Je,nn,Ir,Tr,sn),gn.catch(function(ci){return ci}).then(function(){var ci=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$t;if(dt.validatePromise===Dr){var Cn;dt.validatePromise=null;var Pi=[],Oi=[];(Cn=ci.forEach)===null||Cn===void 0||Cn.call(ci,function(aa){var Cs=aa.rule.warningOnly,na=aa.errors,vs=na===void 0?$t:na;Cs?Oi.push.apply(Oi,(0,h.Z)(vs)):Pi.push.apply(Pi,(0,h.Z)(vs))}),dt.errors=Pi,dt.warnings=Oi,dt.triggerMetaEvent(),dt.reRender()}}),mi.abrupt("return",gn);case 13:case"end":return mi.stop()}},wr)})));return br||(dt.validatePromise=Dr,dt.dirty=!0,dt.errors=$t,dt.warnings=$t,dt.triggerMetaEvent(),dt.reRender()),Dr}),(0,_.Z)((0,x.Z)(dt),"isFieldValidating",function(){return!!dt.validatePromise}),(0,_.Z)((0,x.Z)(dt),"isFieldTouched",function(){return dt.touched}),(0,_.Z)((0,x.Z)(dt),"isFieldDirty",function(){if(dt.dirty||dt.props.initialValue!==void 0)return!0;var Ir=dt.props.fieldContext,Ze=Ir.getInternalHooks(L),Je=Ze.getInitialValue;return Je(dt.getNamePath())!==void 0}),(0,_.Z)((0,x.Z)(dt),"getErrors",function(){return dt.errors}),(0,_.Z)((0,x.Z)(dt),"getWarnings",function(){return dt.warnings}),(0,_.Z)((0,x.Z)(dt),"isListField",function(){return dt.props.isListField}),(0,_.Z)((0,x.Z)(dt),"isList",function(){return dt.props.isList}),(0,_.Z)((0,x.Z)(dt),"isPreserve",function(){return dt.props.preserve}),(0,_.Z)((0,x.Z)(dt),"getMeta",function(){dt.prevValidating=dt.isFieldValidating();var Ir={touched:dt.isFieldTouched(),validating:dt.prevValidating,errors:dt.errors,warnings:dt.warnings,name:dt.getNamePath(),validated:dt.validatePromise===null};return Ir}),(0,_.Z)((0,x.Z)(dt),"getOnlyChild",function(Ir){if(typeof Ir=="function"){var Ze=dt.getMeta();return(0,o.Z)((0,o.Z)({},dt.getOnlyChild(Ir(dt.getControlled(),Ze,dt.props.fieldContext))),{},{isFunction:!0})}var Je=(0,b.Z)(Ir);return Je.length!==1||!r.isValidElement(Je[0])?{child:Je,isFunction:!1}:{child:Je[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(dt),"getValue",function(Ir){var Ze=dt.props.fieldContext.getFieldsValue,Je=dt.getNamePath();return(0,Br.Z)(Ir||Ze(!0),Je)}),(0,_.Z)((0,x.Z)(dt),"getControlled",function(){var Ir=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ze=dt.props,Je=Ze.trigger,Ee=Ze.validateTrigger,ut=Ze.getValueFromEvent,ir=Ze.normalize,br=Ze.valuePropName,Dr=Ze.getValueProps,wr=Ze.fieldContext,Fr=Ee!==void 0?Ee:wr.validateTrigger,hn=dt.getNamePath(),Tr=wr.getInternalHooks,sn=wr.getFieldsValue,Xr=Tr(L),nn=Xr.dispatch,gn=dt.getValue(),da=Dr||function(Pi){return(0,_.Z)({},br,Pi)},mi=Ir[Je],ci=(0,o.Z)((0,o.Z)({},Ir),da(gn));ci[Je]=function(){dt.touched=!0,dt.dirty=!0,dt.triggerMetaEvent();for(var Pi,Oi=arguments.length,aa=new Array(Oi),Cs=0;Cs<Oi;Cs++)aa[Cs]=arguments[Cs];ut?Pi=ut.apply(void 0,aa):Pi=Rt.apply(void 0,[br].concat(aa)),ir&&(Pi=ir(Pi,gn,sn(!0))),nn({type:"updateValue",namePath:hn,value:Pi}),mi&&mi.apply(void 0,aa)};var Cn=K(Fr||[]);return Cn.forEach(function(Pi){var Oi=ci[Pi];ci[Pi]=function(){Oi&&Oi.apply(void 0,arguments);var aa=dt.props.rules;aa&&aa.length&&nn({type:"validateField",namePath:hn,triggerName:Pi})}}),ci}),Ot.fieldContext){var or=Ot.fieldContext.getInternalHooks,cr=or(L),Ar=cr.initEntityValue;Ar((0,x.Z)(dt))}return dt}return(0,a.Z)(nt,[{key:"componentDidMount",value:function(){var dt=this.props,or=dt.shouldUpdate,cr=dt.fieldContext;if(this.mounted=!0,cr){var Ar=cr.getInternalHooks,Ir=Ar(L),Ze=Ir.registerField;this.cancelRegisterFunc=Ze(this)}or===!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 dt=this.state.resetCount,or=this.props.children,cr=this.getOnlyChild(or),Ar=cr.child,Ir=cr.isFunction,Ze;return Ir?Ze=Ar:r.isValidElement(Ar)?Ze=r.cloneElement(Ar,this.getControlled(Ar.props)):((0,k.ZP)(!Ar,"`children` of Field is not validate ReactElement."),Ze=Ar),r.createElement(r.Fragment,{key:dt},Ze)}}]),nt}(r.Component);(0,_.Z)(vr,"contextType",M),(0,_.Z)(vr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function ot(Jt){var pt=Jt.name,nt=(0,l.Z)(Jt,gt),Ot=r.useContext(M),dt=r.useContext(N),or=pt!==void 0?pr(pt):void 0,cr="keep";return nt.isListField||(cr="_".concat((or||[]).join("_"))),r.createElement(vr,(0,i.Z)({key:cr,name:or,isListField:!!dt},nt,{fieldContext:Ot}))}var Mr=ot;function dn(Jt){var pt=Jt.name,nt=Jt.initialValue,Ot=Jt.children,dt=Jt.rules,or=Jt.validateTrigger,cr=Jt.isListField,Ar=r.useContext(M),Ir=r.useContext(N),Ze=r.useRef({keys:[],id:0}),Je=Ze.current,Ee=r.useMemo(function(){var Dr=pr(Ar.prefixName)||[];return[].concat((0,h.Z)(Dr),(0,h.Z)(pr(pt)))},[Ar.prefixName,pt]),ut=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},Ar),{},{prefixName:Ee})},[Ar,Ee]),ir=r.useMemo(function(){return{getKey:function(wr){var Fr=Ee.length,hn=wr[Fr];return[Je.keys[hn],wr.slice(Fr+1)]}}},[Ee]);if(typeof Ot!="function")return(0,k.ZP)(!1,"Form.List only accepts function as children."),null;var br=function(wr,Fr,hn){var Tr=hn.source;return Tr==="internal"?!1:wr!==Fr};return r.createElement(N.Provider,{value:ir},r.createElement(M.Provider,{value:ut},r.createElement(Mr,{name:[],shouldUpdate:br,rules:dt,validateTrigger:or,initialValue:nt,isList:!0,isListField:cr!=null?cr:!!Ir},function(Dr,wr){var Fr=Dr.value,hn=Fr===void 0?[]:Fr,Tr=Dr.onChange,sn=Ar.getFieldValue,Xr=function(){var mi=sn(Ee||[]);return mi||[]},nn={add:function(mi,ci){var Cn=Xr();ci>=0&&ci<=Cn.length?(Je.keys=[].concat((0,h.Z)(Je.keys.slice(0,ci)),[Je.id],(0,h.Z)(Je.keys.slice(ci))),Tr([].concat((0,h.Z)(Cn.slice(0,ci)),[mi],(0,h.Z)(Cn.slice(ci))))):(Je.keys=[].concat((0,h.Z)(Je.keys),[Je.id]),Tr([].concat((0,h.Z)(Cn),[mi]))),Je.id+=1},remove:function(mi){var ci=Xr(),Cn=new Set(Array.isArray(mi)?mi:[mi]);Cn.size<=0||(Je.keys=Je.keys.filter(function(Pi,Oi){return!Cn.has(Oi)}),Tr(ci.filter(function(Pi,Oi){return!Cn.has(Oi)})))},move:function(mi,ci){if(mi!==ci){var Cn=Xr();mi<0||mi>=Cn.length||ci<0||ci>=Cn.length||(Je.keys=mt(Je.keys,mi,ci),Tr(mt(Cn,mi,ci)))}}},gn=hn||[];return Array.isArray(gn)||(gn=[]),Ot(gn.map(function(da,mi){var ci=Je.keys[mi];return ci===void 0&&(Je.keys[mi]=Je.id,ci=Je.keys[mi],Je.id+=1),{name:mi,key:ci,isListField:!0}}),nn,wr)})))}var jn=dn,_r=e(16886);function qr(Jt){var pt=!1,nt=Jt.length,Ot=[];return Jt.length?new Promise(function(dt,or){Jt.forEach(function(cr,Ar){cr.catch(function(Ir){return pt=!0,Ir}).then(function(Ir){nt-=1,Ot[Ar]=Ir,!(nt>0)&&(pt&&or(Ot),dt(Ot))})})}):Promise.resolve([])}var ln="__@field_split__";function Ln(Jt){return Jt.map(function(pt){return"".concat((0,xr.Z)(pt),":").concat(pt)}).join(ln)}var Vn=function(){function Jt(){(0,u.Z)(this,Jt),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(Jt,[{key:"set",value:function(nt,Ot){this.kvs.set(Ln(nt),Ot)}},{key:"get",value:function(nt){return this.kvs.get(Ln(nt))}},{key:"update",value:function(nt,Ot){var dt=this.get(nt),or=Ot(dt);or?this.set(nt,or):this.delete(nt)}},{key:"delete",value:function(nt){this.kvs.delete(Ln(nt))}},{key:"map",value:function(nt){return(0,h.Z)(this.kvs.entries()).map(function(Ot){var dt=(0,_r.Z)(Ot,2),or=dt[0],cr=dt[1],Ar=or.split(ln);return nt({key:Ar.map(function(Ir){var Ze=Ir.match(/^([^:]*):(.*)$/),Je=(0,_r.Z)(Ze,3),Ee=Je[1],ut=Je[2];return Ee==="number"?Number(ut):ut}),value:cr})})}},{key:"toJSON",value:function(){var nt={};return this.map(function(Ot){var dt=Ot.key,or=Ot.value;return nt[dt.join(".")]=or,null}),nt}}]),Jt}(),Bn=Vn,Ui=["name"],pi=(0,a.Z)(function Jt(pt){var nt=this;(0,u.Z)(this,Jt),(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:nt.getFieldValue,getFieldsValue:nt.getFieldsValue,getFieldError:nt.getFieldError,getFieldWarning:nt.getFieldWarning,getFieldsError:nt.getFieldsError,isFieldsTouched:nt.isFieldsTouched,isFieldTouched:nt.isFieldTouched,isFieldValidating:nt.isFieldValidating,isFieldsValidating:nt.isFieldsValidating,resetFields:nt.resetFields,setFields:nt.setFields,setFieldValue:nt.setFieldValue,setFieldsValue:nt.setFieldsValue,validateFields:nt.validateFields,submit:nt.submit,_init:!0,getInternalHooks:nt.getInternalHooks}}),(0,_.Z)(this,"getInternalHooks",function(Ot){return Ot===L?(nt.formHooked=!0,{dispatch:nt.dispatch,initEntityValue:nt.initEntityValue,registerField:nt.registerField,useSubscribe:nt.useSubscribe,setInitialValues:nt.setInitialValues,destroyForm:nt.destroyForm,setCallbacks:nt.setCallbacks,setValidateMessages:nt.setValidateMessages,getFields:nt.getFields,setPreserve:nt.setPreserve,getInitialValue:nt.getInitialValue,registerWatch:nt.registerWatch}):((0,k.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,_.Z)(this,"useSubscribe",function(Ot){nt.subscribable=Ot}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(Ot,dt){if(nt.initialValues=Ot||{},dt){var or,cr=(0,Re.T)(Ot,nt.store);(or=nt.prevWithoutPreserves)===null||or===void 0||or.map(function(Ar){var Ir=Ar.key;cr=(0,Re.Z)(cr,Ir,(0,Br.Z)(Ot,Ir))}),nt.prevWithoutPreserves=null,nt.updateStore(cr)}}),(0,_.Z)(this,"destroyForm",function(){var Ot=new Bn;nt.getFieldEntities(!0).forEach(function(dt){nt.isMergedPreserve(dt.isPreserve())||Ot.set(dt.getNamePath(),!0)}),nt.prevWithoutPreserves=Ot}),(0,_.Z)(this,"getInitialValue",function(Ot){var dt=(0,Br.Z)(nt.initialValues,Ot);return Ot.length?(0,Re.T)(dt):dt}),(0,_.Z)(this,"setCallbacks",function(Ot){nt.callbacks=Ot}),(0,_.Z)(this,"setValidateMessages",function(Ot){nt.validateMessages=Ot}),(0,_.Z)(this,"setPreserve",function(Ot){nt.preserve=Ot}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(Ot){return nt.watchList.push(Ot),function(){nt.watchList=nt.watchList.filter(function(dt){return dt!==Ot})}}),(0,_.Z)(this,"notifyWatch",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(nt.watchList.length){var dt=nt.getFieldsValue(),or=nt.getFieldsValue(!0);nt.watchList.forEach(function(cr){cr(dt,or,Ot)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(Ot){nt.store=Ot}),(0,_.Z)(this,"getFieldEntities",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Ot?nt.fieldEntities.filter(function(dt){return dt.getNamePath().length}):nt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,dt=new Bn;return nt.getFieldEntities(Ot).forEach(function(or){var cr=or.getNamePath();dt.set(cr,or)}),dt}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(Ot){if(!Ot)return nt.getFieldEntities(!0);var dt=nt.getFieldsMap(!0);return Ot.map(function(or){var cr=pr(or);return dt.get(cr)||{INVALIDATE_NAME_PATH:pr(or)}})}),(0,_.Z)(this,"getFieldsValue",function(Ot,dt){nt.warningUnhooked();var or,cr,Ar;if(Ot===!0||Array.isArray(Ot)?(or=Ot,cr=dt):Ot&&(0,xr.Z)(Ot)==="object"&&(Ar=Ot.strict,cr=Ot.filter),or===!0&&!cr)return nt.store;var Ir=nt.getFieldEntitiesForNamePathList(Array.isArray(or)?or:null),Ze=[];return Ir.forEach(function(Je){var Ee,ut,ir="INVALIDATE_NAME_PATH"in Je?Je.INVALIDATE_NAME_PATH:Je.getNamePath();if(Ar){var br,Dr;if((br=(Dr=Je).isList)!==null&&br!==void 0&&br.call(Dr))return}else if(!or&&(Ee=(ut=Je).isListField)!==null&&Ee!==void 0&&Ee.call(ut))return;if(!cr)Ze.push(ir);else{var wr="getMeta"in Je?Je.getMeta():null;cr(wr)&&Ze.push(ir)}}),$r(nt.store,Ze.map(pr))}),(0,_.Z)(this,"getFieldValue",function(Ot){nt.warningUnhooked();var dt=pr(Ot);return(0,Br.Z)(nt.store,dt)}),(0,_.Z)(this,"getFieldsError",function(Ot){nt.warningUnhooked();var dt=nt.getFieldEntitiesForNamePathList(Ot);return dt.map(function(or,cr){return or&&!("INVALIDATE_NAME_PATH"in or)?{name:or.getNamePath(),errors:or.getErrors(),warnings:or.getWarnings()}:{name:pr(Ot[cr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(Ot){nt.warningUnhooked();var dt=pr(Ot),or=nt.getFieldsError([dt])[0];return or.errors}),(0,_.Z)(this,"getFieldWarning",function(Ot){nt.warningUnhooked();var dt=pr(Ot),or=nt.getFieldsError([dt])[0];return or.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){nt.warningUnhooked();for(var Ot=arguments.length,dt=new Array(Ot),or=0;or<Ot;or++)dt[or]=arguments[or];var cr=dt[0],Ar=dt[1],Ir,Ze=!1;dt.length===0?Ir=null:dt.length===1?Array.isArray(cr)?(Ir=cr.map(pr),Ze=!1):(Ir=null,Ze=cr):(Ir=cr.map(pr),Ze=Ar);var Je=nt.getFieldEntities(!0),Ee=function(wr){return wr.isFieldTouched()};if(!Ir)return Ze?Je.every(Ee):Je.some(Ee);var ut=new Bn;Ir.forEach(function(Dr){ut.set(Dr,[])}),Je.forEach(function(Dr){var wr=Dr.getNamePath();Ir.forEach(function(Fr){Fr.every(function(hn,Tr){return wr[Tr]===hn})&&ut.update(Fr,function(hn){return[].concat((0,h.Z)(hn),[Dr])})})});var ir=function(wr){return wr.some(Ee)},br=ut.map(function(Dr){var wr=Dr.value;return wr});return Ze?br.every(ir):br.some(ir)}),(0,_.Z)(this,"isFieldTouched",function(Ot){return nt.warningUnhooked(),nt.isFieldsTouched([Ot])}),(0,_.Z)(this,"isFieldsValidating",function(Ot){nt.warningUnhooked();var dt=nt.getFieldEntities();if(!Ot)return dt.some(function(cr){return cr.isFieldValidating()});var or=Ot.map(pr);return dt.some(function(cr){var Ar=cr.getNamePath();return en(or,Ar)&&cr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(Ot){return nt.warningUnhooked(),nt.isFieldsValidating([Ot])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},dt=new Bn,or=nt.getFieldEntities(!0);or.forEach(function(Ir){var Ze=Ir.props.initialValue,Je=Ir.getNamePath();if(Ze!==void 0){var Ee=dt.get(Je)||new Set;Ee.add({entity:Ir,value:Ze}),dt.set(Je,Ee)}});var cr=function(Ze){Ze.forEach(function(Je){var Ee=Je.props.initialValue;if(Ee!==void 0){var ut=Je.getNamePath(),ir=nt.getInitialValue(ut);if(ir!==void 0)(0,k.ZP)(!1,"Form already set 'initialValues' with path '".concat(ut.join("."),"'. Field can not overwrite it."));else{var br=dt.get(ut);if(br&&br.size>1)(0,k.ZP)(!1,"Multiple Field with path '".concat(ut.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(br){var Dr=nt.getFieldValue(ut);(!Ot.skipExist||Dr===void 0)&&nt.updateStore((0,Re.Z)(nt.store,ut,(0,h.Z)(br)[0].value))}}}})},Ar;Ot.entities?Ar=Ot.entities:Ot.namePathList?(Ar=[],Ot.namePathList.forEach(function(Ir){var Ze=dt.get(Ir);if(Ze){var Je;(Je=Ar).push.apply(Je,(0,h.Z)((0,h.Z)(Ze).map(function(Ee){return Ee.entity})))}})):Ar=or,cr(Ar)}),(0,_.Z)(this,"resetFields",function(Ot){nt.warningUnhooked();var dt=nt.store;if(!Ot){nt.updateStore((0,Re.T)(nt.initialValues)),nt.resetWithFieldInitialValue(),nt.notifyObservers(dt,null,{type:"reset"}),nt.notifyWatch();return}var or=Ot.map(pr);or.forEach(function(cr){var Ar=nt.getInitialValue(cr);nt.updateStore((0,Re.Z)(nt.store,cr,Ar))}),nt.resetWithFieldInitialValue({namePathList:or}),nt.notifyObservers(dt,or,{type:"reset"}),nt.notifyWatch(or)}),(0,_.Z)(this,"setFields",function(Ot){nt.warningUnhooked();var dt=nt.store,or=[];Ot.forEach(function(cr){var Ar=cr.name,Ir=(0,l.Z)(cr,Ui),Ze=pr(Ar);or.push(Ze),"value"in Ir&&nt.updateStore((0,Re.Z)(nt.store,Ze,Ir.value)),nt.notifyObservers(dt,[Ze],{type:"setField",data:cr})}),nt.notifyWatch(or)}),(0,_.Z)(this,"getFields",function(){var Ot=nt.getFieldEntities(!0),dt=Ot.map(function(or){var cr=or.getNamePath(),Ar=or.getMeta(),Ir=(0,o.Z)((0,o.Z)({},Ar),{},{name:cr,value:nt.getFieldValue(cr)});return Object.defineProperty(Ir,"originRCField",{value:!0}),Ir});return dt}),(0,_.Z)(this,"initEntityValue",function(Ot){var dt=Ot.props.initialValue;if(dt!==void 0){var or=Ot.getNamePath(),cr=(0,Br.Z)(nt.store,or);cr===void 0&&nt.updateStore((0,Re.Z)(nt.store,or,dt))}}),(0,_.Z)(this,"isMergedPreserve",function(Ot){var dt=Ot!==void 0?Ot:nt.preserve;return dt!=null?dt:!0}),(0,_.Z)(this,"registerField",function(Ot){nt.fieldEntities.push(Ot);var dt=Ot.getNamePath();if(nt.notifyWatch([dt]),Ot.props.initialValue!==void 0){var or=nt.store;nt.resetWithFieldInitialValue({entities:[Ot],skipExist:!0}),nt.notifyObservers(or,[Ot.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(cr,Ar){var Ir=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(nt.fieldEntities=nt.fieldEntities.filter(function(Ee){return Ee!==Ot}),!nt.isMergedPreserve(Ar)&&(!cr||Ir.length>1)){var Ze=cr?void 0:nt.getInitialValue(dt);if(dt.length&&nt.getFieldValue(dt)!==Ze&&nt.fieldEntities.every(function(Ee){return!an(Ee.getNamePath(),dt)})){var Je=nt.store;nt.updateStore((0,Re.Z)(Je,dt,Ze,!0)),nt.notifyObservers(Je,[dt],{type:"remove"}),nt.triggerDependenciesUpdate(Je,dt)}}nt.notifyWatch([dt])}}),(0,_.Z)(this,"dispatch",function(Ot){switch(Ot.type){case"updateValue":{var dt=Ot.namePath,or=Ot.value;nt.updateValue(dt,or);break}case"validateField":{var cr=Ot.namePath,Ar=Ot.triggerName;nt.validateFields([cr],{triggerName:Ar});break}default:}}),(0,_.Z)(this,"notifyObservers",function(Ot,dt,or){if(nt.subscribable){var cr=(0,o.Z)((0,o.Z)({},or),{},{store:nt.getFieldsValue(!0)});nt.getFieldEntities().forEach(function(Ar){var Ir=Ar.onStoreChange;Ir(Ot,dt,cr)})}else nt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(Ot,dt){var or=nt.getDependencyChildrenFields(dt);return or.length&&nt.validateFields(or),nt.notifyObservers(Ot,or,{type:"dependenciesUpdate",relatedFields:[dt].concat((0,h.Z)(or))}),or}),(0,_.Z)(this,"updateValue",function(Ot,dt){var or=pr(Ot),cr=nt.store;nt.updateStore((0,Re.Z)(nt.store,or,dt)),nt.notifyObservers(cr,[or],{type:"valueUpdate",source:"internal"}),nt.notifyWatch([or]);var Ar=nt.triggerDependenciesUpdate(cr,or),Ir=nt.callbacks.onValuesChange;if(Ir){var Ze=$r(nt.store,[or]);Ir(Ze,nt.getFieldsValue())}nt.triggerOnFieldsChange([or].concat((0,h.Z)(Ar)))}),(0,_.Z)(this,"setFieldsValue",function(Ot){nt.warningUnhooked();var dt=nt.store;if(Ot){var or=(0,Re.T)(nt.store,Ot);nt.updateStore(or)}nt.notifyObservers(dt,null,{type:"valueUpdate",source:"external"}),nt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(Ot,dt){nt.setFields([{name:Ot,value:dt}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(Ot){var dt=new Set,or=[],cr=new Bn;nt.getFieldEntities().forEach(function(Ir){var Ze=Ir.props.dependencies;(Ze||[]).forEach(function(Je){var Ee=pr(Je);cr.update(Ee,function(){var ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return ut.add(Ir),ut})})});var Ar=function Ir(Ze){var Je=cr.get(Ze)||new Set;Je.forEach(function(Ee){if(!dt.has(Ee)){dt.add(Ee);var ut=Ee.getNamePath();Ee.isFieldDirty()&&ut.length&&(or.push(ut),Ir(ut))}})};return Ar(Ot),or}),(0,_.Z)(this,"triggerOnFieldsChange",function(Ot,dt){var or=nt.callbacks.onFieldsChange;if(or){var cr=nt.getFields();if(dt){var Ar=new Bn;dt.forEach(function(Ze){var Je=Ze.name,Ee=Ze.errors;Ar.set(Je,Ee)}),cr.forEach(function(Ze){Ze.errors=Ar.get(Ze.name)||Ze.errors})}var Ir=cr.filter(function(Ze){var Je=Ze.name;return en(Ot,Je)});Ir.length&&or(Ir,cr)}}),(0,_.Z)(this,"validateFields",function(Ot,dt){var or;nt.warningUnhooked();var cr,Ar;Array.isArray(Ot)||typeof Ot=="string"||typeof dt=="string"?(cr=Ot,Ar=dt):Ar=Ot;var Ir=!!cr,Ze=Ir?cr.map(pr):[],Je=[],Ee=String(Date.now()),ut=new Set,ir=(or=Ar)===null||or===void 0?void 0:or.recursive;nt.getFieldEntities(!0).forEach(function(Fr){if(Ir||Ze.push(Fr.getNamePath()),!(!Fr.props.rules||!Fr.props.rules.length)){var hn=Fr.getNamePath();if(ut.add(hn.join(Ee)),!Ir||en(Ze,hn,ir)){var Tr=Fr.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},Et),nt.validateMessages)},Ar));Je.push(Tr.then(function(){return{name:hn,errors:[],warnings:[]}}).catch(function(sn){var Xr,nn=[],gn=[];return(Xr=sn.forEach)===null||Xr===void 0||Xr.call(sn,function(da){var mi=da.rule.warningOnly,ci=da.errors;mi?gn.push.apply(gn,(0,h.Z)(ci)):nn.push.apply(nn,(0,h.Z)(ci))}),nn.length?Promise.reject({name:hn,errors:nn,warnings:gn}):{name:hn,errors:nn,warnings:gn}}))}}});var br=qr(Je);nt.lastValidatePromise=br,br.catch(function(Fr){return Fr}).then(function(Fr){var hn=Fr.map(function(Tr){var sn=Tr.name;return sn});nt.notifyObservers(nt.store,hn,{type:"validateFinish"}),nt.triggerOnFieldsChange(hn,Fr)});var Dr=br.then(function(){return nt.lastValidatePromise===br?Promise.resolve(nt.getFieldsValue(Ze)):Promise.reject([])}).catch(function(Fr){var hn=Fr.filter(function(Tr){return Tr&&Tr.errors.length});return Promise.reject({values:nt.getFieldsValue(Ze),errorFields:hn,outOfDate:nt.lastValidatePromise!==br})});Dr.catch(function(Fr){return Fr});var wr=Ze.filter(function(Fr){return ut.has(Fr.join(Ee))});return nt.triggerOnFieldsChange(wr),Dr}),(0,_.Z)(this,"submit",function(){nt.warningUnhooked(),nt.validateFields().then(function(Ot){var dt=nt.callbacks.onFinish;if(dt)try{dt(Ot)}catch(or){console.error(or)}}).catch(function(Ot){var dt=nt.callbacks.onFinishFailed;dt&&dt(Ot)})}),this.forceRootUpdate=pt});function bi(Jt){var pt=r.useRef(),nt=r.useState({}),Ot=(0,_r.Z)(nt,2),dt=Ot[1];if(!pt.current)if(Jt)pt.current=Jt;else{var or=function(){dt({})},cr=new pi(or);pt.current=cr.getForm()}return[pt.current]}var _i=bi,li=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Ki=function(pt){var nt=pt.validateMessages,Ot=pt.onFormChange,dt=pt.onFormFinish,or=pt.children,cr=r.useContext(li),Ar=r.useRef({});return r.createElement(li.Provider,{value:(0,o.Z)((0,o.Z)({},cr),{},{validateMessages:(0,o.Z)((0,o.Z)({},cr.validateMessages),nt),triggerFormChange:function(Ze,Je){Ot&&Ot(Ze,{changedFields:Je,forms:Ar.current}),cr.triggerFormChange(Ze,Je)},triggerFormFinish:function(Ze,Je){dt&&dt(Ze,{values:Je,forms:Ar.current}),cr.triggerFormFinish(Ze,Je)},registerForm:function(Ze,Je){Ze&&(Ar.current=(0,o.Z)((0,o.Z)({},Ar.current),{},(0,_.Z)({},Ze,Je))),cr.registerForm(Ze,Je)},unregisterForm:function(Ze){var Je=(0,o.Z)({},Ar.current);delete Je[Ze],Ar.current=Je,cr.unregisterForm(Ze)}})},or)},Zn=li,Gi=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],ui=function(pt,nt){var Ot=pt.name,dt=pt.initialValues,or=pt.fields,cr=pt.form,Ar=pt.preserve,Ir=pt.children,Ze=pt.component,Je=Ze===void 0?"form":Ze,Ee=pt.validateMessages,ut=pt.validateTrigger,ir=ut===void 0?"onChange":ut,br=pt.onValuesChange,Dr=pt.onFieldsChange,wr=pt.onFinish,Fr=pt.onFinishFailed,hn=(0,l.Z)(pt,Gi),Tr=r.useContext(Zn),sn=_i(cr),Xr=(0,_r.Z)(sn,1),nn=Xr[0],gn=nn.getInternalHooks(L),da=gn.useSubscribe,mi=gn.setInitialValues,ci=gn.setCallbacks,Cn=gn.setValidateMessages,Pi=gn.setPreserve,Oi=gn.destroyForm;r.useImperativeHandle(nt,function(){return nn}),r.useEffect(function(){return Tr.registerForm(Ot,nn),function(){Tr.unregisterForm(Ot)}},[Tr,nn,Ot]),Cn((0,o.Z)((0,o.Z)({},Tr.validateMessages),Ee)),ci({onValuesChange:br,onFieldsChange:function(bs){if(Tr.triggerFormChange(Ot,bs),Dr){for(var Xa=arguments.length,xs=new Array(Xa>1?Xa-1:0),ji=1;ji<Xa;ji++)xs[ji-1]=arguments[ji];Dr.apply(void 0,[bs].concat(xs))}},onFinish:function(bs){Tr.triggerFormFinish(Ot,bs),wr&&wr(bs)},onFinishFailed:Fr}),Pi(Ar);var aa=r.useRef(null);mi(dt,!aa.current),aa.current||(aa.current=!0),r.useEffect(function(){return Oi},[]);var Cs,na=typeof Ir=="function";if(na){var vs=nn.getFieldsValue(!0);Cs=Ir(vs,nn)}else Cs=Ir;da(!na);var Ms=r.useRef();r.useEffect(function(){sr(Ms.current||[],or||[])||nn.setFields(or||[]),Ms.current=or},[or,nn]);var Ba=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},nn),{},{validateTrigger:ir})},[nn,ir]),sa=r.createElement(N.Provider,{value:null},r.createElement(M.Provider,{value:Ba},Cs));return Je===!1?sa:r.createElement(Je,(0,i.Z)({},hn,{onSubmit:function(bs){bs.preventDefault(),bs.stopPropagation(),nn.submit()},onReset:function(bs){var Xa;bs.preventDefault(),nn.resetFields(),(Xa=hn.onReset)===null||Xa===void 0||Xa.call(hn,bs)}}),sa)},we=ui;function Nn(Jt){try{return JSON.stringify(Jt)}catch(pt){return Math.random()}}var qn=function(){};function Wn(){for(var Jt=arguments.length,pt=new Array(Jt),nt=0;nt<Jt;nt++)pt[nt]=arguments[nt];var Ot=pt[0],dt=Ot===void 0?[]:Ot,or=pt[1],cr=or===void 0?{}:or,Ar=G(cr)?{form:cr}:cr,Ir=Ar.form,Ze=(0,r.useState)(),Je=(0,_r.Z)(Ze,2),Ee=Je[0],ut=Je[1],ir=(0,r.useMemo)(function(){return Nn(Ee)},[Ee]),br=(0,r.useRef)(ir);br.current=ir;var Dr=(0,r.useContext)(M),wr=Ir||Dr,Fr=wr&&wr._init,hn=pr(dt),Tr=(0,r.useRef)(hn);return Tr.current=hn,qn(hn),(0,r.useEffect)(function(){if(Fr){var sn=wr.getFieldsValue,Xr=wr.getInternalHooks,nn=Xr(L),gn=nn.registerWatch,da=gn(function(ci,Cn){var Pi=(0,Br.Z)(Ar.preserve?Cn:ci,Tr.current),Oi=Nn(Pi);br.current!==Oi&&(br.current=Oi,ut(Pi))}),mi=(0,Br.Z)(Ar.preserve?sn(!0):sn(),Tr.current);return Ee!==mi&&ut(mi),da}},[Fr]),Ee}var zi=Wn,di=r.forwardRef(we),Ti=di;Ti.FormProvider=Ki,Ti.Field=Mr,Ti.List=jn,Ti.useForm=_i,Ti.useWatch=zi;var Yn=Ti},77900:function(d,v,e){"use strict";e.r(v),e.d(v,{CSSMotionList:function(){return Ke},Provider:function(){return _},default:function(){return fe}});var r=e(52873),i=e(98506),l=e(16886),c=e(26420),f=e(92310),o=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(33346),p=["children"],y=a.createContext({});function _(pe){var Dt=pe.children,De=(0,x.Z)(pe,p);return a.createElement(y.Provider,{value:De},Dt)}var b=e(42573),A=e(58698),k=e(74700),L=e(45080),T=function(pe){(0,k.Z)(De,pe);var Dt=(0,L.Z)(De);function De(){return(0,b.Z)(this,De),Dt.apply(this,arguments)}return(0,A.Z)(De,[{key:"render",value:function(){return this.props.children}}]),De}(a.Component),D=T,M=e(70425),B=e(41799),N=e(6089);function K(pe){var Dt=a.useReducer(function(wt){return wt+1},0),De=(0,l.Z)(Dt,2),ft=De[1],zt=a.useRef(pe),Et=(0,N.Z)(function(){return zt.current}),Re=(0,N.Z)(function(wt){zt.current=typeof wt=="function"?wt(zt.current):wt,ft()});return[Et,Re]}var G="none",W="appear",ne="enter",ae="leave",le="none",Q="prepare",J="start",V="active",ue="end",ee="prepared",X=e(47273);function ce(pe,Dt){var De={};return De[pe.toLowerCase()]=Dt.toLowerCase(),De["Webkit".concat(pe)]="webkit".concat(Dt),De["Moz".concat(pe)]="moz".concat(Dt),De["ms".concat(pe)]="MS".concat(Dt),De["O".concat(pe)]="o".concat(Dt.toLowerCase()),De}function z(pe,Dt){var De={animationend:ce("Animation","AnimationEnd"),transitionend:ce("Transition","TransitionEnd")};return pe&&("AnimationEvent"in Dt||delete De.animationend.animation,"TransitionEvent"in Dt||delete De.transitionend.transition),De}var $=z((0,X.Z)(),typeof window!="undefined"?window:{}),se={};if((0,X.Z)()){var _e=document.createElement("div");se=_e.style}var Oe={};function Le(pe){if(Oe[pe])return Oe[pe];var Dt=$[pe];if(Dt)for(var De=Object.keys(Dt),ft=De.length,zt=0;zt<ft;zt+=1){var Et=De[zt];if(Object.prototype.hasOwnProperty.call(Dt,Et)&&Et in se)return Oe[pe]=Dt[Et],Oe[pe]}return""}var He=Le("animationend"),$e=Le("transitionend"),Bt=!!(He&&$e),yt=He||"animationend",It=$e||"transitionend";function rr(pe,Dt){if(!pe)return null;if((0,c.Z)(pe)==="object"){var De=Dt.replace(/-\w/g,function(ft){return ft[1].toUpperCase()});return pe[De]}return"".concat(pe,"-").concat(Dt)}var Yt=function(pe){var Dt=(0,a.useRef)();function De(zt){zt&&(zt.removeEventListener(It,pe),zt.removeEventListener(yt,pe))}function ft(zt){Dt.current&&Dt.current!==zt&&De(Dt.current),zt&&zt!==Dt.current&&(zt.addEventListener(It,pe),zt.addEventListener(yt,pe),Dt.current=zt)}return a.useEffect(function(){return function(){De(Dt.current)}},[]),[ft,De]},lr=(0,X.Z)()?a.useLayoutEffect:a.useEffect,Ve=lr,Ct=e(16089),Ut=function(){var pe=a.useRef(null);function Dt(){Ct.Z.cancel(pe.current)}function De(ft){var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Dt();var Et=(0,Ct.Z)(function(){zt<=1?ft({isCanceled:function(){return Et!==pe.current}}):De(ft,zt-1)});pe.current=Et}return a.useEffect(function(){return function(){Dt()}},[]),[De,Dt]},st=[Q,J,V,ue],xt=[Q,ee],ht=!1,rt=!0;function Ue(pe){return pe===V||pe===ue}var ye=function(pe,Dt,De){var ft=(0,B.Z)(le),zt=(0,l.Z)(ft,2),Et=zt[0],Re=zt[1],wt=Ut(),xe=(0,l.Z)(wt,2),qe=xe[0],vt=xe[1];function Ft(){Re(Q,!0)}var Be=Dt?xt:st;return Ve(function(){if(Et!==le&&Et!==ue){var Pr=Be.indexOf(Et),St=Be[Pr+1],Zr=De(Et);Zr===ht?Re(St,!0):St&&qe(function(Vr){function xr(){Vr.isCanceled()||Re(St,!0)}Zr===!0?xr():Promise.resolve(Zr).then(xr)})}},[pe,Et]),a.useEffect(function(){return function(){vt()}},[]),[Ft,Et]};function Ce(pe,Dt,De,ft){var zt=ft.motionEnter,Et=zt===void 0?!0:zt,Re=ft.motionAppear,wt=Re===void 0?!0:Re,xe=ft.motionLeave,qe=xe===void 0?!0:xe,vt=ft.motionDeadline,Ft=ft.motionLeaveImmediately,Be=ft.onAppearPrepare,Pr=ft.onEnterPrepare,St=ft.onLeavePrepare,Zr=ft.onAppearStart,Vr=ft.onEnterStart,xr=ft.onLeaveStart,Br=ft.onAppearActive,pr=ft.onEnterActive,$r=ft.onLeaveActive,en=ft.onAppearEnd,an=ft.onEnterEnd,sr=ft.onLeaveEnd,Rt=ft.onVisibleChanged,mt=(0,B.Z)(),gt=(0,l.Z)(mt,2),$t=gt[0],Er=gt[1],vr=K(G),ot=(0,l.Z)(vr,2),Mr=ot[0],dn=ot[1],jn=(0,B.Z)(null),_r=(0,l.Z)(jn,2),qr=_r[0],ln=_r[1],Ln=Mr(),Vn=(0,a.useRef)(!1),Bn=(0,a.useRef)(null);function Ui(){return De()}var pi=(0,a.useRef)(!1);function bi(){dn(G),ln(null,!0)}var _i=(0,M.useEvent)(function(Jt){var pt=Mr();if(pt!==G){var nt=Ui();if(!(Jt&&!Jt.deadline&&Jt.target!==nt)){var Ot=pi.current,dt;pt===W&&Ot?dt=en==null?void 0:en(nt,Jt):pt===ne&&Ot?dt=an==null?void 0:an(nt,Jt):pt===ae&&Ot&&(dt=sr==null?void 0:sr(nt,Jt)),Ot&&dt!==!1&&bi()}}}),li=Yt(_i),Ki=(0,l.Z)(li,1),Zn=Ki[0],Gi=function(pt){switch(pt){case W:return(0,r.Z)((0,r.Z)((0,r.Z)({},Q,Be),J,Zr),V,Br);case ne:return(0,r.Z)((0,r.Z)((0,r.Z)({},Q,Pr),J,Vr),V,pr);case ae:return(0,r.Z)((0,r.Z)((0,r.Z)({},Q,St),J,xr),V,$r);default:return{}}},ui=a.useMemo(function(){return Gi(Ln)},[Ln]),we=ye(Ln,!pe,function(Jt){if(Jt===Q){var pt=ui[Q];return pt?pt(Ui()):ht}if(Wn in ui){var nt;ln(((nt=ui[Wn])===null||nt===void 0?void 0:nt.call(ui,Ui(),null))||null)}return Wn===V&&Ln!==G&&(Zn(Ui()),vt>0&&(clearTimeout(Bn.current),Bn.current=setTimeout(function(){_i({deadline:!0})},vt))),Wn===ee&&bi(),rt}),Nn=(0,l.Z)(we,2),qn=Nn[0],Wn=Nn[1],zi=Ue(Wn);pi.current=zi;var di=(0,a.useRef)(null);Ve(function(){if(!(Vn.current&&di.current===Dt)){Er(Dt);var Jt=Vn.current;Vn.current=!0;var pt;!Jt&&Dt&&wt&&(pt=W),Jt&&Dt&&Et&&(pt=ne),(Jt&&!Dt&&qe||!Jt&&Ft&&!Dt&&qe)&&(pt=ae);var nt=Gi(pt);pt&&(pe||nt[Q])?(dn(pt),qn()):dn(G),di.current=Dt}},[Dt]),(0,a.useEffect)(function(){(Ln===W&&!wt||Ln===ne&&!Et||Ln===ae&&!qe)&&dn(G)},[wt,Et,qe]),(0,a.useEffect)(function(){return function(){Vn.current=!1,clearTimeout(Bn.current)}},[]);var Ti=a.useRef(!1);(0,a.useEffect)(function(){$t&&(Ti.current=!0),$t!==void 0&&Ln===G&&((Ti.current||$t)&&(Rt==null||Rt($t)),Ti.current=!0)},[$t,Ln]);var Yn=qr;return ui[Q]&&Wn===J&&(Yn=(0,i.Z)({transition:"none"},Yn)),[Ln,Wn,Yn,$t!=null?$t:Dt]}function Fe(pe){var Dt=pe;(0,c.Z)(pe)==="object"&&(Dt=pe.transitionSupport);function De(zt,Et){return!!(zt.motionName&&Dt&&Et!==!1)}var ft=a.forwardRef(function(zt,Et){var Re=zt.visible,wt=Re===void 0?!0:Re,xe=zt.removeOnLeave,qe=xe===void 0?!0:xe,vt=zt.forceRender,Ft=zt.children,Be=zt.motionName,Pr=zt.leavedClassName,St=zt.eventProps,Zr=a.useContext(y),Vr=Zr.motion,xr=De(zt,Vr),Br=(0,a.useRef)(),pr=(0,a.useRef)();function $r(){try{return Br.current instanceof HTMLElement?Br.current:(0,h.ZP)(pr.current)}catch(_r){return null}}var en=Ce(xr,wt,$r,zt),an=(0,l.Z)(en,4),sr=an[0],Rt=an[1],mt=an[2],gt=an[3],$t=a.useRef(gt);gt&&($t.current=!0);var Er=a.useCallback(function(_r){Br.current=_r,(0,u.mH)(Et,_r)},[Et]),vr,ot=(0,i.Z)((0,i.Z)({},St),{},{visible:wt});if(!Ft)vr=null;else if(sr===G)gt?vr=Ft((0,i.Z)({},ot),Er):!qe&&$t.current&&Pr?vr=Ft((0,i.Z)((0,i.Z)({},ot),{},{className:Pr}),Er):vt||!qe&&!Pr?vr=Ft((0,i.Z)((0,i.Z)({},ot),{},{style:{display:"none"}}),Er):vr=null;else{var Mr;Rt===Q?Mr="prepare":Ue(Rt)?Mr="active":Rt===J&&(Mr="start");var dn=rr(Be,"".concat(sr,"-").concat(Mr));vr=Ft((0,i.Z)((0,i.Z)({},ot),{},{className:o()(rr(Be,sr),(0,r.Z)((0,r.Z)({},dn,dn&&Mr),Be,typeof Be=="string")),style:mt}),Er)}if(a.isValidElement(vr)&&(0,u.Yr)(vr)){var jn=(0,u.C4)(vr);jn||(vr=a.cloneElement(vr,{ref:Er}))}return a.createElement(D,{ref:pr},vr)});return ft.displayName="CSSMotion",ft}var je=Fe(Bt),Ge=e(67711),it=e(62437),ct="add",Gt="keep",Ht="remove",Pe="removed";function tt(pe){var Dt;return pe&&(0,c.Z)(pe)==="object"&&"key"in pe?Dt=pe:Dt={key:pe},(0,i.Z)((0,i.Z)({},Dt),{},{key:String(Dt.key)})}function Vt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return pe.map(tt)}function kt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=[],ft=0,zt=Dt.length,Et=Vt(pe),Re=Vt(Dt);Et.forEach(function(qe){for(var vt=!1,Ft=ft;Ft<zt;Ft+=1){var Be=Re[Ft];if(Be.key===qe.key){ft<Ft&&(De=De.concat(Re.slice(ft,Ft).map(function(Pr){return(0,i.Z)((0,i.Z)({},Pr),{},{status:ct})})),ft=Ft),De.push((0,i.Z)((0,i.Z)({},Be),{},{status:Gt})),ft+=1,vt=!0;break}}vt||De.push((0,i.Z)((0,i.Z)({},qe),{},{status:Ht}))}),ft<zt&&(De=De.concat(Re.slice(ft).map(function(qe){return(0,i.Z)((0,i.Z)({},qe),{},{status:ct})})));var wt={};De.forEach(function(qe){var vt=qe.key;wt[vt]=(wt[vt]||0)+1});var xe=Object.keys(wt).filter(function(qe){return wt[qe]>1});return xe.forEach(function(qe){De=De.filter(function(vt){var Ft=vt.key,Be=vt.status;return Ft!==qe||Be!==Ht}),De.forEach(function(vt){vt.key===qe&&(vt.status=Gt)})}),De}var Zt=["component","children","onVisibleChanged","onAllRemoved"],Nt=["status"],At=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function qt(pe){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:je,De=function(ft){(0,k.Z)(Et,ft);var zt=(0,L.Z)(Et);function Et(){var Re;(0,b.Z)(this,Et);for(var wt=arguments.length,xe=new Array(wt),qe=0;qe<wt;qe++)xe[qe]=arguments[qe];return Re=zt.call.apply(zt,[this].concat(xe)),(0,r.Z)((0,it.Z)(Re),"state",{keyEntities:[]}),(0,r.Z)((0,it.Z)(Re),"removeKey",function(vt){Re.setState(function(Ft){var Be=Ft.keyEntities.map(function(Pr){return Pr.key!==vt?Pr:(0,i.Z)((0,i.Z)({},Pr),{},{status:Pe})});return{keyEntities:Be}},function(){var Ft=Re.state.keyEntities,Be=Ft.filter(function(Pr){var St=Pr.status;return St!==Pe}).length;Be===0&&Re.props.onAllRemoved&&Re.props.onAllRemoved()})}),Re}return(0,A.Z)(Et,[{key:"render",value:function(){var wt=this,xe=this.state.keyEntities,qe=this.props,vt=qe.component,Ft=qe.children,Be=qe.onVisibleChanged,Pr=qe.onAllRemoved,St=(0,x.Z)(qe,Zt),Zr=vt||a.Fragment,Vr={};return At.forEach(function(xr){Vr[xr]=St[xr],delete St[xr]}),delete St.keys,a.createElement(Zr,St,xe.map(function(xr,Br){var pr=xr.status,$r=(0,x.Z)(xr,Nt),en=pr===ct||pr===Gt;return a.createElement(Dt,(0,Ge.Z)({},Vr,{key:$r.key,visible:en,eventProps:$r,onVisibleChanged:function(sr){Be==null||Be(sr,{key:$r.key}),sr||wt.removeKey($r.key)}}),function(an,sr){return Ft((0,i.Z)((0,i.Z)({},an),{},{index:Br}),sr)})}))}}],[{key:"getDerivedStateFromProps",value:function(wt,xe){var qe=wt.keys,vt=xe.keyEntities,Ft=Vt(qe),Be=kt(vt,Ft);return{keyEntities:Be.filter(function(Pr){var St=vt.find(function(Zr){var Vr=Zr.key;return Pr.key===Vr});return!(St&&St.status===Pe&&Pr.status===Ht)})}}}]),Et}(a.Component);return(0,r.Z)(De,"defaultProps",{component:"div"}),De}var Ke=qt(Bt),fe=je},581:function(d,v,e){"use strict";e.d(v,{qX:function(){return b},JB:function(){return L},lm:function(){return ne}});var r=e(15142),i=e(16886),l=e(33346),c=e(59301),f=e(98506),o=e(4676),h=e(67711),u=e(92310),a=e.n(u),x=e(77900),p=e(52873),y=e(10228),_=c.forwardRef(function(ae,le){var Q=ae.prefixCls,J=ae.style,V=ae.className,ue=ae.duration,ee=ue===void 0?4.5:ue,X=ae.eventKey,ce=ae.content,z=ae.closable,$=ae.closeIcon,se=$===void 0?"x":$,_e=ae.props,Oe=ae.onClick,Le=ae.onNoticeClose,He=ae.times,$e=c.useState(!1),Bt=(0,i.Z)($e,2),yt=Bt[0],It=Bt[1],rr=function(){Le(X)},Yt=function(Ct){(Ct.key==="Enter"||Ct.code==="Enter"||Ct.keyCode===y.Z.ENTER)&&rr()};c.useEffect(function(){if(!yt&&ee>0){var Ve=setTimeout(function(){rr()},ee*1e3);return function(){clearTimeout(Ve)}}},[ee,yt,He]);var lr="".concat(Q,"-notice");return c.createElement("div",(0,h.Z)({},_e,{ref:le,className:a()(lr,V,(0,p.Z)({},"".concat(lr,"-closable"),z)),style:J,onMouseEnter:function(){It(!0)},onMouseLeave:function(){It(!1)},onClick:Oe}),c.createElement("div",{className:"".concat(lr,"-content")},ce),z&&c.createElement("a",{tabIndex:0,className:"".concat(lr,"-close"),onKeyDown:Yt,onClick:function(Ct){Ct.preventDefault(),Ct.stopPropagation(),rr()}},se))}),b=_,A=c.createContext({}),k=function(le){var Q=le.children,J=le.classNames;return c.createElement(A.Provider,{value:{classNames:J}},Q)},L=k,T=function(le){var Q=le.configList,J=le.placement,V=le.prefixCls,ue=le.className,ee=le.style,X=le.motion,ce=le.onAllNoticeRemoved,z=le.onNoticeClose,$=(0,c.useContext)(A),se=$.classNames,_e=Q.map(function(Le){return{config:Le,key:Le.key}}),Oe=typeof X=="function"?X(J):X;return c.createElement(x.CSSMotionList,(0,h.Z)({key:J,className:a()(V,"".concat(V,"-").concat(J),se==null?void 0:se.list,ue),style:ee,keys:_e,motionAppear:!0},Oe,{onAllRemoved:function(){ce(J)}}),function(Le,He){var $e=Le.config,Bt=Le.className,yt=Le.style,It=$e,rr=It.key,Yt=It.times,lr=$e,Ve=lr.className,Ct=lr.style;return c.createElement(b,(0,h.Z)({},$e,{ref:He,prefixCls:V,className:a()(Bt,Ve,se==null?void 0:se.notice),style:(0,f.Z)((0,f.Z)({},yt),Ct),times:Yt,key:rr,eventKey:rr,onNoticeClose:z}))})},D=T,M=c.forwardRef(function(ae,le){var Q=ae.prefixCls,J=Q===void 0?"rc-notification":Q,V=ae.container,ue=ae.motion,ee=ae.maxCount,X=ae.className,ce=ae.style,z=ae.onAllRemoved,$=ae.renderNotifications,se=c.useState([]),_e=(0,i.Z)(se,2),Oe=_e[0],Le=_e[1],He=function(Ct){var Ut,st=Oe.find(function(xt){return xt.key===Ct});st==null||(Ut=st.onClose)===null||Ut===void 0||Ut.call(st),Le(function(xt){return xt.filter(function(ht){return ht.key!==Ct})})};c.useImperativeHandle(le,function(){return{open:function(Ct){Le(function(Ut){var st=(0,r.Z)(Ut),xt=st.findIndex(function(Ue){return Ue.key===Ct.key}),ht=(0,f.Z)({},Ct);if(xt>=0){var rt;ht.times=(((rt=Ut[xt])===null||rt===void 0?void 0:rt.times)||0)+1,st[xt]=ht}else ht.times=0,st.push(ht);return ee>0&&st.length>ee&&(st=st.slice(-ee)),st})},close:function(Ct){He(Ct)},destroy:function(){Le([])}}});var $e=c.useState({}),Bt=(0,i.Z)($e,2),yt=Bt[0],It=Bt[1];c.useEffect(function(){var Ve={};Oe.forEach(function(Ct){var Ut=Ct.placement,st=Ut===void 0?"topRight":Ut;st&&(Ve[st]=Ve[st]||[],Ve[st].push(Ct))}),Object.keys(yt).forEach(function(Ct){Ve[Ct]=Ve[Ct]||[]}),It(Ve)},[Oe]);var rr=function(Ct){It(function(Ut){var st=(0,f.Z)({},Ut),xt=st[Ct]||[];return xt.length||delete st[Ct],st})},Yt=c.useRef(!1);if(c.useEffect(function(){Object.keys(yt).length>0?Yt.current=!0:Yt.current&&(z==null||z(),Yt.current=!1)},[yt]),!V)return null;var lr=Object.keys(yt);return(0,o.createPortal)(c.createElement(c.Fragment,null,lr.map(function(Ve){var Ct=yt[Ve],Ut=c.createElement(D,{key:Ve,configList:Ct,placement:Ve,prefixCls:J,className:X==null?void 0:X(Ve),style:ce==null?void 0:ce(Ve),motion:ue,onNoticeClose:He,onAllNoticeRemoved:rr});return $?$(Ut,{prefixCls:J,key:Ve}):Ut})),V)}),B=M,N=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],K=function(){return document.body},G=0;function W(){for(var ae={},le=arguments.length,Q=new Array(le),J=0;J<le;J++)Q[J]=arguments[J];return Q.forEach(function(V){V&&Object.keys(V).forEach(function(ue){var ee=V[ue];ee!==void 0&&(ae[ue]=ee)})}),ae}function ne(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},le=ae.getContainer,Q=le===void 0?K:le,J=ae.motion,V=ae.prefixCls,ue=ae.maxCount,ee=ae.className,X=ae.style,ce=ae.onAllRemoved,z=ae.renderNotifications,$=(0,l.Z)(ae,N),se=c.useState(),_e=(0,i.Z)(se,2),Oe=_e[0],Le=_e[1],He=c.useRef(),$e=c.createElement(B,{container:Oe,ref:He,prefixCls:V,motion:J,maxCount:ue,className:ee,style:X,onAllRemoved:ce,renderNotifications:z}),Bt=c.useState([]),yt=(0,i.Z)(Bt,2),It=yt[0],rr=yt[1],Yt=c.useMemo(function(){return{open:function(Ve){var Ct=W($,Ve);(Ct.key===null||Ct.key===void 0)&&(Ct.key="rc-notification-".concat(G),G+=1),rr(function(Ut){return[].concat((0,r.Z)(Ut),[{type:"open",config:Ct}])})},close:function(Ve){rr(function(Ct){return[].concat((0,r.Z)(Ct),[{type:"close",key:Ve}])})},destroy:function(){rr(function(Ve){return[].concat((0,r.Z)(Ve),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){Le(Q())}),c.useEffect(function(){He.current&&It.length&&(It.forEach(function(lr){switch(lr.type){case"open":He.current.open(lr.config);break;case"close":He.current.close(lr.key);break;case"destroy":He.current.destroy();break}}),rr(function(lr){return lr.filter(function(Ve){return!It.includes(Ve)})}))},[It]),[Yt,$e]}},22075:function(d,v){"use strict";v.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},91735:function(d,v){"use strict";v.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},29301:function(d,v,e){"use strict";e.d(v,{Z:function(){return J}});var r=e(67711),i=e(59301),l=e(11592),c=e(48736),f=e(98506),o=e(26420),h=e(76846),u=e(8654),a=i.createContext(null);function x(V){var ue=V.children,ee=V.onBatchResize,X=i.useRef(0),ce=i.useRef([]),z=i.useContext(a),$=i.useCallback(function(se,_e,Oe){X.current+=1;var Le=X.current;ce.current.push({size:se,element:_e,data:Oe}),Promise.resolve().then(function(){Le===X.current&&(ee==null||ee(ce.current),ce.current=[])}),z==null||z(se,_e,Oe)},[ee,z]);return i.createElement(a.Provider,{value:$},ue)}var p=e(76374),y=new Map;function _(V){V.forEach(function(ue){var ee,X=ue.target;(ee=y.get(X))===null||ee===void 0||ee.forEach(function(ce){return ce(X)})})}var b=new p.Z(_),A=null,k=null;function L(V,ue){y.has(V)||(y.set(V,new Set),b.observe(V)),y.get(V).add(ue)}function T(V,ue){y.has(V)&&(y.get(V).delete(ue),y.get(V).size||(b.unobserve(V),y.delete(V)))}var D=e(42573),M=e(58698),B=e(74700),N=e(45080),K=function(V){(0,B.Z)(ee,V);var ue=(0,N.Z)(ee);function ee(){return(0,D.Z)(this,ee),ue.apply(this,arguments)}return(0,M.Z)(ee,[{key:"render",value:function(){return this.props.children}}]),ee}(i.Component);function G(V,ue){var ee=V.children,X=V.disabled,ce=i.useRef(null),z=i.useRef(null),$=i.useContext(a),se=typeof ee=="function",_e=se?ee(ce):ee,Oe=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Le=!se&&i.isValidElement(_e)&&(0,u.Yr)(_e),He=Le?(0,u.C4)(_e):null,$e=(0,u.x1)(He,ce),Bt=function(){var Yt;return(0,h.ZP)(ce.current)||(ce.current&&(0,o.Z)(ce.current)==="object"?(0,h.ZP)((Yt=ce.current)===null||Yt===void 0?void 0:Yt.nativeElement):null)||(0,h.ZP)(z.current)};i.useImperativeHandle(ue,function(){return Bt()});var yt=i.useRef(V);yt.current=V;var It=i.useCallback(function(rr){var Yt=yt.current,lr=Yt.onResize,Ve=Yt.data,Ct=rr.getBoundingClientRect(),Ut=Ct.width,st=Ct.height,xt=rr.offsetWidth,ht=rr.offsetHeight,rt=Math.floor(Ut),Ue=Math.floor(st);if(Oe.current.width!==rt||Oe.current.height!==Ue||Oe.current.offsetWidth!==xt||Oe.current.offsetHeight!==ht){var ye={width:rt,height:Ue,offsetWidth:xt,offsetHeight:ht};Oe.current=ye;var Ce=xt===Math.round(Ut)?Ut:xt,Fe=ht===Math.round(st)?st:ht,je=(0,f.Z)((0,f.Z)({},ye),{},{offsetWidth:Ce,offsetHeight:Fe});$==null||$(je,rr,Ve),lr&&Promise.resolve().then(function(){lr(je,rr)})}},[]);return i.useEffect(function(){var rr=Bt();return rr&&!X&&L(rr,It),function(){return T(rr,It)}},[ce.current,X]),i.createElement(K,{ref:z},Le?i.cloneElement(_e,{ref:$e}):_e)}var W=i.forwardRef(G),ne=W,ae="rc-observer-key";function le(V,ue){var ee=V.children,X=typeof ee=="function"?[ee]:(0,l.Z)(ee);return X.map(function(ce,z){var $=(ce==null?void 0:ce.key)||"".concat(ae,"-").concat(z);return i.createElement(ne,(0,r.Z)({},V,{key:$,ref:z===0?ue:void 0}),ce)})}var Q=i.forwardRef(le);Q.Collection=x;var J=Q},55477:function(d,v,e){"use strict";e.d(v,{G:function(){return _},Z:function(){return L}});var r=e(67711),i=e(98506),l=e(33346),c=e(35593),f=e(59301),o={shiftX:64,adjustY:1},h={adjustX:1,shiftY:!0},u=[0,0],a={left:{points:["cr","cl"],overflow:h,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:h,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:h,offset:[-4,0],targetOffset:u}},x=null,p=e(92310),y=e.n(p);function _(T){var D=T.children,M=T.prefixCls,B=T.id,N=T.overlayInnerStyle,K=T.className,G=T.style;return f.createElement("div",{className:y()("".concat(M,"-content"),K),style:G},f.createElement("div",{className:"".concat(M,"-inner"),id:B,role:"tooltip",style:N},typeof D=="function"?D():D))}var b=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],A=function(D,M){var B=D.overlayClassName,N=D.trigger,K=N===void 0?["hover"]:N,G=D.mouseEnterDelay,W=G===void 0?0:G,ne=D.mouseLeaveDelay,ae=ne===void 0?.1:ne,le=D.overlayStyle,Q=D.prefixCls,J=Q===void 0?"rc-tooltip":Q,V=D.children,ue=D.onVisibleChange,ee=D.afterVisibleChange,X=D.transitionName,ce=D.animation,z=D.motion,$=D.placement,se=$===void 0?"right":$,_e=D.align,Oe=_e===void 0?{}:_e,Le=D.destroyTooltipOnHide,He=Le===void 0?!1:Le,$e=D.defaultVisible,Bt=D.getTooltipContainer,yt=D.overlayInnerStyle,It=D.arrowContent,rr=D.overlay,Yt=D.id,lr=D.showArrow,Ve=lr===void 0?!0:lr,Ct=(0,l.Z)(D,b),Ut=(0,f.useRef)(null);(0,f.useImperativeHandle)(M,function(){return Ut.current});var st=(0,i.Z)({},Ct);"visible"in D&&(st.popupVisible=D.visible);var xt=function(){return f.createElement(_,{key:"content",prefixCls:J,id:Yt,overlayInnerStyle:yt},rr)};return f.createElement(c.Z,(0,r.Z)({popupClassName:B,prefixCls:J,popup:xt,action:K,builtinPlacements:a,popupPlacement:se,ref:Ut,popupAlign:Oe,getPopupContainer:Bt,onPopupVisibleChange:ue,afterPopupVisibleChange:ee,popupTransitionName:X,popupAnimation:ce,popupMotion:z,defaultPopupVisible:$e,autoDestroy:He,mouseLeaveDelay:ae,popupStyle:le,mouseEnterDelay:W,arrow:Ve},st),V)},k=(0,f.forwardRef)(A),L=k},11592:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(34678),i=e(59301);function l(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[];return i.Children.forEach(c,function(h){h==null&&!f.keepEmpty||(Array.isArray(h)?o=o.concat(l(h)):(0,r.Z)(h)&&h.props?o=o.concat(l(h.props.children,f)):o.push(h))}),o}},47273:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(!i)return!1;if(i.contains)return i.contains(l);for(var c=l;c;){if(c===i)return!0;c=c.parentNode}return!1}},810:function(d,v,e){"use strict";e.d(v,{hq:function(){return L},jL:function(){return b}});var r=e(98506),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",o="rc-util-key",h=new Map;function u(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=T.mark;return D?D.startsWith("data-")?D:"data-".concat(D):o}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 M=D.csp,B=D.prepend,N=D.priority,K=N===void 0?0:N,G=x(B),W=G==="prependQueue",ne=document.createElement("style");ne.setAttribute(c,G),W&&K&&ne.setAttribute(f,"".concat(K)),M!=null&&M.nonce&&(ne.nonce=M==null?void 0:M.nonce),ne.innerHTML=T;var ae=a(D),le=ae.firstChild;if(B){if(W){var Q=(D.styles||p(ae)).filter(function(J){if(!["prepend","prependQueue"].includes(J.getAttribute(c)))return!1;var V=Number(J.getAttribute(f)||0);return K>=V});if(Q.length)return ae.insertBefore(ne,Q[Q.length-1].nextSibling),ne}ae.insertBefore(ne,le)}else ae.appendChild(ne);return ne}function _(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=a(D);return(D.styles||p(M)).find(function(B){return B.getAttribute(u(D))===T})}function b(T){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=_(T,D);if(M){var B=a(D);B.removeChild(M)}}function A(T,D){var M=h.get(T);if(!M||!(0,l.Z)(document,M)){var B=y("",D),N=B.parentNode;h.set(T,N),T.removeChild(B)}}function k(){h.clear()}function L(T,D){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=a(M),N=p(B),K=(0,r.Z)((0,r.Z)({},M),{},{styles:N});A(B,K);var G=_(D,K);if(G){var W,ne;if((W=K.csp)!==null&&W!==void 0&&W.nonce&&G.nonce!==((ne=K.csp)===null||ne===void 0?void 0:ne.nonce)){var ae;G.nonce=(ae=K.csp)===null||ae===void 0?void 0:ae.nonce}return G.innerHTML!==T&&(G.innerHTML=T),G}var le=y(T,K);return le.setAttribute(u(K),D),le}},76846:function(d,v,e){"use strict";e.d(v,{Sh:function(){return c},ZP:function(){return o}});var r=e(26420),i=e(59301),l=e(4676);function c(h){return h instanceof HTMLElement||h instanceof SVGElement}function f(h){return h&&(0,r.Z)(h)==="object"&&c(h.nativeElement)?h.nativeElement:c(h)?h:null}function o(h){var u=f(h);if(u)return u;if(h instanceof i.Component){var a;return(a=l.findDOMNode)===null||a===void 0?void 0:a.call(l,h)}return null}},29194:function(d,v){"use strict";v.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var r=e.getBBox(),i=r.width,l=r.height;if(i||l)return!0}if(e.getBoundingClientRect){var c=e.getBoundingClientRect(),f=c.width,o=c.height;if(f||o)return!0}}return!1}},96452:function(d,v,e){"use strict";e.d(v,{A:function(){return l}});function r(c){var f;return c==null||(f=c.getRootNode)===null||f===void 0?void 0:f.call(c)}function i(c){return r(c)instanceof ShadowRoot}function l(c){return i(c)?r(c):null}},10228:function(d,v){"use strict";var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(i){var l=i.keyCode;if(i.altKey&&!i.ctrlKey||i.metaKey||l>=e.F1&&l<=e.F12)return!1;switch(l){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(i){if(i>=e.ZERO&&i<=e.NINE||i>=e.NUM_ZERO&&i<=e.NUM_MULTIPLY||i>=e.A&&i<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&i===0)return!0;switch(i){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};v.Z=e},34678:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(26420),i=Symbol.for("react.element"),l=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(o){return o&&(0,r.Z)(o)==="object"&&(o.$$typeof===i||o.$$typeof===l)&&o.type===c}},1585:function(d,v,e){"use strict";var r;e.d(v,{s:function(){return T},v:function(){return K}});var i=e(77910),l=e(51343),c=e(26420),f=e(98506),o=e(4676),h=(0,f.Z)({},r||(r=e.t(o,2))),u=h.version,a=h.render,x=h.unmountComponentAtNode,p;try{var y=Number((u||"").split(".")[0]);y>=18&&(p=h.createRoot)}catch(W){}function _(W){var ne=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ne&&(0,c.Z)(ne)==="object"&&(ne.usingClientEntryPoint=W)}var b="__rc_react_root__";function A(W,ne){_(!0);var ae=ne[b]||p(ne);_(!1),ae.render(W),ne[b]=ae}function k(W,ne){a==null||a(W,ne)}function L(W,ne){}function T(W,ne){if(p){A(W,ne);return}k(W,ne)}function D(W){return M.apply(this,arguments)}function M(){return M=(0,l.Z)((0,i.Z)().mark(function W(ne){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=ne[b])===null||Q===void 0||Q.unmount(),delete ne[b]}));case 1:case"end":return le.stop()}},W)})),M.apply(this,arguments)}function B(W){x(W)}function N(W){}function K(W){return G.apply(this,arguments)}function G(){return G=(0,l.Z)((0,i.Z)().mark(function W(ne){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(ne));case 2:B(ne);case 3:case"end":return le.stop()}},W)})),G.apply(this,arguments)}},75152:function(d,v,e){"use strict";e.d(v,{Z:function(){return c},o:function(){return f}});var r=e(810),i;function l(o){var h="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),u=document.createElement("div");u.id=h;var a=u.style;a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll";var x,p;if(o){var y=getComputedStyle(o);a.scrollbarColor=y.scrollbarColor,a.scrollbarWidth=y.scrollbarWidth;var _=getComputedStyle(o,"::-webkit-scrollbar"),b=parseInt(_.width,10),A=parseInt(_.height,10);try{var k=b?"width: ".concat(_.width,";"):"",L=A?"height: ".concat(_.height,";"):"";(0,r.hq)(`
#`.concat(h,`::-webkit-scrollbar {
`).concat(k,`
`).concat(L,`
}`),h)}catch(M){console.error(M),x=b,p=A}}document.body.appendChild(u);var T=o&&x&&!isNaN(x)?x:u.offsetWidth-u.clientWidth,D=o&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:T,height:D}}function c(o){return typeof document=="undefined"?0:((o||i===void 0)&&(i=l()),i.width)}function f(o){return typeof document=="undefined"||!o||!(o instanceof Element)?{width:0,height:0}:l(o)}},6089:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(59301);function i(l){var c=r.useRef();c.current=l;var f=r.useCallback(function(){for(var o,h=arguments.length,u=new Array(h),a=0;a<h;a++)u[a]=arguments[a];return(o=c.current)===null||o===void 0?void 0:o.call.apply(o,[c].concat(u))},[]);return f}},80402:function(d,v,e){"use strict";var r,i=e(16886),l=e(98506),c=e(59301);function f(){var a=(0,l.Z)({},r||(r=e.t(c,2)));return a.useId}var o=0;function h(){}var u=f();v.Z=u?function(x){var p=u();return x||p}:function(x){var p=c.useState("ssr-id"),y=(0,i.Z)(p,2),_=y[0],b=y[1];return c.useEffect(function(){var A=o;o+=1,b("rc_unique_".concat(A))},[]),x||_}},34280:function(d,v,e){"use strict";e.d(v,{o:function(){return f}});var r=e(59301),i=e(47273),l=(0,i.Z)()?r.useLayoutEffect:r.useEffect,c=function(h,u){var a=r.useRef(!0);l(function(){return h(a.current)},u),l(function(){return a.current=!1,function(){a.current=!0}},[])},f=function(h,u){c(function(a){if(!a)return h()},u)};v.Z=c},80547:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(59301);function i(l,c,f){var o=r.useRef({});return(!("value"in o.current)||f(o.current.condition,c))&&(o.current.value=l(),o.current.condition=c),o.current.value}},18929:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(16886),i=e(6089),l=e(34280),c=e(41799);function f(h){return h!==void 0}function o(h,u){var a=u||{},x=a.defaultValue,p=a.value,y=a.onChange,_=a.postState,b=(0,c.Z)(function(){return f(p)?p:f(x)?typeof x=="function"?x():x:typeof h=="function"?h():h}),A=(0,r.Z)(b,2),k=A[0],L=A[1],T=p!==void 0?p:k,D=_?_(T):T,M=(0,i.Z)(y),B=(0,c.Z)([T]),N=(0,r.Z)(B,2),K=N[0],G=N[1];(0,l.o)(function(){var ne=K[0];k!==ne&&M(k,ne)},[K]),(0,l.o)(function(){f(p)||L(p)},[p]);var W=(0,i.Z)(function(ne,ae){L(ne,ae),G([T],ae)});return[D,W]}},41799:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(16886),i=e(59301);function l(c){var f=i.useRef(!1),o=i.useState(c),h=(0,r.Z)(o,2),u=h[0],a=h[1];i.useEffect(function(){return f.current=!1,function(){f.current=!0}},[]);function x(p,y){y&&f.current||a(p)}return[u,x]}},70425:function(d,v,e){"use strict";e.r(v),e.d(v,{get:function(){return c.Z},set:function(){return f.Z},supportNodeRef:function(){return l.t4},supportRef:function(){return l.Yr},useComposeRef:function(){return l.x1},useEvent:function(){return r.Z},useMergedState:function(){return i.Z},warning:function(){return o.ZP}});var r=e(6089),i=e(18929),l=e(8654),c=e(97938),f=e(24434),o=e(48736)},13697:function(d,v,e){"use strict";var r=e(26420),i=e(48736);function l(c,f){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=new Set;function u(a,x){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,y=h.has(a);if((0,i.ZP)(!y,"Warning: There may be circular references"),y)return!1;if(a===x)return!0;if(o&&p>1)return!1;h.add(a);var _=p+1;if(Array.isArray(a)){if(!Array.isArray(x)||a.length!==x.length)return!1;for(var b=0;b<a.length;b++)if(!u(a[b],x[b],_))return!1;return!0}if(a&&x&&(0,r.Z)(a)==="object"&&(0,r.Z)(x)==="object"){var A=Object.keys(a);return A.length!==Object.keys(x).length?!1:A.every(function(k){return u(a[k],x[k],_)})}return!1}return u(c,f)}v.Z=l},49658:function(d,v){"use strict";v.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))}},2738:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){var c=Object.assign({},i);return Array.isArray(l)&&l.forEach(function(f){delete c[f]}),c}},26112:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(98506),i=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,l=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,c="".concat(i," ").concat(l).split(/[\s\n]+/),f="aria-",o="data-";function h(a,x){return a.indexOf(x)===0}function u(a){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p;x===!1?p={aria:!0,data:!0,attr:!0}:x===!0?p={aria:!0}:p=(0,r.Z)({},x);var y={};return Object.keys(a).forEach(function(_){(p.aria&&(_==="role"||h(_,f))||p.data&&h(_,o)||p.attr&&c.includes(_))&&(y[_]=a[_])}),y}},16089:function(d,v){"use strict";var e=function(h){return+setTimeout(h,16)},r=function(h){return clearTimeout(h)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(e=function(h){return window.requestAnimationFrame(h)},r=function(h){return window.cancelAnimationFrame(h)});var i=0,l=new Map;function c(o){l.delete(o)}var f=function(h){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;i+=1;var a=i;function x(p){if(p===0)c(a),h();else{var y=e(function(){x(p-1)});l.set(a,y)}}return x(u),a};f.cancel=function(o){var h=l.get(o);return c(o),r(h)},v.Z=f},8654:function(d,v,e){"use strict";e.d(v,{C4:function(){return _},Yr:function(){return x},mH:function(){return h},sQ:function(){return u},t4:function(){return y},x1:function(){return a}});var r=e(26420),i=e(59301),l=e(23265),c=e(80547),f=e(34678),o=Number(i.version.split(".")[0]),h=function(A,k){typeof A=="function"?A(k):(0,r.Z)(A)==="object"&&A&&"current"in A&&(A.current=k)},u=function(){for(var A=arguments.length,k=new Array(A),L=0;L<A;L++)k[L]=arguments[L];var T=k.filter(Boolean);return T.length<=1?T[0]:function(D){k.forEach(function(M){h(M,D)})}},a=function(){for(var A=arguments.length,k=new Array(A),L=0;L<A;L++)k[L]=arguments[L];return(0,c.Z)(function(){return u.apply(void 0,k)},k,function(T,D){return T.length!==D.length||T.every(function(M,B){return M!==D[B]})})},x=function(A){var k,L;if(!A)return!1;if(p(A)&&o>=19)return!0;var T=(0,l.isMemo)(A)?A.type.type:A.type;return!(typeof T=="function"&&!((k=T.prototype)!==null&&k!==void 0&&k.render)&&T.$$typeof!==l.ForwardRef||typeof A=="function"&&!((L=A.prototype)!==null&&L!==void 0&&L.render)&&A.$$typeof!==l.ForwardRef)};function p(b){return(0,i.isValidElement)(b)&&!(0,f.Z)(b)}var y=function(A){return p(A)&&x(A)},_=function(A){if(A&&p(A)){var k=A;return k.props.propertyIsEnumerable("ref")?k.props.ref:k.ref}return null}},97938:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){for(var c=i,f=0;f<l.length;f+=1){if(c==null)return;c=c[l[f]]}return c}},24434:function(d,v,e){"use strict";e.d(v,{T:function(){return p},Z:function(){return h}});var r=e(26420),i=e(98506),l=e(15142),c=e(57879),f=e(97938);function o(y,_,b,A){if(!_.length)return b;var k=(0,c.Z)(_),L=k[0],T=k.slice(1),D;return!y&&typeof L=="number"?D=[]:Array.isArray(y)?D=(0,l.Z)(y):D=(0,i.Z)({},y),A&&b===void 0&&T.length===1?delete D[L][T[0]]:D[L]=o(D[L],T,b,A),D}function h(y,_,b){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return _.length&&A&&b===void 0&&!(0,f.Z)(y,_.slice(0,-1))?y:o(y,_,b,A)}function u(y){return(0,r.Z)(y)==="object"&&y!==null&&Object.getPrototypeOf(y)===Object.prototype}function a(y){return Array.isArray(y)?[]:{}}var x=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function p(){for(var y=arguments.length,_=new Array(y),b=0;b<y;b++)_[b]=arguments[b];var A=a(_[0]);return _.forEach(function(k){function L(T,D){var M=new Set(D),B=(0,f.Z)(k,T),N=Array.isArray(B);if(N||u(B)){if(!M.has(B)){M.add(B);var K=(0,f.Z)(A,T);N?A=h(A,T,[]):(!K||(0,r.Z)(K)!=="object")&&(A=h(A,T,a(B))),x(B).forEach(function(G){L([].concat((0,l.Z)(T),[G]),M)})}}else A=h(A,T,B)}L([])}),A}},48736:function(d,v,e){"use strict";e.d(v,{ET:function(){return a},Kp:function(){return c}});var r={},i=[],l=function(p){i.push(p)};function c(x,p){if(0)var y}function f(x,p){if(0)var y}function o(){r={}}function h(x,p,y){!p&&!r[y]&&(x(!1,y),r[y]=!0)}function u(x,p){h(c,x,p)}function a(x,p){h(f,x,p)}u.preMessage=l,u.resetWarned=o,u.noteOnce=a,v.ZP=u},83145:function(d,v,e){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.CopyToClipboard=void 0;var r=l(e(59301)),i=l(e(25769));function l(D){return D&&D.__esModule?D:{default:D}}function c(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(B){return typeof B}:c=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},c(D)}function f(D,M){var B=Object.keys(D);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(D);M&&(N=N.filter(function(K){return Object.getOwnPropertyDescriptor(D,K).enumerable})),B.push.apply(B,N)}return B}function o(D){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?f(B,!0).forEach(function(N){L(D,N,B[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(B)):f(B).forEach(function(N){Object.defineProperty(D,N,Object.getOwnPropertyDescriptor(B,N))})}return D}function h(D,M){if(D==null)return{};var B=u(D,M),N,K;if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(D);for(K=0;K<G.length;K++)N=G[K],!(M.indexOf(N)>=0)&&Object.prototype.propertyIsEnumerable.call(D,N)&&(B[N]=D[N])}return B}function u(D,M){if(D==null)return{};var B={},N=Object.keys(D),K,G;for(G=0;G<N.length;G++)K=N[G],!(M.indexOf(K)>=0)&&(B[K]=D[K]);return B}function a(D,M){if(!(D instanceof M))throw new TypeError("Cannot call a class as a function")}function x(D,M){for(var B=0;B<M.length;B++){var N=M[B];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(D,N.key,N)}}function p(D,M,B){return M&&x(D.prototype,M),B&&x(D,B),D}function y(D,M){return M&&(c(M)==="object"||typeof M=="function")?M:b(D)}function _(D){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},_(D)}function b(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function A(D,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(M&&M.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),M&&k(D,M)}function k(D,M){return k=Object.setPrototypeOf||function(N,K){return N.__proto__=K,N},k(D,M)}function L(D,M,B){return M in D?Object.defineProperty(D,M,{value:B,enumerable:!0,configurable:!0,writable:!0}):D[M]=B,D}var T=function(D){A(M,D);function M(){var B,N;a(this,M);for(var K=arguments.length,G=new Array(K),W=0;W<K;W++)G[W]=arguments[W];return N=y(this,(B=_(M)).call.apply(B,[this].concat(G))),L(b(N),"onClick",function(ne){var ae=N.props,le=ae.text,Q=ae.onCopy,J=ae.children,V=ae.options,ue=r.default.Children.only(J),ee=(0,i.default)(le,V);Q&&Q(le,ee),ue&&ue.props&&typeof ue.props.onClick=="function"&&ue.props.onClick(ne)}),N}return p(M,[{key:"render",value:function(){var N=this.props,K=N.text,G=N.onCopy,W=N.options,ne=N.children,ae=h(N,["text","onCopy","options","children"]),le=r.default.Children.only(ne);return r.default.cloneElement(le,o({},ae,{onClick:this.onClick}))}}]),M}(r.default.PureComponent);v.CopyToClipboard=T,L(T,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(d,v,e){"use strict";var r=e(83145),i=r.CopyToClipboard;i.CopyToClipboard=i,d.exports=i},23675:function(d,v,e){"use strict";var r=e(59301),i=e(84126),l=e(43014);function c(g){for(var P="https://reactjs.org/docs/error-decoder.html?invariant="+g,U=1;U<arguments.length;U++)P+="&args[]="+encodeURIComponent(arguments[U]);return"Minified React error #"+g+"; visit "+P+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(c(227));var f=new Set,o={};function h(g,P){u(g,P),u(g+"Capture",P)}function u(g,P){for(o[g]=P,g=0;g<P.length;g++)f.add(P[g])}var a=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),x=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,y={},_={};function b(g){return p.call(_,g)?!0:p.call(y,g)?!1:x.test(g)?_[g]=!0:(y[g]=!0,!1)}function A(g,P,U,ge){if(U!==null&&U.type===0)return!1;switch(typeof P){case"function":case"symbol":return!0;case"boolean":return ge?!1:U!==null?!U.acceptsBooleans:(g=g.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-");default:return!1}}function k(g,P,U,ge){if(P===null||typeof P=="undefined"||A(g,P,U,ge))return!0;if(ge)return!1;if(U!==null)switch(U.type){case 3:return!P;case 4:return P===!1;case 5:return isNaN(P);case 6:return isNaN(P)||1>P}return!1}function L(g,P,U,ge,Me,at,E){this.acceptsBooleans=P===2||P===3||P===4,this.attributeName=ge,this.attributeNamespace=Me,this.mustUseProperty=U,this.propertyName=g,this.type=P,this.sanitizeURL=at,this.removeEmptyString=E}var T={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(g){T[g]=new L(g,0,!1,g,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(g){var P=g[0];T[P]=new L(P,1,!1,g[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(g){T[g]=new L(g,2,!1,g.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(g){T[g]=new L(g,2,!1,g,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(g){T[g]=new L(g,3,!1,g.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(g){T[g]=new L(g,3,!0,g,null,!1,!1)}),["capture","download"].forEach(function(g){T[g]=new L(g,4,!1,g,null,!1,!1)}),["cols","rows","size","span"].forEach(function(g){T[g]=new L(g,6,!1,g,null,!1,!1)}),["rowSpan","start"].forEach(function(g){T[g]=new L(g,5,!1,g.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function M(g){return g[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(g){var P=g.replace(D,M);T[P]=new L(P,1,!1,g,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(g){var P=g.replace(D,M);T[P]=new L(P,1,!1,g,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(g){var P=g.replace(D,M);T[P]=new L(P,1,!1,g,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(g){T[g]=new L(g,1,!1,g.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(g){T[g]=new L(g,1,!1,g.toLowerCase(),null,!0,!0)});function B(g,P,U,ge){var Me=T.hasOwnProperty(P)?T[P]:null,at=Me!==null?Me.type===0:ge?!1:!(!(2<P.length)||P[0]!=="o"&&P[0]!=="O"||P[1]!=="n"&&P[1]!=="N");at||(k(P,U,Me,ge)&&(U=null),ge||Me===null?b(P)&&(U===null?g.removeAttribute(P):g.setAttribute(P,""+U)):Me.mustUseProperty?g[Me.propertyName]=U===null?Me.type===3?!1:"":U:(P=Me.attributeName,ge=Me.attributeNamespace,U===null?g.removeAttribute(P):(Me=Me.type,U=Me===3||Me===4&&U===!0?"":""+U,ge?g.setAttributeNS(ge,P,U):g.setAttribute(P,U))))}var N=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,K=60103,G=60106,W=60107,ne=60108,ae=60114,le=60109,Q=60110,J=60112,V=60113,ue=60120,ee=60115,X=60116,ce=60121,z=60128,$=60129,se=60130,_e=60131;if(typeof Symbol=="function"&&Symbol.for){var Oe=Symbol.for;K=Oe("react.element"),G=Oe("react.portal"),W=Oe("react.fragment"),ne=Oe("react.strict_mode"),ae=Oe("react.profiler"),le=Oe("react.provider"),Q=Oe("react.context"),J=Oe("react.forward_ref"),V=Oe("react.suspense"),ue=Oe("react.suspense_list"),ee=Oe("react.memo"),X=Oe("react.lazy"),ce=Oe("react.block"),Oe("react.scope"),z=Oe("react.opaque.id"),$=Oe("react.debug_trace_mode"),se=Oe("react.offscreen"),_e=Oe("react.legacy_hidden")}var Le=typeof Symbol=="function"&&Symbol.iterator;function He(g){return g===null||typeof g!="object"?null:(g=Le&&g[Le]||g["@@iterator"],typeof g=="function"?g:null)}var $e;function Bt(g){if($e===void 0)try{throw Error()}catch(U){var P=U.stack.trim().match(/\n( *(at )?)/);$e=P&&P[1]||""}return`
`+$e+g}var yt=!1;function It(g,P){if(!g||yt)return"";yt=!0;var U=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(P)if(P=function(){throw Error()},Object.defineProperty(P.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(P,[])}catch(n){var ge=n}Reflect.construct(g,[],P)}else{try{P.call()}catch(n){ge=n}g.call(P.prototype)}else{try{throw Error()}catch(n){ge=n}g()}}catch(n){if(n&&ge&&typeof n.stack=="string"){for(var Me=n.stack.split(`
`),at=ge.stack.split(`
`),E=Me.length-1,t=at.length-1;1<=E&&0<=t&&Me[E]!==at[t];)t--;for(;1<=E&&0<=t;E--,t--)if(Me[E]!==at[t]){if(E!==1||t!==1)do if(E--,t--,0>t||Me[E]!==at[t])return`
`+Me[E].replace(" at new "," at ");while(1<=E&&0<=t);break}}}finally{yt=!1,Error.prepareStackTrace=U}return(g=g?g.displayName||g.name:"")?Bt(g):""}function rr(g){switch(g.tag){case 5:return Bt(g.type);case 16:return Bt("Lazy");case 13:return Bt("Suspense");case 19:return Bt("SuspenseList");case 0:case 2:case 15:return g=It(g.type,!1),g;case 11:return g=It(g.type.render,!1),g;case 22:return g=It(g.type._render,!1),g;case 1:return g=It(g.type,!0),g;default:return""}}function Yt(g){if(g==null)return null;if(typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case W:return"Fragment";case G:return"Portal";case ae:return"Profiler";case ne:return"StrictMode";case V:return"Suspense";case ue:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case Q:return(g.displayName||"Context")+".Consumer";case le:return(g._context.displayName||"Context")+".Provider";case J:var P=g.render;return P=P.displayName||P.name||"",g.displayName||(P!==""?"ForwardRef("+P+")":"ForwardRef");case ee:return Yt(g.type);case ce:return Yt(g._render);case X:P=g._payload,g=g._init;try{return Yt(g(P))}catch(U){}}return null}function lr(g){switch(typeof g){case"boolean":case"number":case"object":case"string":case"undefined":return g;default:return""}}function Ve(g){var P=g.type;return(g=g.nodeName)&&g.toLowerCase()==="input"&&(P==="checkbox"||P==="radio")}function Ct(g){var P=Ve(g)?"checked":"value",U=Object.getOwnPropertyDescriptor(g.constructor.prototype,P),ge=""+g[P];if(!g.hasOwnProperty(P)&&typeof U!="undefined"&&typeof U.get=="function"&&typeof U.set=="function"){var Me=U.get,at=U.set;return Object.defineProperty(g,P,{configurable:!0,get:function(){return Me.call(this)},set:function(E){ge=""+E,at.call(this,E)}}),Object.defineProperty(g,P,{enumerable:U.enumerable}),{getValue:function(){return ge},setValue:function(E){ge=""+E},stopTracking:function(){g._valueTracker=null,delete g[P]}}}}function Ut(g){g._valueTracker||(g._valueTracker=Ct(g))}function st(g){if(!g)return!1;var P=g._valueTracker;if(!P)return!0;var U=P.getValue(),ge="";return g&&(ge=Ve(g)?g.checked?"true":"false":g.value),g=ge,g!==U?(P.setValue(g),!0):!1}function xt(g){if(g=g||(typeof document!="undefined"?document:void 0),typeof g=="undefined")return null;try{return g.activeElement||g.body}catch(P){return g.body}}function ht(g,P){var U=P.checked;return i({},P,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:U!=null?U:g._wrapperState.initialChecked})}function rt(g,P){var U=P.defaultValue==null?"":P.defaultValue,ge=P.checked!=null?P.checked:P.defaultChecked;U=lr(P.value!=null?P.value:U),g._wrapperState={initialChecked:ge,initialValue:U,controlled:P.type==="checkbox"||P.type==="radio"?P.checked!=null:P.value!=null}}function Ue(g,P){P=P.checked,P!=null&&B(g,"checked",P,!1)}function ye(g,P){Ue(g,P);var U=lr(P.value),ge=P.type;if(U!=null)ge==="number"?(U===0&&g.value===""||g.value!=U)&&(g.value=""+U):g.value!==""+U&&(g.value=""+U);else if(ge==="submit"||ge==="reset"){g.removeAttribute("value");return}P.hasOwnProperty("value")?Fe(g,P.type,U):P.hasOwnProperty("defaultValue")&&Fe(g,P.type,lr(P.defaultValue)),P.checked==null&&P.defaultChecked!=null&&(g.defaultChecked=!!P.defaultChecked)}function Ce(g,P,U){if(P.hasOwnProperty("value")||P.hasOwnProperty("defaultValue")){var ge=P.type;if(!(ge!=="submit"&&ge!=="reset"||P.value!==void 0&&P.value!==null))return;P=""+g._wrapperState.initialValue,U||P===g.value||(g.value=P),g.defaultValue=P}U=g.name,U!==""&&(g.name=""),g.defaultChecked=!!g._wrapperState.initialChecked,U!==""&&(g.name=U)}function Fe(g,P,U){(P!=="number"||xt(g.ownerDocument)!==g)&&(U==null?g.defaultValue=""+g._wrapperState.initialValue:g.defaultValue!==""+U&&(g.defaultValue=""+U))}function je(g){var P="";return r.Children.forEach(g,function(U){U!=null&&(P+=U)}),P}function Ge(g,P){return g=i({children:void 0},P),(P=je(P.children))&&(g.children=P),g}function it(g,P,U,ge){if(g=g.options,P){P={};for(var Me=0;Me<U.length;Me++)P["$"+U[Me]]=!0;for(U=0;U<g.length;U++)Me=P.hasOwnProperty("$"+g[U].value),g[U].selected!==Me&&(g[U].selected=Me),Me&&ge&&(g[U].defaultSelected=!0)}else{for(U=""+lr(U),P=null,Me=0;Me<g.length;Me++){if(g[Me].value===U){g[Me].selected=!0,ge&&(g[Me].defaultSelected=!0);return}P!==null||g[Me].disabled||(P=g[Me])}P!==null&&(P.selected=!0)}}function ct(g,P){if(P.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},P,{value:void 0,defaultValue:void 0,children:""+g._wrapperState.initialValue})}function Gt(g,P){var U=P.value;if(U==null){if(U=P.children,P=P.defaultValue,U!=null){if(P!=null)throw Error(c(92));if(Array.isArray(U)){if(!(1>=U.length))throw Error(c(93));U=U[0]}P=U}P==null&&(P=""),U=P}g._wrapperState={initialValue:lr(U)}}function Ht(g,P){var U=lr(P.value),ge=lr(P.defaultValue);U!=null&&(U=""+U,U!==g.value&&(g.value=U),P.defaultValue==null&&g.defaultValue!==U&&(g.defaultValue=U)),ge!=null&&(g.defaultValue=""+ge)}function Pe(g){var P=g.textContent;P===g._wrapperState.initialValue&&P!==""&&P!==null&&(g.value=P)}var tt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Vt(g){switch(g){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function kt(g,P){return g==null||g==="http://www.w3.org/1999/xhtml"?Vt(P):g==="http://www.w3.org/2000/svg"&&P==="foreignObject"?"http://www.w3.org/1999/xhtml":g}var Zt,Nt=function(g){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(P,U,ge,Me){MSApp.execUnsafeLocalFunction(function(){return g(P,U,ge,Me)})}:g}(function(g,P){if(g.namespaceURI!==tt.svg||"innerHTML"in g)g.innerHTML=P;else{for(Zt=Zt||document.createElement("div"),Zt.innerHTML="<svg>"+P.valueOf().toString()+"</svg>",P=Zt.firstChild;g.firstChild;)g.removeChild(g.firstChild);for(;P.firstChild;)g.appendChild(P.firstChild)}});function At(g,P){if(P){var U=g.firstChild;if(U&&U===g.lastChild&&U.nodeType===3){U.nodeValue=P;return}}g.textContent=P}var qt={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},Ke=["Webkit","ms","Moz","O"];Object.keys(qt).forEach(function(g){Ke.forEach(function(P){P=P+g.charAt(0).toUpperCase()+g.substring(1),qt[P]=qt[g]})});function fe(g,P,U){return P==null||typeof P=="boolean"||P===""?"":U||typeof P!="number"||P===0||qt.hasOwnProperty(g)&&qt[g]?(""+P).trim():P+"px"}function pe(g,P){g=g.style;for(var U in P)if(P.hasOwnProperty(U)){var ge=U.indexOf("--")===0,Me=fe(U,P[U],ge);U==="float"&&(U="cssFloat"),ge?g.setProperty(U,Me):g[U]=Me}}var Dt=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 De(g,P){if(P){if(Dt[g]&&(P.children!=null||P.dangerouslySetInnerHTML!=null))throw Error(c(137,g));if(P.dangerouslySetInnerHTML!=null){if(P.children!=null)throw Error(c(60));if(!(typeof P.dangerouslySetInnerHTML=="object"&&"__html"in P.dangerouslySetInnerHTML))throw Error(c(61))}if(P.style!=null&&typeof P.style!="object")throw Error(c(62))}}function ft(g,P){if(g.indexOf("-")===-1)return typeof P.is=="string";switch(g){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function zt(g){return g=g.target||g.srcElement||window,g.correspondingUseElement&&(g=g.correspondingUseElement),g.nodeType===3?g.parentNode:g}var Et=null,Re=null,wt=null;function xe(g){if(g=Ka(g)){if(typeof Et!="function")throw Error(c(280));var P=g.stateNode;P&&(P=Ja(P),Et(g.stateNode,g.type,P))}}function qe(g){Re?wt?wt.push(g):wt=[g]:Re=g}function vt(){if(Re){var g=Re,P=wt;if(wt=Re=null,xe(g),P)for(g=0;g<P.length;g++)xe(P[g])}}function Ft(g,P){return g(P)}function Be(g,P,U,ge,Me){return g(P,U,ge,Me)}function Pr(){}var St=Ft,Zr=!1,Vr=!1;function xr(){(Re!==null||wt!==null)&&(Pr(),vt())}function Br(g,P,U){if(Vr)return g(P,U);Vr=!0;try{return St(g,P,U)}finally{Vr=!1,xr()}}function pr(g,P){var U=g.stateNode;if(U===null)return null;var ge=Ja(U);if(ge===null)return null;U=ge[P];e:switch(P){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ge=!ge.disabled)||(g=g.type,ge=!(g==="button"||g==="input"||g==="select"||g==="textarea")),g=!ge;break e;default:g=!1}if(g)return null;if(U&&typeof U!="function")throw Error(c(231,P,typeof U));return U}var $r=!1;if(a)try{var en={};Object.defineProperty(en,"passive",{get:function(){$r=!0}}),window.addEventListener("test",en,en),window.removeEventListener("test",en,en)}catch(g){$r=!1}function an(g,P,U,ge,Me,at,E,t,n){var s=Array.prototype.slice.call(arguments,3);try{P.apply(U,s)}catch(m){this.onError(m)}}var sr=!1,Rt=null,mt=!1,gt=null,$t={onError:function(g){sr=!0,Rt=g}};function Er(g,P,U,ge,Me,at,E,t,n){sr=!1,Rt=null,an.apply($t,arguments)}function vr(g,P,U,ge,Me,at,E,t,n){if(Er.apply(this,arguments),sr){if(sr){var s=Rt;sr=!1,Rt=null}else throw Error(c(198));mt||(mt=!0,gt=s)}}function ot(g){var P=g,U=g;if(g.alternate)for(;P.return;)P=P.return;else{g=P;do P=g,P.flags&1026&&(U=P.return),g=P.return;while(g)}return P.tag===3?U:null}function Mr(g){if(g.tag===13){var P=g.memoizedState;if(P===null&&(g=g.alternate,g!==null&&(P=g.memoizedState)),P!==null)return P.dehydrated}return null}function dn(g){if(ot(g)!==g)throw Error(c(188))}function jn(g){var P=g.alternate;if(!P){if(P=ot(g),P===null)throw Error(c(188));return P!==g?null:g}for(var U=g,ge=P;;){var Me=U.return;if(Me===null)break;var at=Me.alternate;if(at===null){if(ge=Me.return,ge!==null){U=ge;continue}break}if(Me.child===at.child){for(at=Me.child;at;){if(at===U)return dn(Me),g;if(at===ge)return dn(Me),P;at=at.sibling}throw Error(c(188))}if(U.return!==ge.return)U=Me,ge=at;else{for(var E=!1,t=Me.child;t;){if(t===U){E=!0,U=Me,ge=at;break}if(t===ge){E=!0,ge=Me,U=at;break}t=t.sibling}if(!E){for(t=at.child;t;){if(t===U){E=!0,U=at,ge=Me;break}if(t===ge){E=!0,ge=at,U=Me;break}t=t.sibling}if(!E)throw Error(c(189))}}if(U.alternate!==ge)throw Error(c(190))}if(U.tag!==3)throw Error(c(188));return U.stateNode.current===U?g:P}function _r(g){if(g=jn(g),!g)return null;for(var P=g;;){if(P.tag===5||P.tag===6)return P;if(P.child)P.child.return=P,P=P.child;else{if(P===g)break;for(;!P.sibling;){if(!P.return||P.return===g)return null;P=P.return}P.sibling.return=P.return,P=P.sibling}}return null}function qr(g,P){for(var U=g.alternate;P!==null;){if(P===g||P===U)return!0;P=P.return}return!1}var ln,Ln,Vn,Bn,Ui=!1,pi=[],bi=null,_i=null,li=null,Ki=new Map,Zn=new Map,Gi=[],ui="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 we(g,P,U,ge,Me){return{blockedOn:g,domEventName:P,eventSystemFlags:U|16,nativeEvent:Me,targetContainers:[ge]}}function Nn(g,P){switch(g){case"focusin":case"focusout":bi=null;break;case"dragenter":case"dragleave":_i=null;break;case"mouseover":case"mouseout":li=null;break;case"pointerover":case"pointerout":Ki.delete(P.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zn.delete(P.pointerId)}}function qn(g,P,U,ge,Me,at){return g===null||g.nativeEvent!==at?(g=we(P,U,ge,Me,at),P!==null&&(P=Ka(P),P!==null&&Ln(P)),g):(g.eventSystemFlags|=ge,P=g.targetContainers,Me!==null&&P.indexOf(Me)===-1&&P.push(Me),g)}function Wn(g,P,U,ge,Me){switch(P){case"focusin":return bi=qn(bi,g,P,U,ge,Me),!0;case"dragenter":return _i=qn(_i,g,P,U,ge,Me),!0;case"mouseover":return li=qn(li,g,P,U,ge,Me),!0;case"pointerover":var at=Me.pointerId;return Ki.set(at,qn(Ki.get(at)||null,g,P,U,ge,Me)),!0;case"gotpointercapture":return at=Me.pointerId,Zn.set(at,qn(Zn.get(at)||null,g,P,U,ge,Me)),!0}return!1}function zi(g){var P=La(g.target);if(P!==null){var U=ot(P);if(U!==null){if(P=U.tag,P===13){if(P=Mr(U),P!==null){g.blockedOn=P,Bn(g.lanePriority,function(){l.unstable_runWithPriority(g.priority,function(){Vn(U)})});return}}else if(P===3&&U.stateNode.hydrate){g.blockedOn=U.tag===3?U.stateNode.containerInfo:null;return}}}g.blockedOn=null}function di(g){if(g.blockedOn!==null)return!1;for(var P=g.targetContainers;0<P.length;){var U=sa(g.domEventName,g.eventSystemFlags,P[0],g.nativeEvent);if(U!==null)return P=Ka(U),P!==null&&Ln(P),g.blockedOn=U,!1;P.shift()}return!0}function Ti(g,P,U){di(g)&&U.delete(P)}function Yn(){for(Ui=!1;0<pi.length;){var g=pi[0];if(g.blockedOn!==null){g=Ka(g.blockedOn),g!==null&&ln(g);break}for(var P=g.targetContainers;0<P.length;){var U=sa(g.domEventName,g.eventSystemFlags,P[0],g.nativeEvent);if(U!==null){g.blockedOn=U;break}P.shift()}g.blockedOn===null&&pi.shift()}bi!==null&&di(bi)&&(bi=null),_i!==null&&di(_i)&&(_i=null),li!==null&&di(li)&&(li=null),Ki.forEach(Ti),Zn.forEach(Ti)}function Jt(g,P){g.blockedOn===P&&(g.blockedOn=null,Ui||(Ui=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Yn)))}function pt(g){function P(Me){return Jt(Me,g)}if(0<pi.length){Jt(pi[0],g);for(var U=1;U<pi.length;U++){var ge=pi[U];ge.blockedOn===g&&(ge.blockedOn=null)}}for(bi!==null&&Jt(bi,g),_i!==null&&Jt(_i,g),li!==null&&Jt(li,g),Ki.forEach(P),Zn.forEach(P),U=0;U<Gi.length;U++)ge=Gi[U],ge.blockedOn===g&&(ge.blockedOn=null);for(;0<Gi.length&&(U=Gi[0],U.blockedOn===null);)zi(U),U.blockedOn===null&&Gi.shift()}function nt(g,P){var U={};return U[g.toLowerCase()]=P.toLowerCase(),U["Webkit"+g]="webkit"+P,U["Moz"+g]="moz"+P,U}var Ot={animationend:nt("Animation","AnimationEnd"),animationiteration:nt("Animation","AnimationIteration"),animationstart:nt("Animation","AnimationStart"),transitionend:nt("Transition","TransitionEnd")},dt={},or={};a&&(or=document.createElement("div").style,"AnimationEvent"in window||(delete Ot.animationend.animation,delete Ot.animationiteration.animation,delete Ot.animationstart.animation),"TransitionEvent"in window||delete Ot.transitionend.transition);function cr(g){if(dt[g])return dt[g];if(!Ot[g])return g;var P=Ot[g],U;for(U in P)if(P.hasOwnProperty(U)&&U in or)return dt[g]=P[U];return g}var Ar=cr("animationend"),Ir=cr("animationiteration"),Ze=cr("animationstart"),Je=cr("transitionend"),Ee=new Map,ut=new Map,ir=["abort","abort",Ar,"animationEnd",Ir,"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",Je,"transitionEnd","waiting","waiting"];function br(g,P){for(var U=0;U<g.length;U+=2){var ge=g[U],Me=g[U+1];Me="on"+(Me[0].toUpperCase()+Me.slice(1)),ut.set(ge,P),Ee.set(ge,Me),h(Me,[ge])}}var Dr=l.unstable_now;Dr();var wr=8;function Fr(g){if(1&g)return wr=15,1;if(2&g)return wr=14,2;if(4&g)return wr=13,4;var P=24&g;return P!==0?(wr=12,P):g&32?(wr=11,32):(P=192&g,P!==0?(wr=10,P):g&256?(wr=9,256):(P=3584&g,P!==0?(wr=8,P):g&4096?(wr=7,4096):(P=4186112&g,P!==0?(wr=6,P):(P=62914560&g,P!==0?(wr=5,P):g&67108864?(wr=4,67108864):g&134217728?(wr=3,134217728):(P=805306368&g,P!==0?(wr=2,P):1073741824&g?(wr=1,1073741824):(wr=8,g))))))}function hn(g){switch(g){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Tr(g){switch(g){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(c(358,g))}}function sn(g,P){var U=g.pendingLanes;if(U===0)return wr=0;var ge=0,Me=0,at=g.expiredLanes,E=g.suspendedLanes,t=g.pingedLanes;if(at!==0)ge=at,Me=wr=15;else if(at=U&134217727,at!==0){var n=at&~E;n!==0?(ge=Fr(n),Me=wr):(t&=at,t!==0&&(ge=Fr(t),Me=wr))}else at=U&~E,at!==0?(ge=Fr(at),Me=wr):t!==0&&(ge=Fr(t),Me=wr);if(ge===0)return 0;if(ge=31-ci(ge),ge=U&((0>ge?0:1<<ge)<<1)-1,P!==0&&P!==ge&&!(P&E)){if(Fr(P),Me<=wr)return P;wr=Me}if(P=g.entangledLanes,P!==0)for(g=g.entanglements,P&=ge;0<P;)U=31-ci(P),Me=1<<U,ge|=g[U],P&=~Me;return ge}function Xr(g){return g=g.pendingLanes&-1073741825,g!==0?g:g&1073741824?1073741824:0}function nn(g,P){switch(g){case 15:return 1;case 14:return 2;case 12:return g=gn(24&~P),g===0?nn(10,P):g;case 10:return g=gn(192&~P),g===0?nn(8,P):g;case 8:return g=gn(3584&~P),g===0&&(g=gn(4186112&~P),g===0&&(g=512)),g;case 2:return P=gn(805306368&~P),P===0&&(P=268435456),P}throw Error(c(358,g))}function gn(g){return g&-g}function da(g){for(var P=[],U=0;31>U;U++)P.push(g);return P}function mi(g,P,U){g.pendingLanes|=P;var ge=P-1;g.suspendedLanes&=ge,g.pingedLanes&=ge,g=g.eventTimes,P=31-ci(P),g[P]=U}var ci=Math.clz32?Math.clz32:Oi,Cn=Math.log,Pi=Math.LN2;function Oi(g){return g===0?32:31-(Cn(g)/Pi|0)|0}var aa=l.unstable_UserBlockingPriority,Cs=l.unstable_runWithPriority,na=!0;function vs(g,P,U,ge){Zr||Pr();var Me=Ba,at=Zr;Zr=!0;try{Be(Me,g,P,U,ge)}finally{(Zr=at)||xr()}}function Ms(g,P,U,ge){Cs(aa,Ba.bind(null,g,P,U,ge))}function Ba(g,P,U,ge){if(na){var Me;if((Me=(P&4)===0)&&0<pi.length&&-1<ui.indexOf(g))g=we(null,g,P,U,ge),pi.push(g);else{var at=sa(g,P,U,ge);if(at===null)Me&&Nn(g,ge);else{if(Me){if(-1<ui.indexOf(g)){g=we(at,g,P,U,ge),pi.push(g);return}if(Wn(at,g,P,U,ge))return;Nn(g,ge)}jr(g,P,ge,null,U)}}}}function sa(g,P,U,ge){var Me=zt(ge);if(Me=La(Me),Me!==null){var at=ot(Me);if(at===null)Me=null;else{var E=at.tag;if(E===13){if(Me=Mr(at),Me!==null)return Me;Me=null}else if(E===3){if(at.stateNode.hydrate)return at.tag===3?at.stateNode.containerInfo:null;Me=null}else at!==Me&&(Me=null)}}return jr(g,P,ge,Me,U),null}var yn=null,bs=null,Xa=null;function xs(){if(Xa)return Xa;var g,P=bs,U=P.length,ge,Me="value"in yn?yn.value:yn.textContent,at=Me.length;for(g=0;g<U&&P[g]===Me[g];g++);var E=U-g;for(ge=1;ge<=E&&P[U-ge]===Me[at-ge];ge++);return Xa=Me.slice(g,1<ge?1-ge:void 0)}function ji(g){var P=g.keyCode;return"charCode"in g?(g=g.charCode,g===0&&P===13&&(g=13)):g=P,g===10&&(g=13),32<=g||g===13?g:0}function Fs(){return!0}function So(){return!1}function Da(g){function P(U,ge,Me,at,E){this._reactName=U,this._targetInst=Me,this.type=ge,this.nativeEvent=at,this.target=E,this.currentTarget=null;for(var t in g)g.hasOwnProperty(t)&&(U=g[t],this[t]=U?U(at):at[t]);return this.isDefaultPrevented=(at.defaultPrevented!=null?at.defaultPrevented:at.returnValue===!1)?Fs:So,this.isPropagationStopped=So,this}return i(P.prototype,{preventDefault:function(){this.defaultPrevented=!0;var U=this.nativeEvent;U&&(U.preventDefault?U.preventDefault():typeof U.returnValue!="unknown"&&(U.returnValue=!1),this.isDefaultPrevented=Fs)},stopPropagation:function(){var U=this.nativeEvent;U&&(U.stopPropagation?U.stopPropagation():typeof U.cancelBubble!="unknown"&&(U.cancelBubble=!0),this.isPropagationStopped=Fs)},persist:function(){},isPersistent:Fs}),P}var Ji={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qa=Da(Ji),Ks=i({},Ji,{view:0,detail:0}),Pn=Da(Ks),Wa,mo,Bs,Li=i({},Ks,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ga,button:0,buttons:0,relatedTarget:function(g){return g.relatedTarget===void 0?g.fromElement===g.srcElement?g.toElement:g.fromElement:g.relatedTarget},movementX:function(g){return"movementX"in g?g.movementX:(g!==Bs&&(Bs&&g.type==="mousemove"?(Wa=g.screenX-Bs.screenX,mo=g.screenY-Bs.screenY):mo=Wa=0,Bs=g),Wa)},movementY:function(g){return"movementY"in g?g.movementY:mo}}),Oa=Da(Li),ka=i({},Li,{dataTransfer:0}),os=Da(ka),Qs=i({},Ks,{relatedTarget:0}),Ao=Da(Qs),To=i({},Ji,{animationName:0,elapsedTime:0,pseudoElement:0}),ws=Da(To),wa=i({},Ji,{clipboardData:function(g){return"clipboardData"in g?g.clipboardData:window.clipboardData}}),us=Da(wa),vo=i({},Ji,{data:0}),Do=Da(vo),go={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$o={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"},oi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ni(g){var P=this.nativeEvent;return P.getModifierState?P.getModifierState(g):(g=oi[g])?!!P[g]:!1}function Ga(){return ni}var ts=i({},Ks,{key:function(g){if(g.key){var P=go[g.key]||g.key;if(P!=="Unidentified")return P}return g.type==="keypress"?(g=ji(g),g===13?"Enter":String.fromCharCode(g)):g.type==="keydown"||g.type==="keyup"?$o[g.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ga,charCode:function(g){return g.type==="keypress"?ji(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?ji(g):g.type==="keydown"||g.type==="keyup"?g.keyCode:0}}),Ia=Da(ts),uo=i({},Li,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jo=Da(uo),Qo=i({},Ks,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ga}),ls=Da(Qo),hu=i({},Ji,{propertyName:0,elapsedTime:0,pseudoElement:0}),Go=Da(hu),su=i({},Li,{deltaX:function(g){return"deltaX"in g?g.deltaX:"wheelDeltaX"in g?-g.wheelDeltaX:0},deltaY:function(g){return"deltaY"in g?g.deltaY:"wheelDeltaY"in g?-g.wheelDeltaY:"wheelDelta"in g?-g.wheelDelta:0},deltaZ:0,deltaMode:0}),lo=Da(su),$u=[9,13,27,32],Co=a&&"CompositionEvent"in window,wo=null;a&&"documentMode"in document&&(wo=document.documentMode);var Uo=a&&"TextEvent"in window&&!wo,pu=a&&(!Co||wo&&8<wo&&11>=wo),Ys=" ",bu=!1;function Jo(g,P){switch(g){case"keyup":return $u.indexOf(P.keyCode)!==-1;case"keydown":return P.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zo(g){return g=g.detail,typeof g=="object"&&"data"in g?g.data:null}var Zo=!1;function ns(g,P){switch(g){case"compositionend":return zo(P);case"keypress":return P.which!==32?null:(bu=!0,Ys);case"textInput":return g=P.data,g===Ys&&bu?null:g;default:return null}}function Js(g,P){if(Zo)return g==="compositionend"||!Co&&Jo(g,P)?(g=xs(),Xa=bs=yn=null,Zo=!1,g):null;switch(g){case"paste":return null;case"keypress":if(!(P.ctrlKey||P.altKey||P.metaKey)||P.ctrlKey&&P.altKey){if(P.char&&1<P.char.length)return P.char;if(P.which)return String.fromCharCode(P.which)}return null;case"compositionend":return pu&&P.locale!=="ko"?null:P.data;default:return null}}var ju={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Qt(g){var P=g&&g.nodeName&&g.nodeName.toLowerCase();return P==="input"?!!ju[g.type]:P==="textarea"}function fr(g,P,U,ge){qe(ge),P=tn(P,"onChange"),0<P.length&&(U=new Qa("onChange","change",null,U,ge),g.push({event:U,listeners:P}))}var ar=null,dr=null;function Sr(g){Xe(g,0)}function un(g){var P=fo(g);if(st(P))return g}function Mn(g,P){if(g==="change")return P}var bn=!1;if(a){var In;if(a){var Qn="oninput"in document;if(!Qn){var Xn=document.createElement("div");Xn.setAttribute("oninput","return;"),Qn=typeof Xn.oninput=="function"}In=Qn}else In=!1;bn=In&&(!document.documentMode||9<document.documentMode)}function ur(){ar&&(ar.detachEvent("onpropertychange",Rr),dr=ar=null)}function Rr(g){if(g.propertyName==="value"&&un(dr)){var P=[];if(fr(P,dr,g,zt(g)),g=Sr,Zr)g(P);else{Zr=!0;try{Ft(g,P)}finally{Zr=!1,xr()}}}}function Or(g,P,U){g==="focusin"?(ur(),ar=P,dr=U,ar.attachEvent("onpropertychange",Rr)):g==="focusout"&&ur()}function pn(g){if(g==="selectionchange"||g==="keyup"||g==="keydown")return un(dr)}function _n(g,P){if(g==="click")return un(P)}function _t(g,P){if(g==="input"||g==="change")return un(P)}function Dn(g,P){return g===P&&(g!==0||1/g===1/P)||g!==g&&P!==P}var kn=typeof Object.is=="function"?Object.is:Dn,vi=Object.prototype.hasOwnProperty;function Wi(g,P){if(kn(g,P))return!0;if(typeof g!="object"||g===null||typeof P!="object"||P===null)return!1;var U=Object.keys(g),ge=Object.keys(P);if(U.length!==ge.length)return!1;for(ge=0;ge<U.length;ge++)if(!vi.call(P,U[ge])||!kn(g[U[ge]],P[U[ge]]))return!1;return!0}function er(g){for(;g&&g.firstChild;)g=g.firstChild;return g}function Yi(g,P){var U=er(g);g=0;for(var ge;U;){if(U.nodeType===3){if(ge=g+U.textContent.length,g<=P&&ge>=P)return{node:U,offset:P-g};g=ge}e:{for(;U;){if(U.nextSibling){U=U.nextSibling;break e}U=U.parentNode}U=void 0}U=er(U)}}function ki(g,P){return g&&P?g===P?!0:g&&g.nodeType===3?!1:P&&P.nodeType===3?ki(g,P.parentNode):"contains"in g?g.contains(P):g.compareDocumentPosition?!!(g.compareDocumentPosition(P)&16):!1:!1}function ua(){for(var g=window,P=xt();P instanceof g.HTMLIFrameElement;){try{var U=typeof P.contentWindow.location.href=="string"}catch(ge){U=!1}if(U)g=P.contentWindow;else break;P=xt(g.document)}return P}function qs(g){var P=g&&g.nodeName&&g.nodeName.toLowerCase();return P&&(P==="input"&&(g.type==="text"||g.type==="search"||g.type==="tel"||g.type==="url"||g.type==="password")||P==="textarea"||g.contentEditable==="true")}var fs=a&&"documentMode"in document&&11>=document.documentMode,Ci=null,co=null,Zs=null,Va=!1;function Ra(g,P,U){var ge=U.window===U?U.document:U.nodeType===9?U:U.ownerDocument;Va||Ci==null||Ci!==xt(ge)||(ge=Ci,"selectionStart"in ge&&qs(ge)?ge={start:ge.selectionStart,end:ge.selectionEnd}:(ge=(ge.ownerDocument&&ge.ownerDocument.defaultView||window).getSelection(),ge={anchorNode:ge.anchorNode,anchorOffset:ge.anchorOffset,focusNode:ge.focusNode,focusOffset:ge.focusOffset}),Zs&&Wi(Zs,ge)||(Zs=ge,ge=tn(co,"onSelect"),0<ge.length&&(P=new Qa("onSelect","select",null,P,U),g.push({event:P,listeners:ge}),P.target=Ci)))}br("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),br("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),br(ir,2);for(var eo="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),to=0;to<eo.length;to++)ut.set(eo[to],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Es=new Set("cancel close invalid load scroll toggle".split(" ").concat(mn));function Hs(g,P,U){var ge=g.type||"unknown-event";g.currentTarget=U,vr(ge,P,void 0,g),g.currentTarget=null}function Xe(g,P){P=(P&4)!==0;for(var U=0;U<g.length;U++){var ge=g[U],Me=ge.event;ge=ge.listeners;e:{var at=void 0;if(P)for(var E=ge.length-1;0<=E;E--){var t=ge[E],n=t.instance,s=t.currentTarget;if(t=t.listener,n!==at&&Me.isPropagationStopped())break e;Hs(Me,t,s),at=n}else for(E=0;E<ge.length;E++){if(t=ge[E],n=t.instance,s=t.currentTarget,t=t.listener,n!==at&&Me.isPropagationStopped())break e;Hs(Me,t,s),at=n}}}if(mt)throw g=gt,mt=!1,gt=null,g}function Qe(g,P){var U=Ea(P),ge=g+"__bubble";U.has(ge)||(Lr(P,g,2,!1),U.add(ge))}var Mt="_reactListening"+Math.random().toString(36).slice(2);function Wt(g){g[Mt]||(g[Mt]=!0,f.forEach(function(P){Es.has(P)||mr(P,!1,g,null),mr(P,!0,g,null)}))}function mr(g,P,U,ge){var Me=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,at=U;if(g==="selectionchange"&&U.nodeType!==9&&(at=U.ownerDocument),ge!==null&&!P&&Es.has(g)){if(g!=="scroll")return;Me|=2,at=ge}var E=Ea(at),t=g+"__"+(P?"capture":"bubble");E.has(t)||(P&&(Me|=4),Lr(at,g,Me,P),E.add(t))}function Lr(g,P,U,ge){var Me=ut.get(P);switch(Me===void 0?2:Me){case 0:Me=vs;break;case 1:Me=Ms;break;default:Me=Ba}U=Me.bind(null,P,U,g),Me=void 0,!$r||P!=="touchstart"&&P!=="touchmove"&&P!=="wheel"||(Me=!0),ge?Me!==void 0?g.addEventListener(P,U,{capture:!0,passive:Me}):g.addEventListener(P,U,!0):Me!==void 0?g.addEventListener(P,U,{passive:Me}):g.addEventListener(P,U,!1)}function jr(g,P,U,ge,Me){var at=ge;if(!(P&1)&&!(P&2)&&ge!==null)e:for(;;){if(ge===null)return;var E=ge.tag;if(E===3||E===4){var t=ge.stateNode.containerInfo;if(t===Me||t.nodeType===8&&t.parentNode===Me)break;if(E===4)for(E=ge.return;E!==null;){var n=E.tag;if((n===3||n===4)&&(n=E.stateNode.containerInfo,n===Me||n.nodeType===8&&n.parentNode===Me))return;E=E.return}for(;t!==null;){if(E=La(t),E===null)return;if(n=E.tag,n===5||n===6){ge=at=E;continue e}t=t.parentNode}}ge=ge.return}Br(function(){var s=at,m=zt(U),w=[];e:{var C=Ee.get(g);if(C!==void 0){var j=Qa,Y=g;switch(g){case"keypress":if(ji(U)===0)break e;case"keydown":case"keyup":j=Ia;break;case"focusin":Y="focus",j=Ao;break;case"focusout":Y="blur",j=Ao;break;case"beforeblur":case"afterblur":j=Ao;break;case"click":if(U.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=Oa;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=os;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=ls;break;case Ar:case Ir:case Ze:j=ws;break;case Je:j=Go;break;case"scroll":j=Pn;break;case"wheel":j=lo;break;case"copy":case"cut":case"paste":j=us;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=jo}var H=(P&4)!==0,te=!H&&g==="scroll",oe=H?C!==null?C+"Capture":null:C;H=[];for(var me=s,Se;me!==null;){Se=me;var Ae=Se.stateNode;if(Se.tag===5&&Ae!==null&&(Se=Ae,oe!==null&&(Ae=pr(me,oe),Ae!=null&&H.push(cn(me,Ae,Se)))),te)break;me=me.return}0<H.length&&(C=new j(C,Y,null,U,m),w.push({event:C,listeners:H}))}}if(!(P&7)){e:{if(C=g==="mouseover"||g==="pointerover",j=g==="mouseout"||g==="pointerout",C&&!(P&16)&&(Y=U.relatedTarget||U.fromElement)&&(La(Y)||Y[Ii]))break e;if((j||C)&&(C=m.window===m?m:(C=m.ownerDocument)?C.defaultView||C.parentWindow:window,j?(Y=U.relatedTarget||U.toElement,j=s,Y=Y?La(Y):null,Y!==null&&(te=ot(Y),Y!==te||Y.tag!==5&&Y.tag!==6)&&(Y=null)):(j=null,Y=s),j!==Y)){if(H=Oa,Ae="onMouseLeave",oe="onMouseEnter",me="mouse",(g==="pointerout"||g==="pointerover")&&(H=jo,Ae="onPointerLeave",oe="onPointerEnter",me="pointer"),te=j==null?C:fo(j),Se=Y==null?C:fo(Y),C=new H(Ae,me+"leave",j,U,m),C.target=te,C.relatedTarget=Se,Ae=null,La(m)===s&&(H=new H(oe,me+"enter",Y,U,m),H.target=Se,H.relatedTarget=te,Ae=H),te=Ae,j&&Y)t:{for(H=j,oe=Y,me=0,Se=H;Se;Se=fn(Se))me++;for(Se=0,Ae=oe;Ae;Ae=fn(Ae))Se++;for(;0<me-Se;)H=fn(H),me--;for(;0<Se-me;)oe=fn(oe),Se--;for(;me--;){if(H===oe||oe!==null&&H===oe.alternate)break t;H=fn(H),oe=fn(oe)}H=null}else H=null;j!==null&&Hn(w,C,j,H,!1),Y!==null&&te!==null&&Hn(w,te,Y,H,!0)}}e:{if(C=s?fo(s):window,j=C.nodeName&&C.nodeName.toLowerCase(),j==="select"||j==="input"&&C.type==="file")var lt=Mn;else if(Qt(C))if(bn)lt=_t;else{lt=pn;var et=Or}else(j=C.nodeName)&&j.toLowerCase()==="input"&&(C.type==="checkbox"||C.type==="radio")&&(lt=_n);if(lt&&(lt=lt(g,s))){fr(w,lt,U,m);break e}et&&et(g,C,s),g==="focusout"&&(et=C._wrapperState)&&et.controlled&&C.type==="number"&&Fe(C,"number",C.value)}switch(et=s?fo(s):window,g){case"focusin":(Qt(et)||et.contentEditable==="true")&&(Ci=et,co=s,Zs=null);break;case"focusout":Zs=co=Ci=null;break;case"mousedown":Va=!0;break;case"contextmenu":case"mouseup":case"dragend":Va=!1,Ra(w,U,m);break;case"selectionchange":if(fs)break;case"keydown":case"keyup":Ra(w,U,m)}var Lt;if(Co)e:{switch(g){case"compositionstart":var tr="onCompositionStart";break e;case"compositionend":tr="onCompositionEnd";break e;case"compositionupdate":tr="onCompositionUpdate";break e}tr=void 0}else Zo?Jo(g,U)&&(tr="onCompositionEnd"):g==="keydown"&&U.keyCode===229&&(tr="onCompositionStart");tr&&(pu&&U.locale!=="ko"&&(Zo||tr!=="onCompositionStart"?tr==="onCompositionEnd"&&Zo&&(Lt=xs()):(yn=m,bs="value"in yn?yn.value:yn.textContent,Zo=!0)),et=tn(s,tr),0<et.length&&(tr=new Do(tr,g,null,U,m),w.push({event:tr,listeners:et}),Lt?tr.data=Lt:(Lt=zo(U),Lt!==null&&(tr.data=Lt)))),(Lt=Uo?ns(g,U):Js(g,U))&&(s=tn(s,"onBeforeInput"),0<s.length&&(m=new Do("onBeforeInput","beforeinput",null,U,m),w.push({event:m,listeners:s}),m.data=Lt))}Xe(w,P)})}function cn(g,P,U){return{instance:g,listener:P,currentTarget:U}}function tn(g,P){for(var U=P+"Capture",ge=[];g!==null;){var Me=g,at=Me.stateNode;Me.tag===5&&at!==null&&(Me=at,at=pr(g,U),at!=null&&ge.unshift(cn(g,at,Me)),at=pr(g,P),at!=null&&ge.push(cn(g,at,Me))),g=g.return}return ge}function fn(g){if(g===null)return null;do g=g.return;while(g&&g.tag!==5);return g||null}function Hn(g,P,U,ge,Me){for(var at=P._reactName,E=[];U!==null&&U!==ge;){var t=U,n=t.alternate,s=t.stateNode;if(n!==null&&n===ge)break;t.tag===5&&s!==null&&(t=s,Me?(n=pr(U,at),n!=null&&E.unshift(cn(U,n,t))):Me||(n=pr(U,at),n!=null&&E.push(cn(U,n,t)))),U=U.return}E.length!==0&&g.push({event:P,listeners:E})}function Kn(){}var fi=null,xi=null;function qi(g,P){switch(g){case"button":case"input":case"select":case"textarea":return!!P.autoFocus}return!1}function Ri(g,P){return g==="textarea"||g==="option"||g==="noscript"||typeof P.children=="string"||typeof P.children=="number"||typeof P.dangerouslySetInnerHTML=="object"&&P.dangerouslySetInnerHTML!==null&&P.dangerouslySetInnerHTML.__html!=null}var wi=typeof setTimeout=="function"?setTimeout:void 0,ha=typeof clearTimeout=="function"?clearTimeout:void 0;function gi(g){g.nodeType===1?g.textContent="":g.nodeType===9&&(g=g.body,g!=null&&(g.textContent=""))}function yi(g){for(;g!=null;g=g.nextSibling){var P=g.nodeType;if(P===1||P===3)break}return g}function pa(g){g=g.previousSibling;for(var P=0;g;){if(g.nodeType===8){var U=g.data;if(U==="$"||U==="$!"||U==="$?"){if(P===0)return g;P--}else U==="/$"&&P++}g=g.previousSibling}return null}var ro=0;function Ss(g){return{$$typeof:z,toString:g,valueOf:g}}var Na=Math.random().toString(36).slice(2),$a="__reactFiber$"+Na,za="__reactProps$"+Na,Ii="__reactContainer$"+Na,ga="__reactEvents$"+Na;function La(g){var P=g[$a];if(P)return P;for(var U=g.parentNode;U;){if(P=U[Ii]||U[$a]){if(U=P.alternate,P.child!==null||U!==null&&U.child!==null)for(g=pa(g);g!==null;){if(U=g[$a])return U;g=pa(g)}return P}g=U,U=g.parentNode}return null}function Ka(g){return g=g[$a]||g[Ii],!g||g.tag!==5&&g.tag!==6&&g.tag!==13&&g.tag!==3?null:g}function fo(g){if(g.tag===5||g.tag===6)return g.stateNode;throw Error(c(33))}function Ja(g){return g[za]||null}function Ea(g){var P=g[ga];return P===void 0&&(P=g[ga]=new Set),P}var Ns=[],ea=-1;function cs(g){return{current:g}}function la(g){0>ea||(g.current=Ns[ea],Ns[ea]=null,ea--)}function Ya(g,P){ea++,Ns[ea]=g.current,g.current=P}var gs={},ya=cs(gs),be=cs(!1),Te=gs;function yr(g,P){var U=g.type.contextTypes;if(!U)return gs;var ge=g.stateNode;if(ge&&ge.__reactInternalMemoizedUnmaskedChildContext===P)return ge.__reactInternalMemoizedMaskedChildContext;var Me={},at;for(at in U)Me[at]=P[at];return ge&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=P,g.__reactInternalMemoizedMaskedChildContext=Me),Me}function Kr(g){return g=g.childContextTypes,g!=null}function gr(){la(be),la(ya)}function Wr(g,P,U){if(ya.current!==gs)throw Error(c(168));Ya(ya,P),Ya(be,U)}function xn(g,P,U){var ge=g.stateNode;if(g=P.childContextTypes,typeof ge.getChildContext!="function")return U;ge=ge.getChildContext();for(var Me in ge)if(!(Me in g))throw Error(c(108,Yt(P)||"Unknown",Me));return i({},U,ge)}function Gn(g){return g=(g=g.stateNode)&&g.__reactInternalMemoizedMergedChildContext||gs,Te=ya.current,Ya(ya,g),Ya(be,be.current),!0}function Di(g,P,U){var ge=g.stateNode;if(!ge)throw Error(c(169));U?(g=xn(g,P,Te),ge.__reactInternalMemoizedMergedChildContext=g,la(be),la(ya),Ya(ya,g)):la(be),Ya(be,U)}var On=null,Rn=null,En=l.unstable_runWithPriority,oa=l.unstable_scheduleCallback,ja=l.unstable_cancelCallback,Eo=l.unstable_shouldYield,ho=l.unstable_requestPaint,eu=l.unstable_now,xl=l.unstable_getCurrentPriorityLevel,Uu=l.unstable_ImmediatePriority,_u=l.unstable_UserBlockingPriority,wc=l.unstable_NormalPriority,xu=l.unstable_LowPriority,We=l.unstable_IdlePriority,Z={},q=ho!==void 0?ho:function(){},ie=null,he=null,Ie=!1,Ye=eu(),Tt=1e4>Ye?eu:function(){return eu()-Ye};function jt(){switch(xl()){case Uu:return 99;case _u:return 98;case wc:return 97;case xu:return 96;case We:return 95;default:throw Error(c(332))}}function nr(g){switch(g){case 99:return Uu;case 98:return _u;case 97:return wc;case 96:return xu;case 95:return We;default:throw Error(c(332))}}function Pt(g,P){return g=nr(g),En(g,P)}function Ur(g,P,U){return g=nr(g),oa(g,P,U)}function Qr(){if(he!==null){var g=he;he=null,ja(g)}vn()}function vn(){if(!Ie&&ie!==null){Ie=!0;var g=0;try{var P=ie;Pt(99,function(){for(;g<P.length;g++){var U=P[g];do U=U(!0);while(U!==null)}}),ie=null}catch(U){throw ie!==null&&(ie=ie.slice(g+1)),oa(Uu,Qr),U}finally{Ie=!1}}}var Tn=N.ReactCurrentBatchConfig;function Un(g,P){if(g&&g.defaultProps){P=i({},P),g=g.defaultProps;for(var U in g)P[U]===void 0&&(P[U]=g[U]);return P}return P}var Ei=cs(null),ca=null,ta=null,fa=null;function Ua(){fa=ta=ca=null}function es(g){var P=Ei.current;la(Ei),g.type._context._currentValue=P}function ds(g,P){for(;g!==null;){var U=g.alternate;if((g.childLanes&P)===P){if(U===null||(U.childLanes&P)===P)break;U.childLanes|=P}else g.childLanes|=P,U!==null&&(U.childLanes|=P);g=g.return}}function is(g,P){ca=g,fa=ta=null,g=g.dependencies,g!==null&&g.firstContext!==null&&(g.lanes&P&&(Su=!0),g.firstContext=null)}function Xi(g,P){if(fa!==g&&P!==!1&&P!==0)if((typeof P!="number"||P===1073741823)&&(fa=g,P=1073741823),P={context:g,observedBits:P,next:null},ta===null){if(ca===null)throw Error(c(308));ta=P,ca.dependencies={lanes:0,firstContext:P,responders:null}}else ta=ta.next=P;return g._currentValue}var $s=!1;function Ps(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Sa(g,P){g=g.updateQueue,P.updateQueue===g&&(P.updateQueue={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects})}function po(g,P){return{eventTime:g,lane:P,tag:0,payload:null,callback:null,next:null}}function yo(g,P){if(g=g.updateQueue,g!==null){g=g.shared;var U=g.pending;U===null?P.next=P:(P.next=U.next,U.next=P),g.pending=P}}function tu(g,P){var U=g.updateQueue,ge=g.alternate;if(ge!==null&&(ge=ge.updateQueue,U===ge)){var Me=null,at=null;if(U=U.firstBaseUpdate,U!==null){do{var E={eventTime:U.eventTime,lane:U.lane,tag:U.tag,payload:U.payload,callback:U.callback,next:null};at===null?Me=at=E:at=at.next=E,U=U.next}while(U!==null);at===null?Me=at=P:at=at.next=P}else Me=at=P;U={baseState:ge.baseState,firstBaseUpdate:Me,lastBaseUpdate:at,shared:ge.shared,effects:ge.effects},g.updateQueue=U;return}g=U.lastBaseUpdate,g===null?U.firstBaseUpdate=P:g.next=P,U.lastBaseUpdate=P}function Is(g,P,U,ge){var Me=g.updateQueue;$s=!1;var at=Me.firstBaseUpdate,E=Me.lastBaseUpdate,t=Me.shared.pending;if(t!==null){Me.shared.pending=null;var n=t,s=n.next;n.next=null,E===null?at=s:E.next=s,E=n;var m=g.alternate;if(m!==null){m=m.updateQueue;var w=m.lastBaseUpdate;w!==E&&(w===null?m.firstBaseUpdate=s:w.next=s,m.lastBaseUpdate=n)}}if(at!==null){w=Me.baseState,E=0,m=s=n=null;do{t=at.lane;var C=at.eventTime;if((ge&t)===t){m!==null&&(m=m.next={eventTime:C,lane:0,tag:at.tag,payload:at.payload,callback:at.callback,next:null});e:{var j=g,Y=at;switch(t=P,C=U,Y.tag){case 1:if(j=Y.payload,typeof j=="function"){w=j.call(C,w,t);break e}w=j;break e;case 3:j.flags=j.flags&-4097|64;case 0:if(j=Y.payload,t=typeof j=="function"?j.call(C,w,t):j,t==null)break e;w=i({},w,t);break e;case 2:$s=!0}}at.callback!==null&&(g.flags|=32,t=Me.effects,t===null?Me.effects=[at]:t.push(at))}else C={eventTime:C,lane:t,tag:at.tag,payload:at.payload,callback:at.callback,next:null},m===null?(s=m=C,n=w):m=m.next=C,E|=t;if(at=at.next,at===null){if(t=Me.shared.pending,t===null)break;at=t.next,t.next=null,Me.lastBaseUpdate=t,Me.shared.pending=null}}while(!0);m===null&&(n=w),Me.baseState=n,Me.firstBaseUpdate=s,Me.lastBaseUpdate=m,ze|=E,g.lanes=E,g.memoizedState=w}}function Ds(g,P,U){if(g=P.effects,P.effects=null,g!==null)for(P=0;P<g.length;P++){var ge=g[P],Me=ge.callback;if(Me!==null){if(ge.callback=null,ge=U,typeof Me!="function")throw Error(c(191,Me));Me.call(ge)}}}var Vo=new r.Component().refs;function wl(g,P,U,ge){P=g.memoizedState,U=U(ge,P),U=U==null?P:i({},P,U),g.memoizedState=U,g.lanes===0&&(g.updateQueue.baseState=U)}var el={isMounted:function(g){return(g=g._reactInternals)?ot(g)===g:!1},enqueueSetState:function(g,P,U){g=g._reactInternals;var ge=Bo(),Me=Xu(g),at=po(ge,Me);at.payload=P,U!=null&&(at.callback=U),yo(g,at),_l(g,Me,ge)},enqueueReplaceState:function(g,P,U){g=g._reactInternals;var ge=Bo(),Me=Xu(g),at=po(ge,Me);at.tag=1,at.payload=P,U!=null&&(at.callback=U),yo(g,at),_l(g,Me,ge)},enqueueForceUpdate:function(g,P){g=g._reactInternals;var U=Bo(),ge=Xu(g),Me=po(U,ge);Me.tag=2,P!=null&&(Me.callback=P),yo(g,Me),_l(g,ge,U)}};function Ma(g,P,U,ge,Me,at,E){return g=g.stateNode,typeof g.shouldComponentUpdate=="function"?g.shouldComponentUpdate(ge,at,E):P.prototype&&P.prototype.isPureReactComponent?!Wi(U,ge)||!Wi(Me,at):!0}function ou(g,P,U){var ge=!1,Me=gs,at=P.contextType;return typeof at=="object"&&at!==null?at=Xi(at):(Me=Kr(P)?Te:ya.current,ge=P.contextTypes,at=(ge=ge!=null)?yr(g,Me):gs),P=new P(U,at),g.memoizedState=P.state!==null&&P.state!==void 0?P.state:null,P.updater=el,g.stateNode=P,P._reactInternals=g,ge&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=Me,g.__reactInternalMemoizedMaskedChildContext=at),P}function Ws(g,P,U,ge){g=P.state,typeof P.componentWillReceiveProps=="function"&&P.componentWillReceiveProps(U,ge),typeof P.UNSAFE_componentWillReceiveProps=="function"&&P.UNSAFE_componentWillReceiveProps(U,ge),P.state!==g&&el.enqueueReplaceState(P,P.state,null)}function zu(g,P,U,ge){var Me=g.stateNode;Me.props=U,Me.state=g.memoizedState,Me.refs=Vo,Ps(g);var at=P.contextType;typeof at=="object"&&at!==null?Me.context=Xi(at):(at=Kr(P)?Te:ya.current,Me.context=yr(g,at)),Is(g,U,Me,ge),Me.state=g.memoizedState,at=P.getDerivedStateFromProps,typeof at=="function"&&(wl(g,P,at,U),Me.state=g.memoizedState),typeof P.getDerivedStateFromProps=="function"||typeof Me.getSnapshotBeforeUpdate=="function"||typeof Me.UNSAFE_componentWillMount!="function"&&typeof Me.componentWillMount!="function"||(P=Me.state,typeof Me.componentWillMount=="function"&&Me.componentWillMount(),typeof Me.UNSAFE_componentWillMount=="function"&&Me.UNSAFE_componentWillMount(),P!==Me.state&&el.enqueueReplaceState(Me,Me.state,null),Is(g,U,Me,ge),Me.state=g.memoizedState),typeof Me.componentDidMount=="function"&&(g.flags|=4)}var Tu=Array.isArray;function Oo(g,P,U){if(g=U.ref,g!==null&&typeof g!="function"&&typeof g!="object"){if(U._owner){if(U=U._owner,U){if(U.tag!==1)throw Error(c(309));var ge=U.stateNode}if(!ge)throw Error(c(147,g));var Me=""+g;return P!==null&&P.ref!==null&&typeof P.ref=="function"&&P.ref._stringRef===Me?P.ref:(P=function(at){var E=ge.refs;E===Vo&&(E=ge.refs={}),at===null?delete E[Me]:E[Me]=at},P._stringRef=Me,P)}if(typeof g!="string")throw Error(c(284));if(!U._owner)throw Error(c(290,g))}return g}function Po(g,P){if(g.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(P)==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":P))}function $l(g){function P(te,oe){if(g){var me=te.lastEffect;me!==null?(me.nextEffect=oe,te.lastEffect=oe):te.firstEffect=te.lastEffect=oe,oe.nextEffect=null,oe.flags=8}}function U(te,oe){if(!g)return null;for(;oe!==null;)P(te,oe),oe=oe.sibling;return null}function ge(te,oe){for(te=new Map;oe!==null;)oe.key!==null?te.set(oe.key,oe):te.set(oe.index,oe),oe=oe.sibling;return te}function Me(te,oe){return te=Fu(te,oe),te.index=0,te.sibling=null,te}function at(te,oe,me){return te.index=me,g?(me=te.alternate,me!==null?(me=me.index,me<oe?(te.flags=2,oe):me):(te.flags=2,oe)):oe}function E(te){return g&&te.alternate===null&&(te.flags=2),te}function t(te,oe,me,Se){return oe===null||oe.tag!==6?(oe=df(me,te.mode,Se),oe.return=te,oe):(oe=Me(oe,me),oe.return=te,oe)}function n(te,oe,me,Se){return oe!==null&&oe.elementType===me.type?(Se=Me(oe,me.props),Se.ref=Oo(te,oe,me),Se.return=te,Se):(Se=bc(me.type,me.key,me.props,null,te.mode,Se),Se.ref=Oo(te,oe,me),Se.return=te,Se)}function s(te,oe,me,Se){return oe===null||oe.tag!==4||oe.stateNode.containerInfo!==me.containerInfo||oe.stateNode.implementation!==me.implementation?(oe=Mc(me,te.mode,Se),oe.return=te,oe):(oe=Me(oe,me.children||[]),oe.return=te,oe)}function m(te,oe,me,Se,Ae){return oe===null||oe.tag!==7?(oe=Io(me,te.mode,Se,Ae),oe.return=te,oe):(oe=Me(oe,me),oe.return=te,oe)}function w(te,oe,me){if(typeof oe=="string"||typeof oe=="number")return oe=df(""+oe,te.mode,me),oe.return=te,oe;if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case K:return me=bc(oe.type,oe.key,oe.props,null,te.mode,me),me.ref=Oo(te,null,oe),me.return=te,me;case G:return oe=Mc(oe,te.mode,me),oe.return=te,oe}if(Tu(oe)||He(oe))return oe=Io(oe,te.mode,me,null),oe.return=te,oe;Po(te,oe)}return null}function C(te,oe,me,Se){var Ae=oe!==null?oe.key:null;if(typeof me=="string"||typeof me=="number")return Ae!==null?null:t(te,oe,""+me,Se);if(typeof me=="object"&&me!==null){switch(me.$$typeof){case K:return me.key===Ae?me.type===W?m(te,oe,me.props.children,Se,Ae):n(te,oe,me,Se):null;case G:return me.key===Ae?s(te,oe,me,Se):null}if(Tu(me)||He(me))return Ae!==null?null:m(te,oe,me,Se,null);Po(te,me)}return null}function j(te,oe,me,Se,Ae){if(typeof Se=="string"||typeof Se=="number")return te=te.get(me)||null,t(oe,te,""+Se,Ae);if(typeof Se=="object"&&Se!==null){switch(Se.$$typeof){case K:return te=te.get(Se.key===null?me:Se.key)||null,Se.type===W?m(oe,te,Se.props.children,Ae,Se.key):n(oe,te,Se,Ae);case G:return te=te.get(Se.key===null?me:Se.key)||null,s(oe,te,Se,Ae)}if(Tu(Se)||He(Se))return te=te.get(me)||null,m(oe,te,Se,Ae,null);Po(oe,Se)}return null}function Y(te,oe,me,Se){for(var Ae=null,lt=null,et=oe,Lt=oe=0,tr=null;et!==null&&Lt<me.length;Lt++){et.index>Lt?(tr=et,et=null):tr=et.sibling;var Kt=C(te,et,me[Lt],Se);if(Kt===null){et===null&&(et=tr);break}g&&et&&Kt.alternate===null&&P(te,et),oe=at(Kt,oe,Lt),lt===null?Ae=Kt:lt.sibling=Kt,lt=Kt,et=tr}if(Lt===me.length)return U(te,et),Ae;if(et===null){for(;Lt<me.length;Lt++)et=w(te,me[Lt],Se),et!==null&&(oe=at(et,oe,Lt),lt===null?Ae=et:lt.sibling=et,lt=et);return Ae}for(et=ge(te,et);Lt<me.length;Lt++)tr=j(et,te,Lt,me[Lt],Se),tr!==null&&(g&&tr.alternate!==null&&et.delete(tr.key===null?Lt:tr.key),oe=at(tr,oe,Lt),lt===null?Ae=tr:lt.sibling=tr,lt=tr);return g&&et.forEach(function(Cr){return P(te,Cr)}),Ae}function H(te,oe,me,Se){var Ae=He(me);if(typeof Ae!="function")throw Error(c(150));if(me=Ae.call(me),me==null)throw Error(c(151));for(var lt=Ae=null,et=oe,Lt=oe=0,tr=null,Kt=me.next();et!==null&&!Kt.done;Lt++,Kt=me.next()){et.index>Lt?(tr=et,et=null):tr=et.sibling;var Cr=C(te,et,Kt.value,Se);if(Cr===null){et===null&&(et=tr);break}g&&et&&Cr.alternate===null&&P(te,et),oe=at(Cr,oe,Lt),lt===null?Ae=Cr:lt.sibling=Cr,lt=Cr,et=tr}if(Kt.done)return U(te,et),Ae;if(et===null){for(;!Kt.done;Lt++,Kt=me.next())Kt=w(te,Kt.value,Se),Kt!==null&&(oe=at(Kt,oe,Lt),lt===null?Ae=Kt:lt.sibling=Kt,lt=Kt);return Ae}for(et=ge(te,et);!Kt.done;Lt++,Kt=me.next())Kt=j(et,te,Lt,Kt.value,Se),Kt!==null&&(g&&Kt.alternate!==null&&et.delete(Kt.key===null?Lt:Kt.key),oe=at(Kt,oe,Lt),lt===null?Ae=Kt:lt.sibling=Kt,lt=Kt);return g&&et.forEach(function(Hr){return P(te,Hr)}),Ae}return function(te,oe,me,Se){var Ae=typeof me=="object"&&me!==null&&me.type===W&&me.key===null;Ae&&(me=me.props.children);var lt=typeof me=="object"&&me!==null;if(lt)switch(me.$$typeof){case K:e:{for(lt=me.key,Ae=oe;Ae!==null;){if(Ae.key===lt){switch(Ae.tag){case 7:if(me.type===W){U(te,Ae.sibling),oe=Me(Ae,me.props.children),oe.return=te,te=oe;break e}break;default:if(Ae.elementType===me.type){U(te,Ae.sibling),oe=Me(Ae,me.props),oe.ref=Oo(te,Ae,me),oe.return=te,te=oe;break e}}U(te,Ae);break}else P(te,Ae);Ae=Ae.sibling}me.type===W?(oe=Io(me.props.children,te.mode,Se,me.key),oe.return=te,te=oe):(Se=bc(me.type,me.key,me.props,null,te.mode,Se),Se.ref=Oo(te,oe,me),Se.return=te,te=Se)}return E(te);case G:e:{for(Ae=me.key;oe!==null;){if(oe.key===Ae)if(oe.tag===4&&oe.stateNode.containerInfo===me.containerInfo&&oe.stateNode.implementation===me.implementation){U(te,oe.sibling),oe=Me(oe,me.children||[]),oe.return=te,te=oe;break e}else{U(te,oe);break}else P(te,oe);oe=oe.sibling}oe=Mc(me,te.mode,Se),oe.return=te,te=oe}return E(te)}if(typeof me=="string"||typeof me=="number")return me=""+me,oe!==null&&oe.tag===6?(U(te,oe.sibling),oe=Me(oe,me),oe.return=te,te=oe):(U(te,oe),oe=df(me,te.mode,Se),oe.return=te,te=oe),E(te);if(Tu(me))return Y(te,oe,me,Se);if(He(me))return H(te,oe,me,Se);if(lt&&Po(te,me),typeof me=="undefined"&&!Ae)switch(te.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,Yt(te.type)||"Component"))}return U(te,oe)}}var Ko=$l(!0),El=$l(!1),js={},Ho=cs(js),Zu=cs(js),jl=cs(js);function Cu(g){if(g===js)throw Error(c(174));return g}function uc(g,P){switch(Ya(jl,P),Ya(Zu,g),Ya(Ho,js),g=P.nodeType,g){case 9:case 11:P=(P=P.documentElement)?P.namespaceURI:kt(null,"");break;default:g=g===8?P.parentNode:P,P=g.namespaceURI||null,g=g.tagName,P=kt(P,g)}la(Ho),Ya(Ho,P)}function Ul(){la(Ho),la(Zu),la(jl)}function Sl(g){Cu(jl.current);var P=Cu(Ho.current),U=kt(P,g.type);P!==U&&(Ya(Zu,g),Ya(Ho,U))}function lc(g){Zu.current===g&&(la(Ho),la(Zu))}var no=cs(0);function zl(g){for(var P=g;P!==null;){if(P.tag===13){var U=P.memoizedState;if(U!==null&&(U=U.dehydrated,U===null||U.data==="$?"||U.data==="$!"))return P}else if(P.tag===19&&P.memoizedProps.revealOrder!==void 0){if(P.flags&64)return P}else if(P.child!==null){P.child.return=P,P=P.child;continue}if(P===g)break;for(;P.sibling===null;){if(P.return===null||P.return===g)return null;P=P.return}P.sibling.return=P.return,P=P.sibling}return null}var ru=null,fl=null,Us=!1;function Jc(g,P){var U=qo(5,null,null,0);U.elementType="DELETED",U.type="DELETED",U.stateNode=P,U.return=g,U.flags=8,g.lastEffect!==null?(g.lastEffect.nextEffect=U,g.lastEffect=U):g.firstEffect=g.lastEffect=U}function Uc(g,P){switch(g.tag){case 5:var U=g.type;return P=P.nodeType!==1||U.toLowerCase()!==P.nodeName.toLowerCase()?null:P,P!==null?(g.stateNode=P,!0):!1;case 6:return P=g.pendingProps===""||P.nodeType!==3?null:P,P!==null?(g.stateNode=P,!0):!1;case 13:return!1;default:return!1}}function ii(g){if(Us){var P=fl;if(P){var U=P;if(!Uc(g,P)){if(P=yi(U.nextSibling),!P||!Uc(g,P)){g.flags=g.flags&-1025|2,Us=!1,ru=g;return}Jc(ru,U)}ru=g,fl=yi(P.firstChild)}else g.flags=g.flags&-1025|2,Us=!1,ru=g}}function wf(g){for(g=g.return;g!==null&&g.tag!==5&&g.tag!==3&&g.tag!==13;)g=g.return;ru=g}function zc(g){if(g!==ru)return!1;if(!Us)return wf(g),Us=!0,!1;var P=g.type;if(g.tag!==5||P!=="head"&&P!=="body"&&!Ri(P,g.memoizedProps))for(P=fl;P;)Jc(g,P),P=yi(P.nextSibling);if(wf(g),g.tag===13){if(g=g.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));e:{for(g=g.nextSibling,P=0;g;){if(g.nodeType===8){var U=g.data;if(U==="/$"){if(P===0){fl=yi(g.nextSibling);break e}P--}else U!=="$"&&U!=="$!"&&U!=="$?"||P++}g=g.nextSibling}fl=null}}else fl=ru?yi(g.stateNode.nextSibling):null;return!0}function Zc(){fl=ru=null,Us=!1}var wu=[];function Ec(){for(var g=0;g<wu.length;g++)wu[g]._workInProgressVersionPrimary=null;wu.length=0}var Eu=N.ReactCurrentDispatcher,mu=N.ReactCurrentBatchConfig,Al=0,Fa=null,As=null,Wo=null,Zl=!1,Hl=!1;function nu(){throw Error(c(321))}function Sc(g,P){if(P===null)return!1;for(var U=0;U<P.length&&U<g.length;U++)if(!kn(g[U],P[U]))return!1;return!0}function Hc(g,P,U,ge,Me,at){if(Al=at,Fa=P,P.memoizedState=null,P.updateQueue=null,P.lanes=0,Eu.current=g===null||g.memoizedState===null?dc:Pc,g=U(ge,Me),Hl){at=0;do{if(Hl=!1,!(25>at))throw Error(c(301));at+=1,Wo=As=null,P.updateQueue=null,Eu.current=ql,g=U(ge,Me)}while(Hl)}if(Eu.current=Yl,P=As!==null&&As.next!==null,Al=0,Wo=As=Fa=null,Zl=!1,P)throw Error(c(300));return g}function Hu(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wo===null?Fa.memoizedState=Wo=g:Wo=Wo.next=g,Wo}function Pu(){if(As===null){var g=Fa.alternate;g=g!==null?g.memoizedState:null}else g=As.next;var P=Wo===null?Fa.memoizedState:Wo.next;if(P!==null)Wo=P,As=g;else{if(g===null)throw Error(c(310));As=g,g={memoizedState:As.memoizedState,baseState:As.baseState,baseQueue:As.baseQueue,queue:As.queue,next:null},Wo===null?Fa.memoizedState=Wo=g:Wo=Wo.next=g}return Wo}function Iu(g,P){return typeof P=="function"?P(g):P}function Wl(g){var P=Pu(),U=P.queue;if(U===null)throw Error(c(311));U.lastRenderedReducer=g;var ge=As,Me=ge.baseQueue,at=U.pending;if(at!==null){if(Me!==null){var E=Me.next;Me.next=at.next,at.next=E}ge.baseQueue=Me=at,U.pending=null}if(Me!==null){Me=Me.next,ge=ge.baseState;var t=E=at=null,n=Me;do{var s=n.lane;if((Al&s)===s)t!==null&&(t=t.next={lane:0,action:n.action,eagerReducer:n.eagerReducer,eagerState:n.eagerState,next:null}),ge=n.eagerReducer===g?n.eagerState:g(ge,n.action);else{var m={lane:s,action:n.action,eagerReducer:n.eagerReducer,eagerState:n.eagerState,next:null};t===null?(E=t=m,at=ge):t=t.next=m,Fa.lanes|=s,ze|=s}n=n.next}while(n!==null&&n!==Me);t===null?at=ge:t.next=E,kn(ge,P.memoizedState)||(Su=!0),P.memoizedState=ge,P.baseState=at,P.baseQueue=t,U.lastRenderedState=ge}return[P.memoizedState,U.dispatch]}function Tl(g){var P=Pu(),U=P.queue;if(U===null)throw Error(c(311));U.lastRenderedReducer=g;var ge=U.dispatch,Me=U.pending,at=P.memoizedState;if(Me!==null){U.pending=null;var E=Me=Me.next;do at=g(at,E.action),E=E.next;while(E!==Me);kn(at,P.memoizedState)||(Su=!0),P.memoizedState=at,P.baseQueue===null&&(P.baseState=at),U.lastRenderedState=at}return[at,ge]}function Pa(g,P,U){var ge=P._getVersion;ge=ge(P._source);var Me=P._workInProgressVersionPrimary;if(Me!==null?g=Me===ge:(g=g.mutableReadLanes,(g=(Al&g)===g)&&(P._workInProgressVersionPrimary=ge,wu.push(P))),g)return U(P._source);throw wu.push(P),Error(c(350))}function ef(g,P,U,ge){var Me=ao;if(Me===null)throw Error(c(349));var at=P._getVersion,E=at(P._source),t=Eu.current,n=t.useState(function(){return Pa(Me,P,U)}),s=n[1],m=n[0];n=Wo;var w=g.memoizedState,C=w.refs,j=C.getSnapshot,Y=w.source;w=w.subscribe;var H=Fa;return g.memoizedState={refs:C,source:P,subscribe:ge},t.useEffect(function(){C.getSnapshot=U,C.setSnapshot=s;var te=at(P._source);if(!kn(E,te)){te=U(P._source),kn(m,te)||(s(te),te=Xu(H),Me.mutableReadLanes|=te&Me.pendingLanes),te=Me.mutableReadLanes,Me.entangledLanes|=te;for(var oe=Me.entanglements,me=te;0<me;){var Se=31-ci(me),Ae=1<<Se;oe[Se]|=te,me&=~Ae}}},[U,P,ge]),t.useEffect(function(){return ge(P._source,function(){var te=C.getSnapshot,oe=C.setSnapshot;try{oe(te(P._source));var me=Xu(H);Me.mutableReadLanes|=me&Me.pendingLanes}catch(Se){oe(function(){throw Se})}})},[P,ge]),kn(j,U)&&kn(Y,P)&&kn(w,ge)||(g={pending:null,dispatch:null,lastRenderedReducer:Iu,lastRenderedState:m},g.dispatch=s=Cc.bind(null,Fa,g),n.queue=g,n.baseQueue=null,m=Pa(Me,P,U),n.memoizedState=n.baseState=m),m}function tf(g,P,U){var ge=Pu();return ef(ge,g,P,U)}function Wu(g){var P=Hu();return typeof g=="function"&&(g=g()),P.memoizedState=P.baseState=g,g=P.queue={pending:null,dispatch:null,lastRenderedReducer:Iu,lastRenderedState:g},g=g.dispatch=Cc.bind(null,Fa,g),[P.memoizedState,g]}function Gu(g,P,U,ge){return g={tag:g,create:P,destroy:U,deps:ge,next:null},P=Fa.updateQueue,P===null?(P={lastEffect:null},Fa.updateQueue=P,P.lastEffect=g.next=g):(U=P.lastEffect,U===null?P.lastEffect=g.next=g:(ge=U.next,U.next=g,g.next=ge,P.lastEffect=g)),g}function Ef(g){var P=Hu();return g={current:g},P.memoizedState=g}function Ac(){return Pu().memoizedState}function uu(g,P,U,ge){var Me=Hu();Fa.flags|=g,Me.memoizedState=Gu(1|P,U,void 0,ge===void 0?null:ge)}function cc(g,P,U,ge){var Me=Pu();ge=ge===void 0?null:ge;var at=void 0;if(As!==null){var E=As.memoizedState;if(at=E.destroy,ge!==null&&Sc(ge,E.deps)){Gu(P,U,at,ge);return}}Fa.flags|=g,Me.memoizedState=Gu(1|P,U,at,ge)}function Cl(g,P){return uu(516,4,g,P)}function Gl(g,P){return cc(516,4,g,P)}function Vl(g,P){return cc(4,2,g,P)}function Kl(g,P){if(typeof P=="function")return g=g(),P(g),function(){P(null)};if(P!=null)return g=g(),P.current=g,function(){P.current=null}}function lu(g,P,U){return U=U!=null?U.concat([g]):null,cc(4,2,Kl.bind(null,P,g),U)}function Vu(){}function fc(g,P){var U=Pu();P=P===void 0?null:P;var ge=U.memoizedState;return ge!==null&&P!==null&&Sc(P,ge[1])?ge[0]:(U.memoizedState=[g,P],g)}function Wc(g,P){var U=Pu();P=P===void 0?null:P;var ge=U.memoizedState;return ge!==null&&P!==null&&Sc(P,ge[1])?ge[0]:(g=g(),U.memoizedState=[g,P],g)}function Tc(g,P){var U=jt();Pt(98>U?98:U,function(){g(!0)}),Pt(97<U?97:U,function(){var ge=mu.transition;mu.transition=1;try{g(!1),P()}finally{mu.transition=ge}})}function Cc(g,P,U){var ge=Bo(),Me=Xu(g),at={lane:Me,action:U,eagerReducer:null,eagerState:null,next:null},E=P.pending;if(E===null?at.next=at:(at.next=E.next,E.next=at),P.pending=at,E=g.alternate,g===Fa||E!==null&&E===Fa)Hl=Zl=!0;else{if(g.lanes===0&&(E===null||E.lanes===0)&&(E=P.lastRenderedReducer,E!==null))try{var t=P.lastRenderedState,n=E(t,U);if(at.eagerReducer=E,at.eagerState=n,kn(n,t))return}catch(s){}finally{}_l(g,Me,ge)}}var Yl={readContext:Xi,useCallback:nu,useContext:nu,useEffect:nu,useImperativeHandle:nu,useLayoutEffect:nu,useMemo:nu,useReducer:nu,useRef:nu,useState:nu,useDebugValue:nu,useDeferredValue:nu,useTransition:nu,useMutableSource:nu,useOpaqueIdentifier:nu,unstable_isNewReconciler:!1},dc={readContext:Xi,useCallback:function(g,P){return Hu().memoizedState=[g,P===void 0?null:P],g},useContext:Xi,useEffect:Cl,useImperativeHandle:function(g,P,U){return U=U!=null?U.concat([g]):null,uu(4,2,Kl.bind(null,P,g),U)},useLayoutEffect:function(g,P){return uu(4,2,g,P)},useMemo:function(g,P){var U=Hu();return P=P===void 0?null:P,g=g(),U.memoizedState=[g,P],g},useReducer:function(g,P,U){var ge=Hu();return P=U!==void 0?U(P):P,ge.memoizedState=ge.baseState=P,g=ge.queue={pending:null,dispatch:null,lastRenderedReducer:g,lastRenderedState:P},g=g.dispatch=Cc.bind(null,Fa,g),[ge.memoizedState,g]},useRef:Ef,useState:Wu,useDebugValue:Vu,useDeferredValue:function(g){var P=Wu(g),U=P[0],ge=P[1];return Cl(function(){var Me=mu.transition;mu.transition=1;try{ge(g)}finally{mu.transition=Me}},[g]),U},useTransition:function(){var g=Wu(!1),P=g[0];return g=Tc.bind(null,g[1]),Ef(g),[g,P]},useMutableSource:function(g,P,U){var ge=Hu();return ge.memoizedState={refs:{getSnapshot:P,setSnapshot:null},source:g,subscribe:U},ef(ge,g,P,U)},useOpaqueIdentifier:function(){if(Us){var g=!1,P=Ss(function(){throw g||(g=!0,U("r:"+(ro++).toString(36))),Error(c(355))}),U=Wu(P)[1];return!(Fa.mode&2)&&(Fa.flags|=516,Gu(5,function(){U("r:"+(ro++).toString(36))},void 0,null)),P}return P="r:"+(ro++).toString(36),Wu(P),P},unstable_isNewReconciler:!1},Pc={readContext:Xi,useCallback:fc,useContext:Xi,useEffect:Gl,useImperativeHandle:lu,useLayoutEffect:Vl,useMemo:Wc,useReducer:Wl,useRef:Ac,useState:function(){return Wl(Iu)},useDebugValue:Vu,useDeferredValue:function(g){var P=Wl(Iu),U=P[0],ge=P[1];return Gl(function(){var Me=mu.transition;mu.transition=1;try{ge(g)}finally{mu.transition=Me}},[g]),U},useTransition:function(){var g=Wl(Iu)[0];return[Ac().current,g]},useMutableSource:tf,useOpaqueIdentifier:function(){return Wl(Iu)[0]},unstable_isNewReconciler:!1},ql={readContext:Xi,useCallback:fc,useContext:Xi,useEffect:Gl,useImperativeHandle:lu,useLayoutEffect:Vl,useMemo:Wc,useReducer:Tl,useRef:Ac,useState:function(){return Tl(Iu)},useDebugValue:Vu,useDeferredValue:function(g){var P=Tl(Iu),U=P[0],ge=P[1];return Gl(function(){var Me=mu.transition;mu.transition=1;try{ge(g)}finally{mu.transition=Me}},[g]),U},useTransition:function(){var g=Tl(Iu)[0];return[Ac().current,g]},useMutableSource:tf,useOpaqueIdentifier:function(){return Tl(Iu)[0]},unstable_isNewReconciler:!1},dl=N.ReactCurrentOwner,Su=!1;function Ts(g,P,U,ge){P.child=g===null?El(P,null,U,ge):Ko(P,g.child,U,ge)}function Gc(g,P,U,ge,Me){U=U.render;var at=P.ref;return is(P,Me),ge=Hc(g,P,U,ge,at,Me),g!==null&&!Su?(P.updateQueue=g.updateQueue,P.flags&=-517,g.lanes&=~Me,Lo(g,P,Me)):(P.flags|=1,Ts(g,P,ge,Me),P.child)}function rf(g,P,U,ge,Me,at){if(g===null){var E=U.type;return typeof E=="function"&&!Yc(E)&&E.defaultProps===void 0&&U.compare===null&&U.defaultProps===void 0?(P.tag=15,P.type=E,Ic(g,P,E,ge,Me,at)):(g=bc(U.type,null,ge,P,P.mode,at),g.ref=P.ref,g.return=P,P.child=g)}return E=g.child,!(Me&at)&&(Me=E.memoizedProps,U=U.compare,U=U!==null?U:Wi,U(Me,ge)&&g.ref===P.ref)?Lo(g,P,at):(P.flags|=1,g=Fu(E,ge),g.ref=P.ref,g.return=P,P.child=g)}function Ic(g,P,U,ge,Me,at){if(g!==null&&Wi(g.memoizedProps,ge)&&g.ref===P.ref)if(Su=!1,(at&Me)!==0)g.flags&16384&&(Su=!0);else return P.lanes=g.lanes,Lo(g,P,at);return ko(g,P,U,ge,at)}function io(g,P,U){var ge=P.pendingProps,Me=ge.children,at=g!==null?g.memoizedState:null;if(ge.mode==="hidden"||ge.mode==="unstable-defer-without-hiding")if(!(P.mode&4))P.memoizedState={baseLanes:0},Hi(P,U);else if(U&1073741824)P.memoizedState={baseLanes:0},Hi(P,at!==null?at.baseLanes:U);else return g=at!==null?at.baseLanes|U:U,P.lanes=P.childLanes=1073741824,P.memoizedState={baseLanes:g},Hi(P,g),null;else at!==null?(ge=at.baseLanes|U,P.memoizedState=null):ge=U,Hi(P,ge);return Ts(g,P,Me,U),P.child}function Xl(g,P){var U=P.ref;(g===null&&U!==null||g!==null&&g.ref!==U)&&(P.flags|=128)}function ko(g,P,U,ge,Me){var at=Kr(U)?Te:ya.current;return at=yr(P,at),is(P,Me),U=Hc(g,P,U,ge,at,Me),g!==null&&!Su?(P.updateQueue=g.updateQueue,P.flags&=-517,g.lanes&=~Me,Lo(g,P,Me)):(P.flags|=1,Ts(g,P,U,Me),P.child)}function Ql(g,P,U,ge,Me){if(Kr(U)){var at=!0;Gn(P)}else at=!1;if(is(P,Me),P.stateNode===null)g!==null&&(g.alternate=null,P.alternate=null,P.flags|=2),ou(P,U,ge),zu(P,U,ge,Me),ge=!0;else if(g===null){var E=P.stateNode,t=P.memoizedProps;E.props=t;var n=E.context,s=U.contextType;typeof s=="object"&&s!==null?s=Xi(s):(s=Kr(U)?Te:ya.current,s=yr(P,s));var m=U.getDerivedStateFromProps,w=typeof m=="function"||typeof E.getSnapshotBeforeUpdate=="function";w||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(t!==ge||n!==s)&&Ws(P,E,ge,s),$s=!1;var C=P.memoizedState;E.state=C,Is(P,ge,E,Me),n=P.memoizedState,t!==ge||C!==n||be.current||$s?(typeof m=="function"&&(wl(P,U,m,ge),n=P.memoizedState),(t=$s||Ma(P,U,t,ge,C,n,s))?(w||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(P.flags|=4)):(typeof E.componentDidMount=="function"&&(P.flags|=4),P.memoizedProps=ge,P.memoizedState=n),E.props=ge,E.state=n,E.context=s,ge=t):(typeof E.componentDidMount=="function"&&(P.flags|=4),ge=!1)}else{E=P.stateNode,Sa(g,P),t=P.memoizedProps,s=P.type===P.elementType?t:Un(P.type,t),E.props=s,w=P.pendingProps,C=E.context,n=U.contextType,typeof n=="object"&&n!==null?n=Xi(n):(n=Kr(U)?Te:ya.current,n=yr(P,n));var j=U.getDerivedStateFromProps;(m=typeof j=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(t!==w||C!==n)&&Ws(P,E,ge,n),$s=!1,C=P.memoizedState,E.state=C,Is(P,ge,E,Me);var Y=P.memoizedState;t!==w||C!==Y||be.current||$s?(typeof j=="function"&&(wl(P,U,j,ge),Y=P.memoizedState),(s=$s||Ma(P,U,s,ge,C,Y,n))?(m||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(ge,Y,n),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(ge,Y,n)),typeof E.componentDidUpdate=="function"&&(P.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(P.flags|=256)):(typeof E.componentDidUpdate!="function"||t===g.memoizedProps&&C===g.memoizedState||(P.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||t===g.memoizedProps&&C===g.memoizedState||(P.flags|=256),P.memoizedProps=ge,P.memoizedState=Y),E.props=ge,E.state=Y,E.context=n,ge=s):(typeof E.componentDidUpdate!="function"||t===g.memoizedProps&&C===g.memoizedState||(P.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||t===g.memoizedProps&&C===g.memoizedState||(P.flags|=256),ge=!1)}return ke(g,P,U,ge,at,Me)}function ke(g,P,U,ge,Me,at){Xl(g,P);var E=(P.flags&64)!==0;if(!ge&&!E)return Me&&Di(P,U,!1),Lo(g,P,at);ge=P.stateNode,dl.current=P;var t=E&&typeof U.getDerivedStateFromError!="function"?null:ge.render();return P.flags|=1,g!==null&&E?(P.child=Ko(P,g.child,null,at),P.child=Ko(P,null,t,at)):Ts(g,P,t,at),P.memoizedState=ge.state,Me&&Di(P,U,!0),P.child}function Pl(g){var P=g.stateNode;P.pendingContext?Wr(g,P.pendingContext,P.pendingContext!==P.context):P.context&&Wr(g,P.context,!1),uc(g,P.containerInfo)}var bo={dehydrated:null,retryLane:0};function Il(g,P,U){var ge=P.pendingProps,Me=no.current,at=!1,E;return(E=(P.flags&64)!==0)||(E=g!==null&&g.memoizedState===null?!1:(Me&2)!==0),E?(at=!0,P.flags&=-65):g!==null&&g.memoizedState===null||ge.fallback===void 0||ge.unstable_avoidThisFallback===!0||(Me|=1),Ya(no,Me&1),g===null?(ge.fallback!==void 0&&ii(P),g=ge.children,Me=ge.fallback,at?(g=Os(P,g,Me,U),P.child.memoizedState={baseLanes:U},P.memoizedState=bo,g):typeof ge.unstable_expectedLoadTime=="number"?(g=Os(P,g,Me,U),P.child.memoizedState={baseLanes:U},P.memoizedState=bo,P.lanes=33554432,g):(U=ff({mode:"visible",children:g},P.mode,U,null),U.return=P,P.child=U)):g.memoizedState!==null?at?(ge=vu(g,P,ge.children,ge.fallback,U),at=P.child,Me=g.child.memoizedState,at.memoizedState=Me===null?{baseLanes:U}:{baseLanes:Me.baseLanes|U},at.childLanes=g.childLanes&~U,P.memoizedState=bo,ge):(U=_o(g,P,ge.children,U),P.memoizedState=null,U):at?(ge=vu(g,P,ge.children,ge.fallback,U),at=P.child,Me=g.child.memoizedState,at.memoizedState=Me===null?{baseLanes:U}:{baseLanes:Me.baseLanes|U},at.childLanes=g.childLanes&~U,P.memoizedState=bo,ge):(U=_o(g,P,ge.children,U),P.memoizedState=null,U)}function Os(g,P,U,ge){var Me=g.mode,at=g.child;return P={mode:"hidden",children:P},!(Me&2)&&at!==null?(at.childLanes=0,at.pendingProps=P):at=ff(P,Me,0,null),U=Io(U,Me,ge,null),at.return=g,U.return=g,at.sibling=U,g.child=at,U}function _o(g,P,U,ge){var Me=g.child;return g=Me.sibling,U=Fu(Me,{mode:"visible",children:U}),!(P.mode&2)&&(U.lanes=ge),U.return=P,U.sibling=null,g!==null&&(g.nextEffect=null,g.flags=8,P.firstEffect=P.lastEffect=g),P.child=U}function vu(g,P,U,ge,Me){var at=P.mode,E=g.child;g=E.sibling;var t={mode:"hidden",children:U};return!(at&2)&&P.child!==E?(U=P.child,U.childLanes=0,U.pendingProps=t,E=U.lastEffect,E!==null?(P.firstEffect=U.firstEffect,P.lastEffect=E,E.nextEffect=null):P.firstEffect=P.lastEffect=null):U=Fu(E,t),g!==null?ge=Fu(g,ge):(ge=Io(ge,at,Me,null),ge.flags|=2),ge.return=P,U.return=P,U.sibling=ge,P.child=U,ge}function Ro(g,P){g.lanes|=P;var U=g.alternate;U!==null&&(U.lanes|=P),ds(g.return,P)}function tl(g,P,U,ge,Me,at){var E=g.memoizedState;E===null?g.memoizedState={isBackwards:P,rendering:null,renderingStartTime:0,last:ge,tail:U,tailMode:Me,lastEffect:at}:(E.isBackwards=P,E.rendering=null,E.renderingStartTime=0,E.last=ge,E.tail=U,E.tailMode=Me,E.lastEffect=at)}function Ku(g,P,U){var ge=P.pendingProps,Me=ge.revealOrder,at=ge.tail;if(Ts(g,P,ge.children,U),ge=no.current,ge&2)ge=ge&1|2,P.flags|=64;else{if(g!==null&&g.flags&64)e:for(g=P.child;g!==null;){if(g.tag===13)g.memoizedState!==null&&Ro(g,U);else if(g.tag===19)Ro(g,U);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===P)break e;for(;g.sibling===null;){if(g.return===null||g.return===P)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}ge&=1}if(Ya(no,ge),!(P.mode&2))P.memoizedState=null;else switch(Me){case"forwards":for(U=P.child,Me=null;U!==null;)g=U.alternate,g!==null&&zl(g)===null&&(Me=U),U=U.sibling;U=Me,U===null?(Me=P.child,P.child=null):(Me=U.sibling,U.sibling=null),tl(P,!1,Me,U,at,P.lastEffect);break;case"backwards":for(U=null,Me=P.child,P.child=null;Me!==null;){if(g=Me.alternate,g!==null&&zl(g)===null){P.child=Me;break}g=Me.sibling,Me.sibling=U,U=Me,Me=g}tl(P,!0,U,null,at,P.lastEffect);break;case"together":tl(P,!1,null,null,void 0,P.lastEffect);break;default:P.memoizedState=null}return P.child}function Lo(g,P,U){if(g!==null&&(P.dependencies=g.dependencies),ze|=P.lanes,U&P.childLanes){if(g!==null&&P.child!==g.child)throw Error(c(153));if(P.child!==null){for(g=P.child,U=Fu(g,g.pendingProps),P.child=U,U.return=P;g.sibling!==null;)g=g.sibling,U=U.sibling=Fu(g,g.pendingProps),U.return=P;U.sibling=null}return P.child}return null}var rl,Jl,hc,nl;rl=function(g,P){for(var U=P.child;U!==null;){if(U.tag===5||U.tag===6)g.appendChild(U.stateNode);else if(U.tag!==4&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===P)break;for(;U.sibling===null;){if(U.return===null||U.return===P)return;U=U.return}U.sibling.return=U.return,U=U.sibling}},Jl=function(){},hc=function(g,P,U,ge){var Me=g.memoizedProps;if(Me!==ge){g=P.stateNode,Cu(Ho.current);var at=null;switch(U){case"input":Me=ht(g,Me),ge=ht(g,ge),at=[];break;case"option":Me=Ge(g,Me),ge=Ge(g,ge),at=[];break;case"select":Me=i({},Me,{value:void 0}),ge=i({},ge,{value:void 0}),at=[];break;case"textarea":Me=ct(g,Me),ge=ct(g,ge),at=[];break;default:typeof Me.onClick!="function"&&typeof ge.onClick=="function"&&(g.onclick=Kn)}De(U,ge);var E;U=null;for(s in Me)if(!ge.hasOwnProperty(s)&&Me.hasOwnProperty(s)&&Me[s]!=null)if(s==="style"){var t=Me[s];for(E in t)t.hasOwnProperty(E)&&(U||(U={}),U[E]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(o.hasOwnProperty(s)?at||(at=[]):(at=at||[]).push(s,null));for(s in ge){var n=ge[s];if(t=Me!=null?Me[s]:void 0,ge.hasOwnProperty(s)&&n!==t&&(n!=null||t!=null))if(s==="style")if(t){for(E in t)!t.hasOwnProperty(E)||n&&n.hasOwnProperty(E)||(U||(U={}),U[E]="");for(E in n)n.hasOwnProperty(E)&&t[E]!==n[E]&&(U||(U={}),U[E]=n[E])}else U||(at||(at=[]),at.push(s,U)),U=n;else s==="dangerouslySetInnerHTML"?(n=n?n.__html:void 0,t=t?t.__html:void 0,n!=null&&t!==n&&(at=at||[]).push(s,n)):s==="children"?typeof n!="string"&&typeof n!="number"||(at=at||[]).push(s,""+n):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(o.hasOwnProperty(s)?(n!=null&&s==="onScroll"&&Qe("scroll",g),at||t===n||(at=[])):typeof n=="object"&&n!==null&&n.$$typeof===z?n.toString():(at=at||[]).push(s,n))}U&&(at=at||[]).push("style",U);var s=at;(P.updateQueue=s)&&(P.flags|=4)}},nl=function(g,P,U,ge){U!==ge&&(P.flags|=4)};function cu(g,P){if(!Us)switch(g.tailMode){case"hidden":P=g.tail;for(var U=null;P!==null;)P.alternate!==null&&(U=P),P=P.sibling;U===null?g.tail=null:U.sibling=null;break;case"collapsed":U=g.tail;for(var ge=null;U!==null;)U.alternate!==null&&(ge=U),U=U.sibling;ge===null?P||g.tail===null?g.tail=null:g.tail.sibling=null:ge.sibling=null}}function nf(g,P,U){var ge=P.pendingProps;switch(P.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Kr(P.type)&&gr(),null;case 3:return Ul(),la(be),la(ya),Ec(),ge=P.stateNode,ge.pendingContext&&(ge.context=ge.pendingContext,ge.pendingContext=null),(g===null||g.child===null)&&(zc(P)?P.flags|=4:ge.hydrate||(P.flags|=256)),Jl(P),null;case 5:lc(P);var Me=Cu(jl.current);if(U=P.type,g!==null&&P.stateNode!=null)hc(g,P,U,ge,Me),g.ref!==P.ref&&(P.flags|=128);else{if(!ge){if(P.stateNode===null)throw Error(c(166));return null}if(g=Cu(Ho.current),zc(P)){ge=P.stateNode,U=P.type;var at=P.memoizedProps;switch(ge[$a]=P,ge[za]=at,U){case"dialog":Qe("cancel",ge),Qe("close",ge);break;case"iframe":case"object":case"embed":Qe("load",ge);break;case"video":case"audio":for(g=0;g<mn.length;g++)Qe(mn[g],ge);break;case"source":Qe("error",ge);break;case"img":case"image":case"link":Qe("error",ge),Qe("load",ge);break;case"details":Qe("toggle",ge);break;case"input":rt(ge,at),Qe("invalid",ge);break;case"select":ge._wrapperState={wasMultiple:!!at.multiple},Qe("invalid",ge);break;case"textarea":Gt(ge,at),Qe("invalid",ge)}De(U,at),g=null;for(var E in at)at.hasOwnProperty(E)&&(Me=at[E],E==="children"?typeof Me=="string"?ge.textContent!==Me&&(g=["children",Me]):typeof Me=="number"&&ge.textContent!==""+Me&&(g=["children",""+Me]):o.hasOwnProperty(E)&&Me!=null&&E==="onScroll"&&Qe("scroll",ge));switch(U){case"input":Ut(ge),Ce(ge,at,!0);break;case"textarea":Ut(ge),Pe(ge);break;case"select":case"option":break;default:typeof at.onClick=="function"&&(ge.onclick=Kn)}ge=g,P.updateQueue=ge,ge!==null&&(P.flags|=4)}else{switch(E=Me.nodeType===9?Me:Me.ownerDocument,g===tt.html&&(g=Vt(U)),g===tt.html?U==="script"?(g=E.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild)):typeof ge.is=="string"?g=E.createElement(U,{is:ge.is}):(g=E.createElement(U),U==="select"&&(E=g,ge.multiple?E.multiple=!0:ge.size&&(E.size=ge.size))):g=E.createElementNS(g,U),g[$a]=P,g[za]=ge,rl(g,P,!1,!1),P.stateNode=g,E=ft(U,ge),U){case"dialog":Qe("cancel",g),Qe("close",g),Me=ge;break;case"iframe":case"object":case"embed":Qe("load",g),Me=ge;break;case"video":case"audio":for(Me=0;Me<mn.length;Me++)Qe(mn[Me],g);Me=ge;break;case"source":Qe("error",g),Me=ge;break;case"img":case"image":case"link":Qe("error",g),Qe("load",g),Me=ge;break;case"details":Qe("toggle",g),Me=ge;break;case"input":rt(g,ge),Me=ht(g,ge),Qe("invalid",g);break;case"option":Me=Ge(g,ge);break;case"select":g._wrapperState={wasMultiple:!!ge.multiple},Me=i({},ge,{value:void 0}),Qe("invalid",g);break;case"textarea":Gt(g,ge),Me=ct(g,ge),Qe("invalid",g);break;default:Me=ge}De(U,Me);var t=Me;for(at in t)if(t.hasOwnProperty(at)){var n=t[at];at==="style"?pe(g,n):at==="dangerouslySetInnerHTML"?(n=n?n.__html:void 0,n!=null&&Nt(g,n)):at==="children"?typeof n=="string"?(U!=="textarea"||n!=="")&&At(g,n):typeof n=="number"&&At(g,""+n):at!=="suppressContentEditableWarning"&&at!=="suppressHydrationWarning"&&at!=="autoFocus"&&(o.hasOwnProperty(at)?n!=null&&at==="onScroll"&&Qe("scroll",g):n!=null&&B(g,at,n,E))}switch(U){case"input":Ut(g),Ce(g,ge,!1);break;case"textarea":Ut(g),Pe(g);break;case"option":ge.value!=null&&g.setAttribute("value",""+lr(ge.value));break;case"select":g.multiple=!!ge.multiple,at=ge.value,at!=null?it(g,!!ge.multiple,at,!1):ge.defaultValue!=null&&it(g,!!ge.multiple,ge.defaultValue,!0);break;default:typeof Me.onClick=="function"&&(g.onclick=Kn)}qi(U,ge)&&(P.flags|=4)}P.ref!==null&&(P.flags|=128)}return null;case 6:if(g&&P.stateNode!=null)nl(g,P,g.memoizedProps,ge);else{if(typeof ge!="string"&&P.stateNode===null)throw Error(c(166));U=Cu(jl.current),Cu(Ho.current),zc(P)?(ge=P.stateNode,U=P.memoizedProps,ge[$a]=P,ge.nodeValue!==U&&(P.flags|=4)):(ge=(U.nodeType===9?U:U.ownerDocument).createTextNode(ge),ge[$a]=P,P.stateNode=ge)}return null;case 13:return la(no),ge=P.memoizedState,P.flags&64?(P.lanes=U,P):(ge=ge!==null,U=!1,g===null?P.memoizedProps.fallback!==void 0&&zc(P):U=g.memoizedState!==null,ge&&!U&&P.mode&2&&(g===null&&P.memoizedProps.unstable_avoidThisFallback!==!0||no.current&1?O===0&&(O=3):((O===0||O===3)&&(O=4),ao===null||!(ze&134217727)&&!(Jr&134217727)||ul(ao,ti))),(ge||U)&&(P.flags|=4),null);case 4:return Ul(),Jl(P),g===null&&Wt(P.stateNode.containerInfo),null;case 10:return es(P),null;case 17:return Kr(P.type)&&gr(),null;case 19:if(la(no),ge=P.memoizedState,ge===null)return null;if(at=(P.flags&64)!==0,E=ge.rendering,E===null)if(at)cu(ge,!1);else{if(O!==0||g!==null&&g.flags&64)for(g=P.child;g!==null;){if(E=zl(g),E!==null){for(P.flags|=64,cu(ge,!1),at=E.updateQueue,at!==null&&(P.updateQueue=at,P.flags|=4),ge.lastEffect===null&&(P.firstEffect=null),P.lastEffect=ge.lastEffect,ge=U,U=P.child;U!==null;)at=U,g=ge,at.flags&=2,at.nextEffect=null,at.firstEffect=null,at.lastEffect=null,E=at.alternate,E===null?(at.childLanes=0,at.lanes=g,at.child=null,at.memoizedProps=null,at.memoizedState=null,at.updateQueue=null,at.dependencies=null,at.stateNode=null):(at.childLanes=E.childLanes,at.lanes=E.lanes,at.child=E.child,at.memoizedProps=E.memoizedProps,at.memoizedState=E.memoizedState,at.updateQueue=E.updateQueue,at.type=E.type,g=E.dependencies,at.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext}),U=U.sibling;return Ya(no,no.current&1|2),P.child}g=g.sibling}ge.tail!==null&&Tt()>Za&&(P.flags|=64,at=!0,cu(ge,!1),P.lanes=33554432)}else{if(!at)if(g=zl(E),g!==null){if(P.flags|=64,at=!0,U=g.updateQueue,U!==null&&(P.updateQueue=U,P.flags|=4),cu(ge,!0),ge.tail===null&&ge.tailMode==="hidden"&&!E.alternate&&!Us)return P=P.lastEffect=ge.lastEffect,P!==null&&(P.nextEffect=null),null}else 2*Tt()-ge.renderingStartTime>Za&&U!==1073741824&&(P.flags|=64,at=!0,cu(ge,!1),P.lanes=33554432);ge.isBackwards?(E.sibling=P.child,P.child=E):(U=ge.last,U!==null?U.sibling=E:P.child=E,ge.last=E)}return ge.tail!==null?(U=ge.tail,ge.rendering=U,ge.tail=U.sibling,ge.lastEffect=P.lastEffect,ge.renderingStartTime=Tt(),U.sibling=null,P=no.current,Ya(no,at?P&1|2:P&1),U):null;case 23:case 24:return ra(),g!==null&&g.memoizedState!==null!=(P.memoizedState!==null)&&ge.mode!=="unstable-defer-without-hiding"&&(P.flags|=4),null}throw Error(c(156,P.tag))}function Vc(g){switch(g.tag){case 1:Kr(g.type)&&gr();var P=g.flags;return P&4096?(g.flags=P&-4097|64,g):null;case 3:if(Ul(),la(be),la(ya),Ec(),P=g.flags,P&64)throw Error(c(285));return g.flags=P&-4097|64,g;case 5:return lc(g),null;case 13:return la(no),P=g.flags,P&4096?(g.flags=P&-4097|64,g):null;case 19:return la(no),null;case 4:return Ul(),null;case 10:return es(g),null;case 23:case 24:return ra(),null;default:return null}}function Yu(g,P){try{var U="",ge=P;do U+=rr(ge),ge=ge.return;while(ge);var Me=U}catch(at){Me=`
Error generating stack: `+at.message+`
`+at.stack}return{value:g,source:P,stack:Me}}function gu(g,P){try{console.error(P.value)}catch(U){setTimeout(function(){throw U})}}var ec=typeof WeakMap=="function"?WeakMap:Map;function Dl(g,P,U){U=po(-1,U),U.tag=3,U.payload={element:null};var ge=P.value;return U.callback=function(){hs||(hs=!0,Fo=ge),gu(g,P)},U}function iu(g,P,U){U=po(-1,U),U.tag=3;var ge=g.type.getDerivedStateFromError;if(typeof ge=="function"){var Me=P.value;U.payload=function(){return gu(g,P),ge(Me)}}var at=g.stateNode;return at!==null&&typeof at.componentDidCatch=="function"&&(U.callback=function(){typeof ge!="function"&&(ks===null?ks=new Set([this]):ks.add(this),gu(g,P));var E=P.stack;this.componentDidCatch(P.value,{componentStack:E!==null?E:""})}),U}var Ol=typeof WeakSet=="function"?WeakSet:Set;function pc(g){var P=g.ref;if(P!==null)if(typeof P=="function")try{P(null)}catch(U){cl(g,U)}else P.current=null}function Dc(g,P){switch(P.tag){case 0:case 11:case 15:case 22:return;case 1:if(P.flags&256&&g!==null){var U=g.memoizedProps,ge=g.memoizedState;g=P.stateNode,P=g.getSnapshotBeforeUpdate(P.elementType===P.type?U:Un(P.type,U),ge),g.__reactInternalSnapshotBeforeUpdate=P}return;case 3:P.flags&256&&gi(P.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function _c(g,P,U){switch(U.tag){case 0:case 11:case 15:case 22:if(P=U.updateQueue,P=P!==null?P.lastEffect:null,P!==null){g=P=P.next;do{if((g.tag&3)===3){var ge=g.create;g.destroy=ge()}g=g.next}while(g!==P)}if(P=U.updateQueue,P=P!==null?P.lastEffect:null,P!==null){g=P=P.next;do{var Me=g;ge=Me.next,Me=Me.tag,Me&4&&Me&1&&(Lc(U,g),of(U,g)),g=ge}while(g!==P)}return;case 1:g=U.stateNode,U.flags&4&&(P===null?g.componentDidMount():(ge=U.elementType===U.type?P.memoizedProps:Un(U.type,P.memoizedProps),g.componentDidUpdate(ge,P.memoizedState,g.__reactInternalSnapshotBeforeUpdate))),P=U.updateQueue,P!==null&&Ds(U,P,g);return;case 3:if(P=U.updateQueue,P!==null){if(g=null,U.child!==null)switch(U.child.tag){case 5:g=U.child.stateNode;break;case 1:g=U.child.stateNode}Ds(U,P,g)}return;case 5:g=U.stateNode,P===null&&U.flags&4&&qi(U.type,U.memoizedProps)&&g.focus();return;case 6:return;case 4:return;case 12:return;case 13:U.memoizedState===null&&(U=U.alternate,U!==null&&(U=U.memoizedState,U!==null&&(U=U.dehydrated,U!==null&&pt(U))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function xo(g,P){for(var U=g;;){if(U.tag===5){var ge=U.stateNode;if(P)ge=ge.style,typeof ge.setProperty=="function"?ge.setProperty("display","none","important"):ge.display="none";else{ge=U.stateNode;var Me=U.memoizedProps.style;Me=Me!=null&&Me.hasOwnProperty("display")?Me.display:null,ge.style.display=fe("display",Me)}}else if(U.tag===6)U.stateNode.nodeValue=P?"":U.memoizedProps;else if((U.tag!==23&&U.tag!==24||U.memoizedState===null||U===g)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===g)break;for(;U.sibling===null;){if(U.return===null||U.return===g)return;U=U.return}U.sibling.return=U.return,U=U.sibling}}function kl(g,P){if(Rn&&typeof Rn.onCommitFiberUnmount=="function")try{Rn.onCommitFiberUnmount(On,P)}catch(at){}switch(P.tag){case 0:case 11:case 14:case 15:case 22:if(g=P.updateQueue,g!==null&&(g=g.lastEffect,g!==null)){var U=g=g.next;do{var ge=U,Me=ge.destroy;if(ge=ge.tag,Me!==void 0)if(ge&4)Lc(P,U);else{ge=P;try{Me()}catch(at){cl(ge,at)}}U=U.next}while(U!==g)}break;case 1:if(pc(P),g=P.stateNode,typeof g.componentWillUnmount=="function")try{g.props=P.memoizedProps,g.state=P.memoizedState,g.componentWillUnmount()}catch(at){cl(P,at)}break;case 5:pc(P);break;case 4:af(g,P)}}function Oc(g){g.alternate=null,g.child=null,g.dependencies=null,g.firstEffect=null,g.lastEffect=null,g.memoizedProps=null,g.memoizedState=null,g.pendingProps=null,g.return=null,g.updateQueue=null}function kc(g){return g.tag===5||g.tag===3||g.tag===4}function Mo(g){e:{for(var P=g.return;P!==null;){if(kc(P))break e;P=P.return}throw Error(c(160))}var U=P;switch(P=U.stateNode,U.tag){case 5:var ge=!1;break;case 3:P=P.containerInfo,ge=!0;break;case 4:P=P.containerInfo,ge=!0;break;default:throw Error(c(161))}U.flags&16&&(At(P,""),U.flags&=-17);e:t:for(U=g;;){for(;U.sibling===null;){if(U.return===null||kc(U.return)){U=null;break e}U=U.return}for(U.sibling.return=U.return,U=U.sibling;U.tag!==5&&U.tag!==6&&U.tag!==18;){if(U.flags&2||U.child===null||U.tag===4)continue t;U.child.return=U,U=U.child}if(!(U.flags&2)){U=U.stateNode;break e}}ge?tc(g,U,P):il(g,U,P)}function tc(g,P,U){var ge=g.tag,Me=ge===5||ge===6;if(Me)g=Me?g.stateNode:g.stateNode.instance,P?U.nodeType===8?U.parentNode.insertBefore(g,P):U.insertBefore(g,P):(U.nodeType===8?(P=U.parentNode,P.insertBefore(g,U)):(P=U,P.appendChild(g)),U=U._reactRootContainer,U!=null||P.onclick!==null||(P.onclick=Kn));else if(ge!==4&&(g=g.child,g!==null))for(tc(g,P,U),g=g.sibling;g!==null;)tc(g,P,U),g=g.sibling}function il(g,P,U){var ge=g.tag,Me=ge===5||ge===6;if(Me)g=Me?g.stateNode:g.stateNode.instance,P?U.insertBefore(g,P):U.appendChild(g);else if(ge!==4&&(g=g.child,g!==null))for(il(g,P,U),g=g.sibling;g!==null;)il(g,P,U),g=g.sibling}function af(g,P){for(var U=P,ge=!1,Me,at;;){if(!ge){ge=U.return;e:for(;;){if(ge===null)throw Error(c(160));switch(Me=ge.stateNode,ge.tag){case 5:at=!1;break e;case 3:Me=Me.containerInfo,at=!0;break e;case 4:Me=Me.containerInfo,at=!0;break e}ge=ge.return}ge=!0}if(U.tag===5||U.tag===6){e:for(var E=g,t=U,n=t;;)if(kl(E,n),n.child!==null&&n.tag!==4)n.child.return=n,n=n.child;else{if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}at?(E=Me,t=U.stateNode,E.nodeType===8?E.parentNode.removeChild(t):E.removeChild(t)):Me.removeChild(U.stateNode)}else if(U.tag===4){if(U.child!==null){Me=U.stateNode.containerInfo,at=!0,U.child.return=U,U=U.child;continue}}else if(kl(g,U),U.child!==null){U.child.return=U,U=U.child;continue}if(U===P)break;for(;U.sibling===null;){if(U.return===null||U.return===P)return;U=U.return,U.tag===4&&(ge=!1)}U.sibling.return=U.return,U=U.sibling}}function rc(g,P){switch(P.tag){case 0:case 11:case 14:case 15:case 22:var U=P.updateQueue;if(U=U!==null?U.lastEffect:null,U!==null){var ge=U=U.next;do(ge.tag&3)===3&&(g=ge.destroy,ge.destroy=void 0,g!==void 0&&g()),ge=ge.next;while(ge!==U)}return;case 1:return;case 5:if(U=P.stateNode,U!=null){ge=P.memoizedProps;var Me=g!==null?g.memoizedProps:ge;g=P.type;var at=P.updateQueue;if(P.updateQueue=null,at!==null){for(U[za]=ge,g==="input"&&ge.type==="radio"&&ge.name!=null&&Ue(U,ge),ft(g,Me),P=ft(g,ge),Me=0;Me<at.length;Me+=2){var E=at[Me],t=at[Me+1];E==="style"?pe(U,t):E==="dangerouslySetInnerHTML"?Nt(U,t):E==="children"?At(U,t):B(U,E,t,P)}switch(g){case"input":ye(U,ge);break;case"textarea":Ht(U,ge);break;case"select":g=U._wrapperState.wasMultiple,U._wrapperState.wasMultiple=!!ge.multiple,at=ge.value,at!=null?it(U,!!ge.multiple,at,!1):g!==!!ge.multiple&&(ge.defaultValue!=null?it(U,!!ge.multiple,ge.defaultValue,!0):it(U,!!ge.multiple,ge.multiple?[]:"",!1))}}}return;case 6:if(P.stateNode===null)throw Error(c(162));P.stateNode.nodeValue=P.memoizedProps;return;case 3:U=P.stateNode,U.hydrate&&(U.hydrate=!1,pt(U.containerInfo));return;case 12:return;case 13:P.memoizedState!==null&&(Mi=Tt(),xo(P.child,!0)),mc(P);return;case 19:mc(P);return;case 17:return;case 23:case 24:xo(P,P.memoizedState!==null);return}throw Error(c(163))}function mc(g){var P=g.updateQueue;if(P!==null){g.updateQueue=null;var U=g.stateNode;U===null&&(U=g.stateNode=new Ol),P.forEach(function(ge){var Me=Ju.bind(null,g,ge);U.has(ge)||(U.add(ge),ge.then(Me,Me))})}}function sf(g,P){return g!==null&&(g=g.memoizedState,g===null||g.dehydrated!==null)?(P=P.memoizedState,P!==null&&P.dehydrated===null):!1}var Du=Math.ceil,hl=N.ReactCurrentDispatcher,Yo=N.ReactCurrentOwner,Zi=0,ao=null,Gs=null,ti=0,Ou=0,I=cs(0),O=0,R=null,ve=0,ze=0,Jr=0,Jn=0,Vi=null,Mi=0,Za=1/0;function Xs(){Za=Tt()+500}var ei=null,hs=!1,Fo=null,ks=null,so=!1,al=null,pl=90,sl=[],Rc=[],ku=null,Ru=0,nc=null,Rl=-1,qu=0,as=0,ol=null,ic=!1;function Bo(){return Zi&48?Tt():Rl!==-1?Rl:Rl=Tt()}function Xu(g){if(g=g.mode,!(g&2))return 1;if(!(g&4))return jt()===99?1:2;if(qu===0&&(qu=ve),Tn.transition!==0){as!==0&&(as=Vi!==null?Vi.pendingLanes:0),g=qu;var P=4186112&~as;return P&=-P,P===0&&(g=4186112&~g,P=g&-g,P===0&&(P=8192)),P}return g=jt(),Zi&4&&g===98?g=nn(12,qu):(g=hn(g),g=nn(g,qu)),g}function _l(g,P,U){if(50<Ru)throw Ru=0,nc=null,Error(c(185));if(g=vc(g,P),g===null)return null;mi(g,P,U),g===ao&&(Jr|=P,O===4&&ul(g,ti));var ge=jt();P===1?Zi&8&&!(Zi&48)?wn(g):(yu(g,U),Zi===0&&(Xs(),Qr())):(!(Zi&4)||ge!==98&&ge!==99||(ku===null?ku=new Set([g]):ku.add(g)),yu(g,U)),Vi=g}function vc(g,P){g.lanes|=P;var U=g.alternate;for(U!==null&&(U.lanes|=P),U=g,g=g.return;g!==null;)g.childLanes|=P,U=g.alternate,U!==null&&(U.childLanes|=P),U=g,g=g.return;return U.tag===3?U.stateNode:null}function yu(g,P){for(var U=g.callbackNode,ge=g.suspendedLanes,Me=g.pingedLanes,at=g.expirationTimes,E=g.pendingLanes;0<E;){var t=31-ci(E),n=1<<t,s=at[t];if(s===-1){if(!(n&ge)||n&Me){s=P,Fr(n);var m=wr;at[t]=10<=m?s+250:6<=m?s+5e3:-1}}else s<=P&&(g.expiredLanes|=n);E&=~n}if(ge=sn(g,g===ao?ti:0),P=wr,ge===0)U!==null&&(U!==Z&&ja(U),g.callbackNode=null,g.callbackPriority=0);else{if(U!==null){if(g.callbackPriority===P)return;U!==Z&&ja(U)}P===15?(U=wn.bind(null,g),ie===null?(ie=[U],he=oa(Uu,vn)):ie.push(U),U=Z):P===14?U=Ur(99,wn.bind(null,g)):(U=Tr(P),U=Ur(U,gc.bind(null,g))),g.callbackPriority=P,g.callbackNode=U}}function gc(g){if(Rl=-1,as=qu=0,Zi&48)throw Error(c(327));var P=g.callbackNode;if(Ll()&&g.callbackNode!==P)return null;var U=sn(g,g===ao?ti:0);if(U===0)return null;var ge=U,Me=Zi;Zi|=16;var at=Ni();(ao!==g||ti!==ge)&&(Xs(),ma(g,ge));do try{Mu();break}catch(t){ps(g,t)}while(!0);if(Ua(),hl.current=at,Zi=Me,Gs!==null?ge=0:(ao=null,ti=0,ge=O),ve&Jr)ma(g,0);else if(ge!==0){if(ge===2&&(Zi|=64,g.hydrate&&(g.hydrate=!1,gi(g.containerInfo)),U=Xr(g),U!==0&&(ge=_s(g,U))),ge===1)throw P=R,ma(g,0),ul(g,U),yu(g,Tt()),P;switch(g.finishedWork=g.current.alternate,g.finishedLanes=U,ge){case 0:case 1:throw Error(c(345));case 2:ml(g);break;case 3:if(ul(g,U),(U&62914560)===U&&(ge=Mi+500-Tt(),10<ge)){if(sn(g,0)!==0)break;if(Me=g.suspendedLanes,(Me&U)!==U){Bo(),g.pingedLanes|=g.suspendedLanes&Me;break}g.timeoutHandle=wi(ml.bind(null,g),ge);break}ml(g);break;case 4:if(ul(g,U),(U&4186112)===U)break;for(ge=g.eventTimes,Me=-1;0<U;){var E=31-ci(U);at=1<<E,E=ge[E],E>Me&&(Me=E),U&=~at}if(U=Me,U=Tt()-U,U=(120>U?120:480>U?480:1080>U?1080:1920>U?1920:3e3>U?3e3:4320>U?4320:1960*Du(U/1960))-U,10<U){g.timeoutHandle=wi(ml.bind(null,g),U);break}ml(g);break;case 5:ml(g);break;default:throw Error(c(329))}}return yu(g,Tt()),g.callbackNode===P?gc.bind(null,g):null}function ul(g,P){for(P&=~Jn,P&=~Jr,g.suspendedLanes|=P,g.pingedLanes&=~P,g=g.expirationTimes;0<P;){var U=31-ci(P),ge=1<<U;g[U]=-1,P&=~ge}}function wn(g){if(Zi&48)throw Error(c(327));if(Ll(),g===ao&&g.expiredLanes&ti){var P=ti,U=_s(g,P);ve&Jr&&(P=sn(g,P),U=_s(g,P))}else P=sn(g,0),U=_s(g,P);if(g.tag!==0&&U===2&&(Zi|=64,g.hydrate&&(g.hydrate=!1,gi(g.containerInfo)),P=Xr(g),P!==0&&(U=_s(g,P))),U===1)throw U=R,ma(g,0),ul(g,P),yu(g,Tt()),U;return g.finishedWork=g.current.alternate,g.finishedLanes=P,ml(g),yu(g,Tt()),null}function zn(){if(ku!==null){var g=ku;ku=null,g.forEach(function(P){P.expiredLanes|=24&P.pendingLanes,yu(P,Tt())})}Qr()}function Fi(g,P){var U=Zi;Zi|=1;try{return g(P)}finally{Zi=U,Zi===0&&(Xs(),Qr())}}function ba(g,P){var U=Zi;Zi&=-2,Zi|=8;try{return g(P)}finally{Zi=U,Zi===0&&(Xs(),Qr())}}function Hi(g,P){Ya(I,Ou),Ou|=P,ve|=P}function ra(){Ou=I.current,la(I)}function ma(g,P){g.finishedWork=null,g.finishedLanes=0;var U=g.timeoutHandle;if(U!==-1&&(g.timeoutHandle=-1,ha(U)),Gs!==null)for(U=Gs.return;U!==null;){var ge=U;switch(ge.tag){case 1:ge=ge.type.childContextTypes,ge!=null&&gr();break;case 3:Ul(),la(be),la(ya),Ec();break;case 5:lc(ge);break;case 4:Ul();break;case 13:la(no);break;case 19:la(no);break;case 10:es(ge);break;case 23:case 24:ra()}U=U.return}ao=g,Gs=Fu(g.current,null),ti=Ou=ve=P,O=0,R=null,Jn=Jr=ze=0}function ps(g,P){do{var U=Gs;try{if(Ua(),Eu.current=Yl,Zl){for(var ge=Fa.memoizedState;ge!==null;){var Me=ge.queue;Me!==null&&(Me.pending=null),ge=ge.next}Zl=!1}if(Al=0,Wo=As=Fa=null,Hl=!1,Yo.current=null,U===null||U.return===null){O=1,R=P,Gs=null;break}e:{var at=g,E=U.return,t=U,n=P;if(P=ti,t.flags|=2048,t.firstEffect=t.lastEffect=null,n!==null&&typeof n=="object"&&typeof n.then=="function"){var s=n;if(!(t.mode&2)){var m=t.alternate;m?(t.updateQueue=m.updateQueue,t.memoizedState=m.memoizedState,t.lanes=m.lanes):(t.updateQueue=null,t.memoizedState=null)}var w=(no.current&1)!==0,C=E;do{var j;if(j=C.tag===13){var Y=C.memoizedState;if(Y!==null)j=Y.dehydrated!==null;else{var H=C.memoizedProps;j=H.fallback===void 0?!1:H.unstable_avoidThisFallback!==!0?!0:!w}}if(j){var te=C.updateQueue;if(te===null){var oe=new Set;oe.add(s),C.updateQueue=oe}else te.add(s);if(!(C.mode&2)){if(C.flags|=64,t.flags|=16384,t.flags&=-2981,t.tag===1)if(t.alternate===null)t.tag=17;else{var me=po(-1,1);me.tag=2,yo(t,me)}t.lanes|=1;break e}n=void 0,t=P;var Se=at.pingCache;if(Se===null?(Se=at.pingCache=new ec,n=new Set,Se.set(s,n)):(n=Se.get(s),n===void 0&&(n=new Set,Se.set(s,n))),!n.has(t)){n.add(t);var Ae=Df.bind(null,at,s,t);s.then(Ae,Ae)}C.flags|=4096,C.lanes=P;break e}C=C.return}while(C!==null);n=Error((Yt(t.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}O!==5&&(O=2),n=Yu(n,t),C=E;do{switch(C.tag){case 3:at=n,C.flags|=4096,P&=-P,C.lanes|=P;var lt=Dl(C,at,P);tu(C,lt);break e;case 1:at=n;var et=C.type,Lt=C.stateNode;if(!(C.flags&64)&&(typeof et.getDerivedStateFromError=="function"||Lt!==null&&typeof Lt.componentDidCatch=="function"&&(ks===null||!ks.has(Lt)))){C.flags|=4096,P&=-P,C.lanes|=P;var tr=iu(C,at,P);tu(C,tr);break e}}C=C.return}while(C!==null)}Qu(U)}catch(Kt){P=Kt,Gs===U&&U!==null&&(Gs=U=U.return);continue}break}while(!0)}function Ni(){var g=hl.current;return hl.current=Yl,g===null?Yl:g}function _s(g,P){var U=Zi;Zi|=16;var ge=Ni();ao===g&&ti===P||ma(g,P);do try{Lu();break}catch(Me){ps(g,Me)}while(!0);if(Ua(),Zi=U,hl.current=ge,Gs!==null)throw Error(c(261));return ao=null,ti=0,O}function Lu(){for(;Gs!==null;)ll(Gs)}function Mu(){for(;Gs!==null&&!Eo();)ll(Gs)}function ll(g){var P=yc(g.alternate,g,Ou);g.memoizedProps=g.pendingProps,P===null?Qu(g):Gs=P,Yo.current=null}function Qu(g){var P=g;do{var U=P.alternate;if(g=P.return,P.flags&2048){if(U=Vc(P),U!==null){U.flags&=2047,Gs=U;return}g!==null&&(g.firstEffect=g.lastEffect=null,g.flags|=2048)}else{if(U=nf(U,P,Ou),U!==null){Gs=U;return}if(U=P,U.tag!==24&&U.tag!==23||U.memoizedState===null||Ou&1073741824||!(U.mode&4)){for(var ge=0,Me=U.child;Me!==null;)ge|=Me.lanes|Me.childLanes,Me=Me.sibling;U.childLanes=ge}g!==null&&!(g.flags&2048)&&(g.firstEffect===null&&(g.firstEffect=P.firstEffect),P.lastEffect!==null&&(g.lastEffect!==null&&(g.lastEffect.nextEffect=P.firstEffect),g.lastEffect=P.lastEffect),1<P.flags&&(g.lastEffect!==null?g.lastEffect.nextEffect=P:g.firstEffect=P,g.lastEffect=P))}if(P=P.sibling,P!==null){Gs=P;return}Gs=P=g}while(P!==null);O===0&&(O=5)}function ml(g){var P=jt();return Pt(99,If.bind(null,g,P)),null}function If(g,P){do Ll();while(al!==null);if(Zi&48)throw Error(c(327));var U=g.finishedWork;if(U===null)return null;if(g.finishedWork=null,g.finishedLanes=0,U===g.current)throw Error(c(177));g.callbackNode=null;var ge=U.lanes|U.childLanes,Me=ge,at=g.pendingLanes&~Me;g.pendingLanes=Me,g.suspendedLanes=0,g.pingedLanes=0,g.expiredLanes&=Me,g.mutableReadLanes&=Me,g.entangledLanes&=Me,Me=g.entanglements;for(var E=g.eventTimes,t=g.expirationTimes;0<at;){var n=31-ci(at),s=1<<n;Me[n]=0,E[n]=-1,t[n]=-1,at&=~s}if(ku!==null&&!(ge&24)&&ku.has(g)&&ku.delete(g),g===ao&&(Gs=ao=null,ti=0),1<U.flags?U.lastEffect!==null?(U.lastEffect.nextEffect=U,ge=U.firstEffect):ge=U:ge=U.firstEffect,ge!==null){if(Me=Zi,Zi|=32,Yo.current=null,fi=na,E=ua(),qs(E)){if("selectionStart"in E)t={start:E.selectionStart,end:E.selectionEnd};else e:if(t=(t=E.ownerDocument)&&t.defaultView||window,(s=t.getSelection&&t.getSelection())&&s.rangeCount!==0){t=s.anchorNode,at=s.anchorOffset,n=s.focusNode,s=s.focusOffset;try{t.nodeType,n.nodeType}catch(Kt){t=null;break e}var m=0,w=-1,C=-1,j=0,Y=0,H=E,te=null;t:for(;;){for(var oe;H!==t||at!==0&&H.nodeType!==3||(w=m+at),H!==n||s!==0&&H.nodeType!==3||(C=m+s),H.nodeType===3&&(m+=H.nodeValue.length),(oe=H.firstChild)!==null;)te=H,H=oe;for(;;){if(H===E)break t;if(te===t&&++j===at&&(w=m),te===n&&++Y===s&&(C=m),(oe=H.nextSibling)!==null)break;H=te,te=H.parentNode}H=oe}t=w===-1||C===-1?null:{start:w,end:C}}else t=null;t=t||{start:0,end:0}}else t=null;xi={focusedElem:E,selectionRange:t},na=!1,ol=null,ic=!1,ei=ge;do try{Sf()}catch(Kt){if(ei===null)throw Error(c(330));cl(ei,Kt),ei=ei.nextEffect}while(ei!==null);ol=null,ei=ge;do try{for(E=g;ei!==null;){var me=ei.flags;if(me&16&&At(ei.stateNode,""),me&128){var Se=ei.alternate;if(Se!==null){var Ae=Se.ref;Ae!==null&&(typeof Ae=="function"?Ae(null):Ae.current=null)}}switch(me&1038){case 2:Mo(ei),ei.flags&=-3;break;case 6:Mo(ei),ei.flags&=-3,rc(ei.alternate,ei);break;case 1024:ei.flags&=-1025;break;case 1028:ei.flags&=-1025,rc(ei.alternate,ei);break;case 4:rc(ei.alternate,ei);break;case 8:t=ei,af(E,t);var lt=t.alternate;Oc(t),lt!==null&&Oc(lt)}ei=ei.nextEffect}}catch(Kt){if(ei===null)throw Error(c(330));cl(ei,Kt),ei=ei.nextEffect}while(ei!==null);if(Ae=xi,Se=ua(),me=Ae.focusedElem,E=Ae.selectionRange,Se!==me&&me&&me.ownerDocument&&ki(me.ownerDocument.documentElement,me)){for(E!==null&&qs(me)&&(Se=E.start,Ae=E.end,Ae===void 0&&(Ae=Se),"selectionStart"in me?(me.selectionStart=Se,me.selectionEnd=Math.min(Ae,me.value.length)):(Ae=(Se=me.ownerDocument||document)&&Se.defaultView||window,Ae.getSelection&&(Ae=Ae.getSelection(),t=me.textContent.length,lt=Math.min(E.start,t),E=E.end===void 0?lt:Math.min(E.end,t),!Ae.extend&&lt>E&&(t=E,E=lt,lt=t),t=Yi(me,lt),at=Yi(me,E),t&&at&&(Ae.rangeCount!==1||Ae.anchorNode!==t.node||Ae.anchorOffset!==t.offset||Ae.focusNode!==at.node||Ae.focusOffset!==at.offset)&&(Se=Se.createRange(),Se.setStart(t.node,t.offset),Ae.removeAllRanges(),lt>E?(Ae.addRange(Se),Ae.extend(at.node,at.offset)):(Se.setEnd(at.node,at.offset),Ae.addRange(Se)))))),Se=[],Ae=me;Ae=Ae.parentNode;)Ae.nodeType===1&&Se.push({element:Ae,left:Ae.scrollLeft,top:Ae.scrollTop});for(typeof me.focus=="function"&&me.focus(),me=0;me<Se.length;me++)Ae=Se[me],Ae.element.scrollLeft=Ae.left,Ae.element.scrollTop=Ae.top}na=!!fi,xi=fi=null,g.current=U,ei=ge;do try{for(me=g;ei!==null;){var et=ei.flags;if(et&36&&_c(me,ei.alternate,ei),et&128){Se=void 0;var Lt=ei.ref;if(Lt!==null){var tr=ei.stateNode;switch(ei.tag){case 5:Se=tr;break;default:Se=tr}typeof Lt=="function"?Lt(Se):Lt.current=Se}}ei=ei.nextEffect}}catch(Kt){if(ei===null)throw Error(c(330));cl(ei,Kt),ei=ei.nextEffect}while(ei!==null);ei=null,q(),Zi=Me}else g.current=U;if(so)so=!1,al=g,pl=P;else for(ei=ge;ei!==null;)P=ei.nextEffect,ei.nextEffect=null,ei.flags&8&&(et=ei,et.sibling=null,et.stateNode=null),ei=P;if(ge=g.pendingLanes,ge===0&&(ks=null),ge===1?g===nc?Ru++:(Ru=0,nc=g):Ru=0,U=U.stateNode,Rn&&typeof Rn.onCommitFiberRoot=="function")try{Rn.onCommitFiberRoot(On,U,void 0,(U.current.flags&64)===64)}catch(Kt){}if(yu(g,Tt()),hs)throw hs=!1,g=Fo,Fo=null,g;return Zi&8||Qr(),null}function Sf(){for(;ei!==null;){var g=ei.alternate;ic||ol===null||(ei.flags&8?qr(ei,ol)&&(ic=!0):ei.tag===13&&sf(g,ei)&&qr(ei,ol)&&(ic=!0));var P=ei.flags;P&256&&Dc(g,ei),!(P&512)||so||(so=!0,Ur(97,function(){return Ll(),null})),ei=ei.nextEffect}}function Ll(){if(pl!==90){var g=97<pl?97:pl;return pl=90,Pt(g,Kc)}return!1}function of(g,P){sl.push(P,g),so||(so=!0,Ur(97,function(){return Ll(),null}))}function Lc(g,P){Rc.push(P,g),so||(so=!0,Ur(97,function(){return Ll(),null}))}function Kc(){if(al===null)return!1;var g=al;if(al=null,Zi&48)throw Error(c(331));var P=Zi;Zi|=32;var U=Rc;Rc=[];for(var ge=0;ge<U.length;ge+=2){var Me=U[ge],at=U[ge+1],E=Me.destroy;if(Me.destroy=void 0,typeof E=="function")try{E()}catch(n){if(at===null)throw Error(c(330));cl(at,n)}}for(U=sl,sl=[],ge=0;ge<U.length;ge+=2){Me=U[ge],at=U[ge+1];try{var t=Me.create;Me.destroy=t()}catch(n){if(at===null)throw Error(c(330));cl(at,n)}}for(t=g.current.firstEffect;t!==null;)g=t.nextEffect,t.nextEffect=null,t.flags&8&&(t.sibling=null,t.stateNode=null),t=g;return Zi=P,Qr(),!0}function uf(g,P,U){P=Yu(U,P),P=Dl(g,P,1),yo(g,P),P=Bo(),g=vc(g,1),g!==null&&(mi(g,1,P),yu(g,P))}function cl(g,P){if(g.tag===3)uf(g,g,P);else for(var U=g.return;U!==null;){if(U.tag===3){uf(U,g,P);break}else if(U.tag===1){var ge=U.stateNode;if(typeof U.type.getDerivedStateFromError=="function"||typeof ge.componentDidCatch=="function"&&(ks===null||!ks.has(ge))){g=Yu(P,g);var Me=iu(U,g,1);if(yo(U,Me),Me=Bo(),U=vc(U,1),U!==null)mi(U,1,Me),yu(U,Me);else if(typeof ge.componentDidCatch=="function"&&(ks===null||!ks.has(ge)))try{ge.componentDidCatch(P,g)}catch(at){}break}}U=U.return}}function Df(g,P,U){var ge=g.pingCache;ge!==null&&ge.delete(P),P=Bo(),g.pingedLanes|=g.suspendedLanes&U,ao===g&&(ti&U)===U&&(O===4||O===3&&(ti&62914560)===ti&&500>Tt()-Mi?ma(g,0):Jn|=U),yu(g,P)}function Ju(g,P){var U=g.stateNode;U!==null&&U.delete(P),P=0,P===0&&(P=g.mode,P&2?P&4?(qu===0&&(qu=ve),P=gn(62914560&~qu),P===0&&(P=4194304)):P=jt()===99?1:2:P=1),U=Bo(),g=vc(g,P),g!==null&&(mi(g,P,U),yu(g,U))}var yc;yc=function(g,P,U){var ge=P.lanes;if(g!==null)if(g.memoizedProps!==P.pendingProps||be.current)Su=!0;else if(U&ge)Su=!!(g.flags&16384);else{switch(Su=!1,P.tag){case 3:Pl(P),Zc();break;case 5:Sl(P);break;case 1:Kr(P.type)&&Gn(P);break;case 4:uc(P,P.stateNode.containerInfo);break;case 10:ge=P.memoizedProps.value;var Me=P.type._context;Ya(Ei,Me._currentValue),Me._currentValue=ge;break;case 13:if(P.memoizedState!==null)return U&P.child.childLanes?Il(g,P,U):(Ya(no,no.current&1),P=Lo(g,P,U),P!==null?P.sibling:null);Ya(no,no.current&1);break;case 19:if(ge=(U&P.childLanes)!==0,g.flags&64){if(ge)return Ku(g,P,U);P.flags|=64}if(Me=P.memoizedState,Me!==null&&(Me.rendering=null,Me.tail=null,Me.lastEffect=null),Ya(no,no.current),ge)break;return null;case 23:case 24:return P.lanes=0,io(g,P,U)}return Lo(g,P,U)}else Su=!1;switch(P.lanes=0,P.tag){case 2:if(ge=P.type,g!==null&&(g.alternate=null,P.alternate=null,P.flags|=2),g=P.pendingProps,Me=yr(P,ya.current),is(P,U),Me=Hc(null,P,ge,g,Me,U),P.flags|=1,typeof Me=="object"&&Me!==null&&typeof Me.render=="function"&&Me.$$typeof===void 0){if(P.tag=1,P.memoizedState=null,P.updateQueue=null,Kr(ge)){var at=!0;Gn(P)}else at=!1;P.memoizedState=Me.state!==null&&Me.state!==void 0?Me.state:null,Ps(P);var E=ge.getDerivedStateFromProps;typeof E=="function"&&wl(P,ge,E,g),Me.updater=el,P.stateNode=Me,Me._reactInternals=P,zu(P,ge,g,U),P=ke(null,P,ge,!0,at,U)}else P.tag=0,Ts(null,P,Me,U),P=P.child;return P;case 16:Me=P.elementType;e:{switch(g!==null&&(g.alternate=null,P.alternate=null,P.flags|=2),g=P.pendingProps,at=Me._init,Me=at(Me._payload),P.type=Me,at=P.tag=cf(Me),g=Un(Me,g),at){case 0:P=ko(null,P,Me,g,U);break e;case 1:P=Ql(null,P,Me,g,U);break e;case 11:P=Gc(null,P,Me,g,U);break e;case 14:P=rf(null,P,Me,Un(Me.type,g),ge,U);break e}throw Error(c(306,Me,""))}return P;case 0:return ge=P.type,Me=P.pendingProps,Me=P.elementType===ge?Me:Un(ge,Me),ko(g,P,ge,Me,U);case 1:return ge=P.type,Me=P.pendingProps,Me=P.elementType===ge?Me:Un(ge,Me),Ql(g,P,ge,Me,U);case 3:if(Pl(P),ge=P.updateQueue,g===null||ge===null)throw Error(c(282));if(ge=P.pendingProps,Me=P.memoizedState,Me=Me!==null?Me.element:null,Sa(g,P),Is(P,ge,null,U),ge=P.memoizedState.element,ge===Me)Zc(),P=Lo(g,P,U);else{if(Me=P.stateNode,(at=Me.hydrate)&&(fl=yi(P.stateNode.containerInfo.firstChild),ru=P,at=Us=!0),at){if(g=Me.mutableSourceEagerHydrationData,g!=null)for(Me=0;Me<g.length;Me+=2)at=g[Me],at._workInProgressVersionPrimary=g[Me+1],wu.push(at);for(U=El(P,null,ge,U),P.child=U;U;)U.flags=U.flags&-3|1024,U=U.sibling}else Ts(g,P,ge,U),Zc();P=P.child}return P;case 5:return Sl(P),g===null&&ii(P),ge=P.type,Me=P.pendingProps,at=g!==null?g.memoizedProps:null,E=Me.children,Ri(ge,Me)?E=null:at!==null&&Ri(ge,at)&&(P.flags|=16),Xl(g,P),Ts(g,P,E,U),P.child;case 6:return g===null&&ii(P),null;case 13:return Il(g,P,U);case 4:return uc(P,P.stateNode.containerInfo),ge=P.pendingProps,g===null?P.child=Ko(P,null,ge,U):Ts(g,P,ge,U),P.child;case 11:return ge=P.type,Me=P.pendingProps,Me=P.elementType===ge?Me:Un(ge,Me),Gc(g,P,ge,Me,U);case 7:return Ts(g,P,P.pendingProps,U),P.child;case 8:return Ts(g,P,P.pendingProps.children,U),P.child;case 12:return Ts(g,P,P.pendingProps.children,U),P.child;case 10:e:{ge=P.type._context,Me=P.pendingProps,E=P.memoizedProps,at=Me.value;var t=P.type._context;if(Ya(Ei,t._currentValue),t._currentValue=at,E!==null)if(t=E.value,at=kn(t,at)?0:(typeof ge._calculateChangedBits=="function"?ge._calculateChangedBits(t,at):1073741823)|0,at===0){if(E.children===Me.children&&!be.current){P=Lo(g,P,U);break e}}else for(t=P.child,t!==null&&(t.return=P);t!==null;){var n=t.dependencies;if(n!==null){E=t.child;for(var s=n.firstContext;s!==null;){if(s.context===ge&&s.observedBits&at){t.tag===1&&(s=po(-1,U&-U),s.tag=2,yo(t,s)),t.lanes|=U,s=t.alternate,s!==null&&(s.lanes|=U),ds(t.return,U),n.lanes|=U;break}s=s.next}}else E=t.tag===10&&t.type===P.type?null:t.child;if(E!==null)E.return=t;else for(E=t;E!==null;){if(E===P){E=null;break}if(t=E.sibling,t!==null){t.return=E.return,E=t;break}E=E.return}t=E}Ts(g,P,Me.children,U),P=P.child}return P;case 9:return Me=P.type,at=P.pendingProps,ge=at.children,is(P,U),Me=Xi(Me,at.unstable_observedBits),ge=ge(Me),P.flags|=1,Ts(g,P,ge,U),P.child;case 14:return Me=P.type,at=Un(Me,P.pendingProps),at=Un(Me.type,at),rf(g,P,Me,at,ge,U);case 15:return Ic(g,P,P.type,P.pendingProps,ge,U);case 17:return ge=P.type,Me=P.pendingProps,Me=P.elementType===ge?Me:Un(ge,Me),g!==null&&(g.alternate=null,P.alternate=null,P.flags|=2),P.tag=1,Kr(ge)?(g=!0,Gn(P)):g=!1,is(P,U),ou(P,ge,Me),zu(P,ge,Me,U),ke(null,P,ge,!0,g,U);case 19:return Ku(g,P,U);case 23:return io(g,P,U);case 24:return io(g,P,U)}throw Error(c(156,P.tag))};function lf(g,P,U,ge){this.tag=g,this.key=U,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=P,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ge,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function qo(g,P,U,ge){return new lf(g,P,U,ge)}function Yc(g){return g=g.prototype,!(!g||!g.isReactComponent)}function cf(g){if(typeof g=="function")return Yc(g)?1:0;if(g!=null){if(g=g.$$typeof,g===J)return 11;if(g===ee)return 14}return 2}function Fu(g,P){var U=g.alternate;return U===null?(U=qo(g.tag,P,g.key,g.mode),U.elementType=g.elementType,U.type=g.type,U.stateNode=g.stateNode,U.alternate=g,g.alternate=U):(U.pendingProps=P,U.type=g.type,U.flags=0,U.nextEffect=null,U.firstEffect=null,U.lastEffect=null),U.childLanes=g.childLanes,U.lanes=g.lanes,U.child=g.child,U.memoizedProps=g.memoizedProps,U.memoizedState=g.memoizedState,U.updateQueue=g.updateQueue,P=g.dependencies,U.dependencies=P===null?null:{lanes:P.lanes,firstContext:P.firstContext},U.sibling=g.sibling,U.index=g.index,U.ref=g.ref,U}function bc(g,P,U,ge,Me,at){var E=2;if(ge=g,typeof g=="function")Yc(g)&&(E=1);else if(typeof g=="string")E=5;else e:switch(g){case W:return Io(U.children,Me,at,P);case $:E=8,Me|=16;break;case ne:E=8,Me|=1;break;case ae:return g=qo(12,U,P,Me|8),g.elementType=ae,g.type=ae,g.lanes=at,g;case V:return g=qo(13,U,P,Me),g.type=V,g.elementType=V,g.lanes=at,g;case ue:return g=qo(19,U,P,Me),g.elementType=ue,g.lanes=at,g;case se:return ff(U,Me,at,P);case _e:return g=qo(24,U,P,Me),g.elementType=_e,g.lanes=at,g;default:if(typeof g=="object"&&g!==null)switch(g.$$typeof){case le:E=10;break e;case Q:E=9;break e;case J:E=11;break e;case ee:E=14;break e;case X:E=16,ge=null;break e;case ce:E=22;break e}throw Error(c(130,g==null?g:typeof g,""))}return P=qo(E,U,P,Me),P.elementType=g,P.type=ge,P.lanes=at,P}function Io(g,P,U,ge){return g=qo(7,g,ge,P),g.lanes=U,g}function ff(g,P,U,ge){return g=qo(23,g,ge,P),g.elementType=se,g.lanes=U,g}function df(g,P,U){return g=qo(6,g,null,P),g.lanes=U,g}function Mc(g,P,U){return P=qo(4,g.children!==null?g.children:[],g.key,P),P.lanes=U,P.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},P}function Fc(g,P,U){this.tag=P,this.containerInfo=g,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=U,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=da(0),this.expirationTimes=da(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=da(0),this.mutableSourceEagerHydrationData=null}function qc(g,P,U){var ge=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:G,key:ge==null?null:""+ge,children:g,containerInfo:P,implementation:U}}function Bc(g,P,U,ge){var Me=P.current,at=Bo(),E=Xu(Me);e:if(U){U=U._reactInternals;t:{if(ot(U)!==U||U.tag!==1)throw Error(c(170));var t=U;do{switch(t.tag){case 3:t=t.stateNode.context;break t;case 1:if(Kr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break t}}t=t.return}while(t!==null);throw Error(c(171))}if(U.tag===1){var n=U.type;if(Kr(n)){U=xn(U,n,t);break e}}U=t}else U=gs;return P.context===null?P.context=U:P.pendingContext=U,P=po(at,E),P.payload={element:g},ge=ge===void 0?null:ge,ge!==null&&(P.callback=ge),yo(Me,P),_l(Me,E,at),E}function Of(g){if(g=g.current,!g.child)return null;switch(g.child.tag){case 5:return g.child.stateNode;default:return g.child.stateNode}}function Af(g,P){if(g=g.memoizedState,g!==null&&g.dehydrated!==null){var U=g.retryLane;g.retryLane=U!==0&&U<P?U:P}}function Xc(g,P){Af(g,P),(g=g.alternate)&&Af(g,P)}function Tf(){return null}function kf(g,P,U){var ge=U!=null&&U.hydrationOptions!=null&&U.hydrationOptions.mutableSources||null;if(U=new Fc(g,P,U!=null&&U.hydrate===!0),P=qo(3,null,null,P===2?7:P===1?3:0),U.current=P,P.stateNode=U,Ps(P),g[Ii]=U.current,Wt(g.nodeType===8?g.parentNode:g),ge)for(g=0;g<ge.length;g++){P=ge[g];var Me=P._getVersion;Me=Me(P._source),U.mutableSourceEagerHydrationData==null?U.mutableSourceEagerHydrationData=[P,Me]:U.mutableSourceEagerHydrationData.push(P,Me)}this._internalRoot=U}kf.prototype.render=function(g){Bc(g,this._internalRoot,null,null)},kf.prototype.unmount=function(){var g=this._internalRoot,P=g.containerInfo;Bc(null,g,null,function(){P[Ii]=null})};function hf(g){return!(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11&&(g.nodeType!==8||g.nodeValue!==" react-mount-point-unstable "))}function zf(g,P){if(P||(P=g?g.nodeType===9?g.documentElement:g.firstChild:null,P=!(!P||P.nodeType!==1||!P.hasAttribute("data-reactroot"))),!P)for(var U;U=g.lastChild;)g.removeChild(U);return new kf(g,0,P?{hydrate:!0}:void 0)}function pf(g,P,U,ge,Me){var at=U._reactRootContainer;if(at){var E=at._internalRoot;if(typeof Me=="function"){var t=Me;Me=function(){var s=Of(E);t.call(s)}}Bc(P,E,g,Me)}else{if(at=U._reactRootContainer=zf(U,ge),E=at._internalRoot,typeof Me=="function"){var n=Me;Me=function(){var s=Of(E);n.call(s)}}ba(function(){Bc(P,E,g,Me)})}return Of(E)}ln=function(g){if(g.tag===13){var P=Bo();_l(g,4,P),Xc(g,4)}},Ln=function(g){if(g.tag===13){var P=Bo();_l(g,67108864,P),Xc(g,67108864)}},Vn=function(g){if(g.tag===13){var P=Bo(),U=Xu(g);_l(g,U,P),Xc(g,U)}},Bn=function(g,P){return P()},Et=function(g,P,U){switch(P){case"input":if(ye(g,U),P=U.name,U.type==="radio"&&P!=null){for(U=g;U.parentNode;)U=U.parentNode;for(U=U.querySelectorAll("input[name="+JSON.stringify(""+P)+'][type="radio"]'),P=0;P<U.length;P++){var ge=U[P];if(ge!==g&&ge.form===g.form){var Me=Ja(ge);if(!Me)throw Error(c(90));st(ge),ye(ge,Me)}}}break;case"textarea":Ht(g,U);break;case"select":P=U.value,P!=null&&it(g,!!U.multiple,P,!1)}},Ft=Fi,Be=function(g,P,U,ge,Me){var at=Zi;Zi|=4;try{return Pt(98,g.bind(null,P,U,ge,Me))}finally{Zi=at,Zi===0&&(Xs(),Qr())}},Pr=function(){!(Zi&49)&&(zn(),Ll())},St=function(g,P){var U=Zi;Zi|=2;try{return g(P)}finally{Zi=U,Zi===0&&(Xs(),Qr())}};function Rf(g,P){var U=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!hf(P))throw Error(c(200));return qc(g,P,null,U)}var Bf={Events:[Ka,fo,Ja,qe,vt,Ll,{current:!1}]},_f={findFiberByHostInstance:La,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Zf={bundleType:_f.bundleType,version:_f.version,rendererPackageName:_f.rendererPackageName,rendererConfig:_f.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(g){return g=_r(g),g===null?null:g.stateNode},findFiberByHostInstance:_f.findFiberByHostInstance||Tf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Cf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cf.isDisabled&&Cf.supportsFiber)try{On=Cf.inject(Zf),Rn=Cf}catch(g){}}v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Bf,v.createPortal=Rf,v.findDOMNode=function(g){if(g==null)return null;if(g.nodeType===1)return g;var P=g._reactInternals;if(P===void 0)throw typeof g.render=="function"?Error(c(188)):Error(c(268,Object.keys(g)));return g=_r(P),g=g===null?null:g.stateNode,g},v.flushSync=function(g,P){var U=Zi;if(U&48)return g(P);Zi|=1;try{if(g)return Pt(99,g.bind(null,P))}finally{Zi=U,Qr()}},v.hydrate=function(g,P,U){if(!hf(P))throw Error(c(200));return pf(null,g,P,!0,U)},v.render=function(g,P,U){if(!hf(P))throw Error(c(200));return pf(null,g,P,!1,U)},v.unmountComponentAtNode=function(g){if(!hf(g))throw Error(c(40));return g._reactRootContainer?(ba(function(){pf(null,null,g,!1,function(){g._reactRootContainer=null,g[Ii]=null})}),!0):!1},v.unstable_batchedUpdates=Fi,v.unstable_createPortal=function(g,P){return Rf(g,P,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},v.unstable_renderSubtreeIntoContainer=function(g,P,U,ge){if(!hf(U))throw Error(c(200));if(g==null||g._reactInternals===void 0)throw Error(c(38));return pf(g,P,U,!1,ge)},v.version="17.0.2"},4676:function(d,v,e){"use strict";function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}r(),d.exports=e(23675)},12373:function(d){var v=typeof Element!="undefined",e=typeof Map=="function",r=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,f){if(c===f)return!0;if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var o,h,u;if(Array.isArray(c)){if(o=c.length,o!=f.length)return!1;for(h=o;h--!==0;)if(!l(c[h],f[h]))return!1;return!0}var a;if(e&&c instanceof Map&&f instanceof Map){if(c.size!==f.size)return!1;for(a=c.entries();!(h=a.next()).done;)if(!f.has(h.value[0]))return!1;for(a=c.entries();!(h=a.next()).done;)if(!l(h.value[1],f.get(h.value[0])))return!1;return!0}if(r&&c instanceof Set&&f instanceof Set){if(c.size!==f.size)return!1;for(a=c.entries();!(h=a.next()).done;)if(!f.has(h.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(f)){if(o=c.length,o!=f.length)return!1;for(h=o;h--!==0;)if(c[h]!==f[h])return!1;return!0}if(c.constructor===RegExp)return c.source===f.source&&c.flags===f.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof f.valueOf=="function")return c.valueOf()===f.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof f.toString=="function")return c.toString()===f.toString();if(u=Object.keys(c),o=u.length,o!==Object.keys(f).length)return!1;for(h=o;h--!==0;)if(!Object.prototype.hasOwnProperty.call(f,u[h]))return!1;if(v&&c instanceof Element)return!1;for(h=o;h--!==0;)if(!((u[h]==="_owner"||u[h]==="__v"||u[h]==="__o")&&c.$$typeof)&&!l(c[u[h]],f[u[h]]))return!1;return!0}return c!==c&&f!==f}d.exports=function(f,o){try{return l(f,o)}catch(h){if((h.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw h}}},30508:function(d,v){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,l=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,f=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,h=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,a=e?Symbol.for("react.concurrent_mode"):60111,x=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,A=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,L=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function D(B){if(typeof B=="object"&&B!==null){var N=B.$$typeof;switch(N){case r:switch(B=B.type,B){case u:case a:case l:case f:case c:case p:return B;default:switch(B=B&&B.$$typeof,B){case h:case x:case b:case _:case o:return B;default:return N}}case i:return N}}}function M(B){return D(B)===a}v.AsyncMode=u,v.ConcurrentMode=a,v.ContextConsumer=h,v.ContextProvider=o,v.Element=r,v.ForwardRef=x,v.Fragment=l,v.Lazy=b,v.Memo=_,v.Portal=i,v.Profiler=f,v.StrictMode=c,v.Suspense=p,v.isAsyncMode=function(B){return M(B)||D(B)===u},v.isConcurrentMode=M,v.isContextConsumer=function(B){return D(B)===h},v.isContextProvider=function(B){return D(B)===o},v.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===r},v.isForwardRef=function(B){return D(B)===x},v.isFragment=function(B){return D(B)===l},v.isLazy=function(B){return D(B)===b},v.isMemo=function(B){return D(B)===_},v.isPortal=function(B){return D(B)===i},v.isProfiler=function(B){return D(B)===f},v.isStrictMode=function(B){return D(B)===c},v.isSuspense=function(B){return D(B)===p},v.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===l||B===a||B===f||B===c||B===p||B===y||typeof B=="object"&&B!==null&&(B.$$typeof===b||B.$$typeof===_||B.$$typeof===o||B.$$typeof===h||B.$$typeof===x||B.$$typeof===k||B.$$typeof===L||B.$$typeof===T||B.$$typeof===A)},v.typeOf=D},99234:function(d,v,e){"use strict";d.exports=e(30508)},88172:function(d,v){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),o=Symbol.for("react.context"),h=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),_=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function A(k){if(typeof k=="object"&&k!==null){var L=k.$$typeof;switch(L){case e:switch(k=k.type,k){case i:case c:case l:case a:case x:return k;default:switch(k=k&&k.$$typeof,k){case h:case o:case u:case y:case p:case f:return k;default:return L}}case r:return L}}}v.ContextConsumer=o,v.ContextProvider=f,v.Element=e,v.ForwardRef=u,v.Fragment=i,v.Lazy=y,v.Memo=p,v.Portal=r,v.Profiler=c,v.StrictMode=l,v.Suspense=a,v.SuspenseList=x,v.isAsyncMode=function(){return!1},v.isConcurrentMode=function(){return!1},v.isContextConsumer=function(k){return A(k)===o},v.isContextProvider=function(k){return A(k)===f},v.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===e},v.isForwardRef=function(k){return A(k)===u},v.isFragment=function(k){return A(k)===i},v.isLazy=function(k){return A(k)===y},v.isMemo=function(k){return A(k)===p},v.isPortal=function(k){return A(k)===r},v.isProfiler=function(k){return A(k)===c},v.isStrictMode=function(k){return A(k)===l},v.isSuspense=function(k){return A(k)===a},v.isSuspenseList=function(k){return A(k)===x},v.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===i||k===c||k===l||k===a||k===x||k===_||typeof k=="object"&&k!==null&&(k.$$typeof===y||k.$$typeof===p||k.$$typeof===f||k.$$typeof===o||k.$$typeof===u||k.$$typeof===b||k.getModuleId!==void 0)},v.typeOf=A},23265:function(d,v,e){"use strict";d.exports=e(88172)},32451:function(d,v,e){"use strict";e.d(v,{lr:function(){return k},rU:function(){return _}});var r=e(59301),i=e(35338),l=e(19340);function c(){return c=Object.assign||function(T){for(var D=1;D<arguments.length;D++){var M=arguments[D];for(var B in M)Object.prototype.hasOwnProperty.call(M,B)&&(T[B]=M[B])}return T},c.apply(this,arguments)}function f(T,D){if(T==null)return{};var M={},B=Object.keys(T),N,K;for(K=0;K<B.length;K++)N=B[K],!(D.indexOf(N)>=0)&&(M[N]=T[N]);return M}const o=["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(M){}}}function a(T){let{basename:D,children:M,window:B}=T,N=useRef();N.current==null&&(N.current=createBrowserHistory({window:B}));let K=N.current,[G,W]=useState({action:K.action,location:K.location});return useLayoutEffect(()=>K.listen(W),[K]),createElement(Router,{basename:D,children:M,location:G.location,navigationType:G.action,navigator:K})}function x(T){let{basename:D,children:M,window:B}=T,N=useRef();N.current==null&&(N.current=createHashHistory({window:B}));let K=N.current,[G,W]=useState({action:K.action,location:K.location});return useLayoutEffect(()=>K.listen(W),[K]),createElement(Router,{basename:D,children:M,location:G.location,navigationType:G.action,navigator:K})}function p(T){let{basename:D,children:M,history:B}=T;const[N,K]=useState({action:B.action,location:B.location});return useLayoutEffect(()=>B.listen(K),[B]),createElement(Router,{basename:D,children:M,location:N.location,navigationType:N.action,navigator:B})}function y(T){return!!(T.metaKey||T.altKey||T.ctrlKey||T.shiftKey)}const _=(0,r.forwardRef)(function(D,M){let{onClick:B,reloadDocument:N,replace:K=!1,state:G,target:W,to:ne}=D,ae=f(D,o),le=(0,i.oQ)(ne),Q=A(ne,{replace:K,state:G,target:W});function J(V){B&&B(V),!V.defaultPrevented&&!N&&Q(V)}return(0,r.createElement)("a",c({},ae,{href:le,onClick:J,ref:M,target:W}))}),b=null;function A(T,D){let{target:M,replace:B,state:N}=D===void 0?{}:D,K=(0,i.s0)(),G=(0,i.TH)(),W=(0,i.WU)(T);return(0,r.useCallback)(ne=>{if(ne.button===0&&(!M||M==="_self")&&!y(ne)){ne.preventDefault();let ae=!!B||(0,l.Ep)(G)===(0,l.Ep)(W);K(T,{replace:ae,state:N})}},[G,K,W,B,N,M,T])}function k(T){let D=(0,r.useRef)(L(T)),M=(0,i.TH)(),B=(0,r.useMemo)(()=>{let G=L(M.search);for(let W of D.current.keys())G.has(W)||D.current.getAll(W).forEach(ne=>{G.append(W,ne)});return G},[M.search]),N=(0,i.s0)(),K=(0,r.useCallback)((G,W)=>{N("?"+L(G),W)},[N]);return[B,K]}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,M)=>{let B=T[M];return D.concat(Array.isArray(B)?B.map(N=>[M,N]):[[M,B]])},[]))}},35338:function(d,v,e){"use strict";e.d(v,{F0:function(){return st},Fg:function(){return Ve},Gn:function(){return x},TH:function(){return se},UO:function(){return yt},V$:function(){return rr},WU:function(){return It},bx:function(){return $e},fp:function(){return p},j3:function(){return Ct},oQ:function(){return z},s0:function(){return Le}});var r=e(19340),i=e(59301);const l=(0,i.createContext)(null),c=(0,i.createContext)(null),f=(0,i.createContext)({outlet:null,matches:[]});function o(Ue,ye){if(!Ue)throw new Error(ye)}function h(Ue,ye){if(!Ue){typeof console!="undefined"&&console.warn(ye);try{throw new Error(ye)}catch(Ce){}}}const u={};function a(Ue,ye,Ce){!ye&&!u[Ue]&&(u[Ue]=!0)}function x(Ue,ye){return ye===void 0&&(ye={}),Ue.replace(/:(\w+)/g,(Ce,Fe)=>(ye[Fe]==null&&o(!1),ye[Fe])).replace(/\/*\*$/,Ce=>ye["*"]==null?"":ye["*"].replace(/^\/*/,"/"))}function p(Ue,ye,Ce){Ce===void 0&&(Ce="/");let Fe=typeof ye=="string"?(0,r.cP)(ye):ye,je=V(Fe.pathname||"/",Ce);if(je==null)return null;let Ge=y(Ue);_(Ge);let it=null;for(let ct=0;it==null&&ct<Ge.length;++ct)it=K(Ge[ct],je);return it}function y(Ue,ye,Ce,Fe){return ye===void 0&&(ye=[]),Ce===void 0&&(Ce=[]),Fe===void 0&&(Fe=""),Ue.forEach((je,Ge)=>{let it={relativePath:je.path||"",caseSensitive:je.caseSensitive===!0,childrenIndex:Ge,route:je};it.relativePath.startsWith("/")&&(it.relativePath.startsWith(Fe)||o(!1),it.relativePath=it.relativePath.slice(Fe.length));let ct=ue([Fe,it.relativePath]),Gt=Ce.concat(it);je.children&&je.children.length>0&&(je.index===!0&&o(!1),y(je.children,ye,Gt,ct)),!(je.path==null&&!je.index)&&ye.push({path:ct,score:B(ct,je.index),routesMeta:Gt})}),ye}function _(Ue){Ue.sort((ye,Ce)=>ye.score!==Ce.score?Ce.score-ye.score:N(ye.routesMeta.map(Fe=>Fe.childrenIndex),Ce.routesMeta.map(Fe=>Fe.childrenIndex)))}const b=/^:\w+$/,A=3,k=2,L=1,T=10,D=-2,M=Ue=>Ue==="*";function B(Ue,ye){let Ce=Ue.split("/"),Fe=Ce.length;return Ce.some(M)&&(Fe+=D),ye&&(Fe+=k),Ce.filter(je=>!M(je)).reduce((je,Ge)=>je+(b.test(Ge)?A:Ge===""?L:T),Fe)}function N(Ue,ye){return Ue.length===ye.length&&Ue.slice(0,-1).every((Fe,je)=>Fe===ye[je])?Ue[Ue.length-1]-ye[ye.length-1]:0}function K(Ue,ye){let{routesMeta:Ce}=Ue,Fe={},je="/",Ge=[];for(let it=0;it<Ce.length;++it){let ct=Ce[it],Gt=it===Ce.length-1,Ht=je==="/"?ye:ye.slice(je.length)||"/",Pe=G({path:ct.relativePath,caseSensitive:ct.caseSensitive,end:Gt},Ht);if(!Pe)return null;Object.assign(Fe,Pe.params);let tt=ct.route;Ge.push({params:Fe,pathname:ue([je,Pe.pathname]),pathnameBase:ee(ue([je,Pe.pathnameBase])),route:tt}),Pe.pathnameBase!=="/"&&(je=ue([je,Pe.pathnameBase]))}return Ge}function G(Ue,ye){typeof Ue=="string"&&(Ue={path:Ue,caseSensitive:!1,end:!0});let[Ce,Fe]=W(Ue.path,Ue.caseSensitive,Ue.end),je=ye.match(Ce);if(!je)return null;let Ge=je[0],it=Ge.replace(/(.)\/+$/,"$1"),ct=je.slice(1);return{params:Fe.reduce((Ht,Pe,tt)=>{if(Pe==="*"){let Vt=ct[tt]||"";it=Ge.slice(0,Ge.length-Vt.length).replace(/(.)\/+$/,"$1")}return Ht[Pe]=ne(ct[tt]||"",Pe),Ht},{}),pathname:Ge,pathnameBase:it,pattern:Ue}}function W(Ue,ye,Ce){ye===void 0&&(ye=!1),Ce===void 0&&(Ce=!0);let Fe=[],je="^"+Ue.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(it,ct)=>(Fe.push(ct),"([^\\/]+)"));return Ue.endsWith("*")?(Fe.push("*"),je+=Ue==="*"||Ue==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):je+=Ce?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(je,ye?void 0:"i"),Fe]}function ne(Ue,ye){try{return decodeURIComponent(Ue)}catch(Ce){return Ue}}function ae(Ue,ye){ye===void 0&&(ye="/");let{pathname:Ce,search:Fe="",hash:je=""}=typeof Ue=="string"?(0,r.cP)(Ue):Ue;return{pathname:Ce?Ce.startsWith("/")?Ce:le(Ce,ye):ye,search:X(Fe),hash:ce(je)}}function le(Ue,ye){let Ce=ye.replace(/\/+$/,"").split("/");return Ue.split("/").forEach(je=>{je===".."?Ce.length>1&&Ce.pop():je!=="."&&Ce.push(je)}),Ce.length>1?Ce.join("/"):"/"}function Q(Ue,ye,Ce){let Fe=typeof Ue=="string"?(0,r.cP)(Ue):Ue,je=Ue===""||Fe.pathname===""?"/":Fe.pathname,Ge;if(je==null)Ge=Ce;else{let ct=ye.length-1;if(je.startsWith("..")){let Gt=je.split("/");for(;Gt[0]==="..";)Gt.shift(),ct-=1;Fe.pathname=Gt.join("/")}Ge=ct>=0?ye[ct]:"/"}let it=ae(Fe,Ge);return je&&je!=="/"&&je.endsWith("/")&&!it.pathname.endsWith("/")&&(it.pathname+="/"),it}function J(Ue){return Ue===""||Ue.pathname===""?"/":typeof Ue=="string"?(0,r.cP)(Ue).pathname:Ue.pathname}function V(Ue,ye){if(ye==="/")return Ue;if(!Ue.toLowerCase().startsWith(ye.toLowerCase()))return null;let Ce=Ue.charAt(ye.length);return Ce&&Ce!=="/"?null:Ue.slice(ye.length)||"/"}const ue=Ue=>Ue.join("/").replace(/\/\/+/g,"/"),ee=Ue=>Ue.replace(/\/+$/,"").replace(/^\/*/,"/"),X=Ue=>!Ue||Ue==="?"?"":Ue.startsWith("?")?Ue:"?"+Ue,ce=Ue=>!Ue||Ue==="#"?"":Ue.startsWith("#")?Ue:"#"+Ue;function z(Ue){$()||o(!1);let{basename:ye,navigator:Ce}=(0,i.useContext)(l),{hash:Fe,pathname:je,search:Ge}=It(Ue),it=je;if(ye!=="/"){let ct=J(Ue),Gt=ct!=null&&ct.endsWith("/");it=je==="/"?ye+(Gt?"/":""):ue([ye,je])}return Ce.createHref({pathname:it,search:Ge,hash:Fe})}function $(){return(0,i.useContext)(c)!=null}function se(){return $()||o(!1),(0,i.useContext)(c).location}function _e(){return useContext(c).navigationType}function Oe(Ue){$()||o(!1);let{pathname:ye}=se();return useMemo(()=>G(Ue,ye),[ye,Ue])}function Le(){$()||o(!1);let{basename:Ue,navigator:ye}=(0,i.useContext)(l),{matches:Ce}=(0,i.useContext)(f),{pathname:Fe}=se(),je=JSON.stringify(Ce.map(ct=>ct.pathnameBase)),Ge=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{Ge.current=!0}),(0,i.useCallback)(function(ct,Gt){if(Gt===void 0&&(Gt={}),!Ge.current)return;if(typeof ct=="number"){ye.go(ct);return}let Ht=Q(ct,JSON.parse(je),Fe);Ue!=="/"&&(Ht.pathname=ue([Ue,Ht.pathname])),(Gt.replace?ye.replace:ye.push)(Ht,Gt.state)},[Ue,ye,je,Fe])}const He=(0,i.createContext)(null);function $e(){return(0,i.useContext)(He)}function Bt(Ue){let ye=(0,i.useContext)(f).outlet;return ye&&(0,i.createElement)(He.Provider,{value:Ue},ye)}function yt(){let{matches:Ue}=(0,i.useContext)(f),ye=Ue[Ue.length-1];return ye?ye.params:{}}function It(Ue){let{matches:ye}=(0,i.useContext)(f),{pathname:Ce}=se(),Fe=JSON.stringify(ye.map(je=>je.pathnameBase));return(0,i.useMemo)(()=>Q(Ue,JSON.parse(Fe),Ce),[Ue,Fe,Ce])}function rr(Ue,ye){$()||o(!1);let{matches:Ce}=(0,i.useContext)(f),Fe=Ce[Ce.length-1],je=Fe?Fe.params:{},Ge=Fe?Fe.pathname:"/",it=Fe?Fe.pathnameBase:"/",ct=Fe&&Fe.route,Gt=se(),Ht;if(ye){var Pe;let Zt=typeof ye=="string"?(0,r.cP)(ye):ye;it==="/"||(Pe=Zt.pathname)!=null&&Pe.startsWith(it)||o(!1),Ht=Zt}else Ht=Gt;let tt=Ht.pathname||"/",Vt=it==="/"?tt:tt.slice(it.length)||"/",kt=p(Ue,{pathname:Vt});return Yt(kt&&kt.map(Zt=>Object.assign({},Zt,{params:Object.assign({},je,Zt.params),pathname:ue([it,Zt.pathname]),pathnameBase:Zt.pathnameBase==="/"?it:ue([it,Zt.pathnameBase])})),Ce)}function Yt(Ue,ye){return ye===void 0&&(ye=[]),Ue==null?null:Ue.reduceRight((Ce,Fe,je)=>(0,i.createElement)(f.Provider,{children:Fe.route.element!==void 0?Fe.route.element:Ce,value:{outlet:Ce,matches:ye.concat(Ue.slice(0,je+1))}}),null)}function lr(Ue){let{basename:ye,children:Ce,initialEntries:Fe,initialIndex:je}=Ue,Ge=useRef();Ge.current==null&&(Ge.current=createMemoryHistory({initialEntries:Fe,initialIndex:je}));let it=Ge.current,[ct,Gt]=useState({action:it.action,location:it.location});return useLayoutEffect(()=>it.listen(Gt),[it]),createElement(st,{basename:ye,children:Ce,location:ct.location,navigationType:ct.action,navigator:it})}function Ve(Ue){let{to:ye,replace:Ce,state:Fe}=Ue;$()||o(!1);let je=Le();return(0,i.useEffect)(()=>{je(ye,{replace:Ce,state:Fe})}),null}function Ct(Ue){return Bt(Ue.context)}function Ut(Ue){o(!1)}function st(Ue){let{basename:ye="/",children:Ce=null,location:Fe,navigationType:je=r.aU.Pop,navigator:Ge,static:it=!1}=Ue;$()&&o(!1);let ct=ee(ye),Gt=(0,i.useMemo)(()=>({basename:ct,navigator:Ge,static:it}),[ct,Ge,it]);typeof Fe=="string"&&(Fe=(0,r.cP)(Fe));let{pathname:Ht="/",search:Pe="",hash:tt="",state:Vt=null,key:kt="default"}=Fe,Zt=(0,i.useMemo)(()=>{let Nt=V(Ht,ct);return Nt==null?null:{pathname:Nt,search:Pe,hash:tt,state:Vt,key:kt}},[ct,Ht,Pe,tt,Vt,kt]);return Zt==null?null:(0,i.createElement)(l.Provider,{value:Gt},(0,i.createElement)(c.Provider,{children:Ce,value:{location:Zt,navigationType:je}}))}function xt(Ue){let{children:ye,location:Ce}=Ue;return rr(ht(ye),Ce)}function ht(Ue){let ye=[];return Children.forEach(Ue,Ce=>{if(!isValidElement(Ce))return;if(Ce.type===Fragment){ye.push.apply(ye,ht(Ce.props.children));return}Ce.type!==Ut&&o(!1);let Fe={caseSensitive:Ce.props.caseSensitive,element:Ce.props.element,index:Ce.props.index,path:Ce.props.path};Ce.props.children&&(Fe.children=ht(Ce.props.children)),ye.push(Fe)}),ye}function rt(Ue){return Yt(Ue)}},76100:function(d,v,e){"use strict";var r=e(84126),i=60103,l=60106;v.Fragment=60107,v.StrictMode=60108,v.Profiler=60114;var c=60109,f=60110,o=60112;v.Suspense=60113;var h=60115,u=60116;if(typeof Symbol=="function"&&Symbol.for){var a=Symbol.for;i=a("react.element"),l=a("react.portal"),v.Fragment=a("react.fragment"),v.StrictMode=a("react.strict_mode"),v.Profiler=a("react.profiler"),c=a("react.provider"),f=a("react.context"),o=a("react.forward_ref"),v.Suspense=a("react.suspense"),h=a("react.memo"),u=a("react.lazy")}var x=typeof Symbol=="function"&&Symbol.iterator;function p(X){return X===null||typeof X!="object"?null:(X=x&&X[x]||X["@@iterator"],typeof X=="function"?X:null)}function y(X){for(var ce="https://reactjs.org/docs/error-decoder.html?invariant="+X,z=1;z<arguments.length;z++)ce+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+X+"; visit "+ce+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function A(X,ce,z){this.props=X,this.context=ce,this.refs=b,this.updater=z||_}A.prototype.isReactComponent={},A.prototype.setState=function(X,ce){if(typeof X!="object"&&typeof X!="function"&&X!=null)throw Error(y(85));this.updater.enqueueSetState(this,X,ce,"setState")},A.prototype.forceUpdate=function(X){this.updater.enqueueForceUpdate(this,X,"forceUpdate")};function k(){}k.prototype=A.prototype;function L(X,ce,z){this.props=X,this.context=ce,this.refs=b,this.updater=z||_}var T=L.prototype=new k;T.constructor=L,r(T,A.prototype),T.isPureReactComponent=!0;var D={current:null},M=Object.prototype.hasOwnProperty,B={key:!0,ref:!0,__self:!0,__source:!0};function N(X,ce,z){var $,se={},_e=null,Oe=null;if(ce!=null)for($ in ce.ref!==void 0&&(Oe=ce.ref),ce.key!==void 0&&(_e=""+ce.key),ce)M.call(ce,$)&&!B.hasOwnProperty($)&&(se[$]=ce[$]);var Le=arguments.length-2;if(Le===1)se.children=z;else if(1<Le){for(var He=Array(Le),$e=0;$e<Le;$e++)He[$e]=arguments[$e+2];se.children=He}if(X&&X.defaultProps)for($ in Le=X.defaultProps,Le)se[$]===void 0&&(se[$]=Le[$]);return{$$typeof:i,type:X,key:_e,ref:Oe,props:se,_owner:D.current}}function K(X,ce){return{$$typeof:i,type:X.type,key:ce,ref:X.ref,props:X.props,_owner:X._owner}}function G(X){return typeof X=="object"&&X!==null&&X.$$typeof===i}function W(X){var ce={"=":"=0",":":"=2"};return"$"+X.replace(/[=:]/g,function(z){return ce[z]})}var ne=/\/+/g;function ae(X,ce){return typeof X=="object"&&X!==null&&X.key!=null?W(""+X.key):ce.toString(36)}function le(X,ce,z,$,se){var _e=typeof X;(_e==="undefined"||_e==="boolean")&&(X=null);var Oe=!1;if(X===null)Oe=!0;else switch(_e){case"string":case"number":Oe=!0;break;case"object":switch(X.$$typeof){case i:case l:Oe=!0}}if(Oe)return Oe=X,se=se(Oe),X=$===""?"."+ae(Oe,0):$,Array.isArray(se)?(z="",X!=null&&(z=X.replace(ne,"$&/")+"/"),le(se,ce,z,"",function($e){return $e})):se!=null&&(G(se)&&(se=K(se,z+(!se.key||Oe&&Oe.key===se.key?"":(""+se.key).replace(ne,"$&/")+"/")+X)),ce.push(se)),1;if(Oe=0,$=$===""?".":$+":",Array.isArray(X))for(var Le=0;Le<X.length;Le++){_e=X[Le];var He=$+ae(_e,Le);Oe+=le(_e,ce,z,He,se)}else if(He=p(X),typeof He=="function")for(X=He.call(X),Le=0;!(_e=X.next()).done;)_e=_e.value,He=$+ae(_e,Le++),Oe+=le(_e,ce,z,He,se);else if(_e==="object")throw ce=""+X,Error(y(31,ce==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":ce));return Oe}function Q(X,ce,z){if(X==null)return X;var $=[],se=0;return le(X,$,"","",function(_e){return ce.call(z,_e,se++)}),$}function J(X){if(X._status===-1){var ce=X._result;ce=ce(),X._status=0,X._result=ce,ce.then(function(z){X._status===0&&(z=z.default,X._status=1,X._result=z)},function(z){X._status===0&&(X._status=2,X._result=z)})}if(X._status===1)return X._result;throw X._result}var V={current:null};function ue(){var X=V.current;if(X===null)throw Error(y(321));return X}var ee={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:D,IsSomeRendererActing:{current:!1},assign:r};v.Children={map:Q,forEach:function(X,ce,z){Q(X,function(){ce.apply(this,arguments)},z)},count:function(X){var ce=0;return Q(X,function(){ce++}),ce},toArray:function(X){return Q(X,function(ce){return ce})||[]},only:function(X){if(!G(X))throw Error(y(143));return X}},v.Component=A,v.PureComponent=L,v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,v.cloneElement=function(X,ce,z){if(X==null)throw Error(y(267,X));var $=r({},X.props),se=X.key,_e=X.ref,Oe=X._owner;if(ce!=null){if(ce.ref!==void 0&&(_e=ce.ref,Oe=D.current),ce.key!==void 0&&(se=""+ce.key),X.type&&X.type.defaultProps)var Le=X.type.defaultProps;for(He in ce)M.call(ce,He)&&!B.hasOwnProperty(He)&&($[He]=ce[He]===void 0&&Le!==void 0?Le[He]:ce[He])}var He=arguments.length-2;if(He===1)$.children=z;else if(1<He){Le=Array(He);for(var $e=0;$e<He;$e++)Le[$e]=arguments[$e+2];$.children=Le}return{$$typeof:i,type:X.type,key:se,ref:_e,props:$,_owner:Oe}},v.createContext=function(X,ce){return ce===void 0&&(ce=null),X={$$typeof:f,_calculateChangedBits:ce,_currentValue:X,_currentValue2:X,_threadCount:0,Provider:null,Consumer:null},X.Provider={$$typeof:c,_context:X},X.Consumer=X},v.createElement=N,v.createFactory=function(X){var ce=N.bind(null,X);return ce.type=X,ce},v.createRef=function(){return{current:null}},v.forwardRef=function(X){return{$$typeof:o,render:X}},v.isValidElement=G,v.lazy=function(X){return{$$typeof:u,_payload:{_status:-1,_result:X},_init:J}},v.memo=function(X,ce){return{$$typeof:h,type:X,compare:ce===void 0?null:ce}},v.useCallback=function(X,ce){return ue().useCallback(X,ce)},v.useContext=function(X,ce){return ue().useContext(X,ce)},v.useDebugValue=function(){},v.useEffect=function(X,ce){return ue().useEffect(X,ce)},v.useImperativeHandle=function(X,ce,z){return ue().useImperativeHandle(X,ce,z)},v.useLayoutEffect=function(X,ce){return ue().useLayoutEffect(X,ce)},v.useMemo=function(X,ce){return ue().useMemo(X,ce)},v.useReducer=function(X,ce,z){return ue().useReducer(X,ce,z)},v.useRef=function(X){return ue().useRef(X)},v.useState=function(X){return ue().useState(X)},v.version="17.0.2"},59301:function(d,v,e){"use strict";d.exports=e(76100)},59781:function(d,v,e){"use strict";e.d(v,{DE:function(){return D},MT:function(){return y},UY:function(){return L},md:function(){return B},qC:function(){return M}});var r=e(98506);function i(N){return"Minified Redux error #"+N+"; visit https://redux.js.org/Errors?code="+N+" for the full message or use the non-minified dev environment for full errors. "}var l=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),c=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function o(N){if(typeof N!="object"||N===null)return!1;for(var K=N;Object.getPrototypeOf(K)!==null;)K=Object.getPrototypeOf(K);return Object.getPrototypeOf(N)===K}function h(N){if(N===void 0)return"undefined";if(N===null)return"null";var K=typeof N;switch(K){case"boolean":case"string":case"number":case"symbol":case"function":return K}if(Array.isArray(N))return"array";if(x(N))return"date";if(a(N))return"error";var G=u(N);switch(G){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return G}return K.slice(8,-1).toLowerCase().replace(/\s/g,"")}function u(N){return typeof N.constructor=="function"?N.constructor.name:null}function a(N){return N instanceof Error||typeof N.message=="string"&&N.constructor&&typeof N.constructor.stackTraceLimit=="number"}function x(N){return N instanceof Date?!0:typeof N.toDateString=="function"&&typeof N.getDate=="function"&&typeof N.setDate=="function"}function p(N){var K=typeof N;return K}function y(N,K,G){var W;if(typeof K=="function"&&typeof G=="function"||typeof G=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof K=="function"&&typeof G=="undefined"&&(G=K,K=void 0),typeof G!="undefined"){if(typeof G!="function")throw new Error(i(1));return G(y)(N,K)}if(typeof N!="function")throw new Error(i(2));var ne=N,ae=K,le=[],Q=le,J=!1;function V(){Q===le&&(Q=le.slice())}function ue(){if(J)throw new Error(i(3));return ae}function ee($){if(typeof $!="function")throw new Error(i(4));if(J)throw new Error(i(5));var se=!0;return V(),Q.push($),function(){if(se){if(J)throw new Error(i(6));se=!1,V();var Oe=Q.indexOf($);Q.splice(Oe,1),le=null}}}function X($){if(!o($))throw new Error(i(7));if(typeof $.type=="undefined")throw new Error(i(8));if(J)throw new Error(i(9));try{J=!0,ae=ne(ae,$)}finally{J=!1}for(var se=le=Q,_e=0;_e<se.length;_e++){var Oe=se[_e];Oe()}return $}function ce($){if(typeof $!="function")throw new Error(i(10));ne=$,X({type:f.REPLACE})}function z(){var $,se=ee;return $={subscribe:function(Oe){if(typeof Oe!="object"||Oe===null)throw new Error(i(11));function Le(){Oe.next&&Oe.next(ue())}Le();var He=se(Le);return{unsubscribe:He}}},$[l]=function(){return this},$}return X({type:f.INIT}),W={dispatch:X,subscribe:ee,getState:ue,replaceReducer:ce},W[l]=z,W}var _=null;function b(N){typeof console!="undefined"&&typeof console.error=="function"&&console.error(N);try{throw new Error(N)}catch(K){}}function A(N,K,G,W){var ne=Object.keys(K),ae=G&&G.type===f.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(ne.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!o(N))return"The "+ae+' has unexpected type of "'+p(N)+'". Expected argument to be an object with the following '+('keys: "'+ne.join('", "')+'"');var le=Object.keys(N).filter(function(Q){return!K.hasOwnProperty(Q)&&!W[Q]});if(le.forEach(function(Q){W[Q]=!0}),!(G&&G.type===f.REPLACE)&&le.length>0)return"Unexpected "+(le.length>1?"keys":"key")+" "+('"'+le.join('", "')+'" found in '+ae+". ")+"Expected to find one of the known reducer keys instead: "+('"'+ne.join('", "')+'". Unexpected keys will be ignored.')}function k(N){Object.keys(N).forEach(function(K){var G=N[K],W=G(void 0,{type:f.INIT});if(typeof W=="undefined")throw new Error(i(12));if(typeof G(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function L(N){for(var K=Object.keys(N),G={},W=0;W<K.length;W++){var ne=K[W];typeof N[ne]=="function"&&(G[ne]=N[ne])}var ae=Object.keys(G),le,Q;try{k(G)}catch(J){Q=J}return function(V,ue){if(V===void 0&&(V={}),Q)throw Q;if(0)var ee;for(var X=!1,ce={},z=0;z<ae.length;z++){var $=ae[z],se=G[$],_e=V[$],Oe=se(_e,ue);if(typeof Oe=="undefined"){var Le=ue&&ue.type;throw new Error(i(14))}ce[$]=Oe,X=X||Oe!==_e}return X=X||ae.length!==Object.keys(V).length,X?ce:V}}function T(N,K){return function(){return K(N.apply(this,arguments))}}function D(N,K){if(typeof N=="function")return T(N,K);if(typeof N!="object"||N===null)throw new Error(i(16));var G={};for(var W in N){var ne=N[W];typeof ne=="function"&&(G[W]=T(ne,K))}return G}function M(){for(var N=arguments.length,K=new Array(N),G=0;G<N;G++)K[G]=arguments[G];return K.length===0?function(W){return W}:K.length===1?K[0]:K.reduce(function(W,ne){return function(){return W(ne.apply(void 0,arguments))}})}function B(){for(var N=arguments.length,K=new Array(N),G=0;G<N;G++)K[G]=arguments[G];return function(W){return function(){var ne=W.apply(void 0,arguments),ae=function(){throw new Error(i(15))},le={getState:ne.getState,dispatch:function(){return ae.apply(void 0,arguments)}},Q=K.map(function(J){return J(le)});return ae=M.apply(void 0,Q)(ne.dispatch),(0,r.Z)((0,r.Z)({},ne),{},{dispatch:ae})}}}},58246:function(d){var v=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(ee,X,ce){ee[X]=ce.value},c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(ee,X,ce){return Object.defineProperty(ee,X,{value:ce,enumerable:!0,configurable:!0,writable:!0}),ee[X]}try{a({},"")}catch(ee){a=function(X,ce,z){return X[ce]=z}}function x(ee,X,ce,z){var $=X&&X.prototype instanceof L?X:L,se=Object.create($.prototype),_e=new J(z||[]);return l(se,"_invoke",{value:ne(ee,ce,_e)}),se}e.wrap=x;function p(ee,X,ce){try{return{type:"normal",arg:ee.call(X,ce)}}catch(z){return{type:"throw",arg:z}}}var y="suspendedStart",_="suspendedYield",b="executing",A="completed",k={};function L(){}function T(){}function D(){}var M={};a(M,o,function(){return this});var B=Object.getPrototypeOf,N=B&&B(B(V([])));N&&N!==r&&i.call(N,o)&&(M=N);var K=D.prototype=L.prototype=Object.create(M);T.prototype=D,l(K,"constructor",{value:D,configurable:!0}),l(D,"constructor",{value:T,configurable:!0}),T.displayName=a(D,u,"GeneratorFunction");function G(ee){["next","throw","return"].forEach(function(X){a(ee,X,function(ce){return this._invoke(X,ce)})})}e.isGeneratorFunction=function(ee){var X=typeof ee=="function"&&ee.constructor;return X?X===T||(X.displayName||X.name)==="GeneratorFunction":!1},e.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,D):(ee.__proto__=D,a(ee,u,"GeneratorFunction")),ee.prototype=Object.create(K),ee},e.awrap=function(ee){return{__await:ee}};function W(ee,X){function ce(se,_e,Oe,Le){var He=p(ee[se],ee,_e);if(He.type==="throw")Le(He.arg);else{var $e=He.arg,Bt=$e.value;return Bt&&typeof Bt=="object"&&i.call(Bt,"__await")?X.resolve(Bt.__await).then(function(yt){ce("next",yt,Oe,Le)},function(yt){ce("throw",yt,Oe,Le)}):X.resolve(Bt).then(function(yt){$e.value=yt,Oe($e)},function(yt){return ce("throw",yt,Oe,Le)})}}var z;function $(se,_e){function Oe(){return new X(function(Le,He){ce(se,_e,Le,He)})}return z=z?z.then(Oe,Oe):Oe()}l(this,"_invoke",{value:$})}G(W.prototype),a(W.prototype,h,function(){return this}),e.AsyncIterator=W,e.async=function(ee,X,ce,z,$){$===void 0&&($=Promise);var se=new W(x(ee,X,ce,z),$);return e.isGeneratorFunction(X)?se:se.next().then(function(_e){return _e.done?_e.value:se.next()})};function ne(ee,X,ce){var z=y;return function(se,_e){if(z===b)throw new Error("Generator is already running");if(z===A){if(se==="throw")throw _e;return ue()}for(ce.method=se,ce.arg=_e;;){var Oe=ce.delegate;if(Oe){var Le=ae(Oe,ce);if(Le){if(Le===k)continue;return Le}}if(ce.method==="next")ce.sent=ce._sent=ce.arg;else if(ce.method==="throw"){if(z===y)throw z=A,ce.arg;ce.dispatchException(ce.arg)}else ce.method==="return"&&ce.abrupt("return",ce.arg);z=b;var He=p(ee,X,ce);if(He.type==="normal"){if(z=ce.done?A:_,He.arg===k)continue;return{value:He.arg,done:ce.done}}else He.type==="throw"&&(z=A,ce.method="throw",ce.arg=He.arg)}}}function ae(ee,X){var ce=X.method,z=ee.iterator[ce];if(z===c)return X.delegate=null,ce==="throw"&&ee.iterator.return&&(X.method="return",X.arg=c,ae(ee,X),X.method==="throw")||ce!=="return"&&(X.method="throw",X.arg=new TypeError("The iterator does not provide a '"+ce+"' method")),k;var $=p(z,ee.iterator,X.arg);if($.type==="throw")return X.method="throw",X.arg=$.arg,X.delegate=null,k;var se=$.arg;if(!se)return X.method="throw",X.arg=new TypeError("iterator result is not an object"),X.delegate=null,k;if(se.done)X[ee.resultName]=se.value,X.next=ee.nextLoc,X.method!=="return"&&(X.method="next",X.arg=c);else return se;return X.delegate=null,k}G(K),a(K,u,"Generator"),a(K,o,function(){return this}),a(K,"toString",function(){return"[object Generator]"});function le(ee){var X={tryLoc:ee[0]};1 in ee&&(X.catchLoc=ee[1]),2 in ee&&(X.finallyLoc=ee[2],X.afterLoc=ee[3]),this.tryEntries.push(X)}function Q(ee){var X=ee.completion||{};X.type="normal",delete X.arg,ee.completion=X}function J(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach(le,this),this.reset(!0)}e.keys=function(ee){var X=Object(ee),ce=[];for(var z in X)ce.push(z);return ce.reverse(),function $(){for(;ce.length;){var se=ce.pop();if(se in X)return $.value=se,$.done=!1,$}return $.done=!0,$}};function V(ee){if(ee){var X=ee[o];if(X)return X.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var ce=-1,z=function $(){for(;++ce<ee.length;)if(i.call(ee,ce))return $.value=ee[ce],$.done=!1,$;return $.value=c,$.done=!0,$};return z.next=z}}return{next:ue}}e.values=V;function ue(){return{value:c,done:!0}}return J.prototype={constructor:J,reset:function(ee){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(Q),!ee)for(var X in this)X.charAt(0)==="t"&&i.call(this,X)&&!isNaN(+X.slice(1))&&(this[X]=c)},stop:function(){this.done=!0;var ee=this.tryEntries[0],X=ee.completion;if(X.type==="throw")throw X.arg;return this.rval},dispatchException:function(ee){if(this.done)throw ee;var X=this;function ce(Le,He){return se.type="throw",se.arg=ee,X.next=Le,He&&(X.method="next",X.arg=c),!!He}for(var z=this.tryEntries.length-1;z>=0;--z){var $=this.tryEntries[z],se=$.completion;if($.tryLoc==="root")return ce("end");if($.tryLoc<=this.prev){var _e=i.call($,"catchLoc"),Oe=i.call($,"finallyLoc");if(_e&&Oe){if(this.prev<$.catchLoc)return ce($.catchLoc,!0);if(this.prev<$.finallyLoc)return ce($.finallyLoc)}else if(_e){if(this.prev<$.catchLoc)return ce($.catchLoc,!0)}else if(Oe){if(this.prev<$.finallyLoc)return ce($.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(ee,X){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var z=this.tryEntries[ce];if(z.tryLoc<=this.prev&&i.call(z,"finallyLoc")&&this.prev<z.finallyLoc){var $=z;break}}$&&(ee==="break"||ee==="continue")&&$.tryLoc<=X&&X<=$.finallyLoc&&($=null);var se=$?$.completion:{};return se.type=ee,se.arg=X,$?(this.method="next",this.next=$.finallyLoc,k):this.complete(se)},complete:function(ee,X){if(ee.type==="throw")throw ee.arg;return ee.type==="break"||ee.type==="continue"?this.next=ee.arg:ee.type==="return"?(this.rval=this.arg=ee.arg,this.method="return",this.next="end"):ee.type==="normal"&&X&&(this.next=X),k},finish:function(ee){for(var X=this.tryEntries.length-1;X>=0;--X){var ce=this.tryEntries[X];if(ce.finallyLoc===ee)return this.complete(ce.completion,ce.afterLoc),Q(ce),k}},catch:function(ee){for(var X=this.tryEntries.length-1;X>=0;--X){var ce=this.tryEntries[X];if(ce.tryLoc===ee){var z=ce.completion;if(z.type==="throw"){var $=z.arg;Q(ce)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(ee,X,ce){return this.delegate={iterator:V(ee),resultName:X,nextLoc:ce},this.method==="next"&&(this.arg=c),k}},e}(d.exports);try{regeneratorRuntime=v}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=v:Function("r","regeneratorRuntime = r")(v)}},76374:function(d,v,e){"use strict";var r=function(){if(typeof Map!="undefined")return Map;function J(V,ue){var ee=-1;return V.some(function(X,ce){return X[0]===ue?(ee=ce,!0):!1}),ee}return function(){function V(){this.__entries__=[]}return Object.defineProperty(V.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),V.prototype.get=function(ue){var ee=J(this.__entries__,ue),X=this.__entries__[ee];return X&&X[1]},V.prototype.set=function(ue,ee){var X=J(this.__entries__,ue);~X?this.__entries__[X][1]=ee:this.__entries__.push([ue,ee])},V.prototype.delete=function(ue){var ee=this.__entries__,X=J(ee,ue);~X&&ee.splice(X,1)},V.prototype.has=function(ue){return!!~J(this.__entries__,ue)},V.prototype.clear=function(){this.__entries__.splice(0)},V.prototype.forEach=function(ue,ee){ee===void 0&&(ee=null);for(var X=0,ce=this.__entries__;X<ce.length;X++){var z=ce[X];ue.call(ee,z[1],z[0])}},V}()}(),i=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,l=function(){return typeof e.g!="undefined"&&e.g.Math===Math?e.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),c=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(l):function(J){return setTimeout(function(){return J(Date.now())},1e3/60)}}(),f=2;function o(J,V){var ue=!1,ee=!1,X=0;function ce(){ue&&(ue=!1,J()),ee&&$()}function z(){c(ce)}function $(){var se=Date.now();if(ue){if(se-X<f)return;ee=!0}else ue=!0,ee=!1,setTimeout(z,V);X=se}return $}var h=20,u=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",x=function(){function J(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=o(this.refresh.bind(this),h)}return J.prototype.addObserver=function(V){~this.observers_.indexOf(V)||this.observers_.push(V),this.connected_||this.connect_()},J.prototype.removeObserver=function(V){var ue=this.observers_,ee=ue.indexOf(V);~ee&&ue.splice(ee,1),!ue.length&&this.connected_&&this.disconnect_()},J.prototype.refresh=function(){var V=this.updateObservers_();V&&this.refresh()},J.prototype.updateObservers_=function(){var V=this.observers_.filter(function(ue){return ue.gatherActive(),ue.hasActive()});return V.forEach(function(ue){return ue.broadcastActive()}),V.length>0},J.prototype.connect_=function(){!i||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},J.prototype.disconnect_=function(){!i||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},J.prototype.onTransitionEnd_=function(V){var ue=V.propertyName,ee=ue===void 0?"":ue,X=u.some(function(ce){return!!~ee.indexOf(ce)});X&&this.refresh()},J.getInstance=function(){return this.instance_||(this.instance_=new J),this.instance_},J.instance_=null,J}(),p=function(J,V){for(var ue=0,ee=Object.keys(V);ue<ee.length;ue++){var X=ee[ue];Object.defineProperty(J,X,{value:V[X],enumerable:!1,writable:!1,configurable:!0})}return J},y=function(J){var V=J&&J.ownerDocument&&J.ownerDocument.defaultView;return V||l},_=K(0,0,0,0);function b(J){return parseFloat(J)||0}function A(J){for(var V=[],ue=1;ue<arguments.length;ue++)V[ue-1]=arguments[ue];return V.reduce(function(ee,X){var ce=J["border-"+X+"-width"];return ee+b(ce)},0)}function k(J){for(var V=["top","right","bottom","left"],ue={},ee=0,X=V;ee<X.length;ee++){var ce=X[ee],z=J["padding-"+ce];ue[ce]=b(z)}return ue}function L(J){var V=J.getBBox();return K(0,0,V.width,V.height)}function T(J){var V=J.clientWidth,ue=J.clientHeight;if(!V&&!ue)return _;var ee=y(J).getComputedStyle(J),X=k(ee),ce=X.left+X.right,z=X.top+X.bottom,$=b(ee.width),se=b(ee.height);if(ee.boxSizing==="border-box"&&(Math.round($+ce)!==V&&($-=A(ee,"left","right")+ce),Math.round(se+z)!==ue&&(se-=A(ee,"top","bottom")+z)),!M(J)){var _e=Math.round($+ce)-V,Oe=Math.round(se+z)-ue;Math.abs(_e)!==1&&($-=_e),Math.abs(Oe)!==1&&(se-=Oe)}return K(X.left,X.top,$,se)}var D=function(){return typeof SVGGraphicsElement!="undefined"?function(J){return J instanceof y(J).SVGGraphicsElement}:function(J){return J instanceof y(J).SVGElement&&typeof J.getBBox=="function"}}();function M(J){return J===y(J).document.documentElement}function B(J){return i?D(J)?L(J):T(J):_}function N(J){var V=J.x,ue=J.y,ee=J.width,X=J.height,ce=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,z=Object.create(ce.prototype);return p(z,{x:V,y:ue,width:ee,height:X,top:ue,right:V+ee,bottom:X+ue,left:V}),z}function K(J,V,ue,ee){return{x:J,y:V,width:ue,height:ee}}var G=function(){function J(V){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=K(0,0,0,0),this.target=V}return J.prototype.isActive=function(){var V=B(this.target);return this.contentRect_=V,V.width!==this.broadcastWidth||V.height!==this.broadcastHeight},J.prototype.broadcastRect=function(){var V=this.contentRect_;return this.broadcastWidth=V.width,this.broadcastHeight=V.height,V},J}(),W=function(){function J(V,ue){var ee=N(ue);p(this,{target:V,contentRect:ee})}return J}(),ne=function(){function J(V,ue,ee){if(this.activeObservations_=[],this.observations_=new r,typeof V!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=V,this.controller_=ue,this.callbackCtx_=ee}return J.prototype.observe=function(V){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(V instanceof y(V).Element))throw new TypeError('parameter 1 is not of type "Element".');var ue=this.observations_;ue.has(V)||(ue.set(V,new G(V)),this.controller_.addObserver(this),this.controller_.refresh())}},J.prototype.unobserve=function(V){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(V instanceof y(V).Element))throw new TypeError('parameter 1 is not of type "Element".');var ue=this.observations_;ue.has(V)&&(ue.delete(V),ue.size||this.controller_.removeObserver(this))}},J.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},J.prototype.gatherActive=function(){var V=this;this.clearActive(),this.observations_.forEach(function(ue){ue.isActive()&&V.activeObservations_.push(ue)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var V=this.callbackCtx_,ue=this.activeObservations_.map(function(ee){return new W(ee.target,ee.broadcastRect())});this.callback_.call(V,ue,V),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),ae=typeof WeakMap!="undefined"?new WeakMap:new r,le=function(){function J(V){if(!(this instanceof J))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var ue=x.getInstance(),ee=new ne(V,ue,this);ae.set(this,ee)}return J}();["observe","unobserve","disconnect"].forEach(function(J){le.prototype[J]=function(){var V;return(V=ae.get(this))[J].apply(V,arguments)}});var Q=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:le}();v.Z=Q},74284:function(d,v){"use strict";var e,r,i,l;if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;v.unstable_now=function(){return c.now()}}else{var f=Date,o=f.now();v.unstable_now=function(){return f.now()-o}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var h=null,u=null,a=function(){if(h!==null)try{var z=v.unstable_now();h(!0,z),h=null}catch($){throw setTimeout(a,0),$}};e=function(z){h!==null?setTimeout(e,0,z):(h=z,setTimeout(a,0))},r=function(z,$){u=setTimeout(z,$)},i=function(){clearTimeout(u)},v.unstable_shouldYield=function(){return!1},l=v.unstable_forceFrameRate=function(){}}else{var x=window.setTimeout,p=window.clearTimeout;if(typeof console!="undefined"){var y=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof y!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var _=!1,b=null,A=-1,k=5,L=0;v.unstable_shouldYield=function(){return v.unstable_now()>=L},l=function(){},v.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<z?Math.floor(1e3/z):5};var T=new MessageChannel,D=T.port2;T.port1.onmessage=function(){if(b!==null){var z=v.unstable_now();L=z+k;try{b(!0,z)?D.postMessage(null):(_=!1,b=null)}catch($){throw D.postMessage(null),$}}else _=!1},e=function(z){b=z,_||(_=!0,D.postMessage(null))},r=function(z,$){A=x(function(){z(v.unstable_now())},$)},i=function(){p(A),A=-1}}function M(z,$){var se=z.length;z.push($);e:for(;;){var _e=se-1>>>1,Oe=z[_e];if(Oe!==void 0&&0<K(Oe,$))z[_e]=$,z[se]=Oe,se=_e;else break e}}function B(z){return z=z[0],z===void 0?null:z}function N(z){var $=z[0];if($!==void 0){var se=z.pop();if(se!==$){z[0]=se;e:for(var _e=0,Oe=z.length;_e<Oe;){var Le=2*(_e+1)-1,He=z[Le],$e=Le+1,Bt=z[$e];if(He!==void 0&&0>K(He,se))Bt!==void 0&&0>K(Bt,He)?(z[_e]=Bt,z[$e]=se,_e=$e):(z[_e]=He,z[Le]=se,_e=Le);else if(Bt!==void 0&&0>K(Bt,se))z[_e]=Bt,z[$e]=se,_e=$e;else break e}}return $}return null}function K(z,$){var se=z.sortIndex-$.sortIndex;return se!==0?se:z.id-$.id}var G=[],W=[],ne=1,ae=null,le=3,Q=!1,J=!1,V=!1;function ue(z){for(var $=B(W);$!==null;){if($.callback===null)N(W);else if($.startTime<=z)N(W),$.sortIndex=$.expirationTime,M(G,$);else break;$=B(W)}}function ee(z){if(V=!1,ue(z),!J)if(B(G)!==null)J=!0,e(X);else{var $=B(W);$!==null&&r(ee,$.startTime-z)}}function X(z,$){J=!1,V&&(V=!1,i()),Q=!0;var se=le;try{for(ue($),ae=B(G);ae!==null&&(!(ae.expirationTime>$)||z&&!v.unstable_shouldYield());){var _e=ae.callback;if(typeof _e=="function"){ae.callback=null,le=ae.priorityLevel;var Oe=_e(ae.expirationTime<=$);$=v.unstable_now(),typeof Oe=="function"?ae.callback=Oe:ae===B(G)&&N(G),ue($)}else N(G);ae=B(G)}if(ae!==null)var Le=!0;else{var He=B(W);He!==null&&r(ee,He.startTime-$),Le=!1}return Le}finally{ae=null,le=se,Q=!1}}var ce=l;v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(z){z.callback=null},v.unstable_continueExecution=function(){J||Q||(J=!0,e(X))},v.unstable_getCurrentPriorityLevel=function(){return le},v.unstable_getFirstCallbackNode=function(){return B(G)},v.unstable_next=function(z){switch(le){case 1:case 2:case 3:var $=3;break;default:$=le}var se=le;le=$;try{return z()}finally{le=se}},v.unstable_pauseExecution=function(){},v.unstable_requestPaint=ce,v.unstable_runWithPriority=function(z,$){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var se=le;le=z;try{return $()}finally{le=se}},v.unstable_scheduleCallback=function(z,$,se){var _e=v.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?_e+se:_e):se=_e,z){case 1:var Oe=-1;break;case 2:Oe=250;break;case 5:Oe=1073741823;break;case 4:Oe=1e4;break;default:Oe=5e3}return Oe=se+Oe,z={id:ne++,callback:$,priorityLevel:z,startTime:se,expirationTime:Oe,sortIndex:-1},se>_e?(z.sortIndex=se,M(W,z),B(G)===null&&z===B(W)&&(V?i():V=!0,r(ee,se-_e))):(z.sortIndex=Oe,M(G,z),J||Q||(J=!0,e(X))),z},v.unstable_wrapCallback=function(z){var $=le;return function(){var se=le;le=$;try{return z.apply(this,arguments)}finally{le=se}}}},43014:function(d,v,e){"use strict";d.exports=e(74284)},18947:function(d){"use strict";function v(e,r){if(e===r)return!0;if(!e||!r)return!1;var i=Object.keys(e),l=Object.keys(r),c=i.length;if(l.length!==c)return!1;for(var f=0;f<c;f++){var o=i[f];if(e[o]!==r[o]||!Object.prototype.hasOwnProperty.call(r,o))return!1}return!0}d.exports=v},19747:function(d){d.exports=function(e,r,i,l){var c=i?i.call(l,e,r):void 0;if(c!==void 0)return!!c;if(e===r)return!0;if(typeof e!="object"||!e||typeof r!="object"||!r)return!1;var f=Object.keys(e),o=Object.keys(r);if(f.length!==o.length)return!1;for(var h=Object.prototype.hasOwnProperty.bind(r),u=0;u<f.length;u++){var a=f[u];if(!h(a))return!1;var x=e[a],p=r[a];if(c=i?i.call(l,x,p,a):void 0,c===!1||c===void 0&&x!==p)return!1}return!0}},98040:function(d){d.exports=function(){var v=document.getSelection();if(!v.rangeCount)return function(){};for(var e=document.activeElement,r=[],i=0;i<v.rangeCount;i++)r.push(v.getRangeAt(i));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return v.removeAllRanges(),function(){v.type==="Caret"&&v.removeAllRanges(),v.rangeCount||r.forEach(function(l){v.addRange(l)}),e&&e.focus()}}},797:function(d,v,e){"use strict";var r=e(54723);d.exports=function(i){if(typeof i!="function"||!hasOwnProperty.call(i,"length"))return!1;try{if(typeof i.length!="number"||typeof i.call!="function"||typeof i.apply!="function")return!1}catch(l){return!1}return!r(i)}},95562:function(d,v,e){"use strict";var r=e(57046),i={object:!0,function:!0,undefined:!0};d.exports=function(l){return r(l)?hasOwnProperty.call(i,typeof l):!1}},69574:function(d,v,e){"use strict";var r=e(797),i=/^\s*class[\s{/}]/,l=Function.prototype.toString;d.exports=function(c){return!(!r(c)||i.test(l.call(c)))}},54723:function(d,v,e){"use strict";var r=e(95562);d.exports=function(i){if(!r(i))return!1;try{return i.constructor?i.constructor.prototype===i:!1}catch(l){return!1}}},57046:function(d){"use strict";var v=void 0;d.exports=function(e){return e!==v&&e!==null}},36736:function(d,v,e){"use strict";var r=e(59301);function i(y,_){return y===_&&(y!==0||1/y===1/_)||y!==y&&_!==_}var l=typeof Object.is=="function"?Object.is:i,c=r.useState,f=r.useEffect,o=r.useLayoutEffect,h=r.useDebugValue;function u(y,_){var b=_(),A=c({inst:{value:b,getSnapshot:_}}),k=A[0].inst,L=A[1];return o(function(){k.value=b,k.getSnapshot=_,a(k)&&L({inst:k})},[y,b,_]),f(function(){return a(k)&&L({inst:k}),y(function(){a(k)&&L({inst:k})})},[y]),h(b),b}function a(y){var _=y.getSnapshot;y=y.value;try{var b=_();return!l(y,b)}catch(A){return!0}}function x(y,_){return _()}var p=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?x:u;v.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p},1719:function(d,v,e){"use strict";var r=e(59301),i=e(37573);function l(x,p){return x===p&&(x!==0||1/x===1/p)||x!==x&&p!==p}var c=typeof Object.is=="function"?Object.is:l,f=i.useSyncExternalStore,o=r.useRef,h=r.useEffect,u=r.useMemo,a=r.useDebugValue;v.useSyncExternalStoreWithSelector=function(x,p,y,_,b){var A=o(null);if(A.current===null){var k={hasValue:!1,value:null};A.current=k}else k=A.current;A=u(function(){function T(K){if(!D){if(D=!0,M=K,K=_(K),b!==void 0&&k.hasValue){var G=k.value;if(b(G,K))return B=G}return B=K}if(G=B,c(M,K))return G;var W=_(K);return b!==void 0&&b(G,W)?(M=K,G):(M=K,B=W)}var D=!1,M,B,N=y===void 0?null:y;return[function(){return T(p())},N===null?void 0:function(){return T(N())}]},[p,y,_,b]);var L=f(x,A[0],A[1]);return h(function(){k.hasValue=!0,k.value=L},[L]),a(L),L}},37573:function(d,v,e){"use strict";d.exports=e(36736)},45097:function(d,v,e){"use strict";d.exports=e(1719)},1012:function(d,v,e){"use strict";e.d(v,{Z:function(){return y}});var r=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),i=new Uint8Array(16);function l(){if(!r)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}var c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function f(_){return typeof _=="string"&&c.test(_)}for(var o=f,h=[],u=0;u<256;++u)h.push((u+256).toString(16).substr(1));function a(_){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,A=(h[_[b+0]]+h[_[b+1]]+h[_[b+2]]+h[_[b+3]]+"-"+h[_[b+4]]+h[_[b+5]]+"-"+h[_[b+6]]+h[_[b+7]]+"-"+h[_[b+8]]+h[_[b+9]]+"-"+h[_[b+10]]+h[_[b+11]]+h[_[b+12]]+h[_[b+13]]+h[_[b+14]]+h[_[b+15]]).toLowerCase();if(!o(A))throw TypeError("Stringified UUID is invalid");return A}var x=a;function p(_,b,A){_=_||{};var k=_.random||(_.rng||l)();if(k[6]=k[6]&15|64,k[8]=k[8]&63|128,b){A=A||0;for(var L=0;L<16;++L)b[A+L]=k[L];return b}return x(k)}var y=p},56754:function(d){"use strict";var v=function(){};d.exports=v},85239:function(d){"use strict";var v=!1,e=function(){};if(v){var r=function(l,c){var f=arguments.length;c=new Array(f>1?f-1:0);for(var o=1;o<f;o++)c[o-1]=arguments[o];var h=0,u="Warning: "+l.replace(/%s/g,function(){return c[h++]});typeof console!="undefined"&&console.error(u);try{throw new Error(u)}catch(a){}};e=function(i,l,c){var f=arguments.length;c=new Array(f>2?f-2:0);for(var o=2;o<f;o++)c[o-2]=arguments[o];if(l===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");i||r.apply(null,[l].concat(c))}}d.exports=e},4977:function(d){"use strict";d.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},3828:function(){},45689:function(d){function v(e,r){this.v=e,this.k=r}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},76400:function(d,v,e){var r=e(72952);function i(){var l,c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.toStringTag||"@@toStringTag";function u(k,L,T,D){var M=L&&L.prototype instanceof x?L:x,B=Object.create(M.prototype);return r(B,"_invoke",function(N,K,G){var W,ne,ae,le=0,Q=G||[],J=!1,V={p:0,n:0,v:l,a:ue,f:ue.bind(l,4),d:function(X,ce){return W=X,ne=0,ae=l,V.n=ce,a}};function ue(ee,X){for(ne=ee,ae=X,c=0;!J&&le&&!ce&&c<Q.length;c++){var ce,z=Q[c],$=V.p,se=z[2];ee>3?(ce=se===X)&&(ae=z[(ne=z[4])?5:(ne=3,3)],z[4]=z[5]=l):z[0]<=$&&((ce=ee<2&&$<z[1])?(ne=0,V.v=X,V.n=z[1]):$<se&&(ce=ee<3||z[0]>X||X>se)&&(z[4]=ee,z[5]=X,V.n=se,ne=0))}if(ce||ee>1)return a;throw J=!0,X}return function(ee,X,ce){if(le>1)throw TypeError("Generator is already running");for(J&&X===1&&ue(X,ce),ne=X,ae=ce;(c=ne<2?l:ae)||!J;){W||(ne?ne<3?(ne>1&&(V.n=-1),ue(ne,ae)):V.n=ae:V.v=ae);try{if(le=2,W){if(ne||(ee="next"),c=W[ee]){if(!(c=c.call(W,ae)))throw TypeError("iterator result is not an object");if(!c.done)return c;ae=c.value,ne<2&&(ne=0)}else ne===1&&(c=W.return)&&c.call(W),ne<2&&(ae=TypeError("The iterator does not provide a '"+ee+"' method"),ne=1);W=l}else if((c=(J=V.n<0)?ae:N.call(K,V))!==a)break}catch(z){W=l,ne=1,ae=z}finally{le=1}}return{value:c,done:J}}}(k,T,D),!0),B}var a={};function x(){}function p(){}function y(){}c=Object.getPrototypeOf;var _=[][o]?c(c([][o]())):(r(c={},o,function(){return this}),c),b=y.prototype=x.prototype=Object.create(_);function A(k){return Object.setPrototypeOf?Object.setPrototypeOf(k,y):(k.__proto__=y,r(k,h,"GeneratorFunction")),k.prototype=Object.create(b),k}return p.prototype=y,r(b,"constructor",y),r(y,"constructor",p),p.displayName="GeneratorFunction",r(y,h,"GeneratorFunction"),r(b),r(b,h,"Generator"),r(b,o,function(){return this}),r(b,"toString",function(){return"[object Generator]"}),(d.exports=i=function(){return{w:u,m:A}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},94877:function(d,v,e){var r=e(42730);function i(l,c,f,o,h){var u=r(l,c,f,o,h);return u.next().then(function(a){return a.done?a.value:u.next()})}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},42730:function(d,v,e){var r=e(76400),i=e(18857);function l(c,f,o,h,u){return new i(r().w(c,f,o,h),u||Promise)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},18857:function(d,v,e){var r=e(45689),i=e(72952);function l(c,f){function o(u,a,x,p){try{var y=c[u](a),_=y.value;return _ instanceof r?f.resolve(_.v).then(function(b){o("next",b,x,p)},function(b){o("throw",b,x,p)}):f.resolve(_).then(function(b){y.value=b,x(y)},function(b){return o("throw",b,x,p)})}catch(b){p(b)}}var h;this.next||(i(l.prototype),i(l.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(u,a,x){function p(){return new f(function(y,_){o(u,x,y,_)})}return h=h?h.then(p,p):p()},!0)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},72952:function(d){function v(e,r,i,l){var c=Object.defineProperty;try{c({},"",{})}catch(f){c=0}d.exports=v=function(o,h,u,a){function x(p,y){v(o,p,function(_){return this._invoke(p,y,_)})}h?c?c(o,h,{value:u,enumerable:!a,configurable:!a,writable:!a}):o[h]=u:(x("next",0),x("throw",1),x("return",2))},d.exports.__esModule=!0,d.exports.default=d.exports,v(e,r,i,l)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},41589:function(d){function v(e){var r=Object(e),i=[];for(var l in r)i.unshift(l);return function c(){for(;i.length;)if((l=i.pop())in r)return c.value=l,c.done=!1,c;return c.done=!0,c}}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},20872:function(d,v,e){var r=e(45689),i=e(76400),l=e(94877),c=e(42730),f=e(18857),o=e(41589),h=e(93825);function u(){"use strict";var a=i(),x=a.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(x):x.__proto__).constructor;function y(A){var k=typeof A=="function"&&A.constructor;return!!k&&(k===p||(k.displayName||k.name)==="GeneratorFunction")}var _={throw:1,return:2,break:3,continue:3};function b(A){var k,L;return function(T){k||(k={stop:function(){return L(T.a,2)},catch:function(){return T.v},abrupt:function(M,B){return L(T.a,_[M],B)},delegateYield:function(M,B,N){return k.resultName=B,L(T.d,h(M),N)},finish:function(M){return L(T.f,M)}},L=function(M,B,N){T.p=k.prev,T.n=k.next;try{return M(B,N)}finally{k.next=T.n}}),k.resultName&&(k[k.resultName]=T.v,k.resultName=void 0),k.sent=T.v,k.next=T.n;try{return A.call(this,k)}finally{T.p=k.prev,T.n=k.next}}}return(d.exports=u=function(){return{wrap:function(L,T,D,M){return a.w(b(L),T,D,M&&M.reverse())},isGeneratorFunction:y,mark:a.m,awrap:function(L,T){return new r(L,T)},AsyncIterator:f,async:function(L,T,D,M,B){return(y(T)?c:l)(b(L),T,D,M,B)},keys:o,values:h}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=u,d.exports.__esModule=!0,d.exports.default=d.exports},93825:function(d,v,e){var r=e(46218).default;function i(l){if(l!=null){var c=l[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],f=0;if(c)return c.call(l);if(typeof l.next=="function")return l;if(!isNaN(l.length))return{next:function(){return l&&f>=l.length&&(l=void 0),{value:l&&l[f++],done:!l}}}}throw new TypeError(r(l)+" is not iterable")}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},46218:function(d){function v(e){"@babel/helpers - typeof";return d.exports=v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},d.exports.__esModule=!0,d.exports.default=d.exports,v(e)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},9478:function(d,v,e){var r=e(20872)();d.exports=r;try{regeneratorRuntime=r}catch(i){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},92310:function(d,v){var e,r;(function(){"use strict";var i={}.hasOwnProperty;function l(){for(var o="",h=0;h<arguments.length;h++){var u=arguments[h];u&&(o=f(o,c(u)))}return o}function c(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return l.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var h="";for(var u in o)i.call(o,u)&&o[u]&&(h=f(h,u));return h}function f(o,h){return h?o?o+" "+h:o+h:o}d.exports?(l.default=l,d.exports=l):(e=[],r=function(){return l}.apply(v,e),r!==void 0&&(d.exports=r))})()},63335:function(d,v,e){"use strict";var r=e(55327),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a function")}},6086:function(d,v,e){"use strict";var r=e(39812),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a constructor")}},42683:function(d,v,e){"use strict";var r=e(2786).has;d.exports=function(i){return r(i),i}},557:function(d,v,e){"use strict";var r=e(55327),i=String,l=TypeError;d.exports=function(c){if(typeof c=="object"||r(c))return c;throw new l("Can't set "+i(c)+" as a prototype")}},17442:function(d,v,e){"use strict";var r=e(19691).has;d.exports=function(i){return r(i),i}},79606:function(d){"use strict";var v=TypeError;d.exports=function(e){if(typeof e=="string")return e;throw new v("Argument is not a string")}},63619:function(d,v,e){"use strict";var r=e(42530).has;d.exports=function(i){return r(i),i}},18888:function(d,v,e){"use strict";var r=e(91385).has;d.exports=function(i){return r(i),i}},5978:function(d,v,e){"use strict";var r=e(89945),i=e(94237),l=e(80666),c=e(80449),f=e(63335),o=e(4112),h=e(53776),u=e(59893),a=u("asyncDispose"),x=u("dispose"),p=i([].push),y=function(b,A){if(A==="async-dispose"){var k=h(b,a);return k!==void 0?k:(k=h(b,x),function(){r(k,this)})}return h(b,x)},_=function(b,A,k){return arguments.length<3&&!o(b)&&(k=f(y(c(b),A))),k===void 0?function(){}:l(k,b)};d.exports=function(b,A,k,L){var T;if(arguments.length<4){if(o(A)&&k==="sync-dispose")return;T=_(A,k)}else T=_(void 0,k,L);p(b.stack,T)}},81181:function(d,v,e){"use strict";var r=e(59893),i=e(20132),l=e(37691).f,c=r("unscopables"),f=Array.prototype;f[c]===void 0&&l(f,c,{configurable:!0,value:i(null)}),d.exports=function(o){f[c][o]=!0}},52216:function(d,v,e){"use strict";var r=e(13764).charAt;d.exports=function(i,l,c){return l+(c?r(i,l).length:1)}},56472:function(d,v,e){"use strict";var r=e(16332),i=TypeError;d.exports=function(l,c){if(r(c,l))return l;throw new i("Incorrect invocation")}},1674:function(d,v,e){"use strict";var r=e(31946),i=String,l=TypeError;d.exports=function(c){if(c===void 0||r(c))return c;throw new l(i(c)+" is not an object or undefined")}},80449:function(d,v,e){"use strict";var r=e(31946),i=String,l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not an object")}},27270:function(d,v,e){"use strict";var r=e(97607),i=TypeError;d.exports=function(l){if(r(l)==="Uint8Array")return l;throw new i("Argument is not an Uint8Array")}},3737:function(d){"use strict";d.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},78244:function(d,v,e){"use strict";var r=e(37758),i=e(29076),l=TypeError;d.exports=r(ArrayBuffer.prototype,"byteLength","get")||function(c){if(i(c)!=="ArrayBuffer")throw new l("ArrayBuffer expected");return c.byteLength}},93683:function(d,v,e){"use strict";var r=e(94237),i=e(78244),l=r(ArrayBuffer.prototype.slice);d.exports=function(c){if(i(c)!==0)return!1;try{return l(c,0,0),!1}catch(f){return!0}}},51424:function(d,v,e){"use strict";var r=e(3338);d.exports=r(function(){if(typeof ArrayBuffer=="function"){var i=new ArrayBuffer(8);Object.isExtensible(i)&&Object.defineProperty(i,"a",{value:8})}})},39760:function(d,v,e){"use strict";var r=e(92916),i=e(94237),l=e(37758),c=e(24225),f=e(93683),o=e(78244),h=e(39311),u=e(80426),a=r.structuredClone,x=r.ArrayBuffer,p=r.DataView,y=r.TypeError,_=Math.min,b=x.prototype,A=p.prototype,k=i(b.slice),L=l(b,"resizable","get"),T=l(b,"maxByteLength","get"),D=i(A.getInt8),M=i(A.setInt8);d.exports=(u||h)&&function(B,N,K){var G=o(B),W=N===void 0?G:c(N),ne=!L||!L(B),ae;if(f(B))throw new y("ArrayBuffer is detached");if(u&&(B=a(B,{transfer:[B]}),G===W&&(K||ne)))return B;if(G>=W&&(!K||ne))ae=k(B,0,W);else{var le=K&&!ne&&T?{maxByteLength:T(B)}:void 0;ae=new x(W,le);for(var Q=new p(B),J=new p(ae),V=_(W,G),ue=0;ue<V;ue++)M(J,ue,D(Q,ue))}return u||h(B),ae}},58261:function(d,v,e){"use strict";var r=e(3737),i=e(35454),l=e(92916),c=e(55327),f=e(31946),o=e(32621),h=e(97607),u=e(40593),a=e(68151),x=e(2291),p=e(64110),y=e(16332),_=e(53456),b=e(58218),A=e(59893),k=e(6145),L=e(94844),T=L.enforce,D=L.get,M=l.Int8Array,B=M&&M.prototype,N=l.Uint8ClampedArray,K=N&&N.prototype,G=M&&_(M),W=B&&_(B),ne=Object.prototype,ae=l.TypeError,le=A("toStringTag"),Q=k("TYPED_ARRAY_TAG"),J="TypedArrayConstructor",V=r&&!!b&&h(l.opera)!=="Opera",ue=!1,ee,X,ce,z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},se=function(It){if(!f(It))return!1;var rr=h(It);return rr==="DataView"||o(z,rr)||o($,rr)},_e=function(yt){var It=_(yt);if(f(It)){var rr=D(It);return rr&&o(rr,J)?rr[J]:_e(It)}},Oe=function(yt){if(!f(yt))return!1;var It=h(yt);return o(z,It)||o($,It)},Le=function(yt){if(Oe(yt))return yt;throw new ae("Target is not a typed array")},He=function(yt){if(c(yt)&&(!b||y(G,yt)))return yt;throw new ae(u(yt)+" is not a typed array constructor")},$e=function(yt,It,rr,Yt){if(i){if(rr)for(var lr in z){var Ve=l[lr];if(Ve&&o(Ve.prototype,yt))try{delete Ve.prototype[yt]}catch(Ct){try{Ve.prototype[yt]=It}catch(Ut){}}}(!W[yt]||rr)&&x(W,yt,rr?It:V&&B[yt]||It,Yt)}},Bt=function(yt,It,rr){var Yt,lr;if(i){if(b){if(rr){for(Yt in z)if(lr=l[Yt],lr&&o(lr,yt))try{delete lr[yt]}catch(Ve){}}if(!G[yt]||rr)try{return x(G,yt,rr?It:V&&G[yt]||It)}catch(Ve){}else return}for(Yt in z)lr=l[Yt],lr&&(!lr[yt]||rr)&&x(lr,yt,It)}};for(ee in z)X=l[ee],ce=X&&X.prototype,ce?T(ce)[J]=X:V=!1;for(ee in $)X=l[ee],ce=X&&X.prototype,ce&&(T(ce)[J]=X);if((!V||!c(G)||G===Function.prototype)&&(G=function(){throw new ae("Incorrect invocation")},V))for(ee in z)l[ee]&&b(l[ee],G);if((!V||!W||W===ne)&&(W=G.prototype,V))for(ee in z)l[ee]&&b(l[ee].prototype,W);if(V&&_(K)!==W&&b(K,W),i&&!o(W,le)){ue=!0,p(W,le,{configurable:!0,get:function(){return f(this)?this[Q]:void 0}});for(ee in z)l[ee]&&a(l[ee],Q,ee)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:V,TYPED_ARRAY_TAG:ue&&Q,aTypedArray:Le,aTypedArrayConstructor:He,exportTypedArrayMethod:$e,exportTypedArrayStaticMethod:Bt,getTypedArrayConstructor:_e,isView:se,isTypedArray:Oe,TypedArray:G,TypedArrayPrototype:W}},91669:function(d,v,e){"use strict";var r=e(92916),i=e(94237),l=e(35454),c=e(3737),f=e(8090),o=e(68151),h=e(64110),u=e(66477),a=e(3338),x=e(56472),p=e(56902),y=e(61578),_=e(24225),b=e(14894),A=e(61618),k=e(53456),L=e(58218),T=e(80689).f,D=e(75202),M=e(71698),B=e(94573),N=e(94844),K=f.PROPER,G=f.CONFIGURABLE,W="ArrayBuffer",ne="DataView",ae="prototype",le="Wrong length",Q="Wrong index",J=N.getterFor(W),V=N.getterFor(ne),ue=N.set,ee=r[W],X=ee,ce=X&&X[ae],z=r[ne],$=z&&z[ae],se=Object.prototype,_e=r.Array,Oe=r.RangeError,Le=i(D),He=i([].reverse),$e=A.pack,Bt=A.unpack,yt=function(Fe){return[Fe&255]},It=function(Fe){return[Fe&255,Fe>>8&255]},rr=function(Fe){return[Fe&255,Fe>>8&255,Fe>>16&255,Fe>>24&255]},Yt=function(Fe){return Fe[3]<<24|Fe[2]<<16|Fe[1]<<8|Fe[0]},lr=function(Fe){return $e(b(Fe),23,4)},Ve=function(Fe){return $e(Fe,52,8)},Ct=function(Fe,je,Ge){h(Fe[ae],je,{configurable:!0,get:function(){return Ge(this)[je]}})},Ut=function(Fe,je,Ge,it){var ct=V(Fe),Gt=_(Ge),Ht=!!it;if(Gt+je>ct.byteLength)throw new Oe(Q);var Pe=ct.bytes,tt=Gt+ct.byteOffset,Vt=M(Pe,tt,tt+je);return Ht?Vt:He(Vt)},st=function(Fe,je,Ge,it,ct,Gt){var Ht=V(Fe),Pe=_(Ge),tt=it(+ct),Vt=!!Gt;if(Pe+je>Ht.byteLength)throw new Oe(Q);for(var kt=Ht.bytes,Zt=Pe+Ht.byteOffset,Nt=0;Nt<je;Nt++)kt[Zt+Nt]=tt[Vt?Nt:je-Nt-1]};if(!c)X=function(je){x(this,ce);var Ge=_(je);ue(this,{type:W,bytes:Le(_e(Ge),0),byteLength:Ge}),l||(this.byteLength=Ge,this.detached=!1)},ce=X[ae],z=function(je,Ge,it){x(this,$),x(je,ce);var ct=J(je),Gt=ct.byteLength,Ht=p(Ge);if(Ht<0||Ht>Gt)throw new Oe("Wrong offset");if(it=it===void 0?Gt-Ht:y(it),Ht+it>Gt)throw new Oe(le);ue(this,{type:ne,buffer:je,byteLength:it,byteOffset:Ht,bytes:ct.bytes}),l||(this.buffer=je,this.byteLength=it,this.byteOffset=Ht)},$=z[ae],l&&(Ct(X,"byteLength",J),Ct(z,"buffer",V),Ct(z,"byteLength",V),Ct(z,"byteOffset",V)),u($,{getInt8:function(je){return Ut(this,1,je)[0]<<24>>24},getUint8:function(je){return Ut(this,1,je)[0]},getInt16:function(je){var Ge=Ut(this,2,je,arguments.length>1?arguments[1]:!1);return(Ge[1]<<8|Ge[0])<<16>>16},getUint16:function(je){var Ge=Ut(this,2,je,arguments.length>1?arguments[1]:!1);return Ge[1]<<8|Ge[0]},getInt32:function(je){return Yt(Ut(this,4,je,arguments.length>1?arguments[1]:!1))},getUint32:function(je){return Yt(Ut(this,4,je,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(je){return Bt(Ut(this,4,je,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(je){return Bt(Ut(this,8,je,arguments.length>1?arguments[1]:!1),52)},setInt8:function(je,Ge){st(this,1,je,yt,Ge)},setUint8:function(je,Ge){st(this,1,je,yt,Ge)},setInt16:function(je,Ge){st(this,2,je,It,Ge,arguments.length>2?arguments[2]:!1)},setUint16:function(je,Ge){st(this,2,je,It,Ge,arguments.length>2?arguments[2]:!1)},setInt32:function(je,Ge){st(this,4,je,rr,Ge,arguments.length>2?arguments[2]:!1)},setUint32:function(je,Ge){st(this,4,je,rr,Ge,arguments.length>2?arguments[2]:!1)},setFloat32:function(je,Ge){st(this,4,je,lr,Ge,arguments.length>2?arguments[2]:!1)},setFloat64:function(je,Ge){st(this,8,je,Ve,Ge,arguments.length>2?arguments[2]:!1)}});else{var xt=K&&ee.name!==W;if(!a(function(){ee(1)})||!a(function(){new ee(-1)})||a(function(){return new ee,new ee(1.5),new ee(NaN),ee.length!==1||xt&&!G})){X=function(je){return x(this,ce),new ee(_(je))},X[ae]=ce;for(var ht=T(ee),rt=0,Ue;ht.length>rt;)(Ue=ht[rt++])in X||o(X,Ue,ee[Ue]);ce.constructor=X}else xt&&G&&o(ee,"name",W);L&&k($)!==se&&L($,se);var ye=new z(new X(2)),Ce=i($.setInt8);ye.setInt8(0,2147483648),ye.setInt8(1,2147483649),(ye.getInt8(0)||!ye.getInt8(1))&&u($,{setInt8:function(je,Ge){Ce(this,je,Ge<<24>>24)},setUint8:function(je,Ge){Ce(this,je,Ge<<24>>24)}},{unsafe:!0})}B(X,W),B(z,ne),d.exports={ArrayBuffer:X,DataView:z}},92670:function(d,v,e){"use strict";var r=e(94029),i=e(51981),l=e(82762),c=e(84233),f=Math.min;d.exports=[].copyWithin||function(h,u){var a=r(this),x=l(a),p=i(h,x),y=i(u,x),_=arguments.length>2?arguments[2]:void 0,b=f((_===void 0?x:i(_,x))-y,x-p),A=1;for(y<p&&p<y+b&&(A=-1,y+=b-1,p+=b-1);b-- >0;)y in a?a[p]=a[y]:c(a,p),p+=A,y+=A;return a}},75202:function(d,v,e){"use strict";var r=e(94029),i=e(51981),l=e(82762);d.exports=function(f){for(var o=r(this),h=l(o),u=arguments.length,a=i(u>1?arguments[1]:void 0,h),x=u>2?arguments[2]:void 0,p=x===void 0?h:i(x,h);p>a;)o[a++]=f;return o}},59594:function(d,v,e){"use strict";var r=e(90560).forEach,i=e(45601),l=i("forEach");d.exports=l?[].forEach:function(f){return r(this,f,arguments.length>1?arguments[1]:void 0)}},32278:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(94029),c=e(39812),f=e(69034),o=e(85428),h=e(10731),u=e(26006),a=e(53776),x=e(65911),p=e(55174),y=e(59893),_=e(57975),b=e(55266).toArray,A=y("asyncIterator"),k=i(p("Array","values")),L=i(k([]).next),T=function(){return new D(this)},D=function(M){this.iterator=k(M)};D.prototype.next=function(){return L(this.iterator)},d.exports=function(B){var N=this,K=arguments.length,G=K>1?arguments[1]:void 0,W=K>2?arguments[2]:void 0;return new(x("Promise"))(function(ne){var ae=l(B);G!==void 0&&(G=r(G,W));var le=a(ae,A),Q=le?void 0:u(ae)||T,J=c(N)?new N:[],V=le?f(ae,le):new _(h(o(ae,Q)));ne(b(V,G,J))})}},69478:function(d,v,e){"use strict";var r=e(82762);d.exports=function(i,l,c){for(var f=0,o=arguments.length>2?c:r(l),h=new i(o);o>f;)h[f]=l[f++];return h}},60255:function(d,v,e){"use strict";var r=e(80666),i=e(89945),l=e(94029),c=e(46319),f=e(345),o=e(39812),h=e(82762),u=e(69392),a=e(85428),x=e(26006),p=Array;d.exports=function(_){var b=l(_),A=o(this),k=arguments.length,L=k>1?arguments[1]:void 0,T=L!==void 0;T&&(L=r(L,k>2?arguments[2]:void 0));var D=x(b),M=0,B,N,K,G,W,ne;if(D&&!(this===p&&f(D)))for(G=a(b,D),W=G.next,N=A?new this:[];!(K=i(W,G)).done;M++)ne=T?c(G,L,[K.value,M],!0):K.value,u(N,M,ne);else for(B=h(b),N=A?new this(B):p(B);B>M;M++)ne=T?L(b[M],M):b[M],u(N,M,ne);return N.length=M,N}},33940:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),o=e(2786),h=o.Map,u=o.get,a=o.has,x=o.set,p=i([].push);d.exports=function(_){for(var b=c(this),A=l(b),k=r(_,arguments.length>1?arguments[1]:void 0),L=new h,T=f(A),D=0,M,B;T>D;D++)B=A[D],M=k(B,D,b),a(L,M)?p(u(L,M),B):x(L,M,[B]);return L}},36444:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(17818),o=e(82762),h=e(20132),u=e(69478),a=Array,x=i([].push);d.exports=function(p,y,_,b){for(var A=c(p),k=l(A),L=r(y,_),T=h(null),D=o(k),M=0,B,N,K;D>M;M++)K=k[M],N=f(L(K,M,A)),N in T?x(T[N],K):T[N]=[K];if(b&&(B=b(A),B!==a))for(N in T)T[N]=u(B,T[N]);return T}},22999:function(d,v,e){"use strict";var r=e(80524),i=e(51981),l=e(82762),c=function(f){return function(o,h,u){var a=r(o),x=l(a),p=i(u,x),y;if(f&&h!==h){for(;x>p;)if(y=a[p++],y!==y)return!0}else for(;x>p;p++)if((f||p in a)&&a[p]===h)return f||p||0;return!f&&-1}};d.exports={includes:c(!0),indexOf:c(!1)}},53279:function(d,v,e){"use strict";var r=e(80666),i=e(1835),l=e(94029),c=e(82762),f=function(o){var h=o===1;return function(u,a,x){for(var p=l(u),y=i(p),_=c(y),b=r(a,x),A,k;_-- >0;)if(A=y[_],k=b(A,_,p),k)switch(o){case 0:return A;case 1:return _}return h?-1:void 0}};d.exports={findLast:f(0),findLastIndex:f(1)}},90560:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),o=e(81427),h=i([].push),u=function(a){var x=a===1,p=a===2,y=a===3,_=a===4,b=a===6,A=a===7,k=a===5||b;return function(L,T,D,M){for(var B=c(L),N=l(B),K=f(N),G=r(T,D),W=0,ne=M||o,ae=x?ne(L,K):p||A?ne(L,0):void 0,le,Q;K>W;W++)if((k||W in N)&&(le=N[W],Q=G(le,W,B),a))if(x)ae[W]=Q;else if(Q)switch(a){case 3:return!0;case 5:return le;case 6:return W;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,v,e){"use strict";var r=e(13743),i=e(80524),l=e(56902),c=e(82762),f=e(45601),o=Math.min,h=[].lastIndexOf,u=!!h&&1/[1].lastIndexOf(1,-0)<0,a=f("lastIndexOf"),x=u||!a;d.exports=x?function(y){if(u)return r(h,this,arguments)||0;var _=i(this),b=c(_),A=b-1;for(arguments.length>1&&(A=o(A,l(arguments[1]))),A<0&&(A=b+A);A>=0;A--)if(A in _&&_[A]===y)return A||0;return-1}:h},17480:function(d,v,e){"use strict";var r=e(3338),i=e(59893),l=e(46573),c=i("species");d.exports=function(f){return l>=51||!r(function(){var o=[],h=o.constructor={};return h[c]=function(){return{foo:1}},o[f](Boolean).foo!==1})}},45601:function(d,v,e){"use strict";var r=e(3338);d.exports=function(i,l){var c=[][i];return!!c&&r(function(){c.call(null,l||function(){return 1},1)})}},16370:function(d,v,e){"use strict";var r=e(63335),i=e(94029),l=e(1835),c=e(82762),f=TypeError,o=function(h){return function(u,a,x,p){var y=i(u),_=l(y),b=c(y);r(a);var A=h?b-1:0,k=h?-1:1;if(x<2)for(;;){if(A in _){p=_[A],A+=k;break}if(A+=k,h?A<0:b<=A)throw new f("Reduce of empty array with no initial value")}for(;h?A>=0:b>A;A+=k)A in _&&(p=a(p,_[A],A,y));return p}};d.exports={left:o(!1),right:o(!0)}},39428:function(d,v,e){"use strict";var r=e(35454),i=e(18589),l=TypeError,c=Object.getOwnPropertyDescriptor,f=r&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(o){return o instanceof TypeError}}();d.exports=f?function(o,h){if(i(o)&&!c(o,"length").writable)throw new l("Cannot set read only .length");return o.length=h}:function(o,h){return o.length=h}},71698:function(d,v,e){"use strict";var r=e(51981),i=e(82762),l=e(69392),c=Array,f=Math.max;d.exports=function(o,h,u){for(var a=i(o),x=r(h,a),p=r(u===void 0?a:u,a),y=c(f(p-x,0)),_=0;x<p;x++,_++)l(y,_,o[x]);return y.length=_,y}},30867:function(d,v,e){"use strict";var r=e(94237);d.exports=r([].slice)},63668:function(d,v,e){"use strict";var r=e(71698),i=Math.floor,l=function(o,h){var u=o.length,a=i(u/2);return u<8?c(o,h):f(o,l(r(o,0,a),h),l(r(o,a),h),h)},c=function(o,h){for(var u=o.length,a=1,x,p;a<u;){for(p=a,x=o[a];p&&h(o[p-1],x)>0;)o[p]=o[--p];p!==a++&&(o[p]=x)}return o},f=function(o,h,u,a){for(var x=h.length,p=u.length,y=0,_=0;y<x||_<p;)o[y+_]=y<x&&_<p?a(h[y],u[_])<=0?h[y++]:u[_++]:y<x?h[y++]:u[_++];return o};d.exports=l},34487:function(d,v,e){"use strict";var r=e(18589),i=e(39812),l=e(31946),c=e(59893),f=c("species"),o=Array;d.exports=function(h){var u;return r(h)&&(u=h.constructor,i(u)&&(u===o||r(u.prototype))?u=void 0:l(u)&&(u=u[f],u===null&&(u=void 0))),u===void 0?o:u}},81427:function(d,v,e){"use strict";var r=e(34487);d.exports=function(i,l){return new(r(i))(l===0?0:l)}},85903:function(d,v,e){"use strict";var r=e(82762);d.exports=function(i,l){for(var c=r(i),f=new l(c),o=0;o<c;o++)f[o]=i[c-o-1];return f}},65621:function(d,v,e){"use strict";var r=e(94237),i=e(63335),l=e(4112),c=e(82762),f=e(94029),o=e(2786),h=e(95037),u=o.Map,a=o.has,x=o.set,p=r([].push);d.exports=function(_){var b=f(this),A=c(b),k=[],L=new u,T=l(_)?function(N){return N}:i(_),D,M,B;for(D=0;D<A;D++)M=b[D],B=T(M),a(L,B)||x(L,B,M);return h(L,function(N){p(k,N)}),k}},82041:function(d,v,e){"use strict";var r=e(82762),i=e(56902),l=RangeError;d.exports=function(c,f,o,h){var u=r(c),a=i(o),x=a<0?u+a:a;if(x>=u||x<0)throw new l("Incorrect index");for(var p=new f(u),y=0;y<u;y++)p[y]=y===x?h:c[y];return p}},57975:function(d,v,e){"use strict";var r=e(89945),i=e(80449),l=e(20132),c=e(53776),f=e(66477),o=e(94844),h=e(65911),u=e(14052),a=e(25587),x=h("Promise"),p="AsyncFromSyncIterator",y=o.set,_=o.getterFor(p),b=function(k,L,T){var D=k.done;x.resolve(k.value).then(function(M){L(a(M,D))},T)},A=function(L){L.type=p,y(this,L)};A.prototype=f(l(u),{next:function(){var L=_(this);return new x(function(T,D){var M=i(r(L.next,L.iterator));b(M,T,D)})},return:function(){var k=_(this).iterator;return new x(function(L,T){var D=c(k,"return");if(D===void 0)return L(a(void 0,!0));var M=i(r(D,k));b(M,L,T)})}}),d.exports=A},28255:function(d,v,e){"use strict";var r=e(89945),i=e(65911),l=e(53776);d.exports=function(c,f,o,h){try{var u=l(c,"return");if(u)return i("Promise").resolve(r(u,c)).then(function(){f(o)},function(a){h(a)})}catch(a){return h(a)}f(o)}},31342:function(d,v,e){"use strict";var r=e(89945),i=e(80734),l=e(80449),c=e(20132),f=e(68151),o=e(66477),h=e(59893),u=e(94844),a=e(65911),x=e(53776),p=e(14052),y=e(25587),_=e(67996),b=a("Promise"),A=h("toStringTag"),k="AsyncIteratorHelper",L="WrapForValidAsyncIterator",T=u.set,D=function(N){var K=!N,G=u.getterFor(N?L:k),W=function(ne){var ae=i(function(){return G(ne)}),le=ae.error,Q=ae.value;return le||K&&Q.done?{exit:!0,value:le?b.reject(Q):b.resolve(y(void 0,!0))}:{exit:!1,value:Q}};return o(c(p),{next:function(){var ae=W(this),le=ae.value;if(ae.exit)return le;var Q=i(function(){return l(le.nextHandler(b))}),J=Q.error,V=Q.value;return J&&(le.done=!0),J?b.reject(V):b.resolve(V)},return:function(){var ne=W(this),ae=ne.value;if(ne.exit)return ae;ae.done=!0;var le=ae.iterator,Q,J,V=i(function(){if(ae.inner)try{_(ae.inner.iterator,"normal")}catch(ue){return _(le,"throw",ue)}return x(le,"return")});return Q=J=V.value,V.error?b.reject(J):Q===void 0?b.resolve(y(void 0,!0)):(V=i(function(){return r(Q,le)}),J=V.value,V.error?b.reject(J):N?b.resolve(J):b.resolve(J).then(function(ue){return l(ue),y(void 0,!0)}))}})},M=D(!0),B=D(!1);f(B,A,"Async Iterator Helper"),d.exports=function(N,K){var G=function(ne,ae){ae?(ae.iterator=ne.iterator,ae.next=ne.next):ae=ne,ae.type=K?L:k,ae.nextHandler=N,ae.counter=0,ae.done=!1,T(this,ae)};return G.prototype=K?M:B,G}},34535:function(d,v,e){"use strict";var r=e(89945),i=e(41586),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},55266:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(66434),o=e(65911),h=e(10731),u=e(28255),a=function(x){var p=x===0,y=x===1,_=x===2,b=x===3;return function(A,k,L){l(A);var T=k!==void 0;(T||!p)&&i(k);var D=h(A),M=o("Promise"),B=D.iterator,N=D.next,K=0;return new M(function(G,W){var ne=function(le){u(B,W,le,W)},ae=function(){try{if(T)try{f(K)}catch(le){ne(le)}M.resolve(l(r(N,B))).then(function(le){try{if(l(le).done)p?(L.length=K,G(L)):G(b?!1:_||void 0);else{var Q=le.value;try{if(T){var J=k(Q,K),V=function(ue){if(y)ae();else if(_)ue?ae():u(B,G,!1,W);else if(p)try{L[K++]=ue,ae()}catch(ee){ne(ee)}else ue?u(B,G,b||Q,W):ae()};c(J)?M.resolve(J).then(V,ne):V(J)}else L[K++]=Q,ae()}catch(ue){ne(ue)}}}catch(ue){W(ue)}},W)}catch(le){W(le)}};ae()})}};d.exports={toArray:a(0),forEach:a(1),every:a(2),some:a(3),find:a(4)}},41586:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(10731),o=e(31342),h=e(25587),u=e(28255),a=o(function(x){var p=this,y=p.iterator,_=p.mapper;return new x(function(b,A){var k=function(T){p.done=!0,A(T)},L=function(T){u(y,k,T,k)};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 M=_(D,p.counter++),B=function(N){b(h(N,!1))};c(M)?x.resolve(M).then(B,L):B(M)}catch(N){L(N)}}}catch(N){k(N)}},k)})});d.exports=function(p){return l(this),i(p),new a(f(this),{mapper:p})}},14052:function(d,v,e){"use strict";var r=e(92916),i=e(77398),l=e(55327),c=e(20132),f=e(53456),o=e(2291),h=e(59893),u=e(16697),a="USE_FUNCTION_CONSTRUCTOR",x=h("asyncIterator"),p=r.AsyncIterator,y=i.AsyncIteratorPrototype,_,b;if(y)_=y;else if(l(p))_=p.prototype;else if(i[a]||r[a])try{b=f(f(f(Function("return async function*(){}()")()))),f(b)===Object.prototype&&(_=b)}catch(A){}_?u&&(_=c(_)):_={},l(_[x])||o(_,x,function(){return this}),d.exports=_},80025:function(d,v,e){"use strict";var r=e(89945),i=e(31342);d.exports=i(function(){return r(this.next,this.iterator)},!0)},66244:function(d){"use strict";var v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=v+"+/",r=v+"-_",i=function(l){for(var c={},f=0;f<64;f++)c[l.charAt(f)]=f;return c};d.exports={i2c:e,c2i:i(e),i2cUrl:r,c2iUrl:i(r)}},46319:function(d,v,e){"use strict";var r=e(80449),i=e(67996);d.exports=function(l,c,f,o){try{return o?c(r(f)[0],f[1]):c(f)}catch(h){i(l,"throw",h)}}},35221:function(d,v,e){"use strict";var r=e(59893),i=r("iterator"),l=!1;try{var c=0,f={next:function(){return{done:!!c++}},return:function(){l=!0}};f[i]=function(){return this},Array.from(f,function(){throw 2})}catch(o){}d.exports=function(o,h){try{if(!h&&!l)return!1}catch(x){return!1}var u=!1;try{var a={};a[i]=function(){return{next:function(){return{done:u=!0}}}},o(a)}catch(x){}return u}},29076:function(d,v,e){"use strict";var r=e(94237),i=r({}.toString),l=r("".slice);d.exports=function(c){return l(i(c),8,-1)}},97607:function(d,v,e){"use strict";var r=e(68527),i=e(55327),l=e(29076),c=e(59893),f=c("toStringTag"),o=Object,h=l(function(){return arguments}())==="Arguments",u=function(a,x){try{return a[x]}catch(p){}};d.exports=r?l:function(a){var x,p,y;return a===void 0?"Undefined":a===null?"Null":typeof(p=u(x=o(a),f))=="string"?p:h?l(x):(y=l(x))==="Object"&&i(x.callee)?"Arguments":y}},72846:function(d,v,e){"use strict";var r=e(80666),i=e(89945),l=e(63335),c=e(6086),f=e(4112),o=e(62003),h=[].push;d.exports=function(a){var x=arguments.length,p=x>1?arguments[1]:void 0,y,_,b,A;return c(this),y=p!==void 0,y&&l(p),f(a)?new this:(_=[],y?(b=0,A=r(p,x>2?arguments[2]:void 0),o(a,function(k){i(h,_,A(k,b++))})):o(a,h,{that:_}),new this(_))}},48800:function(d,v,e){"use strict";var r=e(30867);d.exports=function(){return new this(r(arguments))}},40942:function(d,v,e){"use strict";var r=e(20132),i=e(64110),l=e(66477),c=e(80666),f=e(56472),o=e(4112),h=e(62003),u=e(24019),a=e(25587),x=e(51996),p=e(35454),y=e(2074).fastKey,_=e(94844),b=_.set,A=_.getterFor;d.exports={getConstructor:function(k,L,T,D){var M=k(function(W,ne){f(W,B),b(W,{type:L,index:r(null),first:void 0,last:void 0,size:0}),p||(W.size=0),o(ne)||h(ne,W[D],{that:W,AS_ENTRIES:T})}),B=M.prototype,N=A(L),K=function(W,ne,ae){var le=N(W),Q=G(W,ne),J,V;return Q?Q.value=ae:(le.last=Q={index:V=y(ne,!0),key:ne,value:ae,previous:J=le.last,next:void 0,removed:!1},le.first||(le.first=Q),J&&(J.next=Q),p?le.size++:W.size++,V!=="F"&&(le.index[V]=Q)),W},G=function(W,ne){var ae=N(W),le=y(ne),Q;if(le!=="F")return ae.index[le];for(Q=ae.first;Q;Q=Q.next)if(Q.key===ne)return Q};return l(B,{clear:function(){for(var ne=this,ae=N(ne),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:ne.size=0},delete:function(W){var ne=this,ae=N(ne),le=G(ne,W);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--:ne.size--}return!!le},forEach:function(ne){for(var ae=N(this),le=c(ne,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(ne){return!!G(this,ne)}}),l(B,T?{get:function(ne){var ae=G(this,ne);return ae&&ae.value},set:function(ne,ae){return K(this,ne===0?0:ne,ae)}}:{add:function(ne){return K(this,ne=ne===0?0:ne,ne)}}),p&&i(B,"size",{configurable:!0,get:function(){return N(this).size}}),M},setStrong:function(k,L,T){var D=L+" Iterator",M=A(L),B=A(D);u(k,L,function(N,K){b(this,{type:D,target:N,state:M(N),kind:K,last:void 0})},function(){for(var N=B(this),K=N.kind,G=N.last;G&&G.removed;)G=G.previous;return!N.target||!(N.last=G=G?G.next:N.state.first)?(N.target=void 0,a(void 0,!0)):a(K==="keys"?G.key:K==="values"?G.value:[G.key,G.value],!1)},T?"entries":"values",!T,!0),x(L)}}},39656:function(d,v,e){"use strict";var r=e(94237),i=e(66477),l=e(2074).getWeakData,c=e(56472),f=e(80449),o=e(4112),h=e(31946),u=e(62003),a=e(90560),x=e(32621),p=e(94844),y=p.set,_=p.getterFor,b=a.find,A=a.findIndex,k=r([].splice),L=0,T=function(B){return B.frozen||(B.frozen=new D)},D=function(){this.entries=[]},M=function(B,N){return b(B.entries,function(K){return K[0]===N})};D.prototype={get:function(B){var N=M(this,B);if(N)return N[1]},has:function(B){return!!M(this,B)},set:function(B,N){var K=M(this,B);K?K[1]=N:this.entries.push([B,N])},delete:function(B){var N=A(this.entries,function(K){return K[0]===B});return~N&&k(this.entries,N,1),!!~N}},d.exports={getConstructor:function(B,N,K,G){var W=B(function(Q,J){c(Q,ne),y(Q,{type:N,id:L++,frozen:void 0}),o(J)||u(J,Q[G],{that:Q,AS_ENTRIES:K})}),ne=W.prototype,ae=_(N),le=function(Q,J,V){var ue=ae(Q),ee=l(f(J),!0);return ee===!0?T(ue).set(J,V):ee[ue.id]=V,Q};return i(ne,{delete:function(Q){var J=ae(this);if(!h(Q))return!1;var V=l(Q);return V===!0?T(J).delete(Q):V&&x(V,J.id)&&delete V[J.id]},has:function(J){var V=ae(this);if(!h(J))return!1;var ue=l(J);return ue===!0?T(V).has(J):ue&&x(ue,V.id)}}),i(ne,K?{get:function(J){var V=ae(this);if(h(J)){var ue=l(J);return ue===!0?T(V).get(J):ue?ue[V.id]:void 0}},set:function(J,V){return le(this,J,V)}}:{add:function(J){return le(this,J,!0)}}),W}}},48059:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(20865),f=e(2291),o=e(2074),h=e(62003),u=e(56472),a=e(55327),x=e(4112),p=e(31946),y=e(3338),_=e(35221),b=e(94573),A=e(25576);d.exports=function(k,L,T){var D=k.indexOf("Map")!==-1,M=k.indexOf("Weak")!==-1,B=D?"set":"add",N=i[k],K=N&&N.prototype,G=N,W={},ne=function(ee){var X=l(K[ee]);f(K,ee,ee==="add"?function(z){return X(this,z===0?0:z),this}:ee==="delete"?function(ce){return M&&!p(ce)?!1:X(this,ce===0?0:ce)}:ee==="get"?function(z){return M&&!p(z)?void 0:X(this,z===0?0:z)}:ee==="has"?function(z){return M&&!p(z)?!1:X(this,z===0?0:z)}:function(z,$){return X(this,z===0?0:z,$),this})},ae=c(k,!a(N)||!(M||K.forEach&&!y(function(){new N().entries().next()})));if(ae)G=T.getConstructor(L,k,D,B),o.enable();else if(c(k,!0)){var le=new G,Q=le[B](M?{}:-0,1)!==le,J=y(function(){le.has(1)}),V=_(function(ee){new N(ee)}),ue=!M&&y(function(){for(var ee=new N,X=5;X--;)ee[B](X,X);return!ee.has(-0)});V||(G=L(function(ee,X){u(ee,K);var ce=A(new N,ee,G);return x(X)||h(X,ce[B],{that:ce,AS_ENTRIES:D}),ce}),G.prototype=K,K.constructor=G),(J||ue)&&(ne("delete"),ne("has"),D&&ne("get")),(ue||Q)&&ne(B),M&&K.clear&&delete K.clear}return W[k]=G,r({global:!0,constructor:!0,forced:G!==N},W),b(G,k),M||T.setStrong(G,k,D),G}},32754:function(d,v,e){"use strict";e(34941),e(55410);var r=e(65911),i=e(20132),l=e(31946),c=Object,f=TypeError,o=r("Map"),h=r("WeakMap"),u=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=i(null)};u.prototype.get=function(x,p){return this[x]||(this[x]=p())},u.prototype.next=function(x,p,y){var _=y?this.objectsByIndex[x]||(this.objectsByIndex[x]=new h):this.primitives||(this.primitives=new o),b=_.get(p);return b||_.set(p,b=new u),b};var a=new u;d.exports=function(){var x=a,p=arguments.length,y,_;for(y=0;y<p;y++)l(_=arguments[y])&&(x=x.next(y,_,!0));if(this===c&&x===a)throw new f("Composite keys must contain a non-primitive component");for(y=0;y<p;y++)l(_=arguments[y])||(x=x.next(y,_,!1));return x}},24538:function(d,v,e){"use strict";var r=e(32621),i=e(48662),l=e(71256),c=e(37691);d.exports=function(f,o,h){for(var u=i(o),a=c.f,x=l.f,p=0;p<u.length;p++){var y=u[p];!r(f,y)&&!(h&&r(h,y))&&a(f,y,x(o,y))}}},86266:function(d,v,e){"use strict";var r=e(59893),i=r("match");d.exports=function(l){var c=/./;try{"/./"[l](c)}catch(f){try{return c[i]=!1,"/./"[l](c)}catch(o){}}return!1}},4870:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})},95994:function(d,v,e){"use strict";var r=e(94237),i=e(95955),l=e(69905),c=/"/g,f=r("".replace);d.exports=function(o,h,u,a){var x=l(i(o)),p="<"+h;return u!==""&&(p+=" "+u+'="'+f(l(a),c,"&quot;")+'"'),p+">"+x+"</"+h+">"}},25587:function(d){"use strict";d.exports=function(v,e){return{value:v,done:e}}},68151:function(d,v,e){"use strict";var r=e(35454),i=e(37691),l=e(35012);d.exports=r?function(c,f,o){return i.f(c,f,l(1,o))}:function(c,f,o){return c[f]=o,c}},35012:function(d){"use strict";d.exports=function(v,e){return{enumerable:!(v&1),configurable:!(v&2),writable:!(v&4),value:e}}},69392:function(d,v,e){"use strict";var r=e(17818),i=e(37691),l=e(35012);d.exports=function(c,f,o){var h=r(f);h in c?i.f(c,h,l(0,o)):c[h]=o}},32494:function(d,v,e){"use strict";var r=e(94237),i=e(3338),l=e(85571).start,c=RangeError,f=isFinite,o=Math.abs,h=Date.prototype,u=h.toISOString,a=r(h.getTime),x=r(h.getUTCDate),p=r(h.getUTCFullYear),y=r(h.getUTCHours),_=r(h.getUTCMilliseconds),b=r(h.getUTCMinutes),A=r(h.getUTCMonth),k=r(h.getUTCSeconds);d.exports=i(function(){return u.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!i(function(){u.call(new Date(NaN))})?function(){if(!f(a(this)))throw new c("Invalid time value");var T=this,D=p(T),M=_(T),B=D<0?"-":D>9999?"+":"";return B+l(o(D),B?6:4,0)+"-"+l(A(T)+1,2,0)+"-"+l(x(T),2,0)+"T"+l(y(T),2,0)+":"+l(b(T),2,0)+":"+l(k(T),2,0)+"."+l(M,3,0)+"Z"}:u},77119:function(d,v,e){"use strict";var r=e(80449),i=e(44759),l=TypeError;d.exports=function(c){if(r(this),c==="string"||c==="default")c="string";else if(c!=="number")throw new l("Incorrect hint");return i(this,c)}},64110:function(d,v,e){"use strict";var r=e(86528),i=e(37691);d.exports=function(l,c,f){return f.get&&r(f.get,c,{getter:!0}),f.set&&r(f.set,c,{setter:!0}),i.f(l,c,f)}},2291:function(d,v,e){"use strict";var r=e(55327),i=e(37691),l=e(86528),c=e(29539);d.exports=function(f,o,h,u){u||(u={});var a=u.enumerable,x=u.name!==void 0?u.name:o;if(r(h)&&l(h,x,u),u.global)a?f[o]=h:c(o,h);else{try{u.unsafe?f[o]&&(a=!0):delete f[o]}catch(p){}a?f[o]=h:i.f(f,o,{value:h,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return f}},66477:function(d,v,e){"use strict";var r=e(2291);d.exports=function(i,l,c){for(var f in l)r(i,f,l[f],c);return i}},29539:function(d,v,e){"use strict";var r=e(92916),i=Object.defineProperty;d.exports=function(l,c){try{i(r,l,{value:c,configurable:!0,writable:!0})}catch(f){r[l]=c}return c}},84233:function(d,v,e){"use strict";var r=e(40593),i=TypeError;d.exports=function(l,c){if(!delete l[c])throw new i("Cannot delete property "+r(c)+" of "+r(l))}},35454:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},39311:function(d,v,e){"use strict";var r=e(92916),i=e(11270),l=e(80426),c=r.structuredClone,f=r.ArrayBuffer,o=r.MessageChannel,h=!1,u,a,x,p;if(l)h=function(y){c(y,{transfer:[y]})};else if(f)try{o||(u=i("worker_threads"),u&&(o=u.MessageChannel)),o&&(a=new o,x=new f(2),p=function(y){a.port1.postMessage(null,[y])},x.byteLength===2&&(p(x),x.byteLength===0&&(h=p)))}catch(y){}d.exports=h},81766:function(d){"use strict";var v=typeof document=="object"&&document.all,e=typeof v=="undefined"&&v!==void 0;d.exports={all:v,IS_HTMLDDA:e}},86060:function(d,v,e){"use strict";var r=e(92916),i=e(31946),l=r.document,c=i(l)&&i(l.createElement);d.exports=function(f){return c?l.createElement(f):{}}},66434:function(d){"use strict";var v=TypeError,e=9007199254740991;d.exports=function(r){if(r>e)throw v("Maximum allowed index exceeded");return r}},52109:function(d){"use strict";d.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},66749:function(d){"use strict";d.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9518:function(d,v,e){"use strict";var r=e(86060),i=r("span").classList,l=i&&i.constructor&&i.constructor.prototype;d.exports=l===Object.prototype?void 0:l},78177:function(d,v,e){"use strict";var r=e(66011),i=r.match(/firefox\/(\d+)/i);d.exports=!!i&&+i[1]},66994:function(d,v,e){"use strict";var r=e(91821),i=e(90946);d.exports=!r&&!i&&typeof window=="object"&&typeof document=="object"},90843:function(d){"use strict";d.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},91821:function(d){"use strict";d.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},17687:function(d,v,e){"use strict";var r=e(66011);d.exports=/MSIE|Trident/.test(r)},1908:function(d,v,e){"use strict";var r=e(66011);d.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble!="undefined"},70695:function(d,v,e){"use strict";var r=e(66011);d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},90946:function(d,v,e){"use strict";var r=e(92916),i=e(29076);d.exports=i(r.process)==="process"},44914:function(d,v,e){"use strict";var r=e(66011);d.exports=/web0s(?!.*chrome)/i.test(r)},66011:function(d){"use strict";d.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},46573:function(d,v,e){"use strict";var r=e(92916),i=e(66011),l=r.process,c=r.Deno,f=l&&l.versions||c&&c.version,o=f&&f.v8,h,u;o&&(h=o.split("."),u=h[0]>0&&h[0]<4?1:+(h[0]+h[1])),!u&&i&&(h=i.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=i.match(/Chrome\/(\d+)/),h&&(u=+h[1]))),d.exports=u},19684:function(d,v,e){"use strict";var r=e(66011),i=r.match(/AppleWebKit\/(\d+)\./);d.exports=!!i&&+i[1]},46678:function(d){"use strict";d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80739:function(d,v,e){"use strict";var r=e(94237),i=Error,l=r("".replace),c=function(h){return String(new i(h).stack)}("zxcasd"),f=/\n\s*at [^:]*:[^\n]*/,o=f.test(c);d.exports=function(h,u){if(o&&typeof h=="string"&&!i.prepareStackTrace)for(;u--;)h=l(h,f,"");return h}},61888:function(d,v,e){"use strict";var r=e(68151),i=e(80739),l=e(25406),c=Error.captureStackTrace;d.exports=function(f,o,h,u){l&&(c?c(f,o):r(f,"stack",i(h,u)))}},25406:function(d,v,e){"use strict";var r=e(3338),i=e(35012);d.exports=!r(function(){var l=new Error("a");return"stack"in l?(Object.defineProperty(l,"stack",i(1,7)),l.stack!==7):!0})},13367:function(d,v,e){"use strict";var r=e(35454),i=e(3338),l=e(80449),c=e(7825),f=Error.prototype.toString,o=i(function(){if(r){var h=Object.create(Object.defineProperty({},"name",{get:function(){return this===h}}));if(f.call(h)!=="true")return!0}return f.call({message:1,name:2})!=="2: 1"||f.call({})!=="Error"});d.exports=o?function(){var u=l(this),a=c(u.name,"Error"),x=c(u.message);return a?x?a+": "+x:a:x}:f},94488:function(d,v,e){"use strict";var r=e(92916),i=e(71256).f,l=e(68151),c=e(2291),f=e(29539),o=e(24538),h=e(20865);d.exports=function(u,a){var x=u.target,p=u.global,y=u.stat,_,b,A,k,L,T;if(p?b=r:y?b=r[x]||f(x,{}):b=(r[x]||{}).prototype,b)for(A in a){if(L=a[A],u.dontCallGetSet?(T=i(b,A),k=T&&T.value):k=b[A],_=h(p?A:x+(y?".":"#")+A,u.forced),!_&&k!==void 0){if(typeof L==typeof k)continue;o(L,k)}(u.sham||k&&k.sham)&&l(L,"sham",!0),c(b,A,L,u)}}},3338:function(d){"use strict";d.exports=function(v){try{return!!v()}catch(e){return!0}}},8662:function(d,v,e){"use strict";e(44001);var r=e(34114),i=e(2291),l=e(88736),c=e(3338),f=e(59893),o=e(68151),h=f("species"),u=RegExp.prototype;d.exports=function(a,x,p,y){var _=f(a),b=!c(function(){var T={};return T[_]=function(){return 7},""[a](T)!==7}),A=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||!A||p){var k=r(/./[_]),L=x(_,""[a],function(T,D,M,B,N){var K=r(T),G=D.exec;return G===l||G===u.exec?b&&!N?{done:!0,value:k(D,M,B)}:{done:!0,value:K(M,D,B)}:{done:!1}});i(String.prototype,a,L[0]),i(u,_,L[1])}y&&o(u[_],"sham",!0)}},3372:function(d,v,e){"use strict";var r=e(18589),i=e(82762),l=e(66434),c=e(80666),f=function(o,h,u,a,x,p,y,_){for(var b=x,A=0,k=y?c(y,_):!1,L,T;A<a;)A in u&&(L=k?k(u[A],A,h):u[A],p>0&&r(L)?(T=i(L),b=f(o,h,L,T,b,p-1)-1):(l(b+1),o[b]=L),b++),A++;return b};d.exports=f},13247:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},13743:function(d,v,e){"use strict";var r=e(40486),i=Function.prototype,l=i.apply,c=i.call;d.exports=typeof Reflect=="object"&&Reflect.apply||(r?c.bind(l):function(){return c.apply(l,arguments)})},80666:function(d,v,e){"use strict";var r=e(34114),i=e(63335),l=e(40486),c=r(r.bind);d.exports=function(f,o){return i(f),o===void 0?f:l?c(f,o):function(){return f.apply(o,arguments)}}},40486:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})},4645:function(d,v,e){"use strict";var r=e(94237),i=e(63335),l=e(31946),c=e(32621),f=e(30867),o=e(40486),h=Function,u=r([].concat),a=r([].join),x={},p=function(y,_,b){if(!c(x,_)){for(var A=[],k=0;k<_;k++)A[k]="a["+k+"]";x[_]=h("C,a","return new C("+a(A,",")+")")}return x[_](y,b)};d.exports=o?h.bind:function(_){var b=i(this),A=b.prototype,k=f(arguments,1),L=function(){var D=u(k,f(arguments));return this instanceof L?p(b,D.length,D):b.apply(_,D)};return l(A)&&(L.prototype=A),L}},89945:function(d,v,e){"use strict";var r=e(40486),i=Function.prototype.call;d.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},47739:function(d,v,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(){return r(i(this))}},8090:function(d,v,e){"use strict";var r=e(35454),i=e(32621),l=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,f=i(l,"name"),o=f&&function(){}.name==="something",h=f&&(!r||r&&c(l,"name").configurable);d.exports={EXISTS:f,PROPER:o,CONFIGURABLE:h}},37758:function(d,v,e){"use strict";var r=e(94237),i=e(63335);d.exports=function(l,c,f){try{return r(i(Object.getOwnPropertyDescriptor(l,c)[f]))}catch(o){}}},34114:function(d,v,e){"use strict";var r=e(29076),i=e(94237);d.exports=function(l){if(r(l)==="Function")return i(l)}},94237:function(d,v,e){"use strict";var r=e(40486),i=Function.prototype,l=i.call,c=r&&i.bind.bind(l,l);d.exports=r?c:function(f){return function(){return l.apply(f,arguments)}}},81750:function(d){"use strict";var v=TypeError;d.exports=function(e){var r=e&&e.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new v("Incorrect `alphabet` option")}},38116:function(d,v,e){"use strict";var r=e(89945),i=e(55327),l=e(80449),c=e(10731),f=e(26006),o=e(53776),h=e(59893),u=e(57975),a=h("asyncIterator");d.exports=function(x){var p=l(x),y=!0,_=o(p,a),b;return i(_)||(_=f(p),y=!1),_!==void 0?b=r(_,p):(b=p,y=!0),l(b),c(y?b:new u(c(b)))}},69034:function(d,v,e){"use strict";var r=e(89945),i=e(57975),l=e(80449),c=e(85428),f=e(10731),o=e(53776),h=e(59893),u=h("asyncIterator");d.exports=function(a,x){var p=arguments.length<2?o(a,u):x;return p?l(r(p,a)):new i(f(c(a)))}},55174:function(d,v,e){"use strict";var r=e(92916);d.exports=function(i,l){var c=r[i],f=c&&c.prototype;return f&&f[l]}},65911:function(d,v,e){"use strict";var r=e(92916),i=e(55327),l=function(c){return i(c)?c:void 0};d.exports=function(c,f){return arguments.length<2?l(r[c]):r[c]&&r[c][f]}},10731:function(d){"use strict";d.exports=function(v){return{iterator:v,next:v.next,done:!1}}},7157:function(d,v,e){"use strict";var r=e(89945),i=e(80449),l=e(10731),c=e(26006);d.exports=function(f,o){(!o||typeof f!="string")&&i(f);var h=c(f);return l(i(h!==void 0?r(h,f):f))}},26006:function(d,v,e){"use strict";var r=e(97607),i=e(53776),l=e(4112),c=e(48074),f=e(59893),o=f("iterator");d.exports=function(h){if(!l(h))return i(h,o)||i(h,"@@iterator")||c[r(h)]}},85428:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(40593),f=e(26006),o=TypeError;d.exports=function(h,u){var a=arguments.length<2?f(h):u;if(i(a))return l(r(a,h));throw new o(c(h)+" is not iterable")}},65451:function(d,v,e){"use strict";var r=e(94237),i=e(18589),l=e(55327),c=e(29076),f=e(69905),o=r([].push);d.exports=function(h){if(l(h))return h;if(i(h)){for(var u=h.length,a=[],x=0;x<u;x++){var p=h[x];typeof p=="string"?o(a,p):(typeof p=="number"||c(p)==="Number"||c(p)==="String")&&o(a,f(p))}var y=a.length,_=!0;return function(b,A){if(_)return _=!1,A;if(i(this))return A;for(var k=0;k<y;k++)if(a[k]===b)return A}}}},53776:function(d,v,e){"use strict";var r=e(63335),i=e(4112);d.exports=function(l,c){var f=l[c];return i(f)?void 0:r(f)}},88203:function(d,v,e){"use strict";var r=e(63335),i=e(80449),l=e(89945),c=e(56902),f=e(10731),o="Invalid size",h=RangeError,u=TypeError,a=Math.max,x=function(p,y,_,b){this.set=p,this.size=y,this.has=_,this.keys=b};x.prototype={getIterator:function(){return f(i(l(this.keys,this.set)))},includes:function(p){return l(this.has,this.set,p)}},d.exports=function(p){i(p);var y=+p.size;if(y!==y)throw new u(o);var _=c(y);if(_<0)throw new h(o);return new x(p,a(_,0),r(p.has),r(p.keys))}},23011:function(d,v,e){"use strict";var r=e(94237),i=e(94029),l=Math.floor,c=r("".charAt),f=r("".replace),o=r("".slice),h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;d.exports=function(a,x,p,y,_,b){var A=p+a.length,k=y.length,L=u;return _!==void 0&&(_=i(_),L=h),f(b,L,function(T,D){var M;switch(c(D,0)){case"$":return"$";case"&":return a;case"`":return o(x,0,p);case"'":return o(x,A);case"<":M=_[o(D,1,-1)];break;default:var B=+D;if(B===0)return T;if(B>k){var N=l(B/10);return N===0?T:N<=k?y[N-1]===void 0?c(D,1):y[N-1]+c(D,1):T}M=y[B-1]}return M===void 0?"":M})}},92916:function(d,v,e){"use strict";var r=function(i){return i&&i.Math===Math&&i};d.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof e.g=="object"&&e.g)||r(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},32621:function(d,v,e){"use strict";var r=e(94237),i=e(94029),l=r({}.hasOwnProperty);d.exports=Object.hasOwn||function(f,o){return l(i(f),o)}},54406:function(d){"use strict";d.exports={}},61810:function(d){"use strict";d.exports=function(v,e){try{arguments.length===1?console.error(v):console.error(v,e)}catch(r){}}},75171:function(d,v,e){"use strict";var r=e(65911);d.exports=r("document","documentElement")},46796:function(d,v,e){"use strict";var r=e(35454),i=e(3338),l=e(86060);d.exports=!r&&!i(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!==7})},61618:function(d){"use strict";var v=Array,e=Math.abs,r=Math.pow,i=Math.floor,l=Math.log,c=Math.LN2,f=function(h,u,a){var x=v(a),p=a*8-u-1,y=(1<<p)-1,_=y>>1,b=u===23?r(2,-24)-r(2,-77):0,A=h<0||h===0&&1/h<0?1:0,k=0,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[k++]=T&255,T/=256,u-=8;for(L=L<<u|T,p+=u;p>0;)x[k++]=L&255,L/=256,p-=8;return x[--k]|=A*128,x},o=function(h,u){var a=h.length,x=a*8-u-1,p=(1<<x)-1,y=p>>1,_=x-7,b=a-1,A=h[b--],k=A&127,L;for(A>>=7;_>0;)k=k*256+h[b--],_-=8;for(L=k&(1<<-_)-1,k>>=-_,_+=u;_>0;)L=L*256+h[b--],_-=8;if(k===0)k=1-y;else{if(k===p)return L?NaN:A?-1/0:1/0;L+=r(2,u),k-=y}return(A?-1:1)*L*r(2,k-u)};d.exports={pack:f,unpack:o}},1835:function(d,v,e){"use strict";var r=e(94237),i=e(3338),l=e(29076),c=Object,f=r("".split);d.exports=i(function(){return!c("z").propertyIsEnumerable(0)})?function(o){return l(o)==="String"?f(o,""):c(o)}:c},25576:function(d,v,e){"use strict";var r=e(55327),i=e(31946),l=e(58218);d.exports=function(c,f,o){var h,u;return l&&r(h=f.constructor)&&h!==o&&i(u=h.prototype)&&u!==o.prototype&&l(c,u),c}},15212:function(d,v,e){"use strict";var r=e(94237),i=e(55327),l=e(77398),c=r(Function.toString);i(l.inspectSource)||(l.inspectSource=function(f){return c(f)}),d.exports=l.inspectSource},73068:function(d,v,e){"use strict";var r=e(31946),i=e(68151);d.exports=function(l,c){r(c)&&"cause"in c&&i(l,"cause",c.cause)}},2074:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(54406),c=e(31946),f=e(32621),o=e(37691).f,h=e(80689),u=e(53393),a=e(12477),x=e(6145),p=e(13247),y=!1,_=x("meta"),b=0,A=function(B){o(B,_,{value:{objectID:"O"+b++,weakData:{}}})},k=function(B,N){if(!c(B))return typeof B=="symbol"?B:(typeof B=="string"?"S":"P")+B;if(!f(B,_)){if(!a(B))return"F";if(!N)return"E";A(B)}return B[_].objectID},L=function(B,N){if(!f(B,_)){if(!a(B))return!0;if(!N)return!1;A(B)}return B[_].weakData},T=function(B){return p&&y&&a(B)&&!f(B,_)&&A(B),B},D=function(){M.enable=function(){},y=!0;var B=h.f,N=i([].splice),K={};K[_]=1,B(K).length&&(h.f=function(G){for(var W=B(G),ne=0,ae=W.length;ne<ae;ne++)if(W[ne]===_){N(W,ne,1);break}return W},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},M=d.exports={enable:D,fastKey:k,getWeakData:L,onFreeze:T};l[_]=!0},94844:function(d,v,e){"use strict";var r=e(40115),i=e(92916),l=e(31946),c=e(68151),f=e(32621),o=e(77398),h=e(11898),u=e(54406),a="Object already initialized",x=i.TypeError,p=i.WeakMap,y,_,b,A=function(D){return b(D)?_(D):y(D,{})},k=function(D){return function(M){var B;if(!l(M)||(B=_(M)).type!==D)throw new x("Incompatible receiver, "+D+" required");return B}};if(r||o.state){var L=o.state||(o.state=new p);L.get=L.get,L.has=L.has,L.set=L.set,y=function(D,M){if(L.has(D))throw new x(a);return M.facade=D,L.set(D,M),M},_=function(D){return L.get(D)||{}},b=function(D){return L.has(D)}}else{var T=h("state");u[T]=!0,y=function(D,M){if(f(D,T))throw new x(a);return M.facade=D,c(D,T,M),M},_=function(D){return f(D,T)?D[T]:{}},b=function(D){return f(D,T)}}d.exports={set:y,get:_,has:b,enforce:A,getterFor:k}},345:function(d,v,e){"use strict";var r=e(59893),i=e(48074),l=r("iterator"),c=Array.prototype;d.exports=function(f){return f!==void 0&&(i.Array===f||c[l]===f)}},18589:function(d,v,e){"use strict";var r=e(29076);d.exports=Array.isArray||function(l){return r(l)==="Array"}},75406:function(d,v,e){"use strict";var r=e(97607);d.exports=function(i){var l=r(i);return l==="BigInt64Array"||l==="BigUint64Array"}},55327:function(d,v,e){"use strict";var r=e(81766),i=r.all;d.exports=r.IS_HTMLDDA?function(l){return typeof l=="function"||l===i}:function(l){return typeof l=="function"}},39812:function(d,v,e){"use strict";var r=e(94237),i=e(3338),l=e(55327),c=e(97607),f=e(65911),o=e(15212),h=function(){},u=[],a=f("Reflect","construct"),x=/^\s*(?:class|function)\b/,p=r(x.exec),y=!x.test(h),_=function(k){if(!l(k))return!1;try{return a(h,u,k),!0}catch(L){return!1}},b=function(k){if(!l(k))return!1;switch(c(k)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!p(x,o(k))}catch(L){return!0}};b.sham=!0,d.exports=!a||i(function(){var A;return _(_.call)||!_(Object)||!_(function(){A=!0})||A})?b:_},60516:function(d,v,e){"use strict";var r=e(32621);d.exports=function(i){return i!==void 0&&(r(i,"value")||r(i,"writable"))}},20865:function(d,v,e){"use strict";var r=e(3338),i=e(55327),l=/#|\.prototype\./,c=function(a,x){var p=o[f(a)];return p===u?!0:p===h?!1:i(x)?r(x):!!x},f=c.normalize=function(a){return String(a).replace(l,".").toLowerCase()},o=c.data={},h=c.NATIVE="N",u=c.POLYFILL="P";d.exports=c},62896:function(d,v,e){"use strict";var r=e(31946),i=Math.floor;d.exports=Number.isInteger||function(c){return!r(c)&&isFinite(c)&&i(c)===c}},30360:function(d,v,e){"use strict";var r=e(97607),i=e(32621),l=e(4112),c=e(59893),f=e(48074),o=c("iterator"),h=Object;d.exports=function(u){if(l(u))return!1;var a=h(u);return a[o]!==void 0||"@@iterator"in a||i(f,r(a))}},4112:function(d){"use strict";d.exports=function(v){return v==null}},31946:function(d,v,e){"use strict";var r=e(55327),i=e(81766),l=i.all;d.exports=i.IS_HTMLDDA?function(c){return typeof c=="object"?c!==null:r(c)||c===l}:function(c){return typeof c=="object"?c!==null:r(c)}},16697:function(d){"use strict";d.exports=!1},83502:function(d,v,e){"use strict";var r=e(31946),i=e(94844).get;d.exports=function(c){if(!r(c))return!1;var f=i(c);return!!f&&f.type==="RawJSON"}},44639:function(d,v,e){"use strict";var r=e(31946),i=e(29076),l=e(59893),c=l("match");d.exports=function(f){var o;return r(f)&&((o=f[c])!==void 0?!!o:i(f)==="RegExp")}},18446:function(d,v,e){"use strict";var r=e(65911),i=e(55327),l=e(16332),c=e(14417),f=Object;d.exports=c?function(o){return typeof o=="symbol"}:function(o){var h=r("Symbol");return i(h)&&l(h.prototype,f(o))}},43545:function(d,v,e){"use strict";var r=e(89945);d.exports=function(i,l,c){for(var f=c?i:i.iterator,o=i.next,h,u;!(h=r(o,f)).done;)if(u=l(h.value),u!==void 0)return u}},62003:function(d,v,e){"use strict";var r=e(80666),i=e(89945),l=e(80449),c=e(40593),f=e(345),o=e(82762),h=e(16332),u=e(85428),a=e(26006),x=e(67996),p=TypeError,y=function(b,A){this.stopped=b,this.result=A},_=y.prototype;d.exports=function(b,A,k){var L=k&&k.that,T=!!(k&&k.AS_ENTRIES),D=!!(k&&k.IS_RECORD),M=!!(k&&k.IS_ITERATOR),B=!!(k&&k.INTERRUPTED),N=r(A,L),K,G,W,ne,ae,le,Q,J=function(ue){return K&&x(K,"normal",ue),new y(!0,ue)},V=function(ue){return T?(l(ue),B?N(ue[0],ue[1],J):N(ue[0],ue[1])):B?N(ue,J):N(ue)};if(D)K=b.iterator;else if(M)K=b;else{if(G=a(b),!G)throw new p(c(b)+" is not iterable");if(f(G)){for(W=0,ne=o(b);ne>W;W++)if(ae=V(b[W]),ae&&h(_,ae))return ae;return new y(!1)}K=u(b,G)}for(le=D?b.next:K.next;!(Q=i(le,K)).done;){try{ae=V(Q.value)}catch(ue){x(K,"throw",ue)}if(typeof ae=="object"&&ae&&h(_,ae))return ae}return new y(!1)}},67996:function(d,v,e){"use strict";var r=e(89945),i=e(80449),l=e(53776);d.exports=function(c,f,o){var h,u;i(c);try{if(h=l(c,"return"),!h){if(f==="throw")throw o;return o}h=r(h,c)}catch(a){u=!0,h=a}if(f==="throw")throw o;if(u)throw h;return i(h),o}},83126:function(d,v,e){"use strict";var r=e(46571).IteratorPrototype,i=e(20132),l=e(35012),c=e(94573),f=e(48074),o=function(){return this};d.exports=function(h,u,a,x){var p=u+" Iterator";return h.prototype=i(r,{next:l(+!x,a)}),c(h,p,!1,!0),f[p]=o,h}},20547:function(d,v,e){"use strict";var r=e(89945),i=e(20132),l=e(68151),c=e(66477),f=e(59893),o=e(94844),h=e(53776),u=e(46571).IteratorPrototype,a=e(25587),x=e(67996),p=f("toStringTag"),y="IteratorHelper",_="WrapForValidIterator",b=o.set,A=function(T){var D=o.getterFor(T?_:y);return c(i(u),{next:function(){var B=D(this);if(T)return B.nextHandler();try{var N=B.done?void 0:B.nextHandler();return a(N,B.done)}catch(K){throw B.done=!0,K}},return:function(){var M=D(this),B=M.iterator;if(M.done=!0,T){var N=h(B,"return");return N?r(N,B):a(void 0,!0)}if(M.inner)try{x(M.inner.iterator,"normal")}catch(K){return x(B,"throw",K)}return x(B,"normal"),a(void 0,!0)}})},k=A(!0),L=A(!1);l(L,p,"Iterator Helper"),d.exports=function(T,D){var M=function(N,K){K?(K.iterator=N.iterator,K.next=N.next):K=N,K.type=D?_:y,K.nextHandler=T,K.counter=0,K.done=!1,b(this,K)};return M.prototype=D?k:L,M}},24019:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(16697),c=e(8090),f=e(55327),o=e(83126),h=e(53456),u=e(58218),a=e(94573),x=e(68151),p=e(2291),y=e(59893),_=e(48074),b=e(46571),A=c.PROPER,k=c.CONFIGURABLE,L=b.IteratorPrototype,T=b.BUGGY_SAFARI_ITERATORS,D=y("iterator"),M="keys",B="values",N="entries",K=function(){return this};d.exports=function(G,W,ne,ae,le,Q,J){o(ne,W,ae);var V=function(Le){if(Le===le&&z)return z;if(!T&&Le&&Le in X)return X[Le];switch(Le){case M:return function(){return new ne(this,Le)};case B:return function(){return new ne(this,Le)};case N:return function(){return new ne(this,Le)}}return function(){return new ne(this)}},ue=W+" Iterator",ee=!1,X=G.prototype,ce=X[D]||X["@@iterator"]||le&&X[le],z=!T&&ce||V(le),$=W==="Array"&&X.entries||ce,se,_e,Oe;if($&&(se=h($.call(new G)),se!==Object.prototype&&se.next&&(!l&&h(se)!==L&&(u?u(se,L):f(se[D])||p(se,D,K)),a(se,ue,!0,!0),l&&(_[ue]=K))),A&&le===B&&ce&&ce.name!==B&&(!l&&k?x(X,"name",B):(ee=!0,z=function(){return i(ce,this)})),le)if(_e={values:V(B),keys:Q?z:V(M),entries:V(N)},J)for(Oe in _e)(T||ee||!(Oe in X))&&p(X,Oe,_e[Oe]);else r({target:W,proto:!0,forced:T||ee},_e);return(!l||J)&&X[D]!==z&&p(X,D,z,{name:le}),_[W]=z,_e}},24771:function(d,v,e){"use strict";var r=e(89945),i=e(2155),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},2155:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(10731),f=e(20547),o=e(46319),h=f(function(){var u=this.iterator,a=l(r(this.next,u)),x=this.done=!!a.done;if(!x)return o(u,this.mapper,[a.value,this.counter++],!0)});d.exports=function(a){return l(this),i(a),new h(c(this),{mapper:a})}},46571:function(d,v,e){"use strict";var r=e(3338),i=e(55327),l=e(31946),c=e(20132),f=e(53456),o=e(2291),h=e(59893),u=e(16697),a=h("iterator"),x=!1,p,y,_;[].keys&&(_=[].keys(),"next"in _?(y=f(f(_)),y!==Object.prototype&&(p=y)):x=!0);var b=!l(p)||r(function(){var A={};return p[a].call(A)!==A});b?p={}:u&&(p=c(p)),i(p[a])||o(p,a,function(){return this}),d.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:x}},48074:function(d){"use strict";d.exports={}},82762:function(d,v,e){"use strict";var r=e(61578);d.exports=function(i){return r(i.length)}},86528:function(d,v,e){"use strict";var r=e(94237),i=e(3338),l=e(55327),c=e(32621),f=e(35454),o=e(8090).CONFIGURABLE,h=e(15212),u=e(94844),a=u.enforce,x=u.get,p=String,y=Object.defineProperty,_=r("".slice),b=r("".replace),A=r([].join),k=f&&!i(function(){return y(function(){},"length",{value:8}).length!==8}),L=String(String).split("String"),T=d.exports=function(D,M,B){_(p(M),0,7)==="Symbol("&&(M="["+b(p(M),/^Symbol\(([^)]*)\)/,"$1")+"]"),B&&B.getter&&(M="get "+M),B&&B.setter&&(M="set "+M),(!c(D,"name")||o&&D.name!==M)&&(f?y(D,"name",{value:M,configurable:!0}):D.name=M),k&&B&&c(B,"arity")&&D.length!==B.arity&&y(D,"length",{value:B.arity});try{B&&c(B,"constructor")&&B.constructor?f&&y(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch(K){}var N=a(D);return c(N,"source")||(N.source=A(L,typeof M=="string"?M:"")),D};Function.prototype.toString=T(function(){return l(this)&&x(this).source||h(this)},"toString")},2786:function(d,v,e){"use strict";var r=e(94237),i=Map.prototype;d.exports={Map,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete),proto:i}},95037:function(d,v,e){"use strict";var r=e(94237),i=e(43545),l=e(2786),c=l.Map,f=l.proto,o=r(f.forEach),h=r(f.entries),u=h(new c).next;d.exports=function(a,x,p){return p?i({iterator:h(a),next:u},function(y){return x(y[1],y[0])}):o(a,x)}},14615:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(55327),c=e(80449),f=TypeError;d.exports=function(h,u){var a=c(this),x=i(a.get),p=i(a.has),y=i(a.set),_=arguments.length>2?arguments[2]:void 0,b;if(!l(u)&&!l(_))throw new f("At least one callback required");return r(p,a,h)?(b=r(x,a,h),l(u)&&(b=u(b),r(y,a,h,b))):l(_)&&(b=_(),r(y,a,h,b)),b}},10014:function(d){"use strict";var v=Math.expm1,e=Math.exp;d.exports=!v||v(10)>22025.465794806718||v(10)<22025.465794806718||v(-2e-17)!==-2e-17?function(i){var l=+i;return l===0?l:l>-1e-6&&l<1e-6?l+l*l/2:e(l)-1}:v},35175:function(d,v,e){"use strict";var r=e(77056),i=.0009765625,l=65504,c=6103515625e-14;d.exports=Math.f16round||function(o){return r(o,i,l,c)}},77056:function(d,v,e){"use strict";var r=e(37666),i=Math.abs,l=2220446049250313e-31,c=1/l,f=function(o){return o+c-c};d.exports=function(o,h,u,a){var x=+o,p=i(x),y=r(x);if(p<a)return y*f(p/a/h)*a*h;var _=(1+h/l)*p,b=_-(_-p);return b>u||b!==b?y*(1/0):y*b}},14894:function(d,v,e){"use strict";var r=e(77056),i=11920928955078125e-23,l=34028234663852886e22,c=11754943508222875e-54;d.exports=Math.fround||function(o){return r(o,i,l,c)}},53309:function(d){"use strict";var v=Math.log,e=Math.LOG10E;d.exports=Math.log10||function(i){return v(i)*e}},25726:function(d){"use strict";var v=Math.log;d.exports=Math.log1p||function(r){var i=+r;return i>-1e-8&&i<1e-8?i-i*i/2:v(1+i)}},24619:function(d){"use strict";d.exports=Math.scale||function(e,r,i,l,c){var f=+e,o=+r,h=+i,u=+l,a=+c;return f!==f||o!==o||h!==h||u!==u||a!==a?NaN:f===1/0||f===-1/0?f:(f-o)*(a-u)/(h-o)+u}},37666:function(d){"use strict";d.exports=Math.sign||function(e){var r=+e;return r===0||r!==r?r:r<0?-1:1}},3312:function(d){"use strict";var v=Math.ceil,e=Math.floor;d.exports=Math.trunc||function(i){var l=+i;return(l>0?e:v)(l)}},72933:function(d,v,e){"use strict";var r=e(92916),i=e(80666),l=e(71256).f,c=e(28887).set,f=e(66790),o=e(70695),h=e(1908),u=e(44914),a=e(90946),x=r.MutationObserver||r.WebKitMutationObserver,p=r.document,y=r.process,_=r.Promise,b=l(r,"queueMicrotask"),A=b&&b.value,k,L,T,D,M;if(!A){var B=new f,N=function(){var K,G;for(a&&(K=y.domain)&&K.exit();G=B.get();)try{G()}catch(W){throw B.head&&k(),W}K&&K.enter()};!o&&!a&&!u&&x&&p?(L=!0,T=p.createTextNode(""),new x(N).observe(T,{characterData:!0}),k=function(){T.data=L=!L}):!h&&_&&_.resolve?(D=_.resolve(void 0),D.constructor=_,M=i(D.then,D),k=function(){M(N)}):a?k=function(){y.nextTick(N)}:(c=i(c,r),k=function(){c(N)}),A=function(K){B.head||k(),B.add(K)}}d.exports=A},82778:function(d,v,e){"use strict";var r=e(3338);d.exports=!r(function(){var i="9007199254740993",l=JSON.rawJSON(i);return!JSON.isRawJSON(l)||JSON.stringify(l)!==i})},73446:function(d,v,e){"use strict";var r=e(63335),i=TypeError,l=function(c){var f,o;this.promise=new c(function(h,u){if(f!==void 0||o!==void 0)throw new i("Bad Promise constructor");f=h,o=u}),this.resolve=r(f),this.reject=r(o)};d.exports.f=function(c){return new l(c)}},7825:function(d,v,e){"use strict";var r=e(69905);d.exports=function(i,l){return i===void 0?arguments.length<2?"":l:r(i)}},2279:function(d){"use strict";var v=RangeError;d.exports=function(e){if(e===e)return e;throw new v("NaN is not allowed")}},41696:function(d,v,e){"use strict";var r=e(44639),i=TypeError;d.exports=function(l){if(r(l))throw new i("The method doesn't accept regular expressions");return l}},1222:function(d,v,e){"use strict";var r=e(92916),i=r.isFinite;d.exports=Number.isFinite||function(c){return typeof c=="number"&&i(c)}},31280:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(69905),f=e(52971).trim,o=e(19268),h=l("".charAt),u=r.parseFloat,a=r.Symbol,x=a&&a.iterator,p=1/u(o+"-0")!==-1/0||x&&!i(function(){u(Object(x))});d.exports=p?function(_){var b=f(c(_)),A=u(b);return A===0&&h(b,0)==="-"?-0:A}:u},52446:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(69905),f=e(52971).trim,o=e(19268),h=r.parseInt,u=r.Symbol,a=u&&u.iterator,x=/^[+-]?0x/i,p=l(x.exec),y=h(o+"08")!==8||h(o+"0x16")!==22||a&&!i(function(){h(Object(a))});d.exports=y?function(b,A){var k=f(c(b));return h(k,A>>>0||(p(x,k)?16:10))}:h},17243:function(d,v,e){"use strict";var r=e(94844),i=e(83126),l=e(25587),c=e(4112),f=e(31946),o=e(64110),h=e(35454),u="Incorrect Iterator.range arguments",a="NumericRangeIterator",x=r.set,p=r.getterFor(a),y=RangeError,_=TypeError,b=i(function(L,T,D,M,B,N){if(typeof L!=M||T!==1/0&&T!==-1/0&&typeof T!=M)throw new _(u);if(L===1/0||L===-1/0)throw new y(u);var K=T>L,G=!1,W;if(D===void 0)W=void 0;else if(f(D))W=D.step,G=!!D.inclusive;else if(typeof D==M)W=D;else throw new _(u);if(c(W)&&(W=K?N:-N),typeof W!=M)throw new _(u);if(W===1/0||W===-1/0||W===B&&L!==T)throw new y(u);var ne=L!==L||T!==T||W!==W||T>L!=W>B;x(this,{type:a,start:L,end:T,step:W,inclusive:G,hitsEnd:ne,currentCount:B,zero:B}),h||(this.start=L,this.end=T,this.step=W,this.inclusive=G)},a,function(){var L=p(this);if(L.hitsEnd)return l(void 0,!0);var T=L.start,D=L.end,M=L.step,B=T+M*L.currentCount++;B===D&&(L.hitsEnd=!0);var N=L.inclusive,K;return D>T?K=N?B>D:B>=D:K=N?D>B:D>=B,K?(L.hitsEnd=!0,l(void 0,!0)):l(B,!1)}),A=function(k){o(b.prototype,k,{get:function(){return p(this)[k]},set:function(){},configurable:!0,enumerable:!1})};h&&(A("start"),A("end"),A("inclusive"),A("step")),d.exports=b},80530:function(d,v,e){"use strict";var r=e(35454),i=e(94237),l=e(89945),c=e(3338),f=e(7733),o=e(92635),h=e(27597),u=e(94029),a=e(1835),x=Object.assign,p=Object.defineProperty,y=i([].concat);d.exports=!x||c(function(){if(r&&x({b:1},x(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var _={},b={},A=Symbol("assign detection"),k="abcdefghijklmnopqrst";return _[A]=7,k.split("").forEach(function(L){b[L]=L}),x({},_)[A]!==7||f(x({},b)).join("")!==k})?function(b,A){for(var k=u(b),L=arguments.length,T=1,D=o.f,M=h.f;L>T;)for(var B=a(arguments[T++]),N=D?y(f(B),D(B)):f(B),K=N.length,G=0,W;K>G;)W=N[G++],(!r||l(M,B,W))&&(k[W]=B[W]);return k}:x},20132:function(d,v,e){"use strict";var r=e(80449),i=e(55666),l=e(46678),c=e(54406),f=e(75171),o=e(86060),h=e(11898),u=">",a="<",x="prototype",p="script",y=h("IE_PROTO"),_=function(){},b=function(D){return a+p+u+D+a+"/"+p+u},A=function(D){D.write(b("")),D.close();var M=D.parentWindow.Object;return D=null,M},k=function(){var D=o("iframe"),M="java"+p+":",B;return D.style.display="none",f.appendChild(D),D.src=String(M),B=D.contentWindow.document,B.open(),B.write(b("document.F=Object")),B.close(),B.F},L,T=function(){try{L=new ActiveXObject("htmlfile")}catch(M){}T=typeof document!="undefined"?document.domain&&L?A(L):k():A(L);for(var D=l.length;D--;)delete T[x][l[D]];return T()};c[y]=!0,d.exports=Object.create||function(M,B){var N;return M!==null?(_[x]=r(M),N=new _,_[x]=null,N[y]=M):N=T(),B===void 0?N:i.f(N,B)}},55666:function(d,v,e){"use strict";var r=e(35454),i=e(93199),l=e(37691),c=e(80449),f=e(80524),o=e(7733);v.f=r&&!i?Object.defineProperties:function(u,a){c(u);for(var x=f(a),p=o(a),y=p.length,_=0,b;y>_;)l.f(u,b=p[_++],x[b]);return u}},37691:function(d,v,e){"use strict";var r=e(35454),i=e(46796),l=e(93199),c=e(80449),f=e(17818),o=TypeError,h=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a="enumerable",x="configurable",p="writable";v.f=r?l?function(_,b,A){if(c(_),b=f(b),c(A),typeof _=="function"&&b==="prototype"&&"value"in A&&p in A&&!A[p]){var k=u(_,b);k&&k[p]&&(_[b]=A.value,A={configurable:x in A?A[x]:k[x],enumerable:a in A?A[a]:k[a],writable:!1})}return h(_,b,A)}:h:function(_,b,A){if(c(_),b=f(b),c(A),i)try{return h(_,b,A)}catch(k){}if("get"in A||"set"in A)throw new o("Accessors not supported");return"value"in A&&(_[b]=A.value),_}},71256:function(d,v,e){"use strict";var r=e(35454),i=e(89945),l=e(27597),c=e(35012),f=e(80524),o=e(17818),h=e(32621),u=e(46796),a=Object.getOwnPropertyDescriptor;v.f=r?a:function(p,y){if(p=f(p),y=o(y),u)try{return a(p,y)}catch(_){}if(h(p,y))return c(!i(l.f,p,y),p[y])}},53393:function(d,v,e){"use strict";var r=e(29076),i=e(80524),l=e(80689).f,c=e(71698),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(h){try{return l(h)}catch(u){return c(f)}};d.exports.f=function(u){return f&&r(u)==="Window"?o(u):l(i(u))}},80689:function(d,v,e){"use strict";var r=e(97486),i=e(46678),l=i.concat("length","prototype");v.f=Object.getOwnPropertyNames||function(f){return r(f,l)}},92635:function(d,v){"use strict";v.f=Object.getOwnPropertySymbols},53456:function(d,v,e){"use strict";var r=e(32621),i=e(55327),l=e(94029),c=e(11898),f=e(4870),o=c("IE_PROTO"),h=Object,u=h.prototype;d.exports=f?h.getPrototypeOf:function(a){var x=l(a);if(r(x,o))return x[o];var p=x.constructor;return i(p)&&x instanceof p?p.prototype:x instanceof h?u:null}},12477:function(d,v,e){"use strict";var r=e(3338),i=e(31946),l=e(29076),c=e(51424),f=Object.isExtensible,o=r(function(){f(1)});d.exports=o||c?function(u){return!i(u)||c&&l(u)==="ArrayBuffer"?!1:f?f(u):!0}:f},16332:function(d,v,e){"use strict";var r=e(94237);d.exports=r({}.isPrototypeOf)},20574:function(d,v,e){"use strict";var r=e(94844),i=e(83126),l=e(25587),c=e(32621),f=e(7733),o=e(94029),h="Object Iterator",u=r.set,a=r.getterFor(h);d.exports=i(function(p,y){var _=o(p);u(this,{type:h,mode:y,object:_,keys:f(_),index:0})},"Object",function(){for(var p=a(this),y=p.keys;;){if(y===null||p.index>=y.length)return p.object=p.keys=null,l(void 0,!0);var _=y[p.index++],b=p.object;if(c(b,_)){switch(p.mode){case"keys":return l(_,!1);case"values":return l(b[_],!1)}return l([_,b[_]],!1)}}})},97486:function(d,v,e){"use strict";var r=e(94237),i=e(32621),l=e(80524),c=e(22999).indexOf,f=e(54406),o=r([].push);d.exports=function(h,u){var a=l(h),x=0,p=[],y;for(y in a)!i(f,y)&&i(a,y)&&o(p,y);for(;u.length>x;)i(a,y=u[x++])&&(~c(p,y)||o(p,y));return p}},7733:function(d,v,e){"use strict";var r=e(97486),i=e(46678);d.exports=Object.keys||function(c){return r(c,i)}},27597:function(d,v){"use strict";var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!e.call({1:2},1);v.f=i?function(c){var f=r(this,c);return!!f&&f.enumerable}:e},25837:function(d,v,e){"use strict";var r=e(16697),i=e(92916),l=e(3338),c=e(19684);d.exports=r||!l(function(){if(!(c&&c<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete i[f]}})},58218:function(d,v,e){"use strict";var r=e(37758),i=e(80449),l=e(557);d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,f={},o;try{o=r(Object.prototype,"__proto__","set"),o(f,[]),c=f instanceof Array}catch(h){}return function(u,a){return i(u),l(a),c?o(u,a):u.__proto__=a,u}}():void 0)},88698:function(d,v,e){"use strict";var r=e(35454),i=e(3338),l=e(94237),c=e(53456),f=e(7733),o=e(80524),h=e(27597).f,u=l(h),a=l([].push),x=r&&i(function(){var y=Object.create(null);return y[2]=2,!u(y,2)}),p=function(y){return function(_){for(var b=o(_),A=f(b),k=x&&c(b)===null,L=A.length,T=0,D=[],M;L>T;)M=A[T++],(!r||(k?M in b:u(b,M)))&&a(D,y?[M,b[M]]:b[M]);return D}};d.exports={entries:p(!0),values:p(!1)}},28488:function(d,v,e){"use strict";var r=e(68527),i=e(97607);d.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},44759:function(d,v,e){"use strict";var r=e(89945),i=e(55327),l=e(31946),c=TypeError;d.exports=function(f,o){var h,u;if(o==="string"&&i(h=f.toString)&&!l(u=r(h,f))||i(h=f.valueOf)&&!l(u=r(h,f))||o!=="string"&&i(h=f.toString)&&!l(u=r(h,f)))return u;throw new c("Can't convert object to primitive value")}},48662:function(d,v,e){"use strict";var r=e(65911),i=e(94237),l=e(80689),c=e(92635),f=e(80449),o=i([].concat);d.exports=r("Reflect","ownKeys")||function(u){var a=l.f(f(u)),x=c.f;return x?o(a,x(u)):a}},70913:function(d,v,e){"use strict";var r=e(94237),i=e(32621),l=SyntaxError,c=parseInt,f=String.fromCharCode,o=r("".charAt),h=r("".slice),u=r(/./.exec),a={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":`
`,"\\r":"\r","\\t":" "},x=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;d.exports=function(y,_){for(var b=!0,A="";_<y.length;){var k=o(y,_);if(k==="\\"){var L=h(y,_,_+2);if(i(a,L))A+=a[L],_+=2;else if(L==="\\u"){_+=2;var T=h(y,_,_+4);if(!u(x,T))throw new l("Bad Unicode escape at: "+_);A+=f(c(T,16)),_+=4}else throw new l('Unknown escape sequence: "'+L+'"')}else if(k==='"'){b=!1,_++;break}else{if(u(p,k))throw new l("Bad control character in string literal at: "+_);A+=k,_++}}if(b)throw new l("Unterminated string at: "+_);return{value:A,end:_}}},9699:function(d,v,e){"use strict";var r=e(92916);d.exports=r},80734:function(d){"use strict";d.exports=function(v){try{return{error:!1,value:v()}}catch(e){return{error:!0,value:e}}}},82830:function(d,v,e){"use strict";var r=e(92916),i=e(2451),l=e(55327),c=e(20865),f=e(15212),o=e(59893),h=e(66994),u=e(91821),a=e(16697),x=e(46573),p=i&&i.prototype,y=o("species"),_=!1,b=l(r.PromiseRejectionEvent),A=c("Promise",function(){var k=f(i),L=k!==String(i);if(!L&&x===66||a&&!(p.catch&&p.finally))return!0;if(!x||x<51||!/native code/.test(k)){var T=new i(function(B){B(1)}),D=function(B){B(function(){},function(){})},M=T.constructor={};if(M[y]=D,_=T.then(function(){})instanceof D,!_)return!0}return!L&&(h||u)&&!b});d.exports={CONSTRUCTOR:A,REJECTION_EVENT:b,SUBCLASSING:_}},2451:function(d,v,e){"use strict";var r=e(92916);d.exports=r.Promise},15597:function(d,v,e){"use strict";var r=e(80449),i=e(31946),l=e(73446);d.exports=function(c,f){if(r(c),i(f)&&f.constructor===c)return f;var o=l.f(c),h=o.resolve;return h(f),o.promise}},22093:function(d,v,e){"use strict";var r=e(2451),i=e(35221),l=e(82830).CONSTRUCTOR;d.exports=l||!i(function(c){r.all(c).then(void 0,function(){})})},44166:function(d,v,e){"use strict";var r=e(37691).f;d.exports=function(i,l,c){c in i||r(i,c,{configurable:!0,get:function(){return l[c]},set:function(f){l[c]=f}})}},66790:function(d){"use strict";var v=function(){this.head=null,this.tail=null};v.prototype={add:function(e){var r={item:e,next:null},i=this.tail;i?i.next=r:this.head=r,this.tail=r},get:function(){var e=this.head;if(e){var r=this.head=e.next;return r===null&&(this.tail=null),e.item}}},d.exports=v},82584:function(d,v,e){"use strict";e(34941),e(55410);var r=e(65911),i=e(94237),l=e(77898),c=r("Map"),f=r("WeakMap"),o=i([].push),h=l("metadata"),u=h.store||(h.store=new f),a=function(A,k,L){var T=u.get(A);if(!T){if(!L)return;u.set(A,T=new c)}var D=T.get(k);if(!D){if(!L)return;T.set(k,D=new c)}return D},x=function(A,k,L){var T=a(k,L,!1);return T===void 0?!1:T.has(A)},p=function(A,k,L){var T=a(k,L,!1);return T===void 0?void 0:T.get(A)},y=function(A,k,L,T){a(L,T,!0).set(A,k)},_=function(A,k){var L=a(A,k,!1),T=[];return L&&L.forEach(function(D,M){o(T,M)}),T},b=function(A){return A===void 0||typeof A=="symbol"?A:String(A)};d.exports={store:u,getMap:a,has:x,get:p,set:y,keys:_,toKey:b}},94338:function(d,v,e){"use strict";var r=e(89945),i=e(80449),l=e(55327),c=e(29076),f=e(88736),o=TypeError;d.exports=function(h,u){var a=h.exec;if(l(a)){var x=r(a,h,u);return x!==null&&i(x),x}if(c(h)==="RegExp")return r(f,h,u);throw new o("RegExp#exec called on incompatible receiver")}},88736:function(d,v,e){"use strict";var r=e(89945),i=e(94237),l=e(69905),c=e(82163),f=e(19286),o=e(77898),h=e(20132),u=e(94844).get,a=e(6041),x=e(51224),p=o("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,b=i("".charAt),A=i("".indexOf),k=i("".replace),L=i("".slice),T=function(){var N=/a/,K=/b*/g;return r(y,N,"a"),r(y,K,"a"),N.lastIndex!==0||K.lastIndex!==0}(),D=f.BROKEN_CARET,M=/()??/.exec("")[1]!==void 0,B=T||M||D||a||x;B&&(_=function(K){var G=this,W=u(G),ne=l(K),ae=W.raw,le,Q,J,V,ue,ee,X;if(ae)return ae.lastIndex=G.lastIndex,le=r(_,ae,ne),G.lastIndex=ae.lastIndex,le;var ce=W.groups,z=D&&G.sticky,$=r(c,G),se=G.source,_e=0,Oe=ne;if(z&&($=k($,"y",""),A($,"g")===-1&&($+="g"),Oe=L(ne,G.lastIndex),G.lastIndex>0&&(!G.multiline||G.multiline&&b(ne,G.lastIndex-1)!==`
`)&&(se="(?: "+se+")",Oe=" "+Oe,_e++),Q=new RegExp("^(?:"+se+")",$)),M&&(Q=new RegExp("^"+se+"$(?!\\s)",$)),T&&(J=G.lastIndex),V=r(y,z?Q:G,Oe),z?V?(V.input=L(V.input,_e),V[0]=L(V[0],_e),V.index=G.lastIndex,G.lastIndex+=V[0].length):G.lastIndex=0:T&&V&&(G.lastIndex=G.global?V.index+V[0].length:J),M&&V&&V.length>1&&r(p,V[0],Q,function(){for(ue=1;ue<arguments.length-2;ue++)arguments[ue]===void 0&&(V[ue]=void 0)}),V&&ce)for(V.groups=ee=h(null),ue=0;ue<ce.length;ue++)X=ce[ue],ee[X[0]]=V[X[1]];return V}),d.exports=_},82163:function(d,v,e){"use strict";var r=e(80449);d.exports=function(){var i=r(this),l="";return i.hasIndices&&(l+="d"),i.global&&(l+="g"),i.ignoreCase&&(l+="i"),i.multiline&&(l+="m"),i.dotAll&&(l+="s"),i.unicode&&(l+="u"),i.unicodeSets&&(l+="v"),i.sticky&&(l+="y"),l}},81644:function(d,v,e){"use strict";var r=e(89945),i=e(32621),l=e(16332),c=e(82163),f=RegExp.prototype;d.exports=function(o){var h=o.flags;return h===void 0&&!("flags"in f)&&!i(o,"flags")&&l(f,o)?r(c,o):h}},19286:function(d,v,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp,c=r(function(){var h=l("a","y");return h.lastIndex=2,h.exec("abcd")!==null}),f=c||r(function(){return!l("a","y").sticky}),o=c||r(function(){var h=l("^r","gy");return h.lastIndex=2,h.exec("str")!==null});d.exports={BROKEN_CARET:o,MISSED_STICKY:f,UNSUPPORTED_Y:c}},6041:function(d,v,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp;d.exports=r(function(){var c=l(".","s");return!(c.dotAll&&c.test(`
`)&&c.flags==="s")})},51224:function(d,v,e){"use strict";var r=e(3338),i=e(92916),l=i.RegExp;d.exports=r(function(){var c=l("(?<a>b)","g");return c.exec("b").groups.a!=="b"||"b".replace(c,"$<a>c")!=="bc"})},95955:function(d,v,e){"use strict";var r=e(4112),i=TypeError;d.exports=function(l){if(r(l))throw new i("Can't call method on "+l);return l}},88134:function(d){"use strict";d.exports=function(v,e){return v===e||v!==v&&e!==e}},5370:function(d){"use strict";d.exports=Object.is||function(e,r){return e===r?e!==0||1/e===1/r:e!==e&&r!==r}},93222:function(d,v,e){"use strict";var r=e(92916),i=e(13743),l=e(55327),c=e(90843),f=e(66011),o=e(30867),h=e(57106),u=r.Function,a=/MSIE .\./.test(f)||c&&function(){var x=r.Bun.version.split(".");return x.length<3||x[0]==="0"&&(x[1]<3||x[1]==="3"&&x[2]==="0")}();d.exports=function(x,p){var y=p?2:1;return a?function(_,b){var A=h(arguments.length,1)>y,k=l(_)?_:u(_),L=A?o(arguments,y):[],T=A?function(){i(k,this,L)}:k;return p?x(T,b):x(T)}:x}},61838:function(d,v,e){"use strict";var r=e(19691),i=e(57002),l=r.Set,c=r.add;d.exports=function(f){var o=new l;return i(f,function(h){c(o,h)}),o}},10038:function(d,v,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(108),f=e(88203),o=e(57002),h=e(43545),u=i.has,a=i.remove;d.exports=function(p){var y=r(this),_=f(p),b=l(y);return c(y)<=_.size?o(y,function(A){_.includes(A)&&a(b,A)}):h(_.getIterator(),function(A){u(y,A)&&a(b,A)}),b}},19691:function(d,v,e){"use strict";var r=e(94237),i=Set.prototype;d.exports={Set,add:r(i.add),has:r(i.has),remove:r(i.delete),proto:i}},16049:function(d,v,e){"use strict";var r=e(17442),i=e(19691),l=e(108),c=e(88203),f=e(57002),o=e(43545),h=i.Set,u=i.add,a=i.has;d.exports=function(p){var y=r(this),_=c(p),b=new h;return l(y)>_.size?o(_.getIterator(),function(A){a(y,A)&&u(b,A)}):f(y,function(A){_.includes(A)&&u(b,A)}),b}},17616:function(d,v,e){"use strict";var r=e(17442),i=e(19691).has,l=e(108),c=e(88203),f=e(57002),o=e(43545),h=e(67996);d.exports=function(a){var x=r(this),p=c(a);if(l(x)<=p.size)return f(x,function(_){if(p.includes(_))return!1},!0)!==!1;var y=p.getIterator();return o(y,function(_){if(i(x,_))return h(y,"normal",!1)})!==!1}},84833:function(d,v,e){"use strict";var r=e(17442),i=e(108),l=e(57002),c=e(88203);d.exports=function(o){var h=r(this),u=c(o);return i(h)>u.size?!1:l(h,function(a){if(!u.includes(a))return!1},!0)!==!1}},51135:function(d,v,e){"use strict";var r=e(17442),i=e(19691).has,l=e(108),c=e(88203),f=e(43545),o=e(67996);d.exports=function(u){var a=r(this),x=c(u);if(l(a)<x.size)return!1;var p=x.getIterator();return f(p,function(y){if(!i(a,y))return o(p,"normal",!1)})!==!1}},57002:function(d,v,e){"use strict";var r=e(94237),i=e(43545),l=e(19691),c=l.Set,f=l.proto,o=r(f.forEach),h=r(f.keys),u=h(new c).next;d.exports=function(a,x,p){return p?i({iterator:h(a),next:u},x):o(a,x)}},22627:function(d,v,e){"use strict";var r=e(65911),i=function(l){return{size:l,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};d.exports=function(l){var c=r("Set");try{new c()[l](i(0));try{return new c()[l](i(-1)),!1}catch(f){return!0}}catch(f){return!1}}},108:function(d,v,e){"use strict";var r=e(37758),i=e(19691);d.exports=r(i.proto,"size","get")||function(l){return l.size}},51996:function(d,v,e){"use strict";var r=e(65911),i=e(64110),l=e(59893),c=e(35454),f=l("species");d.exports=function(o){var h=r(o);c&&h&&!h[f]&&i(h,f,{configurable:!0,get:function(){return this}})}},36312:function(d,v,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(88203),f=e(43545),o=i.add,h=i.has,u=i.remove;d.exports=function(x){var p=r(this),y=c(x).getIterator(),_=l(p);return f(y,function(b){h(p,b)?u(_,b):o(_,b)}),_}},94573:function(d,v,e){"use strict";var r=e(37691).f,i=e(32621),l=e(59893),c=l("toStringTag");d.exports=function(f,o,h){f&&!h&&(f=f.prototype),f&&!i(f,c)&&r(f,c,{configurable:!0,value:o})}},24667:function(d,v,e){"use strict";var r=e(17442),i=e(19691).add,l=e(61838),c=e(88203),f=e(43545);d.exports=function(h){var u=r(this),a=c(h).getIterator(),x=l(u);return f(a,function(p){i(x,p)}),x}},11898:function(d,v,e){"use strict";var r=e(77898),i=e(6145),l=r("keys");d.exports=function(c){return l[c]||(l[c]=i(c))}},77398:function(d,v,e){"use strict";var r=e(92916),i=e(29539),l="__core-js_shared__",c=r[l]||i(l,{});d.exports=c},77898:function(d,v,e){"use strict";var r=e(16697),i=e(77398);(d.exports=function(l,c){return i[l]||(i[l]=c!==void 0?c:{})})("versions",[]).push({version:"3.34.0",mode:r?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},60473:function(d,v,e){"use strict";var r=e(80449),i=e(6086),l=e(4112),c=e(59893),f=c("species");d.exports=function(o,h){var u=r(o).constructor,a;return u===void 0||l(a=r(u)[f])?h:i(a)}},67410:function(d,v,e){"use strict";var r=e(94237),i=e(80524),l=e(69905),c=e(82762),f=TypeError,o=r([].push),h=r([].join);d.exports=function(a){var x=i(a),p=c(x);if(!p)return"";for(var y=arguments.length,_=[],b=0;;){var A=x[b++];if(A===void 0)throw new f("Incorrect template");if(o(_,l(A)),b===p)return h(_,"");b<y&&o(_,l(arguments[b]))}}},17691:function(d,v,e){"use strict";var r=e(3338);d.exports=function(i){return r(function(){var l=""[i]('"');return l!==l.toLowerCase()||l.split('"').length>3})}},13764:function(d,v,e){"use strict";var r=e(94237),i=e(56902),l=e(69905),c=e(95955),f=r("".charAt),o=r("".charCodeAt),h=r("".slice),u=function(a){return function(x,p){var y=l(c(x)),_=i(p),b=y.length,A,k;return _<0||_>=b?a?"":void 0:(A=o(y,_),A<55296||A>56319||_+1===b||(k=o(y,_+1))<56320||k>57343?a?f(y,_):A:a?h(y,_,_+2):(A-55296<<10)+(k-56320)+65536)}};d.exports={codeAt:u(!1),charAt:u(!0)}},98352:function(d,v,e){"use strict";var r=e(66011);d.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},85571:function(d,v,e){"use strict";var r=e(94237),i=e(61578),l=e(69905),c=e(71049),f=e(95955),o=r(c),h=r("".slice),u=Math.ceil,a=function(x){return function(p,y,_){var b=l(f(p)),A=i(y),k=b.length,L=_===void 0?" ":l(_),T,D;return A<=k||L===""?b:(T=A-k,D=o(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,v,e){"use strict";var r=e(65911),i=e(94237),l=String.fromCharCode,c=r("String","fromCodePoint"),f=i("".charAt),o=i("".charCodeAt),h=i("".indexOf),u=i("".slice),a=48,x=57,p=97,y=102,_=65,b=70,A=function(T,D){var M=o(T,D);return M>=a&&M<=x},k=function(T,D,M){if(M>=T.length)return-1;for(var B=0;D<M;D++){var N=L(o(T,D));if(N===-1)return-1;B=B*16+N}return B},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="",M=0,B=0,N;(B=h(T,"\\",B))>-1;){if(D+=u(T,M,B),++B===T.length)return;var K=f(T,B++);switch(K){case"b":D+="\b";break;case"t":D+=" ";break;case"n":D+=`
`;break;case"v":D+="\v";break;case"f":D+="\f";break;case"r":D+="\r";break;case"\r":B<T.length&&f(T,B)===`
`&&++B;case`
`:case"\u2028":case"\u2029":break;case"0":if(A(T,B))return;D+="\0";break;case"x":if(N=k(T,B,B+2),N===-1)return;B+=2,D+=l(N);break;case"u":if(B<T.length&&f(T,B)==="{"){var G=h(T,"}",++B);if(G===-1)return;N=k(T,B,G),B=G+1}else N=k(T,B,B+4),B+=4;if(N===-1||N>1114111)return;D+=c(N);break;default:if(A(K,0))return;D+=K}M=B}return D+u(T,M)}},93245:function(d,v,e){"use strict";var r=e(94237),i=2147483647,l=36,c=1,f=26,o=38,h=700,u=72,a=128,x="-",p=/[^\0-\u007E]/,y=/[.\u3002\uFF0E\uFF61]/g,_="Overflow: input needs wider integers to process",b=l-c,A=RangeError,k=r(y.exec),L=Math.floor,T=String.fromCharCode,D=r("".charCodeAt),M=r([].join),B=r([].push),N=r("".replace),K=r("".split),G=r("".toLowerCase),W=function(Q){for(var J=[],V=0,ue=Q.length;V<ue;){var ee=D(Q,V++);if(ee>=55296&&ee<=56319&&V<ue){var X=D(Q,V++);(X&64512)===56320?B(J,((ee&1023)<<10)+(X&1023)+65536):(B(J,ee),V--)}else B(J,ee)}return J},ne=function(Q){return Q+22+75*(Q<26)},ae=function(Q,J,V){var ue=0;for(Q=V?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+o))},le=function(Q){var J=[];Q=W(Q);var V=Q.length,ue=a,ee=0,X=u,ce,z;for(ce=0;ce<Q.length;ce++)z=Q[ce],z<128&&B(J,T(z));var $=J.length,se=$;for($&&B(J,x);se<V;){var _e=i;for(ce=0;ce<Q.length;ce++)z=Q[ce],z>=ue&&z<_e&&(_e=z);var Oe=se+1;if(_e-ue>L((i-ee)/Oe))throw new A(_);for(ee+=(_e-ue)*Oe,ue=_e,ce=0;ce<Q.length;ce++){if(z=Q[ce],z<ue&&++ee>i)throw new A(_);if(z===ue){for(var Le=ee,He=l;;){var $e=He<=X?c:He>=X+f?f:He-X;if(Le<$e)break;var Bt=Le-$e,yt=l-$e;B(J,T(ne($e+Bt%yt))),Le=L(Bt/yt),He+=l}B(J,T(ne(Le))),X=ae(ee,Oe,se===$),ee=0,se++}}ee++,ue++}return M(J,"")};d.exports=function(Q){var J=[],V=K(N(G(Q),y,"."),"."),ue,ee;for(ue=0;ue<V.length;ue++)ee=V[ue],B(J,k(p,ee)?"xn--"+le(ee):ee);return M(J,".")}},71049:function(d,v,e){"use strict";var r=e(56902),i=e(69905),l=e(95955),c=RangeError;d.exports=function(o){var h=i(l(this)),u="",a=r(o);if(a<0||a===1/0)throw new c("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(h+=h))a&1&&(u+=h);return u}},9591:function(d,v,e){"use strict";var r=e(52971).end,i=e(18105);d.exports=i("trimEnd")?function(){return r(this)}:"".trimEnd},18105:function(d,v,e){"use strict";var r=e(8090).PROPER,i=e(3338),l=e(19268),c="\u200B\x85\u180E";d.exports=function(f){return i(function(){return!!l[f]()||c[f]()!==c||r&&l[f].name!==f})}},27374:function(d,v,e){"use strict";var r=e(52971).start,i=e(18105);d.exports=i("trimStart")?function(){return r(this)}:"".trimStart},52971:function(d,v,e){"use strict";var r=e(94237),i=e(95955),l=e(69905),c=e(19268),f=r("".replace),o=RegExp("^["+c+"]+"),h=RegExp("(^|[^"+c+"])["+c+"]+$"),u=function(a){return function(x){var p=l(i(x));return a&1&&(p=f(p,o,"")),a&2&&(p=f(p,h,"$1")),p}};d.exports={start:u(1),end:u(2),trim:u(3)}},80426:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(46573),c=e(66994),f=e(91821),o=e(90946),h=r.structuredClone;d.exports=!!h&&!i(function(){if(f&&l>92||o&&l>94||c&&l>97)return!1;var u=new ArrayBuffer(8),a=h(u,{transfer:[u]});return u.byteLength!==0||a.byteLength!==8})},42820:function(d,v,e){"use strict";var r=e(46573),i=e(3338),l=e(92916),c=l.String;d.exports=!!Object.getOwnPropertySymbols&&!i(function(){var f=Symbol("symbol detection");return!c(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&r&&r<41})},14311:function(d,v,e){"use strict";var r=e(89945),i=e(65911),l=e(59893),c=e(2291);d.exports=function(){var f=i("Symbol"),o=f&&f.prototype,h=o&&o.valueOf,u=l("toPrimitive");o&&!o[u]&&c(o,u,function(a){return r(h,this)},{arity:1})}},69077:function(d,v,e){"use strict";var r=e(65911),i=e(94237),l=r("Symbol"),c=l.keyFor,f=i(l.prototype.valueOf);d.exports=l.isRegisteredSymbol||function(h){try{return c(f(h))!==void 0}catch(u){return!1}}},40443:function(d,v,e){"use strict";for(var r=e(77898),i=e(65911),l=e(94237),c=e(18446),f=e(59893),o=i("Symbol"),h=o.isWellKnownSymbol,u=i("Object","getOwnPropertyNames"),a=l(o.prototype.valueOf),x=r("wks"),p=0,y=u(o),_=y.length;p<_;p++)try{var b=y[p];c(o[b])&&f(b)}catch(A){}d.exports=function(k){if(h&&h(k))return!0;try{for(var L=a(k),T=0,D=u(x),M=D.length;T<M;T++)if(x[D[T]]==L)return!0}catch(B){}return!1}},60798:function(d,v,e){"use strict";var r=e(42820);d.exports=r&&!!Symbol.for&&!!Symbol.keyFor},28887:function(d,v,e){"use strict";var r=e(92916),i=e(13743),l=e(80666),c=e(55327),f=e(32621),o=e(3338),h=e(75171),u=e(30867),a=e(86060),x=e(57106),p=e(70695),y=e(90946),_=r.setImmediate,b=r.clearImmediate,A=r.process,k=r.Dispatch,L=r.Function,T=r.MessageChannel,D=r.String,M=0,B={},N="onreadystatechange",K,G,W,ne;o(function(){K=r.location});var ae=function(V){if(f(B,V)){var ue=B[V];delete B[V],ue()}},le=function(V){return function(){ae(V)}},Q=function(V){ae(V.data)},J=function(V){r.postMessage(D(V),K.protocol+"//"+K.host)};(!_||!b)&&(_=function(ue){x(arguments.length,1);var ee=c(ue)?ue:L(ue),X=u(arguments,1);return B[++M]=function(){i(ee,void 0,X)},G(M),M},b=function(ue){delete B[ue]},y?G=function(V){A.nextTick(le(V))}:k&&k.now?G=function(V){k.now(le(V))}:T&&!p?(W=new T,ne=W.port2,W.port1.onmessage=Q,G=l(ne.postMessage,ne)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&K&&K.protocol!=="file:"&&!o(J)?(G=J,r.addEventListener("message",Q,!1)):N in a("script")?G=function(V){h.appendChild(a("script"))[N]=function(){h.removeChild(this),ae(V)}}:G=function(V){setTimeout(le(V),0)}),d.exports={set:_,clear:b}},49228:function(d,v,e){"use strict";var r=e(94237);d.exports=r(1 .valueOf)},51981:function(d,v,e){"use strict";var r=e(56902),i=Math.max,l=Math.min;d.exports=function(c,f){var o=r(c);return o<0?i(o+f,0):l(o,f)}},93303:function(d,v,e){"use strict";var r=e(97954),i=TypeError;d.exports=function(l){var c=r(l,"number");if(typeof c=="number")throw new i("Can't convert number to bigint");return BigInt(c)}},24225:function(d,v,e){"use strict";var r=e(56902),i=e(61578),l=RangeError;d.exports=function(c){if(c===void 0)return 0;var f=r(c),o=i(f);if(f!==o)throw new l("Wrong length or index");return o}},80524:function(d,v,e){"use strict";var r=e(1835),i=e(95955);d.exports=function(l){return r(i(l))}},56902:function(d,v,e){"use strict";var r=e(3312);d.exports=function(i){var l=+i;return l!==l||l===0?0:r(l)}},61578:function(d,v,e){"use strict";var r=e(56902),i=Math.min;d.exports=function(l){return l>0?i(r(l),9007199254740991):0}},94029:function(d,v,e){"use strict";var r=e(95955),i=Object;d.exports=function(l){return i(r(l))}},64135:function(d,v,e){"use strict";var r=e(51358),i=RangeError;d.exports=function(l,c){var f=r(l);if(f%c)throw new i("Wrong offset");return f}},51358:function(d,v,e){"use strict";var r=e(56902),i=RangeError;d.exports=function(l){var c=r(l);if(c<0)throw new i("The argument can't be less than 0");return c}},97954:function(d,v,e){"use strict";var r=e(89945),i=e(31946),l=e(18446),c=e(53776),f=e(44759),o=e(59893),h=TypeError,u=o("toPrimitive");d.exports=function(a,x){if(!i(a)||l(a))return a;var p=c(a,u),y;if(p){if(x===void 0&&(x="default"),y=r(p,a,x),!i(y)||l(y))return y;throw new h("Can't convert object to primitive value")}return x===void 0&&(x="number"),f(a,x)}},17818:function(d,v,e){"use strict";var r=e(97954),i=e(18446);d.exports=function(l){var c=r(l,"string");return i(c)?c:c+""}},77999:function(d,v,e){"use strict";var r=e(65911),i=e(55327),l=e(30360),c=e(31946),f=r("Set"),o=function(h){return c(h)&&typeof h.size=="number"&&i(h.has)&&i(h.keys)};d.exports=function(h){return o(h)?h:l(h)?new f(h):h}},68527:function(d,v,e){"use strict";var r=e(59893),i=r("toStringTag"),l={};l[i]="z",d.exports=String(l)==="[object z]"},69905:function(d,v,e){"use strict";var r=e(97607),i=String;d.exports=function(l){if(r(l)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return i(l)}},86350:function(d){"use strict";var v=Math.round;d.exports=function(e){var r=v(e);return r<0?0:r>255?255:r&255}},11270:function(d,v,e){"use strict";var r=e(90946);d.exports=function(i){try{if(r)return Function('return require("'+i+'")')()}catch(l){}}},40593:function(d){"use strict";var v=String;d.exports=function(e){try{return v(e)}catch(r){return"Object"}}},69733:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(89945),c=e(35454),f=e(59627),o=e(58261),h=e(91669),u=e(56472),a=e(35012),x=e(68151),p=e(62896),y=e(61578),_=e(24225),b=e(64135),A=e(86350),k=e(17818),L=e(32621),T=e(97607),D=e(31946),M=e(18446),B=e(20132),N=e(16332),K=e(58218),G=e(80689).f,W=e(50706),ne=e(90560).forEach,ae=e(51996),le=e(64110),Q=e(37691),J=e(71256),V=e(94844),ue=e(25576),ee=V.get,X=V.set,ce=V.enforce,z=Q.f,$=J.f,se=i.RangeError,_e=h.ArrayBuffer,Oe=_e.prototype,Le=h.DataView,He=o.NATIVE_ARRAY_BUFFER_VIEWS,$e=o.TYPED_ARRAY_TAG,Bt=o.TypedArray,yt=o.TypedArrayPrototype,It=o.aTypedArrayConstructor,rr=o.isTypedArray,Yt="BYTES_PER_ELEMENT",lr="Wrong length",Ve=function(rt,Ue){It(rt);for(var ye=0,Ce=Ue.length,Fe=new rt(Ce);Ce>ye;)Fe[ye]=Ue[ye++];return Fe},Ct=function(rt,Ue){le(rt,Ue,{configurable:!0,get:function(){return ee(this)[Ue]}})},Ut=function(rt){var Ue;return N(Oe,rt)||(Ue=T(rt))==="ArrayBuffer"||Ue==="SharedArrayBuffer"},st=function(rt,Ue){return rr(rt)&&!M(Ue)&&Ue in rt&&p(+Ue)&&Ue>=0},xt=function(Ue,ye){return ye=k(ye),st(Ue,ye)?a(2,Ue[ye]):$(Ue,ye)},ht=function(Ue,ye,Ce){return ye=k(ye),st(Ue,ye)&&D(Ce)&&L(Ce,"value")&&!L(Ce,"get")&&!L(Ce,"set")&&!Ce.configurable&&(!L(Ce,"writable")||Ce.writable)&&(!L(Ce,"enumerable")||Ce.enumerable)?(Ue[ye]=Ce.value,Ue):z(Ue,ye,Ce)};c?(He||(J.f=xt,Q.f=ht,Ct(yt,"buffer"),Ct(yt,"byteOffset"),Ct(yt,"byteLength"),Ct(yt,"length")),r({target:"Object",stat:!0,forced:!He},{getOwnPropertyDescriptor:xt,defineProperty:ht}),d.exports=function(rt,Ue,ye){var Ce=rt.match(/\d+/)[0]/8,Fe=rt+(ye?"Clamped":"")+"Array",je="get"+rt,Ge="set"+rt,it=i[Fe],ct=it,Gt=ct&&ct.prototype,Ht={},Pe=function(Zt,Nt){var At=ee(Zt);return At.view[je](Nt*Ce+At.byteOffset,!0)},tt=function(Zt,Nt,At){var qt=ee(Zt);qt.view[Ge](Nt*Ce+qt.byteOffset,ye?A(At):At,!0)},Vt=function(Zt,Nt){z(Zt,Nt,{get:function(){return Pe(this,Nt)},set:function(At){return tt(this,Nt,At)},enumerable:!0})};He?f&&(ct=Ue(function(Zt,Nt,At,qt){return u(Zt,Gt),ue(function(){return D(Nt)?Ut(Nt)?qt!==void 0?new it(Nt,b(At,Ce),qt):At!==void 0?new it(Nt,b(At,Ce)):new it(Nt):rr(Nt)?Ve(ct,Nt):l(W,ct,Nt):new it(_(Nt))}(),Zt,ct)}),K&&K(ct,Bt),ne(G(it),function(Zt){Zt in ct||x(ct,Zt,it[Zt])}),ct.prototype=Gt):(ct=Ue(function(Zt,Nt,At,qt){u(Zt,Gt);var Ke=0,fe=0,pe,Dt,De;if(!D(Nt))De=_(Nt),Dt=De*Ce,pe=new _e(Dt);else if(Ut(Nt)){pe=Nt,fe=b(At,Ce);var ft=Nt.byteLength;if(qt===void 0){if(ft%Ce)throw new se(lr);if(Dt=ft-fe,Dt<0)throw new se(lr)}else if(Dt=y(qt)*Ce,Dt+fe>ft)throw new se(lr);De=Dt/Ce}else return rr(Nt)?Ve(ct,Nt):l(W,ct,Nt);for(X(Zt,{buffer:pe,byteOffset:fe,byteLength:Dt,length:De,view:new Le(pe)});Ke<De;)Vt(Zt,Ke++)}),K&&K(ct,Bt),Gt=ct.prototype=B(yt)),Gt.constructor!==ct&&x(Gt,"constructor",ct),ce(Gt).TypedArrayConstructor=ct,$e&&x(Gt,$e,Fe);var kt=ct!==it;Ht[Fe]=ct,r({global:!0,constructor:!0,forced:kt,sham:!He},Ht),Yt in ct||x(ct,Yt,Ce),Yt in Gt||x(Gt,Yt,Ce),ae(Fe)}):d.exports=function(){}},59627:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(35221),c=e(58261).NATIVE_ARRAY_BUFFER_VIEWS,f=r.ArrayBuffer,o=r.Int8Array;d.exports=!c||!i(function(){o(1)})||!i(function(){new o(-1)})||!l(function(h){new o,new o(null),new o(1.5),new o(h)},!0)||i(function(){return new o(new f(2),1,void 0).length!==1})},27607:function(d,v,e){"use strict";var r=e(69478),i=e(31384);d.exports=function(l,c){return r(i(l),c)}},50706:function(d,v,e){"use strict";var r=e(80666),i=e(89945),l=e(6086),c=e(94029),f=e(82762),o=e(85428),h=e(26006),u=e(345),a=e(75406),x=e(58261).aTypedArrayConstructor,p=e(93303);d.exports=function(_){var b=l(this),A=c(_),k=arguments.length,L=k>1?arguments[1]:void 0,T=L!==void 0,D=h(A),M,B,N,K,G,W,ne,ae;if(D&&!u(D))for(ne=o(A,D),ae=ne.next,A=[];!(W=i(ae,ne)).done;)A.push(W.value);for(T&&k>2&&(L=r(L,arguments[2])),B=f(A),N=new(x(b))(B),K=a(N),M=0;B>M;M++)G=T?L(A[M],M):A[M],N[M]=K?p(G):+G;return N}},31384:function(d,v,e){"use strict";var r=e(58261),i=e(60473),l=r.aTypedArrayConstructor,c=r.getTypedArrayConstructor;d.exports=function(f){return l(i(f,c(f)))}},6145:function(d,v,e){"use strict";var r=e(94237),i=0,l=Math.random(),c=r(1 .toString);d.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+c(++i+l,36)}},3299:function(d,v,e){"use strict";var r=e(3338),i=e(59893),l=e(35454),c=e(16697),f=i("iterator");d.exports=!r(function(){var o=new URL("b?a=1&b=2&c=3","http://a"),h=o.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),a="";return o.pathname="c%20d",h.forEach(function(x,p){h.delete("b"),a+=p+x}),u.delete("a",2),u.delete("b",void 0),c&&(!o.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!h.size&&(c||!l)||!h.sort||o.href!=="http://a/c%20d?a=1&c=3"||h.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!h[f]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||a!=="a1c3"||new URL("http://x",void 0).host!=="x"})},14417:function(d,v,e){"use strict";var r=e(42820);d.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},93199:function(d,v,e){"use strict";var r=e(35454),i=e(3338);d.exports=r&&i(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},57106:function(d){"use strict";var v=TypeError;d.exports=function(e,r){if(e<r)throw new v("Not enough arguments");return e}},40115:function(d,v,e){"use strict";var r=e(92916),i=e(55327),l=r.WeakMap;d.exports=i(l)&&/native code/.test(String(l))},42530:function(d,v,e){"use strict";var r=e(94237),i=WeakMap.prototype;d.exports={WeakMap,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete)}},91385:function(d,v,e){"use strict";var r=e(94237),i=WeakSet.prototype;d.exports={WeakSet,add:r(i.add),has:r(i.has),remove:r(i.delete)}},94674:function(d,v,e){"use strict";var r=e(9699),i=e(32621),l=e(38282),c=e(37691).f;d.exports=function(f){var o=r.Symbol||(r.Symbol={});i(o,f)||c(o,f,{value:l.f(f)})}},38282:function(d,v,e){"use strict";var r=e(59893);v.f=r},59893:function(d,v,e){"use strict";var r=e(92916),i=e(77898),l=e(32621),c=e(6145),f=e(42820),o=e(14417),h=r.Symbol,u=i("wks"),a=o?h.for||h:h&&h.withoutSetter||c;d.exports=function(x){return l(u,x)||(u[x]=f&&l(h,x)?h[x]:a("Symbol."+x)),u[x]}},19268:function(d){"use strict";d.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},78540:function(d,v,e){"use strict";var r=e(65911),i=e(32621),l=e(68151),c=e(16332),f=e(58218),o=e(24538),h=e(44166),u=e(25576),a=e(7825),x=e(73068),p=e(61888),y=e(35454),_=e(16697);d.exports=function(b,A,k,L){var T="stackTraceLimit",D=L?2:1,M=b.split("."),B=M[M.length-1],N=r.apply(null,M);if(N){var K=N.prototype;if(!_&&i(K,"cause")&&delete K.cause,!k)return N;var G=r("Error"),W=A(function(ne,ae){var le=a(L?ae:ne,void 0),Q=L?new N(ne):new N;return le!==void 0&&l(Q,"message",le),p(Q,W,Q.stack,2),this&&c(K,this)&&u(Q,this,W),arguments.length>D&&x(Q,arguments[D]),Q});if(W.prototype=K,B!=="Error"?f?f(W,G):o(W,G,{name:!0}):y&&T in N&&(h(W,N,T),h(W,N,"prepareStackTrace")),o(W,N),!_)try{K.name!==B&&l(K,"name",B),K.constructor=W}catch(ne){}return W}}},93074:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(3338),f=e(78540),o="AggregateError",h=i(o),u=!c(function(){return h([1]).errors[0]!==1})&&c(function(){return h([1],o,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:f(o,function(a){return function(p,y){return l(a,this,arguments)}},u,!0)})},6555:function(d,v,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),o=e(20132),h=e(68151),u=e(35012),a=e(73068),x=e(61888),p=e(62003),y=e(7825),_=e(59893),b=_("toStringTag"),A=Error,k=[].push,L=function(M,B){var N=i(T,this),K;c?K=c(new A,N?l(this):T):(K=N?this:o(T),h(K,b,"Error")),B!==void 0&&h(K,"message",y(B)),x(K,L,K.stack,1),arguments.length>2&&a(K,arguments[2]);var G=[];return p(M,k,{that:G}),h(K,"errors",G),K};c?c(L,A):f(L,A,{name:!0});var T=L.prototype=o(A.prototype,{constructor:u(1,L),message:u(1,""),name:u(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:L})},86357:function(d,v,e){"use strict";e(6555)},89170:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(91669),c=e(51996),f="ArrayBuffer",o=l[f],h=i[f];r({global:!0,constructor:!0,forced:h!==o},{ArrayBuffer:o}),c(f)},71012:function(d,v,e){"use strict";var r=e(94488),i=e(58261),l=i.NATIVE_ARRAY_BUFFER_VIEWS;r({target:"ArrayBuffer",stat:!0,forced:!l},{isView:i.isView})},84203:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(3338),c=e(91669),f=e(80449),o=e(51981),h=e(61578),u=e(60473),a=c.ArrayBuffer,x=c.DataView,p=x.prototype,y=i(a.prototype.slice),_=i(p.getUint8),b=i(p.setUint8),A=l(function(){return!new a(2).slice(1,void 0).byteLength});r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:A},{slice:function(L,T){if(y&&T===void 0)return y(f(this),L);for(var D=f(this).byteLength,M=o(L,D),B=o(T===void 0?D:T,D),N=new(u(this,a))(h(B-M)),K=new x(this),G=new x(N),W=0;M<B;)b(G,W++,_(K,M++));return N}})},96331:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(56902),f=e(81181);r({target:"Array",proto:!0},{at:function(h){var u=i(this),a=l(u),x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]}}),f("at")},2924:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(18589),c=e(31946),f=e(94029),o=e(82762),h=e(66434),u=e(69392),a=e(81427),x=e(17480),p=e(59893),y=e(46573),_=p("isConcatSpreadable"),b=y>=51||!i(function(){var L=[];return L[_]=!1,L.concat()[0]!==L}),A=function(L){if(!c(L))return!1;var T=L[_];return T!==void 0?!!T:l(L)},k=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:k},{concat:function(T){var D=f(this),M=a(D,0),B=0,N,K,G,W,ne;for(N=-1,G=arguments.length;N<G;N++)if(ne=N===-1?D:arguments[N],A(ne))for(W=o(ne),h(B+W),K=0;K<W;K++,B++)K in ne&&u(M,B,ne[K]);else h(B+1),u(M,B++,ne);return M.length=B,M}})},26425:function(d,v,e){"use strict";var r=e(94488),i=e(92670),l=e(81181);r({target:"Array",proto:!0},{copyWithin:i}),l("copyWithin")},32125:function(d,v,e){"use strict";var r=e(94488),i=e(90560).every,l=e(45601),c=l("every");r({target:"Array",proto:!0,forced:!c},{every:function(o){return i(this,o,arguments.length>1?arguments[1]:void 0)}})},16137:function(d,v,e){"use strict";var r=e(94488),i=e(75202),l=e(81181);r({target:"Array",proto:!0},{fill:i}),l("fill")},48435:function(d,v,e){"use strict";var r=e(94488),i=e(90560).filter,l=e(17480),c=l("filter");r({target:"Array",proto:!0,forced:!c},{filter:function(o){return i(this,o,arguments.length>1?arguments[1]:void 0)}})},70365:function(d,v,e){"use strict";var r=e(94488),i=e(90560).findIndex,l=e(81181),c="findIndex",f=!0;c in[]&&Array(1)[c](function(){f=!1}),r({target:"Array",proto:!0,forced:f},{findIndex:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),l(c)},17482:function(d,v,e){"use strict";var r=e(94488),i=e(53279).findLastIndex,l=e(81181);r({target:"Array",proto:!0},{findLastIndex:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("findLastIndex")},33717:function(d,v,e){"use strict";var r=e(94488),i=e(53279).findLast,l=e(81181);r({target:"Array",proto:!0},{findLast:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("findLast")},11553:function(d,v,e){"use strict";var r=e(94488),i=e(90560).find,l=e(81181),c="find",f=!0;c in[]&&Array(1)[c](function(){f=!1}),r({target:"Array",proto:!0,forced:f},{find:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),l(c)},65033:function(d,v,e){"use strict";var r=e(94488),i=e(3372),l=e(63335),c=e(94029),f=e(82762),o=e(81427);r({target:"Array",proto:!0},{flatMap:function(u){var a=c(this),x=f(a),p;return l(u),p=o(a,0),p.length=i(p,a,a,x,0,1,u,arguments.length>1?arguments[1]:void 0),p}})},23708:function(d,v,e){"use strict";var r=e(94488),i=e(3372),l=e(94029),c=e(82762),f=e(56902),o=e(81427);r({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,a=l(this),x=c(a),p=o(a,0);return p.length=i(p,a,a,x,0,u===void 0?1:f(u)),p}})},52732:function(d,v,e){"use strict";var r=e(94488),i=e(59594);r({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},99382:function(d,v,e){"use strict";var r=e(94488),i=e(60255),l=e(35221),c=!l(function(f){Array.from(f)});r({target:"Array",stat:!0,forced:c},{from:i})},88437:function(d,v,e){"use strict";var r=e(94488),i=e(22999).includes,l=e(3338),c=e(81181),f=l(function(){return!Array(1).includes()});r({target:"Array",proto:!0,forced:f},{includes:function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},68440:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(22999).indexOf,c=e(45601),f=i([].indexOf),o=!!f&&1/f([1],1,-0)<0,h=o||!c("indexOf");r({target:"Array",proto:!0,forced:h},{indexOf:function(a){var x=arguments.length>1?arguments[1]:void 0;return o?f(this,a,x)||0:l(this,a,x)}})},13412:function(d,v,e){"use strict";var r=e(94488),i=e(18589);r({target:"Array",stat:!0},{isArray:i})},11005:function(d,v,e){"use strict";var r=e(80524),i=e(81181),l=e(48074),c=e(94844),f=e(37691).f,o=e(24019),h=e(25587),u=e(16697),a=e(35454),x="Array Iterator",p=c.set,y=c.getterFor(x);d.exports=o(Array,"Array",function(b,A){p(this,{type:x,target:r(b),index:0,kind:A})},function(){var b=y(this),A=b.target,k=b.index++;if(!A||k>=A.length)return b.target=void 0,h(void 0,!0);switch(b.kind){case"keys":return h(k,!1);case"values":return h(A[k],!1)}return h([k,A[k]],!1)},"values");var _=l.Arguments=l.Array;if(i("keys"),i("values"),i("entries"),!u&&a&&_.name!=="values")try{f(_,"name",{value:"values"})}catch(b){}},70348:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(1835),c=e(80524),f=e(45601),o=i([].join),h=l!==Object,u=h||!f("join",",");r({target:"Array",proto:!0,forced:u},{join:function(x){return o(c(this),x===void 0?",":x)}})},19801:function(d,v,e){"use strict";var r=e(94488),i=e(55009);r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},91550:function(d,v,e){"use strict";var r=e(94488),i=e(90560).map,l=e(17480),c=l("map");r({target:"Array",proto:!0,forced:!c},{map:function(o){return i(this,o,arguments.length>1?arguments[1]:void 0)}})},85223:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(39812),c=e(69392),f=Array,o=i(function(){function h(){}return!(f.of.call(h)instanceof h)});r({target:"Array",stat:!0,forced:o},{of:function(){for(var u=0,a=arguments.length,x=new(l(this)?this:f)(a);a>u;)c(x,u,arguments[u++]);return x.length=a,x}})},7154:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(66434),o=e(3338),h=o(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(x){return x instanceof TypeError}},a=h||!u();r({target:"Array",proto:!0,arity:1,forced:a},{push:function(p){var y=i(this),_=l(y),b=arguments.length;f(_+b);for(var A=0;A<b;A++)y[_]=arguments[A],_++;return c(y,_),_}})},96009:function(d,v,e){"use strict";var r=e(94488),i=e(16370).right,l=e(45601),c=e(46573),f=e(90946),o=!f&&c>79&&c<83,h=o||!l("reduceRight");r({target:"Array",proto:!0,forced:h},{reduceRight:function(a){return i(this,a,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(d,v,e){"use strict";var r=e(94488),i=e(16370).left,l=e(45601),c=e(46573),f=e(90946),o=!f&&c>79&&c<83,h=o||!l("reduce");r({target:"Array",proto:!0,forced:h},{reduce:function(a){var x=arguments.length;return i(this,a,x,x>1?arguments[1]:void 0)}})},9402:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(18589),c=i([].reverse),f=[1,2];r({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){return l(this)&&(this.length=this.length),c(this)}})},62489:function(d,v,e){"use strict";var r=e(94488),i=e(18589),l=e(39812),c=e(31946),f=e(51981),o=e(82762),h=e(80524),u=e(69392),a=e(59893),x=e(17480),p=e(30867),y=x("slice"),_=a("species"),b=Array,A=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(L,T){var D=h(this),M=o(D),B=f(L,M),N=f(T===void 0?M:T,M),K,G,W;if(i(D)&&(K=D.constructor,l(K)&&(K===b||i(K.prototype))?K=void 0:c(K)&&(K=K[_],K===null&&(K=void 0)),K===b||K===void 0))return p(D,B,N);for(G=new(K===void 0?b:K)(A(N-B,0)),W=0;B<N;B++,W++)B in D&&u(G,W,D[B]);return G.length=W,G}})},80881:function(d,v,e){"use strict";var r=e(94488),i=e(90560).some,l=e(45601),c=l("some");r({target:"Array",proto:!0,forced:!c},{some:function(o){return i(this,o,arguments.length>1?arguments[1]:void 0)}})},62837:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(94029),f=e(82762),o=e(84233),h=e(69905),u=e(3338),a=e(63668),x=e(45601),p=e(78177),y=e(17687),_=e(46573),b=e(19684),A=[],k=i(A.sort),L=i(A.push),T=u(function(){A.sort(void 0)}),D=u(function(){A.sort(null)}),M=x("sort"),B=!u(function(){if(_)return _<70;if(!(p&&p>3)){if(y)return!0;if(b)return b<603;var G="",W,ne,ae,le;for(W=65;W<76;W++){switch(ne=String.fromCharCode(W),W){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++)A.push({k:ne+le,v:ae})}for(A.sort(function(Q,J){return J.v-Q.v}),le=0;le<A.length;le++)ne=A[le].k.charAt(0),G.charAt(G.length-1)!==ne&&(G+=ne);return G!=="DGBEFHACIJK"}}),N=T||!D||!M||!B,K=function(G){return function(W,ne){return ne===void 0?-1:W===void 0?1:G!==void 0?+G(W,ne)||0:h(W)>h(ne)?1:-1}};r({target:"Array",proto:!0,forced:N},{sort:function(W){W!==void 0&&l(W);var ne=c(this);if(B)return W===void 0?k(ne):k(ne,W);var ae=[],le=f(ne),Q,J;for(J=0;J<le;J++)J in ne&&L(ae,ne[J]);for(a(ae,K(W)),Q=f(ae),J=0;J<Q;)ne[J]=ae[J++];for(;J<le;)o(ne,J++);return ne}})},4705:function(d,v,e){"use strict";var r=e(51996);r("Array")},13941:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(51981),c=e(56902),f=e(82762),o=e(39428),h=e(66434),u=e(81427),a=e(69392),x=e(84233),p=e(17480),y=p("splice"),_=Math.max,b=Math.min;r({target:"Array",proto:!0,forced:!y},{splice:function(k,L){var T=i(this),D=f(T),M=l(k,D),B=arguments.length,N,K,G,W,ne,ae;for(B===0?N=K=0:B===1?(N=0,K=D-M):(N=B-2,K=b(_(c(L),0),D-M)),h(D+N-K),G=u(T,K),W=0;W<K;W++)ne=M+W,ne in T&&a(G,W,T[ne]);if(G.length=K,N<K){for(W=M;W<D-K;W++)ne=W+K,ae=W+N,ne in T?T[ae]=T[ne]:x(T,ae);for(W=D;W>D-K+N;W--)x(T,W-1)}else if(N>K)for(W=D-K;W>M;W--)ne=W+K-1,ae=W+N-1,ne in T?T[ae]=T[ne]:x(T,ae);for(W=0;W<N;W++)T[W+M]=arguments[W+2];return o(T,D-K+N),G}})},1148:function(d,v,e){"use strict";var r=e(94488),i=e(85903),l=e(80524),c=e(81181),f=Array;r({target:"Array",proto:!0},{toReversed:function(){return i(l(this),f)}}),c("toReversed")},82445:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(80524),f=e(69478),o=e(55174),h=e(81181),u=Array,a=i(o("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(p){p!==void 0&&l(p);var y=c(this),_=f(u,y);return a(_,p)}}),h("toSorted")},27267:function(d,v,e){"use strict";var r=e(94488),i=e(81181),l=e(66434),c=e(82762),f=e(51981),o=e(80524),h=e(56902),u=Array,a=Math.max,x=Math.min;r({target:"Array",proto:!0},{toSpliced:function(y,_){var b=o(this),A=c(b),k=f(y,A),L=arguments.length,T=0,D,M,B,N;for(L===0?D=M=0:L===1?(D=0,M=A-k):(D=L-2,M=x(a(h(_),0),A-k)),B=l(A+D-M),N=u(B);T<k;T++)N[T]=b[T];for(;T<k+D;T++)N[T]=arguments[T-k+2];for(;T<B;T++)N[T]=b[T+M-D];return N}}),i("toSpliced")},90308:function(d,v,e){"use strict";var r=e(81181);r("flatMap")},96353:function(d,v,e){"use strict";var r=e(81181);r("flat")},84818:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(84233),o=e(66434),h=[].unshift(0)!==1,u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(x){return x instanceof TypeError}},a=h||!u();r({target:"Array",proto:!0,arity:1,forced:a},{unshift:function(p){var y=i(this),_=l(y),b=arguments.length;if(b){o(_+b);for(var A=_;A--;){var k=A+b;A in y?y[k]=y[A]:f(y,k)}for(var L=0;L<b;L++)y[L]=arguments[L]}return c(y,_+b)}})},80585:function(d,v,e){"use strict";var r=e(94488),i=e(82041),l=e(80524),c=Array;r({target:"Array",proto:!0},{with:function(f,o){return i(l(this),c,f,o)}})},40194:function(d,v,e){"use strict";var r=e(94488),i=e(91669),l=e(3737);r({global:!0,constructor:!0,forced:!l},{DataView:i.DataView})},22112:function(d,v,e){"use strict";e(40194)},81440:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=l(function(){return new Date(16e11).getYear()!==120}),f=i(Date.prototype.getFullYear);r({target:"Date",proto:!0,forced:c},{getYear:function(){return f(this)-1900}})},25430:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=Date,c=i(l.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return c(new l)}})},70105:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=Date.prototype,f=i(c.getTime),o=i(c.setFullYear);r({target:"Date",proto:!0},{setYear:function(u){f(this);var a=l(u),x=a>=0&&a<=99?a+1900:a;return o(this,x)}})},71390:function(d,v,e){"use strict";var r=e(94488);r({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(d,v,e){"use strict";var r=e(94488),i=e(32494);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},83578:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(94029),c=e(97954),f=i(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});r({target:"Date",proto:!0,arity:1,forced:f},{toJSON:function(h){var u=l(this),a=c(u,"number");return typeof a=="number"&&!isFinite(a)?null:u.toISOString()}})},69762:function(d,v,e){"use strict";var r=e(32621),i=e(2291),l=e(77119),c=e(59893),f=c("toPrimitive"),o=Date.prototype;r(o,f)||i(o,f,l)},76880:function(d,v,e){"use strict";var r=e(94237),i=e(2291),l=Date.prototype,c="Invalid Date",f="toString",o=r(l[f]),h=r(l.getTime);String(new Date(NaN))!==c&&i(l,f,function(){var a=h(this);return a===a?o(this):c})},31808:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(13743),c=e(78540),f="WebAssembly",o=i[f],h=new Error("e",{cause:7}).cause!==7,u=function(x,p){var y={};y[x]=c(x,p,h),r({global:!0,constructor:!0,arity:1,forced:h},y)},a=function(x,p){if(o&&o[x]){var y={};y[x]=c(f+"."+x,p,h),r({target:f,stat:!0,constructor:!0,arity:1,forced:h},y)}};u("Error",function(x){return function(y){return l(x,this,arguments)}}),u("EvalError",function(x){return function(y){return l(x,this,arguments)}}),u("RangeError",function(x){return function(y){return l(x,this,arguments)}}),u("ReferenceError",function(x){return function(y){return l(x,this,arguments)}}),u("SyntaxError",function(x){return function(y){return l(x,this,arguments)}}),u("TypeError",function(x){return function(y){return l(x,this,arguments)}}),u("URIError",function(x){return function(y){return l(x,this,arguments)}}),a("CompileError",function(x){return function(y){return l(x,this,arguments)}}),a("LinkError",function(x){return function(y){return l(x,this,arguments)}}),a("RuntimeError",function(x){return function(y){return l(x,this,arguments)}})},99953:function(d,v,e){"use strict";var r=e(2291),i=e(13367),l=Error.prototype;l.toString!==i&&r(l,"toString",i)},65009:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=i("".charAt),f=i("".charCodeAt),o=i(/./.exec),h=i(1 .toString),u=i("".toUpperCase),a=/[\w*+\-./@]/,x=function(p,y){for(var _=h(p,16);_.length<y;)_="0"+_;return _};r({global:!0},{escape:function(y){for(var _=l(y),b="",A=_.length,k=0,L,T;k<A;)L=c(_,k++),o(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,v,e){"use strict";var r=e(94488),i=e(4645);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},56450:function(d,v,e){"use strict";var r=e(55327),i=e(31946),l=e(37691),c=e(53456),f=e(59893),o=e(86528),h=f("hasInstance"),u=Function.prototype;h in u||l.f(u,h,{value:o(function(a){if(!r(this)||!i(a))return!1;var x=this.prototype;if(!i(x))return a instanceof this;for(;a=c(a);)if(x===a)return!0;return!1},h)})},78342:function(d,v,e){"use strict";var r=e(35454),i=e(8090).EXISTS,l=e(94237),c=e(64110),f=Function.prototype,o=l(f.toString),h=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=l(h.exec),a="name";r&&!i&&c(f,a,{configurable:!0,get:function(){try{return u(h,o(this))[1]}catch(x){return""}}})},13161:function(d,v,e){"use strict";var r=e(94488),i=e(92916);r({global:!0,forced:i.globalThis!==i},{globalThis:i})},54226:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(89945),f=e(94237),o=e(3338),h=e(55327),u=e(18446),a=e(30867),x=e(65451),p=e(42820),y=String,_=i("JSON","stringify"),b=f(/./.exec),A=f("".charAt),k=f("".charCodeAt),L=f("".replace),T=f(1 .toString),D=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,N=!p||o(function(){var ne=i("Symbol")("stringify detection");return _([ne])!=="[null]"||_({a:ne})!=="{}"||_(Object(ne))!=="{}"}),K=o(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),G=function(ne,ae){var le=a(arguments),Q=x(ae);if(!(!h(Q)&&(ne===void 0||u(ne))))return le[1]=function(J,V){if(h(Q)&&(V=c(Q,this,y(J),V)),!u(V))return V},l(_,null,le)},W=function(ne,ae,le){var Q=A(le,ae-1),J=A(le,ae+1);return b(M,ne)&&!b(B,J)||b(B,ne)&&!b(M,Q)?"\\u"+T(k(ne,0),16):ne};_&&r({target:"JSON",stat:!0,arity:3,forced:N||K},{stringify:function(ae,le,Q){var J=a(arguments),V=l(N?G:_,null,J);return K&&typeof V=="string"?L(V,D,W):V}})},70201:function(d,v,e){"use strict";var r=e(92916),i=e(94573);i(r.JSON,"JSON",!0)},44781:function(d,v,e){"use strict";var r=e(48059),i=e(40942);r("Map",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},85671:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(95955),f=e(62003),o=e(2786),h=e(16697),u=o.Map,a=o.has,x=o.get,p=o.set,y=i([].push);r({target:"Map",stat:!0,forced:h},{groupBy:function(b,A){c(b),l(A);var k=new u,L=0;return f(b,function(T){var D=A(T,L++);a(k,D)?y(x(k,D),T):p(k,D,[T])}),k}})},34941:function(d,v,e){"use strict";e(44781)},35152:function(d,v,e){"use strict";var r=e(94488),i=e(25726),l=Math.acosh,c=Math.log,f=Math.sqrt,o=Math.LN2,h=!l||Math.floor(l(Number.MAX_VALUE))!==710||l(1/0)!==1/0;r({target:"Math",stat:!0,forced:h},{acosh:function(a){var x=+a;return x<1?NaN:x>9490626562425156e-8?c(x)+o:i(x-1+f(x-1)*f(x+1))}})},85660:function(d,v,e){"use strict";var r=e(94488),i=Math.asinh,l=Math.log,c=Math.sqrt;function f(h){var u=+h;return!isFinite(u)||u===0?u:u<0?-f(-u):l(u+c(u*u+1))}var o=!(i&&1/i(0)>0);r({target:"Math",stat:!0,forced:o},{asinh:f})},80031:function(d,v,e){"use strict";var r=e(94488),i=Math.atanh,l=Math.log,c=!(i&&1/i(-0)<0);r({target:"Math",stat:!0,forced:c},{atanh:function(o){var h=+o;return h===0?h:l((1+h)/(1-h))/2}})},34434:function(d,v,e){"use strict";var r=e(94488),i=e(37666),l=Math.abs,c=Math.pow;r({target:"Math",stat:!0},{cbrt:function(o){var h=+o;return i(h)*c(l(h),.3333333333333333)}})},83579:function(d,v,e){"use strict";var r=e(94488),i=Math.floor,l=Math.log,c=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(o){var h=o>>>0;return h?31-i(l(h+.5)*c):32}})},74307:function(d,v,e){"use strict";var r=e(94488),i=e(10014),l=Math.cosh,c=Math.abs,f=Math.E,o=!l||l(710)===1/0;r({target:"Math",stat:!0,forced:o},{cosh:function(u){var a=i(c(u)-1)+1;return(a+1/(a*f*f))*(f/2)}})},97423:function(d,v,e){"use strict";var r=e(94488),i=e(10014);r({target:"Math",stat:!0,forced:i!==Math.expm1},{expm1:i})},93321:function(d,v,e){"use strict";var r=e(94488),i=e(14894);r({target:"Math",stat:!0},{fround:i})},82277:function(d,v,e){"use strict";var r=e(94488),i=Math.hypot,l=Math.abs,c=Math.sqrt,f=!!i&&i(1/0,NaN)!==1/0;r({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(h,u){for(var a=0,x=0,p=arguments.length,y=0,_,b;x<p;)_=l(arguments[x++]),y<_?(b=y/_,a=a*b*b+1,y=_):_>0?(b=_/y,a+=b*b):a+=_;return y===1/0?1/0:y*c(a)}})},61425:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=Math.imul,c=i(function(){return l(4294967295,5)!==-5||l.length!==2});r({target:"Math",stat:!0,forced:c},{imul:function(o,h){var u=65535,a=+o,x=+h,p=u&a,y=u&x;return 0|p*y+((u&a>>>16)*y+p*(u&x>>>16)<<16>>>0)}})},61873:function(d,v,e){"use strict";var r=e(94488),i=e(53309);r({target:"Math",stat:!0},{log10:i})},9307:function(d,v,e){"use strict";var r=e(94488),i=e(25726);r({target:"Math",stat:!0},{log1p:i})},8821:function(d,v,e){"use strict";var r=e(94488),i=Math.log,l=Math.LN2;r({target:"Math",stat:!0},{log2:function(f){return i(f)/l}})},64385:function(d,v,e){"use strict";var r=e(94488),i=e(37666);r({target:"Math",stat:!0},{sign:i})},64099:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(10014),c=Math.abs,f=Math.exp,o=Math.E,h=i(function(){return Math.sinh(-2e-17)!==-2e-17});r({target:"Math",stat:!0,forced:h},{sinh:function(a){var x=+a;return c(x)<1?(l(x)-l(-x))/2:(f(x-1)-f(-x-1))*(o/2)}})},62455:function(d,v,e){"use strict";var r=e(94488),i=e(10014),l=Math.exp;r({target:"Math",stat:!0},{tanh:function(f){var o=+f,h=i(o),u=i(-o);return h===1/0?1:u===1/0?-1:(h-u)/(l(o)+l(-o))}})},79965:function(d,v,e){"use strict";var r=e(94573);r(Math,"Math",!0)},59118:function(d,v,e){"use strict";var r=e(94488),i=e(3312);r({target:"Math",stat:!0},{trunc:i})},275:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(35454),c=e(92916),f=e(9699),o=e(94237),h=e(20865),u=e(32621),a=e(25576),x=e(16332),p=e(18446),y=e(97954),_=e(3338),b=e(80689).f,A=e(71256).f,k=e(37691).f,L=e(49228),T=e(52971).trim,D="Number",M=c[D],B=f[D],N=M.prototype,K=c.TypeError,G=o("".slice),W=o("".charCodeAt),ne=function(ue){var ee=y(ue,"number");return typeof ee=="bigint"?ee:ae(ee)},ae=function(ue){var ee=y(ue,"number"),X,ce,z,$,se,_e,Oe,Le;if(p(ee))throw new K("Cannot convert a Symbol value to a number");if(typeof ee=="string"&&ee.length>2){if(ee=T(ee),X=W(ee,0),X===43||X===45){if(ce=W(ee,2),ce===88||ce===120)return NaN}else if(X===48){switch(W(ee,1)){case 66:case 98:z=2,$=49;break;case 79:case 111:z=8,$=55;break;default:return+ee}for(se=G(ee,2),_e=se.length,Oe=0;Oe<_e;Oe++)if(Le=W(se,Oe),Le<48||Le>$)return NaN;return parseInt(se,z)}}return+ee},le=h(D,!M(" 0o1")||!M("0b1")||M("+0x1")),Q=function(ue){return x(N,ue)&&_(function(){L(ue)})},J=function(ee){var X=arguments.length<1?0:M(ne(ee));return Q(this)?a(Object(X),this,J):X};J.prototype=N,le&&!i&&(N.constructor=J),r({global:!0,constructor:!0,wrap:!0,forced:le},{Number:J});var V=function(ue,ee){for(var X=l?b(ee):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),ce=0,z;X.length>ce;ce++)u(ee,z=X[ce])&&!u(ue,z)&&k(ue,z,A(ee,z))};i&&B&&V(f[D],B),(le||i)&&V(f[D],M)},31919:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(d,v,e){"use strict";var r=e(94488),i=e(1222);r({target:"Number",stat:!0},{isFinite:i})},10177:function(d,v,e){"use strict";var r=e(94488),i=e(62896);r({target:"Number",stat:!0},{isInteger:i})},85690:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0},{isNaN:function(l){return l!==l}})},92114:function(d,v,e){"use strict";var r=e(94488),i=e(62896),l=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(f){return i(f)&&l(f)<=9007199254740991}})},1017:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(d,v,e){"use strict";var r=e(94488),i=e(31280);r({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},76345:function(d,v,e){"use strict";var r=e(94488),i=e(52446);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},7282:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),o=e(53309),h=e(3338),u=RangeError,a=String,x=isFinite,p=Math.abs,y=Math.floor,_=Math.pow,b=Math.round,A=i(1 .toExponential),k=i(f),L=i("".slice),T=A(-69e-12,4)==="-6.9000e-11"&&A(1.255,2)==="1.25e+0"&&A(12345,3)==="1.235e+4"&&A(25,0)==="3e+1",D=function(){return h(function(){A(1,1/0)})&&h(function(){A(1,-1/0)})},M=function(){return!h(function(){A(1/0,1/0),A(NaN,1/0)})},B=!T||!D()||!M();r({target:"Number",proto:!0,forced:B},{toExponential:function(K){var G=c(this);if(K===void 0)return A(G);var W=l(K);if(!x(G))return String(G);if(W<0||W>20)throw new u("Incorrect fraction digits");if(T)return A(G,W);var ne="",ae="",le=0,Q="",J="";if(G<0&&(ne="-",G=-G),G===0)le=0,ae=k("0",W+1);else{var V=o(G);le=y(V);var ue=0,ee=_(10,le-W);ue=b(G/ee),2*G>=(2*ue+1)*ee&&(ue+=1),ue>=_(10,W+1)&&(ue/=10,le+=1),ae=a(ue)}return W!==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,ne+ae}})},58055:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),o=e(3338),h=RangeError,u=String,a=Math.floor,x=i(f),p=i("".slice),y=i(1 .toFixed),_=function(D,M,B){return M===0?B:M%2===1?_(D,M-1,B*D):_(D*D,M/2,B)},b=function(D){for(var M=0,B=D;B>=4096;)M+=12,B/=4096;for(;B>=2;)M+=1,B/=2;return M},A=function(D,M,B){for(var N=-1,K=B;++N<6;)K+=M*D[N],D[N]=K%1e7,K=a(K/1e7)},k=function(D,M){for(var B=6,N=0;--B>=0;)N+=D[B],D[B]=a(N/M),N=N%M*1e7},L=function(D){for(var M=6,B="";--M>=0;)if(B!==""||M===0||D[M]!==0){var N=u(D[M]);B=B===""?N:B+x("0",7-N.length)+N}return B},T=o(function(){return y(8e-5,3)!=="0.000"||y(.9,0)!=="1"||y(1.255,2)!=="1.25"||y(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!o(function(){y({})});r({target:"Number",proto:!0,forced:T},{toFixed:function(M){var B=c(this),N=l(M),K=[0,0,0,0,0,0],G="",W="0",ne,ae,le,Q;if(N<0||N>20)throw new h("Incorrect fraction digits");if(B!==B)return"NaN";if(B<=-1e21||B>=1e21)return u(B);if(B<0&&(G="-",B=-B),B>1e-21)if(ne=b(B*_(2,69,1))-69,ae=ne<0?B*_(2,-ne,1):B/_(2,ne,1),ae*=4503599627370496,ne=52-ne,ne>0){for(A(K,0,ae),le=N;le>=7;)A(K,1e7,0),le-=7;for(A(K,_(10,le,1),0),le=ne-1;le>=23;)k(K,8388608),le-=23;k(K,1<<le),A(K,1,1),k(K,2),W=L(K)}else A(K,0,ae),A(K,1<<-ne,0),W=L(K)+x("0",N);return N>0?(Q=W.length,W=G+(Q<=N?"0."+x("0",N-Q)+W:p(W,0,Q-N)+"."+p(W,Q-N))):W=G+W,W}})},93547:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=e(49228),f=i(1 .toPrecision),o=l(function(){return f(1,void 0)!=="1"})||!l(function(){f({})});r({target:"Number",proto:!0,forced:o},{toPrecision:function(u){return u===void 0?f(c(this)):f(c(this),u)}})},31237:function(d,v,e){"use strict";var r=e(94488),i=e(80530);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},17954:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(20132);r({target:"Object",stat:!0,sham:!i},{create:l})},58580:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),o=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineGetter__:function(u,a){o.f(f(this),u,{get:c(a),enumerable:!0,configurable:!0})}})},47146:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(55666).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==l,sham:!i},{defineProperties:l})},40416:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(37691).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==l,sham:!i},{defineProperty:l})},7615:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),o=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineSetter__:function(u,a){o.f(f(this),u,{set:c(a),enumerable:!0,configurable:!0})}})},72820:function(d,v,e){"use strict";var r=e(94488),i=e(88698).entries;r({target:"Object",stat:!0},{entries:function(c){return i(c)}})},86070:function(d,v,e){"use strict";var r=e(94488),i=e(13247),l=e(3338),c=e(31946),f=e(2074).onFreeze,o=Object.freeze,h=l(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!i},{freeze:function(a){return o&&c(a)?o(f(a)):a}})},23569:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(69392);r({target:"Object",stat:!0},{fromEntries:function(f){var o={};return i(f,function(h,u){l(o,h,u)},{AS_ENTRIES:!0}),o}})},55639:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(80524),c=e(71256).f,f=e(35454),o=!f||i(function(){c(1)});r({target:"Object",stat:!0,forced:o,sham:!f},{getOwnPropertyDescriptor:function(u,a){return c(l(u),a)}})},63046:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(48662),c=e(80524),f=e(71256),o=e(69392);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(u){for(var a=c(u),x=f.f,p=l(a),y={},_=0,b,A;p.length>_;)A=x(a,b=p[_++]),A!==void 0&&o(y,b,A);return y}})},464:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(53393).f,c=i(function(){return!Object.getOwnPropertyNames(1)});r({target:"Object",stat:!0,forced:c},{getOwnPropertyNames:l})},67936:function(d,v,e){"use strict";var r=e(94488),i=e(42820),l=e(3338),c=e(92635),f=e(94029),o=!i||l(function(){c.f(1)});r({target:"Object",stat:!0,forced:o},{getOwnPropertySymbols:function(u){var a=c.f;return a?a(f(u)):[]}})},51082:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(94029),c=e(53456),f=e(4870),o=i(function(){c(1)});r({target:"Object",stat:!0,forced:o,sham:!f},{getPrototypeOf:function(u){return c(l(u))}})},83850:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(94237),c=e(63335),f=e(95955),o=e(17818),h=e(62003),u=i("Object","create"),a=l([].push);r({target:"Object",stat:!0},{groupBy:function(p,y){f(p),c(y);var _=u(null),b=0;return h(p,function(A){var k=o(y(A,b++));k in _?a(_[k],A):_[k]=[A]}),_}})},41990:function(d,v,e){"use strict";var r=e(94488),i=e(32621);r({target:"Object",stat:!0},{hasOwn:i})},55888:function(d,v,e){"use strict";var r=e(94488),i=e(12477);r({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},53827:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(31946),c=e(29076),f=e(51424),o=Object.isFrozen,h=f||i(function(){o(1)});r({target:"Object",stat:!0,forced:h},{isFrozen:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:o?o(a):!1}})},78143:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(31946),c=e(29076),f=e(51424),o=Object.isSealed,h=f||i(function(){o(1)});r({target:"Object",stat:!0,forced:h},{isSealed:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:o?o(a):!1}})},15787:function(d,v,e){"use strict";var r=e(94488),i=e(5370);r({target:"Object",stat:!0},{is:i})},66419:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(7733),c=e(3338),f=c(function(){l(1)});r({target:"Object",stat:!0,forced:f},{keys:function(h){return l(i(h))}})},75765:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),o=e(53456),h=e(71256).f;i&&r({target:"Object",proto:!0,forced:l},{__lookupGetter__:function(a){var x=c(this),p=f(a),y;do if(y=h(x,p))return y.get;while(x=o(x))}})},14645:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),o=e(53456),h=e(71256).f;i&&r({target:"Object",proto:!0,forced:l},{__lookupSetter__:function(a){var x=c(this),p=f(a),y;do if(y=h(x,p))return y.set;while(x=o(x))}})},71122:function(d,v,e){"use strict";var r=e(94488),i=e(31946),l=e(2074).onFreeze,c=e(13247),f=e(3338),o=Object.preventExtensions,h=f(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{preventExtensions:function(a){return o&&i(a)?o(l(a)):a}})},42084:function(d,v,e){"use strict";var r=e(35454),i=e(64110),l=e(31946),c=e(94029),f=e(95955),o=Object.getPrototypeOf,h=Object.setPrototypeOf,u=Object.prototype,a="__proto__";if(r&&o&&h&&!(a in u))try{i(u,a,{configurable:!0,get:function(){return o(c(this))},set:function(p){var y=f(this);!l(p)&&p!==null||!l(y)||h(y,p)}})}catch(x){}},25070:function(d,v,e){"use strict";var r=e(94488),i=e(31946),l=e(2074).onFreeze,c=e(13247),f=e(3338),o=Object.seal,h=f(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{seal:function(a){return o&&i(a)?o(l(a)):a}})},77140:function(d,v,e){"use strict";var r=e(94488),i=e(58218);r({target:"Object",stat:!0},{setPrototypeOf:i})},15954:function(d,v,e){"use strict";var r=e(68527),i=e(2291),l=e(28488);r||i(Object.prototype,"toString",l,{unsafe:!0})},4266:function(d,v,e){"use strict";var r=e(94488),i=e(88698).values;r({target:"Object",stat:!0},{values:function(c){return i(c)}})},49988:function(d,v,e){"use strict";var r=e(94488),i=e(31280);r({global:!0,forced:parseFloat!==i},{parseFloat:i})},38823:function(d,v,e){"use strict";var r=e(94488),i=e(52446);r({global:!0,forced:parseInt!==i},{parseInt:i})},4045:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),o=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{allSettled:function(a){var x=this,p=c.f(x),y=p.resolve,_=p.reject,b=f(function(){var A=l(x.resolve),k=[],L=0,T=1;o(a,function(D){var M=L++,B=!1;T++,i(A,x,D).then(function(N){B||(B=!0,k[M]={status:"fulfilled",value:N},--T||y(k))},function(N){B||(B=!0,k[M]={status:"rejected",reason:N},--T||y(k))})}),--T||y(k)});return b.error&&_(b.value),p.promise}})},12785:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),o=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{all:function(a){var x=this,p=c.f(x),y=p.resolve,_=p.reject,b=f(function(){var A=l(x.resolve),k=[],L=0,T=1;o(a,function(D){var M=L++,B=!1;T++,i(A,x,D).then(function(N){B||(B=!0,k[M]=N,--T||y(k))},_)}),--T||y(k)});return b.error&&_(b.value),p.promise}})},50747:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(65911),f=e(73446),o=e(80734),h=e(62003),u=e(22093),a="No one promise resolved";r({target:"Promise",stat:!0,forced:u},{any:function(p){var y=this,_=c("AggregateError"),b=f.f(y),A=b.resolve,k=b.reject,L=o(function(){var T=l(y.resolve),D=[],M=0,B=1,N=!1;h(p,function(K){var G=M++,W=!1;B++,i(T,y,K).then(function(ne){W||N||(N=!0,A(ne))},function(ne){W||N||(W=!0,D[G]=ne,--B||k(new _(D,a)))})}),--B||k(new _(D,a))});return L.error&&k(L.value),b.promise}})},41902:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(82830).CONSTRUCTOR,c=e(2451),f=e(65911),o=e(55327),h=e(2291),u=c&&c.prototype;if(r({target:"Promise",proto:!0,forced:l,real:!0},{catch:function(x){return this.then(void 0,x)}}),!i&&o(c)){var a=f("Promise").prototype.catch;u.catch!==a&&h(u,"catch",a,{unsafe:!0})}},90366:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(90946),c=e(92916),f=e(89945),o=e(2291),h=e(58218),u=e(94573),a=e(51996),x=e(63335),p=e(55327),y=e(31946),_=e(56472),b=e(60473),A=e(28887).set,k=e(72933),L=e(61810),T=e(80734),D=e(66790),M=e(94844),B=e(2451),N=e(82830),K=e(73446),G="Promise",W=N.CONSTRUCTOR,ne=N.REJECTION_EVENT,ae=N.SUBCLASSING,le=M.getterFor(G),Q=M.set,J=B&&B.prototype,V=B,ue=J,ee=c.TypeError,X=c.document,ce=c.process,z=K.f,$=z,se=!!(X&&X.createEvent&&c.dispatchEvent),_e="unhandledrejection",Oe="rejectionhandled",Le=0,He=1,$e=2,Bt=1,yt=2,It,rr,Yt,lr,Ve=function(Fe){var je;return y(Fe)&&p(je=Fe.then)?je:!1},Ct=function(Fe,je){var Ge=je.value,it=je.state===He,ct=it?Fe.ok:Fe.fail,Gt=Fe.resolve,Ht=Fe.reject,Pe=Fe.domain,tt,Vt,kt;try{ct?(it||(je.rejection===yt&&rt(je),je.rejection=Bt),ct===!0?tt=Ge:(Pe&&Pe.enter(),tt=ct(Ge),Pe&&(Pe.exit(),kt=!0)),tt===Fe.promise?Ht(new ee("Promise-chain cycle")):(Vt=Ve(tt))?f(Vt,tt,Gt,Ht):Gt(tt)):Ht(Ge)}catch(Zt){Pe&&!kt&&Pe.exit(),Ht(Zt)}},Ut=function(Fe,je){Fe.notified||(Fe.notified=!0,k(function(){for(var Ge=Fe.reactions,it;it=Ge.get();)Ct(it,Fe);Fe.notified=!1,je&&!Fe.rejection&&xt(Fe)}))},st=function(Fe,je,Ge){var it,ct;se?(it=X.createEvent("Event"),it.promise=je,it.reason=Ge,it.initEvent(Fe,!1,!0),c.dispatchEvent(it)):it={promise:je,reason:Ge},!ne&&(ct=c["on"+Fe])?ct(it):Fe===_e&&L("Unhandled promise rejection",Ge)},xt=function(Fe){f(A,c,function(){var je=Fe.facade,Ge=Fe.value,it=ht(Fe),ct;if(it&&(ct=T(function(){l?ce.emit("unhandledRejection",Ge,je):st(_e,je,Ge)}),Fe.rejection=l||ht(Fe)?yt:Bt,ct.error))throw ct.value})},ht=function(Fe){return Fe.rejection!==Bt&&!Fe.parent},rt=function(Fe){f(A,c,function(){var je=Fe.facade;l?ce.emit("rejectionHandled",je):st(Oe,je,Fe.value)})},Ue=function(Fe,je,Ge){return function(it){Fe(je,it,Ge)}},ye=function(Fe,je,Ge){Fe.done||(Fe.done=!0,Ge&&(Fe=Ge),Fe.value=je,Fe.state=$e,Ut(Fe,!0))},Ce=function(Fe,je,Ge){if(!Fe.done){Fe.done=!0,Ge&&(Fe=Ge);try{if(Fe.facade===je)throw new ee("Promise can't be resolved itself");var it=Ve(je);it?k(function(){var ct={done:!1};try{f(it,je,Ue(Ce,ct,Fe),Ue(ye,ct,Fe))}catch(Gt){ye(ct,Gt,Fe)}}):(Fe.value=je,Fe.state=He,Ut(Fe,!1))}catch(ct){ye({done:!1},ct,Fe)}}};if(W&&(V=function(je){_(this,ue),x(je),f(It,this);var Ge=le(this);try{je(Ue(Ce,Ge),Ue(ye,Ge))}catch(it){ye(Ge,it)}},ue=V.prototype,It=function(je){Q(this,{type:G,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:Le,value:void 0})},It.prototype=o(ue,"then",function(je,Ge){var it=le(this),ct=z(b(this,V));return it.parent=!0,ct.ok=p(je)?je:!0,ct.fail=p(Ge)&&Ge,ct.domain=l?ce.domain:void 0,it.state===Le?it.reactions.add(ct):k(function(){Ct(ct,it)}),ct.promise}),rr=function(){var Fe=new It,je=le(Fe);this.promise=Fe,this.resolve=Ue(Ce,je),this.reject=Ue(ye,je)},K.f=z=function(Fe){return Fe===V||Fe===Yt?new rr(Fe):$(Fe)},!i&&p(B)&&J!==Object.prototype)){lr=J.then,ae||o(J,"then",function(je,Ge){var it=this;return new V(function(ct,Gt){f(lr,it,ct,Gt)}).then(je,Ge)},{unsafe:!0});try{delete J.constructor}catch(Fe){}h&&h(J,ue)}r({global:!0,constructor:!0,wrap:!0,forced:W},{Promise:V}),u(V,G,!1,!0),a(G)},43595:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(2451),c=e(3338),f=e(65911),o=e(55327),h=e(60473),u=e(15597),a=e(2291),x=l&&l.prototype,p=!!l&&c(function(){x.finally.call({then:function(){}},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(_){var b=h(this,f("Promise")),A=o(_);return this.then(A?function(k){return u(b,_()).then(function(){return k})}:_,A?function(k){return u(b,_()).then(function(){throw k})}:_)}}),!i&&o(l)){var y=f("Promise").prototype.finally;x.finally!==y&&a(x,"finally",y,{unsafe:!0})}},24627:function(d,v,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(73446),f=e(80734),o=e(62003),h=e(22093);r({target:"Promise",stat:!0,forced:h},{race:function(a){var x=this,p=c.f(x),y=p.reject,_=f(function(){var b=l(x.resolve);o(a,function(A){i(b,x,A).then(p.resolve,y)})});return _.error&&y(_.value),p.promise}})},95693:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(73446),c=e(82830).CONSTRUCTOR;r({target:"Promise",stat:!0,forced:c},{reject:function(o){var h=l.f(this);return i(h.reject,void 0,o),h.promise}})},81930:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(16697),c=e(2451),f=e(82830).CONSTRUCTOR,o=e(15597),h=i("Promise"),u=l&&!f;r({target:"Promise",stat:!0,forced:l||f},{resolve:function(x){return o(u&&this===h?c:this,x)}})},92324:function(d,v,e){"use strict";var r=e(94488),i=e(73446);r({target:"Promise",stat:!0},{withResolvers:function(){var c=i.f(this);return{promise:c.promise,resolve:c.resolve,reject:c.reject}}})},23551:function(d,v,e){"use strict";var r=e(94488),i=e(13743),l=e(63335),c=e(80449),f=e(3338),o=!f(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:o},{apply:function(u,a,x){return i(l(u),a,c(x))}})},74521:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(4645),f=e(6086),o=e(80449),h=e(31946),u=e(20132),a=e(3338),x=i("Reflect","construct"),p=Object.prototype,y=[].push,_=a(function(){function k(){}return!(x(function(){},[],k)instanceof k)}),b=!a(function(){x(function(){})}),A=_||b;r({target:"Reflect",stat:!0,forced:A,sham:A},{construct:function(L,T){f(L),o(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 M=[null];return l(y,M,T),new(l(c,L,M))}var B=D.prototype,N=u(h(B)?B:p),K=l(L,N,T);return h(K)?K:N}})},57891:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(17818),f=e(37691),o=e(3338),h=o(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:h,sham:!i},{defineProperty:function(a,x,p){l(a);var y=c(x);l(p);try{return f.f(a,y,p),!0}catch(_){return!1}}})},84138:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(71256).f;r({target:"Reflect",stat:!0},{deleteProperty:function(f,o){var h=l(i(f),o);return h&&!h.configurable?!1:delete f[o]}})},37135:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(71256);r({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(o,h){return c.f(l(o),h)}})},6474:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(53456),c=e(4870);r({target:"Reflect",stat:!0,sham:!c},{getPrototypeOf:function(o){return l(i(o))}})},51832:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(31946),c=e(80449),f=e(60516),o=e(71256),h=e(53456);function u(a,x){var p=arguments.length<3?a:arguments[2],y,_;if(c(a)===p)return a[x];if(y=o.f(a,x),y)return f(y)?y.value:y.get===void 0?void 0:i(y.get,p);if(l(_=h(a)))return u(_,x,p)}r({target:"Reflect",stat:!0},{get:u})},40135:function(d,v,e){"use strict";var r=e(94488);r({target:"Reflect",stat:!0},{has:function(l,c){return c in l}})},7982:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(12477);r({target:"Reflect",stat:!0},{isExtensible:function(f){return i(f),l(f)}})},14893:function(d,v,e){"use strict";var r=e(94488),i=e(48662);r({target:"Reflect",stat:!0},{ownKeys:i})},49233:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(80449),c=e(13247);r({target:"Reflect",stat:!0,sham:!c},{preventExtensions:function(o){l(o);try{var h=i("Object","preventExtensions");return h&&h(o),!0}catch(u){return!1}}})},42844:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(557),c=e(58218);c&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(o,h){i(o),l(h);try{return c(o,h),!0}catch(u){return!1}}})},92130:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(31946),f=e(60516),o=e(3338),h=e(37691),u=e(71256),a=e(53456),x=e(35012);function p(_,b,A){var k=arguments.length<4?_:arguments[3],L=u.f(l(_),b),T,D,M;if(!L){if(c(D=a(_)))return p(D,b,A,k);L=x(0)}if(f(L)){if(L.writable===!1||!c(k))return!1;if(T=u.f(k,b)){if(T.get||T.set||T.writable===!1)return!1;T.value=A,h.f(k,b,T)}else h.f(k,b,x(0,A))}else{if(M=L.set,M===void 0)return!1;i(M,k,A)}return!0}var y=o(function(){var _=function(){},b=h.f(new _,"a",{configurable:!0});return Reflect.set(_.prototype,"a",1,b)!==!1});r({target:"Reflect",stat:!0,forced:y},{set:p})},6536:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94573);r({global:!0},{Reflect:{}}),l(i.Reflect,"Reflect",!0)},27228:function(d,v,e){"use strict";var r=e(35454),i=e(92916),l=e(94237),c=e(20865),f=e(25576),o=e(68151),h=e(20132),u=e(80689).f,a=e(16332),x=e(44639),p=e(69905),y=e(81644),_=e(19286),b=e(44166),A=e(2291),k=e(3338),L=e(32621),T=e(94844).enforce,D=e(51996),M=e(59893),B=e(6041),N=e(51224),K=M("match"),G=i.RegExp,W=G.prototype,ne=i.SyntaxError,ae=l(W.exec),le=l("".charAt),Q=l("".replace),J=l("".indexOf),V=l("".slice),ue=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ee=/a/g,X=/a/g,ce=new G(ee)!==ee,z=_.MISSED_STICKY,$=_.UNSUPPORTED_Y,se=r&&(!ce||z||B||N||k(function(){return X[K]=!1,G(ee)!==ee||G(X)===X||String(G(ee,"i"))!=="/a/i"})),_e=function(Bt){for(var yt=Bt.length,It=0,rr="",Yt=!1,lr;It<=yt;It++){if(lr=le(Bt,It),lr==="\\"){rr+=lr+le(Bt,++It);continue}!Yt&&lr==="."?rr+="[\\s\\S]":(lr==="["?Yt=!0:lr==="]"&&(Yt=!1),rr+=lr)}return rr},Oe=function(Bt){for(var yt=Bt.length,It=0,rr="",Yt=[],lr=h(null),Ve=!1,Ct=!1,Ut=0,st="",xt;It<=yt;It++){if(xt=le(Bt,It),xt==="\\")xt+=le(Bt,++It);else if(xt==="]")Ve=!1;else if(!Ve)switch(!0){case xt==="[":Ve=!0;break;case xt==="(":ae(ue,V(Bt,It+1))&&(It+=2,Ct=!0),rr+=xt,Ut++;continue;case(xt===">"&&Ct):if(st===""||L(lr,st))throw new ne("Invalid capture group name");lr[st]=!0,Yt[Yt.length]=[st,Ut],Ct=!1,st="";continue}Ct?st+=xt:rr+=xt}return[rr,Yt]};if(c("RegExp",se)){for(var Le=function(yt,It){var rr=a(W,this),Yt=x(yt),lr=It===void 0,Ve=[],Ct=yt,Ut,st,xt,ht,rt,Ue;if(!rr&&Yt&&lr&&yt.constructor===Le)return yt;if((Yt||a(W,yt))&&(yt=yt.source,lr&&(It=y(Ct))),yt=yt===void 0?"":p(yt),It=It===void 0?"":p(It),Ct=yt,B&&"dotAll"in ee&&(st=!!It&&J(It,"s")>-1,st&&(It=Q(It,/s/g,""))),Ut=It,z&&"sticky"in ee&&(xt=!!It&&J(It,"y")>-1,xt&&$&&(It=Q(It,/y/g,""))),N&&(ht=Oe(yt),yt=ht[0],Ve=ht[1]),rt=f(G(yt,It),rr?this:W,Le),(st||xt||Ve.length)&&(Ue=T(rt),st&&(Ue.dotAll=!0,Ue.raw=Le(_e(yt),Ut)),xt&&(Ue.sticky=!0),Ve.length&&(Ue.groups=Ve)),yt!==Ct)try{o(rt,"source",Ct===""?"(?:)":Ct)}catch(ye){}return rt},He=u(G),$e=0;He.length>$e;)b(Le,G,He[$e++]);W.constructor=Le,Le.prototype=W,A(i,"RegExp",Le,{constructor:!0})}D("RegExp")},62921:function(d,v,e){"use strict";var r=e(35454),i=e(6041),l=e(29076),c=e(64110),f=e(94844).get,o=RegExp.prototype,h=TypeError;r&&i&&c(o,"dotAll",{configurable:!0,get:function(){if(this!==o){if(l(this)==="RegExp")return!!f(this).dotAll;throw new h("Incompatible receiver, RegExp required")}}})},44001:function(d,v,e){"use strict";var r=e(94488),i=e(88736);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},92262:function(d,v,e){"use strict";var r=e(92916),i=e(35454),l=e(64110),c=e(82163),f=e(3338),o=r.RegExp,h=o.prototype,u=i&&f(function(){var a=!0;try{o(".","d")}catch(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 A in b)_(A,b[A]);var k=Object.getOwnPropertyDescriptor(h,"flags").get.call(x);return k!==y||p!==y});u&&l(h,"flags",{configurable:!0,get:c})},54744:function(d,v,e){"use strict";var r=e(35454),i=e(19286).MISSED_STICKY,l=e(29076),c=e(64110),f=e(94844).get,o=RegExp.prototype,h=TypeError;r&&i&&c(o,"sticky",{configurable:!0,get:function(){if(this!==o){if(l(this)==="RegExp")return!!f(this).sticky;throw new h("Incompatible receiver, RegExp required")}}})},38214:function(d,v,e){"use strict";e(44001);var r=e(94488),i=e(89945),l=e(55327),c=e(80449),f=e(69905),o=function(){var u=!1,a=/[ac]/;return a.exec=function(){return u=!0,/./.exec.apply(this,arguments)},a.test("abc")===!0&&u}(),h=/./.test;r({target:"RegExp",proto:!0,forced:!o},{test:function(u){var a=c(this),x=f(u),p=a.exec;if(!l(p))return i(h,a,x);var y=i(p,a,x);return y===null?!1:(c(y),!0)}})},12756:function(d,v,e){"use strict";var r=e(8090).PROPER,i=e(2291),l=e(80449),c=e(69905),f=e(3338),o=e(81644),h="toString",u=RegExp.prototype,a=u[h],x=f(function(){return a.call({source:"a",flags:"b"})!=="/a/b"}),p=r&&a.name!==h;(x||p)&&i(RegExp.prototype,h,function(){var _=l(this),b=c(_.source),A=c(o(_));return"/"+b+"/"+A},{unsafe:!0})},69772:function(d,v,e){"use strict";var r=e(48059),i=e(40942);r("Set",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},93379:function(d,v,e){"use strict";e(69772)},34932:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("anchor")},{anchor:function(f){return i(this,"a","name",f)}})},62007:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),o=e(3338),h=i("".charAt),u=o(function(){return"\u{20BB7}".at(-2)!=="\uD842"});r({target:"String",proto:!0,forced:u},{at:function(x){var p=f(l(this)),y=p.length,_=c(x),b=_>=0?_:y+_;return b<0||b>=y?void 0:h(p,b)}})},81046:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("big")},{big:function(){return i(this,"big","","")}})},85744:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("blink")},{blink:function(){return i(this,"blink","","")}})},13494:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("bold")},{bold:function(){return i(this,"b","","")}})},90572:function(d,v,e){"use strict";var r=e(94488),i=e(13764).codeAt;r({target:"String",proto:!0},{codePointAt:function(c){return i(this,c)}})},37343:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),o=e(41696),h=e(95955),u=e(86266),a=e(16697),x=i("".endsWith),p=i("".slice),y=Math.min,_=u("endsWith"),b=!a&&!_&&!!function(){var A=l(String.prototype,"endsWith");return A&&!A.writable}();r({target:"String",proto:!0,forced:!b&&!_},{endsWith:function(k){var L=f(h(this));o(k);var T=arguments.length>1?arguments[1]:void 0,D=L.length,M=T===void 0?D:y(c(T),D),B=f(k);return x?x(L,B,M):p(L,M-B.length,M)===B}})},56338:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fixed")},{fixed:function(){return i(this,"tt","","")}})},66755:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontcolor")},{fontcolor:function(f){return i(this,"font","color",f)}})},68709:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("fontsize")},{fontsize:function(f){return i(this,"font","size",f)}})},45945:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(51981),c=RangeError,f=String.fromCharCode,o=String.fromCodePoint,h=i([].join),u=!!o&&o.length!==1;r({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(x){for(var p=[],y=arguments.length,_=0,b;y>_;){if(b=+arguments[_++],l(b,1114111)!==b)throw new c(b+" is not a valid code point");p[_]=b<65536?f(b):f(((b-=65536)>>10)+55296,b%1024+56320)}return h(p,"")}})},75551:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(41696),c=e(95955),f=e(69905),o=e(86266),h=i("".indexOf);r({target:"String",proto:!0,forced:!o("includes")},{includes:function(a){return!!~h(f(c(this)),f(l(a)),arguments.length>1?arguments[1]:void 0)}})},32493:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(69905),f=i("".charCodeAt);r({target:"String",proto:!0},{isWellFormed:function(){for(var h=c(l(this)),u=h.length,a=0;a<u;a++){var x=f(h,a);if((x&63488)===55296&&(x>=56320||++a>=u||(f(h,a)&64512)!==56320))return!1}return!0}})},4939:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("italics")},{italics:function(){return i(this,"i","","")}})},20852:function(d,v,e){"use strict";var r=e(13764).charAt,i=e(69905),l=e(94844),c=e(24019),f=e(25587),o="String Iterator",h=l.set,u=l.getterFor(o);c(String,"String",function(a){h(this,{type:o,string:i(a),index:0})},function(){var x=u(this),p=x.string,y=x.index,_;return y>=p.length?f(void 0,!0):(_=r(p,y),x.index+=_.length,f(_,!1))})},81927:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("link")},{link:function(f){return i(this,"a","href",f)}})},18827:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(34114),c=e(83126),f=e(25587),o=e(95955),h=e(61578),u=e(69905),a=e(80449),x=e(4112),p=e(29076),y=e(44639),_=e(81644),b=e(53776),A=e(2291),k=e(3338),L=e(59893),T=e(60473),D=e(52216),M=e(94338),B=e(94844),N=e(16697),K=L("matchAll"),G="RegExp String",W=G+" Iterator",ne=B.set,ae=B.getterFor(W),le=RegExp.prototype,Q=TypeError,J=l("".indexOf),V=l("".matchAll),ue=!!V&&!k(function(){V("a",/./)}),ee=c(function(z,$,se,_e){ne(this,{type:W,regexp:z,string:$,global:se,unicode:_e,done:!1})},G,function(){var z=ae(this);if(z.done)return f(void 0,!0);var $=z.regexp,se=z.string,_e=M($,se);return _e===null?(z.done=!0,f(void 0,!0)):z.global?(u(_e[0])===""&&($.lastIndex=D(se,h($.lastIndex),z.unicode)),f(_e,!1)):(z.done=!0,f(_e,!1))}),X=function(ce){var z=a(this),$=u(ce),se=T(z,RegExp),_e=u(_(z)),Oe,Le,He;return Oe=new se(se===RegExp?z.source:z,_e),Le=!!~J(_e,"g"),He=!!~J(_e,"u"),Oe.lastIndex=h(z.lastIndex),new ee(Oe,$,Le,He)};r({target:"String",proto:!0,forced:ue},{matchAll:function(z){var $=o(this),se,_e,Oe,Le;if(x(z)){if(ue)return V($,z)}else{if(y(z)&&(se=u(o(_(z))),!~J(se,"g")))throw new Q("`.matchAll` does not allow non-global regexes");if(ue)return V($,z);if(Oe=b(z,K),Oe===void 0&&N&&p(z)==="RegExp"&&(Oe=X),Oe)return i(Oe,z,$)}return _e=u($),Le=new RegExp(z,"g"),N?i(X,Le,_e):Le[K](_e)}}),N||K in le||A(le,K,X)},46302:function(d,v,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(61578),o=e(69905),h=e(95955),u=e(53776),a=e(52216),x=e(94338);i("match",function(p,y,_){return[function(A){var k=h(this),L=c(A)?void 0:u(A,p);return L?r(L,A,k):new RegExp(A)[p](o(k))},function(b){var A=l(this),k=o(b),L=_(y,A,k);if(L.done)return L.value;if(!A.global)return x(A,k);var T=A.unicode;A.lastIndex=0;for(var D=[],M=0,B;(B=x(A,k))!==null;){var N=o(B[0]);D[M]=N,N===""&&(A.lastIndex=a(k,f(A.lastIndex),T)),M++}return M===0?null:D}]})},76718:function(d,v,e){"use strict";var r=e(94488),i=e(85571).end,l=e(98352);r({target:"String",proto:!0,forced:l},{padEnd:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},79172:function(d,v,e){"use strict";var r=e(94488),i=e(85571).start,l=e(98352);r({target:"String",proto:!0,forced:l},{padStart:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},32192:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(80524),c=e(94029),f=e(69905),o=e(82762),h=i([].push),u=i([].join);r({target:"String",stat:!0},{raw:function(x){var p=l(c(x).raw),y=o(p);if(!y)return"";for(var _=arguments.length,b=[],A=0;;){if(h(b,f(p[A++])),A===y)return u(b,"");A<_&&h(b,f(arguments[A]))}}})},42828:function(d,v,e){"use strict";var r=e(94488),i=e(71049);r({target:"String",proto:!0},{repeat:i})},55629:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(94237),c=e(95955),f=e(55327),o=e(4112),h=e(44639),u=e(69905),a=e(53776),x=e(81644),p=e(23011),y=e(59893),_=e(16697),b=y("replace"),A=TypeError,k=l("".indexOf),L=l("".replace),T=l("".slice),D=Math.max,M=function(B,N,K){return K>B.length?-1:N===""?K:k(B,N,K)};r({target:"String",proto:!0},{replaceAll:function(N,K){var G=c(this),W,ne,ae,le,Q,J,V,ue,ee,X=0,ce=0,z="";if(!o(N)){if(W=h(N),W&&(ne=u(c(x(N))),!~k(ne,"g")))throw new A("`.replaceAll` does not allow non-global regexes");if(ae=a(N,b),ae)return i(ae,N,G,K);if(_&&W)return L(u(G),N,K)}for(le=u(G),Q=u(N),J=f(K),J||(K=u(K)),V=Q.length,ue=D(1,V),X=M(le,Q,0);X!==-1;)ee=J?u(K(Q,X,le)):p(Q,le,X,[],void 0,K),z+=T(le,ce,X)+ee,ce=X+V,X=M(le,Q,X+ue);return ce<le.length&&(z+=T(le,ce)),z}})},5658:function(d,v,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(3338),o=e(80449),h=e(55327),u=e(4112),a=e(56902),x=e(61578),p=e(69905),y=e(95955),_=e(52216),b=e(53776),A=e(23011),k=e(94338),L=e(59893),T=L("replace"),D=Math.max,M=Math.min,B=l([].concat),N=l([].push),K=l("".indexOf),G=l("".slice),W=function(Q){return Q===void 0?Q:String(Q)},ne=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,V){var ue=ae?"$":"$0";return[function(X,ce){var z=y(this),$=u(X)?void 0:b(X,T);return $?i($,X,z,ce):i(J,p(z),X,ce)},function(ee,X){var ce=o(this),z=p(ee);if(typeof X=="string"&&K(X,ue)===-1&&K(X,"$<")===-1){var $=V(J,ce,z,X);if($.done)return $.value}var se=h(X);se||(X=p(X));var _e=ce.global,Oe;_e&&(Oe=ce.unicode,ce.lastIndex=0);for(var Le=[],He;He=k(ce,z),!(He===null||(N(Le,He),!_e));){var $e=p(He[0]);$e===""&&(ce.lastIndex=_(z,x(ce.lastIndex),Oe))}for(var Bt="",yt=0,It=0;It<Le.length;It++){He=Le[It];for(var rr=p(He[0]),Yt=D(M(a(He.index),z.length),0),lr=[],Ve,Ct=1;Ct<He.length;Ct++)N(lr,W(He[Ct]));var Ut=He.groups;if(se){var st=B([rr],lr,Yt,z);Ut!==void 0&&N(st,Ut),Ve=p(r(X,void 0,st))}else Ve=A(rr,z,Yt,lr,Ut,X);Yt>=yt&&(Bt+=G(z,yt,Yt)+Ve,yt=Yt+rr.length)}return Bt+G(z,yt)}]},!le||!ne||ae)},62925:function(d,v,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(95955),o=e(5370),h=e(69905),u=e(53776),a=e(94338);i("search",function(x,p,y){return[function(b){var A=f(this),k=c(b)?void 0:u(b,x);return k?r(k,b,A):new RegExp(b)[x](h(A))},function(_){var b=l(this),A=h(_),k=y(p,b,A);if(k.done)return k.value;var L=b.lastIndex;o(L,0)||(b.lastIndex=0);var T=a(b,A);return o(b.lastIndex,L)||(b.lastIndex=L),T===null?-1:T.index}]})},60462:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("small")},{small:function(){return i(this,"small","","")}})},9595:function(d,v,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(80449),o=e(4112),h=e(44639),u=e(95955),a=e(60473),x=e(52216),p=e(61578),y=e(69905),_=e(53776),b=e(71698),A=e(94338),k=e(88736),L=e(19286),T=e(3338),D=L.UNSUPPORTED_Y,M=4294967295,B=Math.min,N=[].push,K=l(/./.exec),G=l(N),W=l("".slice),ne=!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(V,ue){var ee=y(u(this)),X=ue===void 0?M:ue>>>0;if(X===0)return[];if(V===void 0)return[ee];if(!h(V))return i(le,ee,V,X);for(var ce=[],z=(V.ignoreCase?"i":"")+(V.multiline?"m":"")+(V.unicode?"u":"")+(V.sticky?"y":""),$=0,se=new RegExp(V.source,z+"g"),_e,Oe,Le;(_e=i(k,se,ee))&&(Oe=se.lastIndex,!(Oe>$&&(G(ce,W(ee,$,_e.index)),_e.length>1&&_e.index<ee.length&&r(N,ce,b(_e,1)),Le=_e[0].length,$=Oe,ce.length>=X)));)se.lastIndex===_e.index&&se.lastIndex++;return $===ee.length?(Le||!K(se,""))&&G(ce,""):G(ce,W(ee,$)),ce.length>X?b(ce,0,X):ce}:"0".split(void 0,0).length?J=function(V,ue){return V===void 0&&ue===0?[]:i(le,this,V,ue)}:J=le,[function(ue,ee){var X=u(this),ce=o(ue)?void 0:_(ue,ae);return ce?i(ce,ue,X,ee):i(J,y(X),ue,ee)},function(V,ue){var ee=f(this),X=y(V),ce=Q(J,ee,X,ue,J!==le);if(ce.done)return ce.value;var z=a(ee,RegExp),$=ee.unicode,se=(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")+(D?"g":"y"),_e=new z(D?"^(?:"+ee.source+")":ee,se),Oe=ue===void 0?M:ue>>>0;if(Oe===0)return[];if(X.length===0)return A(_e,X)===null?[X]:[];for(var Le=0,He=0,$e=[];He<X.length;){_e.lastIndex=D?0:He;var Bt=A(_e,D?W(X,He):X),yt;if(Bt===null||(yt=B(p(_e.lastIndex+(D?He:0)),X.length))===Le)He=x(X,He,$);else{if(G($e,W(X,Le,He)),$e.length===Oe)return $e;for(var It=1;It<=Bt.length-1;It++)if(G($e,Bt[It]),$e.length===Oe)return $e;He=Le=yt}}return G($e,W(X,Le)),$e}]},!ne,D)},58127:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),o=e(41696),h=e(95955),u=e(86266),a=e(16697),x=i("".startsWith),p=i("".slice),y=Math.min,_=u("startsWith"),b=!a&&!_&&!!function(){var A=l(String.prototype,"startsWith");return A&&!A.writable}();r({target:"String",proto:!0,forced:!b&&!_},{startsWith:function(k){var L=f(h(this));o(k);var T=c(y(arguments.length>1?arguments[1]:void 0,L.length)),D=f(k);return x?x(L,D,T):p(L,T,T+D.length)===D}})},72571:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("strike")},{strike:function(){return i(this,"strike","","")}})},71200:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sub")},{sub:function(){return i(this,"sub","","")}})},70917:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),o=i("".slice),h=Math.max,u=Math.min,a=!"".substr||"ab".substr(-1)!=="b";r({target:"String",proto:!0,forced:a},{substr:function(p,y){var _=f(l(this)),b=_.length,A=c(p),k,L;return A===1/0&&(A=0),A<0&&(A=h(b+A,0)),k=y===void 0?b:c(y),k<=0||k===1/0?"":(L=u(A+k,b),A>=L?"":o(_,A,L))}})},85767:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sup")},{sup:function(){return i(this,"sup","","")}})},53427:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(94237),c=e(95955),f=e(69905),o=e(3338),h=Array,u=l("".charAt),a=l("".charCodeAt),x=l([].join),p="".toWellFormed,y="\uFFFD",_=p&&o(function(){return i(p,1)!=="1"});r({target:"String",proto:!0,forced:_},{toWellFormed:function(){var A=f(c(this));if(_)return i(p,A);for(var k=A.length,L=h(k),T=0;T<k;T++){var D=a(A,T);(D&63488)!==55296?L[T]=u(A,T):D>=56320||T+1>=k||(a(A,T+1)&64512)!==56320?L[T]=y:(L[T]=u(A,T),L[++T]=u(A,T))}return x(L,"")}})},49257:function(d,v,e){"use strict";e(20189);var r=e(94488),i=e(9591);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},93980:function(d,v,e){"use strict";var r=e(94488),i=e(27374);r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==i},{trimLeft:i})},20189:function(d,v,e){"use strict";var r=e(94488),i=e(9591);r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},72910:function(d,v,e){"use strict";e(93980);var r=e(94488),i=e(27374);r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==i},{trimStart:i})},70878:function(d,v,e){"use strict";var r=e(94488),i=e(52971).trim,l=e(18105);r({target:"String",proto:!0,forced:l("trim")},{trim:function(){return i(this)}})},64003:function(d,v,e){"use strict";var r=e(94674);r("asyncIterator")},39161:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(89945),c=e(94237),f=e(16697),o=e(35454),h=e(42820),u=e(3338),a=e(32621),x=e(16332),p=e(80449),y=e(80524),_=e(17818),b=e(69905),A=e(35012),k=e(20132),L=e(7733),T=e(80689),D=e(53393),M=e(92635),B=e(71256),N=e(37691),K=e(55666),G=e(27597),W=e(2291),ne=e(64110),ae=e(77898),le=e(11898),Q=e(54406),J=e(6145),V=e(59893),ue=e(38282),ee=e(94674),X=e(14311),ce=e(94573),z=e(94844),$=e(90560).forEach,se=le("hidden"),_e="Symbol",Oe="prototype",Le=z.set,He=z.getterFor(_e),$e=Object[Oe],Bt=i.Symbol,yt=Bt&&Bt[Oe],It=i.RangeError,rr=i.TypeError,Yt=i.QObject,lr=B.f,Ve=N.f,Ct=D.f,Ut=G.f,st=c([].push),xt=ae("symbols"),ht=ae("op-symbols"),rt=ae("wks"),Ue=!Yt||!Yt[Oe]||!Yt[Oe].findChild,ye=function(tt,Vt,kt){var Zt=lr($e,Vt);Zt&&delete $e[Vt],Ve(tt,Vt,kt),Zt&&tt!==$e&&Ve($e,Vt,Zt)},Ce=o&&u(function(){return k(Ve({},"a",{get:function(){return Ve(this,"a",{value:7}).a}})).a!==7})?ye:Ve,Fe=function(tt,Vt){var kt=xt[tt]=k(yt);return Le(kt,{type:_e,tag:tt,description:Vt}),o||(kt.description=Vt),kt},je=function(Vt,kt,Zt){Vt===$e&&je(ht,kt,Zt),p(Vt);var Nt=_(kt);return p(Zt),a(xt,Nt)?(Zt.enumerable?(a(Vt,se)&&Vt[se][Nt]&&(Vt[se][Nt]=!1),Zt=k(Zt,{enumerable:A(0,!1)})):(a(Vt,se)||Ve(Vt,se,A(1,{})),Vt[se][Nt]=!0),Ce(Vt,Nt,Zt)):Ve(Vt,Nt,Zt)},Ge=function(Vt,kt){p(Vt);var Zt=y(kt),Nt=L(Zt).concat(Pe(Zt));return $(Nt,function(At){(!o||l(ct,Zt,At))&&je(Vt,At,Zt[At])}),Vt},it=function(Vt,kt){return kt===void 0?k(Vt):Ge(k(Vt),kt)},ct=function(Vt){var kt=_(Vt),Zt=l(Ut,this,kt);return this===$e&&a(xt,kt)&&!a(ht,kt)?!1:Zt||!a(this,kt)||!a(xt,kt)||a(this,se)&&this[se][kt]?Zt:!0},Gt=function(Vt,kt){var Zt=y(Vt),Nt=_(kt);if(!(Zt===$e&&a(xt,Nt)&&!a(ht,Nt))){var At=lr(Zt,Nt);return At&&a(xt,Nt)&&!(a(Zt,se)&&Zt[se][Nt])&&(At.enumerable=!0),At}},Ht=function(Vt){var kt=Ct(y(Vt)),Zt=[];return $(kt,function(Nt){!a(xt,Nt)&&!a(Q,Nt)&&st(Zt,Nt)}),Zt},Pe=function(tt){var Vt=tt===$e,kt=Ct(Vt?ht:y(tt)),Zt=[];return $(kt,function(Nt){a(xt,Nt)&&(!Vt||a($e,Nt))&&st(Zt,xt[Nt])}),Zt};h||(Bt=function(){if(x(yt,this))throw new rr("Symbol is not a constructor");var Vt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),kt=J(Vt),Zt=function(Nt){var At=this===void 0?i:this;At===$e&&l(Zt,ht,Nt),a(At,se)&&a(At[se],kt)&&(At[se][kt]=!1);var qt=A(1,Nt);try{Ce(At,kt,qt)}catch(Ke){if(!(Ke instanceof It))throw Ke;ye(At,kt,qt)}};return o&&Ue&&Ce($e,kt,{configurable:!0,set:Zt}),Fe(kt,Vt)},yt=Bt[Oe],W(yt,"toString",function(){return He(this).tag}),W(Bt,"withoutSetter",function(tt){return Fe(J(tt),tt)}),G.f=ct,N.f=je,K.f=Ge,B.f=Gt,T.f=D.f=Ht,M.f=Pe,ue.f=function(tt){return Fe(V(tt),tt)},o&&(ne(yt,"description",{configurable:!0,get:function(){return He(this).description}}),f||W($e,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Bt}),$(L(rt),function(tt){ee(tt)}),r({target:_e,stat:!0,forced:!h},{useSetter:function(){Ue=!0},useSimple:function(){Ue=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!o},{create:it,defineProperty:je,defineProperties:Ge,getOwnPropertyDescriptor:Gt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Ht}),X(),ce(Bt,_e),Q[se]=!0},44852:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(94237),f=e(32621),o=e(55327),h=e(16332),u=e(69905),a=e(64110),x=e(24538),p=l.Symbol,y=p&&p.prototype;if(i&&o(p)&&(!("description"in y)||p().description!==void 0)){var _={},b=function(){var N=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),K=h(y,this)?new p(N):N===void 0?p():p(N);return N===""&&(_[K]=!0),K};x(b,p),b.prototype=y,y.constructor=b;var A=String(p("description detection"))==="Symbol(description detection)",k=c(y.valueOf),L=c(y.toString),T=/^Symbol\((.*)\)[^)]+$/,D=c("".replace),M=c("".slice);a(y,"description",{configurable:!0,get:function(){var N=k(this);if(f(_,N))return"";var K=L(N),G=A?M(K,7,-1):D(K,T,"$1");return G===""?void 0:G}}),r({global:!0,constructor:!0,forced:!0},{Symbol:b})}},54524:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(32621),c=e(69905),f=e(77898),o=e(60798),h=f("string-to-symbol-registry"),u=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!o},{for:function(a){var x=c(a);if(l(h,x))return h[x];var p=i("Symbol")(x);return h[x]=p,u[p]=x,p}})},17898:function(d,v,e){"use strict";var r=e(94674);r("hasInstance")},40902:function(d,v,e){"use strict";var r=e(94674);r("isConcatSpreadable")},2259:function(d,v,e){"use strict";var r=e(94674);r("iterator")},68557:function(d,v,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(d,v,e){"use strict";var r=e(94488),i=e(32621),l=e(18446),c=e(40593),f=e(77898),o=e(60798),h=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!o},{keyFor:function(a){if(!l(a))throw new TypeError(c(a)+" is not a symbol");if(i(h,a))return h[a]}})},69811:function(d,v,e){"use strict";var r=e(94674);r("matchAll")},14589:function(d,v,e){"use strict";var r=e(94674);r("match")},18114:function(d,v,e){"use strict";var r=e(94674);r("replace")},23844:function(d,v,e){"use strict";var r=e(94674);r("search")},39581:function(d,v,e){"use strict";var r=e(94674);r("species")},40632:function(d,v,e){"use strict";var r=e(94674);r("split")},22690:function(d,v,e){"use strict";var r=e(94674),i=e(14311);r("toPrimitive"),i()},7786:function(d,v,e){"use strict";var r=e(65911),i=e(94674),l=e(94573);i("toStringTag"),l(r("Symbol"),"Symbol")},99062:function(d,v,e){"use strict";var r=e(94674);r("unscopables")},35246:function(d,v,e){"use strict";var r=e(58261),i=e(82762),l=e(56902),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("at",function(h){var u=c(this),a=i(u),x=l(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]})},83470:function(d,v,e){"use strict";var r=e(94237),i=e(58261),l=e(92670),c=r(l),f=i.aTypedArray,o=i.exportTypedArrayMethod;o("copyWithin",function(u,a){return c(f(this),u,a,arguments.length>2?arguments[2]:void 0)})},79641:function(d,v,e){"use strict";var r=e(58261),i=e(90560).every,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("every",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},72397:function(d,v,e){"use strict";var r=e(58261),i=e(75202),l=e(93303),c=e(97607),f=e(89945),o=e(94237),h=e(3338),u=r.aTypedArray,a=r.exportTypedArrayMethod,x=o("".slice),p=h(function(){var y=0;return new Int8Array(2).fill({valueOf:function(){return y++}}),y!==1});a("fill",function(_){var b=arguments.length;u(this);var A=x(c(this),0,3)==="Big"?l(_):+_;return f(i,this,A,b>1?arguments[1]:void 0,b>2?arguments[2]:void 0)},p)},24860:function(d,v,e){"use strict";var r=e(58261),i=e(90560).filter,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filter",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)})},56233:function(d,v,e){"use strict";var r=e(58261),i=e(90560).findIndex,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findIndex",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},64344:function(d,v,e){"use strict";var r=e(58261),i=e(53279).findLastIndex,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findLastIndex",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},59419:function(d,v,e){"use strict";var r=e(58261),i=e(53279).findLast,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("findLast",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},19320:function(d,v,e){"use strict";var r=e(58261),i=e(90560).find,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("find",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},84432:function(d,v,e){"use strict";var r=e(69733);r("Float32",function(i){return function(c,f,o){return i(this,c,f,o)}})},59022:function(d,v,e){"use strict";var r=e(69733);r("Float64",function(i){return function(c,f,o){return i(this,c,f,o)}})},5316:function(d,v,e){"use strict";var r=e(58261),i=e(90560).forEach,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("forEach",function(o){i(l(this),o,arguments.length>1?arguments[1]:void 0)})},93744:function(d,v,e){"use strict";var r=e(59627),i=e(58261).exportTypedArrayStaticMethod,l=e(50706);i("from",l,r)},19299:function(d,v,e){"use strict";var r=e(58261),i=e(22999).includes,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("includes",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},15286:function(d,v,e){"use strict";var r=e(58261),i=e(22999).indexOf,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("indexOf",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},51054:function(d,v,e){"use strict";var r=e(69733);r("Int16",function(i){return function(c,f,o){return i(this,c,f,o)}})},60330:function(d,v,e){"use strict";var r=e(69733);r("Int32",function(i){return function(c,f,o){return i(this,c,f,o)}})},19363:function(d,v,e){"use strict";var r=e(69733);r("Int8",function(i){return function(c,f,o){return i(this,c,f,o)}})},91927:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(58261),f=e(11005),o=e(59893),h=o("iterator"),u=r.Uint8Array,a=l(f.values),x=l(f.keys),p=l(f.entries),y=c.aTypedArray,_=c.exportTypedArrayMethod,b=u&&u.prototype,A=!i(function(){b[h].call([1])}),k=!!b&&b.values&&b[h]===b.values&&b.values.name==="values",L=function(){return a(y(this))};_("entries",function(){return p(y(this))},A),_("keys",function(){return x(y(this))},A),_("values",L,A||!k,{name:"values"}),_(h,L,A||!k,{name:"values"})},27730:function(d,v,e){"use strict";var r=e(58261),i=e(94237),l=r.aTypedArray,c=r.exportTypedArrayMethod,f=i([].join);c("join",function(h){return f(l(this),h)})},58707:function(d,v,e){"use strict";var r=e(58261),i=e(13743),l=e(55009),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("lastIndexOf",function(h){var u=arguments.length;return i(l,c(this),u>1?[h,arguments[1]]:[h])})},41356:function(d,v,e){"use strict";var r=e(58261),i=e(90560).map,l=e(31384),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("map",function(h){return i(c(this),h,arguments.length>1?arguments[1]:void 0,function(u,a){return new(l(u))(a)})})},51606:function(d,v,e){"use strict";var r=e(58261),i=e(59627),l=r.aTypedArrayConstructor,c=r.exportTypedArrayStaticMethod;c("of",function(){for(var o=0,h=arguments.length,u=new(l(this))(h);h>o;)u[o]=arguments[o++];return u},i)},38458:function(d,v,e){"use strict";var r=e(58261),i=e(16370).right,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("reduceRight",function(o){var h=arguments.length;return i(l(this),o,h,h>1?arguments[1]:void 0)})},8966:function(d,v,e){"use strict";var r=e(58261),i=e(16370).left,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("reduce",function(o){var h=arguments.length;return i(l(this),o,h,h>1?arguments[1]:void 0)})},71957:function(d,v,e){"use strict";var r=e(58261),i=r.aTypedArray,l=r.exportTypedArrayMethod,c=Math.floor;l("reverse",function(){for(var o=this,h=i(o).length,u=c(h/2),a=0,x;a<u;)x=o[a],o[a++]=o[--h],o[h]=x;return o})},89466:function(d,v,e){"use strict";var r=e(92916),i=e(89945),l=e(58261),c=e(82762),f=e(64135),o=e(94029),h=e(3338),u=r.RangeError,a=r.Int8Array,x=a&&a.prototype,p=x&&x.set,y=l.aTypedArray,_=l.exportTypedArrayMethod,b=!h(function(){var k=new Uint8ClampedArray(2);return i(p,k,{length:1,0:3},1),k[1]!==3}),A=b&&l.NATIVE_ARRAY_BUFFER_VIEWS&&h(function(){var k=new a(2);return k.set(1),k.set("2",1),k[0]!==0||k[1]!==2});_("set",function(L){y(this);var T=f(arguments.length>1?arguments[1]:void 0,1),D=o(L);if(b)return i(p,this,D,T);var M=this.length,B=c(D),N=0;if(B+T>M)throw new u("Wrong length");for(;N<B;)this[T+N]=D[N++]},!b||A)},69653:function(d,v,e){"use strict";var r=e(58261),i=e(31384),l=e(3338),c=e(30867),f=r.aTypedArray,o=r.exportTypedArrayMethod,h=l(function(){new Int8Array(1).slice()});o("slice",function(a,x){for(var p=c(f(this),a,x),y=i(this),_=0,b=p.length,A=new y(b);b>_;)A[_]=p[_++];return A},h)},96519:function(d,v,e){"use strict";var r=e(58261),i=e(90560).some,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("some",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},95576:function(d,v,e){"use strict";var r=e(92916),i=e(34114),l=e(3338),c=e(63335),f=e(63668),o=e(58261),h=e(78177),u=e(17687),a=e(46573),x=e(19684),p=o.aTypedArray,y=o.exportTypedArrayMethod,_=r.Uint16Array,b=_&&i(_.prototype.sort),A=!!b&&!(l(function(){b(new _(2),null)})&&l(function(){b(new _(2),{})})),k=!!b&&!l(function(){if(a)return a<74;if(h)return h<67;if(u)return!0;if(x)return x<602;var T=new _(516),D=Array(516),M,B;for(M=0;M<516;M++)B=M%4,T[M]=515-M,D[M]=M-2*B+3;for(b(T,function(N,K){return(N/4|0)-(K/4|0)}),M=0;M<516;M++)if(T[M]!==D[M])return!0}),L=function(T){return function(D,M){return T!==void 0?+T(D,M)||0:M!==M?-1:D!==D?1:D===0&&M===0?1/D>0&&1/M<0?1:-1:D>M}};y("sort",function(D){return D!==void 0&&c(D),k?b(this,D):f(p(this),L(D))},!k||A)},63079:function(d,v,e){"use strict";var r=e(58261),i=e(61578),l=e(51981),c=e(31384),f=r.aTypedArray,o=r.exportTypedArrayMethod;o("subarray",function(u,a){var x=f(this),p=x.length,y=l(u,p),_=c(x);return new _(x.buffer,x.byteOffset+y*x.BYTES_PER_ELEMENT,i((a===void 0?p:l(a,p))-y))})},8995:function(d,v,e){"use strict";var r=e(92916),i=e(13743),l=e(58261),c=e(3338),f=e(30867),o=r.Int8Array,h=l.aTypedArray,u=l.exportTypedArrayMethod,a=[].toLocaleString,x=!!o&&c(function(){a.call(new o(1))}),p=c(function(){return[1,2].toLocaleString()!==new o([1,2]).toLocaleString()})||!c(function(){o.prototype.toLocaleString.call([1,2])});u("toLocaleString",function(){return i(a,x?f(h(this)):h(this),f(arguments))},p)},23080:function(d,v,e){"use strict";var r=e(85903),i=e(58261),l=i.aTypedArray,c=i.exportTypedArrayMethod,f=i.getTypedArrayConstructor;c("toReversed",function(){return r(l(this),f(this))})},74701:function(d,v,e){"use strict";var r=e(58261),i=e(94237),l=e(63335),c=e(69478),f=r.aTypedArray,o=r.getTypedArrayConstructor,h=r.exportTypedArrayMethod,u=i(r.TypedArrayPrototype.sort);h("toSorted",function(x){x!==void 0&&l(x);var p=f(this),y=c(o(p),p);return u(y,x)})},91809:function(d,v,e){"use strict";var r=e(58261).exportTypedArrayMethod,i=e(3338),l=e(92916),c=e(94237),f=l.Uint8Array,o=f&&f.prototype||{},h=[].toString,u=c([].join);i(function(){h.call({})})&&(h=function(){return u(this)});var a=o.toString!==h;r("toString",h,a)},64336:function(d,v,e){"use strict";var r=e(69733);r("Uint16",function(i){return function(c,f,o){return i(this,c,f,o)}})},63914:function(d,v,e){"use strict";var r=e(69733);r("Uint32",function(i){return function(c,f,o){return i(this,c,f,o)}})},55234:function(d,v,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,o){return i(this,c,f,o)}})},88104:function(d,v,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,o){return i(this,c,f,o)}},!0)},77517:function(d,v,e){"use strict";var r=e(82041),i=e(58261),l=e(75406),c=e(56902),f=e(93303),o=i.aTypedArray,h=i.getTypedArrayConstructor,u=i.exportTypedArrayMethod,a=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(x){return x===8}}();u("with",function(x,p){var y=o(this),_=c(x),b=l(y)?f(p):+p;return r(y,h(y),_,b)},!a)},30149:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=String.fromCharCode,f=i("".charAt),o=i(/./.exec),h=i("".slice),u=/^[\da-f]{2}$/i,a=/^[\da-f]{4}$/i;r({global:!0},{unescape:function(p){for(var y=l(p),_="",b=y.length,A=0,k,L;A<b;){if(k=f(y,A++),k==="%"){if(f(y,A)==="u"){if(L=h(y,A+1,A+5),o(a,L)){_+=c(parseInt(L,16)),A+=5;continue}}else if(L=h(y,A,A+2),o(u,L)){_+=c(parseInt(L,16)),A+=2;continue}}_+=k}return _}})},58453:function(d,v,e){"use strict";var r=e(13247),i=e(92916),l=e(94237),c=e(66477),f=e(2074),o=e(48059),h=e(39656),u=e(31946),a=e(94844).enforce,x=e(3338),p=e(40115),y=Object,_=Array.isArray,b=y.isExtensible,A=y.isFrozen,k=y.isSealed,L=y.freeze,T=y.seal,D={},M={},B=!i.ActiveXObject&&"ActiveXObject"in i,N,K=function(V){return function(){return V(this,arguments.length?arguments[0]:void 0)}},G=o("WeakMap",K,h),W=G.prototype,ne=l(W.set),ae=function(){return r&&x(function(){var V=L([]);return ne(new G,V,1),!A(V)})};if(p)if(B){N=h.getConstructor(K,"WeakMap",!0),f.enable();var le=l(W.delete),Q=l(W.has),J=l(W.get);c(W,{delete:function(V){if(u(V)&&!b(V)){var ue=a(this);return ue.frozen||(ue.frozen=new N),le(this,V)||ue.frozen.delete(V)}return le(this,V)},has:function(ue){if(u(ue)&&!b(ue)){var ee=a(this);return ee.frozen||(ee.frozen=new N),Q(this,ue)||ee.frozen.has(ue)}return Q(this,ue)},get:function(ue){if(u(ue)&&!b(ue)){var ee=a(this);return ee.frozen||(ee.frozen=new N),Q(this,ue)?J(this,ue):ee.frozen.get(ue)}return J(this,ue)},set:function(ue,ee){if(u(ue)&&!b(ue)){var X=a(this);X.frozen||(X.frozen=new N),Q(this,ue)?ne(this,ue,ee):X.frozen.set(ue,ee)}else ne(this,ue,ee);return this}})}else ae()&&c(W,{set:function(ue,ee){var X;return _(ue)&&(A(ue)?X=D:k(ue)&&(X=M)),ne(this,ue,ee),X===D&&L(ue),X===M&&T(ue),this}})},55410:function(d,v,e){"use strict";e(58453)},65092:function(d,v,e){"use strict";var r=e(48059),i=e(39656);r("WeakSet",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},46161:function(d,v,e){"use strict";e(65092)},88900:function(d,v,e){"use strict";var r=e(35454),i=e(64110),l=e(93683),c=ArrayBuffer.prototype;r&&!("detached"in c)&&i(c,"detached",{configurable:!0,get:function(){return l(this)}})},81138:function(d,v,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},54815:function(d,v,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},2722:function(d,v,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterOut:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterOut")},55885:function(d,v,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterReject:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterReject")},91130:function(d,v,e){"use strict";var r=e(94488),i=e(32278);r({target:"Array",stat:!0},{fromAsync:i})},64963:function(d,v,e){"use strict";var r=e(94488),i=e(45601),l=e(81181),c=e(33940),f=e(16697);r({target:"Array",proto:!0,name:"groupToMap",forced:f||!i("groupByToMap")},{groupByToMap:c}),l("groupByToMap")},8604:function(d,v,e){"use strict";var r=e(94488),i=e(36444),l=e(45601),c=e(81181);r({target:"Array",proto:!0,forced:!l("groupBy")},{groupBy:function(o){var h=arguments.length>1?arguments[1]:void 0;return i(this,o,h)}}),c("groupBy")},25178:function(d,v,e){"use strict";var r=e(94488),i=e(81181),l=e(33940),c=e(16697);r({target:"Array",proto:!0,forced:c},{groupToMap:l}),i("groupToMap")},39034:function(d,v,e){"use strict";var r=e(94488),i=e(36444),l=e(81181);r({target:"Array",proto:!0},{group:function(f){var o=arguments.length>1?arguments[1]:void 0;return i(this,f,o)}}),l("group")},1905:function(d,v,e){"use strict";var r=e(94488),i=e(18589),l=Object.isFrozen,c=function(f,o){if(!l||!i(f)||!l(f))return!1;for(var h=0,u=f.length,a;h<u;)if(a=f[h++],!(typeof a=="string"||o&&a===void 0))return!1;return u!==0};r({target:"Array",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(o){if(!c(o,!0))return!1;var h=o.raw;return h.length===o.length&&c(h,!1)}})},94306:function(d,v,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastIndex",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?0:u-1}}),i("lastIndex"))},11762:function(d,v,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastItem",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?void 0:h[u-1]},set:function(h){var u=l(this),a=c(u);return u[a===0?0:a-1]=h}}),i("lastItem"))},93164:function(d,v,e){"use strict";var r=e(94488),i=e(81181),l=e(65621);r({target:"Array",proto:!0,forced:!0},{uniqueBy:l}),i("uniqueBy")},37252:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),o=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("Promise"),_=l("SuppressedError"),b=ReferenceError,A=a("asyncDispose"),k=a("toStringTag"),L="AsyncDisposableStack",T=x.set,D=x.getterFor(L),M="async-dispose",B="disposed",N="pending",K=function(ne){var ae=D(ne);if(ae.state===B)throw new b(L+" already disposed");return ae},G=function(){T(f(this,W),{type:L,state:N,stack:[]}),i||(this.disposed=!1)},W=G.prototype;h(W,{disposeAsync:function(){var ae=this;return new y(function(le,Q){var J=D(ae);if(J.state===B)return le(void 0);J.state=B,i||(ae.disposed=!0);var V=J.stack,ue=V.length,ee=!1,X,ce=function($){ee?X=new _($,X):(ee=!0,X=$),z()},z=function(){if(ue){var $=V[--ue];V[ue]=null;try{y.resolve($()).then(z,ce)}catch(se){ce(se)}}else J.stack=null,ee?Q(X):le(void 0)};z()})},use:function(ae){return p(K(this),ae,M),ae},adopt:function(ae,le){var Q=K(this);return c(le),p(Q,void 0,M,function(){return le(ae)}),ae},defer:function(ae){var le=K(this);c(ae),p(le,void 0,M,ae)},move:function(){var ae=K(this),le=new G;return D(le).stack=ae.stack,ae.stack=[],ae.state=B,i||(this.disposed=!0),le}}),i&&u(W,"disposed",{configurable:!0,get:function(){return D(this).state===B}}),o(W,A,W.disposeAsync,{name:"disposeAsync"}),o(W,k,L,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:G})},48966:function(d,v,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},13015:function(d,v,e){"use strict";var r=e(89945),i=e(2291),l=e(65911),c=e(53776),f=e(32621),o=e(59893),h=e(14052),u=o("asyncDispose"),a=l("Promise");f(h,u)||i(h,u,function(){var x=this;return new a(function(p,y){var _=c(x,"return");_?a.resolve(r(_,x)).then(function(){p(void 0)},y):p(void 0)})})},81673:function(d,v,e){"use strict";var r=e(94488),i=e(56472),l=e(53456),c=e(68151),f=e(32621),o=e(59893),h=e(14052),u=e(16697),a=o("toStringTag"),x=TypeError,p=function(){if(i(this,h),l(this)===h)throw new x("Abstract class AsyncIterator not directly constructable")};p.prototype=h,f(h,a)||c(h,a,"AsyncIterator"),(u||!f(h,"constructor")||h.constructor===Object)&&c(h,"constructor",p),r({global:!0,constructor:!0,forced:u},{AsyncIterator:p})},78527:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),o=e(51358),h=e(31342),u=e(25587),a=e(16697),x=h(function(p){var y=this;return new p(function(_,b){var A=function(L){y.done=!0,b(L)},k=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--,k()):_(u(L.value,!1))}catch(T){A(T)}},A)}catch(L){A(L)}};k()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{drop:function(y){l(this);var _=o(f(+y));return new x(c(this),{remaining:_})}})},20511:function(d,v,e){"use strict";var r=e(94488),i=e(55266).every;r({target:"AsyncIterator",proto:!0,real:!0},{every:function(c){return i(this,c)}})},78366:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),o=e(10731),h=e(31342),u=e(25587),a=e(28255),x=e(16697),p=h(function(y){var _=this,b=_.iterator,A=_.predicate;return new y(function(k,L){var T=function(B){_.done=!0,L(B)},D=function(B){a(b,T,B,T)},M=function(){try{y.resolve(c(i(_.next,b))).then(function(B){try{if(c(B).done)_.done=!0,k(u(void 0,!0));else{var N=B.value;try{var K=A(N,_.counter++),G=function(W){W?k(u(N,!1)):M()};f(K)?y.resolve(K).then(G,D):G(K)}catch(W){D(W)}}}catch(W){T(W)}},T)}catch(B){T(B)}};M()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:x},{filter:function(_){return c(this),l(_),new p(o(this),{predicate:_})}})},27427:function(d,v,e){"use strict";var r=e(94488),i=e(55266).find;r({target:"AsyncIterator",proto:!0,real:!0},{find:function(c){return i(this,c)}})},43890:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),o=e(10731),h=e(31342),u=e(25587),a=e(38116),x=e(28255),p=e(16697),y=h(function(_){var b=this,A=b.iterator,k=b.mapper;return new _(function(L,T){var D=function(K){b.done=!0,T(K)},M=function(K){x(A,D,K,D)},B=function(){try{_.resolve(c(i(b.next,A))).then(function(K){try{if(c(K).done)b.done=!0,L(u(void 0,!0));else{var G=K.value;try{var W=k(G,b.counter++),ne=function(ae){try{b.inner=a(ae),N()}catch(le){M(le)}};f(W)?_.resolve(W).then(ne,M):ne(W)}catch(ae){M(ae)}}}catch(ae){D(ae)}},D)}catch(K){D(K)}},N=function(){var K=b.inner;if(K)try{_.resolve(c(i(K.next,K.iterator))).then(function(G){try{c(G).done?(b.inner=null,B()):L(u(G.value,!1))}catch(W){M(W)}},M)}catch(G){M(G)}else B()};N()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:p},{flatMap:function(b){return c(this),l(b),new y(o(this),{mapper:b,inner:null})}})},55844:function(d,v,e){"use strict";var r=e(94488),i=e(55266).forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(c){return i(this,c)}})},71361:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(16332),c=e(38116),f=e(14052),o=e(80025),h=e(16697);r({target:"AsyncIterator",stat:!0,forced:h},{from:function(a){var x=c(typeof a=="string"?i(a):a);return l(f,x.iterator)?x.iterator:new o(x)}})},44550:function(d,v,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{indexed:i})},413:function(d,v,e){"use strict";var r=e(94488),i=e(41586),l=e(16697);r({target:"AsyncIterator",proto:!0,real:!0,forced:l},{map:i})},77464:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),o=e(65911),h=e(10731),u=e(28255),a=o("Promise"),x=TypeError;r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(y){c(this),l(y);var _=h(this),b=_.iterator,A=_.next,k=arguments.length<2,L=k?void 0:arguments[1],T=0;return new a(function(D,M){var B=function(K){u(b,M,K,M)},N=function(){try{a.resolve(c(i(A,b))).then(function(K){try{if(c(K).done)k?M(new x("Reduce of empty iterator with no initial value")):D(L);else{var G=K.value;if(k)k=!1,L=G,N();else try{var W=y(L,G,T),ne=function(ae){L=ae,N()};f(W)?a.resolve(W).then(ne,B):ne(W)}catch(ae){B(ae)}}T++}catch(ae){M(ae)}},M)}catch(K){M(K)}};N()})}})},77703:function(d,v,e){"use strict";var r=e(94488),i=e(55266).some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(c){return i(this,c)}})},93854:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),o=e(51358),h=e(31342),u=e(25587),a=e(16697),x=h(function(p){var y=this,_=y.iterator,b;if(!y.remaining--){var A=u(void 0,!0);return y.done=!0,b=_.return,b!==void 0?p.resolve(i(b,_,void 0)).then(function(){return A}):A}return p.resolve(i(y.next,_)).then(function(k){return l(k).done?(y.done=!0,u(void 0,!0)):u(k.value,!1)}).then(null,function(k){throw y.done=!0,k})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var _=o(f(+y));return new x(c(this),{remaining:_})}})},962:function(d,v,e){"use strict";var r=e(94488),i=e(55266).toArray;r({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return i(this,void 0,[])}})},44169:function(d,v,e){"use strict";var r=e(94488),i=e(17243);typeof BigInt=="function"&&r({target:"BigInt",stat:!0,forced:!0},{range:function(c,f,o){return new i(c,f,o,"bigint",BigInt(0),BigInt(1))}})},56272:function(d,v,e){"use strict";var r=e(94488),i=e(13743),l=e(32754),c=e(65911),f=e(20132),o=Object,h=function(){var u=c("Object","freeze");return u?u(f(null)):f(null)};r({global:!0,forced:!0},{compositeKey:function(){return i(l,o,arguments).get("object",h)}})},43466:function(d,v,e){"use strict";var r=e(94488),i=e(32754),l=e(65911),c=e(13743);r({global:!0,forced:!0},{compositeSymbol:function(){return arguments.length===1&&typeof arguments[0]=="string"?l("Symbol").for(arguments[0]):c(i,null,arguments).get("symbol",l("Symbol"))}})},48156:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(61618).unpack,c=i(DataView.prototype.getUint16);r({target:"DataView",proto:!0},{getFloat16:function(o){var h=c(this,o,arguments.length>1?arguments[1]:!1);return l([h&255,h>>8&255],10)}})},93236:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=i(DataView.prototype.getUint8);r({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(f){return l(this,f)}})},42212:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(97607),c=e(24225),f=e(61618).pack,o=e(35175),h=TypeError,u=i(DataView.prototype.setUint16);r({target:"DataView",proto:!0},{setFloat16:function(x,p){if(l(this)!=="DataView")throw new h("Incorrect receiver");var y=c(x),_=f(o(p),10,2);return u(this,y,_[1]<<8|_[0],arguments.length>2?arguments[2]:!1)}})},63923:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(97607),c=e(24225),f=e(86350),o=TypeError,h=i(DataView.prototype.setUint8);r({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(a,x){if(l(this)!=="DataView")throw new o("Incorrect receiver");var p=c(a);return h(this,p,f(x))}})},2278:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),o=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("SuppressedError"),_=ReferenceError,b=a("dispose"),A=a("toStringTag"),k="DisposableStack",L=x.set,T=x.getterFor(k),D="sync-dispose",M="disposed",B="pending",N=function(W){var ne=T(W);if(ne.state===M)throw new _(k+" already disposed");return ne},K=function(){L(f(this,G),{type:k,state:B,stack:[]}),i||(this.disposed=!1)},G=K.prototype;h(G,{dispose:function(){var ne=T(this);if(ne.state!==M){ne.state=M,i||(this.disposed=!0);for(var ae=ne.stack,le=ae.length,Q=!1,J;le;){var V=ae[--le];ae[le]=null;try{V()}catch(ue){Q?J=new y(ue,J):(Q=!0,J=ue)}}if(ne.stack=null,Q)throw J}},use:function(ne){return p(N(this),ne,D),ne},adopt:function(ne,ae){var le=N(this);return c(ae),p(le,void 0,D,function(){ae(ne)}),ne},defer:function(ne){var ae=N(this);c(ne),p(ae,void 0,D,ne)},move:function(){var ne=N(this),ae=new K;return T(ae).stack=ne.stack,ne.stack=[],ne.state=M,i||(this.disposed=!0),ae}}),i&&u(G,"disposed",{configurable:!0,get:function(){return T(this).state===M}}),o(G,b,G.dispose,{name:"dispose"}),o(G,A,k,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:K})},36955:function(d,v,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0},{demethodize:i})},77326:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(55327),c=e(15212),f=e(32621),o=e(35454),h=Object.getOwnPropertyDescriptor,u=/^\s*class\b/,a=i(u.exec),x=function(p){try{if(!o||!a(u,c(p)))return!1}catch(_){}var y=h(p,"prototype");return!!y&&f(y,"writable")&&!y.writable};r({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(y){return l(y)&&!x(y)}})},53571:function(d,v,e){"use strict";var r=e(94488),i=e(39812);r({target:"Function",stat:!0,forced:!0},{isConstructor:i})},28670:function(d,v,e){"use strict";var r=e(59893),i=e(37691).f,l=r("metadata"),c=Function.prototype;c[l]===void 0&&i(c,l,{value:null})},31050:function(d,v,e){"use strict";var r=e(94488),i=e(47739);r({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:i})},96364:function(d,v,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},25321:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(56472),c=e(80449),f=e(55327),o=e(53456),h=e(64110),u=e(69392),a=e(3338),x=e(32621),p=e(59893),y=e(46571).IteratorPrototype,_=e(35454),b=e(16697),A="constructor",k="Iterator",L=p("toStringTag"),T=TypeError,D=i[k],M=b||!f(D)||D.prototype!==y||!a(function(){D({})}),B=function(){if(l(this,y),o(this)===y)throw new T("Abstract class Iterator not directly constructable")},N=function(K,G){_?h(y,K,{configurable:!0,get:function(){return G},set:function(W){if(c(this),this===y)throw new T("You can't redefine this property");x(this,K)?this[K]=W:u(this,K,W)}}):y[K]=G};x(y,L)||N(L,k),(M||!x(y,A)||y[A]===Object)&&N(A,B),B.prototype=y,r({global:!0,constructor:!0,forced:M},{Iterator:B})},46304:function(d,v,e){"use strict";var r=e(89945),i=e(2291),l=e(53776),c=e(32621),f=e(59893),o=e(46571).IteratorPrototype,h=f("dispose");c(o,h)||i(o,h,function(){var u=l(this,"return");u&&r(u,this)})},55163:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),o=e(51358),h=e(20547),u=e(16697),a=h(function(){for(var x=this.iterator,p=this.next,y,_;this.remaining;)if(this.remaining--,y=l(i(p,x)),_=this.done=!!y.done,_)return;if(y=l(i(p,x)),_=this.done=!!y.done,!_)return y.value});r({target:"Iterator",proto:!0,real:!0,forced:u},{drop:function(p){l(this);var y=o(f(+p));return new a(c(this),{remaining:y})}})},78722:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{every:function(h){c(this),l(h);var u=f(this),a=0;return!i(u,function(x,p){if(!h(x,a++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(10731),o=e(20547),h=e(46319),u=e(16697),a=o(function(){for(var x=this.iterator,p=this.predicate,y=this.next,_,b,A;;){if(_=c(i(y,x)),b=this.done=!!_.done,b)return;if(A=_.value,h(x,p,[A,this.counter++],!0))return A}});r({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(p){return c(this),l(p),new a(f(this),{predicate:p})}})},81848:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{find:function(h){c(this),l(h);var u=f(this),a=0;return i(u,function(x,p){if(h(x,a++))return p(x)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(10731),o=e(7157),h=e(20547),u=e(67996),a=e(16697),x=h(function(){for(var p=this.iterator,y=this.mapper,_,b;;){if(b=this.inner)try{if(_=c(i(b.next,b.iterator)),!_.done)return _.value;this.inner=null}catch(A){u(p,"throw",A)}if(_=c(i(this.next,p)),this.done=!!_.done)return;try{this.inner=o(y(_.value,this.counter++),!1)}catch(A){u(p,"throw",A)}}});r({target:"Iterator",proto:!0,real:!0,forced:a},{flatMap:function(y){return c(this),l(y),new x(f(this),{mapper:y,inner:null})}})},72211:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{forEach:function(h){c(this),l(h);var u=f(this),a=0;i(u,function(x){h(x,a++)},{IS_RECORD:!0})}})},84862:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(94029),c=e(16332),f=e(46571).IteratorPrototype,o=e(20547),h=e(7157),u=e(16697),a=o(function(){return i(this.next,this.iterator)},!0);r({target:"Iterator",stat:!0,forced:u},{from:function(p){var y=h(typeof p=="string"?l(p):p,!0);return c(f,y.iterator)?y.iterator:new a(y)}})},92381:function(d,v,e){"use strict";var r=e(94488),i=e(24771);r({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:i})},19517:function(d,v,e){"use strict";var r=e(94488),i=e(2155),l=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:l},{map:i})},69667:function(d,v,e){"use strict";var r=e(94488),i=e(17243),l=TypeError;r({target:"Iterator",stat:!0,forced:!0},{range:function(f,o,h){if(typeof f=="number")return new i(f,o,h,"number",0,1);if(typeof f=="bigint")return new i(f,o,h,"bigint",BigInt(0),BigInt(1));throw new l("Incorrect Iterator.range arguments")}})},80820:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731),o=TypeError;r({target:"Iterator",proto:!0,real:!0},{reduce:function(u){c(this),l(u);var a=f(this),x=arguments.length<2,p=x?void 0:arguments[1],y=0;if(i(a,function(_){x?(x=!1,p=_):p=u(p,_,y),y++},{IS_RECORD:!0}),x)throw new o("Reduce of empty iterator with no initial value");return p}})},87873:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(63335),c=e(80449),f=e(10731);r({target:"Iterator",proto:!0,real:!0},{some:function(h){c(this),l(h);var u=f(this),a=0;return i(u,function(x,p){if(h(x,a++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),o=e(51358),h=e(20547),u=e(67996),a=e(16697),x=h(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,u(p,"normal",void 0);var y=l(i(this.next,p)),_=this.done=!!y.done;if(!_)return y.value});r({target:"Iterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var _=o(f(+y));return new x(c(this),{remaining:_})}})},28566:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(62003),c=e(10731),f=[].push;r({target:"Iterator",proto:!0,real:!0},{toArray:function(){var h=[];return l(c(i(this)),f,{that:h,IS_RECORD:!0}),h}})},51697:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(57975),c=e(80025),f=e(10731),o=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:o},{toAsync:function(){return new c(f(new l(f(i(this)))))}})},61872:function(d,v,e){"use strict";var r=e(94488),i=e(82778),l=e(83502);r({target:"JSON",stat:!0,forced:!i},{isRawJSON:l})},76077:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(65911),f=e(94237),o=e(89945),h=e(55327),u=e(31946),a=e(18589),x=e(32621),p=e(69905),y=e(82762),_=e(69392),b=e(3338),A=e(70913),k=e(42820),L=l.JSON,T=l.Number,D=l.SyntaxError,M=L&&L.parse,B=c("Object","keys"),N=Object.getOwnPropertyDescriptor,K=f("".charAt),G=f("".slice),W=f(/./.exec),ne=f([].push),ae=/^\d$/,le=/^[1-9]$/,Q=/^(?:-|\d)$/,J=/^[\t\n\r ]$/,V=0,ue=1,ee=function(Oe,Le){Oe=p(Oe);var He=new $(Oe,0,""),$e=He.parse(),Bt=$e.value,yt=He.skip(J,$e.end);if(yt<Oe.length)throw new D('Unexpected extra character: "'+K(Oe,yt)+'" after the parsed data at: '+yt);return h(Le)?X({"":Bt},"",Le,$e):Bt},X=function(Oe,Le,He,$e){var Bt=Oe[Le],yt=$e&&Bt===$e.value,It=yt&&typeof $e.source=="string"?{source:$e.source}:{},rr,Yt,lr,Ve,Ct;if(u(Bt)){var Ut=a(Bt),st=yt?$e.nodes:Ut?[]:{};if(Ut)for(rr=st.length,lr=y(Bt),Ve=0;Ve<lr;Ve++)ce(Bt,Ve,X(Bt,""+Ve,He,Ve<rr?st[Ve]:void 0));else for(Yt=B(Bt),lr=y(Yt),Ve=0;Ve<lr;Ve++)Ct=Yt[Ve],ce(Bt,Ct,X(Bt,Ct,He,x(st,Ct)?st[Ct]:void 0))}return o(He,Oe,Le,Bt,It)},ce=function(Oe,Le,He){if(i){var $e=N(Oe,Le);if($e&&!$e.configurable)return}He===void 0?delete Oe[Le]:_(Oe,Le,He)},z=function(Oe,Le,He,$e){this.value=Oe,this.end=Le,this.source=He,this.nodes=$e},$=function(Oe,Le){this.source=Oe,this.index=Le};$.prototype={fork:function(Oe){return new $(this.source,Oe)},parse:function(){var Oe=this.source,Le=this.skip(J,this.index),He=this.fork(Le),$e=K(Oe,Le);if(W(Q,$e))return He.number();switch($e){case"{":return He.object();case"[":return He.array();case'"':return He.string();case"t":return He.keyword(!0);case"f":return He.keyword(!1);case"n":return He.keyword(null)}throw new D('Unexpected character: "'+$e+'" at: '+Le)},node:function(Oe,Le,He,$e,Bt){return new z(Le,$e,Oe?null:G(this.source,He,$e),Bt)},object:function(){for(var Oe=this.source,Le=this.index+1,He=!1,$e={},Bt={};Le<Oe.length;){if(Le=this.until(['"',"}"],Le),K(Oe,Le)==="}"&&!He){Le++;break}var yt=this.fork(Le).string(),It=yt.value;Le=yt.end,Le=this.until([":"],Le)+1,Le=this.skip(J,Le),yt=this.fork(Le).parse(),_(Bt,It,yt),_($e,It,yt.value),Le=this.until([",","}"],yt.end);var rr=K(Oe,Le);if(rr===",")He=!0,Le++;else if(rr==="}"){Le++;break}}return this.node(ue,$e,this.index,Le,Bt)},array:function(){for(var Oe=this.source,Le=this.index+1,He=!1,$e=[],Bt=[];Le<Oe.length;){if(Le=this.skip(J,Le),K(Oe,Le)==="]"&&!He){Le++;break}var yt=this.fork(Le).parse();if(ne(Bt,yt),ne($e,yt.value),Le=this.until([",","]"],yt.end),K(Oe,Le)===",")He=!0,Le++;else if(K(Oe,Le)==="]"){Le++;break}}return this.node(ue,$e,this.index,Le,Bt)},string:function(){var Oe=this.index,Le=A(this.source,this.index+1);return this.node(V,Le.value,Oe,Le.end)},number:function(){var Oe=this.source,Le=this.index,He=Le;if(K(Oe,He)==="-"&&He++,K(Oe,He)==="0")He++;else if(W(le,K(Oe,He)))He=this.skip(ae,++He);else throw new D("Failed to parse number at: "+He);if(K(Oe,He)==="."&&(He=this.skip(ae,++He)),K(Oe,He)==="e"||K(Oe,He)==="E"){He++,(K(Oe,He)==="+"||K(Oe,He)==="-")&&He++;var $e=He;if(He=this.skip(ae,He),$e===He)throw new D("Failed to parse number's exponent value at: "+He)}return this.node(V,T(G(Oe,Le,He)),Le,He)},keyword:function(Oe){var Le=""+Oe,He=this.index,$e=He+Le.length;if(G(this.source,He,$e)!==Le)throw new D("Failed to parse value at: "+He);return this.node(V,Oe,He,$e)},skip:function(Oe,Le){for(var He=this.source;Le<He.length&&W(Oe,K(He,Le));Le++);return Le},until:function(Oe,Le){Le=this.skip(J,Le);for(var He=K(this.source,Le),$e=0;$e<Oe.length;$e++)if(Oe[$e]===He)return Le;throw new D('Unexpected character: "'+He+'" at: '+Le)}};var se=b(function(){var Oe="9007199254740993",Le;return M(Oe,function(He,$e,Bt){Le=Bt.source}),Le!==Oe}),_e=k&&!b(function(){return 1/M("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:se},{parse:function(Le,He){return _e&&!h(He)?M(Le):ee(Le,He)}})},9196:function(d,v,e){"use strict";var r=e(94488),i=e(13247),l=e(82778),c=e(65911),f=e(89945),o=e(94237),h=e(55327),u=e(83502),a=e(69905),x=e(69392),p=e(70913),y=e(65451),_=e(6145),b=e(94844).set,A=String,k=SyntaxError,L=c("JSON","parse"),T=c("JSON","stringify"),D=c("Object","create"),M=c("Object","freeze"),B=o("".charAt),N=o("".slice),K=o(/./.exec),G=o([].push),W=_(),ne=W.length,ae="Unacceptable as raw JSON",le=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(J){var V=a(J);if(V===""||K(le,B(V,0))||K(le,B(V,V.length-1)))throw new k(ae);var ue=L(V);if(typeof ue=="object"&&ue!==null)throw new k(ae);var ee=D(null);return b(ee,{type:"RawJSON"}),x(ee,"rawJSON",V),i?M(ee):ee}}),T&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(J,V,ue){var ee=y(V),X=[],ce=T(J,function(He,$e){var Bt=h(ee)?f(ee,this,A(He),$e):$e;return u(Bt)?W+(G(X,Bt.rawJSON)-1):Bt},ue);if(typeof ce!="string")return ce;for(var z="",$=ce.length,se=0;se<$;se++){var _e=B(ce,se);if(_e==='"'){var Oe=p(ce,++se).end-1,Le=N(ce,se,Oe);z+=N(Le,0,ne)===W?X[N(Le,ne)]:'"'+Le+'"',se=Oe}else z+=_e}return z}})},5369:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(2786).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},26259:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(2786),c=l.get,f=l.has,o=l.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(u,a){var x=i(this),p,y;return f(x,u)?(p=c(x,u),"update"in a&&(p=a.update(p,u,x),o(x,u,p)),p):(y=a.insert(u,x),o(x,u,y),y)}})},47736:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(!u(a,x,h))return!1},!0)!==!1}})},28220:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_,b){p(_,b,x)&&h(y,b,_)}),y}})},49350:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{key:p}},!0);return a&&a.key}})},62060:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0),a=c(h,function(x,p){if(u(x,p,h))return{value:x}},!0);return a&&a.value}})},20126:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"Map",stat:!0,forced:!0},{from:i})},18090:function(d,v,e){"use strict";var r=e(94488),i=e(88134),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(o){return c(l(this),function(h){if(i(h,o))return!0},!0)===!0}})},14309:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(62003),c=e(55327),f=e(63335),o=e(2786).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(u,a){var x=c(this)?this:o,p=new x;f(a);var y=f(p.set);return l(u,function(_){i(y,p,a(_),_)}),p}})},17822:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(f){var o=l(i(this),function(h,u){if(h===f)return{key:u}},!0);return o&&o.key}})},83543:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_,b){h(y,p(_,b,x),_)}),y}})},13853:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_,b){h(y,b,p(_,b,x))}),y}})},25188:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(62003),c=e(2786).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(o){for(var h=i(this),u=arguments.length,a=0;a<u;)l(arguments[a++],function(x,p){c(h,x,p)},{AS_ENTRIES:!0});return h}})},10215:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"Map",stat:!0,forced:!0},{of:i})},3432:function(d,v,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(95037),f=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p,y){a?(a=!1,x=p):x=h(x,p,y,u)}),a)throw new f("Reduce of empty map with no initial value");return x}})},90486:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(95037);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0);return c(h,function(a,x){if(u(a,x,h))return!0},!0)===!0}})},8774:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:i})},6736:function(d,v,e){"use strict";var r=e(94488),i=e(63335),l=e(42683),c=e(2786),f=TypeError,o=c.get,h=c.has,u=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(x,p){var y=l(this),_=arguments.length;i(p);var b=h(y,x);if(!b&&_<3)throw new f("Updating absent value");var A=b?o(y,x):i(_>2?arguments[2]:void 0)(x,y);return u(y,x,p(A,x,y)),y}})},94065:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"Map",proto:!0,real:!0,forced:!0},{upsert:i})},93036:function(d,v,e){"use strict";var r=e(94488),i=Math.min,l=Math.max;r({target:"Math",stat:!0,forced:!0},{clamp:function(f,o,h){return i(h,l(o,f))}})},75708:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(d,v,e){"use strict";var r=e(94488),i=180/Math.PI;r({target:"Math",stat:!0,forced:!0},{degrees:function(c){return c*i}})},43710:function(d,v,e){"use strict";var r=e(94488),i=e(35175);r({target:"Math",stat:!0},{f16round:i})},66233:function(d,v,e){"use strict";var r=e(94488),i=e(24619),l=e(14894);r({target:"Math",stat:!0,forced:!0},{fscale:function(f,o,h,u,a){return l(i(f,o,h,u,a))}})},92762:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{iaddh:function(l,c,f,o){var h=l>>>0,u=c>>>0,a=f>>>0;return u+(o>>>0)+((h&a|(h|a)&~(h+a>>>0))>>>31)|0}})},24467:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{imulh:function(l,c){var f=65535,o=+l,h=+c,u=o&f,a=h&f,x=o>>16,p=h>>16,y=(x*a>>>0)+(u*a>>>16);return x*p+(y>>16)+((u*p>>>0)+(y&f)>>16)}})},68465:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{isubh:function(l,c,f,o){var h=l>>>0,u=c>>>0,a=f>>>0;return u-(o>>>0)-((~h&a|~(h^a)&h-a>>>0)>>>31)|0}})},77004:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(d,v,e){"use strict";var r=e(94488),i=Math.PI/180;r({target:"Math",stat:!0,forced:!0},{radians:function(c){return c*i}})},51117:function(d,v,e){"use strict";var r=e(94488),i=e(24619);r({target:"Math",stat:!0,forced:!0},{scale:i})},87236:function(d,v,e){"use strict";var r=e(94488),i=e(80449),l=e(1222),c=e(83126),f=e(25587),o=e(94844),h="Seeded Random",u=h+" Generator",a='Math.seededPRNG() argument should have a "seed" field with a finite value.',x=o.set,p=o.getterFor(u),y=TypeError,_=c(function(A){x(this,{type:u,seed:A%2147483647})},h,function(){var A=p(this),k=A.seed=(A.seed*1103515245+12345)%2147483647;return f((k&1073741823)/1073741823,!1)});r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(A){var k=i(A).seed;if(!l(k))throw new y(a);return new _(k)}})},83733:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{signbit:function(l){var c=+l;return c===c&&c===0?1/c===-1/0:c<0}})},92044:function(d,v,e){"use strict";var r=e(94488);r({target:"Math",stat:!0,forced:!0},{umulh:function(l,c){var f=65535,o=+l,h=+c,u=o&f,a=h&f,x=o>>>16,p=h>>>16,y=(x*a>>>0)+(u*a>>>16);return x*p+(y>>>16)+((u*p>>>0)+(y&f)>>>16)}})},29190:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c="Invalid number representation",f="Invalid radix",o=RangeError,h=SyntaxError,u=TypeError,a=parseInt,x=Math.pow,p=/^[\d.a-z]+$/,y=i("".charAt),_=i(p.exec),b=i(1 .toString),A=i("".slice),k=i("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(T,D){var M=1;if(typeof T!="string")throw new u(c);if(!T.length)throw new h(c);if(y(T,0)==="-"&&(M=-1,T=A(T,1),!T.length))throw new h(c);var B=D===void 0?10:l(D);if(B<2||B>36)throw new o(f);if(!_(p,T))throw new h(c);var N=k(T,"."),K=a(N[0],B);if(N.length>1&&(K+=a(N[1],B)/x(B,N[1].length)),B===10&&b(K,B)!==T)throw new h(c);return M*K}})},10775:function(d,v,e){"use strict";var r=e(94488),i=e(17243);r({target:"Number",stat:!0,forced:!0},{range:function(c,f,o){return new i(c,f,o,"number",0,1)}})},19593:function(d,v,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateEntries:function(c){return new i(c,"entries")}})},26502:function(d,v,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateKeys:function(c){return new i(c,"keys")}})},10174:function(d,v,e){"use strict";var r=e(94488),i=e(20574);r({target:"Object",stat:!0,forced:!0},{iterateValues:function(c){return new i(c,"values")}})},76867:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(35454),c=e(51996),f=e(63335),o=e(80449),h=e(56472),u=e(55327),a=e(4112),x=e(31946),p=e(53776),y=e(2291),_=e(66477),b=e(64110),A=e(61810),k=e(59893),L=e(94844),T=k("observable"),D="Observable",M="Subscription",B="SubscriptionObserver",N=L.getterFor,K=L.set,G=N(D),W=N(M),ne=N(B),ae=function(ue){this.observer=o(ue),this.cleanup=void 0,this.subscriptionObserver=void 0};ae.prototype={type:M,clean:function(){var ue=this.cleanup;if(ue){this.cleanup=void 0;try{ue()}catch(ee){A(ee)}}},close:function(){if(!l){var ue=this.facade,ee=this.subscriptionObserver;ue.closed=!0,ee&&(ee.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var le=function(ue,ee){var X=K(this,new ae(ue)),ce;l||(this.closed=!1);try{(ce=p(ue,"start"))&&i(ce,ue,this)}catch(_e){A(_e)}if(!X.isClosed()){var z=X.subscriptionObserver=new Q(X);try{var $=ee(z),se=$;a($)||(X.cleanup=u($.unsubscribe)?function(){se.unsubscribe()}:f($))}catch(_e){z.error(_e);return}X.isClosed()&&X.clean()}};le.prototype=_({},{unsubscribe:function(){var ee=W(this);ee.isClosed()||(ee.close(),ee.clean())}}),l&&b(le.prototype,"closed",{configurable:!0,get:function(){return W(this).isClosed()}});var Q=function(ue){K(this,{type:B,subscriptionState:ue}),l||(this.closed=!1)};Q.prototype=_({},{next:function(ee){var X=ne(this).subscriptionState;if(!X.isClosed()){var ce=X.observer;try{var z=p(ce,"next");z&&i(z,ce,ee)}catch($){A($)}}},error:function(ee){var X=ne(this).subscriptionState;if(!X.isClosed()){var ce=X.observer;X.close();try{var z=p(ce,"error");z?i(z,ce,ee):A(ee)}catch($){A($)}X.clean()}},complete:function(){var ee=ne(this).subscriptionState;if(!ee.isClosed()){var X=ee.observer;ee.close();try{var ce=p(X,"complete");ce&&i(ce,X)}catch(z){A(z)}ee.clean()}}}),l&&b(Q.prototype,"closed",{configurable:!0,get:function(){return ne(this).subscriptionState.isClosed()}});var J=function(ee){h(this,V),K(this,{type:D,subscriber:f(ee)})},V=J.prototype;_(V,{subscribe:function(ee){var X=arguments.length;return new le(u(ee)?{next:ee,error:X>1?arguments[1]:void 0,complete:X>2?arguments[2]:void 0}:x(ee)?ee:{},G(this).subscriber)}}),y(V,T,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:J}),c(D)},14548:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(89945),c=e(80449),f=e(39812),o=e(85428),h=e(53776),u=e(62003),a=e(59893),x=a("observable");r({target:"Observable",stat:!0,forced:!0},{from:function(y){var _=f(this)?this:i("Observable"),b=h(c(y),x);if(b){var A=c(l(b,y));return A.constructor===_?A:new _(function(L){return A.subscribe(L)})}var k=o(y);return new _(function(L){u(k,function(T,D){if(L.next(T),L.closed)return D()},{IS_ITERATOR:!0,INTERRUPTED:!0}),L.complete()})}})},96378:function(d,v,e){"use strict";e(76867),e(14548),e(6053)},6053:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(39812),c=i("Array");r({target:"Observable",stat:!0,forced:!0},{of:function(){for(var o=l(this)?this:i("Observable"),h=arguments.length,u=c(h),a=0;a<h;)u[a]=arguments[a++];return new o(function(x){for(var p=0;p<h;p++)if(x.next(u[p]),x.closed)return;x.complete()})}})},58216:function(d,v,e){"use strict";var r=e(94488),i=e(73446),l=e(80734);r({target:"Promise",stat:!0,forced:!0},{try:function(c){var f=i.f(this),o=l(c);return(o.error?f.reject:f.resolve)(o.value),f.promise}})},41401:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{defineMetadata:function(h,u,a){var x=arguments.length<4?void 0:c(arguments[3]);f(h,u,l(a),x)}})},79908:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.getMap,o=i.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(u,a){var x=arguments.length<3?void 0:c(arguments[2]),p=f(l(a),x,!1);if(p===void 0||!p.delete(u))return!1;if(p.size)return!0;var y=o.get(a);return y.delete(x),!!y.size||o.delete(a)}})},79890:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(82584),c=e(80449),f=e(53456),o=e(65621),h=i(o),u=i([].concat),a=l.keys,x=l.toKey,p=function(y,_){var b=a(y,_),A=f(y);if(A===null)return b;var k=p(A,_);return k.length?b.length?h(u(b,k)):k:b};r({target:"Reflect",stat:!0},{getMetadataKeys:function(_){var b=arguments.length<2?void 0:x(arguments[1]);return p(c(_),b)}})},82531:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=e(53456),f=i.has,o=i.get,h=i.toKey,u=function(a,x,p){var y=f(a,x,p);if(y)return o(a,x,p);var _=c(x);return _!==null?u(a,_,p):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(x,p){var y=arguments.length<3?void 0:h(arguments[2]);return u(x,l(p),y)}})},38944:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.keys,f=i.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(h){var u=arguments.length<2?void 0:f(arguments[1]);return c(l(h),u)}})},88472:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.get,f=i.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(h,u){var a=arguments.length<3?void 0:f(arguments[2]);return c(h,l(u),a)}})},78423:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=e(53456),f=i.has,o=i.toKey,h=function(u,a,x){var p=f(u,a,x);if(p)return!0;var y=c(a);return y!==null?h(u,y,x):!1};r({target:"Reflect",stat:!0},{hasMetadata:function(a,x){var p=arguments.length<3?void 0:o(arguments[2]);return h(a,l(x),p)}})},65713:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.has,f=i.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(h,u){var a=arguments.length<3?void 0:f(arguments[2]);return c(h,l(u),a)}})},22968:function(d,v,e){"use strict";var r=e(94488),i=e(82584),l=e(80449),c=i.toKey,f=i.set;r({target:"Reflect",stat:!0},{metadata:function(h,u){return function(x,p){f(h,u,l(x),c(p))}}})},17564:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(69905),c=e(19268),f=i("".charCodeAt),o=i("".replace),h=RegExp("[!\"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^`{|}~"+c+"]","g");r({target:"RegExp",stat:!0,forced:!0},{escape:function(a){var x=l(a),p=f(x,0);return(p>47&&p<58?"\\x3":"")+o(x,h,"\\$&")}})},1220:function(d,v,e){"use strict";var r=e(94488),i=e(17442),l=e(19691).add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),o=0,h=arguments.length;o<h;o++)l(f,arguments[o]);return f}})},44886:function(d,v,e){"use strict";var r=e(94488),i=e(17442),l=e(19691).remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},35295:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(10038);r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(o){return i(c,this,l(o))}})},57019:function(d,v,e){"use strict";var r=e(94488),i=e(10038),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("difference")},{difference:i})},80286:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0);return c(h,function(a){if(!u(a,a,h))return!1},!0)!==!1}})},38487:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(19691),f=e(57002),o=c.Set,h=c.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_){p(_,_,x)&&h(y,_)}),y}})},29916:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0),a=c(h,function(x){if(u(x,x,h))return{value:x}},!0);return a&&a.value}})},25541:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"Set",stat:!0,forced:!0},{from:i})},34926:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(16049);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(o){return i(c,this,l(o))}})},45612:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(16049),c=e(22627),f=!c("intersection")||i(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});r({target:"Set",proto:!0,real:!0,forced:f},{intersection:l})},68255:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(17616);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(o){return i(c,this,l(o))}})},98080:function(d,v,e){"use strict";var r=e(94488),i=e(17616),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isDisjointFrom")},{isDisjointFrom:i})},16450:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(84833);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(o){return i(c,this,l(o))}})},96351:function(d,v,e){"use strict";var r=e(94488),i=e(84833),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isSubsetOf")},{isSubsetOf:i})},86921:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(51135);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(o){return i(c,this,l(o))}})},60244:function(d,v,e){"use strict";var r=e(94488),i=e(51135),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("isSupersetOf")},{isSupersetOf:i})},82928:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(17442),c=e(57002),f=e(69905),o=i([].join),h=i([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(a){var x=l(this),p=a===void 0?",":f(a),y=[];return c(x,function(_){h(y,_)}),o(y,p)}})},42947:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(19691),f=e(57002),o=c.Set,h=c.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(a){var x=l(this),p=i(a,arguments.length>1?arguments[1]:void 0),y=new o;return f(x,function(_){h(y,p(_,_,x))}),y}})},71568:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"Set",stat:!0,forced:!0},{of:i})},94194:function(d,v,e){"use strict";var r=e(94488),i=e(63335),l=e(17442),c=e(57002),f=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(h){var u=l(this),a=arguments.length<2,x=a?void 0:arguments[1];if(i(h),c(u,function(p){a?(a=!1,x=p):x=h(x,p,p,u)}),a)throw new f("Reduce of empty set with no initial value");return x}})},30556:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(17442),c=e(57002);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(o){var h=l(this),u=i(o,arguments.length>1?arguments[1]:void 0);return c(h,function(a){if(u(a,a,h))return!0},!0)===!0}})},93102:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(36312);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(o){return i(c,this,l(o))}})},32100:function(d,v,e){"use strict";var r=e(94488),i=e(36312),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("symmetricDifference")},{symmetricDifference:i})},82074:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(77999),c=e(24667);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(o){return i(c,this,l(o))}})},1821:function(d,v,e){"use strict";var r=e(94488),i=e(24667),l=e(22627);r({target:"Set",proto:!0,real:!0,forced:!l("union")},{union:i})},13578:function(d,v,e){"use strict";var r=e(94488),i=e(13764).charAt,l=e(95955),c=e(56902),f=e(69905);r({target:"String",proto:!0,forced:!0},{at:function(h){var u=f(l(this)),a=u.length,x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:i(u,p)}})},62882:function(d,v,e){"use strict";var r=e(94488),i=e(83126),l=e(25587),c=e(95955),f=e(69905),o=e(94844),h=e(13764),u=h.codeAt,a=h.charAt,x="String Iterator",p=o.set,y=o.getterFor(x),_=i(function(A){p(this,{type:x,string:A,index:0})},"String",function(){var A=y(this),k=A.string,L=A.index,T;return L>=k.length?l(void 0,!0):(T=a(k,L),A.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,v,e){"use strict";var r=e(94488),i=e(67410);r({target:"String",stat:!0,forced:!0},{cooked:i})},37457:function(d,v,e){"use strict";var r=e(13247),i=e(94488),l=e(86528),c=e(94237),f=e(13743),o=e(80449),h=e(94029),u=e(55327),a=e(82762),x=e(37691).f,p=e(71698),y=e(42530),_=e(67410),b=e(79204),A=e(19268),k=new y.WeakMap,L=y.get,T=y.has,D=y.set,M=Array,B=TypeError,N=Object.freeze||Object,K=Object.isFrozen,G=Math.min,W=c("".charAt),ne=c("".slice),ae=c("".split),le=c(/./.exec),Q=/([\n\u2028\u2029]|\r\n?)/g,J=RegExp("^["+A+"]*"),V=RegExp("[^"+A+"]"),ue="Invalid tag",ee="Invalid opening line",X="Invalid closing line",ce=function(Le){var He=Le.raw;if(r&&!K(He))throw new B("Raw template should be frozen");if(T(k,He))return L(k,He);var $e=z(He),Bt=se($e);return x(Bt,"raw",{value:N($e)}),N(Bt),D(k,He,Bt),Bt},z=function(Le){var He=h(Le),$e=a(He),Bt=M($e),yt=M($e),It=0,rr,Yt,lr,Ve;if(!$e)throw new B(ue);for(;It<$e;It++){var Ct=He[It];if(typeof Ct=="string")Bt[It]=ae(Ct,Q);else throw new B(ue)}for(It=0;It<$e;It++){var Ut=It+1===$e;if(rr=Bt[It],It===0){if(rr.length===1||rr[0].length>0)throw new B(ee);rr[1]=""}if(Ut){if(rr.length===1||le(V,rr[rr.length-1]))throw new B(X);rr[rr.length-2]="",rr[rr.length-1]=""}for(var st=2;st<rr.length;st+=2){var xt=rr[st],ht=st+1===rr.length&&!Ut,rt=le(J,xt)[0];if(!ht&&rt.length===xt.length){rr[st]="";continue}Yt=$(rt,Yt)}}var Ue=Yt?Yt.length:0;for(It=0;It<$e;It++){for(rr=Bt[It],lr=rr[0],Ve=1;Ve<rr.length;Ve+=2)lr+=rr[Ve]+ne(rr[Ve+1],Ue);yt[It]=lr}return yt},$=function(Le,He){if(He===void 0||Le===He)return Le;for(var $e=0,Bt=G(Le.length,He.length);$e<Bt&&W(Le,$e)===W(He,$e);$e++);return ne(Le,0,$e)},se=function(Le){for(var He=0,$e=Le.length,Bt=M($e);He<$e;He++)Bt[He]=b(Le[He]);return Bt},_e=function(Le){return l(function(He){var $e=p(arguments);return $e[0]=ce(o(He)),f(Le,this,$e)},"")},Oe=_e(_);i({target:"String",stat:!0,forced:!0},{dedent:function(He){return o(He),u(He)?_e(He):f(Oe,this,arguments)}})},14800:function(d,v,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),o=e(20132),h=e(68151),u=e(35012),a=e(61888),x=e(7825),p=e(59893),y=p("toStringTag"),_=Error,b=function(L,T,D){var M=i(A,this),B;return c?B=c(new _,M?l(this):A):(B=M?this:o(A),h(B,y,"Error")),D!==void 0&&h(B,"message",x(D)),a(B,b,B.stack,1),h(B,"error",L),h(B,"suppressed",T),B};c?c(b,_):f(b,_,{name:!0});var A=b.prototype=o(_.prototype,{constructor:u(1,b),message:u(1,""),name:u(1,"SuppressedError")});r({global:!0,constructor:!0,arity:3},{SuppressedError:b})},70654:function(d,v,e){"use strict";var r=e(92916),i=e(94674),l=e(37691).f,c=e(71256).f,f=r.Symbol;if(i("asyncDispose"),f){var o=c(f,"asyncDispose");o.enumerable&&o.configurable&&o.writable&&l(f,"asyncDispose",{value:o.value,enumerable:!1,configurable:!1,writable:!1})}},90252:function(d,v,e){"use strict";var r=e(92916),i=e(94674),l=e(37691).f,c=e(71256).f,f=r.Symbol;if(i("dispose"),f){var o=c(f,"dispose");o.enumerable&&o.configurable&&o.writable&&l(f,"dispose",{value:o.value,enumerable:!1,configurable:!1,writable:!1})}},29482:function(d,v,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0},{isRegisteredSymbol:i})},51630:function(d,v,e){"use strict";var r=e(94488),i=e(69077);r({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:i})},61933:function(d,v,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:i})},619:function(d,v,e){"use strict";var r=e(94488),i=e(40443);r({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:i})},99675:function(d,v,e){"use strict";var r=e(94674);r("matcher")},53637:function(d,v,e){"use strict";var r=e(94674);r("metadataKey")},52548:function(d,v,e){"use strict";var r=e(94674);r("metadata")},57482:function(d,v,e){"use strict";var r=e(94674);r("observable")},59725:function(d,v,e){"use strict";var r=e(94674);r("patternMatch")},17610:function(d,v,e){"use strict";var r=e(94674);r("replaceAll")},11507:function(d,v,e){"use strict";var r=e(58261),i=e(90560).filterReject,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filterOut",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)},!0)},16315:function(d,v,e){"use strict";var r=e(58261),i=e(90560).filterReject,l=e(27607),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("filterReject",function(h){var u=i(c(this),h,arguments.length>1?arguments[1]:void 0);return l(this,u)},!0)},56966:function(d,v,e){"use strict";var r=e(65911),i=e(6086),l=e(32278),c=e(58261),f=e(69478),o=c.aTypedArrayConstructor,h=c.exportTypedArrayStaticMethod;h("fromAsync",function(a){var x=this,p=arguments.length,y=p>1?arguments[1]:void 0,_=p>2?arguments[2]:void 0;return new(r("Promise"))(function(b){i(x),b(l(a,y,_))}).then(function(b){return f(o(x),b)})},!0)},60239:function(d,v,e){"use strict";var r=e(58261),i=e(36444),l=e(31384),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("groupBy",function(h){var u=arguments.length>1?arguments[1]:void 0;return i(c(this),h,u,l)},!0)},49381:function(d,v,e){"use strict";var r=e(58261),i=e(82762),l=e(75406),c=e(51981),f=e(93303),o=e(56902),h=e(3338),u=r.aTypedArray,a=r.getTypedArrayConstructor,x=r.exportTypedArrayMethod,p=Math.max,y=Math.min,_=!h(function(){var b=new Int8Array([1]),A=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return A[0]!==2||A[1]!==3});x("toSpliced",function(A,k){var L=u(this),T=a(L),D=i(L),M=c(A,D),B=arguments.length,N=0,K,G,W,ne,ae,le,Q;if(B===0)K=G=0;else if(B===1)K=0,G=D-M;else if(G=y(p(o(k),0),D-M),K=B-2,K){ne=new T(K),W=l(ne);for(var J=2;J<B;J++)ae=arguments[J],ne[J-2]=W?f(ae):+ae}for(le=D+K-G,Q=new T(le);N<M;N++)Q[N]=L[N];for(;N<M+K;N++)Q[N]=ne[N-M];for(;N<le;N++)Q[N]=L[N+G-K];return Q},!_)},17230:function(d,v,e){"use strict";var r=e(94237),i=e(58261),l=e(69478),c=e(65621),f=i.aTypedArray,o=i.getTypedArrayConstructor,h=i.exportTypedArrayMethod,u=r(c);h("uniqueBy",function(x){return f(this),l(o(this),u(this,x))},!0)},62720:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(1674),f=e(79606),o=e(32621),h=e(69478),u=e(66244),a=e(81750),x=u.c2i,p=u.c2iUrl,y=i.Uint8Array,_=i.SyntaxError,b=l("".charAt),A=l("".replace),k=l("".slice),L=l([].push),T=/[\t\n\f\r ]/g,D="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function(B){f(B);var N=arguments.length>1?c(arguments[1]):void 0,K=a(N)==="base64"?x:p,G=N?!!N.strict:!1,W=G?B:A(B,T,"");if(W.length%4===0)k(W,-2)==="=="?W=k(W,0,-2):k(W,-1)==="="&&(W=k(W,0,-1));else if(G)throw new _("Input is not correctly padded");var ne=W.length%4;switch(ne){case 1:throw new _("Bad input length");case 2:W+="AA";break;case 3:W+="A"}for(var ae=[],le=0,Q=W.length,J=function(ee){var X=b(W,le+ee);if(!o(K,X))throw new _('Bad char in input: "'+X+'"');return K[X]<<18-6*ee};le<Q;le+=4){var V=J(0)+J(1)+J(2)+J(3);L(ae,V>>16&255,V>>8&255,V&255)}var ue=ae.length;if(ne===2){if(G&&ae[ue-2]!==0)throw new _(D);ue-=2}else if(ne===3){if(G&&ae[ue-1]!==0)throw new _(D);ue--}return h(y,ae,ue)}})},57151:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(79606),f=i.Uint8Array,o=i.SyntaxError,h=i.parseInt,u=/[^\da-f]/i,a=l(u.exec),x=l("".slice);f&&r({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(y){c(y);var _=y.length;if(_%2)throw new o("String should have an even number of characters");if(a(u,y))throw new o("String should only contain hex characters");for(var b=new f(_/2),A=0;A<_;A+=2)b[A/2]=h(x(y,A,A+2),16);return b}})},48732:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(1674),f=e(27270),o=e(66244),h=e(81750),u=o.i2c,a=o.i2cUrl,x=i.Uint8Array,p=l("".charAt);x&&r({target:"Uint8Array",proto:!0,forced:!0},{toBase64:function(){for(var _=f(this),b=arguments.length?c(arguments[0]):void 0,A=h(b)==="base64"?u:a,k="",L=0,T=_.length,D,M=function(B){return p(A,D>>6*B&63)};L+2<T;L+=3)D=(_[L]<<16)+(_[L+1]<<8)+_[L+2],k+=M(3)+M(2)+M(1)+M(0);return L+2===T?(D=(_[L]<<16)+(_[L+1]<<8),k+=M(3)+M(2)+M(1)+"="):L+1===T&&(D=_[L]<<16,k+=M(3)+M(2)+"=="),k}})},18481:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(27270),f=i.Uint8Array,o=l(1 .toString);f&&r({target:"Uint8Array",proto:!0,forced:!0},{toHex:function(){c(this);for(var u="",a=0,x=this.length;a<x;a++){var p=o(this[a],16);u+=p.length===1?"0"+p:p}return u}})},55055:function(d,v,e){"use strict";var r=e(94488),i=e(63619),l=e(42530).remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},90965:function(d,v,e){"use strict";var r=e(94488),i=e(63619),l=e(42530),c=l.get,f=l.has,o=l.set;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(u,a){var x=i(this),p,y;return f(x,u)?(p=c(x,u),"update"in a&&(p=a.update(p,u,x),o(x,u,p)),p):(y=a.insert(u,x),o(x,u,y),y)}})},7195:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakMap",stat:!0,forced:!0},{from:i})},89179:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakMap",stat:!0,forced:!0},{of:i})},67725:function(d,v,e){"use strict";var r=e(94488),i=e(14615);r({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:i})},59884:function(d,v,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).add;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var f=i(this),o=0,h=arguments.length;o<h;o++)l(f,arguments[o]);return f}})},89202:function(d,v,e){"use strict";var r=e(94488),i=e(18888),l=e(91385).remove;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var f=i(this),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},97815:function(d,v,e){"use strict";var r=e(94488),i=e(72846);r({target:"WeakSet",stat:!0,forced:!0},{from:i})},11593:function(d,v,e){"use strict";var r=e(94488),i=e(48800);r({target:"WeakSet",stat:!0,forced:!0},{of:i})},7597:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),o=e(3338),h=e(69905),u=e(57106),a=e(66244).c2i,x=/[^\d+/a-z]/i,p=/[\t\n\f\r ]+/g,y=/[=]{1,2}$/,_=l("atob"),b=String.fromCharCode,A=c("".charAt),k=c("".replace),L=c(x.exec),T=!!_&&!o(function(){return _("aGk=")!=="hi"}),D=T&&o(function(){return _(" ")!==""}),M=T&&!o(function(){_("a")}),B=T&&!o(function(){_()}),N=T&&_.length!==1,K=!T||D||M||B||N;r({global:!0,bind:!0,enumerable:!0,forced:K},{atob:function(W){if(u(arguments.length,1),T&&!D&&!M)return f(_,i,W);var ne=k(h(W),p,""),ae="",le=0,Q=0,J,V,ue;if(ne.length%4===0&&(ne=k(ne,y,"")),J=ne.length,J%4===1||L(x,ne))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;le<J;)V=A(ne,le++),ue=Q%4?ue*64+a[V]:a[V],Q++%4&&(ae+=b(255&ue>>(-2*Q&6)));return ae}})},55182:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(94237),f=e(89945),o=e(3338),h=e(69905),u=e(57106),a=e(66244).i2c,x=l("btoa"),p=c("".charAt),y=c("".charCodeAt),_=!!x&&!o(function(){return x("hi")!=="aGk="}),b=_&&!o(function(){x()}),A=_&&o(function(){return x(null)!=="bnVsbA=="}),k=_&&x.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!_||b||A||k},{btoa:function(T){if(u(arguments.length,1),_)return f(x,i,h(T));for(var D=h(T),M="",B=0,N=a,K,G;p(D,B)||(N="=",B%1);){if(G=y(D,B+=.75),G>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");K=K<<8|G,M+=p(N,63&K>>8-B%1*8)}return M}})},91472:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==l},{clearImmediate:l})},34366:function(d,v,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(59594),f=e(68151),o=function(u){if(u&&u.forEach!==c)try{f(u,"forEach",c)}catch(a){u.forEach=c}};for(var h in i)i[h]&&o(r[h]&&r[h].prototype);o(l)},85425:function(d,v,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(11005),f=e(68151),o=e(94573),h=e(59893),u=h("iterator"),a=c.values,x=function(y,_){if(y){if(y[u]!==a)try{f(y,u,a)}catch(A){y[u]=a}if(o(y,_,!0),i[_]){for(var b in c)if(y[b]!==c[b])try{f(y,b,c[b])}catch(A){y[b]=c[b]}}}};for(var p in i)x(r[p]&&r[p].prototype,p);x(l,"DOMTokenList")},64522:function(d,v,e){"use strict";var r=e(94488),i=e(11270),l=e(65911),c=e(3338),f=e(20132),o=e(35012),h=e(37691).f,u=e(2291),a=e(64110),x=e(32621),p=e(56472),y=e(80449),_=e(13367),b=e(7825),A=e(52109),k=e(80739),L=e(94844),T=e(35454),D=e(16697),M="DOMException",B="DATA_CLONE_ERR",N=l("Error"),K=l(M)||function(){try{var yt=l("MessageChannel")||i("worker_threads").MessageChannel;new yt().port1.postMessage(new WeakMap)}catch(It){if(It.name===B&&It.code===25)return It.constructor}}(),G=K&&K.prototype,W=N.prototype,ne=L.set,ae=L.getterFor(M),le="stack"in new N(M),Q=function(yt){return x(A,yt)&&A[yt].m?A[yt].c:0},J=function(){p(this,V);var It=arguments.length,rr=b(It<1?void 0:arguments[0]),Yt=b(It<2?void 0:arguments[1],"Error"),lr=Q(Yt);if(ne(this,{type:M,name:Yt,message:rr,code:lr}),T||(this.name=Yt,this.message=rr,this.code=lr),le){var Ve=new N(rr);Ve.name=M,h(this,"stack",o(1,k(Ve.stack,1)))}},V=J.prototype=f(W),ue=function(yt){return{enumerable:!0,configurable:!0,get:yt}},ee=function(yt){return ue(function(){return ae(this)[yt]})};T&&(a(V,"code",ee("code")),a(V,"message",ee("message")),a(V,"name",ee("name"))),h(V,"constructor",o(1,J));var X=c(function(){return!(new K instanceof N)}),ce=X||c(function(){return W.toString!==_||String(new K(1,2))!=="2: 1"}),z=X||c(function(){return new K(1,"DataCloneError").code!==25}),$=X||K[B]!==25||G[B]!==25,se=D?ce||z||$:X;r({global:!0,constructor:!0,forced:se},{DOMException:se?J:K});var _e=l(M),Oe=_e.prototype;ce&&(D||K===_e)&&u(Oe,"toString",_),z&&T&&K===_e&&a(Oe,"code",ue(function(){return Q(y(this).name)}));for(var Le in A)if(x(A,Le)){var He=A[Le],$e=He.s,Bt=o(6,He.c);x(_e,$e)||h(_e,$e,Bt),x(Oe,$e)||h(Oe,$e,Bt)}},41599:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(35012),f=e(37691).f,o=e(32621),h=e(56472),u=e(25576),a=e(7825),x=e(52109),p=e(80739),y=e(35454),_=e(16697),b="DOMException",A=l("Error"),k=l(b),L=function(){h(this,T);var J=arguments.length,V=a(J<1?void 0:arguments[0]),ue=a(J<2?void 0:arguments[1],"Error"),ee=new k(V,ue),X=new A(V);return X.name=b,f(ee,"stack",c(1,p(X.stack,1))),u(ee,this,L),ee},T=L.prototype=k.prototype,D="stack"in new A(b),M="stack"in new k(1,2),B=k&&y&&Object.getOwnPropertyDescriptor(i,b),N=!!B&&!(B.writable&&B.configurable),K=D&&!N&&!M;r({global:!0,constructor:!0,forced:_||K},{DOMException:K?L:k});var G=l(b),W=G.prototype;if(W.constructor!==G){_||f(W,"constructor",c(1,G));for(var ne in x)if(o(x,ne)){var ae=x[ne],le=ae.s;o(G,le)||f(G,le,c(6,ae.c))}}},86465:function(d,v,e){"use strict";var r=e(65911),i=e(94573),l="DOMException";i(r(l),l)},78437:function(d,v,e){"use strict";e(91472),e(91700)},73624:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(72933),c=e(63335),f=e(57106),o=e(90946),h=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(a){f(arguments.length,1),c(a);var x=o&&h.domain;l(x?x.bind(a):a)}})},62059:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(64110),c=e(35454),f=TypeError,o=Object.defineProperty,h=i.self!==i;try{if(c){var u=Object.getOwnPropertyDescriptor(i,"self");(h||!u||!u.get||!u.enumerable)&&l(i,"self",{get:function(){return i},set:function(x){if(this!==i)throw new f("Illegal invocation");o(i,"self",{value:x,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else r({global:!0,simple:!0,forced:h},{self:i})}catch(a){}},91700:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(28887).set,c=e(93222),f=i.setImmediate?c(l,!1):l;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==f},{setImmediate:f})},88469:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==c},{setInterval:c})},91572:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(93222),c=l(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==c},{setTimeout:c})},10305:function(d,v,e){"use strict";var r=e(16697),i=e(94488),l=e(92916),c=e(65911),f=e(94237),o=e(3338),h=e(6145),u=e(55327),a=e(39812),x=e(4112),p=e(31946),y=e(18446),_=e(62003),b=e(80449),A=e(97607),k=e(32621),L=e(69392),T=e(68151),D=e(82762),M=e(57106),B=e(81644),N=e(2786),K=e(19691),G=e(57002),W=e(39311),ne=e(25406),ae=e(80426),le=l.Object,Q=l.Array,J=l.Date,V=l.Error,ue=l.TypeError,ee=l.PerformanceMark,X=c("DOMException"),ce=N.Map,z=N.has,$=N.get,se=N.set,_e=K.Set,Oe=K.add,Le=K.has,He=c("Object","keys"),$e=f([].push),Bt=f((!0).valueOf),yt=f(1 .valueOf),It=f("".valueOf),rr=f(J.prototype.getTime),Yt=h("structuredClone"),lr="DataCloneError",Ve="Transferring",Ct=function(Pe){return!o(function(){var tt=new l.Set([7]),Vt=Pe(tt),kt=Pe(le(7));return Vt===tt||!Vt.has(7)||!p(kt)||+kt!=7})&&Pe},Ut=function(Pe,tt){return!o(function(){var Vt=new tt,kt=Pe({a:Vt,b:Vt});return!(kt&&kt.a===kt.b&&kt.a instanceof tt&&kt.a.stack===Vt.stack)})},st=function(Pe){return!o(function(){var tt=Pe(new l.AggregateError([1],Yt,{cause:3}));return tt.name!=="AggregateError"||tt.errors[0]!==1||tt.message!==Yt||tt.cause!==3})},xt=l.structuredClone,ht=r||!Ut(xt,V)||!Ut(xt,X)||!st(xt),rt=!xt&&Ct(function(Pe){return new ee(Yt,{detail:Pe}).detail}),Ue=Ct(xt)||rt,ye=function(Pe){throw new X("Uncloneable type: "+Pe,lr)},Ce=function(Pe,tt){throw new X((tt||"Cloning")+" of "+Pe+" cannot be properly polyfilled in this engine",lr)},Fe=function(Pe,tt){return Ue||Ce(tt),Ue(Pe)},je=function(){var Pe;try{Pe=new l.DataTransfer}catch(tt){try{Pe=new l.ClipboardEvent("").clipboardData}catch(Vt){}}return Pe&&Pe.items&&Pe.files?Pe:null},Ge=function(Pe,tt,Vt){if(z(tt,Pe))return $(tt,Pe);var kt=Vt||A(Pe),Zt,Nt,At,qt,Ke,fe;if(kt==="SharedArrayBuffer")Ue?Zt=Ue(Pe):Zt=Pe;else{var pe=l.DataView;!pe&&!u(Pe.slice)&&Ce("ArrayBuffer");try{if(u(Pe.slice)&&!Pe.resizable)Zt=Pe.slice(0);else for(Nt=Pe.byteLength,At=("maxByteLength"in Pe)?{maxByteLength:Pe.maxByteLength}:void 0,Zt=new ArrayBuffer(Nt,At),qt=new pe(Pe),Ke=new pe(Zt),fe=0;fe<Nt;fe++)Ke.setUint8(fe,qt.getUint8(fe))}catch(Dt){throw new X("ArrayBuffer is detached",lr)}}return se(tt,Pe,Zt),Zt},it=function(Pe,tt,Vt,kt,Zt){var Nt=l[tt];return p(Nt)||Ce(tt),new Nt(Ge(Pe.buffer,Zt),Vt,kt)},ct=function(Pe,tt){if(y(Pe)&&ye("Symbol"),!p(Pe))return Pe;if(tt){if(z(tt,Pe))return $(tt,Pe)}else tt=new ce;var Vt=A(Pe),kt,Zt,Nt,At,qt,Ke,fe,pe;switch(Vt){case"Array":Nt=Q(D(Pe));break;case"Object":Nt={};break;case"Map":Nt=new ce;break;case"Set":Nt=new _e;break;case"RegExp":Nt=new RegExp(Pe.source,B(Pe));break;case"Error":switch(Zt=Pe.name,Zt){case"AggregateError":Nt=new(c(Zt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":Nt=new(c(Zt));break;case"CompileError":case"LinkError":case"RuntimeError":Nt=new(c("WebAssembly",Zt));break;default:Nt=new V}break;case"DOMException":Nt=new X(Pe.message,Pe.name);break;case"ArrayBuffer":case"SharedArrayBuffer":Nt=Ge(Pe,tt,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":Ke=Vt==="DataView"?Pe.byteLength:Pe.length,Nt=it(Pe,Vt,Pe.byteOffset,Ke,tt);break;case"DOMQuad":try{Nt=new DOMQuad(ct(Pe.p1,tt),ct(Pe.p2,tt),ct(Pe.p3,tt),ct(Pe.p4,tt))}catch(Dt){Nt=Fe(Pe,Vt)}break;case"File":if(Ue)try{Nt=Ue(Pe),A(Nt)!==Vt&&(Nt=void 0)}catch(Dt){}if(!Nt)try{Nt=new File([Pe],Pe.name,Pe)}catch(Dt){}Nt||Ce(Vt);break;case"FileList":if(At=je(),At){for(qt=0,Ke=D(Pe);qt<Ke;qt++)At.items.add(ct(Pe[qt],tt));Nt=At.files}else Nt=Fe(Pe,Vt);break;case"ImageData":try{Nt=new ImageData(ct(Pe.data,tt),Pe.width,Pe.height,{colorSpace:Pe.colorSpace})}catch(Dt){Nt=Fe(Pe,Vt)}break;default:if(Ue)Nt=Ue(Pe);else switch(Vt){case"BigInt":Nt=le(Pe.valueOf());break;case"Boolean":Nt=le(Bt(Pe));break;case"Number":Nt=le(yt(Pe));break;case"String":Nt=le(It(Pe));break;case"Date":Nt=new J(rr(Pe));break;case"Blob":try{Nt=Pe.slice(0,Pe.size,Pe.type)}catch(Dt){Ce(Vt)}break;case"DOMPoint":case"DOMPointReadOnly":kt=l[Vt];try{Nt=kt.fromPoint?kt.fromPoint(Pe):new kt(Pe.x,Pe.y,Pe.z,Pe.w)}catch(Dt){Ce(Vt)}break;case"DOMRect":case"DOMRectReadOnly":kt=l[Vt];try{Nt=kt.fromRect?kt.fromRect(Pe):new kt(Pe.x,Pe.y,Pe.width,Pe.height)}catch(Dt){Ce(Vt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":kt=l[Vt];try{Nt=kt.fromMatrix?kt.fromMatrix(Pe):new kt(Pe)}catch(Dt){Ce(Vt)}break;case"AudioData":case"VideoFrame":u(Pe.clone)||Ce(Vt);try{Nt=Pe.clone()}catch(Dt){ye(Vt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Ce(Vt);default:ye(Vt)}}switch(se(tt,Pe,Nt),Vt){case"Array":case"Object":for(fe=He(Pe),qt=0,Ke=D(fe);qt<Ke;qt++)pe=fe[qt],L(Nt,pe,ct(Pe[pe],tt));break;case"Map":Pe.forEach(function(Dt,De){se(Nt,ct(De,tt),ct(Dt,tt))});break;case"Set":Pe.forEach(function(Dt){Oe(Nt,ct(Dt,tt))});break;case"Error":T(Nt,"message",ct(Pe.message,tt)),k(Pe,"cause")&&T(Nt,"cause",ct(Pe.cause,tt)),Zt==="AggregateError"?Nt.errors=ct(Pe.errors,tt):Zt==="SuppressedError"&&(Nt.error=ct(Pe.error,tt),Nt.suppressed=ct(Pe.suppressed,tt));case"DOMException":ne&&T(Nt,"stack",ct(Pe.stack,tt))}return Nt},Gt=function(Pe,tt){if(!p(Pe))throw new ue("Transfer option cannot be converted to a sequence");var Vt=[];_(Pe,function(De){$e(Vt,b(De))});for(var kt=0,Zt=D(Vt),Nt=new _e,At,qt,Ke,fe,pe,Dt;kt<Zt;){if(At=Vt[kt++],qt=A(At),qt==="ArrayBuffer"?Le(Nt,At):z(tt,At))throw new X("Duplicate transferable",lr);if(qt==="ArrayBuffer"){Oe(Nt,At);continue}if(ae)fe=xt(At,{transfer:[At]});else switch(qt){case"ImageBitmap":Ke=l.OffscreenCanvas,a(Ke)||Ce(qt,Ve);try{pe=new Ke(At.width,At.height),Dt=pe.getContext("bitmaprenderer"),Dt.transferFromImageBitmap(At),fe=pe.transferToImageBitmap()}catch(De){}break;case"AudioData":case"VideoFrame":(!u(At.clone)||!u(At.close))&&Ce(qt,Ve);try{fe=At.clone(),At.close()}catch(De){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Ce(qt,Ve)}if(fe===void 0)throw new X("This object cannot be transferred: "+qt,lr);se(tt,At,fe)}return Nt},Ht=function(Pe){G(Pe,function(tt){ae?Ue(tt,{transfer:[tt]}):u(tt.transfer)?tt.transfer():W?W(tt):Ce("ArrayBuffer",Ve)})};i({global:!0,enumerable:!0,sham:!ae,forced:ht},{structuredClone:function(tt){var Vt=M(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,kt=Vt?Vt.transfer:void 0,Zt,Nt;kt!==void 0&&(Zt=new ce,Nt=Gt(kt,Zt));var At=ct(tt,Zt);return Nt&&Ht(Nt),At}})},41208:function(d,v,e){"use strict";e(88469),e(91572)},91340:function(d,v,e){"use strict";e(11005);var r=e(94488),i=e(92916),l=e(89945),c=e(94237),f=e(35454),o=e(3299),h=e(2291),u=e(64110),a=e(66477),x=e(94573),p=e(83126),y=e(94844),_=e(56472),b=e(55327),A=e(32621),k=e(80666),L=e(97607),T=e(80449),D=e(31946),M=e(69905),B=e(20132),N=e(35012),K=e(85428),G=e(26006),W=e(25587),ne=e(57106),ae=e(59893),le=e(63668),Q=ae("iterator"),J="URLSearchParams",V=J+"Iterator",ue=y.set,ee=y.getterFor(J),X=y.getterFor(V),ce=Object.getOwnPropertyDescriptor,z=function(Zt){if(!f)return i[Zt];var Nt=ce(i,Zt);return Nt&&Nt.value},$=z("fetch"),se=z("Request"),_e=z("Headers"),Oe=se&&se.prototype,Le=_e&&_e.prototype,He=i.RegExp,$e=i.TypeError,Bt=i.decodeURIComponent,yt=i.encodeURIComponent,It=c("".charAt),rr=c([].join),Yt=c([].push),lr=c("".replace),Ve=c([].shift),Ct=c([].splice),Ut=c("".split),st=c("".slice),xt=/\+/g,ht=Array(4),rt=function(Zt){return ht[Zt-1]||(ht[Zt-1]=He("((?:%[\\da-f]{2}){"+Zt+"})","gi"))},Ue=function(Zt){try{return Bt(Zt)}catch(Nt){return Zt}},ye=function(Zt){var Nt=lr(Zt,xt," "),At=4;try{return Bt(Nt)}catch(qt){for(;At;)Nt=lr(Nt,rt(At--),Ue);return Nt}},Ce=/[!'()~]|%20/g,Fe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},je=function(Zt){return Fe[Zt]},Ge=function(Zt){return lr(yt(Zt),Ce,je)},it=p(function(Nt,At){ue(this,{type:V,target:ee(Nt).entries,index:0,kind:At})},J,function(){var Nt=X(this),At=Nt.target,qt=Nt.index++;if(!At||qt>=At.length)return Nt.target=void 0,W(void 0,!0);var Ke=At[qt];switch(Nt.kind){case"keys":return W(Ke.key,!1);case"values":return W(Ke.value,!1)}return W([Ke.key,Ke.value],!1)},!0),ct=function(Zt){this.entries=[],this.url=null,Zt!==void 0&&(D(Zt)?this.parseObject(Zt):this.parseQuery(typeof Zt=="string"?It(Zt,0)==="?"?st(Zt,1):Zt:M(Zt)))};ct.prototype={type:J,bindURL:function(Zt){this.url=Zt,this.update()},parseObject:function(Zt){var Nt=this.entries,At=G(Zt),qt,Ke,fe,pe,Dt,De,ft;if(At)for(qt=K(Zt,At),Ke=qt.next;!(fe=l(Ke,qt)).done;){if(pe=K(T(fe.value)),Dt=pe.next,(De=l(Dt,pe)).done||(ft=l(Dt,pe)).done||!l(Dt,pe).done)throw new $e("Expected sequence with length 2");Yt(Nt,{key:M(De.value),value:M(ft.value)})}else for(var zt in Zt)A(Zt,zt)&&Yt(Nt,{key:zt,value:M(Zt[zt])})},parseQuery:function(Zt){if(Zt)for(var Nt=this.entries,At=Ut(Zt,"&"),qt=0,Ke,fe;qt<At.length;)Ke=At[qt++],Ke.length&&(fe=Ut(Ke,"="),Yt(Nt,{key:ye(Ve(fe)),value:ye(rr(fe,"="))}))},serialize:function(){for(var Zt=this.entries,Nt=[],At=0,qt;At<Zt.length;)qt=Zt[At++],Yt(Nt,Ge(qt.key)+"="+Ge(qt.value));return rr(Nt,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Gt=function(){_(this,Ht);var Nt=arguments.length>0?arguments[0]:void 0,At=ue(this,new ct(Nt));f||(this.size=At.entries.length)},Ht=Gt.prototype;if(a(Ht,{append:function(Nt,At){var qt=ee(this);ne(arguments.length,2),Yt(qt.entries,{key:M(Nt),value:M(At)}),f||this.length++,qt.updateURL()},delete:function(Zt){for(var Nt=ee(this),At=ne(arguments.length,1),qt=Nt.entries,Ke=M(Zt),fe=At<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Dt=0;Dt<qt.length;){var De=qt[Dt];if(De.key===Ke&&(pe===void 0||De.value===pe)){if(Ct(qt,Dt,1),pe!==void 0)break}else Dt++}f||(this.size=qt.length),Nt.updateURL()},get:function(Nt){var At=ee(this).entries;ne(arguments.length,1);for(var qt=M(Nt),Ke=0;Ke<At.length;Ke++)if(At[Ke].key===qt)return At[Ke].value;return null},getAll:function(Nt){var At=ee(this).entries;ne(arguments.length,1);for(var qt=M(Nt),Ke=[],fe=0;fe<At.length;fe++)At[fe].key===qt&&Yt(Ke,At[fe].value);return Ke},has:function(Nt){for(var At=ee(this).entries,qt=ne(arguments.length,1),Ke=M(Nt),fe=qt<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Dt=0;Dt<At.length;){var De=At[Dt++];if(De.key===Ke&&(pe===void 0||De.value===pe))return!0}return!1},set:function(Nt,At){var qt=ee(this);ne(arguments.length,1);for(var Ke=qt.entries,fe=!1,pe=M(Nt),Dt=M(At),De=0,ft;De<Ke.length;De++)ft=Ke[De],ft.key===pe&&(fe?Ct(Ke,De--,1):(fe=!0,ft.value=Dt));fe||Yt(Ke,{key:pe,value:Dt}),f||(this.size=Ke.length),qt.updateURL()},sort:function(){var Nt=ee(this);le(Nt.entries,function(At,qt){return At.key>qt.key?1:-1}),Nt.updateURL()},forEach:function(Nt){for(var At=ee(this).entries,qt=k(Nt,arguments.length>1?arguments[1]:void 0),Ke=0,fe;Ke<At.length;)fe=At[Ke++],qt(fe.value,fe.key,this)},keys:function(){return new it(this,"keys")},values:function(){return new it(this,"values")},entries:function(){return new it(this,"entries")}},{enumerable:!0}),h(Ht,Q,Ht.entries,{name:"entries"}),h(Ht,"toString",function(){return ee(this).serialize()},{enumerable:!0}),f&&u(Ht,"size",{get:function(){return ee(this).entries.length},configurable:!0,enumerable:!0}),x(Gt,J),r({global:!0,constructor:!0,forced:!o},{URLSearchParams:Gt}),!o&&b(_e)){var Pe=c(Le.has),tt=c(Le.set),Vt=function(Zt){if(D(Zt)){var Nt=Zt.body,At;if(L(Nt)===J)return At=Zt.headers?new _e(Zt.headers):new _e,Pe(At,"content-type")||tt(At,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),B(Zt,{body:N(0,M(Nt)),headers:N(0,At)})}return Zt};if(b($)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Nt){return $(Nt,arguments.length>1?Vt(arguments[1]):{})}}),b(se)){var kt=function(Nt){return _(this,Oe),new se(Nt,arguments.length>1?Vt(arguments[1]):{})};Oe.constructor=kt,kt.prototype=Oe,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}d.exports={URLSearchParams:Gt,getState:ee}},4890:function(d,v,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,o=f.prototype,h=i(o.append),u=i(o.delete),a=i(o.forEach),x=i([].push),p=new f("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&r(o,"delete",function(y){var _=arguments.length,b=_<2?void 0:arguments[1];if(_&&b===void 0)return u(this,y);var A=[];a(this,function(K,G){x(A,{key:G,value:K})}),c(_,1);for(var k=l(y),L=l(b),T=0,D=0,M=!1,B=A.length,N;T<B;)N=A[T++],M||N.key===k?(M=!0,u(this,N.key)):D++;for(;D<B;)N=A[D++],N.key===k&&N.value===L||h(this,N.key,N.value)},{enumerable:!0,unsafe:!0})},5340:function(d,v,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,o=f.prototype,h=i(o.getAll),u=i(o.has),a=new f("a=1");(a.has("a",2)||!a.has("a",void 0))&&r(o,"has",function(p){var y=arguments.length,_=y<2?void 0:arguments[1];if(y&&_===void 0)return u(this,p);var b=h(this,p);c(y,1);for(var A=l(_),k=0;k<b.length;)if(b[k++]===A)return!0;return!1},{enumerable:!0,unsafe:!0})},7893:function(d,v,e){"use strict";e(91340)},61650:function(d,v,e){"use strict";var r=e(35454),i=e(94237),l=e(64110),c=URLSearchParams.prototype,f=i(c.forEach);r&&!("size"in c)&&l(c,"size",{get:function(){var h=0;return f(this,function(){h++}),h},configurable:!0,enumerable:!0})},40061:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(3338),c=e(57106),f=e(69905),o=e(3299),h=i("URL"),u=o&&l(function(){h.canParse()});r({target:"URL",stat:!0,forced:!u},{canParse:function(x){var p=c(arguments.length,1),y=f(x),_=p<2||arguments[1]===void 0?void 0:f(arguments[1]);try{return!!new h(y,_)}catch(b){return!1}}})},13588:function(d,v,e){"use strict";e(20852);var r=e(94488),i=e(35454),l=e(3299),c=e(92916),f=e(80666),o=e(94237),h=e(2291),u=e(64110),a=e(56472),x=e(32621),p=e(80530),y=e(60255),_=e(71698),b=e(13764).codeAt,A=e(93245),k=e(69905),L=e(94573),T=e(57106),D=e(91340),M=e(94844),B=M.set,N=M.getterFor("URL"),K=D.URLSearchParams,G=D.getState,W=c.URL,ne=c.TypeError,ae=c.parseInt,le=Math.floor,Q=Math.pow,J=o("".charAt),V=o(/./.exec),ue=o([].join),ee=o(1 .toString),X=o([].pop),ce=o([].push),z=o("".replace),$=o([].shift),se=o("".split),_e=o("".slice),Oe=o("".toLowerCase),Le=o([].unshift),He="Invalid authority",$e="Invalid scheme",Bt="Invalid host",yt="Invalid port",It=/[a-z]/i,rr=/[\d+-.a-z]/i,Yt=/\d/,lr=/^0x/i,Ve=/^[0-7]+$/,Ct=/^\d+$/,Ut=/^[\da-f]+$/i,st=/[\0\t\n\r #%/:<>?@[\\\]^|]/,xt=/[\0\t\n\r #/:<>?@[\\\]^|]/,ht=/^[\u0000-\u0020]+/,rt=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ue=/[\t\n\r]/g,ye,Ce=function(sr){var Rt=se(sr,"."),mt,gt,$t,Er,vr,ot,Mr;if(Rt.length&&Rt[Rt.length-1]===""&&Rt.length--,mt=Rt.length,mt>4)return sr;for(gt=[],$t=0;$t<mt;$t++){if(Er=Rt[$t],Er==="")return sr;if(vr=10,Er.length>1&&J(Er,0)==="0"&&(vr=V(lr,Er)?16:8,Er=_e(Er,vr===8?1:2)),Er==="")ot=0;else{if(!V(vr===10?Ct:vr===8?Ve:Ut,Er))return sr;ot=ae(Er,vr)}ce(gt,ot)}for($t=0;$t<mt;$t++)if(ot=gt[$t],$t===mt-1){if(ot>=Q(256,5-mt))return null}else if(ot>255)return null;for(Mr=X(gt),$t=0;$t<gt.length;$t++)Mr+=gt[$t]*Q(256,3-$t);return Mr},Fe=function(sr){var Rt=[0,0,0,0,0,0,0,0],mt=0,gt=null,$t=0,Er,vr,ot,Mr,dn,jn,_r,qr=function(){return J(sr,$t)};if(qr()===":"){if(J(sr,1)!==":")return;$t+=2,mt++,gt=mt}for(;qr();){if(mt===8)return;if(qr()===":"){if(gt!==null)return;$t++,mt++,gt=mt;continue}for(Er=vr=0;vr<4&&V(Ut,qr());)Er=Er*16+ae(qr(),16),$t++,vr++;if(qr()==="."){if(vr===0||($t-=vr,mt>6))return;for(ot=0;qr();){if(Mr=null,ot>0)if(qr()==="."&&ot<4)$t++;else return;if(!V(Yt,qr()))return;for(;V(Yt,qr());){if(dn=ae(qr(),10),Mr===null)Mr=dn;else{if(Mr===0)return;Mr=Mr*10+dn}if(Mr>255)return;$t++}Rt[mt]=Rt[mt]*256+Mr,ot++,(ot===2||ot===4)&&mt++}if(ot!==4)return;break}else if(qr()===":"){if($t++,!qr())return}else if(qr())return;Rt[mt++]=Er}if(gt!==null)for(jn=mt-gt,mt=7;mt!==0&&jn>0;)_r=Rt[mt],Rt[mt--]=Rt[gt+jn-1],Rt[gt+--jn]=_r;else if(mt!==8)return;return Rt},je=function(sr){for(var Rt=null,mt=1,gt=null,$t=0,Er=0;Er<8;Er++)sr[Er]!==0?($t>mt&&(Rt=gt,mt=$t),gt=null,$t=0):(gt===null&&(gt=Er),++$t);return $t>mt&&(Rt=gt,mt=$t),Rt},Ge=function(sr){var Rt,mt,gt,$t;if(typeof sr=="number"){for(Rt=[],mt=0;mt<4;mt++)Le(Rt,sr%256),sr=le(sr/256);return ue(Rt,".")}else if(typeof sr=="object"){for(Rt="",gt=je(sr),mt=0;mt<8;mt++)$t&&sr[mt]===0||($t&&($t=!1),gt===mt?(Rt+=mt?":":"::",$t=!0):(Rt+=ee(sr[mt],16),mt<7&&(Rt+=":")));return"["+Rt+"]"}return sr},it={},ct=p({},it,{" ":1,'"':1,"<":1,">":1,"`":1}),Gt=p({},ct,{"#":1,"?":1,"{":1,"}":1}),Ht=p({},Gt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Pe=function(sr,Rt){var mt=b(sr,0);return mt>32&&mt<127&&!x(Rt,sr)?sr:encodeURIComponent(sr)},tt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Vt=function(sr,Rt){var mt;return sr.length===2&&V(It,J(sr,0))&&((mt=J(sr,1))===":"||!Rt&&mt==="|")},kt=function(sr){var Rt;return sr.length>1&&Vt(_e(sr,0,2))&&(sr.length===2||(Rt=J(sr,2))==="/"||Rt==="\\"||Rt==="?"||Rt==="#")},Zt=function(sr){return sr==="."||Oe(sr)==="%2e"},Nt=function(sr){return sr=Oe(sr),sr===".."||sr==="%2e."||sr===".%2e"||sr==="%2e%2e"},At={},qt={},Ke={},fe={},pe={},Dt={},De={},ft={},zt={},Et={},Re={},wt={},xe={},qe={},vt={},Ft={},Be={},Pr={},St={},Zr={},Vr={},xr=function(sr,Rt,mt){var gt=k(sr),$t,Er,vr;if(Rt){if(Er=this.parse(gt),Er)throw new ne(Er);this.searchParams=null}else{if(mt!==void 0&&($t=new xr(mt,!0)),Er=this.parse(gt,null,$t),Er)throw new ne(Er);vr=G(new K),vr.bindURL(this),this.searchParams=vr}};xr.prototype={type:"URL",parse:function(sr,Rt,mt){var gt=this,$t=Rt||At,Er=0,vr="",ot=!1,Mr=!1,dn=!1,jn,_r,qr,ln;for(sr=k(sr),Rt||(gt.scheme="",gt.username="",gt.password="",gt.host=null,gt.port=null,gt.path=[],gt.query=null,gt.fragment=null,gt.cannotBeABaseURL=!1,sr=z(sr,ht,""),sr=z(sr,rt,"$1")),sr=z(sr,Ue,""),jn=y(sr);Er<=jn.length;){switch(_r=jn[Er],$t){case At:if(_r&&V(It,_r))vr+=Oe(_r),$t=qt;else{if(Rt)return $e;$t=Ke;continue}break;case qt:if(_r&&(V(rr,_r)||_r==="+"||_r==="-"||_r==="."))vr+=Oe(_r);else if(_r===":"){if(Rt&&(gt.isSpecial()!==x(tt,vr)||vr==="file"&&(gt.includesCredentials()||gt.port!==null)||gt.scheme==="file"&&!gt.host))return;if(gt.scheme=vr,Rt){gt.isSpecial()&&tt[gt.scheme]===gt.port&&(gt.port=null);return}vr="",gt.scheme==="file"?$t=qe:gt.isSpecial()&&mt&&mt.scheme===gt.scheme?$t=fe:gt.isSpecial()?$t=ft:jn[Er+1]==="/"?($t=pe,Er++):(gt.cannotBeABaseURL=!0,ce(gt.path,""),$t=St)}else{if(Rt)return $e;vr="",$t=Ke,Er=0;continue}break;case Ke:if(!mt||mt.cannotBeABaseURL&&_r!=="#")return $e;if(mt.cannotBeABaseURL&&_r==="#"){gt.scheme=mt.scheme,gt.path=_(mt.path),gt.query=mt.query,gt.fragment="",gt.cannotBeABaseURL=!0,$t=Vr;break}$t=mt.scheme==="file"?qe:Dt;continue;case fe:if(_r==="/"&&jn[Er+1]==="/")$t=zt,Er++;else{$t=Dt;continue}break;case pe:if(_r==="/"){$t=Et;break}else{$t=Pr;continue}case Dt:if(gt.scheme=mt.scheme,_r===ye)gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.query=mt.query;else if(_r==="/"||_r==="\\"&&gt.isSpecial())$t=De;else if(_r==="?")gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.query="",$t=Zr;else if(_r==="#")gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.query=mt.query,gt.fragment="",$t=Vr;else{gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.path.length--,$t=Pr;continue}break;case De:if(gt.isSpecial()&&(_r==="/"||_r==="\\"))$t=zt;else if(_r==="/")$t=Et;else{gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,$t=Pr;continue}break;case ft:if($t=zt,_r!=="/"||J(vr,Er+1)!=="/")continue;Er++;break;case zt:if(_r!=="/"&&_r!=="\\"){$t=Et;continue}break;case Et:if(_r==="@"){ot&&(vr="%40"+vr),ot=!0,qr=y(vr);for(var Ln=0;Ln<qr.length;Ln++){var Vn=qr[Ln];if(Vn===":"&&!dn){dn=!0;continue}var Bn=Pe(Vn,Ht);dn?gt.password+=Bn:gt.username+=Bn}vr=""}else if(_r===ye||_r==="/"||_r==="?"||_r==="#"||_r==="\\"&&gt.isSpecial()){if(ot&&vr==="")return He;Er-=y(vr).length+1,vr="",$t=Re}else vr+=_r;break;case Re:case wt:if(Rt&&gt.scheme==="file"){$t=Ft;continue}else if(_r===":"&&!Mr){if(vr==="")return Bt;if(ln=gt.parseHost(vr),ln)return ln;if(vr="",$t=xe,Rt===wt)return}else if(_r===ye||_r==="/"||_r==="?"||_r==="#"||_r==="\\"&&gt.isSpecial()){if(gt.isSpecial()&&vr==="")return Bt;if(Rt&&vr===""&&(gt.includesCredentials()||gt.port!==null))return;if(ln=gt.parseHost(vr),ln)return ln;if(vr="",$t=Be,Rt)return;continue}else _r==="["?Mr=!0:_r==="]"&&(Mr=!1),vr+=_r;break;case xe:if(V(Yt,_r))vr+=_r;else if(_r===ye||_r==="/"||_r==="?"||_r==="#"||_r==="\\"&&gt.isSpecial()||Rt){if(vr!==""){var Ui=ae(vr,10);if(Ui>65535)return yt;gt.port=gt.isSpecial()&&Ui===tt[gt.scheme]?null:Ui,vr=""}if(Rt)return;$t=Be;continue}else return yt;break;case qe:if(gt.scheme="file",_r==="/"||_r==="\\")$t=vt;else if(mt&&mt.scheme==="file")switch(_r){case ye:gt.host=mt.host,gt.path=_(mt.path),gt.query=mt.query;break;case"?":gt.host=mt.host,gt.path=_(mt.path),gt.query="",$t=Zr;break;case"#":gt.host=mt.host,gt.path=_(mt.path),gt.query=mt.query,gt.fragment="",$t=Vr;break;default:kt(ue(_(jn,Er),""))||(gt.host=mt.host,gt.path=_(mt.path),gt.shortenPath()),$t=Pr;continue}else{$t=Pr;continue}break;case vt:if(_r==="/"||_r==="\\"){$t=Ft;break}mt&&mt.scheme==="file"&&!kt(ue(_(jn,Er),""))&&(Vt(mt.path[0],!0)?ce(gt.path,mt.path[0]):gt.host=mt.host),$t=Pr;continue;case Ft:if(_r===ye||_r==="/"||_r==="\\"||_r==="?"||_r==="#"){if(!Rt&&Vt(vr))$t=Pr;else if(vr===""){if(gt.host="",Rt)return;$t=Be}else{if(ln=gt.parseHost(vr),ln)return ln;if(gt.host==="localhost"&&(gt.host=""),Rt)return;vr="",$t=Be}continue}else vr+=_r;break;case Be:if(gt.isSpecial()){if($t=Pr,_r!=="/"&&_r!=="\\")continue}else if(!Rt&&_r==="?")gt.query="",$t=Zr;else if(!Rt&&_r==="#")gt.fragment="",$t=Vr;else if(_r!==ye&&($t=Pr,_r!=="/"))continue;break;case Pr:if(_r===ye||_r==="/"||_r==="\\"&&gt.isSpecial()||!Rt&&(_r==="?"||_r==="#")){if(Nt(vr)?(gt.shortenPath(),_r!=="/"&&!(_r==="\\"&&gt.isSpecial())&&ce(gt.path,"")):Zt(vr)?_r!=="/"&&!(_r==="\\"&&gt.isSpecial())&&ce(gt.path,""):(gt.scheme==="file"&&!gt.path.length&&Vt(vr)&&(gt.host&&(gt.host=""),vr=J(vr,0)+":"),ce(gt.path,vr)),vr="",gt.scheme==="file"&&(_r===ye||_r==="?"||_r==="#"))for(;gt.path.length>1&&gt.path[0]==="";)$(gt.path);_r==="?"?(gt.query="",$t=Zr):_r==="#"&&(gt.fragment="",$t=Vr)}else vr+=Pe(_r,Gt);break;case St:_r==="?"?(gt.query="",$t=Zr):_r==="#"?(gt.fragment="",$t=Vr):_r!==ye&&(gt.path[0]+=Pe(_r,it));break;case Zr:!Rt&&_r==="#"?(gt.fragment="",$t=Vr):_r!==ye&&(_r==="'"&&gt.isSpecial()?gt.query+="%27":_r==="#"?gt.query+="%23":gt.query+=Pe(_r,it));break;case Vr:_r!==ye&&(gt.fragment+=Pe(_r,ct));break}Er++}},parseHost:function(sr){var Rt,mt,gt;if(J(sr,0)==="["){if(J(sr,sr.length-1)!=="]"||(Rt=Fe(_e(sr,1,-1)),!Rt))return Bt;this.host=Rt}else if(this.isSpecial()){if(sr=A(sr),V(st,sr)||(Rt=Ce(sr),Rt===null))return Bt;this.host=Rt}else{if(V(xt,sr))return Bt;for(Rt="",mt=y(sr),gt=0;gt<mt.length;gt++)Rt+=Pe(mt[gt],it);this.host=Rt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(tt,this.scheme)},shortenPath:function(){var sr=this.path,Rt=sr.length;Rt&&(this.scheme!=="file"||Rt!==1||!Vt(sr[0],!0))&&sr.length--},serialize:function(){var sr=this,Rt=sr.scheme,mt=sr.username,gt=sr.password,$t=sr.host,Er=sr.port,vr=sr.path,ot=sr.query,Mr=sr.fragment,dn=Rt+":";return $t!==null?(dn+="//",sr.includesCredentials()&&(dn+=mt+(gt?":"+gt:"")+"@"),dn+=Ge($t),Er!==null&&(dn+=":"+Er)):Rt==="file"&&(dn+="//"),dn+=sr.cannotBeABaseURL?vr[0]:vr.length?"/"+ue(vr,"/"):"",ot!==null&&(dn+="?"+ot),Mr!==null&&(dn+="#"+Mr),dn},setHref:function(sr){var Rt=this.parse(sr);if(Rt)throw new ne(Rt);this.searchParams.update()},getOrigin:function(){var sr=this.scheme,Rt=this.port;if(sr==="blob")try{return new Br(sr.path[0]).origin}catch(mt){return"null"}return sr==="file"||!this.isSpecial()?"null":sr+"://"+Ge(this.host)+(Rt!==null?":"+Rt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(sr){this.parse(k(sr)+":",At)},getUsername:function(){return this.username},setUsername:function(sr){var Rt=y(k(sr));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var mt=0;mt<Rt.length;mt++)this.username+=Pe(Rt[mt],Ht)}},getPassword:function(){return this.password},setPassword:function(sr){var Rt=y(k(sr));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var mt=0;mt<Rt.length;mt++)this.password+=Pe(Rt[mt],Ht)}},getHost:function(){var sr=this.host,Rt=this.port;return sr===null?"":Rt===null?Ge(sr):Ge(sr)+":"+Rt},setHost:function(sr){this.cannotBeABaseURL||this.parse(sr,Re)},getHostname:function(){var sr=this.host;return sr===null?"":Ge(sr)},setHostname:function(sr){this.cannotBeABaseURL||this.parse(sr,wt)},getPort:function(){var sr=this.port;return sr===null?"":k(sr)},setPort:function(sr){this.cannotHaveUsernamePasswordPort()||(sr=k(sr),sr===""?this.port=null:this.parse(sr,xe))},getPathname:function(){var sr=this.path;return this.cannotBeABaseURL?sr[0]:sr.length?"/"+ue(sr,"/"):""},setPathname:function(sr){this.cannotBeABaseURL||(this.path=[],this.parse(sr,Be))},getSearch:function(){var sr=this.query;return sr?"?"+sr:""},setSearch:function(sr){sr=k(sr),sr===""?this.query=null:(J(sr,0)==="?"&&(sr=_e(sr,1)),this.query="",this.parse(sr,Zr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var sr=this.fragment;return sr?"#"+sr:""},setHash:function(sr){if(sr=k(sr),sr===""){this.fragment=null;return}J(sr,0)==="#"&&(sr=_e(sr,1)),this.fragment="",this.parse(sr,Vr)},update:function(){this.query=this.searchParams.serialize()||null}};var Br=function(Rt){var mt=a(this,pr),gt=T(arguments.length,1)>1?arguments[1]:void 0,$t=B(mt,new xr(Rt,!1,gt));i||(mt.href=$t.serialize(),mt.origin=$t.getOrigin(),mt.protocol=$t.getProtocol(),mt.username=$t.getUsername(),mt.password=$t.getPassword(),mt.host=$t.getHost(),mt.hostname=$t.getHostname(),mt.port=$t.getPort(),mt.pathname=$t.getPathname(),mt.search=$t.getSearch(),mt.searchParams=$t.getSearchParams(),mt.hash=$t.getHash())},pr=Br.prototype,$r=function(sr,Rt){return{get:function(){return N(this)[sr]()},set:Rt&&function(mt){return N(this)[Rt](mt)},configurable:!0,enumerable:!0}};if(i&&(u(pr,"href",$r("serialize","setHref")),u(pr,"origin",$r("getOrigin")),u(pr,"protocol",$r("getProtocol","setProtocol")),u(pr,"username",$r("getUsername","setUsername")),u(pr,"password",$r("getPassword","setPassword")),u(pr,"host",$r("getHost","setHost")),u(pr,"hostname",$r("getHostname","setHostname")),u(pr,"port",$r("getPort","setPort")),u(pr,"pathname",$r("getPathname","setPathname")),u(pr,"search",$r("getSearch","setSearch")),u(pr,"searchParams",$r("getSearchParams")),u(pr,"hash",$r("getHash","setHash"))),h(pr,"toJSON",function(){return N(this).serialize()},{enumerable:!0}),h(pr,"toString",function(){return N(this).serialize()},{enumerable:!0}),W){var en=W.createObjectURL,an=W.revokeObjectURL;en&&h(Br,"createObjectURL",f(en,W)),an&&h(Br,"revokeObjectURL",f(an,W))}L(Br,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Br})},25204:function(d,v,e){"use strict";e(13588)},47803:function(d,v,e){"use strict";var r=e(94488),i=e(89945);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},73825:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},65873:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(89878);function i(l,c,f){return c=(0,r.Z)(c),c in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},38329:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(this,arguments)}},66160:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},63579:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(65873);function i(c,f){var o=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),o.push.apply(o,h)}return o}function l(c){for(var f=1;f<arguments.length;f++){var o=arguments[f]!=null?arguments[f]:{};f%2?i(Object(o),!0).forEach(function(h){(0,r.Z)(c,h,o[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(o,h))})}return c}},38127:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});function r(l,c){if(l==null)return{};var f={},o=Object.keys(l),h,u;for(u=0;u<o.length;u++)h=o[u],!(c.indexOf(h)>=0)&&(f[h]=l[h]);return f}function i(l,c){if(l==null)return{};var f=r(l,c),o,h;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(h=0;h<u.length;h++)o=u[h],!(c.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(l,o)&&(f[o]=l[o])}return f}},87296:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(73825);function i(o,h){var u=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,A=!1;try{if(p=(u=u.call(o)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(k){A=!0,x=k}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(A)throw x}}return _}}var l=e(99227),c=e(66160);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},89878:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(8616);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:String(f)}},8616:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},99227:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});function r(l,c){(c==null||c>l.length)&&(c=l.length);for(var f=0,o=new Array(c);f<c;f++)o[f]=l[f];return o}function i(l,c){if(l){if(typeof l=="string")return r(l,c);var f=Object.prototype.toString.call(l).slice(8,-1);if(f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set")return Array.from(l);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return r(l,c)}}},22363:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){(l==null||l>i.length)&&(l=i.length);for(var c=0,f=Array(l);c<l;c++)f[c]=i[c];return f}},36824:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},62437:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}},51343:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});function r(l,c,f,o,h,u,a){try{var x=l[u](a),p=x.value}catch(y){return void f(y)}x.done?c(p):Promise.resolve(p).then(o,h)}function i(l){return function(){var c=this,f=arguments;return new Promise(function(o,h){var u=l.apply(c,f);function a(p){r(u,o,h,a,x,"next",p)}function x(p){r(u,o,h,a,x,"throw",p)}a(void 0)})}}},42573:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(!(i instanceof l))throw new TypeError("Cannot call a class as a function")}},58698:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(51333);function i(c,f){for(var o=0;o<f.length;o++){var h=f[o];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,(0,r.Z)(h.key),h)}}function l(c,f,o){return f&&i(c.prototype,f),o&&i(c,o),Object.defineProperty(c,"prototype",{writable:!1}),c}},45080:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(20456),i=e(87042),l=e(43011);function c(f){var o=(0,i.Z)();return function(){var h,u=(0,r.Z)(f);if(o){var a=(0,r.Z)(this).constructor;h=Reflect.construct(u,arguments,a)}else h=u.apply(this,arguments);return(0,l.Z)(this,h)}}},52873:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(51333);function i(l,c,f){return(c=(0,r.Z)(c))in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},67711:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)({}).hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(null,arguments)}},20456:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},r(i)}},74700:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(90691);function i(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),c&&(0,r.Z)(l,c)}},87042:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(r=function(){return!!i})()}},23841:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(typeof Symbol!="undefined"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}},82763:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},19456:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(52873);function i(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?Object(arguments[c]):{},o=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&o.push.apply(o,Object.getOwnPropertySymbols(f).filter(function(h){return Object.getOwnPropertyDescriptor(f,h).enumerable})),o.forEach(function(h){(0,r.Z)(l,h,f[h])})}return l}},98506:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(52873);function i(c,f){var o=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),o.push.apply(o,h)}return o}function l(c){for(var f=1;f<arguments.length;f++){var o=arguments[f]!=null?arguments[f]:{};f%2?i(Object(o),!0).forEach(function(h){(0,r.Z)(c,h,o[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(o,h))})}return c}},33346:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(12359);function i(l,c){if(l==null)return{};var f,o,h=(0,r.Z)(l,c);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(o=0;o<u.length;o++)f=u[o],c.indexOf(f)===-1&&{}.propertyIsEnumerable.call(l,f)&&(h[f]=l[f])}return h}},12359:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(i==null)return{};var c={};for(var f in i)if({}.hasOwnProperty.call(i,f)){if(l.indexOf(f)!==-1)continue;c[f]=i[f]}return c}},43011:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(26420),i=e(62437);function l(c,f){if(f&&((0,r.Z)(f)=="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(c)}},77910:function(d,v,e){"use strict";e.d(v,{Z:function(){return x}});function r(p,y){this.v=p,this.k=y}function i(p,y,_,b){var A=Object.defineProperty;try{A({},"",{})}catch(k){A=0}i=function(L,T,D,M){function B(N,K){i(L,N,function(G){return this._invoke(N,K,G)})}T?A?A(L,T,{value:D,enumerable:!M,configurable:!M,writable:!M}):L[T]=D:(B("next",0),B("throw",1),B("return",2))},i(p,y,_,b)}function l(){var p,y,_=typeof Symbol=="function"?Symbol:{},b=_.iterator||"@@iterator",A=_.toStringTag||"@@toStringTag";function k(G,W,ne,ae){var le=W&&W.prototype instanceof T?W:T,Q=Object.create(le.prototype);return i(Q,"_invoke",function(J,V,ue){var ee,X,ce,z=0,$=ue||[],se=!1,_e={p:0,n:0,v:p,a:Oe,f:Oe.bind(p,4),d:function(He,$e){return ee=He,X=0,ce=p,_e.n=$e,L}};function Oe(Le,He){for(X=Le,ce=He,y=0;!se&&z&&!$e&&y<$.length;y++){var $e,Bt=$[y],yt=_e.p,It=Bt[2];Le>3?($e=It===He)&&(ce=Bt[(X=Bt[4])?5:(X=3,3)],Bt[4]=Bt[5]=p):Bt[0]<=yt&&(($e=Le<2&&yt<Bt[1])?(X=0,_e.v=He,_e.n=Bt[1]):yt<It&&($e=Le<3||Bt[0]>He||He>It)&&(Bt[4]=Le,Bt[5]=He,_e.n=It,X=0))}if($e||Le>1)return L;throw se=!0,He}return function(Le,He,$e){if(z>1)throw TypeError("Generator is already running");for(se&&He===1&&Oe(He,$e),X=He,ce=$e;(y=X<2?p:ce)||!se;){ee||(X?X<3?(X>1&&(_e.n=-1),Oe(X,ce)):_e.n=ce:_e.v=ce);try{if(z=2,ee){if(X||(Le="next"),y=ee[Le]){if(!(y=y.call(ee,ce)))throw TypeError("iterator result is not an object");if(!y.done)return y;ce=y.value,X<2&&(X=0)}else X===1&&(y=ee.return)&&y.call(ee),X<2&&(ce=TypeError("The iterator does not provide a '"+Le+"' method"),X=1);ee=p}else if((y=(se=_e.n<0)?ce:J.call(V,_e))!==L)break}catch(Bt){ee=p,X=1,ce=Bt}finally{z=1}}return{value:y,done:se}}}(G,ne,ae),!0),Q}var L={};function T(){}function D(){}function M(){}y=Object.getPrototypeOf;var B=[][b]?y(y([][b]())):(i(y={},b,function(){return this}),y),N=M.prototype=T.prototype=Object.create(B);function K(G){return Object.setPrototypeOf?Object.setPrototypeOf(G,M):(G.__proto__=M,i(G,A,"GeneratorFunction")),G.prototype=Object.create(N),G}return D.prototype=M,i(N,"constructor",M),i(M,"constructor",D),D.displayName="GeneratorFunction",i(M,A,"GeneratorFunction"),i(N),i(N,A,"Generator"),i(N,b,function(){return this}),i(N,"toString",function(){return"[object Generator]"}),(l=function(){return{w:k,m:K}})()}function c(p,y){function _(A,k,L,T){try{var D=p[A](k),M=D.value;return M instanceof r?y.resolve(M.v).then(function(B){_("next",B,L,T)},function(B){_("throw",B,L,T)}):y.resolve(M).then(function(B){D.value=B,L(D)},function(B){return _("throw",B,L,T)})}catch(B){T(B)}}var b;this.next||(i(c.prototype),i(c.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(A,k,L){function T(){return new y(function(D,M){_(A,L,D,M)})}return b=b?b.then(T,T):T()},!0)}function f(p,y,_,b,A){return new c(l().w(p,y,_,b),A||Promise)}function o(p,y,_,b,A){var k=f(p,y,_,b,A);return k.next().then(function(L){return L.done?L.value:k.next()})}function h(p){var y=Object(p),_=[];for(var b in y)_.unshift(b);return function A(){for(;_.length;)if((b=_.pop())in y)return A.value=b,A.done=!1,A;return A.done=!0,A}}var u=e(26420);function a(p){if(p!=null){var y=p[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],_=0;if(y)return y.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length))return{next:function(){return p&&_>=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}}}throw new TypeError((0,u.Z)(p)+" is not iterable")}function x(){"use strict";var p=l(),y=p.m(x),_=(Object.getPrototypeOf?Object.getPrototypeOf(y):y.__proto__).constructor;function b(L){var T=typeof L=="function"&&L.constructor;return!!T&&(T===_||(T.displayName||T.name)==="GeneratorFunction")}var A={throw:1,return:2,break:3,continue:3};function k(L){var T,D;return function(M){T||(T={stop:function(){return D(M.a,2)},catch:function(){return M.v},abrupt:function(N,K){return D(M.a,A[N],K)},delegateYield:function(N,K,G){return T.resultName=K,D(M.d,a(N),G)},finish:function(N){return D(M.f,N)}},D=function(N,K,G){M.p=T.prev,M.n=T.next;try{return N(K,G)}finally{T.next=M.n}}),T.resultName&&(T[T.resultName]=M.v,T.resultName=void 0),T.sent=M.v,T.next=M.n;try{return L.call(this,T)}finally{M.p=T.prev,M.n=T.next}}}return(x=function(){return{wrap:function(D,M,B,N){return p.w(k(D),M,B,N&&N.reverse())},isGeneratorFunction:b,mark:p.m,awrap:function(D,M){return new r(D,M)},AsyncIterator:c,async:function(D,M,B,N,K){return(b(M)?f:o)(k(D),M,B,N,K)},keys:h,values:a}})()}},90691:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},r(i,l)}},16886:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(36824);function i(o,h){var u=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,A=!1;try{if(p=(u=u.call(o)).next,h===0){if(Object(u)!==u)return;b=!1}else for(;!(b=(a=p.call(u)).done)&&(_.push(a.value),_.length!==h);b=!0);}catch(k){A=!0,x=k}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(A)throw x}}return _}}var l=e(42913),c=e(82763);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},57879:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(36824),i=e(23841),l=e(42913),c=e(82763);function f(o){return(0,r.Z)(o)||(0,i.Z)(o)||(0,l.Z)(o)||(0,c.Z)()}},15142:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(22363);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(23841),c=e(42913);function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(h){return i(h)||(0,l.Z)(h)||(0,c.Z)(h)||f()}},51333:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(26420);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:f+""}},26420:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},42913:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(22363);function i(l,c){if(l){if(typeof l=="string")return(0,r.Z)(l,c);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?(0,r.Z)(l,c):void 0}}},81168:function(d,v,e){"use strict";e.d(v,{ZP:function(){return at}});const r=Number.isFinite||function(E){return typeof E=="number"&&isFinite(E)},i=Number.isSafeInteger||function(E){return typeof E=="number"&&Math.abs(E)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(E){return E.NETWORK_ERROR="networkError",E.MEDIA_ERROR="mediaError",E.KEY_SYSTEM_ERROR="keySystemError",E.MUX_ERROR="muxError",E.OTHER_ERROR="otherError",E}({}),f=function(E){return E.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",E.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",E.KEY_SYSTEM_NO_SESSION="keySystemNoSession",E.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",E.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",E.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",E.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",E.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",E.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",E.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",E.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",E.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",E.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",E.MANIFEST_LOAD_ERROR="manifestLoadError",E.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",E.MANIFEST_PARSING_ERROR="manifestParsingError",E.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",E.LEVEL_EMPTY_ERROR="levelEmptyError",E.LEVEL_LOAD_ERROR="levelLoadError",E.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",E.LEVEL_PARSING_ERROR="levelParsingError",E.LEVEL_SWITCH_ERROR="levelSwitchError",E.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",E.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",E.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",E.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",E.FRAG_LOAD_ERROR="fragLoadError",E.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",E.FRAG_DECRYPT_ERROR="fragDecryptError",E.FRAG_PARSING_ERROR="fragParsingError",E.FRAG_GAP="fragGap",E.REMUX_ALLOC_ERROR="remuxAllocError",E.KEY_LOAD_ERROR="keyLoadError",E.KEY_LOAD_TIMEOUT="keyLoadTimeOut",E.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",E.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",E.BUFFER_APPEND_ERROR="bufferAppendError",E.BUFFER_APPENDING_ERROR="bufferAppendingError",E.BUFFER_STALLED_ERROR="bufferStalledError",E.BUFFER_FULL_ERROR="bufferFullError",E.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",E.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",E.ASSET_LIST_LOAD_ERROR="assetListLoadError",E.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",E.ASSET_LIST_PARSING_ERROR="assetListParsingError",E.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",E.INTERNAL_EXCEPTION="internalException",E.INTERNAL_ABORTED="aborted",E.ATTACH_MEDIA_ERROR="attachMediaError",E.UNKNOWN="unknown",E}({}),o=function(E){return E.MEDIA_ATTACHING="hlsMediaAttaching",E.MEDIA_ATTACHED="hlsMediaAttached",E.MEDIA_DETACHING="hlsMediaDetaching",E.MEDIA_DETACHED="hlsMediaDetached",E.MEDIA_ENDED="hlsMediaEnded",E.STALL_RESOLVED="hlsStallResolved",E.BUFFER_RESET="hlsBufferReset",E.BUFFER_CODECS="hlsBufferCodecs",E.BUFFER_CREATED="hlsBufferCreated",E.BUFFER_APPENDING="hlsBufferAppending",E.BUFFER_APPENDED="hlsBufferAppended",E.BUFFER_EOS="hlsBufferEos",E.BUFFERED_TO_END="hlsBufferedToEnd",E.BUFFER_FLUSHING="hlsBufferFlushing",E.BUFFER_FLUSHED="hlsBufferFlushed",E.MANIFEST_LOADING="hlsManifestLoading",E.MANIFEST_LOADED="hlsManifestLoaded",E.MANIFEST_PARSED="hlsManifestParsed",E.LEVEL_SWITCHING="hlsLevelSwitching",E.LEVEL_SWITCHED="hlsLevelSwitched",E.LEVEL_LOADING="hlsLevelLoading",E.LEVEL_LOADED="hlsLevelLoaded",E.LEVEL_UPDATED="hlsLevelUpdated",E.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",E.LEVELS_UPDATED="hlsLevelsUpdated",E.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",E.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",E.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",E.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",E.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",E.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",E.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",E.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",E.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",E.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",E.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",E.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",E.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",E.CUES_PARSED="hlsCuesParsed",E.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",E.INIT_PTS_FOUND="hlsInitPtsFound",E.FRAG_LOADING="hlsFragLoading",E.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",E.FRAG_LOADED="hlsFragLoaded",E.FRAG_DECRYPTED="hlsFragDecrypted",E.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",E.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",E.FRAG_PARSING_METADATA="hlsFragParsingMetadata",E.FRAG_PARSED="hlsFragParsed",E.FRAG_BUFFERED="hlsFragBuffered",E.FRAG_CHANGED="hlsFragChanged",E.FPS_DROP="hlsFpsDrop",E.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",E.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",E.ERROR="hlsError",E.DESTROYING="hlsDestroying",E.KEY_LOADING="hlsKeyLoading",E.KEY_LOADED="hlsKeyLoaded",E.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",E.BACK_BUFFER_REACHED="hlsBackBufferReached",E.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",E.ASSET_LIST_LOADING="hlsAssetListLoading",E.ASSET_LIST_LOADED="hlsAssetListLoaded",E.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",E.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",E.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",E.INTERSTITIAL_STARTED="hlsInterstitialStarted",E.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",E.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",E.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",E.INTERSTITIAL_ENDED="hlsInterstitialEnded",E.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",E.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",E.EVENT_CUE_ENTER="hlsEventCueEnter",E}({});var h={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},u={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class a{constructor(t,n=0,s=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=t,this.alpha_=t?Math.exp(Math.log(.5)/t):0,this.estimate_=n,this.totalWeight_=s}sample(t,n){const s=Math.pow(this.alpha_,t);this.estimate_=n*(1-s)+s*this.estimate_,this.totalWeight_+=t}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const t=1-Math.pow(this.alpha_,this.totalWeight_);if(t)return this.estimate_/t}return this.estimate_}}class x{constructor(t,n,s,m=100){this.defaultEstimate_=void 0,this.minWeight_=void 0,this.minDelayMs_=void 0,this.slow_=void 0,this.fast_=void 0,this.defaultTTFB_=void 0,this.ttfb_=void 0,this.defaultEstimate_=s,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new a(t),this.fast_=new a(n),this.defaultTTFB_=m,this.ttfb_=new a(t)}update(t,n){const{slow_:s,fast_:m,ttfb_:w}=this;s.halfLife!==t&&(this.slow_=new a(t,s.getEstimate(),s.getTotalWeight())),m.halfLife!==n&&(this.fast_=new a(n,m.getEstimate(),m.getTotalWeight())),w.halfLife!==t&&(this.ttfb_=new a(t,w.getEstimate(),w.getTotalWeight()))}sample(t,n){t=Math.max(t,this.minDelayMs_);const s=8*n,m=t/1e3,w=s/m;this.fast_.sample(m,w),this.slow_.sample(m,w)}sampleTTFB(t){const n=t/1e3,s=Math.sqrt(2)*Math.exp(-Math.pow(n,2)/2);this.ttfb_.sample(s,Math.max(t,5))}canEstimate(){return this.fast_.getTotalWeight()>=this.minWeight_}getEstimate(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_}getEstimateTTFB(){return this.ttfb_.getTotalWeight()>=this.minWeight_?this.ttfb_.getEstimate():this.defaultTTFB_}get defaultEstimate(){return this.defaultEstimate_}destroy(){}}function p(E,t,n){return(t=k(t))in E?Object.defineProperty(E,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):E[t]=n,E}function y(){return y=Object.assign?Object.assign.bind():function(E){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(E[s]=n[s])}return E},y.apply(null,arguments)}function _(E,t){var n=Object.keys(E);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(E);t&&(s=s.filter(function(m){return Object.getOwnPropertyDescriptor(E,m).enumerable})),n.push.apply(n,s)}return n}function b(E){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(s){p(E,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(s){Object.defineProperty(E,s,Object.getOwnPropertyDescriptor(n,s))})}return E}function A(E,t){if(typeof E!="object"||!E)return E;var n=E[Symbol.toPrimitive];if(n!==void 0){var s=n.call(E,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(E)}function k(E){var t=A(E,"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 s=`[${t}]:`;this.trace=T,this.debug=n.debug.bind(null,s),this.log=n.log.bind(null,s),this.warn=n.warn.bind(null,s),this.info=n.info.bind(null,s),this.error=n.error.bind(null,s)}}const T=function(){},D={trace:T,debug:T,log:T,warn:T,info:T,error:T};function M(){return y({},D)}function B(E,t){const n=self.console[E];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${E}] >`):T}function N(E,t,n){return t[E]?t[E].bind(t):B(E,n)}const K=M();function G(E,t,n){const s=M();if(typeof console=="object"&&E===!0||typeof E=="object"){const m=["debug","log","info","warn","error"];m.forEach(w=>{s[w]=N(w,E,n)});try{s.log(`Debug logs enabled for "${t}" in hls.js version 1.6.7`)}catch(w){return M()}m.forEach(w=>{K[w]=N(w,E)})}else y(K,s);return s}const W=K;function ne(E=!0){return typeof self=="undefined"?void 0:(E||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ae(E){return typeof self!="undefined"&&E===self.ManagedMediaSource}function le(E,t){const n=Object.keys(E),s=Object.keys(t),m=n.length,w=s.length;return!m||!w||m===w&&!n.some(C=>s.indexOf(C)===-1)}function Q(E,t=!1){if(typeof TextDecoder!="undefined"){const H=new TextDecoder("utf-8").decode(E);if(t){const te=H.indexOf("\0");return te!==-1?H.substring(0,te):H}return H.replace(/\0/g,"")}const n=E.length;let s,m,w,C="",j=0;for(;j<n;){if(s=E[j++],s===0&&t)return C;if(s===0||s===3)continue;switch(s>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:C+=String.fromCharCode(s);break;case 12:case 13:m=E[j++],C+=String.fromCharCode((s&31)<<6|m&63);break;case 14:m=E[j++],w=E[j++],C+=String.fromCharCode((s&15)<<12|(m&63)<<6|(w&63)<<0);break}}return C}const J={hexDump:function(E){let t="";for(let n=0;n<E.length;n++){let s=E[n].toString(16);s.length<2&&(s="0"+s),t+=s}return t}};function V(E){return Uint8Array.from(E.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}function ue(E){return E&&E.__esModule&&Object.prototype.hasOwnProperty.call(E,"default")?E.default:E}var ee={exports:{}},X;function ce(){return X||(X=1,function(E,t){(function(n){var s=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,w=/(?:\/|^)\.(?=\/)/g,C=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,j={buildAbsoluteURL:function(Y,H,te){if(te=te||{},Y=Y.trim(),H=H.trim(),!H){if(!te.alwaysNormalize)return Y;var oe=j.parseURL(Y);if(!oe)throw new Error("Error trying to parse base URL.");return oe.path=j.normalizePath(oe.path),j.buildURLFromParts(oe)}var me=j.parseURL(H);if(!me)throw new Error("Error trying to parse relative URL.");if(me.scheme)return te.alwaysNormalize?(me.path=j.normalizePath(me.path),j.buildURLFromParts(me)):H;var Se=j.parseURL(Y);if(!Se)throw new Error("Error trying to parse base URL.");if(!Se.netLoc&&Se.path&&Se.path[0]!=="/"){var Ae=m.exec(Se.path);Se.netLoc=Ae[1],Se.path=Ae[2]}Se.netLoc&&!Se.path&&(Se.path="/");var lt={scheme:Se.scheme,netLoc:me.netLoc,path:null,params:me.params,query:me.query,fragment:me.fragment};if(!me.netLoc&&(lt.netLoc=Se.netLoc,me.path[0]!=="/"))if(!me.path)lt.path=Se.path,me.params||(lt.params=Se.params,me.query||(lt.query=Se.query));else{var et=Se.path,Lt=et.substring(0,et.lastIndexOf("/")+1)+me.path;lt.path=j.normalizePath(Lt)}return lt.path===null&&(lt.path=te.alwaysNormalize?j.normalizePath(me.path):me.path),j.buildURLFromParts(lt)},parseURL:function(Y){var H=s.exec(Y);return H?{scheme:H[1]||"",netLoc:H[2]||"",path:H[3]||"",params:H[4]||"",query:H[5]||"",fragment:H[6]||""}:null},normalizePath:function(Y){for(Y=Y.split("").reverse().join("").replace(w,"");Y.length!==(Y=Y.replace(C,"")).length;);return Y.split("").reverse().join("")},buildURLFromParts:function(Y){return Y.scheme+Y.netLoc+Y.path+Y.params+Y.query+Y.fragment}};E.exports=j})()}(ee)),ee.exports}var z=ce();class ${constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var se={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class _e{constructor(t){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof t=="string"&&(t={url:t}),this.base=t,Bt(this,"stats")}setByteRange(t,n){const s=t.split("@",2);let m;s.length===1?m=(n==null?void 0:n.byteRangeEndOffset)||0:m=parseInt(s[1]),this._byteRange=[m,parseInt(s[0])+m]}get baseurl(){return this.base.url}get byteRange(){return this._byteRange===null?[]:this._byteRange}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get elementaryStreams(){return this._streams===null&&(this._streams={[se.AUDIO]:null,[se.VIDEO]:null,[se.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(t){this._streams=t}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new $),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=z.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[se.AUDIO]=null,t[se.VIDEO]=null,t[se.AUDIOVIDEO]=null}}function Oe(E){return E.sn!=="initSegment"}class Le extends _e{constructor(t,n){super(n),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=t}get byteLength(){if(this.hasStats){const t=this.stats.total;if(t)return t}if(this.byteRange){const t=this.byteRange[0],n=this.byteRange[1];if(r(t)&&r(n))return n-t}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(t){this._bitrate=t}get decryptdata(){const{levelkeys:t}=this;if(!t&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const n=this.levelkeys.identity;if(n)this._decryptdata=n.getDecryptData(this.sn);else{const s=Object.keys(this.levelkeys);if(s.length===1)return this._decryptdata=this.levelkeys[s[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)return null;const t=r(this.duration)?this.duration:0;return this.programDateTime+t*1e3}get encrypted(){var t;if((t=this._decryptdata)!=null&&t.encrypted)return!0;if(this.levelkeys){const n=Object.keys(this.levelkeys),s=n.length;if(s>1||s===1&&this.levelkeys[n[0]].encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(t){if(!r(t)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=t}get ref(){return Oe(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(t){this.setStart(this.start+t)}setStart(t){this.start=t,this._ref&&(this._ref.start=t)}setDuration(t){this.duration=t,this._ref&&(this._ref.duration=t)}setKeyFormat(t){if(this.levelkeys){const n=this.levelkeys[t];n&&!this._decryptdata&&(this._decryptdata=n.getDecryptData(this.sn))}}abortRequests(){var t,n;(t=this.loader)==null||t.abort(),(n=this.keyLoader)==null||n.abort()}setElementaryStreamInfo(t,n,s,m,w,C=!1){const{elementaryStreams:j}=this,Y=j[t];if(!Y){j[t]={startPTS:n,endPTS:s,startDTS:m,endDTS:w,partial:C};return}Y.startPTS=Math.min(Y.startPTS,n),Y.endPTS=Math.max(Y.endPTS,s),Y.startDTS=Math.min(Y.startDTS,m),Y.endDTS=Math.max(Y.endDTS,w)}}class He extends _e{constructor(t,n,s,m,w){super(s),this.fragOffset=0,this.duration=0,this.gap=!1,this.independent=!1,this.relurl=void 0,this.fragment=void 0,this.index=void 0,this.duration=t.decimalFloatingPoint("DURATION"),this.gap=t.bool("GAP"),this.independent=t.bool("INDEPENDENT"),this.relurl=t.enumeratedString("URI"),this.fragment=n,this.index=m;const C=t.enumeratedString("BYTERANGE");C&&this.setByteRange(C,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 $e(E,t){const n=Object.getPrototypeOf(E);if(n){const s=Object.getOwnPropertyDescriptor(n,t);return s||$e(n,t)}}function Bt(E,t){const n=$e(E,t);n&&(n.enumerable=!0,Object.defineProperty(E,t,n))}const yt=Math.pow(2,32)-1,It=[].push,rr={video:1,audio:2,id3:3,text:4};function Yt(E){return String.fromCharCode.apply(null,E)}function lr(E,t){const n=E[t]<<8|E[t+1];return n<0?65536+n:n}function Ve(E,t){const n=Ut(E,t);return n<0?4294967296+n:n}function Ct(E,t){let n=Ve(E,t);return n*=Math.pow(2,32),n+=Ve(E,t+4),n}function Ut(E,t){return E[t]<<24|E[t+1]<<16|E[t+2]<<8|E[t+3]}function st(E){const t=E.byteLength;for(let n=0;n<t;){const s=Ve(E,n);if(s>8&&E[n+4]===109&&E[n+5]===111&&E[n+6]===111&&E[n+7]===102)return!0;n=s>1?n+s:t}return!1}function xt(E,t){const n=[];if(!t.length)return n;const s=E.byteLength;for(let m=0;m<s;){const w=Ve(E,m),C=Yt(E.subarray(m+4,m+8)),j=w>1?m+w:s;if(C===t[0])if(t.length===1)n.push(E.subarray(m+8,j));else{const Y=xt(E.subarray(m+8,j),t.slice(1));Y.length&&It.apply(n,Y)}m=j}return n}function ht(E){const t=[],n=E[0];let s=8;const m=Ve(E,s);s+=4;let w=0,C=0;n===0?(w=Ve(E,s),C=Ve(E,s+4),s+=8):(w=Ct(E,s),C=Ct(E,s+8),s+=16),s+=2;let j=E.length+C;const Y=lr(E,s);s+=2;for(let H=0;H<Y;H++){let te=s;const oe=Ve(E,te);te+=4;const me=oe&2147483647;if((oe&2147483648)>>>31===1)return W.warn("SIDX has hierarchical references (not supported)"),null;const Ae=Ve(E,te);te+=4,t.push({referenceSize:me,subsegmentDuration:Ae,info:{duration:Ae/m,start:j,end:j+me-1}}),j+=me,te+=4,s=te}return{earliestPresentationTime:w,timescale:m,version:n,referencesCount:Y,references:t}}function rt(E){const t=[],n=xt(E,["moov","trak"]);for(let m=0;m<n.length;m++){const w=n[m],C=xt(w,["tkhd"])[0];if(C){let j=C[0];const Y=Ve(C,j===0?12:20),H=xt(w,["mdia","mdhd"])[0];if(H){j=H[0];const te=Ve(H,j===0?12:20),oe=xt(w,["mdia","hdlr"])[0];if(oe){const me=Yt(oe.subarray(8,12)),Se={soun:se.AUDIO,vide:se.VIDEO}[me],Ae=xt(w,["mdia","minf","stbl","stsd"])[0],lt=Ue(Ae);Se?(t[Y]={timescale:te,type:Se,stsd:lt},t[Se]=b({timescale:te,id:Y},lt)):t[Y]={timescale:te,type:me,stsd:lt}}}}}return xt(E,["moov","mvex","trex"]).forEach(m=>{const w=Ve(m,4),C=t[w];C&&(C.default={duration:Ve(m,12),flags:Ve(m,20)})}),t}function Ue(E){const t=E.subarray(8),n=t.subarray(86),s=Yt(t.subarray(4,8));let m=s,w;const C=s==="enca"||s==="encv";if(C){const H=xt(t,[s])[0].subarray(s==="enca"?28:78);xt(H,["sinf"]).forEach(oe=>{const me=xt(oe,["schm"])[0];if(me){const Se=Yt(me.subarray(4,8));if(Se==="cbcs"||Se==="cenc"){const Ae=xt(oe,["frma"])[0];Ae&&(m=Yt(Ae))}}})}const j=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const Y=xt(n,["avcC"])[0];Y&&Y.length>3&&(m+="."+je(Y[1])+je(Y[2])+je(Y[3]),w=ye(j==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const Y=xt(t,[s])[0],H=xt(Y.subarray(28),["esds"])[0];if(H&&H.length>7){let te=4;if(H[te++]!==3)break;te=Fe(H,te),te+=2;const oe=H[te++];if(oe&128&&(te+=2),oe&64&&(te+=H[te++]),H[te++]!==4)break;te=Fe(H,te);const me=H[te++];if(me===64)m+="."+je(me);else break;if(te+=12,H[te++]!==5)break;te=Fe(H,te);const Se=H[te++];let Ae=(Se&248)>>3;Ae===31&&(Ae+=1+((Se&7)<<3)+((H[te]&224)>>5)),m+="."+Ae}break}case"hvc1":case"hev1":{const Y=xt(n,["hvcC"])[0];if(Y&&Y.length>12){const H=Y[1],te=["","A","B","C"][H>>6],oe=H&31,me=Ve(Y,2),Se=(H&32)>>5?"H":"L",Ae=Y[12],lt=Y.subarray(6,12);m+="."+te+oe,m+="."+Ce(me).toString(16).toUpperCase(),m+="."+Se+Ae;let et="";for(let Lt=lt.length;Lt--;){const tr=lt[Lt];(tr||et)&&(et="."+tr.toString(16).toUpperCase()+et)}m+=et}w=ye(j=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=ye(m,n)||m;break}case"vp09":{const Y=xt(n,["vpcC"])[0];if(Y&&Y.length>6){const H=Y[4],te=Y[5],oe=Y[6]>>4&15;m+="."+Ge(H)+"."+Ge(te)+"."+Ge(oe)}break}case"av01":{const Y=xt(n,["av1C"])[0];if(Y&&Y.length>2){const H=Y[1]>>>5,te=Y[1]&31,oe=Y[2]>>>7?"H":"M",me=(Y[2]&64)>>6,Se=(Y[2]&32)>>5,Ae=H===2&&me?Se?12:10:me?10:8,lt=(Y[2]&16)>>4,et=(Y[2]&8)>>3,Lt=(Y[2]&4)>>2,tr=Y[2]&3;m+="."+H+"."+Ge(te)+oe+"."+Ge(Ae)+"."+lt+"."+et+Lt+tr+"."+Ge(1)+"."+Ge(1)+"."+Ge(1)+"."+0,w=ye("dav1",n)}break}}return{codec:m,encrypted:C,supplemental:w}}function ye(E,t){const n=xt(t,["dvvC"]),s=n.length?n[0]:xt(t,["dvcC"])[0];if(s){const m=s[2]>>1&127,w=s[2]<<5&32|s[3]>>3&31;return E+"."+Ge(m)+"."+Ge(w)}}function Ce(E){let t=0;for(let n=0;n<32;n++)t|=(E>>n&1)<<31-n;return t>>>0}function Fe(E,t){const n=t+5;for(;E[t++]&128&&t<n;);return t}function je(E){return("0"+E.toString(16).toUpperCase()).slice(-2)}function Ge(E){return(E<10?"0":"")+E}function it(E,t){if(!E||!t)return E;const n=t.keyId;return n&&t.isCommonEncryption&&xt(E,["moov","trak"]).forEach(m=>{const C=xt(m,["mdia","minf","stbl","stsd"])[0].subarray(8);let j=xt(C,["enca"]);const Y=j.length>0;Y||(j=xt(C,["encv"])),j.forEach(H=>{const te=Y?H.subarray(28):H.subarray(78);xt(te,["sinf"]).forEach(me=>{const Se=ct(me);if(Se){const Ae=Se.subarray(8,24);Ae.some(lt=>lt!==0)||(W.log(`[eme] Patching keyId in 'enc${Y?"a":"v"}>sinf>>tenc' box: ${J.hexDump(Ae)} -> ${J.hexDump(n)}`),Se.set(n,8))}})})}),E}function ct(E){const t=xt(E,["schm"])[0];if(t){const n=Yt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return xt(E,["schi","tenc"])[0]}return null}function Gt(E,t,n){const s={},m=xt(E,["moof","traf"]);for(let w=0;w<m.length;w++){const C=m[w],j=xt(C,["tfhd"])[0],Y=Ve(j,4),H=t[Y];if(!H)continue;const te=s[Y]||(s[Y]={start:NaN,duration:0,sampleCount:0,timescale:H.timescale,type:H.type}),oe=xt(C,["tfdt"])[0];if(oe){const Kt=oe[0];let Cr=Ve(oe,4);Kt===1&&(Cr===yt?n.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):(Cr*=yt+1,Cr+=Ve(oe,8))),r(Cr)&&(!r(te.start)||Cr<te.start)&&(te.start=Cr)}const me=H.default,Se=Ve(j,0)|(me==null?void 0:me.flags);let Ae=(me==null?void 0:me.duration)||0;Se&8&&(Se&2?Ae=Ve(j,12):Ae=Ve(j,8));const lt=xt(C,["trun"]);let et=te.start||0,Lt=0,tr=Ae;for(let Kt=0;Kt<lt.length;Kt++){const Cr=lt[Kt],Hr=Ve(Cr,4),on=te.sampleCount;te.sampleCount+=Hr;const zr=Cr[3]&1,Yr=Cr[3]&4,rn=Cr[2]&1,Nr=Cr[2]&2,Fn=Cr[2]&4,ai=Cr[2]&8;let ia=8,$i=Hr;for(zr&&(ia+=4),Yr&&Hr&&(!(Cr[ia+1]&1)&&te.keyFrameIndex===void 0&&(te.keyFrameIndex=on),ia+=4,rn?(tr=Ve(Cr,ia),ia+=4):tr=Ae,Nr&&(ia+=4),ai&&(ia+=4),et+=tr,Lt+=tr,$i--);$i--;)rn?(tr=Ve(Cr,ia),ia+=4):tr=Ae,Nr&&(ia+=4),Fn&&(Cr[ia+1]&1||te.keyFrameIndex===void 0&&(te.keyFrameIndex=te.sampleCount-($i+1),te.keyFrameStart=et),ia+=4),ai&&(ia+=4),et+=tr,Lt+=tr;!Lt&&Ae&&(Lt+=Ae*Hr)}te.duration+=Lt}if(!Object.keys(s).some(w=>s[w].duration)){let w=1/0,C=0;const j=xt(E,["sidx"]);for(let Y=0;Y<j.length;Y++){const H=ht(j[Y]);if(H!=null&&H.references){w=Math.min(w,H.earliestPresentationTime/H.timescale);const te=H.references.reduce((oe,me)=>oe+me.info.duration||0,0);C=Math.max(C,te+H.earliestPresentationTime/H.timescale)}}C&&r(C)&&Object.keys(s).forEach(Y=>{s[Y].duration||(s[Y].duration=C*s[Y].timescale-s[Y].start)})}return s}function Ht(E){const t={valid:null,remainder:null},n=xt(E,["moof"]);if(n.length<2)return t.remainder=E,t;const s=n[n.length-1];return t.valid=E.slice(0,s.byteOffset-8),t.remainder=E.slice(s.byteOffset-8),t}function Pe(E,t){const n=new Uint8Array(E.length+t.length);return n.set(E),n.set(t,E.length),n}function tt(E,t){const n=[],s=t.samples,m=t.timescale,w=t.id;let C=!1;return xt(s,["moof"]).map(Y=>{const H=Y.byteOffset-8;xt(Y,["traf"]).map(oe=>{const me=xt(oe,["tfdt"]).map(Se=>{const Ae=Se[0];let lt=Ve(Se,4);return Ae===1&&(lt*=Math.pow(2,32),lt+=Ve(Se,8)),lt/m})[0];return me!==void 0&&(E=me),xt(oe,["tfhd"]).map(Se=>{const Ae=Ve(Se,4),lt=Ve(Se,0)&16777215,et=(lt&1)!==0,Lt=(lt&2)!==0,tr=(lt&8)!==0;let Kt=0;const Cr=(lt&16)!==0;let Hr=0;const on=(lt&32)!==0;let zr=8;Ae===w&&(et&&(zr+=8),Lt&&(zr+=4),tr&&(Kt=Ve(Se,zr),zr+=4),Cr&&(Hr=Ve(Se,zr),zr+=4),on&&(zr+=4),t.type==="video"&&(C=Vt(t.codec)),xt(oe,["trun"]).map(Yr=>{const rn=Yr[0],Nr=Ve(Yr,0)&16777215,Fn=(Nr&1)!==0;let ai=0;const ia=(Nr&4)!==0,$i=(Nr&256)!==0;let Bi=0;const Ai=(Nr&512)!==0;let va=0;const si=(Nr&1024)!==0,Aa=(Nr&2048)!==0;let xa=0;const hi=Ve(Yr,4);let ri=8;Fn&&(ai=Ve(Yr,ri),ri+=4),ia&&(ri+=4);let Ha=ai+H;for(let ms=0;ms<hi;ms++){if($i?(Bi=Ve(Yr,ri),ri+=4):Bi=Kt,Ai?(va=Ve(Yr,ri),ri+=4):va=Hr,si&&(ri+=4),Aa&&(rn===0?xa=Ve(Yr,ri):xa=Ut(Yr,ri),ri+=4),t.type===se.VIDEO){let Vs=0;for(;Vs<va;){const Rs=Ve(s,Ha);if(Ha+=4,kt(C,s[Ha])){const No=s.subarray(Ha,Ha+Rs);Zt(No,C?2:1,E+xa/m,n)}Ha+=Rs,Vs+=Rs+4}}E+=Bi/m}}))})})}),n}function Vt(E){if(!E)return!1;const t=E.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function kt(E,t){if(E){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function Zt(E,t,n,s){const m=Nt(E);let w=0;w+=t;let C=0,j=0,Y=0;for(;w<m.length;){C=0;do{if(w>=m.length)break;Y=m[w++],C+=Y}while(Y===255);j=0;do{if(w>=m.length)break;Y=m[w++],j+=Y}while(Y===255);const H=m.length-w;let te=w;if(j<H)w+=j;else if(j>H){W.error(`Malformed SEI payload. ${j} is too small, only ${H} bytes left to parse.`);break}if(C===4){if(m[te++]===181){const me=lr(m,te);if(te+=2,me===49){const Se=Ve(m,te);if(te+=4,Se===1195456820){const Ae=m[te++];if(Ae===3){const lt=m[te++],et=31&lt,Lt=64&lt,tr=Lt?2+et*3:0,Kt=new Uint8Array(tr);if(Lt){Kt[0]=lt;for(let Cr=1;Cr<tr;Cr++)Kt[Cr]=m[te++]}s.push({type:Ae,payloadType:C,pts:n,bytes:Kt})}}}}}else if(C===5&&j>16){const oe=[];for(let Ae=0;Ae<16;Ae++){const lt=m[te++].toString(16);oe.push(lt.length==1?"0"+lt:lt),(Ae===3||Ae===5||Ae===7||Ae===9)&&oe.push("-")}const me=j-16,Se=new Uint8Array(me);for(let Ae=0;Ae<me;Ae++)Se[Ae]=m[te++];s.push({payloadType:C,pts:n,uuid:oe.join(""),userData:Q(Se),userDataBytes:Se})}}}function Nt(E){const t=E.byteLength,n=[];let s=1;for(;s<t-2;)E[s]===0&&E[s+1]===0&&E[s+2]===3?(n.push(s+2),s+=2):s++;if(n.length===0)return E;const m=t-n.length,w=new Uint8Array(m);let C=0;for(s=0;s<m;C++,s++)C===n[0]&&(C++,n.shift()),w[s]=E[C];return w}function At(E){const t=E[0];let n="",s="",m=0,w=0,C=0,j=0,Y=0,H=0;if(t===0){for(;Yt(E.subarray(H,H+1))!=="\0";)n+=Yt(E.subarray(H,H+1)),H+=1;for(n+=Yt(E.subarray(H,H+1)),H+=1;Yt(E.subarray(H,H+1))!=="\0";)s+=Yt(E.subarray(H,H+1)),H+=1;s+=Yt(E.subarray(H,H+1)),H+=1,m=Ve(E,12),w=Ve(E,16),j=Ve(E,20),Y=Ve(E,24),H=28}else if(t===1){H+=4,m=Ve(E,H),H+=4;const oe=Ve(E,H);H+=4;const me=Ve(E,H);for(H+=4,C=4294967296*oe+me,i(C)||(C=Number.MAX_SAFE_INTEGER,W.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),j=Ve(E,H),H+=4,Y=Ve(E,H),H+=4;Yt(E.subarray(H,H+1))!=="\0";)n+=Yt(E.subarray(H,H+1)),H+=1;for(n+=Yt(E.subarray(H,H+1)),H+=1;Yt(E.subarray(H,H+1))!=="\0";)s+=Yt(E.subarray(H,H+1)),H+=1;s+=Yt(E.subarray(H,H+1)),H+=1}const te=E.subarray(H,E.byteLength);return{schemeIdUri:n,value:s,timeScale:m,presentationTime:C,presentationTimeDelta:w,eventDuration:j,id:Y,payload:te}}function qt(E,...t){const n=t.length;let s=8,m=n;for(;m--;)s+=t[m].byteLength;const w=new Uint8Array(s);for(w[0]=s>>24&255,w[1]=s>>16&255,w[2]=s>>8&255,w[3]=s&255,w.set(E,4),m=0,s=8;m<n;m++)w.set(t[m],s),s+=t[m].byteLength;return w}function Ke(E,t,n){if(E.byteLength!==16)throw new RangeError("Invalid system id");let s,m;s=0,m=new Uint8Array;let w;s>0?(w=new Uint8Array(4),t.length>0&&new DataView(w.buffer).setUint32(0,t.length,!1)):w=new Uint8Array;const C=new Uint8Array(4);return n&&n.byteLength>0&&new DataView(C.buffer).setUint32(0,n.byteLength,!1),qt([112,115,115,104],new Uint8Array([s,0,0,0]),E,w,m,C,n||new Uint8Array)}const fe=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),pe={audio:{a3ds:1,"ac-3":.95,"ac-4":1,alac:.9,alaw:1,dra1:1,"dts+":1,"dts-":1,dtsc:1,dtse:1,dtsh:1,"ec-3":.9,enca:1,fLaC:.9,flac:.9,FLAC:.9,g719:1,g726:1,m4ae:1,mha1:1,mha2:1,mhm1:1,mhm2:1,mlpa:1,mp4a:1,"raw ":1,Opus:1,opus:1,samr:1,sawb:1,sawp:1,sevc:1,sqcp:1,ssmv:1,twos:1,ulaw:1},video:{avc1:1,avc2:1,avc3:1,avc4:1,avcp:1,av01:.8,dav1:.8,drac:1,dva1:1,dvav:1,dvh1:.7,dvhe:.7,encv:1,hev1:.75,hvc1:.75,mjp2:1,mp4v:1,mvc1:1,mvc2:1,mvc3:1,mvc4:1,resv:1,rv60:1,s263:1,svc1:1,svc2:1,"vc-1":1,vp08:1,vp09:.9},text:{stpp:1,wvtt:1}};function Dt(E,t){const n=pe[t];return!!n&&!!n[E.slice(0,4)]}function De(E,t,n=!0){return!E.split(",").some(s=>!ft(s,t,n))}function ft(E,t,n=!0){var s;const m=ne(n);return(s=m==null?void 0:m.isTypeSupported(zt(E,t)))!=null?s:!1}function zt(E,t){return`${t}/mp4;codecs=${E}`}function Et(E){if(E){const t=E.substring(0,4);return pe.video[t]}return 2}function Re(E){const t=fe();return E.split(",").reduce((n,s)=>{const w=t&&Vt(s)?9:pe.video[s];return w?(w*2+n)/(n?3:2):(pe.audio[s]+n)/(n?2:1)},0)}const wt={};function xe(E,t=!0){if(wt[E])return wt[E];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[E];for(let m=0;m<n.length;m++){var s;if(ft(n[m],"audio",t))return wt[E]=n[m],n[m];if(n[m]==="mp3"&&(s=ne(t))!=null&&s.isTypeSupported("audio/mpeg"))return""}return E}const qe=/flac|opus|mp4a\.40\.34/i;function vt(E,t=!0){return E.replace(qe,n=>xe(n.toLowerCase(),t))}function Ft(E,t){const n=[];if(E){const s=E.split(",");for(let m=0;m<s.length;m++)Dt(s[m],"video")||n.push(s[m])}return t&&n.push(t),n.join(",")}function Be(E,t){if(E&&(E.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(E)!==-1)&&(Pr(E,"audio")||Pr(E,"video")))return E;if(t){const n=t.split(",");if(n.length>1){if(E){for(let s=n.length;s--;)if(n[s].substring(0,4)===E.substring(0,4))return n[s]}return n[0]}}return t||E}function Pr(E,t){return Dt(E,t)&&ft(E,t)}function St(E){const t=E.split(",");for(let n=0;n<t.length;n++){const s=t[n].split(".");s.length>2&&s[0]==="avc1"&&(t[n]=`avc1.${parseInt(s[1]).toString(16)}${("000"+parseInt(s[2]).toString(16)).slice(-4)}`)}return t.join(",")}function Zr(E){if(E.startsWith("av01.")){const t=E.split("."),n=["0","111","01","01","01","0"];for(let s=t.length;s>4&&s<10;s++)t[s]=n[s-4];return t.join(".")}return E}function Vr(E){const t=ne(E)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function xr(E){return E.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const Br={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function pr(E,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:E}}function $r(E,t,n,s,m,w){const C=E.videoCodec,j=E.audioCodec?E.audioGroups:null,Y=w==null?void 0:w.audioCodec,H=w==null?void 0:w.channels,te=H?parseInt(H):Y?1/0:2;let oe=null;if(j!=null&&j.length)try{j.length===1&&j[0]?oe=t.groups[j[0]].channels:oe=j.reduce((me,Se)=>{if(Se){const Ae=t.groups[Se];if(!Ae)throw new Error(`Audio track group ${Se} not found`);Object.keys(Ae.channels).forEach(lt=>{me[lt]=(me[lt]||0)+Ae.channels[lt]})}return me},{2:0})}catch(me){return!0}return C!==void 0&&(C.split(",").some(me=>Vt(me))||E.width>1920&&E.height>1088||E.height>1920&&E.width>1088||E.frameRate>Math.max(s,30)||E.videoRange!=="SDR"&&E.videoRange!==n||E.bitrate>Math.max(m,8e6))||!!oe&&r(te)&&Object.keys(oe).some(me=>parseInt(me)>te)}function en(E,t,n,s={}){const m=E.videoCodec;if(!m&&!E.audioCodec||!n)return Promise.resolve(Br);const w=[],C=an(E),j=C.length,Y=sr(E,t,j>0),H=Y.length;for(let te=j||1*H||1;te--;){const oe={type:"media-source"};if(j&&(oe.video=C[te%j]),H){oe.audio=Y[te%H];const me=oe.audio.bitrate;oe.video&&me&&(oe.video.bitrate-=me)}w.push(oe)}if(m){const te=navigator.userAgent;if(m.split(",").some(oe=>Vt(oe))&&fe())return Promise.resolve(pr(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent string: (${te})`),w))}return Promise.all(w.map(te=>{const oe=gt(te);return s[oe]||(s[oe]=n.decodingInfo(te))})).then(te=>({supported:!te.some(oe=>!oe.supported),configurations:w,decodingInfoResults:te})).catch(te=>({supported:!1,configurations:w,decodingInfoResults:[],error:te}))}function an(E){var t;const n=(t=E.videoCodec)==null?void 0:t.split(","),s=mt(E),m=E.width||640,w=E.height||480,C=E.frameRate||30,j=E.videoRange.toLowerCase();return n?n.map(Y=>{const H={contentType:zt(Zr(Y),"video"),width:m,height:w,bitrate:s,framerate:C};return j!=="sdr"&&(H.transferFunction=j),H}):[]}function sr(E,t,n){var s;const m=(s=E.audioCodec)==null?void 0:s.split(","),w=mt(E);return m&&E.audioGroups?E.audioGroups.reduce((C,j)=>{var Y;const H=j?(Y=t.groups[j])==null?void 0:Y.tracks:null;return H?H.reduce((te,oe)=>{if(oe.groupId===j){const me=parseFloat(oe.channels||"");m.forEach(Se=>{const Ae={contentType:zt(Se,"audio"),bitrate:n?Rt(Se,w):w};me&&(Ae.channels=""+me),te.push(Ae)})}return te},C):C},[]):[]}function Rt(E,t){if(t<=1)return 1;let n=128e3;return E==="ec-3"?n=768e3:E==="ac-3"&&(n=64e4),Math.min(t/2,n)}function mt(E){return Math.ceil(Math.max(E.bitrate*.9,E.averageBitrate)/1e3)*1e3||1}function gt(E){let t="";const{audio:n,video:s}=E;if(s){const m=xr(s.contentType);t+=`${m}_r${s.height}x${s.width}f${Math.ceil(s.framerate)}${s.transferFunction||"sd"}_${Math.ceil(s.bitrate/1e5)}`}if(n){const m=xr(n.contentType);t+=`${s?"_":""}${m}_c${n.channels}`}return t}const $t=["NONE","TYPE-0","TYPE-1",null];function Er(E){return $t.indexOf(E)>-1}const vr=["SDR","PQ","HLG"];function ot(E){return!!E&&vr.indexOf(E)>-1}var Mr={No:"",Yes:"YES",v2:"v2"};function dn(E){const{canSkipUntil:t,canSkipDateRanges:n,age:s}=E,m=s<t/2;return t&&m?n?Mr.v2:Mr.Yes:Mr.No}class jn{constructor(t,n,s){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=t,this.part=n,this.skip=s}addDirectives(t){const n=new self.URL(t);return this.msn!==void 0&&n.searchParams.set("_HLS_msn",this.msn.toString()),this.part!==void 0&&n.searchParams.set("_HLS_part",this.part.toString()),this.skip&&n.searchParams.set("_HLS_skip",this.skip),n.href}}class _r{constructor(t){if(this._attrs=void 0,this.audioCodec=void 0,this.bitrate=void 0,this.codecSet=void 0,this.url=void 0,this.frameRate=void 0,this.height=void 0,this.id=void 0,this.name=void 0,this.supplemental=void 0,this.videoCodec=void 0,this.width=void 0,this.details=void 0,this.fragmentError=0,this.loadError=0,this.loaded=void 0,this.realBitrate=0,this.supportedPromise=void 0,this.supportedResult=void 0,this._avgBitrate=0,this._audioGroups=void 0,this._subtitleGroups=void 0,this._urlId=0,this.url=[t.url],this._attrs=[t.attrs],this.bitrate=t.bitrate,t.details&&(this.details=t.details),this.id=t.id||0,this.name=t.name,this.width=t.width||0,this.height=t.height||0,this.frameRate=t.attrs.optionalFloat("FRAME-RATE",0),this._avgBitrate=t.attrs.decimalInteger("AVERAGE-BANDWIDTH"),this.audioCodec=t.audioCodec,this.videoCodec=t.videoCodec,this.codecSet=[t.videoCodec,t.audioCodec].filter(s=>!!s).map(s=>s.substring(0,4)).join(","),"supplemental"in t){var n;this.supplemental=t.supplemental;const s=(n=t.supplemental)==null?void 0:n.videoCodec;s&&s!==t.videoCodec&&(this.codecSet+=`,${s.substring(0,4)}`)}this.addGroupId("audio",t.attrs.AUDIO),this.addGroupId("text",t.attrs.SUBTITLES)}get maxBitrate(){return Math.max(this.realBitrate,this.bitrate)}get averageBitrate(){return this._avgBitrate||this.realBitrate||this.bitrate}get attrs(){return this._attrs[0]}get codecs(){return this.attrs.CODECS||""}get pathwayId(){return this.attrs["PATHWAY-ID"]||"."}get videoRange(){return this.attrs["VIDEO-RANGE"]||"SDR"}get score(){return this.attrs.optionalFloat("SCORE",0)}get uri(){return this.url[0]||""}hasAudioGroup(t){return qr(this._audioGroups,t)}hasSubtitleGroup(t){return qr(this._subtitleGroups,t)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(t,n){if(n){if(t==="audio"){let s=this._audioGroups;s||(s=this._audioGroups=[]),s.indexOf(n)===-1&&s.push(n)}else if(t==="text"){let s=this._subtitleGroups;s||(s=this._subtitleGroups=[]),s.indexOf(n)===-1&&s.push(n)}}}get urlId(){return 0}set urlId(t){}get audioGroupIds(){return this.audioGroups?[this.audioGroupId]:void 0}get textGroupIds(){return this.subtitleGroups?[this.textGroupId]:void 0}get audioGroupId(){var t;return(t=this.audioGroups)==null?void 0:t[0]}get textGroupId(){var t;return(t=this.subtitleGroups)==null?void 0:t[0]}addFallback(){}}function qr(E,t){return!t||!E?!1:E.indexOf(t)!==-1}function ln(){if(typeof matchMedia=="function"){const E=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(E.media!==t.media)return E.matches===!0}return!1}function Ln(E,t){let n=!1,s=[];if(E&&(n=E!=="SDR",s=[E]),t){s=t.allowedVideoRanges||vr.slice(0);const m=s.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&ln(),n||(s=["SDR"])}return{preferHDR:n,allowedVideoRanges:s}}const Vn=E=>{const t=new WeakSet;return(n,s)=>{if(E&&(s=E(n,s)),typeof s=="object"&&s!==null){if(t.has(s))return;t.add(s)}return s}},Bn=(E,t)=>JSON.stringify(E,Vn(t));function Ui(E,t,n,s,m){const w=Object.keys(E),C=s==null?void 0:s.channels,j=s==null?void 0:s.audioCodec,Y=m==null?void 0:m.videoCodec,H=C&&parseInt(C)===2;let te=!1,oe=!1,me=1/0,Se=1/0,Ae=1/0,lt=1/0,et=0,Lt=[];const{preferHDR:tr,allowedVideoRanges:Kt}=Ln(t,m);for(let Yr=w.length;Yr--;){const rn=E[w[Yr]];te||(te=rn.channels[2]>0),me=Math.min(me,rn.minHeight),Se=Math.min(Se,rn.minFramerate),Ae=Math.min(Ae,rn.minBitrate),Kt.filter(Fn=>rn.videoRanges[Fn]>0).length>0&&(oe=!0)}me=r(me)?me:0,Se=r(Se)?Se:0;const Cr=Math.max(1080,me),Hr=Math.max(30,Se);Ae=r(Ae)?Ae:n,n=Math.max(Ae,n),oe||(t=void 0);const on=w.length>1;return{codecSet:w.reduce((Yr,rn)=>{const Nr=E[rn];if(rn===Yr)return Yr;if(Lt=oe?Kt.filter(Fn=>Nr.videoRanges[Fn]>0):[],on){if(Nr.minBitrate>n)return pi(rn,`min bitrate of ${Nr.minBitrate} > current estimate of ${n}`),Yr;if(!Nr.hasDefaultAudio)return pi(rn,"no renditions with default or auto-select sound found"),Yr;if(j&&rn.indexOf(j.substring(0,4))%5!==0)return pi(rn,`audio codec preference "${j}" not found`),Yr;if(C&&!H){if(!Nr.channels[C])return pi(rn,`no renditions with ${C} channel sound found (channels options: ${Object.keys(Nr.channels)})`),Yr}else if((!j||H)&&te&&Nr.channels[2]===0)return pi(rn,"no renditions with stereo sound found"),Yr;if(Nr.minHeight>Cr)return pi(rn,`min resolution of ${Nr.minHeight} > maximum of ${Cr}`),Yr;if(Nr.minFramerate>Hr)return pi(rn,`min framerate of ${Nr.minFramerate} > maximum of ${Hr}`),Yr;if(!Lt.some(Fn=>Nr.videoRanges[Fn]>0))return pi(rn,`no variants with VIDEO-RANGE of ${Bn(Lt)} found`),Yr;if(Y&&rn.indexOf(Y.substring(0,4))%5!==0)return pi(rn,`video codec preference "${Y}" not found`),Yr;if(Nr.maxScore<et)return pi(rn,`max score of ${Nr.maxScore} < selected max of ${et}`),Yr}return Yr&&(Re(rn)>=Re(Yr)||Nr.fragmentError>E[Yr].fragmentError)?Yr:(lt=Nr.minIndex,et=Nr.maxScore,rn)},void 0),videoRanges:Lt,preferHDR:tr,minFramerate:Se,minBitrate:Ae,minIndex:lt}}function pi(E,t){W.log(`[abr] start candidates with "${E}" ignored because ${t}`)}function bi(E){return E.reduce((t,n)=>{let s=t.groups[n.groupId];s||(s=t.groups[n.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),s.tracks.push(n);const m=n.channels||"2";return s.channels[m]=(s.channels[m]||0)+1,s.hasDefault=s.hasDefault||n.default,s.hasAutoSelect=s.hasAutoSelect||n.autoselect,s.hasDefault&&(t.hasDefaultAudio=!0),s.hasAutoSelect&&(t.hasAutoSelectAudio=!0),t},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function _i(E,t,n,s){return E.slice(n,s+1).reduce((m,w,C)=>{if(!w.codecSet)return m;const j=w.audioGroups;let Y=m[w.codecSet];Y||(m[w.codecSet]=Y={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:C,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!j,fragmentError:0}),Y.minBitrate=Math.min(Y.minBitrate,w.bitrate);const H=Math.min(w.height,w.width);return Y.minHeight=Math.min(Y.minHeight,H),Y.minFramerate=Math.min(Y.minFramerate,w.frameRate),Y.minIndex=Math.min(Y.minIndex,C),Y.maxScore=Math.max(Y.maxScore,w.score),Y.fragmentError+=w.fragmentError,Y.videoRanges[w.videoRange]=(Y.videoRanges[w.videoRange]||0)+1,j&&j.forEach(te=>{if(!te)return;const oe=t.groups[te];oe&&(Y.hasDefaultAudio=Y.hasDefaultAudio||t.hasDefaultAudio?oe.hasDefault:oe.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(oe.channels).forEach(me=>{Y.channels[me]=(Y.channels[me]||0)+oe.channels[me]}))}),m},{})}function li(E){if(!E)return E;const{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:w}=E;return{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:w}}function Ki(E,t,n){if("attrs"in E){const s=t.indexOf(E);if(s!==-1)return s}for(let s=0;s<t.length;s++){const m=t[s];if(Zn(E,m,n))return s}return-1}function Zn(E,t,n){const{groupId:s,name:m,lang:w,assocLang:C,default:j}=E,Y=E.forced;return(s===void 0||t.groupId===s)&&(m===void 0||t.name===m)&&(w===void 0||Gi(w,t.lang))&&(w===void 0||t.assocLang===C)&&(j===void 0||t.default===j)&&(Y===void 0||t.forced===Y)&&(!("characteristics"in E)||ui(E.characteristics||"",t.characteristics))&&(n===void 0||n(E,t))}function Gi(E,t="--"){return E.length===t.length?E===t:E.startsWith(t)||t.startsWith(E)}function ui(E,t=""){const n=E.split(","),s=t.split(",");return n.length===s.length&&!n.some(m=>s.indexOf(m)===-1)}function we(E,t){const{audioCodec:n,channels:s}=E;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(s===void 0||s===(t.channels||"2"))}function Nn(E,t,n,s,m){const w=t[s],j=t.reduce((me,Se,Ae)=>{const lt=Se.uri;return(me[lt]||(me[lt]=[])).push(Ae),me},{})[w.uri];j.length>1&&(s=Math.max.apply(Math,j));const Y=w.videoRange,H=w.frameRate,te=w.codecSet.substring(0,4),oe=qn(t,s,me=>{if(me.videoRange!==Y||me.frameRate!==H||me.codecSet.substring(0,4)!==te)return!1;const Se=me.audioGroups,Ae=n.filter(lt=>!Se||Se.indexOf(lt.groupId)!==-1);return Ki(E,Ae,m)>-1});return oe>-1?oe:qn(t,s,me=>{const Se=me.audioGroups,Ae=n.filter(lt=>!Se||Se.indexOf(lt.groupId)!==-1);return Ki(E,Ae,m)>-1})}function qn(E,t,n){for(let s=t;s>-1;s--)if(n(E[s]))return s;for(let s=t+1;s<E.length;s++)if(n(E[s]))return s;return-1}function Wn(E,t){var n;return!!E&&E!==((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.supportedCache={},this.bwEstimator=void 0,this._abandonRulesCheck=n=>{var s;const{fragCurrent:m,partCurrent:w,hls:C}=this,{autoLevelEnabled:j,media:Y}=C;if(!m||!Y)return;const H=performance.now(),te=w?w.stats:m.stats,oe=w?w.duration:m.duration,me=H-te.loading.start,Se=C.minAutoLevel,Ae=m.level,lt=this._nextAutoLevel;if(te.aborted||te.loaded&&te.loaded===te.total||Ae<=Se){this.clearTimer(),this._nextAutoLevel=-1;return}if(!j)return;const et=lt>-1&&lt!==Ae,Lt=!!n||et;if(!Lt&&(Y.paused||!Y.playbackRate||!Y.readyState))return;const tr=C.mainForwardBufferInfo;if(!Lt&&tr===null)return;const Kt=this.bwEstimator.getEstimateTTFB(),Cr=Math.abs(Y.playbackRate);if(me<=Math.max(Kt,1e3*(oe/(Cr*2))))return;const Hr=tr?tr.len/Cr:0,on=te.loading.first?te.loading.first-te.loading.start:-1,zr=te.loaded&&on>-1,Yr=this.getBwEstimate(),rn=C.levels,Nr=rn[Ae],Fn=Math.max(te.loaded,Math.round(oe*(m.bitrate||Nr.averageBitrate)/8));let ai=zr?me-on:me;ai<1&&zr&&(ai=Math.min(me,te.loaded*8/Yr));const ia=zr?te.loaded*1e3/ai:0,$i=Kt/1e3,Bi=ia?(Fn-te.loaded)/ia:Fn*8/Yr+$i;if(Bi<=Hr)return;const Ai=ia?ia*8:Yr,va=((s=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:s.live)===!0,si=this.hls.config.abrBandWidthUpFactor;let Aa=Number.POSITIVE_INFINITY,xa;for(xa=Ae-1;xa>Se;xa--){const ms=rn[xa].maxBitrate,Vs=!rn[xa].details||va;if(Aa=this.getTimeToLoadFrag($i,Ai,oe*ms,Vs),Aa<Math.min(Hr,oe+$i))break}if(Aa>=Bi||Aa>oe*10)return;zr?this.bwEstimator.sample(me-Math.min(Kt,on),te.loaded):this.bwEstimator.sampleTTFB(me);const hi=rn[xa].maxBitrate;this.getBwEstimate()*si>hi&&this.resetEstimator(hi);const ri=this.findBestLevel(hi,Se,xa,0,Hr,1,1);ri>-1&&(xa=ri),this.warn(`Fragment ${m.sn}${w?" part "+w.index:""} of level ${Ae} is loading too slowly;
Fragment duration: ${m.duration.toFixed(3)}
Time to underbuffer: ${Hr.toFixed(3)} s
Estimated load time for current fragment: ${Bi.toFixed(3)} s
Estimated load time for down switch fragment: ${Aa.toFixed(3)} s
TTFB estimate: ${on|0} ms
Current BW estimate: ${r(Yr)?Yr|0:"Unknown"} bps
New BW estimate: ${this.getBwEstimate()|0} bps
Switching to level ${xa} @ ${hi|0} bps`),C.nextLoadLevel=C.nextAutoLevel=xa,this.clearTimer();const Ha=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===xa&&xa>0){const ms=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${xa>0?"and switching down":""}
Fragment duration: ${m.duration.toFixed(3)} s
Time to underbuffer: ${ms.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,xa>Se){let Vs=this.findBestLevel(this.hls.levels[Se].bitrate,Se,xa,0,ms,1,1);Vs===-1&&(Vs=Se),this.hls.nextLoadLevel=this.hls.nextAutoLevel=Vs,this.resetEstimator(this.hls.levels[Vs].bitrate)}}};et||Bi>Aa*2?Ha():this.timer=self.setInterval(Ha,Aa*1e3),C.trigger(o.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:w,stats:te})},this.hls=t,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(t){t&&(this.log(`setting initial bwe to ${t}`),this.hls.config.abrEwmaDefaultEstimate=t),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const t=this.hls.config;return new x(t.abrEwmaSlowVoD,t.abrEwmaFastVoD,t.abrEwmaDefaultEstimate)}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.off(o.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=this.supportedCache=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(t,n){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.supportedCache={},this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(t,n){const s=n.frag;if(!this.ignoreFragment(s)){if(!s.bitrateTest){var m;this.fragCurrent=s,this.partCurrent=(m=n.part)!=null?m:null}this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100)}}onLevelSwitching(t,n){this.clearTimer()}onError(t,n){if(!n.fatal)switch(n.details){case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case f.FRAG_LOAD_TIMEOUT:{const s=n.frag,{fragCurrent:m,partCurrent:w}=this;if(s&&m&&s.sn===m.sn&&s.level===m.level){const C=performance.now(),j=w?w.stats:s.stats,Y=C-j.loading.start,H=j.loading.first?j.loading.first-j.loading.start:-1;if(j.loaded&&H>-1){const oe=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(Y-Math.min(oe,H),j.loaded)}else this.bwEstimator.sampleTTFB(Y)}break}}}getTimeToLoadFrag(t,n,s,m){const w=t+s/n,C=m?t+this.lastLevelLoadSec:0;return w+C}onLevelLoaded(t,n){const s=this.hls.config,{loading:m}=n.stats,w=m.end-m.first;r(w)&&(this.lastLevelLoadSec=w/1e3),n.details.live?this.bwEstimator.update(s.abrEwmaSlowLive,s.abrEwmaFastLive):this.bwEstimator.update(s.abrEwmaSlowVoD,s.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(n.levelInfo)}onFragLoaded(t,{frag:n,part:s}){const m=s?s.stats:n.stats;if(n.type===u.MAIN&&this.bwEstimator.sampleTTFB(m.loading.first-m.loading.start),!this.ignoreFragment(n)){if(this.clearTimer(),n.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const w=s?s.duration:n.duration,C=this.hls.levels[n.level],j=(C.loaded?C.loaded.bytes:0)+m.loaded,Y=(C.loaded?C.loaded.duration:0)+w;C.loaded={bytes:j,duration:Y},C.realBitrate=Math.round(8*j/Y)}if(n.bitrateTest){const w={stats:m,frag:n,part:s,id:n.type};this.onFragBuffered(o.FRAG_BUFFERED,w),n.bitrateTest=!1}else this.lastLoadedFragLevel=n.level}}onFragBuffered(t,n){const{frag:s,part:m}=n,w=m!=null&&m.stats.loaded?m.stats:s.stats;if(w.aborted||this.ignoreFragment(s))return;const C=w.parsing.end-w.loading.start-Math.min(w.loading.first-w.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(C,w.loaded),w.bwEstimate=this.getBwEstimate(),s.bitrateTest?this.bitrateTestDelay=C/1e3:this.bitrateTestDelay=0}ignoreFragment(t){return t.type!==u.MAIN||t.sn==="initSegment"}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:t,minAutoLevel:n}=this.hls,s=this.getBwEstimate(),m=this.hls.config.maxStarvationDelay,w=this.findBestLevel(s,n,t,0,m,1,1);if(w>-1)return w;const C=this.hls.firstLevel,j=Math.min(Math.max(C,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${C} clamped to ${j}`),j}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const t=this.forcedAutoLevel,s=this.bwEstimator.canEstimate(),m=this.lastLoadedFragLevel>-1;if(t!==-1&&(!s||!m||this.nextAutoLevelKey===this.getAutoLevelKey()))return t;const w=s&&m?this.getNextABRAutoLevel():this.firstAutoLevel;if(t!==-1){const C=this.hls.levels;if(C.length>Math.max(t,w)&&C[t].loadError<=C[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:s}=this;if(s.levels.length<=1)return s.loadLevel;const{maxAutoLevel:m,config:w,minAutoLevel:C}=s,j=n?n.duration:t?t.duration:0,Y=this.getBwEstimate(),H=this.getStarvationDelay();let te=w.abrBandWidthFactor,oe=w.abrBandWidthUpFactor;if(H){const et=this.findBestLevel(Y,C,m,H,0,te,oe);if(et>=0)return this.rebufferNotice=-1,et}let me=j?Math.min(j,w.maxStarvationDelay):w.maxStarvationDelay;if(!H){const et=this.bitrateTestDelay;et&&(me=(j?Math.min(j,w.maxLoadingDelay):w.maxLoadingDelay)-et,this.info(`bitrate test took ${Math.round(1e3*et)}ms, set first fragment max fetchDuration to ${Math.round(1e3*me)} ms`),te=oe=1)}const Se=this.findBestLevel(Y,C,m,H,me,te,oe);if(this.rebufferNotice!==Se&&(this.rebufferNotice=Se,this.info(`${H?"rebuffering expected":"buffer is empty"}, optimal quality level ${Se}`)),Se>-1)return Se;const Ae=s.levels[C],lt=s.loadLevelObj;return lt&&(Ae==null?void 0:Ae.bitrate)<lt.bitrate?C:s.loadLevel}getStarvationDelay(){const t=this.hls,n=t.media;if(!n)return 1/0;const s=n&&n.playbackRate!==0?Math.abs(n.playbackRate):1,m=t.mainForwardBufferInfo;return(m?m.len:0)/s}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(t,n,s,m,w,C,j){var Y;const H=m+w,te=this.lastLoadedFragLevel,oe=te===-1?this.hls.firstLevel:te,{fragCurrent:me,partCurrent:Se}=this,{levels:Ae,allAudioTracks:lt,loadLevel:et,config:Lt}=this.hls;if(Ae.length===1)return 0;const tr=Ae[oe],Kt=!!((Y=this.hls.latestLevelDetails)!=null&&Y.live),Cr=et===-1||te===-1;let Hr,on="SDR",zr=(tr==null?void 0:tr.frameRate)||0;const{audioPreference:Yr,videoPreference:rn}=Lt,Nr=this.audioTracksByGroup||(this.audioTracksByGroup=bi(lt));let Fn=-1;if(Cr){if(this.firstSelection!==-1)return this.firstSelection;const va=this.codecTiers||(this.codecTiers=_i(Ae,Nr,n,s)),si=Ui(va,on,t,Yr,rn),{codecSet:Aa,videoRanges:xa,minFramerate:hi,minBitrate:ri,minIndex:Ha,preferHDR:ms}=si;Fn=Ha,Hr=Aa,on=ms?xa[xa.length-1]:xa[0],zr=hi,t=Math.max(t,ri),this.log(`picked start tier ${Bn(si)}`)}else Hr=tr==null?void 0:tr.codecSet,on=tr==null?void 0:tr.videoRange;const ai=Se?Se.duration:me?me.duration:0,ia=this.bwEstimator.getEstimateTTFB()/1e3,$i=[];for(let va=s;va>=n;va--){var Bi,Ai;const si=Ae[va],Aa=va>oe;if(!si)continue;if(Lt.useMediaCapabilities&&!si.supportedResult&&!si.supportedPromise){const Rs=navigator.mediaCapabilities;typeof(Rs==null?void 0:Rs.decodingInfo)=="function"&&$r(si,Nr,on,zr,t,Yr)?(si.supportedPromise=en(si,Nr,Rs,this.supportedCache),si.supportedPromise.then(No=>{if(!this.hls)return;si.supportedResult=No;const vl=this.hls.levels,Bu=vl.indexOf(si);No.error?this.warn(`MediaCapabilities decodingInfo error: "${No.error}" for level ${Bu} ${Bn(No)}`):No.supported?No.decodingInfoResults.some(gl=>gl.smooth===!1||gl.powerEfficient===!1)&&this.log(`MediaCapabilities decodingInfo for level ${Bu} not smooth or powerEfficient: ${Bn(No)}`):(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${Bu} ${Bn(No)}`),Bu>-1&&vl.length>1&&(this.log(`Removing unsupported level ${Bu}`),this.hls.removeLevel(Bu),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):si.supportedResult=Br}if((Hr&&si.codecSet!==Hr||on&&si.videoRange!==on||Aa&&zr>si.frameRate||!Aa&&zr>0&&zr<si.frameRate||(Bi=si.supportedResult)!=null&&(Ai=Bi.decodingInfoResults)!=null&&Ai.some(Rs=>Rs.smooth===!1))&&(!Cr||va!==Fn)){$i.push(va);continue}const xa=si.details,hi=(Se?xa==null?void 0:xa.partTarget:xa==null?void 0:xa.averagetargetduration)||ai;let ri;Aa?ri=j*t:ri=C*t;const Ha=ai&&m>=ai*2&&w===0?si.averageBitrate:si.maxBitrate,ms=this.getTimeToLoadFrag(ia,ri,Ha*hi,xa===void 0);if(ri>=Ha&&(va===te||si.loadError===0&&si.fragmentError===0)&&(ms<=ia||!r(ms)||Kt&&!this.bitrateTestDelay||ms<H)){const Rs=this.forcedAutoLevel;return va!==et&&(Rs===-1||Rs!==et)&&($i.length&&this.trace(`Skipped level(s) ${$i.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${Ae[$i[0]].codecs}" ${Ae[$i[0]].videoRange}; not compatible with "${Hr}" ${on}`),this.info(`switch candidate:${oe}->${va} adjustedbw(${Math.round(ri)})-bitrate=${Math.round(ri-Ha)} ttfb:${ia.toFixed(1)} avgDuration:${hi.toFixed(1)} maxFetchDuration:${H.toFixed(1)} fetchDuration:${ms.toFixed(1)} firstSelection:${Cr} codecSet:${si.codecSet} videoRange:${si.videoRange} hls.loadLevel:${et}`)),Cr&&(this.firstSelection=va),va}}return-1}set nextAutoLevel(t){const n=this.deriveNextAutoLevel(t);this._nextAutoLevel!==n&&(this.nextAutoLevelKey="",this._nextAutoLevel=n)}deriveNextAutoLevel(t){const{maxAutoLevel:n,minAutoLevel:s}=this.hls;return Math.min(Math.max(t,s),n)}}const di={search:function(E,t){let n=0,s=E.length-1,m=null,w=null;for(;n<=s;){m=(n+s)/2|0,w=E[m];const C=t(w);if(C>0)n=m+1;else if(C<0)s=m-1;else return w}return null}};function Ti(E,t,n){if(t===null||!Array.isArray(E)||!E.length||!r(t))return null;const s=E[0].programDateTime;if(t<(s||0))return null;const m=E[E.length-1].endProgramDateTime;if(t>=(m||0))return null;for(let w=0;w<E.length;++w){const C=E[w];if(nt(t,n,C))return C}return null}function Yn(E,t,n=0,s=0,m=.005){let w=null;if(E){w=t[1+E.sn-t[0].sn]||null;const j=E.endDTS-n;j>0&&j<15e-7&&(n+=15e-7),w&&E.level!==w.level&&w.end<=E.end&&(w=t[2+E.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(w=t[0]);if(w&&((!E||E.level===w.level)&&pt(n,s,w)===0||Jt(w,E,Math.min(m,s))))return w;const C=di.search(t,pt.bind(null,n,s));return C&&(C!==E||!w)?C:w}function Jt(E,t,n){if(t&&t.start===0&&t.level<E.level&&(t.endPTS||0)>0){const s=t.tagList.reduce((m,w)=>(w[0]==="INF"&&(m+=parseFloat(w[1])),m),n);return E.start<=s}return!1}function pt(E=0,t=0,n){if(n.start<=E&&n.start+n.duration>E)return 0;const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-s<=E?1:n.start-s>E&&n.start?-1:0}function nt(E,t,n){const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-s>E}function Ot(E,t,n){if(E&&E.startCC<=t&&E.endCC>=t){let s=E.fragments;const{fragmentHint:m}=E;m&&(s=s.concat(m));let w;return di.search(s,C=>C.cc<t?1:C.cc>t?-1:(w=C,C.end<=n?1:C.start>n?-1:0)),w||null}return null}function dt(E){switch(E.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 or(E,t){const n=dt(t);return E.default[`${n?"timeout":"error"}Retry`]}function cr(E,t){const n=E.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*E.retryDelayMs,E.maxRetryDelayMs)}function Ar(E){return b(b({},E),{errorRetry:null,timeoutRetry:null})}function Ir(E,t,n,s){if(!E)return!1;const m=s==null?void 0:s.code,w=t<E.maxNumRetry&&(Ze(m)||!!n);return E.shouldRetry?E.shouldRetry(E,t,n,s,w):w}function Ze(E){return E===0&&navigator.onLine===!1||!!E&&(E<400||E>499)}var Je={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},Ee={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class ut 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(o.ERROR,this.onError,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const t=this.hls;t&&(t.off(o.ERROR,this.onError,this),t.off(o.ERROR,this.onErrorOut,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(t){}stopLoad(){this.playlistError=0}getVariantLevelIndex(t){return(t==null?void 0:t.type)===u.MAIN?t.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(t,n){var s;if(n.fatal)return;const m=this.hls,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((s=n.frag)!=null&&s.gap){n.errorAction=ir();return}case f.FRAG_GAP:case f.FRAG_DECRYPT_ERROR:{n.errorAction=this.getFragRetryOrSwitchAction(n),n.errorAction.action=Je.SendAlternateToPenaltyBox;return}case f.LEVEL_EMPTY_ERROR:case f.LEVEL_PARSING_ERROR:{var C,j;const H=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((C=n.context)!=null&&(j=C.levelDetails)!=null&&j.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,H):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,H))}return;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:typeof(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 H=m.loadLevelObj;if(H&&(w.type===h.AUDIO_TRACK&&H.hasAudioGroup(w.groupId)||w.type===h.SUBTITLE_TRACK&&H.hasSubtitleGroup(w.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=Je.SendAlternateToPenaltyBox,n.errorAction.flags=Ee.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const H=m.loadLevelObj,te=H==null?void 0:H.attrs["HDCP-LEVEL"];te?n.errorAction={action:Je.SendAlternateToPenaltyBox,flags:Ee.MoveAllAlternatesMatchingHDCP,hdcpLevel:te}:this.keySystemError(n)}return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var Y;n.errorAction=this.getLevelSwitchAction(n,(Y=n.level)!=null?Y:m.loadLevel)}return;case f.INTERNAL_EXCEPTION:case f.BUFFER_APPENDING_ERROR:case f.BUFFER_FULL_ERROR:case f.LEVEL_SWITCH_ERROR:case f.BUFFER_STALLED_ERROR:case f.BUFFER_SEEK_OVER_HOLE:case f.BUFFER_NUDGE_ON_STALL:n.errorAction=ir();return}n.type===c.KEY_SYSTEM_ERROR&&this.keySystemError(n)}keySystemError(t){const n=this.getVariantLevelIndex(t.frag);t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,n)}getPlaylistRetryOrSwitchAction(t,n){const s=this.hls,m=or(s.config.playlistLoadPolicy,t),w=this.playlistError++;if(Ir(m,w,dt(t),t.response))return{action:Je.RetryRequest,flags:Ee.None,retryConfig:m,retryCount:w};const j=this.getLevelSwitchAction(t,n);return m&&(j.retryConfig=m,j.retryCount=w),j}getFragRetryOrSwitchAction(t){const n=this.hls,s=this.getVariantLevelIndex(t.frag),m=n.levels[s],{fragLoadPolicy:w,keyLoadPolicy:C}=n.config,j=or(t.details.startsWith("key")?C:w,t),Y=n.levels.reduce((te,oe)=>te+oe.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,Ir(j,Y,dt(t),t.response)))return{action:Je.RetryRequest,flags:Ee.None,retryConfig:j,retryCount:Y};const H=this.getLevelSwitchAction(t,s);return j&&(H.retryConfig=j,H.retryCount=Y),H}getLevelSwitchAction(t,n){const s=this.hls;n==null&&(n=s.loadLevel);const m=this.hls.levels[n];if(m){var w,C;const H=t.details;m.loadError++,H===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let te=-1;const{levels:oe,loadLevel:me,minAutoLevel:Se,maxAutoLevel:Ae}=s;!s.autoLevelEnabled&&!s.config.preserveManualLevelOnError&&(s.loadLevel=-1);const lt=(w=t.frag)==null?void 0:w.type,Lt=(lt===u.AUDIO&&H===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(H===f.BUFFER_ADD_CODEC_ERROR||H===f.BUFFER_APPEND_ERROR))&&oe.some(({audioCodec:on})=>m.audioCodec!==on),Kt=t.sourceBufferName==="video"&&(H===f.BUFFER_ADD_CODEC_ERROR||H===f.BUFFER_APPEND_ERROR)&&oe.some(({codecSet:on,audioCodec:zr})=>m.codecSet!==on&&m.audioCodec===zr),{type:Cr,groupId:Hr}=(C=t.context)!=null?C:{};for(let on=oe.length;on--;){const zr=(on+me)%oe.length;if(zr!==me&&zr>=Se&&zr<=Ae&&oe[zr].loadError===0){var j,Y;const Yr=oe[zr];if(H===f.FRAG_GAP&&lt===u.MAIN&&t.frag){const rn=oe[zr].details;if(rn){const Nr=Yn(t.frag,rn.fragments,t.frag.start);if(Nr!=null&&Nr.gap)continue}}else{if(Cr===h.AUDIO_TRACK&&Yr.hasAudioGroup(Hr)||Cr===h.SUBTITLE_TRACK&&Yr.hasSubtitleGroup(Hr))continue;if(lt===u.AUDIO&&(j=m.audioGroups)!=null&&j.some(rn=>Yr.hasAudioGroup(rn))||lt===u.SUBTITLE&&(Y=m.subtitleGroups)!=null&&Y.some(rn=>Yr.hasSubtitleGroup(rn))||Lt&&m.audioCodec===Yr.audioCodec||!Lt&&m.audioCodec!==Yr.audioCodec||Kt&&m.codecSet===Yr.codecSet)continue}te=zr;break}}if(te>-1&&s.loadLevel!==te)return t.levelRetry=!0,this.playlistError=0,{action:Je.SendAlternateToPenaltyBox,flags:Ee.None,nextAutoLevel:te}}return{action:Je.SendAlternateToPenaltyBox,flags:Ee.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var s;switch((s=n.errorAction)==null?void 0:s.action){case Je.DoNothing:break;case Je.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 Je.RetryRequest:break}if(n.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(t){const n=this.hls,s=t.errorAction;if(!s)return;const{flags:m,hdcpLevel:w,nextAutoLevel:C}=s;switch(m){case Ee.None:this.switchLevel(t,C);break;case Ee.MoveAllAlternatesMatchingHDCP:w&&(n.maxHdcpLevel=$t[$t.indexOf(w)-1],s.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}s.resolved||this.switchLevel(t,C)}switchLevel(t,n){if(n!==void 0&&t.errorAction&&(this.warn(`switching to level ${n} after ${t.details}`),this.hls.nextAutoLevel=n,t.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel,t.details===f.BUFFER_ADD_CODEC_ERROR&&t.mimeType&&t.sourceBufferName!=="audiovideo")){const s=xr(t.mimeType),m=this.hls.levels;for(let w=m.length;w--;)m[w][`${t.sourceBufferName}Codec`]===s&&this.hls.removeLevel(w)}}}function ir(E){const t={action:Je.DoNothing,flags:Ee.None};return E&&(t.resolved=!0),t}var br={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Dr{constructor(t){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=t,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(t,n){const s=this.activePartLists[n];if(s)for(let m=s.length;m--;){const w=s[m];if(!w)break;const C=w.end;if(w.start<=t&&C!==null&&t<=C)return w}return this.getBufferedFrag(t,n)}getBufferedFrag(t,n){return this.getFragAtPos(t,n,!0)}getFragAtPos(t,n,s){const{fragments:m}=this,w=Object.keys(m);for(let C=w.length;C--;){const j=m[w[C]];if((j==null?void 0:j.body.type)===n&&(!s||j.buffered)){const Y=j.body;if(Y.start<=t&&t<=Y.end)return Y}}return null}detectEvictedFragments(t,n,s,m,w){this.timeRanges&&(this.timeRanges[t]=n);const C=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(j=>{const Y=this.fragments[j];if(!Y||C>=Y.body.sn)return;if(!Y.buffered&&(!Y.loaded||w)){Y.body.type===s&&this.removeFragment(Y.body);return}const H=Y.range[t];if(H){if(H.time.length===0){this.removeFragment(Y.body);return}H.time.some(te=>{const oe=!this.isTimeBuffered(te.startPTS,te.endPTS,n);return oe&&this.removeFragment(Y.body),oe})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const s=t.frag,m=Fr(s),w=this.fragments[m];if(!w||w.buffered&&s.gap)return;const C=!s.relurl;Object.keys(n).forEach(j=>{const Y=s.elementaryStreams[j];if(!Y)return;const H=n[j],te=C||Y.partial===!0;w.range[j]=this.getBufferedTimes(s,t.part,te,H)}),w.loaded=null,Object.keys(w.range).length?(w.buffered=!0,(w.body.endList=s.endList||w.body.endList)&&(this.endListFragments[w.body.type]=w),wr(w)||this.removeParts(s.sn-1,s.type)):this.removeFragment(w.body)}removeParts(t,n){const s=this.activePartLists[n];s&&(this.activePartLists[n]=hn(s,m=>m.fragment.sn>=t))}fragBuffered(t,n){const s=Fr(t);let m=this.fragments[s];!m&&n&&(m=this.fragments[s]={body:t,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},t.gap&&(this.hasGaps=!0)),m&&(m.loaded=null,m.buffered=!0)}getBufferedTimes(t,n,s,m){const w={time:[],partial:s},C=t.start,j=t.end,Y=t.minEndPTS||j,H=t.maxStartPTS||C;for(let te=0;te<m.length;te++){const oe=m.start(te)-this.bufferPadding,me=m.end(te)+this.bufferPadding;if(H>=oe&&Y<=me){w.time.push({startPTS:Math.max(C,m.start(te)),endPTS:Math.min(j,m.end(te))});break}else if(C<me&&j>oe){const Se=Math.max(C,m.start(te)),Ae=Math.min(j,m.end(te));Ae>Se&&(w.partial=!0,w.time.push({startPTS:Se,endPTS:Ae}))}else if(j<=oe)break}return w}getPartialFragment(t){let n=null,s,m,w,C=0;const{bufferPadding:j,fragments:Y}=this;return Object.keys(Y).forEach(H=>{const te=Y[H];te&&wr(te)&&(m=te.body.start-j,w=te.body.end+j,t>=m&&t<=w&&(s=Math.min(t-m,w-t),C<=s&&(n=te.body,C=s)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||wr(n))}getState(t){const n=Fr(t),s=this.fragments[n];return s?s.buffered?wr(s)?br.PARTIAL:br.OK:br.APPENDING:br.NOT_LOADED}isTimeBuffered(t,n,s){let m,w;for(let C=0;C<s.length;C++){if(m=s.start(C)-this.bufferPadding,w=s.end(C)+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 s=n.frag,m=n.part?null:n,w=Fr(s);this.fragments[w]={body:s,appendedPTS:null,loaded:m,buffered:!1,range:Object.create(null)}}onBufferAppended(t,n){const{frag:s,part:m,timeRanges:w,type:C}=n;if(s.sn==="initSegment")return;const j=s.type;if(m){let H=this.activePartLists[j];H||(this.activePartLists[j]=H=[]),H.push(m)}this.timeRanges=w;const Y=w[C];this.detectEvictedFragments(C,Y,j,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=Fr(t);return!!this.fragments[n]}hasFragments(t){const{fragments:n}=this,s=Object.keys(n);if(!t)return s.length>0;for(let m=s.length;m--;){const w=n[s[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,s,m,w){m&&!this.hasGaps||Object.keys(this.fragments).forEach(C=>{const j=this.fragments[C];if(!j)return;const Y=j.body;Y.type!==s||m&&!Y.gap||Y.start<n&&Y.end>t&&(j.buffered||w)&&this.removeFragment(Y)})}removeFragment(t){const n=Fr(t);t.clearElementaryStreamInfo();const s=this.activePartLists[t.type];if(s){const m=t.sn;this.activePartLists[t.type]=hn(s,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 s=(t=this.hls)==null||(n=t.latestLevelDetails)==null?void 0:n.partList;s&&s.forEach(m=>m.clearElementaryStreamInfo())}}function wr(E){var t,n,s;return E.buffered&&(E.body.gap||((t=E.range.video)==null?void 0:t.partial)||((n=E.range.audio)==null?void 0:n.partial)||((s=E.range.audiovideo)==null?void 0:s.partial))}function Fr(E){return`${E.type}_${E.level}_${E.sn}`}function hn(E,t){return E.filter(n=>{const s=t(n);return s||n.clearElementaryStreamInfo(),s})}var Tr={cbc:0,ctr:1};class sn{constructor(t,n,s){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=t,this.aesIV=n,this.aesMode=s}decrypt(t,n){switch(this.aesMode){case Tr.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case Tr.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 Xr(E){const t=E.byteLength,n=t&&new DataView(E.buffer).getUint8(t-1);return n?E.slice(0,t-n):E}class nn{constructor(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.ksRows=0,this.keySize=0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.initTable()}uint8ArrayToUint32Array_(t){const n=new DataView(t),s=new Uint32Array(4);for(let m=0;m<4;m++)s[m]=n.getUint32(m*4);return s}initTable(){const t=this.sBox,n=this.invSBox,s=this.subMix,m=s[0],w=s[1],C=s[2],j=s[3],Y=this.invSubMix,H=Y[0],te=Y[1],oe=Y[2],me=Y[3],Se=new Uint32Array(256);let Ae=0,lt=0,et=0;for(et=0;et<256;et++)et<128?Se[et]=et<<1:Se[et]=et<<1^283;for(et=0;et<256;et++){let Lt=lt^lt<<1^lt<<2^lt<<3^lt<<4;Lt=Lt>>>8^Lt&255^99,t[Ae]=Lt,n[Lt]=Ae;const tr=Se[Ae],Kt=Se[tr],Cr=Se[Kt];let Hr=Se[Lt]*257^Lt*16843008;m[Ae]=Hr<<24|Hr>>>8,w[Ae]=Hr<<16|Hr>>>16,C[Ae]=Hr<<8|Hr>>>24,j[Ae]=Hr,Hr=Cr*16843009^Kt*65537^tr*257^Ae*16843008,H[Lt]=Hr<<24|Hr>>>8,te[Lt]=Hr<<16|Hr>>>16,oe[Lt]=Hr<<8|Hr>>>24,me[Lt]=Hr,Ae?(Ae=tr^Se[Se[Se[Cr^tr]]],lt^=Se[Se[lt]]):Ae=lt=1}}expandKey(t){const n=this.uint8ArrayToUint32Array_(t);let s=!0,m=0;for(;m<n.length&&s;)s=n[m]===this.key[m],m++;if(s)return;this.key=n;const w=this.keySize=n.length;if(w!==4&&w!==6&&w!==8)throw new Error("Invalid aes key size="+w);const C=this.ksRows=(w+6+1)*4;let j,Y;const H=this.keySchedule=new Uint32Array(C),te=this.invKeySchedule=new Uint32Array(C),oe=this.sBox,me=this.rcon,Se=this.invSubMix,Ae=Se[0],lt=Se[1],et=Se[2],Lt=Se[3];let tr,Kt;for(j=0;j<C;j++){if(j<w){tr=H[j]=n[j];continue}Kt=tr,j%w===0?(Kt=Kt<<8|Kt>>>24,Kt=oe[Kt>>>24]<<24|oe[Kt>>>16&255]<<16|oe[Kt>>>8&255]<<8|oe[Kt&255],Kt^=me[j/w|0]<<24):w>6&&j%w===4&&(Kt=oe[Kt>>>24]<<24|oe[Kt>>>16&255]<<16|oe[Kt>>>8&255]<<8|oe[Kt&255]),H[j]=tr=(H[j-w]^Kt)>>>0}for(Y=0;Y<C;Y++)j=C-Y,Y&3?Kt=H[j]:Kt=H[j-4],Y<4||j<=4?te[Y]=Kt:te[Y]=Ae[oe[Kt>>>24]]^lt[oe[Kt>>>16&255]]^et[oe[Kt>>>8&255]]^Lt[oe[Kt&255]],te[Y]=te[Y]>>>0}networkToHostOrderSwap(t){return t<<24|(t&65280)<<8|(t&16711680)>>8|t>>>24}decrypt(t,n,s){const m=this.keySize+6,w=this.invKeySchedule,C=this.invSBox,j=this.invSubMix,Y=j[0],H=j[1],te=j[2],oe=j[3],me=this.uint8ArrayToUint32Array_(s);let Se=me[0],Ae=me[1],lt=me[2],et=me[3];const Lt=new Int32Array(t),tr=new Int32Array(Lt.length);let Kt,Cr,Hr,on,zr,Yr,rn,Nr,Fn,ai,ia,$i,Bi,Ai;const va=this.networkToHostOrderSwap;for(;n<Lt.length;){for(Fn=va(Lt[n]),ai=va(Lt[n+1]),ia=va(Lt[n+2]),$i=va(Lt[n+3]),zr=Fn^w[0],Yr=$i^w[1],rn=ia^w[2],Nr=ai^w[3],Bi=4,Ai=1;Ai<m;Ai++)Kt=Y[zr>>>24]^H[Yr>>16&255]^te[rn>>8&255]^oe[Nr&255]^w[Bi],Cr=Y[Yr>>>24]^H[rn>>16&255]^te[Nr>>8&255]^oe[zr&255]^w[Bi+1],Hr=Y[rn>>>24]^H[Nr>>16&255]^te[zr>>8&255]^oe[Yr&255]^w[Bi+2],on=Y[Nr>>>24]^H[zr>>16&255]^te[Yr>>8&255]^oe[rn&255]^w[Bi+3],zr=Kt,Yr=Cr,rn=Hr,Nr=on,Bi=Bi+4;Kt=C[zr>>>24]<<24^C[Yr>>16&255]<<16^C[rn>>8&255]<<8^C[Nr&255]^w[Bi],Cr=C[Yr>>>24]<<24^C[rn>>16&255]<<16^C[Nr>>8&255]<<8^C[zr&255]^w[Bi+1],Hr=C[rn>>>24]<<24^C[Nr>>16&255]<<16^C[zr>>8&255]<<8^C[Yr&255]^w[Bi+2],on=C[Nr>>>24]<<24^C[zr>>16&255]<<16^C[Yr>>8&255]<<8^C[rn&255]^w[Bi+3],tr[n]=va(Kt^Se),tr[n+1]=va(on^Ae),tr[n+2]=va(Hr^lt),tr[n+3]=va(Cr^et),Se=Fn,Ae=ai,lt=ia,et=$i,n=n+4}return tr.buffer}}class gn{constructor(t,n,s){this.subtle=void 0,this.key=void 0,this.aesMode=void 0,this.subtle=t,this.key=n,this.aesMode=s}expandKey(){const t=da(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function da(E){switch(E){case Tr.cbc:return"AES-CBC";case Tr.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${E}`)}}const mi=16;class ci{constructor(t,{removePKCS7Padding:n=!0}={}){if(this.logEnabled=!0,this.removePKCS7Padding=void 0,this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null,this.useSoftware=void 0,this.enableSoftwareAES=void 0,this.enableSoftwareAES=t.enableSoftwareAES,this.removePKCS7Padding=n,n)try{const s=self.crypto;s&&(this.subtle=s.subtle||s.webkitSubtle)}catch(s){}this.useSoftware=!this.subtle}destroy(){this.subtle=null,this.softwareDecrypter=null,this.key=null,this.fastAesKey=null,this.remainderData=null,this.currentIV=null,this.currentResult=null}isSync(){return this.useSoftware}flush(){const{currentResult:t,remainderData:n}=this;if(!t||n)return this.reset(),null;const s=new Uint8Array(t);return this.reset(),this.removePKCS7Padding?Xr(s):s}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(t,n,s,m){return this.useSoftware?new Promise((w,C)=>{const j=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(j,n,s,m);const Y=this.flush();Y?w(Y.buffer):C(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,s,m)}softwareDecrypt(t,n,s,m){const{currentIV:w,currentResult:C,remainderData:j}=this;if(m!==Tr.cbc||n.byteLength!==16)return W.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),j&&(t=Pe(j,t),this.remainderData=null);const Y=this.getValidChunk(t);if(!Y.length)return null;w&&(s=w);let H=this.softwareDecrypter;H||(H=this.softwareDecrypter=new nn),H.expandKey(n);const te=C;return this.currentResult=H.decrypt(Y.buffer,0,s),this.currentIV=Y.slice(-16).buffer,te||null}webCryptoDecrypt(t,n,s,m){if(this.key!==n||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(t,n,s,m));this.key=n,this.fastAesKey=new gn(this.subtle,n,m)}return this.fastAesKey.expandKey().then(w=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new sn(this.subtle,new Uint8Array(s),m).decrypt(t.buffer,w)):Promise.reject(new Error("web crypto not initialized"))).catch(w=>(W.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${w.name}: ${w.message}`),this.onWebCryptoError(t,n,s,m)))}onWebCryptoError(t,n,s,m){const w=this.enableSoftwareAES;if(w){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,n,s,m);const C=this.flush();if(C)return C.buffer}throw new Error("WebCrypto"+(w?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const s=t.length-t.length%mi;return s!==t.length&&(n=t.slice(0,s),this.remainderData=t.slice(s)),n}logOnce(t){this.logEnabled&&(W.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const Cn=Math.pow(2,17);class Pi{constructor(t){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=t}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(t,n){const s=t.url;if(!s)return Promise.reject(new na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,error:new Error(`Fragment does not have a ${s?"part list":"url"}`),networkDetails:null}));this.abort();const m=this.config,w=m.fLoader,C=m.loader;return new Promise((j,Y)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(Ae=>Ae[0]==="GAP")){Y(aa(t));return}else t.gap=!1;const H=this.loader=w?new w(m):new C(m),te=Oi(t);t.loader=H;const oe=Ar(m.fragLoadPolicy.default),me={loadPolicy:oe,timeout:oe.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:Cn};t.stats=H.stats;const Se={onSuccess:(Ae,lt,et,Lt)=>{this.resetLoader(t,H);let tr=Ae.data;et.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(tr.slice(0,16)),tr=tr.slice(16)),j({frag:t,part:null,payload:tr,networkDetails:Lt})},onError:(Ae,lt,et,Lt)=>{this.resetLoader(t,H),Y(new na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:s,data:void 0},Ae),error:new Error(`HTTP Error ${Ae.code} ${Ae.text}`),networkDetails:et,stats:Lt}))},onAbort:(Ae,lt,et)=>{this.resetLoader(t,H),Y(new na({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:et,stats:Ae}))},onTimeout:(Ae,lt,et)=>{this.resetLoader(t,H),Y(new na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${me.timeout}ms`),networkDetails:et,stats:Ae}))}};n&&(Se.onProgress=(Ae,lt,et,Lt)=>n({frag:t,part:null,payload:et,networkDetails:Lt})),H.load(te,me,Se)})}loadPart(t,n,s){this.abort();const m=this.config,w=m.fLoader,C=m.loader;return new Promise((j,Y)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){Y(aa(t,n));return}const H=this.loader=w?new w(m):new C(m),te=Oi(t,n);t.loader=H;const oe=Ar(m.fragLoadPolicy.default),me={loadPolicy:oe,timeout:oe.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:Cn};n.stats=H.stats,H.load(te,me,{onSuccess:(Se,Ae,lt,et)=>{this.resetLoader(t,H),this.updateStatsFromPart(t,n);const Lt={frag:t,part:n,payload:Se.data,networkDetails:et};s(Lt),j(Lt)},onError:(Se,Ae,lt,et)=>{this.resetLoader(t,H),Y(new na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:te.url,data:void 0},Se),error:new Error(`HTTP Error ${Se.code} ${Se.text}`),networkDetails:lt,stats:et}))},onAbort:(Se,Ae,lt)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,H),Y(new na({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:lt,stats:Se}))},onTimeout:(Se,Ae,lt)=>{this.resetLoader(t,H),Y(new na({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${me.timeout}ms`),networkDetails:lt,stats:Se}))}})})}updateStatsFromPart(t,n){const s=t.stats,m=n.stats,w=m.total;if(s.loaded+=m.loaded,w){const Y=Math.round(t.duration/n.duration),H=Math.min(Math.round(s.loaded/w),Y),oe=(Y-H)*Math.round(s.loaded/H);s.total=s.loaded+oe}else s.total=Math.max(s.loaded,s.total);const C=s.loading,j=m.loading;C.start?C.first+=j.first-j.start:(C.start=j.start,C.first=j.first),C.end=j.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function Oi(E,t=null){const n=t||E,s={frag:E,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},m=n.byteRangeStartOffset,w=n.byteRangeEndOffset;if(r(m)&&r(w)){var C;let j=m,Y=w;if(E.sn==="initSegment"&&Cs((C=E.decryptdata)==null?void 0:C.method)){const H=w-m;H%16&&(Y=w+(16-H%16)),m!==0&&(s.resetIV=!0,j=m-16)}s.rangeStart=j,s.rangeEnd=Y}return s}function aa(E,t){const n=new Error(`GAP ${E.gap?"tag":"attribute"} found`),s={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:E,error:n,networkDetails:null};return t&&(s.part=t),(t||E).stats.aborted=!0,new na(s)}function Cs(E){return E==="AES-128"||E==="AES-256"}class na extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class vs 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 Ms{constructor(t,n,s,m=0,w=-1,C=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing=Ba(),this.buffering={audio:Ba(),video:Ba(),audiovideo:Ba()},this.level=t,this.sn=n,this.id=s,this.size=m,this.part=w,this.partial=C}}function Ba(){return{start:0,executeStart:0,executeEnd:0,end:0}}const sa={length:0,start:()=>0,end:()=>0};class yn{static isBuffered(t,n){if(t){const s=yn.getBuffered(t);for(let m=s.length;m--;)if(n>=s.start(m)&&n<=s.end(m))return!0}return!1}static bufferedRanges(t){if(t){const n=yn.getBuffered(t);return yn.timeRangesToArray(n)}return[]}static timeRangesToArray(t){const n=[];for(let s=0;s<t.length;s++)n.push({start:t.start(s),end:t.end(s)});return n}static bufferInfo(t,n,s){if(t){const m=yn.bufferedRanges(t);if(m.length)return yn.bufferedInfo(m,n,s)}return{len:0,start:n,end:n,bufferedIndex:-1}}static bufferedInfo(t,n,s){n=Math.max(0,n),t.length>1&&t.sort((te,oe)=>te.start-oe.start||oe.end-te.end);let m=-1,w=[];if(s)for(let te=0;te<t.length;te++){n>=t[te].start&&n<=t[te].end&&(m=te);const oe=w.length;if(oe){const me=w[oe-1].end;t[te].start-me<s?t[te].end>me&&(w[oe-1].end=t[te].end):w.push(t[te])}else w.push(t[te])}else w=t;let C=0,j,Y=n,H=n;for(let te=0;te<w.length;te++){const oe=w[te].start,me=w[te].end;if(m===-1&&n>=oe&&n<=me&&(m=te),n+s>=oe&&n<me)Y=oe,H=me,C=H-n;else if(n+s<oe){j=oe;break}}return{len:C,start:Y||0,end:H||0,nextStart:j,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||sa}catch(n){return W.log("failed to get media.buffered",n),sa}}}const bs=/\{\$([a-zA-Z0-9-_]+)\}/g;function Xa(E){return bs.test(E)}function xs(E,t){if(E.variableList!==null||E.hasVariableRefs){const n=E.variableList;return t.replace(bs,s=>{const m=s.substring(2,s.length-1),w=n==null?void 0:n[m];return w===void 0?(E.playlistParsingError||(E.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),s):w})}return t}function ji(E,t,n){let s=E.variableList;s||(E.variableList=s={});let m,w;if("QUERYPARAM"in t){m=t.QUERYPARAM;try{const C=new self.URL(n).searchParams;if(C.has(m))w=C.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(C){E.playlistParsingError||(E.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${C.message}`))}}else m=t.NAME,w=t.VALUE;m in s?E.playlistParsingError||(E.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):s[m]=w||""}function Fs(E,t,n){const s=t.IMPORT;if(n&&s in n){let m=E.variableList;m||(E.variableList=m={}),m[s]=n[s]}else E.playlistParsingError||(E.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${s}"`))}const So=/^(\d+)x(\d+)$/,Da=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Ji{constructor(t,n){typeof t=="string"&&(t=Ji.parseAttrList(t,n)),y(this,t)}get clientAttrs(){return Object.keys(this).filter(t=>t.substring(0,2)==="X-")}decimalInteger(t){const n=parseInt(this[t],10);return n>Number.MAX_SAFE_INTEGER?1/0:n}hexadecimalInteger(t){if(this[t]){let n=(this[t]||"0x").slice(2);n=(n.length&1?"0":"")+n;const s=new Uint8Array(n.length/2);for(let m=0;m<n.length/2;m++)s[m]=parseInt(n.slice(m*2,m*2+2),16);return s}return null}hexadecimalIntegerAsNumber(t){const n=parseInt(this[t],16);return n>Number.MAX_SAFE_INTEGER?1/0:n}decimalFloatingPoint(t){return parseFloat(this[t])}optionalFloat(t,n){const s=this[t];return s?parseFloat(s):n}enumeratedString(t){return this[t]}enumeratedStringList(t,n){const s=this[t];return(s?s.split(/[ ,]+/):[]).reduce((m,w)=>(m[w.toLowerCase()]=!0,m),n)}bool(t){return this[t]==="YES"}decimalResolution(t){const n=So.exec(this[t]);if(n!==null)return{width:parseInt(n[1],10),height:parseInt(n[2],10)}}static parseAttrList(t,n){let s;const m={},w='"';for(Da.lastIndex=0;(s=Da.exec(t))!==null;){const C=s[1].trim();let j=s[2];const Y=j.indexOf(w)===0&&j.lastIndexOf(w)===j.length-1;let H=!1;if(Y)j=j.slice(1,-1);else switch(C){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":H=!0}if(n&&(Y||H))j=xs(n,j);else if(!H&&!Y)switch(C){case"CLOSED-CAPTIONS":if(j==="NONE")break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":W.warn(`${t}: attribute ${C} is missing quotes`)}m[C]=j}return m}}const Qa="com.apple.hls.interstitial";function Ks(E){return E!=="ID"&&E!=="CLASS"&&E!=="CUE"&&E!=="START-DATE"&&E!=="DURATION"&&E!=="END-DATE"&&E!=="END-ON-NEXT"}function Pn(E){return E==="SCTE35-OUT"||E==="SCTE35-IN"||E==="SCTE35-CMD"}class Wa{constructor(t,n,s=0){var m;if(this.attr=void 0,this.tagAnchor=void 0,this.tagOrder=void 0,this._startDate=void 0,this._endDate=void 0,this._dateAtEnd=void 0,this._cue=void 0,this._badValueForSameId=void 0,this.tagAnchor=(n==null?void 0:n.tagAnchor)||null,this.tagOrder=(m=n==null?void 0:n.tagOrder)!=null?m:s,n){const w=n.attr;for(const C in w)if(Object.prototype.hasOwnProperty.call(t,C)&&t[C]!==w[C]){W.warn(`DATERANGE tag attribute: "${C}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=C;break}t=y(new Ji({}),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?(W.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${t}`),NaN):t.start+(this.startDate.getTime()-t.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const t=this._endDate||this._dateAtEnd;if(t)return t;const n=this.duration;return n!==null?this._dateAtEnd=new Date(this._startDate.getTime()+n*1e3):null}get duration(){if("DURATION"in this.attr){const t=this.attr.decimalFloatingPoint("DURATION");if(r(t))return t}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return this.class===Qa}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 mo=10;class Bs{constructor(t){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.dateRangeTagCount=0,this.live=!0,this.requestScheduled=-1,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.appliedTimelineOffset=void 0,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=t}reloaded(t){if(!t){this.advanced=!0,this.updated=!0;return}const n=this.lastPartSn-t.lastPartSn,s=this.lastPartIndex-t.lastPartIndex;this.updated=this.endSN!==t.endSN||!!s||!!n||!this.live,this.advanced=this.endSN>t.endSN||n>0||n===0&&s>0,this.updated||this.advanced?this.misses=Math.floor(t.misses*.6):this.misses=t.misses+1}get hasProgramDateTime(){return this.fragments.length?r(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||mo}get drift(){const t=this.driftEndTime-this.driftStartTime;return t>0?(this.driftEnd-this.driftStart)*1e3/t:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const t=this.partList;if(t){const n=this.lastPartIndex;if(n!==-1){for(let s=t.length;s--;)if(t[s].index>n)return t[s].index;return n}}return 0}get lastPartSn(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}get expired(){if(this.live&&this.age&&this.misses<3){const t=this.partEnd-this.fragmentStart;return this.age>Math.max(t,this.totalduration)+this.levelTargetDuration}return!1}}function Li(E){return E==="AES-128"||E==="AES-256"||E==="AES-256-CTR"}function Oa(E){switch(E){case"AES-128":case"AES-256":return Tr.cbc;case"AES-256-CTR":return Tr.ctr;default:throw new Error(`invalid full segment method ${E}`)}}function ka(E){return Uint8Array.from(atob(E),t=>t.charCodeAt(0))}function os(E){return Uint8Array.from(unescape(encodeURIComponent(E)),t=>t.charCodeAt(0))}function Qs(E){const t=os(E).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function Ao(E){const t=function(s,m,w){const C=s[m];s[m]=s[w],s[w]=C};t(E,0,3),t(E,1,2),t(E,4,5),t(E,6,7)}function To(E){const t=E.split(":");let n=null;if(t[0]==="data"&&t.length===2){const s=t[1].split(";"),m=s[s.length-1].split(",");if(m.length===2){const w=m[0]==="base64",C=m[1];w?(s.splice(-1,1),n=ka(C)):n=Qs(C)}}return n}const ws=typeof self!="undefined"?self:void 0;var wa={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},us={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function vo(E){switch(E){case us.FAIRPLAY:return wa.FAIRPLAY;case us.PLAYREADY:return wa.PLAYREADY;case us.WIDEVINE:return wa.WIDEVINE;case us.CLEARKEY:return wa.CLEARKEY}}function Do(E){switch(E){case wa.FAIRPLAY:return us.FAIRPLAY;case wa.PLAYREADY:return us.PLAYREADY;case wa.WIDEVINE:return us.WIDEVINE;case wa.CLEARKEY:return us.CLEARKEY}}function go(E){const{drmSystems:t,widevineLicenseUrl:n}=E,s=t?[wa.FAIRPLAY,wa.WIDEVINE,wa.PLAYREADY,wa.CLEARKEY].filter(m=>!!t[m]):[];return!s[wa.WIDEVINE]&&n&&s.push(wa.WIDEVINE),s}const $o=function(E){return ws!=null&&(E=ws.navigator)!=null&&E.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function oi(E,t,n,s){let m;switch(E){case wa.FAIRPLAY:m=["cenc","sinf"];break;case wa.WIDEVINE:case wa.PLAYREADY:m=["cenc"];break;case wa.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${E}`)}return ni(m,t,n,s)}function ni(E,t,n,s){return[{initDataTypes:E,persistentState:s.persistentState||"optional",distinctiveIdentifier:s.distinctiveIdentifier||"optional",sessionTypes:s.sessionTypes||[s.sessionType||"temporary"],audioCapabilities:t.map(w=>({contentType:`audio/mp4; codecs=${w}`,robustness:s.audioRobustness||"",encryptionScheme:s.audioEncryptionScheme||null})),videoCapabilities:n.map(w=>({contentType:`video/mp4; codecs=${w}`,robustness:s.videoRobustness||"",encryptionScheme:s.videoEncryptionScheme||null}))}]}function Ga(E){var t;return E.sessionType==="persistent-license"||!!((t=E.sessionTypes)!=null&&t.some(n=>n==="persistent-license"))}function ts(E){const t=new Uint16Array(E.buffer,E.byteOffset,E.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),s=n.substring(n.indexOf("<"),n.length),C=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("KID")[0];if(C){const j=C.childNodes[0]?C.childNodes[0].nodeValue:C.getAttribute("VALUE");if(j){const Y=ka(j).subarray(0,16);return Ao(Y),Y}}return null}let Ia={};class uo{static clearKeyUriToKeyIdMap(){Ia={}}constructor(t,n,s,m=[1],w=null,C){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=t,this.uri=n,this.keyFormat=s,this.keyFormatVersions=m,this.iv=w,this.encrypted=t?t!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!Li(t),C!=null&&C.startsWith("0x")&&(this.keyId=new Uint8Array(V(C)))}matches(t){var n,s;return t.uri===this.uri&&t.method===this.method&&t.encrypted===this.encrypted&&t.keyFormat===this.keyFormat&&t.keyFormatVersions.join(",")===this.keyFormatVersions.join(",")&&((n=t.iv)==null?void 0:n.join(","))===((s=this.iv)==null?void 0:s.join(","))}isSupported(){if(this.method){if(Li(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case us.FAIRPLAY:case us.WIDEVINE:case us.PLAYREADY:case us.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(t){if(!this.encrypted||!this.uri)return null;if(Li(this.method)&&this.uri&&!this.iv){typeof t!="number"&&(W.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0);const s=jo(t);return new uo(this.method,this.uri,"identity",this.keyFormatVersions,s)}if(this.pssh&&this.keyId)return this;const n=To(this.uri);if(n)switch(this.keyFormat){case us.WIDEVINE:if(this.pssh=n,!this.keyId&&n.length>=22){const s=n.length-22;this.keyId=n.subarray(s,s+16)}break;case us.PLAYREADY:{const s=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=Ke(s,null,n),this.keyId=ts(n);break}default:{let s=n.subarray(0,16);if(s.length!==16){const m=new Uint8Array(16);m.set(s,16-s.length),s=m}this.keyId=s;break}}if(!this.keyId||this.keyId.byteLength!==16){let s=Ia[this.uri];if(!s){const m=Object.keys(Ia).length%Number.MAX_SAFE_INTEGER;s=new Uint8Array(16),new DataView(s.buffer,12,4).setUint32(0,m),Ia[this.uri]=s}this.keyId=s}return this}}function jo(E){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=E>>8*(15-n)&255;return t}const Qo=/#EXT-X-STREAM-INF:([^\r\n]*)(?:[\r\n](?:#[^\r\n]*)?)*([^\r\n]+)|#EXT-X-(SESSION-DATA|SESSION-KEY|DEFINE|CONTENT-STEERING|START):([^\r\n]*)[\r\n]+/g,ls=/#EXT-X-MEDIA:(.*)/g,hu=/^#EXT(?:INF|-X-TARGETDURATION):/m,Go=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),su=new RegExp([/#EXT-X-(PROGRAM-DATE-TIME|BYTERANGE|DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class lo{static findGroup(t,n){for(let s=0;s<t.length;s++){const m=t[s];if(m.id===n)return m}}static resolve(t,n){return z.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return hu.test(t)}static parseMasterPlaylist(t,n){const s=Xa(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:s},w=[];Qo.lastIndex=0;let C;for(;(C=Qo.exec(t))!=null;)if(C[1]){var j;const H=new Ji(C[1],m),te=xs(m,C[2]),oe={attrs:H,bitrate:H.decimalInteger("BANDWIDTH")||H.decimalInteger("AVERAGE-BANDWIDTH"),name:H.NAME,url:lo.resolve(te,n)},me=H.decimalResolution("RESOLUTION");me&&(oe.width=me.width,oe.height=me.height),pu(H.CODECS,oe);const Se=H["SUPPLEMENTAL-CODECS"];Se&&(oe.supplemental={},pu(Se,oe.supplemental)),(j=oe.unknownCodecs)!=null&&j.length||w.push(oe),m.levels.push(oe)}else if(C[3]){const H=C[3],te=C[4];switch(H){case"SESSION-DATA":{const oe=new Ji(te,m),me=oe["DATA-ID"];me&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[me]=oe);break}case"SESSION-KEY":{const oe=wo(te,n,m);oe.encrypted&&oe.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(oe)):W.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${te}"`);break}case"DEFINE":{{const oe=new Ji(te,m);ji(m,oe,n)}break}case"CONTENT-STEERING":{const oe=new Ji(te,m);m.contentSteering={uri:lo.resolve(oe["SERVER-URI"],n),pathwayId:oe["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=Uo(te);break}}}const Y=w.length>0&&w.length<m.levels.length;return m.levels=Y?w:m.levels,m.levels.length===0&&(m.playlistParsingError=new Error("no levels found in manifest")),m}static parseMasterPlaylistMedia(t,n,s){let m;const w={},C=s.levels,j={AUDIO:C.map(H=>({id:H.attrs.AUDIO,audioCodec:H.audioCodec})),SUBTITLES:C.map(H=>({id:H.attrs.SUBTITLES,textCodec:H.textCodec})),"CLOSED-CAPTIONS":[]};let Y=0;for(ls.lastIndex=0;(m=ls.exec(t))!==null;){const H=new Ji(m[1],s),te=H.TYPE;if(te){const oe=j[te],me=w[te]||[];w[te]=me;const Se=H.LANGUAGE,Ae=H["ASSOC-LANGUAGE"],lt=H.CHANNELS,et=H.CHARACTERISTICS,Lt=H["INSTREAM-ID"],tr={attrs:H,bitrate:0,id:Y++,groupId:H["GROUP-ID"]||"",name:H.NAME||Se||"",type:te,default:H.bool("DEFAULT"),autoselect:H.bool("AUTOSELECT"),forced:H.bool("FORCED"),lang:Se,url:H.URI?lo.resolve(H.URI,n):""};if(Ae&&(tr.assocLang=Ae),lt&&(tr.channels=lt),et&&(tr.characteristics=et),Lt&&(tr.instreamId=Lt),oe!=null&&oe.length){const Kt=lo.findGroup(oe,tr.groupId)||oe[0];Ys(tr,Kt,"audioCodec"),Ys(tr,Kt,"textCodec")}me.push(tr)}}return w}static parseLevelPlaylist(t,n,s,m,w,C){var j;const Y={url:n},H=new Bs(n),te=H.fragments,oe=[];let me=null,Se=0,Ae=0,lt=0,et=0,Lt=0,tr=null,Kt=new Le(m,Y),Cr,Hr,on,zr=-1,Yr=!1,rn=null,Nr;if(Go.lastIndex=0,H.m3u8=t,H.hasVariableRefs=Xa(t),((j=Go.exec(t))==null?void 0:j[0])!=="#EXTM3U")return H.playlistParsingError=new Error("Missing format identifier #EXTM3U"),H;for(;(Cr=Go.exec(t))!==null;){Yr&&(Yr=!1,Kt=new Le(m,Y),Kt.playlistOffset=lt,Kt.start=lt,Kt.sn=Se,Kt.cc=et,Lt&&(Kt.bitrate=Lt),Kt.level=s,me&&(Kt.initSegment=me,me.rawProgramDateTime&&(Kt.rawProgramDateTime=me.rawProgramDateTime,me.rawProgramDateTime=null),rn&&(Kt.setByteRange(rn),rn=null)));const $i=Cr[1];if($i){Kt.duration=parseFloat($i);const Bi=(" "+Cr[2]).slice(1);Kt.title=Bi||null,Kt.tagList.push(Bi?["INF",$i,Bi]:["INF",$i])}else if(Cr[3]){if(r(Kt.duration)){Kt.playlistOffset=lt,Kt.start=lt,on&&Zo(Kt,on,H),Kt.sn=Se,Kt.level=s,Kt.cc=et,te.push(Kt);const Bi=(" "+Cr[3]).slice(1);Kt.relurl=xs(H,Bi),Jo(Kt,tr,oe),tr=Kt,lt+=Kt.duration,Se++,Ae=0,Yr=!0}}else{if(Cr=Cr[0].match(su),!Cr){W.warn("No matches on slow regex match for level playlist!");continue}for(Hr=1;Hr<Cr.length&&Cr[Hr]===void 0;Hr++);const Bi=(" "+Cr[Hr]).slice(1),Ai=(" "+Cr[Hr+1]).slice(1),va=Cr[Hr+2]?(" "+Cr[Hr+2]).slice(1):null;switch(Bi){case"BYTERANGE":tr?Kt.setByteRange(Ai,tr):Kt.setByteRange(Ai);break;case"PROGRAM-DATE-TIME":Kt.rawProgramDateTime=Ai,Kt.tagList.push(["PROGRAM-DATE-TIME",Ai]),zr===-1&&(zr=te.length);break;case"PLAYLIST-TYPE":H.type&&ns(H,Bi,Cr),H.type=Ai.toUpperCase();break;case"MEDIA-SEQUENCE":H.startSN!==0?ns(H,Bi,Cr):te.length>0&&Js(H,Bi,Cr),Se=H.startSN=parseInt(Ai);break;case"SKIP":{H.skippedSegments&&ns(H,Bi,Cr);const si=new Ji(Ai,H),Aa=si.decimalInteger("SKIPPED-SEGMENTS");if(r(Aa)){H.skippedSegments+=Aa;for(let hi=Aa;hi--;)te.push(null);Se+=Aa}const xa=si.enumeratedString("RECENTLY-REMOVED-DATERANGES");xa&&(H.recentlyRemovedDateranges=(H.recentlyRemovedDateranges||[]).concat(xa.split(" ")));break}case"TARGETDURATION":H.targetduration!==0&&ns(H,Bi,Cr),H.targetduration=Math.max(parseInt(Ai),1);break;case"VERSION":H.version!==null&&ns(H,Bi,Cr),H.version=parseInt(Ai);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":H.live||ns(H,Bi,Cr),H.live=!1;break;case"#":(Ai||va)&&Kt.tagList.push(va?[Ai,va]:[Ai]);break;case"DISCONTINUITY":et++,Kt.tagList.push(["DIS"]);break;case"GAP":Kt.gap=!0,Kt.tagList.push([Bi]);break;case"BITRATE":Kt.tagList.push([Bi,Ai]),Lt=parseInt(Ai)*1e3,r(Lt)?Kt.bitrate=Lt:Lt=0;break;case"DATERANGE":{const si=new Ji(Ai,H),Aa=new Wa(si,H.dateRanges[si.ID],H.dateRangeTagCount);H.dateRangeTagCount++,Aa.isValid||H.skippedSegments?H.dateRanges[Aa.id]=Aa:W.warn(`Ignoring invalid DATERANGE tag: "${Ai}"`),Kt.tagList.push(["EXT-X-DATERANGE",Ai]);break}case"DEFINE":{{const si=new Ji(Ai,H);"IMPORT"in si?Fs(H,si,C):ji(H,si,n)}break}case"DISCONTINUITY-SEQUENCE":H.startCC!==0?ns(H,Bi,Cr):te.length>0&&Js(H,Bi,Cr),H.startCC=et=parseInt(Ai);break;case"KEY":{const si=wo(Ai,n,H);if(si.isSupported()){if(si.method==="NONE"){on=void 0;break}on||(on={});const Aa=on[si.keyFormat];Aa!=null&&Aa.matches(si)||(Aa&&(on=y({},on)),on[si.keyFormat]=si)}else W.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Ai}"`);break}case"START":H.startTimeOffset=Uo(Ai);break;case"MAP":{const si=new Ji(Ai,H);if(Kt.duration){const Aa=new Le(m,Y);zo(Aa,si,s,on),me=Aa,Kt.initSegment=me,me.rawProgramDateTime&&!Kt.rawProgramDateTime&&(Kt.rawProgramDateTime=me.rawProgramDateTime)}else{const Aa=Kt.byteRangeEndOffset;if(Aa){const xa=Kt.byteRangeStartOffset;rn=`${Aa-xa}@${xa}`}else rn=null;zo(Kt,si,s,on),me=Kt,Yr=!0}me.cc=et;break}case"SERVER-CONTROL":{Nr&&ns(H,Bi,Cr),Nr=new Ji(Ai),H.canBlockReload=Nr.bool("CAN-BLOCK-RELOAD"),H.canSkipUntil=Nr.optionalFloat("CAN-SKIP-UNTIL",0),H.canSkipDateRanges=H.canSkipUntil>0&&Nr.bool("CAN-SKIP-DATERANGES"),H.partHoldBack=Nr.optionalFloat("PART-HOLD-BACK",0),H.holdBack=Nr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{H.partTarget&&ns(H,Bi,Cr);const si=new Ji(Ai);H.partTarget=si.decimalFloatingPoint("PART-TARGET");break}case"PART":{let si=H.partList;si||(si=H.partList=[]);const Aa=Ae>0?si[si.length-1]:void 0,xa=Ae++,hi=new Ji(Ai,H),ri=new He(hi,Kt,Y,xa,Aa);si.push(ri),Kt.duration+=ri.duration;break}case"PRELOAD-HINT":{const si=new Ji(Ai,H);H.preloadHint=si;break}case"RENDITION-REPORT":{const si=new Ji(Ai,H);H.renditionReports=H.renditionReports||[],H.renditionReports.push(si);break}default:W.warn(`line parsed but not handled: ${Cr}`);break}}}tr&&!tr.relurl?(te.pop(),lt-=tr.duration,H.partList&&(H.fragmentHint=tr)):H.partList&&(Jo(Kt,tr,oe),Kt.cc=et,H.fragmentHint=Kt,on&&Zo(Kt,on,H)),H.targetduration||(H.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Fn=te.length,ai=te[0],ia=te[Fn-1];if(lt+=H.skippedSegments*H.targetduration,lt>0&&Fn&&ia){H.averagetargetduration=lt/Fn;const $i=ia.sn;H.endSN=$i!=="initSegment"?$i:0,H.live||(ia.endList=!0),ai&&H.startCC===void 0&&(H.startCC=ai.cc),zr>0&&(bu(te,zr),ai&&oe.unshift(ai))}else H.endSN=0,H.startCC=0;return H.fragmentHint&&(lt+=H.fragmentHint.duration),H.totalduration=lt,oe.length&&H.dateRangeTagCount&&ai&&$u(oe,H),H.endCC=et,H}}function $u(E,t){const n=E.length;if(!n)return;const s=E[n-1],m=t.live?1/0:t.totalduration,w=Object.keys(t.dateRanges);for(let C=w.length;C--;){const j=t.dateRanges[w[C]],Y=j.startDate.getTime();j.tagAnchor=s.ref;for(let H=n;H--;){const te=Co(t,Y,E,H,m);if(te!==-1){j.tagAnchor=t.fragments[te].ref;break}}}}function Co(E,t,n,s,m){const w=n[s];if(w){const j=w.programDateTime;if(t>=j||s===0){var C;const Y=(((C=n[s+1])==null?void 0:C.start)||m)-w.start;if(t<=j+Y*1e3){const H=n[s].sn-E.startSN,te=E.fragments;if(te.length>n.length){const me=(n[s+1]||te[te.length-1]).sn-E.startSN;for(let Se=me;Se>H;Se--){const Ae=te[Se].programDateTime;if(t>=Ae&&t<Ae+te[Se].duration*1e3)return Se}}return H}}}return-1}function wo(E,t,n){var s,m;const w=new Ji(E,n),C=(s=w.METHOD)!=null?s:"",j=w.URI,Y=w.hexadecimalInteger("IV"),H=w.KEYFORMATVERSIONS,te=(m=w.KEYFORMAT)!=null?m:"identity";j&&w.IV&&!Y&&W.error(`Invalid IV: ${w.IV}`);const oe=j?lo.resolve(j,t):"",me=(H||"1").split("/").map(Number).filter(Number.isFinite);return new uo(C,oe,te,me,Y,w.KEYID)}function Uo(E){const n=new Ji(E).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function pu(E,t){let n=(E||"").split(/[ ,]+/).filter(s=>s);["video","audio","text"].forEach(s=>{const m=n.filter(w=>Dt(w,s));m.length&&(t[`${s}Codec`]=m.map(w=>w.split("/")[0]).join(","),n=n.filter(w=>m.indexOf(w)===-1))}),t.unknownCodecs=n}function Ys(E,t,n){const s=t[n];s&&(E[n]=s)}function bu(E,t){let n=E[t];for(let s=t;s--;){const m=E[s];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function Jo(E,t,n){E.rawProgramDateTime?n.push(E):t!=null&&t.programDateTime&&(E.programDateTime=t.endProgramDateTime)}function zo(E,t,n,s){E.relurl=t.URI,t.BYTERANGE&&E.setByteRange(t.BYTERANGE),E.level=n,E.sn="initSegment",s&&(E.levelkeys=s),E.initSegment=null}function Zo(E,t,n){E.levelkeys=t;const{encryptedFragments:s}=n;(!s.length||s[s.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&s.push(E)}function ns(E,t,n){E.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function Js(E,t,n){E.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function ju(E,t){const n=t.startPTS;if(r(n)){let s=0,m;t.sn>E.sn?(s=n-E.start,m=E):(s=E.start-n,m=t),m.duration!==s&&m.setDuration(s)}else t.sn>E.sn?E.cc===t.cc&&E.minEndPTS?t.setStart(E.start+(E.minEndPTS-E.start)):t.setStart(E.start+E.duration):t.setStart(Math.max(E.start-t.duration,0))}function Qt(E,t,n,s,m,w){s-n<=0&&(W.warn("Fragment should have a positive duration",t),s=n+t.duration,w=m+t.duration);let j=n,Y=s;const H=t.startPTS,te=t.endPTS;if(r(H)){const et=Math.abs(H-n);r(t.deltaPTS)?t.deltaPTS=Math.max(et,t.deltaPTS):t.deltaPTS=et,j=Math.max(n,H),n=Math.min(n,H),m=Math.min(m,t.startDTS),Y=Math.min(s,te),s=Math.max(s,te),w=Math.max(w,t.endDTS)}const oe=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(s-t.start),t.startPTS=n,t.maxStartPTS=j,t.startDTS=m,t.endPTS=s,t.minEndPTS=Y,t.endDTS=w;const me=t.sn;if(!E||me<E.startSN||me>E.endSN)return 0;let Se;const Ae=me-E.startSN,lt=E.fragments;for(lt[Ae]=t,Se=Ae;Se>0;Se--)ju(lt[Se],lt[Se-1]);for(Se=Ae;Se<lt.length-1;Se++)ju(lt[Se],lt[Se+1]);return E.fragmentHint&&ju(lt[lt.length-1],E.fragmentHint),E.PTSKnown=E.alignedSliding=!0,oe}function fr(E,t){if(E===t)return;let n=null;const s=E.fragments;for(let H=s.length-1;H>=0;H--){const te=s[H].initSegment;if(te){n=te;break}}E.fragmentHint&&delete E.fragmentHint.endPTS;let m;Sr(E,t,(H,te,oe,me)=>{if((!t.startCC||t.skippedSegments)&&te.cc!==H.cc){const Se=H.cc-te.cc;for(let Ae=oe;Ae<me.length;Ae++)me[Ae].cc+=Se;t.endCC=me[me.length-1].cc}r(H.startPTS)&&r(H.endPTS)&&(te.setStart(te.startPTS=H.startPTS),te.startDTS=H.startDTS,te.maxStartPTS=H.maxStartPTS,te.endPTS=H.endPTS,te.endDTS=H.endDTS,te.minEndPTS=H.minEndPTS,te.setDuration(H.endPTS-H.startPTS),te.duration&&(m=te),t.PTSKnown=t.alignedSliding=!0),H.hasStreams&&(te.elementaryStreams=H.elementaryStreams),te.loader=H.loader,H.hasStats&&(te.stats=H.stats),H.initSegment&&(te.initSegment=H.initSegment,n=H.initSegment)});const w=t.fragments,C=t.fragmentHint?w.concat(t.fragmentHint):w;if(n&&C.forEach(H=>{var te;H&&(!H.initSegment||H.initSegment.relurl===((te=n)==null?void 0:te.relurl))&&(H.initSegment=n)}),t.skippedSegments){if(t.deltaUpdateFailed=w.some(H=>!H),t.deltaUpdateFailed){W.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.canSkipDateRanges&&(t.dateRanges=ar(E.dateRanges,t));const H=E.fragments.filter(te=>te.rawProgramDateTime);if(E.hasProgramDateTime&&!t.hasProgramDateTime)for(let te=1;te<C.length;te++)C[te].programDateTime===null&&Jo(C[te],C[te-1],H);$u(H,t)}t.endCC=w[w.length-1].cc}if(!t.startCC){var j;const H=Qn(E,t.startSN-1);t.startCC=(j=H==null?void 0:H.cc)!=null?j:w[0].cc}dr(E.partList,t.partList,(H,te)=>{te.elementaryStreams=H.elementaryStreams,te.stats=H.stats}),m?Qt(t,m,m.startPTS,m.endPTS,m.startDTS,m.endDTS):Mn(E,t),w.length&&(t.totalduration=t.edge-w[0].start),t.driftStartTime=E.driftStartTime,t.driftStart=E.driftStart;const Y=t.advancedDateTime;if(t.advanced&&Y){const H=t.edge;t.driftStart||(t.driftStartTime=Y,t.driftStart=H),t.driftEndTime=Y,t.driftEnd=H}else t.driftEndTime=E.driftEndTime,t.driftEnd=E.driftEnd,t.advancedDateTime=E.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=E.requestScheduled)}function ar(E,t){const{dateRanges:n,recentlyRemovedDateranges:s}=t,m=y({},E);s&&s.forEach(j=>{delete m[j]});const C=Object.keys(m).length;return C&&Object.keys(n).forEach(j=>{const Y=m[j],H=new Wa(n[j].attr,Y);H.isValid?(m[j]=H,Y||(H.tagOrder+=C)):W.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${Bn(n[j].attr)}"`)}),m}function dr(E,t,n){if(E&&t){let s=0;for(let m=0,w=E.length;m<=w;m++){const C=E[m],j=t[m+s];C&&j&&C.index===j.index&&C.fragment.sn===j.fragment.sn?n(C,j):s--}}}function Sr(E,t,n){const s=t.skippedSegments,m=Math.max(E.startSN,t.startSN)-t.startSN,w=(E.fragmentHint?1:0)+(s?t.endSN:Math.min(E.endSN,t.endSN))-t.startSN,C=t.startSN-E.startSN,j=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,Y=E.fragmentHint?E.fragments.concat(E.fragmentHint):E.fragments;for(let H=m;H<=w;H++){const te=Y[C+H];let oe=j[H];if(s&&!oe&&te&&(oe=t.fragments[H]=te),te&&oe){if(n(te,oe,H,j),te.url&&te.url!==oe.url){t.playlistParsingError=un(`media sequence mismatch ${oe.sn}:`,E,t,te,oe);return}else if(te.cc!==oe.cc){t.playlistParsingError=un(`discontinuity sequence mismatch (${te.cc}!=${oe.cc})`,E,t,te,oe);return}}}}function un(E,t,n,s,m){return new Error(`${E} ${m.url}
Playlist starting @${t.startSN}
${t.m3u8}
Playlist starting @${n.startSN}
${n.m3u8}`)}function Mn(E,t,n=!0){const s=t.startSN+t.skippedSegments-E.startSN,m=E.fragments,w=s>=0;let C=0;if(w&&s<m.length)C=m[s].start;else if(w&&t.startSN===E.endSN+1)C=E.fragmentEnd;else if(w&&n)C=E.fragmentStart+s*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)C=E.fragmentStart;else return;bn(t,C)}function bn(E,t){if(t){const n=E.fragments;for(let s=E.skippedSegments;s<n.length;s++)n[s].addStart(t);E.fragmentHint&&E.fragmentHint.addStart(t)}}function In(E,t=1/0){let n=1e3*E.targetduration;if(E.updated){const s=E.fragments;if(s.length&&n*4>t){const w=s[s.length-1].duration*1e3;w<n&&(n=w)}}else n/=2;return Math.round(n)}function Qn(E,t,n){if(!E)return null;let s=E.fragments[t-E.startSN];return s||(s=E.fragmentHint,s&&s.sn===t)?s:t<E.startSN&&n&&n.sn===t?n:null}function Xn(E,t,n){return E?ur(E.partList,t,n):null}function ur(E,t,n){if(E)for(let s=E.length;s--;){const m=E[s];if(m.index===n&&m.fragment.sn===t)return m}return null}function Rr(E){E.forEach((t,n)=>{var s;(s=t.details)==null||s.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function Or(E,t){for(let s=0,m=E.length;s<m;s++){var n;if(((n=E[s])==null?void 0:n.cc)===t)return E[s]}return null}function pn(E,t){return!!(E&&t.startCC<E.endCC&&t.endCC>E.startCC)}function _n(E,t){if(E){const n=E.start+t;E.start=E.startPTS=n,E.endPTS=n+E.duration}}function _t(E,t){const n=t.fragments;for(let s=0,m=n.length;s<m;s++)_n(n[s],E);t.fragmentHint&&_n(t.fragmentHint,E),t.alignedSliding=!0}function Dn(E,t){E&&(kn(t,E),!t.alignedSliding&&E&&vi(t,E),!t.alignedSliding&&E&&!t.skippedSegments&&Mn(E,t,!1))}function kn(E,t){if(!pn(t,E))return;const n=Math.min(t.endCC,E.endCC),s=Or(t.fragments,n),m=Or(E.fragments,n);if(!s||!m)return;W.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const w=s.start-m.start;_t(w,E)}function vi(E,t){if(!E.hasProgramDateTime||!t.hasProgramDateTime)return;const n=E.fragments,s=t.fragments;if(!n.length||!s.length)return;let m,w;const C=Math.min(t.endCC,E.endCC);t.startCC<C&&E.startCC<C&&(m=Or(s,C),w=Or(n,C)),(!m||!w)&&(m=s[Math.floor(s.length/2)],w=Or(n,m.cc)||n[Math.floor(n.length/2)]);const j=m.programDateTime,Y=w.programDateTime;if(!j||!Y)return;const H=(Y-j)/1e3-(w.start-m.start);_t(H,E)}const Wi={toString:function(E){let t="";const n=E.length;for(let s=0;s<n;s++)t+=`[${E.start(s).toFixed(3)}-${E.end(s).toFixed(3)}]`;return t}},er={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS",WAITING_LEVEL:"WAITING_LEVEL"};class Yi extends vs{constructor(t,n,s,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=er.STOPPED,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.buffering=!0,this.loadingParts=!1,this.loopSn=void 0,this.onMediaSeeking=()=>{const{config:C,fragCurrent:j,media:Y,mediaBuffer:H,state:te}=this,oe=Y?Y.currentTime:0,me=yn.bufferInfo(H||Y,oe,C.maxBufferHole),Se=!me.len;if(this.log(`Media seeking to ${r(oe)?oe.toFixed(3):oe}, state: ${te}, ${Se?"out of":"in"} buffer`),this.state===er.ENDED)this.resetLoadingState();else if(j){const Ae=C.maxFragLookUpTolerance,lt=j.start-Ae,et=j.start+j.duration+Ae;if(Se||et<me.start||lt>me.end){const Lt=oe>et;(oe<lt||Lt)&&(Lt&&j.loader&&(this.log(`Cancelling fragment load for seek (sn: ${j.sn})`),j.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(Y){this.fragmentTracker.removeFragmentsInRange(oe,1/0,this.playlistType,!0);const Ae=this.lastCurrentTime;if(oe>Ae&&(this.lastCurrentTime=oe),!this.loadingParts){const lt=Math.max(me.end,oe),et=this.shouldLoadParts(this.getLevelDetails(),lt);et&&(this.log(`LL-Part loading ON after seeking to ${oe.toFixed(2)} with buffer @${lt.toFixed(2)}`),this.loadingParts=et)}}this.hls.hasEnoughToStart||(this.log(`Setting ${Se?"startPosition":"nextLoadPosition"} to ${oe} for seek without enough to start`),this.nextLoadPosition=oe,Se&&(this.startPosition=oe)),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 Pi(t.config),this.keyLoader=s,this.fragmentTracker=n,this.config=t.config,this.decrypter=new ci(t.config)}registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(t){}stopLoad(){if(this.state===er.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=er.STOPPED}get startPositionValue(){const{nextLoadPosition:t,startPosition:n}=this;return n===-1&&t?t:n}get bufferingEnabled(){return this.buffering}pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}get inFlightFrag(){return{frag:this.fragCurrent,state:this.state}}_streamEnded(t,n){if(n.live||!this.media)return!1;const s=t.end||0,m=this.config.timelineOffset||0;if(s<=m)return!1;const w=t.buffered;this.config.maxBufferHole&&w&&w.length>1&&(t=yn.bufferedInfo(w,t.start,0));const C=t.nextStart;if(C&&C>m&&C<n.edge||this.media.currentTime<t.start)return!1;const Y=n.partList;if(Y!=null&&Y.length){const te=Y[Y.length-1];return yn.isBuffered(this.media,te.start+te.duration/2)}const H=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(H)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var t;return(t=this.levelLastLoaded)==null?void 0:t.details}}get timelineOffset(){const t=this.config.timelineOffset;if(t){var n;return((n=this.getLevelDetails())==null?void 0:n.appliedTimelineOffset)||t}return 0}onMediaAttached(t,n){const s=this.media=this.mediaBuffer=n.media;s.removeEventListener("seeking",this.onMediaSeeking),s.removeEventListener("ended",this.onMediaEnded),s.addEventListener("seeking",this.onMediaSeeking),s.addEventListener("ended",this.onMediaEnded);const m=this.config;this.levels&&m.autoStartLoad&&this.state===er.STOPPED&&this.startLoad(m.startPosition)}onMediaDetaching(t,n){const s=!!n.transferMedia,m=this.media;if(m!==null){if(m.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),m.removeEventListener("seeking",this.onMediaSeeking),m.removeEventListener("ended",this.onMediaEnded),this.keyLoader&&!s&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loopSn=void 0,s){this.resetLoadingState(),this.resetTransmuxer();return}this.loadingParts=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}}onManifestLoading(){this.initPTS=[],this.levels=this.levelLastLoaded=this.fragCurrent=null,this.lastCurrentTime=this.startPosition=0,this.startFragRequested=!1}onError(t,n){}onManifestLoaded(t,n){this.startTimeOffset=n.startTimeOffset}onHandlerDestroying(){this.stopLoad(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),super.onHandlerDestroying(),this.hls=this.onMediaSeeking=this.onMediaEnded=null}onHandlerDestroyed(){this.state=er.STOPPED,this.fragmentLoader&&this.fragmentLoader.destroy(),this.keyLoader&&this.keyLoader.destroy(),this.decrypter&&this.decrypter.destroy(),this.hls=this.log=this.warn=this.decrypter=this.keyLoader=this.fragmentLoader=this.fragmentTracker=null,super.onHandlerDestroyed()}loadFragment(t,n,s){this.startFragRequested=!0,this._loadFragForPlayback(t,n,s)}_loadFragForPlayback(t,n,s){const m=w=>{const C=w.frag;if(this.fragContextChanged(C)){this.warn(`${C.type} sn: ${C.sn}${w.part?" part: "+w.part.index:""} of ${this.fragInfo(C,!1,w.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(C);return}C.stats.chunkCount++,this._handleFragmentLoadProgress(w)};this._doFragLoad(t,n,s,m).then(w=>{if(!w)return;const C=this.state,j=w.frag;if(this.fragContextChanged(j)){(C===er.FRAG_LOADING||!this.fragCurrent&&C===er.PARSING)&&(this.fragmentTracker.removeFragment(j),this.state=er.IDLE);return}"payload"in w&&(this.log(`Loaded ${j.type} sn: ${j.sn} of ${this.playlistLabel()} ${j.level}`),this.hls.trigger(o.FRAG_LOADED,w)),this._handleFragmentLoadComplete(w)}).catch(w=>{this.state===er.STOPPED||this.state===er.ERROR||(this.warn(`Frag error: ${(w==null?void 0:w.message)||w}`),this.resetFragmentLoading(t))})}clearTrackerIfNeeded(t){var n;const{fragmentTracker:s}=this;if(s.getState(t)===br.APPENDING){const w=t.type,C=this.getFwdBufferInfo(this.mediaBuffer,w),j=Math.max(t.duration,C?C.len:this.config.maxBufferLength),Y=this.backtrackFragment;((Y?t.sn-Y.sn:0)===1||this.reduceMaxBufferLength(j,t.duration))&&s.removeFragment(t)}else((n=this.mediaBuffer)==null?void 0:n.buffered.length)===0?s.removeAllFragments():s.hasParts(t.type)&&(s.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type}),s.getState(t)===br.PARTIAL&&s.removeFragment(t))}checkLiveUpdate(t){if(t.updated&&!t.live){const n=t.fragments[t.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:n,part:null,stats:n.stats,id:n.type})}t.fragments[0]||(t.deltaUpdateFailed=!0)}waitForLive(t){const n=t.details;return(n==null?void 0:n.live)&&n.type!=="EVENT"&&(this.levelLastLoaded!==t||n.expired)}flushMainBuffer(t,n,s=null){if(!(t-n))return;const m={startOffset:t,endOffset:n,type:s};this.hls.trigger(o.BUFFER_FLUSHING,m)}_loadInitSegment(t,n){this._doFragLoad(t,n).then(s=>{const m=s==null?void 0:s.frag;if(!m||this.fragContextChanged(m)||!this.levels)throw new Error("init load aborted");return s}).then(s=>{const{hls:m}=this,{frag:w,payload:C}=s,j=w.decryptdata;if(C&&C.byteLength>0&&j!=null&&j.key&&j.iv&&Li(j.method)){const Y=self.performance.now();return this.decrypter.decrypt(new Uint8Array(C),j.key.buffer,j.iv.buffer,Oa(j.method)).catch(H=>{throw m.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:H,reason:H.message,frag:w}),H}).then(H=>{const te=self.performance.now();return m.trigger(o.FRAG_DECRYPTED,{frag:w,payload:H,stats:{tstart:Y,tdecrypt:te}}),s.payload=H,this.completeInitSegmentLoad(s)})}return this.completeInitSegmentLoad(s)}).catch(s=>{this.state===er.STOPPED||this.state===er.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}completeInitSegmentLoad(t){const{levels:n}=this;if(!n)throw new Error("init load aborted, missing levels");const s=t.frag.stats;this.state!==er.STOPPED&&(this.state=er.IDLE),t.frag.data=new Uint8Array(t.payload),s.parsing.start=s.buffering.start=self.performance.now(),s.parsing.end=s.buffering.end=self.performance.now(),this.tick()}fragContextChanged(t){const{fragCurrent:n}=this;return!t||!n||t.sn!==n.sn||t.level!==n.level}fragBufferedComplete(t,n){const s=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${t.type} sn: ${t.sn}${n?" part: "+n.index:""} of ${this.fragInfo(t,!1,n)} > buffer:${s?Wi.toString(yn.getBuffered(s)):"(detached)"})`),Oe(t)){var m;if(t.type!==u.SUBTITLE){const C=t.elementaryStreams;if(!Object.keys(C).some(j=>!!C[j])){this.state=er.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=er.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:s,part:m,partsLoaded:w}=t,C=!w||w.length===0||w.some(Y=>!Y),j=new Ms(s.level,s.sn,s.stats.chunkCount+1,0,m?m.index:-1,!C);n.flush(j)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,s=null,m){var w;this.fragCurrent=t;const C=n==null?void 0:n.details;if(!this.levels||!C)throw new Error(`frag load aborted, missing level${C?"":" detail"}s`);let j=null;t.encrypted&&!((w=t.decryptdata)!=null&&w.key)?(this.log(`Loading key for ${t.sn} of [${C.startSN}-${C.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=er.KEY_LOADING,this.fragCurrent=t,j=this.keyLoader.load(t).then(oe=>{if(!this.fragContextChanged(oe.frag))return this.hls.trigger(o.KEY_LOADED,oe),this.state===er.KEY_LOADING&&(this.state=er.IDLE),oe}),this.hls.trigger(o.KEY_LOADING,{frag:t}),this.fragCurrent===null&&(j=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):t.encrypted||(j=this.keyLoader.loadClear(t,C.encryptedFragments,this.startFragRequested),j&&this.log("[eme] blocking frag load until media-keys acquired"));const Y=this.fragPrevious;if(Oe(t)&&(!Y||t.sn!==Y.sn)){const oe=this.shouldLoadParts(n.details,t.end);oe!==this.loadingParts&&(this.log(`LL-Part loading ${oe?"ON":"OFF"} loading sn ${Y==null?void 0:Y.sn}->${t.sn}`),this.loadingParts=oe)}if(s=Math.max(t.start,s||0),this.loadingParts&&Oe(t)){const oe=C.partList;if(oe&&m){s>t.end&&C.fragmentHint&&(t=C.fragmentHint);const me=this.getNextPart(oe,t,s);if(me>-1){const Se=oe[me];t=this.fragCurrent=Se.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Se.index} (${me}/${oe.length-1}) of ${this.fragInfo(t,!1,Se)}) cc: ${t.cc} [${C.startSN}-${C.endSN}], target: ${parseFloat(s.toFixed(3))}`),this.nextLoadPosition=Se.start+Se.duration,this.state=er.FRAG_LOADING;let Ae;return j?Ae=j.then(lt=>!lt||this.fragContextChanged(lt.frag)?null:this.doFragPartsLoad(t,Se,n,m)).catch(lt=>this.handleFragLoadError(lt)):Ae=this.doFragPartsLoad(t,Se,n,m).catch(lt=>this.handleFragLoadError(lt)),this.hls.trigger(o.FRAG_LOADING,{frag:t,part:Se,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):Ae}else if(!t.url||this.loadedEndOfParts(oe,s))return Promise.resolve(null)}}if(Oe(t)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${s.toFixed(2)}`),this.loadingParts=!1;else if(!t.url)return Promise.resolve(null);this.log(`Loading ${t.type} sn: ${t.sn} of ${this.fragInfo(t,!1)}) cc: ${t.cc} ${C?"["+C.startSN+"-"+C.endSN+"]":""}, target: ${parseFloat(s.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=er.FRAG_LOADING;const H=this.config.progressive;let te;return H&&j?te=j.then(oe=>!oe||this.fragContextChanged(oe==null?void 0:oe.frag)?null:this.fragmentLoader.load(t,m)).catch(oe=>this.handleFragLoadError(oe)):te=Promise.all([this.fragmentLoader.load(t,H?m:void 0),j]).then(([oe])=>(!H&&oe&&m&&m(oe),oe)).catch(oe=>this.handleFragLoadError(oe)),this.hls.trigger(o.FRAG_LOADING,{frag:t,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):te}doFragPartsLoad(t,n,s,m){return new Promise((w,C)=>{var j;const Y=[],H=(j=s.details)==null?void 0:j.partList,te=oe=>{this.fragmentLoader.loadPart(t,oe,m).then(me=>{Y[oe.index]=me;const Se=me.part;this.hls.trigger(o.FRAG_LOADED,me);const Ae=Xn(s.details,t.sn,oe.index+1)||ur(H,t.sn,oe.index+1);if(Ae)te(Ae);else return w({frag:t,part:Se,partsLoaded:Y})}).catch(C)};te(n)})}handleFragLoadError(t){if("data"in t){const n=t.data;t.data&&n.details===f.INTERNAL_ABORTED?this.handleFragLoadAborted(n.frag,n.part):this.hls.trigger(o.ERROR,n)}else this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,err:t,error:t,fatal:!0});return null}_handleTransmuxerFlush(t){const n=this.getCurrentContext(t);if(!n||this.state!==er.PARSING){!this.fragCurrent&&this.state!==er.STOPPED&&this.state!==er.ERROR&&(this.state=er.IDLE);return}const{frag:s,part:m,level:w}=n,C=self.performance.now();s.stats.parsing.end=C,m&&(m.stats.parsing.end=C);const j=this.getLevelDetails(),H=j&&s.sn>j.endSN||this.shouldLoadParts(j,s.end);H!==this.loadingParts&&(this.log(`LL-Part loading ${H?"ON":"OFF"} after parsing segment ending @${s.end.toFixed(2)}`),this.loadingParts=H),this.updateLevelTiming(s,m,w,t.partial)}shouldLoadParts(t,n){if(this.config.lowLatencyMode){if(!t)return this.loadingParts;if(t!=null&&t.partList){var s;const w=t.partList[0],C=w.end+(((s=t.fragmentHint)==null?void 0:s.duration)||0);if(n>=C){var m;if((this.hls.hasEnoughToStart?((m=this.media)==null?void 0:m.currentTime)||this.lastCurrentTime:this.getLoadPosition())>w.start-w.fragment.duration)return!0}}}return!1}getCurrentContext(t){const{levels:n,fragCurrent:s}=this,{level:m,sn:w,part:C}=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 j=n[m],Y=j.details,H=C>-1?Xn(Y,w,C):null,te=H?H.fragment:Qn(Y,w,s);return te?(s&&s!==te&&(te.stats=s.stats),{frag:te,part:H,level:j}):null}bufferFragmentData(t,n,s,m,w){var C;if(!t||this.state!==er.PARSING)return;const{data1:j,data2:Y}=t;let H=j;if(j&&Y&&(H=Pe(j,Y)),!((C=H)!=null&&C.length))return;const te=this.initPTS[n.cc],oe=te?-te.baseTime/te.timescale:void 0,me={type:t.type,frag:n,part:s,chunkMeta:m,offset:oe,parent:n.type,data:H};if(this.hls.trigger(o.BUFFER_APPENDING,me),t.dropped&&t.independent&&!s){if(w)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!yn.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const s=n.currentTime,m=yn.bufferInfo(n,s,0),w=t.duration,C=Math.min(this.config.maxFragLookUpTolerance*2,w*.25),j=Math.max(Math.min(t.start-C,m.end-C),s+C);t.start-j>C&&this.flushMainBuffer(j,t.start)}getFwdBufferInfo(t,n){var s;const m=this.getLoadPosition();if(!r(m))return null;const C=this.lastCurrentTime>m||(s=this.media)!=null&&s.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,C)}getFwdBufferInfoAtPos(t,n,s,m){const w=yn.bufferInfo(t,n,m);if(w.len===0&&w.nextStart!==void 0){const C=this.fragmentTracker.getBufferedFrag(n,s);if(C&&(w.nextStart<=C.end||C.gap)){const j=Math.max(Math.min(w.nextStart,C.end)-n,m);return yn.bufferInfo(t,n,j)}}return w}getMaxBufferLength(t){const{config:n}=this;let s;return t?s=Math.max(8*n.maxBufferSize/t,n.maxBufferLength):s=n.maxBufferLength,Math.min(s,n.maxMaxBufferLength)}reduceMaxBufferLength(t,n){const s=this.config,m=Math.max(Math.min(t-n,s.maxBufferLength),n),w=Math.max(t-n*3,s.maxMaxBufferLength/2,m);return w>=m?(s.maxMaxBufferLength=w,this.warn(`Reduce max buffer length to ${w}s`),!0):!1}getAppendedFrag(t,n=u.MAIN){var s;const m=(s=this.fragmentTracker)==null?void 0:s.getAppendedFrag(t,n);return m&&"fragment"in m?m.fragment:m}getNextFragment(t,n){const s=n.fragments,m=s.length;if(!m)return null;const{config:w}=this,C=s[0].start,j=w.lowLatencyMode&&!!n.partList;let Y=null;if(n.live){const oe=w.initialLiveManifestSize;if(m<oe)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${oe})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<C){var H;j&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),Y=this.getInitialLiveFragment(n);const me=this.hls.startPosition,Se=this.hls.liveSyncPosition,Ae=Y?(me!==-1&&me>=C?me:Se)||Y.start:t;this.log(`Setting startPosition to ${Ae} to match start frag at live edge. mainStart: ${me} liveSyncPosition: ${Se} frag.start: ${(H=Y)==null?void 0:H.start}`),this.startPosition=this.nextLoadPosition=Ae}}else t<=C&&(Y=s[0]);if(!Y){const oe=this.loadingParts?n.partEnd:n.fragmentEnd;Y=this.getFragmentAtPosition(t,oe,n)}let te=this.filterReplacedPrimary(Y,n);if(!te&&Y){const oe=Y.sn-n.startSN;te=this.filterReplacedPrimary(s[oe+1]||null,n)}return this.mapToInitFragWhenRequired(te)}isLoopLoading(t,n){const s=this.fragmentTracker.getState(t);return(s===br.OK||s===br.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,s,m,w){let C=null;if(t.gap&&(C=this.getNextFragment(this.nextLoadPosition,n),C&&!C.gap&&s.nextStart)){const j=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,s.nextStart,m,0);if(j!==null&&s.len+j.len>=w){const Y=C.sn;return this.loopSn!==Y&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${Y}`),this.loopSn=Y),null}}return this.loopSn=void 0,C}get primaryPrefetch(){if(ki(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(ki(this.hls.config)&&t.type!==u.SUBTITLE){const s=this.hls.interstitialsManager,m=s==null?void 0:s.bufferingItem;if(m){const C=m.event;if(C){if(C.appendInPlace||Math.abs(t.start-m.start)>1||m.start===0)return null}else if(t.end<=m.start&&(n==null?void 0:n.live)===!1||t.start>m.end&&m.nextEvent&&(m.nextEvent.appendInPlace||t.start-m.end>1))return null}const w=s==null?void 0:s.playerQueue;if(w)for(let C=w.length;C--;){const j=w[C].interstitial;if(j.appendInPlace&&t.start>=j.startTime&&t.end<=j.resumeTime)return null}}return t}mapToInitFragWhenRequired(t){return t!=null&&t.initSegment&&!(t!=null&&t.initSegment.data)&&!this.bitrateTest?t.initSegment:t}getNextPart(t,n,s){let m=-1,w=!1,C=!0;for(let j=0,Y=t.length;j<Y;j++){const H=t[j];if(C=C&&!H.independent,m>-1&&s<H.start)break;const te=H.loaded;te?m=-1:(w||H.independent||C)&&H.fragment===n&&(m=j),w=te}return m}loadedEndOfParts(t,n){const s=t[t.length-1];return s&&n>s.start&&s.loaded}getInitialLiveFragment(t){const n=t.fragments,s=this.fragPrevious;let m=null;if(s){if(t.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${s.programDateTime}`),m=Ti(n,s.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const w=s.sn+1;if(w>=t.startSN&&w<=t.endSN){const C=n[w-t.startSN];s.cc===C.cc&&(m=C,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=Ot(t,s.cc,s.end),m&&this.log(`Live playlist, switching playlist, load frag with same CC: ${m.sn}`))}}else{const w=this.hls.liveSyncPosition;w!==null&&(m=this.getFragmentAtPosition(w,this.bitrateTest?t.fragmentEnd:t.edge,t))}return m}getFragmentAtPosition(t,n,s){const{config:m}=this;let{fragPrevious:w}=this,{fragments:C,endSN:j}=s;const{fragmentHint:Y}=s,{maxFragLookUpTolerance:H}=m,te=s.partList,oe=!!(this.loadingParts&&te!=null&&te.length&&Y);oe&&Y&&!this.bitrateTest&&te[te.length-1].fragment.sn===Y.sn&&(C=C.concat(Y),j=Y.sn);let me;if(t<n){var Se;const lt=t<this.lastCurrentTime||t>n-H||(Se=this.media)!=null&&Se.paused||!this.startFragRequested?0:H;me=Yn(w,C,t,lt)}else me=C[C.length-1];if(me){const Ae=me.sn-s.startSN,lt=this.fragmentTracker.getState(me);if((lt===br.OK||lt===br.PARTIAL&&me.gap)&&(w=me),w&&me.sn===w.sn&&(!oe||te[0].fragment.sn>me.sn||!s.live&&!oe)&&w&&me.level===w.level){const Lt=C[Ae+1];me.sn<j&&this.fragmentTracker.getState(Lt)!==br.OK?me=Lt:me=null}}return me}alignPlaylists(t,n,s){const m=t.fragments.length;if(!m)return this.warn("No fragments in live playlist"),0;const w=t.fragmentStart,C=!n,j=t.alignedSliding&&r(w);if(C||!j&&!w){Dn(s,t);const Y=t.fragmentStart;return this.log(`Live playlist sliding: ${Y.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),Y}return w}waitForCdnTuneIn(t){return t.live&&t.canBlockReload&&t.partTarget&&t.tuneInGoal>Math.max(t.partHoldBack,t.partTarget*3)}setStartPosition(t,n){let s=this.startPosition;s<n&&(s=-1);const m=this.timelineOffset;if(s===-1){const w=this.startTimeOffset!==null,C=w?this.startTimeOffset:t.startTimeOffset;C!==null&&r(C)?(s=n+C,C<0&&(s+=t.edge),s=Math.min(Math.max(n,s),n+t.totalduration),this.log(`Setting startPosition to ${s} for start time offset ${C} found in ${w?"multivariant":"media"} playlist`),this.startPosition=s):t.live?(s=this.hls.liveSyncPosition||n,this.log(`Setting startPosition to -1 to start at live edge ${s}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=s=0),this.lastCurrentTime=s+m}this.nextLoadPosition=s+m}getLoadPosition(){var t;const{media:n}=this;let s=0;return(t=this.hls)!=null&&t.hasEnoughToStart&&n?s=n.currentTime:this.nextLoadPosition>=0&&(s=this.nextLoadPosition),s}handleFragLoadAborted(t,n){this.transmuxer&&t.type===this.playlistType&&Oe(t)&&t.stats.aborted&&(this.log(`Fragment ${t.sn}${n?" part "+n.index:""} of ${this.playlistLabel()} ${t.level} was aborted`),this.resetFragmentLoading(t))}resetFragmentLoading(t){(!this.fragCurrent||!this.fragContextChanged(t)&&this.state!==er.FRAG_LOADING_WAITING_RETRY)&&(this.state=er.IDLE)}onFragmentOrKeyLoadError(t,n){if(n.chunkMeta&&!n.frag){const Ae=this.getCurrentContext(n.chunkMeta);Ae&&(n.frag=Ae.frag)}const s=n.frag;if(!s||s.type!==t||!this.levels)return;if(this.fragContextChanged(s)){var m;this.warn(`Frag load error must match current frag to retry ${s.url} > ${(m=this.fragCurrent)==null?void 0:m.url}`);return}const w=n.details===f.FRAG_GAP;w&&this.fragmentTracker.fragBuffered(s,!0);const C=n.errorAction,{action:j,flags:Y,retryCount:H=0,retryConfig:te}=C||{},oe=!!C&&!!te,me=oe&&j===Je.RetryRequest,Se=oe&&!C.resolved&&Y===Ee.MoveAllAlternatesMatchingHost;if(!me&&Se&&Oe(s)&&!s.endList)this.resetFragmentErrors(t),this.treatAsGap(s),C.resolved=!0;else if((me||Se)&&H<te.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const Ae=cr(te,H);this.warn(`Fragment ${s.sn} of ${t} ${s.level} errored with ${n.details}, retrying loading ${H+1}/${te.maxNumRetry} in ${Ae}ms`),C.resolved=!0,this.retryDate=self.performance.now()+Ae,this.state=er.FRAG_LOADING_WAITING_RETRY}else if(te&&C)if(this.resetFragmentErrors(t),H<te.maxNumRetry)!w&&j!==Je.RemoveAlternatePermanently&&(C.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${H})`);return}else j===Je.SendAlternateToPenaltyBox?this.state=er.WAITING_LEVEL:this.state=er.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(t){if(this.state===er.PARSING||this.state===er.PARSED){const n=t.frag,s=t.parent,m=this.getFwdBufferInfo(this.mediaBuffer,s),w=m&&m.len>.5;w&&this.reduceMaxBufferLength(m.len,(n==null?void 0:n.duration)||10);const C=!w;return C&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${s} buffer`),n&&(this.fragmentTracker.removeFragment(n),this.nextLoadPosition=n.start),this.resetLoadingState(),C}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==er.STOPPED&&(this.state=er.IDLE)}afterBufferFlushed(t,n,s){if(!t)return;const m=yn.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,s),this.state===er.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==er.STOPPED&&(this.state=er.IDLE)}resetStartWhenNotLoaded(t){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const n=t?t.details:null;n!=null&&n.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(n,n.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(t){this.warn(`The loading context changed while buffering fragment ${t.sn} of ${this.playlistLabel()} ${t.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(t=0){this.fragmentTracker.removeFragmentsInRange(t,1/0,this.playlistType,!1,!0)}updateLevelTiming(t,n,s,m){const w=s.details;if(!w){this.warn("level.details undefined");return}if(!Object.keys(t.elementaryStreams).reduce((Y,H)=>{const te=t.elementaryStreams[H];if(te){const oe=te.endPTS-te.startPTS;if(oe<=0)return this.warn(`Could not parse fragment ${t.sn} ${H} duration reliably (${oe})`),Y||!1;const me=m?0:Qt(w,t,te.startPTS,te.endPTS,te.startDTS,te.endDTS);return this.hls.trigger(o.LEVEL_PTS_UPDATED,{details:w,level:s,drift:me,type:H,frag:t,start:te.startPTS,end:te.endPTS}),!0}return Y},!1)){var j;if(s.fragmentError===0&&this.treatAsGap(t,s),((j=this.transmuxer)==null?void 0:j.error)===null){const Y=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(Y.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:Y,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${s.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=er.PARSED,this.log(`Parsed ${t.type} sn: ${t.sn}${n?" part: "+n.index:""} of ${this.fragInfo(t,!1,n)})`),this.hls.trigger(o.FRAG_PARSED,{frag:t,part:n})}playlistLabel(){return this.playlistType===u.MAIN?"level":"track"}fragInfo(t,n=!0,s){var m,w;return`${this.playlistLabel()} ${t.level} (${s?"part":"frag"}:[${((m=n&&!s?t.startPTS:(s||t).start)!=null?m:NaN).toFixed(3)}-${((w=n&&!s?t.endPTS:(s||t).end)!=null?w:NaN).toFixed(3)}]${s&&t.type==="main"?"INDEPENDENT="+(s.independent?"YES":"NO"):""}`}treatAsGap(t,n){n&&n.fragmentError++,t.gap=!0,this.fragmentTracker.removeFragment(t),this.fragmentTracker.fragBuffered(t,!0)}resetTransmuxer(){var t;(t=this.transmuxer)==null||t.reset()}recoverWorkerError(t){t.event==="demuxerWorker"&&(this.fragmentTracker.removeAllFragments(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())}set state(t){const n=this._state;n!==t&&(this._state=t,this.log(`${n}->${t}`))}get state(){return this._state}}function ki(E){return!!E.interstitialsController&&E.enableInterstitialPlayback!==!1}class ua{constructor(){this.chunks=[],this.dataLength=0}push(t){this.chunks.push(t),this.dataLength+=t.length}flush(){const{chunks:t,dataLength:n}=this;let s;if(t.length)t.length===1?s=t[0]:s=qs(t,n);else return new Uint8Array(0);return this.reset(),s}reset(){this.chunks.length=0,this.dataLength=0}}function qs(E,t){const n=new Uint8Array(t);let s=0;for(let m=0;m<E.length;m++){const w=E[m];n.set(w,s),s+=w.length}return n}var fs={exports:{}},Ci;function co(){return Ci||(Ci=1,function(E){var t=Object.prototype.hasOwnProperty,n="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(n=!1));function m(Y,H,te){this.fn=Y,this.context=H,this.once=te||!1}function w(Y,H,te,oe,me){if(typeof te!="function")throw new TypeError("The listener must be a function");var Se=new m(te,oe||Y,me),Ae=n?n+H:H;return Y._events[Ae]?Y._events[Ae].fn?Y._events[Ae]=[Y._events[Ae],Se]:Y._events[Ae].push(Se):(Y._events[Ae]=Se,Y._eventsCount++),Y}function C(Y,H){--Y._eventsCount===0?Y._events=new s:delete Y._events[H]}function j(){this._events=new s,this._eventsCount=0}j.prototype.eventNames=function(){var H=[],te,oe;if(this._eventsCount===0)return H;for(oe in te=this._events)t.call(te,oe)&&H.push(n?oe.slice(1):oe);return Object.getOwnPropertySymbols?H.concat(Object.getOwnPropertySymbols(te)):H},j.prototype.listeners=function(H){var te=n?n+H:H,oe=this._events[te];if(!oe)return[];if(oe.fn)return[oe.fn];for(var me=0,Se=oe.length,Ae=new Array(Se);me<Se;me++)Ae[me]=oe[me].fn;return Ae},j.prototype.listenerCount=function(H){var te=n?n+H:H,oe=this._events[te];return oe?oe.fn?1:oe.length:0},j.prototype.emit=function(H,te,oe,me,Se,Ae){var lt=n?n+H:H;if(!this._events[lt])return!1;var et=this._events[lt],Lt=arguments.length,tr,Kt;if(et.fn){switch(et.once&&this.removeListener(H,et.fn,void 0,!0),Lt){case 1:return et.fn.call(et.context),!0;case 2:return et.fn.call(et.context,te),!0;case 3:return et.fn.call(et.context,te,oe),!0;case 4:return et.fn.call(et.context,te,oe,me),!0;case 5:return et.fn.call(et.context,te,oe,me,Se),!0;case 6:return et.fn.call(et.context,te,oe,me,Se,Ae),!0}for(Kt=1,tr=new Array(Lt-1);Kt<Lt;Kt++)tr[Kt-1]=arguments[Kt];et.fn.apply(et.context,tr)}else{var Cr=et.length,Hr;for(Kt=0;Kt<Cr;Kt++)switch(et[Kt].once&&this.removeListener(H,et[Kt].fn,void 0,!0),Lt){case 1:et[Kt].fn.call(et[Kt].context);break;case 2:et[Kt].fn.call(et[Kt].context,te);break;case 3:et[Kt].fn.call(et[Kt].context,te,oe);break;case 4:et[Kt].fn.call(et[Kt].context,te,oe,me);break;default:if(!tr)for(Hr=1,tr=new Array(Lt-1);Hr<Lt;Hr++)tr[Hr-1]=arguments[Hr];et[Kt].fn.apply(et[Kt].context,tr)}}return!0},j.prototype.on=function(H,te,oe){return w(this,H,te,oe,!1)},j.prototype.once=function(H,te,oe){return w(this,H,te,oe,!0)},j.prototype.removeListener=function(H,te,oe,me){var Se=n?n+H:H;if(!this._events[Se])return this;if(!te)return C(this,Se),this;var Ae=this._events[Se];if(Ae.fn)Ae.fn===te&&(!me||Ae.once)&&(!oe||Ae.context===oe)&&C(this,Se);else{for(var lt=0,et=[],Lt=Ae.length;lt<Lt;lt++)(Ae[lt].fn!==te||me&&!Ae[lt].once||oe&&Ae[lt].context!==oe)&&et.push(Ae[lt]);et.length?this._events[Se]=et.length===1?et[0]:et:C(this,Se)}return this},j.prototype.removeAllListeners=function(H){var te;return H?(te=n?n+H:H,this._events[te]&&C(this,te)):(this._events=new s,this._eventsCount=0),this},j.prototype.off=j.prototype.removeListener,j.prototype.addListener=j.prototype.on,j.prefixed=n,j.EventEmitter=j,E.exports=j}(fs)),fs.exports}var Zs=co(),Va=ue(Zs);const Ra="1.6.7",eo={};function to(){return typeof __HLS_WORKER_BUNDLE__=="function"}function mn(){const E=eo[Ra];if(E)return E.clientCount++,E;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 eo[Ra]=m,m}function Es(E){const t=eo[E];if(t)return t.clientCount++,t;const n=new self.URL(E,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return eo[E]=m,m}function Hs(E){const t=eo[E||Ra];if(t&&t.clientCount--===1){const{worker:s,objectURL:m}=t;delete eo[E||Ra],m&&self.URL.revokeObjectURL(m),s.terminate()}}function Xe(E,t){return t+10<=E.length&&E[t]===51&&E[t+1]===68&&E[t+2]===73&&E[t+3]<255&&E[t+4]<255&&E[t+6]<128&&E[t+7]<128&&E[t+8]<128&&E[t+9]<128}function Qe(E,t){return t+10<=E.length&&E[t]===73&&E[t+1]===68&&E[t+2]===51&&E[t+3]<255&&E[t+4]<255&&E[t+6]<128&&E[t+7]<128&&E[t+8]<128&&E[t+9]<128}function Mt(E,t){let n=0;return n=(E[t]&127)<<21,n|=(E[t+1]&127)<<14,n|=(E[t+2]&127)<<7,n|=E[t+3]&127,n}function Wt(E,t){const n=t;let s=0;for(;Qe(E,t);){s+=10;const m=Mt(E,t+6);s+=m,Xe(E,t+10)&&(s+=10),t+=s}if(s>0)return E.subarray(n,n+s)}function mr(E,t,n,s){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],w=t[n+2],C=w>>2&15;if(C>12){const Se=new Error(`invalid ADTS sampling index:${C}`);E.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Se,reason:Se.message});return}const j=(w>>6&3)+1,Y=t[n+3]>>6&3|(w&1)<<2,H="mp4a.40."+j,te=m[C];let oe=C;(j===5||j===29)&&(oe-=3);const me=[j<<3|(oe&14)>>1,(oe&1)<<7|Y<<3];return W.log(`manifest codec:${s}, parsed codec:${H}, channels:${Y}, rate:${te} (ADTS object type:${j} sampling index:${C})`),{config:me,samplerate:te,channelCount:Y,codec:H,parsedCodec:H,manifestCodec:s}}function Lr(E,t){return E[t]===255&&(E[t+1]&246)===240}function jr(E,t){return E[t+1]&1?7:9}function cn(E,t){return(E[t+3]&3)<<11|E[t+4]<<3|(E[t+5]&224)>>>5}function tn(E,t){return t+5<E.length}function fn(E,t){return t+1<E.length&&Lr(E,t)}function Hn(E,t){return tn(E,t)&&Lr(E,t)&&cn(E,t)<=E.length-t}function Kn(E,t){if(fn(E,t)){const n=jr(E,t);if(t+n>=E.length)return!1;const s=cn(E,t);if(s<=n)return!1;const m=t+s;return m===E.length||fn(E,m)}return!1}function fi(E,t,n,s,m){if(!E.samplerate){const w=mr(t,n,s,m);if(!w)return;y(E,w)}}function xi(E){return 9216e4/E}function qi(E,t){const n=jr(E,t);if(t+n<=E.length){const s=cn(E,t)-n;if(s>0)return{headerLength:n,frameLength:s}}}function Ri(E,t,n,s,m){const w=xi(E.samplerate),C=s+m*w,j=qi(t,n);let Y;if(j){const{frameLength:oe,headerLength:me}=j,Se=me+oe,Ae=Math.max(0,n+Se-t.length);Ae?(Y=new Uint8Array(Se-me),Y.set(t.subarray(n+me,t.length),0)):Y=t.subarray(n+me,n+Se);const lt={unit:Y,pts:C};return Ae||E.samples.push(lt),{sample:lt,length:Se,missing:Ae}}const H=t.length-n;return Y=new Uint8Array(H),Y.set(t.subarray(n,t.length),0),{sample:{unit:Y,pts:C},length:H,missing:-1}}function wi(E,t){return Qe(E,t)&&Mt(E,t+6)+10<=E.length-t}function ha(E){return E instanceof ArrayBuffer?E:E.byteOffset==0&&E.byteLength==E.buffer.byteLength?E.buffer:new Uint8Array(E).buffer}function gi(E,t=0,n=1/0){return yi(E,t,n,Uint8Array)}function yi(E,t,n,s){const m=pa(E);let w=1;"BYTES_PER_ELEMENT"in s&&(w=s.BYTES_PER_ELEMENT);const C=ro(E)?E.byteOffset:0,j=(C+E.byteLength)/w,Y=(C+t)/w,H=Math.floor(Math.max(0,Math.min(Y,j))),te=Math.floor(Math.min(H+Math.max(n,0),j));return new s(m,H,te-H)}function pa(E){return E instanceof ArrayBuffer?E:E.buffer}function ro(E){return E&&E.buffer instanceof ArrayBuffer&&E.byteLength!==void 0&&E.byteOffset!==void 0}function Ss(E){const t={key:E.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(E.size<2)return;if(E.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const s=E.data.subarray(1).indexOf(0);if(s===-1)return;const m=Q(gi(E.data,1,s)),w=E.data[2+s],C=E.data.subarray(3+s).indexOf(0);if(C===-1)return;const j=Q(gi(E.data,3+s,C));let Y;return m==="-->"?Y=Q(gi(E.data,4+s+C)):Y=ha(E.data.subarray(4+s+C)),t.mimeType=m,t.pictureType=w,t.description=j,t.data=Y,t}function Na(E){if(E.size<2)return;const t=Q(E.data,!0),n=new Uint8Array(E.data.subarray(t.length+1));return{key:E.type,info:t,data:n.buffer}}function $a(E){if(E.size<2)return;if(E.type==="TXXX"){let n=1;const s=Q(E.data.subarray(n),!0);n+=s.length+1;const m=Q(E.data.subarray(n));return{key:E.type,info:s,data:m}}const t=Q(E.data.subarray(1));return{key:E.type,info:"",data:t}}function za(E){if(E.type==="WXXX"){if(E.size<2)return;let n=1;const s=Q(E.data.subarray(n),!0);n+=s.length+1;const m=Q(E.data.subarray(n));return{key:E.type,info:s,data:m}}const t=Q(E.data);return{key:E.type,info:"",data:t}}function Ii(E){return E.type==="PRIV"?Na(E):E.type[0]==="W"?za(E):E.type==="APIC"?Ss(E):$a(E)}function ga(E){const t=String.fromCharCode(E[0],E[1],E[2],E[3]),n=Mt(E,4),s=10;return{type:t,size:n,data:E.subarray(s,s+n)}}const La=10,Ka=10;function fo(E){let t=0;const n=[];for(;Qe(E,t);){const s=Mt(E,t+6);E[t+5]>>6&1&&(t+=La),t+=La;const m=t+s;for(;t+Ka<m;){const w=ga(E.subarray(t)),C=Ii(w);C&&n.push(C),t+=w.size+La}Xe(E,t)&&(t+=La)}return n}function Ja(E){return E&&E.key==="PRIV"&&E.info==="com.apple.streaming.transportStreamTimestamp"}function Ea(E){if(E.data.byteLength===8){const t=new Uint8Array(E.data),n=t[3]&1;let s=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return s/=45,n&&(s+=4772185884e-2),Math.round(s)}}function Ns(E){const t=fo(E);for(let n=0;n<t.length;n++){const s=t[n];if(Ja(s))return Ea(s)}}let ea=function(E){return E.audioId3="org.id3",E.dateRange="com.apple.quicktime.HLS",E.emsg="https://aomedia.org/emsg/ID3",E.misbklv="urn:misb:KLV:bin:1910.1",E}({});function cs(E="",t=9e4){return{type:E,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class la{constructor(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}resetInitSegment(t,n,s,m){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}}resetTimeStamp(t){this.initPTS=t,this.resetContiguity()}resetContiguity(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0}canParse(t,n){return!1}appendFrame(t,n,s){}demux(t,n){this.cachedData&&(t=Pe(this.cachedData,t),this.cachedData=null);let s=Wt(t,0),m=s?s.length:0,w;const C=this._audioTrack,j=this._id3Track,Y=s?Ns(s):void 0,H=t.length;for((this.basePTS===null||this.frameIndex===0&&r(Y))&&(this.basePTS=Ya(Y,n,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),s&&s.length>0&&j.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:ea.audioId3,duration:Number.POSITIVE_INFINITY});m<H;){if(this.canParse(t,m)){const te=this.appendFrame(C,t,m);te?(this.frameIndex++,this.lastPTS=te.sample.pts,m+=te.length,w=m):m=H}else wi(t,m)?(s=Wt(t,m),j.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:ea.audioId3,duration:Number.POSITIVE_INFINITY}),m+=s.length,w=m):m++;if(m===H&&w!==H){const te=t.slice(w);this.cachedData?this.cachedData=Pe(this.cachedData,te):this.cachedData=te}}return{audioTrack:C,videoTrack:cs(),id3Track:j,textTrack:cs()}}demuxSampleAes(t,n,s){return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`))}flush(t){const n=this.cachedData;return n&&(this.cachedData=null,this.demux(n,0)),{audioTrack:this._audioTrack,videoTrack:cs(),id3Track:this._id3Track,textTrack:cs()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const Ya=(E,t,n)=>{if(r(E))return E*90;const s=n?n.baseTime*9e4/n.timescale:0;return t*9e4+s};let gs=null;const ya=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],be=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Te=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],yr=[0,1,1,4];function Kr(E,t,n,s,m){if(n+24>t.length)return;const w=gr(t,n);if(w&&n+w.frameLength<=t.length){const C=w.samplesPerFrame*9e4/w.sampleRate,j=s+m*C,Y={unit:t.subarray(n,n+w.frameLength),pts:j,dts:j};return E.config=[],E.channelCount=w.channelCount,E.samplerate=w.sampleRate,E.samples.push(Y),{sample:Y,length:w.frameLength,missing:0}}}function gr(E,t){const n=E[t+1]>>3&3,s=E[t+1]>>1&3,m=E[t+2]>>4&15,w=E[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&w!==3){const C=E[t+2]>>1&1,j=E[t+3]>>6,Y=n===3?3-s:s===3?3:4,H=ya[Y*14+m-1]*1e3,oe=be[(n===3?0:n===2?1:2)*3+w],me=j===3?1:2,Se=Te[n][s],Ae=yr[s],lt=Se*8*Ae,et=Math.floor(Se*H/oe+C)*Ae;if(gs===null){const Kt=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);gs=Kt?parseInt(Kt[1]):0}return!!gs&&gs<=87&&s===2&&H>=224e3&&j===0&&(E[t+3]=E[t+3]|128),{sampleRate:oe,channelCount:me,frameLength:et,samplesPerFrame:lt}}}function Wr(E,t){return E[t]===255&&(E[t+1]&224)===224&&(E[t+1]&6)!==0}function xn(E,t){return t+1<E.length&&Wr(E,t)}function Gn(E,t){return Wr(E,t)&&4<=E.length-t}function Di(E,t){if(t+1<E.length&&Wr(E,t)){const s=gr(E,t);let m=4;s!=null&&s.frameLength&&(m=s.frameLength);const w=t+m;return w===E.length||xn(E,w)}return!1}class On extends la{constructor(t,n){super(),this.observer=void 0,this.config=void 0,this.observer=t,this.config=n}resetInitSegment(t,n,s,m){super.resetInitSegment(t,n,s,m),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:n,duration:m,inputTimeScale:9e4,dropped:0}}static probe(t,n){if(!t)return!1;const s=Wt(t,0);let m=(s==null?void 0:s.length)||0;if(Di(t,m))return!1;for(let w=t.length;m<w;m++)if(Kn(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return Hn(t,n)}appendFrame(t,n,s){fi(t,this.observer,n,s,t.manifestCodec);const m=Ri(t,n,s,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const Rn=(E,t)=>{let n=0,s=5;t+=s;const m=new Uint32Array(1),w=new Uint32Array(1),C=new Uint8Array(1);for(;s>0;){C[0]=E[t];const j=Math.min(s,8),Y=8-j;w[0]=4278190080>>>24+Y<<Y,m[0]=(C[0]&w[0])>>Y,n=n?n<<j|m[0]:m[0],t+=1,s-=j}return n};class En extends la{constructor(t){super(),this.observer=void 0,this.observer=t}resetInitSegment(t,n,s,m){super.resetInitSegment(t,n,s,m),this._audioTrack={container:"audio/ac-3",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"ac3",samples:[],manifestCodec:n,duration:m,inputTimeScale:9e4,dropped:0}}canParse(t,n){return n+64<t.length}appendFrame(t,n,s){const m=oa(t,n,s,this.basePTS,this.frameIndex);if(m!==-1)return{sample:t.samples[t.samples.length-1],length:m,missing:0}}static probe(t){if(!t)return!1;const n=Wt(t,0);if(!n)return!1;const s=n.length;return t[s]===11&&t[s+1]===119&&Ns(n)!==void 0&&Rn(t,s)<16}}function oa(E,t,n,s,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 j=[48e3,44100,32e3][w],Y=t[n+4]&63,te=[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][Y*3+w]*2;if(n+te>t.length)return-1;const oe=t[n+6]>>5;let me=0;oe===2?me+=2:(oe&1&&oe!==1&&(me+=2),oe&4&&(me+=2));const Se=(t[n+6]<<8|t[n+7])>>12-me&1,lt=[2,1,2,3,3,4,4,5][oe]+Se,et=t[n+5]>>3,Lt=t[n+5]&7,tr=new Uint8Array([w<<6|et<<1|Lt>>2,(Lt&3)<<6|oe<<3|Se<<2|Y>>4,Y<<4&224]),Kt=1536/j*9e4,Cr=s+m*Kt,Hr=t.subarray(n,n+te);return E.config=tr,E.channelCount=lt,E.samplerate=j,E.samples.push({unit:Hr,pts:Cr}),te}class ja extends la{resetInitSegment(t,n,s,m){super.resetInitSegment(t,n,s,m),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:n,duration:m,inputTimeScale:9e4,dropped:0}}static probe(t){if(!t)return!1;const n=Wt(t,0);let s=(n==null?void 0:n.length)||0;if(n&&t[s]===11&&t[s+1]===119&&Ns(n)!==void 0&&Rn(t,s)<=16)return!1;for(let m=t.length;s<m;s++)if(Di(t,s))return W.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return Gn(t,n)}appendFrame(t,n,s){if(this.basePTS!==null)return Kr(t,n,s,this.basePTS,this.frameIndex)}}const Eo=/\/emsg[-/]ID3/i;class ho{constructor(t,n){this.remainderData=null,this.timeOffset=0,this.config=void 0,this.videoTrack=void 0,this.audioTrack=void 0,this.id3Track=void 0,this.txtTrack=void 0,this.config=n}resetTimeStamp(){}resetInitSegment(t,n,s,m){const w=this.videoTrack=cs("video",1),C=this.audioTrack=cs("audio",1),j=this.txtTrack=cs("text",1);if(this.id3Track=cs("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const Y=rt(t);if(Y.video){const{id:H,timescale:te,codec:oe,supplemental:me}=Y.video;w.id=H,w.timescale=j.timescale=te,w.codec=oe,w.supplemental=me}if(Y.audio){const{id:H,timescale:te,codec:oe}=Y.audio;C.id=H,C.timescale=te,C.codec=oe}j.id=rr.text,w.sampleDuration=0,w.duration=C.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return st(t)}demux(t,n){this.timeOffset=n;let s=t;const m=this.videoTrack,w=this.txtTrack;if(this.config.progressive){this.remainderData&&(s=Pe(this.remainderData,t));const j=Ht(s);this.remainderData=j.remainder,m.samples=j.valid||new Uint8Array}else m.samples=s;const C=this.extractID3Track(m,n);return w.samples=tt(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:C,textTrack:this.txtTrack}}flush(){const t=this.timeOffset,n=this.videoTrack,s=this.txtTrack;n.samples=this.remainderData||new Uint8Array,this.remainderData=null;const m=this.extractID3Track(n,this.timeOffset);return s.samples=tt(t,n),{videoTrack:n,audioTrack:cs(),id3Track:m,textTrack:cs()}}extractID3Track(t,n){const s=this.id3Track;if(t.samples.length){const m=xt(t.samples,["emsg"]);m&&m.forEach(w=>{const C=At(w);if(Eo.test(C.schemeIdUri)){const j=eu(C,n);let Y=C.eventDuration===4294967295?Number.POSITIVE_INFINITY:C.eventDuration/C.timeScale;Y<=.001&&(Y=Number.POSITIVE_INFINITY);const H=C.payload;s.samples.push({data:H,len:H.byteLength,dts:j,pts:j,type:ea.emsg,duration:Y})}else if(this.config.enableEmsgKLVMetadata&&C.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const j=eu(C,n);s.samples.push({data:C.payload,len:C.payload.byteLength,dts:j,pts:j,type:ea.misbklv,duration:Number.POSITIVE_INFINITY})}})}return s}demuxSampleAes(t,n,s){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){this.config=null,this.remainderData=null,this.videoTrack=this.audioTrack=this.id3Track=this.txtTrack=void 0}}function eu(E,t){return r(E.presentationTime)?E.presentationTime/E.timeScale:t+E.presentationTimeDelta/E.timeScale}class xl{constructor(t,n,s){this.keyData=void 0,this.decrypter=void 0,this.keyData=s,this.decrypter=new ci(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,Tr.cbc)}decryptAacSample(t,n,s){const m=t[n].unit;if(m.length<=16)return;const w=m.subarray(16,m.length-m.length%16),C=w.buffer.slice(w.byteOffset,w.byteOffset+w.length);this.decryptBuffer(C).then(j=>{const Y=new Uint8Array(j);m.set(Y,16),this.decrypter.isSync()||this.decryptAacSamples(t,n+1,s)})}decryptAacSamples(t,n,s){for(;;n++){if(n>=t.length){s();return}if(!(t[n].unit.length<32)&&(this.decryptAacSample(t,n,s),!this.decrypter.isSync()))return}}getAvcEncryptedData(t){const n=Math.floor((t.length-48)/160)*16+16,s=new Int8Array(n);let m=0;for(let w=32;w<t.length-16;w+=160,m+=16)s.set(t.subarray(w,w+16),m);return s}getAvcDecryptedUnit(t,n){const s=new Uint8Array(n);let m=0;for(let w=32;w<t.length-16;w+=160,m+=16)t.set(s.subarray(m,m+16),w);return t}decryptAvcSample(t,n,s,m,w){const C=Nt(w.data),j=this.getAvcEncryptedData(C);this.decryptBuffer(j.buffer).then(Y=>{w.data=this.getAvcDecryptedUnit(C,Y),this.decrypter.isSync()||this.decryptAvcSamples(t,n,s+1,m)})}decryptAvcSamples(t,n,s,m){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;n++,s=0){if(n>=t.length){m();return}const w=t[n].units;for(;!(s>=w.length);s++){const C=w[s];if(!(C.data.length<=48||C.type!==1&&C.type!==5)&&(this.decryptAvcSample(t,n,s,m,C),!this.decrypter.isSync()))return}}}}class Uu{constructor(){this.VideoSample=null}createVideoSample(t,n,s){return{key:t,frame:!1,pts:n,dts:s,units:[],length:0}}getLastNalUnit(t){var n;let s=this.VideoSample,m;if((!s||s.units.length===0)&&(s=t[t.length-1]),(n=s)!=null&&n.units){const w=s.units;m=w[w.length-1]}return m}pushAccessUnit(t,n){if(t.units.length&&t.frame){if(t.pts===void 0){const s=n.samples,m=s.length;if(m){const w=s[m-1];t.pts=w.pts,t.dts=w.dts}else{n.dropped++;return}}n.samples.push(t)}}parseNALu(t,n,s){const m=n.byteLength;let w=t.naluState||0;const C=w,j=[];let Y=0,H,te,oe,me=-1,Se=0;for(w===-1&&(me=0,Se=this.getNALuType(n,0),w=0,Y=1);Y<m;){if(H=n[Y++],!w){w=H?0:1;continue}if(w===1){w=H?0:2;continue}if(!H)w=3;else if(H===1){if(te=Y-w-1,me>=0){const Ae={data:n.subarray(me,te),type:Se};j.push(Ae)}else{const Ae=this.getLastNalUnit(t.samples);Ae&&(C&&Y<=4-C&&Ae.state&&(Ae.data=Ae.data.subarray(0,Ae.data.byteLength-C)),te>0&&(Ae.data=Pe(Ae.data,n.subarray(0,te)),Ae.state=0))}Y<m?(oe=this.getNALuType(n,Y),me=Y,Se=oe,w=0):w=-1}else w=0}if(me>=0&&w>=0){const Ae={data:n.subarray(me,m),type:Se,state:w};j.push(Ae)}if(j.length===0){const Ae=this.getLastNalUnit(t.samples);Ae&&(Ae.data=Pe(Ae.data,n))}return t.naluState=w,j}}class _u{constructor(t){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=t,this.bytesAvailable=t.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const t=this.data,n=this.bytesAvailable,s=t.byteLength-n,m=new Uint8Array(4),w=Math.min(4,n);if(w===0)throw new Error("no bytes available");m.set(t.subarray(s,s+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 s=this.word>>>32-n;if(t>32&&W.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=n,this.bitsAvailable>0)this.word<<=n;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return n=t-n,n>0&&this.bitsAvailable?s<<n|this.readBits(n):s}skipLZ(){let t;for(t=0;t<this.bitsAvailable;++t)if(this.word&2147483648>>>t)return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const t=this.skipLZ();return this.readBits(t+1)-1}readEG(){const t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class wc extends Uu{parsePES(t,n,s,m){const w=this.parseNALu(t,s.data,m);let C=this.VideoSample,j,Y=!1;s.data=null,C&&w.length&&!t.audFound&&(this.pushAccessUnit(C,t),C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),w.forEach(H=>{var te,oe;switch(H.type){case 1:{let lt=!1;j=!0;const et=H.data;if(Y&&et.length>4){const Lt=this.readSliceType(et);(Lt===2||Lt===4||Lt===7||Lt===9)&&(lt=!0)}if(lt){var me;(me=C)!=null&&me.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null)}C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.frame=!0,C.key=lt;break}case 5:j=!0,(te=C)!=null&&te.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null),C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0,C.frame=!0;break;case 6:{j=!0,Zt(H.data,1,s.pts,n.samples);break}case 7:{var Se,Ae;j=!0,Y=!0;const lt=H.data,et=this.readSPS(lt);if(!t.sps||t.width!==et.width||t.height!==et.height||((Se=t.pixelRatio)==null?void 0:Se[0])!==et.pixelRatio[0]||((Ae=t.pixelRatio)==null?void 0:Ae[1])!==et.pixelRatio[1]){t.width=et.width,t.height=et.height,t.pixelRatio=et.pixelRatio,t.sps=[lt];const Lt=lt.subarray(1,4);let tr="avc1.";for(let Kt=0;Kt<3;Kt++){let Cr=Lt[Kt].toString(16);Cr.length<2&&(Cr="0"+Cr),tr+=Cr}t.codec=tr}break}case 8:j=!0,t.pps=[H.data];break;case 9:j=!0,t.audFound=!0,(oe=C)!=null&&oe.frame&&(this.pushAccessUnit(C,t),C=null),C||(C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;case 12:j=!0;break;default:j=!1;break}C&&j&&C.units.push(H)}),m&&C&&(this.pushAccessUnit(C,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new _u(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let s=8,m=8,w;for(let C=0;C<t;C++)m!==0&&(w=n.readEG(),m=(s+w+256)%256),s=m===0?s:m}readSPS(t){const n=new _u(t);let s=0,m=0,w=0,C=0,j,Y,H;const te=n.readUByte.bind(n),oe=n.readBits.bind(n),me=n.readUEG.bind(n),Se=n.readBoolean.bind(n),Ae=n.skipBits.bind(n),lt=n.skipEG.bind(n),et=n.skipUEG.bind(n),Lt=this.skipScalingList.bind(this);te();const tr=te();if(oe(5),Ae(3),te(),et(),tr===100||tr===110||tr===122||tr===244||tr===44||tr===83||tr===86||tr===118||tr===128){const Yr=me();if(Yr===3&&Ae(1),et(),et(),Ae(1),Se())for(Y=Yr!==3?8:12,H=0;H<Y;H++)Se()&&(H<6?Lt(16,n):Lt(64,n))}et();const Kt=me();if(Kt===0)me();else if(Kt===1)for(Ae(1),lt(),lt(),j=me(),H=0;H<j;H++)lt();et(),Ae(1);const Cr=me(),Hr=me(),on=oe(1);on===0&&Ae(1),Ae(1),Se()&&(s=me(),m=me(),w=me(),C=me());let zr=[1,1];if(Se()&&Se())switch(te()){case 1:zr=[1,1];break;case 2:zr=[12,11];break;case 3:zr=[10,11];break;case 4:zr=[16,11];break;case 5:zr=[40,33];break;case 6:zr=[24,11];break;case 7:zr=[20,11];break;case 8:zr=[32,11];break;case 9:zr=[80,33];break;case 10:zr=[18,11];break;case 11:zr=[15,11];break;case 12:zr=[64,33];break;case 13:zr=[160,99];break;case 14:zr=[4,3];break;case 15:zr=[3,2];break;case 16:zr=[2,1];break;case 255:{zr=[te()<<8|te(),te()<<8|te()];break}}return{width:Math.ceil((Cr+1)*16-s*2-m*2),height:(2-on)*(Hr+1)*16-(on?2:4)*(w+C),pixelRatio:zr}}}class xu extends Uu{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,s,m){const w=this.parseNALu(t,s.data,m);let C=this.VideoSample,j,Y=!1;s.data=null,C&&w.length&&!t.audFound&&(this.pushAccessUnit(C,t),C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),w.forEach(H=>{var te,oe;switch(H.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:C||(C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),C.frame=!0,j=!0;break;case 16:case 17:case 18:case 21:if(j=!0,Y){var me;(me=C)!=null&&me.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null)}C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0,C.frame=!0;break;case 19:case 20:j=!0,(te=C)!=null&&te.frame&&!C.key&&(this.pushAccessUnit(C,t),C=this.VideoSample=null),C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0,C.frame=!0;break;case 39:j=!0,Zt(H.data,2,s.pts,n.samples);break;case 32:j=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS(H.data)),this.initVPS=H.data),t.vps=[H.data];break;case 33:if(j=!0,Y=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],H.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Se=this.readSPS(H.data);t.width=Se.width,t.height=Se.height,t.pixelRatio=Se.pixelRatio,t.codec=Se.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Ae in Se.params)t.params[Ae]=Se.params[Ae]}this.pushParameterSet(t.sps,H.data,t.vps),C||(C=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),C.key=!0;break;case 34:if(j=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Se=this.readPPS(H.data);for(const Ae in Se)t.params[Ae]=Se[Ae]}this.pushParameterSet(t.pps,H.data,t.vps)}break;case 35:j=!0,t.audFound=!0,(oe=C)!=null&&oe.frame&&(this.pushAccessUnit(C,t),C=null),C||(C=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;default:j=!1;break}C&&j&&C.units.push(H)}),m&&C&&(this.pushAccessUnit(C,t),this.VideoSample=null)}pushParameterSet(t,n,s){(s&&s[0]===this.initVPS||!s&&!t.length)&&t.push(n)}getNALuType(t,n){return(t[n]&126)>>>1}ebsp2rbsp(t){const n=new Uint8Array(t.byteLength);let s=0;for(let m=0;m<t.byteLength;m++)m>=2&&t[m]===3&&t[m-1]===0&&t[m-2]===0||(n[s]=t[m],s++);return new Uint8Array(n.buffer,0,s)}pushAccessUnit(t,n){super.pushAccessUnit(t,n),this.initVPS&&(this.initVPS=null)}readVPS(t){const n=new _u(t);n.readUByte(),n.readUByte(),n.readBits(4),n.skipBits(2),n.readBits(6);const s=n.readBits(3),m=n.readBoolean();return{numTemporalLayers:s+1,temporalIdNested:m}}readSPS(t){const n=new _u(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.readBits(4);const s=n.readBits(3);n.readBoolean();const m=n.readBits(2),w=n.readBoolean(),C=n.readBits(5),j=n.readUByte(),Y=n.readUByte(),H=n.readUByte(),te=n.readUByte(),oe=n.readUByte(),me=n.readUByte(),Se=n.readUByte(),Ae=n.readUByte(),lt=n.readUByte(),et=n.readUByte(),Lt=n.readUByte(),tr=[],Kt=[];for(let zs=0;zs<s;zs++)tr.push(n.readBoolean()),Kt.push(n.readBoolean());if(s>0)for(let zs=s;zs<8;zs++)n.readBits(2);for(let zs=0;zs<s;zs++)tr[zs]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),Kt[zs]&&n.readUByte();n.readUEG();const Cr=n.readUEG();Cr==3&&n.skipBits(1);const Hr=n.readUEG(),on=n.readUEG(),zr=n.readBoolean();let Yr=0,rn=0,Nr=0,Fn=0;zr&&(Yr+=n.readUEG(),rn+=n.readUEG(),Nr+=n.readUEG(),Fn+=n.readUEG());const ai=n.readUEG(),ia=n.readUEG(),$i=n.readUEG(),Bi=n.readBoolean();for(let zs=Bi?0:s;zs<=s;zs++)n.skipUEG(),n.skipUEG(),n.skipUEG();if(n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.readBoolean()&&n.readBoolean())for(let Au=0;Au<4;Au++)for(let yl=0;yl<(Au===3?2:6);yl++)if(!n.readBoolean())n.readUEG();else{const Ml=Math.min(64,1<<4+(Au<<1));Au>1&&n.readEG();for(let vf=0;vf<Ml;vf++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const si=n.readUEG();let Aa=0;for(let zs=0;zs<si;zs++){let Au=!1;if(zs!==0&&(Au=n.readBoolean()),Au){zs===si&&n.readUEG(),n.readBoolean(),n.readUEG();let yl=0;for(let Nc=0;Nc<=Aa;Nc++){const Ml=n.readBoolean();let vf=!1;Ml||(vf=n.readBoolean()),(Ml||vf)&&yl++}Aa=yl}else{const yl=n.readUEG(),Nc=n.readUEG();Aa=yl+Nc;for(let Ml=0;Ml<yl;Ml++)n.readUEG(),n.readBoolean();for(let Ml=0;Ml<Nc;Ml++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const zs=n.readUEG();for(let Au=0;Au<zs;Au++){for(let yl=0;yl<$i+4;yl++)n.readBits(1);n.readBits(1)}}let hi=0,ri=1,Ha=1,ms=!0,Vs=1,Rs=0;n.readBoolean(),n.readBoolean();let No=!1;if(n.readBoolean()){if(n.readBoolean()){const Qc=n.readUByte(),Vf=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],Nf=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Qc>0&&Qc<16?(ri=Vf[Qc-1],Ha=Nf[Qc-1]):Qc===255&&(ri=n.readBits(16),Ha=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(),No=n.readBoolean(),No&&(Yr+=n.readUEG(),rn+=n.readUEG(),Nr+=n.readUEG(),Fn+=n.readUEG()),n.readBoolean()&&(Vs=n.readBits(32),Rs=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const Nf=n.readBoolean(),Yf=n.readBoolean();let Lf=!1;(Nf||Yf)&&(Lf=n.readBoolean(),Lf&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),Lf&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let Mf=0;Mf<=s;Mf++){ms=n.readBoolean();const $f=ms||n.readBoolean();let qf=!1;$f?n.readEG():qf=n.readBoolean();const Xf=qf?1:n.readUEG()+1;if(Nf)for(let gf=0;gf<Xf;gf++)n.readUEG(),n.readUEG(),Lf&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(Yf)for(let gf=0;gf<Xf;gf++)n.readUEG(),n.readUEG(),Lf&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),hi=n.readUEG())}let Bu=Hr,gl=on;if(zr||No){let zs=1,Au=1;Cr===1?zs=Au=2:Cr==2&&(zs=2),Bu=Hr-zs*rn-zs*Yr,gl=on-Au*Fn-Au*Nr}const mf=m?["A","B","C"][m]:"",td=j<<24|Y<<16|H<<8|te;let Hf=0;for(let zs=0;zs<32;zs++)Hf=(Hf|(td>>zs&1)<<31-zs)>>>0;let Wf=Hf.toString(16);return C===1&&Wf==="2"&&(Wf="6"),{codecString:`hvc1.${mf}${C}.${Wf}.${w?"H":"L"}${Lt}.B0`,params:{general_tier_flag:w,general_profile_idc:C,general_profile_space:m,general_profile_compatibility_flags:[j,Y,H,te],general_constraint_indicator_flags:[oe,me,Se,Ae,lt,et],general_level_idc:Lt,bit_depth:ai+8,bit_depth_luma_minus8:ai,bit_depth_chroma_minus8:ia,min_spatial_segmentation_idc:hi,chroma_format_idc:Cr,frame_rate:{fixed:ms,fps:Rs/Vs}},width:Bu,height:gl,pixelRatio:[ri,Ha]}}readPPS(t){const n=new _u(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 C=1;return w&&m?C=0:w?C=3:m&&(C=2),{parallelismType:C}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const We=188;class Z{constructor(t,n,s,m){this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.sampleAes=null,this.pmtParsed=!1,this.audioCodec=void 0,this.videoCodec=void 0,this._pmtId=-1,this._videoTrack=void 0,this._audioTrack=void 0,this._id3Track=void 0,this._txtTrack=void 0,this.aacOverFlow=null,this.remainderData=null,this.videoParser=void 0,this.observer=t,this.config=n,this.typeSupported=s,this.logger=m,this.videoParser=null}static probe(t,n){const s=Z.syncOffset(t);return s>0&&n.warn(`MPEG2-TS detected but first sync word found @ offset ${s}`),s!==-1}static syncOffset(t){const n=t.length;let s=Math.min(We*5,n-We)+1,m=0;for(;m<s;){let w=!1,C=-1,j=0;for(let Y=m;Y<n;Y+=We)if(t[Y]===71&&(n-Y===We||t[Y+We]===71)){if(j++,C===-1&&(C=Y,C!==0&&(s=Math.min(C+We*99,t.length-We)+1)),w||(w=q(t,Y)===0),w&&j>1&&(C===0&&j>2||Y+We>s))return C}else{if(j)return-1;break}m++}return-1}static createTrack(t,n){return{container:t==="video"||t==="audio"?"video/mp2t":void 0,type:t,id:rr[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:t==="audio"?n:void 0}}resetInitSegment(t,n,s,m){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=Z.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=Z.createTrack("audio",m),this._id3Track=Z.createTrack("id3"),this._txtTrack=Z.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=n,this.videoCodec=s}resetTimeStamp(){}resetContiguity(){const{_audioTrack:t,_videoTrack:n,_id3Track:s}=this;t&&(t.pesData=null),n&&(n.pesData=null),s&&(s.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(t,n,s=!1,m=!1){s||(this.sampleAes=null);let w;const C=this._videoTrack,j=this._audioTrack,Y=this._id3Track,H=this._txtTrack;let te=C.pid,oe=C.pesData,me=j.pid,Se=Y.pid,Ae=j.pesData,lt=Y.pesData,et=null,Lt=this.pmtParsed,tr=this._pmtId,Kt=t.length;if(this.remainderData&&(t=Pe(this.remainderData,t),Kt=t.length,this.remainderData=null),Kt<We&&!m)return this.remainderData=t,{audioTrack:j,videoTrack:C,id3Track:Y,textTrack:H};const Cr=Math.max(0,Z.syncOffset(t));Kt-=(Kt-Cr)%We,Kt<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,Kt,t.buffer.byteLength-Kt));let Hr=0;for(let zr=Cr;zr<Kt;zr+=We)if(t[zr]===71){const Yr=!!(t[zr+1]&64),rn=q(t,zr),Nr=(t[zr+3]&48)>>4;let Fn;if(Nr>1){if(Fn=zr+5+t[zr+4],Fn===zr+We)continue}else Fn=zr+4;switch(rn){case te:if(Yr){if(oe&&(w=Tt(oe,this.logger))){if(this.videoParser===null)switch(C.segmentCodec){case"avc":this.videoParser=new wc;break;case"hevc":this.videoParser=new xu;break}this.videoParser!==null&&this.videoParser.parsePES(C,H,w,!1)}oe={data:[],size:0}}oe&&(oe.data.push(t.subarray(Fn,zr+We)),oe.size+=zr+We-Fn);break;case me:if(Yr){if(Ae&&(w=Tt(Ae,this.logger)))switch(j.segmentCodec){case"aac":this.parseAACPES(j,w);break;case"mp3":this.parseMPEGPES(j,w);break;case"ac3":this.parseAC3PES(j,w);break}Ae={data:[],size:0}}Ae&&(Ae.data.push(t.subarray(Fn,zr+We)),Ae.size+=zr+We-Fn);break;case Se:Yr&&(lt&&(w=Tt(lt,this.logger))&&this.parseID3PES(Y,w),lt={data:[],size:0}),lt&&(lt.data.push(t.subarray(Fn,zr+We)),lt.size+=zr+We-Fn);break;case 0:Yr&&(Fn+=t[Fn]+1),tr=this._pmtId=ie(t,Fn);break;case tr:{Yr&&(Fn+=t[Fn]+1);const ai=he(t,Fn,this.typeSupported,s,this.observer,this.logger);te=ai.videoPid,te>0&&(C.pid=te,C.segmentCodec=ai.segmentVideoCodec),me=ai.audioPid,me>0&&(j.pid=me,j.segmentCodec=ai.segmentAudioCodec),Se=ai.id3Pid,Se>0&&(Y.pid=Se),et!==null&&!Lt&&(this.logger.warn(`MPEG-TS PMT found at ${zr} after unknown PID '${et}'. Backtracking to sync byte @${Cr} to parse all TS packets.`),et=null,zr=Cr-188),Lt=this.pmtParsed=!0;break}case 17:case 8191:break;default:et=rn;break}}else Hr++;Hr>0&&Ie(this.observer,new Error(`Found ${Hr} TS packet/s that do not start with 0x47`),void 0,this.logger),C.pesData=oe,j.pesData=Ae,Y.pesData=lt;const on={audioTrack:j,videoTrack:C,id3Track:Y,textTrack:H};return m&&this.extractRemainingSamples(on),on}flush(){const{remainderData:t}=this;this.remainderData=null;let n;return t?n=this.demux(t,-1,!1,!0):n={videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(n),this.sampleAes?this.decrypt(n,this.sampleAes):n}extractRemainingSamples(t){const{audioTrack:n,videoTrack:s,id3Track:m,textTrack:w}=t,C=s.pesData,j=n.pesData,Y=m.pesData;let H;if(C&&(H=Tt(C,this.logger))){if(this.videoParser===null)switch(s.segmentCodec){case"avc":this.videoParser=new wc;break;case"hevc":this.videoParser=new xu;break}this.videoParser!==null&&(this.videoParser.parsePES(s,w,H,!0),s.pesData=null)}else s.pesData=C;if(j&&(H=Tt(j,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,H);break;case"mp3":this.parseMPEGPES(n,H);break;case"ac3":this.parseAC3PES(n,H);break}n.pesData=null}else j!=null&&j.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=j;Y&&(H=Tt(Y,this.logger))?(this.parseID3PES(m,H),m.pesData=null):m.pesData=Y}demuxSampleAes(t,n,s){const m=this.demux(t,s,!0,!this.config.progressive),w=this.sampleAes=new xl(this.observer,this.config,n);return this.decrypt(m,w)}decrypt(t,n){return new Promise(s=>{const{audioTrack:m,videoTrack:w}=t;m.samples&&m.segmentCodec==="aac"?n.decryptAacSamples(m.samples,0,()=>{w.samples?n.decryptAvcSamples(w.samples,0,0,()=>{s(t)}):s(t)}):w.samples&&n.decryptAvcSamples(w.samples,0,0,()=>{s(t)})})}destroy(){this.observer&&this.observer.removeAllListeners(),this.config=this.logger=this.observer=null,this.aacOverFlow=this.videoParser=this.remainderData=this.sampleAes=null,this._videoTrack=this._audioTrack=this._id3Track=this._txtTrack=void 0}parseAACPES(t,n){let s=0;const m=this.aacOverFlow;let w=n.data;if(m){this.aacOverFlow=null;const oe=m.missing,me=m.sample.unit.byteLength;if(oe===-1)w=Pe(m.sample.unit,w);else{const Se=me-oe;m.sample.unit.set(w.subarray(0,oe),Se),t.samples.push(m.sample),s=m.missing}}let C,j;for(C=s,j=w.length;C<j-1&&!fn(w,C);C++);if(C!==s){let oe;const me=C<j-1;if(me?oe=`AAC PES did not start with ADTS header,offset:${C}`:oe="No ADTS header found in AAC PES",Ie(this.observer,new Error(oe),me,this.logger),!me)return}fi(t,this.observer,w,C,this.audioCodec);let Y;if(n.pts!==void 0)Y=n.pts;else if(m){const oe=xi(t.samplerate);Y=m.sample.pts+oe}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let H=0,te;for(;C<j;)if(te=Ri(t,w,C,Y,H),C+=te.length,te.missing){this.aacOverFlow=te;break}else for(H++;C<j-1&&!fn(w,C);C++);}parseMPEGPES(t,n){const s=n.data,m=s.length;let w=0,C=0;const j=n.pts;if(j===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;C<m;)if(xn(s,C)){const Y=Kr(t,s,C,j,w);if(Y)C+=Y.length,w++;else break}else C++}parseAC3PES(t,n){{const s=n.data,m=n.pts;if(m===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const w=s.length;let C=0,j=0,Y;for(;j<w&&(Y=oa(t,s,j,m,C++))>0;)j+=Y}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const s=y({},n,{type:this._videoTrack?ea.emsg:ea.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(s)}}function q(E,t){return((E[t+1]&31)<<8)+E[t+2]}function ie(E,t){return(E[t+10]&31)<<8|E[t+11]}function he(E,t,n,s,m,w){const C={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},j=(E[t+1]&15)<<8|E[t+2],Y=t+3+j-4,H=(E[t+10]&15)<<8|E[t+11];for(t+=12+H;t<Y;){const te=q(E,t),oe=(E[t+3]&15)<<8|E[t+4];switch(E[t]){case 207:if(!s){Ye("ADTS AAC",w);break}case 15:C.audioPid===-1&&(C.audioPid=te);break;case 21:C.id3Pid===-1&&(C.id3Pid=te);break;case 219:if(!s){Ye("H.264",w);break}case 27:C.videoPid===-1&&(C.videoPid=te);break;case 3:case 4:!n.mpeg&&!n.mp3?w.log("MPEG audio found, not supported in this browser"):C.audioPid===-1&&(C.audioPid=te,C.segmentAudioCodec="mp3");break;case 193:if(!s){Ye("AC-3",w);break}case 129:n.ac3?C.audioPid===-1&&(C.audioPid=te,C.segmentAudioCodec="ac3"):w.log("AC-3 audio found, not supported in this browser");break;case 6:if(C.audioPid===-1&&oe>0){let me=t+5,Se=oe;for(;Se>2;){switch(E[me]){case 106:n.ac3!==!0?w.log("AC-3 audio found, not supported in this browser for now"):(C.audioPid=te,C.segmentAudioCodec="ac3");break}const lt=E[me+1]+2;me+=lt,Se-=lt}}break;case 194:case 135:return Ie(m,new Error("Unsupported EC-3 in M2TS found"),void 0,w),C;case 36:C.videoPid===-1&&(C.videoPid=te,C.segmentVideoCodec="hevc",w.log("HEVC in M2TS found"));break}t+=oe+5}return C}function Ie(E,t,n,s){s.warn(`parsing error: ${t.message}`),E.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function Ye(E,t){t.log(`${E} with AES-128-CBC encryption found in unencrypted stream`)}function Tt(E,t){let n=0,s,m,w,C,j;const Y=E.data;if(!E||E.size===0)return null;for(;Y[0].length<19&&Y.length>1;)Y[0]=Pe(Y[0],Y[1]),Y.splice(1,1);if(s=Y[0],(s[0]<<16)+(s[1]<<8)+s[2]===1){if(m=(s[4]<<8)+s[5],m&&m>E.size-6)return null;const te=s[7];te&192&&(C=(s[9]&14)*536870912+(s[10]&255)*4194304+(s[11]&254)*16384+(s[12]&255)*128+(s[13]&254)/2,te&64?(j=(s[14]&14)*536870912+(s[15]&255)*4194304+(s[16]&254)*16384+(s[17]&255)*128+(s[18]&254)/2,C-j>54e5&&(t.warn(`${Math.round((C-j)/9e4)}s delta between PTS and DTS, align them`),C=j)):j=C),w=s[8];let oe=w+9;if(E.size<=oe)return null;E.size-=oe;const me=new Uint8Array(E.size);for(let Se=0,Ae=Y.length;Se<Ae;Se++){s=Y[Se];let lt=s.byteLength;if(oe)if(oe>lt){oe-=lt;continue}else s=s.subarray(oe),lt-=oe,oe=0;me.set(s,n),n+=lt}return m&&(m-=w+3),{data:me,pts:C,dts:j,len:m}}return null}class jt{static getSilentFrame(t,n){switch(t){case"mp4a.40.2":if(n===1)return new Uint8Array([0,200,0,128,35,128]);if(n===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(n===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(n===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(n===5)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(n===6)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(n===1)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===2)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(n===3)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);break}}}const nr=Math.pow(2,32)-1;class Pt{static init(){Pt.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 Pt.types)Pt.types.hasOwnProperty(t)&&(Pt.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);const n=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),s=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);Pt.HDLR_TYPES={video:n,audio:s};const m=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),w=new Uint8Array([0,0,0,0,0,0,0,0]);Pt.STTS=Pt.STSC=Pt.STCO=w,Pt.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Pt.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Pt.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Pt.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const C=new Uint8Array([105,115,111,109]),j=new Uint8Array([97,118,99,49]),Y=new Uint8Array([0,0,0,1]);Pt.FTYP=Pt.box(Pt.types.ftyp,C,Y,C,j),Pt.DINF=Pt.box(Pt.types.dinf,Pt.box(Pt.types.dref,m))}static box(t,...n){let s=8,m=n.length;const w=m;for(;m--;)s+=n[m].byteLength;const C=new Uint8Array(s);for(C[0]=s>>24&255,C[1]=s>>16&255,C[2]=s>>8&255,C[3]=s&255,C.set(t,4),m=0,s=8;m<w;m++)C.set(n[m],s),s+=n[m].byteLength;return C}static hdlr(t){return Pt.box(Pt.types.hdlr,Pt.HDLR_TYPES[t])}static mdat(t){return Pt.box(Pt.types.mdat,t)}static mdhd(t,n){n*=t;const s=Math.floor(n/(nr+1)),m=Math.floor(n%(nr+1));return Pt.box(Pt.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,t&255,s>>24,s>>16&255,s>>8&255,s&255,m>>24,m>>16&255,m>>8&255,m&255,85,196,0,0]))}static mdia(t){return Pt.box(Pt.types.mdia,Pt.mdhd(t.timescale||0,t.duration||0),Pt.hdlr(t.type),Pt.minf(t))}static mfhd(t){return Pt.box(Pt.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"?Pt.box(Pt.types.minf,Pt.box(Pt.types.smhd,Pt.SMHD),Pt.DINF,Pt.stbl(t)):Pt.box(Pt.types.minf,Pt.box(Pt.types.vmhd,Pt.VMHD),Pt.DINF,Pt.stbl(t))}static moof(t,n,s){return Pt.box(Pt.types.moof,Pt.mfhd(t),Pt.traf(s,n))}static moov(t){let n=t.length;const s=[];for(;n--;)s[n]=Pt.trak(t[n]);return Pt.box.apply(null,[Pt.types.moov,Pt.mvhd(t[0].timescale||0,t[0].duration||0)].concat(s).concat(Pt.mvex(t)))}static mvex(t){let n=t.length;const s=[];for(;n--;)s[n]=Pt.trex(t[n]);return Pt.box.apply(null,[Pt.types.mvex,...s])}static mvhd(t,n){n*=t;const s=Math.floor(n/(nr+1)),m=Math.floor(n%(nr+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,s>>24,s>>16&255,s>>8&255,s&255,m>>24,m>>16&255,m>>8&255,m&255,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return Pt.box(Pt.types.mvhd,w)}static sdtp(t){const n=t.samples||[],s=new Uint8Array(4+n.length);let m,w;for(m=0;m<n.length;m++)w=n[m].flags,s[m+4]=w.dependsOn<<4|w.isDependedOn<<2|w.hasRedundancy;return Pt.box(Pt.types.sdtp,s)}static stbl(t){return Pt.box(Pt.types.stbl,Pt.stsd(t),Pt.box(Pt.types.stts,Pt.STTS),Pt.box(Pt.types.stsc,Pt.STSC),Pt.box(Pt.types.stsz,Pt.STSZ),Pt.box(Pt.types.stco,Pt.STCO))}static avc1(t){let n=[],s=[],m,w,C;for(m=0;m<t.sps.length;m++)w=t.sps[m],C=w.byteLength,n.push(C>>>8&255),n.push(C&255),n=n.concat(Array.prototype.slice.call(w));for(m=0;m<t.pps.length;m++)w=t.pps[m],C=w.byteLength,s.push(C>>>8&255),s.push(C&255),s=s.concat(Array.prototype.slice.call(w));const j=Pt.box(Pt.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(s))),Y=t.width,H=t.height,te=t.pixelRatio[0],oe=t.pixelRatio[1];return Pt.box(Pt.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,Y>>8&255,Y&255,H>>8&255,H&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),j,Pt.box(Pt.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Pt.box(Pt.types.pasp,new Uint8Array([te>>24,te>>16&255,te>>8&255,te&255,oe>>24,oe>>16&255,oe>>8&255,oe&255])))}static esds(t){const n=t.config;return new Uint8Array([0,0,0,0,3,25,0,1,0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,...n,6,1,2])}static audioStsd(t){const n=t.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount||0,0,16,0,0,0,0,n>>8&255,n&255,0,0])}static mp4a(t){return Pt.box(Pt.types.mp4a,Pt.audioStsd(t),Pt.box(Pt.types.esds,Pt.esds(t)))}static mp3(t){return Pt.box(Pt.types[".mp3"],Pt.audioStsd(t))}static ac3(t){return Pt.box(Pt.types["ac-3"],Pt.audioStsd(t),Pt.box(Pt.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return Pt.box(Pt.types.stsd,Pt.STSD,Pt.mp4a(t));if(n==="ac3"&&t.config)return Pt.box(Pt.types.stsd,Pt.STSD,Pt.ac3(t));if(n==="mp3"&&t.codec==="mp3")return Pt.box(Pt.types.stsd,Pt.STSD,Pt.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return Pt.box(Pt.types.stsd,Pt.STSD,Pt.avc1(t));if(n==="hevc"&&t.vps)return Pt.box(Pt.types.stsd,Pt.STSD,Pt.hvc1(t))}else throw new Error("video track missing pps or sps");throw new Error(`unsupported ${t.type} segment codec (${n}/${t.codec})`)}static tkhd(t){const n=t.id,s=(t.duration||0)*(t.timescale||0),m=t.width||0,w=t.height||0,C=Math.floor(s/(nr+1)),j=Math.floor(s%(nr+1));return Pt.box(Pt.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,n>>24&255,n>>16&255,n>>8&255,n&255,0,0,0,0,C>>24,C>>16&255,C>>8&255,C&255,j>>24,j>>16&255,j>>8&255,j&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,m>>8&255,m&255,0,0,w>>8&255,w&255,0,0]))}static traf(t,n){const s=Pt.sdtp(t),m=t.id,w=Math.floor(n/(nr+1)),C=Math.floor(n%(nr+1));return Pt.box(Pt.types.traf,Pt.box(Pt.types.tfhd,new Uint8Array([0,0,0,0,m>>24,m>>16&255,m>>8&255,m&255])),Pt.box(Pt.types.tfdt,new Uint8Array([1,0,0,0,w>>24,w>>16&255,w>>8&255,w&255,C>>24,C>>16&255,C>>8&255,C&255])),Pt.trun(t,s.length+16+20+8+16+8+8),s)}static trak(t){return t.duration=t.duration||4294967295,Pt.box(Pt.types.trak,Pt.tkhd(t),Pt.mdia(t))}static trex(t){const n=t.id;return Pt.box(Pt.types.trex,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,n&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(t,n){const s=t.samples||[],m=s.length,w=12+16*m,C=new Uint8Array(w);let j,Y,H,te,oe,me;for(n+=8+w,C.set([t.type==="video"?1:0,0,15,1,m>>>24&255,m>>>16&255,m>>>8&255,m&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0),j=0;j<m;j++)Y=s[j],H=Y.duration,te=Y.size,oe=Y.flags,me=Y.cts,C.set([H>>>24&255,H>>>16&255,H>>>8&255,H&255,te>>>24&255,te>>>16&255,te>>>8&255,te&255,oe.isLeading<<2|oe.dependsOn,oe.isDependedOn<<6|oe.hasRedundancy<<4|oe.paddingValue<<1|oe.isNonSync,oe.degradPrio&61440,oe.degradPrio&15,me>>>24&255,me>>>16&255,me>>>8&255,me&255],12+16*j);return Pt.box(Pt.types.trun,C)}static initSegment(t){Pt.types||Pt.init();const n=Pt.moov(t);return Pe(Pt.FTYP,n)}static hvc1(t){const n=t.params,s=[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),s.length]);let C=w.length;for(let Ae=0;Ae<s.length;Ae+=1){C+=3;for(let lt=0;lt<s[Ae].length;lt+=1)C+=2+s[Ae][lt].length}const j=new Uint8Array(C);j.set(w,0),C=w.length;const Y=s.length-1;for(let Ae=0;Ae<s.length;Ae+=1){j.set(new Uint8Array([32+Ae|(Ae===Y?128:0),0,s[Ae].length]),C),C+=3;for(let lt=0;lt<s[Ae].length;lt+=1)j.set(new Uint8Array([s[Ae][lt].length>>8,s[Ae][lt].length&255]),C),C+=2,j.set(s[Ae][lt],C),C+=s[Ae][lt].length}const H=Pt.box(Pt.types.hvcC,j),te=t.width,oe=t.height,me=t.pixelRatio[0],Se=t.pixelRatio[1];return Pt.box(Pt.types.hvc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,te>>8&255,te&255,oe>>8&255,oe&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),H,Pt.box(Pt.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Pt.box(Pt.types.pasp,new Uint8Array([me>>24,me>>16&255,me>>8&255,me&255,Se>>24,Se>>16&255,Se>>8&255,Se&255])))}}Pt.types=void 0,Pt.HDLR_TYPES=void 0,Pt.STTS=void 0,Pt.STSC=void 0,Pt.STCO=void 0,Pt.STSZ=void 0,Pt.VMHD=void 0,Pt.SMHD=void 0,Pt.STSD=void 0,Pt.FTYP=void 0,Pt.DINF=void 0;const Ur=9e4;function Qr(E,t,n=1,s=!1){const m=E*t*n;return s?Math.round(m):m}function vn(E,t,n=1,s=!1){return Qr(E,t,1/n,s)}function Tn(E,t=!1){return Qr(E,1e3,1/Ur,t)}function Un(E,t=1){return Qr(E,Ur,1/t)}const Ei=10*1e3,ca=1024,ta=1152,fa=1536;let Ua=null,es=null;function ds(E,t,n,s){return{duration:t,size:n,cts:s,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:E?2:1,isNonSync:E?0:1}}}class is extends L{constructor(t,n,s,m){if(super("mp4-remuxer",m),this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextVideoTs=null,this.nextAudioTs=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=t,this.config=n,this.typeSupported=s,this.ISGenerated=!1,Ua===null){const C=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Ua=C?parseInt(C[1]):0}if(es===null){const w=navigator.userAgent.match(/Safari\/(\d+)/i);es=w?parseInt(w[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(t){this.log("initPTS & initDTS reset"),this._initPTS=this._initDTS=t}resetNextTimestamp(){this.log("reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.log("ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(t){let n=!1;const s=t[0].pts,m=t.reduce((w,C)=>{let j=C.pts,Y=j-w;return Y<-4294967296&&(n=!0,j=Xi(j,s),Y=j-w),Y>0?w:j},s);return n&&this.debug("PTS rollover detected"),m}remux(t,n,s,m,w,C,j,Y){let H,te,oe,me,Se,Ae,lt=w,et=w;const Lt=t.pid>-1,tr=n.pid>-1,Kt=n.samples.length,Cr=t.samples.length>0,Hr=j&&Kt>0||Kt>1;if((!Lt||Cr)&&(!tr||Hr)||this.ISGenerated||j){if(this.ISGenerated){var zr,Yr,rn,Nr;const $i=this.videoTrackConfig;($i&&(n.width!==$i.width||n.height!==$i.height||((zr=n.pixelRatio)==null?void 0:zr[0])!==((Yr=$i.pixelRatio)==null?void 0:Yr[0])||((rn=n.pixelRatio)==null?void 0:rn[1])!==((Nr=$i.pixelRatio)==null?void 0:Nr[1]))||!$i&&Hr||this.nextAudioTs===null&&Cr)&&this.resetInitSegment()}this.ISGenerated||(oe=this.generateIS(t,n,w,C));const Fn=this.isVideoContiguous;let ai=-1,ia;if(Hr&&(ai=$s(n.samples),!Fn&&this.config.forceKeyFrameOnDiscontinuity))if(Ae=!0,ai>0){this.warn(`Dropped ${ai} out of ${Kt} video samples due to a missing keyframe`);const $i=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(ai),n.dropped+=ai,et+=(n.samples[0].pts-$i)/n.inputTimeScale,ia=et}else ai===-1&&(this.warn(`No keyframe found out of ${Kt} video samples`),Ae=!1);if(this.ISGenerated){if(Cr&&Hr){const $i=this.getVideoStartPts(n.samples),Ai=(Xi(t.samples[0].pts,$i)-$i)/n.inputTimeScale;lt+=Math.max(0,Ai),et+=Math.max(0,-Ai)}if(Cr){if(t.samplerate||(this.warn("regenerate InitSegment as audio detected"),oe=this.generateIS(t,n,w,C)),te=this.remuxAudio(t,lt,this.isAudioContiguous,C,tr||Hr||Y===u.AUDIO?et:void 0),Hr){const $i=te?te.endPTS-te.startPTS:0;n.inputTimeScale||(this.warn("regenerate InitSegment as video detected"),oe=this.generateIS(t,n,w,C)),H=this.remuxVideo(n,et,Fn,$i)}}else Hr&&(H=this.remuxVideo(n,et,Fn,0));H&&(H.firstKeyFrame=ai,H.independent=ai!==-1,H.firstKeyFramePTS=ia)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(s.samples.length&&(Se=Ps(s,w,this._initPTS,this._initDTS)),m.samples.length&&(me=Sa(m,w,this._initPTS))),{audio:te,video:H,initSegment:oe,independent:Ae,text:me,id3:Se}}generateIS(t,n,s,m){const w=t.samples,C=n.samples,j=this.typeSupported,Y={},H=this._initPTS;let te=!H||m,oe="audio/mp4",me,Se,Ae,lt;if(te&&(me=Se=1/0),t.config&&w.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":j.mpeg?(oe="audio/mpeg",t.codec=""):j.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}Y.audio={id:"audio",container:oe,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&j.mpeg?new Uint8Array(0):Pt.initSegment([t]),metadata:{channelCount:t.channelCount}},te&&(lt=t.id,Ae=t.inputTimeScale,!H||Ae!==H.timescale?me=Se=w[0].pts-Math.round(Ae*s):te=!1)}if(n.sps&&n.pps&&C.length){if(n.timescale=n.inputTimeScale,Y.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:Pt.initSegment([n]),metadata:{width:n.width,height:n.height}},te)if(lt=n.id,Ae=n.inputTimeScale,!H||Ae!==H.timescale){const et=this.getVideoStartPts(C),Lt=Math.round(Ae*s);Se=Math.min(Se,Xi(C[0].dts,et)-Lt),me=Math.min(me,et-Lt)}else te=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(Y).length)return this.ISGenerated=!0,te?(this._initPTS={baseTime:me,timescale:Ae},this._initDTS={baseTime:Se,timescale:Ae}):me=Ae=void 0,{tracks:Y,initPTS:me,timescale:Ae,trackId:lt}}remuxVideo(t,n,s,m){const w=t.inputTimeScale,C=t.samples,j=[],Y=C.length,H=this._initPTS,te=H.baseTime*w/H.timescale;let oe=this.nextVideoTs,me=8,Se=this.videoSampleDuration,Ae,lt,et=Number.POSITIVE_INFINITY,Lt=Number.NEGATIVE_INFINITY,tr=!1;if(!s||oe===null){const hi=te+n*w,ri=C[0].pts-Xi(C[0].dts,C[0].pts);Ua&&oe!==null&&Math.abs(hi-ri-(oe+te))<15e3?s=!0:oe=hi-ri-te}const Kt=oe+te;for(let hi=0;hi<Y;hi++){const ri=C[hi];ri.pts=Xi(ri.pts,Kt),ri.dts=Xi(ri.dts,Kt),ri.dts<C[hi>0?hi-1:hi].dts&&(tr=!0)}tr&&C.sort(function(hi,ri){const Ha=hi.dts-ri.dts,ms=hi.pts-ri.pts;return Ha||ms}),Ae=C[0].dts,lt=C[C.length-1].dts;const Cr=lt-Ae,Hr=Cr?Math.round(Cr/(Y-1)):Se||t.inputTimeScale/30;if(s){const hi=Ae-Kt,ri=hi>Hr,Ha=hi<-1;if((ri||Ha)&&(ri?this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Tn(hi,!0)} ms (${hi}dts) hole between fragments detected at ${n.toFixed(3)}`):this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Tn(-hi,!0)} ms (${hi}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!Ha||Kt>=C[0].pts||Ua)){Ae=Kt;const ms=C[0].pts-hi;if(ri)C[0].dts=Ae,C[0].pts=ms;else{let Vs=!0;for(let Rs=0;Rs<C.length&&!(C[Rs].dts>ms&&Vs);Rs++){const No=C[Rs].pts;if(C[Rs].dts-=hi,C[Rs].pts-=hi,Rs<C.length-1){const vl=C[Rs+1].pts,Bu=C[Rs].pts,gl=vl<=Bu,mf=vl<=No;Vs=gl==mf}}}this.log(`Video: Initial PTS/DTS adjusted: ${Tn(ms,!0)}/${Tn(Ae,!0)}, delta: ${Tn(hi,!0)} ms`)}}Ae=Math.max(0,Ae);let on=0,zr=0,Yr=Ae;for(let hi=0;hi<Y;hi++){const ri=C[hi],Ha=ri.units,ms=Ha.length;let Vs=0;for(let Rs=0;Rs<ms;Rs++)Vs+=Ha[Rs].data.length;zr+=Vs,on+=ms,ri.length=Vs,ri.dts<Yr?(ri.dts=Yr,Yr+=Hr/4|0||1):Yr=ri.dts,et=Math.min(ri.pts,et),Lt=Math.max(ri.pts,Lt)}lt=C[Y-1].dts;const rn=zr+4*on+8;let Nr;try{Nr=new Uint8Array(rn)}catch(hi){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:hi,bytes:rn,reason:`fail allocating video mdat ${rn}`});return}const Fn=new DataView(Nr.buffer);Fn.setUint32(0,rn),Nr.set(Pt.types.mdat,4);let ai=!1,ia=Number.POSITIVE_INFINITY,$i=Number.POSITIVE_INFINITY,Bi=Number.NEGATIVE_INFINITY,Ai=Number.NEGATIVE_INFINITY;for(let hi=0;hi<Y;hi++){const ri=C[hi],Ha=ri.units;let ms=0;for(let No=0,vl=Ha.length;No<vl;No++){const Bu=Ha[No],gl=Bu.data,mf=Bu.data.byteLength;Fn.setUint32(me,mf),me+=4,Nr.set(gl,me),me+=mf,ms+=4+mf}let Vs;if(hi<Y-1)Se=C[hi+1].dts-ri.dts,Vs=C[hi+1].pts-ri.pts;else{const No=this.config,vl=hi>0?ri.dts-C[hi-1].dts:Hr;if(Vs=hi>0?ri.pts-C[hi-1].pts:Hr,No.stretchShortVideoTrack&&this.nextAudioTs!==null){const Bu=Math.floor(No.maxBufferHole*w),gl=(m?et+m*w:this.nextAudioTs+te)-ri.pts;gl>Bu?(Se=gl-vl,Se<0?Se=vl:ai=!0,this.log(`It is approximately ${gl/90} ms to the next segment; using duration ${Se/90} ms for the last video frame.`)):Se=vl}else Se=vl}const Rs=Math.round(ri.pts-ri.dts);ia=Math.min(ia,Se),Bi=Math.max(Bi,Se),$i=Math.min($i,Vs),Ai=Math.max(Ai,Vs),j.push(ds(ri.key,Se,ms,Rs))}if(j.length){if(Ua){if(Ua<70){const hi=j[0].flags;hi.dependsOn=2,hi.isNonSync=0}}else if(es&&Ai-$i<Bi-ia&&Hr/Bi<.025&&j[0].cts===0){this.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let hi=Ae;for(let ri=0,Ha=j.length;ri<Ha;ri++){const ms=hi+j[ri].duration,Vs=hi+j[ri].cts;if(ri<Ha-1){const Rs=ms+j[ri+1].cts;j[ri].duration=Rs-Vs}else j[ri].duration=ri?j[ri-1].duration:Hr;j[ri].cts=0,hi=ms}}}Se=ai||!Se?Hr:Se;const va=lt+Se;this.nextVideoTs=oe=va-te,this.videoSampleDuration=Se,this.isVideoContiguous=!0;const xa={data1:Pt.moof(t.sequenceNumber++,Ae,y(t,{samples:j})),data2:Nr,startPTS:(et-te)/w,endPTS:(Lt+Se-te)/w,startDTS:(Ae-te)/w,endDTS:oe/w,type:"video",hasAudio:!1,hasVideo:!0,nb:j.length,dropped:t.dropped};return t.samples=[],t.dropped=0,xa}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return ta;case"ac3":return fa;default:return ca}}remuxAudio(t,n,s,m,w){const C=t.inputTimeScale,j=t.samplerate?t.samplerate:C,Y=C/j,H=this.getSamplesPerFrame(t),te=H*Y,oe=this._initPTS,me=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Se=[],Ae=w!==void 0;let lt=t.samples,et=me?0:8,Lt=this.nextAudioTs||-1;const tr=oe.baseTime*C/oe.timescale,Kt=tr+n*C;if(this.isAudioContiguous=s=s||lt.length&&Lt>0&&(m&&Math.abs(Kt-(Lt+tr))<9e3||Math.abs(Xi(lt[0].pts,Kt)-(Lt+tr))<20*te),lt.forEach(function(Ai){Ai.pts=Xi(Ai.pts,Kt)}),!s||Lt<0){if(lt=lt.filter(Ai=>Ai.pts>=0),!lt.length)return;w===0?Lt=0:m&&!Ae?Lt=Math.max(0,Kt-tr):Lt=lt[0].pts-tr}if(t.segmentCodec==="aac"){const Ai=this.config.maxAudioFramesDrift;for(let va=0,si=Lt+tr;va<lt.length;va++){const Aa=lt[va],xa=Aa.pts,hi=xa-si,ri=Math.abs(1e3*hi/C);if(hi<=-Ai*te&&Ae)va===0&&(this.warn(`Audio frame @ ${(xa/C).toFixed(3)}s overlaps marker by ${Math.round(1e3*hi/C)} ms.`),this.nextAudioTs=Lt=xa-tr,si=xa);else if(hi>=Ai*te&&ri<Ei&&Ae){let Ha=Math.round(hi/te);for(si=xa-Ha*te;si<0&&Ha&&te;)Ha--,si+=te;va===0&&(this.nextAudioTs=Lt=si-tr),this.warn(`Injecting ${Ha} audio frames @ ${((si-tr)/C).toFixed(3)}s due to ${Math.round(1e3*hi/C)} ms gap.`);for(let ms=0;ms<Ha;ms++){let Vs=jt.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);Vs||(this.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),Vs=Aa.unit.subarray()),lt.splice(va,0,{unit:Vs,pts:si}),si+=te,va++}}Aa.pts=si,si+=te}}let Cr=null,Hr=null,on,zr=0,Yr=lt.length;for(;Yr--;)zr+=lt[Yr].unit.byteLength;for(let Ai=0,va=lt.length;Ai<va;Ai++){const si=lt[Ai],Aa=si.unit;let xa=si.pts;if(Hr!==null){const ri=Se[Ai-1];ri.duration=Math.round((xa-Hr)/Y)}else if(s&&t.segmentCodec==="aac"&&(xa=Lt+tr),Cr=xa,zr>0){zr+=et;try{on=new Uint8Array(zr)}catch(ri){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:ri,bytes:zr,reason:`fail allocating audio mdat ${zr}`});return}me||(new DataView(on.buffer).setUint32(0,zr),on.set(Pt.types.mdat,4))}else return;on.set(Aa,et);const hi=Aa.byteLength;et+=hi,Se.push(ds(!0,H,hi,0)),Hr=xa}const rn=Se.length;if(!rn)return;const Nr=Se[Se.length-1];Lt=Hr-tr,this.nextAudioTs=Lt+Y*Nr.duration;const Fn=me?new Uint8Array(0):Pt.moof(t.sequenceNumber++,Cr/Y,y({},t,{samples:Se}));t.samples=[];const ai=(Cr-tr)/C,ia=Lt/C,Bi={data1:Fn,data2:on,startPTS:ai,endPTS:ia,startDTS:ai,endDTS:ia,type:"audio",hasAudio:!0,hasVideo:!1,nb:rn};return this.isAudioContiguous=!0,Bi}}function Xi(E,t){let n;if(t===null)return E;for(t<E?n=-8589934592:n=8589934592;Math.abs(E-t)>4294967296;)E+=n;return E}function $s(E){for(let t=0;t<E.length;t++)if(E[t].key)return t;return-1}function Ps(E,t,n,s){const m=E.samples.length;if(!m)return;const w=E.inputTimeScale;for(let j=0;j<m;j++){const Y=E.samples[j];Y.pts=Xi(Y.pts-n.baseTime*w/n.timescale,t*w)/w,Y.dts=Xi(Y.dts-s.baseTime*w/s.timescale,t*w)/w}const C=E.samples;return E.samples=[],{samples:C}}function Sa(E,t,n){const s=E.samples.length;if(!s)return;const m=E.inputTimeScale;for(let C=0;C<s;C++){const j=E.samples[C];j.pts=Xi(j.pts-n.baseTime*m/n.timescale,t*m)/m}E.samples.sort((C,j)=>C.pts-j.pts);const w=E.samples;return E.samples=[],{samples:w}}class po extends L{constructor(t,n,s,m){super("passthrough-remuxer",m),this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.isVideoContiguous=!1}destroy(){}resetTimeStamp(t){this.lastEndTime=null;const n=this.initPTS;n&&t&&n.baseTime===t.baseTime&&n.timescale===t.timescale||(this.initPTS=t)}resetNextTimestamp(){this.isVideoContiguous=!1,this.lastEndTime=null}resetInitSegment(t,n,s,m){this.audioCodec=n,this.videoCodec=s,this.generateInitSegment(it(t,m)),this.emitInitSegment=!0}generateInitSegment(t){let{audioCodec:n,videoCodec:s}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const m=this.initData=rt(t);m.audio&&(n=Is(m.audio,se.AUDIO,this)),m.video&&(s=Is(m.video,se.VIDEO,this));const w={};m.audio&&m.video?w.audiovideo={container:"video/mp4",codec:n+","+s,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:s,supplemental:m.video.supplemental,initSegment:t,id:"main"}:this.warn("initSegment does not contain moov or trak boxes."),this.initTracks=w}remux(t,n,s,m,w,C){var j,Y;let{initPTS:H,lastEndTime:te}=this;const oe={audio:void 0,video:void 0,text:m,id3:s,initSegment:void 0};r(te)||(te=this.lastEndTime=w||0);const me=n.samples;if(!(me!=null&&me.length))return oe;const Se={initPTS:void 0,timescale:void 0,trackId:void 0};let Ae=this.initData;if((j=Ae)!=null&&j.length||(this.generateInitSegment(me),Ae=this.initData),!((Y=Ae)!=null&&Y.length))return this.warn("Failed to generate initSegment."),oe;this.emitInitSegment&&(Se.tracks=this.initTracks,this.emitInitSegment=!1);const lt=Gt(me,Ae,this),et=Ae.audio?lt[Ae.audio.id]:null,Lt=Ae.video?lt[Ae.video.id]:null,tr=yo(Lt,1/0),Kt=yo(et,1/0),Cr=yo(Lt,0,!0),Hr=yo(et,0,!0);let on,zr=w,Yr=0;if(et&&(!Lt||!H&&Kt<tr||H&&H.trackId===Ae.audio.id)?(Se.trackId=Ae.audio.id,on=et,Yr=Hr-Kt):Lt&&(Se.trackId=Ae.video.id,on=Lt,Yr=Cr-tr),on){const Ai=on.timescale;zr=on.start/Ai,Se.initPTS=on.start-w*Ai,Se.timescale=Ai,H||(this.initPTS=H={baseTime:Se.initPTS,timescale:Ai,trackId:Se.trackId})}(C||!H)&&(tu(H,zr,w,Yr)||Se.timescale!==H.timescale)&&(Se.initPTS=zr-w,Se.timescale=1,H&&H.timescale===1&&this.warn(`Adjusting initPTS @${w} from ${H.baseTime/H.timescale} to ${Se.initPTS}`),this.initPTS=H={baseTime:Se.initPTS,timescale:1});const rn=t?zr-H.baseTime/H.timescale:te,Nr=rn+Yr;Yr>0?this.lastEndTime=Nr:(this.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Fn=!!Ae.audio,ai=!!Ae.video;let ia="";Fn&&(ia+="audio"),ai&&(ia+="video");const $i={data1:me,startPTS:rn,startDTS:rn,endPTS:Nr,endDTS:Nr,type:ia,hasAudio:Fn,hasVideo:ai,nb:1,dropped:0};oe.audio=Fn&&!ai?$i:void 0,oe.video=ai?$i:void 0;const Bi=Lt==null?void 0:Lt.sampleCount;if(Bi){const Ai=Lt.keyFrameIndex,va=Ai!==-1;$i.nb=Bi,$i.dropped=Ai===0||this.isVideoContiguous?0:va?Ai:Bi,$i.independent=va,$i.firstKeyFrame=Ai,va&&Lt.keyFrameStart&&($i.firstKeyFramePTS=(Lt.keyFrameStart-H.baseTime)/H.timescale),this.isVideoContiguous||(oe.independent=va),this.isVideoContiguous||(this.isVideoContiguous=va),$i.dropped&&this.warn(`fmp4 does not start with IDR: firstIDR ${Ai}/${Bi} dropped: ${$i.dropped} start: ${$i.firstKeyFramePTS||"NA"}`)}return oe.initSegment=Se,oe.id3=Ps(s,w,H,H),m.samples.length&&(oe.text=Sa(m,w,H)),oe}}function yo(E,t,n=!1){return(E==null?void 0:E.start)!==void 0?(E.start+(n?E.duration:0))/E.timescale:t}function tu(E,t,n,s){if(E===null)return!0;const m=Math.max(s,1),w=t-E.baseTime/E.timescale;return Math.abs(w-n)>m}function Is(E,t,n){const s=E==null?void 0:E.codec;return s&&s.length>4?s:t===se.AUDIO?s==="ec-3"||s==="ac-3"||s==="alac"?s:s==="fLaC"||s==="Opus"?vt(s,!1):(n.warn(`Unhandled audio codec "${s}" in mp4 MAP`),s||"mp4a"):(n.warn(`Unhandled video codec "${s}" in mp4 MAP`),s||"avc1")}let Ds;try{Ds=self.performance.now.bind(self.performance)}catch(E){Ds=Date.now}const Vo=[{demux:ho,remux:po},{demux:Z,remux:is},{demux:On,remux:is},{demux:ja,remux:is}];Vo.splice(2,0,{demux:En,remux:is});class wl{constructor(t,n,s,m,w,C){this.asyncResult=!1,this.logger=void 0,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=t,this.typeSupported=n,this.config=s,this.id=w,this.logger=C}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,s,m){const w=s.transmuxing;w.executeStart=Ds();let C=new Uint8Array(t);const{currentTransmuxState:j,transmuxConfig:Y}=this;m&&(this.currentTransmuxState=m);const{contiguous:H,discontinuity:te,trackSwitch:oe,accurateTimeOffset:me,timeOffset:Se,initSegmentChange:Ae}=m||j,{audioCodec:lt,videoCodec:et,defaultInitPts:Lt,duration:tr,initSegmentData:Kt}=Y,Cr=el(C,n);if(Cr&&Li(Cr.method)){const Yr=this.getDecrypter(),rn=Oa(Cr.method);if(Yr.isSync()){let Nr=Yr.softwareDecrypt(C,Cr.key.buffer,Cr.iv.buffer,rn);if(s.part>-1){const ai=Yr.flush();Nr=ai&&ai.buffer}if(!Nr)return w.executeEnd=Ds(),Ma(s);C=new Uint8Array(Nr)}else return this.asyncResult=!0,this.decryptionPromise=Yr.webCryptoDecrypt(C,Cr.key.buffer,Cr.iv.buffer,rn).then(Nr=>{const Fn=this.push(Nr,null,s);return this.decryptionPromise=null,Fn}),this.decryptionPromise}const Hr=this.needsProbing(te,oe);if(Hr){const Yr=this.configureTransmuxer(C);if(Yr)return this.logger.warn(`[transmuxer] ${Yr.message}`),this.observer.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:Yr,reason:Yr.message}),w.executeEnd=Ds(),Ma(s)}(te||oe||Ae||Hr)&&this.resetInitSegment(Kt,lt,et,tr,n),(te||Ae||Hr)&&this.resetInitialTimestamp(Lt),H||this.resetContiguity();const on=this.transmux(C,Cr,Se,me,s);this.asyncResult=ou(on);const zr=this.currentTransmuxState;return zr.contiguous=!0,zr.discontinuity=!1,zr.trackSwitch=!1,w.executeEnd=Ds(),on}flush(t){const n=t.transmuxing;n.executeStart=Ds();const{decrypter:s,currentTransmuxState:m,decryptionPromise:w}=this;if(w)return this.asyncResult=!0,w.then(()=>this.flush(t));const C=[],{timeOffset:j}=m;if(s){const oe=s.flush();oe&&C.push(this.push(oe.buffer,null,t))}const{demuxer:Y,remuxer:H}=this;if(!Y||!H){n.executeEnd=Ds();const oe=[Ma(t)];return this.asyncResult?Promise.resolve(oe):oe}const te=Y.flush(j);return ou(te)?(this.asyncResult=!0,te.then(oe=>(this.flushRemux(C,oe,t),C))):(this.flushRemux(C,te,t),this.asyncResult?Promise.resolve(C):C)}flushRemux(t,n,s){const{audioTrack:m,videoTrack:w,id3Track:C,textTrack:j}=n,{accurateTimeOffset:Y,timeOffset:H}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${s.sn}${s.part>-1?" part: "+s.part:""} of ${this.id===u.MAIN?"level":"track"} ${s.level}`);const te=this.remuxer.remux(m,w,C,j,H,Y,!0,this.id);t.push({remuxResult:te,chunkMeta:s}),s.transmuxing.executeEnd=Ds()}resetInitialTimestamp(t){const{demuxer:n,remuxer:s}=this;!n||!s||(n.resetTimeStamp(t),s.resetTimeStamp(t))}resetContiguity(){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetContiguity(),n.resetNextTimestamp())}resetInitSegment(t,n,s,m,w){const{demuxer:C,remuxer:j}=this;!C||!j||(C.resetInitSegment(t,n,s,m),j.resetInitSegment(t,n,s,w))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(t,n,s,m,w){let C;return n&&n.method==="SAMPLE-AES"?C=this.transmuxSampleAes(t,n,s,m,w):C=this.transmuxUnencrypted(t,s,m,w),C}transmuxUnencrypted(t,n,s,m){const{audioTrack:w,videoTrack:C,id3Track:j,textTrack:Y}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(w,C,j,Y,n,s,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,s,m,w){return this.demuxer.demuxSampleAes(t,n,s).then(C=>({remuxResult:this.remuxer.remux(C.audioTrack,C.videoTrack,C.id3Track,C.textTrack,s,m,!1,this.id),chunkMeta:w}))}configureTransmuxer(t){const{config:n,observer:s,typeSupported:m}=this;let w;for(let oe=0,me=Vo.length;oe<me;oe++){var C;if((C=Vo[oe].demux)!=null&&C.probe(t,this.logger)){w=Vo[oe];break}}if(!w)return new Error("Failed to find demuxer by probing fragment data");const j=this.demuxer,Y=this.remuxer,H=w.remux,te=w.demux;(!Y||!(Y instanceof H))&&(this.remuxer=new H(s,n,m,this.logger)),(!j||!(j instanceof te))&&(this.demuxer=new te(s,n,m,this.logger),this.probe=te.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new ci(this.config)),t}}function el(E,t){let n=null;return E.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const Ma=E=>({remuxResult:{},chunkMeta:E});function ou(E){return"then"in E&&E.then instanceof Function}class Ws{constructor(t,n,s,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=s,this.duration=m,this.defaultInitPts=w||null}}class zu{constructor(t,n,s,m,w,C){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=t,this.contiguous=n,this.accurateTimeOffset=s,this.trackSwitch=m,this.timeOffset=w,this.initSegmentChange=C}}let Tu=0;class Oo{constructor(t,n,s,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=Tu++,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.onWorkerMessage=Y=>{const H=Y.data,te=this.hls;if(!(!te||!(H!=null&&H.event)||H.instanceNo!==this.instanceNo))switch(H.event){case"init":{var oe;const me=(oe=this.workerContext)==null?void 0:oe.objectURL;me&&self.URL.revokeObjectURL(me);break}case"transmuxComplete":{this.handleTransmuxComplete(H.data);break}case"flush":{this.onFlush(H.data);break}case"workerLog":{te.logger[H.data.logType]&&te.logger[H.data.logType](H.data.message);break}default:{H.data=H.data||{},H.data.frag=this.frag,H.data.part=this.part,H.data.id=this.id,te.trigger(H.event,H.data);break}}},this.onWorkerError=Y=>{if(!this.hls)return;const H=new Error(`${Y.message} (${Y.filename}:${Y.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:H})};const w=t.config;this.hls=t,this.id=n,this.useWorker=!!w.enableWorker,this.onTransmuxComplete=s,this.onFlush=m;const C=(Y,H)=>{H=H||{},H.frag=this.frag||void 0,Y===o.ERROR&&(H=H,H.parent=this.id,H.part=this.part,this.error=H.error),this.hls.trigger(Y,H)};this.observer=new Va,this.observer.on(o.FRAG_DECRYPTED,C),this.observer.on(o.ERROR,C);const j=Vr(w.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const Y=this.hls.logger;if(w.workerPath||to()){try{w.workerPath?(Y.log(`loading Web Worker ${w.workerPath} for "${n}"`),this.workerContext=Es(w.workerPath)):(Y.log(`injecting Web Worker for "${n}"`),this.workerContext=mn());const{worker:te}=this.workerContext;te.addEventListener("message",this.onWorkerMessage),te.addEventListener("error",this.onWorkerError),te.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:j,id:n,config:Bn(w)})}catch(te){Y.warn(`Error setting up "${n}" Web Worker, fallback to inline`,te),this.terminateWorker(),this.error=null,this.transmuxer=new wl(this.observer,j,w,"",n,t.logger)}return}}this.transmuxer=new wl(this.observer,j,w,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=Tu++;const n=this.hls.config,s=Vr(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:s,id:this.id,config:Bn(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),Hs(this.hls.config.workerPath)}}destroy(){if(this.workerContext)this.terminateWorker(),this.onWorkerMessage=this.onWorkerError=null;else{const n=this.transmuxer;n&&(n.destroy(),this.transmuxer=null)}const t=this.observer;t&&t.removeAllListeners(),this.frag=null,this.part=null,this.observer=null,this.hls=null}push(t,n,s,m,w,C,j,Y,H,te){var oe,me;H.transmuxing.start=self.performance.now();const{instanceNo:Se,transmuxer:Ae}=this,lt=C?C.start:w.start,et=w.decryptdata,Lt=this.frag,tr=!(Lt&&w.cc===Lt.cc),Kt=!(Lt&&H.level===Lt.level),Cr=Lt?H.sn-Lt.sn:-1,Hr=this.part?H.part-this.part.index:-1,on=Cr===0&&H.id>1&&H.id===(Lt==null?void 0:Lt.stats.chunkCount),zr=!Kt&&(Cr===1||Cr===0&&(Hr===1||on&&Hr<=0)),Yr=self.performance.now();(Kt||Cr||w.stats.parsing.start===0)&&(w.stats.parsing.start=Yr),C&&(Hr||!zr)&&(C.stats.parsing.start=Yr);const rn=!(Lt&&((oe=w.initSegment)==null?void 0:oe.url)===((me=Lt.initSegment)==null?void 0:me.url)),Nr=new zu(tr,zr,Y,Kt,lt,rn);if(!zr||tr||rn){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${w.type} sn: ${H.sn}${H.part>-1?" part: "+H.part:""} ${this.id===u.MAIN?"level":"track"}: ${H.level} id: ${H.id}
discontinuity: ${tr}
trackSwitch: ${Kt}
contiguous: ${zr}
accurateTimeOffset: ${Y}
timeOffset: ${lt}
initSegmentChange: ${rn}`);const Fn=new Ws(s,m,n,j,te);this.configureTransmuxer(Fn)}if(this.frag=w,this.part=C,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Se,cmd:"demux",data:t,decryptdata:et,chunkMeta:H,state:Nr},t instanceof ArrayBuffer?[t]:[]);else if(Ae){const Fn=Ae.push(t,et,H,Nr);ou(Fn)?Fn.then(ai=>{this.handleTransmuxComplete(ai)}).catch(ai=>{this.transmuxerError(ai,H,"transmuxer-interface push error")}):this.handleTransmuxComplete(Fn)}}flush(t){t.transmuxing.start=self.performance.now();const{instanceNo:n,transmuxer:s}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:n,cmd:"flush",chunkMeta:t});else if(s){const m=s.flush(t);ou(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,s){this.hls&&(this.error=t,this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,chunkMeta:n,frag:this.frag||void 0,part:this.part||void 0,fatal:!1,error:t,err:t,reason:s}))}handleFlushResult(t,n){t.forEach(s=>{this.handleTransmuxComplete(s)}),this.onFlush(n)}configureTransmuxer(t){const{instanceNo:n,transmuxer:s}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:n,cmd:"configure",config:t}):s&&s.configure(t)}handleTransmuxComplete(t){t.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(t)}}const Po=100;class $l extends Yi{constructor(t,n,s){super(t,n,s,"audio-stream-controller",u.AUDIO),this.mainAnchor=null,this.mainFragLoading=null,this.audioOnly=!1,this.bufferedTrack=null,this.switchingTrack=null,this.trackId=-1,this.waitingData=null,this.mainDetails=null,this.flushing=!1,this.bufferFlushed=!1,this.cachedTrackLoadedData=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.resetItem()}resetItem(){this.mainDetails=this.mainAnchor=this.mainFragLoading=this.bufferedTrack=this.switchingTrack=this.waitingData=this.cachedTrackLoadedData=null}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(o.BUFFER_RESET,this.onBufferReset,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:t}=this;t&&(super.unregisterListeners(),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(o.BUFFER_RESET,this.onBufferReset,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:w}){if(s===u.MAIN){const C=n.cc,j=this.fragCurrent;if(this.initPTS[C]={baseTime:m,timescale:w},this.log(`InitPTS for cc: ${C} found from main: ${m}/${w}`),this.mainAnchor=n,this.state===er.WAITING_INIT_PTS){const Y=this.waitingData;(!Y&&!this.loadingParts||Y&&Y.frag.cc!==C)&&this.syncWithAnchor(n,Y==null?void 0:Y.frag)}else!this.hls.hasEnoughToStart&&j&&j.cc!==C?(j.abortRequests(),this.syncWithAnchor(n,j)):this.state===er.IDLE&&this.tick()}}getLoadPosition(){return!this.startFragRequested&&this.nextLoadPosition>=0?this.nextLoadPosition:super.getLoadPosition()}syncWithAnchor(t,n){var s;const m=((s=this.mainFragLoading)==null?void 0:s.frag)||null;if(n&&(m==null?void 0:m.cc)===n.cc)return;const w=(m||t).cc,C=this.getLevelDetails(),j=this.getLoadPosition(),Y=Ot(C,w,j);Y&&(this.log(`Syncing with main frag at ${Y.start} cc ${Y.cc}`),this.startFragRequested=!1,this.nextLoadPosition=Y.start,this.resetLoadingState(),this.state===er.IDLE&&this.doTickIdle())}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=er.STOPPED;return}const s=this.lastCurrentTime;this.stopLoad(),this.setInterval(Po),s>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s,this.state=er.IDLE):this.state=er.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case er.IDLE:this.doTickIdle();break;case er.WAITING_TRACK:{const{levels:n,trackId:s}=this,m=n==null?void 0:n[s],w=m==null?void 0:m.details;if(w&&!this.waitForLive(m)){if(this.waitForCdnTuneIn(w))break;this.state=er.WAITING_INIT_PTS}break}case er.FRAG_LOADING_WAITING_RETRY:{var t;const n=performance.now(),s=this.retryDate;if(!s||n>=s||(t=this.media)!=null&&t.seeking){const{levels:m,trackId:w}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((m==null?void 0:m[w])||null),this.state=er.IDLE}break}case er.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:s,part:m,cache:w,complete:C}=n,j=this.mainAnchor;if(this.initPTS[s.cc]!==void 0){this.waitingData=null,this.state=er.FRAG_LOADING;const Y=w.flush().buffer,H={frag:s,part:m,payload:Y,networkDetails:null};this._handleFragmentLoadProgress(H),C&&super._handleFragmentLoadComplete(H)}else j&&j.cc!==n.frag.cc&&this.syncWithAnchor(j,n.frag)}else this.state=er.IDLE}}this.onTickEnd()}resetLoadingState(){const t=this.waitingData;t&&(this.fragmentTracker.removeFragment(t.frag),this.waitingData=null),super.resetLoadingState()}onTickEnd(){const{media:t}=this;t!=null&&t.readyState&&(this.lastCurrentTime=t.currentTime)}doTickIdle(){var t;const{hls:n,levels:s,media:m,trackId:w}=this,C=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!C.startFragPrefetch)||!(s!=null&&s[w]))return;const j=s[w],Y=j.details;if(!Y||this.waitForLive(j)||this.waitForCdnTuneIn(Y)){this.state=er.WAITING_TRACK,this.startFragRequested=!1;return}const H=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&H&&(this.bufferFlushed=!1,this.afterBufferFlushed(H,se.AUDIO,u.AUDIO));const te=this.getFwdBufferInfo(H,u.AUDIO);if(te===null)return;if(!this.switchingTrack&&this._streamEnded(te,Y)){n.trigger(o.BUFFER_EOS,{type:"audio"}),this.state=er.ENDED;return}const oe=te.len,me=n.maxBufferLength,Se=Y.fragments,Ae=Se[0].start,lt=this.getLoadPosition(),et=this.flushing?lt:te.end;if(this.switchingTrack&&m){const Kt=lt;Y.PTSKnown&&Kt<Ae&&(te.end>Ae||te.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=Ae+.05)}if(oe>=me&&!this.switchingTrack&&et<Se[Se.length-1].start)return;let Lt=this.getNextFragment(et,Y);if(Lt&&this.isLoopLoading(Lt,et)&&(Lt=this.getNextFragmentLoopLoading(Lt,Y,te,u.MAIN,me)),!Lt){this.bufferFlushed=!0;return}let tr=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&tr&&Oe(Lt)&&!Lt.endList&&(!Y.live||!this.loadingParts&&et<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(tr)===br.OK&&(this.mainFragLoading=tr=null),tr&&Oe(tr))){if(Lt.start>tr.end){const Cr=this.fragmentTracker.getFragAtPos(et,u.MAIN);Cr&&Cr.end>tr.end&&(tr=Cr,this.mainFragLoading={frag:Cr,targetBufferTime:null})}if(Lt.start>tr.end)return}this.loadFragment(Lt,j,et)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(s=>new _r(s))}onAudioTrackSwitching(t,n){const s=!!n.url;this.trackId=n.id;const{fragCurrent:m}=this;m&&(m.abortRequests(),this.removeUnbufferedFrags(m.start)),this.resetLoadingState(),s?(this.switchingTrack=n,this.flushAudioIfNeeded(n),this.state!==er.STOPPED&&(this.setInterval(Po),this.state=er.IDLE,this.tick())):(this.resetTransmuxer(),this.switchingTrack=null,this.bufferedTrack=n,this.clearInterval())}onManifestLoading(){super.onManifestLoading(),this.bufferFlushed=this.flushing=this.audioOnly=!1,this.resetItem(),this.trackId=-1}onLevelLoaded(t,n){this.mainDetails=n.details;const s=this.cachedTrackLoadedData;s&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(o.AUDIO_TRACK_LOADED,s))}onAudioTrackLoaded(t,n){var s;const{levels:m}=this,{details:w,id:C,groupId:j,track:Y}=n;if(!m){this.warn(`Audio tracks reset while loading track ${C} "${Y.name}" of "${j}"`);return}const H=this.mainDetails;if(!H||w.endCC>H.endCC||H.expired){this.cachedTrackLoadedData=n,this.state!==er.STOPPED&&(this.state=er.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${C} "${Y.name}" of "${j}" loaded [${w.startSN},${w.endSN}]${w.lastPartSn?`[part-${w.lastPartSn}-${w.lastPartIndex}]`:""},duration:${w.totalduration}`);const te=m[C];let oe=0;if(w.live||(s=te.details)!=null&&s.live){if(this.checkLiveUpdate(w),w.deltaUpdateFailed)return;if(te.details){var me;oe=this.alignPlaylists(w,te.details,(me=this.levelLastLoaded)==null?void 0:me.details)}w.alignedSliding||(kn(w,H),w.alignedSliding||vi(w,H),oe=w.fragmentStart)}te.details=w,this.levelLastLoaded=te,this.startFragRequested||this.setStartPosition(H,oe),this.hls.trigger(o.AUDIO_TRACK_UPDATED,{details:w,id:C,groupId:n.groupId}),this.state===er.WAITING_TRACK&&!this.waitForCdnTuneIn(w)&&(this.state=er.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:w}=t,{config:C,trackId:j,levels:Y}=this;if(!Y){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const H=Y[j];if(!H){this.warn("Audio track is undefined on fragment load progress");return}const te=H.details;if(!te){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(s.start);return}const oe=C.defaultAudioCodec||H.audioCodec||"mp4a.40.2";let me=this.transmuxer;me||(me=this.transmuxer=new Oo(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Se=this.initPTS[s.cc],Ae=(n=s.initSegment)==null?void 0:n.data;if(Se!==void 0){const et=m?m.index:-1,Lt=et!==-1,tr=new Ms(s.level,s.sn,s.stats.chunkCount,w.byteLength,et,Lt);me.push(w,Ae,oe,"",s,m,te.totalduration,!1,tr,Se)}else{this.log(`Unknown video PTS for cc ${s.cc}, waiting for video PTS before demuxing audio frag ${s.sn} of [${te.startSN} ,${te.endSN}],track ${j}`);const{cache:lt}=this.waitingData=this.waitingData||{frag:s,part:m,cache:new ua,complete:!1};lt.push(new Uint8Array(w)),this.state!==er.STOPPED&&(this.state=er.WAITING_INIT_PTS)}}_handleFragmentLoadComplete(t){if(this.waitingData){this.waitingData.complete=!0;return}super._handleFragmentLoadComplete(t)}onBufferReset(){this.mediaBuffer=null}onBufferCreated(t,n){this.bufferFlushed=this.flushing=!1;const s=n.tracks.audio;s&&(this.mediaBuffer=s.buffer||null)}onFragLoading(t,n){!this.audioOnly&&n.frag.type===u.MAIN&&Oe(n.frag)&&(this.mainFragLoading=n,this.state===er.IDLE&&this.tick())}onFragBuffered(t,n){const{frag:s,part:m}=n;if(s.type!==u.AUDIO){!this.audioOnly&&s.type===u.MAIN&&!s.elementaryStreams.video&&!s.elementaryStreams.audiovideo&&(this.audioOnly=!0,this.mainFragLoading=null);return}if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(Oe(s)){this.fragPrevious=s;const w=this.switchingTrack;w&&(this.bufferedTrack=w,this.switchingTrack=null,this.hls.trigger(o.AUDIO_TRACK_SWITCHED,b({},w)))}this.fragBufferedComplete(s,m),this.media&&this.tick()}onError(t,n){var s;if(n.fatal){this.state=er.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===er.WAITING_TRACK&&((s=n.context)==null?void 0:s.type)===h.AUDIO_TRACK&&(this.state=er.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)||this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onBufferFlushing(t,{type:n}){n!==se.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==se.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===er.ENDED&&(this.state=er.IDLE);const s=this.mediaBuffer||this.media;s&&(this.afterBufferFlushed(s,n,u.AUDIO),this.tick())}}_handleTransmuxComplete(t){var n;const s="audio",{hls:m}=this,{remuxResult:w,chunkMeta:C}=t,j=this.getCurrentContext(C);if(!j){this.resetWhenMissingContext(C);return}const{frag:Y,part:H,level:te}=j,{details:oe}=te,{audio:me,text:Se,id3:Ae,initSegment:lt}=w;if(this.fragContextChanged(Y)||!oe){this.fragmentTracker.removeFragment(Y);return}if(this.state=er.PARSING,this.switchingTrack&&me&&this.completeAudioSwitch(this.switchingTrack),lt!=null&&lt.tracks){const et=Y.initSegment||Y;this._bufferInitSegment(te,lt.tracks,et,C),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:et,id:s,tracks:lt.tracks})}if(me){const{startPTS:et,endPTS:Lt,startDTS:tr,endDTS:Kt}=me;H&&(H.elementaryStreams[se.AUDIO]={startPTS:et,endPTS:Lt,startDTS:tr,endDTS:Kt}),Y.setElementaryStreamInfo(se.AUDIO,et,Lt,tr,Kt),this.bufferFragmentData(me,Y,H,C)}if(Ae!=null&&(n=Ae.samples)!=null&&n.length){const et=y({id:s,frag:Y,details:oe},Ae);m.trigger(o.FRAG_PARSING_METADATA,et)}if(Se){const et=y({id:s,frag:Y,details:oe},Se);m.trigger(o.FRAG_PARSING_USERDATA,et)}}_bufferInitSegment(t,n,s,m){if(this.state!==er.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const w=n.audio;w.id=u.AUDIO;const C=t.audioCodec;this.log(`Init audio buffer, container:${w.container}, codecs[level/parsed]=[${C}/${w.codec}]`),C&&C.split(",").length===1&&(w.levelCodec=C),this.hls.trigger(o.BUFFER_CODECS,n);const j=w.initSegment;if(j!=null&&j.byteLength){const Y={type:"audio",frag:s,part:null,chunkMeta:m,parent:s.type,data:j};this.hls.trigger(o.BUFFER_APPENDING,Y)}this.tickImmediate()}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===br.NOT_LOADED||m===br.PARTIAL){var w;if(!Oe(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=er.WAITING_INIT_PTS;const C=this.mainDetails;C&&C.fragmentStart!==n.details.fragmentStart&&vi(n.details,C)}else super.loadFragment(t,n,s)}else this.clearTrackerIfNeeded(t)}flushAudioIfNeeded(t){if(this.media&&this.bufferedTrack){const{name:n,lang:s,assocLang:m,characteristics:w,audioCodec:C,channels:j}=this.bufferedTrack;Zn({name:n,lang:s,assocLang:m,characteristics:w,audioCodec:C,channels:j},t,we)||(Wn(t.url,this.hls)?(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null):this.bufferedTrack=t)}}completeAudioSwitch(t){const{hls:n}=this;this.flushAudioIfNeeded(t),this.bufferedTrack=t,this.switchingTrack=null,n.trigger(o.AUDIO_TRACK_SWITCHED,b({},t))}}class Ko 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,s){const m=n==null?void 0:n.renditionReports;if(m){let w=-1;for(let C=0;C<m.length;C++){const j=m[C];let Y;try{Y=new self.URL(j.URI,n.url).href}catch(H){this.warn(`Could not construct new URL for Rendition Report: ${H}`),Y=j.URI||""}if(Y===t){w=C;break}else Y===t.substring(0,Y.length)&&(w=C)}if(w!==-1){const C=m[w],j=parseInt(C["LAST-MSN"])||(n==null?void 0:n.lastPartSn);let Y=parseInt(C["LAST-PART"])||(n==null?void 0:n.lastPartIndex);if(this.hls.config.lowLatencyMode){const te=Math.min(n.age-n.partTarget,n.targetduration);Y>=0&&te>n.partTarget&&(Y+=1)}const H=s&&dn(s);return new jn(j,Y>=0?Y:void 0,H)}}}loadPlaylist(t){this.clearTimer()}loadingPlaylist(t,n){this.clearTimer()}shouldLoadPlaylist(t){return this.canLoad&&!!t&&!!t.url&&(!t.details||t.details.live)}getUrlWithDirectives(t,n){if(n)try{return n.addDirectives(t)}catch(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}return t}playlistLoaded(t,n,s){const{details:m,stats:w}=n,C=self.performance.now(),j=w.loading.first?Math.max(0,C-w.loading.first):0;m.advancedDateTime=Date.now()-j;const Y=this.hls.config.timelineOffset;if(Y!==m.appliedTimelineOffset){const te=Math.max(Y||0,0);m.appliedTimelineOffset=te,m.fragments.forEach(oe=>{oe.start=oe.playlistOffset+te})}if(m.live||s!=null&&s.live){const te="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(s),s&&m.fragments.length>0){fr(s,m);const tr=m.playlistParsingError;if(tr){this.warn(tr);const Kt=this.hls;if(!Kt.config.ignorePlaylistParsingErrors){var H;const{networkDetails:Cr}=n;Kt.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:tr,reason:tr.message,level:n.level||void 0,parent:(H=m.fragments[0])==null?void 0:H.type,networkDetails:Cr,stats:w});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=w.loading.start);const oe=this.hls.mainForwardBufferInfo,me=oe?oe.end-oe.len:0,Se=(m.edge-me)*1e3,Ae=In(m,Se);if(m.requestScheduled+Ae<C?m.requestScheduled=C:m.requestScheduled+=Ae,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let lt,et,Lt;if(m.canBlockReload&&m.endSN&&m.advanced){const tr=this.hls.config.lowLatencyMode,Kt=m.lastPartSn,Cr=m.endSN,Hr=m.lastPartIndex,on=Hr!==-1,zr=Kt===Cr;on?zr?(et=Cr+1,Lt=tr?0:Hr):(et=Kt,Lt=tr?Hr+1:m.maxPartIndex):et=Cr+1;const Yr=m.age,rn=Yr+m.ageHeader;let Nr=Math.min(rn-m.partTarget,m.targetduration*1.5);if(Nr>0){if(rn>m.targetduration*3)this.log(`Playlist last advanced ${Yr.toFixed(2)}s ago. Omitting segment and part directives.`),et=void 0,Lt=void 0;else if(s!=null&&s.tuneInGoal&&rn-m.partTarget>s.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${s.tuneInGoal} to: ${Nr} with playlist age: ${m.age}`),Nr=0;else{const Fn=Math.floor(Nr/m.targetduration);if(et+=Fn,Lt!==void 0){const ai=Math.round(Nr%m.targetduration/m.partTarget);Lt+=ai}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${Yr.toFixed(2)}s goal: ${Nr} skip sn ${Fn} to part ${Lt}`)}m.tuneInGoal=Nr}if(lt=this.getDeliveryDirectives(m,n.deliveryDirectives,et,Lt),tr||!zr){m.requestScheduled=C,this.loadingPlaylist(te,lt);return}}else(m.canBlockReload||m.canSkipUntil)&&(lt=this.getDeliveryDirectives(m,n.deliveryDirectives,et,Lt));lt&&et!==void 0&&m.canBlockReload&&(m.requestScheduled=w.loading.first+Math.max(Ae-j*2,Ae/2)),this.scheduleLoading(te,lt,m)}else this.clearTimer()}scheduleLoading(t,n,s){const m=s||t.details;if(!m){this.loadingPlaylist(t,n);return}const w=self.performance.now(),C=m.requestScheduled;if(w>=C){this.loadingPlaylist(t,n);return}const j=C-w;this.log(`reload live playlist ${t.name||t.bitrate+"bps"} in ${Math.round(j)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(t,n),j)}getDeliveryDirectives(t,n,s,m){let w=dn(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(s=n.msn,m=n.part,w=Mr.No),new jn(s,m,w)}checkRetry(t){const n=t.details,s=dt(t),m=t.errorAction,{action:w,retryCount:C=0,retryConfig:j}=m||{},Y=!!m&&!!j&&(w===Je.RetryRequest||!m.resolved&&w===Je.SendAlternateToPenaltyBox);if(Y){var H;if(C>=j.maxNumRetry)return!1;if(s&&(H=t.context)!=null&&H.deliveryDirectives)this.warn(`Retrying playlist loading ${C+1}/${j.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const te=cr(j,C);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),te),this.warn(`Retrying playlist loading ${C+1}/${j.maxNumRetry} after "${n}" in ${te}ms`)}t.levelRetry=!0,m.resolved=!0}return Y}}function El(E,t){if(E.length!==t.length)return!1;for(let n=0;n<E.length;n++)if(!js(E[n].attrs,t[n].attrs))return!1;return!0}function js(E,t,n){const s=E["STABLE-RENDITION-ID"];return s&&!n?s===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>E[m]!==t[m])}function Ho(E,t){return t.label.toLowerCase()===E.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(E.lang||"").toLowerCase())}class Zu extends Ko{constructor(t){super(t,"audio-track-controller"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(o.ERROR,this.onError,this)}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,super.destroy()}onManifestLoading(){this.tracks=[],this.tracksInGroup=[],this.groupIds=null,this.currentTrack=null,this.trackId=-1,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.audioTracks||[]}onAudioTrackLoaded(t,n){const{id:s,groupId:m,details:w}=n,C=this.tracksInGroup[s];if(!C||C.groupId!==m){this.warn(`Audio track with id:${s} and group:${m} not found in active group ${C==null?void 0:C.groupId}`);return}const j=C.details;C.details=n.details,this.log(`Audio track ${s} "${C.name}" lang:${C.lang} group:${m} loaded [${w.startSN}-${w.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,j)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const s=n.audioGroups||null,m=this.groupIds;let w=this.currentTrack;if(!s||(m==null?void 0:m.length)!==(s==null?void 0:s.length)||s!=null&&s.some(j=>(m==null?void 0:m.indexOf(j))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const j=this.tracks.filter(me=>!s||s.indexOf(me.groupId)!==-1);if(j.length)this.selectDefaultTrack&&!j.some(me=>me.default)&&(this.selectDefaultTrack=!1),j.forEach((me,Se)=>{me.id=Se});else if(!w&&!this.tracksInGroup.length)return;this.tracksInGroup=j;const Y=this.hls.config.audioPreference;if(!w&&Y){const me=Ki(Y,j,we);if(me>-1)w=j[me];else{const Se=Ki(Y,this.tracks);w=this.tracks[Se]}}let H=this.findTrackId(w);H===-1&&w&&(H=this.findTrackId(null));const te={audioTracks:j};this.log(`Updating audio tracks, ${j.length} track(s) found in group(s): ${s==null?void 0:s.join(",")}`),this.hls.trigger(o.AUDIO_TRACKS_UPDATED,te);const oe=this.trackId;if(H!==-1&&oe===-1)this.setAudioTrack(H);else if(j.length&&oe===-1){var C;const me=new Error(`No audio track selected for current audio group-ID(s): ${(C=this.groupIds)==null?void 0:C.join(",")} track count: ${j.length}`);this.warn(me.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:me})}}}onError(t,n){n.fatal||!n.context||n.context.type===h.AUDIO_TRACK&&n.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(n.context.groupId)!==-1)&&this.checkRetry(n)}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(t){this.selectDefaultTrack=!1,this.setAudioTrack(t)}setAudioOption(t){const n=this.hls;if(n.config.audioPreference=t,t){const s=this.allAudioTracks;if(this.selectDefaultTrack=!1,s.length){const m=this.currentTrack;if(m&&Zn(t,m,we))return m;const w=Ki(t,this.tracksInGroup,we);if(w>-1){const C=this.tracksInGroup[w];return this.setAudioTrack(w),C}else if(m){let C=n.loadLevel;C===-1&&(C=n.firstAutoLevel);const j=Nn(t,n.levels,s,C,we);if(j===-1)return null;n.nextLoadLevel=j}if(t.channels||t.audioCodec){const C=Ki(t,s);if(C>-1)return s[C]}}}return null}setAudioTrack(t){const n=this.tracksInGroup;if(t<0||t>=n.length){this.warn(`Invalid audio track id: ${t}`);return}this.selectDefaultTrack=!1;const s=this.currentTrack,m=n[t],w=m.details&&!m.details.live;if(t===this.trackId&&m===s&&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(o.AUDIO_TRACK_SWITCHING,b({},m)),w))return;const C=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(C)}findTrackId(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(!(this.selectDefaultTrack&&!m.default)&&(!t||Zn(t,m,we)))return s}if(t){const{name:s,lang:m,assocLang:w,characteristics:C,audioCodec:j,channels:Y}=t;for(let H=0;H<n.length;H++){const te=n[H];if(Zn({name:s,lang:m,assocLang:w,characteristics:C,audioCodec:j,channels:Y},te,we))return H}for(let H=0;H<n.length;H++){const te=n[H];if(js(t.attrs,te.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return H}for(let H=0;H<n.length;H++){const te=n[H];if(js(t.attrs,te.attrs,["LANGUAGE"]))return H}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&Wn(n.url,this.hls)&&this.scheduleLoading(n,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=t.id,m=t.groupId,w=this.getUrlWithDirectives(t.url,n),C=t.details,j=C==null?void 0:C.age;this.log(`Loading audio-track ${s} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${j&&C.live?" age "+j.toFixed(1)+(C.type?" "+C.type||0:""):""} ${w}`),this.hls.trigger(o.AUDIO_TRACK_LOADING,{url:w,id:s,groupId:m,deliveryDirectives:n||null,track:t})}}class jl{constructor(t){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=t}destroy(){this.tracks=this.queues=null}append(t,n,s){if(this.queues===null||this.tracks===null)return;const m=this.queues[n];m.push(t),m.length===1&&!s&&this.executeNext(n)}appendBlocker(t){return new Promise(n=>{const s={label:"async-blocker",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(s,t)})}prependBlocker(t){return new Promise(n=>{if(this.queues){const s={label:"async-blocker-prepend",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[t].unshift(s)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(t=>{var n;const s=(n=t[0])==null?void 0:n.label;(s==="async-blocker"||s==="async-blocker-prepend")&&(t[0].execute(),t.splice(0,1))})}unblockAudio(t){if(this.queues===null)return;this.queues.audio[0]===t&&this.shiftAndExecuteNext("audio")}executeNext(t){if(this.queues===null||this.tracks===null)return;const n=this.queues[t];if(n.length){const m=n[0];try{m.execute()}catch(w){var s;if(m.onError(w),this.queues===null||this.tracks===null)return;const C=(s=this.tracks[t])==null?void 0:s.buffer;C!=null&&C.updating||this.shiftAndExecuteNext(t)}}}shiftAndExecuteNext(t){this.queues!==null&&(this.queues[t].shift(),this.executeNext(t))}current(t){var n;return((n=this.queues)==null?void 0:n[t][0])||null}toString(){const{queues:t,tracks:n}=this;return t===null||n===null?"<destroyed>":`
${this.list("video")}
${this.list("audio")}
${this.list("audiovideo")}}`}list(t){var n,s;return(n=this.queues)!=null&&n[t]||(s=this.tracks)!=null&&s[t]?`${t}: (${this.listSbInfo(t)}) ${this.listOps(t)}`:""}listSbInfo(t){var n;const s=(n=this.tracks)==null?void 0:n[t],m=s==null?void 0:s.buffer;return m?`SourceBuffer${m.updating?" updating":""}${s.ended?" ended":""}${s.ending?" ending":""}`:"none"}listOps(t){var n;return((n=this.queues)==null?void 0:n[t].map(s=>s.label).join(", "))||""}}const Cu=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,uc="HlsJsTrackRemovedError";class Ul extends Error{constructor(t){super(t),this.name=uc}}class Sl 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=s=>{var m;this.hls&&((m=this.mediaSource)==null?void 0:m.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=s=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=s=>{const{media:m,mediaSource:w}=this;s&&this.log("Media source opened"),!(!m||!w)&&(w.removeEventListener("sourceopen",this._onMediaSourceOpen),m.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(o.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:s,_objectUrl:m}=this;s!==m&&this.error(`Media element src was set while attaching MediaSource (${m} > ${s})`)},this.hls=t,this.fragmentTracker=n,this.appendSource=ae(ne(t.config.preferManagedMediaSource)),this.initTracks(),this.registerListeners()}hasSourceTypes(){return Object.keys(this.tracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.transferData=this.overrides=void 0,this.operationQueue&&(this.operationQueue.destroy(),this.operationQueue=null),this.hls=this.fragmentTracker=null,this._onMediaSourceOpen=this._onMediaSourceClose=null,this._onMediaSourceEnded=null,this._onStartStreaming=this._onEndStreaming=null}registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.BUFFER_RESET,this.onBufferReset,this),t.on(o.BUFFER_APPENDING,this.onBufferAppending,this),t.on(o.BUFFER_CODECS,this.onBufferCodecs,this),t.on(o.BUFFER_EOS,this.onBufferEos,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.FRAG_PARSED,this.onFragParsed,this),t.on(o.FRAG_CHANGED,this.onFragChanged,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.BUFFER_RESET,this.onBufferReset,this),t.off(o.BUFFER_APPENDING,this.onBufferAppending,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_EOS,this.onBufferEos,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.FRAG_PARSED,this.onFragParsed,this),t.off(o.FRAG_CHANGED,this.onFragChanged,this),t.off(o.ERROR,this.onError,this)}transferMedia(){const{media:t,mediaSource:n}=this;if(!t)return null;const s={};if(this.operationQueue){const w=this.isUpdating();w||this.operationQueue.removeBlockers();const C=this.isQueued();(w||C)&&this.warn(`Transfering MediaSource with${C?" operations in queue":""}${w?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const m=this.transferData;return!this.sourceBufferCount&&m&&m.mediaSource===n?y(s,m.tracks):this.sourceBuffers.forEach(w=>{const[C]=w;C&&(s[C]=y({},this.tracks[C]),this.removeBuffer(C)),w[0]=w[1]=null}),{media:t,mediaSource:n,tracks:s}}initTracks(){const t={};this.sourceBuffers=[[null,null],[null,null]],this.tracks=t,this.resetQueue(),this.resetAppendErrors(),this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.lastVideoAppendEnd=0}onManifestLoading(){this.bufferCodecEventsTotal=0,this.details=null}onManifestParsed(t,n){var s;let m=2;(n.audio&&!n.video||!n.altAudio)&&(m=1),this.bufferCodecEventsTotal=m,this.log(`${m} bufferCodec event(s) expected.`),(s=this.transferData)!=null&&s.mediaSource&&this.sourceBufferCount&&m&&this.bufferCreated()}onMediaAttaching(t,n){const s=this.media=n.media,m=ne(this.appendSource);if(this.transferData=this.overrides=void 0,s&&m){const w=!!n.mediaSource;(w||n.overrides)&&(this.transferData=n,this.overrides=n.overrides);const C=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(C),w)this._objectUrl=s.src,this.attachTransferred();else{const j=this._objectUrl=self.URL.createObjectURL(C);if(this.appendSource)try{s.removeAttribute("src");const Y=self.ManagedMediaSource;s.disableRemotePlayback=s.disableRemotePlayback||Y&&C instanceof Y,lc(s),no(s,j),s.load()}catch(Y){s.src=j}else s.src=j}s.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(t){var n,s;this.log(`${((n=this.transferData)==null?void 0:n.mediaSource)===t?"transferred":"created"} media source: ${(s=t.constructor)==null?void 0:s.name}`),t.addEventListener("sourceopen",this._onMediaSourceOpen),t.addEventListener("sourceended",this._onMediaSourceEnded),t.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(t.addEventListener("startstreaming",this._onStartStreaming),t.addEventListener("endstreaming",this._onEndStreaming))}attachTransferred(){const t=this.media,n=this.transferData;if(!n||!t)return;const s=this.tracks,m=n.tracks,w=m?Object.keys(m):null,C=w?w.length:0,j=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(m&&w&&C){if(!this.tracksReady){this.hls.config.startFragPrefetch=!0,this.log("attachTransferred: waiting for SourceBuffer track info");return}if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})
required tracks: ${Bn(s,(Y,H)=>Y==="initSegment"?void 0:H)};
transfer tracks: ${Bn(m,(Y,H)=>Y==="initSegment"?void 0:H)}}`),!le(m,s)){n.mediaSource=null,n.tracks=void 0;const Y=t.currentTime,H=this.details,te=Math.max(Y,(H==null?void 0:H.fragments[0].start)||0);if(te-Y>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${Y} -> ${te}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(s)}") start time: ${te} currentTime: ${Y}`),this.onMediaDetaching(o.MEDIA_DETACHING,{}),this.onMediaAttaching(o.MEDIA_ATTACHING,n),t.currentTime=te;return}this.transferData=void 0,w.forEach(Y=>{const H=Y,te=m[H];if(te){const oe=te.buffer;if(oe){const me=this.fragmentTracker,Se=te.id;if(me.hasFragments(Se)||me.hasParts(Se)){const et=yn.getBuffered(oe);me.detectEvictedFragments(H,et,Se,null,!0)}const Ae=zl(H),lt=[H,oe];this.sourceBuffers[Ae]=lt,oe.updating&&this.operationQueue&&this.operationQueue.prependBlocker(H),this.trackSourceBuffer(H,te)}}}),j(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),j()}get mediaSourceOpenOrEnded(){var t;const n=(t=this.mediaSource)==null?void 0:t.readyState;return n==="open"||n==="ended"}onMediaDetaching(t,n){const s=!!n.transferMedia;this.transferData=this.overrides=void 0;const{media:m,mediaSource:w,_objectUrl:C}=this;if(w){if(this.log(`media source ${s?"transferring":"detaching"}`),s)this.sourceBuffers.forEach(([j])=>{j&&this.removeBuffer(j)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const j=w.readyState==="open";try{const Y=w.sourceBuffers;for(let H=Y.length;H--;)j&&Y[H].abort(),w.removeSourceBuffer(Y[H]);j&&w.endOfStream()}catch(Y){this.warn(`onMediaDetaching: ${Y.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),s||(C&&self.URL.revokeObjectURL(C),this.mediaSrc===C?(m.removeAttribute("src"),this.appendSource&&lc(m),m.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(o.MEDIA_DETACHED,n)}onBufferReset(){this.sourceBuffers.forEach(([t])=>{t&&this.resetBuffer(t)}),this.initTracks()}resetBuffer(t){var n;const s=(n=this.tracks[t])==null?void 0:n.buffer;if(this.removeBuffer(t),s)try{var m;(m=this.mediaSource)!=null&&m.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(s)}catch(w){this.warn(`onBufferReset ${t}`,w)}delete this.tracks[t]}removeBuffer(t){this.removeBufferListeners(t),this.sourceBuffers[zl(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new jl(this.tracks)}onBufferCodecs(t,n){const s=this.tracks,m=Object.keys(n);this.log(`BUFFER_CODECS: "${m}" (current SB count ${this.sourceBufferCount})`);const w="audiovideo"in n&&(s.audio||s.video)||s.audiovideo&&("audio"in n||"video"in n),C=!w&&this.sourceBufferCount&&this.media&&m.some(j=>!s[j]);if(w||C){this.warn(`Unsupported transition between "${Object.keys(s)}" and "${m}" SourceBuffers`);return}m.forEach(j=>{var Y,H,te;const oe=n[j],{id:me,codec:Se,levelCodec:Ae,container:lt,metadata:et,supplemental:Lt}=oe;let tr=s[j];const Kt=(Y=this.transferData)==null||(H=Y.tracks)==null?void 0:H[j],Cr=Kt!=null&&Kt.buffer?Kt:tr,Hr=(Cr==null?void 0:Cr.pendingCodec)||(Cr==null?void 0:Cr.codec),on=Cr==null?void 0:Cr.levelCodec;tr||(tr=s[j]={buffer:void 0,listeners:[],codec:Se,supplemental:Lt,container:lt,levelCodec:Ae,metadata:et,id:me});const zr=Be(Hr,on),Yr=zr==null?void 0:zr.replace(Cu,"$1");let rn=Be(Se,Ae);const Nr=(te=rn)==null?void 0:te.replace(Cu,"$1");rn&&zr&&Yr!==Nr&&(j.slice(0,5)==="audio"&&(rn=vt(rn,this.appendSource)),this.log(`switching codec ${Hr} to ${rn}`),rn!==(tr.pendingCodec||tr.codec)&&(tr.pendingCodec=rn),tr.container=lt,this.appendChangeType(j,lt,rn))}),(this.tracksReady||this.sourceBufferCount)&&(n.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&this.mediaSourceOpenOrEnded&&this.checkPendingTracks()}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((t,n)=>{const s=this.tracks[n];return t[n]={id:s.id,container:s.container,codec:s.codec,levelCodec:s.levelCodec},t},{})}appendChangeType(t,n,s){const m=`${n};codecs=${s}`,w={label:`change-type=${m}`,execute:()=>{const C=this.tracks[t];if(C){const j=C.buffer;j!=null&&j.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),j.changeType(m),C.codec=s,C.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:C=>{this.warn(`Failed to change ${t} SourceBuffer type`,C)}};this.append(w,t,this.isPending(this.tracks[t]))}blockAudio(t){var n;const s=t.start,m=s+t.duration*.05;if(((n=this.fragmentTracker.getAppendedFrag(s,u.MAIN))==null?void 0:n.gap)===!0)return;const C={label:"block-audio",execute:()=>{var j;const Y=this.tracks.video;(this.lastVideoAppendEnd>m||Y!=null&&Y.buffer&&yn.isBuffered(Y.buffer,m)||((j=this.fragmentTracker.getAppendedFrag(m,u.MAIN))==null?void 0:j.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:j=>{this.warn("Error executing block-audio operation",j)}};this.blockedAudioAppend={op:C,frag:t},this.append(C,"audio",!0)}unblockAudio(){const{blockedAudioAppend:t,operationQueue:n}=this;t&&n&&(this.blockedAudioAppend=null,n.unblockAudio(t.op))}onBufferAppending(t,n){const{tracks:s}=this,{data:m,type:w,parent:C,frag:j,part:Y,chunkMeta:H,offset:te}=n,oe=H.buffering[w],{sn:me,cc:Se}=j,Ae=self.performance.now();oe.start=Ae;const lt=j.stats.buffering,et=Y?Y.stats.buffering:null;lt.start===0&&(lt.start=Ae),et&&et.start===0&&(et.start=Ae);const Lt=s.audio;let tr=!1;w==="audio"&&(Lt==null?void 0:Lt.container)==="audio/mpeg"&&(tr=!this.lastMpegAudioChunk||H.id===1||this.lastMpegAudioChunk.sn!==H.sn,this.lastMpegAudioChunk=H);const Kt=s.video,Cr=Kt==null?void 0:Kt.buffer;if(Cr&&me!=="initSegment"){const zr=Y||j,Yr=this.blockedAudioAppend;if(w==="audio"&&C!=="main"&&!this.blockedAudioAppend){const Nr=zr.start+zr.duration*.05,Fn=Cr.buffered,ai=this.currentOp("video");!Fn.length&&!ai?this.blockAudio(zr):!ai&&!yn.isBuffered(Cr,Nr)&&this.lastVideoAppendEnd<Nr&&this.blockAudio(zr)}else if(w==="video"){const rn=zr.end;if(Yr){const Nr=Yr.frag.start;(rn>Nr||rn<this.lastVideoAppendEnd||yn.isBuffered(Cr,Nr))&&this.unblockAudio()}this.lastVideoAppendEnd=rn}}const Hr=(Y||j).start,on={label:`append-${w}`,execute:()=>{var zr;oe.executeStart=self.performance.now();const Yr=(zr=this.tracks[w])==null?void 0:zr.buffer;Yr&&(tr?this.updateTimestampOffset(Yr,Hr,.1,w,me,Se):te!==void 0&&r(te)&&this.updateTimestampOffset(Yr,te,1e-6,w,me,Se)),this.appendExecutor(m,w)},onStart:()=>{},onComplete:()=>{const zr=self.performance.now();oe.executeEnd=oe.end=zr,lt.first===0&&(lt.first=zr),et&&et.first===0&&(et.first=zr);const Yr={};this.sourceBuffers.forEach(([rn,Nr])=>{rn&&(Yr[rn]=yn.getBuffered(Nr))}),this.appendErrors[w]=0,w==="audio"||w==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(o.BUFFER_APPENDED,{type:w,frag:j,part:Y,chunkMeta:H,parent:j.type,timeRanges:Yr})},onError:zr=>{var Yr;const rn={type:c.MEDIA_ERROR,parent:j.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:w,frag:j,part:Y,chunkMeta:H,error:zr,err:zr,fatal:!1},Nr=(Yr=this.media)==null?void 0:Yr.error;if(zr.code===DOMException.QUOTA_EXCEEDED_ERR||zr.name=="QuotaExceededError"||"quota"in zr)rn.details=f.BUFFER_FULL_ERROR;else if(zr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!Nr)rn.errorAction=ir(!0);else if(zr.name===uc&&this.sourceBufferCount===0)rn.errorAction=ir(!0);else{const Fn=++this.appendErrors[w];this.warn(`Failed ${Fn}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${w}" sourceBuffer (${Nr||"no media error"})`),(Fn>=this.hls.config.appendErrorMaxRetry||Nr)&&(rn.fatal=!0)}this.hls.trigger(o.ERROR,rn)}};this.append(on,w,this.isPending(this.tracks[w]))}getFlushOp(t,n,s){return this.log(`queuing "${t}" remove ${n}-${s}`),{label:"remove",execute:()=>{this.removeExecutor(t,n,s)},onStart:()=>{},onComplete:()=>{this.hls.trigger(o.BUFFER_FLUSHED,{type:t})},onError:m=>{this.warn(`Failed to remove ${n}-${s} from "${t}" SourceBuffer`,m)}}}onBufferFlushing(t,n){const{type:s,startOffset:m,endOffset:w}=n;s?this.append(this.getFlushOp(s,m,w),s):this.sourceBuffers.forEach(([C])=>{C&&this.append(this.getFlushOp(C,m,w),C)})}onFragParsed(t,n){const{frag:s,part:m}=n,w=[],C=m?m.elementaryStreams:s.elementaryStreams;C[se.AUDIOVIDEO]?w.push("audiovideo"):(C[se.AUDIO]&&w.push("audio"),C[se.VIDEO]&&w.push("video"));const j=()=>{const Y=self.performance.now();s.stats.buffering.end=Y,m&&(m.stats.buffering.end=Y);const H=m?m.stats:s.stats;this.hls.trigger(o.FRAG_BUFFERED,{frag:s,part:m,stats:H,id:s.type})};w.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${s.type} level: ${s.level} sn: ${s.sn}`),this.blockBuffers(j,w).catch(Y=>{this.warn(`Fragment buffered callback ${Y}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{var n,s;return t&&(!((n=this.tracks[t])!=null&&n.ended)||((s=this.tracks[t])==null?void 0:s.ending))})}onBufferEos(t,n){var s;this.sourceBuffers.forEach(([C])=>{if(C){const j=this.tracks[C];(!n.type||n.type===C)&&(j.ending=!0,j.ended||(j.ended=!0,this.log(`${C} buffer reached EOS`)))}});const m=((s=this.overrides)==null?void 0:s.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([C])=>{var j;return C&&!((j=this.tracks[C])!=null&&j.ended)})&&(m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:C}=this;if(!C||C.readyState!=="open"){C&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${C.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),C.endOfStream(),this.hls.trigger(o.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(o.BUFFERED_TO_END,void 0)))}tracksEnded(){this.sourceBuffers.forEach(([t])=>{if(t!==null){const n=this.tracks[t];n&&(n.ending=!1)}})}onLevelUpdated(t,{details:n}){n.fragments.length&&(this.details=n,this.updateDuration())}updateDuration(){this.blockUntilOpen(()=>{const t=this.getDurationAndRange();t&&this.updateMediaSource(t)})}onError(t,n){if(n.details===f.BUFFER_APPEND_ERROR&&n.frag){var s;const m=(s=n.errorAction)==null?void 0:s.nextAutoLevel;r(m)&&m!==n.frag.level&&this.resetAppendErrors()}}resetAppendErrors(){this.appendErrors={audio:0,video:0,audiovideo:0}}trimBuffers(){const{hls:t,details:n,media:s}=this;if(!s||n===null||!this.sourceBufferCount)return;const m=t.config,w=s.currentTime,C=n.levelTargetDuration,j=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(j)&&j>=0){const Y=Math.max(j,C),H=Math.floor(w/C)*C-Y;this.flushBackBuffer(w,C,H)}if(r(m.frontBufferFlushThreshold)&&m.frontBufferFlushThreshold>0){const Y=Math.max(m.maxBufferLength,m.frontBufferFlushThreshold),H=Math.max(Y,C),te=Math.floor(w/C)*C+H;this.flushFrontBuffer(w,C,te)}}flushBackBuffer(t,n,s){this.sourceBuffers.forEach(([m,w])=>{if(w){const j=yn.getBuffered(w);if(j.length>0&&s>j.start(0)){var C;this.hls.trigger(o.BACK_BUFFER_REACHED,{bufferEnd:s});const Y=this.tracks[m];if((C=this.details)!=null&&C.live)this.hls.trigger(o.LIVE_BACK_BUFFER_REACHED,{bufferEnd:s});else if(Y!=null&&Y.ended){this.log(`Cannot flush ${m} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:s,type:m})}}})}flushFrontBuffer(t,n,s){this.sourceBuffers.forEach(([m,w])=>{if(w){const C=yn.getBuffered(w),j=C.length;if(j<2)return;const Y=C.start(j-1),H=C.end(j-1);if(s>Y||t>=Y&&t<=H)return;this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:Y,endOffset:1/0,type:m})}})}getDurationAndRange(){var t;const{details:n,mediaSource:s}=this;if(!n||!this.media||(s==null?void 0:s.readyState)!=="open")return null;const m=n.edge;if(n.live&&this.hls.config.liveDurationInfinity){if(n.fragments.length&&n.live&&s.setLiveSeekableRange){const H=Math.max(0,n.fragmentStart),te=Math.max(H,m);return{duration:1/0,start:H,end:te}}return{duration:1/0}}const w=(t=this.overrides)==null?void 0:t.duration;if(w)return r(w)?{duration:w}:null;const C=this.media.duration,j=r(s.duration)?s.duration:0;return m>j&&m>C||!r(C)?{duration:m}:null}updateMediaSource({duration:t,start:n,end:s}){const m=this.mediaSource;!this.media||!m||m.readyState!=="open"||(m.duration!==t&&(r(t)&&this.log(`Updating MediaSource duration to ${t.toFixed(3)}`),m.duration=t),n!==void 0&&s!==void 0&&(this.log(`MediaSource duration is set to ${m.duration}. Setting seekable range to ${n}-${s}.`),m.setLiveSeekableRange(n,s)))}get tracksReady(){const t=this.pendingTrackCount;return t>0&&(t>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:t,pendingTrackCount:n,tracks:s}=this;if(this.log(`checkPendingTracks (pending: ${n} codec events expected: ${t}) ${Bn(s)}`),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,s])=>{if(n){const m=this.tracks[n];t[n]={buffer:s,container:m.container,codec:m.codec,supplemental:m.supplemental,levelCodec:m.levelCodec,id:m.id,metadata:m.metadata}}}),this.hls.trigger(o.BUFFER_CREATED,{tracks:t}),this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`),this.sourceBuffers.forEach(([n])=>{this.executeNext(n)})}else{const t=new Error("could not create source buffer for media codec(s)");this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:t,reason:t.message})}}createSourceBuffers(){const{tracks:t,sourceBuffers:n,mediaSource:s}=this;if(!s)throw new Error("createSourceBuffers called when mediaSource was null");for(const w in t){const C=w,j=t[C];if(this.isPending(j)){const Y=this.getTrackCodec(j,C),H=`${j.container};codecs=${Y}`;j.codec=Y,this.log(`creating sourceBuffer(${H})${this.currentOp(C)?" Queued":""} ${Bn(j)}`);try{const te=s.addSourceBuffer(H),oe=zl(C),me=[C,te];n[oe]=me,j.buffer=te}catch(te){var m;this.error(`error while trying to add sourceBuffer: ${te.message}`),this.shiftAndExecuteNext(C),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[C],this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:te,sourceBufferName:C,mimeType:H,parent:j.id});return}this.trackSourceBuffer(C,j)}}this.bufferCreated()}getTrackCodec(t,n){const s=t.supplemental;let m=t.codec;s&&(n==="video"||n==="audiovideo")&&De(s,"video")&&(m=Ft(m,s));const w=Be(m,t.levelCodec);return w?n.slice(0,5)==="audio"?vt(w,this.appendSource):w:""}trackSourceBuffer(t,n){const s=n.buffer;if(!s)return;const m=this.getTrackCodec(n,t);this.tracks[t]={buffer:s,codec:m,container:n.container,levelCodec:n.levelCodec,supplemental:n.supplemental,metadata:n.metadata,id:n.id,listeners:[]},this.removeBufferListeners(t),this.addBufferListener(t,"updatestart",this.onSBUpdateStart),this.addBufferListener(t,"updateend",this.onSBUpdateEnd),this.addBufferListener(t,"error",this.onSBUpdateError),this.appendSource&&this.addBufferListener(t,"bufferedchange",(w,C)=>{const j=C.removedRanges;j!=null&&j.length&&this.hls.trigger(o.BUFFER_FLUSHED,{type:w})})}get mediaSrc(){var t,n;const s=((t=this.media)==null||(n=t.querySelector)==null?void 0:n.call(t,"source"))||this.media;return s==null?void 0:s.src}onSBUpdateStart(t){const n=this.currentOp(t);n&&n.onStart()}onSBUpdateEnd(t){var n;if(((n=this.mediaSource)==null?void 0:n.readyState)==="closed"){this.resetBuffer(t);return}const s=this.currentOp(t);s&&(s.onComplete(),this.shiftAndExecuteNext(t))}onSBUpdateError(t,n){var s;const m=new Error(`${t} SourceBuffer error. MediaSource readyState: ${(s=this.mediaSource)==null?void 0:s.readyState}`);this.error(`${m}`,n),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_APPENDING_ERROR,sourceBufferName:t,error:m,fatal:!1});const w=this.currentOp(t);w&&w.onError(m)}updateTimestampOffset(t,n,s,m,w,C){const j=n-t.timestampOffset;Math.abs(j)>=s&&(this.log(`Updating ${m} SourceBuffer timestampOffset to ${n} (sn: ${w} cc: ${C})`),t.timestampOffset=n)}removeExecutor(t,n,s){const{media:m,mediaSource:w}=this,C=this.tracks[t],j=C==null?void 0:C.buffer;if(!m||!w||!j){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const Y=r(m.duration)?m.duration:1/0,H=r(w.duration)?w.duration:1/0,te=Math.max(0,n),oe=Math.min(s,Y,H);oe>te&&(!C.ending||C.ended)?(C.ended=!1,this.log(`Removing [${te},${oe}] from the ${t} SourceBuffer`),j.remove(te,oe)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const s=this.tracks[n],m=s==null?void 0:s.buffer;if(!m)throw new Ul(`Attempting to append to the ${n} SourceBuffer, but it does not exist`);s.ending=!1,s.ended=!1,m.appendBuffer(t)}blockUntilOpen(t){if(this.isUpdating()||this.isQueued())this.blockBuffers(t).catch(n=>{this.warn(`SourceBuffer blocked callback ${n}`),this.stepOperationQueue(this.sourceBufferTypes)});else try{t()}catch(n){this.warn(`Callback run without blocking ${this.operationQueue} ${n}`)}}isUpdating(){return this.sourceBuffers.some(([t,n])=>t&&n.updating)}isQueued(){return this.sourceBuffers.some(([t])=>t&&!!this.currentOp(t))}isPending(t){return!!t&&!t.buffer}blockBuffers(t,n=this.sourceBufferTypes){if(!n.length)return this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(t);const{operationQueue:s}=this,m=n.map(C=>this.appendBlocker(C));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(C=>{s===this.operationQueue&&(t(),this.stepOperationQueue(this.sourceBufferTypes))})}stepOperationQueue(t){t.forEach(n=>{var s;const m=(s=this.tracks[n])==null?void 0:s.buffer;!m||m.updating||this.shiftAndExecuteNext(n)})}append(t,n,s){this.operationQueue&&this.operationQueue.append(t,n,s)}appendBlocker(t){if(this.operationQueue)return this.operationQueue.appendBlocker(t)}currentOp(t){return this.operationQueue?this.operationQueue.current(t):null}executeNext(t){t&&this.operationQueue&&this.operationQueue.executeNext(t)}shiftAndExecuteNext(t){this.operationQueue&&this.operationQueue.shiftAndExecuteNext(t)}get pendingTrackCount(){return Object.keys(this.tracks).reduce((t,n)=>t+(this.isPending(this.tracks[n])?1:0),0)}get sourceBufferCount(){return this.sourceBuffers.reduce((t,[n])=>t+(n?1:0),0)}get sourceBufferTypes(){return this.sourceBuffers.map(([t])=>t).filter(t=>!!t)}addBufferListener(t,n,s){const m=this.tracks[t];if(!m)return;const w=m.buffer;if(!w)return;const C=s.bind(this,t);m.listeners.push({event:n,listener:C}),w.addEventListener(n,C)}removeBufferListeners(t){const n=this.tracks[t];if(!n)return;const s=n.buffer;s&&(n.listeners.forEach(m=>{s.removeEventListener(m.event,m.listener)}),n.listeners.length=0)}}function lc(E){const t=E.querySelectorAll("source");[].slice.call(t).forEach(n=>{E.removeChild(n)})}function no(E,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,E.appendChild(n)}function zl(E){return E==="audio"?1:0}class ru{constructor(t){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=t,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(t){this.streamController=t}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:t}=this;t.on(o.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.BUFFER_CODECS,this.onBufferCodecs,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:t}=this;t.off(o.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(t,n){const s=this.hls.levels[n.droppedLevel];this.isLevelAllowed(s)&&this.restrictedLevels.push({bitrate:s.bitrate,height:s.height,width:s.width})}onMediaAttaching(t,n){this.media=n.media instanceof HTMLVideoElement?n.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(t,n){const s=this.hls;this.restrictedLevels=[],this.firstLevel=n.firstLevel,s.config.capLevelToPlayerSize&&n.video&&this.startCapping()}onLevelsUpdated(t,n){this.timer&&r(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(t,n){this.hls.config.capLevelToPlayerSize&&n.video&&this.startCapping()}onMediaDetaching(){this.stopCapping(),this.media=null}detectPlayerSize(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0){this.clientRect=null;return}const t=this.hls.levels;if(t.length){const n=this.hls,s=this.getMaxLevel(t.length-1);s!==this.autoLevelCapping&&n.logger.log(`Setting autoLevelCapping to ${s}: ${t[s].height}p@${t[s].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),n.autoLevelCapping=s,n.autoLevelEnabled&&n.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=n.autoLevelCapping}}}getMaxLevel(t){const n=this.hls.levels;if(!n.length)return-1;const s=n.filter((m,w)=>this.isLevelAllowed(m)&&w<=t);return this.clientRect=null,ru.getMaxLevelByMediaSize(s,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const t=this.media,n={width:0,height:0};if(t){const s=t.getBoundingClientRect();n.width=s.width,n.height=s.height,!n.width&&!n.height&&(n.width=s.right-s.left||t.width||0,n.height=s.bottom-s.top||t.height||0)}return this.clientRect=n,n}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let t=1;if(!this.hls.config.ignoreDevicePixelRatio)try{t=self.devicePixelRatio}catch(n){}return Math.min(t,this.hls.config.maxDevicePixelRatio)}isLevelAllowed(t){return!this.restrictedLevels.some(s=>t.bitrate===s.bitrate&&t.width===s.width&&t.height===s.height)}static getMaxLevelByMediaSize(t,n,s){if(!(t!=null&&t.length))return-1;const m=(j,Y)=>Y?j.width!==Y.width||j.height!==Y.height:!0;let w=t.length-1;const C=Math.max(n,s);for(let j=0;j<t.length;j+=1){const Y=t[j];if((Y.width>=C||Y.height>=C)&&m(Y,t[j+1])){w=j;break}}return w}}const Us={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},Uc={HLS:"h"},wu={OBJECT:"CMCD-Object",REQUEST:"CMCD-Request",SESSION:"CMCD-Session",STATUS:"CMCD-Status"},Ec={[wu.OBJECT]:["br","ab","d","ot","tb","tpb","lb","tab","lab","url"],[wu.REQUEST]:["pb","bl","tbl","dl","ltc","mtp","nor","nrr","rc","sn","sta","su","ttfb","ttfbb","ttlb","cmsdd","cmsds","smrt","df","cs"],[wu.SESSION]:["cid","pr","sf","sid","st","v","msd"],[wu.STATUS]:["bs","bsd","cdn","rtp","bg","pt","ec","e"]};class Eu{constructor(t,n){Array.isArray(t)&&(t=t.map(s=>s instanceof Eu?s:new Eu(s))),this.value=t,this.params=n}}const mu="Dict";function Al(E){return Array.isArray(E)?JSON.stringify(E):E instanceof Map?"Map{}":E instanceof Set?"Set{}":typeof E=="object"?JSON.stringify(E):String(E)}function Fa(E,t,n,s){return new Error(`failed to ${E} "${Al(t)}" as ${n}`,{cause:s})}function As(E,t,n){return Fa("serialize",E,t,n)}class Wo{constructor(t){this.description=t}}const Zl="Bare Item",Hl="Boolean";function nu(E){if(typeof E!="boolean")throw As(E,Hl);return E?"?1":"?0"}function Sc(E){return btoa(String.fromCharCode(...E))}const Hc="Byte Sequence";function Hu(E){if(ArrayBuffer.isView(E)===!1)throw As(E,Hc);return`:${Sc(E)}:`}const Pu="Integer";function Iu(E){return E<-999999999999999||999999999999999<E}function Wl(E){if(Iu(E))throw As(E,Pu);return E.toString()}function Tl(E){return`@${Wl(E.getTime()/1e3)}`}function Pa(E,t){if(E<0)return-Pa(-E,t);const n=Math.pow(10,t);if(Math.abs(E*n%1-.5)<Number.EPSILON){const m=Math.floor(E*n);return(m%2===0?m:m+1)/n}else return Math.round(E*n)/n}const ef="Decimal";function tf(E){const t=Pa(E,3);if(Math.floor(Math.abs(t)).toString().length>12)throw As(E,ef);const n=t.toString();return n.includes(".")?n:`${n}.0`}const Wu="String",Gu=/[\x00-\x1f\x7f]+/;function Ef(E){if(Gu.test(E))throw As(E,Wu);return`"${E.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Ac(E){return E.description||E.toString().slice(7,-1)}const uu="Token";function cc(E){const t=Ac(E);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw As(t,uu);return t}function Cl(E){switch(typeof E){case"number":if(!r(E))throw As(E,Zl);return Number.isInteger(E)?Wl(E):tf(E);case"string":return Ef(E);case"symbol":return cc(E);case"boolean":return nu(E);case"object":if(E instanceof Date)return Tl(E);if(E instanceof Uint8Array)return Hu(E);if(E instanceof Wo)return cc(E);default:throw As(E,Zl)}}const Gl="Key";function Vl(E){if(/^[a-z*][a-z0-9\-_.*]*$/.test(E)===!1)throw As(E,Gl);return E}function Kl(E){return E==null?"":Object.entries(E).map(([t,n])=>n===!0?`;${Vl(t)}`:`;${Vl(t)}=${Cl(n)}`).join("")}function lu(E){return E instanceof Eu?`${Cl(E.value)}${Kl(E.params)}`:Cl(E)}function Vu(E){return`(${E.value.map(lu).join(" ")})${Kl(E.params)}`}function fc(E,t={whitespace:!0}){if(typeof E!="object")throw As(E,mu);const n=E instanceof Map?E.entries():Object.entries(E),s=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,w])=>{w instanceof Eu||(w=new Eu(w));let C=Vl(m);return w.value===!0?C+=Kl(w.params):(C+="=",Array.isArray(w.value)?C+=Vu(w):C+=lu(w)),C}).join(`,${s}`)}function Wc(E,t){return fc(E,t)}function Tc(E){return["ot","sf","st","e","sta"].includes(E)}function Cc(E){return typeof E=="number"?r(E):E!=null&&E!==""&&E!==!1}function Yl(E,t){const n=new URL(E),s=new URL(t);if(n.origin!==s.origin)return E;const m=n.pathname.split("/").slice(1),w=s.pathname.split("/").slice(1,-1);for(;m[0]===w[0];)m.shift(),w.shift();for(;w.length;)w.shift(),m.unshift("..");return m.join("/")}const dc=E=>Math.round(E),Pc=(E,t)=>(t!=null&&t.baseUrl&&(E=Yl(E,t.baseUrl)),encodeURIComponent(E)),ql=E=>dc(E/100)*100,dl={br:dc,d:dc,bl:ql,dl:ql,mtp:ql,nor:Pc,rtp:ql,tb:dc};function Su(E,t){const n={};if(E==null||typeof E!="object")return n;const s=Object.keys(E).sort(),m=y({},dl,t==null?void 0:t.formatters),w=t==null?void 0:t.filter;return s.forEach(C=>{if((w==null?void 0:w(C))===!1)return;let j=E[C];const Y=m[C];Y&&(j=Y(j,t)),!(C==="v"&&j===1)&&(C=="pr"&&j===1||Cc(j)&&(Tc(C)&&typeof j=="string"&&(j=new Wo(j)),n[C]=j))}),n}function Ts(E,t={}){return E?Wc(Su(E,t),y({whitespace:!1},t)):""}function Gc(E,t={}){const n={};if(!E)return n;const s=Object.entries(E),m=Object.entries(Ec).concat(Object.entries((t==null?void 0:t.customHeaderMap)||{})),w=s.reduce((C,j)=>{var Y,H;const[te,oe]=j,me=((Y=m.find(Se=>Se[1].includes(te)))===null||Y===void 0?void 0:Y[0])||wu.REQUEST;return(H=C[me])!==null&&H!==void 0||(C[me]={}),C[me][te]=oe,C},{});return Object.entries(w).reduce((C,[j,Y])=>(C[j]=Ts(Y,t),C),n)}function rf(E,t,n){return y(E,Gc(t,n))}const Ic="CMCD";function io(E,t={}){if(!E)return"";const n=Ts(E,t);return`${Ic}=${encodeURIComponent(n)}`}const Xl=/CMCD=[^&#]+/;function ko(E,t,n){const s=io(t,n);if(!s)return E;if(Xl.test(E))return E.replace(Xl,s);const m=E.includes("?")?"&":"?";return`${E}${m}${s}`}class Ql{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:Us.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:C}=m,j=this.hls.levels[w.level],Y=this.getObjectType(w),H={d:(C||w).duration*1e3,ot:Y};(Y===Us.VIDEO||Y===Us.AUDIO||Y==Us.MUXED)&&(H.br=j.bitrate/1e3,H.tb=this.getTopBandwidth(Y)/1e3,H.bl=this.getBufferLength(Y));const te=C?this.getNextPart(C):this.getNextFrag(w);te!=null&&te.url&&te.url!==w.url&&(H.nor=te.url),this.apply(m,H)}catch(w){this.hls.logger.warn("Could not generate segment CMCD data.",w)}},this.hls=t;const n=this.config=t.config,{cmcd:s}=n;s!=null&&(n.pLoader=this.createPlaylistLoader(),n.fLoader=this.createFragmentLoader(),this.sid=s.sessionId||t.sessionId,this.cid=s.contentId,this.useHeaders=s.useHeaders===!0,this.includeKeys=s.includeKeys,this.registerListeners())}registerListeners(){const t=this.hls;t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHED,this.onMediaDetached,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const t=this.hls;t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHED,this.onMediaDetached,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=this.media=null}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(t,n){var s,m;this.audioBuffer=(s=n.tracks.audio)==null?void 0:s.buffer,this.videoBuffer=(m=n.tracks.video)==null?void 0:m.buffer}createData(){var t;return{v:1,sf:Uc.HLS,sid:this.sid,cid:this.cid,pr:(t=this.media)==null?void 0:t.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(t,n={}){y(n,this.createData());const s=n.ot===Us.INIT||n.ot===Us.VIDEO||n.ot===Us.MUXED;this.starved&&s&&(n.bs=!0,n.su=!0,this.starved=!1),n.su==null&&(n.su=this.buffering);const{includeKeys:m}=this;m&&(n=Object.keys(n).reduce((C,j)=>(m.includes(j)&&(C[j]=n[j]),C),{}));const w={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),rf(t.headers,n,w)):t.url=ko(t.url,n,w)}getNextFrag(t){var n;const s=(n=this.hls.levels[t.level])==null?void 0:n.details;if(s){const m=t.sn-s.startSN;return s.fragments[m+1]}}getNextPart(t){var n,s;const{index:m,fragment:w}=t,C=(n=this.hls.levels[w.level])==null||(s=n.details)==null?void 0:s.partList;if(C){const{sn:j}=w;for(let Y=C.length-1;Y>=0;Y--){const H=C[Y];if(H.index===m&&H.fragment.sn===j)return C[Y+1]}}}getObjectType(t){const{type:n}=t;if(n==="subtitle")return Us.TIMED_TEXT;if(t.sn==="initSegment")return Us.INIT;if(n==="audio")return Us.AUDIO;if(n==="main")return this.hls.audioTracks.length?Us.VIDEO:Us.MUXED}getTopBandwidth(t){let n=0,s;const m=this.hls;if(t===Us.AUDIO)s=m.audioTracks;else{const w=m.maxAutoLevel,C=w>-1?w+1:m.levels.length;s=m.levels.slice(0,C)}return s.forEach(w=>{w.bitrate>n&&(n=w.bitrate)}),n>0?n:NaN}getBufferLength(t){const n=this.media,s=t===Us.AUDIO?this.audioBuffer:this.videoBuffer;return!s||!n?NaN:yn.bufferInfo(s,n.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:t}=this.config,n=this.applyPlaylistData,s=t||this.config.loader;return class{constructor(w){this.loader=void 0,this.loader=new s(w)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(w,C,j){n(w),this.loader.load(w,C,j)}}}createFragmentLoader(){const{fLoader:t}=this.config,n=this.applyFragmentData,s=t||this.config.loader;return class{constructor(w){this.loader=void 0,this.loader=new s(w)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(w,C,j){n(w),this.loader.load(w,C,j)}}}}const ke=3e5;class Pl 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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const t=this.hls;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.ERROR,this.onError,this))}pathways(){return(this.levels||[]).reduce((t,n)=>(t.indexOf(n.pathwayId)===-1&&t.push(n.pathwayId),t),[])}get pathwayPriority(){return this._pathwayPriority}set pathwayPriority(t){this.updatePathwayPriority(t)}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const t=this.timeToLoad*1e3-(performance.now()-this.updated);if(t>0){this.scheduleRefresh(this.uri,t);return}}this.loadSteeringManifest(this.uri)}}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()}clearTimeout(){this.reloadTimer!==-1&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(t){const n=this.levels;n&&(this.levels=n.filter(s=>s!==t))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(t,n){const{contentSteering:s}=n;s!==null&&(this.pathwayId=s.pathwayId,this.uri=s.uri,this.started&&this.startLoad())}onManifestParsed(t,n){this.audioTracks=n.audioTracks,this.subtitleTracks=n.subtitleTracks}onError(t,n){const{errorAction:s}=n;if((s==null?void 0:s.action)===Je.SendAlternateToPenaltyBox&&s.flags===Ee.MoveAllAlternatesMatchingHost){const m=this.levels;let w=this._pathwayPriority,C=this.pathwayId;if(n.context){const{groupId:j,pathwayId:Y,type:H}=n.context;j&&m?C=this.getPathwayForGroupId(j,H,C):Y&&(C=Y)}C in this.penalizedPathways||(this.penalizedPathways[C]=performance.now()),!w&&m&&(w=this.pathways()),w&&w.length>1&&(this.updatePathwayPriority(w),s.resolved=this.pathwayId!==C),n.details===f.BUFFER_APPEND_ERROR&&!n.fatal?s.resolved=!0:s.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${C} levels: ${m&&m.length} priorities: ${Bn(w)} penalized: ${Bn(this.penalizedPathways)}`)}}filterParsedLevels(t){this.levels=t;let n=this.getLevelsForPathway(this.pathwayId);if(n.length===0){const s=t[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${s}"`),n=this.getLevelsForPathway(s),this.pathwayId=s}return n.length!==t.length&&this.log(`Found ${n.length}/${t.length} levels in Pathway "${this.pathwayId}"`),n}getLevelsForPathway(t){return this.levels===null?[]:this.levels.filter(n=>t===n.pathwayId)}updatePathwayPriority(t){this._pathwayPriority=t;let n;const s=this.penalizedPathways,m=performance.now();Object.keys(s).forEach(w=>{m-s[w]>ke&&delete s[w]});for(let w=0;w<t.length;w++){const C=t[w];if(C in s)continue;if(C===this.pathwayId)return;const j=this.hls.nextLoadLevel,Y=this.hls.levels[j];if(n=this.getLevelsForPathway(C),n.length>0){this.log(`Setting Pathway to "${C}"`),this.pathwayId=C,Rr(n),this.hls.trigger(o.LEVELS_UPDATED,{levels:n});const H=this.hls.levels[j];Y&&H&&this.levels&&(H.attrs["STABLE-VARIANT-ID"]!==Y.attrs["STABLE-VARIANT-ID"]&&H.bitrate!==Y.bitrate&&this.log(`Unstable Pathways change from bitrate ${Y.bitrate} to ${H.bitrate}`),this.hls.nextLoadLevel=j);break}}}getPathwayForGroupId(t,n,s){const m=this.getLevelsForPathway(s).concat(this.levels||[]);for(let 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 s}clonePathways(t){const n=this.levels;if(!n)return;const s={},m={};t.forEach(w=>{const{ID:C,"BASE-ID":j,"URI-REPLACEMENT":Y}=w;if(n.some(te=>te.pathwayId===C))return;const H=this.getLevelsForPathway(j).map(te=>{const oe=new Ji(te.attrs);oe["PATHWAY-ID"]=C;const me=oe.AUDIO&&`${oe.AUDIO}_clone_${C}`,Se=oe.SUBTITLES&&`${oe.SUBTITLES}_clone_${C}`;me&&(s[oe.AUDIO]=me,oe.AUDIO=me),Se&&(m[oe.SUBTITLES]=Se,oe.SUBTITLES=Se);const Ae=Il(te.uri,oe["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",Y),lt=new _r({attrs:oe,audioCodec:te.audioCodec,bitrate:te.bitrate,height:te.height,name:te.name,url:Ae,videoCodec:te.videoCodec,width:te.width});if(te.audioGroups)for(let et=1;et<te.audioGroups.length;et++)lt.addGroupId("audio",`${te.audioGroups[et]}_clone_${C}`);if(te.subtitleGroups)for(let et=1;et<te.subtitleGroups.length;et++)lt.addGroupId("text",`${te.subtitleGroups[et]}_clone_${C}`);return lt});n.push(...H),bo(this.audioTracks,s,Y,C),bo(this.subtitleTracks,m,Y,C)})}loadSteeringManifest(t){const n=this.hls.config,s=n.loader;this.loader&&this.loader.destroy(),this.loader=new s(n);let m;try{m=new self.URL(t)}catch(te){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const te=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+te)}const w={responseType:"json",url:m.href},C=n.steeringManifestLoadPolicy.default,j=C.errorRetry||C.timeoutRetry||{},Y={loadPolicy:C,timeout:C.maxLoadTimeMs,maxRetry:j.maxNumRetry||0,retryDelay:j.retryDelayMs||0,maxRetryDelay:j.maxRetryDelayMs||0},H={onSuccess:(te,oe,me,Se)=>{this.log(`Loaded steering manifest: "${m}"`);const Ae=te.data;if((Ae==null?void 0:Ae.VERSION)!==1){this.log(`Steering VERSION ${Ae.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Ae.TTL;const{"RELOAD-URI":lt,"PATHWAY-CLONES":et,"PATHWAY-PRIORITY":Lt}=Ae;if(lt)try{this.uri=new self.URL(lt,m).href}catch(Kt){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${lt}`);return}this.scheduleRefresh(this.uri||me.url),et&&this.clonePathways(et);const tr={steeringManifest:Ae,url:m.toString()};this.hls.trigger(o.STEERING_MANIFEST_LOADED,tr),Lt&&this.updatePathwayPriority(Lt)},onError:(te,oe,me,Se)=>{if(this.log(`Error loading steering manifest: ${te.code} ${te.text} (${oe.url})`),this.stopLoad(),te.code===410){this.enabled=!1,this.log(`Steering manifest ${oe.url} no longer available`);return}let Ae=this.timeToLoad*1e3;if(te.code===429){const lt=this.loader;if(typeof(lt==null?void 0:lt.getResponseHeader)=="function"){const et=lt.getResponseHeader("Retry-After");et&&(Ae=parseFloat(et)*1e3)}this.log(`Steering manifest ${oe.url} rate limited`);return}this.scheduleRefresh(this.uri||oe.url,Ae)},onTimeout:(te,oe,me)=>{this.log(`Timeout loading steering manifest (${oe.url})`),this.scheduleRefresh(this.uri||oe.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(w,Y,H)}scheduleRefresh(t,n=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var s;const m=(s=this.hls)==null?void 0:s.media;if(m&&!m.ended){this.loadSteeringManifest(t);return}this.scheduleRefresh(t,this.timeToLoad*1e3)},n)}}function bo(E,t,n,s){E&&Object.keys(t).forEach(m=>{const w=E.filter(C=>C.groupId===m).map(C=>{const j=y({},C);return j.details=void 0,j.attrs=new Ji(j.attrs),j.url=j.attrs.URI=Il(C.url,C.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),j.groupId=j.attrs["GROUP-ID"]=t[m],j.attrs["PATHWAY-ID"]=s,j});E.push(...w)})}function Il(E,t,n,s){const{HOST:m,PARAMS:w,[n]:C}=s;let j;t&&(j=C==null?void 0:C[t],j&&(E=j));const Y=new self.URL(E);return m&&!j&&(Y.host=m),w&&Object.keys(w).sort().forEach(H=>{H&&Y.searchParams.set(H,w[H])}),Y.href}function Os(E,t,n){_o(E,t,n),E.addEventListener(t,n)}function _o(E,t,n){E.removeEventListener(t,n)}class vu 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.mediaKeys=null,this.setMediaKeysQueue=vu.CDMCleanupPromise?[vu.CDMCleanupPromise]:[],this.onWaitingForKey=n=>{this.log(`"${n.type}" event`)},this.hls=t,this.config=t.config,this.registerListeners()}destroy(){this.onDestroying(),this.onMediaDetached();const t=this.config;t.requestMediaKeySystemAccessFunc=null,t.licenseXhrSetup=t.licenseResponseCallback=void 0,t.drmSystems=t.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onWaitingForKey=null}registerListeners(){this.hls.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(o.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(o.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.on(o.DESTROYING,this.onDestroying,this)}unregisterListeners(){this.hls.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(o.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(o.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.off(o.DESTROYING,this.onDestroying,this)}getLicenseServerUrl(t){const{drmSystems:n,widevineLicenseUrl:s}=this.config,m=n[t];if(m)return m.licenseUrl;if(t===wa.WIDEVINE&&s)return s}getLicenseServerUrlOrThrow(t){const n=this.getLicenseServerUrl(t);if(n===void 0)throw new Error(`no license server URL configured for key-system "${t}"`);return n}getServerCertificateUrl(t){const{drmSystems:n}=this.config,s=n[t];if(s)return s.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${t}"]`)}attemptKeySystemAccess(t){const n=this.hls.levels,s=(C,j,Y)=>!!C&&Y.indexOf(C)===j,m=n.map(C=>C.audioCodec).filter(s),w=n.map(C=>C.videoCodec).filter(s);return m.length+w.length===0&&w.push("avc1.42e01e"),new Promise((C,j)=>{const Y=H=>{const te=H.shift();this.getMediaKeysPromise(te,m,w).then(oe=>C({keySystem:te,mediaKeys:oe})).catch(oe=>{H.length?Y(H):oe instanceof Ro?j(oe):j(new Ro({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:oe,fatal:!0},oe.message))})};Y(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:s}=this.config;if(typeof s!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${s}`;return $o===null&&self.location.protocol==="http:"&&(m=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(m))}return s(t,n)}getMediaKeysPromise(t,n,s){const m=oi(t,n,s,this.config.drmSystemOptions),w=this.keySystemAccessPromises[t];let C=w==null?void 0:w.keySystemAccess;if(!C){this.log(`Requesting encrypted media "${t}" key-system access with config: ${Bn(m)}`),C=this.requestMediaKeySystemAccess(t,m);const j=this.keySystemAccessPromises[t]={keySystemAccess:C};return C.catch(Y=>{this.log(`Failed to obtain access to key-system "${t}": ${Y}`)}),C.then(Y=>{this.log(`Access for key-system "${Y.keySystem}" obtained`);const H=this.fetchServerCertificate(t);return this.log(`Create media-keys for "${t}"`),j.mediaKeys=Y.createMediaKeys().then(te=>(this.log(`Media-keys created for "${t}"`),j.hasMediaKeys=!0,H.then(oe=>oe?this.setMediaKeysServerCertificate(te,t,oe):te))),j.mediaKeys.catch(te=>{this.error(`Failed to create media-keys for "${t}"}: ${te}`)}),j.mediaKeys})}return C.then(()=>w.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:s}){this.log(`Creating key-system session "${n}" keyId: ${J.hexDump(t.keyId||[])}`);const m=s.createSession(),w={decryptdata:t,keySystem:n,mediaKeys:s,mediaKeysSession:m,keyStatus:"status-pending"};return this.mediaKeySessions.push(w),w}renewKeySession(t){const n=t.decryptdata;if(n.pssh){const s=this.createMediaKeySessionContext(t),m=this.getKeyIdString(n),w="cenc";this.keyIdToKeySessionPromise[m]=this.generateRequestWithPreferredKeySession(s,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 s;const m=t.mediaKeysSession;return this.log(`Updating key-session "${m.sessionId}" for keyID ${J.hexDump(((s=t.decryptdata)==null?void 0:s.keyId)||[])}
} (data length: ${n&&n.byteLength})`),m.update(n)}getSelectedKeySystemFormats(){return Object.keys(this.keySystemAccessPromises).map(t=>({keySystem:t,hasMediaKeys:this.keySystemAccessPromises[t].hasMediaKeys})).filter(({hasMediaKeys:t})=>!!t).map(({keySystem:t})=>Do(t)).filter(t=>!!t)}getKeySystemAccess(t){return this.getKeySystemSelectionPromise(t).then(({keySystem:n,mediaKeys:s})=>this.attemptSetMediaKeys(n,s))}selectKeySystem(t){return new Promise((n,s)=>this.getKeySystemSelectionPromise(t).then(({keySystem:m})=>{const w=Do(m);w?n(w):s(new Error(`Unable to find format for key-system "${m}"`))}).catch(s))}selectKeySystemFormat(t){const n=Object.keys(t.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${t.sn} ${t.type}: ${t.level}) key formats ${n.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(n)),this.keyFormatPromise}getKeyFormatPromise(t){const n=go(this.config),s=t.map(vo).filter(m=>!!m&&n.indexOf(m)!==-1);return this.selectKeySystem(s)}loadKey(t){const n=t.keyInfo.decryptdata,s=this.getKeyIdString(n),m=`(keyId: ${s} format: "${n.keyFormat}" method: ${n.method} uri: ${n.uri})`;this.log(`Starting session for key ${m}`);let w=this.keyIdToKeySessionPromise[s];return w||(w=this.getKeySystemForKeyPromise(n).then(({keySystem:j,mediaKeys:Y})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${m}`),this.attemptSetMediaKeys(j,Y).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:j,mediaKeys:Y,decryptdata:n}))))),(this.keyIdToKeySessionPromise[s]=w.then(j=>{const Y="cenc",H=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(j,Y,H,"playlist-key")})).catch(j=>this.handleError(j))),w}throwIfDestroyed(t="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(t){this.hls&&(this.error(t.message),t instanceof Ro?this.hls.trigger(o.ERROR,t.data):this.hls.trigger(o.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,error:t,fatal:!0}))}getKeySystemForKeyPromise(t){const n=this.getKeyIdString(t),s=this.keyIdToKeySessionPromise[n];if(!s){const m=vo(t.keyFormat),w=m?[m]:go(this.config);return this.attemptKeySystemAccess(w)}return s}getKeySystemSelectionPromise(t){if(t.length||(t=go(this.config)),t.length===0)throw new Ro({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${Bn({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(t)}attemptSetMediaKeys(t,n){if(this.mediaKeys===n)return Promise.resolve();const s=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${t}"`);const m=Promise.all(s).then(()=>{if(!this.media)throw this.mediaKeys=null,new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(n)});return this.mediaKeys=n,this.setMediaKeysQueue.push(m),m.then(()=>{this.log(`Media-keys set for "${t}"`),s.push(m),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(w=>s.indexOf(w)===-1)})}generateRequestWithPreferredKeySession(t,n,s,m){var w,C;const j=(w=this.config.drmSystems)==null||(C=w[t.keySystem])==null?void 0:C.generateRequest;if(j)try{const Ae=j.call(this.hls,n,s,t);if(!Ae)throw new Error("Invalid response from configured generateRequest filter");n=Ae.initDataType,s=Ae.initData?Ae.initData:null,t.decryptdata.pssh=s?new Uint8Array(s):null}catch(Ae){var Y;if(this.warn(Ae.message),(Y=this.hls)!=null&&Y.config.debug)throw Ae}if(s===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const H=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${m}": ${H} (init data type: ${n} length: ${s?s.byteLength:null})`);const te=new Va,oe=t._onmessage=Ae=>{const lt=t.mediaKeysSession;if(!lt){te.emit("error",new Error("invalid state"));return}const{messageType:et,message:Lt}=Ae;this.log(`"${et}" message event for session "${lt.sessionId}" message size: ${Lt.byteLength}`),et==="license-request"||et==="license-renewal"?this.renewLicense(t,Lt).catch(tr=>{te.eventNames().length?te.emit("error",tr):this.handleError(tr)}):et==="license-release"?t.keySystem===wa.FAIRPLAY&&(this.updateKeySession(t,os("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${et}"`)},me=t._onkeystatuseschange=Ae=>{if(!t.mediaKeysSession){te.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const et=t.keyStatus;te.emit("keyStatus",et),et==="expired"&&(this.warn(`${t.keySystem} expired for key ${H}`),this.renewKeySession(t))};Os(t.mediaKeysSession,"message",oe),Os(t.mediaKeysSession,"keystatuseschange",me);const Se=new Promise((Ae,lt)=>{te.on("error",lt),te.on("keyStatus",et=>{et.startsWith("usable")?Ae():et==="output-restricted"?lt(new Ro({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):et==="internal-error"?lt(new Ro({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${et}"`)):et==="expired"?lt(new Error("key expired while generating request")):this.warn(`unhandled key status change "${et}"`)})});return t.mediaKeysSession.generateRequest(n,s).then(()=>{var Ae;this.log(`Request generated for key-session "${(Ae=t.mediaKeysSession)==null?void 0:Ae.sessionId}" keyId: ${H}`)}).catch(Ae=>{throw new Ro({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Ae,fatal:!1},`Error generating key-session request: ${Ae}`)}).then(()=>Se).catch(Ae=>{throw te.removeAllListeners(),this.removeSession(t),Ae}).then(()=>(te.removeAllListeners(),t))}onKeyStatusChange(t){t.mediaKeysSession.keyStatuses.forEach((n,s)=>{if(typeof s=="string"&&typeof n=="object"){const m=s;s=n,n=m}this.log(`key status change "${n}" for keyStatuses keyId: ${J.hexDump("buffer"in s?new Uint8Array(s.buffer,s.byteOffset,s.byteLength):new Uint8Array(s))} session keyId: ${J.hexDump(new Uint8Array(t.decryptdata.keyId||[]))} uri: ${t.decryptdata.uri}`),t.keyStatus=n})}fetchServerCertificate(t){const n=this.config,s=n.loader,m=new s(n),w=this.getServerCertificateUrl(t);return w?(this.log(`Fetching server certificate for "${t}"`),new Promise((C,j)=>{const Y={responseType:"arraybuffer",url:w},H=n.certLoadPolicy.default,te={loadPolicy:H,timeout:H.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},oe={onSuccess:(me,Se,Ae,lt)=>{C(me.data)},onError:(me,Se,Ae,lt)=>{j(new Ro({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Ae,response:b({url:Y.url,data:void 0},me)},`"${t}" certificate request failed (${w}). Status: ${me.code} (${me.text})`))},onTimeout:(me,Se,Ae)=>{j(new Ro({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Ae,response:{url:Y.url,data:void 0}},`"${t}" certificate request timed out (${w})`))},onAbort:(me,Se,Ae)=>{j(new Error("aborted"))}};m.load(Y,te,oe)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,s){return new Promise((m,w)=>{t.setServerCertificate(s).then(C=>{this.log(`setServerCertificate ${C?"success":"not supported by CDM"} (${s==null?void 0:s.byteLength}) on "${n}"`),m(t)}).catch(C=>{w(new Ro({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:C,fatal:!0},C.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(s=>this.updateKeySession(t,new Uint8Array(s)).catch(m=>{throw new Ro({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:m,fatal:!0},m.message)}))}unpackPlayReadyKeyMessage(t,n){const s=String.fromCharCode.apply(null,new Uint16Array(n.buffer));if(!s.includes("PlayReadyKeyMessage"))return t.setRequestHeader("Content-Type","text/xml; charset=utf-8"),n;const m=new DOMParser().parseFromString(s,"application/xml"),w=m.querySelectorAll("HttpHeader");if(w.length>0){let te;for(let oe=0,me=w.length;oe<me;oe++){var C,j;te=w[oe];const Se=(C=te.querySelector("name"))==null?void 0:C.textContent,Ae=(j=te.querySelector("value"))==null?void 0:j.textContent;Se&&Ae&&t.setRequestHeader(Se,Ae)}}const Y=m.querySelector("Challenge"),H=Y==null?void 0:Y.textContent;if(!H)throw new Error("Cannot find <Challenge> in key message");return os(atob(H))}setupLicenseXHR(t,n,s,m){const w=this.config.licenseXhrSetup;return w?Promise.resolve().then(()=>{if(!s.decryptdata)throw new Error("Key removed");return w.call(this.hls,t,n,s,m)}).catch(C=>{if(!s.decryptdata)throw C;return t.open("POST",n,!0),w.call(this.hls,t,n,s,m)}).then(C=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:C||m})):(t.open("POST",n,!0),Promise.resolve({xhr:t,licenseChallenge:m}))}requestLicense(t,n){const s=this.config.keyLoadPolicy.default;return new Promise((m,w)=>{const C=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${C}`);const j=new XMLHttpRequest;j.responseType="arraybuffer",j.onreadystatechange=()=>{if(!this.hls||!t.mediaKeysSession)return w(new Error("invalid state"));if(j.readyState===4)if(j.status===200){this._requestLicenseFailureCount=0;let Y=j.response;this.log(`License received ${Y instanceof ArrayBuffer?Y.byteLength:Y}`);const H=this.config.licenseResponseCallback;if(H)try{Y=H.call(this.hls,j,C,t)}catch(te){this.error(te)}m(Y)}else{const Y=s.errorRetry,H=Y?Y.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>H||j.status>=400&&j.status<500)w(new Ro({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:j,response:{url:C,data:void 0,code:j.status,text:j.statusText}},`License Request XHR failed (${C}). Status: ${j.status} (${j.statusText})`));else{const te=H-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${te} attempts left`),this.requestLicense(t,n).then(m,w)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=j,this.setupLicenseXHR(j,C,t,n).then(({xhr:Y,licenseChallenge:H})=>{t.keySystem==wa.PLAYREADY&&(H=this.unpackPlayReadyKeyMessage(Y,H)),Y.send(H)})})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const s=n.media;this.media=s,Os(s,"waitingforkey",this.onWaitingForKey)}onMediaDetached(){const t=this.media;t&&(_o(t,"waitingforkey",this.onWaitingForKey),this.media=null,this.mediaKeys=null)}_clear(){var t;if(this._requestLicenseFailureCount=0,this.keyIdToKeySessionPromise={},!this.mediaKeys&&!this.mediaKeySessions.length)return;const n=this.media,s=this.mediaKeySessions.slice();this.mediaKeySessions=[],this.mediaKeys=null,uo.clearKeyUriToKeyIdMap();const m=s.length;vu.CDMCleanupPromise=Promise.all(s.map(w=>this.removeSession(w)).concat(n==null||(t=n.setMediaKeys(null))==null?void 0:t.catch(w=>{var C;this.log(`Could not clear media keys: ${w}`),(C=this.hls)==null||C.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${w}`)})}))).catch(w=>{var C;this.log(`Could not close sessions and clear media keys: ${w}`),(C=this.hls)==null||C.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${w}`)})}).then(()=>{m&&this.log("finished closing key sessions and clearing media keys")})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(t,{sessionKeys:n}){if(!(!n||!this.config.emeEnabled)&&!this.keyFormatPromise){const s=n.reduce((m,w)=>(m.indexOf(w.keyFormat)===-1&&m.push(w.keyFormat),m),[]);this.log(`Selecting key-system from session-keys ${s.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(s)}}removeSession(t){const{mediaKeysSession:n,licenseXhr:s}=t;if(n){this.log(`Remove licenses and keys and close session ${n.sessionId}`),t._onmessage&&(n.removeEventListener("message",t._onmessage),t._onmessage=void 0),t._onkeystatuseschange&&(n.removeEventListener("keystatuseschange",t._onkeystatuseschange),t._onkeystatuseschange=void 0),s&&s.readyState!==XMLHttpRequest.DONE&&s.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;const m=this.mediaKeySessions.indexOf(t);m>-1&&this.mediaKeySessions.splice(m,1);const{drmSystemOptions:w}=this.config;return(Ga(w)?new Promise((j,Y)=>{self.setTimeout(()=>Y(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(j)}):Promise.resolve()).catch(j=>{var Y;this.log(`Could not remove session: ${j}`),(Y=this.hls)==null||Y.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${j}`)})}).then(()=>n.close()).catch(j=>{var Y;this.log(`Could not close session: ${j}`),(Y=this.hls)==null||Y.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${j}`)})})}}}vu.CDMCleanupPromise=void 0;class Ro extends Error{constructor(t,n){super(n),this.data=void 0,t.error||(t.error=new Error(n)),this.data=t,t.err=t.error}}class tl{constructor(t){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=t,this.registerListeners()}setStreamController(t){this.streamController=t}registerListeners(){this.hls.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(o.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(o.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(t,n){const s=this.hls.config;if(s.capLevelOnFPSDrop){const m=n.media instanceof self.HTMLVideoElement?n.media:null;this.media=m,m&&typeof m.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),s.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(t,n,s){const m=performance.now();if(n){if(this.lastTime){const w=m-this.lastTime,C=s-this.lastDroppedFrames,j=n-this.lastDecodedFrames,Y=1e3*C/w,H=this.hls;if(H.trigger(o.FPS_DROP,{currentDropped:C,currentDecoded:j,totalDroppedFrames:s}),Y>0&&C>H.config.fpsDroppedMonitoringThreshold*j){let te=H.currentLevel;H.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+te),te>0&&(H.autoLevelCapping===-1||H.autoLevelCapping>=te)&&(te=te-1,H.trigger(o.FPS_DROP_LEVEL_CAPPING,{level:te,droppedLevel:H.currentLevel}),H.autoLevelCapping=te,this.streamController.nextLevelSwitch())}}this.lastTime=m,this.lastDroppedFrames=s,this.lastDecodedFrames=n}}checkFPSInterval(){const t=this.media;if(t)if(this.isVideoPlaybackQualityAvailable){const n=t.getVideoPlaybackQuality();this.checkFPS(t,n.totalVideoFrames,n.droppedVideoFrames)}else this.checkFPS(t,t.webkitDecodedFrameCount,t.webkitDroppedFrameCount)}}function Ku(E,t){let n;try{n=new Event("addtrack")}catch(s){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=E,t.dispatchEvent(n)}function Lo(E,t){const n=E.mode;if(n==="disabled"&&(E.mode="hidden"),E.cues&&!E.cues.getCueById(t.id))try{if(E.addCue(t),!E.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(s){W.debug(`[texttrack-utils]: ${s}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,E.addCue(m)}catch(m){W.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(E.mode=n)}function rl(E,t){const n=E.mode;if(n==="disabled"&&(E.mode="hidden"),E.cues)for(let s=E.cues.length;s--;)t&&E.cues[s].removeEventListener("enter",t),E.removeCue(E.cues[s]);n==="disabled"&&(E.mode=n)}function Jl(E,t,n,s){const m=E.mode;if(m==="disabled"&&(E.mode="hidden"),E.cues&&E.cues.length>0){const w=nl(E.cues,t,n);for(let C=0;C<w.length;C++)(!s||s(w[C]))&&E.removeCue(w[C])}m==="disabled"&&(E.mode=m)}function hc(E,t){if(t<=E[0].startTime)return 0;const n=E.length-1;if(t>E[n].endTime)return-1;let s=0,m=n,w;for(;s<=m;)if(w=Math.floor((m+s)/2),t<E[w].startTime)m=w-1;else if(t>E[w].startTime&&s<n)s=w+1;else return w;return E[s].startTime-t<t-E[m].startTime?s:m}function nl(E,t,n){const s=[],m=hc(E,t);if(m>-1)for(let w=m,C=E.length;w<C;w++){const j=E[w];if(j.startTime>=t&&j.endTime<=n)s.push(j);else if(j.startTime>n)return s}return s}function cu(E){const t=[];for(let n=0;n<E.length;n++){const s=E[n];(s.kind==="subtitles"||s.kind==="captions")&&s.label&&t.push(E[n])}return t}class nf extends Ko{constructor(t){super(t,"subtitle-track-controller"),this.media=null,this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.queuedDefaultTrack=-1,this.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.asyncPollTrackChange=()=>this.pollTrackChange(0),this.onTextTracksChanged=()=>{if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let n=null;const s=cu(this.media.textTracks);for(let w=0;w<s.length;w++)if(s[w].mode==="hidden")n=s[w];else if(s[w].mode==="showing"){n=s[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(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(o.ERROR,this.onError,this)}onMediaAttached(t,n){this.media=n.media,this.media&&(this.queuedDefaultTrack>-1&&(this.subtitleTrack=this.queuedDefaultTrack,this.queuedDefaultTrack=-1),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.pollTrackChange(500):this.media.textTracks.addEventListener("change",this.asyncPollTrackChange))}pollTrackChange(t){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.onTextTracksChanged,t)}onMediaDetaching(t,n){const s=this.media;if(!s)return;const m=!!n.transferMedia;if(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||s.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,m)return;cu(s.textTracks).forEach(C=>{rl(C)})}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.subtitleTracks}onSubtitleTrackLoaded(t,n){const{id:s,groupId:m,details:w}=n,C=this.tracksInGroup[s];if(!C||C.groupId!==m){this.warn(`Subtitle track with id:${s} and group:${m} not found in active group ${C==null?void 0:C.groupId}`);return}const j=C.details;C.details=n.details,this.log(`Subtitle track ${s} "${C.name}" lang:${C.lang} group:${m} loaded [${w.startSN}-${w.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,j)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const s=n.subtitleGroups||null,m=this.groupIds;let w=this.currentTrack;if(!s||(m==null?void 0:m.length)!==(s==null?void 0:s.length)||s!=null&&s.some(C=>(m==null?void 0:m.indexOf(C))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const C=this.tracks.filter(te=>!s||s.indexOf(te.groupId)!==-1);if(C.length)this.selectDefaultTrack&&!C.some(te=>te.default)&&(this.selectDefaultTrack=!1),C.forEach((te,oe)=>{te.id=oe});else if(!w&&!this.tracksInGroup.length)return;this.tracksInGroup=C;const j=this.hls.config.subtitlePreference;if(!w&&j){this.selectDefaultTrack=!1;const te=Ki(j,C);if(te>-1)w=C[te];else{const oe=Ki(j,this.tracks);w=this.tracks[oe]}}let Y=this.findTrackId(w);Y===-1&&w&&(Y=this.findTrackId(null));const H={subtitleTracks:C};this.log(`Updating subtitle tracks, ${C.length} track(s) found in "${s==null?void 0:s.join(",")}" group-id`),this.hls.trigger(o.SUBTITLE_TRACKS_UPDATED,H),Y!==-1&&this.trackId===-1&&this.setSubtitleTrack(Y)}}findTrackId(t){const n=this.tracksInGroup,s=this.selectDefaultTrack;for(let m=0;m<n.length;m++){const w=n[m];if(!(s&&!w.default||!s&&!t)&&(!t||Zn(w,t)))return m}if(t){for(let m=0;m<n.length;m++){const w=n[m];if(js(t.attrs,w.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const w=n[m];if(js(t.attrs,w.attrs,["LANGUAGE"]))return m}}return-1}findTrackForTextTrack(t){if(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(Ho(m,t))return s}}return-1}onError(t,n){n.fatal||!n.context||n.context.type===h.SUBTITLE_TRACK&&n.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(n.context.groupId)!==-1)&&this.checkRetry(n)}get allSubtitleTracks(){return this.tracks}get subtitleTracks(){return this.tracksInGroup}get subtitleTrack(){return this.trackId}set subtitleTrack(t){this.selectDefaultTrack=!1,this.setSubtitleTrack(t)}setSubtitleOption(t){if(this.hls.config.subtitlePreference=t,t){if(t.id===-1)return this.setSubtitleTrack(-1),null;const n=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,n.length){const s=this.currentTrack;if(s&&Zn(t,s))return s;const m=Ki(t,this.tracksInGroup);if(m>-1){const w=this.tracksInGroup[m];return this.setSubtitleTrack(m),w}else{if(s)return null;{const w=Ki(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 s=t.id,m=t.groupId,w=this.getUrlWithDirectives(t.url,n),C=t.details,j=C==null?void 0:C.age;this.log(`Loading subtitle ${s} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${j&&C.live?" age "+j.toFixed(1)+(C.type?" "+C.type||0:""):""} ${w}`),this.hls.trigger(o.SUBTITLE_TRACK_LOADING,{url:w,id:s,groupId:m,deliveryDirectives:n||null,track:t})}toggleTrackModes(){const{media:t}=this;if(!t)return;const n=cu(t.textTracks),s=this.currentTrack;let m;if(s&&(m=n.filter(w=>Ho(s,w))[0],m||this.warn(`Unable to find subtitle TextTrack with name "${s.name}" and language "${s.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 s=this.currentTrack,m=n[t]||null;if(this.trackId=t,this.currentTrack=m,this.toggleTrackModes(),!m){this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:t});return}const w=!!m.details&&!m.details.live;if(t===this.trackId&&m===s&&w)return;this.log(`Switching to subtitle-track ${t}`+(m?` "${m.name}" lang:${m.lang} group:${m.groupId}`:""));const{id:C,groupId:j="",name:Y,type:H,url:te}=m;this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:C,groupId:j,name:Y,type:H,url:te});const oe=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(oe)}}function Vc(){try{return crypto.randomUUID()}catch(E){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 Yu(E){let t=5381,n=E.length;for(;n;)t=t*33^E.charCodeAt(--n);return(t>>>0).toString()}const gu=.025;let ec=function(E){return E[E.Point=0]="Point",E[E.Range=1]="Range",E}({});function Dl(E,t,n){return`${E.identifier}-${n+1}-${Yu(t)}`}class iu{constructor(t,n){this.base=void 0,this._duration=null,this._timelineStart=null,this.appendInPlaceDisabled=void 0,this.appendInPlaceStarted=void 0,this.dateRange=void 0,this.hasPlayed=!1,this.cumulativeDuration=0,this.resumeOffset=NaN,this.playoutLimit=NaN,this.restrictions={skip:!1,jump:!1},this.snapOptions={out:!1,in:!1},this.assetList=[],this.assetListLoader=void 0,this.assetListResponse=null,this.resumeAnchor=void 0,this.error=void 0,this.resetOnResume=void 0,this.base=n,this.dateRange=t,this.setDateRange(t)}setDateRange(t){this.dateRange=t,this.resumeOffset=t.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=t.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=t.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=t.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var t;this.appendInPlaceStarted=!1,(t=this.assetListLoader)==null||t.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(t){var n;if(t>0&&t>=this.assetList.length)return!0;const s=this.playoutLimit;return t<=0||isNaN(s)?!1:s===0?!0:(((n=this.assetList[t])==null?void 0:n.startOffset)||0)>s}findAssetIndex(t){return this.assetList.indexOf(t)}get identifier(){return this.dateRange.id}get startDate(){return this.dateRange.startDate}get startTime(){const t=this.dateRange.startTime;if(this.snapOptions.out){const n=this.dateRange.tagAnchor;if(n)return Ol(t,n)}return t}get startOffset(){return this.cue.pre?0:this.startTime}get startIsAligned(){if(this.startTime===0||this.snapOptions.out)return!0;const t=this.dateRange.tagAnchor;if(t){const n=this.dateRange.startTime,s=Ol(n,t);return n-s<.1}return!1}get resumptionOffset(){const t=this.resumeOffset,n=r(t)?t:this.duration;return this.cumulativeDuration+n}get resumeTime(){const t=this.startOffset+this.resumptionOffset;if(this.snapOptions.in){const n=this.resumeAnchor;if(n)return Ol(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)<gu))}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 _c(this)}}function Ol(E,t){return E-t.start<t.duration/2&&!(Math.abs(E-(t.start+t.duration))<gu)?t.start:t.start+t.duration}function pc(E,t,n){const s=new self.URL(E,n);return s.protocol!=="data:"&&s.searchParams.set("_HLS_primary_id",t),s}function Dc(E,t){for(;(n=E.assetList[++t])!=null&&n.error;)var n;return t}function _c(E){return`["${E.identifier}" ${E.cue.pre?"<pre>":E.cue.post?"<post>":""}${E.timelineStart.toFixed(2)}-${E.resumeTime.toFixed(2)}]`}function xo(E){const t=E.timelineStart,n=E.duration||0;return`["${E.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class kl{constructor(t,n,s,m){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetails=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{this.reachedPlayout(this.currentTime)&&this.hls.trigger(o.PLAYOUT_LIMIT_REACHED,{})};const w=this.hls=new t(n);this.interstitial=s,this.assetItem=m;let C=m.uri;try{C=pc(C,n.primarySessionId).href}catch(Y){}w.loadSource(C);const j=()=>{this.hasDetails=!0};w.once(o.LEVEL_LOADED,j),w.once(o.AUDIO_TRACK_LOADED,j),w.once(o.SUBTITLE_TRACK_LOADED,j),w.on(o.MEDIA_ATTACHING,(Y,{media:H})=>{this.removeMediaListeners(),this.mediaAttached=H,this.interstitial.playoutLimit&&(H.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&w.on(o.BUFFER_APPENDED,()=>{const oe=this.bufferedEnd;this.reachedPlayout(oe)&&(this._bufferedEosTime=oe,w.trigger(o.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){var t;return((t=this.interstitial)==null?void 0:t.appendInPlace)||!1}bufferedInPlaceToEnd(t){var n;if(!this.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t||!this._bufferedEosTime)return!1;const s=this.timelineOffset,m=yn.bufferInfo(t,s,0);return this.getAssetTime(m.end)>=this._bufferedEosTime-.02}reachedPlayout(t){const s=this.interstitial.playoutLimit;return this.startOffset+t>=s}get destroyed(){var t;return!((t=this.hls)!=null&&t.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var t;return((t=this.hls)==null?void 0:t.media)||null}get bufferedEnd(){const t=this.media||this.mediaAttached;if(!t)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const n=yn.bufferInfo(t,t.currentTime,.001);return this.getAssetTime(n.end)}get currentTime(){const t=this.media||this.mediaAttached;return t?this.getAssetTime(t.currentTime):this._currentTime||0}get duration(){const t=this.assetItem.duration;return t||0}get remaining(){const t=this.duration;return t?Math.max(0,t-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var t;return((t=this.hls)==null?void 0:t.config.timelineOffset)||0}set timelineOffset(t){const n=this.timelineOffset;if(t!==n){const s=t-n;if(Math.abs(s)>11111111111111112e-21){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=t}}}getAssetTime(t){const n=this.timelineOffset,s=this.duration;return Math.min(Math.max(0,t-n),s)}removeMediaListeners(){const t=this.mediaAttached;t&&(this._currentTime=t.currentTime,this.bufferSnapShot(),t.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){if(this.mediaAttached){var t;(t=this.hls)!=null&&t.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}}destroy(){this.removeMediaListeners(),this.hls.destroy(),this.hls=this.interstitial=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(t){this.hls.attachMedia(t)}detachMedia(){this.removeMediaListeners(),this.mediaAttached=null,this.hls.detachMedia()}resumeBuffering(){this.hls.resumeBuffering()}pauseBuffering(){this.hls.pauseBuffering()}transferMedia(){return this.bufferSnapShot(),this.hls.transferMedia()}resetDetails(){const t=this.hls;if(this.hasDetails){t.stopLoad();const n=s=>delete s.details;t.levels.forEach(n),t.allAudioTracks.forEach(n),t.allSubtitleTracks.forEach(n),this.hasDetails=!1}}on(t,n,s){this.hls.on(t,n)}once(t,n,s){this.hls.once(t,n)}off(t,n,s){this.hls.off(t,n)}toString(){var t;return`HlsAssetPlayer: ${xo(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${this.appendInPlace?"append-in-place":""}`}}const Oc=.033;class kc 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((s,m)=>t<=m.startOffset&&n>m.startOffset?(delete m.error,s+1):s,0):0}get duration(){const t=this.items;return t?t[t.length-1].end:0}get length(){return this.items?this.items.length:0}getEvent(t){return t&&this.eventMap[t]||null}hasEvent(t){return t in this.eventMap}findItemIndex(t,n){if(t.event)return this.findEventIndex(t.event.identifier);let s=-1;t.nextEvent?s=this.findEventIndex(t.nextEvent.identifier)-1:t.previousEvent&&(s=this.findEventIndex(t.previousEvent.identifier)+1);const m=this.items;if(m)for(m[s]||(n===void 0&&(n=t.start),s=this.findItemIndexAtTime(n));s>=0&&(w=m[s])!=null&&w.event;){var w;s--}return s}findItemIndexAtTime(t,n){const s=this.items;if(s)for(let m=0;m<s.length;m++){let w=s[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 s=this.items;if(s)for(let m=t;m<=n&&s[m];m++){const w=s[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 s;if(((s=n[m].event)==null?void 0:s.identifier)===t)return m}return-1}findAssetIndex(t,n){const s=t.assetList,m=s.length;if(m>1)for(let w=0;w<m;w++){const C=s[w];if(!C.error){const j=C.timelineStart;if(n===j||n>j&&n<j+(C.duration||0))return w}}return 0}get assetIdAtEnd(){var t,n;const s=(t=this.items)==null||(n=t[this.length-1])==null?void 0:n.event;if(s){const m=s.assetList,w=m[m.length-1];if(w)return w.identifier}return null}parseInterstitialDateRanges(t,n){const s=t.main.details,{dateRanges:m}=s,w=this.events,C=this.parseDateRanges(m,{url:s.url},n),j=Object.keys(m),Y=w?w.filter(H=>!j.includes(H.identifier)):[];C.length&&C.sort((H,te)=>{const oe=H.cue.pre,me=H.cue.post,Se=te.cue.pre,Ae=te.cue.post;if(oe&&!Se)return-1;if(Se&&!oe||me&&!Ae)return 1;if(Ae&&!me)return-1;if(!oe&&!Se&&!me&&!Ae){const lt=H.startTime,et=te.startTime;if(lt!==et)return lt-et}return H.dateRange.tagOrder-te.dateRange.tagOrder}),this.events=C,Y.forEach(H=>{this.removeEvent(H)}),this.updateSchedule(t,Y)}updateSchedule(t,n=[]){const s=this.events||[];if(s.length||n.length||this.length<2){const m=this.items,w=this.parseSchedule(s,t);(n.length||(m==null?void 0:m.length)!==w.length||w.some((j,Y)=>Math.abs(j.playout.start-m[Y].playout.start)>.005||Math.abs(j.playout.end-m[Y].playout.end)>.005))&&(this.items=w,this.onScheduleUpdate(n,m))}}parseDateRanges(t,n,s){const m=[],w=Object.keys(t);for(let C=0;C<w.length;C++){const j=w[C],Y=t[j];if(Y.isInterstitial){let H=this.eventMap[j];H?H.setDateRange(Y):(H=new iu(Y,n),this.eventMap[j]=H,s===!1&&(H.appendInPlace=s)),m.push(H)}}return m}parseSchedule(t,n){const s=[],m=n.main.details,w=m.live?1/0:m.edge;let C=0;if(t=t.filter(Y=>!Y.error&&!(Y.cue.once&&Y.hasPlayed)),t.length){this.resolveOffsets(t,n);let Y=0,H=0;if(t.forEach((te,oe)=>{const me=te.cue.pre,Se=te.cue.post,Ae=t[oe-1]||null,lt=te.appendInPlace,et=Se?w:te.startOffset,Lt=te.duration,tr=te.timelineOccupancy===ec.Range?Lt:0,Kt=te.resumptionOffset,Cr=(Ae==null?void 0:Ae.startTime)===et,Hr=et+te.cumulativeDuration;let on=lt?Hr+Lt:et+Kt;if(me||!Se&&et<=0){const Yr=H;H+=tr,te.timelineStart=Hr;const rn=C;C+=Lt,s.push({event:te,start:Hr,end:on,playout:{start:rn,end:C},integrated:{start:Yr,end:H}})}else if(et<=w){if(!Cr){const Nr=et-Y;if(Nr>Oc){const Fn=Y,ai=H;H+=Nr;const ia=C;C+=Nr;const $i={previousEvent:t[oe-1]||null,nextEvent:te,start:Fn,end:Fn+Nr,playout:{start:ia,end:C},integrated:{start:ai,end:H}};s.push($i)}else Nr>0&&Ae&&(Ae.cumulativeDuration+=Nr,s[s.length-1].end=et)}Se&&(on=Hr),te.timelineStart=Hr;const Yr=H;H+=tr;const rn=C;C+=Lt,s.push({event:te,start:Hr,end:on,playout:{start:rn,end:C},integrated:{start:Yr,end:H}})}else return;const zr=te.resumeTime;Se||zr>w?Y=w:Y=zr}),Y<w){var j;const te=Y,oe=H,me=w-Y;H+=me;const Se=C;C+=me,s.push({previousEvent:((j=s[s.length-1])==null?void 0:j.event)||null,nextEvent:null,start:Y,end:te+me,playout:{start:Se,end:C},integrated:{start:oe,end:H}})}this.setDurations(w,C,H)}else s.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 s}setDurations(t,n,s){this.durations={primary:t,playout:n,integrated:s}}resolveOffsets(t,n){const s=n.main.details,m=s.live?1/0:s.edge;let w=0,C=-1;t.forEach((j,Y)=>{const H=j.cue.pre,te=j.cue.post,oe=H?0:te?m:j.startTime;this.updateAssetDurations(j),C===oe?j.cumulativeDuration=w:(w=0,C=oe),!te&&j.snapOptions.in&&(j.resumeAnchor=Yn(null,s.fragments,j.startOffset+j.resumptionOffset,0,0)||void 0),j.appendInPlace&&!j.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(j,n)||(j.appendInPlace=!1)),!j.appendInPlace&&Y+1<t.length&&t[Y+1].startTime-t[Y].resumeTime<Oc&&(t[Y+1].appendInPlace=!1,t[Y+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${j}`));const Se=r(j.resumeOffset)?j.resumeOffset:j.duration;w+=Se})}primaryCanResumeInPlaceAt(t,n){const s=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(s-m)>gu?(this.log(`"${t.identifier}" resumption ${s} not aligned with estimated timeline end ${m}`),!1):n?!Object.keys(n).some(C=>{const j=n[C].details,Y=j.edge;if(s>=Y)return this.log(`"${t.identifier}" resumption ${s} past ${C} playlist end ${Y}`),!1;const H=Yn(null,j.fragments,s);if(!H)return this.log(`"${t.identifier}" resumption ${s} does not align with any fragments in ${C} playlist (${j.fragStart}-${j.fragmentEnd})`),!0;const te=C==="audio"?.175:0;return Math.abs(H.start-s)<gu+te||Math.abs(H.end-s)<gu+te?!1:(this.log(`"${t.identifier}" resumption ${s} not aligned with ${C} fragment bounds (${H.start}-${H.end} sn: ${H.sn} cc: ${H.cc})`),!0)}):(this.log(`"${t.identifier}" resumption ${s} can not be aligned with media (none selected)`),!1)}updateAssetDurations(t){if(!t.assetListLoaded)return;const n=t.timelineStart;let s=0,m=!1,w=!1;t.assetList.forEach((C,j)=>{const Y=n+s;C.startOffset=s,C.timelineStart=Y,m||(m=C.duration===null),w||(w=!!C.error);const H=C.error?0:C.duration||0;s+=H}),m&&!w?t.duration=Math.max(s,t.duration):t.duration=s}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function Mo(E){return`[${E.event?'"'+E.event.identifier+'"':"primary"}: ${E.start.toFixed(2)}-${E.end.toFixed(2)}]`}class tc{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const s=t.assetListUrl;let m;try{m=pc(s,this.hls.sessionId,t.baseUrl)}catch(me){const Se=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,me,s);this.hls.trigger(o.ERROR,Se);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const w=this.hls.config,C=w.loader,j=new C(w),Y={responseType:"json",url:m.href},H=w.interstitialAssetListLoadPolicy.default,te={loadPolicy:H,timeout:H.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},oe={onSuccess:(me,Se,Ae,lt)=>{const et=me.data,Lt=et==null?void 0:et.ASSETS;if(!Array.isArray(Lt)){const tr=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Ae.url,Se,lt);this.hls.trigger(o.ERROR,tr);return}t.assetListResponse=et,this.hls.trigger(o.ASSET_LIST_LOADED,{event:t,assetListResponse:et,networkDetails:lt})},onError:(me,Se,Ae,lt)=>{const et=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${me.code} ${me.text} (${Se.url})`),Se.url,lt,Ae);this.hls.trigger(o.ERROR,et)},onTimeout:(me,Se,Ae)=>{const lt=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Se.url})`),Se.url,me,Ae);this.hls.trigger(o.ERROR,lt)}};return j.load(Y,te,oe),this.hls.trigger(o.ASSET_LIST_LOADING,{event:t}),j}assignAssetListError(t,n,s,m,w,C){return t.error=s,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:s,networkDetails:C,stats:w}}}function il(E){E==null||E.play().catch(()=>{})}class af 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 s=this.currentTime;if(s===void 0||this.playbackDisabled)return;const m=s-this.timelinePos;if(Math.abs(m)<1/7056e5)return;const C=m<=-.01;this.timelinePos=s,this.bufferedPos=s;const j=this.playingItem;if(!j){this.checkBuffer();return}if(C&&this.schedule.resetErrorsInRange(s,s-m)&&this.updateSchedule(),this.checkBuffer(),C&&s<j.start||s>=j.end){var Y;const me=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(j)&&(Y=this.media)!=null&&Y.paused&&(this.shouldPlay=!1),!C){const Se=this.findItemIndex(j);if(me>Se){const Ae=this.schedule.findJumpRestrictedIndex(Se+1,me);if(Ae>Se){this.setSchedulePosition(Ae);return}}}this.setSchedulePosition(me);return}const H=this.playingAsset;if(!H){if(this.playingLastItem&&this.isInterstitial(j)){const me=j.event.assetList[0];me&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(s,me))}return}const te=H.timelineStart,oe=H.duration||0;(C&&s<te||s>=te+oe)&&this.setScheduleToAssetAtTime(s,H)},this.onTimeupdate=()=>{const s=this.currentTime;if(s===void 0||this.playbackDisabled)return;if(s>this.timelinePos)this.timelinePos=s,s>this.bufferedPos&&this.checkBuffer();else return;const m=this.playingItem;if(!m||this.playingLastItem)return;if(s>=m.end){this.timelinePos=m.end;const j=this.findItemIndex(m);this.setSchedulePosition(j+1)}const w=this.playingAsset;if(!w)return;const C=w.timelineStart+(w.duration||0);s>=C&&this.setScheduleToAssetAtTime(s,w)},this.onScheduleUpdate=(s,m)=>{const w=this.schedule,C=this.playingItem,j=w.events||[],Y=w.items||[],H=w.durations,te=s.map(Ae=>Ae.identifier),oe=!!(j.length||te.length);(oe||m)&&this.log(`INTERSTITIALS_UPDATED (${j.length}): ${j}
Schedule: ${Y.map(Ae=>Mo(Ae))} pos: ${this.timelinePos}`),te.length&&this.log(`Removed events ${te}`),this.playerQueue.forEach(Ae=>{if(Ae.interstitial.appendInPlace){const lt=Ae.assetItem.timelineStart,et=Ae.timelineOffset-lt;if(et)try{Ae.timelineOffset=lt}catch(Lt){Math.abs(et)>gu&&this.warn(`${Lt} ("${Ae.assetId}" ${Ae.timelineOffset}->${lt})`)}}});let me=null;if(C){const Ae=this.updateItem(C,this.timelinePos);this.itemsMatch(C,Ae)&&(this.playingItem=Ae,this.waitingItem=this.endedItem=null,me=()=>this.trimInPlace(Ae,C))}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const Se=this.bufferingItem;if(Se){const Ae=this.updateItem(Se,this.bufferedPos);this.itemsMatch(Se,Ae)?(this.bufferingItem=Ae,me||(me=()=>this.trimInPlace(Ae,Se))):Se.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(Se.event,null))}if(s.forEach(Ae=>{Ae.assetList.forEach(lt=>{this.clearAssetPlayer(lt.identifier,null)})}),oe||m){if(this.hls.trigger(o.INTERSTITIALS_UPDATED,{events:j.slice(0),schedule:Y.slice(0),durations:H,removedIds:te}),this.isInterstitial(C)&&te.includes(C.event.identifier)){this.warn(`Interstitial "${C.event.identifier}" removed while playing`),this.primaryFallback(C.event);return}me&&me(),this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new tc(t),this.schedule=new kc(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.on(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.on(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.on(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.on(o.MEDIA_ENDED,this.onMediaEnded,this),t.on(o.ERROR,this.onError,this),t.on(o.DESTROYING,this.onDestroying,this)}unregisterListeners(){const t=this.hls;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.off(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.off(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.off(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.off(o.MEDIA_ENDED,this.onMediaEnded,this),t.off(o.ERROR,this.onError,this),t.off(o.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var t;(t=this.getBufferingPlayer())==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.getBufferingPlayer())==null||t.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.manager=null,this.hls=this.HlsPlayerClass=this.schedule=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const t=this.primaryMedia||this.media;t&&this.removeMediaListeners(t)}removeMediaListeners(t){_o(t,"play",this.onPlay),_o(t,"pause",this.onPause),_o(t,"seeking",this.onSeeking),_o(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const s=this.media=n.media;Os(s,"seeking",this.onSeeking),Os(s,"timeupdate",this.onTimeupdate),Os(s,"play",this.onPlay),Os(s,"pause",this.onPause)}onMediaAttached(t,n){const s=this.effectivePlayingItem,m=this.detachedData;if(this.detachedData=null,s===null)this.checkStart();else if(!m){this.clearScheduleState();const w=this.findItemIndex(s);this.setSchedulePosition(w)}}clearScheduleState(){this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(t,n){const s=!!n.transferMedia,m=this.media;if(this.media=null,!s&&(m&&this.removeMediaListeners(m),this.detachedData)){const 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,s=oe=>oe&&t.getAssetPlayer(oe.identifier),m=(oe,me,Se,Ae,lt)=>{if(oe){let et=oe[me].start;const Lt=oe.event;if(Lt){if(me==="playout"||Lt.timelineOccupancy!==ec.Point){const tr=s(Se);(tr==null?void 0:tr.interstitial)===Lt&&(et+=tr.assetItem.startOffset+tr[lt])}}else{const tr=Ae==="bufferedPos"?C():t[Ae];et+=tr-oe.start}return et}return 0},w=(oe,me)=>{if(oe!==0&&me!=="primary"&&t.schedule.length){var Se;const Ae=t.schedule.findItemIndexAtTime(oe),lt=(Se=t.schedule.items)==null?void 0:Se[Ae];if(lt){const et=lt[me].start-lt.start;return oe+et}}return oe},C=()=>{const oe=t.bufferedPos;return oe===Number.MAX_VALUE?j("primary"):Math.max(oe,0)},j=oe=>{var me;return(me=t.primaryDetails)!=null&&me.live?t.primaryDetails.edge:t.schedule.durations[oe]},Y=(oe,me)=>{var Se,Ae;const lt=t.effectivePlayingItem;if(lt!=null&&(Se=lt.event)!=null&&Se.restrictions.skip)return;t.log(`seek to ${oe} "${me}"`);const et=t.effectivePlayingItem,Lt=t.schedule.findItemIndexAtTime(oe,me),tr=(Ae=t.schedule.items)==null?void 0:Ae[Lt],Kt=t.getBufferingPlayer(),Cr=Kt==null?void 0:Kt.interstitial,Hr=Cr==null?void 0:Cr.appendInPlace,on=et&&t.itemsMatch(et,tr);if(et&&(Hr||on)){const Yr=s(t.playingAsset),rn=(Yr==null?void 0:Yr.media)||t.primaryMedia;if(rn){const Nr=me==="primary"?rn.currentTime:m(et,me,t.playingAsset,"timelinePos","currentTime"),Fn=oe-Nr,ai=(Hr?Nr:rn.currentTime)+Fn;if(ai>=0&&(!Yr||Hr||ai<=Yr.duration)){rn.currentTime=ai;return}}}if(tr){let Yr=oe;if(me!=="primary"){const Nr=tr[me].start,Fn=oe-Nr;Yr=tr.start+Fn}const rn=!t.isInterstitial(tr);if((!t.isInterstitial(et)||et.event.appendInPlace)&&(rn||tr.event.appendInPlace)){const Nr=t.media||(Hr?Kt==null?void 0:Kt.media:null);Nr&&(Nr.currentTime=Yr)}else if(et){const Nr=t.findItemIndex(et);if(Lt>Nr){const ai=t.schedule.findJumpRestrictedIndex(Nr+1,Lt);if(ai>Nr){t.setSchedulePosition(ai);return}}let Fn=0;if(rn)t.timelinePos=Yr,t.checkBuffer();else{var zr;const ai=tr==null||(zr=tr.event)==null?void 0:zr.assetList;if(ai){const ia=oe-(tr[me]||tr).start;for(let $i=ai.length;$i--;){const Bi=ai[$i];if(Bi.duration&&ia>=Bi.startOffset&&ia<Bi.startOffset+Bi.duration){Fn=$i;break}}}}t.setSchedulePosition(Lt,Fn)}}},H=()=>{const oe=t.effectivePlayingItem;if(t.isInterstitial(oe))return oe;const me=n();return t.isInterstitial(me)?me:null},te={get currentTime(){const oe=H(),me=t.effectivePlayingItem;return me&&me===oe?m(me,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-me.playout.start:0},set currentTime(oe){const me=H(),Se=t.effectivePlayingItem;Se&&Se===me&&Y(oe+Se.playout.start,"playout")},get duration(){const oe=H();return oe?oe.playout.end-oe.playout.start:0},get assetPlayers(){var oe;const me=(oe=H())==null?void 0:oe.event.assetList;return me?me.map(Se=>t.getAssetPlayer(Se.identifier)):[]},get playingIndex(){var oe;const me=(oe=H())==null?void 0:oe.event;return me&&t.effectivePlayingAsset?me.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return H()}};this.manager={get events(){var oe,me;return((oe=t.schedule)==null||(me=oe.events)==null?void 0:me.slice(0))||[]},get schedule(){var oe,me;return((oe=t.schedule)==null||(me=oe.items)==null?void 0:me.slice(0))||[]},get interstitialPlayer(){return H()?te:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const oe=n();return t.findItemIndex(oe)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const oe=t.effectivePlayingItem;return t.findItemIndex(oe)},primary:{get bufferedEnd(){return C()},get currentTime(){const oe=t.timelinePos;return oe>0?oe:0},set currentTime(oe){Y(oe,"primary")},get duration(){return j("primary")},get seekableStart(){var oe;return((oe=t.primaryDetails)==null?void 0:oe.fragmentStart)||0}},integrated:{get bufferedEnd(){return m(n(),"integrated",t.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return m(t.effectivePlayingItem,"integrated",t.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(oe){Y(oe,"integrated")},get duration(){return j("integrated")},get seekableStart(){var oe;return w(((oe=t.primaryDetails)==null?void 0:oe.fragmentStart)||0,"integrated")}},skip:()=>{const oe=t.effectivePlayingItem,me=oe==null?void 0:oe.event;if(me&&!me.restrictions.skip){const Se=t.findItemIndex(oe);if(me.appendInPlace){const Ae=oe.playout.start+oe.event.duration;Y(Ae+.001,"playout")}else t.advanceAfterAssetEnded(me,Se,1/0)}}}}return this.manager}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var t;const n=this.playingItem,s=(t=this.schedule)==null?void 0:t.items;return!this.playbackStarted||!n||!s?!1:this.findItemIndex(n)===s.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var t,n,s;if(this.mediaSelection===null)return;const m=this.waitingItem||this.playingItem;if(this.isInterstitial(m)&&!m.event.appendInPlace)return;let w=this.media;!w&&(t=this.bufferingItem)!=null&&(n=t.event)!=null&&n.appendInPlace&&(w=this.primaryMedia);const C=(s=w)==null?void 0:s.currentTime;if(!(C===void 0||!r(C)))return C}get primaryMedia(){var t;return this.media||((t=this.detachedData)==null?void 0:t.media)||null}isInterstitial(t){return!!(t!=null&&t.event)}retreiveMediaSource(t,n){const s=this.getAssetPlayer(t);s&&this.transferMediaFromPlayer(s,n)}transferMediaFromPlayer(t,n){const s=t.interstitial.appendInPlace,m=t.media;if(s&&m===this.primaryMedia){if(this.bufferingAsset=null,(!n||this.isInterstitial(n)&&!n.event.appendInPlace)&&n&&m){this.detachedData={media:m};return}const w=t.transferMedia();this.log(`transfer MediaSource from ${t} ${Bn(w)}`),this.detachedData=w}else n&&m&&(this.shouldPlay||(this.shouldPlay=!m.paused))}transferMediaTo(t,n){var s,m;if(t.media===n)return;let w=null;const C=this.hls,j=t!==C,Y=j&&t.interstitial.appendInPlace,H=(s=this.detachedData)==null?void 0:s.mediaSource;let te;if(C.media)Y&&(w=C.transferMedia(),this.detachedData=w),te="Primary";else if(H){const Se=this.getBufferingPlayer();Se?(w=Se.transferMedia(),te=`${Se}`):te="detached MediaSource"}else te="detached media";if(!w){if(H)w=this.detachedData,this.log(`using detachedData: MediaSource ${Bn(w)}`);else if(!this.detachedData||C.media===n){const Se=this.playerQueue;Se.length>1&&Se.forEach(Ae=>{if(j&&Ae.interstitial.appendInPlace!==Y){const lt=Ae.interstitial;this.clearInterstitial(Ae.interstitial,null),lt.appendInPlace=!1,lt.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${lt}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const oe=w&&"mediaSource"in w&&((m=w.mediaSource)==null?void 0:m.readyState)!=="closed",me=oe&&w?w:n;if(this.log(`${oe?"transfering MediaSource":"attaching media"} to ${j?t:"Primary"} from ${te}`),me===w){const Se=j&&t.assetId===this.schedule.assetIdAtEnd;me.overrides={duration:this.schedule.duration,endOfStream:!j||Se,cueRemoval:!j}}t.attachMedia(me)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t.events;if(!n||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const s=this.timelinePos,m=this.effectivePlayingItem;if(s===-1){const w=this.hls.startPosition;if(this.timelinePos=w,n.length&&n[0].cue.pre){const C=t.findEventIndex(n[0].identifier);this.setSchedulePosition(C)}else if(w>=0||!this.primaryLive){const C=this.timelinePos=w>0?w:0,j=t.findItemIndexAtTime(C);this.setSchedulePosition(j)}}else if(m&&!this.playingItem){const w=t.findItemIndex(m);this.setSchedulePosition(w)}}advanceAfterAssetEnded(t,n,s){const m=Dc(t,s);if(!t.isAssetPastPlayoutLimit(m))this.setSchedulePosition(n,m);else{const w=this.schedule.items;if(w){const C=n+1,j=w.length;if(C>=j){this.setSchedulePosition(-1);return}const Y=t.resumeTime;this.timelinePos<Y&&(this.timelinePos=Y,this.checkBuffer()),this.setSchedulePosition(C)}}}setScheduleToAssetAtTime(t,n){const s=this.schedule,m=n.parentIdentifier,w=s.getEvent(m);if(w){const C=s.findEventIndex(m),j=s.findAssetIndex(w,t);this.advanceAfterAssetEnded(w,C,j-1)}}setSchedulePosition(t,n){const s=this.schedule.items;if(!s||this.playbackDisabled)return;this.log(`setSchedulePosition ${t}, ${n}`);const m=t>=0?s[t]:null,w=this.playingItem,C=this.playingLastItem;if(this.isInterstitial(w)){var j;const H=w.event,te=this.playingAsset,oe=te==null?void 0:te.identifier,me=oe?this.getAssetPlayer(oe):null;if(me&&oe&&(!this.eventItemsMatch(w,m)||n!==void 0&&oe!==((j=H.assetList)==null?void 0:j[n].identifier))){var Y;const Se=H.findAssetIndex(te);if(this.log(`INTERSTITIAL_ASSET_ENDED ${Se+1}/${H.assetList.length} ${xo(te)}`),this.endedAsset=te,this.playingAsset=null,this.hls.trigger(o.INTERSTITIAL_ASSET_ENDED,{asset:te,assetListIndex:Se,event:H,schedule:s.slice(0),scheduleIndex:t,player:me}),w!==this.playingItem){this.itemsMatch(w,this.playingItem)&&!this.playingAsset&&this.advanceAfterAssetEnded(H,this.findItemIndex(this.playingItem),Se);return}this.retreiveMediaSource(oe,m),me.media&&!((Y=this.detachedData)!=null&&Y.mediaSource)&&me.detachMedia()}if(!this.eventItemsMatch(w,m)&&(this.endedItem=w,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${H} ${Mo(w)}`),H.hasPlayed=!0,this.hls.trigger(o.INTERSTITIAL_ENDED,{event:H,schedule:s.slice(0),scheduleIndex:t}),H.cue.once)){this.updateSchedule();const Se=this.schedule.items;if(m&&Se){const Ae=this.findItemIndex(m);this.advanceSchedule(Ae,Se,n,w,C)}return}}this.advanceSchedule(t,s,n,w,C)}advanceSchedule(t,n,s,m,w){const C=t>=0?n[t]:null,j=this.primaryMedia,Y=this.playerQueue;if(Y.length&&Y.forEach(H=>{const te=H.interstitial,oe=this.schedule.findEventIndex(te.identifier);(oe<t||oe>t+1)&&this.clearInterstitial(te,C)}),this.isInterstitial(C)){this.timelinePos=Math.min(Math.max(this.timelinePos,C.start),C.end);const H=C.event;if(s===void 0){s=this.schedule.findAssetIndex(H,this.timelinePos);const Se=Dc(H,s-1);if(H.isAssetPastPlayoutLimit(Se)){this.advanceAfterAssetEnded(H,t,s);return}s=Se}const te=this.waitingItem;this.assetsBuffered(C,j)||this.setBufferingItem(C);let oe=this.preloadAssets(H,s);if(this.eventItemsMatch(C,te||m)||(this.waitingItem=C,this.log(`INTERSTITIAL_STARTED ${Mo(C)} ${H.appendInPlace?"append in place":""}`),this.hls.trigger(o.INTERSTITIAL_STARTED,{event:H,schedule:n.slice(0),scheduleIndex:t})),!H.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${H}`);return}if(H.assetListLoader&&(H.assetListLoader.destroy(),H.assetListLoader=void 0),!j){this.log(`Waiting for attachMedia to start Interstitial ${H}`);return}this.waitingItem=this.endedItem=null,this.playingItem=C;const me=H.assetList[s];if(!me){const Se=n[t+1],Ae=this.media;Se&&Ae&&!this.isInterstitial(Se)&&Ae.currentTime<Se.start&&(Ae.currentTime=this.timelinePos=Se.start),this.advanceAfterAssetEnded(H,t,s||0);return}if(oe||(oe=this.getAssetPlayer(me.identifier)),oe===null||oe.destroyed){const Se=H.assetList.length;this.warn(`asset ${s+1}/${Se} player destroyed ${H}`),oe=this.createAssetPlayer(H,me,s)}if(!this.eventItemsMatch(C,this.bufferingItem)&&H.appendInPlace&&this.isAssetBuffered(me))return;this.startAssetPlayer(oe,s,n,t,j),this.shouldPlay&&il(oe.media)}else C!==null?(this.resumePrimary(C,t,m),this.shouldPlay&&il(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,s){var m;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${Mo(t)}`),!((m=this.detachedData)!=null&&m.mediaSource)){let C=this.timelinePos;(C<t.start||C>=t.end)&&(C=this.getPrimaryResumption(t,n),this.timelinePos=C),this.attachPrimary(C,t)}if(!s)return;const w=this.schedule.items;w&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${Mo(t)}`),this.hls.trigger(o.INTERSTITIALS_PRIMARY_RESUMED,{schedule:w.slice(0),scheduleIndex:n}),this.checkBuffer())}getPrimaryResumption(t,n){const s=t.start;if(this.primaryLive){const m=this.primaryDetails;if(n===0)return this.hls.startPosition;if(m&&(s<m.fragmentStart||s>m.edge))return this.hls.liveSyncPosition||-1}return s}isAssetBuffered(t){const n=this.getAssetPlayer(t.identifier);return n!=null&&n.hls?n.hls.bufferedToEnd:yn.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=t.timelineStart+(t.duration||0)}attachPrimary(t,n,s){n?this.setBufferingItem(n):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const m=this.primaryMedia;if(!m)return;const w=this.hls;w.media?this.checkBuffer():(this.transferMediaTo(w,m),s&&this.startLoadingPrimaryAt(t,s)),s||(this.timelinePos=t,this.startLoadingPrimaryAt(t,s))}startLoadingPrimaryAt(t,n){var s;const m=this.hls;!m.loadingEnabled||!m.media||Math.abs((((s=m.mainForwardBufferInfo)==null?void 0:s.start)||m.media.currentTime)-t)>.5?m.startLoad(t,n):m.bufferingEnabled||m.resumeBuffering()}onManifestLoading(){this.stopLoad(),this.schedule.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(o.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(o.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(t,n){if(n.level===-1)return;const s=this.hls.levels[n.level],m=b(b({},this.mediaSelection||this.altSelection),{},{main:s});this.mediaSelection=m,this.schedule.parseInterstitialDateRanges(m,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(t,n){const s=this.hls.audioTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{audio:s});return}const w=b(b({},m),{},{audio:s});this.mediaSelection=w}onSubtitleTrackUpdated(t,n){const s=this.hls.subtitleTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{subtitles:s});return}const w=b(b({},m),{},{subtitles:s});this.mediaSelection=w}onAudioTrackSwitching(t,n){const s=li(n);this.playerQueue.forEach(m=>m.hls.setAudioOption(n)||m.hls.setAudioOption(s))}onSubtitleTrackSwitch(t,n){const s=li(n);this.playerQueue.forEach(m=>m.hls.setSubtitleOption(n)||n.id!==-1&&m.hls.setSubtitleOption(s))}onBufferCodecs(t,n){const s=n.tracks;s&&(this.requiredTracks=s)}onBufferAppended(t,n){this.checkBuffer()}onBufferFlushed(t,n){const s=this.playingItem;if(s&&!this.itemsMatch(s,this.bufferingItem)&&!this.isInterstitial(s)){const m=this.timelinePos;this.bufferedPos=m,this.checkBuffer()}}onBufferedToEnd(t){const n=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&n){for(let m=0;m<n.length;m++){const w=n[m];if(w.cue.post){var s;const C=this.schedule.findEventIndex(w.identifier),j=(s=this.schedule.items)==null?void 0:s[C];this.isInterstitial(j)&&this.eventItemsMatch(j,this.bufferingItem)&&this.bufferedToItem(j,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(t){const n=this.playingItem;if(!this.playingLastItem&&n){const s=this.findItemIndex(n);this.setSchedulePosition(s+1)}else this.shouldPlay=!1}updateItem(t,n){const s=this.schedule.items;if(t&&s){const m=this.findItemIndex(t,n);return s[m]||null}return null}trimInPlace(t,n){if(this.isInterstitial(t)&&t.event.appendInPlace&&n.end-t.end>.25){t.event.assetList.forEach((w,C)=>{t.event.isAssetPastPlayoutLimit(C)&&this.clearAssetPlayer(w.identifier,null)});const s=t.end+.25,m=yn.bufferInfo(this.primaryMedia,s,0);(m.end>s||(m.nextStart||0)>s)&&(this.attachPrimary(s,null),this.flushFrontBuffer(s))}}itemsMatch(t,n){return!!n&&(t===n||t.event&&n.event&&this.eventItemsMatch(t,n)||!t.event&&!n.event&&this.findItemIndex(t)===this.findItemIndex(n))}eventItemsMatch(t,n){var s;return!!n&&(t===n||t.event.identifier===((s=n.event)==null?void 0:s.identifier))}findItemIndex(t,n){return t?this.schedule.findItemIndex(t,n):-1}updateSchedule(){const t=this.mediaSelection;t&&this.schedule.updateSchedule(t,[])}checkBuffer(t){const n=this.schedule.items;if(!n)return;const s=yn.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=s.len<1),this.updateBufferedPos(s.end,n,t)}updateBufferedPos(t,n,s){const m=this.schedule,w=this.bufferingItem;if(this.bufferedPos>t)return;if(n.length===1&&this.itemsMatch(n[0],w)){this.bufferedPos=t;return}const C=this.playingItem,j=this.findItemIndex(C);let Y=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var H,te;const oe=this.findItemIndex(w),me=Math.min(oe+1,n.length-1),Se=n[me];if((Y===-1&&w&&t>=w.end||(H=Se.event)!=null&&H.appendInPlace&&t+.01>=Se.start)&&(Y=me),me-j>1&&(w==null||(te=w.event)==null?void 0:te.appendInPlace)===!1)return;if(this.bufferedPos=t,Y>oe&&Y>j)this.bufferedToItem(Se);else{const Ae=this.primaryDetails;this.primaryLive&&Ae&&t>Ae.edge-Ae.targetduration&&Se.start<Ae.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Se)&&this.preloadAssets(Se.event,0)}}else s&&C&&!this.itemsMatch(C,w)&&(Y===j?this.bufferedToItem(C):Y===j+1&&this.bufferedToItem(n[Y]))}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,s=this.schedule;if(this.itemsMatch(t,n))this.bufferingItem!==t&&(this.bufferingItem=t);else{const{items:m,events:w}=s;if(!m||!w)return n;const C=this.isInterstitial(t),j=this.getBufferingPlayer();this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos));const Y=j?j.remaining:n?n.end-this.timelinePos:0;this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${Mo(t)}`+(n?` (${Y.toFixed(2)} remaining)`:"")),this.playbackDisabled||(C?t.event.assetList.forEach(H=>{const te=this.getAssetPlayer(H.identifier);te&&te.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach(H=>H.pauseBuffering()))),this.hls.trigger(o.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:w.slice(0),schedule:m.slice(0),bufferingIndex:this.findItemIndex(t),playingIndex:this.findItemIndex(this.playingItem)})}return n}bufferedToItem(t,n=0){const s=this.setBufferingItem(t);if(!this.playbackDisabled){if(this.isInterstitial(t))this.bufferedToEvent(t,n);else if(s!==null){this.bufferingAsset=null;const m=this.detachedData;m?m.mediaSource?this.attachPrimary(t.start,t,!0):this.preloadPrimary(t):this.preloadPrimary(t)}}}preloadPrimary(t){const n=this.findItemIndex(t),s=this.getPrimaryResumption(t,n);this.startLoadingPrimaryAt(s)}bufferedToEvent(t,n){const s=t.event,m=s.assetList.length===0&&!s.assetListLoader,w=s.cue.once;if(m||!w){const C=this.preloadAssets(s,n);if(C!=null&&C.interstitial.appendInPlace){const j=s.assetList[n],Y=this.primaryMedia;j&&Y&&this.bufferAssetPlayer(C,Y)}}}preloadAssets(t,n){const s=t.assetUrl,m=t.assetList.length,w=m===0&&!t.assetListLoader,C=t.cue.once;if(w){const Y=t.timelineStart;if(t.appendInPlace){var j;const me=this.playingItem;!this.isInterstitial(me)&&(me==null||(j=me.nextEvent)==null?void 0:j.identifier)===t.identifier&&this.flushFrontBuffer(Y+.25)}let H,te=0;if(!this.playingItem&&this.primaryLive&&(te=this.hls.startPosition,te===-1&&(te=this.hls.liveSyncPosition||0)),te&&!(t.cue.pre||t.cue.post)){const me=te-Y;me>0&&(H=Math.round(me*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${s?1:m} ${t}${H?` live-start: ${te} start-offset: ${H}`:""}`),s)return this.createAsset(t,0,0,Y,t.duration,s);const oe=this.assetListLoader.loadAssetList(t,H);oe&&(t.assetListLoader=oe)}else if(!C&&m){for(let Y=n;Y<m;Y++){const H=t.assetList[Y],te=this.getAssetPlayerQueueIndex(H.identifier);(te===-1||this.playerQueue[te].destroyed)&&!H.error&&this.createAssetPlayer(t,H,Y)}return this.getAssetPlayer(t.assetList[n].identifier)}return null}flushFrontBuffer(t){const n=this.requiredTracks;if(!n)return;this.log(`Removing front buffer starting at ${t}`),Object.keys(n).forEach(m=>{this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:t,endOffset:1/0,type:m})})}getAssetPlayerQueueIndex(t){const n=this.playerQueue;for(let s=0;s<n.length;s++)if(t===n[s].assetId)return s;return-1}getAssetPlayer(t){const n=this.getAssetPlayerQueueIndex(t);return this.playerQueue[n]||null}getBufferingPlayer(){const{playerQueue:t,primaryMedia:n}=this;if(n){for(let s=0;s<t.length;s++)if(t[s].media===n)return t[s]}return null}createAsset(t,n,s,m,w,C){const j={parentIdentifier:t.identifier,identifier:Dl(t,C,n),duration:w,startOffset:s,timelineStart:m,uri:C};return this.createAssetPlayer(t,j,n)}createAssetPlayer(t,n,s){const m=this.hls,w=m.userConfig;let C=w.videoPreference;const j=m.loadLevelObj||m.levels[m.currentLevel];(C||j)&&(C=y({},C),j.videoCodec&&(C.videoCodec=j.videoCodec),j.videoRange&&(C.allowedVideoRanges=[j.videoRange]));const Y=m.audioTracks[m.audioTrack],H=m.subtitleTracks[m.subtitleTrack];let te=0;if(this.primaryLive||t.appendInPlace){const Kt=this.timelinePos-n.timelineStart;if(Kt>1){const Cr=n.duration;Cr&&Kt<Cr&&(te=Kt)}}const oe=n.identifier,me=b(b({},w),{},{autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:oe,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:te,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:C,audioPreference:Y||w.audioPreference,subtitlePreference:H||w.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(me.timelineOffset=n.timelineStart));const Se=me.cmcd;Se!=null&&Se.sessionId&&Se.contentId&&(me.cmcd=y({},Se,{contentId:Yu(n.uri)})),this.getAssetPlayer(oe)&&this.warn(`Duplicate date range identifier ${t} and asset ${oe}`);const Ae=new kl(this.HlsPlayerClass,me,t,n);this.playerQueue.push(Ae),t.assetList[s]=n;const lt=Kt=>{if(Kt.live){const on=new Error(`Interstitials MUST be VOD assets ${t}`),zr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:on};this.handleAssetItemError(zr,t,this.schedule.findEventIndex(t.identifier),s,on.message);return}const Cr=Kt.edge-Kt.fragmentStart,Hr=n.duration;(Hr===null||Cr>Hr)&&(this.log(`Interstitial asset "${oe}" duration change ${Hr} > ${Cr}`),n.duration=Cr,this.updateSchedule())};Ae.on(o.LEVEL_UPDATED,(Kt,{details:Cr})=>lt(Cr)),Ae.on(o.LEVEL_PTS_UPDATED,(Kt,{details:Cr})=>lt(Cr));const et=(Kt,Cr)=>{const Hr=this.getAssetPlayer(oe);if(Hr&&Cr.tracks){Hr.off(o.BUFFER_CODECS,et),Hr.tracks=Cr.tracks;const on=this.primaryMedia;this.bufferingAsset===Hr.assetItem&&on&&!Hr.media&&this.bufferAssetPlayer(Hr,on)}};Ae.on(o.BUFFER_CODECS,et);const Lt=()=>{var Kt;const Cr=this.getAssetPlayer(oe);if(this.log(`buffered to end of asset ${Cr}`),!Cr)return;const Hr=this.schedule.findEventIndex(t.identifier),on=(Kt=this.schedule.items)==null?void 0:Kt[Hr];if(this.isInterstitial(on)){const Yr=t.findAssetIndex(n),rn=Dc(t,Yr);if(!t.isAssetPastPlayoutLimit(rn))this.bufferedToItem(on,rn);else{var zr;const Nr=(zr=this.schedule.items)==null?void 0:zr[Hr+1];Nr&&this.bufferedToItem(Nr)}}};Ae.on(o.BUFFERED_TO_END,Lt);const tr=Kt=>()=>{if(!this.getAssetPlayer(oe))return;this.shouldPlay=!0;const Hr=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,Hr,Kt)};return Ae.once(o.MEDIA_ENDED,tr(s)),Ae.once(o.PLAYOUT_LIMIT_REACHED,tr(1/0)),Ae.on(o.ERROR,(Kt,Cr)=>{const Hr=this.getAssetPlayer(oe);if(Cr.details===f.BUFFER_STALLED_ERROR){if(Hr!=null&&Hr.media){const on=Hr.currentTime,zr=Hr.duration-on;on&&t.appendInPlace&&zr/Hr.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${oe} ${t} at ${Hr.media.currentTime}`),Lt()):(this.warn(`Stalled at ${on} of ${on+zr} in asset ${oe} ${t}`),this.onTimeupdate(),this.checkBuffer(!0))}return}this.handleAssetItemError(Cr,t,this.schedule.findEventIndex(t.identifier),s,`Asset player error ${Cr.error} ${t}`)}),Ae.on(o.DESTROYING,()=>{if(!this.getAssetPlayer(oe))return;const Cr=new Error(`Asset player destroyed unexpectedly ${oe}`),Hr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Cr};this.handleAssetItemError(Hr,t,this.schedule.findEventIndex(t.identifier),s,Cr.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${xo(n)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:s,event:t,player:Ae}),Ae}clearInterstitial(t,n){t.assetList.forEach(s=>{this.clearAssetPlayer(s.identifier,n)}),t.reset()}resetAssetPlayer(t){const n=this.getAssetPlayerQueueIndex(t);if(n!==-1){this.log(`reset asset player "${t}" after error`);const s=this.playerQueue[n];this.transferMediaFromPlayer(s,null),s.resetDetails()}}clearAssetPlayer(t,n){const s=this.getAssetPlayerQueueIndex(t);if(s!==-1){this.log(`clear asset player "${t}" toSegment: ${n&&Mo(n)}`);const m=this.playerQueue[s];this.transferMediaFromPlayer(m,n),this.playerQueue.splice(s,1),m.destroy()}}emptyPlayerQueue(){let t;for(;t=this.playerQueue.pop();)t.destroy();this.playerQueue=[]}startAssetPlayer(t,n,s,m,w){const{interstitial:C,assetItem:j,assetId:Y}=t,H=C.assetList.length,te=this.playingAsset;this.endedAsset=null,this.playingAsset=j,(!te||te.identifier!==Y)&&(te&&(this.clearAssetPlayer(te.identifier,s[m]),delete te.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${H} ${xo(j)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_STARTED,{asset:j,assetListIndex:n,event:C,schedule:s.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,w)}bufferAssetPlayer(t,n){var s,m;const{interstitial:w,assetItem:C}=t,j=this.schedule.findEventIndex(w.identifier),Y=(s=this.schedule.items)==null?void 0:s[j];if(!Y)return;this.setBufferingItem(Y),this.bufferingAsset=C;const H=this.getBufferingPlayer();if(H===t)return;const te=w.appendInPlace;if(te&&(H==null?void 0:H.interstitial.appendInPlace)===!1)return;const oe=(H==null?void 0:H.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(te&&C!==this.playingAsset){if(!t.tracks)return;if(oe&&!le(oe,t.tracks)){const me=new Error(`Asset ${xo(C)} SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(oe)}')`),Se={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:me},Ae=w.findAssetIndex(C);this.handleAssetItemError(Se,w,j,Ae,me.message);return}}this.transferMediaTo(t,n)}handleAssetItemError(t,n,s,m,w){if(t.details===f.BUFFER_STALLED_ERROR)return;const C=n.assetList[m];this.warn(`INTERSTITIAL_ASSET_ERROR ${C&&xo(C)} ${t.error}`);const j=C==null?void 0:C.identifier,Y=this.getAssetPlayerQueueIndex(j),H=this.playerQueue[Y]||null,te=this.schedule.items,oe=y({},t,{fatal:!1,errorAction:ir(!0),asset:C,assetListIndex:m,event:n,schedule:te,scheduleIndex:s,player:H});if(this.hls.trigger(o.INTERSTITIAL_ASSET_ERROR,oe),!t.fatal)return;const me=this.playingAsset,Se=new Error(w);if(C&&(this.clearAssetPlayer(j,null),C.error=Se),!n.assetList.some(Ae=>!Ae.error))n.error=Se;else{for(let Ae=m;Ae<n.assetList.length;Ae++)this.resetAssetPlayer(n.assetList[Ae].identifier);this.updateSchedule()}n.error?this.primaryFallback(n):me&&me.identifier===j&&this.advanceAfterAssetEnded(n,s,m)}primaryFallback(t){const n=t.timelineStart,s=this.effectivePlayingItem;if(this.updateSchedule(),s){this.log(`Fallback to primary from event "${t.identifier}" start: ${n} pos: ${this.timelinePos} playing: ${s?Mo(s):"<none>"} error: ${t.error}`);let m=this.timelinePos;m===-1&&(m=this.hls.startPosition);const w=this.updateItem(s,m);this.itemsMatch(s,w)&&this.clearInterstitial(t,null),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n));const C=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(C)}else this.checkStart()}onAssetListLoaded(t,n){var s;const m=n.event,w=m.identifier,C=n.assetListResponse.ASSETS;if(!this.schedule.hasEvent(w))return;const j=m.timelineStart,Y=m.duration;let H=0;C.forEach((Ae,lt)=>{const et=parseFloat(Ae.DURATION);this.createAsset(m,lt,H,j+H,et,Ae.URI),H+=et}),m.duration=H,this.log(`Loaded asset-list with duration: ${H} (was: ${Y}) ${m}`);const te=this.waitingItem,oe=(te==null?void 0:te.event.identifier)===w;this.updateSchedule();const me=(s=this.bufferingItem)==null?void 0:s.event;if(oe){var Se;const Ae=this.schedule.findEventIndex(w),lt=(Se=this.schedule.items)==null?void 0:Se[Ae];if(lt){if(!this.playingItem&&this.timelinePos>lt.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==Ae){m.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${m}`),this.primaryFallback(m);return}this.setBufferingItem(lt)}this.setSchedulePosition(Ae)}else if((me==null?void 0:me.identifier)===w&&me.appendInPlace){const Ae=m.assetList[0],lt=this.getAssetPlayer(Ae.identifier),et=this.primaryMedia;Ae&&lt&&et&&this.bufferAssetPlayer(lt,et)}}onError(t,n){switch(n.details){case f.ASSET_LIST_PARSING_ERROR:case f.ASSET_LIST_LOAD_ERROR:case f.ASSET_LIST_LOAD_TIMEOUT:{const s=n.interstitial;s&&this.primaryFallback(s);break}case f.BUFFER_STALLED_ERROR:{this.onTimeupdate(),this.checkBuffer(!0);break}}}}const rc=500;class mc extends Yi{constructor(t,n,s){super(t,n,s,"subtitle-stream-controller",u.SUBTITLE),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(o.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(o.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(t,n){this.stopLoad(),this.state=er.IDLE,this.setInterval(rc),this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}onManifestLoading(){super.onManifestLoading(),this.mainDetails=null}onMediaDetaching(t,n){this.tracksBuffered=[],super.onMediaDetaching(t,n)}onLevelLoaded(t,n){this.mainDetails=n.details}onSubtitleFragProcessed(t,n){const{frag:s,success:m}=n;if(this.fragContextChanged(s)||(Oe(s)&&(this.fragPrevious=s),this.state=er.IDLE),!m)return;const w=this.tracksBuffered[this.currentTrackId];if(!w)return;let C;const j=s.start;for(let H=0;H<w.length;H++)if(j>=w[H].start&&j<=w[H].end){C=w[H];break}const Y=s.start+s.duration;C?C.end=Y:(C={start:j,end:Y},w.push(C)),this.fragmentTracker.fragBuffered(s),this.fragBufferedComplete(s,null),this.media&&this.tick()}onBufferFlushing(t,n){const{startOffset:s,endOffset:m}=n;if(s===0&&m!==Number.POSITIVE_INFINITY){const w=m-1;if(w<=0)return;n.endOffsetSubtitles=Math.max(0,w),this.tracksBuffered.forEach(C=>{for(let j=0;j<C.length;){if(C[j].end<=w){C.shift();continue}else if(C[j].start<w)C[j].start=w;else break;j++}}),this.fragmentTracker.removeFragmentsInRange(s,w,u.SUBTITLE)}}onError(t,n){const s=n.frag;(s==null?void 0:s.type)===u.SUBTITLE&&(n.details===f.FRAG_GAP&&this.fragmentTracker.fragBuffered(s,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==er.STOPPED&&(this.state=er.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&El(this.levels,n)){this.levels=n.map(s=>new _r(s));return}this.tracksBuffered=[],this.levels=n.map(s=>{const m=new _r(s);return this.tracksBuffered[m.id]=[],m}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,u.SUBTITLE),this.fragPrevious=null,this.mediaBuffer=null}onSubtitleTrackSwitch(t,n){var s;if(this.currentTrackId=n.id,!((s=this.levels)!=null&&s.length)||this.currentTrackId===-1){this.clearInterval();return}const m=this.levels[this.currentTrackId];m!=null&&m.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,m&&this.state!==er.STOPPED&&this.setInterval(rc)}onSubtitleTrackLoaded(t,n){var s;const{currentTrackId:m,levels:w}=this,{details:C,id:j}=n;if(!w){this.warn(`Subtitle tracks were reset while loading level ${j}`);return}const Y=w[j];if(j>=w.length||!Y)return;this.log(`Subtitle track ${j} loaded [${C.startSN},${C.endSN}]${C.lastPartSn?`[part-${C.lastPartSn}-${C.lastPartIndex}]`:""},duration:${C.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let H=0;if(C.live||(s=Y.details)!=null&&s.live){if(C.deltaUpdateFailed)return;const oe=this.mainDetails;if(!oe){this.startFragRequested=!1;return}const me=oe.fragments[0];if(!Y.details)C.hasProgramDateTime&&oe.hasProgramDateTime?(vi(C,oe),H=C.fragmentStart):me&&(H=me.start,bn(C,H));else{var te;H=this.alignPlaylists(C,Y.details,(te=this.levelLastLoaded)==null?void 0:te.details),H===0&&me&&(H=me.start,bn(C,H))}oe&&!this.startFragRequested&&this.setStartPosition(oe,H)}Y.details=C,this.levelLastLoaded=Y,j===m&&(this.hls.trigger(o.SUBTITLE_TRACK_UPDATED,{details:C,id:j,groupId:n.groupId}),this.tick(),C.live&&!this.fragCurrent&&this.media&&this.state===er.IDLE&&(Yn(null,C.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),Y.details=void 0)))}_handleFragmentLoadComplete(t){const{frag:n,payload:s}=t,m=n.decryptdata,w=this.hls;if(!this.fragContextChanged(n)&&s&&s.byteLength>0&&m!=null&&m.key&&m.iv&&Li(m.method)){const C=performance.now();this.decrypter.decrypt(new Uint8Array(s),m.key.buffer,m.iv.buffer,Oa(m.method)).catch(j=>{throw w.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:j,reason:j.message,frag:n}),j}).then(j=>{const Y=performance.now();w.trigger(o.FRAG_DECRYPTED,{frag:n,payload:j,stats:{tstart:C,tdecrypt:Y}})}).catch(j=>{this.warn(`${j.name}: ${j.message}`),this.state=er.IDLE})}}doTick(){if(!this.media){this.state=er.IDLE;return}if(this.state===er.IDLE){const{currentTrackId:t,levels:n}=this,s=n==null?void 0:n[t];if(!s||!n.length||!s.details||this.waitForLive(s))return;const{config:m}=this,w=this.getLoadPosition(),C=yn.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],w,m.maxBufferHole),{end:j,len:Y}=C,H=s.details,te=this.hls.maxBufferLength+H.levelTargetDuration;if(Y>te)return;const oe=H.fragments,me=oe.length,Se=H.edge;let Ae=null;const lt=this.fragPrevious;if(j<Se){const tr=m.maxFragLookUpTolerance,Kt=j>Se-tr?0:tr;Ae=Yn(lt,oe,Math.max(oe[0].start,j),Kt),!Ae&&lt&&lt.start<oe[0].start&&(Ae=oe[0])}else Ae=oe[me-1];if(Ae=this.filterReplacedPrimary(Ae,s.details),!Ae)return;const et=Ae.sn-H.startSN,Lt=oe[et-1];if(Lt&&Lt.cc===Ae.cc&&this.fragmentTracker.getState(Lt)===br.NOT_LOADED&&(Ae=Lt),this.fragmentTracker.getState(Ae)===br.NOT_LOADED){const tr=this.mapToInitFragWhenRequired(Ae);tr&&this.loadFragment(tr,s,j)}}}loadFragment(t,n,s){Oe(t)?super.loadFragment(t,n,s):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new sf(this.tracksBuffered[this.currentTrackId]||[])}}class sf{constructor(t){this.buffered=void 0;const n=(s,m,w)=>{if(m=m>>>0,m>w-1)throw new DOMException(`Failed to execute '${s}' on 'TimeRanges': The index provided (${m}) is greater than the maximum bound (${w})`);return t[m][s]};this.buffered={get length(){return t.length},end(s){return n("end",s,t.length)},start(s){return n("start",s,t.length)}}}}const Du={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},hl=E=>String.fromCharCode(Du[E]||E),Yo=15,Zi=100,ao={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},Gs={17:2,18:4,21:6,22:8,23:10,19:13,20:15},ti={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Ou={25:2,26:4,29:6,30:8,31:10,27:13,28:15},I=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class O{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const s=typeof n=="function"?n():n;W.log(`${this.time} [${t}] ${s}`)}}}const R=function(t){const n=[];for(let s=0;s<t.length;s++)n.push(t[s].toString(16));return n};class ve{constructor(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}reset(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1}setStyles(t){const n=["foreground","underline","italics","background","flash"];for(let s=0;s<n.length;s++){const m=n[s];t.hasOwnProperty(m)&&(this[m]=t[m])}}isDefault(){return this.foreground==="white"&&!this.underline&&!this.italics&&this.background==="black"&&!this.flash}equals(t){return this.foreground===t.foreground&&this.underline===t.underline&&this.italics===t.italics&&this.background===t.background&&this.flash===t.flash}copy(t){this.foreground=t.foreground,this.underline=t.underline,this.italics=t.italics,this.background=t.background,this.flash=t.flash}toString(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}class ze{constructor(){this.uchar=" ",this.penState=new ve}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 Jr{constructor(t){this.chars=[],this.pos=0,this.currPenState=new ve,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<Zi;n++)this.chars.push(new ze);this.logger=t}equals(t){for(let n=0;n<Zi;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<Zi;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<Zi;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>Zi&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Zi)}moveCursor(t){const n=this.pos+t;if(t>1)for(let s=this.pos+1;s<n+1;s++)this.chars[s].setPenState(this.currPenState);this.setCursor(n)}backSpace(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}insertChar(t){t>=144&&this.backSpace();const n=hl(t);if(this.pos>=Zi){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<Zi;n++)this.chars[n].reset()}clear(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}clearToEndOfRow(){this.clearFromPos(this.pos)}getTextString(){const t=[];let n=!0;for(let s=0;s<Zi;s++){const m=this.chars[s].uchar;m!==" "&&(n=!1),t.push(m)}return n?"":t.join("")}setPenStyles(t){this.currPenState.setStyles(t),this.chars[this.pos].setPenState(this.currPenState)}}class Jn{constructor(t){this.rows=[],this.currRow=Yo-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<Yo;n++)this.rows.push(new Jr(t));this.logger=t}reset(){for(let t=0;t<Yo;t++)this.rows[t].clear();this.currRow=Yo-1}equals(t){let n=!0;for(let s=0;s<Yo;s++)if(!this.rows[s].equals(t.rows[s])){n=!1;break}return n}copy(t){for(let n=0;n<Yo;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<Yo;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 = "+Bn(t));let n=t.row-1;if(this.nrRollUpRows&&n<this.nrRollUpRows-1&&(n=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==n){for(let j=0;j<Yo;j++)this.rows[j].clear();const w=this.currRow+1-this.nrRollUpRows,C=this.lastOutputScreen;if(C){const j=C.rows[w].cueStartTime,Y=this.logger.time;if(j!==null&&Y!==null&&j<Y)for(let H=0;H<this.nrRollUpRows;H++)this.rows[n-this.nrRollUpRows+H+1].copy(C.rows[w+H])}}this.currRow=n;const s=this.rows[this.currRow];if(t.indent!==null){const w=t.indent,C=Math.max(w-1,0);s.setCursor(t.indent),t.color=s.chars[C].penState.foreground}const m={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(m)}setBkgData(t){this.logger.log(2,()=>"bkgData = "+Bn(t)),this.backSpace(),this.setPen(t),this.insertChar(32)}setRollUpRows(t){this.nrRollUpRows=t}rollUp(){if(this.nrRollUpRows===null){this.logger.log(3,"roll_up but nrRollUpRows not set yet");return}this.logger.log(1,()=>this.getDisplayText());const t=this.currRow+1-this.nrRollUpRows,n=this.rows.splice(t,1)[0];n.clear(),this.rows.splice(this.currRow,0,n),this.logger.log(2,"Rolling up")}getDisplayText(t){t=t||!1;const n=[];let s="",m=-1;for(let w=0;w<Yo;w++){const C=this.rows[w].getTextString();C&&(m=w+1,t?n.push("Row "+m+": '"+C+"'"):n.push(C.trim()))}return n.length>0&&(t?s="["+n.join(" | ")+"]":s=n.join(`
`)),s}getTextAndFormat(){return this.rows}}class Vi{constructor(t,n,s){this.chNr=void 0,this.outputFilter=void 0,this.mode=void 0,this.verbose=void 0,this.displayedMemory=void 0,this.nonDisplayedMemory=void 0,this.lastOutputScreen=void 0,this.currRollUpRow=void 0,this.writeScreen=void 0,this.cueStartTime=void 0,this.logger=void 0,this.chNr=t,this.outputFilter=n,this.mode=null,this.verbose=0,this.displayedMemory=new Jn(s),this.nonDisplayedMemory=new Jn(s),this.lastOutputScreen=new Jn(s),this.currRollUpRow=this.displayedMemory.rows[Yo-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=s}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[Yo-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(t){this.outputFilter=t}setPAC(t){this.writeScreen.setPAC(t)}setBkgData(t){this.writeScreen.setBkgData(t)}setMode(t){t!==this.mode&&(this.mode=t,this.logger.log(2,()=>"MODE="+t),this.mode==="MODE_POP-ON"?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),this.mode!=="MODE_ROLL-UP"&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=t)}insertChars(t){for(let s=0;s<t.length;s++)this.writeScreen.insertChar(t[s]);const n=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,()=>n+": "+this.writeScreen.getDisplayText(!0)),(this.mode==="MODE_PAINT-ON"||this.mode==="MODE_ROLL-UP")&&(this.logger.log(1,()=>"DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())}ccRCL(){this.logger.log(2,"RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")}ccBS(){this.logger.log(2,"BS - BackSpace"),this.mode!=="MODE_TEXT"&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())}ccAOF(){}ccAON(){}ccDER(){this.logger.log(2,"DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()}ccRU(t){this.logger.log(2,"RU("+t+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(t)}ccFON(){this.logger.log(2,"FON - Flash On"),this.writeScreen.setPen({flash:!0})}ccRDC(){this.logger.log(2,"RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")}ccTR(){this.logger.log(2,"TR"),this.setMode("MODE_TEXT")}ccRTD(){this.logger.log(2,"RTD"),this.setMode("MODE_TEXT")}ccEDM(){this.logger.log(2,"EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)}ccCR(){this.logger.log(2,"CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)}ccENM(){this.logger.log(2,"ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()}ccEOC(){if(this.logger.log(2,"EOC - End Of Caption"),this.mode==="MODE_POP-ON"){const t=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=t,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,()=>"DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)}ccTO(t){this.logger.log(2,"TO("+t+") - Tab Offset"),this.writeScreen.moveCursor(t)}ccMIDROW(t){const n={flash:!1};if(n.underline=t%2===1,n.italics=t>=46,n.italics)n.foreground="white";else{const s=Math.floor(t/2)-16,m=["white","green","blue","cyan","red","yellow","magenta"];n.foreground=m[s]}this.logger.log(2,"MIDROW: "+Bn(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 Mi{constructor(t,n,s){this.channels=void 0,this.currentChannel=0,this.cmdHistory=ei(),this.logger=void 0;const m=this.logger=new O;this.channels=[null,new Vi(t,n,m),new Vi(t+1,s,m)]}getHandler(t){return this.channels[t].getHandler()}setHandler(t,n){this.channels[t].setHandler(n)}addData(t,n){this.logger.time=t;for(let s=0;s<n.length;s+=2){const m=n[s]&127,w=n[s+1]&127;let C=!1,j=null;if(m===0&&w===0)continue;this.logger.log(3,()=>"["+R([n[s],n[s+1]])+"] -> ("+R([m,w])+")");const Y=this.cmdHistory;if(m>=16&&m<=31){if(Xs(m,w,Y)){Za(null,null,Y),this.logger.log(3,()=>"Repeated command ("+R([m,w])+") is dropped");continue}Za(m,w,this.cmdHistory),C=this.parseCmd(m,w),C||(C=this.parseMidrow(m,w)),C||(C=this.parsePAC(m,w)),C||(C=this.parseBackgroundAttributes(m,w))}else Za(null,null,Y);if(!C&&(j=this.parseChars(m,w),j)){const te=this.currentChannel;te&&te>0?this.channels[te].insertChars(j):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!C&&!j&&this.logger.log(2,()=>"Couldn't parse cleaned data "+R([m,w])+" orig: "+R([n[s],n[s+1]]))}}parseCmd(t,n){const s=(t===20||t===28||t===21||t===29)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=33&&n<=35;if(!(s||m))return!1;const w=t===20||t===21||t===23?1:2,C=this.channels[w];return t===20||t===21||t===28||t===29?n===32?C.ccRCL():n===33?C.ccBS():n===34?C.ccAOF():n===35?C.ccAON():n===36?C.ccDER():n===37?C.ccRU(2):n===38?C.ccRU(3):n===39?C.ccRU(4):n===40?C.ccFON():n===41?C.ccRDC():n===42?C.ccTR():n===43?C.ccRTD():n===44?C.ccEDM():n===45?C.ccCR():n===46?C.ccENM():n===47&&C.ccEOC():C.ccTO(n-32),this.currentChannel=w,!0}parseMidrow(t,n){let s=0;if((t===17||t===25)&&n>=32&&n<=47){if(t===17?s=1:s=2,s!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const m=this.channels[s];return m?(m.ccMIDROW(n),this.logger.log(3,()=>"MIDROW ("+R([t,n])+")"),!0):!1}return!1}parsePAC(t,n){let s;const m=(t>=17&&t<=23||t>=25&&t<=31)&&n>=64&&n<=127,w=(t===16||t===24)&&n>=64&&n<=95;if(!(m||w))return!1;const C=t<=23?1:2;n>=64&&n<=95?s=C===1?ao[t]:ti[t]:s=C===1?Gs[t]:Ou[t];const j=this.channels[C];return j?(j.setPAC(this.interpretPAC(s,n)),this.currentChannel=C,!0):!1}interpretPAC(t,n){let s;const m={color:null,italics:!1,indent:null,underline:!1,row:t};return n>95?s=n-96:s=n-64,m.underline=(s&1)===1,s<=13?m.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(s/2)]:s<=15?(m.italics=!0,m.color="white"):m.indent=Math.floor((s-16)/2)*4,m}parseChars(t,n){let s,m=null,w=null;if(t>=25?(s=2,w=t-8):(s=1,w=t),w>=17&&w<=19){let C;w===17?C=n+80:w===18?C=n+112:C=n+144,this.logger.log(2,()=>"Special char '"+hl(C)+"' in channel "+s),m=[C]}else t>=32&&t<=127&&(m=n===0?[t]:[t,n]);return m&&this.logger.log(3,()=>"Char codes = "+R(m).join(",")),m}parseBackgroundAttributes(t,n){const s=(t===16||t===24)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=45&&n<=47;if(!(s||m))return!1;let w;const C={};t===16||t===24?(w=Math.floor((n-32)/2),C.background=I[w],n%2===1&&(C.background=C.background+"_semi")):n===45?C.background="transparent":(C.foreground="black",n===47&&(C.underline=!0));const j=t<=23?1:2;return this.channels[j].setBkgData(C),!0}reset(){for(let t=0;t<Object.keys(this.channels).length;t++){const n=this.channels[t];n&&n.reset()}Za(null,null,this.cmdHistory)}cueSplitAtTime(t){for(let n=0;n<this.channels.length;n++){const s=this.channels[n];s&&s.cueSplitAtTime(t)}}}function Za(E,t,n){n.a=E,n.b=t}function Xs(E,t,n){return n.a===E&&n.b===t}function ei(){return{a:null,b:null}}var hs=function(){if(ws!=null&&ws.VTTCue)return self.VTTCue;const E=["","lr","rl"],t=["start","middle","end","left","right"];function n(j,Y){if(typeof Y!="string"||!Array.isArray(j))return!1;const H=Y.toLowerCase();return~j.indexOf(H)?H:!1}function s(j){return n(E,j)}function m(j){return n(t,j)}function w(j,...Y){let H=1;for(;H<arguments.length;H++){const te=arguments[H];for(const oe in te)j[oe]=te[oe]}return j}function C(j,Y,H){const te=this,oe={enumerable:!0};te.hasBeenReset=!1;let me="",Se=!1,Ae=j,lt=Y,et=H,Lt=null,tr="",Kt=!0,Cr="auto",Hr="start",on=50,zr="middle",Yr=50,rn="middle";Object.defineProperty(te,"id",w({},oe,{get:function(){return me},set:function(Nr){me=""+Nr}})),Object.defineProperty(te,"pauseOnExit",w({},oe,{get:function(){return Se},set:function(Nr){Se=!!Nr}})),Object.defineProperty(te,"startTime",w({},oe,{get:function(){return Ae},set:function(Nr){if(typeof Nr!="number")throw new TypeError("Start time must be set to a number.");Ae=Nr,this.hasBeenReset=!0}})),Object.defineProperty(te,"endTime",w({},oe,{get:function(){return lt},set:function(Nr){if(typeof Nr!="number")throw new TypeError("End time must be set to a number.");lt=Nr,this.hasBeenReset=!0}})),Object.defineProperty(te,"text",w({},oe,{get:function(){return et},set:function(Nr){et=""+Nr,this.hasBeenReset=!0}})),Object.defineProperty(te,"region",w({},oe,{get:function(){return Lt},set:function(Nr){Lt=Nr,this.hasBeenReset=!0}})),Object.defineProperty(te,"vertical",w({},oe,{get:function(){return tr},set:function(Nr){const Fn=s(Nr);if(Fn===!1)throw new SyntaxError("An invalid or illegal string was specified.");tr=Fn,this.hasBeenReset=!0}})),Object.defineProperty(te,"snapToLines",w({},oe,{get:function(){return Kt},set:function(Nr){Kt=!!Nr,this.hasBeenReset=!0}})),Object.defineProperty(te,"line",w({},oe,{get:function(){return Cr},set:function(Nr){if(typeof Nr!="number"&&Nr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Cr=Nr,this.hasBeenReset=!0}})),Object.defineProperty(te,"lineAlign",w({},oe,{get:function(){return Hr},set:function(Nr){const Fn=m(Nr);if(!Fn)throw new SyntaxError("An invalid or illegal string was specified.");Hr=Fn,this.hasBeenReset=!0}})),Object.defineProperty(te,"position",w({},oe,{get:function(){return on},set:function(Nr){if(Nr<0||Nr>100)throw new Error("Position must be between 0 and 100.");on=Nr,this.hasBeenReset=!0}})),Object.defineProperty(te,"positionAlign",w({},oe,{get:function(){return zr},set:function(Nr){const Fn=m(Nr);if(!Fn)throw new SyntaxError("An invalid or illegal string was specified.");zr=Fn,this.hasBeenReset=!0}})),Object.defineProperty(te,"size",w({},oe,{get:function(){return Yr},set:function(Nr){if(Nr<0||Nr>100)throw new Error("Size must be between 0 and 100.");Yr=Nr,this.hasBeenReset=!0}})),Object.defineProperty(te,"align",w({},oe,{get:function(){return rn},set:function(Nr){const Fn=m(Nr);if(!Fn)throw new SyntaxError("An invalid or illegal string was specified.");rn=Fn,this.hasBeenReset=!0}})),te.displayState=void 0}return C.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},C}();class Fo{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function ks(E){function t(s,m,w,C){return(s|0)*3600+(m|0)*60+(w|0)+parseFloat(C||0)}const n=E.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 so{constructor(){this.values=Object.create(null)}set(t,n){!this.get(t)&&n!==""&&(this.values[t]=n)}get(t,n,s){return s?this.has(t)?this.values[t]:n[s]:this.has(t)?this.values[t]:n}has(t){return t in this.values}alt(t,n,s){for(let m=0;m<s.length;++m)if(n===s[m]){this.set(t,n);break}}integer(t,n){/^-?\d+$/.test(n)&&this.set(t,parseInt(n,10))}percent(t,n){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(n)){const s=parseFloat(n);if(s>=0&&s<=100)return this.set(t,s),!0}return!1}}function al(E,t,n,s){const m=s?E.split(s):[E];for(const w in m){if(typeof m[w]!="string")continue;const C=m[w].split(n);if(C.length!==2)continue;const j=C[0],Y=C[1];t(j,Y)}}const pl=new hs(0,0,""),sl=pl.align==="middle"?"middle":"center";function Rc(E,t,n){const s=E;function m(){const j=ks(E);if(j===null)throw new Error("Malformed timestamp: "+s);return E=E.replace(/^[^\sa-zA-Z-]+/,""),j}function w(j,Y){const H=new so;al(j,function(me,Se){let Ae;switch(me){case"region":for(let lt=n.length-1;lt>=0;lt--)if(n[lt].id===Se){H.set(me,n[lt].region);break}break;case"vertical":H.alt(me,Se,["rl","lr"]);break;case"line":Ae=Se.split(","),H.integer(me,Ae[0]),H.percent(me,Ae[0])&&H.set("snapToLines",!1),H.alt(me,Ae[0],["auto"]),Ae.length===2&&H.alt("lineAlign",Ae[1],["start",sl,"end"]);break;case"position":Ae=Se.split(","),H.percent(me,Ae[0]),Ae.length===2&&H.alt("positionAlign",Ae[1],["start",sl,"end","line-left","line-right","auto"]);break;case"size":H.percent(me,Se);break;case"align":H.alt(me,Se,["start",sl,"end","left","right"]);break}},/:/,/\s/),Y.region=H.get("region",null),Y.vertical=H.get("vertical","");let te=H.get("line","auto");te==="auto"&&pl.line===-1&&(te=-1),Y.line=te,Y.lineAlign=H.get("lineAlign","start"),Y.snapToLines=H.get("snapToLines",!0),Y.size=H.get("size",100),Y.align=H.get("align",sl);let oe=H.get("position","auto");oe==="auto"&&pl.position===50&&(oe=Y.align==="start"||Y.align==="left"?0:Y.align==="end"||Y.align==="right"?100:50),Y.position=oe}function C(){E=E.replace(/^\s+/,"")}if(C(),t.startTime=m(),C(),E.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+s);E=E.slice(3),C(),t.endTime=m(),C(),w(E,t)}function ku(E){return E.replace(/<br(?: \/)?>/gi,`
`)}class Ru{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new Fo,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(t){const n=this;t&&(n.buffer+=n.decoder.decode(t,{stream:!0}));function s(){let w=n.buffer,C=0;for(w=ku(w);C<w.length&&w[C]!=="\r"&&w[C]!==`
`;)++C;const j=w.slice(0,C);return w[C]==="\r"&&++C,w[C]===`
`&&++C,n.buffer=w.slice(C),j}function m(w){al(w,function(C,j){},/:/)}try{let w="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;w=s();const j=w.match(/^()?WEBVTT([ \t].*)?$/);if(!(j!=null&&j[0]))throw new Error("Malformed WebVTT signature.");n.state="HEADER"}let C=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(C?C=!1:w=s(),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 hs(0,0,""),n.state="CUE",w.indexOf("-->")===-1){n.cue.id=w;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{Rc(w,n.cue,n.regionList)}catch(j){n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":{const j=w.indexOf("-->")!==-1;if(!w||j&&(C=!0)){n.oncue&&n.cue&&n.oncue(n.cue),n.cue=null,n.state="ID";continue}if(n.cue===null)continue;n.cue.text&&(n.cue.text+=`
`),n.cue.text+=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 nc=/\r\n|\n\r|\n|\r/g,Rl=function(t,n,s=0){return t.slice(s,s+n.length)===n},qu=function(t){let n=parseInt(t.slice(-3));const s=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(s)||!r(m)||!r(w))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${t}`);return n+=1e3*s,n+=60*1e3*m,n+=60*60*1e3*w,n};function as(E,t,n){return Yu(E.toString())+Yu(t.toString())+Yu(n)}const ol=function(t,n,s){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(;(C=w)!=null&&C.new;){var C;t.ccOffset+=m.start-w.start,m.new=!1,m=w,w=t[m.prevCC]}t.presentationOffset=s};function ic(E,t,n,s,m,w,C){const j=new Ru,Y=Q(new Uint8Array(E)).trim().replace(nc,`
`).split(`
`),H=[],te=t?Un(t.baseTime,t.timescale):0;let oe="00:00.000",me=0,Se=0,Ae,lt=!0;j.oncue=function(et){const Lt=n[s];let tr=n.ccOffset;const Kt=(me-te)/9e4;if(Lt!=null&&Lt.new&&(Se!==void 0?tr=n.ccOffset=Lt.start:ol(n,s,Kt)),Kt){if(!t){Ae=new Error("Missing initPTS for VTT MPEGTS");return}tr=Kt-n.presentationOffset}const Cr=et.endTime-et.startTime,Hr=Xi((et.startTime+tr-Se)*9e4,m*9e4)/9e4;et.startTime=Math.max(Hr,0),et.endTime=Math.max(Hr+Cr,0);const on=et.text.trim();et.text=decodeURIComponent(encodeURIComponent(on)),et.id||(et.id=as(et.startTime,et.endTime,on)),et.endTime>0&&H.push(et)},j.onparsingerror=function(et){Ae=et},j.onflush=function(){if(Ae){C(Ae);return}w(H)},Y.forEach(et=>{if(lt)if(Rl(et,"X-TIMESTAMP-MAP=")){lt=!1,et.slice(16).split(",").forEach(Lt=>{Rl(Lt,"LOCAL:")?oe=Lt.slice(6):Rl(Lt,"MPEGTS:")&&(me=parseInt(Lt.slice(7)))});try{Se=qu(oe)/1e3}catch(Lt){Ae=Lt}return}else et===""&&(lt=!1);j.parse(et+`
`)}),j.flush()}const Bo="stpp.ttml.im1t",Xu=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,_l=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,vc={left:"start",center:"center",right:"end",start:"start",end:"end"};function yu(E,t,n,s){const m=xt(new Uint8Array(E),["mdat"]);if(m.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const w=m.map(j=>Q(j)),C=vn(t.baseTime,1,t.timescale);try{w.forEach(j=>n(gc(j,C)))}catch(j){s(j)}}function gc(E,t){const m=new DOMParser().parseFromString(E,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const w={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},C=Object.keys(w).reduce((oe,me)=>(oe[me]=m.getAttribute(`ttp:${me}`)||w[me],oe),{}),j=m.getAttribute("xml:space")!=="preserve",Y=wn(ul(m,"styling","style")),H=wn(ul(m,"layout","region")),te=ul(m,"body","[begin]");return[].map.call(te,oe=>{const me=zn(oe,j);if(!me||!oe.hasAttribute("begin"))return null;const Se=ra(oe.getAttribute("begin"),C),Ae=ra(oe.getAttribute("dur"),C);let lt=ra(oe.getAttribute("end"),C);if(Se===null)throw Hi(oe);if(lt===null){if(Ae===null)throw Hi(oe);lt=Se+Ae}const et=new hs(Se-t,lt-t,me);et.id=as(et.startTime,et.endTime,et.text);const Lt=H[oe.getAttribute("region")],tr=Y[oe.getAttribute("style")],Kt=Fi(Lt,tr,Y),{textAlign:Cr}=Kt;if(Cr){const Hr=vc[Cr];Hr&&(et.lineAlign=Hr),et.align=Cr}return y(et,Kt),et}).filter(oe=>oe!==null)}function ul(E,t,n){const s=E.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function wn(E){return E.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function zn(E,t){return[].slice.call(E.childNodes).reduce((n,s,m)=>{var w;return s.nodeName==="br"&&m?n+`
`:(w=s.childNodes)!=null&&w.length?zn(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Fi(E,t,n){const s="http://www.w3.org/ns/ttml#styling";let m=null;const w=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],C=E!=null&&E.hasAttribute("style")?E.getAttribute("style"):null;return C&&n.hasOwnProperty(C)&&(m=n[C]),w.reduce((j,Y)=>{const H=ba(t,s,Y)||ba(E,s,Y)||ba(m,s,Y);return H&&(j[Y]=H),j},{})}function ba(E,t,n){return E&&E.hasAttributeNS(t,n)?E.getAttributeNS(t,n):null}function Hi(E){return new Error(`Could not parse ttml timestamp ${E}`)}function ra(E,t){if(!E)return null;let n=ks(E);return n===null&&(Xu.test(E)?n=ma(E,t):_l.test(E)&&(n=ps(E,t))),n}function ma(E,t){const n=Xu.exec(E),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function ps(E,t){const n=_l.exec(E),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Ni{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class _s{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=Qu(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Ni(this,"textTrack1"),n=new Ni(this,"textTrack2"),s=new Ni(this,"textTrack3"),m=new Ni(this,"textTrack4");this.cea608Parser1=new Mi(1,t,n),this.cea608Parser2=new Mi(3,s,m)}addCues(t,n,s,m,w){let C=!1;for(let j=w.length;j--;){const Y=w[j],H=ll(Y[0],Y[1],n,s);if(H>=0&&(Y[0]=Math.min(Y[0],n),Y[1]=Math.max(Y[1],s),C=!0,H/(s-n)>.5))return}if(C||w.push([n,s]),this.config.renderTextTracksNatively){const j=this.captionsTracks[t];this.Cues.newCue(j,n,s,m)}else{const j=this.Cues.newCue(null,n,s,m);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:j,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:w}){const{unparsedVttFrags:C}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:w}),C.length&&(this.unparsedVttFrags=[],C.forEach(j=>{this.initPTS[j.frag.cc]?this.onFragLoaded(o.FRAG_LOADED,j):this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:j.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let m=0;m<s.textTracks.length;m++){const w=s.textTracks[m];if(Mu(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:s,media:m}=this,{label:w,languageCode:C}=n[t],j=this.getExistingTrack(w,C);if(j)s[t]=j,rl(s[t]),Ku(s[t],m);else{const Y=this.createTextTrack("captions",w,C);Y&&(Y[t]=!0,s[t]=Y)}}createNonNativeTrack(t){if(this.nonNativeCaptionsTracks[t])return;const n=this.captionsProperties[t];if(!n)return;const s=n.label,m={_id:t,label:s,kind:"captions",default:n.media?!!n.media.default:!1,closedCaptions:n.media};this.nonNativeCaptionsTracks[t]=m,this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[m]})}createTextTrack(t,n,s){const m=this.media;if(m)return m.addTextTrack(t,n,s)}onMediaAttaching(t,n){this.media=n.media,n.mediaSource||this._cleanTracks()}onMediaDetaching(t,n){const s=!!n.transferMedia;if(this.media=null,s)return;const{captionsTracks:m}=this;Object.keys(m).forEach(w=>{rl(m[w]),delete m[w]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Qu(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;s<n.length;s++)rl(n[s])}onSubtitleTracksUpdated(t,n){const s=n.subtitleTracks||[],m=s.some(w=>w.textCodec===Bo);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(El(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const C=this.media,j=C?cu(C.textTracks):null;if(this.tracks.forEach((Y,H)=>{let te;if(j){let oe=null;for(let me=0;me<j.length;me++)if(j[me]&&Mu(j[me],Y)){oe=j[me],j[me]=null;break}oe&&(te=oe)}if(te)rl(te);else{const oe=Lu(Y);te=this.createTextTrack(oe,Y.name,Y.lang),te&&(te.mode="disabled")}te&&this.textTracks.push(te)}),j!=null&&j.length){const Y=j.filter(H=>H!==null).map(H=>H.label);Y.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${Y.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const C=this.tracks.map(j=>({label:j.name,kind:j.type.toLowerCase(),default:j.default,subtitleTrack:j}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:C})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const m=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!m)return;const w=`textTrack${m[1]}`,C=this.captionsProperties[w];C&&(C.label=s.name,s.lang&&(C.languageCode=s.lang),C.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var s,m;const{cea608Parser1:w,cea608Parser2:C,lastSn:j}=this,{cc:Y,sn:H}=n.frag,te=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;w&&C&&(H!==j+1||H===j&&te!==this.lastPartIndex+1||Y!==this.lastCc)&&(w.reset(),C.reset()),this.lastCc=Y,this.lastSn=H,this.lastPartIndex=te}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const w=s.decryptdata,C="stats"in n;if(w==null||!w.encrypted||C){const j=this.tracks[s.level],Y=this.vttCCs;Y[s.cc]||(Y[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),j&&j.textCodec===Bo?this._parseIMSC1(s,m):this._parseVTTs(n)}}else this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;yu(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{s.logger.log(`Failed to parse IMSC1: ${m}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:s,payload:m}=t,{initPTS:w,unparsedVttFrags:C}=this,j=w.length-1;if(!w[s.cc]&&j===-1){C.push(t);return}const Y=this.hls,H=(n=s.initSegment)!=null&&n.data?Pe(s.initSegment.data,new Uint8Array(m)).buffer:m;ic(H,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,te=>{this._appendCues(te,s.level),Y.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},te=>{const oe=te.message==="Missing initPTS for VTT MPEGTS";oe?C.push(t):this._fallbackToIMSC1(s,m),Y.logger.log(`Failed to parse VTT cue: ${te}`),!(oe&&j>s.cc)&&Y.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:te})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||yu(n,this.initPTS[t.cc],()=>{s.textCodec=Bo,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(w=>Lo(m,w))}else{const m=this.tracks[n];if(!m)return;const w=m.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:w})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:m}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let w=0;w<m.length;w++){const C=m[w].bytes;if(C){this.cea608Parser1||this.initCea608Parsers();const j=this.extractCea608Data(C);this.cea608Parser1.addData(m[w].pts,j[0]),this.cea608Parser2.addData(m[w].pts,j[1])}}}onBufferFlushing(t,{startOffset:n,endOffset:s,endOffsetSubtitles:m,type:w}){const{media:C}=this;if(!(!C||C.currentTime<s)){if(!w||w==="video"){const{captionsTracks:j}=this;Object.keys(j).forEach(Y=>Jl(j[Y],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:j}=this;Object.keys(j).forEach(Y=>Jl(j[Y],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let w=0;w<s;w++){const C=t[m++],j=127&t[m++],Y=127&t[m++];if(j===0&&Y===0)continue;if((4&C)!==0){const te=3&C;(te===0||te===1)&&(n[te].push(j),n[te].push(Y))}}return n}}function Lu(E){return E.characteristics&&/transcribes-spoken-dialog/gi.test(E.characteristics)&&/describes-music-and-sound/gi.test(E.characteristics)?"captions":"subtitles"}function Mu(E,t){return!!E&&E.kind===Lu(t)&&Ho(t,E)}function ll(E,t,n,s){return Math.min(t,s)-Math.max(E,n)}function Qu(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const ml=/\s/,If={newCue(E,t,n,s){const m=[];let w,C,j,Y,H;const te=self.VTTCue||self.TextTrackCue;for(let me=0;me<s.rows.length;me++)if(w=s.rows[me],j=!0,Y=0,H="",!w.isEmpty()){var oe;for(let lt=0;lt<w.chars.length;lt++)ml.test(w.chars[lt].uchar)&&j?Y++:(H+=w.chars[lt].uchar,j=!1);w.cueStartTime=t,t===n&&(n+=1e-4),Y>=16?Y--:Y++;const Se=ku(H.trim()),Ae=as(t,n,Se);E!=null&&(oe=E.cues)!=null&&oe.getCueById(Ae)||(C=new te(t,n,Se),C.id=Ae,C.line=me+1,C.align="left",C.position=10+Math.min(80,Math.floor(Y*8/32)*10),m.push(C))}return E&&m.length&&(m.sort((me,Se)=>me.line==="auto"||Se.line==="auto"?0:me.line>8&&Se.line>8?Se.line-me.line:me.line-Se.line),m.forEach(me=>Lo(E,me))),m}};function Sf(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(E){}return!1}const Ll=/(\d+)-(\d+)\/(\d+)/;class of{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||cl,this.controller=new self.AbortController,this.stats=new $}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,s){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const w=Lc(t,this.controller.signal),C=t.responseType==="arraybuffer",j=C?"byteLength":"length",{maxTimeToFirstByteMs:Y,maxLoadTimeMs:H}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,w),self.clearTimeout(this.requestTimeout),n.timeout=Y&&r(Y)?Y:H,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(ou(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(oe=>{var me;this.response=this.loader=oe;const Se=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=H,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},H-(Se-m.loading.start)),!oe.ok){const{status:lt,statusText:et}=oe;throw new Df(et||"fetch, bad network response",lt,oe)}m.loading.first=Se,m.total=uf(oe.headers)||m.total;const Ae=(me=this.callbacks)==null?void 0:me.onProgress;return Ae&&r(n.highWaterMark)?this.loadProgressively(oe,m,t,n.highWaterMark,Ae):C?oe.arrayBuffer():t.responseType==="json"?oe.json():oe.text()}).then(oe=>{var me,Se;const Ae=this.response;if(!Ae)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const lt=oe[j];lt&&(m.loaded=m.total=lt);const et={url:Ae.url,data:oe,code:Ae.status},Lt=(me=this.callbacks)==null?void 0:me.onProgress;Lt&&!r(n.highWaterMark)&&Lt(m,t,oe,Ae),(Se=this.callbacks)==null||Se.onSuccess(et,m,t,Ae)}).catch(oe=>{var me;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Se=oe&&oe.code||0,Ae=oe?oe.message:null;(me=this.callbacks)==null||me.onError({code:Se,text:Ae},t,oe?oe.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,m=0,w){const C=new ua,j=t.body.getReader(),Y=()=>j.read().then(H=>{if(H.done)return C.dataLength&&w(n,s,C.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const te=H.value,oe=te.length;return n.loaded+=oe,oe<m||C.dataLength?(C.push(te),C.dataLength>=m&&w(n,s,C.flush().buffer,t)):w(n,s,te.buffer,t),Y()}).catch(()=>Promise.reject());return Y()}}function Lc(E,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},E.headers))};return E.rangeEnd&&n.headers.set("Range","bytes="+E.rangeStart+"-"+String(E.rangeEnd-1)),n}function Kc(E){const t=Ll.exec(E);if(t)return parseInt(t[2])-parseInt(t[1])+1}function uf(E){const t=E.get("Content-Range");if(t){const s=Kc(t);if(r(s))return s}const n=E.get("Content-Length");if(n)return parseInt(n)}function cl(E,t){return new self.Request(E.url,t)}class Df extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Ju=/^age:\s*[\d.]+\s*$/im;class yc{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new $,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const w=this.xhrSetup;w?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return w(s,n.url)}).catch(C=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),w(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(C=>{var j;(j=this.callbacks)==null||j.onError({code:s.status,text:C.message},n,s,m)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:w,maxLoadTimeMs:C}=s.loadPolicy;if(m)for(const j in m)t.setRequestHeader(j,m[j]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=w&&r(w)?w:C,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const m=n.readyState,w=this.config;if(!s.aborted&&m>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.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-(s.loading.first-s.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const H=n.status,te=n.responseType==="text"?n.responseText:null;if(H>=200&&H<300){const Ae=te!=null?te:n.response;if(Ae!=null){var C,j;s.loading.end=Math.max(self.performance.now(),s.loading.first);const lt=n.responseType==="arraybuffer"?Ae.byteLength:Ae.length;s.loaded=s.total=lt,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const et=(C=this.callbacks)==null?void 0:C.onProgress;et&&et(s,t,Ae,n);const Lt={url:n.responseURL,data:Ae,code:H};(j=this.callbacks)==null||j.onSuccess(Lt,s,t,n);return}}const oe=w.loadPolicy.errorRetry,me=s.retry,Se={url:t.url,data:void 0,code:H};if(Ir(oe,me,!1,Se))this.retry(oe);else{var Y;W.error(`${H} while loading ${t.url}`),(Y=this.callbacks)==null||Y.onError({code:H,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(Ir(t,n,!0))this.retry(t);else{var s;W.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=cr(t,s.retry),s.retry++,W.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Ju.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 lf={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},qo=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:yc,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:zi,bufferController:Sl,capLevelController:ru,errorController:ut,fpsController:tl,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:$o,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:lf},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},Yc()),{},{subtitleStreamController:mc,subtitleTrackController:nf,timelineController:_s,audioStreamController:$l,audioTrackController:Zu,emeController:vu,cmcdController:Ql,contentSteeringController:Pl,interstitialsController:af});function Yc(){return{cueHandler:If,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function cf(E,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=Fu(E),m=["manifest","level","frag"],w=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(C=>{const j=`${C==="level"?"playlist":C}LoadPolicy`,Y=t[j]===void 0,H=[];w.forEach(te=>{const oe=`${C}Loading${te}`,me=t[oe];if(me!==void 0&&Y){H.push(oe);const Se=s[j].default;switch(t[j]={default:Se},te){case"TimeOut":Se.maxLoadTimeMs=me,Se.maxTimeToFirstByteMs=me;break;case"MaxRetry":Se.errorRetry.maxNumRetry=me,Se.timeoutRetry.maxNumRetry=me;break;case"RetryDelay":Se.errorRetry.retryDelayMs=me,Se.timeoutRetry.retryDelayMs=me;break;case"MaxRetryTimeout":Se.errorRetry.maxRetryDelayMs=me,Se.timeoutRetry.maxRetryDelayMs=me;break}}}),H.length&&n.warn(`hls.js config: "${H.join('", "')}" setting(s) are deprecated, use "${j}": ${Bn(t[j])}`)}),b(b({},s),t)}function Fu(E){return E&&typeof E=="object"?Array.isArray(E)?E.map(Fu):Object.keys(E).reduce((t,n)=>(t[n]=Fu(E[n]),t),{}):E}function bc(E,t){const n=E.loader;n!==of&&n!==yc?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),E.progressive=!1):Sf()&&(E.loader=of,E.progressive=!0,E.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Io=2,ff=.1,df=.05,Mc=100;class Fc extends vs{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Mc),this.mediaSource=n.mediaSource;const s=this.media=n.media;Os(s,"playing",this.onMediaPlaying),Os(s,"waiting",this.onMediaWaiting),Os(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(_o(s,"playing",this.onMediaPlaying),_o(s,"waiting",this.onMediaWaiting),_o(s,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var s,m;const w=(s=this.hls)==null?void 0:s.config;if(!w)return;const C=this.media;if(!C)return;const{seeking:j}=C,Y=this.seeking&&!j,H=!this.seeking&&j,te=C.paused&&!j||C.ended||C.playbackRate===0;if(this.seeking=j,t!==n){n&&(this.ended=0),this.moved=!0,j||(this.nudgeRetry=0,w.nudgeOnVideoHole&&!te&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(H||Y){Y&&this.stallResolved(t);return}if(te){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&C.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!yn.getBuffered(C).length){this.nudgeRetry=0;return}const oe=yn.bufferInfo(C,t,0),me=oe.nextStart||0,Se=this.fragmentTracker;if(j&&Se&&this.hls){const on=qc(this.hls.inFlightFragments,t),zr=oe.len>Io,Yr=!me||on||me-t>Io&&!Se.getPartialFragment(t);if(zr||Yr)return;this.moved=!1}const Ae=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Se){if(!(oe.len>0)&&!me)return;const zr=Math.max(me,oe.start||0)-t,rn=!!(Ae!=null&&Ae.live)?Ae.targetduration*2:Io,Nr=Se.getPartialFragment(t);if(zr>0&&(zr<=rn||Nr)){C.paused||this._trySkipBufferHole(Nr);return}}const lt=w.detectStallWithCurrentTimeMs,et=self.performance.now(),Lt=this.waiting;let tr=this.stalled;if(tr===null)if(Lt>0&&et-Lt<lt)tr=this.stalled=Lt;else{this.stalled=et;return}const Kt=et-tr;if(!j&&(Kt>=lt||Lt)&&this.hls){var Cr;if(((Cr=this.mediaSource)==null?void 0:Cr.readyState)==="ended"&&!(Ae!=null&&Ae.live)&&Math.abs(t-((Ae==null?void 0:Ae.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(oe),!this.media||!this.hls)return}const Hr=yn.bufferInfo(C,t,w.maxBufferHole);this._tryFixBufferStall(Hr,Kt,t)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(o.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&m&&m.length>1&&t>m.end(0)){const w=yn.bufferedInfo(yn.timeRangesToArray(this.buffered.audio),t,0);if(w.len>1&&n>=w.start){const C=yn.timeRangesToArray(m),j=yn.bufferedInfo(C,n,0).bufferedIndex;if(j>-1&&j<C.length-1){const Y=yn.bufferedInfo(C,t,0).bufferedIndex,H=C[j].end,te=C[j+1].start;if((Y===-1||Y>j)&&te-H<1&&t-H<2){const oe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${H} -> ${te} buffered index: ${Y}`);this.warn(oe.message),this.media.currentTime+=1e-6;const me=this.fragmentTracker.getPartialFragment(t)||void 0,Se=yn.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:oe,reason:oe.message,frag:me,buffer:Se.len,bufferInfo:Se})}}}}}_tryFixBufferStall(t,n,s){var m,w;const{fragmentTracker:C,media:j}=this,Y=(m=this.hls)==null?void 0:m.config;if(!j||!C||!Y)return;const H=(w=this.hls)==null?void 0:w.latestLevelDetails,te=C.getPartialFragment(s);if((te||H!=null&&H.live&&s<H.fragmentStart)&&(this._trySkipBufferHole(te)||!this.media))return;const oe=t.buffered,me=this.adjacentTraversal(t,s);(oe&&oe.length>1&&t.len>Y.maxBufferHole||t.nextStart&&(t.nextStart-s<Y.maxBufferHole||me))&&(n>Y.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,m=t.nextStart;if(s&&m){const w=s.getFragAtPos(n,u.MAIN),C=s.getFragAtPos(m,u.MAIN);if(w&&C)return C.sn-w.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:m,stalled:w}=this;if(!m&&w!==null&&s&&n){this.stallReported=!0;const C=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Bn(t)})`);this.warn(C.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:C,buffer:t.len,bufferInfo:t,stalled:{start:w}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:m}=this,w=(n=this.hls)==null?void 0:n.config;if(!m||!s||!w)return 0;const C=m.currentTime,j=yn.bufferInfo(m,C,0),Y=C<j.start?j.start:j.nextStart;if(Y&&this.hls){const te=j.len<=w.maxBufferHole,oe=j.len>0&&j.len<1&&m.readyState<3,me=Y-C;if(me>0&&(te||oe)){if(me>w.maxBufferHole){let Ae=!1;if(C===0){const lt=s.getAppendedFrag(0,u.MAIN);lt&&Y<lt.end&&(Ae=!0)}if(!Ae){const lt=t||s.getAppendedFrag(C,u.MAIN);if(lt){var H;if(!((H=this.hls.loadLevelObj)!=null&&H.details)||qc(this.hls.inFlightFragments,Y))return 0;let Lt=!1,tr=lt.end;for(;tr<Y;){const Kt=s.getAppendedFrag(tr,u.MAIN)||s.getPartialFragment(tr);if(Kt)tr+=Kt.duration;else{Lt=!0;break}}if(Lt)return 0}}}const Se=Math.max(Y+df,C+ff);if(this.warn(`skipping hole, adjusting currentTime from ${C} to ${Se}`),this.moved=!0,m.currentTime=Se,!(t!=null&&t.gap)){const Ae=new Error(`fragment loaded with buffer holes, seeking from ${C} to ${Se}`);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Ae,reason:Ae.message,frag:t||void 0,buffer:j.len,bufferInfo:j})}return Se}}return 0}_tryNudgeBuffer(t){const{hls:n,media:s,nudgeRetry:m}=this,w=n==null?void 0:n.config;if(!s||!w)return 0;const C=s.currentTime;if(this.nudgeRetry++,m<w.nudgeMaxRetry){const j=C+(m+1)*w.nudgeOffset,Y=new Error(`Nudging 'currentTime' from ${C} to ${j}`);this.warn(Y.message),s.currentTime=j,n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:Y,fatal:!1,buffer:t.len,bufferInfo:t})}else{const j=new Error(`Playhead still not moving while enough data buffered @${C} after ${w.nudgeMaxRetry} nudges`);this.error(j.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:j,fatal:!0,buffer:t.len,bufferInfo:t})}}}function qc(E,t){const n=Bc(E.main);if(n&&n.start<=t)return n;const s=Bc(E.audio);return s&&s.start<=t?s:null}function Bc(E){if(!E)return null;switch(E.state){case er.IDLE:case er.STOPPED:case er.ENDED:case er.ERROR:return null}return E.frag}const Of=.25;function Af(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function Xc(E,t,n,s,m){let w=new E(t,n,"");try{w.value=s,m&&(w.type=m)}catch(C){w=new E(t,n,Bn(m?b({type:m},s):s))}return w}const Tf=(()=>{const E=Af();try{E&&new E(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class kf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(o.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&rl(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;n<t.length;n++){const s=t[n];if(s.kind==="metadata"&&s.label==="id3")return Ku(s,this.media),s}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:s,enableID3MetadataCues:m}}}=this;if(!s&&!m)return;const{samples:w}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const C=Af();if(C)for(let j=0;j<w.length;j++){const Y=w[j].type;if(Y===ea.emsg&&!s||!m)continue;const H=fo(w[j].data);if(H){const te=w[j].pts;let oe=te+w[j].duration;oe>Tf&&(oe=Tf),oe-te<=0&&(oe=te+Of);for(let Se=0;Se<H.length;Se++){const Ae=H[Se];if(!Ja(Ae)){this.updateId3CueEnds(te,Y);const lt=Xc(C,te,oe,Ae,Y);lt&&this.id3Track.addCue(lt)}}}}}updateId3CueEnds(t,n){var s;const m=(s=this.id3Track)==null?void 0:s.cues;if(m)for(let w=m.length;w--;){const C=m[w];C.type===n&&C.startTime<t&&C.endTime===Tf&&(C.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:s,type:m}){const{id3Track:w,hls:C}=this;if(!C)return;const{config:{enableEmsgMetadataCues:j,enableID3MetadataCues:Y}}=C;if(w&&(j||Y)){let H;m==="audio"?H=te=>te.type===ea.audioId3&&Y:m==="video"?H=te=>te.type===ea.emsg&&j:H=te=>te.type===ea.audioId3&&Y||te.type===ea.emsg&&j,Jl(w,n,s,H)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:s}=this,{dateRanges:m}=t,w=Object.keys(m);let C=this.dateRangeCuesAppended;if(s&&n){var j;if((j=s.cues)!=null&&j.length){const te=Object.keys(C).filter(oe=>!w.includes(oe));for(let oe=te.length;oe--;){const me=te[oe],Se=C[me].cues;delete C[me],Object.keys(Se).forEach(Ae=>{try{const lt=Se[Ae];lt.removeEventListener("enter",this.onEventCueEnter),s.removeCue(lt)}catch(lt){}})}}else C=this.dateRangeCuesAppended={}}const Y=t.fragments[t.fragments.length-1];if(w.length===0||!r(Y==null?void 0:Y.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const H=Af();for(let te=0;te<w.length;te++){const oe=w[te],me=m[oe],Se=me.startTime,Ae=C[oe],lt=(Ae==null?void 0:Ae.cues)||{};let et=(Ae==null?void 0:Ae.durationKnown)||!1,Lt=Tf;const{duration:tr,endDate:Kt}=me;if(Kt&&tr!==null)Lt=Se+tr,et=!0;else if(me.endOnNext&&!et){const Hr=w.reduce((on,zr)=>{if(zr!==me.id){const Yr=m[zr];if(Yr.class===me.class&&Yr.startDate>me.startDate&&(!on||me.startDate<on.startDate))return Yr}return on},null);Hr&&(Lt=Hr.startTime,et=!0)}const Cr=Object.keys(me.attr);for(let Hr=0;Hr<Cr.length;Hr++){const on=Cr[Hr];if(!Ks(on))continue;const zr=lt[on];if(zr)et&&!Ae.durationKnown?zr.endTime=Lt:Math.abs(zr.startTime-Se)>.01&&(zr.startTime=Se,zr.endTime=Lt);else if(H){let Yr=me.attr[on];Pn(on)&&(Yr=V(Yr));const Nr=Xc(H,Se,Lt,{key:on,data:Yr},ea.dateRange);Nr&&(Nr.id=oe,this.id3Track.addCue(Nr),lt[on]=Nr,this.hls.config.interstitialsController&&(on==="X-ASSET-LIST"||on==="X-ASSET-URL")&&Nr.addEventListener("enter",this.onEventCueEnter))}}C[oe]={cues:lt,dateRange:me,durationKnown:et}}}}class hf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:w,maxLiveSyncPlaybackRate:C}=this.config;if(!w||C===1||!s.live)return;const j=this.targetLatency;if(j===null)return;const Y=m-j,H=Math.min(this.maxLatency,j+s.targetduration);if(Y<H&&Y>.05&&this.forwardBufferLength>1){const oe=Math.min(2,Math.max(1,C)),me=Math.round(2/(1+Math.exp(-.75*Y-this.edgeStalled))*20)/20,Se=Math.min(oe,Math.max(1,me));this.changeMediaPlaybackRate(n,Se)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:m}=t,{liveSyncDuration:w,liveSyncDurationCount:C,lowLatencyMode:j}=this.config,Y=this.hls.userConfig;let H=j&&s||n;(this._targetLatencyUpdated||Y.liveSyncDuration||Y.liveSyncDurationCount||H===0)&&(H=w!==void 0?w:C*m);const te=m;return H+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,te)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const m=s.edge,w=t-n-this.edgeStalled,C=m-s.totalduration,j=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(C,w),j)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,m;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class zf extends Ko{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,m=[],w={},C={};let j=!1,Y=!1,H=!1;n.levels.forEach(te=>{const oe=te.attrs;let{audioCodec:me,videoCodec:Se}=te;me&&(te.audioCodec=me=vt(me,s)||void 0),Se&&(Se=te.videoCodec=St(Se));const{width:Ae,height:lt,unknownCodecs:et}=te;let Lt=et?et.length:0;if(et)for(let Nr=Lt;Nr--;){const Fn=et[Nr];this.isAudioSupported(Fn)?(te.audioCodec=me=me?`${me},${Fn}`:Fn,Lt--,pe.audio[me.substring(0,4)]=2):this.isVideoSupported(Fn)&&(te.videoCodec=Se=Se?`${Se},${Fn}`:Fn,Lt--,pe.video[Se.substring(0,4)]=2)}if(j||(j=!!(Ae&&lt)),Y||(Y=!!Se),H||(H=!!me),Lt||me&&!this.isAudioSupported(me)||Se&&!this.isVideoSupported(Se)){this.log(`Some or all CODECS not supported "${oe.CODECS}"`);return}const{CODECS:tr,"FRAME-RATE":Kt,"HDCP-LEVEL":Cr,"PATHWAY-ID":Hr,RESOLUTION:on,"VIDEO-RANGE":zr}=oe,rn=`${`${Hr||"."}-`}${te.bitrate}-${on}-${Kt}-${tr}-${zr}-${Cr}`;if(w[rn])if(w[rn].uri!==te.url&&!te.attrs["PATHWAY-ID"]){const Nr=C[rn]+=1;te.attrs["PATHWAY-ID"]=new Array(Nr+1).join(".");const Fn=this.createLevel(te);w[rn]=Fn,m.push(Fn)}else w[rn].addGroupId("audio",oe.AUDIO),w[rn].addGroupId("text",oe.SUBTITLES);else{const Nr=this.createLevel(te);w[rn]=Nr,C[rn]=1,m.push(Nr)}}),this.filterAndSortMediaOptions(m,n,j,Y,H)}createLevel(t){const n=new _r(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(m.message),n.supportedResult=pr(m,[])}return n}isAudioSupported(t){return De(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return De(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,m,w){let C=[],j=[],Y=t;if((s||m)&&w&&(Y=Y.filter(({videoCodec:et,videoRange:Lt,width:tr,height:Kt})=>(!!et||!!(tr&&Kt))&&ot(Lt))),Y.length===0){Promise.resolve().then(()=>{if(this.hls){let et="no level with compatible codecs found in manifest",Lt=et;n.levels.length&&(Lt=`one or more CODECS in variant not supported: ${Bn(n.levels.map(Kt=>Kt.attrs.CODECS).filter((Kt,Cr,Hr)=>Hr.indexOf(Kt)===Cr))}`,this.warn(Lt),et+=` (${Lt})`);const tr=new Error(et);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:tr,reason:Lt})}});return}n.audioTracks&&(C=n.audioTracks.filter(et=>!et.audioCodec||this.isAudioSupported(et.audioCodec)),pf(C)),n.subtitles&&(j=n.subtitles,pf(j));const H=Y.slice(0);Y.sort((et,Lt)=>{if(et.attrs["HDCP-LEVEL"]!==Lt.attrs["HDCP-LEVEL"])return(et.attrs["HDCP-LEVEL"]||"")>(Lt.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&et.height!==Lt.height)return et.height-Lt.height;if(et.frameRate!==Lt.frameRate)return et.frameRate-Lt.frameRate;if(et.videoRange!==Lt.videoRange)return vr.indexOf(et.videoRange)-vr.indexOf(Lt.videoRange);if(et.videoCodec!==Lt.videoCodec){const tr=Et(et.videoCodec),Kt=Et(Lt.videoCodec);if(tr!==Kt)return Kt-tr}if(et.uri===Lt.uri&&et.codecSet!==Lt.codecSet){const tr=Re(et.codecSet),Kt=Re(Lt.codecSet);if(tr!==Kt)return Kt-tr}return et.averageBitrate!==Lt.averageBitrate?et.averageBitrate-Lt.averageBitrate:0});let te=H[0];if(this.steering&&(Y=this.steering.filterParsedLevels(Y),Y.length!==H.length)){for(let et=0;et<H.length;et++)if(H[et].pathwayId===Y[0].pathwayId){te=H[et];break}}this._levels=Y;for(let et=0;et<Y.length;et++)if(Y[et]===te){var oe;this._firstLevel=et;const Lt=te.bitrate,tr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${Y.length} level(s) found, first bitrate: ${Lt}`),((oe=this.hls.userConfig)==null?void 0:oe.abrEwmaDefaultEstimate)===void 0){const Kt=Math.min(Lt,this.hls.config.abrEwmaDefaultEstimateMax);Kt>tr&&tr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=Kt)}break}const me=w&&!m,Se=this.hls.config,Ae=!!(Se.audioStreamController&&Se.audioTrackController),lt={levels:Y,audioTracks:C,subtitleTracks:j,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:w,video:m,altAudio:Ae&&!me&&C.some(et=>!!et.url)};this.hls.trigger(o.MANIFEST_PARSED,lt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const te=new Error("invalid level idx"),oe=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:oe,error:te,reason:te.message}),oe)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,w=m?m.attrs["PATHWAY-ID"]:void 0,C=n[t],j=C.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=C,s===t&&m&&w===j)return;this.log(`Switching to level ${t} (${C.height?C.height+"p ":""}${C.videoRange?C.videoRange+" ":""}${C.codecSet?C.codecSet+" ":""}@${C.bitrate})${j?" with Pathway "+j:""} from level ${s}${w?" with Pathway "+w:""}`);const Y={level:t,attrs:C.attrs,details:C.details,bitrate:C.bitrate,averageBitrate:C.averageBitrate,maxBitrate:C.maxBitrate,realBitrate:C.realBitrate,width:C.width,height:C.height,codecSet:C.codecSet,audioCodec:C.audioCodec,videoCodec:C.videoCodec,audioGroups:C.audioGroups,subtitleGroups:C.subtitleGroups,loaded:C.loaded,loadError:C.loadError,fragmentError:C.fragmentError,name:C.name,id:C.id,uri:C.uri,url:C.url,urlId:0,audioGroupIds:C.audioGroupIds,textGroupIds:C.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,Y);const H=C.details;if(!H||H.live){const te=this.switchParams(C.uri,m==null?void 0:m.details,H);this.loadPlaylist(te)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(w=>!!s[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 s;const{level:m,details:w}=n,C=n.levelInfo;if(!C){var j;this.warn(`Invalid level index ${m}`),(j=n.deliveryDirectives)!=null&&j.skip&&(w.deltaUpdateFailed=!0);return}if(C===this.currentLevel||n.withoutMultiVariant){C.fragmentError===0&&(C.loadError=0);let Y=C.details;Y===n.details&&Y.advanced&&(Y=void 0),this.playlistLoaded(m,n,Y)}else(s=n.deliveryDirectives)!=null&&s.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 s=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,w=t.attrs["PATHWAY-ID"],C=t.details,j=C==null?void 0:C.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${w?" Pathway "+w:""}${j&&C.live?" age "+j.toFixed(1)+(C.type?" "+C.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((w,C)=>C!==t?!0:(this.steering&&this.steering.removeLevel(w),w===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,w.details&&w.details.fragments.forEach(j=>j.level=-1)),!1));Rr(s),this._levels=s,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const m=s.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(o.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(o.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function pf(E){const t={};E.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function Rf(){return self.SourceBuffer||self.WebKitSourceBuffer}function Bf(){if(!ne())return!1;const t=Rf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function _f(){if(!Bf())return!1;const E=ne();return typeof(E==null?void 0:E.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>E.isTypeSupported(zt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>E.isTypeSupported(zt(t,"audio"))))}function Zf(){var E;const t=Rf();return typeof(t==null||(E=t.prototype)==null?void 0:E.changeType)=="function"}const Cf=100;class g extends Yi{constructor(t,n,s){super(t,n,s,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,w=m?m.currentTime:null;if(w===null||!r(w)||(this.log(`Media seeked to ${w.toFixed(3)}`),!this.getBufferedFrag(w)))return;const C=this.getFwdBufferInfoAtPos(m,w,u.MAIN,0);if(C===null||C.len===0){this.warn(`Main forward buffer length at ${w} on "seeked" event ${C?C.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:m}=this;if(this.stopLoad(),this.setInterval(Cf),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}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=er.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=er.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case er.WAITING_LEVEL:{const{levels:n,level:s}=this,m=n==null?void 0:n[s],w=m==null?void 0:m.details;if(w&&(!w.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(w))break;this.state=er.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=er.IDLE;break}break}case er.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),s=this.retryDate;if(!s||n>=s||(t=this.media)!=null&&t.seeking){const{levels:m,level:w}=this,C=m==null?void 0:m[w];this.resetStartWhenNotLoaded(C||null),this.state=er.IDLE}}break}this.state===er.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:s,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const w=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[w]))return;const C=s[w],j=this.getMainFwdBufferInfo();if(j===null)return;const Y=this.getLevelDetails();if(Y&&this._streamEnded(j,Y)){const lt={};this.altAudio===2&&(lt.type="video"),this.hls.trigger(o.BUFFER_EOS,lt),this.state=er.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 H=C.details;if(!H||this.state===er.WAITING_LEVEL||this.waitForLive(C)){this.level=w,this.state=er.WAITING_LEVEL,this.startFragRequested=!1;return}const te=j.len,oe=this.getMaxBufferLength(C.maxBitrate);if(te>=oe)return;this.backtrackFragment&&this.backtrackFragment.start>j.end&&(this.backtrackFragment=null);const me=this.backtrackFragment?this.backtrackFragment.start:j.end;let Se=this.getNextFragment(me,H);if(this.couldBacktrack&&!this.fragPrevious&&Se&&Oe(Se)&&this.fragmentTracker.getState(Se)!==br.OK){var Ae;const et=((Ae=this.backtrackFragment)!=null?Ae:Se).sn-H.startSN,Lt=H.fragments[et-1];Lt&&Se.cc===Lt.cc&&(Se=Lt,this.fragmentTracker.removeFragment(Lt))}else this.backtrackFragment&&j.len&&(this.backtrackFragment=null);if(Se&&this.isLoopLoading(Se,me)){if(!Se.gap){const et=this.audioOnly&&!this.altAudio?se.AUDIO:se.VIDEO,Lt=(et===se.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Lt&&this.afterBufferFlushed(Lt,et,u.MAIN)}Se=this.getNextFragmentLoopLoading(Se,H,j,u.MAIN,oe)}Se&&(Se.initSegment&&!Se.initSegment.data&&!this.bitrateTest&&(Se=Se.initSegment),this.loadFragment(Se,C,me))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===br.NOT_LOADED||m===br.PARTIAL?Oe(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,s):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const w=this.getLevelDetails();if(w!=null&&w.live){const j=this.getMainFwdBufferInfo();if(!j||j.len<w.targetduration*2)return}if(!n.paused&&t){const j=this.hls.nextLoadLevel,Y=t[j],H=this.fragLastKbps;H&&this.fragCurrent?s=this.fragCurrent.duration*Y.maxBitrate/(1e3*H)+1:s=0}else s=0;const C=this.getBufferedFrag(n.currentTime+s);if(C){const j=this.followingBufferedFrag(C);if(j){this.abortCurrentFrag();const Y=j.maxStartPTS?j.maxStartPTS:j.start,H=j.duration,te=Math.max(C.end,Y+Math.min(Math.max(H-this.config.maxFragLookUpTolerance,H*(this.couldBacktrack?.5:.125)),H*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(te,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const t=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,t&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.state){case er.KEY_LOADING:case er.FRAG_LOADING:case er.FRAG_LOADING_WAITING_RETRY:case er.PARSING:case er.PARSED:this.state=er.IDLE;break}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(t,n){super.flushMainBuffer(t,n,this.altAudio===2?"video":null)}onMediaAttached(t,n){super.onMediaAttached(t,n);const s=n.media;Os(s,"playing",this.onMediaPlaying),Os(s,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:s}=this;s&&(_o(s,"playing",this.onMediaPlaying),_o(s,"seeked",this.onMediaSeeked)),this.videoBuffer=null,this.fragPlaying=null,super.onMediaDetaching(t,n),!n.transferMedia&&(this._hasEnoughToStart=!1)}onManifestLoading(){super.onManifestLoading(),this.log("Trigger BUFFER_RESET"),this.hls.trigger(o.BUFFER_RESET,void 0),this.couldBacktrack=!1,this.fragLastKbps=0,this.fragPlaying=this.backtrackFragment=null,this.altAudio=0,this.audioOnly=!1}onManifestParsed(t,n){let s=!1,m=!1;n.levels.forEach(w=>{const C=w.audioCodec;C&&(s=s||C.indexOf("mp4a.40.2")!==-1,m=m||C.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&m&&!Zf(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:s}=this;if(!s||this.state!==er.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=er.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:w}=this,C=n.level,j=n.details,Y=j.totalduration;if(!m){this.warn(`Levels were reset while loading level ${C}`);return}this.log(`Level ${C} loaded [${j.startSN},${j.endSN}]${j.lastPartSn?`[part-${j.lastPartSn}-${j.lastPartIndex}]`:""}, cc [${j.startCC}, ${j.endCC}] duration:${Y}`);const H=n.levelInfo,te=this.fragCurrent;te&&(this.state===er.FRAG_LOADING||this.state===er.FRAG_LOADING_WAITING_RETRY)&&te.level!==n.level&&te.loader&&this.abortCurrentFrag();let oe=0;if(j.live||(s=H.details)!=null&&s.live){var me;if(this.checkLiveUpdate(j),j.deltaUpdateFailed)return;oe=this.alignPlaylists(j,H.details,(me=this.levelLastLoaded)==null?void 0:me.details)}if(H.details=j,this.levelLastLoaded=H,w||this.setStartPosition(j,oe),this.hls.trigger(o.LEVEL_UPDATED,{details:j,level:C}),this.state===er.WAITING_LEVEL){if(this.waitForCdnTuneIn(j))return;this.state=er.IDLE}w&&j.live&&this.synchronizeToLiveEdge(j),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const m=this.hls.liveSyncPosition,w=this.getLoadPosition(),C=t.fragmentStart,j=t.edge,Y=w>=C-n.maxFragLookUpTolerance&&w<=j;if(m!==null&&s.duration>m&&(w<m||!Y)){const te=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;if((!Y&&s.readyState<4||w<j-te)&&(this._hasEnoughToStart||(this.nextLoadPosition=m),s.readyState))if(this.warn(`Playback: ${w.toFixed(3)} is located too far from the end of live sliding playlist: ${j}, reset currentTime to : ${m.toFixed(3)}`),this.config.liveSyncMode==="buffered"){var H;const oe=yn.bufferInfo(s,m,0);if(!(oe!=null&&(H=oe.buffered)!=null&&H.length)){s.currentTime=m;return}if(oe.start<=w){s.currentTime=m;return}const{nextStart:Se}=yn.bufferedInfo(oe.buffered,w,0);Se&&(s.currentTime=Se)}else s.currentTime=m}}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:w}=t,{levels:C}=this;if(!C){this.warn(`Levels were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const j=C[s.level];if(!j){this.warn(`Level ${s.level} not found on progress`);return}const Y=j.details;if(!Y){this.warn(`Dropping fragment ${s.sn} of level ${s.level} after level details were reset`),this.fragmentTracker.removeFragment(s);return}const H=j.videoCodec,te=Y.PTSKnown||!Y.live,oe=(n=s.initSegment)==null?void 0:n.data,me=this._getAudioCodec(j),Se=this.transmuxer=this.transmuxer||new Oo(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Ae=m?m.index:-1,lt=Ae!==-1,et=new Ms(s.level,s.sn,s.stats.chunkCount,w.byteLength,Ae,lt),Lt=this.initPTS[s.cc];Se.push(w,oe,me,H,s,m,Y.totalduration,te,et,Lt)}onAudioTrackSwitching(t,n){const s=this.hls,m=this.altAudio===2;if(Wn(n.url,s))this.altAudio=1;else{if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const C=this.fragCurrent;C&&(this.log("Switching to main audio track, cancel main fragment load"),C.abortRequests(),this.fragmentTracker.removeFragment(C)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),s.once(o.BUFFER_FLUSHED,()=>{var C;(C=this.hls)==null||C.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=Wn(n.url,this.hls);if(s){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let m,w,C=!1;for(const j in s){const Y=s[j];if(Y.id==="main"){if(w=j,m=Y,j==="video"){const H=s[j];H&&(this.videoBuffer=H.buffer)}}else C=!0}C&&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:s,part:m}=n,w=s.type===u.MAIN;if(w){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===er.PARSED&&(this.state=er.IDLE);return}const j=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*j.total/(j.buffering.end-j.loading.first)),Oe(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const C=this.media;C&&(!this._hasEnoughToStart&&yn.getBuffered(C).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),w&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=er.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===er.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=er.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=er.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==se.AUDIO||!this.altAudio){const s=(n===se.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n<s){if(t.seeking){this.log(`could not seek to ${s}, already seeking at ${n}`);return}const m=this.timelineOffset;m&&s&&(s+=m);const w=this.getLevelDetails(),C=yn.getBuffered(t),j=C.length?C.start(0):0,Y=j-s,H=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||Y>0&&(Y<H||this.loadingParts&&Y<2*((w==null?void 0:w.partTarget)||0)))&&(this.log(`adjusting start position by ${Y} to match buffer start`),s+=Y,this.startPosition=s),n<s&&(this.log(`seek to target start position ${s} from current time ${n} buffer start ${j}`),t.currentTime=s)}}_getAudioCodec(t){let n=this.config.defaultAudioCodec||t.audioCodec;return this.audioCodecSwap&&n&&(this.log("Swapping audio codec"),n.indexOf("mp4a.40.5")!==-1?n="mp4a.40.2":n="mp4a.40.5"),n}_loadBitrateTestFrag(t,n){t.bitrateTest=!0,this._doFragLoad(t,n).then(s=>{const{hls:m}=this,w=s==null?void 0:s.frag;if(!w||this.fragContextChanged(w))return;n.fragmentError=0,this.state=er.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const C=w.stats;C.parsing.start=C.parsing.end=C.buffering.start=C.buffering.end=self.performance.now(),m.trigger(o.FRAG_LOADED,s),w.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const s=this.playlistType,{hls:m}=this,{remuxResult:w,chunkMeta:C}=t,j=this.getCurrentContext(C);if(!j){this.resetWhenMissingContext(C);return}const{frag:Y,part:H,level:te}=j,{video:oe,text:me,id3:Se,initSegment:Ae}=w,{details:lt}=te,et=this.altAudio?void 0:w.audio;if(this.fragContextChanged(Y)){this.fragmentTracker.removeFragment(Y);return}if(this.state=er.PARSING,Ae){if(Ae!=null&&Ae.tracks){const Cr=Y.initSegment||Y;this._bufferInitSegment(te,Ae.tracks,Cr,C),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:Cr,id:s,tracks:Ae.tracks})}const Lt=Ae.initPTS,tr=Ae.timescale,Kt=this.initPTS[Y.cc];r(Lt)&&(!Kt||Kt.baseTime!==Lt||Kt.timescale!==tr)&&(this.initPTS[Y.cc]={baseTime:Lt,timescale:tr},m.trigger(o.INIT_PTS_FOUND,{frag:Y,id:s,initPTS:Lt,timescale:tr}))}if(oe&&lt){et&&oe.type==="audiovideo"&&this.logMuxedErr(Y);const Lt=lt.fragments[Y.sn-1-lt.startSN],tr=Y.sn===lt.startSN,Kt=!Lt||Y.cc>Lt.cc;if(w.independent!==!1){const{startPTS:Cr,endPTS:Hr,startDTS:on,endDTS:zr}=oe;if(H)H.elementaryStreams[oe.type]={startPTS:Cr,endPTS:Hr,startDTS:on,endDTS:zr};else if(oe.firstKeyFrame&&oe.independent&&C.id===1&&!Kt&&(this.couldBacktrack=!0),oe.dropped&&oe.independent){const Yr=this.getMainFwdBufferInfo(),rn=(Yr?Yr.end:this.getLoadPosition())+this.config.maxBufferHole,Nr=oe.firstKeyFramePTS?oe.firstKeyFramePTS:Cr;if(!tr&&rn<Nr-this.config.maxBufferHole&&!Kt){this.backtrack(Y);return}else Kt&&(Y.gap=!0);Y.setElementaryStreamInfo(oe.type,Y.start,Hr,Y.start,zr,!0)}else tr&&Cr-(lt.appliedTimelineOffset||0)>Io&&(Y.gap=!0);Y.setElementaryStreamInfo(oe.type,Cr,Hr,on,zr),this.backtrackFragment&&(this.backtrackFragment=Y),this.bufferFragmentData(oe,Y,H,C,tr||Kt)}else if(tr||Kt)Y.gap=!0;else{this.backtrack(Y);return}}if(et){const{startPTS:Lt,endPTS:tr,startDTS:Kt,endDTS:Cr}=et;H&&(H.elementaryStreams[se.AUDIO]={startPTS:Lt,endPTS:tr,startDTS:Kt,endDTS:Cr}),Y.setElementaryStreamInfo(se.AUDIO,Lt,tr,Kt,Cr),this.bufferFragmentData(et,Y,H,C)}if(lt&&Se!=null&&(n=Se.samples)!=null&&n.length){const Lt={id:s,frag:Y,details:lt,samples:Se.samples};m.trigger(o.FRAG_PARSING_METADATA,Lt)}if(lt&&me){const Lt={id:s,frag:Y,details:lt,samples:me.samples};m.trigger(o.FRAG_PARSING_USERDATA,Lt)}}logMuxedErr(t){this.warn(`${Oe(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,m){if(this.state!==er.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:w,video:C,audiovideo:j}=n;if(w){const H=t.audioCodec;let te=Be(w.codec,H);te==="mp4a"&&(te="mp4a.40.5");const oe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){te&&(te.indexOf("mp4a.40.5")!==-1?te="mp4a.40.2":te="mp4a.40.5");const me=w.metadata;me&&"channelCount"in me&&(me.channelCount||1)!==1&&oe.indexOf("firefox")===-1&&(te="mp4a.40.5")}te&&te.indexOf("mp4a.40.5")!==-1&&oe.indexOf("android")!==-1&&w.container!=="audio/mpeg"&&(te="mp4a.40.2",this.log(`Android: force audio codec to ${te}`)),H&&H!==te&&this.log(`Swapping manifest audio codec "${H}" for "${te}"`),w.levelCodec=te,w.id=u.MAIN,this.log(`Init audio buffer, container:${w.container}, codecs[selected/level/parsed]=[${te||""}/${H||""}/${w.codec}]`),delete n.audiovideo}if(C){C.levelCodec=t.videoCodec,C.id=u.MAIN;const H=C.codec;if((H==null?void 0:H.length)===4)switch(H){case"hvc1":case"hev1":C.codec="hvc1.1.6.L120.90";break;case"av01":C.codec="av01.0.04M.08";break;case"avc1":C.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${C.container}, codecs[level/parsed]=[${t.videoCodec||""}/${H}]${C.codec!==H?" parsed-corrected="+C.codec:""}${C.supplemental?" supplemental="+C.supplemental:""}`),delete n.audiovideo}j&&(this.log(`Init audiovideo buffer, container:${j.container}, codecs[level/parsed]=[${t.codecs}/${j.codec}]`),delete n.video,delete n.audio);const Y=Object.keys(n);if(Y.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;Y.forEach(H=>{const oe=n[H].initSegment;oe!=null&&oe.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:H,data:oe,frag:s,part:null,chunkMeta:m,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=er.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(yn.isBuffered(t,s)?n=this.getAppendedFrag(s):yn.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.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(o.FRAG_CHANGED,{frag:n}),(!m||m.level!==w)&&this.hls.trigger(o.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 s=this.getLevelDetails(),m=this.currentFrag||(s?Yn(null,s.fragments,n):null);if(m){const w=m.programDateTime;if(w!==null){const C=w+(n-m.start)*1e3;return new Date(C)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class P{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[s].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,m,w){return new na({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:w,error:s,networkDetails:m})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let m=0,w=n.length;m<w;m++){const C=n[m];if(t.cc<=C.cc&&(!Oe(t)||!Oe(C)||t.sn<C.sn)||!s&&m==w-1)return this.emeController.selectKeySystemFormat(C).then(j=>{if(!this.emeController)return;C.setKeyFormat(j);const Y=vo(j);if(Y)return this.emeController.getKeySystemAccess([Y])})}if(this.config.requireKeySystemAccessOnStart){const m=go(this.config);if(m.length)return this.emeController.getKeySystemAccess(m)}}return null}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var s,m;n&&t.setKeyFormat(n);const w=t.decryptdata;if(!w){const H=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,H))}const C=w.uri;if(!C)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${C}"`)));let j=this.keyUriToKeyInfo[C];if((s=j)!=null&&s.decryptdata.key)return w.key=j.decryptdata.key,Promise.resolve({frag:t,keyInfo:j});if((m=j)!=null&&m.keyLoadPromise){var Y;switch((Y=j.mediaKeySessionContext)==null?void 0:Y.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return j.keyLoadPromise.then(H=>(w.key=H.keyInfo.decryptdata.key,{frag:t,keyInfo:j}))}}switch(j=this.keyUriToKeyInfo[C]={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(j,t):this.loadKeyEME(j,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(j,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${w.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(s);if(m)return(t.keyLoadPromise=m.then(w=>(t.mediaKeySessionContext=w,s))).catch(w=>{throw t.keyLoadPromise=null,w})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,m=s.loader,w=new m(s);return n.keyLoader=t.loader=w,t.keyLoadPromise=new Promise((C,j)=>{const Y={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},H=s.keyLoadPolicy.default,te={loadPolicy:H,timeout:H.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},oe={onSuccess:(me,Se,Ae,lt)=>{const{frag:et,keyInfo:Lt,url:tr}=Ae;if(!et.decryptdata||Lt!==this.keyUriToKeyInfo[tr])return j(this.createKeyLoadError(et,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),lt));Lt.decryptdata.key=et.decryptdata.key=new Uint8Array(me.data),et.keyLoader=null,Lt.loader=null,C({frag:et,keyInfo:Lt})},onError:(me,Se,Ae,lt)=>{this.resetLoader(Se),j(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${me.code} loading key ${me.text}`),Ae,b({url:Y.url,data:void 0},me)))},onTimeout:(me,Se,Ae)=>{this.resetLoader(Se),j(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Ae))},onAbort:(me,Se,Ae)=>{this.resetLoader(Se),j(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Ae))}};w.load(Y,te,oe)})}resetLoader(t){const{frag:n,keyInfo:s,url:m}=t,w=s.loader;n.keyLoader===w&&(n.keyLoader=null,s.loader=null),delete this.keyUriToKeyInfo[m],w&&w.destroy()}}function U(E){const{type:t}=E;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ge(E,t){let n=E.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class Me{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,m=n.loader,w=s||m,C=new w(n);return this.loaders[t.type]=C,C}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:m,pathwayId:w,url:C,deliveryDirectives:j,levelInfo:Y}=n;this.load({id:s,level:m,pathwayId:w,responseType:"text",type:h.LEVEL,url:C,deliveryDirectives:j,levelOrTrack:Y})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:w,deliveryDirectives:C,track:j}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:w,deliveryDirectives:C,levelOrTrack:j})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:w,deliveryDirectives:C,track:j}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:w,deliveryDirectives:C,levelOrTrack:j})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const m=s.context;m&&!n.levels.some(w=>w===m.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let m=this.getInternalLoader(t);if(m){const H=this.hls.logger,te=m.context;if(te&&te.levelOrTrack===t.levelOrTrack&&(te.url===t.url||te.deliveryDirectives&&!t.deliveryDirectives)){te.url===t.url?H.log(`[playlist-loader]: ignore ${t.url} ongoing request`):H.log(`[playlist-loader]: ignore ${t.url} in favor of ${te.url}`);return}H.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let w;if(t.type===h.MANIFEST?w=s.manifestLoadPolicy.default:w=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let H;if(t.type===h.LEVEL&&t.level!==null?H=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?H=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(H=this.hls.subtitleTracks[t.id].details),H){const te=H.partTarget,oe=H.targetduration;if(te&&oe){const me=Math.max(te*3,oe*.8)*1e3;w=y({},w,{maxTimeToFirstByteMs:Math.min(me,w.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(me,w.maxTimeToFirstByteMs)})}}}const C=w.errorRetry||w.timeoutRetry||{},j={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:C.maxNumRetry||0,retryDelay:C.retryDelayMs||0,maxRetryDelay:C.maxRetryDelayMs||0},Y={onSuccess:(H,te,oe,me)=>{const Se=this.getInternalLoader(oe);this.resetInternalLoader(oe.type);const Ae=H.data;if(Ae.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(H,oe,new Error("no EXTM3U delimiter"),me||null,te);return}te.parsing.start=performance.now(),lo.isMediaPlaylist(Ae)||oe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(H,te,oe,me||null,Se):this.handleMasterPlaylist(H,te,oe,me)},onError:(H,te,oe,me)=>{this.handleNetworkError(te,oe,!1,H,me)},onTimeout:(H,te,oe)=>{this.handleNetworkError(te,oe,!0,void 0,H)}};m.load(t,j,Y)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,m){const w=this.hls,C=t.data,j=ge(t,s),Y=lo.parseMasterPlaylist(C,j);if(Y.playlistParsingError){this.handleManifestParsingError(t,s,Y.playlistParsingError,m,n);return}const{contentSteering:H,levels:te,sessionData:oe,sessionKeys:me,startTimeOffset:Se,variableList:Ae}=Y;this.variableList=Ae;const{AUDIO:lt=[],SUBTITLES:et,"CLOSED-CAPTIONS":Lt}=lo.parseMasterPlaylistMedia(C,j,Y);lt.length&&!lt.some(Kt=>!Kt.url)&&te[0].audioCodec&&!te[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),lt.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Ji({}),bitrate:0,url:""})),w.trigger(o.MANIFEST_LOADED,{levels:te,audioTracks:lt,subtitles:et,captions:Lt,contentSteering:H,url:j,stats:n,networkDetails:m,sessionData:oe,sessionKeys:me,startTimeOffset:Se,variableList:Ae})}handleTrackOrLevelPlaylist(t,n,s,m,w){const C=this.hls,{id:j,level:Y,type:H}=s,te=ge(t,s),oe=r(Y)?Y:r(j)?j:0,me=U(s),Se=lo.parseLevelPlaylist(t.data,te,oe,me,0,this.variableList);if(H===h.MANIFEST){const Ae={attrs:new Ji({}),bitrate:0,details:Se,name:"",url:te};Se.requestScheduled=n.loading.start+In(Se,0),C.trigger(o.MANIFEST_LOADED,{levels:[Ae],audioTracks:[],url:te,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Se,this.handlePlaylistLoaded(Se,t,n,s,m,w)}handleManifestParsingError(t,n,s,m,w){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:m,stats:w})}handleNetworkError(t,n,s=!1,m,w){let C=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?C+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(C+=` id: ${t.id} group-id: "${t.groupId}"`);const j=new Error(C);this.hls.logger.warn(`[playlist-loader]: ${C}`);let Y=f.UNKNOWN,H=!1;const te=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:Y=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,H=!0;break;case h.LEVEL:Y=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,H=!1;break;case h.AUDIO_TRACK:Y=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,H=!1;break;case h.SUBTITLE_TRACK:Y=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,H=!1;break}te&&this.resetInternalLoader(t.type);const oe={type:c.NETWORK_ERROR,details:Y,fatal:H,url:t.url,loader:te,context:t,error:j,networkDetails:n,stats:w};if(m){const me=(n==null?void 0:n.url)||t.url;oe.response=b({url:me,data:void 0},m)}this.hls.trigger(o.ERROR,oe)}handlePlaylistLoaded(t,n,s,m,w,C){const j=this.hls,{type:Y,level:H,id:te,groupId:oe,deliveryDirectives:me}=m,Se=ge(n,m),Ae=U(m),lt=typeof m.level=="number"&&Ae===u.MAIN?H:void 0;if(!t.fragments.length){const Lt=t.playlistParsingError=new Error("No Segments found in Playlist");j.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Se,error:Lt,reason:Lt.message,response:n,context:m,level:lt,parent:Ae,networkDetails:w,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const et=t.playlistParsingError;if(et){if(this.hls.logger.warn(et),!j.config.ignorePlaylistParsingErrors){j.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Se,error:et,reason:et.message,response:n,context:m,level:lt,parent:Ae,networkDetails:w,stats:s});return}t.playlistParsingError=null}switch(t.live&&C&&(C.getCacheAge&&(t.ageHeader=C.getCacheAge()||0),(!C.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),Y){case h.MANIFEST:case h.LEVEL:j.trigger(o.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||j.levels[0],level:lt||0,id:te||0,stats:s,networkDetails:w,deliveryDirectives:me,withoutMultiVariant:Y===h.MANIFEST});break;case h.AUDIO_TRACK:j.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:te||0,groupId:oe||"",stats:s,networkDetails:w,deliveryDirectives:me});break;case h.SUBTITLE_TRACK:j.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:te||0,groupId:oe||"",stats:s,networkDetails:w,deliveryDirectives:me});break}}}class at{static get version(){return Ra}static isMSESupported(){return Bf()}static isSupported(){return _f()}static getMediaSource(){return ne()}static get Events(){return o}static get MetadataSchema(){return ea}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return at.defaultConfig?at.defaultConfig:qo}static set DefaultConfig(t){at.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 Va,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=G(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=cf(at.DefaultConfig,t,n);this.userConfig=t,s.progressive&&bc(s,n);const{abrController:m,bufferController:w,capLevelController:C,errorController:j,fpsController:Y}=s,H=new j(this),te=this.abrController=new m(this),oe=new Dr(this),me=s.interstitialsController,Se=me?this.interstitialsController=new me(this,at):null,Ae=this.bufferController=new w(this,oe),lt=this.capLevelController=new C(this),et=new Y(this),Lt=new Me(this),tr=s.contentSteeringController,Kt=tr?new tr(this):null,Cr=this.levelController=new zf(this,Kt),Hr=new kf(this),on=new P(this.config),zr=this.streamController=new g(this,oe,on),Yr=this.gapController=new Fc(this,oe);lt.setStreamController(zr),et.setStreamController(zr);const rn=[Lt,Cr,zr];Se&&rn.splice(1,0,Se),Kt&&rn.splice(1,0,Kt),this.networkControllers=rn;const Nr=[te,Ae,Yr,lt,et,Hr,oe];this.audioTrackController=this.createController(s.audioTrackController,rn);const Fn=s.audioStreamController;Fn&&rn.push(this.audioStreamController=new Fn(this,oe,on)),this.subtitleTrackController=this.createController(s.subtitleTrackController,rn);const ai=s.subtitleStreamController;ai&&rn.push(this.subtititleStreamController=new ai(this,oe,on)),this.createController(s.timelineController,Nr),on.emeController=this.emeController=this.createController(s.emeController,Nr),this.cmcdController=this.createController(s.cmcdController,Nr),this.latencyController=this.createController(hf,Nr),this.coreComponents=Nr,rn.push(H);const ia=H.onErrorOut;typeof ia=="function"&&this.on(o.ERROR,ia,H),this.on(o.MANIFEST_LOADED,Lt.onManifestLoaded,Lt)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,m){this._emitter.off(t,n,s,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const m=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(o.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const w=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(o.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,s=n?t.media:t,m=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(o.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(o.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,m=this._url=z.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&s&&(s!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(o.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", <skip seek to start>":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s<this.networkControllers.length&&(this.networkControllers[s].startLoad(t,n),!(!this.started||!this.networkControllers));s++);}stopLoad(){this.logger.log("stopLoad"),this.started=!1;for(let t=0;t<this.networkControllers.length&&(this.networkControllers[t].stopLoad(),!(this.started||!this.networkControllers));t++);}get loadingEnabled(){return this.started}get bufferingEnabled(){return this.streamController.bufferingEnabled}resumeBuffering(){this.bufferingEnabled||(this.logger.log("resume buffering"),this.networkControllers.forEach(t=>{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=Vc()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Er(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let m=0;m<s;m++)if(t[m].maxBitrate>=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,s)for(let w=m;w--;){const C=t[w].attrs["HDCP-LEVEL"];if(C&&C<=s)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 s=bi(n);return en(t,s,navigator.mediaCapabilities)}}at.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return i}});function r(l,c,f){var o=f||{},h=o.noTrailing,u=h===void 0?!1:h,a=o.noLeading,x=a===void 0?!1:a,p=o.debounceMode,y=p===void 0?void 0:p,_,b=!1,A=0;function k(){_&&clearTimeout(_)}function L(D){var M=D||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function T(){for(var D=arguments.length,M=new Array(D),B=0;B<D;B++)M[B]=arguments[B];var N=this,K=Date.now()-A;if(b)return;function G(){A=Date.now(),c.apply(N,M)}function W(){_=void 0}!x&&y&&!_&&G(),k(),y===void 0&&K>l?x?(A=Date.now(),u||(_=setTimeout(y?W:G,l))):G():u!==!0&&(_=setTimeout(y?W:G,y===void 0?l-K:l))}return T.cancel=L,T}function i(l,c,f){var o=f||{},h=o.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};v=v||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~v.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",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",492:"p__Declaration__Research__projectconclusion__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",1053:"p__Declaration__Research__projectconclusion__Edit__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",1428:"p__Declaration__Research__teacherwork__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",2654:"p__Declaration__Research__SocialServices__Edit__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",3417:"p__Declaration__Research__undergraduatework__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",5017:"p__Declaration__Research__SocialServices__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",5781:"p__Declaration__Research__teacherwork__Edit__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",7577:"p__Declaration__Research__WorkloadManage__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",7676:"p__Declaration__Research__undergraduatework__Edit__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",8063:"p__Declaration__Statistics__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",9376:"p__Declaration__Innovation__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",9938:"p__Declaration__Statistics__Person__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index",9995:"p__Declaration__Research__TeachBook__Edit__index"}[d]||d)+"."+{26:"153aac9b",33:"23065739",67:"91b42718",70:"ec9cd0c3",109:"b366235a",146:"c25a8837",169:"5d50f3f1",195:"e4a63235",233:"6f093add",264:"604a8729",265:"227c3498",292:"fcc1fded",310:"e04696f8",316:"1f60ada6",337:"d31a3697",342:"44d519ee",354:"d4d139cf",391:"6e5923b0",425:"83d917e2",479:"4a4a9024",485:"4253aeae",492:"83330bd1",508:"a32a44c2",532:"22f21d28",533:"a7d5e9ba",547:"24bbee7d",556:"085757e8",559:"bc2a9a11",570:"6a7732c7",576:"250cbe78",599:"ed444d24",629:"44a1d9a5",643:"50eea20a",671:"4a609b8d",672:"fe916e9f",680:"8f6ff7c4",700:"416fbe38",737:"017e5b4b",741:"ac5fd360",799:"d998dda8",869:"371135bf",895:"573619a8",921:"ad9db389",928:"3beb70a2",957:"c49a4f13",981:"24da50c7",1006:"0fd5bce3",1043:"ea6d36f2",1045:"9cb60977",1048:"ece3e731",1053:"79ccfb53",1070:"2fa5e682",1144:"c90eccaf",1148:"57ce0859",1154:"8cb80842",1211:"836c797f",1253:"e940e5b7",1257:"d8ac543d",1265:"f0f6db80",1274:"5f6ea65a",1276:"5a16a6b9",1279:"476fbfd6",1343:"ac06001e",1416:"79c95eb7",1423:"266d3590",1427:"dfb343f8",1428:"e11105b7",1450:"d3f47191",1461:"6dd933a2",1462:"fcf08abc",1470:"761cd4f8",1475:"57752e64",1482:"88aaeafc",1512:"d95c5db9",1520:"57e34d6f",1538:"cd2529b0",1545:"c9fb6de0",1578:"61f3b2b8",1581:"2b1d7ebb",1582:"b6d71fbb",1646:"e6e27b60",1657:"9517789a",1660:"382acf11",1674:"72a3a31b",1702:"1dbdcb5c",1713:"e1176323",1717:"1166cb3e",1727:"3e51d7a5",1783:"3c1a74e9",1799:"abeaa54d",1831:"1d975f59",1836:"ffeb21c1",1855:"a387e74d",1880:"22cd5587",1939:"76949dac",1953:"7acbac96",1962:"600b03d8",2011:"59d51f98",2029:"72d25a1d",2045:"e9c562bc",2076:"b36a0cd6",2086:"921717b0",2102:"2235764f",2141:"f18201d1",2216:"bd8a0200",2240:"ff2e7a2e",2249:"f4830452",2254:"e1e40bea",2300:"f7b34b30",2303:"f1b40896",2307:"3d6edbed",2338:"86dddcf0",2339:"d2ff36be",2364:"f89faf70",2385:"410d2a47",2386:"192e235c",2396:"00b7664e",2404:"6eeb5a90",2412:"c81ca491",2425:"63a2b9a7",2443:"5ebf829c",2476:"8a5f15c9",2494:"68080a87",2501:"2839ac32",2529:"ed47532d",2538:"de4a3723",2539:"fcba33ff",2548:"aa53f43d",2570:"5c86178a",2594:"e87d3761",2603:"a2cc462a",2625:"f970b9b9",2654:"32568b8a",2659:"eb719cac",2707:"f9152b20",2806:"e7e2f63f",2819:"02a46314",2823:"b40c93d1",2826:"00b5c275",2829:"dd3c4223",2837:"54a82605",2865:"d1afca55",2875:"78f4c8b4",2884:"baa0d7ae",2969:"ab3357d7",2983:"9396b14c",3006:"81dbfcdc",3133:"9bf3f89c",3141:"99d84838",3157:"6f95e225",3183:"53c0f15f",3198:"8e655451",3212:"f807d0b8",3220:"be1511c6",3247:"ecfa885f",3260:"6746463c",3261:"09235c18",3276:"49f4bc47",3282:"abcf24fd",3317:"0155f2f8",3332:"5c17812d",3355:"97ff3c1b",3356:"dbc19fdf",3391:"a88f676d",3417:"237fc25f",3433:"6da586ad",3442:"88c29b20",3447:"79ea1873",3451:"eb5ef3b0",3496:"371ed1bb",3509:"4d0719b9",3550:"3dc83156",3581:"dfbe9d0c",3585:"21ac4c89",3665:"7c0757b4",3668:"bca1af79",3677:"36b20b82",3697:"481a10d9",3747:"eabbfa91",3754:"44878e23",3777:"d5b0f2f1",3784:"739e7024",3805:"9dbcb95e",3862:"43117f72",3873:"5e6f8c3d",3885:"f87f7f15",3910:"a3b97753",3914:"af5b6a25",3935:"74d0c027",3939:"177e3dd8",3951:"8e62a231",3987:"5cecd51b",3996:"6ff0a13c",4014:"27a8e97c",4017:"55e12afd",4030:"be449c24",4056:"d846513f",4058:"82246f46",4078:"a4ceb03b",4088:"236723f3",4093:"114d55f4",4105:"89ca362c",4142:"97d1c7d9",4144:"d0384044",4164:"7ab3cbab",4216:"66b12751",4217:"81dcacb3",4227:"b57d6f18",4259:"54f2da5c",4264:"3d02927c",4292:"ae276c4b",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"621f443d",4492:"48ce07a6",4496:"008d633f",4498:"064bd266",4504:"3f75d7a9",4514:"1dda6d66",4520:"1a75b3d7",4546:"fa3b9805",4565:"ae294bdd",4572:"35089e70",4599:"61def4cb",4601:"a7bfbcbd",4610:"e2fc20a0",4621:"b60e1f4a",4628:"ece2c60c",4662:"e0e46535",4685:"c33f1528",4715:"123ac743",4736:"5fedc65c",4741:"d3bf2ad1",4757:"5b9a1f8c",4766:"851589b4",4770:"2190d44c",4790:"619413e4",4795:"d0a0adaf",4797:"a24e92db",4800:"d20540b1",4849:"4cef9d16",4850:"1edda4b7",4862:"0209eb4b",4884:"2e5ce217",4889:"6dad98e9",4928:"713e2749",4973:"63423815",4994:"83af1f0e",5017:"afc618e3",5022:"07a3dc25",5043:"aa1c56cb",5048:"b98b0a73",5060:"85dafcc6",5089:"668672b2",5096:"deb744d5",5111:"dafdba43",5125:"d8dae99d",5148:"5aec565b",5176:"233c9f7b",5179:"584bd04f",5186:"3595b020",5191:"17d9a54f",5232:"6ae24b40",5238:"946a722a",5265:"f519c13f",5290:"5dabcdc2",5297:"b0d1eebd",5301:"3be9b92f",5319:"93fa272b",5321:"1163c84e",5335:"15178e2e",5354:"7ae70604",5357:"bae1b2b2",5359:"6df1bb7a",5382:"c167cbaa",5402:"382153be",5416:"454536b7",5434:"38b302a6",5470:"b42ade96",5472:"b3e0664a",5494:"d89549c4",5518:"9f2c560b",5549:"28009510",5572:"7eb543e5",5573:"e6d4df1a",5599:"e2297958",5624:"1646b666",5631:"e00d3d36",5650:"18dfad71",5679:"4a090bef",5705:"956a5d8e",5729:"c5f77d1c",5764:"e0d7e586",5775:"b9211823",5781:"daeb1801",5786:"a972d493",5798:"346f7d1c",5807:"2cf9e9ab",5816:"6d69e117",5825:"c7bf68cb",5876:"5eded409",5888:"f14a4dca",5891:"21132c36",5895:"062252e8",5902:"fa058979",5908:"2f27a4ae",5915:"244114f7",5972:"c75125fd",5992:"b97913bf",6029:"b5a0ec0e",6034:"781d0f41",6045:"d268f87f",6047:"3ce45acd",6052:"0fcf1ca6",6063:"25d9a1f0",6069:"3459d484",6126:"99519171",6127:"842514a1",6170:"c4b92aae",6265:"a66ed09c",6270:"3b308fda",6277:"095eab65",6290:"0d3d1401",6328:"03a95756",6366:"024a32ef",6378:"7f3a946a",6411:"3b971528",6434:"f033f377",6444:"ce3e3d4e",6452:"dcf74cf3",6531:"5b8bb018",6541:"3794d745",6583:"9c9e8fb9",6587:"65fe8975",6634:"25986825",6651:"e7a7ede2",6656:"7d88b0b0",6685:"3069662f",6729:"48f6521e",6741:"f0a460ab",6758:"bd4f3af6",6774:"59d4d618",6784:"95e65625",6788:"f497cbaf",6796:"71a0a1ba",6805:"70098ddd",6820:"38d972cb",6845:"3ecbc2d6",6882:"7ba79520",6883:"6cb80143",6904:"8397d5ac",6913:"9efa9395",6963:"4defeb43",6982:"86f6022b",7008:"e1a15dc1",7043:"0c171fec",7045:"08773731",7046:"4ac49cf5",7058:"40016916",7062:"88db1e55",7084:"46ccce72",7156:"e7466006",7178:"431e096f",7182:"9a6662ea",7242:"0d17a21e",7260:"96a8dc50",7280:"3beff53b",7285:"6a558c51",7331:"2e27a23b",7333:"c53edb36",7365:"1005464f",7395:"a8e3a9b9",7460:"7d4c161c",7477:"df54dc57",7482:"afd55f70",7527:"f7fe7a0f",7529:"b0a7623d",7545:"b2965ddc",7560:"e15007f0",7577:"d2edea02",7589:"54f29243",7591:"c8233ce9",7608:"574e6ed4",7614:"eed65a62",7622:"e259757b",7676:"20d32408",7686:"4fcec9f9",7706:"c2a79e40",7806:"34f991ee",7852:"2e15f542",7855:"6b79216d",7857:"91ee9735",7878:"e7cfda36",7884:"9c7a030e",7922:"00a90c28",7948:"839e464e",7963:"64ac60d4",7964:"29aed9a1",8014:"55eef714",8062:"428b05b4",8063:"502c9a46",8072:"cc437e5e",8077:"c203ce20",8085:"13dc9634",8089:"d536b13a",8143:"66c11b6e",8155:"e9a055c7",8161:"83c5fa9a",8205:"7c1111ad",8237:"d42ff46c",8241:"41cbb8b7",8302:"53ca2a4a",8307:"3fc18480",8325:"ca5e41c9",8340:"41dcedcc",8350:"07df8a75",8365:"02a8f67a",8398:"885014b2",8431:"a2c4b03b",8435:"043f02f8",8447:"97f9c177",8517:"6779c26d",8561:"333e8ec9",8563:"fe761155",8634:"7cd83c11",8639:"ebbaf1d9",8665:"648291b6",8688:"8fbc8a23",8689:"d4368290",8723:"d34e68e5",8737:"ce7dad23",8776:"0ad26240",8782:"02369a2a",8787:"6d76fcd1",8797:"18fa8231",8823:"77dce84e",8827:"9f9cb183",8842:"9f25a3e2",8866:"1dddfa4f",8882:"3dad4dc4",8885:"4161ea2c",8898:"d002bcd8",8902:"d600da61",8909:"ed6300cb",8920:"7f82440c",8963:"790aecdd",8982:"1a0d747e",8999:"120eafae",9076:"b772835c",9104:"bbcb2345",9133:"45521b85",9205:"7ee15cb1",9215:"e37421c2",9252:"0d791a59",9260:"cf5f8140",9332:"30b56d42",9360:"6f8c90a1",9366:"168aa68f",9376:"62235743",9391:"5d0e18ca",9404:"9fcc3d3e",9408:"36ca848e",9416:"4e504c9c",9487:"4d567133",9489:"9ae8cb73",9507:"95aa9daf",9516:"4c76a1d5",9519:"d0188683",9554:"ed358e7b",9559:"f794af19",9590:"72a467a1",9596:"9298b9e6",9647:"294518f1",9649:"035b274c",9674:"c3825062",9677:"231d7a57",9695:"8290c792",9715:"9074331c",9716:"4b083fd4",9785:"3abfe157",9788:"ac0dced5",9890:"8f67b96c",9891:"10683593",9895:"b8e31ff2",9921:"1ceb525a",9922:"62155e81",9928:"5989f5e0",9938:"0267ac01",9944:"a447b639",9950:"74f6dfb2",9968:"17466785",9995:"c49841bf"}[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",492:"p__Declaration__Research__projectconclusion__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",1053:"p__Declaration__Research__projectconclusion__Edit__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",1428:"p__Declaration__Research__teacherwork__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",2654:"p__Declaration__Research__SocialServices__Edit__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",3417:"p__Declaration__Research__undergraduatework__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",5017:"p__Declaration__Research__SocialServices__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",5781:"p__Declaration__Research__teacherwork__Edit__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",7577:"p__Declaration__Research__WorkloadManage__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",7676:"p__Declaration__Research__undergraduatework__Edit__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",8063:"p__Declaration__Statistics__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",9376:"p__Declaration__Innovation__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",9938:"p__Declaration__Statistics__Person__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",492:"47ea426e",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",1053:"de715ff5",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1279:"27e9950f",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1428:"cd183b71",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",2654:"34617fc2",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",3417:"28108ef7",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",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",5017:"52f8550b",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",5781:"1300a259",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",6656:"03cdfb68",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"558cc090",6784:"1affe817",6788:"9cd39ff5",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"fe78dd10",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7280:"502dfca6",7285:"f1adbccb",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7529:"6a5bc8ab",7545:"1f6a7624",7560:"d82e43ca",7577:"809a1d66",7589:"2a3e68f3",7608:"fd79cfde",7614:"de9ee12f",7622:"ca0e645a",7676:"3d4e5d6f",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8063:"4f44db0b",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",9376:"4f44db0b",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",9938:"4f44db0b",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,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,r,i){if(d[v]){d[v].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),o=0;o<f.length;o++){var h=f[o];if(h.getAttribute("src")==v){l=h;break}}l||(c=!0,l=document.createElement("script"),l.charset="utf-8",l.timeout=120,__webpack_require__.nc&&l.setAttribute("nonce",__webpack_require__.nc),l.src=v,l.src.indexOf(window.location.origin+"/")!==0&&(l.crossOrigin="anonymous")),d[v]=[e];var u=function(x,p){l.onerror=l.onload=null,clearTimeout(a);var y=d[v];if(delete d[v],l.parentNode&&l.parentNode.removeChild(l),y&&y.forEach(function(_){return _(p)}),x)return x(p)},a=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),c&&document.head.appendChild(l)}}(),function(){__webpack_require__.r=function(d){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(d,"__esModule",{value:!0})}}(),function(){__webpack_require__.nmd=function(d){return d.paths=[],d.children||(d.children=[]),d}}(),function(){__webpack_require__.p="/react/build/"}(),function(){if(typeof document!="undefined"){var d=function(i,l,c,f,o){var h=document.createElement("link");h.rel="stylesheet",h.type="text/css";var u=function(a){if(h.onerror=h.onload=null,a.type==="load")f();else{var x=a&&(a.type==="load"?"missing":a.type),p=a&&a.target&&a.target.href||l,y=new Error("Loading CSS chunk "+i+` failed.
(`+p+")");y.code="CSS_CHUNK_LOAD_FAILED",y.type=x,y.request=p,h.parentNode.removeChild(h),o(y)}};return h.onerror=h.onload=u,h.href=l,h.href.indexOf(window.location.origin+"/")!==0&&(h.crossOrigin="anonymous"),c?c.parentNode.insertBefore(h,c.nextSibling):document.head.appendChild(h),h},v=function(i,l){for(var c=document.getElementsByTagName("link"),f=0;f<c.length;f++){var o=c[f],h=o.getAttribute("data-href")||o.getAttribute("href");if(o.rel==="stylesheet"&&(h===i||h===l))return o}for(var u=document.getElementsByTagName("style"),f=0;f<u.length;f++){var o=u[f],h=o.getAttribute("data-href");if(h===i||h===l)return o}},e=function(i){return new Promise(function(l,c){var f=__webpack_require__.miniCssF(i),o=__webpack_require__.p+f;if(v(f,o))return l();d(i,o,null,l,c)})},r={4620:0};__webpack_require__.f.miniCss=function(i,l){var c={26:1,67:1,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,492: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,1053: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,1428: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,2654: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,3417:1,3433:1,3442:1,3447:1,3451:1,3496:1,3509:1,3581:1,3585: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,5017: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,5781: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,6656:1,6685:1,6729:1,6741:1,6758:1,6784:1,6788:1,6796:1,6805:1,6820:1,6845:1,6882:1,6883:1,6904:1,6913:1,6963:1,6982:1,7008:1,7043:1,7045:1,7046:1,7058:1,7062:1,7178:1,7182:1,7242:1,7260:1,7280:1,7285:1,7395:1,7460:1,7477:1,7482:1,7527:1,7529:1,7545:1,7560:1,7577:1,7589:1,7608:1,7614:1,7622:1,7676:1,7806:1,7852:1,7855:1,7857:1,7878:1,7884:1,7922:1,7948:1,8014:1,8062:1,8063: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,9376: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,9938: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),o=new Error,h=function(u){if(__webpack_require__.o(d,r)&&(l=d[r],l!==0&&(d[r]=void 0),l)){var a=u&&(u.type==="load"?"missing":u.type),x=u&&u.target&&u.target.src;o.message="Loading chunk "+r+` failed.
(`+a+": "+x+")",o.name="ChunkLoadError",o.type=a,o.request=x,l[1](o)}};__webpack_require__.l(f,h,"chunk-"+r,r)}};var v=function(r,i){var l=i[0],c=i[1],f=i[2],o,h,u=0;if(l.some(function(x){return d[x]!==0})){for(o in c)__webpack_require__.o(c,o)&&(__webpack_require__.m[o]=c[o]);if(f)var a=f(__webpack_require__)}for(r&&r(i);u<l.length;u++)h=l[u],__webpack_require__.o(d,h)&&d[h]&&d[h][0](),d[h]=0},e=self.webpackChunk=self.webpackChunk||[];e.forEach(v.bind(null,0)),e.push=v.bind(null,e.push.bind(e))}();var __webpack_exports__={};(function(){"use strict";var d=__webpack_require__(68557),v=__webpack_require__(44852),e=__webpack_require__(64003),r=__webpack_require__(17898),i=__webpack_require__(40902),l=__webpack_require__(2259),c=__webpack_require__(14589),f=__webpack_require__(69811),o=__webpack_require__(18114),h=__webpack_require__(23844),u=__webpack_require__(39581),a=__webpack_require__(40632),x=__webpack_require__(22690),p=__webpack_require__(7786),y=__webpack_require__(99062),_=__webpack_require__(31808),b=__webpack_require__(99953),A=__webpack_require__(86357),k=__webpack_require__(93074),L=__webpack_require__(96331),T=__webpack_require__(2924),D=__webpack_require__(26425),M=__webpack_require__(32125),B=__webpack_require__(16137),N=__webpack_require__(48435),K=__webpack_require__(11553),G=__webpack_require__(70365),W=__webpack_require__(33717),ne=__webpack_require__(17482),ae=__webpack_require__(23708),le=__webpack_require__(65033),Q=__webpack_require__(52732),J=__webpack_require__(99382),V=__webpack_require__(88437),ue=__webpack_require__(68440),ee=__webpack_require__(13412),X=__webpack_require__(11005),ce=__webpack_require__(70348),z=__webpack_require__(19801),$=__webpack_require__(91550),se=__webpack_require__(85223),_e=__webpack_require__(7154),Oe=__webpack_require__(67788),Le=__webpack_require__(96009),He=__webpack_require__(9402),$e=__webpack_require__(62489),Bt=__webpack_require__(80881),yt=__webpack_require__(62837),It=__webpack_require__(4705),rr=__webpack_require__(13941),Yt=__webpack_require__(1148),lr=__webpack_require__(82445),Ve=__webpack_require__(27267),Ct=__webpack_require__(96353),Ut=__webpack_require__(90308),st=__webpack_require__(84818),xt=__webpack_require__(80585),ht=__webpack_require__(89170),rt=__webpack_require__(71012),Ue=__webpack_require__(84203),ye=__webpack_require__(22112),Ce=__webpack_require__(81440),Fe=__webpack_require__(25430),je=__webpack_require__(70105),Ge=__webpack_require__(71390),it=__webpack_require__(96844),ct=__webpack_require__(83578),Gt=__webpack_require__(69762),Ht=__webpack_require__(76880),Pe=__webpack_require__(65009),tt=__webpack_require__(28796),Vt=__webpack_require__(56450),kt=__webpack_require__(78342),Zt=__webpack_require__(13161),Nt=__webpack_require__(54226),At=__webpack_require__(70201),qt=__webpack_require__(34941),Ke=__webpack_require__(85671),fe=__webpack_require__(35152),pe=__webpack_require__(85660),Dt=__webpack_require__(80031),De=__webpack_require__(34434),ft=__webpack_require__(83579),zt=__webpack_require__(74307),Et=__webpack_require__(97423),Re=__webpack_require__(93321),wt=__webpack_require__(82277),xe=__webpack_require__(61425),qe=__webpack_require__(61873),vt=__webpack_require__(9307),Ft=__webpack_require__(8821),Be=__webpack_require__(64385),Pr=__webpack_require__(64099),St=__webpack_require__(62455),Zr=__webpack_require__(79965),Vr=__webpack_require__(59118),xr=__webpack_require__(275),Br=__webpack_require__(31919),pr=__webpack_require__(51284),$r=__webpack_require__(10177),en=__webpack_require__(85690),an=__webpack_require__(92114),sr=__webpack_require__(1017),Rt=__webpack_require__(14480),mt=__webpack_require__(40516),gt=__webpack_require__(76345),$t=__webpack_require__(7282),Er=__webpack_require__(58055),vr=__webpack_require__(93547),ot=__webpack_require__(31237),Mr=__webpack_require__(17954),dn=__webpack_require__(58580),jn=__webpack_require__(47146),_r=__webpack_require__(40416),qr=__webpack_require__(7615),ln=__webpack_require__(72820),Ln=__webpack_require__(86070),Vn=__webpack_require__(23569),Bn=__webpack_require__(55639),Ui=__webpack_require__(63046),pi=__webpack_require__(464),bi=__webpack_require__(51082),_i=__webpack_require__(83850),li=__webpack_require__(41990),Ki=__webpack_require__(15787),Zn=__webpack_require__(55888),Gi=__webpack_require__(53827),ui=__webpack_require__(78143),we=__webpack_require__(66419),Nn=__webpack_require__(75765),qn=__webpack_require__(14645),Wn=__webpack_require__(71122),zi=__webpack_require__(42084),di=__webpack_require__(25070),Ti=__webpack_require__(77140),Yn=__webpack_require__(15954),Jt=__webpack_require__(4266),pt=__webpack_require__(49988),nt=__webpack_require__(38823),Ot=__webpack_require__(24627),dt=__webpack_require__(4045),or=__webpack_require__(50747),cr=__webpack_require__(43595),Ar=__webpack_require__(92324),Ir=__webpack_require__(23551),Ze=__webpack_require__(74521),Je=__webpack_require__(57891),Ee=__webpack_require__(84138),ut=__webpack_require__(51832),ir=__webpack_require__(37135),br=__webpack_require__(6474),Dr=__webpack_require__(40135),wr=__webpack_require__(7982),Fr=__webpack_require__(14893),hn=__webpack_require__(49233),Tr=__webpack_require__(92130),sn=__webpack_require__(42844),Xr=__webpack_require__(6536),nn=__webpack_require__(27228),gn=__webpack_require__(62921),da=__webpack_require__(44001),mi=__webpack_require__(92262),ci=__webpack_require__(54744),Cn=__webpack_require__(38214),Pi=__webpack_require__(12756),Oi=__webpack_require__(93379),aa=__webpack_require__(62007),Cs=__webpack_require__(90572),na=__webpack_require__(37343),vs=__webpack_require__(45945),Ms=__webpack_require__(75551),Ba=__webpack_require__(32493),sa=__webpack_require__(20852),yn=__webpack_require__(46302),bs=__webpack_require__(18827),Xa=__webpack_require__(76718),xs=__webpack_require__(79172),ji=__webpack_require__(32192),Fs=__webpack_require__(42828),So=__webpack_require__(5658),Da=__webpack_require__(55629),Ji=__webpack_require__(62925),Qa=__webpack_require__(9595),Ks=__webpack_require__(58127),Pn=__webpack_require__(70917),Wa=__webpack_require__(53427),mo=__webpack_require__(70878),Bs=__webpack_require__(49257),Li=__webpack_require__(72910),Oa=__webpack_require__(34932),ka=__webpack_require__(81046),os=__webpack_require__(85744),Qs=__webpack_require__(13494),Ao=__webpack_require__(56338),To=__webpack_require__(66755),ws=__webpack_require__(68709),wa=__webpack_require__(4939),us=__webpack_require__(81927),vo=__webpack_require__(60462),Do=__webpack_require__(72571),go=__webpack_require__(71200),$o=__webpack_require__(85767),oi=__webpack_require__(84432),ni=__webpack_require__(59022),Ga=__webpack_require__(19363),ts=__webpack_require__(51054),Ia=__webpack_require__(60330),uo=__webpack_require__(55234),jo=__webpack_require__(88104),Qo=__webpack_require__(64336),ls=__webpack_require__(63914),hu=__webpack_require__(35246),Go=__webpack_require__(83470),su=__webpack_require__(79641),lo=__webpack_require__(72397),$u=__webpack_require__(24860),Co=__webpack_require__(19320),wo=__webpack_require__(56233),Uo=__webpack_require__(59419),pu=__webpack_require__(64344),Ys=__webpack_require__(5316),bu=__webpack_require__(93744),Jo=__webpack_require__(19299),zo=__webpack_require__(15286),Zo=__webpack_require__(91927),ns=__webpack_require__(27730),Js=__webpack_require__(58707),ju=__webpack_require__(41356),Qt=__webpack_require__(51606),fr=__webpack_require__(8966),ar=__webpack_require__(38458),dr=__webpack_require__(71957),Sr=__webpack_require__(89466),un=__webpack_require__(69653),Mn=__webpack_require__(96519),bn=__webpack_require__(95576),In=__webpack_require__(63079),Qn=__webpack_require__(8995),Xn=__webpack_require__(23080),ur=__webpack_require__(74701),Rr=__webpack_require__(91809),Or=__webpack_require__(77517),pn=__webpack_require__(30149),_n=__webpack_require__(55410),_t=__webpack_require__(46161),Dn=__webpack_require__(14800),kn=__webpack_require__(91130),vi=__webpack_require__(2722),Wi=__webpack_require__(55885),er=__webpack_require__(39034),Yi=__webpack_require__(8604),ki=__webpack_require__(64963),ua=__webpack_require__(25178),qs=__webpack_require__(1905),fs=__webpack_require__(94306),Ci=__webpack_require__(11762),co=__webpack_require__(93164),Zs=__webpack_require__(88900),Va=__webpack_require__(54815),Ra=__webpack_require__(81138),eo=__webpack_require__(37252),to=__webpack_require__(81673),mn=__webpack_require__(48966),Es=__webpack_require__(13015),Hs=__webpack_require__(78527),Xe=__webpack_require__(20511),Qe=__webpack_require__(78366),Mt=__webpack_require__(27427),Wt=__webpack_require__(43890),mr=__webpack_require__(55844),Lr=__webpack_require__(71361),jr=__webpack_require__(44550),cn=__webpack_require__(413),tn=__webpack_require__(77464),fn=__webpack_require__(77703),Hn=__webpack_require__(93854),Kn=__webpack_require__(962),fi=__webpack_require__(44169),xi=__webpack_require__(56272),qi=__webpack_require__(43466),Ri=__webpack_require__(48156),wi=__webpack_require__(93236),ha=__webpack_require__(42212),gi=__webpack_require__(63923),yi=__webpack_require__(2278),pa=__webpack_require__(36955),ro=__webpack_require__(77326),Ss=__webpack_require__(53571),Na=__webpack_require__(28670),$a=__webpack_require__(31050),za=__webpack_require__(25321),Ii=__webpack_require__(96364),ga=__webpack_require__(46304),La=__webpack_require__(55163),Ka=__webpack_require__(78722),fo=__webpack_require__(35977),Ja=__webpack_require__(81848),Ea=__webpack_require__(52867),Ns=__webpack_require__(72211),ea=__webpack_require__(84862),cs=__webpack_require__(92381),la=__webpack_require__(19517),Ya=__webpack_require__(69667),gs=__webpack_require__(80820),ya=__webpack_require__(87873),be=__webpack_require__(54609),Te=__webpack_require__(28566),yr=__webpack_require__(51697),Kr=__webpack_require__(61872),gr=__webpack_require__(76077),Wr=__webpack_require__(9196),xn=__webpack_require__(5369),Gn=__webpack_require__(26259),Di=__webpack_require__(47736),On=__webpack_require__(28220),Rn=__webpack_require__(62060),En=__webpack_require__(49350),oa=__webpack_require__(20126),ja=__webpack_require__(18090),Eo=__webpack_require__(14309),ho=__webpack_require__(17822),eu=__webpack_require__(83543),xl=__webpack_require__(13853),Uu=__webpack_require__(25188),_u=__webpack_require__(10215),wc=__webpack_require__(3432),xu=__webpack_require__(90486),We=__webpack_require__(6736),Z=__webpack_require__(8774),q=__webpack_require__(94065),ie=__webpack_require__(93036),he=__webpack_require__(75708),Ie=__webpack_require__(84624),Ye=__webpack_require__(66233),Tt=__webpack_require__(43710),jt=__webpack_require__(92762),nr=__webpack_require__(24467),Pt=__webpack_require__(68465),Ur=__webpack_require__(77004),Qr=__webpack_require__(83925),vn=__webpack_require__(51117),Tn=__webpack_require__(87236),Un=__webpack_require__(83733),Ei=__webpack_require__(92044),ca=__webpack_require__(29190),ta=__webpack_require__(10775),fa=__webpack_require__(19593),Ua=__webpack_require__(26502),es=__webpack_require__(10174),ds=__webpack_require__(96378),is=__webpack_require__(58216),Xi=__webpack_require__(41401),$s=__webpack_require__(79908),Ps=__webpack_require__(82531),Sa=__webpack_require__(79890),po=__webpack_require__(88472),yo=__webpack_require__(38944),tu=__webpack_require__(78423),Is=__webpack_require__(65713),Ds=__webpack_require__(22968),Vo=__webpack_require__(17564),wl=__webpack_require__(1220),el=__webpack_require__(44886),Ma=__webpack_require__(57019),ou=__webpack_require__(35295),Ws=__webpack_require__(80286),zu=__webpack_require__(38487),Tu=__webpack_require__(29916),Oo=__webpack_require__(25541),Po=__webpack_require__(45612),$l=__webpack_require__(34926),Ko=__webpack_require__(98080),El=__webpack_require__(68255),js=__webpack_require__(96351),Ho=__webpack_require__(16450),Zu=__webpack_require__(60244),jl=__webpack_require__(86921),Cu=__webpack_require__(82928),uc=__webpack_require__(42947),Ul=__webpack_require__(71568),Sl=__webpack_require__(94194),lc=__webpack_require__(30556),no=__webpack_require__(32100),zl=__webpack_require__(93102),ru=__webpack_require__(1821),fl=__webpack_require__(82074),Us=__webpack_require__(13578),Jc=__webpack_require__(59348),Uc=__webpack_require__(62882),ii=__webpack_require__(37457),wf=__webpack_require__(70654),zc=__webpack_require__(90252),Zc=__webpack_require__(29482),wu=__webpack_require__(51630),Ec=__webpack_require__(61933),Eu=__webpack_require__(619),mu=__webpack_require__(99675),Al=__webpack_require__(52548),Fa=__webpack_require__(53637),As=__webpack_require__(57482),Wo=__webpack_require__(59725),Zl=__webpack_require__(17610),Hl=__webpack_require__(56966),nu=__webpack_require__(11507),Sc=__webpack_require__(16315),Hc=__webpack_require__(60239),Hu=__webpack_require__(49381),Pu=__webpack_require__(17230),Iu=__webpack_require__(62720),Wl=__webpack_require__(57151),Tl=__webpack_require__(48732),Pa=__webpack_require__(18481),ef=__webpack_require__(55055),tf=__webpack_require__(7195),Wu=__webpack_require__(89179),Gu=__webpack_require__(90965),Ef=__webpack_require__(67725),Ac=__webpack_require__(59884),uu=__webpack_require__(89202),cc=__webpack_require__(97815),Cl=__webpack_require__(11593),Gl=__webpack_require__(7597),Vl=__webpack_require__(55182),Kl=__webpack_require__(34366),lu=__webpack_require__(85425),Vu=__webpack_require__(64522),fc=__webpack_require__(41599),Wc=__webpack_require__(86465),Tc=__webpack_require__(78437),Cc=__webpack_require__(73624),Yl=__webpack_require__(62059),dc=__webpack_require__(10305),Pc=__webpack_require__(41208),ql=__webpack_require__(25204),dl=__webpack_require__(40061),Su=__webpack_require__(47803),Ts=__webpack_require__(7893),Gc=__webpack_require__(4890),rf=__webpack_require__(5340),Ic=__webpack_require__(61650),io=__webpack_require__(58246),Xl=__webpack_require__(65873),ko=__webpack_require__(63579),Ql=__webpack_require__(87296),ke=__webpack_require__(59301),Pl=__webpack_require__(4676),bo=__webpack_require__(35338),Il=__webpack_require__(91231);function Os(wn){var zn=wn.id,Fi=wn.basename,ba=wn.cb,Hi=new URLSearchParams({route:zn,url:window.location.href}).toString(),ra="".concat(_o(window.umiServerLoaderPath||Fi),"__serverLoader?").concat(Hi);fetch(ra,{credentials:"include"}).then(function(ma){return ma.json()}).then(ba).catch(console.error)}function _o(){var wn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return wn.endsWith("/")?wn:"".concat(wn,"/")}var vu=__webpack_require__(38127),Ro=__webpack_require__(38329),tl=__webpack_require__(8616),Ku=["content"],Lo=["content"],rl=/^(http:|https:)?\/\//;function Jl(wn){return rl.test(wn)||wn.startsWith("/")&&!wn.startsWith("/*")||wn.startsWith("./")||wn.startsWith("../")}var hc=function(){return ke.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},nl=function(zn){var Fi,ba=zn.loaderData,Hi=zn.htmlPageOpts,ra=zn.manifest,ma=(ra==null||(Fi=ra.assets)===null||Fi===void 0?void 0:Fi["umi.css"])||"";return ke.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(ba||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Hi||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ma,"'")}})};function cu(wn){var zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof wn=="string")return Jl(wn)?(0,ko.Z)({src:wn},zn):{content:wn};if((0,tl.Z)(wn)==="object")return(0,ko.Z)((0,ko.Z)({},wn),zn);throw new Error("Invalid script type: ".concat((0,tl.Z)(wn)))}function nf(wn){return Jl(wn)?{type:"link",href:wn}:{type:"style",content:wn}}var Vc=function(zn){var Fi,ba,Hi,ra,ma,ps,Ni=zn.htmlPageOpts;return ke.createElement(ke.Fragment,null,(Ni==null?void 0:Ni.title)&&ke.createElement("title",null,Ni.title),Ni==null||(Fi=Ni.favicons)===null||Fi===void 0?void 0:Fi.map(function(_s,Lu){return ke.createElement("link",{key:Lu,rel:"shortcut icon",href:_s})}),(Ni==null?void 0:Ni.description)&&ke.createElement("meta",{name:"description",content:Ni.description}),(Ni==null||(ba=Ni.keywords)===null||ba===void 0?void 0:ba.length)&&ke.createElement("meta",{name:"keywords",content:Ni.keywords.join(",")}),Ni==null||(Hi=Ni.metas)===null||Hi===void 0?void 0:Hi.map(function(_s){return ke.createElement("meta",{key:_s.name,name:_s.name,content:_s.content})}),Ni==null||(ra=Ni.links)===null||ra===void 0?void 0:ra.map(function(_s,Lu){return ke.createElement("link",(0,Ro.Z)({key:Lu},_s))}),Ni==null||(ma=Ni.styles)===null||ma===void 0?void 0:ma.map(function(_s,Lu){var Mu=nf(_s),ll=Mu.type,Qu=Mu.href,ml=Mu.content;if(ll==="link")return ke.createElement("link",{key:Lu,rel:"stylesheet",href:Qu});if(ll==="style")return ke.createElement("style",{key:Lu},ml)}),Ni==null||(ps=Ni.headScripts)===null||ps===void 0?void 0:ps.map(function(_s,Lu){var Mu=cu(_s),ll=Mu.content,Qu=(0,vu.Z)(Mu,Ku);return ke.createElement("script",(0,Ro.Z)({dangerouslySetInnerHTML:{__html:ll},key:Lu},Qu))}))};function Yu(wn){var zn,Fi=wn.children,ba=wn.loaderData,Hi=wn.manifest,ra=wn.htmlPageOpts,ma=wn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ps=wn.mountElementId;if(ma!=null&&ma.pureHtml)return ke.createElement("html",null,ke.createElement("head",null),ke.createElement("body",null,ke.createElement(hc,null),ke.createElement("div",{id:ps},Fi),ke.createElement(nl,{manifest:Hi,loaderData:ba,htmlPageOpts:ra})));if(ma!=null&&ma.pureApp)return ke.createElement(ke.Fragment,null,Fi);var Ni=typeof window=="undefined"?Hi==null?void 0:Hi.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ke.createElement("html",{suppressHydrationWarning:!0,lang:(ra==null?void 0:ra.lang)||"en"},ke.createElement("head",null,ke.createElement("meta",{charSet:"utf-8"}),ke.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Ni&&ke.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Ni}),ke.createElement(Vc,{htmlPageOpts:ra})),ke.createElement("body",null,ke.createElement(hc,null),ke.createElement("div",{id:ps},Fi),ke.createElement(nl,{manifest:Hi,loaderData:ba,htmlPageOpts:ra}),ra==null||(zn=ra.scripts)===null||zn===void 0?void 0:zn.map(function(_s,Lu){var Mu=cu(_s),ll=Mu.content,Qu=(0,vu.Z)(Mu,Lo);return ke.createElement("script",(0,Ro.Z)({dangerouslySetInnerHTML:{__html:ll},key:Lu},Qu))})))}var gu=ke.createContext(void 0);function ec(){return ke.useContext(gu)}var Dl=["redirect"];function iu(wn){var zn=wn.routesById,Fi=wn.parentId,ba=wn.routeComponents,Hi=wn.useStream,ra=Hi===void 0?!0:Hi;return Object.keys(zn).filter(function(ma){return zn[ma].parentId===Fi}).map(function(ma){var ps=pc((0,ko.Z)((0,ko.Z)({route:zn[ma],routeComponent:ba[ma],loadingComponent:wn.loadingComponent,reactRouter5Compat:wn.reactRouter5Compat},wn.reactRouter5Compat&&{hasChildren:Object.keys(zn).filter(function(_s){return zn[_s].parentId===ma}).length>0}),{},{useStream:ra})),Ni=iu({routesById:zn,routeComponents:ba,parentId:ps.id,loadingComponent:wn.loadingComponent,reactRouter5Compat:wn.reactRouter5Compat,useStream:ra});return Ni.length>0&&(ps.children=Ni,ps.routes=Ni),ps})}function Ol(wn){var zn=(0,bo.UO)(),Fi=(0,bo.Gn)(wn.to,zn),ba=(0,Il.T$)(),Hi=(0,bo.TH)();if(ba!=null&&ba.keepQuery){var ra=Hi.search+Hi.hash;Fi+=ra}var ma=(0,ko.Z)((0,ko.Z)({},wn),{},{to:Fi});return ke.createElement(bo.Fg,(0,Ro.Z)({replace:!0},ma))}function pc(wn){var zn=wn.route,Fi=wn.useStream,ba=Fi===void 0?!0:Fi,Hi=zn.redirect,ra=(0,vu.Z)(zn,Dl),ma=wn.reactRouter5Compat?_c:xo;return(0,ko.Z)({element:Hi?ke.createElement(Ol,{to:Hi}):ke.createElement(gu.Provider,{value:{route:wn.route}},ke.createElement(ma,{loader:ke.memo(wn.routeComponent),loadingComponent:wn.loadingComponent||Dc,hasChildren:wn.hasChildren,useStream:ba}))},ra)}function Dc(){return ke.createElement("div",null)}function _c(wn){var zn=ec(),Fi=zn.route,ba=(0,Il.Ov)(),Hi=ba.history,ra=ba.clientRoutes,ma=(0,bo.UO)(),ps={params:ma,isExact:!0,path:Fi.path,url:Hi.location.pathname},Ni=wn.loader,_s={location:Hi.location,match:ps,history:Hi,params:ma,route:Fi,routes:ra};return wn.useStream?ke.createElement(ke.Suspense,{fallback:ke.createElement(wn.loadingComponent,null)},ke.createElement(Ni,_s,wn.hasChildren&&ke.createElement(bo.j3,null))):ke.createElement(Ni,_s,wn.hasChildren&&ke.createElement(bo.j3,null))}function xo(wn){var zn=wn.loader;return wn.useStream?ke.createElement(ke.Suspense,{fallback:ke.createElement(wn.loadingComponent,null)},ke.createElement(zn,null)):ke.createElement(zn,null)}var kl=null;function Oc(){return kl}function kc(wn){var zn=wn.history,Fi=ke.useState({action:zn.action,location:zn.location}),ba=(0,Ql.Z)(Fi,2),Hi=ba[0],ra=ba[1];return(0,ke.useLayoutEffect)(function(){return zn.listen(ra)},[zn]),(0,ke.useLayoutEffect)(function(){function ma(ps){wn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:wn.routes,clientRoutes:wn.clientRoutes,location:ps.location,action:ps.action,basename:wn.basename,isFirst:!!ps.isFirst}})}return ma({location:Hi.location,action:Hi.action,isFirst:!0}),zn.listen(ma)},[zn,wn.routes,wn.clientRoutes]),ke.createElement(bo.F0,{navigator:zn,location:Hi.location,basename:wn.basename},wn.children)}function Mo(){var wn=(0,Il.Ov)(),zn=wn.clientRoutes;return(0,bo.V$)(zn)}var tc=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],il=function(zn,Fi){var ba=zn.basename||"/",Hi=iu({routesById:zn.routes,routeComponents:zn.routeComponents,loadingComponent:zn.loadingComponent,reactRouter5Compat:zn.reactRouter5Compat,useStream:zn.useStream});zn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Hi}});for(var ra=ke.createElement(kc,{basename:ba,pluginManager:zn.pluginManager,routes:zn.routes,clientRoutes:Hi,history:zn.history},Fi),ma=0,ps=tc;ma<ps.length;ma++){var Ni=ps[ma];ra=zn.pluginManager.applyPlugins({type:"modify",key:Ni,initialValue:ra,args:{routes:zn.routes,history:zn.history,plugin:zn.pluginManager}})}var _s=function(){var Mu=(0,ke.useState)({}),ll=(0,Ql.Z)(Mu,2),Qu=ll[0],ml=ll[1],If=(0,ke.useState)(window.__UMI_LOADER_DATA__||{}),Sf=(0,Ql.Z)(If,2),Ll=Sf[0],of=Sf[1],Lc=(0,ke.useCallback)(function(Kc,uf){var cl,Df=(((cl=(0,bo.fp)(Hi,Kc,ba))===null||cl===void 0?void 0:cl.map(function(Ju){return Ju.route.id}))||[]).filter(Boolean);Df.forEach(function(Ju){var yc,lf;if(window.__umi_route_prefetch__){var qo,Yc=(qo=zn.routeComponents[Ju])===null||qo===void 0||(qo=qo._payload)===null||qo===void 0?void 0:qo._result;typeof Yc=="function"&&Yc()}var cf=(yc=zn.routes[Ju])===null||yc===void 0?void 0:yc.clientLoader,Fu=!!cf,bc=(lf=zn.routes[Ju])===null||lf===void 0?void 0:lf.hasServerLoader;!uf&&bc&&!Fu&&!window.__UMI_LOADER_DATA__&&Os({id:Ju,basename:ba,cb:function(Fc){ke.startTransition(function(){of(function(qc){return(0,ko.Z)((0,ko.Z)({},qc),{},(0,Xl.Z)({},Ju,Fc))})})}});var Io=!!Qu[Ju],ff=Fu&&cf.hydrate||!bc,df=bc&&!window.__UMI_LOADER_DATA__;Fu&&!Io&&(ff||df)&&cf({serverLoader:function(){return Os({id:Ju,basename:ba,cb:function(qc){ke.startTransition(function(){of(function(Bc){return(0,ko.Z)((0,ko.Z)({},Bc),{},(0,Xl.Z)({},Ju,qc))})})}})}}).then(function(Mc){ml(function(Fc){return(0,ko.Z)((0,ko.Z)({},Fc),{},(0,Xl.Z)({},Ju,Mc))})})})},[Qu]);return(0,ke.useEffect)(function(){return Lc(window.location.pathname,!0),zn.history.listen(function(Kc){Lc(Kc.location.pathname)})},[]),(0,ke.useLayoutEffect)(function(){typeof zn.callback=="function"&&zn.callback()},[]),ke.createElement(Il.Il.Provider,{value:{routes:zn.routes,routeComponents:zn.routeComponents,clientRoutes:Hi,pluginManager:zn.pluginManager,rootElement:zn.rootElement,basename:ba,clientLoaderData:Qu,serverLoaderData:Ll,preloadRoute:Lc,history:zn.history}},ra)};return _s};function af(wn){var zn=wn.rootElement||document.getElementById("root"),Fi=il(wn,ke.createElement(Mo,null));if(wn.components)return Fi;if(wn.hydrate){var ba=window.__UMI_LOADER_DATA__||{},Hi=window.__UMI_METADATA_LOADER_DATA__||{},ra={metadata:Hi,loaderData:ba,mountElementId:wn.mountElementId},ma=wn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||wn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;Pl.hydrateRoot(ma?zn:document,ma?ke.createElement(Fi,null):ke.createElement(Yu,ra,ke.createElement(Fi,null)));return}if(Pl.createRoot){kl=Pl.createRoot(zn),kl.render(ke.createElement(Fi,null));return}Pl.render(ke.createElement(Fi,null),zn)}var rc=(wn,zn,Fi)=>new Promise((ba,Hi)=>{var ra=Ni=>{try{ps(Fi.next(Ni))}catch(_s){Hi(_s)}},ma=Ni=>{try{ps(Fi.throw(Ni))}catch(_s){Hi(_s)}},ps=Ni=>Ni.done?ba(Ni.value):Promise.resolve(Ni.value).then(ra,ma);ps((Fi=Fi.apply(wn,zn)).next())});function mc(){return rc(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/innovation",parentId:"432",id:"436"},437:{path:"/declaration/statistics",parentId:"432",id:"437"},438:{path:"/declaration/statistics/person",parentId:"432",id:"438"},439:{path:"/declaration/research/instruction",parentId:"432",id:"439"},440:{path:"/declaration/research/paper",parentId:"432",id:"440"},441:{path:"/declaration/research/teachCompetition",parentId:"432",id:"441"},442:{path:"/declaration/research/teachProject",parentId:"432",id:"442"},443:{path:"/declaration/research/workloadManage",parentId:"432",id:"443"},444:{path:"/declaration/research/socialServices",parentId:"432",id:"444"},445:{path:"/declaration/research/projectconclusion",parentId:"432",id:"445"},446:{path:"/declaration/research/teacherwork",parentId:"432",id:"446"},447:{path:"/declaration/research/undergraduatework",parentId:"432",id:"447"},448:{path:"/declaration/research/teachWin",parentId:"432",id:"448"},449:{path:"/declaration/research/teachPaper",parentId:"432",id:"449"},450:{path:"/declaration/research/teachBook",parentId:"432",id:"450"},451:{path:"/declaration/research/teachMeeting",parentId:"432",id:"451"},452:{path:"/declaration/research/project",parentId:"432",id:"452"},453:{path:"/declaration/research/monograph",parentId:"432",id:"453"},454:{path:"/declaration/research/intellectualProperty",parentId:"432",id:"454"},455:{path:"/declaration/research/researchAward",parentId:"432",id:"455"},456:{path:"/declaration/research/technologyTransfer",parentId:"432",id:"456"},457:{path:"/declaration/research/conferenceResearch",parentId:"432",id:"457"},458:{path:"/declaration/research/paper/edit",parentId:"431",id:"458"},459:{path:"/declaration/research/teachCompetition/edit",parentId:"431",id:"459"},460:{path:"/declaration/research/teachProject/edit",parentId:"431",id:"460"},461:{path:"/declaration/research/socialServices/edit",parentId:"431",id:"461"},462:{path:"/declaration/research/projectconclusion/edit",parentId:"431",id:"462"},463:{path:"/declaration/research/teacherwork/edit",parentId:"431",id:"463"},464:{path:"/declaration/research/undergraduatework/edit",parentId:"431",id:"464"},465:{path:"/declaration/research/teachWin/edit",parentId:"431",id:"465"},466:{path:"/declaration/research/teachPaper/edit",parentId:"431",id:"466"},467:{path:"/declaration/research/teachBook/edit",parentId:"431",id:"467"},468:{path:"/declaration/research/teachMeeting/edit",parentId:"431",id:"468"},469:{path:"/declaration/research/project/edit",parentId:"431",id:"469"},470:{path:"/declaration/research/monograph/edit",parentId:"431",id:"470"},471:{path:"/declaration/research/intellectualProperty/edit",parentId:"431",id:"471"},472:{path:"/declaration/research/researchAward/edit",parentId:"431",id:"472"},473:{path:"/declaration/research/technologyTransfer/edit",parentId:"431",id:"473"},474:{path:"/declaration/research/conferenceResearch/edit",parentId:"431",id:"474"},475:{path:"/declaration/research/paper/review",parentId:"431",id:"475"},476:{path:"/declaration/research/teachCompetition/review",parentId:"431",id:"476"},477:{path:"/declaration/research/teachProject/review",parentId:"431",id:"477"},478:{path:"/declaration/research/socialServices/review",parentId:"431",id:"478"},479:{path:"/declaration/research/projectconclusion/review",parentId:"431",id:"479"},480:{path:"/declaration/research/teacherwork/review",parentId:"431",id:"480"},481:{path:"/declaration/research/undergraduatework/review",parentId:"431",id:"481"},482:{path:"/declaration/research/teachWin/review",parentId:"431",id:"482"},483:{path:"/declaration/research/teachPaper/review",parentId:"431",id:"483"},484:{path:"/declaration/research/teachBook/review",parentId:"431",id:"484"},485:{path:"/declaration/research/teachMeeting/review",parentId:"431",id:"485"},486:{path:"/declaration/research/project/review",parentId:"431",id:"486"},487:{path:"/declaration/research/monograph/review",parentId:"431",id:"487"},488:{path:"/declaration/research/intellectualProperty/review",parentId:"431",id:"488"},489:{path:"/declaration/research/researchAward/review",parentId:"431",id:"489"},490:{path:"/declaration/research/technologyTransfer/review",parentId:"431",id:"490"},491:{path:"/declaration/research/conferenceResearch/review",parentId:"431",id:"491"},492:{path:"/declaration/research/paper/view",parentId:"431",id:"492"},493:{path:"/declaration/research/teachCompetition/view",parentId:"431",id:"493"},494:{path:"/declaration/research/teachProject/view",parentId:"431",id:"494"},495:{path:"/declaration/research/socialServices/view",parentId:"431",id:"495"},496:{path:"/declaration/research/projectconclusion/view",parentId:"431",id:"496"},497:{path:"/declaration/research/teacherwork/view",parentId:"431",id:"497"},498:{path:"/declaration/research/undergraduatework/view",parentId:"431",id:"498"},499:{path:"/declaration/research/teachWin/view",parentId:"431",id:"499"},500:{path:"/declaration/research/teachPaper/view",parentId:"431",id:"500"},501:{path:"/declaration/research/teachBook/view",parentId:"431",id:"501"},502:{path:"/declaration/research/teachMeeting/view",parentId:"431",id:"502"},503:{path:"/declaration/research/project/view",parentId:"431",id:"503"},504:{path:"/declaration/research/monograph/view",parentId:"431",id:"504"},505:{path:"/declaration/research/intellectualProperty/view",parentId:"431",id:"505"},506:{path:"/declaration/research/researchAward/view",parentId:"431",id:"506"},507:{path:"/declaration/research/technologyTransfer/view",parentId:"431",id:"507"},508:{path:"/declaration/research/conferenceResearch/view",parentId:"431",id:"508"},509:{path:"/onlinenum",parentId:"1",id:"509"},510:{path:"/onlinenum",parentId:"509",id:"510"},511:{path:"/shixuncontext",parentId:"1",id:"511"},512:{path:"/shixuncontext",parentId:"511",id:"512"},513:{path:"/shixuncontext/:Id/detail",parentId:"511",id:"513"},514:{path:"/educoder-demo",exact:!0,parentId:"1",id:"514"},515:{path:"/training",parentId:"1",id:"515"},516:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"515",id:"516"},517:{path:"/largeScreen",exact:!0,parentId:"1",id:"517"},518:{path:"/quality",parentId:"1",id:"518"},519:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"518",id:"519"},520:{path:"/otherlogin",exact:!0,parentId:"1",id:"520"},521:{path:"/otherloginqq",exact:!0,parentId:"1",id:"521"},522:{path:"/otherloginstart",exact:!0,parentId:"1",id:"522"},523:{path:"/pathsoverview",exact:!0,parentId:"1",id:"523"},524:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"524"},525:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"525"},526:{path:"/login",parentId:"1",id:"526"},527:{path:"/login",parentId:"526",id:"527"},528:{path:"/user",parentId:"1",id:"528"},529:{path:"/user/login",parentId:"528",id:"529"},530:{path:"/user/register",parentId:"528",id:"530"},531:{path:"/user/reset-password",parentId:"528",id:"531"},532:{path:"/colleges",parentId:"1",id:"532"},533:{path:"/colleges/:id/statistics",parentId:"532",id:"533"},534:{path:"/help",parentId:"1",id:"534"},535:{path:"/help/:id",parentId:"534",id:"535"},536:{path:"/video",parentId:"1",id:"536"},537:{path:"/video/:videoId",parentId:"536",id:"537"},538:{path:"/terminal",parentId:"1",id:"538"},539:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"539"},540:{path:"/",parentId:"1",id:"540"},541:{path:"/",exact:!0,parentId:"540",id:"541"},542:{path:"/api/*",exact:!0,parentId:"540",id:"542"},543:{path:"/search",exact:!0,parentId:"540",id:"543"},544:{path:"/moop_cases",exact:!0,parentId:"540",id:"544"},545:{path:"/moop_cases/new",exact:!0,parentId:"540",id:"545"},546:{path:"/moop_cases/:caseId",exact:!0,parentId:"540",id:"546"},547:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"540",id:"547"},548:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"540",id:"548"},549:{path:"/randompaper",exact:!0,parentId:"540",id:"549"},550:{path:"/randompaper/edit/:id",exact:!0,parentId:"540",id:"550"},551:{path:"/randompaper/detail/:id",exact:!0,parentId:"540",id:"551"},552:{path:"/403",parentId:"540",id:"552"},553:{path:"/500",parentId:"540",id:"553"},554:{path:"/404",parentId:"540",id:"554"},555:{path:"/download",parentId:"540",id:"555"},556:{path:"/iwce",parentId:"540",id:"556"},557:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"540",id:"557"},558:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"540",id:"558"},559:{path:"/Activities",parentId:"540",id:"559"},560:{path:"/iwce/:itemname",parentId:"540",id:"560"},561:{path:"/hpc-course",parentId:"540",id:"561"},562:{path:"/user_agents",parentId:"540",id:"562"},563:{path:"/three",parentId:"540",id:"563"},564:{path:"/introduction",parentId:"540",id:"564"},565:{path:"/chatgpt",parentId:"540",id:"565"},566:{path:"/*",parentId:"540",id:"566"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ke.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),2:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),3:ke.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,76563))),4:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),5:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),6:ke.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,64226))),7:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),8:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,91046))),9:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),10:ke.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,19372))),11:ke.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27851))),12:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),13:ke.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),14:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,98287))),15:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,22834))),16:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),17:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),18:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),19:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),20:ke.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),21:ke.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,20973))),22:ke.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,31793))),23:ke.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),24:ke.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),25:ke.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),26:ke.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),27:ke.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),28:ke.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,46922))),29:ke.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,94044))),30:ke.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,67311))),31:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,86230))),32:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,88924))),33:ke.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,63437))),34:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,60922))),35:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,70731))),36:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,1086))),37:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,83890))),38:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,75400))),39:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,52934))),40:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,34353))),41:ke.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,30748))),42:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,53036))),43:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),44:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,60839))),45:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,77638))),46:ke.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,53147))),47:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),48:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,23129))),49:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,23108))),50:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,23108))),51:ke.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,10147))),52:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,73966))),53:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,73966))),54:ke.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,83922))),55:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,82856))),56:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31533))),57:ke.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),58:ke.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),59:ke.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),60:ke.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),61:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,75288))),62:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,83485))),63:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,97780))),64:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,28915))),65:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,57643))),66:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,8321))),67:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,77498))),68:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,56010))),69:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,7769))),70:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,36618))),71:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,1910))),72:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,34104))),73:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,3487))),74:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,17042))),75:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,72583))),76:ke.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,61193))),77:ke.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,13750))),78:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,96046))),79:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,22996))),80:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,41305))),81:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,78554))),82:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,74124))),83:ke.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),84:ke.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,55998))),85:ke.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,31905))),86:ke.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,21229))),87:ke.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,98731))),88:ke.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,37244))),89:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),90:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),91:ke.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,42383))),92:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,71073))),93:ke.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,97838))),94:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,22450))),95:ke.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,57454))),96:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,60846))),97:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,45062))),98:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,93341))),99:ke.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,25921))),100:ke.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,93365))),101:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),102:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),103:ke.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,77437))),104:ke.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),105:ke.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),106:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,80015))),107:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,80015))),108:ke.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),109:ke.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),110:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),111:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),112:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),113:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),114:ke.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,6218))),115:ke.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,83443))),116:ke.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,5010))),117:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),118:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),119:ke.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,21413))),120:ke.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,11133))),121:ke.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,25251))),122:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),123:ke.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,25083))),124:ke.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,29860))),125:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),126:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),127:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),128:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),129:ke.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),130:ke.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),131:ke.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),132:ke.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),133:ke.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,96573))),134:ke.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,58786))),135:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,1697))),136:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,70302))),137:ke.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),138:ke.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),139:ke.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,76161))),140:ke.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),141:ke.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),142:ke.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),143:ke.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),144:ke.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,8176))),145:ke.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),146:ke.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),147:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),148:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),149:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,99046))),150:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,82503))),151:ke.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,15531))),152:ke.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,50715))),153:ke.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,90317))),154:ke.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,1377))),155:ke.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,65515))),156:ke.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,99342))),157:ke.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,26032))),158:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),159:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),160:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),161:ke.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,43008))),162:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),163:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),164:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),165:ke.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,719))),166:ke.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,14796))),167:ke.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,5629))),168:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,29526))),169:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),170:ke.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,37226))),171:ke.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,24564))),172:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),173:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),174:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,35918))),175:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),176:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),177:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),178:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),179:ke.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,6413))),180:ke.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,37852))),181:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),182:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),183:ke.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,20186))),184:ke.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,15352))),185:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,98622))),186:ke.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,84246))),187:ke.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,28092))),188:ke.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,40580))),189:ke.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,2751))),190:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(33),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,69638))),191:ke.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,21052))),192:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,46897))),193:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),194:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),195:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),196:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),197:ke.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,56405))),198:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,92185))),199:ke.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,63798))),200:ke.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,78932))),201:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,70624))),202:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),203:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),204:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,18509))),205:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,52021))),206:ke.lazy(()=>Promise.all([__webpack_require__.e(33),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,58100))),207:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,71666))),208:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,28744))),209:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,72281))),210:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),211:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),212:ke.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),213:ke.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),214:ke.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),215:ke.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),216:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),217:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),218:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,68639))),219:ke.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,5134))),220:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),221:ke.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,59622))),222:ke.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,65866))),223:ke.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,86974))),224:ke.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,49690))),225:ke.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),226:ke.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),227:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8191))),228:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,31721))),229:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,80751))),230:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,53605))),231:ke.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,8712))),232:ke.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,26021))),233:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,75992))),234:ke.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,43116))),235:ke.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),236:ke.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,22802))),237:ke.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,49451))),238:ke.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,97118))),239:ke.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,16430))),240:ke.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),241:ke.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,51705))),242:ke.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,36806))),243:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,31324))),244:ke.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,88755))),245:ke.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,81187))),246:ke.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,62484))),247:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,20267))),248:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,18460))),249:ke.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,43173))),250:ke.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,68861))),251:ke.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,47412))),252:ke.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,86576))),253:ke.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,56543))),254:ke.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,7942))),255:ke.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,89993))),256:ke.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,83184))),257:ke.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,14631))),258:ke.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,88038))),259:ke.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,35670))),260:ke.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,99624))),261:ke.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,69157))),262:ke.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,11234))),263:ke.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),264:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),265:ke.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,3447))),266:ke.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,96555))),267:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),268:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),269:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),270:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),271:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,30197))),272:ke.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,84958))),273:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),274:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),275:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),276:ke.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,62861))),277:ke.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,10497))),278:ke.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,2131))),279:ke.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,62256))),280:ke.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,872))),281:ke.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,64361))),282:ke.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,85761))),283:ke.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,93875))),284:ke.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,21202))),285:ke.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,91460))),286:ke.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,17689))),287:ke.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,37222))),288:ke.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,14455))),289:ke.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,41313))),290:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,46859))),291:ke.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,5942))),292:ke.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,15920))),293:ke.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,76515))),294:ke.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),295:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),296:ke.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,97800))),297:ke.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,89705))),298:ke.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,47363))),299:ke.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,16302))),300:ke.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,90894))),301:ke.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,13747))),302:ke.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,14828))),303:ke.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,99436))),304:ke.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),305:ke.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),306:ke.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,562))),307:ke.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),308:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),309:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),310:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),311:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),312:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),313:ke.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),314:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,72222))),315:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,91176))),316:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),317:ke.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,21119))),318:ke.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,64348))),319:ke.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,21496))),320:ke.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,95335))),321:ke.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,45423))),322:ke.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,37196))),323:ke.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,36178))),324:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),325:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,10729))),326:ke.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),327:ke.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),328:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),329:ke.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,23395))),330:ke.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,68703))),331:ke.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,3819))),332:ke.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,39983))),333:ke.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,79046))),334:ke.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,47873))),335:ke.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,42176))),336:ke.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,92105))),337:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),338:ke.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,97128))),339:ke.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,82821))),340:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,5211))),341:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),342:ke.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),343:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),344:ke.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),345:ke.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),346:ke.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),347:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),348:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),349:ke.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),350:ke.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),351:ke.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),352:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),353:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),354:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),355:ke.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),356:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),357:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),358:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),359:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),360:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),361:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),362:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),363:ke.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),364:ke.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),365:ke.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),366:ke.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),367:ke.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),368:ke.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),369:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),370:ke.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),371:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),372:ke.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),373:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),374:ke.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),375:ke.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),376:ke.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),377:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),378:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),379:ke.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),380:ke.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),381:ke.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),382:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),383:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),384:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),385:ke.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),386:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),387:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),388:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),389:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),390:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),391:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),392:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),393:ke.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),394:ke.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),395:ke.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),396:ke.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),397:ke.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),398:ke.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),399:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),400:ke.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),401:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),402:ke.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,86476))),403:ke.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,27454))),404:ke.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,33675))),405:ke.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,58197))),406:ke.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,57857))),407:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),408:ke.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,30266))),409:ke.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,88036))),410:ke.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,42463))),411:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,66493))),412:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,67489))),413:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,32891))),414:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,57895))),415:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),416:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),417:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),418:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),419:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),420:ke.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,98372))),421:ke.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),422:ke.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),423:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,9))),424:ke.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,16459))),425:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),426:ke.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,69623))),427:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,73171))),428:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),429:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,29876))),430:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,89325))),431:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),432:ke.lazy(()=>__webpack_require__.e(1538).then(__webpack_require__.bind(__webpack_require__,258))),433:ke.lazy(()=>__webpack_require__.e(7285).then(__webpack_require__.bind(__webpack_require__,65571))),434:ke.lazy(()=>__webpack_require__.e(3914).then(__webpack_require__.bind(__webpack_require__,58464))),435:ke.lazy(()=>__webpack_require__.e(2029).then(__webpack_require__.bind(__webpack_require__,29284))),436:ke.lazy(()=>__webpack_require__.e(9376).then(__webpack_require__.bind(__webpack_require__,27974))),437:ke.lazy(()=>__webpack_require__.e(8063).then(__webpack_require__.bind(__webpack_require__,54446))),438:ke.lazy(()=>__webpack_require__.e(9938).then(__webpack_require__.bind(__webpack_require__,64852))),439:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1279)]).then(__webpack_require__.bind(__webpack_require__,247))),440:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5301)]).then(__webpack_require__.bind(__webpack_require__,78227))),441:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2625)]).then(__webpack_require__.bind(__webpack_require__,98932))),442:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8205)]).then(__webpack_require__.bind(__webpack_require__,25559))),443:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7577)]).then(__webpack_require__.bind(__webpack_require__,65554))),444:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5017)]).then(__webpack_require__.bind(__webpack_require__,33699))),445:ke.lazy(()=>__webpack_require__.e(492).then(__webpack_require__.bind(__webpack_require__,48127))),446:ke.lazy(()=>__webpack_require__.e(1428).then(__webpack_require__.bind(__webpack_require__,82593))),447:ke.lazy(()=>__webpack_require__.e(3417).then(__webpack_require__.bind(__webpack_require__,37272))),448:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(233)]).then(__webpack_require__.bind(__webpack_require__,56158))),449:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4292)]).then(__webpack_require__.bind(__webpack_require__,98033))),450:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3939)]).then(__webpack_require__.bind(__webpack_require__,17128))),451:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3996)]).then(__webpack_require__.bind(__webpack_require__,41770))),452:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5089)]).then(__webpack_require__.bind(__webpack_require__,19473))),453:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5807)]).then(__webpack_require__.bind(__webpack_require__,57607))),454:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7529)]).then(__webpack_require__.bind(__webpack_require__,27820))),455:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3261)]).then(__webpack_require__.bind(__webpack_require__,40546))),456:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5908)]).then(__webpack_require__.bind(__webpack_require__,57180))),457:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2086)]).then(__webpack_require__.bind(__webpack_require__,58258))),458:ke.lazy(()=>__webpack_require__.e(2385).then(__webpack_require__.bind(__webpack_require__,43887))),459:ke.lazy(()=>__webpack_require__.e(6290).then(__webpack_require__.bind(__webpack_require__,5509))),460:ke.lazy(()=>__webpack_require__.e(5472).then(__webpack_require__.bind(__webpack_require__,6648))),461:ke.lazy(()=>__webpack_require__.e(2654).then(__webpack_require__.bind(__webpack_require__,57878))),462:ke.lazy(()=>__webpack_require__.e(1053).then(__webpack_require__.bind(__webpack_require__,32648))),463:ke.lazy(()=>__webpack_require__.e(5781).then(__webpack_require__.bind(__webpack_require__,5391))),464:ke.lazy(()=>__webpack_require__.e(7676).then(__webpack_require__.bind(__webpack_require__,32983))),465:ke.lazy(()=>__webpack_require__.e(957).then(__webpack_require__.bind(__webpack_require__,6167))),466:ke.lazy(()=>__webpack_require__.e(5232).then(__webpack_require__.bind(__webpack_require__,14076))),467:ke.lazy(()=>__webpack_require__.e(9995).then(__webpack_require__.bind(__webpack_require__,70613))),468:ke.lazy(()=>__webpack_require__.e(8902).then(__webpack_require__.bind(__webpack_require__,11783))),469:ke.lazy(()=>__webpack_require__.e(70).then(__webpack_require__.bind(__webpack_require__,96150))),470:ke.lazy(()=>__webpack_require__.e(7280).then(__webpack_require__.bind(__webpack_require__,60975))),471:ke.lazy(()=>__webpack_require__.e(3677).then(__webpack_require__.bind(__webpack_require__,17157))),472:ke.lazy(()=>__webpack_require__.e(7608).then(__webpack_require__.bind(__webpack_require__,93026))),473:ke.lazy(()=>__webpack_require__.e(9516).then(__webpack_require__.bind(__webpack_require__,18730))),474:ke.lazy(()=>__webpack_require__.e(146).then(__webpack_require__.bind(__webpack_require__,30075))),475:ke.lazy(()=>__webpack_require__.e(2385).then(__webpack_require__.bind(__webpack_require__,43887))),476:ke.lazy(()=>__webpack_require__.e(6290).then(__webpack_require__.bind(__webpack_require__,5509))),477:ke.lazy(()=>__webpack_require__.e(5472).then(__webpack_require__.bind(__webpack_require__,6648))),478:ke.lazy(()=>__webpack_require__.e(2654).then(__webpack_require__.bind(__webpack_require__,57878))),479:ke.lazy(()=>__webpack_require__.e(1053).then(__webpack_require__.bind(__webpack_require__,32648))),480:ke.lazy(()=>__webpack_require__.e(5781).then(__webpack_require__.bind(__webpack_require__,5391))),481:ke.lazy(()=>__webpack_require__.e(7676).then(__webpack_require__.bind(__webpack_require__,32983))),482:ke.lazy(()=>__webpack_require__.e(957).then(__webpack_require__.bind(__webpack_require__,6167))),483:ke.lazy(()=>__webpack_require__.e(5232).then(__webpack_require__.bind(__webpack_require__,14076))),484:ke.lazy(()=>__webpack_require__.e(9995).then(__webpack_require__.bind(__webpack_require__,70613))),485:ke.lazy(()=>__webpack_require__.e(8902).then(__webpack_require__.bind(__webpack_require__,11783))),486:ke.lazy(()=>__webpack_require__.e(70).then(__webpack_require__.bind(__webpack_require__,96150))),487:ke.lazy(()=>__webpack_require__.e(7280).then(__webpack_require__.bind(__webpack_require__,60975))),488:ke.lazy(()=>__webpack_require__.e(3677).then(__webpack_require__.bind(__webpack_require__,17157))),489:ke.lazy(()=>__webpack_require__.e(7608).then(__webpack_require__.bind(__webpack_require__,93026))),490:ke.lazy(()=>__webpack_require__.e(9516).then(__webpack_require__.bind(__webpack_require__,18730))),491:ke.lazy(()=>__webpack_require__.e(146).then(__webpack_require__.bind(__webpack_require__,30075))),492:ke.lazy(()=>__webpack_require__.e(2385).then(__webpack_require__.bind(__webpack_require__,43887))),493:ke.lazy(()=>__webpack_require__.e(6290).then(__webpack_require__.bind(__webpack_require__,5509))),494:ke.lazy(()=>__webpack_require__.e(5472).then(__webpack_require__.bind(__webpack_require__,6648))),495:ke.lazy(()=>__webpack_require__.e(2654).then(__webpack_require__.bind(__webpack_require__,57878))),496:ke.lazy(()=>__webpack_require__.e(1053).then(__webpack_require__.bind(__webpack_require__,32648))),497:ke.lazy(()=>__webpack_require__.e(5781).then(__webpack_require__.bind(__webpack_require__,5391))),498:ke.lazy(()=>__webpack_require__.e(7676).then(__webpack_require__.bind(__webpack_require__,32983))),499:ke.lazy(()=>__webpack_require__.e(957).then(__webpack_require__.bind(__webpack_require__,6167))),500:ke.lazy(()=>__webpack_require__.e(5232).then(__webpack_require__.bind(__webpack_require__,14076))),501:ke.lazy(()=>__webpack_require__.e(9995).then(__webpack_require__.bind(__webpack_require__,70613))),502:ke.lazy(()=>__webpack_require__.e(8902).then(__webpack_require__.bind(__webpack_require__,11783))),503:ke.lazy(()=>__webpack_require__.e(70).then(__webpack_require__.bind(__webpack_require__,96150))),504:ke.lazy(()=>__webpack_require__.e(7280).then(__webpack_require__.bind(__webpack_require__,60975))),505:ke.lazy(()=>__webpack_require__.e(3677).then(__webpack_require__.bind(__webpack_require__,17157))),506:ke.lazy(()=>__webpack_require__.e(7608).then(__webpack_require__.bind(__webpack_require__,93026))),507:ke.lazy(()=>__webpack_require__.e(9516).then(__webpack_require__.bind(__webpack_require__,18730))),508:ke.lazy(()=>__webpack_require__.e(146).then(__webpack_require__.bind(__webpack_require__,30075))),509:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),510:ke.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,14103))),511:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),512:ke.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,84575))),513:ke.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,6556))),514:ke.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,38124))),515:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),516:ke.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,75503))),517:ke.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3518))),518:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),519:ke.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,36693))),520:ke.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,11112))),521:ke.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,19041))),522:ke.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,76904))),523:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,63295))),524:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,4280))),525:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,29069))),526:ke.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,28128))),527:ke.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),528:ke.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,23900))),529:ke.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),530:ke.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,39090))),531:ke.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,20649))),532:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),533:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,57915))),534:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),535:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,24721))),536:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),537:ke.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,62904))),538:ke.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,87038))),539:ke.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,33262))),540:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,90821))),541:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,14917))),542:ke.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,33662))),543:ke.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,57548))),544:ke.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,13540))),545:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),546:ke.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,93185))),547:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),548:ke.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,86308))),549:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),550:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),551:ke.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,19560))),552:ke.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,18430))),553:ke.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,57050))),554:ke.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),555:ke.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,32717))),556:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),557:ke.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,79752))),558:ke.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),559:ke.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,94878))),560:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),561:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),562:ke.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,43982))),563:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,49851))),564:ke.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,53727))),565:ke.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,73752))),566:ke.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),"@@/global-layout":ke.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,88855)))}}})}var sf=__webpack_require__(3191),Du=__webpack_require__(58293),hl=__webpack_require__(71418),Yo=__webpack_require__(5755),Zi=()=>ke.createElement(hl.Z,{size:"middle",className:Yo.Z.loading}),ao=__webpack_require__(25690),Gs=__webpack_require__(61186),ti=__webpack_require__.n(Gs),Ou=__webpack_require__(91392),I=__webpack_require__.n(Ou),O=__webpack_require__(34749),R=__webpack_require__.n(O),ve=__webpack_require__(19277),ze=__webpack_require__.n(ve),Jr=__webpack_require__(10238),Jn=__webpack_require__.n(Jr),Vi=__webpack_require__(33656),Mi=__webpack_require__.n(Vi),Za=__webpack_require__(90111),Xs=__webpack_require__.n(Za),ei=__webpack_require__(74959),hs=__webpack_require__.n(ei),Fo=__webpack_require__(23250),ks=__webpack_require__.n(Fo),so=__webpack_require__(58862),al=__webpack_require__.n(so),pl=__webpack_require__(58319),sl=__webpack_require__.n(pl),Rc=__webpack_require__(62053),ku=__webpack_require__.n(Rc),Ru=__webpack_require__(47477),nc=__webpack_require__.n(Ru),Rl=__webpack_require__(59717),qu=__webpack_require__.n(Rl);ti().extend(R()),ti().extend(ze()),ti().extend(Jn()),ti().extend(Mi()),ti().extend(Xs()),ti().extend(hs()),ti().extend(ks()),ti().extend(al()),ti().extend(sl()),ti().extend(ku()),ti().extend(nc()),ti().extend(qu()),ti().extend(I());var as=Object.defineProperty,ol=Object.getOwnPropertySymbols,ic=Object.prototype.hasOwnProperty,Bo=Object.prototype.propertyIsEnumerable,Xu=(wn,zn,Fi)=>zn in wn?as(wn,zn,{enumerable:!0,configurable:!0,writable:!0,value:Fi}):wn[zn]=Fi,_l=(wn,zn)=>{for(var Fi in zn||(zn={}))ic.call(zn,Fi)&&Xu(wn,Fi,zn[Fi]);if(ol)for(var Fi of ol(zn))Bo.call(zn,Fi)&&Xu(wn,Fi,zn[Fi]);return wn},vc=(wn,zn,Fi)=>new Promise((ba,Hi)=>{var ra=Ni=>{try{ps(Fi.next(Ni))}catch(_s){Hi(_s)}},ma=Ni=>{try{ps(Fi.throw(Ni))}catch(_s){Hi(_s)}},ps=Ni=>Ni.done?ba(Ni.value):Promise.resolve(Ni.value).then(ra,ma);ps((Fi=Fi.apply(wn,zn)).next())});const yu="/react/build/",gc=!1;function ul(){return vc(this,null,function*(){const wn=(0,sf.gD)(),{routes:zn,routeComponents:Fi}=yield mc(wn);yield wn.applyPlugins({key:"patchRoutes",type:ao.ApplyPluginsType.event,args:{routes:zn,routeComponents:Fi}});const ba=wn.applyPlugins({key:"modifyContextOpts",type:ao.ApplyPluginsType.modify,initialValue:{}}),Hi=ba.basename||"/",ra=ba.historyType||"browser",ma=(0,Du.fi)(_l({type:ra,basename:Hi},ba.historyOpts));return wn.applyPlugins({key:"render",type:ao.ApplyPluginsType.compose,initialValue(){const ps={useStream:!0,routes:zn,routeComponents:Fi,pluginManager:wn,mountElementId:"root",rootElement:ba.rootElement||document.getElementById("root"),loadingComponent:Zi,publicPath:yu,runtimePublicPath:gc,history:ma,historyType:ra,basename:Hi,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:ba.callback},Ni=wn.applyPlugins({key:"modifyClientRenderOpts",type:ao.ApplyPluginsType.modify,initialValue:ps});return af(Ni)}})()})}ul(),typeof window!="undefined"&&(window.g_umi={version:"4.4.11"})})()})();