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/layouts__GraduationsDetail_...

1428 lines
1.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 Iu=Math.pow;(self.webpackChunk=self.webpackChunk||[]).push([[8143],{70557:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={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"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},89489:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},59477:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},40001:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},49198:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},84105:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},18785:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},73331:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},15277:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},52671:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},8657:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},56082:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},33853:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},15075:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},43531:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},61485:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={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 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},38819:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},47472:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},ge=re,F=f(7657),m=function(M,W){return O.createElement(F.Z,(0,g.Z)({},M,{ref:W,icon:ge}))},w=O.forwardRef(m),he=w},35593:function(an,it,f){"use strict";f.d(it,{Z:function(){return wt}});var g=f(77321),O=f(52487),re=f(74416),ge=f(43403),F=f(92310),m=f.n(F),w=f(29301),he=f(76846),o=f(96452),M=f(6089),W=f(80402),y=f(34280),b=f(49658),A=f(59301),C=f(72308),K=f(77900),pe=f(8654);function B(de){var fe=de.prefixCls,G=de.align,U=de.arrow,we=de.arrowPos,P=U||{},T=P.className,I=P.content,ne=we.x,$=ne===void 0?0:ne,V=we.y,Te=V===void 0?0:V,He=A.useRef();if(!G||!G.points)return null;var Ie={position:"absolute"};if(G.autoArrow!==!1){var Fe=G.points[0],Qe=G.points[1],Ze=Fe[0],Ve=Fe[1],xt=Qe[0],Ct=Qe[1];Ze===xt||!["t","b"].includes(Ze)?Ie.top=Te:Ze==="t"?Ie.top=0:Ie.bottom=0,Ve===Ct||!["l","r"].includes(Ve)?Ie.left=$:Ve==="l"?Ie.left=0:Ie.right=0}return A.createElement("div",{ref:He,className:m()("".concat(fe,"-arrow"),T),style:Ie},I)}function Z(de){var fe=de.prefixCls,G=de.open,U=de.zIndex,we=de.mask,P=de.motion;return we?A.createElement(K.default,(0,C.Z)({},P,{motionAppear:!0,visible:G,removeOnLeave:!0}),function(T){var I=T.className;return A.createElement("div",{style:{zIndex:U},className:m()("".concat(fe,"-mask"),I)})}):null}var ie=A.memo(function(de){var fe=de.children;return fe},function(de,fe){return fe.cache}),X=ie,L=A.forwardRef(function(de,fe){var G=de.popup,U=de.className,we=de.prefixCls,P=de.style,T=de.target,I=de.onVisibleChanged,ne=de.open,$=de.keepDom,V=de.fresh,Te=de.onClick,He=de.mask,Ie=de.arrow,Fe=de.arrowPos,Qe=de.align,Ze=de.motion,Ve=de.maskMotion,xt=de.forceRender,Ct=de.getPopupContainer,ft=de.autoDestroy,Ot=de.portal,Kt=de.zIndex,R=de.onMouseEnter,k=de.onMouseLeave,bt=de.onPointerEnter,Se=de.ready,Ke=de.offsetX,vn=de.offsetY,qe=de.offsetR,et=de.offsetB,Xe=de.onAlign,_e=de.onPrepare,Me=de.stretch,Oe=de.targetWidth,rt=de.targetHeight,Ae=typeof G=="function"?G():G,rn=ne||$,Ge=(Ct==null?void 0:Ct.length)>0,En=A.useState(!Ct||!Ge),Dn=(0,O.Z)(En,2),tn=Dn[0],Wt=Dn[1];if((0,y.Z)(function(){!tn&&Ge&&T&&Wt(!0)},[tn,Ge,T]),!tn)return null;var It="auto",Bt={left:"-1000vw",top:"-1000vh",right:It,bottom:It};if(Se||!ne){var We,_t=Qe.points,Et=Qe.dynamicInset||((We=Qe._experimental)===null||We===void 0?void 0:We.dynamicInset),Be=Et&&_t[0][1]==="r",Re=Et&&_t[0][0]==="b";Be?(Bt.right=qe,Bt.left=It):(Bt.left=Ke,Bt.right=It),Re?(Bt.bottom=et,Bt.top=It):(Bt.top=vn,Bt.bottom=It)}var pt={};return Me&&(Me.includes("height")&&rt?pt.height=rt:Me.includes("minHeight")&&rt&&(pt.minHeight=rt),Me.includes("width")&&Oe?pt.width=Oe:Me.includes("minWidth")&&Oe&&(pt.minWidth=Oe)),ne||(pt.pointerEvents="none"),A.createElement(Ot,{open:xt||rn,getContainer:Ct&&function(){return Ct(T)},autoDestroy:ft},A.createElement(Z,{prefixCls:we,open:ne,zIndex:Kt,mask:He,motion:Ve}),A.createElement(w.Z,{onResize:Xe,disabled:!ne},function(mt){return A.createElement(K.default,(0,C.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:xt,leavedClassName:"".concat(we,"-hidden")},Ze,{onAppearPrepare:_e,onEnterPrepare:_e,visible:ne,onVisibleChanged:function(Ht){var sn;Ze==null||(sn=Ze.onVisibleChanged)===null||sn===void 0||sn.call(Ze,Ht),I(Ht)}}),function(Ft,Ht){var sn=Ft.className,Yt=Ft.style,ln=m()(we,sn,U);return A.createElement("div",{ref:(0,pe.sQ)(mt,fe,Ht),className:ln,style:(0,g.Z)((0,g.Z)((0,g.Z)((0,g.Z)({"--arrow-x":"".concat(Fe.x||0,"px"),"--arrow-y":"".concat(Fe.y||0,"px")},Bt),pt),Yt),{},{boxSizing:"border-box",zIndex:Kt},P),onMouseEnter:R,onMouseLeave:k,onPointerEnter:bt,onClick:Te},Ie&&A.createElement(B,{prefixCls:we,arrow:Ie,arrowPos:Fe,align:Qe}),A.createElement(X,{cache:!ne&&!V},Ae))})}))}),D=L,Q=A.forwardRef(function(de,fe){var G=de.children,U=de.getTriggerDOMNode,we=(0,pe.Yr)(G),P=A.useCallback(function(I){(0,pe.mH)(fe,U?U(I):I)},[U]),T=(0,pe.x1)(P,G.ref);return we?A.cloneElement(G,{ref:T}):G}),j=Q,ve=A.createContext(null),xe=ve;function ye(de){return de?Array.isArray(de)?de:[de]:[]}function le(de,fe,G,U){return A.useMemo(function(){var we=ye(G!=null?G:fe),P=ye(U!=null?U:fe),T=new Set(we),I=new Set(P);return de&&(T.has("hover")&&(T.delete("hover"),T.add("click")),I.has("hover")&&(I.delete("hover"),I.add("click"))),[T,I]},[de,fe,G,U])}var oe=f(29194);function H(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],G=arguments.length>2?arguments[2]:void 0;return G?de[0]===fe[0]:de[0]===fe[0]&&de[1]===fe[1]}function be(de,fe,G,U){for(var we=G.points,P=Object.keys(de),T=0;T<P.length;T+=1){var I,ne=P[T];if(H((I=de[ne])===null||I===void 0?void 0:I.points,we,U))return"".concat(fe,"-placement-").concat(ne)}return""}function J(de,fe,G,U){return fe||(G?{motionName:"".concat(de,"-").concat(G)}:U?{motionName:U}:null)}function me(de){return de.ownerDocument.defaultView}function ae(de){for(var fe=[],G=de==null?void 0:de.parentElement,U=["hidden","scroll","clip","auto"];G;){var we=me(G).getComputedStyle(G),P=we.overflowX,T=we.overflowY,I=we.overflow;[P,T,I].some(function(ne){return U.includes(ne)})&&fe.push(G),G=G.parentElement}return fe}function v(de){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(de)?fe:de}function _(de){return v(parseFloat(de),0)}function Y(de,fe){var G=(0,g.Z)({},de);return(fe||[]).forEach(function(U){if(!(U instanceof HTMLBodyElement||U instanceof HTMLHtmlElement)){var we=me(U).getComputedStyle(U),P=we.overflow,T=we.overflowClipMargin,I=we.borderTopWidth,ne=we.borderBottomWidth,$=we.borderLeftWidth,V=we.borderRightWidth,Te=U.getBoundingClientRect(),He=U.offsetHeight,Ie=U.clientHeight,Fe=U.offsetWidth,Qe=U.clientWidth,Ze=_(I),Ve=_(ne),xt=_($),Ct=_(V),ft=v(Math.round(Te.width/Fe*1e3)/1e3),Ot=v(Math.round(Te.height/He*1e3)/1e3),Kt=(Fe-Qe-xt-Ct)*ft,R=(He-Ie-Ze-Ve)*Ot,k=Ze*Ot,bt=Ve*Ot,Se=xt*ft,Ke=Ct*ft,vn=0,qe=0;if(P==="clip"){var et=_(T);vn=et*ft,qe=et*Ot}var Xe=Te.x+Se-vn,_e=Te.y+k-qe,Me=Xe+Te.width+2*vn-Se-Ke-Kt,Oe=_e+Te.height+2*qe-k-bt-R;G.left=Math.max(G.left,Xe),G.top=Math.max(G.top,_e),G.right=Math.min(G.right,Me),G.bottom=Math.min(G.bottom,Oe)}}),G}function q(de){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,G="".concat(fe),U=G.match(/^(.*)\%$/);return U?de*(parseFloat(U[1])/100):parseFloat(G)}function Pe(de,fe){var G=fe||[],U=(0,O.Z)(G,2),we=U[0],P=U[1];return[q(de.width,we),q(de.height,P)]}function Le(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[de[0],de[1]]}function Ue(de,fe){var G=fe[0],U=fe[1],we,P;return G==="t"?P=de.y:G==="b"?P=de.y+de.height:P=de.y+de.height/2,U==="l"?we=de.x:U==="r"?we=de.x+de.width:we=de.x+de.width/2,{x:we,y:P}}function $e(de,fe){var G={t:"b",b:"t",l:"r",r:"l"};return de.map(function(U,we){return we===fe?G[U]||"c":U}).join("")}function ut(de,fe,G,U,we,P,T){var I=A.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:we[U]||{}}),ne=(0,O.Z)(I,2),$=ne[0],V=ne[1],Te=A.useRef(0),He=A.useMemo(function(){return fe?ae(fe):[]},[fe]),Ie=A.useRef({}),Fe=function(){Ie.current={}};de||Fe();var Qe=(0,M.Z)(function(){if(fe&&G&&de){let ur=function(Hr,ai){var ji=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ln,Pi=Ae.x+Hr,Ti=Ae.y+ai,Br=Pi+We,Ni=Ti+Bt,Ca=Math.max(Pi,ji.left),Na=Math.max(Ti,ji.top),fa=Math.min(Br,ji.right),sa=Math.min(Ni,ji.bottom);return Math.max(0,(fa-Ca)*(sa-Na))},Jn=function(){Bn=Ae.y+In,lr=Bn+Bt,nr=Ae.x+Rn,Fr=nr+We};var xt,Ct,ft=fe,Ot=ft.ownerDocument,Kt=me(ft),R=Kt.getComputedStyle(ft),k=R.width,bt=R.height,Se=R.position,Ke=ft.style.left,vn=ft.style.top,qe=ft.style.right,et=ft.style.bottom,Xe=ft.style.overflow,_e=(0,g.Z)((0,g.Z)({},we[U]),P),Me=Ot.createElement("div");(xt=ft.parentElement)===null||xt===void 0||xt.appendChild(Me),Me.style.left="".concat(ft.offsetLeft,"px"),Me.style.top="".concat(ft.offsetTop,"px"),Me.style.position=Se,Me.style.height="".concat(ft.offsetHeight,"px"),Me.style.width="".concat(ft.offsetWidth,"px"),ft.style.left="0",ft.style.top="0",ft.style.right="auto",ft.style.bottom="auto",ft.style.overflow="hidden";var Oe;if(Array.isArray(G))Oe={x:G[0],y:G[1],width:0,height:0};else{var rt=G.getBoundingClientRect();Oe={x:rt.x,y:rt.y,width:rt.width,height:rt.height}}var Ae=ft.getBoundingClientRect(),rn=Ot.documentElement,Ge=rn.clientWidth,En=rn.clientHeight,Dn=rn.scrollWidth,tn=rn.scrollHeight,Wt=rn.scrollTop,It=rn.scrollLeft,Bt=Ae.height,We=Ae.width,_t=Oe.height,Et=Oe.width,Be={left:0,top:0,right:Ge,bottom:En},Re={left:-It,top:-Wt,right:Dn-It,bottom:tn-Wt},pt=_e.htmlRegion,mt="visible",Ft="visibleFirst";pt!=="scroll"&&pt!==Ft&&(pt=mt);var Ht=pt===Ft,sn=Y(Re,He),Yt=Y(Be,He),ln=pt===mt?Yt:sn,mn=Ht?Yt:ln;ft.style.left="auto",ft.style.top="auto",ft.style.right="0",ft.style.bottom="0";var An=ft.getBoundingClientRect();ft.style.left=Ke,ft.style.top=vn,ft.style.right=qe,ft.style.bottom=et,ft.style.overflow=Xe,(Ct=ft.parentElement)===null||Ct===void 0||Ct.removeChild(Me);var Zt=v(Math.round(We/parseFloat(k)*1e3)/1e3),Xt=v(Math.round(Bt/parseFloat(bt)*1e3)/1e3);if(Zt===0||Xt===0||(0,he.Sh)(G)&&!(0,oe.Z)(G))return;var on=_e.offset,gn=_e.targetOffset,fn=Pe(Ae,on),Qn=(0,O.Z)(fn,2),kn=Qn[0],cn=Qn[1],ht=Pe(Oe,gn),yt=(0,O.Z)(ht,2),Dt=yt[0],jt=yt[1];Oe.x-=Dt,Oe.y-=jt;var Ut=_e.points||[],dn=(0,O.Z)(Ut,2),Gt=dn[0],yn=dn[1],Tn=Le(yn),Ln=Le(Gt),qn=Ue(Oe,Tn),Vn=Ue(Ae,Ln),fr=(0,g.Z)({},_e),Rn=qn.x-Vn.x+kn,In=qn.y-Vn.y+cn,mr=ur(Rn,In),gr=ur(Rn,In,Yt),Dr=Ue(Oe,["t","l"]),ar=Ue(Ae,["t","l"]),sr=Ue(Oe,["b","r"]),wr=Ue(Ae,["b","r"]),ir=_e.overflow||{},Pr=ir.adjustX,ei=ir.adjustY,er=ir.shiftX,Hn=ir.shiftY,gt=function(ai){return typeof ai=="boolean"?ai:ai>=0},Bn,lr,nr,Fr;Jn();var zr=gt(ei),Zr=Ln[0]===Tn[0];if(zr&&Ln[0]==="t"&&(lr>mn.bottom||Ie.current.bt)){var hr=In;Zr?hr-=Bt-_t:hr=Dr.y-wr.y-cn;var Yr=ur(Rn,hr),jn=ur(Rn,hr,Yt);Yr>mr||Yr===mr&&(!Ht||jn>=gr)?(Ie.current.bt=!0,In=hr,cn=-cn,fr.points=[$e(Ln,0),$e(Tn,0)]):Ie.current.bt=!1}if(zr&&Ln[0]==="b"&&(Bn<mn.top||Ie.current.tb)){var On=In;Zr?On+=Bt-_t:On=sr.y-ar.y-cn;var Er=ur(Rn,On),Or=ur(Rn,On,Yt);Er>mr||Er===mr&&(!Ht||Or>=gr)?(Ie.current.tb=!0,In=On,cn=-cn,fr.points=[$e(Ln,0),$e(Tn,0)]):Ie.current.tb=!1}var ti=gt(Pr),Ii=Ln[1]===Tn[1];if(ti&&Ln[1]==="l"&&(Fr>mn.right||Ie.current.rl)){var Gn=Rn;Ii?Gn-=We-Et:Gn=Dr.x-wr.x-kn;var ri=ur(Gn,In),Qr=ur(Gn,In,Yt);ri>mr||ri===mr&&(!Ht||Qr>=gr)?(Ie.current.rl=!0,Rn=Gn,kn=-kn,fr.points=[$e(Ln,1),$e(Tn,1)]):Ie.current.rl=!1}if(ti&&Ln[1]==="r"&&(nr<mn.left||Ie.current.lr)){var di=Rn;Ii?di+=We-Et:di=sr.x-ar.x-kn;var Oi=ur(di,In),bi=ur(di,In,Yt);Oi>mr||Oi===mr&&(!Ht||bi>=gr)?(Ie.current.lr=!0,Rn=di,kn=-kn,fr.points=[$e(Ln,1),$e(Tn,1)]):Ie.current.lr=!1}Jn();var ii=er===!0?0:er;typeof ii=="number"&&(nr<Yt.left&&(Rn-=nr-Yt.left-kn,Oe.x+Et<Yt.left+ii&&(Rn+=Oe.x-Yt.left+Et-ii)),Fr>Yt.right&&(Rn-=Fr-Yt.right-kn,Oe.x>Yt.right-ii&&(Rn+=Oe.x-Yt.right+ii)));var Ci=Hn===!0?0:Hn;typeof Ci=="number"&&(Bn<Yt.top&&(In-=Bn-Yt.top-cn,Oe.y+_t<Yt.top+Ci&&(In+=Oe.y-Yt.top+_t-Ci)),lr>Yt.bottom&&(In-=lr-Yt.bottom-cn,Oe.y>Yt.bottom-Ci&&(In+=Oe.y-Yt.bottom+Ci)));var oi=Ae.x+Rn,Bi=oi+We,Cr=Ae.y+In,Yi=Cr+Bt,Hi=Oe.x,Qi=Hi+Et,$r=Oe.y,ca=$r+_t,ma=Math.max(oi,Hi),ua=Math.min(Bi,Qi),Mr=(ma+ua)/2,da=Mr-oi,wa=Math.max(Cr,$r),Mn=Math.min(Yi,ca),Ui=(wa+Mn)/2,ia=Ui-Cr;T==null||T(fe,fr);var vr=An.right-Ae.x-(Rn+Ae.width),xr=An.bottom-Ae.y-(In+Ae.height);V({ready:!0,offsetX:Rn/Zt,offsetY:In/Xt,offsetR:vr/Zt,offsetB:xr/Xt,arrowX:da/Zt,arrowY:ia/Xt,scaleX:Zt,scaleY:Xt,align:fr})}}),Ze=function(){Te.current+=1;var Ct=Te.current;Promise.resolve().then(function(){Te.current===Ct&&Qe()})},Ve=function(){V(function(Ct){return(0,g.Z)((0,g.Z)({},Ct),{},{ready:!1})})};return(0,y.Z)(Ve,[U]),(0,y.Z)(function(){de||Ve()},[de]),[$.ready,$.offsetX,$.offsetY,$.offsetR,$.offsetB,$.arrowX,$.arrowY,$.scaleX,$.scaleY,$.align,Ze]}var dt=f(80702);function at(de,fe,G,U,we){(0,y.Z)(function(){if(de&&fe&&G){let Te=function(){U(),we()};var P=fe,T=G,I=ae(P),ne=ae(T),$=me(T),V=new Set([$].concat((0,dt.Z)(I),(0,dt.Z)(ne)));return V.forEach(function(He){He.addEventListener("scroll",Te,{passive:!0})}),$.addEventListener("resize",Te,{passive:!0}),U(),function(){V.forEach(function(He){He.removeEventListener("scroll",Te),$.removeEventListener("resize",Te)})}}},[de,fe,G])}var Pt=f(48736),nn=f(16089);function kt(de,fe,G,U,we,P,T,I){var ne=A.useRef(de),$=A.useRef(!1);ne.current!==de&&($.current=!0,ne.current=de),A.useEffect(function(){var V=(0,nn.Z)(function(){$.current=!1});return function(){nn.Z.cancel(V)}},[de]),A.useEffect(function(){if(fe&&U&&(!we||P)){var V=function(){var Se=!1,Ke=function(et){var Xe=et.target;Se=T(Xe)},vn=function(et){var Xe=et.target;!$.current&&ne.current&&!Se&&!T(Xe)&&I(!1)};return[Ke,vn]},Te=V(),He=(0,O.Z)(Te,2),Ie=He[0],Fe=He[1],Qe=V(),Ze=(0,O.Z)(Qe,2),Ve=Ze[0],xt=Ze[1],Ct=me(U);Ct.addEventListener("mousedown",Ie,!0),Ct.addEventListener("click",Fe,!0),Ct.addEventListener("contextmenu",Fe,!0);var ft=(0,o.A)(G);if(ft&&(ft.addEventListener("mousedown",Ve,!0),ft.addEventListener("click",xt,!0),ft.addEventListener("contextmenu",xt,!0)),0)var Ot,Kt,R,k;return function(){Ct.removeEventListener("mousedown",Ie,!0),Ct.removeEventListener("click",Fe,!0),Ct.removeEventListener("contextmenu",Fe,!0),ft&&(ft.removeEventListener("mousedown",Ve,!0),ft.removeEventListener("click",xt,!0),ft.removeEventListener("contextmenu",xt,!0))}}},[fe,G,U,we,P])}var Nt=["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 lt(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ge.Z,fe=A.forwardRef(function(G,U){var we=G.prefixCls,P=we===void 0?"rc-trigger-popup":we,T=G.children,I=G.action,ne=I===void 0?"hover":I,$=G.showAction,V=G.hideAction,Te=G.popupVisible,He=G.defaultPopupVisible,Ie=G.onPopupVisibleChange,Fe=G.afterPopupVisibleChange,Qe=G.mouseEnterDelay,Ze=G.mouseLeaveDelay,Ve=Ze===void 0?.1:Ze,xt=G.focusDelay,Ct=G.blurDelay,ft=G.mask,Ot=G.maskClosable,Kt=Ot===void 0?!0:Ot,R=G.getPopupContainer,k=G.forceRender,bt=G.autoDestroy,Se=G.destroyPopupOnHide,Ke=G.popup,vn=G.popupClassName,qe=G.popupStyle,et=G.popupPlacement,Xe=G.builtinPlacements,_e=Xe===void 0?{}:Xe,Me=G.popupAlign,Oe=G.zIndex,rt=G.stretch,Ae=G.getPopupClassNameFromAlign,rn=G.fresh,Ge=G.alignPoint,En=G.onPopupClick,Dn=G.onPopupAlign,tn=G.arrow,Wt=G.popupMotion,It=G.maskMotion,Bt=G.popupTransitionName,We=G.popupAnimation,_t=G.maskTransitionName,Et=G.maskAnimation,Be=G.className,Re=G.getTriggerDOMNode,pt=(0,re.Z)(G,Nt),mt=bt||Se||!1,Ft=A.useState(!1),Ht=(0,O.Z)(Ft,2),sn=Ht[0],Yt=Ht[1];(0,y.Z)(function(){Yt((0,b.Z)())},[]);var ln=A.useRef({}),mn=A.useContext(xe),An=A.useMemo(function(){return{registerSubPopup:function(Lr,Si){ln.current[Lr]=Si,mn==null||mn.registerSubPopup(Lr,Si)}}},[mn]),Zt=(0,W.Z)(),Xt=A.useState(null),on=(0,O.Z)(Xt,2),gn=on[0],fn=on[1],Qn=(0,M.Z)(function(or){(0,he.Sh)(or)&&gn!==or&&fn(or),mn==null||mn.registerSubPopup(Zt,or)}),kn=A.useState(null),cn=(0,O.Z)(kn,2),ht=cn[0],yt=cn[1],Dt=A.useRef(null),jt=(0,M.Z)(function(or){(0,he.Sh)(or)&&ht!==or&&(yt(or),Dt.current=or)}),Ut=A.Children.only(T),dn=(Ut==null?void 0:Ut.props)||{},Gt={},yn=(0,M.Z)(function(or){var Lr,Si,Wi=ht;return(Wi==null?void 0:Wi.contains(or))||((Lr=(0,o.A)(Wi))===null||Lr===void 0?void 0:Lr.host)===or||or===Wi||(gn==null?void 0:gn.contains(or))||((Si=(0,o.A)(gn))===null||Si===void 0?void 0:Si.host)===or||or===gn||Object.values(ln.current).some(function(gi){return(gi==null?void 0:gi.contains(or))||or===gi})}),Tn=J(P,Wt,We,Bt),Ln=J(P,It,Et,_t),qn=A.useState(He||!1),Vn=(0,O.Z)(qn,2),fr=Vn[0],Rn=Vn[1],In=Te!=null?Te:fr,mr=(0,M.Z)(function(or){Te===void 0&&Rn(or)});(0,y.Z)(function(){Rn(Te||!1)},[Te]);var gr=A.useRef(In);gr.current=In;var Dr=A.useRef([]);Dr.current=[];var ar=(0,M.Z)(function(or){var Lr;mr(or),((Lr=Dr.current[Dr.current.length-1])!==null&&Lr!==void 0?Lr:In)!==or&&(Dr.current.push(or),Ie==null||Ie(or))}),sr=A.useRef(),wr=function(){clearTimeout(sr.current)},ir=function(Lr){var Si=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;wr(),Si===0?ar(Lr):sr.current=setTimeout(function(){ar(Lr)},Si*1e3)};A.useEffect(function(){return wr},[]);var Pr=A.useState(!1),ei=(0,O.Z)(Pr,2),er=ei[0],Hn=ei[1];(0,y.Z)(function(or){(!or||In)&&Hn(!0)},[In]);var gt=A.useState(null),Bn=(0,O.Z)(gt,2),lr=Bn[0],nr=Bn[1],Fr=A.useState([0,0]),zr=(0,O.Z)(Fr,2),Zr=zr[0],hr=zr[1],Yr=function(Lr){hr([Lr.clientX,Lr.clientY])},jn=ut(In,gn,Ge?Zr:ht,et,_e,Me,Dn),On=(0,O.Z)(jn,11),Er=On[0],Or=On[1],ti=On[2],Ii=On[3],Gn=On[4],ri=On[5],Qr=On[6],di=On[7],Oi=On[8],bi=On[9],ii=On[10],Ci=le(sn,ne,$,V),oi=(0,O.Z)(Ci,2),Bi=oi[0],Cr=oi[1],Yi=Bi.has("click"),Hi=Cr.has("click")||Cr.has("contextMenu"),Qi=(0,M.Z)(function(){er||ii()}),$r=function(){gr.current&&Ge&&Hi&&ir(!1)};at(In,ht,gn,Qi,$r),(0,y.Z)(function(){Qi()},[Zr,et]),(0,y.Z)(function(){In&&!(_e!=null&&_e[et])&&Qi()},[JSON.stringify(Me)]);var ca=A.useMemo(function(){var or=be(_e,P,bi,Ge);return m()(or,Ae==null?void 0:Ae(bi))},[bi,Ae,_e,P,Ge]);A.useImperativeHandle(U,function(){return{nativeElement:Dt.current,forceAlign:Qi}});var ma=A.useState(0),ua=(0,O.Z)(ma,2),Mr=ua[0],da=ua[1],wa=A.useState(0),Mn=(0,O.Z)(wa,2),Ui=Mn[0],ia=Mn[1],vr=function(){if(rt&&ht){var Lr=ht.getBoundingClientRect();da(Lr.width),ia(Lr.height)}},xr=function(){vr(),Qi()},ur=function(Lr){Hn(!1),ii(),Fe==null||Fe(Lr)},Jn=function(){return new Promise(function(Lr){vr(),nr(function(){return Lr})})};(0,y.Z)(function(){lr&&(ii(),lr(),nr(null))},[lr]);function Hr(or,Lr,Si,Wi){Gt[or]=function(gi){var ga;Wi==null||Wi(gi),ir(Lr,Si);for(var Ta=arguments.length,ja=new Array(Ta>1?Ta-1:0),va=1;va<Ta;va++)ja[va-1]=arguments[va];(ga=dn[or])===null||ga===void 0||ga.call.apply(ga,[dn,gi].concat(ja))}}(Yi||Hi)&&(Gt.onClick=function(or){var Lr;gr.current&&Hi?ir(!1):!gr.current&&Yi&&(Yr(or),ir(!0));for(var Si=arguments.length,Wi=new Array(Si>1?Si-1:0),gi=1;gi<Si;gi++)Wi[gi-1]=arguments[gi];(Lr=dn.onClick)===null||Lr===void 0||Lr.call.apply(Lr,[dn,or].concat(Wi))}),kt(In,Hi,ht,gn,ft,Kt,yn,ir);var ai=Bi.has("hover"),ji=Cr.has("hover"),Pi,Ti;ai&&(Hr("onMouseEnter",!0,Qe,function(or){Yr(or)}),Hr("onPointerEnter",!0,Qe,function(or){Yr(or)}),Pi=function(Lr){(In||er)&&gn!==null&&gn!==void 0&&gn.contains(Lr.target)&&ir(!0,Qe)},Ge&&(Gt.onMouseMove=function(or){var Lr;(Lr=dn.onMouseMove)===null||Lr===void 0||Lr.call(dn,or)})),ji&&(Hr("onMouseLeave",!1,Ve),Hr("onPointerLeave",!1,Ve),Ti=function(){ir(!1,Ve)}),Bi.has("focus")&&Hr("onFocus",!0,xt),Cr.has("focus")&&Hr("onBlur",!1,Ct),Bi.has("contextMenu")&&(Gt.onContextMenu=function(or){var Lr;gr.current&&Cr.has("contextMenu")?ir(!1):(Yr(or),ir(!0)),or.preventDefault();for(var Si=arguments.length,Wi=new Array(Si>1?Si-1:0),gi=1;gi<Si;gi++)Wi[gi-1]=arguments[gi];(Lr=dn.onContextMenu)===null||Lr===void 0||Lr.call.apply(Lr,[dn,or].concat(Wi))}),Be&&(Gt.className=m()(dn.className,Be));var Br=(0,g.Z)((0,g.Z)({},dn),Gt),Ni={},Ca=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Ca.forEach(function(or){pt[or]&&(Ni[or]=function(){for(var Lr,Si=arguments.length,Wi=new Array(Si),gi=0;gi<Si;gi++)Wi[gi]=arguments[gi];(Lr=Br[or])===null||Lr===void 0||Lr.call.apply(Lr,[Br].concat(Wi)),pt[or].apply(pt,Wi)})});var Na=A.cloneElement(Ut,(0,g.Z)((0,g.Z)({},Br),Ni)),fa={x:ri,y:Qr},sa=tn?(0,g.Z)({},tn!==!0?tn:{}):null;return A.createElement(A.Fragment,null,A.createElement(w.Z,{disabled:!In,ref:jt,onResize:xr},A.createElement(j,{getTriggerDOMNode:Re},Na)),A.createElement(xe.Provider,{value:An},A.createElement(D,{portal:de,ref:Qn,prefixCls:P,popup:Ke,className:m()(vn,ca),style:qe,target:ht,onMouseEnter:Pi,onMouseLeave:Ti,onPointerEnter:Pi,zIndex:Oe,open:In,keepDom:er,fresh:rn,onClick:En,mask:ft,motion:Tn,maskMotion:Ln,onVisibleChanged:ur,onPrepare:Jn,forceRender:k,autoDestroy:mt,getPopupContainer:R,align:bi,arrow:sa,arrowPos:fa,ready:Er,offsetX:Or,offsetY:ti,offsetR:Ii,offsetB:Gn,onAlign:Qi,stretch:rt,targetWidth:Mr/di,targetHeight:Ui/Oi})))});return fe}var wt=lt(ge.Z)},50304:function(){"use strict"},59155:function(an,it,f){"use strict";f.d(it,{Z:function(){return b}});var g=f(59301),O=f(8591),re=f(92832),ge={codeBox:"codeBox___WpkVl"},F=f(92310),m=f.n(F),w=Object.defineProperty,he=(A,C,K)=>C in A?w(A,C,{enumerable:!0,configurable:!0,writable:!0,value:K}):A[C]=K,o=(A,C,K)=>he(A,typeof C!="symbol"?C+"":C,K),M=(A,C,K)=>new Promise((pe,B)=>{var Z=L=>{try{X(K.next(L))}catch(D){B(D)}},ie=L=>{try{X(K.throw(L))}catch(D){B(D)}},X=L=>L.done?pe(L.value):Promise.resolve(L.value).then(Z,ie);X((K=K.apply(A,C)).next())});class W extends g.Component{constructor(C){super(C),o(this,"canvas"),o(this,"randomNum",(K,pe)=>Math.floor(Math.random()*(pe-K)+K)),o(this,"drawPic",()=>{this.randomCode()}),o(this,"reloadPic",()=>{this.drawPic()}),o(this,"changeCode",K=>{console.log(K.target.value,222),this.setState({value:K.target.value,showError:!1})}),o(this,"onVerify",()=>{let K;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(K=!0,O.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(K=!0,O.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(K=!1),this.setState({showError:K}),K}),this.canvas=g.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(C,K){const pe=this.randomNum(C,K),B=this.randomNum(C,K),Z=this.randomNum(C,K);return`rgb(${pe}, ${B}, ${Z})`}drawText(C,K,pe){C.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const B=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);C.font=B+"px SimHei";const Z=10,ie=(this.state.contentWidth-40)/(this.state.code.length-1);let X=Z;pe>0&&(X=Z+pe*ie);let L=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);B>40&&(L=40);const D=this.randomNum(-10,10);C.translate(X,L),C.rotate(D*Math.PI/180),C.fillText(K,0,0),C.rotate(-D*Math.PI/180),C.translate(-X,-L)}drawLine(C){for(let K=0;K<1;K++)C.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),C.beginPath(),C.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),C.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),C.stroke()}drawDot(C){for(let K=0;K<100;K++)C.fillStyle=this.randomColor(0,255),C.beginPath(),C.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),C.fill()}randomCode(){let C="";const K="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let pe=0;pe<this.state.codeLength;pe++){const B=Math.floor(Math.random()*57);C+=K[B]}this.setState({code:C},()=>{const B=this.canvas.current.getContext("2d");B.textBaseline="bottom",B.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),B.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let Z=0;Z<this.state.code.length;Z++)this.drawText(B,this.state.code[Z],Z);this.drawLine(B),this.drawDot(B)})}render(){const{className:C,width:K=300}=this.props;return g.createElement("div",{className:m()(ge.codeBox,C),style:{width:K}},g.createElement("aside",null,g.createElement(re.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),g.createElement("div",null,g.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),g.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const y=(A,C)=>{let K;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,C),React.createElement(W,{ref:pe=>K=pe})),onOk:()=>M(void 0,null,function*(){if(K.onVerify())return Promise.reject();A()})})};var b=W},8797:function(an,it,f){"use strict";var g=f(59301),O=f(93314),re=f(3113),ge=Object.defineProperty,F=Object.defineProperties,m=Object.getOwnPropertyDescriptors,w=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,M=(A,C,K)=>C in A?ge(A,C,{enumerable:!0,configurable:!0,writable:!0,value:K}):A[C]=K,W=(A,C)=>{for(var K in C||(C={}))he.call(C,K)&&M(A,K,C[K]);if(w)for(var K of w(C))o.call(C,K)&&M(A,K,C[K]);return A},y=(A,C)=>F(A,m(C));const b=({img:A,buttonProps:C={},styles:K={},customText:pe,ButtonText:B,ButtonClick:Z,Buttonclass:ie,ButtonTwo:X,imgStyles:L,loading:D=!1,className:Q=""})=>g.createElement("section",{className:`tc animated fadeIn ${Q}`,style:W({color:"#999",margin:"100px auto",visibility:D?"hidden":"visible"},K)},g.createElement("img",{src:A||O,style:y(W({},L),{pointerEvents:"none",userSelect:"none"})}),g.createElement("p",{className:"mt20 font14"},pe||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),B&&g.createElement(re.ZP,W({className:ie,onClick:Z},C),B),X&&X);it.Z=b},23210:function(an,it,f){"use strict";f.d(it,{Z:function(){return ie}});var g=f(59301),O={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},re=f(3113),ge=f(70557),F=f(23954),m=f(6848),w=f(955),he=f(94941),o=f(8797),M=f(3294),W=f(19381),y=f(59301),b=Object.defineProperty,A=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable,pe=(X,L,D)=>L in X?b(X,L,{enumerable:!0,configurable:!0,writable:!0,value:D}):X[L]=D,B=(X,L)=>{for(var D in L||(L={}))C.call(L,D)&&pe(X,D,L[D]);if(A)for(var D of A(L))K.call(L,D)&&pe(X,D,L[D]);return X},Z=(X,L,D)=>new Promise((Q,j)=>{var ve=le=>{try{ye(D.next(le))}catch(oe){j(oe)}},xe=le=>{try{ye(D.throw(le))}catch(oe){j(oe)}},ye=le=>le.done?Q(le.value):Promise.resolve(le.value).then(ve,xe);ye((D=D.apply(X,L)).next())}),ie=({editOffice:X="view",data:L,theme:D,type:Q,filename:j,monacoEditor:ve,className:xe,style:ye,close:le,onClose:oe,hasMask:H,disabledDownload:be,onImgDimensions:J,showNodata:me,recordInfo:ae})=>{const[v,_]=(0,g.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Y,q]=(0,g.useState)(""),[Pe,Le]=(0,g.useState)(),Ue=window.ENV==="build"?"/react/build":"",$e=location.host.startsWith("localhost")?M.Z.PROXY_SERVER:M.Z.API_SERVER,dt=10*(1024*1024),at=(0,g.useRef)();L!=null&&L.startsWith("/api")&&Q!=="txt"&&(L=M.Z.API_SERVER+L);const Pt=lt=>lt.substring(lt.lastIndexOf("/")+1).split(".").pop();j&&ve&&(ve.filename=j),(0,g.useEffect)(()=>{var lt,wt;const de=(wt=(lt=document.cookie)==null?void 0:lt.replace(/\s/g,""))==null?void 0:wt.split(";");de==null||de.map(fe=>{let G=fe.split("=");G[0]==="_educoder_session"&&q(G[1])})},[]),(0,g.useEffect)(()=>{Q==="office"&&(L.indexOf("bigfilescdn.")>-1||L.indexOf("bigfiles1")>-1?Le({url:L,fileType:Pt(L),model:L.indexOf("model=edit")?"edit":"view"}):nn())},[Q,L]);const nn=()=>Z(void 0,null,function*(){console.log("data:",L);let lt=L;L.startsWith("http")||(lt=location.origin+lt);let wt=new URL(lt).pathname.split("/").pop();const de=yield(0,he.gJ)({attachment_id:wt});de.url=$e+de.url,Le(de)}),kt=()=>{if(L.startsWith("http")||L.startsWith("blob:")){Nt();return}(0,w.Sv)(j||"educoder",L,j)},Nt=()=>{ae&&(0,W.fc)({id:ae==null?void 0:ae.id,watch_type:1,course_id:ae==null?void 0:ae.course_id}),(0,w.Nd)(j||"educoder",decodeURIComponent(L))};return y.createElement("div",{style:B({},ye||{}),className:`${H&&O.bgBlack} ${Q?O.wrp:"hide"}`},le&&y.createElement("div",{className:O.close,ref:at},!!J&&y.createElement(m.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>at.current},y.createElement("span",{onClick:()=>{oe(),J()}},y.createElement("i",{className:"icon-yulanpizhu"}))),!be&&y.createElement(m.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>at.current},y.createElement("span",{onClick:Nt},y.createElement("i",{className:"icon-quxiaozhiding"}))),y.createElement(m.Z,{title:"\u5173\u95ED",getPopupContainer:()=>at.current},y.createElement("span",{className:"",onClick:oe},y.createElement("i",{className:"icon-guanbi1"})))),y.createElement("div",{className:`${O[xe]} ${xe} ${O.monaco} ${Q==="txt"?"show":"hide"}`},Q==="txt"&&y.createElement(y.Fragment,null,y.createElement(F.ZP,B({},ve)))),Q==="audio"&&y.createElement("audio",{src:`${(L==null?void 0:L.indexOf("http://"))>-1||(L==null?void 0:L.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${L}`,autoPlay:!0}),Q==="video"&&y.createElement(y.Fragment,null,(L==null?void 0:L.indexOf("http"))>-1?y.createElement("video",{controls:!0,src:`${L}`,autoPlay:!0}):y.createElement("video",{controls:!0,src:`data:video/mp4;base64,${L}`,autoPlay:!0})),Q==="office"&&Pe&&y.createElement("iframe",{src:`${Ue}/office.html?key=${Pe.key}&url=${btoa(Pe.url)}&callbackUrl=${$e+(Pe.callbackUrl||"")}&fileType=${Pe.fileType}&title=${Pe.title||""}&model=${X}&officeServer=${M.Z.ONLYOFFICE}&disabledDownload=${!!be}`}),Q==="html"&&y.createElement("iframe",{src:L+"&disposition=inline"}),Q==="pdf"&&y.createElement("iframe",{src:`${Ue}/js/pdfview/index.html?filename=${j||"educoder.pdf"}&url=${encodeURIComponent(L)}&disabledDownload=${!!be}`}),Q==="image"&&y.createElement("img",{src:`${(L==null?void 0:L.indexOf("http://"))>-1||(L==null?void 0:L.indexOf("https://"))>-1?"":"data:image/png;base64,"}${L}`}),(Q==="other"||Q==="download")&&y.createElement(y.Fragment,null,me?y.createElement(o.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:y.createElement(re.ZP,{icon:y.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:kt,disabled:be},"\u4E0B\u8F7D")}):y.createElement(re.ZP,{type:"primary",size:"middle",onClick:kt,disabled:be},y.createElement(ge.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(an,it,f){"use strict";f.d(it,{z:function(){return Q},Z:function(){return j}});var g=f(59301),O=f(50304),re=f(24768),ge=f(64018),F=f(65157),m=f(3294),w=f(955),he=f(15342),o=f(1012),M=f(23210),W=f(59301),b=({html:ve})=>{const xe=(0,g.useRef)(null),ye=(0,g.useRef)(null),le=`.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,g.useEffect)(()=>{const oe=xe.current.attachShadow({mode:"open"});ye.current=document.createElement("div"),ye.current.className="markdown-body",ye.current.innerHTML=ve,oe.appendChild(ye.current);const H=document.createElement("style");return H.textContent=le,oe.appendChild(H),()=>{oe.innerHTML=""}},[]),(0,g.useEffect)(()=>{ye.current&&(ye.current.innerHTML=ve)},[ve]),W.createElement("div",{ref:xe})},A=Object.defineProperty,C=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,B=(ve,xe,ye)=>xe in ve?A(ve,xe,{enumerable:!0,configurable:!0,writable:!0,value:ye}):ve[xe]=ye,Z=(ve,xe)=>{for(var ye in xe||(xe={}))K.call(xe,ye)&&B(ve,ye,xe[ye]);if(C)for(var ye of C(xe))pe.call(xe,ye)&&B(ve,ye,xe[ye]);return ve};const ie="@\u2581\u2581@",X="@\u2581@",L=/<pre[^>]*>/g;function D(ve){let xe=document.createElement("div");return xe.innerHTML=ve,xe.childNodes.length===0?"":xe.childNodes[0].nodeValue}const Q=(ve,xe)=>{ve=ve||"";const ye=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,le=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,oe=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,H=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return xe?ve.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ye,(be,J,me,ae,v,_,Y)=>{const q=J||ae||_,Pe=me||v||Y||"?";return m.Z.API_SERVER+"/api/attachments/"+q+Pe+"&t="+(0,w.Jn)(q,Date.now())+(be.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ve=ve.replace(H,(be,J,me,ae,v,_,Y)=>{const q=J||ae||_,Pe=me||v||Y||"?";return m.Z.API_SERVER+"/attachments/download/"+q+Pe+"&t="+(0,w.Jn)(q,Date.now())+(be.indexOf(")")>-1?")":"&")}).replace(ye,(be,J,me,ae,v,_,Y)=>{const q=J||ae||_,Pe=me||v||Y||"?";return m.Z.API_SERVER+"/api/attachments/"+q+Pe+"&t="+(0,w.Jn)(q,Date.now())+(be.indexOf(")")>-1?")":"&")}).replace(le,(be,J,me,ae,v)=>{const _=J||ae,Y=me||v||"";return'"'+m.Z.API_SERVER+"/api/attachments/"+_+Y+_+Y+"&t="+(0,w.Jn)(_,Date.now())}).replace(oe,(be,J,me,ae,v)=>{const _=J||ae,Y=me||v||"";return"("+m.Z.API_SERVER+"/files/uploads/"+_+Y+_+Y+"&t="+(0,w.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,`
`),ve)};var j=({value:ve="",className:xe,showTextOnly:ye,showLines:le,style:oe={},stylesPrev:H={},highlightKeywords:be,showProgramFill:J,isProgramFill:me,disabledFill:ae=!1,programFillValue:v,onFillChange:_=Pe=>{},onFillBlur:Y=()=>{},onFillFocus:q=()=>{}})=>{let Pe=String(ve);const[Le,Ue]=(0,g.useState)(""),[$e,ut]=(0,g.useState)("office"),[dt,at]=(0,g.useState)([]),Pt=(0,g.useRef)("a"+(0,o.Z)()),nn={},kt=(ne,$,V)=>{const Te=document.createElement(ne===X?"input":"textarea");Te.style.width="100%",Te.style.height=ne===X?"40px":"151px",Te.rows=5,Te.spellcheck=!1,Te.name="edu-program-fill",Te.placeholder="\u8BF7\u8F93\u5165",Te.dataset.id=$;const He=Object.keys(nn).length;return nn[He]=Te,`<span class="edu-program-fill-wrap ${ne===X?"":"show"}" style="width:${ne===X?"400px":"100%"}" title=${V||""}><span>${Te.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Nt(ne){return ne=ne.replace(/!\[.*?\]\(.*?\)/g,""),ne=ne.replace(/\[.*?\]\(.*?\)/g,""),ne=ne.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),ne=ne.replace(/<embed.*?>/g,""),ne=ne.replace(/<img.*?>/g,""),ne=ne.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),ne=ne.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),ne=ne.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),ne=ne.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),ne}const lt=ne=>ne.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function($,V){let Te=V.replace(/(\n|\r)/g,"").split("}"),He=[];return Te.map(Ie=>{Ie!=""&&He.push(`.${Pt.current} ${Ie}`)}),`<style>${He.join("}")}</style>`}),wt=(0,g.useMemo)(()=>{try{const Te=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,He=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Ie=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Fe=/\(\/attachments\/download\//g;Pe=Pe.replace(Fe,"("+m.Z.API_SERVER+"/attachments/download/").replace(Te,"("+m.Z.API_SERVER+"/api/attachments/").replace(He,'"'+m.Z.API_SERVER+"/api/attachments/").replace(Ie,'"'+m.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(Te){}if(J){let Te=-1;return Pe=Pe.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(He,Ie,Fe){var Qe;return++Te,kt(He,Te,(Qe=v==null?void 0:v[Te])==null?void 0:Qe.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${lt(Pe||"")}</pre>`}let ne=lt(Pe);ne=(0,re.ZP)(ne);const $=(0,re.ez)();Pe.match(/\[TOC\]/)&&(ne=ne.replace("<p>[TOC]</p>",(0,re.Qv)()),(0,re.Iy)()),ne=ne.replace(/(__special_katext_id_\d+__)/g,(Te,He)=>{const{type:Ie,expression:Fe}=$[He];return(0,he.renderToString)(D(Fe)||"",{displayMode:Ie==="block",throwOnError:!1,output:"html"})}),ne=ne.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,re.AL)();const V=document.createElement("div");if(V.innerHTML=ne,ye)return V.innerText;if(be){const Te=be.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return U(V,Te),V.innerHTML}return setTimeout(()=>T(),500),V.innerHTML},[Pe,be]);(0,g.useEffect)(()=>{we.current&&we.current.querySelectorAll(["input","textarea"]).forEach($=>{$.oninput=de,$.onblur=fe,$.onfocus=G})},[dt]),(0,g.useEffect)(()=>{var ne,$,V,Te,He;if(v!=null&&v.length)try{const Ie=we.current.querySelectorAll(".edu-program-fill-score"),Fe=we.current.querySelectorAll('[name="edu-program-fill"]');for(const[Qe,Ze]of Fe.entries())Ze.value=((ne=v==null?void 0:v[Qe])==null?void 0:ne.value)||"",(($=v==null?void 0:v[Qe])==null?void 0:$.type)==="warning"?Ze.className="program-fill-warning":((V=v==null?void 0:v[Qe])==null?void 0:V.type)==="success"?Ze.className="program-fill-success":Ze.className="";for(const[Qe,Ze]of Ie.entries())Ze.innerHTML=(Te=v==null?void 0:v[Qe])!=null&&Te.score?`${(He=v==null?void 0:v[Qe])==null?void 0:He.score}\u5206`:"";at(v)}catch(Ie){console.log(Ie,"error")}},[v]);const de=ne=>{dt[ne.target.dataset.id]=dt[ne.target.dataset.id]||{},dt[ne.target.dataset.id].value=ne.target.value,at([...dt]),_(dt,ne.target.dataset.id)},fe=ne=>{dt[ne.target.dataset.id]=dt[ne.target.dataset.id]||{},dt[ne.target.dataset.id].value=ne.target.value,at([...dt]),Y(dt,ne.target.dataset.id)},G=ne=>{dt[ne.target.dataset.id]=dt[ne.target.dataset.id]||{},dt[ne.target.dataset.id].value=ne.target.value,at([...dt]),q(dt,ne.target.dataset.id)};function U(ne,$){return ne.childNodes.forEach(V=>{var Te;if(V.childNodes.length>0)U(V,$);else if(V.nodeName!=="IMG")if(V.innerHTML)V.innerHTML=(Te=V.innerHTML)==null?void 0:Te.replace(new RegExp($,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const He=document.createElement("span");He.innerHTML=V.textContent.replace(new RegExp($,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),V.replaceWith(He)}})}const we=(0,g.useRef)();re.jb.WebkitLineClamp=le,le&&(oe=Z(Z({},oe),re.jb));function P(ne){let $=ne.target;if($.tagName.toUpperCase()==="A"){let V=$.getAttribute("href");if(V.indexOf("office")>-1)ne.preventDefault(),Ue(V),ut("office");else if(V.indexOf("application/pdf")>-1)ne.preventDefault(),Ue(V),ut("pdf");else if(V.indexOf("text/html")>-1)ne.preventDefault(),Ue(V),ut("html");else if(V.startsWith("#")){ne.preventDefault();let Te=document.getElementById(V.replace("#",""));Te&&Te.scrollIntoView(!0)}}}const T=()=>{var ne;const $=(ne=we.current)==null?void 0:ne.querySelectorAll("video");$==null||$.forEach(V=>{if(V.oncontextmenu=()=>!1,V.src.indexOf(".m3u8")>-1&&!V.canPlayType("application/vnd.apple.mpegurl")){if(F.ZP.isSupported()){var Te=new F.ZP;Te.loadSource(V.src),Te.attachMedia(V)}}})};(0,g.useEffect)(()=>{if(we.current&&wt&&wt.match(L)&&window.PR.prettyPrint(),we.current)return we.current.addEventListener("click",P),()=>{var ne;(ne=we.current)==null||ne.removeEventListener("click",P),(0,re.AL)(),(0,re.Iy)()}},[wt,we.current,P]),(0,g.useEffect)(()=>{var ne;const $=V=>{V.preventDefault(),V.clipboardData.setData("text",window.getSelection().toString())};return(ne=we.current)==null||ne.addEventListener("copy",$),()=>{var V;(V=we.current)==null||V.removeEventListener("copy",$)}},[we.current]);const I=ne=>/<style[\s\S]*?>/i.test(ne||"");return g.createElement(g.Fragment,null,ye&&g.createElement("div",{ref:we},wt),!ye&&!I(wt)&&g.createElement("div",{ref:we,style:Z({},oe),className:`${xe||""} ${ae?"disabled-fill":""} markdown-body ${Pt.current}`,dangerouslySetInnerHTML:{__html:wt}}),!ye&&I(wt)&&g.createElement(b,{html:wt}),g.createElement(M.Z,{close:!0,data:Le,type:Le!=null&&Le.length?$e:"",style:Z({},H),onClose:()=>Ue("")}))}},23954:function(an,it,f){"use strict";f.d(it,{SV:function(){return we},ZP:function(){return U}});var g=f(59301),O=f(76374);const re={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"]},ge={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(`
`)}]},m={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(`
`)}]},w={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 he=f(53184),o=f.n(he),M=Object.defineProperty,W=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,K=(P,T,I)=>T in P?M(P,T,{enumerable:!0,configurable:!0,writable:!0,value:I}):P[T]=I,pe=(P,T)=>{for(var I in T||(T={}))A.call(T,I)&&K(P,I,T[I]);if(b)for(var I of b(T))C.call(T,I)&&K(P,I,T[I]);return P},B=(P,T)=>W(P,y(T)),Z=(P,T,I)=>new Promise((ne,$)=>{var V=Ie=>{try{He(I.next(Ie))}catch(Fe){$(Fe)}},Te=Ie=>{try{He(I.throw(Ie))}catch(Fe){$(Fe)}},He=Ie=>Ie.done?ne(Ie.value):Promise.resolve(Ie.value).then(V,Te);He((I=I.apply(P,T)).next())});const ie={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"]}},X=(P,T)=>T.map(I=>({label:I,kind:P.languages.CompletionItemKind.Keyword,insertText:I})),L=P=>Object.keys(ie.tables).map(T=>({label:T,kind:P.languages.CompletionItemKind.Variable,insertText:T})),D=(P,T)=>{const I=ie.tables[P];return I?I.map(ne=>({label:ne,kind:T.languages.CompletionItemKind.Field,insertText:ne})):[]};function Q(P,T,I,ne,$){let V=T.getWordUntilPosition(I),Te={startLineNumber:I.lineNumber,endLineNumber:I.lineNumber,startColumn:V.startColumn,endColumn:V.endColumn},He=ne.map(Ie=>({label:Ie,kind:P.languages.CompletionItemKind.Keyword,insertText:Ie,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Te}));return $.map(Ie=>{He.push(B(pe({},Ie),{range:Te}))}),He}var j=P=>{ie.languages.map($=>(P.languages.registerDocumentFormattingEditProvider($,{provideDocumentFormattingEdits(V,Te,He){return Z(this,null,function*(){const Ie=o()(V.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:V.getFullModelRange(),text:Ie}]})}}),$));const T=F.quickKey.map($=>({label:$.label,kind:P.languages.CompletionItemKind.Method,insertText:$.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet})),I=m.quickKey.map($=>({label:$.label,kind:P.languages.CompletionItemKind.Method,insertText:$.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet})),ne=ge.quickKey.map($=>({label:$.label,kind:P.languages.CompletionItemKind.Method,insertText:$.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet}));P.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function($,V){var Te=$.getWordUntilPosition(V),He={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Ie=$.getLineContent(V.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...F.keywords.map(Fe=>({label:Fe,kind:P.languages.CompletionItemKind.Function,documentation:Fe,insertText:Fe,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He})),...F.quickKey.map(Fe=>({label:Fe.label,kind:P.languages.CompletionItemKind.Function,documentation:Fe.content,insertText:Ie.startsWith("#")?Fe.content.replace(/#/,""):Fe.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}}),P.languages.registerCompletionItemProvider("c",{provideCompletionItems:function($,V){var Te=$.getWordUntilPosition(V),He={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn};return{suggestions:[...re.keywords.map(Ie=>({label:Ie,kind:P.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}}),P.languages.registerCompletionItemProvider("java",{provideCompletionItems:function($,V){var Te=$.getWordUntilPosition(V),He={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Ie=$.getLineContent(V.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...ge.keywords.map(Fe=>({label:Fe,kind:P.languages.CompletionItemKind.Function,documentation:Fe,insertText:Fe,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He})),...ge.quickKey.map(Fe=>({label:Fe.label,kind:P.languages.CompletionItemKind.Function,documentation:Fe.content,insertText:Ie.startsWith("#")?Fe.content.replace(/#/,""):Fe.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}}),P.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function($,V){var Te=$.getWordUntilPosition(V),He={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Ie=$.getLineContent(V.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...w.keywords.map(Fe=>({label:Fe,kind:P.languages.CompletionItemKind.Function,documentation:Fe,insertText:Fe,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He})),...w.quickKey.map(Fe=>({label:Fe.label,kind:P.languages.CompletionItemKind.Function,documentation:Fe.content,insertText:Ie.startsWith("#")?Fe.content.replace(/#/,""):Fe.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}}),P.languages.registerCompletionItemProvider("python",{provideCompletionItems:function($,V){var Te=$.getWordUntilPosition(V),He={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},Ie=$.getLineContent(V.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...m.keywords.map(Fe=>({label:Fe,kind:P.languages.CompletionItemKind.Function,documentation:Fe,insertText:Fe,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He})),...m.quickKey.map(Fe=>({label:Fe.label,kind:P.languages.CompletionItemKind.Function,documentation:Fe.content,insertText:Ie.startsWith("#")?Fe.content.replace(/#/,""):Fe.content,insertTextRules:P.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:He}))]}}})};const ve="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var xe=Object.defineProperty,ye=(P,T,I)=>T in P?xe(P,T,{enumerable:!0,configurable:!0,writable:!0,value:I}):P[T]=I,le=(P,T,I)=>ye(P,typeof T!="symbol"?T+"":T,I);const oe=class Fu{constructor(T,I,ne){this.placeholder=T,this.editor=I,this.monaco=ne,I.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Fu.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)}};le(oe,"ID","editor.widget.placeholderHint");var be=oe,J=f(96236),me=f(8591),ae=f(6848),v=f(89392),_=f(34604),Y=f(56102),q=Object.defineProperty,Pe=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,dt=(P,T,I)=>T in P?q(P,T,{enumerable:!0,configurable:!0,writable:!0,value:I}):P[T]=I,at=(P,T)=>{for(var I in T||(T={}))$e.call(T,I)&&dt(P,I,T[I]);if(Ue)for(var I of Ue(T))ut.call(T,I)&&dt(P,I,T[I]);return P},Pt=(P,T)=>Pe(P,Le(T)),nn=(P,T)=>{var I={};for(var ne in P)$e.call(P,ne)&&T.indexOf(ne)<0&&(I[ne]=P[ne]);if(P!=null&&Ue)for(var ne of Ue(P))T.indexOf(ne)<0&&ut.call(P,ne)&&(I[ne]=P[ne]);return I},kt=(P,T,I)=>new Promise((ne,$)=>{var V=Ie=>{try{He(I.next(Ie))}catch(Fe){$(Fe)}},Te=Ie=>{try{He(I.throw(Ie))}catch(Fe){$(Fe)}},He=Ie=>Ie.done?ne(Ie.value):Promise.resolve(Ie.value).then(V,Te);He((I=I.apply(P,T)).next())});function Nt(P){return/^\d+$/.test(P)?`${P}px`:P}function lt(){}let wt=!1;const de={"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 fe(P=[]){let T=P;if(Array.isArray(P)){for(let I=0;I<P.length;I++){let ne=de[P[I]];if(ne)return ne}return T[0]}return de[T]||T}let G=null;var U=P=>{var T=P,{width:I="100%",height:ne="100%",value:$,language:V="javascript",style:Te={},options:He={},overrideServices:Ie={},theme:Fe="vs-dark",onEditBlur:Qe,isCopy:Ze=!1,onSave:Ve,autoHeight:xt=!1,forbidCopy:Ct=!1,onChange:ft=lt,editorDidMount:Ot=lt,onFocus:Kt=lt,onBreakPoint:R=lt,breakPointValue:k=[],filename:bt="educoder.txt",errorLine:Se,errorContent:Ke="",highlightLine:vn,openBreakPoint:qe=!1,placeholder:et="",showMiniMap:Xe=!0}=T,_e=nn(T,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const Me=(0,g.useRef)(),Oe=(0,g.useRef)({}),rt=(0,g.useRef)(),Ae=(0,g.useRef)(),rn=(0,g.useRef)([]),Ge=(0,g.useRef)(!1),En=(0,g.useRef)(),Dn=(0,g.useRef)(),tn=(0,g.useRef)(!1),[Wt,It]=(0,g.useState)(!1);function Bt(){let Zt;return Me.current&&(Zt=new O.Z(Xt=>{for(let on of Xt)(on.target.offsetHeight>0||on.target.offsetWidth>0)&&Oe.current.instance.layout()}),Zt.observe(Me.current)),Zt}function We(){me.ZP.warning({content:decodeURIComponent(ve),key:"monaco-editor-tip"})}const _t=()=>{let Zt=Oe.current.instance;if($!=null&&Zt&&Wt){const Xt=Zt.getModel();Xt&&$!==Xt.getValue()&&(wt=!0,Xt.setValue($),Zt.layout(),wt=!1)}};(0,g.useEffect)(()=>{const Zt=_.Z.subscribe("formatDocument",Xt=>{var on;let gn=Oe.current.instance;(on=gn==null?void 0:gn.getAction)==null||on.call(gn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Xt=>{ft(Xt)},Zt},[]),(0,g.useEffect)(()=>{var Zt;let Xt=Oe.current.instance;Ae.current&&clearTimeout(Ae.current),Ae.current=setTimeout(()=>{_t()},500),$&&($!=null&&$.length)&&((Zt=Xt==null?void 0:Xt.updateOptions)==null||Zt.call(Xt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10($.split(/\r\n|\r|\n/g).length))+3,5)}))},[$,Wt,Oe.current]),(0,g.useEffect)(()=>{if(Se&&Oe.current&&Oe.current.instance){let Xt=Oe.current.instance;Xt.changeViewZones(function(on){var gn=document.createElement("div");gn.style.padding="10px 20px",gn.style.width="calc(100% - 20px)",gn.className="my-error-line-wrp",gn.innerHTML=Ke,on.addZone({afterLineNumber:Se||11,heightInLines:3,domNode:gn})});var Zt={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}};Xt.addOverlayWidget(Zt),Xt.revealPositionInCenter({lineNumber:20,column:1})}},[Se,Oe.current,Wt]);const Et=(Zt="",Xt)=>{if(!Zt||Zt.trim()==="")return!0;const gn=Oe.current.instance.getModel().getLineTokens(Xt);let fn=!1;for(let Qn=0;Qn<2;Qn++)gn.getStandardTokenType(Qn)===1&&(fn=!0);return fn};(0,g.useEffect)(()=>{var Zt;const Xt=(Zt=Oe.current)==null?void 0:Zt.instance;if(Xt&&Wt&&Ct){const on=Xt.onDidBlurEditorWidget(()=>{tn.current=!1}),gn=Xt.onDidFocusEditorText(()=>{tn.current=!0});return()=>{on.dispose(),gn.dispose()}}},[Oe.current,Wt,Ct]),(0,g.useEffect)(()=>{var Zt;if((Zt=Oe.current)!=null&&Zt.instance&&Wt&&qe){let Xt=Oe.current.instance,on=Xt.getModel();if(!on)return;(()=>{var Gt;let yn=[],Tn=[];const Ln=on.getAllDecorations();for(let Vn of Ln)Vn.options.className==="highlighted-line"&&(yn.push((Gt=Vn==null?void 0:Vn.range)==null?void 0:Gt.startLineNumber),Tn.push(Vn==null?void 0:Vn.id));if(vn===yn[0])return;on.deltaDecorations(Tn,[]);const qn=on.getLineCount();vn&&vn<=qn&&(Xt.deltaDecorations([],[{range:new G.Range(vn,1,vn,on.getLineMaxColumn(vn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Xt.revealLineInCenter(vn))})();const fn=(Gt=!1)=>{var yn;let Tn=[],Ln=[];const qn=on.getAllDecorations();for(let Vn of qn)Vn.options.linesDecorationsClassName==="breakpoints-select"&&(Tn.push((yn=Vn==null?void 0:Vn.range)==null?void 0:yn.startLineNumber),Ln.push(Vn==null?void 0:Vn.id));if(Gt)return{lines:Tn,ids:Ln};R(Tn)},Qn=Gt=>kt(void 0,null,function*(){let yn={range:new G.Range(Gt,1,Gt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield on.deltaDecorations([],[yn]),fn()}),kn=Gt=>kt(void 0,null,function*(){let yn=[];const Tn=Xt.getLineDecorations(Gt);for(let Ln of Tn)Ln.options.linesDecorationsClassName==="breakpoints-select"&&yn.push(Ln.id);yield on.deltaDecorations(yn,[]),fn()}),cn=Gt=>{let yn=Xt.getLineDecorations(Gt);for(let Tn of yn)if(Tn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,v.isEqual)(k,fn(!0).lines)){on.deltaDecorations(fn(!0).ids,[]);const Gt=k.map(yn=>({range:new G.Range(yn,1,yn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));on.deltaDecorations([],Gt)}const ht=Xt.onDidChangeModelContent(Gt=>{let yn=Xt.getPosition();if(yn){let Tn=yn.lineNumber;clearTimeout(Dn.current),Dn.current=setTimeout(()=>{Et(on.getLineContent(Tn),Tn)?kn(Tn):cn(Tn)?(kn(Tn),Qn(Tn)):fn()},100)}}),yt=Xt.onMouseDown(Gt=>{var yn,Tn,Ln;if(Gt.target.detail&&((Ln=(Tn=(yn=Gt.target)==null?void 0:yn.element)==null?void 0:Tn.className)!=null&&Ln.includes("line-numbers"))){let qn=Gt.target.position.lineNumber;if(Et(on.getLineContent(qn),qn))return;cn(qn)?kn(qn):Qn(qn)}}),Dt=Gt=>{let yn={range:new G.Range(Gt,1,Gt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};rn.current=Xt.deltaDecorations(rn.current,[yn])},jt=()=>{rn.current=Xt.deltaDecorations(rn.current,[])},Ut=Xt.onMouseMove(Gt=>{var yn,Tn,Ln;if(jt(),Gt.target.detail&&((Ln=(Tn=(yn=Gt.target)==null?void 0:yn.element)==null?void 0:Tn.className)!=null&&Ln.includes("line-numbers"))){let qn=Gt.target.position.lineNumber;if(Et(on.getLineContent(qn),qn))return;Dt(qn)}}),dn=Xt.onMouseLeave(()=>{jt()});return()=>{ht.dispose(),yt.dispose(),Ut.dispose(),dn.dispose()}}},[Oe.current,Wt,k,vn,qe,V]),(0,g.useEffect)(()=>{var Zt;(Zt=Oe.current)!=null&&Zt.instance&&qe&&Oe.current.instance.setPosition({lineNumber:0,column:0})},[vn]);function Be(){let Zt=Oe.current.instance;if(Zt){const Xt=Zt.getSelection(),on=Oe.current.pastePos||{},gn=new G.Range(on.startLineNumber||Xt.endLineNumber,on.startColumn||Xt.endColumn,on.endLineNumber||Xt.endLineNumber,on.endColumn||Xt.endColumn);setTimeout(()=>{Zt.executeEdits("",[{range:gn,text:""}])},300)}}function Re(Zt){(window.navigator.platform.match("Mac")?Zt.metaKey:Zt.ctrlKey)&&Zt.keyCode==83&&(Zt.preventDefault(),Ve())}const pt=()=>{if(xt&&Oe.current.instance){const Zt=Oe.current.instance.getContentHeight();mn(Zt<ne?ne:Zt)}else mn(ne)};function mt(Zt){var Xt=document.createEvent("MouseEvents");Xt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Zt.dispatchEvent(Xt)}const Ft=Zt=>{if(!tn.current)return;const{keyCode:Xt,ctrlKey:on,metaKey:gn,target:fn,type:Qn}=Zt;return(Qn==="paste"||(Xt===67||Xt===86)&&(gn||on))&&fn.nodeName==="TEXTAREA"&&(We(),Zt.preventDefault()),!1};function Ht(Zt,Xt){var on=window.URL||window.webkitURL||window,gn=new Blob([Xt]),fn=document.createElementNS("http://www.w3.org/1999/xhtml","a");fn.href=on.createObjectURL(gn),fn.download=Zt,mt(fn)}(0,g.useEffect)(()=>{pt()},[pt]),(0,g.useEffect)(()=>{Me.current&&!Wt&&Promise.all([f.e(8909),f.e(3267)]).then(f.bind(f,71448)).then(Zt=>{try{G=Zt,Oe.current.instance=G.editor.create(Me.current,{value:$,language:fe(V),theme:Fe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Xe||!1}},Ie);const Xt=Oe.current.instance;let fn=[...J.BH._menuItems].find(ht=>ht[0]._debugName=="EditorContext")[1],Qn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],kn=(ht,yt)=>{var Dt,jt;let Ut=ht._first;do yt.includes((jt=(Dt=Ut.element)==null?void 0:Dt.command)==null?void 0:jt.id)&&ht._remove(Ut);while(Ut=Ut.next)};if(Ot(Xt,G),setTimeout(()=>{pt(),Oe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Ht(bt||"educoder.txt",Xt.getValue())}})},500),Oe.current.subscription=Xt.onDidChangeModelContent(ht=>{Ge.current?clearTimeout(En.current):(pt(),ft(Xt.getValue(),ht)),En.current=setTimeout(()=>{Ge.current=!1},500)}),window.Monaco||j(G,fe(V)),Ct&&(kn(fn,Qn),Me.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Ft),window.removeEventListener("paste",Ft),window.addEventListener("keydown",Ft),window.addEventListener("paste",Ft)),window.Monaco=G,Qe&&Xt.onDidBlurEditorWidget(()=>{Qe(Xt.getValue())}),Kt&&Xt.onDidFocusEditorText(()=>{Kt(Xt.getValue())}),Ct)try{Xt.onDidPaste(ht=>{const yt=Xt.getSelection(),Dt=Oe.current.pastePos||{},jt=new G.Range(Dt.startLineNumber||yt.endLineNumber,Dt.startColumn||yt.endColumn,Dt.endLineNumber||yt.endLineNumber,Dt.endColumn||yt.endColumn);Xt.executeEdits("",[{range:ht.range,text:""}])})}catch(ht){}let cn=Bt();return et&&typeof et=="string"&&new be(et,Xt,G),It(!0),()=>{const ht=Oe.current.instance;ht.dispose();const yt=ht.getModel();yt&&yt.dispose(),Oe.current.subscription&&Oe.current.subscription.dispose(),cn.unobserve(Me.current)}}catch(Xt){}})},[]),(0,g.useEffect)(()=>{if(Oe.current.instance&&Wt)return document.addEventListener("keydown",Re,!1),()=>{document.removeEventListener("keydown",Re)}},[Ve,Wt]),(0,g.useEffect)(()=>{let Zt=Oe.current.instance;if(Zt&&Wt){let Xt=fe(V);G.editor.setModelLanguage(Zt.getModel(),Xt)}},[V,Wt]),(0,g.useEffect)(()=>{Oe.current.instance&&Wt&&G.editor.setTheme(Fe)},[Fe,Wt]),(0,g.useEffect)(()=>{let Zt=Oe.current.instance;rt.current=He,Zt&&Wt&&(Zt.updateOptions(at({},He)),setTimeout(()=>{Zt.getModel().updateOptions(at({},He))},200))},[JSON.stringify(He),Wt]),(0,g.useEffect)(()=>{let Zt=Oe.current.instance;Zt&&Wt&&Zt.layout()},[I,ne,Wt]);const[sn,Yt]=(0,g.useState)(Nt(I)),[ln,mn]=(0,g.useState)(Nt(ne)),An=Pt(at({},Te),{width:sn,height:ln,position:"relative"});return g.createElement("div",{className:"my-monaco-editor",ref:Me,style:An},Ze&&g.createElement(Y.CopyToClipboard,{text:$,onCopy:()=>me.ZP.success("\u590D\u5236\u6210\u529F")},g.createElement(ae.Z,{title:"\u590D\u5236\u4EE3\u7801"},g.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},g.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function we({width:P="100%",height:T="100%",original:I,modified:ne,language:$,options:V={}}){const Te=(0,g.useRef)(),[He,Ie]=(0,g.useState)(null);function Fe(xt){let Ct;return Te.current&&(Ct=new O.Z(ft=>{for(let Ot of ft)(Ot.target.offsetHeight>0||Ot.target.offsetWidth>0)&&xt.layout()}),Ct.observe(Te.current)),Ct}(0,g.useEffect)(()=>(Te.current&&Promise.all([f.e(8909),f.e(9404)]).then(f.bind(f,2550)).then(xt=>{G=xt;const Ct=G.editor.createDiffEditor(Te.current,Pt(at({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},V),{wordWrap:!0}));Ie(Ct);let ft=Fe(Ct);return()=>{Ct.dispose();const Ot=Ct.getModel();Ot&&Ot.dispose(),ft.unobserve(Te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,g.useEffect)(()=>{He&&He.setModel({original:G.editor.createModel(I,$),modified:G.editor.createModel(ne,$)})},[I,ne,$,He]);const Qe=Nt(P),Ze=Nt(T),Ve={width:Qe,height:Ze};return g.createElement("div",{className:"my-diff-editor",ref:Te,style:Ve})}},85057:function(an,it,f){"use strict";f.d(it,{jL:function(){return F},w9:function(){return $e},QD:function(){return ft},cQ:function(){return Y},op:function(){return Fe},O5:function(){return Dn},_b:function(){return Se},t7:function(){return B},Gi:function(){return kt},YG:function(){return Pt},qp:function(){return W},vr:function(){return R},qE:function(){return Ve},Je:function(){return X},wb:function(){return J},cq:function(){return G},tp:function(){return A}});var g=f(59301),O={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwH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35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",F=({dataSource:tn=[],img:Wt,imgWidth:It=346,title:Bt,sunTitle:We,bannerExtraContent:_t})=>g.createElement("div",{className:O.banner},g.createElement("div",{className:O.content},g.createElement("aside",null,g.createElement("p",null,g.createElement("b",null,Bt),g.createElement("span",null,We)),tn.length>0&&g.createElement("div",{className:O.btns},tn.map((Et,Be)=>g.createElement("div",{key:Be,onClick:Et.click},Et.name,Et.sign?g.createElement("img",{src:re,width:39}):null))),_t),Wt&&g.createElement("img",{style:{marginTop:33,marginRight:38},src:Wt,width:It}))),m={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},w=f(92310),he=f.n(w),o=f(89392),W=({dataSource:tn=[],value:Wt,onChange:It,onTitleChange:Bt,className:We,title:_t,titleWidth:Et=41,style:Be={},fontColor:Re="#6A7283",showCount:pt})=>{const[mt,Ft]=(0,g.useState)(0),[Ht,sn]=(0,g.useState)(!1),Yt=(0,g.useRef)(null),ln=(0,g.useRef)(null);return(0,g.useEffect)(()=>{var mn;tn.length!==0&&(((mn=Yt==null?void 0:Yt.current)==null?void 0:mn.clientHeight)>97?Ft(1):Ft(0)),tn.length===0&&Ft(0),sn(!1)},[tn]),g.createElement("div",{className:he()(m.row,We),style:Be},g.createElement("div",{onClick:(0,o.throttle)(()=>Bt==null?void 0:Bt(),2e3),style:{width:Et,marginTop:Ht?12:4},className:`${m.title} ${Bt?"current":""}`},_t),g.createElement("div",{className:Ht?`${m.tagsWrap} ${m.tagsBorderWrap}`:m.tagsWrap},g.createElement("div",{className:m.bar,ref:ln,style:mt>0?{height:mt===1?97:"auto",overflow:mt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},g.createElement("div",{className:m.tag,ref:Yt},tn==null?void 0:tn.map(mn=>g.createElement("span",{onClick:()=>It(mn.id),key:mn.id,style:{color:Re},className:Wt===mn.id?m.active:""},g.createElement("span",{title:mn.name,className:m.name},mn.name),!!pt&&g.createElement("span",{className:m.num},mn.count))))),!!mt&&g.createElement(g.Fragment,null,mt===1?g.createElement("div",{onClick:()=>{var mn;Ft(2),((mn=Yt==null?void 0:Yt.current)==null?void 0:mn.clientHeight)>245?sn(!0):sn(!1)},className:m.action},"\u5C55\u5F00",g.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):g.createElement("div",{onClick:()=>{ln.current.scrollTop=0,Ft(1),sn(!1)},className:m.action},"\u6536\u8D77",g.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},y={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},A=({dataSource:tn=[],value:Wt,onChange:It,className:Bt,style:We={}})=>g.createElement("div",{style:We,className:he()(y.tabs,Bt)},tn.map(_t=>g.createElement("span",{onClick:()=>It(_t.id),className:Wt===_t.id?y.active:"",key:_t.id},_t.name))),C={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},K=f(92832),B=({dataSource:tn=[],value:Wt="",onChange:It,onInputChange:Bt=()=>{},className:We,style:_t={},placeholder:Et,allowClear:Be=!1})=>{var Re;const[pt,mt]=(0,g.useState)(""),[Ft,Ht]=(0,g.useState)("");(0,g.useEffect)(()=>{var ln;let mn=Wt;(ln=JSON.stringify(Wt))!=null&&ln.includes("{")&&(mt(Wt.id),mn=Wt.value||"");try{Ht(decodeURIComponent(mn||""))}catch(An){Ht(decodeURIComponent(mn||""))}},[Wt]);const sn=()=>{It(encodeURIComponent(Ft),pt||null)},Yt=ln=>{ln!==pt&&(mt(ln),It(encodeURIComponent(Ft),ln))};return g.createElement("div",{className:he()(C.input,We),style:_t},!!tn.length&&g.createElement("div",{className:C.dropdown},g.createElement("div",{className:C.text},(Re=tn.find(ln=>ln.id===pt))==null?void 0:Re.name,g.createElement("i",{className:"iconfont icon-zhankai4"}),g.createElement("b",{className:C.b1}),g.createElement("b",{className:C.b2})),g.createElement("div",{className:C.menu},tn.map((ln,mn)=>g.createElement("div",{key:mn,onClick:()=>Yt(ln.id)},ln.name)))),g.createElement(K.default,{onPressEnter:sn,value:Ft,onChange:ln=>{Ht(ln.target.value),Bt(encodeURIComponent(ln.target.value),pt||null)},bordered:!1,placeholder:Et}),g.createElement("i",{onClick:sn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},Z={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},X=({value:tn,onChange:Wt,className:It,total:Bt,pageSize:We,style:_t={}})=>{const Et=tn<2,Be=tn>=Math.ceil(Bt/We);return Bt<=We?g.createElement(g.Fragment,null):g.createElement("div",{className:he()(Z.quickPager,It),style:_t},g.createElement("div",{onClick:()=>{Et||Wt(tn-1,"prev")},className:Et?Z.disabled:""},"\u4E0A\u4E00\u9875"),g.createElement("div",{onClick:()=>{Be||Wt(tn+1,"next")},className:Be?Z.disabled:""},"\u4E0B\u4E00\u9875"))},L={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},D=f(71418),Q=f(6848),j=f(13570),ve=f(3294),xe=f(955),ye=f(96908),le=f(57177),oe=f(81378),H=f(8797),J=({className:tn,dataSource:Wt=[],col:It=4,right:Bt,bottom:We=23,precision:_t=0,wrapWidth:Et=1200,trackEventItems:Be,loading:Re})=>{const pt=Math.floor((Et-(It-1)*Bt)/It);return g.createElement(D.Z,{spinning:Re},g.createElement("div",{className:he()(L.list,tn)},!!Wt.length&&Wt.map((mt,Ft)=>{const{name:Ht,id:sn,identifier:Yt,power:ln,cover_image_id:mn,pic:An}=mt;return g.createElement("div",{className:L.wrap,key:sn,style:{width:pt,marginRight:(1+Ft)%It===0?0:Bt+_t,marginBottom:We}},g.createElement("a",{target:"_blank",href:`/shixuns/${Yt}/challenges`,className:L.li,onClick:Zt=>{Zt.preventDefault(),Be&&(0,xe.L9)([Be]),ln&&(0,xe.xg)(`/shixuns/${Yt}/challenges`)}},g.createElement("div",{className:L.img},g.createElement("img",{className:L.cover,src:`${An}`}),mt.is_jupyter&&g.createElement("img",{className:L.sign,src:ye}),mt.is_jupyter_lab&&g.createElement("img",{className:L.sign,src:le}),mt.is_unity_3d&&g.createElement("img",{className:L.sign,src:oe})),g.createElement("div",{className:L.name},g.createElement(Q.Z,{title:Ht||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},g.createElement("span",{className:L.e},Ht||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),g.createElement("div",{className:L.tags},g.createElement(Q.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},g.createElement("span",null,g.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),g.createElement("span",null,mt.challenges_count))),!!mt.myshixuns_count&&g.createElement(Q.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},g.createElement("span",null,g.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),g.createElement("span",null,mt.myshixuns_count))),g.createElement(Q.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},g.createElement("span",null,g.createElement("span",null,mt.level))),g.createElement("div",{className:L.rate},g.createElement(j.Z,{allowHalf:!0,disabled:!0,defaultValue:mt.score_info}),g.createElement("span",null,"\xA0",mt.score_info?`${mt.score_info}\u5206`:"5\u5206")))),!ln&&g.createElement("div",{className:L.lockWrap},g.createElement("img",{src:`${ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),g.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Wt.length&&g.createElement(H.Z,null)))},me={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ae=f(24065),v=f(59301),Y=({className:tn,dataSource:Wt=[],col:It=4,right:Bt,bottom:We=23,precision:_t=0,wrapWidth:Et=1200,trackEventItems:Be,loading:Re,onRemove:pt=()=>{},isCurrent:mt=!0,showAlias:Ft=!1})=>{const Ht=Math.floor((Et-(It-1)*Bt)/It),sn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return v.createElement(D.Z,{spinning:Re},v.createElement("div",{className:he()(me.list,tn)},!!(Wt!=null&&Wt.length)&&(Wt==null?void 0:Wt.map((Yt,ln)=>{var mn;const{name:An,id:Zt,identifier:Xt,featured:on,school_name:gn,image_url:fn,excellent:Qn,is_plan:kn}=Yt;return v.createElement("div",{key:Zt,className:me.wrap,style:{width:Ht,marginRight:(1+ln)%It===0?0:Bt+_t,marginBottom:We}},v.createElement("a",{className:me.li,onClick:cn=>{cn.preventDefault(),cn.stopPropagation(),Be&&(0,xe.L9)([Be]),(0,xe.xg)(`/paths/${Xt}`)}},v.createElement("div",{className:me.img},v.createElement("img",{className:me.cover,src:`${fn}`}),mt&&(0,ae.bg)()&&(Yt==null?void 0:Yt.studying)&&v.createElement("div",{className:`${me.movebq} user-path-items`,onClick:cn=>{cn.stopPropagation(),pt(Yt)}},v.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),v.createElement("span",{className:"c-red"},"\u79FB\u9664")),(mn=Yt==null?void 0:Yt.subject_tags)==null?void 0:mn.map((cn,ht)=>{var yt,Dt;if(ht===0){const Ut=(yt=sn.find(dn=>dn.name==cn))==null?void 0:yt.swimg;return v.createElement("img",{className:me.sign,src:Ut,style:{left:"-4px"}})}const jt=(Dt=sn.find(Ut=>Ut.name==cn))==null?void 0:Dt.ptimg;return v.createElement("img",{className:me.sign,src:jt,style:{left:`${48+52*(ht-1)+2*ht}px`}})}),v.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Yt==null?void 0:Yt.excellent)&&v.createElement("div",{className:me.bq},"\u5F00\u653E\u8BFE\u7A0B"))),v.createElement("div",{className:me.name},v.createElement(Q.Z,{title:Ft&&(Yt!=null&&Yt.excellent_alias_name)?v.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${An}`,v.createElement("br",null),v.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Yt==null?void 0:Yt.excellent_alias_name}`)):An},v.createElement("span",{className:me.e},Ft&&(Yt==null?void 0:Yt.excellent_alias_name)||An))),v.createElement(Q.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${gn}`},v.createElement("div",{className:me.unit},v.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),gn)),v.createElement("div",{className:me.tags},v.createElement("div",null,v.createElement(Q.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},v.createElement("span",null,v.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),v.createElement("span",null,Yt.stages_count))),v.createElement(Q.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},v.createElement("span",null,v.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),v.createElement("span",null,Yt.members_count)))))))})),!Wt.length&&v.createElement(H.Z,null)))},q={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Pe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t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38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Le=f(59301),$e=({className:tn,dataSource:Wt=[],col:It=4,right:Bt,bottom:We=23,precision:_t=0,wrapWidth:Et=1200,trackEventItems:Be,loading:Re,handleVery:pt=()=>!0})=>{const mt=Math.floor((Et-(It-1)*Bt)/It);return Le.createElement(D.Z,{spinning:Re},Le.createElement("div",{className:he()(q.list,tn)},!!Wt.length&&Wt.map((Ft,Ht)=>{const{subject_identifier:sn,id:Yt,identifier:ln,power:mn}=Ft,An=Ft.is_public!=0&&Ft.is_public;return Le.createElement("div",{className:q.wrap,key:Yt,style:{width:mt,marginRight:(1+Ht)%It===0?0:Bt+_t,marginBottom:We}},Le.createElement("a",{className:q.li,onClick:Zt=>{Zt.preventDefault(),pt(Ft==null?void 0:Ft.first_category_url)&&(Be&&(0,xe.L9)([Be]),(0,xe.xg)(Ft.first_category_url))}},Le.createElement("div",{className:q.top},Le.createElement(Q.Z,{title:Ft.name},Le.createElement("div",{className:q.name},Ft.name)),Le.createElement("img",{className:q.img,src:ve.Z.IMG_SERVER+"/images/"+Ft.avatar_url}),Le.createElement("div",{className:q.text,title:Ft.creator},Ft.creator),sn&&Le.createElement("div",{className:q.btns},Le.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Le.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),An&&Le.createElement("div",{className:q.sign},"\u516C\u5F00")),Le.createElement("div",{className:q.bottom},Ft.visits>0&&Le.createElement(Q.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Le.createElement("span",null,Le.createElement("i",{className:"iconfont icon-liulanyan"}),Le.createElement("span",null,Ft.visits))),Ft.course_members_count>0&&Le.createElement(Q.Z,{title:"\u6210\u5458",placement:"bottom"},Le.createElement("span",null,Le.createElement("i",{className:"iconfont icon-chengyuan"}),Ft.course_members_count)),Ft.tasks_count>0&&Le.createElement(Q.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Le.createElement("span",null,Le.createElement("i",{className:"iconfont icon-zuoye"}),Ft.tasks_count)),Ft.is_end?Le.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Le.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Ft.is_accessible&&Le.createElement("div",{className:q.lockWrap},Le.createElement("img",{src:`${ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Le.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Wt.length&&Le.createElement(H.Z,null)))},ut={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},dt=f(89070),Pt=({dataSource:tn=[],value:Wt,onChange:It,className:Bt,style:We={},tabBarExtraContent:_t})=>g.createElement("div",{className:he()(ut.tabs,Bt),style:We},g.createElement("div",{className:ut.tabsWrap},tn.map((Et,Be)=>!(Et!=null&&Et.hide)&&g.createElement("aside",{className:ut.tab,onClick:()=>{It(Et.id),Et.link&&dt.history.push(Et.link)},key:Be},g.createElement("div",{className:Wt===Et.id?ut.active:""},Et.name),(Et==null?void 0:Et.resetCount)==null&&(Et==null?void 0:Et.total)!==void 0&&g.createElement("span",null,"\uFF08",Et==null?void 0:Et.total,"\uFF09"),(Et==null?void 0:Et.resetCount)!==void 0&&(Et==null?void 0:Et.total)!==void 0&&g.createElement(Q.Z,{title:(Et==null?void 0:Et.tip)!=null?Et==null?void 0:Et.tip:""},g.createElement("span",{style:{color:"#9096A3"}},"\uFF08",g.createElement("span",{style:{color:"#000"}},Et==null?void 0:Et.resetCount),"/",g.createElement("span",null,Et==null?void 0:Et.total),"\uFF09"))))),g.createElement("div",{className:ut.tabBar},_t)),kt=({className:tn,style:Wt={},children:It})=>g.createElement("div",{className:he()(tn),style:Wt},It),Nt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},lt=f(38854),wt=f(20834);const de=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var G=({sortValue:tn,dropValue:Wt,className:It,onSort:Bt,onDrop:We,dataSource:_t=de})=>{var Et;return g.createElement("div",{className:he()(Nt.orderWrap,It)},g.createElement(lt.Z,{dropdownRender:()=>g.createElement(wt.default,null,_t.map((Be,Re)=>g.createElement(wt.default.Item,{key:Re,onClick:()=>We(Be.id)},Be.name)))},g.createElement("span",{className:Nt.orderTextWrap},(Et=_t.find(Be=>Wt===Be.id))==null?void 0:Et.name)),g.createElement("span",{className:Nt.orderIconWrap},g.createElement("span",{className:Nt.orderAsc},g.createElement("i",{className:tn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Nt.cursorPointer} ${Nt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Nt.cursorPointer}`,onClick:()=>Bt(tn==="asc"?"desc":"asc")})),g.createElement("span",{className:Nt.orderDesc},g.createElement("i",{className:tn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Nt.cursorPointer} ${Nt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Nt.cursorPointer}`,onClick:()=>Bt(tn==="asc"?"desc":"asc")}))))},U={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},we=f(3113),P=Object.defineProperty,T=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,$=(tn,Wt,It)=>Wt in tn?P(tn,Wt,{enumerable:!0,configurable:!0,writable:!0,value:It}):tn[Wt]=It,V=(tn,Wt)=>{for(var It in Wt||(Wt={}))I.call(Wt,It)&&$(tn,It,Wt[It]);if(T)for(var It of T(Wt))ne.call(Wt,It)&&$(tn,It,Wt[It]);return tn},Te=(tn,Wt)=>{var It={};for(var Bt in tn)I.call(tn,Bt)&&Wt.indexOf(Bt)<0&&(It[Bt]=tn[Bt]);if(tn!=null&&T)for(var Bt of T(tn))Wt.indexOf(Bt)<0&&ne.call(tn,Bt)&&(It[Bt]=tn[Bt]);return It},He=(tn,Wt,It)=>new Promise((Bt,We)=>{var _t=Re=>{try{Be(It.next(Re))}catch(pt){We(pt)}},Et=Re=>{try{Be(It.throw(Re))}catch(pt){We(pt)}},Be=Re=>Re.done?Bt(Re.value):Promise.resolve(Re.value).then(_t,Et);Be((It=It.apply(tn,Wt)).next())}),Fe=tn=>{var Wt=tn,{className:It,style:Bt,children:We,loading:_t=!1,openLoading:Et,onClick:Be=()=>{},size:Re="middle",shape:pt="round"}=Wt,mt=Te(Wt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Ft,Ht]=(0,g.useState)(!1);return g.createElement(we.ZP,V({onClick:(0,o.throttle)(sn=>He(void 0,null,function*(){Et&&Ht(!0);try{yield Be(sn)}catch(Yt){console.log("error",Yt)}Et&&Ht(!1)}),2e3,{leading:!0,trailing:!1}),className:he()(U.btn,U[`${Re}-${pt}`],It),style:Bt,size:Re,shape:pt,loading:Ft||_t},mt),We)},Qe={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Ve=({className:tn,style:Wt,children:It=null,onClick:Bt,title:We})=>g.createElement("div",{className:he()(Qe.head,tn),style:Wt},g.createElement("span",{className:"primary-hover",onClick:Bt},g.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),g.createElement("b",{title:We},We),g.createElement("div",{className:Qe.node},It)),xt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},ft=({confirmShow:tn=!0,confirmTitle:Wt,confirmClick:It,cancelShow:Bt=!0,cancelTitle:We,cancelClick:_t,className:Et,style:Be,confirmLoading:Re=!1})=>g.createElement("div",{className:he()(xt.btns,Et),style:Be},tn&&g.createElement(we.ZP,{loading:Re,onClick:It,type:"primary",className:xt.confirm},Wt),Bt&&g.createElement(we.ZP,{onClick:_t,className:xt.cancel},We)),Ot={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},R=({className:tn,style:Wt={},LeftContent:It,children:Bt,RightContent:We})=>g.createElement("div",{className:he()(Ot.fixedBottom,tn),style:Wt},g.createElement("div",{className:Ot.wrap},g.createElement("div",{className:Ot.left},It),g.createElement("div",{className:Ot.center},Bt),g.createElement("div",{className:Ot.right},We))),k={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Se=({className:tn,style:Wt={},dataSource:It=[]})=>g.createElement("div",{className:he()(k.crumbs,tn),style:Wt},It.map((Bt,We)=>We<It.length-1?g.createElement(g.Fragment,{key:We},Bt.path||Bt.onClick?g.createElement("span",{className:k.hover,onClick:Bt!=null&&Bt.onClick?Bt.onClick:()=>dt.history.push(Bt.path)},Bt.name):g.createElement("span",null,Bt.name),g.createElement("span",null,"\xA0",">","\xA0")):g.createElement("span",{key:We,style:{color:"#5F6368"}},Bt.name))),Ke=f(31797),vn=Object.defineProperty,qe=Object.defineProperties,et=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Oe=(tn,Wt,It)=>Wt in tn?vn(tn,Wt,{enumerable:!0,configurable:!0,writable:!0,value:It}):tn[Wt]=It,rt=(tn,Wt)=>{for(var It in Wt||(Wt={}))_e.call(Wt,It)&&Oe(tn,It,Wt[It]);if(Xe)for(var It of Xe(Wt))Me.call(Wt,It)&&Oe(tn,It,Wt[It]);return tn},Ae=(tn,Wt)=>qe(tn,et(Wt)),rn=(tn,Wt)=>{var It={};for(var Bt in tn)_e.call(tn,Bt)&&Wt.indexOf(Bt)<0&&(It[Bt]=tn[Bt]);if(tn!=null&&Xe)for(var Bt of Xe(tn))Wt.indexOf(Bt)<0&&Me.call(tn,Bt)&&(It[Bt]=tn[Bt]);return It};const{Countdown:Ge}=Ke.default;var Dn=tn=>{var Wt=tn,{onChange:It}=Wt,Bt=rn(Wt,["onChange"]);const[We,_t]=(0,g.useState)(null);(0,g.useEffect)(()=>{typeof We=="number"&&We>=0&&It(We)},[We]);const Et=Be=>{const Re=Math.floor(Be/1e3);_t(Re)};return g.createElement(Ge,Ae(rt({},Bt),{onChange:Et}))}},46780:function(an,it,f){"use strict";f.r(it),f.d(it,{default:function(){return we}});var g=f(59301),O=f(89070),re=f(44e3),ge=f(95237),F={flex_box_center:"flex_box_center___awq3O",flex_space_between:"flex_space_between___LgAD2",flex_box_vertical_center:"flex_box_vertical_center___tDqAS",flex_box_center_end:"flex_box_center_end___T9t43",flex_box_column:"flex_box_column___UTrmK",menuWrap:"menuWrap___jwziv",nav:"nav___FPm96",li:"li___Fh4Pt",icon:"icon___XwtGk",name:"name___KN1Th",down:"down___CRj5d",active:"active___JfaaR"},m=f(6848),w=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,M=(P,T)=>{var I={};for(var ne in P)he.call(P,ne)&&T.indexOf(ne)<0&&(I[ne]=P[ne]);if(P!=null&&w)for(var ne of w(P))T.indexOf(ne)<0&&o.call(P,ne)&&(I[ne]=P[ne]);return I};const W=P=>{var T=P,{user:I,globalSetting:ne,dispatch:$,graduations:V}=T,Te=M(T,["user","globalSetting","dispatch","graduations"]);const He=(0,O.useLocation)(),[Ie,Fe]=(0,g.useState)(),[Qe,Ze]=(0,g.useState)(["_settings"]),Ve=(0,O.useParams)(),{id:xt}=Ve,{menus:Ct=[]}=V;(0,g.useEffect)(()=>{var R;if(Ct.length){const k=((R=He.pathname.split("/"))==null?void 0:R[3])||"index";Fe(k=="students"?"teachers":k)}},[He.pathname,Ct]);const ft=[{icon_type:"index",name:"\u6BD5\u4E1A\u6982\u89C8",icon:"iconfont icon-bishegailan"},{icon_type:"topics",name:"\u8BFE\u9898\u7BA1\u7406",icon:"iconfont icon-ketiguanli"},{icon_type:"student_selection",name:"\u5B66\u751F\u9009\u9898",icon:"icon-xueshengxuanti1"},{icon_type:"tasks",name:"\u4EFB\u52A1\u4E66",icon:"icon-renwushu"},{icon_type:"opening_report",name:"\u5F00\u9898\u62A5\u544A",icon:"iconfont icon-kaitibaogao"},{icon_type:"midterm_report",name:"\u4E2D\u671F\u68C0\u67E5",icon:"iconfont icon-kechengjiaoan"},{icon_type:"thesis",name:"\u6BD5\u4E1A\u8BBA\u6587",icon:"iconfont icon-biyelunwen"},{icon_type:"final_defense",name:"\u6BD5\u4E1A\u7B54\u8FA9",icon:"iconfont icon-biyedabian"},{icon_type:"final_thesis",name:"\u8BBA\u6587\u5B9A\u7A3F",icon:"iconfont icon-lunwendinggao"},{icon_type:"archives",name:"\u5F52\u6863",icon:"iconfont icon-guidang1"},{icon_type:"grading_summary",name:"\u6BD5\u4E1A\u6210\u7EE9",icon:"iconfont icon-bishechengji"},{icon_type:"_settings",name:"\u6BD5\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-biyeshezhi",subclass:["settings","teachers","students"]}],Ot=R=>{var k;return(k=ft.find(Se=>Se.icon_type===R))==null?void 0:k.icon},Kt=R=>{const{clazz:k,name:bt,children:Se=[],disable:Ke}=R,vn=Ot(k);return g.createElement(g.Fragment,{key:k},Ke?g.createElement(m.Z,{title:"\u8BE5\u9636\u6BB5\u672A\u542F\u7528"},g.createElement("div",{className:F.li,onClick:()=>{Se.length&&(Qe.includes(k)?Ze(Qe.filter(qe=>qe!==k)):Ze([...Qe,k]))}},g.createElement("div",{className:F.icon},vn&&g.createElement("i",{className:vn})),g.createElement("span",{className:F.name},bt),!!Se.length&&g.createElement("span",{className:F.down},Qe.includes(k)?g.createElement("i",{className:"iconfont icon-xialajiantou1"}):g.createElement("i",{className:"iconfont icon-xialajiantoubeifen"})))):g.createElement("div",{onClick:()=>{Se.length?Qe.includes(k)?Ze(Qe.filter(qe=>qe!==k)):Ze([...Qe,k]):(Fe(k),$({type:"graduations/getGraduationsDetails",payload:{id:Ve==null?void 0:Ve.id}}),O.history.push(`/graduations/${xt}/${k}`))},className:Ie===k?`${F.li} ${F.active}`:F.li},g.createElement("div",{className:F.icon},vn&&g.createElement("i",{className:vn})),g.createElement("span",{className:F.name},bt),!!Se.length&&g.createElement("span",{className:F.down},Qe.includes(k)?g.createElement("i",{className:"iconfont icon-xialajiantou1"}):g.createElement("i",{className:"iconfont icon-xialajiantoubeifen"}))),Qe.includes(k)&&Se.map(qe=>Kt(qe)))};return g.createElement("div",{className:F.menuWrap},g.createElement("div",{className:F.nav},Ct.map(R=>Kt(R))))};var y=(0,O.connect)(({user:P,graduations:T,globalSetting:I})=>({user:P,globalSetting:I,graduations:T}))(W),b={flex_box_center:"flex_box_center___Zlh8i",flex_space_between:"flex_space_between___lFY3s",flex_box_vertical_center:"flex_box_vertical_center___dQs2p",flex_box_center_end:"flex_box_center_end___mh3GO",flex_box_column:"flex_box_column___fbLGv",bg:"bg___WhklA",center:"center___yiVRe",name:"name___LmNUZ",line:"line___mHXFG",member:"member___ya2z7",btn:"btn___WFeIH",bg2:"bg2___6yejb",modal:"modal___BTChh",red:"red___WFR6s",row:"row___lGy2T",label:"label___Ixyoi",content:"content___oTCar",input:"input___Q19k0",code:"code___ywBNo",copy:"copy___eV4lI"},A=f.p+"static/bg.224d6d3a.jpg",C="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAeAKADAAQAAAABAAAA+AAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/8AAEQgA+B4AAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpq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=f(8591),Z=f(92832),ie=f(59155),X=f(24065),L=f(99064),D=f(56102),Q=f(86608),j=f(31570),ve=f(2742),xe=Object.defineProperty,ye=Object.defineProperties,le=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,J=(P,T,I)=>T in P?xe(P,T,{enumerable:!0,configurable:!0,writable:!0,value:I}):P[T]=I,me=(P,T)=>{for(var I in T||(T={}))H.call(T,I)&&J(P,I,T[I]);if(oe)for(var I of oe(T))be.call(T,I)&&J(P,I,T[I]);return P},ae=(P,T)=>ye(P,le(T)),v=(P,T,I)=>new Promise((ne,$)=>{var V=Ie=>{try{He(I.next(Ie))}catch(Fe){$(Fe)}},Te=Ie=>{try{He(I.throw(Ie))}catch(Fe){$(Fe)}},He=Ie=>Ie.done?ne(Ie.value):Promise.resolve(Ie.value).then(V,Te);He((I=I.apply(P,T)).next())});const _=({graduations:P,user:T,dispatch:I})=>{const ne=(0,O.useParams)(),[$]=(0,O.useSearchParams)(),[V,Te]=(0,g.useState)(!1),[He,Ie]=(0,g.useState)(!1),[Fe,Qe]=(0,g.useState)(!1),[Ze,Ve]=(0,g.useState)(!1),[xt]=K.default.useForm(),Ct=(0,g.useRef)(null),{details:ft}=P,{user_identity:Ot,code_effect_range:Kt,teachers_count:R,students_count:k}=ft,bt=()=>{I({type:"graduations/getGraduationsDetails",payload:{id:ne==null?void 0:ne.id}})},Se=()=>v(void 0,null,function*(){(yield(0,L.ZP)("/api/graduations/detail.json",{method:"get",params:{code:$.get("code")}})).status===0&&Ie(!0)});(0,g.useEffect)(()=>{if($.get("code")){Se();return}bt()},[]);const Ke=()=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",icon:null,width:443,cancelText:"\u53D6\u6D88",title:"\u5220\u9664\u6BD5\u4E1A\u8BBE\u8BA1",content:g.createElement("div",null,g.createElement("p",null,"\u8BE5\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002\u5220\u9664\u540E\uFF0C\u6BD5\u4E1A\u8BBE\u8BA1\u5185\u7684\u6240\u6709\u6570\u636E\u5C06\u88AB\u540C\u65F6\u5220\u9664"),g.createElement("div",{className:"mb5"},"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801\u540E\u786E\u8BA4\u5220\u9664"),g.createElement(ie.Z,{ref:qe=>Ct.current=qe})),onOk:()=>v(void 0,null,function*(){if(Ct.current.onVerify())return Promise.reject();(yield(0,L.ZP)(`/api/graduations/${ne==null?void 0:ne.id}.json`,{method:"delete"})).status===0&&(B.ZP.success("\u5220\u9664\u6210\u529F"),O.history.push("/graduations"))})})},vn=`${window.location.origin}/graduations/${ne.id}?code=${ft==null?void 0:ft.invite_code}`;return g.createElement("div",{className:`${b.bg} ${(0,X.tu)()?"":b.bg2}`,style:{background:`url('${(0,X.tu)()?A:C}') no-repeat center center`}},g.createElement("div",{className:b.center},g.createElement(m.Z,{title:ft==null?void 0:ft.name},g.createElement("div",{className:b.name},ft==null?void 0:ft.name)),g.createElement(Q.Z,{className:"ml20",status:ft.status}),g.createElement("div",{style:{marginLeft:"auto"}},"\u9080\u8BF7\u7801",Kt===3?g.createElement("b",{className:"ml10"},"\u5DF2\u505C\u7528"):g.createElement("b",{className:"ml10",style:{color:"#FED218"}},ft==null?void 0:ft.invite_code)),[0,1,2].includes(Kt)&&g.createElement(g.Fragment,null,g.createElement("div",{className:b.line}),g.createElement("div",{className:"current",onClick:()=>Te(!0)},g.createElement("i",{style:{color:"#d8d8d8"},className:"iconfont icon-fenxiangketang font14 mr5"}),"\xA0\u5206\u4EAB\u6BD5\u8BBE")),(0,X.tu)()&&g.createElement(g.Fragment,null,g.createElement("div",{className:b.line}),g.createElement("div",{className:"current",onClick:Ke},g.createElement("i",{style:{color:"#d8d8d8"},className:"iconfont icon-shanchu8 font14 mr5"}),"\u5220\u9664\u6BD5\u8BBE"))),(0,X.tu)()&&g.createElement("div",{className:b.member},g.createElement(O.Link,{className:b.btn,to:`/graduations/${ne==null?void 0:ne.id}/teachers`},g.createElement("i",{className:"iconfont icon-chengyuanguanli1 mr5"}),"\u6210\u5458\u7BA1\u7406"),g.createElement("span",{className:b.line}),g.createElement(O.Link,{className:b.btn,to:`/graduations/${ne==null?void 0:ne.id}/students`},"\u5B66\u751F",g.createElement("span",{className:"ml10"},k)),g.createElement("span",{className:b.line}),g.createElement(O.Link,{className:b.btn,to:`/graduations/${ne==null?void 0:ne.id}/teachers`},"\u6559\u5E08",g.createElement("span",{className:"ml10"},R)),g.createElement("span",{onClick:()=>{Ve("\u6DFB\u52A0\u8001\u5E08")},style:{marginLeft:"auto"},className:b.btn},g.createElement("i",{className:"iconfont icon-tianjialaoshi font14 mr5"}),"\u6DFB\u52A0\u8001\u5E08"),g.createElement("span",{className:b.line}),g.createElement("span",{onClick:()=>{Ve("\u6DFB\u52A0\u5B66\u751F")},className:b.btn},g.createElement("i",{className:"iconfont icon-tianjiaxuesheng font14 mr5"}),"\u6DFB\u52A0\u5B66\u751F")),g.createElement(pe.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:V,title:"\u5206\u4EAB\u6BD5\u8BBE",width:666,onCancel:()=>{Te(!1)},footer:null},g.createElement("div",{className:b.modal},Kt===1&&g.createElement("div",{className:b.red},"\u9080\u8BF7\u7801\u5DF2\u5BF9\u7BA1\u7406\u5458\u7981\u7528\uFF0C\u7528\u6237\u5C06\u65E0\u6CD5\u901A\u8FC7\u9080\u8BF7\u7801\u4EE5\u7BA1\u7406\u5458\u8EAB\u4EFD\u52A0\u5165\u6BD5\u8BBE"),Kt===2&&g.createElement("div",{className:b.red},"\u9080\u8BF7\u7801\u548C\u9080\u8BF7\u94FE\u63A5\u5DF2\u5BF9\u5B66\u751F\u7981\u7528\uFF0C\u7528\u6237\u5C06\u65E0\u6CD5\u901A\u8FC7\u9080\u8BF7\u7801\u4EE5\u5B66\u751F\u8EAB\u4EFD\u52A0\u5165\u6BD5\u8BBE"),g.createElement("div",{className:b.row},g.createElement("div",{className:b.label},"\u5206\u4EAB\u65B9\u5F0F\u4E00"),g.createElement("div",{className:b.content},g.createElement("div",{className:"c-black"},"\u5206\u4EAB\u9080\u8BF7\u7801"),g.createElement("div",{className:b.input},g.createElement("aside",{className:b.code},ft==null?void 0:ft.invite_code),g.createElement(D.CopyToClipboard,{text:ft==null?void 0:ft.invite_code,onCopy:()=>B.ZP.success("\u590D\u5236\u6210\u529F")},g.createElement("div",{className:b.copy},g.createElement("i",{className:"iconfont icon-fuzhi8 font14 mr5"}),"\u590D\u5236\u9080\u8BF7\u7801"))),g.createElement("div",{className:"font12",style:{color:"#9096A3"}},"\u901A\u8FC7\u9080\u8BF7\u7801\u52A0\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u65F6\uFF0C\u53EF\u4EE5\u9009\u62E9\u52A0\u5165\u6BD5\u8BBE\u7684\u8EAB\u4EFD\uFF08\u9009\u62E9\u7BA1\u7406\u5458\uFF08\u6559\u5E08\uFF09\uFF0C\u9700\u8981\u7BA1\u7406\u5458\u5BA1\u6838\uFF09"))),g.createElement("div",{className:`${b.row} mt30 mb15`},g.createElement("div",{className:b.label},"\u5206\u4EAB\u65B9\u5F0F\u4E8C"),g.createElement("div",{className:b.content},g.createElement("div",null,"\u5206\u4EAB\u94FE\u63A5"),g.createElement("div",{className:b.input},g.createElement("aside",{className:b.code,style:{width:440}},vn),g.createElement(D.CopyToClipboard,{text:vn,onCopy:()=>B.ZP.success("\u590D\u5236\u6210\u529F")},g.createElement("div",{className:b.copy},g.createElement("i",{className:"iconfont icon-fuzhi8 font14 mr5"}),"\u590D\u5236\u94FE\u63A5"))),g.createElement("div",{className:"font12",style:{color:"#9096A3"}},"\u901A\u8FC7\u5206\u4EAB\u94FE\u63A5\u8BBF\u95EE\u6BD5\u8BBE\u65F6\uFF0C\u5DF2\u767B\u5F55\u7528\u6237\u53EF\u4EE5\u76F4\u63A5\u4EE5\u5B66\u751F\u8EAB\u4EFD\u52A0\u5165\u6BD5\u8BBE\uFF0C\u672A\u6CE8\u518C/\u767B\u5F55\u7528\u6237\u5728\u6CE8\u518C/\u767B\u5F55\u540E\u53EF\u4EE5\u76F4\u63A5\u52A0\u5165\u6BD5\u8BBE\u3002"))),g.createElement("div",{style:{height:"15px"}}))),g.createElement(pe.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:He,title:"\u52A0\u5165\u6BD5\u8BBE",width:527,confirmLoading:Fe,onCancel:()=>{O.history.replace("/graduations")},onOk:()=>xt.submit()},g.createElement(K.default,{colon:!1,form:xt,className:b.formWrap,onFinish:qe=>v(void 0,null,function*(){Qe(!0);const et=yield(0,L.ZP)("/api/graduations/join.json",{method:"post",body:ae(me({},qe),{user_type:2,code:$.get("code")})});et.status===0&&(et!=null&&et.identifier?(B.ZP.success("\u52A0\u5165\u6210\u529F"),O.history.replace(`/graduations/${ne.id}/index`),Ie(!1),bt()):(B.ZP.success(et==null?void 0:et.message),O.history.replace("/graduations"))),Qe(!1)})},g.createElement(K.default.Item,{style:{marginBottom:0},name:"major",label:"\u4E13\u4E1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},g.createElement(Z.default,{showCount:!0,maxLength:60})))),g.createElement(j.Z,{open:Ze,onCancel:()=>Ve(!1),title:Ze,OnOk:qe=>v(void 0,null,function*(){if((yield(Ze=="\u6DFB\u52A0\u8001\u5E08"?ve.HF:ve.NX)({id:ne.id,user_ids:qe})).status==0){if(B.ZP.success("\u6DFB\u52A0\u6210\u529F"),Ve(!1),I({type:"graduations/getGraduationsDetails",payload:{id:ne==null?void 0:ne.id}}),Ze=="\u6DFB\u52A0\u8001\u5E08"&&location.pathname.includes("teachers")){I({type:"graduations/setUpdateIndex"});return}if(Ze=="\u6DFB\u52A0\u5B66\u751F"&&location.pathname.includes("students")){I({type:"graduations/setUpdateIndex"});return}const Xe=`/graduations/${ne==null?void 0:ne.id}/${Ze=="\u6DFB\u52A0\u8001\u5E08"?"teachers":"students"}`;O.history.push(Xe)}})}))};var Y=(0,O.connect)(({graduations:P,user:T})=>({graduations:P,user:T}))(_),q={flex_box_center:"flex_box_center___hxWWU",flex_space_between:"flex_space_between___Vtfm0",flex_box_vertical_center:"flex_box_vertical_center___raPpL",flex_box_center_end:"flex_box_center_end___vhgOG",flex_box_column:"flex_box_column___awXbX",icon:"icon___qjZkt",content:"content___w0ayt",dot:"dot___vZgx3"},Pe=f(85149),Le=Object.defineProperty,Ue=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,dt=(P,T,I)=>T in P?Le(P,T,{enumerable:!0,configurable:!0,writable:!0,value:I}):P[T]=I,at=(P,T)=>{for(var I in T||(T={}))$e.call(T,I)&&dt(P,I,T[I]);if(Ue)for(var I of Ue(T))ut.call(T,I)&&dt(P,I,T[I]);return P};const Pt=P=>React.createElement("svg",at({className:"icon_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},P),React.createElement("path",{d:"M338.074 165.888A337.1 337.1 0 1 1 205.26 812.902V193.024a336.026 336.026 0 0 1 132.813-27.136zm-214.528 77.005v520.192A336.384 336.384 0 0 1 .973 502.989c0-104.704 47.718-198.247 122.573-260.096z",fill:"#FF9D18"}),React.createElement("path",{d:"M246.118.768a41.35 41.35 0 0 1 14.746 2.714l533.3 206.54h187.494c22.528 0 40.857 18.33 40.857 40.858v483.686c0 22.58-18.278 40.858-40.857 40.858H794.112L260.864 982.016a40.858 40.858 0 0 1-55.603-38.093V41.626c0-22.58 18.278-40.91 40.857-40.91zm560.538 324.147h-57.242a12.288 12.288 0 0 0-12.288 12.288V639.59c0 6.759 5.53 12.288 12.288 12.288h57.242a12.288 12.288 0 0 0 12.237-12.288V337.203a12.288 12.288 0 0 0-12.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iIGZpbGw9IiM3MzlFRkYiLz48L3N2Zz4=",kt=f(8797),Nt=f(955),lt=f(3294),wt=(P,T,I)=>new Promise((ne,$)=>{var V=Ie=>{try{He(I.next(Ie))}catch(Fe){$(Fe)}},Te=Ie=>{try{He(I.throw(Ie))}catch(Fe){$(Fe)}},He=Ie=>Ie.done?ne(Ie.value):Promise.resolve(Ie.value).then(V,Te);He((I=I.apply(P,T)).next())});const de=({graduations:P,dispatch:T})=>{var I,ne;const $=(0,O.useParams)(),V=(0,O.useLocation)(),[Te,He]=(0,g.useState)(!1),{menus:Ie}=P,Fe=Ie.find(Ct=>Ct.stage_url===V.pathname)||{},Ze=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"].includes(Fe==null?void 0:Fe.clazz),Ve=()=>wt(void 0,null,function*(){if(He(!0),Fe!=null&&Fe.notice_view)return;(yield(0,L.ZP)(`/api/graduations/${$==null?void 0:$.id}/graduation_stages/${Fe==null?void 0:Fe.id}/notice_view.json`,{method:"post"})).status===0&&T({type:"graduations/getGraduationsDetails",payload:{id:$==null?void 0:$.id}})}),xt=!((I=Fe==null?void 0:Fe.attachments)!=null&&I.length)&&!(Fe!=null&&Fe.description);return g.createElement(g.Fragment,null,Ze&&g.createElement(m.Z,{title:"\u9636\u6BB5\u516C\u544A/\u63CF\u8FF0",placement:"bottom"},g.createElement("div",{className:q.icon,onClick:Ve},g.createElement("div",{className:q.content},g.createElement("img",{height:20,src:nn}),!(Fe!=null&&Fe.notice_view)&&g.createElement("div",{className:q.dot})))),g.createElement(pe.default,{centered:!0,destroyOnClose:!0,onCancel:()=>He(!1),onOk:()=>He(!1),open:Te,title:"\u9636\u6BB5\u516C\u544A/\u63CF\u8FF0",width:990,cancelButtonProps:{style:{display:"none"}},okText:"\u6211\u77E5\u9053\u4E86"},xt?g.createElement(kt.Z,null):g.createElement("div",{style:{maxHeight:500}},g.createElement(Pe.Z,{className:"mb25",value:(Fe==null?void 0:Fe.description)||""}),(ne=Fe==null?void 0:Fe.attachments)==null?void 0:ne.map(Ct=>g.createElement(ge.Z,{key:Ct.id,className:"mt4",align:"middle"},g.createElement("div",{style:{color:"#3061D0"},className:"current c-light-primary",onClick:()=>{var ft;(0,Nt.Nd)("",`${lt.Z.API_SERVER}${(ft=Ct==null?void 0:Ct.url)==null?void 0:ft.replace("disposition=inline","")}`)}},g.createElement("i",{className:"iconfont icon-wenjian7 font14 mr5"}),(0,Nt.tP)(Ct.title,62)))))))};var fe=(0,O.connect)(({graduations:P})=>({graduations:P}))(de);const{Content:G}=re.default;var we=({})=>g.createElement("div",{className:"bg-white"},g.createElement(Y,null),g.createElement(ge.Z,{className:"edu-container",wrap:!1},g.createElement(y,null),g.createElement(G,{style:{flex:1,width:0,position:"relative"}},g.createElement(fe,null),g.createElement(O.Outlet,null))))},31570:function(an,it,f){"use strict";var g=f(59301),O=f(89070),re=f(78241),ge=f(6848),F=f(8591),m=f(43418),w=f(57809),he=f(92832),o=f(88522),M=f(1710),W=f(61186),y=f.n(W),b=f(8797),A=f(2742),C=f(85057),K=Object.defineProperty,pe=Object.defineProperties,B=Object.getOwnPropertyDescriptors,Z=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,L=(xe,ye,le)=>ye in xe?K(xe,ye,{enumerable:!0,configurable:!0,writable:!0,value:le}):xe[ye]=le,D=(xe,ye)=>{for(var le in ye||(ye={}))ie.call(ye,le)&&L(xe,le,ye[le]);if(Z)for(var le of Z(ye))X.call(ye,le)&&L(xe,le,ye[le]);return xe},Q=(xe,ye)=>pe(xe,B(ye)),j=(xe,ye,le)=>new Promise((oe,H)=>{var be=ae=>{try{me(le.next(ae))}catch(v){H(v)}},J=ae=>{try{me(le.throw(ae))}catch(v){H(v)}},me=ae=>ae.done?oe(ae.value):Promise.resolve(ae.value).then(be,J);me((le=le.apply(xe,ye)).next())});const ve=({graduations:{StageSetting:xe},onCancel:ye,OnOk:le,open:oe=!1,title:H,dispatch:be})=>{const J=(0,O.useParams)(),[me,ae]=(0,g.useState)([]),[v]=re.default.useForm(),[_,Y]=(0,g.useState)({school:"",search:"",search_type:"name"}),[q,Pe]=(0,g.useState)(!0),[Le,Ue]=(0,g.useState)(!1),[$e,ut]=(0,g.useState)(!1),[dt,at]=(0,g.useState)([]),[Pt,nn]=(0,g.useState)(0),[kt,Nt]=(0,g.useState)(0),[lt,wt]=(0,g.useState)(1),[de,fe]=(0,g.useState)([]),[G,U]=(0,g.useState)(!1),we=(0,g.useRef)(null);(0,g.useEffect)(()=>{switch(H){case"\u6DFB\u52A0\u5B66\u751F":Nt(0);break;case"\u6DFB\u52A0\u8001\u5E08":Nt(1);break;default:Nt(null)}},[oe]),(0,g.useEffect)(()=>{j(void 0,null,function*(){var $;const V=yield(0,A.xF)({keyword:"",per_page:9999,display_aliases:!0});ae(($=V==null?void 0:V.schools)==null?void 0:$.map(Te=>({label:Te.name,value:Te.id})))})},[]);const P=[{title:"\u59D3\u540D",width:100,ellipsis:!0,dataIndex:"name",render:$=>g.createElement(ge.Z,{placement:"topLeft",title:$},g.createElement("span",{style:{color:"#000"}},$||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",dataIndex:"school",ellipsis:!0,render:$=>g.createElement(ge.Z,{placement:"topLeft",title:$},g.createElement("span",{style:{color:"#000"}},$||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"department",width:130,ellipsis:!0,render:$=>g.createElement(ge.Z,{placement:"topLeft",title:$},g.createElement("span",{style:{color:"#000"}},$||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:($,V)=>g.createElement(ge.Z,{placement:"topLeft",title:V.staff_id||V.student_id},g.createElement("span",{className:"c-grey-666"},V.staff_id||V.student_id||"--"))},{title:"\u624B\u673A",width:110,dataIndex:"phone",ellipsis:!0,render:$=>g.createElement(ge.Z,{placement:"topLeft",title:$},g.createElement("span",{className:"c-grey-666"},$||"--"))},{title:"\u90AE\u7BB1",dataIndex:"mail",width:120,ellipsis:!0,render:$=>g.createElement(ge.Z,{placement:"topLeft",title:$},g.createElement("span",{className:"c-grey-666"},$||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"authentication",width:80,render:$=>$?g.createElement("span",{style:{color:"#000"}},"\u662F"):"\u5426"},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:$=>g.createElement(ge.Z,{placement:"topLeft",title:$},g.createElement("span",{className:"c-grey-666"},y()($).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"checked",width:80,render:$=>$?g.createElement("span",{className:"c-green"},"\u5DF2\u6DFB\u52A0"):g.createElement("span",{className:"c-grey-333"},"\u672A\u6DFB\u52A0")}],T=$=>j(void 0,null,function*(){var V,Te;if(we.current&&((Te=(V=we.current)==null?void 0:V.querySelector(".ant-table-body"))==null||Te.scrollTo(0,0)),U(!0),fe([]),!($.search||$.school)){F.ZP.warning("\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9");return}Ue(!0),Y($),wt(1);let He;const Ie=Q(D({id:J.id},$),{display_aliases:!0});kt==0&&(He=yield(0,A.l5)(Ie)),kt==1&&(He=yield(0,A.bS)(Ie)),He.status==0&&(at(He.data),nn(He.count)),Ue(!1)}),I=($=!1)=>j(void 0,null,function*(){var V,Te,He,Ie;const Fe=(V=we.current)==null?void 0:V.querySelector(".ant-table-body").scrollHeight,Qe=(Te=we.current)==null?void 0:Te.querySelector(".ant-table-body").scrollTop,Ze=(He=we.current)==null?void 0:He.querySelector(".ant-table-body").clientHeight;if(Fe==Qe+Ze&&q&&!Le){Ue(!0),wt(lt+1);let Ve;const xt=D({page:lt+1,id:J.id},_);kt==0&&(Ve=yield(0,A.l5)(xt)),kt==1&&(Ve=yield(0,A.bS)(xt)),Ve.status==0&&(((Ie=Ve==null?void 0:Ve.data)==null?void 0:Ie.length)+dt.length==Ve.count&&Pe(!1),at([...dt,...Ve.data]),nn(Ve.count)),Ue(!1)}}),ne={selectedRowKeys:de,onChange:($,V)=>{fe($)},getCheckboxProps:$=>({disabled:$.checked,name:$.checked})};return g.createElement(m.default,{destroyOnClose:!0,width:1200,style:{height:"613px"},open:oe,confirmLoading:$e,title:H,bodyStyle:{padding:"0px 25px"},onOk:()=>j(void 0,null,function*(){de.length>0?(ut(!0),yield le(de),ut(!1),v.resetFields(),at([]),U(!1),fe([])):F.ZP.warning("\u8BF7\u9009\u62E9\u6DFB\u52A0\u4EBA\u5458")}),onCancel:()=>{ye(),v.resetFields(),U(!1),at([]),fe([])}},g.createElement(re.default,{layout:"inline",className:"mt10",colon:!1,form:v,initialValues:{school:"",search:"",search_type:"name"},onValuesChange:($,V)=>Y(V),size:"large",onFinish:T},g.createElement(re.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},g.createElement(w.default,{style:{width:160}},g.createElement(w.default.Option,{value:"name"},"\u59D3\u540D"),g.createElement(w.default.Option,{value:"phone"},"\u624B\u673A\u53F7"),g.createElement(w.default.Option,{value:"mail"},"\u90AE\u7BB1"))),g.createElement(re.default.Item,{name:"search",label:"\u641C\u7D22\u5185\u5BB9"},g.createElement(he.default,{allowClear:!0,style:{width:320},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",defaultValue:""})),g.createElement(re.default.Item,{name:"school",label:"\u5355\u4F4D"},g.createElement(o.Z,{options:me,style:{width:380},placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0",onSelect:($,V)=>{console.log($,V),v.setFieldsValue({school:V.label})},filterOption:($,V)=>V.label.toUpperCase().indexOf($.toUpperCase())!==-1})),g.createElement(re.default.Item,{noStyle:!0},g.createElement(C.op,{onClick:()=>v.submit(),size:"large",shape:"default"},"\u641C\u7D22"))),g.createElement("div",{onScrollCapture:()=>I()},G?g.createElement(M.default,{className:"mt20",loading:Le,showHeader:dt.length>0,scroll:Pt>10?{y:450}:{},rowKey:"user_id",rowSelection:ne,locale:{emptyText:g.createElement(b.Z,{customText:"\u672A\u627E\u5230\u7B26\u5408\u6761\u4EF6\u7684\u6570\u636E\uFF0C\u8BF7\u91CD\u65B0\u8C03\u6574\u60A8\u7684\u7B5B\u9009\u6761\u4EF6\u3002"})},pagination:!1,dataSource:dt,ref:we,columns:P}):g.createElement(b.Z,{customText:"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458"})))};it.Z=(0,O.connect)(({graduations:xe})=>({graduations:xe}))(ve)},86608:function(an,it,f){"use strict";f.d(it,{Z:function(){return m}});var g=f(59301),O={flex_box_center:"flex_box_center___Sswcw",flex_space_between:"flex_space_between___nBexI",flex_box_vertical_center:"flex_box_vertical_center___sPXvb",flex_box_center_end:"flex_box_center_end___c6nca",flex_box_column:"flex_box_column___Bq_gi",tag:"tag___NEywM"},re=f(92310),ge=f.n(re),m=({className:w,status:he})=>g.createElement(g.Fragment,null,he===0&&g.createElement("div",{className:ge()(O.tag,w)},"\u672A\u5F00\u59CB"),he===1&&g.createElement("div",{className:ge()(O.tag,w),style:{background:"#19CB70"}},"\u8FDB\u884C\u4E2D"),he===2&&g.createElement("div",{className:ge()(O.tag,w),style:{background:"#EE5D5D"}},"\u5DF2\u7ED3\u675F"))},24768:function(an,it,f){"use strict";f.d(it,{AL:function(){return X},Iy:function(){return W},Qv:function(){return A},ez:function(){return ie},jb:function(){return y}});var g=f(32834),O=f.n(g),re=f(11690),ge=f.n(re);let F=1;function m(ve,xe){const ye=ve.match(/^(\s+)(?:```)/);if(ye===null)return xe;const le=ye[1];return xe.split(`
`).map(oe=>{const H=oe.match(/^\s+/);if(H===null)return oe;const[be]=H;return be.length>=le.length?oe.slice(le.length):oe}).join(`
`)}let w=[],he=["<ul>"];const o=new(O()).Renderer,M=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function W(){w.length=0,he=["<ul>"]}const y={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function b(ve,xe,ye,le){if(xe>=ve.length||ve[xe].level<=ye)return xe;var oe=ve[xe];le.push("<li><a href='#"+F+oe.anchor+"'>"+oe.text+"</a>"),xe++;var H=[];return xe=b(ve,xe,oe.level,H),H.length>0&&(le.push("<ul>"),H.forEach(function(be){le.push(be)}),le.push("</ul>")),le.push("</li>"),xe=b(ve,xe,ye,le),xe}function A(){return b(w,0,0,he),he.push("</ul>"),he.join("")}const C={heading(ve){const xe=M.exec(ve);if(F+=1,xe)return{type:"heading",raw:xe[0],depth:xe[1].length,text:xe[2]}},fences(ve){const xe=this.rules.block.fences.exec(ve);if(xe){const ye=xe[0];let le=m(ye,xe[3]||"");const oe=xe[2]?xe[2].trim():xe[2];if(["latex","katex","math"].indexOf(oe)>=0){const H=B(),be=le;le=H,Z[H]={type:"block",expression:be}}return{type:"code",raw:ye,lang:oe,text:le}}}},K=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let pe=0;const B=()=>`__special_katext_id_${pe++}__`;let Z={};function ie(){return Z}function X(){pe=0,Z={}}function L(ve){return ve=ve.replace(K,(xe,ye)=>{const le=B();return Z[le]={type:"inline",expression:ye},le}),ve}const D=o.listitem;o.listitem=function(ve){return D(L(ve))};const Q=o.paragraph;o.paragraph=function(ve){return Q(L(ve))};const j=o.tablecell;o.tablecell=function(ve,xe){return j(L(ve),xe)},o.code=function(ve,xe,ye){const le=(xe||"").match(/\S*/)[0];return le?["latex","katex","math"].indexOf(le)>=0?`<p class='editormd-tex'>${ve}</p>`:`<pre class="prettyprint linenums"><code class="language-${xe}">${ye?ve:(0,re.escape)(ve,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(ye?ve:(0,re.escape)(ve,!0))+"</code></pre>"},o.heading=function(ve,xe,ye){let le=this.options.headerPrefix+ye.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return w.push({anchor:le,level:xe,text:ve}),"<h"+xe+' id="'+F+le+'">'+ve+"</h"+xe+">"},O().setOptions({silent:!0,gfm:!0,pedantic:!1}),O().use({tokenizer:C,renderer:o}),it.ZP=O()},36785:function(an,it,f){"use strict";f.d(it,{o2:function(){return F},yT:function(){return m}});var g=f(80702),O=f(33166);const re=O.i.map(w=>`${w}-inverse`),ge=["success","processing","error","default","warning"];function F(w){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,g.Z)(re),(0,g.Z)(O.i)).includes(w):O.i.includes(w)}function m(w){return ge.includes(w)}},50371:function(an,it){"use strict";function f(){const g=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let O=1;O<arguments.length;O++){const re=O<0||arguments.length<=O?void 0:arguments[O];re&&Object.keys(re).forEach(ge=>{const F=re[ge];F!==void 0&&(g[ge]=F)})}return g}it.Z=f},13845:function(an,it,f){"use strict";f.d(it,{F:function(){return g},Z:function(){return O}});function g(re){return re!=null&&re===re.window}function O(re,ge){var F,m;if(typeof window=="undefined")return 0;const w=ge?"scrollTop":"scrollLeft";let he=0;return g(re)?he=re[ge?"pageYOffset":"pageXOffset"]:re instanceof Document?he=re.documentElement[w]:(re instanceof HTMLElement||re)&&(he=re[w]),re&&!g(re)&&typeof he!="number"&&(he=(m=((F=re.ownerDocument)!==null&&F!==void 0?F:re).documentElement)===null||m===void 0?void 0:m[w]),he}},56762:function(an,it,f){"use strict";f.d(it,{Z:function(){return O}});var g=f(59301);function O(){const[,re]=g.useReducer(ge=>ge+1,0);return re}},79676:function(an,it,f){"use strict";f.d(it,{Z:function(){return m}});var g=f(19447);function O(w,he,o,M){if(M===!1)return{adjustX:!1,adjustY:!1};const W=M&&typeof M=="object"?M:{},y={};switch(w){case"top":case"bottom":y.shiftX=he.dropdownArrowOffset*2+o;break;case"left":case"right":y.shiftY=he.dropdownArrowOffsetVertical*2+o;break}const b=Object.assign(Object.assign({},y),W);return b.shiftX||(b.adjustX=!0),b.shiftY||(b.adjustY=!0),b}const re={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"]}},ge={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 m(w){const{arrowWidth:he,autoAdjustOverflow:o,arrowPointAtCenter:M,offset:W,borderRadius:y,visibleFirst:b}=w,A=he/2,C={};return Object.keys(re).forEach(K=>{const pe=M&&ge[K]||re[K],B=Object.assign(Object.assign({},pe),{offset:[0,0]});switch(C[K]=B,F.has(K)&&(B.autoArrow=!1),K){case"top":case"topLeft":case"topRight":B.offset[1]=-A-W;break;case"bottom":case"bottomLeft":case"bottomRight":B.offset[1]=A+W;break;case"left":case"leftTop":case"leftBottom":B.offset[0]=-A-W;break;case"right":case"rightTop":case"rightBottom":B.offset[0]=A+W;break}const Z=(0,g.fS)({contentRadius:y,limitVerticalRadius:!0});if(M)switch(K){case"topLeft":case"bottomLeft":B.offset[0]=-Z.dropdownArrowOffset-A;break;case"topRight":case"bottomRight":B.offset[0]=Z.dropdownArrowOffset+A;break;case"leftTop":case"rightTop":B.offset[1]=-Z.dropdownArrowOffset-A;break;case"leftBottom":case"rightBottom":B.offset[1]=Z.dropdownArrowOffset+A;break}B.overflow=O(K,Z,he,o),b&&(B.htmlRegion="visibleFirst")}),C}},68031:function(an,it,f){"use strict";f.d(it,{Z:function(){return ge}});var g=f(16089);function O(F,m,w,he){const o=w-m;return F/=he/2,F<1?o/2*F*F*F+m:o/2*((F-=2)*F*F+2)+m}var re=f(13845);function ge(F){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:w=()=>window,callback:he,duration:o=450}=m,M=w(),W=(0,re.Z)(M,!0),y=Date.now(),b=()=>{const C=Date.now()-y,K=O(C>o?o:C,W,F,o);(0,re.F)(M)?M.scrollTo(window.pageXOffset,K):M instanceof Document||M.constructor.name==="HTMLDocument"?M.documentElement.scrollTop=K:M.scrollTop=K,C<o?(0,g.Z)(b):typeof he=="function"&&he()};(0,g.Z)(b)}},19080:function(an,it,f){"use strict";f.d(it,{F:function(){return F},Z:function(){return ge}});var g=f(92310),O=f.n(g);const re=null;function ge(m,w,he){return O()({[`${m}-status-success`]:w==="success",[`${m}-status-warning`]:w==="warning",[`${m}-status-error`]:w==="error",[`${m}-status-validating`]:w==="validating",[`${m}-has-feedback`]:he})}const F=(m,w)=>w||m},88522:function(an,it,f){"use strict";var g=f(92310),O=f.n(g),re=f(11592),ge=f(2738),F=f(59301),m=f(53487),w=f(92343),he=f(36355),o=f(57809);const{Option:M}=o.default;function W(C){return C&&C.type&&(C.type.isSelectOption||C.type.isSelectOptGroup)}const y=(C,K)=>{const{prefixCls:pe,className:B,popupClassName:Z,dropdownClassName:ie,children:X,dataSource:L}=C,D=(0,re.Z)(X);let Q;D.length===1&&(0,w.l$)(D[0])&&!W(D[0])&&([Q]=D);const j=Q?()=>Q:void 0;let ve;D.length&&W(D[0])?ve=X:ve=L?L.map(le=>{if((0,w.l$)(le))return le;switch(typeof le){case"string":return F.createElement(M,{key:le,value:le},le);case"object":{const{value:oe}=le;return F.createElement(M,{key:oe,value:oe},le.text)}default:return}}):[];const{getPrefixCls:xe}=F.useContext(he.E_),ye=xe("select",pe);return F.createElement(o.default,Object.assign({ref:K,suffixIcon:null},(0,ge.Z)(C,["dataSource","dropdownClassName"]),{prefixCls:ye,popupClassName:Z||ie,className:O()(`${ye}-auto-complete`,B),mode:o.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:j}),ve)},b=F.forwardRef(y),A=(0,m.Z)(b);b.Option=M,b._InternalPanelDoNotUseOrYouWillBeFired=A,it.Z=b},24905:function(an,it,f){"use strict";f.d(it,{default:function(){return Q}});var g=f(92310),O=f.n(g),re=f(5630),ge=f(59301),F=f(36355),m=f(1684),w=f(32441),o=ge.createContext(null),M=f(98447),W=f(14088),y=f(4572),b=function(j,ve){var xe={};for(var ye in j)Object.prototype.hasOwnProperty.call(j,ye)&&ve.indexOf(ye)<0&&(xe[ye]=j[ye]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ye=Object.getOwnPropertySymbols(j);le<ye.length;le++)ve.indexOf(ye[le])<0&&Object.prototype.propertyIsEnumerable.call(j,ye[le])&&(xe[ye[le]]=j[ye[le]]);return xe};const A=(j,ve)=>{var xe;const{prefixCls:ye,className:le,rootClassName:oe,children:H,indeterminate:be=!1,style:J,onMouseEnter:me,onMouseLeave:ae,skipGroup:v=!1,disabled:_}=j,Y=b(j,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:q,direction:Pe,checkbox:Le}=ge.useContext(F.E_),Ue=ge.useContext(o),{isFormItemInput:$e}=ge.useContext(w.aM),ut=ge.useContext(m.Z),dt=(xe=(Ue==null?void 0:Ue.disabled)||_)!==null&&xe!==void 0?xe:ut,at=ge.useRef(Y.value);ge.useEffect(()=>{Ue==null||Ue.registerValue(Y.value)},[]),ge.useEffect(()=>{if(!v)return Y.value!==at.current&&(Ue==null||Ue.cancelValue(at.current),Ue==null||Ue.registerValue(Y.value),at.current=Y.value),()=>Ue==null?void 0:Ue.cancelValue(Y.value)},[Y.value]);const Pt=q("checkbox",ye),[nn,kt]=(0,M.ZP)(Pt),Nt=Object.assign({},Y);Ue&&!v&&(Nt.onChange=function(){Y.onChange&&Y.onChange.apply(Y,arguments),Ue.toggleOption&&Ue.toggleOption({label:H,value:Y.value})},Nt.name=Ue.name,Nt.checked=Ue.value.includes(Y.value));const lt=O()(`${Pt}-wrapper`,{[`${Pt}-rtl`]:Pe==="rtl",[`${Pt}-wrapper-checked`]:Nt.checked,[`${Pt}-wrapper-disabled`]:dt,[`${Pt}-wrapper-in-form-item`]:$e},Le==null?void 0:Le.className,le,oe,kt),wt=O()({[`${Pt}-indeterminate`]:be},y.A,kt),de=be?"mixed":void 0;return nn(ge.createElement(W.Z,{component:"Checkbox",disabled:dt},ge.createElement("label",{className:lt,style:Object.assign(Object.assign({},Le==null?void 0:Le.style),J),onMouseEnter:me,onMouseLeave:ae},ge.createElement(re.Z,Object.assign({"aria-checked":de},Nt,{prefixCls:Pt,className:wt,disabled:dt,ref:ve})),H!==void 0&&ge.createElement("span",null,H))))};var K=ge.forwardRef(A),pe=f(80702),B=f(2738),Z=function(j,ve){var xe={};for(var ye in j)Object.prototype.hasOwnProperty.call(j,ye)&&ve.indexOf(ye)<0&&(xe[ye]=j[ye]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,ye=Object.getOwnPropertySymbols(j);le<ye.length;le++)ve.indexOf(ye[le])<0&&Object.prototype.propertyIsEnumerable.call(j,ye[le])&&(xe[ye[le]]=j[ye[le]]);return xe};const ie=(j,ve)=>{const{defaultValue:xe,children:ye,options:le=[],prefixCls:oe,className:H,rootClassName:be,style:J,onChange:me}=j,ae=Z(j,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:v,direction:_}=ge.useContext(F.E_),[Y,q]=ge.useState(ae.value||xe||[]),[Pe,Le]=ge.useState([]);ge.useEffect(()=>{"value"in ae&&q(ae.value||[])},[ae.value]);const Ue=ge.useMemo(()=>le.map(fe=>typeof fe=="string"||typeof fe=="number"?{label:fe,value:fe}:fe),[le]),$e=fe=>{Le(G=>G.filter(U=>U!==fe))},ut=fe=>{Le(G=>[].concat((0,pe.Z)(G),[fe]))},dt=fe=>{const G=Y.indexOf(fe.value),U=(0,pe.Z)(Y);G===-1?U.push(fe.value):U.splice(G,1),"value"in ae||q(U),me==null||me(U.filter(we=>Pe.includes(we)).sort((we,P)=>{const T=Ue.findIndex(ne=>ne.value===we),I=Ue.findIndex(ne=>ne.value===P);return T-I}))},at=v("checkbox",oe),Pt=`${at}-group`,[nn,kt]=(0,M.ZP)(at),Nt=(0,B.Z)(ae,["value","disabled"]),lt=le.length?Ue.map(fe=>ge.createElement(K,{prefixCls:at,key:fe.value.toString(),disabled:"disabled"in fe?fe.disabled:ae.disabled,value:fe.value,checked:Y.includes(fe.value),onChange:fe.onChange,className:`${Pt}-item`,style:fe.style,title:fe.title},fe.label)):ye,wt={toggleOption:dt,value:Y,disabled:ae.disabled,name:ae.name,registerValue:ut,cancelValue:$e},de=O()(Pt,{[`${Pt}-rtl`]:_==="rtl"},H,be,kt);return nn(ge.createElement("div",Object.assign({className:de,style:J},Nt,{ref:ve}),ge.createElement(o.Provider,{value:wt},lt)))},X=ge.forwardRef(ie);var L=ge.memo(X);const D=K;D.Group=L,D.__ANT_CHECKBOX=!0;var Q=D},98447:function(an,it,f){"use strict";f.d(it,{C2:function(){return F}});var g=f(17313),O=f(37613),re=f(83116);const ge=m=>{const{checkboxCls:w}=m,he=`${w}-wrapper`;return[{[`${w}-group`]:Object.assign(Object.assign({},(0,g.Wf)(m)),{display:"inline-flex",flexWrap:"wrap",columnGap:m.marginXS,[`> ${m.antCls}-row`]:{flex:1}}),[he]:Object.assign(Object.assign({},(0,g.Wf)(m)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${he}`]:{marginInlineStart:0},[`&${he}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[w]:Object.assign(Object.assign({},(0,g.Wf)(m)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:m.borderRadiusSM,alignSelf:"center",[`${w}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${w}-inner`]:Object.assign({},(0,g.oN)(m))},[`${w}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:m.checkboxSize,height:m.checkboxSize,direction:"ltr",backgroundColor:m.colorBgContainer,border:`${m.lineWidth}px ${m.lineType} ${m.colorBorder}`,borderRadius:m.borderRadiusSM,borderCollapse:"separate",transition:`all ${m.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:m.checkboxSize/14*5,height:m.checkboxSize/14*8,border:`${m.lineWidthBold}px solid ${m.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${m.motionDurationFast} ${m.motionEaseInBack}, opacity ${m.motionDurationFast}`}},"& + span":{paddingInlineStart:m.paddingXS,paddingInlineEnd:m.paddingXS}})},{[`
${he}:not(${he}-disabled),
${w}:not(${w}-disabled)
`]:{[`&:hover ${w}-inner`]:{borderColor:m.colorPrimary}},[`${he}:not(${he}-disabled)`]:{[`&:hover ${w}-checked:not(${w}-disabled) ${w}-inner`]:{backgroundColor:m.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${w}-checked:not(${w}-disabled):after`]:{borderColor:m.colorPrimaryHover}}},{[`${w}-checked`]:{[`${w}-inner`]:{backgroundColor:m.colorPrimary,borderColor:m.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${m.motionDurationMid} ${m.motionEaseOutBack} ${m.motionDurationFast}`}}},[`
${he}-checked:not(${he}-disabled),
${w}-checked:not(${w}-disabled)
`]:{[`&:hover ${w}-inner`]:{backgroundColor:m.colorPrimaryHover,borderColor:"transparent"}}},{[w]:{"&-indeterminate":{[`${w}-inner`]:{backgroundColor:m.colorBgContainer,borderColor:m.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:m.fontSizeLG/2,height:m.fontSizeLG/2,backgroundColor:m.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${he}-disabled`]:{cursor:"not-allowed"},[`${w}-disabled`]:{[`&, ${w}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${w}-inner`]:{background:m.colorBgContainerDisabled,borderColor:m.colorBorder,"&:after":{borderColor:m.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:m.colorTextDisabled},[`&${w}-indeterminate ${w}-inner::after`]:{background:m.colorTextDisabled}}}]};function F(m,w){const he=(0,O.TS)(w,{checkboxCls:`.${m}`,checkboxSize:w.controlInteractiveSize});return[ge(he)]}it.ZP=(0,re.Z)("Checkbox",(m,w)=>{let{prefixCls:he}=w;return[F(he,m)]})},93891:function(an,it,f){"use strict";var g=f(59301),O=f(36355),re=f(64165);const ge=F=>{const{componentName:m}=F,{getPrefixCls:w}=(0,g.useContext)(O.E_),he=w("empty");switch(m){case"Table":case"List":return g.createElement(re.Z,{image:re.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return g.createElement(re.Z,{image:re.Z.PRESENTED_IMAGE_SIMPLE,className:`${he}-small`});default:return g.createElement(re.Z,null)}};it.Z=ge},91857:function(an,it,f){"use strict";var g=f(59301),O=f(38819),re=f(92310),ge=f.n(re),F=f(31561),m=f(70425),w=f(18929),he=f(2738),o=f(79676),M=f(53487),W=f(92343),y=f(36355),b=f(20834),A=f(40875),C=f(88088),K=f(47211);const pe=null,B=L=>{const{menu:D,arrow:Q,prefixCls:j,children:ve,trigger:xe,disabled:ye,dropdownRender:le,getPopupContainer:oe,overlayClassName:H,rootClassName:be,open:J,onOpenChange:me,visible:ae,onVisibleChange:v,mouseEnterDelay:_=.15,mouseLeaveDelay:Y=.1,autoAdjustOverflow:q=!0,placement:Pe="",overlay:Le,transitionName:Ue}=L,{getPopupContainer:$e,getPrefixCls:ut,direction:dt}=g.useContext(y.E_),at=g.useMemo(()=>{const V=ut();return Ue!==void 0?Ue:Pe.includes("top")?`${V}-slide-down`:`${V}-slide-up`},[ut,Pe,Ue]),Pt=g.useMemo(()=>Pe?Pe.includes("Center")?Pe.slice(0,Pe.indexOf("Center")):Pe:dt==="rtl"?"bottomRight":"bottomLeft",[Pe,dt]),nn=ut("dropdown",j),[kt,Nt]=(0,K.Z)(nn),[,lt]=(0,C.Z)(),wt=g.Children.only(ve),de=(0,W.Tm)(wt,{className:ge()(`${nn}-trigger`,{[`${nn}-rtl`]:dt==="rtl"},wt.props.className),disabled:ye}),fe=ye?[]:xe;let G;fe&&fe.includes("contextMenu")&&(G=!0);const[U,we]=(0,w.Z)(!1,{value:J!=null?J:ae}),P=(0,m.useEvent)(V=>{me==null||me(V),v==null||v(V),we(V)}),T=ge()(H,be,Nt,{[`${nn}-rtl`]:dt==="rtl"}),I=(0,o.Z)({arrowPointAtCenter:typeof Q=="object"&&Q.pointAtCenter,autoAdjustOverflow:q,offset:lt.marginXXS,arrowWidth:Q?lt.sizePopupArrow:0,borderRadius:lt.borderRadius}),ne=g.useCallback(()=>{we(!1)},[]),$=()=>{let V;return D!=null&&D.items?V=g.createElement(b.default,Object.assign({},D)):typeof Le=="function"?V=Le():V=Le,le&&(V=le(V)),V=g.Children.only(typeof V=="string"?g.createElement("span",null,V):V),g.createElement(A.J,{prefixCls:`${nn}-menu`,expandIcon:g.createElement("span",{className:`${nn}-menu-submenu-arrow`},g.createElement(O.Z,{className:`${nn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ne,validator:Te=>{let{mode:He}=Te}},V)};return kt(g.createElement(F.Z,Object.assign({alignPoint:G},(0,he.Z)(L,["rootClassName"]),{mouseEnterDelay:_,mouseLeaveDelay:Y,visible:U,builtinPlacements:I,arrow:!!Q,overlayClassName:T,prefixCls:nn,getPopupContainer:oe||$e,transitionName:at,trigger:fe,overlay:$,placement:Pt,onVisibleChange:P}),de))};function Z(L){return Object.assign(Object.assign({},L),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ie=(0,M.Z)(B,"dropdown",L=>L,Z),X=L=>g.createElement(ie,Object.assign({},L),g.createElement("span",null));B._InternalPanelDoNotUseOrYouWillBeFired=X,it.Z=B},38854:function(an,it,f){"use strict";f.d(it,{Z:function(){return C}});var g=f(91857),O=f(92310),re=f.n(O),ge=f(59301),F=f(18785),m=f(3113),w=f(36355),he=f(81327),o=f(33234),M=f(47211),W=function(K,pe){var B={};for(var Z in K)Object.prototype.hasOwnProperty.call(K,Z)&&pe.indexOf(Z)<0&&(B[Z]=K[Z]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Z=Object.getOwnPropertySymbols(K);ie<Z.length;ie++)pe.indexOf(Z[ie])<0&&Object.prototype.propertyIsEnumerable.call(K,Z[ie])&&(B[Z[ie]]=K[Z[ie]]);return B};const y=K=>{const{getPopupContainer:pe,getPrefixCls:B,direction:Z}=ge.useContext(w.E_),{prefixCls:ie,type:X="default",danger:L,disabled:D,loading:Q,onClick:j,htmlType:ve,children:xe,className:ye,menu:le,arrow:oe,autoFocus:H,overlay:be,trigger:J,align:me,open:ae,onOpenChange:v,placement:_,getPopupContainer:Y,href:q,icon:Pe=ge.createElement(F.Z,null),title:Le,buttonsRender:Ue=$=>$,mouseEnterDelay:$e,mouseLeaveDelay:ut,overlayClassName:dt,overlayStyle:at,destroyPopupOnHide:Pt,dropdownRender:nn}=K,kt=W(K,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Nt=B("dropdown",ie),lt=`${Nt}-button`,[wt,de]=(0,M.Z)(Nt),fe={menu:le,arrow:oe,autoFocus:H,align:me,disabled:D,trigger:D?[]:J,onOpenChange:v,getPopupContainer:Y||pe,mouseEnterDelay:$e,mouseLeaveDelay:ut,overlayClassName:dt,overlayStyle:at,destroyPopupOnHide:Pt,dropdownRender:nn},{compactSize:G,compactItemClassnames:U}=(0,o.ri)(Nt,Z),we=re()(lt,U,ye,de);"overlay"in K&&(fe.overlay=be),"open"in K&&(fe.open=ae),"placement"in K?fe.placement=_:fe.placement=Z==="rtl"?"bottomLeft":"bottomRight";const P=ge.createElement(m.ZP,{type:X,danger:L,disabled:D,loading:Q,onClick:j,htmlType:ve,href:q,title:Le},xe),T=ge.createElement(m.ZP,{type:X,danger:L,icon:Pe}),[I,ne]=Ue([P,T]);return wt(ge.createElement(he.Z.Compact,Object.assign({className:we,size:G,block:!0},kt),I,ge.createElement(g.Z,Object.assign({},fe),ne)))};y.__ANT_BUTTON=!0;var b=y;const A=g.Z;A.Button=b;var C=A},47211:function(an,it,f){"use strict";f.d(it,{Z:function(){return W}});var g=f(17313),O=f(13826),re=f(92899),ge=f(29878),F=f(19447),m=f(83116),w=f(37613),o=y=>{const{componentCls:b,menuCls:A,colorError:C,colorTextLightSolid:K}=y,pe=`${A}-item`;return{[`${b}, ${b}-menu-submenu`]:{[`${A} ${pe}`]:{[`&${pe}-danger:not(${pe}-disabled)`]:{color:C,"&:hover":{color:K,backgroundColor:C}}}}}};const M=y=>{const{componentCls:b,menuCls:A,zIndexPopup:C,dropdownArrowDistance:K,sizePopupArrow:pe,antCls:B,iconCls:Z,motionDurationMid:ie,dropdownPaddingVertical:X,fontSize:L,dropdownEdgeChildPadding:D,colorTextDisabled:Q,fontSizeIcon:j,controlPaddingHorizontal:ve,colorBgElevated:xe}=y;return[{[b]:Object.assign(Object.assign({},(0,g.Wf)(y)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:C,display:"block","&::before":{position:"absolute",insetBlock:-K+pe/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${B}-btn`]:{[`& > ${Z}-down, & > ${B}-btn-icon > ${Z}-down`]:{fontSize:j}},[`${b}-wrap`]:{position:"relative",[`${B}-btn > ${Z}-down`]:{fontSize:j},[`${Z}-down::before`]:{transition:`transform ${ie}`}},[`${b}-wrap-open`]:{[`${Z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${B}-slide-down-enter${B}-slide-down-enter-active${b}-placement-bottomLeft,
&${B}-slide-down-appear${B}-slide-down-appear-active${b}-placement-bottomLeft,
&${B}-slide-down-enter${B}-slide-down-enter-active${b}-placement-bottom,
&${B}-slide-down-appear${B}-slide-down-appear-active${b}-placement-bottom,
&${B}-slide-down-enter${B}-slide-down-enter-active${b}-placement-bottomRight,
&${B}-slide-down-appear${B}-slide-down-appear-active${b}-placement-bottomRight`]:{animationName:O.fJ},[`&${B}-slide-up-enter${B}-slide-up-enter-active${b}-placement-topLeft,
&${B}-slide-up-appear${B}-slide-up-appear-active${b}-placement-topLeft,
&${B}-slide-up-enter${B}-slide-up-enter-active${b}-placement-top,
&${B}-slide-up-appear${B}-slide-up-appear-active${b}-placement-top,
&${B}-slide-up-enter${B}-slide-up-enter-active${b}-placement-topRight,
&${B}-slide-up-appear${B}-slide-up-appear-active${b}-placement-topRight`]:{animationName:O.Qt},[`&${B}-slide-down-leave${B}-slide-down-leave-active${b}-placement-bottomLeft,
&${B}-slide-down-leave${B}-slide-down-leave-active${b}-placement-bottom,
&${B}-slide-down-leave${B}-slide-down-leave-active${b}-placement-bottomRight`]:{animationName:O.Uw},[`&${B}-slide-up-leave${B}-slide-up-leave-active${b}-placement-topLeft,
&${B}-slide-up-leave${B}-slide-up-leave-active${b}-placement-top,
&${B}-slide-up-leave${B}-slide-up-leave-active${b}-placement-topRight`]:{animationName:O.ly}})},(0,F.ZP)(y,{colorBg:xe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${b} ${A}`]:{position:"relative",margin:0},[`${A}-submenu-popup`]:{position:"absolute",zIndex:C,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${b}, ${b}-menu-submenu`]:{[A]:Object.assign(Object.assign({padding:D,listStyleType:"none",backgroundColor:xe,backgroundClip:"padding-box",borderRadius:y.borderRadiusLG,outline:"none",boxShadow:y.boxShadowSecondary},(0,g.Qy)(y)),{[`${A}-item-group-title`]:{padding:`${X}px ${ve}px`,color:y.colorTextDescription,transition:`all ${ie}`},[`${A}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${A}-item-icon`]:{minWidth:L,marginInlineEnd:y.marginXS,fontSize:y.fontSizeSM},[`${A}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ie}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${A}-item, ${A}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${X}px ${ve}px`,color:y.colorText,fontWeight:"normal",fontSize:L,lineHeight:y.lineHeight,cursor:"pointer",transition:`all ${ie}`,borderRadius:y.borderRadiusSM,"&:hover, &-active":{backgroundColor:y.controlItemBgHover}},(0,g.Qy)(y)),{"&-selected":{color:y.colorPrimary,backgroundColor:y.controlItemBgActive,"&:hover, &-active":{backgroundColor:y.controlItemBgActiveHover}},"&-disabled":{color:Q,cursor:"not-allowed","&:hover":{color:Q,backgroundColor:xe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${y.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:y.colorSplit},[`${b}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:y.paddingXS,[`${b}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:y.colorTextDescription,fontSize:j,fontStyle:"normal"}}}),[`${A}-item-group-list`]:{margin:`0 ${y.marginXS}px`,padding:0,listStyle:"none"},[`${A}-submenu-title`]:{paddingInlineEnd:ve+y.fontSizeSM},[`${A}-submenu-vertical`]:{position:"relative"},[`${A}-submenu${A}-submenu-disabled ${b}-menu-submenu-title`]:{[`&, ${b}-menu-submenu-arrow-icon`]:{color:Q,backgroundColor:xe,cursor:"not-allowed"}},[`${A}-submenu-selected ${b}-menu-submenu-title`]:{color:y.colorPrimary}})}},[(0,O.oN)(y,"slide-up"),(0,O.oN)(y,"slide-down"),(0,re.Fm)(y,"move-up"),(0,re.Fm)(y,"move-down"),(0,ge._y)(y,"zoom-big")]]};var W=(0,m.Z)("Dropdown",(y,b)=>{let{rootPrefixCls:A}=b;const{marginXXS:C,sizePopupArrow:K,controlHeight:pe,fontSize:B,lineHeight:Z,paddingXXS:ie,componentCls:X,borderRadiusLG:L}=y,D=(pe-B*Z)/2,{dropdownArrowOffset:Q}=(0,F.fS)({contentRadius:L}),j=(0,w.TS)(y,{menuCls:`${X}-menu`,rootPrefixCls:A,dropdownArrowDistance:K/2+C,dropdownArrowOffset:Q,dropdownPaddingVertical:D,dropdownEdgeChildPadding:ie});return[M(j),o(j)]},y=>({zIndexPopup:y.zIndexPopupBase+50}))},64165:function(an,it,f){"use strict";f.d(it,{Z:function(){return ie}});var g=f(92310),O=f.n(g),re=f(59301),ge=f(36355),F=f(9763),m=f(64993),w=f(88088),o=()=>{const[,X]=(0,w.Z)(),D=new m.C(X.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return re.createElement("svg",{style:D,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},re.createElement("g",{fill:"none",fillRule:"evenodd"},re.createElement("g",{transform:"translate(24 31.67)"},re.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),re.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),re.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),re.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),re.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),re.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),re.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},re.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),re.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},W=()=>{const[,X]=(0,w.Z)(),{colorFill:L,colorFillTertiary:D,colorFillQuaternary:Q,colorBgContainer:j}=X,{borderColor:ve,shadowColor:xe,contentColor:ye}=(0,re.useMemo)(()=>({borderColor:new m.C(L).onBackground(j).toHexShortString(),shadowColor:new m.C(D).onBackground(j).toHexShortString(),contentColor:new m.C(Q).onBackground(j).toHexShortString()}),[L,D,Q,j]);return re.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},re.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},re.createElement("ellipse",{fill:xe,cx:"32",cy:"33",rx:"32",ry:"7"}),re.createElement("g",{fillRule:"nonzero",stroke:ve},re.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),re.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:ye}))))},y=f(83116),b=f(37613);const A=X=>{const{componentCls:L,margin:D,marginXS:Q,marginXL:j,fontSize:ve,lineHeight:xe}=X;return{[L]:{marginInline:Q,fontSize:ve,lineHeight:xe,textAlign:"center",[`${L}-image`]:{height:X.emptyImgHeight,marginBottom:Q,opacity:X.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${L}-description`]:{color:X.colorText},[`${L}-footer`]:{marginTop:D},"&-normal":{marginBlock:j,color:X.colorTextDisabled,[`${L}-description`]:{color:X.colorTextDisabled},[`${L}-image`]:{height:X.emptyImgHeightMD}},"&-small":{marginBlock:Q,color:X.colorTextDisabled,[`${L}-image`]:{height:X.emptyImgHeightSM}}}}};var C=(0,y.Z)("Empty",X=>{const{componentCls:L,controlHeightLG:D}=X,Q=(0,b.TS)(X,{emptyImgCls:`${L}-img`,emptyImgHeight:D*2.5,emptyImgHeightMD:D,emptyImgHeightSM:D*.875});return[A(Q)]}),K=function(X,L){var D={};for(var Q in X)Object.prototype.hasOwnProperty.call(X,Q)&&L.indexOf(Q)<0&&(D[Q]=X[Q]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,Q=Object.getOwnPropertySymbols(X);j<Q.length;j++)L.indexOf(Q[j])<0&&Object.prototype.propertyIsEnumerable.call(X,Q[j])&&(D[Q[j]]=X[Q[j]]);return D};const pe=re.createElement(o,null),B=re.createElement(W,null),Z=X=>{var{className:L,rootClassName:D,prefixCls:Q,image:j=pe,description:ve,children:xe,imageStyle:ye,style:le}=X,oe=K(X,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:H,direction:be,empty:J}=re.useContext(ge.E_),me=H("empty",Q),[ae,v]=C(me),[_]=(0,F.Z)("Empty"),Y=typeof ve!="undefined"?ve:_==null?void 0:_.description,q=typeof Y=="string"?Y:"empty";let Pe=null;return typeof j=="string"?Pe=re.createElement("img",{alt:q,src:j}):Pe=j,ae(re.createElement("div",Object.assign({className:O()(v,me,J==null?void 0:J.className,{[`${me}-normal`]:j===B,[`${me}-rtl`]:be==="rtl"},L,D),style:Object.assign(Object.assign({},J==null?void 0:J.style),le)},oe),re.createElement("div",{className:`${me}-image`,style:ye},Pe),Y&&re.createElement("div",{className:`${me}-description`},Y),xe&&re.createElement("div",{className:`${me}-footer`},xe)))};Z.PRESENTED_IMAGE_DEFAULT=pe,Z.PRESENTED_IMAGE_SIMPLE=B;var ie=Z},78241:function(an,it,f){"use strict";f.d(it,{default:function(){return Bt}});var g=f(80702),O=f(92310),re=f.n(O),ge=f(77900),F=f(59301),m=f(62892),w=f(32441);function he(We){const[_t,Et]=F.useState(We);return F.useEffect(()=>{const Be=setTimeout(()=>{Et(We)},We.length?0:10);return()=>{clearTimeout(Be)}},[We]),_t}var o=f(17313),M=f(29878),W=f(8378),y=f(37613),b=f(83116),C=We=>{const{componentCls:_t}=We,Et=`${_t}-show-help`,Be=`${_t}-show-help-item`;return{[Et]:{transition:`opacity ${We.motionDurationSlow} ${We.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Be]:{overflow:"hidden",transition:`height ${We.motionDurationSlow} ${We.motionEaseInOut},
opacity ${We.motionDurationSlow} ${We.motionEaseInOut},
transform ${We.motionDurationSlow} ${We.motionEaseInOut} !important`,[`&${Be}-appear, &${Be}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Be}-leave-active`]:{transform:"translateY(-5px)"}}}}};const K=We=>({legend:{display:"block",width:"100%",marginBottom:We.marginLG,padding:0,color:We.colorTextDescription,fontSize:We.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${We.lineWidth}px ${We.lineType} ${We.colorBorder}`},label:{fontSize:We.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${We.controlOutlineWidth}px ${We.controlOutline}`},output:{display:"block",paddingTop:15,color:We.colorText,fontSize:We.fontSize,lineHeight:We.lineHeight}}),pe=(We,_t)=>{const{formItemCls:Et}=We;return{[Et]:{[`${Et}-label > label`]:{height:_t},[`${Et}-control-input`]:{minHeight:_t}}}},B=We=>{const{componentCls:_t}=We;return{[We.componentCls]:Object.assign(Object.assign(Object.assign({},(0,o.Wf)(We)),K(We)),{[`${_t}-text`]:{display:"inline-block",paddingInlineEnd:We.paddingSM},"&-small":Object.assign({},pe(We,We.controlHeightSM)),"&-large":Object.assign({},pe(We,We.controlHeightLG))})}},Z=We=>{const{formItemCls:_t,iconCls:Et,componentCls:Be,rootPrefixCls:Re,labelRequiredMarkColor:pt,labelColor:mt,labelFontSize:Ft,labelHeight:Ht,labelColonMarginInlineStart:sn,labelColonMarginInlineEnd:Yt,itemMarginBottom:ln}=We;return{[_t]:Object.assign(Object.assign({},(0,o.Wf)(We)),{marginBottom:ln,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden.${Re}-row`]:{display:"none"},"&-has-warning":{[`${_t}-split`]:{color:We.colorError}},"&-has-error":{[`${_t}-split`]:{color:We.colorWarning}},[`${_t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${We.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Ht,color:mt,fontSize:Ft,[`> ${Et}`]:{fontSize:We.fontSize,verticalAlign:"top"},[`&${_t}-required:not(${_t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:We.marginXXS,color:pt,fontSize:We.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Be}-hide-required-mark &`]:{display:"none"}},[`${_t}-optional`]:{display:"inline-block",marginInlineStart:We.marginXXS,color:We.colorTextDescription,[`${Be}-hide-required-mark &`]:{display:"none"}},[`${_t}-tooltip`]:{color:We.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:We.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:sn,marginInlineEnd:Yt},[`&${_t}-no-colon::after`]:{content:'"\\a0"'}}},[`${_t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Re}-col-'"]):not([class*="' ${Re}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:We.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[_t]:{"&-explain, &-extra":{clear:"both",color:We.colorTextDescription,fontSize:We.fontSize,lineHeight:We.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:We.controlHeightSM,transition:`color ${We.motionDurationMid} ${We.motionEaseOut}`},"&-explain":{"&-error":{color:We.colorError},"&-warning":{color:We.colorWarning}}},[`&-with-help ${_t}-explain`]:{height:"auto",opacity:1},[`${_t}-feedback-icon`]:{fontSize:We.fontSize,textAlign:"center",visibility:"visible",animationName:M.kr,animationDuration:We.motionDurationMid,animationTimingFunction:We.motionEaseOutBack,pointerEvents:"none","&-success":{color:We.colorSuccess},"&-error":{color:We.colorError},"&-warning":{color:We.colorWarning},"&-validating":{color:We.colorPrimary}}})}},ie=We=>{const{componentCls:_t,formItemCls:Et}=We;return{[`${_t}-horizontal`]:{[`${Et}-label`]:{flexGrow:0},[`${Et}-control`]:{flex:"1 1 0",minWidth:0},[`${Et}-label[class$='-24'], ${Et}-label[class*='-24 ']`]:{[`& + ${Et}-control`]:{minWidth:"unset"}}}}},X=We=>{const{componentCls:_t,formItemCls:Et}=We;return{[`${_t}-inline`]:{display:"flex",flexWrap:"wrap",[Et]:{flex:"none",marginInlineEnd:We.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Et}-label,
> ${Et}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Et}-label`]:{flex:"none"},[`${_t}-text`]:{display:"inline-block"},[`${Et}-has-feedback`]:{display:"inline-block"}}}}},L=We=>({padding:We.verticalLabelPadding,margin:We.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),D=We=>{const{componentCls:_t,formItemCls:Et,rootPrefixCls:Be}=We;return{[`${Et} ${Et}-label`]:L(We),[_t]:{[Et]:{flexWrap:"wrap",[`${Et}-label, ${Et}-control`]:{[`&:not([class*=" ${Be}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Q=We=>{const{componentCls:_t,formItemCls:Et,rootPrefixCls:Be}=We;return{[`${_t}-vertical`]:{[Et]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${_t}-item-control`]:{width:"100%"}}},[`${_t}-vertical ${Et}-label,
.${Be}-col-24${Et}-label,
.${Be}-col-xl-24${Et}-label`]:L(We),[`@media (max-width: ${We.screenXSMax}px)`]:[D(We),{[_t]:{[`.${Be}-col-xs-24${Et}-label`]:L(We)}}],[`@media (max-width: ${We.screenSMMax}px)`]:{[_t]:{[`.${Be}-col-sm-24${Et}-label`]:L(We)}},[`@media (max-width: ${We.screenMDMax}px)`]:{[_t]:{[`.${Be}-col-md-24${Et}-label`]:L(We)}},[`@media (max-width: ${We.screenLGMax}px)`]:{[_t]:{[`.${Be}-col-lg-24${Et}-label`]:L(We)}}}},j=(We,_t)=>(0,y.TS)(We,{formItemCls:`${We.componentCls}-item`,rootPrefixCls:_t});var ve=(0,b.Z)("Form",(We,_t)=>{let{rootPrefixCls:Et}=_t;const Be=j(We,Et);return[B(Be),Z(Be),C(Be),ie(Be),X(Be),Q(Be),(0,W.Z)(Be),M.kr]},We=>({labelRequiredMarkColor:We.colorError,labelColor:We.colorTextHeading,labelFontSize:We.fontSize,labelHeight:We.controlHeight,labelColonMarginInlineStart:We.marginXXS/2,labelColonMarginInlineEnd:We.marginXS,itemMarginBottom:We.marginLG,verticalLabelPadding:`0 0 ${We.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const xe=[];function ye(We,_t,Et){let Be=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof We=="string"?We:`${_t}-${Be}`,error:We,errorStatus:Et}}var oe=We=>{let{help:_t,helpStatus:Et,errors:Be=xe,warnings:Re=xe,className:pt,fieldId:mt,onVisibleChanged:Ft}=We;const{prefixCls:Ht}=F.useContext(w.Rk),sn=`${Ht}-item-explain`,[,Yt]=ve(Ht),ln=(0,F.useMemo)(()=>(0,m.Z)(Ht),[Ht]),mn=he(Be),An=he(Re),Zt=F.useMemo(()=>_t!=null?[ye(_t,"help",Et)]:[].concat((0,g.Z)(mn.map((on,gn)=>ye(on,"error","error",gn))),(0,g.Z)(An.map((on,gn)=>ye(on,"warning","warning",gn)))),[_t,Et,mn,An]),Xt={};return mt&&(Xt.id=`${mt}_help`),F.createElement(ge.default,{motionDeadline:ln.motionDeadline,motionName:`${Ht}-show-help`,visible:!!Zt.length,onVisibleChanged:Ft},on=>{const{className:gn,style:fn}=on;return F.createElement("div",Object.assign({},Xt,{className:re()(sn,gn,pt,Yt),style:fn,role:"alert"}),F.createElement(ge.CSSMotionList,Object.assign({keys:Zt},(0,m.Z)(Ht),{motionName:`${Ht}-show-help-item`,component:!1}),Qn=>{const{key:kn,error:cn,errorStatus:ht,className:yt,style:Dt}=Qn;return F.createElement("div",{key:kn,className:re()(yt,{[`${sn}-${ht}`]:ht}),style:Dt},cn)}))})},H=f(95013),be=f(36355),J=f(1684),me=f(52946),ae=f(19716),v=f(16722);const _=["parentNode"],Y="form_item";function q(We){return We===void 0||We===!1?[]:Array.isArray(We)?We:[We]}function Pe(We,_t){if(!We.length)return;const Et=We.join("_");return _t?`${_t}_${Et}`:_.includes(Et)?`${Y}_${Et}`:Et}function Le(We,_t,Et,Be,Re,pt){let mt=Be;return pt!==void 0?mt=pt:Et.validating?mt="validating":We.length?mt="error":_t.length?mt="warning":(Et.touched||Re&&Et.validated)&&(mt="success"),mt}function Ue(We){return q(We).join("_")}function $e(We){const[_t]=(0,H.useForm)(),Et=F.useRef({}),Be=F.useMemo(()=>We!=null?We:Object.assign(Object.assign({},_t),{__INTERNAL__:{itemRef:Re=>pt=>{const mt=Ue(Re);pt?Et.current[mt]=pt:delete Et.current[mt]}},scrollToField:function(Re){let pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const mt=q(Re),Ft=Pe(mt,Be.__INTERNAL__.name),Ht=Ft?document.getElementById(Ft):null;Ht&&(0,v.Z)(Ht,Object.assign({scrollMode:"if-needed",block:"nearest"},pt))},getFieldInstance:Re=>{const pt=Ue(Re);return Et.current[pt]}}),[We,_t]);return[Be]}var ut=f(28726),dt=function(We,_t){var Et={};for(var Be in We)Object.prototype.hasOwnProperty.call(We,Be)&&_t.indexOf(Be)<0&&(Et[Be]=We[Be]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Be=Object.getOwnPropertySymbols(We);Re<Be.length;Re++)_t.indexOf(Be[Re])<0&&Object.prototype.propertyIsEnumerable.call(We,Be[Re])&&(Et[Be[Re]]=We[Be[Re]]);return Et};const at=(We,_t)=>{const Et=F.useContext(J.Z),{getPrefixCls:Be,direction:Re,form:pt}=F.useContext(be.E_),{prefixCls:mt,className:Ft,rootClassName:Ht,size:sn,disabled:Yt=Et,form:ln,colon:mn,labelAlign:An,labelWrap:Zt,labelCol:Xt,wrapperCol:on,hideRequiredMark:gn,layout:fn="horizontal",scrollToFirstError:Qn,requiredMark:kn,onFinishFailed:cn,name:ht,style:yt,feedbackIcons:Dt}=We,jt=dt(We,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Ut=(0,ae.Z)(sn),dn=F.useContext(ut.Z),Gt=(0,F.useMemo)(()=>kn!==void 0?kn:pt&&pt.requiredMark!==void 0?pt.requiredMark:!gn,[gn,kn,pt]),yn=mn!=null?mn:pt==null?void 0:pt.colon,Tn=Be("form",mt),[Ln,qn]=ve(Tn),Vn=re()(Tn,`${Tn}-${fn}`,{[`${Tn}-hide-required-mark`]:Gt===!1,[`${Tn}-rtl`]:Re==="rtl",[`${Tn}-${Ut}`]:Ut},qn,pt==null?void 0:pt.className,Ft,Ht),[fr]=$e(ln),{__INTERNAL__:Rn}=fr;Rn.name=ht;const In=(0,F.useMemo)(()=>({name:ht,labelAlign:An,labelCol:Xt,labelWrap:Zt,wrapperCol:on,vertical:fn==="vertical",colon:yn,requiredMark:Gt,itemRef:Rn.itemRef,form:fr,feedbackIcons:Dt}),[ht,An,Xt,on,fn,yn,Gt,fr,Dt]);F.useImperativeHandle(_t,()=>fr);const mr=(Dr,ar)=>{if(Dr){let sr={block:"nearest"};typeof Dr=="object"&&(sr=Dr),fr.scrollToField(ar,sr)}},gr=Dr=>{if(cn==null||cn(Dr),Dr.errorFields.length){const ar=Dr.errorFields[0].name;if(Qn!==void 0){mr(Qn,ar);return}pt&&pt.scrollToFirstError!==void 0&&mr(pt.scrollToFirstError,ar)}};return Ln(F.createElement(J.n,{disabled:Yt},F.createElement(me.q,{size:Ut},F.createElement(w.RV,Object.assign({},{validateMessages:dn}),F.createElement(w.q3.Provider,{value:In},F.createElement(H.default,Object.assign({id:ht},jt,{name:ht,onFinishFailed:gr,form:fr,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),yt),className:Vn})))))))};var nn=F.forwardRef(at),kt=f(41799),Nt=f(8654),lt=f(92343),wt=f(11592);function de(We){if(typeof We=="function")return We;const _t=(0,wt.Z)(We);return _t.length<=1?_t[0]:_t}const fe=()=>{const{status:We,errors:_t=[],warnings:Et=[]}=(0,F.useContext)(w.aM);return{status:We,errors:_t,warnings:Et}};fe.Context=w.aM;var G=fe,U=f(16089);function we(We){const[_t,Et]=F.useState(We),Be=(0,F.useRef)(null),Re=(0,F.useRef)([]),pt=(0,F.useRef)(!1);F.useEffect(()=>(pt.current=!1,()=>{pt.current=!0,U.Z.cancel(Be.current),Be.current=null}),[]);function mt(Ft){pt.current||(Be.current===null&&(Re.current=[],Be.current=(0,U.Z)(()=>{Be.current=null,Et(Ht=>{let sn=Ht;return Re.current.forEach(Yt=>{sn=Yt(sn)}),sn})})),Re.current.push(Ft))}return[_t,mt]}function P(){const{itemRef:We}=F.useContext(w.q3),_t=F.useRef({});function Et(Be,Re){const pt=Re&&typeof Re=="object"&&Re.ref,mt=Be.join("_");return(_t.current.name!==mt||_t.current.originRef!==pt)&&(_t.current.name=mt,_t.current.originRef=pt,_t.current.ref=(0,Nt.sQ)(We(Be),pt)),_t.current.ref}return Et}var T=f(29194),I=f(34280),ne=f(2738),$=f(27382),V=f(37028);const Te=We=>{const{formItemCls:_t}=We;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${_t}-control`]:{display:"flex"}}}};var He=(0,b.b)(["Form","item-item"],(We,_t)=>{let{rootPrefixCls:Et}=_t;const Be=j(We,Et);return[Te(Be)]}),Fe=We=>{const{prefixCls:_t,status:Et,wrapperCol:Be,children:Re,errors:pt,warnings:mt,_internalItemRender:Ft,extra:Ht,help:sn,fieldId:Yt,marginBottom:ln,onErrorVisibleChanged:mn}=We,An=`${_t}-item`,Zt=F.useContext(w.q3),Xt=Be||Zt.wrapperCol||{},on=re()(`${An}-control`,Xt.className),gn=F.useMemo(()=>Object.assign({},Zt),[Zt]);delete gn.labelCol,delete gn.wrapperCol;const fn=F.createElement("div",{className:`${An}-control-input`},F.createElement("div",{className:`${An}-control-input-content`},Re)),Qn=F.useMemo(()=>({prefixCls:_t,status:Et}),[_t,Et]),kn=ln!==null||pt.length||mt.length?F.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},F.createElement(w.Rk.Provider,{value:Qn},F.createElement(oe,{fieldId:Yt,errors:pt,warnings:mt,help:sn,helpStatus:Et,className:`${An}-explain-connected`,onVisibleChanged:mn})),!!ln&&F.createElement("div",{style:{width:0,height:ln}})):null,cn={};Yt&&(cn.id=`${Yt}_extra`);const ht=Ht?F.createElement("div",Object.assign({},cn,{className:`${An}-extra`}),Ht):null,yt=Ft&&Ft.mark==="pro_table_render"&&Ft.render?Ft.render(We,{input:fn,errorList:kn,extra:ht}):F.createElement(F.Fragment,null,fn,kn,ht);return F.createElement(w.q3.Provider,{value:gn},F.createElement(V.Z,Object.assign({},Xt,{className:on}),yt),F.createElement(He,{prefixCls:_t}))},Qe=f(61485),Ze=f(31724),Ve=f(9763),xt=f(6848),Ct=function(We,_t){var Et={};for(var Be in We)Object.prototype.hasOwnProperty.call(We,Be)&&_t.indexOf(Be)<0&&(Et[Be]=We[Be]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Be=Object.getOwnPropertySymbols(We);Re<Be.length;Re++)_t.indexOf(Be[Re])<0&&Object.prototype.propertyIsEnumerable.call(We,Be[Re])&&(Et[Be[Re]]=We[Be[Re]]);return Et};function ft(We){return We?typeof We=="object"&&!F.isValidElement(We)?We:{title:We}:null}var Kt=We=>{let{prefixCls:_t,label:Et,htmlFor:Be,labelCol:Re,labelAlign:pt,colon:mt,required:Ft,requiredMark:Ht,tooltip:sn}=We;var Yt;const[ln]=(0,Ve.Z)("Form"),{vertical:mn,labelAlign:An,labelCol:Zt,labelWrap:Xt,colon:on}=F.useContext(w.q3);if(!Et)return null;const gn=Re||Zt||{},fn=pt||An,Qn=`${_t}-item-label`,kn=re()(Qn,fn==="left"&&`${Qn}-left`,gn.className,{[`${Qn}-wrap`]:!!Xt});let cn=Et;const ht=mt===!0||on!==!1&&mt!==!1;ht&&!mn&&typeof Et=="string"&&Et.trim()!==""&&(cn=Et.replace(/[:|]\s*$/,""));const Dt=ft(sn);if(Dt){const{icon:Gt=F.createElement(Qe.Z,null)}=Dt,yn=Ct(Dt,["icon"]),Tn=F.createElement(xt.Z,Object.assign({},yn),F.cloneElement(Gt,{className:`${_t}-item-tooltip`,title:""}));cn=F.createElement(F.Fragment,null,cn,Tn)}const jt=Ht==="optional",Ut=typeof Ht=="function";Ut?cn=Ht(cn,{required:!!Ft}):jt&&!Ft&&(cn=F.createElement(F.Fragment,null,cn,F.createElement("span",{className:`${_t}-item-optional`,title:""},(ln==null?void 0:ln.optional)||((Yt=Ze.Z.Form)===null||Yt===void 0?void 0:Yt.optional))));const dn=re()({[`${_t}-item-required`]:Ft,[`${_t}-item-required-mark-optional`]:jt||Ut,[`${_t}-item-no-colon`]:!ht});return F.createElement(V.Z,Object.assign({},gn,{className:kn}),F.createElement("label",{htmlFor:Be,className:dn,title:typeof Et=="string"?Et:""},cn))},R=f(29679),k=f(19248),bt=f(96512),Se=f(58617);const Ke={success:R.Z,warning:bt.Z,error:k.Z,validating:Se.Z};function vn(We){let{children:_t,errors:Et,warnings:Be,hasFeedback:Re,validateStatus:pt,prefixCls:mt,meta:Ft,noStyle:Ht}=We;const sn=`${mt}-item`,{feedbackIcons:Yt}=F.useContext(w.q3),ln=Le(Et,Be,Ft,null,!!Re,pt),{isFormItemInput:mn,status:An}=F.useContext(w.aM),Zt=F.useMemo(()=>{var Xt;let on;if(Re){const Qn=Re!==!0&&Re.icons||Yt,kn=ln&&((Xt=Qn==null?void 0:Qn({status:ln,errors:Et,warnings:Be}))===null||Xt===void 0?void 0:Xt[ln]),cn=ln&&Ke[ln];on=kn!==!1&&cn?F.createElement("span",{className:re()(`${sn}-feedback-icon`,`${sn}-feedback-icon-${ln}`)},kn||F.createElement(cn,null)):null}let gn=!0,fn=ln||"";return Ht&&(gn=mn,fn=(ln!=null?ln:An)||""),{status:fn,errors:Et,warnings:Be,hasFeedback:!!Re,feedbackIcon:on,isFormItemInput:gn}},[ln,Re,Ht,mn,An]);return F.createElement(w.aM.Provider,{value:Zt},_t)}var qe=function(We,_t){var Et={};for(var Be in We)Object.prototype.hasOwnProperty.call(We,Be)&&_t.indexOf(Be)<0&&(Et[Be]=We[Be]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Be=Object.getOwnPropertySymbols(We);Re<Be.length;Re++)_t.indexOf(Be[Re])<0&&Object.prototype.propertyIsEnumerable.call(We,Be[Re])&&(Et[Be[Re]]=We[Be[Re]]);return Et};function et(We){const{prefixCls:_t,className:Et,rootClassName:Be,style:Re,help:pt,errors:mt,warnings:Ft,validateStatus:Ht,meta:sn,hasFeedback:Yt,hidden:ln,children:mn,fieldId:An,required:Zt,isRequired:Xt,onSubItemMetaChange:on}=We,gn=qe(We,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),fn=`${_t}-item`,{requiredMark:Qn}=F.useContext(w.q3),kn=F.useRef(null),cn=he(mt),ht=he(Ft),yt=pt!=null,Dt=!!(yt||mt.length||Ft.length),jt=!!kn.current&&(0,T.Z)(kn.current),[Ut,dn]=F.useState(null);(0,I.Z)(()=>{if(Dt&&kn.current){const qn=getComputedStyle(kn.current);dn(parseInt(qn.marginBottom,10))}},[Dt,jt]);const Gt=qn=>{qn||dn(null)},Tn=function(){let qn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Vn=qn?cn:sn.errors,fr=qn?ht:sn.warnings;return Le(Vn,fr,sn,"",!!Yt,Ht)}(),Ln=re()(fn,Et,Be,{[`${fn}-with-help`]:yt||cn.length||ht.length,[`${fn}-has-feedback`]:Tn&&Yt,[`${fn}-has-success`]:Tn==="success",[`${fn}-has-warning`]:Tn==="warning",[`${fn}-has-error`]:Tn==="error",[`${fn}-is-validating`]:Tn==="validating",[`${fn}-hidden`]:ln});return F.createElement("div",{className:Ln,style:Re,ref:kn},F.createElement($.Z,Object.assign({className:`${fn}-row`},(0,ne.Z)(gn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),F.createElement(Kt,Object.assign({htmlFor:An},We,{requiredMark:Qn,required:Zt!=null?Zt:Xt,prefixCls:_t})),F.createElement(Fe,Object.assign({},We,sn,{errors:cn,warnings:ht,prefixCls:_t,status:Tn,help:pt,marginBottom:Ut,onErrorVisibleChanged:Gt}),F.createElement(w.qI.Provider,{value:on},F.createElement(vn,{prefixCls:_t,meta:sn,errors:sn.errors,warnings:sn.warnings,hasFeedback:Yt,validateStatus:Tn},mn)))),!!Ut&&F.createElement("div",{className:`${fn}-margin-offset`,style:{marginBottom:-Ut}}))}const Xe="__SPLIT__",_e=null,Me=F.memo(We=>{let{children:_t}=We;return _t},(We,_t)=>We.value===_t.value&&We.update===_t.update&&We.childProps.length===_t.childProps.length&&We.childProps.every((Et,Be)=>Et===_t.childProps[Be]));function Oe(We){return We!=null}function rt(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Ae(We){const{name:_t,noStyle:Et,className:Be,dependencies:Re,prefixCls:pt,shouldUpdate:mt,rules:Ft,children:Ht,required:sn,label:Yt,messageVariables:ln,trigger:mn="onChange",validateTrigger:An,hidden:Zt,help:Xt}=We,{getPrefixCls:on}=F.useContext(be.E_),{name:gn}=F.useContext(w.q3),fn=de(Ht),Qn=typeof fn=="function",kn=F.useContext(w.qI),{validateTrigger:cn}=F.useContext(H.FieldContext),ht=An!==void 0?An:cn,yt=Oe(_t),Dt=on("form",pt),[jt,Ut]=ve(Dt),dn=F.useContext(H.ListContext),Gt=F.useRef(),[yn,Tn]=we({}),[Ln,qn]=(0,kt.Z)(()=>rt()),Vn=ar=>{const sr=dn==null?void 0:dn.getKey(ar.name);if(qn(ar.destroy?rt():ar,!0),Et&&Xt!==!1&&kn){let wr=ar.name;if(ar.destroy)wr=Gt.current||wr;else if(sr!==void 0){const[ir,Pr]=sr;wr=[ir].concat((0,g.Z)(Pr)),Gt.current=wr}kn(ar,wr)}},fr=(ar,sr)=>{Tn(wr=>{const ir=Object.assign({},wr),ei=[].concat((0,g.Z)(ar.name.slice(0,-1)),(0,g.Z)(sr)).join(Xe);return ar.destroy?delete ir[ei]:ir[ei]=ar,ir})},[Rn,In]=F.useMemo(()=>{const ar=(0,g.Z)(Ln.errors),sr=(0,g.Z)(Ln.warnings);return Object.values(yn).forEach(wr=>{ar.push.apply(ar,(0,g.Z)(wr.errors||[])),sr.push.apply(sr,(0,g.Z)(wr.warnings||[]))}),[ar,sr]},[yn,Ln.errors,Ln.warnings]),mr=P();function gr(ar,sr,wr){return Et&&!Zt?F.createElement(vn,{prefixCls:Dt,hasFeedback:We.hasFeedback,validateStatus:We.validateStatus,meta:Ln,errors:Rn,warnings:In,noStyle:!0},ar):F.createElement(et,Object.assign({key:"row"},We,{className:re()(Be,Ut),prefixCls:Dt,fieldId:sr,isRequired:wr,errors:Rn,warnings:In,meta:Ln,onSubItemMetaChange:fr}),ar)}if(!yt&&!Qn&&!Re)return jt(gr(fn));let Dr={};return typeof Yt=="string"?Dr.label=Yt:_t&&(Dr.label=String(_t)),ln&&(Dr=Object.assign(Object.assign({},Dr),ln)),jt(F.createElement(H.Field,Object.assign({},We,{messageVariables:Dr,trigger:mn,validateTrigger:ht,onMetaChange:Vn}),(ar,sr,wr)=>{const ir=q(_t).length&&sr?sr.name:[],Pr=Pe(ir,gn),ei=sn!==void 0?sn:!!(Ft&&Ft.some(gt=>{if(gt&&typeof gt=="object"&&gt.required&&!gt.warningOnly)return!0;if(typeof gt=="function"){const Bn=gt(wr);return Bn&&Bn.required&&!Bn.warningOnly}return!1})),er=Object.assign({},ar);let Hn=null;if(Array.isArray(fn)&&yt)Hn=fn;else if(!(Qn&&(!(mt||Re)||yt))){if(!(Re&&!Qn&&!yt))if((0,lt.l$)(fn)){const gt=Object.assign(Object.assign({},fn.props),er);if(gt.id||(gt.id=Pr),Xt||Rn.length>0||In.length>0||We.extra){const nr=[];(Xt||Rn.length>0)&&nr.push(`${Pr}_help`),We.extra&&nr.push(`${Pr}_extra`),gt["aria-describedby"]=nr.join(" ")}Rn.length>0&&(gt["aria-invalid"]="true"),ei&&(gt["aria-required"]="true"),(0,Nt.Yr)(fn)&&(gt.ref=mr(ir,fn)),new Set([].concat((0,g.Z)(q(mn)),(0,g.Z)(q(ht)))).forEach(nr=>{gt[nr]=function(){for(var Fr,zr,Zr,hr,Yr,jn=arguments.length,On=new Array(jn),Er=0;Er<jn;Er++)On[Er]=arguments[Er];(Zr=er[nr])===null||Zr===void 0||(Fr=Zr).call.apply(Fr,[er].concat(On)),(Yr=(hr=fn.props)[nr])===null||Yr===void 0||(zr=Yr).call.apply(zr,[hr].concat(On))}});const lr=[gt["aria-required"],gt["aria-invalid"],gt["aria-describedby"]];Hn=F.createElement(Me,{value:er[We.valuePropName||"value"],update:fn,childProps:lr},(0,lt.Tm)(fn,gt))}else Qn&&(mt||Re)&&!yt?Hn=fn(wr):Hn=fn}return gr(Hn,Pr,ei)}))}const rn=Ae;rn.useStatus=G;var Ge=rn,En=function(We,_t){var Et={};for(var Be in We)Object.prototype.hasOwnProperty.call(We,Be)&&_t.indexOf(Be)<0&&(Et[Be]=We[Be]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Be=Object.getOwnPropertySymbols(We);Re<Be.length;Re++)_t.indexOf(Be[Re])<0&&Object.prototype.propertyIsEnumerable.call(We,Be[Re])&&(Et[Be[Re]]=We[Be[Re]]);return Et},tn=We=>{var{prefixCls:_t,children:Et}=We,Be=En(We,["prefixCls","children"]);const{getPrefixCls:Re}=F.useContext(be.E_),pt=Re("form",_t),mt=F.useMemo(()=>({prefixCls:pt,status:"error"}),[pt]);return F.createElement(H.List,Object.assign({},Be),(Ft,Ht,sn)=>F.createElement(w.Rk.Provider,{value:mt},Et(Ft.map(Yt=>Object.assign(Object.assign({},Yt),{fieldKey:Yt.key})),Ht,{errors:sn.errors,warnings:sn.warnings})))};function Wt(){const{form:We}=(0,F.useContext)(w.q3);return We}const It=nn;It.Item=Ge,It.List=tn,It.ErrorList=oe,It.useForm=$e,It.useFormInstance=Wt,It.useWatch=H.useWatch,It.Provider=w.RV,It.create=()=>{};var Bt=It},8628:function(an,it,f){"use strict";var g=f(59301),O=f(34280),re=f(56762),ge=f(69507);function F(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const w=(0,g.useRef)({}),he=(0,re.Z)(),o=(0,ge.ZP)();return(0,O.Z)(()=>{const M=o.subscribe(W=>{w.current=W,m&&he()});return()=>o.unsubscribe(M)},[]),w.current}it.Z=F},9432:function(an,it,f){"use strict";f.d(it,{Z:function(){return Z},n:function(){return pe}});var g=f(19248),O=f(92310),re=f.n(O),ge=f(93681),F=f(8654),m=f(59301),w=f(19080),he=f(36355),o=f(1684),M=f(19716),W=f(32441),y=f(33234),b=f(59412),A=f(9937);function C(ie){return!!(ie.prefix||ie.suffix||ie.allowClear)}var K=function(ie,X){var L={};for(var D in ie)Object.prototype.hasOwnProperty.call(ie,D)&&X.indexOf(D)<0&&(L[D]=ie[D]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,D=Object.getOwnPropertySymbols(ie);Q<D.length;Q++)X.indexOf(D[Q])<0&&Object.prototype.propertyIsEnumerable.call(ie,D[Q])&&(L[D[Q]]=ie[D[Q]]);return L};function pe(ie,X){if(!ie)return;ie.focus(X);const{cursor:L}=X||{};if(L){const D=ie.value.length;switch(L){case"start":ie.setSelectionRange(0,0);break;case"end":ie.setSelectionRange(D,D);break;default:ie.setSelectionRange(0,D);break}}}var Z=(0,m.forwardRef)((ie,X)=>{var L;const{prefixCls:D,bordered:Q=!0,status:j,size:ve,disabled:xe,onBlur:ye,onFocus:le,suffix:oe,allowClear:H,addonAfter:be,addonBefore:J,className:me,style:ae,styles:v,rootClassName:_,onChange:Y,classNames:q}=ie,Pe=K(ie,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Le,direction:Ue,input:$e}=m.useContext(he.E_),ut=Le("input",D),dt=(0,m.useRef)(null),[at,Pt]=(0,A.ZP)(ut),{compactSize:nn,compactItemClassnames:kt}=(0,y.ri)(ut,Ue),Nt=(0,M.Z)(He=>{var Ie;return(Ie=ve!=null?ve:nn)!==null&&Ie!==void 0?Ie:He}),lt=m.useContext(o.Z),wt=xe!=null?xe:lt,{status:de,hasFeedback:fe,feedbackIcon:G}=(0,m.useContext)(W.aM),U=(0,w.F)(de,j),we=C(ie)||!!fe,P=(0,m.useRef)(we);(0,m.useEffect)(()=>{var He;we&&P.current,P.current=we},[we]);const T=(0,b.Z)(dt,!0),I=He=>{T(),ye==null||ye(He)},ne=He=>{T(),le==null||le(He)},$=He=>{T(),Y==null||Y(He)},V=(fe||oe)&&m.createElement(m.Fragment,null,oe,fe&&G);let Te;return typeof H=="object"&&(H!=null&&H.clearIcon)?Te=H:H&&(Te={clearIcon:m.createElement(g.Z,null)}),at(m.createElement(ge.default,Object.assign({ref:(0,F.sQ)(X,dt),prefixCls:ut,autoComplete:$e==null?void 0:$e.autoComplete},Pe,{disabled:wt,onBlur:I,onFocus:ne,style:Object.assign(Object.assign({},$e==null?void 0:$e.style),ae),styles:Object.assign(Object.assign({},$e==null?void 0:$e.styles),v),suffix:V,allowClear:Te,className:re()(me,_,kt,$e==null?void 0:$e.className),onChange:$,addonAfter:be&&m.createElement(y.BR,null,m.createElement(W.Ux,{override:!0,status:!0},be)),addonBefore:J&&m.createElement(y.BR,null,m.createElement(W.Ux,{override:!0,status:!0},J)),classNames:Object.assign(Object.assign(Object.assign({},q),$e==null?void 0:$e.classNames),{input:re()({[`${ut}-sm`]:Nt==="small",[`${ut}-lg`]:Nt==="large",[`${ut}-rtl`]:Ue==="rtl",[`${ut}-borderless`]:!Q},!we&&(0,w.Z)(ut,U),q==null?void 0:q.input,(L=$e==null?void 0:$e.classNames)===null||L===void 0?void 0:L.input,Pt)}),classes:{affixWrapper:re()({[`${ut}-affix-wrapper-sm`]:Nt==="small",[`${ut}-affix-wrapper-lg`]:Nt==="large",[`${ut}-affix-wrapper-rtl`]:Ue==="rtl",[`${ut}-affix-wrapper-borderless`]:!Q},(0,w.Z)(`${ut}-affix-wrapper`,U,fe),Pt),wrapper:re()({[`${ut}-group-rtl`]:Ue==="rtl"},Pt),group:re()({[`${ut}-group-wrapper-sm`]:Nt==="small",[`${ut}-group-wrapper-lg`]:Nt==="large",[`${ut}-group-wrapper-rtl`]:Ue==="rtl",[`${ut}-group-wrapper-disabled`]:wt},(0,w.Z)(`${ut}-group-wrapper`,U,fe),Pt)}})))})},1643:function(an,it,f){"use strict";var g=f(19248),O=f(92310),re=f.n(O),ge=f(9296),F=f(59301),m=f(19080),w=f(36355),he=f(1684),o=f(19716),M=f(32441),W=f(9432),y=f(9937),b=function(C,K){var pe={};for(var B in C)Object.prototype.hasOwnProperty.call(C,B)&&K.indexOf(B)<0&&(pe[B]=C[B]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,B=Object.getOwnPropertySymbols(C);Z<B.length;Z++)K.indexOf(B[Z])<0&&Object.prototype.propertyIsEnumerable.call(C,B[Z])&&(pe[B[Z]]=C[B[Z]]);return pe};const A=(0,F.forwardRef)((C,K)=>{const{prefixCls:pe,bordered:B=!0,size:Z,disabled:ie,status:X,allowClear:L,showCount:D,classNames:Q,rootClassName:j,className:ve}=C,xe=b(C,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:ye,direction:le}=F.useContext(w.E_),oe=(0,o.Z)(Z),H=F.useContext(he.Z),be=ie!=null?ie:H,{status:J,hasFeedback:me,feedbackIcon:ae}=F.useContext(M.aM),v=(0,m.F)(J,X),_=F.useRef(null);F.useImperativeHandle(K,()=>{var Ue;return{resizableTextArea:(Ue=_.current)===null||Ue===void 0?void 0:Ue.resizableTextArea,focus:$e=>{var ut,dt;(0,W.n)((dt=(ut=_.current)===null||ut===void 0?void 0:ut.resizableTextArea)===null||dt===void 0?void 0:dt.textArea,$e)},blur:()=>{var $e;return($e=_.current)===null||$e===void 0?void 0:$e.blur()}}});const Y=ye("input",pe);let q;typeof L=="object"&&(L!=null&&L.clearIcon)?q=L:L&&(q={clearIcon:F.createElement(g.Z,null)});const[Pe,Le]=(0,y.ZP)(Y);return Pe(F.createElement(ge.default,Object.assign({},xe,{disabled:be,allowClear:q,className:re()(ve,j),classes:{affixWrapper:re()(`${Y}-textarea-affix-wrapper`,{[`${Y}-affix-wrapper-rtl`]:le==="rtl",[`${Y}-affix-wrapper-borderless`]:!B,[`${Y}-affix-wrapper-sm`]:oe==="small",[`${Y}-affix-wrapper-lg`]:oe==="large",[`${Y}-textarea-show-count`]:D},(0,m.Z)(`${Y}-affix-wrapper`,v),Le)},classNames:Object.assign(Object.assign({},Q),{textarea:re()({[`${Y}-borderless`]:!B,[`${Y}-sm`]:oe==="small",[`${Y}-lg`]:oe==="large"},(0,m.Z)(Y,v),Le,Q==null?void 0:Q.textarea)}),prefixCls:Y,suffix:me&&F.createElement("span",{className:`${Y}-textarea-suffix`},ae),showCount:D,ref:_})))});it.Z=A},59412:function(an,it,f){"use strict";f.d(it,{Z:function(){return O}});var g=f(59301);function O(re,ge){const F=(0,g.useRef)([]),m=()=>{F.current.push(setTimeout(()=>{var w,he,o,M;!((w=re.current)===null||w===void 0)&&w.input&&((he=re.current)===null||he===void 0?void 0:he.input.getAttribute("type"))==="password"&&(!((o=re.current)===null||o===void 0)&&o.input.hasAttribute("value"))&&((M=re.current)===null||M===void 0||M.input.removeAttribute("value"))}))};return(0,g.useEffect)(()=>(ge&&m(),()=>F.current.forEach(w=>{w&&clearTimeout(w)})),[]),m}},92832:function(an,it,f){"use strict";f.d(it,{default:function(){return oe}});var g=f(92310),O=f.n(g),re=f(59301),ge=f(36355),F=f(32441),m=f(9937),he=H=>{const{getPrefixCls:be,direction:J}=(0,re.useContext)(ge.E_),{prefixCls:me,className:ae}=H,v=be("input-group",me),_=be("input"),[Y,q]=(0,m.ZP)(_),Pe=O()(v,{[`${v}-lg`]:H.size==="large",[`${v}-sm`]:H.size==="small",[`${v}-compact`]:H.compact,[`${v}-rtl`]:J==="rtl"},q,ae),Le=(0,re.useContext)(F.aM),Ue=(0,re.useMemo)(()=>Object.assign(Object.assign({},Le),{isFormItemInput:!1}),[Le]);return Y(re.createElement("span",{className:Pe,style:H.style,onMouseEnter:H.onMouseEnter,onMouseLeave:H.onMouseLeave,onFocus:H.onFocus,onBlur:H.onBlur},re.createElement(F.aM.Provider,{value:Ue},H.children)))},o=f(9432),M=f(73331),W=f(15277),y=f(2738),b=f(8654),A=f(59412),C=function(H,be){var J={};for(var me in H)Object.prototype.hasOwnProperty.call(H,me)&&be.indexOf(me)<0&&(J[me]=H[me]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,me=Object.getOwnPropertySymbols(H);ae<me.length;ae++)be.indexOf(me[ae])<0&&Object.prototype.propertyIsEnumerable.call(H,me[ae])&&(J[me[ae]]=H[me[ae]]);return J};const K=H=>H?re.createElement(W.Z,null):re.createElement(M.Z,null),pe={click:"onClick",hover:"onMouseOver"};var Z=re.forwardRef((H,be)=>{const{visibilityToggle:J=!0}=H,me=typeof J=="object"&&J.visible!==void 0,[ae,v]=(0,re.useState)(()=>me?J.visible:!1),_=(0,re.useRef)(null);re.useEffect(()=>{me&&v(J.visible)},[me,J]);const Y=(0,A.Z)(_),q=()=>{const{disabled:wt}=H;wt||(ae&&Y(),v(de=>{var fe;const G=!de;return typeof J=="object"&&((fe=J.onVisibleChange)===null||fe===void 0||fe.call(J,G)),G}))},Pe=wt=>{const{action:de="click",iconRender:fe=K}=H,G=pe[de]||"",U=fe(ae),we={[G]:q,className:`${wt}-icon`,key:"passwordIcon",onMouseDown:P=>{P.preventDefault()},onMouseUp:P=>{P.preventDefault()}};return re.cloneElement(re.isValidElement(U)?U:re.createElement("span",null,U),we)},{className:Le,prefixCls:Ue,inputPrefixCls:$e,size:ut}=H,dt=C(H,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:at}=re.useContext(ge.E_),Pt=at("input",$e),nn=at("input-password",Ue),kt=J&&Pe(nn),Nt=O()(nn,Le,{[`${nn}-${ut}`]:!!ut}),lt=Object.assign(Object.assign({},(0,y.Z)(dt,["suffix","iconRender","visibilityToggle"])),{type:ae?"text":"password",className:Nt,prefixCls:Pt,suffix:kt});return ut&&(lt.size=ut),re.createElement(o.Z,Object.assign({ref:(0,b.sQ)(be,_)},lt))}),ie=f(47472),X=f(92343),L=f(3113),D=f(19716),Q=f(33234),j=function(H,be){var J={};for(var me in H)Object.prototype.hasOwnProperty.call(H,me)&&be.indexOf(me)<0&&(J[me]=H[me]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,me=Object.getOwnPropertySymbols(H);ae<me.length;ae++)be.indexOf(me[ae])<0&&Object.prototype.propertyIsEnumerable.call(H,me[ae])&&(J[me[ae]]=H[me[ae]]);return J},xe=re.forwardRef((H,be)=>{const{prefixCls:J,inputPrefixCls:me,className:ae,size:v,suffix:_,enterButton:Y=!1,addonAfter:q,loading:Pe,disabled:Le,onSearch:Ue,onChange:$e,onCompositionStart:ut,onCompositionEnd:dt}=H,at=j(H,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Pt,direction:nn}=re.useContext(ge.E_),kt=re.useRef(!1),Nt=Pt("input-search",J),lt=Pt("input",me),{compactSize:wt}=(0,Q.ri)(Nt,nn),de=(0,D.Z)(Fe=>{var Qe;return(Qe=v!=null?v:wt)!==null&&Qe!==void 0?Qe:Fe}),fe=re.useRef(null),G=Fe=>{Fe&&Fe.target&&Fe.type==="click"&&Ue&&Ue(Fe.target.value,Fe,{source:"clear"}),$e&&$e(Fe)},U=Fe=>{var Qe;document.activeElement===((Qe=fe.current)===null||Qe===void 0?void 0:Qe.input)&&Fe.preventDefault()},we=Fe=>{var Qe,Ze;Ue&&Ue((Ze=(Qe=fe.current)===null||Qe===void 0?void 0:Qe.input)===null||Ze===void 0?void 0:Ze.value,Fe,{source:"input"})},P=Fe=>{kt.current||Pe||we(Fe)},T=typeof Y=="boolean"?re.createElement(ie.Z,null):null,I=`${Nt}-button`;let ne;const $=Y||{},V=$.type&&$.type.__ANT_BUTTON===!0;V||$.type==="button"?ne=(0,X.Tm)($,Object.assign({onMouseDown:U,onClick:Fe=>{var Qe,Ze;(Ze=(Qe=$==null?void 0:$.props)===null||Qe===void 0?void 0:Qe.onClick)===null||Ze===void 0||Ze.call(Qe,Fe),we(Fe)},key:"enterButton"},V?{className:I,size:de}:{})):ne=re.createElement(L.ZP,{className:I,type:Y?"primary":void 0,size:de,disabled:Le,key:"enterButton",onMouseDown:U,onClick:we,loading:Pe,icon:T},Y),q&&(ne=[ne,(0,X.Tm)(q,{key:"addonAfter"})]);const Te=O()(Nt,{[`${Nt}-rtl`]:nn==="rtl",[`${Nt}-${de}`]:!!de,[`${Nt}-with-button`]:!!Y},ae),He=Fe=>{kt.current=!0,ut==null||ut(Fe)},Ie=Fe=>{kt.current=!1,dt==null||dt(Fe)};return re.createElement(o.Z,Object.assign({ref:(0,b.sQ)(fe,be),onPressEnter:P},at,{size:de,onCompositionStart:He,onCompositionEnd:Ie,prefixCls:lt,addonAfter:ne,suffix:_,onChange:G,className:Te,disabled:Le}))}),ye=f(1643);const le=o.Z;le.Group=he,le.Search=xe,le.TextArea=ye.Z,le.Password=Z;var oe=le},9937:function(an,it,f){"use strict";f.d(it,{M1:function(){return w},TM:function(){return X},Xy:function(){return he},bi:function(){return W},e5:function(){return ie},ik:function(){return y},nz:function(){return F},pU:function(){return m},s7:function(){return b},x0:function(){return M}});var g=f(17313),O=f(74207),re=f(37613),ge=f(83116);const F=L=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:L,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),m=L=>({borderColor:L.hoverBorderColor}),w=L=>({borderColor:L.activeBorderColor,boxShadow:L.activeShadow,outline:0}),he=L=>({color:L.colorTextDisabled,backgroundColor:L.colorBgContainerDisabled,borderColor:L.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},m((0,re.TS)(L,{hoverBorderColor:L.colorBorder})))}),o=L=>{const{paddingBlockLG:D,fontSizeLG:Q,lineHeightLG:j,borderRadiusLG:ve,paddingInlineLG:xe}=L;return{padding:`${D}px ${xe}px`,fontSize:Q,lineHeight:j,borderRadius:ve}},M=L=>({padding:`${L.paddingBlockSM}px ${L.paddingInlineSM}px`,borderRadius:L.borderRadiusSM}),W=(L,D)=>{const{componentCls:Q,colorError:j,colorWarning:ve,errorActiveShadow:xe,warningActiveShadow:ye,colorErrorBorderHover:le,colorWarningBorderHover:oe}=L;return{[`&-status-error:not(${D}-disabled):not(${D}-borderless)${D}`]:{borderColor:j,"&:hover":{borderColor:le},"&:focus, &-focused":Object.assign({},w((0,re.TS)(L,{activeBorderColor:j,activeShadow:xe}))),[`${Q}-prefix, ${Q}-suffix`]:{color:j}},[`&-status-warning:not(${D}-disabled):not(${D}-borderless)${D}`]:{borderColor:ve,"&:hover":{borderColor:oe},"&:focus, &-focused":Object.assign({},w((0,re.TS)(L,{activeBorderColor:ve,activeShadow:ye}))),[`${Q}-prefix, ${Q}-suffix`]:{color:ve}}}},y=L=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${L.paddingBlock}px ${L.paddingInline}px`,color:L.colorText,fontSize:L.fontSize,lineHeight:L.lineHeight,backgroundColor:L.colorBgContainer,backgroundImage:"none",borderWidth:L.lineWidth,borderStyle:L.lineType,borderColor:L.colorBorder,borderRadius:L.borderRadius,transition:`all ${L.motionDurationMid}`},F(L.colorTextPlaceholder)),{"&:hover":Object.assign({},m(L)),"&:focus, &-focused":Object.assign({},w(L)),"&-disabled, &[disabled]":Object.assign({},he(L)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:L.controlHeight,lineHeight:L.lineHeight,verticalAlign:"bottom",transition:`all ${L.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},o(L)),"&-sm":Object.assign({},M(L)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),b=L=>{const{componentCls:D,antCls:Q}=L;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:L.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${D}, &-lg > ${D}-group-addon`]:Object.assign({},o(L)),[`&-sm ${D}, &-sm > ${D}-group-addon`]:Object.assign({},M(L)),[`&-lg ${Q}-select-single ${Q}-select-selector`]:{height:L.controlHeightLG},[`&-sm ${Q}-select-single ${Q}-select-selector`]:{height:L.controlHeightSM},[`> ${D}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${D}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${L.paddingInline}px`,color:L.colorText,fontWeight:"normal",fontSize:L.fontSize,textAlign:"center",backgroundColor:L.colorFillAlter,border:`${L.lineWidth}px ${L.lineType} ${L.colorBorder}`,borderRadius:L.borderRadius,transition:`all ${L.motionDurationSlow}`,lineHeight:1,[`${Q}-select`]:{margin:`-${L.paddingBlock+1}px -${L.paddingInline}px`,[`&${Q}-select-single:not(${Q}-select-customize-input)`]:{[`${Q}-select-selector`]:{backgroundColor:"inherit",border:`${L.lineWidth}px ${L.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${Q}-select-selector`]:{color:L.colorPrimary}}},[`${Q}-cascader-picker`]:{margin:`-9px -${L.paddingInline}px`,backgroundColor:"transparent",[`${Q}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${D}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${D}-search-with-button &`]:{zIndex:0}}},[`> ${D}:first-child, ${D}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Q}-select ${Q}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${D}-affix-wrapper`]:{[`&:not(:first-child) ${D}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${D}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${D}:last-child, ${D}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Q}-select ${Q}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${D}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${D}-search &`]:{borderStartStartRadius:L.borderRadius,borderEndStartRadius:L.borderRadius}},[`&:not(:first-child), ${D}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${D}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,g.dF)()),{[`${D}-group-addon, ${D}-group-wrap, > ${D}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:L.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${D}-affix-wrapper,
& > ${D}-number-affix-wrapper,
& > ${Q}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-L.lineWidth,borderInlineEndWidth:L.lineWidth},[`${D}`]:{float:"none"},[`& > ${Q}-select > ${Q}-select-selector,
& > ${Q}-select-auto-complete ${D},
& > ${Q}-cascader-picker ${D},
& > ${D}-group-wrapper ${D}`]:{borderInlineEndWidth:L.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${Q}-select-focused`]:{zIndex:1},[`& > ${Q}-select > ${Q}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${Q}-select:first-child > ${Q}-select-selector,
& > ${Q}-select-auto-complete:first-child ${D},
& > ${Q}-cascader-picker:first-child ${D}`]:{borderStartStartRadius:L.borderRadius,borderEndStartRadius:L.borderRadius},[`& > *:last-child,
& > ${Q}-select:last-child > ${Q}-select-selector,
& > ${Q}-cascader-picker:last-child ${D},
& > ${Q}-cascader-picker-focused:last-child ${D}`]:{borderInlineEndWidth:L.lineWidth,borderStartEndRadius:L.borderRadius,borderEndEndRadius:L.borderRadius},[`& > ${Q}-select-auto-complete ${D}`]:{verticalAlign:"top"},[`${D}-group-wrapper + ${D}-group-wrapper`]:{marginInlineStart:-L.lineWidth,[`${D}-affix-wrapper`]:{borderRadius:0}},[`${D}-group-wrapper:not(:last-child)`]:{[`&${D}-search > ${D}-group`]:{[`& > ${D}-group-addon > ${D}-search-button`]:{borderRadius:0},[`& > ${D}`]:{borderStartStartRadius:L.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:L.borderRadius}}}})}},A=L=>{const{componentCls:D,controlHeightSM:Q,lineWidth:j}=L,xe=(Q-j*2-16)/2;return{[D]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,g.Wf)(L)),y(L)),W(L,D)),{'&[type="color"]':{height:L.controlHeight,[`&${D}-lg`]:{height:L.controlHeightLG},[`&${D}-sm`]:{height:Q,paddingTop:xe,paddingBottom:xe}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},C=L=>{const{componentCls:D}=L;return{[`${D}-clear-icon`]:{margin:0,color:L.colorTextQuaternary,fontSize:L.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${L.motionDurationSlow}`,"&:hover":{color:L.colorTextTertiary},"&:active":{color:L.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${L.inputAffixPadding}px`}}}},K=L=>{const{componentCls:D,inputAffixPadding:Q,colorTextDescription:j,motionDurationSlow:ve,colorIcon:xe,colorIconHover:ye,iconCls:le}=L;return{[`${D}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},y(L)),{display:"inline-flex",[`&:not(${D}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},m(L)),{zIndex:1,[`${D}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${D}[disabled]`]:{background:"transparent"}},[`> input${D}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${D}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:L.paddingXS}},"&-show-count-suffix":{color:j},"&-show-count-has-suffix":{marginInlineEnd:L.paddingXXS},"&-prefix":{marginInlineEnd:Q},"&-suffix":{marginInlineStart:Q}}}),C(L)),{[`${le}${D}-password-icon`]:{color:xe,cursor:"pointer",transition:`all ${ve}`,"&:hover":{color:ye}}}),W(L,`${D}-affix-wrapper`))}},pe=L=>{const{componentCls:D,colorError:Q,colorWarning:j,borderRadiusLG:ve,borderRadiusSM:xe}=L;return{[`${D}-group`]:Object.assign(Object.assign(Object.assign({},(0,g.Wf)(L)),b(L)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${D}-group-addon`]:{borderRadius:ve,fontSize:L.fontSizeLG}},"&-sm":{[`${D}-group-addon`]:{borderRadius:xe}},"&-status-error":{[`${D}-group-addon`]:{color:Q,borderColor:Q}},"&-status-warning":{[`${D}-group-addon`]:{color:j,borderColor:j}},"&-disabled":{[`${D}-group-addon`]:Object.assign({},he(L))},[`&:not(${D}-compact-first-item):not(${D}-compact-last-item)${D}-compact-item`]:{[`${D}, ${D}-group-addon`]:{borderRadius:0}},[`&:not(${D}-compact-last-item)${D}-compact-first-item`]:{[`${D}, ${D}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${D}-compact-first-item)${D}-compact-last-item`]:{[`${D}, ${D}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},B=L=>{const{componentCls:D,antCls:Q}=L,j=`${D}-search`;return{[j]:{[`${D}`]:{"&:hover, &:focus":{borderColor:L.colorPrimaryHover,[`+ ${D}-group-addon ${j}-button:not(${Q}-btn-primary)`]:{borderInlineStartColor:L.colorPrimaryHover}}},[`${D}-affix-wrapper`]:{borderRadius:0},[`${D}-lg`]:{lineHeight:L.lineHeightLG-2e-4},[`> ${D}-group`]:{[`> ${D}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${j}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:L.borderRadius,borderEndEndRadius:L.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${j}-button:not(${Q}-btn-primary)`]:{color:L.colorTextDescription,"&:hover":{color:L.colorPrimaryHover},"&:active":{color:L.colorPrimaryActive},[`&${Q}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${j}-button`]:{height:L.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${j}-button`]:{height:L.controlHeightLG},[`&-small ${j}-button`]:{height:L.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${D}-compact-item`]:{[`&:not(${D}-compact-last-item)`]:{[`${D}-group-addon`]:{[`${D}-search-button`]:{marginInlineEnd:-L.lineWidth,borderRadius:0}}},[`&:not(${D}-compact-first-item)`]:{[`${D},${D}-affix-wrapper`]:{borderRadius:0}},[`> ${D}-group-addon ${D}-search-button,
> ${D},
${D}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${D}-affix-wrapper-focused`]:{zIndex:2}}}}},Z=L=>{const{componentCls:D,paddingLG:Q}=L,j=`${D}-textarea`;return{[j]:{position:"relative","&-show-count":{[`> ${D}`]:{height:"100%"},[`${D}-data-count`]:{position:"absolute",bottom:-L.fontSize*L.lineHeight,insetInlineEnd:0,color:L.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${D}`]:{paddingInlineEnd:Q}},[`&-affix-wrapper${j}-has-feedback`]:{[`${D}`]:{paddingInlineEnd:Q}},[`&-affix-wrapper${D}-affix-wrapper`]:{padding:0,[`> textarea${D}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${D}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${D}-clear-icon`]:{position:"absolute",insetInlineEnd:L.paddingXS,insetBlockStart:L.paddingXS},[`${j}-suffix`]:{position:"absolute",top:0,insetInlineEnd:L.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function ie(L){return(0,re.TS)(L,{inputAffixPadding:L.paddingXXS})}const X=L=>{const{controlHeight:D,fontSize:Q,lineHeight:j,lineWidth:ve,controlHeightSM:xe,controlHeightLG:ye,fontSizeLG:le,lineHeightLG:oe,paddingSM:H,controlPaddingHorizontalSM:be,controlPaddingHorizontal:J,colorFillAlter:me,colorPrimaryHover:ae,controlOutlineWidth:v,controlOutline:_,colorErrorOutline:Y,colorWarningOutline:q}=L;return{paddingBlock:Math.max(Math.round((D-Q*j)/2*10)/10-ve,3),paddingBlockSM:Math.max(Math.round((xe-Q*j)/2*10)/10-ve,0),paddingBlockLG:Math.ceil((ye-le*oe)/2*10)/10-ve,paddingInline:H-ve,paddingInlineSM:be-ve,paddingInlineLG:J-ve,addonBg:me,activeBorderColor:ae,hoverBorderColor:ae,activeShadow:`0 0 0 ${v}px ${_}`,errorActiveShadow:`0 0 0 ${v}px ${Y}`,warningActiveShadow:`0 0 0 ${v}px ${q}`}};it.ZP=(0,ge.Z)("Input",L=>{const D=(0,re.TS)(L,ie(L));return[A(D),Z(D),K(D),pe(D),B(D),(0,O.c)(D)]},X)},45818:function(an,it,f){"use strict";f.d(it,{D:function(){return ie},Z:function(){return D}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},ge=re,F=f(7657),m=function(j,ve){return O.createElement(F.Z,(0,g.Z)({},j,{ref:ve,icon:ge}))},w=O.forwardRef(m),he=w,o=f(33853),M=f(38819),W=f(92310),y=f.n(W),b=f(2738),C=Q=>!isNaN(parseFloat(Q))&&isFinite(Q),K=f(36355),pe=f(84966),B=function(Q,j){var ve={};for(var xe in Q)Object.prototype.hasOwnProperty.call(Q,xe)&&j.indexOf(xe)<0&&(ve[xe]=Q[xe]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,xe=Object.getOwnPropertySymbols(Q);ye<xe.length;ye++)j.indexOf(xe[ye])<0&&Object.prototype.propertyIsEnumerable.call(Q,xe[ye])&&(ve[xe[ye]]=Q[xe[ye]]);return ve};const Z={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ie=O.createContext({}),X=(()=>{let Q=0;return function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Q+=1,`${j}${Q}`}})();var D=O.forwardRef((Q,j)=>{const{prefixCls:ve,className:xe,trigger:ye,children:le,defaultCollapsed:oe=!1,theme:H="dark",style:be={},collapsible:J=!1,reverseArrow:me=!1,width:ae=200,collapsedWidth:v=80,zeroWidthTriggerStyle:_,breakpoint:Y,onCollapse:q,onBreakpoint:Pe}=Q,Le=B(Q,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ue}=(0,O.useContext)(pe.Gs),[$e,ut]=(0,O.useState)("collapsed"in Q?Q.collapsed:oe),[dt,at]=(0,O.useState)(!1);(0,O.useEffect)(()=>{"collapsed"in Q&&ut(Q.collapsed)},[Q.collapsed]);const Pt=(de,fe)=>{"collapsed"in Q||ut(de),q==null||q(de,fe)},nn=(0,O.useRef)();nn.current=de=>{at(de.matches),Pe==null||Pe(de.matches),$e!==de.matches&&Pt(de.matches,"responsive")},(0,O.useEffect)(()=>{function de(G){return nn.current(G)}let fe;if(typeof window!="undefined"){const{matchMedia:G}=window;if(G&&Y&&Y in Z){fe=G(`(max-width: ${Z[Y]})`);try{fe.addEventListener("change",de)}catch(U){fe.addListener(de)}de(fe)}}return()=>{try{fe==null||fe.removeEventListener("change",de)}catch(G){fe==null||fe.removeListener(de)}}},[Y]),(0,O.useEffect)(()=>{const de=X("ant-sider-");return Ue.addSider(de),()=>Ue.removeSider(de)},[]);const kt=()=>{Pt(!$e,"clickTrigger")},{getPrefixCls:Nt}=(0,O.useContext)(K.E_),lt=()=>{const de=Nt("layout-sider",ve),fe=(0,b.Z)(Le,["collapsed"]),G=$e?v:ae,U=C(G)?`${G}px`:String(G),we=parseFloat(String(v||0))===0?O.createElement("span",{onClick:kt,className:y()(`${de}-zero-width-trigger`,`${de}-zero-width-trigger-${me?"right":"left"}`),style:_},ye||O.createElement(he,null)):null,I={expanded:me?O.createElement(M.Z,null):O.createElement(o.Z,null),collapsed:me?O.createElement(o.Z,null):O.createElement(M.Z,null)}[$e?"collapsed":"expanded"],ne=ye!==null?we||O.createElement("div",{className:`${de}-trigger`,onClick:kt,style:{width:U}},ye||I):null,$=Object.assign(Object.assign({},be),{flex:`0 0 ${U}`,maxWidth:U,minWidth:U,width:U}),V=y()(de,`${de}-${H}`,{[`${de}-collapsed`]:!!$e,[`${de}-has-trigger`]:J&&ye!==null&&!we,[`${de}-below`]:!!dt,[`${de}-zero-width`]:parseFloat(U)===0},xe);return O.createElement("aside",Object.assign({className:V},fe,{style:$,ref:j}),O.createElement("div",{className:`${de}-children`},le),J||dt&&we?ne:null)},wt=O.useMemo(()=>({siderCollapsed:$e}),[$e]);return O.createElement(ie.Provider,{value:wt},lt())})},44e3:function(an,it,f){"use strict";var g=f(84966),O=f(45818);const re=g.ZP;re.Header=g.h4,re.Footer=g.$_,re.Content=g.VY,re.Sider=O.Z,it.default=re},84966:function(an,it,f){"use strict";f.d(it,{VY:function(){return ie},$_:function(){return Z},h4:function(){return B},Gs:function(){return b},ZP:function(){return X}});var g=f(80702),O=f(92310),re=f.n(O),ge=f(2738),F=f(59301),m=f(36355),w=f(83116),o=L=>{const{componentCls:D,bodyBg:Q,lightSiderBg:j,lightTriggerBg:ve,lightTriggerColor:xe}=L;return{[`${D}-sider-light`]:{background:j,[`${D}-sider-trigger`]:{color:xe,background:ve},[`${D}-sider-zero-width-trigger`]:{color:xe,background:ve,border:`1px solid ${Q}`,borderInlineStart:0}}}};const M=L=>{const{antCls:D,componentCls:Q,colorText:j,triggerColor:ve,footerBg:xe,triggerBg:ye,headerHeight:le,headerPadding:oe,headerColor:H,footerPadding:be,triggerHeight:J,zeroTriggerHeight:me,zeroTriggerWidth:ae,motionDurationMid:v,motionDurationSlow:_,fontSize:Y,borderRadius:q,bodyBg:Pe,headerBg:Le,siderBg:Ue}=L;return{[Q]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Pe,"&, *":{boxSizing:"border-box"},[`&${Q}-has-sider`]:{flexDirection:"row",[`> ${Q}, > ${Q}-content`]:{width:0}},[`${Q}-header, &${Q}-footer`]:{flex:"0 0 auto"},[`${Q}-sider`]:{position:"relative",minWidth:0,background:Ue,transition:`all ${v}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${D}-menu${D}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:J},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:J,color:ve,lineHeight:`${J}px`,textAlign:"center",background:ye,cursor:"pointer",transition:`all ${v}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:le,insetInlineEnd:-ae,zIndex:1,width:ae,height:me,color:ve,fontSize:L.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ue,borderStartStartRadius:0,borderStartEndRadius:q,borderEndEndRadius:q,borderEndStartRadius:0,cursor:"pointer",transition:`background ${_} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${_}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ae,borderStartStartRadius:q,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:q}}}}},o(L)),{"&-rtl":{direction:"rtl"}}),[`${Q}-header`]:{height:le,padding:oe,color:H,lineHeight:`${le}px`,background:Le,[`${D}-menu`]:{lineHeight:"inherit"}},[`${Q}-footer`]:{padding:be,color:j,fontSize:Y,background:xe},[`${Q}-content`]:{flex:"auto",minHeight:0}}};var W=(0,w.Z)("Layout",L=>[M(L)],L=>{const{colorBgLayout:D,controlHeight:Q,controlHeightLG:j,colorText:ve,controlHeightSM:xe,marginXXS:ye,colorTextLightSolid:le,colorBgContainer:oe}=L,H=j*1.25;return{colorBgHeader:"#001529",colorBgBody:D,colorBgTrigger:"#002140",bodyBg:D,headerBg:"#001529",headerHeight:Q*2,headerPadding:`0 ${H}px`,headerColor:ve,footerPadding:`${xe}px ${H}px`,footerBg:D,siderBg:"#001529",triggerHeight:j+ye*2,triggerBg:"#002140",triggerColor:le,zeroTriggerWidth:j,zeroTriggerHeight:j,lightSiderBg:oe,lightTriggerBg:oe,lightTriggerColor:ve}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),y=function(L,D){var Q={};for(var j in L)Object.prototype.hasOwnProperty.call(L,j)&&D.indexOf(j)<0&&(Q[j]=L[j]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,j=Object.getOwnPropertySymbols(L);ve<j.length;ve++)D.indexOf(j[ve])<0&&Object.prototype.propertyIsEnumerable.call(L,j[ve])&&(Q[j[ve]]=L[j[ve]]);return Q};const b=F.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function A(L){let{suffixCls:D,tagName:Q,displayName:j}=L;return ve=>F.forwardRef((ye,le)=>F.createElement(ve,Object.assign({ref:le,suffixCls:D,tagName:Q},ye)))}const C=F.forwardRef((L,D)=>{const{prefixCls:Q,suffixCls:j,className:ve,tagName:xe}=L,ye=y(L,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:le}=F.useContext(m.E_),oe=le("layout",Q),[H,be]=W(oe),J=j?`${oe}-${j}`:oe;return H(F.createElement(xe,Object.assign({className:re()(Q||J,ve,be),ref:D},ye)))}),K=F.forwardRef((L,D)=>{const{direction:Q}=F.useContext(m.E_),[j,ve]=F.useState([]),{prefixCls:xe,className:ye,rootClassName:le,children:oe,hasSider:H,tagName:be,style:J}=L,me=y(L,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ae=(0,ge.Z)(me,["suffixCls"]),{getPrefixCls:v,layout:_}=F.useContext(m.E_),Y=v("layout",xe),[q,Pe]=W(Y),Le=re()(Y,{[`${Y}-has-sider`]:typeof H=="boolean"?H:j.length>0,[`${Y}-rtl`]:Q==="rtl"},_==null?void 0:_.className,ye,le,Pe),Ue=F.useMemo(()=>({siderHook:{addSider:$e=>{ve(ut=>[].concat((0,g.Z)(ut),[$e]))},removeSider:$e=>{ve(ut=>ut.filter(dt=>dt!==$e))}}}),[]);return q(F.createElement(b.Provider,{value:Ue},F.createElement(be,Object.assign({ref:D,className:Le,style:Object.assign(Object.assign({},_==null?void 0:_.style),J)},ae),oe)))}),pe=A({tagName:"div",displayName:"Layout"})(K),B=A({suffixCls:"header",tagName:"header",displayName:"Header"})(C),Z=A({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(C),ie=A({suffixCls:"content",tagName:"main",displayName:"Content"})(C);var X=pe},40875:function(an,it,f){"use strict";f.d(it,{J:function(){return m}});var g=f(59301),O=f(33234),re=f(70425),ge=function(w,he){var o={};for(var M in w)Object.prototype.hasOwnProperty.call(w,M)&&he.indexOf(M)<0&&(o[M]=w[M]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,M=Object.getOwnPropertySymbols(w);W<M.length;W++)he.indexOf(M[W])<0&&Object.prototype.propertyIsEnumerable.call(w,M[W])&&(o[M[W]]=w[M[W]]);return o};const F=g.createContext(null),m=g.forwardRef((w,he)=>{const{children:o}=w,M=ge(w,["children"]),W=g.useContext(F),y=g.useMemo(()=>Object.assign(Object.assign({},W),M),[W,M.prefixCls,M.mode,M.selectable]);return g.createElement(F.Provider,{value:y},g.createElement(O.BR,null,(0,re.supportNodeRef)(o)?g.cloneElement(o,{ref:he}):o))});it.Z=F},20834:function(an,it,f){"use strict";f.d(it,{default:function(){return wt}});var g=f(15285),O=f(59301),re=f(45818),ge=f(92310),F=f.n(ge),m=f(36355),w=function(de,fe){var G={};for(var U in de)Object.prototype.hasOwnProperty.call(de,U)&&fe.indexOf(U)<0&&(G[U]=de[U]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,U=Object.getOwnPropertySymbols(de);we<U.length;we++)fe.indexOf(U[we])<0&&Object.prototype.propertyIsEnumerable.call(de,U[we])&&(G[U[we]]=de[U[we]]);return G},o=de=>{const{prefixCls:fe,className:G,dashed:U}=de,we=w(de,["prefixCls","className","dashed"]),{getPrefixCls:P}=O.useContext(m.E_),T=P("menu",fe),I=F()({[`${T}-item-divider-dashed`]:!!U},G);return O.createElement(g.iz,Object.assign({className:I},we))},M=f(11592),W=f(2738),y=f(6848),b=f(92343),C=(0,O.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),pe=de=>{var fe;const{className:G,children:U,icon:we,title:P,danger:T}=de,{prefixCls:I,firstLevel:ne,direction:$,disableMenuItemTitleTooltip:V,inlineCollapsed:Te}=O.useContext(C),He=xt=>{const Ct=O.createElement("span",{className:`${I}-title-content`},U);return(!we||(0,b.l$)(U)&&U.type==="span")&&U&&xt&&ne&&typeof U=="string"?O.createElement("div",{className:`${I}-inline-collapsed-noicon`},U.charAt(0)):Ct},{siderCollapsed:Ie}=O.useContext(re.D);let Fe=P;typeof P=="undefined"?Fe=ne?U:"":P===!1&&(Fe="");const Qe={title:Fe};!Ie&&!Te&&(Qe.title=null,Qe.open=!1);const Ze=(0,M.Z)(U).length;let Ve=O.createElement(g.ck,Object.assign({},(0,W.Z)(de,["title","icon","danger"]),{className:F()({[`${I}-item-danger`]:T,[`${I}-item-only-child`]:(we?Ze+1:Ze)===1},G),title:typeof P=="string"?P:void 0}),(0,b.Tm)(we,{className:F()((0,b.l$)(we)?(fe=we.props)===null||fe===void 0?void 0:fe.className:"",`${I}-item-icon`)}),He(Te));return V||(Ve=O.createElement(y.Z,Object.assign({},Qe,{placement:$==="rtl"?"left":"right",overlayClassName:`${I}-inline-collapsed-tooltip`}),Ve)),Ve},Z=de=>{var fe;const{popupClassName:G,icon:U,title:we,theme:P}=de,T=O.useContext(C),{prefixCls:I,inlineCollapsed:ne,theme:$}=T,V=(0,g.Xl)();let Te;if(!U)Te=ne&&!V.length&&we&&typeof we=="string"?O.createElement("div",{className:`${I}-inline-collapsed-noicon`},we.charAt(0)):O.createElement("span",{className:`${I}-title-content`},we);else{const Ie=(0,b.l$)(we)&&we.type==="span";Te=O.createElement(O.Fragment,null,(0,b.Tm)(U,{className:F()((0,b.l$)(U)?(fe=U.props)===null||fe===void 0?void 0:fe.className:"",`${I}-item-icon`)}),Ie?we:O.createElement("span",{className:`${I}-title-content`},we))}const He=O.useMemo(()=>Object.assign(Object.assign({},T),{firstLevel:!1}),[T]);return O.createElement(C.Provider,{value:He},O.createElement(g.Wd,Object.assign({},(0,W.Z)(de,["icon"]),{title:Te,popupClassName:F()(I,G,`${I}-${P||$}`)})))},ie=f(18785),X=f(70425),L=f(62892),D=f(40875),Q=function(de,fe){var G={};for(var U in de)Object.prototype.hasOwnProperty.call(de,U)&&fe.indexOf(U)<0&&(G[U]=de[U]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,U=Object.getOwnPropertySymbols(de);we<U.length;we++)fe.indexOf(U[we])<0&&Object.prototype.propertyIsEnumerable.call(de,U[we])&&(G[U[we]]=de[U[we]]);return G};function j(de){return(de||[]).map((fe,G)=>{if(fe&&typeof fe=="object"){const U=fe,{label:we,children:P,key:T,type:I}=U,ne=Q(U,["label","children","key","type"]),$=T!=null?T:`tmp-${G}`;return P||I==="group"?I==="group"?O.createElement(g.BW,Object.assign({key:$},ne,{title:we}),j(P)):O.createElement(Z,Object.assign({key:$},ne,{title:we}),j(P)):I==="divider"?O.createElement(o,Object.assign({key:$},ne)):O.createElement(pe,Object.assign({key:$},ne),we)}return null}).filter(fe=>fe)}function ve(de){return O.useMemo(()=>de&&j(de),[de])}var xe=f(64993),ye=f(17313),le=f(8378),oe=f(13826),H=f(29878),be=f(83116),J=f(37613),ae=de=>{const{componentCls:fe,motionDurationSlow:G,horizontalLineHeight:U,colorSplit:we,lineWidth:P,lineType:T,itemPaddingInline:I}=de;return{[`${fe}-horizontal`]:{lineHeight:U,border:0,borderBottom:`${P}px ${T} ${we}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${fe}-item, ${fe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:I},[`> ${fe}-item:hover,
> ${fe}-item-active,
> ${fe}-submenu ${fe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${fe}-item, ${fe}-submenu-title`]:{transition:[`border-color ${G}`,`background ${G}`].join(",")},[`${fe}-submenu-arrow`]:{display:"none"}}}},_=de=>{let{componentCls:fe,menuArrowOffset:G}=de;return{[`${fe}-rtl`]:{direction:"rtl"},[`${fe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${fe}-rtl${fe}-vertical,
${fe}-submenu-rtl ${fe}-vertical`]:{[`${fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${G})`},"&::after":{transform:`rotate(45deg) translateY(${G})`}}}}};const Y=de=>Object.assign({},(0,ye.oN)(de));var Pe=(de,fe)=>{const{componentCls:G,itemColor:U,itemSelectedColor:we,groupTitleColor:P,itemBg:T,subMenuItemBg:I,itemSelectedBg:ne,activeBarHeight:$,activeBarWidth:V,activeBarBorderWidth:Te,motionDurationSlow:He,motionEaseInOut:Ie,motionEaseOut:Fe,itemPaddingInline:Qe,motionDurationMid:Ze,itemHoverColor:Ve,lineType:xt,colorSplit:Ct,itemDisabledColor:ft,dangerItemColor:Ot,dangerItemHoverColor:Kt,dangerItemSelectedColor:R,dangerItemActiveBg:k,dangerItemSelectedBg:bt,itemHoverBg:Se,itemActiveBg:Ke,menuSubMenuBg:vn,horizontalItemSelectedColor:qe,horizontalItemSelectedBg:et,horizontalItemBorderRadius:Xe,horizontalItemHoverBg:_e,popupBg:Me}=de;return{[`${G}-${fe}, ${G}-${fe} > ${G}`]:{color:U,background:T,[`&${G}-root:focus-visible`]:Object.assign({},Y(de)),[`${G}-item-group-title`]:{color:P},[`${G}-submenu-selected`]:{[`> ${G}-submenu-title`]:{color:we}},[`${G}-item-disabled, ${G}-submenu-disabled`]:{color:`${ft} !important`},[`${G}-item:not(${G}-item-selected):not(${G}-submenu-selected)`]:{[`&:hover, > ${G}-submenu-title:hover`]:{color:Ve}},[`&:not(${G}-horizontal)`]:{[`${G}-item:not(${G}-item-selected)`]:{"&:hover":{backgroundColor:Se},"&:active":{backgroundColor:Ke}},[`${G}-submenu-title`]:{"&:hover":{backgroundColor:Se},"&:active":{backgroundColor:Ke}}},[`${G}-item-danger`]:{color:Ot,[`&${G}-item:hover`]:{[`&:not(${G}-item-selected):not(${G}-submenu-selected)`]:{color:Kt}},[`&${G}-item:active`]:{background:k}},[`${G}-item a`]:{"&, &:hover":{color:"inherit"}},[`${G}-item-selected`]:{color:we,[`&${G}-item-danger`]:{color:R},"a, a:hover":{color:"inherit"}},[`& ${G}-item-selected`]:{backgroundColor:ne,[`&${G}-item-danger`]:{backgroundColor:bt}},[`${G}-item, ${G}-submenu-title`]:{[`&:not(${G}-item-disabled):focus-visible`]:Object.assign({},Y(de))},[`&${G}-submenu > ${G}`]:{backgroundColor:vn},[`&${G}-popup > ${G}`]:{backgroundColor:Me},[`&${G}-horizontal`]:Object.assign(Object.assign({},fe==="dark"?{borderBottom:0}:{}),{[`> ${G}-item, > ${G}-submenu`]:{top:Te,marginTop:-Te,marginBottom:0,borderRadius:Xe,"&::after":{position:"absolute",insetInline:Qe,bottom:0,borderBottom:`${$}px solid transparent`,transition:`border-color ${He} ${Ie}`,content:'""'},"&:hover, &-active, &-open":{background:_e,"&::after":{borderBottomWidth:$,borderBottomColor:qe}},"&-selected":{color:qe,backgroundColor:et,"&:hover":{backgroundColor:et},"&::after":{borderBottomWidth:$,borderBottomColor:qe}}}}),[`&${G}-root`]:{[`&${G}-inline, &${G}-vertical`]:{borderInlineEnd:`${Te}px ${xt} ${Ct}`}},[`&${G}-inline`]:{[`${G}-sub${G}-inline`]:{background:I},[`${G}-item, ${G}-submenu-title`]:Te&&V?{width:`calc(100% + ${Te}px)`}:{},[`${G}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${V}px solid ${we}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ze} ${Fe}`,`opacity ${Ze} ${Fe}`].join(","),content:'""'},[`&${G}-item-danger`]:{"&::after":{borderInlineEndColor:R}}},[`${G}-selected, ${G}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ze} ${Ie}`,`opacity ${Ze} ${Ie}`].join(",")}}}}}};const Le=de=>{const{componentCls:fe,itemHeight:G,itemMarginInline:U,padding:we,menuArrowSize:P,marginXS:T,itemMarginBlock:I}=de,ne=we+P+T;return{[`${fe}-item`]:{position:"relative",overflow:"hidden"},[`${fe}-item, ${fe}-submenu-title`]:{height:G,lineHeight:`${G}px`,paddingInline:we,overflow:"hidden",textOverflow:"ellipsis",marginInline:U,marginBlock:I,width:`calc(100% - ${U*2}px)`},[`> ${fe}-item,
> ${fe}-submenu > ${fe}-submenu-title`]:{height:G,lineHeight:`${G}px`},[`${fe}-item-group-list ${fe}-submenu-title,
${fe}-submenu-title`]:{paddingInlineEnd:ne}}};var $e=de=>{const{componentCls:fe,iconCls:G,itemHeight:U,colorTextLightSolid:we,dropdownWidth:P,controlHeightLG:T,motionDurationMid:I,motionEaseOut:ne,paddingXL:$,itemMarginInline:V,fontSizeLG:Te,motionDurationSlow:He,paddingXS:Ie,boxShadowSecondary:Fe,collapsedWidth:Qe,collapsedIconSize:Ze}=de,Ve={height:U,lineHeight:`${U}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[fe]:{"&-inline, &-vertical":Object.assign({[`&${fe}-root`]:{boxShadow:"none"}},Le(de))},[`${fe}-submenu-popup`]:{[`${fe}-vertical`]:Object.assign(Object.assign({},Le(de)),{boxShadow:Fe})}},{[`${fe}-submenu-popup ${fe}-vertical${fe}-sub`]:{minWidth:P,maxHeight:`calc(100vh - ${T*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${fe}-inline`]:{width:"100%",[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${He}`,`background ${He}`,`padding ${I} ${ne}`].join(","),[`> ${fe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${fe}-sub${fe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${fe}-submenu > ${fe}-submenu-title`]:Ve,[`& ${fe}-item-group-title`]:{paddingInlineStart:$}},[`${fe}-item`]:Ve}},{[`${fe}-inline-collapsed`]:{width:Qe,[`&${fe}-root`]:{[`${fe}-item, ${fe}-submenu ${fe}-submenu-title`]:{[`> ${fe}-inline-collapsed-noicon`]:{fontSize:Te,textAlign:"center"}}},[`> ${fe}-item,
> ${fe}-item-group > ${fe}-item-group-list > ${fe}-item,
> ${fe}-item-group > ${fe}-item-group-list > ${fe}-submenu > ${fe}-submenu-title,
> ${fe}-submenu > ${fe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Te/2}px - ${V}px)`,textOverflow:"clip",[`
${fe}-submenu-arrow,
${fe}-submenu-expand-icon
`]:{opacity:0},[`${fe}-item-icon, ${G}`]:{margin:0,fontSize:Ze,lineHeight:`${U}px`,"+ span":{display:"inline-block",opacity:0}}},[`${fe}-item-icon, ${G}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${fe}-item-icon, ${G}`]:{display:"none"},"a, a:hover":{color:we}},[`${fe}-item-group-title`]:Object.assign(Object.assign({},ye.vS),{paddingInline:Ie})}}]};const ut=de=>{const{componentCls:fe,motionDurationSlow:G,motionDurationMid:U,motionEaseInOut:we,motionEaseOut:P,iconCls:T,iconSize:I,iconMarginInlineEnd:ne}=de;return{[`${fe}-item, ${fe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${G}`,`background ${G}`,`padding ${G} ${we}`].join(","),[`${fe}-item-icon, ${T}`]:{minWidth:I,fontSize:I,transition:[`font-size ${U} ${P}`,`margin ${G} ${we}`,`color ${G}`].join(","),"+ span":{marginInlineStart:ne,opacity:1,transition:[`opacity ${G} ${we}`,`margin ${G}`,`color ${G}`].join(",")}},[`${fe}-item-icon`]:Object.assign({},(0,ye.Ro)()),[`&${fe}-item-only-child`]:{[`> ${T}, > ${fe}-item-icon`]:{marginInlineEnd:0}}},[`${fe}-item-disabled, ${fe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${fe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},dt=de=>{const{componentCls:fe,motionDurationSlow:G,motionEaseInOut:U,borderRadius:we,menuArrowSize:P,menuArrowOffset:T}=de;return{[`${fe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:de.margin,width:P,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${G} ${U}, opacity ${G}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:P*.6,height:P*.15,backgroundColor:"currentcolor",borderRadius:we,transition:[`background ${G} ${U}`,`transform ${G} ${U}`,`top ${G} ${U}`,`color ${G} ${U}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${T})`},"&::after":{transform:`rotate(-45deg) translateY(${T})`}}}}},at=de=>{const{antCls:fe,componentCls:G,fontSize:U,motionDurationSlow:we,motionDurationMid:P,motionEaseInOut:T,paddingXS:I,padding:ne,colorSplit:$,lineWidth:V,zIndexPopup:Te,borderRadiusLG:He,subMenuItemBorderRadius:Ie,menuArrowSize:Fe,menuArrowOffset:Qe,lineType:Ze,menuPanelMaskInset:Ve,groupTitleLineHeight:xt,groupTitleFontSize:Ct}=de;return[{"":{[`${G}`]:Object.assign(Object.assign({},(0,ye.dF)()),{"&-hidden":{display:"none"}})},[`${G}-submenu-hidden`]:{display:"none"}},{[G]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(de)),(0,ye.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:U,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${we} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${G}-item`]:{flex:"none"}},[`${G}-item, ${G}-submenu, ${G}-submenu-title`]:{borderRadius:de.itemBorderRadius},[`${G}-item-group-title`]:{padding:`${I}px ${ne}px`,fontSize:Ct,lineHeight:xt,transition:`all ${we}`},[`&-horizontal ${G}-submenu`]:{transition:[`border-color ${we} ${T}`,`background ${we} ${T}`].join(",")},[`${G}-submenu, ${G}-submenu-inline`]:{transition:[`border-color ${we} ${T}`,`background ${we} ${T}`,`padding ${P} ${T}`].join(",")},[`${G}-submenu ${G}-sub`]:{cursor:"initial",transition:[`background ${we} ${T}`,`padding ${we} ${T}`].join(",")},[`${G}-title-content`]:{transition:`color ${we}`},[`${G}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${G}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:$,borderStyle:Ze,borderWidth:0,borderTopWidth:V,marginBlock:V,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ut(de)),{[`${G}-item-group`]:{[`${G}-item-group-list`]:{margin:0,padding:0,[`${G}-item, ${G}-submenu-title`]:{paddingInline:`${U*2}px ${ne}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Te,borderRadius:He,boxShadow:"none",transformOrigin:"0 0",[`&${G}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Ve}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Ve},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:de.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:de.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:de.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:de.paddingXS},[`> ${G}`]:Object.assign(Object.assign(Object.assign({borderRadius:He},ut(de)),dt(de)),{[`${G}-item, ${G}-submenu > ${G}-submenu-title`]:{borderRadius:Ie},[`${G}-submenu-title::after`]:{transition:`transform ${we} ${T}`}})}}),dt(de)),{[`&-inline-collapsed ${G}-submenu-arrow,
&-inline ${G}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Qe})`},"&::after":{transform:`rotate(45deg) translateX(-${Qe})`}},[`${G}-submenu-open${G}-submenu-inline > ${G}-submenu-title > ${G}-submenu-arrow`]:{transform:`translateY(-${Fe*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Qe})`},"&::before":{transform:`rotate(45deg) translateX(${Qe})`}}})},{[`${fe}-layout-header`]:{[G]:{lineHeight:"inherit"}}}]};var Pt=(de,fe)=>(0,be.Z)("Menu",U=>{if(fe===!1)return[];const{colorBgElevated:we,colorPrimary:P,colorTextLightSolid:T,controlHeightLG:I,fontSize:ne,darkItemColor:$,darkDangerItemColor:V,darkItemBg:Te,darkSubMenuItemBg:He,darkItemSelectedColor:Ie,darkItemSelectedBg:Fe,darkDangerItemSelectedBg:Qe,darkItemHoverBg:Ze,darkGroupTitleColor:Ve,darkItemHoverColor:xt,darkItemDisabledColor:Ct,darkDangerItemHoverColor:ft,darkDangerItemSelectedColor:Ot,darkDangerItemActiveBg:Kt}=U,R=ne/7*5,k=(0,J.TS)(U,{menuArrowSize:R,menuHorizontalHeight:I*1.15,menuArrowOffset:`${R*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:we}),bt=(0,J.TS)(k,{itemColor:$,itemHoverColor:xt,groupTitleColor:Ve,itemSelectedColor:Ie,itemBg:Te,popupBg:Te,subMenuItemBg:He,itemActiveBg:"transparent",itemSelectedBg:Fe,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ze,itemDisabledColor:Ct,dangerItemColor:V,dangerItemHoverColor:ft,dangerItemSelectedColor:Ot,dangerItemActiveBg:Kt,dangerItemSelectedBg:Qe,menuSubMenuBg:He,horizontalItemSelectedColor:T,horizontalItemSelectedBg:P});return[at(k),ae(k),$e(k),Pe(k,"light"),Pe(bt,"dark"),_(k),(0,le.Z)(k),(0,oe.oN)(k,"slide-up"),(0,oe.oN)(k,"slide-down"),(0,H._y)(k,"zoom-big")]},U=>{const{colorPrimary:we,colorError:P,colorTextDisabled:T,colorErrorBg:I,colorText:ne,colorTextDescription:$,colorBgContainer:V,colorFillAlter:Te,colorFillContent:He,lineWidth:Ie,lineWidthBold:Fe,controlItemBgActive:Qe,colorBgTextHover:Ze,controlHeightLG:Ve,lineHeight:xt,colorBgElevated:Ct,marginXXS:ft,padding:Ot,fontSize:Kt,controlHeightSM:R,fontSizeLG:k,colorTextLightSolid:bt,colorErrorHover:Se}=U,Ke=new xe.C(bt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:U.zIndexPopupBase+50,radiusItem:U.borderRadiusLG,itemBorderRadius:U.borderRadiusLG,radiusSubMenuItem:U.borderRadiusSM,subMenuItemBorderRadius:U.borderRadiusSM,colorItemText:ne,itemColor:ne,colorItemTextHover:ne,itemHoverColor:ne,colorItemTextHoverHorizontal:we,horizontalItemHoverColor:we,colorGroupTitle:$,groupTitleColor:$,colorItemTextSelected:we,itemSelectedColor:we,colorItemTextSelectedHorizontal:we,horizontalItemSelectedColor:we,colorItemBg:V,itemBg:V,colorItemBgHover:Ze,itemHoverBg:Ze,colorItemBgActive:He,itemActiveBg:Qe,colorSubItemBg:Te,subMenuItemBg:Te,colorItemBgSelected:Qe,itemSelectedBg:Qe,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Fe,activeBarHeight:Fe,colorActiveBarBorderSize:Ie,activeBarBorderWidth:Ie,colorItemTextDisabled:T,itemDisabledColor:T,colorDangerItemText:P,dangerItemColor:P,colorDangerItemTextHover:P,dangerItemHoverColor:P,colorDangerItemTextSelected:P,dangerItemSelectedColor:P,colorDangerItemBgActive:I,dangerItemActiveBg:I,colorDangerItemBgSelected:I,dangerItemSelectedBg:I,itemMarginInline:U.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ve,groupTitleLineHeight:xt,collapsedWidth:Ve*2,popupBg:Ct,itemMarginBlock:ft,itemPaddingInline:Ot,horizontalLineHeight:`${Ve*1.15}px`,iconSize:Kt,iconMarginInlineEnd:R-Kt,collapsedIconSize:k,groupTitleFontSize:Kt,darkItemDisabledColor:new xe.C(bt).setAlpha(.25).toRgbString(),darkItemColor:Ke,darkDangerItemColor:P,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:bt,darkItemSelectedBg:we,darkDangerItemSelectedBg:P,darkItemHoverBg:"transparent",darkGroupTitleColor:Ke,darkItemHoverColor:bt,darkDangerItemHoverColor:Se,darkDangerItemSelectedColor:bt,darkDangerItemActiveBg:P}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(de),nn=function(de,fe){var G={};for(var U in de)Object.prototype.hasOwnProperty.call(de,U)&&fe.indexOf(U)<0&&(G[U]=de[U]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,U=Object.getOwnPropertySymbols(de);we<U.length;we++)fe.indexOf(U[we])<0&&Object.prototype.propertyIsEnumerable.call(de,U[we])&&(G[U[we]]=de[U[we]]);return G},Nt=(0,O.forwardRef)((de,fe)=>{var G,U;const we=O.useContext(D.Z),P=we||{},{getPrefixCls:T,getPopupContainer:I,direction:ne,menu:$}=O.useContext(m.E_),V=T(),{prefixCls:Te,className:He,style:Ie,theme:Fe="light",expandIcon:Qe,_internalDisableMenuItemTitleTooltip:Ze,inlineCollapsed:Ve,siderCollapsed:xt,items:Ct,children:ft,rootClassName:Ot,mode:Kt,selectable:R,onClick:k,overflowedIndicatorPopupClassName:bt}=de,Se=nn(de,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ke=(0,W.Z)(Se,["collapsedWidth"]),vn=ve(Ct)||ft;(G=P.validator)===null||G===void 0||G.call(P,{mode:Kt});const qe=(0,X.useEvent)(function(){var Dn;k==null||k.apply(void 0,arguments),(Dn=P.onClick)===null||Dn===void 0||Dn.call(P)}),et=P.mode||Kt,Xe=R!=null?R:P.selectable,_e=O.useMemo(()=>xt!==void 0?xt:Ve,[Ve,xt]),Me={horizontal:{motionName:`${V}-slide-up`},inline:(0,L.Z)(V),other:{motionName:`${V}-zoom-big`}},Oe=T("menu",Te||P.prefixCls),[rt,Ae]=Pt(Oe,!we),rn=F()(`${Oe}-${Fe}`,$==null?void 0:$.className,He);let Ge;if(typeof Qe=="function")Ge=Qe;else if(Qe===null||Qe===!1)Ge=null;else if(P.expandIcon===null||P.expandIcon===!1)Ge=null;else{const Dn=Qe!=null?Qe:P.expandIcon;Ge=(0,b.Tm)(Dn,{className:F()(`${Oe}-submenu-expand-icon`,(0,b.l$)(Dn)?(U=Dn.props)===null||U===void 0?void 0:U.className:"")})}const En=O.useMemo(()=>({prefixCls:Oe,inlineCollapsed:_e||!1,direction:ne,firstLevel:!0,theme:Fe,mode:et,disableMenuItemTitleTooltip:Ze}),[Oe,_e,ne,Ze,Fe]);return rt(O.createElement(D.Z.Provider,{value:null},O.createElement(C.Provider,{value:En},O.createElement(g.ZP,Object.assign({getPopupContainer:I,overflowedIndicator:O.createElement(ie.Z,null),overflowedIndicatorPopupClassName:F()(Oe,`${Oe}-${Fe}`,bt),mode:et,selectable:Xe,onClick:qe},Ke,{inlineCollapsed:_e,style:Object.assign(Object.assign({},$==null?void 0:$.style),Ie),className:rn,prefixCls:Oe,direction:ne,defaultMotions:Me,expandIcon:Ge,ref:fe,rootClassName:F()(Ot,Ae)}),vn))))});const lt=(0,O.forwardRef)((de,fe)=>{const G=(0,O.useRef)(null),U=O.useContext(re.D);return(0,O.useImperativeHandle)(fe,()=>({menu:G.current,focus:we=>{var P;(P=G.current)===null||P===void 0||P.focus(we)}})),O.createElement(Nt,Object.assign({ref:G},de,U))});lt.Item=pe,lt.SubMenu=Z,lt.Divider=o,lt.ItemGroup=g.BW;var wt=lt},58421:function(an,it,f){"use strict";f.d(it,{Z:function(){return P}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},ge=re,F=f(7657),m=function(I,ne){return O.createElement(F.Z,(0,g.Z)({},I,{ref:ne,icon:ge}))},w=O.forwardRef(m),he=w,o=f(49198),M=f(33853),W=f(38819),y=f(92310),b=f.n(y),A=f(49618),C=f(77321),K=f(96949),pe=f(55090),B=f(77205),Z=f(38793),ie=f(26112),X={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},L=X,D=f(91735),Q=function(T){(0,B.Z)(ne,T);var I=(0,Z.Z)(ne);function ne(){var $;(0,K.Z)(this,ne);for(var V=arguments.length,Te=new Array(V),He=0;He<V;He++)Te[He]=arguments[He];return $=I.call.apply(I,[this].concat(Te)),$.state={goInputText:""},$.getValidValue=function(){var Ie=$.state.goInputText;return!Ie||Number.isNaN(Ie)?void 0:Number(Ie)},$.buildOptionText=function(Ie){return"".concat(Ie," ").concat($.props.locale.items_per_page)},$.changeSize=function(Ie){$.props.changeSize(Number(Ie))},$.handleChange=function(Ie){$.setState({goInputText:Ie.target.value})},$.handleBlur=function(Ie){var Fe=$.props,Qe=Fe.goButton,Ze=Fe.quickGo,Ve=Fe.rootPrefixCls,xt=$.state.goInputText;Qe||xt===""||($.setState({goInputText:""}),!(Ie.relatedTarget&&(Ie.relatedTarget.className.indexOf("".concat(Ve,"-item-link"))>=0||Ie.relatedTarget.className.indexOf("".concat(Ve,"-item"))>=0))&&Ze($.getValidValue()))},$.go=function(Ie){var Fe=$.state.goInputText;Fe!==""&&(Ie.keyCode===L.ENTER||Ie.type==="click")&&($.setState({goInputText:""}),$.props.quickGo($.getValidValue()))},$}return(0,pe.Z)(ne,[{key:"getPageSizeOptions",value:function(){var V=this.props,Te=V.pageSize,He=V.pageSizeOptions;return He.some(function(Ie){return Ie.toString()===Te.toString()})?He:He.concat([Te.toString()]).sort(function(Ie,Fe){var Qe=Number.isNaN(Number(Ie))?0:Number(Ie),Ze=Number.isNaN(Number(Fe))?0:Number(Fe);return Qe-Ze})}},{key:"render",value:function(){var V=this,Te=this.props,He=Te.pageSize,Ie=Te.locale,Fe=Te.rootPrefixCls,Qe=Te.changeSize,Ze=Te.quickGo,Ve=Te.goButton,xt=Te.selectComponentClass,Ct=Te.buildOptionText,ft=Te.selectPrefixCls,Ot=Te.disabled,Kt=this.state.goInputText,R="".concat(Fe,"-options"),k=xt,bt=null,Se=null,Ke=null;if(!Qe&&!Ze)return null;var vn=this.getPageSizeOptions();if(Qe&&k){var qe=vn.map(function(et,Xe){return O.createElement(k.Option,{key:Xe,value:et.toString()},(Ct||V.buildOptionText)(et))});bt=O.createElement(k,{disabled:Ot,prefixCls:ft,showSearch:!1,className:"".concat(R,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(He||vn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Xe){return Xe.parentNode},"aria-label":Ie.page_size,defaultOpen:!1},qe)}return Ze&&(Ve&&(Ke=typeof Ve=="boolean"?O.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ot,className:"".concat(R,"-quick-jumper-button")},Ie.jump_to_confirm):O.createElement("span",{onClick:this.go,onKeyUp:this.go},Ve)),Se=O.createElement("div",{className:"".concat(R,"-quick-jumper")},Ie.jump_to,O.createElement("input",{disabled:Ot,type:"text",value:Kt,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ie.page}),Ie.page,Ke)),O.createElement("li",{className:"".concat(R)},bt,Se)}}]),ne}(O.Component);Q.defaultProps={pageSizeOptions:["10","20","50","100"]};var j=Q,ve=function(I){var ne,$=I.rootPrefixCls,V=I.page,Te=I.active,He=I.className,Ie=I.showTitle,Fe=I.onClick,Qe=I.onKeyPress,Ze=I.itemRender,Ve="".concat($,"-item"),xt=b()(Ve,"".concat(Ve,"-").concat(V),(ne={},(0,A.Z)(ne,"".concat(Ve,"-active"),Te),(0,A.Z)(ne,"".concat(Ve,"-disabled"),!V),(0,A.Z)(ne,I.className,He),ne)),Ct=function(){Fe(V)},ft=function(R){Qe(R,Fe,V)},Ot=Ze(V,"page",O.createElement("a",{rel:"nofollow"},V));return Ot?O.createElement("li",{title:Ie?V.toString():null,className:xt,onClick:Ct,onKeyPress:ft,tabIndex:0},Ot):null},xe=ve;function ye(){}function le(T){var I=Number(T);return typeof I=="number"&&!Number.isNaN(I)&&isFinite(I)&&Math.floor(I)===I}var oe=function(I,ne,$){return $};function H(T,I,ne){var $=typeof T=="undefined"?I.pageSize:T;return Math.floor((ne.total-1)/$)+1}var be=function(T){(0,B.Z)(ne,T);var I=(0,Z.Z)(ne);function ne($){var V;(0,K.Z)(this,ne),V=I.call(this,$),V.paginationNode=O.createRef(),V.getJumpPrevPage=function(){return Math.max(1,V.state.current-(V.props.showLessItems?3:5))},V.getJumpNextPage=function(){return Math.min(H(void 0,V.state,V.props),V.state.current+(V.props.showLessItems?3:5))},V.getItemIcon=function(Qe,Ze){var Ve=V.props.prefixCls,xt=Qe||O.createElement("button",{type:"button","aria-label":Ze,className:"".concat(Ve,"-item-link")});return typeof Qe=="function"&&(xt=O.createElement(Qe,(0,C.Z)({},V.props))),xt},V.isValid=function(Qe){var Ze=V.props.total;return le(Qe)&&Qe!==V.state.current&&le(Ze)&&Ze>0},V.shouldDisplayQuickJumper=function(){var Qe=V.props,Ze=Qe.showQuickJumper,Ve=Qe.total,xt=V.state.pageSize;return Ve<=xt?!1:Ze},V.handleKeyDown=function(Qe){(Qe.keyCode===L.ARROW_UP||Qe.keyCode===L.ARROW_DOWN)&&Qe.preventDefault()},V.handleKeyUp=function(Qe){var Ze=V.getValidValue(Qe),Ve=V.state.currentInputValue;Ze!==Ve&&V.setState({currentInputValue:Ze}),Qe.keyCode===L.ENTER?V.handleChange(Ze):Qe.keyCode===L.ARROW_UP?V.handleChange(Ze-1):Qe.keyCode===L.ARROW_DOWN&&V.handleChange(Ze+1)},V.handleBlur=function(Qe){var Ze=V.getValidValue(Qe);V.handleChange(Ze)},V.changePageSize=function(Qe){var Ze=V.state.current,Ve=H(Qe,V.state,V.props);Ze=Ze>Ve?Ve:Ze,Ve===0&&(Ze=V.state.current),typeof Qe=="number"&&("pageSize"in V.props||V.setState({pageSize:Qe}),"current"in V.props||V.setState({current:Ze,currentInputValue:Ze})),V.props.onShowSizeChange(Ze,Qe),"onChange"in V.props&&V.props.onChange&&V.props.onChange(Ze,Qe)},V.handleChange=function(Qe){var Ze=V.props,Ve=Ze.disabled,xt=Ze.onChange,Ct=V.state,ft=Ct.pageSize,Ot=Ct.current,Kt=Ct.currentInputValue;if(V.isValid(Qe)&&!Ve){var R=H(void 0,V.state,V.props),k=Qe;return Qe>R?k=R:Qe<1&&(k=1),"current"in V.props||V.setState({current:k}),k!==Kt&&V.setState({currentInputValue:k}),xt(k,ft),k}return Ot},V.prev=function(){V.hasPrev()&&V.handleChange(V.state.current-1)},V.next=function(){V.hasNext()&&V.handleChange(V.state.current+1)},V.jumpPrev=function(){V.handleChange(V.getJumpPrevPage())},V.jumpNext=function(){V.handleChange(V.getJumpNextPage())},V.hasPrev=function(){return V.state.current>1},V.hasNext=function(){return V.state.current<H(void 0,V.state,V.props)},V.runIfEnter=function(Qe,Ze){if(Qe.key==="Enter"||Qe.charCode===13){for(var Ve=arguments.length,xt=new Array(Ve>2?Ve-2:0),Ct=2;Ct<Ve;Ct++)xt[Ct-2]=arguments[Ct];Ze.apply(void 0,xt)}},V.runIfEnterPrev=function(Qe){V.runIfEnter(Qe,V.prev)},V.runIfEnterNext=function(Qe){V.runIfEnter(Qe,V.next)},V.runIfEnterJumpPrev=function(Qe){V.runIfEnter(Qe,V.jumpPrev)},V.runIfEnterJumpNext=function(Qe){V.runIfEnter(Qe,V.jumpNext)},V.handleGoTO=function(Qe){(Qe.keyCode===L.ENTER||Qe.type==="click")&&V.handleChange(V.state.currentInputValue)},V.renderPrev=function(Qe){var Ze=V.props,Ve=Ze.prevIcon,xt=Ze.itemRender,Ct=xt(Qe,"prev",V.getItemIcon(Ve,"prev page")),ft=!V.hasPrev();return(0,O.isValidElement)(Ct)?(0,O.cloneElement)(Ct,{disabled:ft}):Ct},V.renderNext=function(Qe){var Ze=V.props,Ve=Ze.nextIcon,xt=Ze.itemRender,Ct=xt(Qe,"next",V.getItemIcon(Ve,"next page")),ft=!V.hasNext();return(0,O.isValidElement)(Ct)?(0,O.cloneElement)(Ct,{disabled:ft}):Ct};var Te=$.onChange!==ye,He="current"in $;He&&!Te&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ie=$.defaultCurrent;"current"in $&&(Ie=$.current);var Fe=$.defaultPageSize;return"pageSize"in $&&(Fe=$.pageSize),Ie=Math.min(Ie,H(Fe,void 0,$)),V.state={current:Ie,currentInputValue:Ie,pageSize:Fe},V}return(0,pe.Z)(ne,[{key:"componentDidUpdate",value:function(V,Te){var He=this.props.prefixCls;if(Te.current!==this.state.current&&this.paginationNode.current){var Ie=this.paginationNode.current.querySelector(".".concat(He,"-item-").concat(Te.current));if(Ie&&document.activeElement===Ie){var Fe;Ie==null||(Fe=Ie.blur)===null||Fe===void 0||Fe.call(Ie)}}}},{key:"getValidValue",value:function(V){var Te=V.target.value,He=H(void 0,this.state,this.props),Ie=this.state.currentInputValue,Fe;return Te===""?Fe=Te:Number.isNaN(Number(Te))?Fe=Ie:Te>=He?Fe=He:Fe=Number(Te),Fe}},{key:"getShowSizeChanger",value:function(){var V=this.props,Te=V.showSizeChanger,He=V.total,Ie=V.totalBoundaryShowSizeChanger;return typeof Te!="undefined"?Te:He>Ie}},{key:"render",value:function(){var V=this.props,Te=V.prefixCls,He=V.className,Ie=V.style,Fe=V.disabled,Qe=V.hideOnSinglePage,Ze=V.total,Ve=V.locale,xt=V.showQuickJumper,Ct=V.showLessItems,ft=V.showTitle,Ot=V.showTotal,Kt=V.simple,R=V.itemRender,k=V.showPrevNextJumpers,bt=V.jumpPrevIcon,Se=V.jumpNextIcon,Ke=V.selectComponentClass,vn=V.selectPrefixCls,qe=V.pageSizeOptions,et=this.state,Xe=et.current,_e=et.pageSize,Me=et.currentInputValue;if(Qe===!0&&Ze<=_e)return null;var Oe=H(void 0,this.state,this.props),rt=[],Ae=null,rn=null,Ge=null,En=null,Dn=null,tn=xt&&xt.goButton,Wt=Ct?1:2,It=Xe-1>0?Xe-1:0,Bt=Xe+1<Oe?Xe+1:Oe,We=(0,ie.Z)(this.props,{aria:!0,data:!0}),_t=Ot&&O.createElement("li",{className:"".concat(Te,"-total-text")},Ot(Ze,[Ze===0?0:(Xe-1)*_e+1,Xe*_e>Ze?Ze:Xe*_e]));if(Kt){tn&&(typeof tn=="boolean"?Dn=O.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ve.jump_to_confirm):Dn=O.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},tn),Dn=O.createElement("li",{title:ft?"".concat(Ve.jump_to).concat(Xe,"/").concat(Oe):null,className:"".concat(Te,"-simple-pager")},Dn));var Et=this.renderPrev(It);return O.createElement("ul",(0,g.Z)({className:b()(Te,"".concat(Te,"-simple"),(0,A.Z)({},"".concat(Te,"-disabled"),Fe),He),style:Ie,ref:this.paginationNode},We),_t,Et?O.createElement("li",{title:ft?Ve.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:b()("".concat(Te,"-prev"),(0,A.Z)({},"".concat(Te,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Et):null,O.createElement("li",{title:ft?"".concat(Xe,"/").concat(Oe):null,className:"".concat(Te,"-simple-pager")},O.createElement("input",{type:"text",value:Me,disabled:Fe,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),O.createElement("span",{className:"".concat(Te,"-slash")},"/"),Oe),O.createElement("li",{title:ft?Ve.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:b()("".concat(Te,"-next"),(0,A.Z)({},"".concat(Te,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Bt)),Dn)}if(Oe<=3+Wt*2){var Be={locale:Ve,rootPrefixCls:Te,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ft,itemRender:R};Oe||rt.push(O.createElement(xe,(0,g.Z)({},Be,{key:"noPager",page:1,className:"".concat(Te,"-item-disabled")})));for(var Re=1;Re<=Oe;Re+=1){var pt=Xe===Re;rt.push(O.createElement(xe,(0,g.Z)({},Be,{key:Re,page:Re,active:pt})))}}else{var mt=Ct?Ve.prev_3:Ve.prev_5,Ft=Ct?Ve.next_3:Ve.next_5,Ht=R(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(bt,"prev page")),sn=R(this.getJumpNextPage(),"jump-next",this.getItemIcon(Se,"next page"));k&&(Ae=Ht?O.createElement("li",{title:ft?mt:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:b()("".concat(Te,"-jump-prev"),(0,A.Z)({},"".concat(Te,"-jump-prev-custom-icon"),!!bt))},Ht):null,rn=sn?O.createElement("li",{title:ft?Ft:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:b()("".concat(Te,"-jump-next"),(0,A.Z)({},"".concat(Te,"-jump-next-custom-icon"),!!Se))},sn):null),En=O.createElement(xe,{locale:Ve,last:!0,rootPrefixCls:Te,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Oe,page:Oe,active:!1,showTitle:ft,itemRender:R}),Ge=O.createElement(xe,{locale:Ve,rootPrefixCls:Te,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ft,itemRender:R});var Yt=Math.max(1,Xe-Wt),ln=Math.min(Xe+Wt,Oe);Xe-1<=Wt&&(ln=1+Wt*2),Oe-Xe<=Wt&&(Yt=Oe-Wt*2);for(var mn=Yt;mn<=ln;mn+=1){var An=Xe===mn;rt.push(O.createElement(xe,{locale:Ve,rootPrefixCls:Te,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:mn,page:mn,active:An,showTitle:ft,itemRender:R}))}Xe-1>=Wt*2&&Xe!==3&&(rt[0]=(0,O.cloneElement)(rt[0],{className:"".concat(Te,"-item-after-jump-prev")}),rt.unshift(Ae)),Oe-Xe>=Wt*2&&Xe!==Oe-2&&(rt[rt.length-1]=(0,O.cloneElement)(rt[rt.length-1],{className:"".concat(Te,"-item-before-jump-next")}),rt.push(rn)),Yt!==1&&rt.unshift(Ge),ln!==Oe&&rt.push(En)}var Zt=!this.hasPrev()||!Oe,Xt=!this.hasNext()||!Oe,on=this.renderPrev(It),gn=this.renderNext(Bt);return O.createElement("ul",(0,g.Z)({className:b()(Te,He,(0,A.Z)({},"".concat(Te,"-disabled"),Fe)),style:Ie,ref:this.paginationNode},We),_t,on?O.createElement("li",{title:ft?Ve.prev_page:null,onClick:this.prev,tabIndex:Zt?null:0,onKeyPress:this.runIfEnterPrev,className:b()("".concat(Te,"-prev"),(0,A.Z)({},"".concat(Te,"-disabled"),Zt)),"aria-disabled":Zt},on):null,rt,gn?O.createElement("li",{title:ft?Ve.next_page:null,onClick:this.next,tabIndex:Xt?null:0,onKeyPress:this.runIfEnterNext,className:b()("".concat(Te,"-next"),(0,A.Z)({},"".concat(Te,"-disabled"),Xt)),"aria-disabled":Xt},gn):null,O.createElement(j,{disabled:Fe,locale:Ve,rootPrefixCls:Te,selectComponentClass:Ke,selectPrefixCls:vn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Xe,pageSize:_e,pageSizeOptions:qe,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:tn}))}}],[{key:"getDerivedStateFromProps",value:function(V,Te){var He={};if("current"in V&&(He.current=V.current,V.current!==Te.current&&(He.currentInputValue=He.current)),"pageSize"in V&&V.pageSize!==Te.pageSize){var Ie=Te.current,Fe=H(V.pageSize,Te,V);Ie=Ie>Fe?Fe:Ie,"current"in V||(He.current=Ie,He.currentInputValue=Ie),He.pageSize=V.pageSize}return He}}]),ne}(O.Component);be.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ye,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ye,locale:D.Z,style:{},itemRender:oe,totalBoundaryShowSizeChanger:50};var J=be,me=f(22075),ae=f(36355),v=f(19716),_=f(8628),Y=f(9763),q=f(57809);const Pe=T=>O.createElement(q.default,Object.assign({},T,{showSearch:!0,size:"small"})),Le=T=>O.createElement(q.default,Object.assign({},T,{showSearch:!0,size:"middle"}));Pe.Option=q.default.Option,Le.Option=q.default.Option;var Ue=f(9937),$e=f(17313),ut=f(83116),dt=f(37613);const at=T=>{const{componentCls:I}=T;return{[`${I}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${I}-item-link`]:{color:T.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${I}-item-link`]:{color:T.colorTextDisabled,cursor:"not-allowed"}}},[`&${I}-disabled`]:{cursor:"not-allowed",[`${I}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:T.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:T.colorBorder,backgroundColor:T.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:T.itemActiveBgDisabled},a:{color:T.itemActiveColorDisabled}}},[`${I}-item-link`]:{color:T.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${I}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${I}-simple-pager`]:{color:T.colorTextDisabled},[`${I}-jump-prev, ${I}-jump-next`]:{[`${I}-item-link-icon`]:{opacity:0},[`${I}-item-ellipsis`]:{opacity:1}}},[`&${I}-simple`]:{[`${I}-prev, ${I}-next`]:{[`&${I}-disabled ${I}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Pt=T=>{const{componentCls:I}=T;return{[`&${I}-mini ${I}-total-text, &${I}-mini ${I}-simple-pager`]:{height:T.itemSizeSM,lineHeight:`${T.itemSizeSM}px`},[`&${I}-mini ${I}-item`]:{minWidth:T.itemSizeSM,height:T.itemSizeSM,margin:0,lineHeight:`${T.itemSizeSM-2}px`},[`&${I}-mini:not(${I}-disabled) ${I}-item:not(${I}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:T.colorBgTextHover},"&:active":{backgroundColor:T.colorBgTextActive}},[`&${I}-mini ${I}-prev, &${I}-mini ${I}-next`]:{minWidth:T.itemSizeSM,height:T.itemSizeSM,margin:0,lineHeight:`${T.itemSizeSM}px`},[`&${I}-mini:not(${I}-disabled)`]:{[`${I}-prev, ${I}-next`]:{[`&:hover ${I}-item-link`]:{backgroundColor:T.colorBgTextHover},[`&:active ${I}-item-link`]:{backgroundColor:T.colorBgTextActive},[`&${I}-disabled:hover ${I}-item-link`]:{backgroundColor:"transparent"}}},[`
&${I}-mini ${I}-prev ${I}-item-link,
&${I}-mini ${I}-next ${I}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:T.itemSizeSM,lineHeight:`${T.itemSizeSM}px`}},[`&${I}-mini ${I}-jump-prev, &${I}-mini ${I}-jump-next`]:{height:T.itemSizeSM,marginInlineEnd:0,lineHeight:`${T.itemSizeSM}px`},[`&${I}-mini ${I}-options`]:{marginInlineStart:T.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:T.miniOptionsSizeChangerTop},"&-quick-jumper":{height:T.itemSizeSM,lineHeight:`${T.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ue.x0)(T)),{width:T.paginationMiniQuickJumperInputWidth,height:T.controlHeightSM})}}}},nn=T=>{const{componentCls:I}=T;return{[`
&${I}-simple ${I}-prev,
&${I}-simple ${I}-next
`]:{height:T.itemSizeSM,lineHeight:`${T.itemSizeSM}px`,verticalAlign:"top",[`${I}-item-link`]:{height:T.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:T.colorBgTextHover},"&:active":{backgroundColor:T.colorBgTextActive},"&::after":{height:T.itemSizeSM,lineHeight:`${T.itemSizeSM}px`}}},[`&${I}-simple ${I}-simple-pager`]:{display:"inline-block",height:T.itemSizeSM,marginInlineEnd:T.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:T.marginXS,padding:`0 ${T.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:T.itemInputBg,border:`${T.lineWidth}px ${T.lineType} ${T.colorBorder}`,borderRadius:T.borderRadius,outline:"none",transition:`border-color ${T.motionDurationMid}`,color:"inherit","&:hover":{borderColor:T.colorPrimary},"&:focus":{borderColor:T.colorPrimaryHover,boxShadow:`${T.inputOutlineOffset}px 0 ${T.controlOutlineWidth}px ${T.controlOutline}`},"&[disabled]":{color:T.colorTextDisabled,backgroundColor:T.colorBgContainerDisabled,borderColor:T.colorBorder,cursor:"not-allowed"}}}}},kt=T=>{const{componentCls:I}=T;return{[`${I}-jump-prev, ${I}-jump-next`]:{outline:0,[`${I}-item-container`]:{position:"relative",[`${I}-item-link-icon`]:{color:T.colorPrimary,fontSize:T.fontSizeSM,opacity:0,transition:`all ${T.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${I}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:T.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:T.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:T.paginationEllipsisTextIndent,opacity:1,transition:`all ${T.motionDurationMid}`}},"&:hover":{[`${I}-item-link-icon`]:{opacity:1},[`${I}-item-ellipsis`]:{opacity:0}}},[`
${I}-prev,
${I}-jump-prev,
${I}-jump-next
`]:{marginInlineEnd:T.marginXS},[`
${I}-prev,
${I}-next,
${I}-jump-prev,
${I}-jump-next
`]:{display:"inline-block",minWidth:T.itemSize,height:T.itemSize,color:T.colorText,fontFamily:T.fontFamily,lineHeight:`${T.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:T.borderRadius,cursor:"pointer",transition:`all ${T.motionDurationMid}`},[`${I}-prev, ${I}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:T.colorText,cursor:"pointer",userSelect:"none"},[`${I}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:T.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${T.lineWidth}px ${T.lineType} transparent`,borderRadius:T.borderRadius,outline:"none",transition:`all ${T.motionDurationMid}`},[`&:hover ${I}-item-link`]:{backgroundColor:T.colorBgTextHover},[`&:active ${I}-item-link`]:{backgroundColor:T.colorBgTextActive},[`&${I}-disabled:hover`]:{[`${I}-item-link`]:{backgroundColor:"transparent"}}},[`${I}-slash`]:{marginInlineEnd:T.paginationSlashMarginInlineEnd,marginInlineStart:T.paginationSlashMarginInlineStart},[`${I}-options`]:{display:"inline-block",marginInlineStart:T.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:T.controlHeight,marginInlineStart:T.marginXS,lineHeight:`${T.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ue.ik)(T)),{width:T.controlHeightLG*1.25,height:T.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:T.marginXS,marginInlineEnd:T.marginXS})}}}},Nt=T=>{const{componentCls:I}=T;return{[`${I}-item`]:{display:"inline-block",minWidth:T.itemSize,height:T.itemSize,marginInlineEnd:T.marginXS,fontFamily:T.fontFamily,lineHeight:`${T.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${T.lineWidth}px ${T.lineType} transparent`,borderRadius:T.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${T.paginationItemPaddingInline}px`,color:T.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${I}-item-active)`]:{"&:hover":{transition:`all ${T.motionDurationMid}`,backgroundColor:T.colorBgTextHover},"&:active":{backgroundColor:T.colorBgTextActive}},"&-active":{fontWeight:T.fontWeightStrong,backgroundColor:T.itemActiveBg,borderColor:T.colorPrimary,a:{color:T.colorPrimary},"&:hover":{borderColor:T.colorPrimaryHover},"&:hover a":{color:T.colorPrimaryHover}}}}},lt=T=>{const{componentCls:I}=T;return{[I]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(T)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${I}-total-text`]:{display:"inline-block",height:T.itemSize,marginInlineEnd:T.marginXS,lineHeight:`${T.itemSize-2}px`,verticalAlign:"middle"}}),Nt(T)),kt(T)),nn(T)),Pt(T)),at(T)),{[`@media only screen and (max-width: ${T.screenLG}px)`]:{[`${I}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${T.screenSM}px)`]:{[`${I}-options`]:{display:"none"}}}),[`&${T.componentCls}-rtl`]:{direction:"rtl"}}},wt=T=>{const{componentCls:I}=T;return{[`${I}${I}-disabled:not(${I}-mini)`]:{"&, &:hover":{[`${I}-item-link`]:{borderColor:T.colorBorder}},"&:focus-visible":{[`${I}-item-link`]:{borderColor:T.colorBorder}},[`${I}-item, ${I}-item-link`]:{backgroundColor:T.colorBgContainerDisabled,borderColor:T.colorBorder,[`&:hover:not(${I}-item-active)`]:{backgroundColor:T.colorBgContainerDisabled,borderColor:T.colorBorder,a:{color:T.colorTextDisabled}},[`&${I}-item-active`]:{backgroundColor:T.itemActiveBgDisabled}},[`${I}-prev, ${I}-next`]:{"&:hover button":{backgroundColor:T.colorBgContainerDisabled,borderColor:T.colorBorder,color:T.colorTextDisabled},[`${I}-item-link`]:{backgroundColor:T.colorBgContainerDisabled,borderColor:T.colorBorder}}},[`${I}:not(${I}-mini)`]:{[`${I}-prev, ${I}-next`]:{"&:hover button":{borderColor:T.colorPrimaryHover,backgroundColor:T.itemBg},[`${I}-item-link`]:{backgroundColor:T.itemLinkBg,borderColor:T.colorBorder},[`&:hover ${I}-item-link`]:{borderColor:T.colorPrimary,backgroundColor:T.itemBg,color:T.colorPrimary},[`&${I}-disabled`]:{[`${I}-item-link`]:{borderColor:T.colorBorder,color:T.colorTextDisabled}}},[`${I}-item`]:{backgroundColor:T.itemBg,border:`${T.lineWidth}px ${T.lineType} ${T.colorBorder}`,[`&:hover:not(${I}-item-active)`]:{borderColor:T.colorPrimary,backgroundColor:T.itemBg,a:{color:T.colorPrimary}},"&-active":{borderColor:T.colorPrimary}}}}},de=T=>{const{componentCls:I}=T;return{[`${I}:not(${I}-disabled)`]:{[`${I}-item`]:Object.assign({},(0,$e.Qy)(T)),[`${I}-jump-prev, ${I}-jump-next`]:{"&:focus-visible":Object.assign({[`${I}-item-link-icon`]:{opacity:1},[`${I}-item-ellipsis`]:{opacity:0}},(0,$e.oN)(T))},[`${I}-prev, ${I}-next`]:{[`&:focus-visible ${I}-item-link`]:Object.assign({},(0,$e.oN)(T))}}}};var fe=(0,ut.Z)("Pagination",T=>{const I=(0,dt.TS)(T,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:T.marginXXS/2,paginationMiniQuickJumperInputWidth:T.controlHeightLG*1.1,paginationItemPaddingInline:T.marginXXS*1.5,paginationEllipsisLetterSpacing:T.marginXXS/2,paginationSlashMarginInlineStart:T.marginXXS,paginationSlashMarginInlineEnd:T.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ue.e5)(T),(0,Ue.TM)(T));return[lt(I),de(I),T.wireframe&&wt(I)]},T=>({itemBg:T.colorBgContainer,itemSize:T.controlHeight,itemSizeSM:T.controlHeightSM,itemActiveBg:T.colorBgContainer,itemLinkBg:T.colorBgContainer,itemActiveColorDisabled:T.colorTextDisabled,itemActiveBgDisabled:T.controlItemBgActiveDisabled,itemInputBg:T.colorBgContainer,miniOptionsSizeChangerTop:0})),G=function(T,I){var ne={};for(var $ in T)Object.prototype.hasOwnProperty.call(T,$)&&I.indexOf($)<0&&(ne[$]=T[$]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,$=Object.getOwnPropertySymbols(T);V<$.length;V++)I.indexOf($[V])<0&&Object.prototype.propertyIsEnumerable.call(T,$[V])&&(ne[$[V]]=T[$[V]]);return ne},we=T=>{const{prefixCls:I,selectPrefixCls:ne,className:$,rootClassName:V,style:Te,size:He,locale:Ie,selectComponentClass:Fe,responsive:Qe,showSizeChanger:Ze}=T,Ve=G(T,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:xt}=(0,_.Z)(Qe),{getPrefixCls:Ct,direction:ft,pagination:Ot={}}=O.useContext(ae.E_),Kt=Ct("pagination",I),[R,k]=fe(Kt),bt=Ze!=null?Ze:Ot.showSizeChanger,Se=O.useMemo(()=>{const Oe=O.createElement("span",{className:`${Kt}-item-ellipsis`},"\u2022\u2022\u2022"),rt=O.createElement("button",{className:`${Kt}-item-link`,type:"button",tabIndex:-1},ft==="rtl"?O.createElement(W.Z,null):O.createElement(M.Z,null)),Ae=O.createElement("button",{className:`${Kt}-item-link`,type:"button",tabIndex:-1},ft==="rtl"?O.createElement(M.Z,null):O.createElement(W.Z,null)),rn=O.createElement("a",{className:`${Kt}-item-link`},O.createElement("div",{className:`${Kt}-item-container`},ft==="rtl"?O.createElement(o.Z,{className:`${Kt}-item-link-icon`}):O.createElement(he,{className:`${Kt}-item-link-icon`}),Oe)),Ge=O.createElement("a",{className:`${Kt}-item-link`},O.createElement("div",{className:`${Kt}-item-container`},ft==="rtl"?O.createElement(he,{className:`${Kt}-item-link-icon`}):O.createElement(o.Z,{className:`${Kt}-item-link-icon`}),Oe));return{prevIcon:rt,nextIcon:Ae,jumpPrevIcon:rn,jumpNextIcon:Ge}},[ft,Kt]),[Ke]=(0,Y.Z)("Pagination",me.Z),vn=Object.assign(Object.assign({},Ke),Ie),qe=(0,v.Z)(He),et=qe==="small"||!!(xt&&!qe&&Qe),Xe=Ct("select",ne),_e=b()({[`${Kt}-mini`]:et,[`${Kt}-rtl`]:ft==="rtl"},Ot==null?void 0:Ot.className,$,V,k),Me=Object.assign(Object.assign({},Ot==null?void 0:Ot.style),Te);return R(O.createElement(J,Object.assign({},Se,Ve,{style:Me,prefixCls:Kt,selectPrefixCls:Xe,className:_e,selectComponentClass:Fe||(et?Pe:Le),locale:vn,showSizeChanger:bt})))},P=we},5112:function(an,it,f){"use strict";f.d(it,{ZP:function(){return _}});var g=f(92310),O=f.n(g),re=f(18929),ge=f(26112),F=f(59301),m=f(36355),w=f(19716);const he=F.createContext(null),o=he.Provider;var M=he;const W=F.createContext(null),y=W.Provider;var b=f(5630),A=f(8654),C=f(1684),K=f(32441),pe=f(17313),B=f(83116),Z=f(37613);const ie=Y=>{const{componentCls:q,antCls:Pe}=Y,Le=`${q}-group`;return{[Le]:Object.assign(Object.assign({},(0,pe.Wf)(Y)),{display:"inline-block",fontSize:0,[`&${Le}-rtl`]:{direction:"rtl"},[`${Pe}-badge ${Pe}-badge-count`]:{zIndex:1},[`> ${Pe}-badge:not(:first-child) > ${Pe}-button-wrapper`]:{borderInlineStart:"none"}})}},X=Y=>{const{componentCls:q,wrapperMarginInlineEnd:Pe,colorPrimary:Le,radioSize:Ue,motionDurationSlow:$e,motionDurationMid:ut,motionEaseInOutCirc:dt,colorBgContainer:at,colorBorder:Pt,lineWidth:nn,dotSize:kt,colorBgContainerDisabled:Nt,colorTextDisabled:lt,paddingXS:wt,dotColorDisabled:de,lineType:fe,radioDotDisabledSize:G,wireframe:U,colorWhite:we}=Y,P=`${q}-inner`;return{[`${q}-wrapper`]:Object.assign(Object.assign({},(0,pe.Wf)(Y)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:Pe,cursor:"pointer",[`&${q}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:Y.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${q}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${nn}px ${fe} ${Le}`,borderRadius:"50%",visibility:"hidden",content:'""'},[q]:Object.assign(Object.assign({},(0,pe.Wf)(Y)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${q}-wrapper:hover &,
&:hover ${P}`]:{borderColor:Le},[`${q}-input:focus-visible + ${P}`]:Object.assign({},(0,pe.oN)(Y)),[`${q}:hover::after, ${q}-wrapper:hover &::after`]:{visibility:"visible"},[`${q}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Ue,height:Ue,marginBlockStart:Ue/-2,marginInlineStart:Ue/-2,backgroundColor:U?Le:we,borderBlockStart:0,borderInlineStart:0,borderRadius:Ue,transform:"scale(0)",opacity:0,transition:`all ${$e} ${dt}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Ue,height:Ue,backgroundColor:at,borderColor:Pt,borderStyle:"solid",borderWidth:nn,borderRadius:"50%",transition:`all ${ut}`},[`${q}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${q}-checked`]:{[P]:{borderColor:Le,backgroundColor:U?at:Le,"&::after":{transform:`scale(${kt/Ue})`,opacity:1,transition:`all ${$e} ${dt}`}}},[`${q}-disabled`]:{cursor:"not-allowed",[P]:{backgroundColor:Nt,borderColor:Pt,cursor:"not-allowed","&::after":{backgroundColor:de}},[`${q}-input`]:{cursor:"not-allowed"},[`${q}-disabled + span`]:{color:lt,cursor:"not-allowed"},[`&${q}-checked`]:{[P]:{"&::after":{transform:`scale(${G/Ue})`}}}},[`span${q} + *`]:{paddingInlineStart:wt,paddingInlineEnd:wt}})}},L=Y=>{const{buttonColor:q,controlHeight:Pe,componentCls:Le,lineWidth:Ue,lineType:$e,colorBorder:ut,motionDurationSlow:dt,motionDurationMid:at,buttonPaddingInline:Pt,fontSize:nn,buttonBg:kt,fontSizeLG:Nt,controlHeightLG:lt,controlHeightSM:wt,paddingXS:de,borderRadius:fe,borderRadiusSM:G,borderRadiusLG:U,buttonCheckedBg:we,buttonSolidCheckedColor:P,colorTextDisabled:T,colorBgContainerDisabled:I,buttonCheckedBgDisabled:ne,buttonCheckedColorDisabled:$,colorPrimary:V,colorPrimaryHover:Te,colorPrimaryActive:He,buttonSolidCheckedBg:Ie,buttonSolidCheckedHoverBg:Fe,buttonSolidCheckedActiveBg:Qe}=Y;return{[`${Le}-button-wrapper`]:{position:"relative",display:"inline-block",height:Pe,margin:0,paddingInline:Pt,paddingBlock:0,color:q,fontSize:nn,lineHeight:`${Pe-Ue*2}px`,background:kt,border:`${Ue}px ${$e} ${ut}`,borderBlockStartWidth:Ue+.02,borderInlineStartWidth:0,borderInlineEndWidth:Ue,cursor:"pointer",transition:[`color ${at}`,`background ${at}`,`box-shadow ${at}`].join(","),a:{color:q},[`> ${Le}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Ue,insetInlineStart:-Ue,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Ue,paddingInline:0,backgroundColor:ut,transition:`background-color ${dt}`,content:'""'}},"&:first-child":{borderInlineStart:`${Ue}px ${$e} ${ut}`,borderStartStartRadius:fe,borderEndStartRadius:fe},"&:last-child":{borderStartEndRadius:fe,borderEndEndRadius:fe},"&:first-child:last-child":{borderRadius:fe},[`${Le}-group-large &`]:{height:lt,fontSize:Nt,lineHeight:`${lt-Ue*2}px`,"&:first-child":{borderStartStartRadius:U,borderEndStartRadius:U},"&:last-child":{borderStartEndRadius:U,borderEndEndRadius:U}},[`${Le}-group-small &`]:{height:wt,paddingInline:de-Ue,paddingBlock:0,lineHeight:`${wt-Ue*2}px`,"&:first-child":{borderStartStartRadius:G,borderEndStartRadius:G},"&:last-child":{borderStartEndRadius:G,borderEndEndRadius:G}},"&:hover":{position:"relative",color:V},"&:has(:focus-visible)":Object.assign({},(0,pe.oN)(Y)),[`${Le}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Le}-button-wrapper-disabled)`]:{zIndex:1,color:V,background:we,borderColor:V,"&::before":{backgroundColor:V},"&:first-child":{borderColor:V},"&:hover":{color:Te,borderColor:Te,"&::before":{backgroundColor:Te}},"&:active":{color:He,borderColor:He,"&::before":{backgroundColor:He}}},[`${Le}-group-solid &-checked:not(${Le}-button-wrapper-disabled)`]:{color:P,background:Ie,borderColor:Ie,"&:hover":{color:P,background:Fe,borderColor:Fe},"&:active":{color:P,background:Qe,borderColor:Qe}},"&-disabled":{color:T,backgroundColor:I,borderColor:ut,cursor:"not-allowed","&:first-child, &:hover":{color:T,backgroundColor:I,borderColor:ut}},[`&-disabled${Le}-button-wrapper-checked`]:{color:$,backgroundColor:ne,borderColor:ut,boxShadow:"none"}}}},D=Y=>Y-4*2;var Q=(0,B.Z)("Radio",Y=>{const{controlOutline:q,controlOutlineWidth:Pe,radioSize:Le}=Y,Ue=`0 0 0 ${Pe}px ${q}`,$e=Ue,ut=D(Le),dt=(0,Z.TS)(Y,{radioDotDisabledSize:ut,radioFocusShadow:Ue,radioButtonFocusShadow:$e});return[ie(dt),X(dt),L(dt)]},Y=>{const{wireframe:q,padding:Pe,marginXS:Le,lineWidth:Ue,fontSizeLG:$e,colorText:ut,colorBgContainer:dt,colorTextDisabled:at,controlItemBgActiveDisabled:Pt,colorTextLightSolid:nn,colorPrimary:kt,colorPrimaryHover:Nt,colorPrimaryActive:lt}=Y,wt=4,de=$e,fe=q?D(de):de-(wt+Ue)*2;return{radioSize:de,dotSize:fe,dotColorDisabled:at,buttonSolidCheckedColor:nn,buttonSolidCheckedBg:kt,buttonSolidCheckedHoverBg:Nt,buttonSolidCheckedActiveBg:lt,buttonBg:dt,buttonCheckedBg:dt,buttonColor:ut,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:at,buttonPaddingInline:Pe-Ue,wrapperMarginInlineEnd:Le}}),j=f(14088),ve=f(4572),xe=function(Y,q){var Pe={};for(var Le in Y)Object.prototype.hasOwnProperty.call(Y,Le)&&q.indexOf(Le)<0&&(Pe[Le]=Y[Le]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Le=Object.getOwnPropertySymbols(Y);Ue<Le.length;Ue++)q.indexOf(Le[Ue])<0&&Object.prototype.propertyIsEnumerable.call(Y,Le[Ue])&&(Pe[Le[Ue]]=Y[Le[Ue]]);return Pe};const ye=(Y,q)=>{var Pe,Le;const Ue=F.useContext(M),$e=F.useContext(W),{getPrefixCls:ut,direction:dt,radio:at}=F.useContext(m.E_),Pt=F.useRef(null),nn=(0,A.sQ)(q,Pt),{isFormItemInput:kt}=F.useContext(K.aM),Nt=He=>{var Ie,Fe;(Ie=Y.onChange)===null||Ie===void 0||Ie.call(Y,He),(Fe=Ue==null?void 0:Ue.onChange)===null||Fe===void 0||Fe.call(Ue,He)},{prefixCls:lt,className:wt,rootClassName:de,children:fe,style:G}=Y,U=xe(Y,["prefixCls","className","rootClassName","children","style"]),we=ut("radio",lt),P=((Ue==null?void 0:Ue.optionType)||$e)==="button",T=P?`${we}-button`:we,[I,ne]=Q(we),$=Object.assign({},U),V=F.useContext(C.Z);Ue&&($.name=Ue.name,$.onChange=Nt,$.checked=Y.value===Ue.value,$.disabled=(Pe=$.disabled)!==null&&Pe!==void 0?Pe:Ue.disabled),$.disabled=(Le=$.disabled)!==null&&Le!==void 0?Le:V;const Te=O()(`${T}-wrapper`,{[`${T}-wrapper-checked`]:$.checked,[`${T}-wrapper-disabled`]:$.disabled,[`${T}-wrapper-rtl`]:dt==="rtl",[`${T}-wrapper-in-form-item`]:kt},at==null?void 0:at.className,wt,de,ne);return I(F.createElement(j.Z,{component:"Radio",disabled:$.disabled},F.createElement("label",{className:Te,style:Object.assign(Object.assign({},at==null?void 0:at.style),G),onMouseEnter:Y.onMouseEnter,onMouseLeave:Y.onMouseLeave},F.createElement(b.Z,Object.assign({},$,{className:O()($.className,!P&&ve.A),type:"radio",prefixCls:T,ref:nn})),fe!==void 0?F.createElement("span",null,fe):null)))};var oe=F.forwardRef(ye);const H=F.forwardRef((Y,q)=>{const{getPrefixCls:Pe,direction:Le}=F.useContext(m.E_),[Ue,$e]=(0,re.Z)(Y.defaultValue,{value:Y.value}),ut=Ie=>{const Fe=Ue,Qe=Ie.target.value;"value"in Y||$e(Qe);const{onChange:Ze}=Y;Ze&&Qe!==Fe&&Ze(Ie)},{prefixCls:dt,className:at,rootClassName:Pt,options:nn,buttonStyle:kt="outline",disabled:Nt,children:lt,size:wt,style:de,id:fe,onMouseEnter:G,onMouseLeave:U,onFocus:we,onBlur:P}=Y,T=Pe("radio",dt),I=`${T}-group`,[ne,$]=Q(T);let V=lt;nn&&nn.length>0&&(V=nn.map(Ie=>typeof Ie=="string"||typeof Ie=="number"?F.createElement(oe,{key:Ie.toString(),prefixCls:T,disabled:Nt,value:Ie,checked:Ue===Ie},Ie):F.createElement(oe,{key:`radio-group-value-options-${Ie.value}`,prefixCls:T,disabled:Ie.disabled||Nt,value:Ie.value,checked:Ue===Ie.value,title:Ie.title,style:Ie.style},Ie.label)));const Te=(0,w.Z)(wt),He=O()(I,`${I}-${kt}`,{[`${I}-${Te}`]:Te,[`${I}-rtl`]:Le==="rtl"},at,Pt,$);return ne(F.createElement("div",Object.assign({},(0,ge.Z)(Y,{aria:!0,data:!0}),{className:He,style:de,onMouseEnter:G,onMouseLeave:U,onFocus:we,onBlur:P,id:fe,ref:q}),F.createElement(o,{value:{onChange:ut,value:Ue,disabled:Y.disabled,name:Y.name,optionType:Y.optionType}},V)))});var be=F.memo(H),J=function(Y,q){var Pe={};for(var Le in Y)Object.prototype.hasOwnProperty.call(Y,Le)&&q.indexOf(Le)<0&&(Pe[Le]=Y[Le]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Le=Object.getOwnPropertySymbols(Y);Ue<Le.length;Ue++)q.indexOf(Le[Ue])<0&&Object.prototype.propertyIsEnumerable.call(Y,Le[Ue])&&(Pe[Le[Ue]]=Y[Le[Ue]]);return Pe};const me=(Y,q)=>{const{getPrefixCls:Pe}=F.useContext(m.E_),{prefixCls:Le}=Y,Ue=J(Y,["prefixCls"]),$e=Pe("radio",Le);return F.createElement(y,{value:"button"},F.createElement(oe,Object.assign({prefixCls:$e},Ue,{type:"radio",ref:q})))};var ae=F.forwardRef(me);const v=oe;v.Button=ae,v.Group=be,v.__ANT_RADIO=!0;var _=v},13570:function(an,it,f){"use strict";f.d(it,{Z:function(){return Y}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},ge=re,F=f(7657),m=function(Pe,Le){return O.createElement(F.Z,(0,g.Z)({},Pe,{ref:Le,icon:ge}))},w=O.forwardRef(m),he=w,o=f(92310),M=f.n(o),W=f(49618),y=f(52487),b=f(74416),A=f(18929),C=f(10228),K=f(26112);function pe(q,Pe){var Le=q.disabled,Ue=q.prefixCls,$e=q.character,ut=q.characterRender,dt=q.index,at=q.count,Pt=q.value,nn=q.allowHalf,kt=q.focused,Nt=q.onHover,lt=q.onClick,wt=function(I){Nt(I,dt)},de=function(I){lt(I,dt)},fe=function(I){I.keyCode===C.Z.ENTER&&lt(I,dt)},G=dt+1,U=new Set([Ue]);Pt===0&&dt===0&&kt?U.add("".concat(Ue,"-focused")):nn&&Pt+.5>=G&&Pt<G?(U.add("".concat(Ue,"-half")),U.add("".concat(Ue,"-active")),kt&&U.add("".concat(Ue,"-focused"))):(G<=Pt?U.add("".concat(Ue,"-full")):U.add("".concat(Ue,"-zero")),G===Pt&&kt&&U.add("".concat(Ue,"-focused")));var we=typeof $e=="function"?$e(q):$e,P=O.createElement("li",{className:M()(Array.from(U)),ref:Pe},O.createElement("div",{onClick:Le?null:de,onKeyDown:Le?null:fe,onMouseMove:Le?null:wt,role:"radio","aria-checked":Pt>dt?"true":"false","aria-posinset":dt+1,"aria-setsize":at,tabIndex:Le?-1:0},O.createElement("div",{className:"".concat(Ue,"-first")},we),O.createElement("div",{className:"".concat(Ue,"-second")},we)));return ut&&(P=ut(P,q)),P}var B=O.forwardRef(pe);function Z(){var q=O.useRef({});function Pe(Ue){return q.current[Ue]}function Le(Ue){return function($e){q.current[Ue]=$e}}return[Pe,Le]}function ie(q){var Pe=q.pageXOffset,Le="scrollLeft";if(typeof Pe!="number"){var Ue=q.document;Pe=Ue.documentElement[Le],typeof Pe!="number"&&(Pe=Ue.body[Le])}return Pe}function X(q){var Pe,Le,Ue=q.ownerDocument,$e=Ue.body,ut=Ue&&Ue.documentElement,dt=q.getBoundingClientRect();return Pe=dt.left,Le=dt.top,Pe-=ut.clientLeft||$e.clientLeft||0,Le-=ut.clientTop||$e.clientTop||0,{left:Pe,top:Le}}function L(q){var Pe=X(q),Le=q.ownerDocument,Ue=Le.defaultView||Le.parentWindow;return Pe.left+=ie(Ue),Pe.left}var D=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Q(q,Pe){var Le,Ue=q.prefixCls,$e=Ue===void 0?"rc-rate":Ue,ut=q.className,dt=q.defaultValue,at=q.value,Pt=q.count,nn=Pt===void 0?5:Pt,kt=q.allowHalf,Nt=kt===void 0?!1:kt,lt=q.allowClear,wt=lt===void 0?!0:lt,de=q.character,fe=de===void 0?"\u2605":de,G=q.characterRender,U=q.disabled,we=q.direction,P=we===void 0?"ltr":we,T=q.tabIndex,I=T===void 0?0:T,ne=q.autoFocus,$=q.onHoverChange,V=q.onChange,Te=q.onFocus,He=q.onBlur,Ie=q.onKeyDown,Fe=q.onMouseLeave,Qe=(0,b.Z)(q,D),Ze=Z(),Ve=(0,y.Z)(Ze,2),xt=Ve[0],Ct=Ve[1],ft=O.useRef(null),Ot=function(){if(!U){var Re;(Re=ft.current)===null||Re===void 0||Re.focus()}};O.useImperativeHandle(Pe,function(){return{focus:Ot,blur:function(){if(!U){var Re;(Re=ft.current)===null||Re===void 0||Re.blur()}}}});var Kt=(0,A.Z)(dt||0,{value:at}),R=(0,y.Z)(Kt,2),k=R[0],bt=R[1],Se=(0,A.Z)(null),Ke=(0,y.Z)(Se,2),vn=Ke[0],qe=Ke[1],et=function(Re,pt){var mt=P==="rtl",Ft=Re+1;if(Nt){var Ht=xt(Re),sn=L(Ht),Yt=Ht.clientWidth;(mt&&pt-sn>Yt/2||!mt&&pt-sn<Yt/2)&&(Ft-=.5)}return Ft},Xe=function(Re){bt(Re),V==null||V(Re)},_e=O.useState(!1),Me=(0,y.Z)(_e,2),Oe=Me[0],rt=Me[1],Ae=function(){rt(!0),Te==null||Te()},rn=function(){rt(!1),He==null||He()},Ge=O.useState(null),En=(0,y.Z)(Ge,2),Dn=En[0],tn=En[1],Wt=function(Re,pt){var mt=et(pt,Re.pageX);mt!==vn&&(tn(mt),qe(null)),$==null||$(mt)},It=function(Re){U||(tn(null),qe(null),$==null||$(void 0)),Re&&(Fe==null||Fe(Re))},Bt=function(Re,pt){var mt=et(pt,Re.pageX),Ft=!1;wt&&(Ft=mt===k),It(),Xe(Ft?0:mt),qe(Ft?mt:null)},We=function(Re){var pt=Re.keyCode,mt=P==="rtl",Ft=k;pt===C.Z.RIGHT&&Ft<nn&&!mt?(Nt?Ft+=.5:Ft+=1,Xe(Ft),Re.preventDefault()):pt===C.Z.LEFT&&Ft>0&&!mt||pt===C.Z.RIGHT&&Ft>0&&mt?(Nt?Ft-=.5:Ft-=1,Xe(Ft),Re.preventDefault()):pt===C.Z.LEFT&&Ft<nn&&mt&&(Nt?Ft+=.5:Ft+=1,Xe(Ft),Re.preventDefault()),Ie==null||Ie(Re)};O.useEffect(function(){ne&&!U&&Ot()},[]);var _t=new Array(nn).fill(0).map(function(Be,Re){return O.createElement(B,{ref:Ct(Re),index:Re,count:nn,disabled:U,prefixCls:"".concat($e,"-star"),allowHalf:Nt,value:Dn===null?k:Dn,onClick:Bt,onHover:Wt,key:Be||Re,character:fe,characterRender:G,focused:Oe})}),Et=M()($e,ut,(Le={},(0,W.Z)(Le,"".concat($e,"-disabled"),U),(0,W.Z)(Le,"".concat($e,"-rtl"),P==="rtl"),Le));return O.createElement("ul",(0,g.Z)({className:Et,onMouseLeave:It,tabIndex:U?-1:I,onFocus:U?null:Ae,onBlur:U?null:rn,onKeyDown:U?null:We,ref:ft,role:"radiogroup"},(0,K.Z)(Qe,{aria:!0,data:!0,attr:!0})),_t)}var j=O.forwardRef(Q),ve=j,xe=f(36355),ye=f(6848),le=f(17313),oe=f(83116),H=f(37613);const be=q=>{const{componentCls:Pe}=q;return{[`${Pe}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:q.marginXS},"> div":{transition:`all ${q.motionDurationMid}, outline 0s`,"&:hover":{transform:q.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${q.lineWidth}px dashed ${q.starColor}`,transform:q.starHoverScale}},"&-first, &-second":{color:q.starBg,transition:`all ${q.motionDurationMid}`,userSelect:"none",[q.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Pe}-star-first, &-half ${Pe}-star-second`]:{opacity:1},[`&-half ${Pe}-star-first, &-full ${Pe}-star-second`]:{color:"inherit"}}}},J=q=>({[`&-rtl${q.componentCls}`]:{direction:"rtl"}}),me=q=>{const{componentCls:Pe}=q;return{[Pe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,le.Wf)(q)),{display:"inline-block",margin:0,padding:0,color:q.starColor,fontSize:q.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Pe} ${Pe}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),be(q)),{[`+ ${Pe}-text`]:{display:"inline-block",marginInlineStart:q.marginXS,fontSize:q.fontSize}}),J(q))}};var ae=(0,oe.Z)("Rate",q=>{const Pe=(0,H.TS)(q,{});return[me(Pe)]},q=>({starColor:q.yellow6,starSize:q.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:q.colorFillContent})),v=function(q,Pe){var Le={};for(var Ue in q)Object.prototype.hasOwnProperty.call(q,Ue)&&Pe.indexOf(Ue)<0&&(Le[Ue]=q[Ue]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,Ue=Object.getOwnPropertySymbols(q);$e<Ue.length;$e++)Pe.indexOf(Ue[$e])<0&&Object.prototype.propertyIsEnumerable.call(q,Ue[$e])&&(Le[Ue[$e]]=q[Ue[$e]]);return Le},Y=O.forwardRef((q,Pe)=>{const{prefixCls:Le,className:Ue,rootClassName:$e,style:ut,tooltips:dt,character:at=O.createElement(he,null)}=q,Pt=v(q,["prefixCls","className","rootClassName","style","tooltips","character"]),nn=(U,we)=>{let{index:P}=we;return dt?O.createElement(ye.Z,{title:dt[P]},U):U},{getPrefixCls:kt,direction:Nt,rate:lt}=O.useContext(xe.E_),wt=kt("rate",Le),[de,fe]=ae(wt),G=Object.assign(Object.assign({},lt==null?void 0:lt.style),ut);return de(O.createElement(ve,Object.assign({ref:Pe,character:at,characterRender:nn},Pt,{className:M()(Ue,$e,fe,lt==null?void 0:lt.className),style:G,prefixCls:wt,direction:Nt})))})},57809:function(an,it,f){"use strict";var g=f(92310),O=f.n(g),re=f(77861),ge=f(2738),F=f(59301),m=f(53487),w=f(62892),he=f(19080),o=f(36355),M=f(1684),W=f(93891),y=f(19716),b=f(32441),A=f(33234),C=f(14154),K=f(58582),pe=f(84443),B=f(66339),Z=function(Q,j){var ve={};for(var xe in Q)Object.prototype.hasOwnProperty.call(Q,xe)&&j.indexOf(xe)<0&&(ve[xe]=Q[xe]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,xe=Object.getOwnPropertySymbols(Q);ye<xe.length;ye++)j.indexOf(xe[ye])<0&&Object.prototype.propertyIsEnumerable.call(Q,xe[ye])&&(ve[xe[ye]]=Q[xe[ye]]);return ve};const ie="SECRET_COMBOBOX_MODE_DO_NOT_USE",X=(Q,j)=>{var ve,{prefixCls:xe,bordered:ye=!0,className:le,rootClassName:oe,getPopupContainer:H,popupClassName:be,dropdownClassName:J,listHeight:me=256,placement:ae,listItemHeight:v=24,size:_,disabled:Y,notFoundContent:q,status:Pe,builtinPlacements:Le,dropdownMatchSelectWidth:Ue,popupMatchSelectWidth:$e,direction:ut,style:dt,allowClear:at}=Q,Pt=Z(Q,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:nn,getPrefixCls:kt,renderEmpty:Nt,direction:lt,virtual:wt,popupMatchSelectWidth:de,popupOverflow:fe,select:G}=F.useContext(o.E_),U=kt("select",xe),we=kt(),P=ut!=null?ut:lt,{compactSize:T,compactItemClassnames:I}=(0,A.ri)(U,P),[ne,$]=(0,C.Z)(U),V=F.useMemo(()=>{const{mode:Me}=Pt;if(Me!=="combobox")return Me===ie?"combobox":Me},[Pt.mode]),Te=V==="multiple"||V==="tags",He=(0,pe.Z)(Pt.suffixIcon,Pt.showArrow),Ie=(ve=$e!=null?$e:Ue)!==null&&ve!==void 0?ve:de,{status:Fe,hasFeedback:Qe,isFormItemInput:Ze,feedbackIcon:Ve}=F.useContext(b.aM),xt=(0,he.F)(Fe,Pe);let Ct;q!==void 0?Ct=q:V==="combobox"?Ct=null:Ct=(Nt==null?void 0:Nt("Select"))||F.createElement(W.Z,{componentName:"Select"});const{suffixIcon:ft,itemIcon:Ot,removeIcon:Kt,clearIcon:R}=(0,B.Z)(Object.assign(Object.assign({},Pt),{multiple:Te,hasFeedback:Qe,feedbackIcon:Ve,showSuffixIcon:He,prefixCls:U,showArrow:Pt.showArrow,componentName:"Select"})),k=at===!0?{clearIcon:R}:at,bt=(0,ge.Z)(Pt,["suffixIcon","itemIcon"]),Se=O()(be||J,{[`${U}-dropdown-${P}`]:P==="rtl"},oe,$),Ke=(0,y.Z)(Me=>{var Oe;return(Oe=_!=null?_:T)!==null&&Oe!==void 0?Oe:Me}),vn=F.useContext(M.Z),qe=Y!=null?Y:vn,et=O()({[`${U}-lg`]:Ke==="large",[`${U}-sm`]:Ke==="small",[`${U}-rtl`]:P==="rtl",[`${U}-borderless`]:!ye,[`${U}-in-form-item`]:Ze},(0,he.Z)(U,xt,Qe),I,G==null?void 0:G.className,le,oe,$),Xe=F.useMemo(()=>ae!==void 0?ae:P==="rtl"?"bottomRight":"bottomLeft",[ae,P]),_e=(0,K.Z)(Le,fe);return ne(F.createElement(re.ZP,Object.assign({ref:j,virtual:wt,showSearch:G==null?void 0:G.showSearch},bt,{style:Object.assign(Object.assign({},G==null?void 0:G.style),dt),dropdownMatchSelectWidth:Ie,builtinPlacements:_e,transitionName:(0,w.m)(we,"slide-up",Pt.transitionName),listHeight:me,listItemHeight:v,mode:V,prefixCls:U,placement:Xe,direction:P,suffixIcon:ft,menuItemSelectedIcon:Ot,removeIcon:Kt,allowClear:k,notFoundContent:Ct,className:et,getPopupContainer:H||nn,dropdownClassName:Se,disabled:qe})))},L=F.forwardRef(X),D=(0,m.Z)(L);L.SECRET_COMBOBOX_MODE_DO_NOT_USE=ie,L.Option=re.Wx,L.OptGroup=re.Xo,L._InternalPanelDoNotUseOrYouWillBeFired=D,it.default=L},14154:function(an,it,f){"use strict";f.d(it,{Z:function(){return L}});var g=f(17313),O=f(74207),re=f(37613),ge=f(83116),F=f(13826),m=f(92899);const w=D=>{const{optionHeight:Q,optionFontSize:j,optionLineHeight:ve,optionPadding:xe}=D;return{position:"relative",display:"block",minHeight:Q,padding:xe,color:D.colorText,fontWeight:"normal",fontSize:j,lineHeight:ve,boxSizing:"border-box"}};var o=D=>{const{antCls:Q,componentCls:j}=D,ve=`${j}-item`,xe=`&${Q}-slide-up-enter${Q}-slide-up-enter-active`,ye=`&${Q}-slide-up-appear${Q}-slide-up-appear-active`,le=`&${Q}-slide-up-leave${Q}-slide-up-leave-active`,oe=`${j}-dropdown-placement-`;return[{[`${j}-dropdown`]:Object.assign(Object.assign({},(0,g.Wf)(D)),{position:"absolute",top:-9999,zIndex:D.zIndexPopup,boxSizing:"border-box",padding:D.paddingXXS,overflow:"hidden",fontSize:D.fontSize,fontVariant:"initial",backgroundColor:D.colorBgElevated,borderRadius:D.borderRadiusLG,outline:"none",boxShadow:D.boxShadowSecondary,[`
${xe}${oe}bottomLeft,
${ye}${oe}bottomLeft
`]:{animationName:F.fJ},[`
${xe}${oe}topLeft,
${ye}${oe}topLeft,
${xe}${oe}topRight,
${ye}${oe}topRight
`]:{animationName:F.Qt},[`${le}${oe}bottomLeft`]:{animationName:F.Uw},[`
${le}${oe}topLeft,
${le}${oe}topRight
`]:{animationName:F.ly},"&-hidden":{display:"none"},[`${ve}`]:Object.assign(Object.assign({},w(D)),{cursor:"pointer",transition:`background ${D.motionDurationSlow} ease`,borderRadius:D.borderRadiusSM,"&-group":{color:D.colorTextDescription,fontSize:D.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},g.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ve}-option-disabled)`]:{backgroundColor:D.optionActiveBg},[`&-selected:not(${ve}-option-disabled)`]:{color:D.optionSelectedColor,fontWeight:D.optionSelectedFontWeight,backgroundColor:D.optionSelectedBg,[`${ve}-option-state`]:{color:D.colorPrimary}},"&-disabled":{[`&${ve}-option-selected`]:{backgroundColor:D.colorBgContainerDisabled},color:D.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:D.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,F.oN)(D,"slide-up"),(0,F.oN)(D,"slide-down"),(0,m.Fm)(D,"move-up"),(0,m.Fm)(D,"move-down")]};const M=2,W=D=>{let{controlHeightSM:Q,controlHeight:j,lineWidth:ve}=D;const xe=(j-Q)/2-ve,ye=Math.ceil(xe/2);return[xe,ye]};function y(D,Q){const{componentCls:j,iconCls:ve}=D,xe=`${j}-selection-overflow`,ye=D.multipleSelectItemHeight,[le]=W(D),oe=Q?`${j}-${Q}`:"";return{[`${j}-multiple${oe}`]:{fontSize:D.fontSize,[xe]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${j}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${le-M}px ${M*2}px`,borderRadius:D.borderRadius,[`${j}-show-search&`]:{cursor:"text"},[`${j}-disabled&`]:{background:D.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${M}px 0`,lineHeight:`${ye}px`,visibility:"hidden",content:'"\\a0"'}},[`
&${j}-show-arrow ${j}-selector,
&${j}-allow-clear ${j}-selector
`]:{paddingInlineEnd:D.fontSizeIcon+D.controlPaddingHorizontal},[`${j}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:ye,marginTop:M,marginBottom:M,lineHeight:`${ye-D.lineWidth*2}px`,background:D.multipleItemBg,border:`${D.lineWidth}px ${D.lineType} ${D.multipleItemBorderColor}`,borderRadius:D.borderRadiusSM,cursor:"default",transition:`font-size ${D.motionDurationSlow}, line-height ${D.motionDurationSlow}, height ${D.motionDurationSlow}`,userSelect:"none",marginInlineEnd:M*2,paddingInlineStart:D.paddingXS,paddingInlineEnd:D.paddingXS/2,[`${j}-disabled&`]:{color:D.multipleItemColorDisabled,borderColor:D.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:D.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,g.Ro)()),{display:"inline-flex",alignItems:"center",color:D.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ve}`]:{verticalAlign:"-0.2em"},"&:hover":{color:D.colorIconHover}})},[`${xe}-item + ${xe}-item`]:{[`${j}-selection-search`]:{marginInlineStart:0}},[`${j}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:D.inputPaddingHorizontalBase-le,"\n &-input,\n &-mirror\n ":{height:ye,fontFamily:D.fontFamily,lineHeight:`${ye}px`,transition:`all ${D.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${j}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:D.inputPaddingHorizontalBase,insetInlineEnd:D.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${D.motionDurationSlow}`}}}}var A=D=>{const{componentCls:Q}=D,j=(0,re.TS)(D,{controlHeight:D.controlHeightSM,multipleSelectItemHeight:D.controlHeightXS,borderRadius:D.borderRadiusSM,borderRadiusSM:D.borderRadiusXS}),ve=(0,re.TS)(D,{fontSize:D.fontSizeLG,controlHeight:D.controlHeightLG,multipleSelectItemHeight:D.multipleItemHeightLG,borderRadius:D.borderRadiusLG,borderRadiusSM:D.borderRadius}),[,xe]=W(D);return[y(D),y(j,"sm"),{[`${Q}-multiple${Q}-sm`]:{[`${Q}-selection-placeholder`]:{insetInline:D.controlPaddingHorizontalSM-D.lineWidth},[`${Q}-selection-search`]:{marginInlineStart:xe}}},y(ve,"lg")]};function C(D,Q){const{componentCls:j,inputPaddingHorizontalBase:ve,borderRadius:xe}=D,ye=D.controlHeight-D.lineWidth*2,le=Math.ceil(D.fontSize*1.25),oe=Q?`${j}-${Q}`:"";return{[`${j}-single${oe}`]:{fontSize:D.fontSize,[`${j}-selector`]:Object.assign(Object.assign({},(0,g.Wf)(D)),{display:"flex",borderRadius:xe,[`${j}-selection-search`]:{position:"absolute",top:0,insetInlineStart:ve,insetInlineEnd:ve,bottom:0,"&-input":{width:"100%"}},[`
${j}-selection-item,
${j}-selection-placeholder
`]:{padding:0,lineHeight:`${ye}px`,transition:`all ${D.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${ye}px`}},[`${j}-selection-item`]:{position:"relative",userSelect:"none"},[`${j}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${j}-selection-item:after`,`${j}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${j}-show-arrow ${j}-selection-item,
&${j}-show-arrow ${j}-selection-placeholder
`]:{paddingInlineEnd:le},[`&${j}-open ${j}-selection-item`]:{color:D.colorTextPlaceholder},[`&:not(${j}-customize-input)`]:{[`${j}-selector`]:{width:"100%",height:D.controlHeight,padding:`0 ${ve}px`,[`${j}-selection-search-input`]:{height:ye},"&:after":{lineHeight:`${ye}px`}}},[`&${j}-customize-input`]:{[`${j}-selector`]:{"&:after":{display:"none"},[`${j}-selection-search`]:{position:"static",width:"100%"},[`${j}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ve}px`,"&:after":{display:"none"}}}}}}}function K(D){const{componentCls:Q}=D,j=D.controlPaddingHorizontalSM-D.lineWidth;return[C(D),C((0,re.TS)(D,{controlHeight:D.controlHeightSM,borderRadius:D.borderRadiusSM}),"sm"),{[`${Q}-single${Q}-sm`]:{[`&:not(${Q}-customize-input)`]:{[`${Q}-selection-search`]:{insetInlineStart:j,insetInlineEnd:j},[`${Q}-selector`]:{padding:`0 ${j}px`},[`&${Q}-show-arrow ${Q}-selection-search`]:{insetInlineEnd:j+D.fontSize*1.5},[`
&${Q}-show-arrow ${Q}-selection-item,
&${Q}-show-arrow ${Q}-selection-placeholder
`]:{paddingInlineEnd:D.fontSize*1.5}}}},C((0,re.TS)(D,{controlHeight:D.singleItemHeightLG,fontSize:D.fontSizeLG,borderRadius:D.borderRadiusLG}),"lg")]}const pe=D=>{const{componentCls:Q,selectorBg:j}=D;return{position:"relative",backgroundColor:j,border:`${D.lineWidth}px ${D.lineType} ${D.colorBorder}`,transition:`all ${D.motionDurationMid} ${D.motionEaseInOut}`,input:{cursor:"pointer"},[`${Q}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${Q}-disabled&`]:{color:D.colorTextDisabled,background:D.colorBgContainerDisabled,cursor:"not-allowed",[`${Q}-multiple&`]:{background:D.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},B=function(D,Q){let j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:ve,borderHoverColor:xe,outlineColor:ye,antCls:le}=Q,oe=j?{[`${ve}-selector`]:{borderColor:xe}}:{};return{[D]:{[`&:not(${ve}-disabled):not(${ve}-customize-input):not(${le}-pagination-size-changer)`]:Object.assign(Object.assign({},oe),{[`${ve}-focused& ${ve}-selector`]:{borderColor:xe,boxShadow:`0 0 0 ${Q.controlOutlineWidth}px ${ye}`,outline:0},[`&:hover ${ve}-selector`]:{borderColor:xe}})}}},Z=D=>{const{componentCls:Q}=D;return{[`${Q}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ie=D=>{const{componentCls:Q,inputPaddingHorizontalBase:j,iconCls:ve}=D;return{[Q]:Object.assign(Object.assign({},(0,g.Wf)(D)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${Q}-customize-input) ${Q}-selector`]:Object.assign(Object.assign({},pe(D)),Z(D)),[`${Q}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},g.vS),[`${Q}-selection-placeholder`]:Object.assign(Object.assign({},g.vS),{flex:1,color:D.colorTextPlaceholder,pointerEvents:"none"}),[`${Q}-arrow`]:Object.assign(Object.assign({},(0,g.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:j,height:D.fontSizeIcon,marginTop:-D.fontSizeIcon/2,color:D.colorTextQuaternary,fontSize:D.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[ve]:{verticalAlign:"top",transition:`transform ${D.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Q}-suffix)`]:{pointerEvents:"auto"}},[`${Q}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Q}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:j,zIndex:1,display:"inline-block",width:D.fontSizeIcon,height:D.fontSizeIcon,marginTop:-D.fontSizeIcon/2,color:D.colorTextQuaternary,fontSize:D.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:D.clearBg,cursor:"pointer",opacity:0,transition:`color ${D.motionDurationMid} ease, opacity ${D.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:D.colorTextTertiary}},"&:hover":{[`${Q}-clear`]:{opacity:1}}}),[`${Q}-has-feedback`]:{[`${Q}-clear`]:{insetInlineEnd:j+D.fontSize+D.paddingXS}}}},X=D=>{const{componentCls:Q}=D;return[{[Q]:{[`&-borderless ${Q}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${Q}-in-form-item`]:{width:"100%"}}},ie(D),K(D),A(D),o(D),{[`${Q}-rtl`]:{direction:"rtl"}},B(Q,(0,re.TS)(D,{borderHoverColor:D.colorPrimaryHover,outlineColor:D.controlOutline})),B(`${Q}-status-error`,(0,re.TS)(D,{borderHoverColor:D.colorErrorHover,outlineColor:D.colorErrorOutline}),!0),B(`${Q}-status-warning`,(0,re.TS)(D,{borderHoverColor:D.colorWarningHover,outlineColor:D.colorWarningOutline}),!0),(0,O.c)(D,{borderElCls:`${Q}-selector`,focusElCls:`${Q}-focused`})]};var L=(0,ge.Z)("Select",(D,Q)=>{let{rootPrefixCls:j}=Q;const ve=(0,re.TS)(D,{rootPrefixCls:j,inputPaddingHorizontalBase:D.paddingSM-1,multipleSelectItemHeight:D.multipleItemHeight});return[X(ve)]},D=>{const{fontSize:Q,lineHeight:j,controlHeight:ve,controlPaddingHorizontal:xe,zIndexPopupBase:ye,colorText:le,fontWeightStrong:oe,controlItemBgActive:H,controlItemBgHover:be,colorBgContainer:J,colorFillSecondary:me,controlHeightLG:ae,controlHeightSM:v,colorBgContainerDisabled:_,colorTextDisabled:Y}=D;return{zIndexPopup:ye+50,optionSelectedColor:le,optionSelectedFontWeight:oe,optionSelectedBg:H,optionActiveBg:be,optionPadding:`${(ve-Q*j)/2}px ${xe}px`,optionFontSize:Q,optionLineHeight:j,optionHeight:ve,selectorBg:J,clearBg:J,singleItemHeightLG:ae,multipleItemBg:me,multipleItemBorderColor:"transparent",multipleItemHeight:v,multipleItemHeightLG:ve,multipleSelectorBgDisabled:_,multipleItemColorDisabled:Y,multipleItemBorderColorDisabled:"transparent"}})},58582:function(an,it,f){"use strict";f.d(it,{Z:function(){return O}});const g=re=>{const F={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:re==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},F),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},F),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},F),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},F),{points:["br","tr"],offset:[0,-4]})}};function O(re,ge){return re||g(ge)}},84443:function(an,it,f){"use strict";f.d(it,{Z:function(){return g}});function g(O,re){return re!==void 0?re:O!==null}},66339:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});var g=f(40001),O=f(19248),re=f(99267),ge=f(84105),F=f(58617),m=f(47472),w=f(59301);function he(o){let{suffixIcon:M,clearIcon:W,menuItemSelectedIcon:y,removeIcon:b,loading:A,multiple:C,hasFeedback:K,prefixCls:pe,showSuffixIcon:B,feedbackIcon:Z,showArrow:ie,componentName:X}=o;const L=W!=null?W:w.createElement(O.Z,null),D=xe=>M===null&&!K&&!ie?null:w.createElement(w.Fragment,null,B!==!1&&xe,K&&Z);let Q=null;if(M!==void 0)Q=D(M);else if(A)Q=D(w.createElement(F.Z,{spin:!0}));else{const xe=`${pe}-suffix`;Q=ye=>{let{open:le,showSearch:oe}=ye;return D(le&&oe?w.createElement(m.Z,{className:xe}):w.createElement(ge.Z,{className:xe}))}}let j=null;y!==void 0?j=y:C?j=w.createElement(g.Z,null):j=null;let ve=null;return b!==void 0?ve=b:ve=w.createElement(re.Z,null),{clearIcon:L,suffixIcon:Q,itemIcon:j,removeIcon:ve}}},61621:function(an,it,f){"use strict";f.d(it,{Z:function(){return fe}});var g=f(92310),O=f.n(g),re=f(59301),ge=f(36355),F=f(2738),w=G=>{const{prefixCls:U,className:we,style:P,size:T,shape:I}=G,ne=O()({[`${U}-lg`]:T==="large",[`${U}-sm`]:T==="small"}),$=O()({[`${U}-circle`]:I==="circle",[`${U}-square`]:I==="square",[`${U}-round`]:I==="round"}),V=re.useMemo(()=>typeof T=="number"?{width:T,height:T,lineHeight:`${T}px`}:{},[T]);return re.createElement("span",{className:O()(U,ne,$,we),style:Object.assign(Object.assign({},V),P)})},he=f(93083),o=f(83116),M=f(37613);const W=new he.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),y=G=>({height:G,lineHeight:`${G}px`}),b=G=>Object.assign({width:G},y(G)),A=G=>({background:G.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:W,animationDuration:G.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),C=G=>Object.assign({width:G*5,minWidth:G*5},y(G)),K=G=>{const{skeletonAvatarCls:U,gradientFromColor:we,controlHeight:P,controlHeightLG:T,controlHeightSM:I}=G;return{[`${U}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:we},b(P)),[`${U}${U}-circle`]:{borderRadius:"50%"},[`${U}${U}-lg`]:Object.assign({},b(T)),[`${U}${U}-sm`]:Object.assign({},b(I))}},pe=G=>{const{controlHeight:U,borderRadiusSM:we,skeletonInputCls:P,controlHeightLG:T,controlHeightSM:I,gradientFromColor:ne}=G;return{[`${P}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ne,borderRadius:we},C(U)),[`${P}-lg`]:Object.assign({},C(T)),[`${P}-sm`]:Object.assign({},C(I))}},B=G=>Object.assign({width:G},y(G)),Z=G=>{const{skeletonImageCls:U,imageSizeBase:we,gradientFromColor:P,borderRadiusSM:T}=G;return{[`${U}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:P,borderRadius:T},B(we*2)),{[`${U}-path`]:{fill:"#bfbfbf"},[`${U}-svg`]:Object.assign(Object.assign({},B(we)),{maxWidth:we*4,maxHeight:we*4}),[`${U}-svg${U}-svg-circle`]:{borderRadius:"50%"}}),[`${U}${U}-circle`]:{borderRadius:"50%"}}},ie=(G,U,we)=>{const{skeletonButtonCls:P}=G;return{[`${we}${P}-circle`]:{width:U,minWidth:U,borderRadius:"50%"},[`${we}${P}-round`]:{borderRadius:U}}},X=G=>Object.assign({width:G*2,minWidth:G*2},y(G)),L=G=>{const{borderRadiusSM:U,skeletonButtonCls:we,controlHeight:P,controlHeightLG:T,controlHeightSM:I,gradientFromColor:ne}=G;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${we}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ne,borderRadius:U,width:P*2,minWidth:P*2},X(P))},ie(G,P,we)),{[`${we}-lg`]:Object.assign({},X(T))}),ie(G,T,`${we}-lg`)),{[`${we}-sm`]:Object.assign({},X(I))}),ie(G,I,`${we}-sm`))},D=G=>{const{componentCls:U,skeletonAvatarCls:we,skeletonTitleCls:P,skeletonParagraphCls:T,skeletonButtonCls:I,skeletonInputCls:ne,skeletonImageCls:$,controlHeight:V,controlHeightLG:Te,controlHeightSM:He,gradientFromColor:Ie,padding:Fe,marginSM:Qe,borderRadius:Ze,titleHeight:Ve,blockRadius:xt,paragraphLiHeight:Ct,controlHeightXS:ft,paragraphMarginTop:Ot}=G;return{[`${U}`]:{display:"table",width:"100%",[`${U}-header`]:{display:"table-cell",paddingInlineEnd:Fe,verticalAlign:"top",[`${we}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ie},b(V)),[`${we}-circle`]:{borderRadius:"50%"},[`${we}-lg`]:Object.assign({},b(Te)),[`${we}-sm`]:Object.assign({},b(He))},[`${U}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${P}`]:{width:"100%",height:Ve,background:Ie,borderRadius:xt,[`+ ${T}`]:{marginBlockStart:He}},[`${T}`]:{padding:0,"> li":{width:"100%",height:Ct,listStyle:"none",background:Ie,borderRadius:xt,"+ li":{marginBlockStart:ft}}},[`${T}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${U}-content`]:{[`${P}, ${T} > li`]:{borderRadius:Ze}}},[`${U}-with-avatar ${U}-content`]:{[`${P}`]:{marginBlockStart:Qe,[`+ ${T}`]:{marginBlockStart:Ot}}},[`${U}${U}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},L(G)),K(G)),pe(G)),Z(G)),[`${U}${U}-block`]:{width:"100%",[`${I}`]:{width:"100%"},[`${ne}`]:{width:"100%"}},[`${U}${U}-active`]:{[`
${P},
${T} > li,
${we},
${I},
${ne},
${$}
`]:Object.assign({},A(G))}}};var Q=(0,o.Z)("Skeleton",G=>{const{componentCls:U}=G,we=(0,M.TS)(G,{skeletonAvatarCls:`${U}-avatar`,skeletonTitleCls:`${U}-title`,skeletonParagraphCls:`${U}-paragraph`,skeletonButtonCls:`${U}-button`,skeletonInputCls:`${U}-input`,skeletonImageCls:`${U}-image`,imageSizeBase:G.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${G.gradientFromColor} 25%, ${G.gradientToColor} 37%, ${G.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[D(we)]},G=>{const{colorFillContent:U,colorFill:we}=G,P=U,T=we;return{color:P,colorGradientEnd:T,gradientFromColor:P,gradientToColor:T,titleHeight:G.controlHeight/2,blockRadius:G.borderRadiusSM,paragraphMarginTop:G.marginLG+G.marginXXS,paragraphLiHeight:G.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ve=G=>{const{prefixCls:U,className:we,rootClassName:P,active:T,shape:I="circle",size:ne="default"}=G,{getPrefixCls:$}=re.useContext(ge.E_),V=$("skeleton",U),[Te,He]=Q(V),Ie=(0,F.Z)(G,["prefixCls","className"]),Fe=O()(V,`${V}-element`,{[`${V}-active`]:T},we,P,He);return Te(re.createElement("div",{className:Fe},re.createElement(w,Object.assign({prefixCls:`${V}-avatar`,shape:I,size:ne},Ie))))},ye=G=>{const{prefixCls:U,className:we,rootClassName:P,active:T,block:I=!1,size:ne="default"}=G,{getPrefixCls:$}=re.useContext(ge.E_),V=$("skeleton",U),[Te,He]=Q(V),Ie=(0,F.Z)(G,["prefixCls"]),Fe=O()(V,`${V}-element`,{[`${V}-active`]:T,[`${V}-block`]:I},we,P,He);return Te(re.createElement("div",{className:Fe},re.createElement(w,Object.assign({prefixCls:`${V}-button`,size:ne},Ie))))};const le="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var H=G=>{const{prefixCls:U,className:we,rootClassName:P,style:T,active:I}=G,{getPrefixCls:ne}=re.useContext(ge.E_),$=ne("skeleton",U),[V,Te]=Q($),He=O()($,`${$}-element`,{[`${$}-active`]:I},we,P,Te);return V(re.createElement("div",{className:He},re.createElement("div",{className:O()(`${$}-image`,we),style:T},re.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${$}-image-svg`},re.createElement("path",{d:le,className:`${$}-image-path`})))))},J=G=>{const{prefixCls:U,className:we,rootClassName:P,active:T,block:I,size:ne="default"}=G,{getPrefixCls:$}=re.useContext(ge.E_),V=$("skeleton",U),[Te,He]=Q(V),Ie=(0,F.Z)(G,["prefixCls"]),Fe=O()(V,`${V}-element`,{[`${V}-active`]:T,[`${V}-block`]:I},we,P,He);return Te(re.createElement("div",{className:Fe},re.createElement(w,Object.assign({prefixCls:`${V}-input`,size:ne},Ie))))},me=f(72308),ae={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},v=ae,_=f(7657),Y=function(U,we){return re.createElement(_.Z,(0,me.Z)({},U,{ref:we,icon:v}))},q=re.forwardRef(Y),Pe=q,Ue=G=>{const{prefixCls:U,className:we,rootClassName:P,style:T,active:I,children:ne}=G,{getPrefixCls:$}=re.useContext(ge.E_),V=$("skeleton",U),[Te,He]=Q(V),Ie=O()(V,`${V}-element`,{[`${V}-active`]:I},He,we,P),Fe=ne!=null?ne:re.createElement(Pe,null);return Te(re.createElement("div",{className:Ie},re.createElement("div",{className:O()(`${V}-image`,we),style:T},Fe)))},$e=f(80702),dt=G=>{const U=$=>{const{width:V,rows:Te=2}=G;if(Array.isArray(V))return V[$];if(Te-1===$)return V},{prefixCls:we,className:P,style:T,rows:I}=G,ne=(0,$e.Z)(Array(I)).map(($,V)=>re.createElement("li",{key:V,style:{width:U(V)}}));return re.createElement("ul",{className:O()(we,P),style:T},ne)},Pt=G=>{let{prefixCls:U,className:we,width:P,style:T}=G;return re.createElement("h3",{className:O()(U,we),style:Object.assign({width:P},T)})};function nn(G){return G&&typeof G=="object"?G:{}}function kt(G,U){return G&&!U?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Nt(G,U){return!G&&U?{width:"38%"}:G&&U?{width:"50%"}:{}}function lt(G,U){const we={};return(!G||!U)&&(we.width="61%"),!G&&U?we.rows=3:we.rows=2,we}const wt=G=>{const{prefixCls:U,loading:we,className:P,rootClassName:T,style:I,children:ne,avatar:$=!1,title:V=!0,paragraph:Te=!0,active:He,round:Ie}=G,{getPrefixCls:Fe,direction:Qe,skeleton:Ze}=re.useContext(ge.E_),Ve=Fe("skeleton",U),[xt,Ct]=Q(Ve);if(we||!("loading"in G)){const ft=!!$,Ot=!!V,Kt=!!Te;let R;if(ft){const Se=Object.assign(Object.assign({prefixCls:`${Ve}-avatar`},kt(Ot,Kt)),nn($));R=re.createElement("div",{className:`${Ve}-header`},re.createElement(w,Object.assign({},Se)))}let k;if(Ot||Kt){let Se;if(Ot){const vn=Object.assign(Object.assign({prefixCls:`${Ve}-title`},Nt(ft,Kt)),nn(V));Se=re.createElement(Pt,Object.assign({},vn))}let Ke;if(Kt){const vn=Object.assign(Object.assign({prefixCls:`${Ve}-paragraph`},lt(ft,Ot)),nn(Te));Ke=re.createElement(dt,Object.assign({},vn))}k=re.createElement("div",{className:`${Ve}-content`},Se,Ke)}const bt=O()(Ve,{[`${Ve}-with-avatar`]:ft,[`${Ve}-active`]:He,[`${Ve}-rtl`]:Qe==="rtl",[`${Ve}-round`]:Ie},Ze==null?void 0:Ze.className,P,T,Ct);return xt(re.createElement("div",{className:bt,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),I)},R,k))}return typeof ne!="undefined"?ne:null};wt.Button=ye,wt.Avatar=ve,wt.Input=J,wt.Image=H,wt.Node=Ue;var de=wt,fe=de},81327:function(an,it,f){"use strict";f.d(it,{Z:function(){return pe}});var g=f(59301),O=f(92310),re=f.n(O),ge=f(11592),F=f(36355),m=f(33234);const w=g.createContext({latestIndex:0}),he=w.Provider;var M=B=>{let{className:Z,index:ie,children:X,split:L,style:D}=B;const{latestIndex:Q}=g.useContext(w);return X==null?null:g.createElement(g.Fragment,null,g.createElement("div",{className:Z,style:D},X),ie<Q&&L&&g.createElement("span",{className:`${Z}-split`},L))},W=f(2856);function y(B){return["small","middle","large"].includes(B)}function b(B){return B?typeof B=="number"&&!Number.isNaN(B):!1}var A=function(B,Z){var ie={};for(var X in B)Object.prototype.hasOwnProperty.call(B,X)&&Z.indexOf(X)<0&&(ie[X]=B[X]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,X=Object.getOwnPropertySymbols(B);L<X.length;L++)Z.indexOf(X[L])<0&&Object.prototype.propertyIsEnumerable.call(B,X[L])&&(ie[X[L]]=B[X[L]]);return ie};const K=g.forwardRef((B,Z)=>{var ie,X;const{getPrefixCls:L,space:D,direction:Q}=g.useContext(F.E_),{size:j=(D==null?void 0:D.size)||"small",align:ve,className:xe,rootClassName:ye,children:le,direction:oe="horizontal",prefixCls:H,split:be,style:J,wrap:me=!1,classNames:ae,styles:v}=B,_=A(B,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Y,q]=Array.isArray(j)?j:[j,j],Pe=y(q),Le=y(Y),Ue=b(q),$e=b(Y),ut=(0,ge.Z)(le,{keepEmpty:!0}),dt=ve===void 0&&oe==="horizontal"?"center":ve,at=L("space",H),[Pt,nn]=(0,W.Z)(at),kt=re()(at,D==null?void 0:D.className,nn,`${at}-${oe}`,{[`${at}-rtl`]:Q==="rtl",[`${at}-align-${dt}`]:dt,[`${at}-gap-row-${q}`]:Pe,[`${at}-gap-col-${Y}`]:Le},xe,ye),Nt=re()(`${at}-item`,(ie=ae==null?void 0:ae.item)!==null&&ie!==void 0?ie:(X=D==null?void 0:D.classNames)===null||X===void 0?void 0:X.item);let lt=0;const wt=ut.map((G,U)=>{var we,P;G!=null&&(lt=U);const T=G&&G.key||`${Nt}-${U}`;return g.createElement(M,{className:Nt,key:T,index:U,split:be,style:(we=v==null?void 0:v.item)!==null&&we!==void 0?we:(P=D==null?void 0:D.styles)===null||P===void 0?void 0:P.item},G)}),de=g.useMemo(()=>({latestIndex:lt}),[lt]);if(ut.length===0)return null;const fe={};return me&&(fe.flexWrap="wrap"),!Le&&$e&&(fe.columnGap=Y),!Pe&&Ue&&(fe.rowGap=q),Pt(g.createElement("div",Object.assign({ref:Z,className:kt,style:Object.assign(Object.assign(Object.assign({},fe),D==null?void 0:D.style),J)},_),g.createElement(he,{value:de},wt)))});K.Compact=m.ZP;var pe=K},31797:function(an,it,f){"use strict";f.d(it,{default:function(){return Q}});var g=f(59301),O=f(56762),re=f(92343),ge=f(92310),F=f.n(ge),m=f(36355),w=f(61621),o=j=>{const{value:ve,formatter:xe,precision:ye,decimalSeparator:le,groupSeparator:oe="",prefixCls:H}=j;let be;if(typeof xe=="function")be=xe(ve);else{const J=String(ve),me=J.match(/^(-?)(\d*)(\.(\d+))?$/);if(!me||J==="-")be=J;else{const ae=me[1];let v=me[2]||"0",_=me[4]||"";v=v.replace(/\B(?=(\d{3})+(?!\d))/g,oe),typeof ye=="number"&&(_=_.padEnd(ye,"0").slice(0,ye>0?ye:0)),_&&(_=`${le}${_}`),be=[g.createElement("span",{key:"int",className:`${H}-content-value-int`},ae,v),_&&g.createElement("span",{key:"decimal",className:`${H}-content-value-decimal`},_)]}}return g.createElement("span",{className:`${H}-content-value`},be)},M=f(17313),W=f(83116),y=f(37613);const b=j=>{const{componentCls:ve,marginXXS:xe,padding:ye,colorTextDescription:le,titleFontSize:oe,colorTextHeading:H,contentFontSize:be,fontFamily:J}=j;return{[`${ve}`]:Object.assign(Object.assign({},(0,M.Wf)(j)),{[`${ve}-title`]:{marginBottom:xe,color:le,fontSize:oe},[`${ve}-skeleton`]:{paddingTop:ye},[`${ve}-content`]:{color:H,fontSize:be,fontFamily:J,[`${ve}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ve}-content-prefix, ${ve}-content-suffix`]:{display:"inline-block"},[`${ve}-content-prefix`]:{marginInlineEnd:xe},[`${ve}-content-suffix`]:{marginInlineStart:xe}}})}};var A=(0,W.Z)("Statistic",j=>{const ve=(0,y.TS)(j,{});return[b(ve)]},j=>{const{fontSizeHeading3:ve,fontSize:xe}=j;return{titleFontSize:xe,contentFontSize:ve}}),K=j=>{const{prefixCls:ve,className:xe,rootClassName:ye,style:le,valueStyle:oe,value:H=0,title:be,valueRender:J,prefix:me,suffix:ae,loading:v=!1,onMouseEnter:_,onMouseLeave:Y,decimalSeparator:q=".",groupSeparator:Pe=","}=j,{getPrefixCls:Le,direction:Ue,statistic:$e}=g.useContext(m.E_),ut=Le("statistic",ve),[dt,at]=A(ut),Pt=g.createElement(o,Object.assign({decimalSeparator:q,groupSeparator:Pe,prefixCls:ut},j,{value:H})),nn=F()(ut,{[`${ut}-rtl`]:Ue==="rtl"},$e==null?void 0:$e.className,xe,ye,at);return dt(g.createElement("div",{className:nn,style:Object.assign(Object.assign({},$e==null?void 0:$e.style),le),onMouseEnter:_,onMouseLeave:Y},be&&g.createElement("div",{className:`${ut}-title`},be),g.createElement(w.Z,{paragraph:!1,loading:v,className:`${ut}-skeleton`},g.createElement("div",{style:oe,className:`${ut}-content`},me&&g.createElement("span",{className:`${ut}-content-prefix`},me),J?J(Pt):Pt,ae&&g.createElement("span",{className:`${ut}-content-suffix`},ae)))))};const pe=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function B(j,ve){let xe=j;const ye=/\[[^\]]*]/g,le=(ve.match(ye)||[]).map(J=>J.slice(1,-1)),oe=ve.replace(ye,"[]"),H=pe.reduce((J,me)=>{let[ae,v]=me;if(J.includes(ae)){const _=Math.floor(xe/v);return xe-=_*v,J.replace(new RegExp(`${ae}+`,"g"),Y=>{const q=Y.length;return _.toString().padStart(q,"0")})}return J},oe);let be=0;return H.replace(ye,()=>{const J=le[be];return be+=1,J})}function Z(j,ve){const{format:xe=""}=ve,ye=new Date(j).getTime(),le=Date.now(),oe=Math.max(ye-le,0);return B(oe,xe)}const ie=1e3/30;function X(j){return new Date(j).getTime()}const L=j=>{const{value:ve,format:xe="HH:mm:ss",onChange:ye,onFinish:le}=j,oe=(0,O.Z)(),H=g.useRef(null),be=()=>{le==null||le(),H.current&&(clearInterval(H.current),H.current=null)},J=()=>{const v=X(ve);v>=Date.now()&&(H.current=setInterval(()=>{oe(),ye==null||ye(v-Date.now()),v<Date.now()&&be()},ie))};g.useEffect(()=>(J(),()=>{H.current&&(clearInterval(H.current),H.current=null)}),[ve]);const me=(v,_)=>Z(v,Object.assign(Object.assign({},_),{format:xe})),ae=v=>(0,re.Tm)(v,{title:void 0});return g.createElement(K,Object.assign({},j,{valueRender:ae,formatter:me}))};var D=g.memo(L);K.Countdown=D;var Q=K},8378:function(an,it){"use strict";const f=g=>({[g.componentCls]:{[`${g.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${g.motionDurationMid} ${g.motionEaseInOut},
opacity ${g.motionDurationMid} ${g.motionEaseInOut} !important`}},[`${g.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${g.motionDurationMid} ${g.motionEaseInOut},
opacity ${g.motionDurationMid} ${g.motionEaseInOut} !important`}}});it.Z=f},92899:function(an,it,f){"use strict";f.d(it,{Fm:function(){return y}});var g=f(93083),O=f(95406);const re=new g.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ge=new g.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),F=new g.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),m=new g.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),w=new g.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),he=new g.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),o=new g.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),M=new g.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),W={"move-up":{inKeyframes:o,outKeyframes:M},"move-down":{inKeyframes:re,outKeyframes:ge},"move-left":{inKeyframes:F,outKeyframes:m},"move-right":{inKeyframes:w,outKeyframes:he}},y=(b,A)=>{const{antCls:C}=b,K=`${C}-${A}`,{inKeyframes:pe,outKeyframes:B}=W[A];return[(0,O.R)(K,pe,B,b.motionDurationMid),{[`
${K}-enter,
${K}-appear
`]:{opacity:0,animationTimingFunction:b.motionEaseOutCirc},[`${K}-leave`]:{animationTimingFunction:b.motionEaseInOutCirc}}]}},13826:function(an,it,f){"use strict";f.d(it,{Qt:function(){return F},Uw:function(){return ge},fJ:function(){return re},ly:function(){return m},oN:function(){return y}});var g=f(93083),O=f(95406);const re=new g.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),ge=new g.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),F=new g.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),m=new g.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),w=new g.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),he=new g.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),o=new g.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),M=new g.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),W={"slide-up":{inKeyframes:re,outKeyframes:ge},"slide-down":{inKeyframes:F,outKeyframes:m},"slide-left":{inKeyframes:w,outKeyframes:he},"slide-right":{inKeyframes:o,outKeyframes:M}},y=(b,A)=>{const{antCls:C}=b,K=`${C}-${A}`,{inKeyframes:pe,outKeyframes:B}=W[A];return[(0,O.R)(K,pe,B,b.motionDurationMid),{[`
${K}-enter,
${K}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:b.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${K}-leave`]:{animationTimingFunction:b.motionEaseInQuint}}]}},15969:function(an,it,f){"use strict";f.d(it,{N:function(){return g}});const g=O=>({color:O.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${O.motionDurationSlow}`,"&:focus, &:hover":{color:O.colorLinkHover},"&:active":{color:O.colorLinkActive}})},19447:function(an,it,f){"use strict";f.d(it,{ZP:function(){return F},fS:function(){return re},qN:function(){return O}});var g=f(47585);const O=8;function re(m){const w=O,{contentRadius:he,limitVerticalRadius:o}=m,M=he>12?he+2:12;return{dropdownArrowOffset:M,dropdownArrowOffsetVertical:o?w:M}}function ge(m,w){return m?w:{}}function F(m,w){const{componentCls:he,sizePopupArrow:o,borderRadiusXS:M,borderRadiusOuter:W,boxShadowPopoverArrow:y}=m,{colorBg:b,contentRadius:A=m.borderRadiusLG,limitVerticalRadius:C,arrowDistance:K=0,arrowPlacement:pe={left:!0,right:!0,top:!0,bottom:!0}}=w,{dropdownArrowOffsetVertical:B,dropdownArrowOffset:Z}=re({contentRadius:A,limitVerticalRadius:C});return{[he]:Object.assign(Object.assign(Object.assign(Object.assign({[`${he}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,g.r)(o,M,W,b,y)),{"&:before":{background:b}})]},ge(!!pe.top,{[[`&-placement-top ${he}-arrow`,`&-placement-topLeft ${he}-arrow`,`&-placement-topRight ${he}-arrow`].join(",")]:{bottom:K,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${he}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${he}-arrow`]:{left:{_skip_check_:!0,value:Z}},[`&-placement-topRight ${he}-arrow`]:{right:{_skip_check_:!0,value:Z}}})),ge(!!pe.bottom,{[[`&-placement-bottom ${he}-arrow`,`&-placement-bottomLeft ${he}-arrow`,`&-placement-bottomRight ${he}-arrow`].join(",")]:{top:K,transform:"translateY(-100%)"},[`&-placement-bottom ${he}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${he}-arrow`]:{left:{_skip_check_:!0,value:Z}},[`&-placement-bottomRight ${he}-arrow`]:{right:{_skip_check_:!0,value:Z}}})),ge(!!pe.left,{[[`&-placement-left ${he}-arrow`,`&-placement-leftTop ${he}-arrow`,`&-placement-leftBottom ${he}-arrow`].join(",")]:{right:{_skip_check_:!0,value:K},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${he}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${he}-arrow`]:{top:B},[`&-placement-leftBottom ${he}-arrow`]:{bottom:B}})),ge(!!pe.right,{[[`&-placement-right ${he}-arrow`,`&-placement-rightTop ${he}-arrow`,`&-placement-rightBottom ${he}-arrow`].join(",")]:{left:{_skip_check_:!0,value:K},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${he}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${he}-arrow`]:{top:B},[`&-placement-rightBottom ${he}-arrow`]:{bottom:B}}))}}},47585:function(an,it,f){"use strict";f.d(it,{r:function(){return g}});const g=(O,re,ge,F,m)=>{const w=O/2,he=0,o=w,M=ge*1/Math.sqrt(2),W=w-ge*(1-1/Math.sqrt(2)),y=w-re*(1/Math.sqrt(2)),b=ge*(Math.sqrt(2)-1)+re*(1/Math.sqrt(2)),A=2*w-y,C=b,K=2*w-M,pe=W,B=2*w-he,Z=o,ie=w*Math.sqrt(2)+ge*(Math.sqrt(2)-2),X=ge*(Math.sqrt(2)-1);return{pointerEvents:"none",width:O,height:O,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:O,height:O/2,background:F,clipPath:{_multi_value_:!0,value:[`polygon(${X}px 100%, 50% ${X}px, ${2*w-X}px 100%, ${X}px 100%)`,`path('M ${he} ${o} A ${ge} ${ge} 0 0 0 ${M} ${W} L ${y} ${b} A ${re} ${re} 0 0 1 ${A} ${C} L ${K} ${pe} A ${ge} ${ge} 0 0 0 ${B} ${Z} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:ie,height:ie,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${re}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:m,zIndex:0,background:"transparent"}}}},1710:function(an,it,f){"use strict";f.d(it,{default:function(){return Eo}});var g={},O="rc-table-internal-hook",re=f(52487),ge=f(6089),F=f(34280),m=f(13697),w=f(59301),he=f(4676);function o(ce){var Ee=w.createContext(void 0),je=function(st){var ot=st.value,Tt=st.children,Rt=w.useRef(ot);Rt.current=ot;var At=w.useState(function(){return{getValue:function(){return Rt.current},listeners:new Set}}),Mt=(0,re.Z)(At,1),Ce=Mt[0];return(0,F.Z)(function(){(0,he.unstable_batchedUpdates)(function(){Ce.listeners.forEach(function(Qt){Qt(ot)})})},[ot]),w.createElement(Ee.Provider,{value:Ce},Tt)};return{Context:Ee,Provider:je,defaultValue:ce}}function M(ce,Ee){var je=(0,ge.Z)(typeof Ee=="function"?Ee:function(Qt){if(Ee===void 0)return Qt;if(!Array.isArray(Ee))return Qt[Ee];var Sn={};return Ee.forEach(function(hn){Sn[hn]=Qt[hn]}),Sn}),Ye=w.useContext(ce==null?void 0:ce.Context),st=Ye||{},ot=st.listeners,Tt=st.getValue,Rt=w.useRef();Rt.current=je(Ye?Tt():ce==null?void 0:ce.defaultValue);var At=w.useState({}),Mt=(0,re.Z)(At,2),Ce=Mt[1];return(0,F.Z)(function(){if(!Ye)return;function Qt(Sn){var hn=je(Sn);(0,m.Z)(Rt.current,hn,!0)||Ce({})}return ot.add(Qt),function(){ot.delete(Qt)}},[Ye]),Rt.current}var W=f(72308),y=f(8654);function b(){var ce=w.createContext(null);function Ee(){return w.useContext(ce)}function je(st,ot){var Tt=(0,y.Yr)(st),Rt=function(Mt,Ce){var Qt=Tt?{ref:Ce}:{},Sn=w.useRef(0),hn=w.useRef(Mt),bn=Ee();return bn!==null?w.createElement(st,(0,W.Z)({},Mt,Qt)):((!ot||ot(hn.current,Mt))&&(Sn.current+=1),hn.current=Mt,w.createElement(ce.Provider,{value:Sn.current},w.createElement(st,(0,W.Z)({},Mt,Qt))))};return Tt?w.forwardRef(Rt):Rt}function Ye(st,ot){var Tt=(0,y.Yr)(st),Rt=function(Mt,Ce){var Qt=Tt?{ref:Ce}:{};return Ee(),w.createElement(st,(0,W.Z)({},Mt,Qt))};return Tt?w.memo(w.forwardRef(Rt),ot):w.memo(Rt,ot)}return{makeImmutable:je,responseImmutable:Ye,useImmutableMark:Ee}}var A=b(),C=A.makeImmutable,K=A.responseImmutable,pe=A.useImmutableMark,B=b(),Z=B.makeImmutable,ie=B.responseImmutable,X=B.useImmutableMark,L=o(),D=L;function Q(ce,Ee){var je=w.useRef(0);je.current+=1;var Ye=w.useRef(ce),st=[];Object.keys(ce||{}).map(function(Tt){var Rt;(ce==null?void 0:ce[Tt])!==((Rt=Ye.current)===null||Rt===void 0?void 0:Rt[Tt])&&st.push(Tt)}),Ye.current=ce;var ot=w.useRef([]);return st.length&&(ot.current=st),w.useDebugValue(je.current),w.useDebugValue(ot.current.join(", ")),Ee&&console.log("".concat(Ee,":"),je.current,ot.current),je.current}var j=null,ve=w.memo(function(){var ce=Q();return w.createElement("h1",null,"Render Times: ",ce)});ve.displayName="RenderBlock";var xe=f(62853),ye=f(77321),le=f(49618),oe=f(92310),H=f.n(oe),be=f(80547),J=f(97938),me=f(48736),ae=w.createContext({renderWithProps:!1}),v=ae,_="RC_TABLE_KEY";function Y(ce){return ce==null?[]:Array.isArray(ce)?ce:[ce]}function q(ce){var Ee=[],je={};return ce.forEach(function(Ye){for(var st=Ye||{},ot=st.key,Tt=st.dataIndex,Rt=ot||Y(Tt).join("-")||_;je[Rt];)Rt="".concat(Rt,"_next");je[Rt]=!0,Ee.push(Rt)}),Ee}function Pe(ce){return ce!=null}function Le(ce){return ce&&(0,xe.Z)(ce)==="object"&&!Array.isArray(ce)&&!w.isValidElement(ce)}function Ue(ce,Ee,je,Ye,st,ot){var Tt=w.useContext(v),Rt=X(),At=(0,be.Z)(function(){if(Pe(Ye))return[Ye];var Mt=Ee==null||Ee===""?[]:Array.isArray(Ee)?Ee:[Ee],Ce=(0,J.Z)(ce,Mt),Qt=Ce,Sn=void 0;if(st){var hn=st(Ce,ce,je);Le(hn)?(Qt=hn.children,Sn=hn.props,Tt.renderWithProps=!0):Qt=hn}return[Qt,Sn]},[Rt,ce,Ye,Ee,st,je],function(Mt,Ce){if(ot){var Qt=(0,re.Z)(Mt,2),Sn=Qt[1],hn=(0,re.Z)(Ce,2),bn=hn[1];return ot(bn,Sn)}return Tt.renderWithProps?!0:!(0,m.Z)(Mt,Ce,!0)});return At}function $e(ce,Ee,je,Ye){var st=ce+Ee-1;return ce<=Ye&&st>=je}function ut(ce,Ee){return M(D,function(je){var Ye=$e(ce,Ee||1,je.hoverStartRow,je.hoverEndRow);return[Ye,je.onHover]})}var dt=function(Ee){var je=Ee.ellipsis,Ye=Ee.rowType,st=Ee.children,ot,Tt=je===!0?{showTitle:!0}:je;return Tt&&(Tt.showTitle||Ye==="header")&&(typeof st=="string"||typeof st=="number"?ot=st.toString():w.isValidElement(st)&&typeof st.props.children=="string"&&(ot=st.props.children)),ot};function at(ce){var Ee,je,Ye,st,ot,Tt,Rt,At,Mt=ce.component,Ce=ce.children,Qt=ce.ellipsis,Sn=ce.scope,hn=ce.prefixCls,bn=ce.className,Kn=ce.align,Nn=ce.record,zn=ce.render,Un=ce.dataIndex,Yn=ce.renderIndex,Ar=ce.shouldCellUpdate,_r=ce.index,br=ce.rowType,kr=ce.colSpan,Vr=ce.rowSpan,rr=ce.fixLeft,Sr=ce.fixRight,tr=ce.firstFixLeft,Wn=ce.lastFixLeft,pr=ce.firstFixRight,Nr=ce.lastFixRight,Jr=ce.appendNode,se=ce.additionalProps,l=se===void 0?{}:se,d=ce.isSticky,p="".concat(hn,"-cell"),x=M(D,["supportSticky","allColumnsFixedLeft"]),N=x.supportSticky,ue=x.allColumnsFixedLeft,ke=Ue(Nn,Un,Yn,Ce,zn,Ar),ze=(0,re.Z)(ke,2),nt=ze[0],vt=ze[1],Lt={},qt=typeof rr=="number"&&N,Cn=typeof Sr=="number"&&N;qt&&(Lt.position="sticky",Lt.left=rr),Cn&&(Lt.position="sticky",Lt.right=Sr);var en=(Ee=(je=(Ye=vt==null?void 0:vt.colSpan)!==null&&Ye!==void 0?Ye:l.colSpan)!==null&&je!==void 0?je:kr)!==null&&Ee!==void 0?Ee:1,Je=(st=(ot=(Tt=vt==null?void 0:vt.rowSpan)!==null&&Tt!==void 0?Tt:l.rowSpan)!==null&&ot!==void 0?ot:Vr)!==null&&st!==void 0?st:1,xn=ut(_r,Je),Fn=(0,re.Z)(xn,2),cr=Fn[0],Pn=Fn[1],dr=function(yi){var Di;Nn&&Pn(_r,_r+Je-1),l==null||(Di=l.onMouseEnter)===null||Di===void 0||Di.call(l,yi)},Tr=function(yi){var Di;Nn&&Pn(-1,-1),l==null||(Di=l.onMouseLeave)===null||Di===void 0||Di.call(l,yi)};if(en===0||Je===0)return null;var Rr=(Rt=l.title)!==null&&Rt!==void 0?Rt:dt({rowType:br,ellipsis:Qt,children:nt}),fi=H()(p,bn,(At={},(0,le.Z)(At,"".concat(p,"-fix-left"),qt&&N),(0,le.Z)(At,"".concat(p,"-fix-left-first"),tr&&N),(0,le.Z)(At,"".concat(p,"-fix-left-last"),Wn&&N),(0,le.Z)(At,"".concat(p,"-fix-left-all"),Wn&&ue&&N),(0,le.Z)(At,"".concat(p,"-fix-right"),Cn&&N),(0,le.Z)(At,"".concat(p,"-fix-right-first"),pr&&N),(0,le.Z)(At,"".concat(p,"-fix-right-last"),Nr&&N),(0,le.Z)(At,"".concat(p,"-ellipsis"),Qt),(0,le.Z)(At,"".concat(p,"-with-append"),Jr),(0,le.Z)(At,"".concat(p,"-fix-sticky"),(qt||Cn)&&d&&N),(0,le.Z)(At,"".concat(p,"-row-hover"),!vt&&cr),At),l.className,vt==null?void 0:vt.className),hi={};Kn&&(hi.textAlign=Kn);var ki=(0,ye.Z)((0,ye.Z)((0,ye.Z)((0,ye.Z)({},Lt),l.style),hi),vt==null?void 0:vt.style),ci=nt;return(0,xe.Z)(ci)==="object"&&!Array.isArray(ci)&&!w.isValidElement(ci)&&(ci=null),Qt&&(Wn||pr)&&(ci=w.createElement("span",{className:"".concat(p,"-content")},ci)),w.createElement(Mt,(0,W.Z)({},vt,l,{className:fi,style:ki,title:Rr,scope:Sn,onMouseEnter:dr,onMouseLeave:Tr,colSpan:en!==1?en:null,rowSpan:Je!==1?Je:null}),Jr,ci)}var Pt=w.memo(at);function nn(ce,Ee,je,Ye,st,ot){var Tt=je[ce]||{},Rt=je[Ee]||{},At,Mt;Tt.fixed==="left"?At=Ye.left[st==="rtl"?Ee:ce]:Rt.fixed==="right"&&(Mt=Ye.right[st==="rtl"?ce:Ee]);var Ce=!1,Qt=!1,Sn=!1,hn=!1,bn=je[Ee+1],Kn=je[ce-1],Nn=!(ot!=null&&ot.children);if(st==="rtl"){if(At!==void 0){var zn=Kn&&Kn.fixed==="left";hn=!zn&&Nn}else if(Mt!==void 0){var Un=bn&&bn.fixed==="right";Sn=!Un&&Nn}}else if(At!==void 0){var Yn=bn&&bn.fixed==="left";Ce=!Yn&&Nn}else if(Mt!==void 0){var Ar=Kn&&Kn.fixed==="right";Qt=!Ar&&Nn}return{fixLeft:At,fixRight:Mt,lastFixLeft:Ce,firstFixRight:Qt,lastFixRight:Sn,firstFixLeft:hn,isSticky:Ye.isSticky}}var kt=w.createContext({}),Nt=kt;function lt(ce){var Ee=ce.className,je=ce.index,Ye=ce.children,st=ce.colSpan,ot=st===void 0?1:st,Tt=ce.rowSpan,Rt=ce.align,At=M(D,["prefixCls","direction"]),Mt=At.prefixCls,Ce=At.direction,Qt=w.useContext(Nt),Sn=Qt.scrollColumnIndex,hn=Qt.stickyOffsets,bn=Qt.flattenColumns,Kn=Qt.columns,Nn=je+ot-1,zn=Nn+1===Sn?ot+1:ot,Un=nn(je,je+zn-1,bn,hn,Ce,Kn==null?void 0:Kn[je]);return w.createElement(Pt,(0,W.Z)({className:Ee,index:je,component:"td",prefixCls:Mt,record:null,dataIndex:null,align:Rt,colSpan:zn,rowSpan:Tt,render:function(){return Ye}},Un))}var wt=f(74416),de=["children"];function fe(ce){var Ee=ce.children,je=(0,wt.Z)(ce,de);return w.createElement("tr",je,Ee)}function G(ce){var Ee=ce.children;return Ee}G.Row=fe,G.Cell=lt;var U=G;function we(ce){var Ee=ce.children,je=ce.stickyOffsets,Ye=ce.flattenColumns,st=ce.columns,ot=M(D,"prefixCls"),Tt=Ye.length-1,Rt=Ye[Tt],At=w.useMemo(function(){return{stickyOffsets:je,flattenColumns:Ye,scrollColumnIndex:Rt!=null&&Rt.scrollbar?Tt:null,columns:st}},[Rt,Ye,Tt,je,st]);return w.createElement(Nt.Provider,{value:At},w.createElement("tfoot",{className:"".concat(ot,"-summary")},Ee))}var P=ie(we),T=U,I=f(70425),ne=f(29301),$=f(29194),V=f(24514),Te=f(75152),He=f(26112);function Ie(ce,Ee,je,Ye,st,ot,Tt){ce.push({record:Ee,indent:je,index:Tt});var Rt=ot(Ee),At=st==null?void 0:st.has(Rt);if(Ee&&Array.isArray(Ee[Ye])&&At)for(var Mt=0;Mt<Ee[Ye].length;Mt+=1)Ie(ce,Ee[Ye][Mt],je+1,Ye,st,ot,Mt)}function Fe(ce,Ee,je,Ye){var st=w.useMemo(function(){if(je!=null&&je.size){for(var ot=[],Tt=0;Tt<(ce==null?void 0:ce.length);Tt+=1){var Rt=ce[Tt];Ie(ot,Rt,0,Ee,je,Ye,Tt)}return ot}return ce==null?void 0:ce.map(function(At,Mt){return{record:At,indent:0,index:Mt}})},[ce,Ee,je,Ye]);return st}function Qe(ce){var Ee=ce.prefixCls,je=ce.children,Ye=ce.component,st=ce.cellComponent,ot=ce.className,Tt=ce.expanded,Rt=ce.colSpan,At=ce.isEmpty,Mt=M(D,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Ce=Mt.scrollbarSize,Qt=Mt.fixHeader,Sn=Mt.fixColumn,hn=Mt.componentWidth,bn=Mt.horizonScroll,Kn=je;return(At?bn&&hn:Sn)&&(Kn=w.createElement("div",{style:{width:hn-(Qt?Ce:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Ee,"-expanded-row-fixed")},Kn)),w.createElement(Ye,{className:ot,style:{display:Tt?null:"none"}},w.createElement(Pt,{component:st,prefixCls:Ee,colSpan:Rt},Kn))}var Ze=Qe;function Ve(ce,Ee,je,Ye){var st=M(D,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ot=st.flattenColumns,Tt=st.expandableType,Rt=st.expandedKeys,At=st.childrenColumnName,Mt=st.onTriggerExpand,Ce=st.rowExpandable,Qt=st.onRow,Sn=st.expandRowByClick,hn=st.rowClassName,bn=Tt==="nest",Kn=Tt==="row"&&(!Ce||Ce(ce)),Nn=Kn||bn,zn=Rt&&Rt.has(Ee),Un=At&&ce&&ce[At],Yn=(0,I.useEvent)(Mt),Ar=Qt==null?void 0:Qt(ce,je),_r=Ar==null?void 0:Ar.onClick,br=function(Sr){Sn&&Nn&&Mt(ce,Sr);for(var tr=arguments.length,Wn=new Array(tr>1?tr-1:0),pr=1;pr<tr;pr++)Wn[pr-1]=arguments[pr];_r==null||_r.apply(void 0,[Sr].concat(Wn))},kr;typeof hn=="string"?kr=hn:typeof hn=="function"&&(kr=hn(ce,je,Ye));var Vr=q(ot);return(0,ye.Z)((0,ye.Z)({},st),{},{columnsKey:Vr,nestExpandable:bn,expanded:zn,hasNestChildren:Un,record:ce,onTriggerExpand:Yn,rowSupportExpand:Kn,expandable:Nn,rowProps:(0,ye.Z)((0,ye.Z)({},Ar),{},{className:H()(kr,Ar==null?void 0:Ar.className),onClick:br})})}function xt(ce,Ee,je,Ye,st){var ot=ce.record,Tt=ce.prefixCls,Rt=ce.columnsKey,At=ce.fixedInfoList,Mt=ce.expandIconColumnIndex,Ce=ce.nestExpandable,Qt=ce.indentSize,Sn=ce.expandIcon,hn=ce.expanded,bn=ce.hasNestChildren,Kn=ce.onTriggerExpand,Nn=Rt[je],zn=At[je],Un;je===(Mt||0)&&Ce&&(Un=w.createElement(w.Fragment,null,w.createElement("span",{style:{paddingLeft:"".concat(Qt*Ye,"px")},className:"".concat(Tt,"-row-indent indent-level-").concat(Ye)}),Sn({prefixCls:Tt,expanded:hn,expandable:bn,record:ot,onExpand:Kn})));var Yn;return Ee.onCell&&(Yn=Ee.onCell(ot,st)),{key:Nn,fixedInfo:zn,appendCellNode:Un,additionalCellProps:Yn||{}}}function Ct(ce){var Ee=ce.className,je=ce.style,Ye=ce.record,st=ce.index,ot=ce.renderIndex,Tt=ce.rowKey,Rt=ce.indent,At=Rt===void 0?0:Rt,Mt=ce.rowComponent,Ce=ce.cellComponent,Qt=ce.scopeCellComponent,Sn=Ve(Ye,Tt,st,At),hn=Sn.prefixCls,bn=Sn.flattenColumns,Kn=Sn.expandedRowClassName,Nn=Sn.expandedRowRender,zn=Sn.rowProps,Un=Sn.expanded,Yn=Sn.rowSupportExpand,Ar=w.useState(!1),_r=(0,re.Z)(Ar,2),br=_r[0],kr=_r[1];w.useEffect(function(){Un&&kr(!0)},[Un]);var Vr=w.createElement(Mt,(0,W.Z)({},zn,{"data-row-key":Tt,className:H()(Ee,"".concat(hn,"-row"),"".concat(hn,"-row-level-").concat(At),zn==null?void 0:zn.className),style:(0,ye.Z)((0,ye.Z)({},je),zn==null?void 0:zn.style)}),bn.map(function(Wn,pr){var Nr=Wn.render,Jr=Wn.dataIndex,se=Wn.className,l=xt(Sn,Wn,pr,At,st),d=l.key,p=l.fixedInfo,x=l.appendCellNode,N=l.additionalCellProps;return w.createElement(Pt,(0,W.Z)({className:se,ellipsis:Wn.ellipsis,align:Wn.align,scope:Wn.rowScope,component:Wn.rowScope?Qt:Ce,prefixCls:hn,key:d,record:Ye,index:st,renderIndex:ot,dataIndex:Jr,render:Nr,shouldCellUpdate:Wn.shouldCellUpdate},p,{appendNode:x,additionalProps:N}))})),rr;if(Yn&&(br||Un)){var Sr=Nn(Ye,st,At+1,Un),tr=Kn&&Kn(Ye,st,At);rr=w.createElement(Ze,{expanded:Un,className:H()("".concat(hn,"-expanded-row"),"".concat(hn,"-expanded-row-level-").concat(At+1),tr),prefixCls:hn,component:Mt,cellComponent:Ce,colSpan:bn.length,isEmpty:!1},Sr)}return w.createElement(w.Fragment,null,Vr,rr)}Ct.displayName="BodyRow";var ft=ie(Ct);function Ot(ce){var Ee=ce.columnKey,je=ce.onColumnResize,Ye=w.useRef();return w.useEffect(function(){Ye.current&&je(Ee,Ye.current.offsetWidth)},[]),w.createElement(ne.Z,{data:Ee},w.createElement("td",{ref:Ye,style:{padding:0,border:0,height:0}},w.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Kt(ce){var Ee=ce.prefixCls,je=ce.columnsKey,Ye=ce.onColumnResize;return w.createElement("tr",{"aria-hidden":"true",className:"".concat(Ee,"-measure-row"),style:{height:0,fontSize:0}},w.createElement(ne.Z.Collection,{onBatchResize:function(ot){ot.forEach(function(Tt){var Rt=Tt.data,At=Tt.size;Ye(Rt,At.offsetWidth)})}},je.map(function(st){return w.createElement(Ot,{key:st,columnKey:st,onColumnResize:Ye})})))}function R(ce){var Ee=ce.data,je=ce.measureColumnWidth,Ye=M(D,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),st=Ye.prefixCls,ot=Ye.getComponent,Tt=Ye.onColumnResize,Rt=Ye.flattenColumns,At=Ye.getRowKey,Mt=Ye.expandedKeys,Ce=Ye.childrenColumnName,Qt=Ye.emptyNode,Sn=Fe(Ee,Ce,Mt,At),hn=w.useRef({renderWithProps:!1}),bn=ot(["body","wrapper"],"tbody"),Kn=ot(["body","row"],"tr"),Nn=ot(["body","cell"],"td"),zn=ot(["body","cell"],"th"),Un;Ee.length?Un=Sn.map(function(Ar,_r){var br=Ar.record,kr=Ar.indent,Vr=Ar.index,rr=At(br,_r);return w.createElement(ft,{key:rr,rowKey:rr,record:br,index:_r,renderIndex:Vr,rowComponent:Kn,cellComponent:Nn,scopeCellComponent:zn,getRowKey:At,indent:kr})}):Un=w.createElement(Ze,{expanded:!0,className:"".concat(st,"-placeholder"),prefixCls:st,component:Kn,cellComponent:Nn,colSpan:Rt.length,isEmpty:!0},Qt);var Yn=q(Rt);return w.createElement(v.Provider,{value:hn.current},w.createElement(bn,{className:"".concat(st,"-tbody")},je&&w.createElement(Kt,{prefixCls:st,columnsKey:Yn,onColumnResize:Tt}),Un))}R.displayName="Body";var k=ie(R),bt=["expandable"],Se="RC_TABLE_INTERNAL_COL_DEFINE";function Ke(ce){var Ee=ce.expandable,je=(0,wt.Z)(ce,bt),Ye;return"expandable"in ce?Ye=(0,ye.Z)((0,ye.Z)({},je),Ee):Ye=je,Ye.showExpandColumn===!1&&(Ye.expandIconColumnIndex=-1),Ye}var vn=["columnType"];function qe(ce){for(var Ee=ce.colWidths,je=ce.columns,Ye=ce.columCount,st=[],ot=Ye||je.length,Tt=!1,Rt=ot-1;Rt>=0;Rt-=1){var At=Ee[Rt],Mt=je&&je[Rt],Ce=Mt&&Mt[Se];if(At||Ce||Tt){var Qt=Ce||{},Sn=Qt.columnType,hn=(0,wt.Z)(Qt,vn);st.unshift(w.createElement("col",(0,W.Z)({key:Rt,style:{width:At}},hn))),Tt=!0}}return w.createElement("colgroup",null,st)}var et=qe,Xe=f(80702),_e=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Me(ce,Ee){return(0,w.useMemo)(function(){for(var je=[],Ye=0;Ye<Ee;Ye+=1){var st=ce[Ye];if(st!==void 0)je[Ye]=st;else return null}return je},[ce.join("_"),Ee])}var Oe=w.forwardRef(function(ce,Ee){var je=ce.className,Ye=ce.noData,st=ce.columns,ot=ce.flattenColumns,Tt=ce.colWidths,Rt=ce.columCount,At=ce.stickyOffsets,Mt=ce.direction,Ce=ce.fixHeader,Qt=ce.stickyTopOffset,Sn=ce.stickyBottomOffset,hn=ce.stickyClassName,bn=ce.onScroll,Kn=ce.maxContentScroll,Nn=ce.children,zn=(0,wt.Z)(ce,_e),Un=M(D,["prefixCls","scrollbarSize","isSticky"]),Yn=Un.prefixCls,Ar=Un.scrollbarSize,_r=Un.isSticky,br=_r&&!Ce?0:Ar,kr=w.useRef(null),Vr=w.useCallback(function(se){(0,y.mH)(Ee,se),(0,y.mH)(kr,se)},[]);w.useEffect(function(){var se;function l(d){var p=d,x=p.currentTarget,N=p.deltaX;N&&(bn({currentTarget:x,scrollLeft:x.scrollLeft+N}),d.preventDefault())}return(se=kr.current)===null||se===void 0||se.addEventListener("wheel",l),function(){var d;(d=kr.current)===null||d===void 0||d.removeEventListener("wheel",l)}},[]);var rr=w.useMemo(function(){return ot.every(function(se){return se.width})},[ot]),Sr=ot[ot.length-1],tr={fixed:Sr?Sr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Yn,"-cell-scrollbar")}}},Wn=(0,w.useMemo)(function(){return br?[].concat((0,Xe.Z)(st),[tr]):st},[br,st]),pr=(0,w.useMemo)(function(){return br?[].concat((0,Xe.Z)(ot),[tr]):ot},[br,ot]),Nr=(0,w.useMemo)(function(){var se=At.right,l=At.left;return(0,ye.Z)((0,ye.Z)({},At),{},{left:Mt==="rtl"?[].concat((0,Xe.Z)(l.map(function(d){return d+br})),[0]):l,right:Mt==="rtl"?se:[].concat((0,Xe.Z)(se.map(function(d){return d+br})),[0]),isSticky:_r})},[br,At,_r]),Jr=Me(Tt,Rt);return w.createElement("div",{style:(0,ye.Z)({overflow:"hidden"},_r?{top:Qt,bottom:Sn}:{}),ref:Vr,className:H()(je,(0,le.Z)({},hn,!!hn))},w.createElement("table",{style:{tableLayout:"fixed",visibility:Ye||Jr?null:"hidden"}},(!Ye||!Kn||rr)&&w.createElement(et,{colWidths:Jr?[].concat((0,Xe.Z)(Jr),[br]):[],columCount:Rt+1,columns:pr}),Nn((0,ye.Z)((0,ye.Z)({},zn),{},{stickyOffsets:Nr,columns:Wn,flattenColumns:pr}))))});Oe.displayName="FixedHolder";var rt=w.memo(Oe);function Ae(ce){var Ee=ce.cells,je=ce.stickyOffsets,Ye=ce.flattenColumns,st=ce.rowComponent,ot=ce.cellComponent,Tt=ce.tdCellComponent,Rt=ce.onHeaderRow,At=ce.index,Mt=M(D,["prefixCls","direction"]),Ce=Mt.prefixCls,Qt=Mt.direction,Sn;Rt&&(Sn=Rt(Ee.map(function(bn){return bn.column}),At));var hn=q(Ee.map(function(bn){return bn.column}));return w.createElement(st,Sn,Ee.map(function(bn,Kn){var Nn=bn.column,zn=nn(bn.colStart,bn.colEnd,Ye,je,Qt,Nn),Un;return Nn&&Nn.onHeaderCell&&(Un=bn.column.onHeaderCell(Nn)),w.createElement(Pt,(0,W.Z)({},bn,{scope:Nn.title?bn.colSpan>1?"colgroup":"col":null,ellipsis:Nn.ellipsis,align:Nn.align,component:Nn.title?ot:Tt,prefixCls:Ce,key:hn[Kn]},zn,{additionalProps:Un,rowType:"header"}))}))}Ae.displayName="HeaderRow";var rn=Ae;function Ge(ce){var Ee=[];function je(Tt,Rt){var At=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ee[At]=Ee[At]||[];var Mt=Rt,Ce=Tt.filter(Boolean).map(function(Qt){var Sn={key:Qt.key,className:Qt.className||"",children:Qt.title,column:Qt,colStart:Mt},hn=1,bn=Qt.children;return bn&&bn.length>0&&(hn=je(bn,Mt,At+1).reduce(function(Kn,Nn){return Kn+Nn},0),Sn.hasSubColumns=!0),"colSpan"in Qt&&(hn=Qt.colSpan),"rowSpan"in Qt&&(Sn.rowSpan=Qt.rowSpan),Sn.colSpan=hn,Sn.colEnd=Sn.colStart+hn-1,Ee[At].push(Sn),Mt+=hn,hn});return Ce}je(ce,0);for(var Ye=Ee.length,st=function(Rt){Ee[Rt].forEach(function(At){!("rowSpan"in At)&&!At.hasSubColumns&&(At.rowSpan=Ye-Rt)})},ot=0;ot<Ye;ot+=1)st(ot);return Ee}function En(ce){var Ee=ce.stickyOffsets,je=ce.columns,Ye=ce.flattenColumns,st=ce.onHeaderRow,ot=M(D,["prefixCls","getComponent"]),Tt=ot.prefixCls,Rt=ot.getComponent,At=w.useMemo(function(){return Ge(je)},[je]),Mt=Rt(["header","wrapper"],"thead"),Ce=Rt(["header","row"],"tr"),Qt=Rt(["header","cell"],"th"),Sn=Rt(["header","cell"],"td");return w.createElement(Mt,{className:"".concat(Tt,"-thead")},At.map(function(hn,bn){var Kn=w.createElement(rn,{key:bn,flattenColumns:Ye,cells:hn,stickyOffsets:Ee,rowComponent:Ce,cellComponent:Qt,tdCellComponent:Sn,onHeaderRow:st,index:bn});return Kn}))}var Dn=ie(En),tn=f(11592);function Wt(ce){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ee=="number"?Ee:Ee.endsWith("%")?ce*parseFloat(Ee)/100:null}function It(ce,Ee){return w.useMemo(function(){if(Ee&&Ee>0){var je=0,Ye=0;ce.forEach(function(Mt){var Ce=Wt(Ee,Mt.width);Ce?je+=Ce:Ye+=1});var st=Ee-je,ot=Ye,Tt=st/Ye,Rt=0,At=ce.map(function(Mt){var Ce=(0,ye.Z)({},Mt),Qt=Wt(Ee,Ce.width);if(Qt)Ce.width=Qt;else{var Sn=Math.floor(Tt);Ce.width=ot===1?st:Sn,st-=Sn,ot-=1}return Rt+=Ce.width,Ce});return[At,Rt]}return[ce,Ee]},[ce,Ee])}var Bt=["children"],We=["fixed"];function _t(ce){return(0,tn.Z)(ce).filter(function(Ee){return w.isValidElement(Ee)}).map(function(Ee){var je=Ee.key,Ye=Ee.props,st=Ye.children,ot=(0,wt.Z)(Ye,Bt),Tt=(0,ye.Z)({key:je},ot);return st&&(Tt.children=_t(st)),Tt})}function Et(ce){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ce.filter(function(je){return je&&(0,xe.Z)(je)==="object"}).reduce(function(je,Ye,st){var ot=Ye.fixed,Tt=ot===!0?"left":ot,Rt="".concat(Ee,"-").concat(st),At=Ye.children;return At&&At.length>0?[].concat((0,Xe.Z)(je),(0,Xe.Z)(Et(At,Rt).map(function(Mt){return(0,ye.Z)({fixed:Tt},Mt)}))):[].concat((0,Xe.Z)(je),[(0,ye.Z)((0,ye.Z)({key:Rt},Ye),{},{fixed:Tt})])},[])}function Be(ce){for(var Ee=!0,je=0;je<ce.length;je+=1){var Ye=ce[je];if(Ee&&Ye.fixed!=="left")Ee=!1;else if(!Ee&&Ye.fixed==="left"){warning(!1,"Index ".concat(je-1," of `columns` missing `fixed='left'` prop."));break}}for(var st=!0,ot=ce.length-1;ot>=0;ot-=1){var Tt=ce[ot];if(st&&Tt.fixed!=="right")st=!1;else if(!st&&Tt.fixed==="right"){warning(!1,"Index ".concat(ot+1," of `columns` missing `fixed='right'` prop."));break}}}function Re(ce){return ce.map(function(Ee){var je=Ee.fixed,Ye=(0,wt.Z)(Ee,We),st=je;return je==="left"?st="right":je==="right"&&(st="left"),(0,ye.Z)({fixed:st},Ye)})}function pt(ce,Ee){var je=ce.prefixCls,Ye=ce.columns,st=ce.children,ot=ce.expandable,Tt=ce.expandedKeys,Rt=ce.columnTitle,At=ce.getRowKey,Mt=ce.onTriggerExpand,Ce=ce.expandIcon,Qt=ce.rowExpandable,Sn=ce.expandIconColumnIndex,hn=ce.direction,bn=ce.expandRowByClick,Kn=ce.columnWidth,Nn=ce.fixed,zn=ce.scrollWidth,Un=w.useMemo(function(){return Ye||_t(st)},[Ye,st]),Yn=w.useMemo(function(){if(ot){var Sr,tr=Un.slice();if(!tr.includes(g)){var Wn=Sn||0;Wn>=0&&tr.splice(Wn,0,g)}var pr=tr.indexOf(g);tr=tr.filter(function(l,d){return l!==g||d===pr});var Nr=Un[pr],Jr;(Nn==="left"||Nn)&&!Sn?Jr="left":(Nn==="right"||Nn)&&Sn===Un.length?Jr="right":Jr=Nr?Nr.fixed:null;var se=(Sr={},(0,le.Z)(Sr,Se,{className:"".concat(je,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,le.Z)(Sr,"title",Rt),(0,le.Z)(Sr,"fixed",Jr),(0,le.Z)(Sr,"className","".concat(je,"-row-expand-icon-cell")),(0,le.Z)(Sr,"width",Kn),(0,le.Z)(Sr,"render",function(d,p,x){var N=At(p,x),ue=Tt.has(N),ke=Qt?Qt(p):!0,ze=Ce({prefixCls:je,expanded:ue,expandable:ke,record:p,onExpand:Mt});return bn?w.createElement("span",{onClick:function(vt){return vt.stopPropagation()}},ze):ze}),Sr);return tr.map(function(l){return l===g?se:l})}return Un.filter(function(l){return l!==g})},[ot,Un,At,Tt,Ce,hn]),Ar=w.useMemo(function(){var Sr=Yn;return Ee&&(Sr=Ee(Sr)),Sr.length||(Sr=[{render:function(){return null}}]),Sr},[Ee,Yn,hn]),_r=w.useMemo(function(){return hn==="rtl"?Re(Et(Ar)):Et(Ar)},[Ar,hn,zn]),br=It(_r,zn),kr=(0,re.Z)(br,2),Vr=kr[0],rr=kr[1];return[Ar,Vr,rr]}var mt=pt;function Ft(ce){var Ee,je=ce.prefixCls,Ye=ce.record,st=ce.onExpand,ot=ce.expanded,Tt=ce.expandable,Rt="".concat(je,"-row-expand-icon");if(!Tt)return w.createElement("span",{className:H()(Rt,"".concat(je,"-row-spaced"))});var At=function(Ce){st(Ye,Ce),Ce.stopPropagation()};return w.createElement("span",{className:H()(Rt,(Ee={},(0,le.Z)(Ee,"".concat(je,"-row-expanded"),ot),(0,le.Z)(Ee,"".concat(je,"-row-collapsed"),!ot),Ee)),onClick:At})}function Ht(ce,Ee,je){var Ye=[];function st(ot){(ot||[]).forEach(function(Tt,Rt){Ye.push(Ee(Tt,Rt)),st(Tt[je])})}return st(ce),Ye}function sn(ce,Ee,je){var Ye=Ke(ce),st=Ye.expandIcon,ot=Ye.expandedRowKeys,Tt=Ye.defaultExpandedRowKeys,Rt=Ye.defaultExpandAllRows,At=Ye.expandedRowRender,Mt=Ye.onExpand,Ce=Ye.onExpandedRowsChange,Qt=Ye.childrenColumnName,Sn=st||Ft,hn=Qt||"children",bn=w.useMemo(function(){return At?"row":ce.expandable&&ce.internalHooks===O&&ce.expandable.__PARENT_RENDER_ICON__||Ee.some(function(_r){return _r&&(0,xe.Z)(_r)==="object"&&_r[hn]})?"nest":!1},[!!At,Ee]),Kn=w.useState(function(){return Tt||(Rt?Ht(Ee,je,hn):[])}),Nn=(0,re.Z)(Kn,2),zn=Nn[0],Un=Nn[1],Yn=w.useMemo(function(){return new Set(ot||zn||[])},[ot,zn]),Ar=w.useCallback(function(_r){var br=je(_r,Ee.indexOf(_r)),kr,Vr=Yn.has(br);Vr?(Yn.delete(br),kr=(0,Xe.Z)(Yn)):kr=[].concat((0,Xe.Z)(Yn),[br]),Un(kr),Mt&&Mt(!Vr,_r),Ce&&Ce(kr)},[je,Yn,Ee,Mt,Ce]);return[Ye,bn,Yn,Sn,hn,Ar]}function Yt(ce,Ee,je,Ye){var st=ce.map(function(ot,Tt){return nn(Tt,Tt,ce,Ee,je,Ye==null?void 0:Ye[Tt])});return(0,be.Z)(function(){return st},[st],function(ot,Tt){return!(0,m.Z)(ot,Tt)})}function ln(ce){var Ee=(0,w.useRef)(ce),je=(0,w.useState)({}),Ye=(0,re.Z)(je,2),st=Ye[1],ot=(0,w.useRef)(null),Tt=(0,w.useRef)([]);function Rt(At){Tt.current.push(At);var Mt=Promise.resolve();ot.current=Mt,Mt.then(function(){if(ot.current===Mt){var Ce=Tt.current,Qt=Ee.current;Tt.current=[],Ce.forEach(function(Sn){Ee.current=Sn(Ee.current)}),ot.current=null,Qt!==Ee.current&&st({})}})}return(0,w.useEffect)(function(){return function(){ot.current=null}},[]),[Ee.current,Rt]}function mn(ce){var Ee=(0,w.useRef)(ce||null),je=(0,w.useRef)();function Ye(){window.clearTimeout(je.current)}function st(Tt){Ee.current=Tt,Ye(),je.current=window.setTimeout(function(){Ee.current=null,je.current=void 0},100)}function ot(){return Ee.current}return(0,w.useEffect)(function(){return Ye},[]),[st,ot]}function An(){var ce=w.useState(-1),Ee=(0,re.Z)(ce,2),je=Ee[0],Ye=Ee[1],st=w.useState(-1),ot=(0,re.Z)(st,2),Tt=ot[0],Rt=ot[1],At=w.useCallback(function(Mt,Ce){Ye(Mt),Rt(Ce)},[]);return[je,Tt,At]}var Zt=f(47273),Xt=(0,Zt.Z)()?window:null;function on(ce,Ee){var je=(0,xe.Z)(ce)==="object"?ce:{},Ye=je.offsetHeader,st=Ye===void 0?0:Ye,ot=je.offsetSummary,Tt=ot===void 0?0:ot,Rt=je.offsetScroll,At=Rt===void 0?0:Rt,Mt=je.getContainer,Ce=Mt===void 0?function(){return Xt}:Mt,Qt=Ce()||Xt;return w.useMemo(function(){var Sn=!!ce;return{isSticky:Sn,stickyClassName:Sn?"".concat(Ee,"-sticky-holder"):"",offsetHeader:st,offsetSummary:Tt,offsetScroll:At,container:Qt}},[At,st,Tt,Ee,Qt])}function gn(ce,Ee,je){var Ye=(0,w.useMemo)(function(){for(var st=[],ot=[],Tt=0,Rt=0,At=0;At<Ee;At+=1)if(je==="rtl"){ot[At]=Rt,Rt+=ce[At]||0;var Mt=Ee-At-1;st[Mt]=Tt,Tt+=ce[Mt]||0}else{st[At]=Tt,Tt+=ce[At]||0;var Ce=Ee-At-1;ot[Ce]=Rt,Rt+=ce[Ce]||0}return{left:st,right:ot}},[ce,Ee,je]);return Ye}var fn=gn;function Qn(ce){var Ee=ce.className,je=ce.children;return w.createElement("div",{className:Ee},je)}var kn=Qn,cn=f(8224),ht=f(55468),yt=function(Ee,je){var Ye,st,ot=Ee.scrollBodyRef,Tt=Ee.onScroll,Rt=Ee.offsetScroll,At=Ee.container,Mt=M(D,"prefixCls"),Ce=((Ye=ot.current)===null||Ye===void 0?void 0:Ye.scrollWidth)||0,Qt=((st=ot.current)===null||st===void 0?void 0:st.clientWidth)||0,Sn=Ce&&Qt*(Qt/Ce),hn=w.useRef(),bn=ln({scrollLeft:0,isHiddenScrollBar:!1}),Kn=(0,re.Z)(bn,2),Nn=Kn[0],zn=Kn[1],Un=w.useRef({delta:0,x:0}),Yn=w.useState(!1),Ar=(0,re.Z)(Yn,2),_r=Ar[0],br=Ar[1],kr=function(){br(!1)},Vr=function(pr){pr.persist(),Un.current.delta=pr.pageX-Nn.scrollLeft,Un.current.x=0,br(!0),pr.preventDefault()},rr=function(pr){var Nr,Jr=pr||((Nr=window)===null||Nr===void 0?void 0:Nr.event),se=Jr.buttons;if(!_r||se===0){_r&&br(!1);return}var l=Un.current.x+pr.pageX-Un.current.x-Un.current.delta;l<=0&&(l=0),l+Sn>=Qt&&(l=Qt-Sn),Tt({scrollLeft:l/Qt*(Ce+2)}),Un.current.x=pr.pageX},Sr=function(){if(ot.current){var pr=(0,ht.os)(ot.current).top,Nr=pr+ot.current.offsetHeight,Jr=At===window?document.documentElement.scrollTop+window.innerHeight:(0,ht.os)(At).top+At.clientHeight;Nr-(0,Te.Z)()<=Jr||pr>=Jr-Rt?zn(function(se){return(0,ye.Z)((0,ye.Z)({},se),{},{isHiddenScrollBar:!0})}):zn(function(se){return(0,ye.Z)((0,ye.Z)({},se),{},{isHiddenScrollBar:!1})})}},tr=function(pr){zn(function(Nr){return(0,ye.Z)((0,ye.Z)({},Nr),{},{scrollLeft:pr/Ce*Qt||0})})};return w.useImperativeHandle(je,function(){return{setScrollLeft:tr}}),w.useEffect(function(){var Wn=(0,cn.Z)(document.body,"mouseup",kr,!1),pr=(0,cn.Z)(document.body,"mousemove",rr,!1);return Sr(),function(){Wn.remove(),pr.remove()}},[Sn,_r]),w.useEffect(function(){var Wn=(0,cn.Z)(At,"scroll",Sr,!1),pr=(0,cn.Z)(window,"resize",Sr,!1);return function(){Wn.remove(),pr.remove()}},[At]),w.useEffect(function(){Nn.isHiddenScrollBar||zn(function(Wn){var pr=ot.current;return pr?(0,ye.Z)((0,ye.Z)({},Wn),{},{scrollLeft:pr.scrollLeft/pr.scrollWidth*pr.clientWidth}):Wn})},[Nn.isHiddenScrollBar]),Ce<=Qt||!Sn||Nn.isHiddenScrollBar?null:w.createElement("div",{style:{height:(0,Te.Z)(),width:Qt,bottom:Rt},className:"".concat(Mt,"-sticky-scroll")},w.createElement("div",{onMouseDown:Vr,ref:hn,className:H()("".concat(Mt,"-sticky-scroll-bar"),(0,le.Z)({},"".concat(Mt,"-sticky-scroll-bar-active"),_r)),style:{width:"".concat(Sn,"px"),transform:"translate3d(".concat(Nn.scrollLeft,"px, 0, 0)")}}))},Dt=w.forwardRef(yt);function jt(ce){return null}var Ut=jt;function dn(ce){return null}var Gt=dn,yn="rc-table",Tn=[],Ln={};function qn(){return"No Data"}function Vn(ce){var Ee,je=(0,ye.Z)({rowKey:"key",prefixCls:yn,emptyText:qn},ce),Ye=je.prefixCls,st=je.className,ot=je.rowClassName,Tt=je.style,Rt=je.data,At=je.rowKey,Mt=je.scroll,Ce=je.tableLayout,Qt=je.direction,Sn=je.title,hn=je.footer,bn=je.summary,Kn=je.caption,Nn=je.id,zn=je.showHeader,Un=je.components,Yn=je.emptyText,Ar=je.onRow,_r=je.onHeaderRow,br=je.internalHooks,kr=je.transformColumns,Vr=je.internalRefs,rr=je.tailor,Sr=je.sticky,tr=Rt||Tn,Wn=!!tr.length,pr=br===O,Nr=w.useCallback(function(Ai,Gi){return(0,J.Z)(Un,Ai)||Gi},[Un]),Jr=w.useMemo(function(){return typeof At=="function"?At:function(Ai){var Gi=Ai&&Ai[At];return Gi}},[At]),se=Nr(["body"]),l=An(),d=(0,re.Z)(l,3),p=d[0],x=d[1],N=d[2],ue=sn(je,tr,Jr),ke=(0,re.Z)(ue,6),ze=ke[0],nt=ke[1],vt=ke[2],Lt=ke[3],qt=ke[4],Cn=ke[5],en=Mt==null?void 0:Mt.x,Je=w.useState(0),xn=(0,re.Z)(Je,2),Fn=xn[0],cr=xn[1],Pn=mt((0,ye.Z)((0,ye.Z)((0,ye.Z)({},je),ze),{},{expandable:!!ze.expandedRowRender,columnTitle:ze.columnTitle,expandedKeys:vt,getRowKey:Jr,onTriggerExpand:Cn,expandIcon:Lt,expandIconColumnIndex:ze.expandIconColumnIndex,direction:Qt,scrollWidth:pr&&rr&&typeof en=="number"?en:null}),pr?kr:null),dr=(0,re.Z)(Pn,3),Tr=dr[0],Rr=dr[1],fi=dr[2],hi=fi!=null?fi:en,ki=w.useMemo(function(){return{columns:Tr,flattenColumns:Rr}},[Tr,Rr]),ci=w.useRef(),pi=w.useRef(),yi=w.useRef(),Di=w.useRef(),ya=w.useRef(),Gr=w.useState(!1),si=(0,re.Z)(Gr,2),Ei=si[0],Ji=si[1],Xi=w.useState(!1),Ur=(0,re.Z)(Xi,2),qi=Ur[0],ea=Ur[1],ba=ln(new Map),Ia=(0,re.Z)(ba,2),Fa=Ia[0],Bs=Ia[1],rs=q(Rr),La=rs.map(function(Ai){return Fa.get(Ai)}),Sa=w.useMemo(function(){return La},[La.join("_")]),pa=fn(Sa,Rr.length,Qt),ta=Mt&&Pe(Mt.y),Li=Mt&&Pe(hi)||!!ze.fixed,is=Li&&Rr.some(function(Ai){var Gi=Ai.fixed;return Gi}),as=w.useRef(),ps=on(Sr,Ye),ms=ps.isSticky,Ao=ps.offsetHeader,_o=ps.offsetSummary,mi=ps.offsetScroll,Ki=ps.stickyClassName,_a=ps.container,$i=w.useMemo(function(){return bn==null?void 0:bn(tr)},[bn,tr]),Pa=(ta||ms)&&w.isValidElement($i)&&$i.type===U&&$i.props.fixed,ka,Oa,Ds;ta&&(Oa={overflowY:"scroll",maxHeight:Mt.y}),Li&&(ka={overflowX:"auto"},ta||(Oa={overflowY:"hidden"}),Ds={width:hi===!0?"auto":hi,minWidth:"100%"});var Ka=w.useCallback(function(Ai,Gi){(0,$.Z)(ci.current)&&Bs(function($a){if($a.get(Ai)!==Gi){var Is=new Map($a);return Is.set(Ai,Gi),Is}return $a})},[]),zl=mn(null),qo=(0,re.Z)(zl,2),Hl=qo[0],vl=qo[1];function Mo(Ai,Gi){Gi&&(typeof Gi=="function"?Gi(Ai):Gi.scrollLeft!==Ai&&(Gi.scrollLeft=Ai,Gi.scrollLeft!==Ai&&setTimeout(function(){Gi.scrollLeft=Ai},0)))}var ro=(0,ge.Z)(function(Ai){var Gi=Ai.currentTarget,$a=Ai.scrollLeft,Is=Qt==="rtl",Fs=typeof $a=="number"?$a:Gi.scrollLeft,ll=Gi||Ln;if(!vl()||vl()===ll){var Wo;Hl(ll),Mo(Fs,pi.current),Mo(Fs,yi.current),Mo(Fs,ya.current),Mo(Fs,(Wo=as.current)===null||Wo===void 0?void 0:Wo.setScrollLeft)}var Gs=Gi||pi.current;if(Gs){var Vo=Gs.scrollWidth,$s=Gs.clientWidth;if(Vo===$s){Ji(!1),ea(!1);return}Is?(Ji(-Fs<Vo-$s),ea(-Fs>0)):(Ji(Fs>0),ea(Fs<Vo-$s))}}),Vs=function(){Li&&yi.current?ro({currentTarget:yi.current}):(Ji(!1),ea(!1))},yl=function(Gi){var $a=Gi.width;$a!==Fn&&(Vs(),cr(ci.current?ci.current.offsetWidth:$a))},Ks=w.useRef(!1);w.useEffect(function(){Ks.current&&Vs()},[Li,Rt,Tr.length]),w.useEffect(function(){Ks.current=!0},[]);var bl=w.useState(0),Jo=(0,re.Z)(bl,2),wo=Jo[0],ss=Jo[1],Xo=w.useState(!0),Bo=(0,re.Z)(Xo,2),el=Bo[0],Sl=Bo[1];w.useEffect(function(){(!rr||!pr)&&(yi.current instanceof Element?ss((0,Te.o)(yi.current).width):ss((0,Te.o)(Di.current).width)),Sl((0,V.G)("position","sticky"))},[]),w.useEffect(function(){pr&&Vr&&(Vr.body.current=yi.current)});var xl=w.useCallback(function(Ai){return w.createElement(w.Fragment,null,w.createElement(Dn,Ai),Pa==="top"&&w.createElement(P,Ai,$i))},[Pa,$i]),El=w.useCallback(function(Ai){return w.createElement(P,Ai,$i)},[$i]),tl=Nr(["table"],"table"),Co=w.useMemo(function(){return Ce||(is?hi==="max-content"?"auto":"fixed":ta||ms||Rr.some(function(Ai){var Gi=Ai.ellipsis;return Gi})?"fixed":"auto")},[ta,is,Rr,Ce,ms]),To,Ko={colWidths:Sa,columCount:Rr.length,stickyOffsets:pa,onHeaderRow:_r,fixHeader:ta,scroll:Mt},nl=w.useMemo(function(){return Wn?null:typeof Yn=="function"?Yn():Yn},[Wn,Yn]),rl=w.createElement(k,{data:tr,measureColumnWidth:ta||Li||ms}),il=w.createElement(et,{colWidths:Rr.map(function(Ai){var Gi=Ai.width;return Gi}),columns:Rr}),al=Kn!=null?w.createElement("caption",{className:"".concat(Ye,"-caption")},Kn):void 0,Al=(0,He.Z)(je,{data:!0}),sl=(0,He.Z)(je,{aria:!0});if(ta||ms){var zo;typeof se=="function"?(zo=se(tr,{scrollbarSize:wo,ref:yi,onScroll:ro}),Ko.colWidths=Rr.map(function(Ai,Gi){var $a=Ai.width,Is=Gi===Rr.length-1?$a-wo:$a;return typeof Is=="number"&&!Number.isNaN(Is)?Is:0})):zo=w.createElement("div",{style:(0,ye.Z)((0,ye.Z)({},ka),Oa),onScroll:ro,ref:yi,className:H()("".concat(Ye,"-body"))},w.createElement(tl,(0,W.Z)({style:(0,ye.Z)((0,ye.Z)({},Ds),{},{tableLayout:Co})},sl),al,il,rl,!Pa&&$i&&w.createElement(P,{stickyOffsets:pa,flattenColumns:Rr,columns:Tr},$i)));var Ho=(0,ye.Z)((0,ye.Z)((0,ye.Z)({noData:!tr.length,maxContentScroll:Li&&hi==="max-content"},Ko),ki),{},{direction:Qt,stickyClassName:Ki,onScroll:ro});To=w.createElement(w.Fragment,null,zn!==!1&&w.createElement(rt,(0,W.Z)({},Ho,{stickyTopOffset:Ao,className:"".concat(Ye,"-header"),ref:pi}),xl),zo,Pa&&Pa!=="top"&&w.createElement(rt,(0,W.Z)({},Ho,{stickyBottomOffset:_o,className:"".concat(Ye,"-summary"),ref:ya}),El),ms&&w.createElement(Dt,{ref:as,offsetScroll:mi,scrollBodyRef:yi,onScroll:ro,container:_a}))}else To=w.createElement("div",{style:(0,ye.Z)((0,ye.Z)({},ka),Oa),className:H()("".concat(Ye,"-content")),onScroll:ro,ref:yi},w.createElement(tl,(0,W.Z)({style:(0,ye.Z)((0,ye.Z)({},Ds),{},{tableLayout:Co})},sl),al,il,zn!==!1&&w.createElement(Dn,(0,W.Z)({},Ko,ki)),rl,$i&&w.createElement(P,{stickyOffsets:pa,flattenColumns:Rr,columns:Tr},$i)));var io=w.createElement("div",(0,W.Z)({className:H()(Ye,st,(Ee={},(0,le.Z)(Ee,"".concat(Ye,"-rtl"),Qt==="rtl"),(0,le.Z)(Ee,"".concat(Ye,"-ping-left"),Ei),(0,le.Z)(Ee,"".concat(Ye,"-ping-right"),qi),(0,le.Z)(Ee,"".concat(Ye,"-layout-fixed"),Ce==="fixed"),(0,le.Z)(Ee,"".concat(Ye,"-fixed-header"),ta),(0,le.Z)(Ee,"".concat(Ye,"-fixed-column"),is),(0,le.Z)(Ee,"".concat(Ye,"-scroll-horizontal"),Li),(0,le.Z)(Ee,"".concat(Ye,"-has-fix-left"),Rr[0]&&Rr[0].fixed),(0,le.Z)(Ee,"".concat(Ye,"-has-fix-right"),Rr[Rr.length-1]&&Rr[Rr.length-1].fixed==="right"),Ee)),style:Tt,id:Nn,ref:ci},Al),Sn&&w.createElement(kn,{className:"".concat(Ye,"-title")},Sn(tr)),w.createElement("div",{ref:Di,className:"".concat(Ye,"-container")},To),hn&&w.createElement(kn,{className:"".concat(Ye,"-footer")},hn(tr)));Li&&(io=w.createElement(ne.Z,{onResize:yl},io));var ol=Yt(Rr,pa,Qt,Tr),jo=w.useMemo(function(){return{scrollX:hi,prefixCls:Ye,getComponent:Nr,scrollbarSize:wo,direction:Qt,fixedInfoList:ol,isSticky:ms,supportSticky:el,componentWidth:Fn,fixHeader:ta,fixColumn:is,horizonScroll:Li,tableLayout:Co,rowClassName:ot,expandedRowClassName:ze.expandedRowClassName,expandIcon:Lt,expandableType:nt,expandRowByClick:ze.expandRowByClick,expandedRowRender:ze.expandedRowRender,onTriggerExpand:Cn,expandIconColumnIndex:ze.expandIconColumnIndex,indentSize:ze.indentSize,allColumnsFixedLeft:Rr.every(function(Ai){return Ai.fixed==="left"}),emptyNode:nl,columns:Tr,flattenColumns:Rr,onColumnResize:Ka,hoverStartRow:p,hoverEndRow:x,onHover:N,rowExpandable:ze.rowExpandable,onRow:Ar,getRowKey:Jr,expandedKeys:vt,childrenColumnName:qt}},[hi,Ye,Nr,wo,Qt,ol,ms,el,Fn,ta,is,Li,Co,ot,ze.expandedRowClassName,Lt,nt,ze.expandRowByClick,ze.expandedRowRender,Cn,ze.expandIconColumnIndex,ze.indentSize,nl,Tr,Rr,Ka,p,x,N,ze.rowExpandable,Ar,Jr,vt,qt]);return w.createElement(D.Provider,{value:jo},io)}function fr(ce){return Z(Vn,ce)}var Rn=fr();Rn.EXPAND_COLUMN=g,Rn.INTERNAL_HOOKS=O,Rn.Column=Ut,Rn.ColumnGroup=Gt,Rn.Summary=T;var In=Rn,mr=f(45680),gr=o(null),Dr=o(null);function ar(ce,Ee,je){var Ye=Ee||1;return je[ce+Ye]-(je[ce]||0)}function sr(ce){var Ee=ce.rowInfo,je=ce.column,Ye=ce.colIndex,st=ce.indent,ot=ce.index,Tt=ce.renderIndex,Rt=ce.record,At=ce.style,Mt=ce.className,Ce=ce.inverse,Qt=ce.getHeight,Sn=je.render,hn=je.dataIndex,bn=je.className,Kn=je.width,Nn=M(Dr,["columnsOffset"]),zn=Nn.columnsOffset,Un=xt(Ee,je,Ye,st,ot),Yn=Un.key,Ar=Un.fixedInfo,_r=Un.appendCellNode,br=Un.additionalCellProps,kr=br.style,Vr=br.colSpan,rr=Vr===void 0?1:Vr,Sr=br.rowSpan,tr=Sr===void 0?1:Sr,Wn=Ye-1,pr=ar(Wn,rr,zn),Nr=rr>1?Kn-pr:0,Jr=(0,ye.Z)((0,ye.Z)((0,ye.Z)({},kr),At),{},{flex:"0 0 ".concat(pr,"px"),width:"".concat(pr,"px"),marginRight:Nr,pointerEvents:"auto"}),se=w.useMemo(function(){return Ce?tr<=1:rr===0||tr===0||tr>1},[tr,rr,Ce]);se?Jr.visibility="hidden":Ce&&(Jr.height=Qt==null?void 0:Qt(tr));var l=se?function(){return null}:Sn,d={};return(tr===0||rr===0)&&(d.rowSpan=1,d.colSpan=1),w.createElement(Pt,(0,W.Z)({className:H()(bn,Mt),ellipsis:je.ellipsis,align:je.align,scope:je.rowScope,component:"div",prefixCls:Ee.prefixCls,key:Yn,record:Rt,index:ot,renderIndex:Tt,dataIndex:hn,render:l,shouldCellUpdate:je.shouldCellUpdate},Ar,{appendNode:_r,additionalProps:(0,ye.Z)((0,ye.Z)({},br),{},{style:Jr},d)}))}var wr=sr,ir=["data","index","className","rowKey","style","extra","getHeight"],Pr=w.forwardRef(function(ce,Ee){var je=ce.data,Ye=ce.index,st=ce.className,ot=ce.rowKey,Tt=ce.style,Rt=ce.extra,At=ce.getHeight,Mt=(0,wt.Z)(ce,ir),Ce=je.record,Qt=je.indent,Sn=je.index,hn=M(D,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),bn=hn.scrollX,Kn=hn.flattenColumns,Nn=hn.prefixCls,zn=hn.fixColumn,Un=hn.componentWidth,Yn=Ve(Ce,ot,Ye,Qt),Ar=Yn.rowSupportExpand,_r=Yn.expanded,br=Yn.rowProps,kr=Yn.expandedRowRender,Vr=Yn.expandedRowClassName,rr;if(Ar&&_r){var Sr=kr(Ce,Ye,Qt+1,_r),tr=Vr==null?void 0:Vr(Ce,Ye,Qt),Wn={};zn&&(Wn={style:(0,le.Z)({},"--virtual-width","".concat(Un,"px"))});var pr="".concat(Nn,"-expanded-row-cell");rr=w.createElement("div",{className:H()("".concat(Nn,"-expanded-row"),"".concat(Nn,"-expanded-row-level-").concat(Qt+1),tr)},w.createElement(Pt,{component:"div",prefixCls:Nn,className:H()(pr,(0,le.Z)({},"".concat(pr,"-fixed"),zn)),additionalProps:Wn},Sr))}var Nr=(0,ye.Z)((0,ye.Z)({},Tt),{},{width:bn});Rt&&(Nr.position="absolute",Nr.pointerEvents="none");var Jr=w.createElement("div",(0,W.Z)({},br,Mt,{ref:Ar?null:Ee,className:H()(st,"".concat(Nn,"-row"),br==null?void 0:br.className,(0,le.Z)({},"".concat(Nn,"-row-extra"),Rt)),style:(0,ye.Z)((0,ye.Z)({},Nr),br==null?void 0:br.style)}),Kn.map(function(se,l){return w.createElement(wr,{key:l,rowInfo:Yn,column:se,colIndex:l,indent:Qt,index:Ye,renderIndex:Sn,record:Ce,inverse:Rt,getHeight:At})}));return Ar?w.createElement("div",{ref:Ee},Jr,rr):Jr}),ei=ie(Pr),er=ei,Hn=w.forwardRef(function(ce,Ee){var je=ce.data,Ye=ce.onScroll,st=M(D,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),ot=st.flattenColumns,Tt=st.onColumnResize,Rt=st.getRowKey,At=st.expandedKeys,Mt=st.prefixCls,Ce=st.childrenColumnName,Qt=st.emptyNode,Sn=st.scrollX,hn=M(gr),bn=hn.scrollY,Kn=hn.listItemHeight,Nn=w.useRef(),zn=Fe(je,Ce,At,Rt),Un=w.useMemo(function(){var rr=0;return ot.map(function(Sr){var tr=Sr.width,Wn=Sr.key;return rr+=tr,[Wn,tr,rr]})},[ot]),Yn=w.useMemo(function(){return Un.map(function(rr){return rr[2]})},[Un]);w.useEffect(function(){Un.forEach(function(rr){var Sr=(0,re.Z)(rr,2),tr=Sr[0],Wn=Sr[1];Tt(tr,Wn)})},[Un]),w.useImperativeHandle(Ee,function(){var rr={};return Object.defineProperty(rr,"scrollLeft",{get:function(){var tr;return((tr=Nn.current)===null||tr===void 0?void 0:tr.getScrollInfo().x)||0},set:function(tr){var Wn;(Wn=Nn.current)===null||Wn===void 0||Wn.scrollTo({left:tr})}}),rr});var Ar=function(Sr,tr){var Wn,pr=(Wn=zn[tr])===null||Wn===void 0?void 0:Wn.record,Nr=Sr.onCell;if(Nr){var Jr,se=Nr(pr,tr);return(Jr=se==null?void 0:se.rowSpan)!==null&&Jr!==void 0?Jr:1}return 1},_r=function(Sr){var tr=Sr.start,Wn=Sr.end,pr=Sr.getSize,Nr=Sr.offsetY;if(Wn<0)return null;for(var Jr=ot.filter(function(en){return Ar(en,tr)===0}),se=tr,l=function(Je){if(Jr=Jr.filter(function(xn){return Ar(xn,Je)===0}),!Jr.length)return se=Je,"break"},d=tr;d>=0;d-=1){var p=l(d);if(p==="break")break}for(var x=ot.filter(function(en){return Ar(en,Wn)!==1}),N=Wn,ue=function(Je){if(x=x.filter(function(xn){return Ar(xn,Je)!==1}),!x.length)return N=Math.max(Je-1,Wn),"break"},ke=Wn;ke<zn.length;ke+=1){var ze=ue(ke);if(ze==="break")break}for(var nt=[],vt=function(Je){var xn=zn[Je];if(!xn)return"continue";ot.some(function(Fn){return Ar(Fn,Je)>1})&&nt.push(Je)},Lt=se;Lt<=N;Lt+=1)var qt=vt(Lt);var Cn=nt.map(function(en){var Je=zn[en],xn=Rt(Je.record,en),Fn=function(dr){var Tr=en+dr-1,Rr=Rt(zn[Tr].record,Tr),fi=pr(xn,Rr);return fi.bottom-fi.top},cr=pr(xn);return w.createElement(er,{key:en,data:Je,rowKey:xn,index:en,style:{top:-Nr+cr.top},extra:!0,getHeight:Fn})});return Cn},br=w.useMemo(function(){return{columnsOffset:Yn}},[Yn]),kr="".concat(Mt,"-tbody"),Vr;return zn.length?Vr=w.createElement(mr.Z,{fullHeight:!1,ref:Nn,className:H()(kr,"".concat(kr,"-virtual")),height:bn,itemHeight:Kn||24,data:zn,itemKey:function(Sr){return Rt(Sr.record)},scrollWidth:Sn,onVirtualScroll:function(Sr){var tr=Sr.x;Ye({scrollLeft:tr})},extraRender:_r},function(rr,Sr,tr){var Wn=Rt(rr.record,Sr);return w.createElement(er,(0,W.Z)({data:rr,rowKey:Wn,index:Sr},tr))}):Vr=w.createElement("div",{className:H()("".concat(Mt,"-placeholder"))},w.createElement(Pt,{component:"div",prefixCls:Mt},Qt)),w.createElement(Dr.Provider,{value:br},Vr)}),gt=ie(Hn),Bn=gt,lr=function(Ee,je){var Ye=je.ref,st=je.onScroll;return w.createElement(Bn,{ref:Ye,data:Ee,onScroll:st})},nr=100;function Fr(ce){var Ee=ce.columns,je=ce.scroll,Ye=ce.prefixCls,st=Ye===void 0?yn:Ye,ot=ce.className,Tt=ce.listItemHeight,Rt=je||{},At=Rt.x,Mt=Rt.y;typeof At!="number"&&(At=((Ee||[]).length+1)*nr),typeof Mt!="number"&&(Mt=500);var Ce=w.useMemo(function(){return{scrollY:Mt,listItemHeight:Tt}},[Mt,Tt]);return w.createElement(gr.Provider,{value:Ce},w.createElement(In,(0,W.Z)({},ce,{className:H()(ot,"".concat(st,"-virtual")),scroll:(0,ye.Z)((0,ye.Z)({},je),{},{x:At}),components:{body:lr},columns:Ee,internalHooks:O,tailor:!0})))}function zr(ce){return Z(Fr,ce)}var Zr=zr(),hr=null;function Yr(ce){return null}var jn=Yr;function On(ce){return null}var Er=On,Or=f(2738),ti=f(68031),Ii=f(36355),Gn=f(93891),ri=f(19716),Qr=f(8628),di=f(31724),Oi=f(58421),bi=f(71418),ii=f(88088);function Ci(ce){return function(je){let{prefixCls:Ye,onExpand:st,record:ot,expanded:Tt,expandable:Rt}=je;const At=`${Ye}-row-expand-icon`;return w.createElement("button",{type:"button",onClick:Mt=>{st(ot,Mt),Mt.stopPropagation()},className:H()(At,{[`${At}-spaced`]:!Rt,[`${At}-expanded`]:Rt&&Tt,[`${At}-collapsed`]:Rt&&!Tt}),"aria-label":Tt?ce.collapse:ce.expand,"aria-expanded":Tt})}}var oi=Ci;function Bi(ce,Ee){return"key"in ce&&ce.key!==void 0&&ce.key!==null?ce.key:ce.dataIndex?Array.isArray(ce.dataIndex)?ce.dataIndex.join("."):ce.dataIndex:Ee}function Cr(ce,Ee){return Ee?`${Ee}-${ce}`:`${ce}`}function Yi(ce,Ee){return typeof ce=="function"?ce(Ee):ce}function Hi(ce,Ee){const je=Yi(ce,Ee);return Object.prototype.toString.call(je)==="[object Object]"?"":je}var Qi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},$r=Qi,ca=f(7657),ma=function(Ee,je){return w.createElement(ca.Z,(0,W.Z)({},Ee,{ref:je,icon:$r}))},ua=w.forwardRef(ma),Mr=ua,da=f(56762);function wa(ce){const Ee=w.useRef(ce),je=(0,da.Z)();return[()=>Ee.current,Ye=>{Ee.current=Ye,je()}]}var Mn=f(3113),Ui=f(24905),ia=f(38854),vr=f(64165),xr=f(20834),ur=f(40875),Jn=f(5112),Hr=f(17574),ai=f(47472),ji=f(92832);function Pi(ce){let{value:Ee,onChange:je,filterSearch:Ye,tablePrefixCls:st,locale:ot}=ce;return Ye?w.createElement("div",{className:`${st}-filter-dropdown-search`},w.createElement(ji.default,{prefix:w.createElement(ai.Z,null),placeholder:ot.filterSearchPlaceholder,onChange:je,value:Ee,htmlSize:1,className:`${st}-filter-dropdown-search-input`})):null}var Ti=Pi,Br=f(10228);const Ni=ce=>{const{keyCode:Ee}=ce;Ee===Br.Z.ENTER&&ce.stopPropagation()};var Na=w.forwardRef((ce,Ee)=>w.createElement("div",{className:ce.className,onClick:je=>je.stopPropagation(),onKeyDown:Ni,ref:Ee},ce.children));function fa(ce){let Ee=[];return(ce||[]).forEach(je=>{let{value:Ye,children:st}=je;Ee.push(Ye),st&&(Ee=[].concat((0,Xe.Z)(Ee),(0,Xe.Z)(fa(st))))}),Ee}function sa(ce){return ce.some(Ee=>{let{children:je}=Ee;return je})}function or(ce,Ee){return typeof Ee=="string"||typeof Ee=="number"?Ee==null?void 0:Ee.toString().toLowerCase().includes(ce.trim().toLowerCase()):!1}function Lr(ce){let{filters:Ee,prefixCls:je,filteredKeys:Ye,filterMultiple:st,searchValue:ot,filterSearch:Tt}=ce;return Ee.map((Rt,At)=>{const Mt=String(Rt.value);if(Rt.children)return{key:Mt||At,label:Rt.text,popupClassName:`${je}-dropdown-submenu`,children:Lr({filters:Rt.children,prefixCls:je,filteredKeys:Ye,filterMultiple:st,searchValue:ot,filterSearch:Tt})};const Ce=st?Ui.default:Jn.ZP,Qt={key:Rt.value!==void 0?Mt:At,label:w.createElement(w.Fragment,null,w.createElement(Ce,{checked:Ye.includes(Mt)}),w.createElement("span",null,Rt.text))};return ot.trim()?typeof Tt=="function"?Tt(ot,Rt)?Qt:null:or(ot,Rt.text)?Qt:null:Qt})}function Si(ce){var Ee,je;const{tablePrefixCls:Ye,prefixCls:st,column:ot,dropdownPrefixCls:Tt,columnKey:Rt,filterMultiple:At,filterMode:Mt="menu",filterSearch:Ce=!1,filterState:Qt,triggerFilter:Sn,locale:hn,children:bn,getPopupContainer:Kn}=ce,{filterDropdownOpen:Nn,onFilterDropdownOpenChange:zn,filterResetToDefaultFilteredValue:Un,defaultFilteredValue:Yn,filterDropdownVisible:Ar,onFilterDropdownVisibleChange:_r}=ot,[br,kr]=w.useState(!1),Vr=!!(Qt&&(!((Ee=Qt.filteredKeys)===null||Ee===void 0)&&Ee.length||Qt.forceFiltered)),rr=Pn=>{kr(Pn),zn==null||zn(Pn),_r==null||_r(Pn)},Sr=(je=Nn!=null?Nn:Ar)!==null&&je!==void 0?je:br,tr=Qt==null?void 0:Qt.filteredKeys,[Wn,pr]=wa(tr||[]),Nr=Pn=>{let{selectedKeys:dr}=Pn;pr(dr)},Jr=(Pn,dr)=>{let{node:Tr,checked:Rr}=dr;Nr(At?{selectedKeys:Pn}:{selectedKeys:Rr&&Tr.key?[Tr.key]:[]})};w.useEffect(()=>{br&&Nr({selectedKeys:tr||[]})},[tr]);const[se,l]=w.useState([]),d=Pn=>{l(Pn)},[p,x]=w.useState(""),N=Pn=>{const{value:dr}=Pn.target;x(dr)};w.useEffect(()=>{br||x("")},[br]);const ue=Pn=>{const dr=Pn&&Pn.length?Pn:null;if(dr===null&&(!Qt||!Qt.filteredKeys)||(0,m.Z)(dr,Qt==null?void 0:Qt.filteredKeys,!0))return null;Sn({column:ot,key:Rt,filteredKeys:dr})},ke=()=>{rr(!1),ue(Wn())},ze=function(){let{confirm:Pn,closeDropdown:dr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Pn&&ue([]),dr&&rr(!1),x(""),pr(Un?(Yn||[]).map(Tr=>String(Tr)):[])},nt=function(){let{closeDropdown:Pn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Pn&&rr(!1),ue(Wn())},vt=Pn=>{Pn&&tr!==void 0&&pr(tr||[]),rr(Pn),!Pn&&!ot.filterDropdown&&ke()},Lt=H()({[`${Tt}-menu-without-submenu`]:!sa(ot.filters||[])}),qt=Pn=>{if(Pn.target.checked){const dr=fa(ot==null?void 0:ot.filters).map(Tr=>String(Tr));pr(dr)}else pr([])},Cn=Pn=>{let{filters:dr}=Pn;return(dr||[]).map((Tr,Rr)=>{const fi=String(Tr.value),hi={title:Tr.text,key:Tr.value!==void 0?fi:Rr};return Tr.children&&(hi.children=Cn({filters:Tr.children})),hi})},en=Pn=>{var dr;return Object.assign(Object.assign({},Pn),{text:Pn.title,value:Pn.key,children:((dr=Pn.children)===null||dr===void 0?void 0:dr.map(Tr=>en(Tr)))||[]})};let Je;if(typeof ot.filterDropdown=="function")Je=ot.filterDropdown({prefixCls:`${Tt}-custom`,setSelectedKeys:Pn=>Nr({selectedKeys:Pn}),selectedKeys:Wn(),confirm:nt,clearFilters:ze,filters:ot.filters,visible:Sr,close:()=>{rr(!1)}});else if(ot.filterDropdown)Je=ot.filterDropdown;else{const Pn=Wn()||[],dr=()=>(ot.filters||[]).length===0?w.createElement(vr.Z,{image:vr.Z.PRESENTED_IMAGE_SIMPLE,description:hn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Mt==="tree"?w.createElement(w.Fragment,null,w.createElement(Ti,{filterSearch:Ce,value:p,onChange:N,tablePrefixCls:Ye,locale:hn}),w.createElement("div",{className:`${Ye}-filter-dropdown-tree`},At?w.createElement(Ui.default,{checked:Pn.length===fa(ot.filters).length,indeterminate:Pn.length>0&&Pn.length<fa(ot.filters).length,className:`${Ye}-filter-dropdown-checkall`,onChange:qt},hn.filterCheckall):null,w.createElement(Hr.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:At,checkStrictly:!At,className:`${Tt}-menu`,onCheck:Jr,checkedKeys:Pn,selectedKeys:Pn,showIcon:!1,treeData:Cn({filters:ot.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:p.trim()?Rr=>typeof Ce=="function"?Ce(p,en(Rr)):or(p,Rr.title):void 0}))):w.createElement(w.Fragment,null,w.createElement(Ti,{filterSearch:Ce,value:p,onChange:N,tablePrefixCls:Ye,locale:hn}),w.createElement(xr.default,{selectable:!0,multiple:At,prefixCls:`${Tt}-menu`,className:Lt,onSelect:Nr,onDeselect:Nr,selectedKeys:Pn,getPopupContainer:Kn,openKeys:se,onOpenChange:d,items:Lr({filters:ot.filters||[],filterSearch:Ce,prefixCls:st,filteredKeys:Wn(),filterMultiple:At,searchValue:p})})),Tr=()=>Un?(0,m.Z)((Yn||[]).map(Rr=>String(Rr)),Pn,!0):Pn.length===0;Je=w.createElement(w.Fragment,null,dr(),w.createElement("div",{className:`${st}-dropdown-btns`},w.createElement(Mn.ZP,{type:"link",size:"small",disabled:Tr(),onClick:()=>ze()},hn.filterReset),w.createElement(Mn.ZP,{type:"primary",size:"small",onClick:ke},hn.filterConfirm)))}ot.filterDropdown&&(Je=w.createElement(ur.J,{selectable:void 0},Je));const xn=()=>w.createElement(Na,{className:`${st}-dropdown`},Je);let Fn;typeof ot.filterIcon=="function"?Fn=ot.filterIcon(Vr):ot.filterIcon?Fn=ot.filterIcon:Fn=w.createElement(Mr,null);const{direction:cr}=w.useContext(Ii.E_);return w.createElement("div",{className:`${st}-column`},w.createElement("span",{className:`${Ye}-column-title`},bn),w.createElement(ia.Z,{dropdownRender:xn,trigger:["click"],open:Sr,onOpenChange:vt,getPopupContainer:Kn,placement:cr==="rtl"?"bottomLeft":"bottomRight"},w.createElement("span",{role:"button",tabIndex:-1,className:H()(`${st}-trigger`,{active:Vr}),onClick:Pn=>{Pn.stopPropagation()}},Fn)))}var Wi=Si;function gi(ce,Ee,je){let Ye=[];return(ce||[]).forEach((st,ot)=>{var Tt;const Rt=Cr(ot,je);if(st.filters||"filterDropdown"in st||"onFilter"in st)if("filteredValue"in st){let At=st.filteredValue;"filterDropdown"in st||(At=(Tt=At==null?void 0:At.map(String))!==null&&Tt!==void 0?Tt:At),Ye.push({column:st,key:Bi(st,Rt),filteredKeys:At,forceFiltered:st.filtered})}else Ye.push({column:st,key:Bi(st,Rt),filteredKeys:Ee&&st.defaultFilteredValue?st.defaultFilteredValue:void 0,forceFiltered:st.filtered});"children"in st&&(Ye=[].concat((0,Xe.Z)(Ye),(0,Xe.Z)(gi(st.children,Ee,Rt))))}),Ye}function ga(ce,Ee,je,Ye,st,ot,Tt,Rt){return je.map((At,Mt)=>{const Ce=Cr(Mt,Rt),{filterMultiple:Qt=!0,filterMode:Sn,filterSearch:hn}=At;let bn=At;if(bn.filters||bn.filterDropdown){const Kn=Bi(bn,Ce),Nn=Ye.find(zn=>{let{key:Un}=zn;return Kn===Un});bn=Object.assign(Object.assign({},bn),{title:zn=>w.createElement(Wi,{tablePrefixCls:ce,prefixCls:`${ce}-filter`,dropdownPrefixCls:Ee,column:bn,columnKey:Kn,filterState:Nn,filterMultiple:Qt,filterMode:Sn,filterSearch:hn,triggerFilter:ot,locale:st,getPopupContainer:Tt},Yi(At.title,zn))})}return"children"in bn&&(bn=Object.assign(Object.assign({},bn),{children:ga(ce,Ee,bn.children,Ye,st,ot,Tt,Ce)})),bn})}function Ta(ce){const Ee={};return ce.forEach(je=>{let{key:Ye,filteredKeys:st,column:ot}=je;const{filters:Tt,filterDropdown:Rt}=ot;if(Rt)Ee[Ye]=st||null;else if(Array.isArray(st)){const At=fa(Tt);Ee[Ye]=At.filter(Mt=>st.includes(String(Mt)))}else Ee[Ye]=null}),Ee}function ja(ce,Ee){return Ee.reduce((je,Ye)=>{const{column:{onFilter:st,filters:ot},filteredKeys:Tt}=Ye;return st&&Tt&&Tt.length?je.filter(Rt=>Tt.some(At=>{const Mt=fa(ot),Ce=Mt.findIndex(Sn=>String(Sn)===String(At)),Qt=Ce!==-1?Mt[Ce]:At;return st(Qt,Rt)})):je},ce)}const va=ce=>ce.flatMap(Ee=>"children"in Ee?[Ee].concat((0,Xe.Z)(va(Ee.children||[]))):[Ee]);function os(ce){let{prefixCls:Ee,dropdownPrefixCls:je,mergedColumns:Ye,onFilterChange:st,getPopupContainer:ot,locale:Tt}=ce;const Rt=w.useMemo(()=>va(Ye||[]),[Ye]),[At,Mt]=w.useState(()=>gi(Rt,!0)),Ce=w.useMemo(()=>{const bn=gi(Rt,!1);if(bn.length===0)return bn;let Kn=!0,Nn=!0;if(bn.forEach(zn=>{let{filteredKeys:Un}=zn;Un!==void 0?Kn=!1:Nn=!1}),Kn){const zn=(Rt||[]).map((Un,Yn)=>Bi(Un,Cr(Yn)));return At.filter(Un=>{let{key:Yn}=Un;return zn.includes(Yn)}).map(Un=>{const Yn=Rt[zn.findIndex(Ar=>Ar===Un.key)];return Object.assign(Object.assign({},Un),{column:Object.assign(Object.assign({},Un.column),Yn),forceFiltered:Yn.filtered})})}return bn},[Rt,At]),Qt=w.useMemo(()=>Ta(Ce),[Ce]),Sn=bn=>{const Kn=Ce.filter(Nn=>{let{key:zn}=Nn;return zn!==bn.key});Kn.push(bn),Mt(Kn),st(Ta(Kn),Kn)};return[bn=>ga(Ee,je,bn,Ce,Tt,Sn,ot),Ce,Qt]}var ys=os;function Ya(ce,Ee,je){const Ye=w.useRef({});function st(ot){if(!Ye.current||Ye.current.data!==ce||Ye.current.childrenColumnName!==Ee||Ye.current.getRowKey!==je){let Rt=function(At){At.forEach((Mt,Ce)=>{const Qt=je(Mt,Ce);Tt.set(Qt,Mt),Mt&&typeof Mt=="object"&&Ee in Mt&&Rt(Mt[Ee]||[])})};const Tt=new Map;Rt(ce),Ye.current={data:ce,childrenColumnName:Ee,kvMap:Tt,getRowKey:je}}return Ye.current.kvMap.get(ot)}return[st]}var ls=f(50371),xa=function(ce,Ee){var je={};for(var Ye in ce)Object.prototype.hasOwnProperty.call(ce,Ye)&&Ee.indexOf(Ye)<0&&(je[Ye]=ce[Ye]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Ye=Object.getOwnPropertySymbols(ce);st<Ye.length;st++)Ee.indexOf(Ye[st])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ye[st])&&(je[Ye[st]]=ce[Ye[st]]);return je};const Ea=10;function Ra(ce,Ee){const je={current:ce.current,pageSize:ce.pageSize};return Object.keys(Ee&&typeof Ee=="object"?Ee:{}).forEach(st=>{const ot=ce[st];typeof ot!="function"&&(je[st]=ot)}),je}function us(ce,Ee,je){const Ye=je&&typeof je=="object"?je:{},{total:st=0}=Ye,ot=xa(Ye,["total"]),[Tt,Rt]=(0,w.useState)(()=>({current:"defaultCurrent"in ot?ot.defaultCurrent:1,pageSize:"defaultPageSize"in ot?ot.defaultPageSize:Ea})),At=(0,ls.Z)(Tt,ot,{total:st>0?st:ce}),Mt=Math.ceil((st||ce)/At.pageSize);At.current>Mt&&(At.current=Mt||1);const Ce=(Sn,hn)=>{Rt({current:Sn!=null?Sn:1,pageSize:hn||At.pageSize})},Qt=(Sn,hn)=>{var bn;je&&((bn=je.onChange)===null||bn===void 0||bn.call(je,Sn,hn)),Ce(Sn,hn),Ee(Sn,hn||(At==null?void 0:At.pageSize))};return je===!1?[{},()=>{}]:[Object.assign(Object.assign({},At),{onChange:Qt}),Ce]}var Qa=us,qa=f(84105),za=f(35654),li=f(90782),qr=f(71430),aa=f(18929);const Vi={},vi="SELECT_ALL",oa="SELECT_INVERT",la="SELECT_NONE",Da=[],Aa=(ce,Ee)=>{let je=[];return(Ee||[]).forEach(Ye=>{je.push(Ye),Ye&&typeof Ye=="object"&&ce in Ye&&(je=[].concat((0,Xe.Z)(je),(0,Xe.Z)(Aa(ce,Ye[ce]))))}),je};var Ma=(ce,Ee)=>{const{preserveSelectedRowKeys:je,selectedRowKeys:Ye,defaultSelectedRowKeys:st,getCheckboxProps:ot,onChange:Tt,onSelect:Rt,onSelectAll:At,onSelectInvert:Mt,onSelectNone:Ce,onSelectMultiple:Qt,columnWidth:Sn,type:hn,selections:bn,fixed:Kn,renderCell:Nn,hideSelectAll:zn,checkStrictly:Un=!0}=Ee||{},{prefixCls:Yn,data:Ar,pageData:_r,getRecordByKey:br,getRowKey:kr,expandType:Vr,childrenColumnName:rr,locale:Sr,getPopupContainer:tr}=ce,[Wn,pr]=(0,aa.Z)(Ye||st||Da,{value:Ye}),Nr=w.useRef(new Map),Jr=(0,w.useCallback)(en=>{if(je){const Je=new Map;en.forEach(xn=>{let Fn=br(xn);!Fn&&Nr.current.has(xn)&&(Fn=Nr.current.get(xn)),Je.set(xn,Fn)}),Nr.current=Je}},[br,je]);w.useEffect(()=>{Jr(Wn)},[Wn]);const{keyEntities:se}=(0,w.useMemo)(()=>{if(Un)return{keyEntities:null};let en=Ar;if(je){const Je=new Set(Ar.map((Fn,cr)=>kr(Fn,cr))),xn=Array.from(Nr.current).reduce((Fn,cr)=>{let[Pn,dr]=cr;return Je.has(Pn)?Fn:Fn.concat(dr)},[]);en=[].concat((0,Xe.Z)(en),(0,Xe.Z)(xn))}return(0,qr.I8)(en,{externalGetKey:kr,childrenPropName:rr})},[Ar,kr,Un,rr,je]),l=(0,w.useMemo)(()=>Aa(rr,_r),[rr,_r]),d=(0,w.useMemo)(()=>{const en=new Map;return l.forEach((Je,xn)=>{const Fn=kr(Je,xn),cr=(ot?ot(Je):null)||{};en.set(Fn,cr)}),en},[l,kr,ot]),p=(0,w.useCallback)(en=>{var Je;return!!(!((Je=d.get(kr(en)))===null||Je===void 0)&&Je.disabled)},[d,kr]),[x,N]=(0,w.useMemo)(()=>{if(Un)return[Wn||[],[]];const{checkedKeys:en,halfCheckedKeys:Je}=(0,li.S)(Wn,!0,se,p);return[en||[],Je]},[Wn,Un,se,p]),ue=(0,w.useMemo)(()=>{const en=hn==="radio"?x.slice(0,1):x;return new Set(en)},[x,hn]),ke=(0,w.useMemo)(()=>hn==="radio"?new Set:new Set(N),[N,hn]),[ze,nt]=(0,w.useState)(null);w.useEffect(()=>{Ee||pr(Da)},[!!Ee]);const vt=(0,w.useCallback)((en,Je)=>{let xn,Fn;Jr(en),je?(xn=en,Fn=en.map(cr=>Nr.current.get(cr))):(xn=[],Fn=[],en.forEach(cr=>{const Pn=br(cr);Pn!==void 0&&(xn.push(cr),Fn.push(Pn))})),pr(xn),Tt==null||Tt(xn,Fn,{type:Je})},[pr,br,Tt,je]),Lt=(0,w.useCallback)((en,Je,xn,Fn)=>{if(Rt){const cr=xn.map(Pn=>br(Pn));Rt(br(en),Je,cr,Fn)}vt(xn,"single")},[Rt,br,vt]),qt=(0,w.useMemo)(()=>!bn||zn?null:(bn===!0?[vi,oa,la]:bn).map(Je=>Je===vi?{key:"all",text:Sr.selectionAll,onSelect(){vt(Ar.map((xn,Fn)=>kr(xn,Fn)).filter(xn=>{const Fn=d.get(xn);return!(Fn!=null&&Fn.disabled)||ue.has(xn)}),"all")}}:Je===oa?{key:"invert",text:Sr.selectInvert,onSelect(){const xn=new Set(ue);_r.forEach((cr,Pn)=>{const dr=kr(cr,Pn),Tr=d.get(dr);Tr!=null&&Tr.disabled||(xn.has(dr)?xn.delete(dr):xn.add(dr))});const Fn=Array.from(xn);Mt&&Mt(Fn),vt(Fn,"invert")}}:Je===la?{key:"none",text:Sr.selectNone,onSelect(){Ce==null||Ce(),vt(Array.from(ue).filter(xn=>{const Fn=d.get(xn);return Fn==null?void 0:Fn.disabled}),"none")}}:Je).map(Je=>Object.assign(Object.assign({},Je),{onSelect:function(){for(var xn,Fn,cr=arguments.length,Pn=new Array(cr),dr=0;dr<cr;dr++)Pn[dr]=arguments[dr];(Fn=Je.onSelect)===null||Fn===void 0||(xn=Fn).call.apply(xn,[Je].concat(Pn)),nt(null)}})),[bn,ue,_r,kr,Mt,vt]);return[(0,w.useCallback)(en=>{var Je;if(!Ee)return en.filter(Gr=>Gr!==Vi);let xn=(0,Xe.Z)(en);const Fn=new Set(ue),cr=l.map(kr).filter(Gr=>!d.get(Gr).disabled),Pn=cr.every(Gr=>Fn.has(Gr)),dr=cr.some(Gr=>Fn.has(Gr)),Tr=()=>{const Gr=[];Pn?cr.forEach(Ei=>{Fn.delete(Ei),Gr.push(Ei)}):cr.forEach(Ei=>{Fn.has(Ei)||(Fn.add(Ei),Gr.push(Ei))});const si=Array.from(Fn);At==null||At(!Pn,si.map(Ei=>br(Ei)),Gr.map(Ei=>br(Ei))),vt(si,"all"),nt(null)};let Rr;if(hn!=="radio"){let Gr;if(qt){const Ur={getPopupContainer:tr,items:qt.map((qi,ea)=>{const{key:ba,text:Ia,onSelect:Fa}=qi;return{key:ba!=null?ba:ea,onClick:()=>{Fa==null||Fa(cr)},label:Ia}})};Gr=w.createElement("div",{className:`${Yn}-selection-extra`},w.createElement(ia.Z,{menu:Ur,getPopupContainer:tr},w.createElement("span",null,w.createElement(qa.Z,null))))}const si=l.map((Ur,qi)=>{const ea=kr(Ur,qi),ba=d.get(ea)||{};return Object.assign({checked:Fn.has(ea)},ba)}).filter(Ur=>{let{disabled:qi}=Ur;return qi}),Ei=!!si.length&&si.length===l.length,Ji=Ei&&si.every(Ur=>{let{checked:qi}=Ur;return qi}),Xi=Ei&&si.some(Ur=>{let{checked:qi}=Ur;return qi});Rr=!zn&&w.createElement("div",{className:`${Yn}-selection`},w.createElement(Ui.default,{checked:Ei?Ji:!!l.length&&Pn,indeterminate:Ei?!Ji&&Xi:!Pn&&dr,onChange:Tr,disabled:l.length===0||Ei,"aria-label":Gr?"Custom selection":"Select all",skipGroup:!0}),Gr)}let fi;hn==="radio"?fi=(Gr,si,Ei)=>{const Ji=kr(si,Ei),Xi=Fn.has(Ji);return{node:w.createElement(Jn.ZP,Object.assign({},d.get(Ji),{checked:Xi,onClick:Ur=>Ur.stopPropagation(),onChange:Ur=>{Fn.has(Ji)||Lt(Ji,!0,[Ji],Ur.nativeEvent)}})),checked:Xi}}:fi=(Gr,si,Ei)=>{var Ji;const Xi=kr(si,Ei),Ur=Fn.has(Xi),qi=ke.has(Xi),ea=d.get(Xi);let ba;return Vr==="nest"?ba=qi:ba=(Ji=ea==null?void 0:ea.indeterminate)!==null&&Ji!==void 0?Ji:qi,{node:w.createElement(Ui.default,Object.assign({},ea,{indeterminate:ba,checked:Ur,skipGroup:!0,onClick:Ia=>Ia.stopPropagation(),onChange:Ia=>{let{nativeEvent:Fa}=Ia;const{shiftKey:Bs}=Fa;let rs=-1,La=-1;if(Bs&&Un){const Sa=new Set([ze,Xi]);cr.some((pa,ta)=>{if(Sa.has(pa))if(rs===-1)rs=ta;else return La=ta,!0;return!1})}if(La!==-1&&rs!==La&&Un){const Sa=cr.slice(rs,La+1),pa=[];Ur?Sa.forEach(Li=>{Fn.has(Li)&&(pa.push(Li),Fn.delete(Li))}):Sa.forEach(Li=>{Fn.has(Li)||(pa.push(Li),Fn.add(Li))});const ta=Array.from(Fn);Qt==null||Qt(!Ur,ta.map(Li=>br(Li)),pa.map(Li=>br(Li))),vt(ta,"multiple")}else{const Sa=x;if(Un){const pa=Ur?(0,za._5)(Sa,Xi):(0,za.L0)(Sa,Xi);Lt(Xi,!Ur,pa,Fa)}else{const pa=(0,li.S)([].concat((0,Xe.Z)(Sa),[Xi]),!0,se,p),{checkedKeys:ta,halfCheckedKeys:Li}=pa;let is=ta;if(Ur){const as=new Set(ta);as.delete(Xi),is=(0,li.S)(Array.from(as),{checked:!1,halfCheckedKeys:Li},se,p).checkedKeys}Lt(Xi,!Ur,is,Fa)}}nt(Ur?null:Xi)}})),checked:Ur}};const hi=(Gr,si,Ei)=>{const{node:Ji,checked:Xi}=fi(Gr,si,Ei);return Nn?Nn(Xi,si,Ei,Ji):Ji};if(!xn.includes(Vi))if(xn.findIndex(Gr=>{var si;return((si=Gr[Se])===null||si===void 0?void 0:si.columnType)==="EXPAND_COLUMN"})===0){const[Gr,...si]=xn;xn=[Gr,Vi].concat((0,Xe.Z)(si))}else xn=[Vi].concat((0,Xe.Z)(xn));const ki=xn.indexOf(Vi);xn=xn.filter((Gr,si)=>Gr!==Vi||si===ki);const ci=xn[ki-1],pi=xn[ki+1];let yi=Kn;yi===void 0&&((pi==null?void 0:pi.fixed)!==void 0?yi=pi.fixed:(ci==null?void 0:ci.fixed)!==void 0&&(yi=ci.fixed)),yi&&ci&&((Je=ci[Se])===null||Je===void 0?void 0:Je.columnType)==="EXPAND_COLUMN"&&ci.fixed===void 0&&(ci.fixed=yi);const Di=H()(`${Yn}-selection-col`,{[`${Yn}-selection-col-with-dropdown`]:bn&&hn==="checkbox"}),ya={fixed:yi,width:Sn,className:`${Yn}-selection-column`,title:Ee.columnTitle||Rr,render:hi,onCell:Ee.onCell,[Se]:{className:Di}};return xn.map(Gr=>Gr===Vi?ya:Gr)},[kr,l,Ee,x,ue,ke,Sn,qt,Vr,ze,d,Qt,Lt,p]),ue]},bs=f(89489),Ps=f(59477),Ua=f(6848);const Xa="ascend",_s="descend";function es(ce){return typeof ce.sorter=="object"&&typeof ce.sorter.multiple=="number"?ce.sorter.multiple:!1}function Ss(ce){return typeof ce=="function"?ce:ce&&typeof ce=="object"&&ce.compare?ce.compare:!1}function ws(ce,Ee){return Ee?ce[ce.indexOf(Ee)+1]:ce[0]}function cs(ce,Ee,je){let Ye=[];function st(ot,Tt){Ye.push({column:ot,key:Bi(ot,Tt),multiplePriority:es(ot),sortOrder:ot.sortOrder})}return(ce||[]).forEach((ot,Tt)=>{const Rt=Cr(Tt,je);ot.children?("sortOrder"in ot&&st(ot,Rt),Ye=[].concat((0,Xe.Z)(Ye),(0,Xe.Z)(cs(ot.children,Ee,Rt)))):ot.sorter&&("sortOrder"in ot?st(ot,Rt):Ee&&ot.defaultSortOrder&&Ye.push({column:ot,key:Bi(ot,Rt),multiplePriority:es(ot),sortOrder:ot.defaultSortOrder}))}),Ye}function ts(ce,Ee,je,Ye,st,ot,Tt,Rt){return(Ee||[]).map((At,Mt)=>{const Ce=Cr(Mt,Rt);let Qt=At;if(Qt.sorter){const Sn=Qt.sortDirections||st,hn=Qt.showSorterTooltip===void 0?Tt:Qt.showSorterTooltip,bn=Bi(Qt,Ce),Kn=je.find(Vr=>{let{key:rr}=Vr;return rr===bn}),Nn=Kn?Kn.sortOrder:null,zn=ws(Sn,Nn);let Un;if(At.sortIcon)Un=At.sortIcon({sortOrder:Nn});else{const Vr=Sn.includes(Xa)&&w.createElement(Ps.Z,{className:H()(`${ce}-column-sorter-up`,{active:Nn===Xa})}),rr=Sn.includes(_s)&&w.createElement(bs.Z,{className:H()(`${ce}-column-sorter-down`,{active:Nn===_s})});Un=w.createElement("span",{className:H()(`${ce}-column-sorter`,{[`${ce}-column-sorter-full`]:!!(Vr&&rr)})},w.createElement("span",{className:`${ce}-column-sorter-inner`,"aria-hidden":"true"},Vr,rr))}const{cancelSort:Yn,triggerAsc:Ar,triggerDesc:_r}=ot||{};let br=Yn;zn===_s?br=_r:zn===Xa&&(br=Ar);const kr=typeof hn=="object"?hn:{title:br};Qt=Object.assign(Object.assign({},Qt),{className:H()(Qt.className,{[`${ce}-column-sort`]:Nn}),title:Vr=>{const rr=w.createElement("div",{className:`${ce}-column-sorters`},w.createElement("span",{className:`${ce}-column-title`},Yi(At.title,Vr)),Un);return hn?w.createElement(Ua.Z,Object.assign({},kr),rr):rr},onHeaderCell:Vr=>{const rr=At.onHeaderCell&&At.onHeaderCell(Vr)||{},Sr=rr.onClick,tr=rr.onKeyDown;rr.onClick=Nr=>{Ye({column:At,key:bn,sortOrder:zn,multiplePriority:es(At)}),Sr==null||Sr(Nr)},rr.onKeyDown=Nr=>{Nr.keyCode===Br.Z.ENTER&&(Ye({column:At,key:bn,sortOrder:zn,multiplePriority:es(At)}),tr==null||tr(Nr))};const Wn=Hi(At.title,{}),pr=Wn==null?void 0:Wn.toString();return Nn?rr["aria-sort"]=Nn==="ascend"?"ascending":"descending":rr["aria-label"]=pr||"",rr.className=H()(rr.className,`${ce}-column-has-sorters`),rr.tabIndex=0,At.ellipsis&&(rr.title=(Wn!=null?Wn:"").toString()),rr}})}return"children"in Qt&&(Qt=Object.assign(Object.assign({},Qt),{children:ts(ce,Qt.children,je,Ye,st,ot,Tt,Ce)})),Qt})}function Wa(ce){const{column:Ee,sortOrder:je}=ce;return{column:Ee,order:je,field:Ee.dataIndex,columnKey:Ee.key}}function Cs(ce){const Ee=ce.filter(je=>{let{sortOrder:Ye}=je;return Ye}).map(Wa);return Ee.length===0&&ce.length?Object.assign(Object.assign({},Wa(ce[ce.length-1])),{column:void 0}):Ee.length<=1?Ee[0]||{}:Ee}function Ri(ce,Ee,je){const Ye=Ee.slice().sort((Tt,Rt)=>Rt.multiplePriority-Tt.multiplePriority),st=ce.slice(),ot=Ye.filter(Tt=>{let{column:{sorter:Rt},sortOrder:At}=Tt;return Ss(Rt)&&At});return ot.length?st.sort((Tt,Rt)=>{for(let At=0;At<ot.length;At+=1){const Mt=ot[At],{column:{sorter:Ce},sortOrder:Qt}=Mt,Sn=Ss(Ce);if(Sn&&Qt){const hn=Sn(Tt,Rt,Qt);if(hn!==0)return Qt===Xa?hn:-hn}}return 0}).map(Tt=>{const Rt=Tt[je];return Rt?Object.assign(Object.assign({},Tt),{[je]:Ri(Rt,Ee,je)}):Tt}):st}function Fi(ce){let{prefixCls:Ee,mergedColumns:je,onSorterChange:Ye,sortDirections:st,tableLocale:ot,showSorterTooltip:Tt}=ce;const[Rt,At]=w.useState(cs(je,!0)),Mt=w.useMemo(()=>{let bn=!0;const Kn=cs(je,!1);if(!Kn.length)return Rt;const Nn=[];function zn(Yn){bn?Nn.push(Yn):Nn.push(Object.assign(Object.assign({},Yn),{sortOrder:null}))}let Un=null;return Kn.forEach(Yn=>{Un===null?(zn(Yn),Yn.sortOrder&&(Yn.multiplePriority===!1?bn=!1:Un=!0)):(Un&&Yn.multiplePriority!==!1||(bn=!1),zn(Yn))}),Nn},[je,Rt]),Ce=w.useMemo(()=>{const bn=Mt.map(Kn=>{let{column:Nn,sortOrder:zn}=Kn;return{column:Nn,order:zn}});return{sortColumns:bn,sortColumn:bn[0]&&bn[0].column,sortOrder:bn[0]&&bn[0].order}},[Mt]);function Qt(bn){let Kn;bn.multiplePriority===!1||!Mt.length||Mt[0].multiplePriority===!1?Kn=[bn]:Kn=[].concat((0,Xe.Z)(Mt.filter(Nn=>{let{key:zn}=Nn;return zn!==bn.key})),[bn]),At(Kn),Ye(Cs(Kn),Kn)}return[bn=>ts(Ee,bn,Mt,Qt,st,ot,Tt),Mt,Ce,()=>Cs(Mt)]}function xi(ce,Ee){return ce.map(je=>{const Ye=Object.assign({},je);return Ye.title=Yi(je.title,Ee),"children"in Ye&&(Ye.children=xi(Ye.children,Ee)),Ye})}function ha(ce){return[w.useCallback(je=>xi(je,ce),[ce])]}var ra=fr((ce,Ee)=>{const{_renderTimes:je}=ce,{_renderTimes:Ye}=Ee;return je!==Ye}),_n=zr((ce,Ee)=>{const{_renderTimes:je}=ce,{_renderTimes:Ye}=Ee;return je!==Ye}),Va=f(64993),ds=f(17313),ks=f(83116),Os=f(37613),fs=ce=>{const{componentCls:Ee}=ce,je=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,Ye=(st,ot,Tt)=>({[`&${Ee}-${st}`]:{[`> ${Ee}-container`]:{[`> ${Ee}-content, > ${Ee}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ee}-expanded-row-fixed`]:{margin:`-${ot}px -${Tt+ce.lineWidth}px`}}}}}});return{[`${Ee}-wrapper`]:{[`${Ee}${Ee}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ee}-title`]:{border:je,borderBottom:0},[`> ${Ee}-container`]:{borderInlineStart:je,borderTop:je,[`
> ${Ee}-content,
> ${Ee}-header,
> ${Ee}-body,
> ${Ee}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:je},"> thead":{"> tr:not(:last-child) > th":{borderBottom:je},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Ee}-cell-fix-right-first::after`]:{borderInlineEnd:je}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Ee}-expanded-row-fixed`]:{margin:`-${ce.tablePaddingVertical}px -${ce.tablePaddingHorizontal+ce.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ce.lineWidth,bottom:0,borderInlineEnd:je,content:'""'}}}}}},[`&${Ee}-scroll-horizontal`]:{[`> ${Ee}-container > ${Ee}-body`]:{"> table > tbody":{[`
> tr${Ee}-expanded-row,
> tr${Ee}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Ye("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle)),Ye("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall)),{[`> ${Ee}-footer`]:{border:je,borderTop:0}}),[`${Ee}-cell`]:{[`${Ee}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ce.lineWidth}px 0 ${ce.lineWidth}px ${ce.tableHeaderBg}`}},[`${Ee}-bordered ${Ee}-cell-scrollbar`]:{borderInlineEnd:je}}}},lo=ce=>{const{componentCls:Ee}=ce;return{[`${Ee}-wrapper`]:{[`${Ee}-cell-ellipsis`]:Object.assign(Object.assign({},ds.vS),{wordBreak:"keep-all",[`
&${Ee}-cell-fix-left-last,
&${Ee}-cell-fix-right-first
`]:{overflow:"visible",[`${Ee}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ee}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Ts=ce=>{const{componentCls:Ee}=ce;return{[`${Ee}-wrapper`]:{[`${Ee}-tbody > tr${Ee}-placeholder`]:{textAlign:"center",color:ce.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ce.colorBgContainer}}}}},hs=f(15969),co=ce=>{const{componentCls:Ee,antCls:je,controlInteractiveSize:Ye,motionDurationSlow:st,lineWidth:ot,paddingXS:Tt,lineType:Rt,tableBorderColor:At,tableExpandIconBg:Mt,tableExpandColumnWidth:Ce,borderRadius:Qt,fontSize:Sn,fontSizeSM:hn,lineHeight:bn,tablePaddingVertical:Kn,tablePaddingHorizontal:Nn,tableExpandedRowBg:zn,paddingXXS:Un}=ce,Yn=Ye/2-ot,Ar=Yn*2+ot*3,_r=`${ot}px ${Rt} ${At}`,br=Un-ot;return{[`${Ee}-wrapper`]:{[`${Ee}-expand-icon-col`]:{width:Ce},[`${Ee}-row-expand-icon-cell`]:{textAlign:"center",[`${Ee}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ee}-row-indent`]:{height:1,float:"left"},[`${Ee}-row-expand-icon`]:Object.assign(Object.assign({},(0,hs.N)(ce)),{position:"relative",float:"left",boxSizing:"border-box",width:Ar,height:Ar,padding:0,color:"inherit",lineHeight:`${Ar}px`,background:Mt,border:_r,borderRadius:Qt,transform:`scale(${Ye/Ar})`,transition:`all ${st}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${st} ease-out`,content:'""'},"&::before":{top:Yn,insetInlineEnd:br,insetInlineStart:br,height:ot},"&::after":{top:br,bottom:br,insetInlineStart:Yn,width:ot,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Ee}-row-indent + ${Ee}-row-expand-icon`]:{marginTop:(Sn*bn-ot*3)/2-Math.ceil((hn*1.4-ot*3)/2),marginInlineEnd:Tt},[`tr${Ee}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:zn}},[`${je}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ee}-expanded-row-fixed`]:{position:"relative",margin:`-${Kn}px -${Nn}px`,padding:`${Kn}px ${Nn}px`}}}},fo=ce=>{const{componentCls:Ee,antCls:je,iconCls:Ye,tableFilterDropdownWidth:st,tableFilterDropdownSearchWidth:ot,paddingXXS:Tt,paddingXS:Rt,colorText:At,lineWidth:Mt,lineType:Ce,tableBorderColor:Qt,tableHeaderIconColor:Sn,fontSizeSM:hn,tablePaddingHorizontal:bn,borderRadius:Kn,motionDurationSlow:Nn,colorTextDescription:zn,colorPrimary:Un,tableHeaderFilterActiveBg:Yn,colorTextDisabled:Ar,tableFilterDropdownBg:_r,tableFilterDropdownHeight:br,controlItemBgHover:kr,controlItemBgActive:Vr,boxShadowSecondary:rr,filterDropdownMenuBg:Sr}=ce,tr=`${je}-dropdown`,Wn=`${Ee}-filter-dropdown`,pr=`${je}-tree`,Nr=`${Mt}px ${Ce} ${Qt}`;return[{[`${Ee}-wrapper`]:{[`${Ee}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ee}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Tt,marginInline:`${Tt}px ${-bn/2}px`,padding:`0 ${Tt}px`,color:Sn,fontSize:hn,borderRadius:Kn,cursor:"pointer",transition:`all ${Nn}`,"&:hover":{color:zn,background:Yn},"&.active":{color:Un}}}},{[`${je}-dropdown`]:{[Wn]:Object.assign(Object.assign({},(0,ds.Wf)(ce)),{minWidth:st,backgroundColor:_r,borderRadius:Kn,boxShadow:rr,overflow:"hidden",[`${tr}-menu`]:{maxHeight:br,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Sr,"&:empty::after":{display:"block",padding:`${Rt}px 0`,color:Ar,fontSize:hn,textAlign:"center",content:'"Not Found"'}},[`${Wn}-tree`]:{paddingBlock:`${Rt}px 0`,paddingInline:Rt,[pr]:{padding:0},[`${pr}-treenode ${pr}-node-content-wrapper:hover`]:{backgroundColor:kr},[`${pr}-treenode-checkbox-checked ${pr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Vr}}},[`${Wn}-search`]:{padding:Rt,borderBottom:Nr,"&-input":{input:{minWidth:ot},[Ye]:{color:Ar}}},[`${Wn}-checkall`]:{width:"100%",marginBottom:Tt,marginInlineStart:Tt},[`${Wn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Rt-Mt}px ${Rt}px`,overflow:"hidden",borderTop:Nr}})}},{[`${je}-dropdown ${Wn}, ${Wn}-submenu`]:{[`${je}-checkbox-wrapper + span`]:{paddingInlineStart:Rt,color:At},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ns=ce=>{const{componentCls:Ee,lineWidth:je,colorSplit:Ye,motionDurationSlow:st,zIndexTableFixed:ot,tableBg:Tt,zIndexTableSticky:Rt}=ce,At=Ye;return{[`${Ee}-wrapper`]:{[`
${Ee}-cell-fix-left,
${Ee}-cell-fix-right
`]:{position:"sticky !important",zIndex:ot,background:Tt},[`
${Ee}-cell-fix-left-first::after,
${Ee}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-je,width:30,transform:"translateX(100%)",transition:`box-shadow ${st}`,content:'""',pointerEvents:"none"},[`${Ee}-cell-fix-left-all::after`]:{display:"none"},[`
${Ee}-cell-fix-right-first::after,
${Ee}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-je,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${st}`,content:'""',pointerEvents:"none"},[`${Ee}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Rt+1,width:30,transition:`box-shadow ${st}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Ee}-ping-left`]:{[`&:not(${Ee}-has-fix-left) ${Ee}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${At}`}},[`
${Ee}-cell-fix-left-first::after,
${Ee}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${At}`},[`${Ee}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Ee}-ping-right`]:{[`&:not(${Ee}-has-fix-right) ${Ee}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${At}`}},[`
${Ee}-cell-fix-right-first::after,
${Ee}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${At}`}}}}},Rs=ce=>{const{componentCls:Ee,antCls:je}=ce;return{[`${Ee}-wrapper`]:{[`${Ee}-pagination${je}-pagination`]:{margin:`${ce.margin}px 0`},[`${Ee}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ce.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},xs=ce=>{const{componentCls:Ee,tableRadius:je}=ce;return{[`${Ee}-wrapper`]:{[Ee]:{[`${Ee}-title, ${Ee}-header`]:{borderRadius:`${je}px ${je}px 0 0`},[`${Ee}-title + ${Ee}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Ee}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:je,borderStartEndRadius:je,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:je},"> *:last-child":{borderStartEndRadius:je}}},"&-footer":{borderRadius:`0 0 ${je}px ${je}px`}}}}},Xs=ce=>{const{componentCls:Ee}=ce;return{[`${Ee}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Ee}-pagination-left`]:{justifyContent:"flex-end"},[`${Ee}-pagination-right`]:{justifyContent:"flex-start"},[`${Ee}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Ee}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Ee}-row-indent`]:{float:"right"}}}}},Ms=ce=>{const{componentCls:Ee,antCls:je,iconCls:Ye,fontSizeIcon:st,padding:ot,paddingXS:Tt,tableHeaderIconColor:Rt,tableHeaderIconColorHover:At,tableSelectionColumnWidth:Mt}=ce;return{[`${Ee}-wrapper`]:{[`${Ee}-selection-col`]:{width:Mt,[`&${Ee}-selection-col-with-dropdown`]:{width:Mt+st+ot/4}},[`${Ee}-bordered ${Ee}-selection-col`]:{width:Mt+Tt*2,[`&${Ee}-selection-col-with-dropdown`]:{width:Mt+st+ot/4+Tt*2}},[`
table tr th${Ee}-selection-column,
table tr td${Ee}-selection-column
`]:{paddingInlineEnd:ce.paddingXS,paddingInlineStart:ce.paddingXS,textAlign:"center",[`${je}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Ee}-selection-column${Ee}-cell-fix-left`]:{zIndex:ce.zIndexTableFixed+1},[`table tr th${Ee}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Ee}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Ee}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ce.tablePaddingHorizontal/4}px`,[Ye]:{color:Rt,fontSize:st,verticalAlign:"baseline","&:hover":{color:At}}}}}},ho=ce=>{const{componentCls:Ee}=ce,je=(Ye,st,ot,Tt)=>({[`${Ee}${Ee}-${Ye}`]:{fontSize:Tt,[`
${Ee}-title,
${Ee}-footer,
${Ee}-cell,
${Ee}-thead > tr > th,
${Ee}-tbody > tr > th,
${Ee}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${st}px ${ot}px`},[`${Ee}-filter-trigger`]:{marginInlineEnd:`-${ot/2}px`},[`${Ee}-expanded-row-fixed`]:{margin:`-${st}px -${ot}px`},[`${Ee}-tbody`]:{[`${Ee}-wrapper:only-child ${Ee}`]:{marginBlock:`-${st}px`,marginInline:`${ce.tableExpandColumnWidth-ot}px -${ot}px`}},[`${Ee}-selection-column`]:{paddingInlineStart:`${ot/4}px`}}});return{[`${Ee}-wrapper`]:Object.assign(Object.assign({},je("middle",ce.tablePaddingVerticalMiddle,ce.tablePaddingHorizontalMiddle,ce.tableFontSizeMiddle)),je("small",ce.tablePaddingVerticalSmall,ce.tablePaddingHorizontalSmall,ce.tableFontSizeSmall))}},mo=ce=>{const{componentCls:Ee,marginXXS:je,fontSizeIcon:Ye,tableHeaderIconColor:st,tableHeaderIconColorHover:ot}=ce;return{[`${Ee}-wrapper`]:{[`${Ee}-thead th${Ee}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ce.motionDurationSlow}`,"&:hover":{background:ce.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ce.colorPrimary},[`
&${Ee}-cell-fix-left:hover,
&${Ee}-cell-fix-right:hover
`]:{background:ce.tableFixedHeaderSortActiveBg}},[`${Ee}-thead th${Ee}-column-sort`]:{background:ce.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ee}-column-sort`]:{background:ce.tableBodySortBg},[`${Ee}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ee}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ee}-column-sorter`]:{marginInlineStart:je,color:st,fontSize:0,transition:`color ${ce.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ye,"&.active":{color:ce.colorPrimary}},[`${Ee}-column-sorter-up + ${Ee}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ee}-column-sorters:hover ${Ee}-column-sorter`]:{color:ot}}}},go=ce=>{const{componentCls:Ee,opacityLoading:je,tableScrollThumbBg:Ye,tableScrollThumbBgHover:st,tableScrollThumbSize:ot,tableScrollBg:Tt,zIndexTableSticky:Rt,stickyScrollBarBorderRadius:At}=ce,Mt=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`;return{[`${Ee}-wrapper`]:{[`${Ee}-sticky`]:{"&-holder":{position:"sticky",zIndex:Rt,background:ce.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${ot}px !important`,zIndex:Rt,display:"flex",alignItems:"center",background:Tt,borderTop:Mt,opacity:je,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:ot,backgroundColor:Ye,borderRadius:At,transition:`all ${ce.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:st}}}}}}},Ws=ce=>{const{componentCls:Ee,lineWidth:je,tableBorderColor:Ye}=ce,st=`${je}px ${ce.lineType} ${Ye}`;return{[`${Ee}-wrapper`]:{[`${Ee}-summary`]:{position:"relative",zIndex:ce.zIndexTableFixed,background:ce.tableBg,"> tr":{"> th, > td":{borderBottom:st}}},[`div${Ee}-summary`]:{boxShadow:`0 -${je}px 0 ${Ye}`}}}},yo=ce=>{const{componentCls:Ee}=ce,je=`${ce.lineWidth}px ${ce.lineType} ${ce.tableBorderColor}`,Ye=`${Ee}-expanded-row-cell`;return{[`${Ee}-wrapper`]:{[`${Ee}-tbody-virtual`]:{[`${Ee}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ee}-cell`]:{borderBottom:je},[`${Ee}-expanded-row`]:{[`${Ye}${Ye}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ce.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ee}-bordered`]:{[`${Ee}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:je,position:"absolute"},[`${Ee}-cell`]:{borderInlineEnd:je,[`&${Ee}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ce.lineWidth,borderInlineStart:je}}}}}}};const bo=ce=>{const{componentCls:Ee,fontWeightStrong:je,tablePaddingVertical:Ye,tablePaddingHorizontal:st,lineWidth:ot,lineType:Tt,tableBorderColor:Rt,tableFontSize:At,tableBg:Mt,tableRadius:Ce,tableHeaderTextColor:Qt,motionDurationMid:Sn,tableHeaderBg:hn,tableHeaderCellSplitColor:bn,tableRowHoverBg:Kn,tableSelectedRowBg:Nn,tableSelectedRowHoverBg:zn,tableFooterTextColor:Un,tableFooterBg:Yn,paddingContentVerticalLG:Ar}=ce,_r=`${ot}px ${Tt} ${Rt}`;return{[`${Ee}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ds.dF)()),{[Ee]:Object.assign(Object.assign({},(0,ds.Wf)(ce)),{fontSize:At,background:Mt,borderRadius:`${Ce}px ${Ce}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Ce}px ${Ce}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${Ee}-cell,
${Ee}-thead > tr > th,
${Ee}-tbody > tr > th,
${Ee}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Ar}px ${st}px`,overflowWrap:"break-word"},[`${Ee}-title`]:{padding:`${Ye}px ${st}px`},[`${Ee}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Qt,fontWeight:je,textAlign:"start",background:hn,borderBottom:_r,transition:`background ${Sn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Ee}-selection-column):not(${Ee}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:bn,transform:"translateY(-50%)",transition:`background-color ${Sn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Ee}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Sn}, border-color ${Sn}`,borderBottom:_r,[`
> ${Ee}-wrapper:only-child,
> ${Ee}-expanded-row-fixed > ${Ee}-wrapper:only-child
`]:{[Ee]:{marginBlock:`-${Ye}px`,marginInline:`${ce.tableExpandColumnWidth-st}px -${st}px`,[`${Ee}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Qt,fontWeight:je,textAlign:"start",background:hn,borderBottom:_r,transition:`background ${Sn} ease`},[`
&${Ee}-row:hover > th,
&${Ee}-row:hover > td,
> th${Ee}-cell-row-hover,
> td${Ee}-cell-row-hover
`]:{background:Kn},[`&${Ee}-row-selected`]:{"> th, > td":{background:Nn},"&:hover > th, &:hover > td":{background:zn}}}},[`${Ee}-footer`]:{padding:`${Ye}px ${st}px`,color:Un,background:Yn}})}};var eo=(0,ks.Z)("Table",ce=>{const{colorTextHeading:Ee,colorSplit:je,colorIcon:Ye,colorIconHover:st,opacityLoading:ot,colorBgContainer:Tt,controlInteractiveSize:Rt,headerBg:At,headerColor:Mt,headerSortActiveBg:Ce,headerSortHoverBg:Qt,bodySortBg:Sn,rowHoverBg:hn,rowSelectedBg:bn,rowSelectedHoverBg:Kn,rowExpandedBg:Nn,cellPaddingBlock:zn,cellPaddingInline:Un,cellPaddingBlockMD:Yn,cellPaddingInlineMD:Ar,cellPaddingBlockSM:_r,cellPaddingInlineSM:br,borderColor:kr,footerBg:Vr,footerColor:rr,headerBorderRadius:Sr,cellFontSize:tr,cellFontSizeMD:Wn,cellFontSizeSM:pr,headerSplitColor:Nr,fixedHeaderSortActiveBg:Jr,headerFilterHoverBg:se,filterDropdownBg:l,expandIconBg:d,selectionColumnWidth:p,stickyScrollBarBg:x}=ce,N=new Va.C(Ye),ue=new Va.C(st),ke=2,ze=(0,Os.TS)(ce,{tableFontSize:tr,tableBg:Tt,tableRadius:Sr,tablePaddingVertical:zn,tablePaddingHorizontal:Un,tablePaddingVerticalMiddle:Yn,tablePaddingHorizontalMiddle:Ar,tablePaddingVerticalSmall:_r,tablePaddingHorizontalSmall:br,tableBorderColor:kr,tableHeaderTextColor:Mt,tableHeaderBg:At,tableFooterTextColor:rr,tableFooterBg:Vr,tableHeaderCellSplitColor:Nr,tableHeaderSortBg:Ce,tableHeaderSortHoverBg:Qt,tableHeaderIconColor:N.clone().setAlpha(N.getAlpha()*ot).toRgbString(),tableHeaderIconColorHover:ue.clone().setAlpha(ue.getAlpha()*ot).toRgbString(),tableBodySortBg:Sn,tableFixedHeaderSortActiveBg:Jr,tableHeaderFilterActiveBg:se,tableFilterDropdownBg:l,tableRowHoverBg:hn,tableSelectedRowBg:bn,tableSelectedRowHoverBg:Kn,zIndexTableFixed:ke,zIndexTableSticky:ke+1,tableFontSizeMiddle:Wn,tableFontSizeSmall:pr,tableSelectionColumnWidth:p,tableExpandIconBg:d,tableExpandColumnWidth:Rt+2*ce.padding,tableExpandedRowBg:Nn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:x,tableScrollThumbBgHover:Ee,tableScrollBg:je});return[bo(ze),Rs(ze),Ws(ze),mo(ze),fo(ze),fs(ze),xs(ze),co(ze),Ws(ze),Ts(ze),Ms(ze),Ns(ze),go(ze),lo(ze),ho(ze),Xs(ze),yo(ze)]},ce=>{const{colorFillAlter:Ee,colorBgContainer:je,colorTextHeading:Ye,colorFillSecondary:st,colorFillContent:ot,controlItemBgActive:Tt,controlItemBgActiveHover:Rt,padding:At,paddingSM:Mt,paddingXS:Ce,colorBorderSecondary:Qt,borderRadiusLG:Sn,fontSize:hn,controlHeight:bn,colorTextPlaceholder:Kn}=ce,Nn=new Va.C(st).onBackground(je).toHexShortString(),zn=new Va.C(ot).onBackground(je).toHexShortString(),Un=new Va.C(Ee).onBackground(je).toHexShortString();return{headerBg:Un,headerColor:Ye,headerSortActiveBg:Nn,headerSortHoverBg:zn,bodySortBg:Un,rowHoverBg:Un,rowSelectedBg:Tt,rowSelectedHoverBg:Rt,rowExpandedBg:Ee,cellPaddingBlock:At,cellPaddingInline:At,cellPaddingBlockMD:Mt,cellPaddingInlineMD:Ce,cellPaddingBlockSM:Ce,cellPaddingInlineSM:Ce,borderColor:Qt,headerBorderRadius:Sn,footerBg:Un,footerColor:Ye,cellFontSize:hn,cellFontSizeMD:hn,cellFontSizeSM:hn,headerSplitColor:Qt,fixedHeaderSortActiveBg:Nn,headerFilterHoverBg:ot,filterDropdownMenuBg:je,filterDropdownBg:je,expandIconBg:je,selectionColumnWidth:bn,stickyScrollBarBg:Kn,stickyScrollBarBorderRadius:100}});const Uo=[],So=(ce,Ee)=>{const{prefixCls:je,className:Ye,rootClassName:st,style:ot,size:Tt,bordered:Rt,dropdownPrefixCls:At,dataSource:Mt,pagination:Ce,rowSelection:Qt,rowKey:Sn="key",rowClassName:hn,columns:bn,children:Kn,childrenColumnName:Nn,onChange:zn,getPopupContainer:Un,loading:Yn,expandIcon:Ar,expandable:_r,expandedRowRender:br,expandIconColumnIndex:kr,indentSize:Vr,scroll:rr,sortDirections:Sr,locale:tr,showSorterTooltip:Wn=!0,virtual:pr}=ce,Nr=w.useMemo(()=>bn||_t(Kn),[bn,Kn]),Jr=w.useMemo(()=>Nr.some(mi=>mi.responsive),[Nr]),se=(0,Qr.Z)(Jr),l=w.useMemo(()=>{const mi=new Set(Object.keys(se).filter(Ki=>se[Ki]));return Nr.filter(Ki=>!Ki.responsive||Ki.responsive.some(_a=>mi.has(_a)))},[Nr,se]),d=(0,Or.Z)(ce,["className","style","columns"]),{locale:p=di.Z,direction:x,table:N,renderEmpty:ue,getPrefixCls:ke,getPopupContainer:ze}=w.useContext(Ii.E_),nt=(0,ri.Z)(Tt),vt=Object.assign(Object.assign({},p.Table),tr),Lt=Mt||Uo,qt=ke("table",je),Cn=ke("dropdown",At),en=Object.assign({childrenColumnName:Nn,expandIconColumnIndex:kr},_r),{childrenColumnName:Je="children"}=en,xn=w.useMemo(()=>Lt.some(mi=>mi==null?void 0:mi[Je])?"nest":br||_r&&_r.expandedRowRender?"row":null,[Lt]),Fn={body:w.useRef()},cr=w.useMemo(()=>typeof Sn=="function"?Sn:mi=>mi==null?void 0:mi[Sn],[Sn]),[Pn]=Ya(Lt,Je,cr),dr={},Tr=function(mi,Ki){let _a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var $i,Pa,ka;const Oa=Object.assign(Object.assign({},dr),mi);_a&&(($i=dr.resetPagination)===null||$i===void 0||$i.call(dr),!((Pa=Oa.pagination)===null||Pa===void 0)&&Pa.current&&(Oa.pagination.current=1),Ce&&Ce.onChange&&Ce.onChange(1,(ka=Oa.pagination)===null||ka===void 0?void 0:ka.pageSize)),rr&&rr.scrollToFirstRowOnChange!==!1&&Fn.body.current&&(0,ti.Z)(0,{getContainer:()=>Fn.body.current}),zn==null||zn(Oa.pagination,Oa.filters,Oa.sorter,{currentDataSource:ja(Ri(Lt,Oa.sorterStates,Je),Oa.filterStates),action:Ki})},Rr=(mi,Ki)=>{Tr({sorter:mi,sorterStates:Ki},"sort",!1)},[fi,hi,ki,ci]=Fi({prefixCls:qt,mergedColumns:l,onSorterChange:Rr,sortDirections:Sr||["ascend","descend"],tableLocale:vt,showSorterTooltip:Wn}),pi=w.useMemo(()=>Ri(Lt,hi,Je),[Lt,hi]);dr.sorter=ci(),dr.sorterStates=hi;const yi=(mi,Ki)=>{Tr({filters:mi,filterStates:Ki},"filter",!0)},[Di,ya,Gr]=ys({prefixCls:qt,locale:vt,dropdownPrefixCls:Cn,mergedColumns:l,onFilterChange:yi,getPopupContainer:Un||ze}),si=ja(pi,ya);dr.filters=Gr,dr.filterStates=ya;const Ei=w.useMemo(()=>{const mi={};return Object.keys(Gr).forEach(Ki=>{Gr[Ki]!==null&&(mi[Ki]=Gr[Ki])}),Object.assign(Object.assign({},ki),{filters:mi})},[ki,Gr]),[Ji]=ha(Ei),Xi=(mi,Ki)=>{Tr({pagination:Object.assign(Object.assign({},dr.pagination),{current:mi,pageSize:Ki})},"paginate")},[Ur,qi]=Qa(si.length,Xi,Ce);dr.pagination=Ce===!1?{}:Ra(Ur,Ce),dr.resetPagination=qi;const ea=w.useMemo(()=>{if(Ce===!1||!Ur.pageSize)return si;const{current:mi=1,total:Ki,pageSize:_a=Ea}=Ur;return si.length<Ki?si.length>_a?si.slice((mi-1)*_a,mi*_a):si:si.slice((mi-1)*_a,mi*_a)},[!!Ce,si,Ur&&Ur.current,Ur&&Ur.pageSize,Ur&&Ur.total]),[ba,Ia]=Ma({prefixCls:qt,data:si,pageData:ea,getRowKey:cr,getRecordByKey:Pn,expandType:xn,childrenColumnName:Je,locale:vt,getPopupContainer:Un||ze},Qt),Fa=(mi,Ki,_a)=>{let $i;return typeof hn=="function"?$i=H()(hn(mi,Ki,_a)):$i=H()(hn),H()({[`${qt}-row-selected`]:Ia.has(cr(mi,Ki))},$i)};en.__PARENT_RENDER_ICON__=en.expandIcon,en.expandIcon=en.expandIcon||Ar||oi(vt),xn==="nest"&&en.expandIconColumnIndex===void 0?en.expandIconColumnIndex=Qt?1:0:en.expandIconColumnIndex>0&&Qt&&(en.expandIconColumnIndex-=1),typeof en.indentSize!="number"&&(en.indentSize=typeof Vr=="number"?Vr:15);const Bs=w.useCallback(mi=>Ji(ba(Di(fi(mi)))),[fi,Di,ba]);let rs,La;if(Ce!==!1&&(Ur!=null&&Ur.total)){let mi;Ur.size?mi=Ur.size:mi=nt==="small"||nt==="middle"?"small":void 0;const Ki=Pa=>w.createElement(Oi.Z,Object.assign({},Ur,{className:H()(`${qt}-pagination ${qt}-pagination-${Pa}`,Ur.className),size:mi})),_a=x==="rtl"?"left":"right",{position:$i}=Ur;if($i!==null&&Array.isArray($i)){const Pa=$i.find(Ds=>Ds.includes("top")),ka=$i.find(Ds=>Ds.includes("bottom")),Oa=$i.every(Ds=>`${Ds}`=="none");!Pa&&!ka&&!Oa&&(La=Ki(_a)),Pa&&(rs=Ki(Pa.toLowerCase().replace("top",""))),ka&&(La=Ki(ka.toLowerCase().replace("bottom","")))}else La=Ki(_a)}let Sa;typeof Yn=="boolean"?Sa={spinning:Yn}:typeof Yn=="object"&&(Sa=Object.assign({spinning:!0},Yn));const[pa,ta]=eo(qt),[,Li]=(0,ii.Z)(),is=H()(`${qt}-wrapper`,N==null?void 0:N.className,{[`${qt}-wrapper-rtl`]:x==="rtl"},Ye,st,ta),as=Object.assign(Object.assign({},N==null?void 0:N.style),ot),ps=tr&&tr.emptyText||(ue==null?void 0:ue("Table"))||w.createElement(Gn.Z,{componentName:"Table"}),ms=pr?_n:ra,Ao={},_o=w.useMemo(()=>{const{fontSize:mi,lineHeight:Ki,padding:_a,paddingXS:$i,paddingSM:Pa}=Li,ka=Math.floor(mi*Ki);switch(nt){case"large":return _a*2+ka;case"small":return $i*2+ka;default:return Pa*2+ka}},[Li,nt]);return pr&&(Ao.listItemHeight=_o),pa(w.createElement("div",{ref:Ee,className:is,style:as},w.createElement(bi.Z,Object.assign({spinning:!1},Sa),rs,w.createElement(ms,Object.assign({},Ao,d,{columns:l,direction:x,expandable:en,prefixCls:qt,className:H()({[`${qt}-middle`]:nt==="middle",[`${qt}-small`]:nt==="small",[`${qt}-bordered`]:Rt,[`${qt}-empty`]:Lt.length===0}),data:ea,rowKey:cr,rowClassName:Fa,emptyText:ps,internalHooks:O,internalRefs:Fn,transformColumns:Bs})),La)))};var xo=w.forwardRef(So);const to=(ce,Ee)=>{const je=w.useRef(0);return je.current+=1,w.createElement(xo,Object.assign({},ce,{ref:Ee,_renderTimes:je.current}))},Ba=w.forwardRef(to);Ba.SELECTION_COLUMN=Vi,Ba.EXPAND_COLUMN=g,Ba.SELECTION_ALL=vi,Ba.SELECTION_INVERT=oa,Ba.SELECTION_NONE=la,Ba.Column=jn,Ba.ColumnGroup=Er,Ba.Summary=T;var no=Ba,Eo=no},33166:function(an,it,f){"use strict";f.d(it,{i:function(){return g}});const g=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(an,it,f){"use strict";f.d(it,{Z:function(){return O}});var g=f(33166);function O(re,ge){return g.i.reduce((F,m)=>{const w=re[`${m}1`],he=re[`${m}3`],o=re[`${m}6`],M=re[`${m}7`];return Object.assign(Object.assign({},F),ge(m,{lightColor:w,lightBorderColor:he,darkColor:o,textColor:M}))},{})}},6848:function(an,it,f){"use strict";f.d(it,{Z:function(){return ye}});var g=f(59301),O=f(92310),re=f.n(O),ge=f(55477),F=f(18929),m=f(62892),w=f(79676),he=f(92343),o=f(36355),M=f(33234),W=f(88088),y=f(17313),b=f(29878),A=f(19447),C=f(45157),K=f(37613),pe=f(83116);const B=le=>{const{componentCls:oe,tooltipMaxWidth:H,tooltipColor:be,tooltipBg:J,tooltipBorderRadius:me,zIndexPopup:ae,controlHeight:v,boxShadowSecondary:_,paddingSM:Y,paddingXS:q,tooltipRadiusOuter:Pe}=le;return[{[oe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(le)),{position:"absolute",zIndex:ae,display:"block",width:"max-content",maxWidth:H,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":J,[`${oe}-inner`]:{minWidth:v,minHeight:v,padding:`${Y/2}px ${q}px`,color:be,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:J,borderRadius:me,boxShadow:_,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${oe}-inner`]:{borderRadius:Math.min(me,A.qN)}},[`${oe}-content`]:{position:"relative"}}),(0,C.Z)(le,(Le,Ue)=>{let{darkColor:$e}=Ue;return{[`&${oe}-${Le}`]:{[`${oe}-inner`]:{backgroundColor:$e},[`${oe}-arrow`]:{"--antd-arrow-background-color":$e}}}})),{"&-rtl":{direction:"rtl"}})},(0,A.ZP)((0,K.TS)(le,{borderRadiusOuter:Pe}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:me,limitVerticalRadius:!0}),{[`${oe}-pure`]:{position:"relative",maxWidth:"none",margin:le.sizePopupArrow}}]};var Z=(le,oe)=>(0,pe.Z)("Tooltip",be=>{if(oe===!1)return[];const{borderRadius:J,colorTextLightSolid:me,colorBgDefault:ae,borderRadiusOuter:v}=be,_=(0,K.TS)(be,{tooltipMaxWidth:250,tooltipColor:me,tooltipBorderRadius:J,tooltipBg:ae,tooltipRadiusOuter:v>4?4:v});return[B(_),(0,b._y)(be,"zoom-big-fast")]},be=>{let{zIndexPopupBase:J,colorBgSpotlight:me}=be;return{zIndexPopup:J+70,colorBgDefault:me}},{resetStyle:!1})(le),ie=f(36785);function X(le,oe){const H=(0,ie.o2)(oe),be=re()({[`${le}-${oe}`]:oe&&H}),J={},me={};return oe&&!H&&(J.background=oe,me["--antd-arrow-background-color"]=oe),{className:be,overlayStyle:J,arrowStyle:me}}var D=le=>{const{prefixCls:oe,className:H,placement:be="top",title:J,color:me,overlayInnerStyle:ae}=le,{getPrefixCls:v}=g.useContext(o.E_),_=v("tooltip",oe),[Y,q]=Z(_,!0),Pe=X(_,me),Le=Pe.arrowStyle,Ue=Object.assign(Object.assign({},ae),Pe.overlayStyle),$e=re()(q,_,`${_}-pure`,`${_}-placement-${be}`,H,Pe.className);return Y(g.createElement("div",{className:$e,style:Le},g.createElement("div",{className:`${_}-arrow`}),g.createElement(ge.G,Object.assign({},le,{className:q,prefixCls:_,overlayInnerStyle:Ue}),J)))},Q=function(le,oe){var H={};for(var be in le)Object.prototype.hasOwnProperty.call(le,be)&&oe.indexOf(be)<0&&(H[be]=le[be]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,be=Object.getOwnPropertySymbols(le);J<be.length;J++)oe.indexOf(be[J])<0&&Object.prototype.propertyIsEnumerable.call(le,be[J])&&(H[be[J]]=le[be[J]]);return H};const j=(le,oe)=>{const H={},be=Object.assign({},le);return oe.forEach(J=>{le&&J in le&&(H[J]=le[J],delete be[J])}),{picked:H,omitted:be}};function ve(le,oe){const H=le.type;if((H.__ANT_BUTTON===!0||le.type==="button")&&le.props.disabled||H.__ANT_SWITCH===!0&&(le.props.disabled||le.props.loading)||H.__ANT_RADIO===!0&&le.props.disabled){const{picked:be,omitted:J}=j(le.props.style,["position","left","right","top","bottom","float","display","zIndex"]),me=Object.assign(Object.assign({display:"inline-block"},be),{cursor:"not-allowed",width:le.props.block?"100%":void 0}),ae=Object.assign(Object.assign({},J),{pointerEvents:"none"}),v=(0,he.Tm)(le,{style:ae,className:null});return g.createElement("span",{style:me,className:re()(le.props.className,`${oe}-disabled-compatible-wrapper`)},v)}return le}const xe=g.forwardRef((le,oe)=>{var H,be;const{prefixCls:J,openClassName:me,getTooltipContainer:ae,overlayClassName:v,color:_,overlayInnerStyle:Y,children:q,afterOpenChange:Pe,afterVisibleChange:Le,destroyTooltipOnHide:Ue,arrow:$e=!0,title:ut,overlay:dt,builtinPlacements:at,arrowPointAtCenter:Pt=!1,autoAdjustOverflow:nn=!0}=le,kt=!!$e,[,Nt]=(0,W.Z)(),{getPopupContainer:lt,getPrefixCls:wt,direction:de}=g.useContext(o.E_),fe=g.useRef(null),G=()=>{var et;(et=fe.current)===null||et===void 0||et.forceAlign()};g.useImperativeHandle(oe,()=>({forceAlign:G,forcePopupAlign:()=>{G()}}));const[U,we]=(0,F.Z)(!1,{value:(H=le.open)!==null&&H!==void 0?H:le.visible,defaultValue:(be=le.defaultOpen)!==null&&be!==void 0?be:le.defaultVisible}),P=!ut&&!dt&&ut!==0,T=et=>{var Xe,_e;we(P?!1:et),P||((Xe=le.onOpenChange)===null||Xe===void 0||Xe.call(le,et),(_e=le.onVisibleChange)===null||_e===void 0||_e.call(le,et))},I=g.useMemo(()=>{var et,Xe;let _e=Pt;return typeof $e=="object"&&(_e=(Xe=(et=$e.pointAtCenter)!==null&&et!==void 0?et:$e.arrowPointAtCenter)!==null&&Xe!==void 0?Xe:Pt),at||(0,w.Z)({arrowPointAtCenter:_e,autoAdjustOverflow:nn,arrowWidth:kt?Nt.sizePopupArrow:0,borderRadius:Nt.borderRadius,offset:Nt.marginXXS,visibleFirst:!0})},[Pt,$e,at,Nt]),ne=g.useMemo(()=>ut===0?ut:dt||ut||"",[dt,ut]),$=g.createElement(M.BR,null,typeof ne=="function"?ne():ne),{getPopupContainer:V,placement:Te="top",mouseEnterDelay:He=.1,mouseLeaveDelay:Ie=.1,overlayStyle:Fe,rootClassName:Qe}=le,Ze=Q(le,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Ve=wt("tooltip",J),xt=wt(),Ct=le["data-popover-inject"];let ft=U;!("open"in le)&&!("visible"in le)&&P&&(ft=!1);const Ot=ve((0,he.l$)(q)&&!(0,he.M2)(q)?q:g.createElement("span",null,q),Ve),Kt=Ot.props,R=!Kt.className||typeof Kt.className=="string"?re()(Kt.className,me||`${Ve}-open`):Kt.className,[k,bt]=Z(Ve,!Ct),Se=X(Ve,_),Ke=Se.arrowStyle,vn=Object.assign(Object.assign({},Y),Se.overlayStyle),qe=re()(v,{[`${Ve}-rtl`]:de==="rtl"},Se.className,Qe,bt);return k(g.createElement(ge.Z,Object.assign({},Ze,{showArrow:kt,placement:Te,mouseEnterDelay:He,mouseLeaveDelay:Ie,prefixCls:Ve,overlayClassName:qe,overlayStyle:Object.assign(Object.assign({},Ke),Fe),getTooltipContainer:V||ae||lt,ref:fe,builtinPlacements:I,overlay:$,visible:ft,onVisibleChange:T,afterVisibleChange:Pe!=null?Pe:Le,overlayInnerStyle:vn,arrowContent:g.createElement("span",{className:`${Ve}-arrow-content`}),motion:{motionName:(0,m.m)(xt,"zoom-big-fast",le.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ue}),ft?(0,he.Tm)(Ot,{className:R}):Ot))});xe._InternalPanelDoNotUseOrYouWillBeFired=D;var ye=xe},17574:function(an,it,f){"use strict";f.d(it,{default:function(){return _}});var g=f(54844),O=f(80702),re=f(52671),ge=f(8657),F=f(72308),m=f(59301),w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},he=w,o=f(7657),M=function(q,Pe){return m.createElement(o.Z,(0,F.Z)({},q,{ref:Pe,icon:he}))},W=m.forwardRef(M),y=W,b=f(92310),A=f.n(b),C=f(35654),K=f(71430),pe=f(36355),B=f(56082),Z=f(62892),ie=f(20648);const X=4;function L(Y){const{dropPosition:q,dropLevelOffset:Pe,prefixCls:Le,indent:Ue,direction:$e="ltr"}=Y,ut=$e==="ltr"?"left":"right",dt=$e==="ltr"?"right":"left",at={[ut]:-Pe*Ue+X,[dt]:0};switch(q){case-1:at.top=-3;break;case 1:at.bottom=-3;break;default:at.bottom=-3,at[ut]=Ue+X;break}return m.createElement("div",{style:at,className:`${Le}-drop-indicator`})}var D=f(71997),j=m.forwardRef((Y,q)=>{const{getPrefixCls:Pe,direction:Le,virtual:Ue,tree:$e}=m.useContext(pe.E_),{prefixCls:ut,className:dt,showIcon:at=!1,showLine:Pt,switcherIcon:nn,blockNode:kt=!1,children:Nt,checkable:lt=!1,selectable:wt=!0,draggable:de,motion:fe,style:G}=Y,U=Pe("tree",ut),we=Pe(),P=fe!=null?fe:Object.assign(Object.assign({},(0,Z.Z)(we)),{motionAppear:!1}),T=Object.assign(Object.assign({},Y),{checkable:lt,selectable:wt,showIcon:at,motion:P,blockNode:kt,showLine:!!Pt,dropIndicatorRender:L}),[I,ne]=(0,ie.ZP)(U),$=m.useMemo(()=>{if(!de)return!1;let Te={};switch(typeof de){case"function":Te.nodeDraggable=de;break;case"object":Te=Object.assign({},de);break;default:break}return Te.icon!==!1&&(Te.icon=Te.icon||m.createElement(B.Z,null)),Te},[de]),V=Te=>m.createElement(D.Z,{prefixCls:U,switcherIcon:nn,treeNodeProps:Te,showLine:Pt});return I(m.createElement(g.Z,Object.assign({itemHeight:20,ref:q,virtual:Ue},T,{style:Object.assign(Object.assign({},$e==null?void 0:$e.style),G),prefixCls:U,className:A()({[`${U}-icon-hide`]:!at,[`${U}-block-node`]:kt,[`${U}-unselectable`]:!wt,[`${U}-rtl`]:Le==="rtl"},$e==null?void 0:$e.className,dt,ne),direction:Le,checkable:lt&&m.createElement("span",{className:`${U}-checkbox-inner`}),selectable:wt,switcherIcon:V,draggable:$}),Nt))}),ve;(function(Y){Y[Y.None=0]="None",Y[Y.Start=1]="Start",Y[Y.End=2]="End"})(ve||(ve={}));function xe(Y,q){function Pe(Le){const{key:Ue,children:$e}=Le;q(Ue,Le)!==!1&&xe($e||[],q)}Y.forEach(Pe)}function ye(Y){let{treeData:q,expandedKeys:Pe,startKey:Le,endKey:Ue}=Y;const $e=[];let ut=ve.None;if(Le&&Le===Ue)return[Le];if(!Le||!Ue)return[];function dt(at){return at===Le||at===Ue}return xe(q,at=>{if(ut===ve.End)return!1;if(dt(at)){if($e.push(at),ut===ve.None)ut=ve.Start;else if(ut===ve.Start)return ut=ve.End,!1}else ut===ve.Start&&$e.push(at);return Pe.includes(at)}),$e}function le(Y,q){const Pe=(0,O.Z)(q),Le=[];return xe(Y,(Ue,$e)=>{const ut=Pe.indexOf(Ue);return ut!==-1&&(Le.push($e),Pe.splice(ut,1)),!!Pe.length}),Le}var oe=function(Y,q){var Pe={};for(var Le in Y)Object.prototype.hasOwnProperty.call(Y,Le)&&q.indexOf(Le)<0&&(Pe[Le]=Y[Le]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Le=Object.getOwnPropertySymbols(Y);Ue<Le.length;Ue++)q.indexOf(Le[Ue])<0&&Object.prototype.propertyIsEnumerable.call(Y,Le[Ue])&&(Pe[Le[Ue]]=Y[Le[Ue]]);return Pe};function H(Y){const{isLeaf:q,expanded:Pe}=Y;return q?m.createElement(re.Z,null):Pe?m.createElement(ge.Z,null):m.createElement(y,null)}function be(Y){let{treeData:q,children:Pe}=Y;return q||(0,K.zn)(Pe)}const J=(Y,q)=>{var{defaultExpandAll:Pe,defaultExpandParent:Le,defaultExpandedKeys:Ue}=Y,$e=oe(Y,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ut=m.useRef(),dt=m.useRef(),at=()=>{const{keyEntities:$}=(0,K.I8)(be($e));let V;return Pe?V=Object.keys($):Le?V=(0,C.r7)($e.expandedKeys||Ue||[],$):V=$e.expandedKeys||Ue,V},[Pt,nn]=m.useState($e.selectedKeys||$e.defaultSelectedKeys||[]),[kt,Nt]=m.useState(()=>at());m.useEffect(()=>{"selectedKeys"in $e&&nn($e.selectedKeys)},[$e.selectedKeys]),m.useEffect(()=>{"expandedKeys"in $e&&Nt($e.expandedKeys)},[$e.expandedKeys]);const lt=($,V)=>{var Te;return"expandedKeys"in $e||Nt($),(Te=$e.onExpand)===null||Te===void 0?void 0:Te.call($e,$,V)},wt=($,V)=>{var Te;const{multiple:He}=$e,{node:Ie,nativeEvent:Fe}=V,{key:Qe=""}=Ie,Ze=be($e),Ve=Object.assign(Object.assign({},V),{selected:!0}),xt=(Fe==null?void 0:Fe.ctrlKey)||(Fe==null?void 0:Fe.metaKey),Ct=Fe==null?void 0:Fe.shiftKey;let ft;He&&xt?(ft=$,ut.current=Qe,dt.current=ft,Ve.selectedNodes=le(Ze,ft)):He&&Ct?(ft=Array.from(new Set([].concat((0,O.Z)(dt.current||[]),(0,O.Z)(ye({treeData:Ze,expandedKeys:kt,startKey:Qe,endKey:ut.current}))))),Ve.selectedNodes=le(Ze,ft)):(ft=[Qe],ut.current=Qe,dt.current=ft,Ve.selectedNodes=le(Ze,ft)),(Te=$e.onSelect)===null||Te===void 0||Te.call($e,ft,Ve),"selectedKeys"in $e||nn(ft)},{getPrefixCls:de,direction:fe}=m.useContext(pe.E_),{prefixCls:G,className:U,showIcon:we=!0,expandAction:P="click"}=$e,T=oe($e,["prefixCls","className","showIcon","expandAction"]),I=de("tree",G),ne=A()(`${I}-directory`,{[`${I}-directory-rtl`]:fe==="rtl"},U);return m.createElement(j,Object.assign({icon:H,ref:q,blockNode:!0},T,{showIcon:we,expandAction:P,prefixCls:I,className:ne,expandedKeys:kt,selectedKeys:Pt,onSelect:wt,onExpand:lt}))};var ae=m.forwardRef(J);const v=j;v.DirectoryTree=ae,v.TreeNode=g.O;var _=v},20648:function(an,it,f){"use strict";f.d(it,{TM:function(){return b},Yk:function(){return y}});var g=f(93083),O=f(98447),re=f(17313),ge=f(8378),F=f(37613),m=f(83116);const w=new g.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),he=(A,C)=>({[`.${A}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${C.motionDurationSlow}`}}}),o=(A,C)=>({[`.${A}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:C.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${C.lineWidthBold}px solid ${C.colorPrimary}`,borderRadius:"50%",content:'""'}}}),M=(A,C)=>{const{treeCls:K,treeNodeCls:pe,treeNodePadding:B,titleHeight:Z,nodeSelectedBg:ie,nodeHoverBg:X}=C,L=C.paddingXS;return{[K]:Object.assign(Object.assign({},(0,re.Wf)(C)),{background:C.colorBgContainer,borderRadius:C.borderRadius,transition:`background-color ${C.motionDurationSlow}`,[`&${K}-rtl`]:{[`${K}-switcher`]:{"&_close":{[`${K}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${K}-active-focused)`]:Object.assign({},(0,re.oN)(C)),[`${K}-list-holder-inner`]:{alignItems:"flex-start"},[`&${K}-block-node`]:{[`${K}-list-holder-inner`]:{alignItems:"stretch",[`${K}-node-content-wrapper`]:{flex:"auto"},[`${pe}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:B,insetInlineStart:0,border:`1px solid ${C.colorPrimary}`,opacity:0,animationName:w,animationDuration:C.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${pe}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${B}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${K}-node-content-wrapper`]:{color:C.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${K}-node-content-wrapper`]:Object.assign({},(0,re.oN)(C)),[`&:not(${pe}-disabled).filter-node ${K}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${K}-draggable-icon`]:{flexShrink:0,width:Z,lineHeight:`${Z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${C.motionDurationSlow}`,[`${pe}:hover &`]:{opacity:.45}},[`&${pe}-disabled`]:{[`${K}-draggable-icon`]:{visibility:"hidden"}}}},[`${K}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Z}},[`${K}-draggable-icon`]:{visibility:"hidden"},[`${K}-switcher`]:Object.assign(Object.assign({},he(A,C)),{position:"relative",flex:"none",alignSelf:"stretch",width:Z,margin:0,lineHeight:`${Z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${K}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:C.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Z/2,bottom:-B,marginInlineStart:-1,borderInlineEnd:`1px solid ${C.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Z/2*.8,height:Z/2,borderBottom:`1px solid ${C.colorBorder}`,content:'""'}}}),[`${K}-checkbox`]:{top:"initial",marginInlineEnd:L},[`${K}-node-content-wrapper, ${K}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:Z,margin:0,padding:`0 ${C.paddingXS/2}px`,color:"inherit",lineHeight:`${Z}px`,background:"transparent",borderRadius:C.borderRadius,cursor:"pointer",transition:`all ${C.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:X},[`&${K}-node-selected`]:{backgroundColor:ie},[`${K}-iconEle`]:{display:"inline-block",width:Z,height:Z,lineHeight:`${Z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${K}-unselectable ${K}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${K}-node-content-wrapper`]:Object.assign({lineHeight:`${Z}px`,userSelect:"none"},o(A,C)),[`${pe}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${C.colorPrimary}`}},"&-show-line":{[`${K}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Z/2,bottom:-B,borderInlineEnd:`1px solid ${C.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${K}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${pe}-leaf-last`]:{[`${K}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${Z/2}px !important`}}}}})}},W=A=>{const{treeCls:C,treeNodeCls:K,treeNodePadding:pe,directoryNodeSelectedBg:B,directoryNodeSelectedColor:Z}=A;return{[`${C}${C}-directory`]:{[K]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:pe,insetInlineStart:0,transition:`background-color ${A.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:A.controlItemBgHover}},"> *":{zIndex:1},[`${C}-switcher`]:{transition:`color ${A.motionDurationMid}`},[`${C}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${C}-node-selected`]:{color:Z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:B},[`${C}-switcher`]:{color:Z},[`${C}-node-content-wrapper`]:{color:Z,background:"transparent"}}}}}},y=(A,C)=>{const K=`.${A}`,pe=`${K}-treenode`,B=C.paddingXS/2,Z=(0,F.TS)(C,{treeCls:K,treeNodeCls:pe,treeNodePadding:B});return[M(A,Z),W(Z)]},b=A=>{const{controlHeightSM:C}=A;return{titleHeight:C,nodeHoverBg:A.controlItemBgHover,nodeSelectedBg:A.controlItemBgActive}};it.ZP=(0,m.Z)("Tree",(A,C)=>{let{prefixCls:K}=C;return[{[A.componentCls]:(0,O.C2)(`${K}-checkbox`,A)},y(K,A),(0,ge.Z)(A)]},A=>{const{colorTextLightSolid:C,colorPrimary:K}=A;return Object.assign(Object.assign({},b(A)),{directoryNodeSelectedColor:C,directoryNodeSelectedBg:K})})},71997:function(an,it,f){"use strict";f.d(it,{Z:function(){return pe}});var g=f(72308),O=f(59301),re={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},ge=re,F=f(7657),m=function(Z,ie){return O.createElement(F.Z,(0,g.Z)({},Z,{ref:ie,icon:ge}))},w=O.forwardRef(m),he=w,o=f(52671),M=f(58617),W=f(15075),y=f(43531),b=f(92310),A=f.n(b),C=f(92343),pe=B=>{const{prefixCls:Z,switcherIcon:ie,treeNodeProps:X,showLine:L}=B,{isLeaf:D,expanded:Q,loading:j}=X;if(j)return O.createElement(M.Z,{className:`${Z}-switcher-loading-icon`});let ve;if(L&&typeof L=="object"&&(ve=L.showLeafIcon),D){if(!L)return null;if(typeof ve!="boolean"&&ve){const le=typeof ve=="function"?ve(X):ve,oe=`${Z}-switcher-line-custom-icon`;return(0,C.l$)(le)?(0,C.Tm)(le,{className:A()(le.props.className||"",oe)}):le}return ve?O.createElement(o.Z,{className:`${Z}-switcher-line-icon`}):O.createElement("span",{className:`${Z}-switcher-leaf-line`})}const xe=`${Z}-switcher-icon`,ye=typeof ie=="function"?ie(X):ie;return(0,C.l$)(ye)?(0,C.Tm)(ye,{className:A()(ye.props.className||"",xe)}):ye!==void 0?ye:L?Q?O.createElement(W.Z,{className:`${Z}-switcher-line-icon`}):O.createElement(y.Z,{className:`${Z}-switcher-line-icon`}):O.createElement(he,{className:xe})}},64018:function(){var an,it,f,g=!1,O,re;window.PR_SHOULD_USE_CONTINUATION=!0;var ge,F;(function(){var m=window,w=["break,continue,do,else,for,if,return,while"],he=[w,"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"],o=[he,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],M=[o,"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"],W=[o,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],y=[o,"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"],b="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",A=[o,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],C="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=[w,"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"],pe=[w,"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"],B=[w,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],Z=[M,y,W,A,C,K,pe,B],ie=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,X="str",L="kwd",D="com",Q="typ",j="lit",ve="pun",xe="pln",ye="tag",le="dec",oe="src",H="atn",be="atv",J="nocode",me="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ae(de){for(var fe=0,G=!1,U=!1,we=0,P=de.length;we<P;++we){var T=de[we];if(T.ignoreCase)U=!0;else if(/[a-z]/i.test(T.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){G=!0,U=!1;break}}var I={b:8,t:9,n:10,v:11,f:12,r:13};function ne(Ie){var Fe=Ie.charCodeAt(0);if(Fe!==92)return Fe;var Qe=Ie.charAt(1);return Fe=I[Qe],Fe||("0"<=Qe&&Qe<="7"?parseInt(Ie.substring(1),8):Qe==="u"||Qe==="x"?parseInt(Ie.substring(2),16):Ie.charCodeAt(1))}function $(Ie){if(Ie<32)return(Ie<16?"\\x0":"\\x")+Ie.toString(16);var Fe=String.fromCharCode(Ie);return Fe==="\\"||Fe==="-"||Fe==="]"||Fe==="^"?"\\"+Fe:Fe}function V(Ie){var Fe=Ie.substring(1,Ie.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Qe=[],Ze=Fe[0]==="^",Ve=["["];Ze&&Ve.push("^");for(var xt=Ze?1:0,Ct=Fe.length;xt<Ct;++xt){var ft=Fe[xt];if(/\\[bdsw]/i.test(ft))Ve.push(ft);else{var Ot=ne(ft),Kt;xt+2<Ct&&Fe[xt+1]==="-"?(Kt=ne(Fe[xt+2]),xt+=2):Kt=Ot,Qe.push([Ot,Kt]),Kt<65||Ot>122||(Kt<65||Ot>90||Qe.push([Math.max(65,Ot)|32,Math.min(Kt,90)|32]),Kt<97||Ot>122||Qe.push([Math.max(97,Ot)&-33,Math.min(Kt,122)&-33]))}}Qe.sort(function(Se,Ke){return Se[0]-Ke[0]||Ke[1]-Se[1]});for(var R=[],k=[],xt=0;xt<Qe.length;++xt){var bt=Qe[xt];bt[0]<=k[1]+1?k[1]=Math.max(k[1],bt[1]):R.push(k=bt)}for(var xt=0;xt<R.length;++xt){var bt=R[xt];Ve.push($(bt[0])),bt[1]>bt[0]&&(bt[1]+1>bt[0]&&Ve.push("-"),Ve.push($(bt[1])))}return Ve.push("]"),Ve.join("")}function Te(Ie){for(var Fe=Ie.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Qe=Fe.length,Ze=[],Ve=0,xt=0;Ve<Qe;++Ve){var Ct=Fe[Ve];if(Ct==="(")++xt;else if(Ct.charAt(0)==="\\"){var ft=+Ct.substring(1);ft&&(ft<=xt?Ze[ft]=-1:Fe[Ve]=$(ft))}}for(var Ve=1;Ve<Ze.length;++Ve)Ze[Ve]===-1&&(Ze[Ve]=++fe);for(var Ve=0,xt=0;Ve<Qe;++Ve){var Ct=Fe[Ve];if(Ct==="(")++xt,Ze[xt]||(Fe[Ve]="(?:");else if(Ct.charAt(0)==="\\"){var ft=+Ct.substring(1);ft&&ft<=xt&&(Fe[Ve]="\\"+Ze[ft])}}for(var Ve=0;Ve<Qe;++Ve)Fe[Ve]==="^"&&Fe[Ve+1]!=="^"&&(Fe[Ve]="");if(Ie.ignoreCase&&G)for(var Ve=0;Ve<Qe;++Ve){var Ct=Fe[Ve],Ot=Ct.charAt(0);Ct.length>=2&&Ot==="["?Fe[Ve]=V(Ct):Ot!=="\\"&&(Fe[Ve]=Ct.replace(/[a-zA-Z]/g,function(k){var bt=k.charCodeAt(0);return"["+String.fromCharCode(bt&-33,bt|32)+"]"}))}return Fe.join("")}for(var He=[],we=0,P=de.length;we<P;++we){var T=de[we];if(T.global||T.multiline)throw new Error(""+T);He.push("(?:"+Te(T)+")")}return new RegExp(He.join("|"),U?"gi":"g")}function v(de,fe){var G=/(?:^|\s)nocode(?:\s|$)/,U=[],we=0,P=[],T=0;function I(ne){var $=ne.nodeType;if($==1){if(G.test(ne.className))return;for(var V=ne.firstChild;V;V=V.nextSibling)I(V);var Te=ne.nodeName.toLowerCase();(Te==="br"||Te==="li")&&(U[T]=`
`,P[T<<1]=we++,P[T++<<1|1]=ne)}else if($==3||$==4){var He=ne.nodeValue;He.length&&(fe?He=He.replace(/\r\n?/g,`
`):He=He.replace(/[ \t\r\n]+/g," "),U[T]=He,P[T<<1]=we,we+=He.length,P[T++<<1|1]=ne)}}return I(de),{sourceCode:U.join("").replace(/\n$/,""),spans:P}}function _(de,fe,G,U,we){if(G){var P={sourceNode:de,pre:1,langExtension:null,numberLines:null,sourceCode:G,spans:null,basePos:fe,decorations:null};U(P),we.push.apply(we,P.decorations)}}var Y=/\S/;function q(de){for(var fe=void 0,G=de.firstChild;G;G=G.nextSibling){var U=G.nodeType;fe=U===1?fe?de:G:U===3&&Y.test(G.nodeValue)?de:fe}return fe===de?void 0:fe}function Pe(de,fe){var G={},U;(function(){for(var T=de.concat(fe),I=[],ne={},$=0,V=T.length;$<V;++$){var Te=T[$],He=Te[3];if(He)for(var Ie=He.length;--Ie>=0;)G[He.charAt(Ie)]=Te;var Fe=Te[1],Qe=""+Fe;ne.hasOwnProperty(Qe)||(I.push(Fe),ne[Qe]=null)}I.push(/[\0-\uffff]/),U=ae(I)})();var we=fe.length,P=function(T){for(var I=T.sourceCode,ne=T.basePos,$=T.sourceNode,V=[ne,xe],Te=0,He=I.match(U)||[],Ie={},Fe=0,Qe=He.length;Fe<Qe;++Fe){var Ze=He[Fe],Ve=Ie[Ze],xt=void 0,Ct;if(typeof Ve=="string")Ct=!1;else{var ft=G[Ze.charAt(0)];if(ft)xt=Ze.match(ft[1]),Ve=ft[0];else{for(var Ot=0;Ot<we;++Ot)if(ft=fe[Ot],xt=Ze.match(ft[1]),xt){Ve=ft[0];break}xt||(Ve=xe)}Ct=Ve.length>=5&&Ve.substring(0,5)==="lang-",Ct&&!(xt&&typeof xt[1]=="string")&&(Ct=!1,Ve=oe),Ct||(Ie[Ze]=Ve)}var Kt=Te;if(Te+=Ze.length,!Ct)V.push(ne+Kt,Ve);else{var R=xt[1],k=Ze.indexOf(R),bt=k+R.length;xt[2]&&(bt=Ze.length-xt[2].length,k=bt-R.length);var Se=Ve.substring(5);_($,ne+Kt,Ze.substring(0,k),P,V),_($,ne+Kt+k,R,Pt(Se,R),V),_($,ne+Kt+bt,Ze.substring(bt),P,V)}}T.decorations=V};return P}function Le(de){var fe=[],G=[];de.tripleQuotedStrings?fe.push([X,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):de.multiLineStrings?fe.push([X,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):fe.push([X,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),de.verbatimStrings&&G.push([X,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var U=de.hashComments;U&&(de.cStyleComments?(U>1?fe.push([D,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):fe.push([D,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),G.push([X,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):fe.push([D,/^#[^\r\n]*/,null,"#"])),de.cStyleComments&&(G.push([D,/^\/\/[^\r\n]*/,null]),G.push([D,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var we=de.regexLiterals;if(we){var P=we>1?"":`
\r`,T=P?".":"[\\S\\s]",I="/(?=[^/*"+P+"])(?:[^/\\x5B\\x5C"+P+"]|\\x5C"+T+"|\\x5B(?:[^\\x5C\\x5D"+P+"]|\\x5C"+T+")*(?:\\x5D|$))+/";G.push(["lang-regex",RegExp("^"+me+"("+I+")")])}var ne=de.types;ne&&G.push([Q,ne]);var $=(""+de.keywords).replace(/^ | $/g,"");$.length&&G.push([L,new RegExp("^(?:"+$.replace(/[\s,]+/g,"|")+")\\b"),null]),fe.push([xe,/^\s+/,null,` \r
\xA0`]);var V="^.[^\\s\\w.$@'\"`/\\\\]*";return de.regexLiterals&&(V+="(?!s*/)"),G.push([j,/^@[a-z_$][a-z_$@0-9]*/i,null],[Q,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[xe,/^[a-z_$][a-z_$@0-9]*/i,null],[j,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[xe,/^\\[\s\S]?/,null],[ve,new RegExp(V),null]),Pe(fe,G)}var Ue=Le({keywords:Z,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function $e(de,fe,G){for(var U=/(?:^|\s)nocode(?:\s|$)/,we=/\r\n?|\n/,P=de.ownerDocument,T=P.createElement("li");de.firstChild;)T.appendChild(de.firstChild);var I=[T];function ne(Fe){var Qe=Fe.nodeType;if(Qe==1&&!U.test(Fe.className))if(Fe.nodeName==="br")$(Fe),Fe.parentNode&&Fe.parentNode.removeChild(Fe);else for(var Ze=Fe.firstChild;Ze;Ze=Ze.nextSibling)ne(Ze);else if((Qe==3||Qe==4)&&G){var Ve=Fe.nodeValue,xt=Ve.match(we);if(xt){var Ct=Ve.substring(0,xt.index);Fe.nodeValue=Ct;var ft=Ve.substring(xt.index+xt[0].length);if(ft){var Ot=Fe.parentNode;Ot.insertBefore(P.createTextNode(ft),Fe.nextSibling)}$(Fe),Ct||Fe.parentNode.removeChild(Fe)}}}function $(Fe){for(;!Fe.nextSibling;)if(Fe=Fe.parentNode,!Fe)return;function Qe(xt,Ct){var ft=Ct?xt.cloneNode(!1):xt,Ot=xt.parentNode;if(Ot){var Kt=Qe(Ot,1),R=xt.nextSibling;Kt.appendChild(ft);for(var k=R;k;k=R)R=k.nextSibling,Kt.appendChild(k)}return ft}for(var Ze=Qe(Fe.nextSibling,0),Ve;(Ve=Ze.parentNode)&&Ve.nodeType===1;)Ze=Ve;I.push(Ze)}for(var V=0;V<I.length;++V)ne(I[V]);fe===(fe|0)&&I[0].setAttribute("value",fe);var Te=P.createElement("ol");Te.className="linenums";for(var He=Math.max(0,fe-1|0)||0,V=0,Ie=I.length;V<Ie;++V)T=I[V],T.className="L"+(V+He)%10,T.firstChild||T.appendChild(P.createTextNode("\xA0")),Te.appendChild(T);de.appendChild(Te)}function ut(de){var fe=/\bMSIE\s(\d+)/.exec(navigator.userAgent);fe=fe&&+fe[1]<=8;var G=/\n/g,U=de.sourceCode,we=U.length,P=0,T=de.spans,I=T.length,ne=0,$=de.decorations,V=$.length,Te=0;$[V]=we;var He,Ie;for(Ie=He=0;Ie<V;)$[Ie]!==$[Ie+2]?($[He++]=$[Ie++],$[He++]=$[Ie++]):Ie+=2;for(V=He,Ie=He=0;Ie<V;){for(var Fe=$[Ie],Qe=$[Ie+1],Ze=Ie+2;Ze+2<=V&&$[Ze+1]===Qe;)Ze+=2;$[He++]=Fe,$[He++]=Qe,Ie=Ze}V=$.length=He;var Ve=de.sourceNode,xt="";Ve&&(xt=Ve.style.display,Ve.style.display="none");try{for(var Ct=null;ne<I;){var ft=T[ne],Ot=T[ne+2]||we,Kt=$[Te+2]||we,Ze=Math.min(Ot,Kt),R=T[ne+1],k;if(R.nodeType!==1&&(k=U.substring(P,Ze))){fe&&(k=k.replace(G,"\r")),R.nodeValue=k;var bt=R.ownerDocument,Se=bt.createElement("span");Se.className=$[Te+1];var Ke=R.parentNode;Ke.replaceChild(Se,R),Se.appendChild(R),P<Ot&&(T[ne+1]=R=bt.createTextNode(U.substring(Ze,Ot)),Ke.insertBefore(R,Se.nextSibling))}P=Ze,P>=Ot&&(ne+=2),P>=Kt&&(Te+=2)}}finally{Ve&&(Ve.style.display=xt)}}var dt={};function at(de,fe){for(var G=fe.length;--G>=0;){var U=fe[G];dt.hasOwnProperty(U)?m.console&&console.warn("cannot override language handler %s",U):dt[U]=de}}function Pt(de,fe){return de&&dt.hasOwnProperty(de)||(de=/^\s*</.test(fe)?"default-markup":"default-code"),dt[de]}at(Ue,["default-code"]),at(Pe([],[[xe,/^[^<?]+/],[le,/^<!\w[^>]*(?:>|$)/],[D,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[ve,/^(?:<[%?]|[%?]>)/],["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"]),at(Pe([[xe,/^[\s]+/,null,` \r
`],[be,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[ye,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[H,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[ve,/^[=<>\/]+/],["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"]),at(Pe([],[[be,/^[\s\S]+/]]),["uq.val"]),at(Le({keywords:M,hashComments:!0,cStyleComments:!0,types:ie}),["c","cc","cpp","cxx","cyc","m"]),at(Le({keywords:"null,true,false"}),["json"]),at(Le({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:ie}),["cs"]),at(Le({keywords:W,cStyleComments:!0}),["java"]),at(Le({keywords:B,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),at(Le({keywords:K,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),at(Le({keywords:C,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),at(Le({keywords:pe,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),at(Le({keywords:A,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),at(Le({keywords:b,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),at(Pe([],[[X,/^[\s\S]+/]]),["regex"]);function nn(de){var fe=de.langExtension;try{var G=v(de.sourceNode,de.pre),U=G.sourceCode;de.sourceCode=U,de.spans=G.spans,de.basePos=0,Pt(fe,U)(de),ut(de)}catch(we){m.console&&console.log(we&&we.stack||we)}}function kt(de,fe,G){var U=G||!1,we=fe||null,P=document.createElement("div");P.innerHTML="<pre>"+de+"</pre>",P=P.firstChild,U&&$e(P,U,!0);var T={langExtension:we,numberLines:U,sourceNode:P,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return nn(T),P.innerHTML}function Nt(de,fe){var G=fe||document.body,U=G.ownerDocument||document;function we(ft){return G.getElementsByTagName(ft)}for(var P=[we("pre"),we("code"),we("xmp")],T=[],I=0;I<P.length;++I)for(var ne=0,$=P[I].length;ne<$;++ne)T.push(P[I][ne]);P=null;var V=Date;V.now||(V={now:function(){return+new Date}});var Te=0,He=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ie=/\bprettyprint\b/,Fe=/\bprettyprinted\b/,Qe=/pre|xmp/i,Ze=/^code$/i,Ve=/^(?:pre|code|xmp)$/i,xt={};function Ct(){for(var ft=m.PR_SHOULD_USE_CONTINUATION?V.now()+250:1/0;Te<T.length&&V.now()<ft;Te++){for(var Ot=T[Te],Kt=xt,R=Ot;R=R.previousSibling;){var k=R.nodeType,bt=(k===7||k===8)&&R.nodeValue;if(bt?!/^\??prettify\b/.test(bt):k!==3||/\S/.test(R.nodeValue))break;if(bt){Kt={},bt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Ge,En,Dn){Kt[En]=Dn});break}}var Se=Ot.className;if((Kt!==xt||Ie.test(Se))&&!Fe.test(Se)){for(var Ke=!1,vn=Ot.parentNode;vn;vn=vn.parentNode){var qe=vn.tagName;if(Ve.test(qe)&&vn.className&&Ie.test(vn.className)){Ke=!0;break}}if(!Ke){Ot.className+=" prettyprinted";var et=Kt.lang;if(!et){et=Se.match(He);var Xe;!et&&(Xe=q(Ot))&&Ze.test(Xe.tagName)&&(et=Xe.className.match(He)),et&&(et=et[1])}var _e;if(Qe.test(Ot.tagName))_e=1;else{var Me=Ot.currentStyle,Oe=U.defaultView,rt=Me?Me.whiteSpace:Oe&&Oe.getComputedStyle?Oe.getComputedStyle(Ot,null).getPropertyValue("white-space"):0;_e=rt&&rt.substring(0,3)==="pre"}var Ae=Kt.linenums;(Ae=Ae==="true"||+Ae)||(Ae=Se.match(/\blinenums\b(?::(\d+))?/),Ae=Ae?Ae[1]&&Ae[1].length?+Ae[1]:!0:!1),Ae&&$e(Ot,Ae,_e);var rn={langExtension:et,sourceNode:Ot,numberLines:Ae,pre:_e,sourceCode:null,basePos:null,spans:null,decorations:null};nn(rn)}}}Te<T.length?m.setTimeout(Ct,250):typeof de=="function"&&de()}Ct()}var lt=m.PR={createSimpleLexer:Pe,registerLangHandler:at,sourceDecorator:Le,PR_ATTRIB_NAME:H,PR_ATTRIB_VALUE:be,PR_COMMENT:D,PR_DECLARATION:le,PR_KEYWORD:L,PR_LITERAL:j,PR_NOCODE:J,PR_PLAIN:xe,PR_PUNCTUATION:ve,PR_SOURCE:oe,PR_STRING:X,PR_TAG:ye,PR_TYPE:Q,prettyPrintOne:g?m.prettyPrintOne=kt:ge=kt,prettyPrint:F=g?m.prettyPrint=Nt:F=Nt},wt=m.define;typeof wt=="function"&&wt.amd&&wt("google-code-prettify",[],function(){return lt})})()},25769:function(an,it,f){"use strict";var g=f(98040),O={"text/plain":"Text","text/html":"Url",default:"Text"},re="Copy to clipboard: #{key}, Enter";function ge(m){var w=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return m.replace(/#{\s*key\s*}/g,w)}function F(m,w){var he,o,M,W,y,b,A=!1;w||(w={}),he=w.debug||!1;try{M=g(),W=document.createRange(),y=document.getSelection(),b=document.createElement("span"),b.textContent=m,b.ariaHidden="true",b.style.all="unset",b.style.position="fixed",b.style.top=0,b.style.clip="rect(0, 0, 0, 0)",b.style.whiteSpace="pre",b.style.webkitUserSelect="text",b.style.MozUserSelect="text",b.style.msUserSelect="text",b.style.userSelect="text",b.addEventListener("copy",function(K){if(K.stopPropagation(),w.format)if(K.preventDefault(),typeof K.clipboardData=="undefined"){he&&console.warn("unable to use e.clipboardData"),he&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var pe=O[w.format]||O.default;window.clipboardData.setData(pe,m)}else K.clipboardData.clearData(),K.clipboardData.setData(w.format,m);w.onCopy&&(K.preventDefault(),w.onCopy(K.clipboardData))}),document.body.appendChild(b),W.selectNodeContents(b),y.addRange(W);var C=document.execCommand("copy");if(!C)throw new Error("copy command was unsuccessful");A=!0}catch(K){he&&console.error("unable to copy using execCommand: ",K),he&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(w.format||"text",m),w.onCopy&&w.onCopy(window.clipboardData),A=!0}catch(pe){he&&console.error("unable to copy using clipboardData: ",pe),he&&console.error("falling back to prompt"),o=ge("message"in w?w.message:re),window.prompt(o,m)}}finally{y&&(typeof y.removeRange=="function"?y.removeRange(W):y.removeAllRanges()),b&&document.body.removeChild(b),M()}return A}an.exports=F},53184:function(an,it,f){"use strict";var g,O;function re(ge,F,m){var w=function(he,o){return ge.js_beautify(he,o)};return w.js=ge.js_beautify,w.css=F.css_beautify,w.html=m.html_beautify,w.js_beautify=ge.js_beautify,w.css_beautify=F.css_beautify,w.html_beautify=m.html_beautify,w}g=[f(58553),f(87804),f(40998)],O=function(ge,F,m){return re(ge,F,m)}.apply(it,g),O!==void 0&&(an.exports=O)},87804:function(an,it){var f,g;(function(){var O;(function(){"use strict";var ge=[,,function(he){function o(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=[]}o.prototype.clone_empty=function(){var y=new o(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},o.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},o.prototype.has_match=function(y){for(var b=this.__items.length-1;b>=0;b--)if(this.__items[b].match(y))return!0;return!1},o.prototype.set_indent=function(y,b){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=b||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},o.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)},o.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},o.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},o.prototype.is_empty=function(){return this.__items.length===0},o.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},o.prototype.push=function(y){this.__items.push(y);var b=y.lastIndexOf(`
`);b!==-1?this.__character_count=y.length-b:this.__character_count+=y.length},o.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},o.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},o.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},o.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},o.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 M(y,b){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)),b=b||"",y.indent_level>0&&(b=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=b,this.__base_string_length=b.length}M.prototype.get_indent_size=function(y,b){var A=this.__base_string_length;return b=b||0,y<0&&(A=0),A+=y*this.__indent_size,A+=b,A},M.prototype.get_indent_string=function(y,b){var A=this.__base_string;return b=b||0,y<0&&(y=0,A=""),b+=y*this.__indent_size,this.__ensure_cache(b),A+=this.__cache[b],A},M.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},M.prototype.__add_column=function(){var y=this.__cache.length,b=0,A="";this.__indent_size&&y>=this.__indent_size&&(b=Math.floor(y/this.__indent_size),y-=b*this.__indent_size,A=new Array(b+1).join(this.__indent_string)),y&&(A+=new Array(y+1).join(" ")),this.__cache.push(A)};function W(y,b){this.__indent_cache=new M(y,b),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 o(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}W.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},W.prototype.get_line_number=function(){return this.__lines.length},W.prototype.get_indent_string=function(y,b){return this.__indent_cache.get_indent_string(y,b)},W.prototype.get_indent_size=function(y,b){return this.__indent_cache.get_indent_size(y,b)},W.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},W.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},W.prototype.get_code=function(y){this.trim(!0);var b=this.current_line.pop();b&&(b[b.length-1]===`
`&&(b=b.replace(/\n+$/g,"")),this.current_line.push(b)),this._end_with_newline&&this.__add_outputline();var A=this.__lines.join(`
`);return y!==`
`&&(A=A.replace(/[\n]/g,y)),A},W.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},W.prototype.set_indent=function(y,b){return y=y||0,b=b||0,this.next_line.set_indent(y,b),this.__lines.length>1?(this.current_line.set_indent(y,b),!0):(this.current_line.set_indent(),!1)},W.prototype.add_raw_token=function(y){for(var b=0;b<y.newlines;b++)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},W.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()},W.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(" "))},W.prototype.remove_indent=function(y){for(var b=this.__lines.length;y<b;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},W.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},W.prototype.just_added_newline=function(){return this.current_line.is_empty()},W.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},W.prototype.ensure_empty_line_above=function(y,b){for(var A=this.__lines.length-2;A>=0;){var C=this.__lines[A];if(C.is_empty())break;if(C.item(0).indexOf(y)!==0&&C.item(-1)!==b){this.__lines.splice(A+1,0,new o(this)),this.previous_line=this.__lines[this.__lines.length-2];break}A--}},he.exports.Output=W},,,,function(he){function o(y,b){this.raw_options=M(y,b),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"])}o.prototype._get_array=function(y,b){var A=this.raw_options[y],C=b||[];return typeof A=="object"?A!==null&&typeof A.concat=="function"&&(C=A.concat()):typeof A=="string"&&(C=A.split(/[^a-zA-Z0-9_\/\-]+/)),C},o.prototype._get_boolean=function(y,b){var A=this.raw_options[y],C=A===void 0?!!b:!!A;return C},o.prototype._get_characters=function(y,b){var A=this.raw_options[y],C=b||"";return typeof A=="string"&&(C=A.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),C},o.prototype._get_number=function(y,b){var A=this.raw_options[y];b=parseInt(b,10),isNaN(b)&&(b=0);var C=parseInt(A,10);return isNaN(C)&&(C=b),C},o.prototype._get_selection=function(y,b,A){var C=this._get_selection_list(y,b,A);if(C.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
`+b+`
You passed in: '`+this.raw_options[y]+"'");return C[0]},o.prototype._get_selection_list=function(y,b,A){if(!b||b.length===0)throw new Error("Selection list cannot be empty.");if(A=A||[b[0]],!this._is_valid_selection(A,b))throw new Error("Invalid Default Value!");var C=this._get_array(y,A);if(!this._is_valid_selection(C,b))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
`+b+`
You passed in: '`+this.raw_options[y]+"'");return C},o.prototype._is_valid_selection=function(y,b){return y.length&&b.length&&!y.some(function(A){return b.indexOf(A)===-1})};function M(y,b){var A={};y=W(y);var C;for(C in y)C!==b&&(A[C]=y[C]);if(b&&y[b])for(C in y[b])A[C]=y[b][C];return A}function W(y){var b={},A;for(A in y){var C=A.replace(/-/g,"_");b[C]=y[A]}return b}he.exports.Options=o,he.exports.normalizeOpts=W,he.exports.mergeOpts=M},,function(he){var o=RegExp.prototype.hasOwnProperty("sticky");function M(W){this.__input=W||"",this.__input_length=this.__input.length,this.__position=0}M.prototype.restart=function(){this.__position=0},M.prototype.back=function(){this.__position>0&&(this.__position-=1)},M.prototype.hasNext=function(){return this.__position<this.__input_length},M.prototype.next=function(){var W=null;return this.hasNext()&&(W=this.__input.charAt(this.__position),this.__position+=1),W},M.prototype.peek=function(W){var y=null;return W=W||0,W+=this.__position,W>=0&&W<this.__input_length&&(y=this.__input.charAt(W)),y},M.prototype.__match=function(W,y){W.lastIndex=y;var b=W.exec(this.__input);return b&&!(o&&W.sticky)&&b.index!==y&&(b=null),b},M.prototype.test=function(W,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(W,y):!1},M.prototype.testChar=function(W,y){var b=this.peek(y);return W.lastIndex=0,b!==null&&W.test(b)},M.prototype.match=function(W){var y=this.__match(W,this.__position);return y?this.__position+=y[0].length:y=null,y},M.prototype.read=function(W,y,b){var A="",C;return W&&(C=this.match(W),C&&(A+=C[0])),y&&(C||!W)&&(A+=this.readUntil(y,b)),A},M.prototype.readUntil=function(W,y){var b="",A=this.__position;W.lastIndex=this.__position;var C=W.exec(this.__input);return C?(A=C.index,y&&(A+=C[0].length)):A=this.__input_length,b=this.__input.substring(this.__position,A),this.__position=A,b},M.prototype.readUntilAfter=function(W){return this.readUntil(W,!0)},M.prototype.get_regexp=function(W,y){var b=null,A="g";return y&&o&&(A="y"),typeof W=="string"&&W!==""?b=new RegExp(W,A):W&&(b=new RegExp(W.source,A)),b},M.prototype.get_literal_regexp=function(W){return RegExp(W.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},M.prototype.peekUntilAfter=function(W){var y=this.__position,b=this.readUntilAfter(W);return this.__position=y,b},M.prototype.lookBack=function(W){var y=this.__position-1;return y>=W.length&&this.__input.substring(y-W.length,y).toLowerCase()===W},he.exports.InputScanner=M},,,,,function(he){function o(M,W){M=typeof M=="string"?M:M.source,W=typeof W=="string"?W:W.source,this.__directives_block_pattern=new RegExp(M+/ beautify( \w+[:]\w+)+ /.source+W,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(M+/\sbeautify\signore:end\s/.source+W,"g")}o.prototype.get_directives=function(M){if(!M.match(this.__directives_block_pattern))return null;var W={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(M);y;)W[y[1]]=y[2],y=this.__directive_pattern.exec(M);return W},o.prototype.readIgnored=function(M){return M.readUntilAfter(this.__directives_end_ignore_pattern)},he.exports.Directives=o},,function(he,o,M){var W=M(16).Beautifier,y=M(17).Options;function b(A,C){var K=new W(A,C);return K.beautify()}he.exports=b,he.exports.defaultOptions=function(){return new y}},function(he,o,M){var W=M(17).Options,y=M(2).Output,b=M(8).InputScanner,A=M(13).Directives,C=new A(/\/\*/,/\*\//),K=/\r\n|[\r\n]/,pe=/\r\n|[\r\n]/g,B=/\s/,Z=/(?:\s|\n)+/g,ie=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,X=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function L(D,Q){this._source_text=D||"",this._options=new W(Q),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"]}L.prototype.eatString=function(D){var Q="";for(this._ch=this._input.next();this._ch;){if(Q+=this._ch,this._ch==="\\")Q+=this._input.next();else if(D.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return Q},L.prototype.eatWhitespace=function(D){for(var Q=B.test(this._input.peek()),j=0;B.test(this._input.peek());)this._ch=this._input.next(),D&&this._ch===`
`&&(j===0||j<this._options.max_preserve_newlines)&&(j++,this._output.add_new_line(!0));return Q},L.prototype.foundNestedPseudoClass=function(){for(var D=0,Q=1,j=this._input.peek(Q);j;){if(j==="{")return!0;if(j==="(")D+=1;else if(j===")"){if(D===0)return!1;D-=1}else if(j===";"||j==="}")return!1;Q++,j=this._input.peek(Q)}return!1},L.prototype.print_string=function(D){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(D)},L.prototype.preserveSingleSpace=function(D){D&&(this._output.space_before_token=!0)},L.prototype.indent=function(){this._indentLevel++},L.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},L.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var D=this._source_text,Q=this._options.eol;Q==="auto"&&(Q=`
`,D&&K.test(D||"")&&(Q=D.match(K)[0])),D=D.replace(pe,`
`);var j=D.match(/^[\t ]*/)[0];this._output=new y(this._options,j),this._input=new b(D),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var ve=0,xe=!1,ye=!1,le=!1,oe=!1,H=!1,be=this._ch,J=!1,me,ae,v;me=this._input.read(Z),ae=me!=="",v=be,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),be=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var _=this._input.read(ie),Y=C.get_directives(_);Y&&Y.ignore==="start"&&(_+=C.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(X)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(ae),this.print_string(this._ch);var q=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);q.match(/[ :]$/)&&(q=this.eatString(": ").replace(/\s+$/,""),this.print_string(q),this._output.space_before_token=!0),ve===0&&q.indexOf(":")!==-1&&(ye=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(ae),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Pe=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Pe.match(/[ :]$/)&&(Pe=this.eatString(": ").replace(/\s+$/,""),this.print_string(Pe),this._output.space_before_token=!0),ve===0&&Pe.indexOf(":")!==-1?(ye=!0,this.indent()):Pe in this.NESTED_AT_RULE?(this._nestedLevel+=1,Pe in this.CONDITIONAL_GROUP_RULE&&(le=!0)):ve===0&&!ye&&(oe=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ae),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")ye&&(ye=!1,this.outdent()),oe=!1,le?(le=!1,xe=this._indentLevel>=this._nestedLevel):xe=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&xe&&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)):(v==="("?this._output.space_before_token=!1:v!==","&&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(),v==="{"&&this._output.trim(!0),ye&&(this.outdent(),ye=!1),this.print_string(this._ch),xe=!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])){J=!0;break}(xe||le)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!oe&&ve===0?(this.print_string(":"),ye||(ye=!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 Ue=v==='"'||v==="'";this.preserveSingleSpace(Ue||ae),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")J=!1,ve===0?(ye&&(this.outdent(),ye=!1),oe=!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(),ve++,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(")")),ve&&(ve--,this.outdent()));else{var $e=!1;this._input.lookBack("with")&&($e=!0),this.preserveSingleSpace(ae||$e),this.print_string(this._ch),ye&&v==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),H=!0):(this.eatWhitespace(),ve++,this.indent())}else if(this._ch===")")ve&&(ve--,this.outdent()),H&&this._input.peek()===";"&&this._options.selector_separator_newline&&(H=!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&&(!ye||H)&&ve===0&&!oe?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!ye&&ve===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&&B.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(ae),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),B.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 ut=v==='"'||v==="'";this.preserveSingleSpace(ut||ae),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&J&&this._output.add_new_line()}var dt=this._output.get_code(Q);return dt},he.exports.Beautifier=L},function(he,o,M){var W=M(6).Options;function y(b){W.call(this,b,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var A=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||A;var C=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var K=0;K<C.length;K++)C[K]!=="expand"?this.brace_style="collapse":this.brace_style=C[K]}y.prototype=new W,he.exports.Options=y}],F={};function m(he){var o=F[he];if(o!==void 0)return o.exports;var M=F[he]={exports:{}};return ge[he](M,M.exports,m),M.exports}var w=m(15);O=w})();var re=O;f=[],g=function(){return{css_beautify:re}}.apply(it,f),g!==void 0&&(an.exports=g)})()},40998:function(an,it,f){var g,O;(function(){var re;(function(){"use strict";var w=[,,function(W){function y(C){this.__parent=C,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 C=new y(this.__parent);return C.set_indent(this.__indent_count,this.__alignment_count),C},y.prototype.item=function(C){return C<0?this.__items[this.__items.length+C]:this.__items[C]},y.prototype.has_match=function(C){for(var K=this.__items.length-1;K>=0;K--)if(this.__items[K].match(C))return!0;return!1},y.prototype.set_indent=function(C,K){this.is_empty()&&(this.__indent_count=C||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 C=this.__parent.current_line;return C.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),C.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),C.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,C.__items[0]===" "&&(C.__items.splice(0,1),C.__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(C){this.__items.push(C);var K=C.lastIndexOf(`
`);K!==-1?this.__character_count=C.length-K:this.__character_count+=C.length},y.prototype.pop=function(){var C=null;return this.is_empty()||(C=this.__items.pop(),this.__character_count-=C.length),C},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 C="";return this.is_empty()?this.__parent.indent_empty_lines&&(C=this.__parent.get_indent_string(this.__indent_count)):(C=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),C+=this.__items.join("")),C};function b(C,K){this.__cache=[""],this.__indent_size=C.indent_size,this.__indent_string=C.indent_char,C.indent_with_tabs||(this.__indent_string=new Array(C.indent_size+1).join(C.indent_char)),K=K||"",C.indent_level>0&&(K=new Array(C.indent_level+1).join(this.__indent_string)),this.__base_string=K,this.__base_string_length=K.length}b.prototype.get_indent_size=function(C,K){var pe=this.__base_string_length;return K=K||0,C<0&&(pe=0),pe+=C*this.__indent_size,pe+=K,pe},b.prototype.get_indent_string=function(C,K){var pe=this.__base_string;return K=K||0,C<0&&(C=0,pe=""),K+=C*this.__indent_size,this.__ensure_cache(K),pe+=this.__cache[K],pe},b.prototype.__ensure_cache=function(C){for(;C>=this.__cache.length;)this.__add_column()},b.prototype.__add_column=function(){var C=this.__cache.length,K=0,pe="";this.__indent_size&&C>=this.__indent_size&&(K=Math.floor(C/this.__indent_size),C-=K*this.__indent_size,pe=new Array(K+1).join(this.__indent_string)),C&&(pe+=new Array(C+1).join(" ")),this.__cache.push(pe)};function A(C,K){this.__indent_cache=new b(C,K),this.raw=!1,this._end_with_newline=C.end_with_newline,this.indent_size=C.indent_size,this.wrap_line_length=C.wrap_line_length,this.indent_empty_lines=C.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()}A.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},A.prototype.get_line_number=function(){return this.__lines.length},A.prototype.get_indent_string=function(C,K){return this.__indent_cache.get_indent_string(C,K)},A.prototype.get_indent_size=function(C,K){return this.__indent_cache.get_indent_size(C,K)},A.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},A.prototype.add_new_line=function(C){return this.is_empty()||!C&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},A.prototype.get_code=function(C){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 pe=this.__lines.join(`
`);return C!==`
`&&(pe=pe.replace(/[\n]/g,C)),pe},A.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},A.prototype.set_indent=function(C,K){return C=C||0,K=K||0,this.next_line.set_indent(C,K),this.__lines.length>1?(this.current_line.set_indent(C,K),!0):(this.current_line.set_indent(),!1)},A.prototype.add_raw_token=function(C){for(var K=0;K<C.newlines;K++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(C.whitespace_before),this.current_line.push(C.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},A.prototype.add_token=function(C){this.__add_space_before_token(),this.current_line.push(C),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},A.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(" "))},A.prototype.remove_indent=function(C){for(var K=this.__lines.length;C<K;)this.__lines[C]._remove_indent(),C++;this.current_line._remove_wrap_indent()},A.prototype.trim=function(C){for(C=C===void 0?!1:C,this.current_line.trim();C&&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},A.prototype.just_added_newline=function(){return this.current_line.is_empty()},A.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},A.prototype.ensure_empty_line_above=function(C,K){for(var pe=this.__lines.length-2;pe>=0;){var B=this.__lines[pe];if(B.is_empty())break;if(B.item(0).indexOf(C)!==0&&B.item(-1)!==K){this.__lines.splice(pe+1,0,new y(this)),this.previous_line=this.__lines[this.__lines.length-2];break}pe--}},W.exports.Output=A},function(W){function y(b,A,C,K){this.type=b,this.text=A,this.comments_before=null,this.newlines=C||0,this.whitespace_before=K||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}W.exports.Token=y},,,function(W){function y(C,K){this.raw_options=b(C,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(C,K){var pe=this.raw_options[C],B=K||[];return typeof pe=="object"?pe!==null&&typeof pe.concat=="function"&&(B=pe.concat()):typeof pe=="string"&&(B=pe.split(/[^a-zA-Z0-9_\/\-]+/)),B},y.prototype._get_boolean=function(C,K){var pe=this.raw_options[C],B=pe===void 0?!!K:!!pe;return B},y.prototype._get_characters=function(C,K){var pe=this.raw_options[C],B=K||"";return typeof pe=="string"&&(B=pe.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),B},y.prototype._get_number=function(C,K){var pe=this.raw_options[C];K=parseInt(K,10),isNaN(K)&&(K=0);var B=parseInt(pe,10);return isNaN(B)&&(B=K),B},y.prototype._get_selection=function(C,K,pe){var B=this._get_selection_list(C,K,pe);if(B.length!==1)throw new Error("Invalid Option Value: The option '"+C+`' can only be one of the following values:
`+K+`
You passed in: '`+this.raw_options[C]+"'");return B[0]},y.prototype._get_selection_list=function(C,K,pe){if(!K||K.length===0)throw new Error("Selection list cannot be empty.");if(pe=pe||[K[0]],!this._is_valid_selection(pe,K))throw new Error("Invalid Default Value!");var B=this._get_array(C,pe);if(!this._is_valid_selection(B,K))throw new Error("Invalid Option Value: The option '"+C+`' can contain only the following values:
`+K+`
You passed in: '`+this.raw_options[C]+"'");return B},y.prototype._is_valid_selection=function(C,K){return C.length&&K.length&&!C.some(function(pe){return K.indexOf(pe)===-1})};function b(C,K){var pe={};C=A(C);var B;for(B in C)B!==K&&(pe[B]=C[B]);if(K&&C[K])for(B in C[K])pe[B]=C[K][B];return pe}function A(C){var K={},pe;for(pe in C){var B=pe.replace(/-/g,"_");K[B]=C[pe]}return K}W.exports.Options=y,W.exports.normalizeOpts=A,W.exports.mergeOpts=b},,function(W){var y=RegExp.prototype.hasOwnProperty("sticky");function b(A){this.__input=A||"",this.__input_length=this.__input.length,this.__position=0}b.prototype.restart=function(){this.__position=0},b.prototype.back=function(){this.__position>0&&(this.__position-=1)},b.prototype.hasNext=function(){return this.__position<this.__input_length},b.prototype.next=function(){var A=null;return this.hasNext()&&(A=this.__input.charAt(this.__position),this.__position+=1),A},b.prototype.peek=function(A){var C=null;return A=A||0,A+=this.__position,A>=0&&A<this.__input_length&&(C=this.__input.charAt(A)),C},b.prototype.__match=function(A,C){A.lastIndex=C;var K=A.exec(this.__input);return K&&!(y&&A.sticky)&&K.index!==C&&(K=null),K},b.prototype.test=function(A,C){return C=C||0,C+=this.__position,C>=0&&C<this.__input_length?!!this.__match(A,C):!1},b.prototype.testChar=function(A,C){var K=this.peek(C);return A.lastIndex=0,K!==null&&A.test(K)},b.prototype.match=function(A){var C=this.__match(A,this.__position);return C?this.__position+=C[0].length:C=null,C},b.prototype.read=function(A,C,K){var pe="",B;return A&&(B=this.match(A),B&&(pe+=B[0])),C&&(B||!A)&&(pe+=this.readUntil(C,K)),pe},b.prototype.readUntil=function(A,C){var K="",pe=this.__position;A.lastIndex=this.__position;var B=A.exec(this.__input);return B?(pe=B.index,C&&(pe+=B[0].length)):pe=this.__input_length,K=this.__input.substring(this.__position,pe),this.__position=pe,K},b.prototype.readUntilAfter=function(A){return this.readUntil(A,!0)},b.prototype.get_regexp=function(A,C){var K=null,pe="g";return C&&y&&(pe="y"),typeof A=="string"&&A!==""?K=new RegExp(A,pe):A&&(K=new RegExp(A.source,pe)),K},b.prototype.get_literal_regexp=function(A){return RegExp(A.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},b.prototype.peekUntilAfter=function(A){var C=this.__position,K=this.readUntilAfter(A);return this.__position=C,K},b.prototype.lookBack=function(A){var C=this.__position-1;return C>=A.length&&this.__input.substring(C-A.length,C).toLowerCase()===A},W.exports.InputScanner=b},function(W,y,b){var A=b(8).InputScanner,C=b(3).Token,K=b(10).TokenStream,pe=b(11).WhitespacePattern,B={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},Z=function(ie,X){this._input=new A(ie),this._options=X||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new pe(this._input)};Z.prototype.tokenize=function(){this._input.restart(),this.__tokens=new K,this._reset();for(var ie,X=new C(B.START,""),L=null,D=[],Q=new K;X.type!==B.EOF;){for(ie=this._get_next_token(X,L);this._is_comment(ie);)Q.add(ie),ie=this._get_next_token(X,L);Q.isEmpty()||(ie.comments_before=Q,Q=new K),ie.parent=L,this._is_opening(ie)?(D.push(L),L=ie):L&&this._is_closing(ie,L)&&(ie.opened=L,L.closed=ie,L=D.pop(),ie.parent=L),ie.previous=X,X.next=ie,this.__tokens.add(ie),X=ie}return this.__tokens},Z.prototype._is_first_token=function(){return this.__tokens.isEmpty()},Z.prototype._reset=function(){},Z.prototype._get_next_token=function(ie,X){this._readWhitespace();var L=this._input.read(/.+/g);return L?this._create_token(B.RAW,L):this._create_token(B.EOF,"")},Z.prototype._is_comment=function(ie){return!1},Z.prototype._is_opening=function(ie){return!1},Z.prototype._is_closing=function(ie,X){return!1},Z.prototype._create_token=function(ie,X){var L=new C(ie,X,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return L},Z.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},W.exports.Tokenizer=Z,W.exports.TOKEN=B},function(W){function y(b){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=b}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 b=null;return this.hasNext()&&(b=this.__tokens[this.__position],this.__position+=1),b},y.prototype.peek=function(b){var A=null;return b=b||0,b+=this.__position,b>=0&&b<this.__tokens_length&&(A=this.__tokens[b]),A},y.prototype.add=function(b){this.__parent_token&&(b.parent=this.__parent_token),this.__tokens.push(b),this.__tokens_length+=1},W.exports.TokenStream=y},function(W,y,b){var A=b(12).Pattern;function C(K,pe){A.call(this,K,pe),pe?this._line_regexp=this._input.get_regexp(pe._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}C.prototype=new A,C.prototype.__set_whitespace_patterns=function(K,pe){K+="\\t ",pe+="\\n\\r",this._match_pattern=this._input.get_regexp("["+K+pe+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+pe+"]")},C.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 pe=this.__split(this._newline_regexp,K);this.newline_count=pe.length-1,this.whitespace_before_token=pe[this.newline_count]}return K},C.prototype.matching=function(K,pe){var B=this._create();return B.__set_whitespace_patterns(K,pe),B._update(),B},C.prototype._create=function(){return new C(this._input,this)},C.prototype.__split=function(K,pe){K.lastIndex=0;for(var B=0,Z=[],ie=K.exec(pe);ie;)Z.push(pe.substring(B,ie.index)),B=ie.index+ie[0].length,ie=K.exec(pe);return B<pe.length?Z.push(pe.substring(B,pe.length)):Z.push(""),Z},W.exports.WhitespacePattern=C},function(W){function y(b,A){this._input=b,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,A&&(this._starting_pattern=this._input.get_regexp(A._starting_pattern,!0),this._match_pattern=this._input.get_regexp(A._match_pattern,!0),this._until_pattern=this._input.get_regexp(A._until_pattern),this._until_after=A._until_after)}y.prototype.read=function(){var b=this._input.read(this._starting_pattern);return(!this._starting_pattern||b)&&(b+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),b},y.prototype.read_match=function(){return this._input.match(this._match_pattern)},y.prototype.until_after=function(b){var A=this._create();return A._until_after=!0,A._until_pattern=this._input.get_regexp(b),A._update(),A},y.prototype.until=function(b){var A=this._create();return A._until_after=!1,A._until_pattern=this._input.get_regexp(b),A._update(),A},y.prototype.starting_with=function(b){var A=this._create();return A._starting_pattern=this._input.get_regexp(b,!0),A._update(),A},y.prototype.matching=function(b){var A=this._create();return A._match_pattern=this._input.get_regexp(b,!0),A._update(),A},y.prototype._create=function(){return new y(this._input,this)},y.prototype._update=function(){},W.exports.Pattern=y},function(W){function y(b,A){b=typeof b=="string"?b:b.source,A=typeof A=="string"?A:A.source,this.__directives_block_pattern=new RegExp(b+/ beautify( \w+[:]\w+)+ /.source+A,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(b+/\sbeautify\signore:end\s/.source+A,"g")}y.prototype.get_directives=function(b){if(!b.match(this.__directives_block_pattern))return null;var A={};this.__directive_pattern.lastIndex=0;for(var C=this.__directive_pattern.exec(b);C;)A[C[1]]=C[2],C=this.__directive_pattern.exec(b);return A},y.prototype.readIgnored=function(b){return b.readUntilAfter(this.__directives_end_ignore_pattern)},W.exports.Directives=y},function(W,y,b){var A=b(12).Pattern,C={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function K(pe,B){A.call(this,pe,B),this.__template_pattern=null,this._disabled=Object.assign({},C),this._excluded=Object.assign({},C),B&&(this.__template_pattern=this._input.get_regexp(B.__template_pattern),this._excluded=Object.assign(this._excluded,B._excluded),this._disabled=Object.assign(this._disabled,B._disabled));var Z=new A(pe);this.__patterns={handlebars_comment:Z.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:Z.starting_with(/{{{/).until_after(/}}}/),handlebars:Z.starting_with(/{{/).until_after(/}}/),php:Z.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:Z.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:Z.starting_with(/{%/).until_after(/%}/),django_value:Z.starting_with(/{{/).until_after(/}}/),django_comment:Z.starting_with(/{#/).until_after(/#}/),smarty:Z.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:Z.starting_with(/{\*/).until_after(/\*}/),smarty_literal:Z.starting_with(/{literal}/).until_after(/{\/literal}/)}}K.prototype=new A,K.prototype._create=function(){return new K(this._input,this)},K.prototype._update=function(){this.__set_templated_pattern()},K.prototype.disable=function(pe){var B=this._create();return B._disabled[pe]=!0,B._update(),B},K.prototype.read_options=function(pe){var B=this._create();for(var Z in C)B._disabled[Z]=pe.templating.indexOf(Z)===-1;return B._update(),B},K.prototype.exclude=function(pe){var B=this._create();return B._excluded[pe]=!0,B._update(),B},K.prototype.read=function(){var pe="";this._match_pattern?pe=this._input.read(this._starting_pattern):pe=this._input.read(this._starting_pattern,this.__template_pattern);for(var B=this._read_template();B;)this._match_pattern?B+=this._input.read(this._match_pattern):B+=this._input.readUntil(this.__template_pattern),pe+=B,B=this._read_template();return this._until_after&&(pe+=this._input.readUntilAfter(this._until_pattern)),pe},K.prototype.__set_templated_pattern=function(){var pe=[];this._disabled.php||pe.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||pe.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||pe.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||pe.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(pe.push(this.__patterns.django._starting_pattern.source),pe.push(this.__patterns.django_value._starting_pattern.source),pe.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||pe.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&pe.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+pe.join("|")+")")},K.prototype._read_template=function(){var pe="",B=this._input.peek();if(B==="<"){var Z=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&Z==="?"&&(pe=pe||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&Z==="%"&&(pe=pe||this.__patterns.erb.read())}else B==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(pe=pe||this.__patterns.handlebars_comment.read(),pe=pe||this.__patterns.handlebars_unescaped.read(),pe=pe||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(pe=pe||this.__patterns.django_value.read()),this._excluded.django||(pe=pe||this.__patterns.django_comment.read(),pe=pe||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(pe=pe||this.__patterns.smarty_comment.read(),pe=pe||this.__patterns.smarty_literal.read(),pe=pe||this.__patterns.smarty.read()));return pe},W.exports.TemplatablePattern=K},,,,function(W,y,b){var A=b(19).Beautifier,C=b(20).Options;function K(pe,B,Z,ie){var X=new A(pe,B,Z,ie);return X.beautify()}W.exports=K,W.exports.defaultOptions=function(){return new C}},function(W,y,b){var A=b(20).Options,C=b(2).Output,K=b(21).Tokenizer,pe=b(21).TOKEN,B=/\r\n|[\r\n]/,Z=/\r\n|[\r\n]/g,ie=function(oe,H){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=oe.max_preserve_newlines,this.preserve_newlines=oe.preserve_newlines,this._output=new C(oe,H)};ie.prototype.current_line_has_match=function(oe){return this._output.current_line.has_match(oe)},ie.prototype.set_space_before_token=function(oe,H){this._output.space_before_token=oe,this._output.non_breaking_space=H},ie.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},ie.prototype.add_raw_token=function(oe){this._output.add_raw_token(oe)},ie.prototype.print_preserved_newlines=function(oe){var H=0;oe.type!==pe.TEXT&&oe.previous.type!==pe.TEXT&&(H=oe.newlines?1:0),this.preserve_newlines&&(H=oe.newlines<this.max_preserve_newlines+1?oe.newlines:this.max_preserve_newlines+1);for(var be=0;be<H;be++)this.print_newline(be>0);return H!==0},ie.prototype.traverse_whitespace=function(oe){return oe.whitespace_before||oe.newlines?(this.print_preserved_newlines(oe)||(this._output.space_before_token=!0),!0):!1},ie.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},ie.prototype.print_newline=function(oe){this._output.add_new_line(oe)},ie.prototype.print_token=function(oe){oe.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(oe.text))},ie.prototype.indent=function(){this.indent_level++},ie.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},ie.prototype.get_full_indent=function(oe){return oe=this.indent_level+(oe||0),oe<1?"":this._output.get_indent_string(oe)};var X=function(oe){for(var H=null,be=oe.next;be.type!==pe.EOF&&oe.closed!==be;){if(be.type===pe.ATTRIBUTE&&be.text==="type"){be.next&&be.next.type===pe.EQUALS&&be.next.next&&be.next.next.type===pe.VALUE&&(H=be.next.next.text);break}be=be.next}return H},L=function(oe,H){var be=null,J=null;return H.closed?(oe==="script"?be="text/javascript":oe==="style"&&(be="text/css"),be=X(H)||be,be.search("text/css")>-1?J="css":be.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?J="javascript":be.search(/(text|application|dojo)\/(x-)?(html)/)>-1?J="html":be.search(/test\/null/)>-1&&(J="null"),J):null};function D(oe,H){return H.indexOf(oe)!==-1}function Q(oe,H,be){this.parent=oe||null,this.tag=H?H.tag_name:"",this.indent_level=be||0,this.parser_token=H||null}function j(oe){this._printer=oe,this._current_frame=null}j.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},j.prototype.record_tag=function(oe){var H=new Q(this._current_frame,oe,this._printer.indent_level);this._current_frame=H},j.prototype._try_pop_frame=function(oe){var H=null;return oe&&(H=oe.parser_token,this._printer.indent_level=oe.indent_level,this._current_frame=oe.parent),H},j.prototype._get_frame=function(oe,H){for(var be=this._current_frame;be&&oe.indexOf(be.tag)===-1;){if(H&&H.indexOf(be.tag)!==-1){be=null;break}be=be.parent}return be},j.prototype.try_pop=function(oe,H){var be=this._get_frame([oe],H);return this._try_pop_frame(be)},j.prototype.indent_to_tag=function(oe){var H=this._get_frame(oe);H&&(this._printer.indent_level=H.indent_level)};function ve(oe,H,be,J){this._source_text=oe||"",H=H||{},this._js_beautify=be,this._css_beautify=J,this._tag_stack=null;var me=new A(H,"html");this._options=me,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"}ve.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var oe=this._source_text,H=this._options.eol;this._options.eol==="auto"&&(H=`
`,oe&&B.test(oe)&&(H=oe.match(B)[0])),oe=oe.replace(Z,`
`);var be=oe.match(/^[\t ]*/)[0],J={text:"",type:""},me=new xe(this._options),ae=new ie(this._options,be),v=new K(oe,this._options).tokenize();this._tag_stack=new j(ae);for(var _=null,Y=v.next();Y.type!==pe.EOF;)Y.type===pe.TAG_OPEN||Y.type===pe.COMMENT?(_=this._handle_tag_open(ae,Y,me,J,v),me=_):Y.type===pe.ATTRIBUTE||Y.type===pe.EQUALS||Y.type===pe.VALUE||Y.type===pe.TEXT&&!me.tag_complete?_=this._handle_inside_tag(ae,Y,me,J):Y.type===pe.TAG_CLOSE?_=this._handle_tag_close(ae,Y,me):Y.type===pe.TEXT?_=this._handle_text(ae,Y,me):Y.type===pe.CONTROL_FLOW_OPEN?_=this._handle_control_flow_open(ae,Y):Y.type===pe.CONTROL_FLOW_CLOSE?_=this._handle_control_flow_close(ae,Y):ae.add_raw_token(Y),J=_,Y=v.next();var q=ae._output.get_code(H);return q},ve.prototype._handle_control_flow_open=function(oe,H){var be={text:H.text,type:H.type};return oe.set_space_before_token(H.newlines||H.whitespace_before!=="",!0),H.newlines?oe.print_preserved_newlines(H):oe.set_space_before_token(H.newlines||H.whitespace_before!=="",!0),oe.print_token(H),oe.indent(),be},ve.prototype._handle_control_flow_close=function(oe,H){var be={text:H.text,type:H.type};return oe.deindent(),H.newlines?oe.print_preserved_newlines(H):oe.set_space_before_token(H.newlines||H.whitespace_before!=="",!0),oe.print_token(H),be},ve.prototype._handle_tag_close=function(oe,H,be){var J={text:H.text,type:H.type};return oe.alignment_size=0,be.tag_complete=!0,oe.set_space_before_token(H.newlines||H.whitespace_before!=="",!0),be.is_unformatted?oe.add_raw_token(H):(be.tag_start_char==="<"&&(oe.set_space_before_token(H.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&be.has_wrapped_attrs&&oe.print_newline(!1)),oe.print_token(H)),be.indent_content&&!(be.is_unformatted||be.is_content_unformatted)&&(oe.indent(),be.indent_content=!1),!be.is_inline_element&&!(be.is_unformatted||be.is_content_unformatted)&&oe.set_wrap_point(),J},ve.prototype._handle_inside_tag=function(oe,H,be,J){var me=be.has_wrapped_attrs,ae={text:H.text,type:H.type};return oe.set_space_before_token(H.newlines||H.whitespace_before!=="",!0),be.is_unformatted?oe.add_raw_token(H):be.tag_start_char==="{"&&H.type===pe.TEXT?oe.print_preserved_newlines(H)?(H.newlines=0,oe.add_raw_token(H)):oe.print_token(H):(H.type===pe.ATTRIBUTE?oe.set_space_before_token(!0):(H.type===pe.EQUALS||H.type===pe.VALUE&&H.previous.type===pe.EQUALS)&&oe.set_space_before_token(!1),H.type===pe.ATTRIBUTE&&be.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(oe.traverse_whitespace(H),me=me||H.newlines!==0),this._is_wrap_attributes_force&&be.attr_count>=this._options.wrap_attributes_min_attrs&&(J.type!==pe.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(oe.print_newline(!1),me=!0)),oe.print_token(H),me=me||oe.previous_token_wrapped(),be.has_wrapped_attrs=me),ae},ve.prototype._handle_text=function(oe,H,be){var J={text:H.text,type:"TK_CONTENT"};return be.custom_beautifier_name?this._print_custom_beatifier_text(oe,H,be):be.is_unformatted||be.is_content_unformatted?oe.add_raw_token(H):(oe.traverse_whitespace(H),oe.print_token(H)),J},ve.prototype._print_custom_beatifier_text=function(oe,H,be){var J=this;if(H.text!==""){var me=H.text,ae,v=1,_="",Y="";be.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ae=this._js_beautify:be.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ae=this._css_beautify:be.custom_beautifier_name==="html"&&(ae=function(ut,dt){var at=new ve(ut,dt,J._js_beautify,J._css_beautify);return at.beautify()}),this._options.indent_scripts==="keep"?v=0:this._options.indent_scripts==="separate"&&(v=-oe.indent_level);var q=oe.get_full_indent(v);if(me=me.replace(/\n[ \t]*$/,""),be.custom_beautifier_name!=="html"&&me[0]==="<"&&me.match(/^(<!--|<!\[CDATA\[)/)){var Pe=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(me);if(!Pe){oe.add_raw_token(H);return}_=q+Pe[1]+`
`,me=Pe[4],Pe[5]&&(Y=q+Pe[5]),me=me.replace(/\n[ \t]*$/,""),(Pe[2]||Pe[3].indexOf(`
`)!==-1)&&(Pe=Pe[3].match(/[ \t]+$/),Pe&&(H.whitespace_before=Pe[0]))}if(me)if(ae){var Le=function(){this.eol=`
`};Le.prototype=this._options.raw_options;var Ue=new Le;me=ae(q+me,Ue)}else{var $e=H.whitespace_before;$e&&(me=me.replace(new RegExp(`
(`+$e+")?","g"),`
`)),me=q+me.replace(/\n/g,`
`+q)}_&&(me?me=_+me+`
`+Y:me=_+Y),oe.print_newline(!1),me&&(H.text=me,H.whitespace_before="",H.newlines=0,oe.add_raw_token(H),oe.print_newline(!0))}},ve.prototype._handle_tag_open=function(oe,H,be,J,me){var ae=this._get_tag_open_token(H);if((be.is_unformatted||be.is_content_unformatted)&&!be.is_empty_element&&H.type===pe.TAG_OPEN&&!ae.is_start_tag?(oe.add_raw_token(H),ae.start_tag_token=this._tag_stack.try_pop(ae.tag_name)):(oe.traverse_whitespace(H),this._set_tag_position(oe,H,ae,be,J),ae.is_inline_element||oe.set_wrap_point(),oe.print_token(H)),ae.is_start_tag&&this._is_wrap_attributes_force){var v=0,_;do _=me.peek(v),_.type===pe.ATTRIBUTE&&(ae.attr_count+=1),v+=1;while(_.type!==pe.EOF&&_.type!==pe.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(ae.alignment_size=H.text.length+1),!ae.tag_complete&&!ae.is_unformatted&&(oe.alignment_size=ae.alignment_size),ae};var xe=function(oe,H,be){if(this.parent=H||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="",!be)this.tag_complete=!0;else{var J;this.tag_start_char=be.text[0],this.text=be.text,this.tag_start_char==="<"?(J=be.text.match(/^<([^\s>]*)/),this.tag_check=J?J[1]:""):(J=be.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=J?J[1]:"",(be.text.startsWith("{{#>")||be.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&be.next!==null?this.tag_check=be.next.text.split(" ")[0]:this.tag_check=be.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),be.type===pe.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||be.closed&&be.closed.text==="/>";var me=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(me=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!oe.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(me)))}};ve.prototype._get_tag_open_token=function(oe){var H=new xe(this._options,this._tag_stack.get_parser_token(),oe);return H.alignment_size=this._options.wrap_attributes_indent_size,H.is_end_tag=H.is_end_tag||D(H.tag_check,this._options.void_elements),H.is_empty_element=H.tag_complete||H.is_start_tag&&H.is_end_tag,H.is_unformatted=!H.tag_complete&&D(H.tag_check,this._options.unformatted),H.is_content_unformatted=!H.is_empty_element&&D(H.tag_check,this._options.content_unformatted),H.is_inline_element=D(H.tag_name,this._options.inline)||this._options.inline_custom_elements&&H.tag_name.includes("-")||H.tag_start_char==="{",H},ve.prototype._set_tag_position=function(oe,H,be,J,me){if(be.is_empty_element||(be.is_end_tag?be.start_tag_token=this._tag_stack.try_pop(be.tag_name):(this._do_optional_end_element(be)&&(be.is_inline_element||oe.print_newline(!1)),this._tag_stack.record_tag(be),(be.tag_name==="script"||be.tag_name==="style")&&!(be.is_unformatted||be.is_content_unformatted)&&(be.custom_beautifier_name=L(be.tag_check,H)))),D(be.tag_check,this._options.extra_liners)&&(oe.print_newline(!1),oe._output.just_added_blankline()||oe.print_newline(!0)),be.is_empty_element){if(be.tag_start_char==="{"&&be.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),be.indent_content=!0;var ae=oe.current_line_has_match(/{{#if/);ae||oe.print_newline(!1)}be.tag_name==="!--"&&me.type===pe.TAG_CLOSE&&J.is_end_tag&&be.text.indexOf(`
`)===-1||(be.is_inline_element||be.is_unformatted||oe.print_newline(!1),this._calcluate_parent_multiline(oe,be))}else if(be.is_end_tag){var v=!1;v=be.start_tag_token&&be.start_tag_token.multiline_content,v=v||!be.is_inline_element&&!(J.is_inline_element||J.is_unformatted)&&!(me.type===pe.TAG_CLOSE&&be.start_tag_token===J)&&me.type!=="TK_CONTENT",(be.is_content_unformatted||be.is_unformatted)&&(v=!1),v&&oe.print_newline(!1)}else be.indent_content=!be.custom_beautifier_name,be.tag_start_char==="<"&&(be.tag_name==="html"?be.indent_content=this._options.indent_inner_html:be.tag_name==="head"?be.indent_content=this._options.indent_head_inner_html:be.tag_name==="body"&&(be.indent_content=this._options.indent_body_inner_html)),!(be.is_inline_element||be.is_unformatted)&&(me.type!=="TK_CONTENT"||be.is_content_unformatted)&&oe.print_newline(!1),this._calcluate_parent_multiline(oe,be)},ve.prototype._calcluate_parent_multiline=function(oe,H){H.parent&&oe._output.just_added_newline()&&!((H.is_inline_element||H.is_unformatted)&&H.parent.is_inline_element)&&(H.parent.multiline_content=!0)};var ye=["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"],le=["a","audio","del","ins","map","noscript","video"];ve.prototype._do_optional_end_element=function(oe){var H=null;if(!(oe.is_empty_element||!oe.is_start_tag||!oe.parent)){if(oe.tag_name==="body")H=H||this._tag_stack.try_pop("head");else if(oe.tag_name==="li")H=H||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(oe.tag_name==="dd"||oe.tag_name==="dt")H=H||this._tag_stack.try_pop("dt",["dl"]),H=H||this._tag_stack.try_pop("dd",["dl"]);else if(oe.parent.tag_name==="p"&&ye.indexOf(oe.tag_name)!==-1){var be=oe.parent.parent;(!be||le.indexOf(be.tag_name)===-1)&&(H=H||this._tag_stack.try_pop("p"))}else oe.tag_name==="rp"||oe.tag_name==="rt"?(H=H||this._tag_stack.try_pop("rt",["ruby","rtc"]),H=H||this._tag_stack.try_pop("rp",["ruby","rtc"])):oe.tag_name==="optgroup"?H=H||this._tag_stack.try_pop("optgroup",["select"]):oe.tag_name==="option"?H=H||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):oe.tag_name==="colgroup"?H=H||this._tag_stack.try_pop("caption",["table"]):oe.tag_name==="thead"?(H=H||this._tag_stack.try_pop("caption",["table"]),H=H||this._tag_stack.try_pop("colgroup",["table"])):oe.tag_name==="tbody"||oe.tag_name==="tfoot"?(H=H||this._tag_stack.try_pop("caption",["table"]),H=H||this._tag_stack.try_pop("colgroup",["table"]),H=H||this._tag_stack.try_pop("thead",["table"]),H=H||this._tag_stack.try_pop("tbody",["table"])):oe.tag_name==="tr"?(H=H||this._tag_stack.try_pop("caption",["table"]),H=H||this._tag_stack.try_pop("colgroup",["table"]),H=H||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(oe.tag_name==="th"||oe.tag_name==="td")&&(H=H||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),H=H||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return oe.parent=this._tag_stack.get_parser_token(),H}},W.exports.Beautifier=ve},function(W,y,b){var A=b(6).Options;function C(K){A.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"])}C.prototype=new A,W.exports.Options=C},function(W,y,b){var A=b(9).Tokenizer,C=b(9).TOKEN,K=b(13).Directives,pe=b(14).TemplatablePattern,B=b(12).Pattern,Z={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:C.START,RAW:C.RAW,EOF:C.EOF},ie=new K(/<\!--/,/-->/),X=function(L,D){A.call(this,L,D),this._current_tag_name="";var Q=new pe(this._input).read_options(this._options),j=new B(this._input);if(this.__patterns={word:Q.until(/[\n\r\t <]/),word_control_flow_close_excluded:Q.until(/[\n\r\t <}]/),single_quote:Q.until_after(/'/),double_quote:Q.until_after(/"/),attribute:Q.until(/[\n\r\t =>]|\/>/),element_name:Q.until(/[\n\r\t >\/]/),angular_control_flow_start:j.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:j.starting_with(/{{!--/).until_after(/--}}/),handlebars:j.starting_with(/{{/).until_after(/}}/),handlebars_open:j.until(/[\n\r\t }]/),handlebars_raw_close:j.until(/}}/),comment:j.starting_with(/<!--/).until_after(/-->/),cdata:j.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:j.starting_with(/<!\[/).until_after(/]>/),processing:j.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 ve=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=j.matching(ve).until_after(ve)}};X.prototype=new A,X.prototype._is_comment=function(L){return!1},X.prototype._is_opening=function(L){return L.type===Z.TAG_OPEN||L.type===Z.CONTROL_FLOW_OPEN},X.prototype._is_closing=function(L,D){return L.type===Z.TAG_CLOSE&&D&&((L.text===">"||L.text==="/>")&&D.text[0]==="<"||L.text==="}}"&&D.text[0]==="{"&&D.text[1]==="{")||L.type===Z.CONTROL_FLOW_CLOSE&&L.text==="}"&&D.text.endsWith("{")},X.prototype._reset=function(){this._current_tag_name=""},X.prototype._get_next_token=function(L,D){var Q=null;this._readWhitespace();var j=this._input.peek();return j===null?this._create_token(Z.EOF,""):(Q=Q||this._read_open_handlebars(j,D),Q=Q||this._read_attribute(j,L,D),Q=Q||this._read_close(j,D),Q=Q||this._read_script_and_style(j,L),Q=Q||this._read_control_flows(j,D),Q=Q||this._read_raw_content(j,L,D),Q=Q||this._read_content_word(j,D),Q=Q||this._read_comment_or_cdata(j),Q=Q||this._read_processing(j),Q=Q||this._read_open(j,D),Q=Q||this._create_token(Z.UNKNOWN,this._input.next()),Q)},X.prototype._read_comment_or_cdata=function(L){var D=null,Q=null,j=null;if(L==="<"){var ve=this._input.peek(1);ve==="!"&&(Q=this.__patterns.comment.read(),Q?(j=ie.get_directives(Q),j&&j.ignore==="start"&&(Q+=ie.readIgnored(this._input))):Q=this.__patterns.cdata.read()),Q&&(D=this._create_token(Z.COMMENT,Q),D.directives=j)}return D},X.prototype._read_processing=function(L){var D=null,Q=null,j=null;if(L==="<"){var ve=this._input.peek(1);(ve==="!"||ve==="?")&&(Q=this.__patterns.conditional_comment.read(),Q=Q||this.__patterns.processing.read()),Q&&(D=this._create_token(Z.COMMENT,Q),D.directives=j)}return D},X.prototype._read_open=function(L,D){var Q=null,j=null;return(!D||D.type===Z.CONTROL_FLOW_OPEN)&&L==="<"&&(Q=this._input.next(),this._input.peek()==="/"&&(Q+=this._input.next()),Q+=this.__patterns.element_name.read(),j=this._create_token(Z.TAG_OPEN,Q)),j},X.prototype._read_open_handlebars=function(L,D){var Q=null,j=null;return(!D||D.type===Z.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&L==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(Q=this.__patterns.handlebars_comment.read(),Q=Q||this.__patterns.handlebars.read(),j=this._create_token(Z.COMMENT,Q)):(Q=this.__patterns.handlebars_open.read(),j=this._create_token(Z.TAG_OPEN,Q))),j},X.prototype._read_control_flows=function(L,D){var Q="",j=null;if(!this._options.templating.includes("angular"))return j;if(L==="@"){if(Q=this.__patterns.angular_control_flow_start.read(),Q==="")return j;for(var ve=Q.endsWith("(")?1:0,xe=0;!(Q.endsWith("{")&&ve===xe);){var ye=this._input.next();if(ye===null)break;ye==="("?ve++:ye===")"&&xe++,Q+=ye}j=this._create_token(Z.CONTROL_FLOW_OPEN,Q)}else L==="}"&&D&&D.type===Z.CONTROL_FLOW_OPEN&&(Q=this._input.next(),j=this._create_token(Z.CONTROL_FLOW_CLOSE,Q));return j},X.prototype._read_close=function(L,D){var Q=null,j=null;return D&&D.type===Z.TAG_OPEN&&(D.text[0]==="<"&&(L===">"||L==="/"&&this._input.peek(1)===">")?(Q=this._input.next(),L==="/"&&(Q+=this._input.next()),j=this._create_token(Z.TAG_CLOSE,Q)):D.text[0]==="{"&&L==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),j=this._create_token(Z.TAG_CLOSE,"}}"))),j},X.prototype._read_attribute=function(L,D,Q){var j=null,ve="";if(Q&&Q.text[0]==="<")if(L==="=")j=this._create_token(Z.EQUALS,this._input.next());else if(L==='"'||L==="'"){var xe=this._input.next();L==='"'?xe+=this.__patterns.double_quote.read():xe+=this.__patterns.single_quote.read(),j=this._create_token(Z.VALUE,xe)}else ve=this.__patterns.attribute.read(),ve&&(D.type===Z.EQUALS?j=this._create_token(Z.VALUE,ve):j=this._create_token(Z.ATTRIBUTE,ve));return j},X.prototype._is_content_unformatted=function(L){return this._options.void_elements.indexOf(L)===-1&&(this._options.content_unformatted.indexOf(L)!==-1||this._options.unformatted.indexOf(L)!==-1)},X.prototype._read_raw_content=function(L,D,Q){var j="";if(Q&&Q.text[0]==="{")j=this.__patterns.handlebars_raw_close.read();else if(D.type===Z.TAG_CLOSE&&D.opened.text[0]==="<"&&D.text[0]!=="/"){var ve=D.opened.text.substr(1).toLowerCase();this._is_content_unformatted(ve)&&(j=this._input.readUntil(new RegExp("</"+ve+"[\\n\\r\\t ]*?>","ig")))}return j?this._create_token(Z.TEXT,j):null},X.prototype._read_script_and_style=function(L,D){if(D.type===Z.TAG_CLOSE&&D.opened.text[0]==="<"&&D.text[0]!=="/"){var Q=D.opened.text.substr(1).toLowerCase();if(Q==="script"||Q==="style"){var j=this._read_comment_or_cdata(L);if(j)return j.type=Z.TEXT,j;var ve=this._input.readUntil(new RegExp("</"+Q+"[\\n\\r\\t ]*?>","ig"));if(ve)return this._create_token(Z.TEXT,ve)}}return null},X.prototype._read_content_word=function(L,D){var Q="";return this._options.unformatted_content_delimiter&&L===this._options.unformatted_content_delimiter[0]&&(Q=this.__patterns.unformatted_content_delimiter.read()),Q||(Q=D&&D.type===Z.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),Q?this._create_token(Z.TEXT,Q):null},W.exports.Tokenizer=X,W.exports.TOKEN=Z}],he={};function o(W){var y=he[W];if(y!==void 0)return y.exports;var b=he[W]={exports:{}};return w[W](b,b.exports,o),b.exports}var M=o(18);re=M})();var ge=re;if(1)g=[f,f(58553),f(87804)],O=function(w){var he=f(58553),o=f(87804);return{html_beautify:function(M,W){return ge(M,W,he.js_beautify,o.css_beautify)}}}.apply(it,g),O!==void 0&&(an.exports=O);else var F,m})()},58553:function(an,it){var f,g;(function(){var O;(function(){"use strict";var ge=[function(he,o,M){var W=M(1).Beautifier,y=M(5).Options;function b(A,C){var K=new W(A,C);return K.beautify()}he.exports=b,he.exports.defaultOptions=function(){return new y}},function(he,o,M){var W=M(2).Output,y=M(3).Token,b=M(4),A=M(5).Options,C=M(7).Tokenizer,K=M(7).line_starters,pe=M(7).positionable_operators,B=M(7).TOKEN;function Z(_,Y){return Y.indexOf(_)!==-1}function ie(_){return _.replace(/^\s+/g,"")}function X(_){for(var Y={},q=0;q<_.length;q++)Y[_[q].replace(/-/g,"_")]=_[q];return Y}function L(_,Y){return _&&_.type===B.RESERVED&&_.text===Y}function D(_,Y){return _&&_.type===B.RESERVED&&Z(_.text,Y)}var Q=["case","return","do","if","throw","else","await","break","continue","async"],j=["before-newline","after-newline","preserve-newline"],ve=X(j),xe=[ve.before_newline,ve.preserve_newline],ye={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function le(_,Y){Y.multiline_frame||Y.mode===ye.ForInitializer||Y.mode===ye.Conditional||_.remove_indent(Y.start_line_index)}function oe(_){_=_.replace(b.allLineBreaks,`
`);for(var Y=[],q=_.indexOf(`
`);q!==-1;)Y.push(_.substring(0,q)),_=_.substring(q+1),q=_.indexOf(`
`);return _.length&&Y.push(_),Y}function H(_){return _===ye.ArrayLiteral}function be(_){return Z(_,[ye.Expression,ye.ForInitializer,ye.Conditional])}function J(_,Y){for(var q=0;q<_.length;q++){var Pe=_[q].trim();if(Pe.charAt(0)!==Y)return!1}return!0}function me(_,Y){for(var q=0,Pe=_.length,Le;q<Pe;q++)if(Le=_[q],Le&&Le.indexOf(Y)!==0)return!1;return!0}function ae(_,Y){Y=Y||{},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 A(Y)}ae.prototype.create_flags=function(_,Y){var q=0;_&&(q=_.indentation_level,!this._output.just_added_newline()&&_.line_indent_level>q&&(q=_.line_indent_level));var Pe={mode:Y,parent:_,last_token:_?_.last_token:new y(B.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:q,alignment:0,line_indent_level:_?_.line_indent_level:q,start_line_index:this._output.get_line_number(),ternary_depth:0};return Pe},ae.prototype._reset=function(_){var Y=_.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new W(this._options,Y),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(ye.BlockStatement);var q=new C(_,this._options);return this._tokens=q.tokenize(),_},ae.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var _,Y=this._reset(this._source_text),q=this._options.eol;this._options.eol==="auto"&&(q=`
`,Y&&b.lineBreak.test(Y||"")&&(q=Y.match(b.lineBreak)[0]));for(var Pe=this._tokens.next();Pe;)this.handle_token(Pe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Pe,Pe=this._tokens.next();return _=this._output.get_code(q),_},ae.prototype.handle_token=function(_,Y){_.type===B.START_EXPR?this.handle_start_expr(_):_.type===B.END_EXPR?this.handle_end_expr(_):_.type===B.START_BLOCK?this.handle_start_block(_):_.type===B.END_BLOCK?this.handle_end_block(_):_.type===B.WORD?this.handle_word(_):_.type===B.RESERVED?this.handle_word(_):_.type===B.SEMICOLON?this.handle_semicolon(_):_.type===B.STRING?this.handle_string(_):_.type===B.EQUALS?this.handle_equals(_):_.type===B.OPERATOR?this.handle_operator(_):_.type===B.COMMA?this.handle_comma(_):_.type===B.BLOCK_COMMENT?this.handle_block_comment(_,Y):_.type===B.COMMENT?this.handle_comment(_,Y):_.type===B.DOT?this.handle_dot(_):_.type===B.EOF?this.handle_eof(_):_.type===B.UNKNOWN?this.handle_unknown(_,Y):this.handle_unknown(_,Y)},ae.prototype.handle_whitespace_and_comments=function(_,Y){var q=_.newlines,Pe=this._options.keep_array_indentation&&H(this._flags.mode);if(_.comments_before)for(var Le=_.comments_before.next();Le;)this.handle_whitespace_and_comments(Le,Y),this.handle_token(Le,Y),Le=_.comments_before.next();if(Pe)for(var Ue=0;Ue<q;Ue+=1)this.print_newline(Ue>0,Y);else if(this._options.max_preserve_newlines&&q>this._options.max_preserve_newlines&&(q=this._options.max_preserve_newlines),this._options.preserve_newlines&&q>1){this.print_newline(!1,Y);for(var $e=1;$e<q;$e+=1)this.print_newline(!0,Y)}};var v=["async","break","continue","return","throw","yield"];ae.prototype.allow_wrap_or_preserved_newline=function(_,Y){if(Y=Y===void 0?!1:Y,!this._output.just_added_newline()){var q=this._options.preserve_newlines&&_.newlines||Y,Pe=Z(this._flags.last_token.text,pe)||Z(_.text,pe);if(Pe){var Le=Z(this._flags.last_token.text,pe)&&Z(this._options.operator_position,xe)||Z(_.text,pe);q=q&&Le}if(q)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(D(this._flags.last_token,v))return;this._output.set_wrap_point()}}},ae.prototype.print_newline=function(_,Y){if(!Y&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==B.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var q=this._tokens.peek();this._flags.mode===ye.Statement&&!(this._flags.if_block&&L(q,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(_)&&(this._flags.multiline_frame=!0)},ae.prototype.print_token_line_indentation=function(_){this._output.just_added_newline()&&(this._options.keep_array_indentation&&_.newlines&&(_.text==="["||H(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))},ae.prototype.print_token=function(_){if(this._output.raw){this._output.add_raw_token(_);return}if(this._options.comma_first&&_.previous&&_.previous.type===B.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var Y=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(Y),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)},ae.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ae.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))},ae.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)},ae.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===ye.Statement&&le(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ae.prototype.start_of_object_property=function(){return this._flags.parent.mode===ye.ObjectLiteral&&this._flags.mode===ye.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||D(this._flags.last_token,["get","set"]))},ae.prototype.start_of_statement=function(_){var Y=!1;return Y=Y||D(this._flags.last_token,["var","let","const"])&&_.type===B.WORD,Y=Y||L(this._flags.last_token,"do"),Y=Y||!(this._flags.parent.mode===ye.ObjectLiteral&&this._flags.mode===ye.Statement)&&D(this._flags.last_token,v)&&!_.newlines,Y=Y||L(this._flags.last_token,"else")&&!(L(_,"if")&&!_.comments_before),Y=Y||this._flags.last_token.type===B.END_EXPR&&(this._previous_flags.mode===ye.ForInitializer||this._previous_flags.mode===ye.Conditional),Y=Y||this._flags.last_token.type===B.WORD&&this._flags.mode===ye.BlockStatement&&!this._flags.in_case&&!(_.text==="--"||_.text==="++")&&this._last_last_text!=="function"&&_.type!==B.WORD&&_.type!==B.RESERVED,Y=Y||this._flags.mode===ye.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||D(this._flags.last_token,["get","set"])),Y?(this.set_mode(ye.Statement),this.indent(),this.handle_whitespace_and_comments(_,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(_,D(_,["do","for","if","while"])),!0):!1},ae.prototype.handle_start_expr=function(_){this.start_of_statement(_)||this.handle_whitespace_and_comments(_);var Y=ye.Expression;if(_.text==="["){if(this._flags.last_token.type===B.WORD||this._flags.last_token.text===")"){D(this._flags.last_token,K)&&(this._output.space_before_token=!0),this.print_token(_),this.set_mode(Y),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}Y=ye.ArrayLiteral,H(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()),Z(this._flags.last_token.type,[B.START_EXPR,B.END_EXPR,B.WORD,B.OPERATOR,B.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===B.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,Y=ye.ForInitializer):Z(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,Y=ye.Conditional):Z(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:(Z(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===B.EQUALS||this._flags.last_token.type===B.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(_);else if(this._flags.last_token.type===B.WORD){this._output.space_before_token=!1;var q=this._tokens.peek(-3);if(this._options.space_after_named_function&&q){var Pe=this._tokens.peek(-4);D(q,["async","function"])||q.text==="*"&&D(Pe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===ye.ObjectLiteral?(q.text==="{"||q.text===","||q.text==="*"&&(Pe.text==="{"||Pe.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(_);(this._flags.last_token.type===B.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(Z(this._last_last_text,["function","yield"])||this._flags.mode===ye.ObjectLiteral&&Z(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===B.START_BLOCK?this.print_newline():(this._flags.last_token.type===B.END_EXPR||this._flags.last_token.type===B.START_EXPR||this._flags.last_token.type===B.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===B.COMMA)&&this.allow_wrap_or_preserved_newline(_,_.newlines),this.print_token(_),this.set_mode(Y),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ae.prototype.handle_end_expr=function(_){for(;this._flags.mode===ye.Statement;)this.restore_mode();this.handle_whitespace_and_comments(_),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(_,_.text==="]"&&H(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===B.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(),le(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===ye.Conditional&&(this._previous_flags.mode=ye.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ae.prototype.handle_start_block=function(_){this.handle_whitespace_and_comments(_);var Y=this._tokens.peek(),q=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===B.END_EXPR?(this.set_mode(ye.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(ye.BlockStatement):q&&(Z(q.text,[":",","])&&Z(Y.type,[B.STRING,B.WORD,B.RESERVED])||Z(Y.text,["get","set","..."])&&Z(q.type,[B.WORD,B.RESERVED]))?Z(this._last_last_text,["class","interface"])&&!Z(q.text,[":",","])?this.set_mode(ye.BlockStatement):this.set_mode(ye.ObjectLiteral):this._flags.last_token.type===B.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(ye.BlockStatement):Z(this._flags.last_token.type,[B.EQUALS,B.START_EXPR,B.COMMA,B.OPERATOR])||D(this._flags.last_token,["return","throw","import","default"])?this.set_mode(ye.ObjectLiteral):this.set_mode(ye.BlockStatement),this._flags.last_token&&D(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Pe=!Y.comments_before&&Y.text==="}",Le=Pe&&this._flags.last_word==="function"&&this._flags.last_token.type===B.END_EXPR;if(this._options.brace_preserve_inline){var Ue=0,$e=null;this._flags.inline_frame=!0;do if(Ue+=1,$e=this._tokens.peek(Ue-1),$e.newlines){this._flags.inline_frame=!1;break}while($e.type!==B.EOF&&!($e.type===B.END_BLOCK&&$e.opened===_))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&_.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==B.OPERATOR&&(Le||this._flags.last_token.type===B.EQUALS||D(this._flags.last_token,Q)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(H(this._previous_flags.mode)&&(this._flags.last_token.type===B.START_EXPR||this._flags.last_token.type===B.COMMA)&&((this._flags.last_token.type===B.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===B.COMMA||this._flags.last_token.type===B.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!==B.OPERATOR&&this._flags.last_token.type!==B.START_EXPR&&(Z(this._flags.last_token.type,[B.START_BLOCK,B.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(_),this.indent(),!Pe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ae.prototype.handle_end_block=function(_){for(this.handle_whitespace_and_comments(_);this._flags.mode===ye.Statement;)this.restore_mode();var Y=this._flags.last_token.type===B.START_BLOCK;this._flags.inline_frame&&!Y?this._output.space_before_token=!0:this._options.brace_style==="expand"?Y||this.print_newline():Y||(H(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(_)},ae.prototype.handle_word=function(_){if(_.type===B.RESERVED){if(Z(_.text,["set","get"])&&this._flags.mode!==ye.ObjectLiteral)_.type=B.WORD;else if(_.text==="import"&&Z(this._tokens.peek().text,["(","."]))_.type=B.WORD;else if(Z(_.text,["as","from"])&&!this._flags.import_block)_.type=B.WORD;else if(this._flags.mode===ye.ObjectLiteral){var Y=this._tokens.peek();Y.text===":"&&(_.type=B.WORD)}}if(this.start_of_statement(_)?D(this._flags.last_token,["var","let","const"])&&_.type===B.WORD&&(this._flags.declaration_statement=!0):_.newlines&&!be(this._flags.mode)&&(this._flags.last_token.type!==B.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==B.EQUALS&&(this._options.preserve_newlines||!D(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(L(_,"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&&L(_,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===ye.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&D(_,["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===B.COMMA||this._flags.last_token.type===B.START_EXPR||this._flags.last_token.type===B.EQUALS||this._flags.last_token.type===B.OPERATOR)&&!this.start_of_object_property()&&!(Z(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===ye.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(_),L(_,"function")){(Z(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(Z(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===B.OPERATOR))&&!this._output.just_added_blankline()&&!_.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===B.RESERVED||this._flags.last_token.type===B.WORD?D(this._flags.last_token,["get","set","new","export"])||D(this._flags.last_token,v)?this._output.space_before_token=!0:L(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===B.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(be(this._flags.mode)||H(this._flags.mode))||this.print_newline(),this.print_token(_),this._flags.last_word=_.text;return}var q="NONE";if(this._flags.last_token.type===B.END_BLOCK?this._previous_flags.inline_frame?q="SPACE":D(_,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&_.newlines?q="NEWLINE":(q="SPACE",this._output.space_before_token=!0):q="NEWLINE":this._flags.last_token.type===B.SEMICOLON&&this._flags.mode===ye.BlockStatement?q="NEWLINE":this._flags.last_token.type===B.SEMICOLON&&be(this._flags.mode)?q="SPACE":this._flags.last_token.type===B.STRING?q="NEWLINE":this._flags.last_token.type===B.RESERVED||this._flags.last_token.type===B.WORD||this._flags.last_token.text==="*"&&(Z(this._last_last_text,["function","yield"])||this._flags.mode===ye.ObjectLiteral&&Z(this._last_last_text,["{",","]))?q="SPACE":this._flags.last_token.type===B.START_BLOCK?this._flags.inline_frame?q="SPACE":q="NEWLINE":this._flags.last_token.type===B.END_EXPR&&(this._output.space_before_token=!0,q="NEWLINE"),D(_,K)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?q="SPACE":q="NEWLINE"),D(_,["else","catch","finally"]))if((!(this._flags.last_token.type===B.END_BLOCK&&this._previous_flags.mode===ye.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&_.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Pe=this._output.current_line;Pe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else q==="NEWLINE"?D(this._flags.last_token,Q)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&D(_,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==B.END_EXPR?(this._flags.last_token.type!==B.START_EXPR||!D(_,["var","let","const"]))&&this._flags.last_token.text!==":"&&(L(_,"if")&&L(_.previous,"else")?this._output.space_before_token=!0:this.print_newline()):D(_,K)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&H(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():q==="SPACE"&&(this._output.space_before_token=!0);_.previous&&(_.previous.type===B.WORD||_.previous.type===B.RESERVED)&&(this._output.space_before_token=!0),this.print_token(_),this._flags.last_word=_.text,_.type===B.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&&L(_,"from")&&(this._flags.import_block=!1))},ae.prototype.handle_semicolon=function(_){this.start_of_statement(_)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(_);for(var Y=this._tokens.peek();this._flags.mode===ye.Statement&&!(this._flags.if_block&&L(Y,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(_)},ae.prototype.handle_string=function(_){_.text.startsWith("`")&&_.newlines===0&&_.whitespace_before===""&&(_.previous.text===")"||this._flags.last_token.type===B.WORD)||(this.start_of_statement(_)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(_),this._flags.last_token.type===B.RESERVED||this._flags.last_token.type===B.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===B.COMMA||this._flags.last_token.type===B.START_EXPR||this._flags.last_token.type===B.EQUALS||this._flags.last_token.type===B.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(_):_.text.startsWith("`")&&this._flags.last_token.type===B.END_EXPR&&(_.previous.text==="]"||_.previous.text===")")&&_.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(_)},ae.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},ae.prototype.handle_comma=function(_){this.handle_whitespace_and_comments(_,!0),this.print_token(_),this._output.space_before_token=!0,this._flags.declaration_statement?(be(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===ye.ObjectLiteral||this._flags.mode===ye.Statement&&this._flags.parent.mode===ye.ObjectLiteral?(this._flags.mode===ye.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(_)},ae.prototype.handle_operator=function(_){var Y=_.text==="*"&&(D(this._flags.last_token,["function","yield"])||Z(this._flags.last_token.type,[B.START_BLOCK,B.COMMA,B.END_BLOCK,B.SEMICOLON])),q=Z(_.text,["-","+"])&&(Z(this._flags.last_token.type,[B.START_BLOCK,B.START_EXPR,B.EQUALS,B.OPERATOR])||Z(this._flags.last_token.text,K)||this._flags.last_token.text===",");if(!this.start_of_statement(_)){var Pe=!Y;this.handle_whitespace_and_comments(_,Pe)}if(_.text==="*"&&this._flags.last_token.type===B.DOT){this.print_token(_);return}if(_.text==="::"){this.print_token(_);return}if(Z(_.text,["-","+"])&&this.start_of_object_property()){this.print_token(_);return}if(this._flags.last_token.type===B.OPERATOR&&Z(this._options.operator_position,xe)&&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!==B.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,Ue=!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),!q&&!Y&&this._options.preserve_newlines&&Z(_.text,pe)){var ut=_.text===":",dt=ut&&$e,at=ut&&!$e;switch(this._options.operator_position){case ve.before_newline:this._output.space_before_token=!at,this.print_token(_),(!ut||dt)&&this.allow_wrap_or_preserved_newline(_),this._output.space_before_token=!0;return;case ve.after_newline:this._output.space_before_token=!0,!ut||dt?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 ve.preserve_newline:at||this.allow_wrap_or_preserved_newline(_),Le=!(this._output.just_added_newline()||at),this._output.space_before_token=Le,this.print_token(_),this._output.space_before_token=!0;return}}if(Y){this.allow_wrap_or_preserved_newline(_),Le=!1;var Pt=this._tokens.peek();Ue=Pt&&Z(Pt.type,[B.WORD,B.RESERVED])}else if(_.text==="...")this.allow_wrap_or_preserved_newline(_),Le=this._flags.last_token.type===B.START_BLOCK,Ue=!1;else if(Z(_.text,["--","++","!","~"])||q){if((this._flags.last_token.type===B.COMMA||this._flags.last_token.type===B.START_EXPR)&&this.allow_wrap_or_preserved_newline(_),Le=!1,Ue=!1,_.newlines&&(_.text==="--"||_.text==="++"||_.text==="~")){var nn=D(this._flags.last_token,Q)&&_.newlines;nn&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(nn,!0)}this._flags.last_token.text===";"&&be(this._flags.mode)&&(Le=!0),this._flags.last_token.type===B.RESERVED?Le=!0:this._flags.last_token.type===B.END_EXPR?Le=!(this._flags.last_token.text==="]"&&(_.text==="--"||_.text==="++")):this._flags.last_token.type===B.OPERATOR&&(Le=Z(_.text,["--","-","++","+"])&&Z(this._flags.last_token.text,["--","-","++","+"]),Z(_.text,["+","-"])&&Z(this._flags.last_token.text,["--","++"])&&(Ue=!0)),(this._flags.mode===ye.BlockStatement&&!this._flags.inline_frame||this._flags.mode===ye.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=Ue},ae.prototype.handle_block_comment=function(_,Y){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,Y),this.print_token(_),_.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!b.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(_,Y)},ae.prototype.print_block_commment=function(_,Y){var q=oe(_.text),Pe,Le=!1,Ue=!1,$e=_.whitespace_before,ut=$e.length;if(this.print_newline(!1,Y),this.print_token_line_indentation(_),this._output.add_token(q[0]),this.print_newline(!1,Y),q.length>1){for(q=q.slice(1),Le=J(q,"*"),Ue=me(q,$e),Le&&(this._flags.alignment=1),Pe=0;Pe<q.length;Pe++)Le?(this.print_token_line_indentation(_),this._output.add_token(ie(q[Pe]))):Ue&&q[Pe]?(this.print_token_line_indentation(_),this._output.add_token(q[Pe].substring(ut))):(this._output.current_line.set_indent(-1),this._output.add_token(q[Pe])),this.print_newline(!1,Y);this._flags.alignment=0}},ae.prototype.handle_comment=function(_,Y){_.newlines?this.print_newline(!1,Y):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(_),this.print_newline(!1,Y)},ae.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),D(this._flags.last_token,Q)?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(_)},ae.prototype.handle_unknown=function(_,Y){this.print_token(_),_.text[_.text.length-1]===`
`&&this.print_newline(!1,Y)},ae.prototype.handle_eof=function(_){for(;this._flags.mode===ye.Statement;)this.restore_mode();this.handle_whitespace_and_comments(_)},he.exports.Beautifier=ae},function(he){function o(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=[]}o.prototype.clone_empty=function(){var y=new o(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},o.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},o.prototype.has_match=function(y){for(var b=this.__items.length-1;b>=0;b--)if(this.__items[b].match(y))return!0;return!1},o.prototype.set_indent=function(y,b){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=b||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},o.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)},o.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},o.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},o.prototype.is_empty=function(){return this.__items.length===0},o.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},o.prototype.push=function(y){this.__items.push(y);var b=y.lastIndexOf(`
`);b!==-1?this.__character_count=y.length-b:this.__character_count+=y.length},o.prototype.pop=function(){var y=null;return this.is_empty()||(y=this.__items.pop(),this.__character_count-=y.length),y},o.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},o.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},o.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},o.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 M(y,b){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)),b=b||"",y.indent_level>0&&(b=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=b,this.__base_string_length=b.length}M.prototype.get_indent_size=function(y,b){var A=this.__base_string_length;return b=b||0,y<0&&(A=0),A+=y*this.__indent_size,A+=b,A},M.prototype.get_indent_string=function(y,b){var A=this.__base_string;return b=b||0,y<0&&(y=0,A=""),b+=y*this.__indent_size,this.__ensure_cache(b),A+=this.__cache[b],A},M.prototype.__ensure_cache=function(y){for(;y>=this.__cache.length;)this.__add_column()},M.prototype.__add_column=function(){var y=this.__cache.length,b=0,A="";this.__indent_size&&y>=this.__indent_size&&(b=Math.floor(y/this.__indent_size),y-=b*this.__indent_size,A=new Array(b+1).join(this.__indent_string)),y&&(A+=new Array(y+1).join(" ")),this.__cache.push(A)};function W(y,b){this.__indent_cache=new M(y,b),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 o(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}W.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},W.prototype.get_line_number=function(){return this.__lines.length},W.prototype.get_indent_string=function(y,b){return this.__indent_cache.get_indent_string(y,b)},W.prototype.get_indent_size=function(y,b){return this.__indent_cache.get_indent_size(y,b)},W.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},W.prototype.add_new_line=function(y){return this.is_empty()||!y&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},W.prototype.get_code=function(y){this.trim(!0);var b=this.current_line.pop();b&&(b[b.length-1]===`
`&&(b=b.replace(/\n+$/g,"")),this.current_line.push(b)),this._end_with_newline&&this.__add_outputline();var A=this.__lines.join(`
`);return y!==`
`&&(A=A.replace(/[\n]/g,y)),A},W.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},W.prototype.set_indent=function(y,b){return y=y||0,b=b||0,this.next_line.set_indent(y,b),this.__lines.length>1?(this.current_line.set_indent(y,b),!0):(this.current_line.set_indent(),!1)},W.prototype.add_raw_token=function(y){for(var b=0;b<y.newlines;b++)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},W.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()},W.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(" "))},W.prototype.remove_indent=function(y){for(var b=this.__lines.length;y<b;)this.__lines[y]._remove_indent(),y++;this.current_line._remove_wrap_indent()},W.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},W.prototype.just_added_newline=function(){return this.current_line.is_empty()},W.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},W.prototype.ensure_empty_line_above=function(y,b){for(var A=this.__lines.length-2;A>=0;){var C=this.__lines[A];if(C.is_empty())break;if(C.item(0).indexOf(y)!==0&&C.item(-1)!==b){this.__lines.splice(A+1,0,new o(this)),this.previous_line=this.__lines[this.__lines.length-2];break}A--}},he.exports.Output=W},function(he){function o(M,W,y,b){this.type=M,this.text=W,this.comments_before=null,this.newlines=y||0,this.whitespace_before=b||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}he.exports.Token=o},function(he,o){var M="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",W="\\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",b="\\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",A="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",C="(?:"+A+"|["+M+y+"])",K="(?:"+A+"|["+W+y+b+"])*";o.identifier=new RegExp(C+K,"g"),o.identifierStart=new RegExp(C),o.identifierMatch=new RegExp("(?:"+A+"|["+W+y+b+"])+");var pe=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;o.newline=/[\n\r\u2028\u2029]/,o.lineBreak=new RegExp(`\r
|`+o.newline.source),o.allLineBreaks=new RegExp(o.lineBreak.source,"g")},function(he,o,M){var W=M(6).Options,y=["before-newline","after-newline","preserve-newline"];function b(A){W.call(this,A,"js");var C=this.raw_options.brace_style||null;C==="expand-strict"?this.raw_options.brace_style="expand":C==="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 pe=0;pe<K.length;pe++)K[pe]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=K[pe];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)}b.prototype=new W,he.exports.Options=b},function(he){function o(y,b){this.raw_options=M(y,b),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"])}o.prototype._get_array=function(y,b){var A=this.raw_options[y],C=b||[];return typeof A=="object"?A!==null&&typeof A.concat=="function"&&(C=A.concat()):typeof A=="string"&&(C=A.split(/[^a-zA-Z0-9_\/\-]+/)),C},o.prototype._get_boolean=function(y,b){var A=this.raw_options[y],C=A===void 0?!!b:!!A;return C},o.prototype._get_characters=function(y,b){var A=this.raw_options[y],C=b||"";return typeof A=="string"&&(C=A.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),C},o.prototype._get_number=function(y,b){var A=this.raw_options[y];b=parseInt(b,10),isNaN(b)&&(b=0);var C=parseInt(A,10);return isNaN(C)&&(C=b),C},o.prototype._get_selection=function(y,b,A){var C=this._get_selection_list(y,b,A);if(C.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
`+b+`
You passed in: '`+this.raw_options[y]+"'");return C[0]},o.prototype._get_selection_list=function(y,b,A){if(!b||b.length===0)throw new Error("Selection list cannot be empty.");if(A=A||[b[0]],!this._is_valid_selection(A,b))throw new Error("Invalid Default Value!");var C=this._get_array(y,A);if(!this._is_valid_selection(C,b))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
`+b+`
You passed in: '`+this.raw_options[y]+"'");return C},o.prototype._is_valid_selection=function(y,b){return y.length&&b.length&&!y.some(function(A){return b.indexOf(A)===-1})};function M(y,b){var A={};y=W(y);var C;for(C in y)C!==b&&(A[C]=y[C]);if(b&&y[b])for(C in y[b])A[C]=y[b][C];return A}function W(y){var b={},A;for(A in y){var C=A.replace(/-/g,"_");b[C]=y[A]}return b}he.exports.Options=o,he.exports.normalizeOpts=W,he.exports.mergeOpts=M},function(he,o,M){var W=M(8).InputScanner,y=M(9).Tokenizer,b=M(9).TOKEN,A=M(13).Directives,C=M(4),K=M(12).Pattern,pe=M(14).TemplatablePattern;function B(J,me){return me.indexOf(J)!==-1}var Z={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:b.START,RAW:b.RAW,EOF:b.EOF},ie=new A(/\/\*/,/\*\//),X=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,L=/[0-9]/,D=/[^\d\.]/,Q=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),j=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";j=j.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),j="\\?\\.(?!\\d) "+j,j=j.replace(/ /g,"|");var ve=new RegExp(j),xe="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),ye=xe.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),le=new RegExp("^(?:"+ye.join("|")+")$"),oe,H=function(J,me){y.call(this,J,me),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var ae=new K(this._input),v=new pe(this._input).read_options(this._options);this.__patterns={template:v,identifier:v.starting_with(C.identifier).matching(C.identifierMatch),number:ae.matching(X),punct:ae.matching(ve),comment:ae.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:ae.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:ae.matching(/<!--/),html_comment_end:ae.matching(/-->/),include:ae.starting_with(/#include/).until_after(C.lineBreak),shebang:ae.starting_with(/#!/).until_after(C.lineBreak),xml:ae.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:v.until(/['\\\n\r\u2028\u2029]/),double_quote:v.until(/["\\\n\r\u2028\u2029]/),template_text:v.until(/[`\\$]/),template_expression:v.until(/[`}\\]/)}};H.prototype=new y,H.prototype._is_comment=function(J){return J.type===Z.COMMENT||J.type===Z.BLOCK_COMMENT||J.type===Z.UNKNOWN},H.prototype._is_opening=function(J){return J.type===Z.START_BLOCK||J.type===Z.START_EXPR},H.prototype._is_closing=function(J,me){return(J.type===Z.END_BLOCK||J.type===Z.END_EXPR)&&me&&(J.text==="]"&&me.text==="["||J.text===")"&&me.text==="("||J.text==="}"&&me.text==="{")},H.prototype._reset=function(){oe=!1},H.prototype._get_next_token=function(J,me){var ae=null;this._readWhitespace();var v=this._input.peek();return v===null?this._create_token(Z.EOF,""):(ae=ae||this._read_non_javascript(v),ae=ae||this._read_string(v),ae=ae||this._read_pair(v,this._input.peek(1)),ae=ae||this._read_word(J),ae=ae||this._read_singles(v),ae=ae||this._read_comment(v),ae=ae||this._read_regexp(v,J),ae=ae||this._read_xml(v,J),ae=ae||this._read_punctuation(),ae=ae||this._create_token(Z.UNKNOWN,this._input.next()),ae)},H.prototype._read_word=function(J){var me;if(me=this.__patterns.identifier.read(),me!=="")return me=me.replace(C.allLineBreaks,`
`),!(J.type===Z.DOT||J.type===Z.RESERVED&&(J.text==="set"||J.text==="get"))&&le.test(me)?(me==="in"||me==="of")&&(J.type===Z.WORD||J.type===Z.STRING)?this._create_token(Z.OPERATOR,me):this._create_token(Z.RESERVED,me):this._create_token(Z.WORD,me);if(me=this.__patterns.number.read(),me!=="")return this._create_token(Z.WORD,me)},H.prototype._read_singles=function(J){var me=null;return J==="("||J==="["?me=this._create_token(Z.START_EXPR,J):J===")"||J==="]"?me=this._create_token(Z.END_EXPR,J):J==="{"?me=this._create_token(Z.START_BLOCK,J):J==="}"?me=this._create_token(Z.END_BLOCK,J):J===";"?me=this._create_token(Z.SEMICOLON,J):J==="."&&D.test(this._input.peek(1))?me=this._create_token(Z.DOT,J):J===","&&(me=this._create_token(Z.COMMA,J)),me&&this._input.next(),me},H.prototype._read_pair=function(J,me){var ae=null;return J==="#"&&me==="{"&&(ae=this._create_token(Z.START_BLOCK,J+me)),ae&&(this._input.next(),this._input.next()),ae},H.prototype._read_punctuation=function(){var J=this.__patterns.punct.read();if(J!=="")return J==="="?this._create_token(Z.EQUALS,J):J==="?."?this._create_token(Z.DOT,J):this._create_token(Z.OPERATOR,J)},H.prototype._read_non_javascript=function(J){var me="";if(J==="#"){if(this._is_first_token()&&(me=this.__patterns.shebang.read(),me))return this._create_token(Z.UNKNOWN,me.trim()+`
`);if(me=this.__patterns.include.read(),me)return this._create_token(Z.UNKNOWN,me.trim()+`
`);J=this._input.next();var ae="#";if(this._input.hasNext()&&this._input.testChar(L)){do J=this._input.next(),ae+=J;while(this._input.hasNext()&&J!=="#"&&J!=="=");return J==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(ae+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(ae+="{}",this._input.next(),this._input.next())),this._create_token(Z.WORD,ae)}this._input.back()}else if(J==="<"&&this._is_first_token()){if(me=this.__patterns.html_comment_start.read(),me){for(;this._input.hasNext()&&!this._input.testChar(C.newline);)me+=this._input.next();return oe=!0,this._create_token(Z.COMMENT,me)}}else if(oe&&J==="-"&&(me=this.__patterns.html_comment_end.read(),me))return oe=!1,this._create_token(Z.COMMENT,me);return null},H.prototype._read_comment=function(J){var me=null;if(J==="/"){var ae="";if(this._input.peek(1)==="*"){ae=this.__patterns.block_comment.read();var v=ie.get_directives(ae);v&&v.ignore==="start"&&(ae+=ie.readIgnored(this._input)),ae=ae.replace(C.allLineBreaks,`
`),me=this._create_token(Z.BLOCK_COMMENT,ae),me.directives=v}else this._input.peek(1)==="/"&&(ae=this.__patterns.comment.read(),me=this._create_token(Z.COMMENT,ae))}return me},H.prototype._read_string=function(J){if(J==="`"||J==="'"||J==='"'){var me=this._input.next();return this.has_char_escapes=!1,J==="`"?me+=this._read_string_recursive("`",!0,"${"):me+=this._read_string_recursive(J),this.has_char_escapes&&this._options.unescape_strings&&(me=be(me)),this._input.peek()===J&&(me+=this._input.next()),me=me.replace(C.allLineBreaks,`
`),this._create_token(Z.STRING,me)}return null},H.prototype._allow_regexp_or_xml=function(J){return J.type===Z.RESERVED&&B(J.text,["return","case","throw","else","do","typeof","yield"])||J.type===Z.END_EXPR&&J.text===")"&&J.opened.previous.type===Z.RESERVED&&B(J.opened.previous.text,["if","while","for"])||B(J.type,[Z.COMMENT,Z.START_EXPR,Z.START_BLOCK,Z.START,Z.END_BLOCK,Z.OPERATOR,Z.EQUALS,Z.EOF,Z.SEMICOLON,Z.COMMA])},H.prototype._read_regexp=function(J,me){if(J==="/"&&this._allow_regexp_or_xml(me)){for(var ae=this._input.next(),v=!1,_=!1;this._input.hasNext()&&(v||_||this._input.peek()!==J)&&!this._input.testChar(C.newline);)ae+=this._input.peek(),v?v=!1:(v=this._input.peek()==="\\",this._input.peek()==="["?_=!0:this._input.peek()==="]"&&(_=!1)),this._input.next();return this._input.peek()===J&&(ae+=this._input.next(),ae+=this._input.read(C.identifier)),this._create_token(Z.STRING,ae)}return null},H.prototype._read_xml=function(J,me){if(this._options.e4x&&J==="<"&&this._allow_regexp_or_xml(me)){var ae="",v=this.__patterns.xml.read_match();if(v){for(var _=v[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),Y=_.indexOf("{")===0,q=0;v;){var Pe=!!v[1],Le=v[2],Ue=!!v[v.length-1]||Le.slice(0,8)==="![CDATA[";if(!Ue&&(Le===_||Y&&Le.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Pe?--q:++q),ae+=v[0],q<=0)break;v=this.__patterns.xml.read_match()}return v||(ae+=this._input.match(/[\s\S]*/g)[0]),ae=ae.replace(C.allLineBreaks,`
`),this._create_token(Z.STRING,ae)}}return null};function be(J){for(var me="",ae=0,v=new W(J),_=null;v.hasNext();)if(_=v.match(/([\s]|[^\\]|\\\\)+/g),_&&(me+=_[0]),v.peek()==="\\"){if(v.next(),v.peek()==="x")_=v.match(/x([0-9A-Fa-f]{2})/g);else if(v.peek()==="u")_=v.match(/u([0-9A-Fa-f]{4})/g),_||(_=v.match(/u\{([0-9A-Fa-f]+)\}/g));else{me+="\\",v.hasNext()&&(me+=v.next());continue}if(!_||(ae=parseInt(_[1],16),ae>126&&ae<=255&&_[0].indexOf("x")===0))return J;ae>=0&&ae<32||ae>1114111?me+="\\"+_[0]:ae===34||ae===39||ae===92?me+="\\"+String.fromCharCode(ae):me+=String.fromCharCode(ae)}return me}H.prototype._read_string_recursive=function(J,me,ae){var v,_;J==="'"?_=this.__patterns.single_quote:J==='"'?_=this.__patterns.double_quote:J==="`"?_=this.__patterns.template_text:J==="}"&&(_=this.__patterns.template_expression);for(var Y=_.read(),q="";this._input.hasNext();){if(q=this._input.next(),q===J||!me&&C.newline.test(q)){this._input.back();break}else q==="\\"&&this._input.hasNext()?(v=this._input.peek(),v==="x"||v==="u"?this.has_char_escapes=!0:v==="\r"&&this._input.peek(1)===`
`&&this._input.next(),q+=this._input.next()):ae&&(ae==="${"&&q==="$"&&this._input.peek()==="{"&&(q+=this._input.next()),ae===q&&(J==="`"?q+=this._read_string_recursive("}",me,"`"):q+=this._read_string_recursive("`",me,"${"),this._input.hasNext()&&(q+=this._input.next())));q+=_.read(),Y+=q}return Y},he.exports.Tokenizer=H,he.exports.TOKEN=Z,he.exports.positionable_operators=Q.slice(),he.exports.line_starters=xe.slice()},function(he){var o=RegExp.prototype.hasOwnProperty("sticky");function M(W){this.__input=W||"",this.__input_length=this.__input.length,this.__position=0}M.prototype.restart=function(){this.__position=0},M.prototype.back=function(){this.__position>0&&(this.__position-=1)},M.prototype.hasNext=function(){return this.__position<this.__input_length},M.prototype.next=function(){var W=null;return this.hasNext()&&(W=this.__input.charAt(this.__position),this.__position+=1),W},M.prototype.peek=function(W){var y=null;return W=W||0,W+=this.__position,W>=0&&W<this.__input_length&&(y=this.__input.charAt(W)),y},M.prototype.__match=function(W,y){W.lastIndex=y;var b=W.exec(this.__input);return b&&!(o&&W.sticky)&&b.index!==y&&(b=null),b},M.prototype.test=function(W,y){return y=y||0,y+=this.__position,y>=0&&y<this.__input_length?!!this.__match(W,y):!1},M.prototype.testChar=function(W,y){var b=this.peek(y);return W.lastIndex=0,b!==null&&W.test(b)},M.prototype.match=function(W){var y=this.__match(W,this.__position);return y?this.__position+=y[0].length:y=null,y},M.prototype.read=function(W,y,b){var A="",C;return W&&(C=this.match(W),C&&(A+=C[0])),y&&(C||!W)&&(A+=this.readUntil(y,b)),A},M.prototype.readUntil=function(W,y){var b="",A=this.__position;W.lastIndex=this.__position;var C=W.exec(this.__input);return C?(A=C.index,y&&(A+=C[0].length)):A=this.__input_length,b=this.__input.substring(this.__position,A),this.__position=A,b},M.prototype.readUntilAfter=function(W){return this.readUntil(W,!0)},M.prototype.get_regexp=function(W,y){var b=null,A="g";return y&&o&&(A="y"),typeof W=="string"&&W!==""?b=new RegExp(W,A):W&&(b=new RegExp(W.source,A)),b},M.prototype.get_literal_regexp=function(W){return RegExp(W.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},M.prototype.peekUntilAfter=function(W){var y=this.__position,b=this.readUntilAfter(W);return this.__position=y,b},M.prototype.lookBack=function(W){var y=this.__position-1;return y>=W.length&&this.__input.substring(y-W.length,y).toLowerCase()===W},he.exports.InputScanner=M},function(he,o,M){var W=M(8).InputScanner,y=M(3).Token,b=M(10).TokenStream,A=M(11).WhitespacePattern,C={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},K=function(pe,B){this._input=new W(pe),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new A(this._input)};K.prototype.tokenize=function(){this._input.restart(),this.__tokens=new b,this._reset();for(var pe,B=new y(C.START,""),Z=null,ie=[],X=new b;B.type!==C.EOF;){for(pe=this._get_next_token(B,Z);this._is_comment(pe);)X.add(pe),pe=this._get_next_token(B,Z);X.isEmpty()||(pe.comments_before=X,X=new b),pe.parent=Z,this._is_opening(pe)?(ie.push(Z),Z=pe):Z&&this._is_closing(pe,Z)&&(pe.opened=Z,Z.closed=pe,Z=ie.pop(),pe.parent=Z),pe.previous=B,B.next=pe,this.__tokens.add(pe),B=pe}return this.__tokens},K.prototype._is_first_token=function(){return this.__tokens.isEmpty()},K.prototype._reset=function(){},K.prototype._get_next_token=function(pe,B){this._readWhitespace();var Z=this._input.read(/.+/g);return Z?this._create_token(C.RAW,Z):this._create_token(C.EOF,"")},K.prototype._is_comment=function(pe){return!1},K.prototype._is_opening=function(pe){return!1},K.prototype._is_closing=function(pe,B){return!1},K.prototype._create_token=function(pe,B){var Z=new y(pe,B,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return Z},K.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},he.exports.Tokenizer=K,he.exports.TOKEN=C},function(he){function o(M){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=M}o.prototype.restart=function(){this.__position=0},o.prototype.isEmpty=function(){return this.__tokens_length===0},o.prototype.hasNext=function(){return this.__position<this.__tokens_length},o.prototype.next=function(){var M=null;return this.hasNext()&&(M=this.__tokens[this.__position],this.__position+=1),M},o.prototype.peek=function(M){var W=null;return M=M||0,M+=this.__position,M>=0&&M<this.__tokens_length&&(W=this.__tokens[M]),W},o.prototype.add=function(M){this.__parent_token&&(M.parent=this.__parent_token),this.__tokens.push(M),this.__tokens_length+=1},he.exports.TokenStream=o},function(he,o,M){var W=M(12).Pattern;function y(b,A){W.call(this,b,A),A?this._line_regexp=this._input.get_regexp(A._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}y.prototype=new W,y.prototype.__set_whitespace_patterns=function(b,A){b+="\\t ",A+="\\n\\r",this._match_pattern=this._input.get_regexp("["+b+A+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+A+"]")},y.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var b=this._input.read(this._match_pattern);if(b===" ")this.whitespace_before_token=" ";else if(b){var A=this.__split(this._newline_regexp,b);this.newline_count=A.length-1,this.whitespace_before_token=A[this.newline_count]}return b},y.prototype.matching=function(b,A){var C=this._create();return C.__set_whitespace_patterns(b,A),C._update(),C},y.prototype._create=function(){return new y(this._input,this)},y.prototype.__split=function(b,A){b.lastIndex=0;for(var C=0,K=[],pe=b.exec(A);pe;)K.push(A.substring(C,pe.index)),C=pe.index+pe[0].length,pe=b.exec(A);return C<A.length?K.push(A.substring(C,A.length)):K.push(""),K},he.exports.WhitespacePattern=y},function(he){function o(M,W){this._input=M,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,W&&(this._starting_pattern=this._input.get_regexp(W._starting_pattern,!0),this._match_pattern=this._input.get_regexp(W._match_pattern,!0),this._until_pattern=this._input.get_regexp(W._until_pattern),this._until_after=W._until_after)}o.prototype.read=function(){var M=this._input.read(this._starting_pattern);return(!this._starting_pattern||M)&&(M+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),M},o.prototype.read_match=function(){return this._input.match(this._match_pattern)},o.prototype.until_after=function(M){var W=this._create();return W._until_after=!0,W._until_pattern=this._input.get_regexp(M),W._update(),W},o.prototype.until=function(M){var W=this._create();return W._until_after=!1,W._until_pattern=this._input.get_regexp(M),W._update(),W},o.prototype.starting_with=function(M){var W=this._create();return W._starting_pattern=this._input.get_regexp(M,!0),W._update(),W},o.prototype.matching=function(M){var W=this._create();return W._match_pattern=this._input.get_regexp(M,!0),W._update(),W},o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){},he.exports.Pattern=o},function(he){function o(M,W){M=typeof M=="string"?M:M.source,W=typeof W=="string"?W:W.source,this.__directives_block_pattern=new RegExp(M+/ beautify( \w+[:]\w+)+ /.source+W,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(M+/\sbeautify\signore:end\s/.source+W,"g")}o.prototype.get_directives=function(M){if(!M.match(this.__directives_block_pattern))return null;var W={};this.__directive_pattern.lastIndex=0;for(var y=this.__directive_pattern.exec(M);y;)W[y[1]]=y[2],y=this.__directive_pattern.exec(M);return W},o.prototype.readIgnored=function(M){return M.readUntilAfter(this.__directives_end_ignore_pattern)},he.exports.Directives=o},function(he,o,M){var W=M(12).Pattern,y={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function b(A,C){W.call(this,A,C),this.__template_pattern=null,this._disabled=Object.assign({},y),this._excluded=Object.assign({},y),C&&(this.__template_pattern=this._input.get_regexp(C.__template_pattern),this._excluded=Object.assign(this._excluded,C._excluded),this._disabled=Object.assign(this._disabled,C._disabled));var K=new W(A);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}/)}}b.prototype=new W,b.prototype._create=function(){return new b(this._input,this)},b.prototype._update=function(){this.__set_templated_pattern()},b.prototype.disable=function(A){var C=this._create();return C._disabled[A]=!0,C._update(),C},b.prototype.read_options=function(A){var C=this._create();for(var K in y)C._disabled[K]=A.templating.indexOf(K)===-1;return C._update(),C},b.prototype.exclude=function(A){var C=this._create();return C._excluded[A]=!0,C._update(),C},b.prototype.read=function(){var A="";this._match_pattern?A=this._input.read(this._starting_pattern):A=this._input.read(this._starting_pattern,this.__template_pattern);for(var C=this._read_template();C;)this._match_pattern?C+=this._input.read(this._match_pattern):C+=this._input.readUntil(this.__template_pattern),A+=C,C=this._read_template();return this._until_after&&(A+=this._input.readUntilAfter(this._until_pattern)),A},b.prototype.__set_templated_pattern=function(){var A=[];this._disabled.php||A.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||A.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||A.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||A.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(A.push(this.__patterns.django._starting_pattern.source),A.push(this.__patterns.django_value._starting_pattern.source),A.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||A.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&A.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+A.join("|")+")")},b.prototype._read_template=function(){var A="",C=this._input.peek();if(C==="<"){var K=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&K==="?"&&(A=A||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&K==="%"&&(A=A||this.__patterns.erb.read())}else C==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(A=A||this.__patterns.handlebars_comment.read(),A=A||this.__patterns.handlebars_unescaped.read(),A=A||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(A=A||this.__patterns.django_value.read()),this._excluded.django||(A=A||this.__patterns.django_comment.read(),A=A||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(A=A||this.__patterns.smarty_comment.read(),A=A||this.__patterns.smarty_literal.read(),A=A||this.__patterns.smarty.read()));return A},he.exports.TemplatablePattern=b}],F={};function m(he){var o=F[he];if(o!==void 0)return o.exports;var M=F[he]={exports:{}};return ge[he](M,M.exports,m),M.exports}var w=m(0);O=w})();var re=O;f=[],g=function(){return{js_beautify:re}}.apply(it,f),g!==void 0&&(an.exports=g)})()},15342:function(an){(function(f,g){an.exports=g()})(typeof self!="undefined"?self:this,function(){return function(it){var f={};function g(O){if(f[O])return f[O].exports;var re=f[O]={i:O,l:!1,exports:{}};return it[O].call(re.exports,re,re.exports,g),re.l=!0,re.exports}return g.m=it,g.c=f,g.d=function(O,re,ge){g.o(O,re)||Object.defineProperty(O,re,{enumerable:!0,get:ge})},g.r=function(O){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(O,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(O,"__esModule",{value:!0})},g.t=function(O,re){if(re&1&&(O=g(O)),re&8||re&4&&typeof O=="object"&&O&&O.__esModule)return O;var ge=Object.create(null);if(g.r(ge),Object.defineProperty(ge,"default",{enumerable:!0,value:O}),re&2&&typeof O!="string")for(var F in O)g.d(ge,F,function(m){return O[m]}.bind(null,F));return ge},g.n=function(O){var re=O&&O.__esModule?function(){return O.default}:function(){return O};return g.d(re,"a",re),re},g.o=function(O,re){return Object.prototype.hasOwnProperty.call(O,re)},g.p="",g(g.s=1)}([function(it,f,g){},function(it,f,g){"use strict";g.r(f);var O=g(0),re=function(){function se(l,d,p){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=l,this.start=d,this.end=p}return se.range=function(d,p){return p?!d||!d.loc||!p.loc||d.loc.lexer!==p.loc.lexer?null:new se(d.loc.lexer,d.loc.start,p.loc.end):d&&d.loc},se}(),ge=function(){function se(d,p){this.text=void 0,this.loc=void 0,this.text=d,this.loc=p}var l=se.prototype;return l.range=function(p,x){return new se(x,re.range(this,p))},se}(),F=function se(l,d){this.position=void 0;var p="KaTeX parse error: "+l,x,N=d&&d.loc;if(N&&N.start<=N.end){var ue=N.lexer.input;x=N.start;var ke=N.end;x===ue.length?p+=" at end of input: ":p+=" at position "+(x+1)+": ";var ze=ue.slice(x,ke).replace(/[^]/g,"$&\u0332"),nt;x>15?nt="\u2026"+ue.slice(x-15,x):nt=ue.slice(0,x);var vt;ke+15<ue.length?vt=ue.slice(ke,ke+15)+"\u2026":vt=ue.slice(ke),p+=nt+ze+vt}var Lt=new Error(p);return Lt.name="ParseError",Lt.__proto__=se.prototype,Lt.position=x,Lt};F.prototype.__proto__=Error.prototype;var m=F,w=function(l,d){return l.indexOf(d)!==-1},he=function(l,d){return l===void 0?d:l},o=/([A-Z])/g,M=function(l){return l.replace(o,"-$1").toLowerCase()},W={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},y=/[&><"']/g;function b(se){return String(se).replace(y,function(l){return W[l]})}var A=function se(l){return l.type==="ordgroup"||l.type==="color"?l.body.length===1?se(l.body[0]):l:l.type==="font"?se(l.body):l},C=function(l){var d=A(l);return d.type==="mathord"||d.type==="textord"||d.type==="atom"},K=function(l){if(!l)throw new Error("Expected non-null, but got "+String(l));return l},pe=function(l){var d=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(l);return d!=null?d[1]:"_relative"},B={contains:w,deflt:he,escape:b,hyphenate:M,getBaseElem:A,isCharacterBox:C,protocolFromUrl:pe},Z=function(){function se(d){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,d=d||{},this.displayMode=B.deflt(d.displayMode,!1),this.output=B.deflt(d.output,"htmlAndMathml"),this.leqno=B.deflt(d.leqno,!1),this.fleqn=B.deflt(d.fleqn,!1),this.throwOnError=B.deflt(d.throwOnError,!0),this.errorColor=B.deflt(d.errorColor,"#cc0000"),this.macros=d.macros||{},this.minRuleThickness=Math.max(0,B.deflt(d.minRuleThickness,0)),this.colorIsTextColor=B.deflt(d.colorIsTextColor,!1),this.strict=B.deflt(d.strict,"warn"),this.trust=B.deflt(d.trust,!1),this.maxSize=Math.max(0,B.deflt(d.maxSize,1/0)),this.maxExpand=Math.max(0,B.deflt(d.maxExpand,1e3))}var l=se.prototype;return l.reportNonstrict=function(p,x,N){var ue=this.strict;if(typeof ue=="function"&&(ue=ue(p,x,N)),!(!ue||ue==="ignore")){if(ue===!0||ue==="error")throw new m("LaTeX-incompatible input and strict mode is set to 'error': "+(x+" ["+p+"]"),N);ue==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(x+" ["+p+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+ue+"': "+x+" ["+p+"]"))}},l.useStrictBehavior=function(p,x,N){var ue=this.strict;if(typeof ue=="function")try{ue=ue(p,x,N)}catch(ke){ue="error"}return!ue||ue==="ignore"?!1:ue===!0||ue==="error"?!0:ue==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(x+" ["+p+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+ue+"': "+x+" ["+p+"]")),!1)},l.isTrusted=function(p){p.url&&!p.protocol&&(p.protocol=B.protocolFromUrl(p.url));var x=typeof this.trust=="function"?this.trust(p):this.trust;return!!x},se}(),ie=function(){function se(d,p,x){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=d,this.size=p,this.cramped=x}var l=se.prototype;return l.sup=function(){return le[oe[this.id]]},l.sub=function(){return le[H[this.id]]},l.fracNum=function(){return le[be[this.id]]},l.fracDen=function(){return le[J[this.id]]},l.cramp=function(){return le[me[this.id]]},l.text=function(){return le[ae[this.id]]},l.isTight=function(){return this.size>=2},se}(),X=0,L=1,D=2,Q=3,j=4,ve=5,xe=6,ye=7,le=[new ie(X,0,!1),new ie(L,0,!0),new ie(D,1,!1),new ie(Q,1,!0),new ie(j,2,!1),new ie(ve,2,!0),new ie(xe,3,!1),new ie(ye,3,!0)],oe=[j,ve,j,ve,xe,ye,xe,ye],H=[ve,ve,ve,ve,ye,ye,ye,ye],be=[D,Q,j,ve,xe,ye,xe,ye],J=[Q,Q,ve,ve,ye,ye,ye,ye],me=[L,L,Q,Q,ve,ve,ye,ye],ae=[X,L,D,Q,D,Q,D,Q],v={DISPLAY:le[X],TEXT:le[D],SCRIPT:le[j],SCRIPTSCRIPT:le[xe]},_=[{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 Y(se){for(var l=0;l<_.length;l++)for(var d=_[l],p=0;p<d.blocks.length;p++){var x=d.blocks[p];if(se>=x[0]&&se<=x[1])return d.name}return null}var q=[];_.forEach(function(se){return se.blocks.forEach(function(l){return q.push.apply(q,l)})});function Pe(se){for(var l=0;l<q.length;l+=2)if(se>=q[l]&&se<=q[l+1])return!0;return!1}var Le=80,Ue=function(l,d){return"M95,"+(622+l+d)+`
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`+l/2.075+" -"+l+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+l)+`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+l)+" "+d+"h400000v"+(40+l)+"h-400000z"},$e=function(l,d){return"M263,"+(601+l+d)+`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`+l/2.084+" -"+l+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+l)+`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+l)+" "+d+"h400000v"+(40+l)+"h-400000z"},ut=function(l,d){return"M983 "+(10+l+d)+`
l`+l/3.13+" -"+l+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+l)+`
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+l)+" "+d+"h400000v"+(40+l)+"h-400000z"},dt=function(l,d){return"M424,"+(2398+l+d)+`
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`+l/4.223+" -"+l+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+l)+`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+l)+" "+d+`
h400000v`+(40+l)+"h-400000z"},at=function(l,d){return"M473,"+(2713+l+d)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+l/5.298+" -"+l+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+l)+`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+l)+" "+d+"h400000v"+(40+l)+"H1017.7z"},Pt=function(l,d,p){var x=p-54-d-l;return"M702 "+(l+d)+"H400000"+(40+l)+`
H742v`+x+`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 `+d+"H400000v"+(40+l)+"H742z"},nn=function(l,d,p){d=1e3*d;var x="";switch(l){case"sqrtMain":x=Ue(d,Le);break;case"sqrtSize1":x=$e(d,Le);break;case"sqrtSize2":x=ut(d,Le);break;case"sqrtSize3":x=dt(d,Le);break;case"sqrtSize4":x=at(d,Le);break;case"sqrtTall":x=Pt(d,Le,p)}return x},kt={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`},Nt=function(){function se(d){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=d,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var l=se.prototype;return l.hasClass=function(p){return B.contains(this.classes,p)},l.toNode=function(){for(var p=document.createDocumentFragment(),x=0;x<this.children.length;x++)p.appendChild(this.children[x].toNode());return p},l.toMarkup=function(){for(var p="",x=0;x<this.children.length;x++)p+=this.children[x].toMarkup();return p},l.toText=function(){var p=function(N){return N.toText()};return this.children.map(p).join("")},se}(),lt=function(l){return l.filter(function(d){return d}).join(" ")},wt=function(l,d,p){if(this.classes=l||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=p||{},d){d.style.isTight()&&this.classes.push("mtight");var x=d.getColor();x&&(this.style.color=x)}},de=function(l){var d=document.createElement(l);d.className=lt(this.classes);for(var p in this.style)this.style.hasOwnProperty(p)&&(d.style[p]=this.style[p]);for(var x in this.attributes)this.attributes.hasOwnProperty(x)&&d.setAttribute(x,this.attributes[x]);for(var N=0;N<this.children.length;N++)d.appendChild(this.children[N].toNode());return d},fe=function(l){var d="<"+l;this.classes.length&&(d+=' class="'+B.escape(lt(this.classes))+'"');var p="";for(var x in this.style)this.style.hasOwnProperty(x)&&(p+=B.hyphenate(x)+":"+this.style[x]+";");p&&(d+=' style="'+B.escape(p)+'"');for(var N in this.attributes)this.attributes.hasOwnProperty(N)&&(d+=" "+N+'="'+B.escape(this.attributes[N])+'"');d+=">";for(var ue=0;ue<this.children.length;ue++)d+=this.children[ue].toMarkup();return d+="</"+l+">",d},G=function(){function se(d,p,x,N){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,wt.call(this,d,x,N),this.children=p||[]}var l=se.prototype;return l.setAttribute=function(p,x){this.attributes[p]=x},l.hasClass=function(p){return B.contains(this.classes,p)},l.toNode=function(){return de.call(this,"span")},l.toMarkup=function(){return fe.call(this,"span")},se}(),U=function(){function se(d,p,x,N){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,wt.call(this,p,N),this.children=x||[],this.setAttribute("href",d)}var l=se.prototype;return l.setAttribute=function(p,x){this.attributes[p]=x},l.hasClass=function(p){return B.contains(this.classes,p)},l.toNode=function(){return de.call(this,"a")},l.toMarkup=function(){return fe.call(this,"a")},se}(),we=function(){function se(d,p,x){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=p,this.src=d,this.classes=["mord"],this.style=x}var l=se.prototype;return l.hasClass=function(p){return B.contains(this.classes,p)},l.toNode=function(){var p=document.createElement("img");p.src=this.src,p.alt=this.alt,p.className="mord";for(var x in this.style)this.style.hasOwnProperty(x)&&(p.style[x]=this.style[x]);return p},l.toMarkup=function(){var p="<img src='"+this.src+" 'alt='"+this.alt+"' ",x="";for(var N in this.style)this.style.hasOwnProperty(N)&&(x+=B.hyphenate(N)+":"+this.style[N]+";");return x&&(p+=' style="'+B.escape(x)+'"'),p+="'/>",p},se}(),P={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},T=function(){function se(d,p,x,N,ue,ke,ze,nt){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=d,this.height=p||0,this.depth=x||0,this.italic=N||0,this.skew=ue||0,this.width=ke||0,this.classes=ze||[],this.style=nt||{},this.maxFontSize=0;var vt=Y(this.text.charCodeAt(0));vt&&this.classes.push(vt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=P[this.text])}var l=se.prototype;return l.hasClass=function(p){return B.contains(this.classes,p)},l.toNode=function(){var p=document.createTextNode(this.text),x=null;this.italic>0&&(x=document.createElement("span"),x.style.marginRight=this.italic+"em"),this.classes.length>0&&(x=x||document.createElement("span"),x.className=lt(this.classes));for(var N in this.style)this.style.hasOwnProperty(N)&&(x=x||document.createElement("span"),x.style[N]=this.style[N]);return x?(x.appendChild(p),x):p},l.toMarkup=function(){var p=!1,x="<span";this.classes.length&&(p=!0,x+=' class="',x+=B.escape(lt(this.classes)),x+='"');var N="";this.italic>0&&(N+="margin-right:"+this.italic+"em;");for(var ue in this.style)this.style.hasOwnProperty(ue)&&(N+=B.hyphenate(ue)+":"+this.style[ue]+";");N&&(p=!0,x+=' style="'+B.escape(N)+'"');var ke=B.escape(this.text);return p?(x+=">",x+=ke,x+="</span>",x):ke},se}(),I=function(){function se(d,p){this.children=void 0,this.attributes=void 0,this.children=d||[],this.attributes=p||{}}var l=se.prototype;return l.toNode=function(){var p="http://www.w3.org/2000/svg",x=document.createElementNS(p,"svg");for(var N in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,N)&&x.setAttribute(N,this.attributes[N]);for(var ue=0;ue<this.children.length;ue++)x.appendChild(this.children[ue].toNode());return x},l.toMarkup=function(){var p="<svg";for(var x in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,x)&&(p+=" "+x+"='"+this.attributes[x]+"'");p+=">";for(var N=0;N<this.children.length;N++)p+=this.children[N].toMarkup();return p+="</svg>",p},se}(),ne=function(){function se(d,p){this.pathName=void 0,this.alternate=void 0,this.pathName=d,this.alternate=p}var l=se.prototype;return l.toNode=function(){var p="http://www.w3.org/2000/svg",x=document.createElementNS(p,"path");return this.alternate?x.setAttribute("d",this.alternate):x.setAttribute("d",kt[this.pathName]),x},l.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+kt[this.pathName]+"'/>"},se}(),$=function(){function se(d){this.attributes=void 0,this.attributes=d||{}}var l=se.prototype;return l.toNode=function(){var p="http://www.w3.org/2000/svg",x=document.createElementNS(p,"line");for(var N in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,N)&&x.setAttribute(N,this.attributes[N]);return x},l.toMarkup=function(){var p="<line";for(var x in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,x)&&(p+=" "+x+"='"+this.attributes[x]+"'");return p+="/>",p},se}();function V(se){if(se instanceof T)return se;throw new Error("Expected symbolNode but got "+String(se)+".")}function Te(se){if(se instanceof G)return se;throw new Error("Expected span<HtmlDomNode> but got "+String(se)+".")}var He={"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]}},Ie={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]},Fe={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Qe(se,l){He[se]=l}function Ze(se,l,d){if(!He[l])throw new Error("Font metrics not found for font: "+l+".");var p=se.charCodeAt(0),x=He[l][p];if(!x&&se[0]in Fe&&(p=Fe[se[0]].charCodeAt(0),x=He[l][p]),!x&&d==="text"&&Pe(p)&&(x=He[l][77]),x)return{depth:x[0],height:x[1],italic:x[2],skew:x[3],width:x[4]}}var Ve={};function xt(se){var l;if(se>=5?l=0:se>=3?l=1:l=2,!Ve[l]){var d=Ve[l]={cssEmPerMu:Ie.quad[l]/18};for(var p in Ie)Ie.hasOwnProperty(p)&&(d[p]=Ie[p][l])}return Ve[l]}var Ct={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ft={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ot={math:{},text:{}},Kt=Ot;function R(se,l,d,p,x,N){Ot[se][x]={font:l,group:d,replace:p},N&&p&&(Ot[se][p]=Ot[se][x])}var k="math",bt="text",Se="main",Ke="ams",vn="accent-token",qe="bin",et="close",Xe="inner",_e="mathord",Me="op-token",Oe="open",rt="punct",Ae="rel",rn="spacing",Ge="textord";R(k,Se,Ae,"\u2261","\\equiv",!0),R(k,Se,Ae,"\u227A","\\prec",!0),R(k,Se,Ae,"\u227B","\\succ",!0),R(k,Se,Ae,"\u223C","\\sim",!0),R(k,Se,Ae,"\u22A5","\\perp"),R(k,Se,Ae,"\u2AAF","\\preceq",!0),R(k,Se,Ae,"\u2AB0","\\succeq",!0),R(k,Se,Ae,"\u2243","\\simeq",!0),R(k,Se,Ae,"\u2223","\\mid",!0),R(k,Se,Ae,"\u226A","\\ll",!0),R(k,Se,Ae,"\u226B","\\gg",!0),R(k,Se,Ae,"\u224D","\\asymp",!0),R(k,Se,Ae,"\u2225","\\parallel"),R(k,Se,Ae,"\u22C8","\\bowtie",!0),R(k,Se,Ae,"\u2323","\\smile",!0),R(k,Se,Ae,"\u2291","\\sqsubseteq",!0),R(k,Se,Ae,"\u2292","\\sqsupseteq",!0),R(k,Se,Ae,"\u2250","\\doteq",!0),R(k,Se,Ae,"\u2322","\\frown",!0),R(k,Se,Ae,"\u220B","\\ni",!0),R(k,Se,Ae,"\u221D","\\propto",!0),R(k,Se,Ae,"\u22A2","\\vdash",!0),R(k,Se,Ae,"\u22A3","\\dashv",!0),R(k,Se,Ae,"\u220B","\\owns"),R(k,Se,rt,".","\\ldotp"),R(k,Se,rt,"\u22C5","\\cdotp"),R(k,Se,Ge,"#","\\#"),R(bt,Se,Ge,"#","\\#"),R(k,Se,Ge,"&","\\&"),R(bt,Se,Ge,"&","\\&"),R(k,Se,Ge,"\u2135","\\aleph",!0),R(k,Se,Ge,"\u2200","\\forall",!0),R(k,Se,Ge,"\u210F","\\hbar",!0),R(k,Se,Ge,"\u2203","\\exists",!0),R(k,Se,Ge,"\u2207","\\nabla",!0),R(k,Se,Ge,"\u266D","\\flat",!0),R(k,Se,Ge,"\u2113","\\ell",!0),R(k,Se,Ge,"\u266E","\\natural",!0),R(k,Se,Ge,"\u2663","\\clubsuit",!0),R(k,Se,Ge,"\u2118","\\wp",!0),R(k,Se,Ge,"\u266F","\\sharp",!0),R(k,Se,Ge,"\u2662","\\diamondsuit",!0),R(k,Se,Ge,"\u211C","\\Re",!0),R(k,Se,Ge,"\u2661","\\heartsuit",!0),R(k,Se,Ge,"\u2111","\\Im",!0),R(k,Se,Ge,"\u2660","\\spadesuit",!0),R(bt,Se,Ge,"\xA7","\\S",!0),R(bt,Se,Ge,"\xB6","\\P",!0),R(k,Se,Ge,"\u2020","\\dag"),R(bt,Se,Ge,"\u2020","\\dag"),R(bt,Se,Ge,"\u2020","\\textdagger"),R(k,Se,Ge,"\u2021","\\ddag"),R(bt,Se,Ge,"\u2021","\\ddag"),R(bt,Se,Ge,"\u2021","\\textdaggerdbl"),R(k,Se,et,"\u23B1","\\rmoustache",!0),R(k,Se,Oe,"\u23B0","\\lmoustache",!0),R(k,Se,et,"\u27EF","\\rgroup",!0),R(k,Se,Oe,"\u27EE","\\lgroup",!0),R(k,Se,qe,"\u2213","\\mp",!0),R(k,Se,qe,"\u2296","\\ominus",!0),R(k,Se,qe,"\u228E","\\uplus",!0),R(k,Se,qe,"\u2293","\\sqcap",!0),R(k,Se,qe,"\u2217","\\ast"),R(k,Se,qe,"\u2294","\\sqcup",!0),R(k,Se,qe,"\u25EF","\\bigcirc"),R(k,Se,qe,"\u2219","\\bullet"),R(k,Se,qe,"\u2021","\\ddagger"),R(k,Se,qe,"\u2240","\\wr",!0),R(k,Se,qe,"\u2A3F","\\amalg"),R(k,Se,qe,"&","\\And"),R(k,Se,Ae,"\u27F5","\\longleftarrow",!0),R(k,Se,Ae,"\u21D0","\\Leftarrow",!0),R(k,Se,Ae,"\u27F8","\\Longleftarrow",!0),R(k,Se,Ae,"\u27F6","\\longrightarrow",!0),R(k,Se,Ae,"\u21D2","\\Rightarrow",!0),R(k,Se,Ae,"\u27F9","\\Longrightarrow",!0),R(k,Se,Ae,"\u2194","\\leftrightarrow",!0),R(k,Se,Ae,"\u27F7","\\longleftrightarrow",!0),R(k,Se,Ae,"\u21D4","\\Leftrightarrow",!0),R(k,Se,Ae,"\u27FA","\\Longleftrightarrow",!0),R(k,Se,Ae,"\u21A6","\\mapsto",!0),R(k,Se,Ae,"\u27FC","\\longmapsto",!0),R(k,Se,Ae,"\u2197","\\nearrow",!0),R(k,Se,Ae,"\u21A9","\\hookleftarrow",!0),R(k,Se,Ae,"\u21AA","\\hookrightarrow",!0),R(k,Se,Ae,"\u2198","\\searrow",!0),R(k,Se,Ae,"\u21BC","\\leftharpoonup",!0),R(k,Se,Ae,"\u21C0","\\rightharpoonup",!0),R(k,Se,Ae,"\u2199","\\swarrow",!0),R(k,Se,Ae,"\u21BD","\\leftharpoondown",!0),R(k,Se,Ae,"\u21C1","\\rightharpoondown",!0),R(k,Se,Ae,"\u2196","\\nwarrow",!0),R(k,Se,Ae,"\u21CC","\\rightleftharpoons",!0),R(k,Ke,Ae,"\u226E","\\nless",!0),R(k,Ke,Ae,"\uE010","\\@nleqslant"),R(k,Ke,Ae,"\uE011","\\@nleqq"),R(k,Ke,Ae,"\u2A87","\\lneq",!0),R(k,Ke,Ae,"\u2268","\\lneqq",!0),R(k,Ke,Ae,"\uE00C","\\@lvertneqq"),R(k,Ke,Ae,"\u22E6","\\lnsim",!0),R(k,Ke,Ae,"\u2A89","\\lnapprox",!0),R(k,Ke,Ae,"\u2280","\\nprec",!0),R(k,Ke,Ae,"\u22E0","\\npreceq",!0),R(k,Ke,Ae,"\u22E8","\\precnsim",!0),R(k,Ke,Ae,"\u2AB9","\\precnapprox",!0),R(k,Ke,Ae,"\u2241","\\nsim",!0),R(k,Ke,Ae,"\uE006","\\@nshortmid"),R(k,Ke,Ae,"\u2224","\\nmid",!0),R(k,Ke,Ae,"\u22AC","\\nvdash",!0),R(k,Ke,Ae,"\u22AD","\\nvDash",!0),R(k,Ke,Ae,"\u22EA","\\ntriangleleft"),R(k,Ke,Ae,"\u22EC","\\ntrianglelefteq",!0),R(k,Ke,Ae,"\u228A","\\subsetneq",!0),R(k,Ke,Ae,"\uE01A","\\@varsubsetneq"),R(k,Ke,Ae,"\u2ACB","\\subsetneqq",!0),R(k,Ke,Ae,"\uE017","\\@varsubsetneqq"),R(k,Ke,Ae,"\u226F","\\ngtr",!0),R(k,Ke,Ae,"\uE00F","\\@ngeqslant"),R(k,Ke,Ae,"\uE00E","\\@ngeqq"),R(k,Ke,Ae,"\u2A88","\\gneq",!0),R(k,Ke,Ae,"\u2269","\\gneqq",!0),R(k,Ke,Ae,"\uE00D","\\@gvertneqq"),R(k,Ke,Ae,"\u22E7","\\gnsim",!0),R(k,Ke,Ae,"\u2A8A","\\gnapprox",!0),R(k,Ke,Ae,"\u2281","\\nsucc",!0),R(k,Ke,Ae,"\u22E1","\\nsucceq",!0),R(k,Ke,Ae,"\u22E9","\\succnsim",!0),R(k,Ke,Ae,"\u2ABA","\\succnapprox",!0),R(k,Ke,Ae,"\u2246","\\ncong",!0),R(k,Ke,Ae,"\uE007","\\@nshortparallel"),R(k,Ke,Ae,"\u2226","\\nparallel",!0),R(k,Ke,Ae,"\u22AF","\\nVDash",!0),R(k,Ke,Ae,"\u22EB","\\ntriangleright"),R(k,Ke,Ae,"\u22ED","\\ntrianglerighteq",!0),R(k,Ke,Ae,"\uE018","\\@nsupseteqq"),R(k,Ke,Ae,"\u228B","\\supsetneq",!0),R(k,Ke,Ae,"\uE01B","\\@varsupsetneq"),R(k,Ke,Ae,"\u2ACC","\\supsetneqq",!0),R(k,Ke,Ae,"\uE019","\\@varsupsetneqq"),R(k,Ke,Ae,"\u22AE","\\nVdash",!0),R(k,Ke,Ae,"\u2AB5","\\precneqq",!0),R(k,Ke,Ae,"\u2AB6","\\succneqq",!0),R(k,Ke,Ae,"\uE016","\\@nsubseteqq"),R(k,Ke,qe,"\u22B4","\\unlhd"),R(k,Ke,qe,"\u22B5","\\unrhd"),R(k,Ke,Ae,"\u219A","\\nleftarrow",!0),R(k,Ke,Ae,"\u219B","\\nrightarrow",!0),R(k,Ke,Ae,"\u21CD","\\nLeftarrow",!0),R(k,Ke,Ae,"\u21CF","\\nRightarrow",!0),R(k,Ke,Ae,"\u21AE","\\nleftrightarrow",!0),R(k,Ke,Ae,"\u21CE","\\nLeftrightarrow",!0),R(k,Ke,Ae,"\u25B3","\\vartriangle"),R(k,Ke,Ge,"\u210F","\\hslash"),R(k,Ke,Ge,"\u25BD","\\triangledown"),R(k,Ke,Ge,"\u25CA","\\lozenge"),R(k,Ke,Ge,"\u24C8","\\circledS"),R(k,Ke,Ge,"\xAE","\\circledR"),R(bt,Ke,Ge,"\xAE","\\circledR"),R(k,Ke,Ge,"\u2221","\\measuredangle",!0),R(k,Ke,Ge,"\u2204","\\nexists"),R(k,Ke,Ge,"\u2127","\\mho"),R(k,Ke,Ge,"\u2132","\\Finv",!0),R(k,Ke,Ge,"\u2141","\\Game",!0),R(k,Ke,Ge,"\u2035","\\backprime"),R(k,Ke,Ge,"\u25B2","\\blacktriangle"),R(k,Ke,Ge,"\u25BC","\\blacktriangledown"),R(k,Ke,Ge,"\u25A0","\\blacksquare"),R(k,Ke,Ge,"\u29EB","\\blacklozenge"),R(k,Ke,Ge,"\u2605","\\bigstar"),R(k,Ke,Ge,"\u2222","\\sphericalangle",!0),R(k,Ke,Ge,"\u2201","\\complement",!0),R(k,Ke,Ge,"\xF0","\\eth",!0),R(k,Ke,Ge,"\u2571","\\diagup"),R(k,Ke,Ge,"\u2572","\\diagdown"),R(k,Ke,Ge,"\u25A1","\\square"),R(k,Ke,Ge,"\u25A1","\\Box"),R(k,Ke,Ge,"\u25CA","\\Diamond"),R(k,Ke,Ge,"\xA5","\\yen",!0),R(bt,Ke,Ge,"\xA5","\\yen",!0),R(k,Ke,Ge,"\u2713","\\checkmark",!0),R(bt,Ke,Ge,"\u2713","\\checkmark"),R(k,Ke,Ge,"\u2136","\\beth",!0),R(k,Ke,Ge,"\u2138","\\daleth",!0),R(k,Ke,Ge,"\u2137","\\gimel",!0),R(k,Ke,Ge,"\u03DD","\\digamma",!0),R(k,Ke,Ge,"\u03F0","\\varkappa"),R(k,Ke,Oe,"\u250C","\\ulcorner",!0),R(k,Ke,et,"\u2510","\\urcorner",!0),R(k,Ke,Oe,"\u2514","\\llcorner",!0),R(k,Ke,et,"\u2518","\\lrcorner",!0),R(k,Ke,Ae,"\u2266","\\leqq",!0),R(k,Ke,Ae,"\u2A7D","\\leqslant",!0),R(k,Ke,Ae,"\u2A95","\\eqslantless",!0),R(k,Ke,Ae,"\u2272","\\lesssim",!0),R(k,Ke,Ae,"\u2A85","\\lessapprox",!0),R(k,Ke,Ae,"\u224A","\\approxeq",!0),R(k,Ke,qe,"\u22D6","\\lessdot"),R(k,Ke,Ae,"\u22D8","\\lll",!0),R(k,Ke,Ae,"\u2276","\\lessgtr",!0),R(k,Ke,Ae,"\u22DA","\\lesseqgtr",!0),R(k,Ke,Ae,"\u2A8B","\\lesseqqgtr",!0),R(k,Ke,Ae,"\u2251","\\doteqdot"),R(k,Ke,Ae,"\u2253","\\risingdotseq",!0),R(k,Ke,Ae,"\u2252","\\fallingdotseq",!0),R(k,Ke,Ae,"\u223D","\\backsim",!0),R(k,Ke,Ae,"\u22CD","\\backsimeq",!0),R(k,Ke,Ae,"\u2AC5","\\subseteqq",!0),R(k,Ke,Ae,"\u22D0","\\Subset",!0),R(k,Ke,Ae,"\u228F","\\sqsubset",!0),R(k,Ke,Ae,"\u227C","\\preccurlyeq",!0),R(k,Ke,Ae,"\u22DE","\\curlyeqprec",!0),R(k,Ke,Ae,"\u227E","\\precsim",!0),R(k,Ke,Ae,"\u2AB7","\\precapprox",!0),R(k,Ke,Ae,"\u22B2","\\vartriangleleft"),R(k,Ke,Ae,"\u22B4","\\trianglelefteq"),R(k,Ke,Ae,"\u22A8","\\vDash",!0),R(k,Ke,Ae,"\u22AA","\\Vvdash",!0),R(k,Ke,Ae,"\u2323","\\smallsmile"),R(k,Ke,Ae,"\u2322","\\smallfrown"),R(k,Ke,Ae,"\u224F","\\bumpeq",!0),R(k,Ke,Ae,"\u224E","\\Bumpeq",!0),R(k,Ke,Ae,"\u2267","\\geqq",!0),R(k,Ke,Ae,"\u2A7E","\\geqslant",!0),R(k,Ke,Ae,"\u2A96","\\eqslantgtr",!0),R(k,Ke,Ae,"\u2273","\\gtrsim",!0),R(k,Ke,Ae,"\u2A86","\\gtrapprox",!0),R(k,Ke,qe,"\u22D7","\\gtrdot"),R(k,Ke,Ae,"\u22D9","\\ggg",!0),R(k,Ke,Ae,"\u2277","\\gtrless",!0),R(k,Ke,Ae,"\u22DB","\\gtreqless",!0),R(k,Ke,Ae,"\u2A8C","\\gtreqqless",!0),R(k,Ke,Ae,"\u2256","\\eqcirc",!0),R(k,Ke,Ae,"\u2257","\\circeq",!0),R(k,Ke,Ae,"\u225C","\\triangleq",!0),R(k,Ke,Ae,"\u223C","\\thicksim"),R(k,Ke,Ae,"\u2248","\\thickapprox"),R(k,Ke,Ae,"\u2AC6","\\supseteqq",!0),R(k,Ke,Ae,"\u22D1","\\Supset",!0),R(k,Ke,Ae,"\u2290","\\sqsupset",!0),R(k,Ke,Ae,"\u227D","\\succcurlyeq",!0),R(k,Ke,Ae,"\u22DF","\\curlyeqsucc",!0),R(k,Ke,Ae,"\u227F","\\succsim",!0),R(k,Ke,Ae,"\u2AB8","\\succapprox",!0),R(k,Ke,Ae,"\u22B3","\\vartriangleright"),R(k,Ke,Ae,"\u22B5","\\trianglerighteq"),R(k,Ke,Ae,"\u22A9","\\Vdash",!0),R(k,Ke,Ae,"\u2223","\\shortmid"),R(k,Ke,Ae,"\u2225","\\shortparallel"),R(k,Ke,Ae,"\u226C","\\between",!0),R(k,Ke,Ae,"\u22D4","\\pitchfork",!0),R(k,Ke,Ae,"\u221D","\\varpropto"),R(k,Ke,Ae,"\u25C0","\\blacktriangleleft"),R(k,Ke,Ae,"\u2234","\\therefore",!0),R(k,Ke,Ae,"\u220D","\\backepsilon"),R(k,Ke,Ae,"\u25B6","\\blacktriangleright"),R(k,Ke,Ae,"\u2235","\\because",!0),R(k,Ke,Ae,"\u22D8","\\llless"),R(k,Ke,Ae,"\u22D9","\\gggtr"),R(k,Ke,qe,"\u22B2","\\lhd"),R(k,Ke,qe,"\u22B3","\\rhd"),R(k,Ke,Ae,"\u2242","\\eqsim",!0),R(k,Se,Ae,"\u22C8","\\Join"),R(k,Ke,Ae,"\u2251","\\Doteq",!0),R(k,Ke,qe,"\u2214","\\dotplus",!0),R(k,Ke,qe,"\u2216","\\smallsetminus"),R(k,Ke,qe,"\u22D2","\\Cap",!0),R(k,Ke,qe,"\u22D3","\\Cup",!0),R(k,Ke,qe,"\u2A5E","\\doublebarwedge",!0),R(k,Ke,qe,"\u229F","\\boxminus",!0),R(k,Ke,qe,"\u229E","\\boxplus",!0),R(k,Ke,qe,"\u22C7","\\divideontimes",!0),R(k,Ke,qe,"\u22C9","\\ltimes",!0),R(k,Ke,qe,"\u22CA","\\rtimes",!0),R(k,Ke,qe,"\u22CB","\\leftthreetimes",!0),R(k,Ke,qe,"\u22CC","\\rightthreetimes",!0),R(k,Ke,qe,"\u22CF","\\curlywedge",!0),R(k,Ke,qe,"\u22CE","\\curlyvee",!0),R(k,Ke,qe,"\u229D","\\circleddash",!0),R(k,Ke,qe,"\u229B","\\circledast",!0),R(k,Ke,qe,"\u22C5","\\centerdot"),R(k,Ke,qe,"\u22BA","\\intercal",!0),R(k,Ke,qe,"\u22D2","\\doublecap"),R(k,Ke,qe,"\u22D3","\\doublecup"),R(k,Ke,qe,"\u22A0","\\boxtimes",!0),R(k,Ke,Ae,"\u21E2","\\dashrightarrow",!0),R(k,Ke,Ae,"\u21E0","\\dashleftarrow",!0),R(k,Ke,Ae,"\u21C7","\\leftleftarrows",!0),R(k,Ke,Ae,"\u21C6","\\leftrightarrows",!0),R(k,Ke,Ae,"\u21DA","\\Lleftarrow",!0),R(k,Ke,Ae,"\u219E","\\twoheadleftarrow",!0),R(k,Ke,Ae,"\u21A2","\\leftarrowtail",!0),R(k,Ke,Ae,"\u21AB","\\looparrowleft",!0),R(k,Ke,Ae,"\u21CB","\\leftrightharpoons",!0),R(k,Ke,Ae,"\u21B6","\\curvearrowleft",!0),R(k,Ke,Ae,"\u21BA","\\circlearrowleft",!0),R(k,Ke,Ae,"\u21B0","\\Lsh",!0),R(k,Ke,Ae,"\u21C8","\\upuparrows",!0),R(k,Ke,Ae,"\u21BF","\\upharpoonleft",!0),R(k,Ke,Ae,"\u21C3","\\downharpoonleft",!0),R(k,Ke,Ae,"\u22B8","\\multimap",!0),R(k,Ke,Ae,"\u21AD","\\leftrightsquigarrow",!0),R(k,Ke,Ae,"\u21C9","\\rightrightarrows",!0),R(k,Ke,Ae,"\u21C4","\\rightleftarrows",!0),R(k,Ke,Ae,"\u21A0","\\twoheadrightarrow",!0),R(k,Ke,Ae,"\u21A3","\\rightarrowtail",!0),R(k,Ke,Ae,"\u21AC","\\looparrowright",!0),R(k,Ke,Ae,"\u21B7","\\curvearrowright",!0),R(k,Ke,Ae,"\u21BB","\\circlearrowright",!0),R(k,Ke,Ae,"\u21B1","\\Rsh",!0),R(k,Ke,Ae,"\u21CA","\\downdownarrows",!0),R(k,Ke,Ae,"\u21BE","\\upharpoonright",!0),R(k,Ke,Ae,"\u21C2","\\downharpoonright",!0),R(k,Ke,Ae,"\u21DD","\\rightsquigarrow",!0),R(k,Ke,Ae,"\u21DD","\\leadsto"),R(k,Ke,Ae,"\u21DB","\\Rrightarrow",!0),R(k,Ke,Ae,"\u21BE","\\restriction"),R(k,Se,Ge,"\u2018","`"),R(k,Se,Ge,"$","\\$"),R(bt,Se,Ge,"$","\\$"),R(bt,Se,Ge,"$","\\textdollar"),R(k,Se,Ge,"%","\\%"),R(bt,Se,Ge,"%","\\%"),R(k,Se,Ge,"_","\\_"),R(bt,Se,Ge,"_","\\_"),R(bt,Se,Ge,"_","\\textunderscore"),R(k,Se,Ge,"\u2220","\\angle",!0),R(k,Se,Ge,"\u221E","\\infty",!0),R(k,Se,Ge,"\u2032","\\prime"),R(k,Se,Ge,"\u25B3","\\triangle"),R(k,Se,Ge,"\u0393","\\Gamma",!0),R(k,Se,Ge,"\u0394","\\Delta",!0),R(k,Se,Ge,"\u0398","\\Theta",!0),R(k,Se,Ge,"\u039B","\\Lambda",!0),R(k,Se,Ge,"\u039E","\\Xi",!0),R(k,Se,Ge,"\u03A0","\\Pi",!0),R(k,Se,Ge,"\u03A3","\\Sigma",!0),R(k,Se,Ge,"\u03A5","\\Upsilon",!0),R(k,Se,Ge,"\u03A6","\\Phi",!0),R(k,Se,Ge,"\u03A8","\\Psi",!0),R(k,Se,Ge,"\u03A9","\\Omega",!0),R(k,Se,Ge,"A","\u0391"),R(k,Se,Ge,"B","\u0392"),R(k,Se,Ge,"E","\u0395"),R(k,Se,Ge,"Z","\u0396"),R(k,Se,Ge,"H","\u0397"),R(k,Se,Ge,"I","\u0399"),R(k,Se,Ge,"K","\u039A"),R(k,Se,Ge,"M","\u039C"),R(k,Se,Ge,"N","\u039D"),R(k,Se,Ge,"O","\u039F"),R(k,Se,Ge,"P","\u03A1"),R(k,Se,Ge,"T","\u03A4"),R(k,Se,Ge,"X","\u03A7"),R(k,Se,Ge,"\xAC","\\neg",!0),R(k,Se,Ge,"\xAC","\\lnot"),R(k,Se,Ge,"\u22A4","\\top"),R(k,Se,Ge,"\u22A5","\\bot"),R(k,Se,Ge,"\u2205","\\emptyset"),R(k,Ke,Ge,"\u2205","\\varnothing"),R(k,Se,_e,"\u03B1","\\alpha",!0),R(k,Se,_e,"\u03B2","\\beta",!0),R(k,Se,_e,"\u03B3","\\gamma",!0),R(k,Se,_e,"\u03B4","\\delta",!0),R(k,Se,_e,"\u03F5","\\epsilon",!0),R(k,Se,_e,"\u03B6","\\zeta",!0),R(k,Se,_e,"\u03B7","\\eta",!0),R(k,Se,_e,"\u03B8","\\theta",!0),R(k,Se,_e,"\u03B9","\\iota",!0),R(k,Se,_e,"\u03BA","\\kappa",!0),R(k,Se,_e,"\u03BB","\\lambda",!0),R(k,Se,_e,"\u03BC","\\mu",!0),R(k,Se,_e,"\u03BD","\\nu",!0),R(k,Se,_e,"\u03BE","\\xi",!0),R(k,Se,_e,"\u03BF","\\omicron",!0),R(k,Se,_e,"\u03C0","\\pi",!0),R(k,Se,_e,"\u03C1","\\rho",!0),R(k,Se,_e,"\u03C3","\\sigma",!0),R(k,Se,_e,"\u03C4","\\tau",!0),R(k,Se,_e,"\u03C5","\\upsilon",!0),R(k,Se,_e,"\u03D5","\\phi",!0),R(k,Se,_e,"\u03C7","\\chi",!0),R(k,Se,_e,"\u03C8","\\psi",!0),R(k,Se,_e,"\u03C9","\\omega",!0),R(k,Se,_e,"\u03B5","\\varepsilon",!0),R(k,Se,_e,"\u03D1","\\vartheta",!0),R(k,Se,_e,"\u03D6","\\varpi",!0),R(k,Se,_e,"\u03F1","\\varrho",!0),R(k,Se,_e,"\u03C2","\\varsigma",!0),R(k,Se,_e,"\u03C6","\\varphi",!0),R(k,Se,qe,"\u2217","*"),R(k,Se,qe,"+","+"),R(k,Se,qe,"\u2212","-"),R(k,Se,qe,"\u22C5","\\cdot",!0),R(k,Se,qe,"\u2218","\\circ"),R(k,Se,qe,"\xF7","\\div",!0),R(k,Se,qe,"\xB1","\\pm",!0),R(k,Se,qe,"\xD7","\\times",!0),R(k,Se,qe,"\u2229","\\cap",!0),R(k,Se,qe,"\u222A","\\cup",!0),R(k,Se,qe,"\u2216","\\setminus"),R(k,Se,qe,"\u2227","\\land"),R(k,Se,qe,"\u2228","\\lor"),R(k,Se,qe,"\u2227","\\wedge",!0),R(k,Se,qe,"\u2228","\\vee",!0),R(k,Se,Ge,"\u221A","\\surd"),R(k,Se,Oe,"(","("),R(k,Se,Oe,"[","["),R(k,Se,Oe,"\u27E8","\\langle",!0),R(k,Se,Oe,"\u2223","\\lvert"),R(k,Se,Oe,"\u2225","\\lVert"),R(k,Se,et,")",")"),R(k,Se,et,"]","]"),R(k,Se,et,"?","?"),R(k,Se,et,"!","!"),R(k,Se,et,"\u27E9","\\rangle",!0),R(k,Se,et,"\u2223","\\rvert"),R(k,Se,et,"\u2225","\\rVert"),R(k,Se,Ae,"=","="),R(k,Se,Ae,"<","<"),R(k,Se,Ae,">",">"),R(k,Se,Ae,":",":"),R(k,Se,Ae,"\u2248","\\approx",!0),R(k,Se,Ae,"\u2245","\\cong",!0),R(k,Se,Ae,"\u2265","\\ge"),R(k,Se,Ae,"\u2265","\\geq",!0),R(k,Se,Ae,"\u2190","\\gets"),R(k,Se,Ae,">","\\gt"),R(k,Se,Ae,"\u2208","\\in",!0),R(k,Se,Ae,"\uE020","\\@not"),R(k,Se,Ae,"\u2282","\\subset",!0),R(k,Se,Ae,"\u2283","\\supset",!0),R(k,Se,Ae,"\u2286","\\subseteq",!0),R(k,Se,Ae,"\u2287","\\supseteq",!0),R(k,Ke,Ae,"\u2288","\\nsubseteq",!0),R(k,Ke,Ae,"\u2289","\\nsupseteq",!0),R(k,Se,Ae,"\u22A8","\\models"),R(k,Se,Ae,"\u2190","\\leftarrow",!0),R(k,Se,Ae,"\u2264","\\le"),R(k,Se,Ae,"\u2264","\\leq",!0),R(k,Se,Ae,"<","\\lt"),R(k,Se,Ae,"\u2192","\\rightarrow",!0),R(k,Se,Ae,"\u2192","\\to"),R(k,Ke,Ae,"\u2271","\\ngeq",!0),R(k,Ke,Ae,"\u2270","\\nleq",!0),R(k,Se,rn,"\xA0","\\ "),R(k,Se,rn,"\xA0","~"),R(k,Se,rn,"\xA0","\\space"),R(k,Se,rn,"\xA0","\\nobreakspace"),R(bt,Se,rn,"\xA0","\\ "),R(bt,Se,rn,"\xA0","~"),R(bt,Se,rn,"\xA0","\\space"),R(bt,Se,rn,"\xA0","\\nobreakspace"),R(k,Se,rn,null,"\\nobreak"),R(k,Se,rn,null,"\\allowbreak"),R(k,Se,rt,",",","),R(k,Se,rt,";",";"),R(k,Ke,qe,"\u22BC","\\barwedge",!0),R(k,Ke,qe,"\u22BB","\\veebar",!0),R(k,Se,qe,"\u2299","\\odot",!0),R(k,Se,qe,"\u2295","\\oplus",!0),R(k,Se,qe,"\u2297","\\otimes",!0),R(k,Se,Ge,"\u2202","\\partial",!0),R(k,Se,qe,"\u2298","\\oslash",!0),R(k,Ke,qe,"\u229A","\\circledcirc",!0),R(k,Ke,qe,"\u22A1","\\boxdot",!0),R(k,Se,qe,"\u25B3","\\bigtriangleup"),R(k,Se,qe,"\u25BD","\\bigtriangledown"),R(k,Se,qe,"\u2020","\\dagger"),R(k,Se,qe,"\u22C4","\\diamond"),R(k,Se,qe,"\u22C6","\\star"),R(k,Se,qe,"\u25C3","\\triangleleft"),R(k,Se,qe,"\u25B9","\\triangleright"),R(k,Se,Oe,"{","\\{"),R(bt,Se,Ge,"{","\\{"),R(bt,Se,Ge,"{","\\textbraceleft"),R(k,Se,et,"}","\\}"),R(bt,Se,Ge,"}","\\}"),R(bt,Se,Ge,"}","\\textbraceright"),R(k,Se,Oe,"{","\\lbrace"),R(k,Se,et,"}","\\rbrace"),R(k,Se,Oe,"[","\\lbrack"),R(bt,Se,Ge,"[","\\lbrack"),R(k,Se,et,"]","\\rbrack"),R(bt,Se,Ge,"]","\\rbrack"),R(k,Se,Oe,"(","\\lparen"),R(k,Se,et,")","\\rparen"),R(bt,Se,Ge,"<","\\textless"),R(bt,Se,Ge,">","\\textgreater"),R(k,Se,Oe,"\u230A","\\lfloor",!0),R(k,Se,et,"\u230B","\\rfloor",!0),R(k,Se,Oe,"\u2308","\\lceil",!0),R(k,Se,et,"\u2309","\\rceil",!0),R(k,Se,Ge,"\\","\\backslash"),R(k,Se,Ge,"\u2223","|"),R(k,Se,Ge,"\u2223","\\vert"),R(bt,Se,Ge,"|","\\textbar"),R(k,Se,Ge,"\u2225","\\|"),R(k,Se,Ge,"\u2225","\\Vert"),R(bt,Se,Ge,"\u2225","\\textbardbl"),R(bt,Se,Ge,"~","\\textasciitilde"),R(bt,Se,Ge,"\\","\\textbackslash"),R(bt,Se,Ge,"^","\\textasciicircum"),R(k,Se,Ae,"\u2191","\\uparrow",!0),R(k,Se,Ae,"\u21D1","\\Uparrow",!0),R(k,Se,Ae,"\u2193","\\downarrow",!0),R(k,Se,Ae,"\u21D3","\\Downarrow",!0),R(k,Se,Ae,"\u2195","\\updownarrow",!0),R(k,Se,Ae,"\u21D5","\\Updownarrow",!0),R(k,Se,Me,"\u2210","\\coprod"),R(k,Se,Me,"\u22C1","\\bigvee"),R(k,Se,Me,"\u22C0","\\bigwedge"),R(k,Se,Me,"\u2A04","\\biguplus"),R(k,Se,Me,"\u22C2","\\bigcap"),R(k,Se,Me,"\u22C3","\\bigcup"),R(k,Se,Me,"\u222B","\\int"),R(k,Se,Me,"\u222B","\\intop"),R(k,Se,Me,"\u222C","\\iint"),R(k,Se,Me,"\u222D","\\iiint"),R(k,Se,Me,"\u220F","\\prod"),R(k,Se,Me,"\u2211","\\sum"),R(k,Se,Me,"\u2A02","\\bigotimes"),R(k,Se,Me,"\u2A01","\\bigoplus"),R(k,Se,Me,"\u2A00","\\bigodot"),R(k,Se,Me,"\u222E","\\oint"),R(k,Se,Me,"\u222F","\\oiint"),R(k,Se,Me,"\u2230","\\oiiint"),R(k,Se,Me,"\u2A06","\\bigsqcup"),R(k,Se,Me,"\u222B","\\smallint"),R(bt,Se,Xe,"\u2026","\\textellipsis"),R(k,Se,Xe,"\u2026","\\mathellipsis"),R(bt,Se,Xe,"\u2026","\\ldots",!0),R(k,Se,Xe,"\u2026","\\ldots",!0),R(k,Se,Xe,"\u22EF","\\@cdots",!0),R(k,Se,Xe,"\u22F1","\\ddots",!0),R(k,Se,Ge,"\u22EE","\\varvdots"),R(k,Se,vn,"\u02CA","\\acute"),R(k,Se,vn,"\u02CB","\\grave"),R(k,Se,vn,"\xA8","\\ddot"),R(k,Se,vn,"~","\\tilde"),R(k,Se,vn,"\u02C9","\\bar"),R(k,Se,vn,"\u02D8","\\breve"),R(k,Se,vn,"\u02C7","\\check"),R(k,Se,vn,"^","\\hat"),R(k,Se,vn,"\u20D7","\\vec"),R(k,Se,vn,"\u02D9","\\dot"),R(k,Se,vn,"\u02DA","\\mathring"),R(k,Se,_e,"\u0131","\\imath",!0),R(k,Se,_e,"\u0237","\\jmath",!0),R(bt,Se,Ge,"\u0131","\\i",!0),R(bt,Se,Ge,"\u0237","\\j",!0),R(bt,Se,Ge,"\xDF","\\ss",!0),R(bt,Se,Ge,"\xE6","\\ae",!0),R(bt,Se,Ge,"\xE6","\\ae",!0),R(bt,Se,Ge,"\u0153","\\oe",!0),R(bt,Se,Ge,"\xF8","\\o",!0),R(bt,Se,Ge,"\xC6","\\AE",!0),R(bt,Se,Ge,"\u0152","\\OE",!0),R(bt,Se,Ge,"\xD8","\\O",!0),R(bt,Se,vn,"\u02CA","\\'"),R(bt,Se,vn,"\u02CB","\\`"),R(bt,Se,vn,"\u02C6","\\^"),R(bt,Se,vn,"\u02DC","\\~"),R(bt,Se,vn,"\u02C9","\\="),R(bt,Se,vn,"\u02D8","\\u"),R(bt,Se,vn,"\u02D9","\\."),R(bt,Se,vn,"\u02DA","\\r"),R(bt,Se,vn,"\u02C7","\\v"),R(bt,Se,vn,"\xA8",'\\"'),R(bt,Se,vn,"\u02DD","\\H"),R(bt,Se,vn,"\u25EF","\\textcircled");var En={"--":!0,"---":!0,"``":!0,"''":!0};R(bt,Se,Ge,"\u2013","--"),R(bt,Se,Ge,"\u2013","\\textendash"),R(bt,Se,Ge,"\u2014","---"),R(bt,Se,Ge,"\u2014","\\textemdash"),R(bt,Se,Ge,"\u2018","`"),R(bt,Se,Ge,"\u2018","\\textquoteleft"),R(bt,Se,Ge,"\u2019","'"),R(bt,Se,Ge,"\u2019","\\textquoteright"),R(bt,Se,Ge,"\u201C","``"),R(bt,Se,Ge,"\u201C","\\textquotedblleft"),R(bt,Se,Ge,"\u201D","''"),R(bt,Se,Ge,"\u201D","\\textquotedblright"),R(k,Se,Ge,"\xB0","\\degree",!0),R(bt,Se,Ge,"\xB0","\\degree"),R(bt,Se,Ge,"\xB0","\\textdegree",!0),R(k,Se,_e,"\xA3","\\pounds"),R(k,Se,_e,"\xA3","\\mathsterling",!0),R(bt,Se,_e,"\xA3","\\pounds"),R(bt,Se,_e,"\xA3","\\textsterling",!0),R(k,Ke,Ge,"\u2720","\\maltese"),R(bt,Ke,Ge,"\u2720","\\maltese"),R(bt,Se,rn,"\xA0","\\ "),R(bt,Se,rn,"\xA0"," "),R(bt,Se,rn,"\xA0","~");for(var Dn='0123456789/@."',tn=0;tn<Dn.length;tn++){var Wt=Dn.charAt(tn);R(k,Se,Ge,Wt,Wt)}for(var It='0123456789!@*()-=+[]<>|";:?/.,',Bt=0;Bt<It.length;Bt++){var We=It.charAt(Bt);R(bt,Se,Ge,We,We)}for(var _t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Et=0;Et<_t.length;Et++){var Be=_t.charAt(Et);R(k,Se,_e,Be,Be),R(bt,Se,Ge,Be,Be)}R(k,Ke,Ge,"C","\u2102"),R(bt,Ke,Ge,"C","\u2102"),R(k,Ke,Ge,"H","\u210D"),R(bt,Ke,Ge,"H","\u210D"),R(k,Ke,Ge,"N","\u2115"),R(bt,Ke,Ge,"N","\u2115"),R(k,Ke,Ge,"P","\u2119"),R(bt,Ke,Ge,"P","\u2119"),R(k,Ke,Ge,"Q","\u211A"),R(bt,Ke,Ge,"Q","\u211A"),R(k,Ke,Ge,"R","\u211D"),R(bt,Ke,Ge,"R","\u211D"),R(k,Ke,Ge,"Z","\u2124"),R(bt,Ke,Ge,"Z","\u2124"),R(k,Se,_e,"h","\u210E"),R(bt,Se,_e,"h","\u210E");for(var Re="",pt=0;pt<_t.length;pt++){var mt=_t.charAt(pt);Re=String.fromCharCode(55349,56320+pt),R(k,Se,_e,mt,Re),R(bt,Se,Ge,mt,Re),Re=String.fromCharCode(55349,56372+pt),R(k,Se,_e,mt,Re),R(bt,Se,Ge,mt,Re),Re=String.fromCharCode(55349,56424+pt),R(k,Se,_e,mt,Re),R(bt,Se,Ge,mt,Re),Re=String.fromCharCode(55349,56580+pt),R(k,Se,_e,mt,Re),R(bt,Se,Ge,mt,Re),Re=String.fromCharCode(55349,56736+pt),R(k,Se,_e,mt,Re),R(bt,Se,Ge,mt,Re),Re=String.fromCharCode(55349,56788+pt),R(k,Se,_e,mt,Re),R(bt,Se,Ge,mt,Re),Re=String.fromCharCode(55349,56840+pt),R(k,Se,_e,mt,Re),R(bt,Se,Ge,mt,Re),Re=String.fromCharCode(55349,56944+pt),R(k,Se,_e,mt,Re),R(bt,Se,Ge,mt,Re),pt<26&&(Re=String.fromCharCode(55349,56632+pt),R(k,Se,_e,mt,Re),R(bt,Se,Ge,mt,Re),Re=String.fromCharCode(55349,56476+pt),R(k,Se,_e,mt,Re),R(bt,Se,Ge,mt,Re))}Re="\u{1D55C}",R(k,Se,_e,"k",Re),R(bt,Se,Ge,"k",Re);for(var Ft=0;Ft<10;Ft++){var Ht=Ft.toString();Re=String.fromCharCode(55349,57294+Ft),R(k,Se,_e,Ht,Re),R(bt,Se,Ge,Ht,Re),Re=String.fromCharCode(55349,57314+Ft),R(k,Se,_e,Ht,Re),R(bt,Se,Ge,Ht,Re),Re=String.fromCharCode(55349,57324+Ft),R(k,Se,_e,Ht,Re),R(bt,Se,Ge,Ht,Re),Re=String.fromCharCode(55349,57334+Ft),R(k,Se,_e,Ht,Re),R(bt,Se,Ge,Ht,Re)}for(var sn="\xC7\xD0\xDE\xE7\xFE",Yt=0;Yt<sn.length;Yt++){var ln=sn.charAt(Yt);R(k,Se,_e,ln,ln),R(bt,Se,Ge,ln,ln)}R(bt,Se,Ge,"\xF0","\xF0"),R(bt,Se,Ge,"\u2013","\u2013"),R(bt,Se,Ge,"\u2014","\u2014"),R(bt,Se,Ge,"\u2018","\u2018"),R(bt,Se,Ge,"\u2019","\u2019"),R(bt,Se,Ge,"\u201C","\u201C"),R(bt,Se,Ge,"\u201D","\u201D");var mn=[["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"]],An=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Zt=function(l,d){var p=l.charCodeAt(0),x=l.charCodeAt(1),N=(p-55296)*1024+(x-56320)+65536,ue=d==="math"?0:1;if(119808<=N&&N<120484){var ke=Math.floor((N-119808)/26);return[mn[ke][2],mn[ke][ue]]}else if(120782<=N&&N<=120831){var ze=Math.floor((N-120782)/10);return[An[ze][2],An[ze][ue]]}else{if(N===120485||N===120486)return[mn[0][2],mn[0][ue]];if(120486<N&&N<120782)return["",""];throw new m("Unsupported character: "+l)}},Xt=[[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]],on=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],gn=function(l,d){return d.size<2?l:Xt[l-1][d.size-1]},fn=function(){function se(d){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=d.style,this.color=d.color,this.size=d.size||se.BASESIZE,this.textSize=d.textSize||this.size,this.phantom=!!d.phantom,this.font=d.font||"",this.fontFamily=d.fontFamily||"",this.fontWeight=d.fontWeight||"",this.fontShape=d.fontShape||"",this.sizeMultiplier=on[this.size-1],this.maxSize=d.maxSize,this.minRuleThickness=d.minRuleThickness,this._fontMetrics=void 0}var l=se.prototype;return l.extend=function(p){var x={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 N in p)p.hasOwnProperty(N)&&(x[N]=p[N]);return new se(x)},l.havingStyle=function(p){return this.style===p?this:this.extend({style:p,size:gn(this.textSize,p)})},l.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},l.havingSize=function(p){return this.size===p&&this.textSize===p?this:this.extend({style:this.style.text(),size:p,textSize:p,sizeMultiplier:on[p-1]})},l.havingBaseStyle=function(p){p=p||this.style.text();var x=gn(se.BASESIZE,p);return this.size===x&&this.textSize===se.BASESIZE&&this.style===p?this:this.extend({style:p,size:x})},l.havingBaseSizing=function(){var p;switch(this.style.id){case 4:case 5:p=3;break;case 6:case 7:p=1;break;default:p=6}return this.extend({style:this.style.text(),size:p})},l.withColor=function(p){return this.extend({color:p})},l.withPhantom=function(){return this.extend({phantom:!0})},l.withFont=function(p){return this.extend({font:p})},l.withTextFontFamily=function(p){return this.extend({fontFamily:p,font:""})},l.withTextFontWeight=function(p){return this.extend({fontWeight:p,font:""})},l.withTextFontShape=function(p){return this.extend({fontShape:p,font:""})},l.sizingClasses=function(p){return p.size!==this.size?["sizing","reset-size"+p.size,"size"+this.size]:[]},l.baseSizingClasses=function(){return this.size!==se.BASESIZE?["sizing","reset-size"+this.size,"size"+se.BASESIZE]:[]},l.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=xt(this.size)),this._fontMetrics},l.getColor=function(){return this.phantom?"transparent":this.color},se}();fn.BASESIZE=6;var Qn=fn,kn={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},cn={ex:!0,em:!0,mu:!0},ht=function(l){return typeof l!="string"&&(l=l.unit),l in kn||l in cn||l==="ex"},yt=function(l,d){var p;if(l.unit in kn)p=kn[l.unit]/d.fontMetrics().ptPerEm/d.sizeMultiplier;else if(l.unit==="mu")p=d.fontMetrics().cssEmPerMu;else{var x;if(d.style.isTight()?x=d.havingStyle(d.style.text()):x=d,l.unit==="ex")p=x.fontMetrics().xHeight;else if(l.unit==="em")p=x.fontMetrics().quad;else throw new m("Invalid unit: '"+l.unit+"'");x!==d&&(p*=x.sizeMultiplier/d.sizeMultiplier)}return Math.min(l.number*p,d.maxSize)},Dt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],jt=function(l,d,p){return Kt[p][l]&&Kt[p][l].replace&&(l=Kt[p][l].replace),{value:l,metrics:Ze(l,d,p)}},Ut=function(l,d,p,x,N){var ue=jt(l,d,p),ke=ue.metrics;l=ue.value;var ze;if(ke){var nt=ke.italic;(p==="text"||x&&x.font==="mathit")&&(nt=0),ze=new T(l,ke.height,ke.depth,nt,ke.skew,ke.width,N)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+l+"' in style '"+d+"' and mode '"+p+"'")),ze=new T(l,0,0,0,0,0,N);if(x){ze.maxFontSize=x.sizeMultiplier,x.style.isTight()&&ze.classes.push("mtight");var vt=x.getColor();vt&&(ze.style.color=vt)}return ze},dn=function(l,d,p,x){return x===void 0&&(x=[]),p.font==="boldsymbol"&&jt(l,"Main-Bold",d).metrics?Ut(l,"Main-Bold",d,p,x.concat(["mathbf"])):l==="\\"||Kt[d][l].font==="main"?Ut(l,"Main-Regular",d,p,x):Ut(l,"AMS-Regular",d,p,x.concat(["amsrm"]))},Gt=function(l,d,p,x){return/[0-9]/.test(l.charAt(0))||B.contains(Dt,l)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},yn=function(l,d,p,x){return B.contains(Dt,l)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(l.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Tn=function(l,d,p,x){return jt(l,"Math-BoldItalic",d).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Ln=function(l,d,p){var x=l.mode,N=l.text,ue=["mord"],ke=x==="math"||x==="text"&&d.font,ze=ke?d.font:d.fontFamily;if(N.charCodeAt(0)===55349){var nt=Zt(N,x),vt=nt[0],Lt=nt[1];return Ut(N,vt,x,d,ue.concat(Lt))}else if(ze){var qt,Cn;if(ze==="boldsymbol"||ze==="mathnormal"){var en=ze==="boldsymbol"?Tn(N,x,d,ue):yn(N,x,d,ue);qt=en.fontName,Cn=[en.fontClass]}else B.contains(Dt,N)?(qt="Main-Italic",Cn=["mathit"]):ke?(qt=ei[ze].fontName,Cn=[ze]):(qt=Pr(ze,d.fontWeight,d.fontShape),Cn=[ze,d.fontWeight,d.fontShape]);if(jt(N,qt,x).metrics)return Ut(N,qt,x,d,ue.concat(Cn));if(En.hasOwnProperty(N)&&qt.substr(0,10)==="Typewriter"){for(var Je=[],xn=0;xn<N.length;xn++)Je.push(Ut(N[xn],qt,x,d,ue.concat(Cn)));return Dr(Je)}}if(p==="mathord"){var Fn=Gt(N,x,d,ue);return Ut(N,Fn.fontName,x,d,ue.concat([Fn.fontClass]))}else if(p==="textord"){var cr=Kt[x][N]&&Kt[x][N].font;if(cr==="ams"){var Pn=Pr("amsrm",d.fontWeight,d.fontShape);return Ut(N,Pn,x,d,ue.concat("amsrm",d.fontWeight,d.fontShape))}else if(cr==="main"||!cr){var dr=Pr("textrm",d.fontWeight,d.fontShape);return Ut(N,dr,x,d,ue.concat(d.fontWeight,d.fontShape))}else{var Tr=Pr(cr,d.fontWeight,d.fontShape);return Ut(N,Tr,x,d,ue.concat(Tr,d.fontWeight,d.fontShape))}}else throw new Error("unexpected type: "+p+" in makeOrd")},qn=function(l,d){if(lt(l.classes)!==lt(d.classes)||l.skew!==d.skew||l.maxFontSize!==d.maxFontSize)return!1;for(var p in l.style)if(l.style.hasOwnProperty(p)&&l.style[p]!==d.style[p])return!1;for(var x in d.style)if(d.style.hasOwnProperty(x)&&l.style[x]!==d.style[x])return!1;return!0},Vn=function(l){for(var d=0;d<l.length-1;d++){var p=l[d],x=l[d+1];p instanceof T&&x instanceof T&&qn(p,x)&&(p.text+=x.text,p.height=Math.max(p.height,x.height),p.depth=Math.max(p.depth,x.depth),p.italic=x.italic,l.splice(d+1,1),d--)}return l},fr=function(l){for(var d=0,p=0,x=0,N=0;N<l.children.length;N++){var ue=l.children[N];ue.height>d&&(d=ue.height),ue.depth>p&&(p=ue.depth),ue.maxFontSize>x&&(x=ue.maxFontSize)}l.height=d,l.depth=p,l.maxFontSize=x},Rn=function(l,d,p,x){var N=new G(l,d,p,x);return fr(N),N},In=function(l,d,p,x){return new G(l,d,p,x)},mr=function(l,d,p){var x=Rn([l],[],d);return x.height=Math.max(p||d.fontMetrics().defaultRuleThickness,d.minRuleThickness),x.style.borderBottomWidth=x.height+"em",x.maxFontSize=1,x},gr=function(l,d,p,x){var N=new U(l,d,p,x);return fr(N),N},Dr=function(l){var d=new Nt(l);return fr(d),d},ar=function(l,d){return l instanceof Nt?Rn([],[l],d):l},sr=function(l){if(l.positionType==="individualShift"){for(var d=l.children,p=[d[0]],x=-d[0].shift-d[0].elem.depth,N=x,ue=1;ue<d.length;ue++){var ke=-d[ue].shift-N-d[ue].elem.depth,ze=ke-(d[ue-1].elem.height+d[ue-1].elem.depth);N=N+ke,p.push({type:"kern",size:ze}),p.push(d[ue])}return{children:p,depth:x}}var nt;if(l.positionType==="top"){for(var vt=l.positionData,Lt=0;Lt<l.children.length;Lt++){var qt=l.children[Lt];vt-=qt.type==="kern"?qt.size:qt.elem.height+qt.elem.depth}nt=vt}else if(l.positionType==="bottom")nt=-l.positionData;else{var Cn=l.children[0];if(Cn.type!=="elem")throw new Error('First child must have type "elem".');if(l.positionType==="shift")nt=-Cn.elem.depth-l.positionData;else if(l.positionType==="firstBaseline")nt=-Cn.elem.depth;else throw new Error("Invalid positionType "+l.positionType+".")}return{children:l.children,depth:nt}},wr=function(l,d){for(var p=sr(l),x=p.children,N=p.depth,ue=0,ke=0;ke<x.length;ke++){var ze=x[ke];if(ze.type==="elem"){var nt=ze.elem;ue=Math.max(ue,nt.maxFontSize,nt.height)}}ue+=2;var vt=Rn(["pstrut"],[]);vt.style.height=ue+"em";for(var Lt=[],qt=N,Cn=N,en=N,Je=0;Je<x.length;Je++){var xn=x[Je];if(xn.type==="kern")en+=xn.size;else{var Fn=xn.elem,cr=xn.wrapperClasses||[],Pn=xn.wrapperStyle||{},dr=Rn(cr,[vt,Fn],void 0,Pn);dr.style.top=-ue-en-Fn.depth+"em",xn.marginLeft&&(dr.style.marginLeft=xn.marginLeft),xn.marginRight&&(dr.style.marginRight=xn.marginRight),Lt.push(dr),en+=Fn.height+Fn.depth}qt=Math.min(qt,en),Cn=Math.max(Cn,en)}var Tr=Rn(["vlist"],Lt);Tr.style.height=Cn+"em";var Rr;if(qt<0){var fi=Rn([],[]),hi=Rn(["vlist"],[fi]);hi.style.height=-qt+"em";var ki=Rn(["vlist-s"],[new T("\u200B")]);Rr=[Rn(["vlist-r"],[Tr,ki]),Rn(["vlist-r"],[hi])]}else Rr=[Rn(["vlist-r"],[Tr])];var ci=Rn(["vlist-t"],Rr);return Rr.length===2&&ci.classes.push("vlist-t2"),ci.height=Cn,ci.depth=-qt,ci},ir=function(l,d){var p=Rn(["mspace"],[],d),x=yt(l,d);return p.style.marginRight=x+"em",p},Pr=function(l,d,p){var x="";switch(l){case"amsrm":x="AMS";break;case"textrm":x="Main";break;case"textsf":x="SansSerif";break;case"texttt":x="Typewriter";break;default:x=l}var N;return d==="textbf"&&p==="textit"?N="BoldItalic":d==="textbf"?N="Bold":d==="textit"?N="Italic":N="Regular",x+"-"+N},ei={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"}},er={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Hn=function(l,d){var p=er[l],x=p[0],N=p[1],ue=p[2],ke=new ne(x),ze=new I([ke],{width:N+"em",height:ue+"em",style:"width:"+N+"em",viewBox:"0 0 "+1e3*N+" "+1e3*ue,preserveAspectRatio:"xMinYMin"}),nt=In(["overlay"],[ze],d);return nt.height=ue,nt.style.height=ue+"em",nt.style.width=N+"em",nt},gt={fontMap:ei,makeSymbol:Ut,mathsym:dn,makeSpan:Rn,makeSvgSpan:In,makeLineSpan:mr,makeAnchor:gr,makeFragment:Dr,wrapFragment:ar,makeVList:wr,makeOrd:Ln,makeGlue:ir,staticSvg:Hn,svgData:er,tryCombineChars:Vn};function Bn(se,l){var d=lr(se,l);if(!d)throw new Error("Expected node of type "+l+", but got "+(se?"node of type "+se.type:String(se)));return d}function lr(se,l){return se&&se.type===l?se:null}function nr(se,l){var d=Fr(se,l);if(!d)throw new Error('Expected node of type "atom" and family "'+l+'", but got '+(se?se.type==="atom"?"atom of family "+se.family:"node of type "+se.type:String(se)));return d}function Fr(se,l){return se&&se.type==="atom"&&se.family===l?se:null}function zr(se){var l=Zr(se);if(!l)throw new Error("Expected node of symbol group type, but got "+(se?"node of type "+se.type:String(se)));return l}function Zr(se){return se&&(se.type==="atom"||ft.hasOwnProperty(se.type))?se:null}var hr={number:3,unit:"mu"},Yr={number:4,unit:"mu"},jn={number:5,unit:"mu"},On={mord:{mop:hr,mbin:Yr,mrel:jn,minner:hr},mop:{mord:hr,mop:hr,mrel:jn,minner:hr},mbin:{mord:Yr,mop:Yr,mopen:Yr,minner:Yr},mrel:{mord:jn,mop:jn,mopen:jn,minner:jn},mopen:{},mclose:{mop:hr,mbin:Yr,mrel:jn,minner:hr},mpunct:{mord:hr,mop:hr,mrel:jn,mopen:hr,mclose:hr,mpunct:hr,minner:hr},minner:{mord:hr,mop:hr,mbin:Yr,mrel:jn,mopen:hr,mpunct:hr,minner:hr}},Er={mord:{mop:hr},mop:{mord:hr,mop:hr},mbin:{},mrel:{},mopen:{},mclose:{mop:hr},mpunct:{},minner:{mop:hr}},Or={},ti={},Ii={};function Gn(se){for(var l=se.type,d=se.names,p=se.props,x=se.handler,N=se.htmlBuilder,ue=se.mathmlBuilder,ke={type:l,numArgs:p.numArgs,argTypes:p.argTypes,greediness:p.greediness===void 0?1:p.greediness,allowedInText:!!p.allowedInText,allowedInMath:p.allowedInMath===void 0?!0:p.allowedInMath,numOptionalArgs:p.numOptionalArgs||0,infix:!!p.infix,handler:x},ze=0;ze<d.length;++ze)Or[d[ze]]=ke;l&&(N&&(ti[l]=N),ue&&(Ii[l]=ue))}function ri(se){var l=se.type,d=se.htmlBuilder,p=se.mathmlBuilder;Gn({type:l,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:d,mathmlBuilder:p})}var Qr=function(l){var d=lr(l,"ordgroup");return d?d.body:[l]},di=gt.makeSpan,Oi=["leftmost","mbin","mopen","mrel","mop","mpunct"],bi=["rightmost","mrel","mclose","mpunct"],ii={display:v.DISPLAY,text:v.TEXT,script:v.SCRIPT,scriptscript:v.SCRIPTSCRIPT},Ci={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},oi=function(l,d,p,x){x===void 0&&(x=[null,null]);for(var N=[],ue=0;ue<l.length;ue++){var ke=$r(l[ue],d);if(ke instanceof Nt){var ze=ke.children;N.push.apply(N,ze)}else N.push(ke)}if(!p)return N;var nt=d;if(l.length===1){var vt=lr(l[0],"sizing")||lr(l[0],"styling");vt&&(vt.type==="sizing"?nt=d.havingSize(vt.size):vt.type==="styling"&&(nt=d.havingStyle(ii[vt.style])))}var Lt=di([x[0]||"leftmost"],[],d),qt=di([x[1]||"rightmost"],[],d);return Bi(N,function(Cn,en){var Je=en.classes[0],xn=Cn.classes[0];Je==="mbin"&&B.contains(bi,xn)?en.classes[0]="mord":xn==="mbin"&&B.contains(Oi,Je)&&(Cn.classes[0]="mord")},{node:Lt},qt),Bi(N,function(Cn,en){var Je=Hi(en),xn=Hi(Cn),Fn=Je&&xn?Cn.hasClass("mtight")?Er[Je][xn]:On[Je][xn]:null;if(Fn)return gt.makeGlue(Fn,nt)},{node:Lt},qt),N},Bi=function se(l,d,p,x){x&&l.push(x);for(var N=0;N<l.length;N++){var ue=l[N],ke=Cr(ue);if(ke){se(ke.children,d,p);continue}if(ue.classes[0]!=="mspace"){var ze=d(ue,p.node);ze&&(p.insertAfter?p.insertAfter(ze):(l.unshift(ze),N++)),p.node=ue,p.insertAfter=function(nt){return function(vt){l.splice(nt+1,0,vt),N++}}(N)}}x&&l.pop()},Cr=function(l){return l instanceof Nt||l instanceof U?l:null},Yi=function se(l,d){var p=Cr(l);if(p){var x=p.children;if(x.length){if(d==="right")return se(x[x.length-1],"right");if(d==="left")return se(x[0],"left")}}return l},Hi=function(l,d){return l?(d&&(l=Yi(l,d)),Ci[l.classes[0]]||null):null},Qi=function(l,d){var p=["nulldelimiter"].concat(l.baseSizingClasses());return di(d.concat(p))},$r=function(l,d,p){if(!l)return di();if(ti[l.type]){var x=ti[l.type](l,d);if(p&&d.size!==p.size){x=di(d.sizingClasses(p),[x],d);var N=d.sizeMultiplier/p.sizeMultiplier;x.height*=N,x.depth*=N}return x}else throw new m("Got group of unknown type: '"+l.type+"'")};function ca(se,l){var d=di(["base"],se,l),p=di(["strut"]);return p.style.height=d.height+d.depth+"em",p.style.verticalAlign=-d.depth+"em",d.children.unshift(p),d}function ma(se,l){var d=null;se.length===1&&se[0].type==="tag"&&(d=se[0].tag,se=se[0].body);for(var p=oi(se,l,!0),x=[],N=[],ue=0;ue<p.length;ue++)if(N.push(p[ue]),p[ue].hasClass("mbin")||p[ue].hasClass("mrel")||p[ue].hasClass("allowbreak")){for(var ke=!1;ue<p.length-1&&p[ue+1].hasClass("mspace")&&!p[ue+1].hasClass("newline");)ue++,N.push(p[ue]),p[ue].hasClass("nobreak")&&(ke=!0);ke||(x.push(ca(N,l)),N=[])}else p[ue].hasClass("newline")&&(N.pop(),N.length>0&&(x.push(ca(N,l)),N=[]),x.push(p[ue]));N.length>0&&x.push(ca(N,l));var ze;d&&(ze=ca(oi(d,l,!0)),ze.classes=["tag"],x.push(ze));var nt=di(["katex-html"],x);if(nt.setAttribute("aria-hidden","true"),ze){var vt=ze.children[0];vt.style.height=nt.height+nt.depth+"em",vt.style.verticalAlign=-nt.depth+"em"}return nt}function ua(se){return new Nt(se)}var Mr=function(){function se(d,p){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=d,this.attributes={},this.children=p||[]}var l=se.prototype;return l.setAttribute=function(p,x){this.attributes[p]=x},l.getAttribute=function(p){return this.attributes[p]},l.toNode=function(){var p=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var x in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,x)&&p.setAttribute(x,this.attributes[x]);for(var N=0;N<this.children.length;N++)p.appendChild(this.children[N].toNode());return p},l.toMarkup=function(){var p="<"+this.type;for(var x in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,x)&&(p+=" "+x+'="',p+=B.escape(this.attributes[x]),p+='"');p+=">";for(var N=0;N<this.children.length;N++)p+=this.children[N].toMarkup();return p+="</"+this.type+">",p},l.toText=function(){return this.children.map(function(p){return p.toText()}).join("")},se}(),da=function(){function se(d){this.text=void 0,this.text=d}var l=se.prototype;return l.toNode=function(){return document.createTextNode(this.text)},l.toMarkup=function(){return B.escape(this.toText())},l.toText=function(){return this.text},se}(),wa=function(){function se(d){this.width=void 0,this.character=void 0,this.width=d,d>=.05555&&d<=.05556?this.character="\u200A":d>=.1666&&d<=.1667?this.character="\u2009":d>=.2222&&d<=.2223?this.character="\u2005":d>=.2777&&d<=.2778?this.character="\u2005\u200A":d>=-.05556&&d<=-.05555?this.character="\u200A\u2063":d>=-.1667&&d<=-.1666?this.character="\u2009\u2063":d>=-.2223&&d<=-.2222?this.character="\u205F\u2063":d>=-.2778&&d<=-.2777?this.character="\u2005\u2063":this.character=null}var l=se.prototype;return l.toNode=function(){if(this.character)return document.createTextNode(this.character);var p=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return p.setAttribute("width",this.width+"em"),p},l.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},l.toText=function(){return this.character?this.character:" "},se}(),Mn={MathNode:Mr,TextNode:da,SpaceNode:wa,newDocumentFragment:ua},Ui=function(l,d,p){return Kt[d][l]&&Kt[d][l].replace&&l.charCodeAt(0)!==55349&&!(En.hasOwnProperty(l)&&p&&(p.fontFamily&&p.fontFamily.substr(4,2)==="tt"||p.font&&p.font.substr(4,2)==="tt"))&&(l=Kt[d][l].replace),new Mn.TextNode(l)},ia=function(l){return l.length===1?l[0]:new Mn.MathNode("mrow",l)},vr=function(l,d){if(d.fontFamily==="texttt")return"monospace";if(d.fontFamily==="textsf")return d.fontShape==="textit"&&d.fontWeight==="textbf"?"sans-serif-bold-italic":d.fontShape==="textit"?"sans-serif-italic":d.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(d.fontShape==="textit"&&d.fontWeight==="textbf")return"bold-italic";if(d.fontShape==="textit")return"italic";if(d.fontWeight==="textbf")return"bold";var p=d.font;if(!p||p==="mathnormal")return null;var x=l.mode;if(p==="mathit")return"italic";if(p==="boldsymbol")return"bold-italic";if(p==="mathbf")return"bold";if(p==="mathbb")return"double-struck";if(p==="mathfrak")return"fraktur";if(p==="mathscr"||p==="mathcal")return"script";if(p==="mathsf")return"sans-serif";if(p==="mathtt")return"monospace";var N=l.text;if(B.contains(["\\imath","\\jmath"],N))return null;Kt[x][N]&&Kt[x][N].replace&&(N=Kt[x][N].replace);var ue=gt.fontMap[p].fontName;return Ze(N,ue,x)?gt.fontMap[p].variant:null},xr=function(l,d,p){if(l.length===1){var x=Jn(l[0],d);return p&&x instanceof Mr&&x.type==="mo"&&(x.setAttribute("lspace","0em"),x.setAttribute("rspace","0em")),[x]}for(var N=[],ue,ke=0;ke<l.length;ke++){var ze=Jn(l[ke],d);if(ze instanceof Mr&&ue instanceof Mr){if(ze.type==="mtext"&&ue.type==="mtext"&&ze.getAttribute("mathvariant")===ue.getAttribute("mathvariant")){var nt;(nt=ue.children).push.apply(nt,ze.children);continue}else if(ze.type==="mn"&&ue.type==="mn"){var vt;(vt=ue.children).push.apply(vt,ze.children);continue}else if(ze.type==="mi"&&ze.children.length===1&&ue.type==="mn"){var Lt=ze.children[0];if(Lt instanceof da&&Lt.text==="."){var qt;(qt=ue.children).push.apply(qt,ze.children);continue}}else if(ue.type==="mi"&&ue.children.length===1){var Cn=ue.children[0];if(Cn instanceof da&&Cn.text==="\u0338"&&(ze.type==="mo"||ze.type==="mi"||ze.type==="mn")){var en=ze.children[0];en instanceof da&&en.text.length>0&&(en.text=en.text.slice(0,1)+"\u0338"+en.text.slice(1),N.pop())}}}N.push(ze),ue=ze}return N},ur=function(l,d,p){return ia(xr(l,d,p))},Jn=function(l,d){if(!l)return new Mn.MathNode("mrow");if(Ii[l.type]){var p=Ii[l.type](l,d);return p}else throw new m("Got group of unknown type: '"+l.type+"'")};function Hr(se,l,d,p){var x=xr(se,d),N;x.length===1&&x[0]instanceof Mr&&B.contains(["mrow","mtable"],x[0].type)?N=x[0]:N=new Mn.MathNode("mrow",x);var ue=new Mn.MathNode("annotation",[new Mn.TextNode(l)]);ue.setAttribute("encoding","application/x-tex");var ke=new Mn.MathNode("semantics",[N,ue]),ze=new Mn.MathNode("math",[ke]);ze.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var nt=p?"katex":"katex-mathml";return gt.makeSpan([nt],[ze])}var ai=function(l){return new Qn({style:l.displayMode?v.DISPLAY:v.TEXT,maxSize:l.maxSize,minRuleThickness:l.minRuleThickness})},ji=function(l,d){if(d.displayMode){var p=["katex-display"];d.leqno&&p.push("leqno"),d.fleqn&&p.push("fleqn"),l=gt.makeSpan(p,[l])}return l},Pi=function(l,d,p){var x=ai(p),N;if(p.output==="mathml")return Hr(l,d,x,!0);if(p.output==="html"){var ue=ma(l,x);N=gt.makeSpan(["katex"],[ue])}else{var ke=Hr(l,d,x,!1),ze=ma(l,x);N=gt.makeSpan(["katex"],[ke,ze])}return ji(N,p)},Ti=function(l,d,p){var x=ai(p),N=ma(l,x),ue=gt.makeSpan(["katex"],[N]);return ji(ue,p)},Br=Pi,Ni={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"},Ca=function(l){var d=new Mn.MathNode("mo",[new Mn.TextNode(Ni[l.substr(1)])]);return d.setAttribute("stretchy","true"),d},Na={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]},fa=function(l){return l.type==="ordgroup"?l.body.length:1},sa=function(l,d){function p(){var ze=4e5,nt=l.label.substr(1);if(B.contains(["widehat","widecheck","widetilde","utilde"],nt)){var vt=l,Lt=fa(vt.base),qt,Cn,en;if(Lt>5)nt==="widehat"||nt==="widecheck"?(qt=420,ze=2364,en=.42,Cn=nt+"4"):(qt=312,ze=2340,en=.34,Cn="tilde4");else{var Je=[1,1,2,2,3,3][Lt];nt==="widehat"||nt==="widecheck"?(ze=[0,1062,2364,2364,2364][Je],qt=[0,239,300,360,420][Je],en=[0,.24,.3,.3,.36,.42][Je],Cn=nt+Je):(ze=[0,600,1033,2339,2340][Je],qt=[0,260,286,306,312][Je],en=[0,.26,.286,.3,.306,.34][Je],Cn="tilde"+Je)}var xn=new ne(Cn),Fn=new I([xn],{width:"100%",height:en+"em",viewBox:"0 0 "+ze+" "+qt,preserveAspectRatio:"none"});return{span:gt.makeSvgSpan([],[Fn],d),minWidth:0,height:en}}else{var cr=[],Pn=Na[nt],dr=Pn[0],Tr=Pn[1],Rr=Pn[2],fi=Rr/1e3,hi=dr.length,ki,ci;if(hi===1){var pi=Pn[3];ki=["hide-tail"],ci=[pi]}else if(hi===2)ki=["halfarrow-left","halfarrow-right"],ci=["xMinYMin","xMaxYMin"];else if(hi===3)ki=["brace-left","brace-center","brace-right"],ci=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+hi+" children.");for(var yi=0;yi<hi;yi++){var Di=new ne(dr[yi]),ya=new I([Di],{width:"400em",height:fi+"em",viewBox:"0 0 "+ze+" "+Rr,preserveAspectRatio:ci[yi]+" slice"}),Gr=gt.makeSvgSpan([ki[yi]],[ya],d);if(hi===1)return{span:Gr,minWidth:Tr,height:fi};Gr.style.height=fi+"em",cr.push(Gr)}return{span:gt.makeSpan(["stretchy"],cr,d),minWidth:Tr,height:fi}}}var x=p(),N=x.span,ue=x.minWidth,ke=x.height;return N.height=ke,N.style.height=ke+"em",ue>0&&(N.style.minWidth=ue+"em"),N},or=function(l,d,p,x){var N,ue=l.height+l.depth+2*p;if(/fbox|color/.test(d)){if(N=gt.makeSpan(["stretchy",d],[],x),d==="fbox"){var ke=x.color&&x.getColor();ke&&(N.style.borderColor=ke)}}else{var ze=[];/^[bx]cancel$/.test(d)&&ze.push(new $({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(d)&&ze.push(new $({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var nt=new I(ze,{width:"100%",height:ue+"em"});N=gt.makeSvgSpan([],[nt],x)}return N.height=ue,N.style.height=ue+"em",N},Lr={encloseSpan:or,mathMLnode:Ca,svgSpan:sa},Si=function(l,d){var p,x,N=lr(l,"supsub"),ue;N?(x=Bn(N.base,"accent"),p=x.base,N.base=p,ue=Te($r(N,d)),N.base=x):(x=Bn(l,"accent"),p=x.base);var ke=$r(p,d.havingCrampedStyle()),ze=x.isShifty&&B.isCharacterBox(p),nt=0;if(ze){var vt=B.getBaseElem(p),Lt=$r(vt,d.havingCrampedStyle());nt=V(Lt).skew}var qt=Math.min(ke.height,d.fontMetrics().xHeight),Cn;if(x.isStretchy)Cn=Lr.svgSpan(x,d),Cn=gt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ke},{type:"elem",elem:Cn,wrapperClasses:["svg-align"],wrapperStyle:nt>0?{width:"calc(100% - "+2*nt+"em)",marginLeft:2*nt+"em"}:void 0}]},d);else{var en,Je;x.label==="\\vec"?(en=gt.staticSvg("vec",d),Je=gt.svgData.vec[1]):(en=gt.makeOrd({mode:x.mode,text:x.label},d,"textord"),en=V(en),en.italic=0,Je=en.width),Cn=gt.makeSpan(["accent-body"],[en]);var xn=x.label==="\\textcircled";xn&&(Cn.classes.push("accent-full"),qt=ke.height);var Fn=nt;xn||(Fn-=Je/2),Cn.style.left=Fn+"em",x.label==="\\textcircled"&&(Cn.style.top=".2em"),Cn=gt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ke},{type:"kern",size:-qt},{type:"elem",elem:Cn}]},d)}var cr=gt.makeSpan(["mord","accent"],[Cn],d);return ue?(ue.children[0]=cr,ue.height=Math.max(cr.height,ue.height),ue.classes[0]="mord",ue):cr},Wi=function(l,d){var p=l.isStretchy?Lr.mathMLnode(l.label):new Mn.MathNode("mo",[Ui(l.label,l.mode)]),x=new Mn.MathNode("mover",[Jn(l.base,d),p]);return x.setAttribute("accent","true"),x},gi=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(se){return"\\"+se}).join("|"));Gn({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(l,d){var p=d[0],x=!gi.test(l.funcName),N=!x||l.funcName==="\\widehat"||l.funcName==="\\widetilde"||l.funcName==="\\widecheck";return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:x,isShifty:N,base:p}},htmlBuilder:Si,mathmlBuilder:Wi}),Gn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(l,d){var p=d[0];return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:!1,isShifty:!0,base:p}},htmlBuilder:Si,mathmlBuilder:Wi}),Gn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(l,d){var p=l.parser,x=l.funcName,N=d[0];return{type:"accentUnder",mode:p.mode,label:x,base:N}},htmlBuilder:function(l,d){var p=$r(l.base,d),x=Lr.svgSpan(l,d),N=l.label==="\\utilde"?.12:0,ue=gt.makeVList({positionType:"bottom",positionData:x.height+N,children:[{type:"elem",elem:x,wrapperClasses:["svg-align"]},{type:"kern",size:N},{type:"elem",elem:p}]},d);return gt.makeSpan(["mord","accentunder"],[ue],d)},mathmlBuilder:function(l,d){var p=Lr.mathMLnode(l.label),x=new Mn.MathNode("munder",[Jn(l.base,d),p]);return x.setAttribute("accentunder","true"),x}});var ga=function(l){var d=new Mn.MathNode("mpadded",l?[l]:[]);return d.setAttribute("width","+0.6em"),d.setAttribute("lspace","0.3em"),d};Gn({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(l,d,p){var x=l.parser,N=l.funcName;return{type:"xArrow",mode:x.mode,label:N,body:d[0],below:p[0]}},htmlBuilder:function(l,d){var p=d.style,x=d.havingStyle(p.sup()),N=gt.wrapFragment($r(l.body,x,d),d);N.classes.push("x-arrow-pad");var ue;l.below&&(x=d.havingStyle(p.sub()),ue=gt.wrapFragment($r(l.below,x,d),d),ue.classes.push("x-arrow-pad"));var ke=Lr.svgSpan(l,d),ze=-d.fontMetrics().axisHeight+.5*ke.height,nt=-d.fontMetrics().axisHeight-.5*ke.height-.111;(N.depth>.25||l.label==="\\xleftequilibrium")&&(nt-=N.depth);var vt;if(ue){var Lt=-d.fontMetrics().axisHeight+ue.height+.5*ke.height+.111;vt=gt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:nt},{type:"elem",elem:ke,shift:ze},{type:"elem",elem:ue,shift:Lt}]},d)}else vt=gt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:nt},{type:"elem",elem:ke,shift:ze}]},d);return vt.children[0].children[0].children[1].classes.push("svg-align"),gt.makeSpan(["mrel","x-arrow"],[vt],d)},mathmlBuilder:function(l,d){var p=Lr.mathMLnode(l.label),x;if(l.body){var N=ga(Jn(l.body,d));if(l.below){var ue=ga(Jn(l.below,d));x=new Mn.MathNode("munderover",[p,ue,N])}else x=new Mn.MathNode("mover",[p,N])}else if(l.below){var ke=ga(Jn(l.below,d));x=new Mn.MathNode("munder",[p,ke])}else x=ga(),x=new Mn.MathNode("mover",[p,x]);return x}}),Gn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){for(var p=l.parser,x=Bn(d[0],"ordgroup"),N=x.body,ue="",ke=0;ke<N.length;ke++){var ze=Bn(N[ke],"textord");ue+=ze.text}var nt=parseInt(ue);if(isNaN(nt))throw new m("\\@char has non-numeric argument "+ue);return{type:"textord",mode:p.mode,text:String.fromCharCode(nt)}}});var Ta=function(l,d){var p=oi(l.body,d.withColor(l.color),!1);return gt.makeFragment(p)},ja=function(l,d){var p=xr(l.body,d.withColor(l.color)),x=new Mn.MathNode("mstyle",p);return x.setAttribute("mathcolor",l.color),x};Gn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(l,d){var p=l.parser,x=Bn(d[0],"color-token").color,N=d[1];return{type:"color",mode:p.mode,color:x,body:Qr(N)}},htmlBuilder:Ta,mathmlBuilder:ja}),Gn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(l,d){var p=l.parser,x=l.breakOnTokenText,N=Bn(d[0],"color-token").color;p.gullet.macros.set("\\current@color",N);var ue=p.parseExpression(!0,x);return{type:"color",mode:p.mode,color:N,body:ue}},htmlBuilder:Ta,mathmlBuilder:ja}),Gn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(l,d,p){var x=l.parser,N=l.funcName,ue=p[0],ke=N==="\\cr",ze=!1;return ke||(x.settings.displayMode&&x.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?ze=!1:ze=!0),{type:"cr",mode:x.mode,newLine:ze,newRow:ke,size:ue&&Bn(ue,"size").value}},htmlBuilder:function(l,d){if(l.newRow)throw new m("\\cr valid only within a tabular/array environment");var p=gt.makeSpan(["mspace"],[],d);return l.newLine&&(p.classes.push("newline"),l.size&&(p.style.marginTop=yt(l.size,d)+"em")),p},mathmlBuilder:function(l,d){var p=new Mn.MathNode("mspace");return l.newLine&&(p.setAttribute("linebreak","newline"),l.size&&p.setAttribute("height",yt(l.size,d)+"em")),p}});var va=function(l,d,p){var x=Kt.math[l]&&Kt.math[l].replace,N=Ze(x||l,d,p);if(!N)throw new Error("Unsupported symbol "+l+" and font size "+d+".");return N},os=function(l,d,p,x){var N=p.havingBaseStyle(d),ue=gt.makeSpan(x.concat(N.sizingClasses(p)),[l],p),ke=N.sizeMultiplier/p.sizeMultiplier;return ue.height*=ke,ue.depth*=ke,ue.maxFontSize=N.sizeMultiplier,ue},ys=function(l,d,p){var x=d.havingBaseStyle(p),N=(1-d.sizeMultiplier/x.sizeMultiplier)*d.fontMetrics().axisHeight;l.classes.push("delimcenter"),l.style.top=N+"em",l.height-=N,l.depth+=N},Ya=function(l,d,p,x,N,ue){var ke=gt.makeSymbol(l,"Main-Regular",N,x),ze=os(ke,d,x,ue);return p&&ys(ze,x,d),ze},ls=function(l,d,p,x){return gt.makeSymbol(l,"Size"+d+"-Regular",p,x)},xa=function(l,d,p,x,N,ue){var ke=ls(l,d,N,x),ze=os(gt.makeSpan(["delimsizing","size"+d],[ke],x),v.TEXT,x,ue);return p&&ys(ze,x,v.TEXT),ze},Ea=function(l,d,p){var x;d==="Size1-Regular"?x="delim-size1":x="delim-size4";var N=gt.makeSpan(["delimsizinginner",x],[gt.makeSpan([],[gt.makeSymbol(l,d,p)])]);return{type:"elem",elem:N}},Ra={type:"kern",size:-.005},us=function(l,d,p,x,N,ue){var ke,ze,nt,vt;ke=nt=vt=l,ze=null;var Lt="Size1-Regular";l==="\\uparrow"?nt=vt="\u23D0":l==="\\Uparrow"?nt=vt="\u2016":l==="\\downarrow"?ke=nt="\u23D0":l==="\\Downarrow"?ke=nt="\u2016":l==="\\updownarrow"?(ke="\\uparrow",nt="\u23D0",vt="\\downarrow"):l==="\\Updownarrow"?(ke="\\Uparrow",nt="\u2016",vt="\\Downarrow"):l==="["||l==="\\lbrack"?(ke="\u23A1",nt="\u23A2",vt="\u23A3",Lt="Size4-Regular"):l==="]"||l==="\\rbrack"?(ke="\u23A4",nt="\u23A5",vt="\u23A6",Lt="Size4-Regular"):l==="\\lfloor"||l==="\u230A"?(nt=ke="\u23A2",vt="\u23A3",Lt="Size4-Regular"):l==="\\lceil"||l==="\u2308"?(ke="\u23A1",nt=vt="\u23A2",Lt="Size4-Regular"):l==="\\rfloor"||l==="\u230B"?(nt=ke="\u23A5",vt="\u23A6",Lt="Size4-Regular"):l==="\\rceil"||l==="\u2309"?(ke="\u23A4",nt=vt="\u23A5",Lt="Size4-Regular"):l==="("||l==="\\lparen"?(ke="\u239B",nt="\u239C",vt="\u239D",Lt="Size4-Regular"):l===")"||l==="\\rparen"?(ke="\u239E",nt="\u239F",vt="\u23A0",Lt="Size4-Regular"):l==="\\{"||l==="\\lbrace"?(ke="\u23A7",ze="\u23A8",vt="\u23A9",nt="\u23AA",Lt="Size4-Regular"):l==="\\}"||l==="\\rbrace"?(ke="\u23AB",ze="\u23AC",vt="\u23AD",nt="\u23AA",Lt="Size4-Regular"):l==="\\lgroup"||l==="\u27EE"?(ke="\u23A7",vt="\u23A9",nt="\u23AA",Lt="Size4-Regular"):l==="\\rgroup"||l==="\u27EF"?(ke="\u23AB",vt="\u23AD",nt="\u23AA",Lt="Size4-Regular"):l==="\\lmoustache"||l==="\u23B0"?(ke="\u23A7",vt="\u23AD",nt="\u23AA",Lt="Size4-Regular"):(l==="\\rmoustache"||l==="\u23B1")&&(ke="\u23AB",vt="\u23A9",nt="\u23AA",Lt="Size4-Regular");var qt=va(ke,Lt,N),Cn=qt.height+qt.depth,en=va(nt,Lt,N),Je=en.height+en.depth,xn=va(vt,Lt,N),Fn=xn.height+xn.depth,cr=0,Pn=1;if(ze!==null){var dr=va(ze,Lt,N);cr=dr.height+dr.depth,Pn=2}var Tr=Cn+Fn+cr,Rr=Math.max(0,Math.ceil((d-Tr)/(Pn*Je))),fi=Tr+Rr*Pn*Je,hi=x.fontMetrics().axisHeight;p&&(hi*=x.sizeMultiplier);var ki=fi/2-hi,ci=(Rr+1)*.005-Je,pi=[];if(pi.push(Ea(vt,Lt,N)),ze===null)for(var yi=0;yi<Rr;yi++)pi.push(Ra),pi.push(Ea(nt,Lt,N));else{for(var Di=0;Di<Rr;Di++)pi.push(Ra),pi.push(Ea(nt,Lt,N));pi.push({type:"kern",size:ci}),pi.push(Ea(nt,Lt,N)),pi.push(Ra),pi.push(Ea(ze,Lt,N));for(var ya=0;ya<Rr;ya++)pi.push(Ra),pi.push(Ea(nt,Lt,N))}pi.push({type:"kern",size:ci}),pi.push(Ea(nt,Lt,N)),pi.push(Ra),pi.push(Ea(ke,Lt,N));var Gr=x.havingBaseStyle(v.TEXT),si=gt.makeVList({positionType:"bottom",positionData:ki,children:pi},Gr);return os(gt.makeSpan(["delimsizing","mult"],[si],Gr),v.TEXT,x,ue)},Qa=80,qa=.08,za=function(l,d,p,x,N){var ue=nn(l,x,p),ke=new ne(l,ue),ze=new I([ke],{width:"400em",height:d+"em",viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});return gt.makeSvgSpan(["hide-tail"],[ze],N)},li=function(l,d){var p=d.havingBaseSizing(),x=Ma("\\surd",l*p.sizeMultiplier,Aa,p),N=p.sizeMultiplier,ue=Math.max(0,d.minRuleThickness-d.fontMetrics().sqrtRuleThickness),ke,ze=0,nt=0,vt=0,Lt;return x.type==="small"?(vt=1e3+1e3*ue+Qa,l<1?N=1:l<1.4&&(N=.7),ze=(1+ue+qa)/N,nt=(1+ue)/N,ke=za("sqrtMain",ze,vt,ue,d),ke.style.minWidth="0.853em",Lt=.833/N):x.type==="large"?(vt=(1e3+Qa)*vi[x.size],nt=(vi[x.size]+ue)/N,ze=(vi[x.size]+ue+qa)/N,ke=za("sqrtSize"+x.size,ze,vt,ue,d),ke.style.minWidth="1.02em",Lt=1/N):(ze=l+ue+qa,nt=l+ue,vt=Math.floor(1e3*l+ue)+Qa,ke=za("sqrtTall",ze,vt,ue,d),ke.style.minWidth="0.742em",Lt=1.056),ke.height=nt,ke.style.height=ze+"em",{span:ke,advanceWidth:Lt,ruleWidth:(d.fontMetrics().sqrtRuleThickness+ue)*N}},qr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],aa=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Vi=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],vi=[0,1.2,1.8,2.4,3],oa=function(l,d,p,x,N){if(l==="<"||l==="\\lt"||l==="\u27E8"?l="\\langle":(l===">"||l==="\\gt"||l==="\u27E9")&&(l="\\rangle"),B.contains(qr,l)||B.contains(Vi,l))return xa(l,d,!1,p,x,N);if(B.contains(aa,l))return us(l,vi[d],!1,p,x,N);throw new m("Illegal delimiter: '"+l+"'")},la=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Da=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"stack"}],Aa=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ja=function(l){if(l.type==="small")return"Main-Regular";if(l.type==="large")return"Size"+l.size+"-Regular";if(l.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+l.type+"' here.")},Ma=function(l,d,p,x){for(var N=Math.min(2,3-x.style.size),ue=N;ue<p.length&&p[ue].type!=="stack";ue++){var ke=va(l,Ja(p[ue]),"math"),ze=ke.height+ke.depth;if(p[ue].type==="small"){var nt=x.havingBaseStyle(p[ue].style);ze*=nt.sizeMultiplier}if(ze>d)return p[ue]}return p[p.length-1]},bs=function(l,d,p,x,N,ue){l==="<"||l==="\\lt"||l==="\u27E8"?l="\\langle":(l===">"||l==="\\gt"||l==="\u27E9")&&(l="\\rangle");var ke;B.contains(Vi,l)?ke=la:B.contains(qr,l)?ke=Aa:ke=Da;var ze=Ma(l,d,ke,x);return ze.type==="small"?Ya(l,ze.style,p,x,N,ue):ze.type==="large"?xa(l,ze.size,p,x,N,ue):us(l,d,p,x,N,ue)},Ps=function(l,d,p,x,N,ue){var ke=x.fontMetrics().axisHeight*x.sizeMultiplier,ze=901,nt=5/x.fontMetrics().ptPerEm,vt=Math.max(d-ke,p+ke),Lt=Math.max(vt/500*ze,2*vt-nt);return bs(l,Lt,!0,x,N,ue)},Ua={sqrtImage:li,sizedDelim:oa,customSizedDelim:bs,leftRightDelim:Ps},Xa={"\\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}},_s=["(","\\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 es(se,l){var d=Zr(se);if(d&&B.contains(_s,d.text))return d;throw new m("Invalid delimiter: '"+(d?d.text:JSON.stringify(se))+"' after '"+l.funcName+"'",se)}Gn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(l,d){var p=es(d[0],l);return{type:"delimsizing",mode:l.parser.mode,size:Xa[l.funcName].size,mclass:Xa[l.funcName].mclass,delim:p.text}},htmlBuilder:function(l,d){return l.delim==="."?gt.makeSpan([l.mclass]):Ua.sizedDelim(l.delim,l.size,d,l.mode,[l.mclass])},mathmlBuilder:function(l){var d=[];l.delim!=="."&&d.push(Ui(l.delim,l.mode));var p=new Mn.MathNode("mo",d);return l.mclass==="mopen"||l.mclass==="mclose"?p.setAttribute("fence","true"):p.setAttribute("fence","false"),p}});function Ss(se){if(!se.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Gn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(l,d){var p=l.parser.gullet.macros.get("\\current@color");if(p&&typeof p!="string")throw new m("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:l.parser.mode,delim:es(d[0],l).text,color:p}}}),Gn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(l,d){var p=es(d[0],l),x=l.parser;++x.leftrightDepth;var N=x.parseExpression(!1);--x.leftrightDepth,x.expect("\\right",!1);var ue=Bn(x.parseFunction(),"leftright-right");return{type:"leftright",mode:x.mode,body:N,left:p.text,right:ue.delim,rightColor:ue.color}},htmlBuilder:function(l,d){Ss(l);for(var p=oi(l.body,d,!0,["mopen","mclose"]),x=0,N=0,ue=!1,ke=0;ke<p.length;ke++)p[ke].isMiddle?ue=!0:(x=Math.max(p[ke].height,x),N=Math.max(p[ke].depth,N));x*=d.sizeMultiplier,N*=d.sizeMultiplier;var ze;if(l.left==="."?ze=Qi(d,["mopen"]):ze=Ua.leftRightDelim(l.left,x,N,d,l.mode,["mopen"]),p.unshift(ze),ue)for(var nt=1;nt<p.length;nt++){var vt=p[nt],Lt=vt.isMiddle;Lt&&(p[nt]=Ua.leftRightDelim(Lt.delim,x,N,Lt.options,l.mode,[]))}var qt;if(l.right===".")qt=Qi(d,["mclose"]);else{var Cn=l.rightColor?d.withColor(l.rightColor):d;qt=Ua.leftRightDelim(l.right,x,N,Cn,l.mode,["mclose"])}return p.push(qt),gt.makeSpan(["minner"],p,d)},mathmlBuilder:function(l,d){Ss(l);var p=xr(l.body,d);if(l.left!=="."){var x=new Mn.MathNode("mo",[Ui(l.left,l.mode)]);x.setAttribute("fence","true"),p.unshift(x)}if(l.right!=="."){var N=new Mn.MathNode("mo",[Ui(l.right,l.mode)]);N.setAttribute("fence","true"),l.rightColor&&N.setAttribute("mathcolor",l.rightColor),p.push(N)}return ia(p)}}),Gn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(l,d){var p=es(d[0],l);if(!l.parser.leftrightDepth)throw new m("\\middle without preceding \\left",p);return{type:"middle",mode:l.parser.mode,delim:p.text}},htmlBuilder:function(l,d){var p;if(l.delim===".")p=Qi(d,[]);else{p=Ua.sizedDelim(l.delim,1,d,l.mode,[]);var x={delim:l.delim,options:d};p.isMiddle=x}return p},mathmlBuilder:function(l,d){var p=l.delim==="\\vert"||l.delim==="|"?Ui("|","text"):Ui(l.delim,l.mode),x=new Mn.MathNode("mo",[p]);return x.setAttribute("fence","true"),x.setAttribute("lspace","0.05em"),x.setAttribute("rspace","0.05em"),x}});var ws=function(l,d){var p=gt.wrapFragment($r(l.body,d),d),x=l.label.substr(1),N=d.sizeMultiplier,ue,ke=0,ze=B.isCharacterBox(l.body);if(x==="sout")ue=gt.makeSpan(["stretchy","sout"]),ue.height=d.fontMetrics().defaultRuleThickness/N,ke=-.5*d.fontMetrics().xHeight;else{/cancel/.test(x)?ze||p.classes.push("cancel-pad"):p.classes.push("boxpad");var nt=0,vt=0;/box/.test(x)?(vt=Math.max(d.fontMetrics().fboxrule,d.minRuleThickness),nt=d.fontMetrics().fboxsep+(x==="colorbox"?0:vt)):nt=ze?.2:0,ue=Lr.encloseSpan(p,x,nt,d),/fbox|boxed|fcolorbox/.test(x)&&(ue.style.borderStyle="solid",ue.style.borderWidth=vt+"em"),ke=p.depth+nt,l.backgroundColor&&(ue.style.backgroundColor=l.backgroundColor,l.borderColor&&(ue.style.borderColor=l.borderColor))}var Lt;return l.backgroundColor?Lt=gt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ue,shift:ke},{type:"elem",elem:p,shift:0}]},d):Lt=gt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:p,shift:0},{type:"elem",elem:ue,shift:ke,wrapperClasses:/cancel/.test(x)?["svg-align"]:[]}]},d),/cancel/.test(x)&&(Lt.height=p.height,Lt.depth=p.depth),/cancel/.test(x)&&!ze?gt.makeSpan(["mord","cancel-lap"],[Lt],d):gt.makeSpan(["mord"],[Lt],d)},cs=function(l,d){var p=0,x=new Mn.MathNode(l.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Jn(l.body,d)]);switch(l.label){case"\\cancel":x.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":x.setAttribute("notation","downdiagonalstrike");break;case"\\sout":x.setAttribute("notation","horizontalstrike");break;case"\\fbox":x.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(p=d.fontMetrics().fboxsep*d.fontMetrics().ptPerEm,x.setAttribute("width","+"+2*p+"pt"),x.setAttribute("height","+"+2*p+"pt"),x.setAttribute("lspace",p+"pt"),x.setAttribute("voffset",p+"pt"),l.label==="\\fcolorbox"){var N=Math.max(d.fontMetrics().fboxrule,d.minRuleThickness);x.setAttribute("style","border: "+N+"em solid "+String(l.borderColor))}break;case"\\xcancel":x.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return l.backgroundColor&&x.setAttribute("mathbackground",l.backgroundColor),x};Gn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(l,d,p){var x=l.parser,N=l.funcName,ue=Bn(d[0],"color-token").color,ke=d[1];return{type:"enclose",mode:x.mode,label:N,backgroundColor:ue,body:ke}},htmlBuilder:ws,mathmlBuilder:cs}),Gn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(l,d,p){var x=l.parser,N=l.funcName,ue=Bn(d[0],"color-token").color,ke=Bn(d[1],"color-token").color,ze=d[2];return{type:"enclose",mode:x.mode,label:N,backgroundColor:ke,borderColor:ue,body:ze}},htmlBuilder:ws,mathmlBuilder:cs}),Gn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(l,d){var p=l.parser;return{type:"enclose",mode:p.mode,label:"\\fbox",body:d[0]}}}),Gn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(l,d,p){var x=l.parser,N=l.funcName,ue=d[0];return{type:"enclose",mode:x.mode,label:N,body:ue}},htmlBuilder:ws,mathmlBuilder:cs});var ts={};function Wa(se){for(var l=se.type,d=se.names,p=se.props,x=se.handler,N=se.htmlBuilder,ue=se.mathmlBuilder,ke={type:l,numArgs:p.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:x},ze=0;ze<d.length;++ze)ts[d[ze]]=ke;N&&(ti[l]=N),ue&&(Ii[l]=ue)}function Cs(se){var l=[];se.consumeSpaces();for(var d=se.fetch().text;d==="\\hline"||d==="\\hdashline";)se.consume(),l.push(d==="\\hdashline"),se.consumeSpaces(),d=se.fetch().text;return l}function Ri(se,l,d){var p=l.hskipBeforeAndAfter,x=l.addJot,N=l.cols,ue=l.arraystretch,ke=l.colSeparationType;if(se.gullet.beginGroup(),se.gullet.macros.set("\\\\","\\cr"),!ue){var ze=se.gullet.expandMacroAsText("\\arraystretch");if(ze==null)ue=1;else if(ue=parseFloat(ze),!ue||ue<0)throw new m("Invalid \\arraystretch: "+ze)}se.gullet.beginGroup();var nt=[],vt=[nt],Lt=[],qt=[];for(qt.push(Cs(se));;){var Cn=se.parseExpression(!1,"\\cr");se.gullet.endGroup(),se.gullet.beginGroup(),Cn={type:"ordgroup",mode:se.mode,body:Cn},d&&(Cn={type:"styling",mode:se.mode,style:d,body:[Cn]}),nt.push(Cn);var en=se.fetch().text;if(en==="&")se.consume();else if(en==="\\end"){nt.length===1&&Cn.type==="styling"&&Cn.body[0].body.length===0&&vt.pop(),qt.length<vt.length+1&&qt.push([]);break}else if(en==="\\cr"){var Je=Bn(se.parseFunction(),"cr");Lt.push(Je.size),qt.push(Cs(se)),nt=[],vt.push(nt)}else throw new m("Expected & or \\\\ or \\cr or \\end",se.nextToken)}return se.gullet.endGroup(),se.gullet.endGroup(),{type:"array",mode:se.mode,addJot:x,arraystretch:ue,body:vt,cols:N,rowGaps:Lt,hskipBeforeAndAfter:p,hLinesBeforeRow:qt,colSeparationType:ke}}function Fi(se){return se.substr(0,1)==="d"?"display":"text"}var xi=function(l,d){var p,x,N=l.body.length,ue=l.hLinesBeforeRow,ke=0,ze=new Array(N),nt=[],vt=Math.max(d.fontMetrics().arrayRuleWidth,d.minRuleThickness),Lt=1/d.fontMetrics().ptPerEm,qt=5*Lt;if(l.colSeparationType&&l.colSeparationType==="small"){var Cn=d.havingStyle(v.SCRIPT).sizeMultiplier;qt=.2778*(Cn/d.sizeMultiplier)}var en=12*Lt,Je=3*Lt,xn=l.arraystretch*en,Fn=.7*xn,cr=.3*xn,Pn=0;function dr(ta){for(var Li=0;Li<ta.length;++Li)Li>0&&(Pn+=.25),nt.push({pos:Pn,isDashed:ta[Li]})}for(dr(ue[0]),p=0;p<l.body.length;++p){var Tr=l.body[p],Rr=Fn,fi=cr;ke<Tr.length&&(ke=Tr.length);var hi=new Array(Tr.length);for(x=0;x<Tr.length;++x){var ki=$r(Tr[x],d);fi<ki.depth&&(fi=ki.depth),Rr<ki.height&&(Rr=ki.height),hi[x]=ki}var ci=l.rowGaps[p],pi=0;ci&&(pi=yt(ci,d),pi>0&&(pi+=cr,fi<pi&&(fi=pi),pi=0)),l.addJot&&(fi+=Je),hi.height=Rr,hi.depth=fi,Pn+=Rr,hi.pos=Pn,Pn+=fi+pi,ze[p]=hi,dr(ue[p+1])}var yi=Pn/2+d.fontMetrics().axisHeight,Di=l.cols||[],ya=[],Gr,si;for(x=0,si=0;x<ke||si<Di.length;++x,++si){for(var Ei=Di[si]||{},Ji=!0;Ei.type==="separator";){if(Ji||(Gr=gt.makeSpan(["arraycolsep"],[]),Gr.style.width=d.fontMetrics().doubleRuleSep+"em",ya.push(Gr)),Ei.separator==="|"||Ei.separator===":"){var Xi=Ei.separator==="|"?"solid":"dashed",Ur=gt.makeSpan(["vertical-separator"],[],d);Ur.style.height=Pn+"em",Ur.style.borderRightWidth=vt+"em",Ur.style.borderRightStyle=Xi,Ur.style.margin="0 -"+vt/2+"em",Ur.style.verticalAlign=-(Pn-yi)+"em",ya.push(Ur)}else throw new m("Invalid separator type: "+Ei.separator);si++,Ei=Di[si]||{},Ji=!1}if(!(x>=ke)){var qi=void 0;(x>0||l.hskipBeforeAndAfter)&&(qi=B.deflt(Ei.pregap,qt),qi!==0&&(Gr=gt.makeSpan(["arraycolsep"],[]),Gr.style.width=qi+"em",ya.push(Gr)));var ea=[];for(p=0;p<N;++p){var ba=ze[p],Ia=ba[x];if(Ia){var Fa=ba.pos-yi;Ia.depth=ba.depth,Ia.height=ba.height,ea.push({type:"elem",elem:Ia,shift:Fa})}}ea=gt.makeVList({positionType:"individualShift",children:ea},d),ea=gt.makeSpan(["col-align-"+(Ei.align||"c")],[ea]),ya.push(ea),(x<ke-1||l.hskipBeforeAndAfter)&&(qi=B.deflt(Ei.postgap,qt),qi!==0&&(Gr=gt.makeSpan(["arraycolsep"],[]),Gr.style.width=qi+"em",ya.push(Gr)))}}if(ze=gt.makeSpan(["mtable"],ya),nt.length>0){for(var Bs=gt.makeLineSpan("hline",d,vt),rs=gt.makeLineSpan("hdashline",d,vt),La=[{type:"elem",elem:ze,shift:0}];nt.length>0;){var Sa=nt.pop(),pa=Sa.pos-yi;Sa.isDashed?La.push({type:"elem",elem:rs,shift:pa}):La.push({type:"elem",elem:Bs,shift:pa})}ze=gt.makeVList({positionType:"individualShift",children:La},d)}return gt.makeSpan(["mord"],[ze],d)},ha={c:"center ",l:"left ",r:"right "},ra=function(l,d){var p=new Mn.MathNode("mtable",l.body.map(function(Pn){return new Mn.MathNode("mtr",Pn.map(function(dr){return new Mn.MathNode("mtd",[Jn(dr,d)])}))})),x=l.arraystretch===.5?.1:.16+l.arraystretch-1+(l.addJot?.09:0);p.setAttribute("rowspacing",x+"em");var N="",ue="";if(l.cols){var ke=l.cols,ze="",nt=!1,vt=0,Lt=ke.length;ke[0].type==="separator"&&(N+="top ",vt=1),ke[ke.length-1].type==="separator"&&(N+="bottom ",Lt-=1);for(var qt=vt;qt<Lt;qt++)ke[qt].type==="align"?(ue+=ha[ke[qt].align],nt&&(ze+="none "),nt=!0):ke[qt].type==="separator"&&nt&&(ze+=ke[qt].separator==="|"?"solid ":"dashed ",nt=!1);p.setAttribute("columnalign",ue.trim()),/[sd]/.test(ze)&&p.setAttribute("columnlines",ze.trim())}if(l.colSeparationType==="align"){for(var Cn=l.cols||[],en="",Je=1;Je<Cn.length;Je++)en+=Je%2?"0em ":"1em ";p.setAttribute("columnspacing",en.trim())}else l.colSeparationType==="alignat"?p.setAttribute("columnspacing","0em"):l.colSeparationType==="small"?p.setAttribute("columnspacing","0.2778em"):p.setAttribute("columnspacing","1em");var xn="",Fn=l.hLinesBeforeRow;N+=Fn[0].length>0?"left ":"",N+=Fn[Fn.length-1].length>0?"right ":"";for(var cr=1;cr<Fn.length-1;cr++)xn+=Fn[cr].length===0?"none ":Fn[cr][0]?"dashed ":"solid ";return/[sd]/.test(xn)&&p.setAttribute("rowlines",xn.trim()),N!==""&&(p=new Mn.MathNode("menclose",[p]),p.setAttribute("notation",N.trim())),l.arraystretch&&l.arraystretch<1&&(p=new Mn.MathNode("mstyle",[p]),p.setAttribute("scriptlevel","1")),p},_n=function(l,d){var p=[],x=Ri(l.parser,{cols:p,addJot:!0},"display"),N,ue=0,ke={type:"ordgroup",mode:l.mode,body:[]},ze=lr(d[0],"ordgroup");if(ze){for(var nt="",vt=0;vt<ze.body.length;vt++){var Lt=Bn(ze.body[vt],"textord");nt+=Lt.text}N=Number(nt),ue=N*2}var qt=!ue;x.body.forEach(function(xn){for(var Fn=1;Fn<xn.length;Fn+=2){var cr=Bn(xn[Fn],"styling"),Pn=Bn(cr.body[0],"ordgroup");Pn.body.unshift(ke)}if(qt)ue<xn.length&&(ue=xn.length);else{var dr=xn.length/2;if(N<dr)throw new m("Too many math in a row: "+("expected "+N+", but got "+dr),xn[0])}});for(var Cn=0;Cn<ue;++Cn){var en="r",Je=0;Cn%2===1?en="l":Cn>0&&qt&&(Je=1),p[Cn]={type:"align",align:en,pregap:Je,postgap:0}}return x.colSeparationType=qt?"align":"alignat",x};Wa({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(l,d){var p=Zr(d[0]),x=p?[d[0]]:Bn(d[0],"ordgroup").body,N=x.map(function(ke){var ze=zr(ke),nt=ze.text;if("lcr".indexOf(nt)!==-1)return{type:"align",align:nt};if(nt==="|")return{type:"separator",separator:"|"};if(nt===":")return{type:"separator",separator:":"};throw new m("Unknown column alignment: "+nt,ke)}),ue={cols:N,hskipBeforeAndAfter:!0};return Ri(l.parser,ue,Fi(l.envName))},htmlBuilder:xi,mathmlBuilder:ra}),Wa({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(l){var d={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[l.envName],p={hskipBeforeAndAfter:!1},x=Ri(l.parser,p,Fi(l.envName));return d?{type:"leftright",mode:l.mode,body:[x],left:d[0],right:d[1],rightColor:void 0}:x},htmlBuilder:xi,mathmlBuilder:ra}),Wa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(l){var d={arraystretch:.5},p=Ri(l.parser,d,"script");return p.colSeparationType="small",p},htmlBuilder:xi,mathmlBuilder:ra}),Wa({type:"array",names:["subarray"],props:{numArgs:1},handler:function(l,d){var p=Zr(d[0]),x=p?[d[0]]:Bn(d[0],"ordgroup").body,N=x.map(function(ke){var ze=zr(ke),nt=ze.text;if("lc".indexOf(nt)!==-1)return{type:"align",align:nt};throw new m("Unknown column alignment: "+nt,ke)});if(N.length>1)throw new m("{subarray} can contain only one column");var ue={cols:N,hskipBeforeAndAfter:!1,arraystretch:.5};if(ue=Ri(l.parser,ue,"script"),ue.body[0].length>1)throw new m("{subarray} can contain only one column");return ue},htmlBuilder:xi,mathmlBuilder:ra}),Wa({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(l){var d={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},p=Ri(l.parser,d,Fi(l.envName));return{type:"leftright",mode:l.mode,body:[p],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:xi,mathmlBuilder:ra}),Wa({type:"array",names:["aligned"],props:{numArgs:0},handler:_n,htmlBuilder:xi,mathmlBuilder:ra}),Wa({type:"array",names:["gathered"],props:{numArgs:0},handler:function(l){var d={cols:[{type:"align",align:"c"}],addJot:!0};return Ri(l.parser,d,"display")},htmlBuilder:xi,mathmlBuilder:ra}),Wa({type:"array",names:["alignedat"],props:{numArgs:1},handler:_n,htmlBuilder:xi,mathmlBuilder:ra}),Gn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(l,d){throw new m(l.funcName+" valid only within array environment")}});var Va=ts,ds=Va;Gn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(l,d){var p=l.parser,x=l.funcName,N=d[0];if(N.type!=="ordgroup")throw new m("Invalid environment name",N);for(var ue="",ke=0;ke<N.body.length;++ke)ue+=Bn(N.body[ke],"textord").text;if(x==="\\begin"){if(!ds.hasOwnProperty(ue))throw new m("No such environment: "+ue,N);var ze=ds[ue],nt=p.parseArguments("\\begin{"+ue+"}",ze),vt=nt.args,Lt=nt.optArgs,qt={mode:p.mode,envName:ue,parser:p},Cn=ze.handler(qt,vt,Lt);p.expect("\\end",!1);var en=p.nextToken,Je=Bn(p.parseFunction(),"environment");if(Je.name!==ue)throw new m("Mismatch: \\begin{"+ue+"} matched by \\end{"+Je.name+"}",en);return Cn}return{type:"environment",mode:p.mode,name:ue,nameGroup:N}}});var ks=gt.makeSpan;function Os(se,l){var d=oi(se.body,l,!0);return ks([se.mclass],d,l)}function ns(se,l){var d,p=xr(se.body,l);return se.mclass==="minner"?Mn.newDocumentFragment(p):(se.mclass==="mord"?se.isCharacterBox?(d=p[0],d.type="mi"):d=new Mn.MathNode("mi",p):(se.isCharacterBox?(d=p[0],d.type="mo"):d=new Mn.MathNode("mo",p),se.mclass==="mbin"?(d.attributes.lspace="0.22em",d.attributes.rspace="0.22em"):se.mclass==="mpunct"?(d.attributes.lspace="0em",d.attributes.rspace="0.17em"):(se.mclass==="mopen"||se.mclass==="mclose")&&(d.attributes.lspace="0em",d.attributes.rspace="0em")),d)}Gn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(l,d){var p=l.parser,x=l.funcName,N=d[0];return{type:"mclass",mode:p.mode,mclass:"m"+x.substr(5),body:Qr(N),isCharacterBox:B.isCharacterBox(N)}},htmlBuilder:Os,mathmlBuilder:ns});var fs=function(l){var d=l.type==="ordgroup"&&l.body.length?l.body[0]:l;return d.type==="atom"&&(d.family==="bin"||d.family==="rel")?"m"+d.family:"mord"};Gn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(l,d){var p=l.parser;return{type:"mclass",mode:p.mode,mclass:fs(d[0]),body:[d[1]],isCharacterBox:B.isCharacterBox(d[1])}}}),Gn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(l,d){var p=l.parser,x=l.funcName,N=d[1],ue=d[0],ke;x!=="\\stackrel"?ke=fs(N):ke="mrel";var ze={type:"op",mode:N.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:x!=="\\stackrel",body:Qr(N)},nt={type:"supsub",mode:ue.mode,base:ze,sup:x==="\\underset"?null:ue,sub:x==="\\underset"?ue:null};return{type:"mclass",mode:p.mode,mclass:ke,body:[nt],isCharacterBox:B.isCharacterBox(nt)}},htmlBuilder:Os,mathmlBuilder:ns});var qs=function(l,d){var p=l.font,x=d.withFont(p);return $r(l.body,x)},lo=function(l,d){var p=l.font,x=d.withFont(p);return Jn(l.body,x)},Js={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Gn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(l,d){var p=l.parser,x=l.funcName,N=d[0],ue=x;return ue in Js&&(ue=Js[ue]),{type:"font",mode:p.mode,font:ue.slice(1),body:N}},htmlBuilder:qs,mathmlBuilder:lo}),Gn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(l,d){var p=l.parser,x=d[0],N=B.isCharacterBox(x);return{type:"mclass",mode:p.mode,mclass:fs(x),body:[{type:"font",mode:p.mode,font:"boldsymbol",body:x}],isCharacterBox:N}}}),Gn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(l,d){var p=l.parser,x=l.funcName,N=l.breakOnTokenText,ue=p.mode,ke=p.parseExpression(!0,N),ze="math"+x.slice(1);return{type:"font",mode:ue,font:ze,body:{type:"ordgroup",mode:p.mode,body:ke}}},htmlBuilder:qs,mathmlBuilder:lo});var Ts=function(l,d){var p=d;return l==="display"?p=p.id>=v.SCRIPT.id?p.text():v.DISPLAY:l==="text"&&p.size===v.DISPLAY.size?p=v.TEXT:l==="script"?p=v.SCRIPT:l==="scriptscript"&&(p=v.SCRIPTSCRIPT),p},hs=function(l,d){var p=Ts(l.size,d.style),x=p.fracNum(),N=p.fracDen(),ue;ue=d.havingStyle(x);var ke=$r(l.numer,ue,d);if(l.continued){var ze=8.5/d.fontMetrics().ptPerEm,nt=3.5/d.fontMetrics().ptPerEm;ke.height=ke.height<ze?ze:ke.height,ke.depth=ke.depth<nt?nt:ke.depth}ue=d.havingStyle(N);var vt=$r(l.denom,ue,d),Lt,qt,Cn;l.hasBarLine?(l.barSize?(qt=yt(l.barSize,d),Lt=gt.makeLineSpan("frac-line",d,qt)):Lt=gt.makeLineSpan("frac-line",d),qt=Lt.height,Cn=Lt.height):(Lt=null,qt=0,Cn=d.fontMetrics().defaultRuleThickness);var en,Je,xn;p.size===v.DISPLAY.size||l.size==="display"?(en=d.fontMetrics().num1,qt>0?Je=3*Cn:Je=7*Cn,xn=d.fontMetrics().denom1):(qt>0?(en=d.fontMetrics().num2,Je=Cn):(en=d.fontMetrics().num3,Je=3*Cn),xn=d.fontMetrics().denom2);var Fn;if(Lt){var Pn=d.fontMetrics().axisHeight;en-ke.depth-(Pn+.5*qt)<Je&&(en+=Je-(en-ke.depth-(Pn+.5*qt))),Pn-.5*qt-(vt.height-xn)<Je&&(xn+=Je-(Pn-.5*qt-(vt.height-xn)));var dr=-(Pn-.5*qt);Fn=gt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:vt,shift:xn},{type:"elem",elem:Lt,shift:dr},{type:"elem",elem:ke,shift:-en}]},d)}else{var cr=en-ke.depth-(vt.height-xn);cr<Je&&(en+=.5*(Je-cr),xn+=.5*(Je-cr)),Fn=gt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:vt,shift:xn},{type:"elem",elem:ke,shift:-en}]},d)}ue=d.havingStyle(p),Fn.height*=ue.sizeMultiplier/d.sizeMultiplier,Fn.depth*=ue.sizeMultiplier/d.sizeMultiplier;var Tr;p.size===v.DISPLAY.size?Tr=d.fontMetrics().delim1:Tr=d.fontMetrics().delim2;var Rr,fi;return l.leftDelim==null?Rr=Qi(d,["mopen"]):Rr=Ua.customSizedDelim(l.leftDelim,Tr,!0,d.havingStyle(p),l.mode,["mopen"]),l.continued?fi=gt.makeSpan([]):l.rightDelim==null?fi=Qi(d,["mclose"]):fi=Ua.customSizedDelim(l.rightDelim,Tr,!0,d.havingStyle(p),l.mode,["mclose"]),gt.makeSpan(["mord"].concat(ue.sizingClasses(d)),[Rr,gt.makeSpan(["mfrac"],[Fn]),fi],d)},uo=function(l,d){var p=new Mn.MathNode("mfrac",[Jn(l.numer,d),Jn(l.denom,d)]);if(!l.hasBarLine)p.setAttribute("linethickness","0px");else if(l.barSize){var x=yt(l.barSize,d);p.setAttribute("linethickness",x+"em")}var N=Ts(l.size,d.style);if(N.size!==d.style.size){p=new Mn.MathNode("mstyle",[p]);var ue=N.size===v.DISPLAY.size?"true":"false";p.setAttribute("displaystyle",ue),p.setAttribute("scriptlevel","0")}if(l.leftDelim!=null||l.rightDelim!=null){var ke=[];if(l.leftDelim!=null){var ze=new Mn.MathNode("mo",[new Mn.TextNode(l.leftDelim.replace("\\",""))]);ze.setAttribute("fence","true"),ke.push(ze)}if(ke.push(p),l.rightDelim!=null){var nt=new Mn.MathNode("mo",[new Mn.TextNode(l.rightDelim.replace("\\",""))]);nt.setAttribute("fence","true"),ke.push(nt)}return ia(ke)}return p};Gn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(l,d){var p=l.parser,x=l.funcName,N=d[0],ue=d[1],ke,ze=null,nt=null,vt="auto";switch(x){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":ke=!0;break;case"\\\\atopfrac":ke=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":ke=!1,ze="(",nt=")";break;case"\\\\bracefrac":ke=!1,ze="\\{",nt="\\}";break;case"\\\\brackfrac":ke=!1,ze="[",nt="]";break;default:throw new Error("Unrecognized genfrac command")}switch(x){case"\\cfrac":case"\\dfrac":case"\\dbinom":vt="display";break;case"\\tfrac":case"\\tbinom":vt="text";break}return{type:"genfrac",mode:p.mode,continued:x==="\\cfrac",numer:N,denom:ue,hasBarLine:ke,leftDelim:ze,rightDelim:nt,size:vt,barSize:null}},htmlBuilder:hs,mathmlBuilder:uo}),Gn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(l){var d=l.parser,p=l.funcName,x=l.token,N;switch(p){case"\\over":N="\\frac";break;case"\\choose":N="\\binom";break;case"\\atop":N="\\\\atopfrac";break;case"\\brace":N="\\\\bracefrac";break;case"\\brack":N="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:d.mode,replaceWith:N,token:x}}});var co=["display","text","script","scriptscript"],Lo=function(l){var d=null;return l.length>0&&(d=l,d=d==="."?null:d),d};Gn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(l,d){var p=l.parser,x=d[4],N=d[5],ue=lr(d[0],"atom");ue&&(ue=nr(d[0],"open"));var ke=ue?Lo(ue.text):null,ze=lr(d[1],"atom");ze&&(ze=nr(d[1],"close"));var nt=ze?Lo(ze.text):null,vt=Bn(d[2],"size"),Lt,qt=null;vt.isBlank?Lt=!0:(qt=vt.value,Lt=qt.number>0);var Cn="auto",en=lr(d[3],"ordgroup");if(en){if(en.body.length>0){var Je=Bn(en.body[0],"textord");Cn=co[Number(Je.text)]}}else en=Bn(d[3],"textord"),Cn=co[Number(en.text)];return{type:"genfrac",mode:p.mode,numer:x,denom:N,continued:!1,hasBarLine:Lt,barSize:qt,leftDelim:ke,rightDelim:nt,size:Cn}},htmlBuilder:hs,mathmlBuilder:uo}),Gn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(l,d){var p=l.parser,x=l.funcName,N=l.token;return{type:"infix",mode:p.mode,replaceWith:"\\\\abovefrac",size:Bn(d[0],"size").value,token:N}}}),Gn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(l,d){var p=l.parser,x=l.funcName,N=d[0],ue=K(Bn(d[1],"infix").size),ke=d[2],ze=ue.number>0;return{type:"genfrac",mode:p.mode,numer:N,denom:ke,continued:!1,hasBarLine:ze,barSize:ue,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:hs,mathmlBuilder:uo});var fo=function(l,d){var p=d.style,x,N,ue=lr(l,"supsub");ue?(x=ue.sup?$r(ue.sup,d.havingStyle(p.sup()),d):$r(ue.sub,d.havingStyle(p.sub()),d),N=Bn(ue.base,"horizBrace")):N=Bn(l,"horizBrace");var ke=$r(N.base,d.havingBaseStyle(v.DISPLAY)),ze=Lr.svgSpan(N,d),nt;if(N.isOver?(nt=gt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ke},{type:"kern",size:.1},{type:"elem",elem:ze}]},d),nt.children[0].children[0].children[1].classes.push("svg-align")):(nt=gt.makeVList({positionType:"bottom",positionData:ke.depth+.1+ze.height,children:[{type:"elem",elem:ze},{type:"kern",size:.1},{type:"elem",elem:ke}]},d),nt.children[0].children[0].children[0].classes.push("svg-align")),x){var vt=gt.makeSpan(["mord",N.isOver?"mover":"munder"],[nt],d);N.isOver?nt=gt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:vt},{type:"kern",size:.2},{type:"elem",elem:x}]},d):nt=gt.makeVList({positionType:"bottom",positionData:vt.depth+.2+x.height+x.depth,children:[{type:"elem",elem:x},{type:"kern",size:.2},{type:"elem",elem:vt}]},d)}return gt.makeSpan(["mord",N.isOver?"mover":"munder"],[nt],d)},Po=function(l,d){var p=Lr.mathMLnode(l.label);return new Mn.MathNode(l.isOver?"mover":"munder",[Jn(l.base,d),p])};Gn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(l,d){var p=l.parser,x=l.funcName;return{type:"horizBrace",mode:p.mode,label:x,isOver:/^\\over/.test(x),base:d[0]}},htmlBuilder:fo,mathmlBuilder:Po}),Gn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(l,d){var p=l.parser,x=d[1],N=Bn(d[0],"url").url;return p.settings.isTrusted({command:"\\href",url:N})?{type:"href",mode:p.mode,href:N,body:Qr(x)}:p.formatUnsupportedCmd("\\href")},htmlBuilder:function(l,d){var p=oi(l.body,d,!1);return gt.makeAnchor(l.href,[],p,d)},mathmlBuilder:function(l,d){var p=ur(l.body,d);return p instanceof Mr||(p=new Mr("mrow",[p])),p.setAttribute("href",l.href),p}}),Gn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(l,d){var p=l.parser,x=Bn(d[0],"url").url;if(!p.settings.isTrusted({command:"\\url",url:x}))return p.formatUnsupportedCmd("\\url");for(var N=[],ue=0;ue<x.length;ue++){var ke=x[ue];ke==="~"&&(ke="\\textasciitilde"),N.push({type:"textord",mode:"text",text:ke})}var ze={type:"text",mode:p.mode,font:"\\texttt",body:N};return{type:"href",mode:p.mode,href:x,body:Qr(ze)}}}),Gn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(l,d){var p=l.parser;return{type:"htmlmathml",mode:p.mode,html:Qr(d[0]),mathml:Qr(d[1])}},htmlBuilder:function(l,d){var p=oi(l.html,d,!1);return gt.makeFragment(p)},mathmlBuilder:function(l,d){return ur(l.mathml,d)}});var Ns=function(l){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(l))return{number:+l,unit:"bp"};var d=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(l);if(!d)throw new m("Invalid size: '"+l+"' in \\includegraphics");var p={number:+(d[1]+d[2]),unit:d[3]};if(!ht(p))throw new m("Invalid unit: '"+p.unit+"' in \\includegraphics.");return p};Gn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(l,d,p){var x=l.parser,N={number:0,unit:"em"},ue={number:.9,unit:"em"},ke={number:0,unit:"em"},ze="";if(p[0])for(var nt=Bn(p[0],"raw").string,vt=nt.split(","),Lt=0;Lt<vt.length;Lt++){var qt=vt[Lt].split("=");if(qt.length===2){var Cn=qt[1].trim();switch(qt[0].trim()){case"alt":ze=Cn;break;case"width":N=Ns(Cn);break;case"height":ue=Ns(Cn);break;case"totalheight":ke=Ns(Cn);break;default:throw new m("Invalid key: '"+qt[0]+"' in \\includegraphics.")}}}var en=Bn(d[0],"url").url;return ze===""&&(ze=en,ze=ze.replace(/^.*[\\/]/,""),ze=ze.substring(0,ze.lastIndexOf("."))),x.settings.isTrusted({command:"\\includegraphics",url:en})?{type:"includegraphics",mode:x.mode,alt:ze,width:N,height:ue,totalheight:ke,src:en}:x.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(l,d){var p=yt(l.height,d),x=0;l.totalheight.number>0&&(x=yt(l.totalheight,d)-p,x=Number(x.toFixed(2)));var N=0;l.width.number>0&&(N=yt(l.width,d));var ue={height:p+x+"em"};N>0&&(ue.width=N+"em"),x>0&&(ue.verticalAlign=-x+"em");var ke=new we(l.src,l.alt,ue);return ke.height=p,ke.depth=x,ke},mathmlBuilder:function(l,d){var p=new Mn.MathNode("mglyph",[]);p.setAttribute("alt",l.alt);var x=yt(l.height,d),N=0;if(l.totalheight.number>0&&(N=yt(l.totalheight,d)-x,N=N.toFixed(2),p.setAttribute("valign","-"+N+"em")),p.setAttribute("height",x+N+"em"),l.width.number>0){var ue=yt(l.width,d);p.setAttribute("width",ue+"em")}return p.setAttribute("src",l.src),p}}),Gn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(l,d){var p=l.parser,x=l.funcName,N=Bn(d[0],"size");if(p.settings.strict){var ue=x[1]==="m",ke=N.value.unit==="mu";ue?(ke||p.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+x+" supports only mu units, "+("not "+N.value.unit+" units")),p.mode!=="math"&&p.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+x+" works only in math mode")):ke&&p.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+x+" doesn't support mu units")}return{type:"kern",mode:p.mode,dimension:N.value}},htmlBuilder:function(l,d){return gt.makeGlue(l.dimension,d)},mathmlBuilder:function(l,d){var p=yt(l.dimension,d);return new Mn.SpaceNode(p)}}),Gn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var p=l.parser,x=l.funcName,N=d[0];return{type:"lap",mode:p.mode,alignment:x.slice(5),body:N}},htmlBuilder:function(l,d){var p;l.alignment==="clap"?(p=gt.makeSpan([],[$r(l.body,d)]),p=gt.makeSpan(["inner"],[p],d)):p=gt.makeSpan(["inner"],[$r(l.body,d)]);var x=gt.makeSpan(["fix"],[]),N=gt.makeSpan([l.alignment],[p,x],d),ue=gt.makeSpan(["strut"]);return ue.style.height=N.height+N.depth+"em",ue.style.verticalAlign=-N.depth+"em",N.children.unshift(ue),N=gt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:N}]},d),gt.makeSpan(["mord"],[N],d)},mathmlBuilder:function(l,d){var p=new Mn.MathNode("mpadded",[Jn(l.body,d)]);if(l.alignment!=="rlap"){var x=l.alignment==="llap"?"-1":"-0.5";p.setAttribute("lspace",x+"width")}return p.setAttribute("width","0px"),p}}),Gn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(l,d){var p=l.funcName,x=l.parser,N=x.mode;x.switchMode("math");var ue=p==="\\("?"\\)":"$",ke=x.parseExpression(!1,ue);return x.expect(ue),x.switchMode(N),{type:"styling",mode:x.mode,style:"text",body:ke}}}),Gn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(l,d){throw new m("Mismatched "+l.funcName)}});var js=function(l,d){switch(d.style.size){case v.DISPLAY.size:return l.display;case v.TEXT.size:return l.text;case v.SCRIPT.size:return l.script;case v.SCRIPTSCRIPT.size:return l.scriptscript;default:return l.text}};Gn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(l,d){var p=l.parser;return{type:"mathchoice",mode:p.mode,display:Qr(d[0]),text:Qr(d[1]),script:Qr(d[2]),scriptscript:Qr(d[3])}},htmlBuilder:function(l,d){var p=js(l,d),x=oi(p,d,!1);return gt.makeFragment(x)},mathmlBuilder:function(l,d){var p=js(l,d);return ur(p,d)}});var Rs=function(l,d,p,x,N,ue,ke){l=gt.makeSpan([],[l]);var ze,nt;if(d){var vt=$r(d,x.havingStyle(N.sup()),x);nt={elem:vt,kern:Math.max(x.fontMetrics().bigOpSpacing1,x.fontMetrics().bigOpSpacing3-vt.depth)}}if(p){var Lt=$r(p,x.havingStyle(N.sub()),x);ze={elem:Lt,kern:Math.max(x.fontMetrics().bigOpSpacing2,x.fontMetrics().bigOpSpacing4-Lt.height)}}var qt;if(nt&&ze){var Cn=x.fontMetrics().bigOpSpacing5+ze.elem.height+ze.elem.depth+ze.kern+l.depth+ke;qt=gt.makeVList({positionType:"bottom",positionData:Cn,children:[{type:"kern",size:x.fontMetrics().bigOpSpacing5},{type:"elem",elem:ze.elem,marginLeft:-ue+"em"},{type:"kern",size:ze.kern},{type:"elem",elem:l},{type:"kern",size:nt.kern},{type:"elem",elem:nt.elem,marginLeft:ue+"em"},{type:"kern",size:x.fontMetrics().bigOpSpacing5}]},x)}else if(ze){var en=l.height-ke;qt=gt.makeVList({positionType:"top",positionData:en,children:[{type:"kern",size:x.fontMetrics().bigOpSpacing5},{type:"elem",elem:ze.elem,marginLeft:-ue+"em"},{type:"kern",size:ze.kern},{type:"elem",elem:l}]},x)}else if(nt){var Je=l.depth+ke;qt=gt.makeVList({positionType:"bottom",positionData:Je,children:[{type:"elem",elem:l},{type:"kern",size:nt.kern},{type:"elem",elem:nt.elem,marginLeft:ue+"em"},{type:"kern",size:x.fontMetrics().bigOpSpacing5}]},x)}else return l;return gt.makeSpan(["mop","op-limits"],[qt],x)},ko=["\\smallint"],xs=function(l,d){var p,x,N=!1,ue,ke=lr(l,"supsub");ke?(p=ke.sup,x=ke.sub,ue=Bn(ke.base,"op"),N=!0):ue=Bn(l,"op");var ze=d.style,nt=!1;ze.size===v.DISPLAY.size&&ue.symbol&&!B.contains(ko,ue.name)&&(nt=!0);var vt;if(ue.symbol){var Lt=nt?"Size2-Regular":"Size1-Regular",qt="";if((ue.name==="\\oiint"||ue.name==="\\oiiint")&&(qt=ue.name.substr(1),ue.name=qt==="oiint"?"\\iint":"\\iiint"),vt=gt.makeSymbol(ue.name,Lt,"math",d,["mop","op-symbol",nt?"large-op":"small-op"]),qt.length>0){var Cn=vt.italic,en=gt.staticSvg(qt+"Size"+(nt?"2":"1"),d);vt=gt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:vt,shift:0},{type:"elem",elem:en,shift:nt?.08:0}]},d),ue.name="\\"+qt,vt.classes.unshift("mop"),vt.italic=Cn}}else if(ue.body){var Je=oi(ue.body,d,!0);Je.length===1&&Je[0]instanceof T?(vt=Je[0],vt.classes[0]="mop"):vt=gt.makeSpan(["mop"],gt.tryCombineChars(Je),d)}else{for(var xn=[],Fn=1;Fn<ue.name.length;Fn++)xn.push(gt.mathsym(ue.name[Fn],ue.mode,d));vt=gt.makeSpan(["mop"],xn,d)}var cr=0,Pn=0;return(vt instanceof T||ue.name==="\\oiint"||ue.name==="\\oiiint")&&!ue.suppressBaseShift&&(cr=(vt.height-vt.depth)/2-d.fontMetrics().axisHeight,Pn=vt.italic),N?Rs(vt,p,x,d,ze,Pn,cr):(cr&&(vt.style.position="relative",vt.style.top=cr+"em"),vt)},Us=function(l,d){var p;if(l.symbol)p=new Mr("mo",[Ui(l.name,l.mode)]),B.contains(ko,l.name)&&p.setAttribute("largeop","false");else if(l.body)p=new Mr("mo",xr(l.body,d));else{p=new Mr("mi",[new da(l.name.slice(1))]);var x=new Mr("mo",[Ui("\u2061","text")]);l.parentIsSupSub?p=new Mr("mo",[p,x]):p=ua([p,x])}return p},Xs={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Gn({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(l,d){var p=l.parser,x=l.funcName,N=x;return N.length===1&&(N=Xs[N]),{type:"op",mode:p.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:N}},htmlBuilder:xs,mathmlBuilder:Us}),Gn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(l,d){var p=l.parser,x=d[0];return{type:"op",mode:p.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Qr(x)}},htmlBuilder:xs,mathmlBuilder:Us});var Yo={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Gn({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(l){var d=l.parser,p=l.funcName;return{type:"op",mode:d.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:p}},htmlBuilder:xs,mathmlBuilder:Us}),Gn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(l){var d=l.parser,p=l.funcName;return{type:"op",mode:d.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:p}},htmlBuilder:xs,mathmlBuilder:Us}),Gn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(l){var d=l.parser,p=l.funcName,x=p;return x.length===1&&(x=Yo[x]),{type:"op",mode:d.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:x}},htmlBuilder:xs,mathmlBuilder:Us});var Ms=function(l,d){var p,x,N=!1,ue,ke=lr(l,"supsub");ke?(p=ke.sup,x=ke.sub,ue=Bn(ke.base,"operatorname"),N=!0):ue=Bn(l,"operatorname");var ze;if(ue.body.length>0){for(var nt=ue.body.map(function(Cn){var en=Cn.text;return typeof en=="string"?{type:"textord",mode:Cn.mode,text:en}:Cn}),vt=oi(nt,d.withFont("mathrm"),!0),Lt=0;Lt<vt.length;Lt++){var qt=vt[Lt];qt instanceof T&&(qt.text=qt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}ze=gt.makeSpan(["mop"],vt,d)}else ze=gt.makeSpan(["mop"],[],d);return N?Rs(ze,p,x,d,d.style,0,0):ze},Qo=function(l,d){for(var p=xr(l.body,d.withFont("mathrm")),x=!0,N=0;N<p.length;N++){var ue=p[N];if(!(ue instanceof Mn.SpaceNode))if(ue instanceof Mn.MathNode)switch(ue.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var ke=ue.children[0];ue.children.length===1&&ke instanceof Mn.TextNode?ke.text=ke.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):x=!1;break}default:x=!1}else x=!1}if(x){var ze=p.map(function(Lt){return Lt.toText()}).join("");p=[new Mn.TextNode(ze)]}var nt=new Mn.MathNode("mi",p);nt.setAttribute("mathvariant","normal");var vt=new Mn.MathNode("mo",[Ui("\u2061","text")]);return l.parentIsSupSub?new Mn.MathNode("mo",[nt,vt]):Mn.newDocumentFragment([nt,vt])};Gn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(l,d){var p=l.parser,x=l.funcName,N=d[0];return{type:"operatorname",mode:p.mode,body:Qr(N),alwaysHandleSupSub:x==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ms,mathmlBuilder:Qo}),ri({type:"ordgroup",htmlBuilder:function(l,d){return l.semisimple?gt.makeFragment(oi(l.body,d,!1)):gt.makeSpan(["mord"],oi(l.body,d,!0),d)},mathmlBuilder:function(l,d){return ur(l.body,d,!0)}}),Gn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(l,d){var p=l.parser,x=d[0];return{type:"overline",mode:p.mode,body:x}},htmlBuilder:function(l,d){var p=$r(l.body,d.havingCrampedStyle()),x=gt.makeLineSpan("overline-line",d),N=d.fontMetrics().defaultRuleThickness,ue=gt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:p},{type:"kern",size:3*N},{type:"elem",elem:x},{type:"kern",size:N}]},d);return gt.makeSpan(["mord","overline"],[ue],d)},mathmlBuilder:function(l,d){var p=new Mn.MathNode("mo",[new Mn.TextNode("\u203E")]);p.setAttribute("stretchy","true");var x=new Mn.MathNode("mover",[Jn(l.body,d),p]);return x.setAttribute("accent","true"),x}}),Gn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var p=l.parser,x=d[0];return{type:"phantom",mode:p.mode,body:Qr(x)}},htmlBuilder:function(l,d){var p=oi(l.body,d.withPhantom(),!1);return gt.makeFragment(p)},mathmlBuilder:function(l,d){var p=xr(l.body,d);return new Mn.MathNode("mphantom",p)}}),Gn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var p=l.parser,x=d[0];return{type:"hphantom",mode:p.mode,body:x}},htmlBuilder:function(l,d){var p=gt.makeSpan([],[$r(l.body,d.withPhantom())]);if(p.height=0,p.depth=0,p.children)for(var x=0;x<p.children.length;x++)p.children[x].height=0,p.children[x].depth=0;return p=gt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:p}]},d),gt.makeSpan(["mord"],[p],d)},mathmlBuilder:function(l,d){var p=xr(Qr(l.body),d),x=new Mn.MathNode("mphantom",p),N=new Mn.MathNode("mpadded",[x]);return N.setAttribute("height","0px"),N.setAttribute("depth","0px"),N}}),Gn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var p=l.parser,x=d[0];return{type:"vphantom",mode:p.mode,body:x}},htmlBuilder:function(l,d){var p=gt.makeSpan(["inner"],[$r(l.body,d.withPhantom())]),x=gt.makeSpan(["fix"],[]);return gt.makeSpan(["mord","rlap"],[p,x],d)},mathmlBuilder:function(l,d){var p=xr(Qr(l.body),d),x=new Mn.MathNode("mphantom",p),N=new Mn.MathNode("mpadded",[x]);return N.setAttribute("width","0px"),N}}),Gn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(l,d){var p=l.parser,x=Bn(d[0],"size").value,N=d[1];return{type:"raisebox",mode:p.mode,dy:x,body:N}},htmlBuilder:function(l,d){var p=$r(l.body,d),x=yt(l.dy,d);return gt.makeVList({positionType:"shift",positionData:-x,children:[{type:"elem",elem:p}]},d)},mathmlBuilder:function(l,d){var p=new Mn.MathNode("mpadded",[Jn(l.body,d)]),x=l.dy.number+l.dy.unit;return p.setAttribute("voffset",x),p}}),Gn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(l,d,p){var x=l.parser,N=p[0],ue=Bn(d[0],"size"),ke=Bn(d[1],"size");return{type:"rule",mode:x.mode,shift:N&&Bn(N,"size").value,width:ue.value,height:ke.value}},htmlBuilder:function(l,d){var p=gt.makeSpan(["mord","rule"],[],d),x=yt(l.width,d),N=yt(l.height,d),ue=l.shift?yt(l.shift,d):0;return p.style.borderRightWidth=x+"em",p.style.borderTopWidth=N+"em",p.style.bottom=ue+"em",p.width=x,p.height=N+ue,p.depth=-ue,p.maxFontSize=N*1.125*d.sizeMultiplier,p},mathmlBuilder:function(l,d){var p=yt(l.width,d),x=yt(l.height,d),N=l.shift?yt(l.shift,d):0,ue=d.color&&d.getColor()||"black",ke=new Mn.MathNode("mspace");ke.setAttribute("mathbackground",ue),ke.setAttribute("width",p+"em"),ke.setAttribute("height",x+"em");var ze=new Mn.MathNode("mpadded",[ke]);return N>=0?ze.setAttribute("height","+"+N+"em"):(ze.setAttribute("height",N+"em"),ze.setAttribute("depth","+"+-N+"em")),ze.setAttribute("voffset",N+"em"),ze}});function ho(se,l,d){for(var p=oi(se,l,!1),x=l.sizeMultiplier/d.sizeMultiplier,N=0;N<p.length;N++){var ue=p[N].classes.indexOf("sizing");ue<0?Array.prototype.push.apply(p[N].classes,l.sizingClasses(d)):p[N].classes[ue+1]==="reset-size"+l.size&&(p[N].classes[ue+1]="reset-size"+d.size),p[N].height*=x,p[N].depth*=x}return gt.makeFragment(p)}var po=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],mo=function(l,d){var p=d.havingSize(l.size);return ho(l.body,p,d)};Gn({type:"sizing",names:po,props:{numArgs:0,allowedInText:!0},handler:function(l,d){var p=l.breakOnTokenText,x=l.funcName,N=l.parser,ue=N.parseExpression(!1,p);return{type:"sizing",mode:N.mode,size:po.indexOf(x)+1,body:ue}},htmlBuilder:mo,mathmlBuilder:function(l,d){var p=d.havingSize(l.size),x=xr(l.body,p),N=new Mn.MathNode("mstyle",x);return N.setAttribute("mathsize",p.sizeMultiplier+"em"),N}}),Gn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(l,d,p){var x=l.parser,N=!1,ue=!1,ke=p[0]&&Bn(p[0],"ordgroup");if(ke)for(var ze="",nt=0;nt<ke.body.length;++nt){var vt=ke.body[nt];if(ze=vt.text,ze==="t")N=!0;else if(ze==="b")ue=!0;else{N=!1,ue=!1;break}}else N=!0,ue=!0;var Lt=d[0];return{type:"smash",mode:x.mode,body:Lt,smashHeight:N,smashDepth:ue}},htmlBuilder:function(l,d){var p=gt.makeSpan([],[$r(l.body,d)]);if(!l.smashHeight&&!l.smashDepth)return p;if(l.smashHeight&&(p.height=0,p.children))for(var x=0;x<p.children.length;x++)p.children[x].height=0;if(l.smashDepth&&(p.depth=0,p.children))for(var N=0;N<p.children.length;N++)p.children[N].depth=0;var ue=gt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:p}]},d);return gt.makeSpan(["mord"],[ue],d)},mathmlBuilder:function(l,d){var p=new Mn.MathNode("mpadded",[Jn(l.body,d)]);return l.smashHeight&&p.setAttribute("height","0px"),l.smashDepth&&p.setAttribute("depth","0px"),p}}),Gn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(l,d,p){var x=l.parser,N=p[0],ue=d[0];return{type:"sqrt",mode:x.mode,body:ue,index:N}},htmlBuilder:function(l,d){var p=$r(l.body,d.havingCrampedStyle());p.height===0&&(p.height=d.fontMetrics().xHeight),p=gt.wrapFragment(p,d);var x=d.fontMetrics(),N=x.defaultRuleThickness,ue=N;d.style.id<v.TEXT.id&&(ue=d.fontMetrics().xHeight);var ke=N+ue/4,ze=p.height+p.depth+ke+N,nt=Ua.sqrtImage(ze,d),vt=nt.span,Lt=nt.ruleWidth,qt=nt.advanceWidth,Cn=vt.height-Lt;Cn>p.height+p.depth+ke&&(ke=(ke+Cn-p.height-p.depth)/2);var en=vt.height-p.height-ke-Lt;p.style.paddingLeft=qt+"em";var Je=gt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:p,wrapperClasses:["svg-align"]},{type:"kern",size:-(p.height+en)},{type:"elem",elem:vt},{type:"kern",size:Lt}]},d);if(l.index){var xn=d.havingStyle(v.SCRIPTSCRIPT),Fn=$r(l.index,xn,d),cr=.6*(Je.height-Je.depth),Pn=gt.makeVList({positionType:"shift",positionData:-cr,children:[{type:"elem",elem:Fn}]},d),dr=gt.makeSpan(["root"],[Pn]);return gt.makeSpan(["mord","sqrt"],[dr,Je],d)}else return gt.makeSpan(["mord","sqrt"],[Je],d)},mathmlBuilder:function(l,d){var p=l.body,x=l.index;return x?new Mn.MathNode("mroot",[Jn(p,d),Jn(x,d)]):new Mn.MathNode("msqrt",[Jn(p,d)])}});var Oo={display:v.DISPLAY,text:v.TEXT,script:v.SCRIPT,scriptscript:v.SCRIPTSCRIPT};Gn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(l,d){var p=l.breakOnTokenText,x=l.funcName,N=l.parser,ue=N.parseExpression(!0,p),ke=x.slice(1,x.length-5);return{type:"styling",mode:N.mode,style:ke,body:ue}},htmlBuilder:function(l,d){var p=Oo[l.style],x=d.havingStyle(p).withFont("");return ho(l.body,x,d)},mathmlBuilder:function(l,d){var p=Oo[l.style],x=d.havingStyle(p),N=xr(l.body,x),ue=new Mn.MathNode("mstyle",N),ke={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},ze=ke[l.style];return ue.setAttribute("scriptlevel",ze[0]),ue.setAttribute("displaystyle",ze[1]),ue}});var go=function(l,d){var p=l.base;if(p)if(p.type==="op"){var x=p.limits&&(d.style.size===v.DISPLAY.size||p.alwaysHandleSupSub);return x?xs:null}else if(p.type==="operatorname"){var N=p.alwaysHandleSupSub&&(d.style.size===v.DISPLAY.size||p.limits);return N?Ms:null}else{if(p.type==="accent")return B.isCharacterBox(p.base)?Si:null;if(p.type==="horizBrace"){var ue=!l.sub;return ue===p.isOver?fo:null}else return null}else return null};ri({type:"supsub",htmlBuilder:function(l,d){var p=go(l,d);if(p)return p(l,d);var x=l.base,N=l.sup,ue=l.sub,ke=$r(x,d),ze,nt,vt=d.fontMetrics(),Lt=0,qt=0,Cn=x&&B.isCharacterBox(x);if(N){var en=d.havingStyle(d.style.sup());ze=$r(N,en,d),Cn||(Lt=ke.height-en.fontMetrics().supDrop*en.sizeMultiplier/d.sizeMultiplier)}if(ue){var Je=d.havingStyle(d.style.sub());nt=$r(ue,Je,d),Cn||(qt=ke.depth+Je.fontMetrics().subDrop*Je.sizeMultiplier/d.sizeMultiplier)}var xn;d.style===v.DISPLAY?xn=vt.sup1:d.style.cramped?xn=vt.sup3:xn=vt.sup2;var Fn=d.sizeMultiplier,cr=.5/vt.ptPerEm/Fn+"em",Pn=null;if(nt){var dr=l.base&&l.base.type==="op"&&l.base.name&&(l.base.name==="\\oiint"||l.base.name==="\\oiiint");(ke instanceof T||dr)&&(Pn=-ke.italic+"em")}var Tr;if(ze&&nt){Lt=Math.max(Lt,xn,ze.depth+.25*vt.xHeight),qt=Math.max(qt,vt.sub2);var Rr=vt.defaultRuleThickness,fi=4*Rr;if(Lt-ze.depth-(nt.height-qt)<fi){qt=fi-(Lt-ze.depth)+nt.height;var hi=.8*vt.xHeight-(Lt-ze.depth);hi>0&&(Lt+=hi,qt-=hi)}var ki=[{type:"elem",elem:nt,shift:qt,marginRight:cr,marginLeft:Pn},{type:"elem",elem:ze,shift:-Lt,marginRight:cr}];Tr=gt.makeVList({positionType:"individualShift",children:ki},d)}else if(nt){qt=Math.max(qt,vt.sub1,nt.height-.8*vt.xHeight);var ci=[{type:"elem",elem:nt,marginLeft:Pn,marginRight:cr}];Tr=gt.makeVList({positionType:"shift",positionData:qt,children:ci},d)}else if(ze)Lt=Math.max(Lt,xn,ze.depth+.25*vt.xHeight),Tr=gt.makeVList({positionType:"shift",positionData:-Lt,children:[{type:"elem",elem:ze,marginRight:cr}]},d);else throw new Error("supsub must have either sup or sub.");var pi=Hi(ke,"right")||"mord";return gt.makeSpan([pi],[ke,gt.makeSpan(["msupsub"],[Tr])],d)},mathmlBuilder:function(l,d){var p=!1,x,N,ue=lr(l.base,"horizBrace");ue&&(N=!!l.sup,N===ue.isOver&&(p=!0,x=ue.isOver)),l.base&&(l.base.type==="op"||l.base.type==="operatorname")&&(l.base.parentIsSupSub=!0);var ke=[Jn(l.base,d)];l.sub&&ke.push(Jn(l.sub,d)),l.sup&&ke.push(Jn(l.sup,d));var ze;if(p)ze=x?"mover":"munder";else if(l.sub)if(l.sup){var Lt=l.base;Lt&&Lt.type==="op"&&Lt.limits&&d.style===v.DISPLAY||Lt&&Lt.type==="operatorname"&&Lt.alwaysHandleSupSub&&(d.style===v.DISPLAY||Lt.limits)?ze="munderover":ze="msubsup"}else{var vt=l.base;vt&&vt.type==="op"&&vt.limits&&(d.style===v.DISPLAY||vt.alwaysHandleSupSub)||vt&&vt.type==="operatorname"&&vt.alwaysHandleSupSub&&(vt.limits||d.style===v.DISPLAY)?ze="munder":ze="msub"}else{var nt=l.base;nt&&nt.type==="op"&&nt.limits&&(d.style===v.DISPLAY||nt.alwaysHandleSupSub)||nt&&nt.type==="operatorname"&&nt.alwaysHandleSupSub&&(nt.limits||d.style===v.DISPLAY)?ze="mover":ze="msup"}var qt=new Mn.MathNode(ze,ke);return qt}}),ri({type:"atom",htmlBuilder:function(l,d){return gt.mathsym(l.text,l.mode,d,["m"+l.family])},mathmlBuilder:function(l,d){var p=new Mn.MathNode("mo",[Ui(l.text,l.mode)]);if(l.family==="bin"){var x=vr(l,d);x==="bold-italic"&&p.setAttribute("mathvariant",x)}else l.family==="punct"?p.setAttribute("separator","true"):(l.family==="open"||l.family==="close")&&p.setAttribute("stretchy","false");return p}});var No={mi:"italic",mn:"normal",mtext:"normal"};ri({type:"mathord",htmlBuilder:function(l,d){return gt.makeOrd(l,d,"mathord")},mathmlBuilder:function(l,d){var p=new Mn.MathNode("mi",[Ui(l.text,l.mode,d)]),x=vr(l,d)||"italic";return x!==No[p.type]&&p.setAttribute("mathvariant",x),p}}),ri({type:"textord",htmlBuilder:function(l,d){return gt.makeOrd(l,d,"textord")},mathmlBuilder:function(l,d){var p=Ui(l.text,l.mode,d),x=vr(l,d)||"normal",N;return l.mode==="text"?N=new Mn.MathNode("mtext",[p]):/[0-9]/.test(l.text)?N=new Mn.MathNode("mn",[p]):l.text==="\\prime"?N=new Mn.MathNode("mo",[p]):N=new Mn.MathNode("mi",[p]),x!==No[N.type]&&N.setAttribute("mathvariant",x),N}});var Ws={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},vo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ri({type:"spacing",htmlBuilder:function(l,d){if(vo.hasOwnProperty(l.text)){var p=vo[l.text].className||"";if(l.mode==="text"){var x=gt.makeOrd(l,d,"textord");return x.classes.push(p),x}else return gt.makeSpan(["mspace",p],[gt.mathsym(l.text,l.mode,d)],d)}else{if(Ws.hasOwnProperty(l.text))return gt.makeSpan(["mspace",Ws[l.text]],[],d);throw new m('Unknown type of space "'+l.text+'"')}},mathmlBuilder:function(l,d){var p;if(vo.hasOwnProperty(l.text))p=new Mn.MathNode("mtext",[new Mn.TextNode("\xA0")]);else{if(Ws.hasOwnProperty(l.text))return new Mn.MathNode("mspace");throw new m('Unknown type of space "'+l.text+'"')}return p}});var yo=function(){var l=new Mn.MathNode("mtd",[]);return l.setAttribute("width","50%"),l};ri({type:"tag",mathmlBuilder:function(l,d){var p=new Mn.MathNode("mtable",[new Mn.MathNode("mtr",[yo(),new Mn.MathNode("mtd",[ur(l.body,d)]),yo(),new Mn.MathNode("mtd",[ur(l.tag,d)])])]);return p.setAttribute("width","100%"),p}});var bo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},eo={"\\textbf":"textbf","\\textmd":"textmd"},Uo={"\\textit":"textit","\\textup":"textup"},So=function(l,d){var p=l.font;return p?bo[p]?d.withTextFontFamily(bo[p]):eo[p]?d.withTextFontWeight(eo[p]):d.withTextFontShape(Uo[p]):d};Gn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(l,d){var p=l.parser,x=l.funcName,N=d[0];return{type:"text",mode:p.mode,body:Qr(N),font:x}},htmlBuilder:function(l,d){var p=So(l,d),x=oi(l.body,p,!0);return gt.makeSpan(["mord","text"],gt.tryCombineChars(x),p)},mathmlBuilder:function(l,d){var p=So(l,d);return ur(l.body,p)}}),Gn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var p=l.parser;return{type:"underline",mode:p.mode,body:d[0]}},htmlBuilder:function(l,d){var p=$r(l.body,d),x=gt.makeLineSpan("underline-line",d),N=d.fontMetrics().defaultRuleThickness,ue=gt.makeVList({positionType:"top",positionData:p.height,children:[{type:"kern",size:N},{type:"elem",elem:x},{type:"kern",size:3*N},{type:"elem",elem:p}]},d);return gt.makeSpan(["mord","underline"],[ue],d)},mathmlBuilder:function(l,d){var p=new Mn.MathNode("mo",[new Mn.TextNode("\u203E")]);p.setAttribute("stretchy","true");var x=new Mn.MathNode("munder",[Jn(l.body,d),p]);return x.setAttribute("accentunder","true"),x}}),Gn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(l,d,p){throw new m("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(l,d){for(var p=xo(l),x=[],N=d.havingStyle(d.style.text()),ue=0;ue<p.length;ue++){var ke=p[ue];ke==="~"&&(ke="\\textasciitilde"),x.push(gt.makeSymbol(ke,"Typewriter-Regular",l.mode,N,["mord","texttt"]))}return gt.makeSpan(["mord","text"].concat(N.sizingClasses(d)),gt.tryCombineChars(x),N)},mathmlBuilder:function(l,d){var p=new Mn.TextNode(xo(l)),x=new Mn.MathNode("mtext",[p]);return x.setAttribute("mathvariant","monospace"),x}});var xo=function(l){return l.body.replace(/ /g,l.star?"\u2423":"\xA0")},to=Or,Ba=to,no=`[ \r
]`,Eo="\\\\[a-zA-Z@]+",ce="\\\\[^\uD800-\uDFFF]",Ee=""+Eo+no+"*",je=new RegExp("^("+Eo+")"+no+"*$"),Ye="[\u0300-\u036F]",st=new RegExp(Ye+"+$"),ot="("+no+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ye+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ye+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ee)+("|"+ce+")"),Tt=function(){function se(d,p){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=d,this.settings=p,this.tokenRegex=new RegExp(ot,"g"),this.catcodes={"%":14}}var l=se.prototype;return l.setCatcode=function(p,x){this.catcodes[p]=x},l.lex=function(){var p=this.input,x=this.tokenRegex.lastIndex;if(x===p.length)return new ge("EOF",new re(this,x,x));var N=this.tokenRegex.exec(p);if(N===null||N.index!==x)throw new m("Unexpected character: '"+p[x]+"'",new ge(p[x],new re(this,x,x+1)));var ue=N[2]||" ";if(this.catcodes[ue]===14){var ke=p.indexOf(`
`,this.tokenRegex.lastIndex);return ke===-1?(this.tokenRegex.lastIndex=p.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=ke+1,this.lex()}var ze=ue.match(je);return ze&&(ue=ze[1]),new ge(ue,new re(this,x,this.tokenRegex.lastIndex))},se}(),Rt=function(){function se(d,p){d===void 0&&(d={}),p===void 0&&(p={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=p,this.builtins=d,this.undefStack=[]}var l=se.prototype;return l.beginGroup=function(){this.undefStack.push({})},l.endGroup=function(){if(this.undefStack.length===0)throw new m("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var p=this.undefStack.pop();for(var x in p)p.hasOwnProperty(x)&&(p[x]===void 0?delete this.current[x]:this.current[x]=p[x])},l.has=function(p){return this.current.hasOwnProperty(p)||this.builtins.hasOwnProperty(p)},l.get=function(p){return this.current.hasOwnProperty(p)?this.current[p]:this.builtins[p]},l.set=function(p,x,N){if(N===void 0&&(N=!1),N){for(var ue=0;ue<this.undefStack.length;ue++)delete this.undefStack[ue][p];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][p]=x)}else{var ke=this.undefStack[this.undefStack.length-1];ke&&!ke.hasOwnProperty(p)&&(ke[p]=this.current[p])}this.current[p]=x},se}(),At={},Mt=At;function Ce(se,l){At[se]=l}Ce("\\@firstoftwo",function(se){var l=se.consumeArgs(2);return{tokens:l[0],numArgs:0}}),Ce("\\@secondoftwo",function(se){var l=se.consumeArgs(2);return{tokens:l[1],numArgs:0}}),Ce("\\@ifnextchar",function(se){var l=se.consumeArgs(3),d=se.future();return l[0].length===1&&l[0][0].text===d.text?{tokens:l[1],numArgs:0}:{tokens:l[2],numArgs:0}}),Ce("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Ce("\\TextOrMath",function(se){var l=se.consumeArgs(2);return se.mode==="text"?{tokens:l[0],numArgs:0}:{tokens:l[1],numArgs:0}});var Qt={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};Ce("\\char",function(se){var l=se.popToken(),d,p="";if(l.text==="'")d=8,l=se.popToken();else if(l.text==='"')d=16,l=se.popToken();else if(l.text==="`")if(l=se.popToken(),l.text[0]==="\\")p=l.text.charCodeAt(1);else{if(l.text==="EOF")throw new m("\\char` missing argument");p=l.text.charCodeAt(0)}else d=10;if(d){if(p=Qt[l.text],p==null||p>=d)throw new m("Invalid base-"+d+" digit "+l.text);for(var x;(x=Qt[se.future().text])!=null&&x<d;)p*=d,p+=x,se.popToken()}return"\\@char{"+p+"}"});var Sn=function(l,d){var p=l.consumeArgs(1)[0];if(p.length!==1)throw new m("\\gdef's first argument must be a macro name");var x=p[0].text,N=0;for(p=l.consumeArgs(1)[0];p.length===1&&p[0].text==="#";){if(p=l.consumeArgs(1)[0],p.length!==1)throw new m('Invalid argument number length "'+p.length+'"');if(!/^[1-9]$/.test(p[0].text))throw new m('Invalid argument number "'+p[0].text+'"');if(N++,parseInt(p[0].text)!==N)throw new m('Argument number "'+p[0].text+'" out of order');p=l.consumeArgs(1)[0]}return l.macros.set(x,{tokens:p,numArgs:N},d),""};Ce("\\gdef",function(se){return Sn(se,!0)}),Ce("\\def",function(se){return Sn(se,!1)}),Ce("\\global",function(se){var l=se.consumeArgs(1)[0];if(l.length!==1)throw new m("Invalid command after \\global");var d=l[0].text;if(d==="\\def")return Sn(se,!0);throw new m("Invalid command '"+d+"' after \\global")});var hn=function(l,d,p){var x=l.consumeArgs(1)[0];if(x.length!==1)throw new m("\\newcommand's first argument must be a macro name");var N=x[0].text,ue=l.isDefined(N);if(ue&&!d)throw new m("\\newcommand{"+N+"} attempting to redefine "+(N+"; use \\renewcommand"));if(!ue&&!p)throw new m("\\renewcommand{"+N+"} when command "+N+" does not yet exist; use \\newcommand");var ke=0;if(x=l.consumeArgs(1)[0],x.length===1&&x[0].text==="["){for(var ze="",nt=l.expandNextToken();nt.text!=="]"&&nt.text!=="EOF";)ze+=nt.text,nt=l.expandNextToken();if(!ze.match(/^\s*[0-9]+\s*$/))throw new m("Invalid number of arguments: "+ze);ke=parseInt(ze),x=l.consumeArgs(1)[0]}return l.macros.set(N,{tokens:x,numArgs:ke}),""};Ce("\\newcommand",function(se){return hn(se,!1,!0)}),Ce("\\renewcommand",function(se){return hn(se,!0,!1)}),Ce("\\providecommand",function(se){return hn(se,!0,!0)}),Ce("\\bgroup","{"),Ce("\\egroup","}"),Ce("\\lq","`"),Ce("\\rq","'"),Ce("\\aa","\\r a"),Ce("\\AA","\\r A"),Ce("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Ce("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Ce("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Ce("\u212C","\\mathscr{B}"),Ce("\u2130","\\mathscr{E}"),Ce("\u2131","\\mathscr{F}"),Ce("\u210B","\\mathscr{H}"),Ce("\u2110","\\mathscr{I}"),Ce("\u2112","\\mathscr{L}"),Ce("\u2133","\\mathscr{M}"),Ce("\u211B","\\mathscr{R}"),Ce("\u212D","\\mathfrak{C}"),Ce("\u210C","\\mathfrak{H}"),Ce("\u2128","\\mathfrak{Z}"),Ce("\\Bbbk","\\Bbb{k}"),Ce("\xB7","\\cdotp"),Ce("\\llap","\\mathllap{\\textrm{#1}}"),Ce("\\rlap","\\mathrlap{\\textrm{#1}}"),Ce("\\clap","\\mathclap{\\textrm{#1}}"),Ce("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Ce("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Ce("\\ne","\\neq"),Ce("\u2260","\\neq"),Ce("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Ce("\u2209","\\notin"),Ce("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Ce("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Ce("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Ce("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Ce("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Ce("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Ce("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Ce("\u27C2","\\perp"),Ce("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Ce("\u220C","\\notni"),Ce("\u231C","\\ulcorner"),Ce("\u231D","\\urcorner"),Ce("\u231E","\\llcorner"),Ce("\u231F","\\lrcorner"),Ce("\xA9","\\copyright"),Ce("\xAE","\\textregistered"),Ce("\uFE0F","\\textregistered"),Ce("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Ce("\u22EE","\\vdots"),Ce("\\varGamma","\\mathit{\\Gamma}"),Ce("\\varDelta","\\mathit{\\Delta}"),Ce("\\varTheta","\\mathit{\\Theta}"),Ce("\\varLambda","\\mathit{\\Lambda}"),Ce("\\varXi","\\mathit{\\Xi}"),Ce("\\varPi","\\mathit{\\Pi}"),Ce("\\varSigma","\\mathit{\\Sigma}"),Ce("\\varUpsilon","\\mathit{\\Upsilon}"),Ce("\\varPhi","\\mathit{\\Phi}"),Ce("\\varPsi","\\mathit{\\Psi}"),Ce("\\varOmega","\\mathit{\\Omega}"),Ce("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Ce("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Ce("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Ce("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Ce("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Ce("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var bn={",":"\\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"};Ce("\\dots",function(se){var l="\\dotso",d=se.expandAfterFuture().text;return d in bn?l=bn[d]:(d.substr(0,4)==="\\not"||d in Kt.math&&B.contains(["bin","rel"],Kt.math[d].group))&&(l="\\dotsb"),l});var Kn={")":!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};Ce("\\dotso",function(se){var l=se.future().text;return l in Kn?"\\ldots\\,":"\\ldots"}),Ce("\\dotsc",function(se){var l=se.future().text;return l in Kn&&l!==","?"\\ldots\\,":"\\ldots"}),Ce("\\cdots",function(se){var l=se.future().text;return l in Kn?"\\@cdots\\,":"\\@cdots"}),Ce("\\dotsb","\\cdots"),Ce("\\dotsm","\\cdots"),Ce("\\dotsi","\\!\\cdots"),Ce("\\dotsx","\\ldots\\,"),Ce("\\DOTSI","\\relax"),Ce("\\DOTSB","\\relax"),Ce("\\DOTSX","\\relax"),Ce("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Ce("\\,","\\tmspace+{3mu}{.1667em}"),Ce("\\thinspace","\\,"),Ce("\\>","\\mskip{4mu}"),Ce("\\:","\\tmspace+{4mu}{.2222em}"),Ce("\\medspace","\\:"),Ce("\\;","\\tmspace+{5mu}{.2777em}"),Ce("\\thickspace","\\;"),Ce("\\!","\\tmspace-{3mu}{.1667em}"),Ce("\\negthinspace","\\!"),Ce("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Ce("\\negthickspace","\\tmspace-{5mu}{.277em}"),Ce("\\enspace","\\kern.5em "),Ce("\\enskip","\\hskip.5em\\relax"),Ce("\\quad","\\hskip1em\\relax"),Ce("\\qquad","\\hskip2em\\relax"),Ce("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Ce("\\tag@paren","\\tag@literal{({#1})}"),Ce("\\tag@literal",function(se){if(se.macros.get("\\df@tag"))throw new m("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Ce("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Ce("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Ce("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Ce("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Ce("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Ce("\\\\","\\newline"),Ce("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Nn=He["Main-Regular"][84][1]-.7*He["Main-Regular"][65][1]+"em";Ce("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Nn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Ce("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Nn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Ce("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Ce("\\@hspace","\\hskip #1\\relax"),Ce("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Ce("\\ordinarycolon",":"),Ce("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Ce("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Ce("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Ce("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Ce("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Ce("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Ce("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Ce("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Ce("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Ce("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Ce("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Ce("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Ce("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Ce("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Ce("\u2237","\\dblcolon"),Ce("\u2239","\\eqcolon"),Ce("\u2254","\\coloneqq"),Ce("\u2255","\\eqqcolon"),Ce("\u2A74","\\Coloneqq"),Ce("\\ratio","\\vcentcolon"),Ce("\\coloncolon","\\dblcolon"),Ce("\\colonequals","\\coloneqq"),Ce("\\coloncolonequals","\\Coloneqq"),Ce("\\equalscolon","\\eqqcolon"),Ce("\\equalscoloncolon","\\Eqqcolon"),Ce("\\colonminus","\\coloneq"),Ce("\\coloncolonminus","\\Coloneq"),Ce("\\minuscolon","\\eqcolon"),Ce("\\minuscoloncolon","\\Eqcolon"),Ce("\\coloncolonapprox","\\Colonapprox"),Ce("\\coloncolonsim","\\Colonsim"),Ce("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ce("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ce("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ce("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ce("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Ce("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Ce("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Ce("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Ce("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Ce("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Ce("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Ce("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Ce("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Ce("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Ce("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Ce("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Ce("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Ce("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Ce("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Ce("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Ce("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Ce("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Ce("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Ce("\u27E6","\\llbracket"),Ce("\u27E7","\\rrbracket"),Ce("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Ce("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Ce("\u2983","\\lBrace"),Ce("\u2984","\\rBrace"),Ce("\\darr","\\downarrow"),Ce("\\dArr","\\Downarrow"),Ce("\\Darr","\\Downarrow"),Ce("\\lang","\\langle"),Ce("\\rang","\\rangle"),Ce("\\uarr","\\uparrow"),Ce("\\uArr","\\Uparrow"),Ce("\\Uarr","\\Uparrow"),Ce("\\N","\\mathbb{N}"),Ce("\\R","\\mathbb{R}"),Ce("\\Z","\\mathbb{Z}"),Ce("\\alef","\\aleph"),Ce("\\alefsym","\\aleph"),Ce("\\Alpha","\\mathrm{A}"),Ce("\\Beta","\\mathrm{B}"),Ce("\\bull","\\bullet"),Ce("\\Chi","\\mathrm{X}"),Ce("\\clubs","\\clubsuit"),Ce("\\cnums","\\mathbb{C}"),Ce("\\Complex","\\mathbb{C}"),Ce("\\Dagger","\\ddagger"),Ce("\\diamonds","\\diamondsuit"),Ce("\\empty","\\emptyset"),Ce("\\Epsilon","\\mathrm{E}"),Ce("\\Eta","\\mathrm{H}"),Ce("\\exist","\\exists"),Ce("\\harr","\\leftrightarrow"),Ce("\\hArr","\\Leftrightarrow"),Ce("\\Harr","\\Leftrightarrow"),Ce("\\hearts","\\heartsuit"),Ce("\\image","\\Im"),Ce("\\infin","\\infty"),Ce("\\Iota","\\mathrm{I}"),Ce("\\isin","\\in"),Ce("\\Kappa","\\mathrm{K}"),Ce("\\larr","\\leftarrow"),Ce("\\lArr","\\Leftarrow"),Ce("\\Larr","\\Leftarrow"),Ce("\\lrarr","\\leftrightarrow"),Ce("\\lrArr","\\Leftrightarrow"),Ce("\\Lrarr","\\Leftrightarrow"),Ce("\\Mu","\\mathrm{M}"),Ce("\\natnums","\\mathbb{N}"),Ce("\\Nu","\\mathrm{N}"),Ce("\\Omicron","\\mathrm{O}"),Ce("\\plusmn","\\pm"),Ce("\\rarr","\\rightarrow"),Ce("\\rArr","\\Rightarrow"),Ce("\\Rarr","\\Rightarrow"),Ce("\\real","\\Re"),Ce("\\reals","\\mathbb{R}"),Ce("\\Reals","\\mathbb{R}"),Ce("\\Rho","\\mathrm{P}"),Ce("\\sdot","\\cdot"),Ce("\\sect","\\S"),Ce("\\spades","\\spadesuit"),Ce("\\sub","\\subset"),Ce("\\sube","\\subseteq"),Ce("\\supe","\\supseteq"),Ce("\\Tau","\\mathrm{T}"),Ce("\\thetasym","\\vartheta"),Ce("\\weierp","\\wp"),Ce("\\Zeta","\\mathrm{Z}"),Ce("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Ce("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Ce("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Ce("\\blue","\\textcolor{##6495ed}{#1}"),Ce("\\orange","\\textcolor{##ffa500}{#1}"),Ce("\\pink","\\textcolor{##ff00af}{#1}"),Ce("\\red","\\textcolor{##df0030}{#1}"),Ce("\\green","\\textcolor{##28ae7b}{#1}"),Ce("\\gray","\\textcolor{gray}{#1}"),Ce("\\purple","\\textcolor{##9d38bd}{#1}"),Ce("\\blueA","\\textcolor{##ccfaff}{#1}"),Ce("\\blueB","\\textcolor{##80f6ff}{#1}"),Ce("\\blueC","\\textcolor{##63d9ea}{#1}"),Ce("\\blueD","\\textcolor{##11accd}{#1}"),Ce("\\blueE","\\textcolor{##0c7f99}{#1}"),Ce("\\tealA","\\textcolor{##94fff5}{#1}"),Ce("\\tealB","\\textcolor{##26edd5}{#1}"),Ce("\\tealC","\\textcolor{##01d1c1}{#1}"),Ce("\\tealD","\\textcolor{##01a995}{#1}"),Ce("\\tealE","\\textcolor{##208170}{#1}"),Ce("\\greenA","\\textcolor{##b6ffb0}{#1}"),Ce("\\greenB","\\textcolor{##8af281}{#1}"),Ce("\\greenC","\\textcolor{##74cf70}{#1}"),Ce("\\greenD","\\textcolor{##1fab54}{#1}"),Ce("\\greenE","\\textcolor{##0d923f}{#1}"),Ce("\\goldA","\\textcolor{##ffd0a9}{#1}"),Ce("\\goldB","\\textcolor{##ffbb71}{#1}"),Ce("\\goldC","\\textcolor{##ff9c39}{#1}"),Ce("\\goldD","\\textcolor{##e07d10}{#1}"),Ce("\\goldE","\\textcolor{##a75a05}{#1}"),Ce("\\redA","\\textcolor{##fca9a9}{#1}"),Ce("\\redB","\\textcolor{##ff8482}{#1}"),Ce("\\redC","\\textcolor{##f9685d}{#1}"),Ce("\\redD","\\textcolor{##e84d39}{#1}"),Ce("\\redE","\\textcolor{##bc2612}{#1}"),Ce("\\maroonA","\\textcolor{##ffbde0}{#1}"),Ce("\\maroonB","\\textcolor{##ff92c6}{#1}"),Ce("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Ce("\\maroonD","\\textcolor{##ca337c}{#1}"),Ce("\\maroonE","\\textcolor{##9e034e}{#1}"),Ce("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Ce("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Ce("\\purpleC","\\textcolor{##aa87ff}{#1}"),Ce("\\purpleD","\\textcolor{##7854ab}{#1}"),Ce("\\purpleE","\\textcolor{##543b78}{#1}"),Ce("\\mintA","\\textcolor{##f5f9e8}{#1}"),Ce("\\mintB","\\textcolor{##edf2df}{#1}"),Ce("\\mintC","\\textcolor{##e0e5cc}{#1}"),Ce("\\grayA","\\textcolor{##f6f7f7}{#1}"),Ce("\\grayB","\\textcolor{##f0f1f2}{#1}"),Ce("\\grayC","\\textcolor{##e3e5e6}{#1}"),Ce("\\grayD","\\textcolor{##d6d8da}{#1}"),Ce("\\grayE","\\textcolor{##babec2}{#1}"),Ce("\\grayF","\\textcolor{##888d93}{#1}"),Ce("\\grayG","\\textcolor{##626569}{#1}"),Ce("\\grayH","\\textcolor{##3b3e40}{#1}"),Ce("\\grayI","\\textcolor{##21242c}{#1}"),Ce("\\kaBlue","\\textcolor{##314453}{#1}"),Ce("\\kaGreen","\\textcolor{##71B307}{#1}");var zn={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Un=function(){function se(d,p,x){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=p,this.expansionCount=0,this.feed(d),this.macros=new Rt(Mt,p.macros),this.mode=x,this.stack=[]}var l=se.prototype;return l.feed=function(p){this.lexer=new Tt(p,this.settings)},l.switchMode=function(p){this.mode=p},l.beginGroup=function(){this.macros.beginGroup()},l.endGroup=function(){this.macros.endGroup()},l.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},l.popToken=function(){return this.future(),this.stack.pop()},l.pushToken=function(p){this.stack.push(p)},l.pushTokens=function(p){var x;(x=this.stack).push.apply(x,p)},l.consumeSpaces=function(){for(;;){var p=this.future();if(p.text===" ")this.stack.pop();else break}},l.consumeArgs=function(p){for(var x=[],N=0;N<p;++N){this.consumeSpaces();var ue=this.popToken();if(ue.text==="{"){for(var ke=[],ze=1;ze!==0;){var nt=this.popToken();if(ke.push(nt),nt.text==="{")++ze;else if(nt.text==="}")--ze;else if(nt.text==="EOF")throw new m("End of input in macro argument",ue)}ke.pop(),ke.reverse(),x[N]=ke}else{if(ue.text==="EOF")throw new m("End of input expecting macro argument");x[N]=[ue]}}return x},l.expandOnce=function(){var p=this.popToken(),x=p.text,N=this._getExpansion(x);if(N==null)return this.pushToken(p),p;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new m("Too many expansions: infinite loop or need to increase maxExpand setting");var ue=N.tokens;if(N.numArgs){var ke=this.consumeArgs(N.numArgs);ue=ue.slice();for(var ze=ue.length-1;ze>=0;--ze){var nt=ue[ze];if(nt.text==="#"){if(ze===0)throw new m("Incomplete placeholder at end of macro body",nt);if(nt=ue[--ze],nt.text==="#")ue.splice(ze+1,1);else if(/^[1-9]$/.test(nt.text)){var vt;(vt=ue).splice.apply(vt,[ze,2].concat(ke[+nt.text-1]))}else throw new m("Not a valid argument number",nt)}}}return this.pushTokens(ue),ue},l.expandAfterFuture=function(){return this.expandOnce(),this.future()},l.expandNextToken=function(){for(;;){var p=this.expandOnce();if(p instanceof ge)if(p.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},l.expandMacro=function(p){if(this.macros.get(p)){var x=[],N=this.stack.length;for(this.pushToken(new ge(p));this.stack.length>N;){var ue=this.expandOnce();ue instanceof ge&&x.push(this.stack.pop())}return x}},l.expandMacroAsText=function(p){var x=this.expandMacro(p);return x&&x.map(function(N){return N.text}).join("")},l._getExpansion=function(p){var x=this.macros.get(p);if(x==null)return x;var N=typeof x=="function"?x(this):x;if(typeof N=="string"){var ue=0;if(N.indexOf("#")!==-1)for(var ke=N.replace(/##/g,"");ke.indexOf("#"+(ue+1))!==-1;)++ue;for(var ze=new Tt(N,this.settings),nt=[],vt=ze.lex();vt.text!=="EOF";)nt.push(vt),vt=ze.lex();nt.reverse();var Lt={tokens:nt,numArgs:ue};return Lt}return N},l.isDefined=function(p){return this.macros.has(p)||Ba.hasOwnProperty(p)||Kt.math.hasOwnProperty(p)||Kt.text.hasOwnProperty(p)||zn.hasOwnProperty(p)},se}(),Yn={"\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"}},Ar={\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"},_r=function(){function se(d,p){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 Un(d,p,this.mode),this.settings=p,this.leftrightDepth=0}var l=se.prototype;return l.expect=function(p,x){if(x===void 0&&(x=!0),this.fetch().text!==p)throw new m("Expected '"+p+"', got '"+this.fetch().text+"'",this.fetch());x&&this.consume()},l.consume=function(){this.nextToken=null},l.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},l.switchMode=function(p){this.mode=p,this.gullet.switchMode(p)},l.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var p=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),p},l.parseExpression=function(p,x){for(var N=[];;){this.mode==="math"&&this.consumeSpaces();var ue=this.fetch();if(se.endOfExpression.indexOf(ue.text)!==-1||x&&ue.text===x||p&&Ba[ue.text]&&Ba[ue.text].infix)break;var ke=this.parseAtom(x);if(!ke)break;N.push(ke)}return this.mode==="text"&&this.formLigatures(N),this.handleInfixNodes(N)},l.handleInfixNodes=function(p){for(var x=-1,N,ue=0;ue<p.length;ue++){var ke=lr(p[ue],"infix");if(ke){if(x!==-1)throw new m("only one infix operator per group",ke.token);x=ue,N=ke.replaceWith}}if(x!==-1&&N){var ze,nt,vt=p.slice(0,x),Lt=p.slice(x+1);vt.length===1&&vt[0].type==="ordgroup"?ze=vt[0]:ze={type:"ordgroup",mode:this.mode,body:vt},Lt.length===1&&Lt[0].type==="ordgroup"?nt=Lt[0]:nt={type:"ordgroup",mode:this.mode,body:Lt};var qt;return N==="\\\\abovefrac"?qt=this.callFunction(N,[ze,p[x],nt],[]):qt=this.callFunction(N,[ze,nt],[]),[qt]}else return p},l.handleSupSubscript=function(p){var x=this.fetch(),N=x.text;this.consume();var ue=this.parseGroup(p,!1,se.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!ue)throw new m("Expected group after '"+N+"'",x);return ue},l.formatUnsupportedCmd=function(p){for(var x=[],N=0;N<p.length;N++)x.push({type:"textord",mode:"text",text:p[N]});var ue={type:"text",mode:this.mode,body:x},ke={type:"color",mode:this.mode,color:this.settings.errorColor,body:[ue]};return ke},l.parseAtom=function(p){var x=this.parseGroup("atom",!1,null,p);if(this.mode==="text")return x;for(var N,ue;;){this.consumeSpaces();var ke=this.fetch();if(ke.text==="\\limits"||ke.text==="\\nolimits"){var ze=lr(x,"op");if(ze){var nt=ke.text==="\\limits";ze.limits=nt,ze.alwaysHandleSupSub=!0}else if(ze=lr(x,"operatorname"),ze&&ze.alwaysHandleSupSub){var vt=ke.text==="\\limits";ze.limits=vt}else throw new m("Limit controls must follow a math operator",ke);this.consume()}else if(ke.text==="^"){if(N)throw new m("Double superscript",ke);N=this.handleSupSubscript("superscript")}else if(ke.text==="_"){if(ue)throw new m("Double subscript",ke);ue=this.handleSupSubscript("subscript")}else if(ke.text==="'"){if(N)throw new m("Double superscript",ke);var Lt={type:"textord",mode:this.mode,text:"\\prime"},qt=[Lt];for(this.consume();this.fetch().text==="'";)qt.push(Lt),this.consume();this.fetch().text==="^"&&qt.push(this.handleSupSubscript("superscript")),N={type:"ordgroup",mode:this.mode,body:qt}}else break}return N||ue?{type:"supsub",mode:this.mode,base:x,sup:N,sub:ue}:x},l.parseFunction=function(p,x,N){var ue=this.fetch(),ke=ue.text,ze=Ba[ke];if(!ze)return null;if(this.consume(),N!=null&&ze.greediness<=N)throw new m("Got function '"+ke+"' with no arguments"+(x?" as "+x:""),ue);if(this.mode==="text"&&!ze.allowedInText)throw new m("Can't use function '"+ke+"' in text mode",ue);if(this.mode==="math"&&ze.allowedInMath===!1)throw new m("Can't use function '"+ke+"' in math mode",ue);var nt=this.parseArguments(ke,ze),vt=nt.args,Lt=nt.optArgs;return this.callFunction(ke,vt,Lt,ue,p)},l.callFunction=function(p,x,N,ue,ke){var ze={funcName:p,parser:this,token:ue,breakOnTokenText:ke},nt=Ba[p];if(nt&&nt.handler)return nt.handler(ze,x,N);throw new m("No function handler for "+p)},l.parseArguments=function(p,x){var N=x.numArgs+x.numOptionalArgs;if(N===0)return{args:[],optArgs:[]};for(var ue=x.greediness,ke=[],ze=[],nt=0;nt<N;nt++){var vt=x.argTypes&&x.argTypes[nt],Lt=nt<x.numOptionalArgs,qt=nt>0&&!Lt||nt===0&&!Lt&&this.mode==="math",Cn=this.parseGroupOfType("argument to '"+p+"'",vt,Lt,ue,qt);if(!Cn){if(Lt){ze.push(null);continue}throw new m("Expected group after '"+p+"'",this.fetch())}(Lt?ze:ke).push(Cn)}return{args:ke,optArgs:ze}},l.parseGroupOfType=function(p,x,N,ue,ke){switch(x){case"color":return ke&&this.consumeSpaces(),this.parseColorGroup(N);case"size":return ke&&this.consumeSpaces(),this.parseSizeGroup(N);case"url":return this.parseUrlGroup(N,ke);case"math":case"text":return this.parseGroup(p,N,ue,void 0,x,ke);case"hbox":{var ze=this.parseGroup(p,N,ue,void 0,"text",ke);if(!ze)return ze;var nt={type:"styling",mode:ze.mode,body:[ze],style:"text"};return nt}case"raw":{if(ke&&this.consumeSpaces(),N&&this.fetch().text==="{")return null;var vt=this.parseStringGroup("raw",N,!0);if(vt)return{type:"raw",mode:"text",string:vt.text};throw new m("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(p,N,ue,void 0,void 0,ke);default:throw new m("Unknown group type as "+p,this.fetch())}},l.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},l.parseStringGroup=function(p,x,N){var ue=x?"[":"{",ke=x?"]":"}",ze=this.fetch();if(ze.text!==ue){if(x)return null;if(N&&ze.text!=="EOF"&&/[^{}[\]]/.test(ze.text))return this.consume(),ze}var nt=this.mode;this.mode="text",this.expect(ue);for(var vt="",Lt=this.fetch(),qt=0,Cn=Lt,en;(en=this.fetch()).text!==ke||N&&qt>0;){switch(en.text){case"EOF":throw new m("Unexpected end of input in "+p,Lt.range(Cn,vt));case ue:qt++;break;case ke:qt--;break}Cn=en,vt+=Cn.text,this.consume()}return this.expect(ke),this.mode=nt,Lt.range(Cn,vt)},l.parseRegexGroup=function(p,x){var N=this.mode;this.mode="text";for(var ue=this.fetch(),ke=ue,ze="",nt;(nt=this.fetch()).text!=="EOF"&&p.test(ze+nt.text);)ke=nt,ze+=ke.text,this.consume();if(ze==="")throw new m("Invalid "+x+": '"+ue.text+"'",ue);return this.mode=N,ue.range(ke,ze)},l.parseColorGroup=function(p){var x=this.parseStringGroup("color",p);if(!x)return null;var N=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(x.text);if(!N)throw new m("Invalid color: '"+x.text+"'",x);var ue=N[0];return/^[0-9a-f]{6}$/i.test(ue)&&(ue="#"+ue),{type:"color-token",mode:this.mode,color:ue}},l.parseSizeGroup=function(p){var x,N=!1;if(!p&&this.fetch().text!=="{"?x=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):x=this.parseStringGroup("size",p),!x)return null;!p&&x.text.length===0&&(x.text="0pt",N=!0);var ue=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(x.text);if(!ue)throw new m("Invalid size: '"+x.text+"'",x);var ke={number:+(ue[1]+ue[2]),unit:ue[3]};if(!ht(ke))throw new m("Invalid unit: '"+ke.unit+"'",x);return{type:"size",mode:this.mode,value:ke,isBlank:N}},l.parseUrlGroup=function(p,x){this.gullet.lexer.setCatcode("%",13);var N=this.parseStringGroup("url",p,!0);if(this.gullet.lexer.setCatcode("%",14),!N)return null;var ue=N.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:ue}},l.parseGroup=function(p,x,N,ue,ke,ze){var nt=this.mode;ke&&this.switchMode(ke),ze&&this.consumeSpaces();var vt=this.fetch(),Lt=vt.text,qt;if(x?Lt==="[":Lt==="{"||Lt==="\\begingroup"){this.consume();var Cn=se.endOfGroup[Lt];this.gullet.beginGroup();var en=this.parseExpression(!1,Cn),Je=this.fetch();this.expect(Cn),this.gullet.endGroup(),qt={type:"ordgroup",mode:this.mode,loc:re.range(vt,Je),body:en,semisimple:Lt==="\\begingroup"||void 0}}else if(x)qt=null;else if(qt=this.parseFunction(ue,p,N)||this.parseSymbol(),qt==null&&Lt[0]==="\\"&&!zn.hasOwnProperty(Lt)){if(this.settings.throwOnError)throw new m("Undefined control sequence: "+Lt,vt);qt=this.formatUnsupportedCmd(Lt),this.consume()}return ke&&this.switchMode(nt),qt},l.formLigatures=function(p){for(var x=p.length-1,N=0;N<x;++N){var ue=p[N],ke=ue.text;ke==="-"&&p[N+1].text==="-"&&(N+1<x&&p[N+2].text==="-"?(p.splice(N,3,{type:"textord",mode:"text",loc:re.range(ue,p[N+2]),text:"---"}),x-=2):(p.splice(N,2,{type:"textord",mode:"text",loc:re.range(ue,p[N+1]),text:"--"}),x-=1)),(ke==="'"||ke==="`")&&p[N+1].text===ke&&(p.splice(N,2,{type:"textord",mode:"text",loc:re.range(ue,p[N+1]),text:ke+ke}),x-=1)}},l.parseSymbol=function(){var p=this.fetch(),x=p.text;if(/^\\verb[^a-zA-Z]/.test(x)){this.consume();var N=x.slice(5),ue=N.charAt(0)==="*";if(ue&&(N=N.slice(1)),N.length<2||N.charAt(0)!==N.slice(-1))throw new m(`\\verb assertion failed --
please report what input caused this bug`);return N=N.slice(1,-1),{type:"verb",mode:"text",body:N,star:ue}}Ar.hasOwnProperty(x[0])&&!Kt[this.mode][x[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+x[0]+'" used in math mode',p),x=Ar[x[0]]+x.substr(1));var ke=st.exec(x);ke&&(x=x.substring(0,ke.index),x==="i"?x="\u0131":x==="j"&&(x="\u0237"));var ze;if(Kt[this.mode][x]){this.settings.strict&&this.mode==="math"&&sn.indexOf(x)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+x[0]+'" used in math mode',p);var nt=Kt[this.mode][x].group,vt=re.range(p),Lt;if(Ct.hasOwnProperty(nt)){var qt=nt;Lt={type:"atom",mode:this.mode,family:qt,loc:vt,text:x}}else Lt={type:nt,mode:this.mode,loc:vt,text:x};ze=Lt}else if(x.charCodeAt(0)>=128)this.settings.strict&&(Pe(x.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+x[0]+'" used in math mode',p):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+x[0]+'"'+(" ("+x.charCodeAt(0)+")"),p)),ze={type:"textord",mode:"text",loc:re.range(p),text:x};else return null;if(this.consume(),ke)for(var Cn=0;Cn<ke[0].length;Cn++){var en=ke[0][Cn];if(!Yn[en])throw new m("Unknown accent ' "+en+"'",p);var Je=Yn[en][this.mode];if(!Je)throw new m("Accent "+en+" unsupported in "+this.mode+" mode",p);ze={type:"accent",mode:this.mode,loc:re.range(p),label:Je,isStretchy:!1,isShifty:!0,base:ze}}return ze},se}();_r.endOfExpression=["}","\\endgroup","\\end","\\right","&"],_r.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},_r.SUPSUB_GREEDINESS=1;var br=function(l,d){if(!(typeof l=="string"||l instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var p=new _r(l,d);delete p.gullet.macros.current["\\df@tag"];var x=p.parse();if(p.gullet.macros.get("\\df@tag")){if(!d.displayMode)throw new m("\\tag works only in display equations");p.gullet.feed("\\df@tag"),x=[{type:"tag",mode:"text",body:x,tag:p.parse()}]}return x},kr=br,Vr=function(l,d,p){d.textContent="";var x=Wn(l,p).toNode();d.appendChild(x)};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."),Vr=function(){throw new m("KaTeX doesn't work in quirks mode.")});var rr=function(l,d){var p=Wn(l,d).toMarkup();return p},Sr=function(l,d){var p=new Z(d);return kr(l,p)},tr=function(l,d,p){if(p.throwOnError||!(l instanceof m))throw l;var x=gt.makeSpan(["katex-error"],[new T(d)]);return x.setAttribute("title",l.toString()),x.setAttribute("style","color:"+p.errorColor),x},Wn=function(l,d){var p=new Z(d);try{var x=kr(l,p);return Pi(x,l,p)}catch(N){return tr(N,l,p)}},pr=function(l,d){var p=new Z(d);try{var x=kr(l,p);return Ti(x,l,p)}catch(N){return tr(N,l,p)}},Nr={version:"0.11.1",render:Vr,renderToString:rr,ParseError:m,__parse:Sr,__renderToDomTree:Wn,__renderToHTMLTree:pr,__setFontMetrics:Qe,__defineSymbol:R,__defineMacro:Ce,__domTree:{Span:G,Anchor:U,SymbolNode:T,SvgNode:I,PathNode:ne,LineNode:$}},Jr=f.default=Nr}]).default})},32834:function(an){(function(it,f){an.exports=f()})(this,function(){"use strict";function it(qe,et){for(var Xe=0;Xe<et.length;Xe++){var _e=et[Xe];_e.enumerable=_e.enumerable||!1,_e.configurable=!0,"value"in _e&&(_e.writable=!0),Object.defineProperty(qe,_e.key,_e)}}function f(qe,et,Xe){return et&&it(qe.prototype,et),Xe&&it(qe,Xe),qe}function g(qe,et){if(qe){if(typeof qe=="string")return O(qe,et);var Xe=Object.prototype.toString.call(qe).slice(8,-1);if(Xe==="Object"&&qe.constructor&&(Xe=qe.constructor.name),Xe==="Map"||Xe==="Set")return Array.from(qe);if(Xe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Xe))return O(qe,et)}}function O(qe,et){(et==null||et>qe.length)&&(et=qe.length);for(var Xe=0,_e=new Array(et);Xe<et;Xe++)_e[Xe]=qe[Xe];return _e}function re(qe,et){var Xe=typeof Symbol!="undefined"&&qe[Symbol.iterator]||qe["@@iterator"];if(Xe)return(Xe=Xe.call(qe)).next.bind(Xe);if(Array.isArray(qe)||(Xe=g(qe))||et&&qe&&typeof qe.length=="number"){Xe&&(qe=Xe);var _e=0;return function(){return _e>=qe.length?{done:!0}:{done:!1,value:qe[_e++]}}}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 ge={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 m(qe){ge.exports.defaults=qe}ge.exports={defaults:F(),getDefaults:F,changeDefaults:m};var w=/[&<>"']/,he=/[&<>"']/g,o=/[<>"']|&(?!#?\w+;)/,M=/[<>"']|&(?!#?\w+;)/g,W={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},y=function(et){return W[et]};function b(qe,et){if(et){if(w.test(qe))return qe.replace(he,y)}else if(o.test(qe))return qe.replace(M,y);return qe}var A=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function C(qe){return qe.replace(A,function(et,Xe){return Xe=Xe.toLowerCase(),Xe==="colon"?":":Xe.charAt(0)==="#"?Xe.charAt(1)==="x"?String.fromCharCode(parseInt(Xe.substring(2),16)):String.fromCharCode(+Xe.substring(1)):""})}var K=/(^|[^\[])\^/g;function pe(qe,et){qe=qe.source||qe,et=et||"";var Xe={replace:function(Me,Oe){return Oe=Oe.source||Oe,Oe=Oe.replace(K,"$1"),qe=qe.replace(Me,Oe),Xe},getRegex:function(){return new RegExp(qe,et)}};return Xe}var B=/[^\w:]/g,Z=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function ie(qe,et,Xe){if(qe){var _e;try{_e=decodeURIComponent(C(Xe)).replace(B,"").toLowerCase()}catch(Me){return null}if(_e.indexOf("javascript:")===0||_e.indexOf("vbscript:")===0||_e.indexOf("data:")===0)return null}et&&!Z.test(Xe)&&(Xe=j(et,Xe));try{Xe=encodeURI(Xe).replace(/%25/g,"%")}catch(Me){return null}return Xe}var X={},L=/^[^:]+:\/*[^/]*$/,D=/^([^:]+:)[\s\S]*$/,Q=/^([^:]+:\/*[^/]*)[\s\S]*$/;function j(qe,et){X[" "+qe]||(L.test(qe)?X[" "+qe]=qe+"/":X[" "+qe]=le(qe,"/",!0)),qe=X[" "+qe];var Xe=qe.indexOf(":")===-1;return et.substring(0,2)==="//"?Xe?et:qe.replace(D,"$1")+et:et.charAt(0)==="/"?Xe?et:qe.replace(Q,"$1")+et:qe+et}var ve={exec:function(){}};function xe(qe){for(var et=1,Xe,_e;et<arguments.length;et++){Xe=arguments[et];for(_e in Xe)Object.prototype.hasOwnProperty.call(Xe,_e)&&(qe[_e]=Xe[_e])}return qe}function ye(qe,et){var Xe=qe.replace(/\|/g,function(Oe,rt,Ae){for(var rn=!1,Ge=rt;--Ge>=0&&Ae[Ge]==="\\";)rn=!rn;return rn?"|":" |"}),_e=Xe.split(/ \|/),Me=0;if(_e.length>et)_e.splice(et);else for(;_e.length<et;)_e.push("");for(;Me<_e.length;Me++)_e[Me]=_e[Me].trim().replace(/\\\|/g,"|");return _e}function le(qe,et,Xe){var _e=qe.length;if(_e===0)return"";for(var Me=0;Me<_e;){var Oe=qe.charAt(_e-Me-1);if(Oe===et&&!Xe)Me++;else if(Oe!==et&&Xe)Me++;else break}return qe.substr(0,_e-Me)}function oe(qe,et){if(qe.indexOf(et[1])===-1)return-1;for(var Xe=qe.length,_e=0,Me=0;Me<Xe;Me++)if(qe[Me]==="\\")Me++;else if(qe[Me]===et[0])_e++;else if(qe[Me]===et[1]&&(_e--,_e<0))return Me;return-1}function H(qe){qe&&qe.sanitize&&!qe.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 be(qe,et){if(et<1)return"";for(var Xe="";et>1;)et&1&&(Xe+=qe),et>>=1,qe+=qe;return Xe+qe}var J={escape:b,unescape:C,edit:pe,cleanUrl:ie,resolveUrl:j,noopTest:ve,merge:xe,splitCells:ye,rtrim:le,findClosingBracket:oe,checkSanitizeDeprecation:H,repeatString:be},me=ge.exports.defaults,ae=J.rtrim,v=J.splitCells,_=J.escape,Y=J.findClosingBracket;function q(qe,et,Xe){var _e=et.href,Me=et.title?_(et.title):null,Oe=qe[1].replace(/\\([\[\]])/g,"$1");return qe[0].charAt(0)!=="!"?{type:"link",raw:Xe,href:_e,title:Me,text:Oe}:{type:"image",raw:Xe,href:_e,title:Me,text:_(Oe)}}function Pe(qe,et){var Xe=qe.match(/^(\s+)(?:```)/);if(Xe===null)return et;var _e=Xe[1];return et.split(`
`).map(function(Me){var Oe=Me.match(/^\s+/);if(Oe===null)return Me;var rt=Oe[0];return rt.length>=_e.length?Me.slice(_e.length):Me}).join(`
`)}var Le=function(){function qe(Xe){this.options=Xe||me}var et=qe.prototype;return et.space=function(_e){var Me=this.rules.block.newline.exec(_e);if(Me)return Me[0].length>1?{type:"space",raw:Me[0]}:{raw:`
`}},et.code=function(_e){var Me=this.rules.block.code.exec(_e);if(Me){var Oe=Me[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Me[0],codeBlockStyle:"indented",text:this.options.pedantic?Oe:ae(Oe,`
`)}}},et.fences=function(_e){var Me=this.rules.block.fences.exec(_e);if(Me){var Oe=Me[0],rt=Pe(Oe,Me[3]||"");return{type:"code",raw:Oe,lang:Me[2]?Me[2].trim():Me[2],text:rt}}},et.heading=function(_e){var Me=this.rules.block.heading.exec(_e);if(Me){var Oe=Me[2].trim();if(/#$/.test(Oe)){var rt=ae(Oe,"#");(this.options.pedantic||!rt||/ $/.test(rt))&&(Oe=rt.trim())}return{type:"heading",raw:Me[0],depth:Me[1].length,text:Oe}}},et.nptable=function(_e){var Me=this.rules.block.nptable.exec(_e);if(Me){var Oe={type:"table",header:v(Me[1].replace(/^ *| *\| *$/g,"")),align:Me[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Me[3]?Me[3].replace(/\n$/,"").split(`
`):[],raw:Me[0]};if(Oe.header.length===Oe.align.length){var rt=Oe.align.length,Ae;for(Ae=0;Ae<rt;Ae++)/^ *-+: *$/.test(Oe.align[Ae])?Oe.align[Ae]="right":/^ *:-+: *$/.test(Oe.align[Ae])?Oe.align[Ae]="center":/^ *:-+ *$/.test(Oe.align[Ae])?Oe.align[Ae]="left":Oe.align[Ae]=null;for(rt=Oe.cells.length,Ae=0;Ae<rt;Ae++)Oe.cells[Ae]=v(Oe.cells[Ae],Oe.header.length);return Oe}}},et.hr=function(_e){var Me=this.rules.block.hr.exec(_e);if(Me)return{type:"hr",raw:Me[0]}},et.blockquote=function(_e){var Me=this.rules.block.blockquote.exec(_e);if(Me){var Oe=Me[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Me[0],text:Oe}}},et.list=function(_e){var Me=this.rules.block.list.exec(_e);if(Me){var Oe=Me[0],rt=Me[2],Ae=rt.length>1,rn={type:"list",raw:Oe,ordered:Ae,start:Ae?+rt.slice(0,-1):"",loose:!1,items:[]},Ge=Me[0].match(this.rules.block.item),En=!1,Dn,tn,Wt,It,Bt,We,_t,Et,Be,Re=Ge.length;Wt=this.rules.block.listItemStart.exec(Ge[0]);for(var pt=0;pt<Re;pt++){if(Dn=Ge[pt],Oe=Dn,this.options.pedantic||(Be=Dn.match(new RegExp("\\n\\s*\\n {0,"+(Wt[0].length-1)+"}\\S")),Be&&(Bt=Dn.length-Be.index+Ge.slice(pt+1).join(`
`).length,rn.raw=rn.raw.substring(0,rn.raw.length-Bt),Dn=Dn.substring(0,Be.index),Oe=Dn,Re=pt+1)),pt!==Re-1){if(It=this.rules.block.listItemStart.exec(Ge[pt+1]),this.options.pedantic?It[1].length>Wt[1].length:It[1].length>=Wt[0].length||It[1].length>3){Ge.splice(pt,2,Ge[pt]+(!this.options.pedantic&&It[1].length<Wt[0].length&&!Ge[pt].match(/\n$/)?"":`
`)+Ge[pt+1]),pt--,Re--;continue}else(!this.options.pedantic||this.options.smartLists?It[2][It[2].length-1]!==rt[rt.length-1]:Ae===(It[2].length===1))&&(Bt=Ge.slice(pt+1).join(`
`).length,rn.raw=rn.raw.substring(0,rn.raw.length-Bt),pt=Re-1);Wt=It}tn=Dn.length,Dn=Dn.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Dn.indexOf(`
`)&&(tn-=Dn.length,Dn=this.options.pedantic?Dn.replace(/^ {1,4}/gm,""):Dn.replace(new RegExp("^ {1,"+tn+"}","gm"),"")),Dn=ae(Dn,`
`),pt!==Re-1&&(Oe=Oe+`
`),We=En||/\n\n(?!\s*$)/.test(Oe),pt!==Re-1&&(En=Oe.slice(-2)===`
`,We||(We=En)),We&&(rn.loose=!0),this.options.gfm&&(_t=/^\[[ xX]\] /.test(Dn),Et=void 0,_t&&(Et=Dn[1]!==" ",Dn=Dn.replace(/^\[[ xX]\] +/,""))),rn.items.push({type:"list_item",raw:Oe,task:_t,checked:Et,loose:We,text:Dn})}return rn}},et.html=function(_e){var Me=this.rules.block.html.exec(_e);if(Me)return{type:this.options.sanitize?"paragraph":"html",raw:Me[0],pre:!this.options.sanitizer&&(Me[1]==="pre"||Me[1]==="script"||Me[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Me[0]):_(Me[0]):Me[0]}},et.def=function(_e){var Me=this.rules.block.def.exec(_e);if(Me){Me[3]&&(Me[3]=Me[3].substring(1,Me[3].length-1));var Oe=Me[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:Oe,raw:Me[0],href:Me[2],title:Me[3]}}},et.table=function(_e){var Me=this.rules.block.table.exec(_e);if(Me){var Oe={type:"table",header:v(Me[1].replace(/^ *| *\| *$/g,"")),align:Me[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Me[3]?Me[3].replace(/\n$/,"").split(`
`):[]};if(Oe.header.length===Oe.align.length){Oe.raw=Me[0];var rt=Oe.align.length,Ae;for(Ae=0;Ae<rt;Ae++)/^ *-+: *$/.test(Oe.align[Ae])?Oe.align[Ae]="right":/^ *:-+: *$/.test(Oe.align[Ae])?Oe.align[Ae]="center":/^ *:-+ *$/.test(Oe.align[Ae])?Oe.align[Ae]="left":Oe.align[Ae]=null;for(rt=Oe.cells.length,Ae=0;Ae<rt;Ae++)Oe.cells[Ae]=v(Oe.cells[Ae].replace(/^ *\| *| *\| *$/g,""),Oe.header.length);return Oe}}},et.lheading=function(_e){var Me=this.rules.block.lheading.exec(_e);if(Me)return{type:"heading",raw:Me[0],depth:Me[2].charAt(0)==="="?1:2,text:Me[1]}},et.paragraph=function(_e){var Me=this.rules.block.paragraph.exec(_e);if(Me)return{type:"paragraph",raw:Me[0],text:Me[1].charAt(Me[1].length-1)===`
`?Me[1].slice(0,-1):Me[1]}},et.text=function(_e){var Me=this.rules.block.text.exec(_e);if(Me)return{type:"text",raw:Me[0],text:Me[0]}},et.escape=function(_e){var Me=this.rules.inline.escape.exec(_e);if(Me)return{type:"escape",raw:Me[0],text:_(Me[1])}},et.tag=function(_e,Me,Oe){var rt=this.rules.inline.tag.exec(_e);if(rt)return!Me&&/^<a /i.test(rt[0])?Me=!0:Me&&/^<\/a>/i.test(rt[0])&&(Me=!1),!Oe&&/^<(pre|code|kbd|script)(\s|>)/i.test(rt[0])?Oe=!0:Oe&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(rt[0])&&(Oe=!1),{type:this.options.sanitize?"text":"html",raw:rt[0],inLink:Me,inRawBlock:Oe,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(rt[0]):_(rt[0]):rt[0]}},et.link=function(_e){var Me=this.rules.inline.link.exec(_e);if(Me){var Oe=Me[2].trim();if(!this.options.pedantic&&/^</.test(Oe)){if(!/>$/.test(Oe))return;var rt=ae(Oe.slice(0,-1),"\\");if((Oe.length-rt.length)%2===0)return}else{var Ae=Y(Me[2],"()");if(Ae>-1){var rn=Me[0].indexOf("!")===0?5:4,Ge=rn+Me[1].length+Ae;Me[2]=Me[2].substring(0,Ae),Me[0]=Me[0].substring(0,Ge).trim(),Me[3]=""}}var En=Me[2],Dn="";if(this.options.pedantic){var tn=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(En);tn&&(En=tn[1],Dn=tn[3])}else Dn=Me[3]?Me[3].slice(1,-1):"";return En=En.trim(),/^</.test(En)&&(this.options.pedantic&&!/>$/.test(Oe)?En=En.slice(1):En=En.slice(1,-1)),q(Me,{href:En&&En.replace(this.rules.inline._escapes,"$1"),title:Dn&&Dn.replace(this.rules.inline._escapes,"$1")},Me[0])}},et.reflink=function(_e,Me){var Oe;if((Oe=this.rules.inline.reflink.exec(_e))||(Oe=this.rules.inline.nolink.exec(_e))){var rt=(Oe[2]||Oe[1]).replace(/\s+/g," ");if(rt=Me[rt.toLowerCase()],!rt||!rt.href){var Ae=Oe[0].charAt(0);return{type:"text",raw:Ae,text:Ae}}return q(Oe,rt,Oe[0])}},et.emStrong=function(_e,Me,Oe){Oe===void 0&&(Oe="");var rt=this.rules.inline.emStrong.lDelim.exec(_e);if(rt&&!(rt[3]&&Oe.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-\uDC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A-\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-\u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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 Ae=rt[1]||rt[2]||"";if(!Ae||Ae&&(Oe===""||this.rules.inline.punctuation.exec(Oe))){var rn=rt[0].length-1,Ge,En,Dn=rn,tn=0,Wt=rt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Wt.lastIndex=0,Me=Me.slice(-1*_e.length+rn);(rt=Wt.exec(Me))!=null;)if(Ge=rt[1]||rt[2]||rt[3]||rt[4]||rt[5]||rt[6],!!Ge){if(En=Ge.length,rt[3]||rt[4]){Dn+=En;continue}else if((rt[5]||rt[6])&&rn%3&&!((rn+En)%3)){tn+=En;continue}if(Dn-=En,!(Dn>0))return En=Math.min(En,En+Dn+tn),Math.min(rn,En)%2?{type:"em",raw:_e.slice(0,rn+rt.index+En+1),text:_e.slice(1,rn+rt.index+En)}:{type:"strong",raw:_e.slice(0,rn+rt.index+En+1),text:_e.slice(2,rn+rt.index+En-1)}}}}},et.codespan=function(_e){var Me=this.rules.inline.code.exec(_e);if(Me){var Oe=Me[2].replace(/\n/g," "),rt=/[^ ]/.test(Oe),Ae=/^ /.test(Oe)&&/ $/.test(Oe);return rt&&Ae&&(Oe=Oe.substring(1,Oe.length-1)),Oe=_(Oe,!0),{type:"codespan",raw:Me[0],text:Oe}}},et.br=function(_e){var Me=this.rules.inline.br.exec(_e);if(Me)return{type:"br",raw:Me[0]}},et.del=function(_e){var Me=this.rules.inline.del.exec(_e);if(Me)return{type:"del",raw:Me[0],text:Me[2]}},et.autolink=function(_e,Me){var Oe=this.rules.inline.autolink.exec(_e);if(Oe){var rt,Ae;return Oe[2]==="@"?(rt=_(this.options.mangle?Me(Oe[1]):Oe[1]),Ae="mailto:"+rt):(rt=_(Oe[1]),Ae=rt),{type:"link",raw:Oe[0],text:rt,href:Ae,tokens:[{type:"text",raw:rt,text:rt}]}}},et.url=function(_e,Me){var Oe;if(Oe=this.rules.inline.url.exec(_e)){var rt,Ae;if(Oe[2]==="@")rt=_(this.options.mangle?Me(Oe[0]):Oe[0]),Ae="mailto:"+rt;else{var rn;do rn=Oe[0],Oe[0]=this.rules.inline._backpedal.exec(Oe[0])[0];while(rn!==Oe[0]);rt=_(Oe[0]),Oe[1]==="www."?Ae="http://"+rt:Ae=rt}return{type:"link",raw:Oe[0],text:rt,href:Ae,tokens:[{type:"text",raw:rt,text:rt}]}}},et.inlineText=function(_e,Me,Oe){var rt=this.rules.inline.text.exec(_e);if(rt){var Ae;return Me?Ae=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(rt[0]):_(rt[0]):rt[0]:Ae=_(this.options.smartypants?Oe(rt[0]):rt[0]),{type:"text",raw:rt[0],text:Ae}}},qe}(),Ue=J.noopTest,$e=J.edit,ut=J.merge,dt={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:Ue,table:Ue,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};dt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,dt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,dt.def=$e(dt.def).replace("label",dt._label).replace("title",dt._title).getRegex(),dt.bullet=/(?:[*+-]|\d{1,9}[.)])/,dt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,dt.item=$e(dt.item,"gm").replace(/bull/g,dt.bullet).getRegex(),dt.listItemStart=$e(/^( *)(bull) */).replace("bull",dt.bullet).getRegex(),dt.list=$e(dt.list).replace(/bull/g,dt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+dt.def.source+")").getRegex(),dt._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",dt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,dt.html=$e(dt.html,"i").replace("comment",dt._comment).replace("tag",dt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),dt.paragraph=$e(dt._paragraph).replace("hr",dt.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",dt._tag).getRegex(),dt.blockquote=$e(dt.blockquote).replace("paragraph",dt.paragraph).getRegex(),dt.normal=ut({},dt),dt.gfm=ut({},dt.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*|$)"}),dt.gfm.nptable=$e(dt.gfm.nptable).replace("hr",dt.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",dt._tag).getRegex(),dt.gfm.table=$e(dt.gfm.table).replace("hr",dt.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",dt._tag).getRegex(),dt.pedantic=ut({},dt.normal,{html:$e(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",dt._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:Ue,paragraph:$e(dt.normal._paragraph).replace("hr",dt.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",dt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var at={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ue,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:Ue,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};at._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",at.punctuation=$e(at.punctuation).replace(/punctuation/g,at._punctuation).getRegex(),at.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,at.escapedEmSt=/\\\*|\\_/g,at._comment=$e(dt._comment).replace("(?:-->|$)","-->").getRegex(),at.emStrong.lDelim=$e(at.emStrong.lDelim).replace(/punct/g,at._punctuation).getRegex(),at.emStrong.rDelimAst=$e(at.emStrong.rDelimAst,"g").replace(/punct/g,at._punctuation).getRegex(),at.emStrong.rDelimUnd=$e(at.emStrong.rDelimUnd,"g").replace(/punct/g,at._punctuation).getRegex(),at._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,at._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,at._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])?)+(?![-_])/,at.autolink=$e(at.autolink).replace("scheme",at._scheme).replace("email",at._email).getRegex(),at._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,at.tag=$e(at.tag).replace("comment",at._comment).replace("attribute",at._attribute).getRegex(),at._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,at._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,at._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,at.link=$e(at.link).replace("label",at._label).replace("href",at._href).replace("title",at._title).getRegex(),at.reflink=$e(at.reflink).replace("label",at._label).getRegex(),at.reflinkSearch=$e(at.reflinkSearch,"g").replace("reflink",at.reflink).replace("nolink",at.nolink).getRegex(),at.normal=ut({},at),at.pedantic=ut({},at.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",at._label).getRegex(),reflink:$e(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",at._label).getRegex()}),at.gfm=ut({},at.normal,{escape:$e(at.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),at.gfm.url=$e(at.gfm.url,"i").replace("email",at.gfm._extended_email).getRegex(),at.breaks=ut({},at.gfm,{br:$e(at.br).replace("{2,}","*").getRegex(),text:$e(at.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Pt={block:dt,inline:at},nn=Le,kt=ge.exports.defaults,Nt=Pt.block,lt=Pt.inline,wt=J.repeatString;function de(qe){return qe.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 fe(qe){var et="",Xe,_e,Me=qe.length;for(Xe=0;Xe<Me;Xe++)_e=qe.charCodeAt(Xe),Math.random()>.5&&(_e="x"+_e.toString(16)),et+="&#"+_e+";";return et}var G=function(){function qe(Xe){this.tokens=[],this.tokens.links=Object.create(null),this.options=Xe||kt,this.options.tokenizer=this.options.tokenizer||new nn,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var _e={block:Nt.normal,inline:lt.normal};this.options.pedantic?(_e.block=Nt.pedantic,_e.inline=lt.pedantic):this.options.gfm&&(_e.block=Nt.gfm,this.options.breaks?_e.inline=lt.breaks:_e.inline=lt.gfm),this.tokenizer.rules=_e}qe.lex=function(_e,Me){var Oe=new qe(Me);return Oe.lex(_e)},qe.lexInline=function(_e,Me){var Oe=new qe(Me);return Oe.inlineTokens(_e)};var et=qe.prototype;return et.lex=function(_e){return _e=_e.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(_e,this.tokens,!0),this.inline(this.tokens),this.tokens},et.blockTokens=function(_e,Me,Oe){Me===void 0&&(Me=[]),Oe===void 0&&(Oe=!0),this.options.pedantic&&(_e=_e.replace(/^ +$/gm,""));for(var rt,Ae,rn,Ge;_e;){if(rt=this.tokenizer.space(_e)){_e=_e.substring(rt.raw.length),rt.type&&Me.push(rt);continue}if(rt=this.tokenizer.code(_e)){_e=_e.substring(rt.raw.length),Ge=Me[Me.length-1],Ge&&Ge.type==="paragraph"?(Ge.raw+=`
`+rt.raw,Ge.text+=`
`+rt.text):Me.push(rt);continue}if(rt=this.tokenizer.fences(_e)){_e=_e.substring(rt.raw.length),Me.push(rt);continue}if(rt=this.tokenizer.heading(_e)){_e=_e.substring(rt.raw.length),Me.push(rt);continue}if(rt=this.tokenizer.nptable(_e)){_e=_e.substring(rt.raw.length),Me.push(rt);continue}if(rt=this.tokenizer.hr(_e)){_e=_e.substring(rt.raw.length),Me.push(rt);continue}if(rt=this.tokenizer.blockquote(_e)){_e=_e.substring(rt.raw.length),rt.tokens=this.blockTokens(rt.text,[],Oe),Me.push(rt);continue}if(rt=this.tokenizer.list(_e)){for(_e=_e.substring(rt.raw.length),rn=rt.items.length,Ae=0;Ae<rn;Ae++)rt.items[Ae].tokens=this.blockTokens(rt.items[Ae].text,[],!1);Me.push(rt);continue}if(rt=this.tokenizer.html(_e)){_e=_e.substring(rt.raw.length),Me.push(rt);continue}if(Oe&&(rt=this.tokenizer.def(_e))){_e=_e.substring(rt.raw.length),this.tokens.links[rt.tag]||(this.tokens.links[rt.tag]={href:rt.href,title:rt.title});continue}if(rt=this.tokenizer.table(_e)){_e=_e.substring(rt.raw.length),Me.push(rt);continue}if(rt=this.tokenizer.lheading(_e)){_e=_e.substring(rt.raw.length),Me.push(rt);continue}if(Oe&&(rt=this.tokenizer.paragraph(_e))){_e=_e.substring(rt.raw.length),Me.push(rt);continue}if(rt=this.tokenizer.text(_e)){_e=_e.substring(rt.raw.length),Ge=Me[Me.length-1],Ge&&Ge.type==="text"?(Ge.raw+=`
`+rt.raw,Ge.text+=`
`+rt.text):Me.push(rt);continue}if(_e){var En="Infinite loop on byte: "+_e.charCodeAt(0);if(this.options.silent){console.error(En);break}else throw new Error(En)}}return Me},et.inline=function(_e){var Me,Oe,rt,Ae,rn,Ge,En=_e.length;for(Me=0;Me<En;Me++)switch(Ge=_e[Me],Ge.type){case"paragraph":case"text":case"heading":{Ge.tokens=[],this.inlineTokens(Ge.text,Ge.tokens);break}case"table":{for(Ge.tokens={header:[],cells:[]},Ae=Ge.header.length,Oe=0;Oe<Ae;Oe++)Ge.tokens.header[Oe]=[],this.inlineTokens(Ge.header[Oe],Ge.tokens.header[Oe]);for(Ae=Ge.cells.length,Oe=0;Oe<Ae;Oe++)for(rn=Ge.cells[Oe],Ge.tokens.cells[Oe]=[],rt=0;rt<rn.length;rt++)Ge.tokens.cells[Oe][rt]=[],this.inlineTokens(rn[rt],Ge.tokens.cells[Oe][rt]);break}case"blockquote":{this.inline(Ge.tokens);break}case"list":{for(Ae=Ge.items.length,Oe=0;Oe<Ae;Oe++)this.inline(Ge.items[Oe].tokens);break}}return _e},et.inlineTokens=function(_e,Me,Oe,rt){Me===void 0&&(Me=[]),Oe===void 0&&(Oe=!1),rt===void 0&&(rt=!1);var Ae,rn,Ge=_e,En,Dn,tn;if(this.tokens.links){var Wt=Object.keys(this.tokens.links);if(Wt.length>0)for(;(En=this.tokenizer.rules.inline.reflinkSearch.exec(Ge))!=null;)Wt.includes(En[0].slice(En[0].lastIndexOf("[")+1,-1))&&(Ge=Ge.slice(0,En.index)+"["+wt("a",En[0].length-2)+"]"+Ge.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(En=this.tokenizer.rules.inline.blockSkip.exec(Ge))!=null;)Ge=Ge.slice(0,En.index)+"["+wt("a",En[0].length-2)+"]"+Ge.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(En=this.tokenizer.rules.inline.escapedEmSt.exec(Ge))!=null;)Ge=Ge.slice(0,En.index)+"++"+Ge.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;_e;){if(Dn||(tn=""),Dn=!1,Ae=this.tokenizer.escape(_e)){_e=_e.substring(Ae.raw.length),Me.push(Ae);continue}if(Ae=this.tokenizer.tag(_e,Oe,rt)){_e=_e.substring(Ae.raw.length),Oe=Ae.inLink,rt=Ae.inRawBlock;var It=Me[Me.length-1];It&&Ae.type==="text"&&It.type==="text"?(It.raw+=Ae.raw,It.text+=Ae.text):Me.push(Ae);continue}if(Ae=this.tokenizer.link(_e)){_e=_e.substring(Ae.raw.length),Ae.type==="link"&&(Ae.tokens=this.inlineTokens(Ae.text,[],!0,rt)),Me.push(Ae);continue}if(Ae=this.tokenizer.reflink(_e,this.tokens.links)){_e=_e.substring(Ae.raw.length);var Bt=Me[Me.length-1];Ae.type==="link"?(Ae.tokens=this.inlineTokens(Ae.text,[],!0,rt),Me.push(Ae)):Bt&&Ae.type==="text"&&Bt.type==="text"?(Bt.raw+=Ae.raw,Bt.text+=Ae.text):Me.push(Ae);continue}if(Ae=this.tokenizer.emStrong(_e,Ge,tn)){_e=_e.substring(Ae.raw.length),Ae.tokens=this.inlineTokens(Ae.text,[],Oe,rt),Me.push(Ae);continue}if(Ae=this.tokenizer.codespan(_e)){_e=_e.substring(Ae.raw.length),Me.push(Ae);continue}if(Ae=this.tokenizer.br(_e)){_e=_e.substring(Ae.raw.length),Me.push(Ae);continue}if(Ae=this.tokenizer.del(_e)){_e=_e.substring(Ae.raw.length),Ae.tokens=this.inlineTokens(Ae.text,[],Oe,rt),Me.push(Ae);continue}if(Ae=this.tokenizer.autolink(_e,fe)){_e=_e.substring(Ae.raw.length),Me.push(Ae);continue}if(!Oe&&(Ae=this.tokenizer.url(_e,fe))){_e=_e.substring(Ae.raw.length),Me.push(Ae);continue}if(Ae=this.tokenizer.inlineText(_e,rt,de)){_e=_e.substring(Ae.raw.length),Ae.raw.slice(-1)!=="_"&&(tn=Ae.raw.slice(-1)),Dn=!0,rn=Me[Me.length-1],rn&&rn.type==="text"?(rn.raw+=Ae.raw,rn.text+=Ae.text):Me.push(Ae);continue}if(_e){var We="Infinite loop on byte: "+_e.charCodeAt(0);if(this.options.silent){console.error(We);break}else throw new Error(We)}}return Me},f(qe,null,[{key:"rules",get:function(){return{block:Nt,inline:lt}}}]),qe}(),U=ge.exports.defaults,we=J.cleanUrl,P=J.escape,T=function(){function qe(Xe){this.options=Xe||U}var et=qe.prototype;return et.code=function(_e,Me,Oe){var rt=(Me||"").match(/\S*/)[0];if(this.options.highlight){var Ae=this.options.highlight(_e,rt);Ae!=null&&Ae!==_e&&(Oe=!0,_e=Ae)}return _e=_e.replace(/\n$/,"")+`
`,rt?'<pre><code class="'+this.options.langPrefix+P(rt,!0)+'">'+(Oe?_e:P(_e,!0))+`</code></pre>
`:"<pre><code>"+(Oe?_e:P(_e,!0))+`</code></pre>
`},et.blockquote=function(_e){return`<blockquote>
`+_e+`</blockquote>
`},et.html=function(_e){return _e},et.heading=function(_e,Me,Oe,rt){return this.options.headerIds?"<h"+Me+' id="'+this.options.headerPrefix+rt.slug(Oe)+'">'+_e+"</h"+Me+`>
`:"<h"+Me+">"+_e+"</h"+Me+`>
`},et.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},et.list=function(_e,Me,Oe){var rt=Me?"ol":"ul",Ae=Me&&Oe!==1?' start="'+Oe+'"':"";return"<"+rt+Ae+`>
`+_e+"</"+rt+`>
`},et.listitem=function(_e){return"<li>"+_e+`</li>
`},et.checkbox=function(_e){return"<input "+(_e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},et.paragraph=function(_e){return"<p>"+_e+`</p>
`},et.table=function(_e,Me){return Me&&(Me="<tbody>"+Me+"</tbody>"),`<table>
<thead>
`+_e+`</thead>
`+Me+`</table>
`},et.tablerow=function(_e){return`<tr>
`+_e+`</tr>
`},et.tablecell=function(_e,Me){var Oe=Me.header?"th":"td",rt=Me.align?"<"+Oe+' align="'+Me.align+'">':"<"+Oe+">";return rt+_e+"</"+Oe+`>
`},et.strong=function(_e){return"<strong>"+_e+"</strong>"},et.em=function(_e){return"<em>"+_e+"</em>"},et.codespan=function(_e){return"<code>"+_e+"</code>"},et.br=function(){return this.options.xhtml?"<br/>":"<br>"},et.del=function(_e){return"<del>"+_e+"</del>"},et.link=function(_e,Me,Oe){if(_e=we(this.options.sanitize,this.options.baseUrl,_e),_e===null)return Oe;var rt='<a href="'+P(_e)+'"';return Me&&(rt+=' title="'+Me+'"'),rt+=">"+Oe+"</a>",rt},et.image=function(_e,Me,Oe){if(_e=we(this.options.sanitize,this.options.baseUrl,_e),_e===null)return Oe;var rt='<img src="'+_e+'" alt="'+Oe+'"';return Me&&(rt+=' title="'+Me+'"'),rt+=this.options.xhtml?"/>":">",rt},et.text=function(_e){return _e},qe}(),I=function(){function qe(){}var et=qe.prototype;return et.strong=function(_e){return _e},et.em=function(_e){return _e},et.codespan=function(_e){return _e},et.del=function(_e){return _e},et.html=function(_e){return _e},et.text=function(_e){return _e},et.link=function(_e,Me,Oe){return""+Oe},et.image=function(_e,Me,Oe){return""+Oe},et.br=function(){return""},qe}(),ne=function(){function qe(){this.seen={}}var et=qe.prototype;return et.serialize=function(_e){return _e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},et.getNextSafeSlug=function(_e,Me){var Oe=_e,rt=0;if(this.seen.hasOwnProperty(Oe)){rt=this.seen[_e];do rt++,Oe=_e+"-"+rt;while(this.seen.hasOwnProperty(Oe))}return Me||(this.seen[_e]=rt,this.seen[Oe]=0),Oe},et.slug=function(_e,Me){Me===void 0&&(Me={});var Oe=this.serialize(_e);return this.getNextSafeSlug(Oe,Me.dryrun)},qe}(),$=T,V=I,Te=ne,He=ge.exports.defaults,Ie=J.unescape,Fe=function(){function qe(Xe){this.options=Xe||He,this.options.renderer=this.options.renderer||new $,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new V,this.slugger=new Te}qe.parse=function(_e,Me){var Oe=new qe(Me);return Oe.parse(_e)},qe.parseInline=function(_e,Me){var Oe=new qe(Me);return Oe.parseInline(_e)};var et=qe.prototype;return et.parse=function(_e,Me){Me===void 0&&(Me=!0);var Oe="",rt,Ae,rn,Ge,En,Dn,tn,Wt,It,Bt,We,_t,Et,Be,Re,pt,mt,Ft,Ht=_e.length;for(rt=0;rt<Ht;rt++)switch(Bt=_e[rt],Bt.type){case"space":continue;case"hr":{Oe+=this.renderer.hr();continue}case"heading":{Oe+=this.renderer.heading(this.parseInline(Bt.tokens),Bt.depth,Ie(this.parseInline(Bt.tokens,this.textRenderer)),this.slugger);continue}case"code":{Oe+=this.renderer.code(Bt.text,Bt.lang,Bt.escaped);continue}case"table":{for(Wt="",tn="",Ge=Bt.header.length,Ae=0;Ae<Ge;Ae++)tn+=this.renderer.tablecell(this.parseInline(Bt.tokens.header[Ae]),{header:!0,align:Bt.align[Ae]});for(Wt+=this.renderer.tablerow(tn),It="",Ge=Bt.cells.length,Ae=0;Ae<Ge;Ae++){for(Dn=Bt.tokens.cells[Ae],tn="",En=Dn.length,rn=0;rn<En;rn++)tn+=this.renderer.tablecell(this.parseInline(Dn[rn]),{header:!1,align:Bt.align[rn]});It+=this.renderer.tablerow(tn)}Oe+=this.renderer.table(Wt,It);continue}case"blockquote":{It=this.parse(Bt.tokens),Oe+=this.renderer.blockquote(It);continue}case"list":{for(We=Bt.ordered,_t=Bt.start,Et=Bt.loose,Ge=Bt.items.length,It="",Ae=0;Ae<Ge;Ae++)Re=Bt.items[Ae],pt=Re.checked,mt=Re.task,Be="",Re.task&&(Ft=this.renderer.checkbox(pt),Et?Re.tokens.length>0&&Re.tokens[0].type==="text"?(Re.tokens[0].text=Ft+" "+Re.tokens[0].text,Re.tokens[0].tokens&&Re.tokens[0].tokens.length>0&&Re.tokens[0].tokens[0].type==="text"&&(Re.tokens[0].tokens[0].text=Ft+" "+Re.tokens[0].tokens[0].text)):Re.tokens.unshift({type:"text",text:Ft}):Be+=Ft),Be+=this.parse(Re.tokens,Et),It+=this.renderer.listitem(Be,mt,pt);Oe+=this.renderer.list(It,We,_t);continue}case"html":{Oe+=this.renderer.html(Bt.text);continue}case"paragraph":{Oe+=this.renderer.paragraph(this.parseInline(Bt.tokens));continue}case"text":{for(It=Bt.tokens?this.parseInline(Bt.tokens):Bt.text;rt+1<Ht&&_e[rt+1].type==="text";)Bt=_e[++rt],It+=`
`+(Bt.tokens?this.parseInline(Bt.tokens):Bt.text);Oe+=Me?this.renderer.paragraph(It):It;continue}default:{var sn='Token with "'+Bt.type+'" type was not found.';if(this.options.silent){console.error(sn);return}else throw new Error(sn)}}return Oe},et.parseInline=function(_e,Me){Me=Me||this.renderer;var Oe="",rt,Ae,rn=_e.length;for(rt=0;rt<rn;rt++)switch(Ae=_e[rt],Ae.type){case"escape":{Oe+=Me.text(Ae.text);break}case"html":{Oe+=Me.html(Ae.text);break}case"link":{Oe+=Me.link(Ae.href,Ae.title,this.parseInline(Ae.tokens,Me));break}case"image":{Oe+=Me.image(Ae.href,Ae.title,Ae.text);break}case"strong":{Oe+=Me.strong(this.parseInline(Ae.tokens,Me));break}case"em":{Oe+=Me.em(this.parseInline(Ae.tokens,Me));break}case"codespan":{Oe+=Me.codespan(Ae.text);break}case"br":{Oe+=Me.br();break}case"del":{Oe+=Me.del(this.parseInline(Ae.tokens,Me));break}case"text":{Oe+=Me.text(Ae.text);break}default:{var Ge='Token with "'+Ae.type+'" type was not found.';if(this.options.silent){console.error(Ge);return}else throw new Error(Ge)}}return Oe},qe}(),Qe=G,Ze=Fe,Ve=Le,xt=T,Ct=I,ft=ne,Ot=J.merge,Kt=J.checkSanitizeDeprecation,R=J.escape,k=ge.exports.getDefaults,bt=ge.exports.changeDefaults,Se=ge.exports.defaults;function Ke(qe,et,Xe){if(typeof qe=="undefined"||qe===null)throw new Error("marked(): input parameter is undefined or null");if(typeof qe!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(qe)+", string expected");if(typeof et=="function"&&(Xe=et,et=null),et=Ot({},Ke.defaults,et||{}),Kt(et),Xe){var _e=et.highlight,Me;try{Me=Qe.lex(qe,et)}catch(rn){return Xe(rn)}var Oe=function(Ge){var En;if(!Ge)try{et.walkTokens&&Ke.walkTokens(Me,et.walkTokens),En=Ze.parse(Me,et)}catch(Dn){Ge=Dn}return et.highlight=_e,Ge?Xe(Ge):Xe(null,En)};if(!_e||_e.length<3||(delete et.highlight,!Me.length))return Oe();var rt=0;Ke.walkTokens(Me,function(rn){rn.type==="code"&&(rt++,setTimeout(function(){_e(rn.text,rn.lang,function(Ge,En){if(Ge)return Oe(Ge);En!=null&&En!==rn.text&&(rn.text=En,rn.escaped=!0),rt--,rt===0&&Oe()})},0))}),rt===0&&Oe();return}try{var Ae=Qe.lex(qe,et);return et.walkTokens&&Ke.walkTokens(Ae,et.walkTokens),Ze.parse(Ae,et)}catch(rn){if(rn.message+=`
Please report this to https://github.com/markedjs/marked.`,et.silent)return"<p>An error occurred:</p><pre>"+R(rn.message+"",!0)+"</pre>";throw rn}}Ke.options=Ke.setOptions=function(qe){return Ot(Ke.defaults,qe),bt(Ke.defaults),Ke},Ke.getDefaults=k,Ke.defaults=Se,Ke.use=function(qe){var et=Ot({},qe);if(qe.renderer&&function(){var _e=Ke.defaults.renderer||new xt,Me=function(Ae){var rn=_e[Ae];_e[Ae]=function(){for(var Ge=arguments.length,En=new Array(Ge),Dn=0;Dn<Ge;Dn++)En[Dn]=arguments[Dn];var tn=qe.renderer[Ae].apply(_e,En);return tn===!1&&(tn=rn.apply(_e,En)),tn}};for(var Oe in qe.renderer)Me(Oe);et.renderer=_e}(),qe.tokenizer&&function(){var _e=Ke.defaults.tokenizer||new Ve,Me=function(Ae){var rn=_e[Ae];_e[Ae]=function(){for(var Ge=arguments.length,En=new Array(Ge),Dn=0;Dn<Ge;Dn++)En[Dn]=arguments[Dn];var tn=qe.tokenizer[Ae].apply(_e,En);return tn===!1&&(tn=rn.apply(_e,En)),tn}};for(var Oe in qe.tokenizer)Me(Oe);et.tokenizer=_e}(),qe.walkTokens){var Xe=Ke.defaults.walkTokens;et.walkTokens=function(_e){qe.walkTokens(_e),Xe&&Xe(_e)}}Ke.setOptions(et)},Ke.walkTokens=function(qe,et){for(var Xe=re(qe),_e;!(_e=Xe()).done;){var Me=_e.value;switch(et(Me),Me.type){case"table":{for(var Oe=re(Me.tokens.header),rt;!(rt=Oe()).done;){var Ae=rt.value;Ke.walkTokens(Ae,et)}for(var rn=re(Me.tokens.cells),Ge;!(Ge=rn()).done;)for(var En=Ge.value,Dn=re(En),tn;!(tn=Dn()).done;){var Wt=tn.value;Ke.walkTokens(Wt,et)}break}case"list":{Ke.walkTokens(Me.items,et);break}default:Me.tokens&&Ke.walkTokens(Me.tokens,et)}}},Ke.parseInline=function(qe,et){if(typeof qe=="undefined"||qe===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof qe!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(qe)+", string expected");et=Ot({},Ke.defaults,et||{}),Kt(et);try{var Xe=Qe.lexInline(qe,et);return et.walkTokens&&Ke.walkTokens(Xe,et.walkTokens),Ze.parseInline(Xe,et)}catch(_e){if(_e.message+=`
Please report this to https://github.com/markedjs/marked.`,et.silent)return"<p>An error occurred:</p><pre>"+R(_e.message+"",!0)+"</pre>";throw _e}},Ke.Parser=Ze,Ke.parser=Ze.parse,Ke.Renderer=xt,Ke.TextRenderer=Ct,Ke.Lexer=Qe,Ke.lexer=Qe.lex,Ke.Tokenizer=Ve,Ke.Slugger=ft,Ke.parse=Ke;var vn=Ke;return vn})},11690:function(an){const it=/[&<>"']/,f=/[&<>"']/g,g=/[<>"']|&(?!#?\w+;)/,O=/[<>"']|&(?!#?\w+;)/g,re={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ge=j=>re[j];function F(j,ve){if(ve){if(it.test(j))return j.replace(f,ge)}else if(g.test(j))return j.replace(O,ge);return j}const m=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function w(j){return j.replace(m,(ve,xe)=>(xe=xe.toLowerCase(),xe==="colon"?":":xe.charAt(0)==="#"?xe.charAt(1)==="x"?String.fromCharCode(parseInt(xe.substring(2),16)):String.fromCharCode(+xe.substring(1)):""))}const he=/(^|[^\[])\^/g;function o(j,ve){j=j.source||j,ve=ve||"";const xe={replace:(ye,le)=>(le=le.source||le,le=le.replace(he,"$1"),j=j.replace(ye,le),xe),getRegex:()=>new RegExp(j,ve)};return xe}const M=/[^\w:]/g,W=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(j,ve,xe){if(j){let ye;try{ye=decodeURIComponent(w(xe)).replace(M,"").toLowerCase()}catch(le){return null}if(ye.indexOf("javascript:")===0||ye.indexOf("vbscript:")===0||ye.indexOf("data:")===0)return null}ve&&!W.test(xe)&&(xe=pe(ve,xe));try{xe=encodeURI(xe).replace(/%25/g,"%")}catch(ye){return null}return xe}const b={},A=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,K=/^([^:]+:\/*[^/]*)[\s\S]*$/;function pe(j,ve){b[" "+j]||(A.test(j)?b[" "+j]=j+"/":b[" "+j]=X(j,"/",!0)),j=b[" "+j];const xe=j.indexOf(":")===-1;return ve.substring(0,2)==="//"?xe?ve:j.replace(C,"$1")+ve:ve.charAt(0)==="/"?xe?ve:j.replace(K,"$1")+ve:j+ve}const B={exec:function(){}};function Z(j){let ve=1,xe,ye;for(;ve<arguments.length;ve++){xe=arguments[ve];for(ye in xe)Object.prototype.hasOwnProperty.call(xe,ye)&&(j[ye]=xe[ye])}return j}function ie(j,ve){const xe=j.replace(/\|/g,(oe,H,be)=>{let J=!1,me=H;for(;--me>=0&&be[me]==="\\";)J=!J;return J?"|":" |"}),ye=xe.split(/ \|/);let le=0;if(ye.length>ve)ye.splice(ve);else for(;ye.length<ve;)ye.push("");for(;le<ye.length;le++)ye[le]=ye[le].trim().replace(/\\\|/g,"|");return ye}function X(j,ve,xe){const ye=j.length;if(ye===0)return"";let le=0;for(;le<ye;){const oe=j.charAt(ye-le-1);if(oe===ve&&!xe)le++;else if(oe!==ve&&xe)le++;else break}return j.substr(0,ye-le)}function L(j,ve){if(j.indexOf(ve[1])===-1)return-1;const xe=j.length;let ye=0,le=0;for(;le<xe;le++)if(j[le]==="\\")le++;else if(j[le]===ve[0])ye++;else if(j[le]===ve[1]&&(ye--,ye<0))return le;return-1}function D(j){j&&j.sanitize&&!j.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 Q(j,ve){if(ve<1)return"";let xe="";for(;ve>1;)ve&1&&(xe+=j),ve>>=1,j+=j;return xe+j}an.exports={escape:F,unescape:w,edit:o,cleanUrl:y,resolveUrl:pe,noopTest:B,merge:Z,splitCells:ie,rtrim:X,findClosingBracket:L,checkSanitizeDeprecation:D,repeatString:Q}},75918:function(an,it,f){"use strict";f.d(it,{Wi:function(){return m},Z0:function(){return w},aU:function(){return F},eZ:function(){return o},wY:function(){return he}});var g=f(4348),O=f(69323),re=f(13268),ge=function(M,W,y,b){function A(C){return C instanceof y?C:new y(function(K){K(C)})}return new(y||(y=Promise))(function(C,K){function pe(ie){try{Z(b.next(ie))}catch(X){K(X)}}function B(ie){try{Z(b.throw(ie))}catch(X){K(X)}}function Z(ie){ie.done?C(ie.value):A(ie.value).then(pe,B)}Z((b=b.apply(M,W||[])).next())})};class F extends O.JT{constructor(W,y="",b="",A=!0,C){super(),this._onDidChange=this._register(new g.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=W,this._label=y,this._cssClass=b,this._enabled=A,this._actionCallback=C}get id(){return this._id}get label(){return this._label}set label(W){this._setLabel(W)}_setLabel(W){this._label!==W&&(this._label=W,this._onDidChange.fire({label:W}))}get tooltip(){return this._tooltip||""}set tooltip(W){this._setTooltip(W)}_setTooltip(W){this._tooltip!==W&&(this._tooltip=W,this._onDidChange.fire({tooltip:W}))}get class(){return this._cssClass}set class(W){this._setClass(W)}_setClass(W){this._cssClass!==W&&(this._cssClass=W,this._onDidChange.fire({class:W}))}get enabled(){return this._enabled}set enabled(W){this._setEnabled(W)}_setEnabled(W){this._enabled!==W&&(this._enabled=W,this._onDidChange.fire({enabled:W}))}get checked(){return this._checked}set checked(W){this._setChecked(W)}_setChecked(W){this._checked!==W&&(this._checked=W,this._onDidChange.fire({checked:W}))}run(W,y){return ge(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(W))})}}class m extends O.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new g.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new g.Q5),this.onDidRun=this._onDidRun.event}run(W,y){return ge(this,void 0,void 0,function*(){if(!W.enabled)return;this._onBeforeRun.fire({action:W});let b;try{yield this.runAction(W,y)}catch(A){b=A}this._onDidRun.fire({action:W,error:b})})}runAction(W,y){return ge(this,void 0,void 0,function*(){yield W.run(y)})}}class w extends F{constructor(W){super(w.ID,W,W?"separator text":"separator"),this.checked=!1,this.enabled=!1}}w.ID="vs.actions.separator";class he{constructor(W,y,b,A){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=W,this.label=y,this.class=A,this._actions=b}get actions(){return this._actions}dispose(){}run(){return ge(this,void 0,void 0,function*(){})}}class o extends F{constructor(){super(o.ID,re.N("submenu.empty","(empty)"),void 0,!1)}}o.ID="vs.actions.empty"},76068:function(an,it,f){"use strict";f.d(it,{ok:function(){return g}});function g(O,re){if(!O)throw new Error(re?`Assertion failed (${re})`:"Assertion Failed")}},52615:function(an,it,f){"use strict";f.d(it,{CM:function(){return F},JL:function(){return m},dT:function(){return he},fK:function(){return ge},lA:function(){return w}});var g=f(4348);class O{constructor(){this._icons=new Map,this._onDidRegister=new g.Q5}add(M){const W=this._icons.get(M.id);W?M.description?W.description=M.description:console.error(`Duplicate registration of codicon ${M.id}`):(this._icons.set(M.id,M),this._onDidRegister.fire(M))}get(M){return this._icons.get(M)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const re=new O,ge=re;function F(o,M){return new w(o,M)}function m(o){return o?o.replace(/\$\((.*?)\)/g,(M,W)=>` ${W} `).trim():""}class w{constructor(M,W,y){this.id=M,this.definition=W,this.description=y,re.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var he;(function(o){o.iconNameSegment="[A-Za-z0-9]+",o.iconNameExpression="[A-Za-z0-9\\-]+",o.iconModifierExpression="~[A-Za-z]+";const M=new RegExp(`^(${o.iconNameExpression})(${o.iconModifierExpression})?$`);function W(A){if(A instanceof w)return["codicon","codicon-"+A.id];const C=M.exec(A.id);if(!C)return W(w.error);let[,K,pe]=C;const B=["codicon","codicon-"+K];return pe&&B.push("codicon-modifier-"+pe.substr(1)),B}o.asClassNameArray=W;function y(A){return W(A).join(" ")}o.asClassName=y;function b(A){return"."+W(A).join(".")}o.asCSSSelector=b})(he||(he={})),function(o){o.add=new o("add",{fontCharacter:"\\ea60"}),o.plus=new o("plus",o.add.definition),o.gistNew=new o("gist-new",o.add.definition),o.repoCreate=new o("repo-create",o.add.definition),o.lightbulb=new o("lightbulb",{fontCharacter:"\\ea61"}),o.lightBulb=new o("light-bulb",{fontCharacter:"\\ea61"}),o.repo=new o("repo",{fontCharacter:"\\ea62"}),o.repoDelete=new o("repo-delete",{fontCharacter:"\\ea62"}),o.gistFork=new o("gist-fork",{fontCharacter:"\\ea63"}),o.repoForked=new o("repo-forked",{fontCharacter:"\\ea63"}),o.gitPullRequest=new o("git-pull-request",{fontCharacter:"\\ea64"}),o.gitPullRequestAbandoned=new o("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),o.recordKeys=new o("record-keys",{fontCharacter:"\\ea65"}),o.keyboard=new o("keyboard",{fontCharacter:"\\ea65"}),o.tag=new o("tag",{fontCharacter:"\\ea66"}),o.tagAdd=new o("tag-add",{fontCharacter:"\\ea66"}),o.tagRemove=new o("tag-remove",{fontCharacter:"\\ea66"}),o.person=new o("person",{fontCharacter:"\\ea67"}),o.personFollow=new o("person-follow",{fontCharacter:"\\ea67"}),o.personOutline=new o("person-outline",{fontCharacter:"\\ea67"}),o.personFilled=new o("person-filled",{fontCharacter:"\\ea67"}),o.gitBranch=new o("git-branch",{fontCharacter:"\\ea68"}),o.gitBranchCreate=new o("git-branch-create",{fontCharacter:"\\ea68"}),o.gitBranchDelete=new o("git-branch-delete",{fontCharacter:"\\ea68"}),o.sourceControl=new o("source-control",{fontCharacter:"\\ea68"}),o.mirror=new o("mirror",{fontCharacter:"\\ea69"}),o.mirrorPublic=new o("mirror-public",{fontCharacter:"\\ea69"}),o.star=new o("star",{fontCharacter:"\\ea6a"}),o.starAdd=new o("star-add",{fontCharacter:"\\ea6a"}),o.starDelete=new o("star-delete",{fontCharacter:"\\ea6a"}),o.starEmpty=new o("star-empty",{fontCharacter:"\\ea6a"}),o.comment=new o("comment",{fontCharacter:"\\ea6b"}),o.commentAdd=new o("comment-add",{fontCharacter:"\\ea6b"}),o.alert=new o("alert",{fontCharacter:"\\ea6c"}),o.warning=new o("warning",{fontCharacter:"\\ea6c"}),o.search=new o("search",{fontCharacter:"\\ea6d"}),o.searchSave=new o("search-save",{fontCharacter:"\\ea6d"}),o.logOut=new o("log-out",{fontCharacter:"\\ea6e"}),o.signOut=new o("sign-out",{fontCharacter:"\\ea6e"}),o.logIn=new o("log-in",{fontCharacter:"\\ea6f"}),o.signIn=new o("sign-in",{fontCharacter:"\\ea6f"}),o.eye=new o("eye",{fontCharacter:"\\ea70"}),o.eyeUnwatch=new o("eye-unwatch",{fontCharacter:"\\ea70"}),o.eyeWatch=new o("eye-watch",{fontCharacter:"\\ea70"}),o.circleFilled=new o("circle-filled",{fontCharacter:"\\ea71"}),o.primitiveDot=new o("primitive-dot",{fontCharacter:"\\ea71"}),o.closeDirty=new o("close-dirty",{fontCharacter:"\\ea71"}),o.debugBreakpoint=new o("debug-breakpoint",{fontCharacter:"\\ea71"}),o.debugBreakpointDisabled=new o("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),o.debugHint=new o("debug-hint",{fontCharacter:"\\ea71"}),o.primitiveSquare=new o("primitive-square",{fontCharacter:"\\ea72"}),o.edit=new o("edit",{fontCharacter:"\\ea73"}),o.pencil=new o("pencil",{fontCharacter:"\\ea73"}),o.info=new o("info",{fontCharacter:"\\ea74"}),o.issueOpened=new o("issue-opened",{fontCharacter:"\\ea74"}),o.gistPrivate=new o("gist-private",{fontCharacter:"\\ea75"}),o.gitForkPrivate=new o("git-fork-private",{fontCharacter:"\\ea75"}),o.lock=new o("lock",{fontCharacter:"\\ea75"}),o.mirrorPrivate=new o("mirror-private",{fontCharacter:"\\ea75"}),o.close=new o("close",{fontCharacter:"\\ea76"}),o.removeClose=new o("remove-close",{fontCharacter:"\\ea76"}),o.x=new o("x",{fontCharacter:"\\ea76"}),o.repoSync=new o("repo-sync",{fontCharacter:"\\ea77"}),o.sync=new o("sync",{fontCharacter:"\\ea77"}),o.clone=new o("clone",{fontCharacter:"\\ea78"}),o.desktopDownload=new o("desktop-download",{fontCharacter:"\\ea78"}),o.beaker=new o("beaker",{fontCharacter:"\\ea79"}),o.microscope=new o("microscope",{fontCharacter:"\\ea79"}),o.vm=new o("vm",{fontCharacter:"\\ea7a"}),o.deviceDesktop=new o("device-desktop",{fontCharacter:"\\ea7a"}),o.file=new o("file",{fontCharacter:"\\ea7b"}),o.fileText=new o("file-text",{fontCharacter:"\\ea7b"}),o.more=new o("more",{fontCharacter:"\\ea7c"}),o.ellipsis=new o("ellipsis",{fontCharacter:"\\ea7c"}),o.kebabHorizontal=new o("kebab-horizontal",{fontCharacter:"\\ea7c"}),o.mailReply=new o("mail-reply",{fontCharacter:"\\ea7d"}),o.reply=new o("reply",{fontCharacter:"\\ea7d"}),o.organization=new o("organization",{fontCharacter:"\\ea7e"}),o.organizationFilled=new o("organization-filled",{fontCharacter:"\\ea7e"}),o.organizationOutline=new o("organization-outline",{fontCharacter:"\\ea7e"}),o.newFile=new o("new-file",{fontCharacter:"\\ea7f"}),o.fileAdd=new o("file-add",{fontCharacter:"\\ea7f"}),o.newFolder=new o("new-folder",{fontCharacter:"\\ea80"}),o.fileDirectoryCreate=new o("file-directory-create",{fontCharacter:"\\ea80"}),o.trash=new o("trash",{fontCharacter:"\\ea81"}),o.trashcan=new o("trashcan",{fontCharacter:"\\ea81"}),o.history=new o("history",{fontCharacter:"\\ea82"}),o.clock=new o("clock",{fontCharacter:"\\ea82"}),o.folder=new o("folder",{fontCharacter:"\\ea83"}),o.fileDirectory=new o("file-directory",{fontCharacter:"\\ea83"}),o.symbolFolder=new o("symbol-folder",{fontCharacter:"\\ea83"}),o.logoGithub=new o("logo-github",{fontCharacter:"\\ea84"}),o.markGithub=new o("mark-github",{fontCharacter:"\\ea84"}),o.github=new o("github",{fontCharacter:"\\ea84"}),o.terminal=new o("terminal",{fontCharacter:"\\ea85"}),o.console=new o("console",{fontCharacter:"\\ea85"}),o.repl=new o("repl",{fontCharacter:"\\ea85"}),o.zap=new o("zap",{fontCharacter:"\\ea86"}),o.symbolEvent=new o("symbol-event",{fontCharacter:"\\ea86"}),o.error=new o("error",{fontCharacter:"\\ea87"}),o.stop=new o("stop",{fontCharacter:"\\ea87"}),o.variable=new o("variable",{fontCharacter:"\\ea88"}),o.symbolVariable=new o("symbol-variable",{fontCharacter:"\\ea88"}),o.array=new o("array",{fontCharacter:"\\ea8a"}),o.symbolArray=new o("symbol-array",{fontCharacter:"\\ea8a"}),o.symbolModule=new o("symbol-module",{fontCharacter:"\\ea8b"}),o.symbolPackage=new o("symbol-package",{fontCharacter:"\\ea8b"}),o.symbolNamespace=new o("symbol-namespace",{fontCharacter:"\\ea8b"}),o.symbolObject=new o("symbol-object",{fontCharacter:"\\ea8b"}),o.symbolMethod=new o("symbol-method",{fontCharacter:"\\ea8c"}),o.symbolFunction=new o("symbol-function",{fontCharacter:"\\ea8c"}),o.symbolConstructor=new o("symbol-constructor",{fontCharacter:"\\ea8c"}),o.symbolBoolean=new o("symbol-boolean",{fontCharacter:"\\ea8f"}),o.symbolNull=new o("symbol-null",{fontCharacter:"\\ea8f"}),o.symbolNumeric=new o("symbol-numeric",{fontCharacter:"\\ea90"}),o.symbolNumber=new o("symbol-number",{fontCharacter:"\\ea90"}),o.symbolStructure=new o("symbol-structure",{fontCharacter:"\\ea91"}),o.symbolStruct=new o("symbol-struct",{fontCharacter:"\\ea91"}),o.symbolParameter=new o("symbol-parameter",{fontCharacter:"\\ea92"}),o.symbolTypeParameter=new o("symbol-type-parameter",{fontCharacter:"\\ea92"}),o.symbolKey=new o("symbol-key",{fontCharacter:"\\ea93"}),o.symbolText=new o("symbol-text",{fontCharacter:"\\ea93"}),o.symbolReference=new o("symbol-reference",{fontCharacter:"\\ea94"}),o.goToFile=new o("go-to-file",{fontCharacter:"\\ea94"}),o.symbolEnum=new o("symbol-enum",{fontCharacter:"\\ea95"}),o.symbolValue=new o("symbol-value",{fontCharacter:"\\ea95"}),o.symbolRuler=new o("symbol-ruler",{fontCharacter:"\\ea96"}),o.symbolUnit=new o("symbol-unit",{fontCharacter:"\\ea96"}),o.activateBreakpoints=new o("activate-breakpoints",{fontCharacter:"\\ea97"}),o.archive=new o("archive",{fontCharacter:"\\ea98"}),o.arrowBoth=new o("arrow-both",{fontCharacter:"\\ea99"}),o.arrowDown=new o("arrow-down",{fontCharacter:"\\ea9a"}),o.arrowLeft=new o("arrow-left",{fontCharacter:"\\ea9b"}),o.arrowRight=new o("arrow-right",{fontCharacter:"\\ea9c"}),o.arrowSmallDown=new o("arrow-small-down",{fontCharacter:"\\ea9d"}),o.arrowSmallLeft=new o("arrow-small-left",{fontCharacter:"\\ea9e"}),o.arrowSmallRight=new o("arrow-small-right",{fontCharacter:"\\ea9f"}),o.arrowSmallUp=new o("arrow-small-up",{fontCharacter:"\\eaa0"}),o.arrowUp=new o("arrow-up",{fontCharacter:"\\eaa1"}),o.bell=new o("bell",{fontCharacter:"\\eaa2"}),o.bold=new o("bold",{fontCharacter:"\\eaa3"}),o.book=new o("book",{fontCharacter:"\\eaa4"}),o.bookmark=new o("bookmark",{fontCharacter:"\\eaa5"}),o.debugBreakpointConditionalUnverified=new o("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),o.debugBreakpointConditional=new o("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),o.debugBreakpointConditionalDisabled=new o("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),o.debugBreakpointDataUnverified=new o("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),o.debugBreakpointData=new o("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),o.debugBreakpointDataDisabled=new o("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),o.debugBreakpointLogUnverified=new o("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),o.debugBreakpointLog=new o("debug-breakpoint-log",{fontCharacter:"\\eaab"}),o.debugBreakpointLogDisabled=new o("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),o.briefcase=new o("briefcase",{fontCharacter:"\\eaac"}),o.broadcast=new o("broadcast",{fontCharacter:"\\eaad"}),o.browser=new o("browser",{fontCharacter:"\\eaae"}),o.bug=new o("bug",{fontCharacter:"\\eaaf"}),o.calendar=new o("calendar",{fontCharacter:"\\eab0"}),o.caseSensitive=new o("case-sensitive",{fontCharacter:"\\eab1"}),o.check=new o("check",{fontCharacter:"\\eab2"}),o.checklist=new o("checklist",{fontCharacter:"\\eab3"}),o.chevronDown=new o("chevron-down",{fontCharacter:"\\eab4"}),o.dropDownButton=new o("drop-down-button",o.chevronDown.definition),o.chevronLeft=new o("chevron-left",{fontCharacter:"\\eab5"}),o.chevronRight=new o("chevron-right",{fontCharacter:"\\eab6"}),o.chevronUp=new o("chevron-up",{fontCharacter:"\\eab7"}),o.chromeClose=new o("chrome-close",{fontCharacter:"\\eab8"}),o.chromeMaximize=new o("chrome-maximize",{fontCharacter:"\\eab9"}),o.chromeMinimize=new o("chrome-minimize",{fontCharacter:"\\eaba"}),o.chromeRestore=new o("chrome-restore",{fontCharacter:"\\eabb"}),o.circleOutline=new o("circle-outline",{fontCharacter:"\\eabc"}),o.debugBreakpointUnverified=new o("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),o.circleSlash=new o("circle-slash",{fontCharacter:"\\eabd"}),o.circuitBoard=new o("circuit-board",{fontCharacter:"\\eabe"}),o.clearAll=new o("clear-all",{fontCharacter:"\\eabf"}),o.clippy=new o("clippy",{fontCharacter:"\\eac0"}),o.closeAll=new o("close-all",{fontCharacter:"\\eac1"}),o.cloudDownload=new o("cloud-download",{fontCharacter:"\\eac2"}),o.cloudUpload=new o("cloud-upload",{fontCharacter:"\\eac3"}),o.code=new o("code",{fontCharacter:"\\eac4"}),o.collapseAll=new o("collapse-all",{fontCharacter:"\\eac5"}),o.colorMode=new o("color-mode",{fontCharacter:"\\eac6"}),o.commentDiscussion=new o("comment-discussion",{fontCharacter:"\\eac7"}),o.compareChanges=new o("compare-changes",{fontCharacter:"\\eafd"}),o.creditCard=new o("credit-card",{fontCharacter:"\\eac9"}),o.dash=new o("dash",{fontCharacter:"\\eacc"}),o.dashboard=new o("dashboard",{fontCharacter:"\\eacd"}),o.database=new o("database",{fontCharacter:"\\eace"}),o.debugContinue=new o("debug-continue",{fontCharacter:"\\eacf"}),o.debugDisconnect=new o("debug-disconnect",{fontCharacter:"\\ead0"}),o.debugPause=new o("debug-pause",{fontCharacter:"\\ead1"}),o.debugRestart=new o("debug-restart",{fontCharacter:"\\ead2"}),o.debugStart=new o("debug-start",{fontCharacter:"\\ead3"}),o.debugStepInto=new o("debug-step-into",{fontCharacter:"\\ead4"}),o.debugStepOut=new o("debug-step-out",{fontCharacter:"\\ead5"}),o.debugStepOver=new o("debug-step-over",{fontCharacter:"\\ead6"}),o.debugStop=new o("debug-stop",{fontCharacter:"\\ead7"}),o.debug=new o("debug",{fontCharacter:"\\ead8"}),o.deviceCameraVideo=new o("device-camera-video",{fontCharacter:"\\ead9"}),o.deviceCamera=new o("device-camera",{fontCharacter:"\\eada"}),o.deviceMobile=new o("device-mobile",{fontCharacter:"\\eadb"}),o.diffAdded=new o("diff-added",{fontCharacter:"\\eadc"}),o.diffIgnored=new o("diff-ignored",{fontCharacter:"\\eadd"}),o.diffModified=new o("diff-modified",{fontCharacter:"\\eade"}),o.diffRemoved=new o("diff-removed",{fontCharacter:"\\eadf"}),o.diffRenamed=new o("diff-renamed",{fontCharacter:"\\eae0"}),o.diff=new o("diff",{fontCharacter:"\\eae1"}),o.discard=new o("discard",{fontCharacter:"\\eae2"}),o.editorLayout=new o("editor-layout",{fontCharacter:"\\eae3"}),o.emptyWindow=new o("empty-window",{fontCharacter:"\\eae4"}),o.exclude=new o("exclude",{fontCharacter:"\\eae5"}),o.extensions=new o("extensions",{fontCharacter:"\\eae6"}),o.eyeClosed=new o("eye-closed",{fontCharacter:"\\eae7"}),o.fileBinary=new o("file-binary",{fontCharacter:"\\eae8"}),o.fileCode=new o("file-code",{fontCharacter:"\\eae9"}),o.fileMedia=new o("file-media",{fontCharacter:"\\eaea"}),o.filePdf=new o("file-pdf",{fontCharacter:"\\eaeb"}),o.fileSubmodule=new o("file-submodule",{fontCharacter:"\\eaec"}),o.fileSymlinkDirectory=new o("file-symlink-directory",{fontCharacter:"\\eaed"}),o.fileSymlinkFile=new o("file-symlink-file",{fontCharacter:"\\eaee"}),o.fileZip=new o("file-zip",{fontCharacter:"\\eaef"}),o.files=new o("files",{fontCharacter:"\\eaf0"}),o.filter=new o("filter",{fontCharacter:"\\eaf1"}),o.flame=new o("flame",{fontCharacter:"\\eaf2"}),o.foldDown=new o("fold-down",{fontCharacter:"\\eaf3"}),o.foldUp=new o("fold-up",{fontCharacter:"\\eaf4"}),o.fold=new o("fold",{fontCharacter:"\\eaf5"}),o.folderActive=new o("folder-active",{fontCharacter:"\\eaf6"}),o.folderOpened=new o("folder-opened",{fontCharacter:"\\eaf7"}),o.gear=new o("gear",{fontCharacter:"\\eaf8"}),o.gift=new o("gift",{fontCharacter:"\\eaf9"}),o.gistSecret=new o("gist-secret",{fontCharacter:"\\eafa"}),o.gist=new o("gist",{fontCharacter:"\\eafb"}),o.gitCommit=new o("git-commit",{fontCharacter:"\\eafc"}),o.gitCompare=new o("git-compare",{fontCharacter:"\\eafd"}),o.gitMerge=new o("git-merge",{fontCharacter:"\\eafe"}),o.githubAction=new o("github-action",{fontCharacter:"\\eaff"}),o.githubAlt=new o("github-alt",{fontCharacter:"\\eb00"}),o.globe=new o("globe",{fontCharacter:"\\eb01"}),o.grabber=new o("grabber",{fontCharacter:"\\eb02"}),o.graph=new o("graph",{fontCharacter:"\\eb03"}),o.gripper=new o("gripper",{fontCharacter:"\\eb04"}),o.heart=new o("heart",{fontCharacter:"\\eb05"}),o.home=new o("home",{fontCharacter:"\\eb06"}),o.horizontalRule=new o("horizontal-rule",{fontCharacter:"\\eb07"}),o.hubot=new o("hubot",{fontCharacter:"\\eb08"}),o.inbox=new o("inbox",{fontCharacter:"\\eb09"}),o.issueClosed=new o("issue-closed",{fontCharacter:"\\eba4"}),o.issueReopened=new o("issue-reopened",{fontCharacter:"\\eb0b"}),o.issues=new o("issues",{fontCharacter:"\\eb0c"}),o.italic=new o("italic",{fontCharacter:"\\eb0d"}),o.jersey=new o("jersey",{fontCharacter:"\\eb0e"}),o.json=new o("json",{fontCharacter:"\\eb0f"}),o.kebabVertical=new o("kebab-vertical",{fontCharacter:"\\eb10"}),o.key=new o("key",{fontCharacter:"\\eb11"}),o.law=new o("law",{fontCharacter:"\\eb12"}),o.lightbulbAutofix=new o("lightbulb-autofix",{fontCharacter:"\\eb13"}),o.linkExternal=new o("link-external",{fontCharacter:"\\eb14"}),o.link=new o("link",{fontCharacter:"\\eb15"}),o.listOrdered=new o("list-ordered",{fontCharacter:"\\eb16"}),o.listUnordered=new o("list-unordered",{fontCharacter:"\\eb17"}),o.liveShare=new o("live-share",{fontCharacter:"\\eb18"}),o.loading=new o("loading",{fontCharacter:"\\eb19"}),o.location=new o("location",{fontCharacter:"\\eb1a"}),o.mailRead=new o("mail-read",{fontCharacter:"\\eb1b"}),o.mail=new o("mail",{fontCharacter:"\\eb1c"}),o.markdown=new o("markdown",{fontCharacter:"\\eb1d"}),o.megaphone=new o("megaphone",{fontCharacter:"\\eb1e"}),o.mention=new o("mention",{fontCharacter:"\\eb1f"}),o.milestone=new o("milestone",{fontCharacter:"\\eb20"}),o.mortarBoard=new o("mortar-board",{fontCharacter:"\\eb21"}),o.move=new o("move",{fontCharacter:"\\eb22"}),o.multipleWindows=new o("multiple-windows",{fontCharacter:"\\eb23"}),o.mute=new o("mute",{fontCharacter:"\\eb24"}),o.noNewline=new o("no-newline",{fontCharacter:"\\eb25"}),o.note=new o("note",{fontCharacter:"\\eb26"}),o.octoface=new o("octoface",{fontCharacter:"\\eb27"}),o.openPreview=new o("open-preview",{fontCharacter:"\\eb28"}),o.package_=new o("package",{fontCharacter:"\\eb29"}),o.paintcan=new o("paintcan",{fontCharacter:"\\eb2a"}),o.pin=new o("pin",{fontCharacter:"\\eb2b"}),o.play=new o("play",{fontCharacter:"\\eb2c"}),o.run=new o("run",{fontCharacter:"\\eb2c"}),o.plug=new o("plug",{fontCharacter:"\\eb2d"}),o.preserveCase=new o("preserve-case",{fontCharacter:"\\eb2e"}),o.preview=new o("preview",{fontCharacter:"\\eb2f"}),o.project=new o("project",{fontCharacter:"\\eb30"}),o.pulse=new o("pulse",{fontCharacter:"\\eb31"}),o.question=new o("question",{fontCharacter:"\\eb32"}),o.quote=new o("quote",{fontCharacter:"\\eb33"}),o.radioTower=new o("radio-tower",{fontCharacter:"\\eb34"}),o.reactions=new o("reactions",{fontCharacter:"\\eb35"}),o.references=new o("references",{fontCharacter:"\\eb36"}),o.refresh=new o("refresh",{fontCharacter:"\\eb37"}),o.regex=new o("regex",{fontCharacter:"\\eb38"}),o.remoteExplorer=new o("remote-explorer",{fontCharacter:"\\eb39"}),o.remote=new o("remote",{fontCharacter:"\\eb3a"}),o.remove=new o("remove",{fontCharacter:"\\eb3b"}),o.replaceAll=new o("replace-all",{fontCharacter:"\\eb3c"}),o.replace=new o("replace",{fontCharacter:"\\eb3d"}),o.repoClone=new o("repo-clone",{fontCharacter:"\\eb3e"}),o.repoForcePush=new o("repo-force-push",{fontCharacter:"\\eb3f"}),o.repoPull=new o("repo-pull",{fontCharacter:"\\eb40"}),o.repoPush=new o("repo-push",{fontCharacter:"\\eb41"}),o.report=new o("report",{fontCharacter:"\\eb42"}),o.requestChanges=new o("request-changes",{fontCharacter:"\\eb43"}),o.rocket=new o("rocket",{fontCharacter:"\\eb44"}),o.rootFolderOpened=new o("root-folder-opened",{fontCharacter:"\\eb45"}),o.rootFolder=new o("root-folder",{fontCharacter:"\\eb46"}),o.rss=new o("rss",{fontCharacter:"\\eb47"}),o.ruby=new o("ruby",{fontCharacter:"\\eb48"}),o.saveAll=new o("save-all",{fontCharacter:"\\eb49"}),o.saveAs=new o("save-as",{fontCharacter:"\\eb4a"}),o.save=new o("save",{fontCharacter:"\\eb4b"}),o.screenFull=new o("screen-full",{fontCharacter:"\\eb4c"}),o.screenNormal=new o("screen-normal",{fontCharacter:"\\eb4d"}),o.searchStop=new o("search-stop",{fontCharacter:"\\eb4e"}),o.server=new o("server",{fontCharacter:"\\eb50"}),o.settingsGear=new o("settings-gear",{fontCharacter:"\\eb51"}),o.settings=new o("settings",{fontCharacter:"\\eb52"}),o.shield=new o("shield",{fontCharacter:"\\eb53"}),o.smiley=new o("smiley",{fontCharacter:"\\eb54"}),o.sortPrecedence=new o("sort-precedence",{fontCharacter:"\\eb55"}),o.splitHorizontal=new o("split-horizontal",{fontCharacter:"\\eb56"}),o.splitVertical=new o("split-vertical",{fontCharacter:"\\eb57"}),o.squirrel=new o("squirrel",{fontCharacter:"\\eb58"}),o.starFull=new o("star-full",{fontCharacter:"\\eb59"}),o.starHalf=new o("star-half",{fontCharacter:"\\eb5a"}),o.symbolClass=new o("symbol-class",{fontCharacter:"\\eb5b"}),o.symbolColor=new o("symbol-color",{fontCharacter:"\\eb5c"}),o.symbolConstant=new o("symbol-constant",{fontCharacter:"\\eb5d"}),o.symbolEnumMember=new o("symbol-enum-member",{fontCharacter:"\\eb5e"}),o.symbolField=new o("symbol-field",{fontCharacter:"\\eb5f"}),o.symbolFile=new o("symbol-file",{fontCharacter:"\\eb60"}),o.symbolInterface=new o("symbol-interface",{fontCharacter:"\\eb61"}),o.symbolKeyword=new o("symbol-keyword",{fontCharacter:"\\eb62"}),o.symbolMisc=new o("symbol-misc",{fontCharacter:"\\eb63"}),o.symbolOperator=new o("symbol-operator",{fontCharacter:"\\eb64"}),o.symbolProperty=new o("symbol-property",{fontCharacter:"\\eb65"}),o.wrench=new o("wrench",{fontCharacter:"\\eb65"}),o.wrenchSubaction=new o("wrench-subaction",{fontCharacter:"\\eb65"}),o.symbolSnippet=new o("symbol-snippet",{fontCharacter:"\\eb66"}),o.tasklist=new o("tasklist",{fontCharacter:"\\eb67"}),o.telescope=new o("telescope",{fontCharacter:"\\eb68"}),o.textSize=new o("text-size",{fontCharacter:"\\eb69"}),o.threeBars=new o("three-bars",{fontCharacter:"\\eb6a"}),o.thumbsdown=new o("thumbsdown",{fontCharacter:"\\eb6b"}),o.thumbsup=new o("thumbsup",{fontCharacter:"\\eb6c"}),o.tools=new o("tools",{fontCharacter:"\\eb6d"}),o.triangleDown=new o("triangle-down",{fontCharacter:"\\eb6e"}),o.triangleLeft=new o("triangle-left",{fontCharacter:"\\eb6f"}),o.triangleRight=new o("triangle-right",{fontCharacter:"\\eb70"}),o.triangleUp=new o("triangle-up",{fontCharacter:"\\eb71"}),o.twitter=new o("twitter",{fontCharacter:"\\eb72"}),o.unfold=new o("unfold",{fontCharacter:"\\eb73"}),o.unlock=new o("unlock",{fontCharacter:"\\eb74"}),o.unmute=new o("unmute",{fontCharacter:"\\eb75"}),o.unverified=new o("unverified",{fontCharacter:"\\eb76"}),o.verified=new o("verified",{fontCharacter:"\\eb77"}),o.versions=new o("versions",{fontCharacter:"\\eb78"}),o.vmActive=new o("vm-active",{fontCharacter:"\\eb79"}),o.vmOutline=new o("vm-outline",{fontCharacter:"\\eb7a"}),o.vmRunning=new o("vm-running",{fontCharacter:"\\eb7b"}),o.watch=new o("watch",{fontCharacter:"\\eb7c"}),o.whitespace=new o("whitespace",{fontCharacter:"\\eb7d"}),o.wholeWord=new o("whole-word",{fontCharacter:"\\eb7e"}),o.window=new o("window",{fontCharacter:"\\eb7f"}),o.wordWrap=new o("word-wrap",{fontCharacter:"\\eb80"}),o.zoomIn=new o("zoom-in",{fontCharacter:"\\eb81"}),o.zoomOut=new o("zoom-out",{fontCharacter:"\\eb82"}),o.listFilter=new o("list-filter",{fontCharacter:"\\eb83"}),o.listFlat=new o("list-flat",{fontCharacter:"\\eb84"}),o.listSelection=new o("list-selection",{fontCharacter:"\\eb85"}),o.selection=new o("selection",{fontCharacter:"\\eb85"}),o.listTree=new o("list-tree",{fontCharacter:"\\eb86"}),o.debugBreakpointFunctionUnverified=new o("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),o.debugBreakpointFunction=new o("debug-breakpoint-function",{fontCharacter:"\\eb88"}),o.debugBreakpointFunctionDisabled=new o("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),o.debugStackframeActive=new o("debug-stackframe-active",{fontCharacter:"\\eb89"}),o.debugStackframeDot=new o("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),o.debugStackframe=new o("debug-stackframe",{fontCharacter:"\\eb8b"}),o.debugStackframeFocused=new o("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),o.debugBreakpointUnsupported=new o("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),o.symbolString=new o("symbol-string",{fontCharacter:"\\eb8d"}),o.debugReverseContinue=new o("debug-reverse-continue",{fontCharacter:"\\eb8e"}),o.debugStepBack=new o("debug-step-back",{fontCharacter:"\\eb8f"}),o.debugRestartFrame=new o("debug-restart-frame",{fontCharacter:"\\eb90"}),o.callIncoming=new o("call-incoming",{fontCharacter:"\\eb92"}),o.callOutgoing=new o("call-outgoing",{fontCharacter:"\\eb93"}),o.menu=new o("menu",{fontCharacter:"\\eb94"}),o.expandAll=new o("expand-all",{fontCharacter:"\\eb95"}),o.feedback=new o("feedback",{fontCharacter:"\\eb96"}),o.groupByRefType=new o("group-by-ref-type",{fontCharacter:"\\eb97"}),o.ungroupByRefType=new o("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),o.account=new o("account",{fontCharacter:"\\eb99"}),o.bellDot=new o("bell-dot",{fontCharacter:"\\eb9a"}),o.debugConsole=new o("debug-console",{fontCharacter:"\\eb9b"}),o.library=new o("library",{fontCharacter:"\\eb9c"}),o.output=new o("output",{fontCharacter:"\\eb9d"}),o.runAll=new o("run-all",{fontCharacter:"\\eb9e"}),o.syncIgnored=new o("sync-ignored",{fontCharacter:"\\eb9f"}),o.pinned=new o("pinned",{fontCharacter:"\\eba0"}),o.githubInverted=new o("github-inverted",{fontCharacter:"\\eba1"}),o.debugAlt=new o("debug-alt",{fontCharacter:"\\eb91"}),o.serverProcess=new o("server-process",{fontCharacter:"\\eba2"}),o.serverEnvironment=new o("server-environment",{fontCharacter:"\\eba3"}),o.pass=new o("pass",{fontCharacter:"\\eba4"}),o.stopCircle=new o("stop-circle",{fontCharacter:"\\eba5"}),o.playCircle=new o("play-circle",{fontCharacter:"\\eba6"}),o.record=new o("record",{fontCharacter:"\\eba7"}),o.debugAltSmall=new o("debug-alt-small",{fontCharacter:"\\eba8"}),o.vmConnect=new o("vm-connect",{fontCharacter:"\\eba9"}),o.cloud=new o("cloud",{fontCharacter:"\\ebaa"}),o.merge=new o("merge",{fontCharacter:"\\ebab"}),o.exportIcon=new o("export",{fontCharacter:"\\ebac"}),o.graphLeft=new o("graph-left",{fontCharacter:"\\ebad"}),o.magnet=new o("magnet",{fontCharacter:"\\ebae"}),o.notebook=new o("notebook",{fontCharacter:"\\ebaf"}),o.redo=new o("redo",{fontCharacter:"\\ebb0"}),o.checkAll=new o("check-all",{fontCharacter:"\\ebb1"}),o.pinnedDirty=new o("pinned-dirty",{fontCharacter:"\\ebb2"}),o.passFilled=new o("pass-filled",{fontCharacter:"\\ebb3"}),o.circleLargeFilled=new o("circle-large-filled",{fontCharacter:"\\ebb4"}),o.circleLargeOutline=new o("circle-large-outline",{fontCharacter:"\\ebb5"}),o.combine=new o("combine",{fontCharacter:"\\ebb6"}),o.gather=new o("gather",{fontCharacter:"\\ebb6"}),o.table=new o("table",{fontCharacter:"\\ebb7"}),o.variableGroup=new o("variable-group",{fontCharacter:"\\ebb8"}),o.typeHierarchy=new o("type-hierarchy",{fontCharacter:"\\ebb9"}),o.typeHierarchySub=new o("type-hierarchy-sub",{fontCharacter:"\\ebba"}),o.typeHierarchySuper=new o("type-hierarchy-super",{fontCharacter:"\\ebbb"}),o.gitPullRequestCreate=new o("git-pull-request-create",{fontCharacter:"\\ebbc"}),o.runAbove=new o("run-above",{fontCharacter:"\\ebbd"}),o.runBelow=new o("run-below",{fontCharacter:"\\ebbe"}),o.notebookTemplate=new o("notebook-template",{fontCharacter:"\\ebbf"}),o.debugRerun=new o("debug-rerun",{fontCharacter:"\\ebc0"}),o.workspaceTrusted=new o("workspace-trusted",{fontCharacter:"\\ebc1"}),o.workspaceUntrusted=new o("workspace-untrusted",{fontCharacter:"\\ebc2"}),o.workspaceUnspecified=new o("workspace-unspecified",{fontCharacter:"\\ebc3"}),o.terminalCmd=new o("terminal-cmd",{fontCharacter:"\\ebc4"}),o.terminalDebian=new o("terminal-debian",{fontCharacter:"\\ebc5"}),o.terminalLinux=new o("terminal-linux",{fontCharacter:"\\ebc6"}),o.terminalPowershell=new o("terminal-powershell",{fontCharacter:"\\ebc7"}),o.terminalTmux=new o("terminal-tmux",{fontCharacter:"\\ebc8"}),o.terminalUbuntu=new o("terminal-ubuntu",{fontCharacter:"\\ebc9"}),o.terminalBash=new o("terminal-bash",{fontCharacter:"\\ebca"}),o.arrowSwap=new o("arrow-swap",{fontCharacter:"\\ebcb"}),o.copy=new o("copy",{fontCharacter:"\\ebcc"}),o.personAdd=new o("person-add",{fontCharacter:"\\ebcd"}),o.filterFilled=new o("filter-filled",{fontCharacter:"\\ebce"}),o.wand=new o("wand",{fontCharacter:"\\ebcf"}),o.debugLineByLine=new o("debug-line-by-line",{fontCharacter:"\\ebd0"}),o.inspect=new o("inspect",{fontCharacter:"\\ebd1"}),o.layers=new o("layers",{fontCharacter:"\\ebd2"}),o.layersDot=new o("layers-dot",{fontCharacter:"\\ebd3"}),o.layersActive=new o("layers-active",{fontCharacter:"\\ebd4"}),o.compass=new o("compass",{fontCharacter:"\\ebd5"}),o.compassDot=new o("compass-dot",{fontCharacter:"\\ebd6"}),o.compassActive=new o("compass-active",{fontCharacter:"\\ebd7"}),o.azure=new o("azure",{fontCharacter:"\\ebd8"}),o.issueDraft=new o("issue-draft",{fontCharacter:"\\ebd9"}),o.gitPullRequestClosed=new o("git-pull-request-closed",{fontCharacter:"\\ebda"}),o.gitPullRequestDraft=new o("git-pull-request-draft",{fontCharacter:"\\ebdb"}),o.debugAll=new o("debug-all",{fontCharacter:"\\ebdc"}),o.debugCoverage=new o("debug-coverage",{fontCharacter:"\\ebdd"}),o.runErrors=new o("run-errors",{fontCharacter:"\\ebde"}),o.folderLibrary=new o("folder-library",{fontCharacter:"\\ebdf"}),o.debugContinueSmall=new o("debug-continue-small",{fontCharacter:"\\ebe0"}),o.beakerStop=new o("beaker-stop",{fontCharacter:"\\ebe1"}),o.graphLine=new o("graph-line",{fontCharacter:"\\ebe2"}),o.graphScatter=new o("graph-scatter",{fontCharacter:"\\ebe3"}),o.pieChart=new o("pie-chart",{fontCharacter:"\\ebe4"}),o.bracket=new o("bracket",o.json.definition),o.bracketDot=new o("bracket-dot",{fontCharacter:"\\ebe5"}),o.bracketError=new o("bracket-error",{fontCharacter:"\\ebe6"}),o.lockSmall=new o("lock-small",{fontCharacter:"\\ebe7"}),o.azureDevops=new o("azure-devops",{fontCharacter:"\\ebe8"}),o.verifiedFilled=new o("verified-filled",{fontCharacter:"\\ebe9"})}(w||(w={}))},79881:function(an,it,f){"use strict";f.d(it,{B8:function(){return W},Cp:function(){return ge},F0:function(){return he},L6:function(){return M},VV:function(){return w},b1:function(){return o},dL:function(){return re},ri:function(){return F}});class g{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(b){setTimeout(()=>{throw b.stack?new Error(b.message+`
`+b.stack):b},0)}}emit(b){this.listeners.forEach(A=>{A(b)})}onUnexpectedError(b){this.unexpectedErrorHandler(b),this.emit(b)}onUnexpectedExternalError(b){this.unexpectedErrorHandler(b)}}const O=new g;function re(y){w(y)||O.onUnexpectedError(y)}function ge(y){w(y)||O.onUnexpectedExternalError(y)}function F(y){if(y instanceof Error){let{name:b,message:A}=y;const C=y.stacktrace||y.stack;return{$isError:!0,name:b,message:A,stack:C}}return y}const m="Canceled";function w(y){return y instanceof Error&&y.name===m&&y.message===m}function he(){const y=new Error(m);return y.name=y.message,y}function o(y){return y?new Error(`Illegal argument: ${y}`):new Error("Illegal argument")}function M(y){return y?new Error(`Illegal state: ${y}`):new Error("Illegal state")}class W extends Error{constructor(b){super("NotSupported"),b&&(this.message=b)}}},4348:function(an,it,f){"use strict";f.d(it,{D0:function(){return W},E7:function(){return y},K3:function(){return M},Q5:function(){return o},ZD:function(){return b},ju:function(){return F}});var g=f(79881),O=f(69323),re=f(34502),ge=f(95830),F;(function(A){A.None=()=>O.JT.None;function C(be){return(J,me=null,ae)=>{let v=!1,_;return _=be(Y=>{if(!v)return _?_.dispose():v=!0,J.call(me,Y)},null,ae),v&&_.dispose(),_}}A.once=C;function K(be,J){return L((me,ae=null,v)=>be(_=>me.call(ae,J(_)),null,v))}A.map=K;function pe(be,J){return L((me,ae=null,v)=>be(_=>{J(_),me.call(ae,_)},null,v))}A.forEach=pe;function B(be,J){return L((me,ae=null,v)=>be(_=>J(_)&&me.call(ae,_),null,v))}A.filter=B;function Z(be){return be}A.signal=Z;function ie(...be){return(J,me=null,ae)=>(0,O.F8)(...be.map(v=>v(_=>J.call(me,_),null,ae)))}A.any=ie;function X(be,J,me){let ae=me;return K(be,v=>(ae=J(ae,v),ae))}A.reduce=X;function L(be){let J;const me=new o({onFirstListenerAdd(){J=be(me.fire,me)},onLastListenerRemove(){J.dispose()}});return me.event}function D(be,J,me=100,ae=!1,v){let _,Y,q,Pe=0;const Le=new o({leakWarningThreshold:v,onFirstListenerAdd(){_=be(Ue=>{Pe++,Y=J(Y,Ue),ae&&!q&&(Le.fire(Y),Y=void 0),clearTimeout(q),q=setTimeout(()=>{const $e=Y;Y=void 0,q=void 0,(!ae||Pe>1)&&Le.fire($e),Pe=0},me)})},onLastListenerRemove(){_.dispose()}});return Le.event}A.debounce=D;function Q(be,J=(me,ae)=>me===ae){let me=!0,ae;return B(be,v=>{const _=me||!J(v,ae);return me=!1,ae=v,_})}A.latch=Q;function j(be,J){return[A.filter(be,J),A.filter(be,me=>!J(me))]}A.split=j;function ve(be,J=!1,me=[]){let ae=me.slice(),v=be(q=>{ae?ae.push(q):Y.fire(q)});const _=()=>{ae&&ae.forEach(q=>Y.fire(q)),ae=null},Y=new o({onFirstListenerAdd(){v||(v=be(q=>Y.fire(q)))},onFirstListenerDidAdd(){ae&&(J?setTimeout(_):_())},onLastListenerRemove(){v&&v.dispose(),v=null}});return Y.event}A.buffer=ve;class xe{constructor(J){this.event=J}map(J){return new xe(K(this.event,J))}forEach(J){return new xe(pe(this.event,J))}filter(J){return new xe(B(this.event,J))}reduce(J,me){return new xe(X(this.event,J,me))}latch(){return new xe(Q(this.event))}debounce(J,me=100,ae=!1,v){return new xe(D(this.event,J,me,ae,v))}on(J,me,ae){return this.event(J,me,ae)}once(J,me,ae){return C(this.event)(J,me,ae)}}function ye(be){return new xe(be)}A.chain=ye;function le(be,J,me=ae=>ae){const ae=(...q)=>Y.fire(me(...q)),v=()=>be.on(J,ae),_=()=>be.removeListener(J,ae),Y=new o({onFirstListenerAdd:v,onLastListenerRemove:_});return Y.event}A.fromNodeEventEmitter=le;function oe(be,J,me=ae=>ae){const ae=(...q)=>Y.fire(me(...q)),v=()=>be.addEventListener(J,ae),_=()=>be.removeEventListener(J,ae),Y=new o({onFirstListenerAdd:v,onLastListenerRemove:_});return Y.event}A.fromDOMEventEmitter=oe;function H(be){return new Promise(J=>C(be)(J))}A.toPromise=H})(F||(F={}));class m{constructor(C){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${C}_${m._idPool++}`}start(C){this._stopWatch=new ge.G(!0),this._listenerCount=C}stop(){if(this._stopWatch){const C=this._stopWatch.elapsed();this._elapsedOverall+=C,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${C.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}m._idPool=0;let w=-1;class he{constructor(C,K=Math.random().toString(18).slice(2,5)){this.customThreshold=C,this.name=K,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(C){let K=w;if(typeof this.customThreshold=="number"&&(K=this.customThreshold),K<=0||C<K)return;this._stacks||(this._stacks=new Map);const pe=new Error().stack.split(`
`).slice(3).join(`
`),B=this._stacks.get(pe)||0;if(this._stacks.set(pe,B+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=K*.5;let Z,ie=0;for(const[X,L]of this._stacks)(!Z||ie<L)&&(Z=X,ie=L);console.warn(`[${this.name}] potential listener LEAK detected, having ${C} listeners already. MOST frequent listener (${ie}):`),console.warn(Z)}return()=>{const Z=this._stacks.get(pe)||0;this._stacks.set(pe,Z-1)}}}class o{constructor(C){var K;this._disposed=!1,this._options=C,this._leakageMon=w>0?new he(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((K=this._options)===null||K===void 0)&&K._profName?new m(this._options._profName):void 0}get event(){return this._event||(this._event=(C,K,pe)=>{var B;this._listeners||(this._listeners=new re.S);const Z=this._listeners.isEmpty();Z&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const ie=this._listeners.push(K?[C,K]:C);Z&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,C,K);const X=(B=this._leakageMon)===null||B===void 0?void 0:B.check(this._listeners.size),L=(0,O.OF)(()=>{X&&X(),this._disposed||(ie(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return pe instanceof O.SL?pe.add(L):Array.isArray(pe)&&pe.push(L),L}),this._event}fire(C){var K,pe;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new re.S);for(let B of this._listeners)this._deliveryQueue.push([B,C]);for((K=this._perfMon)===null||K===void 0||K.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[B,Z]=this._deliveryQueue.shift();try{typeof B=="function"?B.call(void 0,Z):B[0].call(B[1],Z)}catch(ie){(0,g.dL)(ie)}}(pe=this._perfMon)===null||pe===void 0||pe.stop()}}dispose(){var C,K,pe,B,Z;this._disposed||(this._disposed=!0,(C=this._listeners)===null||C===void 0||C.clear(),(K=this._deliveryQueue)===null||K===void 0||K.clear(),(B=(pe=this._options)===null||pe===void 0?void 0:pe.onLastListenerRemove)===null||B===void 0||B.call(pe),(Z=this._leakageMon)===null||Z===void 0||Z.dispose())}}class M extends o{constructor(C){super(C),this._isPaused=0,this._eventQueue=new re.S,this._mergeFn=C==null?void 0:C.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const C=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(C))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(C){this._listeners&&(this._isPaused!==0?this._eventQueue.push(C):super.fire(C))}}class W extends M{constructor(C){var K;super(C),this._delay=(K=C.delay)!==null&&K!==void 0?K:100}fire(C){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(C)}}class y{constructor(){this.buffers=[]}wrapEvent(C){return(K,pe,B)=>C(Z=>{const ie=this.buffers[this.buffers.length-1];ie?ie.push(()=>K.call(pe,Z)):K.call(pe,Z)},void 0,B)}bufferEvents(C){const K=[];this.buffers.push(K);const pe=C();return this.buffers.pop(),K.forEach(B=>B()),pe}}class b{constructor(){this.listening=!1,this.inputEvent=F.None,this.inputEventListener=O.JT.None,this.emitter=new o({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(C){this.inputEvent=C,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=C(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(an,it,f){"use strict";f.d(it,{I:function(){return g}});function g(O){const re=this;let ge=!1,F;return function(){return ge||(ge=!0,F=O.apply(re,arguments)),F}}},88226:function(an,it,f){"use strict";f.d(it,{$:function(){return g}});var g;(function(O){function re(ie){return ie&&typeof ie=="object"&&typeof ie[Symbol.iterator]=="function"}O.is=re;const ge=Object.freeze([]);function F(){return ge}O.empty=F;function*m(ie){yield ie}O.single=m;function w(ie){return ie||ge}O.from=w;function he(ie){return!ie||ie[Symbol.iterator]().next().done===!0}O.isEmpty=he;function o(ie){return ie[Symbol.iterator]().next().value}O.first=o;function M(ie,X){for(const L of ie)if(X(L))return!0;return!1}O.some=M;function W(ie,X){for(const L of ie)if(X(L))return L}O.find=W;function*y(ie,X){for(const L of ie)X(L)&&(yield L)}O.filter=y;function*b(ie,X){let L=0;for(const D of ie)yield X(D,L++)}O.map=b;function*A(...ie){for(const X of ie)for(const L of X)yield L}O.concat=A;function*C(ie){for(const X of ie)for(const L of X)yield L}O.concatNested=C;function K(ie,X,L){let D=L;for(const Q of ie)D=X(D,Q);return D}O.reduce=K;function*pe(ie,X,L=ie.length){for(X<0&&(X+=ie.length),L<0?L+=ie.length:L>ie.length&&(L=ie.length);X<L;X++)yield ie[X]}O.slice=pe;function B(ie,X=Number.POSITIVE_INFINITY){const L=[];if(X===0)return[L,ie];const D=ie[Symbol.iterator]();for(let Q=0;Q<X;Q++){const j=D.next();if(j.done)return[L,O.empty()];L.push(j.value)}return[L,{[Symbol.iterator](){return D}}]}O.consume=B;function Z(ie,X,L=(D,Q)=>D===Q){const D=ie[Symbol.iterator](),Q=X[Symbol.iterator]();for(;;){const j=D.next(),ve=Q.next();if(j.done!==ve.done)return!1;if(j.done)return!0;if(!L(j.value,ve.value))return!1}}O.equals=Z})(g||(g={}))},69323:function(an,it,f){"use strict";f.d(it,{B9:function(){return b},F8:function(){return A},JT:function(){return pe},Jz:function(){return Z},OF:function(){return C},SL:function(){return K},Wf:function(){return y},XK:function(){return B},dk:function(){return M}});var g=f(17845),O=f(88226);const re=!1;let ge=null;function F(ie){ge=ie}if(re){const ie="__is_disposable_tracked__";F(new class{trackDisposable(X){const L=new Error("Potentially leaked disposable").stack;setTimeout(()=>{X[ie]||console.log(L)},3e3)}setParent(X,L){if(X&&X!==pe.None)try{X[ie]=!0}catch(D){}}markAsDisposed(X){if(X&&X!==pe.None)try{X[ie]=!0}catch(L){}}markAsSingleton(X){}})}function m(ie){return ge==null||ge.trackDisposable(ie),ie}function w(ie){ge==null||ge.markAsDisposed(ie)}function he(ie,X){ge==null||ge.setParent(ie,X)}function o(ie,X){if(ge)for(const L of ie)ge.setParent(L,X)}function M(ie){return ge==null||ge.markAsSingleton(ie),ie}class W extends Error{constructor(X){super(`Encountered errors while disposing of store. Errors: [${X.join(", ")}]`),this.errors=X}}function y(ie){return typeof ie.dispose=="function"&&ie.dispose.length===0}function b(ie){if(O.$.is(ie)){let X=[];for(const L of ie)if(L)try{L.dispose()}catch(D){X.push(D)}if(X.length===1)throw X[0];if(X.length>1)throw new W(X);return Array.isArray(ie)?[]:ie}else if(ie)return ie.dispose(),ie}function A(...ie){const X=C(()=>b(ie));return o(ie,X),X}function C(ie){const X=m({dispose:(0,g.I)(()=>{w(X),ie()})});return X}class K{constructor(){this._toDispose=new Set,this._isDisposed=!1,m(this)}dispose(){this._isDisposed||(w(this),this._isDisposed=!0,this.clear())}clear(){try{b(this._toDispose.values())}finally{this._toDispose.clear()}}add(X){if(!X)return X;if(X===this)throw new Error("Cannot register a disposable on itself!");return he(X,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(X),X}}K.DISABLE_DISPOSED_WARNING=!1;class pe{constructor(){this._store=new K,m(this),he(this._store,this)}dispose(){w(this),this._store.dispose()}_register(X){if(X===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(X)}}pe.None=Object.freeze({dispose(){}});class B{constructor(){this._isDisposed=!1,m(this)}get value(){return this._isDisposed?void 0:this._value}set value(X){var L;this._isDisposed||X===this._value||((L=this._value)===null||L===void 0||L.dispose(),X&&he(X,this),this._value=X)}clear(){this.value=void 0}dispose(){var X;this._isDisposed=!0,w(this),(X=this._value)===null||X===void 0||X.dispose(),this._value=void 0}clearAndLeak(){const X=this._value;return this._value=void 0,X&&he(X,null),X}}class Z{constructor(X){this.object=X}dispose(){}}},34502:function(an,it,f){"use strict";f.d(it,{S:function(){return O}});class g{constructor(ge){this.element=ge,this.next=g.Undefined,this.prev=g.Undefined}}g.Undefined=new g(void 0);class O{constructor(){this._first=g.Undefined,this._last=g.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===g.Undefined}clear(){let ge=this._first;for(;ge!==g.Undefined;){const F=ge.next;ge.prev=g.Undefined,ge.next=g.Undefined,ge=F}this._first=g.Undefined,this._last=g.Undefined,this._size=0}unshift(ge){return this._insert(ge,!1)}push(ge){return this._insert(ge,!0)}_insert(ge,F){const m=new g(ge);if(this._first===g.Undefined)this._first=m,this._last=m;else if(F){const he=this._last;this._last=m,m.prev=he,he.next=m}else{const he=this._first;this._first=m,m.next=he,he.prev=m}this._size+=1;let w=!1;return()=>{w||(w=!0,this._remove(m))}}shift(){if(this._first!==g.Undefined){const ge=this._first.element;return this._remove(this._first),ge}}pop(){if(this._last!==g.Undefined){const ge=this._last.element;return this._remove(this._last),ge}}_remove(ge){if(ge.prev!==g.Undefined&&ge.next!==g.Undefined){const F=ge.prev;F.next=ge.next,ge.next.prev=F}else ge.prev===g.Undefined&&ge.next===g.Undefined?(this._first=g.Undefined,this._last=g.Undefined):ge.next===g.Undefined?(this._last=this._last.prev,this._last.next=g.Undefined):ge.prev===g.Undefined&&(this._first=this._first.next,this._first.prev=g.Undefined);this._size-=1}*[Symbol.iterator](){let ge=this._first;for(;ge!==g.Undefined;)yield ge.element,ge=ge.next}}},23345:function(an,it,f){"use strict";f.d(it,{$L:function(){return D},ED:function(){return Z},IJ:function(){return X},OS:function(){return xe},WE:function(){return j},dz:function(){return ie},gn:function(){return Q},li:function(){return C},r:function(){return oe},tY:function(){return L},xS:function(){return ve}});var g=f(97671),O;const re="en";let ge=!1,F=!1,m=!1,w=!1,he=!1,o=!1,M=!1,W,y=null,b=null,A;const C=typeof self=="object"?self:typeof f.g=="object"?f.g:{};let K;typeof C.vscode!="undefined"&&typeof C.vscode.process!="undefined"?K=C.vscode.process:typeof g!="undefined"&&(K=g);const pe=typeof((O=K==null?void 0:K.versions)===null||O===void 0?void 0:O.electron)=="string"&&K.type==="renderer";if(typeof navigator=="object"&&!pe)A=navigator.userAgent,ge=A.indexOf("Windows")>=0,F=A.indexOf("Macintosh")>=0,M=(A.indexOf("Macintosh")>=0||A.indexOf("iPad")>=0||A.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,m=A.indexOf("Linux")>=0,o=!0,W=navigator.language,y=W;else if(typeof K=="object"){ge=K.platform==="win32",F=K.platform==="darwin",m=K.platform==="linux",w=m&&!!K.env.SNAP&&!!K.env.SNAP_REVISION,W=re,y=re;const H=K.env.VSCODE_NLS_CONFIG;if(H)try{const be=JSON.parse(H),J=be.availableLanguages["*"];W=be.locale,y=J||re,b=be._translationsConfigFile}catch(be){}he=!0}else console.error("Unable to resolve platform.");let B=0;F?B=1:ge?B=3:m&&(B=2);const Z=ge,ie=F,X=m,L=he,D=o,Q=M,j=A,ve=function(){if(C.setImmediate)return C.setImmediate.bind(C);if(typeof C.postMessage=="function"&&!C.importScripts){let J=[];C.addEventListener("message",ae=>{if(ae.data&&ae.data.vscodeSetImmediateId)for(let v=0,_=J.length;v<_;v++){const Y=J[v];if(Y.id===ae.data.vscodeSetImmediateId){J.splice(v,1),Y.callback();return}}});let me=0;return ae=>{const v=++me;J.push({id:v,callback:ae}),C.postMessage({vscodeSetImmediateId:v},"*")}}if(typeof(K==null?void 0:K.nextTick)=="function")return K.nextTick.bind(K);const be=Promise.resolve();return J=>be.then(J)}(),xe=F||M?2:ge?1:3;let ye=!0,le=!1;function oe(){if(!le){le=!0;const H=new Uint8Array(2);H[0]=1,H[1]=2,ye=new Uint16Array(H.buffer)[0]===513}return ye}},95830:function(an,it,f){"use strict";f.d(it,{G:function(){return re}});var g=f(23345);const O=g.li.performance&&typeof g.li.performance.now=="function";class re{constructor(F){this._highResolution=O&&F,this._startTime=this._now(),this._stopTime=-1}static create(F=!0){return new re(F)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?g.li.performance.now():Date.now()}}},82983:function(an,it,f){"use strict";f.d(it,{$i:function(){return Pe},C8:function(){return dt},GF:function(){return W},HO:function(){return me},IO:function(){return y},K7:function(){return ut},Kw:function(){return nn},LC:function(){return C},Mh:function(){return ve},P1:function(){return xe},PJ:function(){return kt},Qe:function(){return Le},R1:function(){return M},RP:function(){return Y},S6:function(){return Nt},TT:function(){return Z},Ut:function(){return v},V8:function(){return K},WU:function(){return re},YK:function(){return le},YU:function(){return ge},ZG:function(){return ye},ZH:function(){return H},ab:function(){return Ue},c1:function(){return at},df:function(){return D},ec:function(){return F},fi:function(){return lt},fy:function(){return m},j3:function(){return w},j_:function(){return X},m5:function(){return g},mK:function(){return L},mr:function(){return b},oH:function(){return fe},oL:function(){return he},ok:function(){return j},ow:function(){return pe},qq:function(){return Q},qu:function(){return B},rL:function(){return oe},uS:function(){return Pt},un:function(){return o},uq:function(){return A},vH:function(){return J},xe:function(){return $e},zY:function(){return ie}});function g(P){return!P||typeof P!="string"?!0:P.trim().length===0}const O=/{(\d+)}/g;function re(P,...T){return T.length===0?P:P.replace(O,function(I,ne){const $=parseInt(ne,10);return isNaN($)||$<0||$>=T.length?I:T[$]})}function ge(P){return P.replace(/[<>&]/g,function(T){switch(T){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return T}})}function F(P){return P.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function m(P,T=" "){const I=w(P,T);return he(I,T)}function w(P,T){if(!P||!T)return P;const I=T.length;if(I===0||P.length===0)return P;let ne=0;for(;P.indexOf(T,ne)===ne;)ne=ne+I;return P.substring(ne)}function he(P,T){if(!P||!T)return P;const I=T.length,ne=P.length;if(I===0||ne===0)return P;let $=ne,V=-1;for(;V=P.lastIndexOf(T,$-1),!(V===-1||V+I!==$);){if(V===0)return"";$=V}return P.substring(0,$)}function o(P){return P.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function M(P){return P.replace(/\*/g,"")}function W(P,T,I={}){if(!P)throw new Error("Cannot create regex from empty string");T||(P=F(P)),I.wholeWord&&(/\B/.test(P.charAt(0))||(P="\\b"+P),/\B/.test(P.charAt(P.length-1))||(P=P+"\\b"));let ne="";return I.global&&(ne+="g"),I.matchCase||(ne+="i"),I.multiline&&(ne+="m"),I.unicode&&(ne+="u"),new RegExp(P,ne)}function y(P){return P.source==="^"||P.source==="^$"||P.source==="$"||P.source==="^\\s*$"?!1:!!(P.exec("")&&P.lastIndex===0)}function b(P){return(P.global?"g":"")+(P.ignoreCase?"i":"")+(P.multiline?"m":"")+(P.unicode?"u":"")}function A(P){return P.split(/\r\n|\r|\n/)}function C(P){for(let T=0,I=P.length;T<I;T++){const ne=P.charCodeAt(T);if(ne!==32&&ne!==9)return T}return-1}function K(P,T=0,I=P.length){for(let ne=T;ne<I;ne++){const $=P.charCodeAt(ne);if($!==32&&$!==9)return P.substring(T,ne)}return P.substring(T,I)}function pe(P,T=P.length-1){for(let I=T;I>=0;I--){const ne=P.charCodeAt(I);if(ne!==32&&ne!==9)return I}return-1}function B(P,T){return P<T?-1:P>T?1:0}function Z(P,T,I=0,ne=P.length,$=0,V=T.length){for(;I<ne&&$<V;I++,$++){let Ie=P.charCodeAt(I),Fe=T.charCodeAt($);if(Ie<Fe)return-1;if(Ie>Fe)return 1}const Te=ne-I,He=V-$;return Te<He?-1:Te>He?1:0}function ie(P,T){return X(P,T,0,P.length,0,T.length)}function X(P,T,I=0,ne=P.length,$=0,V=T.length){for(;I<ne&&$<V;I++,$++){let Ie=P.charCodeAt(I),Fe=T.charCodeAt($);if(Ie===Fe)continue;if(Ie>=128||Fe>=128)return Z(P.toLowerCase(),T.toLowerCase(),I,ne,$,V);L(Ie)&&(Ie-=32),L(Fe)&&(Fe-=32);const Qe=Ie-Fe;if(Qe!==0)return Qe}const Te=ne-I,He=V-$;return Te<He?-1:Te>He?1:0}function L(P){return P>=97&&P<=122}function D(P){return P>=65&&P<=90}function Q(P,T){return P.length===T.length&&X(P,T)===0}function j(P,T){const I=T.length;return T.length>P.length?!1:X(P,T,0,I)===0}function ve(P,T){let I,ne=Math.min(P.length,T.length);for(I=0;I<ne;I++)if(P.charCodeAt(I)!==T.charCodeAt(I))return I;return ne}function xe(P,T){let I,ne=Math.min(P.length,T.length);const $=P.length-1,V=T.length-1;for(I=0;I<ne;I++)if(P.charCodeAt($-I)!==T.charCodeAt(V-I))return I;return ne}function ye(P){return 55296<=P&&P<=56319}function le(P){return 56320<=P&&P<=57343}function oe(P,T){return(P-55296<<10)+(T-56320)+65536}function H(P,T,I){const ne=P.charCodeAt(I);if(ye(ne)&&I+1<T){const $=P.charCodeAt(I+1);if(le($))return oe(ne,$)}return ne}function be(P,T){const I=P.charCodeAt(T-1);if(le(I)&&T>1){const ne=P.charCodeAt(T-2);if(ye(ne))return oe(ne,I)}return I}function J(P,T){const I=wt.getInstance(),ne=T,$=P.length,V=H(P,$,T);T+=V>=65536?2:1;let Te=I.getGraphemeBreakType(V);for(;T<$;){const He=H(P,$,T),Ie=I.getGraphemeBreakType(He);if(lt(Te,Ie))break;T+=He>=65536?2:1,Te=Ie}return T-ne}function me(P,T){const I=wt.getInstance(),ne=T,$=be(P,T);T-=$>=65536?2:1;let V=I.getGraphemeBreakType($);for(;T>0;){const Te=be(P,T),He=I.getGraphemeBreakType(Te);if(lt(He,V))break;T-=Te>=65536?2:1,V=He}return ne-T}const ae=/(?:[\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 v(P){return ae.test(P)}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 Y(P){return _.test(P)}const q=/^[\t\n\r\x20-\x7E]*$/;function Pe(P){return q.test(P)}const Le=/[\u2028\u2029]/;function Ue(P){return Le.test(P)}function $e(P){for(let T=0,I=P.length;T<I;T++)if(ut(P.charCodeAt(T)))return!0;return!1}function ut(P){return P=+P,P>=11904&&P<=55215||P>=63744&&P<=64255||P>=65281&&P<=65374}function dt(P){return P>=127462&&P<=127487||P===8986||P===8987||P===9200||P===9203||P>=9728&&P<=10175||P===11088||P===11093||P>=127744&&P<=128591||P>=128640&&P<=128764||P>=128992&&P<=129003||P>=129280&&P<=129535||P>=129648&&P<=129750}const at="\uFEFF";function Pt(P){return!!(P&&P.length>0&&P.charCodeAt(0)===65279)}function nn(P,T=!1){return P?(T&&(P=P.replace(/\\./g,"")),P.toLowerCase()!==P):!1}function kt(P){return P=P%(2*26),P<26?String.fromCharCode(97+P):String.fromCharCode(65+P-26)}function Nt(P){return wt.getInstance().getGraphemeBreakType(P)}function lt(P,T){return P===0?T!==5&&T!==7:P===2&&T===3?!1:P===4||P===2||P===3||T===4||T===2||T===3?!0:!(P===8&&(T===8||T===9||T===11||T===12)||(P===11||P===9)&&(T===9||T===10)||(P===12||P===10)&&T===10||T===5||T===13||T===7||P===1||P===13&&T===14||P===6&&T===6)}class wt{constructor(){this._data=de()}static getInstance(){return wt._INSTANCE||(wt._INSTANCE=new wt),wt._INSTANCE}getGraphemeBreakType(T){if(T<32)return T===10?3:T===13?2:4;if(T<127)return 0;const I=this._data,ne=I.length/3;let $=1;for(;$<=ne;)if(T<I[3*$])$=2*$;else if(T>I[3*$+1])$=2*$+1;else return I[3*$+2];return 0}}wt._INSTANCE=null;function de(){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 fe(P,T){if(P===0)return 0;const I=G(P,T);if(I!==void 0)return I;const ne=be(T,P);return P-=U(ne),P}function G(P,T){let I=be(T,P);for(P-=U(I);we(I)||I===65039||I===8419;){if(P===0)return;I=be(T,P),P-=U(I)}if(dt(I)){if(P>=0){const ne=be(T,P);ne===8205&&(P-=U(ne))}return P}}function U(P){return P>=65536?2:1}function we(P){return 127995<=P&&P<=127999}},72999:function(an,it,f){"use strict";f.d(it,{$E:function(){return C},$K:function(){return w},D8:function(){return y},HD:function(){return O},IU:function(){return K},Jp:function(){return he},Kn:function(){return re},cW:function(){return M},f6:function(){return pe},hj:function(){return ge},jn:function(){return F},kJ:function(){return g},mf:function(){return W},o8:function(){return m},p_:function(){return o},vE:function(){return B}});function g(Z){return Array.isArray(Z)}function O(Z){return typeof Z=="string"}function re(Z){return typeof Z=="object"&&Z!==null&&!Array.isArray(Z)&&!(Z instanceof RegExp)&&!(Z instanceof Date)}function ge(Z){return typeof Z=="number"&&!isNaN(Z)}function F(Z){return Z===!0||Z===!1}function m(Z){return typeof Z=="undefined"}function w(Z){return!he(Z)}function he(Z){return m(Z)||Z===null}function o(Z,ie){if(!Z)throw new Error(ie?`Unexpected type, expected '${ie}'`:"Unexpected type")}function M(Z){if(he(Z))throw new Error("Assertion Failed: argument is undefined or null");return Z}function W(Z){return typeof Z=="function"}function y(Z,ie){const X=Math.min(Z.length,ie.length);for(let L=0;L<X;L++)b(Z[L],ie[L])}function b(Z,ie){if(O(ie)){if(typeof Z!==ie)throw new Error(`argument does not match constraint: typeof ${ie}`)}else if(W(ie)){try{if(Z instanceof ie)return}catch(X){}if(!he(Z)&&Z.constructor===ie||ie.length===1&&ie.call(void 0,Z)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function A(Z){let ie=[],X=Object.getPrototypeOf(Z);for(;Object.prototype!==X;)ie=ie.concat(Object.getOwnPropertyNames(X)),X=Object.getPrototypeOf(X);return ie}function C(Z){const ie=[];for(const X of A(Z))typeof Z[X]=="function"&&ie.push(X);return ie}function K(Z,ie){const X=D=>function(){const Q=Array.prototype.slice.call(arguments,0);return ie(D,Q)};let L={};for(const D of Z)L[D]=X(D);return L}function pe(Z){return Z===null?void 0:Z}function B(Z,ie="Unreachable"){throw new Error(ie)}},13268:function(an,it,f){"use strict";f.d(it,{N:function(){return O}});function g(re,ge){let F;return ge.length===0?F=re:F=re.replace(/\{(\d+)\}/g,function(m,w){const he=w[0];return typeof ge[he]!="undefined"?ge[he]:m}),F}function O(re,ge,...F){return g(ge,F)}},96236:function(an,it,f){"use strict";f.d(it,{BH:function(){return K},NZ:function(){return pe},U8:function(){return B},co:function(){return C},eH:function(){return A},vr:function(){return b}});var g=f(75918),O=f(52615),re=f(4348),ge=f(88226),F=f(69323),m=f(34502),w=f(35884),he=f(90689),o=f(16925),M=f(49055),W=function(Z,ie,X,L){var D=arguments.length,Q=D<3?ie:L===null?L=Object.getOwnPropertyDescriptor(ie,X):L,j;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Q=Reflect.decorate(Z,ie,X,L);else for(var ve=Z.length-1;ve>=0;ve--)(j=Z[ve])&&(Q=(D<3?j(Q):D>3?j(ie,X,Q):j(ie,X))||Q);return D>3&&Q&&Object.defineProperty(ie,X,Q),Q},y=function(Z,ie){return function(X,L){ie(X,L,Z)}};function b(Z){return Z.command!==void 0}class A{constructor(ie){this.id=A._idPool++,this._debugName=ie}}A._idPool=0,A.CommandPalette=new A("CommandPalette"),A.EditorContext=new A("EditorContext"),A.SimpleEditorContext=new A("SimpleEditorContext"),A.EditorContextCopy=new A("EditorContextCopy"),A.EditorContextPeek=new A("EditorContextPeek"),A.MenubarEditMenu=new A("MenubarEditMenu"),A.MenubarCopy=new A("MenubarCopy"),A.MenubarGoMenu=new A("MenubarGoMenu"),A.MenubarSelectionMenu=new A("MenubarSelectionMenu"),A.InlineCompletionsActions=new A("InlineCompletionsActions");const C=(0,o.yh)("menuService"),K=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new re.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:Z=>Z===A.CommandPalette}}addCommand(Z){return this.addCommands(ge.$.single(Z))}addCommands(Z){for(const ie of Z)this._commands.set(ie.id,ie);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,F.OF)(()=>{let ie=!1;for(const X of Z)ie=this._commands.delete(X.id)||ie;ie&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(Z){return this._commands.get(Z)}getCommands(){const Z=new Map;return this._commands.forEach((ie,X)=>Z.set(X,ie)),Z}appendMenuItem(Z,ie){return this.appendMenuItems(ge.$.single({id:Z,item:ie}))}appendMenuItems(Z){const ie=new Set,X=new m.S;for(const{id:L,item:D}of Z){let Q=this._menuItems.get(L);Q||(Q=new m.S,this._menuItems.set(L,Q)),X.push(Q.push(D)),ie.add(L)}return this._onDidChangeMenu.fire(ie),(0,F.OF)(()=>{if(X.size>0){for(let L of X)L();this._onDidChangeMenu.fire(ie),X.clear()}})}getMenuItems(Z){let ie;return this._menuItems.has(Z)?ie=[...this._menuItems.get(Z)]:ie=[],Z===A.CommandPalette&&this._appendImplicitItems(ie),ie}_appendImplicitItems(Z){const ie=new Set;for(const X of Z)b(X)&&(ie.add(X.command.id),X.alt&&ie.add(X.alt.id));this._commands.forEach((X,L)=>{ie.has(L)||Z.push({command:X})})}};class pe extends g.wY{constructor(ie,X,L,D){super(`submenuitem.${ie.submenu.id}`,typeof ie.title=="string"?ie.title:ie.title.value,[],"submenu"),this.item=ie,this._menuService=X,this._contextKeyService=L,this._options=D}get actions(){const ie=[],X=this._menuService.createMenu(this.item.submenu,this._contextKeyService),L=X.getActions(this._options);X.dispose();for(const[,D]of L)D.length>0&&(ie.push(...D),ie.push(new g.Z0));return ie.length&&ie.pop(),ie}}let B=class Lu{constructor(ie,X,L,D,Q){var j,ve;if(this._commandService=Q,this.id=ie.id,this.label=L!=null&&L.renderShortTitle&&ie.shortTitle?typeof ie.shortTitle=="string"?ie.shortTitle:ie.shortTitle.value:typeof ie.title=="string"?ie.title:ie.title.value,this.tooltip=(ve=typeof ie.tooltip=="string"?ie.tooltip:(j=ie.tooltip)===null||j===void 0?void 0:j.value)!==null&&ve!==void 0?ve:"",this.enabled=!ie.precondition||D.contextMatchesRules(ie.precondition),this.checked=void 0,ie.toggled){const xe=ie.toggled.condition?ie.toggled:{condition:ie.toggled};this.checked=D.contextMatchesRules(xe.condition),this.checked&&xe.tooltip&&(this.tooltip=typeof xe.tooltip=="string"?xe.tooltip:xe.tooltip.value),xe.title&&(this.label=typeof xe.title=="string"?xe.title:xe.title.value)}this.item=ie,this.alt=X?new Lu(X,void 0,L,D,Q):void 0,this._options=L,M.kS.isThemeIcon(ie.icon)&&(this.class=O.dT.asClassName(ie.icon))}dispose(){}run(...ie){var X,L;let D=[];return!((X=this._options)===null||X===void 0)&&X.arg&&(D=[...D,this._options.arg]),!((L=this._options)===null||L===void 0)&&L.shouldForwardArgs&&(D=[...D,...ie]),this._commandService.executeCommand(this.id,...D)}};B=W([y(3,he.i6),y(4,w.H)],B)},35884:function(an,it,f){"use strict";f.d(it,{H:function(){return w},P:function(){return he}});var g=f(4348),O=f(88226),re=f(69323),ge=f(34502),F=f(72999),m=f(16925);const w=(0,m.yh)("commandService"),he=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new g.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(o,M){if(!o)throw new Error("invalid command");if(typeof o=="string"){if(!M)throw new Error("invalid command");return this.registerCommand({id:o,handler:M})}if(o.description){const C=[];for(let pe of o.description.args)C.push(pe.constraint);const K=o.handler;o.handler=function(pe,...B){return(0,F.D8)(B,C),K(pe,...B)}}const{id:W}=o;let y=this._commands.get(W);y||(y=new ge.S,this._commands.set(W,y));let b=y.unshift(o),A=(0,re.OF)(()=>{b();const C=this._commands.get(W);C!=null&&C.isEmpty()&&this._commands.delete(W)});return this._onDidRegisterCommand.fire(W),A}registerCommandAlias(o,M){return he.registerCommand(o,(W,...y)=>W.get(w).executeCommand(M,...y))}getCommand(o){const M=this._commands.get(o);if(!(!M||M.isEmpty()))return O.$.first(M)}getCommands(){const o=new Map;for(const M of this._commands.keys()){const W=this.getCommand(M);W&&o.set(M,W)}return o}};he.registerCommand("noop",()=>{})},90689:function(an,it,f){"use strict";f.d(it,{Ao:function(){return w},Eq:function(){return oe},Fb:function(){return he},K8:function(){return J},i6:function(){return le},uy:function(){return ye}});var g=f(23345),O=f(82983),re=f(16925);let ge=g.WE||"";const F=new Map;F.set("false",!1),F.set("true",!0),F.set("isMac",g.dz),F.set("isLinux",g.IJ),F.set("isWindows",g.ED),F.set("isWeb",g.$L),F.set("isMacNative",g.dz&&!g.$L),F.set("isEdge",ge.indexOf("Edg/")>=0),F.set("isFirefox",ge.indexOf("Firefox")>=0),F.set("isChrome",ge.indexOf("Chrome")>=0),F.set("isSafari",ge.indexOf("Safari")>=0);const m=Object.prototype.hasOwnProperty;class w{static has(v){return y.create(v)}static equals(v,_){return b.create(v,_)}static regex(v,_){return D.create(v,_)}static not(v){return pe.create(v)}static and(...v){return ve.create(v,null)}static or(...v){return xe.create(v,null,!0)}static deserialize(v,_=!1){if(v)return this._deserializeOrExpression(v,_)}static _deserializeOrExpression(v,_){let Y=v.split("||");return xe.create(Y.map(q=>this._deserializeAndExpression(q,_)),null,!0)}static _deserializeAndExpression(v,_){let Y=v.split("&&");return ve.create(Y.map(q=>this._deserializeOne(q,_)),null)}static _deserializeOne(v,_){if(v=v.trim(),v.indexOf("!=")>=0){let Y=v.split("!=");return K.create(Y[0].trim(),this._deserializeValue(Y[1],_))}if(v.indexOf("==")>=0){let Y=v.split("==");return b.create(Y[0].trim(),this._deserializeValue(Y[1],_))}if(v.indexOf("=~")>=0){let Y=v.split("=~");return D.create(Y[0].trim(),this._deserializeRegexValue(Y[1],_))}if(v.indexOf(" in ")>=0){let Y=v.split(" in ");return A.create(Y[0].trim(),Y[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(v)){const Y=v.split(">=");return ie.create(Y[0].trim(),Y[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(v)){const Y=v.split(">");return Z.create(Y[0].trim(),Y[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(v)){const Y=v.split("<=");return L.create(Y[0].trim(),Y[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(v)){const Y=v.split("<");return X.create(Y[0].trim(),Y[1].trim())}return/^\!\s*/.test(v)?pe.create(v.substr(1).trim()):y.create(v)}static _deserializeValue(v,_){if(v=v.trim(),v==="true")return!0;if(v==="false")return!1;let Y=/^'([^']*)'$/.exec(v);return Y?Y[1].trim():v}static _deserializeRegexValue(v,_){if((0,O.m5)(v)){if(_)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let Y=v.indexOf("/"),q=v.lastIndexOf("/");if(Y===q||Y<0){if(_)throw new Error(`bad regexp-value '${v}', missing /-enclosure`);return console.warn(`bad regexp-value '${v}', missing /-enclosure`),null}let Pe=v.slice(Y+1,q),Le=v[q+1]==="i"?"i":"";try{return new RegExp(Pe,Le)}catch(Ue){if(_)throw new Error(`bad regexp-value '${v}', parse error: ${Ue}`);return console.warn(`bad regexp-value '${v}', parse error: ${Ue}`),null}}}function he(ae,v){const _=ae?ae.substituteConstants():void 0,Y=v?v.substituteConstants():void 0;return!_&&!Y?!0:!_||!Y?!1:_.equals(Y)}function o(ae,v){return ae.cmp(v)}class M{constructor(){this.type=0}cmp(v){return this.type-v.type}equals(v){return v.type===this.type}substituteConstants(){return this}evaluate(v){return!1}serialize(){return"false"}keys(){return[]}negate(){return W.INSTANCE}}M.INSTANCE=new M;class W{constructor(){this.type=1}cmp(v){return this.type-v.type}equals(v){return v.type===this.type}substituteConstants(){return this}evaluate(v){return!0}serialize(){return"true"}keys(){return[]}negate(){return M.INSTANCE}}W.INSTANCE=new W;class y{constructor(v,_){this.key=v,this.negated=_,this.type=2}static create(v,_=null){const Y=F.get(v);return typeof Y=="boolean"?Y?W.INSTANCE:M.INSTANCE:new y(v,_)}cmp(v){return v.type!==this.type?this.type-v.type:H(this.key,v.key)}equals(v){return v.type===this.type?this.key===v.key:!1}substituteConstants(){const v=F.get(this.key);return typeof v=="boolean"?v?W.INSTANCE:M.INSTANCE:this}evaluate(v){return!!v.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=pe.create(this.key,this)),this.negated}}class b{constructor(v,_,Y){this.key=v,this.value=_,this.negated=Y,this.type=4}static create(v,_,Y=null){if(typeof _=="boolean")return _?y.create(v,Y):pe.create(v,Y);const q=F.get(v);return typeof q=="boolean"?_===(q?"true":"false")?W.INSTANCE:M.INSTANCE:new b(v,_,Y)}cmp(v){return v.type!==this.type?this.type-v.type:be(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){const v=F.get(this.key);if(typeof v=="boolean"){const _=v?"true":"false";return this.value===_?W.INSTANCE:M.INSTANCE}return this}evaluate(v){return v.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 A{constructor(v,_){this.key=v,this.valueKey=_,this.type=10,this.negated=null}static create(v,_){return new A(v,_)}cmp(v){return v.type!==this.type?this.type-v.type:be(this.key,this.valueKey,v.key,v.valueKey)}equals(v){return v.type===this.type?this.key===v.key&&this.valueKey===v.valueKey:!1}substituteConstants(){return this}evaluate(v){const _=v.getValue(this.valueKey),Y=v.getValue(this.key);return Array.isArray(_)?_.indexOf(Y)>=0:typeof Y=="string"&&typeof _=="object"&&_!==null?m.call(_,Y):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=C.create(this)),this.negated}}class C{constructor(v){this._actual=v,this.type=11}static create(v){return new C(v)}cmp(v){return v.type!==this.type?this.type-v.type:this._actual.cmp(v._actual)}equals(v){return v.type===this.type?this._actual.equals(v._actual):!1}substituteConstants(){return this}evaluate(v){return!this._actual.evaluate(v)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class K{constructor(v,_,Y){this.key=v,this.value=_,this.negated=Y,this.type=5}static create(v,_,Y=null){if(typeof _=="boolean")return _?pe.create(v,Y):y.create(v,Y);const q=F.get(v);return typeof q=="boolean"?_===(q?"true":"false")?M.INSTANCE:W.INSTANCE:new K(v,_,Y)}cmp(v){return v.type!==this.type?this.type-v.type:be(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){const v=F.get(this.key);if(typeof v=="boolean"){const _=v?"true":"false";return this.value===_?M.INSTANCE:W.INSTANCE}return this}evaluate(v){return v.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 pe{constructor(v,_){this.key=v,this.negated=_,this.type=3}static create(v,_=null){const Y=F.get(v);return typeof Y=="boolean"?Y?M.INSTANCE:W.INSTANCE:new pe(v,_)}cmp(v){return v.type!==this.type?this.type-v.type:H(this.key,v.key)}equals(v){return v.type===this.type?this.key===v.key:!1}substituteConstants(){const v=F.get(this.key);return typeof v=="boolean"?v?M.INSTANCE:W.INSTANCE:this}evaluate(v){return!v.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 B(ae,v){if(typeof ae=="string"){const _=parseFloat(ae);isNaN(_)||(ae=_)}return typeof ae=="string"||typeof ae=="number"?v(ae):M.INSTANCE}class Z{constructor(v,_,Y){this.key=v,this.value=_,this.negated=Y,this.type=12}static create(v,_,Y=null){return B(_,q=>new Z(v,q,Y))}cmp(v){return v.type!==this.type?this.type-v.type:be(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=L.create(this.key,this.value,this)),this.negated}}class ie{constructor(v,_,Y){this.key=v,this.value=_,this.negated=Y,this.type=13}static create(v,_,Y=null){return B(_,q=>new ie(v,q,Y))}cmp(v){return v.type!==this.type?this.type-v.type:be(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=X.create(this.key,this.value,this)),this.negated}}class X{constructor(v,_,Y){this.key=v,this.value=_,this.negated=Y,this.type=14}static create(v,_,Y=null){return B(_,q=>new X(v,q,Y))}cmp(v){return v.type!==this.type?this.type-v.type:be(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=ie.create(this.key,this.value,this)),this.negated}}class L{constructor(v,_,Y){this.key=v,this.value=_,this.negated=Y,this.type=15}static create(v,_,Y=null){return B(_,q=>new L(v,q,Y))}cmp(v){return v.type!==this.type?this.type-v.type:be(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=Z.create(this.key,this.value,this)),this.negated}}class D{constructor(v,_){this.key=v,this.regexp=_,this.type=7,this.negated=null}static create(v,_){return new D(v,_)}cmp(v){if(v.type!==this.type)return this.type-v.type;if(this.key<v.key)return-1;if(this.key>v.key)return 1;const _=this.regexp?this.regexp.source:"",Y=v.regexp?v.regexp.source:"";return _<Y?-1:_>Y?1:0}equals(v){if(v.type===this.type){const _=this.regexp?this.regexp.source:"",Y=v.regexp?v.regexp.source:"";return this.key===v.key&&_===Y}return!1}substituteConstants(){return this}evaluate(v){let _=v.getValue(this.key);return this.regexp?this.regexp.test(_):!1}serialize(){const v=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${v}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=Q.create(this)),this.negated}}class Q{constructor(v){this._actual=v,this.type=8}static create(v){return new Q(v)}cmp(v){return v.type!==this.type?this.type-v.type:this._actual.cmp(v._actual)}equals(v){return v.type===this.type?this._actual.equals(v._actual):!1}substituteConstants(){return this}evaluate(v){return!this._actual.evaluate(v)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function j(ae){let v=null;for(let _=0,Y=ae.length;_<Y;_++){const q=ae[_].substituteConstants();if(ae[_]!==q&&v===null){v=[];for(let Pe=0;Pe<_;Pe++)v[Pe]=ae[Pe]}v!==null&&(v[_]=q)}return v===null?ae:v}class ve{constructor(v,_){this.expr=v,this.negated=_,this.type=6}static create(v,_){return ve._normalizeArr(v,_)}cmp(v){if(v.type!==this.type)return this.type-v.type;if(this.expr.length<v.expr.length)return-1;if(this.expr.length>v.expr.length)return 1;for(let _=0,Y=this.expr.length;_<Y;_++){const q=o(this.expr[_],v.expr[_]);if(q!==0)return q}return 0}equals(v){if(v.type===this.type){if(this.expr.length!==v.expr.length)return!1;for(let _=0,Y=this.expr.length;_<Y;_++)if(!this.expr[_].equals(v.expr[_]))return!1;return!0}return!1}substituteConstants(){const v=j(this.expr);return v===this.expr?this:ve.create(v,this.negated)}evaluate(v){for(let _=0,Y=this.expr.length;_<Y;_++)if(!this.expr[_].evaluate(v))return!1;return!0}static _normalizeArr(v,_){const Y=[];let q=!1;for(const Pe of v)if(Pe){if(Pe.type===1){q=!0;continue}if(Pe.type===0)return M.INSTANCE;if(Pe.type===6){Y.push(...Pe.expr);continue}Y.push(Pe)}if(Y.length===0&&q)return W.INSTANCE;if(Y.length!==0){if(Y.length===1)return Y[0];Y.sort(o);for(let Pe=1;Pe<Y.length;Pe++)Y[Pe-1].equals(Y[Pe])&&(Y.splice(Pe,1),Pe--);if(Y.length===1)return Y[0];for(;Y.length>1;){const Pe=Y[Y.length-1];if(Pe.type!==9)break;Y.pop();const Le=Y.pop(),Ue=Y.length===0,$e=xe.create(Pe.expr.map(ut=>ve.create([ut,Le],null)),null,Ue);$e&&(Y.push($e),Y.sort(o))}return Y.length===1?Y[0]:new ve(Y,_)}}serialize(){return this.expr.map(v=>v.serialize()).join(" && ")}keys(){const v=[];for(let _ of this.expr)v.push(..._.keys());return v}negate(){if(!this.negated){const v=[];for(let _ of this.expr)v.push(_.negate());this.negated=xe.create(v,this,!0)}return this.negated}}class xe{constructor(v,_){this.expr=v,this.negated=_,this.type=9}static create(v,_,Y){return xe._normalizeArr(v,_,Y)}cmp(v){if(v.type!==this.type)return this.type-v.type;if(this.expr.length<v.expr.length)return-1;if(this.expr.length>v.expr.length)return 1;for(let _=0,Y=this.expr.length;_<Y;_++){const q=o(this.expr[_],v.expr[_]);if(q!==0)return q}return 0}equals(v){if(v.type===this.type){if(this.expr.length!==v.expr.length)return!1;for(let _=0,Y=this.expr.length;_<Y;_++)if(!this.expr[_].equals(v.expr[_]))return!1;return!0}return!1}substituteConstants(){const v=j(this.expr);return v===this.expr?this:xe.create(v,this.negated,!1)}evaluate(v){for(let _=0,Y=this.expr.length;_<Y;_++)if(this.expr[_].evaluate(v))return!0;return!1}static _normalizeArr(v,_,Y){let q=[],Pe=!1;if(v){for(let Le=0,Ue=v.length;Le<Ue;Le++){const $e=v[Le];if($e){if($e.type===0){Pe=!0;continue}if($e.type===1)return W.INSTANCE;if($e.type===9){q=q.concat($e.expr);continue}q.push($e)}}if(q.length===0&&Pe)return M.INSTANCE;q.sort(o)}if(q.length!==0){if(q.length===1)return q[0];for(let Le=1;Le<q.length;Le++)q[Le-1].equals(q[Le])&&(q.splice(Le,1),Le--);if(q.length===1)return q[0];if(Y){for(let Le=0;Le<q.length;Le++)for(let Ue=Le+1;Ue<q.length;Ue++)J(q[Le],q[Ue])&&(q.splice(Ue,1),Ue--);if(q.length===1)return q[0]}return new xe(q,_)}}serialize(){return this.expr.map(v=>v.serialize()).join(" || ")}keys(){const v=[];for(let _ of this.expr)v.push(..._.keys());return v}negate(){if(!this.negated){let v=[];for(let _ of this.expr)v.push(_.negate());for(;v.length>1;){const _=v.shift(),Y=v.shift(),q=[];for(const Le of me(_))for(const Ue of me(Y))q.push(ve.create([Le,Ue],null));const Pe=v.length===0;v.unshift(xe.create(q,null,Pe))}this.negated=v[0]}return this.negated}}class ye extends y{constructor(v,_,Y){super(v,null),this._defaultValue=_,typeof Y=="object"?ye._info.push(Object.assign(Object.assign({},Y),{key:v})):Y!==!0&&ye._info.push({key:v,description:Y,type:_!=null?typeof _:void 0})}static all(){return ye._info.values()}bindTo(v){return v.createKey(this.key,this._defaultValue)}getValue(v){return v.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(v){return b.create(this.key,v)}}ye._info=[];const le=(0,re.yh)("contextKeyService"),oe="setContext";function H(ae,v){return ae<v?-1:ae>v?1:0}function be(ae,v,_,Y){return ae<_?-1:ae>_?1:v<Y?-1:v>Y?1:0}function J(ae,v){if(v.type===6&&ae.type!==9&&ae.type!==6){for(const q of v.expr)if(ae.equals(q))return!0}const _=ae.negate(),Y=me(_).concat(me(v));Y.sort(o);for(let q=0;q<Y.length;q++){const Le=Y[q].negate();for(let Ue=q+1;Ue<Y.length;Ue++){const $e=Y[Ue];if(Le.equals($e))return!0}}return!1}function me(ae){return ae.type===9?ae.expr:[ae]}},16925:function(an,it,f){"use strict";f.d(it,{I8:function(){return g},TG:function(){return O},jt:function(){return F},yh:function(){return ge}});var g;(function(m){m.serviceIds=new Map,m.DI_TARGET="$di$target",m.DI_DEPENDENCIES="$di$dependencies";function w(he){return he[m.DI_DEPENDENCIES]||[]}m.getServiceDependencies=w})(g||(g={}));const O=ge("instantiationService");function re(m,w,he,o){w[g.DI_TARGET]===w?w[g.DI_DEPENDENCIES].push({id:m,index:he,optional:o}):(w[g.DI_DEPENDENCIES]=[{id:m,index:he,optional:o}],w[g.DI_TARGET]=w)}function ge(m){if(g.serviceIds.has(m))return g.serviceIds.get(m);const w=function(he,o,M){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");re(w,he,M,!1)};return w.toString=()=>m,g.serviceIds.set(m,w),w}function F(m){return function(w,he,o){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");re(m,w,o,!0)}}},44650:function(an,it,f){"use strict";f.d(it,{B:function(){return ge}});var g=f(76068),O=f(72999);class re{constructor(){this.data=new Map}add(m,w){g.ok(O.HD(m)),g.ok(O.Kn(w)),g.ok(!this.data.has(m),"There is already an extension with this id"),this.data.set(m,w)}as(m){return this.data.get(m)||null}}const ge=new re},66213:function(an,it,f){"use strict";f.d(it,{e:function(){return g}});var g;(function(O){O.DARK="dark",O.LIGHT="light",O.HIGH_CONTRAST="hc"})(g||(g={}))},49055:function(an,it,f){"use strict";f.d(it,{EN:function(){return o},IP:function(){return y},Ic:function(){return C},XE:function(){return w},bB:function(){return K},kS:function(){return M},m6:function(){return W}});var g=f(52615),O=f(4348),re=f(69323),ge=f(16925),F=f(44650),m=f(66213);const w=(0,ge.yh)("themeService");var he;(function(pe){function B(Z){return Z&&typeof Z=="object"&&typeof Z.id=="string"}pe.isThemeColor=B})(he||(he={}));function o(pe){return{id:pe}}var M;(function(pe){function B(Q){return Q&&typeof Q=="object"&&typeof Q.id=="string"&&(typeof Q.color=="undefined"||he.isThemeColor(Q.color))}pe.isThemeIcon=B;const Z=new RegExp(`^\\$\\((${g.dT.iconNameExpression}(?:${g.dT.iconModifierExpression})?)\\)$`);function ie(Q){const j=Z.exec(Q);if(!j)return;let[,ve]=j;return{id:ve}}pe.fromString=ie;function X(Q,j){let ve=Q.id;const xe=ve.lastIndexOf("~");return xe!==-1&&(ve=ve.substring(0,xe)),j&&(ve=`${ve}~${j}`),{id:ve}}pe.modify=X;function L(Q,j){var ve,xe;return Q.id===j.id&&((ve=Q.color)===null||ve===void 0?void 0:ve.id)===((xe=j.color)===null||xe===void 0?void 0:xe.id)}pe.isEqual=L;function D(Q,j){return{id:Q.id,color:j?o(j):void 0}}pe.asThemeIcon=D,pe.asClassNameArray=g.dT.asClassNameArray,pe.asClassName=g.dT.asClassName,pe.asCSSSelector=g.dT.asCSSSelector})(M||(M={}));function W(pe){switch(pe){case m.e.DARK:return"vs-dark";case m.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const y={ThemingContribution:"base.contributions.theming"};class b{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new O.Q5}onColorThemeChange(B){return this.themingParticipants.push(B),this.onThemingParticipantAddedEmitter.fire(B),(0,re.OF)(()=>{const Z=this.themingParticipants.indexOf(B);this.themingParticipants.splice(Z,1)})}getThemingParticipants(){return this.themingParticipants}}let A=new b;F.B.add(y.ThemingContribution,A);function C(pe){return A.onColorThemeChange(pe)}class K extends re.JT{constructor(B){super(),this.themeService=B,this.theme=B.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(Z=>this.onThemeChange(Z)))}onThemeChange(B){this.theme=B,this.updateStyles()}updateStyles(){}}},5630:function(an,it,f){"use strict";var g=f(72308),O=f(77321),re=f(49618),ge=f(52487),F=f(74416),m=f(92310),w=f.n(m),he=f(18929),o=f(59301),M=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],W=(0,o.forwardRef)(function(y,b){var A,C=y.prefixCls,K=C===void 0?"rc-checkbox":C,pe=y.className,B=y.style,Z=y.checked,ie=y.disabled,X=y.defaultChecked,L=X===void 0?!1:X,D=y.type,Q=D===void 0?"checkbox":D,j=y.title,ve=y.onChange,xe=(0,F.Z)(y,M),ye=(0,o.useRef)(null),le=(0,he.Z)(L,{value:Z}),oe=(0,ge.Z)(le,2),H=oe[0],be=oe[1];(0,o.useImperativeHandle)(b,function(){return{focus:function(){var v;(v=ye.current)===null||v===void 0||v.focus()},blur:function(){var v;(v=ye.current)===null||v===void 0||v.blur()},input:ye.current}});var J=w()(K,pe,(A={},(0,re.Z)(A,"".concat(K,"-checked"),H),(0,re.Z)(A,"".concat(K,"-disabled"),ie),A)),me=function(v){ie||("checked"in y||be(v.target.checked),ve==null||ve({target:(0,O.Z)((0,O.Z)({},y),{},{type:Q,checked:v.target.checked}),stopPropagation:function(){v.stopPropagation()},preventDefault:function(){v.preventDefault()},nativeEvent:v.nativeEvent}))};return o.createElement("span",{className:J,title:j,style:B},o.createElement("input",(0,g.Z)({},xe,{className:"".concat(K,"-input"),ref:ye,onChange:me,disabled:ie,checked:!!H,type:Q})),o.createElement("span",{className:"".concat(K,"-inner")}))});it.Z=W},31561:function(an,it,f){"use strict";f.d(it,{Z:function(){return Q}});var g=f(72308),O=f(49618),re=f(52487),ge=f(74416),F=f(35593),m=f(92310),w=f.n(m),he=f(8654),o=f(59301),M=f(10228),W=f(16089),y=M.Z.ESC,b=M.Z.TAB;function A(j){var ve=j.visible,xe=j.triggerRef,ye=j.onVisibleChange,le=j.autoFocus,oe=j.overlayRef,H=o.useRef(!1),be=function(){if(ve){var v,_;(v=xe.current)===null||v===void 0||(_=v.focus)===null||_===void 0||_.call(v),ye==null||ye(!1)}},J=function(){var v;return(v=oe.current)!==null&&v!==void 0&&v.focus?(oe.current.focus(),H.current=!0,!0):!1},me=function(v){switch(v.keyCode){case y:be();break;case b:{var _=!1;H.current||(_=J()),_?v.preventDefault():be();break}}};o.useEffect(function(){return ve?(window.addEventListener("keydown",me),le&&(0,W.Z)(J,3),function(){window.removeEventListener("keydown",me),H.current=!1}):function(){H.current=!1}},[ve])}var C=(0,o.forwardRef)(function(j,ve){var xe=j.overlay,ye=j.arrow,le=j.prefixCls,oe=(0,o.useMemo)(function(){var be;return typeof xe=="function"?be=xe():be=xe,be},[xe]),H=(0,he.sQ)(ve,oe==null?void 0:oe.ref);return o.createElement(o.Fragment,null,ye&&o.createElement("div",{className:"".concat(le,"-arrow")}),o.cloneElement(oe,{ref:(0,he.Yr)(oe)?H:void 0}))}),K=C,pe={adjustX:1,adjustY:1},B=[0,0],Z={topLeft:{points:["bl","tl"],overflow:pe,offset:[0,-4],targetOffset:B},top:{points:["bc","tc"],overflow:pe,offset:[0,-4],targetOffset:B},topRight:{points:["br","tr"],overflow:pe,offset:[0,-4],targetOffset:B},bottomLeft:{points:["tl","bl"],overflow:pe,offset:[0,4],targetOffset:B},bottom:{points:["tc","bc"],overflow:pe,offset:[0,4],targetOffset:B},bottomRight:{points:["tr","br"],overflow:pe,offset:[0,4],targetOffset:B}},ie=Z,X=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function L(j,ve){var xe,ye=j.arrow,le=ye===void 0?!1:ye,oe=j.prefixCls,H=oe===void 0?"rc-dropdown":oe,be=j.transitionName,J=j.animation,me=j.align,ae=j.placement,v=ae===void 0?"bottomLeft":ae,_=j.placements,Y=_===void 0?ie:_,q=j.getPopupContainer,Pe=j.showAction,Le=j.hideAction,Ue=j.overlayClassName,$e=j.overlayStyle,ut=j.visible,dt=j.trigger,at=dt===void 0?["hover"]:dt,Pt=j.autoFocus,nn=j.overlay,kt=j.children,Nt=j.onVisibleChange,lt=(0,ge.Z)(j,X),wt=o.useState(),de=(0,re.Z)(wt,2),fe=de[0],G=de[1],U="visible"in j?ut:fe,we=o.useRef(null),P=o.useRef(null),T=o.useRef(null);o.useImperativeHandle(ve,function(){return we.current});var I=function(Ze){G(Ze),Nt==null||Nt(Ze)};A({visible:U,triggerRef:T,onVisibleChange:I,autoFocus:Pt,overlayRef:P});var ne=function(Ze){var Ve=j.onOverlayClick;G(!1),Ve&&Ve(Ze)},$=function(){return o.createElement(K,{ref:P,overlay:nn,prefixCls:H,arrow:le})},V=function(){return typeof nn=="function"?$:$()},Te=function(){var Ze=j.minOverlayWidthMatchTrigger,Ve=j.alignPoint;return"minOverlayWidthMatchTrigger"in j?Ze:!Ve},He=function(){var Ze=j.openClassName;return Ze!==void 0?Ze:"".concat(H,"-open")},Ie=o.cloneElement(kt,{className:w()((xe=kt.props)===null||xe===void 0?void 0:xe.className,U&&He()),ref:(0,he.Yr)(kt)?(0,he.sQ)(T,kt.ref):void 0}),Fe=Le;return!Fe&&at.indexOf("contextMenu")!==-1&&(Fe=["click"]),o.createElement(F.Z,(0,g.Z)({builtinPlacements:Y},lt,{prefixCls:H,ref:we,popupClassName:w()(Ue,(0,O.Z)({},"".concat(H,"-show-arrow"),le)),popupStyle:$e,action:at,showAction:Pe,hideAction:Fe,popupPlacement:v,popupAlign:me,popupTransitionName:be,popupAnimation:J,popupVisible:U,stretch:Te()?"minWidth":"",popup:V(),onPopupVisibleChange:I,onPopupClick:ne,getPopupContainer:q}),Ie)}var D=o.forwardRef(L),Q=D},93681:function(an,it,f){"use strict";f.r(it),f.d(it,{BaseInput:function(){return M},default:function(){return Z}});var g=f(72308),O=f(77321),re=f(49618),ge=f(62853),F=f(92310),m=f.n(F),w=f(59301),he=f(5643),o=function(X){var L,D,Q=X.inputElement,j=X.prefixCls,ve=X.prefix,xe=X.suffix,ye=X.addonBefore,le=X.addonAfter,oe=X.className,H=X.style,be=X.disabled,J=X.readOnly,me=X.focused,ae=X.triggerFocus,v=X.allowClear,_=X.value,Y=X.handleReset,q=X.hidden,Pe=X.classes,Le=X.classNames,Ue=X.dataAttrs,$e=X.styles,ut=X.components,dt=(ut==null?void 0:ut.affixWrapper)||"span",at=(ut==null?void 0:ut.groupWrapper)||"span",Pt=(ut==null?void 0:ut.wrapper)||"span",nn=(ut==null?void 0:ut.groupAddon)||"span",kt=(0,w.useRef)(null),Nt=function($){var V;(V=kt.current)!==null&&V!==void 0&&V.contains($.target)&&(ae==null||ae())},lt=function(){var $;if(!v)return null;var V=!be&&!J&&_,Te="".concat(j,"-clear-icon"),He=(0,ge.Z)(v)==="object"&&v!==null&&v!==void 0&&v.clearIcon?v.clearIcon:"\u2716";return w.createElement("span",{onClick:Y,onMouseDown:function(Fe){return Fe.preventDefault()},className:m()(Te,($={},(0,re.Z)($,"".concat(Te,"-hidden"),!V),(0,re.Z)($,"".concat(Te,"-has-suffix"),!!xe),$)),role:"button",tabIndex:-1},He)},wt=(0,w.cloneElement)(Q,{value:_,hidden:q,className:m()((L=Q.props)===null||L===void 0?void 0:L.className,!(0,he.X3)(X)&&!(0,he.He)(X)&&oe)||null,style:(0,O.Z)((0,O.Z)({},(D=Q.props)===null||D===void 0?void 0:D.style),!(0,he.X3)(X)&&!(0,he.He)(X)?H:{})});if((0,he.X3)(X)){var de,fe="".concat(j,"-affix-wrapper"),G=m()(fe,(de={},(0,re.Z)(de,"".concat(fe,"-disabled"),be),(0,re.Z)(de,"".concat(fe,"-focused"),me),(0,re.Z)(de,"".concat(fe,"-readonly"),J),(0,re.Z)(de,"".concat(fe,"-input-with-clear-btn"),xe&&v&&_),de),!(0,he.He)(X)&&oe,Pe==null?void 0:Pe.affixWrapper,Le==null?void 0:Le.affixWrapper),U=(xe||v)&&w.createElement("span",{className:m()("".concat(j,"-suffix"),Le==null?void 0:Le.suffix),style:$e==null?void 0:$e.suffix},lt(),xe);wt=w.createElement(dt,(0,g.Z)({className:G,style:(0,O.Z)((0,O.Z)({},(0,he.He)(X)?void 0:H),$e==null?void 0:$e.affixWrapper),hidden:!(0,he.He)(X)&&q,onClick:Nt},Ue==null?void 0:Ue.affixWrapper,{ref:kt}),ve&&w.createElement("span",{className:m()("".concat(j,"-prefix"),Le==null?void 0:Le.prefix),style:$e==null?void 0:$e.prefix},ve),(0,w.cloneElement)(Q,{value:_,hidden:null}),U)}if((0,he.He)(X)){var we="".concat(j,"-group"),P="".concat(we,"-addon"),T=m()("".concat(j,"-wrapper"),we,Pe==null?void 0:Pe.wrapper),I=m()("".concat(j,"-group-wrapper"),oe,Pe==null?void 0:Pe.group);return w.createElement(at,{className:I,style:H,hidden:q},w.createElement(Pt,{className:T},ye&&w.createElement(nn,{className:P},ye),(0,w.cloneElement)(wt,{hidden:null}),le&&w.createElement(nn,{className:P},le)))}return wt},M=o,W=f(80702),y=f(52487),b=f(74416),A=f(18929),C=f(2738),K=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],pe=(0,w.forwardRef)(function(ie,X){var L=ie.autoComplete,D=ie.onChange,Q=ie.onFocus,j=ie.onBlur,ve=ie.onPressEnter,xe=ie.onKeyDown,ye=ie.prefixCls,le=ye===void 0?"rc-input":ye,oe=ie.disabled,H=ie.htmlSize,be=ie.className,J=ie.maxLength,me=ie.suffix,ae=ie.showCount,v=ie.type,_=v===void 0?"text":v,Y=ie.classes,q=ie.classNames,Pe=ie.styles,Le=(0,b.Z)(ie,K),Ue=(0,A.Z)(ie.defaultValue,{value:ie.value}),$e=(0,y.Z)(Ue,2),ut=$e[0],dt=$e[1],at=(0,w.useState)(!1),Pt=(0,y.Z)(at,2),nn=Pt[0],kt=Pt[1],Nt=(0,w.useRef)(null),lt=function(I){Nt.current&&(0,he.nH)(Nt.current,I)};(0,w.useImperativeHandle)(X,function(){return{focus:lt,blur:function(){var I;(I=Nt.current)===null||I===void 0||I.blur()},setSelectionRange:function(I,ne,$){var V;(V=Nt.current)===null||V===void 0||V.setSelectionRange(I,ne,$)},select:function(){var I;(I=Nt.current)===null||I===void 0||I.select()},input:Nt.current}}),(0,w.useEffect)(function(){kt(function(T){return T&&oe?!1:T})},[oe]);var wt=function(I){ie.value===void 0&&dt(I.target.value),Nt.current&&(0,he.rJ)(Nt.current,I,D)},de=function(I){ve&&I.key==="Enter"&&ve(I),xe==null||xe(I)},fe=function(I){kt(!0),Q==null||Q(I)},G=function(I){kt(!1),j==null||j(I)},U=function(I){dt(""),lt(),Nt.current&&(0,he.rJ)(Nt.current,I,D)},we=function(){var I=(0,C.Z)(ie,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return w.createElement("input",(0,g.Z)({autoComplete:L},I,{onChange:wt,onFocus:fe,onBlur:G,onKeyDown:de,className:m()(le,(0,re.Z)({},"".concat(le,"-disabled"),oe),q==null?void 0:q.input),style:Pe==null?void 0:Pe.input,ref:Nt,size:H,type:_}))},P=function(){var I=Number(J)>0;if(me||ae){var ne=(0,he.D7)(ut),$=(0,W.Z)(ne).length,V=(0,ge.Z)(ae)==="object"?ae.formatter({value:ne,count:$,maxLength:J}):"".concat($).concat(I?" / ".concat(J):"");return w.createElement(w.Fragment,null,!!ae&&w.createElement("span",{className:m()("".concat(le,"-show-count-suffix"),(0,re.Z)({},"".concat(le,"-show-count-has-suffix"),!!me),q==null?void 0:q.count),style:(0,O.Z)({},Pe==null?void 0:Pe.count)},V),me)}return null};return w.createElement(M,(0,g.Z)({},Le,{prefixCls:le,className:be,inputElement:we(),handleReset:U,value:(0,he.D7)(ut),focused:nn,triggerFocus:lt,suffix:P(),disabled:oe,classes:Y,classNames:q,styles:Pe}))}),B=pe,Z=B},5643:function(an,it,f){"use strict";f.d(it,{D7:function(){return F},He:function(){return g},X3:function(){return O},nH:function(){return ge},rJ:function(){return re}});function g(m){return!!(m.addonBefore||m.addonAfter)}function O(m){return!!(m.prefix||m.suffix||m.allowClear)}function re(m,w,he,o){if(he){var M=w;if(w.type==="click"){var W=m.cloneNode(!0);M=Object.create(w,{target:{value:W},currentTarget:{value:W}}),W.value="",he(M);return}if(o!==void 0){M=Object.create(w,{target:{value:m},currentTarget:{value:m}}),m.value=o,he(M);return}he(M)}}function ge(m,w){if(m){m.focus(w);var he=w||{},o=he.cursor;if(o){var M=m.value.length;switch(o){case"start":m.setSelectionRange(0,0);break;case"end":m.setSelectionRange(M,M);break;default:m.setSelectionRange(0,M)}}}}function F(m){return typeof m=="undefined"||m===null?"":String(m)}},15285:function(an,it,f){"use strict";f.d(it,{iz:function(){return mn},ck:function(){return Xe},BW:function(){return ln},sN:function(){return Xe},Wd:function(){return mt},ZP:function(){return cn},Xl:function(){return xe}});var g=f(72308),O=f(49618),re=f(77321),ge=f(80702),F=f(52487),m=f(74416),w=f(92310),he=f.n(w),o=f(11780),M=f(18929),W=f(13697),y=f(48736),b=f(59301),A=f(4676),C=b.createContext(null);function K(ht,yt){return ht===void 0?null:"".concat(ht,"-").concat(yt)}function pe(ht){var yt=b.useContext(C);return K(yt,ht)}var B=f(80547),Z=["children","locked"],ie=b.createContext(null);function X(ht,yt){var Dt=(0,re.Z)({},ht);return Object.keys(yt).forEach(function(jt){var Ut=yt[jt];Ut!==void 0&&(Dt[jt]=Ut)}),Dt}function L(ht){var yt=ht.children,Dt=ht.locked,jt=(0,m.Z)(ht,Z),Ut=b.useContext(ie),dn=(0,B.Z)(function(){return X(Ut,jt)},[Ut,jt],function(Gt,yn){return!Dt&&(Gt[0]!==yn[0]||!(0,W.Z)(Gt[1],yn[1],!0))});return b.createElement(ie.Provider,{value:dn},yt)}var D=[],Q=b.createContext(null);function j(){return b.useContext(Q)}var ve=b.createContext(D);function xe(ht){var yt=b.useContext(ve);return b.useMemo(function(){return ht!==void 0?[].concat((0,ge.Z)(yt),[ht]):yt},[yt,ht])}var ye=b.createContext(null),le=b.createContext({}),oe=le,H=f(29194);function be(ht){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,H.Z)(ht)){var Dt=ht.nodeName.toLowerCase(),jt=["input","select","textarea","button"].includes(Dt)||ht.isContentEditable||Dt==="a"&&!!ht.getAttribute("href"),Ut=ht.getAttribute("tabindex"),dn=Number(Ut),Gt=null;return Ut&&!Number.isNaN(dn)?Gt=dn:jt&&Gt===null&&(Gt=0),jt&&ht.disabled&&(Gt=null),Gt!==null&&(Gt>=0||yt&&Gt<0)}return!1}function J(ht){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dt=(0,ge.Z)(ht.querySelectorAll("*")).filter(function(jt){return be(jt,yt)});return be(ht,yt)&&Dt.unshift(ht),Dt}var me=null;function ae(){me=document.activeElement}function v(){me=null}function _(){if(me)try{me.focus()}catch(ht){}}function Y(ht,yt){if(yt.keyCode===9){var Dt=J(ht),jt=Dt[yt.shiftKey?0:Dt.length-1],Ut=jt===document.activeElement||ht===document.activeElement;if(Ut){var dn=Dt[yt.shiftKey?Dt.length-1:0];dn.focus(),yt.preventDefault()}}}var q=f(10228),Pe=f(16089),Le=q.Z.LEFT,Ue=q.Z.RIGHT,$e=q.Z.UP,ut=q.Z.DOWN,dt=q.Z.ENTER,at=q.Z.ESC,Pt=q.Z.HOME,nn=q.Z.END,kt=[$e,ut,Le,Ue];function Nt(ht,yt,Dt,jt){var Ut,dn,Gt,yn,Tn="prev",Ln="next",qn="children",Vn="parent";if(ht==="inline"&&jt===dt)return{inlineTrigger:!0};var fr=(Ut={},(0,O.Z)(Ut,$e,Tn),(0,O.Z)(Ut,ut,Ln),Ut),Rn=(dn={},(0,O.Z)(dn,Le,Dt?Ln:Tn),(0,O.Z)(dn,Ue,Dt?Tn:Ln),(0,O.Z)(dn,ut,qn),(0,O.Z)(dn,dt,qn),dn),In=(Gt={},(0,O.Z)(Gt,$e,Tn),(0,O.Z)(Gt,ut,Ln),(0,O.Z)(Gt,dt,qn),(0,O.Z)(Gt,at,Vn),(0,O.Z)(Gt,Le,Dt?qn:Vn),(0,O.Z)(Gt,Ue,Dt?Vn:qn),Gt),mr={inline:fr,horizontal:Rn,vertical:In,inlineSub:fr,horizontalSub:In,verticalSub:In},gr=(yn=mr["".concat(ht).concat(yt?"":"Sub")])===null||yn===void 0?void 0:yn[jt];switch(gr){case Tn:return{offset:-1,sibling:!0};case Ln:return{offset:1,sibling:!0};case Vn:return{offset:-1,sibling:!1};case qn:return{offset:1,sibling:!1};default:return null}}function lt(ht){for(var yt=ht;yt;){if(yt.getAttribute("data-menu-list"))return yt;yt=yt.parentElement}return null}function wt(ht,yt){for(var Dt=ht||document.activeElement;Dt;){if(yt.has(Dt))return Dt;Dt=Dt.parentElement}return null}function de(ht,yt){var Dt=J(ht,!0);return Dt.filter(function(jt){return yt.has(jt)})}function fe(ht,yt,Dt){var jt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!ht)return null;var Ut=de(ht,yt),dn=Ut.length,Gt=Ut.findIndex(function(yn){return Dt===yn});return jt<0?Gt===-1?Gt=dn-1:Gt-=1:jt>0&&(Gt+=1),Gt=(Gt+dn)%dn,Ut[Gt]}var G=function(yt,Dt){var jt=new Set,Ut=new Map,dn=new Map;return yt.forEach(function(Gt){var yn=document.querySelector("[data-menu-id='".concat(K(Dt,Gt),"']"));yn&&(jt.add(yn),dn.set(yn,Gt),Ut.set(Gt,yn))}),{elements:jt,key2element:Ut,element2key:dn}};function U(ht,yt,Dt,jt,Ut,dn,Gt,yn,Tn,Ln){var qn=b.useRef(),Vn=b.useRef();Vn.current=yt;var fr=function(){Pe.Z.cancel(qn.current)};return b.useEffect(function(){return function(){fr()}},[]),function(Rn){var In=Rn.which;if([].concat(kt,[dt,at,Pt,nn]).includes(In)){var mr=dn(),gr=G(mr,jt),Dr=gr,ar=Dr.elements,sr=Dr.key2element,wr=Dr.element2key,ir=sr.get(yt),Pr=wt(ir,ar),ei=wr.get(Pr),er=Nt(ht,Gt(ei,!0).length===1,Dt,In);if(!er&&In!==Pt&&In!==nn)return;(kt.includes(In)||[Pt,nn].includes(In))&&Rn.preventDefault();var Hn=function(hr){if(hr){var Yr=hr,jn=hr.querySelector("a");jn!=null&&jn.getAttribute("href")&&(Yr=jn);var On=wr.get(hr);yn(On),fr(),qn.current=(0,Pe.Z)(function(){Vn.current===On&&Yr.focus()})}};if([Pt,nn].includes(In)||er.sibling||!Pr){var gt;!Pr||ht==="inline"?gt=Ut.current:gt=lt(Pr);var Bn,lr=de(gt,ar);In===Pt?Bn=lr[0]:In===nn?Bn=lr[lr.length-1]:Bn=fe(gt,ar,Pr,er.offset),Hn(Bn)}else if(er.inlineTrigger)Tn(ei);else if(er.offset>0)Tn(ei,!0),fr(),qn.current=(0,Pe.Z)(function(){gr=G(mr,jt);var Zr=Pr.getAttribute("aria-controls"),hr=document.getElementById(Zr),Yr=fe(hr,gr.elements);Hn(Yr)},5);else if(er.offset<0){var nr=Gt(ei,!0),Fr=nr[nr.length-2],zr=sr.get(Fr);Tn(Fr,!1),Hn(zr)}}Ln==null||Ln(Rn)}}function we(ht){Promise.resolve().then(ht)}var P="__RC_UTIL_PATH_SPLIT__",T=function(yt){return yt.join(P)},I=function(yt){return yt.split(P)},ne="rc-menu-more";function $(){var ht=b.useState({}),yt=(0,F.Z)(ht,2),Dt=yt[1],jt=(0,b.useRef)(new Map),Ut=(0,b.useRef)(new Map),dn=b.useState([]),Gt=(0,F.Z)(dn,2),yn=Gt[0],Tn=Gt[1],Ln=(0,b.useRef)(0),qn=(0,b.useRef)(!1),Vn=function(){qn.current||Dt({})},fr=(0,b.useCallback)(function(sr,wr){var ir=T(wr);Ut.current.set(ir,sr),jt.current.set(sr,ir),Ln.current+=1;var Pr=Ln.current;we(function(){Pr===Ln.current&&Vn()})},[]),Rn=(0,b.useCallback)(function(sr,wr){var ir=T(wr);Ut.current.delete(ir),jt.current.delete(sr)},[]),In=(0,b.useCallback)(function(sr){Tn(sr)},[]),mr=(0,b.useCallback)(function(sr,wr){var ir=jt.current.get(sr)||"",Pr=I(ir);return wr&&yn.includes(Pr[0])&&Pr.unshift(ne),Pr},[yn]),gr=(0,b.useCallback)(function(sr,wr){return sr.some(function(ir){var Pr=mr(ir,!0);return Pr.includes(wr)})},[mr]),Dr=function(){var wr=(0,ge.Z)(jt.current.keys());return yn.length&&wr.push(ne),wr},ar=(0,b.useCallback)(function(sr){var wr="".concat(jt.current.get(sr)).concat(P),ir=new Set;return(0,ge.Z)(Ut.current.keys()).forEach(function(Pr){Pr.startsWith(wr)&&ir.add(Ut.current.get(Pr))}),ir},[]);return b.useEffect(function(){return function(){qn.current=!0}},[]),{registerPath:fr,unregisterPath:Rn,refreshOverflowKeys:In,isSubPathKey:gr,getKeyPath:mr,getKeys:Dr,getSubPathKeys:ar}}function V(ht){var yt=b.useRef(ht);yt.current=ht;var Dt=b.useCallback(function(){for(var jt,Ut=arguments.length,dn=new Array(Ut),Gt=0;Gt<Ut;Gt++)dn[Gt]=arguments[Gt];return(jt=yt.current)===null||jt===void 0?void 0:jt.call.apply(jt,[yt].concat(dn))},[]);return ht?Dt:void 0}var Te=Math.random().toFixed(5).toString().slice(2),He=0;function Ie(ht){var yt=(0,M.Z)(ht,{value:ht}),Dt=(0,F.Z)(yt,2),jt=Dt[0],Ut=Dt[1];return b.useEffect(function(){He+=1;var dn="".concat(Te,"-").concat(He);Ut("rc-menu-uuid-".concat(dn))},[]),jt}var Fe=f(96949),Qe=f(55090),Ze=f(77205),Ve=f(38793),xt=f(2738),Ct=f(8654);function ft(ht,yt,Dt,jt){var Ut=b.useContext(ie),dn=Ut.activeKey,Gt=Ut.onActive,yn=Ut.onInactive,Tn={active:dn===ht};return yt||(Tn.onMouseEnter=function(Ln){Dt==null||Dt({key:ht,domEvent:Ln}),Gt(ht)},Tn.onMouseLeave=function(Ln){jt==null||jt({key:ht,domEvent:Ln}),yn(ht)}),Tn}function Ot(ht){var yt=b.useContext(ie),Dt=yt.mode,jt=yt.rtl,Ut=yt.inlineIndent;if(Dt!=="inline")return null;var dn=ht;return jt?{paddingRight:dn*Ut}:{paddingLeft:dn*Ut}}function Kt(ht){var yt=ht.icon,Dt=ht.props,jt=ht.children,Ut;return yt===null||yt===!1?null:(typeof yt=="function"?Ut=b.createElement(yt,(0,re.Z)({},Dt)):typeof yt!="boolean"&&(Ut=yt),Ut||jt||null)}var R=["item"];function k(ht){var yt=ht.item,Dt=(0,m.Z)(ht,R);return Object.defineProperty(Dt,"item",{get:function(){return(0,y.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),yt}}),Dt}var bt=["title","attribute","elementRef"],Se=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Ke=["active"],vn=function(ht){(0,Ze.Z)(Dt,ht);var yt=(0,Ve.Z)(Dt);function Dt(){return(0,Fe.Z)(this,Dt),yt.apply(this,arguments)}return(0,Qe.Z)(Dt,[{key:"render",value:function(){var Ut=this.props,dn=Ut.title,Gt=Ut.attribute,yn=Ut.elementRef,Tn=(0,m.Z)(Ut,bt),Ln=(0,xt.Z)(Tn,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,y.ZP)(!Gt,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),b.createElement(o.Z.Item,(0,g.Z)({},Gt,{title:typeof dn=="string"?dn:void 0},Ln,{ref:yn}))}}]),Dt}(b.Component),qe=b.forwardRef(function(ht,yt){var Dt,jt=ht.style,Ut=ht.className,dn=ht.eventKey,Gt=ht.warnKey,yn=ht.disabled,Tn=ht.itemIcon,Ln=ht.children,qn=ht.role,Vn=ht.onMouseEnter,fr=ht.onMouseLeave,Rn=ht.onClick,In=ht.onKeyDown,mr=ht.onFocus,gr=(0,m.Z)(ht,Se),Dr=pe(dn),ar=b.useContext(ie),sr=ar.prefixCls,wr=ar.onItemClick,ir=ar.disabled,Pr=ar.overflowDisabled,ei=ar.itemIcon,er=ar.selectedKeys,Hn=ar.onActive,gt=b.useContext(oe),Bn=gt._internalRenderMenuItem,lr="".concat(sr,"-item"),nr=b.useRef(),Fr=b.useRef(),zr=ir||yn,Zr=(0,Ct.x1)(yt,Fr),hr=xe(dn),Yr=function(ii){return{key:dn,keyPath:(0,ge.Z)(hr).reverse(),item:nr.current,domEvent:ii}},jn=Tn||ei,On=ft(dn,zr,Vn,fr),Er=On.active,Or=(0,m.Z)(On,Ke),ti=er.includes(dn),Ii=Ot(hr.length),Gn=function(ii){if(!zr){var Ci=Yr(ii);Rn==null||Rn(k(Ci)),wr(Ci)}},ri=function(ii){if(In==null||In(ii),ii.which===q.Z.ENTER){var Ci=Yr(ii);Rn==null||Rn(k(Ci)),wr(Ci)}},Qr=function(ii){Hn(dn),mr==null||mr(ii)},di={};ht.role==="option"&&(di["aria-selected"]=ti);var Oi=b.createElement(vn,(0,g.Z)({ref:nr,elementRef:Zr,role:qn===null?"none":qn||"menuitem",tabIndex:yn?null:-1,"data-menu-id":Pr&&Dr?null:Dr},gr,Or,di,{component:"li","aria-disabled":yn,style:(0,re.Z)((0,re.Z)({},Ii),jt),className:he()(lr,(Dt={},(0,O.Z)(Dt,"".concat(lr,"-active"),Er),(0,O.Z)(Dt,"".concat(lr,"-selected"),ti),(0,O.Z)(Dt,"".concat(lr,"-disabled"),zr),Dt),Ut),onClick:Gn,onKeyDown:ri,onFocus:Qr}),Ln,b.createElement(Kt,{props:(0,re.Z)((0,re.Z)({},ht),{},{isSelected:ti}),icon:jn}));return Bn&&(Oi=Bn(Oi,ht,{selected:ti})),Oi});function et(ht,yt){var Dt=ht.eventKey,jt=j(),Ut=xe(Dt);return b.useEffect(function(){if(jt)return jt.registerPath(Dt,Ut),function(){jt.unregisterPath(Dt,Ut)}},[Ut]),jt?null:b.createElement(qe,(0,g.Z)({},ht,{ref:yt}))}var Xe=b.forwardRef(et),_e=["className","children"],Me=function(yt,Dt){var jt=yt.className,Ut=yt.children,dn=(0,m.Z)(yt,_e),Gt=b.useContext(ie),yn=Gt.prefixCls,Tn=Gt.mode,Ln=Gt.rtl;return b.createElement("ul",(0,g.Z)({className:he()(yn,Ln&&"".concat(yn,"-rtl"),"".concat(yn,"-sub"),"".concat(yn,"-").concat(Tn==="inline"?"inline":"vertical"),jt),role:"menu"},dn,{"data-menu-list":!0,ref:Dt}),Ut)},Oe=b.forwardRef(Me);Oe.displayName="SubMenuList";var rt=Oe,Ae=f(11592);function rn(ht,yt){return(0,Ae.Z)(ht).map(function(Dt,jt){if(b.isValidElement(Dt)){var Ut,dn,Gt=Dt.key,yn=(Ut=(dn=Dt.props)===null||dn===void 0?void 0:dn.eventKey)!==null&&Ut!==void 0?Ut:Gt,Tn=yn==null;Tn&&(yn="tmp_key-".concat([].concat((0,ge.Z)(yt),[jt]).join("-")));var Ln={key:yn,eventKey:yn};return b.cloneElement(Dt,Ln)}return Dt})}var Ge=f(35593),En={adjustX:1,adjustY:1},Dn={topLeft:{points:["bl","tl"],overflow:En},topRight:{points:["br","tr"],overflow:En},bottomLeft:{points:["tl","bl"],overflow:En},bottomRight:{points:["tr","br"],overflow:En},leftTop:{points:["tr","tl"],overflow:En},leftBottom:{points:["br","bl"],overflow:En},rightTop:{points:["tl","tr"],overflow:En},rightBottom:{points:["bl","br"],overflow:En}},tn={topLeft:{points:["bl","tl"],overflow:En},topRight:{points:["br","tr"],overflow:En},bottomLeft:{points:["tl","bl"],overflow:En},bottomRight:{points:["tr","br"],overflow:En},rightTop:{points:["tr","tl"],overflow:En},rightBottom:{points:["br","bl"],overflow:En},leftTop:{points:["tl","tr"],overflow:En},leftBottom:{points:["bl","br"],overflow:En}},Wt=null;function It(ht,yt,Dt){if(yt)return yt;if(Dt)return Dt[ht]||Dt.other}var Bt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function We(ht){var yt=ht.prefixCls,Dt=ht.visible,jt=ht.children,Ut=ht.popup,dn=ht.popupStyle,Gt=ht.popupClassName,yn=ht.popupOffset,Tn=ht.disabled,Ln=ht.mode,qn=ht.onVisibleChange,Vn=b.useContext(ie),fr=Vn.getPopupContainer,Rn=Vn.rtl,In=Vn.subMenuOpenDelay,mr=Vn.subMenuCloseDelay,gr=Vn.builtinPlacements,Dr=Vn.triggerSubMenuAction,ar=Vn.forceSubMenuRender,sr=Vn.rootClassName,wr=Vn.motion,ir=Vn.defaultMotions,Pr=b.useState(!1),ei=(0,F.Z)(Pr,2),er=ei[0],Hn=ei[1],gt=Rn?(0,re.Z)((0,re.Z)({},tn),gr):(0,re.Z)((0,re.Z)({},Dn),gr),Bn=Bt[Ln],lr=It(Ln,wr,ir),nr=b.useRef(lr);Ln!=="inline"&&(nr.current=lr);var Fr=(0,re.Z)((0,re.Z)({},nr.current),{},{leavedClassName:"".concat(yt,"-hidden"),removeOnLeave:!1,motionAppear:!0}),zr=b.useRef();return b.useEffect(function(){return zr.current=(0,Pe.Z)(function(){Hn(Dt)}),function(){Pe.Z.cancel(zr.current)}},[Dt]),b.createElement(Ge.Z,{prefixCls:yt,popupClassName:he()("".concat(yt,"-popup"),(0,O.Z)({},"".concat(yt,"-rtl"),Rn),Gt,sr),stretch:Ln==="horizontal"?"minWidth":null,getPopupContainer:fr,builtinPlacements:gt,popupPlacement:Bn,popupVisible:er,popup:Ut,popupStyle:dn,popupAlign:yn&&{offset:yn},action:Tn?[]:[Dr],mouseEnterDelay:In,mouseLeaveDelay:mr,onPopupVisibleChange:qn,forceRender:ar,popupMotion:Fr,fresh:!0},jt)}var _t=f(77900);function Et(ht){var yt=ht.id,Dt=ht.open,jt=ht.keyPath,Ut=ht.children,dn="inline",Gt=b.useContext(ie),yn=Gt.prefixCls,Tn=Gt.forceSubMenuRender,Ln=Gt.motion,qn=Gt.defaultMotions,Vn=Gt.mode,fr=b.useRef(!1);fr.current=Vn===dn;var Rn=b.useState(!fr.current),In=(0,F.Z)(Rn,2),mr=In[0],gr=In[1],Dr=fr.current?Dt:!1;b.useEffect(function(){fr.current&&gr(!1)},[Vn]);var ar=(0,re.Z)({},It(dn,Ln,qn));jt.length>1&&(ar.motionAppear=!1);var sr=ar.onVisibleChanged;return ar.onVisibleChanged=function(wr){return!fr.current&&!wr&&gr(!0),sr==null?void 0:sr(wr)},mr?null:b.createElement(L,{mode:dn,locked:!fr.current},b.createElement(_t.default,(0,g.Z)({visible:Dr},ar,{forceRender:Tn,removeOnLeave:!1,leavedClassName:"".concat(yn,"-hidden")}),function(wr){var ir=wr.className,Pr=wr.style;return b.createElement(rt,{id:yt,className:ir,style:Pr},Ut)}))}var Be=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Re=["active"],pt=function(yt){var Dt,jt=yt.style,Ut=yt.className,dn=yt.title,Gt=yt.eventKey,yn=yt.warnKey,Tn=yt.disabled,Ln=yt.internalPopupClose,qn=yt.children,Vn=yt.itemIcon,fr=yt.expandIcon,Rn=yt.popupClassName,In=yt.popupOffset,mr=yt.popupStyle,gr=yt.onClick,Dr=yt.onMouseEnter,ar=yt.onMouseLeave,sr=yt.onTitleClick,wr=yt.onTitleMouseEnter,ir=yt.onTitleMouseLeave,Pr=(0,m.Z)(yt,Be),ei=pe(Gt),er=b.useContext(ie),Hn=er.prefixCls,gt=er.mode,Bn=er.openKeys,lr=er.disabled,nr=er.overflowDisabled,Fr=er.activeKey,zr=er.selectedKeys,Zr=er.itemIcon,hr=er.expandIcon,Yr=er.onItemClick,jn=er.onOpenChange,On=er.onActive,Er=b.useContext(oe),Or=Er._internalRenderSubMenuItem,ti=b.useContext(ye),Ii=ti.isSubPathKey,Gn=xe(),ri="".concat(Hn,"-submenu"),Qr=lr||Tn,di=b.useRef(),Oi=b.useRef(),bi=Vn!=null?Vn:Zr,ii=fr!=null?fr:hr,Ci=Bn.includes(Gt),oi=!nr&&Ci,Bi=Ii(zr,Gt),Cr=ft(Gt,Qr,wr,ir),Yi=Cr.active,Hi=(0,m.Z)(Cr,Re),Qi=b.useState(!1),$r=(0,F.Z)(Qi,2),ca=$r[0],ma=$r[1],ua=function(Ti){Qr||ma(Ti)},Mr=function(Ti){ua(!0),Dr==null||Dr({key:Gt,domEvent:Ti})},da=function(Ti){ua(!1),ar==null||ar({key:Gt,domEvent:Ti})},wa=b.useMemo(function(){return Yi||(gt!=="inline"?ca||Ii([Fr],Gt):!1)},[gt,Yi,Fr,ca,Gt,Ii]),Mn=Ot(Gn.length),Ui=function(Ti){Qr||(sr==null||sr({key:Gt,domEvent:Ti}),gt==="inline"&&jn(Gt,!Ci))},ia=V(function(Pi){gr==null||gr(k(Pi)),Yr(Pi)}),vr=function(Ti){gt!=="inline"&&jn(Gt,Ti)},xr=function(){On(Gt)},ur=ei&&"".concat(ei,"-popup"),Jn=b.createElement("div",(0,g.Z)({role:"menuitem",style:Mn,className:"".concat(ri,"-title"),tabIndex:Qr?null:-1,ref:di,title:typeof dn=="string"?dn:null,"data-menu-id":nr&&ei?null:ei,"aria-expanded":oi,"aria-haspopup":!0,"aria-controls":ur,"aria-disabled":Qr,onClick:Ui,onFocus:xr},Hi),dn,b.createElement(Kt,{icon:gt!=="horizontal"?ii:void 0,props:(0,re.Z)((0,re.Z)({},yt),{},{isOpen:oi,isSubMenu:!0})},b.createElement("i",{className:"".concat(ri,"-arrow")}))),Hr=b.useRef(gt);if(gt!=="inline"&&Gn.length>1?Hr.current="vertical":Hr.current=gt,!nr){var ai=Hr.current;Jn=b.createElement(We,{mode:ai,prefixCls:ri,visible:!Ln&&oi&&gt!=="inline",popupClassName:Rn,popupOffset:In,popupStyle:mr,popup:b.createElement(L,{mode:ai==="horizontal"?"vertical":ai},b.createElement(rt,{id:ur,ref:Oi},qn)),disabled:Qr,onVisibleChange:vr},Jn)}var ji=b.createElement(o.Z.Item,(0,g.Z)({role:"none"},Pr,{component:"li",style:jt,className:he()(ri,"".concat(ri,"-").concat(gt),Ut,(Dt={},(0,O.Z)(Dt,"".concat(ri,"-open"),oi),(0,O.Z)(Dt,"".concat(ri,"-active"),wa),(0,O.Z)(Dt,"".concat(ri,"-selected"),Bi),(0,O.Z)(Dt,"".concat(ri,"-disabled"),Qr),Dt)),onMouseEnter:Mr,onMouseLeave:da}),Jn,!nr&&b.createElement(Et,{id:ur,open:oi,keyPath:Gn},qn));return Or&&(ji=Or(ji,yt,{selected:Bi,active:wa,open:oi,disabled:Qr})),b.createElement(L,{onItemClick:ia,mode:gt==="horizontal"?"vertical":gt,itemIcon:bi,expandIcon:ii},ji)};function mt(ht){var yt=ht.eventKey,Dt=ht.children,jt=xe(yt),Ut=rn(Dt,jt),dn=j();b.useEffect(function(){if(dn)return dn.registerPath(yt,jt),function(){dn.unregisterPath(yt,jt)}},[jt]);var Gt;return dn?Gt=Ut:Gt=b.createElement(pt,ht,Ut),b.createElement(ve.Provider,{value:jt},Gt)}var Ft=f(62853),Ht=["className","title","eventKey","children"],sn=["children"],Yt=function(yt){var Dt=yt.className,jt=yt.title,Ut=yt.eventKey,dn=yt.children,Gt=(0,m.Z)(yt,Ht),yn=b.useContext(ie),Tn=yn.prefixCls,Ln="".concat(Tn,"-item-group");return b.createElement("li",(0,g.Z)({role:"presentation"},Gt,{onClick:function(Vn){return Vn.stopPropagation()},className:he()(Ln,Dt)}),b.createElement("div",{role:"presentation",className:"".concat(Ln,"-title"),title:typeof jt=="string"?jt:void 0},jt),b.createElement("ul",{role:"group",className:"".concat(Ln,"-list")},dn))};function ln(ht){var yt=ht.children,Dt=(0,m.Z)(ht,sn),jt=xe(Dt.eventKey),Ut=rn(yt,jt),dn=j();return dn?Ut:b.createElement(Yt,(0,xt.Z)(Dt,["warnKey"]),Ut)}function mn(ht){var yt=ht.className,Dt=ht.style,jt=b.useContext(ie),Ut=jt.prefixCls,dn=j();return dn?null:b.createElement("li",{role:"separator",className:he()("".concat(Ut,"-item-divider"),yt),style:Dt})}var An=["label","children","key","type"];function Zt(ht){return(ht||[]).map(function(yt,Dt){if(yt&&(0,Ft.Z)(yt)==="object"){var jt=yt,Ut=jt.label,dn=jt.children,Gt=jt.key,yn=jt.type,Tn=(0,m.Z)(jt,An),Ln=Gt!=null?Gt:"tmp-".concat(Dt);return dn||yn==="group"?yn==="group"?b.createElement(ln,(0,g.Z)({key:Ln},Tn,{title:Ut}),Zt(dn)):b.createElement(mt,(0,g.Z)({key:Ln},Tn,{title:Ut}),Zt(dn)):yn==="divider"?b.createElement(mn,(0,g.Z)({key:Ln},Tn)):b.createElement(Xe,(0,g.Z)({key:Ln},Tn),Ut)}return null}).filter(function(yt){return yt})}function Xt(ht,yt,Dt){var jt=ht;return yt&&(jt=Zt(yt)),rn(jt,Dt)}var on=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],gn=[],fn=b.forwardRef(function(ht,yt){var Dt,jt,Ut=ht,dn=Ut.prefixCls,Gt=dn===void 0?"rc-menu":dn,yn=Ut.rootClassName,Tn=Ut.style,Ln=Ut.className,qn=Ut.tabIndex,Vn=qn===void 0?0:qn,fr=Ut.items,Rn=Ut.children,In=Ut.direction,mr=Ut.id,gr=Ut.mode,Dr=gr===void 0?"vertical":gr,ar=Ut.inlineCollapsed,sr=Ut.disabled,wr=Ut.disabledOverflow,ir=Ut.subMenuOpenDelay,Pr=ir===void 0?.1:ir,ei=Ut.subMenuCloseDelay,er=ei===void 0?.1:ei,Hn=Ut.forceSubMenuRender,gt=Ut.defaultOpenKeys,Bn=Ut.openKeys,lr=Ut.activeKey,nr=Ut.defaultActiveFirst,Fr=Ut.selectable,zr=Fr===void 0?!0:Fr,Zr=Ut.multiple,hr=Zr===void 0?!1:Zr,Yr=Ut.defaultSelectedKeys,jn=Ut.selectedKeys,On=Ut.onSelect,Er=Ut.onDeselect,Or=Ut.inlineIndent,ti=Or===void 0?24:Or,Ii=Ut.motion,Gn=Ut.defaultMotions,ri=Ut.triggerSubMenuAction,Qr=ri===void 0?"hover":ri,di=Ut.builtinPlacements,Oi=Ut.itemIcon,bi=Ut.expandIcon,ii=Ut.overflowedIndicator,Ci=ii===void 0?"...":ii,oi=Ut.overflowedIndicatorPopupClassName,Bi=Ut.getPopupContainer,Cr=Ut.onClick,Yi=Ut.onOpenChange,Hi=Ut.onKeyDown,Qi=Ut.openAnimation,$r=Ut.openTransitionName,ca=Ut._internalRenderMenuItem,ma=Ut._internalRenderSubMenuItem,ua=(0,m.Z)(Ut,on),Mr=b.useMemo(function(){return Xt(Rn,fr,gn)},[Rn,fr]),da=b.useState(!1),wa=(0,F.Z)(da,2),Mn=wa[0],Ui=wa[1],ia=b.useRef(),vr=Ie(mr),xr=In==="rtl",ur=(0,M.Z)(gt,{value:Bn,postState:function(Fi){return Fi||gn}}),Jn=(0,F.Z)(ur,2),Hr=Jn[0],ai=Jn[1],ji=function(Fi){var xi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function ha(){ai(Fi),Yi==null||Yi(Fi)}xi?(0,A.flushSync)(ha):ha()},Pi=b.useState(Hr),Ti=(0,F.Z)(Pi,2),Br=Ti[0],Ni=Ti[1],Ca=b.useRef(!1),Na=b.useMemo(function(){return(Dr==="inline"||Dr==="vertical")&&ar?["vertical",ar]:[Dr,!1]},[Dr,ar]),fa=(0,F.Z)(Na,2),sa=fa[0],or=fa[1],Lr=sa==="inline",Si=b.useState(sa),Wi=(0,F.Z)(Si,2),gi=Wi[0],ga=Wi[1],Ta=b.useState(or),ja=(0,F.Z)(Ta,2),va=ja[0],os=ja[1];b.useEffect(function(){ga(sa),os(or),Ca.current&&(Lr?ai(Br):ji(gn))},[sa,or]);var ys=b.useState(0),Ya=(0,F.Z)(ys,2),ls=Ya[0],xa=Ya[1],Ea=ls>=Mr.length-1||gi!=="horizontal"||wr;b.useEffect(function(){Lr&&Ni(Hr)},[Hr]),b.useEffect(function(){return Ca.current=!0,function(){Ca.current=!1}},[]);var Ra=$(),us=Ra.registerPath,Qa=Ra.unregisterPath,qa=Ra.refreshOverflowKeys,za=Ra.isSubPathKey,li=Ra.getKeyPath,qr=Ra.getKeys,aa=Ra.getSubPathKeys,Vi=b.useMemo(function(){return{registerPath:us,unregisterPath:Qa}},[us,Qa]),vi=b.useMemo(function(){return{isSubPathKey:za}},[za]);b.useEffect(function(){qa(Ea?gn:Mr.slice(ls+1).map(function(Ri){return Ri.key}))},[ls,Ea]);var oa=(0,M.Z)(lr||nr&&((Dt=Mr[0])===null||Dt===void 0?void 0:Dt.key),{value:lr}),la=(0,F.Z)(oa,2),Da=la[0],Aa=la[1],Ja=V(function(Ri){Aa(Ri)}),Ma=V(function(){Aa(void 0)});(0,b.useImperativeHandle)(yt,function(){return{list:ia.current,focus:function(Fi){var xi,ha=qr(),ra=G(ha,vr),_n=ra.elements,Va=ra.key2element,ds=ra.element2key,ks=de(ia.current,_n),Os=Da!=null?Da:ks[0]?ds.get(ks[0]):(xi=Mr.find(function(qs){return!qs.props.disabled}))===null||xi===void 0?void 0:xi.key,ns=Va.get(Os);if(Os&&ns){var fs;ns==null||(fs=ns.focus)===null||fs===void 0||fs.call(ns,Fi)}}}});var bs=(0,M.Z)(Yr||[],{value:jn,postState:function(Fi){return Array.isArray(Fi)?Fi:Fi==null?gn:[Fi]}}),Ps=(0,F.Z)(bs,2),Ua=Ps[0],Xa=Ps[1],_s=function(Fi){if(zr){var xi=Fi.key,ha=Ua.includes(xi),ra;hr?ha?ra=Ua.filter(function(Va){return Va!==xi}):ra=[].concat((0,ge.Z)(Ua),[xi]):ra=[xi],Xa(ra);var _n=(0,re.Z)((0,re.Z)({},Fi),{},{selectedKeys:ra});ha?Er==null||Er(_n):On==null||On(_n)}!hr&&Hr.length&&gi!=="inline"&&ji(gn)},es=V(function(Ri){Cr==null||Cr(k(Ri)),_s(Ri)}),Ss=V(function(Ri,Fi){var xi=Hr.filter(function(ra){return ra!==Ri});if(Fi)xi.push(Ri);else if(gi!=="inline"){var ha=aa(Ri);xi=xi.filter(function(ra){return!ha.has(ra)})}(0,W.Z)(Hr,xi,!0)||ji(xi,!0)}),ws=function(Fi,xi){var ha=xi!=null?xi:!Hr.includes(Fi);Ss(Fi,ha)},cs=U(gi,Da,xr,vr,ia,qr,li,Aa,ws,Hi);b.useEffect(function(){Ui(!0)},[]);var ts=b.useMemo(function(){return{_internalRenderMenuItem:ca,_internalRenderSubMenuItem:ma}},[ca,ma]),Wa=gi!=="horizontal"||wr?Mr:Mr.map(function(Ri,Fi){return b.createElement(L,{key:Ri.key,overflowDisabled:Fi>ls},Ri)}),Cs=b.createElement(o.Z,(0,g.Z)({id:mr,ref:ia,prefixCls:"".concat(Gt,"-overflow"),component:"ul",itemComponent:Xe,className:he()(Gt,"".concat(Gt,"-root"),"".concat(Gt,"-").concat(gi),Ln,(jt={},(0,O.Z)(jt,"".concat(Gt,"-inline-collapsed"),va),(0,O.Z)(jt,"".concat(Gt,"-rtl"),xr),jt),yn),dir:In,style:Tn,role:"menu",tabIndex:Vn,data:Wa,renderRawItem:function(Fi){return Fi},renderRawRest:function(Fi){var xi=Fi.length,ha=xi?Mr.slice(-xi):null;return b.createElement(mt,{eventKey:ne,title:Ci,disabled:Ea,internalPopupClose:xi===0,popupClassName:oi},ha)},maxCount:gi!=="horizontal"||wr?o.Z.INVALIDATE:o.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Fi){xa(Fi)},onKeyDown:cs},ua));return b.createElement(oe.Provider,{value:ts},b.createElement(C.Provider,{value:vr},b.createElement(L,{prefixCls:Gt,rootClassName:yn,mode:gi,openKeys:Hr,rtl:xr,disabled:sr,motion:Mn?Ii:null,defaultMotions:Mn?Gn:null,activeKey:Da,onActive:Ja,onInactive:Ma,selectedKeys:Ua,inlineIndent:ti,subMenuOpenDelay:Pr,subMenuCloseDelay:er,forceSubMenuRender:Hn,builtinPlacements:di,triggerSubMenuAction:Qr,getPopupContainer:Bi,itemIcon:Oi,expandIcon:bi,onItemClick:es,onOpenChange:Ss},b.createElement(ye.Provider,{value:vi},Cs),b.createElement("div",{style:{display:"none"},"aria-hidden":!0},b.createElement(Q.Provider,{value:Vi},Mr)))))}),Qn=fn,kn=Qn;kn.Item=Xe,kn.SubMenu=mt,kn.ItemGroup=ln,kn.Divider=mn;var cn=kn},11780:function(an,it,f){"use strict";f.d(it,{Z:function(){return ae}});var g=f(72308),O=f(77321),re=f(52487),ge=f(74416),F=f(59301),m=f(92310),w=f.n(m),he=f(29301),o=f(34280),M=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],W=void 0;function y(v,_){var Y=v.prefixCls,q=v.invalidate,Pe=v.item,Le=v.renderItem,Ue=v.responsive,$e=v.responsiveDisabled,ut=v.registerSize,dt=v.itemKey,at=v.className,Pt=v.style,nn=v.children,kt=v.display,Nt=v.order,lt=v.component,wt=lt===void 0?"div":lt,de=(0,ge.Z)(v,M),fe=Ue&&!kt;function G(I){ut(dt,I)}F.useEffect(function(){return function(){G(null)}},[]);var U=Le&&Pe!==W?Le(Pe,{index:Nt}):nn,we;q||(we={opacity:fe?0:1,height:fe?0:W,overflowY:fe?"hidden":W,order:Ue?Nt:W,pointerEvents:fe?"none":W,position:fe?"absolute":W});var P={};fe&&(P["aria-hidden"]=!0);var T=F.createElement(wt,(0,g.Z)({className:w()(!q&&Y,at),style:(0,O.Z)((0,O.Z)({},we),Pt)},P,de,{ref:_}),U);return Ue&&(T=F.createElement(he.Z,{onResize:function(ne){var $=ne.offsetWidth;G($)},disabled:$e},T)),T}var b=F.forwardRef(y);b.displayName="Item";var A=b,C=f(6089),K=f(4676),pe=f(16089);function B(v){if(typeof MessageChannel=="undefined")(0,pe.Z)(v);else{var _=new MessageChannel;_.port1.onmessage=function(){return v()},_.port2.postMessage(void 0)}}function Z(){var v=F.useRef(null),_=function(q){v.current||(v.current=[],B(function(){(0,K.unstable_batchedUpdates)(function(){v.current.forEach(function(Pe){Pe()}),v.current=null})})),v.current.push(q)};return _}function ie(v,_){var Y=F.useState(_),q=(0,re.Z)(Y,2),Pe=q[0],Le=q[1],Ue=(0,C.Z)(function($e){v(function(){Le($e)})});return[Pe,Ue]}var X=F.createContext(null),L=["component"],D=["className"],Q=["className"],j=function(_,Y){var q=F.useContext(X);if(!q){var Pe=_.component,Le=Pe===void 0?"div":Pe,Ue=(0,ge.Z)(_,L);return F.createElement(Le,(0,g.Z)({},Ue,{ref:Y}))}var $e=q.className,ut=(0,ge.Z)(q,D),dt=_.className,at=(0,ge.Z)(_,Q);return F.createElement(X.Provider,{value:null},F.createElement(A,(0,g.Z)({ref:Y,className:w()($e,dt)},ut,at)))},ve=F.forwardRef(j);ve.displayName="RawItem";var xe=ve,ye=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],le="responsive",oe="invalidate";function H(v){return"+ ".concat(v.length," ...")}function be(v,_){var Y=v.prefixCls,q=Y===void 0?"rc-overflow":Y,Pe=v.data,Le=Pe===void 0?[]:Pe,Ue=v.renderItem,$e=v.renderRawItem,ut=v.itemKey,dt=v.itemWidth,at=dt===void 0?10:dt,Pt=v.ssr,nn=v.style,kt=v.className,Nt=v.maxCount,lt=v.renderRest,wt=v.renderRawRest,de=v.suffix,fe=v.component,G=fe===void 0?"div":fe,U=v.itemComponent,we=v.onVisibleChange,P=(0,ge.Z)(v,ye),T=Pt==="full",I=Z(),ne=ie(I,null),$=(0,re.Z)(ne,2),V=$[0],Te=$[1],He=V||0,Ie=ie(I,new Map),Fe=(0,re.Z)(Ie,2),Qe=Fe[0],Ze=Fe[1],Ve=ie(I,0),xt=(0,re.Z)(Ve,2),Ct=xt[0],ft=xt[1],Ot=ie(I,0),Kt=(0,re.Z)(Ot,2),R=Kt[0],k=Kt[1],bt=ie(I,0),Se=(0,re.Z)(bt,2),Ke=Se[0],vn=Se[1],qe=(0,F.useState)(null),et=(0,re.Z)(qe,2),Xe=et[0],_e=et[1],Me=(0,F.useState)(null),Oe=(0,re.Z)(Me,2),rt=Oe[0],Ae=Oe[1],rn=F.useMemo(function(){return rt===null&&T?Number.MAX_SAFE_INTEGER:rt||0},[rt,V]),Ge=(0,F.useState)(!1),En=(0,re.Z)(Ge,2),Dn=En[0],tn=En[1],Wt="".concat(q,"-item"),It=Math.max(Ct,R),Bt=Nt===le,We=Le.length&&Bt,_t=Nt===oe,Et=We||typeof Nt=="number"&&Le.length>Nt,Be=(0,F.useMemo)(function(){var cn=Le;return We?V===null&&T?cn=Le:cn=Le.slice(0,Math.min(Le.length,He/at)):typeof Nt=="number"&&(cn=Le.slice(0,Nt)),cn},[Le,at,V,Nt,We]),Re=(0,F.useMemo)(function(){return We?Le.slice(rn+1):Le.slice(Be.length)},[Le,Be,We,rn]),pt=(0,F.useCallback)(function(cn,ht){var yt;return typeof ut=="function"?ut(cn):(yt=ut&&(cn==null?void 0:cn[ut]))!==null&&yt!==void 0?yt:ht},[ut]),mt=(0,F.useCallback)(Ue||function(cn){return cn},[Ue]);function Ft(cn,ht,yt){rt===cn&&(ht===void 0||ht===Xe)||(Ae(cn),yt||(tn(cn<Le.length-1),we==null||we(cn)),ht!==void 0&&_e(ht))}function Ht(cn,ht){Te(ht.clientWidth)}function sn(cn,ht){Ze(function(yt){var Dt=new Map(yt);return ht===null?Dt.delete(cn):Dt.set(cn,ht),Dt})}function Yt(cn,ht){k(ht),ft(R)}function ln(cn,ht){vn(ht)}function mn(cn){return Qe.get(pt(Be[cn],cn))}(0,o.Z)(function(){if(He&&typeof It=="number"&&Be){var cn=Ke,ht=Be.length,yt=ht-1;if(!ht){Ft(0,null);return}for(var Dt=0;Dt<ht;Dt+=1){var jt=mn(Dt);if(T&&(jt=jt||0),jt===void 0){Ft(Dt-1,void 0,!0);break}if(cn+=jt,yt===0&&cn<=He||Dt===yt-1&&cn+mn(yt)<=He){Ft(yt,null);break}else if(cn+It>He){Ft(Dt-1,cn-jt-Ke+R);break}}de&&mn(0)+Ke>He&&_e(null)}},[He,Qe,R,Ke,pt,Be]);var An=Dn&&!!Re.length,Zt={};Xe!==null&&We&&(Zt={position:"absolute",left:Xe,top:0});var Xt={prefixCls:Wt,responsive:We,component:U,invalidate:_t},on=$e?function(cn,ht){var yt=pt(cn,ht);return F.createElement(X.Provider,{key:yt,value:(0,O.Z)((0,O.Z)({},Xt),{},{order:ht,item:cn,itemKey:yt,registerSize:sn,display:ht<=rn})},$e(cn,ht))}:function(cn,ht){var yt=pt(cn,ht);return F.createElement(A,(0,g.Z)({},Xt,{order:ht,key:yt,item:cn,renderItem:mt,itemKey:yt,registerSize:sn,display:ht<=rn}))},gn={order:An?rn:Number.MAX_SAFE_INTEGER,className:"".concat(Wt,"-rest"),registerSize:Yt,display:An},fn=lt||H,Qn=wt?F.createElement(X.Provider,{value:(0,O.Z)((0,O.Z)({},Xt),gn)},wt(Re)):F.createElement(A,(0,g.Z)({},Xt,gn),typeof fn=="function"?fn(Re):fn),kn=F.createElement(G,(0,g.Z)({className:w()(!_t&&q,kt),style:nn,ref:_},P),Be.map(on),Et?Qn:null,de&&F.createElement(A,(0,g.Z)({},Xt,{responsive:Bt,responsiveDisabled:!We,order:rn,className:"".concat(Wt,"-suffix"),registerSize:ln,display:!0,style:Zt}),de));return Bt?F.createElement(he.Z,{onResize:Ht,disabled:!We},kn):kn}var J=F.forwardRef(be);J.displayName="Overflow",J.Item=xe,J.RESPONSIVE=le,J.INVALIDATE=oe;var me=J,ae=me},29301:function(an,it,f){"use strict";f.d(it,{Z:function(){return oe}});var g=f(72308),O=f(59301),re=f(11592),ge=f(48736),F=f(77321),m=f(62853),w=f(76846),he=f(8654),o=O.createContext(null);function M(H){var be=H.children,J=H.onBatchResize,me=O.useRef(0),ae=O.useRef([]),v=O.useContext(o),_=O.useCallback(function(Y,q,Pe){me.current+=1;var Le=me.current;ae.current.push({size:Y,element:q,data:Pe}),Promise.resolve().then(function(){Le===me.current&&(J==null||J(ae.current),ae.current=[])}),v==null||v(Y,q,Pe)},[J,v]);return O.createElement(o.Provider,{value:_},be)}var W=f(76374),y=new Map;function b(H){H.forEach(function(be){var J,me=be.target;(J=y.get(me))===null||J===void 0||J.forEach(function(ae){return ae(me)})})}var A=new W.Z(b),C=null,K=null;function pe(H,be){y.has(H)||(y.set(H,new Set),A.observe(H)),y.get(H).add(be)}function B(H,be){y.has(H)&&(y.get(H).delete(be),y.get(H).size||(A.unobserve(H),y.delete(H)))}var Z=f(96949),ie=f(55090),X=f(77205),L=f(38793),D=function(H){(0,X.Z)(J,H);var be=(0,L.Z)(J);function J(){return(0,Z.Z)(this,J),be.apply(this,arguments)}return(0,ie.Z)(J,[{key:"render",value:function(){return this.props.children}}]),J}(O.Component);function Q(H,be){var J=H.children,me=H.disabled,ae=O.useRef(null),v=O.useRef(null),_=O.useContext(o),Y=typeof J=="function",q=Y?J(ae):J,Pe=O.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Le=!Y&&O.isValidElement(q)&&(0,he.Yr)(q),Ue=Le?(0,he.C4)(q):null,$e=(0,he.x1)(Ue,ae),ut=function(){var nn;return(0,w.ZP)(ae.current)||(ae.current&&(0,m.Z)(ae.current)==="object"?(0,w.ZP)((nn=ae.current)===null||nn===void 0?void 0:nn.nativeElement):null)||(0,w.ZP)(v.current)};O.useImperativeHandle(be,function(){return ut()});var dt=O.useRef(H);dt.current=H;var at=O.useCallback(function(Pt){var nn=dt.current,kt=nn.onResize,Nt=nn.data,lt=Pt.getBoundingClientRect(),wt=lt.width,de=lt.height,fe=Pt.offsetWidth,G=Pt.offsetHeight,U=Math.floor(wt),we=Math.floor(de);if(Pe.current.width!==U||Pe.current.height!==we||Pe.current.offsetWidth!==fe||Pe.current.offsetHeight!==G){var P={width:U,height:we,offsetWidth:fe,offsetHeight:G};Pe.current=P;var T=fe===Math.round(wt)?wt:fe,I=G===Math.round(de)?de:G,ne=(0,F.Z)((0,F.Z)({},P),{},{offsetWidth:T,offsetHeight:I});_==null||_(ne,Pt,Nt),kt&&Promise.resolve().then(function(){kt(ne,Pt)})}},[]);return O.useEffect(function(){var Pt=ut();return Pt&&!me&&pe(Pt,at),function(){return B(Pt,at)}},[ae.current,me]),O.createElement(D,{ref:v},Le?O.cloneElement(q,{ref:$e}):q)}var j=O.forwardRef(Q),ve=j,xe="rc-observer-key";function ye(H,be){var J=H.children,me=typeof J=="function"?[J]:(0,re.Z)(J);return me.map(function(ae,v){var _=(ae==null?void 0:ae.key)||"".concat(xe,"-").concat(v);return O.createElement(ve,(0,g.Z)({},H,{key:_,ref:v===0?be:void 0}),ae)})}var le=O.forwardRef(ye);le.Collection=M;var oe=le},17115:function(an,it,f){"use strict";f.d(it,{ZP:function(){return w}});var g=f(52487),O=f(59301),re=f(47273),ge=0,F=(0,re.Z)();function m(){var he;return F?(he=ge,ge+=1):he="TEST_OR_SSR",he}function w(he){var o=O.useState(),M=(0,g.Z)(o,2),W=M[0],y=M[1];return O.useEffect(function(){y("rc_select_".concat(m()))},[]),he||W}},77861:function(an,it,f){"use strict";f.d(it,{Ac:function(){return Te},Xo:function(){return k},Wx:function(){return Se},ZP:function(){return Et},lk:function(){return X}});var g=f(72308),O=f(80702),re=f(49618),ge=f(77321),F=f(52487),m=f(74416),w=f(62853),he=f(18929),o=f(48736),M=f(59301),W=f(92310),y=f.n(W),b=f(34280),A=f(49658),C=f(10228),K=f(8654),pe=function(Re){var pt=Re.className,mt=Re.customizeIcon,Ft=Re.customizeIconProps,Ht=Re.onMouseDown,sn=Re.onClick,Yt=Re.children,ln;return typeof mt=="function"?ln=mt(Ft):ln=mt,M.createElement("span",{className:pt,onMouseDown:function(An){An.preventDefault(),Ht&&Ht(An)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:sn,"aria-hidden":!0},ln!==void 0?ln:M.createElement("span",{className:y()(pt.split(/\s+/).map(function(mn){return"".concat(mn,"-icon")}))},Yt))},B=pe;function Z(Be,Re,pt,mt,Ft){var Ht=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,sn=arguments.length>6?arguments[6]:void 0,Yt=arguments.length>7?arguments[7]:void 0,ln=M.useMemo(function(){if((0,w.Z)(mt)==="object")return mt.clearIcon;if(Ft)return Ft},[mt,Ft]),mn=M.useMemo(function(){return!!(!Ht&&mt&&(pt.length||sn)&&!(Yt==="combobox"&&sn===""))},[mt,Ht,pt.length,sn,Yt]);return{allowClear:mn,clearIcon:M.createElement(B,{className:"".concat(Be,"-clear"),onMouseDown:Re,customizeIcon:ln},"\xD7")}}var ie=M.createContext(null);function X(){return M.useContext(ie)}function L(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Re=M.useState(!1),pt=(0,F.Z)(Re,2),mt=pt[0],Ft=pt[1],Ht=M.useRef(null),sn=function(){window.clearTimeout(Ht.current)};M.useEffect(function(){return sn},[]);var Yt=function(mn,An){sn(),Ht.current=window.setTimeout(function(){Ft(mn),An&&An()},Be)};return[mt,Yt,sn]}function D(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Re=M.useRef(null),pt=M.useRef(null);M.useEffect(function(){return function(){window.clearTimeout(pt.current)}},[]);function mt(Ft){(Ft||Re.current===null)&&(Re.current=Ft),window.clearTimeout(pt.current),pt.current=window.setTimeout(function(){Re.current=null},Be)}return[function(){return Re.current},mt]}function Q(Be,Re,pt,mt){var Ft=M.useRef(null);Ft.current={open:Re,triggerOpen:pt,customizedTrigger:mt},M.useEffect(function(){function Ht(sn){var Yt;if(!((Yt=Ft.current)!==null&&Yt!==void 0&&Yt.customizedTrigger)){var ln=sn.target;ln.shadowRoot&&sn.composed&&(ln=sn.composedPath()[0]||ln),Ft.current.open&&Be().filter(function(mn){return mn}).every(function(mn){return!mn.contains(ln)&&mn!==ln})&&Ft.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ht),function(){return window.removeEventListener("mousedown",Ht)}},[])}var j=f(26112),ve=f(11780),xe=function(Re,pt){var mt,Ft,Ht=Re.prefixCls,sn=Re.id,Yt=Re.inputElement,ln=Re.disabled,mn=Re.tabIndex,An=Re.autoFocus,Zt=Re.autoComplete,Xt=Re.editable,on=Re.activeDescendantId,gn=Re.value,fn=Re.maxLength,Qn=Re.onKeyDown,kn=Re.onMouseDown,cn=Re.onChange,ht=Re.onPaste,yt=Re.onCompositionStart,Dt=Re.onCompositionEnd,jt=Re.open,Ut=Re.attrs,dn=Yt||M.createElement("input",null),Gt=dn,yn=Gt.ref,Tn=Gt.props,Ln=Tn.onKeyDown,qn=Tn.onChange,Vn=Tn.onMouseDown,fr=Tn.onCompositionStart,Rn=Tn.onCompositionEnd,In=Tn.style;return(0,o.Kp)(!("maxLength"in dn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),dn=M.cloneElement(dn,(0,ge.Z)((0,ge.Z)((0,ge.Z)({type:"search"},Tn),{},{id:sn,ref:(0,K.sQ)(pt,yn),disabled:ln,tabIndex:mn,autoComplete:Zt||"off",autoFocus:An,className:y()("".concat(Ht,"-selection-search-input"),(mt=dn)===null||mt===void 0||(Ft=mt.props)===null||Ft===void 0?void 0:Ft.className),role:"combobox","aria-label":"Search","aria-expanded":jt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(sn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(sn,"_list"),"aria-activedescendant":jt?on:void 0},Ut),{},{value:Xt?gn:"",maxLength:fn,readOnly:!Xt,unselectable:Xt?null:"on",style:(0,ge.Z)((0,ge.Z)({},In),{},{opacity:Xt?null:0}),onKeyDown:function(gr){Qn(gr),Ln&&Ln(gr)},onMouseDown:function(gr){kn(gr),Vn&&Vn(gr)},onChange:function(gr){cn(gr),qn&&qn(gr)},onCompositionStart:function(gr){yt(gr),fr&&fr(gr)},onCompositionEnd:function(gr){Dt(gr),Rn&&Rn(gr)},onPaste:ht})),dn},ye=M.forwardRef(xe);ye.displayName="Input";var le=ye;function oe(Be){return Array.isArray(Be)?Be:Be!==void 0?[Be]:[]}var H=typeof window!="undefined"&&window.document&&window.document.documentElement,be=H;function J(Be){return Be!=null}function me(Be){return!Be&&Be!==0}function ae(Be){return["string","number"].includes((0,w.Z)(Be))}function v(Be){var Re=void 0;return Be&&(ae(Be.title)?Re=Be.title.toString():ae(Be.label)&&(Re=Be.label.toString())),Re}function _(Be,Re){be?M.useLayoutEffect(Be,Re):M.useEffect(Be,Re)}function Y(Be){var Re;return(Re=Be.key)!==null&&Re!==void 0?Re:Be.value}var q=function(Re){Re.preventDefault(),Re.stopPropagation()},Pe=function(Re){var pt=Re.id,mt=Re.prefixCls,Ft=Re.values,Ht=Re.open,sn=Re.searchValue,Yt=Re.autoClearSearchValue,ln=Re.inputRef,mn=Re.placeholder,An=Re.disabled,Zt=Re.mode,Xt=Re.showSearch,on=Re.autoFocus,gn=Re.autoComplete,fn=Re.activeDescendantId,Qn=Re.tabIndex,kn=Re.removeIcon,cn=Re.maxTagCount,ht=Re.maxTagTextLength,yt=Re.maxTagPlaceholder,Dt=yt===void 0?function(Fr){return"+ ".concat(Fr.length," ...")}:yt,jt=Re.tagRender,Ut=Re.onToggleOpen,dn=Re.onRemove,Gt=Re.onInputChange,yn=Re.onInputPaste,Tn=Re.onInputKeyDown,Ln=Re.onInputMouseDown,qn=Re.onInputCompositionStart,Vn=Re.onInputCompositionEnd,fr=M.useRef(null),Rn=(0,M.useState)(0),In=(0,F.Z)(Rn,2),mr=In[0],gr=In[1],Dr=(0,M.useState)(!1),ar=(0,F.Z)(Dr,2),sr=ar[0],wr=ar[1],ir="".concat(mt,"-selection"),Pr=Ht||Zt==="multiple"&&Yt===!1||Zt==="tags"?sn:"",ei=Zt==="tags"||Zt==="multiple"&&Yt===!1||Xt&&(Ht||sr);_(function(){gr(fr.current.scrollWidth)},[Pr]);function er(Fr,zr,Zr,hr,Yr){return M.createElement("span",{className:y()("".concat(ir,"-item"),(0,re.Z)({},"".concat(ir,"-item-disabled"),Zr)),title:v(Fr)},M.createElement("span",{className:"".concat(ir,"-item-content")},zr),hr&&M.createElement(B,{className:"".concat(ir,"-item-remove"),onMouseDown:q,onClick:Yr,customizeIcon:kn},"\xD7"))}function Hn(Fr,zr,Zr,hr,Yr){var jn=function(Er){q(Er),Ut(!Ht)};return M.createElement("span",{onMouseDown:jn},jt({label:zr,value:Fr,disabled:Zr,closable:hr,onClose:Yr}))}function gt(Fr){var zr=Fr.disabled,Zr=Fr.label,hr=Fr.value,Yr=!An&&!zr,jn=Zr;if(typeof ht=="number"&&(typeof Zr=="string"||typeof Zr=="number")){var On=String(jn);On.length>ht&&(jn="".concat(On.slice(0,ht),"..."))}var Er=function(ti){ti&&ti.stopPropagation(),dn(Fr)};return typeof jt=="function"?Hn(hr,jn,zr,Yr,Er):er(Fr,jn,zr,Yr,Er)}function Bn(Fr){var zr=typeof Dt=="function"?Dt(Fr):Dt;return er({title:zr},zr,!1)}var lr=M.createElement("div",{className:"".concat(ir,"-search"),style:{width:mr},onFocus:function(){wr(!0)},onBlur:function(){wr(!1)}},M.createElement(le,{ref:ln,open:Ht,prefixCls:mt,id:pt,inputElement:null,disabled:An,autoFocus:on,autoComplete:gn,editable:ei,activeDescendantId:fn,value:Pr,onKeyDown:Tn,onMouseDown:Ln,onChange:Gt,onPaste:yn,onCompositionStart:qn,onCompositionEnd:Vn,tabIndex:Qn,attrs:(0,j.Z)(Re,!0)}),M.createElement("span",{ref:fr,className:"".concat(ir,"-search-mirror"),"aria-hidden":!0},Pr,"\xA0")),nr=M.createElement(ve.Z,{prefixCls:"".concat(ir,"-overflow"),data:Ft,renderItem:gt,renderRest:Bn,suffix:lr,itemKey:Y,maxCount:cn});return M.createElement(M.Fragment,null,nr,!Ft.length&&!Pr&&M.createElement("span",{className:"".concat(ir,"-placeholder")},mn))},Le=Pe,Ue=function(Re){var pt=Re.inputElement,mt=Re.prefixCls,Ft=Re.id,Ht=Re.inputRef,sn=Re.disabled,Yt=Re.autoFocus,ln=Re.autoComplete,mn=Re.activeDescendantId,An=Re.mode,Zt=Re.open,Xt=Re.values,on=Re.placeholder,gn=Re.tabIndex,fn=Re.showSearch,Qn=Re.searchValue,kn=Re.activeValue,cn=Re.maxLength,ht=Re.onInputKeyDown,yt=Re.onInputMouseDown,Dt=Re.onInputChange,jt=Re.onInputPaste,Ut=Re.onInputCompositionStart,dn=Re.onInputCompositionEnd,Gt=Re.title,yn=M.useState(!1),Tn=(0,F.Z)(yn,2),Ln=Tn[0],qn=Tn[1],Vn=An==="combobox",fr=Vn||fn,Rn=Xt[0],In=Qn||"";Vn&&kn&&!Ln&&(In=kn),M.useEffect(function(){Vn&&qn(!1)},[Vn,kn]);var mr=An!=="combobox"&&!Zt&&!fn?!1:!!In,gr=Gt===void 0?v(Rn):Gt,Dr=function(){if(Rn)return null;var sr=mr?{visibility:"hidden"}:void 0;return M.createElement("span",{className:"".concat(mt,"-selection-placeholder"),style:sr},on)};return M.createElement(M.Fragment,null,M.createElement("span",{className:"".concat(mt,"-selection-search")},M.createElement(le,{ref:Ht,prefixCls:mt,id:Ft,open:Zt,inputElement:pt,disabled:sn,autoFocus:Yt,autoComplete:ln,editable:fr,activeDescendantId:mn,value:In,onKeyDown:ht,onMouseDown:yt,onChange:function(sr){qn(!0),Dt(sr)},onPaste:jt,onCompositionStart:Ut,onCompositionEnd:dn,tabIndex:gn,attrs:(0,j.Z)(Re,!0),maxLength:Vn?cn:void 0})),!Vn&&Rn?M.createElement("span",{className:"".concat(mt,"-selection-item"),title:gr,style:mr?{visibility:"hidden"}:void 0},Rn.label):null,Dr())},$e=Ue;function ut(Be){return![C.Z.ESC,C.Z.SHIFT,C.Z.BACKSPACE,C.Z.TAB,C.Z.WIN_KEY,C.Z.ALT,C.Z.META,C.Z.WIN_KEY_RIGHT,C.Z.CTRL,C.Z.SEMICOLON,C.Z.EQUALS,C.Z.CAPS_LOCK,C.Z.CONTEXT_MENU,C.Z.F1,C.Z.F2,C.Z.F3,C.Z.F4,C.Z.F5,C.Z.F6,C.Z.F7,C.Z.F8,C.Z.F9,C.Z.F10,C.Z.F11,C.Z.F12].includes(Be)}var dt=function(Re,pt){var mt=(0,M.useRef)(null),Ft=(0,M.useRef)(!1),Ht=Re.prefixCls,sn=Re.open,Yt=Re.mode,ln=Re.showSearch,mn=Re.tokenWithEnter,An=Re.autoClearSearchValue,Zt=Re.onSearch,Xt=Re.onSearchSubmit,on=Re.onToggleOpen,gn=Re.onInputKeyDown,fn=Re.domRef;M.useImperativeHandle(pt,function(){return{focus:function(){mt.current.focus()},blur:function(){mt.current.blur()}}});var Qn=D(0),kn=(0,F.Z)(Qn,2),cn=kn[0],ht=kn[1],yt=function(In){var mr=In.which;(mr===C.Z.UP||mr===C.Z.DOWN)&&In.preventDefault(),gn&&gn(In),mr===C.Z.ENTER&&Yt==="tags"&&!Ft.current&&!sn&&(Xt==null||Xt(In.target.value)),ut(mr)&&on(!0)},Dt=function(){ht(!0)},jt=(0,M.useRef)(null),Ut=function(In){Zt(In,!0,Ft.current)!==!1&&on(!0)},dn=function(){Ft.current=!0},Gt=function(In){Ft.current=!1,Yt!=="combobox"&&Ut(In.target.value)},yn=function(In){var mr=In.target.value;if(mn&&jt.current&&/[\r\n]/.test(jt.current)){var gr=jt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");mr=mr.replace(gr,jt.current)}jt.current=null,Ut(mr)},Tn=function(In){var mr=In.clipboardData,gr=mr.getData("text");jt.current=gr},Ln=function(In){var mr=In.target;if(mr!==mt.current){var gr=document.body.style.msTouchAction!==void 0;gr?setTimeout(function(){mt.current.focus()}):mt.current.focus()}},qn=function(In){var mr=cn();In.target!==mt.current&&!mr&&Yt!=="combobox"&&In.preventDefault(),(Yt!=="combobox"&&(!ln||!mr)||!sn)&&(sn&&An!==!1&&Zt("",!0,!1),on())},Vn={inputRef:mt,onInputKeyDown:yt,onInputMouseDown:Dt,onInputChange:yn,onInputPaste:Tn,onInputCompositionStart:dn,onInputCompositionEnd:Gt},fr=Yt==="multiple"||Yt==="tags"?M.createElement(Le,(0,g.Z)({},Re,Vn)):M.createElement($e,(0,g.Z)({},Re,Vn));return M.createElement("div",{ref:fn,className:"".concat(Ht,"-selector"),onClick:Ln,onMouseDown:qn},fr)},at=M.forwardRef(dt);at.displayName="Selector";var Pt=at,nn=f(35593),kt=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Nt=function(Re){var pt=Re===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:pt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:pt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:pt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:pt,adjustY:1},htmlRegion:"scroll"}}},lt=function(Re,pt){var mt=Re.prefixCls,Ft=Re.disabled,Ht=Re.visible,sn=Re.children,Yt=Re.popupElement,ln=Re.animation,mn=Re.transitionName,An=Re.dropdownStyle,Zt=Re.dropdownClassName,Xt=Re.direction,on=Xt===void 0?"ltr":Xt,gn=Re.placement,fn=Re.builtinPlacements,Qn=Re.dropdownMatchSelectWidth,kn=Re.dropdownRender,cn=Re.dropdownAlign,ht=Re.getPopupContainer,yt=Re.empty,Dt=Re.getTriggerDOMNode,jt=Re.onPopupVisibleChange,Ut=Re.onPopupMouseEnter,dn=(0,m.Z)(Re,kt),Gt="".concat(mt,"-dropdown"),yn=Yt;kn&&(yn=kn(Yt));var Tn=M.useMemo(function(){return fn||Nt(Qn)},[fn,Qn]),Ln=ln?"".concat(Gt,"-").concat(ln):mn,qn=typeof Qn=="number",Vn=M.useMemo(function(){return qn?null:Qn===!1?"minWidth":"width"},[Qn,qn]),fr=An;qn&&(fr=(0,ge.Z)((0,ge.Z)({},fr),{},{width:Qn}));var Rn=M.useRef(null);return M.useImperativeHandle(pt,function(){return{getPopupElement:function(){return Rn.current}}}),M.createElement(nn.Z,(0,g.Z)({},dn,{showAction:jt?["click"]:[],hideAction:jt?["click"]:[],popupPlacement:gn||(on==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Tn,prefixCls:Gt,popupTransitionName:Ln,popup:M.createElement("div",{ref:Rn,onMouseEnter:Ut},yn),stretch:Vn,popupAlign:cn,popupVisible:Ht,getPopupContainer:ht,popupClassName:y()(Zt,(0,re.Z)({},"".concat(Gt,"-empty"),yt)),popupStyle:fr,getTriggerDOMNode:Dt,onPopupVisibleChange:jt}),sn)},wt=M.forwardRef(lt);wt.displayName="SelectTrigger";var de=wt,fe=f(68413);function G(Be,Re){var pt=Be.key,mt;return"value"in Be&&(mt=Be.value),pt!=null?pt:mt!==void 0?mt:"rc-index-key-".concat(Re)}function U(Be,Re){var pt=Be||{},mt=pt.label,Ft=pt.value,Ht=pt.options,sn=pt.groupLabel,Yt=mt||(Re?"children":"label");return{label:Yt,value:Ft||"value",options:Ht||"options",groupLabel:sn||Yt}}function we(Be){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pt=Re.fieldNames,mt=Re.childrenAsData,Ft=[],Ht=U(pt,!1),sn=Ht.label,Yt=Ht.value,ln=Ht.options,mn=Ht.groupLabel;function An(Zt,Xt){Zt.forEach(function(on){if(Xt||!(ln in on)){var gn=on[Yt];Ft.push({key:G(on,Ft.length),groupOption:Xt,data:on,label:on[sn],value:gn})}else{var fn=on[mn];fn===void 0&&mt&&(fn=on.label),Ft.push({key:G(on,Ft.length),group:!0,data:on,label:fn}),An(on[ln],!0)}})}return An(Be,!1),Ft}function P(Be){var Re=(0,ge.Z)({},Be);return"props"in Re||Object.defineProperty(Re,"props",{get:function(){return(0,o.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Re}}),Re}function T(Be,Re){if(!Re||!Re.length)return null;var pt=!1;function mt(Ht,sn){var Yt=(0,fe.Z)(sn),ln=Yt[0],mn=Yt.slice(1);if(!ln)return[Ht];var An=Ht.split(ln);return pt=pt||An.length>1,An.reduce(function(Zt,Xt){return[].concat((0,O.Z)(Zt),(0,O.Z)(mt(Xt,mn)))},[]).filter(function(Zt){return Zt})}var Ft=mt(Be,Re);return pt?Ft:null}var I=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],ne=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function $(Be){return Be==="tags"||Be==="multiple"}var V=M.forwardRef(function(Be,Re){var pt,mt,Ft=Be.id,Ht=Be.prefixCls,sn=Be.className,Yt=Be.showSearch,ln=Be.tagRender,mn=Be.direction,An=Be.omitDomProps,Zt=Be.displayValues,Xt=Be.onDisplayValuesChange,on=Be.emptyOptions,gn=Be.notFoundContent,fn=gn===void 0?"Not Found":gn,Qn=Be.onClear,kn=Be.mode,cn=Be.disabled,ht=Be.loading,yt=Be.getInputElement,Dt=Be.getRawInputElement,jt=Be.open,Ut=Be.defaultOpen,dn=Be.onDropdownVisibleChange,Gt=Be.activeValue,yn=Be.onActiveValueChange,Tn=Be.activeDescendantId,Ln=Be.searchValue,qn=Be.autoClearSearchValue,Vn=Be.onSearch,fr=Be.onSearchSplit,Rn=Be.tokenSeparators,In=Be.allowClear,mr=Be.suffixIcon,gr=Be.clearIcon,Dr=Be.OptionList,ar=Be.animation,sr=Be.transitionName,wr=Be.dropdownStyle,ir=Be.dropdownClassName,Pr=Be.dropdownMatchSelectWidth,ei=Be.dropdownRender,er=Be.dropdownAlign,Hn=Be.placement,gt=Be.builtinPlacements,Bn=Be.getPopupContainer,lr=Be.showAction,nr=lr===void 0?[]:lr,Fr=Be.onFocus,zr=Be.onBlur,Zr=Be.onKeyUp,hr=Be.onKeyDown,Yr=Be.onMouseDown,jn=(0,m.Z)(Be,I),On=$(kn),Er=(Yt!==void 0?Yt:On)||kn==="combobox",Or=(0,ge.Z)({},jn);ne.forEach(function(li){delete Or[li]}),An==null||An.forEach(function(li){delete Or[li]});var ti=M.useState(!1),Ii=(0,F.Z)(ti,2),Gn=Ii[0],ri=Ii[1];M.useEffect(function(){ri((0,A.Z)())},[]);var Qr=M.useRef(null),di=M.useRef(null),Oi=M.useRef(null),bi=M.useRef(null),ii=M.useRef(null),Ci=L(),oi=(0,F.Z)(Ci,3),Bi=oi[0],Cr=oi[1],Yi=oi[2];M.useImperativeHandle(Re,function(){var li,qr;return{focus:(li=bi.current)===null||li===void 0?void 0:li.focus,blur:(qr=bi.current)===null||qr===void 0?void 0:qr.blur,scrollTo:function(Vi){var vi;return(vi=ii.current)===null||vi===void 0?void 0:vi.scrollTo(Vi)}}});var Hi=M.useMemo(function(){var li;if(kn!=="combobox")return Ln;var qr=(li=Zt[0])===null||li===void 0?void 0:li.value;return typeof qr=="string"||typeof qr=="number"?String(qr):""},[Ln,kn,Zt]),Qi=kn==="combobox"&&typeof yt=="function"&&yt()||null,$r=typeof Dt=="function"&&Dt(),ca=(0,K.x1)(di,$r==null||(pt=$r.props)===null||pt===void 0?void 0:pt.ref),ma=M.useState(!1),ua=(0,F.Z)(ma,2),Mr=ua[0],da=ua[1];(0,b.Z)(function(){da(!0)},[]);var wa=(0,he.Z)(!1,{defaultValue:Ut,value:jt}),Mn=(0,F.Z)(wa,2),Ui=Mn[0],ia=Mn[1],vr=Mr?Ui:!1,xr=!fn&&on;(cn||xr&&vr&&kn==="combobox")&&(vr=!1);var ur=xr?!1:vr,Jn=M.useCallback(function(li){var qr=li!==void 0?li:!vr;cn||(ia(qr),vr!==qr&&(dn==null||dn(qr)))},[cn,vr,ia,dn]),Hr=M.useMemo(function(){return(Rn||[]).some(function(li){return[`
`,`\r
`].includes(li)})},[Rn]),ai=function(qr,aa,Vi){var vi=!0,oa=qr;yn==null||yn(null);var la=Vi?null:T(qr,Rn);return kn!=="combobox"&&la&&(oa="",fr==null||fr(la),Jn(!1),vi=!1),Vn&&Hi!==oa&&Vn(oa,{source:aa?"typing":"effect"}),vi},ji=function(qr){!qr||!qr.trim()||Vn(qr,{source:"submit"})};M.useEffect(function(){!vr&&!On&&kn!=="combobox"&&ai("",!1,!1)},[vr]),M.useEffect(function(){Ui&&cn&&ia(!1),cn&&Cr(!1)},[cn]);var Pi=D(),Ti=(0,F.Z)(Pi,2),Br=Ti[0],Ni=Ti[1],Ca=function(qr){var aa=Br(),Vi=qr.which;if(Vi===C.Z.ENTER&&(kn!=="combobox"&&qr.preventDefault(),vr||Jn(!0)),Ni(!!Hi),Vi===C.Z.BACKSPACE&&!aa&&On&&!Hi&&Zt.length){for(var vi=(0,O.Z)(Zt),oa=null,la=vi.length-1;la>=0;la-=1){var Da=vi[la];if(!Da.disabled){vi.splice(la,1),oa=Da;break}}oa&&Xt(vi,{type:"remove",values:[oa]})}for(var Aa=arguments.length,Ja=new Array(Aa>1?Aa-1:0),Ma=1;Ma<Aa;Ma++)Ja[Ma-1]=arguments[Ma];if(vr&&ii.current){var bs;(bs=ii.current).onKeyDown.apply(bs,[qr].concat(Ja))}hr==null||hr.apply(void 0,[qr].concat(Ja))},Na=function(qr){for(var aa=arguments.length,Vi=new Array(aa>1?aa-1:0),vi=1;vi<aa;vi++)Vi[vi-1]=arguments[vi];if(vr&&ii.current){var oa;(oa=ii.current).onKeyUp.apply(oa,[qr].concat(Vi))}Zr==null||Zr.apply(void 0,[qr].concat(Vi))},fa=function(qr){var aa=Zt.filter(function(Vi){return Vi!==qr});Xt(aa,{type:"remove",values:[qr]})},sa=M.useRef(!1),or=function(){Cr(!0),cn||(Fr&&!sa.current&&Fr.apply(void 0,arguments),nr.includes("focus")&&Jn(!0)),sa.current=!0},Lr=function(){Cr(!1,function(){sa.current=!1,Jn(!1)}),!cn&&(Hi&&(kn==="tags"?Vn(Hi,{source:"submit"}):kn==="multiple"&&Vn("",{source:"blur"})),zr&&zr.apply(void 0,arguments))},Si=[];M.useEffect(function(){return function(){Si.forEach(function(li){return clearTimeout(li)}),Si.splice(0,Si.length)}},[]);var Wi=function(qr){var aa,Vi=qr.target,vi=(aa=Oi.current)===null||aa===void 0?void 0:aa.getPopupElement();if(vi&&vi.contains(Vi)){var oa=setTimeout(function(){var Ja=Si.indexOf(oa);if(Ja!==-1&&Si.splice(Ja,1),Yi(),!Gn&&!vi.contains(document.activeElement)){var Ma;(Ma=bi.current)===null||Ma===void 0||Ma.focus()}});Si.push(oa)}for(var la=arguments.length,Da=new Array(la>1?la-1:0),Aa=1;Aa<la;Aa++)Da[Aa-1]=arguments[Aa];Yr==null||Yr.apply(void 0,[qr].concat(Da))},gi=M.useState({}),ga=(0,F.Z)(gi,2),Ta=ga[1];function ja(){Ta({})}var va;$r&&(va=function(qr){Jn(qr)}),Q(function(){var li;return[Qr.current,(li=Oi.current)===null||li===void 0?void 0:li.getPopupElement()]},ur,Jn,!!$r);var os=M.useMemo(function(){return(0,ge.Z)((0,ge.Z)({},Be),{},{notFoundContent:fn,open:vr,triggerOpen:ur,id:Ft,showSearch:Er,multiple:On,toggleOpen:Jn})},[Be,fn,ur,vr,Ft,Er,On,Jn]),ys=!!mr||ht,Ya;ys&&(Ya=M.createElement(B,{className:y()("".concat(Ht,"-arrow"),(0,re.Z)({},"".concat(Ht,"-arrow-loading"),ht)),customizeIcon:mr,customizeIconProps:{loading:ht,searchValue:Hi,open:vr,focused:Bi,showSearch:Er}}));var ls=function(){var qr;Qn==null||Qn(),(qr=bi.current)===null||qr===void 0||qr.focus(),Xt([],{type:"clear",values:Zt}),ai("",!1,!1)},xa=Z(Ht,ls,Zt,In,gr,cn,Hi,kn),Ea=xa.allowClear,Ra=xa.clearIcon,us=M.createElement(Dr,{ref:ii}),Qa=y()(Ht,sn,(mt={},(0,re.Z)(mt,"".concat(Ht,"-focused"),Bi),(0,re.Z)(mt,"".concat(Ht,"-multiple"),On),(0,re.Z)(mt,"".concat(Ht,"-single"),!On),(0,re.Z)(mt,"".concat(Ht,"-allow-clear"),In),(0,re.Z)(mt,"".concat(Ht,"-show-arrow"),ys),(0,re.Z)(mt,"".concat(Ht,"-disabled"),cn),(0,re.Z)(mt,"".concat(Ht,"-loading"),ht),(0,re.Z)(mt,"".concat(Ht,"-open"),vr),(0,re.Z)(mt,"".concat(Ht,"-customize-input"),Qi),(0,re.Z)(mt,"".concat(Ht,"-show-search"),Er),mt)),qa=M.createElement(de,{ref:Oi,disabled:cn,prefixCls:Ht,visible:ur,popupElement:us,animation:ar,transitionName:sr,dropdownStyle:wr,dropdownClassName:ir,direction:mn,dropdownMatchSelectWidth:Pr,dropdownRender:ei,dropdownAlign:er,placement:Hn,builtinPlacements:gt,getPopupContainer:Bn,empty:on,getTriggerDOMNode:function(){return di.current},onPopupVisibleChange:va,onPopupMouseEnter:ja},$r?M.cloneElement($r,{ref:ca}):M.createElement(Pt,(0,g.Z)({},Be,{domRef:di,prefixCls:Ht,inputElement:Qi,ref:bi,id:Ft,showSearch:Er,autoClearSearchValue:qn,mode:kn,activeDescendantId:Tn,tagRender:ln,values:Zt,open:vr,onToggleOpen:Jn,activeValue:Gt,searchValue:Hi,onSearch:ai,onSearchSubmit:ji,onRemove:fa,tokenWithEnter:Hr}))),za;return $r?za=qa:za=M.createElement("div",(0,g.Z)({className:Qa},Or,{ref:Qr,onMouseDown:Wi,onKeyDown:Ca,onKeyUp:Na,onFocus:or,onBlur:Lr}),Bi&&!vr&&M.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Zt.map(function(li){var qr=li.label,aa=li.value;return["number","string"].includes((0,w.Z)(qr))?qr:aa}).join(", "))),qa,Ya,Ea&&Ra),M.createElement(ie.Provider,{value:os},za)}),Te=V,He=function(Be,Re){var pt=M.useRef({values:new Map,options:new Map}),mt=M.useMemo(function(){var Ht=pt.current,sn=Ht.values,Yt=Ht.options,ln=Be.map(function(Zt){if(Zt.label===void 0){var Xt;return(0,ge.Z)((0,ge.Z)({},Zt),{},{label:(Xt=sn.get(Zt.value))===null||Xt===void 0?void 0:Xt.label})}return Zt}),mn=new Map,An=new Map;return ln.forEach(function(Zt){mn.set(Zt.value,Zt),An.set(Zt.value,Re.get(Zt.value)||Yt.get(Zt.value))}),pt.current.values=mn,pt.current.options=An,ln},[Be,Re]),Ft=M.useCallback(function(Ht){return Re.get(Ht)||pt.current.options.get(Ht)},[Re]);return[mt,Ft]};function Ie(Be,Re){return oe(Be).join("").toUpperCase().includes(Re)}var Fe=function(Be,Re,pt,mt,Ft){return M.useMemo(function(){if(!pt||mt===!1)return Be;var Ht=Re.options,sn=Re.label,Yt=Re.value,ln=[],mn=typeof mt=="function",An=pt.toUpperCase(),Zt=mn?mt:function(on,gn){return Ft?Ie(gn[Ft],An):gn[Ht]?Ie(gn[sn!=="children"?sn:"label"],An):Ie(gn[Yt],An)},Xt=mn?function(on){return P(on)}:function(on){return on};return Be.forEach(function(on){if(on[Ht]){var gn=Zt(pt,Xt(on));if(gn)ln.push(on);else{var fn=on[Ht].filter(function(Qn){return Zt(pt,Xt(Qn))});fn.length&&ln.push((0,ge.Z)((0,ge.Z)({},on),{},(0,re.Z)({},Ht,fn)))}return}Zt(pt,Xt(on))&&ln.push(on)}),ln},[Be,mt,Ft,pt,Re])},Qe=f(17115),Ze=f(11592),Ve=["children","value"],xt=["children"];function Ct(Be){var Re=Be,pt=Re.key,mt=Re.props,Ft=mt.children,Ht=mt.value,sn=(0,m.Z)(mt,Ve);return(0,ge.Z)({key:pt,value:Ht!==void 0?Ht:pt,children:Ft},sn)}function ft(Be){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Ze.Z)(Be).map(function(pt,mt){if(!M.isValidElement(pt)||!pt.type)return null;var Ft=pt,Ht=Ft.type.isSelectOptGroup,sn=Ft.key,Yt=Ft.props,ln=Yt.children,mn=(0,m.Z)(Yt,xt);return Re||!Ht?Ct(pt):(0,ge.Z)((0,ge.Z)({key:"__RC_SELECT_GRP__".concat(sn===null?mt:sn,"__"),label:sn},mn),{},{options:ft(ln)})}).filter(function(pt){return pt})}function Ot(Be,Re,pt,mt,Ft){return M.useMemo(function(){var Ht=Be,sn=!Be;sn&&(Ht=ft(Re));var Yt=new Map,ln=new Map,mn=function(Xt,on,gn){gn&&typeof gn=="string"&&Xt.set(on[gn],on)};function An(Zt){for(var Xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,on=0;on<Zt.length;on+=1){var gn=Zt[on];!gn[pt.options]||Xt?(Yt.set(gn[pt.value],gn),mn(ln,gn,pt.label),mn(ln,gn,mt),mn(ln,gn,Ft)):An(gn[pt.options],!0)}}return An(Ht),{options:Ht,valueOptions:Yt,labelOptions:ln}},[Be,Re,pt,mt,Ft])}function Kt(Be){var Re=M.useRef();Re.current=Be;var pt=M.useCallback(function(){return Re.current.apply(Re,arguments)},[]);return pt}var R=function(){return null};R.isSelectOptGroup=!0;var k=R,bt=function(){return null};bt.isSelectOption=!0;var Se=bt,Ke=f(80547),vn=f(2738),qe=f(45680),et=M.createContext(null),Xe=et;function _e(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Me=["disabled","title","children","style","className"];function Oe(Be){return typeof Be=="string"||typeof Be=="number"}var rt=function(Re,pt){var mt=X(),Ft=mt.prefixCls,Ht=mt.id,sn=mt.open,Yt=mt.multiple,ln=mt.mode,mn=mt.searchValue,An=mt.toggleOpen,Zt=mt.notFoundContent,Xt=mt.onPopupScroll,on=M.useContext(Xe),gn=on.flattenOptions,fn=on.onActiveValue,Qn=on.defaultActiveFirstOption,kn=on.onSelect,cn=on.menuItemSelectedIcon,ht=on.rawValues,yt=on.fieldNames,Dt=on.virtual,jt=on.direction,Ut=on.listHeight,dn=on.listItemHeight,Gt="".concat(Ft,"-item"),yn=(0,Ke.Z)(function(){return gn},[sn,gn],function(er,Hn){return Hn[0]&&er[1]!==Hn[1]}),Tn=M.useRef(null),Ln=function(Hn){Hn.preventDefault()},qn=function(Hn){Tn.current&&Tn.current.scrollTo(typeof Hn=="number"?{index:Hn}:Hn)},Vn=function(Hn){for(var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Bn=yn.length,lr=0;lr<Bn;lr+=1){var nr=(Hn+lr*gt+Bn)%Bn,Fr=yn[nr],zr=Fr.group,Zr=Fr.data;if(!zr&&!Zr.disabled)return nr}return-1},fr=M.useState(function(){return Vn(0)}),Rn=(0,F.Z)(fr,2),In=Rn[0],mr=Rn[1],gr=function(Hn){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;mr(Hn);var Bn={source:gt?"keyboard":"mouse"},lr=yn[Hn];if(!lr){fn(null,-1,Bn);return}fn(lr.value,Hn,Bn)};(0,M.useEffect)(function(){gr(Qn!==!1?Vn(0):-1)},[yn.length,mn]);var Dr=M.useCallback(function(er){return ht.has(er)&&ln!=="combobox"},[ln,(0,O.Z)(ht).toString(),ht.size]);(0,M.useEffect)(function(){var er=setTimeout(function(){if(!Yt&&sn&&ht.size===1){var gt=Array.from(ht)[0],Bn=yn.findIndex(function(lr){var nr=lr.data;return nr.value===gt});Bn!==-1&&(gr(Bn),qn(Bn))}});if(sn){var Hn;(Hn=Tn.current)===null||Hn===void 0||Hn.scrollTo(void 0)}return function(){return clearTimeout(er)}},[sn,mn,gn.length]);var ar=function(Hn){Hn!==void 0&&kn(Hn,{selected:!ht.has(Hn)}),Yt||An(!1)};if(M.useImperativeHandle(pt,function(){return{onKeyDown:function(Hn){var gt=Hn.which,Bn=Hn.ctrlKey;switch(gt){case C.Z.N:case C.Z.P:case C.Z.UP:case C.Z.DOWN:{var lr=0;if(gt===C.Z.UP?lr=-1:gt===C.Z.DOWN?lr=1:_e()&&Bn&&(gt===C.Z.N?lr=1:gt===C.Z.P&&(lr=-1)),lr!==0){var nr=Vn(In+lr,lr);qn(nr),gr(nr,!0)}break}case C.Z.ENTER:{var Fr=yn[In];Fr&&!Fr.data.disabled?ar(Fr.value):ar(void 0),sn&&Hn.preventDefault();break}case C.Z.ESC:An(!1),sn&&Hn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Hn){qn(Hn)}}}),yn.length===0)return M.createElement("div",{role:"listbox",id:"".concat(Ht,"_list"),className:"".concat(Gt,"-empty"),onMouseDown:Ln},Zt);var sr=Object.keys(yt).map(function(er){return yt[er]}),wr=function(Hn){return Hn.label};function ir(er,Hn){var gt=er.group;return{role:gt?"presentation":"option",id:"".concat(Ht,"_list_").concat(Hn)}}var Pr=function(Hn){var gt=yn[Hn];if(!gt)return null;var Bn=gt.data||{},lr=Bn.value,nr=gt.group,Fr=(0,j.Z)(Bn,!0),zr=wr(gt);return gt?M.createElement("div",(0,g.Z)({"aria-label":typeof zr=="string"&&!nr?zr:null},Fr,{key:Hn},ir(gt,Hn),{"aria-selected":Dr(lr)}),lr):null},ei={role:"listbox",id:"".concat(Ht,"_list")};return M.createElement(M.Fragment,null,Dt&&M.createElement("div",(0,g.Z)({},ei,{style:{height:0,width:0,overflow:"hidden"}}),Pr(In-1),Pr(In),Pr(In+1)),M.createElement(qe.Z,{itemKey:"key",ref:Tn,data:yn,height:Ut,itemHeight:dn,fullHeight:!1,onMouseDown:Ln,onScroll:Xt,virtual:Dt,direction:jt,innerProps:Dt?null:ei},function(er,Hn){var gt,Bn=er.group,lr=er.groupOption,nr=er.data,Fr=er.label,zr=er.value,Zr=nr.key;if(Bn){var hr,Yr=(hr=nr.title)!==null&&hr!==void 0?hr:Oe(Fr)?Fr.toString():void 0;return M.createElement("div",{className:y()(Gt,"".concat(Gt,"-group")),title:Yr},Fr!==void 0?Fr:Zr)}var jn=nr.disabled,On=nr.title,Er=nr.children,Or=nr.style,ti=nr.className,Ii=(0,m.Z)(nr,Me),Gn=(0,vn.Z)(Ii,sr),ri=Dr(zr),Qr="".concat(Gt,"-option"),di=y()(Gt,Qr,ti,(gt={},(0,re.Z)(gt,"".concat(Qr,"-grouped"),lr),(0,re.Z)(gt,"".concat(Qr,"-active"),In===Hn&&!jn),(0,re.Z)(gt,"".concat(Qr,"-disabled"),jn),(0,re.Z)(gt,"".concat(Qr,"-selected"),ri),gt)),Oi=wr(er),bi=!cn||typeof cn=="function"||ri,ii=typeof Oi=="number"?Oi:Oi||zr,Ci=Oe(ii)?ii.toString():void 0;return On!==void 0&&(Ci=On),M.createElement("div",(0,g.Z)({},(0,j.Z)(Gn),Dt?{}:ir(er,Hn),{"aria-selected":ri,className:di,title:Ci,onMouseMove:function(){In===Hn||jn||gr(Hn)},onClick:function(){jn||ar(zr)},style:Or}),M.createElement("div",{className:"".concat(Qr,"-content")},ii),M.isValidElement(cn)||ri,bi&&M.createElement(B,{className:"".concat(Gt,"-option-state"),customizeIcon:cn,customizeIconProps:{isSelected:ri}},ri?"\u2713":null))}))},Ae=M.forwardRef(rt);Ae.displayName="OptionList";var rn=Ae;function Ge(Be){var Re=Be.mode,pt=Be.options,mt=Be.children,Ft=Be.backfill,Ht=Be.allowClear,sn=Be.placeholder,Yt=Be.getInputElement,ln=Be.showSearch,mn=Be.onSearch,An=Be.defaultOpen,Zt=Be.autoFocus,Xt=Be.labelInValue,on=Be.value,gn=Be.inputValue,fn=Be.optionLabelProp,Qn=isMultiple(Re),kn=ln!==void 0?ln:Qn||Re==="combobox",cn=pt||convertChildrenToData(mt);if(warning(Re!=="tags"||cn.every(function(jt){return!jt.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Re==="tags"||Re==="combobox"){var ht=cn.some(function(jt){return jt.options?jt.options.some(function(Ut){return typeof("value"in Ut?Ut.value:Ut.key)=="number"}):typeof("value"in jt?jt.value:jt.key)=="number"});warning(!ht,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Re!=="combobox"||!fn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Re==="combobox"||!Ft,"`backfill` only works with `combobox` mode."),warning(Re==="combobox"||!Yt,"`getInputElement` only work with `combobox` mode."),noteOnce(Re!=="combobox"||!Yt||!Ht||!sn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),mn&&!kn&&Re!=="combobox"&&Re!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!An||Zt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),on!=null){var yt=toArray(on);warning(!Xt||yt.every(function(jt){return _typeof(jt)==="object"&&("key"in jt||"value"in jt)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Qn||Array.isArray(on),"`value` should be array when `mode` is `multiple` or `tags`")}if(mt){var Dt=null;toNodeArray(mt).some(function(jt){if(!React.isValidElement(jt)||!jt.type)return!1;var Ut=jt,dn=Ut.type;if(dn.isSelectOption)return!1;if(dn.isSelectOptGroup){var Gt=toNodeArray(jt.props.children).every(function(yn){return!React.isValidElement(yn)||!jt.type||yn.type.isSelectOption?!0:(Dt=yn.type,!1)});return!Gt}return Dt=dn,!0}),Dt&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Dt.displayName||Dt.name||Dt,"`.")),warning(gn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function En(Be,Re){if(Be){var pt=function mt(Ft){for(var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sn=0;sn<Ft.length;sn++){var Yt=Ft[sn];if(Yt[Re==null?void 0:Re.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ht&&Array.isArray(Yt[Re==null?void 0:Re.options])&&mt(Yt[Re==null?void 0:Re.options],!0))break}};pt(Be)}}var Dn=null,tn=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Wt=["inputValue"];function It(Be){return!Be||(0,w.Z)(Be)!=="object"}var Bt=M.forwardRef(function(Be,Re){var pt=Be.id,mt=Be.mode,Ft=Be.prefixCls,Ht=Ft===void 0?"rc-select":Ft,sn=Be.backfill,Yt=Be.fieldNames,ln=Be.inputValue,mn=Be.searchValue,An=Be.onSearch,Zt=Be.autoClearSearchValue,Xt=Zt===void 0?!0:Zt,on=Be.onSelect,gn=Be.onDeselect,fn=Be.dropdownMatchSelectWidth,Qn=fn===void 0?!0:fn,kn=Be.filterOption,cn=Be.filterSort,ht=Be.optionFilterProp,yt=Be.optionLabelProp,Dt=Be.options,jt=Be.children,Ut=Be.defaultActiveFirstOption,dn=Be.menuItemSelectedIcon,Gt=Be.virtual,yn=Be.direction,Tn=Be.listHeight,Ln=Tn===void 0?200:Tn,qn=Be.listItemHeight,Vn=qn===void 0?20:qn,fr=Be.value,Rn=Be.defaultValue,In=Be.labelInValue,mr=Be.onChange,gr=(0,m.Z)(Be,tn),Dr=(0,Qe.ZP)(pt),ar=$(mt),sr=!!(!Dt&&jt),wr=M.useMemo(function(){return kn===void 0&&mt==="combobox"?!1:kn},[kn,mt]),ir=M.useMemo(function(){return U(Yt,sr)},[JSON.stringify(Yt),sr]),Pr=(0,he.Z)("",{value:mn!==void 0?mn:ln,postState:function(xr){return xr||""}}),ei=(0,F.Z)(Pr,2),er=ei[0],Hn=ei[1],gt=Ot(Dt,jt,ir,ht,yt),Bn=gt.valueOptions,lr=gt.labelOptions,nr=gt.options,Fr=M.useCallback(function(vr){var xr=oe(vr);return xr.map(function(ur){var Jn,Hr,ai,ji,Pi;if(It(ur))Jn=ur;else{var Ti;ai=ur.key,Hr=ur.label,Jn=(Ti=ur.value)!==null&&Ti!==void 0?Ti:ai}var Br=Bn.get(Jn);if(Br){var Ni;if(Hr===void 0&&(Hr=Br==null?void 0:Br[yt||ir.label]),ai===void 0&&(ai=(Ni=Br==null?void 0:Br.key)!==null&&Ni!==void 0?Ni:Jn),ji=Br==null?void 0:Br.disabled,Pi=Br==null?void 0:Br.title,0)var Ca}return{label:Hr,value:Jn,key:ai,disabled:ji,title:Pi}})},[ir,yt,Bn]),zr=(0,he.Z)(Rn,{value:fr}),Zr=(0,F.Z)(zr,2),hr=Zr[0],Yr=Zr[1],jn=M.useMemo(function(){var vr,xr=Fr(hr);return mt==="combobox"&&me((vr=xr[0])===null||vr===void 0?void 0:vr.value)?[]:xr},[hr,Fr,mt]),On=He(jn,Bn),Er=(0,F.Z)(On,2),Or=Er[0],ti=Er[1],Ii=M.useMemo(function(){if(!mt&&Or.length===1){var vr=Or[0];if(vr.value===null&&(vr.label===null||vr.label===void 0))return[]}return Or.map(function(xr){var ur;return(0,ge.Z)((0,ge.Z)({},xr),{},{label:(ur=xr.label)!==null&&ur!==void 0?ur:xr.value})})},[mt,Or]),Gn=M.useMemo(function(){return new Set(Or.map(function(vr){return vr.value}))},[Or]);M.useEffect(function(){if(mt==="combobox"){var vr,xr=(vr=Or[0])===null||vr===void 0?void 0:vr.value;Hn(J(xr)?String(xr):"")}},[Or]);var ri=Kt(function(vr,xr){var ur,Jn=xr!=null?xr:vr;return ur={},(0,re.Z)(ur,ir.value,vr),(0,re.Z)(ur,ir.label,Jn),ur}),Qr=M.useMemo(function(){if(mt!=="tags")return nr;var vr=(0,O.Z)(nr),xr=function(Jn){return Bn.has(Jn)};return(0,O.Z)(Or).sort(function(ur,Jn){return ur.value<Jn.value?-1:1}).forEach(function(ur){var Jn=ur.value;xr(Jn)||vr.push(ri(Jn,ur.label))}),vr},[ri,nr,Bn,Or,mt]),di=Fe(Qr,ir,er,wr,ht),Oi=M.useMemo(function(){return mt!=="tags"||!er||di.some(function(vr){return vr[ht||"value"]===er})||di.some(function(vr){return vr[ir.value]===er})?di:[ri(er)].concat((0,O.Z)(di))},[ri,ht,mt,di,er,ir]),bi=M.useMemo(function(){return cn?(0,O.Z)(Oi).sort(function(vr,xr){return cn(vr,xr)}):Oi},[Oi,cn]),ii=M.useMemo(function(){return we(bi,{fieldNames:ir,childrenAsData:sr})},[bi,ir,sr]),Ci=function(xr){var ur=Fr(xr);if(Yr(ur),mr&&(ur.length!==Or.length||ur.some(function(ai,ji){var Pi;return((Pi=Or[ji])===null||Pi===void 0?void 0:Pi.value)!==(ai==null?void 0:ai.value)}))){var Jn=In?ur:ur.map(function(ai){return ai.value}),Hr=ur.map(function(ai){return P(ti(ai.value))});mr(ar?Jn:Jn[0],ar?Hr:Hr[0])}},oi=M.useState(null),Bi=(0,F.Z)(oi,2),Cr=Bi[0],Yi=Bi[1],Hi=M.useState(0),Qi=(0,F.Z)(Hi,2),$r=Qi[0],ca=Qi[1],ma=Ut!==void 0?Ut:mt!=="combobox",ua=M.useCallback(function(vr,xr){var ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Jn=ur.source,Hr=Jn===void 0?"keyboard":Jn;ca(xr),sn&&mt==="combobox"&&vr!==null&&Hr==="keyboard"&&Yi(String(vr))},[sn,mt]),Mr=function(xr,ur,Jn){var Hr=function(){var sa,or=ti(xr);return[In?{label:or==null?void 0:or[ir.label],value:xr,key:(sa=or==null?void 0:or.key)!==null&&sa!==void 0?sa:xr}:xr,P(or)]};if(ur&&on){var ai=Hr(),ji=(0,F.Z)(ai,2),Pi=ji[0],Ti=ji[1];on(Pi,Ti)}else if(!ur&&gn&&Jn!=="clear"){var Br=Hr(),Ni=(0,F.Z)(Br,2),Ca=Ni[0],Na=Ni[1];gn(Ca,Na)}},da=Kt(function(vr,xr){var ur,Jn=ar?xr.selected:!0;Jn?ur=ar?[].concat((0,O.Z)(Or),[vr]):[vr]:ur=Or.filter(function(Hr){return Hr.value!==vr}),Ci(ur),Mr(vr,Jn),mt==="combobox"?Yi(""):(!$||Xt)&&(Hn(""),Yi(""))}),wa=function(xr,ur){Ci(xr);var Jn=ur.type,Hr=ur.values;(Jn==="remove"||Jn==="clear")&&Hr.forEach(function(ai){Mr(ai.value,!1,Jn)})},Mn=function(xr,ur){if(Hn(xr),Yi(null),ur.source==="submit"){var Jn=(xr||"").trim();if(Jn){var Hr=Array.from(new Set([].concat((0,O.Z)(Gn),[Jn])));Ci(Hr),Mr(Jn,!0),Hn("")}return}ur.source!=="blur"&&(mt==="combobox"&&Ci(xr),An==null||An(xr))},Ui=function(xr){var ur=xr;mt!=="tags"&&(ur=xr.map(function(Hr){var ai=lr.get(Hr);return ai==null?void 0:ai.value}).filter(function(Hr){return Hr!==void 0}));var Jn=Array.from(new Set([].concat((0,O.Z)(Gn),(0,O.Z)(ur))));Ci(Jn),Jn.forEach(function(Hr){Mr(Hr,!0)})},ia=M.useMemo(function(){var vr=Gt!==!1&&Qn!==!1;return(0,ge.Z)((0,ge.Z)({},gt),{},{flattenOptions:ii,onActiveValue:ua,defaultActiveFirstOption:ma,onSelect:da,menuItemSelectedIcon:dn,rawValues:Gn,fieldNames:ir,virtual:vr,direction:yn,listHeight:Ln,listItemHeight:Vn,childrenAsData:sr})},[gt,ii,ua,ma,da,dn,Gn,ir,Gt,Qn,Ln,Vn,sr]);return M.createElement(Xe.Provider,{value:ia},M.createElement(Te,(0,g.Z)({},gr,{id:Dr,prefixCls:Ht,ref:Re,omitDomProps:Wt,mode:mt,displayValues:Ii,onDisplayValuesChange:wa,direction:yn,searchValue:er,onSearch:Mn,autoClearSearchValue:Xt,onSearchSplit:Ui,dropdownMatchSelectWidth:Qn,OptionList:rn,emptyOptions:!ii.length,activeValue:Cr,activeDescendantId:"".concat(Dr,"_list_").concat($r)})))}),We=Bt;We.Option=Se,We.OptGroup=k;var _t=We,Et=_t},9296:function(an,it,f){"use strict";f.r(it),f.d(it,{ResizableTextArea:function(){return ye},default:function(){return me}});var g=f(72308),O=f(77321),re=f(49618),ge=f(62853),F=f(52487),m=f(74416),w=f(80702),he=f(92310),o=f.n(he),M=f(93681),W=f(5643),y=f(18929),b=f(59301),A=f(29301),C=f(34280),K=f(16089),pe=`
min-height:0 !important;
max-height:none !important;
height:0 !important;
visibility:hidden !important;
overflow:hidden !important;
position:absolute !important;
z-index:-1000 !important;
top:0 !important;
right:0 !important;
pointer-events: none !important;
`,B=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Z={},ie;function X(ae){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=ae.getAttribute("id")||ae.getAttribute("data-reactid")||ae.getAttribute("name");if(v&&Z[_])return Z[_];var Y=window.getComputedStyle(ae),q=Y.getPropertyValue("box-sizing")||Y.getPropertyValue("-moz-box-sizing")||Y.getPropertyValue("-webkit-box-sizing"),Pe=parseFloat(Y.getPropertyValue("padding-bottom"))+parseFloat(Y.getPropertyValue("padding-top")),Le=parseFloat(Y.getPropertyValue("border-bottom-width"))+parseFloat(Y.getPropertyValue("border-top-width")),Ue=B.map(function(ut){return"".concat(ut,":").concat(Y.getPropertyValue(ut))}).join(";"),$e={sizingStyle:Ue,paddingSize:Pe,borderSize:Le,boxSizing:q};return v&&_&&(Z[_]=$e),$e}function L(ae){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ie||(ie=document.createElement("textarea"),ie.setAttribute("tab-index","-1"),ie.setAttribute("aria-hidden","true"),document.body.appendChild(ie)),ae.getAttribute("wrap")?ie.setAttribute("wrap",ae.getAttribute("wrap")):ie.removeAttribute("wrap");var q=X(ae,v),Pe=q.paddingSize,Le=q.borderSize,Ue=q.boxSizing,$e=q.sizingStyle;ie.setAttribute("style","".concat($e,";").concat(pe)),ie.value=ae.value||ae.placeholder||"";var ut=void 0,dt=void 0,at,Pt=ie.scrollHeight;if(Ue==="border-box"?Pt+=Le:Ue==="content-box"&&(Pt-=Pe),_!==null||Y!==null){ie.value=" ";var nn=ie.scrollHeight-Pe;_!==null&&(ut=nn*_,Ue==="border-box"&&(ut=ut+Pe+Le),Pt=Math.max(ut,Pt)),Y!==null&&(dt=nn*Y,Ue==="border-box"&&(dt=dt+Pe+Le),at=Pt>dt?"":"hidden",Pt=Math.min(dt,Pt))}var kt={height:Pt,overflowY:at,resize:"none"};return ut&&(kt.minHeight=ut),dt&&(kt.maxHeight=dt),kt}var D=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Q=0,j=1,ve=2,xe=b.forwardRef(function(ae,v){var _=ae,Y=_.prefixCls,q=_.onPressEnter,Pe=_.defaultValue,Le=_.value,Ue=_.autoSize,$e=_.onResize,ut=_.className,dt=_.style,at=_.disabled,Pt=_.onChange,nn=_.onInternalAutoSize,kt=(0,m.Z)(_,D),Nt=(0,y.Z)(Pe,{value:Le,postState:function(k){return k!=null?k:""}}),lt=(0,F.Z)(Nt,2),wt=lt[0],de=lt[1],fe=function(k){de(k.target.value),Pt==null||Pt(k)},G=b.useRef();b.useImperativeHandle(v,function(){return{textArea:G.current}});var U=b.useMemo(function(){return Ue&&(0,ge.Z)(Ue)==="object"?[Ue.minRows,Ue.maxRows]:[]},[Ue]),we=(0,F.Z)(U,2),P=we[0],T=we[1],I=!!Ue,ne=function(){try{if(document.activeElement===G.current){var k=G.current,bt=k.selectionStart,Se=k.selectionEnd,Ke=k.scrollTop;G.current.setSelectionRange(bt,Se),G.current.scrollTop=Ke}}catch(vn){}},$=b.useState(ve),V=(0,F.Z)($,2),Te=V[0],He=V[1],Ie=b.useState(),Fe=(0,F.Z)(Ie,2),Qe=Fe[0],Ze=Fe[1],Ve=function(){He(Q)};(0,C.Z)(function(){I&&Ve()},[Le,P,T,I]),(0,C.Z)(function(){if(Te===Q)He(j);else if(Te===j){var R=L(G.current,!1,P,T);He(ve),Ze(R)}else ne()},[Te]);var xt=b.useRef(),Ct=function(){K.Z.cancel(xt.current)},ft=function(k){Te===ve&&($e==null||$e(k),Ue&&(Ct(),xt.current=(0,K.Z)(function(){Ve()})))};b.useEffect(function(){return Ct},[]);var Ot=I?Qe:null,Kt=(0,O.Z)((0,O.Z)({},dt),Ot);return(Te===Q||Te===j)&&(Kt.overflowY="hidden",Kt.overflowX="hidden"),b.createElement(A.Z,{onResize:ft,disabled:!(Ue||$e)},b.createElement("textarea",(0,g.Z)({},kt,{ref:G,style:Kt,className:o()(Y,ut,(0,re.Z)({},"".concat(Y,"-disabled"),at)),disabled:at,value:wt,onChange:fe})))}),ye=xe,le=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function oe(ae,v){return(0,w.Z)(ae||"").slice(0,v).join("")}function H(ae,v,_,Y){var q=_;return ae?q=oe(_,Y):(0,w.Z)(v||"").length<_.length&&(0,w.Z)(_||"").length>Y&&(q=v),q}var be=b.forwardRef(function(ae,v){var _,Y=ae.defaultValue,q=ae.value,Pe=ae.onFocus,Le=ae.onBlur,Ue=ae.onChange,$e=ae.allowClear,ut=ae.maxLength,dt=ae.onCompositionStart,at=ae.onCompositionEnd,Pt=ae.suffix,nn=ae.prefixCls,kt=nn===void 0?"rc-textarea":nn,Nt=ae.classes,lt=ae.showCount,wt=ae.className,de=ae.style,fe=ae.disabled,G=ae.hidden,U=ae.classNames,we=ae.styles,P=ae.onResize,T=(0,m.Z)(ae,le),I=(0,y.Z)(Y,{value:q,defaultValue:Y}),ne=(0,F.Z)(I,2),$=ne[0],V=ne[1],Te=(0,b.useRef)(null),He=b.useState(!1),Ie=(0,F.Z)(He,2),Fe=Ie[0],Qe=Ie[1],Ze=b.useState(!1),Ve=(0,F.Z)(Ze,2),xt=Ve[0],Ct=Ve[1],ft=b.useRef(),Ot=b.useRef(0),Kt=b.useState(null),R=(0,F.Z)(Kt,2),k=R[0],bt=R[1],Se=function(){var It;(It=Te.current)===null||It===void 0||It.textArea.focus()};(0,b.useImperativeHandle)(v,function(){return{resizableTextArea:Te.current,focus:Se,blur:function(){var It;(It=Te.current)===null||It===void 0||It.textArea.blur()}}}),(0,b.useEffect)(function(){Qe(function(Wt){return!fe&&Wt})},[fe]);var Ke=Number(ut)>0,vn=function(It){Ct(!0),ft.current=$,Ot.current=It.currentTarget.selectionStart,dt==null||dt(It)},qe=function(It){Ct(!1);var Bt=It.currentTarget.value;if(Ke){var We,_t=Ot.current>=ut+1||Ot.current===((We=ft.current)===null||We===void 0?void 0:We.length);Bt=H(_t,ft.current,Bt,ut)}Bt!==$&&(V(Bt),(0,W.rJ)(It.currentTarget,It,Ue,Bt)),at==null||at(It)},et=function(It){var Bt=It.target.value;if(!xt&&Ke){var We=It.target.selectionStart>=ut+1||It.target.selectionStart===Bt.length||!It.target.selectionStart;Bt=H(We,$,Bt,ut)}V(Bt),(0,W.rJ)(It.currentTarget,It,Ue,Bt)},Xe=function(It){var Bt=T.onPressEnter,We=T.onKeyDown;It.key==="Enter"&&Bt&&Bt(It),We==null||We(It)},_e=function(It){Qe(!0),Pe==null||Pe(It)},Me=function(It){Qe(!1),Le==null||Le(It)},Oe=function(It){var Bt;V(""),Se(),(0,W.rJ)((Bt=Te.current)===null||Bt===void 0?void 0:Bt.textArea,It,Ue)},rt=(0,W.D7)($);!xt&&Ke&&q==null&&(rt=oe(rt,ut));var Ae=Pt,rn;if(lt){var Ge=(0,w.Z)(rt).length;(0,ge.Z)(lt)==="object"?rn=lt.formatter({value:rt,count:Ge,maxLength:ut}):rn="".concat(Ge).concat(Ke?" / ".concat(ut):""),Ae=b.createElement(b.Fragment,null,Ae,b.createElement("span",{className:o()("".concat(kt,"-data-count"),U==null?void 0:U.count),style:we==null?void 0:we.count},rn))}var En=function(It){var Bt;P==null||P(It),(Bt=Te.current)!==null&&Bt!==void 0&&Bt.textArea.style.height&&bt(!0)},Dn=!T.autoSize&&!lt&&!$e,tn=b.createElement(M.BaseInput,{value:rt,allowClear:$e,handleReset:Oe,suffix:Ae,prefixCls:kt,classes:{affixWrapper:o()(Nt==null?void 0:Nt.affixWrapper,(_={},(0,re.Z)(_,"".concat(kt,"-show-count"),lt),(0,re.Z)(_,"".concat(kt,"-textarea-allow-clear"),$e),_))},disabled:fe,focused:Fe,className:wt,style:(0,O.Z)((0,O.Z)({},de),k&&!Dn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof rn=="string"?rn:void 0}},hidden:G,inputElement:b.createElement(ye,(0,g.Z)({},T,{onKeyDown:Xe,onChange:et,onFocus:_e,onBlur:Me,onCompositionStart:vn,onCompositionEnd:qe,className:U==null?void 0:U.textarea,style:(0,O.Z)((0,O.Z)({},we==null?void 0:we.textarea),{},{resize:de==null?void 0:de.resize}),disabled:fe,prefixCls:kt,onResize:En,ref:Te}))});return tn}),J=be,me=J},55477:function(an,it,f){"use strict";f.d(it,{G:function(){return b},Z:function(){return pe}});var g=f(72308),O=f(77321),re=f(74416),ge=f(35593),F=f(59301),m={shiftX:64,adjustY:1},w={adjustX:1,shiftY:!0},he=[0,0],o={left:{points:["cr","cl"],overflow:w,offset:[-4,0],targetOffset:he},right:{points:["cl","cr"],overflow:w,offset:[4,0],targetOffset:he},top:{points:["bc","tc"],overflow:m,offset:[0,-4],targetOffset:he},bottom:{points:["tc","bc"],overflow:m,offset:[0,4],targetOffset:he},topLeft:{points:["bl","tl"],overflow:m,offset:[0,-4],targetOffset:he},leftTop:{points:["tr","tl"],overflow:w,offset:[-4,0],targetOffset:he},topRight:{points:["br","tr"],overflow:m,offset:[0,-4],targetOffset:he},rightTop:{points:["tl","tr"],overflow:w,offset:[4,0],targetOffset:he},bottomRight:{points:["tr","br"],overflow:m,offset:[0,4],targetOffset:he},rightBottom:{points:["bl","br"],overflow:w,offset:[4,0],targetOffset:he},bottomLeft:{points:["tl","bl"],overflow:m,offset:[0,4],targetOffset:he},leftBottom:{points:["br","bl"],overflow:w,offset:[-4,0],targetOffset:he}},M=null,W=f(92310),y=f.n(W);function b(B){var Z=B.children,ie=B.prefixCls,X=B.id,L=B.overlayInnerStyle,D=B.className,Q=B.style;return F.createElement("div",{className:y()("".concat(ie,"-content"),D),style:Q},F.createElement("div",{className:"".concat(ie,"-inner"),id:X,role:"tooltip",style:L},typeof Z=="function"?Z():Z))}var A=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],C=function(Z,ie){var X=Z.overlayClassName,L=Z.trigger,D=L===void 0?["hover"]:L,Q=Z.mouseEnterDelay,j=Q===void 0?0:Q,ve=Z.mouseLeaveDelay,xe=ve===void 0?.1:ve,ye=Z.overlayStyle,le=Z.prefixCls,oe=le===void 0?"rc-tooltip":le,H=Z.children,be=Z.onVisibleChange,J=Z.afterVisibleChange,me=Z.transitionName,ae=Z.animation,v=Z.motion,_=Z.placement,Y=_===void 0?"right":_,q=Z.align,Pe=q===void 0?{}:q,Le=Z.destroyTooltipOnHide,Ue=Le===void 0?!1:Le,$e=Z.defaultVisible,ut=Z.getTooltipContainer,dt=Z.overlayInnerStyle,at=Z.arrowContent,Pt=Z.overlay,nn=Z.id,kt=Z.showArrow,Nt=kt===void 0?!0:kt,lt=(0,re.Z)(Z,A),wt=(0,F.useRef)(null);(0,F.useImperativeHandle)(ie,function(){return wt.current});var de=(0,O.Z)({},lt);"visible"in Z&&(de.popupVisible=Z.visible);var fe=function(){return F.createElement(b,{key:"content",prefixCls:oe,id:nn,overlayInnerStyle:dt},Pt)};return F.createElement(ge.Z,(0,g.Z)({popupClassName:X,prefixCls:oe,popup:fe,action:D,builtinPlacements:o,popupPlacement:Y,ref:wt,popupAlign:Pe,getPopupContainer:ut,onPopupVisibleChange:be,afterPopupVisibleChange:J,popupTransitionName:me,popupAnimation:ae,popupMotion:v,defaultPopupVisible:$e,autoDestroy:Ue,mouseLeaveDelay:xe,popupStyle:ye,mouseEnterDelay:j,arrow:Nt},de),H)},K=(0,F.forwardRef)(C),pe=K},39417:function(an,it,f){"use strict";f.d(it,{Z:function(){return j}});var g=f(72308),O=f(49618),re=f(74416),ge=f(77321),F=f(96949),m=f(55090),w=f(80237),he=f(77205),o=f(38793),M=f(92310),W=f.n(M),y=f(26112),b=f(59301),A=f(39378),C=function(xe){for(var ye=xe.prefixCls,le=xe.level,oe=xe.isStart,H=xe.isEnd,be="".concat(ye,"-indent-unit"),J=[],me=0;me<le;me+=1){var ae;J.push(b.createElement("span",{key:me,className:W()(be,(ae={},(0,O.Z)(ae,"".concat(be,"-start"),oe[me]),(0,O.Z)(ae,"".concat(be,"-end"),H[me]),ae))}))}return b.createElement("span",{"aria-hidden":"true",className:"".concat(ye,"-indent")},J)},K=b.memo(C),pe=f(67841),B=f(71430),Z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ie="open",X="close",L="---",D=function(ve){(0,he.Z)(ye,ve);var xe=(0,o.Z)(ye);function ye(){var le;(0,F.Z)(this,ye);for(var oe=arguments.length,H=new Array(oe),be=0;be<oe;be++)H[be]=arguments[be];return le=xe.call.apply(xe,[this].concat(H)),le.state={dragNodeHighlight:!1},le.selectHandle=void 0,le.cacheIndent=void 0,le.onSelectorClick=function(J){var me=le.props.context.onNodeClick;me(J,(0,B.F)(le.props)),le.isSelectable()?le.onSelect(J):le.onCheck(J)},le.onSelectorDoubleClick=function(J){var me=le.props.context.onNodeDoubleClick;me(J,(0,B.F)(le.props))},le.onSelect=function(J){if(!le.isDisabled()){var me=le.props.context.onNodeSelect;me(J,(0,B.F)(le.props))}},le.onCheck=function(J){if(!le.isDisabled()){var me=le.props,ae=me.disableCheckbox,v=me.checked,_=le.props.context.onNodeCheck;if(!(!le.isCheckable()||ae)){var Y=!v;_(J,(0,B.F)(le.props),Y)}}},le.onMouseEnter=function(J){var me=le.props.context.onNodeMouseEnter;me(J,(0,B.F)(le.props))},le.onMouseLeave=function(J){var me=le.props.context.onNodeMouseLeave;me(J,(0,B.F)(le.props))},le.onContextMenu=function(J){var me=le.props.context.onNodeContextMenu;me(J,(0,B.F)(le.props))},le.onDragStart=function(J){var me=le.props.context.onNodeDragStart;J.stopPropagation(),le.setState({dragNodeHighlight:!0}),me(J,(0,w.Z)(le));try{J.dataTransfer.setData("text/plain","")}catch(ae){}},le.onDragEnter=function(J){var me=le.props.context.onNodeDragEnter;J.preventDefault(),J.stopPropagation(),me(J,(0,w.Z)(le))},le.onDragOver=function(J){var me=le.props.context.onNodeDragOver;J.preventDefault(),J.stopPropagation(),me(J,(0,w.Z)(le))},le.onDragLeave=function(J){var me=le.props.context.onNodeDragLeave;J.stopPropagation(),me(J,(0,w.Z)(le))},le.onDragEnd=function(J){var me=le.props.context.onNodeDragEnd;J.stopPropagation(),le.setState({dragNodeHighlight:!1}),me(J,(0,w.Z)(le))},le.onDrop=function(J){var me=le.props.context.onNodeDrop;J.preventDefault(),J.stopPropagation(),le.setState({dragNodeHighlight:!1}),me(J,(0,w.Z)(le))},le.onExpand=function(J){var me=le.props,ae=me.loading,v=me.context.onNodeExpand;ae||v(J,(0,B.F)(le.props))},le.setSelectHandle=function(J){le.selectHandle=J},le.getNodeState=function(){var J=le.props.expanded;return le.isLeaf()?null:J?ie:X},le.hasChildren=function(){var J=le.props.eventKey,me=le.props.context.keyEntities,ae=(0,pe.Z)(me,J)||{},v=ae.children;return!!(v||[]).length},le.isLeaf=function(){var J=le.props,me=J.isLeaf,ae=J.loaded,v=le.props.context.loadData,_=le.hasChildren();return me===!1?!1:me||!v&&!_||v&&ae&&!_},le.isDisabled=function(){var J=le.props.disabled,me=le.props.context.disabled;return!!(me||J)},le.isCheckable=function(){var J=le.props.checkable,me=le.props.context.checkable;return!me||J===!1?!1:me},le.syncLoadData=function(J){var me=J.expanded,ae=J.loading,v=J.loaded,_=le.props.context,Y=_.loadData,q=_.onNodeLoad;ae||Y&&me&&!le.isLeaf()&&!le.hasChildren()&&!v&&q((0,B.F)(le.props))},le.isDraggable=function(){var J=le.props,me=J.data,ae=J.context.draggable;return!!(ae&&(!ae.nodeDraggable||ae.nodeDraggable(me)))},le.renderDragHandler=function(){var J=le.props.context,me=J.draggable,ae=J.prefixCls;return me!=null&&me.icon?b.createElement("span",{className:"".concat(ae,"-draggable-icon")},me.icon):null},le.renderSwitcherIconDom=function(J){var me=le.props.switcherIcon,ae=le.props.context.switcherIcon,v=me||ae;return typeof v=="function"?v((0,ge.Z)((0,ge.Z)({},le.props),{},{isLeaf:J})):v},le.renderSwitcher=function(){var J=le.props.expanded,me=le.props.context.prefixCls;if(le.isLeaf()){var ae=le.renderSwitcherIconDom(!0);return ae!==!1?b.createElement("span",{className:W()("".concat(me,"-switcher"),"".concat(me,"-switcher-noop"))},ae):null}var v=W()("".concat(me,"-switcher"),"".concat(me,"-switcher_").concat(J?ie:X)),_=le.renderSwitcherIconDom(!1);return _!==!1?b.createElement("span",{onClick:le.onExpand,className:v},_):null},le.renderCheckbox=function(){var J=le.props,me=J.checked,ae=J.halfChecked,v=J.disableCheckbox,_=le.props.context.prefixCls,Y=le.isDisabled(),q=le.isCheckable();if(!q)return null;var Pe=typeof q!="boolean"?q:null;return b.createElement("span",{className:W()("".concat(_,"-checkbox"),me&&"".concat(_,"-checkbox-checked"),!me&&ae&&"".concat(_,"-checkbox-indeterminate"),(Y||v)&&"".concat(_,"-checkbox-disabled")),onClick:le.onCheck},Pe)},le.renderIcon=function(){var J=le.props.loading,me=le.props.context.prefixCls;return b.createElement("span",{className:W()("".concat(me,"-iconEle"),"".concat(me,"-icon__").concat(le.getNodeState()||"docu"),J&&"".concat(me,"-icon_loading"))})},le.renderSelector=function(){var J=le.state.dragNodeHighlight,me=le.props,ae=me.title,v=ae===void 0?L:ae,_=me.selected,Y=me.icon,q=me.loading,Pe=me.data,Le=le.props.context,Ue=Le.prefixCls,$e=Le.showIcon,ut=Le.icon,dt=Le.loadData,at=Le.titleRender,Pt=le.isDisabled(),nn="".concat(Ue,"-node-content-wrapper"),kt;if($e){var Nt=Y||ut;kt=Nt?b.createElement("span",{className:W()("".concat(Ue,"-iconEle"),"".concat(Ue,"-icon__customize"))},typeof Nt=="function"?Nt(le.props):Nt):le.renderIcon()}else dt&&q&&(kt=le.renderIcon());var lt;typeof v=="function"?lt=v(Pe):at?lt=at(Pe):lt=v;var wt=b.createElement("span",{className:"".concat(Ue,"-title")},lt);return b.createElement("span",{ref:le.setSelectHandle,title:typeof v=="string"?v:"",className:W()("".concat(nn),"".concat(nn,"-").concat(le.getNodeState()||"normal"),!Pt&&(_||J)&&"".concat(Ue,"-node-selected")),onMouseEnter:le.onMouseEnter,onMouseLeave:le.onMouseLeave,onContextMenu:le.onContextMenu,onClick:le.onSelectorClick,onDoubleClick:le.onSelectorDoubleClick},kt,wt,le.renderDropIndicator())},le.renderDropIndicator=function(){var J=le.props,me=J.disabled,ae=J.eventKey,v=le.props.context,_=v.draggable,Y=v.dropLevelOffset,q=v.dropPosition,Pe=v.prefixCls,Le=v.indent,Ue=v.dropIndicatorRender,$e=v.dragOverNodeKey,ut=v.direction,dt=!!_,at=!me&&dt&&$e===ae,Pt=Le!=null?Le:le.cacheIndent;return le.cacheIndent=Le,at?Ue({dropPosition:q,dropLevelOffset:Y,indent:Pt,prefixCls:Pe,direction:ut}):null},le}return(0,m.Z)(ye,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var oe=this.props.selectable,H=this.props.context.selectable;return typeof oe=="boolean"?oe:H}},{key:"render",value:function(){var oe,H=this.props,be=H.eventKey,J=H.className,me=H.style,ae=H.dragOver,v=H.dragOverGapTop,_=H.dragOverGapBottom,Y=H.isLeaf,q=H.isStart,Pe=H.isEnd,Le=H.expanded,Ue=H.selected,$e=H.checked,ut=H.halfChecked,dt=H.loading,at=H.domRef,Pt=H.active,nn=H.data,kt=H.onMouseMove,Nt=H.selectable,lt=(0,re.Z)(H,Z),wt=this.props.context,de=wt.prefixCls,fe=wt.filterTreeNode,G=wt.keyEntities,U=wt.dropContainerKey,we=wt.dropTargetKey,P=wt.draggingNodeKey,T=this.isDisabled(),I=(0,y.Z)(lt,{aria:!0,data:!0}),ne=(0,pe.Z)(G,be)||{},$=ne.level,V=Pe[Pe.length-1],Te=this.isDraggable(),He=!T&&Te,Ie=P===be,Fe=Nt!==void 0?{"aria-selected":!!Nt}:void 0;return b.createElement("div",(0,g.Z)({ref:at,className:W()(J,"".concat(de,"-treenode"),(oe={},(0,O.Z)(oe,"".concat(de,"-treenode-disabled"),T),(0,O.Z)(oe,"".concat(de,"-treenode-switcher-").concat(Le?"open":"close"),!Y),(0,O.Z)(oe,"".concat(de,"-treenode-checkbox-checked"),$e),(0,O.Z)(oe,"".concat(de,"-treenode-checkbox-indeterminate"),ut),(0,O.Z)(oe,"".concat(de,"-treenode-selected"),Ue),(0,O.Z)(oe,"".concat(de,"-treenode-loading"),dt),(0,O.Z)(oe,"".concat(de,"-treenode-active"),Pt),(0,O.Z)(oe,"".concat(de,"-treenode-leaf-last"),V),(0,O.Z)(oe,"".concat(de,"-treenode-draggable"),Te),(0,O.Z)(oe,"dragging",Ie),(0,O.Z)(oe,"drop-target",we===be),(0,O.Z)(oe,"drop-container",U===be),(0,O.Z)(oe,"drag-over",!T&&ae),(0,O.Z)(oe,"drag-over-gap-top",!T&&v),(0,O.Z)(oe,"drag-over-gap-bottom",!T&&_),(0,O.Z)(oe,"filter-node",fe&&fe((0,B.F)(this.props))),oe)),style:me,draggable:He,"aria-grabbed":Ie,onDragStart:He?this.onDragStart:void 0,onDragEnter:Te?this.onDragEnter:void 0,onDragOver:Te?this.onDragOver:void 0,onDragLeave:Te?this.onDragLeave:void 0,onDrop:Te?this.onDrop:void 0,onDragEnd:Te?this.onDragEnd:void 0,onMouseMove:kt},Fe,I),b.createElement(K,{prefixCls:de,level:$,isStart:q,isEnd:Pe}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),ye}(b.Component),Q=function(xe){return b.createElement(A.k.Consumer,null,function(ye){return b.createElement(D,(0,g.Z)({},xe,{context:ye}))})};Q.displayName="TreeNode",Q.isTreeNode=1;var j=Q},39378:function(an,it,f){"use strict";f.d(it,{k:function(){return O}});var g=f(59301),O=g.createContext(null)},54844:function(an,it,f){"use strict";f.d(it,{O:function(){return j.Z},Z:function(){return wt}});var g=f(72308),O=f(49618),re=f(62853),ge=f(77321),F=f(80702),m=f(96949),w=f(55090),he=f(80237),o=f(77205),M=f(38793),W=f(92310),y=f.n(W),b=f(10228),A=f(26112),C=f(48736),K=f(59301),pe=f(39378);function B(de){var fe=de.dropPosition,G=de.dropLevelOffset,U=de.indent,we={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(fe){case-1:we.top=0,we.left=-G*U;break;case 1:we.bottom=0,we.left=-G*U;break;case 0:we.bottom=0,we.left=U;break}return K.createElement("div",{style:we})}function Z(de){if(de==null)throw new TypeError("Cannot destructure "+de)}var ie=f(52487),X=f(74416),L=f(34280),D=f(45680),Q=f(77900),j=f(39417);function ve(de,fe){var G=K.useState(!1),U=(0,ie.Z)(G,2),we=U[0],P=U[1];K.useLayoutEffect(function(){if(we)return de(),function(){fe()}},[we]),K.useLayoutEffect(function(){return P(!0),function(){P(!1)}},[])}var xe=f(71430),ye=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],le=function(fe,G){var U=fe.className,we=fe.style,P=fe.motion,T=fe.motionNodes,I=fe.motionType,ne=fe.onMotionStart,$=fe.onMotionEnd,V=fe.active,Te=fe.treeNodeRequiredProps,He=(0,X.Z)(fe,ye),Ie=K.useState(!0),Fe=(0,ie.Z)(Ie,2),Qe=Fe[0],Ze=Fe[1],Ve=K.useContext(pe.k),xt=Ve.prefixCls,Ct=T&&I!=="hide";(0,L.Z)(function(){T&&Ct!==Qe&&Ze(Ct)},[T]);var ft=function(){T&&ne()},Ot=K.useRef(!1),Kt=function(){T&&!Ot.current&&(Ot.current=!0,$())};ve(ft,Kt);var R=function(bt){Ct===bt&&Kt()};return T?K.createElement(Q.default,(0,g.Z)({ref:G,visible:Qe},P,{motionAppear:I==="show",onVisibleChanged:R}),function(k,bt){var Se=k.className,Ke=k.style;return K.createElement("div",{ref:bt,className:y()("".concat(xt,"-treenode-motion"),Se),style:Ke},T.map(function(vn){var qe=(0,g.Z)({},(Z(vn.data),vn.data)),et=vn.title,Xe=vn.key,_e=vn.isStart,Me=vn.isEnd;delete qe.children;var Oe=(0,xe.H8)(Xe,Te);return K.createElement(j.Z,(0,g.Z)({},qe,Oe,{title:et,active:V,data:vn.data,key:Xe,isStart:_e,isEnd:Me}))}))}):K.createElement(j.Z,(0,g.Z)({domRef:G,className:U,style:we},He,{active:V}))};le.displayName="MotionTreeNode";var oe=K.forwardRef(le),H=oe;function be(){var de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],G=de.length,U=fe.length;if(Math.abs(G-U)!==1)return{add:!1,key:null};function we(P,T){var I=new Map;P.forEach(function($){I.set($,!0)});var ne=T.filter(function($){return!I.has($)});return ne.length===1?ne[0]:null}return G<U?{add:!0,key:we(de,fe)}:{add:!1,key:we(fe,de)}}function J(de,fe,G){var U=de.findIndex(function(I){return I.key===G}),we=de[U+1],P=fe.findIndex(function(I){return I.key===G});if(we){var T=fe.findIndex(function(I){return I.key===we.key});return fe.slice(P+1,T)}return fe.slice(P+1)}var me=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],ae={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},v=function(){},_="RC_TREE_MOTION_".concat(Math.random()),Y={key:_},q={key:_,level:0,index:0,pos:"0",node:Y,nodes:[Y]},Pe={parent:null,children:[],pos:q.pos,data:Y,title:null,key:_,isStart:[],isEnd:[]};function Le(de,fe,G,U){return fe===!1||!G?de:de.slice(0,Math.ceil(G/U)+1)}function Ue(de){var fe=de.key,G=de.pos;return(0,xe.km)(fe,G)}function $e(de){for(var fe=String(de.data.key),G=de;G.parent;)G=G.parent,fe="".concat(G.data.key," > ").concat(fe);return fe}var ut=K.forwardRef(function(de,fe){var G=de.prefixCls,U=de.data,we=de.selectable,P=de.checkable,T=de.expandedKeys,I=de.selectedKeys,ne=de.checkedKeys,$=de.loadedKeys,V=de.loadingKeys,Te=de.halfCheckedKeys,He=de.keyEntities,Ie=de.disabled,Fe=de.dragging,Qe=de.dragOverNodeKey,Ze=de.dropPosition,Ve=de.motion,xt=de.height,Ct=de.itemHeight,ft=de.virtual,Ot=de.focusable,Kt=de.activeItem,R=de.focused,k=de.tabIndex,bt=de.onKeyDown,Se=de.onFocus,Ke=de.onBlur,vn=de.onActiveChange,qe=de.onListChangeStart,et=de.onListChangeEnd,Xe=(0,X.Z)(de,me),_e=K.useRef(null),Me=K.useRef(null);K.useImperativeHandle(fe,function(){return{scrollTo:function(Zt){_e.current.scrollTo(Zt)},getIndentWidth:function(){return Me.current.offsetWidth}}});var Oe=K.useState(T),rt=(0,ie.Z)(Oe,2),Ae=rt[0],rn=rt[1],Ge=K.useState(U),En=(0,ie.Z)(Ge,2),Dn=En[0],tn=En[1],Wt=K.useState(U),It=(0,ie.Z)(Wt,2),Bt=It[0],We=It[1],_t=K.useState([]),Et=(0,ie.Z)(_t,2),Be=Et[0],Re=Et[1],pt=K.useState(null),mt=(0,ie.Z)(pt,2),Ft=mt[0],Ht=mt[1],sn=K.useRef(U);sn.current=U;function Yt(){var An=sn.current;tn(An),We(An),Re([]),Ht(null),et()}(0,L.Z)(function(){rn(T);var An=be(Ae,T);if(An.key!==null)if(An.add){var Zt=Dn.findIndex(function(kn){var cn=kn.key;return cn===An.key}),Xt=Le(J(Dn,U,An.key),ft,xt,Ct),on=Dn.slice();on.splice(Zt+1,0,Pe),We(on),Re(Xt),Ht("show")}else{var gn=U.findIndex(function(kn){var cn=kn.key;return cn===An.key}),fn=Le(J(U,Dn,An.key),ft,xt,Ct),Qn=U.slice();Qn.splice(gn+1,0,Pe),We(Qn),Re(fn),Ht("hide")}else Dn!==U&&(tn(U),We(U))},[T,U]),K.useEffect(function(){Fe||Yt()},[Fe]);var ln=Ve?Bt:U,mn={expandedKeys:T,selectedKeys:I,loadedKeys:$,loadingKeys:V,checkedKeys:ne,halfCheckedKeys:Te,dragOverNodeKey:Qe,dropPosition:Ze,keyEntities:He};return K.createElement(K.Fragment,null,R&&Kt&&K.createElement("span",{style:ae,"aria-live":"assertive"},$e(Kt)),K.createElement("div",null,K.createElement("input",{style:ae,disabled:Ot===!1||Ie,tabIndex:Ot!==!1?k:null,onKeyDown:bt,onFocus:Se,onBlur:Ke,value:"",onChange:v,"aria-label":"for screen reader"})),K.createElement("div",{className:"".concat(G,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},K.createElement("div",{className:"".concat(G,"-indent")},K.createElement("div",{ref:Me,className:"".concat(G,"-indent-unit")}))),K.createElement(D.Z,(0,g.Z)({},Xe,{data:ln,itemKey:Ue,height:xt,fullHeight:!1,virtual:ft,itemHeight:Ct,prefixCls:"".concat(G,"-list"),ref:_e,onVisibleChange:function(Zt,Xt){var on=new Set(Zt),gn=Xt.filter(function(fn){return!on.has(fn)});gn.some(function(fn){return Ue(fn)===_})&&Yt()}}),function(An){var Zt=An.pos,Xt=(0,g.Z)({},(Z(An.data),An.data)),on=An.title,gn=An.key,fn=An.isStart,Qn=An.isEnd,kn=(0,xe.km)(gn,Zt);delete Xt.key,delete Xt.children;var cn=(0,xe.H8)(kn,mn);return K.createElement(H,(0,g.Z)({},Xt,cn,{title:on,active:!!Kt&&gn===Kt.key,pos:Zt,data:An.data,isStart:fn,isEnd:Qn,motion:Ve,motionNodes:gn===_?Be:null,motionType:Ft,onMotionStart:qe,onMotionEnd:Yt,treeNodeRequiredProps:mn,onMouseMove:function(){vn(null)}}))}))});ut.displayName="NodeList";var dt=ut,at=f(35654),Pt=f(90782),nn=f(67841),kt=10,Nt=function(de){(0,o.Z)(G,de);var fe=(0,M.Z)(G);function G(){var U;(0,m.Z)(this,G);for(var we=arguments.length,P=new Array(we),T=0;T<we;T++)P[T]=arguments[T];return U=fe.call.apply(fe,[this].concat(P)),U.destroyed=!1,U.delayedDragEnterLogic=void 0,U.loadingRetryTimes={},U.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,xe.w$)()},U.dragStartMousePosition=null,U.dragNode=void 0,U.currentMouseOverDroppableNodeKey=null,U.listRef=K.createRef(),U.onNodeDragStart=function(I,ne){var $=U.state,V=$.expandedKeys,Te=$.keyEntities,He=U.props.onDragStart,Ie=ne.props.eventKey;U.dragNode=ne,U.dragStartMousePosition={x:I.clientX,y:I.clientY};var Fe=(0,at._5)(V,Ie);U.setState({draggingNodeKey:Ie,dragChildrenKeys:(0,at.wA)(Ie,Te),indent:U.listRef.current.getIndentWidth()}),U.setExpandedKeys(Fe),window.addEventListener("dragend",U.onWindowDragEnd),He==null||He({event:I,node:(0,xe.F)(ne.props)})},U.onNodeDragEnter=function(I,ne){var $=U.state,V=$.expandedKeys,Te=$.keyEntities,He=$.dragChildrenKeys,Ie=$.flattenNodes,Fe=$.indent,Qe=U.props,Ze=Qe.onDragEnter,Ve=Qe.onExpand,xt=Qe.allowDrop,Ct=Qe.direction,ft=ne.props,Ot=ft.pos,Kt=ft.eventKey,R=(0,he.Z)(U),k=R.dragNode;if(U.currentMouseOverDroppableNodeKey!==Kt&&(U.currentMouseOverDroppableNodeKey=Kt),!k){U.resetDragState();return}var bt=(0,at.OM)(I,k,ne,Fe,U.dragStartMousePosition,xt,Ie,Te,V,Ct),Se=bt.dropPosition,Ke=bt.dropLevelOffset,vn=bt.dropTargetKey,qe=bt.dropContainerKey,et=bt.dropTargetPos,Xe=bt.dropAllowed,_e=bt.dragOverNodeKey;if(He.indexOf(vn)!==-1||!Xe){U.resetDragState();return}if(U.delayedDragEnterLogic||(U.delayedDragEnterLogic={}),Object.keys(U.delayedDragEnterLogic).forEach(function(Me){clearTimeout(U.delayedDragEnterLogic[Me])}),k.props.eventKey!==ne.props.eventKey&&(I.persist(),U.delayedDragEnterLogic[Ot]=window.setTimeout(function(){if(U.state.draggingNodeKey!==null){var Me=(0,F.Z)(V),Oe=(0,nn.Z)(Te,ne.props.eventKey);Oe&&(Oe.children||[]).length&&(Me=(0,at.L0)(V,ne.props.eventKey)),"expandedKeys"in U.props||U.setExpandedKeys(Me),Ve==null||Ve(Me,{node:(0,xe.F)(ne.props),expanded:!0,nativeEvent:I.nativeEvent})}},800)),k.props.eventKey===vn&&Ke===0){U.resetDragState();return}U.setState({dragOverNodeKey:_e,dropPosition:Se,dropLevelOffset:Ke,dropTargetKey:vn,dropContainerKey:qe,dropTargetPos:et,dropAllowed:Xe}),Ze==null||Ze({event:I,node:(0,xe.F)(ne.props),expandedKeys:V})},U.onNodeDragOver=function(I,ne){var $=U.state,V=$.dragChildrenKeys,Te=$.flattenNodes,He=$.keyEntities,Ie=$.expandedKeys,Fe=$.indent,Qe=U.props,Ze=Qe.onDragOver,Ve=Qe.allowDrop,xt=Qe.direction,Ct=(0,he.Z)(U),ft=Ct.dragNode;if(ft){var Ot=(0,at.OM)(I,ft,ne,Fe,U.dragStartMousePosition,Ve,Te,He,Ie,xt),Kt=Ot.dropPosition,R=Ot.dropLevelOffset,k=Ot.dropTargetKey,bt=Ot.dropContainerKey,Se=Ot.dropAllowed,Ke=Ot.dropTargetPos,vn=Ot.dragOverNodeKey;V.indexOf(k)!==-1||!Se||(ft.props.eventKey===k&&R===0?U.state.dropPosition===null&&U.state.dropLevelOffset===null&&U.state.dropTargetKey===null&&U.state.dropContainerKey===null&&U.state.dropTargetPos===null&&U.state.dropAllowed===!1&&U.state.dragOverNodeKey===null||U.resetDragState():Kt===U.state.dropPosition&&R===U.state.dropLevelOffset&&k===U.state.dropTargetKey&&bt===U.state.dropContainerKey&&Ke===U.state.dropTargetPos&&Se===U.state.dropAllowed&&vn===U.state.dragOverNodeKey||U.setState({dropPosition:Kt,dropLevelOffset:R,dropTargetKey:k,dropContainerKey:bt,dropTargetPos:Ke,dropAllowed:Se,dragOverNodeKey:vn}),Ze==null||Ze({event:I,node:(0,xe.F)(ne.props)}))}},U.onNodeDragLeave=function(I,ne){U.currentMouseOverDroppableNodeKey===ne.props.eventKey&&!I.currentTarget.contains(I.relatedTarget)&&(U.resetDragState(),U.currentMouseOverDroppableNodeKey=null);var $=U.props.onDragLeave;$==null||$({event:I,node:(0,xe.F)(ne.props)})},U.onWindowDragEnd=function(I){U.onNodeDragEnd(I,null,!0),window.removeEventListener("dragend",U.onWindowDragEnd)},U.onNodeDragEnd=function(I,ne){var $=U.props.onDragEnd;U.setState({dragOverNodeKey:null}),U.cleanDragState(),$==null||$({event:I,node:(0,xe.F)(ne.props)}),U.dragNode=null,window.removeEventListener("dragend",U.onWindowDragEnd)},U.onNodeDrop=function(I,ne){var $,V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Te=U.state,He=Te.dragChildrenKeys,Ie=Te.dropPosition,Fe=Te.dropTargetKey,Qe=Te.dropTargetPos,Ze=Te.dropAllowed;if(Ze){var Ve=U.props.onDrop;if(U.setState({dragOverNodeKey:null}),U.cleanDragState(),Fe!==null){var xt=(0,ge.Z)((0,ge.Z)({},(0,xe.H8)(Fe,U.getTreeNodeRequiredProps())),{},{active:(($=U.getActiveItem())===null||$===void 0?void 0:$.key)===Fe,data:(0,nn.Z)(U.state.keyEntities,Fe).node}),Ct=He.indexOf(Fe)!==-1;(0,C.ZP)(!Ct,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ft=(0,at.yx)(Qe),Ot={event:I,node:(0,xe.F)(xt),dragNode:U.dragNode?(0,xe.F)(U.dragNode.props):null,dragNodesKeys:[U.dragNode.props.eventKey].concat(He),dropToGap:Ie!==0,dropPosition:Ie+Number(ft[ft.length-1])};V||Ve==null||Ve(Ot),U.dragNode=null}}},U.cleanDragState=function(){var I=U.state.draggingNodeKey;I!==null&&U.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),U.dragStartMousePosition=null,U.currentMouseOverDroppableNodeKey=null},U.triggerExpandActionExpand=function(I,ne){var $=U.state,V=$.expandedKeys,Te=$.flattenNodes,He=ne.expanded,Ie=ne.key,Fe=ne.isLeaf;if(!(Fe||I.shiftKey||I.metaKey||I.ctrlKey)){var Qe=Te.filter(function(Ve){return Ve.key===Ie})[0],Ze=(0,xe.F)((0,ge.Z)((0,ge.Z)({},(0,xe.H8)(Ie,U.getTreeNodeRequiredProps())),{},{data:Qe.data}));U.setExpandedKeys(He?(0,at._5)(V,Ie):(0,at.L0)(V,Ie)),U.onNodeExpand(I,Ze)}},U.onNodeClick=function(I,ne){var $=U.props,V=$.onClick,Te=$.expandAction;Te==="click"&&U.triggerExpandActionExpand(I,ne),V==null||V(I,ne)},U.onNodeDoubleClick=function(I,ne){var $=U.props,V=$.onDoubleClick,Te=$.expandAction;Te==="doubleClick"&&U.triggerExpandActionExpand(I,ne),V==null||V(I,ne)},U.onNodeSelect=function(I,ne){var $=U.state.selectedKeys,V=U.state,Te=V.keyEntities,He=V.fieldNames,Ie=U.props,Fe=Ie.onSelect,Qe=Ie.multiple,Ze=ne.selected,Ve=ne[He.key],xt=!Ze;xt?Qe?$=(0,at.L0)($,Ve):$=[Ve]:$=(0,at._5)($,Ve);var Ct=$.map(function(ft){var Ot=(0,nn.Z)(Te,ft);return Ot?Ot.node:null}).filter(function(ft){return ft});U.setUncontrolledState({selectedKeys:$}),Fe==null||Fe($,{event:"select",selected:xt,node:ne,selectedNodes:Ct,nativeEvent:I.nativeEvent})},U.onNodeCheck=function(I,ne,$){var V=U.state,Te=V.keyEntities,He=V.checkedKeys,Ie=V.halfCheckedKeys,Fe=U.props,Qe=Fe.checkStrictly,Ze=Fe.onCheck,Ve=ne.key,xt,Ct={event:"check",node:ne,checked:$,nativeEvent:I.nativeEvent};if(Qe){var ft=$?(0,at.L0)(He,Ve):(0,at._5)(He,Ve),Ot=(0,at._5)(Ie,Ve);xt={checked:ft,halfChecked:Ot},Ct.checkedNodes=ft.map(function(Ke){return(0,nn.Z)(Te,Ke)}).filter(function(Ke){return Ke}).map(function(Ke){return Ke.node}),U.setUncontrolledState({checkedKeys:ft})}else{var Kt=(0,Pt.S)([].concat((0,F.Z)(He),[Ve]),!0,Te),R=Kt.checkedKeys,k=Kt.halfCheckedKeys;if(!$){var bt=new Set(R);bt.delete(Ve);var Se=(0,Pt.S)(Array.from(bt),{checked:!1,halfCheckedKeys:k},Te);R=Se.checkedKeys,k=Se.halfCheckedKeys}xt=R,Ct.checkedNodes=[],Ct.checkedNodesPositions=[],Ct.halfCheckedKeys=k,R.forEach(function(Ke){var vn=(0,nn.Z)(Te,Ke);if(vn){var qe=vn.node,et=vn.pos;Ct.checkedNodes.push(qe),Ct.checkedNodesPositions.push({node:qe,pos:et})}}),U.setUncontrolledState({checkedKeys:R},!1,{halfCheckedKeys:k})}Ze==null||Ze(xt,Ct)},U.onNodeLoad=function(I){var ne=I.key,$=new Promise(function(V,Te){U.setState(function(He){var Ie=He.loadedKeys,Fe=Ie===void 0?[]:Ie,Qe=He.loadingKeys,Ze=Qe===void 0?[]:Qe,Ve=U.props,xt=Ve.loadData,Ct=Ve.onLoad;if(!xt||Fe.indexOf(ne)!==-1||Ze.indexOf(ne)!==-1)return null;var ft=xt(I);return ft.then(function(){var Ot=U.state.loadedKeys,Kt=(0,at.L0)(Ot,ne);Ct==null||Ct(Kt,{event:"load",node:I}),U.setUncontrolledState({loadedKeys:Kt}),U.setState(function(R){return{loadingKeys:(0,at._5)(R.loadingKeys,ne)}}),V()}).catch(function(Ot){if(U.setState(function(R){return{loadingKeys:(0,at._5)(R.loadingKeys,ne)}}),U.loadingRetryTimes[ne]=(U.loadingRetryTimes[ne]||0)+1,U.loadingRetryTimes[ne]>=kt){var Kt=U.state.loadedKeys;(0,C.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),U.setUncontrolledState({loadedKeys:(0,at.L0)(Kt,ne)}),V()}Te(Ot)}),{loadingKeys:(0,at.L0)(Ze,ne)}})});return $.catch(function(){}),$},U.onNodeMouseEnter=function(I,ne){var $=U.props.onMouseEnter;$==null||$({event:I,node:ne})},U.onNodeMouseLeave=function(I,ne){var $=U.props.onMouseLeave;$==null||$({event:I,node:ne})},U.onNodeContextMenu=function(I,ne){var $=U.props.onRightClick;$&&(I.preventDefault(),$({event:I,node:ne}))},U.onFocus=function(){var I=U.props.onFocus;U.setState({focused:!0});for(var ne=arguments.length,$=new Array(ne),V=0;V<ne;V++)$[V]=arguments[V];I==null||I.apply(void 0,$)},U.onBlur=function(){var I=U.props.onBlur;U.setState({focused:!1}),U.onActiveChange(null);for(var ne=arguments.length,$=new Array(ne),V=0;V<ne;V++)$[V]=arguments[V];I==null||I.apply(void 0,$)},U.getTreeNodeRequiredProps=function(){var I=U.state,ne=I.expandedKeys,$=I.selectedKeys,V=I.loadedKeys,Te=I.loadingKeys,He=I.checkedKeys,Ie=I.halfCheckedKeys,Fe=I.dragOverNodeKey,Qe=I.dropPosition,Ze=I.keyEntities;return{expandedKeys:ne||[],selectedKeys:$||[],loadedKeys:V||[],loadingKeys:Te||[],checkedKeys:He||[],halfCheckedKeys:Ie||[],dragOverNodeKey:Fe,dropPosition:Qe,keyEntities:Ze}},U.setExpandedKeys=function(I){var ne=U.state,$=ne.treeData,V=ne.fieldNames,Te=(0,xe.oH)($,I,V);U.setUncontrolledState({expandedKeys:I,flattenNodes:Te},!0)},U.onNodeExpand=function(I,ne){var $=U.state.expandedKeys,V=U.state,Te=V.listChanging,He=V.fieldNames,Ie=U.props,Fe=Ie.onExpand,Qe=Ie.loadData,Ze=ne.expanded,Ve=ne[He.key];if(!Te){var xt=$.indexOf(Ve),Ct=!Ze;if((0,C.ZP)(Ze&&xt!==-1||!Ze&&xt===-1,"Expand state not sync with index check"),Ct?$=(0,at.L0)($,Ve):$=(0,at._5)($,Ve),U.setExpandedKeys($),Fe==null||Fe($,{node:ne,expanded:Ct,nativeEvent:I.nativeEvent}),Ct&&Qe){var ft=U.onNodeLoad(ne);ft&&ft.then(function(){var Ot=(0,xe.oH)(U.state.treeData,$,He);U.setUncontrolledState({flattenNodes:Ot})}).catch(function(){var Ot=U.state.expandedKeys,Kt=(0,at._5)(Ot,Ve);U.setExpandedKeys(Kt)})}}},U.onListChangeStart=function(){U.setUncontrolledState({listChanging:!0})},U.onListChangeEnd=function(){setTimeout(function(){U.setUncontrolledState({listChanging:!1})})},U.onActiveChange=function(I){var ne=U.state.activeKey,$=U.props.onActiveChange;ne!==I&&(U.setState({activeKey:I}),I!==null&&U.scrollTo({key:I}),$==null||$(I))},U.getActiveItem=function(){var I=U.state,ne=I.activeKey,$=I.flattenNodes;return ne===null?null:$.find(function(V){var Te=V.key;return Te===ne})||null},U.offsetActiveKey=function(I){var ne=U.state,$=ne.flattenNodes,V=ne.activeKey,Te=$.findIndex(function(Fe){var Qe=Fe.key;return Qe===V});Te===-1&&I<0&&(Te=$.length),Te=(Te+I+$.length)%$.length;var He=$[Te];if(He){var Ie=He.key;U.onActiveChange(Ie)}else U.onActiveChange(null)},U.onKeyDown=function(I){var ne=U.state,$=ne.activeKey,V=ne.expandedKeys,Te=ne.checkedKeys,He=ne.fieldNames,Ie=U.props,Fe=Ie.onKeyDown,Qe=Ie.checkable,Ze=Ie.selectable;switch(I.which){case b.Z.UP:{U.offsetActiveKey(-1),I.preventDefault();break}case b.Z.DOWN:{U.offsetActiveKey(1),I.preventDefault();break}}var Ve=U.getActiveItem();if(Ve&&Ve.data){var xt=U.getTreeNodeRequiredProps(),Ct=Ve.data.isLeaf===!1||!!(Ve.data[He.children]||[]).length,ft=(0,xe.F)((0,ge.Z)((0,ge.Z)({},(0,xe.H8)($,xt)),{},{data:Ve.data,active:!0}));switch(I.which){case b.Z.LEFT:{Ct&&V.includes($)?U.onNodeExpand({},ft):Ve.parent&&U.onActiveChange(Ve.parent.key),I.preventDefault();break}case b.Z.RIGHT:{Ct&&!V.includes($)?U.onNodeExpand({},ft):Ve.children&&Ve.children.length&&U.onActiveChange(Ve.children[0].key),I.preventDefault();break}case b.Z.ENTER:case b.Z.SPACE:{Qe&&!ft.disabled&&ft.checkable!==!1&&!ft.disableCheckbox?U.onNodeCheck({},ft,!Te.includes($)):!Qe&&Ze&&!ft.disabled&&ft.selectable!==!1&&U.onNodeSelect({},ft);break}}}Fe==null||Fe(I)},U.setUncontrolledState=function(I){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!U.destroyed){var V=!1,Te=!0,He={};Object.keys(I).forEach(function(Ie){if(Ie in U.props){Te=!1;return}V=!0,He[Ie]=I[Ie]}),V&&(!ne||Te)&&U.setState((0,ge.Z)((0,ge.Z)({},He),$))}},U.scrollTo=function(I){U.listRef.current.scrollTo(I)},U}return(0,w.Z)(G,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var we=this.props.activeKey;we!==void 0&&we!==this.state.activeKey&&(this.setState({activeKey:we}),we!==null&&this.scrollTo({key:we}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var we,P=this.state,T=P.focused,I=P.flattenNodes,ne=P.keyEntities,$=P.draggingNodeKey,V=P.activeKey,Te=P.dropLevelOffset,He=P.dropContainerKey,Ie=P.dropTargetKey,Fe=P.dropPosition,Qe=P.dragOverNodeKey,Ze=P.indent,Ve=this.props,xt=Ve.prefixCls,Ct=Ve.className,ft=Ve.style,Ot=Ve.showLine,Kt=Ve.focusable,R=Ve.tabIndex,k=R===void 0?0:R,bt=Ve.selectable,Se=Ve.showIcon,Ke=Ve.icon,vn=Ve.switcherIcon,qe=Ve.draggable,et=Ve.checkable,Xe=Ve.checkStrictly,_e=Ve.disabled,Me=Ve.motion,Oe=Ve.loadData,rt=Ve.filterTreeNode,Ae=Ve.height,rn=Ve.itemHeight,Ge=Ve.virtual,En=Ve.titleRender,Dn=Ve.dropIndicatorRender,tn=Ve.onContextMenu,Wt=Ve.onScroll,It=Ve.direction,Bt=Ve.rootClassName,We=Ve.rootStyle,_t=(0,A.Z)(this.props,{aria:!0,data:!0}),Et;return qe&&((0,re.Z)(qe)==="object"?Et=qe:typeof qe=="function"?Et={nodeDraggable:qe}:Et={}),K.createElement(pe.k.Provider,{value:{prefixCls:xt,selectable:bt,showIcon:Se,icon:Ke,switcherIcon:vn,draggable:Et,draggingNodeKey:$,checkable:et,checkStrictly:Xe,disabled:_e,keyEntities:ne,dropLevelOffset:Te,dropContainerKey:He,dropTargetKey:Ie,dropPosition:Fe,dragOverNodeKey:Qe,indent:Ze,direction:It,dropIndicatorRender:Dn,loadData:Oe,filterTreeNode:rt,titleRender:En,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},K.createElement("div",{role:"tree",className:y()(xt,Ct,Bt,(we={},(0,O.Z)(we,"".concat(xt,"-show-line"),Ot),(0,O.Z)(we,"".concat(xt,"-focused"),T),(0,O.Z)(we,"".concat(xt,"-active-focused"),V!==null),we)),style:We},K.createElement(dt,(0,g.Z)({ref:this.listRef,prefixCls:xt,style:ft,data:I,disabled:_e,selectable:bt,checkable:!!et,motion:Me,dragging:$!==null,height:Ae,itemHeight:rn,virtual:Ge,focusable:Kt,focused:T,tabIndex:k,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:tn,onScroll:Wt},this.getTreeNodeRequiredProps(),_t))))}}],[{key:"getDerivedStateFromProps",value:function(we,P){var T=P.prevProps,I={prevProps:we};function ne(Kt){return!T&&Kt in we||T&&T[Kt]!==we[Kt]}var $,V=P.fieldNames;if(ne("fieldNames")&&(V=(0,xe.w$)(we.fieldNames),I.fieldNames=V),ne("treeData")?$=we.treeData:ne("children")&&((0,C.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),$=(0,xe.zn)(we.children)),$){I.treeData=$;var Te=(0,xe.I8)($,{fieldNames:V});I.keyEntities=(0,ge.Z)((0,O.Z)({},_,q),Te.keyEntities)}var He=I.keyEntities||P.keyEntities;if(ne("expandedKeys")||T&&ne("autoExpandParent"))I.expandedKeys=we.autoExpandParent||!T&&we.defaultExpandParent?(0,at.r7)(we.expandedKeys,He):we.expandedKeys;else if(!T&&we.defaultExpandAll){var Ie=(0,ge.Z)({},He);delete Ie[_],I.expandedKeys=Object.keys(Ie).map(function(Kt){return Ie[Kt].key})}else!T&&we.defaultExpandedKeys&&(I.expandedKeys=we.autoExpandParent||we.defaultExpandParent?(0,at.r7)(we.defaultExpandedKeys,He):we.defaultExpandedKeys);if(I.expandedKeys||delete I.expandedKeys,$||I.expandedKeys){var Fe=(0,xe.oH)($||P.treeData,I.expandedKeys||P.expandedKeys,V);I.flattenNodes=Fe}if(we.selectable&&(ne("selectedKeys")?I.selectedKeys=(0,at.BT)(we.selectedKeys,we):!T&&we.defaultSelectedKeys&&(I.selectedKeys=(0,at.BT)(we.defaultSelectedKeys,we))),we.checkable){var Qe;if(ne("checkedKeys")?Qe=(0,at.E6)(we.checkedKeys)||{}:!T&&we.defaultCheckedKeys?Qe=(0,at.E6)(we.defaultCheckedKeys)||{}:$&&(Qe=(0,at.E6)(we.checkedKeys)||{checkedKeys:P.checkedKeys,halfCheckedKeys:P.halfCheckedKeys}),Qe){var Ze=Qe,Ve=Ze.checkedKeys,xt=Ve===void 0?[]:Ve,Ct=Ze.halfCheckedKeys,ft=Ct===void 0?[]:Ct;if(!we.checkStrictly){var Ot=(0,Pt.S)(xt,!0,He);xt=Ot.checkedKeys,ft=Ot.halfCheckedKeys}I.checkedKeys=xt,I.halfCheckedKeys=ft}}return ne("loadedKeys")&&(I.loadedKeys=we.loadedKeys),I}}]),G}(K.Component);Nt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:B,allowDrop:function(){return!0},expandAction:!1},Nt.TreeNode=j.Z;var lt=Nt,wt=lt},35654:function(an,it,f){"use strict";f.d(it,{BT:function(){return K},E6:function(){return Z},L0:function(){return M},OM:function(){return C},_5:function(){return o},r7:function(){return ie},wA:function(){return y},yx:function(){return W}});var g=f(80702),O=f(62853),re=f(48736),ge=f(59301),F=f(39417),m=f(67841),w=f(71430),he=null;function o(X,L){if(!X)return[];var D=X.slice(),Q=D.indexOf(L);return Q>=0&&D.splice(Q,1),D}function M(X,L){var D=(X||[]).slice();return D.indexOf(L)===-1&&D.push(L),D}function W(X){return X.split("-")}function y(X,L){var D=[],Q=(0,m.Z)(L,X);function j(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ve.forEach(function(xe){var ye=xe.key,le=xe.children;D.push(ye),j(le)})}return j(Q.children),D}function b(X){if(X.parent){var L=W(X.pos);return Number(L[L.length-1])===X.parent.children.length-1}return!1}function A(X){var L=W(X.pos);return Number(L[L.length-1])===0}function C(X,L,D,Q,j,ve,xe,ye,le,oe){var H,be=X.clientX,J=X.clientY,me=X.target.getBoundingClientRect(),ae=me.top,v=me.height,_=(oe==="rtl"?-1:1)*(((j==null?void 0:j.x)||0)-be),Y=(_-12)/Q,q=(0,m.Z)(ye,D.props.eventKey);if(J<ae+v/2){var Pe=xe.findIndex(function(wt){return wt.key===q.key}),Le=Pe<=0?0:Pe-1,Ue=xe[Le].key;q=(0,m.Z)(ye,Ue)}var $e=q.key,ut=q,dt=q.key,at=0,Pt=0;if(!le.includes($e))for(var nn=0;nn<Y&&b(q);nn+=1)q=q.parent,Pt+=1;var kt=L.props.data,Nt=q.node,lt=!0;return A(q)&&q.level===0&&J<ae+v/2&&ve({dragNode:kt,dropNode:Nt,dropPosition:-1})&&q.key===D.props.eventKey?at=-1:(ut.children||[]).length&&le.includes(dt)?ve({dragNode:kt,dropNode:Nt,dropPosition:0})?at=0:lt=!1:Pt===0?Y>-1.5?ve({dragNode:kt,dropNode:Nt,dropPosition:1})?at=1:lt=!1:ve({dragNode:kt,dropNode:Nt,dropPosition:0})?at=0:ve({dragNode:kt,dropNode:Nt,dropPosition:1})?at=1:lt=!1:ve({dragNode:kt,dropNode:Nt,dropPosition:1})?at=1:lt=!1,{dropPosition:at,dropLevelOffset:Pt,dropTargetKey:q.key,dropTargetPos:q.pos,dragOverNodeKey:dt,dropContainerKey:at===0?null:((H=q.parent)===null||H===void 0?void 0:H.key)||null,dropAllowed:lt}}function K(X,L){if(X){var D=L.multiple;return D?X.slice():X.length?[X[0]]:X}}var pe=function(L){return L};function B(X,L){if(!X)return[];var D=L||{},Q=D.processProps,j=Q===void 0?pe:Q,ve=Array.isArray(X)?X:[X];return ve.map(function(xe){var ye=xe.children,le=_objectWithoutProperties(xe,he),oe=B(ye,L);return React.createElement(TreeNode,_extends({key:le.key},j(le)),oe)})}function Z(X){if(!X)return null;var L;if(Array.isArray(X))L={checkedKeys:X,halfCheckedKeys:void 0};else if((0,O.Z)(X)==="object")L={checkedKeys:X.checked||void 0,halfCheckedKeys:X.halfChecked||void 0};else return(0,re.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return L}function ie(X,L){var D=new Set;function Q(j){if(!D.has(j)){var ve=(0,m.Z)(L,j);if(ve){D.add(j);var xe=ve.parent,ye=ve.node;ye.disabled||xe&&Q(xe.key)}}}return(X||[]).forEach(function(j){Q(j)}),(0,g.Z)(D)}},90782:function(an,it,f){"use strict";f.d(it,{S:function(){return w}});var g=f(48736),O=f(67841);function re(he,o){var M=new Set;return he.forEach(function(W){o.has(W)||M.add(W)}),M}function ge(he){var o=he||{},M=o.disabled,W=o.disableCheckbox,y=o.checkable;return!!(M||W)||y===!1}function F(he,o,M,W){for(var y=new Set(he),b=new Set,A=0;A<=M;A+=1){var C=o.get(A)||new Set;C.forEach(function(Z){var ie=Z.key,X=Z.node,L=Z.children,D=L===void 0?[]:L;y.has(ie)&&!W(X)&&D.filter(function(Q){return!W(Q.node)}).forEach(function(Q){y.add(Q.key)})})}for(var K=new Set,pe=M;pe>=0;pe-=1){var B=o.get(pe)||new Set;B.forEach(function(Z){var ie=Z.parent,X=Z.node;if(!(W(X)||!Z.parent||K.has(Z.parent.key))){if(W(Z.parent.node)){K.add(ie.key);return}var L=!0,D=!1;(ie.children||[]).filter(function(Q){return!W(Q.node)}).forEach(function(Q){var j=Q.key,ve=y.has(j);L&&!ve&&(L=!1),!D&&(ve||b.has(j))&&(D=!0)}),L&&y.add(ie.key),D&&b.add(ie.key),K.add(ie.key)}})}return{checkedKeys:Array.from(y),halfCheckedKeys:Array.from(re(b,y))}}function m(he,o,M,W,y){for(var b=new Set(he),A=new Set(o),C=0;C<=W;C+=1){var K=M.get(C)||new Set;K.forEach(function(ie){var X=ie.key,L=ie.node,D=ie.children,Q=D===void 0?[]:D;!b.has(X)&&!A.has(X)&&!y(L)&&Q.filter(function(j){return!y(j.node)}).forEach(function(j){b.delete(j.key)})})}A=new Set;for(var pe=new Set,B=W;B>=0;B-=1){var Z=M.get(B)||new Set;Z.forEach(function(ie){var X=ie.parent,L=ie.node;if(!(y(L)||!ie.parent||pe.has(ie.parent.key))){if(y(ie.parent.node)){pe.add(X.key);return}var D=!0,Q=!1;(X.children||[]).filter(function(j){return!y(j.node)}).forEach(function(j){var ve=j.key,xe=b.has(ve);D&&!xe&&(D=!1),!Q&&(xe||A.has(ve))&&(Q=!0)}),D||b.delete(X.key),Q&&A.add(X.key),pe.add(X.key)}})}return{checkedKeys:Array.from(b),halfCheckedKeys:Array.from(re(A,b))}}function w(he,o,M,W){var y=[],b;W?b=W:b=ge;var A=new Set(he.filter(function(B){var Z=!!(0,O.Z)(M,B);return Z||y.push(B),Z})),C=new Map,K=0;Object.keys(M).forEach(function(B){var Z=M[B],ie=Z.level,X=C.get(ie);X||(X=new Set,C.set(ie,X)),X.add(Z),K=Math.max(K,ie)}),(0,g.ZP)(!y.length,"Tree missing follow keys: ".concat(y.slice(0,100).map(function(B){return"'".concat(B,"'")}).join(", ")));var pe;return o===!0?pe=F(A,C,K,b):pe=m(A,o.halfCheckedKeys,C,K,b),pe}},67841:function(an,it,f){"use strict";f.d(it,{Z:function(){return g}});function g(O,re){return O[re]}},71430:function(an,it,f){"use strict";f.d(it,{F:function(){return ie},H8:function(){return Z},I8:function(){return B},km:function(){return y},oH:function(){return K},w$:function(){return b},zn:function(){return C}});var g=f(62853),O=f(80702),re=f(77321),ge=f(74416),F=f(11592),m=f(2738),w=f(48736),he=f(67841),o=["children"];function M(X,L){return"".concat(X,"-").concat(L)}function W(X){return X&&X.type&&X.type.isTreeNode}function y(X,L){return X!=null?X:L}function b(X){var L=X||{},D=L.title,Q=L._title,j=L.key,ve=L.children,xe=D||"title";return{title:xe,_title:Q||[xe],key:j||"key",children:ve||"children"}}function A(X,L){var D=new Map;function Q(j){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(j||[]).forEach(function(xe){var ye=xe[L.key],le=xe[L.children];warning(ye!=null,"Tree node must have a certain key: [".concat(ve).concat(ye,"]"));var oe=String(ye);warning(!D.has(oe)||ye===null||ye===void 0,"Same 'key' exist in the Tree: ".concat(oe)),D.set(oe,!0),Q(le,"".concat(ve).concat(oe," > "))})}Q(X)}function C(X){function L(D){var Q=(0,F.Z)(D);return Q.map(function(j){if(!W(j))return(0,w.ZP)(!j,"Tree/TreeNode can only accept TreeNode as children."),null;var ve=j.key,xe=j.props,ye=xe.children,le=(0,ge.Z)(xe,o),oe=(0,re.Z)({key:ve},le),H=L(ye);return H.length&&(oe.children=H),oe}).filter(function(j){return j})}return L(X)}function K(X,L,D){var Q=b(D),j=Q._title,ve=Q.key,xe=Q.children,ye=new Set(L===!0?[]:L),le=[];function oe(H){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return H.map(function(J,me){for(var ae=M(be?be.pos:"0",me),v=y(J[ve],ae),_,Y=0;Y<j.length;Y+=1){var q=j[Y];if(J[q]!==void 0){_=J[q];break}}var Pe=(0,re.Z)((0,re.Z)({},(0,m.Z)(J,[].concat((0,O.Z)(j),[ve,xe]))),{},{title:_,key:v,parent:be,pos:ae,children:null,data:J,isStart:[].concat((0,O.Z)(be?be.isStart:[]),[me===0]),isEnd:[].concat((0,O.Z)(be?be.isEnd:[]),[me===H.length-1])});return le.push(Pe),L===!0||ye.has(v)?Pe.children=oe(J[xe]||[],Pe):Pe.children=[],Pe})}return oe(X),le}function pe(X,L,D){var Q={};(0,g.Z)(D)==="object"?Q=D:Q={externalGetKey:D},Q=Q||{};var j=Q,ve=j.childrenPropName,xe=j.externalGetKey,ye=j.fieldNames,le=b(ye),oe=le.key,H=le.children,be=ve||H,J;xe?typeof xe=="string"?J=function(v){return v[xe]}:typeof xe=="function"&&(J=function(v){return xe(v)}):J=function(v,_){return y(v[oe],_)};function me(ae,v,_,Y){var q=ae?ae[be]:X,Pe=ae?M(_.pos,v):"0",Le=ae?[].concat((0,O.Z)(Y),[ae]):[];if(ae){var Ue=J(ae,Pe),$e={node:ae,index:v,pos:Pe,key:Ue,parentPos:_.node?_.pos:null,level:_.level+1,nodes:Le};L($e)}q&&q.forEach(function(ut,dt){me(ut,dt,{node:ae,pos:Pe,level:_?_.level+1:-1},Le)})}me(null)}function B(X){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=L.initWrapper,Q=L.processEntity,j=L.onProcessFinished,ve=L.externalGetKey,xe=L.childrenPropName,ye=L.fieldNames,le=arguments.length>2?arguments[2]:void 0,oe=ve||le,H={},be={},J={posEntities:H,keyEntities:be};return D&&(J=D(J)||J),pe(X,function(me){var ae=me.node,v=me.index,_=me.pos,Y=me.key,q=me.parentPos,Pe=me.level,Le=me.nodes,Ue={node:ae,nodes:Le,index:v,key:Y,pos:_,level:Pe},$e=y(Y,_);H[_]=Ue,be[$e]=Ue,Ue.parent=H[q],Ue.parent&&(Ue.parent.children=Ue.parent.children||[],Ue.parent.children.push(Ue)),Q&&Q(Ue,J)},{externalGetKey:oe,childrenPropName:xe,fieldNames:ye}),j&&j(J),J}function Z(X,L){var D=L.expandedKeys,Q=L.selectedKeys,j=L.loadedKeys,ve=L.loadingKeys,xe=L.checkedKeys,ye=L.halfCheckedKeys,le=L.dragOverNodeKey,oe=L.dropPosition,H=L.keyEntities,be=(0,he.Z)(H,X),J={eventKey:X,expanded:D.indexOf(X)!==-1,selected:Q.indexOf(X)!==-1,loaded:j.indexOf(X)!==-1,loading:ve.indexOf(X)!==-1,checked:xe.indexOf(X)!==-1,halfChecked:ye.indexOf(X)!==-1,pos:String(be?be.pos:""),dragOver:le===X&&oe===0,dragOverGapTop:le===X&&oe===-1,dragOverGapBottom:le===X&&oe===1};return J}function ie(X){var L=X.data,D=X.expanded,Q=X.selected,j=X.checked,ve=X.loaded,xe=X.loading,ye=X.halfChecked,le=X.dragOver,oe=X.dragOverGapTop,H=X.dragOverGapBottom,be=X.pos,J=X.active,me=X.eventKey,ae=(0,re.Z)((0,re.Z)({},L),{},{expanded:D,selected:Q,checked:j,loaded:ve,loading:xe,halfChecked:ye,dragOver:le,dragOverGapTop:oe,dragOverGapBottom:H,pos:be,active:J,key:me});return"props"in ae||Object.defineProperty(ae,"props",{get:function(){return(0,w.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),X}}),ae}},8224:function(an,it,f){"use strict";f.d(it,{Z:function(){return O}});var g=f(4676);function O(re,ge,F,m){var w=g.unstable_batchedUpdates?function(o){g.unstable_batchedUpdates(F,o)}:F;return re!=null&&re.addEventListener&&re.addEventListener(ge,w,m),{remove:function(){re!=null&&re.removeEventListener&&re.removeEventListener(ge,w,m)}}}},55468:function(an,it,f){"use strict";f.d(it,{g1:function(){return W},os:function(){return b}});var g=/margin|padding|width|height|max|min|offset/,O={left:!0,top:!0},re={cssFloat:1,styleFloat:1,float:1};function ge(A){return A.nodeType===1?A.ownerDocument.defaultView.getComputedStyle(A,null):{}}function F(A,C,K){if(C=C.toLowerCase(),K==="auto"){if(C==="height")return A.offsetHeight;if(C==="width")return A.offsetWidth}return C in O||(O[C]=g.test(C)),O[C]?parseFloat(K)||0:K}function m(A,C){var K=arguments.length,pe=ge(A);return C=re[C]?"cssFloat"in A.style?"cssFloat":"styleFloat":C,K===1?pe:F(A,C,pe[C]||A.style[C])}function w(A,C,K){var pe=arguments.length;if(C=re[C]?"cssFloat"in A.style?"cssFloat":"styleFloat":C,pe===3)return typeof K=="number"&&g.test(C)&&(K="".concat(K,"px")),A.style[C]=K,K;for(var B in C)C.hasOwnProperty(B)&&w(A,B,C[B]);return ge(A)}function he(A){return A===document.body?document.documentElement.clientWidth:A.offsetWidth}function o(A){return A===document.body?window.innerHeight||document.documentElement.clientHeight:A.offsetHeight}function M(){var A=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),C=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:A,height:C}}function W(){var A=document.documentElement.clientWidth,C=window.innerHeight||document.documentElement.clientHeight;return{width:A,height:C}}function y(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function b(A){var C=A.getBoundingClientRect(),K=document.documentElement;return{left:C.left+(window.pageXOffset||K.scrollLeft)-(K.clientLeft||document.body.clientLeft||0),top:C.top+(window.pageYOffset||K.scrollTop)-(K.clientTop||document.body.clientTop||0)}}},24514:function(an,it,f){"use strict";f.d(it,{G:function(){return ge}});var g=f(47273),O=function(m){if((0,g.Z)()&&window.document.documentElement){var w=Array.isArray(m)?m:[m],he=window.document.documentElement;return w.some(function(o){return o in he.style})}return!1},re=function(m,w){if(!O(m))return!1;var he=document.createElement("div"),o=he.style[m];return he.style[m]=w,he.style[m]!==o};function ge(F,m){return!Array.isArray(F)&&m!==void 0?re(F,m):O(F)}},49658:function(an,it){"use strict";it.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var f=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(f)||/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(f==null?void 0:f.substr(0,4))}},45680:function(an,it,f){"use strict";f.d(it,{Z:function(){return Nt}});var g=f(72308),O=f(62853),re=f(77321),ge=f(49618),F=f(52487),m=f(74416),w=f(92310),he=f.n(w),o=f(29301),M=f(70425),W=f(34280),y=f(59301),b=f(4676),A=y.forwardRef(function(lt,wt){var de=lt.height,fe=lt.offsetY,G=lt.offsetX,U=lt.children,we=lt.prefixCls,P=lt.onInnerResize,T=lt.innerProps,I=lt.rtl,ne=lt.extra,$={},V={display:"flex",flexDirection:"column"};return fe!==void 0&&($={height:de,position:"relative",overflow:"hidden"},V=(0,re.Z)((0,re.Z)({},V),{},(0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)((0,ge.Z)({transform:"translateY(".concat(fe,"px)")},I?"marginRight":"marginLeft",-G),"position","absolute"),"left",0),"right",0),"top",0))),y.createElement("div",{style:$},y.createElement(o.Z,{onResize:function(He){var Ie=He.offsetHeight;Ie&&P&&P()}},y.createElement("div",(0,g.Z)({style:V,className:he()((0,ge.Z)({},"".concat(we,"-holder-inner"),we)),ref:wt},T),U,ne)))});A.displayName="Filler";var C=A;function K(lt){var wt=lt.children,de=lt.setRef,fe=y.useCallback(function(G){de(G)},[]);return y.cloneElement(wt,{ref:fe})}function pe(lt,wt,de,fe,G,U,we,P){var T=P.getKey;return lt.slice(wt,de+1).map(function(I,ne){var $=wt+ne,V=we(I,$,{style:{width:fe},offsetX:G}),Te=T(I);return y.createElement(K,{key:Te,setRef:function(Ie){return U(I,Ie)}},V)})}function B(lt,wt,de,fe){var G=de-lt,U=wt-de,we=Math.min(G,U)*2;if(fe<=we){var P=Math.floor(fe/2);return fe%2?de+P+1:de-P}return G>U?de-(fe-U):de+(fe-G)}function Z(lt,wt,de){var fe=lt.length,G=wt.length,U,we;if(fe===0&&G===0)return null;fe<G?(U=lt,we=wt):(U=wt,we=lt);var P={__EMPTY_ITEM__:!0};function T(He){return He!==void 0?de(He):P}for(var I=null,ne=Math.abs(fe-G)!==1,$=0;$<we.length;$+=1){var V=T(U[$]),Te=T(we[$]);if(V!==Te){I=$,ne=ne||V!==T(we[$+1]);break}}return I===null?null:{index:I,multiple:ne}}function ie(lt,wt,de){var fe=y.useState(lt),G=(0,F.Z)(fe,2),U=G[0],we=G[1],P=y.useState(null),T=(0,F.Z)(P,2),I=T[0],ne=T[1];return y.useEffect(function(){var $=Z(U||[],lt||[],wt);($==null?void 0:$.index)!==void 0&&(de==null||de($.index),ne(lt[$.index])),we(lt)},[lt]),[I]}var X=f(16089),L=(typeof navigator=="undefined"?"undefined":(0,O.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),D=L,Q=function(lt,wt,de,fe){var G=(0,y.useRef)(!1),U=(0,y.useRef)(null);function we(){clearTimeout(U.current),G.current=!0,U.current=setTimeout(function(){G.current=!1},50)}var P=(0,y.useRef)({top:lt,bottom:wt,left:de,right:fe});return P.current.top=lt,P.current.bottom=wt,P.current.left=de,P.current.right=fe,function(T,I){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,$=T?I<0&&P.current.left||I>0&&P.current.right:I<0&&P.current.top||I>0&&P.current.bottom;return ne&&$?(clearTimeout(U.current),G.current=!1):(!$||G.current)&&we(),!G.current&&$}};function j(lt,wt,de,fe,G,U,we){var P=(0,y.useRef)(0),T=(0,y.useRef)(null),I=(0,y.useRef)(null),ne=(0,y.useRef)(!1),$=Q(wt,de,fe,G);function V(Ze,Ve){if(X.Z.cancel(T.current),!$(!1,Ve)){var xt=Ze;if(!xt._virtualHandled)xt._virtualHandled=!0;else return;P.current+=Ve,I.current=Ve,D||xt.preventDefault(),T.current=(0,X.Z)(function(){var Ct=ne.current?10:1;we(P.current*Ct,!1),P.current=0})}}function Te(Ze,Ve){we(Ve,!0),D||Ze.preventDefault()}var He=(0,y.useRef)(null),Ie=(0,y.useRef)(null);function Fe(Ze){if(lt){X.Z.cancel(Ie.current),Ie.current=(0,X.Z)(function(){He.current=null},2);var Ve=Ze.deltaX,xt=Ze.deltaY,Ct=Ze.shiftKey,ft=Ve,Ot=xt;(He.current==="sx"||!He.current&&Ct&&xt&&!Ve)&&(ft=xt,Ot=0,He.current="sx");var Kt=Math.abs(ft),R=Math.abs(Ot);He.current===null&&(He.current=U&&Kt>R?"x":"y"),He.current==="y"?V(Ze,Ot):Te(Ze,ft)}}function Qe(Ze){lt&&(ne.current=Ze.detail===I.current)}return[Fe,Qe]}function ve(lt,wt,de,fe){var G=y.useMemo(function(){return[new Map,[]]},[lt,de.id,fe]),U=(0,F.Z)(G,2),we=U[0],P=U[1],T=function(ne){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ne,V=we.get(ne),Te=we.get($);if(V===void 0||Te===void 0)for(var He=lt.length,Ie=P.length;Ie<He;Ie+=1){var Fe,Qe=lt[Ie],Ze=wt(Qe);we.set(Ze,Ie);var Ve=(Fe=de.get(Ze))!==null&&Fe!==void 0?Fe:fe;if(P[Ie]=(P[Ie-1]||0)+Ve,Ze===ne&&(V=Ie),Ze===$&&(Te=Ie),V!==void 0&&Te!==void 0)break}return{top:P[V-1]||0,bottom:P[Te]}};return T}var xe=f(96949),ye=f(55090),le=function(){function lt(){(0,xe.Z)(this,lt),(0,ge.Z)(this,"maps",void 0),(0,ge.Z)(this,"id",0),(0,ge.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,ye.Z)(lt,[{key:"set",value:function(de,fe){this.maps[de]=fe,this.id+=1,this.diffKeys.add(de)}},{key:"get",value:function(de){return this.maps[de]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),lt}(),oe=le;function H(lt){var wt=parseFloat(lt);return isNaN(wt)?0:wt}function be(lt,wt,de){var fe=y.useState(0),G=(0,F.Z)(fe,2),U=G[0],we=G[1],P=(0,y.useRef)(new Map),T=(0,y.useRef)(new oe),I=(0,y.useRef)(0);function ne(){I.current+=1}function $(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;ne();var He=function(){var Qe=!1;P.current.forEach(function(Ze,Ve){if(Ze&&Ze.offsetParent){var xt=Ze.offsetHeight,Ct=getComputedStyle(Ze),ft=Ct.marginTop,Ot=Ct.marginBottom,Kt=H(ft),R=H(Ot),k=xt+Kt+R;T.current.get(Ve)!==k&&(T.current.set(Ve,k),Qe=!0)}}),Qe&&we(function(Ze){return Ze+1})};if(Te)He();else{I.current+=1;var Ie=I.current;Promise.resolve().then(function(){Ie===I.current&&He()})}}function V(Te,He){var Ie=lt(Te),Fe=P.current.get(Ie);He?(P.current.set(Ie,He),$()):P.current.delete(Ie),!Fe!=!He&&(He?wt==null||wt(Te):de==null||de(Te))}return(0,y.useEffect)(function(){return ne},[]),[V,$,T.current,U]}var J=14/15;function me(lt,wt,de){var fe=(0,y.useRef)(!1),G=(0,y.useRef)(0),U=(0,y.useRef)(0),we=(0,y.useRef)(null),P=(0,y.useRef)(null),T,I=function(Te){if(fe.current){var He=Math.ceil(Te.touches[0].pageX),Ie=Math.ceil(Te.touches[0].pageY),Fe=G.current-He,Qe=U.current-Ie,Ze=Math.abs(Fe)>Math.abs(Qe);Ze?G.current=He:U.current=Ie;var Ve=de(Ze,Ze?Fe:Qe,!1,Te);Ve&&Te.preventDefault(),clearInterval(P.current),Ve&&(P.current=setInterval(function(){Ze?Fe*=J:Qe*=J;var xt=Math.floor(Ze?Fe:Qe);(!de(Ze,xt,!0)||Math.abs(xt)<=.1)&&clearInterval(P.current)},16))}},ne=function(){fe.current=!1,T()},$=function(Te){T(),Te.touches.length===1&&!fe.current&&(fe.current=!0,G.current=Math.ceil(Te.touches[0].pageX),U.current=Math.ceil(Te.touches[0].pageY),we.current=Te.target,we.current.addEventListener("touchmove",I,{passive:!1}),we.current.addEventListener("touchend",ne,{passive:!0}))};T=function(){we.current&&(we.current.removeEventListener("touchmove",I),we.current.removeEventListener("touchend",ne))},(0,W.Z)(function(){return lt&&wt.current.addEventListener("touchstart",$,{passive:!0}),function(){var V;(V=wt.current)===null||V===void 0||V.removeEventListener("touchstart",$),T(),clearInterval(P.current)}},[lt])}function ae(lt){return Math.floor(Math.pow(lt,.5))}function v(lt,wt){var de="touches"in lt?lt.touches[0]:lt;return de[wt?"pageX":"pageY"]-window[wt?"scrollX":"scrollY"]}function _(lt,wt,de){y.useEffect(function(){var fe=wt.current;if(lt&&fe){var G=!1,U,we,P=function(){X.Z.cancel(U)},T=function V(){P(),U=(0,X.Z)(function(){de(we),V()})},I=function(Te){if(!(Te.target.draggable||Te.button!==0)){var He=Te;He._virtualHandled||(He._virtualHandled=!0,G=!0)}},ne=function(){G=!1,P()},$=function(Te){if(G){var He=v(Te,!1),Ie=fe.getBoundingClientRect(),Fe=Ie.top,Qe=Ie.bottom;if(He<=Fe){var Ze=Fe-He;we=-ae(Ze),T()}else if(He>=Qe){var Ve=He-Qe;we=ae(Ve),T()}else P()}};return fe.addEventListener("mousedown",I),fe.ownerDocument.addEventListener("mouseup",ne),fe.ownerDocument.addEventListener("mousemove",$),function(){fe.removeEventListener("mousedown",I),fe.ownerDocument.removeEventListener("mouseup",ne),fe.ownerDocument.removeEventListener("mousemove",$),P()}}},[lt])}var Y=10;function q(lt,wt,de,fe,G,U,we,P){var T=y.useRef(),I=y.useState(null),ne=(0,F.Z)(I,2),$=ne[0],V=ne[1];return(0,W.Z)(function(){if($&&$.times<Y){if(!lt.current){V(function(Me){return(0,re.Z)({},Me)});return}U();var Te=$.targetAlign,He=$.originAlign,Ie=$.index,Fe=$.offset,Qe=lt.current.clientHeight,Ze=!1,Ve=Te,xt=null;if(Qe){for(var Ct=Te||He,ft=0,Ot=0,Kt=0,R=Math.min(wt.length-1,Ie),k=0;k<=R;k+=1){var bt=G(wt[k]);Ot=ft;var Se=de.get(bt);Kt=Ot+(Se===void 0?fe:Se),ft=Kt}for(var Ke=Ct==="top"?Fe:Qe-Fe,vn=R;vn>=0;vn-=1){var qe=G(wt[vn]),et=de.get(qe);if(et===void 0){Ze=!0;break}if(Ke-=et,Ke<=0)break}switch(Ct){case"top":xt=Ot-Fe;break;case"bottom":xt=Kt-Qe+Fe;break;default:{var Xe=lt.current.scrollTop,_e=Xe+Qe;Ot<Xe?Ve="top":Kt>_e&&(Ve="bottom")}}xt!==null&&we(xt),xt!==$.lastTop&&(Ze=!0)}Ze&&V((0,re.Z)((0,re.Z)({},$),{},{times:$.times+1,targetAlign:Ve,lastTop:xt}))}},[$,lt.current]),function(Te){if(Te==null){P();return}if(X.Z.cancel(T.current),typeof Te=="number")we(Te);else if(Te&&(0,O.Z)(Te)==="object"){var He,Ie=Te.align;"index"in Te?He=Te.index:He=wt.findIndex(function(Ze){return G(Ze)===Te.key});var Fe=Te.offset,Qe=Fe===void 0?0:Fe;V({times:0,index:He,offset:Qe,originAlign:Ie})}}}var Pe=y.forwardRef(function(lt,wt){var de=lt.prefixCls,fe=lt.rtl,G=lt.scrollOffset,U=lt.scrollRange,we=lt.onStartMove,P=lt.onStopMove,T=lt.onScroll,I=lt.horizontal,ne=lt.spinSize,$=lt.containerSize,V=lt.style,Te=lt.thumbStyle,He=lt.showScrollBar,Ie=y.useState(!1),Fe=(0,F.Z)(Ie,2),Qe=Fe[0],Ze=Fe[1],Ve=y.useState(null),xt=(0,F.Z)(Ve,2),Ct=xt[0],ft=xt[1],Ot=y.useState(null),Kt=(0,F.Z)(Ot,2),R=Kt[0],k=Kt[1],bt=!fe,Se=y.useRef(),Ke=y.useRef(),vn=y.useState(He),qe=(0,F.Z)(vn,2),et=qe[0],Xe=qe[1],_e=y.useRef(),Me=function(){He===!0||He===!1||(clearTimeout(_e.current),Xe(!0),_e.current=setTimeout(function(){Xe(!1)},3e3))},Oe=U-$||0,rt=$-ne||0,Ae=y.useMemo(function(){if(G===0||Oe===0)return 0;var We=G/Oe;return We*rt},[G,Oe,rt]),rn=function(_t){_t.stopPropagation(),_t.preventDefault()},Ge=y.useRef({top:Ae,dragging:Qe,pageY:Ct,startTop:R});Ge.current={top:Ae,dragging:Qe,pageY:Ct,startTop:R};var En=function(_t){Ze(!0),ft(v(_t,I)),k(Ge.current.top),we(),_t.stopPropagation(),_t.preventDefault()};y.useEffect(function(){var We=function(Re){Re.preventDefault()},_t=Se.current,Et=Ke.current;return _t.addEventListener("touchstart",We,{passive:!1}),Et.addEventListener("touchstart",En,{passive:!1}),function(){_t.removeEventListener("touchstart",We),Et.removeEventListener("touchstart",En)}},[]);var Dn=y.useRef();Dn.current=Oe;var tn=y.useRef();tn.current=rt,y.useEffect(function(){if(Qe){var We,_t=function(Re){var pt=Ge.current,mt=pt.dragging,Ft=pt.pageY,Ht=pt.startTop;X.Z.cancel(We);var sn=Se.current.getBoundingClientRect(),Yt=$/(I?sn.width:sn.height);if(mt){var ln=(v(Re,I)-Ft)*Yt,mn=Ht;!bt&&I?mn-=ln:mn+=ln;var An=Dn.current,Zt=tn.current,Xt=Zt?mn/Zt:0,on=Math.ceil(Xt*An);on=Math.max(on,0),on=Math.min(on,An),We=(0,X.Z)(function(){T(on,I)})}},Et=function(){Ze(!1),P()};return window.addEventListener("mousemove",_t,{passive:!0}),window.addEventListener("touchmove",_t,{passive:!0}),window.addEventListener("mouseup",Et,{passive:!0}),window.addEventListener("touchend",Et,{passive:!0}),function(){window.removeEventListener("mousemove",_t),window.removeEventListener("touchmove",_t),window.removeEventListener("mouseup",Et),window.removeEventListener("touchend",Et),X.Z.cancel(We)}}},[Qe]),y.useEffect(function(){return Me(),function(){clearTimeout(_e.current)}},[G]),y.useImperativeHandle(wt,function(){return{delayHidden:Me}});var Wt="".concat(de,"-scrollbar"),It={position:"absolute",visibility:et?null:"hidden"},Bt={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return I?(It.height=8,It.left=0,It.right=0,It.bottom=0,Bt.height="100%",Bt.width=ne,bt?Bt.left=Ae:Bt.right=Ae):(It.width=8,It.top=0,It.bottom=0,bt?It.right=0:It.left=0,Bt.width="100%",Bt.height=ne,Bt.top=Ae),y.createElement("div",{ref:Se,className:he()(Wt,(0,ge.Z)((0,ge.Z)((0,ge.Z)({},"".concat(Wt,"-horizontal"),I),"".concat(Wt,"-vertical"),!I),"".concat(Wt,"-visible"),et)),style:(0,re.Z)((0,re.Z)({},It),V),onMouseDown:rn,onMouseMove:Me},y.createElement("div",{ref:Ke,className:he()("".concat(Wt,"-thumb"),(0,ge.Z)({},"".concat(Wt,"-thumb-moving"),Qe)),style:(0,re.Z)((0,re.Z)({},Bt),Te),onMouseDown:En}))}),Le=Pe,Ue=20;function $e(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,de=lt/wt*lt;return isNaN(de)&&(de=0),de=Math.max(de,Ue),Math.floor(de)}var ut=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],dt=[],at={overflowY:"auto",overflowAnchor:"none"};function Pt(lt,wt){var de=lt.prefixCls,fe=de===void 0?"rc-virtual-list":de,G=lt.className,U=lt.height,we=lt.itemHeight,P=lt.fullHeight,T=P===void 0?!0:P,I=lt.style,ne=lt.data,$=lt.children,V=lt.itemKey,Te=lt.virtual,He=lt.direction,Ie=lt.scrollWidth,Fe=lt.component,Qe=Fe===void 0?"div":Fe,Ze=lt.onScroll,Ve=lt.onVirtualScroll,xt=lt.onVisibleChange,Ct=lt.innerProps,ft=lt.extraRender,Ot=lt.styles,Kt=lt.showScrollBar,R=Kt===void 0?"optional":Kt,k=(0,m.Z)(lt,ut),bt=y.useCallback(function(jn){return typeof V=="function"?V(jn):jn==null?void 0:jn[V]},[V]),Se=be(bt,null,null),Ke=(0,F.Z)(Se,4),vn=Ke[0],qe=Ke[1],et=Ke[2],Xe=Ke[3],_e=!!(Te!==!1&&U&&we),Me=y.useMemo(function(){return Object.values(et.maps).reduce(function(jn,On){return jn+On},0)},[et.id,et.maps]),Oe=_e&&ne&&(Math.max(we*ne.length,Me)>U||!!Ie),rt=He==="rtl",Ae=he()(fe,(0,ge.Z)({},"".concat(fe,"-rtl"),rt),G),rn=ne||dt,Ge=(0,y.useRef)(),En=(0,y.useRef)(),Dn=(0,y.useRef)(),tn=(0,y.useState)(0),Wt=(0,F.Z)(tn,2),It=Wt[0],Bt=Wt[1],We=(0,y.useState)(0),_t=(0,F.Z)(We,2),Et=_t[0],Be=_t[1],Re=(0,y.useState)(!1),pt=(0,F.Z)(Re,2),mt=pt[0],Ft=pt[1],Ht=function(){Ft(!0)},sn=function(){Ft(!1)},Yt={getKey:bt};function ln(jn){Bt(function(On){var Er;typeof jn=="function"?Er=jn(On):Er=jn;var Or=Vn(Er);return Ge.current.scrollTop=Or,Or})}var mn=(0,y.useRef)({start:0,end:rn.length}),An=(0,y.useRef)(),Zt=ie(rn,bt),Xt=(0,F.Z)(Zt,1),on=Xt[0];An.current=on;var gn=y.useMemo(function(){if(!_e)return{scrollHeight:void 0,start:0,end:rn.length-1,offset:void 0};if(!Oe){var jn;return{scrollHeight:((jn=En.current)===null||jn===void 0?void 0:jn.offsetHeight)||0,start:0,end:rn.length-1,offset:void 0}}for(var On=0,Er,Or,ti,Ii=rn.length,Gn=0;Gn<Ii;Gn+=1){var ri=rn[Gn],Qr=bt(ri),di=et.get(Qr),Oi=On+(di===void 0?we:di);Oi>=It&&Er===void 0&&(Er=Gn,Or=On),Oi>It+U&&ti===void 0&&(ti=Gn),On=Oi}return Er===void 0&&(Er=0,Or=0,ti=Math.ceil(U/we)),ti===void 0&&(ti=rn.length-1),ti=Math.min(ti+1,rn.length-1),{scrollHeight:On,start:Er,end:ti,offset:Or}},[Oe,_e,It,rn,Xe,U]),fn=gn.scrollHeight,Qn=gn.start,kn=gn.end,cn=gn.offset;mn.current.start=Qn,mn.current.end=kn,y.useLayoutEffect(function(){var jn=et.getRecord();if(jn.size===1){var On=Array.from(jn)[0],Er=rn[Qn];if(Er){var Or=bt(Er);if(Or===On){var ti=et.get(On),Ii=ti-we;ln(function(Gn){return Gn+Ii})}}}et.resetRecord()},[fn]);var ht=y.useState({width:0,height:U}),yt=(0,F.Z)(ht,2),Dt=yt[0],jt=yt[1],Ut=function(On){jt({width:On.offsetWidth,height:On.offsetHeight})},dn=(0,y.useRef)(),Gt=(0,y.useRef)(),yn=y.useMemo(function(){return $e(Dt.width,Ie)},[Dt.width,Ie]),Tn=y.useMemo(function(){return $e(Dt.height,fn)},[Dt.height,fn]),Ln=fn-U,qn=(0,y.useRef)(Ln);qn.current=Ln;function Vn(jn){var On=jn;return Number.isNaN(qn.current)||(On=Math.min(On,qn.current)),On=Math.max(On,0),On}var fr=It<=0,Rn=It>=Ln,In=Et<=0,mr=Et>=Ie,gr=Q(fr,Rn,In,mr),Dr=function(){return{x:rt?-Et:Et,y:It}},ar=(0,y.useRef)(Dr()),sr=(0,M.useEvent)(function(jn){if(Ve){var On=(0,re.Z)((0,re.Z)({},Dr()),jn);(ar.current.x!==On.x||ar.current.y!==On.y)&&(Ve(On),ar.current=On)}});function wr(jn,On){var Er=jn;On?((0,b.flushSync)(function(){Be(Er)}),sr()):ln(Er)}function ir(jn){var On=jn.currentTarget.scrollTop;On!==It&&ln(On),Ze==null||Ze(jn),sr()}var Pr=function(On){var Er=On,Or=Ie?Ie-Dt.width:0;return Er=Math.max(Er,0),Er=Math.min(Er,Or),Er},ei=(0,M.useEvent)(function(jn,On){On?((0,b.flushSync)(function(){Be(function(Er){var Or=Er+(rt?-jn:jn);return Pr(Or)})}),sr()):ln(function(Er){var Or=Er+jn;return Or})}),er=j(_e,fr,Rn,In,mr,!!Ie,ei),Hn=(0,F.Z)(er,2),gt=Hn[0],Bn=Hn[1];me(_e,Ge,function(jn,On,Er,Or){var ti=Or;return gr(jn,On,Er)?!1:!ti||!ti._virtualHandled?(ti&&(ti._virtualHandled=!0),gt({preventDefault:function(){},deltaX:jn?On:0,deltaY:jn?0:On}),!0):!1}),_(Oe,Ge,function(jn){ln(function(On){return On+jn})}),(0,W.Z)(function(){function jn(Er){var Or=fr&&Er.detail<0,ti=Rn&&Er.detail>0;_e&&!Or&&!ti&&Er.preventDefault()}var On=Ge.current;return On.addEventListener("wheel",gt,{passive:!1}),On.addEventListener("DOMMouseScroll",Bn,{passive:!0}),On.addEventListener("MozMousePixelScroll",jn,{passive:!1}),function(){On.removeEventListener("wheel",gt),On.removeEventListener("DOMMouseScroll",Bn),On.removeEventListener("MozMousePixelScroll",jn)}},[_e,fr,Rn]),(0,W.Z)(function(){if(Ie){var jn=Pr(Et);Be(jn),sr({x:jn})}},[Dt.width,Ie]);var lr=function(){var On,Er;(On=dn.current)===null||On===void 0||On.delayHidden(),(Er=Gt.current)===null||Er===void 0||Er.delayHidden()},nr=q(Ge,rn,et,we,bt,function(){return qe(!0)},ln,lr);y.useImperativeHandle(wt,function(){return{nativeElement:Dn.current,getScrollInfo:Dr,scrollTo:function(On){function Er(Or){return Or&&(0,O.Z)(Or)==="object"&&("left"in Or||"top"in Or)}Er(On)?(On.left!==void 0&&Be(Pr(On.left)),nr(On.top)):nr(On)}}}),(0,W.Z)(function(){if(xt){var jn=rn.slice(Qn,kn+1);xt(jn,rn)}},[Qn,kn,rn]);var Fr=ve(rn,bt,et,we),zr=ft==null?void 0:ft({start:Qn,end:kn,virtual:Oe,offsetX:Et,offsetY:cn,rtl:rt,getSize:Fr}),Zr=pe(rn,Qn,kn,Ie,Et,vn,$,Yt),hr=null;U&&(hr=(0,re.Z)((0,ge.Z)({},T?"height":"maxHeight",U),at),_e&&(hr.overflowY="hidden",Ie&&(hr.overflowX="hidden"),mt&&(hr.pointerEvents="none")));var Yr={};return rt&&(Yr.dir="rtl"),y.createElement("div",(0,g.Z)({ref:Dn,style:(0,re.Z)((0,re.Z)({},I),{},{position:"relative"}),className:Ae},Yr,k),y.createElement(o.Z,{onResize:Ut},y.createElement(Qe,{className:"".concat(fe,"-holder"),style:hr,ref:Ge,onScroll:ir,onMouseEnter:lr},y.createElement(C,{prefixCls:fe,height:fn,offsetX:Et,offsetY:cn,scrollWidth:Ie,onInnerResize:qe,ref:En,innerProps:Ct,rtl:rt,extra:zr},Zr))),Oe&&fn>U&&y.createElement(Le,{ref:dn,prefixCls:fe,scrollOffset:It,scrollRange:fn,rtl:rt,onScroll:wr,onStartMove:Ht,onStopMove:sn,spinSize:Tn,containerSize:Dt.height,style:Ot==null?void 0:Ot.verticalScrollBar,thumbStyle:Ot==null?void 0:Ot.verticalScrollBarThumb,showScrollBar:R}),Oe&&Ie>Dt.width&&y.createElement(Le,{ref:Gt,prefixCls:fe,scrollOffset:Et,scrollRange:Ie,rtl:rt,onScroll:wr,onStartMove:Ht,onStopMove:sn,spinSize:yn,containerSize:Dt.width,horizontal:!0,style:Ot==null?void 0:Ot.horizontalScrollBar,thumbStyle:Ot==null?void 0:Ot.horizontalScrollBarThumb,showScrollBar:R}))}var nn=y.forwardRef(Pt);nn.displayName="List";var kt=nn,Nt=kt},83145:function(an,it,f){"use strict";Object.defineProperty(it,"__esModule",{value:!0}),it.CopyToClipboard=void 0;var g=re(f(59301)),O=re(f(25769));function re(Z){return Z&&Z.__esModule?Z:{default:Z}}function ge(Z){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ge=function(X){return typeof X}:ge=function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},ge(Z)}function F(Z,ie){var X=Object.keys(Z);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(Z);ie&&(L=L.filter(function(D){return Object.getOwnPropertyDescriptor(Z,D).enumerable})),X.push.apply(X,L)}return X}function m(Z){for(var ie=1;ie<arguments.length;ie++){var X=arguments[ie]!=null?arguments[ie]:{};ie%2?F(X,!0).forEach(function(L){pe(Z,L,X[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Z,Object.getOwnPropertyDescriptors(X)):F(X).forEach(function(L){Object.defineProperty(Z,L,Object.getOwnPropertyDescriptor(X,L))})}return Z}function w(Z,ie){if(Z==null)return{};var X=he(Z,ie),L,D;if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(Z);for(D=0;D<Q.length;D++)L=Q[D],!(ie.indexOf(L)>=0)&&Object.prototype.propertyIsEnumerable.call(Z,L)&&(X[L]=Z[L])}return X}function he(Z,ie){if(Z==null)return{};var X={},L=Object.keys(Z),D,Q;for(Q=0;Q<L.length;Q++)D=L[Q],!(ie.indexOf(D)>=0)&&(X[D]=Z[D]);return X}function o(Z,ie){if(!(Z instanceof ie))throw new TypeError("Cannot call a class as a function")}function M(Z,ie){for(var X=0;X<ie.length;X++){var L=ie[X];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(Z,L.key,L)}}function W(Z,ie,X){return ie&&M(Z.prototype,ie),X&&M(Z,X),Z}function y(Z,ie){return ie&&(ge(ie)==="object"||typeof ie=="function")?ie:A(Z)}function b(Z){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(X){return X.__proto__||Object.getPrototypeOf(X)},b(Z)}function A(Z){if(Z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z}function C(Z,ie){if(typeof ie!="function"&&ie!==null)throw new TypeError("Super expression must either be null or a function");Z.prototype=Object.create(ie&&ie.prototype,{constructor:{value:Z,writable:!0,configurable:!0}}),ie&&K(Z,ie)}function K(Z,ie){return K=Object.setPrototypeOf||function(L,D){return L.__proto__=D,L},K(Z,ie)}function pe(Z,ie,X){return ie in Z?Object.defineProperty(Z,ie,{value:X,enumerable:!0,configurable:!0,writable:!0}):Z[ie]=X,Z}var B=function(Z){C(ie,Z);function ie(){var X,L;o(this,ie);for(var D=arguments.length,Q=new Array(D),j=0;j<D;j++)Q[j]=arguments[j];return L=y(this,(X=b(ie)).call.apply(X,[this].concat(Q))),pe(A(L),"onClick",function(ve){var xe=L.props,ye=xe.text,le=xe.onCopy,oe=xe.children,H=xe.options,be=g.default.Children.only(oe),J=(0,O.default)(ye,H);le&&le(ye,J),be&&be.props&&typeof be.props.onClick=="function"&&be.props.onClick(ve)}),L}return W(ie,[{key:"render",value:function(){var L=this.props,D=L.text,Q=L.onCopy,j=L.options,ve=L.children,xe=w(L,["text","onCopy","options","children"]),ye=g.default.Children.only(ve);return g.default.cloneElement(ye,m({},xe,{onClick:this.onClick}))}}]),ie}(g.default.PureComponent);it.CopyToClipboard=B,pe(B,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(an,it,f){"use strict";var g=f(83145),O=g.CopyToClipboard;O.CopyToClipboard=O,an.exports=O},76374:function(an,it,f){"use strict";var g=function(){if(typeof Map!="undefined")return Map;function oe(H,be){var J=-1;return H.some(function(me,ae){return me[0]===be?(J=ae,!0):!1}),J}return function(){function H(){this.__entries__=[]}return Object.defineProperty(H.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),H.prototype.get=function(be){var J=oe(this.__entries__,be),me=this.__entries__[J];return me&&me[1]},H.prototype.set=function(be,J){var me=oe(this.__entries__,be);~me?this.__entries__[me][1]=J:this.__entries__.push([be,J])},H.prototype.delete=function(be){var J=this.__entries__,me=oe(J,be);~me&&J.splice(me,1)},H.prototype.has=function(be){return!!~oe(this.__entries__,be)},H.prototype.clear=function(){this.__entries__.splice(0)},H.prototype.forEach=function(be,J){J===void 0&&(J=null);for(var me=0,ae=this.__entries__;me<ae.length;me++){var v=ae[me];be.call(J,v[1],v[0])}},H}()}(),O=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,re=function(){return typeof f.g!="undefined"&&f.g.Math===Math?f.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),ge=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(re):function(oe){return setTimeout(function(){return oe(Date.now())},1e3/60)}}(),F=2;function m(oe,H){var be=!1,J=!1,me=0;function ae(){be&&(be=!1,oe()),J&&_()}function v(){ge(ae)}function _(){var Y=Date.now();if(be){if(Y-me<F)return;J=!0}else be=!0,J=!1,setTimeout(v,H);me=Y}return _}var w=20,he=["top","right","bottom","left","width","height","size","weight"],o=typeof MutationObserver!="undefined",M=function(){function oe(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=m(this.refresh.bind(this),w)}return oe.prototype.addObserver=function(H){~this.observers_.indexOf(H)||this.observers_.push(H),this.connected_||this.connect_()},oe.prototype.removeObserver=function(H){var be=this.observers_,J=be.indexOf(H);~J&&be.splice(J,1),!be.length&&this.connected_&&this.disconnect_()},oe.prototype.refresh=function(){var H=this.updateObservers_();H&&this.refresh()},oe.prototype.updateObservers_=function(){var H=this.observers_.filter(function(be){return be.gatherActive(),be.hasActive()});return H.forEach(function(be){return be.broadcastActive()}),H.length>0},oe.prototype.connect_=function(){!O||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),o?(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)},oe.prototype.disconnect_=function(){!O||!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)},oe.prototype.onTransitionEnd_=function(H){var be=H.propertyName,J=be===void 0?"":be,me=he.some(function(ae){return!!~J.indexOf(ae)});me&&this.refresh()},oe.getInstance=function(){return this.instance_||(this.instance_=new oe),this.instance_},oe.instance_=null,oe}(),W=function(oe,H){for(var be=0,J=Object.keys(H);be<J.length;be++){var me=J[be];Object.defineProperty(oe,me,{value:H[me],enumerable:!1,writable:!1,configurable:!0})}return oe},y=function(oe){var H=oe&&oe.ownerDocument&&oe.ownerDocument.defaultView;return H||re},b=D(0,0,0,0);function A(oe){return parseFloat(oe)||0}function C(oe){for(var H=[],be=1;be<arguments.length;be++)H[be-1]=arguments[be];return H.reduce(function(J,me){var ae=oe["border-"+me+"-width"];return J+A(ae)},0)}function K(oe){for(var H=["top","right","bottom","left"],be={},J=0,me=H;J<me.length;J++){var ae=me[J],v=oe["padding-"+ae];be[ae]=A(v)}return be}function pe(oe){var H=oe.getBBox();return D(0,0,H.width,H.height)}function B(oe){var H=oe.clientWidth,be=oe.clientHeight;if(!H&&!be)return b;var J=y(oe).getComputedStyle(oe),me=K(J),ae=me.left+me.right,v=me.top+me.bottom,_=A(J.width),Y=A(J.height);if(J.boxSizing==="border-box"&&(Math.round(_+ae)!==H&&(_-=C(J,"left","right")+ae),Math.round(Y+v)!==be&&(Y-=C(J,"top","bottom")+v)),!ie(oe)){var q=Math.round(_+ae)-H,Pe=Math.round(Y+v)-be;Math.abs(q)!==1&&(_-=q),Math.abs(Pe)!==1&&(Y-=Pe)}return D(me.left,me.top,_,Y)}var Z=function(){return typeof SVGGraphicsElement!="undefined"?function(oe){return oe instanceof y(oe).SVGGraphicsElement}:function(oe){return oe instanceof y(oe).SVGElement&&typeof oe.getBBox=="function"}}();function ie(oe){return oe===y(oe).document.documentElement}function X(oe){return O?Z(oe)?pe(oe):B(oe):b}function L(oe){var H=oe.x,be=oe.y,J=oe.width,me=oe.height,ae=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,v=Object.create(ae.prototype);return W(v,{x:H,y:be,width:J,height:me,top:be,right:H+J,bottom:me+be,left:H}),v}function D(oe,H,be,J){return{x:oe,y:H,width:be,height:J}}var Q=function(){function oe(H){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=D(0,0,0,0),this.target=H}return oe.prototype.isActive=function(){var H=X(this.target);return this.contentRect_=H,H.width!==this.broadcastWidth||H.height!==this.broadcastHeight},oe.prototype.broadcastRect=function(){var H=this.contentRect_;return this.broadcastWidth=H.width,this.broadcastHeight=H.height,H},oe}(),j=function(){function oe(H,be){var J=L(be);W(this,{target:H,contentRect:J})}return oe}(),ve=function(){function oe(H,be,J){if(this.activeObservations_=[],this.observations_=new g,typeof H!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=H,this.controller_=be,this.callbackCtx_=J}return oe.prototype.observe=function(H){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(H instanceof y(H).Element))throw new TypeError('parameter 1 is not of type "Element".');var be=this.observations_;be.has(H)||(be.set(H,new Q(H)),this.controller_.addObserver(this),this.controller_.refresh())}},oe.prototype.unobserve=function(H){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(H instanceof y(H).Element))throw new TypeError('parameter 1 is not of type "Element".');var be=this.observations_;be.has(H)&&(be.delete(H),be.size||this.controller_.removeObserver(this))}},oe.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},oe.prototype.gatherActive=function(){var H=this;this.clearActive(),this.observations_.forEach(function(be){be.isActive()&&H.activeObservations_.push(be)})},oe.prototype.broadcastActive=function(){if(this.hasActive()){var H=this.callbackCtx_,be=this.activeObservations_.map(function(J){return new j(J.target,J.broadcastRect())});this.callback_.call(H,be,H),this.clearActive()}},oe.prototype.clearActive=function(){this.activeObservations_.splice(0)},oe.prototype.hasActive=function(){return this.activeObservations_.length>0},oe}(),xe=typeof WeakMap!="undefined"?new WeakMap:new g,ye=function(){function oe(H){if(!(this instanceof oe))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var be=M.getInstance(),J=new ve(H,be,this);xe.set(this,J)}return oe}();["observe","unobserve","disconnect"].forEach(function(oe){ye.prototype[oe]=function(){var H;return(H=xe.get(this))[oe].apply(H,arguments)}});var le=function(){return typeof re.ResizeObserver!="undefined"?re.ResizeObserver:ye}();it.Z=le},98040:function(an){an.exports=function(){var it=document.getSelection();if(!it.rangeCount)return function(){};for(var f=document.activeElement,g=[],O=0;O<it.rangeCount;O++)g.push(it.getRangeAt(O));switch(f.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":f.blur();break;default:f=null;break}return it.removeAllRanges(),function(){it.type==="Caret"&&it.removeAllRanges(),it.rangeCount||g.forEach(function(re){it.addRange(re)}),f&&f.focus()}}},1012:function(an,it,f){"use strict";f.d(it,{Z:function(){return y}});var g=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),O=new Uint8Array(16);function re(){if(!g)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return g(O)}var ge=/^(?:[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(b){return typeof b=="string"&&ge.test(b)}for(var m=F,w=[],he=0;he<256;++he)w.push((he+256).toString(16).substr(1));function o(b){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,C=(w[b[A+0]]+w[b[A+1]]+w[b[A+2]]+w[b[A+3]]+"-"+w[b[A+4]]+w[b[A+5]]+"-"+w[b[A+6]]+w[b[A+7]]+"-"+w[b[A+8]]+w[b[A+9]]+"-"+w[b[A+10]]+w[b[A+11]]+w[b[A+12]]+w[b[A+13]]+w[b[A+14]]+w[b[A+15]]).toLowerCase();if(!m(C))throw TypeError("Stringified UUID is invalid");return C}var M=o;function W(b,A,C){b=b||{};var K=b.random||(b.rng||re)();if(K[6]=K[6]&15|64,K[8]=K[8]&63|128,A){C=C||0;for(var pe=0;pe<16;++pe)A[C+pe]=K[pe];return A}return M(K)}var y=W},93314:function(an){"use strict";an.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDu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7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},65157:function(an,it,f){"use strict";f.d(it,{ZP:function(){return Ys}});const g=Number.isFinite||function(s){return typeof s=="number"&&isFinite(s)},O=Number.isSafeInteger||function(s){return typeof s=="number"&&Math.abs(s)<=re},re=Number.MAX_SAFE_INTEGER||9007199254740991;let ge=function(s){return s.NETWORK_ERROR="networkError",s.MEDIA_ERROR="mediaError",s.KEY_SYSTEM_ERROR="keySystemError",s.MUX_ERROR="muxError",s.OTHER_ERROR="otherError",s}({}),F=function(s){return s.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",s.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",s.KEY_SYSTEM_NO_SESSION="keySystemNoSession",s.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",s.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",s.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",s.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",s.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",s.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",s.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",s.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",s.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",s.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",s.MANIFEST_LOAD_ERROR="manifestLoadError",s.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",s.MANIFEST_PARSING_ERROR="manifestParsingError",s.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",s.LEVEL_EMPTY_ERROR="levelEmptyError",s.LEVEL_LOAD_ERROR="levelLoadError",s.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",s.LEVEL_PARSING_ERROR="levelParsingError",s.LEVEL_SWITCH_ERROR="levelSwitchError",s.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",s.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",s.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",s.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",s.FRAG_LOAD_ERROR="fragLoadError",s.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",s.FRAG_DECRYPT_ERROR="fragDecryptError",s.FRAG_PARSING_ERROR="fragParsingError",s.FRAG_GAP="fragGap",s.REMUX_ALLOC_ERROR="remuxAllocError",s.KEY_LOAD_ERROR="keyLoadError",s.KEY_LOAD_TIMEOUT="keyLoadTimeOut",s.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",s.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",s.BUFFER_APPEND_ERROR="bufferAppendError",s.BUFFER_APPENDING_ERROR="bufferAppendingError",s.BUFFER_STALLED_ERROR="bufferStalledError",s.BUFFER_FULL_ERROR="bufferFullError",s.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",s.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",s.ASSET_LIST_LOAD_ERROR="assetListLoadError",s.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",s.ASSET_LIST_PARSING_ERROR="assetListParsingError",s.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",s.INTERNAL_EXCEPTION="internalException",s.INTERNAL_ABORTED="aborted",s.ATTACH_MEDIA_ERROR="attachMediaError",s.UNKNOWN="unknown",s}({}),m=function(s){return s.MEDIA_ATTACHING="hlsMediaAttaching",s.MEDIA_ATTACHED="hlsMediaAttached",s.MEDIA_DETACHING="hlsMediaDetaching",s.MEDIA_DETACHED="hlsMediaDetached",s.MEDIA_ENDED="hlsMediaEnded",s.STALL_RESOLVED="hlsStallResolved",s.BUFFER_RESET="hlsBufferReset",s.BUFFER_CODECS="hlsBufferCodecs",s.BUFFER_CREATED="hlsBufferCreated",s.BUFFER_APPENDING="hlsBufferAppending",s.BUFFER_APPENDED="hlsBufferAppended",s.BUFFER_EOS="hlsBufferEos",s.BUFFERED_TO_END="hlsBufferedToEnd",s.BUFFER_FLUSHING="hlsBufferFlushing",s.BUFFER_FLUSHED="hlsBufferFlushed",s.MANIFEST_LOADING="hlsManifestLoading",s.MANIFEST_LOADED="hlsManifestLoaded",s.MANIFEST_PARSED="hlsManifestParsed",s.LEVEL_SWITCHING="hlsLevelSwitching",s.LEVEL_SWITCHED="hlsLevelSwitched",s.LEVEL_LOADING="hlsLevelLoading",s.LEVEL_LOADED="hlsLevelLoaded",s.LEVEL_UPDATED="hlsLevelUpdated",s.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",s.LEVELS_UPDATED="hlsLevelsUpdated",s.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",s.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",s.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",s.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",s.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",s.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",s.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",s.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",s.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",s.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",s.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",s.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",s.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",s.CUES_PARSED="hlsCuesParsed",s.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",s.INIT_PTS_FOUND="hlsInitPtsFound",s.FRAG_LOADING="hlsFragLoading",s.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",s.FRAG_LOADED="hlsFragLoaded",s.FRAG_DECRYPTED="hlsFragDecrypted",s.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",s.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",s.FRAG_PARSING_METADATA="hlsFragParsingMetadata",s.FRAG_PARSED="hlsFragParsed",s.FRAG_BUFFERED="hlsFragBuffered",s.FRAG_CHANGED="hlsFragChanged",s.FPS_DROP="hlsFpsDrop",s.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",s.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",s.ERROR="hlsError",s.DESTROYING="hlsDestroying",s.KEY_LOADING="hlsKeyLoading",s.KEY_LOADED="hlsKeyLoaded",s.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",s.BACK_BUFFER_REACHED="hlsBackBufferReached",s.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",s.ASSET_LIST_LOADING="hlsAssetListLoading",s.ASSET_LIST_LOADED="hlsAssetListLoaded",s.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",s.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",s.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",s.INTERSTITIAL_STARTED="hlsInterstitialStarted",s.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",s.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",s.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",s.INTERSTITIAL_ENDED="hlsInterstitialEnded",s.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",s.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",s.EVENT_CUE_ENTER="hlsEventCueEnter",s}({});var w={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},he={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class o{constructor(e,t=0,n=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=e,this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=t,this.totalWeight_=n}sample(e,t){const n=Math.pow(this.alpha_,e);this.estimate_=t*(1-n)+n*this.estimate_,this.totalWeight_+=e}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const e=1-Math.pow(this.alpha_,this.totalWeight_);if(e)return this.estimate_/e}return this.estimate_}}class M{constructor(e,t,n,r=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_=n,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new o(e),this.fast_=new o(t),this.defaultTTFB_=r,this.ttfb_=new o(e)}update(e,t){const{slow_:n,fast_:r,ttfb_:i}=this;n.halfLife!==e&&(this.slow_=new o(e,n.getEstimate(),n.getTotalWeight())),r.halfLife!==t&&(this.fast_=new o(t,r.getEstimate(),r.getTotalWeight())),i.halfLife!==e&&(this.ttfb_=new o(e,i.getEstimate(),i.getTotalWeight()))}sample(e,t){e=Math.max(e,this.minDelayMs_);const n=8*t,r=e/1e3,i=n/r;this.fast_.sample(r,i),this.slow_.sample(r,i)}sampleTTFB(e){const t=e/1e3,n=Math.sqrt(2)*Math.exp(-Math.pow(t,2)/2);this.ttfb_.sample(n,Math.max(e,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 W(s,e,t){return(e=K(e))in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}function y(){return y=Object.assign?Object.assign.bind():function(s){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)({}).hasOwnProperty.call(t,n)&&(s[n]=t[n])}return s},y.apply(null,arguments)}function b(s,e){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(s);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(s,r).enumerable})),t.push.apply(t,n)}return t}function A(s){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?b(Object(t),!0).forEach(function(n){W(s,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach(function(n){Object.defineProperty(s,n,Object.getOwnPropertyDescriptor(t,n))})}return s}function C(s,e){if(typeof s!="object"||!s)return s;var t=s[Symbol.toPrimitive];if(t!==void 0){var n=t.call(s,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(s)}function K(s){var e=C(s,"string");return typeof e=="symbol"?e:e+""}class pe{constructor(e,t){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 n=`[${e}]:`;this.trace=B,this.debug=t.debug.bind(null,n),this.log=t.log.bind(null,n),this.warn=t.warn.bind(null,n),this.info=t.info.bind(null,n),this.error=t.error.bind(null,n)}}const B=function(){},Z={trace:B,debug:B,log:B,warn:B,info:B,error:B};function ie(){return y({},Z)}function X(s,e){const t=self.console[s];return t?t.bind(self.console,`${e?"["+e+"] ":""}[${s}] >`):B}function L(s,e,t){return e[s]?e[s].bind(e):X(s,t)}const D=ie();function Q(s,e,t){const n=ie();if(typeof console=="object"&&s===!0||typeof s=="object"){const r=["debug","log","info","warn","error"];r.forEach(i=>{n[i]=L(i,s,t)});try{n.log(`Debug logs enabled for "${e}" in hls.js version 1.6.0`)}catch(i){return ie()}r.forEach(i=>{D[i]=L(i,s)})}else y(D,n);return n}const j=D;function ve(s=!0){return typeof self=="undefined"?void 0:(s||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function xe(s){return typeof self!="undefined"&&s===self.ManagedMediaSource}function ye(s,e){const t=Object.keys(s),n=Object.keys(e),r=t.length,i=n.length;return!r||!i||r===i&&!t.some(a=>n.indexOf(a)===-1)}function le(s,e=!1){if(typeof TextDecoder!="undefined"){const c=new TextDecoder("utf-8").decode(s);if(e){const S=c.indexOf("\0");return S!==-1?c.substring(0,S):c}return c.replace(/\0/g,"")}const t=s.length;let n,r,i,a="",u=0;for(;u<t;){if(n=s[u++],n===0&&e)return a;if(n===0||n===3)continue;switch(n>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:a+=String.fromCharCode(n);break;case 12:case 13:r=s[u++],a+=String.fromCharCode((n&31)<<6|r&63);break;case 14:r=s[u++],i=s[u++],a+=String.fromCharCode((n&15)<<12|(r&63)<<6|(i&63)<<0);break}}return a}const oe={hexDump:function(s){let e="";for(let t=0;t<s.length;t++){let n=s[t].toString(16);n.length<2&&(n="0"+n),e+=n}return e}};function H(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var be={exports:{}},J;function me(){return J||(J=1,function(s,e){(function(t){var n=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,r=/^(?=([^\/?#]*))\1([^]*)$/,i=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,u={buildAbsoluteURL:function(h,c,S){if(S=S||{},h=h.trim(),c=c.trim(),!c){if(!S.alwaysNormalize)return h;var E=u.parseURL(h);if(!E)throw new Error("Error trying to parse base URL.");return E.path=u.normalizePath(E.path),u.buildURLFromParts(E)}var z=u.parseURL(c);if(!z)throw new Error("Error trying to parse relative URL.");if(z.scheme)return S.alwaysNormalize?(z.path=u.normalizePath(z.path),u.buildURLFromParts(z)):c;var te=u.parseURL(h);if(!te)throw new Error("Error trying to parse base URL.");if(!te.netLoc&&te.path&&te.path[0]!=="/"){var ee=r.exec(te.path);te.netLoc=ee[1],te.path=ee[2]}te.netLoc&&!te.path&&(te.path="/");var De={scheme:te.scheme,netLoc:z.netLoc,path:null,params:z.params,query:z.query,fragment:z.fragment};if(!z.netLoc&&(De.netLoc=te.netLoc,z.path[0]!=="/"))if(!z.path)De.path=te.path,z.params||(De.params=te.params,z.query||(De.query=te.query));else{var Ne=te.path,tt=Ne.substring(0,Ne.lastIndexOf("/")+1)+z.path;De.path=u.normalizePath(tt)}return De.path===null&&(De.path=S.alwaysNormalize?u.normalizePath(z.path):z.path),u.buildURLFromParts(De)},parseURL:function(h){var c=n.exec(h);return c?{scheme:c[1]||"",netLoc:c[2]||"",path:c[3]||"",params:c[4]||"",query:c[5]||"",fragment:c[6]||""}:null},normalizePath:function(h){for(h=h.split("").reverse().join("").replace(i,"");h.length!==(h=h.replace(a,"")).length;);return h.split("").reverse().join("")},buildURLFromParts:function(h){return h.scheme+h.netLoc+h.path+h.params+h.query+h.fragment}};s.exports=u})()}(be)),be.exports}var ae=me();class v{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 _={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class Y{constructor(e){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof e=="string"&&(e={url:e}),this.base=e,$e(this,"stats")}setByteRange(e,t){const n=e.split("@",2);let r;n.length===1?r=(t==null?void 0:t.byteRangeEndOffset)||0:r=parseInt(n[1]),this._byteRange=[r,parseInt(n[0])+r]}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={[_.AUDIO]:null,[_.VIDEO]:null,[_.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(e){this._streams=e}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new v),this._stats}set stats(e){this._stats=e}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=ae.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(e){this._url=e}clearElementaryStreamInfo(){const{elementaryStreams:e}=this;e[_.AUDIO]=null,e[_.VIDEO]=null,e[_.AUDIOVIDEO]=null}}function q(s){return s.sn!=="initSegment"}class Pe extends Y{constructor(e,t){super(t),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=e}get byteLength(){if(this.hasStats){const e=this.stats.total;if(e)return e}if(this.byteRange){const e=this.byteRange[0],t=this.byteRange[1];if(g(e)&&g(t))return t-e}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(e){this._bitrate=e}get decryptdata(){const{levelkeys:e}=this;if(!e&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const t=this.levelkeys.identity;if(t)this._decryptdata=t.getDecryptData(this.sn);else{const n=Object.keys(this.levelkeys);if(n.length===1)return this._decryptdata=this.levelkeys[n[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)return null;const e=g(this.duration)?this.duration:0;return this.programDateTime+e*1e3}get encrypted(){var e;if((e=this._decryptdata)!=null&&e.encrypted)return!0;if(this.levelkeys){const t=Object.keys(this.levelkeys),n=t.length;if(n>1||n===1&&this.levelkeys[t[0]].encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(e){if(!g(e)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=e}get ref(){return q(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(e){this.setStart(this.start+e)}setStart(e){this.start=e,this._ref&&(this._ref.start=e)}setDuration(e){this.duration=e,this._ref&&(this._ref.duration=e)}setKeyFormat(e){if(this.levelkeys){const t=this.levelkeys[e];t&&!this._decryptdata&&(this._decryptdata=t.getDecryptData(this.sn))}}abortRequests(){var e,t;(e=this.loader)==null||e.abort(),(t=this.keyLoader)==null||t.abort()}setElementaryStreamInfo(e,t,n,r,i,a=!1){const{elementaryStreams:u}=this,h=u[e];if(!h){u[e]={startPTS:t,endPTS:n,startDTS:r,endDTS:i,partial:a};return}h.startPTS=Math.min(h.startPTS,t),h.endPTS=Math.max(h.endPTS,n),h.startDTS=Math.min(h.startDTS,r),h.endDTS=Math.max(h.endDTS,i)}}class Le extends Y{constructor(e,t,n,r,i){super(n),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=e.decimalFloatingPoint("DURATION"),this.gap=e.bool("GAP"),this.independent=e.bool("INDEPENDENT"),this.relurl=e.enumeratedString("URI"),this.fragment=t,this.index=r;const a=e.enumeratedString("BYTERANGE");a&&this.setByteRange(a,i),i&&(this.fragOffset=i.fragOffset+i.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:e}=this;return!!(e.audio||e.video||e.audiovideo)}}function Ue(s,e){const t=Object.getPrototypeOf(s);if(t){const n=Object.getOwnPropertyDescriptor(t,e);return n||Ue(t,e)}}function $e(s,e){const t=Ue(s,e);t&&(t.enumerable=!0,Object.defineProperty(s,e,t))}const ut=Math.pow(2,32)-1,dt=[].push,at={video:1,audio:2,id3:3,text:4};function Pt(s){return String.fromCharCode.apply(null,s)}function nn(s,e){const t=s[e]<<8|s[e+1];return t<0?65536+t:t}function kt(s,e){const t=lt(s,e);return t<0?4294967296+t:t}function Nt(s,e){let t=kt(s,e);return t*=Math.pow(2,32),t+=kt(s,e+4),t}function lt(s,e){return s[e]<<24|s[e+1]<<16|s[e+2]<<8|s[e+3]}function wt(s,e,t){s[e]=t>>24,s[e+1]=t>>16&255,s[e+2]=t>>8&255,s[e+3]=t&255}function de(s){const e=s.byteLength;for(let t=0;t<e;){const n=kt(s,t);if(n>8&&s[t+4]===109&&s[t+5]===111&&s[t+6]===111&&s[t+7]===102)return!0;t=n>1?t+n:e}return!1}function fe(s,e){const t=[];if(!e.length)return t;const n=s.byteLength;for(let r=0;r<n;){const i=kt(s,r),a=Pt(s.subarray(r+4,r+8)),u=i>1?r+i:n;if(a===e[0])if(e.length===1)t.push(s.subarray(r+8,u));else{const h=fe(s.subarray(r+8,u),e.slice(1));h.length&&dt.apply(t,h)}r=u}return t}function G(s){const e=[],t=s[0];let n=8;const r=kt(s,n);n+=4;let i=0,a=0;t===0?(i=kt(s,n),a=kt(s,n+4),n+=8):(i=Nt(s,n),a=Nt(s,n+8),n+=16),n+=2;let u=s.length+a;const h=nn(s,n);n+=2;for(let c=0;c<h;c++){let S=n;const E=kt(s,S);S+=4;const z=E&2147483647;if((E&2147483648)>>>31===1)return j.warn("SIDX has hierarchical references (not supported)"),null;const ee=kt(s,S);S+=4,e.push({referenceSize:z,subsegmentDuration:ee,info:{duration:ee/r,start:u,end:u+z-1}}),u+=z,S+=4,n=S}return{earliestPresentationTime:i,timescale:r,version:t,referencesCount:h,references:e}}function U(s){const e=[],t=fe(s,["moov","trak"]);for(let r=0;r<t.length;r++){const i=t[r],a=fe(i,["tkhd"])[0];if(a){let u=a[0];const h=kt(a,u===0?12:20),c=fe(i,["mdia","mdhd"])[0];if(c){u=c[0];const S=kt(c,u===0?12:20),E=fe(i,["mdia","hdlr"])[0];if(E){const z=Pt(E.subarray(8,12)),te={soun:_.AUDIO,vide:_.VIDEO}[z],ee=fe(i,["mdia","minf","stbl","stsd"])[0],De=we(ee);te?(e[h]={timescale:S,type:te,stsd:De},e[te]=A({timescale:S,id:h},De)):e[h]={timescale:S,type:z,stsd:De}}}}}return fe(s,["moov","mvex","trex"]).forEach(r=>{const i=kt(r,4),a=e[i];a&&(a.default={duration:kt(r,12),flags:kt(r,20)})}),e}function we(s){const e=s.subarray(8),t=e.subarray(86),n=Pt(e.subarray(4,8));let r=n,i;const a=n==="enca"||n==="encv";if(a){const c=fe(e,[n])[0].subarray(n==="enca"?28:78);fe(c,["sinf"]).forEach(E=>{const z=fe(E,["schm"])[0];if(z){const te=Pt(z.subarray(4,8));if(te==="cbcs"||te==="cenc"){const ee=fe(E,["frma"])[0];ee&&(r=Pt(ee))}}})}const u=r;switch(r){case"avc1":case"avc2":case"avc3":case"avc4":{const h=fe(t,["avcC"])[0];r+="."+I(h[1])+I(h[2])+I(h[3]),i=P(u==="avc1"?"dva1":"dvav",t);break}case"mp4a":{const h=fe(e,[n])[0],c=fe(h.subarray(28),["esds"])[0];if(c&&c.length>7){let S=4;if(c[S++]!==3)break;S=T(c,S),S+=2;const E=c[S++];if(E&128&&(S+=2),E&64&&(S+=c[S++]),c[S++]!==4)break;S=T(c,S);const z=c[S++];if(z===64)r+="."+I(z);else break;if(S+=12,c[S++]!==5)break;S=T(c,S);const te=c[S++];let ee=(te&248)>>3;ee===31&&(ee+=1+((te&7)<<3)+((c[S]&224)>>5)),r+="."+ee}break}case"hvc1":case"hev1":{const h=fe(t,["hvcC"]);if(h){const c=h[0],S=c[1],E=["","A","B","C"][S>>6],z=S&31,te=kt(c,2),ee=(S&32)>>5?"H":"L",De=c[12],Ne=c.subarray(6,12);r+="."+E+z,r+="."+te.toString(16).toUpperCase(),r+="."+ee+De;let tt="";for(let St=Ne.length;St--;){const ct=Ne[St];(ct||tt)&&(tt="."+ct.toString(16).toUpperCase()+tt)}r+=tt}i=P(u=="hev1"?"dvhe":"dvh1",t);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{r=P(r,t)||r;break}case"vp09":{const h=fe(t,["vpcC"])[0],c=h[4],S=h[5],E=h[6]>>4&15;r+="."+ne(c)+"."+ne(S)+"."+ne(E);break}case"av01":{const h=fe(t,["av1C"])[0],c=h[1]>>>5,S=h[1]&31,E=h[2]>>>7?"H":"M",z=(h[2]&64)>>6,te=(h[2]&32)>>5,ee=c===2&&z?te?12:10:z?10:8,De=(h[2]&16)>>4,Ne=(h[2]&8)>>3,tt=(h[2]&4)>>2,St=h[2]&3;r+="."+c+"."+ne(S)+E+"."+ne(ee)+"."+De+"."+Ne+tt+St+"."+ne(1)+"."+ne(1)+"."+ne(1)+"."+0,i=P("dav1",t);break}}return{codec:r,encrypted:a,supplemental:i}}function P(s,e){const t=fe(e,["dvvC"]),n=t.length?t[0]:fe(e,["dvcC"])[0];if(n){const r=n[2]>>1&127,i=n[2]<<5&32|n[3]>>3&31;return s+"."+ne(r)+"."+ne(i)}}function T(s,e){const t=e+5;for(;s[e++]&128&&e<t;);return e}function I(s){return("0"+s.toString(16).toUpperCase()).slice(-2)}function ne(s){return(s<10?"0":"")+s}function $(s,e){if(!s||!e)return s;const t=e.keyId;return t&&e.isCommonEncryption&&fe(s,["moov","trak"]).forEach(r=>{const a=fe(r,["mdia","minf","stbl","stsd"])[0].subarray(8);let u=fe(a,["enca"]);const h=u.length>0;h||(u=fe(a,["encv"])),u.forEach(c=>{const S=h?c.subarray(28):c.subarray(78);fe(S,["sinf"]).forEach(z=>{const te=V(z);if(te){const ee=te.subarray(8,24);ee.some(De=>De!==0)||(j.log(`[eme] Patching keyId in 'enc${h?"a":"v"}>sinf>>tenc' box: ${oe.hexDump(ee)} -> ${oe.hexDump(t)}`),te.set(t,8))}})})}),s}function V(s){const e=fe(s,["schm"])[0];if(e){const t=Pt(e.subarray(4,8));if(t==="cbcs"||t==="cenc")return fe(s,["schi","tenc"])[0]}return null}function Te(s,e){return fe(e,["moof","traf"]).reduce((t,n)=>{const r=fe(n,["tfdt"])[0],i=r[0],a=fe(n,["tfhd"]).reduce((u,h)=>{const c=kt(h,4),S=s[c];if(S){let E=kt(r,4);if(i===1){if(E===ut)return j.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),u;E*=ut+1,E+=kt(r,8)}const z=S.timescale||9e4,te=E/z;if(g(te)&&(u===null||te<u))return te}return u},null);return a!==null&&g(a)&&(t===null||a<t)?a:t},null)}function He(s,e){let t=0,n=0,r=0;const i=fe(s,["moof","traf"]);for(let a=0;a<i.length;a++){const u=i[a],h=fe(u,["tfhd"])[0],c=kt(h,4),S=e[c];if(!S)continue;const E=S.default,z=kt(h,0)|(E==null?void 0:E.flags);let te=E==null?void 0:E.duration;z&8&&(z&2?te=kt(h,12):te=kt(h,8));const ee=S.timescale||9e4,De=fe(u,["trun"]);for(let Ne=0;Ne<De.length;Ne++){if(t=Ie(De[Ne]),!t&&te){const tt=kt(De[Ne],4);t=te*tt}S.type===_.VIDEO?n+=t/ee:S.type===_.AUDIO&&(r+=t/ee)}}if(n===0&&r===0){let a=1/0,u=0,h=0;const c=fe(s,["sidx"]);for(let S=0;S<c.length;S++){const E=G(c[S]);if(E!=null&&E.references){a=Math.min(a,E.earliestPresentationTime/E.timescale);const z=E.references.reduce((te,ee)=>te+ee.info.duration||0,0);u=Math.max(u,z+E.earliestPresentationTime/E.timescale),h=u-a}}if(h&&g(h))return h}return n||r}function Ie(s){const e=kt(s,0);let t=8;e&1&&(t+=4),e&4&&(t+=4);let n=0;const r=kt(s,4);for(let i=0;i<r;i++){if(e&256){const a=kt(s,t);n+=a,t+=4}e&512&&(t+=4),e&1024&&(t+=4),e&2048&&(t+=4)}return n}function Fe(s,e,t){fe(e,["moof","traf"]).forEach(n=>{fe(n,["tfhd"]).forEach(r=>{const i=kt(r,4),a=s[i];if(!a)return;const u=a.timescale||9e4;fe(n,["tfdt"]).forEach(h=>{const c=h[0],S=t*u;if(S){let E=kt(h,4);if(c===0)E-=S,E=Math.max(E,0),wt(h,4,E);else{E*=Math.pow(2,32),E+=kt(h,8),E-=S,E=Math.max(E,0);const z=Math.floor(E/(ut+1)),te=Math.floor(E%(ut+1));wt(h,4,z),wt(h,8,te)}}})})})}function Qe(s){const e={valid:null,remainder:null},t=fe(s,["moof"]);if(t.length<2)return e.remainder=s,e;const n=t[t.length-1];return e.valid=s.slice(0,n.byteOffset-8),e.remainder=s.slice(n.byteOffset-8),e}function Ze(s,e){const t=new Uint8Array(s.length+e.length);return t.set(s),t.set(e,s.length),t}function Ve(s,e){const t=[],n=e.samples,r=e.timescale,i=e.id;let a=!1;return fe(n,["moof"]).map(h=>{const c=h.byteOffset-8;fe(h,["traf"]).map(E=>{const z=fe(E,["tfdt"]).map(te=>{const ee=te[0];let De=kt(te,4);return ee===1&&(De*=Math.pow(2,32),De+=kt(te,8)),De/r})[0];return z!==void 0&&(s=z),fe(E,["tfhd"]).map(te=>{const ee=kt(te,4),De=kt(te,0)&16777215,Ne=(De&1)!==0,tt=(De&2)!==0,St=(De&8)!==0;let ct=0;const zt=(De&16)!==0;let Vt=0;const pn=(De&32)!==0;let $t=8;ee===i&&(Ne&&($t+=8),tt&&($t+=4),St&&(ct=kt(te,$t),$t+=4),zt&&(Vt=kt(te,$t),$t+=4),pn&&($t+=4),e.type==="video"&&(a=xt(e.codec)),fe(E,["trun"]).map(un=>{const wn=un[0],Jt=kt(un,0)&16777215,$n=(Jt&1)!==0;let yr=0;const wi=(Jt&4)!==0,Xr=(Jt&256)!==0;let jr=0;const Ir=(Jt&512)!==0;let Wr=0;const Kr=(Jt&1024)!==0,Zn=(Jt&2048)!==0;let Xn=0;const ui=kt(un,4);let ni=8;$n&&(yr=kt(un,ni),ni+=4),wi&&(ni+=4);let _i=yr+c;for(let Mi=0;Mi<ui;Mi++){if(Xr?(jr=kt(un,ni),ni+=4):jr=ct,Ir?(Wr=kt(un,ni),ni+=4):Wr=Vt,Kr&&(ni+=4),Zn&&(wn===0?Xn=kt(un,ni):Xn=lt(un,ni),ni+=4),e.type===_.VIDEO){let Zi=0;for(;Zi<Wr;){const na=kt(n,_i);if(_i+=4,Ct(a,n[_i])){const Ga=n.subarray(_i,_i+na);ft(Ga,a?2:1,s+Xn/r,t)}_i+=na,Zi+=na+4}}s+=jr/r}}))})})}),t}function xt(s){if(!s)return!1;const e=s.substring(0,4);return e==="hvc1"||e==="hev1"||e==="dvh1"||e==="dvhe"}function Ct(s,e){if(s){const t=e>>1&63;return t===39||t===40}else return(e&31)===6}function ft(s,e,t,n){const r=Ot(s);let i=0;i+=e;let a=0,u=0,h=0;for(;i<r.length;){a=0;do{if(i>=r.length)break;h=r[i++],a+=h}while(h===255);u=0;do{if(i>=r.length)break;h=r[i++],u+=h}while(h===255);const c=r.length-i;let S=i;if(u<c)i+=u;else if(u>c){j.error(`Malformed SEI payload. ${u} is too small, only ${c} bytes left to parse.`);break}if(a===4){if(r[S++]===181){const z=nn(r,S);if(S+=2,z===49){const te=kt(r,S);if(S+=4,te===1195456820){const ee=r[S++];if(ee===3){const De=r[S++],Ne=31&De,tt=64&De,St=tt?2+Ne*3:0,ct=new Uint8Array(St);if(tt){ct[0]=De;for(let zt=1;zt<St;zt++)ct[zt]=r[S++]}n.push({type:ee,payloadType:a,pts:t,bytes:ct})}}}}}else if(a===5&&u>16){const E=[];for(let ee=0;ee<16;ee++){const De=r[S++].toString(16);E.push(De.length==1?"0"+De:De),(ee===3||ee===5||ee===7||ee===9)&&E.push("-")}const z=u-16,te=new Uint8Array(z);for(let ee=0;ee<z;ee++)te[ee]=r[S++];n.push({payloadType:a,pts:t,uuid:E.join(""),userData:le(te),userDataBytes:te})}}}function Ot(s){const e=s.byteLength,t=[];let n=1;for(;n<e-2;)s[n]===0&&s[n+1]===0&&s[n+2]===3?(t.push(n+2),n+=2):n++;if(t.length===0)return s;const r=e-t.length,i=new Uint8Array(r);let a=0;for(n=0;n<r;a++,n++)a===t[0]&&(a++,t.shift()),i[n]=s[a];return i}function Kt(s){const e=s[0];let t="",n="",r=0,i=0,a=0,u=0,h=0,c=0;if(e===0){for(;Pt(s.subarray(c,c+1))!=="\0";)t+=Pt(s.subarray(c,c+1)),c+=1;for(t+=Pt(s.subarray(c,c+1)),c+=1;Pt(s.subarray(c,c+1))!=="\0";)n+=Pt(s.subarray(c,c+1)),c+=1;n+=Pt(s.subarray(c,c+1)),c+=1,r=kt(s,12),i=kt(s,16),u=kt(s,20),h=kt(s,24),c=28}else if(e===1){c+=4,r=kt(s,c),c+=4;const E=kt(s,c);c+=4;const z=kt(s,c);for(c+=4,a=Iu(2,32)*E+z,O(a)||(a=Number.MAX_SAFE_INTEGER,j.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),u=kt(s,c),c+=4,h=kt(s,c),c+=4;Pt(s.subarray(c,c+1))!=="\0";)t+=Pt(s.subarray(c,c+1)),c+=1;for(t+=Pt(s.subarray(c,c+1)),c+=1;Pt(s.subarray(c,c+1))!=="\0";)n+=Pt(s.subarray(c,c+1)),c+=1;n+=Pt(s.subarray(c,c+1)),c+=1}const S=s.subarray(c,s.byteLength);return{schemeIdUri:t,value:n,timeScale:r,presentationTime:a,presentationTimeDelta:i,eventDuration:u,id:h,payload:S}}function R(s,...e){const t=e.length;let n=8,r=t;for(;r--;)n+=e[r].byteLength;const i=new Uint8Array(n);for(i[0]=n>>24&255,i[1]=n>>16&255,i[2]=n>>8&255,i[3]=n&255,i.set(s,4),r=0,n=8;r<t;r++)i.set(e[r],n),n+=e[r].byteLength;return i}function k(s,e,t){if(s.byteLength!==16)throw new RangeError("Invalid system id");let n,r;n=0,r=new Uint8Array;let i;n>0?(i=new Uint8Array(4),e.length>0&&new DataView(i.buffer).setUint32(0,e.length,!1)):i=new Uint8Array;const a=new Uint8Array(4);return t&&t.byteLength>0&&new DataView(a.buffer).setUint32(0,t.byteLength,!1),R([112,115,115,104],new Uint8Array([n,0,0,0]),s,i,r,a,t||new Uint8Array)}function bt(s){const e=[];if(s instanceof ArrayBuffer){const t=s.byteLength;let n=0;for(;n+32<t;){const r=new DataView(s,n),i=Se(r);e.push(i),n+=i.size}}return e}function Se(s){const e=s.getUint32(0),t=s.byteOffset,n=s.byteLength;if(n<e)return{offset:t,size:n};if(s.getUint32(4)!==1886614376)return{offset:t,size:e};const i=s.getUint32(8)>>>24;if(i!==0&&i!==1)return{offset:t,size:e};const a=s.buffer,u=oe.hexDump(new Uint8Array(a,t+12,16)),h=s.getUint32(28);let c=null,S=null;if(i===0){if(e-32<h||h<22)return{offset:t,size:e};S=new Uint8Array(a,t+32,h)}else if(i===1){if(!h||n<t+32+h*16+16)return{offset:t,size:e};c=[];for(let E=0;E<h;E++)c.push(new Uint8Array(a,t+32+E*16,16))}return{version:i,systemId:u,kids:c,data:S,offset:t,size:e}}const Ke=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),vn={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 qe(s,e){const t=vn[e];return!!t&&!!t[s.slice(0,4)]}function et(s,e,t=!0){return!s.split(",").some(n=>!Xe(n,e,t))}function Xe(s,e,t=!0){var n;const r=ve(t);return(n=r==null?void 0:r.isTypeSupported(_e(s,e)))!=null?n:!1}function _e(s,e){return`${e}/mp4;codecs=${s}`}function Me(s){if(s){const e=s.substring(0,4);return vn.video[e]}return 2}function Oe(s){const e=Ke();return s.split(",").reduce((t,n)=>{const i=e&&xt(n)?9:vn.video[n];return i?(i*2+t)/(t?3:2):(vn.audio[n]+t)/(t?2:1)},0)}const rt={};function Ae(s,e=!0){if(rt[s])return rt[s];const t={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[s];for(let r=0;r<t.length;r++){var n;if(Xe(t[r],"audio",e))return rt[s]=t[r],t[r];if(t[r]==="mp3"&&(n=ve(e))!=null&&n.isTypeSupported("audio/mpeg"))return""}return s}const rn=/flac|opus|mp4a\.40\.34/i;function Ge(s,e=!0){return s.replace(rn,t=>Ae(t.toLowerCase(),e))}function En(s,e){const t=[];if(s){const n=s.split(",");for(let r=0;r<n.length;r++)qe(n[r],"video")||t.push(n[r])}return e&&t.push(e),t.join(",")}function Dn(s,e){if(s&&(s.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(s)!==-1))return s;if(e){const t=e.split(",");if(t.length>1){if(s){for(let n=t.length;n--;)if(t[n].substring(0,4)===s.substring(0,4))return t[n]}return t[0]}}return e||s}function tn(s){const e=s.split(",");for(let t=0;t<e.length;t++){const n=e[t].split(".");if(n.length>2){let r=n.shift()+".";r+=parseInt(n.shift()).toString(16),r+=("000"+parseInt(n.shift()).toString(16)).slice(-4),e[t]=r}}return e.join(",")}function Wt(s){if(s.startsWith("av01.")){const e=s.split("."),t=["0","111","01","01","01","0"];for(let n=e.length;n>4&&n<10;n++)e[n]=t[n-4];return e.join(".")}return s}function It(s){const e=ve(s)||{isTypeSupported:()=>!1};return{mpeg:e.isTypeSupported("audio/mpeg"),mp3:e.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:e.isTypeSupported('audio/mp4; codecs="ac-3"')}}function Bt(s){return s.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const We={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function _t(s,e){return{supported:!1,configurations:e,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:s}}const Et={};function Be(s,e,t,n,r,i){const a=s.audioCodec?s.audioGroups:null,u=i==null?void 0:i.audioCodec,h=i==null?void 0:i.channels,c=h?parseInt(h):u?1/0:2;let S=null;if(a!=null&&a.length)try{a.length===1&&a[0]?S=e.groups[a[0]].channels:S=a.reduce((E,z)=>{if(z){const te=e.groups[z];if(!te)throw new Error(`Audio track group ${z} not found`);Object.keys(te.channels).forEach(ee=>{E[ee]=(E[ee]||0)+te.channels[ee]})}return E},{2:0})}catch(E){return!0}return s.videoCodec!==void 0&&(s.width>1920&&s.height>1088||s.height>1920&&s.width>1088||s.frameRate>Math.max(n,30)||s.videoRange!=="SDR"&&s.videoRange!==t||s.bitrate>Math.max(r,8e6))||!!S&&g(c)&&Object.keys(S).some(E=>parseInt(E)>c)}function Re(s,e,t){const n=s.videoCodec,r=s.audioCodec;if(!n&&!r||!t)return Promise.resolve(We);const i=[];if(n){const a={width:s.width,height:s.height,bitrate:Math.ceil(Math.max(s.bitrate*.9,s.averageBitrate)),framerate:s.frameRate||30},u=s.videoRange;u!=="SDR"&&(a.transferFunction=u.toLowerCase());const h=n.split(","),c=navigator.userAgent;if(h.some(S=>xt(S))&&Ke())return Promise.resolve(_t(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: (${c})`),i));i.push.apply(i,h.map(S=>({type:"media-source",video:A(A({},a),{},{contentType:_e(Wt(S),"video")})})))}return r&&s.audioGroups&&s.audioGroups.forEach(a=>{var u;a&&((u=e.groups[a])==null||u.tracks.forEach(h=>{if(h.groupId===a){const c=h.channels||"",S=parseFloat(c);g(S)&&S>2&&i.push.apply(i,r.split(",").map(E=>({type:"media-source",audio:{contentType:_e(E,"audio"),channels:""+S}})))}}))}),Promise.all(i.map(a=>{const u=pt(a);return Et[u]||(Et[u]=t.decodingInfo(a))})).then(a=>({supported:!a.some(u=>!u.supported),configurations:i,decodingInfoResults:a})).catch(a=>({supported:!1,configurations:i,decodingInfoResults:[],error:a}))}function pt(s){const{audio:e,video:t}=s,n=t||e;if(n){const r=Bt(n.contentType);if(t)return`r${t.height}x${t.width}f${Math.ceil(t.framerate)}${t.transferFunction||"sd"}_${r}_${Math.ceil(t.bitrate/1e5)}`;if(e)return`c${e.channels}${e.spatialRendering?"s":"n"}_${r}`}return""}const mt=["NONE","TYPE-0","TYPE-1",null];function Ft(s){return mt.indexOf(s)>-1}const Ht=["SDR","PQ","HLG"];function sn(s){return!!s&&Ht.indexOf(s)>-1}var Yt={No:"",Yes:"YES",v2:"v2"};function ln(s){const{canSkipUntil:e,canSkipDateRanges:t,age:n}=s,r=n<e/2;return e&&r?t?Yt.v2:Yt.Yes:Yt.No}class mn{constructor(e,t,n){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=e,this.part=t,this.skip=n}addDirectives(e){const t=new self.URL(e);return this.msn!==void 0&&t.searchParams.set("_HLS_msn",this.msn.toString()),this.part!==void 0&&t.searchParams.set("_HLS_part",this.part.toString()),this.skip&&t.searchParams.set("_HLS_skip",this.skip),t.href}}class An{constructor(e){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=[e.url],this._attrs=[e.attrs],this.bitrate=e.bitrate,e.details&&(this.details=e.details),this.id=e.id||0,this.name=e.name,this.width=e.width||0,this.height=e.height||0,this.frameRate=e.attrs.optionalFloat("FRAME-RATE",0),this._avgBitrate=e.attrs.decimalInteger("AVERAGE-BANDWIDTH"),this.audioCodec=e.audioCodec,this.videoCodec=e.videoCodec,this.codecSet=[e.videoCodec,e.audioCodec].filter(n=>!!n).map(n=>n.substring(0,4)).join(","),"supplemental"in e){var t;this.supplemental=e.supplemental;const n=(t=e.supplemental)==null?void 0:t.videoCodec;n&&n!==e.videoCodec&&(this.codecSet+=`,${n.substring(0,4)}`)}this.addGroupId("audio",e.attrs.AUDIO),this.addGroupId("text",e.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(e){return Zt(this._audioGroups,e)}hasSubtitleGroup(e){return Zt(this._subtitleGroups,e)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(e,t){if(t){if(e==="audio"){let n=this._audioGroups;n||(n=this._audioGroups=[]),n.indexOf(t)===-1&&n.push(t)}else if(e==="text"){let n=this._subtitleGroups;n||(n=this._subtitleGroups=[]),n.indexOf(t)===-1&&n.push(t)}}}get urlId(){return 0}set urlId(e){}get audioGroupIds(){return this.audioGroups?[this.audioGroupId]:void 0}get textGroupIds(){return this.subtitleGroups?[this.textGroupId]:void 0}get audioGroupId(){var e;return(e=this.audioGroups)==null?void 0:e[0]}get textGroupId(){var e;return(e=this.subtitleGroups)==null?void 0:e[0]}addFallback(){}}function Zt(s,e){return!e||!s?!1:s.indexOf(e)!==-1}function Xt(){if(typeof matchMedia=="function"){const s=matchMedia("(dynamic-range: high)"),e=matchMedia("bad query");if(s.media!==e.media)return s.matches===!0}return!1}function on(s,e){let t=!1,n=[];if(s&&(t=s!=="SDR",n=[s]),e){n=e.allowedVideoRanges||Ht.slice(0);const r=n.join("")!=="SDR"&&!e.videoCodec;t=e.preferHDR!==void 0?e.preferHDR:r&&Xt(),t||(n=["SDR"])}return{preferHDR:t,allowedVideoRanges:n}}const gn=s=>{const e=new WeakSet;return(t,n)=>{if(s&&(n=s(t,n)),typeof n=="object"&&n!==null){if(e.has(n))return;e.add(n)}return n}},fn=(s,e)=>JSON.stringify(s,gn(e));function Qn(s,e,t,n,r){const i=Object.keys(s),a=n==null?void 0:n.channels,u=n==null?void 0:n.audioCodec,h=r==null?void 0:r.videoCodec,c=a&&parseInt(a)===2;let S=!1,E=!1,z=1/0,te=1/0,ee=1/0,De=1/0,Ne=0,tt=[];const{preferHDR:St,allowedVideoRanges:ct}=on(e,r);for(let un=i.length;un--;){const wn=s[i[un]];S||(S=wn.channels[2]>0),z=Math.min(z,wn.minHeight),te=Math.min(te,wn.minFramerate),ee=Math.min(ee,wn.minBitrate),ct.filter($n=>wn.videoRanges[$n]>0).length>0&&(E=!0)}z=g(z)?z:0,te=g(te)?te:0;const zt=Math.max(1080,z),Vt=Math.max(30,te);ee=g(ee)?ee:t,t=Math.max(ee,t),E||(e=void 0);const pn=i.length>1;return{codecSet:i.reduce((un,wn)=>{const Jt=s[wn];if(wn===un)return un;if(tt=E?ct.filter($n=>Jt.videoRanges[$n]>0):[],pn){if(Jt.minBitrate>t)return kn(wn,`min bitrate of ${Jt.minBitrate} > current estimate of ${t}`),un;if(!Jt.hasDefaultAudio)return kn(wn,"no renditions with default or auto-select sound found"),un;if(u&&wn.indexOf(u.substring(0,4))%5!==0)return kn(wn,`audio codec preference "${u}" not found`),un;if(a&&!c){if(!Jt.channels[a])return kn(wn,`no renditions with ${a} channel sound found (channels options: ${Object.keys(Jt.channels)})`),un}else if((!u||c)&&S&&Jt.channels[2]===0)return kn(wn,"no renditions with stereo sound found"),un;if(Jt.minHeight>zt)return kn(wn,`min resolution of ${Jt.minHeight} > maximum of ${zt}`),un;if(Jt.minFramerate>Vt)return kn(wn,`min framerate of ${Jt.minFramerate} > maximum of ${Vt}`),un;if(!tt.some($n=>Jt.videoRanges[$n]>0))return kn(wn,`no variants with VIDEO-RANGE of ${fn(tt)} found`),un;if(h&&wn.indexOf(h.substring(0,4))%5!==0)return kn(wn,`video codec preference "${h}" not found`),un;if(Jt.maxScore<Ne)return kn(wn,`max score of ${Jt.maxScore} < selected max of ${Ne}`),un}return un&&(Oe(wn)>=Oe(un)||Jt.fragmentError>s[un].fragmentError)?un:(De=Jt.minIndex,Ne=Jt.maxScore,wn)},void 0),videoRanges:tt,preferHDR:St,minFramerate:te,minBitrate:ee,minIndex:De}}function kn(s,e){j.log(`[abr] start candidates with "${s}" ignored because ${e}`)}function cn(s){return s.reduce((e,t)=>{let n=e.groups[t.groupId];n||(n=e.groups[t.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),n.tracks.push(t);const r=t.channels||"2";return n.channels[r]=(n.channels[r]||0)+1,n.hasDefault=n.hasDefault||t.default,n.hasAutoSelect=n.hasAutoSelect||t.autoselect,n.hasDefault&&(e.hasDefaultAudio=!0),n.hasAutoSelect&&(e.hasAutoSelectAudio=!0),e},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function ht(s,e,t,n){return s.slice(t,n+1).reduce((r,i,a)=>{if(!i.codecSet)return r;const u=i.audioGroups;let h=r[i.codecSet];h||(r[i.codecSet]=h={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:a,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!u,fragmentError:0}),h.minBitrate=Math.min(h.minBitrate,i.bitrate);const c=Math.min(i.height,i.width);return h.minHeight=Math.min(h.minHeight,c),h.minFramerate=Math.min(h.minFramerate,i.frameRate),h.minIndex=Math.min(h.minIndex,a),h.maxScore=Math.max(h.maxScore,i.score),h.fragmentError+=i.fragmentError,h.videoRanges[i.videoRange]=(h.videoRanges[i.videoRange]||0)+1,u&&u.forEach(S=>{if(!S)return;const E=e.groups[S];E&&(h.hasDefaultAudio=h.hasDefaultAudio||e.hasDefaultAudio?E.hasDefault:E.hasAutoSelect||!e.hasDefaultAudio&&!e.hasAutoSelectAudio,Object.keys(E.channels).forEach(z=>{h.channels[z]=(h.channels[z]||0)+E.channels[z]}))}),r},{})}function yt(s){if(!s)return s;const{lang:e,assocLang:t,characteristics:n,channels:r,audioCodec:i}=s;return{lang:e,assocLang:t,characteristics:n,channels:r,audioCodec:i}}function Dt(s,e,t){if("attrs"in s){const n=e.indexOf(s);if(n!==-1)return n}for(let n=0;n<e.length;n++){const r=e[n];if(jt(s,r,t))return n}return-1}function jt(s,e,t){const{groupId:n,name:r,lang:i,assocLang:a,default:u}=s,h=s.forced;return(n===void 0||e.groupId===n)&&(r===void 0||e.name===r)&&(i===void 0||Ut(i,e.lang))&&(i===void 0||e.assocLang===a)&&(u===void 0||e.default===u)&&(h===void 0||e.forced===h)&&(!("characteristics"in s)||dn(s.characteristics||"",e.characteristics))&&(t===void 0||t(s,e))}function Ut(s,e="--"){return s.length===e.length?s===e:s.startsWith(e)||e.startsWith(s)}function dn(s,e=""){const t=s.split(","),n=e.split(",");return t.length===n.length&&!t.some(r=>n.indexOf(r)===-1)}function Gt(s,e){const{audioCodec:t,channels:n}=s;return(t===void 0||(e.audioCodec||"").substring(0,4)===t.substring(0,4))&&(n===void 0||n===(e.channels||"2"))}function yn(s,e,t,n,r){const i=e[n],u=e.reduce((z,te,ee)=>{const De=te.uri;return(z[De]||(z[De]=[])).push(ee),z},{})[i.uri];u.length>1&&(n=Math.max.apply(Math,u));const h=i.videoRange,c=i.frameRate,S=i.codecSet.substring(0,4),E=Tn(e,n,z=>{if(z.videoRange!==h||z.frameRate!==c||z.codecSet.substring(0,4)!==S)return!1;const te=z.audioGroups,ee=t.filter(De=>!te||te.indexOf(De.groupId)!==-1);return Dt(s,ee,r)>-1});return E>-1?E:Tn(e,n,z=>{const te=z.audioGroups,ee=t.filter(De=>!te||te.indexOf(De.groupId)!==-1);return Dt(s,ee,r)>-1})}function Tn(s,e,t){for(let n=e;n>-1;n--)if(t(s[n]))return n;for(let n=e+1;n<s.length;n++)if(t(s[n]))return n;return-1}function Ln(s,e){var t;return!!s&&s!==((t=e.loadLevelObj)==null?void 0:t.uri)}class qn extends pe{constructor(e){super("abr",e.logger),this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=-1,this.firstSelection=-1,this._nextAutoLevel=-1,this.nextAutoLevelKey="",this.audioTracksByGroup=null,this.codecTiers=null,this.timer=-1,this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.rebufferNotice=-1,this.bwEstimator=void 0,this._abandonRulesCheck=t=>{var n;const{fragCurrent:r,partCurrent:i,hls:a}=this,{autoLevelEnabled:u,media:h}=a;if(!r||!h)return;const c=performance.now(),S=i?i.stats:r.stats,E=i?i.duration:r.duration,z=c-S.loading.start,te=a.minAutoLevel,ee=r.level,De=this._nextAutoLevel;if(S.aborted||S.loaded&&S.loaded===S.total||ee<=te){this.clearTimer(),this._nextAutoLevel=-1;return}if(!u)return;const Ne=De>-1&&De!==ee,tt=!!t||Ne;if(!tt&&(h.paused||!h.playbackRate||!h.readyState))return;const St=a.mainForwardBufferInfo;if(!tt&&St===null)return;const ct=this.bwEstimator.getEstimateTTFB(),zt=Math.abs(h.playbackRate);if(z<=Math.max(ct,1e3*(E/(zt*2))))return;const Vt=St?St.len/zt:0,pn=S.loading.first?S.loading.first-S.loading.start:-1,$t=S.loaded&&pn>-1,un=this.getBwEstimate(),wn=a.levels,Jt=wn[ee],$n=Math.max(S.loaded,Math.round(E*(r.bitrate||Jt.averageBitrate)/8));let yr=$t?z-pn:z;yr<1&&$t&&(yr=Math.min(z,S.loaded*8/un));const wi=$t?S.loaded*1e3/yr:0,Xr=ct/1e3,jr=wi?($n-S.loaded)/wi:$n*8/un+Xr;if(jr<=Vt)return;const Ir=wi?wi*8:un,Wr=((n=(t==null?void 0:t.details)||this.hls.latestLevelDetails)==null?void 0:n.live)===!0,Kr=this.hls.config.abrBandWidthUpFactor;let Zn=Number.POSITIVE_INFINITY,Xn;for(Xn=ee-1;Xn>te;Xn--){const Mi=wn[Xn].maxBitrate,Zi=!wn[Xn].details||Wr;if(Zn=this.getTimeToLoadFrag(Xr,Ir,E*Mi,Zi),Zn<Math.min(Vt,E+Xr))break}if(Zn>=jr||Zn>E*10)return;$t?this.bwEstimator.sample(z-Math.min(ct,pn),S.loaded):this.bwEstimator.sampleTTFB(z);const ui=wn[Xn].maxBitrate;this.getBwEstimate()*Kr>ui&&this.resetEstimator(ui);const ni=this.findBestLevel(ui,te,Xn,0,Vt,1,1);ni>-1&&(Xn=ni),this.warn(`Fragment ${r.sn}${i?" part "+i.index:""} of level ${ee} is loading too slowly;
Fragment duration: ${r.duration.toFixed(3)}
Time to underbuffer: ${Vt.toFixed(3)} s
Estimated load time for current fragment: ${jr.toFixed(3)} s
Estimated load time for down switch fragment: ${Zn.toFixed(3)} s
TTFB estimate: ${pn|0} ms
Current BW estimate: ${g(un)?un|0:"Unknown"} bps
New BW estimate: ${this.getBwEstimate()|0} bps
Switching to level ${Xn} @ ${ui|0} bps`),a.nextLoadLevel=a.nextAutoLevel=Xn,this.clearTimer();const _i=()=>{if(this.clearTimer(),this.fragCurrent===r&&this.hls.loadLevel===Xn&&Xn>0){const Mi=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${Xn>0?"and switching down":""}
Fragment duration: ${r.duration.toFixed(3)} s
Time to underbuffer: ${Mi.toFixed(3)} s`),r.abortRequests(),this.fragCurrent=this.partCurrent=null,Xn>te){let Zi=this.findBestLevel(this.hls.levels[te].bitrate,te,Xn,0,Mi,1,1);Zi===-1&&(Zi=te),this.hls.nextLoadLevel=this.hls.nextAutoLevel=Zi,this.resetEstimator(this.hls.levels[Zi].bitrate)}}};Ne||jr>Zn*2?_i():this.timer=self.setInterval(_i,Zn*1e3),a.trigger(m.FRAG_LOAD_EMERGENCY_ABORTED,{frag:r,part:i,stats:S})},this.hls=e,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(e){e&&(this.log(`setting initial bwe to ${e}`),this.hls.config.abrEwmaDefaultEstimate=e),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const e=this.hls.config;return new M(e.abrEwmaSlowVoD,e.abrEwmaFastVoD,e.abrEwmaDefaultEstimate)}registerListeners(){const{hls:e}=this;e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.FRAG_LOADING,this.onFragLoading,this),e.on(m.FRAG_LOADED,this.onFragLoaded,this),e.on(m.FRAG_BUFFERED,this.onFragBuffered,this),e.on(m.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(m.LEVEL_LOADED,this.onLevelLoaded,this),e.on(m.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(m.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.on(m.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e&&(e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.FRAG_LOADING,this.onFragLoading,this),e.off(m.FRAG_LOADED,this.onFragLoaded,this),e.off(m.FRAG_BUFFERED,this.onFragBuffered,this),e.off(m.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(m.LEVEL_LOADED,this.onLevelLoaded,this),e.off(m.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(m.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.off(m.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(e,t){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(e,t){const n=t.frag;if(!this.ignoreFragment(n)){if(!n.bitrateTest){var r;this.fragCurrent=n,this.partCurrent=(r=t.part)!=null?r:null}this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100)}}onLevelSwitching(e,t){this.clearTimer()}onError(e,t){if(!t.fatal)switch(t.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 n=t.frag,{fragCurrent:r,partCurrent:i}=this;if(n&&r&&n.sn===r.sn&&n.level===r.level){const a=performance.now(),u=i?i.stats:n.stats,h=a-u.loading.start,c=u.loading.first?u.loading.first-u.loading.start:-1;if(u.loaded&&c>-1){const E=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(h-Math.min(E,c),u.loaded)}else this.bwEstimator.sampleTTFB(h)}break}}}getTimeToLoadFrag(e,t,n,r){const i=e+n/t,a=r?e+this.lastLevelLoadSec:0;return i+a}onLevelLoaded(e,t){const n=this.hls.config,{loading:r}=t.stats,i=r.end-r.first;g(i)&&(this.lastLevelLoadSec=i/1e3),t.details.live?this.bwEstimator.update(n.abrEwmaSlowLive,n.abrEwmaFastLive):this.bwEstimator.update(n.abrEwmaSlowVoD,n.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(t.levelInfo)}onFragLoaded(e,{frag:t,part:n}){const r=n?n.stats:t.stats;if(t.type===he.MAIN&&this.bwEstimator.sampleTTFB(r.loading.first-r.loading.start),!this.ignoreFragment(t)){if(this.clearTimer(),t.level===this._nextAutoLevel&&(this._nextAutoLevel=-1),this.firstSelection=-1,this.hls.config.abrMaxWithRealBitrate){const i=n?n.duration:t.duration,a=this.hls.levels[t.level],u=(a.loaded?a.loaded.bytes:0)+r.loaded,h=(a.loaded?a.loaded.duration:0)+i;a.loaded={bytes:u,duration:h},a.realBitrate=Math.round(8*u/h)}if(t.bitrateTest){const i={stats:r,frag:t,part:n,id:t.type};this.onFragBuffered(m.FRAG_BUFFERED,i),t.bitrateTest=!1}else this.lastLoadedFragLevel=t.level}}onFragBuffered(e,t){const{frag:n,part:r}=t,i=r!=null&&r.stats.loaded?r.stats:n.stats;if(i.aborted||this.ignoreFragment(n))return;const a=i.parsing.end-i.loading.start-Math.min(i.loading.first-i.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(a,i.loaded),i.bwEstimate=this.getBwEstimate(),n.bitrateTest?this.bitrateTestDelay=a/1e3:this.bitrateTestDelay=0}ignoreFragment(e){return e.type!==he.MAIN||e.sn==="initSegment"}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:e,minAutoLevel:t}=this.hls,n=this.getBwEstimate(),r=this.hls.config.maxStarvationDelay,i=this.findBestLevel(n,t,e,0,r,1,1);if(i>-1)return i;const a=this.hls.firstLevel,u=Math.min(Math.max(a,t),e);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${a} clamped to ${u}`),u}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const e=this.forcedAutoLevel,n=this.bwEstimator.canEstimate(),r=this.lastLoadedFragLevel>-1;if(e!==-1&&(!n||!r||this.nextAutoLevelKey===this.getAutoLevelKey()))return e;const i=n&&r?this.getNextABRAutoLevel():this.firstAutoLevel;if(e!==-1){const a=this.hls.levels;if(a.length>Math.max(e,i)&&a[e].loadError<=a[i].loadError)return e}return this._nextAutoLevel=i,this.nextAutoLevelKey=this.getAutoLevelKey(),i}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:e,partCurrent:t,hls:n}=this;if(n.levels.length<=1)return n.loadLevel;const{maxAutoLevel:r,config:i,minAutoLevel:a}=n,u=t?t.duration:e?e.duration:0,h=this.getBwEstimate(),c=this.getStarvationDelay();let S=i.abrBandWidthFactor,E=i.abrBandWidthUpFactor;if(c){const Ne=this.findBestLevel(h,a,r,c,0,S,E);if(Ne>=0)return this.rebufferNotice=-1,Ne}let z=u?Math.min(u,i.maxStarvationDelay):i.maxStarvationDelay;if(!c){const Ne=this.bitrateTestDelay;Ne&&(z=(u?Math.min(u,i.maxLoadingDelay):i.maxLoadingDelay)-Ne,this.info(`bitrate test took ${Math.round(1e3*Ne)}ms, set first fragment max fetchDuration to ${Math.round(1e3*z)} ms`),S=E=1)}const te=this.findBestLevel(h,a,r,c,z,S,E);if(this.rebufferNotice!==te&&(this.rebufferNotice=te,this.info(`${c?"rebuffering expected":"buffer is empty"}, optimal quality level ${te}`)),te>-1)return te;const ee=n.levels[a],De=n.loadLevelObj;return De&&(ee==null?void 0:ee.bitrate)<De.bitrate?a:n.loadLevel}getStarvationDelay(){const e=this.hls,t=e.media;if(!t)return 1/0;const n=t&&t.playbackRate!==0?Math.abs(t.playbackRate):1,r=e.mainForwardBufferInfo;return(r?r.len:0)/n}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(e,t,n,r,i,a,u){var h;const c=r+i,S=this.lastLoadedFragLevel,E=S===-1?this.hls.firstLevel:S,{fragCurrent:z,partCurrent:te}=this,{levels:ee,allAudioTracks:De,loadLevel:Ne,config:tt}=this.hls;if(ee.length===1)return 0;const St=ee[E],ct=!!((h=this.hls.latestLevelDetails)!=null&&h.live),zt=Ne===-1||S===-1;let Vt,pn="SDR",$t=(St==null?void 0:St.frameRate)||0;const{audioPreference:un,videoPreference:wn}=tt,Jt=this.audioTracksByGroup||(this.audioTracksByGroup=cn(De));let $n=-1;if(zt){if(this.firstSelection!==-1)return this.firstSelection;const Ir=this.codecTiers||(this.codecTiers=ht(ee,Jt,t,n)),Wr=Qn(Ir,pn,e,un,wn),{codecSet:Kr,videoRanges:Zn,minFramerate:Xn,minBitrate:ui,minIndex:ni,preferHDR:_i}=Wr;$n=ni,Vt=Kr,pn=_i?Zn[Zn.length-1]:Zn[0],$t=Xn,e=Math.max(e,ui),this.log(`picked start tier ${fn(Wr)}`)}else Vt=St==null?void 0:St.codecSet,pn=St==null?void 0:St.videoRange;const yr=te?te.duration:z?z.duration:0,wi=this.bwEstimator.getEstimateTTFB()/1e3,Xr=[];for(let Ir=n;Ir>=t;Ir--){var jr;const Wr=ee[Ir],Kr=Ir>E;if(!Wr)continue;if(tt.useMediaCapabilities&&!Wr.supportedResult&&!Wr.supportedPromise){const Zi=navigator.mediaCapabilities;typeof(Zi==null?void 0:Zi.decodingInfo)=="function"&&(Be(Wr,Jt,pn,$t,e,un)||xt(Wr.videoCodec))?(Wr.supportedPromise=Re(Wr,Jt,Zi),Wr.supportedPromise.then(na=>{if(!this.hls)return;Wr.supportedResult=na;const Ga=this.hls.levels,Za=Ga.indexOf(Wr);na.error?this.warn(`MediaCapabilities decodingInfo error: "${na.error}" for level ${Za} ${fn(na)}`):na.supported||(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${Za} ${fn(na)}`),Za>-1&&Ga.length>1&&(this.log(`Removing unsupported level ${Za}`),this.hls.removeLevel(Za),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):Wr.supportedResult=We}if((Vt&&Wr.codecSet!==Vt||pn&&Wr.videoRange!==pn||Kr&&$t>Wr.frameRate||!Kr&&$t>0&&$t<Wr.frameRate||Wr.supportedResult&&!((jr=Wr.supportedResult.decodingInfoResults)!=null&&jr[0].smooth))&&(!zt||Ir!==$n)){Xr.push(Ir);continue}const Zn=Wr.details,Xn=(te?Zn==null?void 0:Zn.partTarget:Zn==null?void 0:Zn.averagetargetduration)||yr;let ui;Kr?ui=u*e:ui=a*e;const ni=yr&&r>=yr*2&&i===0?Wr.averageBitrate:Wr.maxBitrate,_i=this.getTimeToLoadFrag(wi,ui,ni*Xn,Zn===void 0);if(ui>=ni&&(Ir===S||Wr.loadError===0&&Wr.fragmentError===0)&&(_i<=wi||!g(_i)||ct&&!this.bitrateTestDelay||_i<c)){const Zi=this.forcedAutoLevel;return Ir!==Ne&&(Zi===-1||Zi!==Ne)&&(Xr.length&&this.trace(`Skipped level(s) ${Xr.join(",")} of ${n} max with CODECS and VIDEO-RANGE:"${ee[Xr[0]].codecs}" ${ee[Xr[0]].videoRange}; not compatible with "${Vt}" ${pn}`),this.info(`switch candidate:${E}->${Ir} adjustedbw(${Math.round(ui)})-bitrate=${Math.round(ui-ni)} ttfb:${wi.toFixed(1)} avgDuration:${Xn.toFixed(1)} maxFetchDuration:${c.toFixed(1)} fetchDuration:${_i.toFixed(1)} firstSelection:${zt} codecSet:${Wr.codecSet} videoRange:${Wr.videoRange} hls.loadLevel:${Ne}`)),zt&&(this.firstSelection=Ir),Ir}}return-1}set nextAutoLevel(e){const t=this.deriveNextAutoLevel(e);this._nextAutoLevel!==t&&(this.nextAutoLevelKey="",this._nextAutoLevel=t)}deriveNextAutoLevel(e){const{maxAutoLevel:t,minAutoLevel:n}=this.hls;return Math.min(Math.max(e,n),t)}}const Vn={search:function(s,e){let t=0,n=s.length-1,r=null,i=null;for(;t<=n;){r=(t+n)/2|0,i=s[r];const a=e(i);if(a>0)t=r+1;else if(a<0)n=r-1;else return i}return null}};function fr(s,e,t){if(e===null||!Array.isArray(s)||!s.length||!g(e))return null;const n=s[0].programDateTime;if(e<(n||0))return null;const r=s[s.length-1].endProgramDateTime;if(e>=(r||0))return null;t=t||0;for(let i=0;i<s.length;++i){const a=s[i];if(gr(e,t,a))return a}return null}function Rn(s,e,t=0,n=0,r=.005){let i=null;if(s){i=e[1+s.sn-e[0].sn]||null;const u=s.endDTS-t;u>0&&u<15e-7&&(t+=15e-7),i&&s.level!==i.level&&i.end<=s.end&&(i=e[2+s.sn-e[0].sn]||null)}else t===0&&e[0].start===0&&(i=e[0]);if(i&&((!s||s.level===i.level)&&mr(t,n,i)===0||In(i,s,Math.min(r,n))))return i;const a=Vn.search(e,mr.bind(null,t,n));return a&&(a!==s||!i)?a:i}function In(s,e,t){if(e&&e.start===0&&e.level<s.level&&(e.endPTS||0)>0){const n=e.tagList.reduce((r,i)=>(i[0]==="INF"&&(r+=parseFloat(i[1])),r),t);return s.start<=n}return!1}function mr(s=0,e=0,t){if(t.start<=s&&t.start+t.duration>s)return 0;const n=Math.min(e,t.duration+(t.deltaPTS?t.deltaPTS:0));return t.start+t.duration-n<=s?1:t.start-n>s&&t.start?-1:0}function gr(s,e,t){const n=Math.min(e,t.duration+(t.deltaPTS?t.deltaPTS:0))*1e3;return(t.endProgramDateTime||0)-n>s}function Dr(s,e){return Vn.search(s,t=>t.cc<e?1:t.cc>e?-1:0)}function ar(s,e,t){if(s&&s.startCC<=e&&s.endCC>=e){const n=t.start,r=t.end;let i=s.fragments;if(!t.relurl){const{fragmentHint:a}=s;a&&(i=i.concat(a))}return Vn.search(i,a=>a.cc<e||a.end<=n?1:a.cc>e||a.start>=r?-1:0)}return null}function sr(s){switch(s.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 wr(s,e){const t=sr(e);return s.default[`${t?"timeout":"error"}Retry`]}function ir(s,e){const t=s.backoff==="linear"?1:Math.pow(2,e);return Math.min(t*s.retryDelayMs,s.maxRetryDelayMs)}function Pr(s){return A(A({},s),{errorRetry:null,timeoutRetry:null})}function ei(s,e,t,n){if(!s)return!1;const r=n==null?void 0:n.code,i=e<s.maxNumRetry&&(er(r)||!!t);return s.shouldRetry?s.shouldRetry(s,e,t,n,i):i}function er(s){return s===0&&navigator.onLine===!1||!!s&&(s<400||s>499)}var Hn={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},gt={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class Bn extends pe{constructor(e){super("error-controller",e.logger),this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.hls=e,this.registerListeners()}registerListeners(){const e=this.hls;e.on(m.ERROR,this.onError,this),e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const e=this.hls;e&&(e.off(m.ERROR,this.onError,this),e.off(m.ERROR,this.onErrorOut,this),e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(e){}stopLoad(){this.playlistError=0}getVariantLevelIndex(e){return(e==null?void 0:e.type)===he.MAIN?e.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(e,t){var n;if(t.fatal)return;const r=this.hls,i=t.context;switch(t.details){case F.FRAG_LOAD_ERROR:case F.FRAG_LOAD_TIMEOUT:case F.KEY_LOAD_ERROR:case F.KEY_LOAD_TIMEOUT:t.errorAction=this.getFragRetryOrSwitchAction(t);return;case F.FRAG_PARSING_ERROR:if((n=t.frag)!=null&&n.gap){t.errorAction=lr();return}case F.FRAG_GAP:case F.FRAG_DECRYPT_ERROR:{t.errorAction=this.getFragRetryOrSwitchAction(t),t.errorAction.action=Hn.SendAlternateToPenaltyBox;return}case F.LEVEL_EMPTY_ERROR:case F.LEVEL_PARSING_ERROR:{var a,u;const c=t.parent===he.MAIN?t.level:r.loadLevel;t.details===F.LEVEL_EMPTY_ERROR&&((a=t.context)!=null&&(u=a.levelDetails)!=null&&u.live)?t.errorAction=this.getPlaylistRetryOrSwitchAction(t,c):(t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,c))}return;case F.LEVEL_LOAD_ERROR:case F.LEVEL_LOAD_TIMEOUT:typeof(i==null?void 0:i.level)=="number"&&(t.errorAction=this.getPlaylistRetryOrSwitchAction(t,i.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(i){const c=r.loadLevelObj;if(c&&(i.type===w.AUDIO_TRACK&&c.hasAudioGroup(i.groupId)||i.type===w.SUBTITLE_TRACK&&c.hasSubtitleGroup(i.groupId))){t.errorAction=this.getPlaylistRetryOrSwitchAction(t,r.loadLevel),t.errorAction.action=Hn.SendAlternateToPenaltyBox,t.errorAction.flags=gt.MoveAllAlternatesMatchingHost;return}}return;case F.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const c=r.loadLevelObj,S=c==null?void 0:c.attrs["HDCP-LEVEL"];S?t.errorAction={action:Hn.SendAlternateToPenaltyBox,flags:gt.MoveAllAlternatesMatchingHDCP,hdcpLevel:S}:this.keySystemError(t)}return;case F.BUFFER_ADD_CODEC_ERROR:case F.REMUX_ALLOC_ERROR:case F.BUFFER_APPEND_ERROR:if(!t.errorAction){var h;t.errorAction=this.getLevelSwitchAction(t,(h=t.level)!=null?h:r.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:t.errorAction=lr();return}t.type===ge.KEY_SYSTEM_ERROR&&this.keySystemError(t)}keySystemError(e){const t=this.getVariantLevelIndex(e.frag);e.levelRetry=!1,e.errorAction=this.getLevelSwitchAction(e,t)}getPlaylistRetryOrSwitchAction(e,t){const n=this.hls,r=wr(n.config.playlistLoadPolicy,e),i=this.playlistError++;if(ei(r,i,sr(e),e.response))return{action:Hn.RetryRequest,flags:gt.None,retryConfig:r,retryCount:i};const u=this.getLevelSwitchAction(e,t);return r&&(u.retryConfig=r,u.retryCount=i),u}getFragRetryOrSwitchAction(e){const t=this.hls,n=this.getVariantLevelIndex(e.frag),r=t.levels[n],{fragLoadPolicy:i,keyLoadPolicy:a}=t.config,u=wr(e.details.startsWith("key")?a:i,e),h=t.levels.reduce((S,E)=>S+E.fragmentError,0);if(r&&(e.details!==F.FRAG_GAP&&r.fragmentError++,ei(u,h,sr(e),e.response)))return{action:Hn.RetryRequest,flags:gt.None,retryConfig:u,retryCount:h};const c=this.getLevelSwitchAction(e,n);return u&&(c.retryConfig=u,c.retryCount=h),c}getLevelSwitchAction(e,t){const n=this.hls;t==null&&(t=n.loadLevel);const r=this.hls.levels[t];if(r){var i,a;const c=e.details;r.loadError++,c===F.BUFFER_APPEND_ERROR&&r.fragmentError++;let S=-1;const{levels:E,loadLevel:z,minAutoLevel:te,maxAutoLevel:ee}=n;n.autoLevelEnabled||(n.loadLevel=-1);const De=(i=e.frag)==null?void 0:i.type,tt=(De===he.AUDIO&&c===F.FRAG_PARSING_ERROR||e.sourceBufferName==="audio"&&(c===F.BUFFER_ADD_CODEC_ERROR||c===F.BUFFER_APPEND_ERROR))&&E.some(({audioCodec:pn})=>r.audioCodec!==pn),ct=e.sourceBufferName==="video"&&(c===F.BUFFER_ADD_CODEC_ERROR||c===F.BUFFER_APPEND_ERROR)&&E.some(({codecSet:pn,audioCodec:$t})=>r.codecSet!==pn&&r.audioCodec===$t),{type:zt,groupId:Vt}=(a=e.context)!=null?a:{};for(let pn=E.length;pn--;){const $t=(pn+z)%E.length;if($t!==z&&$t>=te&&$t<=ee&&E[$t].loadError===0){var u,h;const un=E[$t];if(c===F.FRAG_GAP&&De===he.MAIN&&e.frag){const wn=E[$t].details;if(wn){const Jt=Rn(e.frag,wn.fragments,e.frag.start);if(Jt!=null&&Jt.gap)continue}}else{if(zt===w.AUDIO_TRACK&&un.hasAudioGroup(Vt)||zt===w.SUBTITLE_TRACK&&un.hasSubtitleGroup(Vt))continue;if(De===he.AUDIO&&(u=r.audioGroups)!=null&&u.some(wn=>un.hasAudioGroup(wn))||De===he.SUBTITLE&&(h=r.subtitleGroups)!=null&&h.some(wn=>un.hasSubtitleGroup(wn))||tt&&r.audioCodec===un.audioCodec||!tt&&r.audioCodec!==un.audioCodec||ct&&r.codecSet===un.codecSet)continue}S=$t;break}}if(S>-1&&n.loadLevel!==S)return e.levelRetry=!0,this.playlistError=0,{action:Hn.SendAlternateToPenaltyBox,flags:gt.None,nextAutoLevel:S}}return{action:Hn.SendAlternateToPenaltyBox,flags:gt.MoveAllAlternatesMatchingHost}}onErrorOut(e,t){var n;switch((n=t.errorAction)==null?void 0:n.action){case Hn.DoNothing:break;case Hn.SendAlternateToPenaltyBox:this.sendAlternateToPenaltyBox(t),!t.errorAction.resolved&&t.details!==F.FRAG_GAP?t.fatal=!0:/MediaSource readyState: ended/.test(t.error.message)&&(this.warn(`MediaSource ended after "${t.sourceBufferName}" sourceBuffer append error. Attempting to recover from media error.`),this.hls.recoverMediaError());break;case Hn.RetryRequest:break}if(t.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(e){const t=this.hls,n=e.errorAction;if(!n)return;const{flags:r,hdcpLevel:i,nextAutoLevel:a}=n;switch(r){case gt.None:this.switchLevel(e,a);break;case gt.MoveAllAlternatesMatchingHDCP:i&&(t.maxHdcpLevel=mt[mt.indexOf(i)-1],n.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${t.maxHdcpLevel}" or lower`);break}n.resolved||this.switchLevel(e,a)}switchLevel(e,t){if(t!==void 0&&e.errorAction&&(this.warn(`switching to level ${t} after ${e.details}`),this.hls.nextAutoLevel=t,e.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel,e.details===F.BUFFER_ADD_CODEC_ERROR&&e.mimeType&&e.sourceBufferName!=="audiovideo")){const n=Bt(e.mimeType),r=this.hls.levels;for(let i=r.length;i--;)r[i][`${e.sourceBufferName}Codec`]===n&&this.hls.removeLevel(i)}}}function lr(s){const e={action:Hn.DoNothing,flags:gt.None};return s&&(e.resolved=!0),e}var nr={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Fr{constructor(e){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=e,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.BUFFER_APPENDED,this.onBufferAppended,this),e.on(m.FRAG_BUFFERED,this.onFragBuffered,this),e.on(m.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:e}=this;e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.BUFFER_APPENDED,this.onBufferAppended,this),e.off(m.FRAG_BUFFERED,this.onFragBuffered,this),e.off(m.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(e,t){const n=this.activePartLists[t];if(n)for(let r=n.length;r--;){const i=n[r];if(!i)break;const a=i.end;if(i.start<=e&&a!==null&&e<=a)return i}return this.getBufferedFrag(e,t)}getBufferedFrag(e,t){return this.getFragAtPos(e,t,!0)}getFragAtPos(e,t,n){const{fragments:r}=this,i=Object.keys(r);for(let a=i.length;a--;){const u=r[i[a]];if((u==null?void 0:u.body.type)===t&&(!n||u.buffered)){const h=u.body;if(h.start<=e&&e<=h.end)return h}}return null}detectEvictedFragments(e,t,n,r,i){this.timeRanges&&(this.timeRanges[e]=t);const a=(r==null?void 0:r.fragment.sn)||-1;Object.keys(this.fragments).forEach(u=>{const h=this.fragments[u];if(!h||a>=h.body.sn)return;if(!h.buffered&&(!h.loaded||i)){h.body.type===n&&this.removeFragment(h.body);return}const c=h.range[e];if(c){if(c.time.length===0){this.removeFragment(h.body);return}c.time.some(S=>{const E=!this.isTimeBuffered(S.startPTS,S.endPTS,t);return E&&this.removeFragment(h.body),E})}})}detectPartialFragments(e){const t=this.timeRanges;if(!t||e.frag.sn==="initSegment")return;const n=e.frag,r=Zr(n),i=this.fragments[r];if(!i||i.buffered&&n.gap)return;const a=!n.relurl;Object.keys(t).forEach(u=>{const h=n.elementaryStreams[u];if(!h)return;const c=t[u],S=a||h.partial===!0;i.range[u]=this.getBufferedTimes(n,e.part,S,c)}),i.loaded=null,Object.keys(i.range).length?(i.buffered=!0,(i.body.endList=n.endList||i.body.endList)&&(this.endListFragments[i.body.type]=i),zr(i)||this.removeParts(n.sn-1,n.type)):this.removeFragment(i.body)}removeParts(e,t){const n=this.activePartLists[t];n&&(this.activePartLists[t]=n.filter(r=>r.fragment.sn>=e))}fragBuffered(e,t){const n=Zr(e);let r=this.fragments[n];!r&&t&&(r=this.fragments[n]={body:e,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},e.gap&&(this.hasGaps=!0)),r&&(r.loaded=null,r.buffered=!0)}getBufferedTimes(e,t,n,r){const i={time:[],partial:n},a=e.start,u=e.end,h=e.minEndPTS||u,c=e.maxStartPTS||a;for(let S=0;S<r.length;S++){const E=r.start(S)-this.bufferPadding,z=r.end(S)+this.bufferPadding;if(c>=E&&h<=z){i.time.push({startPTS:Math.max(a,r.start(S)),endPTS:Math.min(u,r.end(S))});break}else if(a<z&&u>E){const te=Math.max(a,r.start(S)),ee=Math.min(u,r.end(S));ee>te&&(i.partial=!0,i.time.push({startPTS:te,endPTS:ee}))}else if(u<=E)break}return i}getPartialFragment(e){let t=null,n,r,i,a=0;const{bufferPadding:u,fragments:h}=this;return Object.keys(h).forEach(c=>{const S=h[c];S&&zr(S)&&(r=S.body.start-u,i=S.body.end+u,e>=r&&e<=i&&(n=Math.min(e-r,i-e),a<=n&&(t=S.body,a=n)))}),t}isEndListAppended(e){const t=this.endListFragments[e];return t!==void 0&&(t.buffered||zr(t))}getState(e){const t=Zr(e),n=this.fragments[t];return n?n.buffered?zr(n)?nr.PARTIAL:nr.OK:nr.APPENDING:nr.NOT_LOADED}isTimeBuffered(e,t,n){let r,i;for(let a=0;a<n.length;a++){if(r=n.start(a)-this.bufferPadding,i=n.end(a)+this.bufferPadding,e>=r&&t<=i)return!0;if(t<=r)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(e,t){if(t.frag.sn==="initSegment"||t.frag.bitrateTest)return;const n=t.frag,r=t.part?null:t,i=Zr(n);this.fragments[i]={body:n,appendedPTS:null,loaded:r,buffered:!1,range:Object.create(null)}}onBufferAppended(e,t){const{frag:n,part:r,timeRanges:i,type:a}=t;if(n.sn==="initSegment")return;const u=n.type;if(r){let c=this.activePartLists[u];c||(this.activePartLists[u]=c=[]),c.push(r)}this.timeRanges=i;const h=i[a];this.detectEvictedFragments(a,h,u,r)}onFragBuffered(e,t){this.detectPartialFragments(t)}hasFragment(e){const t=Zr(e);return!!this.fragments[t]}hasFragments(e){const{fragments:t}=this,n=Object.keys(t);if(!e)return n.length>0;for(let r=n.length;r--;){const i=t[n[r]];if((i==null?void 0:i.body.type)===e)return!0}return!1}hasParts(e){var t;return!!((t=this.activePartLists[e])!=null&&t.length)}removeFragmentsInRange(e,t,n,r,i){r&&!this.hasGaps||Object.keys(this.fragments).forEach(a=>{const u=this.fragments[a];if(!u)return;const h=u.body;h.type!==n||r&&!h.gap||h.start<t&&h.end>e&&(u.buffered||i)&&this.removeFragment(h)})}removeFragment(e){const t=Zr(e);e.clearElementaryStreamInfo();const n=this.activePartLists[e.type];if(n){const r=e.sn;this.activePartLists[e.type]=n.filter(i=>i.fragment.sn!==r)}delete this.fragments[t],e.endList&&delete this.endListFragments[e.type]}removeAllFragments(){var e,t;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const n=(e=this.hls)==null||(t=e.latestLevelDetails)==null?void 0:t.partList;n&&n.forEach(r=>r.clearElementaryStreamInfo())}}function zr(s){var e,t,n;return s.buffered&&(s.body.gap||((e=s.range.video)==null?void 0:e.partial)||((t=s.range.audio)==null?void 0:t.partial)||((n=s.range.audiovideo)==null?void 0:n.partial))}function Zr(s){return`${s.type}_${s.level}_${s.sn}`}var hr={cbc:0,ctr:1};class Yr{constructor(e,t,n){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=e,this.aesIV=t,this.aesMode=n}decrypt(e,t){switch(this.aesMode){case hr.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e);case hr.ctr:return this.subtle.decrypt({name:"AES-CTR",counter:this.aesIV,length:64},t,e);default:throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`)}}}function jn(s){const e=s.byteLength,t=e&&new DataView(s.buffer).getUint8(e-1);return t?s.slice(0,e-t):s}class On{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_(e){const t=new DataView(e),n=new Uint32Array(4);for(let r=0;r<4;r++)n[r]=t.getUint32(r*4);return n}initTable(){const e=this.sBox,t=this.invSBox,n=this.subMix,r=n[0],i=n[1],a=n[2],u=n[3],h=this.invSubMix,c=h[0],S=h[1],E=h[2],z=h[3],te=new Uint32Array(256);let ee=0,De=0,Ne=0;for(Ne=0;Ne<256;Ne++)Ne<128?te[Ne]=Ne<<1:te[Ne]=Ne<<1^283;for(Ne=0;Ne<256;Ne++){let tt=De^De<<1^De<<2^De<<3^De<<4;tt=tt>>>8^tt&255^99,e[ee]=tt,t[tt]=ee;const St=te[ee],ct=te[St],zt=te[ct];let Vt=te[tt]*257^tt*16843008;r[ee]=Vt<<24|Vt>>>8,i[ee]=Vt<<16|Vt>>>16,a[ee]=Vt<<8|Vt>>>24,u[ee]=Vt,Vt=zt*16843009^ct*65537^St*257^ee*16843008,c[tt]=Vt<<24|Vt>>>8,S[tt]=Vt<<16|Vt>>>16,E[tt]=Vt<<8|Vt>>>24,z[tt]=Vt,ee?(ee=St^te[te[te[zt^St]]],De^=te[te[De]]):ee=De=1}}expandKey(e){const t=this.uint8ArrayToUint32Array_(e);let n=!0,r=0;for(;r<t.length&&n;)n=t[r]===this.key[r],r++;if(n)return;this.key=t;const i=this.keySize=t.length;if(i!==4&&i!==6&&i!==8)throw new Error("Invalid aes key size="+i);const a=this.ksRows=(i+6+1)*4;let u,h;const c=this.keySchedule=new Uint32Array(a),S=this.invKeySchedule=new Uint32Array(a),E=this.sBox,z=this.rcon,te=this.invSubMix,ee=te[0],De=te[1],Ne=te[2],tt=te[3];let St,ct;for(u=0;u<a;u++){if(u<i){St=c[u]=t[u];continue}ct=St,u%i===0?(ct=ct<<8|ct>>>24,ct=E[ct>>>24]<<24|E[ct>>>16&255]<<16|E[ct>>>8&255]<<8|E[ct&255],ct^=z[u/i|0]<<24):i>6&&u%i===4&&(ct=E[ct>>>24]<<24|E[ct>>>16&255]<<16|E[ct>>>8&255]<<8|E[ct&255]),c[u]=St=(c[u-i]^ct)>>>0}for(h=0;h<a;h++)u=a-h,h&3?ct=c[u]:ct=c[u-4],h<4||u<=4?S[h]=ct:S[h]=ee[E[ct>>>24]]^De[E[ct>>>16&255]]^Ne[E[ct>>>8&255]]^tt[E[ct&255]],S[h]=S[h]>>>0}networkToHostOrderSwap(e){return e<<24|(e&65280)<<8|(e&16711680)>>8|e>>>24}decrypt(e,t,n){const r=this.keySize+6,i=this.invKeySchedule,a=this.invSBox,u=this.invSubMix,h=u[0],c=u[1],S=u[2],E=u[3],z=this.uint8ArrayToUint32Array_(n);let te=z[0],ee=z[1],De=z[2],Ne=z[3];const tt=new Int32Array(e),St=new Int32Array(tt.length);let ct,zt,Vt,pn,$t,un,wn,Jt,$n,yr,wi,Xr,jr,Ir;const Wr=this.networkToHostOrderSwap;for(;t<tt.length;){for($n=Wr(tt[t]),yr=Wr(tt[t+1]),wi=Wr(tt[t+2]),Xr=Wr(tt[t+3]),$t=$n^i[0],un=Xr^i[1],wn=wi^i[2],Jt=yr^i[3],jr=4,Ir=1;Ir<r;Ir++)ct=h[$t>>>24]^c[un>>16&255]^S[wn>>8&255]^E[Jt&255]^i[jr],zt=h[un>>>24]^c[wn>>16&255]^S[Jt>>8&255]^E[$t&255]^i[jr+1],Vt=h[wn>>>24]^c[Jt>>16&255]^S[$t>>8&255]^E[un&255]^i[jr+2],pn=h[Jt>>>24]^c[$t>>16&255]^S[un>>8&255]^E[wn&255]^i[jr+3],$t=ct,un=zt,wn=Vt,Jt=pn,jr=jr+4;ct=a[$t>>>24]<<24^a[un>>16&255]<<16^a[wn>>8&255]<<8^a[Jt&255]^i[jr],zt=a[un>>>24]<<24^a[wn>>16&255]<<16^a[Jt>>8&255]<<8^a[$t&255]^i[jr+1],Vt=a[wn>>>24]<<24^a[Jt>>16&255]<<16^a[$t>>8&255]<<8^a[un&255]^i[jr+2],pn=a[Jt>>>24]<<24^a[$t>>16&255]<<16^a[un>>8&255]<<8^a[wn&255]^i[jr+3],St[t]=Wr(ct^te),St[t+1]=Wr(pn^ee),St[t+2]=Wr(Vt^De),St[t+3]=Wr(zt^Ne),te=$n,ee=yr,De=wi,Ne=Xr,t=t+4}return St.buffer}}class Er{constructor(e,t,n){this.subtle=void 0,this.key=void 0,this.aesMode=void 0,this.subtle=e,this.key=t,this.aesMode=n}expandKey(){const e=Or(this.aesMode);return this.subtle.importKey("raw",this.key,{name:e},!1,["encrypt","decrypt"])}}function Or(s){switch(s){case hr.cbc:return"AES-CBC";case hr.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${s}`)}}const ti=16;class Ii{constructor(e,{removePKCS7Padding:t=!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=e.enableSoftwareAES,this.removePKCS7Padding=t,t)try{const n=self.crypto;n&&(this.subtle=n.subtle||n.webkitSubtle)}catch(n){}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:e,remainderData:t}=this;if(!e||t)return this.reset(),null;const n=new Uint8Array(e);return this.reset(),this.removePKCS7Padding?jn(n):n}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(e,t,n,r){return this.useSoftware?new Promise((i,a)=>{const u=ArrayBuffer.isView(e)?e:new Uint8Array(e);this.softwareDecrypt(u,t,n,r);const h=this.flush();h?i(h.buffer):a(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(e),t,n,r)}softwareDecrypt(e,t,n,r){const{currentIV:i,currentResult:a,remainderData:u}=this;if(r!==hr.cbc||t.byteLength!==16)return j.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),u&&(e=Ze(u,e),this.remainderData=null);const h=this.getValidChunk(e);if(!h.length)return null;i&&(n=i);let c=this.softwareDecrypter;c||(c=this.softwareDecrypter=new On),c.expandKey(t);const S=a;return this.currentResult=c.decrypt(h.buffer,0,n),this.currentIV=h.slice(-16).buffer,S||null}webCryptoDecrypt(e,t,n,r){if(this.key!==t||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(e,t,n,r));this.key=t,this.fastAesKey=new Er(this.subtle,t,r)}return this.fastAesKey.expandKey().then(i=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new Yr(this.subtle,new Uint8Array(n),r).decrypt(e.buffer,i)):Promise.reject(new Error("web crypto not initialized"))).catch(i=>(j.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${i.name}: ${i.message}`),this.onWebCryptoError(e,t,n,r)))}onWebCryptoError(e,t,n,r){const i=this.enableSoftwareAES;if(i){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(e,t,n,r);const a=this.flush();if(a)return a.buffer}throw new Error("WebCrypto"+(i?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(e){let t=e;const n=e.length-e.length%ti;return n!==e.length&&(t=e.slice(0,n),this.remainderData=e.slice(n)),t}logOnce(e){this.logEnabled&&(j.log(`[decrypter]: ${e}`),this.logEnabled=!1)}}const Gn=Math.pow(2,17);class ri{constructor(e){this.config=void 0,this.loader=null,this.partLoadTimeout=-1,this.config=e}destroy(){this.loader&&(this.loader.destroy(),this.loader=null)}abort(){this.loader&&this.loader.abort()}load(e,t){const n=e.url;if(!n)return Promise.reject(new bi({type:ge.NETWORK_ERROR,details:F.FRAG_LOAD_ERROR,fatal:!1,frag:e,error:new Error(`Fragment does not have a ${n?"part list":"url"}`),networkDetails:null}));this.abort();const r=this.config,i=r.fLoader,a=r.loader;return new Promise((u,h)=>{if(this.loader&&this.loader.destroy(),e.gap)if(e.tagList.some(ee=>ee[0]==="GAP")){h(di(e));return}else e.gap=!1;const c=this.loader=i?new i(r):new a(r),S=Qr(e);e.loader=c;const E=Pr(r.fragLoadPolicy.default),z={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:e.sn==="initSegment"?1/0:Gn};e.stats=c.stats;const te={onSuccess:(ee,De,Ne,tt)=>{this.resetLoader(e,c);let St=ee.data;Ne.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(St.slice(0,16)),St=St.slice(16)),u({frag:e,part:null,payload:St,networkDetails:tt})},onError:(ee,De,Ne,tt)=>{this.resetLoader(e,c),h(new bi({type:ge.NETWORK_ERROR,details:F.FRAG_LOAD_ERROR,fatal:!1,frag:e,response:A({url:n,data:void 0},ee),error:new Error(`HTTP Error ${ee.code} ${ee.text}`),networkDetails:Ne,stats:tt}))},onAbort:(ee,De,Ne)=>{this.resetLoader(e,c),h(new bi({type:ge.NETWORK_ERROR,details:F.INTERNAL_ABORTED,fatal:!1,frag:e,error:new Error("Aborted"),networkDetails:Ne,stats:ee}))},onTimeout:(ee,De,Ne)=>{this.resetLoader(e,c),h(new bi({type:ge.NETWORK_ERROR,details:F.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,error:new Error(`Timeout after ${z.timeout}ms`),networkDetails:Ne,stats:ee}))}};t&&(te.onProgress=(ee,De,Ne,tt)=>t({frag:e,part:null,payload:Ne,networkDetails:tt})),c.load(S,z,te)})}loadPart(e,t,n){this.abort();const r=this.config,i=r.fLoader,a=r.loader;return new Promise((u,h)=>{if(this.loader&&this.loader.destroy(),e.gap||t.gap){h(di(e,t));return}const c=this.loader=i?new i(r):new a(r),S=Qr(e,t);e.loader=c;const E=Pr(r.fragLoadPolicy.default),z={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:Gn};t.stats=c.stats,c.load(S,z,{onSuccess:(te,ee,De,Ne)=>{this.resetLoader(e,c),this.updateStatsFromPart(e,t);const tt={frag:e,part:t,payload:te.data,networkDetails:Ne};n(tt),u(tt)},onError:(te,ee,De,Ne)=>{this.resetLoader(e,c),h(new bi({type:ge.NETWORK_ERROR,details:F.FRAG_LOAD_ERROR,fatal:!1,frag:e,part:t,response:A({url:S.url,data:void 0},te),error:new Error(`HTTP Error ${te.code} ${te.text}`),networkDetails:De,stats:Ne}))},onAbort:(te,ee,De)=>{e.stats.aborted=t.stats.aborted,this.resetLoader(e,c),h(new bi({type:ge.NETWORK_ERROR,details:F.INTERNAL_ABORTED,fatal:!1,frag:e,part:t,error:new Error("Aborted"),networkDetails:De,stats:te}))},onTimeout:(te,ee,De)=>{this.resetLoader(e,c),h(new bi({type:ge.NETWORK_ERROR,details:F.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,part:t,error:new Error(`Timeout after ${z.timeout}ms`),networkDetails:De,stats:te}))}})})}updateStatsFromPart(e,t){const n=e.stats,r=t.stats,i=r.total;if(n.loaded+=r.loaded,i){const h=Math.round(e.duration/t.duration),c=Math.min(Math.round(n.loaded/i),h),E=(h-c)*Math.round(n.loaded/c);n.total=n.loaded+E}else n.total=Math.max(n.loaded,n.total);const a=n.loading,u=r.loading;a.start?a.first+=u.first-u.start:(a.start=u.start,a.first=u.first),a.end=u.end}resetLoader(e,t){e.loader=null,this.loader===t&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),t.destroy()}}function Qr(s,e=null){const t=e||s,n={frag:s,part:e,responseType:"arraybuffer",url:t.url,headers:{},rangeStart:0,rangeEnd:0},r=t.byteRangeStartOffset,i=t.byteRangeEndOffset;if(g(r)&&g(i)){var a;let u=r,h=i;if(s.sn==="initSegment"&&Oi((a=s.decryptdata)==null?void 0:a.method)){const c=i-r;c%16&&(h=i+(16-c%16)),r!==0&&(n.resetIV=!0,u=r-16)}n.rangeStart=u,n.rangeEnd=h}return n}function di(s,e){const t=new Error(`GAP ${s.gap?"tag":"attribute"} found`),n={type:ge.MEDIA_ERROR,details:F.FRAG_GAP,fatal:!1,frag:s,error:t,networkDetails:null};return e&&(n.part=e),(e||s).stats.aborted=!0,new bi(n)}function Oi(s){return s==="AES-128"||s==="AES-256"}class bi extends Error{constructor(e){super(e.error.message),this.data=void 0,this.data=e}}class ii extends pe{constructor(e,t){super(e,t),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(e){return this._tickInterval?!1:(this._tickCallCount=0,this._tickInterval=self.setInterval(this._boundTick,e),!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 Ci{constructor(e,t,n,r=0,i=-1,a=!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=oi(),this.buffering={audio:oi(),video:oi(),audiovideo:oi()},this.level=e,this.sn=t,this.id=n,this.size=r,this.part=i,this.partial=a}}function oi(){return{start:0,executeStart:0,executeEnd:0,end:0}}const Bi={length:0,start:()=>0,end:()=>0};class Cr{static isBuffered(e,t){if(e){const n=Cr.getBuffered(e);for(let r=n.length;r--;)if(t>=n.start(r)&&t<=n.end(r))return!0}return!1}static bufferedRanges(e){if(e){const t=Cr.getBuffered(e);return Cr.timeRangesToArray(t)}return[]}static timeRangesToArray(e){const t=[];for(let n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t}static bufferInfo(e,t,n){if(e){const r=Cr.bufferedRanges(e);if(r.length)return Cr.bufferedInfo(r,t,n)}return{len:0,start:t,end:t,bufferedIndex:-1}}static bufferedInfo(e,t,n){t=Math.max(0,t),e.length>1&&e.sort((S,E)=>S.start-E.start||E.end-S.end);let r=-1,i=[];if(n)for(let S=0;S<e.length;S++){t>=e[S].start&&t<=e[S].end&&(r=S);const E=i.length;if(E){const z=i[E-1].end;e[S].start-z<n?e[S].end>z&&(i[E-1].end=e[S].end):i.push(e[S])}else i.push(e[S])}else i=e;let a=0,u,h=t,c=t;for(let S=0;S<i.length;S++){const E=i[S].start,z=i[S].end;if(r===-1&&t>=E&&t<=z&&(r=S),t+n>=E&&t<z)h=E,c=z,a=c-t;else if(t+n<E){u=E;break}}return{len:a,start:h||0,end:c||0,nextStart:u,buffered:e,bufferedIndex:r}}static getBuffered(e){try{return e.buffered||Bi}catch(t){return j.log("failed to get media.buffered",t),Bi}}}const Yi=/\{\$([a-zA-Z0-9-_]+)\}/g;function Hi(s){return Yi.test(s)}function Qi(s,e){if(s.variableList!==null||s.hasVariableRefs){const t=s.variableList;return e.replace(Yi,n=>{const r=n.substring(2,n.length-1),i=t==null?void 0:t[r];return i===void 0?(s.playlistParsingError||(s.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${r}"`)),n):i})}return e}function $r(s,e,t){let n=s.variableList;n||(s.variableList=n={});let r,i;if("QUERYPARAM"in e){r=e.QUERYPARAM;try{const a=new self.URL(t).searchParams;if(a.has(r))i=a.get(r);else throw new Error(`"${r}" does not match any query parameter in URI: "${t}"`)}catch(a){s.playlistParsingError||(s.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${a.message}`))}}else r=e.NAME,i=e.VALUE;r in n?s.playlistParsingError||(s.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${r}"`)):n[r]=i||""}function ca(s,e,t){const n=e.IMPORT;if(t&&n in t){let r=s.variableList;r||(s.variableList=r={}),r[n]=t[n]}else s.playlistParsingError||(s.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${n}"`))}const ma=/^(\d+)x(\d+)$/,ua=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Mr{constructor(e,t){typeof e=="string"&&(e=Mr.parseAttrList(e,t)),y(this,e)}get clientAttrs(){return Object.keys(this).filter(e=>e.substring(0,2)==="X-")}decimalInteger(e){const t=parseInt(this[e],10);return t>Number.MAX_SAFE_INTEGER?1/0:t}hexadecimalInteger(e){if(this[e]){let t=(this[e]||"0x").slice(2);t=(t.length&1?"0":"")+t;const n=new Uint8Array(t.length/2);for(let r=0;r<t.length/2;r++)n[r]=parseInt(t.slice(r*2,r*2+2),16);return n}return null}hexadecimalIntegerAsNumber(e){const t=parseInt(this[e],16);return t>Number.MAX_SAFE_INTEGER?1/0:t}decimalFloatingPoint(e){return parseFloat(this[e])}optionalFloat(e,t){const n=this[e];return n?parseFloat(n):t}enumeratedString(e){return this[e]}enumeratedStringList(e,t){const n=this[e];return(n?n.split(/[ ,]+/):[]).reduce((r,i)=>(r[i.toLowerCase()]=!0,r),t)}bool(e){return this[e]==="YES"}decimalResolution(e){const t=ma.exec(this[e]);if(t!==null)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}static parseAttrList(e,t){let n;const r={},i='"';for(ua.lastIndex=0;(n=ua.exec(e))!==null;){const a=n[1].trim();let u=n[2];const h=u.indexOf(i)===0&&u.lastIndexOf(i)===u.length-1;let c=!1;if(h)u=u.slice(1,-1);else switch(a){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":c=!0}if(t&&(h||c))u=Qi(t,u);else if(!c&&!h)switch(a){case"CLOSED-CAPTIONS":if(u==="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":j.warn(`${e}: attribute ${a} is missing quotes`)}r[a]=u}return r}}const da="com.apple.hls.interstitial";function wa(s){return s!=="ID"&&s!=="CLASS"&&s!=="CUE"&&s!=="START-DATE"&&s!=="DURATION"&&s!=="END-DATE"&&s!=="END-ON-NEXT"}function Mn(s){return s==="SCTE35-OUT"||s==="SCTE35-IN"||s==="SCTE35-CMD"}class Ui{constructor(e,t,n=0){var r;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=(t==null?void 0:t.tagAnchor)||null,this.tagOrder=(r=t==null?void 0:t.tagOrder)!=null?r:n,t){const i=t.attr;for(const a in i)if(Object.prototype.hasOwnProperty.call(e,a)&&e[a]!==i[a]){j.warn(`DATERANGE tag attribute: "${a}" does not match for tags with ID: "${e.ID}"`),this._badValueForSameId=a;break}e=y(new Mr({}),i,e)}if(this.attr=e,t?(this._startDate=t._startDate,this._cue=t._cue,this._endDate=t._endDate,this._dateAtEnd=t._dateAtEnd):this._startDate=new Date(e["START-DATE"]),"END-DATE"in this.attr){const i=(t==null?void 0:t.endDate)||new Date(this.attr["END-DATE"]);g(i.getTime())&&(this._endDate=i)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const e=this._cue;return e===void 0?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):e}get startTime(){const{tagAnchor:e}=this;return e===null||e.programDateTime===null?(j.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${e}`),NaN):e.start+(this.startDate.getTime()-e.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const e=this._endDate||this._dateAtEnd;if(e)return e;const t=this.duration;return t!==null?this._dateAtEnd=new Date(this._startDate.getTime()+t*1e3):null}get duration(){if("DURATION"in this.attr){const e=this.attr.decimalFloatingPoint("DURATION");if(g(e))return e}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===da}get isValid(){return!!this.id&&!this._badValueForSameId&&g(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 ia=10;class vr{constructor(e){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=e}reloaded(e){if(!e){this.advanced=!0,this.updated=!0;return}const t=this.lastPartSn-e.lastPartSn,n=this.lastPartIndex-e.lastPartIndex;this.updated=this.endSN!==e.endSN||!!n||!!t||!this.live,this.advanced=this.endSN>e.endSN||t>0||t===0&&n>0,this.updated||this.advanced?this.misses=Math.floor(e.misses*.6):this.misses=e.misses+1}get hasProgramDateTime(){return this.fragments.length?g(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||ia}get drift(){const e=this.driftEndTime-this.driftStartTime;return e>0?(this.driftEnd-this.driftStart)*1e3/e:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var e;return(e=this.fragments)!=null&&e.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){var e;return(e=this.fragments)!=null&&e.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const e=this.partList;if(e){const t=this.lastPartIndex;if(t!==-1){for(let n=e.length;n--;)if(e[n].index>t)return e[n].index;return t}}return 0}get lastPartSn(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}get expired(){if(this.live&&this.age&&this.misses<3){const e=this.partEnd-this.fragmentStart;return this.age>Math.max(e,this.totalduration)+this.levelTargetDuration}return!1}}function xr(s){return s==="AES-128"||s==="AES-256"||s==="AES-256-CTR"}function ur(s){switch(s){case"AES-128":case"AES-256":return hr.cbc;case"AES-256-CTR":return hr.ctr;default:throw new Error(`invalid full segment method ${s}`)}}function Jn(s){return Uint8Array.from(atob(s),e=>e.charCodeAt(0))}function Hr(s){return Uint8Array.from(unescape(encodeURIComponent(s)),e=>e.charCodeAt(0))}function ai(s){const e=Hr(s).subarray(0,16),t=new Uint8Array(16);return t.set(e,16-e.length),t}function ji(s){const e=function(n,r,i){const a=n[r];n[r]=n[i],n[i]=a};e(s,0,3),e(s,1,2),e(s,4,5),e(s,6,7)}function Pi(s){const e=s.split(":");let t=null;if(e[0]==="data"&&e.length===2){const n=e[1].split(";"),r=n[n.length-1].split(",");if(r.length===2){const i=r[0]==="base64",a=r[1];i?(n.splice(-1,1),t=Jn(a)):t=ai(a)}}return t}const Ti=typeof self!="undefined"?self:void 0;var Br={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},Ni={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function Ca(s){switch(s){case Ni.FAIRPLAY:return Br.FAIRPLAY;case Ni.PLAYREADY:return Br.PLAYREADY;case Ni.WIDEVINE:return Br.WIDEVINE;case Ni.CLEARKEY:return Br.CLEARKEY}}var Na={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function fa(s){if(s===Na.WIDEVINE)return Br.WIDEVINE;if(s===Na.PLAYREADY)return Br.PLAYREADY;if(s===Na.CENC||s===Na.CLEARKEY)return Br.CLEARKEY}function sa(s){switch(s){case Br.FAIRPLAY:return Ni.FAIRPLAY;case Br.PLAYREADY:return Ni.PLAYREADY;case Br.WIDEVINE:return Ni.WIDEVINE;case Br.CLEARKEY:return Ni.CLEARKEY}}function or(s){const{drmSystems:e,widevineLicenseUrl:t}=s,n=e?[Br.FAIRPLAY,Br.WIDEVINE,Br.PLAYREADY,Br.CLEARKEY].filter(r=>!!e[r]):[];return!n[Br.WIDEVINE]&&t&&n.push(Br.WIDEVINE),n}const Lr=function(s){return Ti!=null&&(s=Ti.navigator)!=null&&s.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function Si(s,e,t,n){let r;switch(s){case Br.FAIRPLAY:r=["cenc","sinf"];break;case Br.WIDEVINE:case Br.PLAYREADY:r=["cenc"];break;case Br.CLEARKEY:r=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${s}`)}return Wi(r,e,t,n)}function Wi(s,e,t,n){return[{initDataTypes:s,persistentState:n.persistentState||"optional",distinctiveIdentifier:n.distinctiveIdentifier||"optional",sessionTypes:n.sessionTypes||[n.sessionType||"temporary"],audioCapabilities:e.map(i=>({contentType:`audio/mp4; codecs=${i}`,robustness:n.audioRobustness||"",encryptionScheme:n.audioEncryptionScheme||null})),videoCapabilities:t.map(i=>({contentType:`video/mp4; codecs=${i}`,robustness:n.videoRobustness||"",encryptionScheme:n.videoEncryptionScheme||null}))}]}function gi(s){const e=new Uint16Array(s.buffer,s.byteOffset,s.byteLength/2),t=String.fromCharCode.apply(null,Array.from(e)),n=t.substring(t.indexOf("<"),t.length),a=new DOMParser().parseFromString(n,"text/xml").getElementsByTagName("KID")[0];if(a){const u=a.childNodes[0]?a.childNodes[0].nodeValue:a.getAttribute("VALUE");if(u){const h=Jn(u).subarray(0,16);return ji(h),h}}return null}let ga={};class Ta{static clearKeyUriToKeyIdMap(){ga={}}constructor(e,t,n,r=[1],i=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=e,this.uri=t,this.keyFormat=n,this.keyFormatVersions=r,this.iv=i,this.encrypted=e?e!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!xr(e)}isSupported(){if(this.method){if(xr(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case Ni.FAIRPLAY:case Ni.WIDEVINE:case Ni.PLAYREADY:case Ni.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(e){if(!this.encrypted||!this.uri)return null;if(xr(this.method)&&this.uri&&!this.iv){typeof e!="number"&&(j.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),e=0);const n=ja(e);return new Ta(this.method,this.uri,"identity",this.keyFormatVersions,n)}const t=Pi(this.uri);if(t)switch(this.keyFormat){case Ni.WIDEVINE:this.pssh=t,t.length>=22&&(this.keyId=t.subarray(t.length-22,t.length-6));break;case Ni.PLAYREADY:{const n=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=k(n,null,t),this.keyId=gi(t);break}default:{let n=t.subarray(0,16);if(n.length!==16){const r=new Uint8Array(16);r.set(n,16-n.length),n=r}this.keyId=n;break}}if(!this.keyId||this.keyId.byteLength!==16){let n=ga[this.uri];if(!n){const r=Object.keys(ga).length%Number.MAX_SAFE_INTEGER;n=new Uint8Array(16),new DataView(n.buffer,12,4).setUint32(0,r),ga[this.uri]=n}this.keyId=n}return this}}function ja(s){const e=new Uint8Array(16);for(let t=12;t<16;t++)e[t]=s>>8*(15-t)&255;return e}const va=/#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,os=/#EXT-X-MEDIA:(.*)/g,ys=/^#EXT(?:INF|-X-TARGETDURATION):/m,Ya=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),ls=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 xa{static findGroup(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(r.id===t)return r}}static resolve(e,t){return ae.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}static isMediaPlaylist(e){return ys.test(e)}static parseMasterPlaylist(e,t){const n=Hi(e),r={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:n},i=[];va.lastIndex=0;let a;for(;(a=va.exec(e))!=null;)if(a[1]){var u;const c=new Mr(a[1],r),S=Qi(r,a[2]),E={attrs:c,bitrate:c.decimalInteger("BANDWIDTH")||c.decimalInteger("AVERAGE-BANDWIDTH"),name:c.NAME,url:xa.resolve(S,t)},z=c.decimalResolution("RESOLUTION");z&&(E.width=z.width,E.height=z.height),qa(c.CODECS,E);const te=c["SUPPLEMENTAL-CODECS"];te&&(E.supplemental={},qa(te,E.supplemental)),(u=E.unknownCodecs)!=null&&u.length||i.push(E),r.levels.push(E)}else if(a[3]){const c=a[3],S=a[4];switch(c){case"SESSION-DATA":{const E=new Mr(S,r),z=E["DATA-ID"];z&&(r.sessionData===null&&(r.sessionData={}),r.sessionData[z]=E);break}case"SESSION-KEY":{const E=us(S,t,r);E.encrypted&&E.isSupported()?(r.sessionKeys===null&&(r.sessionKeys=[]),r.sessionKeys.push(E)):j.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${S}"`);break}case"DEFINE":{{const E=new Mr(S,r);$r(r,E,t)}break}case"CONTENT-STEERING":{const E=new Mr(S,r);r.contentSteering={uri:xa.resolve(E["SERVER-URI"],t),pathwayId:E["PATHWAY-ID"]||"."};break}case"START":{r.startTimeOffset=Qa(S);break}}}const h=i.length>0&&i.length<r.levels.length;return r.levels=h?i:r.levels,r.levels.length===0&&(r.playlistParsingError=new Error("no levels found in manifest")),r}static parseMasterPlaylistMedia(e,t,n){let r;const i={},a=n.levels,u={AUDIO:a.map(c=>({id:c.attrs.AUDIO,audioCodec:c.audioCodec})),SUBTITLES:a.map(c=>({id:c.attrs.SUBTITLES,textCodec:c.textCodec})),"CLOSED-CAPTIONS":[]};let h=0;for(os.lastIndex=0;(r=os.exec(e))!==null;){const c=new Mr(r[1],n),S=c.TYPE;if(S){const E=u[S],z=i[S]||[];i[S]=z;const te=c.LANGUAGE,ee=c["ASSOC-LANGUAGE"],De=c.CHANNELS,Ne=c.CHARACTERISTICS,tt=c["INSTREAM-ID"],St={attrs:c,bitrate:0,id:h++,groupId:c["GROUP-ID"]||"",name:c.NAME||te||"",type:S,default:c.bool("DEFAULT"),autoselect:c.bool("AUTOSELECT"),forced:c.bool("FORCED"),lang:te,url:c.URI?xa.resolve(c.URI,t):""};if(ee&&(St.assocLang=ee),De&&(St.channels=De),Ne&&(St.characteristics=Ne),tt&&(St.instreamId=tt),E!=null&&E.length){const ct=xa.findGroup(E,St.groupId)||E[0];za(St,ct,"audioCodec"),za(St,ct,"textCodec")}z.push(St)}}return i}static parseLevelPlaylist(e,t,n,r,i,a){var u;const h={url:t},c=new vr(t),S=c.fragments,E=[];let z=null,te=0,ee=0,De=0,Ne=0,tt=0,St=null,ct=new Pe(r,h),zt,Vt,pn,$t=-1,un=!1,wn=null,Jt;if(Ya.lastIndex=0,c.m3u8=e,c.hasVariableRefs=Hi(e),((u=Ya.exec(e))==null?void 0:u[0])!=="#EXTM3U")return c.playlistParsingError=new Error("Missing format identifier #EXTM3U"),c;for(;(zt=Ya.exec(e))!==null;){un&&(un=!1,ct=new Pe(r,h),ct.playlistOffset=De,ct.start=De,ct.sn=te,ct.cc=Ne,tt&&(ct.bitrate=tt),ct.level=n,z&&(ct.initSegment=z,z.rawProgramDateTime&&(ct.rawProgramDateTime=z.rawProgramDateTime,z.rawProgramDateTime=null),wn&&(ct.setByteRange(wn),wn=null)));const Xr=zt[1];if(Xr){ct.duration=parseFloat(Xr);const jr=(" "+zt[2]).slice(1);ct.title=jr||null,ct.tagList.push(jr?["INF",Xr,jr]:["INF",Xr])}else if(zt[3]){if(g(ct.duration)){ct.playlistOffset=De,ct.start=De,pn&&Vi(ct,pn,c),ct.sn=te,ct.level=n,ct.cc=Ne,S.push(ct);const jr=(" "+zt[3]).slice(1);ct.relurl=Qi(c,jr),qr(ct,St,E),St=ct,De+=ct.duration,te++,ee=0,un=!0}}else{if(zt=zt[0].match(ls),!zt){j.warn("No matches on slow regex match for level playlist!");continue}for(Vt=1;Vt<zt.length&&zt[Vt]===void 0;Vt++);const jr=(" "+zt[Vt]).slice(1),Ir=(" "+zt[Vt+1]).slice(1),Wr=zt[Vt+2]?(" "+zt[Vt+2]).slice(1):null;switch(jr){case"BYTERANGE":St?ct.setByteRange(Ir,St):ct.setByteRange(Ir);break;case"PROGRAM-DATE-TIME":ct.rawProgramDateTime=Ir,ct.tagList.push(["PROGRAM-DATE-TIME",Ir]),$t===-1&&($t=S.length);break;case"PLAYLIST-TYPE":c.type&&vi(c,jr,zt),c.type=Ir.toUpperCase();break;case"MEDIA-SEQUENCE":c.startSN!==0?vi(c,jr,zt):S.length>0&&oa(c,jr,zt),te=c.startSN=parseInt(Ir);break;case"SKIP":{c.skippedSegments&&vi(c,jr,zt);const Kr=new Mr(Ir,c),Zn=Kr.decimalInteger("SKIPPED-SEGMENTS");if(g(Zn)){c.skippedSegments+=Zn;for(let ui=Zn;ui--;)S.push(null);te+=Zn}const Xn=Kr.enumeratedString("RECENTLY-REMOVED-DATERANGES");Xn&&(c.recentlyRemovedDateranges=(c.recentlyRemovedDateranges||[]).concat(Xn.split(" ")));break}case"TARGETDURATION":c.targetduration!==0&&vi(c,jr,zt),c.targetduration=Math.max(parseInt(Ir),1);break;case"VERSION":c.version!==null&&vi(c,jr,zt),c.version=parseInt(Ir);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":c.live||vi(c,jr,zt),c.live=!1;break;case"#":(Ir||Wr)&&ct.tagList.push(Wr?[Ir,Wr]:[Ir]);break;case"DISCONTINUITY":Ne++,ct.tagList.push(["DIS"]);break;case"GAP":ct.gap=!0,ct.tagList.push([jr]);break;case"BITRATE":ct.tagList.push([jr,Ir]),tt=parseInt(Ir)*1e3,g(tt)?ct.bitrate=tt:tt=0;break;case"DATERANGE":{const Kr=new Mr(Ir,c),Zn=new Ui(Kr,c.dateRanges[Kr.ID],c.dateRangeTagCount);c.dateRangeTagCount++,Zn.isValid||c.skippedSegments?c.dateRanges[Zn.id]=Zn:j.warn(`Ignoring invalid DATERANGE tag: "${Ir}"`),ct.tagList.push(["EXT-X-DATERANGE",Ir]);break}case"DEFINE":{{const Kr=new Mr(Ir,c);"IMPORT"in Kr?ca(c,Kr,a):$r(c,Kr,t)}break}case"DISCONTINUITY-SEQUENCE":c.startCC!==0?vi(c,jr,zt):S.length>0&&oa(c,jr,zt),c.startCC=Ne=parseInt(Ir);break;case"KEY":{const Kr=us(Ir,t,c);if(Kr.isSupported()){if(Kr.method==="NONE"){pn=void 0;break}pn||(pn={}),pn[Kr.keyFormat]&&(pn=y({},pn)),pn[Kr.keyFormat]=Kr}else j.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Ir}"`);break}case"START":c.startTimeOffset=Qa(Ir);break;case"MAP":{const Kr=new Mr(Ir,c);if(ct.duration){const Zn=new Pe(r,h);aa(Zn,Kr,n,pn),z=Zn,ct.initSegment=z,z.rawProgramDateTime&&!ct.rawProgramDateTime&&(ct.rawProgramDateTime=z.rawProgramDateTime)}else{const Zn=ct.byteRangeEndOffset;if(Zn){const Xn=ct.byteRangeStartOffset;wn=`${Zn-Xn}@${Xn}`}else wn=null;aa(ct,Kr,n,pn),z=ct,un=!0}z.cc=Ne;break}case"SERVER-CONTROL":{Jt&&vi(c,jr,zt),Jt=new Mr(Ir),c.canBlockReload=Jt.bool("CAN-BLOCK-RELOAD"),c.canSkipUntil=Jt.optionalFloat("CAN-SKIP-UNTIL",0),c.canSkipDateRanges=c.canSkipUntil>0&&Jt.bool("CAN-SKIP-DATERANGES"),c.partHoldBack=Jt.optionalFloat("PART-HOLD-BACK",0),c.holdBack=Jt.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{c.partTarget&&vi(c,jr,zt);const Kr=new Mr(Ir);c.partTarget=Kr.decimalFloatingPoint("PART-TARGET");break}case"PART":{let Kr=c.partList;Kr||(Kr=c.partList=[]);const Zn=ee>0?Kr[Kr.length-1]:void 0,Xn=ee++,ui=new Mr(Ir,c),ni=new Le(ui,ct,h,Xn,Zn);Kr.push(ni),ct.duration+=ni.duration;break}case"PRELOAD-HINT":{const Kr=new Mr(Ir,c);c.preloadHint=Kr;break}case"RENDITION-REPORT":{const Kr=new Mr(Ir,c);c.renditionReports=c.renditionReports||[],c.renditionReports.push(Kr);break}default:j.warn(`line parsed but not handled: ${zt}`);break}}}St&&!St.relurl?(S.pop(),De-=St.duration,c.partList&&(c.fragmentHint=St)):c.partList&&(qr(ct,St,E),ct.cc=Ne,c.fragmentHint=ct,pn&&Vi(ct,pn,c)),c.targetduration||(c.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const $n=S.length,yr=S[0],wi=S[$n-1];if(De+=c.skippedSegments*c.targetduration,De>0&&$n&&wi){c.averagetargetduration=De/$n;const Xr=wi.sn;c.endSN=Xr!=="initSegment"?Xr:0,c.live||(wi.endList=!0),yr&&c.startCC===void 0&&(c.startCC=yr.cc),$t>0&&(li(S,$t),yr&&E.unshift(yr))}else c.endSN=0,c.startCC=0;return c.fragmentHint&&(De+=c.fragmentHint.duration),c.totalduration=De,E.length&&c.dateRangeTagCount&&yr&&Ea(E,c),c.endCC=Ne,c}}function Ea(s,e){const t=s.length,n=s[t-1],r=e.live?1/0:e.totalduration,i=Object.keys(e.dateRanges);for(let a=i.length;a--;){const u=e.dateRanges[i[a]],h=u.startDate.getTime();u.tagAnchor=n.ref;for(let c=t;c--;){const S=Ra(e,h,s,c,r);if(S!==-1){u.tagAnchor=e.fragments[S].ref;break}}}}function Ra(s,e,t,n,r){const i=t[n];if(i){const u=i.programDateTime;if(e>=u||n===0){var a;const h=(((a=t[n+1])==null?void 0:a.start)||r)-i.start;if(e<=u+h*1e3){const c=t[n].sn-s.startSN,S=s.fragments;if(S.length>t.length){const z=(t[n+1]||S[S.length-1]).sn-s.startSN;for(let te=z;te>c;te--){const ee=S[te].programDateTime;if(e>=ee&&e<ee+S[te].duration*1e3)return te}}return c}}}return-1}function us(s,e,t){var n,r;const i=new Mr(s,t),a=(n=i.METHOD)!=null?n:"",u=i.URI,h=i.hexadecimalInteger("IV"),c=i.KEYFORMATVERSIONS,S=(r=i.KEYFORMAT)!=null?r:"identity";u&&i.IV&&!h&&j.error(`Invalid IV: ${i.IV}`);const E=u?xa.resolve(u,e):"",z=(c||"1").split("/").map(Number).filter(Number.isFinite);return new Ta(a,E,S,z,h)}function Qa(s){const t=new Mr(s).decimalFloatingPoint("TIME-OFFSET");return g(t)?t:null}function qa(s,e){let t=(s||"").split(/[ ,]+/).filter(n=>n);["video","audio","text"].forEach(n=>{const r=t.filter(i=>qe(i,n));r.length&&(e[`${n}Codec`]=r.map(i=>i.split("/")[0]).join(","),t=t.filter(i=>r.indexOf(i)===-1))}),e.unknownCodecs=t}function za(s,e,t){const n=e[t];n&&(s[t]=n)}function li(s,e){let t=s[e];for(let n=e;n--;){const r=s[n];if(!r)return;r.programDateTime=t.programDateTime-r.duration*1e3,t=r}}function qr(s,e,t){s.rawProgramDateTime?t.push(s):e!=null&&e.programDateTime&&(s.programDateTime=e.endProgramDateTime)}function aa(s,e,t,n){s.relurl=e.URI,e.BYTERANGE&&s.setByteRange(e.BYTERANGE),s.level=t,s.sn="initSegment",n&&(s.levelkeys=n),s.initSegment=null}function Vi(s,e,t){s.levelkeys=e;const{encryptedFragments:n}=t;(!n.length||n[n.length-1].levelkeys!==e)&&Object.keys(e).some(r=>e[r].isCommonEncryption)&&n.push(s)}function vi(s,e,t){s.playlistParsingError=new Error(`#EXT-X-${e} must not appear more than once (${t[0]})`)}function oa(s,e,t){s.playlistParsingError=new Error(`#EXT-X-${e} must appear before the first Media Segment (${t[0]})`)}function la(s,e){const t=e.startPTS;if(g(t)){let n=0,r;e.sn>s.sn?(n=t-s.start,r=s):(n=s.start-t,r=e),r.duration!==n&&r.setDuration(n)}else e.sn>s.sn?s.cc===e.cc&&s.minEndPTS?e.setStart(s.start+(s.minEndPTS-s.start)):e.setStart(s.start+s.duration):e.setStart(Math.max(s.start-e.duration,0))}function Da(s,e,t,n,r,i){n-t<=0&&(j.warn("Fragment should have a positive duration",e),n=t+e.duration,i=r+e.duration);let u=t,h=n;const c=e.startPTS,S=e.endPTS;if(g(c)){const Ne=Math.abs(c-t);g(e.deltaPTS)?e.deltaPTS=Math.max(Ne,e.deltaPTS):e.deltaPTS=Ne,u=Math.max(t,c),t=Math.min(t,c),r=Math.min(r,e.startDTS),h=Math.min(n,S),n=Math.max(n,S),i=Math.max(i,e.endDTS)}const E=t-e.start;e.start!==0&&e.setStart(t),e.setDuration(n-e.start),e.startPTS=t,e.maxStartPTS=u,e.startDTS=r,e.endPTS=n,e.minEndPTS=h,e.endDTS=i;const z=e.sn;if(!s||z<s.startSN||z>s.endSN)return 0;let te;const ee=z-s.startSN,De=s.fragments;for(De[ee]=e,te=ee;te>0;te--)la(De[te],De[te-1]);for(te=ee;te<De.length-1;te++)la(De[te],De[te+1]);return s.fragmentHint&&la(De[De.length-1],s.fragmentHint),s.PTSKnown=s.alignedSliding=!0,E}function Aa(s,e){if(s===e)return;let t=null;const n=s.fragments;for(let h=n.length-1;h>=0;h--){const c=n[h].initSegment;if(c){t=c;break}}s.fragmentHint&&delete s.fragmentHint.endPTS;let r;bs(s,e,(h,c,S,E)=>{if(e.skippedSegments&&c.cc!==h.cc){const z=h.cc-c.cc;for(let te=S;te<E.length;te++)E[te].cc+=z}g(h.startPTS)&&g(h.endPTS)&&(c.setStart(c.startPTS=h.startPTS),c.startDTS=h.startDTS,c.maxStartPTS=h.maxStartPTS,c.endPTS=h.endPTS,c.endDTS=h.endDTS,c.minEndPTS=h.minEndPTS,c.setDuration(h.endPTS-h.startPTS),c.duration&&(r=c),e.PTSKnown=e.alignedSliding=!0),h.hasStreams&&(c.elementaryStreams=h.elementaryStreams),c.loader=h.loader,h.hasStats&&(c.stats=h.stats),h.initSegment&&(c.initSegment=h.initSegment,t=h.initSegment)});const i=e.fragments,a=e.fragmentHint?i.concat(e.fragmentHint):i;if(t&&a.forEach(h=>{var c;h&&(!h.initSegment||h.initSegment.relurl===((c=t)==null?void 0:c.relurl))&&(h.initSegment=t)}),e.skippedSegments)if(e.deltaUpdateFailed=i.some(h=>!h),e.deltaUpdateFailed){j.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let h=e.skippedSegments;h--;)i.shift();e.startSN=i[0].sn}else{e.endCC=i[i.length-1].cc,e.canSkipDateRanges&&(e.dateRanges=Ja(s.dateRanges,e));const h=s.fragments.filter(c=>c.rawProgramDateTime);if(s.hasProgramDateTime&&!e.hasProgramDateTime)for(let c=1;c<a.length;c++)a[c].programDateTime===null&&qr(a[c],a[c-1],h);Ea(h,e)}Ma(s.partList,e.partList,(h,c)=>{c.elementaryStreams=h.elementaryStreams,c.stats=h.stats}),r?Da(e,r,r.startPTS,r.endPTS,r.startDTS,r.endDTS):Ua(s,e),i.length&&(e.totalduration=e.edge-i[0].start),e.driftStartTime=s.driftStartTime,e.driftStart=s.driftStart;const u=e.advancedDateTime;if(e.advanced&&u){const h=e.edge;e.driftStart||(e.driftStartTime=u,e.driftStart=h),e.driftEndTime=u,e.driftEnd=h}else e.driftEndTime=s.driftEndTime,e.driftEnd=s.driftEnd,e.advancedDateTime=s.advancedDateTime;e.requestScheduled===-1&&(e.requestScheduled=s.requestScheduled)}function Ja(s,e){const{dateRanges:t,recentlyRemovedDateranges:n}=e,r=y({},s);n&&n.forEach(u=>{delete r[u]});const a=Object.keys(r).length;return a&&Object.keys(t).forEach(u=>{const h=r[u],c=new Ui(t[u].attr,h);c.isValid?(r[u]=c,h||(c.tagOrder+=a)):j.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${fn(t[u].attr)}"`)}),r}function Ma(s,e,t){if(s&&e){let n=0;for(let r=0,i=s.length;r<=i;r++){const a=s[r],u=e[r+n];a&&u&&a.index===u.index&&a.fragment.sn===u.fragment.sn?t(a,u):n--}}}function bs(s,e,t){const n=e.skippedSegments,r=Math.max(s.startSN,e.startSN)-e.startSN,i=(s.fragmentHint?1:0)+(n?e.endSN:Math.min(s.endSN,e.endSN))-e.startSN,a=e.startSN-s.startSN,u=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments,h=s.fragmentHint?s.fragments.concat(s.fragmentHint):s.fragments;for(let c=r;c<=i;c++){const S=h[a+c];let E=u[c];if(n&&!E&&S&&(E=e.fragments[c]=S),S&&E){if(t(S,E,c,u),S.url&&S.url!==E.url){e.playlistParsingError=Ps(`media sequence mismatch ${E.sn}:`,s,e,S,E);return}else if(S.cc!==E.cc){e.playlistParsingError=Ps(`discontinuity sequence mismatch (${S.cc}!=${E.cc})`,s,e,S,E);return}}}}function Ps(s,e,t,n,r){return new Error(`${s} ${r.url}
Playlist starting @${e.startSN}
${e.m3u8}
Playlist starting @${t.startSN}
${t.m3u8}`)}function Ua(s,e,t=!0){const n=e.startSN+e.skippedSegments-s.startSN,r=s.fragments,i=n>=0;let a=0;if(i&&n<r.length)a=r[n].start;else if(i&&e.startSN===s.endSN+1)a=s.fragmentEnd;else if(i&&t)a=s.fragmentStart+n*e.levelTargetDuration;else if(!e.skippedSegments&&e.fragmentStart===0)a=s.fragmentStart;else return;Xa(e,a)}function Xa(s,e){if(e){const t=s.fragments;for(let n=s.skippedSegments;n<t.length;n++)t[n].addStart(e);s.fragmentHint&&s.fragmentHint.addStart(e)}}function _s(s,e=1/0){let t=1e3*s.targetduration;if(s.updated){const n=s.fragments;if(n.length&&t*4>e){const i=n[n.length-1].duration*1e3;i<t&&(t=i)}}else t/=2;return Math.round(t)}function es(s,e,t){if(!s)return null;let n=s.fragments[e-s.startSN];return n||(n=s.fragmentHint,n&&n.sn===e)?n:e<s.startSN&&t&&t.sn===e?t:null}function Ss(s,e,t){return s?ws(s.partList,e,t):null}function ws(s,e,t){if(s)for(let n=s.length;n--;){const r=s[n];if(r.index===t&&r.fragment.sn===e)return r}return null}function cs(s){s.forEach((e,t)=>{var n;(n=e.details)==null||n.fragments.forEach(r=>{r.level=t,r.initSegment&&(r.initSegment.level=t)})})}function ts(s,e){for(let n=0,r=s.length;n<r;n++){var t;if(((t=s[n])==null?void 0:t.cc)===e)return s[n]}return null}function Wa(s,e){return!!(s&&e.startCC<s.endCC&&e.endCC>s.startCC)}function Cs(s,e){if(s){const t=s.start+e;s.start=s.startPTS=t,s.endPTS=t+s.duration}}function Ri(s,e){const t=e.fragments;for(let n=0,r=t.length;n<r;n++)Cs(t[n],s);e.fragmentHint&&Cs(e.fragmentHint,s),e.alignedSliding=!0}function Fi(s,e){s&&(xi(e,s),!e.alignedSliding&&s&&ha(e,s),!e.alignedSliding&&s&&!e.skippedSegments&&Ua(s,e,!1))}function xi(s,e){if(!Wa(e,s))return;const t=Math.min(e.endCC,s.endCC),n=ts(e.fragments,t),r=ts(s.fragments,t);if(!n||!r)return;j.log(`Aligning playlist at start of dicontinuity sequence ${t}`);const i=n.start-r.start;Ri(i,s)}function ha(s,e){if(!s.hasProgramDateTime||!e.hasProgramDateTime)return;const t=s.fragments,n=e.fragments;if(!t.length||!n.length)return;let r,i;const a=Math.min(e.endCC,s.endCC);e.startCC<a&&s.startCC<a&&(r=ts(n,a),i=ts(t,a)),(!r||!i)&&(r=n[Math.floor(n.length/2)],i=ts(t,r.cc)||t[Math.floor(t.length/2)]);const u=r.programDateTime,h=i.programDateTime;if(!u||!h)return;const c=(h-u)/1e3-(i.start-r.start);Ri(c,s)}const ra={toString:function(s){let e="";const t=s.length;for(let n=0;n<t;n++)e+=`[${s.start(n).toFixed(3)}-${s.end(n).toFixed(3)}]`;return e}},_n={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 Va extends ii{constructor(e,t,n,r,i){super(r,e.logger),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=_n.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:a,fragCurrent:u,media:h,mediaBuffer:c,state:S}=this,E=h?h.currentTime:0,z=Cr.bufferInfo(c||h,E,a.maxBufferHole);if(this.log(`media seeking to ${g(E)?E.toFixed(3):E}, state: ${S}`),this.state===_n.ENDED)this.resetLoadingState();else if(u){const te=a.maxFragLookUpTolerance,ee=u.start-te,De=u.start+u.duration+te;if(!z.len||De<z.start||ee>z.end){const Ne=E>De;(E<ee||Ne)&&(Ne&&u.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),u.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(h){this.fragmentTracker.removeFragmentsInRange(E,1/0,this.playlistType,!0);const te=this.lastCurrentTime;if(E>te&&(this.lastCurrentTime=E),!this.loadingParts){const ee=Math.max(z.end,E),De=this.shouldLoadParts(this.getLevelDetails(),ee);De&&(this.log(`LL-Part loading ON after seeking to ${E.toFixed(2)} with buffer @${ee.toFixed(2)}`),this.loadingParts=De)}}!this.hls.hasEnoughToStart&&!z.len&&(this.log(`setting startPosition to ${E} because of seek before start`),this.nextLoadPosition=this.startPosition=E),this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=i,this.hls=e,this.fragmentLoader=new ri(e.config),this.keyLoader=n,this.fragmentTracker=t,this.config=e.config,this.decrypter=new Ii(e.config)}registerListeners(){const{hls:e}=this;e.on(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(m.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(m.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(e){}stopLoad(){if(this.state===_n.STOPPED)return;this.fragmentLoader.abort(),this.keyLoader.abort(this.playlistType);const e=this.fragCurrent;e!=null&&e.loader&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.resetTransmuxer(),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=_n.STOPPED}get startPositionValue(){const{nextLoadPosition:e,startPosition:t}=this;return t===-1&&e?e:t}get bufferingEnabled(){return this.buffering}pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}get inFlightFrag(){return{frag:this.fragCurrent,state:this.state}}_streamEnded(e,t){if(t.live||!this.media)return!1;const n=e.end||0,r=this.config.timelineOffset||0;if(n<=r)return!1;const i=e.nextStart;if(i&&i>r&&i<t.edge||this.media.currentTime<e.start)return!1;const u=t.partList;if(u!=null&&u.length){const c=u[u.length-1];return Cr.isBuffered(this.media,c.start+c.duration/2)}const h=t.fragments[t.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(h)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var e;return(e=this.levelLastLoaded)==null?void 0:e.details}}get timelineOffset(){const e=this.config.timelineOffset;if(e){var t;return((t=this.getLevelDetails())==null?void 0:t.appliedTimelineOffset)||e}return 0}onMediaAttached(e,t){const n=this.media=this.mediaBuffer=t.media;n.removeEventListener("seeking",this.onMediaSeeking),n.removeEventListener("ended",this.onMediaEnded),n.addEventListener("seeking",this.onMediaSeeking),n.addEventListener("ended",this.onMediaEnded);const r=this.config;this.levels&&r.autoStartLoad&&this.state===_n.STOPPED&&this.startLoad(r.startPosition)}onMediaDetaching(e,t){const n=!!t.transferMedia,r=this.media;if(r!==null){if(r.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),r.removeEventListener("seeking",this.onMediaSeeking),r.removeEventListener("ended",this.onMediaEnded),this.keyLoader&&!n&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loopSn=void 0,n){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(e,t){}onManifestLoaded(e,t){this.startTimeOffset=t.startTimeOffset}onHandlerDestroying(){this.stopLoad(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),super.onHandlerDestroying(),this.hls=this.onMediaSeeking=this.onMediaEnded=null}onHandlerDestroyed(){this.state=_n.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(e,t,n){this.startFragRequested=!0,this._loadFragForPlayback(e,t,n)}_loadFragForPlayback(e,t,n){const r=i=>{const a=i.frag;if(this.fragContextChanged(a)){this.warn(`${a.type} sn: ${a.sn}${i.part?" part: "+i.part.index:""} of ${this.fragInfo(a,!1,i.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(a);return}a.stats.chunkCount++,this._handleFragmentLoadProgress(i)};this._doFragLoad(e,t,n,r).then(i=>{if(!i)return;const a=this.state,u=i.frag;if(this.fragContextChanged(u)){(a===_n.FRAG_LOADING||!this.fragCurrent&&a===_n.PARSING)&&(this.fragmentTracker.removeFragment(u),this.state=_n.IDLE);return}"payload"in i&&(this.log(`Loaded ${u.type} sn: ${u.sn} of ${this.playlistLabel()} ${u.level}`),this.hls.trigger(m.FRAG_LOADED,i)),this._handleFragmentLoadComplete(i)}).catch(i=>{this.state===_n.STOPPED||this.state===_n.ERROR||(this.warn(`Frag error: ${(i==null?void 0:i.message)||i}`),this.resetFragmentLoading(e))})}clearTrackerIfNeeded(e){var t;const{fragmentTracker:n}=this;if(n.getState(e)===nr.APPENDING){const i=e.type,a=this.getFwdBufferInfo(this.mediaBuffer,i),u=Math.max(e.duration,a?a.len:this.config.maxBufferLength),h=this.backtrackFragment;((h?e.sn-h.sn:0)===1||this.reduceMaxBufferLength(u,e.duration))&&n.removeFragment(e)}else((t=this.mediaBuffer)==null?void 0:t.buffered.length)===0?n.removeAllFragments():n.hasParts(e.type)&&(n.detectPartialFragments({frag:e,part:null,stats:e.stats,id:e.type}),n.getState(e)===nr.PARTIAL&&n.removeFragment(e))}checkLiveUpdate(e){if(e.updated&&!e.live){const t=e.fragments[e.fragments.length-1];this.fragmentTracker.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type})}e.fragments[0]||(e.deltaUpdateFailed=!0)}waitForLive(e){const t=e.details;return(t==null?void 0:t.live)&&t.type!=="EVENT"&&(this.levelLastLoaded!==e||t.expired)}flushMainBuffer(e,t,n=null){if(!(e-t))return;const r={startOffset:e,endOffset:t,type:n};this.hls.trigger(m.BUFFER_FLUSHING,r)}_loadInitSegment(e,t){this._doFragLoad(e,t).then(n=>{const r=n==null?void 0:n.frag;if(!r||this.fragContextChanged(r)||!this.levels)throw new Error("init load aborted");return n}).then(n=>{const{hls:r}=this,{frag:i,payload:a}=n,u=i.decryptdata;if(a&&a.byteLength>0&&u!=null&&u.key&&u.iv&&xr(u.method)){const h=self.performance.now();return this.decrypter.decrypt(new Uint8Array(a),u.key.buffer,u.iv.buffer,ur(u.method)).catch(c=>{throw r.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.FRAG_DECRYPT_ERROR,fatal:!1,error:c,reason:c.message,frag:i}),c}).then(c=>{const S=self.performance.now();return r.trigger(m.FRAG_DECRYPTED,{frag:i,payload:c,stats:{tstart:h,tdecrypt:S}}),n.payload=c,this.completeInitSegmentLoad(n)})}return this.completeInitSegmentLoad(n)}).catch(n=>{this.state===_n.STOPPED||this.state===_n.ERROR||(this.warn(n),this.resetFragmentLoading(e))})}completeInitSegmentLoad(e){const{levels:t}=this;if(!t)throw new Error("init load aborted, missing levels");const n=e.frag.stats;this.state!==_n.STOPPED&&(this.state=_n.IDLE),e.frag.data=new Uint8Array(e.payload),n.parsing.start=n.buffering.start=self.performance.now(),n.parsing.end=n.buffering.end=self.performance.now(),this.tick()}fragContextChanged(e){const{fragCurrent:t}=this;return!e||!t||e.sn!==t.sn||e.level!==t.level}fragBufferedComplete(e,t){const n=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)} > buffer:${n?ra.toString(Cr.getBuffered(n)):"(detached)"})`),q(e)){var r;if(e.type!==he.SUBTITLE){const a=e.elementaryStreams;if(!Object.keys(a).some(u=>!!a[u])){this.state=_n.IDLE;return}}const i=(r=this.levels)==null?void 0:r[e.level];i!=null&&i.fragmentError&&(this.log(`Resetting level fragment error count of ${i.fragmentError} on frag buffered`),i.fragmentError=0)}this.state=_n.IDLE}_handleFragmentLoadComplete(e){const{transmuxer:t}=this;if(!t)return;const{frag:n,part:r,partsLoaded:i}=e,a=!i||i.length===0||i.some(h=>!h),u=new Ci(n.level,n.sn,n.stats.chunkCount+1,0,r?r.index:-1,!a);t.flush(u)}_handleFragmentLoadProgress(e){}_doFragLoad(e,t,n=null,r){var i;this.fragCurrent=e;const a=t==null?void 0:t.details;if(!this.levels||!a)throw new Error(`frag load aborted, missing level${a?"":" detail"}s`);let u=null;e.encrypted&&!((i=e.decryptdata)!=null&&i.key)?(this.log(`Loading key for ${e.sn} of [${a.startSN}-${a.endSN}], ${this.playlistLabel()} ${e.level}`),this.state=_n.KEY_LOADING,this.fragCurrent=e,u=this.keyLoader.load(e).then(E=>{if(!this.fragContextChanged(E.frag))return this.hls.trigger(m.KEY_LOADED,E),this.state===_n.KEY_LOADING&&(this.state=_n.IDLE),E}),this.hls.trigger(m.KEY_LOADING,{frag:e}),this.fragCurrent===null&&(u=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):!e.encrypted&&a.encryptedFragments.length&&this.keyLoader.loadClear(e,a.encryptedFragments);const h=this.fragPrevious;if(q(e)&&(!h||e.sn!==h.sn)){const E=this.shouldLoadParts(t.details,e.end);E!==this.loadingParts&&(this.log(`LL-Part loading ${E?"ON":"OFF"} loading sn ${h==null?void 0:h.sn}->${e.sn}`),this.loadingParts=E)}if(n=Math.max(e.start,n||0),this.loadingParts&&q(e)){const E=a.partList;if(E&&r){n>e.end&&a.fragmentHint&&(e=a.fragmentHint);const z=this.getNextPart(E,e,n);if(z>-1){const te=E[z];e=this.fragCurrent=te.fragment,this.log(`Loading ${e.type} sn: ${e.sn} part: ${te.index} (${z}/${E.length-1}) of ${this.fragInfo(e,!1,te)}) cc: ${e.cc} [${a.startSN}-${a.endSN}], target: ${parseFloat(n.toFixed(3))}`),this.nextLoadPosition=te.start+te.duration,this.state=_n.FRAG_LOADING;let ee;return u?ee=u.then(De=>!De||this.fragContextChanged(De.frag)?null:this.doFragPartsLoad(e,te,t,r)).catch(De=>this.handleFragLoadError(De)):ee=this.doFragPartsLoad(e,te,t,r).catch(De=>this.handleFragLoadError(De)),this.hls.trigger(m.FRAG_LOADING,{frag:e,part:te,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):ee}else if(!e.url||this.loadedEndOfParts(E,n))return Promise.resolve(null)}}if(q(e)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${n.toFixed(2)}`),this.loadingParts=!1;else if(!e.url)return Promise.resolve(null);this.log(`Loading ${e.type} sn: ${e.sn} of ${this.fragInfo(e,!1)}) cc: ${e.cc} ${a?"["+a.startSN+"-"+a.endSN+"]":""}, target: ${parseFloat(n.toFixed(3))}`),g(e.sn)&&!this.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),this.state=_n.FRAG_LOADING;const c=this.config.progressive;let S;return c&&u?S=u.then(E=>!E||this.fragContextChanged(E==null?void 0:E.frag)?null:this.fragmentLoader.load(e,r)).catch(E=>this.handleFragLoadError(E)):S=Promise.all([this.fragmentLoader.load(e,c?r:void 0),u]).then(([E])=>(!c&&E&&r&&r(E),E)).catch(E=>this.handleFragLoadError(E)),this.hls.trigger(m.FRAG_LOADING,{frag:e,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):S}doFragPartsLoad(e,t,n,r){return new Promise((i,a)=>{var u;const h=[],c=(u=n.details)==null?void 0:u.partList,S=E=>{this.fragmentLoader.loadPart(e,E,r).then(z=>{h[E.index]=z;const te=z.part;this.hls.trigger(m.FRAG_LOADED,z);const ee=Ss(n.details,e.sn,E.index+1)||ws(c,e.sn,E.index+1);if(ee)S(ee);else return i({frag:e,part:te,partsLoaded:h})}).catch(a)};S(t)})}handleFragLoadError(e){if("data"in e){const t=e.data;e.data&&t.details===F.INTERNAL_ABORTED?this.handleFragLoadAborted(t.frag,t.part):this.hls.trigger(m.ERROR,t)}else this.hls.trigger(m.ERROR,{type:ge.OTHER_ERROR,details:F.INTERNAL_EXCEPTION,err:e,error:e,fatal:!0});return null}_handleTransmuxerFlush(e){const t=this.getCurrentContext(e);if(!t||this.state!==_n.PARSING){!this.fragCurrent&&this.state!==_n.STOPPED&&this.state!==_n.ERROR&&(this.state=_n.IDLE);return}const{frag:n,part:r,level:i}=t,a=self.performance.now();n.stats.parsing.end=a,r&&(r.stats.parsing.end=a);const u=this.getLevelDetails(),c=u&&n.sn>u.endSN||this.shouldLoadParts(u,n.end);c!==this.loadingParts&&(this.log(`LL-Part loading ${c?"ON":"OFF"} after parsing segment ending @${n.end.toFixed(2)}`),this.loadingParts=c),this.updateLevelTiming(n,r,i,e.partial)}shouldLoadParts(e,t){if(this.config.lowLatencyMode){if(!e)return this.loadingParts;if(e!=null&&e.partList){var n;const i=e.partList[0],a=i.end+(((n=e.fragmentHint)==null?void 0:n.duration)||0);if(t>=a){var r;if((this.hls.hasEnoughToStart?((r=this.media)==null?void 0:r.currentTime)||this.lastCurrentTime:this.getLoadPosition())>i.start-i.fragment.duration)return!0}}}return!1}getCurrentContext(e){const{levels:t,fragCurrent:n}=this,{level:r,sn:i,part:a}=e;if(!(t!=null&&t[r]))return this.warn(`Levels object was unset while buffering fragment ${i} of ${this.playlistLabel()} ${r}. The current chunk will not be buffered.`),null;const u=t[r],h=u.details,c=a>-1?Ss(h,i,a):null,S=c?c.fragment:es(h,i,n);return S?(n&&n!==S&&(S.stats=n.stats),{frag:S,part:c,level:u}):null}bufferFragmentData(e,t,n,r,i){var a;if(!e||this.state!==_n.PARSING)return;const{data1:u,data2:h}=e;let c=u;if(u&&h&&(c=Ze(u,h)),!((a=c)!=null&&a.length))return;const S={type:e.type,frag:t,part:n,chunkMeta:r,parent:t.type,data:c};if(this.hls.trigger(m.BUFFER_APPENDING,S),e.dropped&&e.independent&&!n){if(i)return;this.flushBufferGap(t)}}flushBufferGap(e){const t=this.media;if(!t)return;if(!Cr.isBuffered(t,t.currentTime)){this.flushMainBuffer(0,e.start);return}const n=t.currentTime,r=Cr.bufferInfo(t,n,0),i=e.duration,a=Math.min(this.config.maxFragLookUpTolerance*2,i*.25),u=Math.max(Math.min(e.start-a,r.end-a),n+a);e.start-u>a&&this.flushMainBuffer(u,e.start)}getFwdBufferInfo(e,t){var n;const r=this.getLoadPosition();if(!g(r))return null;const a=this.lastCurrentTime>r||(n=this.media)!=null&&n.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(e,r,t,a)}getFwdBufferInfoAtPos(e,t,n,r){const i=Cr.bufferInfo(e,t,r);if(i.len===0&&i.nextStart!==void 0){const a=this.fragmentTracker.getBufferedFrag(t,n);if(a&&(i.nextStart<=a.end||a.gap)){const u=Math.max(Math.min(i.nextStart,a.end)-t,r);return Cr.bufferInfo(e,t,u)}}return i}getMaxBufferLength(e){const{config:t}=this;let n;return e?n=Math.max(8*t.maxBufferSize/e,t.maxBufferLength):n=t.maxBufferLength,Math.min(n,t.maxMaxBufferLength)}reduceMaxBufferLength(e,t){const n=this.config,r=Math.max(Math.min(e-t,n.maxBufferLength),t),i=Math.max(e-t*3,n.maxMaxBufferLength/2,r);return i>=r?(n.maxMaxBufferLength=i,this.warn(`Reduce max buffer length to ${i}s`),!0):!1}getAppendedFrag(e,t=he.MAIN){var n;const r=(n=this.fragmentTracker)==null?void 0:n.getAppendedFrag(e,t);return r&&"fragment"in r?r.fragment:r}getNextFragment(e,t){const n=t.fragments,r=n.length;if(!r)return null;const{config:i}=this,a=n[0].start,u=i.lowLatencyMode&&!!t.partList;let h=null;if(t.live){const E=i.initialLiveManifestSize;if(r<E)return this.warn(`Not enough fragments to start playback (have: ${r}, need: ${E})`),null;if(!t.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||e<a){var c;u&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),h=this.getInitialLiveFragment(t,n);const z=this.hls.startPosition,te=this.hls.liveSyncPosition,ee=h?(z!==-1&&z>=a?z:te)||h.start:e;this.log(`Setting startPosition to ${ee} to match start frag at live edge. mainStart: ${z} liveSyncPosition: ${te} frag.start: ${(c=h)==null?void 0:c.start}`),this.startPosition=this.nextLoadPosition=ee}}else e<=a&&(h=n[0]);if(!h){const E=this.loadingParts?t.partEnd:t.fragmentEnd;h=this.getFragmentAtPosition(e,E,t)}let S=this.filterReplacedPrimary(h,t);if(!S&&h){const E=h.sn-t.startSN;S=this.filterReplacedPrimary(n[E+1]||null,t)}return this.mapToInitFragWhenRequired(S)}isLoopLoading(e,t){const n=this.fragmentTracker.getState(e);return(n===nr.OK||n===nr.PARTIAL&&!!e.gap)&&this.nextLoadPosition>t}getNextFragmentLoopLoading(e,t,n,r,i){let a=null;if(e.gap&&(a=this.getNextFragment(this.nextLoadPosition,t),a&&!a.gap&&n.nextStart)){const u=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,n.nextStart,r,0);if(u!==null&&n.len+u.len>=i){const h=a.sn;return this.loopSn!==h&&(this.log(`buffer full after gaps in "${r}" playlist starting at sn: ${h}`),this.loopSn=h),null}}return this.loopSn=void 0,a}get primaryPrefetch(){if(ds(this.hls.config)){var e,t;if((e=this.hls.interstitialsManager)==null||(t=e.playingItem)==null?void 0:t.event)return!0}return!1}filterReplacedPrimary(e,t){if(!e)return e;if(ds(this.hls.config)&&e.type!==he.SUBTITLE){const n=this.hls.interstitialsManager,r=n==null?void 0:n.bufferingItem;if(r){const a=r.event;if(a){if(a.appendInPlace||Math.abs(e.start-r.start)>1||r.start===0)return null}else if(e.end<=r.start&&(t==null?void 0:t.live)===!1||e.start>r.end&&r.nextEvent&&(r.nextEvent.appendInPlace||e.start-r.end>1))return null}const i=n==null?void 0:n.playerQueue;if(i)for(let a=i.length;a--;){const u=i[a].interstitial;if(u.appendInPlace&&e.start>=u.startTime&&e.end<=u.resumeTime)return null}}return e}mapToInitFragWhenRequired(e){return e!=null&&e.initSegment&&!(e!=null&&e.initSegment.data)&&!this.bitrateTest?e.initSegment:e}getNextPart(e,t,n){let r=-1,i=!1,a=!0;for(let u=0,h=e.length;u<h;u++){const c=e[u];if(a=a&&!c.independent,r>-1&&n<c.start)break;const S=c.loaded;S?r=-1:(i||c.independent||a)&&c.fragment===t&&(r=u),i=S}return r}loadedEndOfParts(e,t){const n=e[e.length-1];return n&&t>n.start&&n.loaded}getInitialLiveFragment(e,t){const n=this.fragPrevious;let r=null;if(n){if(e.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${n.programDateTime}`),r=fr(t,n.endProgramDateTime,this.config.maxFragLookUpTolerance)),!r){const i=n.sn+1;if(i>=e.startSN&&i<=e.endSN){const a=t[i-e.startSN];n.cc===a.cc&&(r=a,this.log(`Live playlist, switching playlist, load frag with next SN: ${r.sn}`))}r||(r=Dr(t,n.cc),r&&this.log(`Live playlist, switching playlist, load frag with same CC: ${r.sn}`))}}else{const i=this.hls.liveSyncPosition;i!==null&&(r=this.getFragmentAtPosition(i,this.bitrateTest?e.fragmentEnd:e.edge,e))}return r}getFragmentAtPosition(e,t,n){const{config:r}=this;let{fragPrevious:i}=this,{fragments:a,endSN:u}=n;const{fragmentHint:h}=n,{maxFragLookUpTolerance:c}=r,S=n.partList,E=!!(this.loadingParts&&S!=null&&S.length&&h);E&&h&&!this.bitrateTest&&S[S.length-1].fragment.sn===h.sn&&(a=a.concat(h),u=h.sn);let z;if(e<t){var te;const De=e<this.lastCurrentTime||e>t-c||(te=this.media)!=null&&te.paused||!this.startFragRequested?0:c;z=Rn(i,a,e,De)}else z=a[a.length-1];if(z){const ee=z.sn-n.startSN,De=this.fragmentTracker.getState(z);if((De===nr.OK||De===nr.PARTIAL&&z.gap)&&(i=z),i&&z.sn===i.sn&&(!E||S[0].fragment.sn>z.sn||!n.live&&!E)&&i&&z.level===i.level){const tt=a[ee+1];z.sn<u&&this.fragmentTracker.getState(tt)!==nr.OK?z=tt:z=null}}return z}alignPlaylists(e,t,n){const r=e.fragments.length;if(!r)return this.warn("No fragments in live playlist"),0;const i=e.fragmentStart,a=!t,u=e.alignedSliding&&g(i);if(a||!u&&!i){Fi(n,e);const h=e.fragmentStart;return this.log(`Live playlist sliding: ${h.toFixed(2)} start-sn: ${t?t.startSN:"na"}->${e.startSN} fragments: ${r}`),h}return i}waitForCdnTuneIn(e){return e.live&&e.canBlockReload&&e.partTarget&&e.tuneInGoal>Math.max(e.partHoldBack,e.partTarget*3)}setStartPosition(e,t){let n=this.startPosition;n<t&&(n=-1);const r=this.timelineOffset;if(n===-1){const i=this.startTimeOffset!==null,a=i?this.startTimeOffset:e.startTimeOffset;a!==null&&g(a)?(n=t+a,a<0&&(n+=e.edge),n=Math.min(Math.max(t,n),t+e.totalduration),this.log(`Setting startPosition to ${n} for start time offset ${a} found in ${i?"multivariant":"media"} playlist`),this.startPosition=n):e.live?(n=this.hls.liveSyncPosition||t,this.log(`Setting startPosition to -1 to start at live edge ${n}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=n=0),this.lastCurrentTime=n+r}this.nextLoadPosition=n+r}getLoadPosition(){var e;const{media:t}=this;let n=0;return(e=this.hls)!=null&&e.hasEnoughToStart&&t?n=t.currentTime:this.nextLoadPosition>=0&&(n=this.nextLoadPosition),n}handleFragLoadAborted(e,t){this.transmuxer&&e.type===this.playlistType&&q(e)&&e.stats.aborted&&(this.warn(`Fragment ${e.sn}${t?" part "+t.index:""} of ${this.playlistLabel()} ${e.level} was aborted`),this.resetFragmentLoading(e))}resetFragmentLoading(e){(!this.fragCurrent||!this.fragContextChanged(e)&&this.state!==_n.FRAG_LOADING_WAITING_RETRY)&&(this.state=_n.IDLE)}onFragmentOrKeyLoadError(e,t){if(t.chunkMeta&&!t.frag){const ee=this.getCurrentContext(t.chunkMeta);ee&&(t.frag=ee.frag)}const n=t.frag;if(!n||n.type!==e||!this.levels)return;if(this.fragContextChanged(n)){var r;this.warn(`Frag load error must match current frag to retry ${n.url} > ${(r=this.fragCurrent)==null?void 0:r.url}`);return}const i=t.details===F.FRAG_GAP;i&&this.fragmentTracker.fragBuffered(n,!0);const a=t.errorAction,{action:u,flags:h,retryCount:c=0,retryConfig:S}=a||{},E=!!a&&!!S,z=E&&u===Hn.RetryRequest,te=E&&!a.resolved&&h===gt.MoveAllAlternatesMatchingHost;if(!z&&te&&q(n)&&!n.endList)this.resetFragmentErrors(e),this.treatAsGap(n),a.resolved=!0;else if((z||te)&&c<S.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const ee=ir(S,c);this.warn(`Fragment ${n.sn} of ${e} ${n.level} errored with ${t.details}, retrying loading ${c+1}/${S.maxNumRetry} in ${ee}ms`),a.resolved=!0,this.retryDate=self.performance.now()+ee,this.state=_n.FRAG_LOADING_WAITING_RETRY}else if(S&&a)if(this.resetFragmentErrors(e),c<S.maxNumRetry)!i&&u!==Hn.RemoveAlternatePermanently&&(a.resolved=!0);else{this.warn(`${t.details} reached or exceeded max retry (${c})`);return}else u===Hn.SendAlternateToPenaltyBox?this.state=_n.WAITING_LEVEL:this.state=_n.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(e){if(this.state===_n.PARSING||this.state===_n.PARSED){const t=e.frag,n=e.parent,r=this.getFwdBufferInfo(this.mediaBuffer,n),i=r&&r.len>.5;i&&this.reduceMaxBufferLength(r.len,(t==null?void 0:t.duration)||10);const a=!i;return a&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${n} buffer`),t&&(this.fragmentTracker.removeFragment(t),this.nextLoadPosition=t.start),this.resetLoadingState(),a}return!1}resetFragmentErrors(e){e===he.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==_n.STOPPED&&(this.state=_n.IDLE)}afterBufferFlushed(e,t,n){if(!e)return;const r=Cr.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,r,n),this.state===_n.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==_n.STOPPED&&(this.state=_n.IDLE)}resetStartWhenNotLoaded(e){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const t=e?e.details:null;t!=null&&t.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(t,t.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(e){this.warn(`The loading context changed while buffering fragment ${e.sn} of ${this.playlistLabel()} ${e.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(e=0){this.fragmentTracker.removeFragmentsInRange(e,1/0,this.playlistType,!1,!0)}updateLevelTiming(e,t,n,r){const i=n.details;if(!i){this.warn("level.details undefined");return}if(!Object.keys(e.elementaryStreams).reduce((h,c)=>{const S=e.elementaryStreams[c];if(S){const E=S.endPTS-S.startPTS;if(E<=0)return this.warn(`Could not parse fragment ${e.sn} ${c} duration reliably (${E})`),h||!1;const z=r?0:Da(i,e,S.startPTS,S.endPTS,S.startDTS,S.endDTS);return this.hls.trigger(m.LEVEL_PTS_UPDATED,{details:i,level:n,drift:z,type:c,frag:e,start:S.startPTS,end:S.endPTS}),!0}return h},!1)){var u;if(n.fragmentError===0&&this.treatAsGap(e,n),((u=this.transmuxer)==null?void 0:u.error)===null){const h=new Error(`Found no media in fragment ${e.sn} of ${this.playlistLabel()} ${e.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(h.message),this.hls.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.FRAG_PARSING_ERROR,fatal:!1,error:h,frag:e,reason:`Found no media in msn ${e.sn} of ${this.playlistLabel()} "${n.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=_n.PARSED,this.log(`Parsed ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)})`),this.hls.trigger(m.FRAG_PARSED,{frag:e,part:t})}playlistLabel(){return this.playlistType===he.MAIN?"level":"track"}fragInfo(e,t=!0,n){var r,i;return`${this.playlistLabel()} ${e.level} (${n?"part":"frag"}:[${((r=t&&!n?e.startPTS:(n||e).start)!=null?r:NaN).toFixed(3)}-${((i=t&&!n?e.endPTS:(n||e).end)!=null?i:NaN).toFixed(3)}]${n&&e.type==="main"?"INDEPENDENT="+(n.independent?"YES":"NO"):""}`}treatAsGap(e,t){t&&t.fragmentError++,e.gap=!0,this.fragmentTracker.removeFragment(e),this.fragmentTracker.fragBuffered(e,!0)}resetTransmuxer(){var e;(e=this.transmuxer)==null||e.reset()}recoverWorkerError(e){e.event==="demuxerWorker"&&(this.fragmentTracker.removeAllFragments(),this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())}set state(e){const t=this._state;t!==e&&(this._state=e,this.log(`${t}->${e}`))}get state(){return this._state}}function ds(s){return!!s.interstitialsController&&s.enableInterstitialPlayback!==!1}class ks{constructor(){this.chunks=[],this.dataLength=0}push(e){this.chunks.push(e),this.dataLength+=e.length}flush(){const{chunks:e,dataLength:t}=this;let n;if(e.length)e.length===1?n=e[0]:n=Os(e,t);else return new Uint8Array(0);return this.reset(),n}reset(){this.chunks.length=0,this.dataLength=0}}function Os(s,e){const t=new Uint8Array(e);let n=0;for(let r=0;r<s.length;r++){const i=s[r];t.set(i,n),n+=i.length}return t}var ns={exports:{}},fs;function qs(){return fs||(fs=1,function(s){var e=Object.prototype.hasOwnProperty,t="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(t=!1));function r(h,c,S){this.fn=h,this.context=c,this.once=S||!1}function i(h,c,S,E,z){if(typeof S!="function")throw new TypeError("The listener must be a function");var te=new r(S,E||h,z),ee=t?t+c:c;return h._events[ee]?h._events[ee].fn?h._events[ee]=[h._events[ee],te]:h._events[ee].push(te):(h._events[ee]=te,h._eventsCount++),h}function a(h,c){--h._eventsCount===0?h._events=new n:delete h._events[c]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var c=[],S,E;if(this._eventsCount===0)return c;for(E in S=this._events)e.call(S,E)&&c.push(t?E.slice(1):E);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(S)):c},u.prototype.listeners=function(c){var S=t?t+c:c,E=this._events[S];if(!E)return[];if(E.fn)return[E.fn];for(var z=0,te=E.length,ee=new Array(te);z<te;z++)ee[z]=E[z].fn;return ee},u.prototype.listenerCount=function(c){var S=t?t+c:c,E=this._events[S];return E?E.fn?1:E.length:0},u.prototype.emit=function(c,S,E,z,te,ee){var De=t?t+c:c;if(!this._events[De])return!1;var Ne=this._events[De],tt=arguments.length,St,ct;if(Ne.fn){switch(Ne.once&&this.removeListener(c,Ne.fn,void 0,!0),tt){case 1:return Ne.fn.call(Ne.context),!0;case 2:return Ne.fn.call(Ne.context,S),!0;case 3:return Ne.fn.call(Ne.context,S,E),!0;case 4:return Ne.fn.call(Ne.context,S,E,z),!0;case 5:return Ne.fn.call(Ne.context,S,E,z,te),!0;case 6:return Ne.fn.call(Ne.context,S,E,z,te,ee),!0}for(ct=1,St=new Array(tt-1);ct<tt;ct++)St[ct-1]=arguments[ct];Ne.fn.apply(Ne.context,St)}else{var zt=Ne.length,Vt;for(ct=0;ct<zt;ct++)switch(Ne[ct].once&&this.removeListener(c,Ne[ct].fn,void 0,!0),tt){case 1:Ne[ct].fn.call(Ne[ct].context);break;case 2:Ne[ct].fn.call(Ne[ct].context,S);break;case 3:Ne[ct].fn.call(Ne[ct].context,S,E);break;case 4:Ne[ct].fn.call(Ne[ct].context,S,E,z);break;default:if(!St)for(Vt=1,St=new Array(tt-1);Vt<tt;Vt++)St[Vt-1]=arguments[Vt];Ne[ct].fn.apply(Ne[ct].context,St)}}return!0},u.prototype.on=function(c,S,E){return i(this,c,S,E,!1)},u.prototype.once=function(c,S,E){return i(this,c,S,E,!0)},u.prototype.removeListener=function(c,S,E,z){var te=t?t+c:c;if(!this._events[te])return this;if(!S)return a(this,te),this;var ee=this._events[te];if(ee.fn)ee.fn===S&&(!z||ee.once)&&(!E||ee.context===E)&&a(this,te);else{for(var De=0,Ne=[],tt=ee.length;De<tt;De++)(ee[De].fn!==S||z&&!ee[De].once||E&&ee[De].context!==E)&&Ne.push(ee[De]);Ne.length?this._events[te]=Ne.length===1?Ne[0]:Ne:a(this,te)}return this},u.prototype.removeAllListeners=function(c){var S;return c?(S=t?t+c:c,this._events[S]&&a(this,S)):(this._events=new n,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=t,u.EventEmitter=u,s.exports=u}(ns)),ns.exports}var lo=qs(),Js=H(lo);const Ts="1.6.0",hs={};function uo(){return typeof __HLS_WORKER_BUNDLE__=="function"}function co(){const s=hs[Ts];if(s)return s.clientCount++,s;const e=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),t=self.URL.createObjectURL(e),r={worker:new self.Worker(t),objectURL:t,clientCount:1};return hs[Ts]=r,r}function Lo(s){const e=hs[s];if(e)return e.clientCount++,e;const t=new self.URL(s,self.location.href).href,r={worker:new self.Worker(t),scriptURL:t,clientCount:1};return hs[s]=r,r}function fo(s){const e=hs[s||Ts];if(e&&e.clientCount--===1){const{worker:n,objectURL:r}=e;delete hs[s||Ts],r&&self.URL.revokeObjectURL(r),n.terminate()}}function Po(s,e){return e+10<=s.length&&s[e]===51&&s[e+1]===68&&s[e+2]===73&&s[e+3]<255&&s[e+4]<255&&s[e+6]<128&&s[e+7]<128&&s[e+8]<128&&s[e+9]<128}function Ns(s,e){return e+10<=s.length&&s[e]===73&&s[e+1]===68&&s[e+2]===51&&s[e+3]<255&&s[e+4]<255&&s[e+6]<128&&s[e+7]<128&&s[e+8]<128&&s[e+9]<128}function js(s,e){let t=0;return t=(s[e]&127)<<21,t|=(s[e+1]&127)<<14,t|=(s[e+2]&127)<<7,t|=s[e+3]&127,t}function Rs(s,e){const t=e;let n=0;for(;Ns(s,e);){n+=10;const r=js(s,e+6);n+=r,Po(s,e+10)&&(n+=10),e+=n}if(n>0)return s.subarray(t,t+n)}function ko(s,e,t,n){const r=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],i=e[t+2],a=i>>2&15;if(a>12){const te=new Error(`invalid ADTS sampling index:${a}`);s.emit(m.ERROR,m.ERROR,{type:ge.MEDIA_ERROR,details:F.FRAG_PARSING_ERROR,fatal:!0,error:te,reason:te.message});return}const u=(i>>6&3)+1,h=e[t+3]>>6&3|(i&1)<<2,c="mp4a.40."+u,S=r[a];let E=a;(u===5||u===29)&&(E-=3);const z=[u<<3|(E&14)>>1,(E&1)<<7|h<<3];return j.log(`manifest codec:${n}, parsed codec:${c}, channels:${h}, rate:${S} (ADTS object type:${u} sampling index:${a})`),{config:z,samplerate:S,channelCount:h,codec:c,parsedCodec:c,manifestCodec:n}}function xs(s,e){return s[e]===255&&(s[e+1]&246)===240}function Us(s,e){return s[e+1]&1?7:9}function Xs(s,e){return(s[e+3]&3)<<11|s[e+4]<<3|(s[e+5]&224)>>>5}function Yo(s,e){return e+5<s.length}function Ms(s,e){return e+1<s.length&&xs(s,e)}function Qo(s,e){return Yo(s,e)&&xs(s,e)&&Xs(s,e)<=s.length-e}function ho(s,e){if(Ms(s,e)){const t=Us(s,e);if(e+t>=s.length)return!1;const n=Xs(s,e);if(n<=t)return!1;const r=e+n;return r===s.length||Ms(s,r)}return!1}function po(s,e,t,n,r){if(!s.samplerate){const i=ko(e,t,n,r);if(!i)return;y(s,i)}}function mo(s){return 1024*9e4/s}function Oo(s,e){const t=Us(s,e);if(e+t<=s.length){const n=Xs(s,e)-t;if(n>0)return{headerLength:t,frameLength:n}}}function go(s,e,t,n,r){const i=mo(s.samplerate),a=n+r*i,u=Oo(e,t);let h;if(u){const{frameLength:E,headerLength:z}=u,te=z+E,ee=Math.max(0,t+te-e.length);ee?(h=new Uint8Array(te-z),h.set(e.subarray(t+z,e.length),0)):h=e.subarray(t+z,t+te);const De={unit:h,pts:a};return ee||s.samples.push(De),{sample:De,length:te,missing:ee}}const c=e.length-t;return h=new Uint8Array(c),h.set(e.subarray(t,e.length),0),{sample:{unit:h,pts:a},length:c,missing:-1}}function No(s,e){return Ns(s,e)&&js(s,e+6)+10<=s.length-e}function Ws(s){if(s.size<2)return;const e=le(s.data,!0),t=new Uint8Array(s.data.subarray(e.length+1));return{key:s.type,info:e,data:t.buffer}}function vo(s){if(s.size<2)return;if(s.type==="TXXX"){let t=1;const n=le(s.data.subarray(t),!0);t+=n.length+1;const r=le(s.data.subarray(t));return{key:s.type,info:n,data:r}}const e=le(s.data.subarray(1));return{key:s.type,info:"",data:e}}function yo(s){if(s.type==="WXXX"){if(s.size<2)return;let t=1;const n=le(s.data.subarray(t),!0);t+=n.length+1;const r=le(s.data.subarray(t));return{key:s.type,info:n,data:r}}const e=le(s.data);return{key:s.type,info:"",data:e}}function bo(s){return btoa(String.fromCharCode(...s))}function eo(s,e){if(s<0)return-eo(-s,e);const t=Math.pow(10,e);if(Math.abs(s*t%1-.5)<Number.EPSILON){const r=Math.floor(s*t);return(r%2===0?r:r+1)/t}else return Math.round(s*t)/t}function Uo(s,e){const t=new URL(s),n=new URL(e);if(t.origin!==n.origin)return s;const r=t.pathname.split("/").slice(1),i=n.pathname.split("/").slice(1,-1);for(;r[0]===i[0];)r.shift(),i.shift();for(;i.length;)i.shift(),r.unshift("..");return r.join("/")}function So(){try{return crypto.randomUUID()}catch(s){try{const e=URL.createObjectURL(new Blob),t=e.toString();return URL.revokeObjectURL(e),t.slice(t.lastIndexOf("/")+1)}catch(e){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,r=>{const i=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(r=="x"?i:i&3|8).toString(16)})}}}function xo(s){return s instanceof ArrayBuffer?s:s.byteOffset==0&&s.byteLength==s.buffer.byteLength?s.buffer:new Uint8Array(s).buffer}function to(s,e=0,t=1/0){return Ba(s,e,t,Uint8Array)}function Ba(s,e,t,n){const r=no(s);let i=1;"BYTES_PER_ELEMENT"in n&&(i=n.BYTES_PER_ELEMENT);const a=Eo(s)?s.byteOffset:0,u=(a+s.byteLength)/i,h=(a+e)/i,c=Math.floor(Math.max(0,Math.min(h,u))),S=Math.floor(Math.min(c+Math.max(t,0),u));return new n(r,c,S-c)}function no(s){return s instanceof ArrayBuffer?s:s.buffer}function Eo(s){return s&&s.buffer instanceof ArrayBuffer&&s.byteLength!==void 0&&s.byteOffset!==void 0}function ce(s){const e={key:s.type,description:"",data:"",mimeType:null,pictureType:null},t=3;if(s.size<2)return;if(s.data[0]!==t){console.log("Ignore frame with unrecognized character encoding");return}const n=s.data.subarray(1).indexOf(0);if(n===-1)return;const r=le(to(s.data,1,n)),i=s.data[2+n],a=s.data.subarray(3+n).indexOf(0);if(a===-1)return;const u=le(to(s.data,3+n,a));let h;return r==="-->"?h=le(to(s.data,4+n+a)):h=xo(s.data.subarray(4+n+a)),e.mimeType=r,e.pictureType=i,e.description=u,e.data=h,e}function Ee(s){return s.type==="PRIV"?Ws(s):s.type[0]==="W"?yo(s):s.type==="APIC"?ce(s):vo(s)}function je(s){const e=String.fromCharCode(s[0],s[1],s[2],s[3]),t=js(s,4),n=10;return{type:e,size:t,data:s.subarray(n,n+t)}}const Ye=10,st=10;function ot(s){let e=0;const t=[];for(;Ns(s,e);){const n=js(s,e+6);s[e+5]>>6&1&&(e+=Ye),e+=Ye;const r=e+n;for(;e+st<r;){const i=je(s.subarray(e)),a=Ee(i);a&&t.push(a),e+=i.size+Ye}Po(s,e)&&(e+=Ye)}return t}function Tt(s){return s&&s.key==="PRIV"&&s.info==="com.apple.streaming.transportStreamTimestamp"}function Rt(s){if(s.data.byteLength===8){const e=new Uint8Array(s.data),t=e[3]&1;let n=(e[4]<<23)+(e[5]<<15)+(e[6]<<7)+e[7];return n/=45,t&&(n+=4772185884e-2),Math.round(n)}}function At(s){const e=ot(s);for(let t=0;t<e.length;t++){const n=e[t];if(Tt(n))return Rt(n)}}let Mt=function(s){return s.audioId3="org.id3",s.dateRange="com.apple.quicktime.HLS",s.emsg="https://aomedia.org/emsg/ID3",s.misbklv="urn:misb:KLV:bin:1910.1",s}({});function Ce(s="",e=9e4){return{type:s,id:-1,pid:-1,inputTimeScale:e,sequenceNumber:-1,samples:[],dropped:0}}class Qt{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(e,t,n,r){this._id3Track={type:"id3",id:3,pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0}}resetTimeStamp(e){this.initPTS=e,this.resetContiguity()}resetContiguity(){this.basePTS=null,this.lastPTS=null,this.frameIndex=0}canParse(e,t){return!1}appendFrame(e,t,n){}demux(e,t){this.cachedData&&(e=Ze(this.cachedData,e),this.cachedData=null);let n=Rs(e,0),r=n?n.length:0,i;const a=this._audioTrack,u=this._id3Track,h=n?At(n):void 0,c=e.length;for((this.basePTS===null||this.frameIndex===0&&g(h))&&(this.basePTS=Sn(h,t,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),n&&n.length>0&&u.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:Mt.audioId3,duration:Number.POSITIVE_INFINITY});r<c;){if(this.canParse(e,r)){const S=this.appendFrame(a,e,r);S?(this.frameIndex++,this.lastPTS=S.sample.pts,r+=S.length,i=r):r=c}else No(e,r)?(n=Rs(e,r),u.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:Mt.audioId3,duration:Number.POSITIVE_INFINITY}),r+=n.length,i=r):r++;if(r===c&&i!==c){const S=e.slice(i);this.cachedData?this.cachedData=Ze(this.cachedData,S):this.cachedData=S}}return{audioTrack:a,videoTrack:Ce(),id3Track:u,textTrack:Ce()}}demuxSampleAes(e,t,n){return Promise.reject(new Error(`[${this}] This demuxer does not support Sample-AES decryption`))}flush(e){const t=this.cachedData;return t&&(this.cachedData=null,this.demux(t,0)),{audioTrack:this._audioTrack,videoTrack:Ce(),id3Track:this._id3Track,textTrack:Ce()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const Sn=(s,e,t)=>{if(g(s))return s*90;const n=t?t.baseTime*9e4/t.timescale:0;return e*9e4+n};let hn=null;const bn=[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],Kn=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Nn=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],zn=[0,1,1,4];function Un(s,e,t,n,r){if(t+24>e.length)return;const i=Yn(e,t);if(i&&t+i.frameLength<=e.length){const a=i.samplesPerFrame*9e4/i.sampleRate,u=n+r*a,h={unit:e.subarray(t,t+i.frameLength),pts:u,dts:u};return s.config=[],s.channelCount=i.channelCount,s.samplerate=i.sampleRate,s.samples.push(h),{sample:h,length:i.frameLength,missing:0}}}function Yn(s,e){const t=s[e+1]>>3&3,n=s[e+1]>>1&3,r=s[e+2]>>4&15,i=s[e+2]>>2&3;if(t!==1&&r!==0&&r!==15&&i!==3){const a=s[e+2]>>1&1,u=s[e+3]>>6,h=t===3?3-n:n===3?3:4,c=bn[h*14+r-1]*1e3,E=Kn[(t===3?0:t===2?1:2)*3+i],z=u===3?1:2,te=Nn[t][n],ee=zn[n],De=te*8*ee,Ne=Math.floor(te*c/E+a)*ee;if(hn===null){const ct=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);hn=ct?parseInt(ct[1]):0}return!!hn&&hn<=87&&n===2&&c>=224e3&&u===0&&(s[e+3]=s[e+3]|128),{sampleRate:E,channelCount:z,frameLength:Ne,samplesPerFrame:De}}}function Ar(s,e){return s[e]===255&&(s[e+1]&224)===224&&(s[e+1]&6)!==0}function _r(s,e){return e+1<s.length&&Ar(s,e)}function br(s,e){return Ar(s,e)&&4<=s.length-e}function kr(s,e){if(e+1<s.length&&Ar(s,e)){const n=Yn(s,e);let r=4;n!=null&&n.frameLength&&(r=n.frameLength);const i=e+r;return i===s.length||_r(s,i)}return!1}class Vr extends Qt{constructor(e,t){super(),this.observer=void 0,this.config=void 0,this.observer=e,this.config=t}resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e,t){if(!e)return!1;const n=Rs(e,0);let r=(n==null?void 0:n.length)||0;if(kr(e,r))return!1;for(let i=e.length;r<i;r++)if(ho(e,r))return t.log("ADTS sync word found !"),!0;return!1}canParse(e,t){return Qo(e,t)}appendFrame(e,t,n){po(e,this.observer,t,n,e.manifestCodec);const r=go(e,t,n,this.basePTS,this.frameIndex);if(r&&r.missing===0)return r}}const rr=(s,e)=>{let t=0,n=5;e+=n;const r=new Uint32Array(1),i=new Uint32Array(1),a=new Uint8Array(1);for(;n>0;){a[0]=s[e];const u=Math.min(n,8),h=8-u;i[0]=4278190080>>>24+h<<h,r[0]=(a[0]&i[0])>>h,t=t?t<<u|r[0]:r[0],e+=1,n-=u}return t};class Sr extends Qt{constructor(e){super(),this.observer=void 0,this.observer=e}resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/ac-3",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"ac3",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}canParse(e,t){return t+64<e.length}appendFrame(e,t,n){const r=tr(e,t,n,this.basePTS,this.frameIndex);if(r!==-1)return{sample:e.samples[e.samples.length-1],length:r,missing:0}}static probe(e){if(!e)return!1;const t=Rs(e,0);if(!t)return!1;const n=t.length;return e[n]===11&&e[n+1]===119&&At(t)!==void 0&&rr(e,n)<16}}function tr(s,e,t,n,r){if(t+8>e.length||e[t]!==11||e[t+1]!==119)return-1;const i=e[t+4]>>6;if(i>=3)return-1;const u=[48e3,44100,32e3][i],h=e[t+4]&63,S=[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][h*3+i]*2;if(t+S>e.length)return-1;const E=e[t+6]>>5;let z=0;E===2?z+=2:(E&1&&E!==1&&(z+=2),E&4&&(z+=2));const te=(e[t+6]<<8|e[t+7])>>12-z&1,De=[2,1,2,3,3,4,4,5][E]+te,Ne=e[t+5]>>3,tt=e[t+5]&7,St=new Uint8Array([i<<6|Ne<<1|tt>>2,(tt&3)<<6|E<<3|te<<2|h>>4,h<<4&224]),ct=1536/u*9e4,zt=n+r*ct,Vt=e.subarray(t,t+S);return s.config=St,s.channelCount=De,s.samplerate=u,s.samples.push({unit:Vt,pts:zt}),S}class Wn extends Qt{resetInitSegment(e,t,n,r){super.resetInitSegment(e,t,n,r),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:t,duration:r,inputTimeScale:9e4,dropped:0}}static probe(e){if(!e)return!1;const t=Rs(e,0);let n=(t==null?void 0:t.length)||0;if(t&&e[n]===11&&e[n+1]===119&&At(t)!==void 0&&rr(e,n)<=16)return!1;for(let r=e.length;n<r;n++)if(kr(e,n))return j.log("MPEG Audio sync word found !"),!0;return!1}canParse(e,t){return br(e,t)}appendFrame(e,t,n){if(this.basePTS!==null)return Un(e,t,n,this.basePTS,this.frameIndex)}}const pr=/\/emsg[-/]ID3/i;class Nr{constructor(e,t){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=t}resetTimeStamp(){}resetInitSegment(e,t,n,r){const i=this.videoTrack=Ce("video",1),a=this.audioTrack=Ce("audio",1),u=this.txtTrack=Ce("text",1);if(this.id3Track=Ce("id3",1),this.timeOffset=0,!(e!=null&&e.byteLength))return;const h=U(e);if(h.video){const{id:c,timescale:S,codec:E,supplemental:z}=h.video;i.id=c,i.timescale=u.timescale=S,i.codec=E,i.supplemental=z}if(h.audio){const{id:c,timescale:S,codec:E}=h.audio;a.id=c,a.timescale=S,a.codec=E}u.id=at.text,i.sampleDuration=0,i.duration=a.duration=r}resetContiguity(){this.remainderData=null}static probe(e){return de(e)}demux(e,t){this.timeOffset=t;let n=e;const r=this.videoTrack,i=this.txtTrack;if(this.config.progressive){this.remainderData&&(n=Ze(this.remainderData,e));const u=Qe(n);this.remainderData=u.remainder,r.samples=u.valid||new Uint8Array}else r.samples=n;const a=this.extractID3Track(r,t);return i.samples=Ve(t,r),{videoTrack:r,audioTrack:this.audioTrack,id3Track:a,textTrack:this.txtTrack}}flush(){const e=this.timeOffset,t=this.videoTrack,n=this.txtTrack;t.samples=this.remainderData||new Uint8Array,this.remainderData=null;const r=this.extractID3Track(t,this.timeOffset);return n.samples=Ve(e,t),{videoTrack:t,audioTrack:Ce(),id3Track:r,textTrack:Ce()}}extractID3Track(e,t){const n=this.id3Track;if(e.samples.length){const r=fe(e.samples,["emsg"]);r&&r.forEach(i=>{const a=Kt(i);if(pr.test(a.schemeIdUri)){const u=Jr(a,t);let h=a.eventDuration===4294967295?Number.POSITIVE_INFINITY:a.eventDuration/a.timeScale;h<=.001&&(h=Number.POSITIVE_INFINITY);const c=a.payload;n.samples.push({data:c,len:c.byteLength,dts:u,pts:u,type:Mt.emsg,duration:h})}else if(this.config.enableEmsgKLVMetadata&&a.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const u=Jr(a,t);n.samples.push({data:a.payload,len:a.payload.byteLength,dts:u,pts:u,type:Mt.misbklv,duration:Number.POSITIVE_INFINITY})}})}return n}demuxSampleAes(e,t,n){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 Jr(s,e){return g(s.presentationTime)?s.presentationTime/s.timeScale:e+s.presentationTimeDelta/s.timeScale}class se{constructor(e,t,n){this.keyData=void 0,this.decrypter=void 0,this.keyData=n,this.decrypter=new Ii(t,{removePKCS7Padding:!1})}decryptBuffer(e){return this.decrypter.decrypt(e,this.keyData.key.buffer,this.keyData.iv.buffer,hr.cbc)}decryptAacSample(e,t,n){const r=e[t].unit;if(r.length<=16)return;const i=r.subarray(16,r.length-r.length%16),a=i.buffer.slice(i.byteOffset,i.byteOffset+i.length);this.decryptBuffer(a).then(u=>{const h=new Uint8Array(u);r.set(h,16),this.decrypter.isSync()||this.decryptAacSamples(e,t+1,n)})}decryptAacSamples(e,t,n){for(;;t++){if(t>=e.length){n();return}if(!(e[t].unit.length<32)&&(this.decryptAacSample(e,t,n),!this.decrypter.isSync()))return}}getAvcEncryptedData(e){const t=Math.floor((e.length-48)/160)*16+16,n=new Int8Array(t);let r=0;for(let i=32;i<e.length-16;i+=160,r+=16)n.set(e.subarray(i,i+16),r);return n}getAvcDecryptedUnit(e,t){const n=new Uint8Array(t);let r=0;for(let i=32;i<e.length-16;i+=160,r+=16)e.set(n.subarray(r,r+16),i);return e}decryptAvcSample(e,t,n,r,i){const a=Ot(i.data),u=this.getAvcEncryptedData(a);this.decryptBuffer(u.buffer).then(h=>{i.data=this.getAvcDecryptedUnit(a,h),this.decrypter.isSync()||this.decryptAvcSamples(e,t,n+1,r)})}decryptAvcSamples(e,t,n,r){if(e instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;t++,n=0){if(t>=e.length){r();return}const i=e[t].units;for(;!(n>=i.length);n++){const a=i[n];if(!(a.data.length<=48||a.type!==1&&a.type!==5)&&(this.decryptAvcSample(e,t,n,r,a),!this.decrypter.isSync()))return}}}}class l{constructor(){this.VideoSample=null}createVideoSample(e,t,n){return{key:e,frame:!1,pts:t,dts:n,units:[],length:0}}getLastNalUnit(e){var t;let n=this.VideoSample,r;if((!n||n.units.length===0)&&(n=e[e.length-1]),(t=n)!=null&&t.units){const i=n.units;r=i[i.length-1]}return r}pushAccessUnit(e,t){if(e.units.length&&e.frame){if(e.pts===void 0){const n=t.samples,r=n.length;if(r){const i=n[r-1];e.pts=i.pts,e.dts=i.dts}else{t.dropped++;return}}t.samples.push(e)}}parseNALu(e,t,n){const r=t.byteLength;let i=e.naluState||0;const a=i,u=[];let h=0,c,S,E,z=-1,te=0;for(i===-1&&(z=0,te=this.getNALuType(t,0),i=0,h=1);h<r;){if(c=t[h++],!i){i=c?0:1;continue}if(i===1){i=c?0:2;continue}if(!c)i=3;else if(c===1){if(S=h-i-1,z>=0){const ee={data:t.subarray(z,S),type:te};u.push(ee)}else{const ee=this.getLastNalUnit(e.samples);ee&&(a&&h<=4-a&&ee.state&&(ee.data=ee.data.subarray(0,ee.data.byteLength-a)),S>0&&(ee.data=Ze(ee.data,t.subarray(0,S)),ee.state=0))}h<r?(E=this.getNALuType(t,h),z=h,te=E,i=0):i=-1}else i=0}if(z>=0&&i>=0){const ee={data:t.subarray(z,r),type:te,state:i};u.push(ee)}if(u.length===0){const ee=this.getLastNalUnit(e.samples);ee&&(ee.data=Ze(ee.data,t))}return e.naluState=i,u}}class d{constructor(e){this.data=void 0,this.bytesAvailable=void 0,this.word=void 0,this.bitsAvailable=void 0,this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}loadWord(){const e=this.data,t=this.bytesAvailable,n=e.byteLength-t,r=new Uint8Array(4),i=Math.min(4,t);if(i===0)throw new Error("no bytes available");r.set(e.subarray(n,n+i)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=i*8,this.bytesAvailable-=i}skipBits(e){let t;e=Math.min(e,this.bytesAvailable*8+this.bitsAvailable),this.bitsAvailable>e?(this.word<<=e,this.bitsAvailable-=e):(e-=this.bitsAvailable,t=e>>3,e-=t<<3,this.bytesAvailable-=t,this.loadWord(),this.word<<=e,this.bitsAvailable-=e)}readBits(e){let t=Math.min(this.bitsAvailable,e);const n=this.word>>>32-t;if(e>32&&j.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=t,this.bitsAvailable>0)this.word<<=t;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return t=e-t,t>0&&this.bitsAvailable?n<<t|this.readBits(t):n}skipLZ(){let e;for(e=0;e<this.bitsAvailable;++e)if(this.word&2147483648>>>e)return this.word<<=e,this.bitsAvailable-=e,e;return this.loadWord(),e+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const e=this.skipLZ();return this.readBits(e+1)-1}readEG(){const e=this.readUEG();return 1&e?1+e>>>1:-1*(e>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class p extends l{parsePES(e,t,n,r){const i=this.parseNALu(e,n.data,r);let a=this.VideoSample,u,h=!1;n.data=null,a&&i.length&&!e.audFound&&(this.pushAccessUnit(a,e),a=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),i.forEach(c=>{var S,E;switch(c.type){case 1:{let De=!1;u=!0;const Ne=c.data;if(h&&Ne.length>4){const tt=this.readSliceType(Ne);(tt===2||tt===4||tt===7||tt===9)&&(De=!0)}if(De){var z;(z=a)!=null&&z.frame&&!a.key&&(this.pushAccessUnit(a,e),a=this.VideoSample=null)}a||(a=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),a.frame=!0,a.key=De;break}case 5:u=!0,(S=a)!=null&&S.frame&&!a.key&&(this.pushAccessUnit(a,e),a=this.VideoSample=null),a||(a=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),a.key=!0,a.frame=!0;break;case 6:{u=!0,ft(c.data,1,n.pts,t.samples);break}case 7:{var te,ee;u=!0,h=!0;const De=c.data,Ne=this.readSPS(De);if(!e.sps||e.width!==Ne.width||e.height!==Ne.height||((te=e.pixelRatio)==null?void 0:te[0])!==Ne.pixelRatio[0]||((ee=e.pixelRatio)==null?void 0:ee[1])!==Ne.pixelRatio[1]){e.width=Ne.width,e.height=Ne.height,e.pixelRatio=Ne.pixelRatio,e.sps=[De];const tt=De.subarray(1,4);let St="avc1.";for(let ct=0;ct<3;ct++){let zt=tt[ct].toString(16);zt.length<2&&(zt="0"+zt),St+=zt}e.codec=St}break}case 8:u=!0,e.pps=[c.data];break;case 9:u=!0,e.audFound=!0,(E=a)!=null&&E.frame&&(this.pushAccessUnit(a,e),a=null),a||(a=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts));break;case 12:u=!0;break;default:u=!1;break}a&&u&&a.units.push(c)}),r&&a&&(this.pushAccessUnit(a,e),this.VideoSample=null)}getNALuType(e,t){return e[t]&31}readSliceType(e){const t=new d(e);return t.readUByte(),t.readUEG(),t.readUEG()}skipScalingList(e,t){let n=8,r=8,i;for(let a=0;a<e;a++)r!==0&&(i=t.readEG(),r=(n+i+256)%256),n=r===0?n:r}readSPS(e){const t=new d(e);let n=0,r=0,i=0,a=0,u,h,c;const S=t.readUByte.bind(t),E=t.readBits.bind(t),z=t.readUEG.bind(t),te=t.readBoolean.bind(t),ee=t.skipBits.bind(t),De=t.skipEG.bind(t),Ne=t.skipUEG.bind(t),tt=this.skipScalingList.bind(this);S();const St=S();if(E(5),ee(3),S(),Ne(),St===100||St===110||St===122||St===244||St===44||St===83||St===86||St===118||St===128){const un=z();if(un===3&&ee(1),Ne(),Ne(),ee(1),te())for(h=un!==3?8:12,c=0;c<h;c++)te()&&(c<6?tt(16,t):tt(64,t))}Ne();const ct=z();if(ct===0)z();else if(ct===1)for(ee(1),De(),De(),u=z(),c=0;c<u;c++)De();Ne(),ee(1);const zt=z(),Vt=z(),pn=E(1);pn===0&&ee(1),ee(1),te()&&(n=z(),r=z(),i=z(),a=z());let $t=[1,1];if(te()&&te())switch(S()){case 1:$t=[1,1];break;case 2:$t=[12,11];break;case 3:$t=[10,11];break;case 4:$t=[16,11];break;case 5:$t=[40,33];break;case 6:$t=[24,11];break;case 7:$t=[20,11];break;case 8:$t=[32,11];break;case 9:$t=[80,33];break;case 10:$t=[18,11];break;case 11:$t=[15,11];break;case 12:$t=[64,33];break;case 13:$t=[160,99];break;case 14:$t=[4,3];break;case 15:$t=[3,2];break;case 16:$t=[2,1];break;case 255:{$t=[S()<<8|S(),S()<<8|S()];break}}return{width:Math.ceil((zt+1)*16-n*2-r*2),height:(2-pn)*(Vt+1)*16-(pn?2:4)*(i+a),pixelRatio:$t}}}class x extends l{constructor(...e){super(...e),this.initVPS=null}parsePES(e,t,n,r){const i=this.parseNALu(e,n.data,r);let a=this.VideoSample,u,h=!1;n.data=null,a&&i.length&&!e.audFound&&(this.pushAccessUnit(a,e),a=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),i.forEach(c=>{var S,E;switch(c.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:a||(a=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts)),a.frame=!0,u=!0;break;case 16:case 17:case 18:case 21:if(u=!0,h){var z;(z=a)!=null&&z.frame&&!a.key&&(this.pushAccessUnit(a,e),a=this.VideoSample=null)}a||(a=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),a.key=!0,a.frame=!0;break;case 19:case 20:u=!0,(S=a)!=null&&S.frame&&!a.key&&(this.pushAccessUnit(a,e),a=this.VideoSample=null),a||(a=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),a.key=!0,a.frame=!0;break;case 39:u=!0,ft(c.data,2,n.pts,t.samples);break;case 32:u=!0,e.vps||(typeof e.params!="object"&&(e.params={}),e.params=y(e.params,this.readVPS(c.data)),this.initVPS=c.data),e.vps=[c.data];break;case 33:if(u=!0,h=!0,e.vps!==void 0&&e.vps[0]!==this.initVPS&&e.sps!==void 0&&!this.matchSPS(e.sps[0],c.data)&&(this.initVPS=e.vps[0],e.sps=e.pps=void 0),!e.sps){const te=this.readSPS(c.data);e.width=te.width,e.height=te.height,e.pixelRatio=te.pixelRatio,e.codec=te.codecString,e.sps=[],typeof e.params!="object"&&(e.params={});for(const ee in te.params)e.params[ee]=te.params[ee]}this.pushParameterSet(e.sps,c.data,e.vps),a||(a=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts)),a.key=!0;break;case 34:if(u=!0,typeof e.params=="object"){if(!e.pps){e.pps=[];const te=this.readPPS(c.data);for(const ee in te)e.params[ee]=te[ee]}this.pushParameterSet(e.pps,c.data,e.vps)}break;case 35:u=!0,e.audFound=!0,(E=a)!=null&&E.frame&&(this.pushAccessUnit(a,e),a=null),a||(a=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts));break;default:u=!1;break}a&&u&&a.units.push(c)}),r&&a&&(this.pushAccessUnit(a,e),this.VideoSample=null)}pushParameterSet(e,t,n){(n&&n[0]===this.initVPS||!n&&!e.length)&&e.push(t)}getNALuType(e,t){return(e[t]&126)>>>1}ebsp2rbsp(e){const t=new Uint8Array(e.byteLength);let n=0;for(let r=0;r<e.byteLength;r++)r>=2&&e[r]===3&&e[r-1]===0&&e[r-2]===0||(t[n]=e[r],n++);return new Uint8Array(t.buffer,0,n)}pushAccessUnit(e,t){super.pushAccessUnit(e,t),this.initVPS&&(this.initVPS=null)}readVPS(e){const t=new d(e);t.readUByte(),t.readUByte(),t.readBits(4),t.skipBits(2),t.readBits(6);const n=t.readBits(3),r=t.readBoolean();return{numTemporalLayers:n+1,temporalIdNested:r}}readSPS(e){const t=new d(this.ebsp2rbsp(e));t.readUByte(),t.readUByte(),t.readBits(4);const n=t.readBits(3);t.readBoolean();const r=t.readBits(2),i=t.readBoolean(),a=t.readBits(5),u=t.readUByte(),h=t.readUByte(),c=t.readUByte(),S=t.readUByte(),E=t.readUByte(),z=t.readUByte(),te=t.readUByte(),ee=t.readUByte(),De=t.readUByte(),Ne=t.readUByte(),tt=t.readUByte(),St=[],ct=[];for(let zi=0;zi<n;zi++)St.push(t.readBoolean()),ct.push(t.readBoolean());if(n>0)for(let zi=n;zi<8;zi++)t.readBits(2);for(let zi=0;zi<n;zi++)St[zi]&&(t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte()),ct[zi]&&t.readUByte();t.readUEG();const zt=t.readUEG();zt==3&&t.skipBits(1);const Vt=t.readUEG(),pn=t.readUEG(),$t=t.readBoolean();let un=0,wn=0,Jt=0,$n=0;$t&&(un+=t.readUEG(),wn+=t.readUEG(),Jt+=t.readUEG(),$n+=t.readUEG());const yr=t.readUEG(),wi=t.readUEG(),Xr=t.readUEG(),jr=t.readBoolean();for(let zi=jr?0:n;zi<=n;zi++)t.skipUEG(),t.skipUEG(),t.skipUEG();if(t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG(),t.readBoolean()&&t.readBoolean())for(let Ha=0;Ha<4;Ha++)for(let vs=0;vs<(Ha===3?2:6);vs++)if(!t.readBoolean())t.readUEG();else{const As=Math.min(64,1<<4+(Ha<<1));Ha>1&&t.readEG();for(let Fo=0;Fo<As;Fo++)t.readEG()}t.readBoolean(),t.readBoolean(),t.readBoolean()&&(t.readUByte(),t.skipUEG(),t.skipUEG(),t.readBoolean());const Kr=t.readUEG();let Zn=0;for(let zi=0;zi<Kr;zi++){let Ha=!1;if(zi!==0&&(Ha=t.readBoolean()),Ha){zi===Kr&&t.readUEG(),t.readBoolean(),t.readUEG();let vs=0;for(let so=0;so<=Zn;so++){const As=t.readBoolean();let Fo=!1;As||(Fo=t.readBoolean()),(As||Fo)&&vs++}Zn=vs}else{const vs=t.readUEG(),so=t.readUEG();Zn=vs+so;for(let As=0;As<vs;As++)t.readUEG(),t.readBoolean();for(let As=0;As<so;As++)t.readUEG(),t.readBoolean()}}if(t.readBoolean()){const zi=t.readUEG();for(let Ha=0;Ha<zi;Ha++){for(let vs=0;vs<Xr+4;vs++)t.readBits(1);t.readBits(1)}}let ui=0,ni=1,_i=1,Mi=!0,Zi=1,na=0;t.readBoolean(),t.readBoolean();let Ga=!1;if(t.readBoolean()){if(t.readBoolean()){const oo=t.readUByte(),wu=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],gl=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];oo>0&&oo<16?(ni=wu[oo-1],_i=gl[oo-1]):oo===255&&(ni=t.readBits(16),_i=t.readBits(16))}if(t.readBoolean()&&t.readBoolean(),t.readBoolean()&&(t.readBits(3),t.readBoolean(),t.readBoolean()&&(t.readUByte(),t.readUByte(),t.readUByte())),t.readBoolean()&&(t.readUEG(),t.readUEG()),t.readBoolean(),t.readBoolean(),t.readBoolean(),Ga=t.readBoolean(),Ga&&(un+=t.readUEG(),wn+=t.readUEG(),Jt+=t.readUEG(),$n+=t.readUEG()),t.readBoolean()&&(Zi=t.readBits(32),na=t.readBits(32),t.readBoolean()&&t.readUEG(),t.readBoolean())){const gl=t.readBoolean(),Cu=t.readBoolean();let $o=!1;(gl||Cu)&&($o=t.readBoolean(),$o&&(t.readUByte(),t.readBits(5),t.readBoolean(),t.readBits(5)),t.readBits(4),t.readBits(4),$o&&t.readBits(4),t.readBits(5),t.readBits(5),t.readBits(5));for(let Tu=0;Tu<=n;Tu++){Mi=t.readBoolean();const s0=Mi||t.readBoolean();let Ru=!1;s0?t.readEG():Ru=t.readBoolean();const Du=Ru?1:t.readUEG()+1;if(gl)for(let Zo=0;Zo<Du;Zo++)t.readUEG(),t.readUEG(),$o&&(t.readUEG(),t.readUEG()),t.skipBits(1);if(Cu)for(let Zo=0;Zo<Du;Zo++)t.readUEG(),t.readUEG(),$o&&(t.readUEG(),t.readUEG()),t.skipBits(1)}}t.readBoolean()&&(t.readBoolean(),t.readBoolean(),t.readBoolean(),ui=t.readUEG())}let Qs=Vt,_u=pn;if($t||Ga){let zi=1,Ha=1;zt===1?zi=Ha=2:zt==2&&(zi=2),Qs=Vt-zi*wn-zi*un,_u=pn-Ha*$n-Ha*Jt}const i0=r?["A","B","C"][r]:"",a0=u<<24|h<<16|c<<8|S;let Bl=0;for(let zi=0;zi<32;zi++)Bl=(Bl|(a0>>zi&1)<<31-zi)>>>0;let Kl=Bl.toString(16);return a===1&&Kl==="2"&&(Kl="6"),{codecString:`hvc1.${i0}${a}.${Kl}.${i?"H":"L"}${tt}.B0`,params:{general_tier_flag:i,general_profile_idc:a,general_profile_space:r,general_profile_compatibility_flags:[u,h,c,S],general_constraint_indicator_flags:[E,z,te,ee,De,Ne],general_level_idc:tt,bit_depth:yr+8,bit_depth_luma_minus8:yr,bit_depth_chroma_minus8:wi,min_spatial_segmentation_idc:ui,chroma_format_idc:zt,frame_rate:{fixed:Mi,fps:na/Zi}},width:Qs,height:_u,pixelRatio:[ni,_i]}}readPPS(e){const t=new d(this.ebsp2rbsp(e));t.readUByte(),t.readUByte(),t.skipUEG(),t.skipUEG(),t.skipBits(2),t.skipBits(3),t.skipBits(2),t.skipUEG(),t.skipUEG(),t.skipEG(),t.skipBits(2),t.readBoolean()&&t.skipUEG(),t.skipEG(),t.skipEG(),t.skipBits(4);const r=t.readBoolean(),i=t.readBoolean();let a=1;return i&&r?a=0:i?a=3:r&&(a=2),{parallelismType:a}}matchSPS(e,t){return String.fromCharCode.apply(null,e).substr(3)===String.fromCharCode.apply(null,t).substr(3)}}const N=188;class ue{constructor(e,t,n,r){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=e,this.config=t,this.typeSupported=n,this.logger=r,this.videoParser=null}static probe(e,t){const n=ue.syncOffset(e);return n>0&&t.warn(`MPEG2-TS detected but first sync word found @ offset ${n}`),n!==-1}static syncOffset(e){const t=e.length;let n=Math.min(N*5,t-N)+1,r=0;for(;r<n;){let i=!1,a=-1,u=0;for(let h=r;h<t;h+=N)if(e[h]===71&&(t-h===N||e[h+N]===71)){if(u++,a===-1&&(a=h,a!==0&&(n=Math.min(a+N*99,e.length-N)+1)),i||(i=ke(e,h)===0),i&&u>1&&(a===0&&u>2||h+N>n))return a}else{if(u)return-1;break}r++}return-1}static createTrack(e,t){return{container:e==="video"||e==="audio"?"video/mp2t":void 0,type:e,id:at[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:e==="audio"?t:void 0}}resetInitSegment(e,t,n,r){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=ue.createTrack("video"),this._videoTrack.duration=r,this._audioTrack=ue.createTrack("audio",r),this._id3Track=ue.createTrack("id3"),this._txtTrack=ue.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=t,this.videoCodec=n}resetTimeStamp(){}resetContiguity(){const{_audioTrack:e,_videoTrack:t,_id3Track:n}=this;e&&(e.pesData=null),t&&(t.pesData=null),n&&(n.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(e,t,n=!1,r=!1){n||(this.sampleAes=null);let i;const a=this._videoTrack,u=this._audioTrack,h=this._id3Track,c=this._txtTrack;let S=a.pid,E=a.pesData,z=u.pid,te=h.pid,ee=u.pesData,De=h.pesData,Ne=null,tt=this.pmtParsed,St=this._pmtId,ct=e.length;if(this.remainderData&&(e=Ze(this.remainderData,e),ct=e.length,this.remainderData=null),ct<N&&!r)return this.remainderData=e,{audioTrack:u,videoTrack:a,id3Track:h,textTrack:c};const zt=Math.max(0,ue.syncOffset(e));ct-=(ct-zt)%N,ct<e.byteLength&&!r&&(this.remainderData=new Uint8Array(e.buffer,ct,e.buffer.byteLength-ct));let Vt=0;for(let $t=zt;$t<ct;$t+=N)if(e[$t]===71){const un=!!(e[$t+1]&64),wn=ke(e,$t),Jt=(e[$t+3]&48)>>4;let $n;if(Jt>1){if($n=$t+5+e[$t+4],$n===$t+N)continue}else $n=$t+4;switch(wn){case S:if(un){if(E&&(i=qt(E,this.logger))){if(this.videoParser===null)switch(a.segmentCodec){case"avc":this.videoParser=new p;break;case"hevc":this.videoParser=new x;break}this.videoParser!==null&&this.videoParser.parsePES(a,c,i,!1)}E={data:[],size:0}}E&&(E.data.push(e.subarray($n,$t+N)),E.size+=$t+N-$n);break;case z:if(un){if(ee&&(i=qt(ee,this.logger)))switch(u.segmentCodec){case"aac":this.parseAACPES(u,i);break;case"mp3":this.parseMPEGPES(u,i);break;case"ac3":this.parseAC3PES(u,i);break}ee={data:[],size:0}}ee&&(ee.data.push(e.subarray($n,$t+N)),ee.size+=$t+N-$n);break;case te:un&&(De&&(i=qt(De,this.logger))&&this.parseID3PES(h,i),De={data:[],size:0}),De&&(De.data.push(e.subarray($n,$t+N)),De.size+=$t+N-$n);break;case 0:un&&($n+=e[$n]+1),St=this._pmtId=ze(e,$n);break;case St:{un&&($n+=e[$n]+1);const yr=nt(e,$n,this.typeSupported,n,this.observer,this.logger);S=yr.videoPid,S>0&&(a.pid=S,a.segmentCodec=yr.segmentVideoCodec),z=yr.audioPid,z>0&&(u.pid=z,u.segmentCodec=yr.segmentAudioCodec),te=yr.id3Pid,te>0&&(h.pid=te),Ne!==null&&!tt&&(this.logger.warn(`MPEG-TS PMT found at ${$t} after unknown PID '${Ne}'. Backtracking to sync byte @${zt} to parse all TS packets.`),Ne=null,$t=zt-188),tt=this.pmtParsed=!0;break}case 17:case 8191:break;default:Ne=wn;break}}else Vt++;Vt>0&&vt(this.observer,new Error(`Found ${Vt} TS packet/s that do not start with 0x47`),void 0,this.logger),a.pesData=E,u.pesData=ee,h.pesData=De;const pn={audioTrack:u,videoTrack:a,id3Track:h,textTrack:c};return r&&this.extractRemainingSamples(pn),pn}flush(){const{remainderData:e}=this;this.remainderData=null;let t;return e?t=this.demux(e,-1,!1,!0):t={videoTrack:this._videoTrack,audioTrack:this._audioTrack,id3Track:this._id3Track,textTrack:this._txtTrack},this.extractRemainingSamples(t),this.sampleAes?this.decrypt(t,this.sampleAes):t}extractRemainingSamples(e){const{audioTrack:t,videoTrack:n,id3Track:r,textTrack:i}=e,a=n.pesData,u=t.pesData,h=r.pesData;let c;if(a&&(c=qt(a,this.logger))){if(this.videoParser===null)switch(n.segmentCodec){case"avc":this.videoParser=new p;break;case"hevc":this.videoParser=new x;break}this.videoParser!==null&&(this.videoParser.parsePES(n,i,c,!0),n.pesData=null)}else n.pesData=a;if(u&&(c=qt(u,this.logger))){switch(t.segmentCodec){case"aac":this.parseAACPES(t,c);break;case"mp3":this.parseMPEGPES(t,c);break;case"ac3":this.parseAC3PES(t,c);break}t.pesData=null}else u!=null&&u.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),t.pesData=u;h&&(c=qt(h,this.logger))?(this.parseID3PES(r,c),r.pesData=null):r.pesData=h}demuxSampleAes(e,t,n){const r=this.demux(e,n,!0,!this.config.progressive),i=this.sampleAes=new se(this.observer,this.config,t);return this.decrypt(r,i)}decrypt(e,t){return new Promise(n=>{const{audioTrack:r,videoTrack:i}=e;r.samples&&r.segmentCodec==="aac"?t.decryptAacSamples(r.samples,0,()=>{i.samples?t.decryptAvcSamples(i.samples,0,0,()=>{n(e)}):n(e)}):i.samples&&t.decryptAvcSamples(i.samples,0,0,()=>{n(e)})})}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(e,t){let n=0;const r=this.aacOverFlow;let i=t.data;if(r){this.aacOverFlow=null;const E=r.missing,z=r.sample.unit.byteLength;if(E===-1)i=Ze(r.sample.unit,i);else{const te=z-E;r.sample.unit.set(i.subarray(0,E),te),e.samples.push(r.sample),n=r.missing}}let a,u;for(a=n,u=i.length;a<u-1&&!Ms(i,a);a++);if(a!==n){let E;const z=a<u-1;if(z?E=`AAC PES did not start with ADTS header,offset:${a}`:E="No ADTS header found in AAC PES",vt(this.observer,new Error(E),z,this.logger),!z)return}po(e,this.observer,i,a,this.audioCodec);let h;if(t.pts!==void 0)h=t.pts;else if(r){const E=mo(e.samplerate);h=r.sample.pts+E}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let c=0,S;for(;a<u;)if(S=go(e,i,a,h,c),a+=S.length,S.missing){this.aacOverFlow=S;break}else for(c++;a<u-1&&!Ms(i,a);a++);}parseMPEGPES(e,t){const n=t.data,r=n.length;let i=0,a=0;const u=t.pts;if(u===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;a<r;)if(_r(n,a)){const h=Un(e,n,a,u,i);if(h)a+=h.length,i++;else break}else a++}parseAC3PES(e,t){{const n=t.data,r=t.pts;if(r===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const i=n.length;let a=0,u=0,h;for(;u<i&&(h=tr(e,n,u,r,a++))>0;)u+=h}}parseID3PES(e,t){if(t.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const n=y({},t,{type:this._videoTrack?Mt.emsg:Mt.audioId3,duration:Number.POSITIVE_INFINITY});e.samples.push(n)}}function ke(s,e){return((s[e+1]&31)<<8)+s[e+2]}function ze(s,e){return(s[e+10]&31)<<8|s[e+11]}function nt(s,e,t,n,r,i){const a={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},u=(s[e+1]&15)<<8|s[e+2],h=e+3+u-4,c=(s[e+10]&15)<<8|s[e+11];for(e+=12+c;e<h;){const S=ke(s,e),E=(s[e+3]&15)<<8|s[e+4];switch(s[e]){case 207:if(!n){Lt("ADTS AAC",i);break}case 15:a.audioPid===-1&&(a.audioPid=S);break;case 21:a.id3Pid===-1&&(a.id3Pid=S);break;case 219:if(!n){Lt("H.264",i);break}case 27:a.videoPid===-1&&(a.videoPid=S);break;case 3:case 4:!t.mpeg&&!t.mp3?i.log("MPEG audio found, not supported in this browser"):a.audioPid===-1&&(a.audioPid=S,a.segmentAudioCodec="mp3");break;case 193:if(!n){Lt("AC-3",i);break}case 129:t.ac3?a.audioPid===-1&&(a.audioPid=S,a.segmentAudioCodec="ac3"):i.log("AC-3 audio found, not supported in this browser");break;case 6:if(a.audioPid===-1&&E>0){let z=e+5,te=E;for(;te>2;){switch(s[z]){case 106:t.ac3!==!0?i.log("AC-3 audio found, not supported in this browser for now"):(a.audioPid=S,a.segmentAudioCodec="ac3");break}const De=s[z+1]+2;z+=De,te-=De}}break;case 194:case 135:return vt(r,new Error("Unsupported EC-3 in M2TS found"),void 0,i),a;case 36:a.videoPid===-1&&(a.videoPid=S,a.segmentVideoCodec="hevc",i.log("HEVC in M2TS found"));break}e+=E+5}return a}function vt(s,e,t,n){n.warn(`parsing error: ${e.message}`),s.emit(m.ERROR,m.ERROR,{type:ge.MEDIA_ERROR,details:F.FRAG_PARSING_ERROR,fatal:!1,levelRetry:t,error:e,reason:e.message})}function Lt(s,e){e.log(`${s} with AES-128-CBC encryption found in unencrypted stream`)}function qt(s,e){let t=0,n,r,i,a,u;const h=s.data;if(!s||s.size===0)return null;for(;h[0].length<19&&h.length>1;)h[0]=Ze(h[0],h[1]),h.splice(1,1);if(n=h[0],(n[0]<<16)+(n[1]<<8)+n[2]===1){if(r=(n[4]<<8)+n[5],r&&r>s.size-6)return null;const S=n[7];S&192&&(a=(n[9]&14)*536870912+(n[10]&255)*4194304+(n[11]&254)*16384+(n[12]&255)*128+(n[13]&254)/2,S&64?(u=(n[14]&14)*536870912+(n[15]&255)*4194304+(n[16]&254)*16384+(n[17]&255)*128+(n[18]&254)/2,a-u>60*9e4&&(e.warn(`${Math.round((a-u)/9e4)}s delta between PTS and DTS, align them`),a=u)):u=a),i=n[8];let E=i+9;if(s.size<=E)return null;s.size-=E;const z=new Uint8Array(s.size);for(let te=0,ee=h.length;te<ee;te++){n=h[te];let De=n.byteLength;if(E)if(E>De){E-=De;continue}else n=n.subarray(E),De-=E,E=0;z.set(n,t),t+=De}return r&&(r-=i+3),{data:z,pts:a,dts:u,len:r}}return null}class Cn{static getSilentFrame(e,t){switch(e){case"mp4a.40.2":if(t===1)return new Uint8Array([0,200,0,128,35,128]);if(t===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(t===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(t===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(t===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(t===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(t===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(t===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(t===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 en=Math.pow(2,32)-1;class Je{static init(){Je.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 e;for(e in Je.types)Je.types.hasOwnProperty(e)&&(Je.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);const t=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]),n=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]);Je.HDLR_TYPES={video:t,audio:n};const r=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),i=new Uint8Array([0,0,0,0,0,0,0,0]);Je.STTS=Je.STSC=Je.STCO=i,Je.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Je.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Je.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Je.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const a=new Uint8Array([105,115,111,109]),u=new Uint8Array([97,118,99,49]),h=new Uint8Array([0,0,0,1]);Je.FTYP=Je.box(Je.types.ftyp,a,h,a,u),Je.DINF=Je.box(Je.types.dinf,Je.box(Je.types.dref,r))}static box(e,...t){let n=8,r=t.length;const i=r;for(;r--;)n+=t[r].byteLength;const a=new Uint8Array(n);for(a[0]=n>>24&255,a[1]=n>>16&255,a[2]=n>>8&255,a[3]=n&255,a.set(e,4),r=0,n=8;r<i;r++)a.set(t[r],n),n+=t[r].byteLength;return a}static hdlr(e){return Je.box(Je.types.hdlr,Je.HDLR_TYPES[e])}static mdat(e){return Je.box(Je.types.mdat,e)}static mdhd(e,t){t*=e;const n=Math.floor(t/(en+1)),r=Math.floor(t%(en+1));return Je.box(Je.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,e&255,n>>24,n>>16&255,n>>8&255,n&255,r>>24,r>>16&255,r>>8&255,r&255,85,196,0,0]))}static mdia(e){return Je.box(Je.types.mdia,Je.mdhd(e.timescale||0,e.duration||0),Je.hdlr(e.type),Je.minf(e))}static mfhd(e){return Je.box(Je.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,e&255]))}static minf(e){return e.type==="audio"?Je.box(Je.types.minf,Je.box(Je.types.smhd,Je.SMHD),Je.DINF,Je.stbl(e)):Je.box(Je.types.minf,Je.box(Je.types.vmhd,Je.VMHD),Je.DINF,Je.stbl(e))}static moof(e,t,n){return Je.box(Je.types.moof,Je.mfhd(e),Je.traf(n,t))}static moov(e){let t=e.length;const n=[];for(;t--;)n[t]=Je.trak(e[t]);return Je.box.apply(null,[Je.types.moov,Je.mvhd(e[0].timescale||0,e[0].duration||0)].concat(n).concat(Je.mvex(e)))}static mvex(e){let t=e.length;const n=[];for(;t--;)n[t]=Je.trex(e[t]);return Je.box.apply(null,[Je.types.mvex,...n])}static mvhd(e,t){t*=e;const n=Math.floor(t/(en+1)),r=Math.floor(t%(en+1)),i=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,e&255,n>>24,n>>16&255,n>>8&255,n&255,r>>24,r>>16&255,r>>8&255,r&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 Je.box(Je.types.mvhd,i)}static sdtp(e){const t=e.samples||[],n=new Uint8Array(4+t.length);let r,i;for(r=0;r<t.length;r++)i=t[r].flags,n[r+4]=i.dependsOn<<4|i.isDependedOn<<2|i.hasRedundancy;return Je.box(Je.types.sdtp,n)}static stbl(e){return Je.box(Je.types.stbl,Je.stsd(e),Je.box(Je.types.stts,Je.STTS),Je.box(Je.types.stsc,Je.STSC),Je.box(Je.types.stsz,Je.STSZ),Je.box(Je.types.stco,Je.STCO))}static avc1(e){let t=[],n=[],r,i,a;for(r=0;r<e.sps.length;r++)i=e.sps[r],a=i.byteLength,t.push(a>>>8&255),t.push(a&255),t=t.concat(Array.prototype.slice.call(i));for(r=0;r<e.pps.length;r++)i=e.pps[r],a=i.byteLength,n.push(a>>>8&255),n.push(a&255),n=n.concat(Array.prototype.slice.call(i));const u=Je.box(Je.types.avcC,new Uint8Array([1,t[3],t[4],t[5],255,224|e.sps.length].concat(t).concat([e.pps.length]).concat(n))),h=e.width,c=e.height,S=e.pixelRatio[0],E=e.pixelRatio[1];return Je.box(Je.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,h>>8&255,h&255,c>>8&255,c&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]),u,Je.box(Je.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Je.box(Je.types.pasp,new Uint8Array([S>>24,S>>16&255,S>>8&255,S&255,E>>24,E>>16&255,E>>8&255,E&255])))}static esds(e){const t=e.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,...t,6,1,2])}static audioStsd(e){const t=e.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount||0,0,16,0,0,0,0,t>>8&255,t&255,0,0])}static mp4a(e){return Je.box(Je.types.mp4a,Je.audioStsd(e),Je.box(Je.types.esds,Je.esds(e)))}static mp3(e){return Je.box(Je.types[".mp3"],Je.audioStsd(e))}static ac3(e){return Je.box(Je.types["ac-3"],Je.audioStsd(e),Je.box(Je.types.dac3,e.config))}static stsd(e){const{segmentCodec:t}=e;if(e.type==="audio"){if(t==="aac")return Je.box(Je.types.stsd,Je.STSD,Je.mp4a(e));if(t==="ac3"&&e.config)return Je.box(Je.types.stsd,Je.STSD,Je.ac3(e));if(t==="mp3"&&e.codec==="mp3")return Je.box(Je.types.stsd,Je.STSD,Je.mp3(e))}else if(e.pps&&e.sps){if(t==="avc")return Je.box(Je.types.stsd,Je.STSD,Je.avc1(e));if(t==="hevc"&&e.vps)return Je.box(Je.types.stsd,Je.STSD,Je.hvc1(e))}else throw new Error("video track missing pps or sps");throw new Error(`unsupported ${e.type} segment codec (${t}/${e.codec})`)}static tkhd(e){const t=e.id,n=(e.duration||0)*(e.timescale||0),r=e.width||0,i=e.height||0,a=Math.floor(n/(en+1)),u=Math.floor(n%(en+1));return Je.box(Je.types.tkhd,new Uint8Array([1,0,0,7,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,0,0,0,0,a>>24,a>>16&255,a>>8&255,a&255,u>>24,u>>16&255,u>>8&255,u&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,r>>8&255,r&255,0,0,i>>8&255,i&255,0,0]))}static traf(e,t){const n=Je.sdtp(e),r=e.id,i=Math.floor(t/(en+1)),a=Math.floor(t%(en+1));return Je.box(Je.types.traf,Je.box(Je.types.tfhd,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,r&255])),Je.box(Je.types.tfdt,new Uint8Array([1,0,0,0,i>>24,i>>16&255,i>>8&255,i&255,a>>24,a>>16&255,a>>8&255,a&255])),Je.trun(e,n.length+16+20+8+16+8+8),n)}static trak(e){return e.duration=e.duration||4294967295,Je.box(Je.types.trak,Je.tkhd(e),Je.mdia(e))}static trex(e){const t=e.id;return Je.box(Je.types.trex,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,t&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))}static trun(e,t){const n=e.samples||[],r=n.length,i=12+16*r,a=new Uint8Array(i);let u,h,c,S,E,z;for(t+=8+i,a.set([e.type==="video"?1:0,0,15,1,r>>>24&255,r>>>16&255,r>>>8&255,r&255,t>>>24&255,t>>>16&255,t>>>8&255,t&255],0),u=0;u<r;u++)h=n[u],c=h.duration,S=h.size,E=h.flags,z=h.cts,a.set([c>>>24&255,c>>>16&255,c>>>8&255,c&255,S>>>24&255,S>>>16&255,S>>>8&255,S&255,E.isLeading<<2|E.dependsOn,E.isDependedOn<<6|E.hasRedundancy<<4|E.paddingValue<<1|E.isNonSync,E.degradPrio&61440,E.degradPrio&15,z>>>24&255,z>>>16&255,z>>>8&255,z&255],12+16*u);return Je.box(Je.types.trun,a)}static initSegment(e){Je.types||Je.init();const t=Je.moov(e);return Ze(Je.FTYP,t)}static hvc1(e){const t=e.params,n=[e.vps,e.sps,e.pps],r=4,i=new Uint8Array([1,t.general_profile_space<<6|(t.general_tier_flag?32:0)|t.general_profile_idc,t.general_profile_compatibility_flags[0],t.general_profile_compatibility_flags[1],t.general_profile_compatibility_flags[2],t.general_profile_compatibility_flags[3],t.general_constraint_indicator_flags[0],t.general_constraint_indicator_flags[1],t.general_constraint_indicator_flags[2],t.general_constraint_indicator_flags[3],t.general_constraint_indicator_flags[4],t.general_constraint_indicator_flags[5],t.general_level_idc,240|t.min_spatial_segmentation_idc>>8,255&t.min_spatial_segmentation_idc,252|t.parallelismType,252|t.chroma_format_idc,248|t.bit_depth_luma_minus8,248|t.bit_depth_chroma_minus8,0,parseInt(t.frame_rate.fps),r-1|t.temporal_id_nested<<2|t.num_temporal_layers<<3|(t.frame_rate.fixed?64:0),n.length]);let a=i.length;for(let ee=0;ee<n.length;ee+=1){a+=3;for(let De=0;De<n[ee].length;De+=1)a+=2+n[ee][De].length}const u=new Uint8Array(a);u.set(i,0),a=i.length;const h=n.length-1;for(let ee=0;ee<n.length;ee+=1){u.set(new Uint8Array([32+ee|(ee===h?128:0),0,n[ee].length]),a),a+=3;for(let De=0;De<n[ee].length;De+=1)u.set(new Uint8Array([n[ee][De].length>>8,n[ee][De].length&255]),a),a+=2,u.set(n[ee][De],a),a+=n[ee][De].length}const c=Je.box(Je.types.hvcC,u),S=e.width,E=e.height,z=e.pixelRatio[0],te=e.pixelRatio[1];return Je.box(Je.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,S>>8&255,S&255,E>>8&255,E&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]),c,Je.box(Je.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Je.box(Je.types.pasp,new Uint8Array([z>>24,z>>16&255,z>>8&255,z&255,te>>24,te>>16&255,te>>8&255,te&255])))}}Je.types=void 0,Je.HDLR_TYPES=void 0,Je.STTS=void 0,Je.STSC=void 0,Je.STCO=void 0,Je.STSZ=void 0,Je.VMHD=void 0,Je.SMHD=void 0,Je.STSD=void 0,Je.FTYP=void 0,Je.DINF=void 0;const xn=9e4;function Fn(s,e,t=1,n=!1){const r=s*e*t;return n?Math.round(r):r}function cr(s,e,t=1,n=!1){return Fn(s,e,1/t,n)}function Pn(s,e=!1){return Fn(s,1e3,1/xn,e)}function dr(s,e=1){return Fn(s,xn,1/e)}const Tr=10*1e3,Rr=1024,fi=1152,hi=1536;let ki=null,ci=null;function pi(s,e,t,n){return{duration:e,size:t,cts:n,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:s?2:1,isNonSync:s?0:1}}}class yi{constructor(e,t,n,r){if(this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.logger=r,this.ISGenerated=!1,ki===null){const a=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);ki=a?parseInt(a[1]):0}if(ci===null){const i=navigator.userAgent.match(/Safari\/(\d+)/i);ci=i?parseInt(i[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(e){this.logger.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=e}resetNextTimestamp(){this.logger.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.logger.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(e){let t=!1;const n=e[0].pts,r=e.reduce((i,a)=>{let u=a.pts,h=u-i;return h<-4294967296&&(t=!0,u=Di(u,n),h=u-i),h>0?i:u},n);return t&&this.logger.debug("PTS rollover detected"),r}remux(e,t,n,r,i,a,u,h){let c,S,E,z,te,ee,De=i,Ne=i;const tt=e.pid>-1,St=t.pid>-1,ct=t.samples.length,zt=e.samples.length>0,Vt=u&&ct>0||ct>1;if((!tt||zt)&&(!St||Vt)||this.ISGenerated||u){if(this.ISGenerated){var $t,un,wn,Jt;const Xr=this.videoTrackConfig;(Xr&&(t.width!==Xr.width||t.height!==Xr.height||(($t=t.pixelRatio)==null?void 0:$t[0])!==((un=Xr.pixelRatio)==null?void 0:un[0])||((wn=t.pixelRatio)==null?void 0:wn[1])!==((Jt=Xr.pixelRatio)==null?void 0:Jt[1]))||!Xr&&Vt||this.nextAudioPts===null&&zt)&&this.resetInitSegment()}this.ISGenerated||(E=this.generateIS(e,t,i,a));const $n=this.isVideoContiguous;let yr=-1,wi;if(Vt&&(yr=ya(t.samples),!$n&&this.config.forceKeyFrameOnDiscontinuity))if(ee=!0,yr>0){this.logger.warn(`[mp4-remuxer]: Dropped ${yr} out of ${ct} video samples due to a missing keyframe`);const Xr=this.getVideoStartPts(t.samples);t.samples=t.samples.slice(yr),t.dropped+=yr,Ne+=(t.samples[0].pts-Xr)/t.inputTimeScale,wi=Ne}else yr===-1&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${ct} video samples`),ee=!1);if(this.ISGenerated){if(zt&&Vt){const Xr=this.getVideoStartPts(t.samples),Ir=(Di(e.samples[0].pts,Xr)-Xr)/t.inputTimeScale;De+=Math.max(0,Ir),Ne+=Math.max(0,-Ir)}if(zt){if(e.samplerate||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),E=this.generateIS(e,t,i,a)),S=this.remuxAudio(e,De,this.isAudioContiguous,a,St||Vt||h===he.AUDIO?Ne:void 0),Vt){const Xr=S?S.endPTS-S.startPTS:0;t.inputTimeScale||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),E=this.generateIS(e,t,i,a)),c=this.remuxVideo(t,Ne,$n,Xr)}}else Vt&&(c=this.remuxVideo(t,Ne,$n,0));c&&(c.firstKeyFrame=yr,c.independent=yr!==-1,c.firstKeyFramePTS=wi)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(n.samples.length&&(te=Gr(n,i,this._initPTS,this._initDTS)),r.samples.length&&(z=si(r,i,this._initPTS))),{audio:S,video:c,initSegment:E,independent:ee,text:z,id3:te}}generateIS(e,t,n,r){const i=e.samples,a=t.samples,u=this.typeSupported,h={},c=this._initPTS;let S=!c||r,E="audio/mp4",z,te,ee;if(S&&(z=te=1/0),e.config&&i.length){switch(e.timescale=e.samplerate,e.segmentCodec){case"mp3":u.mpeg?(E="audio/mpeg",e.codec=""):u.mp3&&(e.codec="mp3");break;case"ac3":e.codec="ac-3";break}h.audio={id:"audio",container:E,codec:e.codec,initSegment:e.segmentCodec==="mp3"&&u.mpeg?new Uint8Array(0):Je.initSegment([e]),metadata:{channelCount:e.channelCount}},S&&(ee=e.inputTimeScale,!c||ee!==c.timescale?z=te=i[0].pts-Math.round(ee*n):S=!1)}if(t.sps&&t.pps&&a.length){if(t.timescale=t.inputTimeScale,h.video={id:"main",container:"video/mp4",codec:t.codec,initSegment:Je.initSegment([t]),metadata:{width:t.width,height:t.height}},S)if(ee=t.inputTimeScale,!c||ee!==c.timescale){const De=this.getVideoStartPts(a),Ne=Math.round(ee*n);te=Math.min(te,Di(a[0].dts,De)-Ne),z=Math.min(z,De-Ne)}else S=!1;this.videoTrackConfig={width:t.width,height:t.height,pixelRatio:t.pixelRatio}}if(Object.keys(h).length)return this.ISGenerated=!0,S?(this._initPTS={baseTime:z,timescale:ee},this._initDTS={baseTime:te,timescale:ee}):z=ee=void 0,{tracks:h,initPTS:z,timescale:ee}}remuxVideo(e,t,n,r){const i=e.inputTimeScale,a=e.samples,u=[],h=a.length,c=this._initPTS;let S=this.nextAvcDts,E=8,z=this.videoSampleDuration,te,ee,De=Number.POSITIVE_INFINITY,Ne=Number.NEGATIVE_INFINITY,tt=!1;if(!n||S===null){const Zn=t*i,Xn=a[0].pts-Di(a[0].dts,a[0].pts);ki&&S!==null&&Math.abs(Zn-Xn-S)<15e3?n=!0:S=Zn-Xn}const St=c.baseTime*i/c.timescale;for(let Zn=0;Zn<h;Zn++){const Xn=a[Zn];Xn.pts=Di(Xn.pts-St,S),Xn.dts=Di(Xn.dts-St,S),Xn.dts<a[Zn>0?Zn-1:Zn].dts&&(tt=!0)}tt&&a.sort(function(Zn,Xn){const ui=Zn.dts-Xn.dts,ni=Zn.pts-Xn.pts;return ui||ni}),te=a[0].dts,ee=a[a.length-1].dts;const ct=ee-te,zt=ct?Math.round(ct/(h-1)):z||e.inputTimeScale/30;if(n){const Zn=te-S,Xn=Zn>zt,ui=Zn<-1;if((Xn||ui)&&(Xn?this.logger.warn(`${(e.segmentCodec||"").toUpperCase()}: ${Pn(Zn,!0)} ms (${Zn}dts) hole between fragments detected at ${t.toFixed(3)}`):this.logger.warn(`${(e.segmentCodec||"").toUpperCase()}: ${Pn(-Zn,!0)} ms (${Zn}dts) overlapping between fragments detected at ${t.toFixed(3)}`),!ui||S>=a[0].pts||ki)){te=S;const ni=a[0].pts-Zn;if(Xn)a[0].dts=te,a[0].pts=ni;else{let _i=!0;for(let Mi=0;Mi<a.length&&!(a[Mi].dts>ni&&_i);Mi++){const Zi=a[Mi].pts;if(a[Mi].dts-=Zn,a[Mi].pts-=Zn,Mi<a.length-1){const na=a[Mi+1].pts,Ga=a[Mi].pts,Za=na<=Ga,Qs=na<=Zi;_i=Za==Qs}}}this.logger.log(`Video: Initial PTS/DTS adjusted: ${Pn(ni,!0)}/${Pn(te,!0)}, delta: ${Pn(Zn,!0)} ms`)}}te=Math.max(0,te);let Vt=0,pn=0,$t=te;for(let Zn=0;Zn<h;Zn++){const Xn=a[Zn],ui=Xn.units,ni=ui.length;let _i=0;for(let Mi=0;Mi<ni;Mi++)_i+=ui[Mi].data.length;pn+=_i,Vt+=ni,Xn.length=_i,Xn.dts<$t?(Xn.dts=$t,$t+=zt/4|0||1):$t=Xn.dts,De=Math.min(Xn.pts,De),Ne=Math.max(Xn.pts,Ne)}ee=a[h-1].dts;const un=pn+4*Vt+8;let wn;try{wn=new Uint8Array(un)}catch(Zn){this.observer.emit(m.ERROR,m.ERROR,{type:ge.MUX_ERROR,details:F.REMUX_ALLOC_ERROR,fatal:!1,error:Zn,bytes:un,reason:`fail allocating video mdat ${un}`});return}const Jt=new DataView(wn.buffer);Jt.setUint32(0,un),wn.set(Je.types.mdat,4);let $n=!1,yr=Number.POSITIVE_INFINITY,wi=Number.POSITIVE_INFINITY,Xr=Number.NEGATIVE_INFINITY,jr=Number.NEGATIVE_INFINITY;for(let Zn=0;Zn<h;Zn++){const Xn=a[Zn],ui=Xn.units;let ni=0;for(let Zi=0,na=ui.length;Zi<na;Zi++){const Ga=ui[Zi],Za=Ga.data,Qs=Ga.data.byteLength;Jt.setUint32(E,Qs),E+=4,wn.set(Za,E),E+=Qs,ni+=4+Qs}let _i;if(Zn<h-1)z=a[Zn+1].dts-Xn.dts,_i=a[Zn+1].pts-Xn.pts;else{const Zi=this.config,na=Zn>0?Xn.dts-a[Zn-1].dts:zt;if(_i=Zn>0?Xn.pts-a[Zn-1].pts:zt,Zi.stretchShortVideoTrack&&this.nextAudioPts!==null){const Ga=Math.floor(Zi.maxBufferHole*i),Za=(r?De+r*i:this.nextAudioPts)-Xn.pts;Za>Ga?(z=Za-na,z<0?z=na:$n=!0,this.logger.log(`[mp4-remuxer]: It is approximately ${Za/90} ms to the next segment; using duration ${z/90} ms for the last video frame.`)):z=na}else z=na}const Mi=Math.round(Xn.pts-Xn.dts);yr=Math.min(yr,z),Xr=Math.max(Xr,z),wi=Math.min(wi,_i),jr=Math.max(jr,_i),u.push(pi(Xn.key,z,ni,Mi))}if(u.length){if(ki){if(ki<70){const Zn=u[0].flags;Zn.dependsOn=2,Zn.isNonSync=0}}else if(ci&&jr-wi<Xr-yr&&zt/Xr<.025&&u[0].cts===0){this.logger.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let Zn=te;for(let Xn=0,ui=u.length;Xn<ui;Xn++){const ni=Zn+u[Xn].duration,_i=Zn+u[Xn].cts;if(Xn<ui-1){const Mi=ni+u[Xn+1].cts;u[Xn].duration=Mi-_i}else u[Xn].duration=Xn?u[Xn-1].duration:zt;u[Xn].cts=0,Zn=ni}}}z=$n||!z?zt:z,this.nextAvcDts=S=ee+z,this.videoSampleDuration=z,this.isVideoContiguous=!0;const Kr={data1:Je.moof(e.sequenceNumber++,te,y(e,{samples:u})),data2:wn,startPTS:De/i,endPTS:(Ne+z)/i,startDTS:te/i,endDTS:S/i,type:"video",hasAudio:!1,hasVideo:!0,nb:u.length,dropped:e.dropped};return e.samples=[],e.dropped=0,Kr}getSamplesPerFrame(e){switch(e.segmentCodec){case"mp3":return fi;case"ac3":return hi;default:return Rr}}remuxAudio(e,t,n,r,i){const a=e.inputTimeScale,u=e.samplerate?e.samplerate:a,h=a/u,c=this.getSamplesPerFrame(e),S=c*h,E=this._initPTS,z=e.segmentCodec==="mp3"&&this.typeSupported.mpeg,te=[],ee=i!==void 0;let De=e.samples,Ne=z?0:8,tt=this.nextAudioPts||-1;const St=t*a,ct=E.baseTime*a/E.timescale;if(this.isAudioContiguous=n=n||De.length&&tt>0&&(r&&Math.abs(St-tt)<9e3||Math.abs(Di(De[0].pts-ct,St)-tt)<20*S),De.forEach(function(Ir){Ir.pts=Di(Ir.pts-ct,St)}),!n||tt<0){if(De=De.filter(Ir=>Ir.pts>=0),!De.length)return;i===0?tt=0:r&&!ee?tt=Math.max(0,St):tt=De[0].pts}if(e.segmentCodec==="aac"){const Ir=this.config.maxAudioFramesDrift;for(let Wr=0,Kr=tt;Wr<De.length;Wr++){const Zn=De[Wr],Xn=Zn.pts,ui=Xn-Kr,ni=Math.abs(1e3*ui/a);if(ui<=-Ir*S&&ee)Wr===0&&(this.logger.warn(`Audio frame @ ${(Xn/a).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*ui/a)} ms.`),this.nextAudioPts=tt=Kr=Xn);else if(ui>=Ir*S&&ni<Tr&&ee){let _i=Math.round(ui/S);Kr=Xn-_i*S,Kr<0&&(_i--,Kr+=S),Wr===0&&(this.nextAudioPts=tt=Kr),this.logger.warn(`[mp4-remuxer]: Injecting ${_i} audio frame @ ${(Kr/a).toFixed(3)}s due to ${Math.round(1e3*ui/a)} ms gap.`);for(let Mi=0;Mi<_i;Mi++){const Zi=Math.max(Kr,0);let na=Cn.getSilentFrame(e.parsedCodec||e.manifestCodec||e.codec,e.channelCount);na||(this.logger.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),na=Zn.unit.subarray()),De.splice(Wr,0,{unit:na,pts:Zi}),Kr+=S,Wr++}}Zn.pts=Kr,Kr+=S}}let zt=null,Vt=null,pn,$t=0,un=De.length;for(;un--;)$t+=De[un].unit.byteLength;for(let Ir=0,Wr=De.length;Ir<Wr;Ir++){const Kr=De[Ir],Zn=Kr.unit;let Xn=Kr.pts;if(Vt!==null){const ni=te[Ir-1];ni.duration=Math.round((Xn-Vt)/h)}else if(n&&e.segmentCodec==="aac"&&(Xn=tt),zt=Xn,$t>0){$t+=Ne;try{pn=new Uint8Array($t)}catch(ni){this.observer.emit(m.ERROR,m.ERROR,{type:ge.MUX_ERROR,details:F.REMUX_ALLOC_ERROR,fatal:!1,error:ni,bytes:$t,reason:`fail allocating audio mdat ${$t}`});return}z||(new DataView(pn.buffer).setUint32(0,$t),pn.set(Je.types.mdat,4))}else return;pn.set(Zn,Ne);const ui=Zn.byteLength;Ne+=ui,te.push(pi(!0,c,ui,0)),Vt=Xn}const wn=te.length;if(!wn)return;const Jt=te[te.length-1];this.nextAudioPts=tt=Vt+h*Jt.duration;const $n=z?new Uint8Array(0):Je.moof(e.sequenceNumber++,zt/h,y({},e,{samples:te}));e.samples=[];const yr=zt/a,wi=tt/a,jr={data1:$n,data2:pn,startPTS:yr,endPTS:wi,startDTS:yr,endDTS:wi,type:"audio",hasAudio:!0,hasVideo:!1,nb:wn};return this.isAudioContiguous=!0,jr}}function Di(s,e){let t;if(e===null)return s;for(e<s?t=-8589934592:t=8589934592;Math.abs(s-e)>4294967296;)s+=t;return s}function ya(s){for(let e=0;e<s.length;e++)if(s[e].key)return e;return-1}function Gr(s,e,t,n){const r=s.samples.length;if(!r)return;const i=s.inputTimeScale;for(let u=0;u<r;u++){const h=s.samples[u];h.pts=Di(h.pts-t.baseTime*i/t.timescale,e*i)/i,h.dts=Di(h.dts-n.baseTime*i/n.timescale,e*i)/i}const a=s.samples;return s.samples=[],{samples:a}}function si(s,e,t){const n=s.samples.length;if(!n)return;const r=s.inputTimeScale;for(let a=0;a<n;a++){const u=s.samples[a];u.pts=Di(u.pts-t.baseTime*r/t.timescale,e*r)/r}s.samples.sort((a,u)=>a.pts-u.pts);const i=s.samples;return s.samples=[],{samples:i}}class Ei{constructor(e,t,n,r){this.logger=void 0,this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.logger=r}destroy(){}resetTimeStamp(e){this.initPTS=e,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(e,t,n,r){this.audioCodec=t,this.videoCodec=n,this.generateInitSegment($(e,r)),this.emitInitSegment=!0}generateInitSegment(e){let{audioCodec:t,videoCodec:n}=this;if(!(e!=null&&e.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const r=this.initData=U(e);r.audio&&(t=Xi(r.audio,_.AUDIO)),r.video&&(n=Xi(r.video,_.VIDEO));const i={};r.audio&&r.video?i.audiovideo={container:"video/mp4",codec:t+","+n,supplemental:r.video.supplemental,initSegment:e,id:"main"}:r.audio?i.audio={container:"audio/mp4",codec:t,initSegment:e,id:"audio"}:r.video?i.video={container:"video/mp4",codec:n,supplemental:r.video.supplemental,initSegment:e,id:"main"}:this.logger.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=i}remux(e,t,n,r,i,a){var u,h;let{initPTS:c,lastEndTime:S}=this;const E={audio:void 0,video:void 0,text:r,id3:n,initSegment:void 0};g(S)||(S=this.lastEndTime=i||0);const z=t.samples;if(!(z!=null&&z.length))return E;const te={initPTS:void 0,timescale:1};let ee=this.initData;if((u=ee)!=null&&u.length||(this.generateInitSegment(z),ee=this.initData),!((h=ee)!=null&&h.length))return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),E;this.emitInitSegment&&(te.tracks=this.initTracks,this.emitInitSegment=!1);const De=He(z,ee),Ne=Te(ee,z),tt=Ne===null?i:Ne;(a||!c)&&(Ji(c,tt,i,De)||te.timescale!==c.timescale)&&(te.initPTS=tt-i,c&&c.timescale===1&&this.logger.warn(`Adjusting initPTS @${i} from ${c.baseTime/c.timescale} to ${te.initPTS}`),this.initPTS=c={baseTime:te.initPTS,timescale:1});const St=e?tt-c.baseTime/c.timescale:S,ct=St+De;Fe(ee,z,c.baseTime/c.timescale),De>0?this.lastEndTime=ct:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const zt=!!ee.audio,Vt=!!ee.video;let pn="";zt&&(pn+="audio"),Vt&&(pn+="video");const $t={data1:z,startPTS:St,startDTS:St,endPTS:ct,endDTS:ct,type:pn,hasAudio:zt,hasVideo:Vt,nb:1,dropped:0};return E.audio=$t.type==="audio"?$t:void 0,E.video=$t.type!=="audio"?$t:void 0,E.initSegment=te,E.id3=Gr(n,i,c,c),r.samples.length&&(E.text=si(r,i,c)),E}}function Ji(s,e,t,n){if(s===null)return!0;const r=Math.max(n,1),i=e-s.baseTime/s.timescale;return Math.abs(i-t)>r}function Xi(s,e){const t=s==null?void 0:s.codec;return t&&t.length>4?t:e===_.AUDIO?t==="ec-3"||t==="ac-3"||t==="alac"?t:t==="fLaC"||t==="Opus"?Ge(t,!1):(j.warn(`Unhandled audio codec "${t}" in mp4 MAP`),t||"mp4a"):(j.warn(`Unhandled video codec "${t}" in mp4 MAP`),t||"avc1")}let Ur;try{Ur=self.performance.now.bind(self.performance)}catch(s){Ur=Date.now}const qi=[{demux:Nr,remux:Ei},{demux:ue,remux:yi},{demux:Vr,remux:yi},{demux:Wn,remux:yi}];qi.splice(2,0,{demux:Sr,remux:yi});class ea{constructor(e,t,n,r,i,a){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=e,this.typeSupported=t,this.config=n,this.id=i,this.logger=a}configure(e){this.transmuxConfig=e,this.decrypter&&this.decrypter.reset()}push(e,t,n,r){const i=n.transmuxing;i.executeStart=Ur();let a=new Uint8Array(e);const{currentTransmuxState:u,transmuxConfig:h}=this;r&&(this.currentTransmuxState=r);const{contiguous:c,discontinuity:S,trackSwitch:E,accurateTimeOffset:z,timeOffset:te,initSegmentChange:ee}=r||u,{audioCodec:De,videoCodec:Ne,defaultInitPts:tt,duration:St,initSegmentData:ct}=h,zt=ba(a,t);if(zt&&xr(zt.method)){const un=this.getDecrypter(),wn=ur(zt.method);if(un.isSync()){let Jt=un.softwareDecrypt(a,zt.key.buffer,zt.iv.buffer,wn);if(n.part>-1){const yr=un.flush();Jt=yr&&yr.buffer}if(!Jt)return i.executeEnd=Ur(),Ia(n);a=new Uint8Array(Jt)}else return this.asyncResult=!0,this.decryptionPromise=un.webCryptoDecrypt(a,zt.key.buffer,zt.iv.buffer,wn).then(Jt=>{const $n=this.push(Jt,null,n);return this.decryptionPromise=null,$n}),this.decryptionPromise}const Vt=this.needsProbing(S,E);if(Vt){const un=this.configureTransmuxer(a);if(un)return this.logger.warn(`[transmuxer] ${un.message}`),this.observer.emit(m.ERROR,m.ERROR,{type:ge.MEDIA_ERROR,details:F.FRAG_PARSING_ERROR,fatal:!1,error:un,reason:un.message}),i.executeEnd=Ur(),Ia(n)}(S||E||ee||Vt)&&this.resetInitSegment(ct,De,Ne,St,t),(S||ee||Vt)&&this.resetInitialTimestamp(tt),c||this.resetContiguity();const pn=this.transmux(a,zt,te,z,n);this.asyncResult=Fa(pn);const $t=this.currentTransmuxState;return $t.contiguous=!0,$t.discontinuity=!1,$t.trackSwitch=!1,i.executeEnd=Ur(),pn}flush(e){const t=e.transmuxing;t.executeStart=Ur();const{decrypter:n,currentTransmuxState:r,decryptionPromise:i}=this;if(i)return this.asyncResult=!0,i.then(()=>this.flush(e));const a=[],{timeOffset:u}=r;if(n){const E=n.flush();E&&a.push(this.push(E.buffer,null,e))}const{demuxer:h,remuxer:c}=this;if(!h||!c){t.executeEnd=Ur();const E=[Ia(e)];return this.asyncResult?Promise.resolve(E):E}const S=h.flush(u);return Fa(S)?(this.asyncResult=!0,S.then(E=>(this.flushRemux(a,E,e),a))):(this.flushRemux(a,S,e),this.asyncResult?Promise.resolve(a):a)}flushRemux(e,t,n){const{audioTrack:r,videoTrack:i,id3Track:a,textTrack:u}=t,{accurateTimeOffset:h,timeOffset:c}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${n.sn}${n.part>-1?" part: "+n.part:""} of ${this.id===he.MAIN?"level":"track"} ${n.level}`);const S=this.remuxer.remux(r,i,a,u,c,h,!0,this.id);e.push({remuxResult:S,chunkMeta:n}),n.transmuxing.executeEnd=Ur()}resetInitialTimestamp(e){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetTimeStamp(e),n.resetTimeStamp(e))}resetContiguity(){const{demuxer:e,remuxer:t}=this;!e||!t||(e.resetContiguity(),t.resetNextTimestamp())}resetInitSegment(e,t,n,r,i){const{demuxer:a,remuxer:u}=this;!a||!u||(a.resetInitSegment(e,t,n,r),u.resetInitSegment(e,t,n,i))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(e,t,n,r,i){let a;return t&&t.method==="SAMPLE-AES"?a=this.transmuxSampleAes(e,t,n,r,i):a=this.transmuxUnencrypted(e,n,r,i),a}transmuxUnencrypted(e,t,n,r){const{audioTrack:i,videoTrack:a,id3Track:u,textTrack:h}=this.demuxer.demux(e,t,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(i,a,u,h,t,n,!1,this.id),chunkMeta:r}}transmuxSampleAes(e,t,n,r,i){return this.demuxer.demuxSampleAes(e,t,n).then(a=>({remuxResult:this.remuxer.remux(a.audioTrack,a.videoTrack,a.id3Track,a.textTrack,n,r,!1,this.id),chunkMeta:i}))}configureTransmuxer(e){const{config:t,observer:n,typeSupported:r}=this;let i;for(let E=0,z=qi.length;E<z;E++){var a;if((a=qi[E].demux)!=null&&a.probe(e,this.logger)){i=qi[E];break}}if(!i)return new Error("Failed to find demuxer by probing fragment data");const u=this.demuxer,h=this.remuxer,c=i.remux,S=i.demux;(!h||!(h instanceof c))&&(this.remuxer=new c(n,t,r,this.logger)),(!u||!(u instanceof S))&&(this.demuxer=new S(n,t,r,this.logger),this.probe=S.probe)}needsProbing(e,t){return!this.demuxer||!this.remuxer||e||t}getDecrypter(){let e=this.decrypter;return e||(e=this.decrypter=new Ii(this.config)),e}}function ba(s,e){let t=null;return s.byteLength>0&&(e==null?void 0:e.key)!=null&&e.iv!==null&&e.method!=null&&(t=e),t}const Ia=s=>({remuxResult:{},chunkMeta:s});function Fa(s){return"then"in s&&s.then instanceof Function}class Bs{constructor(e,t,n,r,i){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=e,this.videoCodec=t,this.initSegmentData=n,this.duration=r,this.defaultInitPts=i||null}}class rs{constructor(e,t,n,r,i,a){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=e,this.contiguous=t,this.accurateTimeOffset=n,this.trackSwitch=r,this.timeOffset=i,this.initSegmentChange=a}}let La=0;class Sa{constructor(e,t,n,r){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=La++,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0,this.onWorkerMessage=h=>{const c=h.data,S=this.hls;if(!(!S||!(c!=null&&c.event)||c.instanceNo!==this.instanceNo))switch(c.event){case"init":{var E;const z=(E=this.workerContext)==null?void 0:E.objectURL;z&&self.URL.revokeObjectURL(z);break}case"transmuxComplete":{this.handleTransmuxComplete(c.data);break}case"flush":{this.onFlush(c.data);break}case"workerLog":{S.logger[c.data.logType]&&S.logger[c.data.logType](c.data.message);break}default:{c.data=c.data||{},c.data.frag=this.frag,c.data.part=this.part,c.data.id=this.id,S.trigger(c.event,c.data);break}}},this.onWorkerError=h=>{if(!this.hls)return;const c=new Error(`${h.message} (${h.filename}:${h.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(m.ERROR,{type:ge.OTHER_ERROR,details:F.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:c})};const i=e.config;this.hls=e,this.id=t,this.useWorker=!!i.enableWorker,this.onTransmuxComplete=n,this.onFlush=r;const a=(h,c)=>{c=c||{},c.frag=this.frag||void 0,h===m.ERROR&&(c=c,c.parent=this.id,c.part=this.part,this.error=c.error),this.hls.trigger(h,c)};this.observer=new Js,this.observer.on(m.FRAG_DECRYPTED,a),this.observer.on(m.ERROR,a);const u=It(i.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const h=this.hls.logger;if(i.workerPath||uo()){try{i.workerPath?(h.log(`loading Web Worker ${i.workerPath} for "${t}"`),this.workerContext=Lo(i.workerPath)):(h.log(`injecting Web Worker for "${t}"`),this.workerContext=co());const{worker:S}=this.workerContext;S.addEventListener("message",this.onWorkerMessage),S.addEventListener("error",this.onWorkerError),S.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:u,id:t,config:fn(i)})}catch(S){h.warn(`Error setting up "${t}" Web Worker, fallback to inline`,S),this.terminateWorker(),this.error=null,this.transmuxer=new ea(this.observer,u,i,"",t,e.logger)}return}}this.transmuxer=new ea(this.observer,u,i,"",t,e.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const e=this.instanceNo;this.instanceNo=La++;const t=this.hls.config,n=It(t.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:e,typeSupported:n,id:this.id,config:fn(t)})}}terminateWorker(){if(this.workerContext){const{worker:e}=this.workerContext;this.workerContext=null,e.removeEventListener("message",this.onWorkerMessage),e.removeEventListener("error",this.onWorkerError),fo(this.hls.config.workerPath)}}destroy(){if(this.workerContext)this.terminateWorker(),this.onWorkerMessage=this.onWorkerError=null;else{const t=this.transmuxer;t&&(t.destroy(),this.transmuxer=null)}const e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.part=null,this.observer=null,this.hls=null}push(e,t,n,r,i,a,u,h,c,S){var E,z;c.transmuxing.start=self.performance.now();const{instanceNo:te,transmuxer:ee}=this,De=a?a.start:i.start,Ne=i.decryptdata,tt=this.frag,St=!(tt&&i.cc===tt.cc),ct=!(tt&&c.level===tt.level),zt=tt?c.sn-tt.sn:-1,Vt=this.part?c.part-this.part.index:-1,pn=zt===0&&c.id>1&&c.id===(tt==null?void 0:tt.stats.chunkCount),$t=!ct&&(zt===1||zt===0&&(Vt===1||pn&&Vt<=0)),un=self.performance.now();(ct||zt||i.stats.parsing.start===0)&&(i.stats.parsing.start=un),a&&(Vt||!$t)&&(a.stats.parsing.start=un);const wn=!(tt&&((E=i.initSegment)==null?void 0:E.url)===((z=tt.initSegment)==null?void 0:z.url)),Jt=new rs(St,$t,h,ct,De,wn);if(!$t||St||wn){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${i.type} sn: ${c.sn}${c.part>-1?" part: "+c.part:""} ${this.id===he.MAIN?"level":"track"}: ${c.level} id: ${c.id}
discontinuity: ${St}
trackSwitch: ${ct}
contiguous: ${$t}
accurateTimeOffset: ${h}
timeOffset: ${De}
initSegmentChange: ${wn}`);const $n=new Bs(n,r,t,u,S);this.configureTransmuxer($n)}if(this.frag=i,this.part=a,this.workerContext)this.workerContext.worker.postMessage({instanceNo:te,cmd:"demux",data:e,decryptdata:Ne,chunkMeta:c,state:Jt},e instanceof ArrayBuffer?[e]:[]);else if(ee){const $n=ee.push(e,Ne,c,Jt);Fa($n)?$n.then(yr=>{this.handleTransmuxComplete(yr)}).catch(yr=>{this.transmuxerError(yr,c,"transmuxer-interface push error")}):this.handleTransmuxComplete($n)}}flush(e){e.transmuxing.start=self.performance.now();const{instanceNo:t,transmuxer:n}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:t,cmd:"flush",chunkMeta:e});else if(n){const r=n.flush(e);Fa(r)?r.then(i=>{this.handleFlushResult(i,e)}).catch(i=>{this.transmuxerError(i,e,"transmuxer-interface flush error")}):this.handleFlushResult(r,e)}}transmuxerError(e,t,n){this.hls&&(this.error=e,this.hls.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.FRAG_PARSING_ERROR,chunkMeta:t,frag:this.frag||void 0,part:this.part||void 0,fatal:!1,error:e,err:e,reason:n}))}handleFlushResult(e,t){e.forEach(n=>{this.handleTransmuxComplete(n)}),this.onFlush(t)}configureTransmuxer(e){const{instanceNo:t,transmuxer:n}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:t,cmd:"configure",config:e}):n&&n.configure(e)}handleTransmuxComplete(e){e.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(e)}}const pa=100;class ta extends Va{constructor(e,t,n){super(e,t,n,"audio-stream-controller",he.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:e}=this;e.on(m.LEVEL_LOADED,this.onLevelLoaded,this),e.on(m.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.on(m.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(m.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(m.BUFFER_RESET,this.onBufferReset,this),e.on(m.BUFFER_CREATED,this.onBufferCreated,this),e.on(m.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(m.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(m.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(m.FRAG_LOADING,this.onFragLoading,this),e.on(m.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:e}=this;e&&(super.unregisterListeners(),e.off(m.LEVEL_LOADED,this.onLevelLoaded,this),e.off(m.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.off(m.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(m.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(m.BUFFER_RESET,this.onBufferReset,this),e.off(m.BUFFER_CREATED,this.onBufferCreated,this),e.off(m.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(m.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(m.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(m.FRAG_LOADING,this.onFragLoading,this),e.off(m.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i}){if(n===he.MAIN){const a=t.cc,u=this.fragCurrent;if(this.initPTS[a]={baseTime:r,timescale:i},this.log(`InitPTS for cc: ${a} found from main: ${r}/${i}`),this.mainAnchor=t,this.state===_n.WAITING_INIT_PTS){const h=this.waitingData;(!h&&!this.loadingParts||h&&h.frag.cc!==a)&&(this.nextLoadPosition=this.findSyncFrag(t).start),this.tick()}else!this.hls.hasEnoughToStart&&u&&u.cc!==a?(this.startFragRequested=!1,this.nextLoadPosition=this.findSyncFrag(t).start,u.abortRequests(),this.resetLoadingState()):this.state===_n.IDLE&&this.tick()}}findSyncFrag(e){const t=this.getLevelDetails(),n=e.cc;return ar(t,n,e)||t&&Dr(t.fragments,n)||e}startLoad(e,t){if(!this.levels){this.startPosition=e,this.state=_n.STOPPED;return}const n=this.lastCurrentTime;this.stopLoad(),this.setInterval(pa),n>0&&e===-1?(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n,this.state=_n.IDLE):this.state=_n.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}doTick(){switch(this.state){case _n.IDLE:this.doTickIdle();break;case _n.WAITING_TRACK:{const{levels:t,trackId:n}=this,r=t==null?void 0:t[n],i=r==null?void 0:r.details;if(i&&!this.waitForLive(r)){if(this.waitForCdnTuneIn(i))break;this.state=_n.WAITING_INIT_PTS}break}case _n.FRAG_LOADING_WAITING_RETRY:{var e;const t=performance.now(),n=this.retryDate;if(!n||t>=n||(e=this.media)!=null&&e.seeking){const{levels:r,trackId:i}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((r==null?void 0:r[i])||null),this.state=_n.IDLE}break}case _n.WAITING_INIT_PTS:{const t=this.waitingData;if(t){const{frag:n,part:r,cache:i,complete:a}=t,u=this.mainAnchor;if(this.initPTS[n.cc]!==void 0){this.waitingData=null,this.state=_n.FRAG_LOADING;const h=i.flush().buffer,c={frag:n,part:r,payload:h,networkDetails:null};this._handleFragmentLoadProgress(c),a&&super._handleFragmentLoadComplete(c)}else u&&u.cc!==t.frag.cc&&(this.log(`Waiting fragment cc (${n.cc}) cancelled because video is at cc ${u.cc}`),this.nextLoadPosition=this.findSyncFrag(u).start,this.clearWaitingFragment())}else this.state=_n.IDLE}}this.onTickEnd()}clearWaitingFragment(){const e=this.waitingData;e&&(this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.fragmentTracker.removeFragment(e.frag),this.waitingData=null,this.state!==_n.STOPPED&&(this.state=_n.IDLE))}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:e}=this;e!=null&&e.readyState&&(this.lastCurrentTime=e.currentTime)}doTickIdle(){var e;const{hls:t,levels:n,media:r,trackId:i}=this,a=t.config;if(!this.buffering||!r&&!this.primaryPrefetch&&(this.startFragRequested||!a.startFragPrefetch)||!(n!=null&&n[i]))return;const u=n[i],h=u.details;if(!h||this.waitForLive(u)||this.waitForCdnTuneIn(h)){this.state=_n.WAITING_TRACK,this.startFragRequested=!1;return}const c=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&c&&(this.bufferFlushed=!1,this.afterBufferFlushed(c,_.AUDIO,he.AUDIO));const S=this.getFwdBufferInfo(c,he.AUDIO);if(S===null)return;if(!this.switchingTrack&&this._streamEnded(S,h)){t.trigger(m.BUFFER_EOS,{type:"audio"}),this.state=_n.ENDED;return}const E=S.len,z=t.maxBufferLength,te=h.fragments,ee=te[0].start,De=this.getLoadPosition(),Ne=this.flushing?De:S.end;if(this.switchingTrack&&r){const ct=De;h.PTSKnown&&ct<ee&&(S.end>ee||S.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),r.currentTime=ee+.05)}if(E>=z&&!this.switchingTrack&&Ne<te[te.length-1].start)return;let tt=this.getNextFragment(Ne,h);if(tt&&this.isLoopLoading(tt,Ne)&&(tt=this.getNextFragmentLoopLoading(tt,h,S,he.MAIN,z)),!tt){this.bufferFlushed=!0;return}let St=((e=this.mainFragLoading)==null?void 0:e.frag)||null;if(!this.audioOnly&&this.startFragRequested&&St&&q(tt)&&!tt.endList&&(!h.live||!this.loadingParts&&Ne<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(St)===nr.OK&&(this.mainFragLoading=St=null),St&&q(St))){if(tt.start>St.end){const zt=this.fragmentTracker.getFragAtPos(Ne,he.MAIN);zt&&zt.end>St.end&&(St=zt,this.mainFragLoading={frag:zt,targetBufferTime:null})}if(tt.start>St.end)return}this.loadFragment(tt,u,Ne)}onMediaDetaching(e,t){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(e,t)}onAudioTracksUpdated(e,{audioTracks:t}){this.resetTransmuxer(),this.levels=t.map(n=>new An(n))}onAudioTrackSwitching(e,t){const n=!!t.url;this.trackId=t.id;const{fragCurrent:r}=this;r&&(r.abortRequests(),this.removeUnbufferedFrags(r.start)),this.resetLoadingState(),n?(this.switchingTrack=t,this.flushAudioIfNeeded(t),this.state!==_n.STOPPED&&(this.setInterval(pa),this.state=_n.IDLE,this.tick())):(this.resetTransmuxer(),this.switchingTrack=null,this.bufferedTrack=t,this.clearInterval())}onManifestLoading(){super.onManifestLoading(),this.bufferFlushed=this.flushing=this.audioOnly=!1,this.resetItem(),this.trackId=-1}onLevelLoaded(e,t){this.mainDetails=t.details;const n=this.cachedTrackLoadedData;n&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(m.AUDIO_TRACK_LOADED,n))}onAudioTrackLoaded(e,t){var n;const{levels:r}=this,{details:i,id:a,groupId:u,track:h}=t;if(!r){this.warn(`Audio tracks reset while loading track ${a} "${h.name}" of "${u}"`);return}const c=this.mainDetails;if(!c||i.endCC>c.endCC||c.expired){this.cachedTrackLoadedData=t,this.state!==_n.STOPPED&&(this.state=_n.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${a} "${h.name}" of "${u}" loaded [${i.startSN},${i.endSN}]${i.lastPartSn?`[part-${i.lastPartSn}-${i.lastPartIndex}]`:""},duration:${i.totalduration}`);const S=r[a];let E=0;if(i.live||(n=S.details)!=null&&n.live){if(this.checkLiveUpdate(i),i.deltaUpdateFailed)return;if(S.details){var z;E=this.alignPlaylists(i,S.details,(z=this.levelLastLoaded)==null?void 0:z.details)}i.alignedSliding||(xi(i,c),i.alignedSliding||ha(i,c),E=i.fragmentStart)}S.details=i,this.levelLastLoaded=S,this.startFragRequested||this.setStartPosition(c,E),this.hls.trigger(m.AUDIO_TRACK_UPDATED,{details:i,id:a,groupId:t.groupId}),this.state===_n.WAITING_TRACK&&!this.waitForCdnTuneIn(i)&&(this.state=_n.IDLE),this.tick()}_handleFragmentLoadProgress(e){var t;const n=e.frag,{part:r,payload:i}=e,{config:a,trackId:u,levels:h}=this;if(!h){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);return}const c=h[u];if(!c){this.warn("Audio track is undefined on fragment load progress");return}const S=c.details;if(!S){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(n.start);return}const E=a.defaultAudioCodec||c.audioCodec||"mp4a.40.2";let z=this.transmuxer;z||(z=this.transmuxer=new Sa(this.hls,he.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const te=this.initPTS[n.cc],ee=(t=n.initSegment)==null?void 0:t.data;if(te!==void 0){const Ne=r?r.index:-1,tt=Ne!==-1,St=new Ci(n.level,n.sn,n.stats.chunkCount,i.byteLength,Ne,tt);z.push(i,ee,E,"",n,r,S.totalduration,!1,St,te)}else{this.log(`Unknown video PTS for cc ${n.cc}, waiting for video PTS before demuxing audio frag ${n.sn} of [${S.startSN} ,${S.endSN}],track ${u}`);const{cache:De}=this.waitingData=this.waitingData||{frag:n,part:r,cache:new ks,complete:!1};De.push(new Uint8Array(i)),this.state!==_n.STOPPED&&(this.state=_n.WAITING_INIT_PTS)}}_handleFragmentLoadComplete(e){if(this.waitingData){this.waitingData.complete=!0;return}super._handleFragmentLoadComplete(e)}onBufferReset(){this.mediaBuffer=null}onBufferCreated(e,t){this.bufferFlushed=this.flushing=!1;const n=t.tracks.audio;n&&(this.mediaBuffer=n.buffer||null)}onFragLoading(e,t){!this.audioOnly&&t.frag.type===he.MAIN&&q(t.frag)&&(this.mainFragLoading=t,this.state===_n.IDLE&&this.tick())}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n.type!==he.AUDIO){!this.audioOnly&&n.type===he.MAIN&&!n.elementaryStreams.video&&!n.elementaryStreams.audiovideo&&(this.audioOnly=!0,this.mainFragLoading=null);return}if(this.fragContextChanged(n)){this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(q(n)){this.fragPrevious=n;const i=this.switchingTrack;i&&(this.bufferedTrack=i,this.switchingTrack=null,this.hls.trigger(m.AUDIO_TRACK_SWITCHED,A({},i)))}this.fragBufferedComplete(n,r),this.media&&this.tick()}onError(e,t){var n;if(t.fatal){this.state=_n.ERROR;return}switch(t.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(he.AUDIO,t);break;case F.AUDIO_TRACK_LOAD_ERROR:case F.AUDIO_TRACK_LOAD_TIMEOUT:case F.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===_n.WAITING_TRACK&&((n=t.context)==null?void 0:n.type)===w.AUDIO_TRACK&&(this.state=_n.IDLE);break;case F.BUFFER_ADD_CODEC_ERROR:case F.BUFFER_APPEND_ERROR:if(t.parent!=="audio")return;this.resetLoadingState();break;case F.BUFFER_FULL_ERROR:if(t.parent!=="audio")return;this.reduceLengthAndFlushBuffer(t)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case F.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}onBufferFlushing(e,{type:t}){t!==_.VIDEO&&(this.flushing=!0)}onBufferFlushed(e,{type:t}){if(t!==_.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===_n.ENDED&&(this.state=_n.IDLE);const n=this.mediaBuffer||this.media;n&&(this.afterBufferFlushed(n,t,he.AUDIO),this.tick())}}_handleTransmuxComplete(e){var t;const n="audio",{hls:r}=this,{remuxResult:i,chunkMeta:a}=e,u=this.getCurrentContext(a);if(!u){this.resetWhenMissingContext(a);return}const{frag:h,part:c,level:S}=u,{details:E}=S,{audio:z,text:te,id3:ee,initSegment:De}=i;if(this.fragContextChanged(h)||!E){this.fragmentTracker.removeFragment(h);return}if(this.state=_n.PARSING,this.switchingTrack&&z&&this.completeAudioSwitch(this.switchingTrack),De!=null&&De.tracks){const Ne=h.initSegment||h;this._bufferInitSegment(S,De.tracks,Ne,a),r.trigger(m.FRAG_PARSING_INIT_SEGMENT,{frag:Ne,id:n,tracks:De.tracks})}if(z){const{startPTS:Ne,endPTS:tt,startDTS:St,endDTS:ct}=z;c&&(c.elementaryStreams[_.AUDIO]={startPTS:Ne,endPTS:tt,startDTS:St,endDTS:ct}),h.setElementaryStreamInfo(_.AUDIO,Ne,tt,St,ct),this.bufferFragmentData(z,h,c,a)}if(ee!=null&&(t=ee.samples)!=null&&t.length){const Ne=y({id:n,frag:h,details:E},ee);r.trigger(m.FRAG_PARSING_METADATA,Ne)}if(te){const Ne=y({id:n,frag:h,details:E},te);r.trigger(m.FRAG_PARSING_USERDATA,Ne)}}_bufferInitSegment(e,t,n,r){if(this.state!==_n.PARSING||(t.video&&delete t.video,t.audiovideo&&delete t.audiovideo,!t.audio))return;const i=t.audio;i.id=he.AUDIO;const a=e.audioCodec;this.log(`Init audio buffer, container:${i.container}, codecs[level/parsed]=[${a}/${i.codec}]`),a&&a.split(",").length===1&&(i.levelCodec=a),this.hls.trigger(m.BUFFER_CODECS,t);const u=i.initSegment;if(u!=null&&u.byteLength){const h={type:"audio",frag:n,part:null,chunkMeta:r,parent:n.type,data:u};this.hls.trigger(m.BUFFER_APPENDING,h)}this.tickImmediate()}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);if(this.switchingTrack||r===nr.NOT_LOADED||r===nr.PARTIAL){var i;if(!q(e))this._loadInitSegment(e,t);else if((i=t.details)!=null&&i.live&&!this.initPTS[e.cc]){this.log(`Waiting for video PTS in continuity counter ${e.cc} of live stream before loading audio fragment ${e.sn} of level ${this.trackId}`),this.state=_n.WAITING_INIT_PTS;const a=this.mainDetails;a&&a.fragmentStart!==t.details.fragmentStart&&ha(t.details,a)}else super.loadFragment(e,t,n)}else this.clearTrackerIfNeeded(e)}flushAudioIfNeeded(e){if(this.media&&this.bufferedTrack){const{name:t,lang:n,assocLang:r,characteristics:i,audioCodec:a,channels:u}=this.bufferedTrack;jt({name:t,lang:n,assocLang:r,characteristics:i,audioCodec:a,channels:u},e,Gt)||(Ln(e.url,this.hls)?(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null):this.bufferedTrack=e)}}completeAudioSwitch(e){const{hls:t}=this;this.flushAudioIfNeeded(e),this.bufferedTrack=e,this.switchingTrack=null,t.trigger(m.AUDIO_TRACK_SWITCHED,A({},e))}}class Li extends pe{constructor(e,t){super(t,e.logger),this.hls=void 0,this.canLoad=!1,this.timer=-1,this.hls=e}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(e,t,n){const r=t==null?void 0:t.renditionReports;if(r){let i=-1;for(let a=0;a<r.length;a++){const u=r[a];let h;try{h=new self.URL(u.URI,t.url).href}catch(c){this.warn(`Could not construct new URL for Rendition Report: ${c}`),h=u.URI||""}if(h===e){i=a;break}else h===e.substring(0,h.length)&&(i=a)}if(i!==-1){const a=r[i],u=parseInt(a["LAST-MSN"])||(t==null?void 0:t.lastPartSn);let h=parseInt(a["LAST-PART"])||(t==null?void 0:t.lastPartIndex);if(this.hls.config.lowLatencyMode){const S=Math.min(t.age-t.partTarget,t.targetduration);h>=0&&S>t.partTarget&&(h+=1)}const c=n&&ln(n);return new mn(u,h>=0?h:void 0,c)}}}loadPlaylist(e){this.clearTimer()}loadingPlaylist(e,t){this.clearTimer()}shouldLoadPlaylist(e){return this.canLoad&&!!e&&!!e.url&&(!e.details||e.details.live)}getUrlWithDirectives(e,t){if(t)try{return t.addDirectives(e)}catch(n){this.warn(`Could not construct new URL with HLS Delivery Directives: ${n}`)}return e}playlistLoaded(e,t,n){const{details:r,stats:i}=t,a=self.performance.now(),u=i.loading.first?Math.max(0,a-i.loading.first):0;r.advancedDateTime=Date.now()-u;const h=this.hls.config.timelineOffset;if(h!==r.appliedTimelineOffset){const S=Math.max(h||0,0);r.appliedTimelineOffset=S,r.fragments.forEach(E=>{E.start=E.playlistOffset+S})}if(r.live||n!=null&&n.live){const S="levelInfo"in t?t.levelInfo:t.track;if(r.reloaded(n),n&&r.fragments.length>0){Aa(n,r);const St=r.playlistParsingError;if(St){this.warn(St);const ct=this.hls;if(!ct.config.ignorePlaylistParsingErrors){var c;const{networkDetails:zt}=t;ct.trigger(m.ERROR,{type:ge.NETWORK_ERROR,details:F.LEVEL_PARSING_ERROR,fatal:!1,url:r.url,error:St,reason:St.message,level:t.level||void 0,parent:(c=r.fragments[0])==null?void 0:c.type,networkDetails:zt,stats:i});return}r.playlistParsingError=null}}r.requestScheduled===-1&&(r.requestScheduled=i.loading.start);const E=this.hls.mainForwardBufferInfo,z=E?E.end-E.len:0,te=(r.edge-z)*1e3,ee=_s(r,te);if(r.requestScheduled+ee<a?r.requestScheduled=a:r.requestScheduled+=ee,this.log(`live playlist ${e} ${r.advanced?"REFRESHED "+r.lastPartSn+"-"+r.lastPartIndex:r.updated?"UPDATED":"MISSED"}`),!this.canLoad||!r.live)return;let De,Ne,tt;if(r.canBlockReload&&r.endSN&&r.advanced){const St=this.hls.config.lowLatencyMode,ct=r.lastPartSn,zt=r.endSN,Vt=r.lastPartIndex,pn=Vt!==-1,$t=ct===zt;pn?$t?(Ne=zt+1,tt=St?0:Vt):(Ne=ct,tt=St?Vt+1:r.maxPartIndex):Ne=zt+1;const un=r.age,wn=un+r.ageHeader;let Jt=Math.min(wn-r.partTarget,r.targetduration*1.5);if(Jt>0){if(wn>r.targetduration*3)this.log(`Playlist last advanced ${un.toFixed(2)}s ago. Omitting segment and part directives.`),Ne=void 0,tt=void 0;else if(n!=null&&n.tuneInGoal&&wn-r.partTarget>n.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${n.tuneInGoal} to: ${Jt} with playlist age: ${r.age}`),Jt=0;else{const $n=Math.floor(Jt/r.targetduration);if(Ne+=$n,tt!==void 0){const yr=Math.round(Jt%r.targetduration/r.partTarget);tt+=yr}this.log(`CDN Tune-in age: ${r.ageHeader}s last advanced ${un.toFixed(2)}s goal: ${Jt} skip sn ${$n} to part ${tt}`)}r.tuneInGoal=Jt}if(De=this.getDeliveryDirectives(r,t.deliveryDirectives,Ne,tt),St||!$t){r.requestScheduled=a,this.loadingPlaylist(S,De);return}}else(r.canBlockReload||r.canSkipUntil)&&(De=this.getDeliveryDirectives(r,t.deliveryDirectives,Ne,tt));De&&Ne!==void 0&&r.canBlockReload&&(r.requestScheduled=i.loading.first+Math.max(ee-u*2,ee/2)),this.scheduleLoading(S,De,r)}else this.clearTimer()}scheduleLoading(e,t,n){const r=n||e.details;if(!r){this.loadingPlaylist(e,t);return}const i=self.performance.now(),a=r.requestScheduled;if(i>=a){this.loadingPlaylist(e,t);return}const u=a-i;this.log(`reload live playlist ${e.name||e.bitrate+"bps"} in ${Math.round(u)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(e,t),u)}getDeliveryDirectives(e,t,n,r){let i=ln(e);return t!=null&&t.skip&&e.deltaUpdateFailed&&(n=t.msn,r=t.part,i=Yt.No),new mn(n,r,i)}checkRetry(e){const t=e.details,n=sr(e),r=e.errorAction,{action:i,retryCount:a=0,retryConfig:u}=r||{},h=!!r&&!!u&&(i===Hn.RetryRequest||!r.resolved&&i===Hn.SendAlternateToPenaltyBox);if(h){var c;if(a>=u.maxNumRetry)return!1;if(n&&(c=e.context)!=null&&c.deliveryDirectives)this.warn(`Retrying playlist loading ${a+1}/${u.maxNumRetry} after "${t}" without delivery-directives`),this.loadPlaylist();else{const S=ir(u,a);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),S),this.warn(`Retrying playlist loading ${a+1}/${u.maxNumRetry} after "${t}" in ${S}ms`)}e.levelRetry=!0,r.resolved=!0}return h}}function is(s,e){if(s.length!==e.length)return!1;for(let t=0;t<s.length;t++)if(!as(s[t].attrs,e[t].attrs))return!1;return!0}function as(s,e,t){const n=s["STABLE-RENDITION-ID"];return n&&!t?n===e["STABLE-RENDITION-ID"]:!(t||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(r=>s[r]!==e[r])}function ps(s,e){return e.label.toLowerCase()===s.name.toLowerCase()&&(!e.language||e.language.toLowerCase()===(s.lang||"").toLowerCase())}class ms extends Li{constructor(e){super(e,"audio-track-controller"),this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0,this.registerListeners()}registerListeners(){const{hls:e}=this;e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.MANIFEST_PARSED,this.onManifestParsed,this),e.on(m.LEVEL_LOADING,this.onLevelLoading,this),e.on(m.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(m.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(m.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.MANIFEST_PARSED,this.onManifestParsed,this),e.off(m.LEVEL_LOADING,this.onLevelLoading,this),e.off(m.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(m.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(m.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(e,t){this.tracks=t.audioTracks||[]}onAudioTrackLoaded(e,t){const{id:n,groupId:r,details:i}=t,a=this.tracksInGroup[n];if(!a||a.groupId!==r){this.warn(`Audio track with id:${n} and group:${r} not found in active group ${a==null?void 0:a.groupId}`);return}const u=a.details;a.details=t.details,this.log(`Audio track ${n} "${a.name}" lang:${a.lang} group:${r} loaded [${i.startSN}-${i.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,u)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const n=t.audioGroups||null,r=this.groupIds;let i=this.currentTrack;if(!n||(r==null?void 0:r.length)!==(n==null?void 0:n.length)||n!=null&&n.some(u=>(r==null?void 0:r.indexOf(u))===-1)){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const u=this.tracks.filter(z=>!n||n.indexOf(z.groupId)!==-1);if(u.length)this.selectDefaultTrack&&!u.some(z=>z.default)&&(this.selectDefaultTrack=!1),u.forEach((z,te)=>{z.id=te});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=u;const h=this.hls.config.audioPreference;if(!i&&h){const z=Dt(h,u,Gt);if(z>-1)i=u[z];else{const te=Dt(h,this.tracks);i=this.tracks[te]}}let c=this.findTrackId(i);c===-1&&i&&(c=this.findTrackId(null));const S={audioTracks:u};this.log(`Updating audio tracks, ${u.length} track(s) found in group(s): ${n==null?void 0:n.join(",")}`),this.hls.trigger(m.AUDIO_TRACKS_UPDATED,S);const E=this.trackId;if(c!==-1&&E===-1)this.setAudioTrack(c);else if(u.length&&E===-1){var a;const z=new Error(`No audio track selected for current audio group-ID(s): ${(a=this.groupIds)==null?void 0:a.join(",")} track count: ${u.length}`);this.warn(z.message),this.hls.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:z})}}}onError(e,t){t.fatal||!t.context||t.context.type===w.AUDIO_TRACK&&t.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(t.context.groupId)!==-1)&&this.checkRetry(t)}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(e){this.selectDefaultTrack=!1,this.setAudioTrack(e)}setAudioOption(e){const t=this.hls;if(t.config.audioPreference=e,e){const n=this.allAudioTracks;if(this.selectDefaultTrack=!1,n.length){const r=this.currentTrack;if(r&&jt(e,r,Gt))return r;const i=Dt(e,this.tracksInGroup,Gt);if(i>-1){const a=this.tracksInGroup[i];return this.setAudioTrack(i),a}else if(r){let a=t.loadLevel;a===-1&&(a=t.firstAutoLevel);const u=yn(e,t.levels,n,a,Gt);if(u===-1)return null;t.nextLoadLevel=u}if(e.channels||e.audioCodec){const a=Dt(e,n);if(a>-1)return n[a]}}}return null}setAudioTrack(e){const t=this.tracksInGroup;if(e<0||e>=t.length){this.warn(`Invalid audio track id: ${e}`);return}this.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e],i=r.details&&!r.details.live;if(e===this.trackId&&r===n&&i||(this.log(`Switching to audio-track ${e} "${r.name}" lang:${r.lang} group:${r.groupId} channels:${r.channels}`),this.trackId=e,this.currentTrack=r,this.hls.trigger(m.AUDIO_TRACK_SWITCHING,A({},r)),i))return;const a=this.switchParams(r.url,n==null?void 0:n.details,r.details);this.loadPlaylist(a)}findTrackId(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++){const r=t[n];if(!(this.selectDefaultTrack&&!r.default)&&(!e||jt(e,r,Gt)))return n}if(e){const{name:n,lang:r,assocLang:i,characteristics:a,audioCodec:u,channels:h}=e;for(let c=0;c<t.length;c++){const S=t[c];if(jt({name:n,lang:r,assocLang:i,characteristics:a,audioCodec:u,channels:h},S,Gt))return c}for(let c=0;c<t.length;c++){const S=t[c];if(as(e.attrs,S.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return c}for(let c=0;c<t.length;c++){const S=t[c];if(as(e.attrs,S.attrs,["LANGUAGE"]))return c}}return-1}loadPlaylist(e){super.loadPlaylist();const t=this.currentTrack;this.shouldLoadPlaylist(t)&&Ln(t.url,this.hls)&&this.scheduleLoading(t,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=e.id,r=e.groupId,i=this.getUrlWithDirectives(e.url,t),a=e.details,u=a==null?void 0:a.age;this.log(`Loading audio-track ${n} "${e.name}" lang:${e.lang} group:${r}${(t==null?void 0:t.msn)!==void 0?" at sn "+t.msn+" part "+t.part:""}${u&&a.live?" age "+u.toFixed(1)+(a.type?" "+a.type||0:""):""} ${i}`),this.hls.trigger(m.AUDIO_TRACK_LOADING,{url:i,id:n,groupId:r,deliveryDirectives:t||null,track:e})}}class Ao{constructor(e){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=e}destroy(){this.tracks=this.queues=null}append(e,t,n){if(this.queues===null||this.tracks===null)return;const r=this.queues[t];r.push(e),r.length===1&&!n&&this.executeNext(t)}appendBlocker(e){return new Promise(t=>{const n={label:"async-blocker",execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(n,e)})}prependBlocker(e){return new Promise(t=>{if(this.queues){const n={label:"async-blocker-prepend",execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[e].unshift(n)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(e=>{var t;const n=(t=e[0])==null?void 0:t.label;(n==="async-blocker"||n==="async-blocker-prepend")&&(e[0].execute(),e.splice(0,1))})}unblockAudio(e){if(this.queues===null)return;this.queues.audio[0]===e&&this.shiftAndExecuteNext("audio")}executeNext(e){if(this.queues===null||this.tracks===null)return;const t=this.queues[e];if(t.length){const r=t[0];try{r.execute()}catch(i){var n;if(r.onError(i),this.queues===null||this.tracks===null)return;const a=(n=this.tracks[e])==null?void 0:n.buffer;a!=null&&a.updating||this.shiftAndExecuteNext(e)}}}shiftAndExecuteNext(e){this.queues!==null&&(this.queues[e].shift(),this.executeNext(e))}current(e){var t;return((t=this.queues)==null?void 0:t[e][0])||null}toString(){const{queues:e,tracks:t}=this;return e===null||t===null?"<destroyed>":`
${this.list("video")}
${this.list("audio")}
${this.list("audiovideo")}}`}list(e){var t,n;return(t=this.queues)!=null&&t[e]||(n=this.tracks)!=null&&n[e]?`${e}: (${this.listSbInfo(e)}) ${this.listOps(e)}`:""}listSbInfo(e){var t;const n=(t=this.tracks)==null?void 0:t[e],r=n==null?void 0:n.buffer;return r?`SourceBuffer${r.updating?" updating":""}${n.ended?" ended":""}${n.ending?" ending":""}`:"none"}listOps(e){var t;return((t=this.queues)==null?void 0:t[e].map(n=>n.label).join(", "))||""}}const _o=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,mi="HlsJsTrackRemovedError";class Ki extends Error{constructor(e){super(e),this.name=mi}}class _a extends pe{constructor(e,t){super("buffer-controller",e.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=n=>{var r;this.hls&&((r=this.mediaSource)==null?void 0:r.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=n=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=n=>{const{media:r,mediaSource:i}=this;n&&this.log("Media source opened"),!(!r||!i)&&(i.removeEventListener("sourceopen",this._onMediaSourceOpen),r.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(m.MEDIA_ATTACHED,{media:r,mediaSource:i}),this.mediaSource!==null&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:n,_objectUrl:r}=this;n!==r&&this.error(`Media element src was set while attaching MediaSource (${r} > ${n})`)},this.hls=e,this.fragmentTracker=t,this.appendSource=xe(ve(e.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:e}=this;e.on(m.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.MANIFEST_PARSED,this.onManifestParsed,this),e.on(m.BUFFER_RESET,this.onBufferReset,this),e.on(m.BUFFER_APPENDING,this.onBufferAppending,this),e.on(m.BUFFER_CODECS,this.onBufferCodecs,this),e.on(m.BUFFER_EOS,this.onBufferEos,this),e.on(m.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(m.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(m.FRAG_PARSED,this.onFragParsed,this),e.on(m.FRAG_CHANGED,this.onFragChanged,this),e.on(m.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(m.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.MANIFEST_PARSED,this.onManifestParsed,this),e.off(m.BUFFER_RESET,this.onBufferReset,this),e.off(m.BUFFER_APPENDING,this.onBufferAppending,this),e.off(m.BUFFER_CODECS,this.onBufferCodecs,this),e.off(m.BUFFER_EOS,this.onBufferEos,this),e.off(m.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(m.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(m.FRAG_PARSED,this.onFragParsed,this),e.off(m.FRAG_CHANGED,this.onFragChanged,this),e.off(m.ERROR,this.onError,this)}transferMedia(){const{media:e,mediaSource:t}=this;if(!e)return null;const n={};if(this.operationQueue){const i=this.isUpdating();i||this.operationQueue.removeBlockers();const a=this.isQueued();(i||a)&&this.warn(`Transfering MediaSource with${a?" operations in queue":""}${i?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const r=this.transferData;return!this.sourceBufferCount&&r&&r.mediaSource===t?y(n,r.tracks):this.sourceBuffers.forEach(i=>{const[a]=i;a&&(n[a]=y({},this.tracks[a]),this.removeBuffer(a)),i[0]=i[1]=null}),{media:e,mediaSource:t,tracks:n}}initTracks(){const e={};this.sourceBuffers=[[null,null],[null,null]],this.tracks=e,this.resetQueue(),this.resetAppendErrors(),this.lastMpegAudioChunk=this.blockedAudioAppend=null,this.lastVideoAppendEnd=0}onManifestLoading(){this.bufferCodecEventsTotal=0,this.details=null}onManifestParsed(e,t){var n;let r=2;(t.audio&&!t.video||!t.altAudio)&&(r=1),this.bufferCodecEventsTotal=r,this.log(`${r} bufferCodec event(s) expected.`),(n=this.transferData)!=null&&n.mediaSource&&this.sourceBufferCount&&r&&this.bufferCreated()}onMediaAttaching(e,t){const n=this.media=t.media,r=ve(this.appendSource);if(this.transferData=this.overrides=void 0,n&&r){const i=!!t.mediaSource;(i||t.overrides)&&(this.transferData=t,this.overrides=t.overrides);const a=this.mediaSource=t.mediaSource||new r;if(this.assignMediaSource(a),i)this._objectUrl=n.src,this.attachTransferred();else{const u=this._objectUrl=self.URL.createObjectURL(a);if(this.appendSource)try{n.removeAttribute("src");const h=self.ManagedMediaSource;n.disableRemotePlayback=n.disableRemotePlayback||h&&a instanceof h,$i(n),Pa(n,u),n.load()}catch(h){n.src=u}else n.src=u}n.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(e){var t,n;this.log(`${((t=this.transferData)==null?void 0:t.mediaSource)===e?"transferred":"created"} media source: ${(n=e.constructor)==null?void 0:n.name}`),e.addEventListener("sourceopen",this._onMediaSourceOpen),e.addEventListener("sourceended",this._onMediaSourceEnded),e.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(e.addEventListener("startstreaming",this._onStartStreaming),e.addEventListener("endstreaming",this._onEndStreaming))}attachTransferred(){const e=this.media,t=this.transferData;if(!t||!e)return;const n=this.tracks,r=t.tracks,i=r?Object.keys(r):null,a=i?i.length:0,u=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(r&&i&&a){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: ${fn(n,(h,c)=>h==="initSegment"?void 0:c)};
transfer tracks: ${fn(r,(h,c)=>h==="initSegment"?void 0:c)}}`),!ye(r,n)){t.mediaSource=null,t.tracks=void 0;const h=e.currentTime,c=this.details,S=Math.max(h,(c==null?void 0:c.fragments[0].start)||0);if(S-h>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${h} -> ${S}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(r)}"->"${Object.keys(n)}") start time: ${S} currentTime: ${h}`),this.onMediaDetaching(m.MEDIA_DETACHING,{}),this.onMediaAttaching(m.MEDIA_ATTACHING,t),e.currentTime=S;return}this.transferData=void 0,i.forEach(h=>{const c=h,S=r[c];if(S){const E=S.buffer;if(E){const z=this.fragmentTracker,te=S.id;if(z.hasFragments(te)||z.hasParts(te)){const Ne=Cr.getBuffered(E);z.detectEvictedFragments(c,Ne,te,null,!0)}const ee=ka(c),De=[c,E];this.sourceBuffers[ee]=De,E.updating&&this.operationQueue&&this.operationQueue.prependBlocker(c),this.trackSourceBuffer(c,S)}}}),u(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),u()}get mediaSourceOpenOrEnded(){var e;const t=(e=this.mediaSource)==null?void 0:e.readyState;return t==="open"||t==="ended"}onMediaDetaching(e,t){const n=!!t.transferMedia;this.transferData=this.overrides=void 0;const{media:r,mediaSource:i,_objectUrl:a}=this;if(i){if(this.log(`media source ${n?"transferring":"detaching"}`),n)this.sourceBuffers.forEach(([u])=>{u&&this.removeBuffer(u)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const u=i.readyState==="open";try{const h=i.sourceBuffers;for(let c=h.length;c--;)u&&h[c].abort(),i.removeSourceBuffer(h[c]);u&&i.endOfStream()}catch(h){this.warn(`onMediaDetaching: ${h.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}i.removeEventListener("sourceopen",this._onMediaSourceOpen),i.removeEventListener("sourceended",this._onMediaSourceEnded),i.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(i.removeEventListener("startstreaming",this._onStartStreaming),i.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}r&&(r.removeEventListener("emptied",this._onMediaEmptied),n||(a&&self.URL.revokeObjectURL(a),this.mediaSrc===a?(r.removeAttribute("src"),this.appendSource&&$i(r),r.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(m.MEDIA_DETACHED,t)}onBufferReset(){this.sourceBuffers.forEach(([e])=>{e&&this.resetBuffer(e)}),this.initTracks()}resetBuffer(e){var t;const n=(t=this.tracks[e])==null?void 0:t.buffer;if(this.removeBuffer(e),n)try{var r;(r=this.mediaSource)!=null&&r.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(n)}catch(i){this.warn(`onBufferReset ${e}`,i)}delete this.tracks[e]}removeBuffer(e){this.removeBufferListeners(e),this.sourceBuffers[ka(e)]=[null,null];const t=this.tracks[e];t&&(t.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new Ao(this.tracks)}onBufferCodecs(e,t){const n=this.tracks,r=Object.keys(t);this.log(`BUFFER_CODECS: "${r}" (current SB count ${this.sourceBufferCount})`);const i="audiovideo"in t&&(n.audio||n.video)||n.audiovideo&&("audio"in t||"video"in t),a=!i&&this.sourceBufferCount&&this.media&&r.some(u=>!n[u]);if(i||a){this.warn(`Unsupported transition between "${Object.keys(n)}" and "${r}" SourceBuffers`);return}r.forEach(u=>{var h,c,S;const E=t[u],{id:z,codec:te,levelCodec:ee,container:De,metadata:Ne,supplemental:tt}=E;let St=n[u];const ct=(h=this.transferData)==null||(c=h.tracks)==null?void 0:c[u],zt=ct!=null&&ct.buffer?ct:St,Vt=(zt==null?void 0:zt.pendingCodec)||(zt==null?void 0:zt.codec),pn=zt==null?void 0:zt.levelCodec;St||(St=n[u]={buffer:void 0,listeners:[],codec:te,supplemental:tt,container:De,levelCodec:ee,metadata:Ne,id:z});const $t=Dn(Vt,pn),un=$t==null?void 0:$t.replace(_o,"$1");let wn=Dn(te,ee);const Jt=(S=wn)==null?void 0:S.replace(_o,"$1");wn&&$t&&un!==Jt&&(u.slice(0,5)==="audio"&&(wn=Ge(wn,this.appendSource)),this.log(`switching codec ${Vt} to ${wn}`),wn!==(St.pendingCodec||St.codec)&&(St.pendingCodec=wn),St.container=De,this.appendChangeType(u,De,wn))}),(this.tracksReady||this.sourceBufferCount)&&(t.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&this.mediaSourceOpenOrEnded&&this.checkPendingTracks()}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((e,t)=>{const n=this.tracks[t];return e[t]={id:n.id,container:n.container,codec:n.codec,levelCodec:n.levelCodec},e},{})}appendChangeType(e,t,n){const r=`${t};codecs=${n}`,i={label:`change-type=${r}`,execute:()=>{const a=this.tracks[e];if(a){const u=a.buffer;u!=null&&u.changeType&&(this.log(`changing ${e} sourceBuffer type to ${r}`),u.changeType(r),a.codec=n,a.container=t)}this.shiftAndExecuteNext(e)},onStart:()=>{},onComplete:()=>{},onError:a=>{this.warn(`Failed to change ${e} SourceBuffer type`,a)}};this.append(i,e,this.isPending(this.tracks[e]))}blockAudio(e){var t;const n=e.start,r=n+e.duration*.05;if(((t=this.fragmentTracker.getAppendedFrag(n,he.MAIN))==null?void 0:t.gap)===!0)return;const a={label:"block-audio",execute:()=>{var u;const h=this.tracks.video;(this.lastVideoAppendEnd>r||h!=null&&h.buffer&&Cr.isBuffered(h.buffer,r)||((u=this.fragmentTracker.getAppendedFrag(r,he.MAIN))==null?void 0:u.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:u=>{this.warn("Error executing block-audio operation",u)}};this.blockedAudioAppend={op:a,frag:e},this.append(a,"audio",!0)}unblockAudio(){const{blockedAudioAppend:e,operationQueue:t}=this;e&&t&&(this.blockedAudioAppend=null,t.unblockAudio(e.op))}onBufferAppending(e,t){const{tracks:n}=this,{data:r,type:i,parent:a,frag:u,part:h,chunkMeta:c}=t,S=c.buffering[i],E=u.sn,z=self.performance.now();S.start=z;const te=u.stats.buffering,ee=h?h.stats.buffering:null;te.start===0&&(te.start=z),ee&&ee.start===0&&(ee.start=z);const De=n.audio;let Ne=!1;i==="audio"&&(De==null?void 0:De.container)==="audio/mpeg"&&(Ne=!this.lastMpegAudioChunk||c.id===1||this.lastMpegAudioChunk.sn!==c.sn,this.lastMpegAudioChunk=c);const tt=this.tracks.video,St=tt==null?void 0:tt.buffer;if(St&&E!=="initSegment"){const Vt=h||u,pn=this.blockedAudioAppend;if(i==="audio"&&a!=="main"&&!this.blockedAudioAppend){const un=Vt.start+Vt.duration*.05,wn=St.buffered,Jt=this.currentOp("video");!wn.length&&!Jt?this.blockAudio(Vt):!Jt&&!Cr.isBuffered(St,un)&&this.lastVideoAppendEnd<un&&this.blockAudio(Vt)}else if(i==="video"){const $t=Vt.end;if(pn){const un=pn.frag.start;($t>un||$t<this.lastVideoAppendEnd||Cr.isBuffered(St,un))&&this.unblockAudio()}this.lastVideoAppendEnd=$t}}const ct=(h||u).start,zt={label:`append-${i}`,execute:()=>{if(S.executeStart=self.performance.now(),Ne){const Vt=this.tracks[i];if(Vt){const pn=Vt.buffer;if(pn){const $t=ct-pn.timestampOffset;Math.abs($t)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${ct} (delta: ${$t}) sn: ${E})`),pn.timestampOffset=ct)}}}this.appendExecutor(r,i)},onStart:()=>{},onComplete:()=>{const Vt=self.performance.now();S.executeEnd=S.end=Vt,te.first===0&&(te.first=Vt),ee&&ee.first===0&&(ee.first=Vt);const pn={};this.sourceBuffers.forEach(([$t,un])=>{$t&&(pn[$t]=Cr.getBuffered(un))}),this.appendErrors[i]=0,i==="audio"||i==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(m.BUFFER_APPENDED,{type:i,frag:u,part:h,chunkMeta:c,parent:u.type,timeRanges:pn})},onError:Vt=>{var pn;const $t={type:ge.MEDIA_ERROR,parent:u.type,details:F.BUFFER_APPEND_ERROR,sourceBufferName:i,frag:u,part:h,chunkMeta:c,error:Vt,err:Vt,fatal:!1};if(Vt.code===DOMException.QUOTA_EXCEEDED_ERR)$t.details=F.BUFFER_FULL_ERROR;else if(Vt.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!((pn=this.media)!=null&&pn.error))$t.errorAction=lr(!0);else if(Vt.name===mi)this.sourceBufferCount===0?$t.errorAction=lr(!0):++this.appendErrors[i];else{const un=++this.appendErrors[i];this.warn(`Failed ${un}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${i}" sourceBuffer`),un>=this.hls.config.appendErrorMaxRetry&&($t.fatal=!0)}this.hls.trigger(m.ERROR,$t)}};this.append(zt,i,this.isPending(this.tracks[i]))}getFlushOp(e,t,n){return this.log(`queuing "${e}" remove ${t}-${n}`),{label:"remove",execute:()=>{this.removeExecutor(e,t,n)},onStart:()=>{},onComplete:()=>{this.hls.trigger(m.BUFFER_FLUSHED,{type:e})},onError:r=>{this.warn(`Failed to remove ${t}-${n} from "${e}" SourceBuffer`,r)}}}onBufferFlushing(e,t){const{type:n,startOffset:r,endOffset:i}=t;n?this.append(this.getFlushOp(n,r,i),n):this.sourceBuffers.forEach(([a])=>{a&&this.append(this.getFlushOp(a,r,i),a)})}onFragParsed(e,t){const{frag:n,part:r}=t,i=[],a=r?r.elementaryStreams:n.elementaryStreams;a[_.AUDIOVIDEO]?i.push("audiovideo"):(a[_.AUDIO]&&i.push("audio"),a[_.VIDEO]&&i.push("video"));const u=()=>{const h=self.performance.now();n.stats.buffering.end=h,r&&(r.stats.buffering.end=h);const c=r?r.stats:n.stats;this.hls.trigger(m.FRAG_BUFFERED,{frag:n,part:r,stats:c,id:n.type})};i.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${n.type} level: ${n.level} sn: ${n.sn}`),this.blockBuffers(u,i)}onFragChanged(e,t){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([e])=>{var t,n;return e&&(!((t=this.tracks[e])!=null&&t.ended)||((n=this.tracks[e])==null?void 0:n.ending))})}onBufferEos(e,t){var n;this.sourceBuffers.forEach(([a])=>{if(a){const u=this.tracks[a];(!t.type||t.type===a)&&(u.ending=!0,u.ended||(u.ended=!0,this.log(`${a} buffer reached EOS`)))}});const r=((n=this.overrides)==null?void 0:n.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([a])=>{var u;return a&&!((u=this.tracks[a])!=null&&u.ended)})&&(r?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:a}=this;if(!a||a.readyState!=="open"){a&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${a.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),a.endOfStream(),this.hls.trigger(m.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(m.BUFFERED_TO_END,void 0)))}tracksEnded(){this.sourceBuffers.forEach(([e])=>{if(e!==null){const t=this.tracks[e];t&&(t.ending=!1)}})}onLevelUpdated(e,{details:t}){t.fragments.length&&(this.details=t,this.updateDuration())}updateDuration(){const e=this.getDurationAndRange();e&&this.blockUntilOpen(()=>this.updateMediaSource(e))}onError(e,t){if(t.details===F.BUFFER_APPEND_ERROR&&t.frag){var n;const r=(n=t.errorAction)==null?void 0:n.nextAutoLevel;g(r)&&r!==t.frag.level&&this.resetAppendErrors()}}resetAppendErrors(){this.appendErrors={audio:0,video:0,audiovideo:0}}trimBuffers(){const{hls:e,details:t,media:n}=this;if(!n||t===null||!this.sourceBufferCount)return;const r=e.config,i=n.currentTime,a=t.levelTargetDuration,u=t.live&&r.liveBackBufferLength!==null?r.liveBackBufferLength:r.backBufferLength;if(g(u)&&u>=0){const h=Math.max(u,a),c=Math.floor(i/a)*a-h;this.flushBackBuffer(i,a,c)}if(g(r.frontBufferFlushThreshold)&&r.frontBufferFlushThreshold>0){const h=Math.max(r.maxBufferLength,r.frontBufferFlushThreshold),c=Math.max(h,a),S=Math.floor(i/a)*a+c;this.flushFrontBuffer(i,a,S)}}flushBackBuffer(e,t,n){this.sourceBuffers.forEach(([r,i])=>{if(i){const u=Cr.getBuffered(i);if(u.length>0&&n>u.start(0)){var a;this.hls.trigger(m.BACK_BUFFER_REACHED,{bufferEnd:n});const h=this.tracks[r];if((a=this.details)!=null&&a.live)this.hls.trigger(m.LIVE_BACK_BUFFER_REACHED,{bufferEnd:n});else if(h!=null&&h.ended){this.log(`Cannot flush ${r} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(m.BUFFER_FLUSHING,{startOffset:0,endOffset:n,type:r})}}})}flushFrontBuffer(e,t,n){this.sourceBuffers.forEach(([r,i])=>{if(i){const a=Cr.getBuffered(i),u=a.length;if(u<2)return;const h=a.start(u-1),c=a.end(u-1);if(n>h||e>=h&&e<=c)return;this.hls.trigger(m.BUFFER_FLUSHING,{startOffset:h,endOffset:1/0,type:r})}})}getDurationAndRange(){var e;const{details:t,mediaSource:n}=this;if(!t||!this.media||(n==null?void 0:n.readyState)!=="open")return null;const r=t.edge;if(t.live&&this.hls.config.liveDurationInfinity){if(t.fragments.length&&t.live&&n.setLiveSeekableRange){const c=Math.max(0,t.fragmentStart),S=Math.max(c,r);return{duration:1/0,start:c,end:S}}return{duration:1/0}}const i=(e=this.overrides)==null?void 0:e.duration;if(i)return g(i)?{duration:i}:null;const a=this.media.duration,u=g(n.duration)?n.duration:0;return r>u&&r>a||!g(a)?{duration:r}:null}updateMediaSource({duration:e,start:t,end:n}){const r=this.mediaSource;!this.media||!r||r.readyState!=="open"||(r.duration!==e&&(g(e)&&this.log(`Updating MediaSource duration to ${e.toFixed(3)}`),r.duration=e),t!==void 0&&n!==void 0&&(this.log(`MediaSource duration is set to ${r.duration}. Setting seekable range to ${t}-${n}.`),r.setLiveSeekableRange(t,n)))}get tracksReady(){const e=this.pendingTrackCount;return e>0&&(e>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:e,pendingTrackCount:t,tracks:n}=this;if(this.log(`checkPendingTracks (pending: ${t} codec events expected: ${e}) ${fn(n)}`),this.tracksReady){var r;const i=(r=this.transferData)==null?void 0:r.tracks;i&&Object.keys(i).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const e={};this.sourceBuffers.forEach(([t,n])=>{if(t){const r=this.tracks[t];e[t]={buffer:n,container:r.container,codec:r.codec,supplemental:r.supplemental,levelCodec:r.levelCodec,id:r.id,metadata:r.metadata}}}),this.hls.trigger(m.BUFFER_CREATED,{tracks:e}),this.log(`SourceBuffers created. Running queue: ${this.operationQueue}`),this.sourceBuffers.forEach(([t])=>{this.executeNext(t)})}else{const e=new Error("could not create source buffer for media codec(s)");this.hls.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:e,reason:e.message})}}createSourceBuffers(){const{tracks:e,sourceBuffers:t,mediaSource:n}=this;if(!n)throw new Error("createSourceBuffers called when mediaSource was null");for(const i in e){const a=i,u=e[a];if(this.isPending(u)){const h=this.getTrackCodec(u,a),c=`${u.container};codecs=${h}`;u.codec=h,this.log(`creating sourceBuffer(${c})${this.currentOp(a)?" Queued":""} ${fn(u)}`);try{const S=n.addSourceBuffer(c),E=ka(a),z=[a,S];t[E]=z,u.buffer=S}catch(S){var r;this.error(`error while trying to add sourceBuffer: ${S.message}`),this.shiftAndExecuteNext(a),(r=this.operationQueue)==null||r.removeBlockers(),delete this.tracks[a],this.hls.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:S,sourceBufferName:a,mimeType:c,parent:u.id});return}this.trackSourceBuffer(a,u)}}this.bufferCreated()}getTrackCodec(e,t){const n=e.supplemental;let r=e.codec;n&&(t==="video"||t==="audiovideo")&&et(n,"video")&&(r=En(r,n));const i=Dn(r,e.levelCodec);return i?t.slice(0,5)==="audio"?Ge(i,this.appendSource):i:""}trackSourceBuffer(e,t){const n=t.buffer;if(!n)return;const r=this.getTrackCodec(t,e);this.tracks[e]={buffer:n,codec:r,container:t.container,levelCodec:t.levelCodec,supplemental:t.supplemental,metadata:t.metadata,id:t.id,listeners:[]},this.removeBufferListeners(e),this.addBufferListener(e,"updatestart",this.onSBUpdateStart),this.addBufferListener(e,"updateend",this.onSBUpdateEnd),this.addBufferListener(e,"error",this.onSBUpdateError),this.appendSource&&this.addBufferListener(e,"bufferedchange",(i,a)=>{const u=a.removedRanges;u!=null&&u.length&&this.hls.trigger(m.BUFFER_FLUSHED,{type:i})})}get mediaSrc(){var e,t;const n=((e=this.media)==null||(t=e.querySelector)==null?void 0:t.call(e,"source"))||this.media;return n==null?void 0:n.src}onSBUpdateStart(e){const t=this.currentOp(e);t&&t.onStart()}onSBUpdateEnd(e){var t;if(((t=this.mediaSource)==null?void 0:t.readyState)==="closed"){this.resetBuffer(e);return}const n=this.currentOp(e);n&&(n.onComplete(),this.shiftAndExecuteNext(e))}onSBUpdateError(e,t){var n;const r=new Error(`${e} SourceBuffer error. MediaSource readyState: ${(n=this.mediaSource)==null?void 0:n.readyState}`);this.error(`${r}`,t),this.hls.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.BUFFER_APPENDING_ERROR,sourceBufferName:e,error:r,fatal:!1});const i=this.currentOp(e);i&&i.onError(r)}removeExecutor(e,t,n){const{media:r,mediaSource:i}=this,a=this.tracks[e],u=a==null?void 0:a.buffer;if(!r||!i||!u){this.warn(`Attempting to remove from the ${e} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(e);return}const h=g(r.duration)?r.duration:1/0,c=g(i.duration)?i.duration:1/0,S=Math.max(0,t),E=Math.min(n,h,c);E>S&&(!a.ending||a.ended)?(a.ended=!1,this.log(`Removing [${S},${E}] from the ${e} SourceBuffer`),u.remove(S,E)):this.shiftAndExecuteNext(e)}appendExecutor(e,t){const n=this.tracks[t],r=n==null?void 0:n.buffer;if(!r)throw new Ki(`Attempting to append to the ${t} SourceBuffer, but it does not exist`);n.ending=!1,n.ended=!1,r.appendBuffer(e)}blockUntilOpen(e){this.isUpdating()||this.isQueued()?this.blockBuffers(e):e()}isUpdating(){return this.sourceBuffers.some(([e,t])=>e&&t.updating)}isQueued(){return this.sourceBuffers.some(([e])=>e&&!!this.currentOp(e))}isPending(e){return!!e&&!e.buffer}blockBuffers(e,t=this.sourceBufferTypes){if(!t.length){this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(e);return}const{operationQueue:n}=this,r=t.map(a=>this.appendBlocker(a));t.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(r).then(a=>{n===this.operationQueue&&(e(),this.stepOperationQueue(t))})}stepOperationQueue(e){e.forEach(t=>{var n;const r=(n=this.tracks[t])==null?void 0:n.buffer;!r||r.updating||this.shiftAndExecuteNext(t)})}append(e,t,n){this.operationQueue&&this.operationQueue.append(e,t,n)}appendBlocker(e){if(this.operationQueue)return this.operationQueue.appendBlocker(e)}currentOp(e){return this.operationQueue?this.operationQueue.current(e):null}executeNext(e){e&&this.operationQueue&&this.operationQueue.executeNext(e)}shiftAndExecuteNext(e){this.operationQueue&&this.operationQueue.shiftAndExecuteNext(e)}get pendingTrackCount(){return Object.keys(this.tracks).reduce((e,t)=>e+(this.isPending(this.tracks[t])?1:0),0)}get sourceBufferCount(){return this.sourceBuffers.reduce((e,[t])=>e+(t?1:0),0)}get sourceBufferTypes(){return this.sourceBuffers.map(([e])=>e).filter(e=>!!e)}addBufferListener(e,t,n){const r=this.tracks[e];if(!r)return;const i=r.buffer;if(!i)return;const a=n.bind(this,e);r.listeners.push({event:t,listener:a}),i.addEventListener(t,a)}removeBufferListeners(e){const t=this.tracks[e];if(!t)return;const n=t.buffer;n&&(t.listeners.forEach(r=>{n.removeEventListener(r.event,r.listener)}),t.listeners.length=0)}}function $i(s){const e=s.querySelectorAll("source");[].slice.call(e).forEach(t=>{s.removeChild(t)})}function Pa(s,e){const t=self.document.createElement("source");t.type="video/mp4",t.src=e,s.appendChild(t)}function ka(s){return s==="audio"?1:0}class Oa{constructor(e){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=e,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(e){this.streamController=e}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:e}=this;e.on(m.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.on(m.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(m.MANIFEST_PARSED,this.onManifestParsed,this),e.on(m.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(m.BUFFER_CODECS,this.onBufferCodecs,this),e.on(m.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:e}=this;e.off(m.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.off(m.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(m.MANIFEST_PARSED,this.onManifestParsed,this),e.off(m.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(m.BUFFER_CODECS,this.onBufferCodecs,this),e.off(m.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(e,t){const n=this.hls.levels[t.droppedLevel];this.isLevelAllowed(n)&&this.restrictedLevels.push({bitrate:n.bitrate,height:n.height,width:n.width})}onMediaAttaching(e,t){this.media=t.media instanceof HTMLVideoElement?t.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(e,t){const n=this.hls;this.restrictedLevels=[],this.firstLevel=t.firstLevel,n.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onLevelsUpdated(e,t){this.timer&&g(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(e,t){this.hls.config.capLevelToPlayerSize&&t.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 e=this.hls.levels;if(e.length){const t=this.hls,n=this.getMaxLevel(e.length-1);n!==this.autoLevelCapping&&t.logger.log(`Setting autoLevelCapping to ${n}: ${e[n].height}p@${e[n].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),t.autoLevelCapping=n,t.autoLevelEnabled&&t.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}}getMaxLevel(e){const t=this.hls.levels;if(!t.length)return-1;const n=t.filter((r,i)=>this.isLevelAllowed(r)&&i<=e);return this.clientRect=null,Oa.getMaxLevelByMediaSize(n,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 e=this.media,t={width:0,height:0};if(e){const n=e.getBoundingClientRect();t.width=n.width,t.height=n.height,!t.width&&!t.height&&(t.width=n.right-n.left||e.width||0,t.height=n.bottom-n.top||e.height||0)}return this.clientRect=t,t}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let e=1;if(!this.hls.config.ignoreDevicePixelRatio)try{e=self.devicePixelRatio}catch(t){}return Math.min(e,this.hls.config.maxDevicePixelRatio)}isLevelAllowed(e){return!this.restrictedLevels.some(n=>e.bitrate===n.bitrate&&e.width===n.width&&e.height===n.height)}static getMaxLevelByMediaSize(e,t,n){if(!(e!=null&&e.length))return-1;const r=(u,h)=>h?u.width!==h.width||u.height!==h.height:!0;let i=e.length-1;const a=Math.max(t,n);for(let u=0;u<e.length;u+=1){const h=e[u];if((h.width>=a||h.height>=a)&&r(h,e[u+1])){i=u;break}}return i}}const Ka={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},qo={HLS:"h"},Vs={OBJECT:"CMCD-Object",REQUEST:"CMCD-Request",SESSION:"CMCD-Session",STATUS:"CMCD-Status"},yl={[Vs.OBJECT]:["br","d","ot","tb"],[Vs.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[Vs.SESSION]:["cid","pr","sf","sid","st","v"],[Vs.STATUS]:["bs","rtp"]};class Ks{constructor(e,t){Array.isArray(e)&&(e=e.map(n=>n instanceof Ks?n:new Ks(n))),this.value=e,this.params=t}}const bl="Dict";function Jo(s){return Array.isArray(s)?JSON.stringify(s):s instanceof Map?"Map{}":s instanceof Set?"Set{}":typeof s=="object"?JSON.stringify(s):String(s)}function wo(s,e,t,n){return new Error(`failed to ${s} "${Jo(e)}" as ${t}`,{cause:n})}function ss(s,e,t){return wo("serialize",s,e,t)}class Xo{constructor(e){this.description=e}}const Bo="Bare Item",el="Boolean";function Sl(s){if(typeof s!="boolean")throw ss(s,el);return s?"?1":"?0"}const xl="Byte Sequence";function El(s){if(ArrayBuffer.isView(s)===!1)throw ss(s,xl);return`:${bo(s)}:`}const tl="Integer";function Co(s){return s<-999999999999999||999999999999999<s}function To(s){if(Co(s))throw ss(s,tl);return s.toString()}function Ko(s){return`@${To(s.getTime()/1e3)}`}const nl="Decimal";function rl(s){const e=eo(s,3);if(Math.floor(Math.abs(e)).toString().length>12)throw ss(s,nl);const t=e.toString();return t.includes(".")?t:`${t}.0`}const il="String",al=/[\x00-\x1f\x7f]+/;function Al(s){if(al.test(s))throw ss(s,il);return`"${s.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function sl(s){return s.description||s.toString().slice(7,-1)}const zo="Token";function Ho(s){const e=sl(s);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e)===!1)throw ss(e,zo);return e}function io(s){switch(typeof s){case"number":if(!g(s))throw ss(s,Bo);return Number.isInteger(s)?To(s):rl(s);case"string":return Al(s);case"symbol":return Ho(s);case"boolean":return Sl(s);case"object":if(s instanceof Date)return Ko(s);if(s instanceof Uint8Array)return El(s);if(s instanceof Xo)return Ho(s);default:throw ss(s,Bo)}}const ol="Key";function jo(s){if(/^[a-z*][a-z0-9\-_.*]*$/.test(s)===!1)throw ss(s,ol);return s}function Ai(s){return s==null?"":Object.entries(s).map(([e,t])=>t===!0?`;${jo(e)}`:`;${jo(e)}=${io(t)}`).join("")}function Gi(s){return s instanceof Ks?`${io(s.value)}${Ai(s.params)}`:io(s)}function $a(s){return`(${s.value.map(Gi).join(" ")})${Ai(s.params)}`}function Is(s,e={whitespace:!0}){if(typeof s!="object")throw ss(s,bl);const t=s instanceof Map?s.entries():Object.entries(s),n=e!=null&&e.whitespace?" ":"";return Array.from(t).map(([r,i])=>{i instanceof Ks||(i=new Ks(i));let a=jo(r);return i.value===!0?a+=Ai(i.params):(a+="=",Array.isArray(i.value)?a+=$a(i):a+=Gi(i)),a}).join(`,${n}`)}function Fs(s,e){return Is(s,e)}function ll(s){return s==="ot"||s==="sf"||s==="st"}function Wo(s){return typeof s=="number"?g(s):s!=null&&s!==""&&s!==!1}const Gs=s=>Math.round(s),Vo=(s,e)=>(e!=null&&e.baseUrl&&(s=Uo(s,e.baseUrl)),encodeURIComponent(s)),$s=s=>Gs(s/100)*100,Pu={br:Gs,d:Gs,bl:$s,dl:$s,mtp:$s,nor:Vo,rtp:$s,tb:Gs};function ku(s,e){const t={};if(s==null||typeof s!="object")return t;const n=Object.keys(s).sort(),r=y({},Pu,e==null?void 0:e.formatters),i=e==null?void 0:e.filter;return n.forEach(a=>{if(i!=null&&i(a))return;let u=s[a];const h=r[a];h&&(u=h(u,e)),!(a==="v"&&u===1)&&(a=="pr"&&u===1||Wo(u)&&(ll(a)&&typeof u=="string"&&(u=new Xo(u)),t[a]=u))}),t}function jl(s,e={}){return s?Fs(ku(s,e),y({whitespace:!1},e)):""}function Ou(s,e={}){const t={};if(!s)return t;const n=Object.entries(s),r=Object.entries(yl).concat(Object.entries((e==null?void 0:e.customHeaderMap)||{})),i=n.reduce((a,u)=>{var h,c;const[S,E]=u,z=((h=r.find(te=>te[1].includes(S)))===null||h===void 0?void 0:h[0])||Vs.REQUEST;return(c=a[z])!==null&&c!==void 0||(a[z]={}),a[z][S]=E,a},{});return Object.entries(i).reduce((a,[u,h])=>(a[u]=jl(h,e),a),t)}function Nu(s,e,t){return y(s,Ou(e,t))}const Uu="CMCD";function Mu(s,e={}){if(!s)return"";const t=jl(s,e);return`${Uu}=${encodeURIComponent(t)}`}const Wl=/CMCD=[^&#]+/;function Bu(s,e,t){const n=Mu(e,t);if(!n)return s;if(Wl.test(s))return s.replace(Wl,n);const r=s.includes("?")?"&":"?";return`${s}${r}${n}`}class Ku{constructor(e){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=r=>{try{this.apply(r,{ot:Ka.MANIFEST,su:!this.initialized})}catch(i){this.hls.logger.warn("Could not generate manifest CMCD data.",i)}},this.applyFragmentData=r=>{try{const{frag:i,part:a}=r,u=this.hls.levels[i.level],h=this.getObjectType(i),c={d:(a||i).duration*1e3,ot:h};(h===Ka.VIDEO||h===Ka.AUDIO||h==Ka.MUXED)&&(c.br=u.bitrate/1e3,c.tb=this.getTopBandwidth(h)/1e3,c.bl=this.getBufferLength(h));const S=a?this.getNextPart(a):this.getNextFrag(i);S!=null&&S.url&&S.url!==i.url&&(c.nor=S.url),this.apply(r,c)}catch(i){this.hls.logger.warn("Could not generate segment CMCD data.",i)}},this.hls=e;const t=this.config=e.config,{cmcd:n}=t;n!=null&&(t.pLoader=this.createPlaylistLoader(),t.fLoader=this.createFragmentLoader(),this.sid=n.sessionId||e.sessionId,this.cid=n.contentId,this.useHeaders=n.useHeaders===!0,this.includeKeys=n.includeKeys,this.registerListeners())}registerListeners(){const e=this.hls;e.on(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(m.MEDIA_DETACHED,this.onMediaDetached,this),e.on(m.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const e=this.hls;e.off(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(m.MEDIA_DETACHED,this.onMediaDetached,this),e.off(m.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(e,t){this.media=t.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(e,t){var n,r;this.audioBuffer=(n=t.tracks.audio)==null?void 0:n.buffer,this.videoBuffer=(r=t.tracks.video)==null?void 0:r.buffer}createData(){var e;return{v:1,sf:qo.HLS,sid:this.sid,cid:this.cid,pr:(e=this.media)==null?void 0:e.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(e,t={}){y(t,this.createData());const n=t.ot===Ka.INIT||t.ot===Ka.VIDEO||t.ot===Ka.MUXED;this.starved&&n&&(t.bs=!0,t.su=!0,this.starved=!1),t.su==null&&(t.su=this.buffering);const{includeKeys:r}=this;r&&(t=Object.keys(t).reduce((a,u)=>(r.includes(u)&&(a[u]=t[u]),a),{}));const i={baseUrl:e.url};this.useHeaders?(e.headers||(e.headers={}),Nu(e.headers,t,i)):e.url=Bu(e.url,t,i)}getNextFrag(e){var t;const n=(t=this.hls.levels[e.level])==null?void 0:t.details;if(n){const r=e.sn-n.startSN;return n.fragments[r+1]}}getNextPart(e){var t,n;const{index:r,fragment:i}=e,a=(t=this.hls.levels[i.level])==null||(n=t.details)==null?void 0:n.partList;if(a){const{sn:u}=i;for(let h=a.length-1;h>=0;h--){const c=a[h];if(c.index===r&&c.fragment.sn===u)return a[h+1]}}}getObjectType(e){const{type:t}=e;if(t==="subtitle")return Ka.TIMED_TEXT;if(e.sn==="initSegment")return Ka.INIT;if(t==="audio")return Ka.AUDIO;if(t==="main")return this.hls.audioTracks.length?Ka.VIDEO:Ka.MUXED}getTopBandwidth(e){let t=0,n;const r=this.hls;if(e===Ka.AUDIO)n=r.audioTracks;else{const i=r.maxAutoLevel,a=i>-1?i+1:r.levels.length;n=r.levels.slice(0,a)}for(const i of n)i.bitrate>t&&(t=i.bitrate);return t>0?t:NaN}getBufferLength(e){const t=this.media,n=e===Ka.AUDIO?this.audioBuffer:this.videoBuffer;return!n||!t?NaN:Cr.bufferInfo(n,t.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:e}=this.config,t=this.applyPlaylistData,n=e||this.config.loader;return class{constructor(i){this.loader=void 0,this.loader=new n(i)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(i,a,u){t(i),this.loader.load(i,a,u)}}}createFragmentLoader(){const{fLoader:e}=this.config,t=this.applyFragmentData,n=e||this.config.loader;return class{constructor(i){this.loader=void 0,this.loader=new n(i)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(i,a,u){t(i),this.loader.load(i,a,u)}}}}const zu=3e5;class Hu extends pe{constructor(e){super("content-steering",e.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=e,this.registerListeners()}registerListeners(){const e=this.hls;e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(m.MANIFEST_PARSED,this.onManifestParsed,this),e.on(m.ERROR,this.onError,this)}unregisterListeners(){const e=this.hls;e&&(e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(m.MANIFEST_PARSED,this.onManifestParsed,this),e.off(m.ERROR,this.onError,this))}pathways(){return(this.levels||[]).reduce((e,t)=>(e.indexOf(t.pathwayId)===-1&&e.push(t.pathwayId),e),[])}get pathwayPriority(){return this._pathwayPriority}set pathwayPriority(e){this.updatePathwayPriority(e)}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const e=this.timeToLoad*1e3-(performance.now()-this.updated);if(e>0){this.scheduleRefresh(this.uri,e);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(e){const t=this.levels;t&&(this.levels=t.filter(n=>n!==e))}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(e,t){const{contentSteering:n}=t;n!==null&&(this.pathwayId=n.pathwayId,this.uri=n.uri,this.started&&this.startLoad())}onManifestParsed(e,t){this.audioTracks=t.audioTracks,this.subtitleTracks=t.subtitleTracks}onError(e,t){const{errorAction:n}=t;if((n==null?void 0:n.action)===Hn.SendAlternateToPenaltyBox&&n.flags===gt.MoveAllAlternatesMatchingHost){const r=this.levels;let i=this._pathwayPriority,a=this.pathwayId;if(t.context){const{groupId:u,pathwayId:h,type:c}=t.context;u&&r?a=this.getPathwayForGroupId(u,c,a):h&&(a=h)}a in this.penalizedPathways||(this.penalizedPathways[a]=performance.now()),!i&&r&&(i=this.pathways()),i&&i.length>1&&(this.updatePathwayPriority(i),n.resolved=this.pathwayId!==a),n.resolved||this.warn(`Could not resolve ${t.details} ("${t.error.message}") with content-steering for Pathway: ${a} levels: ${r&&r.length} priorities: ${fn(i)} penalized: ${fn(this.penalizedPathways)}`)}}filterParsedLevels(e){this.levels=e;let t=this.getLevelsForPathway(this.pathwayId);if(t.length===0){const n=e[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${n}"`),t=this.getLevelsForPathway(n),this.pathwayId=n}return t.length!==e.length&&this.log(`Found ${t.length}/${e.length} levels in Pathway "${this.pathwayId}"`),t}getLevelsForPathway(e){return this.levels===null?[]:this.levels.filter(t=>e===t.pathwayId)}updatePathwayPriority(e){this._pathwayPriority=e;let t;const n=this.penalizedPathways,r=performance.now();Object.keys(n).forEach(i=>{r-n[i]>zu&&delete n[i]});for(let i=0;i<e.length;i++){const a=e[i];if(a in n)continue;if(a===this.pathwayId)return;const u=this.hls.nextLoadLevel,h=this.hls.levels[u];if(t=this.getLevelsForPathway(a),t.length>0){this.log(`Setting Pathway to "${a}"`),this.pathwayId=a,cs(t),this.hls.trigger(m.LEVELS_UPDATED,{levels:t});const c=this.hls.levels[u];h&&c&&this.levels&&(c.attrs["STABLE-VARIANT-ID"]!==h.attrs["STABLE-VARIANT-ID"]&&c.bitrate!==h.bitrate&&this.log(`Unstable Pathways change from bitrate ${h.bitrate} to ${c.bitrate}`),this.hls.nextLoadLevel=u);break}}}getPathwayForGroupId(e,t,n){const r=this.getLevelsForPathway(n).concat(this.levels||[]);for(let i=0;i<r.length;i++)if(t===w.AUDIO_TRACK&&r[i].hasAudioGroup(e)||t===w.SUBTITLE_TRACK&&r[i].hasSubtitleGroup(e))return r[i].pathwayId;return n}clonePathways(e){const t=this.levels;if(!t)return;const n={},r={};e.forEach(i=>{const{ID:a,"BASE-ID":u,"URI-REPLACEMENT":h}=i;if(t.some(S=>S.pathwayId===a))return;const c=this.getLevelsForPathway(u).map(S=>{const E=new Mr(S.attrs);E["PATHWAY-ID"]=a;const z=E.AUDIO&&`${E.AUDIO}_clone_${a}`,te=E.SUBTITLES&&`${E.SUBTITLES}_clone_${a}`;z&&(n[E.AUDIO]=z,E.AUDIO=z),te&&(r[E.SUBTITLES]=te,E.SUBTITLES=te);const ee=Gl(S.uri,E["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",h),De=new An({attrs:E,audioCodec:S.audioCodec,bitrate:S.bitrate,height:S.height,name:S.name,url:ee,videoCodec:S.videoCodec,width:S.width});if(S.audioGroups)for(let Ne=1;Ne<S.audioGroups.length;Ne++)De.addGroupId("audio",`${S.audioGroups[Ne]}_clone_${a}`);if(S.subtitleGroups)for(let Ne=1;Ne<S.subtitleGroups.length;Ne++)De.addGroupId("text",`${S.subtitleGroups[Ne]}_clone_${a}`);return De});t.push(...c),Vl(this.audioTracks,n,h,a),Vl(this.subtitleTracks,r,h,a)})}loadSteeringManifest(e){const t=this.hls.config,n=t.loader;this.loader&&this.loader.destroy(),this.loader=new n(t);let r;try{r=new self.URL(e)}catch(S){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${e}`);return}if(r.protocol!=="data:"){const S=(this.hls.bandwidthEstimate||t.abrEwmaDefaultEstimate)|0;r.searchParams.set("_HLS_pathway",this.pathwayId),r.searchParams.set("_HLS_throughput",""+S)}const i={responseType:"json",url:r.href},a=t.steeringManifestLoadPolicy.default,u=a.errorRetry||a.timeoutRetry||{},h={loadPolicy:a,timeout:a.maxLoadTimeMs,maxRetry:u.maxNumRetry||0,retryDelay:u.retryDelayMs||0,maxRetryDelay:u.maxRetryDelayMs||0},c={onSuccess:(S,E,z,te)=>{this.log(`Loaded steering manifest: "${r}"`);const ee=S.data;if((ee==null?void 0:ee.VERSION)!==1){this.log(`Steering VERSION ${ee.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=ee.TTL;const{"RELOAD-URI":De,"PATHWAY-CLONES":Ne,"PATHWAY-PRIORITY":tt}=ee;if(De)try{this.uri=new self.URL(De,r).href}catch(ct){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${De}`);return}this.scheduleRefresh(this.uri||z.url),Ne&&this.clonePathways(Ne);const St={steeringManifest:ee,url:r.toString()};this.hls.trigger(m.STEERING_MANIFEST_LOADED,St),tt&&this.updatePathwayPriority(tt)},onError:(S,E,z,te)=>{if(this.log(`Error loading steering manifest: ${S.code} ${S.text} (${E.url})`),this.stopLoad(),S.code===410){this.enabled=!1,this.log(`Steering manifest ${E.url} no longer available`);return}let ee=this.timeToLoad*1e3;if(S.code===429){const De=this.loader;if(typeof(De==null?void 0:De.getResponseHeader)=="function"){const Ne=De.getResponseHeader("Retry-After");Ne&&(ee=parseFloat(Ne)*1e3)}this.log(`Steering manifest ${E.url} rate limited`);return}this.scheduleRefresh(this.uri||E.url,ee)},onTimeout:(S,E,z)=>{this.log(`Timeout loading steering manifest (${E.url})`),this.scheduleRefresh(this.uri||E.url)}};this.log(`Requesting steering manifest: ${r}`),this.loader.load(i,h,c)}scheduleRefresh(e,t=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var n;const r=(n=this.hls)==null?void 0:n.media;if(r&&!r.ended){this.loadSteeringManifest(e);return}this.scheduleRefresh(e,this.timeToLoad*1e3)},t)}}function Vl(s,e,t,n){s&&Object.keys(e).forEach(r=>{const i=s.filter(a=>a.groupId===r).map(a=>{const u=y({},a);return u.details=void 0,u.attrs=new Mr(u.attrs),u.url=u.attrs.URI=Gl(a.url,a.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",t),u.groupId=u.attrs["GROUP-ID"]=e[r],u.attrs["PATHWAY-ID"]=n,u});s.push(...i)})}function Gl(s,e,t,n){const{HOST:r,PARAMS:i,[t]:a}=n;let u;e&&(u=a==null?void 0:a[e],u&&(s=u));const h=new self.URL(s);return r&&!u&&(h.host=r),i&&Object.keys(i).sort().forEach(c=>{c&&h.searchParams.set(c,i[c])}),h.href}class Ro extends pe{constructor(e){super("eme",e.logger),this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=Ro.CDMCleanupPromise?[Ro.CDMCleanupPromise]:[],this.onMediaEncrypted=t=>{const{initDataType:n,initData:r}=t,i=`"${t.type}" event: init data type: "${n}"`;if(this.debug(i),r!==null){if(!this.keyFormatPromise){let a=Object.keys(this.keySystemAccessPromises);a.length||(a=or(this.config));const u=a.map(sa).filter(h=>!!h);this.keyFormatPromise=this.getKeyFormatPromise(u)}this.keyFormatPromise.then(a=>{const u=Ca(a);let h,c;if(n==="sinf"){if(u!==Br.FAIRPLAY){this.warn(`Ignoring unexpected "${t.type}" event with init data type: "${n}" for selected key-system ${u}`);return}const ee=Pt(new Uint8Array(r));try{const De=Jn(JSON.parse(ee).sinf),Ne=V(De);if(!Ne)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");h=new Uint8Array(Ne.subarray(8,24)),c=Br.FAIRPLAY}catch(De){this.warn(`${i} Failed to parse sinf: ${De}`);return}}else{if(u!==Br.WIDEVINE&&u!==Br.PLAYREADY){this.warn(`Ignoring unexpected "${t.type}" event with init data type: "${n}" for selected key-system ${u}`);return}const ee=bt(r),De=ee.filter(tt=>!!tt.systemId&&fa(tt.systemId)===u);De.length>1&&this.warn(`${i} Using first of ${De.length} pssh found for selected key-system ${u}`);const Ne=De[0];if(!Ne){ee.length===0||ee.some(tt=>!tt.systemId)?this.warn(`${i} contains incomplete or invalid pssh data`):this.log(`ignoring ${i} for ${ee.map(tt=>fa(tt.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(c=fa(Ne.systemId),Ne.version===0&&Ne.data)if(c===Br.WIDEVINE){const tt=Ne.data.length-22;h=new Uint8Array(Ne.data.subarray(tt,tt+16))}else c===Br.PLAYREADY&&(h=gi(Ne.data))}if(!c||!h)return;const S=oe.hexDump(h),{keyIdToKeySessionPromise:E,mediaKeySessions:z}=this;let te=E[S];for(let ee=0;ee<z.length;ee++){const De=z[ee],Ne=De.decryptdata;if(!Ne.keyId)continue;const tt=oe.hexDump(Ne.keyId);if(S===tt||Ne.uri.replace(/-/g,"").indexOf(S)!==-1){if(te=E[tt],Ne.pssh)break;delete E[tt],Ne.pssh=new Uint8Array(r),Ne.keyId=h,te=E[S]=te.then(()=>this.generateRequestWithPreferredKeySession(De,n,r,"encrypted-event-key-match")),te.catch(St=>this.handleError(St));break}}if(!te){if(c!==u){this.log(`Ignoring "${t.type}" event with ${c} init data for selected key-system ${u}`);return}te=E[S]=this.getKeySystemSelectionPromise([c]).then(({keySystem:ee,mediaKeys:De})=>{var Ne;this.throwIfDestroyed();const tt=new Ta("ISO-23001-7",S,(Ne=sa(ee))!=null?Ne:"");return tt.pssh=new Uint8Array(r),tt.keyId=h,this.attemptSetMediaKeys(ee,De).then(()=>{this.throwIfDestroyed();const St=this.createMediaKeySessionContext({decryptdata:tt,keySystem:ee,mediaKeys:De});return this.generateRequestWithPreferredKeySession(St,n,r,"encrypted-event-no-match")})}),te.catch(ee=>this.handleError(ee))}})}},this.onWaitingForKey=t=>{this.log(`"${t.type}" event`)},this.hls=e,this.config=e.config,this.registerListeners()}destroy(){const e=this.media;this.unregisterListeners(),this.onMediaDetached(),this._clear(e);const t=this.config;t.requestMediaKeySystemAccessFunc=null,t.licenseXhrSetup=t.licenseResponseCallback=void 0,t.drmSystems=t.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(m.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(m.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(m.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(m.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(m.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(m.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(m.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(m.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(e){const{drmSystems:t,widevineLicenseUrl:n}=this.config,r=t[e];if(r)return r.licenseUrl;if(e===Br.WIDEVINE&&n)return n}getLicenseServerUrlOrThrow(e){const t=this.getLicenseServerUrl(e);if(t===void 0)throw new Error(`no license server URL configured for key-system "${e}"`);return t}getServerCertificateUrl(e){const{drmSystems:t}=this.config,n=t[e];if(n)return n.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${e}"]`)}attemptKeySystemAccess(e){const t=this.hls.levels,n=(a,u,h)=>!!a&&h.indexOf(a)===u,r=t.map(a=>a.audioCodec).filter(n),i=t.map(a=>a.videoCodec).filter(n);return r.length+i.length===0&&i.push("avc1.42e01e"),new Promise((a,u)=>{const h=c=>{const S=c.shift();this.getMediaKeysPromise(S,r,i).then(E=>a({keySystem:S,mediaKeys:E})).catch(E=>{c.length?h(c):E instanceof gs?u(E):u(new gs({type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_NO_ACCESS,error:E,fatal:!0},E.message))})};h(e)})}requestMediaKeySystemAccess(e,t){const{requestMediaKeySystemAccessFunc:n}=this.config;if(typeof n!="function"){let r=`Configured requestMediaKeySystemAccess is not a function ${n}`;return Lr===null&&self.location.protocol==="http:"&&(r=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(r))}return n(e,t)}getMediaKeysPromise(e,t,n){const r=Si(e,t,n,this.config.drmSystemOptions),i=this.keySystemAccessPromises[e];let a=i==null?void 0:i.keySystemAccess;if(!a){this.log(`Requesting encrypted media "${e}" key-system access with config: ${fn(r)}`),a=this.requestMediaKeySystemAccess(e,r);const u=this.keySystemAccessPromises[e]={keySystemAccess:a};return a.catch(h=>{this.log(`Failed to obtain access to key-system "${e}": ${h}`)}),a.then(h=>{this.log(`Access for key-system "${h.keySystem}" obtained`);const c=this.fetchServerCertificate(e);return this.log(`Create media-keys for "${e}"`),u.mediaKeys=h.createMediaKeys().then(S=>(this.log(`Media-keys created for "${e}"`),c.then(E=>E?this.setMediaKeysServerCertificate(S,e,E):S))),u.mediaKeys.catch(S=>{this.error(`Failed to create media-keys for "${e}"}: ${S}`)}),u.mediaKeys})}return a.then(()=>i.mediaKeys)}createMediaKeySessionContext({decryptdata:e,keySystem:t,mediaKeys:n}){this.log(`Creating key-system session "${t}" keyId: ${oe.hexDump(e.keyId||[])}`);const r=n.createSession(),i={decryptdata:e,keySystem:t,mediaKeys:n,mediaKeysSession:r,keyStatus:"status-pending"};return this.mediaKeySessions.push(i),i}renewKeySession(e){const t=e.decryptdata;if(t.pssh){const n=this.createMediaKeySessionContext(e),r=this.getKeyIdString(t),i="cenc";this.keyIdToKeySessionPromise[r]=this.generateRequestWithPreferredKeySession(n,i,t.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(e)}getKeyIdString(e){if(!e)throw new Error("Could not read keyId of undefined decryptdata");if(e.keyId===null)throw new Error("keyId is null");return oe.hexDump(e.keyId)}updateKeySession(e,t){var n;const r=e.mediaKeysSession;return this.log(`Updating key-session "${r.sessionId}" for keyID ${oe.hexDump(((n=e.decryptdata)==null?void 0:n.keyId)||[])}
} (data length: ${t&&t.byteLength})`),r.update(t)}selectKeySystemFormat(e){const t=Object.keys(e.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${e.sn} ${e.type}: ${e.level}) key formats ${t.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(t)),this.keyFormatPromise}getKeyFormatPromise(e){return new Promise((t,n)=>{const r=or(this.config),i=e.map(Ca).filter(a=>!!a&&r.indexOf(a)!==-1);return this.getKeySystemSelectionPromise(i).then(({keySystem:a})=>{const u=sa(a);u?t(u):n(new Error(`Unable to find format for key-system "${a}"`))}).catch(n)})}loadKey(e){const t=e.keyInfo.decryptdata,n=this.getKeyIdString(t),r=`(keyId: ${n} format: "${t.keyFormat}" method: ${t.method} uri: ${t.uri})`;this.log(`Starting session for key ${r}`);let i=this.keyIdToKeySessionPromise[n];return i||(i=this.getKeySystemForKeyPromise(t).then(({keySystem:u,mediaKeys:h})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${e.frag.sn} ${e.frag.type}: ${e.frag.level} using key ${r}`),this.attemptSetMediaKeys(u,h).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:u,mediaKeys:h,decryptdata:t}))))),(this.keyIdToKeySessionPromise[n]=i.then(u=>{const h="cenc",c=t.pssh?t.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(u,h,c,"playlist-key")})).catch(u=>this.handleError(u))),i}throwIfDestroyed(e="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(e){this.hls&&(this.error(e.message),e instanceof gs?this.hls.trigger(m.ERROR,e.data):this.hls.trigger(m.ERROR,{type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_NO_KEYS,error:e,fatal:!0}))}getKeySystemForKeyPromise(e){const t=this.getKeyIdString(e),n=this.keyIdToKeySessionPromise[t];if(!n){const r=Ca(e.keyFormat),i=r?[r]:or(this.config);return this.attemptKeySystemAccess(i)}return n}getKeySystemSelectionPromise(e){if(e.length||(e=or(this.config)),e.length===0)throw new gs({type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${fn({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(e)}attemptSetMediaKeys(e,t){const n=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${e}"`);const r=Promise.all(n).then(()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(t)});return this.setMediaKeysQueue.push(r),r.then(()=>{this.log(`Media-keys set for "${e}"`),n.push(r),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(i=>n.indexOf(i)===-1)})}generateRequestWithPreferredKeySession(e,t,n,r){var i,a;const u=(i=this.config.drmSystems)==null||(a=i[e.keySystem])==null?void 0:a.generateRequest;if(u)try{const ee=u.call(this.hls,t,n,e);if(!ee)throw new Error("Invalid response from configured generateRequest filter");t=ee.initDataType,n=ee.initData?ee.initData:null,e.decryptdata.pssh=n?new Uint8Array(n):null}catch(ee){var h;if(this.warn(ee.message),(h=this.hls)!=null&&h.config.debug)throw ee}if(n===null)return this.log(`Skipping key-session request for "${r}" (no initData)`),Promise.resolve(e);const c=this.getKeyIdString(e.decryptdata);this.log(`Generating key-session request for "${r}": ${c} (init data type: ${t} length: ${n?n.byteLength:null})`);const S=new Js,E=e._onmessage=ee=>{const De=e.mediaKeysSession;if(!De){S.emit("error",new Error("invalid state"));return}const{messageType:Ne,message:tt}=ee;this.log(`"${Ne}" message event for session "${De.sessionId}" message size: ${tt.byteLength}`),Ne==="license-request"||Ne==="license-renewal"?this.renewLicense(e,tt).catch(St=>{S.eventNames().length?S.emit("error",St):this.handleError(St)}):Ne==="license-release"?e.keySystem===Br.FAIRPLAY&&(this.updateKeySession(e,Hr("acknowledged")),this.removeSession(e)):this.warn(`unhandled media key message type "${Ne}"`)},z=e._onkeystatuseschange=ee=>{if(!e.mediaKeysSession){S.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(e);const Ne=e.keyStatus;S.emit("keyStatus",Ne),Ne==="expired"&&(this.warn(`${e.keySystem} expired for key ${c}`),this.renewKeySession(e))};e.mediaKeysSession.addEventListener("message",E),e.mediaKeysSession.addEventListener("keystatuseschange",z);const te=new Promise((ee,De)=>{S.on("error",De),S.on("keyStatus",Ne=>{Ne.startsWith("usable")?ee():Ne==="output-restricted"?De(new gs({type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):Ne==="internal-error"?De(new gs({type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${Ne}"`)):Ne==="expired"?De(new Error("key expired while generating request")):this.warn(`unhandled key status change "${Ne}"`)})});return e.mediaKeysSession.generateRequest(t,n).then(()=>{var ee;this.log(`Request generated for key-session "${(ee=e.mediaKeysSession)==null?void 0:ee.sessionId}" keyId: ${c}`)}).catch(ee=>{throw new gs({type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_NO_SESSION,error:ee,fatal:!1},`Error generating key-session request: ${ee}`)}).then(()=>te).catch(ee=>{throw S.removeAllListeners(),this.removeSession(e),ee}).then(()=>(S.removeAllListeners(),e))}onKeyStatusChange(e){e.mediaKeysSession.keyStatuses.forEach((t,n)=>{this.log(`key status change "${t}" for keyStatuses keyId: ${oe.hexDump("buffer"in n?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):new Uint8Array(n))} session keyId: ${oe.hexDump(new Uint8Array(e.decryptdata.keyId||[]))} uri: ${e.decryptdata.uri}`),e.keyStatus=t})}fetchServerCertificate(e){const t=this.config,n=t.loader,r=new n(t),i=this.getServerCertificateUrl(e);return i?(this.log(`Fetching server certificate for "${e}"`),new Promise((a,u)=>{const h={responseType:"arraybuffer",url:i},c=t.certLoadPolicy.default,S={loadPolicy:c,timeout:c.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},E={onSuccess:(z,te,ee,De)=>{a(z.data)},onError:(z,te,ee,De)=>{u(new gs({type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:ee,response:A({url:h.url,data:void 0},z)},`"${e}" certificate request failed (${i}). Status: ${z.code} (${z.text})`))},onTimeout:(z,te,ee)=>{u(new gs({type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:ee,response:{url:h.url,data:void 0}},`"${e}" certificate request timed out (${i})`))},onAbort:(z,te,ee)=>{u(new Error("aborted"))}};r.load(h,S,E)})):Promise.resolve()}setMediaKeysServerCertificate(e,t,n){return new Promise((r,i)=>{e.setServerCertificate(n).then(a=>{this.log(`setServerCertificate ${a?"success":"not supported by CDM"} (${n==null?void 0:n.byteLength}) on "${t}"`),r(e)}).catch(a=>{i(new gs({type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:a,fatal:!0},a.message))})})}renewLicense(e,t){return this.requestLicense(e,new Uint8Array(t)).then(n=>this.updateKeySession(e,new Uint8Array(n)).catch(r=>{throw new gs({type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:r,fatal:!0},r.message)}))}unpackPlayReadyKeyMessage(e,t){const n=String.fromCharCode.apply(null,new Uint16Array(t.buffer));if(!n.includes("PlayReadyKeyMessage"))return e.setRequestHeader("Content-Type","text/xml; charset=utf-8"),t;const r=new DOMParser().parseFromString(n,"application/xml"),i=r.querySelectorAll("HttpHeader");if(i.length>0){let S;for(let E=0,z=i.length;E<z;E++){var a,u;S=i[E];const te=(a=S.querySelector("name"))==null?void 0:a.textContent,ee=(u=S.querySelector("value"))==null?void 0:u.textContent;te&&ee&&e.setRequestHeader(te,ee)}}const h=r.querySelector("Challenge"),c=h==null?void 0:h.textContent;if(!c)throw new Error("Cannot find <Challenge> in key message");return Hr(atob(c))}setupLicenseXHR(e,t,n,r){const i=this.config.licenseXhrSetup;return i?Promise.resolve().then(()=>{if(!n.decryptdata)throw new Error("Key removed");return i.call(this.hls,e,t,n,r)}).catch(a=>{if(!n.decryptdata)throw a;return e.open("POST",t,!0),i.call(this.hls,e,t,n,r)}).then(a=>(e.readyState||e.open("POST",t,!0),{xhr:e,licenseChallenge:a||r})):(e.open("POST",t,!0),Promise.resolve({xhr:e,licenseChallenge:r}))}requestLicense(e,t){const n=this.config.keyLoadPolicy.default;return new Promise((r,i)=>{const a=this.getLicenseServerUrlOrThrow(e.keySystem);this.log(`Sending license request to URL: ${a}`);const u=new XMLHttpRequest;u.responseType="arraybuffer",u.onreadystatechange=()=>{if(!this.hls||!e.mediaKeysSession)return i(new Error("invalid state"));if(u.readyState===4)if(u.status===200){this._requestLicenseFailureCount=0;let h=u.response;this.log(`License received ${h instanceof ArrayBuffer?h.byteLength:h}`);const c=this.config.licenseResponseCallback;if(c)try{h=c.call(this.hls,u,a,e)}catch(S){this.error(S)}r(h)}else{const h=n.errorRetry,c=h?h.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>c||u.status>=400&&u.status<500)i(new gs({type:ge.KEY_SYSTEM_ERROR,details:F.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:u,response:{url:a,data:void 0,code:u.status,text:u.statusText}},`License Request XHR failed (${a}). Status: ${u.status} (${u.statusText})`));else{const S=c-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${S} attempts left`),this.requestLicense(e,t).then(r,i)}}},e.licenseXhr&&e.licenseXhr.readyState!==XMLHttpRequest.DONE&&e.licenseXhr.abort(),e.licenseXhr=u,this.setupLicenseXHR(u,a,e,t).then(({xhr:h,licenseChallenge:c})=>{e.keySystem==Br.PLAYREADY&&(c=this.unpackPlayReadyKeyMessage(h,c)),h.send(c)})})}onMediaAttached(e,t){if(!this.config.emeEnabled)return;const n=t.media;this.media=n,n.removeEventListener("encrypted",this.onMediaEncrypted),n.removeEventListener("waitingforkey",this.onWaitingForKey),n.addEventListener("encrypted",this.onMediaEncrypted),n.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const e=this.media;e&&(e.removeEventListener("encrypted",this.onMediaEncrypted),e.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null)}_clear(e){var t;const n=this.mediaKeySessions;this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Ta.clearKeyUriToKeyIdMap();const r=n.length;Ro.CDMCleanupPromise=Promise.all(n.map(i=>this.removeSession(i)).concat(e==null||(t=e.setMediaKeys(null))==null?void 0:t.catch(i=>{var a;this.log(`Could not clear media keys: ${i}`),(a=this.hls)==null||a.trigger(m.ERROR,{type:ge.OTHER_ERROR,details:F.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${i}`)})}))).then(()=>{r&&(this.log("finished closing key sessions and clearing media keys"),n.length=0)}).catch(i=>{var a;this.log(`Could not close sessions and clear media keys: ${i}`),(a=this.hls)==null||a.trigger(m.ERROR,{type:ge.OTHER_ERROR,details:F.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${i}`)})})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(e,{sessionKeys:t}){if(!(!t||!this.config.emeEnabled)&&!this.keyFormatPromise){const n=t.reduce((r,i)=>(r.indexOf(i.keyFormat)===-1&&r.push(i.keyFormat),r),[]);this.log(`Selecting key-system from session-keys ${n.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(n)}}removeSession(e){const{mediaKeysSession:t,licenseXhr:n}=e;if(t){this.log(`Remove licenses and keys and close session ${t.sessionId}`),e._onmessage&&(t.removeEventListener("message",e._onmessage),e._onmessage=void 0),e._onkeystatuseschange&&(t.removeEventListener("keystatuseschange",e._onkeystatuseschange),e._onkeystatuseschange=void 0),n&&n.readyState!==XMLHttpRequest.DONE&&n.abort(),e.mediaKeysSession=e.decryptdata=e.licenseXhr=void 0;const r=this.mediaKeySessions.indexOf(e);return r>-1&&this.mediaKeySessions.splice(r,1),t.remove().catch(i=>{var a;this.log(`Could not remove session: ${i}`),(a=this.hls)==null||a.trigger(m.ERROR,{type:ge.OTHER_ERROR,details:F.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${i}`)})}).then(()=>t.close()).catch(i=>{var a;this.log(`Could not close session: ${i}`),(a=this.hls)==null||a.trigger(m.ERROR,{type:ge.OTHER_ERROR,details:F.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${i}`)})})}}}Ro.CDMCleanupPromise=void 0;class gs extends Error{constructor(e,t){super(t),this.data=void 0,e.error||(e.error=new Error(t)),this.data=e,e.err=e.error}}class ju{constructor(e){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=e,this.registerListeners()}setStreamController(e){this.streamController=e}registerListeners(){this.hls.on(m.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(m.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(m.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(m.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(e,t){const n=this.hls.config;if(n.capLevelOnFPSDrop){const r=t.media instanceof self.HTMLVideoElement?t.media:null;this.media=r,r&&typeof r.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),n.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(e,t,n){const r=performance.now();if(t){if(this.lastTime){const i=r-this.lastTime,a=n-this.lastDroppedFrames,u=t-this.lastDecodedFrames,h=1e3*a/i,c=this.hls;if(c.trigger(m.FPS_DROP,{currentDropped:a,currentDecoded:u,totalDroppedFrames:n}),h>0&&a>c.config.fpsDroppedMonitoringThreshold*u){let S=c.currentLevel;c.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+S),S>0&&(c.autoLevelCapping===-1||c.autoLevelCapping>=S)&&(S=S-1,c.trigger(m.FPS_DROP_LEVEL_CAPPING,{level:S,droppedLevel:c.currentLevel}),c.autoLevelCapping=S,this.streamController.nextLevelSwitch())}}this.lastTime=r,this.lastDroppedFrames=n,this.lastDecodedFrames=t}}checkFPSInterval(){const e=this.media;if(e)if(this.isVideoPlaybackQualityAvailable){const t=e.getVideoPlaybackQuality();this.checkFPS(e,t.totalVideoFrames,t.droppedVideoFrames)}else this.checkFPS(e,e.webkitDecodedFrameCount,e.webkitDroppedFrameCount)}}function $l(s,e){let t;try{t=new Event("addtrack")}catch(n){t=document.createEvent("Event"),t.initEvent("addtrack",!1,!1)}t.track=s,e.dispatchEvent(t)}function Zl(s,e){const t=s.mode;if(t==="disabled"&&(s.mode="hidden"),s.cues&&!s.cues.getCueById(e.id))try{if(s.addCue(e),!s.cues.getCueById(e.id))throw new Error(`addCue is failed for: ${e}`)}catch(n){j.debug(`[texttrack-utils]: ${n}`);try{const r=new self.TextTrackCue(e.startTime,e.endTime,e.text);r.id=e.id,s.addCue(r)}catch(r){j.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${r}`)}}t==="disabled"&&(s.mode=t)}function Do(s,e){const t=s.mode;if(t==="disabled"&&(s.mode="hidden"),s.cues)for(let n=s.cues.length;n--;)e&&s.cues[n].removeEventListener("enter",e),s.removeCue(s.cues[n]);t==="disabled"&&(s.mode=t)}function _l(s,e,t,n){const r=s.mode;if(r==="disabled"&&(s.mode="hidden"),s.cues&&s.cues.length>0){const i=Vu(s.cues,e,t);for(let a=0;a<i.length;a++)(!n||n(i[a]))&&s.removeCue(i[a])}r==="disabled"&&(s.mode=r)}function Wu(s,e){if(e<=s[0].startTime)return 0;const t=s.length-1;if(e>s[t].endTime)return-1;let n=0,r=t,i;for(;n<=r;)if(i=Math.floor((r+n)/2),e<s[i].startTime)r=i-1;else if(e>s[i].startTime&&n<t)n=i+1;else return i;return s[n].startTime-e<e-s[r].startTime?n:r}function Vu(s,e,t){const n=[],r=Wu(s,e);if(r>-1)for(let i=r,a=s.length;i<a;i++){const u=s[i];if(u.startTime>=e&&u.endTime<=t)n.push(u);else if(u.startTime>t)return n}return n}function ul(s){const e=[];for(let t=0;t<s.length;t++){const n=s[t];(n.kind==="subtitles"||n.kind==="captions")&&n.label&&e.push(s[t])}return e}class Gu extends Li{constructor(e){super(e,"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 t=null;const n=ul(this.media.textTracks);for(let i=0;i<n.length;i++)if(n[i].mode==="hidden")t=n[i];else if(n[i].mode==="showing"){t=n[i];break}const r=this.findTrackForTextTrack(t);this.subtitleTrack!==r&&this.setSubtitleTrack(r)},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(e){this._subtitleDisplay=e,this.trackId>-1&&this.toggleTrackModes()}registerListeners(){const{hls:e}=this;e.on(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.MANIFEST_PARSED,this.onManifestParsed,this),e.on(m.LEVEL_LOADING,this.onLevelLoading,this),e.on(m.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(m.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(m.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.MANIFEST_PARSED,this.onManifestParsed,this),e.off(m.LEVEL_LOADING,this.onLevelLoading,this),e.off(m.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(m.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(m.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.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(e){self.clearInterval(this.subtitlePollingInterval),this.subtitlePollingInterval=self.setInterval(this.onTextTracksChanged,e)}onMediaDetaching(e,t){const n=this.media;if(!n)return;const r=!!t.transferMedia;if(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||n.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,r)return;ul(n.textTracks).forEach(a=>{Do(a)})}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(e,t){this.tracks=t.subtitleTracks}onSubtitleTrackLoaded(e,t){const{id:n,groupId:r,details:i}=t,a=this.tracksInGroup[n];if(!a||a.groupId!==r){this.warn(`Subtitle track with id:${n} and group:${r} not found in active group ${a==null?void 0:a.groupId}`);return}const u=a.details;a.details=t.details,this.log(`Subtitle track ${n} "${a.name}" lang:${a.lang} group:${r} loaded [${i.startSN}-${i.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,u)}onLevelLoading(e,t){this.switchLevel(t.level)}onLevelSwitching(e,t){this.switchLevel(t.level)}switchLevel(e){const t=this.hls.levels[e];if(!t)return;const n=t.subtitleGroups||null,r=this.groupIds;let i=this.currentTrack;if(!n||(r==null?void 0:r.length)!==(n==null?void 0:n.length)||n!=null&&n.some(a=>(r==null?void 0:r.indexOf(a))===-1)){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const a=this.tracks.filter(S=>!n||n.indexOf(S.groupId)!==-1);if(a.length)this.selectDefaultTrack&&!a.some(S=>S.default)&&(this.selectDefaultTrack=!1),a.forEach((S,E)=>{S.id=E});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=a;const u=this.hls.config.subtitlePreference;if(!i&&u){this.selectDefaultTrack=!1;const S=Dt(u,a);if(S>-1)i=a[S];else{const E=Dt(u,this.tracks);i=this.tracks[E]}}let h=this.findTrackId(i);h===-1&&i&&(h=this.findTrackId(null));const c={subtitleTracks:a};this.log(`Updating subtitle tracks, ${a.length} track(s) found in "${n==null?void 0:n.join(",")}" group-id`),this.hls.trigger(m.SUBTITLE_TRACKS_UPDATED,c),h!==-1&&this.trackId===-1&&this.setSubtitleTrack(h)}}findTrackId(e){const t=this.tracksInGroup,n=this.selectDefaultTrack;for(let r=0;r<t.length;r++){const i=t[r];if(!(n&&!i.default||!n&&!e)&&(!e||jt(i,e)))return r}if(e){for(let r=0;r<t.length;r++){const i=t[r];if(as(e.attrs,i.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return r}for(let r=0;r<t.length;r++){const i=t[r];if(as(e.attrs,i.attrs,["LANGUAGE"]))return r}}return-1}findTrackForTextTrack(e){if(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++){const r=t[n];if(ps(r,e))return n}}return-1}onError(e,t){t.fatal||!t.context||t.context.type===w.SUBTITLE_TRACK&&t.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(t.context.groupId)!==-1)&&this.checkRetry(t)}get allSubtitleTracks(){return this.tracks}get subtitleTracks(){return this.tracksInGroup}get subtitleTrack(){return this.trackId}set subtitleTrack(e){this.selectDefaultTrack=!1,this.setSubtitleTrack(e)}setSubtitleOption(e){if(this.hls.config.subtitlePreference=e,e){if(e.id===-1)return this.setSubtitleTrack(-1),null;const t=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,t.length){const n=this.currentTrack;if(n&&jt(e,n))return n;const r=Dt(e,this.tracksInGroup);if(r>-1){const i=this.tracksInGroup[r];return this.setSubtitleTrack(r),i}else{if(n)return null;{const i=Dt(e,t);if(i>-1)return t[i]}}}}return null}loadPlaylist(e){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=e.id,r=e.groupId,i=this.getUrlWithDirectives(e.url,t),a=e.details,u=a==null?void 0:a.age;this.log(`Loading subtitle ${n} "${e.name}" lang:${e.lang} group:${r}${(t==null?void 0:t.msn)!==void 0?" at sn "+t.msn+" part "+t.part:""}${u&&a.live?" age "+u.toFixed(1)+(a.type?" "+a.type||0:""):""} ${i}`),this.hls.trigger(m.SUBTITLE_TRACK_LOADING,{url:i,id:n,groupId:r,deliveryDirectives:t||null,track:e})}toggleTrackModes(){const{media:e}=this;if(!e)return;const t=ul(e.textTracks),n=this.currentTrack;let r;if(n&&(r=t.filter(i=>ps(n,i))[0],r||this.warn(`Unable to find subtitle TextTrack with name "${n.name}" and language "${n.lang}"`)),[].slice.call(t).forEach(i=>{i.mode!=="disabled"&&i!==r&&(i.mode="disabled")}),r){const i=this.subtitleDisplay?"showing":"hidden";r.mode!==i&&(r.mode=i)}}setSubtitleTrack(e){const t=this.tracksInGroup;if(!this.media){this.queuedDefaultTrack=e;return}if(e<-1||e>=t.length||!g(e)){this.warn(`Invalid subtitle track id: ${e}`);return}this.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e]||null;if(this.trackId=e,this.currentTrack=r,this.toggleTrackModes(),!r){this.hls.trigger(m.SUBTITLE_TRACK_SWITCH,{id:e});return}const i=!!r.details&&!r.details.live;if(e===this.trackId&&r===n&&i)return;this.log(`Switching to subtitle-track ${e}`+(r?` "${r.name}" lang:${r.lang} group:${r.groupId}`:""));const{id:a,groupId:u="",name:h,type:c,url:S}=r;this.hls.trigger(m.SUBTITLE_TRACK_SWITCH,{id:a,groupId:u,name:h,type:c,url:S});const E=this.switchParams(r.url,n==null?void 0:n.details,r.details);this.loadPlaylist(E)}}function Go(s){let e=5381,t=s.length;for(;t;)e=e*33^s.charCodeAt(--t);return(e>>>0).toString()}const Io=.025;let cl=function(s){return s[s.Point=0]="Point",s[s.Range=1]="Range",s}({});function $u(s,e,t){return`${s.identifier}-${t+1}-${Go(e)}`}class Zu{constructor(e,t){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=t,this.dateRange=e,this.setDateRange(e)}setDateRange(e){this.dateRange=e,this.resumeOffset=e.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=e.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=e.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=e.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var e;this.appendInPlaceStarted=!1,(e=this.assetListLoader)==null||e.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(e){if(e>=this.assetList.length)return!0;const t=this.playoutLimit;return e<=0||isNaN(t)?!1:this.assetList[e].startOffset>t}findAssetIndex(e){return this.assetList.indexOf(e)}get identifier(){return this.dateRange.id}get startDate(){return this.dateRange.startDate}get startTime(){const e=this.dateRange.startTime;if(this.snapOptions.out){const t=this.dateRange.tagAnchor;if(t)return wl(e,t)}return e}get startOffset(){return this.cue.pre?0:this.startTime}get startIsAligned(){if(this.startTime===0||this.snapOptions.out)return!0;const e=this.dateRange.tagAnchor;if(e){const t=this.dateRange.startTime,n=wl(t,e);return t-n<.1}return!1}get resumptionOffset(){const e=this.resumeOffset,t=g(e)?e:this.duration;return this.cumulativeDuration+t}get resumeTime(){const e=this.startOffset+this.resumptionOffset;if(this.snapOptions.in){const t=this.resumeAnchor;if(t)return wl(e,t)}return e}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)<Io))}set appendInPlace(e){if(this.appendInPlaceStarted){this.resetOnResume=!e;return}this.appendInPlaceDisabled=!e}get timelineStart(){return this._timelineStart!==null?this._timelineStart:this.startTime}set timelineStart(e){this._timelineStart=e}get duration(){const e=this.playoutLimit;let t;return this._duration!==null?t=this._duration:this.dateRange.duration?t=this.dateRange.duration:t=this.dateRange.plannedDuration||0,!isNaN(e)&&e<t&&(t=e),t}set duration(e){this._duration=e}get cue(){return this.dateRange.cue}get timelineOccupancy(){return this.dateRange.attr["X-TIMELINE-OCCUPIES"]==="RANGE"?cl.Range:cl.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 Yu(this)}}function wl(s,e){return s-e.start<e.duration/2&&!(Math.abs(s-(e.start+e.duration))<Io)?e.start:e.start+e.duration}function Yl(s,e,t){const n=new self.URL(s,t);return n.protocol!=="data:"&&n.searchParams.set("_HLS_primary_id",e),n}function Yu(s){return`["${s.identifier}" ${s.cue.pre?"<pre>":s.cue.post?"<post>":""}${s.timelineStart.toFixed(2)}-${s.resumeTime.toFixed(2)}]`}function Cl(s){const e=s.timelineStart,t=s.duration||0;return`["${s.identifier}" ${e.toFixed(2)}-${(e+t).toFixed(2)}]`}class Qu{constructor(e,t,n,r){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetails=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{const c=this.interstitial.playoutLimit,S=this.currentTime;this.startOffset+S>=c&&this.hls.trigger(m.PLAYOUT_LIMIT_REACHED,{})};const i=this.hls=new e(t);this.interstitial=n,this.assetItem=r;let a=r.uri;try{a=Yl(a,i.sessionId).href}catch(h){}i.loadSource(a);const u=()=>{this.hasDetails=!0};i.once(m.LEVEL_LOADED,u),i.once(m.AUDIO_TRACK_LOADED,u),i.once(m.SUBTITLE_TRACK_LOADED,u),i.on(m.MEDIA_ATTACHING,(h,{media:c})=>{this.removeMediaListeners(),this.mediaAttached=c,this.interstitial.playoutLimit&&c.addEventListener("timeupdate",this.checkPlayout)})}bufferedInPlaceToEnd(e){var t;if(!this.interstitial.appendInPlace)return!1;if((t=this.hls)!=null&&t.bufferedToEnd)return!0;if(!e||!this._bufferedEosTime)return!1;const n=this.timelineOffset,r=Cr.bufferInfo(e,n,0);return this.getAssetTime(r.end)>=this._bufferedEosTime-.02}get destroyed(){var e;return!((e=this.hls)!=null&&e.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var e;return((e=this.hls)==null?void 0:e.media)||null}get bufferedEnd(){const e=this.media||this.mediaAttached;if(!e)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const t=Cr.bufferInfo(e,e.currentTime,.001);return this.getAssetTime(t.end)}get currentTime(){const e=this.media||this.mediaAttached;return e?this.getAssetTime(e.currentTime):this._currentTime||0}get duration(){const e=this.assetItem.duration;return e||0}get remaining(){const e=this.duration;return e?Math.max(0,e-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var e;return((e=this.hls)==null?void 0:e.config.timelineOffset)||0}set timelineOffset(e){const t=this.timelineOffset;if(e!==t){const n=e-t;if(Math.abs(n)>1/9e4){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=e}}}getAssetTime(e){const t=this.timelineOffset,n=this.duration;return Math.min(Math.max(0,e-t),n)}removeMediaListeners(){const e=this.mediaAttached;e&&(this._currentTime=e.currentTime,this.bufferSnapShot(),e.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){if(this.mediaAttached){var e;(e=this.hls)!=null&&e.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}}destroy(){this.removeMediaListeners(),this.hls.destroy(),this.hls=this.interstitial=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(e){this.hls.attachMedia(e)}detachMedia(){this.removeMediaListeners(),this.mediaAttached=null,this.hls.detachMedia()}resumeBuffering(){this.hls.resumeBuffering()}pauseBuffering(){this.hls.pauseBuffering()}transferMedia(){return this.bufferSnapShot(),this.hls.transferMedia()}on(e,t,n){this.hls.on(e,t)}once(e,t,n){this.hls.once(e,t)}off(e,t,n){this.hls.off(e,t)}toString(){var e,t;return`HlsAssetPlayer: ${Cl(this.assetItem)} ${(e=this.hls)==null?void 0:e.sessionId} ${(t=this.interstitial)!=null&&t.appendInPlace?"append-in-place":""}`}}const Ql=.033;class qu extends pe{constructor(e,t){super("interstitials-sched",t),this.onScheduleUpdate=void 0,this.eventMap={},this.events=null,this.items=null,this.durations={primary:0,playout:0,integrated:0},this.onScheduleUpdate=e}destroy(){this.reset(),this.onScheduleUpdate=null}reset(){this.eventMap={},this.setDurations(0,0,0),this.events&&this.events.forEach(e=>e.reset()),this.events=this.items=null}resetErrorsInRange(e,t){return this.events?this.events.reduce((n,r)=>e<=r.startOffset&&t>r.startOffset?(delete r.error,n+1):n,0):0}get duration(){const e=this.items;return e?e[e.length-1].end:0}get length(){return this.items?this.items.length:0}getEvent(e){return e&&this.eventMap[e]||null}hasEvent(e){return e in this.eventMap}findItemIndex(e,t){if(e.event)return this.findEventIndex(e.event.identifier);let n=-1;e.nextEvent?n=this.findEventIndex(e.nextEvent.identifier)-1:e.previousEvent&&(n=this.findEventIndex(e.previousEvent.identifier)+1);const r=this.items;if(r)for(r[n]||(t===void 0&&(t=e.start),n=this.findItemIndexAtTime(t));n>=0&&(i=r[n])!=null&&i.event;){var i;n--}return n}findItemIndexAtTime(e,t){const n=this.items;if(n)for(let r=0;r<n.length;r++){let i=n[r];if(t&&t!=="primary"&&(i=i[t]),e===i.start||e>i.start&&e<i.end)return r}return-1}findJumpRestrictedIndex(e,t){const n=this.items;if(n)for(let r=e;r<=t&&n[r];r++){const i=n[r].event;if(i!=null&&i.restrictions.jump&&!i.appendInPlace)return r}return-1}findEventIndex(e){const t=this.items;if(t)for(let r=t.length;r--;){var n;if(((n=t[r].event)==null?void 0:n.identifier)===e)return r}return-1}findAssetIndex(e,t){const n=e.assetList,r=n.length;if(r>1)for(let i=0;i<r;i++){const a=n[i];if(!a.error){const u=a.timelineStart;if(t===u||t>u&&t<u+(a.duration||0))return i}}return 0}get assetIdAtEnd(){var e,t;const n=(e=this.items)==null||(t=e[this.length-1])==null?void 0:t.event;if(n){const r=n.assetList,i=r[r.length-1];if(i)return i.identifier}return null}parseInterstitialDateRanges(e,t){const n=e.main.details,{dateRanges:r}=n,i=this.events,a=this.parseDateRanges(r,{url:n.url},t),u=Object.keys(r),h=i?i.filter(c=>!u.includes(c.identifier)):[];a.length&&a.sort((c,S)=>{const E=c.cue.pre,z=c.cue.post,te=S.cue.pre,ee=S.cue.post;if(E&&!te)return-1;if(te&&!E||z&&!ee)return 1;if(ee&&!z)return-1;if(!E&&!te&&!z&&!ee){const De=c.startTime,Ne=S.startTime;if(De!==Ne)return De-Ne}return c.dateRange.tagOrder-S.dateRange.tagOrder}),this.events=a,h.forEach(c=>{this.removeEvent(c)}),this.updateSchedule(e,h)}updateSchedule(e,t=[]){const n=this.events||[];if(n.length||t.length||this.length<2){const r=this.items,i=this.parseSchedule(n,e);(t.length||(r==null?void 0:r.length)!==i.length||i.some((u,h)=>Math.abs(u.playout.start-r[h].playout.start)>.005||Math.abs(u.playout.end-r[h].playout.end)>.005))&&(this.items=i,this.onScheduleUpdate(t,r))}}parseDateRanges(e,t,n){const r=[],i=Object.keys(e);for(let a=0;a<i.length;a++){const u=i[a],h=e[u];if(h.isInterstitial){let c=this.eventMap[u];c?c.setDateRange(h):(c=new Zu(h,t),this.eventMap[u]=c,n===!1&&(c.appendInPlace=n)),r.push(c)}}return r}parseSchedule(e,t){const n=[],r=t.main.details,i=r.live?1/0:r.edge;let a=0;if(e=e.filter(h=>!h.error&&!(h.cue.once&&h.hasPlayed)),e.length){this.resolveOffsets(e,t);let h=0,c=0;if(e.forEach((S,E)=>{const z=S.cue.pre,te=S.cue.post,ee=e[E-1]||null,De=S.appendInPlace,Ne=te?i:S.startOffset,tt=S.duration,St=S.timelineOccupancy===cl.Range?tt:0,ct=S.resumptionOffset,zt=(ee==null?void 0:ee.startTime)===Ne,Vt=Ne+S.cumulativeDuration;let pn=De?Vt+tt:Ne+ct;if(z||!te&&Ne<=0){const un=c;c+=St,S.timelineStart=Vt;const wn=a;a+=tt,n.push({event:S,start:Vt,end:pn,playout:{start:wn,end:a},integrated:{start:un,end:c}})}else if(Ne<=i){if(!zt){const Jt=Ne-h;if(Jt>Ql){const $n=h,yr=c;c+=Jt;const wi=a;a+=Jt;const Xr={previousEvent:e[E-1]||null,nextEvent:S,start:$n,end:$n+Jt,playout:{start:wi,end:a},integrated:{start:yr,end:c}};n.push(Xr)}else Jt>0&&ee&&(ee.cumulativeDuration+=Jt,n[n.length-1].end=Ne)}te&&(pn=Vt),S.timelineStart=Vt;const un=c;c+=St;const wn=a;a+=tt,n.push({event:S,start:Vt,end:pn,playout:{start:wn,end:a},integrated:{start:un,end:c}})}else return;const $t=S.resumeTime;te||$t>i?h=i:h=$t}),h<i){var u;const S=h,E=c,z=i-h;c+=z;const te=a;a+=z,n.push({previousEvent:((u=n[n.length-1])==null?void 0:u.event)||null,nextEvent:null,start:h,end:S+z,playout:{start:te,end:a},integrated:{start:E,end:c}})}this.setDurations(i,a,c)}else n.push({previousEvent:null,nextEvent:null,start:0,end:i,playout:{start:0,end:i},integrated:{start:0,end:i}}),this.setDurations(i,i,i);return n}setDurations(e,t,n){this.durations={primary:e,playout:t,integrated:n}}resolveOffsets(e,t){const n=t.main.details,r=n.live?1/0:n.edge;let i=0,a=-1;e.forEach((u,h)=>{const c=u.cue.pre,S=u.cue.post,E=c?0:S?r:u.startTime;this.updateAssetDurations(u),a===E?u.cumulativeDuration=i:(i=0,a=E),!S&&u.snapOptions.in&&(u.resumeAnchor=Rn(null,n.fragments,u.startOffset+u.resumptionOffset,0,0)||void 0),u.appendInPlace&&!u.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(u,t)||(u.appendInPlace=!1)),!u.appendInPlace&&h+1<e.length&&e[h+1].startTime-e[h].resumeTime<Ql&&(e[h+1].appendInPlace=!1,e[h+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${u}`));const te=g(u.resumeOffset)?u.resumeOffset:u.duration;i+=te})}primaryCanResumeInPlaceAt(e,t){const n=e.resumeTime,r=e.startTime+e.resumptionOffset;return Math.abs(n-r)>Io?(this.log(`"${e.identifier}" resumption ${n} not aligned with estimated timeline end ${r}`),!1):t?!Object.keys(t).some(a=>{const u=t[a].details,h=u.edge;if(n>=h)return this.log(`"${e.identifier}" resumption ${n} past ${a} playlist end ${h}`),!1;const c=Rn(null,u.fragments,n);if(!c)return this.log(`"${e.identifier}" resumption ${n} does not align with any fragments in ${a} playlist (${u.fragStart}-${u.fragmentEnd})`),!0;const S=a==="audio"?.175:0;return Math.abs(c.start-n)<Io+S||Math.abs(c.end-n)<Io+S?!1:(this.log(`"${e.identifier}" resumption ${n} not aligned with ${a} fragment bounds (${c.start}-${c.end} sn: ${c.sn} cc: ${c.cc})`),!0)}):(this.log(`"${e.identifier}" resumption ${n} can not be aligned with media (none selected)`),!1)}updateAssetDurations(e){if(!e.assetListLoaded)return;const t=e.timelineStart;let n=0,r=!1,i=!1;e.assetList.forEach((a,u)=>{const h=t+n;a.startOffset=n,a.timelineStart=h,r||(r=a.duration===null),i||(i=!!a.error);const c=a.error?0:a.duration||0;n+=c}),r&&!i?e.duration=Math.max(n,e.duration):e.duration=n}removeEvent(e){e.reset(),delete this.eventMap[e.identifier]}}function Zs(s){return`[${s.event?'"'+s.event.identifier+'"':"primary"}: ${s.start.toFixed(2)}-${s.end.toFixed(2)}]`}class Ju{constructor(e){this.hls=void 0,this.hls=e}destroy(){this.hls=null}loadAssetList(e,t){const n=e.assetListUrl;let r;try{r=Yl(n,this.hls.sessionId,e.baseUrl)}catch(z){const te=this.assignAssetListError(e,F.ASSET_LIST_LOAD_ERROR,z,n);this.hls.trigger(m.ERROR,te);return}t&&r.protocol!=="data:"&&r.searchParams.set("_HLS_start_offset",""+t);const i=this.hls.config,a=i.loader,u=new a(i),h={responseType:"json",url:r.href},c=i.interstitialAssetListLoadPolicy.default,S={loadPolicy:c,timeout:c.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},E={onSuccess:(z,te,ee,De)=>{const Ne=z.data,tt=Ne==null?void 0:Ne.ASSETS;if(!Array.isArray(tt)){const St=this.assignAssetListError(e,F.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),ee.url,te,De);this.hls.trigger(m.ERROR,St);return}e.assetListResponse=Ne,this.hls.trigger(m.ASSET_LIST_LOADED,{event:e,assetListResponse:Ne,networkDetails:De})},onError:(z,te,ee,De)=>{const Ne=this.assignAssetListError(e,F.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${z.code} ${z.text} (${te.url})`),te.url,De,ee);this.hls.trigger(m.ERROR,Ne)},onTimeout:(z,te,ee)=>{const De=this.assignAssetListError(e,F.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${te.url})`),te.url,z,ee);this.hls.trigger(m.ERROR,De)}};return u.load(h,S,E),this.hls.trigger(m.ASSET_LIST_LOADING,{event:e}),u}assignAssetListError(e,t,n,r,i,a){return e.error=n,{type:ge.NETWORK_ERROR,details:t,fatal:!1,interstitial:e,url:r,error:n,networkDetails:a,stats:i}}}function zs(s,e,t){Ls(s,e,t),s.addEventListener(e,t)}function Ls(s,e,t){s.removeEventListener(e,t)}function ql(s){s==null||s.play().catch(()=>{})}class Xu extends pe{constructor(e,t){super("interstitials",e.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 n=this.currentTime;if(n===void 0||this.playbackDisabled)return;const r=n-this.timelinePos;if(Math.abs(r)<1/7056e5)return;const a=r<=-.01;this.timelinePos=n,this.bufferedPos=n;const u=this.playingItem;if(!u){this.checkBuffer();return}if(a&&this.schedule.resetErrorsInRange(n,n-r)&&this.updateSchedule(),this.checkBuffer(),a&&n<u.start||n>=u.end){var h;const z=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(u)&&(h=this.media)!=null&&h.paused&&(this.shouldPlay=!1),!a){const te=this.findItemIndex(u);if(z>te){const ee=this.schedule.findJumpRestrictedIndex(te+1,z);if(ee>te){this.setSchedulePosition(ee);return}}}this.setSchedulePosition(z);return}const c=this.playingAsset;if(!c){if(this.playingLastItem&&this.isInterstitial(u)){const z=u.event.assetList[0];z&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(n,z))}return}const S=c.timelineStart,E=c.duration||0;(a&&n<S||n>=S+E)&&this.setScheduleToAssetAtTime(n,c)},this.onTimeupdate=()=>{const n=this.currentTime;if(n===void 0||this.playbackDisabled)return;if(n>this.timelinePos)this.timelinePos=n,n>this.bufferedPos&&this.checkBuffer();else return;const r=this.playingItem;if(!r||this.playingLastItem)return;if(n>=r.end){this.timelinePos=r.end;const u=this.findItemIndex(r);this.setSchedulePosition(u+1)}const i=this.playingAsset;if(!i)return;const a=i.timelineStart+(i.duration||0);n>=a&&this.setScheduleToAssetAtTime(n,i)},this.onScheduleUpdate=(n,r)=>{const i=this.schedule,a=this.playingItem,u=i.events||[],h=i.items||[],c=i.durations,S=n.map(te=>te.identifier),E=!!(u.length||S.length);if(E&&this.log(`INTERSTITIALS_UPDATED (${u.length}): ${u}
Schedule: ${h.map(te=>Zs(te))}`),S.length&&this.log(`Removed events ${S}`),this.playerQueue.forEach(te=>{if(te.interstitial.appendInPlace){const ee=te.assetItem.timelineStart,De=te.timelineOffset-ee;if(De)try{te.timelineOffset=ee}catch(Ne){Math.abs(De)>Io&&this.warn(`${Ne} ("${te.assetId}" ${te.timelineOffset}->${ee})`)}}}),a){const te=this.updateItem(a,this.timelinePos);this.itemsMatch(a,te)&&(this.playingItem=te,this.waitingItem=this.endedItem=null)}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const z=this.bufferingItem;if(z){const te=this.updateItem(z,this.bufferedPos);this.itemsMatch(z,te)?this.bufferingItem=te:z.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(z.event,null))}if(n.forEach(te=>{te.assetList.forEach(ee=>{this.clearAssetPlayer(ee.identifier,null)})}),E||r){if(this.hls.trigger(m.INTERSTITIALS_UPDATED,{events:u.slice(0),schedule:h.slice(0),durations:c,removedIds:S}),this.isInterstitial(a)&&S.includes(a.event.identifier)){this.warn(`Interstitial "${a.event.identifier}" removed while playing`),this.primaryFallback(a.event);return}this.checkBuffer()}},this.hls=e,this.HlsPlayerClass=t,this.assetListLoader=new Ju(e),this.schedule=new qu(this.onScheduleUpdate,e.logger),this.registerListeners()}registerListeners(){const e=this.hls;e.on(m.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(m.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(m.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.on(m.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(m.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.on(m.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.on(m.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.on(m.BUFFER_APPENDED,this.onBufferAppended,this),e.on(m.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(m.BUFFERED_TO_END,this.onBufferedToEnd,this),e.on(m.MEDIA_ENDED,this.onMediaEnded,this),e.on(m.ERROR,this.onError,this),e.on(m.DESTROYING,this.onDestroying,this)}unregisterListeners(){const e=this.hls;e&&(e.off(m.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(m.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(m.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.off(m.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(m.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.off(m.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.off(m.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.off(m.BUFFER_CODECS,this.onBufferCodecs,this),e.off(m.BUFFER_APPENDED,this.onBufferAppended,this),e.off(m.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(m.BUFFERED_TO_END,this.onBufferedToEnd,this),e.off(m.MEDIA_ENDED,this.onMediaEnded,this),e.off(m.ERROR,this.onError,this),e.off(m.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var e;(e=this.getBufferingPlayer())==null||e.resumeBuffering()}pauseBuffering(){var e;(e=this.getBufferingPlayer())==null||e.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 e=this.primaryMedia||this.media;e&&this.removeMediaListeners(e)}removeMediaListeners(e){Ls(e,"play",this.onPlay),Ls(e,"pause",this.onPause),Ls(e,"seeking",this.onSeeking),Ls(e,"timeupdate",this.onTimeupdate)}onMediaAttaching(e,t){const n=this.media=t.media;zs(n,"seeking",this.onSeeking),zs(n,"timeupdate",this.onTimeupdate),zs(n,"play",this.onPlay),zs(n,"pause",this.onPause)}onMediaAttached(e,t){const n=this.effectivePlayingItem,r=this.detachedData;if(this.detachedData=null,n===null)this.checkStart();else if(!r){this.clearScheduleState();const i=this.findItemIndex(n);this.setSchedulePosition(i)}}clearScheduleState(){this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(e,t){const n=!!t.transferMedia,r=this.media;if(this.media=null,!n&&(r&&this.removeMediaListeners(r),this.detachedData)){const i=this.getBufferingPlayer();i&&(this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,i.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.manager){if(!this.hls)return null;const e=this,t=()=>e.bufferingItem||e.waitingItem,n=E=>E&&e.getAssetPlayer(E.identifier),r=(E,z,te,ee,De)=>{if(E){let Ne=E[z].start;const tt=E.event;if(tt){if(z==="playout"||tt.timelineOccupancy!==cl.Point){const St=n(te);(St==null?void 0:St.interstitial)===tt&&(Ne+=St.assetItem.startOffset+St[De])}}else{const St=ee==="bufferedPos"?a():e[ee];Ne+=St-E.start}return Ne}return 0},i=(E,z)=>{if(E!==0&&z!=="primary"&&e.schedule.length){var te;const ee=e.schedule.findItemIndexAtTime(E),De=(te=e.schedule.items)==null?void 0:te[ee];if(De){const Ne=De[z].start-De.start;return E+Ne}}return E},a=()=>{const E=e.bufferedPos;return E===Number.MAX_VALUE?u("primary"):Math.max(E,0)},u=E=>{var z;return(z=e.primaryDetails)!=null&&z.live?e.primaryDetails.edge:e.schedule.durations[E]},h=(E,z)=>{var te,ee;const De=e.effectivePlayingItem;if(De!=null&&(te=De.event)!=null&&te.restrictions.skip)return;e.log(`seek to ${E} "${z}"`);const Ne=e.effectivePlayingItem,tt=e.schedule.findItemIndexAtTime(E,z),St=(ee=e.schedule.items)==null?void 0:ee[tt],ct=e.getBufferingPlayer(),zt=ct==null?void 0:ct.interstitial,Vt=zt==null?void 0:zt.appendInPlace,pn=Ne&&e.itemsMatch(Ne,St);if(Ne&&(Vt||pn)){const un=n(e.playingAsset),wn=(un==null?void 0:un.media)||e.primaryMedia;if(wn){const Jt=z==="primary"?wn.currentTime:r(Ne,z,e.playingAsset,"timelinePos","currentTime"),$n=E-Jt,yr=(Vt?Jt:wn.currentTime)+$n;if(yr>=0&&(!un||Vt||yr<=un.duration)){wn.currentTime=yr;return}}}if(St){let un=E;if(z!=="primary"){const Jt=St[z].start,$n=E-Jt;un=St.start+$n}const wn=!e.isInterstitial(St);if((!e.isInterstitial(Ne)||Ne.event.appendInPlace)&&(wn||St.event.appendInPlace)){const Jt=e.media||(Vt?ct==null?void 0:ct.media:null);Jt&&(Jt.currentTime=un)}else if(Ne){const Jt=e.findItemIndex(Ne);if(tt>Jt){const yr=e.schedule.findJumpRestrictedIndex(Jt+1,tt);if(yr>Jt){e.setSchedulePosition(yr);return}}let $n=0;if(wn)e.timelinePos=un,e.checkBuffer();else{var $t;const yr=St==null||($t=St.event)==null?void 0:$t.assetList;if(yr){const wi=E-(St[z]||St).start;for(let Xr=yr.length;Xr--;){const jr=yr[Xr];if(jr.duration&&wi>=jr.startOffset&&wi<jr.startOffset+jr.duration){$n=Xr;break}}}}e.setSchedulePosition(tt,$n)}}},c=()=>{const E=e.effectivePlayingItem;if(e.isInterstitial(E))return E;const z=t();return e.isInterstitial(z)?z:null},S={get currentTime(){const E=c(),z=e.effectivePlayingItem;return z&&z===E?r(z,"playout",e.effectivePlayingAsset,"timelinePos","currentTime")-z.playout.start:0},set currentTime(E){const z=c(),te=e.effectivePlayingItem;te&&te===z&&h(E+te.playout.start,"playout")},get duration(){const E=c();return E?E.playout.end-E.playout.start:0},get assetPlayers(){var E;const z=(E=c())==null?void 0:E.event.assetList;return z?z.map(te=>e.getAssetPlayer(te.identifier)):[]},get playingIndex(){var E;const z=(E=c())==null?void 0:E.event;return z&&e.effectivePlayingAsset?z.findAssetIndex(e.effectivePlayingAsset):-1},get scheduleItem(){return c()}};this.manager={get events(){var E,z;return((E=e.schedule)==null||(z=E.events)==null?void 0:z.slice(0))||[]},get schedule(){var E,z;return((E=e.schedule)==null||(z=E.items)==null?void 0:z.slice(0))||[]},get interstitialPlayer(){return c()?S:null},get playerQueue(){return e.playerQueue.slice(0)},get bufferingAsset(){return e.bufferingAsset},get bufferingItem(){return t()},get bufferingIndex(){const E=t();return e.findItemIndex(E)},get playingAsset(){return e.effectivePlayingAsset},get playingItem(){return e.effectivePlayingItem},get playingIndex(){const E=e.effectivePlayingItem;return e.findItemIndex(E)},primary:{get bufferedEnd(){return a()},get currentTime(){const E=e.timelinePos;return E>0?E:0},set currentTime(E){h(E,"primary")},get duration(){return u("primary")},get seekableStart(){var E;return((E=e.primaryDetails)==null?void 0:E.fragmentStart)||0}},integrated:{get bufferedEnd(){return r(t(),"integrated",e.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return r(e.effectivePlayingItem,"integrated",e.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(E){h(E,"integrated")},get duration(){return u("integrated")},get seekableStart(){var E;return i(((E=e.primaryDetails)==null?void 0:E.fragmentStart)||0,"integrated")}},skip:()=>{const E=e.effectivePlayingItem,z=E==null?void 0:E.event;if(z&&!z.restrictions.skip){const te=e.findItemIndex(E);if(z.appendInPlace){const ee=E.playout.start+E.event.duration;h(ee+.001,"playout")}else e.advanceAfterAssetEnded(z,te,1/0)}}}}return this.manager}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var e;const t=this.playingItem,n=(e=this.schedule)==null?void 0:e.items;return!this.playbackStarted||!t||!n?!1:this.findItemIndex(t)===n.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var e,t,n;if(this.mediaSelection===null)return;const r=this.waitingItem||this.playingItem;if(this.isInterstitial(r)&&!r.event.appendInPlace)return;let i=this.media;!i&&(e=this.bufferingItem)!=null&&(t=e.event)!=null&&t.appendInPlace&&(i=this.primaryMedia);const a=(n=i)==null?void 0:n.currentTime;if(!(a===void 0||!g(a)))return a}get primaryMedia(){var e;return this.media||((e=this.detachedData)==null?void 0:e.media)||null}isInterstitial(e){return!!(e!=null&&e.event)}retreiveMediaSource(e,t){const n=this.getAssetPlayer(e);n&&this.transferMediaFromPlayer(n,t)}transferMediaFromPlayer(e,t){const n=e.interstitial.appendInPlace,r=e.media;if(n&&r===this.primaryMedia){if(this.bufferingAsset=null,(!t||this.isInterstitial(t)&&!t.event.appendInPlace)&&t&&r){this.detachedData={media:r};return}const i=e.transferMedia();this.log(`transfer MediaSource from ${e} ${fn(i)}`),this.detachedData=i}else t&&r&&(this.shouldPlay||(this.shouldPlay=!r.paused))}transferMediaTo(e,t){var n,r;if(e.media===t)return;let i=null;const a=this.hls,u=e!==a,h=u&&e.interstitial.appendInPlace,c=(n=this.detachedData)==null?void 0:n.mediaSource;let S;if(a.media)h&&(i=a.transferMedia(),this.detachedData=i),S="Primary";else if(c){const te=this.getBufferingPlayer();te?(i=te.transferMedia(),S=`${te}`):S="detached MediaSource"}else S="detached media";if(!i){if(c)i=this.detachedData,this.log(`using detachedData: MediaSource ${fn(i)}`);else if(!this.detachedData||a.media===t){const te=this.playerQueue;te.length>1&&te.forEach(ee=>{if(u&&ee.interstitial.appendInPlace!==h){const De=ee.interstitial;this.clearInterstitial(ee.interstitial,null),De.appendInPlace=!1,De.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${De}`)}}),this.hls.detachMedia(),this.detachedData={media:t}}}const E=i&&"mediaSource"in i&&((r=i.mediaSource)==null?void 0:r.readyState)!=="closed",z=E&&i?i:t;if(this.log(`${E?"transfering MediaSource":"attaching media"} to ${u?e:"Primary"} from ${S}`),z===i){const te=u&&e.assetId===this.schedule.assetIdAtEnd;z.overrides={duration:this.schedule.duration,endOfStream:!u||te,cueRemoval:!u}}e.attachMedia(z)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const e=this.schedule,t=e.events;if(!t||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const n=this.timelinePos,r=this.effectivePlayingItem;if(n===-1){const i=this.hls.startPosition;if(this.timelinePos=i,t.length&&t[0].cue.pre){const a=e.findEventIndex(t[0].identifier);this.setSchedulePosition(a)}else if(i>=0||!this.primaryLive){const a=this.timelinePos=i>0?i:0,u=e.findItemIndexAtTime(a);this.setSchedulePosition(u)}}else if(r&&!this.playingItem){const i=e.findItemIndex(r);this.setSchedulePosition(i)}}advanceAfterAssetEnded(e,t,n){const r=n+1;if(!e.isAssetPastPlayoutLimit(r)&&!e.assetList[r].error)this.setSchedulePosition(t,r);else{const i=this.schedule.items;if(i){const a=t+1,u=i.length;if(a>=u){this.setSchedulePosition(-1);return}const h=e.resumeTime;this.timelinePos<h&&(this.timelinePos=h,this.checkBuffer()),this.setSchedulePosition(a)}}}setScheduleToAssetAtTime(e,t){const n=this.schedule,r=t.parentIdentifier,i=n.getEvent(r);if(i){const a=n.findEventIndex(r),u=n.findAssetIndex(i,e);this.setSchedulePosition(a,u)}}setSchedulePosition(e,t){const n=this.schedule.items;if(!n||this.playbackDisabled)return;this.log(`setSchedulePosition ${e}, ${t}`);const r=e>=0?n[e]:null,i=this.playingItem,a=this.playingLastItem;if(this.isInterstitial(i)){var u;const c=i.event,S=this.playingAsset,E=S==null?void 0:S.identifier,z=E?this.getAssetPlayer(E):null;if(z&&E&&(!this.eventItemsMatch(i,r)||t!==void 0&&E!==((u=c.assetList)==null?void 0:u[t].identifier))){var h;const te=c.findAssetIndex(S);this.log(`INTERSTITIAL_ASSET_ENDED ${te+1}/${c.assetList.length} ${Cl(S)}`),this.endedAsset=S,this.playingAsset=null,this.hls.trigger(m.INTERSTITIAL_ASSET_ENDED,{asset:S,assetListIndex:te,event:c,schedule:n.slice(0),scheduleIndex:e,player:z}),this.retreiveMediaSource(E,r),z.media&&!((h=this.detachedData)!=null&&h.mediaSource)&&z.detachMedia()}if(!this.eventItemsMatch(i,r)&&(this.endedItem=i,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${c} ${Zs(i)}`),c.hasPlayed=!0,this.hls.trigger(m.INTERSTITIAL_ENDED,{event:c,schedule:n.slice(0),scheduleIndex:e}),c.cue.once)){this.updateSchedule();const te=this.schedule.items;if(r&&te){const ee=this.schedule.findItemIndex(r);this.advanceSchedule(ee,te,t,i,a)}return}}this.advanceSchedule(e,n,t,i,a)}advanceSchedule(e,t,n,r,i){const a=e>=0?t[e]:null,u=this.primaryMedia,h=this.playerQueue;if(h.length&&h.forEach(c=>{const S=c.interstitial,E=this.schedule.findEventIndex(S.identifier);(E<e||E>e+1)&&this.clearInterstitial(S,a)}),this.isInterstitial(a)){this.timelinePos=Math.min(Math.max(this.timelinePos,a.start),a.end);const c=a.event;n===void 0&&(n=this.schedule.findAssetIndex(c,this.timelinePos));const S=this.waitingItem;this.assetsBuffered(a,u)||this.setBufferingItem(a);let E=this.preloadAssets(c,n);if(this.eventItemsMatch(a,S||r)||(this.waitingItem=a,this.log(`INTERSTITIAL_STARTED ${Zs(a)} ${c.appendInPlace?"append in place":""}`),this.hls.trigger(m.INTERSTITIAL_STARTED,{event:c,schedule:t.slice(0),scheduleIndex:e})),!c.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${c}`);return}if(c.assetListLoader&&(c.assetListLoader.destroy(),c.assetListLoader=void 0),!u){this.log(`Waiting for attachMedia to start Interstitial ${c}`);return}this.waitingItem=this.endedItem=null,this.playingItem=a;const z=c.assetList[n];if(!z){const te=t[e+1],ee=this.media;te&&ee&&!this.isInterstitial(te)&&ee.currentTime<te.start&&(ee.currentTime=this.timelinePos=te.start),this.advanceAfterAssetEnded(c,e,n||0);return}if(E||(E=this.getAssetPlayer(z.identifier)),E===null||E.destroyed){const te=c.assetList.length;this.warn(`asset ${n+1}/${te} player destroyed ${c}`),E=this.createAssetPlayer(c,z,n)}if(!this.eventItemsMatch(a,this.bufferingItem)&&c.appendInPlace&&this.isAssetBuffered(z))return;this.startAssetPlayer(E,n,t,e,u),this.shouldPlay&&ql(E.media)}else a!==null?(this.resumePrimary(a,e,r),this.shouldPlay&&ql(this.hls.media)):i&&this.isInterstitial(r)&&(this.endedItem=null,this.playingItem=r,r.event.appendInPlace||this.attachPrimary(this.schedule.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var e,t;return(e=this.mediaSelection)==null||(t=e.main)==null?void 0:t.details}get primaryLive(){var e;return!!((e=this.primaryDetails)!=null&&e.live)}resumePrimary(e,t,n){var r;if(this.playingItem=e,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(e),this.log(`resuming ${Zs(e)}`),!((r=this.detachedData)!=null&&r.mediaSource)){let a=this.timelinePos;(a<e.start||a>=e.end)&&(a=this.getPrimaryResumption(e,t),this.timelinePos=a),this.attachPrimary(a,e)}if(!n)return;const i=this.schedule.items;i&&(this.log(`resumed ${Zs(e)}`),this.hls.trigger(m.INTERSTITIALS_PRIMARY_RESUMED,{schedule:i.slice(0),scheduleIndex:t}),this.checkBuffer())}getPrimaryResumption(e,t){const n=e.start;if(this.primaryLive){const r=this.primaryDetails;if(t===0)return this.hls.startPosition;if(r&&(n<r.fragmentStart||n>r.edge))return this.hls.liveSyncPosition||-1}return n}isAssetBuffered(e){const t=this.getAssetPlayer(e.identifier);return t!=null&&t.hls?t.hls.bufferedToEnd:Cr.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=e.timelineStart+(e.duration||0)}attachPrimary(e,t,n){t?this.setBufferingItem(t):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const r=this.primaryMedia;if(!r)return;const i=this.hls;i.media?this.checkBuffer():(this.transferMediaTo(i,r),n&&this.startLoadingPrimaryAt(e,n)),n||(this.timelinePos=e,this.startLoadingPrimaryAt(e,n))}startLoadingPrimaryAt(e,t){var n;const r=this.hls;!r.loadingEnabled||!r.media||Math.abs((((n=r.mainForwardBufferInfo)==null?void 0:n.start)||r.media.currentTime)-e)>.5?r.startLoad(e,t):r.bufferingEnabled||r.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(m.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(m.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(e,t){if(t.level===-1)return;const n=this.hls.levels[t.level],r=A(A({},this.mediaSelection||this.altSelection),{},{main:n});this.mediaSelection=r,this.schedule.parseInterstitialDateRanges(r,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(e,t){const n=this.hls.audioTracks[t.id],r=this.mediaSelection;if(!r){this.altSelection=A(A({},this.altSelection),{},{audio:n});return}const i=A(A({},r),{},{audio:n});this.mediaSelection=i}onSubtitleTrackUpdated(e,t){const n=this.hls.subtitleTracks[t.id],r=this.mediaSelection;if(!r){this.altSelection=A(A({},this.altSelection),{},{subtitles:n});return}const i=A(A({},r),{},{subtitles:n});this.mediaSelection=i}onAudioTrackSwitching(e,t){const n=yt(t);this.playerQueue.forEach(r=>r.hls.setAudioOption(t)||r.hls.setAudioOption(n))}onSubtitleTrackSwitch(e,t){const n=yt(t);this.playerQueue.forEach(r=>r.hls.setSubtitleOption(t)||t.id!==-1&&r.hls.setSubtitleOption(n))}onBufferCodecs(e,t){const n=t.tracks;n&&(this.requiredTracks=n)}onBufferAppended(e,t){this.checkBuffer()}onBufferFlushed(e,t){const n=this.playingItem;if(n&&!this.itemsMatch(n,this.bufferingItem)&&!this.isInterstitial(n)){const r=this.timelinePos;this.bufferedPos=r,this.checkBuffer()}}onBufferedToEnd(e){const t=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&t){for(let r=0;r<t.length;r++){const i=t[r];if(i.cue.post){var n;const a=this.schedule.findEventIndex(i.identifier),u=(n=this.schedule.items)==null?void 0:n[a];this.isInterstitial(u)&&this.eventItemsMatch(u,this.bufferingItem)&&this.bufferedToItem(u,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(e){const t=this.playingItem;if(!this.playingLastItem&&t){const n=this.findItemIndex(t);this.setSchedulePosition(n+1)}else this.shouldPlay=!1}updateItem(e,t){const n=this.schedule.items;if(e&&n){const r=this.findItemIndex(e,t);return n[r]||null}return null}itemsMatch(e,t){return!!t&&(e===t||e.event&&t.event&&this.eventItemsMatch(e,t)||!e.event&&!t.event&&this.findItemIndex(e)===this.findItemIndex(t))}eventItemsMatch(e,t){var n;return!!t&&(e===t||e.event.identifier===((n=t.event)==null?void 0:n.identifier))}findItemIndex(e,t){return e?this.schedule.findItemIndex(e,t):-1}updateSchedule(){const e=this.mediaSelection;e&&this.schedule.updateSchedule(e,[])}checkBuffer(e){const t=this.schedule.items;if(!t)return;const n=Cr.bufferInfo(this.primaryMedia,this.timelinePos,0);e&&(this.bufferedPos=this.timelinePos),e||(e=n.len<1),this.updateBufferedPos(n.end,t,e)}updateBufferedPos(e,t,n){const r=this.schedule,i=this.bufferingItem;if(this.bufferedPos>e)return;if(t.length===1&&this.itemsMatch(t[0],i)){this.bufferedPos=e;return}const a=this.playingItem,u=this.findItemIndex(a);let h=r.findItemIndexAtTime(e);if(this.bufferedPos<e){var c,S;const E=this.findItemIndex(i),z=Math.min(E+1,t.length-1),te=t[z];if((h===-1&&i&&e>=i.end||(c=te.event)!=null&&c.appendInPlace&&e+.01>=te.start)&&(h=z),z-u>1&&(i==null||(S=i.event)==null?void 0:S.appendInPlace)===!1)return;if(this.bufferedPos=e,h>E&&h>u)this.bufferedToItem(te);else{const ee=this.primaryDetails;this.primaryLive&&ee&&e>ee.edge-ee.targetduration&&te.start<ee.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(te)&&this.preloadAssets(te.event,0)}}else n&&a&&!this.itemsMatch(a,i)&&(h===u?this.bufferedToItem(a):h===u+1&&this.bufferedToItem(t[h]))}assetsBuffered(e,t){return e.event.assetList.length===0?!1:!e.event.assetList.some(r=>{const i=this.getAssetPlayer(r.identifier);return!(i!=null&&i.bufferedInPlaceToEnd(t))})}setBufferingItem(e){const t=this.bufferingItem,n=this.schedule;if(this.itemsMatch(e,t))this.bufferingItem!==e&&(this.bufferingItem=e);else{const{items:r,events:i}=n;if(!r||!i)return t;const a=this.isInterstitial(e),u=this.getBufferingPlayer();if(this.bufferingItem=e,this.bufferedPos=Math.max(e.start,Math.min(e.end,this.timelinePos)),!this.playbackDisabled){const h=u?u.remaining:t?t.end-this.timelinePos:0;this.log(`buffered to boundary ${Zs(e)}`+(t?` (${h.toFixed(2)} remaining)`:"")),a?e.event.assetList.forEach(c=>{const S=this.getAssetPlayer(c.identifier);S&&S.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach(c=>c.pauseBuffering()))}this.hls.trigger(m.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:i.slice(0),schedule:r.slice(0),bufferingIndex:this.findItemIndex(e),playingIndex:this.findItemIndex(this.playingItem)})}return t}bufferedToItem(e,t=0){const n=this.setBufferingItem(e);if(!this.playbackDisabled){if(this.isInterstitial(e))this.bufferedToEvent(e,t);else if(n!==null){this.bufferingAsset=null;const r=this.detachedData;r?r.mediaSource?this.attachPrimary(e.start,e,!0):this.preloadPrimary(e):this.preloadPrimary(e)}}}preloadPrimary(e){const t=this.findItemIndex(e),n=this.getPrimaryResumption(e,t);this.startLoadingPrimaryAt(n)}bufferedToEvent(e,t){const n=e.event,r=n.assetList.length===0&&!n.assetListLoader,i=n.cue.once;if(r||!i){const a=this.preloadAssets(n,t);if(a!=null&&a.interstitial.appendInPlace){const u=n.assetList[t],h=this.primaryMedia;u&&h&&this.bufferAssetPlayer(a,h)}}}preloadAssets(e,t){const n=e.assetUrl,r=e.assetList.length,i=r===0&&!e.assetListLoader,a=e.cue.once;if(i){const h=e.timelineStart;if(e.appendInPlace){var u;const z=this.playingItem;!this.isInterstitial(z)&&(z==null||(u=z.nextEvent)==null?void 0:u.identifier)===e.identifier&&this.flushFrontBuffer(h+.25)}let c,S=0;if(!this.playingItem&&this.primaryLive&&(S=this.hls.startPosition,S===-1&&(S=this.hls.liveSyncPosition||0)),S&&!(e.cue.pre||e.cue.post)){const z=S-h;z>0&&(c=Math.round(z*1e3)/1e3)}if(this.log(`Load interstitial asset ${t+1}/${n?1:r} ${e}${c?` live-start: ${S} start-offset: ${c}`:""}`),n)return this.createAsset(e,0,0,h,e.duration,n);const E=this.assetListLoader.loadAssetList(e,c);E&&(e.assetListLoader=E)}else if(!a&&r){for(let h=t;h<r;h++){const c=e.assetList[h],S=this.getAssetPlayerQueueIndex(c.identifier);(S===-1||this.playerQueue[S].destroyed)&&!c.error&&this.createAssetPlayer(e,c,h)}return this.getAssetPlayer(e.assetList[t].identifier)}return null}flushFrontBuffer(e){const t=this.requiredTracks;if(!t)return;this.log(`Removing front buffer starting at ${e}`),Object.keys(t).forEach(r=>{this.hls.trigger(m.BUFFER_FLUSHING,{startOffset:e,endOffset:1/0,type:r})})}getAssetPlayerQueueIndex(e){const t=this.playerQueue;for(let n=0;n<t.length;n++)if(e===t[n].assetId)return n;return-1}getAssetPlayer(e){const t=this.getAssetPlayerQueueIndex(e);return this.playerQueue[t]||null}getBufferingPlayer(){const{playerQueue:e,primaryMedia:t}=this;if(t){for(let n=0;n<e.length;n++)if(e[n].media===t)return e[n]}return null}createAsset(e,t,n,r,i,a){const u={parentIdentifier:e.identifier,identifier:$u(e,a,t),duration:i,startOffset:n,timelineStart:r,uri:a};return this.createAssetPlayer(e,u,t)}createAssetPlayer(e,t,n){this.log(`create HLSAssetPlayer for ${Cl(t)}`);const r=this.hls,i=r.userConfig;let a=i.videoPreference;const u=r.loadLevelObj||r.levels[r.currentLevel];(a||u)&&(a=y({},a),u.videoCodec&&(a.videoCodec=u.videoCodec),u.videoRange&&(a.allowedVideoRanges=[u.videoRange]));const h=r.audioTracks[r.audioTrack],c=r.subtitleTracks[r.subtitleTrack];let S=0;if(this.primaryLive||e.appendInPlace){const ct=this.timelinePos-t.timelineStart;if(ct>1){const zt=t.duration;zt&&ct<zt&&(S=ct)}}const E=t.identifier,z=A(A({},i),{},{autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:r.sessionId,assetPlayerId:E,abrEwmaDefaultEstimate:r.bandwidthEstimate,interstitialsController:void 0,startPosition:S,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:a,audioPreference:h||i.audioPreference,subtitlePreference:c||i.subtitlePreference});e.appendInPlace&&(e.appendInPlaceStarted=!0,t.timelineStart&&(z.timelineOffset=t.timelineStart));const te=z.cmcd;te!=null&&te.sessionId&&te.contentId&&(z.cmcd=y({},te,{contentId:Go(t.uri)})),this.getAssetPlayer(E)&&this.warn(`Duplicate date range identifier ${e} and asset ${E}`);const ee=new Qu(this.HlsPlayerClass,z,e,t);this.playerQueue.push(ee),e.assetList[n]=t;const De=ct=>{if(ct.live){const pn=new Error(`Interstitials MUST be VOD assets ${e}`),$t={fatal:!0,type:ge.OTHER_ERROR,details:F.INTERSTITIAL_ASSET_ITEM_ERROR,error:pn};this.handleAssetItemError($t,e,this.schedule.findEventIndex(e.identifier),n,pn.message);return}const zt=ct.edge-ct.fragmentStart,Vt=t.duration;(Vt===null||zt>Vt)&&(this.log(`Interstitial asset "${E}" duration change ${Vt} > ${zt}`),t.duration=zt,this.updateSchedule())};ee.on(m.LEVEL_UPDATED,(ct,{details:zt})=>De(zt)),ee.on(m.LEVEL_PTS_UPDATED,(ct,{details:zt})=>De(zt));const Ne=(ct,zt)=>{const Vt=this.getAssetPlayer(E);if(Vt&&zt.tracks){Vt.off(m.BUFFER_CODECS,Ne),Vt.tracks=zt.tracks;const pn=this.primaryMedia;this.bufferingAsset===Vt.assetItem&&pn&&!Vt.media&&this.bufferAssetPlayer(Vt,pn)}};ee.on(m.BUFFER_CODECS,Ne);const tt=()=>{var ct;const zt=this.getAssetPlayer(E);if(this.log(`buffered to end of asset ${zt}`),!zt)return;const Vt=this.schedule.findEventIndex(e.identifier),pn=e.findAssetIndex(t),$t=pn+1,un=(ct=this.schedule.items)==null?void 0:ct[Vt];if(this.isInterstitial(un))if(pn!==-1&&!e.isAssetPastPlayoutLimit($t)&&!e.assetList[$t].error)this.bufferedToItem(un,$t);else{var wn;const Jt=(wn=this.schedule.items)==null?void 0:wn[Vt+1];Jt&&this.bufferedToItem(Jt)}};ee.on(m.BUFFERED_TO_END,tt);const St=ct=>()=>{if(!this.getAssetPlayer(E))return;this.shouldPlay=!0;const Vt=this.schedule.findEventIndex(e.identifier);this.advanceAfterAssetEnded(e,Vt,ct)};return ee.once(m.MEDIA_ENDED,St(n)),ee.once(m.PLAYOUT_LIMIT_REACHED,St(1/0)),ee.on(m.ERROR,(ct,zt)=>{const Vt=this.getAssetPlayer(E);if(zt.details===F.BUFFER_STALLED_ERROR){if(Vt!=null&&Vt.media){const pn=Vt.currentTime,$t=Vt.duration-pn;pn&&e.appendInPlace&&$t/Vt.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${E} ${e} at ${Vt.media.currentTime}`),tt()):(this.warn(`Stalled at ${pn} of ${pn+$t} in asset ${E} ${e}`),this.onTimeupdate(),this.checkBuffer(!0))}return}this.handleAssetItemError(zt,e,this.schedule.findEventIndex(e.identifier),n,`Asset player error ${zt.error} ${e}`)}),ee.on(m.DESTROYING,()=>{if(!this.getAssetPlayer(E))return;const zt=new Error(`Asset player destroyed unexpectedly ${E}`),Vt={fatal:!0,type:ge.OTHER_ERROR,details:F.INTERSTITIAL_ASSET_ITEM_ERROR,error:zt};this.handleAssetItemError(Vt,e,this.schedule.findEventIndex(e.identifier),n,zt.message)}),this.hls.trigger(m.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:t,assetListIndex:n,event:e,player:ee}),ee}clearInterstitial(e,t){e.assetList.forEach(n=>{this.clearAssetPlayer(n.identifier,t)}),e.reset()}clearAssetPlayer(e,t){const n=this.getAssetPlayerQueueIndex(e);if(n!==-1){this.log(`clearAssetPlayer "${e}" toSegment: ${t&&Zs(t)}`);const r=this.playerQueue[n];this.transferMediaFromPlayer(r,t),this.playerQueue.splice(n,1),r.destroy()}}emptyPlayerQueue(){let e;for(;e=this.playerQueue.pop();)e.destroy();this.playerQueue=[]}startAssetPlayer(e,t,n,r,i){const{interstitial:a,assetItem:u,assetId:h}=e,c=a.assetList.length,S=this.playingAsset;this.endedAsset=null,this.playingAsset=u,(!S||S.identifier!==h)&&(S&&(this.clearAssetPlayer(S.identifier,n[r]),delete S.error),this.log(`INTERSTITIAL_ASSET_STARTED ${t+1}/${c} ${e}`),this.hls.trigger(m.INTERSTITIAL_ASSET_STARTED,{asset:u,assetListIndex:t,event:a,schedule:n.slice(0),scheduleIndex:r,player:e})),this.bufferAssetPlayer(e,i)}bufferAssetPlayer(e,t){var n,r;const{interstitial:i,assetItem:a,assetId:u}=e,h=this.schedule.findEventIndex(i.identifier),c=(n=this.schedule.items)==null?void 0:n[h];if(!c)return;this.setBufferingItem(c),this.bufferingAsset=a;const S=this.getBufferingPlayer();if(S===e)return;const E=i.appendInPlace;if(E&&(S==null?void 0:S.interstitial.appendInPlace)===!1)return;const z=(S==null?void 0:S.tracks)||((r=this.detachedData)==null?void 0:r.tracks)||this.requiredTracks;if(E&&a!==this.playingAsset){if(!e.tracks)return;if(z&&!ye(z,e.tracks)){const te=new Error(`Asset "${u}" SourceBuffer tracks ('${Object.keys(e.tracks)}') are not compatible with primary content tracks ('${Object.keys(z)}')`),ee={fatal:!0,type:ge.OTHER_ERROR,details:F.INTERSTITIAL_ASSET_ITEM_ERROR,error:te},De=i.findAssetIndex(a);this.handleAssetItemError(ee,i,h,De,te.message);return}}this.transferMediaTo(e,t)}handleAssetItemError(e,t,n,r,i){if(e.details===F.BUFFER_STALLED_ERROR)return;const a=t.assetList[r]||null;let u=null;if(a){const E=this.getAssetPlayerQueueIndex(a.identifier);u=this.playerQueue[E]||null}const h=this.schedule.items,c=y({},e,{fatal:!1,errorAction:lr(!0),asset:a,assetListIndex:r,event:t,schedule:h,scheduleIndex:n,player:u});if(this.warn(`Asset item error: ${e.error}`),this.hls.trigger(m.INTERSTITIAL_ASSET_ERROR,c),!e.fatal)return;const S=new Error(i);a&&(this.playingAsset!==a&&this.clearAssetPlayer(a.identifier,null),a.error=S),t.assetList.some(E=>!E.error)?t.appendInPlace&&(t.error=S):t.error=S,this.primaryFallback(t)}primaryFallback(e){const t=e.timelineStart,n=this.effectivePlayingItem;if(this.updateSchedule(),n){this.log(`Fallback to primary from event "${e.identifier}" start: ${t} pos: ${this.timelinePos} playing: ${n?Zs(n):"<none>"} error: ${e.error}`),e.appendInPlace&&(this.attachPrimary(t,null),this.flushFrontBuffer(t));let r=this.timelinePos;r===-1&&(r=this.hls.startPosition);const i=this.updateItem(n,r);if(this.itemsMatch(n,i))this.clearInterstitial(e,null);else{const a=this.schedule.findItemIndexAtTime(r);this.setSchedulePosition(a)}}else this.checkStart()}onAssetListLoaded(e,t){var n;const r=t.event,i=r.identifier,a=t.assetListResponse.ASSETS;if(!this.schedule.hasEvent(i))return;const u=r.timelineStart,h=r.duration;let c=0;a.forEach((ee,De)=>{const Ne=parseFloat(ee.DURATION);this.createAsset(r,De,c,u+c,Ne,ee.URI),c+=Ne}),r.duration=c,this.log(`Loaded asset-list with duration: ${c} (was: ${h}) ${r}`);const S=this.waitingItem,E=(S==null?void 0:S.event.identifier)===i;this.updateSchedule();const z=(n=this.bufferingItem)==null?void 0:n.event;if(E){var te;const ee=this.schedule.findEventIndex(i),De=(te=this.schedule.items)==null?void 0:te[ee];if(De){if(!this.playingItem&&this.timelinePos>De.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==ee){r.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${r}`),this.primaryFallback(r);return}this.setBufferingItem(De)}this.setSchedulePosition(ee)}else if((z==null?void 0:z.identifier)===i&&z.appendInPlace){const ee=r.assetList[0],De=this.getAssetPlayer(ee.identifier),Ne=this.primaryMedia;ee&&De&&Ne&&this.bufferAssetPlayer(De,Ne)}}onError(e,t){switch(t.details){case F.ASSET_LIST_PARSING_ERROR:case F.ASSET_LIST_LOAD_ERROR:case F.ASSET_LIST_LOAD_TIMEOUT:{const n=t.interstitial;n&&this.primaryFallback(n);break}case F.BUFFER_STALLED_ERROR:{this.onTimeupdate(),this.checkBuffer(!0);break}}}}const Jl=500;class ec extends Va{constructor(e,t,n){super(e,t,n,"subtitle-stream-controller",he.SUBTITLE),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this.registerListeners()}onHandlerDestroying(){this.unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(m.LEVEL_LOADED,this.onLevelLoaded,this),e.on(m.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(m.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(m.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(m.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.on(m.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(m.LEVEL_LOADED,this.onLevelLoaded,this),e.off(m.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(m.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(m.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(m.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.off(m.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(e,t){this.stopLoad(),this.state=_n.IDLE,this.setInterval(Jl),this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}onManifestLoading(){super.onManifestLoading(),this.mainDetails=null}onMediaDetaching(e,t){this.tracksBuffered=[],super.onMediaDetaching(e,t)}onLevelLoaded(e,t){this.mainDetails=t.details}onSubtitleFragProcessed(e,t){const{frag:n,success:r}=t;if(q(n)&&(this.fragPrevious=n),this.state=_n.IDLE,!r)return;const i=this.tracksBuffered[this.currentTrackId];if(!i)return;let a;const u=n.start;for(let c=0;c<i.length;c++)if(u>=i[c].start&&u<=i[c].end){a=i[c];break}const h=n.start+n.duration;a?a.end=h:(a={start:u,end:h},i.push(a)),this.fragmentTracker.fragBuffered(n),this.fragBufferedComplete(n,null),this.media&&this.tick()}onBufferFlushing(e,t){const{startOffset:n,endOffset:r}=t;if(n===0&&r!==Number.POSITIVE_INFINITY){const i=r-1;if(i<=0)return;t.endOffsetSubtitles=Math.max(0,i),this.tracksBuffered.forEach(a=>{for(let u=0;u<a.length;){if(a[u].end<=i){a.shift();continue}else if(a[u].start<i)a[u].start=i;else break;u++}}),this.fragmentTracker.removeFragmentsInRange(n,i,he.SUBTITLE)}}onError(e,t){const n=t.frag;(n==null?void 0:n.type)===he.SUBTITLE&&(t.details===F.FRAG_GAP&&this.fragmentTracker.fragBuffered(n,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==_n.STOPPED&&(this.state=_n.IDLE))}onSubtitleTracksUpdated(e,{subtitleTracks:t}){if(this.levels&&is(this.levels,t)){this.levels=t.map(n=>new An(n));return}this.tracksBuffered=[],this.levels=t.map(n=>{const r=new An(n);return this.tracksBuffered[r.id]=[],r}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,he.SUBTITLE),this.fragPrevious=null,this.mediaBuffer=null}onSubtitleTrackSwitch(e,t){var n;if(this.currentTrackId=t.id,!((n=this.levels)!=null&&n.length)||this.currentTrackId===-1){this.clearInterval();return}const r=this.levels[this.currentTrackId];r!=null&&r.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,r&&this.state!==_n.STOPPED&&this.setInterval(Jl)}onSubtitleTrackLoaded(e,t){var n;const{currentTrackId:r,levels:i}=this,{details:a,id:u}=t;if(!i){this.warn(`Subtitle tracks were reset while loading level ${u}`);return}const h=i[u];if(u>=i.length||!h)return;this.log(`Subtitle track ${u} loaded [${a.startSN},${a.endSN}]${a.lastPartSn?`[part-${a.lastPartSn}-${a.lastPartIndex}]`:""},duration:${a.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let c=0;if(a.live||(n=h.details)!=null&&n.live){const E=this.mainDetails;if(a.deltaUpdateFailed||!E)return;const z=E.fragments[0];if(!h.details)a.hasProgramDateTime&&E.hasProgramDateTime?(ha(a,E),c=a.fragmentStart):z&&(c=z.start,Xa(a,c));else{var S;c=this.alignPlaylists(a,h.details,(S=this.levelLastLoaded)==null?void 0:S.details),c===0&&z&&(c=z.start,Xa(a,c))}}h.details=a,this.levelLastLoaded=h,u===r&&(this.hls.trigger(m.SUBTITLE_TRACK_UPDATED,{details:a,id:u,groupId:t.groupId}),this.tick(),a.live&&!this.fragCurrent&&this.media&&this.state===_n.IDLE&&(Rn(null,a.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),h.details=void 0)))}_handleFragmentLoadComplete(e){const{frag:t,payload:n}=e,r=t.decryptdata,i=this.hls;if(!this.fragContextChanged(t)&&n&&n.byteLength>0&&r!=null&&r.key&&r.iv&&xr(r.method)){const a=performance.now();this.decrypter.decrypt(new Uint8Array(n),r.key.buffer,r.iv.buffer,ur(r.method)).catch(u=>{throw i.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.FRAG_DECRYPT_ERROR,fatal:!1,error:u,reason:u.message,frag:t}),u}).then(u=>{const h=performance.now();i.trigger(m.FRAG_DECRYPTED,{frag:t,payload:u,stats:{tstart:a,tdecrypt:h}})}).catch(u=>{this.warn(`${u.name}: ${u.message}`),this.state=_n.IDLE})}}doTick(){if(!this.media){this.state=_n.IDLE;return}if(this.state===_n.IDLE){const{currentTrackId:e,levels:t}=this,n=t==null?void 0:t[e];if(!n||!t.length||!n.details||this.waitForLive(n))return;const{config:r}=this,i=this.getLoadPosition(),a=Cr.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],i,r.maxBufferHole),{end:u,len:h}=a,c=n.details,S=this.hls.maxBufferLength+c.levelTargetDuration;if(h>S)return;const E=c.fragments,z=E.length,te=c.edge;let ee=null;const De=this.fragPrevious;if(u<te){const St=r.maxFragLookUpTolerance,ct=u>te-St?0:St;ee=Rn(De,E,Math.max(E[0].start,u),ct),!ee&&De&&De.start<E[0].start&&(ee=E[0])}else ee=E[z-1];if(ee=this.filterReplacedPrimary(ee,n.details),!ee)return;const Ne=ee.sn-c.startSN,tt=E[Ne-1];if(tt&&tt.cc===ee.cc&&this.fragmentTracker.getState(tt)===nr.NOT_LOADED&&(ee=tt),this.fragmentTracker.getState(ee)===nr.NOT_LOADED){const St=this.mapToInitFragWhenRequired(ee);St&&this.loadFragment(St,n,u)}}}loadFragment(e,t,n){q(e)?super.loadFragment(e,t,n):this._loadInitSegment(e,t)}get mediaBufferTimeRanges(){return new tc(this.tracksBuffered[this.currentTrackId]||[])}}class tc{constructor(e){this.buffered=void 0;const t=(n,r,i)=>{if(r=r>>>0,r>i-1)throw new DOMException(`Failed to execute '${n}' on 'TimeRanges': The index provided (${r}) is greater than the maximum bound (${i})`);return e[r][n]};this.buffered={get length(){return e.length},end(n){return t("end",n,e.length)},start(n){return t("start",n,e.length)}}}}const nc={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},Xl=s=>String.fromCharCode(nc[s]||s),Es=15,Hs=100,rc={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},ic={17:2,18:4,21:6,22:8,23:10,19:13,20:15},ac={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},sc={25:2,26:4,29:6,30:8,31:10,27:13,28:15},oc=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class lc{constructor(){this.time=null,this.verboseLevel=0}log(e,t){if(this.verboseLevel>=e){const n=typeof t=="function"?t():t;j.log(`${this.time} [${e}] ${n}`)}}}const ao=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n].toString(16));return t};class eu{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(e){const t=["foreground","underline","italics","background","flash"];for(let n=0;n<t.length;n++){const r=t[n];e.hasOwnProperty(r)&&(this[r]=e[r])}}isDefault(){return this.foreground==="white"&&!this.underline&&!this.italics&&this.background==="black"&&!this.flash}equals(e){return this.foreground===e.foreground&&this.underline===e.underline&&this.italics===e.italics&&this.background===e.background&&this.flash===e.flash}copy(e){this.foreground=e.foreground,this.underline=e.underline,this.italics=e.italics,this.background=e.background,this.flash=e.flash}toString(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}}class uc{constructor(){this.uchar=" ",this.penState=new eu}reset(){this.uchar=" ",this.penState.reset()}setChar(e,t){this.uchar=e,this.penState.copy(t)}setPenState(e){this.penState.copy(e)}equals(e){return this.uchar===e.uchar&&this.penState.equals(e.penState)}copy(e){this.uchar=e.uchar,this.penState.copy(e.penState)}isEmpty(){return this.uchar===" "&&this.penState.isDefault()}}class cc{constructor(e){this.chars=[],this.pos=0,this.currPenState=new eu,this.cueStartTime=null,this.logger=void 0;for(let t=0;t<Hs;t++)this.chars.push(new uc);this.logger=e}equals(e){for(let t=0;t<Hs;t++)if(!this.chars[t].equals(e.chars[t]))return!1;return!0}copy(e){for(let t=0;t<Hs;t++)this.chars[t].copy(e.chars[t])}isEmpty(){let e=!0;for(let t=0;t<Hs;t++)if(!this.chars[t].isEmpty()){e=!1;break}return e}setCursor(e){this.pos!==e&&(this.pos=e),this.pos<0?(this.logger.log(3,"Negative cursor position "+this.pos),this.pos=0):this.pos>Hs&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Hs)}moveCursor(e){const t=this.pos+e;if(e>1)for(let n=this.pos+1;n<t+1;n++)this.chars[n].setPenState(this.currPenState);this.setCursor(t)}backSpace(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)}insertChar(e){e>=144&&this.backSpace();const t=Xl(e);if(this.pos>=Hs){this.logger.log(0,()=>"Cannot insert "+e.toString(16)+" ("+t+") at position "+this.pos+". Skipping it!");return}this.chars[this.pos].setChar(t,this.currPenState),this.moveCursor(1)}clearFromPos(e){let t;for(t=e;t<Hs;t++)this.chars[t].reset()}clear(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()}clearToEndOfRow(){this.clearFromPos(this.pos)}getTextString(){const e=[];let t=!0;for(let n=0;n<Hs;n++){const r=this.chars[n].uchar;r!==" "&&(t=!1),e.push(r)}return t?"":e.join("")}setPenStyles(e){this.currPenState.setStyles(e),this.chars[this.pos].setPenState(this.currPenState)}}class Tl{constructor(e){this.rows=[],this.currRow=Es-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let t=0;t<Es;t++)this.rows.push(new cc(e));this.logger=e}reset(){for(let e=0;e<Es;e++)this.rows[e].clear();this.currRow=Es-1}equals(e){let t=!0;for(let n=0;n<Es;n++)if(!this.rows[n].equals(e.rows[n])){t=!1;break}return t}copy(e){for(let t=0;t<Es;t++)this.rows[t].copy(e.rows[t])}isEmpty(){let e=!0;for(let t=0;t<Es;t++)if(!this.rows[t].isEmpty()){e=!1;break}return e}backSpace(){this.rows[this.currRow].backSpace()}clearToEndOfRow(){this.rows[this.currRow].clearToEndOfRow()}insertChar(e){this.rows[this.currRow].insertChar(e)}setPen(e){this.rows[this.currRow].setPenStyles(e)}moveCursor(e){this.rows[this.currRow].moveCursor(e)}setCursor(e){this.logger.log(2,"setCursor: "+e),this.rows[this.currRow].setCursor(e)}setPAC(e){this.logger.log(2,()=>"pacData = "+fn(e));let t=e.row-1;if(this.nrRollUpRows&&t<this.nrRollUpRows-1&&(t=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==t){for(let u=0;u<Es;u++)this.rows[u].clear();const i=this.currRow+1-this.nrRollUpRows,a=this.lastOutputScreen;if(a){const u=a.rows[i].cueStartTime,h=this.logger.time;if(u!==null&&h!==null&&u<h)for(let c=0;c<this.nrRollUpRows;c++)this.rows[t-this.nrRollUpRows+c+1].copy(a.rows[i+c])}}this.currRow=t;const n=this.rows[this.currRow];if(e.indent!==null){const i=e.indent,a=Math.max(i-1,0);n.setCursor(e.indent),e.color=n.chars[a].penState.foreground}const r={foreground:e.color,underline:e.underline,italics:e.italics,background:"black",flash:!1};this.setPen(r)}setBkgData(e){this.logger.log(2,()=>"bkgData = "+fn(e)),this.backSpace(),this.setPen(e),this.insertChar(32)}setRollUpRows(e){this.nrRollUpRows=e}rollUp(){if(this.nrRollUpRows===null){this.logger.log(3,"roll_up but nrRollUpRows not set yet");return}this.logger.log(1,()=>this.getDisplayText());const e=this.currRow+1-this.nrRollUpRows,t=this.rows.splice(e,1)[0];t.clear(),this.rows.splice(this.currRow,0,t),this.logger.log(2,"Rolling up")}getDisplayText(e){e=e||!1;const t=[];let n="",r=-1;for(let i=0;i<Es;i++){const a=this.rows[i].getTextString();a&&(r=i+1,e?t.push("Row "+r+": '"+a+"'"):t.push(a.trim()))}return t.length>0&&(e?n="["+t.join(" | ")+"]":n=t.join(`
`)),n}getTextAndFormat(){return this.rows}}class tu{constructor(e,t,n){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=e,this.outputFilter=t,this.mode=null,this.verbose=0,this.displayedMemory=new Tl(n),this.nonDisplayedMemory=new Tl(n),this.lastOutputScreen=new Tl(n),this.currRollUpRow=this.displayedMemory.rows[Es-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=n}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[Es-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}getHandler(){return this.outputFilter}setHandler(e){this.outputFilter=e}setPAC(e){this.writeScreen.setPAC(e)}setBkgData(e){this.writeScreen.setBkgData(e)}setMode(e){e!==this.mode&&(this.mode=e,this.logger.log(2,()=>"MODE="+e),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=e)}insertChars(e){for(let n=0;n<e.length;n++)this.writeScreen.insertChar(e[n]);const t=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";this.logger.log(2,()=>t+": "+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(e){this.logger.log(2,"RU("+e+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(e)}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 e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,this.logger.log(1,()=>"DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)}ccTO(e){this.logger.log(2,"TO("+e+") - Tab Offset"),this.writeScreen.moveCursor(e)}ccMIDROW(e){const t={flash:!1};if(t.underline=e%2===1,t.italics=e>=46,t.italics)t.foreground="white";else{const n=Math.floor(e/2)-16,r=["white","green","blue","cyan","red","yellow","magenta"];t.foreground=r[n]}this.logger.log(2,"MIDROW: "+fn(t)),this.writeScreen.setPen(t)}outputDataUpdate(e=!1){const t=this.logger.time;t!==null&&this.outputFilter&&(this.cueStartTime===null&&!this.displayedMemory.isEmpty()?this.cueStartTime=t:this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue(this.cueStartTime,t,this.lastOutputScreen),e&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue(),this.cueStartTime=this.displayedMemory.isEmpty()?null:t),this.lastOutputScreen.copy(this.displayedMemory))}cueSplitAtTime(e){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,e,this.displayedMemory),this.cueStartTime=e))}}class nu{constructor(e,t,n){this.channels=void 0,this.currentChannel=0,this.cmdHistory=fc(),this.logger=void 0;const r=this.logger=new lc;this.channels=[null,new tu(e,t,r),new tu(e+1,n,r)]}getHandler(e){return this.channels[e].getHandler()}setHandler(e,t){this.channels[e].setHandler(t)}addData(e,t){this.logger.time=e;for(let n=0;n<t.length;n+=2){const r=t[n]&127,i=t[n+1]&127;let a=!1,u=null;if(r===0&&i===0)continue;this.logger.log(3,()=>"["+ao([t[n],t[n+1]])+"] -> ("+ao([r,i])+")");const h=this.cmdHistory;if(r>=16&&r<=31){if(dc(r,i,h)){dl(null,null,h),this.logger.log(3,()=>"Repeated command ("+ao([r,i])+") is dropped");continue}dl(r,i,this.cmdHistory),a=this.parseCmd(r,i),a||(a=this.parseMidrow(r,i)),a||(a=this.parsePAC(r,i)),a||(a=this.parseBackgroundAttributes(r,i))}else dl(null,null,h);if(!a&&(u=this.parseChars(r,i),u)){const S=this.currentChannel;S&&S>0?this.channels[S].insertChars(u):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!a&&!u&&this.logger.log(2,()=>"Couldn't parse cleaned data "+ao([r,i])+" orig: "+ao([t[n],t[n+1]]))}}parseCmd(e,t){const n=(e===20||e===28||e===21||e===29)&&t>=32&&t<=47,r=(e===23||e===31)&&t>=33&&t<=35;if(!(n||r))return!1;const i=e===20||e===21||e===23?1:2,a=this.channels[i];return e===20||e===21||e===28||e===29?t===32?a.ccRCL():t===33?a.ccBS():t===34?a.ccAOF():t===35?a.ccAON():t===36?a.ccDER():t===37?a.ccRU(2):t===38?a.ccRU(3):t===39?a.ccRU(4):t===40?a.ccFON():t===41?a.ccRDC():t===42?a.ccTR():t===43?a.ccRTD():t===44?a.ccEDM():t===45?a.ccCR():t===46?a.ccENM():t===47&&a.ccEOC():a.ccTO(t-32),this.currentChannel=i,!0}parseMidrow(e,t){let n=0;if((e===17||e===25)&&t>=32&&t<=47){if(e===17?n=1:n=2,n!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const r=this.channels[n];return r?(r.ccMIDROW(t),this.logger.log(3,()=>"MIDROW ("+ao([e,t])+")"),!0):!1}return!1}parsePAC(e,t){let n;const r=(e>=17&&e<=23||e>=25&&e<=31)&&t>=64&&t<=127,i=(e===16||e===24)&&t>=64&&t<=95;if(!(r||i))return!1;const a=e<=23?1:2;t>=64&&t<=95?n=a===1?rc[e]:ac[e]:n=a===1?ic[e]:sc[e];const u=this.channels[a];return u?(u.setPAC(this.interpretPAC(n,t)),this.currentChannel=a,!0):!1}interpretPAC(e,t){let n;const r={color:null,italics:!1,indent:null,underline:!1,row:e};return t>95?n=t-96:n=t-64,r.underline=(n&1)===1,n<=13?r.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(n/2)]:n<=15?(r.italics=!0,r.color="white"):r.indent=Math.floor((n-16)/2)*4,r}parseChars(e,t){let n,r=null,i=null;if(e>=25?(n=2,i=e-8):(n=1,i=e),i>=17&&i<=19){let a;i===17?a=t+80:i===18?a=t+112:a=t+144,this.logger.log(2,()=>"Special char '"+Xl(a)+"' in channel "+n),r=[a]}else e>=32&&e<=127&&(r=t===0?[e]:[e,t]);return r&&this.logger.log(3,()=>"Char codes = "+ao(r).join(",")),r}parseBackgroundAttributes(e,t){const n=(e===16||e===24)&&t>=32&&t<=47,r=(e===23||e===31)&&t>=45&&t<=47;if(!(n||r))return!1;let i;const a={};e===16||e===24?(i=Math.floor((t-32)/2),a.background=oc[i],t%2===1&&(a.background=a.background+"_semi")):t===45?a.background="transparent":(a.foreground="black",t===47&&(a.underline=!0));const u=e<=23?1:2;return this.channels[u].setBkgData(a),!0}reset(){for(let e=0;e<Object.keys(this.channels).length;e++){const t=this.channels[e];t&&t.reset()}dl(null,null,this.cmdHistory)}cueSplitAtTime(e){for(let t=0;t<this.channels.length;t++){const n=this.channels[t];n&&n.cueSplitAtTime(e)}}}function dl(s,e,t){t.a=s,t.b=e}function dc(s,e,t){return t.a===s&&t.b===e}function fc(){return{a:null,b:null}}var Rl=function(){if(Ti!=null&&Ti.VTTCue)return self.VTTCue;const s=["","lr","rl"],e=["start","middle","end","left","right"];function t(u,h){if(typeof h!="string"||!Array.isArray(u))return!1;const c=h.toLowerCase();return~u.indexOf(c)?c:!1}function n(u){return t(s,u)}function r(u){return t(e,u)}function i(u,...h){let c=1;for(;c<arguments.length;c++){const S=arguments[c];for(const E in S)u[E]=S[E]}return u}function a(u,h,c){const S=this,E={enumerable:!0};S.hasBeenReset=!1;let z="",te=!1,ee=u,De=h,Ne=c,tt=null,St="",ct=!0,zt="auto",Vt="start",pn=50,$t="middle",un=50,wn="middle";Object.defineProperty(S,"id",i({},E,{get:function(){return z},set:function(Jt){z=""+Jt}})),Object.defineProperty(S,"pauseOnExit",i({},E,{get:function(){return te},set:function(Jt){te=!!Jt}})),Object.defineProperty(S,"startTime",i({},E,{get:function(){return ee},set:function(Jt){if(typeof Jt!="number")throw new TypeError("Start time must be set to a number.");ee=Jt,this.hasBeenReset=!0}})),Object.defineProperty(S,"endTime",i({},E,{get:function(){return De},set:function(Jt){if(typeof Jt!="number")throw new TypeError("End time must be set to a number.");De=Jt,this.hasBeenReset=!0}})),Object.defineProperty(S,"text",i({},E,{get:function(){return Ne},set:function(Jt){Ne=""+Jt,this.hasBeenReset=!0}})),Object.defineProperty(S,"region",i({},E,{get:function(){return tt},set:function(Jt){tt=Jt,this.hasBeenReset=!0}})),Object.defineProperty(S,"vertical",i({},E,{get:function(){return St},set:function(Jt){const $n=n(Jt);if($n===!1)throw new SyntaxError("An invalid or illegal string was specified.");St=$n,this.hasBeenReset=!0}})),Object.defineProperty(S,"snapToLines",i({},E,{get:function(){return ct},set:function(Jt){ct=!!Jt,this.hasBeenReset=!0}})),Object.defineProperty(S,"line",i({},E,{get:function(){return zt},set:function(Jt){if(typeof Jt!="number"&&Jt!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");zt=Jt,this.hasBeenReset=!0}})),Object.defineProperty(S,"lineAlign",i({},E,{get:function(){return Vt},set:function(Jt){const $n=r(Jt);if(!$n)throw new SyntaxError("An invalid or illegal string was specified.");Vt=$n,this.hasBeenReset=!0}})),Object.defineProperty(S,"position",i({},E,{get:function(){return pn},set:function(Jt){if(Jt<0||Jt>100)throw new Error("Position must be between 0 and 100.");pn=Jt,this.hasBeenReset=!0}})),Object.defineProperty(S,"positionAlign",i({},E,{get:function(){return $t},set:function(Jt){const $n=r(Jt);if(!$n)throw new SyntaxError("An invalid or illegal string was specified.");$t=$n,this.hasBeenReset=!0}})),Object.defineProperty(S,"size",i({},E,{get:function(){return un},set:function(Jt){if(Jt<0||Jt>100)throw new Error("Size must be between 0 and 100.");un=Jt,this.hasBeenReset=!0}})),Object.defineProperty(S,"align",i({},E,{get:function(){return wn},set:function(Jt){const $n=r(Jt);if(!$n)throw new SyntaxError("An invalid or illegal string was specified.");wn=$n,this.hasBeenReset=!0}})),S.displayState=void 0}return a.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},a}();class hc{decode(e,t){if(!e)return"";if(typeof e!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}function ru(s){function e(n,r,i,a){return(n|0)*3600+(r|0)*60+(i|0)+parseFloat(a||0)}const t=s.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return t?parseFloat(t[2])>59?e(t[2],t[3],0,t[4]):e(t[1],t[2],t[3],t[4]):null}class pc{constructor(){this.values=Object.create(null)}set(e,t){!this.get(e)&&t!==""&&(this.values[e]=t)}get(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t}has(e){return e in this.values}alt(e,t,n){for(let r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}}integer(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))}percent(e,t){if(/^([\d]{1,3})(\.[\d]*)?%$/.test(t)){const n=parseFloat(t);if(n>=0&&n<=100)return this.set(e,n),!0}return!1}}function iu(s,e,t,n){const r=n?s.split(n):[s];for(const i in r){if(typeof r[i]!="string")continue;const a=r[i].split(t);if(a.length!==2)continue;const u=a[0],h=a[1];e(u,h)}}const Dl=new Rl(0,0,""),fl=Dl.align==="middle"?"middle":"center";function mc(s,e,t){const n=s;function r(){const u=ru(s);if(u===null)throw new Error("Malformed timestamp: "+n);return s=s.replace(/^[^\sa-zA-Z-]+/,""),u}function i(u,h){const c=new pc;iu(u,function(z,te){let ee;switch(z){case"region":for(let De=t.length-1;De>=0;De--)if(t[De].id===te){c.set(z,t[De].region);break}break;case"vertical":c.alt(z,te,["rl","lr"]);break;case"line":ee=te.split(","),c.integer(z,ee[0]),c.percent(z,ee[0])&&c.set("snapToLines",!1),c.alt(z,ee[0],["auto"]),ee.length===2&&c.alt("lineAlign",ee[1],["start",fl,"end"]);break;case"position":ee=te.split(","),c.percent(z,ee[0]),ee.length===2&&c.alt("positionAlign",ee[1],["start",fl,"end","line-left","line-right","auto"]);break;case"size":c.percent(z,te);break;case"align":c.alt(z,te,["start",fl,"end","left","right"]);break}},/:/,/\s/),h.region=c.get("region",null),h.vertical=c.get("vertical","");let S=c.get("line","auto");S==="auto"&&Dl.line===-1&&(S=-1),h.line=S,h.lineAlign=c.get("lineAlign","start"),h.snapToLines=c.get("snapToLines",!0),h.size=c.get("size",100),h.align=c.get("align",fl);let E=c.get("position","auto");E==="auto"&&Dl.position===50&&(E=h.align==="start"||h.align==="left"?0:h.align==="end"||h.align==="right"?100:50),h.position=E}function a(){s=s.replace(/^\s+/,"")}if(a(),e.startTime=r(),a(),s.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+n);s=s.slice(3),a(),e.endTime=r(),a(),i(s,e)}function au(s){return s.replace(/<br(?: \/)?>/gi,`
`)}class gc{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new hc,this.regionList=[],this.cue=null,this.oncue=void 0,this.onparsingerror=void 0,this.onflush=void 0}parse(e){const t=this;e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));function n(){let i=t.buffer,a=0;for(i=au(i);a<i.length&&i[a]!=="\r"&&i[a]!==`
`;)++a;const u=i.slice(0,a);return i[a]==="\r"&&++a,i[a]===`
`&&++a,t.buffer=i.slice(a),u}function r(i){iu(i,function(a,u){},/:/)}try{let i="";if(t.state==="INITIAL"){if(!/\r\n|\n/.test(t.buffer))return this;i=n();const u=i.match(/^()?WEBVTT([ \t].*)?$/);if(!(u!=null&&u[0]))throw new Error("Malformed WebVTT signature.");t.state="HEADER"}let a=!1;for(;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(a?a=!1:i=n(),t.state){case"HEADER":/:/.test(i)?r(i):i||(t.state="ID");continue;case"NOTE":i||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){t.state="NOTE";break}if(!i)continue;if(t.cue=new Rl(0,0,""),t.state="CUE",i.indexOf("-->")===-1){t.cue.id=i;continue}case"CUE":if(!t.cue){t.state="BADCUE";continue}try{mc(i,t.cue,t.regionList)}catch(u){t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":{const u=i.indexOf("-->")!==-1;if(!i||u&&(a=!0)){t.oncue&&t.cue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}if(t.cue===null)continue;t.cue.text&&(t.cue.text+=`
`),t.cue.text+=i}continue;case"BADCUE":i||(t.state="ID")}}}catch(i){t.state==="CUETEXT"&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state=t.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this}flush(){const e=this;try{if((e.cue||e.state==="HEADER")&&(e.buffer+=`
`,e.parse()),e.state==="INITIAL"||e.state==="BADWEBVTT")throw new Error("Malformed WebVTT signature.")}catch(t){e.onparsingerror&&e.onparsingerror(t)}return e.onflush&&e.onflush(),this}}const vc=/\r\n|\n\r|\n|\r/g,Il=function(e,t,n=0){return e.slice(n,n+t.length)===t},yc=function(e){let t=parseInt(e.slice(-3));const n=parseInt(e.slice(-6,-4)),r=parseInt(e.slice(-9,-7)),i=e.length>9?parseInt(e.substring(0,e.indexOf(":"))):0;if(!g(t)||!g(n)||!g(r)||!g(i))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${e}`);return t+=1e3*n,t+=60*1e3*r,t+=60*60*1e3*i,t};function Fl(s,e,t){return Go(s.toString())+Go(e.toString())+Go(t)}const bc=function(e,t,n){let r=e[t],i=e[r.prevCC];if(!i||!i.new&&r.new){e.ccOffset=e.presentationOffset=r.start,r.new=!1;return}for(;(a=i)!=null&&a.new;){var a;e.ccOffset+=r.start-i.start,r.new=!1,r=i,i=e[r.prevCC]}e.presentationOffset=n};function Sc(s,e,t,n,r,i,a){const u=new gc,h=le(new Uint8Array(s)).trim().replace(vc,`
`).split(`
`),c=[],S=e?dr(e.baseTime,e.timescale):0;let E="00:00.000",z=0,te=0,ee,De=!0;u.oncue=function(Ne){const tt=t[n];let St=t.ccOffset;const ct=(z-S)/9e4;if(tt!=null&&tt.new&&(te!==void 0?St=t.ccOffset=tt.start:bc(t,n,ct)),ct){if(!e){ee=new Error("Missing initPTS for VTT MPEGTS");return}St=ct-t.presentationOffset}const zt=Ne.endTime-Ne.startTime,Vt=Di((Ne.startTime+St-te)*9e4,r*9e4)/9e4;Ne.startTime=Math.max(Vt,0),Ne.endTime=Math.max(Vt+zt,0);const pn=Ne.text.trim();Ne.text=decodeURIComponent(encodeURIComponent(pn)),Ne.id||(Ne.id=Fl(Ne.startTime,Ne.endTime,pn)),Ne.endTime>0&&c.push(Ne)},u.onparsingerror=function(Ne){ee=Ne},u.onflush=function(){if(ee){a(ee);return}i(c)},h.forEach(Ne=>{if(De)if(Il(Ne,"X-TIMESTAMP-MAP=")){De=!1,Ne.slice(16).split(",").forEach(tt=>{Il(tt,"LOCAL:")?E=tt.slice(6):Il(tt,"MPEGTS:")&&(z=parseInt(tt.slice(7)))});try{te=yc(E)/1e3}catch(tt){ee=tt}return}else Ne===""&&(De=!1);u.parse(Ne+`
`)}),u.flush()}const Ll="stpp.ttml.im1t",su=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,ou=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,xc={left:"start",center:"center",right:"end",start:"start",end:"end"};function lu(s,e,t,n){const r=fe(new Uint8Array(s),["mdat"]);if(r.length===0){n(new Error("Could not parse IMSC1 mdat"));return}const i=r.map(u=>le(u)),a=cr(e.baseTime,1,e.timescale);try{i.forEach(u=>t(Ec(u,a)))}catch(u){n(u)}}function Ec(s,e){const r=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("tt")[0];if(!r)throw new Error("Invalid ttml");const i={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},a=Object.keys(i).reduce((E,z)=>(E[z]=r.getAttribute(`ttp:${z}`)||i[z],E),{}),u=r.getAttribute("xml:space")!=="preserve",h=uu(Pl(r,"styling","style")),c=uu(Pl(r,"layout","region")),S=Pl(r,"body","[begin]");return[].map.call(S,E=>{const z=cu(E,u);if(!z||!E.hasAttribute("begin"))return null;const te=Ol(E.getAttribute("begin"),a),ee=Ol(E.getAttribute("dur"),a);let De=Ol(E.getAttribute("end"),a);if(te===null)throw du(E);if(De===null){if(ee===null)throw du(E);De=te+ee}const Ne=new Rl(te-e,De-e,z);Ne.id=Fl(Ne.startTime,Ne.endTime,Ne.text);const tt=c[E.getAttribute("region")],St=h[E.getAttribute("style")],ct=Ac(tt,St,h),{textAlign:zt}=ct;if(zt){const Vt=xc[zt];Vt&&(Ne.lineAlign=Vt),Ne.align=zt}return y(Ne,ct),Ne}).filter(E=>E!==null)}function Pl(s,e,t){const n=s.getElementsByTagName(e)[0];return n?[].slice.call(n.querySelectorAll(t)):[]}function uu(s){return s.reduce((e,t)=>{const n=t.getAttribute("xml:id");return n&&(e[n]=t),e},{})}function cu(s,e){return[].slice.call(s.childNodes).reduce((t,n,r)=>{var i;return n.nodeName==="br"&&r?t+`
`:(i=n.childNodes)!=null&&i.length?cu(n,e):e?t+n.textContent.trim().replace(/\s+/g," "):t+n.textContent},"")}function Ac(s,e,t){const n="http://www.w3.org/ns/ttml#styling";let r=null;const i=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],a=s!=null&&s.hasAttribute("style")?s.getAttribute("style"):null;return a&&t.hasOwnProperty(a)&&(r=t[a]),i.reduce((u,h)=>{const c=kl(e,n,h)||kl(s,n,h)||kl(r,n,h);return c&&(u[h]=c),u},{})}function kl(s,e,t){return s&&s.hasAttributeNS(e,t)?s.getAttributeNS(e,t):null}function du(s){return new Error(`Could not parse ttml timestamp ${s}`)}function Ol(s,e){if(!s)return null;let t=ru(s);return t===null&&(su.test(s)?t=_c(s,e):ou.test(s)&&(t=wc(s,e))),t}function _c(s,e){const t=su.exec(s),n=(t[4]|0)+(t[5]|0)/e.subFrameRate;return(t[1]|0)*3600+(t[2]|0)*60+(t[3]|0)+n/e.frameRate}function wc(s,e){const t=ou.exec(s),n=Number(t[1]);switch(t[2]){case"h":return n*3600;case"m":return n*60;case"ms":return n*1e3;case"f":return n/e.frameRate;case"t":return n/e.tickRate}return n}class hl{constructor(e,t){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=e,this.trackName=t}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(e,t,n){(this.startTime===null||this.startTime>e)&&(this.startTime=e),this.endTime=t,this.screen=n,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class Cc{constructor(e){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=pu(),this.captionsProperties=void 0,this.hls=e,this.config=e.config,this.Cues=e.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}},e.on(m.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(m.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(m.FRAG_LOADING,this.onFragLoading,this),e.on(m.FRAG_LOADED,this.onFragLoaded,this),e.on(m.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.on(m.FRAG_DECRYPTED,this.onFragDecrypted,this),e.on(m.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(m.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.on(m.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:e}=this;e.off(m.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(m.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(m.FRAG_LOADING,this.onFragLoading,this),e.off(m.FRAG_LOADED,this.onFragLoaded,this),e.off(m.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.off(m.FRAG_DECRYPTED,this.onFragDecrypted,this),e.off(m.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(m.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.off(m.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const e=new hl(this,"textTrack1"),t=new hl(this,"textTrack2"),n=new hl(this,"textTrack3"),r=new hl(this,"textTrack4");this.cea608Parser1=new nu(1,e,t),this.cea608Parser2=new nu(3,n,r)}addCues(e,t,n,r,i){let a=!1;for(let u=i.length;u--;){const h=i[u],c=Tc(h[0],h[1],t,n);if(c>=0&&(h[0]=Math.min(h[0],t),h[1]=Math.max(h[1],n),a=!0,c/(n-t)>.5))return}if(a||i.push([t,n]),this.config.renderTextTracksNatively){const u=this.captionsTracks[e];this.Cues.newCue(u,t,n,r)}else{const u=this.Cues.newCue(null,t,n,r);this.hls.trigger(m.CUES_PARSED,{type:"captions",cues:u,track:e})}}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i}){const{unparsedVttFrags:a}=this;n===he.MAIN&&(this.initPTS[t.cc]={baseTime:r,timescale:i}),a.length&&(this.unparsedVttFrags=[],a.forEach(u=>{this.onFragLoaded(m.FRAG_LOADED,u)}))}getExistingTrack(e,t){const{media:n}=this;if(n)for(let r=0;r<n.textTracks.length;r++){const i=n.textTracks[r];if(hu(i,{name:e,lang:t,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return i}return null}createCaptionsTrack(e){this.config.renderTextTracksNatively?this.createNativeTrack(e):this.createNonNativeTrack(e)}createNativeTrack(e){if(this.captionsTracks[e])return;const{captionsProperties:t,captionsTracks:n,media:r}=this,{label:i,languageCode:a}=t[e],u=this.getExistingTrack(i,a);if(u)n[e]=u,Do(n[e]),$l(n[e],r);else{const h=this.createTextTrack("captions",i,a);h&&(h[e]=!0,n[e]=h)}}createNonNativeTrack(e){if(this.nonNativeCaptionsTracks[e])return;const t=this.captionsProperties[e];if(!t)return;const n=t.label,r={_id:e,label:n,kind:"captions",default:t.media?!!t.media.default:!1,closedCaptions:t.media};this.nonNativeCaptionsTracks[e]=r,this.hls.trigger(m.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[r]})}createTextTrack(e,t,n){const r=this.media;if(r)return r.addTextTrack(e,t,n)}onMediaAttaching(e,t){this.media=t.media,t.mediaSource||this._cleanTracks()}onMediaDetaching(e,t){const n=!!t.transferMedia;if(this.media=null,n)return;const{captionsTracks:r}=this;Object.keys(r).forEach(i=>{Do(r[i]),delete r[i]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=pu(),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:e}=this;if(!e)return;const t=e.textTracks;if(t)for(let n=0;n<t.length;n++)Do(t[n])}onSubtitleTracksUpdated(e,t){const n=t.subtitleTracks||[],r=n.some(i=>i.textCodec===Ll);if(this.config.enableWebVTT||r&&this.config.enableIMSC1){if(is(this.tracks,n)){this.tracks=n;return}if(this.textTracks=[],this.tracks=n,this.config.renderTextTracksNatively){const a=this.media,u=a?ul(a.textTracks):null;if(this.tracks.forEach((h,c)=>{let S;if(u){let E=null;for(let z=0;z<u.length;z++)if(u[z]&&hu(u[z],h)){E=u[z],u[z]=null;break}E&&(S=E)}if(S)Do(S);else{const E=fu(h);S=this.createTextTrack(E,h.name,h.lang),S&&(S.mode="disabled")}S&&this.textTracks.push(S)}),u!=null&&u.length){const h=u.filter(c=>c!==null).map(c=>c.label);h.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${h.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const a=this.tracks.map(u=>({label:u.name,kind:u.type.toLowerCase(),default:u.default,subtitleTrack:u}));this.hls.trigger(m.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:a})}}}onManifestLoaded(e,t){this.config.enableCEA708Captions&&t.captions&&t.captions.forEach(n=>{const r=/(?:CC|SERVICE)([1-4])/.exec(n.instreamId);if(!r)return;const i=`textTrack${r[1]}`,a=this.captionsProperties[i];a&&(a.label=n.name,n.lang&&(a.languageCode=n.lang),a.media=n)})}closedCaptionsForLevel(e){const t=this.hls.levels[e.level];return t==null?void 0:t.attrs["CLOSED-CAPTIONS"]}onFragLoading(e,t){if(this.enabled&&t.frag.type===he.MAIN){var n,r;const{cea608Parser1:i,cea608Parser2:a,lastSn:u}=this,{cc:h,sn:c}=t.frag,S=(n=(r=t.part)==null?void 0:r.index)!=null?n:-1;i&&a&&(c!==u+1||c===u&&S!==this.lastPartIndex+1||h!==this.lastCc)&&(i.reset(),a.reset()),this.lastCc=h,this.lastSn=c,this.lastPartIndex=S}}onFragLoaded(e,t){const{frag:n,payload:r}=t;if(n.type===he.SUBTITLE)if(r.byteLength){const i=n.decryptdata,a="stats"in t;if(i==null||!i.encrypted||a){const u=this.tracks[n.level],h=this.vttCCs;h[n.cc]||(h[n.cc]={start:n.start,prevCC:this.prevCC,new:!0},this.prevCC=n.cc),u&&u.textCodec===Ll?this._parseIMSC1(n,r):this._parseVTTs(t)}}else this.hls.trigger(m.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:new Error("Empty subtitle payload")})}_parseIMSC1(e,t){const n=this.hls;lu(t,this.initPTS[e.cc],r=>{this._appendCues(r,e.level),n.trigger(m.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})},r=>{n.logger.log(`Failed to parse IMSC1: ${r}`),n.trigger(m.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e,error:r})})}_parseVTTs(e){var t;const{frag:n,payload:r}=e,{initPTS:i,unparsedVttFrags:a}=this,u=i.length-1;if(!i[n.cc]&&u===-1){a.push(e);return}const h=this.hls,c=(t=n.initSegment)!=null&&t.data?Ze(n.initSegment.data,new Uint8Array(r)).buffer:r;Sc(c,this.initPTS[n.cc],this.vttCCs,n.cc,n.start,S=>{this._appendCues(S,n.level),h.trigger(m.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:n})},S=>{const E=S.message==="Missing initPTS for VTT MPEGTS";E?a.push(e):this._fallbackToIMSC1(n,r),h.logger.log(`Failed to parse VTT cue: ${S}`),!(E&&u>n.cc)&&h.trigger(m.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:S})})}_fallbackToIMSC1(e,t){const n=this.tracks[e.level];n.textCodec||lu(t,this.initPTS[e.cc],()=>{n.textCodec=Ll,this._parseIMSC1(e,t)},()=>{n.textCodec="wvtt"})}_appendCues(e,t){const n=this.hls;if(this.config.renderTextTracksNatively){const r=this.textTracks[t];if(!r||r.mode==="disabled")return;e.forEach(i=>Zl(r,i))}else{const r=this.tracks[t];if(!r)return;const i=r.default?"default":"subtitles"+t;n.trigger(m.CUES_PARSED,{type:"subtitles",cues:e,track:i})}}onFragDecrypted(e,t){const{frag:n}=t;n.type===he.SUBTITLE&&this.onFragLoaded(m.FRAG_LOADED,t)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(e,t){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:n,samples:r}=t;if(!(n.type===he.MAIN&&this.closedCaptionsForLevel(n)==="NONE"))for(let i=0;i<r.length;i++){const a=r[i].bytes;if(a){this.cea608Parser1||this.initCea608Parsers();const u=this.extractCea608Data(a);this.cea608Parser1.addData(r[i].pts,u[0]),this.cea608Parser2.addData(r[i].pts,u[1])}}}onBufferFlushing(e,{startOffset:t,endOffset:n,endOffsetSubtitles:r,type:i}){const{media:a}=this;if(!(!a||a.currentTime<n)){if(!i||i==="video"){const{captionsTracks:u}=this;Object.keys(u).forEach(h=>_l(u[h],t,n))}if(this.config.renderTextTracksNatively&&t===0&&r!==void 0){const{textTracks:u}=this;Object.keys(u).forEach(h=>_l(u[h],t,r))}}}extractCea608Data(e){const t=[[],[]],n=e[0]&31;let r=2;for(let i=0;i<n;i++){const a=e[r++],u=127&e[r++],h=127&e[r++];if(u===0&&h===0)continue;if((4&a)!==0){const S=3&a;(S===0||S===1)&&(t[S].push(u),t[S].push(h))}}return t}}function fu(s){return s.characteristics&&/transcribes-spoken-dialog/gi.test(s.characteristics)&&/describes-music-and-sound/gi.test(s.characteristics)?"captions":"subtitles"}function hu(s,e){return!!s&&s.kind===fu(e)&&ps(e,s)}function Tc(s,e,t,n){return Math.min(e,n)-Math.max(s,t)}function pu(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const Rc=/\s/,Dc={newCue(s,e,t,n){const r=[];let i,a,u,h,c;const S=self.VTTCue||self.TextTrackCue;for(let z=0;z<n.rows.length;z++)if(i=n.rows[z],u=!0,h=0,c="",!i.isEmpty()){var E;for(let De=0;De<i.chars.length;De++)Rc.test(i.chars[De].uchar)&&u?h++:(c+=i.chars[De].uchar,u=!1);i.cueStartTime=e,e===t&&(t+=1e-4),h>=16?h--:h++;const te=au(c.trim()),ee=Fl(e,t,te);s!=null&&(E=s.cues)!=null&&E.getCueById(ee)||(a=new S(e,t,te),a.id=ee,a.line=z+1,a.align="left",a.position=10+Math.min(80,Math.floor(h*8/32)*10),r.push(a))}return s&&r.length&&(r.sort((z,te)=>z.line==="auto"||te.line==="auto"?0:z.line>8&&te.line>8?te.line-z.line:z.line-te.line),r.forEach(z=>Zl(s,z))),r}};function Ic(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(s){}return!1}const Fc=/(\d+)-(\d+)\/(\d+)/;class mu{constructor(e){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=e.fetchSetup||Oc,this.controller=new self.AbortController,this.stats=new v}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 e;this.abortInternal(),(e=this.callbacks)!=null&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(e,t,n){const r=this.stats;if(r.loading.start)throw new Error("Loader can only be used once.");r.loading.start=self.performance.now();const i=Lc(e,this.controller.signal),a=e.responseType==="arraybuffer",u=a?"byteLength":"length",{maxTimeToFirstByteMs:h,maxLoadTimeMs:c}=t.loadPolicy;this.context=e,this.config=t,this.callbacks=n,this.request=this.fetchSetup(e,i),self.clearTimeout(this.requestTimeout),t.timeout=h&&g(h)?h:c,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(r,e,this.response))},t.timeout),(Fa(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(E=>{var z;this.response=this.loader=E;const te=Math.max(self.performance.now(),r.loading.start);if(self.clearTimeout(this.requestTimeout),t.timeout=c,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(r,e,this.response))},c-(te-r.loading.start)),!E.ok){const{status:De,statusText:Ne}=E;throw new Nc(Ne||"fetch, bad network response",De,E)}r.loading.first=te,r.total=kc(E.headers)||r.total;const ee=(z=this.callbacks)==null?void 0:z.onProgress;return ee&&g(t.highWaterMark)?this.loadProgressively(E,r,e,t.highWaterMark,ee):a?E.arrayBuffer():e.responseType==="json"?E.json():E.text()}).then(E=>{var z,te;const ee=this.response;if(!ee)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),r.loading.end=Math.max(self.performance.now(),r.loading.first);const De=E[u];De&&(r.loaded=r.total=De);const Ne={url:ee.url,data:E,code:ee.status},tt=(z=this.callbacks)==null?void 0:z.onProgress;tt&&!g(t.highWaterMark)&&tt(r,e,E,ee),(te=this.callbacks)==null||te.onSuccess(Ne,r,e,ee)}).catch(E=>{var z;if(self.clearTimeout(this.requestTimeout),r.aborted)return;const te=E&&E.code||0,ee=E?E.message:null;(z=this.callbacks)==null||z.onError({code:te,text:ee},e,E?E.details:null,r)})}getCacheAge(){let e=null;if(this.response){const t=this.response.headers.get("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.response?this.response.headers.get(e):null}loadProgressively(e,t,n,r=0,i){const a=new ks,u=e.body.getReader(),h=()=>u.read().then(c=>{if(c.done)return a.dataLength&&i(t,n,a.flush().buffer,e),Promise.resolve(new ArrayBuffer(0));const S=c.value,E=S.length;return t.loaded+=E,E<r||a.dataLength?(a.push(S),a.dataLength>=r&&i(t,n,a.flush().buffer,e)):i(t,n,S.buffer,e),h()}).catch(()=>Promise.reject());return h()}}function Lc(s,e){const t={method:"GET",mode:"cors",credentials:"same-origin",signal:e,headers:new self.Headers(y({},s.headers))};return s.rangeEnd&&t.headers.set("Range","bytes="+s.rangeStart+"-"+String(s.rangeEnd-1)),t}function Pc(s){const e=Fc.exec(s);if(e)return parseInt(e[2])-parseInt(e[1])+1}function kc(s){const e=s.get("Content-Range");if(e){const n=Pc(e);if(g(n))return n}const t=s.get("Content-Length");if(t)return parseInt(t)}function Oc(s,e){return new self.Request(s.url,e)}class Nc extends Error{constructor(e,t,n){super(e),this.code=void 0,this.details=void 0,this.code=t,this.details=n}}const Uc=/^age:\s*[\d.]+\s*$/im;class gu{constructor(e){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=e&&e.xhrSetup||null,this.stats=new v,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const e=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),e&&(e.onreadystatechange=null,e.onprogress=null,e.readyState!==4&&(this.stats.aborted=!0,e.abort()))}abort(){var e;this.abortInternal(),(e=this.callbacks)!=null&&e.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(e,t,n){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=e,this.config=t,this.callbacks=n,this.loadInternal()}loadInternal(){const{config:e,context:t}=this;if(!e||!t)return;const n=this.loader=new self.XMLHttpRequest,r=this.stats;r.loading.first=0,r.loaded=0,r.aborted=!1;const i=this.xhrSetup;i?Promise.resolve().then(()=>{if(!(this.loader!==n||this.stats.aborted))return i(n,t.url)}).catch(a=>{if(!(this.loader!==n||this.stats.aborted))return n.open("GET",t.url,!0),i(n,t.url)}).then(()=>{this.loader!==n||this.stats.aborted||this.openAndSendXhr(n,t,e)}).catch(a=>{var u;(u=this.callbacks)==null||u.onError({code:n.status,text:a.message},t,n,r)}):this.openAndSendXhr(n,t,e)}openAndSendXhr(e,t,n){e.readyState||e.open("GET",t.url,!0);const r=t.headers,{maxTimeToFirstByteMs:i,maxLoadTimeMs:a}=n.loadPolicy;if(r)for(const u in r)e.setRequestHeader(u,r[u]);t.rangeEnd&&e.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),e.onreadystatechange=this.readystatechange.bind(this),e.onprogress=this.loadprogress.bind(this),e.responseType=t.responseType,self.clearTimeout(this.requestTimeout),n.timeout=i&&g(i)?i:a,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),n.timeout),e.send()}readystatechange(){const{context:e,loader:t,stats:n}=this;if(!e||!t)return;const r=t.readyState,i=this.config;if(!n.aborted&&r>=2&&(n.loading.first===0&&(n.loading.first=Math.max(self.performance.now(),n.loading.start),i.timeout!==i.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),i.timeout=i.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),i.loadPolicy.maxLoadTimeMs-(n.loading.first-n.loading.start)))),r===4)){self.clearTimeout(this.requestTimeout),t.onreadystatechange=null,t.onprogress=null;const c=t.status,S=t.responseType==="text"?t.responseText:null;if(c>=200&&c<300){const ee=S!=null?S:t.response;if(ee!=null){var a,u;n.loading.end=Math.max(self.performance.now(),n.loading.first);const De=t.responseType==="arraybuffer"?ee.byteLength:ee.length;n.loaded=n.total=De,n.bwEstimate=n.total*8e3/(n.loading.end-n.loading.first);const Ne=(a=this.callbacks)==null?void 0:a.onProgress;Ne&&Ne(n,e,ee,t);const tt={url:t.responseURL,data:ee,code:c};(u=this.callbacks)==null||u.onSuccess(tt,n,e,t);return}}const E=i.loadPolicy.errorRetry,z=n.retry,te={url:e.url,data:void 0,code:c};if(ei(E,z,!1,te))this.retry(E);else{var h;j.error(`${c} while loading ${e.url}`),(h=this.callbacks)==null||h.onError({code:c,text:t.statusText},e,t,n)}}}loadtimeout(){if(!this.config)return;const e=this.config.loadPolicy.timeoutRetry,t=this.stats.retry;if(ei(e,t,!0))this.retry(e);else{var n;j.warn(`timeout while loading ${(n=this.context)==null?void 0:n.url}`);const r=this.callbacks;r&&(this.abortInternal(),r.onTimeout(this.stats,this.context,this.loader))}}retry(e){const{context:t,stats:n}=this;this.retryDelay=ir(e,n.retry),n.retry++,j.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${t==null?void 0:t.url}, retrying ${n.retry}/${e.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(e){const t=this.stats;t.loaded=e.loaded,e.lengthComputable&&(t.total=e.total)}getCacheAge(){let e=null;if(this.loader&&Uc.test(this.loader.getAllResponseHeaders())){const t=this.loader.getResponseHeader("age");e=t?parseFloat(t):null}return e}getResponseHeader(e){return this.loader&&new RegExp(`^${e}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(e):null}}const Mc={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Bc=A(A({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:gu,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:qn,bufferController:_a,capLevelController:Oa,errorController:Bn,fpsController:ju,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:Lr,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:Mc},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},Kc()),{},{subtitleStreamController:ec,subtitleTrackController:Gu,timelineController:Cc,audioStreamController:ta,audioTrackController:ms,emeController:Ro,cmcdController:Ku,contentSteeringController:Hu,interstitialsController:Xu});function Kc(){return{cueHandler:Dc,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 zc(s,e,t){if((e.liveSyncDurationCount||e.liveMaxLatencyDurationCount)&&(e.liveSyncDuration||e.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(e.liveMaxLatencyDurationCount!==void 0&&(e.liveSyncDurationCount===void 0||e.liveMaxLatencyDurationCount<=e.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(e.liveMaxLatencyDuration!==void 0&&(e.liveSyncDuration===void 0||e.liveMaxLatencyDuration<=e.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const n=Nl(s),r=["manifest","level","frag"],i=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return r.forEach(a=>{const u=`${a==="level"?"playlist":a}LoadPolicy`,h=e[u]===void 0,c=[];i.forEach(S=>{const E=`${a}Loading${S}`,z=e[E];if(z!==void 0&&h){c.push(E);const te=n[u].default;switch(e[u]={default:te},S){case"TimeOut":te.maxLoadTimeMs=z,te.maxTimeToFirstByteMs=z;break;case"MaxRetry":te.errorRetry.maxNumRetry=z,te.timeoutRetry.maxNumRetry=z;break;case"RetryDelay":te.errorRetry.retryDelayMs=z,te.timeoutRetry.retryDelayMs=z;break;case"MaxRetryTimeout":te.errorRetry.maxRetryDelayMs=z,te.timeoutRetry.maxRetryDelayMs=z;break}}}),c.length&&t.warn(`hls.js config: "${c.join('", "')}" setting(s) are deprecated, use "${u}": ${fn(e[u])}`)}),A(A({},n),e)}function Nl(s){return s&&typeof s=="object"?Array.isArray(s)?s.map(Nl):Object.keys(s).reduce((e,t)=>(e[t]=Nl(s[t]),e),{}):s}function Hc(s,e){const t=s.loader;t!==mu&&t!==gu?(e.log("[config]: Custom loader detected, cannot enable progressive streaming"),s.progressive=!1):Ic()&&(s.loader=mu,s.progressive=!0,s.enableSoftwareAES=!0,e.log("[config]: Progressive streaming enabled, using FetchLoader"))}const pl=2,jc=.1,Wc=.05,Vc=100;class Gc extends ii{constructor(e,t){super("gap-controller",e.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 n;(n=this.media)!=null&&n.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var n;this.ended=((n=this.media)==null?void 0:n.currentTime)||1,this.hls.trigger(m.MEDIA_ENDED,{stalled:!1})}},this.hls=e,this.fragmentTracker=t,this.registerListeners()}registerListeners(){const{hls:e}=this;e&&(e.on(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(m.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(m.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(e,t){this.setInterval(Vc),this.mediaSource=t.mediaSource;const n=this.media=t.media;zs(n,"playing",this.onMediaPlaying),zs(n,"waiting",this.onMediaWaiting),zs(n,"ended",this.onMediaEnded)}onMediaDetaching(e,t){this.clearInterval();const{media:n}=this;n&&(Ls(n,"playing",this.onMediaPlaying),Ls(n,"waiting",this.onMediaWaiting),Ls(n,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(e,t){this.buffered=t.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var e;if(!((e=this.media)!=null&&e.readyState)||!this.hasBuffered)return;const t=this.media.currentTime;this.poll(t,this.lastCurrentTime),this.lastCurrentTime=t}poll(e,t){var n,r;const i=(n=this.hls)==null?void 0:n.config;if(!i)return;const{media:a,stalled:u}=this;if(!a)return;const{seeking:h}=a,c=this.seeking&&!h,S=!this.seeking&&h,E=a.paused&&!h||a.ended||a.playbackRate===0;if(this.seeking=h,e!==t){t&&(this.ended=0),this.moved=!0,h||(this.nudgeRetry=0,i.nudgeOnVideoHole&&!E&&e>t&&this.nudgeOnVideoHole(e,t)),this.waiting===0&&this.stallResolved(e);return}if(S||c){c&&this.stallResolved(e);return}if(E){this.nudgeRetry=0,this.stallResolved(e),!this.ended&&a.ended&&this.hls&&(this.ended=e||1,this.hls.trigger(m.MEDIA_ENDED,{stalled:!1}));return}if(!Cr.getBuffered(a).length){this.nudgeRetry=0;return}const z=Cr.bufferInfo(a,e,0),te=z.nextStart||0,ee=this.fragmentTracker;if(h&&ee&&this.hls){const pn=vu(this.hls.inFlightFragments,e),$t=z.len>pl,un=!te||pn||te-e>pl&&!ee.getPartialFragment(e);if($t||un)return;this.moved=!1}const De=(r=this.hls)==null?void 0:r.latestLevelDetails;if(!this.moved&&this.stalled!==null&&ee){if(!(z.len>0)&&!te)return;const $t=Math.max(te,z.start||0)-e,wn=!!(De!=null&&De.live)?De.targetduration*2:pl,Jt=ee.getPartialFragment(e);if($t>0&&($t<=wn||Jt)){a.paused||this._trySkipBufferHole(Jt);return}}const Ne=i.detectStallWithCurrentTimeMs,tt=self.performance.now(),St=this.waiting;if(u===null){St>0&&tt-St<Ne?this.stalled=St:this.stalled=tt;return}const ct=tt-u;if(!h&&(ct>=Ne||St)&&this.hls){var zt;if(((zt=this.mediaSource)==null?void 0:zt.readyState)==="ended"&&!(De!=null&&De.live)&&Math.abs(e-((De==null?void 0:De.edge)||0))<1){if(this.ended)return;this.ended=e||1,this.hls.trigger(m.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(z),!this.media||!this.hls)return}const Vt=Cr.bufferInfo(a,e,i.maxBufferHole);this._tryFixBufferStall(Vt,ct)}stallResolved(e){const t=this.stalled;if(t&&this.hls&&(this.stalled=null,this.stallReported)){const n=self.performance.now()-t;this.log(`playback not stuck anymore @${e}, after ${Math.round(n)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(m.STALL_RESOLVED,{})}}nudgeOnVideoHole(e,t){var n;const r=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(n=this.buffered.audio)!=null&&n.length&&r&&r.length>1&&e>r.end(0)){const i=Cr.bufferedInfo(Cr.timeRangesToArray(this.buffered.audio),e,0);if(i.len>1&&t>=i.start){const a=Cr.timeRangesToArray(r),u=Cr.bufferedInfo(a,t,0).bufferedIndex;if(u>-1&&u<a.length-1){const h=Cr.bufferedInfo(a,e,0).bufferedIndex,c=a[u].end,S=a[u+1].start;if((h===-1||h>u)&&S-c<1&&e-c<2){const E=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${e} hole: ${c} -> ${S} buffered index: ${h}`);this.warn(E.message),this.media.currentTime+=1e-6;const z=this.fragmentTracker.getPartialFragment(e)||void 0,te=Cr.bufferInfo(this.media,e,0);this.hls.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:E,reason:E.message,frag:z,buffer:te.len,bufferInfo:te})}}}}}_tryFixBufferStall(e,t){var n,r;const{fragmentTracker:i,media:a}=this,u=(n=this.hls)==null?void 0:n.config;if(!a||!i||!u)return;const h=a.currentTime,c=(r=this.hls)==null?void 0:r.latestLevelDetails,S=i.getPartialFragment(h);if((S||c!=null&&c.live&&h<c.fragmentStart)&&(this._trySkipBufferHole(S)||!this.media))return;const E=e.buffered;(E&&E.length>1&&e.len>u.maxBufferHole||e.nextStart&&e.nextStart-h<u.maxBufferHole)&&(t>u.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(e))}_reportStall(e){const{hls:t,media:n,stallReported:r,stalled:i}=this;if(!r&&i!==null&&n&&t){this.stallReported=!0;const a=new Error(`Playback stalling at @${n.currentTime} due to low buffer (${fn(e)})`);this.warn(a.message),t.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.BUFFER_STALLED_ERROR,fatal:!1,error:a,buffer:e.len,bufferInfo:e,stalled:{start:i}})}}_trySkipBufferHole(e){var t;const{fragmentTracker:n,media:r}=this,i=(t=this.hls)==null?void 0:t.config;if(!r||!n||!i)return 0;const a=r.currentTime,u=Cr.bufferInfo(r,a,0),h=a<u.start?u.start:u.nextStart;if(h&&this.hls){const S=u.len<=i.maxBufferHole,E=u.len>0&&u.len<1&&r.readyState<3,z=h-a;if(z>0&&(S||E)){if(z>i.maxBufferHole){let ee=!1;if(a===0){const De=n.getAppendedFrag(0,he.MAIN);De&&h<De.end&&(ee=!0)}if(!ee){const De=e||n.getAppendedFrag(a,he.MAIN);if(De){var c;if(!((c=this.hls.loadLevelObj)!=null&&c.details)||vu(this.hls.inFlightFragments,h))return 0;let tt=!1,St=De.end;for(;St<h;){const ct=n.getPartialFragment(St);if(ct)St+=ct.duration;else{tt=!0;break}}if(tt)return 0}}}const te=Math.max(h+Wc,a+jc);if(this.warn(`skipping hole, adjusting currentTime from ${a} to ${te}`),this.moved=!0,r.currentTime=te,!(e!=null&&e.gap)){const ee=new Error(`fragment loaded with buffer holes, seeking from ${a} to ${te}`);this.hls.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ee,reason:ee.message,frag:e||void 0,buffer:u.len,bufferInfo:u})}return te}}return 0}_tryNudgeBuffer(e){const{hls:t,media:n,nudgeRetry:r}=this,i=t==null?void 0:t.config;if(!n||!i)return 0;const a=n.currentTime;if(this.nudgeRetry++,r<i.nudgeMaxRetry){const u=a+(r+1)*i.nudgeOffset,h=new Error(`Nudging 'currentTime' from ${a} to ${u}`);this.warn(h.message),n.currentTime=u,t.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.BUFFER_NUDGE_ON_STALL,error:h,fatal:!1,buffer:e.len,bufferInfo:e})}else{const u=new Error(`Playhead still not moving while enough data buffered @${a} after ${i.nudgeMaxRetry} nudges`);this.error(u.message),t.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.BUFFER_STALLED_ERROR,error:u,fatal:!0,buffer:e.len,bufferInfo:e})}}}function vu(s,e){const t=yu(s.main);if(t&&t.start<=e)return t;const n=yu(s.audio);return n&&n.start<=e?n:null}function yu(s){if(!s)return null;switch(s.state){case _n.IDLE:case _n.STOPPED:case _n.ENDED:case _n.ERROR:return null}return s.frag}const $c=.25;function Ul(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function bu(s,e,t,n,r){let i=new s(e,t,"");try{i.value=n,r&&(i.type=r)}catch(a){i=new s(e,t,fn(r?A({type:r},n):n))}return i}const ml=(()=>{const s=Ul();try{s&&new s(0,Number.POSITIVE_INFINITY,"")}catch(e){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function Zc(s){return Uint8Array.from(s.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Yc{constructor(e){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(m.EVENT_CUE_ENTER,{})},this.hls=e,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:e}=this;e.on(m.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.on(m.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(m.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(m.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:e}=this;e.off(m.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.off(m.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(m.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(m.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(e,t){var n;this.media=t.media,((n=t.overrides)==null?void 0:n.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const e=this.hls.latestLevelDetails;e&&this.updateDateRangeCues(e)}onMediaDetaching(e,t){this.media=null,!t.transferMedia&&(this.id3Track&&(this.removeCues&&Do(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(e){const t=this.getID3Track(e.textTracks);return t.mode="hidden",t}getID3Track(e){if(this.media){for(let t=0;t<e.length;t++){const n=e[t];if(n.kind==="metadata"&&n.label==="id3")return $l(n,this.media),n}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(e,t){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:n,enableID3MetadataCues:r}}}=this;if(!n&&!r)return;const{samples:i}=t;this.id3Track||(this.id3Track=this.createTrack(this.media));const a=Ul();if(a)for(let u=0;u<i.length;u++){const h=i[u].type;if(h===Mt.emsg&&!n||!r)continue;const c=ot(i[u].data);if(c){const S=i[u].pts;let E=S+i[u].duration;E>ml&&(E=ml),E-S<=0&&(E=S+$c);for(let te=0;te<c.length;te++){const ee=c[te];if(!Tt(ee)){this.updateId3CueEnds(S,h);const De=bu(a,S,E,ee,h);De&&this.id3Track.addCue(De)}}}}}updateId3CueEnds(e,t){var n;const r=(n=this.id3Track)==null?void 0:n.cues;if(r)for(let i=r.length;i--;){const a=r[i];a.type===t&&a.startTime<e&&a.endTime===ml&&(a.endTime=e)}}onBufferFlushing(e,{startOffset:t,endOffset:n,type:r}){const{id3Track:i,hls:a}=this;if(!a)return;const{config:{enableEmsgMetadataCues:u,enableID3MetadataCues:h}}=a;if(i&&(u||h)){let c;r==="audio"?c=S=>S.type===Mt.audioId3&&h:r==="video"?c=S=>S.type===Mt.emsg&&u:c=S=>S.type===Mt.audioId3&&h||S.type===Mt.emsg&&u,_l(i,t,n,c)}}onLevelUpdated(e,{details:t}){this.updateDateRangeCues(t,!0)}onLevelPtsUpdated(e,t){Math.abs(t.drift)>.01&&this.updateDateRangeCues(t.details)}updateDateRangeCues(e,t){if(!this.media||!e.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:n}=this,{dateRanges:r}=e,i=Object.keys(r);let a=this.dateRangeCuesAppended;if(n&&t){var u;if((u=n.cues)!=null&&u.length){const S=Object.keys(a).filter(E=>!i.includes(E));for(let E=S.length;E--;){const z=S[E],te=a[z].cues;delete a[z],Object.keys(te).forEach(ee=>{try{const De=te[ee];De.removeEventListener("enter",this.onEventCueEnter),n.removeCue(De)}catch(De){}})}}else a=this.dateRangeCuesAppended={}}const h=e.fragments[e.fragments.length-1];if(i.length===0||!g(h==null?void 0:h.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const c=Ul();for(let S=0;S<i.length;S++){const E=i[S],z=r[E],te=z.startTime,ee=a[E],De=(ee==null?void 0:ee.cues)||{};let Ne=(ee==null?void 0:ee.durationKnown)||!1,tt=ml;const{duration:St,endDate:ct}=z;if(ct&&St!==null)tt=te+St,Ne=!0;else if(z.endOnNext&&!Ne){const Vt=i.reduce((pn,$t)=>{if($t!==z.id){const un=r[$t];if(un.class===z.class&&un.startDate>z.startDate&&(!pn||z.startDate<pn.startDate))return un}return pn},null);Vt&&(tt=Vt.startTime,Ne=!0)}const zt=Object.keys(z.attr);for(let Vt=0;Vt<zt.length;Vt++){const pn=zt[Vt];if(!wa(pn))continue;const $t=De[pn];if($t)Ne&&!ee.durationKnown?$t.endTime=tt:Math.abs($t.startTime-te)>.01&&($t.startTime=te,$t.endTime=tt);else if(c){let un=z.attr[pn];Mn(pn)&&(un=Zc(un));const Jt=bu(c,te,tt,{key:pn,data:un},Mt.dateRange);Jt&&(Jt.id=E,this.id3Track.addCue(Jt),De[pn]=Jt,this.hls.config.interstitialsController&&(pn==="X-ASSET-LIST"||pn==="X-ASSET-URL")&&Jt.addEventListener("enter",this.onEventCueEnter))}}a[E]={cues:De,dateRange:z,durationKnown:Ne}}}}class Qc{constructor(e){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:t}=this,n=this.levelDetails;if(!t||!n)return;this.currentTime=t.currentTime;const r=this.computeLatency();if(r===null)return;this._latency=r;const{lowLatencyMode:i,maxLiveSyncPlaybackRate:a}=this.config;if(!i||a===1||!n.live)return;const u=this.targetLatency;if(u===null)return;const h=r-u,c=Math.min(this.maxLatency,u+n.targetduration);if(h<c&&h>.05&&this.forwardBufferLength>1){const E=Math.min(2,Math.max(1,a)),z=Math.round(2/(1+Math.exp(-.75*h-this.edgeStalled))*20)/20,te=Math.min(E,Math.max(1,z));this.changeMediaPlaybackRate(t,te)}else t.playbackRate!==1&&t.playbackRate!==0&&this.changeMediaPlaybackRate(t,1)},this.hls=e,this.config=e.config,this.registerListeners()}get levelDetails(){var e;return((e=this.hls)==null?void 0:e.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:e}=this;if(e.liveMaxLatencyDuration!==void 0)return e.liveMaxLatencyDuration;const t=this.levelDetails;return t?e.liveMaxLatencyDurationCount*t.targetduration:0}get targetLatency(){const e=this.levelDetails;if(e===null||this.hls===null)return null;const{holdBack:t,partHoldBack:n,targetduration:r}=e,{liveSyncDuration:i,liveSyncDurationCount:a,lowLatencyMode:u}=this.config,h=this.hls.userConfig;let c=u&&n||t;(this._targetLatencyUpdated||h.liveSyncDuration||h.liveSyncDurationCount||c===0)&&(c=i!==void 0?i:a*r);const S=r;return c+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,S)}set targetLatency(e){this.stallCount=0,this.config.liveSyncDuration=e,this._targetLatencyUpdated=!0}get liveSyncPosition(){const e=this.estimateLiveEdge(),t=this.targetLatency;if(e===null||t===null)return null;const n=this.levelDetails;if(n===null)return null;const r=n.edge,i=e-t-this.edgeStalled,a=r-n.totalduration,u=r-(this.config.lowLatencyMode&&n.partTarget||n.targetduration);return Math.min(Math.max(a,i),u)}get drift(){const e=this.levelDetails;return e===null?1:e.drift}get edgeStalled(){const e=this.levelDetails;if(e===null)return 0;const t=(this.config.lowLatencyMode&&e.partTarget||e.targetduration)*3;return Math.max(e.age-t,0)}get forwardBufferLength(){const{media:e}=this,t=this.levelDetails;if(!e||!t)return 0;const n=e.buffered.length;return(n?e.buffered.end(n-1):t.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:e}=this;e&&(e.on(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(m.ERROR,this.onError,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(m.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(m.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(m.ERROR,this.onError,this))}onMediaAttached(e,t){this.media=t.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(e,{details:t}){t.advanced&&this.onTimeupdate(),!t.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(e,t){var n;t.details===F.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(n=this.levelDetails)!=null&&n.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(e,t){var n,r;e.playbackRate!==t&&((n=this.hls)==null||n.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(r=this.targetLatency)==null?void 0:r.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${e.playbackRate} to ${t}`),e.playbackRate=t)}estimateLiveEdge(){const e=this.levelDetails;return e===null?null:e.edge+e.age}computeLatency(){const e=this.estimateLiveEdge();return e===null?null:e-this.currentTime}}class qc extends Li{constructor(e,t){super(e,"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=t,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(m.LEVEL_LOADED,this.onLevelLoaded,this),e.on(m.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(m.FRAG_BUFFERED,this.onFragBuffered,this),e.on(m.ERROR,this.onError,this)}_unregisterListeners(){const{hls:e}=this;e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(m.LEVEL_LOADED,this.onLevelLoaded,this),e.off(m.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(m.FRAG_BUFFERED,this.onFragBuffered,this),e.off(m.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(t=>{t.loadError=0,t.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(e,t){this.resetLevels()}onManifestLoaded(e,t){const n=this.hls.config.preferManagedMediaSource,r=[],i={},a={};let u=!1,h=!1,c=!1;t.levels.forEach(S=>{var E;const z=S.attrs;let{audioCodec:te,videoCodec:ee}=S;te&&(S.audioCodec=te=Ge(te,n)||void 0),((E=ee)==null?void 0:E.indexOf("avc1"))===0&&(ee=S.videoCodec=tn(ee));const{width:De,height:Ne,unknownCodecs:tt}=S;let St=tt?tt.length:0;if(tt)for(let $n=St;$n--;){const yr=tt[$n];this.isAudioSupported(yr)?(S.audioCodec=te=te?`${te},${yr}`:yr,St--,vn.audio[te.substring(0,4)]=2):this.isVideoSupported(yr)&&(S.videoCodec=ee=ee?`${ee},${yr}`:yr,St--,vn.video[ee.substring(0,4)]=2)}if(u||(u=!!(De&&Ne)),h||(h=!!ee),c||(c=!!te),St||te&&!this.isAudioSupported(te)||ee&&!this.isVideoSupported(ee)){this.log(`Some or all CODECS not supported "${z.CODECS}"`);return}const{CODECS:ct,"FRAME-RATE":zt,"HDCP-LEVEL":Vt,"PATHWAY-ID":pn,RESOLUTION:$t,"VIDEO-RANGE":un}=z,Jt=`${`${pn||"."}-`}${S.bitrate}-${$t}-${zt}-${ct}-${un}-${Vt}`;if(i[Jt])if(i[Jt].uri!==S.url&&!S.attrs["PATHWAY-ID"]){const $n=a[Jt]+=1;S.attrs["PATHWAY-ID"]=new Array($n+1).join(".");const yr=this.createLevel(S);i[Jt]=yr,r.push(yr)}else i[Jt].addGroupId("audio",z.AUDIO),i[Jt].addGroupId("text",z.SUBTITLES);else{const $n=this.createLevel(S);i[Jt]=$n,a[Jt]=1,r.push($n)}}),this.filterAndSortMediaOptions(r,t,u,h,c)}createLevel(e){const t=new An(e),n=e.supplemental;if(n!=null&&n.videoCodec&&!this.isVideoSupported(n.videoCodec)){const r=new Error(`SUPPLEMENTAL-CODECS not supported "${n.videoCodec}"`);this.log(r.message),t.supportedResult=_t(r,[])}return t}isAudioSupported(e){return et(e,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(e){return et(e,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(e,t,n,r,i){let a=[],u=[],h=e;if((n||r)&&i&&(h=h.filter(({videoCodec:ee,videoRange:De,width:Ne,height:tt})=>(!!ee||!!(Ne&&tt))&&sn(De))),h.length===0){Promise.resolve().then(()=>{if(this.hls){let ee="no level with compatible codecs found in manifest",De=ee;t.levels.length&&(De=`one or more CODECS in variant not supported: ${fn(t.levels.map(tt=>tt.attrs.CODECS).filter((tt,St,ct)=>ct.indexOf(tt)===St))}`,this.warn(De),ee+=` (${De})`);const Ne=new Error(ee);this.hls.trigger(m.ERROR,{type:ge.MEDIA_ERROR,details:F.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:t.url,error:Ne,reason:De})}});return}t.audioTracks&&(a=t.audioTracks.filter(ee=>!ee.audioCodec||this.isAudioSupported(ee.audioCodec)),Su(a)),t.subtitles&&(u=t.subtitles,Su(u));const c=h.slice(0);h.sort((ee,De)=>{if(ee.attrs["HDCP-LEVEL"]!==De.attrs["HDCP-LEVEL"])return(ee.attrs["HDCP-LEVEL"]||"")>(De.attrs["HDCP-LEVEL"]||"")?1:-1;if(n&&ee.height!==De.height)return ee.height-De.height;if(ee.frameRate!==De.frameRate)return ee.frameRate-De.frameRate;if(ee.videoRange!==De.videoRange)return Ht.indexOf(ee.videoRange)-Ht.indexOf(De.videoRange);if(ee.videoCodec!==De.videoCodec){const Ne=Me(ee.videoCodec),tt=Me(De.videoCodec);if(Ne!==tt)return tt-Ne}if(ee.uri===De.uri&&ee.codecSet!==De.codecSet){const Ne=Oe(ee.codecSet),tt=Oe(De.codecSet);if(Ne!==tt)return tt-Ne}return ee.averageBitrate!==De.averageBitrate?ee.averageBitrate-De.averageBitrate:0});let S=c[0];if(this.steering&&(h=this.steering.filterParsedLevels(h),h.length!==c.length)){for(let ee=0;ee<c.length;ee++)if(c[ee].pathwayId===h[0].pathwayId){S=c[ee];break}}this._levels=h;for(let ee=0;ee<h.length;ee++)if(h[ee]===S){var E;this._firstLevel=ee;const De=S.bitrate,Ne=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${h.length} level(s) found, first bitrate: ${De}`),((E=this.hls.userConfig)==null?void 0:E.abrEwmaDefaultEstimate)===void 0){const tt=Math.min(De,this.hls.config.abrEwmaDefaultEstimateMax);tt>Ne&&Ne===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=tt)}break}const z=i&&!r,te={levels:h,audioTracks:a,subtitleTracks:u,sessionData:t.sessionData,sessionKeys:t.sessionKeys,firstLevel:this._firstLevel,stats:t.stats,audio:i,video:r,altAudio:!z&&a.some(ee=>!!ee.url)};this.hls.trigger(m.MANIFEST_PARSED,te)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(e){const t=this._levels;if(t.length===0)return;if(e<0||e>=t.length){const S=new Error("invalid level idx"),E=e<0;if(this.hls.trigger(m.ERROR,{type:ge.OTHER_ERROR,details:F.LEVEL_SWITCH_ERROR,level:e,fatal:E,error:S,reason:S.message}),E)return;e=Math.min(e,t.length-1)}const n=this.currentLevelIndex,r=this.currentLevel,i=r?r.attrs["PATHWAY-ID"]:void 0,a=t[e],u=a.attrs["PATHWAY-ID"];if(this.currentLevelIndex=e,this.currentLevel=a,n===e&&r&&i===u)return;this.log(`Switching to level ${e} (${a.height?a.height+"p ":""}${a.videoRange?a.videoRange+" ":""}${a.codecSet?a.codecSet+" ":""}@${a.bitrate})${u?" with Pathway "+u:""} from level ${n}${i?" with Pathway "+i:""}`);const h={level:e,attrs:a.attrs,details:a.details,bitrate:a.bitrate,averageBitrate:a.averageBitrate,maxBitrate:a.maxBitrate,realBitrate:a.realBitrate,width:a.width,height:a.height,codecSet:a.codecSet,audioCodec:a.audioCodec,videoCodec:a.videoCodec,audioGroups:a.audioGroups,subtitleGroups:a.subtitleGroups,loaded:a.loaded,loadError:a.loadError,fragmentError:a.fragmentError,name:a.name,id:a.id,uri:a.uri,url:a.url,urlId:0,audioGroupIds:a.audioGroupIds,textGroupIds:a.textGroupIds};this.hls.trigger(m.LEVEL_SWITCHING,h);const c=a.details;if(!c||c.live){const S=this.switchParams(a.uri,r==null?void 0:r.details,c);this.loadPlaylist(S)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(e){this.manualLevelIndex=e,this._startLevel===void 0&&(this._startLevel=e),e!==-1&&(this.level=e)}get firstLevel(){return this._firstLevel}set firstLevel(e){this._firstLevel=e}get startLevel(){if(this._startLevel===void 0){const e=this.hls.config.startLevel;return e!==void 0?e:this.hls.firstAutoLevel}return this._startLevel}set startLevel(e){this._startLevel=e}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(e){if(this.steering){const t=this.steering.pathways(),n=e.filter(r=>t.indexOf(r)!==-1);if(e.length<1){this.warn(`pathwayPriority ${e} should contain at least one pathway from list: ${t}`);return}this.steering.pathwayPriority=n}}onError(e,t){t.fatal||!t.context||t.context.type===w.LEVEL&&t.context.level===this.level&&this.checkRetry(t)}onFragBuffered(e,{frag:t}){if(t!==void 0&&t.type===he.MAIN){const n=t.elementaryStreams;if(!Object.keys(n).some(i=>!!n[i]))return;const r=this._levels[t.level];r!=null&&r.loadError&&(this.log(`Resetting level error count of ${r.loadError} on frag buffered`),r.loadError=0)}}onLevelLoaded(e,t){var n;const{level:r,details:i}=t,a=t.levelInfo;if(!a){var u;this.warn(`Invalid level index ${r}`),(u=t.deliveryDirectives)!=null&&u.skip&&(i.deltaUpdateFailed=!0);return}if(a===this.currentLevel||t.withoutMultiVariant){a.fragmentError===0&&(a.loadError=0);let h=a.details;h===t.details&&h.advanced&&(h=void 0),this.playlistLoaded(r,t,h)}else(n=t.deliveryDirectives)!=null&&n.skip&&(i.deltaUpdateFailed=!0)}loadPlaylist(e){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,e)}loadingPlaylist(e,t){super.loadingPlaylist(e,t);const n=this.getUrlWithDirectives(e.uri,t),r=this.currentLevelIndex,i=e.attrs["PATHWAY-ID"],a=e.details,u=a==null?void 0:a.age;this.log(`Loading level index ${r}${(t==null?void 0:t.msn)!==void 0?" at sn "+t.msn+" part "+t.part:""}${i?" Pathway "+i:""}${u&&a.live?" age "+u.toFixed(1)+(a.type?" "+a.type||0:""):""} ${n}`),this.hls.trigger(m.LEVEL_LOADING,{url:n,level:r,levelInfo:e,pathwayId:e.attrs["PATHWAY-ID"],id:0,deliveryDirectives:t||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(e){this.level=e,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=e)}removeLevel(e){var t;if(this._levels.length===1)return;const n=this._levels.filter((i,a)=>a!==e?!0:(this.steering&&this.steering.removeLevel(i),i===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,i.details&&i.details.fragments.forEach(u=>u.level=-1)),!1));cs(n),this._levels=n,this.currentLevelIndex>-1&&(t=this.currentLevel)!=null&&t.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const r=n.length-1;this._firstLevel=Math.min(this._firstLevel,r),this._startLevel&&(this._startLevel=Math.min(this._startLevel,r)),this.hls.trigger(m.LEVELS_UPDATED,{levels:n})}onLevelsUpdated(e,{levels:t}){this._levels=t}checkMaxAutoUpdated(){const{autoLevelCapping:e,maxAutoLevel:t,maxHdcpLevel:n}=this.hls;this._maxAutoLevel!==t&&(this._maxAutoLevel=t,this.hls.trigger(m.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:e,levels:this.levels,maxAutoLevel:t,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:n}))}}function Su(s){const e={};s.forEach(t=>{const n=t.groupId||"";t.id=e[n]=e[n]||0,e[n]++})}function xu(){return self.SourceBuffer||self.WebKitSourceBuffer}function Eu(){if(!ve())return!1;const e=xu();return!e||e.prototype&&typeof e.prototype.appendBuffer=="function"&&typeof e.prototype.remove=="function"}function Jc(){if(!Eu())return!1;const s=ve();return typeof(s==null?void 0:s.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(e=>s.isTypeSupported(_e(e,"video")))||["mp4a.40.2","fLaC"].some(e=>s.isTypeSupported(_e(e,"audio"))))}function Xc(){var s;const e=xu();return typeof(e==null||(s=e.prototype)==null?void 0:s.changeType)=="function"}const e0=100;class t0 extends Va{constructor(e,t,n){super(e,t,n,"stream-controller",he.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 r=this.media,i=r?r.currentTime:null;if(i===null||!g(i)||(this.log(`Media seeked to ${i.toFixed(3)}`),!this.getBufferedFrag(i)))return;const a=this.getFwdBufferInfoAtPos(r,i,he.MAIN,0);if(a===null||a.len===0){this.warn(`Main forward buffer length at ${i} on "seeked" event ${a?a.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:e}=this;e.on(m.MANIFEST_PARSED,this.onManifestParsed,this),e.on(m.LEVEL_LOADING,this.onLevelLoading,this),e.on(m.LEVEL_LOADED,this.onLevelLoaded,this),e.on(m.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.on(m.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(m.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(m.BUFFER_CREATED,this.onBufferCreated,this),e.on(m.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(m.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(m.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(m.MANIFEST_PARSED,this.onManifestParsed,this),e.off(m.LEVEL_LOADED,this.onLevelLoaded,this),e.off(m.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.off(m.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(m.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(m.BUFFER_CREATED,this.onBufferCreated,this),e.off(m.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(m.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(m.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(e,t){if(this.levels){const{lastCurrentTime:n,hls:r}=this;if(this.stopLoad(),this.setInterval(e0),this.level=-1,!this.startFragRequested){let i=r.startLevel;i===-1&&(r.config.testBandwidth&&this.levels.length>1?(i=0,this.bitrateTest=!0):i=r.firstAutoLevel),r.nextLoadLevel=i,this.level=r.loadLevel,this._hasEnoughToStart=!!t}n>0&&e===-1&&!t&&(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n),this.state=_n.IDLE,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}else this._forceStartLoad=!0,this.state=_n.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case _n.WAITING_LEVEL:{const{levels:t,level:n}=this,r=t==null?void 0:t[n],i=r==null?void 0:r.details;if(i&&(!i.live||this.levelLastLoaded===r&&!this.waitForLive(r))){if(this.waitForCdnTuneIn(i))break;this.state=_n.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=_n.IDLE;break}break}case _n.FRAG_LOADING_WAITING_RETRY:{var e;const t=self.performance.now(),n=this.retryDate;if(!n||t>=n||(e=this.media)!=null&&e.seeking){const{levels:r,level:i}=this,a=r==null?void 0:r[i];this.resetStartWhenNotLoaded(a||null),this.state=_n.IDLE}}break}this.state===_n.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var e;super.onTickEnd(),(e=this.media)!=null&&e.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:e,levelLastLoaded:t,levels:n,media:r}=this;if(t===null||!r&&!this.primaryPrefetch&&(this.startFragRequested||!e.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const i=this.buffering?e.nextLoadLevel:e.loadLevel;if(!(n!=null&&n[i]))return;const a=n[i],u=this.getMainFwdBufferInfo();if(u===null)return;const h=this.getLevelDetails();if(h&&this._streamEnded(u,h)){const De={};this.altAudio===2&&(De.type="video"),this.hls.trigger(m.BUFFER_EOS,De),this.state=_n.ENDED;return}if(!this.buffering)return;e.loadLevel!==i&&e.manualLevel===-1&&this.log(`Adapting to level ${i} from level ${this.level}`),this.level=e.nextLoadLevel=i;const c=a.details;if(!c||this.state===_n.WAITING_LEVEL||this.waitForLive(a)){this.level=i,this.state=_n.WAITING_LEVEL,this.startFragRequested=!1;return}const S=u.len,E=this.getMaxBufferLength(a.maxBitrate);if(S>=E)return;this.backtrackFragment&&this.backtrackFragment.start>u.end&&(this.backtrackFragment=null);const z=this.backtrackFragment?this.backtrackFragment.start:u.end;let te=this.getNextFragment(z,c);if(this.couldBacktrack&&!this.fragPrevious&&te&&q(te)&&this.fragmentTracker.getState(te)!==nr.OK){var ee;const Ne=((ee=this.backtrackFragment)!=null?ee:te).sn-c.startSN,tt=c.fragments[Ne-1];tt&&te.cc===tt.cc&&(te=tt,this.fragmentTracker.removeFragment(tt))}else this.backtrackFragment&&u.len&&(this.backtrackFragment=null);if(te&&this.isLoopLoading(te,z)){if(!te.gap){const Ne=this.audioOnly&&!this.altAudio?_.AUDIO:_.VIDEO,tt=(Ne===_.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;tt&&this.afterBufferFlushed(tt,Ne,he.MAIN)}te=this.getNextFragmentLoopLoading(te,c,u,he.MAIN,E)}te&&(te.initSegment&&!te.initSegment.data&&!this.bitrateTest&&(te=te.initSegment),this.loadFragment(te,a,z))}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);r===nr.NOT_LOADED||r===nr.PARTIAL?q(e)?this.bitrateTest?(this.log(`Fragment ${e.sn} of level ${e.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(e,t)):super.loadFragment(e,t,n):this._loadInitSegment(e,t):this.clearTrackerIfNeeded(e)}getBufferedFrag(e){return this.fragmentTracker.getBufferedFrag(e,he.MAIN)}followingBufferedFrag(e){return e?this.getBufferedFrag(e.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:e,media:t}=this;if(t!=null&&t.readyState){let n;const r=this.getAppendedFrag(t.currentTime);r&&r.start>1&&this.flushMainBuffer(0,r.start-1);const i=this.getLevelDetails();if(i!=null&&i.live){const u=this.getMainFwdBufferInfo();if(!u||u.len<i.targetduration*2)return}if(!t.paused&&e){const u=this.hls.nextLoadLevel,h=e[u],c=this.fragLastKbps;c&&this.fragCurrent?n=this.fragCurrent.duration*h.maxBitrate/(1e3*c)+1:n=0}else n=0;const a=this.getBufferedFrag(t.currentTime+n);if(a){const u=this.followingBufferedFrag(a);if(u){this.abortCurrentFrag();const h=u.maxStartPTS?u.maxStartPTS:u.start,c=u.duration,S=Math.max(a.end,h+Math.min(Math.max(c-this.config.maxFragLookUpTolerance,c*(this.couldBacktrack?.5:.125)),c*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(S,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const e=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,e&&(e.abortRequests(),this.fragmentTracker.removeFragment(e)),this.state){case _n.KEY_LOADING:case _n.FRAG_LOADING:case _n.FRAG_LOADING_WAITING_RETRY:case _n.PARSING:case _n.PARSED:this.state=_n.IDLE;break}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(e,t){super.flushMainBuffer(e,t,this.altAudio===2?"video":null)}onMediaAttached(e,t){super.onMediaAttached(e,t);const n=t.media;zs(n,"playing",this.onMediaPlaying),zs(n,"seeked",this.onMediaSeeked)}onMediaDetaching(e,t){const{media:n}=this;n&&(Ls(n,"playing",this.onMediaPlaying),Ls(n,"seeked",this.onMediaSeeked)),this.videoBuffer=null,this.fragPlaying=null,super.onMediaDetaching(e,t),!t.transferMedia&&(this._hasEnoughToStart=!1)}onManifestLoading(){super.onManifestLoading(),this.log("Trigger BUFFER_RESET"),this.hls.trigger(m.BUFFER_RESET,void 0),this.couldBacktrack=!1,this.fragLastKbps=0,this.fragPlaying=this.backtrackFragment=null,this.altAudio=0,this.audioOnly=!1}onManifestParsed(e,t){let n=!1,r=!1;t.levels.forEach(i=>{const a=i.audioCodec;a&&(n=n||a.indexOf("mp4a.40.2")!==-1,r=r||a.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=n&&r&&!Xc(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=t.levels,this.startFragRequested=!1}onLevelLoading(e,t){const{levels:n}=this;if(!n||this.state!==_n.IDLE)return;const r=t.levelInfo;(!r.details||r.details.live&&(this.levelLastLoaded!==r||r.details.expired)||this.waitForCdnTuneIn(r.details))&&(this.state=_n.WAITING_LEVEL)}onLevelLoaded(e,t){var n;const{levels:r,startFragRequested:i}=this,a=t.level,u=t.details,h=u.totalduration;if(!r){this.warn(`Levels were reset while loading level ${a}`);return}this.log(`Level ${a} loaded [${u.startSN},${u.endSN}]${u.lastPartSn?`[part-${u.lastPartSn}-${u.lastPartIndex}]`:""}, cc [${u.startCC}, ${u.endCC}] duration:${h}`);const c=t.levelInfo,S=this.fragCurrent;S&&(this.state===_n.FRAG_LOADING||this.state===_n.FRAG_LOADING_WAITING_RETRY)&&S.level!==t.level&&S.loader&&this.abortCurrentFrag();let E=0;if(u.live||(n=c.details)!=null&&n.live){var z;if(this.checkLiveUpdate(u),u.deltaUpdateFailed)return;E=this.alignPlaylists(u,c.details,(z=this.levelLastLoaded)==null?void 0:z.details)}if(c.details=u,this.levelLastLoaded=c,i||this.setStartPosition(u,E),this.hls.trigger(m.LEVEL_UPDATED,{details:u,level:a}),this.state===_n.WAITING_LEVEL){if(this.waitForCdnTuneIn(u))return;this.state=_n.IDLE}i&&u.live&&this.synchronizeToLiveEdge(u),this.tick()}synchronizeToLiveEdge(e){const{config:t,media:n}=this;if(!n)return;const r=this.hls.liveSyncPosition,i=this.getLoadPosition(),a=e.fragmentStart,u=e.edge,h=i>=a-t.maxFragLookUpTolerance&&i<=u;if(r!==null&&n.duration>r&&(i<r||!h)){const c=t.liveMaxLatencyDuration!==void 0?t.liveMaxLatencyDuration:t.liveMaxLatencyDurationCount*e.targetduration;(!h&&n.readyState<4||i<u-c)&&(this._hasEnoughToStart||(this.nextLoadPosition=r),n.readyState&&(this.warn(`Playback: ${i.toFixed(3)} is located too far from the end of live sliding playlist: ${u}, reset currentTime to : ${r.toFixed(3)}`),n.currentTime=r))}}_handleFragmentLoadProgress(e){var t;const n=e.frag,{part:r,payload:i}=e,{levels:a}=this;if(!a){this.warn(`Levels were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);return}const u=a[n.level];if(!u){this.warn(`Level ${n.level} not found on progress`);return}const h=u.details;if(!h){this.warn(`Dropping fragment ${n.sn} of level ${n.level} after level details were reset`),this.fragmentTracker.removeFragment(n);return}const c=u.videoCodec,S=h.PTSKnown||!h.live,E=(t=n.initSegment)==null?void 0:t.data,z=this._getAudioCodec(u),te=this.transmuxer=this.transmuxer||new Sa(this.hls,he.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),ee=r?r.index:-1,De=ee!==-1,Ne=new Ci(n.level,n.sn,n.stats.chunkCount,i.byteLength,ee,De),tt=this.initPTS[n.cc];te.push(i,E,z,c,n,r,h.totalduration,S,Ne,tt)}onAudioTrackSwitching(e,t){const n=this.hls,r=this.altAudio===2;if(Ln(t.url,n))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 a=this.fragCurrent;a&&(this.log("Switching to main audio track, cancel main fragment load"),a.abortRequests(),this.fragmentTracker.removeFragment(a)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(r){this.fragmentTracker.removeAllFragments(),n.once(m.BUFFER_FLUSHED,()=>{var a;(a=this.hls)==null||a.trigger(m.AUDIO_TRACK_SWITCHED,t)}),n.trigger(m.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}n.trigger(m.AUDIO_TRACK_SWITCHED,t)}}onAudioTrackSwitched(e,t){const n=Ln(t.url,this.hls);if(n){const r=this.videoBuffer;r&&this.mediaBuffer!==r&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=r)}this.altAudio=n?2:0,this.tick()}onBufferCreated(e,t){const n=t.tracks;let r,i,a=!1;for(const u in n){const h=n[u];if(h.id==="main"){if(i=u,r=h,u==="video"){const c=n[u];c&&(this.videoBuffer=c.buffer)}}else a=!0}a&&r?(this.log(`Alternate track found, use ${i}.buffered to schedule main fragment loading`),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media}onFragBuffered(e,t){const{frag:n,part:r}=t,i=n.type===he.MAIN;if(i){if(this.fragContextChanged(n)){this.warn(`Fragment ${n.sn}${r?" p: "+r.index:""} of level ${n.level} finished buffering, but was aborted. state: ${this.state}`),this.state===_n.PARSED&&(this.state=_n.IDLE);return}const u=r?r.stats:n.stats;this.fragLastKbps=Math.round(8*u.total/(u.buffering.end-u.loading.first)),q(n)&&(this.fragPrevious=n),this.fragBufferedComplete(n,r)}const a=this.media;a&&(!this._hasEnoughToStart&&Cr.getBuffered(a).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),i&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(e,t){var n;if(t.fatal){this.state=_n.ERROR;return}switch(t.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(he.MAIN,t);break;case F.LEVEL_LOAD_ERROR:case F.LEVEL_LOAD_TIMEOUT:case F.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===_n.WAITING_LEVEL&&((n=t.context)==null?void 0:n.type)===w.LEVEL&&(this.state=_n.IDLE);break;case F.BUFFER_ADD_CODEC_ERROR:case F.BUFFER_APPEND_ERROR:if(t.parent!=="main")return;this.resetLoadingState();break;case F.BUFFER_FULL_ERROR:if(t.parent!=="main")return;this.reduceLengthAndFlushBuffer(t)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case F.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}onFragLoadEmergencyAborted(){this.state=_n.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(e,{type:t}){if(t!==_.AUDIO||!this.altAudio){const n=(t===_.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;n&&(this.afterBufferFlushed(n,t,he.MAIN),this.tick())}}onLevelsUpdated(e,t){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=t.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:e}=this;if(!e)return;const t=e.currentTime;let n=this.startPosition;if(n>=0&&t<n){if(e.seeking){this.log(`could not seek to ${n}, already seeking at ${t}`);return}const r=this.timelineOffset;r&&n&&(n+=r);const i=this.getLevelDetails(),a=Cr.getBuffered(e),u=a.length?a.start(0):0,h=u-n,c=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);h>0&&(h<c||this.loadingParts&&h<2*((i==null?void 0:i.partTarget)||0))&&(this.log(`adjusting start position by ${h} to match buffer start`),n+=h,this.startPosition=n),t<n&&(this.log(`seek to target start position ${n} from current time ${t} buffer start ${u}`),e.currentTime=n)}}_getAudioCodec(e){let t=this.config.defaultAudioCodec||e.audioCodec;return this.audioCodecSwap&&t&&(this.log("Swapping audio codec"),t.indexOf("mp4a.40.5")!==-1?t="mp4a.40.2":t="mp4a.40.5"),t}_loadBitrateTestFrag(e,t){e.bitrateTest=!0,this._doFragLoad(e,t).then(n=>{const{hls:r}=this,i=n==null?void 0:n.frag;if(!i||this.fragContextChanged(i))return;t.fragmentError=0,this.state=_n.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const a=i.stats;a.parsing.start=a.parsing.end=a.buffering.start=a.buffering.end=self.performance.now(),r.trigger(m.FRAG_LOADED,n),i.bitrateTest=!1})}_handleTransmuxComplete(e){var t;const n=this.playlistType,{hls:r}=this,{remuxResult:i,chunkMeta:a}=e,u=this.getCurrentContext(a);if(!u){this.resetWhenMissingContext(a);return}const{frag:h,part:c,level:S}=u,{video:E,text:z,id3:te,initSegment:ee}=i,{details:De}=S,Ne=this.altAudio?void 0:i.audio;if(this.fragContextChanged(h)){this.fragmentTracker.removeFragment(h);return}if(this.state=_n.PARSING,ee){if(ee!=null&&ee.tracks){const ct=h.initSegment||h;this._bufferInitSegment(S,ee.tracks,ct,a),r.trigger(m.FRAG_PARSING_INIT_SEGMENT,{frag:ct,id:n,tracks:ee.tracks})}const tt=ee.initPTS,St=ee.timescale;g(tt)&&(this.initPTS[h.cc]={baseTime:tt,timescale:St},r.trigger(m.INIT_PTS_FOUND,{frag:h,id:n,initPTS:tt,timescale:St}))}if(E&&De){const tt=De.fragments[h.sn-1-De.startSN],St=h.sn===De.startSN,ct=!tt||h.cc>tt.cc;if(i.independent!==!1){const{startPTS:zt,endPTS:Vt,startDTS:pn,endDTS:$t}=E;if(c)c.elementaryStreams[E.type]={startPTS:zt,endPTS:Vt,startDTS:pn,endDTS:$t};else if(E.firstKeyFrame&&E.independent&&a.id===1&&!ct&&(this.couldBacktrack=!0),E.dropped&&E.independent){const un=this.getMainFwdBufferInfo(),wn=(un?un.end:this.getLoadPosition())+this.config.maxBufferHole,Jt=E.firstKeyFramePTS?E.firstKeyFramePTS:zt;if(!St&&wn<Jt-this.config.maxBufferHole&&!ct){this.backtrack(h);return}else ct&&(h.gap=!0);h.setElementaryStreamInfo(E.type,h.start,Vt,h.start,$t,!0)}else St&&zt-(De.appliedTimelineOffset||0)>pl&&(h.gap=!0);h.setElementaryStreamInfo(E.type,zt,Vt,pn,$t),this.backtrackFragment&&(this.backtrackFragment=h),this.bufferFragmentData(E,h,c,a,St||ct)}else if(St||ct)h.gap=!0;else{this.backtrack(h);return}}if(Ne){const{startPTS:tt,endPTS:St,startDTS:ct,endDTS:zt}=Ne;c&&(c.elementaryStreams[_.AUDIO]={startPTS:tt,endPTS:St,startDTS:ct,endDTS:zt}),h.setElementaryStreamInfo(_.AUDIO,tt,St,ct,zt),this.bufferFragmentData(Ne,h,c,a)}if(De&&te!=null&&(t=te.samples)!=null&&t.length){const tt={id:n,frag:h,details:De,samples:te.samples};r.trigger(m.FRAG_PARSING_METADATA,tt)}if(De&&z){const tt={id:n,frag:h,details:De,samples:z.samples};r.trigger(m.FRAG_PARSING_USERDATA,tt)}}_bufferInitSegment(e,t,n,r){if(this.state!==_n.PARSING)return;this.audioOnly=!!t.audio&&!t.video,this.altAudio&&!this.audioOnly&&delete t.audio;const{audio:i,video:a,audiovideo:u}=t;if(i){let c=Dn(i.codec,e.audioCodec);c==="mp4a"&&(c="mp4a.40.5");const S=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){c&&(c.indexOf("mp4a.40.5")!==-1?c="mp4a.40.2":c="mp4a.40.5");const E=i.metadata;E&&"channelCount"in E&&(E.channelCount||1)!==1&&S.indexOf("firefox")===-1&&(c="mp4a.40.5")}c&&c.indexOf("mp4a.40.5")!==-1&&S.indexOf("android")!==-1&&i.container!=="audio/mpeg"&&(c="mp4a.40.2",this.log(`Android: force audio codec to ${c}`)),e.audioCodec&&e.audioCodec!==c&&this.log(`Swapping manifest audio codec "${e.audioCodec}" for "${c}"`),i.levelCodec=c,i.id=he.MAIN,this.log(`Init audio buffer, container:${i.container}, codecs[selected/level/parsed]=[${c||""}/${e.audioCodec||""}/${i.codec}]`),delete t.audiovideo}if(a){a.levelCodec=e.videoCodec,a.id=he.MAIN;const c=a.codec;if((c==null?void 0:c.length)===4)switch(c){case"hvc1":case"hev1":a.codec="hvc1.1.6.L120.90";break;case"av01":a.codec="av01.0.04M.08";break;case"avc1":a.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${a.container}, codecs[level/parsed]=[${e.videoCodec||""}/${c}]${a.codec!==c?" parsed-corrected="+a.codec:""}${a.supplemental?" supplemental="+a.supplemental:""}`),delete t.audiovideo}u&&(this.log(`Init audiovideo buffer, container:${u.container}, codecs[level/parsed]=[${e.codecs}/${u.codec}]`),delete t.video,delete t.audio);const h=Object.keys(t);if(h.length){if(this.hls.trigger(m.BUFFER_CODECS,t),!this.hls)return;h.forEach(c=>{const E=t[c].initSegment;E!=null&&E.byteLength&&this.hls.trigger(m.BUFFER_APPENDING,{type:c,data:E,frag:n,part:null,chunkMeta:r,parent:n.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const e=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(e,he.MAIN)}get maxBufferLength(){const{levels:e,level:t}=this,n=e==null?void 0:e[t];return n?this.getMaxBufferLength(n.maxBitrate):this.config.maxBufferLength}backtrack(e){this.couldBacktrack=!0,this.backtrackFragment=e,this.resetTransmuxer(),this.flushBufferGap(e),this.fragmentTracker.removeFragment(e),this.fragPrevious=null,this.nextLoadPosition=e.start,this.state=_n.IDLE}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&e.seeking===!1){const n=e.currentTime;if(Cr.isBuffered(e,n)?t=this.getAppendedFrag(n):Cr.isBuffered(e,n+.1)&&(t=this.getAppendedFrag(n+.1)),t){this.backtrackFragment=null;const r=this.fragPlaying,i=t.level;(!r||t.sn!==r.sn||r.level!==i)&&(this.fragPlaying=t,this.hls.trigger(m.FRAG_CHANGED,{frag:t}),(!r||r.level!==i)&&this.hls.trigger(m.LEVEL_SWITCHED,{level:i}))}}}get nextLevel(){const e=this.nextBufferedFrag;return e?e.level:-1}get currentFrag(){var e;if(this.fragPlaying)return this.fragPlaying;const t=((e=this.media)==null?void 0:e.currentTime)||this.lastCurrentTime;return g(t)?this.getAppendedFrag(t):null}get currentProgramDateTime(){var e;const t=((e=this.media)==null?void 0:e.currentTime)||this.lastCurrentTime;if(g(t)){const n=this.getLevelDetails(),r=this.currentFrag||(n?Rn(null,n.fragments,t):null);if(r){const i=r.programDateTime;if(i!==null){const a=i+(t-r.start)*1e3;return new Date(a)}}}return null}get currentLevel(){const e=this.currentFrag;return e?e.level:-1}get nextBufferedFrag(){const e=this.currentFrag;return e?this.followingBufferedFrag(e):null}get forceStartLoad(){return this._forceStartLoad}}class n0{constructor(e){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=e}abort(e){for(const n in this.keyUriToKeyInfo){const r=this.keyUriToKeyInfo[n].loader;if(r){var t;if(e&&e!==((t=r.context)==null?void 0:t.frag.type))return;r.abort()}}}detach(){for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e];(t.mediaKeySessionContext||t.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[e]}}destroy(){this.detach();for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e].loader;t&&t.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(e,t=F.KEY_LOAD_ERROR,n,r,i){return new bi({type:ge.NETWORK_ERROR,details:t,fatal:!1,frag:e,response:i,error:n,networkDetails:r})}loadClear(e,t){if(this.emeController&&this.config.emeEnabled){const{sn:n,cc:r}=e;for(let i=0;i<t.length;i++){const a=t[i];if(r<=a.cc&&(n==="initSegment"||a.sn==="initSegment"||n<a.sn)){this.emeController.selectKeySystemFormat(a).then(u=>{a.setKeyFormat(u)});break}}}}load(e){return!e.decryptdata&&e.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(e).then(t=>this.loadInternal(e,t)):this.loadInternal(e)}loadInternal(e,t){var n,r;t&&e.setKeyFormat(t);const i=e.decryptdata;if(!i){const c=new Error(t?`Expected frag.decryptdata to be defined after setting format ${t}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(e,F.KEY_LOAD_ERROR,c))}const a=i.uri;if(!a)return Promise.reject(this.createKeyLoadError(e,F.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${a}"`)));let u=this.keyUriToKeyInfo[a];if((n=u)!=null&&n.decryptdata.key)return i.key=u.decryptdata.key,Promise.resolve({frag:e,keyInfo:u});if((r=u)!=null&&r.keyLoadPromise){var h;switch((h=u.mediaKeySessionContext)==null?void 0:h.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return u.keyLoadPromise.then(c=>(i.key=c.keyInfo.decryptdata.key,{frag:e,keyInfo:u}))}}switch(u=this.keyUriToKeyInfo[a]={decryptdata:i,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},i.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return i.keyFormat==="identity"?this.loadKeyHTTP(u,e):this.loadKeyEME(u,e);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(u,e);default:return Promise.reject(this.createKeyLoadError(e,F.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${i.method}"`)))}}loadKeyEME(e,t){const n={frag:t,keyInfo:e};if(this.emeController&&this.config.emeEnabled){const r=this.emeController.loadKey(n);if(r)return(e.keyLoadPromise=r.then(i=>(e.mediaKeySessionContext=i,n))).catch(i=>{throw e.keyLoadPromise=null,i})}return Promise.resolve(n)}loadKeyHTTP(e,t){const n=this.config,r=n.loader,i=new r(n);return t.keyLoader=e.loader=i,e.keyLoadPromise=new Promise((a,u)=>{const h={keyInfo:e,frag:t,responseType:"arraybuffer",url:e.decryptdata.uri},c=n.keyLoadPolicy.default,S={loadPolicy:c,timeout:c.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},E={onSuccess:(z,te,ee,De)=>{const{frag:Ne,keyInfo:tt,url:St}=ee;if(!Ne.decryptdata||tt!==this.keyUriToKeyInfo[St])return u(this.createKeyLoadError(Ne,F.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),De));tt.decryptdata.key=Ne.decryptdata.key=new Uint8Array(z.data),Ne.keyLoader=null,tt.loader=null,a({frag:Ne,keyInfo:tt})},onError:(z,te,ee,De)=>{this.resetLoader(te),u(this.createKeyLoadError(t,F.KEY_LOAD_ERROR,new Error(`HTTP Error ${z.code} loading key ${z.text}`),ee,A({url:h.url,data:void 0},z)))},onTimeout:(z,te,ee)=>{this.resetLoader(te),u(this.createKeyLoadError(t,F.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),ee))},onAbort:(z,te,ee)=>{this.resetLoader(te),u(this.createKeyLoadError(t,F.INTERNAL_ABORTED,new Error("key loading aborted"),ee))}};i.load(h,S,E)})}resetLoader(e){const{frag:t,keyInfo:n,url:r}=e,i=n.loader;t.keyLoader===i&&(t.keyLoader=null,n.loader=null),delete this.keyUriToKeyInfo[r],i&&i.destroy()}}function Au(s){const{type:e}=s;switch(e){case w.AUDIO_TRACK:return he.AUDIO;case w.SUBTITLE_TRACK:return he.SUBTITLE;default:return he.MAIN}}function Ml(s,e){let t=s.url;return(t===void 0||t.indexOf("data:")===0)&&(t=e.url),t}class r0{constructor(e){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=e,this.registerListeners()}startLoad(e){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:e}=this;e.on(m.MANIFEST_LOADING,this.onManifestLoading,this),e.on(m.LEVEL_LOADING,this.onLevelLoading,this),e.on(m.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.on(m.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.on(m.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:e}=this;e.off(m.MANIFEST_LOADING,this.onManifestLoading,this),e.off(m.LEVEL_LOADING,this.onLevelLoading,this),e.off(m.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.off(m.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.off(m.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(e){const t=this.hls.config,n=t.pLoader,r=t.loader,i=n||r,a=new i(t);return this.loaders[e.type]=a,a}getInternalLoader(e){return this.loaders[e.type]}resetInternalLoader(e){this.loaders[e]&&delete this.loaders[e]}destroyInternalLoaders(){for(const e in this.loaders){const t=this.loaders[e];t&&t.destroy(),this.resetInternalLoader(e)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(e,t){const{url:n}=t;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:w.MANIFEST,url:n,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(e,t){const{id:n,level:r,pathwayId:i,url:a,deliveryDirectives:u,levelInfo:h}=t;this.load({id:n,level:r,pathwayId:i,responseType:"text",type:w.LEVEL,url:a,deliveryDirectives:u,levelOrTrack:h})}onAudioTrackLoading(e,t){const{id:n,groupId:r,url:i,deliveryDirectives:a,track:u}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:w.AUDIO_TRACK,url:i,deliveryDirectives:a,levelOrTrack:u})}onSubtitleTrackLoading(e,t){const{id:n,groupId:r,url:i,deliveryDirectives:a,track:u}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:w.SUBTITLE_TRACK,url:i,deliveryDirectives:a,levelOrTrack:u})}onLevelsUpdated(e,t){const n=this.loaders[w.LEVEL];if(n){const r=n.context;r&&!t.levels.some(i=>i===r.levelOrTrack)&&(n.abort(),delete this.loaders[w.LEVEL])}}load(e){var t;const n=this.hls.config;let r=this.getInternalLoader(e);if(r){const c=this.hls.logger,S=r.context;if(S&&S.levelOrTrack===e.levelOrTrack&&(S.url===e.url||S.deliveryDirectives&&!e.deliveryDirectives)){S.url===e.url?c.log(`[playlist-loader]: ignore ${e.url} ongoing request`):c.log(`[playlist-loader]: ignore ${e.url} in favor of ${S.url}`);return}c.log(`[playlist-loader]: aborting previous loader for type: ${e.type}`),r.abort()}let i;if(e.type===w.MANIFEST?i=n.manifestLoadPolicy.default:i=y({},n.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),r=this.createInternalLoader(e),g((t=e.deliveryDirectives)==null?void 0:t.part)){let c;if(e.type===w.LEVEL&&e.level!==null?c=this.hls.levels[e.level].details:e.type===w.AUDIO_TRACK&&e.id!==null?c=this.hls.audioTracks[e.id].details:e.type===w.SUBTITLE_TRACK&&e.id!==null&&(c=this.hls.subtitleTracks[e.id].details),c){const S=c.partTarget,E=c.targetduration;if(S&&E){const z=Math.max(S*3,E*.8)*1e3;i=y({},i,{maxTimeToFirstByteMs:Math.min(z,i.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(z,i.maxTimeToFirstByteMs)})}}}const a=i.errorRetry||i.timeoutRetry||{},u={loadPolicy:i,timeout:i.maxLoadTimeMs,maxRetry:a.maxNumRetry||0,retryDelay:a.retryDelayMs||0,maxRetryDelay:a.maxRetryDelayMs||0},h={onSuccess:(c,S,E,z)=>{const te=this.getInternalLoader(E);this.resetInternalLoader(E.type);const ee=c.data;if(ee.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(c,E,new Error("no EXTM3U delimiter"),z||null,S);return}S.parsing.start=performance.now(),xa.isMediaPlaylist(ee)||E.type!==w.MANIFEST?this.handleTrackOrLevelPlaylist(c,S,E,z||null,te):this.handleMasterPlaylist(c,S,E,z)},onError:(c,S,E,z)=>{this.handleNetworkError(S,E,!1,c,z)},onTimeout:(c,S,E)=>{this.handleNetworkError(S,E,!0,void 0,c)}};r.load(e,u,h)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:e,startPosition:t},forceStartLoad:n}=this.hls;(e||n)&&(this.hls.logger.log(`${e?"auto":"force"} startLoad with configured startPosition ${t}`),this.hls.startLoad(t))}handleMasterPlaylist(e,t,n,r){const i=this.hls,a=e.data,u=Ml(e,n),h=xa.parseMasterPlaylist(a,u);if(h.playlistParsingError){this.handleManifestParsingError(e,n,h.playlistParsingError,r,t);return}const{contentSteering:c,levels:S,sessionData:E,sessionKeys:z,startTimeOffset:te,variableList:ee}=h;this.variableList=ee;const{AUDIO:De=[],SUBTITLES:Ne,"CLOSED-CAPTIONS":tt}=xa.parseMasterPlaylistMedia(a,u,h);De.length&&!De.some(ct=>!ct.url)&&S[0].audioCodec&&!S[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),De.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Mr({}),bitrate:0,url:""})),i.trigger(m.MANIFEST_LOADED,{levels:S,audioTracks:De,subtitles:Ne,captions:tt,contentSteering:c,url:u,stats:t,networkDetails:r,sessionData:E,sessionKeys:z,startTimeOffset:te,variableList:ee})}handleTrackOrLevelPlaylist(e,t,n,r,i){const a=this.hls,{id:u,level:h,type:c}=n,S=Ml(e,n),E=g(h)?h:g(u)?u:0,z=Au(n),te=xa.parseLevelPlaylist(e.data,S,E,z,0,this.variableList);if(c===w.MANIFEST){const ee={attrs:new Mr({}),bitrate:0,details:te,name:"",url:S};te.requestScheduled=t.loading.start+_s(te,0),a.trigger(m.MANIFEST_LOADED,{levels:[ee],audioTracks:[],url:S,stats:t,networkDetails:r,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}t.parsing.end=performance.now(),n.levelDetails=te,this.handlePlaylistLoaded(te,e,t,n,r,i)}handleManifestParsingError(e,t,n,r,i){this.hls.trigger(m.ERROR,{type:ge.NETWORK_ERROR,details:F.MANIFEST_PARSING_ERROR,fatal:t.type===w.MANIFEST,url:e.url,err:n,error:n,reason:n.message,response:e,context:t,networkDetails:r,stats:i})}handleNetworkError(e,t,n=!1,r,i){let a=`A network ${n?"timeout":"error"+(r?" (status "+r.code+")":"")} occurred while loading ${e.type}`;e.type===w.LEVEL?a+=`: ${e.level} id: ${e.id}`:(e.type===w.AUDIO_TRACK||e.type===w.SUBTITLE_TRACK)&&(a+=` id: ${e.id} group-id: "${e.groupId}"`);const u=new Error(a);this.hls.logger.warn(`[playlist-loader]: ${a}`);let h=F.UNKNOWN,c=!1;const S=this.getInternalLoader(e);switch(e.type){case w.MANIFEST:h=n?F.MANIFEST_LOAD_TIMEOUT:F.MANIFEST_LOAD_ERROR,c=!0;break;case w.LEVEL:h=n?F.LEVEL_LOAD_TIMEOUT:F.LEVEL_LOAD_ERROR,c=!1;break;case w.AUDIO_TRACK:h=n?F.AUDIO_TRACK_LOAD_TIMEOUT:F.AUDIO_TRACK_LOAD_ERROR,c=!1;break;case w.SUBTITLE_TRACK:h=n?F.SUBTITLE_TRACK_LOAD_TIMEOUT:F.SUBTITLE_LOAD_ERROR,c=!1;break}S&&this.resetInternalLoader(e.type);const E={type:ge.NETWORK_ERROR,details:h,fatal:c,url:e.url,loader:S,context:e,error:u,networkDetails:t,stats:i};if(r){const z=(t==null?void 0:t.url)||e.url;E.response=A({url:z,data:void 0},r)}this.hls.trigger(m.ERROR,E)}handlePlaylistLoaded(e,t,n,r,i,a){const u=this.hls,{type:h,level:c,id:S,groupId:E,deliveryDirectives:z}=r,te=Ml(t,r),ee=Au(r),De=typeof r.level=="number"&&ee===he.MAIN?c:void 0;if(!e.fragments.length){const tt=e.playlistParsingError=new Error("No Segments found in Playlist");u.trigger(m.ERROR,{type:ge.NETWORK_ERROR,details:F.LEVEL_EMPTY_ERROR,fatal:!1,url:te,error:tt,reason:tt.message,response:t,context:r,level:De,parent:ee,networkDetails:i,stats:n});return}e.targetduration||(e.playlistParsingError=new Error("Missing Target Duration"));const Ne=e.playlistParsingError;if(Ne){if(this.hls.logger.warn(Ne),!u.config.ignorePlaylistParsingErrors){u.trigger(m.ERROR,{type:ge.NETWORK_ERROR,details:F.LEVEL_PARSING_ERROR,fatal:!1,url:te,error:Ne,reason:Ne.message,response:t,context:r,level:De,parent:ee,networkDetails:i,stats:n});return}e.playlistParsingError=null}switch(e.live&&a&&(a.getCacheAge&&(e.ageHeader=a.getCacheAge()||0),(!a.getCacheAge||isNaN(e.ageHeader))&&(e.ageHeader=0)),h){case w.MANIFEST:case w.LEVEL:u.trigger(m.LEVEL_LOADED,{details:e,levelInfo:r.levelOrTrack||u.levels[0],level:De||0,id:S||0,stats:n,networkDetails:i,deliveryDirectives:z,withoutMultiVariant:h===w.MANIFEST});break;case w.AUDIO_TRACK:u.trigger(m.AUDIO_TRACK_LOADED,{details:e,track:r.levelOrTrack,id:S||0,groupId:E||"",stats:n,networkDetails:i,deliveryDirectives:z});break;case w.SUBTITLE_TRACK:u.trigger(m.SUBTITLE_TRACK_LOADED,{details:e,track:r.levelOrTrack,id:S||0,groupId:E||"",stats:n,networkDetails:i,deliveryDirectives:z});break}}}class Ys{static get version(){return Ts}static isMSESupported(){return Eu()}static isSupported(){return Jc()}static getMediaSource(){return ve()}static get Events(){return m}static get MetadataSchema(){return Mt}static get ErrorTypes(){return ge}static get ErrorDetails(){return F}static get DefaultConfig(){return Ys.defaultConfig?Ys.defaultConfig:Bc}static set DefaultConfig(e){Ys.defaultConfig=e}constructor(e={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new Js,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 t=this.logger=Q(e.debug||!1,"Hls instance",e.assetPlayerId),n=this.config=zc(Ys.DefaultConfig,e,t);this.userConfig=e,n.progressive&&Hc(n,t);const{abrController:r,bufferController:i,capLevelController:a,errorController:u,fpsController:h}=n,c=new u(this),S=this.abrController=new r(this),E=new Fr(this),z=n.interstitialsController,te=z?this.interstitialsController=new z(this,Ys):null,ee=this.bufferController=new i(this,E),De=this.capLevelController=new a(this),Ne=new h(this),tt=new r0(this),St=n.contentSteeringController,ct=St?new St(this):null,zt=this.levelController=new qc(this,ct),Vt=new Yc(this),pn=new n0(this.config),$t=this.streamController=new t0(this,E,pn),un=this.gapController=new Gc(this,E);De.setStreamController($t),Ne.setStreamController($t);const wn=[tt,zt,$t];te&&wn.splice(1,0,te),ct&&wn.splice(1,0,ct),this.networkControllers=wn;const Jt=[S,ee,un,De,Ne,Vt,E];this.audioTrackController=this.createController(n.audioTrackController,wn);const $n=n.audioStreamController;$n&&wn.push(this.audioStreamController=new $n(this,E,pn)),this.subtitleTrackController=this.createController(n.subtitleTrackController,wn);const yr=n.subtitleStreamController;yr&&wn.push(this.subtititleStreamController=new yr(this,E,pn)),this.createController(n.timelineController,Jt),pn.emeController=this.emeController=this.createController(n.emeController,Jt),this.cmcdController=this.createController(n.cmcdController,Jt),this.latencyController=this.createController(Qc,Jt),this.coreComponents=Jt,wn.push(c);const wi=c.onErrorOut;typeof wi=="function"&&this.on(m.ERROR,wi,c),this.on(m.MANIFEST_LOADED,tt.onManifestLoaded,tt)}createController(e,t){if(e){const n=new e(this);return t&&t.push(n),n}return null}on(e,t,n=this){this._emitter.on(e,t,n)}once(e,t,n=this){this._emitter.once(e,t,n)}removeAllListeners(e){this._emitter.removeAllListeners(e)}off(e,t,n=this,r){this._emitter.off(e,t,n,r)}listeners(e){return this._emitter.listeners(e)}emit(e,t,n){return this._emitter.emit(e,t,n)}trigger(e,t){if(this.config.debug)return this.emit(e,e,t);try{return this.emit(e,e,t)}catch(n){if(this.logger.error("An internal error happened while handling event "+e+'. Error message: "'+n.message+'". Here is a stacktrace:',n),!this.triggeringException){this.triggeringException=!0;const r=e===m.ERROR;this.trigger(m.ERROR,{type:ge.OTHER_ERROR,details:F.INTERNAL_EXCEPTION,fatal:r,event:e,error:n}),this.triggeringException=!1}}return!1}listenerCount(e){return this._emitter.listenerCount(e)}destroy(){this.logger.log("destroy"),this.trigger(m.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(t=>t.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(t=>t.destroy()),this.coreComponents.length=0;const e=this.config;e.xhrSetup=e.fetchSetup=void 0,this.userConfig=null}attachMedia(e){if(!e||"media"in e&&!e.media){const i=new Error(`attachMedia failed: invalid argument (${e})`);this.trigger(m.ERROR,{type:ge.OTHER_ERROR,details:F.ATTACH_MEDIA_ERROR,fatal:!0,error:i});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const t="media"in e,n=t?e.media:e,r=t?e:{media:n};this._media=n,this.trigger(m.MEDIA_ATTACHING,r)}detachMedia(){this.logger.log("detachMedia"),this.trigger(m.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const e=this.bufferController.transferMedia();return this.trigger(m.MEDIA_DETACHING,{transferMedia:e}),e}loadSource(e){this.stopLoad();const t=this.media,n=this._url,r=this._url=ae.buildAbsoluteURL(self.location.href,e,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${r}`),t&&n&&(n!==r||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(t)),this.trigger(m.MANIFEST_LOADING,{url:e})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(e=-1,t){this.logger.log(`startLoad(${e+(t?", <skip seek to start>":"")})`),this.started=!0,this.resumeBuffering();for(let n=0;n<this.networkControllers.length&&(this.networkControllers[n].startLoad(e,t),!(!this.started||!this.networkControllers));n++);}stopLoad(){this.logger.log("stopLoad"),this.started=!1;for(let e=0;e<this.networkControllers.length&&(this.networkControllers[e].stopLoad(),!(this.started||!this.networkControllers));e++);}get loadingEnabled(){return this.started}get bufferingEnabled(){return this.streamController.bufferingEnabled}resumeBuffering(){this.bufferingEnabled||(this.logger.log("resume buffering"),this.networkControllers.forEach(e=>{e.resumeBuffering&&e.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(e=>{e.pauseBuffering&&e.pauseBuffering()}))}get inFlightFragments(){const e={[he.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(e[he.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(e[he.SUBTITLE]=this.subtititleStreamController.inFlightFrag),e}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const e=this._media,t=e==null?void 0:e.currentTime;this.detachMedia(),e&&(this.attachMedia(e),t&&this.startLoad(t))}removeLevel(e){this.levelController.removeLevel(e)}get sessionId(){let e=this._sessionId;return e||(e=this._sessionId=So()),e}get levels(){const e=this.levelController.levels;return e||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(e){this.logger.log(`set currentLevel:${e}`),this.levelController.manualLevel=e,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(e){this.logger.log(`set nextLevel:${e}`),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(e){this.logger.log(`set loadLevel:${e}`),this.levelController.manualLevel=e}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(e){this.levelController.nextLoadLevel=e}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(e){this.logger.log(`set firstLevel:${e}`),this.levelController.firstLevel=e}get startLevel(){const e=this.levelController.startLevel;return e===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:e}set startLevel(e){this.logger.log(`set startLevel:${e}`),e!==-1&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(e){const t=!!e;t!==this.config.capLevelToPlayerSize&&(t?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=t)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimate():NaN}set bandwidthEstimate(e){this.abrController.resetEstimator(e)}get abrEwmaDefaultEstimate(){const{bwEstimator:e}=this.abrController;return e?e.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimateTTFB():NaN}set autoLevelCapping(e){this._autoLevelCapping!==e&&(this.logger.log(`set autoLevelCapping:${e}`),this._autoLevelCapping=e,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(e){Ft(e)&&this._maxHdcpLevel!==e&&(this._maxHdcpLevel=e,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:e,config:{minAutoBitrate:t}}=this;if(!e)return 0;const n=e.length;for(let r=0;r<n;r++)if(e[r].maxBitrate>=t)return r;return 0}get maxAutoLevel(){const{levels:e,autoLevelCapping:t,maxHdcpLevel:n}=this;let r;if(t===-1&&e!=null&&e.length?r=e.length-1:r=t,n)for(let i=r;i--;){const a=e[i].attrs["HDCP-LEVEL"];if(a&&a<=n)return i}return r}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(e){this.abrController.nextAutoLevel=e}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(e){var t;return((t=this.audioTrackController)==null?void 0:t.setAudioOption(e))||null}setSubtitleOption(e){var t;return((t=this.subtitleTrackController)==null?void 0:t.setSubtitleOption(e))||null}get allAudioTracks(){const e=this.audioTrackController;return e?e.allAudioTracks:[]}get audioTracks(){const e=this.audioTrackController;return e?e.audioTracks:[]}get audioTrack(){const e=this.audioTrackController;return e?e.audioTrack:-1}set audioTrack(e){const t=this.audioTrackController;t&&(t.audioTrack=e)}get allSubtitleTracks(){const e=this.subtitleTrackController;return e?e.allSubtitleTracks:[]}get subtitleTracks(){const e=this.subtitleTrackController;return e?e.subtitleTracks:[]}get subtitleTrack(){const e=this.subtitleTrackController;return e?e.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(e){const t=this.subtitleTrackController;t&&(t.subtitleTrack=e)}get subtitleDisplay(){const e=this.subtitleTrackController;return e?e.subtitleDisplay:!1}set subtitleDisplay(e){const t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(e){this.config.lowLatencyMode=e}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(e){this.latencyController.targetLatency=e}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(e){this.levelController.pathwayPriority=e}get bufferedToEnd(){var e;return!!((e=this.bufferController)!=null&&e.bufferedToEnd)}get interstitialsManager(){var e;return((e=this.interstitialsController)==null?void 0:e.interstitialsManager)||null}getMediaDecodingInfo(e,t=this.allAudioTracks){const n=cn(t);return Re(e,n,navigator.mediaCapabilities)}}Ys.defaultConfig=void 0},16722:function(an,it,f){"use strict";f.d(it,{Z:function(){return he}});const g=o=>typeof o=="object"&&o!=null&&o.nodeType===1,O=(o,M)=>(!M||o!=="hidden")&&o!=="visible"&&o!=="clip",re=(o,M)=>{if(o.clientHeight<o.scrollHeight||o.clientWidth<o.scrollWidth){const W=getComputedStyle(o,null);return O(W.overflowY,M)||O(W.overflowX,M)||(y=>{const b=(A=>{if(!A.ownerDocument||!A.ownerDocument.defaultView)return null;try{return A.ownerDocument.defaultView.frameElement}catch(C){return null}})(y);return!!b&&(b.clientHeight<y.scrollHeight||b.clientWidth<y.scrollWidth)})(o)}return!1},ge=(o,M,W,y,b,A,C,K)=>A<o&&C>M||A>o&&C<M?0:A<=o&&K<=W||C>=M&&K>=W?A-o-y:C>M&&K<W||A<o&&K>W?C-M+b:0,F=o=>{const M=o.parentElement;return M==null?o.getRootNode().host||null:M},m=(o,M)=>{var W,y,b,A;if(typeof document=="undefined")return[];const{scrollMode:C,block:K,inline:pe,boundary:B,skipOverflowHiddenElements:Z}=M,ie=typeof B=="function"?B:Le=>Le!==B;if(!g(o))throw new TypeError("Invalid target");const X=document.scrollingElement||document.documentElement,L=[];let D=o;for(;g(D)&&ie(D);){if(D=F(D),D===X){L.push(D);break}D!=null&&D===document.body&&re(D)&&!re(document.documentElement)||D!=null&&re(D,Z)&&L.push(D)}const Q=(y=(W=window.visualViewport)==null?void 0:W.width)!=null?y:innerWidth,j=(A=(b=window.visualViewport)==null?void 0:b.height)!=null?A:innerHeight,{scrollX:ve,scrollY:xe}=window,{height:ye,width:le,top:oe,right:H,bottom:be,left:J}=o.getBoundingClientRect(),{top:me,right:ae,bottom:v,left:_}=(Le=>{const Ue=window.getComputedStyle(Le);return{top:parseFloat(Ue.scrollMarginTop)||0,right:parseFloat(Ue.scrollMarginRight)||0,bottom:parseFloat(Ue.scrollMarginBottom)||0,left:parseFloat(Ue.scrollMarginLeft)||0}})(o);let Y=K==="start"||K==="nearest"?oe-me:K==="end"?be+v:oe+ye/2-me+v,q=pe==="center"?J+le/2-_+ae:pe==="end"?H+ae:J-_;const Pe=[];for(let Le=0;Le<L.length;Le++){const Ue=L[Le],{height:$e,width:ut,top:dt,right:at,bottom:Pt,left:nn}=Ue.getBoundingClientRect();if(C==="if-needed"&&oe>=0&&J>=0&&be<=j&&H<=Q&&(Ue===X&&!re(Ue)||oe>=dt&&be<=Pt&&J>=nn&&H<=at))return Pe;const kt=getComputedStyle(Ue),Nt=parseInt(kt.borderLeftWidth,10),lt=parseInt(kt.borderTopWidth,10),wt=parseInt(kt.borderRightWidth,10),de=parseInt(kt.borderBottomWidth,10);let fe=0,G=0;const U="offsetWidth"in Ue?Ue.offsetWidth-Ue.clientWidth-Nt-wt:0,we="offsetHeight"in Ue?Ue.offsetHeight-Ue.clientHeight-lt-de:0,P="offsetWidth"in Ue?Ue.offsetWidth===0?0:ut/Ue.offsetWidth:0,T="offsetHeight"in Ue?Ue.offsetHeight===0?0:$e/Ue.offsetHeight:0;if(X===Ue)fe=K==="start"?Y:K==="end"?Y-j:K==="nearest"?ge(xe,xe+j,j,lt,de,xe+Y,xe+Y+ye,ye):Y-j/2,G=pe==="start"?q:pe==="center"?q-Q/2:pe==="end"?q-Q:ge(ve,ve+Q,Q,Nt,wt,ve+q,ve+q+le,le),fe=Math.max(0,fe+xe),G=Math.max(0,G+ve);else{fe=K==="start"?Y-dt-lt:K==="end"?Y-Pt+de+we:K==="nearest"?ge(dt,Pt,$e,lt,de+we,Y,Y+ye,ye):Y-(dt+$e/2)+we/2,G=pe==="start"?q-nn-Nt:pe==="center"?q-(nn+ut/2)+U/2:pe==="end"?q-at+wt+U:ge(nn,at,ut,Nt,wt+U,q,q+le,le);const{scrollLeft:I,scrollTop:ne}=Ue;fe=T===0?0:Math.max(0,Math.min(ne+fe/T,Ue.scrollHeight-$e/T+we)),G=P===0?0:Math.max(0,Math.min(I+G/P,Ue.scrollWidth-ut/P+U)),Y+=ne-fe,q+=I-G}Pe.push({el:Ue,top:fe,left:G})}return Pe},w=o=>o===!1?{block:"end",inline:"nearest"}:(M=>M===Object(M)&&Object.keys(M).length!==0)(o)?o:{block:"start",inline:"nearest"};function he(o,M){if(!o.isConnected||!(b=>{let A=b;for(;A&&A.parentNode;){if(A.parentNode===document)return!0;A=A.parentNode instanceof ShadowRoot?A.parentNode.host:A.parentNode}return!1})(o))return;const W=(b=>{const A=window.getComputedStyle(b);return{top:parseFloat(A.scrollMarginTop)||0,right:parseFloat(A.scrollMarginRight)||0,bottom:parseFloat(A.scrollMarginBottom)||0,left:parseFloat(A.scrollMarginLeft)||0}})(o);if((b=>typeof b=="object"&&typeof b.behavior=="function")(M))return M.behavior(m(o,M));const y=typeof M=="boolean"||M==null?void 0:M.behavior;for(const{el:b,top:A,left:C}of m(o,w(M))){const K=A-W.top+W.bottom,pe=C-W.left+W.right;b.scroll({top:K,left:pe,behavior:y})}}}}]);
}());