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.
1451 lines
2.1 MiB
1451 lines
2.1 MiB
!(function(){var lc=Math.pow;(self.webpackChunk=self.webpackChunk||[]).push([[1443],{70557:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},89489:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},59477:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},40001:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},49198:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},84105:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},18785:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},73331:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},15277:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},52671:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},8657:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},56082:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},33853:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},15075:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},43531:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},47472:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(60499),ie=h(59301),O={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"},le=O,j=h(7657),v=function(C,F){return ie.createElement(j.Z,(0,c.Z)({},C,{ref:F,icon:le}))},re=ie.forwardRef(v),ee=re},68196:function(On,at,h){"use strict";h.d(at,{Z:function(){return ct}});var c=h(85899),ie=h(72190),O=h(42244),le=h(43403),j=h(92310),v=h.n(j),re=h(29301),ee=h(76846),o=h(96452),C=h(6089),F=h(80402),x=h(34280),A=h(49658),L=h(59301),z=h(60499),G=h(77900),Z=h(8654);function W(Xe){var Re=Xe.prefixCls,oe=Xe.align,qe=Xe.arrow,Me=Xe.arrowPos,U=qe||{},M=U.className,ye=U.content,Te=Me.x,xe=Te===void 0?0:Te,ae=Me.y,Fe=ae===void 0?0:ae,nt=L.useRef();if(!oe||!oe.points)return null;var se={position:"absolute"};if(oe.autoArrow!==!1){var me=oe.points[0],vt=oe.points[1],ft=me[0],xt=me[1],gt=vt[0],tt=vt[1];ft===gt||!["t","b"].includes(ft)?se.top=Fe:ft==="t"?se.top=0:se.bottom=0,xt===tt||!["l","r"].includes(xt)?se.left=xe:xt==="l"?se.left=0:se.right=0}return L.createElement("div",{ref:nt,className:v()("".concat(Re,"-arrow"),M),style:se},ye)}function P(Xe){var Re=Xe.prefixCls,oe=Xe.open,qe=Xe.zIndex,Me=Xe.mask,U=Xe.motion;return Me?L.createElement(G.default,(0,z.Z)({},U,{motionAppear:!0,visible:oe,removeOnLeave:!0}),function(M){var ye=M.className;return L.createElement("div",{style:{zIndex:qe},className:v()("".concat(Re,"-mask"),ye)})}):null}var K=L.memo(function(Xe){var Re=Xe.children;return Re},function(Xe,Re){return Re.cache}),g=K,T=L.forwardRef(function(Xe,Re){var oe=Xe.popup,qe=Xe.className,Me=Xe.prefixCls,U=Xe.style,M=Xe.target,ye=Xe.onVisibleChanged,Te=Xe.open,xe=Xe.keepDom,ae=Xe.fresh,Fe=Xe.onClick,nt=Xe.mask,se=Xe.arrow,me=Xe.arrowPos,vt=Xe.align,ft=Xe.motion,xt=Xe.maskMotion,gt=Xe.forceRender,tt=Xe.getPopupContainer,Pt=Xe.autoDestroy,_t=Xe.portal,Ae=Xe.zIndex,et=Xe.onMouseEnter,E=Xe.onMouseLeave,D=Xe.onPointerEnter,Ve=Xe.onPointerDownCapture,ne=Xe.ready,q=Xe.offsetX,jt=Xe.offsetY,Ue=Xe.offsetR,st=Xe.offsetB,ht=Xe.onAlign,de=Xe.onPrepare,be=Xe.stretch,We=Xe.targetWidth,Ze=Xe.targetHeight,Q=typeof oe=="function"?oe():oe,Mt=Te||xe,_e=(tt==null?void 0:tt.length)>0,bt=L.useState(!tt||!_e),An=(0,ie.Z)(bt,2),xn=An[0],Er=An[1];if((0,x.Z)(function(){!xn&&_e&&M&&Er(!0)},[xn,_e,M]),!xn)return null;var vr="auto",gr={left:"-1000vw",top:"-1000vh",right:vr,bottom:vr};if(ne||!Te){var Hr,fi=vt.points,lr=vt.dynamicInset||((Hr=vt._experimental)===null||Hr===void 0?void 0:Hr.dynamicInset),ii=lr&&fi[0][1]==="r",Wn=lr&&fi[0][0]==="b";ii?(gr.right=Ue,gr.left=vr):(gr.left=q,gr.right=vr),Wn?(gr.bottom=st,gr.top=vr):(gr.top=jt,gr.bottom=vr)}var Bt={};return be&&(be.includes("height")&&Ze?Bt.height=Ze:be.includes("minHeight")&&Ze&&(Bt.minHeight=Ze),be.includes("width")&&We?Bt.width=We:be.includes("minWidth")&&We&&(Bt.minWidth=We)),Te||(Bt.pointerEvents="none"),L.createElement(_t,{open:gt||Mt,getContainer:tt&&function(){return tt(M)},autoDestroy:Pt},L.createElement(P,{prefixCls:Me,open:Te,zIndex:Ae,mask:nt,motion:xt}),L.createElement(re.Z,{onResize:ht,disabled:!Te},function(En){return L.createElement(G.default,(0,z.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:gt,leavedClassName:"".concat(Me,"-hidden")},ft,{onAppearPrepare:de,onEnterPrepare:de,visible:Te,onVisibleChanged:function(Yr){var Lt;ft==null||(Lt=ft.onVisibleChanged)===null||Lt===void 0||Lt.call(ft,Yr),ye(Yr)}}),function(nn,Yr){var Lt=nn.className,It=nn.style,kn=v()(Me,Lt,qe);return L.createElement("div",{ref:(0,Z.sQ)(En,Re,Yr),className:kn,style:(0,c.Z)((0,c.Z)((0,c.Z)((0,c.Z)({"--arrow-x":"".concat(me.x||0,"px"),"--arrow-y":"".concat(me.y||0,"px")},gr),Bt),It),{},{boxSizing:"border-box",zIndex:Ae},U),onMouseEnter:et,onMouseLeave:E,onPointerEnter:D,onClick:Fe,onPointerDownCapture:Ve},se&&L.createElement(W,{prefixCls:Me,arrow:se,arrowPos:me,align:vt}),L.createElement(g,{cache:!Te&&!ae},Q))})}))}),fe=T,Ee=L.forwardRef(function(Xe,Re){var oe=Xe.children,qe=Xe.getTriggerDOMNode,Me=(0,Z.Yr)(oe),U=L.useCallback(function(ye){(0,Z.mH)(Re,qe?qe(ye):ye)},[qe]),M=(0,Z.x1)(U,(0,Z.C4)(oe));return Me?L.cloneElement(oe,{ref:M}):oe}),pe=Ee,Be=L.createContext(null),je=Be;function Le(Xe){return Xe?Array.isArray(Xe)?Xe:[Xe]:[]}function it(Xe,Re,oe,qe){return L.useMemo(function(){var Me=Le(oe!=null?oe:Re),U=Le(qe!=null?qe:Re),M=new Set(Me),ye=new Set(U);return Xe&&(M.has("hover")&&(M.delete("hover"),M.add("click")),ye.has("hover")&&(ye.delete("hover"),ye.add("click"))),[M,ye]},[Xe,Re,oe,qe])}var ce=h(29194);function Y(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],oe=arguments.length>2?arguments[2]:void 0;return oe?Xe[0]===Re[0]:Xe[0]===Re[0]&&Xe[1]===Re[1]}function N(Xe,Re,oe,qe){for(var Me=oe.points,U=Object.keys(Xe),M=0;M<U.length;M+=1){var ye,Te=U[M];if(Y((ye=Xe[Te])===null||ye===void 0?void 0:ye.points,Me,qe))return"".concat(Re,"-placement-").concat(Te)}return""}function ve(Xe,Re,oe,qe){return Re||(oe?{motionName:"".concat(Xe,"-").concat(oe)}:qe?{motionName:qe}:null)}function ue(Xe){return Xe.ownerDocument.defaultView}function we(Xe){for(var Re=[],oe=Xe==null?void 0:Xe.parentElement,qe=["hidden","scroll","clip","auto"];oe;){var Me=ue(oe).getComputedStyle(oe),U=Me.overflowX,M=Me.overflowY,ye=Me.overflow;[U,M,ye].some(function(Te){return qe.includes(Te)})&&Re.push(oe),oe=oe.parentElement}return Re}function _(Xe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Xe)?Re:Xe}function I(Xe){return _(parseFloat(Xe),0)}function he(Xe,Re){var oe=(0,c.Z)({},Xe);return(Re||[]).forEach(function(qe){if(!(qe instanceof HTMLBodyElement||qe instanceof HTMLHtmlElement)){var Me=ue(qe).getComputedStyle(qe),U=Me.overflow,M=Me.overflowClipMargin,ye=Me.borderTopWidth,Te=Me.borderBottomWidth,xe=Me.borderLeftWidth,ae=Me.borderRightWidth,Fe=qe.getBoundingClientRect(),nt=qe.offsetHeight,se=qe.clientHeight,me=qe.offsetWidth,vt=qe.clientWidth,ft=I(ye),xt=I(Te),gt=I(xe),tt=I(ae),Pt=_(Math.round(Fe.width/me*1e3)/1e3),_t=_(Math.round(Fe.height/nt*1e3)/1e3),Ae=(me-vt-gt-tt)*Pt,et=(nt-se-ft-xt)*_t,E=ft*_t,D=xt*_t,Ve=gt*Pt,ne=tt*Pt,q=0,jt=0;if(U==="clip"){var Ue=I(M);q=Ue*Pt,jt=Ue*_t}var st=Fe.x+Ve-q,ht=Fe.y+E-jt,de=st+Fe.width+2*q-Ve-ne-Ae,be=ht+Fe.height+2*jt-E-D-et;oe.left=Math.max(oe.left,st),oe.top=Math.max(oe.top,ht),oe.right=Math.min(oe.right,de),oe.bottom=Math.min(oe.bottom,be)}}),oe}function Ne(Xe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,oe="".concat(Re),qe=oe.match(/^(.*)\%$/);return qe?Xe*(parseFloat(qe[1])/100):parseFloat(oe)}function Qe(Xe,Re){var oe=Re||[],qe=(0,ie.Z)(oe,2),Me=qe[0],U=qe[1];return[Ne(Xe.width,Me),Ne(Xe.height,U)]}function Et(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Xe[0],Xe[1]]}function He(Xe,Re){var oe=Re[0],qe=Re[1],Me,U;return oe==="t"?U=Xe.y:oe==="b"?U=Xe.y+Xe.height:U=Xe.y+Xe.height/2,qe==="l"?Me=Xe.x:qe==="r"?Me=Xe.x+Xe.width:Me=Xe.x+Xe.width/2,{x:Me,y:U}}function Oe(Xe,Re){var oe={t:"b",b:"t",l:"r",r:"l"};return Xe.map(function(qe,Me){return Me===Re?oe[qe]||"c":qe}).join("")}function lt(Xe,Re,oe,qe,Me,U,M){var ye=L.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Me[qe]||{}}),Te=(0,ie.Z)(ye,2),xe=Te[0],ae=Te[1],Fe=L.useRef(0),nt=L.useMemo(function(){return Re?we(Re):[]},[Re]),se=L.useRef({}),me=function(){se.current={}};Xe||me();var vt=(0,C.Z)(function(){if(Re&&oe&&Xe){let Wi=function(Fa,Xr){var ki=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Dn,Ur=Mt.x+Fa,un=Mt.y+Xr,bi=Ur+Wn,ir=un+ii,Oi=Math.max(Ur,ki.left),wn=Math.max(un,ki.top),Cr=Math.min(bi,ki.right),Jr=Math.min(ir,ki.bottom);return Math.max(0,(Cr-Oi)*(Jr-wn))},Ia=function(){Gt=Mt.y+Fr,Zn=Gt+ii,sr=Mt.x+Br,Un=sr+Wn};var gt,tt,Pt,_t,Ae=Re,et=Ae.ownerDocument,E=ue(Ae),D=E.getComputedStyle(Ae),Ve=D.position,ne=Ae.style.left,q=Ae.style.top,jt=Ae.style.right,Ue=Ae.style.bottom,st=Ae.style.overflow,ht=(0,c.Z)((0,c.Z)({},Me[qe]),U),de=et.createElement("div");(gt=Ae.parentElement)===null||gt===void 0||gt.appendChild(de),de.style.left="".concat(Ae.offsetLeft,"px"),de.style.top="".concat(Ae.offsetTop,"px"),de.style.position=Ve,de.style.height="".concat(Ae.offsetHeight,"px"),de.style.width="".concat(Ae.offsetWidth,"px"),Ae.style.left="0",Ae.style.top="0",Ae.style.right="auto",Ae.style.bottom="auto",Ae.style.overflow="hidden";var be;if(Array.isArray(oe))be={x:oe[0],y:oe[1],width:0,height:0};else{var We,Ze,Q=oe.getBoundingClientRect();Q.x=(We=Q.x)!==null&&We!==void 0?We:Q.left,Q.y=(Ze=Q.y)!==null&&Ze!==void 0?Ze:Q.top,be={x:Q.x,y:Q.y,width:Q.width,height:Q.height}}var Mt=Ae.getBoundingClientRect(),_e=E.getComputedStyle(Ae),bt=_e.height,An=_e.width;Mt.x=(tt=Mt.x)!==null&&tt!==void 0?tt:Mt.left,Mt.y=(Pt=Mt.y)!==null&&Pt!==void 0?Pt:Mt.top;var xn=et.documentElement,Er=xn.clientWidth,vr=xn.clientHeight,gr=xn.scrollWidth,Hr=xn.scrollHeight,fi=xn.scrollTop,lr=xn.scrollLeft,ii=Mt.height,Wn=Mt.width,Bt=be.height,En=be.width,nn={left:0,top:0,right:Er,bottom:vr},Yr={left:-lr,top:-fi,right:gr-lr,bottom:Hr-fi},Lt=ht.htmlRegion,It="visible",kn="visibleFirst";Lt!=="scroll"&&Lt!==kn&&(Lt=It);var vn=Lt===kn,In=he(Yr,nt),jn=he(nn,nt),Dn=Lt===It?jn:In,$n=vn?jn:Dn;Ae.style.left="auto",Ae.style.top="auto",Ae.style.right="0",Ae.style.bottom="0";var br=Ae.getBoundingClientRect();Ae.style.left=ne,Ae.style.top=q,Ae.style.right=jt,Ae.style.bottom=Ue,Ae.style.overflow=st,(_t=Ae.parentElement)===null||_t===void 0||_t.removeChild(de);var cr=_(Math.round(Wn/parseFloat(An)*1e3)/1e3),Tn=_(Math.round(ii/parseFloat(bt)*1e3)/1e3);if(cr===0||Tn===0||(0,ee.Sh)(oe)&&!(0,ce.Z)(oe))return;var dr=ht.offset,Pr=ht.targetOffset,hr=Qe(Mt,dr),Dt=(0,ie.Z)(hr,2),kt=Dt[0],pn=Dt[1],an=Qe(be,Pr),cn=(0,ie.Z)(an,2),_n=cn[0],Mn=cn[1];be.x-=_n,be.y-=Mn;var nr=ht.points||[],_r=(0,ie.Z)(nr,2),Nr=_r[0],Ui=_r[1],Ir=Et(Ui),Lr=Et(Nr),xi=He(be,Ir),rt=He(Mt,Lr),Ei=(0,c.Z)({},ht),Br=xi.x-rt.x+kt,Fr=xi.y-rt.y+pn,Ii=Wi(Br,Fr),Bi=Wi(Br,Fr,jn),gi=He(be,["t","l"]),yi=He(Mt,["t","l"]),Mr=He(be,["b","r"]),$r=He(Mt,["b","r"]),Ea=ht.overflow||{},on=Ea.adjustX,ei=Ea.adjustY,Li=Ea.shiftX,Ft=Ea.shiftY,Zt=function(Xr){return typeof Xr=="boolean"?Xr:Xr>=0},Gt,Zn,sr,Un;Ia();var en=Zt(ei),hn=Lr[0]===Ir[0];if(en&&Lr[0]==="t"&&(Zn>$n.bottom||se.current.bt)){var $t=Fr;hn?$t-=ii-Bt:$t=gi.y-$r.y-pn;var Nn=Wi(Br,$t),wr=Wi(Br,$t,jn);Nn>Ii||Nn===Ii&&(!vn||wr>=Bi)?(se.current.bt=!0,Fr=$t,pn=-pn,Ei.points=[Oe(Lr,0),Oe(Ir,0)]):se.current.bt=!1}if(en&&Lr[0]==="b"&&(Gt<$n.top||se.current.tb)){var zr=Fr;hn?zr+=ii-Bt:zr=Mr.y-yi.y-pn;var Xn=Wi(Br,zr),Rr=Wi(Br,zr,jn);Xn>Ii||Xn===Ii&&(!vn||Rr>=Bi)?(se.current.tb=!0,Fr=zr,pn=-pn,Ei.points=[Oe(Lr,0),Oe(Ir,0)]):se.current.tb=!1}var Zr=Zt(on),Gi=Lr[1]===Ir[1];if(Zr&&Lr[1]==="l"&&(Un>$n.right||se.current.rl)){var sa=Br;Gi?sa-=Wn-En:sa=gi.x-$r.x-kt;var ya=Wi(sa,Fr),Ri=Wi(sa,Fr,jn);ya>Ii||ya===Ii&&(!vn||Ri>=Bi)?(se.current.rl=!0,Br=sa,kt=-kt,Ei.points=[Oe(Lr,1),Oe(Ir,1)]):se.current.rl=!1}if(Zr&&Lr[1]==="r"&&(sr<$n.left||se.current.lr)){var Sa=Br;Gi?Sa+=Wn-En:Sa=Mr.x-yi.x-kt;var zi=Wi(Sa,Fr),oa=Wi(Sa,Fr,jn);zi>Ii||zi===Ii&&(!vn||oa>=Bi)?(se.current.lr=!0,Br=Sa,kt=-kt,Ei.points=[Oe(Lr,1),Oe(Ir,1)]):se.current.lr=!1}Ia();var ji=Li===!0?0:Li;typeof ji=="number"&&(sr<jn.left&&(Br-=sr-jn.left-kt,be.x+En<jn.left+ji&&(Br+=be.x-jn.left+En-ji)),Un>jn.right&&(Br-=Un-jn.right-kt,be.x>jn.right-ji&&(Br+=be.x-jn.right+ji)));var ra=Ft===!0?0:Ft;typeof ra=="number"&&(Gt<jn.top&&(Fr-=Gt-jn.top-pn,be.y+Bt<jn.top+ra&&(Fr+=be.y-jn.top+Bt-ra)),Zn>jn.bottom&&(Fr-=Zn-jn.bottom-pn,be.y>jn.bottom-ra&&(Fr+=be.y-jn.bottom+ra)));var Fi=Mt.x+Br,da=Fi+Wn,Kr=Mt.y+Fr,fa=Kr+ii,kr=be.x,_a=kr+En,rr=be.y,or=rr+Bt,ia=Math.max(Fi,kr),Fn=Math.min(da,_a),ba=(ia+Fn)/2,Qr=ba-Fi,xa=Math.max(Kr,rr),Vi=Math.min(fa,or),$i=(xa+Vi)/2,Pn=$i-Kr;M==null||M(Re,Ei);var Tr=br.right-Mt.x-(Br+Mt.width),Sn=br.bottom-Mt.y-(Fr+Mt.height);cr===1&&(Br=Math.floor(Br),Tr=Math.floor(Tr)),Tn===1&&(Fr=Math.floor(Fr),Sn=Math.floor(Sn));var Aa={ready:!0,offsetX:Br/cr,offsetY:Fr/Tn,offsetR:Tr/cr,offsetB:Sn/Tn,arrowX:Qr/cr,arrowY:Pn/Tn,scaleX:cr,scaleY:Tn,align:Ei};ae(Aa)}}),ft=function(){Fe.current+=1;var tt=Fe.current;Promise.resolve().then(function(){Fe.current===tt&&vt()})},xt=function(){ae(function(tt){return(0,c.Z)((0,c.Z)({},tt),{},{ready:!1})})};return(0,x.Z)(xt,[qe]),(0,x.Z)(function(){Xe||xt()},[Xe]),[xe.ready,xe.offsetX,xe.offsetY,xe.offsetR,xe.offsetB,xe.arrowX,xe.arrowY,xe.scaleX,xe.scaleY,xe.align,ft]}var St=h(77654);function ze(Xe,Re,oe,qe,Me){(0,x.Z)(function(){if(Xe&&Re&&oe){let Fe=function(){qe(),Me()};var U=Re,M=oe,ye=we(U),Te=we(M),xe=ue(M),ae=new Set([xe].concat((0,St.Z)(ye),(0,St.Z)(Te)));return ae.forEach(function(nt){nt.addEventListener("scroll",Fe,{passive:!0})}),xe.addEventListener("resize",Fe,{passive:!0}),qe(),function(){ae.forEach(function(nt){nt.removeEventListener("scroll",Fe),xe.removeEventListener("resize",Fe)})}}},[Xe,Re,oe])}var At=h(48736);function ke(Xe,Re,oe,qe,Me,U,M,ye){var Te=L.useRef(Xe);Te.current=Xe;var xe=L.useRef(!1);L.useEffect(function(){if(Re&&qe&&(!Me||U)){var Fe=function(){xe.current=!1},nt=function(Pt){var _t;Te.current&&!M(((_t=Pt.composedPath)===null||_t===void 0||(_t=_t.call(Pt))===null||_t===void 0?void 0:_t[0])||Pt.target)&&!xe.current&&ye(!1)},se=ue(qe);se.addEventListener("pointerdown",Fe,!0),se.addEventListener("mousedown",nt,!0),se.addEventListener("contextmenu",nt,!0);var me=(0,o.A)(oe);if(me&&(me.addEventListener("mousedown",nt,!0),me.addEventListener("contextmenu",nt,!0)),0)var vt,ft,xt,gt;return function(){se.removeEventListener("pointerdown",Fe,!0),se.removeEventListener("mousedown",nt,!0),se.removeEventListener("contextmenu",nt,!0),me&&(me.removeEventListener("mousedown",nt,!0),me.removeEventListener("contextmenu",nt,!0))}}},[Re,oe,qe,Me,U]);function ae(){xe.current=!0}return ae}var Ht=["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 dt(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:le.Z,Re=L.forwardRef(function(oe,qe){var Me=oe.prefixCls,U=Me===void 0?"rc-trigger-popup":Me,M=oe.children,ye=oe.action,Te=ye===void 0?"hover":ye,xe=oe.showAction,ae=oe.hideAction,Fe=oe.popupVisible,nt=oe.defaultPopupVisible,se=oe.onPopupVisibleChange,me=oe.afterPopupVisibleChange,vt=oe.mouseEnterDelay,ft=oe.mouseLeaveDelay,xt=ft===void 0?.1:ft,gt=oe.focusDelay,tt=oe.blurDelay,Pt=oe.mask,_t=oe.maskClosable,Ae=_t===void 0?!0:_t,et=oe.getPopupContainer,E=oe.forceRender,D=oe.autoDestroy,Ve=oe.destroyPopupOnHide,ne=oe.popup,q=oe.popupClassName,jt=oe.popupStyle,Ue=oe.popupPlacement,st=oe.builtinPlacements,ht=st===void 0?{}:st,de=oe.popupAlign,be=oe.zIndex,We=oe.stretch,Ze=oe.getPopupClassNameFromAlign,Q=oe.fresh,Mt=oe.alignPoint,_e=oe.onPopupClick,bt=oe.onPopupAlign,An=oe.arrow,xn=oe.popupMotion,Er=oe.maskMotion,vr=oe.popupTransitionName,gr=oe.popupAnimation,Hr=oe.maskTransitionName,fi=oe.maskAnimation,lr=oe.className,ii=oe.getTriggerDOMNode,Wn=(0,O.Z)(oe,Ht),Bt=D||Ve||!1,En=L.useState(!1),nn=(0,ie.Z)(En,2),Yr=nn[0],Lt=nn[1];(0,x.Z)(function(){Lt((0,A.Z)())},[]);var It=L.useRef({}),kn=L.useContext(je),vn=L.useMemo(function(){return{registerSubPopup:function(Cr,Jr){It.current[Cr]=Jr,kn==null||kn.registerSubPopup(Cr,Jr)}}},[kn]),In=(0,F.Z)(),jn=L.useState(null),Dn=(0,ie.Z)(jn,2),$n=Dn[0],br=Dn[1],cr=L.useRef(null),Tn=(0,C.Z)(function(wn){cr.current=wn,(0,ee.Sh)(wn)&&$n!==wn&&br(wn),kn==null||kn.registerSubPopup(In,wn)}),dr=L.useState(null),Pr=(0,ie.Z)(dr,2),hr=Pr[0],Dt=Pr[1],kt=L.useRef(null),pn=(0,C.Z)(function(wn){(0,ee.Sh)(wn)&&hr!==wn&&(Dt(wn),kt.current=wn)}),an=L.Children.only(M),cn=(an==null?void 0:an.props)||{},_n={},Mn=(0,C.Z)(function(wn){var Cr,Jr,hi=hr;return(hi==null?void 0:hi.contains(wn))||((Cr=(0,o.A)(hi))===null||Cr===void 0?void 0:Cr.host)===wn||wn===hi||($n==null?void 0:$n.contains(wn))||((Jr=(0,o.A)($n))===null||Jr===void 0?void 0:Jr.host)===wn||wn===$n||Object.values(It.current).some(function(Qi){return(Qi==null?void 0:Qi.contains(wn))||wn===Qi})}),nr=ve(U,xn,gr,vr),_r=ve(U,Er,fi,Hr),Nr=L.useState(nt||!1),Ui=(0,ie.Z)(Nr,2),Ir=Ui[0],Lr=Ui[1],xi=Fe!=null?Fe:Ir,rt=(0,C.Z)(function(wn){Fe===void 0&&Lr(wn)});(0,x.Z)(function(){Lr(Fe||!1)},[Fe]);var Ei=L.useRef(xi);Ei.current=xi;var Br=L.useRef([]);Br.current=[];var Fr=(0,C.Z)(function(wn){var Cr;rt(wn),((Cr=Br.current[Br.current.length-1])!==null&&Cr!==void 0?Cr:xi)!==wn&&(Br.current.push(wn),se==null||se(wn))}),Ii=L.useRef(),Bi=function(){clearTimeout(Ii.current)},gi=function(Cr){var Jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Bi(),Jr===0?Fr(Cr):Ii.current=setTimeout(function(){Fr(Cr)},Jr*1e3)};L.useEffect(function(){return Bi},[]);var yi=L.useState(!1),Mr=(0,ie.Z)(yi,2),$r=Mr[0],Ea=Mr[1];(0,x.Z)(function(wn){(!wn||xi)&&Ea(!0)},[xi]);var on=L.useState(null),ei=(0,ie.Z)(on,2),Li=ei[0],Ft=ei[1],Zt=L.useState(null),Gt=(0,ie.Z)(Zt,2),Zn=Gt[0],sr=Gt[1],Un=function(Cr){sr([Cr.clientX,Cr.clientY])},en=lt(xi,$n,Mt&&Zn!==null?Zn:hr,Ue,ht,de,bt),hn=(0,ie.Z)(en,11),$t=hn[0],Nn=hn[1],wr=hn[2],zr=hn[3],Xn=hn[4],Rr=hn[5],Zr=hn[6],Gi=hn[7],sa=hn[8],ya=hn[9],Ri=hn[10],Sa=it(Yr,Te,xe,ae),zi=(0,ie.Z)(Sa,2),oa=zi[0],ji=zi[1],ra=oa.has("click"),Fi=ji.has("click")||ji.has("contextMenu"),da=(0,C.Z)(function(){$r||Ri()}),Kr=function(){Ei.current&&Mt&&Fi&&gi(!1)};ze(xi,hr,$n,da,Kr),(0,x.Z)(function(){da()},[Zn,Ue]),(0,x.Z)(function(){xi&&!(ht!=null&&ht[Ue])&&da()},[JSON.stringify(de)]);var fa=L.useMemo(function(){var wn=N(ht,U,ya,Mt);return v()(wn,Ze==null?void 0:Ze(ya))},[ya,Ze,ht,U,Mt]);L.useImperativeHandle(qe,function(){return{nativeElement:kt.current,popupElement:cr.current,forceAlign:da}});var kr=L.useState(0),_a=(0,ie.Z)(kr,2),rr=_a[0],or=_a[1],ia=L.useState(0),Fn=(0,ie.Z)(ia,2),ba=Fn[0],Qr=Fn[1],xa=function(){if(We&&hr){var Cr=hr.getBoundingClientRect();or(Cr.width),Qr(Cr.height)}},Vi=function(){xa(),da()},$i=function(Cr){Ea(!1),Ri(),me==null||me(Cr)},Pn=function(){return new Promise(function(Cr){xa(),Ft(function(){return Cr})})};(0,x.Z)(function(){Li&&(Ri(),Li(),Ft(null))},[Li]);function Tr(wn,Cr,Jr,hi){_n[wn]=function(Qi){var ss;hi==null||hi(Qi),gi(Cr,Jr);for(var ar=arguments.length,jr=new Array(ar>1?ar-1:0),Ta=1;Ta<ar;Ta++)jr[Ta-1]=arguments[Ta];(ss=cn[wn])===null||ss===void 0||ss.call.apply(ss,[cn,Qi].concat(jr))}}(ra||Fi)&&(_n.onClick=function(wn){var Cr;Ei.current&&Fi?gi(!1):!Ei.current&&ra&&(Un(wn),gi(!0));for(var Jr=arguments.length,hi=new Array(Jr>1?Jr-1:0),Qi=1;Qi<Jr;Qi++)hi[Qi-1]=arguments[Qi];(Cr=cn.onClick)===null||Cr===void 0||Cr.call.apply(Cr,[cn,wn].concat(hi))});var Sn=ke(xi,Fi,hr,$n,Pt,Ae,Mn,gi),Aa=oa.has("hover"),Wi=ji.has("hover"),Ia,Fa;Aa&&(Tr("onMouseEnter",!0,vt,function(wn){Un(wn)}),Tr("onPointerEnter",!0,vt,function(wn){Un(wn)}),Ia=function(Cr){(xi||$r)&&$n!==null&&$n!==void 0&&$n.contains(Cr.target)&&gi(!0,vt)},Mt&&(_n.onMouseMove=function(wn){var Cr;(Cr=cn.onMouseMove)===null||Cr===void 0||Cr.call(cn,wn)})),Wi&&(Tr("onMouseLeave",!1,xt),Tr("onPointerLeave",!1,xt),Fa=function(){gi(!1,xt)}),oa.has("focus")&&Tr("onFocus",!0,gt),ji.has("focus")&&Tr("onBlur",!1,tt),oa.has("contextMenu")&&(_n.onContextMenu=function(wn){var Cr;Ei.current&&ji.has("contextMenu")?gi(!1):(Un(wn),gi(!0)),wn.preventDefault();for(var Jr=arguments.length,hi=new Array(Jr>1?Jr-1:0),Qi=1;Qi<Jr;Qi++)hi[Qi-1]=arguments[Qi];(Cr=cn.onContextMenu)===null||Cr===void 0||Cr.call.apply(Cr,[cn,wn].concat(hi))}),lr&&(_n.className=v()(cn.className,lr));var Xr=L.useRef(!1);Xr.current||(Xr.current=E||xi||$r);var ki=(0,c.Z)((0,c.Z)({},cn),_n),Ur={},un=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];un.forEach(function(wn){Wn[wn]&&(Ur[wn]=function(){for(var Cr,Jr=arguments.length,hi=new Array(Jr),Qi=0;Qi<Jr;Qi++)hi[Qi]=arguments[Qi];(Cr=ki[wn])===null||Cr===void 0||Cr.call.apply(Cr,[ki].concat(hi)),Wn[wn].apply(Wn,hi)})});var bi=L.cloneElement(an,(0,c.Z)((0,c.Z)({},ki),Ur)),ir={x:Rr,y:Zr},Oi=An?(0,c.Z)({},An!==!0?An:{}):null;return L.createElement(L.Fragment,null,L.createElement(re.Z,{disabled:!xi,ref:pn,onResize:Vi},L.createElement(pe,{getTriggerDOMNode:ii},bi)),Xr.current&&L.createElement(je.Provider,{value:vn},L.createElement(fe,{portal:Xe,ref:Tn,prefixCls:U,popup:ne,className:v()(q,fa),style:jt,target:hr,onMouseEnter:Ia,onMouseLeave:Fa,onPointerEnter:Ia,zIndex:be,open:xi,keepDom:$r,fresh:Q,onClick:_e,onPointerDownCapture:Sn,mask:Pt,motion:nr,maskMotion:_r,onVisibleChanged:$i,onPrepare:Pn,forceRender:E,autoDestroy:Bt,getPopupContainer:et,align:ya,arrow:Oi,arrowPos:ir,ready:$t,offsetX:Nn,offsetY:wr,offsetR:zr,offsetB:Xn,onAlign:da,stretch:We,targetWidth:rr/Gi,targetHeight:ba/sa})))});return Re}var ct=dt(le.Z)},46214:function(){"use strict"},34993:function(On,at,h){"use strict";var c=h(59301),ie=Object.defineProperty,O=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,v=(o,C,F)=>C in o?ie(o,C,{enumerable:!0,configurable:!0,writable:!0,value:F}):o[C]=F,re=(o,C)=>{for(var F in C||(C={}))le.call(C,F)&&v(o,F,C[F]);if(O)for(var F of O(C))j.call(C,F)&&v(o,F,C[F]);return o};const ee=o=>React.createElement("svg",re({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},o),React.createElement("path",{fill:"#F7B500",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm1 3H6.395a3.501 3.501 0 0 1-.857 1.245c-.32.294-.752.551-1.297.772L4 9.109V10.9c.448-.154.82-.315 1.117-.483.222-.126.45-.282.685-.466l.236-.194V15H8V7ZM4.812 0c.175 0 .35.16.438.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.663 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));at.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0Y3QjUwMCIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptMSAzSDYuMzk1YTMuNTAxIDMuNTAxIDAgMCAxLS44NTcgMS4yNDVjLS4zMi4yOTQtLjc1Mi41NTEtMS4yOTcuNzcyTDQgOS4xMDlWMTAuOWMuNDQ4LS4xNTQuODItLjMxNSAxLjExNy0uNDgzLjIyMi0uMTI2LjQ1LS4yODIuNjg1LS40NjZsLjIzNi0uMTk0VjE1SDhWN1pNNC44MTIgMGMuMTc1IDAgLjM1LjE2LjQzOC4zMThsMS4zMTMgMi4zMDlzLTIuOC4xNi00LjQ2MyAxLjY3MkwuMDg4LjcxNkMwIC42MzYgMCAuNTU3IDAgLjQ3OCAwIC4xNTkuMjYzIDAgLjUyNSAwWm04LjY2MyAwYy4yNjMgMCAuNTI1LjIzOS41MjUuNDc4IDAgLjA4IDAgLjE1OS0uMDg4LjIzOEwxMS45IDQuMjJjLTEuNjYyLTEuNDMzLTQuNDYzLTEuNTkyLTQuNDYzLTEuNTkyTDguNzUuMzE4QzguNzUuMTYgOC45MjUgMCA5LjE4OCAwWiIvPjwvc3ZnPg=="},95366:function(On,at,h){"use strict";var c=h(59301),ie=Object.defineProperty,O=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,v=(o,C,F)=>C in o?ie(o,C,{enumerable:!0,configurable:!0,writable:!0,value:F}):o[C]=F,re=(o,C)=>{for(var F in C||(C={}))le.call(C,F)&&v(o,F,C[F]);if(O)for(var F of O(C))j.call(C,F)&&v(o,F,C[F]);return o};const ee=o=>React.createElement("svg",re({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},o),React.createElement("path",{fill:"#B9C4CF",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm.05 3c-.675 0-1.203.092-1.584.276a2.056 2.056 0 0 0-.887.794c-.18.296-.31.691-.394 1.186l-.038.255 2.004.177c.055-.443.164-.753.326-.928a.814.814 0 0 1 .626-.263.81.81 0 0 1 .611.255c.162.17.243.375.243.614 0 .222-.081.456-.245.703-.164.247-.539.608-1.124 1.084-.96.776-1.613 1.45-1.962 2.02a4.363 4.363 0 0 0-.588 1.552L4 15h6v-1.781H6.877c.184-.197.343-.356.479-.478.136-.122.405-.334.808-.638.677-.523 1.145-1.002 1.401-1.438.257-.437.386-.895.386-1.374 0-.45-.112-.858-.336-1.22a2.043 2.043 0 0 0-.924-.808C8.301 7.088 7.753 7 7.05 7ZM4.812 0c.175 0 .35.16.437.318l1.313 2.309s-2.8.16-4.463 1.672L.088.716C0 .636 0 .557 0 .478 0 .159.263 0 .525 0Zm8.662 0c.263 0 .525.239.525.478 0 .08 0 .159-.088.238L11.9 4.22c-1.662-1.433-4.463-1.592-4.463-1.592L8.75.318C8.75.16 8.925 0 9.188 0Z"}));at.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0I5QzRDRiIgZD0iTTcgNGMzLjg5OSAwIDcgMy4xNDEgNyA3cy0zLjEwMSA3LTcgNy03LTMuMTQxLTctNyAzLjEwMS03IDctN1ptLjA1IDNjLS42NzUgMC0xLjIwMy4wOTItMS41ODQuMjc2YTIuMDU2IDIuMDU2IDAgMCAwLS44ODcuNzk0Yy0uMTguMjk2LS4zMS42OTEtLjM5NCAxLjE4NmwtLjAzOC4yNTUgMi4wMDQuMTc3Yy4wNTUtLjQ0My4xNjQtLjc1My4zMjYtLjkyOGEuODE0LjgxNCAwIDAgMSAuNjI2LS4yNjMuODEuODEgMCAwIDEgLjYxMS4yNTVjLjE2Mi4xNy4yNDMuMzc1LjI0My42MTQgMCAuMjIyLS4wODEuNDU2LS4yNDUuNzAzLS4xNjQuMjQ3LS41MzkuNjA4LTEuMTI0IDEuMDg0LS45Ni43NzYtMS42MTMgMS40NS0xLjk2MiAyLjAyYTQuMzYzIDQuMzYzIDAgMCAwLS41ODggMS41NTJMNCAxNWg2di0xLjc4MUg2Ljg3N2MuMTg0LS4xOTcuMzQzLS4zNTYuNDc5LS40NzguMTM2LS4xMjIuNDA1LS4zMzQuODA4LS42MzguNjc3LS41MjMgMS4xNDUtMS4wMDIgMS40MDEtMS40MzguMjU3LS40MzcuMzg2LS44OTUuMzg2LTEuMzc0IDAtLjQ1LS4xMTItLjg1OC0uMzM2LTEuMjJhMi4wNDMgMi4wNDMgMCAwIDAtLjkyNC0uODA4QzguMzAxIDcuMDg4IDcuNzUzIDcgNy4wNSA3Wk00LjgxMiAwYy4xNzUgMCAuMzUuMTYuNDM3LjMxOGwxLjMxMyAyLjMwOXMtMi44LjE2LTQuNDYzIDEuNjcyTC4wODguNzE2QzAgLjYzNiAwIC41NTcgMCAuNDc4IDAgLjE1OS4yNjMgMCAuNTI1IDBabTguNjYyIDBjLjI2MyAwIC41MjUuMjM5LjUyNS40NzggMCAuMDggMCAuMTU5LS4wODguMjM4TDExLjkgNC4yMmMtMS42NjItMS40MzMtNC40NjMtMS41OTItNC40NjMtMS41OTJMOC43NS4zMThDOC43NS4xNiA4LjkyNSAwIDkuMTg4IDBaIi8+PC9zdmc+"},33194:function(On,at,h){"use strict";var c=h(59301),ie=Object.defineProperty,O=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,v=(o,C,F)=>C in o?ie(o,C,{enumerable:!0,configurable:!0,writable:!0,value:F}):o[C]=F,re=(o,C)=>{for(var F in C||(C={}))le.call(C,F)&&v(o,F,C[F]);if(O)for(var F of O(C))j.call(C,F)&&v(o,F,C[F]);return o};const ee=o=>React.createElement("svg",re({xmlns:"http://www.w3.org/2000/svg",width:14,height:18},o),React.createElement("path",{fill:"#D09F18",d:"M7 4c3.899 0 7 3.141 7 7s-3.101 7-7 7-7-3.141-7-7 3.101-7 7-7Zm-.062 3c-.826 0-1.464.172-1.915.517-.4.307-.686.733-.856 1.278l-.058.21 1.908.364c.052-.383.153-.651.302-.804a.772.772 0 0 1 .58-.23c.23 0 .412.07.544.211.133.14.199.33.199.565a.88.88 0 0 1-.265.638.89.89 0 0 1-.662.27 1.35 1.35 0 0 1-.158-.012l-.104-.015-.105 1.536c.278-.085.496-.127.654-.127.298 0 .533.099.707.296.173.197.26.475.26.833 0 .352-.09.634-.27.845a.852.852 0 0 1-.677.316.862.862 0 0 1-.636-.25c-.143-.144-.254-.384-.333-.723l-.036-.177L4 12.826c.132.482.321.882.567 1.2.246.319.56.56.942.726.381.165.902.248 1.563.248.677 0 1.224-.112 1.64-.335.416-.223.735-.542.956-.955.221-.414.332-.845.332-1.296 0-.359-.067-.667-.2-.926a1.633 1.633 0 0 0-.563-.625c-.149-.099-.363-.185-.644-.259.347-.204.606-.441.778-.712a1.66 1.66 0 0 0 .257-.908 1.82 1.82 0 0 0-.634-1.42C8.571 7.189 7.886 7 6.938 7ZM4.813 0c.175 0 .35.17.437.338l1.313 2.453s-2.8.17-4.463 1.776L.088.761C0 .677 0 .592 0 .507 0 .17.263 0 .525 0Zm8.662 0c.263 0 .525.254.525.507 0 .085 0 .17-.088.254L11.9 4.483C10.238 2.96 7.437 2.79 7.437 2.79L8.75.338C8.75.17 8.925 0 9.188 0Z"}));at.Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxOCI+PHBhdGggZmlsbD0iI0QwOUYxOCIgZD0iTTcgNGMzLjg5OSAwIDc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AgMCAuMjU3LS45MDggMS44MiAxLjgyIDAgMCAwLS42MzQtMS40MkM4LjU3MSA3LjE4OSA3Ljg4NiA3IDYuOTM4IDdaTTQuODEzIDBjLjE3NSAwIC4zNS4xNy40MzcuMzM4bDEuMzEzIDIuNDUzcy0yLjguMTctNC40NjMgMS43NzZMLjA4OC43NjFDMCAuNjc3IDAgLjU5MiAwIC41MDcgMCAuMTcuMjYzIDAgLjUyNSAwWm04LjY2MiAwYy4yNjMgMCAuNTI1LjI1NC41MjUuNTA3IDAgLjA4NSAwIC4xNy0uMDg4LjI1NEwxMS45IDQuNDgzQzEwLjIzOCAyLjk2IDcuNDM3IDIuNzkgNy40MzcgMi43OUw4Ljc1LjMzOEM4Ljc1LjE3IDguOTI1IDAgOS4xODggMFoiLz48L3N2Zz4="},90736:function(On,at,h){"use strict";var c=h(59301),ie=h(4977),O=h(7939),le=Object.defineProperty,j=Object.defineProperties,v=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,C=(L,z,G)=>z in L?le(L,z,{enumerable:!0,configurable:!0,writable:!0,value:G}):L[z]=G,F=(L,z)=>{for(var G in z||(z={}))ee.call(z,G)&&C(L,G,z[G]);if(re)for(var G of re(z))o.call(z,G)&&C(L,G,z[G]);return L},x=(L,z)=>j(L,v(z));const A=({img:L,buttonProps:z={},styles:G={},customText:Z,ButtonText:W,ButtonClick:P,Buttonclass:K,ButtonTwo:g,imgStyles:T,loading:fe=!1,className:Ee=""})=>c.createElement("section",{className:`tc animated fadeIn ${Ee}`,style:F({color:"#999",margin:"100px auto",visibility:fe?"hidden":"visible"},G)},c.createElement("img",{src:L||ie,style:x(F({},T),{pointerEvents:"none",userSelect:"none"})}),c.createElement("p",{className:"mt20 font14"},Z||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),W&&c.createElement(O.ZP,F({className:K,onClick:P},z),W),g&&g);at.Z=A},86974:function(On,at,h){"use strict";h.d(at,{Z:function(){return K}});var c=h(59301),ie={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},O=h(7939),le=h(70557),j=h(34728),v=h(25399),re=h(76406),ee=h(84849),o=h(90736),C=h(14185),F=h(52078),x=h(59301),A=Object.defineProperty,L=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable,Z=(g,T,fe)=>T in g?A(g,T,{enumerable:!0,configurable:!0,writable:!0,value:fe}):g[T]=fe,W=(g,T)=>{for(var fe in T||(T={}))z.call(T,fe)&&Z(g,fe,T[fe]);if(L)for(var fe of L(T))G.call(T,fe)&&Z(g,fe,T[fe]);return g},P=(g,T,fe)=>new Promise((Ee,pe)=>{var Be=it=>{try{Le(fe.next(it))}catch(ce){pe(ce)}},je=it=>{try{Le(fe.throw(it))}catch(ce){pe(ce)}},Le=it=>it.done?Ee(it.value):Promise.resolve(it.value).then(Be,je);Le((fe=fe.apply(g,T)).next())}),K=({editOffice:g="view",data:T,issaver:fe,onSaver:Ee,theme:pe,type:Be,filename:je,monacoEditor:Le,className:it,style:ce,close:Y,onClose:N,hasMask:ve,disabledDownload:ue,onImgDimensions:we,showNodata:_,recordInfo:I})=>{const[he,Ne]=(0,c.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Qe,Et]=(0,c.useState)(""),[He,Oe]=(0,c.useState)(),lt=window.ENV==="build"?"/react/build":"",St=location.host.startsWith("localhost")?C.Z.PROXY_SERVER:C.Z.API_SERVER,At=10*(1024*1024),ke=(0,c.useRef)();T!=null&&T.startsWith("/api")&&Be!=="txt"&&(T=C.Z.API_SERVER+T);const Ht=qe=>qe.substring(qe.lastIndexOf("/")+1).split(".").pop();je&&Le&&(Le.filename=je),(0,c.useEffect)(()=>{var qe,Me;const U=(Me=(qe=document.cookie)==null?void 0:qe.replace(/\s/g,""))==null?void 0:Me.split(";");U==null||U.map(M=>{let ye=M.split("=");ye[0]==="_educoder_session"&&Et(ye[1])})},[]),(0,c.useEffect)(()=>{Be==="office"&&(T.indexOf("bigfilescdn.")>-1||T.indexOf("bigfiles1")>-1?Oe({url:T,fileType:Ht(T),model:T.indexOf("model=edit")?"edit":"view"}):T.indexOf("coze")>-1?Oe({url:T,fileType:"doc",model:"view"}):ct())},[Be,T]);function dt(qe){return P(this,null,function*(){qe.data.type==="pdfdata"&&(Ee(qe.data.data),window.removeEventListener("message",dt,!1)),console.log("mess---:",qe.data)})}const ct=()=>P(void 0,null,function*(){console.log("data:",T);let qe=T;T.startsWith("http")||(qe=location.origin+qe);let Me=new URL(qe).pathname.split("/").pop();const U=yield(0,ee.gJ)({attachment_id:Me});U.url=St+U.url,Oe(U)}),Xe=()=>{if(T.startsWith("http")||T.startsWith("blob:")){Re();return}(0,re.Sv)(je||"educoder",T,je)},Re=()=>{I&&(0,F.fc)({id:I==null?void 0:I.id,watch_type:1,course_id:I==null?void 0:I.course_id}),(0,re.Nd)(je||"educoder",decodeURIComponent(T))};(0,c.useEffect)(()=>(window.addEventListener("message",oe),()=>{window.removeEventListener("message",oe)}),[]);const oe=qe=>{var Me;((Me=qe==null?void 0:qe.data)==null?void 0:Me.type)==="closePop"&&N()};return x.createElement("div",{style:W({},ce||{}),className:`${ve&&ie.bgBlack} ${Be?ie.wrp:"hide"}`},!!Be&&Y&&x.createElement("div",{id:"closePop",className:ie.close,ref:ke},!!we&&x.createElement(v.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ke.current},x.createElement("span",{onClick:()=>{N(),we()}},x.createElement("i",{className:"icon-yulanpizhu"}))),!ue&&window.parent===window&&x.createElement(v.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ke.current},x.createElement("span",{onClick:Re},x.createElement("i",{className:"icon-quxiaozhiding"}))),fe&&x.createElement(v.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>ke.current},x.createElement("span",{className:"",onClick:()=>{const qe=document.getElementById("pdfiframe");window.addEventListener("message",dt,!1),setTimeout(()=>{qe.contentWindow.postMessage("getData","*")},300)}},x.createElement("i",{className:"icon-baocun"}))),x.createElement(v.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ke.current},x.createElement("span",{className:"",onClick:()=>{N()}},x.createElement("i",{className:"icon-guanbi1"})))),x.createElement("div",{className:`${ie[it]} ${it} ${ie.monaco} ${Be==="txt"?"show":"hide"}`},Be==="txt"&&x.createElement(x.Fragment,null,x.createElement(j.ZP,W({},Le)))),Be==="audio"&&x.createElement("audio",{controls:!0,src:`${(T==null?void 0:T.indexOf("http://"))>-1||(T==null?void 0:T.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${T}`,autoPlay:!0}),Be==="video"&&x.createElement(x.Fragment,null,(T==null?void 0:T.indexOf("http"))>-1?x.createElement("video",{controls:!0,src:`${T}`,autoPlay:!0}):x.createElement("video",{controls:!0,src:`data:video/mp4;base64,${T}`,autoPlay:!0})),Be==="office"&&He&&x.createElement("iframe",{src:`${lt}/office.html?key=${He.key}&url=${btoa(He.url)}&callbackUrl=${St+(He.callbackUrl||"")}&fileType=${He.fileType}&title=${He.title||""}&model=${g}&officeServer=${C.Z.ONLYOFFICE}&disabledDownload=${!!ue}`}),Be==="html"&&x.createElement("iframe",{src:T+"&disposition=inline"}),Be==="pdf"&&x.createElement("iframe",{id:"pdfiframe",src:`${lt}/js/pdf/index.html?filename=${je||"educoder.pdf"}&url=${encodeURIComponent(T)}&disabledDownload=${!!ue}&model=${g}`}),Be==="image"&&x.createElement("img",{src:`${(T==null?void 0:T.indexOf("http://"))>-1||(T==null?void 0:T.indexOf("https://"))>-1?"":"data:image/png;base64,"}${T}`}),(Be==="other"||Be==="download")&&x.createElement(x.Fragment,null,_?x.createElement(o.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:x.createElement(O.ZP,{icon:x.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Xe,disabled:ue},"\u4E0B\u8F7D")}):x.createElement(O.ZP,{type:"primary",size:"middle",onClick:Xe,disabled:ue},x.createElement(le.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Be==="flowChart"&&x.createElement("div",{className:"embed"},x.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${T||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(On,at,h){"use strict";h.d(at,{z:function(){return Le},Z:function(){return it}});var c=h(59301),ie=h(46214),O=h(20047),le=h(64018),j=h(16471),v=h(14185),re=h(76406),ee=h(15342),o=h(44104),C=h(7939),F=h(1012),x=h(86974),A=h(59301),z=({html:ce})=>{const Y=(0,c.useRef)(null),N=(0,c.useRef)(null),ve=`.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 56px !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,c.useEffect)(()=>{const ue=Y.current.attachShadow({mode:"open"});N.current=document.createElement("div"),N.current.className="markdown-body",N.current.innerHTML=ce,ue.appendChild(N.current);const we=document.createElement("style");return we.textContent=ve,ue.appendChild(we),()=>{ue.innerHTML=""}},[]),(0,c.useEffect)(()=>{N.current&&(N.current.innerHTML=ce)},[ce]),A.createElement("div",{ref:Y})};function G(ce){const Y=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],N=new RegExp(`\\b(${Y.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),ve=/<meta\s+http-equiv\s*=\s*["']?refresh["']?[^>]*>/gi;return ce.replace(N,"").replace(ve,"").trim()}var Z={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},W=Object.defineProperty,P=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,T=(ce,Y,N)=>Y in ce?W(ce,Y,{enumerable:!0,configurable:!0,writable:!0,value:N}):ce[Y]=N,fe=(ce,Y)=>{for(var N in Y||(Y={}))K.call(Y,N)&&T(ce,N,Y[N]);if(P)for(var N of P(Y))g.call(Y,N)&&T(ce,N,Y[N]);return ce};const Ee="@\u2581\u2581@",pe="@\u2581@",Be=/<pre[^>]*>/g;function je(ce){let Y=document.createElement("div");return Y.innerHTML=ce,Y.childNodes.length===0?"":Y.childNodes[0].nodeValue}const Le=(ce,Y)=>{ce=ce||"";const N=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ve=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ue=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,we=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Y?ce.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(N,(_,I,he,Ne,Qe,Et,He)=>{const Oe=I||Ne||Et,lt=he||Qe||He||"?";return v.Z.API_SERVER+"/api/attachments/"+Oe+lt+"&t="+(0,re.Jn)(Oe,Date.now())+(_.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ce=ce.replace(we,(_,I,he,Ne,Qe,Et,He)=>{const Oe=I||Ne||Et,lt=he||Qe||He||"?";return v.Z.API_SERVER+"/attachments/download/"+Oe+lt+"&t="+(0,re.Jn)(Oe,Date.now())+(_.indexOf(")")>-1?")":"&")}).replace(N,(_,I,he,Ne,Qe,Et,He)=>{const Oe=I||Ne||Et,lt=he||Qe||He||"?";return v.Z.API_SERVER+"/api/attachments/"+Oe+lt+"&t="+(0,re.Jn)(Oe,Date.now())+(_.indexOf(")")>-1?")":"&")}).replace(ve,(_,I,he,Ne,Qe)=>{const Et=I||Ne,He=he||Qe||"";return'"'+v.Z.API_SERVER+"/api/attachments/"+Et+He+Et+He+"&t="+(0,re.Jn)(Et,Date.now())}).replace(ue,(_,I,he,Ne,Qe)=>{const Et=I||Ne,He=he||Qe||"";return"("+v.Z.API_SERVER+"/files/uploads/"+Et+He+Et+He+"&t="+(0,re.Jn)(Et,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,`
|
|
`),ce)};var it=({value:ce="",edit:Y=!1,className:N,showTextOnly:ve,showLines:ue,style:we={},stylesPrev:_={},highlightKeywords:I,showProgramFill:he,isProgramFill:Ne,disabledFill:Qe=!1,programFillValue:Et,openEditor:He=()=>{},onFillChange:Oe=ze=>{},onFillBlur:lt=()=>{},onFillFocus:St=()=>{}})=>{let ze=G(String(ce||""));const At=(0,c.useRef)(),ke=(0,c.useRef)(),[Ht,dt]=(0,c.useState)(""),[ct,Xe]=(0,c.useState)("office"),[Re,oe]=(0,c.useState)([]),qe=(0,c.useRef)("a"+(0,F.Z)()),Me={},U=tt=>/<style[\s\S]*?>/i.test(tt||""),M=(tt,Pt,_t)=>{const Ae=document.createElement(tt===pe?"input":"textarea");Ae.style.width="100%",Ae.style.height=tt===pe?"40px":"151px",Ae.rows=5,Ae.spellcheck=!1,Ae.name="edu-program-fill",Ae.placeholder="\u8BF7\u8F93\u5165",Ae.dataset.id=Pt;const et=Object.keys(Me).length;return Me[et]=Ae,`<span class="edu-program-fill-wrap ${tt===pe?"":"show"}" style="width:${tt===pe?"600px":"100%"}" title=${_t||""}><span>${Ae.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function ye(tt){return tt=tt.replace(/!\[.*?\]\(.*?\)/g,""),tt=tt.replace(/\[.*?\]\(.*?\)/g,""),tt=tt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),tt=tt.replace(/<embed.*?>/g,""),tt=tt.replace(/<img.*?>/g,""),tt=tt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),tt=tt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),tt=tt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),tt=tt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),tt}const Te=tt=>!ve&&U(ze)?tt:tt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Pt,_t){let Ae=_t.replace(/(\n|\r)/g,"").split("}"),et=[];return Ae.map(E=>{E!=""&&et.push(`.${qe.current} ${E}`)}),`<style>${et.join("}")}</style>`}),xe=(0,c.useMemo)(()=>{(0,O.Iy)();try{const Ae=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,et=/\"\/api\/attachments\/|\"\/attachments\/download\//g,E=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,D=/\(\/attachments\/download\//g;ze=ze.replace(D,"("+v.Z.API_SERVER+"/attachments/download/").replace(Ae,"("+v.Z.API_SERVER+"/api/attachments/").replace(et,'"'+v.Z.API_SERVER+"/api/attachments/").replace(E,'"'+v.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,`
|
|
`),At.current.style.display="none"}catch(Ae){}if(he){let Ae=-1;return ze=ze.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(et,E,D){var Ve;return++Ae,M(et,Ae,(Ve=Et==null?void 0:Et[Ae])==null?void 0:Ve.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Te(ze||"")}</pre>`}let tt=Te(ze);tt=(0,O.ZP)(tt);const Pt=(0,O.ez)();ze.match(/\[TOC\]/)&&(tt=tt.replace("<p>[TOC]</p>",(0,O.Qv)()),(0,O.Iy)()),tt=tt.replace(/(__special_katext_id_\d+__)/g,(Ae,et)=>{const{type:E,expression:D}=Pt[et];return(0,ee.renderToString)(je(D)||"",{displayMode:E==="block",throwOnError:!1,output:"html"})}),tt=tt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,O.AL)();const _t=document.createElement("div");if(_t.innerHTML=tt,ve)return _t.innerText;if(I){const Ae=I.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return se(_t,Ae),_t.innerHTML}return setTimeout(()=>ft(),500),_t.innerHTML},[ze,I]);(0,c.useEffect)(()=>{me.current&&me.current.querySelectorAll(["input","textarea"]).forEach(Pt=>{Pt.oninput=ae,Pt.onblur=Fe,Pt.onfocus=nt})},[Re]),(0,c.useEffect)(()=>{var tt,Pt,_t,Ae,et;if(Et!=null&&Et.length)try{const E=me.current.querySelectorAll(".edu-program-fill-score"),D=me.current.querySelectorAll('[name="edu-program-fill"]');for(const[Ve,ne]of D.entries())ne.value=((tt=Et==null?void 0:Et[Ve])==null?void 0:tt.value)||"",((Pt=Et==null?void 0:Et[Ve])==null?void 0:Pt.type)==="warning"?ne.className="program-fill-warning":((_t=Et==null?void 0:Et[Ve])==null?void 0:_t.type)==="success"?ne.className="program-fill-success":ne.className="";for(const[Ve,ne]of E.entries())ne.innerHTML=(Ae=Et==null?void 0:Et[Ve])!=null&&Ae.score?`${(et=Et==null?void 0:Et[Ve])==null?void 0:et.score}\u5206`:"";oe(Et)}catch(E){console.log(E,"error")}},[Et]);const ae=tt=>{Re[tt.target.dataset.id]=Re[tt.target.dataset.id]||{},Re[tt.target.dataset.id].value=tt.target.value,oe([...Re]),Oe(Re,tt.target.dataset.id)},Fe=tt=>{Re[tt.target.dataset.id]=Re[tt.target.dataset.id]||{},Re[tt.target.dataset.id].value=tt.target.value,oe([...Re]),lt(Re,tt.target.dataset.id)},nt=tt=>{Re[tt.target.dataset.id]=Re[tt.target.dataset.id]||{},Re[tt.target.dataset.id].value=tt.target.value,oe([...Re]),St(Re,tt.target.dataset.id)};function se(tt,Pt){return tt.childNodes.forEach(_t=>{var Ae;if(_t.childNodes.length>0)se(_t,Pt);else if(_t.nodeName!=="IMG")if(_t.innerHTML)_t.innerHTML=(Ae=_t.innerHTML)==null?void 0:Ae.replace(new RegExp(Pt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const et=document.createElement("span");et.innerHTML=_t.textContent.replace(new RegExp(Pt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),_t.replaceWith(et)}})}const me=(0,c.useRef)();O.jb.WebkitLineClamp=ue,ue&&(we=fe(fe({},we),O.jb));function vt(tt){let Pt=tt.target;if(Pt.tagName.toUpperCase()==="A"){let _t=Pt.getAttribute("href");if(_t.indexOf("office")>-1)tt.preventDefault(),dt(_t),Xe("office");else if(_t.indexOf("application/pdf")>-1)tt.preventDefault(),dt(_t),Xe("pdf");else if(_t.indexOf("text/html")>-1)tt.preventDefault(),dt(_t),Xe("html");else if(_t.startsWith("#")){tt.preventDefault();let Ae=document.getElementById(_t.replace("#",""));Ae&&Ae.scrollIntoView(!0)}}}const ft=()=>{var tt;const Pt=(tt=me.current)==null?void 0:tt.querySelectorAll("video");Pt==null||Pt.forEach(_t=>{if(_t.oncontextmenu=()=>!1,_t.src.indexOf(".m3u8")>-1&&!_t.canPlayType("application/vnd.apple.mpegurl")){if(j.ZP.isSupported()){var Ae=new j.ZP;Ae.loadSource(_t.src),Ae.attachMedia(_t)}}})};(0,c.useEffect)(()=>{if(me.current&&xe&&xe.match(Be)&&window.PR.prettyPrint(),me.current)return me.current.addEventListener("click",vt),()=>{var tt;(tt=me.current)==null||tt.removeEventListener("click",vt),(0,O.AL)(),(0,O.Iy)()}},[xe,me.current,vt]);const xt=tt=>{tt.target.nodeName==="IMG"&&tt.target.className.indexOf("draw-flowchart")>-1?(At.current.style.zIndex=1,At.current.style.display="flex",At.current.style.width=tt.target.clientWidth+"px",At.current.style.height=tt.target.clientHeight+"px",At.current.style.top=tt.target.offsetTop+"px",At.current.style.left=tt.target.offsetLeft+"px",tt.target.id&&(ke.current=tt.target.id)):At.current.style.display="none"},gt=()=>{At.current.style.display="none"};return(0,c.useEffect)(()=>{var tt;const Pt=_t=>{_t.preventDefault(),_t.clipboardData.setData("text",window.getSelection().toString())};return(tt=me.current)==null||tt.addEventListener("copy",Pt),()=>{var _t;(_t=me.current)==null||_t.removeEventListener("copy",Pt)}},[me.current]),c.createElement("div",{style:{position:"relative"},onMouseLeave:gt},ve&&c.createElement("div",{ref:me,className:`${Z.mdBody} `},xe),!ve&&!U(xe)&&c.createElement("div",{ref:me,style:fe({},we),onMouseOver:xt,className:`${N||""} ${Qe?"disabled-fill":""} markdown-body ${Z.mdBody} ${qe.current}`,dangerouslySetInnerHTML:{__html:xe}}),!ve&&U(xe)&&c.createElement(z,{html:xe}),c.createElement("div",{ref:At,className:`${Z.button} ${Y?"":Z.previewFlowChart}`},c.createElement(o.Z,null,c.createElement(C.ZP,{onClick:()=>{Y?He(ke.current):(dt(ke.current),Xe("flowChart"))}},Y?"\u7F16\u8F91":"\u9884\u89C8"))),c.createElement(x.Z,{close:!0,data:Ht,type:Ht!=null&&Ht.length?ct:"",style:fe({},_),onClose:()=>dt("")}))}},34728:function(On,at,h){"use strict";h.d(at,{SV:function(){return At},ZP:function(){return ze}});var c=h(59301),ie=h(76374);const O={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"]},le={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"]},j={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(`
|
|
`)}]},v={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(`
|
|
`)}]},re={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 ee=h(53184),o=h.n(ee),C=(ke,Ht,dt)=>new Promise((ct,Xe)=>{var Re=Me=>{try{qe(dt.next(Me))}catch(U){Xe(U)}},oe=Me=>{try{qe(dt.throw(Me))}catch(U){Xe(U)}},qe=Me=>Me.done?ct(Me.value):Promise.resolve(Me.value).then(Re,oe);qe((dt=dt.apply(ke,Ht)).next())});const F={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=(ke,Ht,dt,ct)=>{const Xe=Ht.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:dt.lineNumber,endColumn:dt.column});return Array.from(new Set(Xe.match(/\b\w{2,}\b/g)||[])).map(oe=>({label:oe,kind:ke.languages.CompletionItemKind.Text,insertText:oe,range:ct}))},A=(ke,Ht,dt,ct)=>{ke.languages.registerCompletionItemProvider(Ht,{provideCompletionItems(Xe,Re){const oe=Xe.getWordUntilPosition(Re),qe={startLineNumber:Re.lineNumber,endLineNumber:Re.lineNumber,startColumn:oe.startColumn,endColumn:oe.endColumn},Me=Xe.getLineContent(Re.lineNumber).substring(oe.startColumn-2,oe.endColumn);return{suggestions:[...x(ke,Xe,Re,qe),...dt.map(M=>({label:M,kind:ke.languages.CompletionItemKind.Keyword,documentation:M,insertText:M,insertTextRules:ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:qe})),...ct.map(M=>({label:M.label,kind:ke.languages.CompletionItemKind.Snippet,documentation:M.content,insertText:Me.startsWith("#")?M.content.replace(/#/,""):M.content,insertTextRules:ke.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:qe}))]}}})};var L=ke=>{F.languages.forEach(Ht=>{ke.languages.registerDocumentFormattingEditProvider(Ht,{provideDocumentFormattingEdits(dt){return C(this,null,function*(){const ct=o()(dt.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:dt.getFullModelRange(),text:ct}]})}})}),A(ke,"java",le.keywords,le.quickKey),A(ke,"cpp",j.keywords,j.quickKey),A(ke,"c",O.keywords,[]),A(ke,"python",v.keywords,v.quickKey),A(ke,"scala",re.keywords,re.quickKey)};const z="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var G=Object.defineProperty,Z=(ke,Ht,dt)=>Ht in ke?G(ke,Ht,{enumerable:!0,configurable:!0,writable:!0,value:dt}):ke[Ht]=dt,W=(ke,Ht,dt)=>Z(ke,typeof Ht!="symbol"?Ht+"":Ht,dt);const P=class uc{constructor(Ht,dt,ct){this.placeholder=Ht,this.editor=dt,this.monaco=ct,dt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return uc.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)}};W(P,"ID","editor.widget.placeholderHint");var g=P,T=h(96236),fe=h(6767),Ee=h(25399),pe=h(78267),Be=h(33156),je=h(56102),Le=Object.defineProperty,it=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,Y=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,ue=(ke,Ht,dt)=>Ht in ke?Le(ke,Ht,{enumerable:!0,configurable:!0,writable:!0,value:dt}):ke[Ht]=dt,we=(ke,Ht)=>{for(var dt in Ht||(Ht={}))N.call(Ht,dt)&&ue(ke,dt,Ht[dt]);if(Y)for(var dt of Y(Ht))ve.call(Ht,dt)&&ue(ke,dt,Ht[dt]);return ke},_=(ke,Ht)=>it(ke,ce(Ht)),I=(ke,Ht)=>{var dt={};for(var ct in ke)N.call(ke,ct)&&Ht.indexOf(ct)<0&&(dt[ct]=ke[ct]);if(ke!=null&&Y)for(var ct of Y(ke))Ht.indexOf(ct)<0&&ve.call(ke,ct)&&(dt[ct]=ke[ct]);return dt},he=(ke,Ht,dt)=>new Promise((ct,Xe)=>{var Re=Me=>{try{qe(dt.next(Me))}catch(U){Xe(U)}},oe=Me=>{try{qe(dt.throw(Me))}catch(U){Xe(U)}},qe=Me=>Me.done?ct(Me.value):Promise.resolve(Me.value).then(Re,oe);qe((dt=dt.apply(ke,Ht)).next())});function Ne(ke){return/^\d+$/.test(ke)?`${ke}px`:ke}function Qe(){}let Et=!1;const He={"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 Oe(ke=[]){let Ht=ke;if(Array.isArray(ke)){for(let dt=0;dt<ke.length;dt++){let ct=He[ke[dt]];if(ct)return ct}return Ht[0]}return He[Ht]||Ht}let lt=null;const St=()=>he(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(ke){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",ke)}});var ze=ke=>{var Ht=ke,{width:dt="100%",height:ct="100%",value:Xe,language:Re="javascript",style:oe={},options:qe={},overrideServices:Me={},theme:U="vs-dark",onEditBlur:M,isCopy:ye=!1,onSave:Te,autoHeight:xe=!1,forbidCopy:ae=!1,forbidCopyTips:Fe,onChange:nt=Qe,editorDidMount:se=Qe,onFocus:me=Qe,onBreakPoint:vt=Qe,breakPointValue:ft=[],filename:xt="educoder.txt",errorLine:gt,errorContent:tt="",highlightLine:Pt,openBreakPoint:_t=!1,placeholder:Ae="",showMiniMap:et=!0}=Ht,E=I(Ht,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const D=(0,c.useRef)(),Ve=(0,c.useRef)({}),ne=(0,c.useRef)(),q=(0,c.useRef)(),jt=(0,c.useRef)([]),Ue=(0,c.useRef)(!1),st=(0,c.useRef)(),ht=(0,c.useRef)(),de=(0,c.useRef)(!1),[be,We]=(0,c.useState)(!1);function Ze(){let Bt;return D.current&&(Bt=new ie.Z(En=>{for(let nn of En)(nn.target.offsetHeight>0||nn.target.offsetWidth>0)&&Ve.current.instance.layout()}),Bt.observe(D.current)),Bt}function Q(){fe.ZP.warning({content:decodeURIComponent(Fe||z),key:"monaco-editor-tip"})}const Mt=()=>{let Bt=Ve.current.instance;if(Xe!=null&&Bt&&be){const En=Bt.getModel();En&&Xe!==En.getValue()&&(Et=!0,En.setValue(Xe),Bt.layout(),Et=!1)}};(0,c.useEffect)(()=>{const Bt=Be.Z.subscribe("formatDocument",En=>{var nn;let Yr=Ve.current.instance;(nn=Yr==null?void 0:Yr.getAction)==null||nn.call(Yr,"editor.action.formatDocument").run()});return window.updateMonacoValue=En=>{nt(En)},Bt},[]),(0,c.useEffect)(()=>{var Bt;let En=Ve.current.instance;q.current&&clearTimeout(q.current),q.current=setTimeout(()=>{Mt()},500),Xe&&(Xe!=null&&Xe.length)&&((Bt=En==null?void 0:En.updateOptions)==null||Bt.call(En,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Xe.split(/\r\n|\r|\n/g).length))+3,5)}))},[Xe,be,Ve.current]),(0,c.useEffect)(()=>{if(gt&&Ve.current&&Ve.current.instance){let En=Ve.current.instance;En.changeViewZones(function(nn){var Yr=document.createElement("div");Yr.style.padding="10px 20px",Yr.style.width="calc(100% - 20px)",Yr.className="my-error-line-wrp",Yr.innerHTML=tt,nn.addZone({afterLineNumber:gt||11,heightInLines:3,domNode:Yr})});var Bt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};En.addOverlayWidget(Bt),En.revealPositionInCenter({lineNumber:20,column:1})}},[gt,Ve.current,be]);const _e=(Bt="",En)=>{if(!Bt||Bt.trim()==="")return!0;const Yr=Ve.current.instance.getModel().getLineTokens(En);let Lt=!1;for(let It=0;It<2;It++)Yr.getStandardTokenType(It)===1&&(Lt=!0);return Lt};(0,c.useEffect)(()=>{var Bt;const En=(Bt=Ve.current)==null?void 0:Bt.instance;if(En&&be&&ae){const nn=En.onDidBlurEditorWidget(()=>{de.current=!1}),Yr=En.onDidFocusEditorText(()=>{de.current=!0});return()=>{nn.dispose(),Yr.dispose()}}},[Ve.current,be,ae]),(0,c.useEffect)(()=>{var Bt;if((Bt=Ve.current)!=null&&Bt.instance&&be&&_t){let En=Ve.current.instance,nn=En.getModel();if(!nn)return;(()=>{var Tn;let dr=[],Pr=[];const hr=nn.getAllDecorations();for(let kt of hr)kt.options.className==="highlighted-line"&&(dr.push((Tn=kt==null?void 0:kt.range)==null?void 0:Tn.startLineNumber),Pr.push(kt==null?void 0:kt.id));if(Pt===dr[0])return;nn.deltaDecorations(Pr,[]);const Dt=nn.getLineCount();Pt&&Pt<=Dt&&(En.deltaDecorations([],[{range:new lt.Range(Pt,1,Pt,nn.getLineMaxColumn(Pt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),En.revealLineInCenter(Pt))})();const Lt=(Tn=!1)=>{var dr;let Pr=[],hr=[];const Dt=nn.getAllDecorations();for(let kt of Dt)kt.options.linesDecorationsClassName==="breakpoints-select"&&(Pr.push((dr=kt==null?void 0:kt.range)==null?void 0:dr.startLineNumber),hr.push(kt==null?void 0:kt.id));if(Tn)return{lines:Pr,ids:hr};vt(Pr)},It=Tn=>he(void 0,null,function*(){let dr={range:new lt.Range(Tn,1,Tn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield nn.deltaDecorations([],[dr]),Lt()}),kn=Tn=>he(void 0,null,function*(){let dr=[];const Pr=En.getLineDecorations(Tn);for(let hr of Pr)hr.options.linesDecorationsClassName==="breakpoints-select"&&dr.push(hr.id);yield nn.deltaDecorations(dr,[]),Lt()}),vn=Tn=>{let dr=En.getLineDecorations(Tn);for(let Pr of dr)if(Pr.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,pe.isEqual)(ft,Lt(!0).lines)){nn.deltaDecorations(Lt(!0).ids,[]);const Tn=ft.map(dr=>({range:new lt.Range(dr,1,dr,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));nn.deltaDecorations([],Tn)}const In=En.onDidChangeModelContent(Tn=>{let dr=En.getPosition();if(dr){let Pr=dr.lineNumber;clearTimeout(ht.current),ht.current=setTimeout(()=>{_e(nn.getLineContent(Pr),Pr)?kn(Pr):vn(Pr)?(kn(Pr),It(Pr)):Lt()},100)}}),jn=En.onMouseDown(Tn=>{var dr,Pr,hr;if(Tn.target.detail&&((hr=(Pr=(dr=Tn.target)==null?void 0:dr.element)==null?void 0:Pr.className)!=null&&hr.includes("line-numbers"))){let Dt=Tn.target.position.lineNumber;if(_e(nn.getLineContent(Dt),Dt))return;vn(Dt)?kn(Dt):It(Dt)}}),Dn=Tn=>{let dr={range:new lt.Range(Tn,1,Tn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};jt.current=En.deltaDecorations(jt.current,[dr])},$n=()=>{jt.current=En.deltaDecorations(jt.current,[])},br=En.onMouseMove(Tn=>{var dr,Pr,hr;if($n(),Tn.target.detail&&((hr=(Pr=(dr=Tn.target)==null?void 0:dr.element)==null?void 0:Pr.className)!=null&&hr.includes("line-numbers"))){let Dt=Tn.target.position.lineNumber;if(_e(nn.getLineContent(Dt),Dt))return;Dn(Dt)}}),cr=En.onMouseLeave(()=>{$n()});return()=>{In.dispose(),jn.dispose(),br.dispose(),cr.dispose()}}},[Ve.current,be,ft,Pt,_t,Re]),(0,c.useEffect)(()=>{var Bt;(Bt=Ve.current)!=null&&Bt.instance&&_t&&Ve.current.instance.setPosition({lineNumber:0,column:0})},[Pt]);function bt(){let Bt=Ve.current.instance;if(Bt){const En=Bt.getSelection(),nn=Ve.current.pastePos||{},Yr=new lt.Range(nn.startLineNumber||En.endLineNumber,nn.startColumn||En.endColumn,nn.endLineNumber||En.endLineNumber,nn.endColumn||En.endColumn);setTimeout(()=>{Bt.executeEdits("",[{range:Yr,text:""}])},300)}}function An(Bt){(window.navigator.platform.match("Mac")?Bt.metaKey:Bt.ctrlKey)&&Bt.keyCode==83&&(Bt.preventDefault(),Te())}const xn=()=>{if(xe&&Ve.current.instance){const Bt=Ve.current.instance.getContentHeight();ii(Bt<ct?ct:Bt)}else ii(ct)};function Er(Bt){var En=document.createEvent("MouseEvents");En.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Bt.dispatchEvent(En)}const vr=Bt=>{if(!de.current)return;const{keyCode:En,ctrlKey:nn,metaKey:Yr,target:Lt,type:It}=Bt;return(It==="paste"||(En===67||En===86)&&(Yr||nn))&&Lt.nodeName==="TEXTAREA"&&(Q(),Bt.preventDefault()),!1};function gr(Bt,En){var nn=window.URL||window.webkitURL||window,Yr=new Blob([En]),Lt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Lt.href=nn.createObjectURL(Yr),Lt.download=Bt,Er(Lt)}(0,c.useEffect)(()=>{xn()},[xn]),(0,c.useEffect)(()=>{D.current&&!be&&Promise.all([h.e(8909),h.e(5977)]).then(h.bind(h,71448)).then(Bt=>{try{lt=Bt,Ve.current.instance=lt.editor.create(D.current,{value:Xe,language:Oe(Re),theme:U,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:et||!1}},Me);const En=Ve.current.instance;let Lt=[...T.BH._menuItems].find(In=>In[0]._debugName=="EditorContext")[1],It=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],kn=(In,jn)=>{var Dn,$n;let br=In._first;do jn.includes(($n=(Dn=br.element)==null?void 0:Dn.command)==null?void 0:$n.id)&&In._remove(br);while(br=br.next)};if(se(En,lt),setTimeout(()=>{xn(),Ve.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{gr(xt||"educoder.txt",En.getValue())}})},500),Ve.current.subscription=En.onDidChangeModelContent(In=>{Ue.current?clearTimeout(st.current):(xn(),nt(En.getValue(),In)),st.current=setTimeout(()=>{Ue.current=!1},500)}),window.Monaco||L(lt,Oe(Re)),ae&&(kn(Lt,It),D.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",vr),window.removeEventListener("paste",vr),window.addEventListener("keydown",vr),window.addEventListener("paste",vr)),window.Monaco=lt,M&&En.onDidBlurEditorWidget(()=>{M(En.getValue())}),me&&En.onDidFocusEditorText(()=>{ae&&St(),me(En.getValue())}),ae){St();try{En.onDidPaste(In=>{const jn=En.getSelection(),Dn=Ve.current.pastePos||{},$n=new lt.Range(Dn.startLineNumber||jn.endLineNumber,Dn.startColumn||jn.endColumn,Dn.endLineNumber||jn.endLineNumber,Dn.endColumn||jn.endColumn);En.executeEdits("",[{range:In.range,text:""}])})}catch(In){}}let vn=Ze();return Ae&&typeof Ae=="string"&&new g(Ae,En,lt),We(!0),()=>{const In=Ve.current.instance;In.dispose();const jn=In.getModel();jn&&jn.dispose(),Ve.current.subscription&&Ve.current.subscription.dispose(),vn.unobserve(D.current)}}catch(En){}})},[]),(0,c.useEffect)(()=>{if(Ve.current.instance&&be)return document.addEventListener("keydown",An,!1),()=>{document.removeEventListener("keydown",An)}},[Te,be]),(0,c.useEffect)(()=>{let Bt=Ve.current.instance;if(Bt&&be){let En=Oe(Re);lt.editor.setModelLanguage(Bt.getModel(),En)}},[Re,be]),(0,c.useEffect)(()=>{Ve.current.instance&&be&<.editor.setTheme(U)},[U,be]),(0,c.useEffect)(()=>{let Bt=Ve.current.instance;ne.current=qe,Bt&&be&&(Bt.updateOptions(we({},qe)),setTimeout(()=>{Bt.getModel().updateOptions(we({},qe))},200))},[JSON.stringify(qe),be]),(0,c.useEffect)(()=>{let Bt=Ve.current.instance;Bt&&be&&Bt.layout()},[dt,ct,be]);const[Hr,fi]=(0,c.useState)(Ne(dt)),[lr,ii]=(0,c.useState)(Ne(ct)),Wn=_(we({},oe),{width:Hr,height:lr,position:"relative"});return c.createElement("div",{className:"my-monaco-editor",ref:D,style:Wn,onFocus:()=>{ae&&St()}},ye&&c.createElement(je.CopyToClipboard,{text:Xe,onCopy:()=>fe.ZP.success("\u590D\u5236\u6210\u529F")},c.createElement(Ee.Z,{title:"\u590D\u5236\u4EE3\u7801"},c.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},c.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function At({width:ke="100%",height:Ht="100%",original:dt,modified:ct,language:Xe,options:Re={}}){const oe=(0,c.useRef)(),[qe,Me]=(0,c.useState)(null);function U(xe){let ae;return oe.current&&(ae=new ie.Z(Fe=>{for(let nt of Fe)(nt.target.offsetHeight>0||nt.target.offsetWidth>0)&&xe.layout()}),ae.observe(oe.current)),ae}(0,c.useEffect)(()=>(oe.current&&Promise.all([h.e(8909),h.e(9404)]).then(h.bind(h,2550)).then(xe=>{lt=xe;const ae=lt.editor.createDiffEditor(oe.current,_(we({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},Re),{wordWrap:!0}));Me(ae);let Fe=U(ae);return()=>{ae.dispose();const nt=ae.getModel();nt&&nt.dispose(),Fe.unobserve(oe.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,c.useEffect)(()=>{qe&&qe.setModel({original:lt.editor.createModel(dt,Xe),modified:lt.editor.createModel(ct,Xe)})},[dt,ct,Xe,qe]);const M=Ne(ke),ye=Ne(Ht),Te={width:M,height:ye};return c.createElement("div",{className:"my-diff-editor",ref:oe,style:Te})}},56372:function(On,at,h){"use strict";h.r(at),h.d(at,{default:function(){return Li}});var c=h(59301),ie=h(44283),O={flex_box_center:"flex_box_center___Tmtg1",flex_space_between:"flex_space_between___SRe3q",flex_box_vertical_center:"flex_box_vertical_center___ADnG9",flex_box_center_end:"flex_box_center_end___s78VI",flex_box_column:"flex_box_column___lyOC9",wrap:"wrap___SgpPV",bg:"bg___HRlov",head:"head___l1zw4",fanhui:"fanhui___sgNSf",title:"title___F6E4U",fenban:"fenban___XC6qn",fanwei:"fanwei___GyFnS",daochu:"daochu___tGDeW",content:"content___VVv5U",left:"left___qHcF4",left_top:"left_top___r9ESL",stats_container:"stats_container___mOSTP",stat_card:"stat_card___vZ2xB",icon_wrapper:"icon_wrapper___C7fZA",stat_content:"stat_content___iNQ5T",stat_label:"stat_label___UX_47",stat_value:"stat_value___NVdey",scores_container:"scores_container___ZNqR8",score_card:"score_card___pRbcf",score_title:"score_title___KBFjz",score_content:"score_content___kuMtE",score_value:"score_value___p5nEO",score_trend:"score_trend___ArCc9",score_compare:"score_compare___GKMhP",left_bottom:"left_bottom____WZRP",completion_card:"completion_card___c95if",card_header:"card_header___sZXGx",card_title:"card_title___QMCIa",card_value:"card_value___BDO7Z",trend:"trend___DKl5H",progress_list:"progress_list___R1QGk",progress_item:"progress_item___Ijh8Z",progress_label:"progress_label___fIKfz",progress_bar:"progress_bar___NZtaM",progress_inner:"progress_inner___TgWt8",zbdw_title:"zbdw_title___W30wC",zbdw_school:"zbdw_school___rxvRa",juesai:"juesai___tse7n",left_indicators:"left_indicators___egqRr",indicator_item:"indicator_item___LPZGf",dot:"dot___Caw5C",dot_inner:"dot_inner___HNlU9",indicator_content:"indicator_content___IAoZ7",value:"value___qLqTK",label:"label___ZSwSe",right_indicators:"right_indicators___TTju6",center_circle:"center_circle___WXKq6",outer_ring:"outer_ring___izm2Q",text:"text___XAIlf",inner_circle:"inner_circle___nF4I7",circle_value:"circle_value___KI5EF",circle_label:"circle_label___u5pE4",circle_sublabel:"circle_sublabel___ok0HU",daojishi:"daojishi___GECa9",daojishi_title:"daojishi_title___HK3mB",daojishi_text:"daojishi_text___nSgmR",tab_container:"tab_container___il98g",tab_list:"tab_list___OH2VU",tab_item:"tab_item___IUxO9",active:"active___y5gQK",tab_content:"tab_content___gRgOA"},le=h.p+"static/bg.290e4fe4.png",j=h.p+"static/biaoti.6620d35e.png",v="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAq4AAABMCAYAAACs7DWmAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfQm4HUd15qnqvsu7b98lWZZlWbJlSRgv2IYYsJxMJoRAQobI32QmIRAIJJkAIfANySQzfv4+IONgIIEJBAIYYkgyVhJCQjJDYgYRjIPBMgZttrzJ1vL29b7lLt1dk1NL3+7qfq/f1Xsyknz6e9+rvl1Vp6pObX+fPnUOA7qIA8QB4gBxgDhAHCAOEAeIAxcAB9gFUEeqInGAOEAcIA4QB4gDxAHiAHEAJHAdGhriB+BWPnZknA+MHw0O4MMDuwTsPSrj9+JPHabx7MCBXWLv3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OeVA4gD+ElhvMuf4KBPDHm0StEdKf8ys3WCpR3l97xdrxrkTEvZ8vzwB7Kv1FC7V17+VVnzgOcJwY9rKtrhWy/cUz27gGQt8ygh3WpIk8ovCMiJBHEnodlgHgw5IWwHqx5yHfj6MjcvXXL5ix52BCa8Z4uH8qyj8WWJ3AegL3XXiMrPwDhgLxn/DGITc/Leec7NzAPB//Tv/n42x+dtRvvjeeL07PW8mwyt6EWOv41ilUyN+u2xwdblz/eTtHMi0ZCdtUkgxh1P2/+8l/XyFq9bXvPuz49/k5u5om+/nr96/tfP//081+///T7X+9/9P4vf/+97f3ied+vnnd92x7PtvnPu73nXd+2x7Nt/vNu73nXt+3xbJv/vNt73vVtezzb5j/v9p53fdsez7b5z7u9513ftsezbf7zbu9517ft8Wyb/7zbe971bXs82+Y/7/aed33bHs+2+c+7vedd37bHs23+827vede37fFsm/+823ve9W17PNvmP+/2nnd92x7PtvnPu73nXd+2x7Nt/vNu73nXt+3xbJv/vNt73vVtezzb5j/v9p53fdsez7b5z7u9513ftsezbf7zbu9517ft8Wyb/7zbe971bXs82+Y/7/aed33bHs+2+c+7vedd37bHs23+827vede37fFsm/+823ve9W17PNvmP+/2nnd92x7PtvnPu73nXd+2x7Nt/vNu73nXt+3xbJv/vNt73vVtezzb5j/v9p53fdsez7b5z7u9513ftsezbf7zbu9517ft8Wyb/7zbe9714XjaycL0Bp3GxQvUutw37cHl5smv/pXuHz7vROKbh7Y1m77/LSsyjU3qapvG6Hd+8eJXNslblufm4W+3Vst/+zOADN328FezvAjPgORpzo3B/N5uh+xS0ihQAeeV7ExeB2xCOsuynenOlW91LQA0SXNd29fDbWFzHlfhAb0wxnph/krS5XBebM6rf4WqAb3Ylhc2Jqu30pgXH5MrEhj9PIAoIN7KW+5iqK7Mmsd757pCQE+gvNgbWAXqMaQngN7UAMoLbXkhMwd8Tng8lxamTii9ft9BeQLk1Z/5MEdozIPzZntbHtfGUJ6AeM6Wt+hbwHirRZZOs65pZGzLW87JYN2mxw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FY3WJyCv0gSj6VLTTEx68I/vjUuT7ZjkowGQK4ywdjUxoa3KnACCw3MsR9j4o/gAWxDc/9xBvofyLI6FqZ6E8vBYFUe7krBC9GQsEjL3HMGrzcF1B3Y/lBG2bd1OcRLg3C+M0z25pNwXA3MVUK+dzsOMmnTdF6Te7alyT0OHjN9/55j0skf92DzvCbv6lz84oEDzlP/sL/ECU3Ztgx60hNtnJ5uSxAHrdZDBFUCyAwWzECRKY2x1T0xEdQoOVkdg+FlSRgQVGxEj0nrmFOxMMIzMZ6fKQvmg6SnI0CHrjbkKBJLuSc8LkVMKML8t23bJu8KoM/oCwcOWN/8/v6SQmmq5ooA40LEOT2XiIPwBKymnCj+KVJHoBJRm7rS2xsV9EyZ9LPKzNSyJdpZIch6IWlKExIrLwkq1pgMK7CMJnrCjBUnbTkTQgW5EjwqIBXvXNoqyhda9LbPf0ZI+cFE6dimtDYT1hQNq3+IVdyX18X4c1ETUzBWVH7DTTGg80pEgevL05ihjZjGrrGBngDv64jBb1QDT+dzOQcI5nA8bl6nClicYJmM87EIJzjDX37mY724tdMil/tJcvaeUKm4Js7qAQaGoRFjo6a81p2SfxMxZFXB+Bc2SGNJiD22RqF/vyUO3rI4WjTgBLYy5QZ+fzQblj/XEVUAj4WZkPLTlQF7W9JwTy3HkKYQQpeYipoNsQ9zhJy9oxcvgrHVdVLK+HUbtmDRDPfqcDxBSOUlh++xGrQvb8AP/sgg/+wPRLFrRYAVXgOCqx24HI+TmZ9L2Tk0Kw/i/2EmPxEkX0YgU37Eek/KDeUZvjxj8nMbdP1Ma6Pf5zIkZeIaAp1fA8GQ89J9cP77/H1EjphlWY7Nf/fvF6S8d1DK9MI+nM9KsrlsYd//ALBFEIRezV8jAAAAAElFTkSuQmCC",x={title:"title___Dklbk",table_wrapper:"table_wrapper___DVU8L",table_scroll:"table_scroll___abaQs",table_content:"table_content___X1bvS",table_row:"table_row___tcYAy",table_cell:"table_cell___n8bJx",rate:"rate___fVEID",trend:"trend___YS2gb",flexbox:"flexbox___JvPUp",echart_wrapper:"echart_wrapper___TKhSs",chart_title_row:"chart_title_row___eXb5m",chart_title:"chart_title___llsTK",chart_legend:"chart_legend___uXfE0",legend_item:"legend_item___BkvW9",legend_dot:"legend_dot___ZzRvz",blue:"blue___mDPIr",orange:"orange___FOfHr",green:"green___vMYXu",purple:"purple___YN4cz",rank_wrapper:"rank_wrapper___gdcNQ",rank_title:"rank_title___GCXY7",rank_table:"rank_table___Go8He",rank_header:"rank_header___HKdZF",rank_cell:"rank_cell___GCkMz",rank_body:"rank_body___p5jDf",rank_row:"rank_row___pG3zu",rank_icon:"rank_icon___HEvJY",rank_1:"rank_1___olQW1",rank_2:"rank_2___CRK7u",rank_3:"rank_3___SKPCQ",content:"content___ufyXA",content_bottom:"content_bottom___ZLDuj",table_title:"table_title___JNWhx",suggestion:"suggestion___suR8p",head:"head___a3wrg",bianji:"bianji___LIaMP",no_data:"no_data___8W_K9",circle_sublabel:"circle_sublabel___emtGv",content_left:"content_left___B1eZE",content_right:"content_right____efGV",tooltip:"tooltip___s1rsK"},A=h(42441),L=h(34993),z=h(95366),G=h(33194),Z=h(25399),W=h(29787),P=h(49317),K=h(35883),g=h(76406),T=h(59301),fe=Object.defineProperty,Ee=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,it=(Ft,Zt,Gt)=>Zt in Ft?fe(Ft,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ft[Zt]=Gt,ce=(Ft,Zt)=>{for(var Gt in Zt||(Zt={}))je.call(Zt,Gt)&&it(Ft,Gt,Zt[Gt]);if(Be)for(var Gt of Be(Zt))Le.call(Zt,Gt)&&it(Ft,Gt,Zt[Gt]);return Ft},Y=(Ft,Zt)=>Ee(Ft,pe(Zt)),N=(Ft,Zt)=>{var Gt={};for(var Zn in Ft)je.call(Ft,Zn)&&Zt.indexOf(Zn)<0&&(Gt[Zn]=Ft[Zn]);if(Ft!=null&&Be)for(var Zn of Be(Ft))Zt.indexOf(Zn)<0&&Le.call(Ft,Zn)&&(Gt[Zn]=Ft[Zn]);return Gt},ve=(Ft,Zt,Gt)=>new Promise((Zn,sr)=>{var Un=$t=>{try{hn(Gt.next($t))}catch(Nn){sr(Nn)}},en=$t=>{try{hn(Gt.throw($t))}catch(Nn){sr(Nn)}},hn=$t=>$t.done?Zn($t.value):Promise.resolve($t.value).then(Un,en);hn((Gt=Gt.apply(Ft,Zt)).next())});const ue=Ft=>{var Zt=Ft,{shixunsDetail:Gt,globalSetting:Zn,loading:sr,dispatch:Un,paramsObj:en}=Zt,hn=N(Zt,["shixunsDetail","globalSetting","loading","dispatch","paramsObj"]),$t,Nn,wr,zr,Xn,Rr,Zr,Gi,sa,ya,Ri,Sa,zi,oa,ji,ra,Fi,da;const Kr=(0,ie.useParams)(),[fa]=(0,ie.useSearchParams)(),[kr,_a]=(0,c.useState)({}),[rr,or]=(0,c.useState)(!1);(0,c.useEffect)(()=>{ia()},[en]);const ia=()=>ve(void 0,null,function*(){or(!0);const Qr=yield(0,P.ZP)(`/api/courses/${Kr==null?void 0:Kr.coursesId}/statistics/targets.json`,{method:"get",params:ce({},en)});(Qr==null?void 0:Qr.status)==0&&_a(Qr==null?void 0:Qr.data),or(!1)}),Fn=["#05FF9A","#0374EA","#E17017","#E61B80","#03FEF8"],ba=()=>{var Qr,xa;return T.createElement("div",{className:x.rank_wrapper,style:{width:"auto",height:"4.15rem",fontSize:"0.12rem"}},T.createElement("div",{className:x.rank_table},T.createElement("div",{className:x.rank_header,style:{height:"0.4rem"}},T.createElement("div",{className:x.rank_cell,style:{width:"0.5rem"}},"\u6392\u540D"),T.createElement("div",{className:x.rank_cell,style:{width:"1rem"}},"\u5206\u73ED\u540D\u79F0"),T.createElement("div",{className:x.rank_cell,style:{width:"0.7rem"}},"\u8FBE\u6210\u5EA6"),(((Qr=kr==null?void 0:kr.course_targets)==null?void 0:Qr.list)||[]).map((Vi,$i)=>T.createElement("div",{className:x.rank_cell,style:{width:"1.6rem"}},`${Vi==null?void 0:Vi.name}(\u5360\u6BD4\uFF1A${Vi==null?void 0:Vi.target_rate}%)`))),T.createElement("div",{className:x.rank_body,style:{height:"3.7rem"}},(xa=kr==null?void 0:kr.course_groups_target_list)==null?void 0:xa.map((Vi,$i)=>{var Pn;let Tr;return $i===0&&(Tr=L.Z),$i===1&&(Tr=z.Z),$i===2&&(Tr=G.Z),T.createElement("div",{key:$i,className:x.rank_row,style:{height:"0.47rem"}},T.createElement("div",{className:x.rank_cell,style:{width:"0.5rem"}},$i<3?T.createElement("span",{className:x.recordPrefix},T.createElement("img",{src:Tr})):T.createElement("span",null,$i+1)),T.createElement("div",{className:x.rank_cell,style:{width:"1rem"}},T.createElement(Z.Z,{title:Vi.course_group_name,placement:"topLeft"},Vi.course_group_name)),T.createElement("div",{className:x.rank_cell,style:{width:"0.7rem"}},Vi.target_rate),(Pn=Vi==null?void 0:Vi.target_list)==null?void 0:Pn.map((Sn,Aa)=>T.createElement("div",{className:x.rank_cell,style:{width:"1.6rem",color:Sn.user_target_rate<40&&"red"}},Sn.user_target_rate,"%")))}))))};return T.createElement(W.Z,{spinning:rr},T.createElement("div",{style:{color:"#fff"}},T.createElement("div",{className:x.title},"\u6240\u9009\u65F6\u95F4\u8BFE\u5802\u76EE\u6807\u8FBE\u6210\u60C5\u51B5 ",T.createElement("span",{style:{color:"#A4C8FC",fontSize:"0.12rem",fontWeight:"400",marginLeft:"0.1rem"},onClick:()=>(0,g.xg)(`/classrooms/${Kr.coursesId}/statistics/${fa.get("category_id")}?tabs=3`)},T.createElement("i",{className:"iconfont icon-bianji15 font12"}),"\u7F16\u8F91\u8BFE\u7A0B\u8FBE\u6210\u5EA6")),T.createElement("div",{className:x.content},T.createElement("div",{className:x.content_left},T.createElement("div",{className:x.table_wrapper},T.createElement("div",{className:x.table_scroll},T.createElement("div",{className:x.table_content},T.createElement("div",{className:x.table_row,style:{backgroundColor:"rgba(164,200,252,0.1)",color:"#A4C8FC",height:"0.4rem"}},T.createElement("div",{className:x.table_cell,style:{width:"1rem"}},"\u6574\u4F53\u8FBE\u6210\u5EA6"),($t=kr==null?void 0:kr.course_groups_target_list)==null?void 0:$t.map((Qr,xa)=>T.createElement("div",{className:x.table_cell,style:{width:"1.3rem"}},T.createElement(Z.Z,{title:Qr.course_group_name,placement:"topLeft"},Qr.course_group_name)))),T.createElement("div",{className:`${x.table_row} ${x.flexbox}`},T.createElement("div",{className:x.table_cell,style:{width:"1rem"}},T.createElement("span",{className:x.rate},(Nn=kr==null?void 0:kr.course_targets)==null?void 0:Nn.course_target_rate,"%")),(wr=kr==null?void 0:kr.course_groups_target_list)==null?void 0:wr.map((Qr,xa)=>T.createElement("div",{className:x.table_cell,style:{width:"1.3rem"}},T.createElement("span",{className:x.rate},Qr.target_rate,"%"),T.createElement("span",null,Qr.is_max?"(\u6700\u9AD8)":Qr.is_min?"(\u6700\u4F4E)":""))))))),T.createElement("div",{className:x.echart_wrapper},T.createElement("div",{className:x.chart_title_row},T.createElement("div",{className:x.chart_title},"\u73ED\u7EA7\u7EF4\u5EA6\u8FBE\u6210\u5EA6\u5206\u6790\u56FE")),T.createElement("div",{className:x.chart_content},(kr==null?void 0:kr.course_groups_target_list)&&T.createElement(A.Z,{option:{tooltip:{trigger:"item",axisPointer:{type:"shadow"},position:function(Qr,xa,Vi,$i,Pn){var Tr=$i.x-27,Sn=$i.y-50;return[Tr,Sn]},backgroundColor:"transparent",borderWidth:0,formatter:Qr=>`<div class="${x.tooltip}" style="background:rgba(4,106,216,0.4);color:rgba(4,106,216,0.4)">
|
|
<span>${parseFloat(Qr.value)}%</span>
|
|
</div>`},grid:{top:10,bottom:20,left:0,right:35,containLabel:!0},dataZoom:[Y(ce({type:"slider"},((zr=kr==null?void 0:kr.course_groups_target_list)==null?void 0:zr.length)>10?{start:0,end:15}:{}),{show:((Xn=kr==null?void 0:kr.course_groups_target_list)==null?void 0:Xn.length)>10,xAxisIndex:[0],bottom:0,height:10,borderColor:"transparent",backgroundColor:"rgba(164, 200, 252, 0.1)",fillerColor:"rgba(3, 116, 234, 0.3)",handleStyle:{color:"#0374EA",borderColor:"#0374EA"},moveHandleStyle:{color:"#0374EA"},selectedDataBackground:{lineStyle:{color:"#0374EA"},areaStyle:{color:"#0374EA"}},textStyle:{color:"#A4C8FC"}})],xAxis:{type:"category",data:(Rr=kr==null?void 0:kr.course_groups_target_list)==null?void 0:Rr.map(Qr=>Qr.course_group_name),axisLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisTick:{show:!1},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",interval:0,formatter:Qr=>`${Qr}`,rich:{title:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:100,tooltip:{show:!0}}}}},yAxis:{type:"value",max:100,splitNumber:5,axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",formatter:Qr=>parseFloat(Qr).toFixed(1)}},series:[{data:((Zr=kr==null?void 0:kr.course_groups_target_list)==null?void 0:Zr.map(Qr=>Qr.target_rate))||[],type:"bar",barWidth:34,itemStyle:{color:"#0374EA"},markLine:{silent:!0,symbol:"none",label:{show:!0,formatter:"\u5E73\u5747\u503C",position:"insideEnd",color:"#03FEF8",fontSize:"0.12rem",distance:[0,0]},lineStyle:{color:"#03FEF8",type:"dashed",width:1},data:[{yAxis:(Gi=kr==null?void 0:kr.course_targets)==null?void 0:Gi.course_target_rate,name:"\u5E73\u5747\u503C"}]}}]},style:{height:"2.28rem"}})))),T.createElement("div",{className:x.content_right},T.createElement("div",{className:x.table_wrapper},T.createElement("div",{className:x.table_scroll},T.createElement("div",{className:x.table_content},T.createElement("div",{className:x.table_row,style:{backgroundColor:"rgba(164,200,252,0.1)",color:"#A4C8FC",height:"0.4rem"}},(ya=(sa=kr==null?void 0:kr.course_targets)==null?void 0:sa.list)==null?void 0:ya.map((Qr,xa)=>{var Vi,$i;return T.createElement("div",{className:x.table_cell,style:{width:`${100/(($i=(Vi=kr==null?void 0:kr.course_targets)==null?void 0:Vi.list)==null?void 0:$i.length)}%`}},Qr==null?void 0:Qr.name)})),T.createElement("div",{className:x.table_row},(Sa=(Ri=kr==null?void 0:kr.course_targets)==null?void 0:Ri.list)==null?void 0:Sa.map((Qr,xa)=>{var Vi,$i;return T.createElement("div",{className:x.table_cell,style:{width:`${100/(($i=(Vi=kr==null?void 0:kr.course_targets)==null?void 0:Vi.list)==null?void 0:$i.length)}%`}},Qr==null?void 0:Qr.user_rate,"%")}))))),T.createElement("div",{className:x.echart_wrapper},T.createElement("div",{className:x.chart_title_row},T.createElement("div",{className:x.chart_title},"\u8BFE\u5802\u7EF4\u5EA6\u8FBE\u6210\u5EA6")),T.createElement("div",{className:x.chart_content},((oa=(zi=kr==null?void 0:kr.course_targets)==null?void 0:zi.list)==null?void 0:oa.length)>0&&T.createElement(A.Z,{option:{tooltip:{trigger:"item",axisPointer:{type:"shadow"},position:function(Qr,xa,Vi,$i,Pn){var Tr=$i.x-21,Sn=$i.y-50;return[Tr,Sn]},backgroundColor:"transparent",borderWidth:0,formatter:Qr=>{const Vi=["rgba(5,255,154,0.4)","rgba(3,127,254,0.4)","rgba(249,123,20,0.4)","rgba(254,28,137,0.4)","rgba(3,254,248,0.4)"][Qr.dataIndex];return`<div class="${x.tooltip}" style="background:${Vi};color:${Vi}">
|
|
<span style="color:#fff">${parseFloat(Qr.value)}%</span>
|
|
</div>`}},grid:{top:10,bottom:0,left:0,right:35,containLabel:!0},xAxis:{type:"category",data:(ra=(ji=kr==null?void 0:kr.course_targets)==null?void 0:ji.list)==null?void 0:ra.map(Qr=>Qr==null?void 0:Qr.name),axisLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisTick:{show:!1},axisLabel:{color:(Qr,xa)=>Fn[xa],fontSize:"0.12rem",interval:0}},yAxis:{type:"value",max:100,splitNumber:5,axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",formatter:Qr=>parseFloat(Qr).toFixed(1)}},series:[{data:(da=(Fi=kr==null?void 0:kr.course_targets)==null?void 0:Fi.list)==null?void 0:da.map(Qr=>Qr==null?void 0:Qr.user_rate),type:"bar",barWidth:50,itemStyle:{normal:{color:function(Qr){var xa=["rgba(5,255,154,0.35)","rgba(3,127,254,0.35)","rgba(249,123,20,0.35)","rgba(254,28,137,0.35)","rgba(3,254,248,0.35)"];return xa[Qr.dataIndex]},borderColor:function(Qr){return["#05FF9A","#0374EA","#E17017","#E61B80","#03FEF8"][Qr.dataIndex]},borderWidth:1}}}]},style:{height:"2.28rem"}})))),T.createElement("div",{className:x.content_bottom},T.createElement("div",null,ba()),T.createElement("div",{className:x.suggestion,style:{flex:"1",marginLeft:"0.4rem",height:"4.15rem",marginTop:0}},T.createElement("div",{className:x.head},T.createElement("div",null,"\u603B\u7ED3\u5EFA\u8BAE"),T.createElement("div",null,T.createElement("span",{onClick:()=>{Un({type:"classroomList/setActionTabs",payload:{key:"\u7F16\u8F91\u603B\u7ED3",statis_type:"target",content:kr==null?void 0:kr.summary_recommendations}})},className:x.bianji},T.createElement("i",{className:"iconfont icon-bianji15 font12"}),"\u7F16\u8F91"))),T.createElement("div",{className:x.content,style:{height:"3.78rem",marginTop:"0.2rem"}},T.createElement(K.Z,{style:{color:"#fff"},value:kr==null?void 0:kr.summary_recommendations})))))))};var we=(0,ie.connect)(({shixunsDetail:Ft,loading:Zt,globalSetting:Gt})=>({shixunsDetail:Ft,globalSetting:Gt,loading:Zt.models.index}))(ue),_={title:"title___RJlTl",table_wrapper:"table_wrapper___yt2D4",table_scroll:"table_scroll___KpUJN",table_content:"table_content___SB0B6",table_row:"table_row___Qona9",table_cell:"table_cell___kff_T",rate:"rate____zjqG",trend:"trend___Lh0FB",flexbox:"flexbox___HFhIH",echart_wrapper:"echart_wrapper___LCfSP",chart_title_row:"chart_title_row___l2nW6",chart_title:"chart_title____kfuR",chart_legend:"chart_legend___foDpW",legend_item:"legend_item___iRz9H",legend_dot:"legend_dot___nVoFA",blue:"blue___i55JP",orange:"orange___U4Van",green:"green___QMtqH",purple:"purple___Z0Ngr",rank_wrapper:"rank_wrapper___jivgn",rank_title:"rank_title___OIZfP",rank_table:"rank_table___E5Wn7",rank_header:"rank_header___A0Z1_",rank_cell:"rank_cell___YfB6I",rank_body:"rank_body___p6rPz",rank_row:"rank_row___DehBP",rank_icon:"rank_icon___icjot",rank_1:"rank_1___M_RyB",rank_2:"rank_2___dVjHD",rank_3:"rank_3___FSN10",content:"content___riAc_",content_bottom:"content_bottom___hhxGV",table_title:"table_title___H7ucG",suggestion:"suggestion___ZkkUE",head:"head___uLnz5",bianji:"bianji___MTTxr",no_data:"no_data___A6RrC",content_left:"content_left___DIQqz",content_right:"content_right___v1WQ7",echart_wrapper_exam:"echart_wrapper_exam___XiFw8"},I={title:"title___nBlU1",table_wrapper:"table_wrapper___Z4Kgo",table_scroll:"table_scroll___L22f3",table_content:"table_content___BD9ye",table_row:"table_row___pFQTb",table_cell:"table_cell___tfU9N",rate:"rate___QXQXh",trend:"trend___FiQyY",flexbox:"flexbox___iAXBZ",echart_wrapper:"echart_wrapper____J7pN",chart_title_row:"chart_title_row___rawYT",chart_title:"chart_title___XL_7k",chart_legend:"chart_legend___W1gQt",legend_item:"legend_item___kIouD",legend_dot:"legend_dot___NBcgh",blue:"blue___HZ4Zr",orange:"orange___Ll__K",green:"green___aK0HI",purple:"purple___B3Lzs",rank_wrapper:"rank_wrapper___Du5kI",rank_title:"rank_title___SyNrl",rank_table:"rank_table___rlUkF",rank_header:"rank_header___Mj7pA",rank_cell:"rank_cell___kE94y",rank_body:"rank_body___OF_9X",rank_row:"rank_row___lWfjY",rank_icon:"rank_icon___qp_0N",rank_1:"rank_1___Le4dC",rank_2:"rank_2___M2vLd",rank_3:"rank_3___cIsvN",content:"content___y5GGu",content_bottom:"content_bottom___Dwkzc",table_title:"table_title___JFga5",suggestion:"suggestion___rMsKy",head:"head___bVl7N",bianji:"bianji___INAvg",no_data:"no_data___WjKUj"},he=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,He=(Ft,Zt,Gt)=>Zt in Ft?he(Ft,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ft[Zt]=Gt,Oe=(Ft,Zt)=>{for(var Gt in Zt||(Zt={}))Qe.call(Zt,Gt)&&He(Ft,Gt,Zt[Gt]);if(Ne)for(var Gt of Ne(Zt))Et.call(Zt,Gt)&&He(Ft,Gt,Zt[Gt]);return Ft},St=({columns:Ft,dataSource:Zt,wrapperStyle:Gt,headerStyle:Zn,bodyStyle:sr,rowStyle:Un})=>c.createElement("div",{className:I.rank_wrapper,style:Oe({},Gt)},c.createElement("div",{className:I.rank_table},c.createElement("div",{className:I.rank_header,style:Oe({},Zn)},Ft==null?void 0:Ft.map((en,hn)=>c.createElement("div",{key:en==null?void 0:en.dataIndex,className:I.rank_cell,style:{minWidth:en==null?void 0:en.width,marginLeft:(en==null?void 0:en.marginLeft)||"0.1rem"}},en==null?void 0:en.title))),c.createElement("div",{className:I.rank_body,style:Oe({},sr)},Zt==null?void 0:Zt.map((en,hn)=>c.createElement("div",{key:hn,className:I.rank_row,style:Oe({},Un)},Ft==null?void 0:Ft.map(($t,Nn)=>c.createElement(Z.Z,{title:$t!=null&&$t.render?"":en[$t==null?void 0:$t.dataIndex]},c.createElement("div",{key:`${hn}-${Nn}`,className:I.rank_cell,style:Oe({width:$t==null?void 0:$t.width,marginLeft:($t==null?void 0:$t.marginLeft)||"0.1rem"},$t==null?void 0:$t.extraStyle)},$t!=null&&$t.render?$t==null?void 0:$t.render(en[$t==null?void 0:$t.dataIndex],en,hn):en[$t==null?void 0:$t.dataIndex])))))))),ze=h(59301);const At=(Ft,Zt,Gt)=>Ft?ze.createElement(Z.Z,{title:`\u8F83\u5BF9\u6BD4\u65F6\u95F4${Ft>0?"\u589E\u957F":"\u4E0B\u964D"}${Math.abs(Ft)}${Zt?"":"%"}`,placement:"top",color:Gt?Ft>0?"rgba(230,27,128,0.4)":"rgba(5,255,154,0.4)":Ft>0?"rgba(5,255,154,0.4)":"rgba(230,27,128,0.4)"},ze.createElement("span",{style:{color:Gt?Ft>0?"#E61B80":"#05FF9A":Ft>0?"#05FF9A":"#E61B80",cursor:"pointer",fontSize:"0.12rem"}},Ft>0?ze.createElement("i",{className:"iconfont icon-zengchang",style:{fontSize:"0.12rem"}}):ze.createElement("i",{className:"iconfont icon-xiajiang1",style:{fontSize:"0.12rem"}}),Math.abs(Ft),Zt?"":"%")):null;var ke=h(59301),Ht=Object.defineProperty,dt=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,Re=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,qe=(Ft,Zt,Gt)=>Zt in Ft?Ht(Ft,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ft[Zt]=Gt,Me=(Ft,Zt)=>{for(var Gt in Zt||(Zt={}))Re.call(Zt,Gt)&&qe(Ft,Gt,Zt[Gt]);if(Xe)for(var Gt of Xe(Zt))oe.call(Zt,Gt)&&qe(Ft,Gt,Zt[Gt]);return Ft},U=(Ft,Zt)=>dt(Ft,ct(Zt)),M=(Ft,Zt)=>{var Gt={};for(var Zn in Ft)Re.call(Ft,Zn)&&Zt.indexOf(Zn)<0&&(Gt[Zn]=Ft[Zn]);if(Ft!=null&&Xe)for(var Zn of Xe(Ft))Zt.indexOf(Zn)<0&&oe.call(Ft,Zn)&&(Gt[Zn]=Ft[Zn]);return Gt},ye=(Ft,Zt,Gt)=>new Promise((Zn,sr)=>{var Un=$t=>{try{hn(Gt.next($t))}catch(Nn){sr(Nn)}},en=$t=>{try{hn(Gt.throw($t))}catch(Nn){sr(Nn)}},hn=$t=>$t.done?Zn($t.value):Promise.resolve($t.value).then(Un,en);hn((Gt=Gt.apply(Ft,Zt)).next())});const Te=Ft=>{var Zt=Ft,{shixunsDetail:Gt,globalSetting:Zn,loading:sr,dispatch:Un,paramsObj:en}=Zt,hn=M(Zt,["shixunsDetail","globalSetting","loading","dispatch","paramsObj"]),$t,Nn,wr,zr,Xn,Rr,Zr,Gi,sa,ya,Ri,Sa,zi,oa,ji,ra,Fi,da,Kr,fa,kr,_a,rr,or,ia,Fn,ba,Qr,xa,Vi,$i,Pn,Tr,Sn,Aa,Wi,Ia,Fa,Xr,ki;const Ur=(0,ie.useParams)(),[un,bi]=(0,c.useState)(null),[ir,Oi]=(0,c.useState)(!1);(0,c.useEffect)(()=>{wn()},[en]);const wn=()=>ye(void 0,null,function*(){Oi(!0);const ar=yield(0,P.ZP)(`/api/courses/${Ur==null?void 0:Ur.coursesId}/statistics/student_works.json`,{method:"get",params:Me({},en)});(ar==null?void 0:ar.status)==0&&bi(ar==null?void 0:ar.data),Oi(!1)}),Cr=()=>ke.createElement("div",{className:_.rank_wrapper,style:{fontSize:"0.12rem"}},ke.createElement("div",{className:_.rank_title},"\u4F5C\u4E1A\u5B8C\u6210\u5EA6\u6392\u540D\u524D5"),ke.createElement("div",{className:_.rank_table},ke.createElement("div",{className:_.rank_header},ke.createElement("div",{className:_.rank_cell,style:{width:"0.3rem"}},"\u6392\u540D"),ke.createElement("div",{className:_.rank_cell,style:{width:"0.5rem"}},"\u59D3\u540D"),ke.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},"\u5B66\u53F7"),ke.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},"\u5206\u73ED\u540D\u79F0"),ke.createElement("div",{className:_.rank_cell,style:{width:"0.4rem"}},"\u5B8C\u6210\u7387"),ke.createElement("div",{className:_.rank_cell,style:{width:"0.48rem"}},"\u5B8C\u6210\u6570"),ke.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},"\u6536\u5230\u4F5C\u4E1A\u6570"),ke.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},"\u5B9E\u8BAD\u4F5C\u4E1A\u5B8C\u6210\u7387"),ke.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},"\u7F16\u7A0B\u4F5C\u4E1A\u5B8C\u6210\u7387"),ke.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},"\u56FE\u6587\u4F5C\u4E1A\u5B8C\u6210\u7387"),ke.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},"\u5206\u7EC4\u4F5C\u4E1A\u5B8C\u6210\u7387")),ke.createElement("div",{className:_.rank_body},[{rank:1,name:"\u9648\u5927\u53EA",id:"202011450",class:"\u672A\u5206\u73ED",rate:"80.0%",finished:"1176",total:"2000",training:"80.0%",coding:"80.0%",image:"80.0%",group:"80.0%"},{rank:2,name:"\u674E\u5C0F\u53EA",id:"202011450",class:"\u73ED\u7EA7\u4E00",rate:"71.5%",finished:"852",total:"2000",training:"71.5%",coding:"71.5%",image:"71.5%",group:"71.5%"}].map((ar,jr)=>{let Ta;return jr===0&&(Ta=L.Z),jr===1&&(Ta=z.Z),jr===2&&(Ta=G.Z),ke.createElement("div",{key:jr,className:_.rank_row},ke.createElement("div",{className:_.rank_cell,style:{width:"0.3rem"}},ar.rank<=3?ke.createElement("span",{className:_.recordPrefix},ke.createElement("img",{src:Ta})):ke.createElement("span",null,ar.rank)),ke.createElement("div",{className:_.rank_cell,style:{width:"0.5rem"}},ar.name),ke.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},ar.id),ke.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},ar.class),ke.createElement("div",{className:_.rank_cell,style:{width:"0.4rem"}},ar.rate),ke.createElement("div",{className:_.rank_cell,style:{width:"0.48rem"}},ar.finished),ke.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},ar.total),ke.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},ar.training),ke.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},ar.coding),ke.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},ar.image),ke.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},ar.group))})))),Jr=[{title:"\u6392\u540D",dataIndex:"number",width:"0.3rem",render:(ar,jr,Ta)=>{let xs=null;return Ta===0&&(xs=L.Z),Ta===1&&(xs=z.Z),Ta===2&&(xs=G.Z),Ta<3?ke.createElement("span",{className:_.recordPrefix},ke.createElement("img",{src:xs})):ke.createElement("span",null,Ta+1)}}],hi=[{title:"\u6392\u540D",dataIndex:"number",width:"0.3rem",render:(ar,jr,Ta)=>ke.createElement("span",null,Ta+1)}],Qi=[{title:"\u59D3\u540D",dataIndex:"name",width:"0.5rem",render:(ar,jr)=>ke.createElement(Z.Z,{title:ar},ar||"--")},{title:"\u5B66\u53F7",dataIndex:"student_id",width:"0.7rem",render:(ar,jr)=>ke.createElement("span",null,ar||"--")},{title:"\u5206\u73ED\u540D\u79F0",dataIndex:"course_group_name",width:"0.7rem"},{title:"\u5B8C\u6210\u7387",dataIndex:"finish_rate",width:"0.4rem",render:(ar,jr)=>ke.createElement("span",null,ar,"%")},{title:"\u5B8C\u6210\u6570",dataIndex:"finish_count",width:"0.48rem"},{title:"\u6536\u5230\u4F5C\u4E1A\u6570",dataIndex:"homeworks_count",width:"0.7rem"},{title:"\u5B9E\u8BAD\u4F5C\u4E1A\u5B8C\u6210\u7387",dataIndex:"shixun_finish_rate",width:"0.9rem",render:(ar,jr)=>ke.createElement("span",null,ar,"%")},{title:"\u7F16\u7A0B\u4F5C\u4E1A\u5B8C\u6210\u7387",dataIndex:"hack_finish_rate",width:"0.9rem",render:(ar,jr)=>ke.createElement("span",null,ar,"%")},{title:"\u56FE\u6587\u4F5C\u4E1A\u5B8C\u6210\u7387",dataIndex:"normal_finish_rate",width:"0.9rem",render:(ar,jr)=>ke.createElement("span",null,ar,"%")},{title:"\u5206\u7EC4\u4F5C\u4E1A\u5B8C\u6210\u7387",dataIndex:"group_finish_rate",width:"0.9rem",render:(ar,jr)=>ke.createElement("span",null,ar,"%")}],ss=[{title:"\u6392\u540D",dataIndex:"number",width:"0.3rem",render:(ar,jr,Ta)=>{let xs=null;return Ta===0&&(xs=L.Z),Ta===1&&(xs=z.Z),Ta===2&&(xs=G.Z),Ta<3?ke.createElement("span",{className:_.recordPrefix},ke.createElement("img",{src:xs})):ke.createElement("span",null,Ta+1)}},{title:"\u59D3\u540D",dataIndex:"name",width:"0.5rem",render:(ar,jr)=>ke.createElement(Z.Z,{title:ar},ar||"--")},{title:"\u5B66\u53F7",dataIndex:"student_id",width:"0.7rem",render:(ar,jr)=>ke.createElement("span",null,ar||"--")},{title:"\u5206\u73ED\u540D\u79F0",dataIndex:"course_group_name",width:"0.7rem"},{title:"\u63D0\u5347\u5EA6",dataIndex:"finish_up_rate",width:"0.4rem",render:(ar,jr)=>ke.createElement("span",null,ar,"%")},{title:"\u5B8C\u6210\u7387",dataIndex:"finish_rate",width:"0.48rem",render:(ar,jr)=>ke.createElement("span",null,ar,"%")},{title:"\u4F5C\u4E1A\u5B8C\u6210\u6570",dataIndex:"finish_count",width:"0.7rem"},{title:"\u5B9E\u8BAD\u4F5C\u4E1A\u63D0\u5347\u5EA6",dataIndex:"shixun_finish_up_rate",width:"0.9rem",render:(ar,jr)=>ar?At(ar):"--"},{title:"\u7F16\u7A0B\u4F5C\u4E1A\u63D0\u5347\u5EA6",dataIndex:"hack_finish_up_rate",width:"0.9rem",render:(ar,jr)=>ar?At(ar):"--"},{title:"\u56FE\u6587\u4F5C\u4E1A\u63D0\u5347\u5EA6",dataIndex:"normal_finish_up_rate",width:"0.9rem",render:(ar,jr)=>ar?At(ar):"--"},{title:"\u5206\u7EC4\u4F5C\u4E1A\u63D0\u5347\u5EA6",dataIndex:"group_finish_up_rate",width:"0.9rem",render:(ar,jr)=>ar?At(ar):"--"}];return ke.createElement(W.Z,{spinning:ir},ke.createElement("div",{style:{color:"#fff"}},ke.createElement("div",{className:_.title},"\u6240\u9009\u65F6\u95F4\u4F5C\u4E1A\u5B8C\u6210\u60C5\u51B5"),ke.createElement("div",{className:_.content},ke.createElement("div",{className:_.content_left},ke.createElement("div",{className:_.table_wrapper},ke.createElement("div",{className:_.table_scroll},ke.createElement("div",{className:_.table_content},ke.createElement("div",{className:_.table_row,style:{backgroundColor:"rgba(164,200,252,0.1)",color:"#A4C8FC",height:"0.4rem"}},ke.createElement("div",{className:_.table_cell,style:{width:"1.2rem"}},"\u4F5C\u4E1A\u5E73\u5747\u5B8C\u6210\u7387"),(Nn=($t=un==null?void 0:un.finish_rate)==null?void 0:$t.course_group_list)==null?void 0:Nn.map((ar,jr)=>ke.createElement("div",{className:_.table_cell,style:{width:"1.3rem"}},ke.createElement(Z.Z,{title:ar.course_group_name,placement:"topLeft"},ar.course_group_name)))),ke.createElement("div",{className:_.table_row},ke.createElement("div",{className:_.table_cell,style:{width:"1.2rem"}},ke.createElement("span",{className:_.rate},(wr=un==null?void 0:un.finish_rate)==null?void 0:wr.average_finish_rate,"%"),At((zr=un==null?void 0:un.finish_rate)==null?void 0:zr.average_finish_compare_rate)),(Rr=(Xn=un==null?void 0:un.finish_rate)==null?void 0:Xn.course_group_list)==null?void 0:Rr.map((ar,jr)=>ke.createElement("div",{className:_.table_cell,style:{width:"1.3rem"}},ke.createElement("span",{className:_.rate,style:{color:ar.is_max?"#05FF9A":ar.is_min?"#E61B80":"#fff"}},ar.rate,"%",ar.is_max?"(\u6700\u9AD8)":ar.is_min?"(\u6700\u4F4E)":""),At(ar.compare_rate))))))),ke.createElement("div",{className:_.echart_wrapper},ke.createElement("div",{className:_.chart_title_row},ke.createElement("div",{className:_.chart_title},"\u73ED\u7EA7\u4F5C\u4E1A\u5B8C\u6210\u7387\u5206\u6790\u56FE")),ke.createElement("div",{className:_.chart_content},(un==null?void 0:un.finish_rate)&&((Gi=(Zr=un==null?void 0:un.finish_rate)==null?void 0:Zr.course_group_list)==null?void 0:Gi.length)>0&&ke.createElement(A.Z,{option:{grid:{top:20,bottom:0,left:0,right:35,containLabel:!0},xAxis:{type:"category",data:(ya=(sa=un==null?void 0:un.finish_rate)==null?void 0:sa.course_group_list)==null?void 0:ya.map(ar=>ar.course_group_name),axisLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisTick:{show:!1},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",interval:0}},dataZoom:[U(Me({type:"slider"},((Sa=(Ri=un==null?void 0:un.finish_rate)==null?void 0:Ri.course_group_list)==null?void 0:Sa.length)>10?{start:0,end:15}:{}),{show:((oa=(zi=un==null?void 0:un.finish_rate)==null?void 0:zi.course_group_list)==null?void 0:oa.length)>10,xAxisIndex:[0],bottom:0,height:10,borderColor:"transparent",backgroundColor:"rgba(164, 200, 252, 0.1)",fillerColor:"rgba(3, 116, 234, 0.3)",handleStyle:{color:"#0374EA",borderColor:"#0374EA"},moveHandleStyle:{color:"#0374EA"},selectedDataBackground:{lineStyle:{color:"#0374EA"},areaStyle:{color:"#0374EA"}},textStyle:{color:"#A4C8FC"}})],yAxis:{type:"value",max:100,splitNumber:5,axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",formatter:"{value}%"}},series:[{data:(ra=(ji=un==null?void 0:un.finish_rate)==null?void 0:ji.course_group_list)==null?void 0:ra.map(ar=>ar.rate),type:"bar",barWidth:34,itemStyle:{color:"#B200EE"},label:{show:!0,position:"top",color:"#B200EE",fontSize:"0.14rem",formatter:"{c}%"},markLine:{silent:!0,symbol:"none",label:{show:!0,formatter:"\u5E73\u5747\u503C",position:"insideEnd",color:"#03FEF8",fontSize:"0.12rem",distance:[5,0]},lineStyle:{color:"#03FEF8",type:"dashed",width:1},data:[{yAxis:(Fi=un==null?void 0:un.finish_rate)==null?void 0:Fi.average_finish_rate,name:"\u5E73\u5747\u503C"}]}}]},style:{height:"2.28rem"}})))),ke.createElement("div",{className:_.content_right},ke.createElement("div",{className:_.table_wrapper},ke.createElement("div",{className:_.table_scroll},ke.createElement("div",{className:_.table_content},ke.createElement("div",{className:_.table_row,style:{backgroundColor:"rgba(164,200,252,0.1)",color:"#A4C8FC",height:"0.4rem"}},ke.createElement("div",{className:_.table_cell,style:{width:"1.32rem"}},"\u8BFE\u5802\u4F5C\u4E1A\u5E73\u5747\u5F97\u5206"),(Kr=(da=un==null?void 0:un.average_score)==null?void 0:da.course_group_list)==null?void 0:Kr.map((ar,jr)=>ke.createElement("div",{className:_.table_cell,style:{width:"1.3rem"}},ke.createElement(Z.Z,{title:ar.course_group_name,placement:"topLeft"},ar.course_group_name)))),ke.createElement("div",{className:_.table_row},ke.createElement("div",{className:_.table_cell,style:{width:"1.32rem"}},ke.createElement("span",{className:_.rate},(fa=un==null?void 0:un.average_score)==null?void 0:fa.average_score),At((kr=un==null?void 0:un.average_score)==null?void 0:kr.average_score_compare_rate,!0)),(rr=(_a=un==null?void 0:un.average_score)==null?void 0:_a.course_group_list)==null?void 0:rr.map((ar,jr)=>ke.createElement("div",{className:_.table_cell,style:{width:"1.3rem"}},ar!=null&&ar.compare_rate?ke.createElement("span",{className:_.rate,style:{color:ar.is_max?"#05FF9A":ar.is_min?"#E61B80":"#fff"}},ar.average_score,ar.is_max?"(\u6700\u9AD8)":ar.is_min?"(\u6700\u4F4E)":""):"",ar!=null&&ar.compare_rate?At(ar.compare_rate,!0):"--")))))),ke.createElement("div",{className:_.echart_wrapper},ke.createElement("div",{className:_.chart_title_row},ke.createElement("div",{className:_.chart_title},"\u73ED\u7EA7\u4F5C\u4E1A\u5E73\u5747\u5F97\u5206\u5206\u6790\u56FE"),ke.createElement("div",{className:_.chart_legend},ke.createElement("div",{className:_.legend_item},ke.createElement("div",{className:`${_.legend_dot} ${_.blue}`}),ke.createElement("span",{style:{color:"#0374EA"}},"\u6240\u9009\u65F6\u95F4")),ke.createElement("div",{className:_.legend_item},ke.createElement("div",{className:`${_.legend_dot} ${_.orange}`}),ke.createElement("span",{style:{color:"#FF8A01"}},"\u5BF9\u6BD4\u65F6\u95F4")))),ke.createElement("div",{className:_.chart_content},(un==null?void 0:un.average_score)&&((ia=(or=un==null?void 0:un.average_score)==null?void 0:or.course_group_list)==null?void 0:ia.length)>0&&ke.createElement(A.Z,{option:{grid:{top:20,bottom:0,left:0,right:50,containLabel:!0},legend:{show:!1},xAxis:{type:"category",data:(ba=(Fn=un==null?void 0:un.average_score)==null?void 0:Fn.course_group_list)==null?void 0:ba.map(ar=>ar.course_group_name),axisLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisTick:{show:!1},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",interval:0}},yAxis:{type:"value",max:100,splitNumber:5,axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",formatter:"{value}"}},dataZoom:[U(Me({type:"slider"},((xa=(Qr=un==null?void 0:un.average_score)==null?void 0:Qr.course_group_list)==null?void 0:xa.length)>10?{start:0,end:15}:{}),{show:(($i=(Vi=un==null?void 0:un.average_score)==null?void 0:Vi.course_group_list)==null?void 0:$i.length)>10,xAxisIndex:[0],bottom:0,height:10,borderColor:"transparent",backgroundColor:"rgba(164, 200, 252, 0.1)",fillerColor:"rgba(3, 116, 234, 0.3)",handleStyle:{color:"#0374EA",borderColor:"#0374EA"},moveHandleStyle:{color:"#0374EA"},selectedDataBackground:{lineStyle:{color:"#0374EA"},areaStyle:{color:"#0374EA"}},textStyle:{color:"#A4C8FC"}})],series:[{name:"\u6240\u9009\u65F6\u95F4",data:(Tr=(Pn=un==null?void 0:un.average_score)==null?void 0:Pn.course_group_list)==null?void 0:Tr.map(ar=>ar.average_score),type:"bar",barWidth:20,itemStyle:{color:"#0374EA"},label:{show:!0,position:"top",color:"#0374EA",fontSize:"0.12rem",formatter:"{c}"},markLine:{silent:!0,symbol:"none",data:[{yAxis:(Sn=un==null?void 0:un.average_score)==null?void 0:Sn.last_month_average_score,lineStyle:{color:"#FF8A01",type:"dashed",width:1},label:{show:!0,position:"end",formatter:"\u5BF9\u6BD4\u5E73\u5747",color:"#FF8A01",fontSize:"0.12rem",distance:[5,0]}},{yAxis:(Aa=un==null?void 0:un.average_score)==null?void 0:Aa.average_score,lineStyle:{color:"#0374EA",type:"dashed",width:1},label:{show:!0,position:"end",formatter:"\u6240\u9009\u5E73\u5747",color:"#0374EA",fontSize:"0.12rem",distance:[5,0]}}]}},{name:"\u5BF9\u6BD4\u65F6\u95F4",data:(Ia=(Wi=un==null?void 0:un.average_score)==null?void 0:Wi.course_group_list)==null?void 0:Ia.map(ar=>ar.last_month_average_score),type:"bar",barWidth:20,itemStyle:{color:"#FF8A01"},label:{show:!0,position:"top",color:"#FF8A01",fontSize:"0.12rem",formatter:"{c}"}}]},style:{height:"2.28rem"}})))),ke.createElement("div",{className:_.content_bottom},ke.createElement("div",{className:_.finish_top5},ke.createElement("div",{className:_.table_title,style:{background:"rgba(3,116,234,0.6)",borderColor:"#0374EA",width:"1.38rem"}},"\u4F5C\u4E1A\u5B8C\u6210\u5EA6\u6392\u540D\u524D5"),ke.createElement(St,{columns:Jr.concat(Qi),dataSource:(Fa=un==null?void 0:un.rank_list)==null?void 0:Fa.first_list,wrapperStyle:{fontSize:"0.12rem"}})),ke.createElement("div",{className:_.improve_top5},ke.createElement("div",{className:_.table_title,style:{background:"rgba(5,255,154,0.5)",borderColor:"#05FF9A",width:"1.62rem"}},"\u4F5C\u4E1A\u5B8C\u6210\u5EA6\u63D0\u5347\u6392\u540D\u524D5"),ke.createElement(St,{columns:ss,dataSource:(Xr=un==null?void 0:un.rank_list)==null?void 0:Xr.up_list,wrapperStyle:{fontSize:"0.12rem"}})),ke.createElement("div",{className:_.finish_last5,style:{marginTop:"0.1rem"}},ke.createElement("div",{className:_.table_title,style:{background:"rgba(230,27,128,0.6)",borderColor:"#E61B80",width:"1.38rem"}},"\u4F5C\u4E1A\u5B8C\u6210\u5EA6\u6392\u540D\u540E5"),ke.createElement(St,{columns:hi.concat(Qi),dataSource:(ki=un==null?void 0:un.rank_list)==null?void 0:ki.last_list,wrapperStyle:{fontSize:"0.12rem"}})),ke.createElement("div",{className:_.suggestion},ke.createElement("div",{className:_.head},ke.createElement("div",null,"\u603B\u7ED3\u5EFA\u8BAE"),ke.createElement("div",null,ke.createElement("span",{onClick:()=>{Un({type:"classroomList/setActionTabs",payload:{key:"\u7F16\u8F91\u603B\u7ED3",statis_type:"homework",content:un==null?void 0:un.summary_recommendations}})},className:_.bianji},ke.createElement("i",{className:"iconfont icon-bianji15 font12"}),"\u7F16\u8F91"))),ke.createElement("div",{className:_.content},ke.createElement(K.Z,{style:{color:"#fff"},value:un==null?void 0:un.summary_recommendations})))))))};var xe=(0,ie.connect)(({shixunsDetail:Ft,loading:Zt,globalSetting:Gt})=>({shixunsDetail:Ft,globalSetting:Gt,loading:Zt.models.index}))(Te),ae=h(59301),Fe=Object.defineProperty,nt=Object.defineProperties,se=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,xt=(Ft,Zt,Gt)=>Zt in Ft?Fe(Ft,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ft[Zt]=Gt,gt=(Ft,Zt)=>{for(var Gt in Zt||(Zt={}))vt.call(Zt,Gt)&&xt(Ft,Gt,Zt[Gt]);if(me)for(var Gt of me(Zt))ft.call(Zt,Gt)&&xt(Ft,Gt,Zt[Gt]);return Ft},tt=(Ft,Zt)=>nt(Ft,se(Zt)),Pt=(Ft,Zt)=>{var Gt={};for(var Zn in Ft)vt.call(Ft,Zn)&&Zt.indexOf(Zn)<0&&(Gt[Zn]=Ft[Zn]);if(Ft!=null&&me)for(var Zn of me(Ft))Zt.indexOf(Zn)<0&&ft.call(Ft,Zn)&&(Gt[Zn]=Ft[Zn]);return Gt},_t=(Ft,Zt,Gt)=>new Promise((Zn,sr)=>{var Un=$t=>{try{hn(Gt.next($t))}catch(Nn){sr(Nn)}},en=$t=>{try{hn(Gt.throw($t))}catch(Nn){sr(Nn)}},hn=$t=>$t.done?Zn($t.value):Promise.resolve($t.value).then(Un,en);hn((Gt=Gt.apply(Ft,Zt)).next())});const Ae=Ft=>{var Zt=Ft,{shixunsDetail:Gt,globalSetting:Zn,loading:sr,dispatch:Un,paramsObj:en}=Zt,hn=Pt(Zt,["shixunsDetail","globalSetting","loading","dispatch","paramsObj"]),$t,Nn,wr,zr,Xn,Rr,Zr,Gi,sa,ya,Ri,Sa,zi,oa,ji,ra,Fi,da,Kr,fa,kr,_a,rr,or,ia,Fn,ba,Qr,xa,Vi;const $i=(0,ie.useParams)(),[Pn,Tr]=(0,c.useState)({}),[Sn,Aa]=(0,c.useState)(!1);(0,c.useEffect)(()=>{Wi()},[en]);const Wi=()=>_t(void 0,null,function*(){Aa(!0);const un=yield(0,P.ZP)(`/api/courses/${$i==null?void 0:$i.coursesId}/statistics/exercises.json`,{method:"get",params:gt({},en)});(un==null?void 0:un.status)==0&&Tr(un==null?void 0:un.data),Aa(!1)}),Ia=()=>ae.createElement("div",{className:_.rank_wrapper,style:{fontSize:"0.12rem"}},ae.createElement("div",{className:_.rank_title},"\u6240\u9009\u8303\u56F4\u5728\u7EBF\u8003\u8BD5\u60C5\u51B5"),ae.createElement("div",{className:_.rank_table},ae.createElement("div",{className:_.rank_header},ae.createElement("div",{className:_.rank_cell,style:{width:"0.3rem"}},"\u6392\u540D"),ae.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},"\u59D3\u540D"),ae.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},"\u5B66\u53F7"),ae.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},"\u5206\u73ED\u540D\u79F0"),ae.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},"\u5E73\u5747\u5206\u6570"),ae.createElement("div",{className:_.rank_cell,style:{width:"0.88rem"}},"\u53C2\u4E0E\u8003\u8BD5\u573A\u6B21"),ae.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},"\u6700\u9AD8\u6210\u7EE9"),ae.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},"\u6700\u4F4E\u6210\u7EE9"),ae.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},"\u4F5C\u4E1A\u5B8C\u6210\u7387"),ae.createElement("div",{className:_.rank_cell,style:{width:"0.8rem"}},"\u4F5C\u4E1A\u5E73\u5747\u5F97\u5206")),ae.createElement("div",{className:_.rank_body},[{rank:1,name:"\u9648\u5927\u53EA",id:"202011450",class:"\u672A\u5206\u73ED",rate:"80.0%",finished:"1176",total:"2000",training:"80.0%",coding:"80.0%",image:"80.0%",group:"80.0%"},{rank:2,name:"\u674E\u5C0F\u53EA",id:"202011450",class:"\u73ED\u7EA7\u4E00",rate:"71.5%",finished:"852",total:"2000",training:"71.5%",coding:"71.5%",image:"71.5%",group:"71.5%"}].map((un,bi)=>{let ir;return bi===0&&(ir=L.Z),bi===1&&(ir=z.Z),bi===2&&(ir=G.Z),ae.createElement("div",{key:bi,className:_.rank_row},ae.createElement("div",{className:_.rank_cell,style:{width:"0.3rem"}},un.rank<=3?ae.createElement("span",{className:_.recordPrefix},ae.createElement("img",{src:ir})):ae.createElement("span",null,un.rank)),ae.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},un.name),ae.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},un.id),ae.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},un.class),ae.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},un.rate),ae.createElement("div",{className:_.rank_cell,style:{width:"0.88rem"}},un.finished),ae.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},un.total),ae.createElement("div",{className:_.rank_cell,style:{width:"0.7rem"}},un.training),ae.createElement("div",{className:_.rank_cell,style:{width:"0.9rem"}},un.coding),ae.createElement("div",{className:_.rank_cell,style:{width:"0.8rem"}},un.image))})))),Fa=[{title:"\u6392\u540D",dataIndex:"number",width:"0.3rem",render:(un,bi,ir)=>{let Oi=null;return ir===0&&(Oi=L.Z),ir===1&&(Oi=z.Z),ir===2&&(Oi=G.Z),ir<3?ae.createElement("span",{className:_.recordPrefix},ae.createElement("img",{src:Oi})):ae.createElement("span",null,ir+1)}}],Xr=[{title:"\u6392\u540D",dataIndex:"number",width:"0.3rem",render:(un,bi,ir)=>ae.createElement("span",null,ir+1)}],ki=[{title:"\u59D3\u540D",dataIndex:"name",width:"0.7rem",render:(un,bi)=>ae.createElement(Z.Z,{title:un},un||"--")},{title:"\u5B66\u53F7",dataIndex:"student_id",width:"0.9rem",render:(un,bi)=>ae.createElement("span",null,un||"--")},{title:"\u5206\u73ED\u540D\u79F0",dataIndex:"course_group_name",width:"0.9rem",render:(un,bi)=>ae.createElement("span",null,un||"--")},{title:"\u5E73\u5747\u5206\u6570",dataIndex:"average_score",width:"0.7rem"},{title:"\u53C2\u4E0E\u8003\u8BD5\u573A\u6B21",dataIndex:"join_exercise_count",width:"0.88rem"},{title:"\u6700\u9AD8\u6210\u7EE9",dataIndex:"max_score",width:"0.7rem"},{title:"\u6700\u4F4E\u6210\u7EE9",dataIndex:"min_score",width:"0.7rem"},{title:"\u4F5C\u4E1A\u5B8C\u6210\u7387",dataIndex:"homework_finish_rate",width:"0.9rem",render:(un,bi)=>ae.createElement("span",null,un,"%")},{title:"\u4F5C\u4E1A\u5E73\u5747\u5F97\u5206",dataIndex:"homework_average_score",width:"0.8rem"}],Ur=[{title:"\u6392\u540D",dataIndex:"number",width:"0.3rem",render:(un,bi,ir)=>{let Oi=null;return ir===0&&(Oi=L.Z),ir===1&&(Oi=z.Z),ir===2&&(Oi=G.Z),ir<3?ae.createElement("span",{className:_.recordPrefix},ae.createElement("img",{src:Oi})):ae.createElement("span",null,ir+1)}},{title:"\u59D3\u540D",dataIndex:"name",width:"0.7rem",render:(un,bi)=>ae.createElement(Z.Z,{title:un},un||"--")},{title:"\u5B66\u53F7",dataIndex:"student_id",width:"0.9rem",render:(un,bi)=>ae.createElement("span",null,un||"--")},{title:"\u5206\u73ED\u540D\u79F0",dataIndex:"course_group_name",width:"0.9rem",render:(un,bi)=>ae.createElement("span",null,un||"--")},{title:"\u63D0\u5347\u5206\u6570",dataIndex:"up_score",width:"0.7rem"},{title:"\u5E73\u5747\u5206\u6570",dataIndex:"average_score",width:"0.7rem"},{title:"\u53C2\u4E0E\u8003\u8BD5\u573A\u6B21",dataIndex:"join_exercise_count",width:"0.88rem"},{title:"\u4F5C\u4E1A\u5B8C\u6210\u7387\u63D0\u5347\u5EA6",dataIndex:"homework_finish_up_rate",width:"1.2rem",render:un=>un?At(un):"--"},{title:"\u4F5C\u4E1A\u5E73\u5747\u5206\u63D0\u5347\u5EA6",dataIndex:"homework_average_up_score",width:"1.2rem",render:un=>un?At(un,!0):"--"}];return ae.createElement(W.Z,{spinning:Sn},ae.createElement("div",{style:{color:"#fff"}},ae.createElement("div",{className:_.title},"\u6240\u9009\u8303\u56F4\u5728\u7EBF\u8003\u8BD5\u60C5\u51B5"),ae.createElement("div",{className:_.content},ae.createElement("div",{className:_.content_left},ae.createElement("div",{className:_.table_wrapper},ae.createElement("div",{className:_.table_scroll},ae.createElement("div",{className:`${_.table_content} ${_.table_content_exam}`},ae.createElement("div",{className:_.table_row,style:{backgroundColor:"rgba(164,200,252,0.1)",color:"#A4C8FC",height:"0.4rem"}},ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},"\u8003\u8BD5\u573A\u6B21"),ae.createElement("div",{className:_.table_cell,style:{width:"1.25rem"}},"\u8003\u8BD5\u5E73\u5747\u5206"),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},"\u6700\u9AD8\u5206"),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},"\u6700\u4F4E\u5206"),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},"\u4F18\u79C0\u7387"),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},"\u826F\u597D\u7387"),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},"\u53CA\u683C\u7387"),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},"\u4E0D\u53CA\u683C\u7387")),ae.createElement("div",{className:_.table_row},ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},ae.createElement("span",{className:_.rate},($t=Pn==null?void 0:Pn.exercises_info)==null?void 0:$t.count)),ae.createElement("div",{className:_.table_cell,style:{width:"1.25rem"}},ae.createElement("span",{className:_.rate},(Nn=Pn==null?void 0:Pn.exercises_info)==null?void 0:Nn.average_score),At((wr=Pn==null?void 0:Pn.exercises_info)==null?void 0:wr.average_score_compare_rate,!0)),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},ae.createElement("span",{className:_.rate},(zr=Pn==null?void 0:Pn.exercises_info)==null?void 0:zr.max_score)),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},ae.createElement("span",{className:_.rate},(Xn=Pn==null?void 0:Pn.exercises_info)==null?void 0:Xn.min_score)),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},ae.createElement("span",{className:_.rate},(Rr=Pn==null?void 0:Pn.exercises_info)==null?void 0:Rr.best_rate,"%"),At((Zr=Pn==null?void 0:Pn.exercises_info)==null?void 0:Zr.best_compare_rate)),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},ae.createElement("span",{className:_.rate},(Gi=Pn==null?void 0:Pn.exercises_info)==null?void 0:Gi.good_rate,"%"),At((sa=Pn==null?void 0:Pn.exercises_info)==null?void 0:sa.good_compare_rate)),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},ae.createElement("span",{className:_.rate},(ya=Pn==null?void 0:Pn.exercises_info)==null?void 0:ya.pass_rate,"%"),At((Ri=Pn==null?void 0:Pn.exercises_info)==null?void 0:Ri.pass_compare_rate)),ae.createElement("div",{className:_.table_cell,style:{width:"1rem"}},ae.createElement("span",{className:_.rate},(Sa=Pn==null?void 0:Pn.exercises_info)==null?void 0:Sa.fail_rate,"%"),At((zi=Pn==null?void 0:Pn.exercises_info)==null?void 0:zi.fail_compare_rate,!1,!0)))))),ae.createElement("div",{className:_.echart_wrapper_exam},ae.createElement("div",{className:_.chart_content},(Pn==null?void 0:Pn.exercises_info)&&ae.createElement(A.Z,{option:{tooltip:{trigger:"item"},legend:{orient:"vertical",right:"0%",top:"center",itemGap:24,itemWidth:8,itemHeight:8,icon:"circle",formatter:un=>{var bi,ir,Oi,wn;const Jr=[{name:"\u4F18\u79C0\u7387",value:(bi=Pn==null?void 0:Pn.exercises_info)==null?void 0:bi.best_rate},{name:"\u826F\u597D\u7387",value:(ir=Pn==null?void 0:Pn.exercises_info)==null?void 0:ir.good_rate},{name:"\u53CA\u683C\u7387",value:(Oi=Pn==null?void 0:Pn.exercises_info)==null?void 0:Oi.pass_rate},{name:"\u4E0D\u53CA\u683C\u7387",value:(wn=Pn==null?void 0:Pn.exercises_info)==null?void 0:wn.fail_rate}].find(hi=>hi.name===un);return`${un} ${Jr==null?void 0:Jr.value}%`},textStyle:{color:"#A4C8FC",fontSize:14,rich:{value:{color:"#fff",fontSize:14,fontWeight:400}}}},color:["#B200EE","#02CC8A","#0374EA","#FF8A01"],series:[{type:"pie",radius:["40%","80%"],center:["30%","50%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:[{value:(oa=Pn==null?void 0:Pn.exercises_info)==null?void 0:oa.best_rate,name:"\u4F18\u79C0\u7387"},{value:(ji=Pn==null?void 0:Pn.exercises_info)==null?void 0:ji.good_rate,name:"\u826F\u597D\u7387"},{value:(ra=Pn==null?void 0:Pn.exercises_info)==null?void 0:ra.pass_rate,name:"\u53CA\u683C\u7387"},{value:(Fi=Pn==null?void 0:Pn.exercises_info)==null?void 0:Fi.fail_rate,name:"\u4E0D\u53CA\u683C\u7387"}]}]},style:{height:"2.11rem"}})))),ae.createElement("div",{className:_.content_right},ae.createElement("div",{className:_.table_wrapper},ae.createElement("div",{className:_.table_scroll},ae.createElement("div",{className:_.table_content},ae.createElement("div",{className:_.table_row,style:{backgroundColor:"rgba(164,200,252,0.1)",color:"#A4C8FC",height:"0.4rem"}},(da=Pn==null?void 0:Pn.course_group_score_list)==null?void 0:da.map((un,bi)=>ae.createElement("div",{className:_.table_cell,style:{width:"1.3rem"}},ae.createElement(Z.Z,{title:un.course_group_name,placement:"topLeft"},un.course_group_name)))),ae.createElement("div",{className:_.table_row},(Kr=Pn==null?void 0:Pn.course_group_score_list)==null?void 0:Kr.map((un,bi)=>ae.createElement("div",{className:_.table_cell,style:{width:"1.3rem"}},ae.createElement("span",{className:_.rate,style:{color:un.is_max?"#05FF9A":un.is_min?"#E61B80":"#fff"}},un.score,un.is_max?"(\u6700\u9AD8)":un.is_min?"(\u6700\u4F4E)":""),At(un.compare_rate,!0))))))),ae.createElement("div",{className:_.echart_wrapper},ae.createElement("div",{className:_.chart_title_row},ae.createElement("div",{className:_.chart_title},"\u5206\u73ED\u8003\u8BD5\u6210\u7EE9\u5206\u5E03\u60C5\u51B5"),ae.createElement("div",{className:_.chart_legend},ae.createElement("div",{className:_.legend_item},ae.createElement("div",{className:`${_.legend_dot} ${_.green}`}),ae.createElement("span",{style:{color:"#05FF9A"}},"\u6240\u9009\u65F6\u95F4")),ae.createElement("div",{className:_.legend_item},ae.createElement("div",{className:`${_.legend_dot} ${_.purple}`}),ae.createElement("span",{style:{color:"#A4C8FC"}},"\u5BF9\u6BD4\u65F6\u95F4")))),ae.createElement("div",{className:_.chart_content},((fa=Pn==null?void 0:Pn.course_group_score_list)==null?void 0:fa.length)>0&&ae.createElement(A.Z,{option:{grid:{top:15,bottom:0,left:0,right:50,containLabel:!0},legend:{show:!1},xAxis:{type:"category",data:(kr=Pn==null?void 0:Pn.course_group_score_list)==null?void 0:kr.map(un=>un.course_group_name),axisLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisTick:{show:!1},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",interval:0}},dataZoom:[tt(gt({type:"slider"},((_a=Pn==null?void 0:Pn.course_group_score_list)==null?void 0:_a.length)>10?{start:0,end:15}:{}),{show:((rr=Pn==null?void 0:Pn.course_group_score_list)==null?void 0:rr.length)>10,xAxisIndex:[0],bottom:0,height:10,borderColor:"transparent",backgroundColor:"rgba(164, 200, 252, 0.1)",fillerColor:"rgba(3, 116, 234, 0.3)",handleStyle:{color:"#0374EA",borderColor:"#0374EA"},moveHandleStyle:{color:"#0374EA"},selectedDataBackground:{lineStyle:{color:"#0374EA"},areaStyle:{color:"#0374EA"}},textStyle:{color:"#A4C8FC"}})],yAxis:{type:"value",max:100,splitNumber:5,axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",formatter:"{value}%"}},series:[{name:"\u6240\u9009\u65F6\u95F4",data:(or=Pn==null?void 0:Pn.course_group_score_list)==null?void 0:or.map(un=>un.score),type:"bar",barWidth:20,itemStyle:{color:"#05FF9A"},label:{show:!0,position:"top",color:"#05FF9A",fontSize:"0.14rem",formatter:"{c}"},markLine:{silent:!0,symbol:"none",data:[{yAxis:(ia=Pn==null?void 0:Pn.exercises_info)==null?void 0:ia.last_month_average_score,lineStyle:{color:"#A4C8FC",type:"dashed",width:1},label:{show:!0,position:"end",formatter:"\u5BF9\u6BD4\u5E73\u5747",color:"#A4C8FC",fontSize:"0.12rem",distance:[5,0]}},{yAxis:(Fn=Pn==null?void 0:Pn.exercises_info)==null?void 0:Fn.average_score,lineStyle:{color:"#05FF9A",type:"dashed",width:1},label:{show:!0,position:"end",formatter:"\u6240\u9009\u5E73\u5747",color:"#05FF9A",fontSize:"0.12rem",distance:[5,0]}}]}},{name:"\u5BF9\u6BD4\u65F6\u95F4",data:(ba=Pn==null?void 0:Pn.course_group_score_list)==null?void 0:ba.map(un=>un.last_month_score),type:"bar",barWidth:20,itemStyle:{color:"#A4C8FC"},label:{show:!0,position:"top",color:"#A4C8FC",fontSize:"0.14rem",formatter:"{c}"}}]},style:{height:"2.28rem"}})))),ae.createElement("div",{className:_.content_bottom},ae.createElement("div",{className:_.finish_top5},ae.createElement("div",{className:_.table_title,style:{background:"rgba(3,116,234,0.6)",borderColor:"#0374EA",width:"1.38rem"}},"\u8003\u8BD5\u5B8C\u6210\u5EA6\u6392\u540D\u524D5"),ae.createElement(St,{columns:Fa.concat(ki),dataSource:(Qr=Pn==null?void 0:Pn.rank_list)==null?void 0:Qr.first_list,wrapperStyle:{fontSize:"0.12rem"}})),ae.createElement("div",{className:_.improve_top5},ae.createElement("div",{className:_.table_title,style:{background:"rgba(5,255,154,0.5)",borderColor:"#05FF9A",width:"1.62rem"}},"\u8003\u8BD5\u5B8C\u6210\u5EA6\u63D0\u5347\u6392\u540D\u524D5"),ae.createElement(St,{columns:Ur,dataSource:(xa=Pn==null?void 0:Pn.rank_list)==null?void 0:xa.up_list,wrapperStyle:{fontSize:"0.12rem"}})),ae.createElement("div",{className:_.finish_last5,style:{marginTop:"0.1rem"}},ae.createElement("div",{className:_.table_title,style:{background:"rgba(230,27,128,0.6)",borderColor:"#E61B80",width:"1.38rem"}},"\u8003\u8BD5\u5B8C\u6210\u5EA6\u6392\u540D\u540E5"),ae.createElement(St,{columns:Xr.concat(ki),dataSource:(Vi=Pn==null?void 0:Pn.rank_list)==null?void 0:Vi.last_list,wrapperStyle:{fontSize:"0.12rem"}})),ae.createElement("div",{className:_.suggestion},ae.createElement("div",{className:_.head},ae.createElement("div",null,"\u603B\u7ED3\u5EFA\u8BAE"),ae.createElement("div",null,ae.createElement("span",{onClick:()=>{Un({type:"classroomList/setActionTabs",payload:{key:"\u7F16\u8F91\u603B\u7ED3",statis_type:"exercise",content:Pn==null?void 0:Pn.summary_recommendations}})},className:_.bianji},ae.createElement("i",{className:"iconfont icon-bianji15 font12"}),"\u7F16\u8F91"))),ae.createElement("div",{className:_.content},ae.createElement(K.Z,{style:{color:"#fff"},value:Pn==null?void 0:Pn.summary_recommendations})))))))};var et=(0,ie.connect)(({shixunsDetail:Ft,loading:Zt,globalSetting:Gt})=>({shixunsDetail:Ft,globalSetting:Gt,loading:Zt.models.index}))(Ae),E={title:"title___AsxAu",table_wrapper:"table_wrapper___VYEe9",table_scroll:"table_scroll___Qafz1",table_content:"table_content___jdW2n",table_row:"table_row___ZSqsO",table_cell:"table_cell___L5X0h",rate:"rate___Rocle",trend:"trend___kt9fu",flexbox:"flexbox___qOn2X",echart_wrapper:"echart_wrapper___PWtnF",chart_title_row:"chart_title_row___hS7R3",chart_title:"chart_title___kEuNH",chart_legend:"chart_legend___dznBk",legend_item:"legend_item___ZvQri",legend_dot:"legend_dot___PwOa8",blue:"blue___T46Ek",orange:"orange___SO8ie",green:"green___I6z9Q",purple:"purple___R5ZeS",rank_wrapper:"rank_wrapper___crGVd",rank_title:"rank_title___aVpQ5",rank_table:"rank_table___aGk3i",rank_header:"rank_header___pZkPe",rank_cell:"rank_cell___f_dWR",rank_body:"rank_body___hBfvu",rank_row:"rank_row___Djwob",rank_icon:"rank_icon___rQz69",rank_1:"rank_1___LNjlJ",rank_2:"rank_2___u9nB9",rank_3:"rank_3___UO1F6",content:"content___wewVV",content_bottom:"content_bottom___eySUf",table_title:"table_title___BPvXa",suggestion:"suggestion___iV3g4",head:"head___XubKz",bianji:"bianji___CY8Ph",no_data:"no_data___usHRs",content_left:"content_left___KP7Dm",scores_container:"scores_container___dzV0Q",score_card:"score_card___VONV5",img_box:"img_box___l90lg",score_title:"score_title___pDQKv",score_content:"score_content___pt4Pz",score_value:"score_value___UNn3U",score_trend:"score_trend___x2IGU",score_compare:"score_compare___s4P2X",content_right:"content_right___bB37R",content_right_left:"content_right_left___kwCB7",content_right_left_title:"content_right_left_title___BMpgG",content_right_right:"content_right_right___LrmgP",content_right_right_title:"content_right_right_title___jjOXE",flex_box:"flex_box___BHNcX"},D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAABICAYAAABcBhM9AAAAAXNSR0IArs4c6QAAHxBJREFUeF7tfHuUZVV55/d9+3HOubeququq3/SDNzSM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t4wwd+gepIh7mDjrySBF2S7pgN50+Rzfd56ltnDlgC0lBAXBfAPiuqBf+Ii9+/CTo5nR+L6G4Y3T5JmVc8dtf6hQ4rAbJYol4PwOSc/jO8Hc+V/OTPb0DljS6R1XDgv67Yd7Ze8wznXVwEWa+J+L3EtLkZzyhnv3kkFE8O3ze/XvM55XmXl9nWc4L+07wJuH4953Aa515ayD2NAa/YLn5vEKo/hOfsV+wkL+fAK7UKvJzj/U2M9bcxTsYvB9M8k7ZTNaOcCXP0n2Ybil8c1DLXf0qrtTut/+yaGfhP8fr/lwfcdEbMZ7WGujNigoNJBNA0N6wb04RZjq+u2rJ5JgEWmNaY58+/6j5NfJbnzpW6DhdjtC655Fo3abAQCGivzuopq2HKncu7DVea5xkJWGCahBwtLkVxxSvGtoZV36DP/Yu7DFe7oWcsYMNJDzKCtwI/PWhYWYuga//eVFG/S4+7h41yaw9q9jjjATsJnCTsORdgOR/Ck2ynfjhrpasXPQsep+IACful1+t0QTrjfdhaF+JvJ1r18T9HgQ6AzOA5huYpxnhc/crL/783/l9fwsoHeT0mAgAAAABJRU5ErkJggg==",q=h(59301),jt=Object.defineProperty,Ue=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,de=(Ft,Zt,Gt)=>Zt in Ft?jt(Ft,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ft[Zt]=Gt,be=(Ft,Zt)=>{for(var Gt in Zt||(Zt={}))st.call(Zt,Gt)&&de(Ft,Gt,Zt[Gt]);if(Ue)for(var Gt of Ue(Zt))ht.call(Zt,Gt)&&de(Ft,Gt,Zt[Gt]);return Ft},We=(Ft,Zt)=>{var Gt={};for(var Zn in Ft)st.call(Ft,Zn)&&Zt.indexOf(Zn)<0&&(Gt[Zn]=Ft[Zn]);if(Ft!=null&&Ue)for(var Zn of Ue(Ft))Zt.indexOf(Zn)<0&&ht.call(Ft,Zn)&&(Gt[Zn]=Ft[Zn]);return Gt},Ze=(Ft,Zt,Gt)=>new Promise((Zn,sr)=>{var Un=$t=>{try{hn(Gt.next($t))}catch(Nn){sr(Nn)}},en=$t=>{try{hn(Gt.throw($t))}catch(Nn){sr(Nn)}},hn=$t=>$t.done?Zn($t.value):Promise.resolve($t.value).then(Un,en);hn((Gt=Gt.apply(Ft,Zt)).next())});const Q=Ft=>{var Zt=Ft,{shixunsDetail:Gt,globalSetting:Zn,loading:sr,dispatch:Un,paramsObj:en}=Zt,hn=We(Zt,["shixunsDetail","globalSetting","loading","dispatch","paramsObj"]),$t,Nn,wr,zr,Xn,Rr,Zr,Gi,sa,ya,Ri,Sa,zi,oa,ji,ra,Fi,da,Kr,fa,kr;const _a=(0,ie.useParams)(),[rr,or]=(0,c.useState)({}),[ia,Fn]=(0,c.useState)(!1);(0,c.useEffect)(()=>{ba()},[en]);const ba=()=>Ze(void 0,null,function*(){Fn(!0);const Tr=yield(0,P.ZP)(`/api/courses/${_a==null?void 0:_a.coursesId}/statistics/studies.json`,{method:"get",params:be({},en)});(Tr==null?void 0:Tr.status)==0&&or(Tr==null?void 0:Tr.data),Fn(!1)}),Qr=[{title:"",dataIndex:"course_group_name",width:"1rem",marginLeft:"0rem",extraStyle:{background:"rgba(164, 200, 252, 0.1)",height:"0.4rem",lineHeight:"0.4rem",paddingLeft:"0.3rem",marginLeft:0}},{title:"\u5206\u73ED\u4EBA\u6570",dataIndex:"students_count",width:"1rem",marginLeft:"0.3rem"},{title:"\u89C6\u9891\u5B8C\u6210\u5EA6",dataIndex:"videos_finish_rate",width:"1rem",render:(Tr,Sn)=>q.createElement("div",{className:E.flex_box},q.createElement("span",null,Tr,"%"),At(Sn==null?void 0:Sn.video_finish_compare_rate))},{title:"\u89C6\u9891\u4E0A\u4F20\u6570",dataIndex:"videos_count",width:"1rem"},{title:"\u89C2\u770B\u4EBA\u6B21",dataIndex:"video_watch_person_count",width:"0.8rem",render:(Tr,Sn)=>q.createElement("div",{className:E.flex_box},q.createElement("span",{className:E.rate},Tr),At(Sn==null?void 0:Sn.videos_watch_person_count_compare_rate))},{title:"\u89C2\u770B\u603B\u65F6\u957F",dataIndex:"videos_watch_second",width:"1rem"},{title:"\u6559\u5B66\u8D44\u6599\u4E0B\u8F7D\u5B8C\u6210\u5EA6",dataIndex:"files_download_rate",width:"1.5rem",render:(Tr,Sn)=>q.createElement("div",{className:E.flex_box},q.createElement("span",{className:E.rate},Tr,"%"),At(Sn==null?void 0:Sn.files_download_compare_rate))},{title:"\u5DF2\u53D1\u5E03\u8D44\u6599\u6570",dataIndex:"files_count",width:"1.1rem"},{title:"\u8D44\u6599\u4E0B\u8F7D\u6B21\u6570",dataIndex:"files_download_count",width:"1.1rem"},{title:"\u5E16\u5B50\u4E92\u52A8\u7387",dataIndex:"messages_reply_rate",width:"1rem",render:(Tr,Sn)=>q.createElement("div",{className:E.flex_box},q.createElement("span",{className:E.rate},Tr,"%"),At(Sn==null?void 0:Sn.messages_reply_compare_rate))},{title:"\u5E16\u5B50\u53D1\u5E03\u6570",dataIndex:"messages_count",width:"1rem"},{title:"\u56DE\u590D\u603B\u6570",dataIndex:"messages_reply_count",width:"0.7rem"}],xa=[{title:"\u6392\u540D",dataIndex:"number",width:"0.45rem",marginLeft:"0.2rem",render:(Tr,Sn,Aa)=>{let Wi=null;return Aa===0&&(Wi=L.Z),Aa===1&&(Wi=z.Z),Aa===2&&(Wi=G.Z),Aa<3?q.createElement("span",{className:E.recordPrefix},q.createElement("img",{src:Wi})):q.createElement("span",null,Aa+1)}}],Vi=[{title:"\u6392\u540D",dataIndex:"number",width:"0.45rem",marginLeft:"0.2rem",render:(Tr,Sn,Aa)=>q.createElement("span",null,Aa+1)}],$i=[{title:"\u59D3\u540D",dataIndex:"name",width:"0.55rem",render:(Tr,Sn)=>q.createElement(Z.Z,{title:Tr},Tr||"--")},{title:"\u5B66\u53F7",dataIndex:"student_id",width:"0.8rem",render:(Tr,Sn)=>q.createElement(Z.Z,{title:Tr||"--"},q.createElement("span",null,Tr||"--"))},{title:"\u5206\u73ED\u540D\u79F0",dataIndex:"course_group_name",width:"0.68rem"},{title:"\u89C6\u9891\u5B8C\u6210\u5EA6",dataIndex:"videos_finish_rate",width:"0.8rem",render:(Tr,Sn)=>q.createElement("span",null,Tr,"%")},{title:"\u89C6\u9891\u5B66\u4E60\u65F6\u957F",dataIndex:"videos_watch_second",width:"0.9rem"},{title:"\u8D44\u6599\u4E0B\u8F7D\u5B8C\u6210\u5EA6",dataIndex:"files_download_rate",width:"1.05rem",render:(Tr,Sn)=>q.createElement("span",null,Tr,"%")},{title:"\u8D44\u6599\u4E0B\u8F7D\u6B21\u6570",dataIndex:"files_download_count",width:"0.9rem"},{title:"\u4E92\u52A8\u5360\u6BD4",dataIndex:"messages_reply_rate",width:"0.6rem",render:(Tr,Sn)=>q.createElement("span",null,Tr,"%")},{title:"\u4E92\u52A8\u6570",dataIndex:"messages_reply_count",width:"0.55rem"}],Pn=[{title:"\u6392\u540D",dataIndex:"number",width:"0.45rem",marginLeft:"0.2rem",render:(Tr,Sn,Aa)=>{let Wi=null;return Aa===0&&(Wi=L.Z),Aa===1&&(Wi=z.Z),Aa===2&&(Wi=G.Z),Aa<3?q.createElement("span",{className:E.recordPrefix},q.createElement("img",{src:Wi})):q.createElement("span",null,Aa+1)}},{title:"\u59D3\u540D",dataIndex:"name",width:"0.55rem",render:(Tr,Sn)=>q.createElement(Z.Z,{title:Tr},Tr||"--")},{title:"\u5B66\u53F7",dataIndex:"student_id",width:"0.8rem",render:(Tr,Sn)=>q.createElement(Z.Z,{title:Tr||"--"},q.createElement("span",null,Tr||"--"))},{title:"\u5206\u73ED\u540D\u79F0",dataIndex:"course_group_name",width:"0.68rem"},{title:"\u89C6\u9891\u5B8C\u6210\u5EA6\u63D0\u5347",dataIndex:"videos_finish_up_rate",width:"0.85rem",render:(Tr,Sn)=>(console.log("---\u89C6\u9891\u5B8C\u6210\u5EA6\u63D0\u5347",Tr),Tr?At(Tr):"--")},{title:"\u89C6\u9891\u5B8C\u6210\u5EA6",dataIndex:"videos_finish_rate",width:"0.7rem",render:(Tr,Sn)=>q.createElement("span",null,Tr,"%")},{title:"\u8D44\u6599\u4E0B\u8F7D\u5B8C\u6210\u5EA6\u63D0\u5347",dataIndex:"files_download_up_rate",width:"1.08rem",render:(Tr,Sn)=>Tr?At(Tr):"--"},{title:"\u8D44\u6599\u4E0B\u8F7D\u6B21\u6570",dataIndex:"files_download_count",width:"0.8rem"},{title:"\u4E92\u52A8\u5360\u6BD4\u63D0\u5347",dataIndex:"messages_reply_up_rate",width:"0.8rem",render:(Tr,Sn)=>At(Tr)},{title:"\u4E92\u52A8\u6570",dataIndex:"messages_reply_count",width:"0.55rem"}];return q.createElement(W.Z,{spinning:ia},q.createElement("div",{style:{color:"#fff"}},q.createElement("div",{className:E.title},"\u6240\u9009\u65F6\u95F4\u81EA\u4E3B\u5B66\u4E60\u60C5\u51B5"),q.createElement("div",{className:E.content},q.createElement("div",{className:E.content_left},q.createElement("div",{className:E.scores_container},q.createElement("div",{className:E.score_card,style:{backgroundColor:"rgba(178,0,238,0.1)",border:"0.01rem solid #51093A"}},q.createElement("div",{className:E.img_box},q.createElement("img",{src:D,alt:""})),q.createElement("div",null,q.createElement("div",{className:E.score_title},"\u89C6\u9891\u5B8C\u6210\u5EA6",q.createElement(Z.Z,{title:"\u89C6\u9891\u5B8C\u6210\u5EA6=\u89C6\u9891\u5B8C\u6210\u4EBA\u6570/\u53D1\u5E03\u4EBA\u6570"},q.createElement("i",{className:"iconfont icon-wenhao1 current",style:{color:"#03FEF8",fontSize:"0.14rem",marginLeft:"0.05rem"}}))),q.createElement("div",{className:E.score_content},q.createElement("span",{className:E.score_value,style:{color:"#B200EE"}},(Nn=($t=rr==null?void 0:rr.finish_rate)==null?void 0:$t.videos)==null?void 0:Nn.rate,"%"),q.createElement("span",{className:E.score_trend},At((zr=(wr=rr==null?void 0:rr.finish_rate)==null?void 0:wr.videos)==null?void 0:zr.compare_rate))),q.createElement("div",{className:E.score_compare},"\u5BF9\u6BD4\u65F6\u95F4\u5E73\u5747\u89C6\u9891\u5B8C\u6210\u5EA6",(Rr=(Xn=rr==null?void 0:rr.finish_rate)==null?void 0:Xn.videos)==null?void 0:Rr.last_month_rate,"%"))),q.createElement("div",{className:E.score_card,style:{backgroundColor:"rgba(3,254,248,0.1)",border:"0.01rem solid #013F50"}},q.createElement("div",{className:E.img_box},q.createElement("img",{src:Ve,alt:""})),q.createElement("div",null,q.createElement("div",{className:E.score_title},"\u6559\u5B66\u8D44\u6599\u4E0B\u8F7D\u5B8C\u6210\u5EA6",q.createElement(Z.Z,{title:"\u8D44\u6599\u4E0B\u8F7D\u7387=\u4E0B\u8F7D\u4EBA\u6570/\u53D1\u5E03\u4EBA\u6570"},q.createElement("i",{className:"iconfont icon-wenhao1 current",style:{color:"#03FEF8",fontSize:"0.14rem",marginLeft:"0.05rem"}}))),q.createElement("div",{className:E.score_content},q.createElement("span",{className:E.score_value,style:{color:"#03FEF8"}},(Gi=(Zr=rr==null?void 0:rr.finish_rate)==null?void 0:Zr.files)==null?void 0:Gi.rate,"%"),q.createElement("span",{className:E.score_trend},At((ya=(sa=rr==null?void 0:rr.finish_rate)==null?void 0:sa.files)==null?void 0:ya.compare_rate))),q.createElement("div",{className:E.score_compare},"\u5BF9\u6BD4\u65F6\u95F4\u6559\u5B66\u8D44\u6599\u4E0B\u8F7D\u5B8C\u6210\u5EA6",(Sa=(Ri=rr==null?void 0:rr.finish_rate)==null?void 0:Ri.files)==null?void 0:Sa.last_month_rate,"%"))),q.createElement("div",{className:E.score_card,style:{backgroundColor:"rgba(255,138,1,0.1)",border:"0.01rem solid #3C2C02"}},q.createElement("div",{className:E.img_box},q.createElement("img",{src:ne,alt:""})),q.createElement("div",null,q.createElement("div",{className:E.score_title},"\u5E16\u5B50\u56DE\u590D\u7387",q.createElement(Z.Z,{title:"\u5E16\u5B50\u56DE\u590D\u7387=\u56DE\u590D\u4EBA\u6570/\u5E16\u5B50\u53D1\u5E03\u6570"},q.createElement("i",{className:"iconfont icon-wenhao1 current",style:{color:"#03FEF8",fontSize:"0.14rem",marginLeft:"0.05rem"}}))),q.createElement("div",{className:E.score_content},q.createElement("span",{className:E.score_value,style:{color:"#FF8A01"}},(oa=(zi=rr==null?void 0:rr.finish_rate)==null?void 0:zi.messages)==null?void 0:oa.rate,"%"),q.createElement("span",{className:E.score_trend},At((ra=(ji=rr==null?void 0:rr.finish_rate)==null?void 0:ji.messages)==null?void 0:ra.compare_rate))),q.createElement("div",{className:E.score_compare},"\u5BF9\u6BD4\u65F6\u95F4\u5E16\u5B50\u56DE\u590D\u7387",(da=(Fi=rr==null?void 0:rr.finish_rate)==null?void 0:Fi.messages)==null?void 0:da.last_month_rate,"%"))))),q.createElement("div",{className:E.content_right},q.createElement(St,{columns:Qr,dataSource:rr==null?void 0:rr.course_group_list,wrapperStyle:{width:"13.9rem",height:"3.82rem",fontSize:"0.14rem"},headerStyle:{height:"0.55rem",borderBottom:"0.01rem solid rgba(164, 200, 252, 0.1)"},bodyStyle:{maxHeight:"3.2rem"},rowStyle:{height:"0.4rem"}})),q.createElement("div",{className:E.content_bottom},q.createElement("div",{className:E.finish_top5},q.createElement("div",{className:E.table_title,style:{background:"rgba(3,116,234,0.6)",borderColor:"#0374EA",width:"1.34rem"}},"\u81EA\u4E3B\u5B66\u4E60\u6392\u540D\u524D5"),q.createElement(St,{columns:xa.concat($i),dataSource:(Kr=rr==null?void 0:rr.rank_list)==null?void 0:Kr.first_list,wrapperStyle:{fontSize:"0.12rem"}})),q.createElement("div",{className:E.improve_top5},q.createElement("div",{className:E.table_title,style:{background:"rgba(5,255,154,0.5)",borderColor:"#05FF9A",width:"1.58rem"}},"\u81EA\u4E3B\u5B66\u4E60\u63D0\u5347\u6392\u540D\u524D5"),q.createElement(St,{columns:Pn,dataSource:(fa=rr==null?void 0:rr.rank_list)==null?void 0:fa.up_list,wrapperStyle:{fontSize:"0.12rem"}})),q.createElement("div",{className:E.finish_last5,style:{marginTop:"0.1rem"}},q.createElement("div",{className:E.table_title,style:{background:"rgba(230,27,128,0.6)",borderColor:"#E61B80",width:"1.34rem"}},"\u81EA\u4E3B\u5B66\u4E60\u6392\u540D\u540E5"),q.createElement(St,{columns:Vi.concat($i),dataSource:(kr=rr==null?void 0:rr.rank_list)==null?void 0:kr.last_list,wrapperStyle:{fontSize:"0.12rem"}})),q.createElement("div",{className:E.suggestion},q.createElement("div",{className:E.head},q.createElement("div",null,"\u603B\u7ED3\u5EFA\u8BAE"),q.createElement("div",null,q.createElement("span",{onClick:()=>{Un({type:"classroomList/setActionTabs",payload:{key:"\u7F16\u8F91\u603B\u7ED3",statis_type:"study",content:rr==null?void 0:rr.summary_recommendations}})},className:E.bianji},q.createElement("i",{className:"iconfont icon-bianji15 font12"}),"\u7F16\u8F91"))),q.createElement("div",{className:E.content},q.createElement(K.Z,{style:{color:"#fff"},value:rr==null?void 0:rr.summary_recommendations})))))))};var Mt=(0,ie.connect)(({shixunsDetail:Ft,loading:Zt,globalSetting:Gt})=>({shixunsDetail:Ft,globalSetting:Gt,loading:Zt.models.index}))(Q),_e={title:"title___isW3F",table_wrapper:"table_wrapper___JVXxi",table_scroll:"table_scroll___KAeqH",table_content:"table_content___SML6r",table_row:"table_row___mwEdV",table_cell:"table_cell___eGx8I",rate:"rate___LALdJ",trend:"trend___ATxJ7",flexbox:"flexbox___rTXlT",echart_wrapper:"echart_wrapper___yNRky",chart_title_row:"chart_title_row___Op8Ug",chart_title:"chart_title___jJhcf",chart_legend:"chart_legend___xrAia",legend_item:"legend_item___XiRI1",legend_dot:"legend_dot___EqflU",blue:"blue___VErpK",orange:"orange___kzPEk",green:"green___1CCZC",purple:"purple___YApgJ",rank_wrapper:"rank_wrapper___tgvTT",rank_title:"rank_title___YXQZx",rank_table:"rank_table___svYHG",rank_header:"rank_header___FKKaP",rank_cell:"rank_cell___x0l2a",rank_body:"rank_body___n1qzT",rank_row:"rank_row___XJ2xp",rank_icon:"rank_icon___rvAr9",rank_1:"rank_1___FPtlY",rank_2:"rank_2___XWmjo",rank_3:"rank_3___zn__W",content:"content___DmTfT",content_bottom:"content_bottom___xoVjn",table_title:"table_title___KkFTn",suggestion:"suggestion___v9kKH",head:"head___GJHqX",bianji:"bianji___Q7Kje",no_data:"no_data___g9C6d",content_left:"content_left___qNCKF",classinfo_container:"classinfo_container___exCqA",info_card:"info_card___Xy4nd",info_title:"info_title____2nZx",info_content:"info_content___UNtls",current_info:"current_info___QFdfa",value:"value___PWNZF",previous_info:"previous_info___sYxU9",content_middle:"content_middle___op809",content_right:"content_right___qgk6B",content_right_left:"content_right_left___KDCps",content_right_left_title:"content_right_left_title___ut2r1",content_right_right:"content_right_right___zAX8U",content_right_right_title:"content_right_right_title___ttpCS"},bt=h(59301),An=Object.defineProperty,xn=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,gr=(Ft,Zt,Gt)=>Zt in Ft?An(Ft,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ft[Zt]=Gt,Hr=(Ft,Zt)=>{for(var Gt in Zt||(Zt={}))Er.call(Zt,Gt)&&gr(Ft,Gt,Zt[Gt]);if(xn)for(var Gt of xn(Zt))vr.call(Zt,Gt)&&gr(Ft,Gt,Zt[Gt]);return Ft},fi=(Ft,Zt)=>{var Gt={};for(var Zn in Ft)Er.call(Ft,Zn)&&Zt.indexOf(Zn)<0&&(Gt[Zn]=Ft[Zn]);if(Ft!=null&&xn)for(var Zn of xn(Ft))Zt.indexOf(Zn)<0&&vr.call(Ft,Zn)&&(Gt[Zn]=Ft[Zn]);return Gt},lr=(Ft,Zt,Gt)=>new Promise((Zn,sr)=>{var Un=$t=>{try{hn(Gt.next($t))}catch(Nn){sr(Nn)}},en=$t=>{try{hn(Gt.throw($t))}catch(Nn){sr(Nn)}},hn=$t=>$t.done?Zn($t.value):Promise.resolve($t.value).then(Un,en);hn((Gt=Gt.apply(Ft,Zt)).next())});const ii=Ft=>{var Zt=Ft,{shixunsDetail:Gt,globalSetting:Zn,loading:sr,dispatch:Un,paramsObj:en}=Zt,hn=fi(Zt,["shixunsDetail","globalSetting","loading","dispatch","paramsObj"]),$t,Nn,wr,zr,Xn,Rr,Zr,Gi,sa,ya,Ri,Sa,zi,oa,ji,ra,Fi,da,Kr,fa,kr,_a,rr,or,ia,Fn,ba,Qr,xa,Vi,$i,Pn;const Tr=(0,ie.useParams)(),[Sn,Aa]=(0,c.useState)({}),[Wi,Ia]=(0,c.useState)(!1);(0,c.useEffect)(()=>{Fa()},[en]);const Fa=()=>lr(void 0,null,function*(){Ia(!0);const ir=yield(0,P.ZP)(`/api/courses/${Tr==null?void 0:Tr.coursesId}/statistics/attendances.json`,{method:"get",params:Hr({},en)});(ir==null?void 0:ir.status)==0&&Aa(ir==null?void 0:ir.data),Ia(!1)}),Xr=[{title:"",dataIndex:"course_group_name",width:"0.82rem",marginLeft:"0rem",extraStyle:{background:"rgba(164, 200, 252, 0.1)",height:"0.4rem",lineHeight:"0.4rem",paddingLeft:"0.2rem",marginLeft:"0rem"}},{title:"\u7B7E\u5230\u6B21\u6570",dataIndex:"attendances_count",width:"0.76rem",marginLeft:"0.2rem"},{title:"\u5230\u8BFE\u7387",dataIndex:"normal_rate",width:"0.84rem",render:(ir,Oi)=>bt.createElement("div",{className:_e.flex_box},bt.createElement("span",null,ir,"%"),At(Oi==null?void 0:Oi.normal_rate_compare))},{title:"\u65F7\u8BFE\u7387",dataIndex:"absence_rate",width:"0.96rem",render:(ir,Oi)=>bt.createElement("div",{className:_e.flex_box},bt.createElement("span",null,ir,"%"),At(Oi==null?void 0:Oi.absence_rate_compare))},{title:"\u8BF7\u5047\u7387",dataIndex:"leave_rate",width:"0.96rem",render:(ir,Oi)=>bt.createElement("div",{className:_e.flex_box},bt.createElement("span",null,ir,"%"),At(Oi==null?void 0:Oi.leave_compare_rate))}],ki=[{title:"\u6392\u540D",dataIndex:"number",width:"0.45rem",marginLeft:"0.2rem",render:(ir,Oi,wn)=>{let Cr=null;return wn===0&&(Cr=L.Z),wn===1&&(Cr=z.Z),wn===2&&(Cr=G.Z),wn<3?bt.createElement("span",{className:_e.recordPrefix},bt.createElement("img",{src:Cr})):bt.createElement("span",null,wn+1)}}],Ur=[{title:"\u6392\u540D",dataIndex:"number",width:"0.45rem",render:(ir,Oi,wn)=>bt.createElement("span",null,wn+1)}],un=[{title:"\u59D3\u540D",dataIndex:"name",width:"0.6rem",render:(ir,Oi)=>bt.createElement(Z.Z,{title:ir},ir||"--")},{title:"\u5B66\u53F7",dataIndex:"student_id",width:"0.9rem",render:(ir,Oi)=>bt.createElement("span",null,ir||"--")},{title:"\u5206\u73ED\u540D\u79F0",dataIndex:"course_group_name",width:"0.8rem",render:(ir,Oi)=>bt.createElement("span",null,ir||"--")},{title:"\u7B7E\u5230\u7387",dataIndex:"normal_rate",width:"0.8rem",render:(ir,Oi)=>bt.createElement("span",null,ir,"%")},{title:"\u7B7E\u5230\u6B21\u6570",dataIndex:"normal_count",width:"0.9rem"},{title:"\u6536\u5230\u7B7E\u5230\u6B21\u6570",dataIndex:"attendances_count",width:"1.05rem"},{title:"\u65F7\u8BFE\u7387",dataIndex:"absence_rate",width:"0.6rem",render:(ir,Oi)=>bt.createElement("span",null,ir,"%")},{title:"\u8BF7\u5047\u7387",dataIndex:"leave_rate",width:"0.6rem",render:(ir,Oi)=>bt.createElement("span",null,ir,"%")}],bi=[{title:"\u6392\u540D",dataIndex:"number",width:"0.45rem",marginLeft:"0.2rem",render:(ir,Oi,wn)=>{let Cr=null;return wn===0&&(Cr=L.Z),wn===1&&(Cr=z.Z),wn===2&&(Cr=G.Z),wn<3?bt.createElement("span",{className:_e.recordPrefix},bt.createElement("img",{src:Cr})):bt.createElement("span",null,wn+1)}},{title:"\u59D3\u540D",dataIndex:"name",width:"0.75rem",render:(ir,Oi)=>bt.createElement(Z.Z,{title:ir},ir||"--")},{title:"\u5B66\u53F7",dataIndex:"student_id",width:"0.95rem",render:(ir,Oi)=>bt.createElement("span",null,ir||"--")},{title:"\u5206\u73ED\u540D\u79F0",dataIndex:"course_group_name",width:"0.85rem",render:(ir,Oi)=>bt.createElement("span",null,ir||"--")},{title:"\u7B7E\u5230\u7387\u63D0\u5347\u5EA6",dataIndex:"normal_compare_rate",width:"1rem",render:(ir,Oi)=>ir==0?bt.createElement("span",null,ir,"%"):At(ir)},{title:"\u7B7E\u5230\u7387",dataIndex:"normal_rate",width:"0.55rem",render:(ir,Oi)=>bt.createElement("span",null,ir,"%")},{title:"\u7B7E\u5230\u6B21\u6570",dataIndex:"normal_count",width:"0.65rem"},{title:"\u6536\u5230\u7B7E\u5230\u6B21\u6570",dataIndex:"attendances_count",width:"1rem"},{title:"\u65F7\u8BFE\u7387",dataIndex:"absence_rate",width:"0.5rem",render:(ir,Oi)=>bt.createElement("span",null,ir,"%")},{title:"\u8BF7\u5047\u7387",dataIndex:"leave_rate",width:"0.5rem",render:(ir,Oi)=>bt.createElement("span",null,ir,"%")}];return(0,c.useEffect)(()=>{(0,g.Dk)("\u5B66\u9662\u7EDF\u8BA1"),Tr.id},[Tr.id]),bt.createElement(W.Z,{spinning:Wi},bt.createElement("div",{style:{color:"#fff"}},bt.createElement("div",{className:_e.title},"\u6240\u9009\u65F6\u95F4\u8BFE\u5802\u7B7E\u5230\u60C5\u51B5"),bt.createElement("div",{className:_e.content},bt.createElement("div",{className:_e.content_left},bt.createElement("div",{className:_e.classinfo_container},bt.createElement("div",{className:_e.info_card,style:{backgroundColor:"rgba(22,44,141,0.2)",borderColor:"#182561"}},bt.createElement("div",{className:_e.info_title,style:{borderBottomColor:"#182561"}},"\u53D1\u8D77\u6B21\u6570"),bt.createElement("div",{className:_e.info_content},bt.createElement("div",null,bt.createElement("div",{className:_e.current_info},bt.createElement("span",{className:_e.value,style:{color:"#B200EE"}},(Nn=($t=Sn==null?void 0:Sn.attendances_info)==null?void 0:$t.total)==null?void 0:Nn.count),At((zr=(wr=Sn==null?void 0:Sn.attendances_info)==null?void 0:wr.total)==null?void 0:zr.compare_rate,!0)),bt.createElement("div",{className:_e.previous_info},"\u5BF9\u6BD4\u65F6\u95F4\u53D1\u8D77\u7B7E\u5230\u6B21\u6570",(Rr=(Xn=Sn==null?void 0:Sn.attendances_info)==null?void 0:Xn.total)==null?void 0:Rr.last_month_count)))),bt.createElement("div",{className:_e.info_card,style:{backgroundColor:"rgba(3,254,248,0.1)",borderColor:"#013F50"}},bt.createElement("div",{className:_e.info_title,style:{backgroundColor:"rgba(3,254,248,0.1)",borderBottomColor:"#013F50"}},"\u5E73\u5747\u5230\u8BFE\u7387"),bt.createElement("div",{className:_e.info_content},bt.createElement("div",null,bt.createElement("div",{className:_e.current_info},bt.createElement("span",{className:_e.value,style:{color:"#B200EE"}},(Gi=(Zr=Sn==null?void 0:Sn.attendances_info)==null?void 0:Zr.normal)==null?void 0:Gi.rate,"%"),At((ya=(sa=Sn==null?void 0:Sn.attendances_info)==null?void 0:sa.normal)==null?void 0:ya.compare_rate)),bt.createElement("div",{className:_e.previous_info},"\u5BF9\u6BD4\u65F6\u95F4\u5E73\u5747\u5230\u8BFE\u7387",(Sa=(Ri=Sn==null?void 0:Sn.attendances_info)==null?void 0:Ri.normal)==null?void 0:Sa.last_month_rate,"%")))),bt.createElement("div",{className:_e.info_card,style:{backgroundColor:"rgba(230,27,128,0.2)",borderColor:"#611838"}},bt.createElement("div",{className:_e.info_title,style:{backgroundColor:"rgba(230,27,128,0.2)",borderBottomColor:"#611838"}},"\u5E73\u5747\u65F7\u8BFE\u7387"),bt.createElement("div",{className:_e.info_content},bt.createElement("div",null,bt.createElement("div",{className:_e.current_info},bt.createElement("span",{className:_e.value,style:{color:"#B200EE"}},(oa=(zi=Sn==null?void 0:Sn.attendances_info)==null?void 0:zi.absence)==null?void 0:oa.rate,"%"),At((ra=(ji=Sn==null?void 0:Sn.attendances_info)==null?void 0:ji.absence)==null?void 0:ra.compare_rate,!1,!0)),bt.createElement("div",{className:_e.previous_info},"\u5BF9\u6BD4\u65F6\u95F4\u5E73\u5747\u65F7\u8BFE\u7387",(da=(Fi=Sn==null?void 0:Sn.attendances_info)==null?void 0:Fi.absence)==null?void 0:da.last_month_rate,"%")))),bt.createElement("div",{className:_e.info_card,style:{backgroundColor:"rgba(255,138,1,0.2)",borderColor:"#614518"}},bt.createElement("div",{className:_e.info_title,style:{backgroundColor:"rgba(255,138,1,0.2)",borderBottomColor:"#614518"}},"\u5E73\u5747\u8BF7\u5047\u7387"),bt.createElement("div",{className:_e.info_content},bt.createElement("div",null,bt.createElement("div",{className:_e.current_info},bt.createElement("span",{className:_e.value,style:{color:"#B200EE"}},(fa=(Kr=Sn==null?void 0:Sn.attendances_info)==null?void 0:Kr.leave)==null?void 0:fa.rate,"%"),At((_a=(kr=Sn==null?void 0:Sn.attendances_info)==null?void 0:kr.leave)==null?void 0:_a.compare_rate,!1,!0)),bt.createElement("div",{className:_e.previous_info},"\u5BF9\u6BD4\u65F6\u95F4\u5E73\u5747\u8BF7\u5047\u7387",(or=(rr=Sn==null?void 0:Sn.attendances_info)==null?void 0:rr.leave)==null?void 0:or.last_month_rate,"%")))))),bt.createElement("div",{className:_e.content_middle},bt.createElement("div",{className:_e.echart_wrapper},bt.createElement("div",{className:_e.chart_title_row,style:{marginTop:0}},bt.createElement("div",{className:_e.chart_title},"\u5206\u73ED\u7B7E\u5230\u5206\u5E03\u60C5\u51B5"),bt.createElement("div",{className:_e.chart_legend},bt.createElement("div",{className:_e.legend_item},bt.createElement("div",{className:_e.legend_dot,style:{background:"#03FEF8"}}),bt.createElement("span",{style:{color:"#03FEF8"}},"\u5230\u8BFE\u7387")),bt.createElement("div",{className:_e.legend_item},bt.createElement("div",{className:_e.legend_dot,style:{background:"#E61B80"}}),bt.createElement("span",{style:{color:"#E61B80"}},"\u65F7\u8BFE\u7387")),bt.createElement("div",{className:_e.legend_item},bt.createElement("div",{className:_e.legend_dot,style:{background:"#FF8A01"}}),bt.createElement("span",{style:{color:"#FF8A01"}},"\u8BF7\u5047\u7387")))),bt.createElement("div",{className:_e.chart_content},((ia=Sn==null?void 0:Sn.course_group_list)==null?void 0:ia.length)>0&&bt.createElement(A.Z,{option:{grid:{top:20,bottom:0,left:0,right:10,containLabel:!0},legend:{show:!1},xAxis:{type:"category",data:(Fn=Sn==null?void 0:Sn.course_group_list)==null?void 0:Fn.map(ir=>ir==null?void 0:ir.course_group_name),axisLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisTick:{show:!1},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",interval:0}},yAxis:{type:"value",max:100,splitNumber:5,axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",formatter:"{value}%"}},series:[{name:"\u5230\u8BFE\u7387",data:(ba=Sn==null?void 0:Sn.course_group_list)==null?void 0:ba.map(ir=>ir==null?void 0:ir.normal_rate),type:"bar",barWidth:14,itemStyle:{color:"#03FEF8"},label:{show:!0,position:"top",color:"#03FEF8",fontSize:"0.12rem"}},{name:"\u65F7\u8BFE\u7387",data:(Qr=Sn==null?void 0:Sn.course_group_list)==null?void 0:Qr.map(ir=>ir==null?void 0:ir.absence_rate),type:"bar",barWidth:14,itemStyle:{color:"#E61B80"},label:{show:!0,position:"top",color:"#E61B80",fontSize:"0.12rem"}},{name:"\u8BF7\u5047\u7387",data:(xa=Sn==null?void 0:Sn.course_group_list)==null?void 0:xa.map(ir=>ir==null?void 0:ir.leave_rate),type:"bar",barWidth:14,itemStyle:{color:"#FF8A01"},label:{show:!0,position:"top",color:"#FF8A01",fontSize:"0.12rem"}}]},style:{height:"3.44rem"}})))),bt.createElement("div",{className:_e.content_right},bt.createElement(St,{columns:Xr,dataSource:Sn==null?void 0:Sn.course_group_list,wrapperStyle:{width:"13.9rem",height:"3.82rem",fontSize:"0.14rem"},headerStyle:{height:"0.55rem",borderBottom:"0.01rem solid rgba(164, 200, 252, 0.1)"},bodyStyle:{maxHeight:"3.2rem"},rowStyle:{height:"0.4rem"}})),bt.createElement("div",{className:_e.content_bottom},bt.createElement("div",{className:_e.finish_top5},bt.createElement("div",{className:_e.table_title,style:{background:"rgba(3,116,234,0.6)",borderColor:"#0374EA",width:"1.34rem",paddingLeft:"0.28rem"}},"\u7B7E\u5230\u6392\u540D\u524D5"),bt.createElement(St,{columns:ki.concat(un),dataSource:(Vi=Sn==null?void 0:Sn.rank_list)==null?void 0:Vi.first_list,wrapperStyle:{fontSize:"0.12rem"}})),bt.createElement("div",{className:_e.improve_top5},bt.createElement("div",{className:_e.table_title,style:{background:"rgba(5,255,154,0.5)",borderColor:"#05FF9A",width:"1.58rem",paddingLeft:"0.28rem"}},"\u7B7E\u5230\u63D0\u5347\u6392\u540D\u524D5"),bt.createElement(St,{columns:bi,dataSource:($i=Sn==null?void 0:Sn.rank_list)==null?void 0:$i.up_list,wrapperStyle:{fontSize:"0.12rem"}})),bt.createElement("div",{className:_e.finish_last5,style:{marginTop:"0.1rem"}},bt.createElement("div",{className:_e.table_title,style:{background:"rgba(230,27,128,0.6)",borderColor:"#E61B80",width:"1.34rem",paddingLeft:"0.28rem"}},"\u7B7E\u5230\u6392\u540D\u540E5"),bt.createElement(St,{columns:Ur.concat(un),dataSource:(Pn=Sn==null?void 0:Sn.rank_list)==null?void 0:Pn.last_list,wrapperStyle:{fontSize:"0.12rem"}})),bt.createElement("div",{className:_e.suggestion},bt.createElement("div",{className:_e.head},bt.createElement("div",null,"\u603B\u7ED3\u5EFA\u8BAE"),bt.createElement("div",null,bt.createElement("span",{onClick:()=>{Un({type:"classroomList/setActionTabs",payload:{key:"\u7F16\u8F91\u603B\u7ED3",statis_type:"attendance",content:Sn==null?void 0:Sn.summary_recommendations}})},className:_e.bianji},bt.createElement("i",{className:"iconfont icon-bianji15 font12"}),"\u7F16\u8F91"))),bt.createElement("div",{className:_e.content},bt.createElement(K.Z,{style:{color:"#fff"},value:Sn==null?void 0:Sn.summary_recommendations})))))))};var Wn=(0,ie.connect)(({shixunsDetail:Ft,loading:Zt,globalSetting:Gt})=>({shixunsDetail:Ft,globalSetting:Gt,loading:Zt.models.index}))(ii),Bt={title:"title___AvCuk",table_wrapper:"table_wrapper___f4ZVh",table_scroll:"table_scroll___guARN",table_content:"table_content___QbIWP",table_row:"table_row___PAMfB",table_cell:"table_cell___zmWcw",rate:"rate___Jmkel",trend:"trend___ygi6F",flexbox:"flexbox___enLaH",echart_wrapper:"echart_wrapper___mgcGB",chart_title_row:"chart_title_row___hEtdJ",chart_title:"chart_title___UUeOU",chart_legend:"chart_legend___jUq3Y",legend_item:"legend_item___FZWrj",legend_dot:"legend_dot___oUcor",blue:"blue___mM_mK",orange:"orange___EBu6c",green:"green___TNriI",purple:"purple___JoRRP",rank_wrapper:"rank_wrapper___zAr_k",rank_title:"rank_title___ljwhB",rank_table:"rank_table___RpuOA",rank_header:"rank_header___efFnc",rank_cell:"rank_cell___tu7_v",rank_body:"rank_body___KhNLh",rank_row:"rank_row___jHcfq",rank_icon:"rank_icon___RfHY1",rank_1:"rank_1___hZpPz",rank_2:"rank_2___eRPqR",rank_3:"rank_3___IcEl7",content:"content___cwmzh",content_bottom:"content_bottom___B2B_3",table_title:"table_title___jvn7n",suggestion:"suggestion___tqjTR",head:"head___m5fRV",bianji:"bianji___V6KpC",no_data:"no_data___c65o2",content_left:"content_left___P20h6",scores_container:"scores_container___js4B4",score_card:"score_card___b1qAd",score_title:"score_title___FQrU5",score_content:"score_content___XiYxd",score_value:"score_value___GLSN0",score_trend:"score_trend___s9BRQ",score_compare:"score_compare___OGoGY",content_middle:"content_middle___wfGR3",content_right:"content_right___bWuQm",content_right_left:"content_right_left___v8HkT",content_right_left_title:"content_right_left_title___zF8m1",content_right_right:"content_right_right___Ve8RK",content_right_right_title:"content_right_right_title___VWucl","custom-table":"custom-table____FR2x",class_name:"class_name___oKsX4"},En=h(70858),nn=h(59301),Yr=Object.defineProperty,Lt=Object.defineProperties,It=Object.getOwnPropertyDescriptors,kn=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,jn=(Ft,Zt,Gt)=>Zt in Ft?Yr(Ft,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ft[Zt]=Gt,Dn=(Ft,Zt)=>{for(var Gt in Zt||(Zt={}))vn.call(Zt,Gt)&&jn(Ft,Gt,Zt[Gt]);if(kn)for(var Gt of kn(Zt))In.call(Zt,Gt)&&jn(Ft,Gt,Zt[Gt]);return Ft},$n=(Ft,Zt)=>Lt(Ft,It(Zt)),br=(Ft,Zt)=>{var Gt={};for(var Zn in Ft)vn.call(Ft,Zn)&&Zt.indexOf(Zn)<0&&(Gt[Zn]=Ft[Zn]);if(Ft!=null&&kn)for(var Zn of kn(Ft))Zt.indexOf(Zn)<0&&In.call(Ft,Zn)&&(Gt[Zn]=Ft[Zn]);return Gt},cr=(Ft,Zt,Gt)=>new Promise((Zn,sr)=>{var Un=$t=>{try{hn(Gt.next($t))}catch(Nn){sr(Nn)}},en=$t=>{try{hn(Gt.throw($t))}catch(Nn){sr(Nn)}},hn=$t=>$t.done?Zn($t.value):Promise.resolve($t.value).then(Un,en);hn((Gt=Gt.apply(Ft,Zt)).next())});const Tn=Ft=>{var Zt=Ft,{shixunsDetail:Gt,globalSetting:Zn,loading:sr,dispatch:Un,paramsObj:en}=Zt,hn=br(Zt,["shixunsDetail","globalSetting","loading","dispatch","paramsObj"]),$t,Nn,wr,zr,Xn,Rr,Zr,Gi,sa,ya,Ri,Sa,zi,oa,ji,ra,Fi,da,Kr,fa,kr,_a,rr,or,ia,Fn,ba,Qr,xa,Vi,$i,Pn;const Tr=(0,ie.useParams)(),[Sn,Aa]=(0,c.useState)({}),[Wi,Ia]=(0,c.useState)(!1);(0,c.useEffect)(()=>{Fa()},[en]);const Fa=()=>cr(void 0,null,function*(){Ia(!0),!en.course_group_ids&&en.course_group_ids!==0||(en.course_group_ids==="all"?en.course_group_ids=null:en.course_group_ids=[en.course_group_ids]);const wn=yield(0,P.ZP)(`/api/courses/${Tr==null?void 0:Tr.coursesId}/statistics/knowledge.json`,{method:"get",params:Dn({},en)});(wn==null?void 0:wn.status)==0&&Aa(wn==null?void 0:wn.data),Ia(!1)}),Xr=[{title:"\u77E5\u8BC6\u70B9",dataIndex:"name",width:"0.7rem",marginLeft:"0.1rem"},{title:"\u5B66\u4E60\u4EBA\u6570",dataIndex:"study_students_count",width:"0.56rem",marginLeft:"0.2rem"},{title:"\u638C\u63E1\u4EBA\u6570",dataIndex:"have_students_counts",width:"0.56rem",marginLeft:"0.2rem"},{title:"\u638C\u63E1\u7387",dataIndex:"rate",width:"0.42rem",marginLeft:"0.2rem"}],ki=()=>nn.createElement("div",{className:Bt.rank_wrapper,style:{fontSize:"0.12rem"}},nn.createElement("div",{className:Bt.rank_title},"\u77E5\u8BC6\u70B9\u638C\u63E1\u6392\u540D\u524D5"),nn.createElement("div",{className:Bt.rank_table},nn.createElement("div",{className:Bt.rank_header},nn.createElement("div",{className:Bt.rank_cell,style:{width:"1rem"}},"\u6392\u540D"),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1rem"}},"\u59D3\u540D"),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1.2rem"}},"\u5B66\u53F7"),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1.2rem"}},"\u5206\u73ED\u540D\u79F0"),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1.2rem"}},"\u77E5\u8BC6\u70B9\u638C\u63E1\u7387"),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1.2rem"}},"\u638C\u63E1\u77E5\u8BC6\u70B9\u6570"),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1rem"}},"\u5B66\u4E60\u77E5\u8BC6\u70B9\u6570")),nn.createElement("div",{className:Bt.rank_body},[{rank:1,name:"\u9648\u5927\u53EA",id:"202011450",class:"\u672A\u5206\u73ED",rate:"80.0%",finished:"1176",total:"2000",training:"80.0%",coding:"80.0%",image:"80.0%",group:"80.0%"},{rank:2,name:"\u674E\u5C0F\u53EA",id:"202011450",class:"\u73ED\u7EA7\u4E00",rate:"71.5%",finished:"852",total:"2000",training:"71.5%",coding:"71.5%",image:"71.5%",group:"71.5%"}].map((wn,Cr)=>{let Jr;return Cr===0&&(Jr=L.Z),Cr===1&&(Jr=z.Z),Cr===2&&(Jr=G.Z),nn.createElement("div",{key:Cr,className:Bt.rank_row},nn.createElement("div",{className:Bt.rank_cell,style:{width:"1rem"}},wn.rank<=3?nn.createElement("span",{className:Bt.recordPrefix},nn.createElement("img",{src:Jr})):nn.createElement("span",null,wn.rank)),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1rem"}},wn.name),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1.2rem"}},wn.id),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1.2rem"}},wn.class),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1.2rem"}},wn.rate),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1.2rem"}},wn.finished),nn.createElement("div",{className:Bt.rank_cell,style:{width:"1rem"}},wn.image))})))),Ur=[{title:"\u6392\u540D",dataIndex:"number",width:"1rem",marginLeft:"0.2rem",render:(wn,Cr,Jr)=>{let hi=null;return Jr===0&&(hi=L.Z),Jr===1&&(hi=z.Z),Jr===2&&(hi=G.Z),Jr<3?nn.createElement("span",{className:Bt.recordPrefix},nn.createElement("img",{src:hi})):nn.createElement("span",null,Jr+1)}}],un=[{title:"\u6392\u540D",dataIndex:"number",width:"1rem",marginLeft:"0.2rem",render:(wn,Cr,Jr)=>nn.createElement("span",null,Jr+1)}],bi=[{title:"\u59D3\u540D",dataIndex:"name",width:"1rem",render:(wn,Cr)=>nn.createElement(Z.Z,{title:wn},wn||"--")},{title:"\u5B66\u53F7",dataIndex:"student_id",width:"1.2rem",render:(wn,Cr)=>nn.createElement("span",null,wn||"--")},{title:"\u5206\u73ED\u540D\u79F0",dataIndex:"course_group_name",width:"1rem",render:(wn,Cr)=>nn.createElement("span",null,wn||"--")},{title:"\u77E5\u8BC6\u70B9\u638C\u63E1\u7387",dataIndex:"have_rate",width:"1.1rem"},{title:"\u638C\u63E1\u77E5\u8BC6\u70B9\u6570",dataIndex:"have_knowledge_count",width:"1.1rem"},{title:"\u5B66\u4E60\u77E5\u8BC6\u70B9\u6570",dataIndex:"study_knowledge_count",width:"1.1rem"}],ir=[{title:"\u6392\u540D",dataIndex:"number",width:"0.6rem",marginLeft:"0.2rem",render:(wn,Cr,Jr)=>{let hi=null;return Jr===0&&(hi=L.Z),Jr===1&&(hi=z.Z),Jr===2&&(hi=G.Z),Jr<3?nn.createElement("span",{className:Bt.recordPrefix},nn.createElement("img",{src:hi})):nn.createElement("span",null,Jr+1)}},{title:"\u59D3\u540D",dataIndex:"name",width:"0.6rem",render:(wn,Cr)=>nn.createElement(Z.Z,{title:wn},wn||"--")},{title:"\u5B66\u53F7",dataIndex:"student_id",width:"0.9rem",render:(wn,Cr)=>nn.createElement("span",null,wn||"--")},{title:"\u5206\u73ED\u540D\u79F0",dataIndex:"course_group_name",width:"0.9rem",render:(wn,Cr)=>nn.createElement("span",null,wn||"--")},{title:"\u77E5\u8BC6\u70B9\u638C\u63E1\u63D0\u5347\u5EA6",dataIndex:"have_rate_compare",width:"1.2rem",render:(wn,Cr)=>wn==0?nn.createElement("span",null,wn,"%"):At(wn)},{title:"\u77E5\u8BC6\u70B9\u638C\u63E1\u7387",dataIndex:"have_rate",width:"1.1rem",render:(wn,Cr)=>nn.createElement("span",null,wn,"%")},{title:"\u638C\u63E1\u77E5\u8BC6\u70B9\u6570",dataIndex:"have_knowledge_count",width:"1.1rem"},{title:"\u5B66\u4E60\u77E5\u8BC6\u70B9\u6570",dataIndex:"study_knowledge_count",width:"1.1rem"}],Oi=wn=>{var Cr;console.log(wn);const Jr=(wn==null?void 0:wn.length)>0?(Cr=wn[0])==null?void 0:Cr.course_group_list:[];console.log(Jr);const hi=[{title:"",dataIndex:"name",fixed:"left",width:"0.62rem",ellipsis:!0},...Jr==null?void 0:Jr.map((ss,ar)=>({title:nn.createElement(Z.Z,{title:ss==null?void 0:ss.course_group_name},nn.createElement("span",{className:Bt.class_name},ss.course_group_name)),dataIndex:`class${ar+1}`,width:"0.61rem",render:jr=>jr+"%"}))],Qi=wn==null?void 0:wn.map(ss=>{const ar=Dn({},ss);return ss.course_group_list.forEach((jr,Ta)=>{ar[`class${Ta+1}`]=jr.rate}),ar});return nn.createElement(En.default,{className:Bt["custom-table"],columns:hi,dataSource:Qi||[],pagination:!1,scroll:{x:"max-content",y:"3.04rem"},bordered:!1})};return nn.createElement(W.Z,{spinning:Wi},nn.createElement("div",{style:{color:"#fff"}},nn.createElement("div",{className:Bt.title},"\u6240\u9009\u65F6\u95F4\u77E5\u8BC6\u70B9\u638C\u63E1\u60C5\u51B5",nn.createElement("span",{style:{fontSize:"0.12rem",fontWeight:"400",marginLeft:"0.1rem"}},"\u77E5\u8BC6\u70B9\u4E3A\u5B9E\u8BAD\u4F5C\u4E1A\u5173\u5361\u6807\u7B7E\u548C\u7F16\u7A0B\u4F5C\u4E1A\u4E2D\u7F16\u7A0B\u9898\u7684\u77E5\u8BC6\u70B9")),nn.createElement("div",{className:Bt.content},nn.createElement("div",{className:Bt.content_left},nn.createElement("div",{className:Bt.scores_container},nn.createElement("div",{className:Bt.score_card,style:{backgroundColor:"rgba(178,0,238,0.1)",border:"0.01rem solid #51093A"}},nn.createElement("div",{className:Bt.score_title},"\u77E5\u8BC6\u70B9\u6570"),nn.createElement("div",{className:Bt.score_content},nn.createElement("span",{className:Bt.score_value,style:{color:"#B200EE"}},(Nn=($t=Sn==null?void 0:Sn.knowledge_info)==null?void 0:$t.knowledge)==null?void 0:Nn.count),At((zr=(wr=Sn==null?void 0:Sn.knowledge_info)==null?void 0:wr.knowledge)==null?void 0:zr.compare_rate,!0)),nn.createElement("div",{className:Bt.score_compare},"\u5BF9\u6BD4\u65F6\u95F4\u77E5\u8BC6\u70B9\u6570",(Rr=(Xn=Sn==null?void 0:Sn.knowledge_info)==null?void 0:Xn.knowledge)==null?void 0:Rr.last_month_count)),nn.createElement("div",{className:Bt.score_card,style:{backgroundColor:"rgba(3,254,248,0.1)",border:"0.01rem solid #013F50"}},nn.createElement("div",{className:Bt.score_title},"\u77E5\u8BC6\u70B9\u5E73\u5747\u638C\u63E1\u7387"),nn.createElement("div",{className:Bt.score_content},nn.createElement("span",{className:Bt.score_value,style:{color:"#03FEF8"}},(Gi=(Zr=Sn==null?void 0:Sn.knowledge_info)==null?void 0:Zr.have_rate)==null?void 0:Gi.rate,"%"),At((ya=(sa=Sn==null?void 0:Sn.knowledge_info)==null?void 0:sa.have_rate)==null?void 0:ya.compare_rate)),nn.createElement("div",{className:Bt.score_compare},"\u5BF9\u6BD4\u65F6\u95F4\u77E5\u8BC6\u70B9\u5E73\u5747\u638C\u63E1\u7387",(Sa=(Ri=Sn==null?void 0:Sn.knowledge_info)==null?void 0:Ri.have_rate)==null?void 0:Sa.last_month_rate,"%")),nn.createElement("div",{className:Bt.score_card,style:{backgroundColor:"rgba(255,138,1,0.1)",border:"0.01rem solid #3C2C02"}},nn.createElement("div",{className:Bt.score_title},"\u638C\u63E1\u7387\u4F4E\u7684\u77E5\u8BC6\u70B9\u6570"),nn.createElement("div",{className:Bt.score_content},nn.createElement("span",{className:Bt.score_value,style:{color:"#FF8A01"}},(oa=(zi=Sn==null?void 0:Sn.knowledge_info)==null?void 0:zi.low_have_rate)==null?void 0:oa.count),At((ra=(ji=Sn==null?void 0:Sn.knowledge_info)==null?void 0:ji.low_have_rate)==null?void 0:ra.compare_rate,!0)),nn.createElement("div",{className:Bt.score_compare},"\u5BF9\u6BD4\u65F6\u95F4\u638C\u63E1\u7387\u4F4E\u77E5\u8BC6\u70B9\u6570",(da=(Fi=Sn==null?void 0:Sn.knowledge_info)==null?void 0:Fi.low_have_rate)==null?void 0:da.last_month_count)))),nn.createElement("div",{className:Bt.content_middle},nn.createElement("div",{className:Bt.echart_wrapper},nn.createElement("div",{className:Bt.chart_title_row,style:{marginTop:0}},nn.createElement("div",{className:Bt.chart_title},"\u73ED\u7EA7\u77E5\u8BC6\u70B9\u5E73\u5747\u638C\u63E1\u5EA6"),nn.createElement("div",{className:Bt.chart_legend},nn.createElement("div",{className:Bt.legend_item},nn.createElement("div",{className:Bt.legend_dot,style:{background:"#0374EA"}}),nn.createElement("span",{style:{color:"#0374EA"}},"\u6240\u9009\u65F6\u95F4")),nn.createElement("div",{className:Bt.legend_item},nn.createElement("div",{className:Bt.legend_dot,style:{background:"#B200EE"}}),nn.createElement("span",{style:{color:"#B200EE"}},"\u5BF9\u6BD4\u65F6\u95F4")))),nn.createElement("div",{className:Bt.chart_content},((Kr=Sn==null?void 0:Sn.course_group_list)==null?void 0:Kr.length)>0&&nn.createElement(A.Z,{option:{grid:{top:20,bottom:0,left:0,right:50,containLabel:!0},legend:{show:!1},dataZoom:[$n(Dn({type:"slider"},((fa=Sn==null?void 0:Sn.course_group_list)==null?void 0:fa.length)>10?{start:0,end:15}:{}),{show:((kr=Sn==null?void 0:Sn.course_group_list)==null?void 0:kr.length)>10,xAxisIndex:[0],bottom:0,height:10,borderColor:"transparent",backgroundColor:"rgba(164, 200, 252, 0.1)",fillerColor:"rgba(3, 116, 234, 0.3)",handleStyle:{color:"#0374EA",borderColor:"#0374EA"},moveHandleStyle:{color:"#0374EA"},selectedDataBackground:{lineStyle:{color:"#0374EA"},areaStyle:{color:"#0374EA"}},textStyle:{color:"#A4C8FC"}})],xAxis:{type:"category",data:(_a=Sn==null?void 0:Sn.course_group_list)==null?void 0:_a.map(wn=>wn==null?void 0:wn.course_group_name),axisLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisTick:{show:!1},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",interval:0}},yAxis:{type:"value",max:100,splitNumber:5,axisLine:{show:!1},axisTick:{show:!1},splitLine:{lineStyle:{color:"rgba(164, 200, 252, 0.1)"}},axisLabel:{color:"#A4C8FC",fontSize:"0.12rem",formatter:"{value}%"}},series:[{name:"\u6240\u9009\u65F6\u95F4",data:(rr=Sn==null?void 0:Sn.course_group_list)==null?void 0:rr.map(wn=>wn==null?void 0:wn.rate),type:"bar",barWidth:20,itemStyle:{color:"#0374EA"},label:{show:!0,position:"top",color:"#0374EA",fontSize:"0.12rem"},markLine:{silent:!0,symbol:"none",data:[{yAxis:(ia=(or=Sn==null?void 0:Sn.knowledge_info)==null?void 0:or.have_rate)==null?void 0:ia.last_month_rate,lineStyle:{color:"#B200EE",type:"dashed",width:1},label:{show:!0,position:"end",formatter:"\u5BF9\u6BD4\u5E73\u5747",color:"#B200EE",fontSize:"0.12rem",distance:[5,0]}},{yAxis:(ba=(Fn=Sn==null?void 0:Sn.knowledge_info)==null?void 0:Fn.have_rate)==null?void 0:ba.rate,lineStyle:{color:"#0374EA",type:"dashed",width:1},label:{show:!0,position:"end",formatter:"\u6240\u9009\u5E73\u5747",color:"#0374EA",fontSize:"0.12rem",distance:[5,0]}}]}},{name:"\u5BF9\u6BD4\u65F6\u95F4",data:(Qr=Sn==null?void 0:Sn.course_group_list)==null?void 0:Qr.map(wn=>wn==null?void 0:wn.last_month_rate),type:"bar",barWidth:20,itemStyle:{color:"#B200EE"},label:{show:!0,position:"top",color:"#B200EE",fontSize:"0.12rem"}}]},style:{height:"3.44rem"}})))),nn.createElement("div",{className:Bt.content_right},nn.createElement("div",{className:Bt.content_right_left},nn.createElement("div",{className:Bt.content_right_left_title},"\u77E5\u8BC6\u70B9\u638C\u63E1\u60C5\u51B5"),nn.createElement("div",{className:Bt.content_right_left_info},((xa=Sn==null?void 0:Sn.knowledge_list)==null?void 0:xa.length)>0&&Oi(Sn==null?void 0:Sn.knowledge_list))),nn.createElement("div",{className:Bt.content_right_right},nn.createElement("div",{className:Bt.content_right_right_title},"\u638C\u63E1\u7387\u4F4E\u7684\u77E5\u8BC6\u70B9\u6570",nn.createElement("span",{style:{fontSize:"0.12rem",fontWeight:"400"}},"\uFF08\u638C\u63E1\u7387\u4F4E\u4E8E60%\uFF09")),nn.createElement("div",{className:Bt.content_right_right_info},nn.createElement(St,{columns:Xr,dataSource:Sn==null?void 0:Sn.knowledge_low_have_list,wrapperStyle:{width:"3.04rem",height:"3.48rem",fontSize:"0.14rem"},headerStyle:{height:"0.34rem"},bodyStyle:{maxHeight:"3.03rem"},rowStyle:{height:"0.38rem"}})))),nn.createElement("div",{className:Bt.content_bottom},nn.createElement("div",{className:Bt.finish_top5},nn.createElement("div",{className:Bt.table_title,style:{background:"rgba(3,116,234,0.6)",borderColor:"#0374EA",width:"1.34rem"}},"\u77E5\u8BC6\u70B9\u638C\u63E1\u6392\u540D\u524D5"),nn.createElement(St,{columns:Ur.concat(bi),dataSource:((Vi=Sn==null?void 0:Sn.rank_list)==null?void 0:Vi.first_list)||[],wrapperStyle:{fontSize:"0.12rem"}})),nn.createElement("div",{className:Bt.improve_top5},nn.createElement("div",{className:Bt.table_title,style:{background:"rgba(5,255,154,0.5)",borderColor:"#05FF9A",width:"1.58rem"}},"\u77E5\u8BC6\u70B9\u638C\u63E1\u63D0\u5347\u6392\u540D\u524D5"),nn.createElement(St,{columns:ir,dataSource:(($i=Sn==null?void 0:Sn.rank_list)==null?void 0:$i.up_list)||[],wrapperStyle:{fontSize:"0.12rem"}})),nn.createElement("div",{className:Bt.finish_last5,style:{marginTop:"0.1rem"}},nn.createElement("div",{className:Bt.table_title,style:{background:"rgba(230,27,128,0.6)",borderColor:"#E61B80",width:"1.34rem"}},"\u77E5\u8BC6\u70B9\u638C\u63E1\u6392\u540D\u540E5"),nn.createElement(St,{columns:un.concat(bi),dataSource:((Pn=Sn==null?void 0:Sn.rank_list)==null?void 0:Pn.last_list)||[],wrapperStyle:{fontSize:"0.12rem"}})),nn.createElement("div",{className:Bt.suggestion},nn.createElement("div",{className:Bt.head},nn.createElement("div",null,"\u603B\u7ED3\u5EFA\u8BAE"),nn.createElement("div",null,nn.createElement("span",{onClick:()=>{Un({type:"classroomList/setActionTabs",payload:{key:"\u7F16\u8F91\u603B\u7ED3",statis_type:"knowledge",content:Sn==null?void 0:Sn.summary_recommendations}})},className:Bt.bianji},nn.createElement("i",{className:"iconfont icon-bianji15 font12"}),"\u7F16\u8F91"))),nn.createElement("div",{className:Bt.content},nn.createElement(K.Z,{style:{color:"#fff"},value:Sn==null?void 0:Sn.summary_recommendations})))))))};var dr=(0,ie.connect)(({shixunsDetail:Ft,loading:Zt,globalSetting:Gt})=>({shixunsDetail:Ft,globalSetting:Gt,loading:Zt.models.index}))(Tn),Pr=h(24017),hr=h(82326),Dt=h(6767),kt=h(89787),pn=h(62957),an=h(66649),cn=h.n(an),_n=h(37568),Mn=h(59301),nr=Object.getOwnPropertySymbols,_r=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,Ui=(Ft,Zt)=>{var Gt={};for(var Zn in Ft)_r.call(Ft,Zn)&&Zt.indexOf(Zn)<0&&(Gt[Zn]=Ft[Zn]);if(Ft!=null&&nr)for(var Zn of nr(Ft))Zt.indexOf(Zn)<0&&Nr.call(Ft,Zn)&&(Gt[Zn]=Ft[Zn]);return Gt},Ir=(Ft,Zt,Gt)=>new Promise((Zn,sr)=>{var Un=$t=>{try{hn(Gt.next($t))}catch(Nn){sr(Nn)}},en=$t=>{try{hn(Gt.throw($t))}catch(Nn){sr(Nn)}},hn=$t=>$t.done?Zn($t.value):Promise.resolve($t.value).then(Un,en);hn((Gt=Gt.apply(Ft,Zt)).next())});const Lr=Ft=>{var Zt=Ft,{classroomList:Gt,dispatch:Zn,getData:sr,paramsObj:Un}=Zt,en=Ui(Zt,["classroomList","dispatch","getData","paramsObj"]);const hn=(0,ie.useParams)(),[$t,Nn]=(0,c.useState)(!1),[wr,zr]=(0,c.useState)();(0,c.useEffect)(()=>{zr(Gt.actionTabs.content)},[Gt.actionTabs.content]);const Xn=()=>Ir(void 0,null,function*(){Nn(!0);const Rr=yield(0,P.ZP)(`/api/courses/${hn.coursesId}/statistics/summary_recommendations.json`,{method:"PUT",body:{start_at:Un.start_at,statis_type:Gt.actionTabs.statis_type,summary_recommendations:wr}});Nn(!1),Rr.status===0&&(sr(Gt.actionTabs.statis_type),Zn({type:"classroomList/setActionTabs",payload:{}}))});return Mn.createElement(pn.default,{width:600,confirmLoading:$t,centered:!0,title:"\u7F16\u8F91\u603B\u7ED3",open:Gt.actionTabs.key==="\u7F16\u8F91\u603B\u7ED3",okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:Xn,onCancel:()=>{Zn({type:"classroomList/setActionTabs",payload:{}})}},Mn.createElement(_n.default.TextArea,{rows:8,value:wr,onChange:Rr=>{zr(Rr.target.value)}}))};var xi=(0,ie.connect)(({classroomList:Ft})=>({classroomList:Ft}))(Lr),rt=h(59301),Ei=Object.defineProperty,Br=Object.defineProperties,Fr=Object.getOwnPropertyDescriptors,Ii=Object.getOwnPropertySymbols,Bi=Object.prototype.hasOwnProperty,gi=Object.prototype.propertyIsEnumerable,yi=(Ft,Zt,Gt)=>Zt in Ft?Ei(Ft,Zt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):Ft[Zt]=Gt,Mr=(Ft,Zt)=>{for(var Gt in Zt||(Zt={}))Bi.call(Zt,Gt)&&yi(Ft,Gt,Zt[Gt]);if(Ii)for(var Gt of Ii(Zt))gi.call(Zt,Gt)&&yi(Ft,Gt,Zt[Gt]);return Ft},$r=(Ft,Zt)=>Br(Ft,Fr(Zt)),Ea=(Ft,Zt,Gt)=>new Promise((Zn,sr)=>{var Un=$t=>{try{hn(Gt.next($t))}catch(Nn){sr(Nn)}},en=$t=>{try{hn(Gt.throw($t))}catch(Nn){sr(Nn)}},hn=$t=>$t.done?Zn($t.value):Promise.resolve($t.value).then(Un,en);hn((Gt=Gt.apply(Ft,Zt)).next())});const{RangePicker:on}=Pr.default,ei=({homePage:Ft,globalSetting:Zt,classroomList:Gt,user:Zn,loading:sr,dispatch:Un})=>{var en,hn,$t,Nn,wr,zr,Xn,Rr,Zr,Gi,sa,ya,Ri,Sa,zi,oa,ji,ra,Fi,da,Kr,fa,kr,_a,rr,or,ia,Fn,ba,Qr,xa,Vi,$i,Pn,Tr,Sn,Aa,Wi,Ia,Fa,Xr,ki,Ur,un,bi,ir,Oi,wn,Cr,Jr,hi,Qi,ss,ar,jr,Ta,xs,mo,xo,fs,Os,Ds,Eo,js,Ns,qs,_o,So,ws,co,Ps,wo,po,Co,Ao,$s,Is,Ra,na,hs,Cs,za,cs,Ls;(0,c.useEffect)(()=>{Un({type:"globalSetting/headerFooterToggle",payload:!1})},[]),(0,c.useEffect)(()=>{function ti(){const ps=document.documentElement;let Se=ps.clientWidth/1920;Se=(Se>2?2:Se<.6?.6:Se)*100,ps.style.fontSize=Se+"px"}return window.addEventListener("resize",ti),ti(),()=>{document.documentElement.removeAttribute("style"),window.removeEventListener("resize",ti)}},[]);const Es=(0,ie.useParams)(),[Zs]=(0,ie.useSearchParams)(),[Wr,Qs]=(0,c.useState)({}),[fr,eo]=(0,c.useState)(null),[Us,Do]=(0,c.useState)("all"),[Na,Ua]=(0,c.useState)([cn()().startOf("month").format("YYYY-MM-DD"),cn()().format("YYYY-MM-DD")]),[Za,As]=(0,c.useState)([cn()().subtract(1,"month").startOf("month").format("YYYY-MM-DD"),cn()().subtract(1,"month").endOf("month").format("YYYY-MM-DD")]),[ls,to]=(0,c.useState)({start_at:cn()().startOf("month").format("YYYY-MM-DD"),end_at:cn()().format("YYYY-MM-DD"),compare_start_at:cn()().subtract(1,"month").startOf("month").format("YYYY-MM-DD"),compare_end_at:cn()().subtract(1,"month").endOf("month").format("YYYY-MM-DD"),course_group_ids:""}),[fo,no]=(0,c.useState)(Mr({},ls)),[To,oo]=(0,c.useState)(!1),[Ws,Po]=(0,c.useState)(0),[vo,No]=(0,c.useState)(2),{detailAnnouncementList:Bs,allCourseGroups:Ks}=Gt,Ho=[{value:"all",label:"\u5168\u90E8\u5206\u73ED"},...((en=Ks==null?void 0:Ks.course_groups)==null?void 0:en.map(ti=>({value:ti.id,label:ti.name})))||[]];(0,c.useEffect)(()=>{qn()},[Us]),(0,c.useEffect)(()=>{Un({type:"classroomList/getAllCourseGroup",payload:Mr({},Es)})},[]);const qn=()=>Ea(void 0,null,function*(){var ti,ps,S,te,Se,Ye,Je,Ot;const zt=yield(0,P.ZP)(`/api/courses/${Es==null?void 0:Es.coursesId}/statistics/overview.json`,{method:"get",params:{start_at:Na[0],end_at:Na[1],compare_start_at:Za[0],compare_end_at:Za[1],course_group_ids:Us=="all"?"":[Us]}});(zt==null?void 0:zt.status)==0&&((S=(ps=(ti=zt==null?void 0:zt.data)==null?void 0:ti.course_targets)==null?void 0:ps.list)!=null&&S.length||No(1),Qs(zt==null?void 0:zt.data),eo({total:(Se=(te=zt==null?void 0:zt.data)==null?void 0:te.course_targets)==null?void 0:Se.course_target_rate,detail:(Ot=(Je=(Ye=zt==null?void 0:zt.data)==null?void 0:Ye.course_targets)==null?void 0:Je.list)==null?void 0:Ot.map(Yt=>({name:Yt.name,rate:Yt.user_rate}))}))}),Bo=ti=>{if(!ti)return"";const ps=ti.clone().startOf("month").format("YYYY-M-D"),S=ti.clone().endOf("month").format("YYYY-M-D");return`${ps} ~ ${S}`};return rt.createElement("div",{className:O.wrap},rt.createElement("div",{className:O.bg,style:{background:`url(${le})`,backgroundSize:"100% 10.8rem",backgroundRepeat:"no-repeat"}},rt.createElement("div",{className:O.head,style:{background:`url(${j})`,backgroundSize:"100% 100%"}},rt.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginLeft:"0.67rem"}},rt.createElement("div",{className:O.fanhui,onClick:()=>ie.history.push(`/classrooms/${Es.coursesId}/statistics/${Zs.get("category_id")}`)},rt.createElement("img",{src:F,style:{width:"0.2rem",marginRight:"0.05rem"}}),rt.createElement("span",null,"\u8FD4\u56DE")),rt.createElement("div",{className:O.fenban,style:{background:`url(${re})`,backgroundSize:"100% 100%"}},rt.createElement("div",{style:{marginLeft:"0.9rem",marginBottom:"0.1rem"}},"\u5206\u73ED\uFF1A"),rt.createElement(hr.default,{value:Us,onChange:ti=>{to($r(Mr({},ls),{course_group_ids:ti})),Do(ti)},options:Ho,className:O.customSelect}))),rt.createElement("div",{className:O.title},"\u8BFE\u5802\u6210\u6548\u6982\u89C8\u7EDF\u8BA1"),rt.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},rt.createElement("div",{className:O.daochu,style:{background:`url(${ee})`,backgroundSize:"100% 100%"},onClick:()=>Dt.ZP.info("\u529F\u80FD\u5F00\u53D1\u4E2D")},rt.createElement("i",{className:"iconfont icon-daochu",style:{fontSize:"0.16rem"}}),rt.createElement("span",{style:{color:"rgba(255, 255, 255, 0.85)",fontSize:"0.12rem"}},"\u5BFC\u51FAword\u62A5\u544A")),rt.createElement("div",{className:O.fanwei,style:{background:`url(${v})`,backgroundSize:"100% 100%"},onClick:()=>{oo(!0)}},rt.createElement("div",{style:{marginLeft:"0.8rem",marginBottom:"0.1rem",width:"0.6rem"}},"\u8303\u56F4\uFF1A"),rt.createElement("span",null,ls.start_at,"-",ls.end_at),rt.createElement("i",{className:"iconfont icon-bianji current"})))),rt.createElement("div",{className:O.content},rt.createElement("div",{className:O.left},rt.createElement("div",{className:O.left_top},rt.createElement("div",{className:O.stats_container},rt.createElement("div",{className:O.stat_card},rt.createElement("div",{className:O.icon_wrapper,style:{background:"#B200EE"}},rt.createElement("i",{className:"iconfont icon-fenban3",style:{fontSize:"0.24rem"}})),rt.createElement("div",{className:O.stat_content,style:{background:"rgba(178, 0, 238, 0.3)"}},rt.createElement("div",null,rt.createElement("div",{className:O.stat_label},"\u5206\u73ED\u6570"),rt.createElement("div",{className:O.stat_value},(hn=Wr==null?void 0:Wr.course_info)==null?void 0:hn.course_groups_count)))),rt.createElement("div",{className:O.stat_card},rt.createElement("div",{className:O.icon_wrapper,style:{background:"#0089FD"}},rt.createElement("i",{className:"iconfont icon-xuesheng2",style:{fontSize:"0.24rem"}})),rt.createElement("div",{className:O.stat_content,style:{background:"rgb(0, 137, 253,0.3)"}},rt.createElement("div",null,rt.createElement("div",{className:O.stat_label},"\u5B66\u751F\u6570"),rt.createElement("div",{className:O.stat_value},($t=Wr==null?void 0:Wr.course_info)==null?void 0:$t.students_count)))),rt.createElement("div",{className:O.stat_card},rt.createElement("div",{className:O.icon_wrapper,style:{background:"#FF8F00"}},rt.createElement("i",{className:"iconfont icon-jiaoshi",style:{fontSize:"0.3rem"}})),rt.createElement("div",{className:O.stat_content,style:{background:"rgb(255, 143, 0,0.3)"}},rt.createElement("div",null,rt.createElement("div",{className:O.stat_label},"\u6559\u5E08\u6570"),rt.createElement("div",{className:O.stat_value},(Nn=Wr==null?void 0:Wr.course_info)==null?void 0:Nn.teachers_count))))),rt.createElement("div",{className:O.scores_container},rt.createElement("div",{className:O.score_card},rt.createElement("div",{className:O.score_title},"\u8003\u8BD5\u5E73\u5747\u5F97\u5206"),rt.createElement("div",{className:O.score_content},rt.createElement("span",{className:O.score_value,style:{color:"#0089FD"}},(wr=Wr==null?void 0:Wr.average_score)==null?void 0:wr.exercise_average_score),At((zr=Wr==null?void 0:Wr.average_score)==null?void 0:zr.exercise_average_score_compare,!0)),rt.createElement("div",{className:O.score_compare},"\u5BF9\u6BD4\u65F6\u95F4\u8003\u8BD5\u5E73\u5747\u5F97\u5206\u4E3A",(Xn=Wr==null?void 0:Wr.average_score)==null?void 0:Xn.exercise_average_score_last_month)),rt.createElement("div",{className:O.score_card},rt.createElement("div",{className:O.score_title},"\u4F5C\u4E1A\u5E73\u5747\u5F97\u5206"),rt.createElement("div",{className:O.score_content},rt.createElement("span",{className:O.score_value,style:{color:"#FFCA00"}},(Rr=Wr==null?void 0:Wr.average_score)==null?void 0:Rr.student_works_average_score),At((Zr=Wr==null?void 0:Wr.average_score)==null?void 0:Zr.student_works_average_score_compare,!0)),rt.createElement("div",{className:O.score_compare},"\u5BF9\u6BD4\u65F6\u95F4\u4F5C\u4E1A\u5E73\u5747\u5F97\u5206\u4E3A",(Gi=Wr==null?void 0:Wr.average_score)==null?void 0:Gi.student_works_average_score_last_month)))),rt.createElement("div",{className:O.left_bottom},rt.createElement("div",{className:O.completion_card},rt.createElement("div",{className:O.card_header},rt.createElement("div",{className:O.card_title},"\u4F5C\u4E1A\u5B8C\u6210\u7387"),rt.createElement("div",{className:O.card_value},(sa=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:sa.homework_finish_rate,"%",At((ya=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:ya.homework_finish_rate_compare))),rt.createElement("div",{className:O.progress_list},rt.createElement(Z.Z,{title:`\u5B8C\u6210\u7387${(Ri=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:Ri.shixun_finish_rate}%`},rt.createElement("div",{className:O.progress_item},rt.createElement("div",{className:O.progress_label},rt.createElement("span",null,"\u5B9E\u8BAD\u4F5C\u4E1A"),rt.createElement("span",null,(Sa=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:Sa.shixun_count)),rt.createElement("div",{className:O.progress_bar},rt.createElement("div",{className:O.progress_inner,style:{width:`${(zi=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:zi.shixun_finish_rate}%`,background:"#00A8FF"}})))),rt.createElement(Z.Z,{title:`\u5B8C\u6210\u7387${(oa=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:oa.hack_finish_count}%`},rt.createElement("div",{className:O.progress_item},rt.createElement("div",{className:O.progress_label},rt.createElement("span",null,"\u7F16\u7A0B\u4F5C\u4E1A"),rt.createElement("span",null,(ji=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:ji.hack_count)),rt.createElement("div",{className:O.progress_bar},rt.createElement("div",{className:O.progress_inner,style:{width:`${(ra=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:ra.hack_finish_rate}%`,background:"#00E4A4"}})))),rt.createElement(Z.Z,{title:`\u5B8C\u6210\u7387${(Fi=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:Fi.normal_finish_rate}%`},rt.createElement("div",{className:O.progress_item},rt.createElement("div",{className:O.progress_label},rt.createElement("span",null,"\u56FE\u6587\u4F5C\u4E1A"),rt.createElement("span",null,(da=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:da.normal_count)),rt.createElement("div",{className:O.progress_bar},rt.createElement("div",{className:O.progress_inner,style:{width:`${(Kr=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:Kr.normal_finish_rate}%`,background:"#B200EE"}})))),rt.createElement(Z.Z,{title:`\u5B8C\u6210\u7387${(fa=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:fa.group_finish_rate}%`},rt.createElement("div",{className:O.progress_item},rt.createElement("div",{className:O.progress_label},rt.createElement("span",null,"\u5206\u7EC4\u4F5C\u4E1A"),rt.createElement("span",null,(kr=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:kr.group_count)),rt.createElement("div",{className:O.progress_bar},rt.createElement("div",{className:O.progress_inner,style:{width:`${(_a=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:_a.group_finish_rate}%`,background:"#00F0FF"}})))))))),rt.createElement("div",{className:O.juesai},rt.createElement("div",{className:O.left_indicators},rt.createElement("div",{className:O.indicator_item,style:{marginLeft:"1.5rem"}},rt.createElement("div",{className:O.indicator_content},rt.createElement("div",{className:O.value},(rr=Wr==null?void 0:Wr.course_rate)==null?void 0:rr.message_reply_rate,"%"),rt.createElement("div",{className:O.label},"\u5E16\u5B50\u56DE\u590D\u7387")),rt.createElement("span",{className:O.dot},rt.createElement("span",{className:O.dot_inner}))),rt.createElement("div",{className:O.indicator_item,style:{marginLeft:"0.4rem"}},rt.createElement("div",{className:O.indicator_content},rt.createElement("div",{className:O.value},(or=Wr==null?void 0:Wr.course_rate)==null?void 0:or.attendance_rate,"%"),rt.createElement("div",{className:O.label},"\u5E73\u5747\u5230\u8BFE\u7387")),rt.createElement("span",{className:O.dot},rt.createElement("span",{className:O.dot_inner}))),rt.createElement("div",{className:O.indicator_item,style:{marginLeft:"-0.4rem"}},rt.createElement("div",{className:O.indicator_content},rt.createElement("div",{className:O.value},(ia=Wr==null?void 0:Wr.course_rate)==null?void 0:ia.files_download_rate,"%"),rt.createElement("div",{className:O.label},"\u6559\u5B66\u8D44\u6E90\u4E0B\u8F7D\u7387")),rt.createElement("span",{className:O.dot},rt.createElement("span",{className:O.dot_inner}))),rt.createElement("div",{className:O.indicator_item,style:{marginLeft:"0.4rem"}},rt.createElement("div",{className:O.indicator_content},rt.createElement("div",{className:O.value},(Fn=Wr==null?void 0:Wr.course_rate)==null?void 0:Fn.videos_finish_rate,"%"),rt.createElement("div",{className:O.label},"\u89C6\u9891\u5B8C\u6210\u5EA6")),rt.createElement("span",{className:O.dot},rt.createElement("span",{className:O.dot_inner}))),rt.createElement("div",{className:O.indicator_item,style:{marginLeft:"1.4rem"}},rt.createElement("div",{className:O.indicator_content},rt.createElement("div",{className:O.value},(ba=Wr==null?void 0:Wr.course_rate)==null?void 0:ba.knowledge_rate,"%"),rt.createElement("div",{className:O.label},"\u77E5\u8BC6\u70B9\u638C\u63E1\u7387")),rt.createElement("span",{className:O.dot},rt.createElement("span",{className:O.dot_inner})))),rt.createElement("div",{className:O.center_circle},((Qr=fr==null?void 0:fr.detail)==null?void 0:Qr.length)==5&&rt.createElement("div",{className:O.outer_ring},rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(-54deg)"},type:"dashboard",percent:(xa=fr==null?void 0:fr.detail[0])==null?void 0:xa.rate,strokeColor:"#FFCA00",strokeWidth:2,gapDegree:308,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{top:"30%",right:"-4%"}},rt.createElement("span",{className:O.value,style:{color:"#FFCA00"}},(Vi=fr==null?void 0:fr.detail[0])==null?void 0:Vi.rate,"%"),rt.createElement("span",{className:O.text},($i=fr==null?void 0:fr.detail[0])==null?void 0:$i.name))),rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(18deg)"},type:"dashboard",percent:(Pn=fr==null?void 0:fr.detail[1])==null?void 0:Pn.rate,strokeColor:"#DD00FF",strokeWidth:2,gapDegree:308,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{bottom:"4%",left:"73%"}},rt.createElement("span",{className:O.value,style:{color:"#DD00FF"}},(Tr=fr==null?void 0:fr.detail[1])==null?void 0:Tr.rate,"%"),rt.createElement("span",{className:O.text},(Sn=fr==null?void 0:fr.detail[1])==null?void 0:Sn.name))),rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(90deg)"},type:"dashboard",percent:(Aa=fr==null?void 0:fr.detail[2])==null?void 0:Aa.rate,strokeColor:"#0089FD",strokeWidth:2,gapDegree:308,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{bottom:"4%",left:"11%"}},rt.createElement("span",{className:O.value,style:{color:"#0089FD"}},(Wi=fr==null?void 0:fr.detail[2])==null?void 0:Wi.rate,"%"),rt.createElement("span",{className:O.text},(Ia=fr==null?void 0:fr.detail[2])==null?void 0:Ia.name))),rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(162deg)"},type:"dashboard",percent:(Fa=fr==null?void 0:fr.detail[3])==null?void 0:Fa.rate,strokeColor:"#FF005C",strokeWidth:2,gapDegree:308,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{top:"30%",left:"-4%"}},rt.createElement("span",{className:O.value,style:{color:"#FF005C"}},(Xr=fr==null?void 0:fr.detail[3])==null?void 0:Xr.rate,"%"),rt.createElement("span",{className:O.text},(ki=fr==null?void 0:fr.detail[3])==null?void 0:ki.name))),rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(234deg)"},type:"dashboard",percent:(Ur=fr==null?void 0:fr.detail[4])==null?void 0:Ur.rate,strokeColor:"#FF005C",strokeWidth:2,gapDegree:308,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{top:"-3%",left:"42%"}},rt.createElement("span",{className:O.value,style:{color:"#FF005C"}},(un=fr==null?void 0:fr.detail[4])==null?void 0:un.rate,"%"),rt.createElement("span",{className:O.text},(bi=fr==null?void 0:fr.detail[4])==null?void 0:bi.name)))),((ir=fr==null?void 0:fr.detail)==null?void 0:ir.length)==4&&rt.createElement("div",{className:O.outer_ring},rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(-45deg)"},type:"dashboard",percent:(Oi=fr==null?void 0:fr.detail[0])==null?void 0:Oi.rate,strokeColor:"#FFCA00",strokeWidth:2,gapDegree:290,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{top:"44%",right:"-6%"}},rt.createElement("span",{className:O.value,style:{color:"#FFCA00"}},(wn=fr==null?void 0:fr.detail[0])==null?void 0:wn.rate,"%"),rt.createElement("span",{className:O.text},(Cr=fr==null?void 0:fr.detail[0])==null?void 0:Cr.name))),rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(45deg)"},type:"dashboard",percent:(Jr=fr==null?void 0:fr.detail[1])==null?void 0:Jr.rate,strokeColor:"#DD00FF",strokeWidth:2,gapDegree:290,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{bottom:"-3%",left:"42%"}},rt.createElement("span",{className:O.value,style:{color:"#DD00FF"}},(hi=fr==null?void 0:fr.detail[1])==null?void 0:hi.rate,"%"),rt.createElement("span",{className:O.text},(Qi=fr==null?void 0:fr.detail[1])==null?void 0:Qi.name))),rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(45deg)"},type:"dashboard",percent:(ss=fr==null?void 0:fr.detail[2])==null?void 0:ss.rate,strokeColor:"#0089FD",strokeWidth:2,gapDegree:290,gapPosition:"top",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{top:"44%",left:"-6%"}},rt.createElement("span",{className:O.value,style:{color:"#0089FD"}},(ar=fr==null?void 0:fr.detail[2])==null?void 0:ar.rate,"%"),rt.createElement("span",{className:O.text},(jr=fr==null?void 0:fr.detail[2])==null?void 0:jr.name))),rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(45deg)"},type:"dashboard",percent:(Ta=fr==null?void 0:fr.detail[3])==null?void 0:Ta.rate,strokeColor:"#FF005C",strokeWidth:2,gapDegree:290,gapPosition:"right",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{top:"-3%",left:"42%"}},rt.createElement("span",{className:O.value,style:{color:"#FF005C"}},(xs=fr==null?void 0:fr.detail[3])==null?void 0:xs.rate,"%"),rt.createElement("span",{className:O.text},(mo=fr==null?void 0:fr.detail[3])==null?void 0:mo.name)))),((xo=fr==null?void 0:fr.detail)==null?void 0:xo.length)==3&&rt.createElement("div",{className:O.outer_ring},rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(-30deg)"},type:"dashboard",percent:(fs=fr==null?void 0:fr.detail[0])==null?void 0:fs.rate,strokeColor:"#FFCA00",strokeWidth:2,gapDegree:260,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{bottom:"20%",right:"-2%"}},rt.createElement("span",{className:O.value,style:{color:"#FFCA00"}},(Os=fr==null?void 0:fr.detail[0])==null?void 0:Os.rate,"%"),rt.createElement("span",{className:O.text},(Ds=fr==null?void 0:fr.detail[0])==null?void 0:Ds.name))),rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(90deg)"},type:"dashboard",percent:(Eo=fr==null?void 0:fr.detail[1])==null?void 0:Eo.rate,strokeColor:"#DD00FF",strokeWidth:2,gapDegree:260,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{bottom:"20%",left:"-2%"}},rt.createElement("span",{className:O.value,style:{color:"#DD00FF"}},(js=fr==null?void 0:fr.detail[1])==null?void 0:js.rate,"%"),rt.createElement("span",{className:O.text},(Ns=fr==null?void 0:fr.detail[1])==null?void 0:Ns.name))),rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(210deg)"},type:"dashboard",percent:(qs=fr==null?void 0:fr.detail[2])==null?void 0:qs.rate,strokeColor:"#0089FD",strokeWidth:2,gapDegree:260,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{top:"-4%",left:"42%"}},rt.createElement("span",{className:O.value,style:{color:"#0089FD"}},(_o=fr==null?void 0:fr.detail[2])==null?void 0:_o.rate,"%"),rt.createElement("span",{className:O.text},(So=fr==null?void 0:fr.detail[2])==null?void 0:So.name)))),((ws=fr==null?void 0:fr.detail)==null?void 0:ws.length)==2&&rt.createElement("div",{className:O.outer_ring},rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(0deg)"},type:"dashboard",percent:(co=fr==null?void 0:fr.detail[0])==null?void 0:co.rate,strokeColor:"#FFCA00",strokeWidth:2,gapDegree:200,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{bottom:"-5%",left:"42%"}},rt.createElement("span",{className:O.value,style:{color:"#FFCA00"}},(Ps=fr==null?void 0:fr.detail[0])==null?void 0:Ps.rate,"%"),rt.createElement("span",{className:O.text},(wo=fr==null?void 0:fr.detail[0])==null?void 0:wo.name))),rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(180deg)"},type:"dashboard",percent:(po=fr==null?void 0:fr.detail[1])==null?void 0:po.rate,strokeColor:"#DD00FF",strokeWidth:2,gapDegree:200,gapPosition:"left",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{top:"-3%",left:"42%"}},rt.createElement("span",{className:O.value,style:{color:"#DD00FF"}},(Co=fr==null?void 0:fr.detail[1])==null?void 0:Co.rate,"%"),rt.createElement("span",{className:O.text},(Ao=fr==null?void 0:fr.detail[1])==null?void 0:Ao.name)))),(($s=fr==null?void 0:fr.detail)==null?void 0:$s.length)==1&&rt.createElement("div",{className:O.outer_ring},rt.createElement("div",{className:O.progress_item,style:{}},rt.createElement(kt.Z,{style:{transform:"rotate(0deg)"},type:"dashboard",percent:(Is=fr==null?void 0:fr.detail[0])==null?void 0:Is.rate,strokeColor:"#FFCA00",strokeWidth:2,gapDegree:20,gapPosition:"top",trailColor:"rgba(255, 255, 255, 0.2)",size:600,format:()=>""}),rt.createElement("div",{className:O.progress_label,style:{top:"-5%",left:"42%"}},rt.createElement("span",{className:O.value,style:{color:"#FFCA00"}},(Ra=fr==null?void 0:fr.detail[0])==null?void 0:Ra.rate,"%"),rt.createElement("span",{className:O.text},(na=fr==null?void 0:fr.detail[0])==null?void 0:na.name)))),rt.createElement(kt.Z,{type:"circle",percent:75,showInfo:!1,strokeColor:"#03FEF8",trailColor:"rgba(255, 255, 255, 0.3)",style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)"},size:250}),rt.createElement("div",{className:O.inner_circle},vo===1&&rt.createElement("div",{style:{color:"#fff"}},"\u672A\u8BBE\u7F6E\u8BFE\u5802\u8FBE\u6210\u5EA6"),vo===2&&rt.createElement("div",{className:O.circle_value},fr==null?void 0:fr.total,"%"),rt.createElement("div",{className:O.circle_label},"\u8BFE\u5802\u76EE\u6807\u8FBE\u6210\u5EA6"),rt.createElement("div",{className:O.circle_sublabel,onClick:()=>(0,g.xg)(`/classrooms/${Es.coursesId}/statistics/${Zs.get("category_id")}?tabs=3`)},rt.createElement("i",{className:"iconfont icon-bianji15 font12"}),"\u7F16\u8F91\u8BFE\u7A0B\u8FBE\u6210\u5EA6"))),rt.createElement("div",{className:O.right_indicators},rt.createElement("div",{className:O.indicator_item,style:{marginRight:"1.5rem"}},rt.createElement("span",{className:O.dot},rt.createElement("span",{className:O.dot_inner})),rt.createElement("div",{className:O.indicator_content},rt.createElement("div",{className:O.value},(hs=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:hs.shixun_finish_rate,"%"),rt.createElement("div",{className:O.label},"\u5B9E\u8BAD\u4F5C\u4E1A\u5B8C\u6210\u7387"))),rt.createElement("div",{className:O.indicator_item,style:{marginRight:"0.4rem"}},rt.createElement("span",{className:O.dot},rt.createElement("span",{className:O.dot_inner})),rt.createElement("div",{className:O.indicator_content},rt.createElement("div",{className:O.value},(Cs=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:Cs.hack_finish_rate,"%"),rt.createElement("div",{className:O.label},"\u7F16\u7A0B\u4F5C\u4E1A\u5B8C\u6210\u7387"))),rt.createElement("div",{className:O.indicator_item,style:{marginRight:"-0.4rem"}},rt.createElement("span",{className:O.dot},rt.createElement("span",{className:O.dot_inner})),rt.createElement("div",{className:O.indicator_content},rt.createElement("div",{className:O.value},(za=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:za.normal_finish_rate,"%"),rt.createElement("div",{className:O.label},"\u56FE\u6587\u4F5C\u4E1A\u5B8C\u6210\u7387"))),rt.createElement("div",{className:O.indicator_item,style:{marginRight:"0.4rem"}},rt.createElement("span",{className:O.dot},rt.createElement("span",{className:O.dot_inner})),rt.createElement("div",{className:O.indicator_content},rt.createElement("div",{className:O.value},(cs=Wr==null?void 0:Wr.homework_finish_info)==null?void 0:cs.group_finish_rate,"%"),rt.createElement("div",{className:O.label},"\u5206\u7EC4\u4F5C\u4E1A\u5B8C\u6210\u7387"))),rt.createElement("div",{className:O.indicator_item,style:{marginRight:"1.4rem"}},rt.createElement("span",{className:O.dot},rt.createElement("span",{className:O.dot_inner})),rt.createElement("div",{className:O.indicator_content},rt.createElement("div",{className:O.value},(Ls=Wr==null?void 0:Wr.course_rate)==null?void 0:Ls.exercise_pass_rate,"%"),rt.createElement("div",{className:O.label},"\u5728\u7EBF\u8003\u8BD5\u5F97\u5206\u7387\u8D85\u8FC760%")))))),rt.createElement("div",{className:O.tab_container},rt.createElement("div",{className:O.tab_list,style:{background:`url(${o})`,backgroundSize:"100% 100%"}},["\u8BFE\u5802\u8FBE\u6210\u5EA6","\u4F5C\u4E1A\u5B8C\u6210\u60C5\u51B5","\u8003\u8BD5\u5B8C\u6210\u60C5\u51B5","\u81EA\u4E3B\u5B66\u4E60\u60C5\u51B5","\u5728\u7EBF\u7B7E\u5230\u60C5\u51B5","\u77E5\u8BC6\u70B9\u638C\u63E1\u60C5\u51B5"].map((ti,ps)=>rt.createElement("div",{key:ti,className:`${O.tab_item} ${Ws===ps?O.active:""}`,onClick:()=>Po(ps),style:Ws===ps?{background:`url(${C})`,backgroundSize:"100% 100%"}:{}},ti))),rt.createElement("div",{className:O.tab_content},Ws===0&&rt.createElement(we,{paramsObj:ls}),Ws===1&&rt.createElement(xe,{paramsObj:ls}),Ws===2&&rt.createElement(et,{paramsObj:ls}),Ws===3&&rt.createElement(Mt,{paramsObj:ls}),Ws===4&&rt.createElement(Wn,{paramsObj:ls}),Ws===5&&rt.createElement(dr,{paramsObj:ls})))),rt.createElement(xi,{paramsObj:ls,getData:ti=>{to($r(Mr({},ls),{type:ti}))}}),rt.createElement(pn.default,{width:500,centered:!0,title:"\u8303\u56F4\u9009\u62E9",open:To,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>{to(Mr({},fo)),qn(),oo(!1)},onCancel:()=>{oo(!1)}},rt.createElement("div",{className:"mb20"},"\u9700\u8981\u67E5\u770B\u7684\u65F6\u95F4\u8303\u56F4"),rt.createElement(on,{style:{width:400},size:"large",value:[Na[0]?cn()(Na[0]):null,Na[1]?cn()(Na[1]):null],onChange:(ti,ps)=>{const[S,te]=ps;no($r(Mr({},fo),{start_at:S,end_at:te})),Ua(ps)},format:"YYYY-MM-DD"}),rt.createElement("div",{className:"mt20 mb20"},"\u8FDB\u884C\u5BF9\u6BD4\u7684\u65F6\u95F4\u8303\u56F4"),rt.createElement(on,{style:{width:400},size:"large",value:[Za[0]?cn()(Za[0]):null,Za[1]?cn()(Za[1]):null],onChange:(ti,ps)=>{const[S,te]=ps;no($r(Mr({},fo),{compare_start_at:S,compare_end_at:te})),As(ps)},format:"YYYY-MM-DD"})))};var Li=(0,ie.connect)(({homePage:Ft,loading:Zt,globalSetting:Gt,user:Zn,classroomList:sr})=>({homePage:Ft,globalSetting:Gt,loading:Zt.models.homePage,user:Zn,classroomList:sr}))(ei)},20047:function(On,at,h){"use strict";h.d(at,{AL:function(){return g},Iy:function(){return F},Qv:function(){return L},ez:function(){return K},jb:function(){return x}});var c=h(32834),ie=h.n(c),O=h(11690),le=h.n(O);let j=1;function v(Be,je){const Le=Be.match(/^(\s+)(?:```)/);if(Le===null)return je;const it=Le[1];return je.split(`
|
|
`).map(ce=>{const Y=ce.match(/^\s+/);if(Y===null)return ce;const[N]=Y;return N.length>=it.length?ce.slice(it.length):ce}).join(`
|
|
`)}let re=[],ee=["<ul>"];const o=new(ie()).Renderer,C=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function F(){re.length=0,ee=["<ul>"]}const x={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function A(Be,je,Le,it){if(je>=Be.length||Be[je].level<=Le)return je;var ce=Be[je];it.push("<li><a href='#"+j+ce.anchor+"'>"+ce.text+"</a>"),je++;var Y=[];return je=A(Be,je,ce.level,Y),Y.length>0&&(it.push("<ul>"),Y.forEach(function(N){it.push(N)}),it.push("</ul>")),it.push("</li>"),je=A(Be,je,Le,it),je}function L(){return A(re,0,0,ee),ee.push("</ul>"),ee.join("")}const z={heading(Be){const je=C.exec(Be);if(j+=1,je)return{type:"heading",raw:je[0],depth:je[1].length,text:je[2]}},fences(Be){const je=this.rules.block.fences.exec(Be);if(je){const Le=je[0];let it=v(Le,je[3]||"");const ce=je[2]?je[2].trim():je[2];if(["latex","katex","math"].indexOf(ce)>=0){const Y=W(),N=it;it=Y,P[Y]={type:"block",expression:N}}return{type:"code",raw:Le,lang:ce,text:it}}}},G=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Z=0;const W=()=>`__special_katext_id_${Z++}__`;let P={};function K(){return P}function g(){Z=0,P={}}function T(Be){return Be=Be.replace(G,(je,Le)=>{const it=W();return P[it]={type:"inline",expression:Le},it}),Be}const fe=o.listitem;o.listitem=function(Be){return fe(T(Be))};const Ee=o.paragraph;o.paragraph=function(Be){return Ee(T(Be))};const pe=o.tablecell;o.tablecell=function(Be,je){return pe(T(Be),je)},o.code=function(Be,je,Le){const it=(je||"").match(/\S*/)[0];return it?["latex","katex","math"].indexOf(it)>=0?`<p class='editormd-tex'>${Be}</p>`:`<pre class="prettyprint linenums"><code class="language-${je}">${Le?Be:(0,O.escape)(Be,!0)}</code></pre>
|
|
`:'<pre class="prettyprint linenums"><code>'+(Le?Be:(0,O.escape)(Be,!0))+"</code></pre>"},o.heading=function(Be,je,Le){let it=this.options.headerPrefix+Le.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return re.push({anchor:it,level:je,text:Be}),"<h"+je+' id="'+j+it+'">'+Be+"</h"+je+">"},ie().setOptions({silent:!0,gfm:!0,pedantic:!1}),ie().use({tokenizer:z,renderer:o}),at.ZP=ie()},29509:function(On,at,h){"use strict";h.d(at,{o2:function(){return j},yT:function(){return v}});var c=h(77654),ie=h(34998);const O=ie.i.map(re=>`${re}-inverse`),le=["success","processing","error","default","warning"];function j(re){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,c.Z)(O),(0,c.Z)(ie.i)).includes(re):ie.i.includes(re)}function v(re){return le.includes(re)}},9981:function(On,at){"use strict";const h=function(){const c=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ie=1;ie<arguments.length;ie++){const O=ie<0||arguments.length<=ie?void 0:arguments[ie];O&&Object.keys(O).forEach(le=>{const j=O[le];j!==void 0&&(c[le]=j)})}return c};at.Z=h},99402:function(On,at,h){"use strict";h.d(at,{T:function(){return ie},n:function(){return c}});function c(O){return["small","middle","large"].includes(O)}function ie(O){return O?typeof O=="number"&&!Number.isNaN(O):!1}},86013:function(On,at,h){"use strict";var c=h(59301),ie=h(19248);const O=le=>{let j;return typeof le=="object"&&(le!=null&&le.clearIcon)?j=le:le&&(j={clearIcon:c.createElement(ie.Z,null)}),j};at.Z=O},97224:function(On,at,h){"use strict";h.d(at,{F:function(){return c}});function c(O){return O!=null&&O===O.window}const ie=O=>{var le,j;if(typeof window=="undefined")return 0;let v=0;return c(O)?v=O.pageYOffset:O instanceof Document?v=O.documentElement.scrollTop:(O instanceof HTMLElement||O)&&(v=O.scrollTop),O&&!c(O)&&typeof v!="number"&&(v=(j=((le=O.ownerDocument)!==null&&le!==void 0?le:O).documentElement)===null||j===void 0?void 0:j.scrollTop),v};at.Z=ie},52838:function(On,at,h){"use strict";h.d(at,{Z:function(){return v}});var c=h(37645);function ie(re,ee,o,C){if(C===!1)return{adjustX:!1,adjustY:!1};const F=C&&typeof C=="object"?C:{},x={};switch(re){case"top":case"bottom":x.shiftX=ee.arrowOffsetHorizontal*2+o,x.shiftY=!0,x.adjustY=!0;break;case"left":case"right":x.shiftY=ee.arrowOffsetVertical*2+o,x.shiftX=!0,x.adjustX=!0;break}const A=Object.assign(Object.assign({},x),F);return A.shiftX||(A.adjustX=!0),A.shiftY||(A.adjustY=!0),A}const O={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"]}},le={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"]}},j=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function v(re){const{arrowWidth:ee,autoAdjustOverflow:o,arrowPointAtCenter:C,offset:F,borderRadius:x,visibleFirst:A}=re,L=ee/2,z={};return Object.keys(O).forEach(G=>{const Z=C&&le[G]||O[G],W=Object.assign(Object.assign({},Z),{offset:[0,0],dynamicInset:!0});switch(z[G]=W,j.has(G)&&(W.autoArrow=!1),G){case"top":case"topLeft":case"topRight":W.offset[1]=-L-F;break;case"bottom":case"bottomLeft":case"bottomRight":W.offset[1]=L+F;break;case"left":case"leftTop":case"leftBottom":W.offset[0]=-L-F;break;case"right":case"rightTop":case"rightBottom":W.offset[0]=L+F;break}const P=(0,c.wZ)({contentRadius:x,limitVerticalRadius:!0});if(C)switch(G){case"topLeft":case"bottomLeft":W.offset[0]=-P.arrowOffsetHorizontal-L;break;case"topRight":case"bottomRight":W.offset[0]=P.arrowOffsetHorizontal+L;break;case"leftTop":case"rightTop":W.offset[1]=-P.arrowOffsetHorizontal*2+L;break;case"leftBottom":case"rightBottom":W.offset[1]=P.arrowOffsetHorizontal*2-L;break}W.overflow=ie(G,P,ee,o),A&&(W.htmlRegion="visibleFirst")}),z}},83010:function(On,at,h){"use strict";h.d(at,{Z:function(){return le}});var c=h(16089);function ie(j,v,re,ee){const o=re-v;return j/=ee/2,j<1?o/2*j*j*j+v:o/2*((j-=2)*j*j+2)+v}var O=h(97224);function le(j){let v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:ee,duration:o=450}=v,C=re(),F=(0,O.Z)(C),x=Date.now(),A=()=>{const z=Date.now()-x,G=ie(z>o?o:z,F,j,o);(0,O.F)(C)?C.scrollTo(window.pageXOffset,G):C instanceof Document||C.constructor.name==="HTMLDocument"?C.documentElement.scrollTop=G:C.scrollTop=G,z<o?(0,c.Z)(A):typeof ee=="function"&&ee()};(0,c.Z)(A)}},82855:function(On,at,h){"use strict";h.d(at,{F:function(){return j},Z:function(){return le}});var c=h(92310),ie=h.n(c);const O=null;function le(v,re,ee){return ie()({[`${v}-status-success`]:re==="success",[`${v}-status-warning`]:re==="warning",[`${v}-status-error`]:re==="error",[`${v}-status-validating`]:re==="validating",[`${v}-has-feedback`]:ee})}const j=(v,re)=>re||v},62673:function(On,at,h){"use strict";h.d(at,{default:function(){return Be}});var c=h(59301),ie=h(92310),O=h.n(ie),le=h(16632),j=h(8654),v=h(12919),re=h(63872),ee=h(48755),o=h(2171),C=h(83397),F=h(56553),A=c.createContext(null),L=h(36170),z=h(74632),G=function(je,Le){var it={};for(var ce in je)Object.prototype.hasOwnProperty.call(je,ce)&&Le.indexOf(ce)<0&&(it[ce]=je[ce]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,ce=Object.getOwnPropertySymbols(je);Y<ce.length;Y++)Le.indexOf(ce[Y])<0&&Object.prototype.propertyIsEnumerable.call(je,ce[Y])&&(it[ce[Y]]=je[ce[Y]]);return it};const Z=(je,Le)=>{var it;const{prefixCls:ce,className:Y,rootClassName:N,children:ve,indeterminate:ue=!1,style:we,onMouseEnter:_,onMouseLeave:I,skipGroup:he=!1,disabled:Ne}=je,Qe=G(je,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Et,direction:He,checkbox:Oe}=c.useContext(ee.E_),lt=c.useContext(A),{isFormItemInput:St}=c.useContext(F.aM),ze=c.useContext(o.Z),At=(it=(lt==null?void 0:lt.disabled)||Ne)!==null&&it!==void 0?it:ze,ke=c.useRef(Qe.value),Ht=c.useRef(null),dt=(0,j.sQ)(Le,Ht);c.useEffect(()=>{lt==null||lt.registerValue(Qe.value)},[]),c.useEffect(()=>{if(!he)return Qe.value!==ke.current&&(lt==null||lt.cancelValue(ke.current),lt==null||lt.registerValue(Qe.value),ke.current=Qe.value),()=>lt==null?void 0:lt.cancelValue(Qe.value)},[Qe.value]),c.useEffect(()=>{var xe;!((xe=Ht.current)===null||xe===void 0)&&xe.input&&(Ht.current.input.indeterminate=ue)},[ue]);const ct=Et("checkbox",ce),Xe=(0,C.Z)(ct),[Re,oe,qe]=(0,L.ZP)(ct,Xe),Me=Object.assign({},Qe);lt&&!he&&(Me.onChange=function(){Qe.onChange&&Qe.onChange.apply(Qe,arguments),lt.toggleOption&<.toggleOption({label:ve,value:Qe.value})},Me.name=lt.name,Me.checked=lt.value.includes(Qe.value));const U=O()(`${ct}-wrapper`,{[`${ct}-rtl`]:He==="rtl",[`${ct}-wrapper-checked`]:Me.checked,[`${ct}-wrapper-disabled`]:At,[`${ct}-wrapper-in-form-item`]:St},Oe==null?void 0:Oe.className,Y,N,qe,Xe,oe),M=O()({[`${ct}-indeterminate`]:ue},re.A,oe),[ye,Te]=(0,z.Z)(Me.onClick);return Re(c.createElement(v.Z,{component:"Checkbox",disabled:At},c.createElement("label",{className:U,style:Object.assign(Object.assign({},Oe==null?void 0:Oe.style),we),onMouseEnter:_,onMouseLeave:I,onClick:ye},c.createElement(le.Z,Object.assign({},Me,{onClick:Te,prefixCls:ct,className:M,disabled:At,ref:dt})),ve!==void 0&&c.createElement("span",{className:`${ct}-label`},ve))))};var P=c.forwardRef(Z),K=h(77654),g=h(2738),T=function(je,Le){var it={};for(var ce in je)Object.prototype.hasOwnProperty.call(je,ce)&&Le.indexOf(ce)<0&&(it[ce]=je[ce]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,ce=Object.getOwnPropertySymbols(je);Y<ce.length;Y++)Le.indexOf(ce[Y])<0&&Object.prototype.propertyIsEnumerable.call(je,ce[Y])&&(it[ce[Y]]=je[ce[Y]]);return it},Ee=c.forwardRef((je,Le)=>{const{defaultValue:it,children:ce,options:Y=[],prefixCls:N,className:ve,rootClassName:ue,style:we,onChange:_}=je,I=T(je,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:he,direction:Ne}=c.useContext(ee.E_),[Qe,Et]=c.useState(I.value||it||[]),[He,Oe]=c.useState([]);c.useEffect(()=>{"value"in I&&Et(I.value||[])},[I.value]);const lt=c.useMemo(()=>Y.map(M=>typeof M=="string"||typeof M=="number"?{label:M,value:M}:M),[Y]),St=M=>{Oe(ye=>ye.filter(Te=>Te!==M))},ze=M=>{Oe(ye=>[].concat((0,K.Z)(ye),[M]))},At=M=>{const ye=Qe.indexOf(M.value),Te=(0,K.Z)(Qe);ye===-1?Te.push(M.value):Te.splice(ye,1),"value"in I||Et(Te),_==null||_(Te.filter(xe=>He.includes(xe)).sort((xe,ae)=>{const Fe=lt.findIndex(se=>se.value===xe),nt=lt.findIndex(se=>se.value===ae);return Fe-nt}))},ke=he("checkbox",N),Ht=`${ke}-group`,dt=(0,C.Z)(ke),[ct,Xe,Re]=(0,L.ZP)(ke,dt),oe=(0,g.Z)(I,["value","disabled"]),qe=Y.length?lt.map(M=>c.createElement(P,{prefixCls:ke,key:M.value.toString(),disabled:"disabled"in M?M.disabled:I.disabled,value:M.value,checked:Qe.includes(M.value),onChange:M.onChange,className:`${Ht}-item`,style:M.style,title:M.title,id:M.id,required:M.required},M.label)):ce,Me={toggleOption:At,value:Qe,disabled:I.disabled,name:I.name,registerValue:ze,cancelValue:St},U=O()(Ht,{[`${Ht}-rtl`]:Ne==="rtl"},ve,ue,Re,dt,Xe);return ct(c.createElement("div",Object.assign({className:U,style:we},oe,{ref:Le}),c.createElement(A.Provider,{value:Me},qe)))});const pe=P;pe.Group=Ee,pe.__ANT_CHECKBOX=!0;var Be=pe},36170:function(On,at,h){"use strict";h.d(at,{C2:function(){return v}});var c=h(36237),ie=h(63356),O=h(51636),le=h(16931);const j=re=>{const{checkboxCls:ee}=re,o=`${ee}-wrapper`;return[{[`${ee}-group`]:Object.assign(Object.assign({},(0,ie.Wf)(re)),{display:"inline-flex",flexWrap:"wrap",columnGap:re.marginXS,[`> ${re.antCls}-row`]:{flex:1}}),[o]:Object.assign(Object.assign({},(0,ie.Wf)(re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${o}`]:{marginInlineStart:0},[`&${o}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ee]:Object.assign(Object.assign({},(0,ie.Wf)(re)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:re.borderRadiusSM,alignSelf:"center",[`${ee}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ee}-inner`]:Object.assign({},(0,ie.oN)(re))},[`${ee}-inner`]:{boxSizing:"border-box",display:"block",width:re.checkboxSize,height:re.checkboxSize,direction:"ltr",backgroundColor:re.colorBgContainer,border:`${(0,c.unit)(re.lineWidth)} ${re.lineType} ${re.colorBorder}`,borderRadius:re.borderRadiusSM,borderCollapse:"separate",transition:`all ${re.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:re.calc(re.checkboxSize).div(14).mul(5).equal(),height:re.calc(re.checkboxSize).div(14).mul(8).equal(),border:`${(0,c.unit)(re.lineWidthBold)} solid ${re.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${re.motionDurationFast} ${re.motionEaseInBack}, opacity ${re.motionDurationFast}`}},"& + span":{paddingInlineStart:re.paddingXS,paddingInlineEnd:re.paddingXS}})},{[`
|
|
${o}:not(${o}-disabled),
|
|
${ee}:not(${ee}-disabled)
|
|
`]:{[`&:hover ${ee}-inner`]:{borderColor:re.colorPrimary}},[`${o}:not(${o}-disabled)`]:{[`&:hover ${ee}-checked:not(${ee}-disabled) ${ee}-inner`]:{backgroundColor:re.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ee}-checked:not(${ee}-disabled):after`]:{borderColor:re.colorPrimaryHover}}},{[`${ee}-checked`]:{[`${ee}-inner`]:{backgroundColor:re.colorPrimary,borderColor:re.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${re.motionDurationMid} ${re.motionEaseOutBack} ${re.motionDurationFast}`}}},[`
|
|
${o}-checked:not(${o}-disabled),
|
|
${ee}-checked:not(${ee}-disabled)
|
|
`]:{[`&:hover ${ee}-inner`]:{backgroundColor:re.colorPrimaryHover,borderColor:"transparent"}}},{[ee]:{"&-indeterminate":{[`${ee}-inner`]:{backgroundColor:`${re.colorBgContainer} !important`,borderColor:`${re.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:re.calc(re.fontSizeLG).div(2).equal(),height:re.calc(re.fontSizeLG).div(2).equal(),backgroundColor:re.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${ee}-inner`]:{backgroundColor:`${re.colorBgContainer} !important`,borderColor:`${re.colorPrimary} !important`}}}},{[`${o}-disabled`]:{cursor:"not-allowed"},[`${ee}-disabled`]:{[`&, ${ee}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ee}-inner`]:{background:re.colorBgContainerDisabled,borderColor:re.colorBorder,"&:after":{borderColor:re.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:re.colorTextDisabled},[`&${ee}-indeterminate ${ee}-inner::after`]:{background:re.colorTextDisabled}}}]};function v(re,ee){const o=(0,O.mergeToken)(ee,{checkboxCls:`.${re}`,checkboxSize:ee.controlInteractiveSize});return[j(o)]}at.ZP=(0,le.I$)("Checkbox",(re,ee)=>{let{prefixCls:o}=ee;return[v(o,re)]})},74632:function(On,at,h){"use strict";h.d(at,{Z:function(){return O}});var c=h(59301),ie=h(16089);function O(le){const j=c.useRef(null),v=()=>{ie.Z.cancel(j.current),j.current=null};return[()=>{v(),j.current=(0,ie.Z)(()=>{j.current=null})},o=>{j.current&&(o.stopPropagation(),v()),le==null||le(o)}]}},38406:function(On,at,h){"use strict";var c=h(59301),ie=h(48755),O=h(584);const le=j=>{const{componentName:v}=j,{getPrefixCls:re}=(0,c.useContext)(ie.E_),ee=re("empty");switch(v){case"Table":case"List":return c.createElement(O.Z,{image:O.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return c.createElement(O.Z,{image:O.Z.PRESENTED_IMAGE_SIMPLE,className:`${ee}-small`});case"Table.filter":return null;default:return c.createElement(O.Z,null)}};at.Z=le},24017:function(On,at,h){"use strict";h.d(at,{default:function(){return ps}});var c=h(66649),ie=h.n(c),O=h(9007),le=h.n(O),j=h(50991),v=h.n(j),re=h(9084),ee=h.n(re),o=h(58626),C=h.n(o),F=h(13477),x=h.n(F),A=h(64796),L=h.n(A);ie().extend(L()),ie().extend(x()),ie().extend(le()),ie().extend(v()),ie().extend(ee()),ie().extend(C()),ie().extend(function(S,te){var Se=te.prototype,Ye=Se.format;Se.format=function(Ot){var zt=(Ot||"").replace("Wo","wo");return Ye.bind(this)(zt)}});var z={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},G=function(te){var Se=z[te];return Se||te.split("_")[0]},Z=function(){},W={getNow:function(){var te=ie()();return typeof te.tz=="function"?te.tz():te},getFixedDate:function(te){return ie()(te,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(te){return te.endOf("month")},getWeekDay:function(te){var Se=te.locale("en");return Se.weekday()+Se.localeData().firstDayOfWeek()},getYear:function(te){return te.year()},getMonth:function(te){return te.month()},getDate:function(te){return te.date()},getHour:function(te){return te.hour()},getMinute:function(te){return te.minute()},getSecond:function(te){return te.second()},getMillisecond:function(te){return te.millisecond()},addYear:function(te,Se){return te.add(Se,"year")},addMonth:function(te,Se){return te.add(Se,"month")},addDate:function(te,Se){return te.add(Se,"day")},setYear:function(te,Se){return te.year(Se)},setMonth:function(te,Se){return te.month(Se)},setDate:function(te,Se){return te.date(Se)},setHour:function(te,Se){return te.hour(Se)},setMinute:function(te,Se){return te.minute(Se)},setSecond:function(te,Se){return te.second(Se)},setMillisecond:function(te,Se){return te.millisecond(Se)},isAfter:function(te,Se){return te.isAfter(Se)},isValidate:function(te){return te.isValid()},locale:{getWeekFirstDay:function(te){return ie()().locale(G(te)).localeData().firstDayOfWeek()},getWeekFirstDate:function(te,Se){return Se.locale(G(te)).weekday(0)},getWeek:function(te,Se){return Se.locale(G(te)).week()},getShortWeekDays:function(te){return ie()().locale(G(te)).localeData().weekdaysMin()},getShortMonths:function(te){return ie()().locale(G(te)).localeData().monthsShort()},format:function(te,Se,Ye){return Se.locale(G(te)).format(Ye)},parse:function(te,Se,Ye){for(var Je=G(te),Ot=0;Ot<Ye.length;Ot+=1){var zt=Ye[Ot],Yt=Se;if(zt.includes("wo")||zt.includes("Wo")){for(var yn=Yt.split("-")[0],Cn=Yt.split("-")[1],tn=ie()(yn,"YYYY").startOf("year").locale(Je),zn=0;zn<=52;zn+=1){var Kn=tn.add(zn,"week");if(Kn.format("Wo")===Cn)return Kn}return Z(),null}var Gn=ie()(Yt,zt,!0).locale(Je);if(Gn.isValid())return Gn}return Se&&Z(),null}}},P=W,K=h(45915),g=h(59301),T=h(60499),fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Ee=fe,pe=h(7657),Be=function(te,Se){return g.createElement(pe.Z,(0,T.Z)({},te,{ref:Se,icon:Ee}))},je=g.forwardRef(Be),Le=je,it={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},ce=it,Y=function(te,Se){return g.createElement(pe.Z,(0,T.Z)({},te,{ref:Se,icon:ce}))},N=g.forwardRef(Y),ve=N,ue={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},we=ue,_=function(te,Se){return g.createElement(pe.Z,(0,T.Z)({},te,{ref:Se,icon:we}))},I=g.forwardRef(_),he=I,Ne=h(92310),Qe=h.n(Ne),Et=h(77654),He=h(85899),Oe=h(72190),lt=h(70425),St=h(34280),ze=h(2738),At=h(26112),ke=h(48736),Ht=h(18642),dt=h(68196);function ct(S,te){return S!==void 0?S:te?"bottomRight":"bottomLeft"}var Xe=g.createContext(null),Re=Xe,oe={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function qe(S){var te=S.popupElement,Se=S.popupStyle,Ye=S.popupClassName,Je=S.popupAlign,Ot=S.transitionName,zt=S.getPopupContainer,Yt=S.children,yn=S.range,Cn=S.placement,tn=S.builtinPlacements,zn=tn===void 0?oe:tn,Kn=S.direction,Gn=S.visible,Bn=S.onClose,Vn=g.useContext(Re),Qn=Vn.prefixCls,Jn="".concat(Qn,"-dropdown"),Ar=ct(Cn,Kn==="rtl");return g.createElement(dt.Z,{showAction:[],hideAction:["click"],popupPlacement:Ar,builtinPlacements:zn,prefixCls:Jn,popupTransitionName:Ot,popup:te,popupAlign:Je,popupVisible:Gn,popupClassName:Qe()(Ye,(0,Ht.Z)((0,Ht.Z)({},"".concat(Jn,"-range"),yn),"".concat(Jn,"-rtl"),Kn==="rtl")),popupStyle:Se,stretch:"minWidth",getPopupContainer:zt,onPopupVisibleChange:function(tr){tr||Bn()}},Yt)}var Me=qe;function U(S,te){for(var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",Ye=String(S);Ye.length<te;)Ye="".concat(Se).concat(Ye);return Ye}function M(S){return S==null?[]:Array.isArray(S)?S:[S]}function ye(S,te,Se){var Ye=(0,Et.Z)(S);return Ye[te]=Se,Ye}function Te(S,te){var Se={},Ye=te||Object.keys(S);return Ye.forEach(function(Je){S[Je]!==void 0&&(Se[Je]=S[Je])}),Se}function xe(S,te,Se){if(Se)return Se;switch(S){case"time":return te.fieldTimeFormat;case"datetime":return te.fieldDateTimeFormat;case"month":return te.fieldMonthFormat;case"year":return te.fieldYearFormat;case"quarter":return te.fieldQuarterFormat;case"week":return te.fieldWeekFormat;default:return te.fieldDateFormat}}function ae(S,te,Se){var Ye=Se!==void 0?Se:te[te.length-1],Je=te.find(function(Ot){return S[Ot]});return Ye!==Je?S[Je]:void 0}function Fe(S){return Te(S,["placement","builtinPlacements","popupAlign","getPopupContainer","transitionName","direction"])}function nt(S,te,Se,Ye){var Je=g.useMemo(function(){return S||function(zt,Yt){var yn=zt;return te&&Yt.type==="date"?te(yn,Yt.today):Se&&Yt.type==="month"?Se(yn,Yt.locale):Yt.originNode}},[S,Se,te]),Ot=g.useCallback(function(zt,Yt){return Je(zt,(0,He.Z)((0,He.Z)({},Yt),{},{range:Ye}))},[Je,Ye]);return Ot}function se(S,te){var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ye=g.useState([!1,!1]),Je=(0,Oe.Z)(Ye,2),Ot=Je[0],zt=Je[1],Yt=function(tn,zn){zt(function(Kn){return ye(Kn,zn,tn)})},yn=g.useMemo(function(){return Ot.map(function(Cn,tn){if(Cn)return!0;var zn=S[tn];return zn?!!(!Se[tn]&&!zn||zn&&te(zn,{activeIndex:tn})):!1})},[S,Ot,te,Se]);return[yn,Yt]}function me(S,te,Se,Ye,Je){var Ot="",zt=[];return S&&zt.push(Je?"hh":"HH"),te&&zt.push("mm"),Se&&zt.push("ss"),Ot=zt.join(":"),Ye&&(Ot+=".SSS"),Je&&(Ot+=" A"),Ot}function vt(S,te,Se,Ye,Je,Ot){var zt=S.fieldDateTimeFormat,Yt=S.fieldDateFormat,yn=S.fieldTimeFormat,Cn=S.fieldMonthFormat,tn=S.fieldYearFormat,zn=S.fieldWeekFormat,Kn=S.fieldQuarterFormat,Gn=S.yearFormat,Bn=S.cellYearFormat,Vn=S.cellQuarterFormat,Qn=S.dayFormat,Jn=S.cellDateFormat,Ar=me(te,Se,Ye,Je,Ot);return(0,He.Z)((0,He.Z)({},S),{},{fieldDateTimeFormat:zt||"YYYY-MM-DD ".concat(Ar),fieldDateFormat:Yt||"YYYY-MM-DD",fieldTimeFormat:yn||Ar,fieldMonthFormat:Cn||"YYYY-MM",fieldYearFormat:tn||"YYYY",fieldWeekFormat:zn||"gggg-wo",fieldQuarterFormat:Kn||"YYYY-[Q]Q",yearFormat:Gn||"YYYY",cellYearFormat:Bn||"YYYY",cellQuarterFormat:Vn||"[Q]Q",cellDateFormat:Jn||Qn||"D"})}function ft(S,te){var Se=te.showHour,Ye=te.showMinute,Je=te.showSecond,Ot=te.showMillisecond,zt=te.use12Hours;return g.useMemo(function(){return vt(S,Se,Ye,Je,Ot,zt)},[S,Se,Ye,Je,Ot,zt])}var xt=h(43749);function gt(S,te,Se){return Se!=null?Se:te.some(function(Ye){return S.includes(Ye)})}var tt=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function Pt(S){var te=Te(S,tt),Se=S.format,Ye=S.picker,Je=null;return Se&&(Je=Se,Array.isArray(Je)&&(Je=Je[0]),Je=(0,xt.Z)(Je)==="object"?Je.format:Je),Ye==="time"&&(te.format=Je),[te,Je]}function _t(S){return S&&typeof S=="string"}function Ae(S,te,Se,Ye){return[S,te,Se,Ye].some(function(Je){return Je!==void 0})}function et(S,te,Se,Ye,Je){var Ot=te,zt=Se,Yt=Ye;if(!S&&!Ot&&!zt&&!Yt&&!Je)Ot=!0,zt=!0,Yt=!0;else if(S){var yn,Cn,tn,zn=[Ot,zt,Yt].some(function(Bn){return Bn===!1}),Kn=[Ot,zt,Yt].some(function(Bn){return Bn===!0}),Gn=zn?!0:!Kn;Ot=(yn=Ot)!==null&&yn!==void 0?yn:Gn,zt=(Cn=zt)!==null&&Cn!==void 0?Cn:Gn,Yt=(tn=Yt)!==null&&tn!==void 0?tn:Gn}return[Ot,zt,Yt,Je]}function E(S){var te=S.showTime,Se=Pt(S),Ye=(0,Oe.Z)(Se,2),Je=Ye[0],Ot=Ye[1],zt=te&&(0,xt.Z)(te)==="object"?te:{},Yt=(0,He.Z)((0,He.Z)({defaultOpenValue:zt.defaultOpenValue||zt.defaultValue},Je),zt),yn=Yt.showMillisecond,Cn=Yt.showHour,tn=Yt.showMinute,zn=Yt.showSecond,Kn=Ae(Cn,tn,zn,yn),Gn=et(Kn,Cn,tn,zn,yn),Bn=(0,Oe.Z)(Gn,3);return Cn=Bn[0],tn=Bn[1],zn=Bn[2],[Yt,(0,He.Z)((0,He.Z)({},Yt),{},{showHour:Cn,showMinute:tn,showSecond:zn,showMillisecond:yn}),Yt.format,Ot]}function D(S,te,Se,Ye,Je){var Ot=S==="time";if(S==="datetime"||Ot){for(var zt=Ye,Yt=xe(S,Je,null),yn=Yt,Cn=[te,Se],tn=0;tn<Cn.length;tn+=1){var zn=M(Cn[tn])[0];if(_t(zn)){yn=zn;break}}var Kn=zt.showHour,Gn=zt.showMinute,Bn=zt.showSecond,Vn=zt.showMillisecond,Qn=zt.use12Hours,Jn=gt(yn,["a","A","LT","LLL","LTS"],Qn),Ar=Ae(Kn,Gn,Bn,Vn);Ar||(Kn=gt(yn,["H","h","k","LT","LLL"]),Gn=gt(yn,["m","LT","LLL"]),Bn=gt(yn,["s","LTS"]),Vn=gt(yn,["SSS"]));var pr=et(Ar,Kn,Gn,Bn,Vn),tr=(0,Oe.Z)(pr,3);Kn=tr[0],Gn=tr[1],Bn=tr[2];var Dr=te||me(Kn,Gn,Bn,Vn,Jn);return(0,He.Z)((0,He.Z)({},zt),{},{format:Dr,showHour:Kn,showMinute:Gn,showSecond:Bn,showMillisecond:Vn,use12Hours:Jn})}return null}function Ve(S,te,Se){if(te===!1)return null;var Ye=te&&(0,xt.Z)(te)==="object"?te:{};return Ye.clearIcon||Se||g.createElement("span",{className:"".concat(S,"-clear-btn")})}var ne=7;function q(S,te,Se){return!S&&!te||S===te?!0:!S||!te?!1:Se()}function jt(S,te,Se){return q(te,Se,function(){var Ye=Math.floor(S.getYear(te)/10),Je=Math.floor(S.getYear(Se)/10);return Ye===Je})}function Ue(S,te,Se){return q(te,Se,function(){return S.getYear(te)===S.getYear(Se)})}function st(S,te){var Se=Math.floor(S.getMonth(te)/3);return Se+1}function ht(S,te,Se){return q(te,Se,function(){return Ue(S,te,Se)&&st(S,te)===st(S,Se)})}function de(S,te,Se){return q(te,Se,function(){return Ue(S,te,Se)&&S.getMonth(te)===S.getMonth(Se)})}function be(S,te,Se){return q(te,Se,function(){return Ue(S,te,Se)&&de(S,te,Se)&&S.getDate(te)===S.getDate(Se)})}function We(S,te,Se){return q(te,Se,function(){return S.getHour(te)===S.getHour(Se)&&S.getMinute(te)===S.getMinute(Se)&&S.getSecond(te)===S.getSecond(Se)})}function Ze(S,te,Se){return q(te,Se,function(){return be(S,te,Se)&&We(S,te,Se)&&S.getMillisecond(te)===S.getMillisecond(Se)})}function Q(S,te,Se,Ye){return q(Se,Ye,function(){var Je=S.locale.getWeekFirstDate(te,Se),Ot=S.locale.getWeekFirstDate(te,Ye);return Ue(S,Je,Ot)&&S.locale.getWeek(te,Se)===S.locale.getWeek(te,Ye)})}function Mt(S,te,Se,Ye,Je){switch(Je){case"date":return be(S,Se,Ye);case"week":return Q(S,te.locale,Se,Ye);case"month":return de(S,Se,Ye);case"quarter":return ht(S,Se,Ye);case"year":return Ue(S,Se,Ye);case"decade":return jt(S,Se,Ye);case"time":return We(S,Se,Ye);default:return Ze(S,Se,Ye)}}function _e(S,te,Se,Ye){return!te||!Se||!Ye?!1:S.isAfter(Ye,te)&&S.isAfter(Se,Ye)}function bt(S,te,Se,Ye,Je){return Mt(S,te,Se,Ye,Je)?!0:S.isAfter(Se,Ye)}function An(S,te,Se){var Ye=te.locale.getWeekFirstDay(S),Je=te.setDate(Se,1),Ot=te.getWeekDay(Je),zt=te.addDate(Je,Ye-Ot);return te.getMonth(zt)===te.getMonth(Se)&&te.getDate(zt)>1&&(zt=te.addDate(zt,-7)),zt}function xn(S,te){var Se=te.generateConfig,Ye=te.locale,Je=te.format;return S?typeof Je=="function"?Je(S):Se.locale.format(Ye.locale,S,Je):""}function Er(S,te,Se){var Ye=te,Je=["getHour","getMinute","getSecond","getMillisecond"],Ot=["setHour","setMinute","setSecond","setMillisecond"];return Ot.forEach(function(zt,Yt){Se?Ye=S[zt](Ye,S[Je[Yt]](Se)):Ye=S[zt](Ye,0)}),Ye}function vr(S,te,Se,Ye,Je){var Ot=(0,lt.zX)(function(zt,Yt){return!!(Se&&Se(zt,Yt)||Ye&&S.isAfter(Ye,zt)&&!Mt(S,te,Ye,zt,Yt.type)||Je&&S.isAfter(zt,Je)&&!Mt(S,te,Je,zt,Yt.type))});return Ot}function gr(S,te,Se){return g.useMemo(function(){var Ye=xe(S,te,Se),Je=M(Ye),Ot=Je[0],zt=(0,xt.Z)(Ot)==="object"&&Ot.type==="mask"?Ot.format:null;return[Je.map(function(Yt){return typeof Yt=="string"||typeof Yt=="function"?Yt:Yt.format}),zt]},[S,te,Se])}function Hr(S,te,Se){return typeof S[0]=="function"||Se?!0:te}function fi(S,te,Se,Ye){var Je=(0,lt.zX)(function(Ot,zt){var Yt=(0,He.Z)({type:te},zt);if(delete Yt.activeIndex,!S.isValidate(Ot)||Se&&Se(Ot,Yt))return!0;if((te==="date"||te==="time")&&Ye){var yn,Cn=zt&&zt.activeIndex===1?"end":"start",tn=((yn=Ye.disabledTime)===null||yn===void 0?void 0:yn.call(Ye,Ot,Cn,{from:Yt.from}))||{},zn=tn.disabledHours,Kn=tn.disabledMinutes,Gn=tn.disabledSeconds,Bn=tn.disabledMilliseconds,Vn=Ye.disabledHours,Qn=Ye.disabledMinutes,Jn=Ye.disabledSeconds,Ar=zn||Vn,pr=Kn||Qn,tr=Gn||Jn,Dr=S.getHour(Ot),mr=S.getMinute(Ot),xr=S.getSecond(Ot),_i=S.getMillisecond(Ot);if(Ar&&Ar().includes(Dr)||pr&&pr(Dr).includes(mr)||tr&&tr(Dr,mr).includes(xr)||Bn&&Bn(Dr,mr,xr).includes(_i))return!0}return!1});return Je}function lr(S){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Se=g.useMemo(function(){var Ye=S&&M(S);return te&&Ye&&(Ye[1]=Ye[1]||Ye[0]),Ye},[S,te]);return Se}function ii(S,te){var Se=S.generateConfig,Ye=S.locale,Je=S.picker,Ot=Je===void 0?"date":Je,zt=S.prefixCls,Yt=zt===void 0?"rc-picker":zt,yn=S.styles,Cn=yn===void 0?{}:yn,tn=S.classNames,zn=tn===void 0?{}:tn,Kn=S.order,Gn=Kn===void 0?!0:Kn,Bn=S.components,Vn=Bn===void 0?{}:Bn,Qn=S.inputRender,Jn=S.allowClear,Ar=S.clearIcon,pr=S.needConfirm,tr=S.multiple,Dr=S.format,mr=S.inputReadOnly,xr=S.disabledDate,_i=S.minDate,ni=S.maxDate,li=S.showTime,Gr=S.value,Ni=S.defaultValue,mi=S.pickerValue,ai=S.defaultPickerValue,ri=lr(Gr),Ai=lr(Ni),Ti=lr(mi),Ji=lr(ai),$e=Ot==="date"&&li?"datetime":Ot,pi=$e==="time"||$e==="datetime",ui=pi||tr,Or=pr!=null?pr:pi,si=E(S),qr=(0,Oe.Z)(si,4),Yi=qr[0],ha=qr[1],ma=qr[2],J=qr[3],V=ft(Ye,ha),De=g.useMemo(function(){return D($e,ma,J,Yi,V)},[$e,ma,J,Yi,V]),Ge=g.useMemo(function(){return(0,He.Z)((0,He.Z)({},S),{},{prefixCls:Yt,locale:V,picker:Ot,styles:Cn,classNames:zn,order:Gn,components:(0,He.Z)({input:Qn},Vn),clearIcon:Ve(Yt,Jn,Ar),showTime:De,value:ri,defaultValue:Ai,pickerValue:Ti,defaultPickerValue:Ji},te==null?void 0:te())},[S]),ot=gr($e,V,Dr),mt=(0,Oe.Z)(ot,2),Rt=mt[0],Ct=mt[1],Nt=Hr(Rt,mr,tr),Ut=vr(Se,Ye,xr,_i,ni),fn=fi(Se,Ot,Ut,De),sn=g.useMemo(function(){return(0,He.Z)((0,He.Z)({},Ge),{},{needConfirm:Or,inputReadOnly:Nt,disabledDate:Ut})},[Ge,Or,Nt,Ut]);return[sn,$e,ui,Rt,Ct,fn]}var Wn=h(16089);function Bt(S,te,Se){var Ye=(0,lt.C8)(te,{value:S}),Je=(0,Oe.Z)(Ye,2),Ot=Je[0],zt=Je[1],Yt=g.useRef(S),yn=g.useRef(),Cn=function(){Wn.Z.cancel(yn.current)},tn=(0,lt.zX)(function(){zt(Yt.current),Se&&Ot!==Yt.current&&Se(Yt.current)}),zn=(0,lt.zX)(function(Kn,Gn){Cn(),Yt.current=Kn,Kn||Gn?tn():yn.current=(0,Wn.Z)(tn)});return g.useEffect(function(){return Cn},[]),[Ot,zn]}function En(S,te){var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],Ye=arguments.length>3?arguments[3]:void 0,Je=Se.every(function(tn){return tn})?!1:S,Ot=Bt(Je,te||!1,Ye),zt=(0,Oe.Z)(Ot,2),Yt=zt[0],yn=zt[1];function Cn(tn){var zn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!zn.inherit||Yt)&&yn(tn,zn.force)}return[Yt,Cn]}function nn(S){var te=g.useRef();return g.useImperativeHandle(S,function(){var Se;return{nativeElement:(Se=te.current)===null||Se===void 0?void 0:Se.nativeElement,focus:function(Je){var Ot;(Ot=te.current)===null||Ot===void 0||Ot.focus(Je)},blur:function(){var Je;(Je=te.current)===null||Je===void 0||Je.blur()}}}),te}function Yr(S,te){return g.useMemo(function(){return S||(te?((0,ke.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(te).map(function(Se){var Ye=(0,Oe.Z)(Se,2),Je=Ye[0],Ot=Ye[1];return{label:Je,value:Ot}})):[])},[S,te])}function Lt(S,te){var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ye=g.useRef(te);Ye.current=te,(0,St.o)(function(){if(S)Ye.current(S);else{var Je=(0,Wn.Z)(function(){Ye.current(S)},Se);return function(){Wn.Z.cancel(Je)}}},[S])}function It(S){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ye=g.useState(0),Je=(0,Oe.Z)(Ye,2),Ot=Je[0],zt=Je[1],Yt=g.useState(!1),yn=(0,Oe.Z)(Yt,2),Cn=yn[0],tn=yn[1],zn=g.useRef([]),Kn=g.useRef(null),Gn=g.useRef(null),Bn=function(tr){Kn.current=tr},Vn=function(tr){return Kn.current===tr},Qn=function(tr){tn(tr)},Jn=function(tr){return tr&&(Gn.current=tr),Gn.current},Ar=function(tr){var Dr=zn.current,mr=new Set(Dr.filter(function(_i){return tr[_i]||te[_i]})),xr=Dr[Dr.length-1]===0?1:0;return mr.size>=2||S[xr]?null:xr};return Lt(Cn||Se,function(){Cn||(zn.current=[],Bn(null))}),g.useEffect(function(){Cn&&zn.current.push(Ot)},[Cn,Ot]),[Cn,Qn,Jn,Ot,zt,Ar,zn.current,Bn,Vn]}function kn(S,te,Se,Ye,Je,Ot){var zt=Se[Se.length-1],Yt=function(Cn,tn){var zn=(0,Oe.Z)(S,2),Kn=zn[0],Gn=zn[1],Bn=(0,He.Z)((0,He.Z)({},tn),{},{from:ae(S,Se)});return zt===1&&te[0]&&Kn&&!Mt(Ye,Je,Kn,Cn,Bn.type)&&Ye.isAfter(Kn,Cn)||zt===0&&te[1]&&Gn&&!Mt(Ye,Je,Gn,Cn,Bn.type)&&Ye.isAfter(Cn,Gn)?!0:Ot==null?void 0:Ot(Cn,Bn)};return Yt}function vn(S,te,Se,Ye){switch(te){case"date":case"week":return S.addMonth(Se,Ye);case"month":case"quarter":return S.addYear(Se,Ye);case"year":return S.addYear(Se,Ye*10);case"decade":return S.addYear(Se,Ye*100);default:return Se}}var In=[];function jn(S,te,Se,Ye,Je,Ot,zt,Yt){var yn=arguments.length>8&&arguments[8]!==void 0?arguments[8]:In,Cn=arguments.length>9&&arguments[9]!==void 0?arguments[9]:In,tn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:In,zn=arguments.length>11?arguments[11]:void 0,Kn=arguments.length>12?arguments[12]:void 0,Gn=arguments.length>13?arguments[13]:void 0,Bn=zt==="time",Vn=Ot||0,Qn=function(Ti){var Ji=S.getNow();return Bn&&(Ji=Er(S,Ji)),yn[Ti]||Se[Ti]||Ji},Jn=(0,Oe.Z)(Cn,2),Ar=Jn[0],pr=Jn[1],tr=(0,lt.C8)(function(){return Qn(0)},{value:Ar}),Dr=(0,Oe.Z)(tr,2),mr=Dr[0],xr=Dr[1],_i=(0,lt.C8)(function(){return Qn(1)},{value:pr}),ni=(0,Oe.Z)(_i,2),li=ni[0],Gr=ni[1],Ni=g.useMemo(function(){var Ai=[mr,li][Vn];return Bn?Ai:Er(S,Ai,tn[Vn])},[Bn,mr,li,Vn,S,tn]),mi=function(Ti){var Ji=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",$e=[xr,Gr][Vn];$e(Ti);var pi=[mr,li];pi[Vn]=Ti,zn&&(!Mt(S,te,mr,pi[0],zt)||!Mt(S,te,li,pi[1],zt))&&zn(pi,{source:Ji,range:Vn===1?"end":"start",mode:Ye})},ai=function(Ti,Ji){if(Yt){var $e={date:"month",week:"month",month:"year",quarter:"year"},pi=$e[zt];if(pi&&!Mt(S,te,Ti,Ji,pi))return vn(S,zt,Ji,-1);if(zt==="year"&&Ti){var ui=Math.floor(S.getYear(Ti)/10),Or=Math.floor(S.getYear(Ji)/10);if(ui!==Or)return vn(S,zt,Ji,-1)}}return Ji},ri=g.useRef(null);return(0,St.Z)(function(){if(Je&&!yn[Vn]){var Ai=Bn?null:S.getNow();if(ri.current!==null&&ri.current!==Vn?Ai=[mr,li][Vn^1]:Se[Vn]?Ai=Vn===0?Se[0]:ai(Se[0],Se[1]):Se[Vn^1]&&(Ai=Se[Vn^1]),Ai){Kn&&S.isAfter(Kn,Ai)&&(Ai=Kn);var Ti=Yt?vn(S,zt,Ai,1):Ai;Gn&&S.isAfter(Ti,Gn)&&(Ai=Yt?vn(S,zt,Gn,-1):Gn),mi(Ai,"reset")}}},[Je,Vn,Se[Vn]]),g.useEffect(function(){Je?ri.current=Vn:ri.current=null},[Je,Vn]),(0,St.Z)(function(){Je&&yn&&yn[Vn]&&mi(yn[Vn],"reset")},[Je,Vn]),[Ni,mi]}function Dn(S,te){var Se=g.useRef(S),Ye=g.useState({}),Je=(0,Oe.Z)(Ye,2),Ot=Je[1],zt=function(Cn){return Cn&&te!==void 0?te:Se.current},Yt=function(Cn){Se.current=Cn,Ot({})};return[zt,Yt,zt(!0)]}var $n=[];function br(S,te,Se){var Ye=function(zt){return zt.map(function(Yt){return xn(Yt,{generateConfig:S,locale:te,format:Se[0]})})},Je=function(zt,Yt){for(var yn=Math.max(zt.length,Yt.length),Cn=-1,tn=0;tn<yn;tn+=1){var zn=zt[tn]||null,Kn=Yt[tn]||null;if(zn!==Kn&&!Ze(S,zn,Kn)){Cn=tn;break}}return[Cn<0,Cn!==0]};return[Ye,Je]}function cr(S,te){return(0,Et.Z)(S).sort(function(Se,Ye){return te.isAfter(Se,Ye)?1:-1})}function Tn(S){var te=Dn(S),Se=(0,Oe.Z)(te,2),Ye=Se[0],Je=Se[1],Ot=(0,lt.zX)(function(){Je(S)});return g.useEffect(function(){Ot()},[S]),[Ye,Je]}function dr(S,te,Se,Ye,Je,Ot,zt,Yt,yn){var Cn=(0,lt.C8)(Ot,{value:zt}),tn=(0,Oe.Z)(Cn,2),zn=tn[0],Kn=tn[1],Gn=zn||$n,Bn=Tn(Gn),Vn=(0,Oe.Z)(Bn,2),Qn=Vn[0],Jn=Vn[1],Ar=br(S,te,Se),pr=(0,Oe.Z)(Ar,2),tr=pr[0],Dr=pr[1],mr=(0,lt.zX)(function(_i){var ni=(0,Et.Z)(_i);if(Ye)for(var li=0;li<2;li+=1)ni[li]=ni[li]||null;else Je&&(ni=cr(ni.filter(function(Ai){return Ai}),S));var Gr=Dr(Qn(),ni),Ni=(0,Oe.Z)(Gr,2),mi=Ni[0],ai=Ni[1];if(!mi&&(Jn(ni),Yt)){var ri=tr(ni);Yt(ni,ri,{range:ai?"end":"start"})}}),xr=function(){yn&&yn(Qn())};return[Gn,Kn,Qn,mr,xr]}function Pr(S,te,Se,Ye,Je,Ot,zt,Yt,yn,Cn){var tn=S.generateConfig,zn=S.locale,Kn=S.picker,Gn=S.onChange,Bn=S.allowEmpty,Vn=S.order,Qn=Ot.some(function(mi){return mi})?!1:Vn,Jn=br(tn,zn,zt),Ar=(0,Oe.Z)(Jn,2),pr=Ar[0],tr=Ar[1],Dr=Dn(te),mr=(0,Oe.Z)(Dr,2),xr=mr[0],_i=mr[1],ni=(0,lt.zX)(function(){_i(te)});g.useEffect(function(){ni()},[te]);var li=(0,lt.zX)(function(mi){var ai=mi===null,ri=(0,Et.Z)(mi||xr());if(ai)for(var Ai=Math.max(Ot.length,ri.length),Ti=0;Ti<Ai;Ti+=1)Ot[Ti]||(ri[Ti]=null);Qn&&ri[0]&&ri[1]&&(ri=cr(ri,tn)),Je(ri);var Ji=ri,$e=(0,Oe.Z)(Ji,2),pi=$e[0],ui=$e[1],Or=!pi,si=!ui,qr=Bn?(!Or||Bn[0])&&(!si||Bn[1]):!0,Yi=!Vn||Or||si||Mt(tn,zn,pi,ui,Kn)||tn.isAfter(ui,pi),ha=(Ot[0]||!pi||!Cn(pi,{activeIndex:0}))&&(Ot[1]||!ui||!Cn(ui,{from:pi,activeIndex:1})),ma=ai||qr&&Yi&&ha;if(ma){Se(ri);var J=tr(ri,te),V=(0,Oe.Z)(J,1),De=V[0];Gn&&!De&&Gn(ai&&ri.every(function(Ge){return!Ge})?null:ri,pr(ri))}return ma}),Gr=(0,lt.zX)(function(mi,ai){var ri=ye(xr(),mi,Ye()[mi]);_i(ri),ai&&li()}),Ni=!Yt&&!yn;return Lt(!Ni,function(){Ni&&(li(),Je(te),ni())},2),[Gr,li]}function hr(S,te,Se,Ye,Je){return te!=="date"&&te!=="time"?!1:Se!==void 0?Se:Ye!==void 0?Ye:!Je&&(S==="date"||S==="time")}var Dt=h(29301);function kt(S,te,Se,Ye,Je,Ot){var zt=S;function Yt(zn,Kn,Gn){var Bn=Ot[zn](zt),Vn=Gn.find(function(pr){return pr.value===Bn});if(!Vn||Vn.disabled){var Qn=Gn.filter(function(pr){return!pr.disabled}),Jn=(0,Et.Z)(Qn).reverse(),Ar=Jn.find(function(pr){return pr.value<=Bn})||Qn[0];Ar&&(Bn=Ar.value,zt=Ot[Kn](zt,Bn))}return Bn}var yn=Yt("getHour","setHour",te()),Cn=Yt("getMinute","setMinute",Se(yn)),tn=Yt("getSecond","setSecond",Ye(yn,Cn));return Yt("getMillisecond","setMillisecond",Je(yn,Cn,tn)),zt}function pn(){return[]}function an(S,te){for(var Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Je=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],Ot=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,zt=[],Yt=Se>=1?Se|0:1,yn=S;yn<=te;yn+=Yt){var Cn=Je.includes(yn);(!Cn||!Ye)&&zt.push({label:U(yn,Ot),value:yn,disabled:Cn})}return zt}function cn(S){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Se=arguments.length>2?arguments[2]:void 0,Ye=te||{},Je=Ye.use12Hours,Ot=Ye.hourStep,zt=Ot===void 0?1:Ot,Yt=Ye.minuteStep,yn=Yt===void 0?1:Yt,Cn=Ye.secondStep,tn=Cn===void 0?1:Cn,zn=Ye.millisecondStep,Kn=zn===void 0?100:zn,Gn=Ye.hideDisabledOptions,Bn=Ye.disabledTime,Vn=Ye.disabledHours,Qn=Ye.disabledMinutes,Jn=Ye.disabledSeconds,Ar=g.useMemo(function(){return Se||S.getNow()},[Se,S]);if(0)var pr,tr,Dr;var mr=g.useCallback(function(ui){var Or=(Bn==null?void 0:Bn(ui))||{};return[Or.disabledHours||Vn||pn,Or.disabledMinutes||Qn||pn,Or.disabledSeconds||Jn||pn,Or.disabledMilliseconds||pn]},[Bn,Vn,Qn,Jn]),xr=g.useMemo(function(){return mr(Ar)},[Ar,mr]),_i=(0,Oe.Z)(xr,4),ni=_i[0],li=_i[1],Gr=_i[2],Ni=_i[3],mi=g.useCallback(function(ui,Or,si,qr){var Yi=an(0,23,zt,Gn,ui()),ha=Je?Yi.map(function(De){return(0,He.Z)((0,He.Z)({},De),{},{label:U(De.value%12||12,2)})}):Yi,ma=function(Ge){return an(0,59,yn,Gn,Or(Ge))},J=function(Ge,ot){return an(0,59,tn,Gn,si(Ge,ot))},V=function(Ge,ot,mt){return an(0,999,Kn,Gn,qr(Ge,ot,mt),3)};return[ha,ma,J,V]},[Gn,zt,Je,Kn,yn,tn]),ai=g.useMemo(function(){return mi(ni,li,Gr,Ni)},[mi,ni,li,Gr,Ni]),ri=(0,Oe.Z)(ai,4),Ai=ri[0],Ti=ri[1],Ji=ri[2],$e=ri[3],pi=function(Or,si){var qr=function(){return Ai},Yi=Ti,ha=Ji,ma=$e;if(si){var J=mr(si),V=(0,Oe.Z)(J,4),De=V[0],Ge=V[1],ot=V[2],mt=V[3],Rt=mi(De,Ge,ot,mt),Ct=(0,Oe.Z)(Rt,4),Nt=Ct[0],Ut=Ct[1],fn=Ct[2],sn=Ct[3];qr=function(){return Nt},Yi=Ut,ha=fn,ma=sn}var rn=kt(Or,qr,Yi,ha,ma,S);return rn};return[pi,Ai,Ti,Ji,$e]}function _n(S){var te=S.mode,Se=S.internalMode,Ye=S.renderExtraFooter,Je=S.showNow,Ot=S.showTime,zt=S.onSubmit,Yt=S.onNow,yn=S.invalid,Cn=S.needConfirm,tn=S.generateConfig,zn=S.disabledDate,Kn=g.useContext(Re),Gn=Kn.prefixCls,Bn=Kn.locale,Vn=Kn.button,Qn=Vn===void 0?"button":Vn,Jn=tn.getNow(),Ar=cn(tn,Ot,Jn),pr=(0,Oe.Z)(Ar,1),tr=pr[0],Dr=Ye==null?void 0:Ye(te),mr=zn(Jn,{type:te}),xr=function(){if(!mr){var ai=tr(Jn);Yt(ai)}},_i="".concat(Gn,"-now"),ni="".concat(_i,"-btn"),li=Je&&g.createElement("li",{className:_i},g.createElement("a",{className:Qe()(ni,mr&&"".concat(ni,"-disabled")),"aria-disabled":mr,onClick:xr},Se==="date"?Bn.today:Bn.now)),Gr=Cn&&g.createElement("li",{className:"".concat(Gn,"-ok")},g.createElement(Qn,{disabled:yn,onClick:zt},Bn.ok)),Ni=(li||Gr)&&g.createElement("ul",{className:"".concat(Gn,"-ranges")},li,Gr);return!Dr&&!Ni?null:g.createElement("div",{className:"".concat(Gn,"-footer")},Dr&&g.createElement("div",{className:"".concat(Gn,"-footer-extra")},Dr),Ni)}function Mn(S,te,Se){function Ye(Je,Ot){var zt=Je.findIndex(function(yn){return Mt(S,te,yn,Ot,Se)});if(zt===-1)return[].concat((0,Et.Z)(Je),[Ot]);var Yt=(0,Et.Z)(Je);return Yt.splice(zt,1),Yt}return Ye}var nr=g.createContext(null);function _r(){return g.useContext(nr)}function Nr(S,te){var Se=S.prefixCls,Ye=S.generateConfig,Je=S.locale,Ot=S.disabledDate,zt=S.minDate,Yt=S.maxDate,yn=S.cellRender,Cn=S.hoverValue,tn=S.hoverRangeValue,zn=S.onHover,Kn=S.values,Gn=S.pickerValue,Bn=S.onSelect,Vn=S.prevIcon,Qn=S.nextIcon,Jn=S.superPrevIcon,Ar=S.superNextIcon,pr=Ye.getNow(),tr={now:pr,values:Kn,pickerValue:Gn,prefixCls:Se,disabledDate:Ot,minDate:zt,maxDate:Yt,cellRender:yn,hoverValue:Cn,hoverRangeValue:tn,onHover:zn,locale:Je,generateConfig:Ye,onSelect:Bn,panelType:te,prevIcon:Vn,nextIcon:Qn,superPrevIcon:Jn,superNextIcon:Ar};return[tr,pr]}var Ui=g.createContext({});function Ir(S){for(var te=S.rowNum,Se=S.colNum,Ye=S.baseDate,Je=S.getCellDate,Ot=S.prefixColumn,zt=S.rowClassName,Yt=S.titleFormat,yn=S.getCellText,Cn=S.getCellClassName,tn=S.headerCells,zn=S.cellSelection,Kn=zn===void 0?!0:zn,Gn=S.disabledDate,Bn=_r(),Vn=Bn.prefixCls,Qn=Bn.panelType,Jn=Bn.now,Ar=Bn.disabledDate,pr=Bn.cellRender,tr=Bn.onHover,Dr=Bn.hoverValue,mr=Bn.hoverRangeValue,xr=Bn.generateConfig,_i=Bn.values,ni=Bn.locale,li=Bn.onSelect,Gr=Gn||Ar,Ni="".concat(Vn,"-cell"),mi=g.useContext(Ui),ai=mi.onCellDblClick,ri=function(si){return _i.some(function(qr){return qr&&Mt(xr,ni,si,qr,Qn)})},Ai=[],Ti=0;Ti<te;Ti+=1){for(var Ji=[],$e=void 0,pi=function(){var si=Ti*Se+ui,qr=Je(Ye,si),Yi=Gr==null?void 0:Gr(qr,{type:Qn});ui===0&&($e=qr,Ot&&Ji.push(Ot($e)));var ha=!1,ma=!1,J=!1;if(Kn&&mr){var V=(0,Oe.Z)(mr,2),De=V[0],Ge=V[1];ha=_e(xr,De,Ge,qr),ma=Mt(xr,ni,qr,De,Qn),J=Mt(xr,ni,qr,Ge,Qn)}var ot=Yt?xn(qr,{locale:ni,format:Yt,generateConfig:xr}):void 0,mt=g.createElement("div",{className:"".concat(Ni,"-inner")},yn(qr));Ji.push(g.createElement("td",{key:ui,title:ot,className:Qe()(Ni,(0,He.Z)((0,Ht.Z)((0,Ht.Z)((0,Ht.Z)((0,Ht.Z)((0,Ht.Z)((0,Ht.Z)({},"".concat(Ni,"-disabled"),Yi),"".concat(Ni,"-hover"),(Dr||[]).some(function(Rt){return Mt(xr,ni,qr,Rt,Qn)})),"".concat(Ni,"-in-range"),ha&&!ma&&!J),"".concat(Ni,"-range-start"),ma),"".concat(Ni,"-range-end"),J),"".concat(Vn,"-cell-selected"),!mr&&Qn!=="week"&&ri(qr)),Cn(qr))),onClick:function(){Yi||li(qr)},onDoubleClick:function(){!Yi&&ai&&ai()},onMouseEnter:function(){Yi||tr==null||tr(qr)},onMouseLeave:function(){Yi||tr==null||tr(null)}},pr?pr(qr,{prefixCls:Vn,originNode:mt,today:Jn,type:Qn,locale:ni}):mt))},ui=0;ui<Se;ui+=1)pi();Ai.push(g.createElement("tr",{key:Ti,className:zt==null?void 0:zt($e)},Ji))}return g.createElement("div",{className:"".concat(Vn,"-body")},g.createElement("table",{className:"".concat(Vn,"-content")},tn&&g.createElement("thead",null,g.createElement("tr",null,tn)),g.createElement("tbody",null,Ai)))}var Lr={visibility:"hidden"};function xi(S){var te=S.offset,Se=S.superOffset,Ye=S.onChange,Je=S.getStart,Ot=S.getEnd,zt=S.children,Yt=_r(),yn=Yt.prefixCls,Cn=Yt.prevIcon,tn=Cn===void 0?"\u2039":Cn,zn=Yt.nextIcon,Kn=zn===void 0?"\u203A":zn,Gn=Yt.superPrevIcon,Bn=Gn===void 0?"\xAB":Gn,Vn=Yt.superNextIcon,Qn=Vn===void 0?"\xBB":Vn,Jn=Yt.minDate,Ar=Yt.maxDate,pr=Yt.generateConfig,tr=Yt.locale,Dr=Yt.pickerValue,mr=Yt.panelType,xr="".concat(yn,"-header"),_i=g.useContext(Ui),ni=_i.hidePrev,li=_i.hideNext,Gr=_i.hideHeader,Ni=g.useMemo(function(){if(!Jn||!te||!Ot)return!1;var Or=Ot(te(-1,Dr));return!bt(pr,tr,Or,Jn,mr)},[Jn,te,Dr,Ot,pr,tr,mr]),mi=g.useMemo(function(){if(!Jn||!Se||!Ot)return!1;var Or=Ot(Se(-1,Dr));return!bt(pr,tr,Or,Jn,mr)},[Jn,Se,Dr,Ot,pr,tr,mr]),ai=g.useMemo(function(){if(!Ar||!te||!Je)return!1;var Or=Je(te(1,Dr));return!bt(pr,tr,Ar,Or,mr)},[Ar,te,Dr,Je,pr,tr,mr]),ri=g.useMemo(function(){if(!Ar||!Se||!Je)return!1;var Or=Je(Se(1,Dr));return!bt(pr,tr,Ar,Or,mr)},[Ar,Se,Dr,Je,pr,tr,mr]),Ai=function(si){te&&Ye(te(si,Dr))},Ti=function(si){Se&&Ye(Se(si,Dr))};if(Gr)return null;var Ji="".concat(xr,"-prev-btn"),$e="".concat(xr,"-next-btn"),pi="".concat(xr,"-super-prev-btn"),ui="".concat(xr,"-super-next-btn");return g.createElement("div",{className:xr},Se&&g.createElement("button",{type:"button","aria-label":tr.previousYear,onClick:function(){return Ti(-1)},tabIndex:-1,className:Qe()(pi,mi&&"".concat(pi,"-disabled")),disabled:mi,style:ni?Lr:{}},Bn),te&&g.createElement("button",{type:"button","aria-label":tr.previousMonth,onClick:function(){return Ai(-1)},tabIndex:-1,className:Qe()(Ji,Ni&&"".concat(Ji,"-disabled")),disabled:Ni,style:ni?Lr:{}},tn),g.createElement("div",{className:"".concat(xr,"-view")},zt),te&&g.createElement("button",{type:"button","aria-label":tr.nextMonth,onClick:function(){return Ai(1)},tabIndex:-1,className:Qe()($e,ai&&"".concat($e,"-disabled")),disabled:ai,style:li?Lr:{}},Kn),Se&&g.createElement("button",{type:"button","aria-label":tr.nextYear,onClick:function(){return Ti(1)},tabIndex:-1,className:Qe()(ui,ri&&"".concat(ui,"-disabled")),disabled:ri,style:li?Lr:{}},Qn))}var rt=xi;function Ei(S){var te=S.prefixCls,Se=S.panelName,Ye=Se===void 0?"date":Se,Je=S.locale,Ot=S.generateConfig,zt=S.pickerValue,Yt=S.onPickerValueChange,yn=S.onModeChange,Cn=S.mode,tn=Cn===void 0?"date":Cn,zn=S.disabledDate,Kn=S.onSelect,Gn=S.onHover,Bn=S.showWeek,Vn="".concat(te,"-").concat(Ye,"-panel"),Qn="".concat(te,"-cell"),Jn=tn==="week",Ar=Nr(S,tn),pr=(0,Oe.Z)(Ar,2),tr=pr[0],Dr=pr[1],mr=Ot.locale.getWeekFirstDay(Je.locale),xr=Ot.setDate(zt,1),_i=An(Je.locale,Ot,xr),ni=Ot.getMonth(zt),li=Bn===void 0?Jn:Bn,Gr=li?function(Or){var si=zn==null?void 0:zn(Or,{type:"week"});return g.createElement("td",{key:"week",className:Qe()(Qn,"".concat(Qn,"-week"),(0,Ht.Z)({},"".concat(Qn,"-disabled"),si)),onClick:function(){si||Kn(Or)},onMouseEnter:function(){si||Gn==null||Gn(Or)},onMouseLeave:function(){si||Gn==null||Gn(null)}},g.createElement("div",{className:"".concat(Qn,"-inner")},Ot.locale.getWeek(Je.locale,Or)))}:null,Ni=[],mi=Je.shortWeekDays||(Ot.locale.getShortWeekDays?Ot.locale.getShortWeekDays(Je.locale):[]);Gr&&Ni.push(g.createElement("th",{key:"empty"},g.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},Je.week)));for(var ai=0;ai<ne;ai+=1)Ni.push(g.createElement("th",{key:ai},mi[(ai+mr)%ne]));var ri=function(si,qr){return Ot.addDate(si,qr)},Ai=function(si){return xn(si,{locale:Je,format:Je.cellDateFormat,generateConfig:Ot})},Ti=function(si){var qr=(0,Ht.Z)((0,Ht.Z)({},"".concat(te,"-cell-in-view"),de(Ot,si,zt)),"".concat(te,"-cell-today"),be(Ot,si,Dr));return qr},Ji=Je.shortMonths||(Ot.locale.getShortMonths?Ot.locale.getShortMonths(Je.locale):[]),$e=g.createElement("button",{type:"button","aria-label":Je.yearSelect,key:"year",onClick:function(){yn("year",zt)},tabIndex:-1,className:"".concat(te,"-year-btn")},xn(zt,{locale:Je,format:Je.yearFormat,generateConfig:Ot})),pi=g.createElement("button",{type:"button","aria-label":Je.monthSelect,key:"month",onClick:function(){yn("month",zt)},tabIndex:-1,className:"".concat(te,"-month-btn")},Je.monthFormat?xn(zt,{locale:Je,format:Je.monthFormat,generateConfig:Ot}):Ji[ni]),ui=Je.monthBeforeYear?[pi,$e]:[$e,pi];return g.createElement(nr.Provider,{value:tr},g.createElement("div",{className:Qe()(Vn,Bn&&"".concat(Vn,"-show-week"))},g.createElement(rt,{offset:function(si){return Ot.addMonth(zt,si)},superOffset:function(si){return Ot.addYear(zt,si)},onChange:Yt,getStart:function(si){return Ot.setDate(si,1)},getEnd:function(si){var qr=Ot.setDate(si,1);return qr=Ot.addMonth(qr,1),Ot.addDate(qr,-1)}},ui),g.createElement(Ir,(0,T.Z)({titleFormat:Je.fieldDateFormat},S,{colNum:ne,rowNum:6,baseDate:_i,headerCells:Ni,getCellDate:ri,getCellText:Ai,getCellClassName:Ti,prefixColumn:Gr,cellSelection:!Jn}))))}var Br=h(29194),Fr=1/3;function Ii(S,te){var Se=g.useRef(!1),Ye=g.useRef(null),Je=g.useRef(null),Ot=function(){return Se.current},zt=function(){Wn.Z.cancel(Ye.current),Se.current=!1},Yt=g.useRef(),yn=function(){var zn=S.current;if(Je.current=null,Yt.current=0,zn){var Kn=zn.querySelector('[data-value="'.concat(te,'"]')),Gn=zn.querySelector("li"),Bn=function Vn(){zt(),Se.current=!0,Yt.current+=1;var Qn=zn.scrollTop,Jn=Gn.offsetTop,Ar=Kn.offsetTop,pr=Ar-Jn;if(Ar===0&&Kn!==Gn||!(0,Br.Z)(zn)){Yt.current<=5&&(Ye.current=(0,Wn.Z)(Vn));return}var tr=Qn+(pr-Qn)*Fr,Dr=Math.abs(pr-tr);if(Je.current!==null&&Je.current<Dr){zt();return}if(Je.current=Dr,Dr<=1){zn.scrollTop=pr,zt();return}zn.scrollTop=tr,Ye.current=(0,Wn.Z)(Vn)};Kn&&Gn&&Bn()}},Cn=(0,lt.zX)(yn);return[Cn,zt,Ot]}var Bi=300;function gi(S){return S.map(function(te){var Se=te.value,Ye=te.label,Je=te.disabled;return[Se,Ye,Je].join(",")}).join(";")}function yi(S){var te=S.units,Se=S.value,Ye=S.optionalValue,Je=S.type,Ot=S.onChange,zt=S.onHover,Yt=S.onDblClick,yn=S.changeOnScroll,Cn=_r(),tn=Cn.prefixCls,zn=Cn.cellRender,Kn=Cn.now,Gn=Cn.locale,Bn="".concat(tn,"-time-panel"),Vn="".concat(tn,"-time-panel-cell"),Qn=g.useRef(null),Jn=g.useRef(),Ar=function(){clearTimeout(Jn.current)},pr=Ii(Qn,Se!=null?Se:Ye),tr=(0,Oe.Z)(pr,3),Dr=tr[0],mr=tr[1],xr=tr[2];(0,St.Z)(function(){return Dr(),Ar(),function(){mr(),Ar()}},[Se,Ye,gi(te)]);var _i=function(Gr){Ar();var Ni=Gr.target;!xr()&&yn&&(Jn.current=setTimeout(function(){var mi=Qn.current,ai=mi.querySelector("li").offsetTop,ri=Array.from(mi.querySelectorAll("li")),Ai=ri.map(function(ui){return ui.offsetTop-ai}),Ti=Ai.map(function(ui,Or){return te[Or].disabled?Number.MAX_SAFE_INTEGER:Math.abs(ui-Ni.scrollTop)}),Ji=Math.min.apply(Math,(0,Et.Z)(Ti)),$e=Ti.findIndex(function(ui){return ui===Ji}),pi=te[$e];pi&&!pi.disabled&&Ot(pi.value)},Bi))},ni="".concat(Bn,"-column");return g.createElement("ul",{className:ni,ref:Qn,"data-type":Je,onScroll:_i},te.map(function(li){var Gr=li.label,Ni=li.value,mi=li.disabled,ai=g.createElement("div",{className:"".concat(Vn,"-inner")},Gr);return g.createElement("li",{key:Ni,className:Qe()(Vn,(0,Ht.Z)((0,Ht.Z)({},"".concat(Vn,"-selected"),Se===Ni),"".concat(Vn,"-disabled"),mi)),onClick:function(){mi||Ot(Ni)},onDoubleClick:function(){!mi&&Yt&&Yt()},onMouseEnter:function(){zt(Ni)},onMouseLeave:function(){zt(null)},"data-value":Ni},zn?zn(Ni,{prefixCls:tn,originNode:ai,today:Kn,type:"time",subType:Je,locale:Gn}):ai)}))}function Mr(S){return S<12}function $r(S){var te=S.showHour,Se=S.showMinute,Ye=S.showSecond,Je=S.showMillisecond,Ot=S.use12Hours,zt=S.changeOnScroll,Yt=_r(),yn=Yt.prefixCls,Cn=Yt.values,tn=Yt.generateConfig,zn=Yt.locale,Kn=Yt.onSelect,Gn=Yt.onHover,Bn=Gn===void 0?function(){}:Gn,Vn=Yt.pickerValue,Qn=(Cn==null?void 0:Cn[0])||null,Jn=g.useContext(Ui),Ar=Jn.onCellDblClick,pr=cn(tn,S,Qn),tr=(0,Oe.Z)(pr,5),Dr=tr[0],mr=tr[1],xr=tr[2],_i=tr[3],ni=tr[4],li=function(qt){var bn=Qn&&tn[qt](Qn),Hn=Vn&&tn[qt](Vn);return[bn,Hn]},Gr=li("getHour"),Ni=(0,Oe.Z)(Gr,2),mi=Ni[0],ai=Ni[1],ri=li("getMinute"),Ai=(0,Oe.Z)(ri,2),Ti=Ai[0],Ji=Ai[1],$e=li("getSecond"),pi=(0,Oe.Z)($e,2),ui=pi[0],Or=pi[1],si=li("getMillisecond"),qr=(0,Oe.Z)(si,2),Yi=qr[0],ha=qr[1],ma=mi===null?null:Mr(mi)?"am":"pm",J=g.useMemo(function(){return Ot?Mr(mi)?mr.filter(function(Jt){return Mr(Jt.value)}):mr.filter(function(Jt){return!Mr(Jt.value)}):mr},[mi,mr,Ot]),V=function(qt,bn){var Hn,ur=qt.filter(function(Sr){return!Sr.disabled});return bn!=null?bn:ur==null||(Hn=ur[0])===null||Hn===void 0?void 0:Hn.value},De=V(mr,mi),Ge=g.useMemo(function(){return xr(De)},[xr,De]),ot=V(Ge,Ti),mt=g.useMemo(function(){return _i(De,ot)},[_i,De,ot]),Rt=V(mt,ui),Ct=g.useMemo(function(){return ni(De,ot,Rt)},[ni,De,ot,Rt]),Nt=V(Ct,Yi),Ut=g.useMemo(function(){if(!Ot)return[];var Jt=tn.getNow(),qt=tn.setHour(Jt,6),bn=tn.setHour(Jt,18),Hn=function(Sr,er){var ci=zn.cellMeridiemFormat;return ci?xn(Sr,{generateConfig:tn,locale:zn,format:ci}):er};return[{label:Hn(qt,"AM"),value:"am",disabled:mr.every(function(ur){return ur.disabled||!Mr(ur.value)})},{label:Hn(bn,"PM"),value:"pm",disabled:mr.every(function(ur){return ur.disabled||Mr(ur.value)})}]},[mr,Ot,tn,zn]),fn=function(qt){var bn=Dr(qt);Kn(bn)},sn=g.useMemo(function(){var Jt=Qn||Vn||tn.getNow(),qt=function(Hn){return Hn!=null};return qt(mi)?(Jt=tn.setHour(Jt,mi),Jt=tn.setMinute(Jt,Ti),Jt=tn.setSecond(Jt,ui),Jt=tn.setMillisecond(Jt,Yi)):qt(ai)?(Jt=tn.setHour(Jt,ai),Jt=tn.setMinute(Jt,Ji),Jt=tn.setSecond(Jt,Or),Jt=tn.setMillisecond(Jt,ha)):qt(De)&&(Jt=tn.setHour(Jt,De),Jt=tn.setMinute(Jt,ot),Jt=tn.setSecond(Jt,Rt),Jt=tn.setMillisecond(Jt,Nt)),Jt},[Qn,Vn,mi,Ti,ui,Yi,De,ot,Rt,Nt,ai,Ji,Or,ha,tn]),rn=function(qt,bn){return qt===null?null:tn[bn](sn,qt)},B=function(qt){return rn(qt,"setHour")},l=function(qt){return rn(qt,"setMinute")},d=function(qt){return rn(qt,"setSecond")},f=function(qt){return rn(qt,"setMillisecond")},b=function(qt){return qt===null?null:qt==="am"&&!Mr(mi)?tn.setHour(sn,mi-12):qt==="pm"&&Mr(mi)?tn.setHour(sn,mi+12):sn},R=function(qt){fn(B(qt))},H=function(qt){fn(l(qt))},ge=function(qt){fn(d(qt))},Ce=function(qt){fn(f(qt))},Ke=function(qt){fn(b(qt))},pt=function(qt){Bn(B(qt))},Tt=function(qt){Bn(l(qt))},Qt=function(qt){Bn(d(qt))},Wt=function(qt){Bn(f(qt))},Vt=function(qt){Bn(b(qt))},ln={onDblClick:Ar,changeOnScroll:zt};return g.createElement("div",{className:"".concat(yn,"-content")},te&&g.createElement(yi,(0,T.Z)({units:J,value:mi,optionalValue:ai,type:"hour",onChange:R,onHover:pt},ln)),Se&&g.createElement(yi,(0,T.Z)({units:Ge,value:Ti,optionalValue:Ji,type:"minute",onChange:H,onHover:Tt},ln)),Ye&&g.createElement(yi,(0,T.Z)({units:mt,value:ui,optionalValue:Or,type:"second",onChange:ge,onHover:Qt},ln)),Je&&g.createElement(yi,(0,T.Z)({units:Ct,value:Yi,optionalValue:ha,type:"millisecond",onChange:Ce,onHover:Wt},ln)),Ot&&g.createElement(yi,(0,T.Z)({units:Ut,value:ma,type:"meridiem",onChange:Ke,onHover:Vt},ln)))}function Ea(S){var te=S.prefixCls,Se=S.value,Ye=S.locale,Je=S.generateConfig,Ot=S.showTime,zt=Ot||{},Yt=zt.format,yn="".concat(te,"-time-panel"),Cn=Nr(S,"time"),tn=(0,Oe.Z)(Cn,1),zn=tn[0];return g.createElement(nr.Provider,{value:zn},g.createElement("div",{className:Qe()(yn)},g.createElement(rt,null,Se?xn(Se,{locale:Ye,format:Yt,generateConfig:Je}):"\xA0"),g.createElement($r,Ot)))}function on(S){var te=S.prefixCls,Se=S.generateConfig,Ye=S.showTime,Je=S.onSelect,Ot=S.value,zt=S.pickerValue,Yt=S.onHover,yn="".concat(te,"-datetime-panel"),Cn=cn(Se,Ye),tn=(0,Oe.Z)(Cn,1),zn=tn[0],Kn=function(Qn){return Ot?Er(Se,Qn,Ot):Er(Se,Qn,zt)},Gn=function(Qn){Yt==null||Yt(Qn&&Kn(Qn))},Bn=function(Qn){var Jn=Kn(Qn);Je(zn(Jn,Jn))};return g.createElement("div",{className:yn},g.createElement(Ei,(0,T.Z)({},S,{onSelect:Bn,onHover:Gn})),g.createElement(Ea,S))}function ei(S){var te=S.prefixCls,Se=S.locale,Ye=S.generateConfig,Je=S.pickerValue,Ot=S.disabledDate,zt=S.onPickerValueChange,Yt="".concat(te,"-decade-panel"),yn=Nr(S,"decade"),Cn=(0,Oe.Z)(yn,1),tn=Cn[0],zn=function(mr){var xr=Math.floor(Ye.getYear(mr)/100)*100;return Ye.setYear(mr,xr)},Kn=function(mr){var xr=zn(mr);return Ye.addYear(xr,99)},Gn=zn(Je),Bn=Kn(Je),Vn=Ye.addYear(Gn,-10),Qn=function(mr,xr){return Ye.addYear(mr,xr*10)},Jn=function(mr){var xr=Se.cellYearFormat,_i=xn(mr,{locale:Se,format:xr,generateConfig:Ye}),ni=xn(Ye.addYear(mr,9),{locale:Se,format:xr,generateConfig:Ye});return"".concat(_i,"-").concat(ni)},Ar=function(mr){return(0,Ht.Z)({},"".concat(te,"-cell-in-view"),jt(Ye,mr,Gn)||jt(Ye,mr,Bn)||_e(Ye,Gn,Bn,mr))},pr=Ot?function(Dr,mr){var xr=Ye.setDate(Dr,1),_i=Ye.setMonth(xr,0),ni=Ye.setYear(_i,Math.floor(Ye.getYear(_i)/10)*10),li=Ye.addYear(ni,10),Gr=Ye.addDate(li,-1);return Ot(ni,mr)&&Ot(Gr,mr)}:null,tr="".concat(xn(Gn,{locale:Se,format:Se.yearFormat,generateConfig:Ye}),"-").concat(xn(Bn,{locale:Se,format:Se.yearFormat,generateConfig:Ye}));return g.createElement(nr.Provider,{value:tn},g.createElement("div",{className:Yt},g.createElement(rt,{superOffset:function(mr){return Ye.addYear(Je,mr*100)},onChange:zt,getStart:zn,getEnd:Kn},tr),g.createElement(Ir,(0,T.Z)({},S,{disabledDate:pr,colNum:3,rowNum:4,baseDate:Vn,getCellDate:Qn,getCellText:Jn,getCellClassName:Ar}))))}function Li(S){var te=S.prefixCls,Se=S.locale,Ye=S.generateConfig,Je=S.pickerValue,Ot=S.disabledDate,zt=S.onPickerValueChange,Yt=S.onModeChange,yn="".concat(te,"-month-panel"),Cn=Nr(S,"month"),tn=(0,Oe.Z)(Cn,1),zn=tn[0],Kn=Ye.setMonth(Je,0),Gn=Se.shortMonths||(Ye.locale.getShortMonths?Ye.locale.getShortMonths(Se.locale):[]),Bn=function(tr,Dr){return Ye.addMonth(tr,Dr)},Vn=function(tr){var Dr=Ye.getMonth(tr);return Se.monthFormat?xn(tr,{locale:Se,format:Se.monthFormat,generateConfig:Ye}):Gn[Dr]},Qn=function(){return(0,Ht.Z)({},"".concat(te,"-cell-in-view"),!0)},Jn=Ot?function(pr,tr){var Dr=Ye.setDate(pr,1),mr=Ye.setMonth(Dr,Ye.getMonth(Dr)+1),xr=Ye.addDate(mr,-1);return Ot(Dr,tr)&&Ot(xr,tr)}:null,Ar=g.createElement("button",{type:"button",key:"year","aria-label":Se.yearSelect,onClick:function(){Yt("year")},tabIndex:-1,className:"".concat(te,"-year-btn")},xn(Je,{locale:Se,format:Se.yearFormat,generateConfig:Ye}));return g.createElement(nr.Provider,{value:zn},g.createElement("div",{className:yn},g.createElement(rt,{superOffset:function(tr){return Ye.addYear(Je,tr)},onChange:zt,getStart:function(tr){return Ye.setMonth(tr,0)},getEnd:function(tr){return Ye.setMonth(tr,11)}},Ar),g.createElement(Ir,(0,T.Z)({},S,{disabledDate:Jn,titleFormat:Se.fieldMonthFormat,colNum:3,rowNum:4,baseDate:Kn,getCellDate:Bn,getCellText:Vn,getCellClassName:Qn}))))}function Ft(S){var te=S.prefixCls,Se=S.locale,Ye=S.generateConfig,Je=S.pickerValue,Ot=S.onPickerValueChange,zt=S.onModeChange,Yt="".concat(te,"-quarter-panel"),yn=Nr(S,"quarter"),Cn=(0,Oe.Z)(yn,1),tn=Cn[0],zn=Ye.setMonth(Je,0),Kn=function(Jn,Ar){return Ye.addMonth(Jn,Ar*3)},Gn=function(Jn){return xn(Jn,{locale:Se,format:Se.cellQuarterFormat,generateConfig:Ye})},Bn=function(){return(0,Ht.Z)({},"".concat(te,"-cell-in-view"),!0)},Vn=g.createElement("button",{type:"button",key:"year","aria-label":Se.yearSelect,onClick:function(){zt("year")},tabIndex:-1,className:"".concat(te,"-year-btn")},xn(Je,{locale:Se,format:Se.yearFormat,generateConfig:Ye}));return g.createElement(nr.Provider,{value:tn},g.createElement("div",{className:Yt},g.createElement(rt,{superOffset:function(Jn){return Ye.addYear(Je,Jn)},onChange:Ot,getStart:function(Jn){return Ye.setMonth(Jn,0)},getEnd:function(Jn){return Ye.setMonth(Jn,11)}},Vn),g.createElement(Ir,(0,T.Z)({},S,{titleFormat:Se.fieldQuarterFormat,colNum:4,rowNum:1,baseDate:zn,getCellDate:Kn,getCellText:Gn,getCellClassName:Bn}))))}function Zt(S){var te=S.prefixCls,Se=S.generateConfig,Ye=S.locale,Je=S.value,Ot=S.hoverValue,zt=S.hoverRangeValue,Yt=Ye.locale,yn="".concat(te,"-week-panel-row"),Cn=function(zn){var Kn={};if(zt){var Gn=(0,Oe.Z)(zt,2),Bn=Gn[0],Vn=Gn[1],Qn=Q(Se,Yt,Bn,zn),Jn=Q(Se,Yt,Vn,zn);Kn["".concat(yn,"-range-start")]=Qn,Kn["".concat(yn,"-range-end")]=Jn,Kn["".concat(yn,"-range-hover")]=!Qn&&!Jn&&_e(Se,Bn,Vn,zn)}return Ot&&(Kn["".concat(yn,"-hover")]=Ot.some(function(Ar){return Q(Se,Yt,zn,Ar)})),Qe()(yn,(0,Ht.Z)({},"".concat(yn,"-selected"),!zt&&Q(Se,Yt,Je,zn)),Kn)};return g.createElement(Ei,(0,T.Z)({},S,{mode:"week",panelName:"week",rowClassName:Cn}))}function Gt(S){var te=S.prefixCls,Se=S.locale,Ye=S.generateConfig,Je=S.pickerValue,Ot=S.disabledDate,zt=S.onPickerValueChange,Yt=S.onModeChange,yn="".concat(te,"-year-panel"),Cn=Nr(S,"year"),tn=(0,Oe.Z)(Cn,1),zn=tn[0],Kn=function(xr){var _i=Math.floor(Ye.getYear(xr)/10)*10;return Ye.setYear(xr,_i)},Gn=function(xr){var _i=Kn(xr);return Ye.addYear(_i,9)},Bn=Kn(Je),Vn=Gn(Je),Qn=Ye.addYear(Bn,-1),Jn=function(xr,_i){return Ye.addYear(xr,_i)},Ar=function(xr){return xn(xr,{locale:Se,format:Se.cellYearFormat,generateConfig:Ye})},pr=function(xr){return(0,Ht.Z)({},"".concat(te,"-cell-in-view"),Ue(Ye,xr,Bn)||Ue(Ye,xr,Vn)||_e(Ye,Bn,Vn,xr))},tr=Ot?function(mr,xr){var _i=Ye.setMonth(mr,0),ni=Ye.setDate(_i,1),li=Ye.addYear(ni,1),Gr=Ye.addDate(li,-1);return Ot(ni,xr)&&Ot(Gr,xr)}:null,Dr=g.createElement("button",{type:"button",key:"decade","aria-label":Se.decadeSelect,onClick:function(){Yt("decade")},tabIndex:-1,className:"".concat(te,"-decade-btn")},xn(Bn,{locale:Se,format:Se.yearFormat,generateConfig:Ye}),"-",xn(Vn,{locale:Se,format:Se.yearFormat,generateConfig:Ye}));return g.createElement(nr.Provider,{value:zn},g.createElement("div",{className:yn},g.createElement(rt,{superOffset:function(xr){return Ye.addYear(Je,xr*10)},onChange:zt,getStart:Kn,getEnd:Gn},Dr),g.createElement(Ir,(0,T.Z)({},S,{disabledDate:tr,titleFormat:Se.fieldYearFormat,colNum:3,rowNum:4,baseDate:Qn,getCellDate:Jn,getCellText:Ar,getCellClassName:pr}))))}var Zn={date:Ei,datetime:on,week:Zt,month:Li,quarter:Ft,year:Gt,decade:ei,time:Ea};function sr(S,te){var Se,Ye=S.locale,Je=S.generateConfig,Ot=S.direction,zt=S.prefixCls,Yt=S.tabIndex,yn=Yt===void 0?0:Yt,Cn=S.multiple,tn=S.defaultValue,zn=S.value,Kn=S.onChange,Gn=S.onSelect,Bn=S.defaultPickerValue,Vn=S.pickerValue,Qn=S.onPickerValueChange,Jn=S.mode,Ar=S.onPanelChange,pr=S.picker,tr=pr===void 0?"date":pr,Dr=S.showTime,mr=S.hoverValue,xr=S.hoverRangeValue,_i=S.cellRender,ni=S.dateRender,li=S.monthCellRender,Gr=S.components,Ni=Gr===void 0?{}:Gr,mi=S.hideHeader,ai=((Se=g.useContext(Re))===null||Se===void 0?void 0:Se.prefixCls)||zt||"rc-picker",ri=g.useRef();g.useImperativeHandle(te,function(){return{nativeElement:ri.current}});var Ai=E(S),Ti=(0,Oe.Z)(Ai,4),Ji=Ti[0],$e=Ti[1],pi=Ti[2],ui=Ti[3],Or=ft(Ye,$e),si=tr==="date"&&Dr?"datetime":tr,qr=g.useMemo(function(){return D(si,pi,ui,Ji,Or)},[si,pi,ui,Ji,Or]),Yi=Je.getNow(),ha=(0,lt.C8)(tr,{value:Jn,postState:function(Vt){return Vt||"date"}}),ma=(0,Oe.Z)(ha,2),J=ma[0],V=ma[1],De=J==="date"&&qr?"datetime":J,Ge=Mn(Je,Ye,si),ot=(0,lt.C8)(tn,{value:zn}),mt=(0,Oe.Z)(ot,2),Rt=mt[0],Ct=mt[1],Nt=g.useMemo(function(){var Wt=M(Rt).filter(function(Vt){return Vt});return Cn?Wt:Wt.slice(0,1)},[Rt,Cn]),Ut=(0,lt.zX)(function(Wt){Ct(Wt),Kn&&(Wt===null||Nt.length!==Wt.length||Nt.some(function(Vt,ln){return!Mt(Je,Ye,Vt,Wt[ln],si)}))&&(Kn==null||Kn(Cn?Wt:Wt[0]))}),fn=(0,lt.zX)(function(Wt){if(Gn==null||Gn(Wt),J===tr){var Vt=Cn?Ge(Nt,Wt):[Wt];Ut(Vt)}}),sn=(0,lt.C8)(Bn||Nt[0]||Yi,{value:Vn}),rn=(0,Oe.Z)(sn,2),B=rn[0],l=rn[1];g.useEffect(function(){Nt[0]&&!Vn&&l(Nt[0])},[Nt[0]]);var d=function(Vt,ln){Ar==null||Ar(Vt||Vn,ln||J)},f=function(Vt){var ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;l(Vt),Qn==null||Qn(Vt),ln&&d(Vt)},b=function(Vt,ln){V(Vt),ln&&f(ln),d(ln,Vt)},R=function(Vt){if(fn(Vt),f(Vt),J!==tr){var ln=["decade","year"],Jt=[].concat(ln,["month"]),qt={quarter:[].concat(ln,["quarter"]),week:[].concat((0,Et.Z)(Jt),["week"]),date:[].concat((0,Et.Z)(Jt),["date"])},bn=qt[tr]||Jt,Hn=bn.indexOf(J),ur=bn[Hn+1];ur&&b(ur,Vt)}},H=g.useMemo(function(){var Wt,Vt;if(Array.isArray(xr)){var ln=(0,Oe.Z)(xr,2);Wt=ln[0],Vt=ln[1]}else Wt=xr;return!Wt&&!Vt?null:(Wt=Wt||Vt,Vt=Vt||Wt,Je.isAfter(Wt,Vt)?[Vt,Wt]:[Wt,Vt])},[xr,Je]),ge=nt(_i,ni,li),Ce=Ni[De]||Zn[De]||Ei,Ke=g.useContext(Ui),pt=g.useMemo(function(){return(0,He.Z)((0,He.Z)({},Ke),{},{hideHeader:mi})},[Ke,mi]),Tt="".concat(ai,"-panel"),Qt=Te(S,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return g.createElement(Ui.Provider,{value:pt},g.createElement("div",{ref:ri,tabIndex:yn,className:Qe()(Tt,(0,Ht.Z)({},"".concat(Tt,"-rtl"),Ot==="rtl"))},g.createElement(Ce,(0,T.Z)({},Qt,{showTime:qr,prefixCls:ai,locale:Or,generateConfig:Je,onModeChange:b,pickerValue:B,onPickerValueChange:function(Vt){f(Vt,!0)},value:Nt[0],onSelect:R,values:Nt,cellRender:ge,hoverRangeValue:H,hoverValue:mr}))))}var Un=g.memo(g.forwardRef(sr)),en=Un;function hn(S){var te=S.picker,Se=S.multiplePanel,Ye=S.pickerValue,Je=S.onPickerValueChange,Ot=S.needConfirm,zt=S.onSubmit,Yt=S.range,yn=S.hoverValue,Cn=g.useContext(Re),tn=Cn.prefixCls,zn=Cn.generateConfig,Kn=g.useCallback(function(Ar,pr){return vn(zn,te,Ar,pr)},[zn,te]),Gn=g.useMemo(function(){return Kn(Ye,1)},[Ye,Kn]),Bn=function(pr){Je(Kn(pr,-1))},Vn={onCellDblClick:function(){Ot&&zt()}},Qn=te==="time",Jn=(0,He.Z)((0,He.Z)({},S),{},{hoverValue:null,hoverRangeValue:null,hideHeader:Qn});return Yt?Jn.hoverRangeValue=yn:Jn.hoverValue=yn,Se?g.createElement("div",{className:"".concat(tn,"-panels")},g.createElement(Ui.Provider,{value:(0,He.Z)((0,He.Z)({},Vn),{},{hideNext:!0})},g.createElement(en,Jn)),g.createElement(Ui.Provider,{value:(0,He.Z)((0,He.Z)({},Vn),{},{hidePrev:!0})},g.createElement(en,(0,T.Z)({},Jn,{pickerValue:Gn,onPickerValueChange:Bn})))):g.createElement(Ui.Provider,{value:(0,He.Z)({},Vn)},g.createElement(en,Jn))}function $t(S){return typeof S=="function"?S():S}function Nn(S){var te=S.prefixCls,Se=S.presets,Ye=S.onClick,Je=S.onHover;return Se.length?g.createElement("div",{className:"".concat(te,"-presets")},g.createElement("ul",null,Se.map(function(Ot,zt){var Yt=Ot.label,yn=Ot.value;return g.createElement("li",{key:zt,onClick:function(){Ye($t(yn))},onMouseEnter:function(){Je($t(yn))},onMouseLeave:function(){Je(null)}},Yt)}))):null}function wr(S){var te=S.panelRender,Se=S.internalMode,Ye=S.picker,Je=S.showNow,Ot=S.range,zt=S.multiple,Yt=S.activeInfo,yn=Yt===void 0?[0,0,0]:Yt,Cn=S.presets,tn=S.onPresetHover,zn=S.onPresetSubmit,Kn=S.onFocus,Gn=S.onBlur,Bn=S.onPanelMouseDown,Vn=S.direction,Qn=S.value,Jn=S.onSelect,Ar=S.isInvalid,pr=S.defaultOpenValue,tr=S.onOk,Dr=S.onSubmit,mr=g.useContext(Re),xr=mr.prefixCls,_i="".concat(xr,"-panel"),ni=Vn==="rtl",li=g.useRef(null),Gr=g.useRef(null),Ni=g.useState(0),mi=(0,Oe.Z)(Ni,2),ai=mi[0],ri=mi[1],Ai=g.useState(0),Ti=(0,Oe.Z)(Ai,2),Ji=Ti[0],$e=Ti[1],pi=g.useState(0),ui=(0,Oe.Z)(pi,2),Or=ui[0],si=ui[1],qr=function(R){R.width&&ri(R.width)},Yi=(0,Oe.Z)(yn,3),ha=Yi[0],ma=Yi[1],J=Yi[2],V=g.useState(0),De=(0,Oe.Z)(V,2),Ge=De[0],ot=De[1];g.useEffect(function(){ot(10)},[ha]),g.useEffect(function(){if(Ot&&Gr.current){var b,R=((b=li.current)===null||b===void 0?void 0:b.offsetWidth)||0,H=Gr.current.getBoundingClientRect();if(!H.height||H.right<0){ot(function(pt){return Math.max(0,pt-1)});return}var ge=(ni?ma-R:ha)-H.left;if(si(ge),ai&&ai<J){var Ce=ni?H.right-(ma-R+ai):ha+R-H.left-ai,Ke=Math.max(0,Ce);$e(Ke)}else $e(0)}},[Ge,ni,ai,ha,ma,J,Ot]);function mt(b){return b.filter(function(R){return R})}var Rt=g.useMemo(function(){return mt(M(Qn))},[Qn]),Ct=Ye==="time"&&!Rt.length,Nt=g.useMemo(function(){return Ct?mt([pr]):Rt},[Ct,Rt,pr]),Ut=Ct?pr:Rt,fn=g.useMemo(function(){return Nt.length?Nt.some(function(b){return Ar(b)}):!0},[Nt,Ar]),sn=function(){Ct&&Jn(pr),tr(),Dr()},rn=g.createElement("div",{className:"".concat(xr,"-panel-layout")},g.createElement(Nn,{prefixCls:xr,presets:Cn,onClick:zn,onHover:tn}),g.createElement("div",null,g.createElement(hn,(0,T.Z)({},S,{value:Ut})),g.createElement(_n,(0,T.Z)({},S,{showNow:zt?!1:Je,invalid:fn,onSubmit:sn}))));te&&(rn=te(rn));var B="".concat(_i,"-container"),l="marginLeft",d="marginRight",f=g.createElement("div",{onMouseDown:Bn,tabIndex:-1,className:Qe()(B,"".concat(xr,"-").concat(Se,"-panel-container")),style:(0,Ht.Z)((0,Ht.Z)({},ni?d:l,Ji),ni?l:d,"auto"),onFocus:Kn,onBlur:Gn},rn);return Ot&&(f=g.createElement("div",{onMouseDown:Bn,ref:Gr,className:Qe()("".concat(xr,"-range-wrapper"),"".concat(xr,"-").concat(Ye,"-range-wrapper"))},g.createElement("div",{ref:li,className:"".concat(xr,"-range-arrow"),style:{left:Or}}),g.createElement(Dt.Z,{onResize:qr},f))),f}var zr=h(42244);function Xn(S,te){var Se=S.format,Ye=S.maskFormat,Je=S.generateConfig,Ot=S.locale,zt=S.preserveInvalidOnBlur,Yt=S.inputReadOnly,yn=S.required,Cn=S["aria-required"],tn=S.onSubmit,zn=S.onFocus,Kn=S.onBlur,Gn=S.onInputChange,Bn=S.onInvalid,Vn=S.open,Qn=S.onOpenChange,Jn=S.onKeyDown,Ar=S.onChange,pr=S.activeHelp,tr=S.name,Dr=S.autoComplete,mr=S.id,xr=S.value,_i=S.invalid,ni=S.placeholder,li=S.disabled,Gr=S.activeIndex,Ni=S.allHelp,mi=S.picker,ai=function(Or,si){var qr=Je.locale.parse(Ot.locale,Or,[si]);return qr&&Je.isValidate(qr)?qr:null},ri=Se[0],Ai=g.useCallback(function(ui){return xn(ui,{locale:Ot,format:ri,generateConfig:Je})},[Ot,Je,ri]),Ti=g.useMemo(function(){return xr.map(Ai)},[xr,Ai]),Ji=g.useMemo(function(){var ui=mi==="time"?8:10,Or=typeof ri=="function"?ri(Je.getNow()).length:ri.length;return Math.max(ui,Or)+2},[ri,mi,Je]),$e=function(Or){for(var si=0;si<Se.length;si+=1){var qr=Se[si];if(typeof qr=="string"){var Yi=ai(Or,qr);if(Yi)return Yi}}return!1},pi=function(Or){function si(ha){return Or!==void 0?ha[Or]:ha}var qr=(0,At.Z)(S,{aria:!0,data:!0}),Yi=(0,He.Z)((0,He.Z)({},qr),{},{format:Ye,validateFormat:function(ma){return!!$e(ma)},preserveInvalidOnBlur:zt,readOnly:Yt,required:yn,"aria-required":Cn,name:tr,autoComplete:Dr,size:Ji,id:si(mr),value:si(Ti)||"",invalid:si(_i),placeholder:si(ni),active:Gr===Or,helped:Ni||pr&&Gr===Or,disabled:si(li),onFocus:function(ma){zn(ma,Or)},onBlur:function(ma){Kn(ma,Or)},onSubmit:tn,onChange:function(ma){Gn();var J=$e(ma);if(J){Bn(!1,Or),Ar(J,Or);return}Bn(!!ma,Or)},onHelp:function(){Qn(!0,{index:Or})},onKeyDown:function(ma){var J=!1;if(Jn==null||Jn(ma,function(){J=!0}),!ma.defaultPrevented&&!J)switch(ma.key){case"Escape":Qn(!1,{index:Or});break;case"Enter":Vn||Qn(!0);break}}},te==null?void 0:te({valueTexts:Ti}));return Object.keys(Yi).forEach(function(ha){Yi[ha]===void 0&&delete Yi[ha]}),Yi};return[pi,Ai]}var Rr=["onMouseEnter","onMouseLeave"];function Zr(S){return g.useMemo(function(){return Te(S,Rr)},[S])}var Gi=["icon","type"],sa=["onClear"];function ya(S){var te=S.icon,Se=S.type,Ye=(0,zr.Z)(S,Gi),Je=g.useContext(Re),Ot=Je.prefixCls;return te?g.createElement("span",(0,T.Z)({className:"".concat(Ot,"-").concat(Se)},Ye),te):null}function Ri(S){var te=S.onClear,Se=(0,zr.Z)(S,sa);return g.createElement(ya,(0,T.Z)({},Se,{type:"clear",role:"button",onMouseDown:function(Je){Je.preventDefault()},onClick:function(Je){Je.stopPropagation(),te()}}))}var Sa=h(38705),zi=h(17212),oa=["YYYY","MM","DD","HH","mm","ss","SSS"],ji="\u9867",ra=function(){function S(te){(0,Sa.Z)(this,S),(0,Ht.Z)(this,"format",void 0),(0,Ht.Z)(this,"maskFormat",void 0),(0,Ht.Z)(this,"cells",void 0),(0,Ht.Z)(this,"maskCells",void 0),this.format=te;var Se=oa.map(function(Yt){return"(".concat(Yt,")")}).join("|"),Ye=new RegExp(Se,"g");this.maskFormat=te.replace(Ye,function(Yt){return ji.repeat(Yt.length)});var Je=new RegExp("(".concat(oa.join("|"),")")),Ot=(te.split(Je)||[]).filter(function(Yt){return Yt}),zt=0;this.cells=Ot.map(function(Yt){var yn=oa.includes(Yt),Cn=zt,tn=zt+Yt.length;return zt=tn,{text:Yt,mask:yn,start:Cn,end:tn}}),this.maskCells=this.cells.filter(function(Yt){return Yt.mask})}return(0,zi.Z)(S,[{key:"getSelection",value:function(Se){var Ye=this.maskCells[Se]||{},Je=Ye.start,Ot=Ye.end;return[Je||0,Ot||0]}},{key:"match",value:function(Se){for(var Ye=0;Ye<this.maskFormat.length;Ye+=1){var Je=this.maskFormat[Ye],Ot=Se[Ye];if(!Ot||Je!==ji&&Je!==Ot)return!1}return!0}},{key:"size",value:function(){return this.maskCells.length}},{key:"getMaskCellIndex",value:function(Se){for(var Ye=Number.MAX_SAFE_INTEGER,Je=0,Ot=0;Ot<this.maskCells.length;Ot+=1){var zt=this.maskCells[Ot],Yt=zt.start,yn=zt.end;if(Se>=Yt&&Se<=yn)return Ot;var Cn=Math.min(Math.abs(Se-Yt),Math.abs(Se-yn));Cn<Ye&&(Ye=Cn,Je=Ot)}return Je}}]),S}();function Fi(S){var te={YYYY:[0,9999,new Date().getFullYear()],MM:[1,12],DD:[1,31],HH:[0,23],mm:[0,59],ss:[0,59],SSS:[0,999]};return te[S]}var da=["active","showActiveCls","suffixIcon","format","validateFormat","onChange","onInput","helped","onHelp","onSubmit","onKeyDown","preserveInvalidOnBlur","invalid","clearIcon"],Kr=g.forwardRef(function(S,te){var Se=S.active,Ye=S.showActiveCls,Je=Ye===void 0?!0:Ye,Ot=S.suffixIcon,zt=S.format,Yt=S.validateFormat,yn=S.onChange,Cn=S.onInput,tn=S.helped,zn=S.onHelp,Kn=S.onSubmit,Gn=S.onKeyDown,Bn=S.preserveInvalidOnBlur,Vn=Bn===void 0?!1:Bn,Qn=S.invalid,Jn=S.clearIcon,Ar=(0,zr.Z)(S,da),pr=S.value,tr=S.onFocus,Dr=S.onBlur,mr=S.onMouseUp,xr=g.useContext(Re),_i=xr.prefixCls,ni=xr.input,li=ni===void 0?"input":ni,Gr="".concat(_i,"-input"),Ni=g.useState(!1),mi=(0,Oe.Z)(Ni,2),ai=mi[0],ri=mi[1],Ai=g.useState(pr),Ti=(0,Oe.Z)(Ai,2),Ji=Ti[0],$e=Ti[1],pi=g.useState(""),ui=(0,Oe.Z)(pi,2),Or=ui[0],si=ui[1],qr=g.useState(null),Yi=(0,Oe.Z)(qr,2),ha=Yi[0],ma=Yi[1],J=g.useState(null),V=(0,Oe.Z)(J,2),De=V[0],Ge=V[1],ot=Ji||"";g.useEffect(function(){$e(pr)},[pr]);var mt=g.useRef(),Rt=g.useRef();g.useImperativeHandle(te,function(){return{nativeElement:mt.current,inputElement:Rt.current,focus:function(Vt){Rt.current.focus(Vt)},blur:function(){Rt.current.blur()}}});var Ct=g.useMemo(function(){return new ra(zt||"")},[zt]),Nt=g.useMemo(function(){return tn?[0,0]:Ct.getSelection(ha)},[Ct,ha,tn]),Ut=(0,Oe.Z)(Nt,2),fn=Ut[0],sn=Ut[1],rn=function(Vt){Vt&&Vt!==zt&&Vt!==pr&&zn()},B=(0,lt.zX)(function(Wt){Yt(Wt)&&yn(Wt),$e(Wt),rn(Wt)}),l=function(Vt){if(!zt){var ln=Vt.target.value;rn(ln),$e(ln),yn(ln)}},d=function(Vt){var ln=Vt.clipboardData.getData("text");Yt(ln)&&B(ln)},f=g.useRef(!1),b=function(){f.current=!0},R=function(Vt){var ln=Vt.target,Jt=ln.selectionStart,qt=Ct.getMaskCellIndex(Jt);ma(qt),Ge({}),mr==null||mr(Vt),f.current=!1},H=function(Vt){ri(!0),ma(0),si(""),tr(Vt)},ge=function(Vt){Dr(Vt)},Ce=function(Vt){ri(!1),ge(Vt)};Lt(Se,function(){!Se&&!Vn&&$e(pr)});var Ke=function(Vt){Vt.key==="Enter"&&Yt(ot)&&Kn(),Gn==null||Gn(Vt)},pt=function(Vt){Ke(Vt);var ln=Vt.key,Jt=null,qt=null,bn=sn-fn,Hn=zt.slice(fn,sn),ur=function(oi){ma(function(Ca){var Xi=Ca+oi;return Xi=Math.max(Xi,0),Xi=Math.min(Xi,Ct.size()-1),Xi})},Sr=function(oi){var Ca=Fi(Hn),Xi=(0,Oe.Z)(Ca,3),Kt=Xi[0],Oa=Xi[1],Ya=Xi[2],la=ot.slice(fn,sn),Zi=Number(la);if(isNaN(Zi))return String(Ya||(oi>0?Kt:Oa));var $a=Zi+oi,Qa=Oa-Kt+1;return String(Kt+(Qa+$a-Kt)%Qa)};switch(ln){case"Backspace":case"Delete":Jt="",qt=Hn;break;case"ArrowLeft":Jt="",ur(-1);break;case"ArrowRight":Jt="",ur(1);break;case"ArrowUp":Jt="",qt=Sr(1);break;case"ArrowDown":Jt="",qt=Sr(-1);break;default:isNaN(Number(ln))||(Jt=Or+ln,qt=Jt);break}if(Jt!==null&&(si(Jt),Jt.length>=bn&&(ur(1),si(""))),qt!==null){var er=ot.slice(0,fn)+U(qt,bn)+ot.slice(sn);B(er.slice(0,zt.length))}Ge({})},Tt=g.useRef();(0,St.Z)(function(){if(!(!ai||!zt||f.current)){if(!Ct.match(ot)){B(zt);return}return Rt.current.setSelectionRange(fn,sn),Tt.current=(0,Wn.Z)(function(){Rt.current.setSelectionRange(fn,sn)}),function(){Wn.Z.cancel(Tt.current)}}},[Ct,zt,ai,ot,ha,fn,sn,De,B]);var Qt=zt?{onFocus:H,onBlur:Ce,onKeyDown:pt,onMouseDown:b,onMouseUp:R,onPaste:d}:{};return g.createElement("div",{ref:mt,className:Qe()(Gr,(0,Ht.Z)((0,Ht.Z)({},"".concat(Gr,"-active"),Se&&Je),"".concat(Gr,"-placeholder"),tn))},g.createElement(li,(0,T.Z)({ref:Rt,"aria-invalid":Qn,autoComplete:"off"},Ar,{onKeyDown:Ke,onBlur:ge},Qt,{value:ot,onChange:l})),g.createElement(ya,{type:"suffix",icon:Ot}),Jn)}),fa=Kr,kr=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveInfo","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],_a=["index"];function rr(S,te){var Se=S.id,Ye=S.prefix,Je=S.clearIcon,Ot=S.suffixIcon,zt=S.separator,Yt=zt===void 0?"~":zt,yn=S.activeIndex,Cn=S.activeHelp,tn=S.allHelp,zn=S.focused,Kn=S.onFocus,Gn=S.onBlur,Bn=S.onKeyDown,Vn=S.locale,Qn=S.generateConfig,Jn=S.placeholder,Ar=S.className,pr=S.style,tr=S.onClick,Dr=S.onClear,mr=S.value,xr=S.onChange,_i=S.onSubmit,ni=S.onInputChange,li=S.format,Gr=S.maskFormat,Ni=S.preserveInvalidOnBlur,mi=S.onInvalid,ai=S.disabled,ri=S.invalid,Ai=S.inputReadOnly,Ti=S.direction,Ji=S.onOpenChange,$e=S.onActiveInfo,pi=S.placement,ui=S.onMouseDown,Or=S.required,si=S["aria-required"],qr=S.autoFocus,Yi=S.tabIndex,ha=(0,zr.Z)(S,kr),ma=Ti==="rtl",J=g.useContext(Re),V=J.prefixCls,De=g.useMemo(function(){if(typeof Se=="string")return[Se];var ge=Se||{};return[ge.start,ge.end]},[Se]),Ge=g.useRef(),ot=g.useRef(),mt=g.useRef(),Rt=function(Ce){var Ke;return(Ke=[ot,mt][Ce])===null||Ke===void 0?void 0:Ke.current};g.useImperativeHandle(te,function(){return{nativeElement:Ge.current,focus:function(Ce){if((0,xt.Z)(Ce)==="object"){var Ke,pt=Ce||{},Tt=pt.index,Qt=Tt===void 0?0:Tt,Wt=(0,zr.Z)(pt,_a);(Ke=Rt(Qt))===null||Ke===void 0||Ke.focus(Wt)}else{var Vt;(Vt=Rt(Ce!=null?Ce:0))===null||Vt===void 0||Vt.focus()}},blur:function(){var Ce,Ke;(Ce=Rt(0))===null||Ce===void 0||Ce.blur(),(Ke=Rt(1))===null||Ke===void 0||Ke.blur()}}});var Ct=Zr(ha),Nt=g.useMemo(function(){return Array.isArray(Jn)?Jn:[Jn,Jn]},[Jn]),Ut=Xn((0,He.Z)((0,He.Z)({},S),{},{id:De,placeholder:Nt})),fn=(0,Oe.Z)(Ut,1),sn=fn[0],rn=g.useState({position:"absolute",width:0}),B=(0,Oe.Z)(rn,2),l=B[0],d=B[1],f=(0,lt.zX)(function(){var ge=Rt(yn);if(ge){var Ce=ge.nativeElement.getBoundingClientRect(),Ke=Ge.current.getBoundingClientRect(),pt=Ce.left-Ke.left;d(function(Tt){return(0,He.Z)((0,He.Z)({},Tt),{},{width:Ce.width,left:pt})}),$e([Ce.left,Ce.right,Ke.width])}});g.useEffect(function(){f()},[yn]);var b=Je&&(mr[0]&&!ai[0]||mr[1]&&!ai[1]),R=qr&&!ai[0],H=qr&&!R&&!ai[1];return g.createElement(Dt.Z,{onResize:f},g.createElement("div",(0,T.Z)({},Ct,{className:Qe()(V,"".concat(V,"-range"),(0,Ht.Z)((0,Ht.Z)((0,Ht.Z)((0,Ht.Z)({},"".concat(V,"-focused"),zn),"".concat(V,"-disabled"),ai.every(function(ge){return ge})),"".concat(V,"-invalid"),ri.some(function(ge){return ge})),"".concat(V,"-rtl"),ma),Ar),style:pr,ref:Ge,onClick:tr,onMouseDown:function(Ce){var Ke=Ce.target;Ke!==ot.current.inputElement&&Ke!==mt.current.inputElement&&Ce.preventDefault(),ui==null||ui(Ce)}}),Ye&&g.createElement("div",{className:"".concat(V,"-prefix")},Ye),g.createElement(fa,(0,T.Z)({ref:ot},sn(0),{autoFocus:R,tabIndex:Yi,"date-range":"start"})),g.createElement("div",{className:"".concat(V,"-range-separator")},Yt),g.createElement(fa,(0,T.Z)({ref:mt},sn(1),{autoFocus:H,tabIndex:Yi,"date-range":"end"})),g.createElement("div",{className:"".concat(V,"-active-bar"),style:l}),g.createElement(ya,{type:"suffix",icon:Ot}),b&&g.createElement(Ri,{icon:Je,onClear:Dr})))}var or=g.forwardRef(rr),ia=or;function Fn(S,te){var Se=S!=null?S:te;return Array.isArray(Se)?Se:[Se,Se]}function ba(S){return S===1?"end":"start"}function Qr(S,te){var Se=ii(S,function(){var La=S.disabled,Da=S.allowEmpty,Vr=Fn(La,!1),va=Fn(Da,!1);return{disabled:Vr,allowEmpty:va}}),Ye=(0,Oe.Z)(Se,6),Je=Ye[0],Ot=Ye[1],zt=Ye[2],Yt=Ye[3],yn=Ye[4],Cn=Ye[5],tn=Je.prefixCls,zn=Je.styles,Kn=Je.classNames,Gn=Je.defaultValue,Bn=Je.value,Vn=Je.needConfirm,Qn=Je.onKeyDown,Jn=Je.disabled,Ar=Je.allowEmpty,pr=Je.disabledDate,tr=Je.minDate,Dr=Je.maxDate,mr=Je.defaultOpen,xr=Je.open,_i=Je.onOpenChange,ni=Je.locale,li=Je.generateConfig,Gr=Je.picker,Ni=Je.showNow,mi=Je.showToday,ai=Je.showTime,ri=Je.mode,Ai=Je.onPanelChange,Ti=Je.onCalendarChange,Ji=Je.onOk,$e=Je.defaultPickerValue,pi=Je.pickerValue,ui=Je.onPickerValueChange,Or=Je.inputReadOnly,si=Je.suffixIcon,qr=Je.onFocus,Yi=Je.onBlur,ha=Je.presets,ma=Je.ranges,J=Je.components,V=Je.cellRender,De=Je.dateRender,Ge=Je.monthCellRender,ot=Je.onClick,mt=nn(te),Rt=En(xr,mr,Jn,_i),Ct=(0,Oe.Z)(Rt,2),Nt=Ct[0],Ut=Ct[1],fn=function(Da,Vr){(Jn.some(function(va){return!va})||!Da)&&Ut(Da,Vr)},sn=dr(li,ni,Yt,!0,!1,Gn,Bn,Ti,Ji),rn=(0,Oe.Z)(sn,5),B=rn[0],l=rn[1],d=rn[2],f=rn[3],b=rn[4],R=d(),H=It(Jn,Ar,Nt),ge=(0,Oe.Z)(H,9),Ce=ge[0],Ke=ge[1],pt=ge[2],Tt=ge[3],Qt=ge[4],Wt=ge[5],Vt=ge[6],ln=ge[7],Jt=ge[8],qt=function(Da,Vr){Ke(!0),qr==null||qr(Da,{range:ba(Vr!=null?Vr:Tt)})},bn=function(Da,Vr){Ke(!1),Yi==null||Yi(Da,{range:ba(Vr!=null?Vr:Tt)})},Hn=g.useMemo(function(){if(!ai)return null;var La=ai.disabledTime,Da=La?function(Vr){var va=ba(Tt),Pa=ae(R,Vt,Tt);return La(Vr,va,{from:Pa})}:void 0;return(0,He.Z)((0,He.Z)({},ai),{},{disabledTime:Da})},[ai,Tt,R,Vt]),ur=(0,lt.C8)([Gr,Gr],{value:ri}),Sr=(0,Oe.Z)(ur,2),er=Sr[0],ci=Sr[1],oi=er[Tt]||Gr,Ca=oi==="date"&&Hn?"datetime":oi,Xi=Ca===Gr&&Ca!=="time",Kt=hr(Gr,oi,Ni,mi,!0),Oa=Pr(Je,B,l,d,f,Jn,Yt,Ce,Nt,Cn),Ya=(0,Oe.Z)(Oa,2),la=Ya[0],Zi=Ya[1],$a=kn(R,Jn,Vt,li,ni,pr),Qa=se(R,Cn,Ar),Di=(0,Oe.Z)(Qa,2),ua=Di[0],di=Di[1],Si=jn(li,ni,R,er,Nt,Tt,Ot,Xi,$e,pi,Hn==null?void 0:Hn.defaultOpenValue,ui,tr,Dr),wa=(0,Oe.Z)(Si,2),Ma=wa[0],Ja=wa[1],Ba=(0,lt.zX)(function(La,Da,Vr){var va=ye(er,Tt,Da);if((va[0]!==er[0]||va[1]!==er[1])&&ci(va),Ai&&Vr!==!1){var Pa=(0,Et.Z)(R);La&&(Pa[Tt]=La),Ai(Pa,va)}}),qa=function(Da,Vr){return ye(R,Vr,Da)},ds=function(Da,Vr){var va=R;Da&&(va=qa(Da,Tt)),ln(Tt);var Pa=Wt(va);f(va),la(Tt,Pa===null),Pa===null?fn(!1,{force:!0}):Vr||mt.current.focus({index:Pa})},Mi=function(Da){var Vr,va=Da.target.getRootNode();if(!mt.current.nativeElement.contains((Vr=va.activeElement)!==null&&Vr!==void 0?Vr:document.activeElement)){var Pa=Jn.findIndex(function(Ms){return!Ms});Pa>=0&&mt.current.focus({index:Pa})}fn(!0),ot==null||ot(Da)},Ki=function(){Zi(null),fn(!1,{force:!0})},Ha=g.useState(null),Xa=(0,Oe.Z)(Ha,2),ja=Xa[0],Rs=Xa[1],Wa=g.useState(null),Fs=(0,Oe.Z)(Wa,2),os=Fs[0],Ka=Fs[1],rs=g.useMemo(function(){return os||R},[R,os]);g.useEffect(function(){Nt||Ka(null)},[Nt]);var is=g.useState([0,0,0]),Ss=(0,Oe.Z)(is,2),Ts=Ss[0],Ga=Ss[1],gs=Yr(ha,ma),as=function(Da){Ka(Da),Rs("preset")},zs=function(Da){var Vr=Zi(Da);Vr&&fn(!1,{force:!0})},ys=function(Da){ds(Da)},Gs=function(Da){Ka(Da?qa(Da,Tt):null),Rs("cell")},lo=function(Da){fn(!0),qt(Da)},Lo=function(){pt("panel")},vs=function(Da){var Vr=ye(R,Tt,Da);f(Vr),!Vn&&!zt&&Ot===Ca&&ds(Da)},jo=function(){fn(!1)},Vs=nt(V,De,Ge,ba(Tt)),ro=R[Tt]||null,io=(0,lt.zX)(function(La){return Cn(La,{activeIndex:Tt})}),pa=g.useMemo(function(){var La=(0,At.Z)(Je,!1),Da=(0,ze.Z)(Je,[].concat((0,Et.Z)(Object.keys(La)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Da},[Je]),qi=g.createElement(wr,(0,T.Z)({},pa,{showNow:Kt,showTime:Hn,range:!0,multiplePanel:Xi,activeInfo:Ts,disabledDate:$a,onFocus:lo,onBlur:bn,onPanelMouseDown:Lo,picker:Gr,mode:oi,internalMode:Ca,onPanelChange:Ba,format:yn,value:ro,isInvalid:io,onChange:null,onSelect:vs,pickerValue:Ma,defaultOpenValue:M(ai==null?void 0:ai.defaultOpenValue)[Tt],onPickerValueChange:Ja,hoverValue:rs,onHover:Gs,needConfirm:Vn,onSubmit:ds,onOk:b,presets:gs,onPresetHover:as,onPresetSubmit:zs,onNow:ys,cellRender:Vs})),_s=function(Da,Vr){var va=qa(Da,Vr);f(va)},Hs=function(){pt("input")},ao=function(Da,Vr){var va=Vt.length,Pa=Vt[va-1];if(va&&Pa!==Vr&&Vn&&!Ar[Pa]&&!Jt(Pa)&&R[Pa]){mt.current.focus({index:Pa});return}pt("input"),fn(!0,{inherit:!0}),Tt!==Vr&&Nt&&!Vn&&zt&&ds(null,!0),Qt(Vr),qt(Da,Vr)},Ro=function(Da,Vr){if(fn(!1),!Vn&&pt()==="input"){var va=Wt(R);la(Tt,va===null)}bn(Da,Vr)},Js=function(Da,Vr){Da.key==="Tab"&&ds(null,!0),Qn==null||Qn(Da,Vr)},ol=g.useMemo(function(){return{prefixCls:tn,locale:ni,generateConfig:li,button:J.button,input:J.input}},[tn,ni,li,J.button,J.input]);if((0,St.Z)(function(){Nt&&Tt!==void 0&&Ba(null,Gr,!1)},[Nt,Tt,Gr]),(0,St.Z)(function(){var La=pt();!Nt&&La==="input"&&(fn(!1),ds(null,!0)),!Nt&&zt&&!Vn&&La==="panel"&&(fn(!0),ds())},[Nt]),0)var ll;return g.createElement(Re.Provider,{value:ol},g.createElement(Me,(0,T.Z)({},Fe(Je),{popupElement:qi,popupStyle:zn.popup,popupClassName:Kn.popup,visible:Nt,onClose:jo,range:!0}),g.createElement(ia,(0,T.Z)({},Je,{ref:mt,suffixIcon:si,activeIndex:Ce||Nt?Tt:null,activeHelp:!!os,allHelp:!!os&&ja==="preset",focused:Ce,onFocus:ao,onBlur:Ro,onKeyDown:Js,onSubmit:ds,value:rs,maskFormat:yn,onChange:_s,onInputChange:Hs,format:Yt,inputReadOnly:Or,disabled:Jn,open:Nt,onOpenChange:fn,onClick:Mi,onClear:Ki,invalid:ua,onInvalid:di,onActiveInfo:Ga}))))}var xa=g.forwardRef(Qr),Vi=xa,$i=h(83836);function Pn(S){var te=S.prefixCls,Se=S.value,Ye=S.onRemove,Je=S.removeIcon,Ot=Je===void 0?"\xD7":Je,zt=S.formatDate,Yt=S.disabled,yn=S.maxTagCount,Cn=S.placeholder,tn="".concat(te,"-selector"),zn="".concat(te,"-selection"),Kn="".concat(zn,"-overflow");function Gn(Qn,Jn){return g.createElement("span",{className:Qe()("".concat(zn,"-item")),title:typeof Qn=="string"?Qn:null},g.createElement("span",{className:"".concat(zn,"-item-content")},Qn),!Yt&&Jn&&g.createElement("span",{onMouseDown:function(pr){pr.preventDefault()},onClick:Jn,className:"".concat(zn,"-item-remove")},Ot))}function Bn(Qn){var Jn=zt(Qn),Ar=function(tr){tr&&tr.stopPropagation(),Ye(Qn)};return Gn(Jn,Ar)}function Vn(Qn){var Jn="+ ".concat(Qn.length," ...");return Gn(Jn)}return g.createElement("div",{className:tn},g.createElement($i.Z,{prefixCls:Kn,data:Se,renderItem:Bn,renderRest:Vn,itemKey:function(Jn){return zt(Jn)},maxCount:yn}),!Se.length&&g.createElement("span",{className:"".concat(te,"-selection-placeholder")},Cn))}var Tr=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function Sn(S,te){var Se=S.id,Ye=S.open,Je=S.prefix,Ot=S.clearIcon,zt=S.suffixIcon,Yt=S.activeHelp,yn=S.allHelp,Cn=S.focused,tn=S.onFocus,zn=S.onBlur,Kn=S.onKeyDown,Gn=S.locale,Bn=S.generateConfig,Vn=S.placeholder,Qn=S.className,Jn=S.style,Ar=S.onClick,pr=S.onClear,tr=S.internalPicker,Dr=S.value,mr=S.onChange,xr=S.onSubmit,_i=S.onInputChange,ni=S.multiple,li=S.maxTagCount,Gr=S.format,Ni=S.maskFormat,mi=S.preserveInvalidOnBlur,ai=S.onInvalid,ri=S.disabled,Ai=S.invalid,Ti=S.inputReadOnly,Ji=S.direction,$e=S.onOpenChange,pi=S.onMouseDown,ui=S.required,Or=S["aria-required"],si=S.autoFocus,qr=S.tabIndex,Yi=S.removeIcon,ha=(0,zr.Z)(S,Tr),ma=Ji==="rtl",J=g.useContext(Re),V=J.prefixCls,De=g.useRef(),Ge=g.useRef();g.useImperativeHandle(te,function(){return{nativeElement:De.current,focus:function(l){var d;(d=Ge.current)===null||d===void 0||d.focus(l)},blur:function(){var l;(l=Ge.current)===null||l===void 0||l.blur()}}});var ot=Zr(ha),mt=function(l){mr([l])},Rt=function(l){var d=Dr.filter(function(f){return f&&!Mt(Bn,Gn,f,l,tr)});mr(d),Ye||xr()},Ct=Xn((0,He.Z)((0,He.Z)({},S),{},{onChange:mt}),function(B){var l=B.valueTexts;return{value:l[0]||"",active:Cn}}),Nt=(0,Oe.Z)(Ct,2),Ut=Nt[0],fn=Nt[1],sn=!!(Ot&&Dr.length&&!ri),rn=ni?g.createElement(g.Fragment,null,g.createElement(Pn,{prefixCls:V,value:Dr,onRemove:Rt,formatDate:fn,maxTagCount:li,disabled:ri,removeIcon:Yi,placeholder:Vn}),g.createElement("input",{className:"".concat(V,"-multiple-input"),value:Dr.map(fn).join(","),ref:Ge,readOnly:!0,autoFocus:si,tabIndex:qr}),g.createElement(ya,{type:"suffix",icon:zt}),sn&&g.createElement(Ri,{icon:Ot,onClear:pr})):g.createElement(fa,(0,T.Z)({ref:Ge},Ut(),{autoFocus:si,tabIndex:qr,suffixIcon:zt,clearIcon:sn&&g.createElement(Ri,{icon:Ot,onClear:pr}),showActiveCls:!1}));return g.createElement("div",(0,T.Z)({},ot,{className:Qe()(V,(0,Ht.Z)((0,Ht.Z)((0,Ht.Z)((0,Ht.Z)((0,Ht.Z)({},"".concat(V,"-multiple"),ni),"".concat(V,"-focused"),Cn),"".concat(V,"-disabled"),ri),"".concat(V,"-invalid"),Ai),"".concat(V,"-rtl"),ma),Qn),style:Jn,ref:De,onClick:Ar,onMouseDown:function(l){var d,f=l.target;f!==((d=Ge.current)===null||d===void 0?void 0:d.inputElement)&&l.preventDefault(),pi==null||pi(l)}}),Je&&g.createElement("div",{className:"".concat(V,"-prefix")},Je),rn)}var Aa=g.forwardRef(Sn),Wi=Aa;function Ia(S,te){var Se=ii(S),Ye=(0,Oe.Z)(Se,6),Je=Ye[0],Ot=Ye[1],zt=Ye[2],Yt=Ye[3],yn=Ye[4],Cn=Ye[5],tn=Je,zn=tn.prefixCls,Kn=tn.styles,Gn=tn.classNames,Bn=tn.order,Vn=tn.defaultValue,Qn=tn.value,Jn=tn.needConfirm,Ar=tn.onChange,pr=tn.onKeyDown,tr=tn.disabled,Dr=tn.disabledDate,mr=tn.minDate,xr=tn.maxDate,_i=tn.defaultOpen,ni=tn.open,li=tn.onOpenChange,Gr=tn.locale,Ni=tn.generateConfig,mi=tn.picker,ai=tn.showNow,ri=tn.showToday,Ai=tn.showTime,Ti=tn.mode,Ji=tn.onPanelChange,$e=tn.onCalendarChange,pi=tn.onOk,ui=tn.multiple,Or=tn.defaultPickerValue,si=tn.pickerValue,qr=tn.onPickerValueChange,Yi=tn.inputReadOnly,ha=tn.suffixIcon,ma=tn.removeIcon,J=tn.onFocus,V=tn.onBlur,De=tn.presets,Ge=tn.components,ot=tn.cellRender,mt=tn.dateRender,Rt=tn.monthCellRender,Ct=tn.onClick,Nt=nn(te);function Ut(pa){return pa===null?null:ui?pa:pa[0]}var fn=Mn(Ni,Gr,Ot),sn=En(ni,_i,[tr],li),rn=(0,Oe.Z)(sn,2),B=rn[0],l=rn[1],d=function(qi,_s,Hs){if($e){var ao=(0,He.Z)({},Hs);delete ao.range,$e(Ut(qi),Ut(_s),ao)}},f=function(qi){pi==null||pi(Ut(qi))},b=dr(Ni,Gr,Yt,!1,Bn,Vn,Qn,d,f),R=(0,Oe.Z)(b,5),H=R[0],ge=R[1],Ce=R[2],Ke=R[3],pt=R[4],Tt=Ce(),Qt=It([tr]),Wt=(0,Oe.Z)(Qt,4),Vt=Wt[0],ln=Wt[1],Jt=Wt[2],qt=Wt[3],bn=function(qi){ln(!0),J==null||J(qi,{})},Hn=function(qi){ln(!1),V==null||V(qi,{})},ur=(0,lt.C8)(mi,{value:Ti}),Sr=(0,Oe.Z)(ur,2),er=Sr[0],ci=Sr[1],oi=er==="date"&&Ai?"datetime":er,Ca=hr(mi,er,ai,ri),Xi=Ar&&function(pa,qi){Ar(Ut(pa),Ut(qi))},Kt=Pr((0,He.Z)((0,He.Z)({},Je),{},{onChange:Xi}),H,ge,Ce,Ke,[],Yt,Vt,B,Cn),Oa=(0,Oe.Z)(Kt,2),Ya=Oa[1],la=se(Tt,Cn),Zi=(0,Oe.Z)(la,2),$a=Zi[0],Qa=Zi[1],Di=g.useMemo(function(){return $a.some(function(pa){return pa})},[$a]),ua=function(qi,_s){if(qr){var Hs=(0,He.Z)((0,He.Z)({},_s),{},{mode:_s.mode[0]});delete Hs.range,qr(qi[0],Hs)}},di=jn(Ni,Gr,Tt,[er],B,qt,Ot,!1,Or,si,M(Ai==null?void 0:Ai.defaultOpenValue),ua,mr,xr),Si=(0,Oe.Z)(di,2),wa=Si[0],Ma=Si[1],Ja=(0,lt.zX)(function(pa,qi,_s){if(ci(qi),Ji&&_s!==!1){var Hs=pa||Tt[Tt.length-1];Ji(Hs,qi)}}),Ba=function(){Ya(Ce()),l(!1,{force:!0})},qa=function(qi){!tr&&!Nt.current.nativeElement.contains(document.activeElement)&&Nt.current.focus(),l(!0),Ct==null||Ct(qi)},ds=function(){Ya(null),l(!1,{force:!0})},Mi=g.useState(null),Ki=(0,Oe.Z)(Mi,2),Ha=Ki[0],Xa=Ki[1],ja=g.useState(null),Rs=(0,Oe.Z)(ja,2),Wa=Rs[0],Fs=Rs[1],os=g.useMemo(function(){var pa=[Wa].concat((0,Et.Z)(Tt)).filter(function(qi){return qi});return ui?pa:pa.slice(0,1)},[Tt,Wa,ui]),Ka=g.useMemo(function(){return!ui&&Wa?[Wa]:Tt.filter(function(pa){return pa})},[Tt,Wa,ui]);g.useEffect(function(){B||Fs(null)},[B]);var rs=Yr(De),is=function(qi){Fs(qi),Xa("preset")},Ss=function(qi){var _s=ui?fn(Ce(),qi):[qi],Hs=Ya(_s);Hs&&!ui&&l(!1,{force:!0})},Ts=function(qi){Ss(qi)},Ga=function(qi){Fs(qi),Xa("cell")},gs=function(qi){l(!0),bn(qi)},as=function(qi){if(Jt("panel"),!(ui&&oi!==mi)){var _s=ui?fn(Ce(),qi):[qi];Ke(_s),!Jn&&!zt&&Ot===oi&&Ba()}},zs=function(){l(!1)},ys=nt(ot,mt,Rt),Gs=g.useMemo(function(){var pa=(0,At.Z)(Je,!1),qi=(0,ze.Z)(Je,[].concat((0,Et.Z)(Object.keys(pa)),["onChange","onCalendarChange","style","className","onPanelChange"]));return(0,He.Z)((0,He.Z)({},qi),{},{multiple:Je.multiple})},[Je]),lo=g.createElement(wr,(0,T.Z)({},Gs,{showNow:Ca,showTime:Ai,disabledDate:Dr,onFocus:gs,onBlur:Hn,picker:mi,mode:er,internalMode:oi,onPanelChange:Ja,format:yn,value:Tt,isInvalid:Cn,onChange:null,onSelect:as,pickerValue:wa,defaultOpenValue:Ai==null?void 0:Ai.defaultOpenValue,onPickerValueChange:Ma,hoverValue:os,onHover:Ga,needConfirm:Jn,onSubmit:Ba,onOk:pt,presets:rs,onPresetHover:is,onPresetSubmit:Ss,onNow:Ts,cellRender:ys})),Lo=function(qi){Ke(qi)},vs=function(){Jt("input")},jo=function(qi){Jt("input"),l(!0,{inherit:!0}),bn(qi)},Vs=function(qi){l(!1),Hn(qi)},ro=function(qi,_s){qi.key==="Tab"&&Ba(),pr==null||pr(qi,_s)},io=g.useMemo(function(){return{prefixCls:zn,locale:Gr,generateConfig:Ni,button:Ge.button,input:Ge.input}},[zn,Gr,Ni,Ge.button,Ge.input]);return(0,St.Z)(function(){B&&qt!==void 0&&Ja(null,mi,!1)},[B,qt,mi]),(0,St.Z)(function(){var pa=Jt();!B&&pa==="input"&&(l(!1),Ba()),!B&&zt&&!Jn&&pa==="panel"&&Ba()},[B]),g.createElement(Re.Provider,{value:io},g.createElement(Me,(0,T.Z)({},Fe(Je),{popupElement:lo,popupStyle:Kn.popup,popupClassName:Gn.popup,visible:B,onClose:zs}),g.createElement(Wi,(0,T.Z)({},Je,{ref:Nt,suffixIcon:ha,removeIcon:ma,activeHelp:!!Wa,allHelp:!!Wa&&Ha==="preset",focused:Vt,onFocus:jo,onBlur:Vs,onKeyDown:ro,onSubmit:Ba,value:Ka,maskFormat:yn,onChange:Lo,onInputChange:vs,internalPicker:Ot,format:Yt,inputReadOnly:Yi,disabled:tr,open:B,onOpenChange:l,onClick:qa,onClear:ds,invalid:Di,onInvalid:function(qi){Qa(qi,0)}}))))}var Fa=g.forwardRef(Ia),Xr=Fa,ki=Xr,Ur=h(62487),un=h(75030),bi=h(82855),ir=h(48755),Oi=h(2171),wn=h(83397),Cr=h(31756),Jr=h(56553),hi=h(24971),Qi=h(9017),ss=h(70045),ar=h(57428),jr=h(36237),Ta=h(53075),xs=h(64910),mo=h(63356),xo=h(56119),fs=h(46e3),Os=h(93873),Ds=h(36305),Eo=h(16931),js=h(51636),Ns=h(26743);const qs=(S,te)=>{const{componentCls:Se,controlHeight:Ye}=S,Je=te?`${Se}-${te}`:"",Ot=(0,Ns.gp)(S);return[{[`${Se}-multiple${Je}`]:{paddingBlock:Ot.containerPadding,paddingInlineStart:Ot.basePadding,minHeight:Ye,[`${Se}-selection-item`]:{height:Ot.itemHeight,lineHeight:(0,jr.unit)(Ot.itemLineHeight)}}}]};var So=S=>{const{componentCls:te,calc:Se,lineWidth:Ye}=S,Je=(0,js.mergeToken)(S,{fontHeight:S.fontSize,selectHeight:S.controlHeightSM,multipleSelectItemHeight:S.multipleItemHeightSM,borderRadius:S.borderRadiusSM,borderRadiusSM:S.borderRadiusXS,controlHeight:S.controlHeightSM}),Ot=(0,js.mergeToken)(S,{fontHeight:Se(S.multipleItemHeightLG).sub(Se(Ye).mul(2).equal()).equal(),fontSize:S.fontSizeLG,selectHeight:S.controlHeightLG,multipleSelectItemHeight:S.multipleItemHeightLG,borderRadius:S.borderRadiusLG,borderRadiusSM:S.borderRadius,controlHeight:S.controlHeightLG});return[qs(Je,"small"),qs(S),qs(Ot,"large"),{[`${te}${te}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${te}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${te}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:S.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${S.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:S.colorTextPlaceholder,pointerEvents:"none"}}},(0,Ns._z)(S)),{[`${te}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},ws=h(17835);const co=S=>{const{pickerCellCls:te,pickerCellInnerCls:Se,cellHeight:Ye,borderRadiusSM:Je,motionDurationMid:Ot,cellHoverBg:zt,lineWidth:Yt,lineType:yn,colorPrimary:Cn,cellActiveWithRangeBg:tn,colorTextLightSolid:zn,colorTextDisabled:Kn,cellBgDisabled:Gn,colorFillSecondary:Bn}=S;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Ye,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[Se]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Ye,height:Ye,lineHeight:(0,jr.unit)(Ye),borderRadius:Je,transition:`background ${Ot}`},[`&:hover:not(${te}-in-view):not(${te}-disabled),
|
|
&:hover:not(${te}-selected):not(${te}-range-start):not(${te}-range-end):not(${te}-disabled)`]:{[Se]:{background:zt}},[`&-in-view${te}-today ${Se}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,jr.unit)(Yt)} ${yn} ${Cn}`,borderRadius:Je,content:'""'}},[`&-in-view${te}-in-range,
|
|
&-in-view${te}-range-start,
|
|
&-in-view${te}-range-end`]:{position:"relative",[`&:not(${te}-disabled):before`]:{background:tn}},[`&-in-view${te}-selected,
|
|
&-in-view${te}-range-start,
|
|
&-in-view${te}-range-end`]:{[`&:not(${te}-disabled) ${Se}`]:{color:zn,background:Cn},[`&${te}-disabled ${Se}`]:{background:Bn}},[`&-in-view${te}-range-start:not(${te}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${te}-range-end:not(${te}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${te}-range-start:not(${te}-range-end) ${Se}`]:{borderStartStartRadius:Je,borderEndStartRadius:Je,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${te}-range-end:not(${te}-range-start) ${Se}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Je,borderEndEndRadius:Je},"&-disabled":{color:Kn,cursor:"not-allowed",[Se]:{background:"transparent"},"&::before":{background:Gn}},[`&-disabled${te}-today ${Se}::before`]:{borderColor:Kn}}},Ps=S=>{const{componentCls:te,pickerCellCls:Se,pickerCellInnerCls:Ye,pickerYearMonthCellWidth:Je,pickerControlIconSize:Ot,cellWidth:zt,paddingSM:Yt,paddingXS:yn,paddingXXS:Cn,colorBgContainer:tn,lineWidth:zn,lineType:Kn,borderRadiusLG:Gn,colorPrimary:Bn,colorTextHeading:Vn,colorSplit:Qn,pickerControlIconBorderWidth:Jn,colorIcon:Ar,textHeight:pr,motionDurationMid:tr,colorIconHover:Dr,fontWeightStrong:mr,cellHeight:xr,pickerCellPaddingVertical:_i,colorTextDisabled:ni,colorText:li,fontSize:Gr,motionDurationSlow:Ni,withoutTimeCellHeight:mi,pickerQuarterPanelContentHeight:ai,borderRadiusSM:ri,colorTextLightSolid:Ai,cellHoverBg:Ti,timeColumnHeight:Ji,timeColumnWidth:$e,timeCellHeight:pi,controlItemBgActive:ui,marginXXS:Or,pickerDatePanelPaddingHorizontal:si,pickerControlIconMargin:qr}=S,Yi=S.calc(zt).mul(7).add(S.calc(si).mul(2)).equal();return{[te]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:tn,borderRadius:Gn,outline:"none","&-focused":{borderColor:Bn},"&-rtl":{[`${te}-prev-icon,
|
|
${te}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${te}-next-icon,
|
|
${te}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${te}-time-panel`]:{[`${te}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Yi},"&-header":{display:"flex",padding:`0 ${(0,jr.unit)(yn)}`,color:Vn,borderBottom:`${(0,jr.unit)(zn)} ${Kn} ${Qn}`,"> *":{flex:"none"},button:{padding:0,color:Ar,lineHeight:(0,jr.unit)(pr),background:"transparent",border:0,cursor:"pointer",transition:`color ${tr}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:Gr,"&:hover":{color:Dr},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:mr,lineHeight:(0,jr.unit)(pr),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:yn},"&:hover":{color:Bn}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:Ot,height:Ot,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:Ot,height:Ot,border:"0 solid currentcolor",borderBlockStartWidth:Jn,borderInlineStartWidth:Jn,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:qr,insetInlineStart:qr,display:"inline-block",width:Ot,height:Ot,border:"0 solid currentcolor",borderBlockStartWidth:Jn,borderInlineStartWidth:Jn,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:xr,fontWeight:"normal"},th:{height:S.calc(xr).add(S.calc(_i).mul(2)).equal(),color:li,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,jr.unit)(_i)} 0`,color:ni,cursor:"pointer","&-in-view":{color:li}},co(S)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${te}-content`]:{height:S.calc(mi).mul(4).equal()},[Ye]:{padding:`0 ${(0,jr.unit)(yn)}`}},"&-quarter-panel":{[`${te}-content`]:{height:ai}},"&-decade-panel":{[Ye]:{padding:`0 ${(0,jr.unit)(S.calc(yn).div(2).equal())}`},[`${te}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${te}-body`]:{padding:`0 ${(0,jr.unit)(yn)}`},[Ye]:{width:Je}},"&-date-panel":{[`${te}-body`]:{padding:`${(0,jr.unit)(yn)} ${(0,jr.unit)(si)}`},[`${te}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${te}-cell`]:{[`&:hover ${Ye},
|
|
&-selected ${Ye},
|
|
${Ye}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${tr}`},"&:first-child:before":{borderStartStartRadius:ri,borderEndStartRadius:ri},"&:last-child:before":{borderStartEndRadius:ri,borderEndEndRadius:ri}},"&:hover td:before":{background:Ti},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${Se}`]:{"&:before":{background:Bn},[`&${te}-cell-week`]:{color:new ws.FastColor(Ai).setA(.5).toHexString()},[Ye]:{color:Ai}}},"&-range-hover td:before":{background:ui}}},"&-week-panel, &-date-panel-show-week":{[`${te}-body`]:{padding:`${(0,jr.unit)(yn)} ${(0,jr.unit)(Yt)}`},[`${te}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${te}-time-panel`]:{borderInlineStart:`${(0,jr.unit)(zn)} ${Kn} ${Qn}`},[`${te}-date-panel,
|
|
${te}-time-panel`]:{transition:`opacity ${Ni}`},"&-active":{[`${te}-date-panel,
|
|
${te}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${te}-content`]:{display:"flex",flex:"auto",height:Ji},"&-column":{flex:"1 0 auto",width:$e,margin:`${(0,jr.unit)(Cn)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${tr}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:S.colorTextTertiary,borderRadius:S.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${S.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,jr.unit)(pi)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,jr.unit)(zn)} ${Kn} ${Qn}`},"&-active":{background:new ws.FastColor(ui).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${te}-time-panel-cell`]:{marginInline:Or,[`${te}-time-panel-cell-inner`]:{display:"block",width:S.calc($e).sub(S.calc(Or).mul(2)).equal(),height:pi,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:S.calc($e).sub(pi).div(2).equal(),color:li,lineHeight:(0,jr.unit)(pi),borderRadius:ri,cursor:"pointer",transition:`background ${tr}`,"&:hover":{background:Ti}},"&-selected":{[`${te}-time-panel-cell-inner`]:{background:ui}},"&-disabled":{[`${te}-time-panel-cell-inner`]:{color:ni,background:"transparent",cursor:"not-allowed"}}}}}}}}};var po=S=>{const{componentCls:te,textHeight:Se,lineWidth:Ye,paddingSM:Je,antCls:Ot,colorPrimary:zt,cellActiveWithRangeBg:Yt,colorPrimaryBorder:yn,lineType:Cn,colorSplit:tn}=S;return{[`${te}-dropdown`]:{[`${te}-footer`]:{borderTop:`${(0,jr.unit)(Ye)} ${Cn} ${tn}`,"&-extra":{padding:`0 ${(0,jr.unit)(Je)}`,lineHeight:(0,jr.unit)(S.calc(Se).sub(S.calc(Ye).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,jr.unit)(Ye)} ${Cn} ${tn}`}}},[`${te}-panels + ${te}-footer ${te}-ranges`]:{justifyContent:"space-between"},[`${te}-ranges`]:{marginBlock:0,paddingInline:(0,jr.unit)(Je),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,jr.unit)(S.calc(Se).sub(S.calc(Ye).mul(2)).equal()),display:"inline-block"},[`${te}-now-btn-disabled`]:{pointerEvents:"none",color:S.colorTextDisabled},[`${te}-preset > ${Ot}-tag-blue`]:{color:zt,background:Yt,borderColor:yn,cursor:"pointer"},[`${te}-ok`]:{paddingBlock:S.calc(Ye).mul(2).equal(),marginInlineStart:"auto"}}}}};const Co=S=>{const{componentCls:te,controlHeightLG:Se,paddingXXS:Ye,padding:Je}=S;return{pickerCellCls:`${te}-cell`,pickerCellInnerCls:`${te}-cell-inner`,pickerYearMonthCellWidth:S.calc(Se).mul(1.5).equal(),pickerQuarterPanelContentHeight:S.calc(Se).mul(1.4).equal(),pickerCellPaddingVertical:S.calc(Ye).add(S.calc(Ye).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:S.calc(Je).add(S.calc(Ye).div(2)).equal()}},Ao=S=>{const{colorBgContainerDisabled:te,controlHeight:Se,controlHeightSM:Ye,controlHeightLG:Je,paddingXXS:Ot,lineWidth:zt}=S,Yt=Ot*2,yn=zt*2,Cn=Math.min(Se-Yt,Se-yn),tn=Math.min(Ye-Yt,Ye-yn),zn=Math.min(Je-Yt,Je-yn);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Ot/2),cellHoverBg:S.controlItemBgHover,cellActiveWithRangeBg:S.controlItemBgActive,cellHoverWithRangeBg:new ws.FastColor(S.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new ws.FastColor(S.colorPrimary).lighten(20).toHexString(),cellBgDisabled:te,timeColumnWidth:Je*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Ye*1.5,cellHeight:Ye,textHeight:Je,withoutTimeCellHeight:Je*1.65,multipleItemBg:S.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:Cn,multipleItemHeightSM:tn,multipleItemHeightLG:zn,multipleSelectorBgDisabled:te,multipleItemColorDisabled:S.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},$s=S=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,xs.T)(S)),Ao(S)),(0,Ds.w)(S)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:S.zIndexPopupBase+50});var Is=h(39082),na=S=>{const{componentCls:te}=S;return{[te]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,Is.qG)(S)),(0,Is.vc)(S)),(0,Is.H8)(S)),(0,Is.Mu)(S)),{"&-outlined":{[`&${te}-multiple ${te}-selection-item`]:{background:S.multipleItemBg,border:`${(0,jr.unit)(S.lineWidth)} ${S.lineType} ${S.multipleItemBorderColor}`}},"&-filled":{[`&${te}-multiple ${te}-selection-item`]:{background:S.colorBgContainer,border:`${(0,jr.unit)(S.lineWidth)} ${S.lineType} ${S.colorSplit}`}},"&-borderless":{[`&${te}-multiple ${te}-selection-item`]:{background:S.multipleItemBg,border:`${(0,jr.unit)(S.lineWidth)} ${S.lineType} ${S.multipleItemBorderColor}`}},"&-underlined":{[`&${te}-multiple ${te}-selection-item`]:{background:S.multipleItemBg,border:`${(0,jr.unit)(S.lineWidth)} ${S.lineType} ${S.multipleItemBorderColor}`}}}]}};const hs=(S,te,Se,Ye)=>{const Je=S.calc(Se).add(2).equal(),Ot=S.max(S.calc(te).sub(Je).div(2).equal(),0),zt=S.max(S.calc(te).sub(Je).sub(Ot).equal(),0);return{padding:`${(0,jr.unit)(Ot)} ${(0,jr.unit)(Ye)} ${(0,jr.unit)(zt)}`}},Cs=S=>{const{componentCls:te,colorError:Se,colorWarning:Ye}=S;return{[`${te}:not(${te}-disabled):not([disabled])`]:{[`&${te}-status-error`]:{[`${te}-active-bar`]:{background:Se}},[`&${te}-status-warning`]:{[`${te}-active-bar`]:{background:Ye}}}}},za=S=>{const{componentCls:te,antCls:Se,controlHeight:Ye,paddingInline:Je,lineWidth:Ot,lineType:zt,colorBorder:Yt,borderRadius:yn,motionDurationMid:Cn,colorTextDisabled:tn,colorTextPlaceholder:zn,controlHeightLG:Kn,fontSizeLG:Gn,controlHeightSM:Bn,paddingInlineSM:Vn,paddingXS:Qn,marginXS:Jn,colorTextDescription:Ar,lineWidthBold:pr,colorPrimary:tr,motionDurationSlow:Dr,zIndexPopup:mr,paddingXXS:xr,sizePopupArrow:_i,colorBgElevated:ni,borderRadiusLG:li,boxShadowSecondary:Gr,borderRadiusSM:Ni,colorSplit:mi,cellHoverBg:ai,presetsWidth:ri,presetsMaxWidth:Ai,boxShadowPopoverArrow:Ti,fontHeight:Ji,fontHeightLG:$e,lineHeightLG:pi}=S;return[{[te]:Object.assign(Object.assign(Object.assign({},(0,mo.Wf)(S)),hs(S,Ye,Ji,Je)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:yn,transition:`border ${Cn}, box-shadow ${Cn}, background ${Cn}`,[`${te}-prefix`]:{flex:"0 0 auto",marginInlineEnd:S.inputAffixPadding},[`${te}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:S.fontSize,lineHeight:S.lineHeight,transition:`all ${Cn}`},(0,Ta.nz)(zn)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:tn,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:zn}}},"&-large":Object.assign(Object.assign({},hs(S,Kn,$e,Je)),{[`${te}-input > input`]:{fontSize:Gn,lineHeight:pi}}),"&-small":Object.assign({},hs(S,Bn,Ji,Vn)),[`${te}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:S.calc(Qn).div(2).equal(),color:tn,lineHeight:1,pointerEvents:"none",transition:`opacity ${Cn}, color ${Cn}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:Jn}}},[`${te}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:tn,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${Cn}, color ${Cn}`,"> *":{verticalAlign:"top"},"&:hover":{color:Ar}},"&:hover":{[`${te}-clear`]:{opacity:1},[`${te}-suffix:not(:last-child)`]:{opacity:0}},[`${te}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Gn,color:tn,fontSize:Gn,verticalAlign:"top",cursor:"default",[`${te}-focused &`]:{color:Ar},[`${te}-range-separator &`]:{[`${te}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${te}-active-bar`]:{bottom:S.calc(Ot).mul(-1).equal(),height:pr,background:tr,opacity:0,transition:`all ${Dr} ease-out`,pointerEvents:"none"},[`&${te}-focused`]:{[`${te}-active-bar`]:{opacity:1}},[`${te}-range-separator`]:{alignItems:"center",padding:`0 ${(0,jr.unit)(Qn)}`,lineHeight:1}},"&-range, &-multiple":{[`${te}-clear`]:{insetInlineEnd:Je},[`&${te}-small`]:{[`${te}-clear`]:{insetInlineEnd:Vn}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,mo.Wf)(S)),Ps(S)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:mr,[`&${te}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${te}-dropdown-placement-bottomLeft,
|
|
&${te}-dropdown-placement-bottomRight`]:{[`${te}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${te}-dropdown-placement-topLeft,
|
|
&${te}-dropdown-placement-topRight`]:{[`${te}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Se}-slide-up-appear, &${Se}-slide-up-enter`]:{[`${te}-range-arrow${te}-range-arrow`]:{transition:"none"}},[`&${Se}-slide-up-enter${Se}-slide-up-enter-active${te}-dropdown-placement-topLeft,
|
|
&${Se}-slide-up-enter${Se}-slide-up-enter-active${te}-dropdown-placement-topRight,
|
|
&${Se}-slide-up-appear${Se}-slide-up-appear-active${te}-dropdown-placement-topLeft,
|
|
&${Se}-slide-up-appear${Se}-slide-up-appear-active${te}-dropdown-placement-topRight`]:{animationName:fs.Qt},[`&${Se}-slide-up-enter${Se}-slide-up-enter-active${te}-dropdown-placement-bottomLeft,
|
|
&${Se}-slide-up-enter${Se}-slide-up-enter-active${te}-dropdown-placement-bottomRight,
|
|
&${Se}-slide-up-appear${Se}-slide-up-appear-active${te}-dropdown-placement-bottomLeft,
|
|
&${Se}-slide-up-appear${Se}-slide-up-appear-active${te}-dropdown-placement-bottomRight`]:{animationName:fs.fJ},[`&${Se}-slide-up-leave ${te}-panel-container`]:{pointerEvents:"none"},[`&${Se}-slide-up-leave${Se}-slide-up-leave-active${te}-dropdown-placement-topLeft,
|
|
&${Se}-slide-up-leave${Se}-slide-up-leave-active${te}-dropdown-placement-topRight`]:{animationName:fs.ly},[`&${Se}-slide-up-leave${Se}-slide-up-leave-active${te}-dropdown-placement-bottomLeft,
|
|
&${Se}-slide-up-leave${Se}-slide-up-leave-active${te}-dropdown-placement-bottomRight`]:{animationName:fs.Uw},[`${te}-panel > ${te}-time-panel`]:{paddingTop:xr},[`${te}-range-wrapper`]:{display:"flex",position:"relative"},[`${te}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:S.calc(Je).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Dr} ease-out`},(0,Ds.W)(S,ni,Ti)),{"&:before":{insetInlineStart:S.calc(Je).mul(1.5).equal()}}),[`${te}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:ni,borderRadius:li,boxShadow:Gr,transition:`margin ${Dr}`,display:"inline-block",pointerEvents:"auto",[`${te}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${te}-presets`]:{display:"flex",flexDirection:"column",minWidth:ri,maxWidth:Ai,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:Qn,borderInlineEnd:`${(0,jr.unit)(Ot)} ${zt} ${mi}`,li:Object.assign(Object.assign({},mo.vS),{borderRadius:Ni,paddingInline:Qn,paddingBlock:S.calc(Bn).sub(Ji).div(2).equal(),cursor:"pointer",transition:`all ${Dr}`,"+ li":{marginTop:Jn},"&:hover":{background:ai}})}},[`${te}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${te}-panel`]:{borderWidth:0}}},[`${te}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${te}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:Yt}}}}),"&-dropdown-range":{padding:`${(0,jr.unit)(S.calc(_i).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${te}-separator`]:{transform:"scale(-1, 1)"},[`${te}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,fs.oN)(S,"slide-up"),(0,fs.oN)(S,"slide-down"),(0,Os.Fm)(S,"move-up"),(0,Os.Fm)(S,"move-down")]};var cs=(0,Eo.I$)("DatePicker",S=>{const te=(0,js.mergeToken)((0,xs.e)(S),Co(S),{inputPaddingHorizontalBase:S.calc(S.paddingSM).sub(1).equal(),multipleSelectItemHeight:S.multipleItemHeight,selectHeight:S.controlHeight});return[po(te),za(te),na(te),Cs(te),So(te),(0,xo.c)(S,{focusElCls:`${S.componentCls}-focused`})]},$s),Ls=h(68525);function Es(S,te,Se){return Se!==void 0?Se:te==="year"&&S.lang.yearPlaceholder?S.lang.yearPlaceholder:te==="quarter"&&S.lang.quarterPlaceholder?S.lang.quarterPlaceholder:te==="month"&&S.lang.monthPlaceholder?S.lang.monthPlaceholder:te==="week"&&S.lang.weekPlaceholder?S.lang.weekPlaceholder:te==="time"&&S.timePickerLocale.placeholder?S.timePickerLocale.placeholder:S.lang.placeholder}function Zs(S,te,Se){return Se!==void 0?Se:te==="year"&&S.lang.yearPlaceholder?S.lang.rangeYearPlaceholder:te==="quarter"&&S.lang.quarterPlaceholder?S.lang.rangeQuarterPlaceholder:te==="month"&&S.lang.monthPlaceholder?S.lang.rangeMonthPlaceholder:te==="week"&&S.lang.weekPlaceholder?S.lang.rangeWeekPlaceholder:te==="time"&&S.timePickerLocale.placeholder?S.timePickerLocale.rangePlaceholder:S.lang.rangePlaceholder}function Wr(S,te){const{allowClear:Se=!0}=S,{clearIcon:Ye,removeIcon:Je}=(0,Ls.Z)(Object.assign(Object.assign({},S),{prefixCls:te,componentName:"DatePicker"}));return[g.useMemo(()=>Se===!1?!1:Object.assign({clearIcon:Ye},Se===!0?{}:Se),[Se,Ye]),Je]}const[Qs,fr]=["week","WeekPicker"],[eo,Us]=["month","MonthPicker"],[Do,Na]=["year","YearPicker"],[Ua,Za]=["quarter","QuarterPicker"],[As,ls]=["time","TimePicker"];var to=h(7939),no=S=>g.createElement(to.ZP,Object.assign({size:"small",type:"primary"},S));function To(S){return(0,g.useMemo)(()=>Object.assign({button:no},S),[S])}var oo=function(S,te){var Se={};for(var Ye in S)Object.prototype.hasOwnProperty.call(S,Ye)&&te.indexOf(Ye)<0&&(Se[Ye]=S[Ye]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Ye=Object.getOwnPropertySymbols(S);Je<Ye.length;Je++)te.indexOf(Ye[Je])<0&&Object.prototype.propertyIsEnumerable.call(S,Ye[Je])&&(Se[Ye[Je]]=S[Ye[Je]]);return Se},Po=S=>(0,g.forwardRef)((Se,Ye)=>{var Je;const{prefixCls:Ot,getPopupContainer:zt,components:Yt,className:yn,style:Cn,placement:tn,size:zn,disabled:Kn,bordered:Gn=!0,placeholder:Bn,popupClassName:Vn,dropdownClassName:Qn,status:Jn,rootClassName:Ar,variant:pr,picker:tr}=Se,Dr=oo(Se,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),mr=g.useRef(null),{getPrefixCls:xr,direction:_i,getPopupContainer:ni,rangePicker:li}=(0,g.useContext)(ir.E_),Gr=xr("picker",Ot),{compactSize:Ni,compactItemClassnames:mi}=(0,ss.ri)(Gr,_i),ai=xr(),[ri,Ai]=(0,hi.Z)("rangePicker",pr,Gn),Ti=(0,wn.Z)(Gr),[Ji,$e,pi]=cs(Gr,Ti),[ui]=Wr(Se,Gr),Or=To(Yt),si=(0,Cr.Z)(Rt=>{var Ct;return(Ct=zn!=null?zn:Ni)!==null&&Ct!==void 0?Ct:Rt}),qr=g.useContext(Oi.Z),Yi=Kn!=null?Kn:qr,ha=(0,g.useContext)(Jr.aM),{hasFeedback:ma,status:J,feedbackIcon:V}=ha,De=g.createElement(g.Fragment,null,tr===As?g.createElement(ve,null):g.createElement(Le,null),ma&&V);(0,g.useImperativeHandle)(Ye,()=>mr.current);const[Ge]=(0,Qi.Z)("Calendar",ar.Z),ot=Object.assign(Object.assign({},Ge),Se.locale),[mt]=(0,un.Cn)("DatePicker",(Je=Se.popupStyle)===null||Je===void 0?void 0:Je.zIndex);return Ji(g.createElement(Ur.Z,{space:!0},g.createElement(Vi,Object.assign({separator:g.createElement("span",{"aria-label":"to",className:`${Gr}-separator`},g.createElement(he,null)),disabled:Yi,ref:mr,placement:tn,placeholder:Zs(ot,tr,Bn),suffixIcon:De,prevIcon:g.createElement("span",{className:`${Gr}-prev-icon`}),nextIcon:g.createElement("span",{className:`${Gr}-next-icon`}),superPrevIcon:g.createElement("span",{className:`${Gr}-super-prev-icon`}),superNextIcon:g.createElement("span",{className:`${Gr}-super-next-icon`}),transitionName:`${ai}-slide-up`,picker:tr},Dr,{className:Qe()({[`${Gr}-${si}`]:si,[`${Gr}-${ri}`]:Ai},(0,bi.Z)(Gr,(0,bi.F)(J,Jn),ma),$e,mi,yn,li==null?void 0:li.className,pi,Ti,Ar),style:Object.assign(Object.assign({},li==null?void 0:li.style),Cn),locale:ot.lang,prefixCls:Gr,getPopupContainer:zt||ni,generateConfig:S,components:Or,direction:_i,classNames:{popup:Qe()($e,Vn||Qn,pi,Ti,Ar)},styles:{popup:Object.assign(Object.assign({},Se.popupStyle),{zIndex:mt})},allowClear:ui}))))}),vo=function(S,te){var Se={};for(var Ye in S)Object.prototype.hasOwnProperty.call(S,Ye)&&te.indexOf(Ye)<0&&(Se[Ye]=S[Ye]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Je=0,Ye=Object.getOwnPropertySymbols(S);Je<Ye.length;Je++)te.indexOf(Ye[Je])<0&&Object.prototype.propertyIsEnumerable.call(S,Ye[Je])&&(Se[Ye[Je]]=S[Ye[Je]]);return Se},Bs=S=>{const te=(yn,Cn)=>{const tn=Cn===ls?"timePicker":"datePicker";return(0,g.forwardRef)((Kn,Gn)=>{var Bn;const{prefixCls:Vn,getPopupContainer:Qn,components:Jn,style:Ar,className:pr,rootClassName:tr,size:Dr,bordered:mr,placement:xr,placeholder:_i,popupClassName:ni,dropdownClassName:li,disabled:Gr,status:Ni,variant:mi,onCalendarChange:ai}=Kn,ri=vo(Kn,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:Ai,direction:Ti,getPopupContainer:Ji,[tn]:$e}=(0,g.useContext)(ir.E_),pi=Ai("picker",Vn),{compactSize:ui,compactItemClassnames:Or}=(0,ss.ri)(pi,Ti),si=g.useRef(null),[qr,Yi]=(0,hi.Z)("datePicker",mi,mr),ha=(0,wn.Z)(pi),[ma,J,V]=cs(pi,ha);(0,g.useImperativeHandle)(Gn,()=>si.current);const De={showToday:!0},Ge=yn||Kn.picker,ot=Ai(),{onSelect:mt,multiple:Rt}=ri,Ct=mt&&yn==="time"&&!Rt,Nt=(pt,Tt,Qt)=>{ai==null||ai(pt,Tt,Qt),Ct&&mt(pt)},[Ut,fn]=Wr(Kn,pi),sn=To(Jn),rn=(0,Cr.Z)(pt=>{var Tt;return(Tt=Dr!=null?Dr:ui)!==null&&Tt!==void 0?Tt:pt}),B=g.useContext(Oi.Z),l=Gr!=null?Gr:B,d=(0,g.useContext)(Jr.aM),{hasFeedback:f,status:b,feedbackIcon:R}=d,H=g.createElement(g.Fragment,null,Ge==="time"?g.createElement(ve,null):g.createElement(Le,null),f&&R),[ge]=(0,Qi.Z)("DatePicker",ar.Z),Ce=Object.assign(Object.assign({},ge),Kn.locale),[Ke]=(0,un.Cn)("DatePicker",(Bn=Kn.popupStyle)===null||Bn===void 0?void 0:Bn.zIndex);return ma(g.createElement(Ur.Z,{space:!0},g.createElement(ki,Object.assign({ref:si,placeholder:Es(Ce,Ge,_i),suffixIcon:H,placement:xr,prevIcon:g.createElement("span",{className:`${pi}-prev-icon`}),nextIcon:g.createElement("span",{className:`${pi}-next-icon`}),superPrevIcon:g.createElement("span",{className:`${pi}-super-prev-icon`}),superNextIcon:g.createElement("span",{className:`${pi}-super-next-icon`}),transitionName:`${ot}-slide-up`,picker:yn,onCalendarChange:Nt},De,ri,{locale:Ce.lang,className:Qe()({[`${pi}-${rn}`]:rn,[`${pi}-${qr}`]:Yi},(0,bi.Z)(pi,(0,bi.F)(b,Ni),f),J,Or,$e==null?void 0:$e.className,pr,V,ha,tr),style:Object.assign(Object.assign({},$e==null?void 0:$e.style),Ar),prefixCls:pi,getPopupContainer:Qn||Ji,generateConfig:S,components:sn,direction:Ti,disabled:l,classNames:{popup:Qe()(J,V,ha,tr,ni||li)},styles:{popup:Object.assign(Object.assign({},Kn.popupStyle),{zIndex:Ke})},allowClear:Ut,removeIcon:fn}))))})},Se=te(),Ye=te(Qs,fr),Je=te(eo,Us),Ot=te(Do,Na),zt=te(Ua,Za),Yt=te(As,ls);return{DatePicker:Se,WeekPicker:Ye,MonthPicker:Je,YearPicker:Ot,TimePicker:Yt,QuarterPicker:zt}},Ho=S=>{const{DatePicker:te,WeekPicker:Se,MonthPicker:Ye,YearPicker:Je,TimePicker:Ot,QuarterPicker:zt}=Bs(S),Yt=Po(S),yn=te;return yn.WeekPicker=Se,yn.MonthPicker=Ye,yn.YearPicker=Je,yn.RangePicker=Yt,yn.TimePicker=Ot,yn.QuarterPicker=zt,yn};const qn=Ho(P),Bo=(0,K.Z)(qn,"popupAlign",void 0,"picker");qn._InternalPanelDoNotUseOrYouWillBeFired=Bo;const ti=(0,K.Z)(qn.RangePicker,"popupAlign",void 0,"picker");qn._InternalRangePanelDoNotUseOrYouWillBeFired=ti,qn.generatePicker=Ho;var ps=qn},19563:function(On,at,h){"use strict";h.d(at,{Z:function(){return Et}});var c=h(59301),ie=h(33853),O=h(38819),le=h(92310),j=h.n(le),v=h(96478),re=h(6089),ee=h(18929),o=h(2738),C=h(75030),x=He=>typeof He!="object"&&typeof He!="function"||He===null,A=h(52838),L=h(45915),z=h(22703),G=h(32383),Z=h(55743),W=h(48755),P=h(83397),K=h(93041),g=h(78857),T=h(57700),fe=h(36237),Ee=h(63356),pe=h(46e3),Be=h(93873),je=h(34925),Le=h(37645),it=h(36305),ce=h(16931),Y=h(51636),ve=He=>{const{componentCls:Oe,menuCls:lt,colorError:St,colorTextLightSolid:ze}=He,At=`${lt}-item`;return{[`${Oe}, ${Oe}-menu-submenu`]:{[`${lt} ${At}`]:{[`&${At}-danger:not(${At}-disabled)`]:{color:St,"&:hover":{color:ze,backgroundColor:St}}}}}};const ue=He=>{const{componentCls:Oe,menuCls:lt,zIndexPopup:St,dropdownArrowDistance:ze,sizePopupArrow:At,antCls:ke,iconCls:Ht,motionDurationMid:dt,paddingBlock:ct,fontSize:Xe,dropdownEdgeChildPadding:Re,colorTextDisabled:oe,fontSizeIcon:qe,controlPaddingHorizontal:Me,colorBgElevated:U}=He;return[{[Oe]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:St,display:"block","&::before":{position:"absolute",insetBlock:He.calc(At).div(2).sub(ze).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${ke}-btn`]:{[`& > ${Ht}-down, & > ${ke}-btn-icon > ${Ht}-down`]:{fontSize:qe}},[`${Oe}-wrap`]:{position:"relative",[`${ke}-btn > ${Ht}-down`]:{fontSize:qe},[`${Ht}-down::before`]:{transition:`transform ${dt}`}},[`${Oe}-wrap-open`]:{[`${Ht}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ke}-slide-down-enter${ke}-slide-down-enter-active${Oe}-placement-bottomLeft,
|
|
&${ke}-slide-down-appear${ke}-slide-down-appear-active${Oe}-placement-bottomLeft,
|
|
&${ke}-slide-down-enter${ke}-slide-down-enter-active${Oe}-placement-bottom,
|
|
&${ke}-slide-down-appear${ke}-slide-down-appear-active${Oe}-placement-bottom,
|
|
&${ke}-slide-down-enter${ke}-slide-down-enter-active${Oe}-placement-bottomRight,
|
|
&${ke}-slide-down-appear${ke}-slide-down-appear-active${Oe}-placement-bottomRight`]:{animationName:pe.fJ},[`&${ke}-slide-up-enter${ke}-slide-up-enter-active${Oe}-placement-topLeft,
|
|
&${ke}-slide-up-appear${ke}-slide-up-appear-active${Oe}-placement-topLeft,
|
|
&${ke}-slide-up-enter${ke}-slide-up-enter-active${Oe}-placement-top,
|
|
&${ke}-slide-up-appear${ke}-slide-up-appear-active${Oe}-placement-top,
|
|
&${ke}-slide-up-enter${ke}-slide-up-enter-active${Oe}-placement-topRight,
|
|
&${ke}-slide-up-appear${ke}-slide-up-appear-active${Oe}-placement-topRight`]:{animationName:pe.Qt},[`&${ke}-slide-down-leave${ke}-slide-down-leave-active${Oe}-placement-bottomLeft,
|
|
&${ke}-slide-down-leave${ke}-slide-down-leave-active${Oe}-placement-bottom,
|
|
&${ke}-slide-down-leave${ke}-slide-down-leave-active${Oe}-placement-bottomRight`]:{animationName:pe.Uw},[`&${ke}-slide-up-leave${ke}-slide-up-leave-active${Oe}-placement-topLeft,
|
|
&${ke}-slide-up-leave${ke}-slide-up-leave-active${Oe}-placement-top,
|
|
&${ke}-slide-up-leave${ke}-slide-up-leave-active${Oe}-placement-topRight`]:{animationName:pe.ly}}},(0,Le.ZP)(He,U,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Oe} ${lt}`]:{position:"relative",margin:0},[`${lt}-submenu-popup`]:{position:"absolute",zIndex:St,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Oe}, ${Oe}-menu-submenu`]:Object.assign(Object.assign({},(0,Ee.Wf)(He)),{[lt]:Object.assign(Object.assign({padding:Re,listStyleType:"none",backgroundColor:U,backgroundClip:"padding-box",borderRadius:He.borderRadiusLG,outline:"none",boxShadow:He.boxShadowSecondary},(0,Ee.Qy)(He)),{"&:empty":{padding:0,boxShadow:"none"},[`${lt}-item-group-title`]:{padding:`${(0,fe.unit)(ct)} ${(0,fe.unit)(Me)}`,color:He.colorTextDescription,transition:`all ${dt}`},[`${lt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${lt}-item-icon`]:{minWidth:Xe,marginInlineEnd:He.marginXS,fontSize:He.fontSizeSM},[`${lt}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${dt}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${lt}-item-extra`]:{paddingInlineStart:He.padding,marginInlineStart:"auto",fontSize:He.fontSizeSM,color:He.colorTextDescription}},[`${lt}-item, ${lt}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,fe.unit)(ct)} ${(0,fe.unit)(Me)}`,color:He.colorText,fontWeight:"normal",fontSize:Xe,lineHeight:He.lineHeight,cursor:"pointer",transition:`all ${dt}`,borderRadius:He.borderRadiusSM,"&:hover, &-active":{backgroundColor:He.controlItemBgHover}},(0,Ee.Qy)(He)),{"&-selected":{color:He.colorPrimary,backgroundColor:He.controlItemBgActive,"&:hover, &-active":{backgroundColor:He.controlItemBgActiveHover}},"&-disabled":{color:oe,cursor:"not-allowed","&:hover":{color:oe,backgroundColor:U,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,fe.unit)(He.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:He.colorSplit},[`${Oe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:He.paddingXS,[`${Oe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:He.colorTextDescription,fontSize:qe,fontStyle:"normal"}}}),[`${lt}-item-group-list`]:{margin:`0 ${(0,fe.unit)(He.marginXS)}`,padding:0,listStyle:"none"},[`${lt}-submenu-title`]:{paddingInlineEnd:He.calc(Me).add(He.fontSizeSM).equal()},[`${lt}-submenu-vertical`]:{position:"relative"},[`${lt}-submenu${lt}-submenu-disabled ${Oe}-menu-submenu-title`]:{[`&, ${Oe}-menu-submenu-arrow-icon`]:{color:oe,backgroundColor:U,cursor:"not-allowed"}},[`${lt}-submenu-selected ${Oe}-menu-submenu-title`]:{color:He.colorPrimary}})})},[(0,pe.oN)(He,"slide-up"),(0,pe.oN)(He,"slide-down"),(0,Be.Fm)(He,"move-up"),(0,Be.Fm)(He,"move-down"),(0,je._y)(He,"zoom-big")]]},we=He=>Object.assign(Object.assign({zIndexPopup:He.zIndexPopupBase+50,paddingBlock:(He.controlHeight-He.fontSize*He.lineHeight)/2},(0,Le.wZ)({contentRadius:He.borderRadiusLG,limitVerticalRadius:!0})),(0,it.w)(He));var _=(0,ce.I$)("Dropdown",He=>{const{marginXXS:Oe,sizePopupArrow:lt,paddingXXS:St,componentCls:ze}=He,At=(0,Y.mergeToken)(He,{menuCls:`${ze}-menu`,dropdownArrowDistance:He.calc(lt).div(2).add(Oe).equal(),dropdownEdgeChildPadding:St});return[ue(At),ve(At)]},we,{resetStyle:!1});const I=null,he=He=>{var Oe;const{menu:lt,arrow:St,prefixCls:ze,children:At,trigger:ke,disabled:Ht,dropdownRender:dt,getPopupContainer:ct,overlayClassName:Xe,rootClassName:Re,overlayStyle:oe,open:qe,onOpenChange:Me,visible:U,onVisibleChange:M,mouseEnterDelay:ye=.15,mouseLeaveDelay:Te=.1,autoAdjustOverflow:xe=!0,placement:ae="",overlay:Fe,transitionName:nt}=He,{getPopupContainer:se,getPrefixCls:me,direction:vt,dropdown:ft}=c.useContext(W.E_),xt=(0,G.ln)("Dropdown"),gt=c.useMemo(()=>{const bt=me();return nt!==void 0?nt:ae.includes("top")?`${bt}-slide-down`:`${bt}-slide-up`},[me,ae,nt]),tt=c.useMemo(()=>ae?ae.includes("Center")?ae.slice(0,ae.indexOf("Center")):ae:vt==="rtl"?"bottomRight":"bottomLeft",[ae,vt]),Pt=me("dropdown",ze),_t=(0,P.Z)(Pt),[Ae,et,E]=_(Pt,_t),[,D]=(0,T.ZP)(),Ve=c.Children.only(x(At)?c.createElement("span",null,At):At),ne=(0,z.Tm)(Ve,{className:j()(`${Pt}-trigger`,{[`${Pt}-rtl`]:vt==="rtl"},Ve.props.className),disabled:(Oe=Ve.props.disabled)!==null&&Oe!==void 0?Oe:Ht}),q=Ht?[]:ke,jt=!!(q!=null&&q.includes("contextMenu")),[Ue,st]=(0,ee.Z)(!1,{value:qe!=null?qe:U}),ht=(0,re.Z)(bt=>{Me==null||Me(bt,{source:"trigger"}),M==null||M(bt),st(bt)}),de=j()(Xe,Re,et,E,_t,ft==null?void 0:ft.className,{[`${Pt}-rtl`]:vt==="rtl"}),be=(0,A.Z)({arrowPointAtCenter:typeof St=="object"&&St.pointAtCenter,autoAdjustOverflow:xe,offset:D.marginXXS,arrowWidth:St?D.sizePopupArrow:0,borderRadius:D.borderRadius}),We=c.useCallback(()=>{lt!=null&<.selectable&&(lt!=null&<.multiple)||(Me==null||Me(!1,{source:"menu"}),st(!1))},[lt==null?void 0:lt.selectable,lt==null?void 0:lt.multiple]),Ze=()=>{let bt;return lt!=null&<.items?bt=c.createElement(K.default,Object.assign({},lt)):typeof Fe=="function"?bt=Fe():bt=Fe,dt&&(bt=dt(bt)),bt=c.Children.only(typeof bt=="string"?c.createElement("span",null,bt):bt),c.createElement(g.J,{prefixCls:`${Pt}-menu`,rootClassName:j()(E,_t),expandIcon:c.createElement("span",{className:`${Pt}-menu-submenu-arrow`},vt==="rtl"?c.createElement(ie.Z,{className:`${Pt}-menu-submenu-arrow-icon`}):c.createElement(O.Z,{className:`${Pt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:We,validator:An=>{let{mode:xn}=An}},bt)},[Q,Mt]=(0,C.Cn)("Dropdown",oe==null?void 0:oe.zIndex);let _e=c.createElement(v.Z,Object.assign({alignPoint:jt},(0,o.Z)(He,["rootClassName"]),{mouseEnterDelay:ye,mouseLeaveDelay:Te,visible:Ue,builtinPlacements:be,arrow:!!St,overlayClassName:de,prefixCls:Pt,getPopupContainer:ct||se,transitionName:gt,trigger:q,overlay:Ze,placement:tt,onVisibleChange:ht,overlayStyle:Object.assign(Object.assign(Object.assign({},ft==null?void 0:ft.style),oe),{zIndex:Q})}),ne);return Q&&(_e=c.createElement(Z.Z.Provider,{value:Mt},_e)),Ae(_e)},Ne=(0,L.Z)(he,"align",void 0,"dropdown",He=>He),Qe=He=>c.createElement(Ne,Object.assign({},He),c.createElement("span",null));he._InternalPanelDoNotUseOrYouWillBeFired=Qe;var Et=he},75727:function(On,at,h){"use strict";h.d(at,{Z:function(){return L}});var c=h(19563),ie=h(59301),O=h(18785),le=h(92310),j=h.n(le),v=h(7939),re=h(48755),ee=h(44104),o=h(70045),C=function(z,G){var Z={};for(var W in z)Object.prototype.hasOwnProperty.call(z,W)&&G.indexOf(W)<0&&(Z[W]=z[W]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,W=Object.getOwnPropertySymbols(z);P<W.length;P++)G.indexOf(W[P])<0&&Object.prototype.propertyIsEnumerable.call(z,W[P])&&(Z[W[P]]=z[W[P]]);return Z};const F=z=>{const{getPopupContainer:G,getPrefixCls:Z,direction:W}=ie.useContext(re.E_),{prefixCls:P,type:K="default",danger:g,disabled:T,loading:fe,onClick:Ee,htmlType:pe,children:Be,className:je,menu:Le,arrow:it,autoFocus:ce,overlay:Y,trigger:N,align:ve,open:ue,onOpenChange:we,placement:_,getPopupContainer:I,href:he,icon:Ne=ie.createElement(O.Z,null),title:Qe,buttonsRender:Et=ye=>ye,mouseEnterDelay:He,mouseLeaveDelay:Oe,overlayClassName:lt,overlayStyle:St,destroyPopupOnHide:ze,dropdownRender:At}=z,ke=C(z,["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"]),Ht=Z("dropdown",P),dt=`${Ht}-button`,ct={menu:Le,arrow:it,autoFocus:ce,align:ve,disabled:T,trigger:T?[]:N,onOpenChange:we,getPopupContainer:I||G,mouseEnterDelay:He,mouseLeaveDelay:Oe,overlayClassName:lt,overlayStyle:St,destroyPopupOnHide:ze,dropdownRender:At},{compactSize:Xe,compactItemClassnames:Re}=(0,o.ri)(Ht,W),oe=j()(dt,Re,je);"overlay"in z&&(ct.overlay=Y),"open"in z&&(ct.open=ue),"placement"in z?ct.placement=_:ct.placement=W==="rtl"?"bottomLeft":"bottomRight";const qe=ie.createElement(v.ZP,{type:K,danger:g,disabled:T,loading:fe,onClick:Ee,htmlType:pe,href:he,title:Qe},Be),Me=ie.createElement(v.ZP,{type:K,danger:g,icon:Ne}),[U,M]=Et([qe,Me]);return ie.createElement(ee.Z.Compact,Object.assign({className:oe,size:Xe,block:!0},ke),U,ie.createElement(c.Z,Object.assign({},ct),M))};F.__ANT_BUTTON=!0;var x=F;const A=c.Z;A.Button=x;var L=A},584:function(On,at,h){"use strict";h.d(at,{Z:function(){return K}});var c=h(59301),ie=h(92310),O=h.n(ie),le=h(9017),j=h(17835),v=h(57700),ee=()=>{const[,g]=(0,v.ZP)(),[T]=(0,le.Z)("Empty"),Ee=new j.FastColor(g.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return c.createElement("svg",{style:Ee,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},c.createElement("title",null,(T==null?void 0:T.description)||"Empty"),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(24 31.67)"},c.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),c.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"}),c.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)"}),c.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"}),c.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"})),c.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"}),c.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},c.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),c.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},C=()=>{const[,g]=(0,v.ZP)(),[T]=(0,le.Z)("Empty"),{colorFill:fe,colorFillTertiary:Ee,colorFillQuaternary:pe,colorBgContainer:Be}=g,{borderColor:je,shadowColor:Le,contentColor:it}=(0,c.useMemo)(()=>({borderColor:new j.FastColor(fe).onBackground(Be).toHexString(),shadowColor:new j.FastColor(Ee).onBackground(Be).toHexString(),contentColor:new j.FastColor(pe).onBackground(Be).toHexString()}),[fe,Ee,pe,Be]);return c.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},c.createElement("title",null,(T==null?void 0:T.description)||"Empty"),c.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},c.createElement("ellipse",{fill:Le,cx:"32",cy:"33",rx:"32",ry:"7"}),c.createElement("g",{fillRule:"nonzero",stroke:je},c.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"}),c.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:it}))))},F=h(16931),x=h(51636);const A=g=>{const{componentCls:T,margin:fe,marginXS:Ee,marginXL:pe,fontSize:Be,lineHeight:je}=g;return{[T]:{marginInline:Ee,fontSize:Be,lineHeight:je,textAlign:"center",[`${T}-image`]:{height:g.emptyImgHeight,marginBottom:Ee,opacity:g.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${T}-description`]:{color:g.colorTextDescription},[`${T}-footer`]:{marginTop:fe},"&-normal":{marginBlock:pe,color:g.colorTextDescription,[`${T}-description`]:{color:g.colorTextDescription},[`${T}-image`]:{height:g.emptyImgHeightMD}},"&-small":{marginBlock:Ee,color:g.colorTextDescription,[`${T}-image`]:{height:g.emptyImgHeightSM}}}}};var L=(0,F.I$)("Empty",g=>{const{componentCls:T,controlHeightLG:fe,calc:Ee}=g,pe=(0,x.mergeToken)(g,{emptyImgCls:`${T}-img`,emptyImgHeight:Ee(fe).mul(2.5).equal(),emptyImgHeightMD:fe,emptyImgHeightSM:Ee(fe).mul(.875).equal()});return[A(pe)]}),z=h(48755),G=function(g,T){var fe={};for(var Ee in g)Object.prototype.hasOwnProperty.call(g,Ee)&&T.indexOf(Ee)<0&&(fe[Ee]=g[Ee]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ee=Object.getOwnPropertySymbols(g);pe<Ee.length;pe++)T.indexOf(Ee[pe])<0&&Object.prototype.propertyIsEnumerable.call(g,Ee[pe])&&(fe[Ee[pe]]=g[Ee[pe]]);return fe};const Z=c.createElement(ee,null),W=c.createElement(C,null),P=g=>{const{className:T,rootClassName:fe,prefixCls:Ee,image:pe=Z,description:Be,children:je,imageStyle:Le,style:it,classNames:ce,styles:Y}=g,N=G(g,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:ve,direction:ue,className:we,style:_,classNames:I,styles:he}=(0,z.dj)("empty"),Ne=ve("empty",Ee),[Qe,Et,He]=L(Ne),[Oe]=(0,le.Z)("Empty"),lt=typeof Be!="undefined"?Be:Oe==null?void 0:Oe.description,St=typeof lt=="string"?lt:"empty";let ze=null;return typeof pe=="string"?ze=c.createElement("img",{alt:St,src:pe}):ze=pe,Qe(c.createElement("div",Object.assign({className:O()(Et,He,Ne,we,{[`${Ne}-normal`]:pe===W,[`${Ne}-rtl`]:ue==="rtl"},T,fe,I.root,ce==null?void 0:ce.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},he.root),_),Y==null?void 0:Y.root),it)},N),c.createElement("div",{className:O()(`${Ne}-image`,I.image,ce==null?void 0:ce.image),style:Object.assign(Object.assign(Object.assign({},Le),he.image),Y==null?void 0:Y.image)},ze),lt&&c.createElement("div",{className:O()(`${Ne}-description`,I.description,ce==null?void 0:ce.description),style:Object.assign(Object.assign({},he.description),Y==null?void 0:Y.description)},lt),je&&c.createElement("div",{className:O()(`${Ne}-footer`,I.footer,ce==null?void 0:ce.footer),style:Object.assign(Object.assign({},he.footer),Y==null?void 0:Y.footer)},je)))};P.PRESENTED_IMAGE_DEFAULT=Z,P.PRESENTED_IMAGE_SIMPLE=W;var K=P},24971:function(On,at,h){"use strict";var c=h(59301),ie=h(56553),O=h(48755);const le=function(j,v){let re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var ee,o;const{variant:C,[j]:F}=c.useContext(O.E_),x=c.useContext(ie.pg),A=F==null?void 0:F.variant;let L;typeof v!="undefined"?L=v:re===!1?L="borderless":L=(o=(ee=x!=null?x:A)!==null&&ee!==void 0?ee:C)!==null&&o!==void 0?o:"outlined";const z=O.tr.includes(L);return[L,z]};at.Z=le},49397:function(On,at,h){"use strict";h.d(at,{Z:function(){return g}});var c=h(59301),ie=h(92310),O=h.n(ie),le=h(36901),j=h(8654),v=h(62487),re=h(86013),ee=h(82855),o=h(48755),C=h(2171),F=h(83397),x=h(31756),A=h(56553),L=h(24971),z=h(70045),G=h(23826),Z=h(53075);function W(T){return!!(T.prefix||T.suffix||T.allowClear||T.showCount)}var P=function(T,fe){var Ee={};for(var pe in T)Object.prototype.hasOwnProperty.call(T,pe)&&fe.indexOf(pe)<0&&(Ee[pe]=T[pe]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,pe=Object.getOwnPropertySymbols(T);Be<pe.length;Be++)fe.indexOf(pe[Be])<0&&Object.prototype.propertyIsEnumerable.call(T,pe[Be])&&(Ee[pe[Be]]=T[pe[Be]]);return Ee},g=(0,c.forwardRef)((T,fe)=>{const{prefixCls:Ee,bordered:pe=!0,status:Be,size:je,disabled:Le,onBlur:it,onFocus:ce,suffix:Y,allowClear:N,addonAfter:ve,addonBefore:ue,className:we,style:_,styles:I,rootClassName:he,onChange:Ne,classNames:Qe,variant:Et}=T,He=P(T,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Oe,direction:lt,allowClear:St,autoComplete:ze,className:At,style:ke,classNames:Ht,styles:dt}=(0,o.dj)("input"),ct=Oe("input",Ee),Xe=(0,c.useRef)(null),Re=(0,F.Z)(ct),[oe,qe,Me]=(0,Z.TI)(ct,he),[U]=(0,Z.ZP)(ct,Re),{compactSize:M,compactItemClassnames:ye}=(0,z.ri)(ct,lt),Te=(0,x.Z)(D=>{var Ve;return(Ve=je!=null?je:M)!==null&&Ve!==void 0?Ve:D}),xe=c.useContext(C.Z),ae=Le!=null?Le:xe,{status:Fe,hasFeedback:nt,feedbackIcon:se}=(0,c.useContext)(A.aM),me=(0,ee.F)(Fe,Be),vt=W(T)||!!nt,ft=(0,c.useRef)(vt),xt=(0,G.Z)(Xe,!0),gt=D=>{xt(),it==null||it(D)},tt=D=>{xt(),ce==null||ce(D)},Pt=D=>{xt(),Ne==null||Ne(D)},_t=(nt||Y)&&c.createElement(c.Fragment,null,Y,nt&&se),Ae=(0,re.Z)(N!=null?N:St),[et,E]=(0,L.Z)("input",Et,pe);return oe(U(c.createElement(le.default,Object.assign({ref:(0,j.sQ)(fe,Xe),prefixCls:ct,autoComplete:ze},He,{disabled:ae,onBlur:gt,onFocus:tt,style:Object.assign(Object.assign({},ke),_),styles:Object.assign(Object.assign({},dt),I),suffix:_t,allowClear:Ae,className:O()(we,he,Me,Re,ye,At),onChange:Pt,addonBefore:ue&&c.createElement(v.Z,{form:!0,space:!0},ue),addonAfter:ve&&c.createElement(v.Z,{form:!0,space:!0},ve),classNames:Object.assign(Object.assign(Object.assign({},Qe),Ht),{input:O()({[`${ct}-sm`]:Te==="small",[`${ct}-lg`]:Te==="large",[`${ct}-rtl`]:lt==="rtl"},Qe==null?void 0:Qe.input,Ht.input,qe),variant:O()({[`${ct}-${et}`]:E},(0,ee.Z)(ct,me)),affixWrapper:O()({[`${ct}-affix-wrapper-sm`]:Te==="small",[`${ct}-affix-wrapper-lg`]:Te==="large",[`${ct}-affix-wrapper-rtl`]:lt==="rtl"},qe),wrapper:O()({[`${ct}-group-rtl`]:lt==="rtl"},qe),groupWrapper:O()({[`${ct}-group-wrapper-sm`]:Te==="small",[`${ct}-group-wrapper-lg`]:Te==="large",[`${ct}-group-wrapper-rtl`]:lt==="rtl",[`${ct}-group-wrapper-${et}`]:E},(0,ee.Z)(`${ct}-group-wrapper`,me,nt),qe)})}))))})},79809:function(On,at,h){"use strict";h.d(at,{Z:function(){return fe}});var c=h(59301),ie=h(92310),O=h.n(ie),le=h(22711),j=h(86013),v=h(82855),re=h(48755),ee=h(2171),o=h(83397),C=h(31756),F=h(56553),x=h(24971),A=h(70045),L=h(30292),z=h(53075),G=h(16931),Z=h(51636),W=h(64910);const P=Ee=>{const{componentCls:pe,paddingLG:Be}=Ee,je=`${pe}-textarea`;return{[`textarea${pe}`]:{maxWidth:"100%",height:"auto",minHeight:Ee.controlHeight,lineHeight:Ee.lineHeight,verticalAlign:"bottom",transition:`all ${Ee.motionDurationSlow}`,resize:"vertical",[`&${pe}-mouse-active`]:{transition:`all ${Ee.motionDurationSlow}, height 0s, width 0s`}},[`${pe}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[je]:{position:"relative","&-show-count":{[`> ${pe}`]:{height:"100%"},[`${pe}-data-count`]:{position:"absolute",bottom:Ee.calc(Ee.fontSize).mul(Ee.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Ee.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
&-allow-clear > ${pe},
|
|
&-affix-wrapper${je}-has-feedback ${pe}
|
|
`]:{paddingInlineEnd:Be},[`&-affix-wrapper${pe}-affix-wrapper`]:{padding:0,[`> textarea${pe}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Ee.calc(Ee.controlHeight).sub(Ee.calc(Ee.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${pe}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${pe}-clear-icon`]:{position:"absolute",insetInlineEnd:Ee.paddingInline,insetBlockStart:Ee.paddingXS},[`${je}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Ee.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${pe}-affix-wrapper-sm`]:{[`${pe}-suffix`]:{[`${pe}-clear-icon`]:{insetInlineEnd:Ee.paddingInlineSM}}}}}};var K=(0,G.I$)(["Input","TextArea"],Ee=>{const pe=(0,Z.mergeToken)(Ee,(0,W.e)(Ee));return[P(pe)]},W.T,{resetFont:!1}),g=function(Ee,pe){var Be={};for(var je in Ee)Object.prototype.hasOwnProperty.call(Ee,je)&&pe.indexOf(je)<0&&(Be[je]=Ee[je]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,je=Object.getOwnPropertySymbols(Ee);Le<je.length;Le++)pe.indexOf(je[Le])<0&&Object.prototype.propertyIsEnumerable.call(Ee,je[Le])&&(Be[je[Le]]=Ee[je[Le]]);return Be},fe=(0,c.forwardRef)((Ee,pe)=>{var Be;const{prefixCls:je,bordered:Le=!0,size:it,disabled:ce,status:Y,allowClear:N,classNames:ve,rootClassName:ue,className:we,style:_,styles:I,variant:he,showCount:Ne,onMouseDown:Qe,onResize:Et}=Ee,He=g(Ee,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Oe,direction:lt,allowClear:St,autoComplete:ze,className:At,style:ke,classNames:Ht,styles:dt}=(0,re.dj)("textArea"),ct=c.useContext(ee.Z),Xe=ce!=null?ce:ct,{status:Re,hasFeedback:oe,feedbackIcon:qe}=c.useContext(F.aM),Me=(0,v.F)(Re,Y),U=c.useRef(null);c.useImperativeHandle(pe,()=>{var E;return{resizableTextArea:(E=U.current)===null||E===void 0?void 0:E.resizableTextArea,focus:D=>{var Ve,ne;(0,L.nH)((ne=(Ve=U.current)===null||Ve===void 0?void 0:Ve.resizableTextArea)===null||ne===void 0?void 0:ne.textArea,D)},blur:()=>{var D;return(D=U.current)===null||D===void 0?void 0:D.blur()}}});const M=Oe("input",je),ye=(0,o.Z)(M),[Te,xe,ae]=(0,z.TI)(M,ue),[Fe]=K(M,ye),{compactSize:nt,compactItemClassnames:se}=(0,A.ri)(M,lt),me=(0,C.Z)(E=>{var D;return(D=it!=null?it:nt)!==null&&D!==void 0?D:E}),[vt,ft]=(0,x.Z)("textArea",he,Le),xt=(0,j.Z)(N!=null?N:St),[gt,tt]=c.useState(!1),[Pt,_t]=c.useState(!1),Ae=E=>{tt(!0),Qe==null||Qe(E);const D=()=>{tt(!1),document.removeEventListener("mouseup",D)};document.addEventListener("mouseup",D)},et=E=>{var D,Ve;if(Et==null||Et(E),gt&&typeof getComputedStyle=="function"){const ne=(Ve=(D=U.current)===null||D===void 0?void 0:D.nativeElement)===null||Ve===void 0?void 0:Ve.querySelector("textarea");ne&&getComputedStyle(ne).resize==="both"&&_t(!0)}};return Te(Fe(c.createElement(le.default,Object.assign({autoComplete:ze},He,{style:Object.assign(Object.assign({},ke),_),styles:Object.assign(Object.assign({},dt),I),disabled:Xe,allowClear:xt,className:O()(ae,ye,we,ue,se,At,Pt&&`${M}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},ve),Ht),{textarea:O()({[`${M}-sm`]:me==="small",[`${M}-lg`]:me==="large"},xe,ve==null?void 0:ve.textarea,Ht.textarea,gt&&`${M}-mouse-active`),variant:O()({[`${M}-${vt}`]:ft},(0,v.Z)(M,Me)),affixWrapper:O()(`${M}-textarea-affix-wrapper`,{[`${M}-affix-wrapper-rtl`]:lt==="rtl",[`${M}-affix-wrapper-sm`]:me==="small",[`${M}-affix-wrapper-lg`]:me==="large",[`${M}-textarea-show-count`]:Ne||((Be=Ee.count)===null||Be===void 0?void 0:Be.show)},xe)}),prefixCls:M,suffix:oe&&c.createElement("span",{className:`${M}-textarea-suffix`},qe),showCount:Ne,ref:U,onResize:et,onMouseDown:Ae}))))})},23826:function(On,at,h){"use strict";h.d(at,{Z:function(){return ie}});var c=h(59301);function ie(O,le){const j=(0,c.useRef)([]),v=()=>{j.current.push(setTimeout(()=>{var re,ee,o,C;!((re=O.current)===null||re===void 0)&&re.input&&((ee=O.current)===null||ee===void 0?void 0:ee.input.getAttribute("type"))==="password"&&(!((o=O.current)===null||o===void 0)&&o.input.hasAttribute("value"))&&((C=O.current)===null||C===void 0||C.input.removeAttribute("value"))}))};return(0,c.useEffect)(()=>(le&&v(),()=>j.current.forEach(re=>{re&&clearTimeout(re)})),[]),v}},37568:function(On,at,h){"use strict";h.d(at,{default:function(){return Ht}});var c=h(59301),ie=h(92310),O=h.n(ie),le=h(48755),j=h(56553),v=h(53075),ee=dt=>{const{getPrefixCls:ct,direction:Xe}=(0,c.useContext)(le.E_),{prefixCls:Re,className:oe}=dt,qe=ct("input-group",Re),Me=ct("input"),[U,M,ye]=(0,v.ZP)(Me),Te=O()(qe,ye,{[`${qe}-lg`]:dt.size==="large",[`${qe}-sm`]:dt.size==="small",[`${qe}-compact`]:dt.compact,[`${qe}-rtl`]:Xe==="rtl"},M,oe),xe=(0,c.useContext)(j.aM),ae=(0,c.useMemo)(()=>Object.assign(Object.assign({},xe),{isFormItemInput:!1}),[xe]);return U(c.createElement("span",{className:Te,style:dt.style,onMouseEnter:dt.onMouseEnter,onMouseLeave:dt.onMouseLeave,onFocus:dt.onFocus,onBlur:dt.onBlur},c.createElement(j.aM.Provider,{value:ae},dt.children)))},o=h(49397),C=h(77654),F=h(6089),x=h(26112),A=h(82855),L=h(31756),z=h(16931),G=h(51636),Z=h(64910);const W=dt=>{const{componentCls:ct,paddingXS:Xe}=dt;return{[ct]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:Xe,"&-rtl":{direction:"rtl"},[`${ct}-input`]:{textAlign:"center",paddingInline:dt.paddingXXS},[`&${ct}-sm ${ct}-input`]:{paddingInline:dt.calc(dt.paddingXXS).div(2).equal()},[`&${ct}-lg ${ct}-input`]:{paddingInline:dt.paddingXS}}}};var P=(0,z.I$)(["Input","OTP"],dt=>{const ct=(0,G.mergeToken)(dt,(0,Z.e)(dt));return[W(ct)]},Z.T),K=h(16089),g=function(dt,ct){var Xe={};for(var Re in dt)Object.prototype.hasOwnProperty.call(dt,Re)&&ct.indexOf(Re)<0&&(Xe[Re]=dt[Re]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,Re=Object.getOwnPropertySymbols(dt);oe<Re.length;oe++)ct.indexOf(Re[oe])<0&&Object.prototype.propertyIsEnumerable.call(dt,Re[oe])&&(Xe[Re[oe]]=dt[Re[oe]]);return Xe},fe=c.forwardRef((dt,ct)=>{const{value:Xe,onChange:Re,onActiveChange:oe,index:qe,mask:Me}=dt,U=g(dt,["value","onChange","onActiveChange","index","mask"]),M=Xe&&typeof Me=="string"?Me:Xe,ye=nt=>{Re(qe,nt.target.value)},Te=c.useRef(null);c.useImperativeHandle(ct,()=>Te.current);const xe=()=>{(0,K.Z)(()=>{var nt;const se=(nt=Te.current)===null||nt===void 0?void 0:nt.input;document.activeElement===se&&se&&se.select()})},ae=nt=>{const{key:se,ctrlKey:me,metaKey:vt}=nt;se==="ArrowLeft"?oe(qe-1):se==="ArrowRight"?oe(qe+1):se==="z"&&(me||vt)&&nt.preventDefault(),xe()},Fe=nt=>{nt.key==="Backspace"&&!Xe&&oe(qe-1),xe()};return c.createElement(o.Z,Object.assign({type:Me===!0?"password":"text"},U,{ref:Te,value:M,onInput:ye,onFocus:xe,onKeyDown:ae,onKeyUp:Fe,onMouseDown:xe,onMouseUp:xe}))}),Ee=function(dt,ct){var Xe={};for(var Re in dt)Object.prototype.hasOwnProperty.call(dt,Re)&&ct.indexOf(Re)<0&&(Xe[Re]=dt[Re]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,Re=Object.getOwnPropertySymbols(dt);oe<Re.length;oe++)ct.indexOf(Re[oe])<0&&Object.prototype.propertyIsEnumerable.call(dt,Re[oe])&&(Xe[Re[oe]]=dt[Re[oe]]);return Xe};function pe(dt){return(dt||"").split("")}const Be=dt=>{const{index:ct,prefixCls:Xe,separator:Re}=dt,oe=typeof Re=="function"?Re(ct):Re;return oe?c.createElement("span",{className:`${Xe}-separator`},oe):null};var Le=c.forwardRef((dt,ct)=>{const{prefixCls:Xe,length:Re=6,size:oe,defaultValue:qe,value:Me,onChange:U,formatter:M,separator:ye,variant:Te,disabled:xe,status:ae,autoFocus:Fe,mask:nt,type:se,onInput:me,inputMode:vt}=dt,ft=Ee(dt,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:xt,direction:gt}=c.useContext(le.E_),tt=xt("otp",Xe),Pt=(0,x.Z)(ft,{aria:!0,data:!0,attr:!0}),[_t,Ae,et]=P(tt),E=(0,L.Z)(Mt=>oe!=null?oe:Mt),D=c.useContext(j.aM),Ve=(0,A.F)(D.status,ae),ne=c.useMemo(()=>Object.assign(Object.assign({},D),{status:Ve,hasFeedback:!1,feedbackIcon:null}),[D,Ve]),q=c.useRef(null),jt=c.useRef({});c.useImperativeHandle(ct,()=>({focus:()=>{var Mt;(Mt=jt.current[0])===null||Mt===void 0||Mt.focus()},blur:()=>{var Mt;for(let _e=0;_e<Re;_e+=1)(Mt=jt.current[_e])===null||Mt===void 0||Mt.blur()},nativeElement:q.current}));const Ue=Mt=>M?M(Mt):Mt,[st,ht]=c.useState(()=>pe(Ue(qe||"")));c.useEffect(()=>{Me!==void 0&&ht(pe(Me))},[Me]);const de=(0,F.Z)(Mt=>{ht(Mt),me&&me(Mt),U&&Mt.length===Re&&Mt.every(_e=>_e)&&Mt.some((_e,bt)=>st[bt]!==_e)&&U(Mt.join(""))}),be=(0,F.Z)((Mt,_e)=>{let bt=(0,C.Z)(st);for(let xn=0;xn<Mt;xn+=1)bt[xn]||(bt[xn]="");_e.length<=1?bt[Mt]=_e:bt=bt.slice(0,Mt).concat(pe(_e)),bt=bt.slice(0,Re);for(let xn=bt.length-1;xn>=0&&!bt[xn];xn-=1)bt.pop();const An=Ue(bt.map(xn=>xn||" ").join(""));return bt=pe(An).map((xn,Er)=>xn===" "&&!bt[Er]?bt[Er]:xn),bt}),We=(Mt,_e)=>{var bt;const An=be(Mt,_e),xn=Math.min(Mt+_e.length,Re-1);xn!==Mt&&An[Mt]!==void 0&&((bt=jt.current[xn])===null||bt===void 0||bt.focus()),de(An)},Ze=Mt=>{var _e;(_e=jt.current[Mt])===null||_e===void 0||_e.focus()},Q={variant:Te,disabled:xe,status:Ve,mask:nt,type:se,inputMode:vt};return _t(c.createElement("div",Object.assign({},Pt,{ref:q,className:O()(tt,{[`${tt}-sm`]:E==="small",[`${tt}-lg`]:E==="large",[`${tt}-rtl`]:gt==="rtl"},et,Ae)}),c.createElement(j.aM.Provider,{value:ne},Array.from({length:Re}).map((Mt,_e)=>{const bt=`otp-${_e}`,An=st[_e]||"";return c.createElement(c.Fragment,{key:bt},c.createElement(fe,Object.assign({ref:xn=>{jt.current[_e]=xn},index:_e,size:E,htmlSize:1,className:`${tt}-input`,onChange:We,value:An,onActiveChange:Ze,autoFocus:_e===0&&Fe},Q)),_e<Re-1&&c.createElement(Be,{separator:ye,index:_e,prefixCls:tt}))}))))}),it=h(73331),ce=h(15277),Y=h(2738),N=h(8654),ve=h(2171),ue=h(23826),we=function(dt,ct){var Xe={};for(var Re in dt)Object.prototype.hasOwnProperty.call(dt,Re)&&ct.indexOf(Re)<0&&(Xe[Re]=dt[Re]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,Re=Object.getOwnPropertySymbols(dt);oe<Re.length;oe++)ct.indexOf(Re[oe])<0&&Object.prototype.propertyIsEnumerable.call(dt,Re[oe])&&(Xe[Re[oe]]=dt[Re[oe]]);return Xe};const _=dt=>dt?c.createElement(ce.Z,null):c.createElement(it.Z,null),I={click:"onClick",hover:"onMouseOver"};var Ne=c.forwardRef((dt,ct)=>{const{disabled:Xe,action:Re="click",visibilityToggle:oe=!0,iconRender:qe=_}=dt,Me=c.useContext(ve.Z),U=Xe!=null?Xe:Me,M=typeof oe=="object"&&oe.visible!==void 0,[ye,Te]=(0,c.useState)(()=>M?oe.visible:!1),xe=(0,c.useRef)(null);c.useEffect(()=>{M&&Te(oe.visible)},[M,oe]);const ae=(0,ue.Z)(xe),Fe=()=>{var E;if(U)return;ye&&ae();const D=!ye;Te(D),typeof oe=="object"&&((E=oe.onVisibleChange)===null||E===void 0||E.call(oe,D))},nt=E=>{const D=I[Re]||"",Ve=qe(ye),ne={[D]:Fe,className:`${E}-icon`,key:"passwordIcon",onMouseDown:q=>{q.preventDefault()},onMouseUp:q=>{q.preventDefault()}};return c.cloneElement(c.isValidElement(Ve)?Ve:c.createElement("span",null,Ve),ne)},{className:se,prefixCls:me,inputPrefixCls:vt,size:ft}=dt,xt=we(dt,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:gt}=c.useContext(le.E_),tt=gt("input",vt),Pt=gt("input-password",me),_t=oe&&nt(Pt),Ae=O()(Pt,se,{[`${Pt}-${ft}`]:!!ft}),et=Object.assign(Object.assign({},(0,Y.Z)(xt,["suffix","iconRender","visibilityToggle"])),{type:ye?"text":"password",className:Ae,prefixCls:tt,suffix:_t});return ft&&(et.size=ft),c.createElement(o.Z,Object.assign({ref:(0,N.sQ)(ct,xe)},et))}),Qe=h(47472),Et=h(22703),He=h(7939),Oe=h(70045),lt=function(dt,ct){var Xe={};for(var Re in dt)Object.prototype.hasOwnProperty.call(dt,Re)&&ct.indexOf(Re)<0&&(Xe[Re]=dt[Re]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,Re=Object.getOwnPropertySymbols(dt);oe<Re.length;oe++)ct.indexOf(Re[oe])<0&&Object.prototype.propertyIsEnumerable.call(dt,Re[oe])&&(Xe[Re[oe]]=dt[Re[oe]]);return Xe},ze=c.forwardRef((dt,ct)=>{const{prefixCls:Xe,inputPrefixCls:Re,className:oe,size:qe,suffix:Me,enterButton:U=!1,addonAfter:M,loading:ye,disabled:Te,onSearch:xe,onChange:ae,onCompositionStart:Fe,onCompositionEnd:nt}=dt,se=lt(dt,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:me,direction:vt}=c.useContext(le.E_),ft=c.useRef(!1),xt=me("input-search",Xe),gt=me("input",Re),{compactSize:tt}=(0,Oe.ri)(xt,vt),Pt=(0,L.Z)(We=>{var Ze;return(Ze=qe!=null?qe:tt)!==null&&Ze!==void 0?Ze:We}),_t=c.useRef(null),Ae=We=>{We!=null&&We.target&&We.type==="click"&&xe&&xe(We.target.value,We,{source:"clear"}),ae==null||ae(We)},et=We=>{var Ze;document.activeElement===((Ze=_t.current)===null||Ze===void 0?void 0:Ze.input)&&We.preventDefault()},E=We=>{var Ze,Q;xe&&xe((Q=(Ze=_t.current)===null||Ze===void 0?void 0:Ze.input)===null||Q===void 0?void 0:Q.value,We,{source:"input"})},D=We=>{ft.current||ye||E(We)},Ve=typeof U=="boolean"?c.createElement(Qe.Z,null):null,ne=`${xt}-button`;let q;const jt=U||{},Ue=jt.type&&jt.type.__ANT_BUTTON===!0;Ue||jt.type==="button"?q=(0,Et.Tm)(jt,Object.assign({onMouseDown:et,onClick:We=>{var Ze,Q;(Q=(Ze=jt==null?void 0:jt.props)===null||Ze===void 0?void 0:Ze.onClick)===null||Q===void 0||Q.call(Ze,We),E(We)},key:"enterButton"},Ue?{className:ne,size:Pt}:{})):q=c.createElement(He.ZP,{className:ne,type:U?"primary":void 0,size:Pt,disabled:Te,key:"enterButton",onMouseDown:et,onClick:E,loading:ye,icon:Ve},U),M&&(q=[q,(0,Et.Tm)(M,{key:"addonAfter"})]);const st=O()(xt,{[`${xt}-rtl`]:vt==="rtl",[`${xt}-${Pt}`]:!!Pt,[`${xt}-with-button`]:!!U},oe),ht=Object.assign(Object.assign({},se),{className:st,prefixCls:gt,type:"search"}),de=We=>{ft.current=!0,Fe==null||Fe(We)},be=We=>{ft.current=!1,nt==null||nt(We)};return c.createElement(o.Z,Object.assign({ref:(0,N.sQ)(_t,ct),onPressEnter:D},ht,{size:Pt,onCompositionStart:de,onCompositionEnd:be,addonAfter:q,suffix:Me,onChange:Ae,disabled:Te}))}),At=h(79809);const ke=o.Z;ke.Group=ee,ke.Search=ze,ke.TextArea=At.Z,ke.Password=Ne,ke.OTP=Le;var Ht=ke},53075:function(On,at,h){"use strict";h.d(at,{TI:function(){return K},ik:function(){return x},nz:function(){return ee},s7:function(){return A},x0:function(){return F}});var c=h(36237),ie=h(63356),O=h(56119),le=h(16931),j=h(51636),v=h(64910),re=h(39082);const ee=g=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:g,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),o=g=>({borderColor:g.activeBorderColor,boxShadow:g.activeShadow,outline:0,backgroundColor:g.activeBg}),C=g=>{const{paddingBlockLG:T,lineHeightLG:fe,borderRadiusLG:Ee,paddingInlineLG:pe}=g;return{padding:`${(0,c.unit)(T)} ${(0,c.unit)(pe)}`,fontSize:g.inputFontSizeLG,lineHeight:fe,borderRadius:Ee}},F=g=>({padding:`${(0,c.unit)(g.paddingBlockSM)} ${(0,c.unit)(g.paddingInlineSM)}`,fontSize:g.inputFontSizeSM,borderRadius:g.borderRadiusSM}),x=g=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,c.unit)(g.paddingBlock)} ${(0,c.unit)(g.paddingInline)}`,color:g.colorText,fontSize:g.inputFontSize,lineHeight:g.lineHeight,borderRadius:g.borderRadius,transition:`all ${g.motionDurationMid}`},ee(g.colorTextPlaceholder)),{"&-lg":Object.assign({},C(g)),"&-sm":Object.assign({},F(g)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),A=g=>{const{componentCls:T,antCls:fe}=g;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:g.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${T}, &-lg > ${T}-group-addon`]:Object.assign({},C(g)),[`&-sm ${T}, &-sm > ${T}-group-addon`]:Object.assign({},F(g)),[`&-lg ${fe}-select-single ${fe}-select-selector`]:{height:g.controlHeightLG},[`&-sm ${fe}-select-single ${fe}-select-selector`]:{height:g.controlHeightSM},[`> ${T}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${T}-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 ${(0,c.unit)(g.paddingInline)}`,color:g.colorText,fontWeight:"normal",fontSize:g.inputFontSize,textAlign:"center",borderRadius:g.borderRadius,transition:`all ${g.motionDurationSlow}`,lineHeight:1,[`${fe}-select`]:{margin:`${(0,c.unit)(g.calc(g.paddingBlock).add(1).mul(-1).equal())} ${(0,c.unit)(g.calc(g.paddingInline).mul(-1).equal())}`,[`&${fe}-select-single:not(${fe}-select-customize-input):not(${fe}-pagination-size-changer)`]:{[`${fe}-select-selector`]:{backgroundColor:"inherit",border:`${(0,c.unit)(g.lineWidth)} ${g.lineType} transparent`,boxShadow:"none"}}},[`${fe}-cascader-picker`]:{margin:`-9px ${(0,c.unit)(g.calc(g.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${fe}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[T]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${T}-search-with-button &`]:{zIndex:0}}},[`> ${T}:first-child, ${T}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${fe}-select ${fe}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${T}-affix-wrapper`]:{[`&:not(:first-child) ${T}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${T}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${T}:last-child, ${T}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${fe}-select ${fe}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${T}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${T}-search &`]:{borderStartStartRadius:g.borderRadius,borderEndStartRadius:g.borderRadius}},[`&:not(:first-child), ${T}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${T}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,ie.dF)()),{[`${T}-group-addon, ${T}-group-wrap, > ${T}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:g.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
& > ${T}-affix-wrapper,
|
|
& > ${T}-number-affix-wrapper,
|
|
& > ${fe}-picker-range
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:g.calc(g.lineWidth).mul(-1).equal(),borderInlineEndWidth:g.lineWidth},[T]:{float:"none"},[`& > ${fe}-select > ${fe}-select-selector,
|
|
& > ${fe}-select-auto-complete ${T},
|
|
& > ${fe}-cascader-picker ${T},
|
|
& > ${T}-group-wrapper ${T}`]:{borderInlineEndWidth:g.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${fe}-select-focused`]:{zIndex:1},[`& > ${fe}-select > ${fe}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
& > ${fe}-select:first-child > ${fe}-select-selector,
|
|
& > ${fe}-select-auto-complete:first-child ${T},
|
|
& > ${fe}-cascader-picker:first-child ${T}`]:{borderStartStartRadius:g.borderRadius,borderEndStartRadius:g.borderRadius},[`& > *:last-child,
|
|
& > ${fe}-select:last-child > ${fe}-select-selector,
|
|
& > ${fe}-cascader-picker:last-child ${T},
|
|
& > ${fe}-cascader-picker-focused:last-child ${T}`]:{borderInlineEndWidth:g.lineWidth,borderStartEndRadius:g.borderRadius,borderEndEndRadius:g.borderRadius},[`& > ${fe}-select-auto-complete ${T}`]:{verticalAlign:"top"},[`${T}-group-wrapper + ${T}-group-wrapper`]:{marginInlineStart:g.calc(g.lineWidth).mul(-1).equal(),[`${T}-affix-wrapper`]:{borderRadius:0}},[`${T}-group-wrapper:not(:last-child)`]:{[`&${T}-search > ${T}-group`]:{[`& > ${T}-group-addon > ${T}-search-button`]:{borderRadius:0},[`& > ${T}`]:{borderStartStartRadius:g.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:g.borderRadius}}}})}},L=g=>{const{componentCls:T,controlHeightSM:fe,lineWidth:Ee,calc:pe}=g,je=pe(fe).sub(pe(Ee).mul(2)).sub(16).div(2).equal();return{[T]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ie.Wf)(g)),x(g)),(0,re.qG)(g)),(0,re.H8)(g)),(0,re.Mu)(g)),(0,re.vc)(g)),{'&[type="color"]':{height:g.controlHeight,[`&${T}-lg`]:{height:g.controlHeightLG},[`&${T}-sm`]:{height:fe,paddingTop:je,paddingBottom:je}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},z=g=>{const{componentCls:T}=g;return{[`${T}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:g.colorTextQuaternary,fontSize:g.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${g.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:g.colorTextTertiary},"&:active":{color:g.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,c.unit)(g.inputAffixPadding)}`}}}},G=g=>{const{componentCls:T,inputAffixPadding:fe,colorTextDescription:Ee,motionDurationSlow:pe,colorIcon:Be,colorIconHover:je,iconCls:Le}=g,it=`${T}-affix-wrapper`,ce=`${T}-affix-wrapper-disabled`;return{[it]:Object.assign(Object.assign(Object.assign(Object.assign({},x(g)),{display:"inline-flex",[`&:not(${T}-disabled):hover`]:{zIndex:1,[`${T}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${T}`]:{padding:0},[`> input${T}, > textarea${T}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[T]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:g.paddingXS}},"&-show-count-suffix":{color:Ee},"&-show-count-has-suffix":{marginInlineEnd:g.paddingXXS},"&-prefix":{marginInlineEnd:fe},"&-suffix":{marginInlineStart:fe}}}),z(g)),{[`${Le}${T}-password-icon`]:{color:Be,cursor:"pointer",transition:`all ${pe}`,"&:hover":{color:je}}}),[`${T}-underlined`]:{borderRadius:0},[ce]:{[`${Le}${T}-password-icon`]:{color:Be,cursor:"not-allowed","&:hover":{color:Be}}}}},Z=g=>{const{componentCls:T,borderRadiusLG:fe,borderRadiusSM:Ee}=g;return{[`${T}-group`]:Object.assign(Object.assign(Object.assign({},(0,ie.Wf)(g)),A(g)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${T}-group-addon`]:{borderRadius:fe,fontSize:g.inputFontSizeLG}},"&-sm":{[`${T}-group-addon`]:{borderRadius:Ee}}},(0,re.ir)(g)),(0,re.S5)(g)),{[`&:not(${T}-compact-first-item):not(${T}-compact-last-item)${T}-compact-item`]:{[`${T}, ${T}-group-addon`]:{borderRadius:0}},[`&:not(${T}-compact-last-item)${T}-compact-first-item`]:{[`${T}, ${T}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${T}-compact-first-item)${T}-compact-last-item`]:{[`${T}, ${T}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${T}-compact-last-item)${T}-compact-item`]:{[`${T}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${T}-compact-first-item)${T}-compact-item`]:{[`${T}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},W=g=>{const{componentCls:T,antCls:fe}=g,Ee=`${T}-search`;return{[Ee]:{[T]:{"&:hover, &:focus":{[`+ ${T}-group-addon ${Ee}-button:not(${fe}-btn-primary)`]:{borderInlineStartColor:g.colorPrimaryHover}}},[`${T}-affix-wrapper`]:{height:g.controlHeight,borderRadius:0},[`${T}-lg`]:{lineHeight:g.calc(g.lineHeightLG).sub(2e-4).equal()},[`> ${T}-group`]:{[`> ${T}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Ee}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${Ee}-button:not(${fe}-btn-primary)`]:{color:g.colorTextDescription,"&:hover":{color:g.colorPrimaryHover},"&:active":{color:g.colorPrimaryActive},[`&${fe}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Ee}-button`]:{height:g.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${T}-affix-wrapper, ${Ee}-button`]:{height:g.controlHeightLG}},"&-small":{[`${T}-affix-wrapper, ${Ee}-button`]:{height:g.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${T}-compact-item`]:{[`&:not(${T}-compact-last-item)`]:{[`${T}-group-addon`]:{[`${T}-search-button`]:{marginInlineEnd:g.calc(g.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${T}-compact-first-item)`]:{[`${T},${T}-affix-wrapper`]:{borderRadius:0}},[`> ${T}-group-addon ${T}-search-button,
|
|
> ${T},
|
|
${T}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${T}-affix-wrapper-focused`]:{zIndex:2}}}}},P=g=>{const{componentCls:T}=g;return{[`${T}-out-of-range`]:{[`&, & input, & textarea, ${T}-show-count-suffix, ${T}-data-count`]:{color:g.colorError}}}},K=(0,le.I$)(["Input","Shared"],g=>{const T=(0,j.mergeToken)(g,(0,v.e)(g));return[L(T),G(T)]},v.T,{resetFont:!1});at.ZP=(0,le.I$)(["Input","Component"],g=>{const T=(0,j.mergeToken)(g,(0,v.e)(g));return[Z(T),W(T),P(T),(0,O.c)(T)]},v.T,{resetFont:!1})},64910:function(On,at,h){"use strict";h.d(at,{T:function(){return O},e:function(){return ie}});var c=h(51636);function ie(le){return(0,c.mergeToken)(le,{inputAffixPadding:le.paddingXXS})}const O=le=>{const{controlHeight:j,fontSize:v,lineHeight:re,lineWidth:ee,controlHeightSM:o,controlHeightLG:C,fontSizeLG:F,lineHeightLG:x,paddingSM:A,controlPaddingHorizontalSM:L,controlPaddingHorizontal:z,colorFillAlter:G,colorPrimaryHover:Z,colorPrimary:W,controlOutlineWidth:P,controlOutline:K,colorErrorOutline:g,colorWarningOutline:T,colorBgContainer:fe,inputFontSize:Ee,inputFontSizeLG:pe,inputFontSizeSM:Be}=le,je=Ee||v,Le=Be||je,it=pe||F,ce=Math.round((j-je*re)/2*10)/10-ee,Y=Math.round((o-Le*re)/2*10)/10-ee,N=Math.ceil((C-it*x)/2*10)/10-ee;return{paddingBlock:Math.max(ce,0),paddingBlockSM:Math.max(Y,0),paddingBlockLG:Math.max(N,0),paddingInline:A-ee,paddingInlineSM:L-ee,paddingInlineLG:z-ee,addonBg:G,activeBorderColor:W,hoverBorderColor:Z,activeShadow:`0 0 0 ${P}px ${K}`,errorActiveShadow:`0 0 0 ${P}px ${g}`,warningActiveShadow:`0 0 0 ${P}px ${T}`,hoverBg:fe,activeBg:fe,inputFontSize:je,inputFontSizeLG:it,inputFontSizeSM:Le}}},39082:function(On,at,h){"use strict";h.d(at,{$U:function(){return j},H8:function(){return A},Mu:function(){return C},S5:function(){return z},Xy:function(){return le},ir:function(){return o},qG:function(){return re},vc:function(){return W}});var c=h(36237),ie=h(51636);const O=P=>({borderColor:P.hoverBorderColor,backgroundColor:P.hoverBg}),le=P=>({color:P.colorTextDisabled,backgroundColor:P.colorBgContainerDisabled,borderColor:P.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},O((0,ie.mergeToken)(P,{hoverBorderColor:P.colorBorder,hoverBg:P.colorBgContainerDisabled})))}),j=(P,K)=>({background:P.colorBgContainer,borderWidth:P.lineWidth,borderStyle:P.lineType,borderColor:K.borderColor,"&:hover":{borderColor:K.hoverBorderColor,backgroundColor:P.hoverBg},"&:focus, &:focus-within":{borderColor:K.activeBorderColor,boxShadow:K.activeShadow,outline:0,backgroundColor:P.activeBg}}),v=(P,K)=>({[`&${P.componentCls}-status-${K.status}:not(${P.componentCls}-disabled)`]:Object.assign(Object.assign({},j(P,K)),{[`${P.componentCls}-prefix, ${P.componentCls}-suffix`]:{color:K.affixColor}}),[`&${P.componentCls}-status-${K.status}${P.componentCls}-disabled`]:{borderColor:K.borderColor}}),re=(P,K)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},j(P,{borderColor:P.colorBorder,hoverBorderColor:P.hoverBorderColor,activeBorderColor:P.activeBorderColor,activeShadow:P.activeShadow})),{[`&${P.componentCls}-disabled, &[disabled]`]:Object.assign({},le(P))}),v(P,{status:"error",borderColor:P.colorError,hoverBorderColor:P.colorErrorBorderHover,activeBorderColor:P.colorError,activeShadow:P.errorActiveShadow,affixColor:P.colorError})),v(P,{status:"warning",borderColor:P.colorWarning,hoverBorderColor:P.colorWarningBorderHover,activeBorderColor:P.colorWarning,activeShadow:P.warningActiveShadow,affixColor:P.colorWarning})),K)}),ee=(P,K)=>({[`&${P.componentCls}-group-wrapper-status-${K.status}`]:{[`${P.componentCls}-group-addon`]:{borderColor:K.addonBorderColor,color:K.addonColor}}}),o=P=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${P.componentCls}-group`]:{"&-addon":{background:P.addonBg,border:`${(0,c.unit)(P.lineWidth)} ${P.lineType} ${P.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},ee(P,{status:"error",addonBorderColor:P.colorError,addonColor:P.colorErrorText})),ee(P,{status:"warning",addonBorderColor:P.colorWarning,addonColor:P.colorWarningText})),{[`&${P.componentCls}-group-wrapper-disabled`]:{[`${P.componentCls}-group-addon`]:Object.assign({},le(P))}})}),C=(P,K)=>{const{componentCls:g}=P;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${g}-disabled, &[disabled]`]:{color:P.colorTextDisabled,cursor:"not-allowed"},[`&${g}-status-error`]:{"&, & input, & textarea":{color:P.colorError}},[`&${g}-status-warning`]:{"&, & input, & textarea":{color:P.colorWarning}}},K)}},F=(P,K)=>{var g;return{background:K.bg,borderWidth:P.lineWidth,borderStyle:P.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(g=K==null?void 0:K.inputColor)!==null&&g!==void 0?g:"unset"},"&:hover":{background:K.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:K.activeBorderColor,backgroundColor:P.activeBg}}},x=(P,K)=>({[`&${P.componentCls}-status-${K.status}:not(${P.componentCls}-disabled)`]:Object.assign(Object.assign({},F(P,K)),{[`${P.componentCls}-prefix, ${P.componentCls}-suffix`]:{color:K.affixColor}})}),A=(P,K)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},F(P,{bg:P.colorFillTertiary,hoverBg:P.colorFillSecondary,activeBorderColor:P.activeBorderColor})),{[`&${P.componentCls}-disabled, &[disabled]`]:Object.assign({},le(P))}),x(P,{status:"error",bg:P.colorErrorBg,hoverBg:P.colorErrorBgHover,activeBorderColor:P.colorError,inputColor:P.colorErrorText,affixColor:P.colorError})),x(P,{status:"warning",bg:P.colorWarningBg,hoverBg:P.colorWarningBgHover,activeBorderColor:P.colorWarning,inputColor:P.colorWarningText,affixColor:P.colorWarning})),K)}),L=(P,K)=>({[`&${P.componentCls}-group-wrapper-status-${K.status}`]:{[`${P.componentCls}-group-addon`]:{background:K.addonBg,color:K.addonColor}}}),z=P=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${P.componentCls}-group`]:{"&-addon":{background:P.colorFillTertiary},[`${P.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,c.unit)(P.lineWidth)} ${P.lineType} ${P.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,c.unit)(P.lineWidth)} ${P.lineType} ${P.colorSplit}`}}}},L(P,{status:"error",addonBg:P.colorErrorBg,addonColor:P.colorErrorText})),L(P,{status:"warning",addonBg:P.colorWarningBg,addonColor:P.colorWarningText})),{[`&${P.componentCls}-group-wrapper-disabled`]:{[`${P.componentCls}-group`]:{"&-addon":{background:P.colorFillTertiary,color:P.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,c.unit)(P.lineWidth)} ${P.lineType} ${P.colorBorder}`,borderTop:`${(0,c.unit)(P.lineWidth)} ${P.lineType} ${P.colorBorder}`,borderBottom:`${(0,c.unit)(P.lineWidth)} ${P.lineType} ${P.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,c.unit)(P.lineWidth)} ${P.lineType} ${P.colorBorder}`,borderTop:`${(0,c.unit)(P.lineWidth)} ${P.lineType} ${P.colorBorder}`,borderBottom:`${(0,c.unit)(P.lineWidth)} ${P.lineType} ${P.colorBorder}`}}}})}),G=(P,K)=>({background:P.colorBgContainer,borderWidth:`${(0,c.unit)(P.lineWidth)} 0`,borderStyle:`${P.lineType} none`,borderColor:`transparent transparent ${K.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${K.borderColor} transparent`,backgroundColor:P.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${K.borderColor} transparent`,outline:0,backgroundColor:P.activeBg}}),Z=(P,K)=>({[`&${P.componentCls}-status-${K.status}:not(${P.componentCls}-disabled)`]:Object.assign(Object.assign({},G(P,K)),{[`${P.componentCls}-prefix, ${P.componentCls}-suffix`]:{color:K.affixColor}}),[`&${P.componentCls}-status-${K.status}${P.componentCls}-disabled`]:{borderColor:`transparent transparent ${K.borderColor} transparent`}}),W=(P,K)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},G(P,{borderColor:P.colorBorder,hoverBorderColor:P.hoverBorderColor,activeBorderColor:P.activeBorderColor,activeShadow:P.activeShadow})),{[`&${P.componentCls}-disabled, &[disabled]`]:{color:P.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${P.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),Z(P,{status:"error",borderColor:P.colorError,hoverBorderColor:P.colorErrorBorderHover,activeBorderColor:P.colorError,activeShadow:P.errorActiveShadow,affixColor:P.colorError})),Z(P,{status:"warning",borderColor:P.colorWarning,hoverBorderColor:P.colorWarningBorderHover,activeBorderColor:P.colorWarning,activeShadow:P.warningActiveShadow,affixColor:P.colorWarning})),K)})},24303:function(On,at,h){"use strict";h.d(at,{D:function(){return Ee},Z:function(){return je}});var c=h(59301),ie=h(60499),O={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"},le=O,j=h(7657),v=function(it,ce){return c.createElement(j.Z,(0,ie.Z)({},it,{ref:ce,icon:le}))},re=c.forwardRef(v),ee=re,o=h(33853),C=h(38819),F=h(92310),x=h.n(F),A=h(2738),L=h(48755),z=h(6989),G=h(36237),Z=h(48923),W=h(16931);const P=Le=>{const{componentCls:it,siderBg:ce,motionDurationMid:Y,motionDurationSlow:N,antCls:ve,triggerHeight:ue,triggerColor:we,triggerBg:_,headerHeight:I,zeroTriggerWidth:he,zeroTriggerHeight:Ne,borderRadiusLG:Qe,lightSiderBg:Et,lightTriggerColor:He,lightTriggerBg:Oe,bodyBg:lt}=Le;return{[it]:{position:"relative",minWidth:0,background:ce,transition:`all ${Y}, background 0s`,"&-has-trigger":{paddingBottom:ue},"&-right":{order:1},[`${it}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${ve}-menu${ve}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${it}-children`]:{overflow:"hidden"},[`${it}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ue,color:we,lineHeight:(0,G.unit)(ue),textAlign:"center",background:_,cursor:"pointer",transition:`all ${Y}`},[`${it}-zero-width-trigger`]:{position:"absolute",top:I,insetInlineEnd:Le.calc(he).mul(-1).equal(),zIndex:1,width:he,height:Ne,color:we,fontSize:Le.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ce,borderRadius:`0 ${(0,G.unit)(Qe)} ${(0,G.unit)(Qe)} 0`,cursor:"pointer",transition:`background ${N} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${N}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Le.calc(he).mul(-1).equal(),borderRadius:`${(0,G.unit)(Qe)} 0 0 ${(0,G.unit)(Qe)}`}},"&-light":{background:Et,[`${it}-trigger`]:{color:He,background:Oe},[`${it}-zero-width-trigger`]:{color:He,background:Oe,border:`1px solid ${lt}`,borderInlineStart:0}}}}};var K=(0,W.I$)(["Layout","Sider"],Le=>[P(Le)],Z.eh,{deprecatedTokens:Z.jn}),g=function(Le,it){var ce={};for(var Y in Le)Object.prototype.hasOwnProperty.call(Le,Y)&&it.indexOf(Y)<0&&(ce[Y]=Le[Y]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,Y=Object.getOwnPropertySymbols(Le);N<Y.length;N++)it.indexOf(Y[N])<0&&Object.prototype.propertyIsEnumerable.call(Le,Y[N])&&(ce[Y[N]]=Le[Y[N]]);return ce};const T={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},fe=Le=>!Number.isNaN(Number.parseFloat(Le))&&isFinite(Le),Ee=c.createContext({}),pe=(()=>{let Le=0;return function(){let it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Le+=1,`${it}${Le}`}})();var je=c.forwardRef((Le,it)=>{const{prefixCls:ce,className:Y,trigger:N,children:ve,defaultCollapsed:ue=!1,theme:we="dark",style:_={},collapsible:I=!1,reverseArrow:he=!1,width:Ne=200,collapsedWidth:Qe=80,zeroWidthTriggerStyle:Et,breakpoint:He,onCollapse:Oe,onBreakpoint:lt}=Le,St=g(Le,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ze}=(0,c.useContext)(z.V),[At,ke]=(0,c.useState)("collapsed"in Le?Le.collapsed:ue),[Ht,dt]=(0,c.useState)(!1);(0,c.useEffect)(()=>{"collapsed"in Le&&ke(Le.collapsed)},[Le.collapsed]);const ct=(Pt,_t)=>{"collapsed"in Le||ke(Pt),Oe==null||Oe(Pt,_t)},{getPrefixCls:Xe,direction:Re}=(0,c.useContext)(L.E_),oe=Xe("layout-sider",ce),[qe,Me,U]=K(oe),M=(0,c.useRef)(null);M.current=Pt=>{dt(Pt.matches),lt==null||lt(Pt.matches),At!==Pt.matches&&ct(Pt.matches,"responsive")},(0,c.useEffect)(()=>{function Pt(Ae){return M.current(Ae)}let _t;if(typeof window!="undefined"){const{matchMedia:Ae}=window;if(Ae&&He&&He in T){_t=Ae(`screen and (max-width: ${T[He]})`);try{_t.addEventListener("change",Pt)}catch(et){_t.addListener(Pt)}Pt(_t)}}return()=>{try{_t==null||_t.removeEventListener("change",Pt)}catch(Ae){_t==null||_t.removeListener(Pt)}}},[He]),(0,c.useEffect)(()=>{const Pt=pe("ant-sider-");return ze.addSider(Pt),()=>ze.removeSider(Pt)},[]);const ye=()=>{ct(!At,"clickTrigger")},Te=(0,A.Z)(St,["collapsed"]),xe=At?Qe:Ne,ae=fe(xe)?`${xe}px`:String(xe),Fe=parseFloat(String(Qe||0))===0?c.createElement("span",{onClick:ye,className:x()(`${oe}-zero-width-trigger`,`${oe}-zero-width-trigger-${he?"right":"left"}`),style:Et},N||c.createElement(ee,null)):null,nt=Re==="rtl"==!he,vt={expanded:nt?c.createElement(C.Z,null):c.createElement(o.Z,null),collapsed:nt?c.createElement(o.Z,null):c.createElement(C.Z,null)}[At?"collapsed":"expanded"],ft=N!==null?Fe||c.createElement("div",{className:`${oe}-trigger`,onClick:ye,style:{width:ae}},N||vt):null,xt=Object.assign(Object.assign({},_),{flex:`0 0 ${ae}`,maxWidth:ae,minWidth:ae,width:ae}),gt=x()(oe,`${oe}-${we}`,{[`${oe}-collapsed`]:!!At,[`${oe}-has-trigger`]:I&&N!==null&&!Fe,[`${oe}-below`]:!!Ht,[`${oe}-zero-width`]:parseFloat(ae)===0},Y,Me,U),tt=c.useMemo(()=>({siderCollapsed:At}),[At]);return qe(c.createElement(Ee.Provider,{value:tt},c.createElement("aside",Object.assign({className:gt},Te,{style:xt,ref:it}),c.createElement("div",{className:`${oe}-children`},ve),I||Ht&&Fe?ft:null)))})},6989:function(On,at,h){"use strict";h.d(at,{V:function(){return ie}});var c=h(59301);const ie=c.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(On,at,h){"use strict";h.d(at,{eh:function(){return le},jn:function(){return j}});var c=h(36237),ie=h(16931);const O=v=>{const{antCls:re,componentCls:ee,colorText:o,footerBg:C,headerHeight:F,headerPadding:x,headerColor:A,footerPadding:L,fontSize:z,bodyBg:G,headerBg:Z}=v;return{[ee]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:G,"&, *":{boxSizing:"border-box"},[`&${ee}-has-sider`]:{flexDirection:"row",[`> ${ee}, > ${ee}-content`]:{width:0}},[`${ee}-header, &${ee}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${ee}-header`]:{height:F,padding:x,color:A,lineHeight:(0,c.unit)(F),background:Z,[`${re}-menu`]:{lineHeight:"inherit"}},[`${ee}-footer`]:{padding:L,color:o,fontSize:z,background:C},[`${ee}-content`]:{flex:"auto",color:o,minHeight:0}}},le=v=>{const{colorBgLayout:re,controlHeight:ee,controlHeightLG:o,colorText:C,controlHeightSM:F,marginXXS:x,colorTextLightSolid:A,colorBgContainer:L}=v,z=o*1.25;return{colorBgHeader:"#001529",colorBgBody:re,colorBgTrigger:"#002140",bodyBg:re,headerBg:"#001529",headerHeight:ee*2,headerPadding:`0 ${z}px`,headerColor:C,footerPadding:`${F}px ${z}px`,footerBg:re,siderBg:"#001529",triggerHeight:o+x*2,triggerBg:"#002140",triggerColor:A,zeroTriggerWidth:o,zeroTriggerHeight:o,lightSiderBg:L,lightTriggerBg:L,lightTriggerColor:C}},j=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];at.ZP=(0,ie.I$)("Layout",v=>[O(v)],le,{deprecatedTokens:j})},78857:function(On,at,h){"use strict";h.d(at,{J:function(){return v}});var c=h(59301),ie=h(8654),O=h(62487),le=function(re,ee){var o={};for(var C in re)Object.prototype.hasOwnProperty.call(re,C)&&ee.indexOf(C)<0&&(o[C]=re[C]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,C=Object.getOwnPropertySymbols(re);F<C.length;F++)ee.indexOf(C[F])<0&&Object.prototype.propertyIsEnumerable.call(re,C[F])&&(o[C[F]]=re[C[F]]);return o};const j=c.createContext(null),v=c.forwardRef((re,ee)=>{const{children:o}=re,C=le(re,["children"]),F=c.useContext(j),x=c.useMemo(()=>Object.assign(Object.assign({},F),C),[F,C.prefixCls,C.mode,C.selectable,C.rootClassName]),A=(0,ie.t4)(o),L=(0,ie.x1)(ee,A?(0,ie.C4)(o):null);return c.createElement(j.Provider,{value:x},c.createElement(O.Z,{space:!0},A?c.cloneElement(o,{ref:L}):o))});at.Z=j},93041:function(On,at,h){"use strict";h.d(at,{default:function(){return qe}});var c=h(59301),ie=h(28321),O=h(24303),le=h(18785),j=h(92310),v=h.n(j),re=h(6089),ee=h(2738),o=h(86641),C=h(22703),F=h(48755),x=h(83397),L=(0,c.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),z=function(Me,U){var M={};for(var ye in Me)Object.prototype.hasOwnProperty.call(Me,ye)&&U.indexOf(ye)<0&&(M[ye]=Me[ye]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ye=Object.getOwnPropertySymbols(Me);Te<ye.length;Te++)U.indexOf(ye[Te])<0&&Object.prototype.propertyIsEnumerable.call(Me,ye[Te])&&(M[ye[Te]]=Me[ye[Te]]);return M},Z=Me=>{const{prefixCls:U,className:M,dashed:ye}=Me,Te=z(Me,["prefixCls","className","dashed"]),{getPrefixCls:xe}=c.useContext(F.E_),ae=xe("menu",U),Fe=v()({[`${ae}-item-divider-dashed`]:!!ye},M);return c.createElement(ie.iz,Object.assign({className:Fe},Te))},W=h(11592),P=h(25399),g=Me=>{var U;const{className:M,children:ye,icon:Te,title:xe,danger:ae,extra:Fe}=Me,{prefixCls:nt,firstLevel:se,direction:me,disableMenuItemTitleTooltip:vt,inlineCollapsed:ft}=c.useContext(L),xt=et=>{const E=ye==null?void 0:ye[0],D=c.createElement("span",{className:v()(`${nt}-title-content`,{[`${nt}-title-content-with-extra`]:!!Fe||Fe===0})},ye);return(!Te||c.isValidElement(ye)&&ye.type==="span")&&ye&&et&&se&&typeof E=="string"?c.createElement("div",{className:`${nt}-inline-collapsed-noicon`},E.charAt(0)):D},{siderCollapsed:gt}=c.useContext(O.D);let tt=xe;typeof xe=="undefined"?tt=se?ye:"":xe===!1&&(tt="");const Pt={title:tt};!gt&&!ft&&(Pt.title=null,Pt.open=!1);const _t=(0,W.Z)(ye).length;let Ae=c.createElement(ie.ck,Object.assign({},(0,ee.Z)(Me,["title","icon","danger"]),{className:v()({[`${nt}-item-danger`]:ae,[`${nt}-item-only-child`]:(Te?_t+1:_t)===1},M),title:typeof xe=="string"?xe:void 0}),(0,C.Tm)(Te,{className:v()(c.isValidElement(Te)?(U=Te.props)===null||U===void 0?void 0:U.className:"",`${nt}-item-icon`)}),xt(ft));return vt||(Ae=c.createElement(P.Z,Object.assign({},Pt,{placement:me==="rtl"?"left":"right",classNames:{root:`${nt}-inline-collapsed-tooltip`}}),Ae)),Ae},T=h(78857),fe=h(36237),Ee=h(17835),pe=h(63356),Be=h(34961),je=h(46e3),Le=h(34925),it=h(16931),ce=h(51636),N=Me=>{const{componentCls:U,motionDurationSlow:M,horizontalLineHeight:ye,colorSplit:Te,lineWidth:xe,lineType:ae,itemPaddingInline:Fe}=Me;return{[`${U}-horizontal`]:{lineHeight:ye,border:0,borderBottom:`${(0,fe.unit)(xe)} ${ae} ${Te}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${U}-item, ${U}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Fe},[`> ${U}-item:hover,
|
|
> ${U}-item-active,
|
|
> ${U}-submenu ${U}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${U}-item, ${U}-submenu-title`]:{transition:[`border-color ${M}`,`background ${M}`].join(",")},[`${U}-submenu-arrow`]:{display:"none"}}}},ue=Me=>{let{componentCls:U,menuArrowOffset:M,calc:ye}=Me;return{[`${U}-rtl`]:{direction:"rtl"},[`${U}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${U}-rtl${U}-vertical,
|
|
${U}-submenu-rtl ${U}-vertical`]:{[`${U}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,fe.unit)(ye(M).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,fe.unit)(M)})`}}}}};const we=Me=>Object.assign({},(0,pe.oN)(Me));var I=(Me,U)=>{const{componentCls:M,itemColor:ye,itemSelectedColor:Te,subMenuItemSelectedColor:xe,groupTitleColor:ae,itemBg:Fe,subMenuItemBg:nt,itemSelectedBg:se,activeBarHeight:me,activeBarWidth:vt,activeBarBorderWidth:ft,motionDurationSlow:xt,motionEaseInOut:gt,motionEaseOut:tt,itemPaddingInline:Pt,motionDurationMid:_t,itemHoverColor:Ae,lineType:et,colorSplit:E,itemDisabledColor:D,dangerItemColor:Ve,dangerItemHoverColor:ne,dangerItemSelectedColor:q,dangerItemActiveBg:jt,dangerItemSelectedBg:Ue,popupBg:st,itemHoverBg:ht,itemActiveBg:de,menuSubMenuBg:be,horizontalItemSelectedColor:We,horizontalItemSelectedBg:Ze,horizontalItemBorderRadius:Q,horizontalItemHoverBg:Mt}=Me;return{[`${M}-${U}, ${M}-${U} > ${M}`]:{color:ye,background:Fe,[`&${M}-root:focus-visible`]:Object.assign({},we(Me)),[`${M}-item`]:{"&-group-title, &-extra":{color:ae}},[`${M}-submenu-selected > ${M}-submenu-title`]:{color:xe},[`${M}-item, ${M}-submenu-title`]:{color:ye,[`&:not(${M}-item-disabled):focus-visible`]:Object.assign({},we(Me))},[`${M}-item-disabled, ${M}-submenu-disabled`]:{color:`${D} !important`},[`${M}-item:not(${M}-item-selected):not(${M}-submenu-selected)`]:{[`&:hover, > ${M}-submenu-title:hover`]:{color:Ae}},[`&:not(${M}-horizontal)`]:{[`${M}-item:not(${M}-item-selected)`]:{"&:hover":{backgroundColor:ht},"&:active":{backgroundColor:de}},[`${M}-submenu-title`]:{"&:hover":{backgroundColor:ht},"&:active":{backgroundColor:de}}},[`${M}-item-danger`]:{color:Ve,[`&${M}-item:hover`]:{[`&:not(${M}-item-selected):not(${M}-submenu-selected)`]:{color:ne}},[`&${M}-item:active`]:{background:jt}},[`${M}-item a`]:{"&, &:hover":{color:"inherit"}},[`${M}-item-selected`]:{color:Te,[`&${M}-item-danger`]:{color:q},"a, a:hover":{color:"inherit"}},[`& ${M}-item-selected`]:{backgroundColor:se,[`&${M}-item-danger`]:{backgroundColor:Ue}},[`&${M}-submenu > ${M}`]:{backgroundColor:be},[`&${M}-popup > ${M}`]:{backgroundColor:st},[`&${M}-submenu-popup > ${M}`]:{backgroundColor:st},[`&${M}-horizontal`]:Object.assign(Object.assign({},U==="dark"?{borderBottom:0}:{}),{[`> ${M}-item, > ${M}-submenu`]:{top:ft,marginTop:Me.calc(ft).mul(-1).equal(),marginBottom:0,borderRadius:Q,"&::after":{position:"absolute",insetInline:Pt,bottom:0,borderBottom:`${(0,fe.unit)(me)} solid transparent`,transition:`border-color ${xt} ${gt}`,content:'""'},"&:hover, &-active, &-open":{background:Mt,"&::after":{borderBottomWidth:me,borderBottomColor:We}},"&-selected":{color:We,backgroundColor:Ze,"&:hover":{backgroundColor:Ze},"&::after":{borderBottomWidth:me,borderBottomColor:We}}}}),[`&${M}-root`]:{[`&${M}-inline, &${M}-vertical`]:{borderInlineEnd:`${(0,fe.unit)(ft)} ${et} ${E}`}},[`&${M}-inline`]:{[`${M}-sub${M}-inline`]:{background:nt},[`${M}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,fe.unit)(vt)} solid ${Te}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${_t} ${tt}`,`opacity ${_t} ${tt}`].join(","),content:'""'},[`&${M}-item-danger`]:{"&::after":{borderInlineEndColor:q}}},[`${M}-selected, ${M}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${_t} ${gt}`,`opacity ${_t} ${gt}`].join(",")}}}}}};const he=Me=>{const{componentCls:U,itemHeight:M,itemMarginInline:ye,padding:Te,menuArrowSize:xe,marginXS:ae,itemMarginBlock:Fe,itemWidth:nt,itemPaddingInline:se}=Me,me=Me.calc(xe).add(Te).add(ae).equal();return{[`${U}-item`]:{position:"relative",overflow:"hidden"},[`${U}-item, ${U}-submenu-title`]:{height:M,lineHeight:(0,fe.unit)(M),paddingInline:se,overflow:"hidden",textOverflow:"ellipsis",marginInline:ye,marginBlock:Fe,width:nt},[`> ${U}-item,
|
|
> ${U}-submenu > ${U}-submenu-title`]:{height:M,lineHeight:(0,fe.unit)(M)},[`${U}-item-group-list ${U}-submenu-title,
|
|
${U}-submenu-title`]:{paddingInlineEnd:me}}};var Qe=Me=>{const{componentCls:U,iconCls:M,itemHeight:ye,colorTextLightSolid:Te,dropdownWidth:xe,controlHeightLG:ae,motionEaseOut:Fe,paddingXL:nt,itemMarginInline:se,fontSizeLG:me,motionDurationFast:vt,motionDurationSlow:ft,paddingXS:xt,boxShadowSecondary:gt,collapsedWidth:tt,collapsedIconSize:Pt}=Me,_t={height:ye,lineHeight:(0,fe.unit)(ye),listStylePosition:"inside",listStyleType:"disc"};return[{[U]:{"&-inline, &-vertical":Object.assign({[`&${U}-root`]:{boxShadow:"none"}},he(Me))},[`${U}-submenu-popup`]:{[`${U}-vertical`]:Object.assign(Object.assign({},he(Me)),{boxShadow:gt})}},{[`${U}-submenu-popup ${U}-vertical${U}-sub`]:{minWidth:xe,maxHeight:`calc(100vh - ${(0,fe.unit)(Me.calc(ae).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${U}-inline`]:{width:"100%",[`&${U}-root`]:{[`${U}-item, ${U}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ft}`,`background ${ft}`,`padding ${vt} ${Fe}`].join(","),[`> ${U}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${U}-sub${U}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${U}-submenu > ${U}-submenu-title`]:_t,[`& ${U}-item-group-title`]:{paddingInlineStart:nt}},[`${U}-item`]:_t}},{[`${U}-inline-collapsed`]:{width:tt,[`&${U}-root`]:{[`${U}-item, ${U}-submenu ${U}-submenu-title`]:{[`> ${U}-inline-collapsed-noicon`]:{fontSize:me,textAlign:"center"}}},[`> ${U}-item,
|
|
> ${U}-item-group > ${U}-item-group-list > ${U}-item,
|
|
> ${U}-item-group > ${U}-item-group-list > ${U}-submenu > ${U}-submenu-title,
|
|
> ${U}-submenu > ${U}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,fe.unit)(Me.calc(Pt).div(2).equal())} - ${(0,fe.unit)(se)})`,textOverflow:"clip",[`
|
|
${U}-submenu-arrow,
|
|
${U}-submenu-expand-icon
|
|
`]:{opacity:0},[`${U}-item-icon, ${M}`]:{margin:0,fontSize:Pt,lineHeight:(0,fe.unit)(ye),"+ span":{display:"inline-block",opacity:0}}},[`${U}-item-icon, ${M}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${U}-item-icon, ${M}`]:{display:"none"},"a, a:hover":{color:Te}},[`${U}-item-group-title`]:Object.assign(Object.assign({},pe.vS),{paddingInline:xt})}}]};const Et=Me=>{const{componentCls:U,motionDurationSlow:M,motionDurationMid:ye,motionEaseInOut:Te,motionEaseOut:xe,iconCls:ae,iconSize:Fe,iconMarginInlineEnd:nt}=Me;return{[`${U}-item, ${U}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${M}`,`background ${M}`,`padding calc(${M} + 0.1s) ${Te}`].join(","),[`${U}-item-icon, ${ae}`]:{minWidth:Fe,fontSize:Fe,transition:[`font-size ${ye} ${xe}`,`margin ${M} ${Te}`,`color ${M}`].join(","),"+ span":{marginInlineStart:nt,opacity:1,transition:[`opacity ${M} ${Te}`,`margin ${M}`,`color ${M}`].join(",")}},[`${U}-item-icon`]:Object.assign({},(0,pe.Ro)()),[`&${U}-item-only-child`]:{[`> ${ae}, > ${U}-item-icon`]:{marginInlineEnd:0}}},[`${U}-item-disabled, ${U}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${U}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},He=Me=>{const{componentCls:U,motionDurationSlow:M,motionEaseInOut:ye,borderRadius:Te,menuArrowSize:xe,menuArrowOffset:ae}=Me;return{[`${U}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Me.margin,width:xe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${M} ${ye}, opacity ${M}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Me.calc(xe).mul(.6).equal(),height:Me.calc(xe).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Te,transition:[`background ${M} ${ye}`,`transform ${M} ${ye}`,`top ${M} ${ye}`,`color ${M} ${ye}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,fe.unit)(Me.calc(ae).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,fe.unit)(ae)})`}}}}},Oe=Me=>{const{antCls:U,componentCls:M,fontSize:ye,motionDurationSlow:Te,motionDurationMid:xe,motionEaseInOut:ae,paddingXS:Fe,padding:nt,colorSplit:se,lineWidth:me,zIndexPopup:vt,borderRadiusLG:ft,subMenuItemBorderRadius:xt,menuArrowSize:gt,menuArrowOffset:tt,lineType:Pt,groupTitleLineHeight:_t,groupTitleFontSize:Ae}=Me;return[{"":{[M]:Object.assign(Object.assign({},(0,pe.dF)()),{"&-hidden":{display:"none"}})},[`${M}-submenu-hidden`]:{display:"none"}},{[M]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(Me)),(0,pe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:ye,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Te} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${M}-item`]:{flex:"none"}},[`${M}-item, ${M}-submenu, ${M}-submenu-title`]:{borderRadius:Me.itemBorderRadius},[`${M}-item-group-title`]:{padding:`${(0,fe.unit)(Fe)} ${(0,fe.unit)(nt)}`,fontSize:Ae,lineHeight:_t,transition:`all ${Te}`},[`&-horizontal ${M}-submenu`]:{transition:[`border-color ${Te} ${ae}`,`background ${Te} ${ae}`].join(",")},[`${M}-submenu, ${M}-submenu-inline`]:{transition:[`border-color ${Te} ${ae}`,`background ${Te} ${ae}`,`padding ${xe} ${ae}`].join(",")},[`${M}-submenu ${M}-sub`]:{cursor:"initial",transition:[`background ${Te} ${ae}`,`padding ${Te} ${ae}`].join(",")},[`${M}-title-content`]:{transition:`color ${Te}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${U}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${M}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:Me.padding}},[`${M}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${M}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:se,borderStyle:Pt,borderWidth:0,borderTopWidth:me,marginBlock:me,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Et(Me)),{[`${M}-item-group`]:{[`${M}-item-group-list`]:{margin:0,padding:0,[`${M}-item, ${M}-submenu-title`]:{paddingInline:`${(0,fe.unit)(Me.calc(ye).mul(2).equal())} ${(0,fe.unit)(nt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:vt,borderRadius:ft,boxShadow:"none",transformOrigin:"0 0",[`&${M}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${M}`]:Object.assign(Object.assign(Object.assign({borderRadius:ft},Et(Me)),He(Me)),{[`${M}-item, ${M}-submenu > ${M}-submenu-title`]:{borderRadius:xt},[`${M}-submenu-title::after`]:{transition:`transform ${Te} ${ae}`}})},"\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:Me.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Me.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Me.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Me.paddingXS}}}),He(Me)),{[`&-inline-collapsed ${M}-submenu-arrow,
|
|
&-inline ${M}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,fe.unit)(tt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,fe.unit)(Me.calc(tt).mul(-1).equal())})`}},[`${M}-submenu-open${M}-submenu-inline > ${M}-submenu-title > ${M}-submenu-arrow`]:{transform:`translateY(${(0,fe.unit)(Me.calc(gt).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,fe.unit)(Me.calc(tt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,fe.unit)(tt)})`}}})},{[`${U}-layout-header`]:{[M]:{lineHeight:"inherit"}}}]},lt=Me=>{var U,M,ye;const{colorPrimary:Te,colorError:xe,colorTextDisabled:ae,colorErrorBg:Fe,colorText:nt,colorTextDescription:se,colorBgContainer:me,colorFillAlter:vt,colorFillContent:ft,lineWidth:xt,lineWidthBold:gt,controlItemBgActive:tt,colorBgTextHover:Pt,controlHeightLG:_t,lineHeight:Ae,colorBgElevated:et,marginXXS:E,padding:D,fontSize:Ve,controlHeightSM:ne,fontSizeLG:q,colorTextLightSolid:jt,colorErrorHover:Ue}=Me,st=(U=Me.activeBarWidth)!==null&&U!==void 0?U:0,ht=(M=Me.activeBarBorderWidth)!==null&&M!==void 0?M:xt,de=(ye=Me.itemMarginInline)!==null&&ye!==void 0?ye:Me.marginXXS,be=new Ee.FastColor(jt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Me.zIndexPopupBase+50,radiusItem:Me.borderRadiusLG,itemBorderRadius:Me.borderRadiusLG,radiusSubMenuItem:Me.borderRadiusSM,subMenuItemBorderRadius:Me.borderRadiusSM,colorItemText:nt,itemColor:nt,colorItemTextHover:nt,itemHoverColor:nt,colorItemTextHoverHorizontal:Te,horizontalItemHoverColor:Te,colorGroupTitle:se,groupTitleColor:se,colorItemTextSelected:Te,itemSelectedColor:Te,subMenuItemSelectedColor:Te,colorItemTextSelectedHorizontal:Te,horizontalItemSelectedColor:Te,colorItemBg:me,itemBg:me,colorItemBgHover:Pt,itemHoverBg:Pt,colorItemBgActive:ft,itemActiveBg:tt,colorSubItemBg:vt,subMenuItemBg:vt,colorItemBgSelected:tt,itemSelectedBg:tt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:st,colorActiveBarHeight:gt,activeBarHeight:gt,colorActiveBarBorderSize:xt,activeBarBorderWidth:ht,colorItemTextDisabled:ae,itemDisabledColor:ae,colorDangerItemText:xe,dangerItemColor:xe,colorDangerItemTextHover:xe,dangerItemHoverColor:xe,colorDangerItemTextSelected:xe,dangerItemSelectedColor:xe,colorDangerItemBgActive:Fe,dangerItemActiveBg:Fe,colorDangerItemBgSelected:Fe,dangerItemSelectedBg:Fe,itemMarginInline:de,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:_t,groupTitleLineHeight:Ae,collapsedWidth:_t*2,popupBg:et,itemMarginBlock:E,itemPaddingInline:D,horizontalLineHeight:`${_t*1.15}px`,iconSize:Ve,iconMarginInlineEnd:ne-Ve,collapsedIconSize:q,groupTitleFontSize:Ve,darkItemDisabledColor:new Ee.FastColor(jt).setA(.25).toRgbString(),darkItemColor:be,darkDangerItemColor:xe,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:jt,darkItemSelectedBg:Te,darkDangerItemSelectedBg:xe,darkItemHoverBg:"transparent",darkGroupTitleColor:be,darkItemHoverColor:jt,darkDangerItemHoverColor:Ue,darkDangerItemSelectedColor:jt,darkDangerItemActiveBg:xe,itemWidth:st?`calc(100% + ${ht}px)`:`calc(100% - ${de*2}px)`}};var St=function(Me){let U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Me,M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,it.I$)("Menu",Te=>{const{colorBgElevated:xe,controlHeightLG:ae,fontSize:Fe,darkItemColor:nt,darkDangerItemColor:se,darkItemBg:me,darkSubMenuItemBg:vt,darkItemSelectedColor:ft,darkItemSelectedBg:xt,darkDangerItemSelectedBg:gt,darkItemHoverBg:tt,darkGroupTitleColor:Pt,darkItemHoverColor:_t,darkItemDisabledColor:Ae,darkDangerItemHoverColor:et,darkDangerItemSelectedColor:E,darkDangerItemActiveBg:D,popupBg:Ve,darkPopupBg:ne}=Te,q=Te.calc(Fe).div(7).mul(5).equal(),jt=(0,ce.mergeToken)(Te,{menuArrowSize:q,menuHorizontalHeight:Te.calc(ae).mul(1.15).equal(),menuArrowOffset:Te.calc(q).mul(.25).equal(),menuSubMenuBg:xe,calc:Te.calc,popupBg:Ve}),Ue=(0,ce.mergeToken)(jt,{itemColor:nt,itemHoverColor:_t,groupTitleColor:Pt,itemSelectedColor:ft,subMenuItemSelectedColor:ft,itemBg:me,popupBg:ne,subMenuItemBg:vt,itemActiveBg:"transparent",itemSelectedBg:xt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:tt,itemDisabledColor:Ae,dangerItemColor:se,dangerItemHoverColor:et,dangerItemSelectedColor:E,dangerItemActiveBg:D,dangerItemSelectedBg:gt,menuSubMenuBg:vt,horizontalItemSelectedColor:ft,horizontalItemSelectedBg:xt});return[Oe(jt),N(jt),Qe(jt),I(jt,"light"),I(Ue,"dark"),ue(jt),(0,Be.Z)(jt),(0,je.oN)(jt,"slide-up"),(0,je.oN)(jt,"slide-down"),(0,Le._y)(jt,"zoom-big")]},lt,{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"]],injectStyle:M,unitless:{groupTitleLineHeight:!0}})(Me,U)},ze=h(75030),ke=Me=>{var U;const{popupClassName:M,icon:ye,title:Te,theme:xe}=Me,ae=c.useContext(L),{prefixCls:Fe,inlineCollapsed:nt,theme:se}=ae,me=(0,ie.Xl)();let vt;if(!ye)vt=nt&&!me.length&&Te&&typeof Te=="string"?c.createElement("div",{className:`${Fe}-inline-collapsed-noicon`},Te.charAt(0)):c.createElement("span",{className:`${Fe}-title-content`},Te);else{const gt=c.isValidElement(Te)&&Te.type==="span";vt=c.createElement(c.Fragment,null,(0,C.Tm)(ye,{className:v()(c.isValidElement(ye)?(U=ye.props)===null||U===void 0?void 0:U.className:"",`${Fe}-item-icon`)}),gt?Te:c.createElement("span",{className:`${Fe}-title-content`},Te))}const ft=c.useMemo(()=>Object.assign(Object.assign({},ae),{firstLevel:!1}),[ae]),[xt]=(0,ze.Cn)("Menu");return c.createElement(L.Provider,{value:ft},c.createElement(ie.Wd,Object.assign({},(0,ee.Z)(Me,["icon"]),{title:vt,popupClassName:v()(Fe,M,`${Fe}-${xe||se}`),popupStyle:Object.assign({zIndex:xt},Me.popupStyle)})))},Ht=function(Me,U){var M={};for(var ye in Me)Object.prototype.hasOwnProperty.call(Me,ye)&&U.indexOf(ye)<0&&(M[ye]=Me[ye]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ye=Object.getOwnPropertySymbols(Me);Te<ye.length;Te++)U.indexOf(ye[Te])<0&&Object.prototype.propertyIsEnumerable.call(Me,ye[Te])&&(M[ye[Te]]=Me[ye[Te]]);return M};function dt(Me){return Me===null||Me===!1}const ct={item:g,submenu:ke,divider:Z};var Re=(0,c.forwardRef)((Me,U)=>{var M;const ye=c.useContext(T.Z),Te=ye||{},{getPrefixCls:xe,getPopupContainer:ae,direction:Fe,menu:nt}=c.useContext(F.E_),se=xe(),{prefixCls:me,className:vt,style:ft,theme:xt="light",expandIcon:gt,_internalDisableMenuItemTitleTooltip:tt,inlineCollapsed:Pt,siderCollapsed:_t,rootClassName:Ae,mode:et,selectable:E,onClick:D,overflowedIndicatorPopupClassName:Ve}=Me,ne=Ht(Me,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),q=(0,ee.Z)(ne,["collapsedWidth"]);(M=Te.validator)===null||M===void 0||M.call(Te,{mode:et});const jt=(0,re.Z)(function(){var xn;D==null||D.apply(void 0,arguments),(xn=Te.onClick)===null||xn===void 0||xn.call(Te)}),Ue=Te.mode||et,st=E!=null?E:Te.selectable,ht=Pt!=null?Pt:_t,de={horizontal:{motionName:`${se}-slide-up`},inline:(0,o.Z)(se),other:{motionName:`${se}-zoom-big`}},be=xe("menu",me||Te.prefixCls),We=(0,x.Z)(be),[Ze,Q,Mt]=St(be,We,!ye),_e=v()(`${be}-${xt}`,nt==null?void 0:nt.className,vt),bt=c.useMemo(()=>{var xn,Er;if(typeof gt=="function"||dt(gt))return gt||null;if(typeof Te.expandIcon=="function"||dt(Te.expandIcon))return Te.expandIcon||null;if(typeof(nt==null?void 0:nt.expandIcon)=="function"||dt(nt==null?void 0:nt.expandIcon))return(nt==null?void 0:nt.expandIcon)||null;const vr=(xn=gt!=null?gt:Te==null?void 0:Te.expandIcon)!==null&&xn!==void 0?xn:nt==null?void 0:nt.expandIcon;return(0,C.Tm)(vr,{className:v()(`${be}-submenu-expand-icon`,c.isValidElement(vr)?(Er=vr.props)===null||Er===void 0?void 0:Er.className:void 0)})},[gt,Te==null?void 0:Te.expandIcon,nt==null?void 0:nt.expandIcon,be]),An=c.useMemo(()=>({prefixCls:be,inlineCollapsed:ht||!1,direction:Fe,firstLevel:!0,theme:xt,mode:Ue,disableMenuItemTitleTooltip:tt}),[be,ht,Fe,tt,xt]);return Ze(c.createElement(T.Z.Provider,{value:null},c.createElement(L.Provider,{value:An},c.createElement(ie.ZP,Object.assign({getPopupContainer:ae,overflowedIndicator:c.createElement(le.Z,null),overflowedIndicatorPopupClassName:v()(be,`${be}-${xt}`,Ve),mode:Ue,selectable:st,onClick:jt},q,{inlineCollapsed:ht,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),ft),className:_e,prefixCls:be,direction:Fe,defaultMotions:de,expandIcon:bt,ref:U,rootClassName:v()(Ae,Q,Te.rootClassName,Mt,We),_internalComponents:ct})))))});const oe=(0,c.forwardRef)((Me,U)=>{const M=(0,c.useRef)(null),ye=c.useContext(O.D);return(0,c.useImperativeHandle)(U,()=>({menu:M.current,focus:Te=>{var xe;(xe=M.current)===null||xe===void 0||xe.focus(Te)}})),c.createElement(Re,Object.assign({ref:M},Me,ye))});oe.Item=g,oe.SubMenu=ke,oe.Divider=Z,oe.ItemGroup=ie.BW;var qe=oe},31709:function(On,at,h){"use strict";h.d(at,{Z:function(){return nt}});var c=h(59301),ie=h(60499),O={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"},le=O,j=h(7657),v=function(me,vt){return c.createElement(j.Z,(0,ie.Z)({},me,{ref:vt,icon:le}))},re=c.forwardRef(v),ee=re,o=h(49198),C=h(33853),F=h(38819),x=h(92310),A=h.n(x),L=h(18642),z=h(43749),G=h(85899),Z=h(72190),W=h(18929),P=h(10228),K=h(26112),g=h(48736),T=h(17119),fe=[10,20,50,100],Ee=function(me){var vt=me.pageSizeOptions,ft=vt===void 0?fe:vt,xt=me.locale,gt=me.changeSize,tt=me.pageSize,Pt=me.goButton,_t=me.quickGo,Ae=me.rootPrefixCls,et=me.disabled,E=me.buildOptionText,D=me.showSizeChanger,Ve=me.sizeChangerRender,ne=c.useState(""),q=(0,Z.Z)(ne,2),jt=q[0],Ue=q[1],st=function(){return!jt||Number.isNaN(jt)?void 0:Number(jt)},ht=typeof E=="function"?E:function(An){return"".concat(An," ").concat(xt.items_per_page)},de=function(xn){Ue(xn.target.value)},be=function(xn){Pt||jt===""||(Ue(""),!(xn.relatedTarget&&(xn.relatedTarget.className.indexOf("".concat(Ae,"-item-link"))>=0||xn.relatedTarget.className.indexOf("".concat(Ae,"-item"))>=0))&&(_t==null||_t(st())))},We=function(xn){jt!==""&&(xn.keyCode===P.Z.ENTER||xn.type==="click")&&(Ue(""),_t==null||_t(st()))},Ze=function(){return ft.some(function(xn){return xn.toString()===tt.toString()})?ft:ft.concat([tt]).sort(function(xn,Er){var vr=Number.isNaN(Number(xn))?0:Number(xn),gr=Number.isNaN(Number(Er))?0:Number(Er);return vr-gr})},Q="".concat(Ae,"-options");if(!D&&!_t)return null;var Mt=null,_e=null,bt=null;return D&&Ve&&(Mt=Ve({disabled:et,size:tt,onSizeChange:function(xn){gt==null||gt(Number(xn))},"aria-label":xt.page_size,className:"".concat(Q,"-size-changer"),options:Ze().map(function(An){return{label:ht(An),value:An}})})),_t&&(Pt&&(bt=typeof Pt=="boolean"?c.createElement("button",{type:"button",onClick:We,onKeyUp:We,disabled:et,className:"".concat(Q,"-quick-jumper-button")},xt.jump_to_confirm):c.createElement("span",{onClick:We,onKeyUp:We},Pt)),_e=c.createElement("div",{className:"".concat(Q,"-quick-jumper")},xt.jump_to,c.createElement("input",{disabled:et,type:"text",value:jt,onChange:de,onKeyUp:We,onBlur:be,"aria-label":xt.page}),xt.page,bt)),c.createElement("li",{className:Q},Mt,_e)},pe=Ee,Be=function(me){var vt=me.rootPrefixCls,ft=me.page,xt=me.active,gt=me.className,tt=me.showTitle,Pt=me.onClick,_t=me.onKeyPress,Ae=me.itemRender,et="".concat(vt,"-item"),E=A()(et,"".concat(et,"-").concat(ft),(0,L.Z)((0,L.Z)({},"".concat(et,"-active"),xt),"".concat(et,"-disabled"),!ft),gt),D=function(){Pt(ft)},Ve=function(jt){_t(jt,Pt,ft)},ne=Ae(ft,"page",c.createElement("a",{rel:"nofollow"},ft));return ne?c.createElement("li",{title:tt?String(ft):null,className:E,onClick:D,onKeyDown:Ve,tabIndex:0},ne):null},je=Be,Le=function(me,vt,ft){return ft};function it(){}function ce(se){var me=Number(se);return typeof me=="number"&&!Number.isNaN(me)&&isFinite(me)&&Math.floor(me)===me}function Y(se,me,vt){var ft=typeof se=="undefined"?me:se;return Math.floor((vt-1)/ft)+1}var N=function(me){var vt=me.prefixCls,ft=vt===void 0?"rc-pagination":vt,xt=me.selectPrefixCls,gt=xt===void 0?"rc-select":xt,tt=me.className,Pt=me.current,_t=me.defaultCurrent,Ae=_t===void 0?1:_t,et=me.total,E=et===void 0?0:et,D=me.pageSize,Ve=me.defaultPageSize,ne=Ve===void 0?10:Ve,q=me.onChange,jt=q===void 0?it:q,Ue=me.hideOnSinglePage,st=me.align,ht=me.showPrevNextJumpers,de=ht===void 0?!0:ht,be=me.showQuickJumper,We=me.showLessItems,Ze=me.showTitle,Q=Ze===void 0?!0:Ze,Mt=me.onShowSizeChange,_e=Mt===void 0?it:Mt,bt=me.locale,An=bt===void 0?T.Z:bt,xn=me.style,Er=me.totalBoundaryShowSizeChanger,vr=Er===void 0?50:Er,gr=me.disabled,Hr=me.simple,fi=me.showTotal,lr=me.showSizeChanger,ii=lr===void 0?E>vr:lr,Wn=me.sizeChangerRender,Bt=me.pageSizeOptions,En=me.itemRender,nn=En===void 0?Le:En,Yr=me.jumpPrevIcon,Lt=me.jumpNextIcon,It=me.prevIcon,kn=me.nextIcon,vn=c.useRef(null),In=(0,W.Z)(10,{value:D,defaultValue:ne}),jn=(0,Z.Z)(In,2),Dn=jn[0],$n=jn[1],br=(0,W.Z)(1,{value:Pt,defaultValue:Ae,postState:function(or){return Math.max(1,Math.min(or,Y(void 0,Dn,E)))}}),cr=(0,Z.Z)(br,2),Tn=cr[0],dr=cr[1],Pr=c.useState(Tn),hr=(0,Z.Z)(Pr,2),Dt=hr[0],kt=hr[1];(0,c.useEffect)(function(){kt(Tn)},[Tn]);var pn=jt!==it,an="current"in me,cn=Math.max(1,Tn-(We?3:5)),_n=Math.min(Y(void 0,Dn,E),Tn+(We?3:5));function Mn(rr,or){var ia=rr||c.createElement("button",{type:"button","aria-label":or,className:"".concat(ft,"-item-link")});return typeof rr=="function"&&(ia=c.createElement(rr,(0,G.Z)({},me))),ia}function nr(rr){var or=rr.target.value,ia=Y(void 0,Dn,E),Fn;return or===""?Fn=or:Number.isNaN(Number(or))?Fn=Dt:or>=ia?Fn=ia:Fn=Number(or),Fn}function _r(rr){return ce(rr)&&rr!==Tn&&ce(E)&&E>0}var Nr=E>Dn?be:!1;function Ui(rr){(rr.keyCode===P.Z.UP||rr.keyCode===P.Z.DOWN)&&rr.preventDefault()}function Ir(rr){var or=nr(rr);switch(or!==Dt&&kt(or),rr.keyCode){case P.Z.ENTER:rt(or);break;case P.Z.UP:rt(or-1);break;case P.Z.DOWN:rt(or+1);break;default:break}}function Lr(rr){rt(nr(rr))}function xi(rr){var or=Y(rr,Dn,E),ia=Tn>or&&or!==0?or:Tn;$n(rr),kt(ia),_e==null||_e(Tn,rr),dr(ia),jt==null||jt(ia,rr)}function rt(rr){if(_r(rr)&&!gr){var or=Y(void 0,Dn,E),ia=rr;return rr>or?ia=or:rr<1&&(ia=1),ia!==Dt&&kt(ia),dr(ia),jt==null||jt(ia,Dn),ia}return Tn}var Ei=Tn>1,Br=Tn<Y(void 0,Dn,E);function Fr(){Ei&&rt(Tn-1)}function Ii(){Br&&rt(Tn+1)}function Bi(){rt(cn)}function gi(){rt(_n)}function yi(rr,or){if(rr.key==="Enter"||rr.charCode===P.Z.ENTER||rr.keyCode===P.Z.ENTER){for(var ia=arguments.length,Fn=new Array(ia>2?ia-2:0),ba=2;ba<ia;ba++)Fn[ba-2]=arguments[ba];or.apply(void 0,Fn)}}function Mr(rr){yi(rr,Fr)}function $r(rr){yi(rr,Ii)}function Ea(rr){yi(rr,Bi)}function on(rr){yi(rr,gi)}function ei(rr){var or=nn(rr,"prev",Mn(It,"prev page"));return c.isValidElement(or)?c.cloneElement(or,{disabled:!Ei}):or}function Li(rr){var or=nn(rr,"next",Mn(kn,"next page"));return c.isValidElement(or)?c.cloneElement(or,{disabled:!Br}):or}function Ft(rr){(rr.type==="click"||rr.keyCode===P.Z.ENTER)&&rt(Dt)}var Zt=null,Gt=(0,K.Z)(me,{aria:!0,data:!0}),Zn=fi&&c.createElement("li",{className:"".concat(ft,"-total-text")},fi(E,[E===0?0:(Tn-1)*Dn+1,Tn*Dn>E?E:Tn*Dn])),sr=null,Un=Y(void 0,Dn,E);if(Ue&&E<=Dn)return null;var en=[],hn={rootPrefixCls:ft,onClick:rt,onKeyPress:yi,showTitle:Q,itemRender:nn,page:-1},$t=Tn-1>0?Tn-1:0,Nn=Tn+1<Un?Tn+1:Un,wr=be&&be.goButton,zr=(0,z.Z)(Hr)==="object"?Hr.readOnly:!Hr,Xn=wr,Rr=null;Hr&&(wr&&(typeof wr=="boolean"?Xn=c.createElement("button",{type:"button",onClick:Ft,onKeyUp:Ft},An.jump_to_confirm):Xn=c.createElement("span",{onClick:Ft,onKeyUp:Ft},wr),Xn=c.createElement("li",{title:Q?"".concat(An.jump_to).concat(Tn,"/").concat(Un):null,className:"".concat(ft,"-simple-pager")},Xn)),Rr=c.createElement("li",{title:Q?"".concat(Tn,"/").concat(Un):null,className:"".concat(ft,"-simple-pager")},zr?Dt:c.createElement("input",{type:"text","aria-label":An.jump_to,value:Dt,disabled:gr,onKeyDown:Ui,onKeyUp:Ir,onChange:Ir,onBlur:Lr,size:3}),c.createElement("span",{className:"".concat(ft,"-slash")},"/"),Un));var Zr=We?1:2;if(Un<=3+Zr*2){Un||en.push(c.createElement(je,(0,ie.Z)({},hn,{key:"noPager",page:1,className:"".concat(ft,"-item-disabled")})));for(var Gi=1;Gi<=Un;Gi+=1)en.push(c.createElement(je,(0,ie.Z)({},hn,{key:Gi,page:Gi,active:Tn===Gi})))}else{var sa=We?An.prev_3:An.prev_5,ya=We?An.next_3:An.next_5,Ri=nn(cn,"jump-prev",Mn(Yr,"prev page")),Sa=nn(_n,"jump-next",Mn(Lt,"next page"));de&&(Zt=Ri?c.createElement("li",{title:Q?sa:null,key:"prev",onClick:Bi,tabIndex:0,onKeyDown:Ea,className:A()("".concat(ft,"-jump-prev"),(0,L.Z)({},"".concat(ft,"-jump-prev-custom-icon"),!!Yr))},Ri):null,sr=Sa?c.createElement("li",{title:Q?ya:null,key:"next",onClick:gi,tabIndex:0,onKeyDown:on,className:A()("".concat(ft,"-jump-next"),(0,L.Z)({},"".concat(ft,"-jump-next-custom-icon"),!!Lt))},Sa):null);var zi=Math.max(1,Tn-Zr),oa=Math.min(Tn+Zr,Un);Tn-1<=Zr&&(oa=1+Zr*2),Un-Tn<=Zr&&(zi=Un-Zr*2);for(var ji=zi;ji<=oa;ji+=1)en.push(c.createElement(je,(0,ie.Z)({},hn,{key:ji,page:ji,active:Tn===ji})));if(Tn-1>=Zr*2&&Tn!==3&&(en[0]=c.cloneElement(en[0],{className:A()("".concat(ft,"-item-after-jump-prev"),en[0].props.className)}),en.unshift(Zt)),Un-Tn>=Zr*2&&Tn!==Un-2){var ra=en[en.length-1];en[en.length-1]=c.cloneElement(ra,{className:A()("".concat(ft,"-item-before-jump-next"),ra.props.className)}),en.push(sr)}zi!==1&&en.unshift(c.createElement(je,(0,ie.Z)({},hn,{key:1,page:1}))),oa!==Un&&en.push(c.createElement(je,(0,ie.Z)({},hn,{key:Un,page:Un})))}var Fi=ei($t);if(Fi){var da=!Ei||!Un;Fi=c.createElement("li",{title:Q?An.prev_page:null,onClick:Fr,tabIndex:da?null:0,onKeyDown:Mr,className:A()("".concat(ft,"-prev"),(0,L.Z)({},"".concat(ft,"-disabled"),da)),"aria-disabled":da},Fi)}var Kr=Li(Nn);if(Kr){var fa,kr;Hr?(fa=!Br,kr=Ei?0:null):(fa=!Br||!Un,kr=fa?null:0),Kr=c.createElement("li",{title:Q?An.next_page:null,onClick:Ii,tabIndex:kr,onKeyDown:$r,className:A()("".concat(ft,"-next"),(0,L.Z)({},"".concat(ft,"-disabled"),fa)),"aria-disabled":fa},Kr)}var _a=A()(ft,tt,(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({},"".concat(ft,"-start"),st==="start"),"".concat(ft,"-center"),st==="center"),"".concat(ft,"-end"),st==="end"),"".concat(ft,"-simple"),Hr),"".concat(ft,"-disabled"),gr));return c.createElement("ul",(0,ie.Z)({className:_a,style:xn,ref:vn},Gt),Zn,Fi,Hr?Rr:en,Kr,c.createElement(pe,{locale:An,rootPrefixCls:ft,disabled:gr,selectPrefixCls:gt,changeSize:xi,pageSize:Dn,pageSizeOptions:Bt,quickGo:Nr?rt:null,goButton:Xn,showSizeChanger:ii,sizeChangerRender:Wn}))},ve=N,ue=h(61852),we=h(48755),_=h(31756),I=h(13783),he=h(9017),Ne=h(82326),Qe=h(57700),Et=h(36237),He=h(53075),Oe=h(64910),lt=h(39082),St=h(63356),ze=h(51636),At=h(16931);const ke=se=>{const{componentCls:me}=se;return{[`${me}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${me}-item-link`]:{color:se.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${me}-item-link`]:{color:se.colorTextDisabled,cursor:"not-allowed"}}},[`&${me}-disabled`]:{cursor:"not-allowed",[`${me}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:se.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:se.colorBorder,backgroundColor:se.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:se.itemActiveBgDisabled},a:{color:se.itemActiveColorDisabled}}},[`${me}-item-link`]:{color:se.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${me}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${me}-simple-pager`]:{color:se.colorTextDisabled},[`${me}-jump-prev, ${me}-jump-next`]:{[`${me}-item-link-icon`]:{opacity:0},[`${me}-item-ellipsis`]:{opacity:1}}},[`&${me}-simple`]:{[`${me}-prev, ${me}-next`]:{[`&${me}-disabled ${me}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ht=se=>{const{componentCls:me}=se;return{[`&${me}-mini ${me}-total-text, &${me}-mini ${me}-simple-pager`]:{height:se.itemSizeSM,lineHeight:(0,Et.unit)(se.itemSizeSM)},[`&${me}-mini ${me}-item`]:{minWidth:se.itemSizeSM,height:se.itemSizeSM,margin:0,lineHeight:(0,Et.unit)(se.calc(se.itemSizeSM).sub(2).equal())},[`&${me}-mini ${me}-prev, &${me}-mini ${me}-next`]:{minWidth:se.itemSizeSM,height:se.itemSizeSM,margin:0,lineHeight:(0,Et.unit)(se.itemSizeSM)},[`&${me}-mini:not(${me}-disabled)`]:{[`${me}-prev, ${me}-next`]:{[`&:hover ${me}-item-link`]:{backgroundColor:se.colorBgTextHover},[`&:active ${me}-item-link`]:{backgroundColor:se.colorBgTextActive},[`&${me}-disabled:hover ${me}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${me}-mini ${me}-prev ${me}-item-link,
|
|
&${me}-mini ${me}-next ${me}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:se.itemSizeSM,lineHeight:(0,Et.unit)(se.itemSizeSM)}},[`&${me}-mini ${me}-jump-prev, &${me}-mini ${me}-jump-next`]:{height:se.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Et.unit)(se.itemSizeSM)},[`&${me}-mini ${me}-options`]:{marginInlineStart:se.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:se.miniOptionsSizeChangerTop},"&-quick-jumper":{height:se.itemSizeSM,lineHeight:(0,Et.unit)(se.itemSizeSM),input:Object.assign(Object.assign({},(0,He.x0)(se)),{width:se.paginationMiniQuickJumperInputWidth,height:se.controlHeightSM})}}}},dt=se=>{const{componentCls:me}=se;return{[`
|
|
&${me}-simple ${me}-prev,
|
|
&${me}-simple ${me}-next
|
|
`]:{height:se.itemSizeSM,lineHeight:(0,Et.unit)(se.itemSizeSM),verticalAlign:"top",[`${me}-item-link`]:{height:se.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:se.colorBgTextHover},"&:active":{backgroundColor:se.colorBgTextActive},"&::after":{height:se.itemSizeSM,lineHeight:(0,Et.unit)(se.itemSizeSM)}}},[`&${me}-simple ${me}-simple-pager`]:{display:"inline-block",height:se.itemSizeSM,marginInlineEnd:se.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Et.unit)(se.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:se.itemInputBg,border:`${(0,Et.unit)(se.lineWidth)} ${se.lineType} ${se.colorBorder}`,borderRadius:se.borderRadius,outline:"none",transition:`border-color ${se.motionDurationMid}`,color:"inherit","&:hover":{borderColor:se.colorPrimary},"&:focus":{borderColor:se.colorPrimaryHover,boxShadow:`${(0,Et.unit)(se.inputOutlineOffset)} 0 ${(0,Et.unit)(se.controlOutlineWidth)} ${se.controlOutline}`},"&[disabled]":{color:se.colorTextDisabled,backgroundColor:se.colorBgContainerDisabled,borderColor:se.colorBorder,cursor:"not-allowed"}}}}},ct=se=>{const{componentCls:me}=se;return{[`${me}-jump-prev, ${me}-jump-next`]:{outline:0,[`${me}-item-container`]:{position:"relative",[`${me}-item-link-icon`]:{color:se.colorPrimary,fontSize:se.fontSizeSM,opacity:0,transition:`all ${se.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${me}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:se.colorTextDisabled,letterSpacing:se.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:se.paginationEllipsisTextIndent,opacity:1,transition:`all ${se.motionDurationMid}`}},"&:hover":{[`${me}-item-link-icon`]:{opacity:1},[`${me}-item-ellipsis`]:{opacity:0}}},[`
|
|
${me}-prev,
|
|
${me}-jump-prev,
|
|
${me}-jump-next
|
|
`]:{marginInlineEnd:se.marginXS},[`
|
|
${me}-prev,
|
|
${me}-next,
|
|
${me}-jump-prev,
|
|
${me}-jump-next
|
|
`]:{display:"inline-block",minWidth:se.itemSize,height:se.itemSize,color:se.colorText,fontFamily:se.fontFamily,lineHeight:(0,Et.unit)(se.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:se.borderRadius,cursor:"pointer",transition:`all ${se.motionDurationMid}`},[`${me}-prev, ${me}-next`]:{outline:0,button:{color:se.colorText,cursor:"pointer",userSelect:"none"},[`${me}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:se.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Et.unit)(se.lineWidth)} ${se.lineType} transparent`,borderRadius:se.borderRadius,outline:"none",transition:`all ${se.motionDurationMid}`},[`&:hover ${me}-item-link`]:{backgroundColor:se.colorBgTextHover},[`&:active ${me}-item-link`]:{backgroundColor:se.colorBgTextActive},[`&${me}-disabled:hover`]:{[`${me}-item-link`]:{backgroundColor:"transparent"}}},[`${me}-slash`]:{marginInlineEnd:se.paginationSlashMarginInlineEnd,marginInlineStart:se.paginationSlashMarginInlineStart},[`${me}-options`]:{display:"inline-block",marginInlineStart:se.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:se.controlHeight,marginInlineStart:se.marginXS,lineHeight:(0,Et.unit)(se.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,He.ik)(se)),(0,lt.$U)(se,{borderColor:se.colorBorder,hoverBorderColor:se.colorPrimaryHover,activeBorderColor:se.colorPrimary,activeShadow:se.activeShadow})),{"&[disabled]":Object.assign({},(0,lt.Xy)(se)),width:se.calc(se.controlHeightLG).mul(1.25).equal(),height:se.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:se.marginXS,marginInlineEnd:se.marginXS})}}}},Xe=se=>{const{componentCls:me}=se;return{[`${me}-item`]:{display:"inline-block",minWidth:se.itemSize,height:se.itemSize,marginInlineEnd:se.marginXS,fontFamily:se.fontFamily,lineHeight:(0,Et.unit)(se.calc(se.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:se.itemBg,border:`${(0,Et.unit)(se.lineWidth)} ${se.lineType} transparent`,borderRadius:se.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Et.unit)(se.paginationItemPaddingInline)}`,color:se.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${me}-item-active)`]:{"&:hover":{transition:`all ${se.motionDurationMid}`,backgroundColor:se.colorBgTextHover},"&:active":{backgroundColor:se.colorBgTextActive}},"&-active":{fontWeight:se.fontWeightStrong,backgroundColor:se.itemActiveBg,borderColor:se.colorPrimary,a:{color:se.colorPrimary},"&:hover":{borderColor:se.colorPrimaryHover},"&:hover a":{color:se.colorPrimaryHover}}}}},Re=se=>{const{componentCls:me}=se;return{[me]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,St.Wf)(se)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${me}-total-text`]:{display:"inline-block",height:se.itemSize,marginInlineEnd:se.marginXS,lineHeight:(0,Et.unit)(se.calc(se.itemSize).sub(2).equal()),verticalAlign:"middle"}}),Xe(se)),ct(se)),dt(se)),Ht(se)),ke(se)),{[`@media only screen and (max-width: ${se.screenLG}px)`]:{[`${me}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${se.screenSM}px)`]:{[`${me}-options`]:{display:"none"}}}),[`&${se.componentCls}-rtl`]:{direction:"rtl"}}},oe=se=>{const{componentCls:me}=se;return{[`${me}:not(${me}-disabled)`]:{[`${me}-item`]:Object.assign({},(0,St.Qy)(se)),[`${me}-jump-prev, ${me}-jump-next`]:{"&:focus-visible":Object.assign({[`${me}-item-link-icon`]:{opacity:1},[`${me}-item-ellipsis`]:{opacity:0}},(0,St.oN)(se))},[`${me}-prev, ${me}-next`]:{[`&:focus-visible ${me}-item-link`]:Object.assign({},(0,St.oN)(se))}}}},qe=se=>Object.assign({itemBg:se.colorBgContainer,itemSize:se.controlHeight,itemSizeSM:se.controlHeightSM,itemActiveBg:se.colorBgContainer,itemLinkBg:se.colorBgContainer,itemActiveColorDisabled:se.colorTextDisabled,itemActiveBgDisabled:se.controlItemBgActiveDisabled,itemInputBg:se.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Oe.T)(se)),Me=se=>(0,ze.mergeToken)(se,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:se.calc(se.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:se.calc(se.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:se.calc(se.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:se.calc(se.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:se.marginSM,paginationSlashMarginInlineEnd:se.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Oe.e)(se));var U=(0,At.I$)("Pagination",se=>{const me=Me(se);return[Re(me),oe(me)]},qe);const M=se=>{const{componentCls:me}=se;return{[`${me}${me}-bordered${me}-disabled:not(${me}-mini)`]:{"&, &:hover":{[`${me}-item-link`]:{borderColor:se.colorBorder}},"&:focus-visible":{[`${me}-item-link`]:{borderColor:se.colorBorder}},[`${me}-item, ${me}-item-link`]:{backgroundColor:se.colorBgContainerDisabled,borderColor:se.colorBorder,[`&:hover:not(${me}-item-active)`]:{backgroundColor:se.colorBgContainerDisabled,borderColor:se.colorBorder,a:{color:se.colorTextDisabled}},[`&${me}-item-active`]:{backgroundColor:se.itemActiveBgDisabled}},[`${me}-prev, ${me}-next`]:{"&:hover button":{backgroundColor:se.colorBgContainerDisabled,borderColor:se.colorBorder,color:se.colorTextDisabled},[`${me}-item-link`]:{backgroundColor:se.colorBgContainerDisabled,borderColor:se.colorBorder}}},[`${me}${me}-bordered:not(${me}-mini)`]:{[`${me}-prev, ${me}-next`]:{"&:hover button":{borderColor:se.colorPrimaryHover,backgroundColor:se.itemBg},[`${me}-item-link`]:{backgroundColor:se.itemLinkBg,borderColor:se.colorBorder},[`&:hover ${me}-item-link`]:{borderColor:se.colorPrimary,backgroundColor:se.itemBg,color:se.colorPrimary},[`&${me}-disabled`]:{[`${me}-item-link`]:{borderColor:se.colorBorder,color:se.colorTextDisabled}}},[`${me}-item`]:{backgroundColor:se.itemBg,border:`${(0,Et.unit)(se.lineWidth)} ${se.lineType} ${se.colorBorder}`,[`&:hover:not(${me}-item-active)`]:{borderColor:se.colorPrimary,backgroundColor:se.itemBg,a:{color:se.colorPrimary}},"&-active":{borderColor:se.colorPrimary}}}}};var ye=(0,At.bk)(["Pagination","bordered"],se=>{const me=Me(se);return[M(me)]},qe);function Te(se){return(0,c.useMemo)(()=>typeof se=="boolean"?[se,{}]:se&&typeof se=="object"?[!0,se]:[void 0,void 0],[se])}var xe=function(se,me){var vt={};for(var ft in se)Object.prototype.hasOwnProperty.call(se,ft)&&me.indexOf(ft)<0&&(vt[ft]=se[ft]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,ft=Object.getOwnPropertySymbols(se);xt<ft.length;xt++)me.indexOf(ft[xt])<0&&Object.prototype.propertyIsEnumerable.call(se,ft[xt])&&(vt[ft[xt]]=se[ft[xt]]);return vt},Fe=se=>{const{align:me,prefixCls:vt,selectPrefixCls:ft,className:xt,rootClassName:gt,style:tt,size:Pt,locale:_t,responsive:Ae,showSizeChanger:et,selectComponentClass:E,pageSizeOptions:D}=se,Ve=xe(se,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:ne}=(0,I.Z)(Ae),[,q]=(0,Qe.ZP)(),{getPrefixCls:jt,direction:Ue,showSizeChanger:st,className:ht,style:de}=(0,we.dj)("pagination"),be=jt("pagination",vt),[We,Ze,Q]=U(be),Mt=(0,_.Z)(Pt),_e=Mt==="small"||!!(ne&&!Mt&&Ae),[bt]=(0,he.Z)("Pagination",ue.Z),An=Object.assign(Object.assign({},bt),_t),[xn,Er]=Te(et),[vr,gr]=Te(st),Hr=xn!=null?xn:vr,fi=Er!=null?Er:gr,lr=E||Ne.default,ii=c.useMemo(()=>D?D.map(Lt=>Number(Lt)):void 0,[D]),Wn=Lt=>{var It;const{disabled:kn,size:vn,onSizeChange:In,"aria-label":jn,className:Dn,options:$n}=Lt,{className:br,onChange:cr}=fi||{},Tn=(It=$n.find(dr=>String(dr.value)===String(vn)))===null||It===void 0?void 0:It.value;return c.createElement(lr,Object.assign({disabled:kn,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:dr=>dr.parentNode,"aria-label":jn,options:$n},fi,{value:Tn,onChange:(dr,Pr)=>{In==null||In(dr),cr==null||cr(dr,Pr)},size:_e?"small":"middle",className:A()(Dn,br)}))},Bt=c.useMemo(()=>{const Lt=c.createElement("span",{className:`${be}-item-ellipsis`},"\u2022\u2022\u2022"),It=c.createElement("button",{className:`${be}-item-link`,type:"button",tabIndex:-1},Ue==="rtl"?c.createElement(F.Z,null):c.createElement(C.Z,null)),kn=c.createElement("button",{className:`${be}-item-link`,type:"button",tabIndex:-1},Ue==="rtl"?c.createElement(C.Z,null):c.createElement(F.Z,null)),vn=c.createElement("a",{className:`${be}-item-link`},c.createElement("div",{className:`${be}-item-container`},Ue==="rtl"?c.createElement(o.Z,{className:`${be}-item-link-icon`}):c.createElement(ee,{className:`${be}-item-link-icon`}),Lt)),In=c.createElement("a",{className:`${be}-item-link`},c.createElement("div",{className:`${be}-item-container`},Ue==="rtl"?c.createElement(ee,{className:`${be}-item-link-icon`}):c.createElement(o.Z,{className:`${be}-item-link-icon`}),Lt));return{prevIcon:It,nextIcon:kn,jumpPrevIcon:vn,jumpNextIcon:In}},[Ue,be]),En=jt("select",ft),nn=A()({[`${be}-${me}`]:!!me,[`${be}-mini`]:_e,[`${be}-rtl`]:Ue==="rtl",[`${be}-bordered`]:q.wireframe},ht,xt,gt,Ze,Q),Yr=Object.assign(Object.assign({},de),tt);return We(c.createElement(c.Fragment,null,q.wireframe&&c.createElement(ye,{prefixCls:be}),c.createElement(ve,Object.assign({},Bt,Ve,{style:Yr,prefixCls:be,selectPrefixCls:En,className:nn,locale:An,pageSizeOptions:ii,showSizeChanger:Hr,sizeChangerRender:Wn}))))},nt=Fe},89787:function(On,at,h){"use strict";h.d(at,{Z:function(){return _t}});var c=h(59301),ie=h(17835),O=h(29679),le=h(40001),j=h(19248),v=h(99267),re=h(92310),ee=h.n(re),o=h(2738),C=h(48755),F=h(60499),x=h(85899),A=h(42244),L={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},z=function(){var et=(0,c.useRef)([]),E=(0,c.useRef)(null);return(0,c.useEffect)(function(){var D=Date.now(),Ve=!1;et.current.forEach(function(ne){if(ne){Ve=!0;var q=ne.style;q.transitionDuration=".3s, .3s, .3s, .06s",E.current&&D-E.current<100&&(q.transitionDuration="0s, 0s")}}),Ve&&(E.current=Date.now())}),et.current},G=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Z=function(et){var E=(0,x.Z)((0,x.Z)({},L),et),D=E.className,Ve=E.percent,ne=E.prefixCls,q=E.strokeColor,jt=E.strokeLinecap,Ue=E.strokeWidth,st=E.style,ht=E.trailColor,de=E.trailWidth,be=E.transition,We=(0,A.Z)(E,G);delete We.gapPosition;var Ze=Array.isArray(Ve)?Ve:[Ve],Q=Array.isArray(q)?q:[q],Mt=z(),_e=Ue/2,bt=100-Ue/2,An="M ".concat(jt==="round"?_e:0,",").concat(_e,`
|
|
L `).concat(jt==="round"?bt:100,",").concat(_e),xn="0 0 100 ".concat(Ue),Er=0;return c.createElement("svg",(0,F.Z)({className:ee()("".concat(ne,"-line"),D),viewBox:xn,preserveAspectRatio:"none",style:st},We),c.createElement("path",{className:"".concat(ne,"-line-trail"),d:An,strokeLinecap:jt,stroke:ht,strokeWidth:de||Ue,fillOpacity:"0"}),Ze.map(function(vr,gr){var Hr=1;switch(jt){case"round":Hr=1-Ue/100;break;case"square":Hr=1-Ue/2/100;break;default:Hr=1;break}var fi={strokeDasharray:"".concat(vr*Hr,"px, 100px"),strokeDashoffset:"-".concat(Er,"px"),transition:be||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},lr=Q[gr]||Q[Q.length-1];return Er+=vr,c.createElement("path",{key:gr,className:"".concat(ne,"-line-path"),d:An,strokeLinecap:jt,stroke:lr,strokeWidth:Ue,fillOpacity:"0",ref:function(Wn){Mt[gr]=Wn},style:fi})}))},W=Z,P=h(43749),K=h(72190),g=h(47273),T=0,fe=(0,g.Z)();function Ee(){var Ae;return fe?(Ae=T,T+=1):Ae="TEST_OR_SSR",Ae}var pe=function(Ae){var et=c.useState(),E=(0,K.Z)(et,2),D=E[0],Ve=E[1];return c.useEffect(function(){Ve("rc_progress_".concat(Ee()))},[]),Ae||D},Be=function(et){var E=et.bg,D=et.children;return c.createElement("div",{style:{width:"100%",height:"100%",background:E}},D)};function je(Ae,et){return Object.keys(Ae).map(function(E){var D=parseFloat(E),Ve="".concat(Math.floor(D*et),"%");return"".concat(Ae[E]," ").concat(Ve)})}var Le=c.forwardRef(function(Ae,et){var E=Ae.prefixCls,D=Ae.color,Ve=Ae.gradientId,ne=Ae.radius,q=Ae.style,jt=Ae.ptg,Ue=Ae.strokeLinecap,st=Ae.strokeWidth,ht=Ae.size,de=Ae.gapDegree,be=D&&(0,P.Z)(D)==="object",We=be?"#FFF":void 0,Ze=ht/2,Q=c.createElement("circle",{className:"".concat(E,"-circle-path"),r:ne,cx:Ze,cy:Ze,stroke:We,strokeLinecap:Ue,strokeWidth:st,opacity:jt===0?0:1,style:q,ref:et});if(!be)return Q;var Mt="".concat(Ve,"-conic"),_e=de?"".concat(180+de/2,"deg"):"0deg",bt=je(D,(360-de)/360),An=je(D,1),xn="conic-gradient(from ".concat(_e,", ").concat(bt.join(", "),")"),Er="linear-gradient(to ".concat(de?"bottom":"top",", ").concat(An.join(", "),")");return c.createElement(c.Fragment,null,c.createElement("mask",{id:Mt},Q),c.createElement("foreignObject",{x:0,y:0,width:ht,height:ht,mask:"url(#".concat(Mt,")")},c.createElement(Be,{bg:Er},c.createElement(Be,{bg:xn}))))}),it=Le,ce=100,Y=function(et,E,D,Ve,ne,q,jt,Ue,st,ht){var de=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,be=D/100*360*((360-q)/360),We=q===0?0:{bottom:0,top:180,left:90,right:-90}[jt],Ze=(100-Ve)/100*E;st==="round"&&Ve!==100&&(Ze+=ht/2,Ze>=E&&(Ze=E-.01));var Q=ce/2;return{stroke:typeof Ue=="string"?Ue:void 0,strokeDasharray:"".concat(E,"px ").concat(et),strokeDashoffset:Ze+de,transform:"rotate(".concat(ne+be+We,"deg)"),transformOrigin:"".concat(Q,"px ").concat(Q,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},N=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ve(Ae){var et=Ae!=null?Ae:[];return Array.isArray(et)?et:[et]}var ue=function(et){var E=(0,x.Z)((0,x.Z)({},L),et),D=E.id,Ve=E.prefixCls,ne=E.steps,q=E.strokeWidth,jt=E.trailWidth,Ue=E.gapDegree,st=Ue===void 0?0:Ue,ht=E.gapPosition,de=E.trailColor,be=E.strokeLinecap,We=E.style,Ze=E.className,Q=E.strokeColor,Mt=E.percent,_e=(0,A.Z)(E,N),bt=ce/2,An=pe(D),xn="".concat(An,"-gradient"),Er=bt-q/2,vr=Math.PI*2*Er,gr=st>0?90+st/2:-90,Hr=vr*((360-st)/360),fi=(0,P.Z)(ne)==="object"?ne:{count:ne,gap:2},lr=fi.count,ii=fi.gap,Wn=ve(Mt),Bt=ve(Q),En=Bt.find(function(In){return In&&(0,P.Z)(In)==="object"}),nn=En&&(0,P.Z)(En)==="object",Yr=nn?"butt":be,Lt=Y(vr,Hr,0,100,gr,st,ht,de,Yr,q),It=z(),kn=function(){var jn=0;return Wn.map(function(Dn,$n){var br=Bt[$n]||Bt[Bt.length-1],cr=Y(vr,Hr,jn,Dn,gr,st,ht,br,Yr,q);return jn+=Dn,c.createElement(it,{key:$n,color:br,ptg:Dn,radius:Er,prefixCls:Ve,gradientId:xn,style:cr,strokeLinecap:Yr,strokeWidth:q,gapDegree:st,ref:function(dr){It[$n]=dr},size:ce})}).reverse()},vn=function(){var jn=Math.round(lr*(Wn[0]/100)),Dn=100/lr,$n=0;return new Array(lr).fill(null).map(function(br,cr){var Tn=cr<=jn-1?Bt[0]:de,dr=Tn&&(0,P.Z)(Tn)==="object"?"url(#".concat(xn,")"):void 0,Pr=Y(vr,Hr,$n,Dn,gr,st,ht,Tn,"butt",q,ii);return $n+=(Hr-Pr.strokeDashoffset+ii)*100/Hr,c.createElement("circle",{key:cr,className:"".concat(Ve,"-circle-path"),r:Er,cx:bt,cy:bt,stroke:dr,strokeWidth:q,opacity:1,style:Pr,ref:function(Dt){It[cr]=Dt}})})};return c.createElement("svg",(0,F.Z)({className:ee()("".concat(Ve,"-circle"),Ze),viewBox:"0 0 ".concat(ce," ").concat(ce),style:We,id:D,role:"presentation"},_e),!lr&&c.createElement("circle",{className:"".concat(Ve,"-circle-trail"),r:Er,cx:bt,cy:bt,stroke:de,strokeLinecap:Yr,strokeWidth:jt||q,style:Lt}),lr?vn():kn())},we=ue,_={Line:W,Circle:we},I=h(25399),he=h(68361);function Ne(Ae){return!Ae||Ae<0?0:Ae>100?100:Ae}function Qe(Ae){let{success:et,successPercent:E}=Ae,D=E;return et&&"progress"in et&&(D=et.progress),et&&"percent"in et&&(D=et.percent),D}const Et=Ae=>{let{percent:et,success:E,successPercent:D}=Ae;const Ve=Ne(Qe({success:E,successPercent:D}));return[Ve,Ne(Ne(et)-Ve)]},He=Ae=>{let{success:et={},strokeColor:E}=Ae;const{strokeColor:D}=et;return[D||he.presetPrimaryColors.green,E||null]},Oe=(Ae,et,E)=>{var D,Ve,ne,q;let jt=-1,Ue=-1;if(et==="step"){const st=E.steps,ht=E.strokeWidth;typeof Ae=="string"||typeof Ae=="undefined"?(jt=Ae==="small"?2:14,Ue=ht!=null?ht:8):typeof Ae=="number"?[jt,Ue]=[Ae,Ae]:[jt=14,Ue=8]=Array.isArray(Ae)?Ae:[Ae.width,Ae.height],jt*=st}else if(et==="line"){const st=E==null?void 0:E.strokeWidth;typeof Ae=="string"||typeof Ae=="undefined"?Ue=st||(Ae==="small"?6:8):typeof Ae=="number"?[jt,Ue]=[Ae,Ae]:[jt=-1,Ue=8]=Array.isArray(Ae)?Ae:[Ae.width,Ae.height]}else(et==="circle"||et==="dashboard")&&(typeof Ae=="string"||typeof Ae=="undefined"?[jt,Ue]=Ae==="small"?[60,60]:[120,120]:typeof Ae=="number"?[jt,Ue]=[Ae,Ae]:Array.isArray(Ae)&&(jt=(Ve=(D=Ae[0])!==null&&D!==void 0?D:Ae[1])!==null&&Ve!==void 0?Ve:120,Ue=(q=(ne=Ae[0])!==null&&ne!==void 0?ne:Ae[1])!==null&&q!==void 0?q:120));return[jt,Ue]},lt=3,St=Ae=>lt/Ae*100;var At=Ae=>{const{prefixCls:et,trailColor:E=null,strokeLinecap:D="round",gapPosition:Ve,gapDegree:ne,width:q=120,type:jt,children:Ue,success:st,size:ht=q,steps:de}=Ae,[be,We]=Oe(ht,"circle");let{strokeWidth:Ze}=Ae;Ze===void 0&&(Ze=Math.max(St(be),6));const Q={width:be,height:We,fontSize:be*.15+6},Mt=c.useMemo(()=>{if(ne||ne===0)return ne;if(jt==="dashboard")return 75},[ne,jt]),_e=Et(Ae),bt=Ve||jt==="dashboard"&&"bottom"||void 0,An=Object.prototype.toString.call(Ae.strokeColor)==="[object Object]",xn=He({success:st,strokeColor:Ae.strokeColor}),Er=ee()(`${et}-inner`,{[`${et}-circle-gradient`]:An}),vr=c.createElement(we,{steps:de,percent:de?_e[1]:_e,strokeWidth:Ze,trailWidth:Ze,strokeColor:de?xn[1]:xn,strokeLinecap:D,trailColor:E,prefixCls:et,gapDegree:Mt,gapPosition:bt}),gr=be<=20,Hr=c.createElement("div",{className:Er,style:Q},vr,!gr&&Ue);return gr?c.createElement(I.Z,{title:Ue},Hr):Hr},ke=h(36237),Ht=h(63356),dt=h(16931),ct=h(51636);const Xe="--progress-line-stroke-color",Re="--progress-percent",oe=Ae=>{const et=Ae?"100%":"-100%";return new ke.Keyframes(`antProgress${Ae?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${et}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${et}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},qe=Ae=>{const{componentCls:et,iconCls:E}=Ae;return{[et]:Object.assign(Object.assign({},(0,Ht.Wf)(Ae)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Ae.fontSize},[`${et}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${et}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Ae.remainingColor,borderRadius:Ae.lineBorderRadius},[`${et}-inner:not(${et}-circle-gradient)`]:{[`${et}-circle-path`]:{stroke:Ae.defaultColor}},[`${et}-success-bg, ${et}-bg`]:{position:"relative",background:Ae.defaultColor,borderRadius:Ae.lineBorderRadius,transition:`all ${Ae.motionDurationSlow} ${Ae.motionEaseInOutCirc}`},[`${et}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${et}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Ae.marginXXS}},[`${et}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${Xe})`]},height:"100%",width:`calc(1 / var(${Re}) * 100%)`,display:"block"},[`&${et}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${et}-text-inner`]:{color:Ae.colorWhite,[`&${et}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${et}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Ae.colorSuccess},[`${et}-text`]:{display:"inline-block",marginInlineStart:Ae.marginXS,color:Ae.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[E]:{fontSize:Ae.fontSize},[`&${et}-text-outer`]:{width:"max-content"},[`&${et}-text-outer${et}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Ae.marginXS}},[`${et}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,ke.unit)(Ae.paddingXXS)}`,[`&${et}-text-start`]:{justifyContent:"start"},[`&${et}-text-end`]:{justifyContent:"end"}},[`&${et}-status-active`]:{[`${et}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Ae.colorBgContainer,borderRadius:Ae.lineBorderRadius,opacity:0,animationName:oe(),animationDuration:Ae.progressActiveMotionDuration,animationTimingFunction:Ae.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${et}-rtl${et}-status-active`]:{[`${et}-bg::before`]:{animationName:oe(!0)}},[`&${et}-status-exception`]:{[`${et}-bg`]:{backgroundColor:Ae.colorError},[`${et}-text`]:{color:Ae.colorError}},[`&${et}-status-exception ${et}-inner:not(${et}-circle-gradient)`]:{[`${et}-circle-path`]:{stroke:Ae.colorError}},[`&${et}-status-success`]:{[`${et}-bg`]:{backgroundColor:Ae.colorSuccess},[`${et}-text`]:{color:Ae.colorSuccess}},[`&${et}-status-success ${et}-inner:not(${et}-circle-gradient)`]:{[`${et}-circle-path`]:{stroke:Ae.colorSuccess}}})}},Me=Ae=>{const{componentCls:et,iconCls:E}=Ae;return{[et]:{[`${et}-circle-trail`]:{stroke:Ae.remainingColor},[`&${et}-circle ${et}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${et}-circle ${et}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Ae.circleTextColor,fontSize:Ae.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[E]:{fontSize:Ae.circleIconFontSize}},[`${et}-circle&-status-exception`]:{[`${et}-text`]:{color:Ae.colorError}},[`${et}-circle&-status-success`]:{[`${et}-text`]:{color:Ae.colorSuccess}}},[`${et}-inline-circle`]:{lineHeight:1,[`${et}-inner`]:{verticalAlign:"bottom"}}}},U=Ae=>{const{componentCls:et}=Ae;return{[et]:{[`${et}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Ae.progressStepMinWidth,marginInlineEnd:Ae.progressStepMarginInlineEnd,backgroundColor:Ae.remainingColor,transition:`all ${Ae.motionDurationSlow}`,"&-active":{backgroundColor:Ae.defaultColor}}}}}},M=Ae=>{const{componentCls:et,iconCls:E}=Ae;return{[et]:{[`${et}-small&-line, ${et}-small&-line ${et}-text ${E}`]:{fontSize:Ae.fontSizeSM}}}},ye=Ae=>({circleTextColor:Ae.colorText,defaultColor:Ae.colorInfo,remainingColor:Ae.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Ae.fontSize/Ae.fontSizeSM}em`});var Te=(0,dt.I$)("Progress",Ae=>{const et=Ae.calc(Ae.marginXXS).div(2).equal(),E=(0,ct.mergeToken)(Ae,{progressStepMarginInlineEnd:et,progressStepMinWidth:et,progressActiveMotionDuration:"2.4s"});return[qe(E),Me(E),U(E),M(E)]},ye),xe=function(Ae,et){var E={};for(var D in Ae)Object.prototype.hasOwnProperty.call(Ae,D)&&et.indexOf(D)<0&&(E[D]=Ae[D]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,D=Object.getOwnPropertySymbols(Ae);Ve<D.length;Ve++)et.indexOf(D[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Ae,D[Ve])&&(E[D[Ve]]=Ae[D[Ve]]);return E};const ae=Ae=>{let et=[];return Object.keys(Ae).forEach(E=>{const D=parseFloat(E.replace(/%/g,""));Number.isNaN(D)||et.push({key:D,value:Ae[E]})}),et=et.sort((E,D)=>E.key-D.key),et.map(E=>{let{key:D,value:Ve}=E;return`${Ve} ${D}%`}).join(", ")},Fe=(Ae,et)=>{const{from:E=he.presetPrimaryColors.blue,to:D=he.presetPrimaryColors.blue,direction:Ve=et==="rtl"?"to left":"to right"}=Ae,ne=xe(Ae,["from","to","direction"]);if(Object.keys(ne).length!==0){const jt=ae(ne),Ue=`linear-gradient(${Ve}, ${jt})`;return{background:Ue,[Xe]:Ue}}const q=`linear-gradient(${Ve}, ${E}, ${D})`;return{background:q,[Xe]:q}};var se=Ae=>{const{prefixCls:et,direction:E,percent:D,size:Ve,strokeWidth:ne,strokeColor:q,strokeLinecap:jt="round",children:Ue,trailColor:st=null,percentPosition:ht,success:de}=Ae,{align:be,type:We}=ht,Ze=q&&typeof q!="string"?Fe(q,E):{[Xe]:q,background:q},Q=jt==="square"||jt==="butt"?0:void 0,Mt=Ve!=null?Ve:[-1,ne||(Ve==="small"?6:8)],[_e,bt]=Oe(Mt,"line",{strokeWidth:ne}),An={backgroundColor:st||void 0,borderRadius:Q},xn=Object.assign(Object.assign({width:`${Ne(D)}%`,height:bt,borderRadius:Q},Ze),{[Re]:Ne(D)/100}),Er=Qe(Ae),vr={width:`${Ne(Er)}%`,height:bt,borderRadius:Q,backgroundColor:de==null?void 0:de.strokeColor},gr={width:_e<0?"100%":_e},Hr=c.createElement("div",{className:`${et}-inner`,style:An},c.createElement("div",{className:ee()(`${et}-bg`,`${et}-bg-${We}`),style:xn},We==="inner"&&Ue),Er!==void 0&&c.createElement("div",{className:`${et}-success-bg`,style:vr})),fi=We==="outer"&&be==="start",lr=We==="outer"&&be==="end";return We==="outer"&&be==="center"?c.createElement("div",{className:`${et}-layout-bottom`},Hr,Ue):c.createElement("div",{className:`${et}-outer`,style:gr},fi&&Ue,Hr,lr&&Ue)},vt=Ae=>{const{size:et,steps:E,rounding:D=Math.round,percent:Ve=0,strokeWidth:ne=8,strokeColor:q,trailColor:jt=null,prefixCls:Ue,children:st}=Ae,ht=D(E*(Ve/100)),de=et==="small"?2:14,be=et!=null?et:[de,ne],[We,Ze]=Oe(be,"step",{steps:E,strokeWidth:ne}),Q=We/E,Mt=Array.from({length:E});for(let _e=0;_e<E;_e++){const bt=Array.isArray(q)?q[_e]:q;Mt[_e]=c.createElement("div",{key:_e,className:ee()(`${Ue}-steps-item`,{[`${Ue}-steps-item-active`]:_e<=ht-1}),style:{backgroundColor:_e<=ht-1?bt:jt,width:Q,height:Ze}})}return c.createElement("div",{className:`${Ue}-steps-outer`},Mt,st)},ft=function(Ae,et){var E={};for(var D in Ae)Object.prototype.hasOwnProperty.call(Ae,D)&&et.indexOf(D)<0&&(E[D]=Ae[D]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,D=Object.getOwnPropertySymbols(Ae);Ve<D.length;Ve++)et.indexOf(D[Ve])<0&&Object.prototype.propertyIsEnumerable.call(Ae,D[Ve])&&(E[D[Ve]]=Ae[D[Ve]]);return E};const xt=null,gt=["normal","exception","active","success"];var Pt=c.forwardRef((Ae,et)=>{const{prefixCls:E,className:D,rootClassName:Ve,steps:ne,strokeColor:q,percent:jt=0,size:Ue="default",showInfo:st=!0,type:ht="line",status:de,format:be,style:We,percentPosition:Ze={}}=Ae,Q=ft(Ae,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Mt="end",type:_e="outer"}=Ze,bt=Array.isArray(q)?q[0]:q,An=typeof q=="string"||Array.isArray(q)?q:void 0,xn=c.useMemo(()=>{if(bt){const kn=typeof bt=="string"?bt:Object.values(bt)[0];return new ie.FastColor(kn).isLight()}return!1},[q]),Er=c.useMemo(()=>{var kn,vn;const In=Qe(Ae);return parseInt(In!==void 0?(kn=In!=null?In:0)===null||kn===void 0?void 0:kn.toString():(vn=jt!=null?jt:0)===null||vn===void 0?void 0:vn.toString(),10)},[jt,Ae.success,Ae.successPercent]),vr=c.useMemo(()=>!gt.includes(de)&&Er>=100?"success":de||"normal",[de,Er]),{getPrefixCls:gr,direction:Hr,progress:fi}=c.useContext(C.E_),lr=gr("progress",E),[ii,Wn,Bt]=Te(lr),En=ht==="line",nn=En&&!ne,Yr=c.useMemo(()=>{if(!st)return null;const kn=Qe(Ae);let vn;const In=be||(Dn=>`${Dn}%`),jn=En&&xn&&_e==="inner";return _e==="inner"||be||vr!=="exception"&&vr!=="success"?vn=In(Ne(jt),Ne(kn)):vr==="exception"?vn=En?c.createElement(j.Z,null):c.createElement(v.Z,null):vr==="success"&&(vn=En?c.createElement(O.Z,null):c.createElement(le.Z,null)),c.createElement("span",{className:ee()(`${lr}-text`,{[`${lr}-text-bright`]:jn,[`${lr}-text-${Mt}`]:nn,[`${lr}-text-${_e}`]:nn}),title:typeof vn=="string"?vn:void 0},vn)},[st,jt,Er,vr,ht,lr,be]);let Lt;ht==="line"?Lt=ne?c.createElement(vt,Object.assign({},Ae,{strokeColor:An,prefixCls:lr,steps:typeof ne=="object"?ne.count:ne}),Yr):c.createElement(se,Object.assign({},Ae,{strokeColor:bt,prefixCls:lr,direction:Hr,percentPosition:{align:Mt,type:_e}}),Yr):(ht==="circle"||ht==="dashboard")&&(Lt=c.createElement(At,Object.assign({},Ae,{strokeColor:bt,prefixCls:lr,progressStatus:vr}),Yr));const It=ee()(lr,`${lr}-status-${vr}`,{[`${lr}-${ht==="dashboard"&&"circle"||ht}`]:ht!=="line",[`${lr}-inline-circle`]:ht==="circle"&&Oe(Ue,"circle")[0]<=20,[`${lr}-line`]:nn,[`${lr}-line-align-${Mt}`]:nn,[`${lr}-line-position-${_e}`]:nn,[`${lr}-steps`]:ne,[`${lr}-show-info`]:st,[`${lr}-${Ue}`]:typeof Ue=="string",[`${lr}-rtl`]:Hr==="rtl"},fi==null?void 0:fi.className,D,Ve,Wn,Bt);return ii(c.createElement("div",Object.assign({ref:et,style:Object.assign(Object.assign({},fi==null?void 0:fi.style),We),className:It,role:"progressbar","aria-valuenow":Er,"aria-valuemin":0,"aria-valuemax":100},(0,o.Z)(Q,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Lt))}),_t=Pt},47889:function(On,at,h){"use strict";h.d(at,{ZP:function(){return Et}});var c=h(59301),ie=h(92310),O=h.n(ie),le=h(18929),j=h(26112),v=h(48755),re=h(83397),ee=h(31756);const o=c.createContext(null),C=o.Provider;var F=o;const x=c.createContext(null),A=x.Provider;var L=h(16632),z=h(8654),G=h(12919),Z=h(63872),W=h(74632),P=h(2171),K=h(56553),g=h(36237),T=h(63356),fe=h(16931),Ee=h(51636);const pe=He=>{const{componentCls:Oe,antCls:lt}=He,St=`${Oe}-group`;return{[St]:Object.assign(Object.assign({},(0,T.Wf)(He)),{display:"inline-block",fontSize:0,[`&${St}-rtl`]:{direction:"rtl"},[`&${St}-block`]:{display:"flex"},[`${lt}-badge ${lt}-badge-count`]:{zIndex:1},[`> ${lt}-badge:not(:first-child) > ${lt}-button-wrapper`]:{borderInlineStart:"none"}})}},Be=He=>{const{componentCls:Oe,wrapperMarginInlineEnd:lt,colorPrimary:St,radioSize:ze,motionDurationSlow:At,motionDurationMid:ke,motionEaseInOutCirc:Ht,colorBgContainer:dt,colorBorder:ct,lineWidth:Xe,colorBgContainerDisabled:Re,colorTextDisabled:oe,paddingXS:qe,dotColorDisabled:Me,lineType:U,radioColor:M,radioBgColor:ye,calc:Te}=He,xe=`${Oe}-inner`,Fe=Te(ze).sub(Te(4).mul(2)),nt=Te(1).mul(ze).equal({unit:!0});return{[`${Oe}-wrapper`]:Object.assign(Object.assign({},(0,T.Wf)(He)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:lt,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${Oe}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:He.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${Oe}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,g.unit)(Xe)} ${U} ${St}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[Oe]:Object.assign(Object.assign({},(0,T.Wf)(He)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Oe}-wrapper:hover &,
|
|
&:hover ${xe}`]:{borderColor:St},[`${Oe}-input:focus-visible + ${xe}`]:Object.assign({},(0,T.oN)(He)),[`${Oe}:hover::after, ${Oe}-wrapper:hover &::after`]:{visibility:"visible"},[`${Oe}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:nt,height:nt,marginBlockStart:Te(1).mul(ze).div(-2).equal({unit:!0}),marginInlineStart:Te(1).mul(ze).div(-2).equal({unit:!0}),backgroundColor:M,borderBlockStart:0,borderInlineStart:0,borderRadius:nt,transform:"scale(0)",opacity:0,transition:`all ${At} ${Ht}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:nt,height:nt,backgroundColor:dt,borderColor:ct,borderStyle:"solid",borderWidth:Xe,borderRadius:"50%",transition:`all ${ke}`},[`${Oe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Oe}-checked`]:{[xe]:{borderColor:St,backgroundColor:ye,"&::after":{transform:`scale(${He.calc(He.dotSize).div(ze).equal()})`,opacity:1,transition:`all ${At} ${Ht}`}}},[`${Oe}-disabled`]:{cursor:"not-allowed",[xe]:{backgroundColor:Re,borderColor:ct,cursor:"not-allowed","&::after":{backgroundColor:Me}},[`${Oe}-input`]:{cursor:"not-allowed"},[`${Oe}-disabled + span`]:{color:oe,cursor:"not-allowed"},[`&${Oe}-checked`]:{[xe]:{"&::after":{transform:`scale(${Te(Fe).div(ze).equal()})`}}}},[`span${Oe} + *`]:{paddingInlineStart:qe,paddingInlineEnd:qe}})}},je=He=>{const{buttonColor:Oe,controlHeight:lt,componentCls:St,lineWidth:ze,lineType:At,colorBorder:ke,motionDurationSlow:Ht,motionDurationMid:dt,buttonPaddingInline:ct,fontSize:Xe,buttonBg:Re,fontSizeLG:oe,controlHeightLG:qe,controlHeightSM:Me,paddingXS:U,borderRadius:M,borderRadiusSM:ye,borderRadiusLG:Te,buttonCheckedBg:xe,buttonSolidCheckedColor:ae,colorTextDisabled:Fe,colorBgContainerDisabled:nt,buttonCheckedBgDisabled:se,buttonCheckedColorDisabled:me,colorPrimary:vt,colorPrimaryHover:ft,colorPrimaryActive:xt,buttonSolidCheckedBg:gt,buttonSolidCheckedHoverBg:tt,buttonSolidCheckedActiveBg:Pt,calc:_t}=He;return{[`${St}-button-wrapper`]:{position:"relative",display:"inline-block",height:lt,margin:0,paddingInline:ct,paddingBlock:0,color:Oe,fontSize:Xe,lineHeight:(0,g.unit)(_t(lt).sub(_t(ze).mul(2)).equal()),background:Re,border:`${(0,g.unit)(ze)} ${At} ${ke}`,borderBlockStartWidth:_t(ze).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:ze,cursor:"pointer",transition:[`color ${dt}`,`background ${dt}`,`box-shadow ${dt}`].join(","),a:{color:Oe},[`> ${St}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:_t(ze).mul(-1).equal(),insetInlineStart:_t(ze).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:ze,paddingInline:0,backgroundColor:ke,transition:`background-color ${Ht}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,g.unit)(ze)} ${At} ${ke}`,borderStartStartRadius:M,borderEndStartRadius:M},"&:last-child":{borderStartEndRadius:M,borderEndEndRadius:M},"&:first-child:last-child":{borderRadius:M},[`${St}-group-large &`]:{height:qe,fontSize:oe,lineHeight:(0,g.unit)(_t(qe).sub(_t(ze).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Te,borderEndStartRadius:Te},"&:last-child":{borderStartEndRadius:Te,borderEndEndRadius:Te}},[`${St}-group-small &`]:{height:Me,paddingInline:_t(U).sub(ze).equal(),paddingBlock:0,lineHeight:(0,g.unit)(_t(Me).sub(_t(ze).mul(2)).equal()),"&:first-child":{borderStartStartRadius:ye,borderEndStartRadius:ye},"&:last-child":{borderStartEndRadius:ye,borderEndEndRadius:ye}},"&:hover":{position:"relative",color:vt},"&:has(:focus-visible)":Object.assign({},(0,T.oN)(He)),[`${St}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${St}-button-wrapper-disabled)`]:{zIndex:1,color:vt,background:xe,borderColor:vt,"&::before":{backgroundColor:vt},"&:first-child":{borderColor:vt},"&:hover":{color:ft,borderColor:ft,"&::before":{backgroundColor:ft}},"&:active":{color:xt,borderColor:xt,"&::before":{backgroundColor:xt}}},[`${St}-group-solid &-checked:not(${St}-button-wrapper-disabled)`]:{color:ae,background:gt,borderColor:gt,"&:hover":{color:ae,background:tt,borderColor:tt},"&:active":{color:ae,background:Pt,borderColor:Pt}},"&-disabled":{color:Fe,backgroundColor:nt,borderColor:ke,cursor:"not-allowed","&:first-child, &:hover":{color:Fe,backgroundColor:nt,borderColor:ke}},[`&-disabled${St}-button-wrapper-checked`]:{color:me,backgroundColor:se,borderColor:ke,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},Le=He=>{const{wireframe:Oe,padding:lt,marginXS:St,lineWidth:ze,fontSizeLG:At,colorText:ke,colorBgContainer:Ht,colorTextDisabled:dt,controlItemBgActiveDisabled:ct,colorTextLightSolid:Xe,colorPrimary:Re,colorPrimaryHover:oe,colorPrimaryActive:qe,colorWhite:Me}=He,U=4,M=At,ye=Oe?M-U*2:M-(U+ze)*2;return{radioSize:M,dotSize:ye,dotColorDisabled:dt,buttonSolidCheckedColor:Xe,buttonSolidCheckedBg:Re,buttonSolidCheckedHoverBg:oe,buttonSolidCheckedActiveBg:qe,buttonBg:Ht,buttonCheckedBg:Ht,buttonColor:ke,buttonCheckedBgDisabled:ct,buttonCheckedColorDisabled:dt,buttonPaddingInline:lt-ze,wrapperMarginInlineEnd:St,radioColor:Oe?Re:Me,radioBgColor:Oe?Ht:Re}};var it=(0,fe.I$)("Radio",He=>{const{controlOutline:Oe,controlOutlineWidth:lt}=He,St=`0 0 0 ${(0,g.unit)(lt)} ${Oe}`,ze=St,At=(0,Ee.mergeToken)(He,{radioFocusShadow:St,radioButtonFocusShadow:ze});return[pe(At),Be(At),je(At)]},Le,{unitless:{radioSize:!0,dotSize:!0}}),ce=function(He,Oe){var lt={};for(var St in He)Object.prototype.hasOwnProperty.call(He,St)&&Oe.indexOf(St)<0&&(lt[St]=He[St]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,St=Object.getOwnPropertySymbols(He);ze<St.length;ze++)Oe.indexOf(St[ze])<0&&Object.prototype.propertyIsEnumerable.call(He,St[ze])&&(lt[St[ze]]=He[St[ze]]);return lt};const Y=(He,Oe)=>{var lt,St;const ze=c.useContext(F),At=c.useContext(x),{getPrefixCls:ke,direction:Ht,radio:dt}=c.useContext(v.E_),ct=c.useRef(null),Xe=(0,z.sQ)(Oe,ct),{isFormItemInput:Re}=c.useContext(K.aM),oe=Ae=>{var et,E;(et=He.onChange)===null||et===void 0||et.call(He,Ae),(E=ze==null?void 0:ze.onChange)===null||E===void 0||E.call(ze,Ae)},{prefixCls:qe,className:Me,rootClassName:U,children:M,style:ye,title:Te}=He,xe=ce(He,["prefixCls","className","rootClassName","children","style","title"]),ae=ke("radio",qe),Fe=((ze==null?void 0:ze.optionType)||At)==="button",nt=Fe?`${ae}-button`:ae,se=(0,re.Z)(ae),[me,vt,ft]=it(ae,se),xt=Object.assign({},xe),gt=c.useContext(P.Z);ze&&(xt.name=ze.name,xt.onChange=oe,xt.checked=He.value===ze.value,xt.disabled=(lt=xt.disabled)!==null&<!==void 0?lt:ze.disabled),xt.disabled=(St=xt.disabled)!==null&&St!==void 0?St:gt;const tt=O()(`${nt}-wrapper`,{[`${nt}-wrapper-checked`]:xt.checked,[`${nt}-wrapper-disabled`]:xt.disabled,[`${nt}-wrapper-rtl`]:Ht==="rtl",[`${nt}-wrapper-in-form-item`]:Re,[`${nt}-wrapper-block`]:!!(ze!=null&&ze.block)},dt==null?void 0:dt.className,Me,U,vt,ft,se),[Pt,_t]=(0,W.Z)(xt.onClick);return me(c.createElement(G.Z,{component:"Radio",disabled:xt.disabled},c.createElement("label",{className:tt,style:Object.assign(Object.assign({},dt==null?void 0:dt.style),ye),onMouseEnter:He.onMouseEnter,onMouseLeave:He.onMouseLeave,title:Te,onClick:Pt},c.createElement(L.Z,Object.assign({},xt,{className:O()(xt.className,{[Z.A]:!Fe}),type:"radio",prefixCls:nt,ref:Xe,onClick:_t})),M!==void 0?c.createElement("span",{className:`${nt}-label`},M):null)))};var ve=c.forwardRef(Y),ue=h(80402);const we=c.forwardRef((He,Oe)=>{const{getPrefixCls:lt,direction:St}=c.useContext(v.E_),ze=(0,ue.Z)(),{prefixCls:At,className:ke,rootClassName:Ht,options:dt,buttonStyle:ct="outline",disabled:Xe,children:Re,size:oe,style:qe,id:Me,optionType:U,name:M=ze,defaultValue:ye,value:Te,block:xe=!1,onChange:ae,onMouseEnter:Fe,onMouseLeave:nt,onFocus:se,onBlur:me}=He,[vt,ft]=(0,le.Z)(ye,{value:Te}),xt=c.useCallback(q=>{const jt=vt,Ue=q.target.value;"value"in He||ft(Ue),Ue!==jt&&(ae==null||ae(q))},[vt,ft,ae]),gt=lt("radio",At),tt=`${gt}-group`,Pt=(0,re.Z)(gt),[_t,Ae,et]=it(gt,Pt);let E=Re;dt&&dt.length>0&&(E=dt.map(q=>typeof q=="string"||typeof q=="number"?c.createElement(ve,{key:q.toString(),prefixCls:gt,disabled:Xe,value:q,checked:vt===q},q):c.createElement(ve,{key:`radio-group-value-options-${q.value}`,prefixCls:gt,disabled:q.disabled||Xe,value:q.value,checked:vt===q.value,title:q.title,style:q.style,id:q.id,required:q.required},q.label)));const D=(0,ee.Z)(oe),Ve=O()(tt,`${tt}-${ct}`,{[`${tt}-${D}`]:D,[`${tt}-rtl`]:St==="rtl",[`${tt}-block`]:xe},ke,Ht,Ae,et,Pt),ne=c.useMemo(()=>({onChange:xt,value:vt,disabled:Xe,name:M,optionType:U,block:xe}),[xt,vt,Xe,M,U,xe]);return _t(c.createElement("div",Object.assign({},(0,j.Z)(He,{aria:!0,data:!0}),{className:Ve,style:qe,onMouseEnter:Fe,onMouseLeave:nt,onFocus:se,onBlur:me,id:Me,ref:Oe}),c.createElement(C,{value:ne},E)))});var _=c.memo(we),I=function(He,Oe){var lt={};for(var St in He)Object.prototype.hasOwnProperty.call(He,St)&&Oe.indexOf(St)<0&&(lt[St]=He[St]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,St=Object.getOwnPropertySymbols(He);ze<St.length;ze++)Oe.indexOf(St[ze])<0&&Object.prototype.propertyIsEnumerable.call(He,St[ze])&&(lt[St[ze]]=He[St[ze]]);return lt};const he=(He,Oe)=>{const{getPrefixCls:lt}=c.useContext(v.E_),{prefixCls:St}=He,ze=I(He,["prefixCls"]),At=lt("radio",St);return c.createElement(A,{value:"button"},c.createElement(ve,Object.assign({prefixCls:At},ze,{type:"radio",ref:Oe})))};var Ne=c.forwardRef(he);const Qe=ve;Qe.Button=Ne,Qe.Group=_,Qe.__ANT_RADIO=!0;var Et=Qe},82326:function(On,at,h){"use strict";var c=h(59301),ie=h(92310),O=h.n(ie),le=h(37463),j=h(2738),v=h(75030),re=h(86641),ee=h(45915),o=h(82855),C=h(48755),F=h(38406),x=h(2171),A=h(83397),L=h(31756),z=h(56553),G=h(24971),Z=h(70045),W=h(57700),P=h(1722),K=h(90376),g=h(68525),T=h(90005),fe=function(Le,it){var ce={};for(var Y in Le)Object.prototype.hasOwnProperty.call(Le,Y)&&it.indexOf(Y)<0&&(ce[Y]=Le[Y]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,Y=Object.getOwnPropertySymbols(Le);N<Y.length;N++)it.indexOf(Y[N])<0&&Object.prototype.propertyIsEnumerable.call(Le,Y[N])&&(ce[Y[N]]=Le[Y[N]]);return ce};const Ee="SECRET_COMBOBOX_MODE_DO_NOT_USE",pe=(Le,it)=>{var ce;const{prefixCls:Y,bordered:N,className:ve,rootClassName:ue,getPopupContainer:we,popupClassName:_,dropdownClassName:I,listHeight:he=256,placement:Ne,listItemHeight:Qe,size:Et,disabled:He,notFoundContent:Oe,status:lt,builtinPlacements:St,dropdownMatchSelectWidth:ze,popupMatchSelectWidth:At,direction:ke,style:Ht,allowClear:dt,variant:ct,dropdownStyle:Xe,transitionName:Re,tagRender:oe,maxCount:qe,prefix:Me}=Le,U=fe(Le,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:M,getPrefixCls:ye,renderEmpty:Te,direction:xe,virtual:ae,popupMatchSelectWidth:Fe,popupOverflow:nt}=c.useContext(C.E_),se=(0,C.dj)("select"),[,me]=(0,W.ZP)(),vt=Qe!=null?Qe:me==null?void 0:me.controlHeight,ft=ye("select",Y),xt=ye(),gt=ke!=null?ke:xe,{compactSize:tt,compactItemClassnames:Pt}=(0,Z.ri)(ft,gt),[_t,Ae]=(0,G.Z)("select",ct,N),et=(0,A.Z)(ft),[E,D,Ve]=(0,K.Z)(ft,et),ne=c.useMemo(()=>{const{mode:Wn}=Le;if(Wn!=="combobox")return Wn===Ee?"combobox":Wn},[Le.mode]),q=ne==="multiple"||ne==="tags",jt=(0,T.Z)(Le.suffixIcon,Le.showArrow),Ue=(ce=At!=null?At:ze)!==null&&ce!==void 0?ce:Fe,{status:st,hasFeedback:ht,isFormItemInput:de,feedbackIcon:be}=c.useContext(z.aM),We=(0,o.F)(st,lt);let Ze;Oe!==void 0?Ze=Oe:ne==="combobox"?Ze=null:Ze=(Te==null?void 0:Te("Select"))||c.createElement(F.Z,{componentName:"Select"});const{suffixIcon:Q,itemIcon:Mt,removeIcon:_e,clearIcon:bt}=(0,g.Z)(Object.assign(Object.assign({},U),{multiple:q,hasFeedback:ht,feedbackIcon:be,showSuffixIcon:jt,prefixCls:ft,componentName:"Select"})),An=dt===!0?{clearIcon:bt}:dt,xn=(0,j.Z)(U,["suffixIcon","itemIcon"]),Er=O()(_||I,{[`${ft}-dropdown-${gt}`]:gt==="rtl"},ue,Ve,et,D),vr=(0,L.Z)(Wn=>{var Bt;return(Bt=Et!=null?Et:tt)!==null&&Bt!==void 0?Bt:Wn}),gr=c.useContext(x.Z),Hr=He!=null?He:gr,fi=O()({[`${ft}-lg`]:vr==="large",[`${ft}-sm`]:vr==="small",[`${ft}-rtl`]:gt==="rtl",[`${ft}-${_t}`]:Ae,[`${ft}-in-form-item`]:de},(0,o.Z)(ft,We,ht),Pt,se.className,ve,ue,Ve,et,D),lr=c.useMemo(()=>Ne!==void 0?Ne:gt==="rtl"?"bottomRight":"bottomLeft",[Ne,gt]),[ii]=(0,v.Cn)("SelectLike",Xe==null?void 0:Xe.zIndex);return E(c.createElement(le.ZP,Object.assign({ref:it,virtual:ae,showSearch:se.showSearch},xn,{style:Object.assign(Object.assign({},se.style),Ht),dropdownMatchSelectWidth:Ue,transitionName:(0,re.m)(xt,"slide-up",Re),builtinPlacements:(0,P.Z)(St,nt),listHeight:he,listItemHeight:vt,mode:ne,prefixCls:ft,placement:lr,direction:gt,prefix:Me,suffixIcon:Q,menuItemSelectedIcon:Mt,removeIcon:_e,allowClear:An,notFoundContent:Ze,className:fi,getPopupContainer:we||M,dropdownClassName:Er,disabled:Hr,dropdownStyle:Object.assign(Object.assign({},Xe),{zIndex:ii}),maxCount:q?qe:void 0,tagRender:q?oe:void 0})))},Be=c.forwardRef(pe),je=(0,ee.Z)(Be,"dropdownAlign");Be.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ee,Be.Option=le.Wx,Be.OptGroup=le.Xo,Be._InternalPanelDoNotUseOrYouWillBeFired=je,at.default=Be},1722:function(On,at){"use strict";const h=ie=>{const le={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:ie==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},le),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},le),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},le),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},le),{points:["br","tr"],offset:[0,-4]})}};function c(ie,O){return ie||h(O)}at.Z=c},90376:function(On,at,h){"use strict";h.d(at,{Z:function(){return Y}});var c=h(63356),ie=h(56119),O=h(16931),le=h(51636),j=h(46e3),v=h(93873);const re=N=>{const{optionHeight:ve,optionFontSize:ue,optionLineHeight:we,optionPadding:_}=N;return{position:"relative",display:"block",minHeight:ve,padding:_,color:N.colorText,fontWeight:"normal",fontSize:ue,lineHeight:we,boxSizing:"border-box"}};var o=N=>{const{antCls:ve,componentCls:ue}=N,we=`${ue}-item`,_=`&${ve}-slide-up-enter${ve}-slide-up-enter-active`,I=`&${ve}-slide-up-appear${ve}-slide-up-appear-active`,he=`&${ve}-slide-up-leave${ve}-slide-up-leave-active`,Ne=`${ue}-dropdown-placement-`,Qe=`${we}-option-selected`;return[{[`${ue}-dropdown`]:Object.assign(Object.assign({},(0,c.Wf)(N)),{position:"absolute",top:-9999,zIndex:N.zIndexPopup,boxSizing:"border-box",padding:N.paddingXXS,overflow:"hidden",fontSize:N.fontSize,fontVariant:"initial",backgroundColor:N.colorBgElevated,borderRadius:N.borderRadiusLG,outline:"none",boxShadow:N.boxShadowSecondary,[`
|
|
${_}${Ne}bottomLeft,
|
|
${I}${Ne}bottomLeft
|
|
`]:{animationName:j.fJ},[`
|
|
${_}${Ne}topLeft,
|
|
${I}${Ne}topLeft,
|
|
${_}${Ne}topRight,
|
|
${I}${Ne}topRight
|
|
`]:{animationName:j.Qt},[`${he}${Ne}bottomLeft`]:{animationName:j.Uw},[`
|
|
${he}${Ne}topLeft,
|
|
${he}${Ne}topRight
|
|
`]:{animationName:j.ly},"&-hidden":{display:"none"},[we]:Object.assign(Object.assign({},re(N)),{cursor:"pointer",transition:`background ${N.motionDurationSlow} ease`,borderRadius:N.borderRadiusSM,"&-group":{color:N.colorTextDescription,fontSize:N.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},c.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${we}-option-disabled)`]:{backgroundColor:N.optionActiveBg},[`&-selected:not(${we}-option-disabled)`]:{color:N.optionSelectedColor,fontWeight:N.optionSelectedFontWeight,backgroundColor:N.optionSelectedBg,[`${we}-option-state`]:{color:N.colorPrimary}},"&-disabled":{[`&${we}-option-selected`]:{backgroundColor:N.colorBgContainerDisabled},color:N.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:N.calc(N.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},re(N)),{color:N.colorTextDisabled})}),[`${Qe}:has(+ ${Qe})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Qe}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,j.oN)(N,"slide-up"),(0,j.oN)(N,"slide-down"),(0,v.Fm)(N,"move-up"),(0,v.Fm)(N,"move-down")]},C=h(26743),F=h(36237);function x(N,ve){const{componentCls:ue,inputPaddingHorizontalBase:we,borderRadius:_}=N,I=N.calc(N.controlHeight).sub(N.calc(N.lineWidth).mul(2)).equal(),he=ve?`${ue}-${ve}`:"";return{[`${ue}-single${he}`]:{fontSize:N.fontSize,height:N.controlHeight,[`${ue}-selector`]:Object.assign(Object.assign({},(0,c.Wf)(N,!0)),{display:"flex",borderRadius:_,flex:"1 1 auto",[`${ue}-selection-wrap:after`]:{lineHeight:(0,F.unit)(I)},[`${ue}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
${ue}-selection-item,
|
|
${ue}-selection-placeholder
|
|
`]:{display:"block",padding:0,lineHeight:(0,F.unit)(I),transition:`all ${N.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${ue}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ue}-selection-item:empty:after`,`${ue}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
&${ue}-show-arrow ${ue}-selection-item,
|
|
&${ue}-show-arrow ${ue}-selection-search,
|
|
&${ue}-show-arrow ${ue}-selection-placeholder
|
|
`]:{paddingInlineEnd:N.showArrowPaddingInlineEnd},[`&${ue}-open ${ue}-selection-item`]:{color:N.colorTextPlaceholder},[`&:not(${ue}-customize-input)`]:{[`${ue}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,F.unit)(we)}`,[`${ue}-selection-search-input`]:{height:I,fontSize:N.fontSize},"&:after":{lineHeight:(0,F.unit)(I)}}},[`&${ue}-customize-input`]:{[`${ue}-selector`]:{"&:after":{display:"none"},[`${ue}-selection-search`]:{position:"static",width:"100%"},[`${ue}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,F.unit)(we)}`,"&:after":{display:"none"}}}}}}}function A(N){const{componentCls:ve}=N,ue=N.calc(N.controlPaddingHorizontalSM).sub(N.lineWidth).equal();return[x(N),x((0,le.mergeToken)(N,{controlHeight:N.controlHeightSM,borderRadius:N.borderRadiusSM}),"sm"),{[`${ve}-single${ve}-sm`]:{[`&:not(${ve}-customize-input)`]:{[`${ve}-selector`]:{padding:`0 ${(0,F.unit)(ue)}`},[`&${ve}-show-arrow ${ve}-selection-search`]:{insetInlineEnd:N.calc(ue).add(N.calc(N.fontSize).mul(1.5)).equal()},[`
|
|
&${ve}-show-arrow ${ve}-selection-item,
|
|
&${ve}-show-arrow ${ve}-selection-placeholder
|
|
`]:{paddingInlineEnd:N.calc(N.fontSize).mul(1.5).equal()}}}},x((0,le.mergeToken)(N,{controlHeight:N.singleItemHeightLG,fontSize:N.fontSizeLG,borderRadius:N.borderRadiusLG}),"lg")]}const L=N=>{const{fontSize:ve,lineHeight:ue,lineWidth:we,controlHeight:_,controlHeightSM:I,controlHeightLG:he,paddingXXS:Ne,controlPaddingHorizontal:Qe,zIndexPopupBase:Et,colorText:He,fontWeightStrong:Oe,controlItemBgActive:lt,controlItemBgHover:St,colorBgContainer:ze,colorFillSecondary:At,colorBgContainerDisabled:ke,colorTextDisabled:Ht,colorPrimaryHover:dt,colorPrimary:ct,controlOutline:Xe}=N,Re=Ne*2,oe=we*2,qe=Math.min(_-Re,_-oe),Me=Math.min(I-Re,I-oe),U=Math.min(he-Re,he-oe);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Ne/2),zIndexPopup:Et+50,optionSelectedColor:He,optionSelectedFontWeight:Oe,optionSelectedBg:lt,optionActiveBg:St,optionPadding:`${(_-ve*ue)/2}px ${Qe}px`,optionFontSize:ve,optionLineHeight:ue,optionHeight:_,selectorBg:ze,clearBg:ze,singleItemHeightLG:he,multipleItemBg:At,multipleItemBorderColor:"transparent",multipleItemHeight:qe,multipleItemHeightSM:Me,multipleItemHeightLG:U,multipleSelectorBgDisabled:ke,multipleItemColorDisabled:Ht,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(N.fontSize*1.25),hoverBorderColor:dt,activeBorderColor:ct,activeOutlineColor:Xe,selectAffixPadding:Ne}},z=(N,ve)=>{const{componentCls:ue,antCls:we,controlOutlineWidth:_}=N;return{[`&:not(${ue}-customize-input) ${ue}-selector`]:{border:`${(0,F.unit)(N.lineWidth)} ${N.lineType} ${ve.borderColor}`,background:N.selectorBg},[`&:not(${ue}-disabled):not(${ue}-customize-input):not(${we}-pagination-size-changer)`]:{[`&:hover ${ue}-selector`]:{borderColor:ve.hoverBorderHover},[`${ue}-focused& ${ue}-selector`]:{borderColor:ve.activeBorderColor,boxShadow:`0 0 0 ${(0,F.unit)(_)} ${ve.activeOutlineColor}`,outline:0},[`${ue}-prefix`]:{color:ve.color}}}},G=(N,ve)=>({[`&${N.componentCls}-status-${ve.status}`]:Object.assign({},z(N,ve))}),Z=N=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},z(N,{borderColor:N.colorBorder,hoverBorderHover:N.hoverBorderColor,activeBorderColor:N.activeBorderColor,activeOutlineColor:N.activeOutlineColor,color:N.colorText})),G(N,{status:"error",borderColor:N.colorError,hoverBorderHover:N.colorErrorHover,activeBorderColor:N.colorError,activeOutlineColor:N.colorErrorOutline,color:N.colorError})),G(N,{status:"warning",borderColor:N.colorWarning,hoverBorderHover:N.colorWarningHover,activeBorderColor:N.colorWarning,activeOutlineColor:N.colorWarningOutline,color:N.colorWarning})),{[`&${N.componentCls}-disabled`]:{[`&:not(${N.componentCls}-customize-input) ${N.componentCls}-selector`]:{background:N.colorBgContainerDisabled,color:N.colorTextDisabled}},[`&${N.componentCls}-multiple ${N.componentCls}-selection-item`]:{background:N.multipleItemBg,border:`${(0,F.unit)(N.lineWidth)} ${N.lineType} ${N.multipleItemBorderColor}`}})}),W=(N,ve)=>{const{componentCls:ue,antCls:we}=N;return{[`&:not(${ue}-customize-input) ${ue}-selector`]:{background:ve.bg,border:`${(0,F.unit)(N.lineWidth)} ${N.lineType} transparent`,color:ve.color},[`&:not(${ue}-disabled):not(${ue}-customize-input):not(${we}-pagination-size-changer)`]:{[`&:hover ${ue}-selector`]:{background:ve.hoverBg},[`${ue}-focused& ${ue}-selector`]:{background:N.selectorBg,borderColor:ve.activeBorderColor,outline:0}}}},P=(N,ve)=>({[`&${N.componentCls}-status-${ve.status}`]:Object.assign({},W(N,ve))}),K=N=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},W(N,{bg:N.colorFillTertiary,hoverBg:N.colorFillSecondary,activeBorderColor:N.activeBorderColor,color:N.colorText})),P(N,{status:"error",bg:N.colorErrorBg,hoverBg:N.colorErrorBgHover,activeBorderColor:N.colorError,color:N.colorError})),P(N,{status:"warning",bg:N.colorWarningBg,hoverBg:N.colorWarningBgHover,activeBorderColor:N.colorWarning,color:N.colorWarning})),{[`&${N.componentCls}-disabled`]:{[`&:not(${N.componentCls}-customize-input) ${N.componentCls}-selector`]:{borderColor:N.colorBorder,background:N.colorBgContainerDisabled,color:N.colorTextDisabled}},[`&${N.componentCls}-multiple ${N.componentCls}-selection-item`]:{background:N.colorBgContainer,border:`${(0,F.unit)(N.lineWidth)} ${N.lineType} ${N.colorSplit}`}})}),g=N=>({"&-borderless":{[`${N.componentCls}-selector`]:{background:"transparent",border:`${(0,F.unit)(N.lineWidth)} ${N.lineType} transparent`},[`&${N.componentCls}-disabled`]:{[`&:not(${N.componentCls}-customize-input) ${N.componentCls}-selector`]:{color:N.colorTextDisabled}},[`&${N.componentCls}-multiple ${N.componentCls}-selection-item`]:{background:N.multipleItemBg,border:`${(0,F.unit)(N.lineWidth)} ${N.lineType} ${N.multipleItemBorderColor}`},[`&${N.componentCls}-status-error`]:{[`${N.componentCls}-prefix, ${N.componentCls}-selection-item`]:{color:N.colorError}},[`&${N.componentCls}-status-warning`]:{[`${N.componentCls}-prefix, ${N.componentCls}-selection-item`]:{color:N.colorWarning}}}}),T=(N,ve)=>{const{componentCls:ue,antCls:we}=N;return{[`&:not(${ue}-customize-input) ${ue}-selector`]:{borderWidth:`0 0 ${(0,F.unit)(N.lineWidth)} 0`,borderStyle:`none none ${N.lineType} none`,borderColor:ve.borderColor,background:N.selectorBg,borderRadius:0},[`&:not(${ue}-disabled):not(${ue}-customize-input):not(${we}-pagination-size-changer)`]:{[`&:hover ${ue}-selector`]:{borderColor:ve.hoverBorderHover},[`${ue}-focused& ${ue}-selector`]:{borderColor:ve.activeBorderColor,outline:0},[`${ue}-prefix`]:{color:ve.color}}}},fe=(N,ve)=>({[`&${N.componentCls}-status-${ve.status}`]:Object.assign({},T(N,ve))}),Ee=N=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},T(N,{borderColor:N.colorBorder,hoverBorderHover:N.hoverBorderColor,activeBorderColor:N.activeBorderColor,activeOutlineColor:N.activeOutlineColor,color:N.colorText})),fe(N,{status:"error",borderColor:N.colorError,hoverBorderHover:N.colorErrorHover,activeBorderColor:N.colorError,activeOutlineColor:N.colorErrorOutline,color:N.colorError})),fe(N,{status:"warning",borderColor:N.colorWarning,hoverBorderHover:N.colorWarningHover,activeBorderColor:N.colorWarning,activeOutlineColor:N.colorWarningOutline,color:N.colorWarning})),{[`&${N.componentCls}-disabled`]:{[`&:not(${N.componentCls}-customize-input) ${N.componentCls}-selector`]:{color:N.colorTextDisabled}},[`&${N.componentCls}-multiple ${N.componentCls}-selection-item`]:{background:N.multipleItemBg,border:`${(0,F.unit)(N.lineWidth)} ${N.lineType} ${N.multipleItemBorderColor}`}})});var Be=N=>({[N.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Z(N)),K(N)),g(N)),Ee(N))});const je=N=>{const{componentCls:ve}=N;return{position:"relative",transition:`all ${N.motionDurationMid} ${N.motionEaseInOut}`,input:{cursor:"pointer"},[`${ve}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${ve}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Le=N=>{const{componentCls:ve}=N;return{[`${ve}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},it=N=>{const{antCls:ve,componentCls:ue,inputPaddingHorizontalBase:we,iconCls:_}=N;return{[ue]:Object.assign(Object.assign({},(0,c.Wf)(N)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ue}-customize-input) ${ue}-selector`]:Object.assign(Object.assign({},je(N)),Le(N)),[`${ue}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},c.vS),{[`> ${ve}-typography`]:{display:"inline"}}),[`${ue}-selection-placeholder`]:Object.assign(Object.assign({},c.vS),{flex:1,color:N.colorTextPlaceholder,pointerEvents:"none"}),[`${ue}-arrow`]:Object.assign(Object.assign({},(0,c.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:we,height:N.fontSizeIcon,marginTop:N.calc(N.fontSizeIcon).mul(-1).div(2).equal(),color:N.colorTextQuaternary,fontSize:N.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${N.motionDurationSlow} ease`,[_]:{verticalAlign:"top",transition:`transform ${N.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${ue}-suffix)`]:{pointerEvents:"auto"}},[`${ue}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${ue}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${ue}-prefix`]:{flex:"none",marginInlineEnd:N.selectAffixPadding},[`${ue}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:we,zIndex:1,display:"inline-block",width:N.fontSizeIcon,height:N.fontSizeIcon,marginTop:N.calc(N.fontSizeIcon).mul(-1).div(2).equal(),color:N.colorTextQuaternary,fontSize:N.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${N.motionDurationMid} ease, opacity ${N.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:N.colorTextTertiary}},[`&:hover ${ue}-clear`]:{opacity:1,background:N.colorBgBase,borderRadius:"50%"}}),[`${ue}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ue}-has-feedback`]:{[`${ue}-clear`]:{insetInlineEnd:N.calc(we).add(N.fontSize).add(N.paddingXS).equal()}}}}}},ce=N=>{const{componentCls:ve}=N;return[{[ve]:{[`&${ve}-in-form-item`]:{width:"100%"}}},it(N),A(N),(0,C.ZP)(N),o(N),{[`${ve}-rtl`]:{direction:"rtl"}},(0,ie.c)(N,{borderElCls:`${ve}-selector`,focusElCls:`${ve}-focused`})]};var Y=(0,O.I$)("Select",(N,ve)=>{let{rootPrefixCls:ue}=ve;const we=(0,le.mergeToken)(N,{rootPrefixCls:ue,inputPaddingHorizontalBase:N.calc(N.paddingSM).sub(1).equal(),multipleSelectItemHeight:N.multipleItemHeight,selectHeight:N.controlHeight});return[ce(we),Be(we)]},L,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(On,at,h){"use strict";h.d(at,{_z:function(){return v},gp:function(){return le}});var c=h(36237),ie=h(63356),O=h(51636);const le=C=>{const{multipleSelectItemHeight:F,paddingXXS:x,lineWidth:A,INTERNAL_FIXED_ITEM_MARGIN:L}=C,z=C.max(C.calc(x).sub(A).equal(),0),G=C.max(C.calc(z).sub(L).equal(),0);return{basePadding:z,containerPadding:G,itemHeight:(0,c.unit)(F),itemLineHeight:(0,c.unit)(C.calc(F).sub(C.calc(C.lineWidth).mul(2)).equal())}},j=C=>{const{multipleSelectItemHeight:F,selectHeight:x,lineWidth:A}=C;return C.calc(x).sub(F).div(2).sub(A).equal()},v=C=>{const{componentCls:F,iconCls:x,borderRadiusSM:A,motionDurationSlow:L,paddingXS:z,multipleItemColorDisabled:G,multipleItemBorderColorDisabled:Z,colorIcon:W,colorIconHover:P,INTERNAL_FIXED_ITEM_MARGIN:K}=C;return{[`${F}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${F}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:K,borderRadius:A,cursor:"default",transition:`font-size ${L}, line-height ${L}, height ${L}`,marginInlineEnd:C.calc(K).mul(2).equal(),paddingInlineStart:z,paddingInlineEnd:C.calc(z).div(2).equal(),[`${F}-disabled&`]:{color:G,borderColor:Z,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:C.calc(z).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ie.Ro)()),{display:"inline-flex",alignItems:"center",color:W,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${x}`]:{verticalAlign:"-0.2em"},"&:hover":{color:P}})}}}},re=(C,F)=>{const{componentCls:x,INTERNAL_FIXED_ITEM_MARGIN:A}=C,L=`${x}-selection-overflow`,z=C.multipleSelectItemHeight,G=j(C),Z=F?`${x}-${F}`:"",W=le(C);return{[`${x}-multiple${Z}`]:Object.assign(Object.assign({},v(C)),{[`${x}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:W.basePadding,paddingBlock:W.containerPadding,borderRadius:C.borderRadius,[`${x}-disabled&`]:{background:C.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,c.unit)(A)} 0`,lineHeight:(0,c.unit)(z),visibility:"hidden",content:'"\\a0"'}},[`${x}-selection-item`]:{height:W.itemHeight,lineHeight:(0,c.unit)(W.itemLineHeight)},[`${x}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,c.unit)(z),marginBlock:A}},[`${x}-prefix`]:{marginInlineStart:C.calc(C.inputPaddingHorizontalBase).sub(W.basePadding).equal()},[`${L}-item + ${L}-item,
|
|
${x}-prefix + ${x}-selection-wrap
|
|
`]:{[`${x}-selection-search`]:{marginInlineStart:0},[`${x}-selection-placeholder`]:{insetInlineStart:0}},[`${L}-item-suffix`]:{minHeight:W.itemHeight,marginBlock:A},[`${x}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:C.calc(C.inputPaddingHorizontalBase).sub(G).equal(),"\n &-input,\n &-mirror\n ":{height:z,fontFamily:C.fontFamily,lineHeight:(0,c.unit)(z),transition:`all ${C.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${x}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:C.calc(C.inputPaddingHorizontalBase).sub(W.basePadding).equal(),insetInlineEnd:C.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${C.motionDurationSlow}`}})}};function ee(C,F){const{componentCls:x}=C,A=F?`${x}-${F}`:"",L={[`${x}-multiple${A}`]:{fontSize:C.fontSize,[`${x}-selector`]:{[`${x}-show-search&`]:{cursor:"text"}},[`
|
|
&${x}-show-arrow ${x}-selector,
|
|
&${x}-allow-clear ${x}-selector
|
|
`]:{paddingInlineEnd:C.calc(C.fontSizeIcon).add(C.controlPaddingHorizontal).equal()}}};return[re(C,F),L]}const o=C=>{const{componentCls:F}=C,x=(0,O.mergeToken)(C,{selectHeight:C.controlHeightSM,multipleSelectItemHeight:C.multipleItemHeightSM,borderRadius:C.borderRadiusSM,borderRadiusSM:C.borderRadiusXS}),A=(0,O.mergeToken)(C,{fontSize:C.fontSizeLG,selectHeight:C.controlHeightLG,multipleSelectItemHeight:C.multipleItemHeightLG,borderRadius:C.borderRadiusLG,borderRadiusSM:C.borderRadius});return[ee(C),ee(x,"sm"),{[`${F}-multiple${F}-sm`]:{[`${F}-selection-placeholder`]:{insetInline:C.calc(C.controlPaddingHorizontalSM).sub(C.lineWidth).equal()},[`${F}-selection-search`]:{marginInlineStart:2}}},ee(A,"lg")]};at.ZP=o},68525:function(On,at,h){"use strict";h.d(at,{Z:function(){return ee}});var c=h(59301),ie=h(40001),O=h(19248),le=h(99267),j=h(84105),v=h(58617),re=h(47472);function ee(o){let{suffixIcon:C,clearIcon:F,menuItemSelectedIcon:x,removeIcon:A,loading:L,multiple:z,hasFeedback:G,prefixCls:Z,showSuffixIcon:W,feedbackIcon:P,showArrow:K,componentName:g}=o;const T=F!=null?F:c.createElement(O.Z,null),fe=je=>C===null&&!G&&!K?null:c.createElement(c.Fragment,null,W!==!1&&je,G&&P);let Ee=null;if(C!==void 0)Ee=fe(C);else if(L)Ee=fe(c.createElement(v.Z,{spin:!0}));else{const je=`${Z}-suffix`;Ee=Le=>{let{open:it,showSearch:ce}=Le;return fe(it&&ce?c.createElement(re.Z,{className:je}):c.createElement(j.Z,{className:je}))}}let pe=null;x!==void 0?pe=x:z?pe=c.createElement(ie.Z,null):pe=null;let Be=null;return A!==void 0?Be=A:Be=c.createElement(le.Z,null),{clearIcon:T,suffixIcon:Ee,itemIcon:pe,removeIcon:Be}}},90005:function(On,at,h){"use strict";h.d(at,{Z:function(){return c}});function c(ie,O){return O!==void 0?O:ie!==null}},44104:function(On,at,h){"use strict";h.d(at,{Z:function(){return G}});var c=h(59301),ie=h(92310),O=h.n(ie),le=h(11592),j=h(99402),v=h(48755),re=h(70045);const ee=c.createContext({latestIndex:0}),o=ee.Provider;var F=Z=>{let{className:W,index:P,children:K,split:g,style:T}=Z;const{latestIndex:fe}=c.useContext(ee);return K==null?null:c.createElement(c.Fragment,null,c.createElement("div",{className:W,style:T},K),P<fe&&g&&c.createElement("span",{className:`${W}-split`},g))},x=h(31547),A=function(Z,W){var P={};for(var K in Z)Object.prototype.hasOwnProperty.call(Z,K)&&W.indexOf(K)<0&&(P[K]=Z[K]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,K=Object.getOwnPropertySymbols(Z);g<K.length;g++)W.indexOf(K[g])<0&&Object.prototype.propertyIsEnumerable.call(Z,K[g])&&(P[K[g]]=Z[K[g]]);return P};const z=c.forwardRef((Z,W)=>{var P;const{getPrefixCls:K,direction:g,size:T,className:fe,style:Ee,classNames:pe,styles:Be}=(0,v.dj)("space"),{size:je=T!=null?T:"small",align:Le,className:it,rootClassName:ce,children:Y,direction:N="horizontal",prefixCls:ve,split:ue,style:we,wrap:_=!1,classNames:I,styles:he}=Z,Ne=A(Z,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Qe,Et]=Array.isArray(je)?je:[je,je],He=(0,j.n)(Et),Oe=(0,j.n)(Qe),lt=(0,j.T)(Et),St=(0,j.T)(Qe),ze=(0,le.Z)(Y,{keepEmpty:!0}),At=Le===void 0&&N==="horizontal"?"center":Le,ke=K("space",ve),[Ht,dt,ct]=(0,x.Z)(ke),Xe=O()(ke,fe,dt,`${ke}-${N}`,{[`${ke}-rtl`]:g==="rtl",[`${ke}-align-${At}`]:At,[`${ke}-gap-row-${Et}`]:He,[`${ke}-gap-col-${Qe}`]:Oe},it,ce,ct),Re=O()(`${ke}-item`,(P=I==null?void 0:I.item)!==null&&P!==void 0?P:pe.item);let oe=0;const qe=ze.map((M,ye)=>{var Te;M!=null&&(oe=ye);const xe=(M==null?void 0:M.key)||`${Re}-${ye}`;return c.createElement(F,{className:Re,key:xe,index:ye,split:ue,style:(Te=he==null?void 0:he.item)!==null&&Te!==void 0?Te:Be.item},M)}),Me=c.useMemo(()=>({latestIndex:oe}),[oe]);if(ze.length===0)return null;const U={};return _&&(U.flexWrap="wrap"),!Oe&&St&&(U.columnGap=Qe),!He&<&&(U.rowGap=Et),Ht(c.createElement("div",Object.assign({ref:W,className:Xe,style:Object.assign(Object.assign(Object.assign({},U),Ee),we)},Ne),c.createElement(o,{value:Me},qe)))});z.Compact=re.ZP;var G=z},93873:function(On,at,h){"use strict";h.d(at,{Fm:function(){return x}});var c=h(36237),ie=h(48746);const O=new c.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),le=new c.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),j=new c.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),v=new c.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),re=new c.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ee=new c.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 c.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),C=new c.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),F={"move-up":{inKeyframes:o,outKeyframes:C},"move-down":{inKeyframes:O,outKeyframes:le},"move-left":{inKeyframes:j,outKeyframes:v},"move-right":{inKeyframes:re,outKeyframes:ee}},x=(A,L)=>{const{antCls:z}=A,G=`${z}-${L}`,{inKeyframes:Z,outKeyframes:W}=F[L];return[(0,ie.R)(G,Z,W,A.motionDurationMid),{[`
|
|
${G}-enter,
|
|
${G}-appear
|
|
`]:{opacity:0,animationTimingFunction:A.motionEaseOutCirc},[`${G}-leave`]:{animationTimingFunction:A.motionEaseInOutCirc}}]}},46e3:function(On,at,h){"use strict";h.d(at,{Qt:function(){return j},Uw:function(){return le},fJ:function(){return O},ly:function(){return v},oN:function(){return x}});var c=h(36237),ie=h(48746);const O=new c.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),le=new c.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),j=new c.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),v=new c.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),re=new c.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ee=new c.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),o=new c.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),C=new c.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),F={"slide-up":{inKeyframes:O,outKeyframes:le},"slide-down":{inKeyframes:j,outKeyframes:v},"slide-left":{inKeyframes:re,outKeyframes:ee},"slide-right":{inKeyframes:o,outKeyframes:C}},x=(A,L)=>{const{antCls:z}=A,G=`${z}-${L}`,{inKeyframes:Z,outKeyframes:W}=F[L];return[(0,ie.R)(G,Z,W,A.motionDurationMid),{[`
|
|
${G}-enter,
|
|
${G}-appear
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:A.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${G}-leave`]:{animationTimingFunction:A.motionEaseInQuint}}]}},37645:function(On,at,h){"use strict";h.d(at,{ZP:function(){return v},qN:function(){return O},wZ:function(){return le}});var c=h(36237),ie=h(36305);const O=8;function le(re){const{contentRadius:ee,limitVerticalRadius:o}=re,C=ee>12?ee+2:12;return{arrowOffsetHorizontal:C,arrowOffsetVertical:o?O:C}}function j(re,ee){return re?ee:{}}function v(re,ee,o){const{componentCls:C,boxShadowPopoverArrow:F,arrowOffsetVertical:x,arrowOffsetHorizontal:A}=re,{arrowDistance:L=0,arrowPlacement:z={left:!0,right:!0,top:!0,bottom:!0}}=o||{};return{[C]:Object.assign(Object.assign(Object.assign(Object.assign({[`${C}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,ie.W)(re,ee,F)),{"&:before":{background:ee}})]},j(!!z.top,{[[`&-placement-top > ${C}-arrow`,`&-placement-topLeft > ${C}-arrow`,`&-placement-topRight > ${C}-arrow`].join(",")]:{bottom:L,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${C}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":A,[`> ${C}-arrow`]:{left:{_skip_check_:!0,value:A}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,c.unit)(A)})`,[`> ${C}-arrow`]:{right:{_skip_check_:!0,value:A}}}})),j(!!z.bottom,{[[`&-placement-bottom > ${C}-arrow`,`&-placement-bottomLeft > ${C}-arrow`,`&-placement-bottomRight > ${C}-arrow`].join(",")]:{top:L,transform:"translateY(-100%)"},[`&-placement-bottom > ${C}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":A,[`> ${C}-arrow`]:{left:{_skip_check_:!0,value:A}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,c.unit)(A)})`,[`> ${C}-arrow`]:{right:{_skip_check_:!0,value:A}}}})),j(!!z.left,{[[`&-placement-left > ${C}-arrow`,`&-placement-leftTop > ${C}-arrow`,`&-placement-leftBottom > ${C}-arrow`].join(",")]:{right:{_skip_check_:!0,value:L},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${C}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${C}-arrow`]:{top:x},[`&-placement-leftBottom > ${C}-arrow`]:{bottom:x}})),j(!!z.right,{[[`&-placement-right > ${C}-arrow`,`&-placement-rightTop > ${C}-arrow`,`&-placement-rightBottom > ${C}-arrow`].join(",")]:{left:{_skip_check_:!0,value:L},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${C}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${C}-arrow`]:{top:x},[`&-placement-rightBottom > ${C}-arrow`]:{bottom:x}}))}}},36305:function(On,at,h){"use strict";h.d(at,{W:function(){return O},w:function(){return ie}});var c=h(36237);function ie(le){const{sizePopupArrow:j,borderRadiusXS:v,borderRadiusOuter:re}=le,ee=j/2,o=0,C=ee,F=re*1/Math.sqrt(2),x=ee-re*(1-1/Math.sqrt(2)),A=ee-v*(1/Math.sqrt(2)),L=re*(Math.sqrt(2)-1)+v*(1/Math.sqrt(2)),z=2*ee-A,G=L,Z=2*ee-F,W=x,P=2*ee-o,K=C,g=ee*Math.sqrt(2)+re*(Math.sqrt(2)-2),T=re*(Math.sqrt(2)-1),fe=`polygon(${T}px 100%, 50% ${T}px, ${2*ee-T}px 100%, ${T}px 100%)`,Ee=`path('M ${o} ${C} A ${re} ${re} 0 0 0 ${F} ${x} L ${A} ${L} A ${v} ${v} 0 0 1 ${z} ${G} L ${Z} ${W} A ${re} ${re} 0 0 0 ${P} ${K} Z')`;return{arrowShadowWidth:g,arrowPath:Ee,arrowPolygon:fe}}const O=(le,j,v)=>{const{sizePopupArrow:re,arrowPolygon:ee,arrowPath:o,arrowShadowWidth:C,borderRadiusXS:F,calc:x}=le;return{pointerEvents:"none",width:re,height:re,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:re,height:x(re).div(2).equal(),background:j,clipPath:{_multi_value_:!0,value:[ee,o]},content:'""'},"&::after":{content:'""',position:"absolute",width:C,height:C,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,c.unit)(F)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:v,zIndex:0,background:"transparent"}}}},70858:function(On,at,h){"use strict";h.d(at,{default:function(){return ma}});var c=h(59301),ie={},O="rc-table-internal-hook",le=h(72190),j=h(6089),v=h(34280),re=h(13697),ee=h(4676);function o(J){var V=c.createContext(void 0),De=function(ot){var mt=ot.value,Rt=ot.children,Ct=c.useRef(mt);Ct.current=mt;var Nt=c.useState(function(){return{getValue:function(){return Ct.current},listeners:new Set}}),Ut=(0,le.Z)(Nt,1),fn=Ut[0];return(0,v.Z)(function(){(0,ee.unstable_batchedUpdates)(function(){fn.listeners.forEach(function(sn){sn(mt)})})},[mt]),c.createElement(V.Provider,{value:fn},Rt)};return{Context:V,Provider:De,defaultValue:J}}function C(J,V){var De=(0,j.Z)(typeof V=="function"?V:function(sn){if(V===void 0)return sn;if(!Array.isArray(V))return sn[V];var rn={};return V.forEach(function(B){rn[B]=sn[B]}),rn}),Ge=c.useContext(J==null?void 0:J.Context),ot=Ge||{},mt=ot.listeners,Rt=ot.getValue,Ct=c.useRef();Ct.current=De(Ge?Rt():J==null?void 0:J.defaultValue);var Nt=c.useState({}),Ut=(0,le.Z)(Nt,2),fn=Ut[1];return(0,v.Z)(function(){if(!Ge)return;function sn(rn){var B=De(rn);(0,re.Z)(Ct.current,B,!0)||fn({})}return mt.add(sn),function(){mt.delete(sn)}},[Ge]),Ct.current}var F=h(60499),x=h(8654);function A(){var J=c.createContext(null);function V(){return c.useContext(J)}function De(ot,mt){var Rt=(0,x.Yr)(ot),Ct=function(Ut,fn){var sn=Rt?{ref:fn}:{},rn=c.useRef(0),B=c.useRef(Ut),l=V();return l!==null?c.createElement(ot,(0,F.Z)({},Ut,sn)):((!mt||mt(B.current,Ut))&&(rn.current+=1),B.current=Ut,c.createElement(J.Provider,{value:rn.current},c.createElement(ot,(0,F.Z)({},Ut,sn))))};return Rt?c.forwardRef(Ct):Ct}function Ge(ot,mt){var Rt=(0,x.Yr)(ot),Ct=function(Ut,fn){var sn=Rt?{ref:fn}:{};return V(),c.createElement(ot,(0,F.Z)({},Ut,sn))};return Rt?c.memo(c.forwardRef(Ct),mt):c.memo(Ct,mt)}return{makeImmutable:De,responseImmutable:Ge,useImmutableMark:V}}var L=A(),z=L.makeImmutable,G=L.responseImmutable,Z=L.useImmutableMark,W=A(),P=W.makeImmutable,K=W.responseImmutable,g=W.useImmutableMark,T=o(),fe=T;function Ee(J,V){var De=React.useRef(0);De.current+=1;var Ge=React.useRef(J),ot=[];Object.keys(J||{}).map(function(Rt){var Ct;(J==null?void 0:J[Rt])!==((Ct=Ge.current)===null||Ct===void 0?void 0:Ct[Rt])&&ot.push(Rt)}),Ge.current=J;var mt=React.useRef([]);return ot.length&&(mt.current=ot),React.useDebugValue(De.current),React.useDebugValue(mt.current.join(", ")),V&&console.log("".concat(V,":"),De.current,mt.current),De.current}var pe=null,Be=null,je=h(43749),Le=h(85899),it=h(18642),ce=h(92310),Y=h.n(ce),N=h(80547),ve=h(97938),ue=h(48736),we=c.createContext({renderWithProps:!1}),_=we,I="RC_TABLE_KEY";function he(J){return J==null?[]:Array.isArray(J)?J:[J]}function Ne(J){var V=[],De={};return J.forEach(function(Ge){for(var ot=Ge||{},mt=ot.key,Rt=ot.dataIndex,Ct=mt||he(Rt).join("-")||I;De[Ct];)Ct="".concat(Ct,"_next");De[Ct]=!0,V.push(Ct)}),V}function Qe(J){return J!=null}function Et(J){return typeof J=="number"&&!Number.isNaN(J)}function He(J){return J&&(0,je.Z)(J)==="object"&&!Array.isArray(J)&&!c.isValidElement(J)}function Oe(J,V,De,Ge,ot,mt){var Rt=c.useContext(_),Ct=g(),Nt=(0,N.Z)(function(){if(Qe(Ge))return[Ge];var Ut=V==null||V===""?[]:Array.isArray(V)?V:[V],fn=(0,ve.Z)(J,Ut),sn=fn,rn=void 0;if(ot){var B=ot(fn,J,De);He(B)?(sn=B.children,rn=B.props,Rt.renderWithProps=!0):sn=B}return[sn,rn]},[Ct,J,Ge,V,ot,De],function(Ut,fn){if(mt){var sn=(0,le.Z)(Ut,2),rn=sn[1],B=(0,le.Z)(fn,2),l=B[1];return mt(l,rn)}return Rt.renderWithProps?!0:!(0,re.Z)(Ut,fn,!0)});return Nt}function lt(J,V,De,Ge){var ot=J+V-1;return J<=Ge&&ot>=De}function St(J,V){return C(fe,function(De){var Ge=lt(J,V||1,De.hoverStartRow,De.hoverEndRow);return[Ge,De.onHover]})}var ze=h(70425),At=function(V){var De=V.ellipsis,Ge=V.rowType,ot=V.children,mt,Rt=De===!0?{showTitle:!0}:De;return Rt&&(Rt.showTitle||Ge==="header")&&(typeof ot=="string"||typeof ot=="number"?mt=ot.toString():c.isValidElement(ot)&&typeof ot.props.children=="string"&&(mt=ot.props.children)),mt};function ke(J){var V,De,Ge,ot,mt,Rt,Ct,Nt,Ut=J.component,fn=J.children,sn=J.ellipsis,rn=J.scope,B=J.prefixCls,l=J.className,d=J.align,f=J.record,b=J.render,R=J.dataIndex,H=J.renderIndex,ge=J.shouldCellUpdate,Ce=J.index,Ke=J.rowType,pt=J.colSpan,Tt=J.rowSpan,Qt=J.fixLeft,Wt=J.fixRight,Vt=J.firstFixLeft,ln=J.lastFixLeft,Jt=J.firstFixRight,qt=J.lastFixRight,bn=J.appendNode,Hn=J.additionalProps,ur=Hn===void 0?{}:Hn,Sr=J.isSticky,er="".concat(B,"-cell"),ci=C(fe,["supportSticky","allColumnsFixedLeft","rowHoverable"]),oi=ci.supportSticky,Ca=ci.allColumnsFixedLeft,Xi=ci.rowHoverable,Kt=Oe(f,R,H,fn,b,ge),Oa=(0,le.Z)(Kt,2),Ya=Oa[0],la=Oa[1],Zi={},$a=typeof Qt=="number"&&oi,Qa=typeof Wt=="number"&&oi;$a&&(Zi.position="sticky",Zi.left=Qt),Qa&&(Zi.position="sticky",Zi.right=Wt);var Di=(V=(De=(Ge=la==null?void 0:la.colSpan)!==null&&Ge!==void 0?Ge:ur.colSpan)!==null&&De!==void 0?De:pt)!==null&&V!==void 0?V:1,ua=(ot=(mt=(Rt=la==null?void 0:la.rowSpan)!==null&&Rt!==void 0?Rt:ur.rowSpan)!==null&&mt!==void 0?mt:Tt)!==null&&ot!==void 0?ot:1,di=St(Ce,ua),Si=(0,le.Z)(di,2),wa=Si[0],Ma=Si[1],Ja=(0,ze.zX)(function(Xa){var ja;f&&Ma(Ce,Ce+ua-1),ur==null||(ja=ur.onMouseEnter)===null||ja===void 0||ja.call(ur,Xa)}),Ba=(0,ze.zX)(function(Xa){var ja;f&&Ma(-1,-1),ur==null||(ja=ur.onMouseLeave)===null||ja===void 0||ja.call(ur,Xa)});if(Di===0||ua===0)return null;var qa=(Ct=ur.title)!==null&&Ct!==void 0?Ct:At({rowType:Ke,ellipsis:sn,children:Ya}),ds=Y()(er,l,(Nt={},(0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)(Nt,"".concat(er,"-fix-left"),$a&&oi),"".concat(er,"-fix-left-first"),Vt&&oi),"".concat(er,"-fix-left-last"),ln&&oi),"".concat(er,"-fix-left-all"),ln&&Ca&&oi),"".concat(er,"-fix-right"),Qa&&oi),"".concat(er,"-fix-right-first"),Jt&&oi),"".concat(er,"-fix-right-last"),qt&&oi),"".concat(er,"-ellipsis"),sn),"".concat(er,"-with-append"),bn),"".concat(er,"-fix-sticky"),($a||Qa)&&Sr&&oi),(0,it.Z)(Nt,"".concat(er,"-row-hover"),!la&&wa)),ur.className,la==null?void 0:la.className),Mi={};d&&(Mi.textAlign=d);var Ki=(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({},la==null?void 0:la.style),Zi),Mi),ur.style),Ha=Ya;return(0,je.Z)(Ha)==="object"&&!Array.isArray(Ha)&&!c.isValidElement(Ha)&&(Ha=null),sn&&(ln||Jt)&&(Ha=c.createElement("span",{className:"".concat(er,"-content")},Ha)),c.createElement(Ut,(0,F.Z)({},la,ur,{className:ds,style:Ki,title:qa,scope:rn,onMouseEnter:Xi?Ja:void 0,onMouseLeave:Xi?Ba:void 0,colSpan:Di!==1?Di:null,rowSpan:ua!==1?ua:null}),bn,Ha)}var Ht=c.memo(ke);function dt(J,V,De,Ge,ot){var mt=De[J]||{},Rt=De[V]||{},Ct,Nt;mt.fixed==="left"?Ct=Ge.left[ot==="rtl"?V:J]:Rt.fixed==="right"&&(Nt=Ge.right[ot==="rtl"?J:V]);var Ut=!1,fn=!1,sn=!1,rn=!1,B=De[V+1],l=De[J-1],d=B&&!B.fixed||l&&!l.fixed||De.every(function(ge){return ge.fixed==="left"});if(ot==="rtl"){if(Ct!==void 0){var f=l&&l.fixed==="left";rn=!f&&d}else if(Nt!==void 0){var b=B&&B.fixed==="right";sn=!b&&d}}else if(Ct!==void 0){var R=B&&B.fixed==="left";Ut=!R&&d}else if(Nt!==void 0){var H=l&&l.fixed==="right";fn=!H&&d}return{fixLeft:Ct,fixRight:Nt,lastFixLeft:Ut,firstFixRight:fn,lastFixRight:sn,firstFixLeft:rn,isSticky:Ge.isSticky}}var ct=c.createContext({}),Xe=ct;function Re(J){var V=J.className,De=J.index,Ge=J.children,ot=J.colSpan,mt=ot===void 0?1:ot,Rt=J.rowSpan,Ct=J.align,Nt=C(fe,["prefixCls","direction"]),Ut=Nt.prefixCls,fn=Nt.direction,sn=c.useContext(Xe),rn=sn.scrollColumnIndex,B=sn.stickyOffsets,l=sn.flattenColumns,d=De+mt-1,f=d+1===rn?mt+1:mt,b=dt(De,De+f-1,l,B,fn);return c.createElement(Ht,(0,F.Z)({className:V,index:De,component:"td",prefixCls:Ut,record:null,dataIndex:null,align:Ct,colSpan:f,rowSpan:Rt,render:function(){return Ge}},b))}var oe=h(42244),qe=["children"];function Me(J){var V=J.children,De=(0,oe.Z)(J,qe);return c.createElement("tr",De,V)}function U(J){var V=J.children;return V}U.Row=Me,U.Cell=Re;var M=U;function ye(J){var V=J.children,De=J.stickyOffsets,Ge=J.flattenColumns,ot=C(fe,"prefixCls"),mt=Ge.length-1,Rt=Ge[mt],Ct=c.useMemo(function(){return{stickyOffsets:De,flattenColumns:Ge,scrollColumnIndex:Rt!=null&&Rt.scrollbar?mt:null}},[Rt,Ge,mt,De]);return c.createElement(Xe.Provider,{value:Ct},c.createElement("tfoot",{className:"".concat(ot,"-summary")},V))}var Te=K(ye),xe=M,ae=h(29301),Fe=h(24514),nt=h(75152),se=h(26112);function me(J,V,De,Ge,ot,mt,Rt){J.push({record:V,indent:De,index:Rt});var Ct=mt(V),Nt=ot==null?void 0:ot.has(Ct);if(V&&Array.isArray(V[Ge])&&Nt)for(var Ut=0;Ut<V[Ge].length;Ut+=1)me(J,V[Ge][Ut],De+1,Ge,ot,mt,Ut)}function vt(J,V,De,Ge){var ot=c.useMemo(function(){if(De!=null&&De.size){for(var mt=[],Rt=0;Rt<(J==null?void 0:J.length);Rt+=1){var Ct=J[Rt];me(mt,Ct,0,V,De,Ge,Rt)}return mt}return J==null?void 0:J.map(function(Nt,Ut){return{record:Nt,indent:0,index:Ut}})},[J,V,De,Ge]);return ot}function ft(J,V,De,Ge){var ot=C(fe,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),mt=ot.flattenColumns,Rt=ot.expandableType,Ct=ot.expandedKeys,Nt=ot.childrenColumnName,Ut=ot.onTriggerExpand,fn=ot.rowExpandable,sn=ot.onRow,rn=ot.expandRowByClick,B=ot.rowClassName,l=Rt==="nest",d=Rt==="row"&&(!fn||fn(J)),f=d||l,b=Ct&&Ct.has(V),R=Nt&&J&&J[Nt],H=(0,ze.zX)(Ut),ge=sn==null?void 0:sn(J,De),Ce=ge==null?void 0:ge.onClick,Ke=function(Wt){rn&&f&&Ut(J,Wt);for(var Vt=arguments.length,ln=new Array(Vt>1?Vt-1:0),Jt=1;Jt<Vt;Jt++)ln[Jt-1]=arguments[Jt];Ce==null||Ce.apply(void 0,[Wt].concat(ln))},pt;typeof B=="string"?pt=B:typeof B=="function"&&(pt=B(J,De,Ge));var Tt=Ne(mt);return(0,Le.Z)((0,Le.Z)({},ot),{},{columnsKey:Tt,nestExpandable:l,expanded:b,hasNestChildren:R,record:J,onTriggerExpand:H,rowSupportExpand:d,expandable:f,rowProps:(0,Le.Z)((0,Le.Z)({},ge),{},{className:Y()(pt,ge==null?void 0:ge.className),onClick:Ke})})}function xt(J){var V=J.prefixCls,De=J.children,Ge=J.component,ot=J.cellComponent,mt=J.className,Rt=J.expanded,Ct=J.colSpan,Nt=J.isEmpty,Ut=C(fe,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),fn=Ut.scrollbarSize,sn=Ut.fixHeader,rn=Ut.fixColumn,B=Ut.componentWidth,l=Ut.horizonScroll,d=De;return(Nt?l&&B:rn)&&(d=c.createElement("div",{style:{width:B-(sn&&!Nt?fn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(V,"-expanded-row-fixed")},d)),c.createElement(Ge,{className:mt,style:{display:Rt?null:"none"}},c.createElement(Ht,{component:ot,prefixCls:V,colSpan:Ct},d))}var gt=xt;function tt(J){var V=J.prefixCls,De=J.record,Ge=J.onExpand,ot=J.expanded,mt=J.expandable,Rt="".concat(V,"-row-expand-icon");if(!mt)return c.createElement("span",{className:Y()(Rt,"".concat(V,"-row-spaced"))});var Ct=function(Ut){Ge(De,Ut),Ut.stopPropagation()};return c.createElement("span",{className:Y()(Rt,(0,it.Z)((0,it.Z)({},"".concat(V,"-row-expanded"),ot),"".concat(V,"-row-collapsed"),!ot)),onClick:Ct})}function Pt(J,V,De){var Ge=[];function ot(mt){(mt||[]).forEach(function(Rt,Ct){Ge.push(V(Rt,Ct)),ot(Rt[De])})}return ot(J),Ge}function _t(J,V,De,Ge){return typeof J=="string"?J:typeof J=="function"?J(V,De,Ge):""}function Ae(J,V,De,Ge,ot){var mt=J.record,Rt=J.prefixCls,Ct=J.columnsKey,Nt=J.fixedInfoList,Ut=J.expandIconColumnIndex,fn=J.nestExpandable,sn=J.indentSize,rn=J.expandIcon,B=J.expanded,l=J.hasNestChildren,d=J.onTriggerExpand,f=Ct[De],b=Nt[De],R;De===(Ut||0)&&fn&&(R=c.createElement(c.Fragment,null,c.createElement("span",{style:{paddingLeft:"".concat(sn*Ge,"px")},className:"".concat(Rt,"-row-indent indent-level-").concat(Ge)}),rn({prefixCls:Rt,expanded:B,expandable:l,record:mt,onExpand:d})));var H;return V.onCell&&(H=V.onCell(mt,ot)),{key:f,fixedInfo:b,appendCellNode:R,additionalCellProps:H||{}}}function et(J){var V=J.className,De=J.style,Ge=J.record,ot=J.index,mt=J.renderIndex,Rt=J.rowKey,Ct=J.indent,Nt=Ct===void 0?0:Ct,Ut=J.rowComponent,fn=J.cellComponent,sn=J.scopeCellComponent,rn=ft(Ge,Rt,ot,Nt),B=rn.prefixCls,l=rn.flattenColumns,d=rn.expandedRowClassName,f=rn.expandedRowRender,b=rn.rowProps,R=rn.expanded,H=rn.rowSupportExpand,ge=c.useRef(!1);ge.current||(ge.current=R);var Ce=_t(d,Ge,ot,Nt),Ke=c.createElement(Ut,(0,F.Z)({},b,{"data-row-key":Rt,className:Y()(V,"".concat(B,"-row"),"".concat(B,"-row-level-").concat(Nt),b==null?void 0:b.className,(0,it.Z)({},Ce,Nt>=1)),style:(0,Le.Z)((0,Le.Z)({},De),b==null?void 0:b.style)}),l.map(function(Qt,Wt){var Vt=Qt.render,ln=Qt.dataIndex,Jt=Qt.className,qt=Ae(rn,Qt,Wt,Nt,ot),bn=qt.key,Hn=qt.fixedInfo,ur=qt.appendCellNode,Sr=qt.additionalCellProps;return c.createElement(Ht,(0,F.Z)({className:Jt,ellipsis:Qt.ellipsis,align:Qt.align,scope:Qt.rowScope,component:Qt.rowScope?sn:fn,prefixCls:B,key:bn,record:Ge,index:ot,renderIndex:mt,dataIndex:ln,render:Vt,shouldCellUpdate:Qt.shouldCellUpdate},Hn,{appendNode:ur,additionalProps:Sr}))})),pt;if(H&&(ge.current||R)){var Tt=f(Ge,ot,Nt+1,R);pt=c.createElement(gt,{expanded:R,className:Y()("".concat(B,"-expanded-row"),"".concat(B,"-expanded-row-level-").concat(Nt+1),Ce),prefixCls:B,component:Ut,cellComponent:fn,colSpan:l.length,isEmpty:!1},Tt)}return c.createElement(c.Fragment,null,Ke,pt)}var E=K(et);function D(J){var V=J.columnKey,De=J.onColumnResize,Ge=c.useRef();return(0,v.Z)(function(){Ge.current&&De(V,Ge.current.offsetWidth)},[]),c.createElement(ae.Z,{data:V},c.createElement("td",{ref:Ge,style:{padding:0,border:0,height:0}},c.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var Ve=h(29194);function ne(J){var V=J.prefixCls,De=J.columnsKey,Ge=J.onColumnResize,ot=c.useRef(null);return c.createElement("tr",{"aria-hidden":"true",className:"".concat(V,"-measure-row"),style:{height:0,fontSize:0},ref:ot},c.createElement(ae.Z.Collection,{onBatchResize:function(Rt){(0,Ve.Z)(ot.current)&&Rt.forEach(function(Ct){var Nt=Ct.data,Ut=Ct.size;Ge(Nt,Ut.offsetWidth)})}},De.map(function(mt){return c.createElement(D,{key:mt,columnKey:mt,onColumnResize:Ge})})))}function q(J){var V=J.data,De=J.measureColumnWidth,Ge=C(fe,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ot=Ge.prefixCls,mt=Ge.getComponent,Rt=Ge.onColumnResize,Ct=Ge.flattenColumns,Nt=Ge.getRowKey,Ut=Ge.expandedKeys,fn=Ge.childrenColumnName,sn=Ge.emptyNode,rn=vt(V,fn,Ut,Nt),B=c.useRef({renderWithProps:!1}),l=mt(["body","wrapper"],"tbody"),d=mt(["body","row"],"tr"),f=mt(["body","cell"],"td"),b=mt(["body","cell"],"th"),R;V.length?R=rn.map(function(ge,Ce){var Ke=ge.record,pt=ge.indent,Tt=ge.index,Qt=Nt(Ke,Ce);return c.createElement(E,{key:Qt,rowKey:Qt,record:Ke,index:Ce,renderIndex:Tt,rowComponent:d,cellComponent:f,scopeCellComponent:b,indent:pt})}):R=c.createElement(gt,{expanded:!0,className:"".concat(ot,"-placeholder"),prefixCls:ot,component:d,cellComponent:f,colSpan:Ct.length,isEmpty:!0},sn);var H=Ne(Ct);return c.createElement(_.Provider,{value:B.current},c.createElement(l,{className:"".concat(ot,"-tbody")},De&&c.createElement(ne,{prefixCls:ot,columnsKey:H,onColumnResize:Rt}),R))}var jt=K(q),Ue=["expandable"],st="RC_TABLE_INTERNAL_COL_DEFINE";function ht(J){var V=J.expandable,De=(0,oe.Z)(J,Ue),Ge;return"expandable"in J?Ge=(0,Le.Z)((0,Le.Z)({},De),V):Ge=De,Ge.showExpandColumn===!1&&(Ge.expandIconColumnIndex=-1),Ge}var de=["columnType"];function be(J){for(var V=J.colWidths,De=J.columns,Ge=J.columCount,ot=C(fe,["tableLayout"]),mt=ot.tableLayout,Rt=[],Ct=Ge||De.length,Nt=!1,Ut=Ct-1;Ut>=0;Ut-=1){var fn=V[Ut],sn=De&&De[Ut],rn=void 0,B=void 0;if(sn&&(rn=sn[st],mt==="auto"&&(B=sn.minWidth)),fn||B||rn||Nt){var l=rn||{},d=l.columnType,f=(0,oe.Z)(l,de);Rt.unshift(c.createElement("col",(0,F.Z)({key:Ut,style:{width:fn,minWidth:B}},f))),Nt=!0}}return c.createElement("colgroup",null,Rt)}var We=be,Ze=h(77654),Q=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Mt(J,V){return(0,c.useMemo)(function(){for(var De=[],Ge=0;Ge<V;Ge+=1){var ot=J[Ge];if(ot!==void 0)De[Ge]=ot;else return null}return De},[J.join("_"),V])}var _e=c.forwardRef(function(J,V){var De=J.className,Ge=J.noData,ot=J.columns,mt=J.flattenColumns,Rt=J.colWidths,Ct=J.columCount,Nt=J.stickyOffsets,Ut=J.direction,fn=J.fixHeader,sn=J.stickyTopOffset,rn=J.stickyBottomOffset,B=J.stickyClassName,l=J.onScroll,d=J.maxContentScroll,f=J.children,b=(0,oe.Z)(J,Q),R=C(fe,["prefixCls","scrollbarSize","isSticky","getComponent"]),H=R.prefixCls,ge=R.scrollbarSize,Ce=R.isSticky,Ke=R.getComponent,pt=Ke(["header","table"],"table"),Tt=Ce&&!fn?0:ge,Qt=c.useRef(null),Wt=c.useCallback(function(Sr){(0,x.mH)(V,Sr),(0,x.mH)(Qt,Sr)},[]);c.useEffect(function(){var Sr;function er(ci){var oi=ci,Ca=oi.currentTarget,Xi=oi.deltaX;Xi&&(l({currentTarget:Ca,scrollLeft:Ca.scrollLeft+Xi}),ci.preventDefault())}return(Sr=Qt.current)===null||Sr===void 0||Sr.addEventListener("wheel",er,{passive:!1}),function(){var ci;(ci=Qt.current)===null||ci===void 0||ci.removeEventListener("wheel",er)}},[]);var Vt=c.useMemo(function(){return mt.every(function(Sr){return Sr.width})},[mt]),ln=mt[mt.length-1],Jt={fixed:ln?ln.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(H,"-cell-scrollbar")}}},qt=(0,c.useMemo)(function(){return Tt?[].concat((0,Ze.Z)(ot),[Jt]):ot},[Tt,ot]),bn=(0,c.useMemo)(function(){return Tt?[].concat((0,Ze.Z)(mt),[Jt]):mt},[Tt,mt]),Hn=(0,c.useMemo)(function(){var Sr=Nt.right,er=Nt.left;return(0,Le.Z)((0,Le.Z)({},Nt),{},{left:Ut==="rtl"?[].concat((0,Ze.Z)(er.map(function(ci){return ci+Tt})),[0]):er,right:Ut==="rtl"?Sr:[].concat((0,Ze.Z)(Sr.map(function(ci){return ci+Tt})),[0]),isSticky:Ce})},[Tt,Nt,Ce]),ur=Mt(Rt,Ct);return c.createElement("div",{style:(0,Le.Z)({overflow:"hidden"},Ce?{top:sn,bottom:rn}:{}),ref:Wt,className:Y()(De,(0,it.Z)({},B,!!B))},c.createElement(pt,{style:{tableLayout:"fixed",visibility:Ge||ur?null:"hidden"}},(!Ge||!d||Vt)&&c.createElement(We,{colWidths:ur?[].concat((0,Ze.Z)(ur),[Tt]):[],columCount:Ct+1,columns:bn}),f((0,Le.Z)((0,Le.Z)({},b),{},{stickyOffsets:Hn,columns:qt,flattenColumns:bn}))))}),bt=c.memo(_e),An=function(V){var De=V.cells,Ge=V.stickyOffsets,ot=V.flattenColumns,mt=V.rowComponent,Rt=V.cellComponent,Ct=V.onHeaderRow,Nt=V.index,Ut=C(fe,["prefixCls","direction"]),fn=Ut.prefixCls,sn=Ut.direction,rn;Ct&&(rn=Ct(De.map(function(l){return l.column}),Nt));var B=Ne(De.map(function(l){return l.column}));return c.createElement(mt,rn,De.map(function(l,d){var f=l.column,b=dt(l.colStart,l.colEnd,ot,Ge,sn),R;return f&&f.onHeaderCell&&(R=l.column.onHeaderCell(f)),c.createElement(Ht,(0,F.Z)({},l,{scope:f.title?l.colSpan>1?"colgroup":"col":null,ellipsis:f.ellipsis,align:f.align,component:Rt,prefixCls:fn,key:B[d]},b,{additionalProps:R,rowType:"header"}))}))},xn=An;function Er(J){var V=[];function De(Rt,Ct){var Nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;V[Nt]=V[Nt]||[];var Ut=Ct,fn=Rt.filter(Boolean).map(function(sn){var rn={key:sn.key,className:sn.className||"",children:sn.title,column:sn,colStart:Ut},B=1,l=sn.children;return l&&l.length>0&&(B=De(l,Ut,Nt+1).reduce(function(d,f){return d+f},0),rn.hasSubColumns=!0),"colSpan"in sn&&(B=sn.colSpan),"rowSpan"in sn&&(rn.rowSpan=sn.rowSpan),rn.colSpan=B,rn.colEnd=rn.colStart+B-1,V[Nt].push(rn),Ut+=B,B});return fn}De(J,0);for(var Ge=V.length,ot=function(Ct){V[Ct].forEach(function(Nt){!("rowSpan"in Nt)&&!Nt.hasSubColumns&&(Nt.rowSpan=Ge-Ct)})},mt=0;mt<Ge;mt+=1)ot(mt);return V}var vr=function(V){var De=V.stickyOffsets,Ge=V.columns,ot=V.flattenColumns,mt=V.onHeaderRow,Rt=C(fe,["prefixCls","getComponent"]),Ct=Rt.prefixCls,Nt=Rt.getComponent,Ut=c.useMemo(function(){return Er(Ge)},[Ge]),fn=Nt(["header","wrapper"],"thead"),sn=Nt(["header","row"],"tr"),rn=Nt(["header","cell"],"th");return c.createElement(fn,{className:"".concat(Ct,"-thead")},Ut.map(function(B,l){var d=c.createElement(xn,{key:l,flattenColumns:ot,cells:B,stickyOffsets:De,rowComponent:sn,cellComponent:rn,onHeaderRow:mt,index:l});return d}))},gr=K(vr),Hr=h(11592);function fi(J){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof V=="number"?V:V.endsWith("%")?J*parseFloat(V)/100:null}function lr(J,V,De){return c.useMemo(function(){if(V&&V>0){var Ge=0,ot=0;J.forEach(function(rn){var B=fi(V,rn.width);B?Ge+=B:ot+=1});var mt=Math.max(V,De),Rt=Math.max(mt-Ge,ot),Ct=ot,Nt=Rt/ot,Ut=0,fn=J.map(function(rn){var B=(0,Le.Z)({},rn),l=fi(V,B.width);if(l)B.width=l;else{var d=Math.floor(Nt);B.width=Ct===1?Rt:d,Rt-=d,Ct-=1}return Ut+=B.width,B});if(Ut<mt){var sn=mt/Ut;Rt=mt,fn.forEach(function(rn,B){var l=Math.floor(rn.width*sn);rn.width=B===fn.length-1?Rt:l,Rt-=l})}return[fn,Math.max(Ut,mt)]}return[J,V]},[J,V,De])}var ii=["children"],Wn=["fixed"];function Bt(J){return(0,Hr.Z)(J).filter(function(V){return c.isValidElement(V)}).map(function(V){var De=V.key,Ge=V.props,ot=Ge.children,mt=(0,oe.Z)(Ge,ii),Rt=(0,Le.Z)({key:De},mt);return ot&&(Rt.children=Bt(ot)),Rt})}function En(J){return J.filter(function(V){return V&&(0,je.Z)(V)==="object"&&!V.hidden}).map(function(V){var De=V.children;return De&&De.length>0?(0,Le.Z)((0,Le.Z)({},V),{},{children:En(De)}):V})}function nn(J){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return J.filter(function(De){return De&&(0,je.Z)(De)==="object"}).reduce(function(De,Ge,ot){var mt=Ge.fixed,Rt=mt===!0?"left":mt,Ct="".concat(V,"-").concat(ot),Nt=Ge.children;return Nt&&Nt.length>0?[].concat((0,Ze.Z)(De),(0,Ze.Z)(nn(Nt,Ct).map(function(Ut){return(0,Le.Z)({fixed:Rt},Ut)}))):[].concat((0,Ze.Z)(De),[(0,Le.Z)((0,Le.Z)({key:Ct},Ge),{},{fixed:Rt})])},[])}function Yr(J){return J.map(function(V){var De=V.fixed,Ge=(0,oe.Z)(V,Wn),ot=De;return De==="left"?ot="right":De==="right"&&(ot="left"),(0,Le.Z)({fixed:ot},Ge)})}function Lt(J,V){var De=J.prefixCls,Ge=J.columns,ot=J.children,mt=J.expandable,Rt=J.expandedKeys,Ct=J.columnTitle,Nt=J.getRowKey,Ut=J.onTriggerExpand,fn=J.expandIcon,sn=J.rowExpandable,rn=J.expandIconColumnIndex,B=J.direction,l=J.expandRowByClick,d=J.columnWidth,f=J.fixed,b=J.scrollWidth,R=J.clientWidth,H=c.useMemo(function(){var ln=Ge||Bt(ot)||[];return En(ln.slice())},[Ge,ot]),ge=c.useMemo(function(){if(mt){var ln=H.slice();if(!ln.includes(ie)){var Jt=rn||0;Jt>=0&&(Jt||f==="left"||!f)&&ln.splice(Jt,0,ie),f==="right"&&ln.splice(H.length,0,ie)}var qt=ln.indexOf(ie);ln=ln.filter(function(Sr,er){return Sr!==ie||er===qt});var bn=H[qt],Hn;f?Hn=f:Hn=bn?bn.fixed:null;var ur=(0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)({},st,{className:"".concat(De,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",Ct),"fixed",Hn),"className","".concat(De,"-row-expand-icon-cell")),"width",d),"render",function(er,ci,oi){var Ca=Nt(ci,oi),Xi=Rt.has(Ca),Kt=sn?sn(ci):!0,Oa=fn({prefixCls:De,expanded:Xi,expandable:Kt,record:ci,onExpand:Ut});return l?c.createElement("span",{onClick:function(la){return la.stopPropagation()}},Oa):Oa});return ln.map(function(Sr){return Sr===ie?ur:Sr})}return H.filter(function(Sr){return Sr!==ie})},[mt,H,Nt,Rt,fn,B]),Ce=c.useMemo(function(){var ln=ge;return V&&(ln=V(ln)),ln.length||(ln=[{render:function(){return null}}]),ln},[V,ge,B]),Ke=c.useMemo(function(){return B==="rtl"?Yr(nn(Ce)):nn(Ce)},[Ce,B,b]),pt=c.useMemo(function(){for(var ln=-1,Jt=Ke.length-1;Jt>=0;Jt-=1){var qt=Ke[Jt].fixed;if(qt==="left"||qt===!0){ln=Jt;break}}if(ln>=0)for(var bn=0;bn<=ln;bn+=1){var Hn=Ke[bn].fixed;if(Hn!=="left"&&Hn!==!0)return!0}var ur=Ke.findIndex(function(ci){var oi=ci.fixed;return oi==="right"});if(ur>=0)for(var Sr=ur;Sr<Ke.length;Sr+=1){var er=Ke[Sr].fixed;if(er!=="right")return!0}return!1},[Ke]),Tt=lr(Ke,b,R),Qt=(0,le.Z)(Tt,2),Wt=Qt[0],Vt=Qt[1];return[Ce,Wt,Vt,pt]}var It=Lt;function kn(J,V,De){var Ge=ht(J),ot=Ge.expandIcon,mt=Ge.expandedRowKeys,Rt=Ge.defaultExpandedRowKeys,Ct=Ge.defaultExpandAllRows,Nt=Ge.expandedRowRender,Ut=Ge.onExpand,fn=Ge.onExpandedRowsChange,sn=Ge.childrenColumnName,rn=ot||tt,B=sn||"children",l=c.useMemo(function(){return Nt?"row":J.expandable&&J.internalHooks===O&&J.expandable.__PARENT_RENDER_ICON__||V.some(function(Ce){return Ce&&(0,je.Z)(Ce)==="object"&&Ce[B]})?"nest":!1},[!!Nt,V]),d=c.useState(function(){return Rt||(Ct?Pt(V,De,B):[])}),f=(0,le.Z)(d,2),b=f[0],R=f[1],H=c.useMemo(function(){return new Set(mt||b||[])},[mt,b]),ge=c.useCallback(function(Ce){var Ke=De(Ce,V.indexOf(Ce)),pt,Tt=H.has(Ke);Tt?(H.delete(Ke),pt=(0,Ze.Z)(H)):pt=[].concat((0,Ze.Z)(H),[Ke]),R(pt),Ut&&Ut(!Tt,Ce),fn&&fn(pt)},[De,H,V,Ut,fn]);return[Ge,l,H,rn,B,ge]}function vn(J,V,De){var Ge=J.map(function(ot,mt){return dt(mt,mt,J,V,De)});return(0,N.Z)(function(){return Ge},[Ge],function(ot,mt){return!(0,re.Z)(ot,mt)})}function In(J){var V=(0,c.useRef)(J),De=(0,c.useState)({}),Ge=(0,le.Z)(De,2),ot=Ge[1],mt=(0,c.useRef)(null),Rt=(0,c.useRef)([]);function Ct(Nt){Rt.current.push(Nt);var Ut=Promise.resolve();mt.current=Ut,Ut.then(function(){if(mt.current===Ut){var fn=Rt.current,sn=V.current;Rt.current=[],fn.forEach(function(rn){V.current=rn(V.current)}),mt.current=null,sn!==V.current&&ot({})}})}return(0,c.useEffect)(function(){return function(){mt.current=null}},[]),[V.current,Ct]}function jn(J){var V=(0,c.useRef)(J||null),De=(0,c.useRef)();function Ge(){window.clearTimeout(De.current)}function ot(Rt){V.current=Rt,Ge(),De.current=window.setTimeout(function(){V.current=null,De.current=void 0},100)}function mt(){return V.current}return(0,c.useEffect)(function(){return Ge},[]),[ot,mt]}function Dn(){var J=c.useState(-1),V=(0,le.Z)(J,2),De=V[0],Ge=V[1],ot=c.useState(-1),mt=(0,le.Z)(ot,2),Rt=mt[0],Ct=mt[1],Nt=c.useCallback(function(Ut,fn){Ge(Ut),Ct(fn)},[]);return[De,Rt,Nt]}var $n=h(47273),br=(0,$n.Z)()?window:null;function cr(J,V){var De=(0,je.Z)(J)==="object"?J:{},Ge=De.offsetHeader,ot=Ge===void 0?0:Ge,mt=De.offsetSummary,Rt=mt===void 0?0:mt,Ct=De.offsetScroll,Nt=Ct===void 0?0:Ct,Ut=De.getContainer,fn=Ut===void 0?function(){return br}:Ut,sn=fn()||br,rn=!!J;return c.useMemo(function(){return{isSticky:rn,stickyClassName:rn?"".concat(V,"-sticky-holder"):"",offsetHeader:ot,offsetSummary:Rt,offsetScroll:Nt,container:sn}},[rn,Nt,ot,Rt,V,sn])}function Tn(J,V,De){var Ge=(0,c.useMemo)(function(){var ot=V.length,mt=function(Ut,fn,sn){for(var rn=[],B=0,l=Ut;l!==fn;l+=sn)rn.push(B),V[l].fixed&&(B+=J[l]||0);return rn},Rt=mt(0,ot,1),Ct=mt(ot-1,-1,-1).reverse();return De==="rtl"?{left:Ct,right:Rt}:{left:Rt,right:Ct}},[J,V,De]);return Ge}var dr=Tn;function Pr(J){var V=J.className,De=J.children;return c.createElement("div",{className:V},De)}var hr=Pr,Dt=h(8224),kt=h(16089),pn=h(76846);function an(J){var V=(0,pn.bn)(J),De=V.getBoundingClientRect(),Ge=document.documentElement;return{left:De.left+(window.pageXOffset||Ge.scrollLeft)-(Ge.clientLeft||document.body.clientLeft||0),top:De.top+(window.pageYOffset||Ge.scrollTop)-(Ge.clientTop||document.body.clientTop||0)}}var cn=function(V,De){var Ge,ot,mt=V.scrollBodyRef,Rt=V.onScroll,Ct=V.offsetScroll,Nt=V.container,Ut=V.direction,fn=C(fe,"prefixCls"),sn=((Ge=mt.current)===null||Ge===void 0?void 0:Ge.scrollWidth)||0,rn=((ot=mt.current)===null||ot===void 0?void 0:ot.clientWidth)||0,B=sn&&rn*(rn/sn),l=c.useRef(),d=In({scrollLeft:0,isHiddenScrollBar:!0}),f=(0,le.Z)(d,2),b=f[0],R=f[1],H=c.useRef({delta:0,x:0}),ge=c.useState(!1),Ce=(0,le.Z)(ge,2),Ke=Ce[0],pt=Ce[1],Tt=c.useRef(null);c.useEffect(function(){return function(){kt.Z.cancel(Tt.current)}},[]);var Qt=function(){pt(!1)},Wt=function(bn){bn.persist(),H.current.delta=bn.pageX-b.scrollLeft,H.current.x=0,pt(!0),bn.preventDefault()},Vt=function(bn){var Hn,ur=bn||((Hn=window)===null||Hn===void 0?void 0:Hn.event),Sr=ur.buttons;if(!Ke||Sr===0){Ke&&pt(!1);return}var er=H.current.x+bn.pageX-H.current.x-H.current.delta,ci=Ut==="rtl";er=Math.max(ci?B-rn:0,Math.min(ci?0:rn-B,er));var oi=!ci||Math.abs(er)+Math.abs(B)<rn;oi&&(Rt({scrollLeft:er/rn*(sn+2)}),H.current.x=bn.pageX)},ln=function(){kt.Z.cancel(Tt.current),Tt.current=(0,kt.Z)(function(){if(mt.current){var bn=an(mt.current).top,Hn=bn+mt.current.offsetHeight,ur=Nt===window?document.documentElement.scrollTop+window.innerHeight:an(Nt).top+Nt.clientHeight;Hn-(0,nt.Z)()<=ur||bn>=ur-Ct?R(function(Sr){return(0,Le.Z)((0,Le.Z)({},Sr),{},{isHiddenScrollBar:!0})}):R(function(Sr){return(0,Le.Z)((0,Le.Z)({},Sr),{},{isHiddenScrollBar:!1})})}})},Jt=function(bn){R(function(Hn){return(0,Le.Z)((0,Le.Z)({},Hn),{},{scrollLeft:bn/sn*rn||0})})};return c.useImperativeHandle(De,function(){return{setScrollLeft:Jt,checkScrollBarVisible:ln}}),c.useEffect(function(){var qt=(0,Dt.Z)(document.body,"mouseup",Qt,!1),bn=(0,Dt.Z)(document.body,"mousemove",Vt,!1);return ln(),function(){qt.remove(),bn.remove()}},[B,Ke]),c.useEffect(function(){if(mt.current){for(var qt=[],bn=(0,pn.bn)(mt.current);bn;)qt.push(bn),bn=bn.parentElement;return qt.forEach(function(Hn){return Hn.addEventListener("scroll",ln,!1)}),window.addEventListener("resize",ln,!1),window.addEventListener("scroll",ln,!1),Nt.addEventListener("scroll",ln,!1),function(){qt.forEach(function(Hn){return Hn.removeEventListener("scroll",ln)}),window.removeEventListener("resize",ln),window.removeEventListener("scroll",ln),Nt.removeEventListener("scroll",ln)}}},[Nt]),c.useEffect(function(){b.isHiddenScrollBar||R(function(qt){var bn=mt.current;return bn?(0,Le.Z)((0,Le.Z)({},qt),{},{scrollLeft:bn.scrollLeft/bn.scrollWidth*bn.clientWidth}):qt})},[b.isHiddenScrollBar]),sn<=rn||!B||b.isHiddenScrollBar?null:c.createElement("div",{style:{height:(0,nt.Z)(),width:rn,bottom:Ct},className:"".concat(fn,"-sticky-scroll")},c.createElement("div",{onMouseDown:Wt,ref:l,className:Y()("".concat(fn,"-sticky-scroll-bar"),(0,it.Z)({},"".concat(fn,"-sticky-scroll-bar-active"),Ke)),style:{width:"".concat(B,"px"),transform:"translate3d(".concat(b.scrollLeft,"px, 0, 0)")}}))},_n=c.forwardRef(cn);function Mn(J){return null}var nr=Mn;function _r(J){return null}var Nr=_r,Ui="rc-table",Ir=[],Lr={};function xi(){return"No Data"}function rt(J,V){var De=(0,Le.Z)({rowKey:"key",prefixCls:Ui,emptyText:xi},J),Ge=De.prefixCls,ot=De.className,mt=De.rowClassName,Rt=De.style,Ct=De.data,Nt=De.rowKey,Ut=De.scroll,fn=De.tableLayout,sn=De.direction,rn=De.title,B=De.footer,l=De.summary,d=De.caption,f=De.id,b=De.showHeader,R=De.components,H=De.emptyText,ge=De.onRow,Ce=De.onHeaderRow,Ke=De.onScroll,pt=De.internalHooks,Tt=De.transformColumns,Qt=De.internalRefs,Wt=De.tailor,Vt=De.getContainerWidth,ln=De.sticky,Jt=De.rowHoverable,qt=Jt===void 0?!0:Jt,bn=Ct||Ir,Hn=!!bn.length,ur=pt===O,Sr=c.useCallback(function(Va,ts){return(0,ve.Z)(R,Va)||ts},[R]),er=c.useMemo(function(){return typeof Nt=="function"?Nt:function(Va){var ts=Va&&Va[Nt];return ts}},[Nt]),ci=Sr(["body"]),oi=Dn(),Ca=(0,le.Z)(oi,3),Xi=Ca[0],Kt=Ca[1],Oa=Ca[2],Ya=kn(De,bn,er),la=(0,le.Z)(Ya,6),Zi=la[0],$a=la[1],Qa=la[2],Di=la[3],ua=la[4],di=la[5],Si=Ut==null?void 0:Ut.x,wa=c.useState(0),Ma=(0,le.Z)(wa,2),Ja=Ma[0],Ba=Ma[1],qa=It((0,Le.Z)((0,Le.Z)((0,Le.Z)({},De),Zi),{},{expandable:!!Zi.expandedRowRender,columnTitle:Zi.columnTitle,expandedKeys:Qa,getRowKey:er,onTriggerExpand:di,expandIcon:Di,expandIconColumnIndex:Zi.expandIconColumnIndex,direction:sn,scrollWidth:ur&&Wt&&typeof Si=="number"?Si:null,clientWidth:Ja}),ur?Tt:null),ds=(0,le.Z)(qa,4),Mi=ds[0],Ki=ds[1],Ha=ds[2],Xa=ds[3],ja=Ha!=null?Ha:Si,Rs=c.useMemo(function(){return{columns:Mi,flattenColumns:Ki}},[Mi,Ki]),Wa=c.useRef(),Fs=c.useRef(),os=c.useRef(),Ka=c.useRef();c.useImperativeHandle(V,function(){return{nativeElement:Wa.current,scrollTo:function(ts){var Ys;if(os.current instanceof HTMLElement){var go=ts.index,Xs=ts.top,tl=ts.key;if(Et(Xs)){var Xo;(Xo=os.current)===null||Xo===void 0||Xo.scrollTo({top:Xs})}else{var Vo,Jo=tl!=null?tl:er(bn[go]);(Vo=os.current.querySelector('[data-row-key="'.concat(Jo,'"]')))===null||Vo===void 0||Vo.scrollIntoView()}}else(Ys=os.current)!==null&&Ys!==void 0&&Ys.scrollTo&&os.current.scrollTo(ts)}}});var rs=c.useRef(),is=c.useState(!1),Ss=(0,le.Z)(is,2),Ts=Ss[0],Ga=Ss[1],gs=c.useState(!1),as=(0,le.Z)(gs,2),zs=as[0],ys=as[1],Gs=c.useState(new Map),lo=(0,le.Z)(Gs,2),Lo=lo[0],vs=lo[1],jo=Ne(Ki),Vs=jo.map(function(Va){return Lo.get(Va)}),ro=c.useMemo(function(){return Vs},[Vs.join("_")]),io=dr(ro,Ki,sn),pa=Ut&&Qe(Ut.y),qi=Ut&&Qe(ja)||!!Zi.fixed,_s=qi&&Ki.some(function(Va){var ts=Va.fixed;return ts}),Hs=c.useRef(),ao=cr(ln,Ge),Ro=ao.isSticky,Js=ao.offsetHeader,ol=ao.offsetSummary,ll=ao.offsetScroll,La=ao.stickyClassName,Da=ao.container,Vr=c.useMemo(function(){return l==null?void 0:l(bn)},[l,bn]),va=(pa||Ro)&&c.isValidElement(Vr)&&Vr.type===M&&Vr.props.fixed,Pa,Ms,uo;pa&&(Ms={overflowY:Hn?"scroll":"auto",maxHeight:Ut.y}),qi&&(Pa={overflowX:"auto"},pa||(Ms={overflowY:"hidden"}),uo={width:ja===!0?"auto":ja,minWidth:"100%"});var Io=c.useCallback(function(Va,ts){vs(function(Ys){if(Ys.get(Va)!==ts){var go=new Map(Ys);return go.set(Va,ts),go}return Ys})},[]),Oo=jn(null),so=(0,le.Z)(Oo,2),Ql=so[0],Dl=so[1];function ul(Va,ts){ts&&(typeof ts=="function"?ts(Va):ts.scrollLeft!==Va&&(ts.scrollLeft=Va,ts.scrollLeft!==Va&&setTimeout(function(){ts.scrollLeft=Va},0)))}var Qo=(0,j.Z)(function(Va){var ts=Va.currentTarget,Ys=Va.scrollLeft,go=sn==="rtl",Xs=typeof Ys=="number"?Ys:ts.scrollLeft,tl=ts||Lr;if(!Dl()||Dl()===tl){var Xo;Ql(tl),ul(Xs,Fs.current),ul(Xs,os.current),ul(Xs,rs.current),ul(Xs,(Xo=Hs.current)===null||Xo===void 0?void 0:Xo.setScrollLeft)}var Vo=ts||Fs.current;if(Vo){var Jo=ur&&Wt&&typeof ja=="number"?ja:Vo.scrollWidth,nl=Vo.clientWidth;if(Jo===nl){Ga(!1),ys(!1);return}go?(Ga(-Xs<Jo-nl),ys(-Xs>0)):(Ga(Xs>0),ys(Xs<Jo-nl))}}),Pl=(0,j.Z)(function(Va){Qo(Va),Ke==null||Ke(Va)}),Il=function(){if(qi&&os.current){var ts;Qo({currentTarget:(0,pn.bn)(os.current),scrollLeft:(ts=os.current)===null||ts===void 0?void 0:ts.scrollLeft})}else Ga(!1),ys(!1)},Ll=function(ts){var Ys,go=ts.width;(Ys=Hs.current)===null||Ys===void 0||Ys.checkScrollBarVisible();var Xs=Wa.current?Wa.current.offsetWidth:go;ur&&Vt&&Wa.current&&(Xs=Vt(Wa.current,Xs)||Xs),Xs!==Ja&&(Il(),Ba(Xs))},Rl=c.useRef(!1);c.useEffect(function(){Rl.current&&Il()},[qi,Ct,Mi.length]),c.useEffect(function(){Rl.current=!0},[]);var Jl=c.useState(0),Ol=(0,le.Z)(Jl,2),cl=Ol[0],Ml=Ol[1],ql=c.useState(!0),kl=(0,le.Z)(ql,2),gl=kl[0],yl=kl[1];(0,v.Z)(function(){(!Wt||!ur)&&(os.current instanceof Element?Ml((0,nt.o)(os.current).width):Ml((0,nt.o)(Ka.current).width)),yl((0,Fe.G)("position","sticky"))},[]),c.useEffect(function(){ur&&Qt&&(Qt.body.current=os.current)});var eu=c.useCallback(function(Va){return c.createElement(c.Fragment,null,c.createElement(gr,Va),va==="top"&&c.createElement(Te,Va,Vr))},[va,Vr]),bl=c.useCallback(function(Va){return c.createElement(Te,Va,Vr)},[Vr]),dl=Sr(["table"],"table"),el=c.useMemo(function(){return fn||(_s?ja==="max-content"?"auto":"fixed":pa||Ro||Ki.some(function(Va){var ts=Va.ellipsis;return ts})?"fixed":"auto")},[pa,_s,Ki,fn,Ro]),xl,El={colWidths:ro,columCount:Ki.length,stickyOffsets:io,onHeaderRow:Ce,fixHeader:pa,scroll:Ut},_l=c.useMemo(function(){return Hn?null:typeof H=="function"?H():H},[Hn,H]),Mo=c.createElement(jt,{data:bn,measureColumnWidth:pa||qi||Ro}),ks=c.createElement(We,{colWidths:Ki.map(function(Va){var ts=Va.width;return ts}),columns:Ki}),Ko=d!=null?c.createElement("caption",{className:"".concat(Ge,"-caption")},d):void 0,Go=(0,se.Z)(De,{data:!0}),Nl=(0,se.Z)(De,{aria:!0});if(pa||Ro){var Sl;typeof ci=="function"?(Sl=ci(bn,{scrollbarSize:cl,ref:os,onScroll:Qo}),El.colWidths=Ki.map(function(Va,ts){var Ys=Va.width,go=ts===Ki.length-1?Ys-cl:Ys;return typeof go=="number"&&!Number.isNaN(go)?go:0})):Sl=c.createElement("div",{style:(0,Le.Z)((0,Le.Z)({},Pa),Ms),onScroll:Pl,ref:os,className:Y()("".concat(Ge,"-body"))},c.createElement(dl,(0,F.Z)({style:(0,Le.Z)((0,Le.Z)({},uo),{},{tableLayout:el})},Nl),Ko,ks,Mo,!va&&Vr&&c.createElement(Te,{stickyOffsets:io,flattenColumns:Ki},Vr)));var Bl=(0,Le.Z)((0,Le.Z)((0,Le.Z)({noData:!bn.length,maxContentScroll:qi&&ja==="max-content"},El),Rs),{},{direction:sn,stickyClassName:La,onScroll:Qo});xl=c.createElement(c.Fragment,null,b!==!1&&c.createElement(bt,(0,F.Z)({},Bl,{stickyTopOffset:Js,className:"".concat(Ge,"-header"),ref:Fs}),eu),Sl,va&&va!=="top"&&c.createElement(bt,(0,F.Z)({},Bl,{stickyBottomOffset:ol,className:"".concat(Ge,"-summary"),ref:rs}),bl),Ro&&os.current&&os.current instanceof Element&&c.createElement(_n,{ref:Hs,offsetScroll:ll,scrollBodyRef:os,onScroll:Qo,container:Da,direction:sn}))}else xl=c.createElement("div",{style:(0,Le.Z)((0,Le.Z)({},Pa),Ms),className:Y()("".concat(Ge,"-content")),onScroll:Qo,ref:os},c.createElement(dl,(0,F.Z)({style:(0,Le.Z)((0,Le.Z)({},uo),{},{tableLayout:el})},Nl),Ko,ks,b!==!1&&c.createElement(gr,(0,F.Z)({},El,Rs)),Mo,Vr&&c.createElement(Te,{stickyOffsets:io,flattenColumns:Ki},Vr)));var wl=c.createElement("div",(0,F.Z)({className:Y()(Ge,ot,(0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)((0,it.Z)({},"".concat(Ge,"-rtl"),sn==="rtl"),"".concat(Ge,"-ping-left"),Ts),"".concat(Ge,"-ping-right"),zs),"".concat(Ge,"-layout-fixed"),fn==="fixed"),"".concat(Ge,"-fixed-header"),pa),"".concat(Ge,"-fixed-column"),_s),"".concat(Ge,"-fixed-column-gapped"),_s&&Xa),"".concat(Ge,"-scroll-horizontal"),qi),"".concat(Ge,"-has-fix-left"),Ki[0]&&Ki[0].fixed),"".concat(Ge,"-has-fix-right"),Ki[Ki.length-1]&&Ki[Ki.length-1].fixed==="right")),style:Rt,id:f,ref:Wa},Go),rn&&c.createElement(hr,{className:"".concat(Ge,"-title")},rn(bn)),c.createElement("div",{ref:Ka,className:"".concat(Ge,"-container")},xl),B&&c.createElement(hr,{className:"".concat(Ge,"-footer")},B(bn)));qi&&(wl=c.createElement(ae.Z,{onResize:Ll},wl));var Fl=vn(Ki,io,sn),tu=c.useMemo(function(){return{scrollX:ja,prefixCls:Ge,getComponent:Sr,scrollbarSize:cl,direction:sn,fixedInfoList:Fl,isSticky:Ro,supportSticky:gl,componentWidth:Ja,fixHeader:pa,fixColumn:_s,horizonScroll:qi,tableLayout:el,rowClassName:mt,expandedRowClassName:Zi.expandedRowClassName,expandIcon:Di,expandableType:$a,expandRowByClick:Zi.expandRowByClick,expandedRowRender:Zi.expandedRowRender,onTriggerExpand:di,expandIconColumnIndex:Zi.expandIconColumnIndex,indentSize:Zi.indentSize,allColumnsFixedLeft:Ki.every(function(Va){return Va.fixed==="left"}),emptyNode:_l,columns:Mi,flattenColumns:Ki,onColumnResize:Io,hoverStartRow:Xi,hoverEndRow:Kt,onHover:Oa,rowExpandable:Zi.rowExpandable,onRow:ge,getRowKey:er,expandedKeys:Qa,childrenColumnName:ua,rowHoverable:qt}},[ja,Ge,Sr,cl,sn,Fl,Ro,gl,Ja,pa,_s,qi,el,mt,Zi.expandedRowClassName,Di,$a,Zi.expandRowByClick,Zi.expandedRowRender,di,Zi.expandIconColumnIndex,Zi.indentSize,_l,Mi,Ki,Io,Xi,Kt,Oa,Zi.rowExpandable,ge,er,Qa,ua,qt]);return c.createElement(fe.Provider,{value:tu},wl)}var Ei=c.forwardRef(rt);function Br(J){return P(Ei,J)}var Fr=Br();Fr.EXPAND_COLUMN=ie,Fr.INTERNAL_HOOKS=O,Fr.Column=nr,Fr.ColumnGroup=Nr,Fr.Summary=xe;var Ii=Fr,Bi=h(48911),gi=o(null),yi=o(null);function Mr(J,V,De){var Ge=V||1;return De[J+Ge]-(De[J]||0)}function $r(J){var V=J.rowInfo,De=J.column,Ge=J.colIndex,ot=J.indent,mt=J.index,Rt=J.component,Ct=J.renderIndex,Nt=J.record,Ut=J.style,fn=J.className,sn=J.inverse,rn=J.getHeight,B=De.render,l=De.dataIndex,d=De.className,f=De.width,b=C(yi,["columnsOffset"]),R=b.columnsOffset,H=Ae(V,De,Ge,ot,mt),ge=H.key,Ce=H.fixedInfo,Ke=H.appendCellNode,pt=H.additionalCellProps,Tt=pt.style,Qt=pt.colSpan,Wt=Qt===void 0?1:Qt,Vt=pt.rowSpan,ln=Vt===void 0?1:Vt,Jt=Ge-1,qt=Mr(Jt,Wt,R),bn=Wt>1?f-qt:0,Hn=(0,Le.Z)((0,Le.Z)((0,Le.Z)({},Tt),Ut),{},{flex:"0 0 ".concat(qt,"px"),width:"".concat(qt,"px"),marginRight:bn,pointerEvents:"auto"}),ur=c.useMemo(function(){return sn?ln<=1:Wt===0||ln===0||ln>1},[ln,Wt,sn]);ur?Hn.visibility="hidden":sn&&(Hn.height=rn==null?void 0:rn(ln));var Sr=ur?function(){return null}:B,er={};return(ln===0||Wt===0)&&(er.rowSpan=1,er.colSpan=1),c.createElement(Ht,(0,F.Z)({className:Y()(d,fn),ellipsis:De.ellipsis,align:De.align,scope:De.rowScope,component:Rt,prefixCls:V.prefixCls,key:ge,record:Nt,index:mt,renderIndex:Ct,dataIndex:l,render:Sr,shouldCellUpdate:De.shouldCellUpdate},Ce,{appendNode:Ke,additionalProps:(0,Le.Z)((0,Le.Z)({},pt),{},{style:Hn},er)}))}var Ea=$r,on=["data","index","className","rowKey","style","extra","getHeight"],ei=c.forwardRef(function(J,V){var De=J.data,Ge=J.index,ot=J.className,mt=J.rowKey,Rt=J.style,Ct=J.extra,Nt=J.getHeight,Ut=(0,oe.Z)(J,on),fn=De.record,sn=De.indent,rn=De.index,B=C(fe,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),l=B.scrollX,d=B.flattenColumns,f=B.prefixCls,b=B.fixColumn,R=B.componentWidth,H=C(gi,["getComponent"]),ge=H.getComponent,Ce=ft(fn,mt,Ge,sn),Ke=ge(["body","row"],"div"),pt=ge(["body","cell"],"div"),Tt=Ce.rowSupportExpand,Qt=Ce.expanded,Wt=Ce.rowProps,Vt=Ce.expandedRowRender,ln=Ce.expandedRowClassName,Jt;if(Tt&&Qt){var qt=Vt(fn,Ge,sn+1,Qt),bn=_t(ln,fn,Ge,sn),Hn={};b&&(Hn={style:(0,it.Z)({},"--virtual-width","".concat(R,"px"))});var ur="".concat(f,"-expanded-row-cell");Jt=c.createElement(Ke,{className:Y()("".concat(f,"-expanded-row"),"".concat(f,"-expanded-row-level-").concat(sn+1),bn)},c.createElement(Ht,{component:pt,prefixCls:f,className:Y()(ur,(0,it.Z)({},"".concat(ur,"-fixed"),b)),additionalProps:Hn},qt))}var Sr=(0,Le.Z)((0,Le.Z)({},Rt),{},{width:l});Ct&&(Sr.position="absolute",Sr.pointerEvents="none");var er=c.createElement(Ke,(0,F.Z)({},Wt,Ut,{"data-row-key":mt,ref:Tt?null:V,className:Y()(ot,"".concat(f,"-row"),Wt==null?void 0:Wt.className,(0,it.Z)({},"".concat(f,"-row-extra"),Ct)),style:(0,Le.Z)((0,Le.Z)({},Sr),Wt==null?void 0:Wt.style)}),d.map(function(ci,oi){return c.createElement(Ea,{key:oi,component:pt,rowInfo:Ce,column:ci,colIndex:oi,indent:sn,index:Ge,renderIndex:rn,record:fn,inverse:Ct,getHeight:Nt})}));return Tt?c.createElement("div",{ref:V},er,Jt):er}),Li=K(ei),Ft=Li,Zt=c.forwardRef(function(J,V){var De=J.data,Ge=J.onScroll,ot=C(fe,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),mt=ot.flattenColumns,Rt=ot.onColumnResize,Ct=ot.getRowKey,Nt=ot.expandedKeys,Ut=ot.prefixCls,fn=ot.childrenColumnName,sn=ot.scrollX,rn=ot.direction,B=C(gi),l=B.sticky,d=B.scrollY,f=B.listItemHeight,b=B.getComponent,R=B.onScroll,H=c.useRef(),ge=vt(De,fn,Nt,Ct),Ce=c.useMemo(function(){var Jt=0;return mt.map(function(qt){var bn=qt.width,Hn=qt.key;return Jt+=bn,[Hn,bn,Jt]})},[mt]),Ke=c.useMemo(function(){return Ce.map(function(Jt){return Jt[2]})},[Ce]);c.useEffect(function(){Ce.forEach(function(Jt){var qt=(0,le.Z)(Jt,2),bn=qt[0],Hn=qt[1];Rt(bn,Hn)})},[Ce]),c.useImperativeHandle(V,function(){var Jt,qt={scrollTo:function(Hn){var ur;(ur=H.current)===null||ur===void 0||ur.scrollTo(Hn)},nativeElement:(Jt=H.current)===null||Jt===void 0?void 0:Jt.nativeElement};return Object.defineProperty(qt,"scrollLeft",{get:function(){var Hn;return((Hn=H.current)===null||Hn===void 0?void 0:Hn.getScrollInfo().x)||0},set:function(Hn){var ur;(ur=H.current)===null||ur===void 0||ur.scrollTo({left:Hn})}}),qt});var pt=function(qt,bn){var Hn,ur=(Hn=ge[bn])===null||Hn===void 0?void 0:Hn.record,Sr=qt.onCell;if(Sr){var er,ci=Sr(ur,bn);return(er=ci==null?void 0:ci.rowSpan)!==null&&er!==void 0?er:1}return 1},Tt=function(qt){var bn=qt.start,Hn=qt.end,ur=qt.getSize,Sr=qt.offsetY;if(Hn<0)return null;for(var er=mt.filter(function(Di){return pt(Di,bn)===0}),ci=bn,oi=function(ua){if(er=er.filter(function(di){return pt(di,ua)===0}),!er.length)return ci=ua,1},Ca=bn;Ca>=0&&!oi(Ca);Ca-=1);for(var Xi=mt.filter(function(Di){return pt(Di,Hn)!==1}),Kt=Hn,Oa=function(ua){if(Xi=Xi.filter(function(di){return pt(di,ua)!==1}),!Xi.length)return Kt=Math.max(ua-1,Hn),1},Ya=Hn;Ya<ge.length&&!Oa(Ya);Ya+=1);for(var la=[],Zi=function(ua){var di=ge[ua];if(!di)return 1;mt.some(function(Si){return pt(Si,ua)>1})&&la.push(ua)},$a=ci;$a<=Kt;$a+=1)Zi($a);var Qa=la.map(function(Di){var ua=ge[Di],di=Ct(ua.record,Di),Si=function(Ja){var Ba=Di+Ja-1,qa=Ct(ge[Ba].record,Ba),ds=ur(di,qa);return ds.bottom-ds.top},wa=ur(di);return c.createElement(Ft,{key:Di,data:ua,rowKey:di,index:Di,style:{top:-Sr+wa.top},extra:!0,getHeight:Si})});return Qa},Qt=c.useMemo(function(){return{columnsOffset:Ke}},[Ke]),Wt="".concat(Ut,"-tbody"),Vt=b(["body","wrapper"]),ln={};return l&&(ln.position="sticky",ln.bottom=0,(0,je.Z)(l)==="object"&&l.offsetScroll&&(ln.bottom=l.offsetScroll)),c.createElement(yi.Provider,{value:Qt},c.createElement(Bi.Z,{fullHeight:!1,ref:H,prefixCls:"".concat(Wt,"-virtual"),styles:{horizontalScrollBar:ln},className:Wt,height:d,itemHeight:f||24,data:ge,itemKey:function(qt){return Ct(qt.record)},component:Vt,scrollWidth:sn,direction:rn,onVirtualScroll:function(qt){var bn,Hn=qt.x;Ge({currentTarget:(bn=H.current)===null||bn===void 0?void 0:bn.nativeElement,scrollLeft:Hn})},onScroll:R,extraRender:Tt},function(Jt,qt,bn){var Hn=Ct(Jt.record,qt);return c.createElement(Ft,{data:Jt,rowKey:Hn,index:qt,style:bn.style})}))}),Gt=K(Zt),Zn=Gt,sr=function(V,De){var Ge=De.ref,ot=De.onScroll;return c.createElement(Zn,{ref:Ge,data:V,onScroll:ot})};function Un(J,V){var De=J.data,Ge=J.columns,ot=J.scroll,mt=J.sticky,Rt=J.prefixCls,Ct=Rt===void 0?Ui:Rt,Nt=J.className,Ut=J.listItemHeight,fn=J.components,sn=J.onScroll,rn=ot||{},B=rn.x,l=rn.y;typeof B!="number"&&(B=1),typeof l!="number"&&(l=500);var d=(0,ze.zX)(function(R,H){return(0,ve.Z)(fn,R)||H}),f=(0,ze.zX)(sn),b=c.useMemo(function(){return{sticky:mt,scrollY:l,listItemHeight:Ut,getComponent:d,onScroll:f}},[mt,l,Ut,d,f]);return c.createElement(gi.Provider,{value:b},c.createElement(Ii,(0,F.Z)({},J,{className:Y()(Nt,"".concat(Ct,"-virtual")),scroll:(0,Le.Z)((0,Le.Z)({},ot),{},{x:B}),components:(0,Le.Z)((0,Le.Z)({},fn),{},{body:De!=null&&De.length?sr:void 0}),columns:Ge,internalHooks:O,tailor:!0,ref:V})))}var en=c.forwardRef(Un);function hn(J){return P(en,J)}var $t=hn(),Nn=null,zr=J=>null,Rr=J=>null,Zr=h(84105),Gi=h(82661),sa=h(34643),ya=h(34061),Ri=h(18929);function Sa(J){const[V,De]=(0,c.useState)(null);return[(0,c.useCallback)((mt,Rt,Ct)=>{const Nt=V!=null?V:mt,Ut=Math.min(Nt||0,mt),fn=Math.max(Nt||0,mt),sn=Rt.slice(Ut,fn+1).map(l=>J(l)),rn=sn.some(l=>!Ct.has(l)),B=[];return sn.forEach(l=>{rn?(Ct.has(l)||B.push(l),Ct.add(l)):(Ct.delete(l),B.push(l))}),De(rn?fn:null),B},[V]),mt=>{De(mt)}]}var zi=h(32383),oa=h(62673),ji=h(75727),ra=h(47889);const Fi={},da="SELECT_ALL",Kr="SELECT_INVERT",fa="SELECT_NONE",kr=[],_a=(J,V)=>{let De=[];return(V||[]).forEach(Ge=>{De.push(Ge),Ge&&typeof Ge=="object"&&J in Ge&&(De=[].concat((0,Ze.Z)(De),(0,Ze.Z)(_a(J,Ge[J]))))}),De};var or=(J,V)=>{const{preserveSelectedRowKeys:De,selectedRowKeys:Ge,defaultSelectedRowKeys:ot,getCheckboxProps:mt,onChange:Rt,onSelect:Ct,onSelectAll:Nt,onSelectInvert:Ut,onSelectNone:fn,onSelectMultiple:sn,columnWidth:rn,type:B,selections:l,fixed:d,renderCell:f,hideSelectAll:b,checkStrictly:R=!0}=V||{},{prefixCls:H,data:ge,pageData:Ce,getRecordByKey:Ke,getRowKey:pt,expandType:Tt,childrenColumnName:Qt,locale:Wt,getPopupContainer:Vt}=J,ln=(0,zi.ln)("Table"),[Jt,qt]=Sa(Di=>Di),[bn,Hn]=(0,Ri.Z)(Ge||ot||kr,{value:Ge}),ur=c.useRef(new Map),Sr=(0,c.useCallback)(Di=>{if(De){const ua=new Map;Di.forEach(di=>{let Si=Ke(di);!Si&&ur.current.has(di)&&(Si=ur.current.get(di)),ua.set(di,Si)}),ur.current=ua}},[Ke,De]);c.useEffect(()=>{Sr(bn)},[bn]);const er=(0,c.useMemo)(()=>_a(Qt,Ce),[Qt,Ce]),{keyEntities:ci}=(0,c.useMemo)(()=>{if(R)return{keyEntities:null};let Di=ge;if(De){const ua=new Set(er.map((Si,wa)=>pt(Si,wa))),di=Array.from(ur.current).reduce((Si,wa)=>{let[Ma,Ja]=wa;return ua.has(Ma)?Si:Si.concat(Ja)},[]);Di=[].concat((0,Ze.Z)(Di),(0,Ze.Z)(di))}return(0,ya.I8)(Di,{externalGetKey:pt,childrenPropName:Qt})},[ge,pt,R,Qt,De,er]),oi=(0,c.useMemo)(()=>{const Di=new Map;return er.forEach((ua,di)=>{const Si=pt(ua,di),wa=(mt?mt(ua):null)||{};Di.set(Si,wa)}),Di},[er,pt,mt]),Ca=(0,c.useCallback)(Di=>{const ua=pt(Di);let di;return oi.has(ua)?di=oi.get(pt(Di)):di=mt?mt(Di):void 0,!!(di!=null&&di.disabled)},[oi,pt]),[Xi,Kt]=(0,c.useMemo)(()=>{if(R)return[bn||[],[]];const{checkedKeys:Di,halfCheckedKeys:ua}=(0,sa.S)(bn,!0,ci,Ca);return[Di||[],ua]},[bn,R,ci,Ca]),Oa=(0,c.useMemo)(()=>{const Di=B==="radio"?Xi.slice(0,1):Xi;return new Set(Di)},[Xi,B]),Ya=(0,c.useMemo)(()=>B==="radio"?new Set:new Set(Kt),[Kt,B]);c.useEffect(()=>{V||Hn(kr)},[!!V]);const la=(0,c.useCallback)((Di,ua)=>{let di,Si;Sr(Di),De?(di=Di,Si=Di.map(wa=>ur.current.get(wa))):(di=[],Si=[],Di.forEach(wa=>{const Ma=Ke(wa);Ma!==void 0&&(di.push(wa),Si.push(Ma))})),Hn(di),Rt==null||Rt(di,Si,{type:ua})},[Hn,Ke,Rt,De]),Zi=(0,c.useCallback)((Di,ua,di,Si)=>{if(Ct){const wa=di.map(Ma=>Ke(Ma));Ct(Ke(Di),ua,wa,Si)}la(di,"single")},[Ct,Ke,la]),$a=(0,c.useMemo)(()=>!l||b?null:(l===!0?[da,Kr,fa]:l).map(ua=>ua===da?{key:"all",text:Wt.selectionAll,onSelect(){la(ge.map((di,Si)=>pt(di,Si)).filter(di=>{const Si=oi.get(di);return!(Si!=null&&Si.disabled)||Oa.has(di)}),"all")}}:ua===Kr?{key:"invert",text:Wt.selectInvert,onSelect(){const di=new Set(Oa);Ce.forEach((wa,Ma)=>{const Ja=pt(wa,Ma),Ba=oi.get(Ja);Ba!=null&&Ba.disabled||(di.has(Ja)?di.delete(Ja):di.add(Ja))});const Si=Array.from(di);Ut&&(ln.deprecated(!1,"onSelectInvert","onChange"),Ut(Si)),la(Si,"invert")}}:ua===fa?{key:"none",text:Wt.selectNone,onSelect(){fn==null||fn(),la(Array.from(Oa).filter(di=>{const Si=oi.get(di);return Si==null?void 0:Si.disabled}),"none")}}:ua).map(ua=>Object.assign(Object.assign({},ua),{onSelect:function(){for(var di,Si,wa=arguments.length,Ma=new Array(wa),Ja=0;Ja<wa;Ja++)Ma[Ja]=arguments[Ja];(Si=ua.onSelect)===null||Si===void 0||(di=Si).call.apply(di,[ua].concat(Ma)),qt(null)}})),[l,Oa,Ce,pt,Ut,la]);return[(0,c.useCallback)(Di=>{var ua;if(!V)return Di.filter(Ka=>Ka!==Fi);let di=(0,Ze.Z)(Di);const Si=new Set(Oa),wa=er.map(pt).filter(Ka=>!oi.get(Ka).disabled),Ma=wa.every(Ka=>Si.has(Ka)),Ja=wa.some(Ka=>Si.has(Ka)),Ba=()=>{const Ka=[];Ma?wa.forEach(is=>{Si.delete(is),Ka.push(is)}):wa.forEach(is=>{Si.has(is)||(Si.add(is),Ka.push(is))});const rs=Array.from(Si);Nt==null||Nt(!Ma,rs.map(is=>Ke(is)),Ka.map(is=>Ke(is))),la(rs,"all"),qt(null)};let qa,ds;if(B!=="radio"){let Ka;if($a){const Ga={getPopupContainer:Vt,items:$a.map((gs,as)=>{const{key:zs,text:ys,onSelect:Gs}=gs;return{key:zs!=null?zs:as,onClick:()=>{Gs==null||Gs(wa)},label:ys}})};Ka=c.createElement("div",{className:`${H}-selection-extra`},c.createElement(ji.Z,{menu:Ga,getPopupContainer:Vt},c.createElement("span",null,c.createElement(Zr.Z,null))))}const rs=er.map((Ga,gs)=>{const as=pt(Ga,gs),zs=oi.get(as)||{};return Object.assign({checked:Si.has(as)},zs)}).filter(Ga=>{let{disabled:gs}=Ga;return gs}),is=!!rs.length&&rs.length===er.length,Ss=is&&rs.every(Ga=>{let{checked:gs}=Ga;return gs}),Ts=is&&rs.some(Ga=>{let{checked:gs}=Ga;return gs});ds=c.createElement(oa.default,{checked:is?Ss:!!er.length&&Ma,indeterminate:is?!Ss&&Ts:!Ma&&Ja,onChange:Ba,disabled:er.length===0||is,"aria-label":Ka?"Custom selection":"Select all",skipGroup:!0}),qa=!b&&c.createElement("div",{className:`${H}-selection`},ds,Ka)}let Mi;B==="radio"?Mi=(Ka,rs,is)=>{const Ss=pt(rs,is),Ts=Si.has(Ss),Ga=oi.get(Ss);return{node:c.createElement(ra.ZP,Object.assign({},Ga,{checked:Ts,onClick:gs=>{var as;gs.stopPropagation(),(as=Ga==null?void 0:Ga.onClick)===null||as===void 0||as.call(Ga,gs)},onChange:gs=>{var as;Si.has(Ss)||Zi(Ss,!0,[Ss],gs.nativeEvent),(as=Ga==null?void 0:Ga.onChange)===null||as===void 0||as.call(Ga,gs)}})),checked:Ts}}:Mi=(Ka,rs,is)=>{var Ss;const Ts=pt(rs,is),Ga=Si.has(Ts),gs=Ya.has(Ts),as=oi.get(Ts);let zs;return Tt==="nest"?zs=gs:zs=(Ss=as==null?void 0:as.indeterminate)!==null&&Ss!==void 0?Ss:gs,{node:c.createElement(oa.default,Object.assign({},as,{indeterminate:zs,checked:Ga,skipGroup:!0,onClick:ys=>{var Gs;ys.stopPropagation(),(Gs=as==null?void 0:as.onClick)===null||Gs===void 0||Gs.call(as,ys)},onChange:ys=>{var Gs;const{nativeEvent:lo}=ys,{shiftKey:Lo}=lo,vs=wa.findIndex(Vs=>Vs===Ts),jo=Xi.some(Vs=>wa.includes(Vs));if(Lo&&R&&jo){const Vs=Jt(vs,wa,Si),ro=Array.from(Si);sn==null||sn(!Ga,ro.map(io=>Ke(io)),Vs.map(io=>Ke(io))),la(ro,"multiple")}else{const Vs=Xi;if(R){const ro=Ga?(0,Gi._5)(Vs,Ts):(0,Gi.L0)(Vs,Ts);Zi(Ts,!Ga,ro,lo)}else{const ro=(0,sa.S)([].concat((0,Ze.Z)(Vs),[Ts]),!0,ci,Ca),{checkedKeys:io,halfCheckedKeys:pa}=ro;let qi=io;if(Ga){const _s=new Set(io);_s.delete(Ts),qi=(0,sa.S)(Array.from(_s),{checked:!1,halfCheckedKeys:pa},ci,Ca).checkedKeys}Zi(Ts,!Ga,qi,lo)}}qt(Ga?null:vs),(Gs=as==null?void 0:as.onChange)===null||Gs===void 0||Gs.call(as,ys)}})),checked:Ga}};const Ki=(Ka,rs,is)=>{const{node:Ss,checked:Ts}=Mi(Ka,rs,is);return f?f(Ts,rs,is,Ss):Ss};if(!di.includes(Fi))if(di.findIndex(Ka=>{var rs;return((rs=Ka[st])===null||rs===void 0?void 0:rs.columnType)==="EXPAND_COLUMN"})===0){const[Ka,...rs]=di;di=[Ka,Fi].concat((0,Ze.Z)(rs))}else di=[Fi].concat((0,Ze.Z)(di));const Ha=di.indexOf(Fi);di=di.filter((Ka,rs)=>Ka!==Fi||rs===Ha);const Xa=di[Ha-1],ja=di[Ha+1];let Rs=d;Rs===void 0&&((ja==null?void 0:ja.fixed)!==void 0?Rs=ja.fixed:(Xa==null?void 0:Xa.fixed)!==void 0&&(Rs=Xa.fixed)),Rs&&Xa&&((ua=Xa[st])===null||ua===void 0?void 0:ua.columnType)==="EXPAND_COLUMN"&&Xa.fixed===void 0&&(Xa.fixed=Rs);const Wa=Y()(`${H}-selection-col`,{[`${H}-selection-col-with-dropdown`]:l&&B==="checkbox"}),Fs=()=>V!=null&&V.columnTitle?typeof V.columnTitle=="function"?V.columnTitle(ds):V.columnTitle:qa,os={fixed:Rs,width:rn,className:`${H}-selection-column`,title:Fs(),render:Ki,onCell:V.onCell,[st]:{className:Wa}};return di.map(Ka=>Ka===Fi?os:Ka)},[pt,er,V,Xi,Oa,Ya,rn,$a,Tt,oi,sn,Zi,Ca]),Oa]},ia=h(2738);function Fn(J,V){return J._antProxy=J._antProxy||{},Object.keys(V).forEach(De=>{if(!(De in J._antProxy)){const Ge=J[De];J._antProxy[De]=Ge,J[De]=V[De]}}),J}function ba(J,V){return(0,c.useImperativeHandle)(J,()=>{const De=V(),{nativeElement:Ge}=De;return typeof Proxy!="undefined"?new Proxy(Ge,{get(ot,mt){return De[mt]?De[mt]:Reflect.get(ot,mt)}}):Fn(Ge,De)})}var Qr=h(83010),xa=h(48755),Vi=h(38406),$i=h(83397),Pn=h(31756),Tr=h(13783),Sn=h(85981),Aa=h(31709),Wi=h(29787),Ia=h(57700);function Fa(J){return V=>{const{prefixCls:De,onExpand:Ge,record:ot,expanded:mt,expandable:Rt}=V,Ct=`${De}-row-expand-icon`;return c.createElement("button",{type:"button",onClick:Nt=>{Ge(ot,Nt),Nt.stopPropagation()},className:Y()(Ct,{[`${Ct}-spaced`]:!Rt,[`${Ct}-expanded`]:Rt&&mt,[`${Ct}-collapsed`]:Rt&&!mt}),"aria-label":mt?J.collapse:J.expand,"aria-expanded":mt})}}var Xr=Fa;function ki(J){return(De,Ge)=>{const ot=De.querySelector(`.${J}-container`);let mt=Ge;if(ot){const Rt=getComputedStyle(ot),Ct=parseInt(Rt.borderLeftWidth,10),Nt=parseInt(Rt.borderRightWidth,10);mt=Ge-Ct-Nt}return mt}}const Ur=(J,V)=>"key"in J&&J.key!==void 0&&J.key!==null?J.key:J.dataIndex?Array.isArray(J.dataIndex)?J.dataIndex.join("."):J.dataIndex:V;function un(J,V){return V?`${V}-${J}`:`${J}`}const bi=(J,V)=>typeof J=="function"?J(V):J,ir=(J,V)=>{const De=bi(J,V);return Object.prototype.toString.call(De)==="[object Object]"?"":De};var Oi={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"},wn=Oi,Cr=h(7657),Jr=function(V,De){return c.createElement(Cr.Z,(0,F.Z)({},V,{ref:De,icon:wn}))},hi=c.forwardRef(Jr),Qi=hi,ss=h(9981),ar=h(40192);function jr(J){const V=c.useRef(J),De=(0,ar.Z)();return[()=>V.current,Ge=>{V.current=Ge,De()}]}var Ta=h(7939),xs=h(584),mo=h(93041),xo=h(78857),fs=h(18287),Os=h(47472),Ds=h(49397),js=J=>{const{value:V,filterSearch:De,tablePrefixCls:Ge,locale:ot,onChange:mt}=J;return De?c.createElement("div",{className:`${Ge}-filter-dropdown-search`},c.createElement(Ds.Z,{prefix:c.createElement(Os.Z,null),placeholder:ot.filterSearchPlaceholder,onChange:mt,value:V,htmlSize:1,className:`${Ge}-filter-dropdown-search-input`})):null},Ns=h(10228);const qs=J=>{const{keyCode:V}=J;V===Ns.Z.ENTER&&J.stopPropagation()};var So=c.forwardRef((J,V)=>c.createElement("div",{className:J.className,onClick:De=>De.stopPropagation(),onKeyDown:qs,ref:V},J.children));function ws(J){let V=[];return(J||[]).forEach(De=>{let{value:Ge,children:ot}=De;V.push(Ge),ot&&(V=[].concat((0,Ze.Z)(V),(0,Ze.Z)(ws(ot))))}),V}function co(J){return J.some(V=>{let{children:De}=V;return De})}function Ps(J,V){return typeof V=="string"||typeof V=="number"?V==null?void 0:V.toString().toLowerCase().includes(J.trim().toLowerCase()):!1}function wo(J){let{filters:V,prefixCls:De,filteredKeys:Ge,filterMultiple:ot,searchValue:mt,filterSearch:Rt}=J;return V.map((Ct,Nt)=>{const Ut=String(Ct.value);if(Ct.children)return{key:Ut||Nt,label:Ct.text,popupClassName:`${De}-dropdown-submenu`,children:wo({filters:Ct.children,prefixCls:De,filteredKeys:Ge,filterMultiple:ot,searchValue:mt,filterSearch:Rt})};const fn=ot?oa.default:ra.ZP,sn={key:Ct.value!==void 0?Ut:Nt,label:c.createElement(c.Fragment,null,c.createElement(fn,{checked:Ge.includes(Ut)}),c.createElement("span",null,Ct.text))};return mt.trim()?typeof Rt=="function"?Rt(mt,Ct)?sn:null:Ps(mt,Ct.text)?sn:null:sn})}function po(J){return J||[]}var Ao=J=>{var V,De,Ge,ot;const{tablePrefixCls:mt,prefixCls:Rt,column:Ct,dropdownPrefixCls:Nt,columnKey:Ut,filterOnClose:fn,filterMultiple:sn,filterMode:rn="menu",filterSearch:B=!1,filterState:l,triggerFilter:d,locale:f,children:b,getPopupContainer:R,rootClassName:H}=J,{filterResetToDefaultFilteredValue:ge,defaultFilteredValue:Ce,filterDropdownProps:Ke={},filterDropdownOpen:pt,filterDropdownVisible:Tt,onFilterDropdownVisibleChange:Qt,onFilterDropdownOpenChange:Wt}=Ct,[Vt,ln]=c.useState(!1),Jt=!!(l&&(!((V=l.filteredKeys)===null||V===void 0)&&V.length||l.forceFiltered)),qt=Mi=>{var Ki;ln(Mi),(Ki=Ke.onOpenChange)===null||Ki===void 0||Ki.call(Ke,Mi),Wt==null||Wt(Mi),Qt==null||Qt(Mi)},bn=(ot=(Ge=(De=Ke.open)!==null&&De!==void 0?De:pt)!==null&&Ge!==void 0?Ge:Tt)!==null&&ot!==void 0?ot:Vt,Hn=l==null?void 0:l.filteredKeys,[ur,Sr]=jr(po(Hn)),er=Mi=>{let{selectedKeys:Ki}=Mi;Sr(Ki)},ci=(Mi,Ki)=>{let{node:Ha,checked:Xa}=Ki;er(sn?{selectedKeys:Mi}:{selectedKeys:Xa&&Ha.key?[Ha.key]:[]})};c.useEffect(()=>{Vt&&er({selectedKeys:po(Hn)})},[Hn]);const[oi,Ca]=c.useState([]),Xi=Mi=>{Ca(Mi)},[Kt,Oa]=c.useState(""),Ya=Mi=>{const{value:Ki}=Mi.target;Oa(Ki)};c.useEffect(()=>{Vt||Oa("")},[Vt]);const la=Mi=>{const Ki=Mi!=null&&Mi.length?Mi:null;if(Ki===null&&(!l||!l.filteredKeys)||(0,re.Z)(Ki,l==null?void 0:l.filteredKeys,!0))return null;d({column:Ct,key:Ut,filteredKeys:Ki})},Zi=()=>{qt(!1),la(ur())},$a=function(){let{confirm:Mi,closeDropdown:Ki}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Mi&&la([]),Ki&&qt(!1),Oa(""),Sr(ge?(Ce||[]).map(Ha=>String(Ha)):[])},Qa=function(){let{closeDropdown:Mi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Mi&&qt(!1),la(ur())},Di=(Mi,Ki)=>{Ki.source==="trigger"&&(Mi&&Hn!==void 0&&Sr(po(Hn)),qt(Mi),!Mi&&!Ct.filterDropdown&&fn&&Zi())},ua=Y()({[`${Nt}-menu-without-submenu`]:!co(Ct.filters||[])}),di=Mi=>{if(Mi.target.checked){const Ki=ws(Ct==null?void 0:Ct.filters).map(Ha=>String(Ha));Sr(Ki)}else Sr([])},Si=Mi=>{let{filters:Ki}=Mi;return(Ki||[]).map((Ha,Xa)=>{const ja=String(Ha.value),Rs={title:Ha.text,key:Ha.value!==void 0?ja:String(Xa)};return Ha.children&&(Rs.children=Si({filters:Ha.children})),Rs})},wa=Mi=>{var Ki;return Object.assign(Object.assign({},Mi),{text:Mi.title,value:Mi.key,children:((Ki=Mi.children)===null||Ki===void 0?void 0:Ki.map(Ha=>wa(Ha)))||[]})};let Ma;const{direction:Ja,renderEmpty:Ba}=c.useContext(xa.E_);if(typeof Ct.filterDropdown=="function")Ma=Ct.filterDropdown({prefixCls:`${Nt}-custom`,setSelectedKeys:Mi=>er({selectedKeys:Mi}),selectedKeys:ur(),confirm:Qa,clearFilters:$a,filters:Ct.filters,visible:bn,close:()=>{qt(!1)}});else if(Ct.filterDropdown)Ma=Ct.filterDropdown;else{const Mi=ur()||[],Ki=()=>{var Xa,ja;const Rs=(Xa=Ba==null?void 0:Ba("Table.filter"))!==null&&Xa!==void 0?Xa:c.createElement(xs.Z,{image:xs.Z.PRESENTED_IMAGE_SIMPLE,description:f.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Ct.filters||[]).length===0)return Rs;if(rn==="tree")return c.createElement(c.Fragment,null,c.createElement(js,{filterSearch:B,value:Kt,onChange:Ya,tablePrefixCls:mt,locale:f}),c.createElement("div",{className:`${mt}-filter-dropdown-tree`},sn?c.createElement(oa.default,{checked:Mi.length===ws(Ct.filters).length,indeterminate:Mi.length>0&&Mi.length<ws(Ct.filters).length,className:`${mt}-filter-dropdown-checkall`,onChange:di},(ja=f==null?void 0:f.filterCheckall)!==null&&ja!==void 0?ja:f==null?void 0:f.filterCheckAll):null,c.createElement(fs.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:sn,checkStrictly:!sn,className:`${Nt}-menu`,onCheck:ci,checkedKeys:Mi,selectedKeys:Mi,showIcon:!1,treeData:Si({filters:Ct.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Kt.trim()?os=>typeof B=="function"?B(Kt,wa(os)):Ps(Kt,os.title):void 0})));const Wa=wo({filters:Ct.filters||[],filterSearch:B,prefixCls:Rt,filteredKeys:ur(),filterMultiple:sn,searchValue:Kt}),Fs=Wa.every(os=>os===null);return c.createElement(c.Fragment,null,c.createElement(js,{filterSearch:B,value:Kt,onChange:Ya,tablePrefixCls:mt,locale:f}),Fs?Rs:c.createElement(mo.default,{selectable:!0,multiple:sn,prefixCls:`${Nt}-menu`,className:ua,onSelect:er,onDeselect:er,selectedKeys:Mi,getPopupContainer:R,openKeys:oi,onOpenChange:Xi,items:Wa}))},Ha=()=>ge?(0,re.Z)((Ce||[]).map(Xa=>String(Xa)),Mi,!0):Mi.length===0;Ma=c.createElement(c.Fragment,null,Ki(),c.createElement("div",{className:`${Rt}-dropdown-btns`},c.createElement(Ta.ZP,{type:"link",size:"small",disabled:Ha(),onClick:()=>$a()},f.filterReset),c.createElement(Ta.ZP,{type:"primary",size:"small",onClick:Zi},f.filterConfirm)))}Ct.filterDropdown&&(Ma=c.createElement(xo.J,{selectable:void 0},Ma)),Ma=c.createElement(So,{className:`${Rt}-dropdown`},Ma);const qa=()=>{let Mi;return typeof Ct.filterIcon=="function"?Mi=Ct.filterIcon(Jt):Ct.filterIcon?Mi=Ct.filterIcon:Mi=c.createElement(Qi,null),c.createElement("span",{role:"button",tabIndex:-1,className:Y()(`${Rt}-trigger`,{active:Jt}),onClick:Ki=>{Ki.stopPropagation()}},Mi)},ds=(0,ss.Z)({trigger:["click"],placement:Ja==="rtl"?"bottomLeft":"bottomRight",children:qa(),getPopupContainer:R},Object.assign(Object.assign({},Ke),{rootClassName:Y()(H,Ke.rootClassName),open:bn,onOpenChange:Di,dropdownRender:()=>typeof(Ke==null?void 0:Ke.dropdownRender)=="function"?Ke.dropdownRender(Ma):Ma}));return c.createElement("div",{className:`${Rt}-column`},c.createElement("span",{className:`${mt}-column-title`},b),c.createElement(ji.Z,Object.assign({},ds)))};const $s=(J,V,De)=>{let Ge=[];return(J||[]).forEach((ot,mt)=>{var Rt;const Ct=un(mt,De);if(ot.filters||"filterDropdown"in ot||"onFilter"in ot)if("filteredValue"in ot){let Nt=ot.filteredValue;"filterDropdown"in ot||(Nt=(Rt=Nt==null?void 0:Nt.map(String))!==null&&Rt!==void 0?Rt:Nt),Ge.push({column:ot,key:Ur(ot,Ct),filteredKeys:Nt,forceFiltered:ot.filtered})}else Ge.push({column:ot,key:Ur(ot,Ct),filteredKeys:V&&ot.defaultFilteredValue?ot.defaultFilteredValue:void 0,forceFiltered:ot.filtered});"children"in ot&&(Ge=[].concat((0,Ze.Z)(Ge),(0,Ze.Z)($s(ot.children,V,Ct))))}),Ge};function Is(J,V,De,Ge,ot,mt,Rt,Ct,Nt){return De.map((Ut,fn)=>{const sn=un(fn,Ct),{filterOnClose:rn=!0,filterMultiple:B=!0,filterMode:l,filterSearch:d}=Ut;let f=Ut;if(f.filters||f.filterDropdown){const b=Ur(f,sn),R=Ge.find(H=>{let{key:ge}=H;return b===ge});f=Object.assign(Object.assign({},f),{title:H=>c.createElement(Ao,{tablePrefixCls:J,prefixCls:`${J}-filter`,dropdownPrefixCls:V,column:f,columnKey:b,filterState:R,filterOnClose:rn,filterMultiple:B,filterMode:l,filterSearch:d,triggerFilter:mt,locale:ot,getPopupContainer:Rt,rootClassName:Nt},bi(Ut.title,H))})}return"children"in f&&(f=Object.assign(Object.assign({},f),{children:Is(J,V,f.children,Ge,ot,mt,Rt,sn,Nt)})),f})}const Ra=J=>{const V={};return J.forEach(De=>{let{key:Ge,filteredKeys:ot,column:mt}=De;const Rt=Ge,{filters:Ct,filterDropdown:Nt}=mt;if(Nt)V[Rt]=ot||null;else if(Array.isArray(ot)){const Ut=ws(Ct);V[Rt]=Ut.filter(fn=>ot.includes(String(fn)))}else V[Rt]=null}),V},na=(J,V,De)=>V.reduce((ot,mt)=>{const{column:{onFilter:Rt,filters:Ct},filteredKeys:Nt}=mt;return Rt&&Nt&&Nt.length?ot.map(Ut=>Object.assign({},Ut)).filter(Ut=>Nt.some(fn=>{const sn=ws(Ct),rn=sn.findIndex(l=>String(l)===String(fn)),B=rn!==-1?sn[rn]:fn;return Ut[De]&&(Ut[De]=na(Ut[De],V,De)),Rt(B,Ut)})):ot},J),hs=J=>J.flatMap(V=>"children"in V?[V].concat((0,Ze.Z)(hs(V.children||[]))):[V]);var za=J=>{const{prefixCls:V,dropdownPrefixCls:De,mergedColumns:Ge,onFilterChange:ot,getPopupContainer:mt,locale:Rt,rootClassName:Ct}=J,Nt=(0,zi.ln)("Table"),Ut=c.useMemo(()=>hs(Ge||[]),[Ge]),[fn,sn]=c.useState(()=>$s(Ut,!0)),rn=c.useMemo(()=>{const f=$s(Ut,!1);if(f.length===0)return f;let b=!0,R=!0;if(f.forEach(H=>{let{filteredKeys:ge}=H;ge!==void 0?b=!1:R=!1}),b){const H=(Ut||[]).map((ge,Ce)=>Ur(ge,un(Ce)));return fn.filter(ge=>{let{key:Ce}=ge;return H.includes(Ce)}).map(ge=>{const Ce=Ut[H.findIndex(Ke=>Ke===ge.key)];return Object.assign(Object.assign({},ge),{column:Object.assign(Object.assign({},ge.column),Ce),forceFiltered:Ce.filtered})})}return f},[Ut,fn]),B=c.useMemo(()=>Ra(rn),[rn]),l=f=>{const b=rn.filter(R=>{let{key:H}=R;return H!==f.key});b.push(f),sn(b),ot(Ra(b),b)};return[f=>Is(V,De,f,rn,Rt,l,mt,void 0,Ct),rn,B]},Ls=(J,V,De)=>{const Ge=c.useRef({});function ot(mt){var Rt;if(!Ge.current||Ge.current.data!==J||Ge.current.childrenColumnName!==V||Ge.current.getRowKey!==De){let Nt=function(Ut){Ut.forEach((fn,sn)=>{const rn=De(fn,sn);Ct.set(rn,fn),fn&&typeof fn=="object"&&V in fn&&Nt(fn[V]||[])})};const Ct=new Map;Nt(J),Ge.current={data:J,childrenColumnName:V,kvMap:Ct,getRowKey:De}}return(Rt=Ge.current.kvMap)===null||Rt===void 0?void 0:Rt.get(mt)}return[ot]},Es=function(J,V){var De={};for(var Ge in J)Object.prototype.hasOwnProperty.call(J,Ge)&&V.indexOf(Ge)<0&&(De[Ge]=J[Ge]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Ge=Object.getOwnPropertySymbols(J);ot<Ge.length;ot++)V.indexOf(Ge[ot])<0&&Object.prototype.propertyIsEnumerable.call(J,Ge[ot])&&(De[Ge[ot]]=J[Ge[ot]]);return De};const Zs=10;function Wr(J,V){const De={current:J.current,pageSize:J.pageSize};return Object.keys(V&&typeof V=="object"?V:{}).forEach(ot=>{const mt=J[ot];typeof mt!="function"&&(De[ot]=mt)}),De}function Qs(J,V,De){const Ge=De&&typeof De=="object"?De:{},{total:ot=0}=Ge,mt=Es(Ge,["total"]),[Rt,Ct]=(0,c.useState)(()=>({current:"defaultCurrent"in mt?mt.defaultCurrent:1,pageSize:"defaultPageSize"in mt?mt.defaultPageSize:Zs})),Nt=(0,ss.Z)(Rt,mt,{total:ot>0?ot:J}),Ut=Math.ceil((ot||J)/Nt.pageSize);Nt.current>Ut&&(Nt.current=Ut||1);const fn=(rn,B)=>{Ct({current:rn!=null?rn:1,pageSize:B||Nt.pageSize})},sn=(rn,B)=>{var l;De&&((l=De.onChange)===null||l===void 0||l.call(De,rn,B)),fn(rn,B),V(rn,B||(Nt==null?void 0:Nt.pageSize))};return De===!1?[{},()=>{}]:[Object.assign(Object.assign({},Nt),{onChange:sn}),fn]}var fr=Qs,eo=h(89489),Us=h(59477),Do=h(25399);const Na="ascend",Ua="descend",Za=J=>typeof J.sorter=="object"&&typeof J.sorter.multiple=="number"?J.sorter.multiple:!1,As=J=>typeof J=="function"?J:J&&typeof J=="object"&&J.compare?J.compare:!1,ls=(J,V)=>V?J[J.indexOf(V)+1]:J[0],to=(J,V,De)=>{let Ge=[];const ot=(mt,Rt)=>{Ge.push({column:mt,key:Ur(mt,Rt),multiplePriority:Za(mt),sortOrder:mt.sortOrder})};return(J||[]).forEach((mt,Rt)=>{const Ct=un(Rt,De);mt.children?("sortOrder"in mt&&ot(mt,Ct),Ge=[].concat((0,Ze.Z)(Ge),(0,Ze.Z)(to(mt.children,V,Ct)))):mt.sorter&&("sortOrder"in mt?ot(mt,Ct):V&&mt.defaultSortOrder&&Ge.push({column:mt,key:Ur(mt,Ct),multiplePriority:Za(mt),sortOrder:mt.defaultSortOrder}))}),Ge},fo=(J,V,De,Ge,ot,mt,Rt,Ct)=>(V||[]).map((Ut,fn)=>{const sn=un(fn,Ct);let rn=Ut;if(rn.sorter){const B=rn.sortDirections||ot,l=rn.showSorterTooltip===void 0?Rt:rn.showSorterTooltip,d=Ur(rn,sn),f=De.find(Qt=>{let{key:Wt}=Qt;return Wt===d}),b=f?f.sortOrder:null,R=ls(B,b);let H;if(Ut.sortIcon)H=Ut.sortIcon({sortOrder:b});else{const Qt=B.includes(Na)&&c.createElement(Us.Z,{className:Y()(`${J}-column-sorter-up`,{active:b===Na})}),Wt=B.includes(Ua)&&c.createElement(eo.Z,{className:Y()(`${J}-column-sorter-down`,{active:b===Ua})});H=c.createElement("span",{className:Y()(`${J}-column-sorter`,{[`${J}-column-sorter-full`]:!!(Qt&&Wt)})},c.createElement("span",{className:`${J}-column-sorter-inner`,"aria-hidden":"true"},Qt,Wt))}const{cancelSort:ge,triggerAsc:Ce,triggerDesc:Ke}=mt||{};let pt=ge;R===Ua?pt=Ke:R===Na&&(pt=Ce);const Tt=typeof l=="object"?Object.assign({title:pt},l):{title:pt};rn=Object.assign(Object.assign({},rn),{className:Y()(rn.className,{[`${J}-column-sort`]:b}),title:Qt=>{const Wt=`${J}-column-sorters`,Vt=c.createElement("span",{className:`${J}-column-title`},bi(Ut.title,Qt)),ln=c.createElement("div",{className:Wt},Vt,H);return l?typeof l!="boolean"&&(l==null?void 0:l.target)==="sorter-icon"?c.createElement("div",{className:`${Wt} ${J}-column-sorters-tooltip-target-sorter`},Vt,c.createElement(Do.Z,Object.assign({},Tt),H)):c.createElement(Do.Z,Object.assign({},Tt),ln):ln},onHeaderCell:Qt=>{var Wt;const Vt=((Wt=Ut.onHeaderCell)===null||Wt===void 0?void 0:Wt.call(Ut,Qt))||{},ln=Vt.onClick,Jt=Vt.onKeyDown;Vt.onClick=Hn=>{Ge({column:Ut,key:d,sortOrder:R,multiplePriority:Za(Ut)}),ln==null||ln(Hn)},Vt.onKeyDown=Hn=>{Hn.keyCode===Ns.Z.ENTER&&(Ge({column:Ut,key:d,sortOrder:R,multiplePriority:Za(Ut)}),Jt==null||Jt(Hn))};const qt=ir(Ut.title,{}),bn=qt==null?void 0:qt.toString();return b&&(Vt["aria-sort"]=b==="ascend"?"ascending":"descending"),Vt["aria-label"]=bn||"",Vt.className=Y()(Vt.className,`${J}-column-has-sorters`),Vt.tabIndex=0,Ut.ellipsis&&(Vt.title=(qt!=null?qt:"").toString()),Vt}})}return"children"in rn&&(rn=Object.assign(Object.assign({},rn),{children:fo(J,rn.children,De,Ge,ot,mt,Rt,sn)})),rn}),no=J=>{const{column:V,sortOrder:De}=J;return{column:V,order:De,field:V.dataIndex,columnKey:V.key}},To=J=>{const V=J.filter(De=>{let{sortOrder:Ge}=De;return Ge}).map(no);if(V.length===0&&J.length){const De=J.length-1;return Object.assign(Object.assign({},no(J[De])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return V.length<=1?V[0]||{}:V},oo=(J,V,De)=>{const Ge=V.slice().sort((Rt,Ct)=>Ct.multiplePriority-Rt.multiplePriority),ot=J.slice(),mt=Ge.filter(Rt=>{let{column:{sorter:Ct},sortOrder:Nt}=Rt;return As(Ct)&&Nt});return mt.length?ot.sort((Rt,Ct)=>{for(let Nt=0;Nt<mt.length;Nt+=1){const Ut=mt[Nt],{column:{sorter:fn},sortOrder:sn}=Ut,rn=As(fn);if(rn&&sn){const B=rn(Rt,Ct,sn);if(B!==0)return sn===Na?B:-B}}return 0}).map(Rt=>{const Ct=Rt[De];return Ct?Object.assign(Object.assign({},Rt),{[De]:oo(Ct,V,De)}):Rt}):ot};var Po=J=>{const{prefixCls:V,mergedColumns:De,sortDirections:Ge,tableLocale:ot,showSorterTooltip:mt,onSorterChange:Rt}=J,[Ct,Nt]=c.useState(to(De,!0)),Ut=(d,f)=>{const b=[];return d.forEach((R,H)=>{const ge=un(H,f);if(b.push(Ur(R,ge)),Array.isArray(R.children)){const Ce=Ut(R.children,ge);b.push.apply(b,(0,Ze.Z)(Ce))}}),b},fn=c.useMemo(()=>{let d=!0;const f=to(De,!1);if(!f.length){const ge=Ut(De);return Ct.filter(Ce=>{let{key:Ke}=Ce;return ge.includes(Ke)})}const b=[];function R(ge){d?b.push(ge):b.push(Object.assign(Object.assign({},ge),{sortOrder:null}))}let H=null;return f.forEach(ge=>{H===null?(R(ge),ge.sortOrder&&(ge.multiplePriority===!1?d=!1:H=!0)):(H&&ge.multiplePriority!==!1||(d=!1),R(ge))}),b},[De,Ct]),sn=c.useMemo(()=>{var d,f;const b=fn.map(R=>{let{column:H,sortOrder:ge}=R;return{column:H,order:ge}});return{sortColumns:b,sortColumn:(d=b[0])===null||d===void 0?void 0:d.column,sortOrder:(f=b[0])===null||f===void 0?void 0:f.order}},[fn]),rn=d=>{let f;d.multiplePriority===!1||!fn.length||fn[0].multiplePriority===!1?f=[d]:f=[].concat((0,Ze.Z)(fn.filter(b=>{let{key:R}=b;return R!==d.key})),[d]),Nt(f),Rt(To(f),f)};return[d=>fo(V,d,fn,rn,Ge,ot,mt),fn,sn,()=>To(fn)]};const vo=(J,V)=>J.map(Ge=>{const ot=Object.assign({},Ge);return ot.title=bi(Ge.title,V),"children"in ot&&(ot.children=vo(ot.children,V)),ot});var Bs=J=>[c.useCallback(De=>vo(De,J),[J])],Ho=Br((J,V)=>{const{_renderTimes:De}=J,{_renderTimes:Ge}=V;return De!==Ge}),Bo=hn((J,V)=>{const{_renderTimes:De}=J,{_renderTimes:Ge}=V;return De!==Ge}),ti=h(36237),ps=h(17835),S=h(63356),te=h(16931),Se=h(51636),Je=J=>{const{componentCls:V,lineWidth:De,lineType:Ge,tableBorderColor:ot,tableHeaderBg:mt,tablePaddingVertical:Rt,tablePaddingHorizontal:Ct,calc:Nt}=J,Ut=`${(0,ti.unit)(De)} ${Ge} ${ot}`,fn=(sn,rn,B)=>({[`&${V}-${sn}`]:{[`> ${V}-container`]:{[`> ${V}-content, > ${V}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${V}-expanded-row-fixed`]:{margin:`${(0,ti.unit)(Nt(rn).mul(-1).equal())}
|
|
${(0,ti.unit)(Nt(Nt(B).add(De)).mul(-1).equal())}`}}}}}});return{[`${V}-wrapper`]:{[`${V}${V}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${V}-title`]:{border:Ut,borderBottom:0},[`> ${V}-container`]:{borderInlineStart:Ut,borderTop:Ut,[`
|
|
> ${V}-content,
|
|
> ${V}-header,
|
|
> ${V}-body,
|
|
> ${V}-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:Ut},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Ut},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${V}-cell-fix-right-first::after`]:{borderInlineEnd:Ut}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${V}-expanded-row-fixed`]:{margin:`${(0,ti.unit)(Nt(Rt).mul(-1).equal())} ${(0,ti.unit)(Nt(Nt(Ct).add(De)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:De,bottom:0,borderInlineEnd:Ut,content:'""'}}}}}},[`&${V}-scroll-horizontal`]:{[`> ${V}-container > ${V}-body`]:{"> table > tbody":{[`
|
|
> tr${V}-expanded-row,
|
|
> tr${V}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},fn("middle",J.tablePaddingVerticalMiddle,J.tablePaddingHorizontalMiddle)),fn("small",J.tablePaddingVerticalSmall,J.tablePaddingHorizontalSmall)),{[`> ${V}-footer`]:{border:Ut,borderTop:0}}),[`${V}-cell`]:{[`${V}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,ti.unit)(De)} 0 ${(0,ti.unit)(De)} ${mt}`}},[`${V}-bordered ${V}-cell-scrollbar`]:{borderInlineEnd:Ut}}}},zt=J=>{const{componentCls:V}=J;return{[`${V}-wrapper`]:{[`${V}-cell-ellipsis`]:Object.assign(Object.assign({},S.vS),{wordBreak:"keep-all",[`
|
|
&${V}-cell-fix-left-last,
|
|
&${V}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${V}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${V}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},yn=J=>{const{componentCls:V}=J;return{[`${V}-wrapper`]:{[`${V}-tbody > tr${V}-placeholder`]:{textAlign:"center",color:J.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:J.colorBgContainer}}}}},tn=J=>{const{componentCls:V,antCls:De,motionDurationSlow:Ge,lineWidth:ot,paddingXS:mt,lineType:Rt,tableBorderColor:Ct,tableExpandIconBg:Nt,tableExpandColumnWidth:Ut,borderRadius:fn,tablePaddingVertical:sn,tablePaddingHorizontal:rn,tableExpandedRowBg:B,paddingXXS:l,expandIconMarginTop:d,expandIconSize:f,expandIconHalfInner:b,expandIconScale:R,calc:H}=J,ge=`${(0,ti.unit)(ot)} ${Rt} ${Ct}`,Ce=H(l).sub(ot).equal();return{[`${V}-wrapper`]:{[`${V}-expand-icon-col`]:{width:Ut},[`${V}-row-expand-icon-cell`]:{textAlign:"center",[`${V}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${V}-row-indent`]:{height:1,float:"left"},[`${V}-row-expand-icon`]:Object.assign(Object.assign({},(0,S.Nd)(J)),{position:"relative",float:"left",width:f,height:f,color:"inherit",lineHeight:(0,ti.unit)(f),background:Nt,border:ge,borderRadius:fn,transform:`scale(${R})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ge} ease-out`,content:'""'},"&::before":{top:b,insetInlineEnd:Ce,insetInlineStart:Ce,height:ot},"&::after":{top:Ce,bottom:Ce,insetInlineStart:b,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"}}),[`${V}-row-indent + ${V}-row-expand-icon`]:{marginTop:d,marginInlineEnd:mt},[`tr${V}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:B}},[`${De}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${V}-expanded-row-fixed`]:{position:"relative",margin:`${(0,ti.unit)(H(sn).mul(-1).equal())} ${(0,ti.unit)(H(rn).mul(-1).equal())}`,padding:`${(0,ti.unit)(sn)} ${(0,ti.unit)(rn)}`}}}},Kn=J=>{const{componentCls:V,antCls:De,iconCls:Ge,tableFilterDropdownWidth:ot,tableFilterDropdownSearchWidth:mt,paddingXXS:Rt,paddingXS:Ct,colorText:Nt,lineWidth:Ut,lineType:fn,tableBorderColor:sn,headerIconColor:rn,fontSizeSM:B,tablePaddingHorizontal:l,borderRadius:d,motionDurationSlow:f,colorTextDescription:b,colorPrimary:R,tableHeaderFilterActiveBg:H,colorTextDisabled:ge,tableFilterDropdownBg:Ce,tableFilterDropdownHeight:Ke,controlItemBgHover:pt,controlItemBgActive:Tt,boxShadowSecondary:Qt,filterDropdownMenuBg:Wt,calc:Vt}=J,ln=`${De}-dropdown`,Jt=`${V}-filter-dropdown`,qt=`${De}-tree`,bn=`${(0,ti.unit)(Ut)} ${fn} ${sn}`;return[{[`${V}-wrapper`]:{[`${V}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${V}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Vt(Rt).mul(-1).equal(),marginInline:`${(0,ti.unit)(Rt)} ${(0,ti.unit)(Vt(l).div(2).mul(-1).equal())}`,padding:`0 ${(0,ti.unit)(Rt)}`,color:rn,fontSize:B,borderRadius:d,cursor:"pointer",transition:`all ${f}`,"&:hover":{color:b,background:H},"&.active":{color:R}}}},{[`${De}-dropdown`]:{[Jt]:Object.assign(Object.assign({},(0,S.Wf)(J)),{minWidth:ot,backgroundColor:Ce,borderRadius:d,boxShadow:Qt,overflow:"hidden",[`${ln}-menu`]:{maxHeight:Ke,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Wt,"&:empty::after":{display:"block",padding:`${(0,ti.unit)(Ct)} 0`,color:ge,fontSize:B,textAlign:"center",content:'"Not Found"'}},[`${Jt}-tree`]:{paddingBlock:`${(0,ti.unit)(Ct)} 0`,paddingInline:Ct,[qt]:{padding:0},[`${qt}-treenode ${qt}-node-content-wrapper:hover`]:{backgroundColor:pt},[`${qt}-treenode-checkbox-checked ${qt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Tt}}},[`${Jt}-search`]:{padding:Ct,borderBottom:bn,"&-input":{input:{minWidth:mt},[Ge]:{color:ge}}},[`${Jt}-checkall`]:{width:"100%",marginBottom:Rt,marginInlineStart:Rt},[`${Jt}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,ti.unit)(Vt(Ct).sub(Ut).equal())} ${(0,ti.unit)(Ct)}`,overflow:"hidden",borderTop:bn}})}},{[`${De}-dropdown ${Jt}, ${Jt}-submenu`]:{[`${De}-checkbox-wrapper + span`]:{paddingInlineStart:Ct,color:Nt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Bn=J=>{const{componentCls:V,lineWidth:De,colorSplit:Ge,motionDurationSlow:ot,zIndexTableFixed:mt,tableBg:Rt,zIndexTableSticky:Ct,calc:Nt}=J,Ut=Ge;return{[`${V}-wrapper`]:{[`
|
|
${V}-cell-fix-left,
|
|
${V}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:mt,background:Rt},[`
|
|
${V}-cell-fix-left-first::after,
|
|
${V}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:Nt(De).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${V}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${V}-cell-fix-right-first::after,
|
|
${V}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:Nt(De).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${V}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Nt(Ct).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${V}-ping-left`]:{[`&:not(${V}-has-fix-left) ${V}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Ut}`},[`
|
|
${V}-cell-fix-left-first::after,
|
|
${V}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Ut}`},[`${V}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${V}-ping-right`]:{[`&:not(${V}-has-fix-right) ${V}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Ut}`},[`
|
|
${V}-cell-fix-right-first::after,
|
|
${V}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Ut}`}},[`${V}-fixed-column-gapped`]:{[`
|
|
${V}-cell-fix-left-first::after,
|
|
${V}-cell-fix-left-last::after,
|
|
${V}-cell-fix-right-first::after,
|
|
${V}-cell-fix-right-last::after
|
|
`]:{boxShadow:"none"}}}}},Qn=J=>{const{componentCls:V,antCls:De,margin:Ge}=J;return{[`${V}-wrapper`]:{[`${V}-pagination${De}-pagination`]:{margin:`${(0,ti.unit)(Ge)} 0`},[`${V}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:J.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Ar=J=>{const{componentCls:V,tableRadius:De}=J;return{[`${V}-wrapper`]:{[V]:{[`${V}-title, ${V}-header`]:{borderRadius:`${(0,ti.unit)(De)} ${(0,ti.unit)(De)} 0 0`},[`${V}-title + ${V}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${V}-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:De,borderStartEndRadius:De,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:De},"> *:last-child":{borderStartEndRadius:De}}},"&-footer":{borderRadius:`0 0 ${(0,ti.unit)(De)} ${(0,ti.unit)(De)}`}}}}},tr=J=>{const{componentCls:V}=J;return{[`${V}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${V}-pagination-left`]:{justifyContent:"flex-end"},[`${V}-pagination-right`]:{justifyContent:"flex-start"},[`${V}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${V}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${V}-row-indent`]:{float:"right"}}}}},mr=J=>{const{componentCls:V,antCls:De,iconCls:Ge,fontSizeIcon:ot,padding:mt,paddingXS:Rt,headerIconColor:Ct,headerIconHoverColor:Nt,tableSelectionColumnWidth:Ut,tableSelectedRowBg:fn,tableSelectedRowHoverBg:sn,tableRowHoverBg:rn,tablePaddingHorizontal:B,calc:l}=J;return{[`${V}-wrapper`]:{[`${V}-selection-col`]:{width:Ut,[`&${V}-selection-col-with-dropdown`]:{width:l(Ut).add(ot).add(l(mt).div(4)).equal()}},[`${V}-bordered ${V}-selection-col`]:{width:l(Ut).add(l(Rt).mul(2)).equal(),[`&${V}-selection-col-with-dropdown`]:{width:l(Ut).add(ot).add(l(mt).div(4)).add(l(Rt).mul(2)).equal()}},[`
|
|
table tr th${V}-selection-column,
|
|
table tr td${V}-selection-column,
|
|
${V}-selection-column
|
|
`]:{paddingInlineEnd:J.paddingXS,paddingInlineStart:J.paddingXS,textAlign:"center",[`${De}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${V}-selection-column${V}-cell-fix-left`]:{zIndex:l(J.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${V}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${V}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${V}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${J.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,ti.unit)(l(B).div(4).equal()),[Ge]:{color:Ct,fontSize:ot,verticalAlign:"baseline","&:hover":{color:Nt}}},[`${V}-tbody`]:{[`${V}-row`]:{[`&${V}-row-selected`]:{[`> ${V}-cell`]:{background:fn,"&-row-hover":{background:sn}}},[`> ${V}-cell-row-hover`]:{background:rn}}}}}},_i=J=>{const{componentCls:V,tableExpandColumnWidth:De,calc:Ge}=J,ot=(mt,Rt,Ct,Nt)=>({[`${V}${V}-${mt}`]:{fontSize:Nt,[`
|
|
${V}-title,
|
|
${V}-footer,
|
|
${V}-cell,
|
|
${V}-thead > tr > th,
|
|
${V}-tbody > tr > th,
|
|
${V}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${(0,ti.unit)(Rt)} ${(0,ti.unit)(Ct)}`},[`${V}-filter-trigger`]:{marginInlineEnd:(0,ti.unit)(Ge(Ct).div(2).mul(-1).equal())},[`${V}-expanded-row-fixed`]:{margin:`${(0,ti.unit)(Ge(Rt).mul(-1).equal())} ${(0,ti.unit)(Ge(Ct).mul(-1).equal())}`},[`${V}-tbody`]:{[`${V}-wrapper:only-child ${V}`]:{marginBlock:(0,ti.unit)(Ge(Rt).mul(-1).equal()),marginInline:`${(0,ti.unit)(Ge(De).sub(Ct).equal())} ${(0,ti.unit)(Ge(Ct).mul(-1).equal())}`}},[`${V}-selection-extra`]:{paddingInlineStart:(0,ti.unit)(Ge(Ct).div(4).equal())}}});return{[`${V}-wrapper`]:Object.assign(Object.assign({},ot("middle",J.tablePaddingVerticalMiddle,J.tablePaddingHorizontalMiddle,J.tableFontSizeMiddle)),ot("small",J.tablePaddingVerticalSmall,J.tablePaddingHorizontalSmall,J.tableFontSizeSmall))}},li=J=>{const{componentCls:V,marginXXS:De,fontSizeIcon:Ge,headerIconColor:ot,headerIconHoverColor:mt}=J;return{[`${V}-wrapper`]:{[`${V}-thead th${V}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${J.motionDurationSlow}, left 0s`,"&:hover":{background:J.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:J.colorPrimary},[`
|
|
&${V}-cell-fix-left:hover,
|
|
&${V}-cell-fix-right:hover
|
|
`]:{background:J.tableFixedHeaderSortActiveBg}},[`${V}-thead th${V}-column-sort`]:{background:J.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${V}-column-sort`]:{background:J.tableBodySortBg},[`${V}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${V}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${V}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${V}-column-sorter`]:{marginInlineStart:De,color:ot,fontSize:0,transition:`color ${J.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ge,"&.active":{color:J.colorPrimary}},[`${V}-column-sorter-up + ${V}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${V}-column-sorters:hover ${V}-column-sorter`]:{color:mt}}}},Ni=J=>{const{componentCls:V,opacityLoading:De,tableScrollThumbBg:Ge,tableScrollThumbBgHover:ot,tableScrollThumbSize:mt,tableScrollBg:Rt,zIndexTableSticky:Ct,stickyScrollBarBorderRadius:Nt,lineWidth:Ut,lineType:fn,tableBorderColor:sn}=J,rn=`${(0,ti.unit)(Ut)} ${fn} ${sn}`;return{[`${V}-wrapper`]:{[`${V}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ct,background:J.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,ti.unit)(mt)} !important`,zIndex:Ct,display:"flex",alignItems:"center",background:Rt,borderTop:rn,opacity:De,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:mt,backgroundColor:Ge,borderRadius:Nt,transition:`all ${J.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ot}}}}}}},ai=J=>{const{componentCls:V,lineWidth:De,tableBorderColor:Ge,calc:ot}=J,mt=`${(0,ti.unit)(De)} ${J.lineType} ${Ge}`;return{[`${V}-wrapper`]:{[`${V}-summary`]:{position:"relative",zIndex:J.zIndexTableFixed,background:J.tableBg,"> tr":{"> th, > td":{borderBottom:mt}}},[`div${V}-summary`]:{boxShadow:`0 ${(0,ti.unit)(ot(De).mul(-1).equal())} 0 ${Ge}`}}}},Ai=J=>{const{componentCls:V,motionDurationMid:De,lineWidth:Ge,lineType:ot,tableBorderColor:mt,calc:Rt}=J,Ct=`${(0,ti.unit)(Ge)} ${ot} ${mt}`,Nt=`${V}-expanded-row-cell`;return{[`${V}-wrapper`]:{[`${V}-tbody-virtual`]:{[`${V}-tbody-virtual-holder-inner`]:{[`
|
|
& > ${V}-row,
|
|
& > div:not(${V}-row) > ${V}-row
|
|
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${V}-cell`]:{borderBottom:Ct,transition:`background ${De}`},[`${V}-expanded-row`]:{[`${Nt}${Nt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,ti.unit)(Ge)})`,borderInlineEnd:"none"}}},[`${V}-bordered`]:{[`${V}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Ct,position:"absolute"},[`${V}-cell`]:{borderInlineEnd:Ct,[`&${V}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:Rt(Ge).mul(-1).equal(),borderInlineStart:Ct}}},[`&${V}-virtual`]:{[`${V}-placeholder ${V}-cell`]:{borderInlineEnd:Ct,borderBottom:Ct}}}}}};const Ti=J=>{const{componentCls:V,fontWeightStrong:De,tablePaddingVertical:Ge,tablePaddingHorizontal:ot,tableExpandColumnWidth:mt,lineWidth:Rt,lineType:Ct,tableBorderColor:Nt,tableFontSize:Ut,tableBg:fn,tableRadius:sn,tableHeaderTextColor:rn,motionDurationMid:B,tableHeaderBg:l,tableHeaderCellSplitColor:d,tableFooterTextColor:f,tableFooterBg:b,calc:R}=J,H=`${(0,ti.unit)(Rt)} ${Ct} ${Nt}`;return{[`${V}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,S.dF)()),{[V]:Object.assign(Object.assign({},(0,S.Wf)(J)),{fontSize:Ut,background:fn,borderRadius:`${(0,ti.unit)(sn)} ${(0,ti.unit)(sn)} 0 0`,scrollbarColor:`${J.tableScrollThumbBg} ${J.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,ti.unit)(sn)} ${(0,ti.unit)(sn)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${V}-cell,
|
|
${V}-thead > tr > th,
|
|
${V}-tbody > tr > th,
|
|
${V}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${(0,ti.unit)(Ge)} ${(0,ti.unit)(ot)}`,overflowWrap:"break-word"},[`${V}-title`]:{padding:`${(0,ti.unit)(Ge)} ${(0,ti.unit)(ot)}`},[`${V}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:rn,fontWeight:De,textAlign:"start",background:l,borderBottom:H,transition:`background ${B} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${V}-selection-column):not(${V}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:d,transform:"translateY(-50%)",transition:`background-color ${B}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${V}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${B}, border-color ${B}`,borderBottom:H,[`
|
|
> ${V}-wrapper:only-child,
|
|
> ${V}-expanded-row-fixed > ${V}-wrapper:only-child
|
|
`]:{[V]:{marginBlock:(0,ti.unit)(R(Ge).mul(-1).equal()),marginInline:`${(0,ti.unit)(R(mt).sub(ot).equal())}
|
|
${(0,ti.unit)(R(ot).mul(-1).equal())}`,[`${V}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:rn,fontWeight:De,textAlign:"start",background:l,borderBottom:H,transition:`background ${B} ease`}}},[`${V}-footer`]:{padding:`${(0,ti.unit)(Ge)} ${(0,ti.unit)(ot)}`,color:f,background:b}})}},Ji=J=>{const{colorFillAlter:V,colorBgContainer:De,colorTextHeading:Ge,colorFillSecondary:ot,colorFillContent:mt,controlItemBgActive:Rt,controlItemBgActiveHover:Ct,padding:Nt,paddingSM:Ut,paddingXS:fn,colorBorderSecondary:sn,borderRadiusLG:rn,controlHeight:B,colorTextPlaceholder:l,fontSize:d,fontSizeSM:f,lineHeight:b,lineWidth:R,colorIcon:H,colorIconHover:ge,opacityLoading:Ce,controlInteractiveSize:Ke}=J,pt=new ps.FastColor(ot).onBackground(De).toHexString(),Tt=new ps.FastColor(mt).onBackground(De).toHexString(),Qt=new ps.FastColor(V).onBackground(De).toHexString(),Wt=new ps.FastColor(H),Vt=new ps.FastColor(ge),ln=Ke/2-R,Jt=ln*2+R*3;return{headerBg:Qt,headerColor:Ge,headerSortActiveBg:pt,headerSortHoverBg:Tt,bodySortBg:Qt,rowHoverBg:Qt,rowSelectedBg:Rt,rowSelectedHoverBg:Ct,rowExpandedBg:V,cellPaddingBlock:Nt,cellPaddingInline:Nt,cellPaddingBlockMD:Ut,cellPaddingInlineMD:fn,cellPaddingBlockSM:fn,cellPaddingInlineSM:fn,borderColor:sn,headerBorderRadius:rn,footerBg:Qt,footerColor:Ge,cellFontSize:d,cellFontSizeMD:d,cellFontSizeSM:d,headerSplitColor:sn,fixedHeaderSortActiveBg:pt,headerFilterHoverBg:mt,filterDropdownMenuBg:De,filterDropdownBg:De,expandIconBg:De,selectionColumnWidth:B,stickyScrollBarBg:l,stickyScrollBarBorderRadius:100,expandIconMarginTop:(d*b-R*3)/2-Math.ceil((f*1.4-R*3)/2),headerIconColor:Wt.clone().setA(Wt.a*Ce).toRgbString(),headerIconHoverColor:Vt.clone().setA(Vt.a*Ce).toRgbString(),expandIconHalfInner:ln,expandIconSize:Jt,expandIconScale:Ke/Jt}},$e=2;var pi=(0,te.I$)("Table",J=>{const{colorTextHeading:V,colorSplit:De,colorBgContainer:Ge,controlInteractiveSize:ot,headerBg:mt,headerColor:Rt,headerSortActiveBg:Ct,headerSortHoverBg:Nt,bodySortBg:Ut,rowHoverBg:fn,rowSelectedBg:sn,rowSelectedHoverBg:rn,rowExpandedBg:B,cellPaddingBlock:l,cellPaddingInline:d,cellPaddingBlockMD:f,cellPaddingInlineMD:b,cellPaddingBlockSM:R,cellPaddingInlineSM:H,borderColor:ge,footerBg:Ce,footerColor:Ke,headerBorderRadius:pt,cellFontSize:Tt,cellFontSizeMD:Qt,cellFontSizeSM:Wt,headerSplitColor:Vt,fixedHeaderSortActiveBg:ln,headerFilterHoverBg:Jt,filterDropdownBg:qt,expandIconBg:bn,selectionColumnWidth:Hn,stickyScrollBarBg:ur,calc:Sr}=J,er=(0,Se.mergeToken)(J,{tableFontSize:Tt,tableBg:Ge,tableRadius:pt,tablePaddingVertical:l,tablePaddingHorizontal:d,tablePaddingVerticalMiddle:f,tablePaddingHorizontalMiddle:b,tablePaddingVerticalSmall:R,tablePaddingHorizontalSmall:H,tableBorderColor:ge,tableHeaderTextColor:Rt,tableHeaderBg:mt,tableFooterTextColor:Ke,tableFooterBg:Ce,tableHeaderCellSplitColor:Vt,tableHeaderSortBg:Ct,tableHeaderSortHoverBg:Nt,tableBodySortBg:Ut,tableFixedHeaderSortActiveBg:ln,tableHeaderFilterActiveBg:Jt,tableFilterDropdownBg:qt,tableRowHoverBg:fn,tableSelectedRowBg:sn,tableSelectedRowHoverBg:rn,zIndexTableFixed:$e,zIndexTableSticky:Sr($e).add(1).equal({unit:!1}),tableFontSizeMiddle:Qt,tableFontSizeSmall:Wt,tableSelectionColumnWidth:Hn,tableExpandIconBg:bn,tableExpandColumnWidth:Sr(ot).add(Sr(J.padding).mul(2)).equal(),tableExpandedRowBg:B,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:ur,tableScrollThumbBgHover:V,tableScrollBg:De});return[Ti(er),Qn(er),ai(er),li(er),Kn(er),Je(er),Ar(er),tn(er),ai(er),yn(er),mr(er),Bn(er),Ni(er),zt(er),_i(er),tr(er),Ai(er)]},Ji,{unitless:{expandIconScale:!0}});const ui=[],Or=(J,V)=>{var De,Ge;const{prefixCls:ot,className:mt,rootClassName:Rt,style:Ct,size:Nt,bordered:Ut,dropdownPrefixCls:fn,dataSource:sn,pagination:rn,rowSelection:B,rowKey:l="key",rowClassName:d,columns:f,children:b,childrenColumnName:R,onChange:H,getPopupContainer:ge,loading:Ce,expandIcon:Ke,expandable:pt,expandedRowRender:Tt,expandIconColumnIndex:Qt,indentSize:Wt,scroll:Vt,sortDirections:ln,locale:Jt,showSorterTooltip:qt={target:"full-header"},virtual:bn}=J,Hn=(0,zi.ln)("Table"),ur=c.useMemo(()=>f||Bt(b),[f,b]),Sr=c.useMemo(()=>ur.some(Vr=>Vr.responsive),[ur]),er=(0,Tr.Z)(Sr),ci=c.useMemo(()=>{const Vr=new Set(Object.keys(er).filter(va=>er[va]));return ur.filter(va=>!va.responsive||va.responsive.some(Pa=>Vr.has(Pa)))},[ur,er]),oi=(0,ia.Z)(J,["className","style","columns"]),{locale:Ca=Sn.Z,direction:Xi,table:Kt,renderEmpty:Oa,getPrefixCls:Ya,getPopupContainer:la}=c.useContext(xa.E_),Zi=(0,Pn.Z)(Nt),$a=Object.assign(Object.assign({},Ca.Table),Jt),Qa=sn||ui,Di=Ya("table",ot),ua=Ya("dropdown",fn),[,di]=(0,Ia.ZP)(),Si=(0,$i.Z)(Di),[wa,Ma,Ja]=pi(Di,Si),Ba=Object.assign(Object.assign({childrenColumnName:R,expandIconColumnIndex:Qt},pt),{expandIcon:(De=pt==null?void 0:pt.expandIcon)!==null&&De!==void 0?De:(Ge=Kt==null?void 0:Kt.expandable)===null||Ge===void 0?void 0:Ge.expandIcon}),{childrenColumnName:qa="children"}=Ba,ds=c.useMemo(()=>Qa.some(Vr=>Vr==null?void 0:Vr[qa])?"nest":Tt||pt!=null&&pt.expandedRowRender?"row":null,[Qa]),Mi={body:c.useRef(null)},Ki=ki(Di),Ha=c.useRef(null),Xa=c.useRef(null);ba(V,()=>Object.assign(Object.assign({},Xa.current),{nativeElement:Ha.current}));const ja=c.useMemo(()=>typeof l=="function"?l:Vr=>Vr==null?void 0:Vr[l],[l]),[Rs]=Ls(Qa,qa,ja),Wa={},Fs=function(Vr,va){let Pa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ms,uo,Io,Oo;const so=Object.assign(Object.assign({},Wa),Vr);Pa&&((Ms=Wa.resetPagination)===null||Ms===void 0||Ms.call(Wa),!((uo=so.pagination)===null||uo===void 0)&&uo.current&&(so.pagination.current=1),rn&&((Io=rn.onChange)===null||Io===void 0||Io.call(rn,1,(Oo=so.pagination)===null||Oo===void 0?void 0:Oo.pageSize))),Vt&&Vt.scrollToFirstRowOnChange!==!1&&Mi.body.current&&(0,Qr.Z)(0,{getContainer:()=>Mi.body.current}),H==null||H(so.pagination,so.filters,so.sorter,{currentDataSource:na(oo(Qa,so.sorterStates,qa),so.filterStates,qa),action:va})},os=(Vr,va)=>{Fs({sorter:Vr,sorterStates:va},"sort",!1)},[Ka,rs,is,Ss]=Po({prefixCls:Di,mergedColumns:ci,onSorterChange:os,sortDirections:ln||["ascend","descend"],tableLocale:$a,showSorterTooltip:qt}),Ts=c.useMemo(()=>oo(Qa,rs,qa),[Qa,rs]);Wa.sorter=Ss(),Wa.sorterStates=rs;const Ga=(Vr,va)=>{Fs({filters:Vr,filterStates:va},"filter",!0)},[gs,as,zs]=za({prefixCls:Di,locale:$a,dropdownPrefixCls:ua,mergedColumns:ci,onFilterChange:Ga,getPopupContainer:ge||la,rootClassName:Y()(Rt,Si)}),ys=na(Ts,as,qa);Wa.filters=zs,Wa.filterStates=as;const Gs=c.useMemo(()=>{const Vr={};return Object.keys(zs).forEach(va=>{zs[va]!==null&&(Vr[va]=zs[va])}),Object.assign(Object.assign({},is),{filters:Vr})},[is,zs]),[lo]=Bs(Gs),Lo=(Vr,va)=>{Fs({pagination:Object.assign(Object.assign({},Wa.pagination),{current:Vr,pageSize:va})},"paginate")},[vs,jo]=fr(ys.length,Lo,rn);Wa.pagination=rn===!1?{}:Wr(vs,rn),Wa.resetPagination=jo;const Vs=c.useMemo(()=>{if(rn===!1||!vs.pageSize)return ys;const{current:Vr=1,total:va,pageSize:Pa=Zs}=vs;return ys.length<va?ys.length>Pa?ys.slice((Vr-1)*Pa,Vr*Pa):ys:ys.slice((Vr-1)*Pa,Vr*Pa)},[!!rn,ys,vs==null?void 0:vs.current,vs==null?void 0:vs.pageSize,vs==null?void 0:vs.total]),[ro,io]=or({prefixCls:Di,data:ys,pageData:Vs,getRowKey:ja,getRecordByKey:Rs,expandType:ds,childrenColumnName:qa,locale:$a,getPopupContainer:ge||la},B),pa=(Vr,va,Pa)=>{let Ms;return typeof d=="function"?Ms=Y()(d(Vr,va,Pa)):Ms=Y()(d),Y()({[`${Di}-row-selected`]:io.has(ja(Vr,va))},Ms)};Ba.__PARENT_RENDER_ICON__=Ba.expandIcon,Ba.expandIcon=Ba.expandIcon||Ke||Xr($a),ds==="nest"&&Ba.expandIconColumnIndex===void 0?Ba.expandIconColumnIndex=B?1:0:Ba.expandIconColumnIndex>0&&B&&(Ba.expandIconColumnIndex-=1),typeof Ba.indentSize!="number"&&(Ba.indentSize=typeof Wt=="number"?Wt:15);const qi=c.useCallback(Vr=>lo(ro(gs(Ka(Vr)))),[Ka,gs,ro]);let _s,Hs;if(rn!==!1&&(vs!=null&&vs.total)){let Vr;vs.size?Vr=vs.size:Vr=Zi==="small"||Zi==="middle"?"small":void 0;const va=uo=>c.createElement(Aa.Z,Object.assign({},vs,{className:Y()(`${Di}-pagination ${Di}-pagination-${uo}`,vs.className),size:Vr})),Pa=Xi==="rtl"?"left":"right",{position:Ms}=vs;if(Ms!==null&&Array.isArray(Ms)){const uo=Ms.find(so=>so.includes("top")),Io=Ms.find(so=>so.includes("bottom")),Oo=Ms.every(so=>`${so}`=="none");!uo&&!Io&&!Oo&&(Hs=va(Pa)),uo&&(_s=va(uo.toLowerCase().replace("top",""))),Io&&(Hs=va(Io.toLowerCase().replace("bottom","")))}else Hs=va(Pa)}let ao;typeof Ce=="boolean"?ao={spinning:Ce}:typeof Ce=="object"&&(ao=Object.assign({spinning:!0},Ce));const Ro=Y()(Ja,Si,`${Di}-wrapper`,Kt==null?void 0:Kt.className,{[`${Di}-wrapper-rtl`]:Xi==="rtl"},mt,Rt,Ma),Js=Object.assign(Object.assign({},Kt==null?void 0:Kt.style),Ct),ol=typeof(Jt==null?void 0:Jt.emptyText)!="undefined"?Jt.emptyText:(Oa==null?void 0:Oa("Table"))||c.createElement(Vi.Z,{componentName:"Table"}),ll=bn?Bo:Ho,La={},Da=c.useMemo(()=>{const{fontSize:Vr,lineHeight:va,lineWidth:Pa,padding:Ms,paddingXS:uo,paddingSM:Io}=di,Oo=Math.floor(Vr*va);switch(Zi){case"middle":return Io*2+Oo+Pa;case"small":return uo*2+Oo+Pa;default:return Ms*2+Oo+Pa}},[di,Zi]);return bn&&(La.listItemHeight=Da),wa(c.createElement("div",{ref:Ha,className:Ro,style:Js},c.createElement(Wi.Z,Object.assign({spinning:!1},ao),_s,c.createElement(ll,Object.assign({},La,oi,{ref:Xa,columns:ci,direction:Xi,expandable:Ba,prefixCls:Di,className:Y()({[`${Di}-middle`]:Zi==="middle",[`${Di}-small`]:Zi==="small",[`${Di}-bordered`]:Ut,[`${Di}-empty`]:Qa.length===0},Ja,Si,Ma),data:Vs,rowKey:ja,rowClassName:pa,emptyText:ol,internalHooks:O,internalRefs:Mi,transformColumns:qi,getContainerWidth:Ki})),Hs)))};var si=c.forwardRef(Or);const qr=(J,V)=>{const De=c.useRef(0);return De.current+=1,c.createElement(si,Object.assign({},J,{ref:V,_renderTimes:De.current}))},Yi=c.forwardRef(qr);Yi.SELECTION_COLUMN=Fi,Yi.EXPAND_COLUMN=ie,Yi.SELECTION_ALL=da,Yi.SELECTION_INVERT=Kr,Yi.SELECTION_NONE=fa,Yi.Column=zr,Yi.ColumnGroup=Rr,Yi.Summary=xe;var ha=Yi,ma=ha},93427:function(On,at,h){"use strict";h.d(at,{Z:function(){return ie}});var c=h(34998);function ie(O,le){return c.i.reduce((j,v)=>{const re=O[`${v}1`],ee=O[`${v}3`],o=O[`${v}6`],C=O[`${v}7`];return Object.assign(Object.assign({},j),le(v,{lightColor:re,lightBorderColor:ee,darkColor:o,textColor:C}))},{})}},25399:function(On,at,h){"use strict";h.d(at,{Z:function(){return ve}});var c=h(59301),ie=h(92310),O=h.n(ie),le=h(29125),j=h(18929),v=h(62487),re=h(75030),ee=h(86641),o=h(52838),C=h(22703),F=h(32383),x=h(55743),A=h(57700),L=h(48755),z=h(36237),G=h(63356),Z=h(34925),W=h(37645),P=h(36305),K=h(93427),g=h(51636),T=h(16931);const fe=ue=>{const{calc:we,componentCls:_,tooltipMaxWidth:I,tooltipColor:he,tooltipBg:Ne,tooltipBorderRadius:Qe,zIndexPopup:Et,controlHeight:He,boxShadowSecondary:Oe,paddingSM:lt,paddingXS:St,arrowOffsetHorizontal:ze,sizePopupArrow:At}=ue,ke=we(Qe).add(At).add(ze).equal(),Ht=we(Qe).mul(2).add(At).equal();return[{[_]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,G.Wf)(ue)),{position:"absolute",zIndex:Et,display:"block",width:"max-content",maxWidth:I,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":Ne,[`${_}-inner`]:{minWidth:Ht,minHeight:He,padding:`${(0,z.unit)(ue.calc(lt).div(2).equal())} ${(0,z.unit)(St)}`,color:he,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:Ne,borderRadius:Qe,boxShadow:Oe,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:ke},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${_}-inner`]:{borderRadius:ue.min(Qe,W.qN)}},[`${_}-content`]:{position:"relative"}}),(0,K.Z)(ue,(dt,ct)=>{let{darkColor:Xe}=ct;return{[`&${_}-${dt}`]:{[`${_}-inner`]:{backgroundColor:Xe},[`${_}-arrow`]:{"--antd-arrow-background-color":Xe}}}})),{"&-rtl":{direction:"rtl"}})},(0,W.ZP)(ue,"var(--antd-arrow-background-color)"),{[`${_}-pure`]:{position:"relative",maxWidth:"none",margin:ue.sizePopupArrow}}]},Ee=ue=>Object.assign(Object.assign({zIndexPopup:ue.zIndexPopupBase+70},(0,W.wZ)({contentRadius:ue.borderRadius,limitVerticalRadius:!0})),(0,P.w)((0,g.mergeToken)(ue,{borderRadiusOuter:Math.min(ue.borderRadiusOuter,4)})));var pe=function(ue){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,T.I$)("Tooltip",I=>{const{borderRadius:he,colorTextLightSolid:Ne,colorBgSpotlight:Qe}=I,Et=(0,g.mergeToken)(I,{tooltipMaxWidth:250,tooltipColor:Ne,tooltipBorderRadius:he,tooltipBg:Qe});return[fe(Et),(0,Z._y)(I,"zoom-big-fast")]},Ee,{resetStyle:!1,injectStyle:we})(ue)},Be=h(29509);function je(ue,we){const _=(0,Be.o2)(we),I=O()({[`${ue}-${we}`]:we&&_}),he={},Ne={};return we&&!_&&(he.background=we,Ne["--antd-arrow-background-color"]=we),{className:I,overlayStyle:he,arrowStyle:Ne}}var it=ue=>{const{prefixCls:we,className:_,placement:I="top",title:he,color:Ne,overlayInnerStyle:Qe}=ue,{getPrefixCls:Et}=c.useContext(L.E_),He=Et("tooltip",we),[Oe,lt,St]=pe(He),ze=je(He,Ne),At=ze.arrowStyle,ke=Object.assign(Object.assign({},Qe),ze.overlayStyle),Ht=O()(lt,St,He,`${He}-pure`,`${He}-placement-${I}`,_,ze.className);return Oe(c.createElement("div",{className:Ht,style:At},c.createElement("div",{className:`${He}-arrow`}),c.createElement(le.G,Object.assign({},ue,{className:lt,prefixCls:He,overlayInnerStyle:ke}),he)))},ce=function(ue,we){var _={};for(var I in ue)Object.prototype.hasOwnProperty.call(ue,I)&&we.indexOf(I)<0&&(_[I]=ue[I]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,I=Object.getOwnPropertySymbols(ue);he<I.length;he++)we.indexOf(I[he])<0&&Object.prototype.propertyIsEnumerable.call(ue,I[he])&&(_[I[he]]=ue[I[he]]);return _};const N=c.forwardRef((ue,we)=>{var _,I;const{prefixCls:he,openClassName:Ne,getTooltipContainer:Qe,color:Et,overlayInnerStyle:He,children:Oe,afterOpenChange:lt,afterVisibleChange:St,destroyTooltipOnHide:ze,arrow:At=!0,title:ke,overlay:Ht,builtinPlacements:dt,arrowPointAtCenter:ct=!1,autoAdjustOverflow:Xe=!0,motion:Re,getPopupContainer:oe,placement:qe="top",mouseEnterDelay:Me=.1,mouseLeaveDelay:U=.1,overlayStyle:M,rootClassName:ye,overlayClassName:Te,styles:xe,classNames:ae}=ue,Fe=ce(ue,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),nt=!!At,[,se]=(0,A.ZP)(),{getPopupContainer:me,getPrefixCls:vt,direction:ft,className:xt,style:gt,classNames:tt,styles:Pt}=(0,L.dj)("tooltip"),_t=(0,F.ln)("Tooltip"),Ae=c.useRef(null),et=()=>{var lr;(lr=Ae.current)===null||lr===void 0||lr.forceAlign()};c.useImperativeHandle(we,()=>{var lr,ii;return{forceAlign:et,forcePopupAlign:()=>{_t.deprecated(!1,"forcePopupAlign","forceAlign"),et()},nativeElement:(lr=Ae.current)===null||lr===void 0?void 0:lr.nativeElement,popupElement:(ii=Ae.current)===null||ii===void 0?void 0:ii.popupElement}});const[E,D]=(0,j.Z)(!1,{value:(_=ue.open)!==null&&_!==void 0?_:ue.visible,defaultValue:(I=ue.defaultOpen)!==null&&I!==void 0?I:ue.defaultVisible}),Ve=!ke&&!Ht&&ke!==0,ne=lr=>{var ii,Wn;D(Ve?!1:lr),Ve||((ii=ue.onOpenChange)===null||ii===void 0||ii.call(ue,lr),(Wn=ue.onVisibleChange)===null||Wn===void 0||Wn.call(ue,lr))},q=c.useMemo(()=>{var lr,ii;let Wn=ct;return typeof At=="object"&&(Wn=(ii=(lr=At.pointAtCenter)!==null&&lr!==void 0?lr:At.arrowPointAtCenter)!==null&&ii!==void 0?ii:ct),dt||(0,o.Z)({arrowPointAtCenter:Wn,autoAdjustOverflow:Xe,arrowWidth:nt?se.sizePopupArrow:0,borderRadius:se.borderRadius,offset:se.marginXXS,visibleFirst:!0})},[ct,At,dt,se]),jt=c.useMemo(()=>ke===0?ke:Ht||ke||"",[Ht,ke]),Ue=c.createElement(v.Z,{space:!0},typeof jt=="function"?jt():jt),st=vt("tooltip",he),ht=vt(),de=ue["data-popover-inject"];let be=E;!("open"in ue)&&!("visible"in ue)&&Ve&&(be=!1);const We=c.isValidElement(Oe)&&!(0,C.M2)(Oe)?Oe:c.createElement("span",null,Oe),Ze=We.props,Q=!Ze.className||typeof Ze.className=="string"?O()(Ze.className,Ne||`${st}-open`):Ze.className,[Mt,_e,bt]=pe(st,!de),An=je(st,Et),xn=An.arrowStyle,Er=O()(Te,{[`${st}-rtl`]:ft==="rtl"},An.className,ye,_e,bt,xt,tt.root,ae==null?void 0:ae.root),vr=O()(tt.body,ae==null?void 0:ae.body),[gr,Hr]=(0,re.Cn)("Tooltip",Fe.zIndex),fi=c.createElement(le.Z,Object.assign({},Fe,{zIndex:gr,showArrow:nt,placement:qe,mouseEnterDelay:Me,mouseLeaveDelay:U,prefixCls:st,classNames:{root:Er,body:vr},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},xn),Pt.root),gt),M),xe==null?void 0:xe.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},Pt.body),He),xe==null?void 0:xe.body),An.overlayStyle)},getTooltipContainer:oe||Qe||me,ref:Ae,builtinPlacements:q,overlay:Ue,visible:be,onVisibleChange:ne,afterVisibleChange:lt!=null?lt:St,arrowContent:c.createElement("span",{className:`${st}-arrow-content`}),motion:{motionName:(0,ee.m)(ht,"zoom-big-fast",ue.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ze}),be?(0,C.Tm)(We,{className:Q}):We);return Mt(c.createElement(x.Z.Provider,{value:Hr},fi))});N._InternalPanelDoNotUseOrYouWillBeFired=it;var ve=N},18287:function(On,at,h){"use strict";h.d(at,{default:function(){return Et}});var c=h(87632),ie=h(77654),O=h(59301),le=h(52671),j=h(8657),v=h(60499),re={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"},ee=re,o=h(7657),C=function(Oe,lt){return O.createElement(o.Z,(0,v.Z)({},Oe,{ref:lt,icon:ee}))},F=O.forwardRef(C),x=F,A=h(92310),L=h.n(A),z=h(82661),G=h(34061),Z=h(48755),W=h(56082),P=h(86641),K=h(57700),g=h(12425);const T=4;function fe(He){const{dropPosition:Oe,dropLevelOffset:lt,prefixCls:St,indent:ze,direction:At="ltr"}=He,ke=At==="ltr"?"left":"right",Ht=At==="ltr"?"right":"left",dt={[ke]:-lt*ze+T,[Ht]:0};switch(Oe){case-1:dt.top=-3;break;case 1:dt.bottom=-3;break;default:dt.bottom=-3,dt[ke]=ze+T;break}return O.createElement("div",{style:dt,className:`${St}-drop-indicator`})}var Ee=fe,pe=h(85278),je=O.forwardRef((He,Oe)=>{var lt;const{getPrefixCls:St,direction:ze,virtual:At,tree:ke}=O.useContext(Z.E_),{prefixCls:Ht,className:dt,showIcon:ct=!1,showLine:Xe,switcherIcon:Re,switcherLoadingIcon:oe,blockNode:qe=!1,children:Me,checkable:U=!1,selectable:M=!0,draggable:ye,motion:Te,style:xe}=He,ae=St("tree",Ht),Fe=St(),nt=Te!=null?Te:Object.assign(Object.assign({},(0,P.Z)(Fe)),{motionAppear:!1}),se=Object.assign(Object.assign({},He),{checkable:U,selectable:M,showIcon:ct,motion:nt,blockNode:qe,showLine:!!Xe,dropIndicatorRender:Ee}),[me,vt,ft]=(0,g.ZP)(ae),[,xt]=(0,K.ZP)(),gt=xt.paddingXS/2+(((lt=xt.Tree)===null||lt===void 0?void 0:lt.titleHeight)||xt.controlHeightSM),tt=O.useMemo(()=>{if(!ye)return!1;let _t={};switch(typeof ye){case"function":_t.nodeDraggable=ye;break;case"object":_t=Object.assign({},ye);break;default:break}return _t.icon!==!1&&(_t.icon=_t.icon||O.createElement(W.Z,null)),_t},[ye]),Pt=_t=>O.createElement(pe.Z,{prefixCls:ae,switcherIcon:Re,switcherLoadingIcon:oe,treeNodeProps:_t,showLine:Xe});return me(O.createElement(c.ZP,Object.assign({itemHeight:gt,ref:Oe,virtual:At},se,{style:Object.assign(Object.assign({},ke==null?void 0:ke.style),xe),prefixCls:ae,className:L()({[`${ae}-icon-hide`]:!ct,[`${ae}-block-node`]:qe,[`${ae}-unselectable`]:!M,[`${ae}-rtl`]:ze==="rtl"},ke==null?void 0:ke.className,dt,vt,ft),direction:ze,checkable:U&&O.createElement("span",{className:`${ae}-checkbox-inner`}),selectable:M,switcherIcon:Pt,draggable:tt}),Me))});const Le=0,it=1,ce=2;function Y(He,Oe,lt){const{key:St,children:ze}=lt;function At(ke){const Ht=ke[St],dt=ke[ze];Oe(Ht,ke)!==!1&&Y(dt||[],Oe,lt)}He.forEach(At)}function N(He){let{treeData:Oe,expandedKeys:lt,startKey:St,endKey:ze,fieldNames:At}=He;const ke=[];let Ht=Le;if(St&&St===ze)return[St];if(!St||!ze)return[];function dt(ct){return ct===St||ct===ze}return Y(Oe,ct=>{if(Ht===ce)return!1;if(dt(ct)){if(ke.push(ct),Ht===Le)Ht=it;else if(Ht===it)return Ht=ce,!1}else Ht===it&&ke.push(ct);return lt.includes(ct)},(0,G.w$)(At)),ke}function ve(He,Oe,lt){const St=(0,ie.Z)(Oe),ze=[];return Y(He,(At,ke)=>{const Ht=St.indexOf(At);return Ht!==-1&&(ze.push(ke),St.splice(Ht,1)),!!St.length},(0,G.w$)(lt)),ze}var ue=function(He,Oe){var lt={};for(var St in He)Object.prototype.hasOwnProperty.call(He,St)&&Oe.indexOf(St)<0&&(lt[St]=He[St]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,St=Object.getOwnPropertySymbols(He);ze<St.length;ze++)Oe.indexOf(St[ze])<0&&Object.prototype.propertyIsEnumerable.call(He,St[ze])&&(lt[St[ze]]=He[St[ze]]);return lt};function we(He){const{isLeaf:Oe,expanded:lt}=He;return Oe?O.createElement(le.Z,null):lt?O.createElement(j.Z,null):O.createElement(x,null)}function _(He){let{treeData:Oe,children:lt}=He;return Oe||(0,G.zn)(lt)}const I=(He,Oe)=>{var{defaultExpandAll:lt,defaultExpandParent:St,defaultExpandedKeys:ze}=He,At=ue(He,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const ke=O.useRef(null),Ht=O.useRef(null),dt=()=>{const{keyEntities:me}=(0,G.I8)(_(At));let vt;return lt?vt=Object.keys(me):St?vt=(0,z.r7)(At.expandedKeys||ze||[],me):vt=At.expandedKeys||ze||[],vt},[ct,Xe]=O.useState(At.selectedKeys||At.defaultSelectedKeys||[]),[Re,oe]=O.useState(()=>dt());O.useEffect(()=>{"selectedKeys"in At&&Xe(At.selectedKeys)},[At.selectedKeys]),O.useEffect(()=>{"expandedKeys"in At&&oe(At.expandedKeys)},[At.expandedKeys]);const qe=(me,vt)=>{var ft;return"expandedKeys"in At||oe(me),(ft=At.onExpand)===null||ft===void 0?void 0:ft.call(At,me,vt)},Me=(me,vt)=>{var ft;const{multiple:xt,fieldNames:gt}=At,{node:tt,nativeEvent:Pt}=vt,{key:_t=""}=tt,Ae=_(At),et=Object.assign(Object.assign({},vt),{selected:!0}),E=(Pt==null?void 0:Pt.ctrlKey)||(Pt==null?void 0:Pt.metaKey),D=Pt==null?void 0:Pt.shiftKey;let Ve;xt&&E?(Ve=me,ke.current=_t,Ht.current=Ve,et.selectedNodes=ve(Ae,Ve,gt)):xt&&D?(Ve=Array.from(new Set([].concat((0,ie.Z)(Ht.current||[]),(0,ie.Z)(N({treeData:Ae,expandedKeys:Re,startKey:_t,endKey:ke.current,fieldNames:gt}))))),et.selectedNodes=ve(Ae,Ve,gt)):(Ve=[_t],ke.current=_t,Ht.current=Ve,et.selectedNodes=ve(Ae,Ve,gt)),(ft=At.onSelect)===null||ft===void 0||ft.call(At,Ve,et),"selectedKeys"in At||Xe(Ve)},{getPrefixCls:U,direction:M}=O.useContext(Z.E_),{prefixCls:ye,className:Te,showIcon:xe=!0,expandAction:ae="click"}=At,Fe=ue(At,["prefixCls","className","showIcon","expandAction"]),nt=U("tree",ye),se=L()(`${nt}-directory`,{[`${nt}-directory-rtl`]:M==="rtl"},Te);return O.createElement(je,Object.assign({icon:we,ref:Oe,blockNode:!0},Fe,{showIcon:xe,expandAction:ae,prefixCls:nt,className:se,expandedKeys:Re,selectedKeys:ct,onSelect:Me,onExpand:qe}))};var Ne=O.forwardRef(I);const Qe=je;Qe.DirectoryTree=Ne,Qe.TreeNode=c.OF;var Et=Qe},12425:function(On,at,h){"use strict";h.d(at,{ZP:function(){return z},Yk:function(){return x},TM:function(){return A}});var c=h(36237),ie=h(36170),O=h(63356),le=h(34961),j=h(51636),v=h(16931);const re=G=>{let{treeCls:Z,treeNodeCls:W,directoryNodeSelectedBg:P,directoryNodeSelectedColor:K,motionDurationMid:g,borderRadius:T,controlItemBgHover:fe}=G;return{[`${Z}${Z}-directory ${W}`]:{[`${Z}-node-content-wrapper`]:{position:"static",[`> *:not(${Z}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${g}`,content:'""',borderRadius:T},"&:hover:before":{background:fe}},[`${Z}-switcher, ${Z}-checkbox, ${Z}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Z}-switcher, ${Z}-draggable-icon`]:{color:K},[`${Z}-node-content-wrapper`]:{color:K,background:"transparent","&:before, &:hover:before":{background:P}}}}}},ee=new c.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),o=(G,Z)=>({[`.${G}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Z.motionDurationSlow}`}}}),C=(G,Z)=>({[`.${G}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Z.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,c.unit)(Z.lineWidthBold)} solid ${Z.colorPrimary}`,borderRadius:"50%",content:'""'}}}),F=(G,Z)=>{const{treeCls:W,treeNodeCls:P,treeNodePadding:K,titleHeight:g,indentSize:T,nodeSelectedBg:fe,nodeHoverBg:Ee,colorTextQuaternary:pe,controlItemBgActiveDisabled:Be}=Z;return{[W]:Object.assign(Object.assign({},(0,O.Wf)(Z)),{background:Z.colorBgContainer,borderRadius:Z.borderRadius,transition:`background-color ${Z.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${W}-rtl ${W}-switcher_close ${W}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${W}-active-focused)`]:Object.assign({},(0,O.oN)(Z)),[`${W}-list-holder-inner`]:{alignItems:"flex-start"},[`&${W}-block-node`]:{[`${W}-list-holder-inner`]:{alignItems:"stretch",[`${W}-node-content-wrapper`]:{flex:"auto"},[`${P}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Z.colorPrimary}`,opacity:0,animationName:ee,animationDuration:Z.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Z.borderRadius}}},[P]:{display:"flex",alignItems:"flex-start",marginBottom:K,lineHeight:(0,c.unit)(g),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:K},[`&-disabled ${W}-node-content-wrapper`]:{color:Z.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${W}-checkbox-disabled + ${W}-node-selected,&${P}-disabled${P}-selected ${W}-node-content-wrapper`]:{backgroundColor:Be},[`${W}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${P}-disabled)`]:{[`${W}-node-content-wrapper`]:{"&:hover":{color:Z.nodeHoverColor}}},[`&-active ${W}-node-content-wrapper`]:{background:Z.controlItemBgHover},[`&:not(${P}-disabled).filter-node ${W}-title`]:{color:Z.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${W}-draggable-icon`]:{flexShrink:0,width:g,textAlign:"center",visibility:"visible",color:pe},[`&${P}-disabled ${W}-draggable-icon`]:{visibility:"hidden"}}},[`${W}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:T}},[`${W}-draggable-icon`]:{visibility:"hidden"},[`${W}-switcher, ${W}-checkbox`]:{marginInlineEnd:Z.calc(Z.calc(g).sub(Z.controlInteractiveSize)).div(2).equal()},[`${W}-switcher`]:Object.assign(Object.assign({},o(G,Z)),{position:"relative",flex:"none",alignSelf:"stretch",width:g,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Z.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:g,height:g,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Z.borderRadius,transition:`all ${Z.motionDurationSlow}`},[`&:not(${W}-switcher-noop):hover:before`]:{backgroundColor:Z.colorBgTextHover},[`&_close ${W}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Z.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Z.calc(g).div(2).equal(),bottom:Z.calc(K).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Z.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Z.calc(Z.calc(g).div(2).equal()).mul(.8).equal(),height:Z.calc(g).div(2).equal(),borderBottom:`1px solid ${Z.colorBorder}`,content:'""'}}}),[`${W}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:g,paddingBlock:0,paddingInline:Z.paddingXS,background:"transparent",borderRadius:Z.borderRadius,cursor:"pointer",transition:`all ${Z.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},C(G,Z)),{"&:hover":{backgroundColor:Ee},[`&${W}-node-selected`]:{color:Z.nodeSelectedColor,backgroundColor:fe},[`${W}-iconEle`]:{display:"inline-block",width:g,height:g,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${W}-unselectable ${W}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${P}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Z.colorPrimary}`},"&-show-line":{[`${W}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Z.calc(g).div(2).equal(),bottom:Z.calc(K).mul(-1).equal(),borderInlineEnd:`1px solid ${Z.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${W}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${P}-leaf-last ${W}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,c.unit)(Z.calc(g).div(2).equal())} !important`}})}},x=function(G,Z){let W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const P=`.${G}`,K=`${P}-treenode`,g=Z.calc(Z.paddingXS).div(2).equal(),T=(0,j.mergeToken)(Z,{treeCls:P,treeNodeCls:K,treeNodePadding:g});return[F(G,T),W&&re(T)].filter(Boolean)},A=G=>{const{controlHeightSM:Z,controlItemBgHover:W,controlItemBgActive:P}=G,K=Z;return{titleHeight:K,indentSize:K,nodeHoverBg:W,nodeHoverColor:G.colorText,nodeSelectedBg:P,nodeSelectedColor:G.colorText}},L=G=>{const{colorTextLightSolid:Z,colorPrimary:W}=G;return Object.assign(Object.assign({},A(G)),{directoryNodeSelectedColor:Z,directoryNodeSelectedBg:W})};var z=(0,v.I$)("Tree",(G,Z)=>{let{prefixCls:W}=Z;return[{[G.componentCls]:(0,ie.C2)(`${W}-checkbox`,G)},x(W,G),(0,le.Z)(G)]},L)},85278:function(On,at,h){"use strict";h.d(at,{Z:function(){return Z}});var c=h(59301),ie=h(60499),O={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"},le=O,j=h(7657),v=function(P,K){return c.createElement(j.Z,(0,ie.Z)({},P,{ref:K,icon:le}))},re=c.forwardRef(v),ee=re,o=h(52671),C=h(58617),F=h(15075),x=h(43531),A=h(92310),L=h.n(A),z=h(22703),Z=W=>{const{prefixCls:P,switcherIcon:K,treeNodeProps:g,showLine:T,switcherLoadingIcon:fe}=W,{isLeaf:Ee,expanded:pe,loading:Be}=g;if(Be)return c.isValidElement(fe)?fe:c.createElement(C.Z,{className:`${P}-switcher-loading-icon`});let je;if(T&&typeof T=="object"&&(je=T.showLeafIcon),Ee){if(!T)return null;if(typeof je!="boolean"&&je){const ce=typeof je=="function"?je(g):je,Y=`${P}-switcher-line-custom-icon`;return c.isValidElement(ce)?(0,z.Tm)(ce,{className:L()(ce.props.className||"",Y)}):ce}return je?c.createElement(o.Z,{className:`${P}-switcher-line-icon`}):c.createElement("span",{className:`${P}-switcher-leaf-line`})}const Le=`${P}-switcher-icon`,it=typeof K=="function"?K(g):K;return c.isValidElement(it)?(0,z.Tm)(it,{className:L()(it.props.className||"",Le)}):it!==void 0?it:T?pe?c.createElement(F.Z,{className:`${P}-switcher-line-icon`}):c.createElement(x.Z,{className:`${P}-switcher-line-icon`}):c.createElement(ee,{className:Le})}},64018:function(){var On,at,h,c=!1,ie,O;window.PR_SHOULD_USE_CONTINUATION=!0;var le,j;(function(){var v=window,re=["break,continue,do,else,for,if,return,while"],ee=[re,"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=[ee,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],C=[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"],F=[o,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],x=[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"],A="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",L=[o,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],z="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",G=[re,"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"],Z=[re,"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"],W=[re,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],P=[C,x,F,L,z,G,Z,W],K=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,g="str",T="kwd",fe="com",Ee="typ",pe="lit",Be="pun",je="pln",Le="tag",it="dec",ce="src",Y="atn",N="atv",ve="nocode",ue="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function we(Re){for(var oe=0,qe=!1,Me=!1,U=0,M=Re.length;U<M;++U){var ye=Re[U];if(ye.ignoreCase)Me=!0;else if(/[a-z]/i.test(ye.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){qe=!0,Me=!1;break}}var Te={b:8,t:9,n:10,v:11,f:12,r:13};function xe(me){var vt=me.charCodeAt(0);if(vt!==92)return vt;var ft=me.charAt(1);return vt=Te[ft],vt||("0"<=ft&&ft<="7"?parseInt(me.substring(1),8):ft==="u"||ft==="x"?parseInt(me.substring(2),16):me.charCodeAt(1))}function ae(me){if(me<32)return(me<16?"\\x0":"\\x")+me.toString(16);var vt=String.fromCharCode(me);return vt==="\\"||vt==="-"||vt==="]"||vt==="^"?"\\"+vt:vt}function Fe(me){var vt=me.substring(1,me.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")),ft=[],xt=vt[0]==="^",gt=["["];xt&>.push("^");for(var tt=xt?1:0,Pt=vt.length;tt<Pt;++tt){var _t=vt[tt];if(/\\[bdsw]/i.test(_t))gt.push(_t);else{var Ae=xe(_t),et;tt+2<Pt&&vt[tt+1]==="-"?(et=xe(vt[tt+2]),tt+=2):et=Ae,ft.push([Ae,et]),et<65||Ae>122||(et<65||Ae>90||ft.push([Math.max(65,Ae)|32,Math.min(et,90)|32]),et<97||Ae>122||ft.push([Math.max(97,Ae)&-33,Math.min(et,122)&-33]))}}ft.sort(function(ne,q){return ne[0]-q[0]||q[1]-ne[1]});for(var E=[],D=[],tt=0;tt<ft.length;++tt){var Ve=ft[tt];Ve[0]<=D[1]+1?D[1]=Math.max(D[1],Ve[1]):E.push(D=Ve)}for(var tt=0;tt<E.length;++tt){var Ve=E[tt];gt.push(ae(Ve[0])),Ve[1]>Ve[0]&&(Ve[1]+1>Ve[0]&>.push("-"),gt.push(ae(Ve[1])))}return gt.push("]"),gt.join("")}function nt(me){for(var vt=me.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")),ft=vt.length,xt=[],gt=0,tt=0;gt<ft;++gt){var Pt=vt[gt];if(Pt==="(")++tt;else if(Pt.charAt(0)==="\\"){var _t=+Pt.substring(1);_t&&(_t<=tt?xt[_t]=-1:vt[gt]=ae(_t))}}for(var gt=1;gt<xt.length;++gt)xt[gt]===-1&&(xt[gt]=++oe);for(var gt=0,tt=0;gt<ft;++gt){var Pt=vt[gt];if(Pt==="(")++tt,xt[tt]||(vt[gt]="(?:");else if(Pt.charAt(0)==="\\"){var _t=+Pt.substring(1);_t&&_t<=tt&&(vt[gt]="\\"+xt[_t])}}for(var gt=0;gt<ft;++gt)vt[gt]==="^"&&vt[gt+1]!=="^"&&(vt[gt]="");if(me.ignoreCase&&qe)for(var gt=0;gt<ft;++gt){var Pt=vt[gt],Ae=Pt.charAt(0);Pt.length>=2&&Ae==="["?vt[gt]=Fe(Pt):Ae!=="\\"&&(vt[gt]=Pt.replace(/[a-zA-Z]/g,function(D){var Ve=D.charCodeAt(0);return"["+String.fromCharCode(Ve&-33,Ve|32)+"]"}))}return vt.join("")}for(var se=[],U=0,M=Re.length;U<M;++U){var ye=Re[U];if(ye.global||ye.multiline)throw new Error(""+ye);se.push("(?:"+nt(ye)+")")}return new RegExp(se.join("|"),Me?"gi":"g")}function _(Re,oe){var qe=/(?:^|\s)nocode(?:\s|$)/,Me=[],U=0,M=[],ye=0;function Te(xe){var ae=xe.nodeType;if(ae==1){if(qe.test(xe.className))return;for(var Fe=xe.firstChild;Fe;Fe=Fe.nextSibling)Te(Fe);var nt=xe.nodeName.toLowerCase();(nt==="br"||nt==="li")&&(Me[ye]=`
|
|
`,M[ye<<1]=U++,M[ye++<<1|1]=xe)}else if(ae==3||ae==4){var se=xe.nodeValue;se.length&&(oe?se=se.replace(/\r\n?/g,`
|
|
`):se=se.replace(/[ \t\r\n]+/g," "),Me[ye]=se,M[ye<<1]=U,U+=se.length,M[ye++<<1|1]=xe)}}return Te(Re),{sourceCode:Me.join("").replace(/\n$/,""),spans:M}}function I(Re,oe,qe,Me,U){if(qe){var M={sourceNode:Re,pre:1,langExtension:null,numberLines:null,sourceCode:qe,spans:null,basePos:oe,decorations:null};Me(M),U.push.apply(U,M.decorations)}}var he=/\S/;function Ne(Re){for(var oe=void 0,qe=Re.firstChild;qe;qe=qe.nextSibling){var Me=qe.nodeType;oe=Me===1?oe?Re:qe:Me===3&&he.test(qe.nodeValue)?Re:oe}return oe===Re?void 0:oe}function Qe(Re,oe){var qe={},Me;(function(){for(var ye=Re.concat(oe),Te=[],xe={},ae=0,Fe=ye.length;ae<Fe;++ae){var nt=ye[ae],se=nt[3];if(se)for(var me=se.length;--me>=0;)qe[se.charAt(me)]=nt;var vt=nt[1],ft=""+vt;xe.hasOwnProperty(ft)||(Te.push(vt),xe[ft]=null)}Te.push(/[\0-\uffff]/),Me=we(Te)})();var U=oe.length,M=function(ye){for(var Te=ye.sourceCode,xe=ye.basePos,ae=ye.sourceNode,Fe=[xe,je],nt=0,se=Te.match(Me)||[],me={},vt=0,ft=se.length;vt<ft;++vt){var xt=se[vt],gt=me[xt],tt=void 0,Pt;if(typeof gt=="string")Pt=!1;else{var _t=qe[xt.charAt(0)];if(_t)tt=xt.match(_t[1]),gt=_t[0];else{for(var Ae=0;Ae<U;++Ae)if(_t=oe[Ae],tt=xt.match(_t[1]),tt){gt=_t[0];break}tt||(gt=je)}Pt=gt.length>=5&>.substring(0,5)==="lang-",Pt&&!(tt&&typeof tt[1]=="string")&&(Pt=!1,gt=ce),Pt||(me[xt]=gt)}var et=nt;if(nt+=xt.length,!Pt)Fe.push(xe+et,gt);else{var E=tt[1],D=xt.indexOf(E),Ve=D+E.length;tt[2]&&(Ve=xt.length-tt[2].length,D=Ve-E.length);var ne=gt.substring(5);I(ae,xe+et,xt.substring(0,D),M,Fe),I(ae,xe+et+D,E,At(ne,E),Fe),I(ae,xe+et+Ve,xt.substring(Ve),M,Fe)}}ye.decorations=Fe};return M}function Et(Re){var oe=[],qe=[];Re.tripleQuotedStrings?oe.push([g,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):Re.multiLineStrings?oe.push([g,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):oe.push([g,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),Re.verbatimStrings&&qe.push([g,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Me=Re.hashComments;Me&&(Re.cStyleComments?(Me>1?oe.push([fe,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):oe.push([fe,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),qe.push([g,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):oe.push([fe,/^#[^\r\n]*/,null,"#"])),Re.cStyleComments&&(qe.push([fe,/^\/\/[^\r\n]*/,null]),qe.push([fe,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var U=Re.regexLiterals;if(U){var M=U>1?"":`
|
|
\r`,ye=M?".":"[\\S\\s]",Te="/(?=[^/*"+M+"])(?:[^/\\x5B\\x5C"+M+"]|\\x5C"+ye+"|\\x5B(?:[^\\x5C\\x5D"+M+"]|\\x5C"+ye+")*(?:\\x5D|$))+/";qe.push(["lang-regex",RegExp("^"+ue+"("+Te+")")])}var xe=Re.types;xe&&qe.push([Ee,xe]);var ae=(""+Re.keywords).replace(/^ | $/g,"");ae.length&&qe.push([T,new RegExp("^(?:"+ae.replace(/[\s,]+/g,"|")+")\\b"),null]),oe.push([je,/^\s+/,null,` \r
|
|
\xA0`]);var Fe="^.[^\\s\\w.$@'\"`/\\\\]*";return Re.regexLiterals&&(Fe+="(?!s*/)"),qe.push([pe,/^@[a-z_$][a-z_$@0-9]*/i,null],[Ee,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[je,/^[a-z_$][a-z_$@0-9]*/i,null],[pe,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[je,/^\\[\s\S]?/,null],[Be,new RegExp(Fe),null]),Qe(oe,qe)}var He=Et({keywords:P,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Oe(Re,oe,qe){for(var Me=/(?:^|\s)nocode(?:\s|$)/,U=/\r\n?|\n/,M=Re.ownerDocument,ye=M.createElement("li");Re.firstChild;)ye.appendChild(Re.firstChild);var Te=[ye];function xe(vt){var ft=vt.nodeType;if(ft==1&&!Me.test(vt.className))if(vt.nodeName==="br")ae(vt),vt.parentNode&&vt.parentNode.removeChild(vt);else for(var xt=vt.firstChild;xt;xt=xt.nextSibling)xe(xt);else if((ft==3||ft==4)&&qe){var gt=vt.nodeValue,tt=gt.match(U);if(tt){var Pt=gt.substring(0,tt.index);vt.nodeValue=Pt;var _t=gt.substring(tt.index+tt[0].length);if(_t){var Ae=vt.parentNode;Ae.insertBefore(M.createTextNode(_t),vt.nextSibling)}ae(vt),Pt||vt.parentNode.removeChild(vt)}}}function ae(vt){for(;!vt.nextSibling;)if(vt=vt.parentNode,!vt)return;function ft(tt,Pt){var _t=Pt?tt.cloneNode(!1):tt,Ae=tt.parentNode;if(Ae){var et=ft(Ae,1),E=tt.nextSibling;et.appendChild(_t);for(var D=E;D;D=E)E=D.nextSibling,et.appendChild(D)}return _t}for(var xt=ft(vt.nextSibling,0),gt;(gt=xt.parentNode)&>.nodeType===1;)xt=gt;Te.push(xt)}for(var Fe=0;Fe<Te.length;++Fe)xe(Te[Fe]);oe===(oe|0)&&Te[0].setAttribute("value",oe);var nt=M.createElement("ol");nt.className="linenums";for(var se=Math.max(0,oe-1|0)||0,Fe=0,me=Te.length;Fe<me;++Fe)ye=Te[Fe],ye.className="L"+(Fe+se)%10,ye.firstChild||ye.appendChild(M.createTextNode("\xA0")),nt.appendChild(ye);Re.appendChild(nt)}function lt(Re){var oe=/\bMSIE\s(\d+)/.exec(navigator.userAgent);oe=oe&&+oe[1]<=8;var qe=/\n/g,Me=Re.sourceCode,U=Me.length,M=0,ye=Re.spans,Te=ye.length,xe=0,ae=Re.decorations,Fe=ae.length,nt=0;ae[Fe]=U;var se,me;for(me=se=0;me<Fe;)ae[me]!==ae[me+2]?(ae[se++]=ae[me++],ae[se++]=ae[me++]):me+=2;for(Fe=se,me=se=0;me<Fe;){for(var vt=ae[me],ft=ae[me+1],xt=me+2;xt+2<=Fe&&ae[xt+1]===ft;)xt+=2;ae[se++]=vt,ae[se++]=ft,me=xt}Fe=ae.length=se;var gt=Re.sourceNode,tt="";gt&&(tt=gt.style.display,gt.style.display="none");try{for(var Pt=null;xe<Te;){var _t=ye[xe],Ae=ye[xe+2]||U,et=ae[nt+2]||U,xt=Math.min(Ae,et),E=ye[xe+1],D;if(E.nodeType!==1&&(D=Me.substring(M,xt))){oe&&(D=D.replace(qe,"\r")),E.nodeValue=D;var Ve=E.ownerDocument,ne=Ve.createElement("span");ne.className=ae[nt+1];var q=E.parentNode;q.replaceChild(ne,E),ne.appendChild(E),M<Ae&&(ye[xe+1]=E=Ve.createTextNode(Me.substring(xt,Ae)),q.insertBefore(E,ne.nextSibling))}M=xt,M>=Ae&&(xe+=2),M>=et&&(nt+=2)}}finally{gt&&(gt.style.display=tt)}}var St={};function ze(Re,oe){for(var qe=oe.length;--qe>=0;){var Me=oe[qe];St.hasOwnProperty(Me)?v.console&&console.warn("cannot override language handler %s",Me):St[Me]=Re}}function At(Re,oe){return Re&&St.hasOwnProperty(Re)||(Re=/^\s*</.test(oe)?"default-markup":"default-code"),St[Re]}ze(He,["default-code"]),ze(Qe([],[[je,/^[^<?]+/],[it,/^<!\w[^>]*(?:>|$)/],[fe,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[Be,/^(?:<[%?]|[%?]>)/],["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"]),ze(Qe([[je,/^[\s]+/,null,` \r
|
|
`],[N,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[Le,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[Y,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[Be,/^[=<>\/]+/],["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"]),ze(Qe([],[[N,/^[\s\S]+/]]),["uq.val"]),ze(Et({keywords:C,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]),ze(Et({keywords:"null,true,false"}),["json"]),ze(Et({keywords:x,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]),ze(Et({keywords:F,cStyleComments:!0}),["java"]),ze(Et({keywords:W,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),ze(Et({keywords:G,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),ze(Et({keywords:z,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),ze(Et({keywords:Z,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),ze(Et({keywords:L,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),ze(Et({keywords:A,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),ze(Qe([],[[g,/^[\s\S]+/]]),["regex"]);function ke(Re){var oe=Re.langExtension;try{var qe=_(Re.sourceNode,Re.pre),Me=qe.sourceCode;Re.sourceCode=Me,Re.spans=qe.spans,Re.basePos=0,At(oe,Me)(Re),lt(Re)}catch(U){v.console&&console.log(U&&U.stack||U)}}function Ht(Re,oe,qe){var Me=qe||!1,U=oe||null,M=document.createElement("div");M.innerHTML="<pre>"+Re+"</pre>",M=M.firstChild,Me&&Oe(M,Me,!0);var ye={langExtension:U,numberLines:Me,sourceNode:M,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return ke(ye),M.innerHTML}function dt(Re,oe){var qe=oe||document.body,Me=qe.ownerDocument||document;function U(_t){return qe.getElementsByTagName(_t)}for(var M=[U("pre"),U("code"),U("xmp")],ye=[],Te=0;Te<M.length;++Te)for(var xe=0,ae=M[Te].length;xe<ae;++xe)ye.push(M[Te][xe]);M=null;var Fe=Date;Fe.now||(Fe={now:function(){return+new Date}});var nt=0,se=/\blang(?:uage)?-([\w.]+)(?!\S)/,me=/\bprettyprint\b/,vt=/\bprettyprinted\b/,ft=/pre|xmp/i,xt=/^code$/i,gt=/^(?:pre|code|xmp)$/i,tt={};function Pt(){for(var _t=v.PR_SHOULD_USE_CONTINUATION?Fe.now()+250:1/0;nt<ye.length&&Fe.now()<_t;nt++){for(var Ae=ye[nt],et=tt,E=Ae;E=E.previousSibling;){var D=E.nodeType,Ve=(D===7||D===8)&&E.nodeValue;if(Ve?!/^\??prettify\b/.test(Ve):D!==3||/\S/.test(E.nodeValue))break;if(Ve){et={},Ve.replace(/\b(\w+)=([\w:.%+-]+)/g,function(_e,bt,An){et[bt]=An});break}}var ne=Ae.className;if((et!==tt||me.test(ne))&&!vt.test(ne)){for(var q=!1,jt=Ae.parentNode;jt;jt=jt.parentNode){var Ue=jt.tagName;if(gt.test(Ue)&&jt.className&&me.test(jt.className)){q=!0;break}}if(!q){Ae.className+=" prettyprinted";var st=et.lang;if(!st){st=ne.match(se);var ht;!st&&(ht=Ne(Ae))&&xt.test(ht.tagName)&&(st=ht.className.match(se)),st&&(st=st[1])}var de;if(ft.test(Ae.tagName))de=1;else{var be=Ae.currentStyle,We=Me.defaultView,Ze=be?be.whiteSpace:We&&We.getComputedStyle?We.getComputedStyle(Ae,null).getPropertyValue("white-space"):0;de=Ze&&Ze.substring(0,3)==="pre"}var Q=et.linenums;(Q=Q==="true"||+Q)||(Q=ne.match(/\blinenums\b(?::(\d+))?/),Q=Q?Q[1]&&Q[1].length?+Q[1]:!0:!1),Q&&Oe(Ae,Q,de);var Mt={langExtension:st,sourceNode:Ae,numberLines:Q,pre:de,sourceCode:null,basePos:null,spans:null,decorations:null};ke(Mt)}}}nt<ye.length?v.setTimeout(Pt,250):typeof Re=="function"&&Re()}Pt()}var ct=v.PR={createSimpleLexer:Qe,registerLangHandler:ze,sourceDecorator:Et,PR_ATTRIB_NAME:Y,PR_ATTRIB_VALUE:N,PR_COMMENT:fe,PR_DECLARATION:it,PR_KEYWORD:T,PR_LITERAL:pe,PR_NOCODE:ve,PR_PLAIN:je,PR_PUNCTUATION:Be,PR_SOURCE:ce,PR_STRING:g,PR_TAG:Le,PR_TYPE:Ee,prettyPrintOne:c?v.prettyPrintOne=Ht:le=Ht,prettyPrint:j=c?v.prettyPrint=dt:j=dt},Xe=v.define;typeof Xe=="function"&&Xe.amd&&Xe("google-code-prettify",[],function(){return ct})})()},25769:function(On,at,h){"use strict";var c=h(98040),ie={"text/plain":"Text","text/html":"Url",default:"Text"},O="Copy to clipboard: #{key}, Enter";function le(v){var re=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return v.replace(/#{\s*key\s*}/g,re)}function j(v,re){var ee,o,C,F,x,A,L=!1;re||(re={}),ee=re.debug||!1;try{C=c(),F=document.createRange(),x=document.getSelection(),A=document.createElement("span"),A.textContent=v,A.ariaHidden="true",A.style.all="unset",A.style.position="fixed",A.style.top=0,A.style.clip="rect(0, 0, 0, 0)",A.style.whiteSpace="pre",A.style.webkitUserSelect="text",A.style.MozUserSelect="text",A.style.msUserSelect="text",A.style.userSelect="text",A.addEventListener("copy",function(G){if(G.stopPropagation(),re.format)if(G.preventDefault(),typeof G.clipboardData=="undefined"){ee&&console.warn("unable to use e.clipboardData"),ee&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var Z=ie[re.format]||ie.default;window.clipboardData.setData(Z,v)}else G.clipboardData.clearData(),G.clipboardData.setData(re.format,v);re.onCopy&&(G.preventDefault(),re.onCopy(G.clipboardData))}),document.body.appendChild(A),F.selectNodeContents(A),x.addRange(F);var z=document.execCommand("copy");if(!z)throw new Error("copy command was unsuccessful");L=!0}catch(G){ee&&console.error("unable to copy using execCommand: ",G),ee&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(re.format||"text",v),re.onCopy&&re.onCopy(window.clipboardData),L=!0}catch(Z){ee&&console.error("unable to copy using clipboardData: ",Z),ee&&console.error("falling back to prompt"),o=le("message"in re?re.message:O),window.prompt(o,v)}}finally{x&&(typeof x.removeRange=="function"?x.removeRange(F):x.removeAllRanges()),A&&document.body.removeChild(A),C()}return L}On.exports=j},97774:function(On,at,h){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.default=void 0;var c=Object.assign||function(G){for(var Z=1;Z<arguments.length;Z++){var W=arguments[Z];for(var P in W)Object.prototype.hasOwnProperty.call(W,P)&&(G[P]=W[P])}return G},ie=function(){function G(Z,W){for(var P=0;P<W.length;P++){var K=W[P];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(Z,K.key,K)}}return function(Z,W,P){return W&&G(Z.prototype,W),P&&G(Z,P),Z}}(),O=h(59301),le=F(O),j=h(12708),v=F(j),re=h(53291),ee=F(re),o=h(10413),C=h(65429);function F(G){return G&&G.__esModule?G:{default:G}}function x(G,Z){if(!(G instanceof Z))throw new TypeError("Cannot call a class as a function")}function A(G,Z){if(!G)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Z&&(typeof Z=="object"||typeof Z=="function")?Z:G}function L(G,Z){if(typeof Z!="function"&&Z!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Z);G.prototype=Object.create(Z&&Z.prototype,{constructor:{value:G,enumerable:!1,writable:!0,configurable:!0}}),Z&&(Object.setPrototypeOf?Object.setPrototypeOf(G,Z):G.__proto__=Z)}var z=function(G){L(Z,G);function Z(W){x(this,Z);var P=A(this,(Z.__proto__||Object.getPrototypeOf(Z)).call(this,W));return P.getEchartsInstance=function(){return P.echartsLib.getInstanceByDom(P.echartsElement)||P.echartsLib.init(P.echartsElement,P.props.theme,P.props.opts)},P.dispose=function(){if(P.echartsElement){try{(0,o.clear)(P.echartsElement)}catch(K){console.warn(K)}P.echartsLib.dispose(P.echartsElement)}},P.rerender=function(){var K=P.props,g=K.onEvents,T=K.onChartReady,fe=P.renderEchartDom();P.bindEvents(fe,g||{}),typeof T=="function"&&P.props.onChartReady(fe),P.echartsElement&&(0,o.bind)(P.echartsElement,function(){try{fe.resize()}catch(Ee){console.warn(Ee)}})},P.bindEvents=function(K,g){var T=function(pe,Be){typeof pe=="string"&&typeof Be=="function"&&K.on(pe,function(je){Be(je,K)})};for(var fe in g)Object.prototype.hasOwnProperty.call(g,fe)&&T(fe,g[fe])},P.renderEchartDom=function(){var K=P.getEchartsInstance();return K.setOption(P.props.option,P.props.notMerge||!1,P.props.lazyUpdate||!1),P.props.showLoading?K.showLoading(P.props.loadingOption||null):K.hideLoading(),K},P.echartsLib=W.echarts,P.echartsElement=null,P}return ie(Z,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(P){if(!(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(P,this.props))){if(!(0,ee.default)(P.theme,this.props.theme)||!(0,ee.default)(P.opts,this.props.opts)||!(0,ee.default)(P.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var K=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,ee.default)((0,C.pick)(this.props,K),(0,C.pick)(P,K))){var g=this.renderEchartDom();if(!(0,ee.default)(P.style,this.props.style)||!(0,ee.default)(P.className,this.props.className))try{g.resize()}catch(T){console.warn(T)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var P=this,K=this.props,g=K.style,T=K.className,fe=c({height:300},g);return le.default.createElement("div",{ref:function(pe){P.echartsElement=pe},style:fe,className:"echarts-for-react "+T})}}]),Z}(O.Component);at.default=z,z.propTypes={option:v.default.object.isRequired,echarts:v.default.object,notMerge:v.default.bool,lazyUpdate:v.default.bool,style:v.default.object,className:v.default.string,theme:v.default.oneOfType([v.default.string,v.default.object]),onChartReady:v.default.func,showLoading:v.default.bool,loadingOption:v.default.object,onEvents:v.default.object,opts:v.default.shape({devicePixelRatio:v.default.number,renderer:v.default.oneOf(["canvas","svg"]),width:v.default.oneOfType([v.default.number,v.default.oneOf([null,void 0,"auto"])]),height:v.default.oneOfType([v.default.number,v.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:v.default.func},z.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},42441:function(On,at,h){"use strict";var c;c={value:!0},at.Z=void 0;var ie=h(76411),O=v(ie),le=h(97774),j=v(le);function v(F){return F&&F.__esModule?F:{default:F}}function re(F,x){if(!(F instanceof x))throw new TypeError("Cannot call a class as a function")}function ee(F,x){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x&&(typeof x=="object"||typeof x=="function")?x:F}function o(F,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);F.prototype=Object.create(x&&x.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(F,x):F.__proto__=x)}var C=function(F){o(x,F);function x(A){re(this,x);var L=ee(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,A));return L.echartsLib=O.default,L}return x}(j.default);at.Z=C},65429:function(On,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0});var h=at.pick=function(ie,O){var le={};return O.forEach(function(j){le[j]=ie[j]}),le}},53291:function(On){"use strict";var at=Array.isArray,h=Object.keys,c=Object.prototype.hasOwnProperty;On.exports=function ie(O,le){if(O===le)return!0;if(O&&le&&typeof O=="object"&&typeof le=="object"){var j=at(O),v=at(le),re,ee,o;if(j&&v){if(ee=O.length,ee!=le.length)return!1;for(re=ee;re--!==0;)if(!ie(O[re],le[re]))return!1;return!0}if(j!=v)return!1;var C=O instanceof Date,F=le instanceof Date;if(C!=F)return!1;if(C&&F)return O.getTime()==le.getTime();var x=O instanceof RegExp,A=le instanceof RegExp;if(x!=A)return!1;if(x&&A)return O.toString()==le.toString();var L=h(O);if(ee=L.length,ee!==h(le).length)return!1;for(re=ee;re--!==0;)if(!c.call(le,L[re]))return!1;for(re=ee;re--!==0;)if(o=L[re],!ie(O[o],le[o]))return!1;return!0}return O!==O&&le!==le}},53184:function(On,at,h){"use strict";var c,ie;function O(le,j,v){var re=function(ee,o){return le.js_beautify(ee,o)};return re.js=le.js_beautify,re.css=j.css_beautify,re.html=v.html_beautify,re.js_beautify=le.js_beautify,re.css_beautify=j.css_beautify,re.html_beautify=v.html_beautify,re}c=[h(58553),h(87804),h(40998)],ie=function(le,j,v){return O(le,j,v)}.apply(at,c),ie!==void 0&&(On.exports=ie)},87804:function(On,at){var h,c;(function(){var ie;(function(){"use strict";var le=[,,function(ee){function o(x){this.__parent=x,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 x=new o(this.__parent);return x.set_indent(this.__indent_count,this.__alignment_count),x},o.prototype.item=function(x){return x<0?this.__items[this.__items.length+x]:this.__items[x]},o.prototype.has_match=function(x){for(var A=this.__items.length-1;A>=0;A--)if(this.__items[A].match(x))return!0;return!1},o.prototype.set_indent=function(x,A){this.is_empty()&&(this.__indent_count=x||0,this.__alignment_count=A||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 x=this.__parent.current_line;return x.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),x.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),x.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,x.__items[0]===" "&&(x.__items.splice(0,1),x.__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(x){this.__items.push(x);var A=x.lastIndexOf(`
|
|
`);A!==-1?this.__character_count=x.length-A:this.__character_count+=x.length},o.prototype.pop=function(){var x=null;return this.is_empty()||(x=this.__items.pop(),this.__character_count-=x.length),x},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 x="";return this.is_empty()?this.__parent.indent_empty_lines&&(x=this.__parent.get_indent_string(this.__indent_count)):(x=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),x+=this.__items.join("")),x};function C(x,A){this.__cache=[""],this.__indent_size=x.indent_size,this.__indent_string=x.indent_char,x.indent_with_tabs||(this.__indent_string=new Array(x.indent_size+1).join(x.indent_char)),A=A||"",x.indent_level>0&&(A=new Array(x.indent_level+1).join(this.__indent_string)),this.__base_string=A,this.__base_string_length=A.length}C.prototype.get_indent_size=function(x,A){var L=this.__base_string_length;return A=A||0,x<0&&(L=0),L+=x*this.__indent_size,L+=A,L},C.prototype.get_indent_string=function(x,A){var L=this.__base_string;return A=A||0,x<0&&(x=0,L=""),A+=x*this.__indent_size,this.__ensure_cache(A),L+=this.__cache[A],L},C.prototype.__ensure_cache=function(x){for(;x>=this.__cache.length;)this.__add_column()},C.prototype.__add_column=function(){var x=this.__cache.length,A=0,L="";this.__indent_size&&x>=this.__indent_size&&(A=Math.floor(x/this.__indent_size),x-=A*this.__indent_size,L=new Array(A+1).join(this.__indent_string)),x&&(L+=new Array(x+1).join(" ")),this.__cache.push(L)};function F(x,A){this.__indent_cache=new C(x,A),this.raw=!1,this._end_with_newline=x.end_with_newline,this.indent_size=x.indent_size,this.wrap_line_length=x.wrap_line_length,this.indent_empty_lines=x.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()}F.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},F.prototype.get_line_number=function(){return this.__lines.length},F.prototype.get_indent_string=function(x,A){return this.__indent_cache.get_indent_string(x,A)},F.prototype.get_indent_size=function(x,A){return this.__indent_cache.get_indent_size(x,A)},F.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},F.prototype.add_new_line=function(x){return this.is_empty()||!x&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},F.prototype.get_code=function(x){this.trim(!0);var A=this.current_line.pop();A&&(A[A.length-1]===`
|
|
`&&(A=A.replace(/\n+$/g,"")),this.current_line.push(A)),this._end_with_newline&&this.__add_outputline();var L=this.__lines.join(`
|
|
`);return x!==`
|
|
`&&(L=L.replace(/[\n]/g,x)),L},F.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},F.prototype.set_indent=function(x,A){return x=x||0,A=A||0,this.next_line.set_indent(x,A),this.__lines.length>1?(this.current_line.set_indent(x,A),!0):(this.current_line.set_indent(),!1)},F.prototype.add_raw_token=function(x){for(var A=0;A<x.newlines;A++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(x.whitespace_before),this.current_line.push(x.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},F.prototype.add_token=function(x){this.__add_space_before_token(),this.current_line.push(x),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},F.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(" "))},F.prototype.remove_indent=function(x){for(var A=this.__lines.length;x<A;)this.__lines[x]._remove_indent(),x++;this.current_line._remove_wrap_indent()},F.prototype.trim=function(x){for(x=x===void 0?!1:x,this.current_line.trim();x&&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},F.prototype.just_added_newline=function(){return this.current_line.is_empty()},F.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},F.prototype.ensure_empty_line_above=function(x,A){for(var L=this.__lines.length-2;L>=0;){var z=this.__lines[L];if(z.is_empty())break;if(z.item(0).indexOf(x)!==0&&z.item(-1)!==A){this.__lines.splice(L+1,0,new o(this)),this.previous_line=this.__lines[this.__lines.length-2];break}L--}},ee.exports.Output=F},,,,function(ee){function o(x,A){this.raw_options=C(x,A),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(x,A){var L=this.raw_options[x],z=A||[];return typeof L=="object"?L!==null&&typeof L.concat=="function"&&(z=L.concat()):typeof L=="string"&&(z=L.split(/[^a-zA-Z0-9_\/\-]+/)),z},o.prototype._get_boolean=function(x,A){var L=this.raw_options[x],z=L===void 0?!!A:!!L;return z},o.prototype._get_characters=function(x,A){var L=this.raw_options[x],z=A||"";return typeof L=="string"&&(z=L.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),z},o.prototype._get_number=function(x,A){var L=this.raw_options[x];A=parseInt(A,10),isNaN(A)&&(A=0);var z=parseInt(L,10);return isNaN(z)&&(z=A),z},o.prototype._get_selection=function(x,A,L){var z=this._get_selection_list(x,A,L);if(z.length!==1)throw new Error("Invalid Option Value: The option '"+x+`' can only be one of the following values:
|
|
`+A+`
|
|
You passed in: '`+this.raw_options[x]+"'");return z[0]},o.prototype._get_selection_list=function(x,A,L){if(!A||A.length===0)throw new Error("Selection list cannot be empty.");if(L=L||[A[0]],!this._is_valid_selection(L,A))throw new Error("Invalid Default Value!");var z=this._get_array(x,L);if(!this._is_valid_selection(z,A))throw new Error("Invalid Option Value: The option '"+x+`' can contain only the following values:
|
|
`+A+`
|
|
You passed in: '`+this.raw_options[x]+"'");return z},o.prototype._is_valid_selection=function(x,A){return x.length&&A.length&&!x.some(function(L){return A.indexOf(L)===-1})};function C(x,A){var L={};x=F(x);var z;for(z in x)z!==A&&(L[z]=x[z]);if(A&&x[A])for(z in x[A])L[z]=x[A][z];return L}function F(x){var A={},L;for(L in x){var z=L.replace(/-/g,"_");A[z]=x[L]}return A}ee.exports.Options=o,ee.exports.normalizeOpts=F,ee.exports.mergeOpts=C},,function(ee){var o=RegExp.prototype.hasOwnProperty("sticky");function C(F){this.__input=F||"",this.__input_length=this.__input.length,this.__position=0}C.prototype.restart=function(){this.__position=0},C.prototype.back=function(){this.__position>0&&(this.__position-=1)},C.prototype.hasNext=function(){return this.__position<this.__input_length},C.prototype.next=function(){var F=null;return this.hasNext()&&(F=this.__input.charAt(this.__position),this.__position+=1),F},C.prototype.peek=function(F){var x=null;return F=F||0,F+=this.__position,F>=0&&F<this.__input_length&&(x=this.__input.charAt(F)),x},C.prototype.__match=function(F,x){F.lastIndex=x;var A=F.exec(this.__input);return A&&!(o&&F.sticky)&&A.index!==x&&(A=null),A},C.prototype.test=function(F,x){return x=x||0,x+=this.__position,x>=0&&x<this.__input_length?!!this.__match(F,x):!1},C.prototype.testChar=function(F,x){var A=this.peek(x);return F.lastIndex=0,A!==null&&F.test(A)},C.prototype.match=function(F){var x=this.__match(F,this.__position);return x?this.__position+=x[0].length:x=null,x},C.prototype.read=function(F,x,A){var L="",z;return F&&(z=this.match(F),z&&(L+=z[0])),x&&(z||!F)&&(L+=this.readUntil(x,A)),L},C.prototype.readUntil=function(F,x){var A="",L=this.__position;F.lastIndex=this.__position;var z=F.exec(this.__input);return z?(L=z.index,x&&(L+=z[0].length)):L=this.__input_length,A=this.__input.substring(this.__position,L),this.__position=L,A},C.prototype.readUntilAfter=function(F){return this.readUntil(F,!0)},C.prototype.get_regexp=function(F,x){var A=null,L="g";return x&&o&&(L="y"),typeof F=="string"&&F!==""?A=new RegExp(F,L):F&&(A=new RegExp(F.source,L)),A},C.prototype.get_literal_regexp=function(F){return RegExp(F.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},C.prototype.peekUntilAfter=function(F){var x=this.__position,A=this.readUntilAfter(F);return this.__position=x,A},C.prototype.lookBack=function(F){var x=this.__position-1;return x>=F.length&&this.__input.substring(x-F.length,x).toLowerCase()===F},ee.exports.InputScanner=C},,,,,function(ee){function o(C,F){C=typeof C=="string"?C:C.source,F=typeof F=="string"?F:F.source,this.__directives_block_pattern=new RegExp(C+/ beautify( \w+[:]\w+)+ /.source+F,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(C+/\sbeautify\signore:end\s/.source+F,"g")}o.prototype.get_directives=function(C){if(!C.match(this.__directives_block_pattern))return null;var F={};this.__directive_pattern.lastIndex=0;for(var x=this.__directive_pattern.exec(C);x;)F[x[1]]=x[2],x=this.__directive_pattern.exec(C);return F},o.prototype.readIgnored=function(C){return C.readUntilAfter(this.__directives_end_ignore_pattern)},ee.exports.Directives=o},,function(ee,o,C){var F=C(16).Beautifier,x=C(17).Options;function A(L,z){var G=new F(L,z);return G.beautify()}ee.exports=A,ee.exports.defaultOptions=function(){return new x}},function(ee,o,C){var F=C(17).Options,x=C(2).Output,A=C(8).InputScanner,L=C(13).Directives,z=new L(/\/\*/,/\*\//),G=/\r\n|[\r\n]/,Z=/\r\n|[\r\n]/g,W=/\s/,P=/(?:\s|\n)+/g,K=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,g=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function T(fe,Ee){this._source_text=fe||"",this._options=new F(Ee),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"]}T.prototype.eatString=function(fe){var Ee="";for(this._ch=this._input.next();this._ch;){if(Ee+=this._ch,this._ch==="\\")Ee+=this._input.next();else if(fe.indexOf(this._ch)!==-1||this._ch===`
|
|
`)break;this._ch=this._input.next()}return Ee},T.prototype.eatWhitespace=function(fe){for(var Ee=W.test(this._input.peek()),pe=0;W.test(this._input.peek());)this._ch=this._input.next(),fe&&this._ch===`
|
|
`&&(pe===0||pe<this._options.max_preserve_newlines)&&(pe++,this._output.add_new_line(!0));return Ee},T.prototype.foundNestedPseudoClass=function(){for(var fe=0,Ee=1,pe=this._input.peek(Ee);pe;){if(pe==="{")return!0;if(pe==="(")fe+=1;else if(pe===")"){if(fe===0)return!1;fe-=1}else if(pe===";"||pe==="}")return!1;Ee++,pe=this._input.peek(Ee)}return!1},T.prototype.print_string=function(fe){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(fe)},T.prototype.preserveSingleSpace=function(fe){fe&&(this._output.space_before_token=!0)},T.prototype.indent=function(){this._indentLevel++},T.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},T.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var fe=this._source_text,Ee=this._options.eol;Ee==="auto"&&(Ee=`
|
|
`,fe&&G.test(fe||"")&&(Ee=fe.match(G)[0])),fe=fe.replace(Z,`
|
|
`);var pe=fe.match(/^[\t ]*/)[0];this._output=new x(this._options,pe),this._input=new A(fe),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var Be=0,je=!1,Le=!1,it=!1,ce=!1,Y=!1,N=this._ch,ve=!1,ue,we,_;ue=this._input.read(P),we=ue!=="",_=N,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),N=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var I=this._input.read(K),he=z.get_directives(I);he&&he.ignore==="start"&&(I+=z.readIgnored(this._input)),this.print_string(I),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(g)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(we),this.print_string(this._ch);var Ne=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Ne.match(/[ :]$/)&&(Ne=this.eatString(": ").replace(/\s+$/,""),this.print_string(Ne),this._output.space_before_token=!0),Be===0&&Ne.indexOf(":")!==-1&&(Le=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(we),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Qe=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Qe.match(/[ :]$/)&&(Qe=this.eatString(": ").replace(/\s+$/,""),this.print_string(Qe),this._output.space_before_token=!0),Be===0&&Qe.indexOf(":")!==-1?(Le=!0,this.indent()):Qe in this.NESTED_AT_RULE?(this._nestedLevel+=1,Qe in this.CONDITIONAL_GROUP_RULE&&(it=!0)):Be===0&&!Le&&(ce=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(we),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")Le&&(Le=!1,this.outdent()),ce=!1,it?(it=!1,je=this._indentLevel>=this._nestedLevel):je=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&je&&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)):(_==="("?this._output.space_before_token=!1:_!==","&&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(),_==="{"&&this._output.trim(!0),Le&&(this.outdent(),Le=!1),this.print_string(this._ch),je=!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 Et=0;Et<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Et++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Et])){ve=!0;break}(je||it)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!ce&&Be===0?(this.print_string(":"),Le||(Le=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var He=_==='"'||_==="'";this.preserveSingleSpace(He||we),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ve=!1,Be===0?(Le&&(this.outdent(),Le=!1),ce=!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(),Be++,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(")")),Be&&(Be--,this.outdent()));else{var Oe=!1;this._input.lookBack("with")&&(Oe=!0),this.preserveSingleSpace(we||Oe),this.print_string(this._ch),Le&&_==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),Y=!0):(this.eatWhitespace(),Be++,this.indent())}else if(this._ch===")")Be&&(Be--,this.outdent()),Y&&this._input.peek()===";"&&this._options.selector_separator_newline&&(Y=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!Le||Y)&&Be===0&&!ce?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!Le&&Be===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&&W.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(we),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),W.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var lt=_==='"'||_==="'";this.preserveSingleSpace(lt||we),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&ve&&this._output.add_new_line()}var St=this._output.get_code(Ee);return St},ee.exports.Beautifier=T},function(ee,o,C){var F=C(6).Options;function x(A){F.call(this,A,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var L=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||L;var z=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var G=0;G<z.length;G++)z[G]!=="expand"?this.brace_style="collapse":this.brace_style=z[G]}x.prototype=new F,ee.exports.Options=x}],j={};function v(ee){var o=j[ee];if(o!==void 0)return o.exports;var C=j[ee]={exports:{}};return le[ee](C,C.exports,v),C.exports}var re=v(15);ie=re})();var O=ie;h=[],c=function(){return{css_beautify:O}}.apply(at,h),c!==void 0&&(On.exports=c)})()},40998:function(On,at,h){var c,ie;(function(){var O;(function(){"use strict";var re=[,,function(F){function x(z){this.__parent=z,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=[]}x.prototype.clone_empty=function(){var z=new x(this.__parent);return z.set_indent(this.__indent_count,this.__alignment_count),z},x.prototype.item=function(z){return z<0?this.__items[this.__items.length+z]:this.__items[z]},x.prototype.has_match=function(z){for(var G=this.__items.length-1;G>=0;G--)if(this.__items[G].match(z))return!0;return!1},x.prototype.set_indent=function(z,G){this.is_empty()&&(this.__indent_count=z||0,this.__alignment_count=G||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},x.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)},x.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},x.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var z=this.__parent.current_line;return z.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),z.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),z.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,z.__items[0]===" "&&(z.__items.splice(0,1),z.__character_count-=1),!0}return!1},x.prototype.is_empty=function(){return this.__items.length===0},x.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},x.prototype.push=function(z){this.__items.push(z);var G=z.lastIndexOf(`
|
|
`);G!==-1?this.__character_count=z.length-G:this.__character_count+=z.length},x.prototype.pop=function(){var z=null;return this.is_empty()||(z=this.__items.pop(),this.__character_count-=z.length),z},x.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},x.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},x.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},x.prototype.toString=function(){var z="";return this.is_empty()?this.__parent.indent_empty_lines&&(z=this.__parent.get_indent_string(this.__indent_count)):(z=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),z+=this.__items.join("")),z};function A(z,G){this.__cache=[""],this.__indent_size=z.indent_size,this.__indent_string=z.indent_char,z.indent_with_tabs||(this.__indent_string=new Array(z.indent_size+1).join(z.indent_char)),G=G||"",z.indent_level>0&&(G=new Array(z.indent_level+1).join(this.__indent_string)),this.__base_string=G,this.__base_string_length=G.length}A.prototype.get_indent_size=function(z,G){var Z=this.__base_string_length;return G=G||0,z<0&&(Z=0),Z+=z*this.__indent_size,Z+=G,Z},A.prototype.get_indent_string=function(z,G){var Z=this.__base_string;return G=G||0,z<0&&(z=0,Z=""),G+=z*this.__indent_size,this.__ensure_cache(G),Z+=this.__cache[G],Z},A.prototype.__ensure_cache=function(z){for(;z>=this.__cache.length;)this.__add_column()},A.prototype.__add_column=function(){var z=this.__cache.length,G=0,Z="";this.__indent_size&&z>=this.__indent_size&&(G=Math.floor(z/this.__indent_size),z-=G*this.__indent_size,Z=new Array(G+1).join(this.__indent_string)),z&&(Z+=new Array(z+1).join(" ")),this.__cache.push(Z)};function L(z,G){this.__indent_cache=new A(z,G),this.raw=!1,this._end_with_newline=z.end_with_newline,this.indent_size=z.indent_size,this.wrap_line_length=z.wrap_line_length,this.indent_empty_lines=z.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new x(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}L.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},L.prototype.get_line_number=function(){return this.__lines.length},L.prototype.get_indent_string=function(z,G){return this.__indent_cache.get_indent_string(z,G)},L.prototype.get_indent_size=function(z,G){return this.__indent_cache.get_indent_size(z,G)},L.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},L.prototype.add_new_line=function(z){return this.is_empty()||!z&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},L.prototype.get_code=function(z){this.trim(!0);var G=this.current_line.pop();G&&(G[G.length-1]===`
|
|
`&&(G=G.replace(/\n+$/g,"")),this.current_line.push(G)),this._end_with_newline&&this.__add_outputline();var Z=this.__lines.join(`
|
|
`);return z!==`
|
|
`&&(Z=Z.replace(/[\n]/g,z)),Z},L.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},L.prototype.set_indent=function(z,G){return z=z||0,G=G||0,this.next_line.set_indent(z,G),this.__lines.length>1?(this.current_line.set_indent(z,G),!0):(this.current_line.set_indent(),!1)},L.prototype.add_raw_token=function(z){for(var G=0;G<z.newlines;G++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(z.whitespace_before),this.current_line.push(z.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},L.prototype.add_token=function(z){this.__add_space_before_token(),this.current_line.push(z),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},L.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(" "))},L.prototype.remove_indent=function(z){for(var G=this.__lines.length;z<G;)this.__lines[z]._remove_indent(),z++;this.current_line._remove_wrap_indent()},L.prototype.trim=function(z){for(z=z===void 0?!1:z,this.current_line.trim();z&&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},L.prototype.just_added_newline=function(){return this.current_line.is_empty()},L.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},L.prototype.ensure_empty_line_above=function(z,G){for(var Z=this.__lines.length-2;Z>=0;){var W=this.__lines[Z];if(W.is_empty())break;if(W.item(0).indexOf(z)!==0&&W.item(-1)!==G){this.__lines.splice(Z+1,0,new x(this)),this.previous_line=this.__lines[this.__lines.length-2];break}Z--}},F.exports.Output=L},function(F){function x(A,L,z,G){this.type=A,this.text=L,this.comments_before=null,this.newlines=z||0,this.whitespace_before=G||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}F.exports.Token=x},,,function(F){function x(z,G){this.raw_options=A(z,G),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"])}x.prototype._get_array=function(z,G){var Z=this.raw_options[z],W=G||[];return typeof Z=="object"?Z!==null&&typeof Z.concat=="function"&&(W=Z.concat()):typeof Z=="string"&&(W=Z.split(/[^a-zA-Z0-9_\/\-]+/)),W},x.prototype._get_boolean=function(z,G){var Z=this.raw_options[z],W=Z===void 0?!!G:!!Z;return W},x.prototype._get_characters=function(z,G){var Z=this.raw_options[z],W=G||"";return typeof Z=="string"&&(W=Z.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),W},x.prototype._get_number=function(z,G){var Z=this.raw_options[z];G=parseInt(G,10),isNaN(G)&&(G=0);var W=parseInt(Z,10);return isNaN(W)&&(W=G),W},x.prototype._get_selection=function(z,G,Z){var W=this._get_selection_list(z,G,Z);if(W.length!==1)throw new Error("Invalid Option Value: The option '"+z+`' can only be one of the following values:
|
|
`+G+`
|
|
You passed in: '`+this.raw_options[z]+"'");return W[0]},x.prototype._get_selection_list=function(z,G,Z){if(!G||G.length===0)throw new Error("Selection list cannot be empty.");if(Z=Z||[G[0]],!this._is_valid_selection(Z,G))throw new Error("Invalid Default Value!");var W=this._get_array(z,Z);if(!this._is_valid_selection(W,G))throw new Error("Invalid Option Value: The option '"+z+`' can contain only the following values:
|
|
`+G+`
|
|
You passed in: '`+this.raw_options[z]+"'");return W},x.prototype._is_valid_selection=function(z,G){return z.length&&G.length&&!z.some(function(Z){return G.indexOf(Z)===-1})};function A(z,G){var Z={};z=L(z);var W;for(W in z)W!==G&&(Z[W]=z[W]);if(G&&z[G])for(W in z[G])Z[W]=z[G][W];return Z}function L(z){var G={},Z;for(Z in z){var W=Z.replace(/-/g,"_");G[W]=z[Z]}return G}F.exports.Options=x,F.exports.normalizeOpts=L,F.exports.mergeOpts=A},,function(F){var x=RegExp.prototype.hasOwnProperty("sticky");function A(L){this.__input=L||"",this.__input_length=this.__input.length,this.__position=0}A.prototype.restart=function(){this.__position=0},A.prototype.back=function(){this.__position>0&&(this.__position-=1)},A.prototype.hasNext=function(){return this.__position<this.__input_length},A.prototype.next=function(){var L=null;return this.hasNext()&&(L=this.__input.charAt(this.__position),this.__position+=1),L},A.prototype.peek=function(L){var z=null;return L=L||0,L+=this.__position,L>=0&&L<this.__input_length&&(z=this.__input.charAt(L)),z},A.prototype.__match=function(L,z){L.lastIndex=z;var G=L.exec(this.__input);return G&&!(x&&L.sticky)&&G.index!==z&&(G=null),G},A.prototype.test=function(L,z){return z=z||0,z+=this.__position,z>=0&&z<this.__input_length?!!this.__match(L,z):!1},A.prototype.testChar=function(L,z){var G=this.peek(z);return L.lastIndex=0,G!==null&&L.test(G)},A.prototype.match=function(L){var z=this.__match(L,this.__position);return z?this.__position+=z[0].length:z=null,z},A.prototype.read=function(L,z,G){var Z="",W;return L&&(W=this.match(L),W&&(Z+=W[0])),z&&(W||!L)&&(Z+=this.readUntil(z,G)),Z},A.prototype.readUntil=function(L,z){var G="",Z=this.__position;L.lastIndex=this.__position;var W=L.exec(this.__input);return W?(Z=W.index,z&&(Z+=W[0].length)):Z=this.__input_length,G=this.__input.substring(this.__position,Z),this.__position=Z,G},A.prototype.readUntilAfter=function(L){return this.readUntil(L,!0)},A.prototype.get_regexp=function(L,z){var G=null,Z="g";return z&&x&&(Z="y"),typeof L=="string"&&L!==""?G=new RegExp(L,Z):L&&(G=new RegExp(L.source,Z)),G},A.prototype.get_literal_regexp=function(L){return RegExp(L.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},A.prototype.peekUntilAfter=function(L){var z=this.__position,G=this.readUntilAfter(L);return this.__position=z,G},A.prototype.lookBack=function(L){var z=this.__position-1;return z>=L.length&&this.__input.substring(z-L.length,z).toLowerCase()===L},F.exports.InputScanner=A},function(F,x,A){var L=A(8).InputScanner,z=A(3).Token,G=A(10).TokenStream,Z=A(11).WhitespacePattern,W={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},P=function(K,g){this._input=new L(K),this._options=g||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new Z(this._input)};P.prototype.tokenize=function(){this._input.restart(),this.__tokens=new G,this._reset();for(var K,g=new z(W.START,""),T=null,fe=[],Ee=new G;g.type!==W.EOF;){for(K=this._get_next_token(g,T);this._is_comment(K);)Ee.add(K),K=this._get_next_token(g,T);Ee.isEmpty()||(K.comments_before=Ee,Ee=new G),K.parent=T,this._is_opening(K)?(fe.push(T),T=K):T&&this._is_closing(K,T)&&(K.opened=T,T.closed=K,T=fe.pop(),K.parent=T),K.previous=g,g.next=K,this.__tokens.add(K),g=K}return this.__tokens},P.prototype._is_first_token=function(){return this.__tokens.isEmpty()},P.prototype._reset=function(){},P.prototype._get_next_token=function(K,g){this._readWhitespace();var T=this._input.read(/.+/g);return T?this._create_token(W.RAW,T):this._create_token(W.EOF,"")},P.prototype._is_comment=function(K){return!1},P.prototype._is_opening=function(K){return!1},P.prototype._is_closing=function(K,g){return!1},P.prototype._create_token=function(K,g){var T=new z(K,g,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return T},P.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},F.exports.Tokenizer=P,F.exports.TOKEN=W},function(F){function x(A){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=A}x.prototype.restart=function(){this.__position=0},x.prototype.isEmpty=function(){return this.__tokens_length===0},x.prototype.hasNext=function(){return this.__position<this.__tokens_length},x.prototype.next=function(){var A=null;return this.hasNext()&&(A=this.__tokens[this.__position],this.__position+=1),A},x.prototype.peek=function(A){var L=null;return A=A||0,A+=this.__position,A>=0&&A<this.__tokens_length&&(L=this.__tokens[A]),L},x.prototype.add=function(A){this.__parent_token&&(A.parent=this.__parent_token),this.__tokens.push(A),this.__tokens_length+=1},F.exports.TokenStream=x},function(F,x,A){var L=A(12).Pattern;function z(G,Z){L.call(this,G,Z),Z?this._line_regexp=this._input.get_regexp(Z._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}z.prototype=new L,z.prototype.__set_whitespace_patterns=function(G,Z){G+="\\t ",Z+="\\n\\r",this._match_pattern=this._input.get_regexp("["+G+Z+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+Z+"]")},z.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var G=this._input.read(this._match_pattern);if(G===" ")this.whitespace_before_token=" ";else if(G){var Z=this.__split(this._newline_regexp,G);this.newline_count=Z.length-1,this.whitespace_before_token=Z[this.newline_count]}return G},z.prototype.matching=function(G,Z){var W=this._create();return W.__set_whitespace_patterns(G,Z),W._update(),W},z.prototype._create=function(){return new z(this._input,this)},z.prototype.__split=function(G,Z){G.lastIndex=0;for(var W=0,P=[],K=G.exec(Z);K;)P.push(Z.substring(W,K.index)),W=K.index+K[0].length,K=G.exec(Z);return W<Z.length?P.push(Z.substring(W,Z.length)):P.push(""),P},F.exports.WhitespacePattern=z},function(F){function x(A,L){this._input=A,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,L&&(this._starting_pattern=this._input.get_regexp(L._starting_pattern,!0),this._match_pattern=this._input.get_regexp(L._match_pattern,!0),this._until_pattern=this._input.get_regexp(L._until_pattern),this._until_after=L._until_after)}x.prototype.read=function(){var A=this._input.read(this._starting_pattern);return(!this._starting_pattern||A)&&(A+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),A},x.prototype.read_match=function(){return this._input.match(this._match_pattern)},x.prototype.until_after=function(A){var L=this._create();return L._until_after=!0,L._until_pattern=this._input.get_regexp(A),L._update(),L},x.prototype.until=function(A){var L=this._create();return L._until_after=!1,L._until_pattern=this._input.get_regexp(A),L._update(),L},x.prototype.starting_with=function(A){var L=this._create();return L._starting_pattern=this._input.get_regexp(A,!0),L._update(),L},x.prototype.matching=function(A){var L=this._create();return L._match_pattern=this._input.get_regexp(A,!0),L._update(),L},x.prototype._create=function(){return new x(this._input,this)},x.prototype._update=function(){},F.exports.Pattern=x},function(F){function x(A,L){A=typeof A=="string"?A:A.source,L=typeof L=="string"?L:L.source,this.__directives_block_pattern=new RegExp(A+/ beautify( \w+[:]\w+)+ /.source+L,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(A+/\sbeautify\signore:end\s/.source+L,"g")}x.prototype.get_directives=function(A){if(!A.match(this.__directives_block_pattern))return null;var L={};this.__directive_pattern.lastIndex=0;for(var z=this.__directive_pattern.exec(A);z;)L[z[1]]=z[2],z=this.__directive_pattern.exec(A);return L},x.prototype.readIgnored=function(A){return A.readUntilAfter(this.__directives_end_ignore_pattern)},F.exports.Directives=x},function(F,x,A){var L=A(12).Pattern,z={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function G(Z,W){L.call(this,Z,W),this.__template_pattern=null,this._disabled=Object.assign({},z),this._excluded=Object.assign({},z),W&&(this.__template_pattern=this._input.get_regexp(W.__template_pattern),this._excluded=Object.assign(this._excluded,W._excluded),this._disabled=Object.assign(this._disabled,W._disabled));var P=new L(Z);this.__patterns={handlebars_comment:P.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:P.starting_with(/{{{/).until_after(/}}}/),handlebars:P.starting_with(/{{/).until_after(/}}/),php:P.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:P.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:P.starting_with(/{%/).until_after(/%}/),django_value:P.starting_with(/{{/).until_after(/}}/),django_comment:P.starting_with(/{#/).until_after(/#}/),smarty:P.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:P.starting_with(/{\*/).until_after(/\*}/),smarty_literal:P.starting_with(/{literal}/).until_after(/{\/literal}/)}}G.prototype=new L,G.prototype._create=function(){return new G(this._input,this)},G.prototype._update=function(){this.__set_templated_pattern()},G.prototype.disable=function(Z){var W=this._create();return W._disabled[Z]=!0,W._update(),W},G.prototype.read_options=function(Z){var W=this._create();for(var P in z)W._disabled[P]=Z.templating.indexOf(P)===-1;return W._update(),W},G.prototype.exclude=function(Z){var W=this._create();return W._excluded[Z]=!0,W._update(),W},G.prototype.read=function(){var Z="";this._match_pattern?Z=this._input.read(this._starting_pattern):Z=this._input.read(this._starting_pattern,this.__template_pattern);for(var W=this._read_template();W;)this._match_pattern?W+=this._input.read(this._match_pattern):W+=this._input.readUntil(this.__template_pattern),Z+=W,W=this._read_template();return this._until_after&&(Z+=this._input.readUntilAfter(this._until_pattern)),Z},G.prototype.__set_templated_pattern=function(){var Z=[];this._disabled.php||Z.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||Z.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||Z.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||Z.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(Z.push(this.__patterns.django._starting_pattern.source),Z.push(this.__patterns.django_value._starting_pattern.source),Z.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||Z.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&Z.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+Z.join("|")+")")},G.prototype._read_template=function(){var Z="",W=this._input.peek();if(W==="<"){var P=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&P==="?"&&(Z=Z||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&P==="%"&&(Z=Z||this.__patterns.erb.read())}else W==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(Z=Z||this.__patterns.handlebars_comment.read(),Z=Z||this.__patterns.handlebars_unescaped.read(),Z=Z||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(Z=Z||this.__patterns.django_value.read()),this._excluded.django||(Z=Z||this.__patterns.django_comment.read(),Z=Z||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(Z=Z||this.__patterns.smarty_comment.read(),Z=Z||this.__patterns.smarty_literal.read(),Z=Z||this.__patterns.smarty.read()));return Z},F.exports.TemplatablePattern=G},,,,function(F,x,A){var L=A(19).Beautifier,z=A(20).Options;function G(Z,W,P,K){var g=new L(Z,W,P,K);return g.beautify()}F.exports=G,F.exports.defaultOptions=function(){return new z}},function(F,x,A){var L=A(20).Options,z=A(2).Output,G=A(21).Tokenizer,Z=A(21).TOKEN,W=/\r\n|[\r\n]/,P=/\r\n|[\r\n]/g,K=function(ce,Y){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=ce.max_preserve_newlines,this.preserve_newlines=ce.preserve_newlines,this._output=new z(ce,Y)};K.prototype.current_line_has_match=function(ce){return this._output.current_line.has_match(ce)},K.prototype.set_space_before_token=function(ce,Y){this._output.space_before_token=ce,this._output.non_breaking_space=Y},K.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},K.prototype.add_raw_token=function(ce){this._output.add_raw_token(ce)},K.prototype.print_preserved_newlines=function(ce){var Y=0;ce.type!==Z.TEXT&&ce.previous.type!==Z.TEXT&&(Y=ce.newlines?1:0),this.preserve_newlines&&(Y=ce.newlines<this.max_preserve_newlines+1?ce.newlines:this.max_preserve_newlines+1);for(var N=0;N<Y;N++)this.print_newline(N>0);return Y!==0},K.prototype.traverse_whitespace=function(ce){return ce.whitespace_before||ce.newlines?(this.print_preserved_newlines(ce)||(this._output.space_before_token=!0),!0):!1},K.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},K.prototype.print_newline=function(ce){this._output.add_new_line(ce)},K.prototype.print_token=function(ce){ce.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(ce.text))},K.prototype.indent=function(){this.indent_level++},K.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},K.prototype.get_full_indent=function(ce){return ce=this.indent_level+(ce||0),ce<1?"":this._output.get_indent_string(ce)};var g=function(ce){for(var Y=null,N=ce.next;N.type!==Z.EOF&&ce.closed!==N;){if(N.type===Z.ATTRIBUTE&&N.text==="type"){N.next&&N.next.type===Z.EQUALS&&N.next.next&&N.next.next.type===Z.VALUE&&(Y=N.next.next.text);break}N=N.next}return Y},T=function(ce,Y){var N=null,ve=null;return Y.closed?(ce==="script"?N="text/javascript":ce==="style"&&(N="text/css"),N=g(Y)||N,N.search("text/css")>-1?ve="css":N.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ve="javascript":N.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ve="html":N.search(/test\/null/)>-1&&(ve="null"),ve):null};function fe(ce,Y){return Y.indexOf(ce)!==-1}function Ee(ce,Y,N){this.parent=ce||null,this.tag=Y?Y.tag_name:"",this.indent_level=N||0,this.parser_token=Y||null}function pe(ce){this._printer=ce,this._current_frame=null}pe.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},pe.prototype.record_tag=function(ce){var Y=new Ee(this._current_frame,ce,this._printer.indent_level);this._current_frame=Y},pe.prototype._try_pop_frame=function(ce){var Y=null;return ce&&(Y=ce.parser_token,this._printer.indent_level=ce.indent_level,this._current_frame=ce.parent),Y},pe.prototype._get_frame=function(ce,Y){for(var N=this._current_frame;N&&ce.indexOf(N.tag)===-1;){if(Y&&Y.indexOf(N.tag)!==-1){N=null;break}N=N.parent}return N},pe.prototype.try_pop=function(ce,Y){var N=this._get_frame([ce],Y);return this._try_pop_frame(N)},pe.prototype.indent_to_tag=function(ce){var Y=this._get_frame(ce);Y&&(this._printer.indent_level=Y.indent_level)};function Be(ce,Y,N,ve){this._source_text=ce||"",Y=Y||{},this._js_beautify=N,this._css_beautify=ve,this._tag_stack=null;var ue=new L(Y,"html");this._options=ue,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"}Be.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var ce=this._source_text,Y=this._options.eol;this._options.eol==="auto"&&(Y=`
|
|
`,ce&&W.test(ce)&&(Y=ce.match(W)[0])),ce=ce.replace(P,`
|
|
`);var N=ce.match(/^[\t ]*/)[0],ve={text:"",type:""},ue=new je(this._options),we=new K(this._options,N),_=new G(ce,this._options).tokenize();this._tag_stack=new pe(we);for(var I=null,he=_.next();he.type!==Z.EOF;)he.type===Z.TAG_OPEN||he.type===Z.COMMENT?(I=this._handle_tag_open(we,he,ue,ve,_),ue=I):he.type===Z.ATTRIBUTE||he.type===Z.EQUALS||he.type===Z.VALUE||he.type===Z.TEXT&&!ue.tag_complete?I=this._handle_inside_tag(we,he,ue,ve):he.type===Z.TAG_CLOSE?I=this._handle_tag_close(we,he,ue):he.type===Z.TEXT?I=this._handle_text(we,he,ue):he.type===Z.CONTROL_FLOW_OPEN?I=this._handle_control_flow_open(we,he):he.type===Z.CONTROL_FLOW_CLOSE?I=this._handle_control_flow_close(we,he):we.add_raw_token(he),ve=I,he=_.next();var Ne=we._output.get_code(Y);return Ne},Be.prototype._handle_control_flow_open=function(ce,Y){var N={text:Y.text,type:Y.type};return ce.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),Y.newlines?ce.print_preserved_newlines(Y):ce.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),ce.print_token(Y),ce.indent(),N},Be.prototype._handle_control_flow_close=function(ce,Y){var N={text:Y.text,type:Y.type};return ce.deindent(),Y.newlines?ce.print_preserved_newlines(Y):ce.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),ce.print_token(Y),N},Be.prototype._handle_tag_close=function(ce,Y,N){var ve={text:Y.text,type:Y.type};return ce.alignment_size=0,N.tag_complete=!0,ce.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),N.is_unformatted?ce.add_raw_token(Y):(N.tag_start_char==="<"&&(ce.set_space_before_token(Y.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&N.has_wrapped_attrs&&ce.print_newline(!1)),ce.print_token(Y)),N.indent_content&&!(N.is_unformatted||N.is_content_unformatted)&&(ce.indent(),N.indent_content=!1),!N.is_inline_element&&!(N.is_unformatted||N.is_content_unformatted)&&ce.set_wrap_point(),ve},Be.prototype._handle_inside_tag=function(ce,Y,N,ve){var ue=N.has_wrapped_attrs,we={text:Y.text,type:Y.type};return ce.set_space_before_token(Y.newlines||Y.whitespace_before!=="",!0),N.is_unformatted?ce.add_raw_token(Y):N.tag_start_char==="{"&&Y.type===Z.TEXT?ce.print_preserved_newlines(Y)?(Y.newlines=0,ce.add_raw_token(Y)):ce.print_token(Y):(Y.type===Z.ATTRIBUTE?ce.set_space_before_token(!0):(Y.type===Z.EQUALS||Y.type===Z.VALUE&&Y.previous.type===Z.EQUALS)&&ce.set_space_before_token(!1),Y.type===Z.ATTRIBUTE&&N.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(ce.traverse_whitespace(Y),ue=ue||Y.newlines!==0),this._is_wrap_attributes_force&&N.attr_count>=this._options.wrap_attributes_min_attrs&&(ve.type!==Z.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(ce.print_newline(!1),ue=!0)),ce.print_token(Y),ue=ue||ce.previous_token_wrapped(),N.has_wrapped_attrs=ue),we},Be.prototype._handle_text=function(ce,Y,N){var ve={text:Y.text,type:"TK_CONTENT"};return N.custom_beautifier_name?this._print_custom_beatifier_text(ce,Y,N):N.is_unformatted||N.is_content_unformatted?ce.add_raw_token(Y):(ce.traverse_whitespace(Y),ce.print_token(Y)),ve},Be.prototype._print_custom_beatifier_text=function(ce,Y,N){var ve=this;if(Y.text!==""){var ue=Y.text,we,_=1,I="",he="";N.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?we=this._js_beautify:N.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?we=this._css_beautify:N.custom_beautifier_name==="html"&&(we=function(lt,St){var ze=new Be(lt,St,ve._js_beautify,ve._css_beautify);return ze.beautify()}),this._options.indent_scripts==="keep"?_=0:this._options.indent_scripts==="separate"&&(_=-ce.indent_level);var Ne=ce.get_full_indent(_);if(ue=ue.replace(/\n[ \t]*$/,""),N.custom_beautifier_name!=="html"&&ue[0]==="<"&&ue.match(/^(<!--|<!\[CDATA\[)/)){var Qe=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(ue);if(!Qe){ce.add_raw_token(Y);return}I=Ne+Qe[1]+`
|
|
`,ue=Qe[4],Qe[5]&&(he=Ne+Qe[5]),ue=ue.replace(/\n[ \t]*$/,""),(Qe[2]||Qe[3].indexOf(`
|
|
`)!==-1)&&(Qe=Qe[3].match(/[ \t]+$/),Qe&&(Y.whitespace_before=Qe[0]))}if(ue)if(we){var Et=function(){this.eol=`
|
|
`};Et.prototype=this._options.raw_options;var He=new Et;ue=we(Ne+ue,He)}else{var Oe=Y.whitespace_before;Oe&&(ue=ue.replace(new RegExp(`
|
|
(`+Oe+")?","g"),`
|
|
`)),ue=Ne+ue.replace(/\n/g,`
|
|
`+Ne)}I&&(ue?ue=I+ue+`
|
|
`+he:ue=I+he),ce.print_newline(!1),ue&&(Y.text=ue,Y.whitespace_before="",Y.newlines=0,ce.add_raw_token(Y),ce.print_newline(!0))}},Be.prototype._handle_tag_open=function(ce,Y,N,ve,ue){var we=this._get_tag_open_token(Y);if((N.is_unformatted||N.is_content_unformatted)&&!N.is_empty_element&&Y.type===Z.TAG_OPEN&&!we.is_start_tag?(ce.add_raw_token(Y),we.start_tag_token=this._tag_stack.try_pop(we.tag_name)):(ce.traverse_whitespace(Y),this._set_tag_position(ce,Y,we,N,ve),we.is_inline_element||ce.set_wrap_point(),ce.print_token(Y)),we.is_start_tag&&this._is_wrap_attributes_force){var _=0,I;do I=ue.peek(_),I.type===Z.ATTRIBUTE&&(we.attr_count+=1),_+=1;while(I.type!==Z.EOF&&I.type!==Z.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(we.alignment_size=Y.text.length+1),!we.tag_complete&&!we.is_unformatted&&(ce.alignment_size=we.alignment_size),we};var je=function(ce,Y,N){if(this.parent=Y||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!N)this.tag_complete=!0;else{var ve;this.tag_start_char=N.text[0],this.text=N.text,this.tag_start_char==="<"?(ve=N.text.match(/^<([^\s>]*)/),this.tag_check=ve?ve[1]:""):(ve=N.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ve?ve[1]:"",(N.text.startsWith("{{#>")||N.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&N.next!==null?this.tag_check=N.next.text.split(" ")[0]:this.tag_check=N.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),N.type===Z.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||N.closed&&N.closed.text==="/>";var ue=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(ue=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!ce.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(ue)))}};Be.prototype._get_tag_open_token=function(ce){var Y=new je(this._options,this._tag_stack.get_parser_token(),ce);return Y.alignment_size=this._options.wrap_attributes_indent_size,Y.is_end_tag=Y.is_end_tag||fe(Y.tag_check,this._options.void_elements),Y.is_empty_element=Y.tag_complete||Y.is_start_tag&&Y.is_end_tag,Y.is_unformatted=!Y.tag_complete&&fe(Y.tag_check,this._options.unformatted),Y.is_content_unformatted=!Y.is_empty_element&&fe(Y.tag_check,this._options.content_unformatted),Y.is_inline_element=fe(Y.tag_name,this._options.inline)||this._options.inline_custom_elements&&Y.tag_name.includes("-")||Y.tag_start_char==="{",Y},Be.prototype._set_tag_position=function(ce,Y,N,ve,ue){if(N.is_empty_element||(N.is_end_tag?N.start_tag_token=this._tag_stack.try_pop(N.tag_name):(this._do_optional_end_element(N)&&(N.is_inline_element||ce.print_newline(!1)),this._tag_stack.record_tag(N),(N.tag_name==="script"||N.tag_name==="style")&&!(N.is_unformatted||N.is_content_unformatted)&&(N.custom_beautifier_name=T(N.tag_check,Y)))),fe(N.tag_check,this._options.extra_liners)&&(ce.print_newline(!1),ce._output.just_added_blankline()||ce.print_newline(!0)),N.is_empty_element){if(N.tag_start_char==="{"&&N.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),N.indent_content=!0;var we=ce.current_line_has_match(/{{#if/);we||ce.print_newline(!1)}N.tag_name==="!--"&&ue.type===Z.TAG_CLOSE&&ve.is_end_tag&&N.text.indexOf(`
|
|
`)===-1||(N.is_inline_element||N.is_unformatted||ce.print_newline(!1),this._calcluate_parent_multiline(ce,N))}else if(N.is_end_tag){var _=!1;_=N.start_tag_token&&N.start_tag_token.multiline_content,_=_||!N.is_inline_element&&!(ve.is_inline_element||ve.is_unformatted)&&!(ue.type===Z.TAG_CLOSE&&N.start_tag_token===ve)&&ue.type!=="TK_CONTENT",(N.is_content_unformatted||N.is_unformatted)&&(_=!1),_&&ce.print_newline(!1)}else N.indent_content=!N.custom_beautifier_name,N.tag_start_char==="<"&&(N.tag_name==="html"?N.indent_content=this._options.indent_inner_html:N.tag_name==="head"?N.indent_content=this._options.indent_head_inner_html:N.tag_name==="body"&&(N.indent_content=this._options.indent_body_inner_html)),!(N.is_inline_element||N.is_unformatted)&&(ue.type!=="TK_CONTENT"||N.is_content_unformatted)&&ce.print_newline(!1),this._calcluate_parent_multiline(ce,N)},Be.prototype._calcluate_parent_multiline=function(ce,Y){Y.parent&&ce._output.just_added_newline()&&!((Y.is_inline_element||Y.is_unformatted)&&Y.parent.is_inline_element)&&(Y.parent.multiline_content=!0)};var Le=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],it=["a","audio","del","ins","map","noscript","video"];Be.prototype._do_optional_end_element=function(ce){var Y=null;if(!(ce.is_empty_element||!ce.is_start_tag||!ce.parent)){if(ce.tag_name==="body")Y=Y||this._tag_stack.try_pop("head");else if(ce.tag_name==="li")Y=Y||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(ce.tag_name==="dd"||ce.tag_name==="dt")Y=Y||this._tag_stack.try_pop("dt",["dl"]),Y=Y||this._tag_stack.try_pop("dd",["dl"]);else if(ce.parent.tag_name==="p"&&Le.indexOf(ce.tag_name)!==-1){var N=ce.parent.parent;(!N||it.indexOf(N.tag_name)===-1)&&(Y=Y||this._tag_stack.try_pop("p"))}else ce.tag_name==="rp"||ce.tag_name==="rt"?(Y=Y||this._tag_stack.try_pop("rt",["ruby","rtc"]),Y=Y||this._tag_stack.try_pop("rp",["ruby","rtc"])):ce.tag_name==="optgroup"?Y=Y||this._tag_stack.try_pop("optgroup",["select"]):ce.tag_name==="option"?Y=Y||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):ce.tag_name==="colgroup"?Y=Y||this._tag_stack.try_pop("caption",["table"]):ce.tag_name==="thead"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"])):ce.tag_name==="tbody"||ce.tag_name==="tfoot"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"]),Y=Y||this._tag_stack.try_pop("thead",["table"]),Y=Y||this._tag_stack.try_pop("tbody",["table"])):ce.tag_name==="tr"?(Y=Y||this._tag_stack.try_pop("caption",["table"]),Y=Y||this._tag_stack.try_pop("colgroup",["table"]),Y=Y||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(ce.tag_name==="th"||ce.tag_name==="td")&&(Y=Y||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),Y=Y||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return ce.parent=this._tag_stack.get_parser_token(),Y}},F.exports.Beautifier=Be},function(F,x,A){var L=A(6).Options;function z(G){L.call(this,G,"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"])}z.prototype=new L,F.exports.Options=z},function(F,x,A){var L=A(9).Tokenizer,z=A(9).TOKEN,G=A(13).Directives,Z=A(14).TemplatablePattern,W=A(12).Pattern,P={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:z.START,RAW:z.RAW,EOF:z.EOF},K=new G(/<\!--/,/-->/),g=function(T,fe){L.call(this,T,fe),this._current_tag_name="";var Ee=new Z(this._input).read_options(this._options),pe=new W(this._input);if(this.__patterns={word:Ee.until(/[\n\r\t <]/),word_control_flow_close_excluded:Ee.until(/[\n\r\t <}]/),single_quote:Ee.until_after(/'/),double_quote:Ee.until_after(/"/),attribute:Ee.until(/[\n\r\t =>]|\/>/),element_name:Ee.until(/[\n\r\t >\/]/),angular_control_flow_start:pe.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:pe.starting_with(/{{!--/).until_after(/--}}/),handlebars:pe.starting_with(/{{/).until_after(/}}/),handlebars_open:pe.until(/[\n\r\t }]/),handlebars_raw_close:pe.until(/}}/),comment:pe.starting_with(/<!--/).until_after(/-->/),cdata:pe.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:pe.starting_with(/<!\[/).until_after(/]>/),processing:pe.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 Be=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=pe.matching(Be).until_after(Be)}};g.prototype=new L,g.prototype._is_comment=function(T){return!1},g.prototype._is_opening=function(T){return T.type===P.TAG_OPEN||T.type===P.CONTROL_FLOW_OPEN},g.prototype._is_closing=function(T,fe){return T.type===P.TAG_CLOSE&&fe&&((T.text===">"||T.text==="/>")&&fe.text[0]==="<"||T.text==="}}"&&fe.text[0]==="{"&&fe.text[1]==="{")||T.type===P.CONTROL_FLOW_CLOSE&&T.text==="}"&&fe.text.endsWith("{")},g.prototype._reset=function(){this._current_tag_name=""},g.prototype._get_next_token=function(T,fe){var Ee=null;this._readWhitespace();var pe=this._input.peek();return pe===null?this._create_token(P.EOF,""):(Ee=Ee||this._read_open_handlebars(pe,fe),Ee=Ee||this._read_attribute(pe,T,fe),Ee=Ee||this._read_close(pe,fe),Ee=Ee||this._read_script_and_style(pe,T),Ee=Ee||this._read_control_flows(pe,fe),Ee=Ee||this._read_raw_content(pe,T,fe),Ee=Ee||this._read_content_word(pe,fe),Ee=Ee||this._read_comment_or_cdata(pe),Ee=Ee||this._read_processing(pe),Ee=Ee||this._read_open(pe,fe),Ee=Ee||this._create_token(P.UNKNOWN,this._input.next()),Ee)},g.prototype._read_comment_or_cdata=function(T){var fe=null,Ee=null,pe=null;if(T==="<"){var Be=this._input.peek(1);Be==="!"&&(Ee=this.__patterns.comment.read(),Ee?(pe=K.get_directives(Ee),pe&&pe.ignore==="start"&&(Ee+=K.readIgnored(this._input))):Ee=this.__patterns.cdata.read()),Ee&&(fe=this._create_token(P.COMMENT,Ee),fe.directives=pe)}return fe},g.prototype._read_processing=function(T){var fe=null,Ee=null,pe=null;if(T==="<"){var Be=this._input.peek(1);(Be==="!"||Be==="?")&&(Ee=this.__patterns.conditional_comment.read(),Ee=Ee||this.__patterns.processing.read()),Ee&&(fe=this._create_token(P.COMMENT,Ee),fe.directives=pe)}return fe},g.prototype._read_open=function(T,fe){var Ee=null,pe=null;return(!fe||fe.type===P.CONTROL_FLOW_OPEN)&&T==="<"&&(Ee=this._input.next(),this._input.peek()==="/"&&(Ee+=this._input.next()),Ee+=this.__patterns.element_name.read(),pe=this._create_token(P.TAG_OPEN,Ee)),pe},g.prototype._read_open_handlebars=function(T,fe){var Ee=null,pe=null;return(!fe||fe.type===P.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&T==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(Ee=this.__patterns.handlebars_comment.read(),Ee=Ee||this.__patterns.handlebars.read(),pe=this._create_token(P.COMMENT,Ee)):(Ee=this.__patterns.handlebars_open.read(),pe=this._create_token(P.TAG_OPEN,Ee))),pe},g.prototype._read_control_flows=function(T,fe){var Ee="",pe=null;if(!this._options.templating.includes("angular"))return pe;if(T==="@"){if(Ee=this.__patterns.angular_control_flow_start.read(),Ee==="")return pe;for(var Be=Ee.endsWith("(")?1:0,je=0;!(Ee.endsWith("{")&&Be===je);){var Le=this._input.next();if(Le===null)break;Le==="("?Be++:Le===")"&&je++,Ee+=Le}pe=this._create_token(P.CONTROL_FLOW_OPEN,Ee)}else T==="}"&&fe&&fe.type===P.CONTROL_FLOW_OPEN&&(Ee=this._input.next(),pe=this._create_token(P.CONTROL_FLOW_CLOSE,Ee));return pe},g.prototype._read_close=function(T,fe){var Ee=null,pe=null;return fe&&fe.type===P.TAG_OPEN&&(fe.text[0]==="<"&&(T===">"||T==="/"&&this._input.peek(1)===">")?(Ee=this._input.next(),T==="/"&&(Ee+=this._input.next()),pe=this._create_token(P.TAG_CLOSE,Ee)):fe.text[0]==="{"&&T==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),pe=this._create_token(P.TAG_CLOSE,"}}"))),pe},g.prototype._read_attribute=function(T,fe,Ee){var pe=null,Be="";if(Ee&&Ee.text[0]==="<")if(T==="=")pe=this._create_token(P.EQUALS,this._input.next());else if(T==='"'||T==="'"){var je=this._input.next();T==='"'?je+=this.__patterns.double_quote.read():je+=this.__patterns.single_quote.read(),pe=this._create_token(P.VALUE,je)}else Be=this.__patterns.attribute.read(),Be&&(fe.type===P.EQUALS?pe=this._create_token(P.VALUE,Be):pe=this._create_token(P.ATTRIBUTE,Be));return pe},g.prototype._is_content_unformatted=function(T){return this._options.void_elements.indexOf(T)===-1&&(this._options.content_unformatted.indexOf(T)!==-1||this._options.unformatted.indexOf(T)!==-1)},g.prototype._read_raw_content=function(T,fe,Ee){var pe="";if(Ee&&Ee.text[0]==="{")pe=this.__patterns.handlebars_raw_close.read();else if(fe.type===P.TAG_CLOSE&&fe.opened.text[0]==="<"&&fe.text[0]!=="/"){var Be=fe.opened.text.substr(1).toLowerCase();this._is_content_unformatted(Be)&&(pe=this._input.readUntil(new RegExp("</"+Be+"[\\n\\r\\t ]*?>","ig")))}return pe?this._create_token(P.TEXT,pe):null},g.prototype._read_script_and_style=function(T,fe){if(fe.type===P.TAG_CLOSE&&fe.opened.text[0]==="<"&&fe.text[0]!=="/"){var Ee=fe.opened.text.substr(1).toLowerCase();if(Ee==="script"||Ee==="style"){var pe=this._read_comment_or_cdata(T);if(pe)return pe.type=P.TEXT,pe;var Be=this._input.readUntil(new RegExp("</"+Ee+"[\\n\\r\\t ]*?>","ig"));if(Be)return this._create_token(P.TEXT,Be)}}return null},g.prototype._read_content_word=function(T,fe){var Ee="";return this._options.unformatted_content_delimiter&&T===this._options.unformatted_content_delimiter[0]&&(Ee=this.__patterns.unformatted_content_delimiter.read()),Ee||(Ee=fe&&fe.type===P.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),Ee?this._create_token(P.TEXT,Ee):null},F.exports.Tokenizer=g,F.exports.TOKEN=P}],ee={};function o(F){var x=ee[F];if(x!==void 0)return x.exports;var A=ee[F]={exports:{}};return re[F](A,A.exports,o),A.exports}var C=o(18);O=C})();var le=O;if(1)c=[h,h(58553),h(87804)],ie=function(re){var ee=h(58553),o=h(87804);return{html_beautify:function(C,F){return le(C,F,ee.js_beautify,o.css_beautify)}}}.apply(at,c),ie!==void 0&&(On.exports=ie);else var j,v})()},58553:function(On,at){var h,c;(function(){var ie;(function(){"use strict";var le=[function(ee,o,C){var F=C(1).Beautifier,x=C(5).Options;function A(L,z){var G=new F(L,z);return G.beautify()}ee.exports=A,ee.exports.defaultOptions=function(){return new x}},function(ee,o,C){var F=C(2).Output,x=C(3).Token,A=C(4),L=C(5).Options,z=C(7).Tokenizer,G=C(7).line_starters,Z=C(7).positionable_operators,W=C(7).TOKEN;function P(I,he){return he.indexOf(I)!==-1}function K(I){return I.replace(/^\s+/g,"")}function g(I){for(var he={},Ne=0;Ne<I.length;Ne++)he[I[Ne].replace(/-/g,"_")]=I[Ne];return he}function T(I,he){return I&&I.type===W.RESERVED&&I.text===he}function fe(I,he){return I&&I.type===W.RESERVED&&P(I.text,he)}var Ee=["case","return","do","if","throw","else","await","break","continue","async"],pe=["before-newline","after-newline","preserve-newline"],Be=g(pe),je=[Be.before_newline,Be.preserve_newline],Le={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function it(I,he){he.multiline_frame||he.mode===Le.ForInitializer||he.mode===Le.Conditional||I.remove_indent(he.start_line_index)}function ce(I){I=I.replace(A.allLineBreaks,`
|
|
`);for(var he=[],Ne=I.indexOf(`
|
|
`);Ne!==-1;)he.push(I.substring(0,Ne)),I=I.substring(Ne+1),Ne=I.indexOf(`
|
|
`);return I.length&&he.push(I),he}function Y(I){return I===Le.ArrayLiteral}function N(I){return P(I,[Le.Expression,Le.ForInitializer,Le.Conditional])}function ve(I,he){for(var Ne=0;Ne<I.length;Ne++){var Qe=I[Ne].trim();if(Qe.charAt(0)!==he)return!1}return!0}function ue(I,he){for(var Ne=0,Qe=I.length,Et;Ne<Qe;Ne++)if(Et=I[Ne],Et&&Et.indexOf(he)!==0)return!1;return!0}function we(I,he){he=he||{},this._source_text=I||"",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 L(he)}we.prototype.create_flags=function(I,he){var Ne=0;I&&(Ne=I.indentation_level,!this._output.just_added_newline()&&I.line_indent_level>Ne&&(Ne=I.line_indent_level));var Qe={mode:he,parent:I,last_token:I?I.last_token:new x(W.START_BLOCK,""),last_word:I?I.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:Ne,alignment:0,line_indent_level:I?I.line_indent_level:Ne,start_line_index:this._output.get_line_number(),ternary_depth:0};return Qe},we.prototype._reset=function(I){var he=I.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new F(this._options,he),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(Le.BlockStatement);var Ne=new z(I,this._options);return this._tokens=Ne.tokenize(),I},we.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var I,he=this._reset(this._source_text),Ne=this._options.eol;this._options.eol==="auto"&&(Ne=`
|
|
`,he&&A.lineBreak.test(he||"")&&(Ne=he.match(A.lineBreak)[0]));for(var Qe=this._tokens.next();Qe;)this.handle_token(Qe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Qe,Qe=this._tokens.next();return I=this._output.get_code(Ne),I},we.prototype.handle_token=function(I,he){I.type===W.START_EXPR?this.handle_start_expr(I):I.type===W.END_EXPR?this.handle_end_expr(I):I.type===W.START_BLOCK?this.handle_start_block(I):I.type===W.END_BLOCK?this.handle_end_block(I):I.type===W.WORD?this.handle_word(I):I.type===W.RESERVED?this.handle_word(I):I.type===W.SEMICOLON?this.handle_semicolon(I):I.type===W.STRING?this.handle_string(I):I.type===W.EQUALS?this.handle_equals(I):I.type===W.OPERATOR?this.handle_operator(I):I.type===W.COMMA?this.handle_comma(I):I.type===W.BLOCK_COMMENT?this.handle_block_comment(I,he):I.type===W.COMMENT?this.handle_comment(I,he):I.type===W.DOT?this.handle_dot(I):I.type===W.EOF?this.handle_eof(I):I.type===W.UNKNOWN?this.handle_unknown(I,he):this.handle_unknown(I,he)},we.prototype.handle_whitespace_and_comments=function(I,he){var Ne=I.newlines,Qe=this._options.keep_array_indentation&&Y(this._flags.mode);if(I.comments_before)for(var Et=I.comments_before.next();Et;)this.handle_whitespace_and_comments(Et,he),this.handle_token(Et,he),Et=I.comments_before.next();if(Qe)for(var He=0;He<Ne;He+=1)this.print_newline(He>0,he);else if(this._options.max_preserve_newlines&&Ne>this._options.max_preserve_newlines&&(Ne=this._options.max_preserve_newlines),this._options.preserve_newlines&&Ne>1){this.print_newline(!1,he);for(var Oe=1;Oe<Ne;Oe+=1)this.print_newline(!0,he)}};var _=["async","break","continue","return","throw","yield"];we.prototype.allow_wrap_or_preserved_newline=function(I,he){if(he=he===void 0?!1:he,!this._output.just_added_newline()){var Ne=this._options.preserve_newlines&&I.newlines||he,Qe=P(this._flags.last_token.text,Z)||P(I.text,Z);if(Qe){var Et=P(this._flags.last_token.text,Z)&&P(this._options.operator_position,je)||P(I.text,Z);Ne=Ne&&Et}if(Ne)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(fe(this._flags.last_token,_))return;this._output.set_wrap_point()}}},we.prototype.print_newline=function(I,he){if(!he&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==W.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var Ne=this._tokens.peek();this._flags.mode===Le.Statement&&!(this._flags.if_block&&T(Ne,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(I)&&(this._flags.multiline_frame=!0)},we.prototype.print_token_line_indentation=function(I){this._output.just_added_newline()&&(this._options.keep_array_indentation&&I.newlines&&(I.text==="["||Y(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(I.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))},we.prototype.print_token=function(I){if(this._output.raw){this._output.add_raw_token(I);return}if(this._options.comma_first&&I.previous&&I.previous.type===W.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var he=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(he),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(I),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(I),this._output.non_breaking_space=!0,this._output.add_token(I.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},we.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},we.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))},we.prototype.set_mode=function(I){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,I),this._flags=this.create_flags(this._previous_flags,I),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},we.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===Le.Statement&&it(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},we.prototype.start_of_object_property=function(){return this._flags.parent.mode===Le.ObjectLiteral&&this._flags.mode===Le.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||fe(this._flags.last_token,["get","set"]))},we.prototype.start_of_statement=function(I){var he=!1;return he=he||fe(this._flags.last_token,["var","let","const"])&&I.type===W.WORD,he=he||T(this._flags.last_token,"do"),he=he||!(this._flags.parent.mode===Le.ObjectLiteral&&this._flags.mode===Le.Statement)&&fe(this._flags.last_token,_)&&!I.newlines,he=he||T(this._flags.last_token,"else")&&!(T(I,"if")&&!I.comments_before),he=he||this._flags.last_token.type===W.END_EXPR&&(this._previous_flags.mode===Le.ForInitializer||this._previous_flags.mode===Le.Conditional),he=he||this._flags.last_token.type===W.WORD&&this._flags.mode===Le.BlockStatement&&!this._flags.in_case&&!(I.text==="--"||I.text==="++")&&this._last_last_text!=="function"&&I.type!==W.WORD&&I.type!==W.RESERVED,he=he||this._flags.mode===Le.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||fe(this._flags.last_token,["get","set"])),he?(this.set_mode(Le.Statement),this.indent(),this.handle_whitespace_and_comments(I,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(I,fe(I,["do","for","if","while"])),!0):!1},we.prototype.handle_start_expr=function(I){this.start_of_statement(I)||this.handle_whitespace_and_comments(I);var he=Le.Expression;if(I.text==="["){if(this._flags.last_token.type===W.WORD||this._flags.last_token.text===")"){fe(this._flags.last_token,G)&&(this._output.space_before_token=!0),this.print_token(I),this.set_mode(he),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}he=Le.ArrayLiteral,Y(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),P(this._flags.last_token.type,[W.START_EXPR,W.END_EXPR,W.WORD,W.OPERATOR,W.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===W.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,he=Le.ForInitializer):P(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,he=Le.Conditional):P(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&I.whitespace_before===""?this._output.space_before_token=!1:(P(this._flags.last_token.text,G)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===W.EQUALS||this._flags.last_token.type===W.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(I);else if(this._flags.last_token.type===W.WORD){this._output.space_before_token=!1;var Ne=this._tokens.peek(-3);if(this._options.space_after_named_function&&Ne){var Qe=this._tokens.peek(-4);fe(Ne,["async","function"])||Ne.text==="*"&&fe(Qe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===Le.ObjectLiteral?(Ne.text==="{"||Ne.text===","||Ne.text==="*"&&(Qe.text==="{"||Qe.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(I);(this._flags.last_token.type===W.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(P(this._last_last_text,["function","yield"])||this._flags.mode===Le.ObjectLiteral&&P(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===W.START_BLOCK?this.print_newline():(this._flags.last_token.type===W.END_EXPR||this._flags.last_token.type===W.START_EXPR||this._flags.last_token.type===W.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===W.COMMA)&&this.allow_wrap_or_preserved_newline(I,I.newlines),this.print_token(I),this.set_mode(he),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},we.prototype.handle_end_expr=function(I){for(;this._flags.mode===Le.Statement;)this.restore_mode();this.handle_whitespace_and_comments(I),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(I,I.text==="]"&&Y(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===W.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(I),this.restore_mode(),it(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===Le.Conditional&&(this._previous_flags.mode=Le.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},we.prototype.handle_start_block=function(I){this.handle_whitespace_and_comments(I);var he=this._tokens.peek(),Ne=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===W.END_EXPR?(this.set_mode(Le.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(Le.BlockStatement):Ne&&(P(Ne.text,[":",","])&&P(he.type,[W.STRING,W.WORD,W.RESERVED])||P(he.text,["get","set","..."])&&P(Ne.type,[W.WORD,W.RESERVED]))?P(this._last_last_text,["class","interface"])&&!P(Ne.text,[":",","])?this.set_mode(Le.BlockStatement):this.set_mode(Le.ObjectLiteral):this._flags.last_token.type===W.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(Le.BlockStatement):P(this._flags.last_token.type,[W.EQUALS,W.START_EXPR,W.COMMA,W.OPERATOR])||fe(this._flags.last_token,["return","throw","import","default"])?this.set_mode(Le.ObjectLiteral):this.set_mode(Le.BlockStatement),this._flags.last_token&&fe(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Qe=!he.comments_before&&he.text==="}",Et=Qe&&this._flags.last_word==="function"&&this._flags.last_token.type===W.END_EXPR;if(this._options.brace_preserve_inline){var He=0,Oe=null;this._flags.inline_frame=!0;do if(He+=1,Oe=this._tokens.peek(He-1),Oe.newlines){this._flags.inline_frame=!1;break}while(Oe.type!==W.EOF&&!(Oe.type===W.END_BLOCK&&Oe.opened===I))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&I.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==W.OPERATOR&&(Et||this._flags.last_token.type===W.EQUALS||fe(this._flags.last_token,Ee)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(Y(this._previous_flags.mode)&&(this._flags.last_token.type===W.START_EXPR||this._flags.last_token.type===W.COMMA)&&((this._flags.last_token.type===W.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===W.COMMA||this._flags.last_token.type===W.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(I),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==W.OPERATOR&&this._flags.last_token.type!==W.START_EXPR&&(P(this._flags.last_token.type,[W.START_BLOCK,W.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(I),this.indent(),!Qe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},we.prototype.handle_end_block=function(I){for(this.handle_whitespace_and_comments(I);this._flags.mode===Le.Statement;)this.restore_mode();var he=this._flags.last_token.type===W.START_BLOCK;this._flags.inline_frame&&!he?this._output.space_before_token=!0:this._options.brace_style==="expand"?he||this.print_newline():he||(Y(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(I)},we.prototype.handle_word=function(I){if(I.type===W.RESERVED){if(P(I.text,["set","get"])&&this._flags.mode!==Le.ObjectLiteral)I.type=W.WORD;else if(I.text==="import"&&P(this._tokens.peek().text,["(","."]))I.type=W.WORD;else if(P(I.text,["as","from"])&&!this._flags.import_block)I.type=W.WORD;else if(this._flags.mode===Le.ObjectLiteral){var he=this._tokens.peek();he.text===":"&&(I.type=W.WORD)}}if(this.start_of_statement(I)?fe(this._flags.last_token,["var","let","const"])&&I.type===W.WORD&&(this._flags.declaration_statement=!0):I.newlines&&!N(this._flags.mode)&&(this._flags.last_token.type!==W.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==W.EQUALS&&(this._options.preserve_newlines||!fe(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(I),this.print_newline()):this.handle_whitespace_and_comments(I),this._flags.do_block&&!this._flags.do_while)if(T(I,"while")){this._output.space_before_token=!0,this.print_token(I),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&&T(I,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===Le.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&fe(I,["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(I),this._flags.in_case=!0;return}if((this._flags.last_token.type===W.COMMA||this._flags.last_token.type===W.START_EXPR||this._flags.last_token.type===W.EQUALS||this._flags.last_token.type===W.OPERATOR)&&!this.start_of_object_property()&&!(P(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===Le.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(I),T(I,"function")){(P(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(P(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===W.OPERATOR))&&!this._output.just_added_blankline()&&!I.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===W.RESERVED||this._flags.last_token.type===W.WORD?fe(this._flags.last_token,["get","set","new","export"])||fe(this._flags.last_token,_)?this._output.space_before_token=!0:T(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===W.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(N(this._flags.mode)||Y(this._flags.mode))||this.print_newline(),this.print_token(I),this._flags.last_word=I.text;return}var Ne="NONE";if(this._flags.last_token.type===W.END_BLOCK?this._previous_flags.inline_frame?Ne="SPACE":fe(I,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&I.newlines?Ne="NEWLINE":(Ne="SPACE",this._output.space_before_token=!0):Ne="NEWLINE":this._flags.last_token.type===W.SEMICOLON&&this._flags.mode===Le.BlockStatement?Ne="NEWLINE":this._flags.last_token.type===W.SEMICOLON&&N(this._flags.mode)?Ne="SPACE":this._flags.last_token.type===W.STRING?Ne="NEWLINE":this._flags.last_token.type===W.RESERVED||this._flags.last_token.type===W.WORD||this._flags.last_token.text==="*"&&(P(this._last_last_text,["function","yield"])||this._flags.mode===Le.ObjectLiteral&&P(this._last_last_text,["{",","]))?Ne="SPACE":this._flags.last_token.type===W.START_BLOCK?this._flags.inline_frame?Ne="SPACE":Ne="NEWLINE":this._flags.last_token.type===W.END_EXPR&&(this._output.space_before_token=!0,Ne="NEWLINE"),fe(I,G)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?Ne="SPACE":Ne="NEWLINE"),fe(I,["else","catch","finally"]))if((!(this._flags.last_token.type===W.END_BLOCK&&this._previous_flags.mode===Le.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&I.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Qe=this._output.current_line;Qe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else Ne==="NEWLINE"?fe(this._flags.last_token,Ee)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&fe(I,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==W.END_EXPR?(this._flags.last_token.type!==W.START_EXPR||!fe(I,["var","let","const"]))&&this._flags.last_token.text!==":"&&(T(I,"if")&&T(I.previous,"else")?this._output.space_before_token=!0:this.print_newline()):fe(I,G)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&Y(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():Ne==="SPACE"&&(this._output.space_before_token=!0);I.previous&&(I.previous.type===W.WORD||I.previous.type===W.RESERVED)&&(this._output.space_before_token=!0),this.print_token(I),this._flags.last_word=I.text,I.type===W.RESERVED&&(I.text==="do"?this._flags.do_block=!0:I.text==="if"?this._flags.if_block=!0:I.text==="import"?this._flags.import_block=!0:this._flags.import_block&&T(I,"from")&&(this._flags.import_block=!1))},we.prototype.handle_semicolon=function(I){this.start_of_statement(I)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(I);for(var he=this._tokens.peek();this._flags.mode===Le.Statement&&!(this._flags.if_block&&T(he,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(I)},we.prototype.handle_string=function(I){I.text.startsWith("`")&&I.newlines===0&&I.whitespace_before===""&&(I.previous.text===")"||this._flags.last_token.type===W.WORD)||(this.start_of_statement(I)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(I),this._flags.last_token.type===W.RESERVED||this._flags.last_token.type===W.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===W.COMMA||this._flags.last_token.type===W.START_EXPR||this._flags.last_token.type===W.EQUALS||this._flags.last_token.type===W.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(I):I.text.startsWith("`")&&this._flags.last_token.type===W.END_EXPR&&(I.previous.text==="]"||I.previous.text===")")&&I.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(I)},we.prototype.handle_equals=function(I){this.start_of_statement(I)||this.handle_whitespace_and_comments(I),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(I),this._output.space_before_token=!0},we.prototype.handle_comma=function(I){this.handle_whitespace_and_comments(I,!0),this.print_token(I),this._output.space_before_token=!0,this._flags.declaration_statement?(N(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(I)):this._flags.mode===Le.ObjectLiteral||this._flags.mode===Le.Statement&&this._flags.parent.mode===Le.ObjectLiteral?(this._flags.mode===Le.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(I)},we.prototype.handle_operator=function(I){var he=I.text==="*"&&(fe(this._flags.last_token,["function","yield"])||P(this._flags.last_token.type,[W.START_BLOCK,W.COMMA,W.END_BLOCK,W.SEMICOLON])),Ne=P(I.text,["-","+"])&&(P(this._flags.last_token.type,[W.START_BLOCK,W.START_EXPR,W.EQUALS,W.OPERATOR])||P(this._flags.last_token.text,G)||this._flags.last_token.text===",");if(!this.start_of_statement(I)){var Qe=!he;this.handle_whitespace_and_comments(I,Qe)}if(I.text==="*"&&this._flags.last_token.type===W.DOT){this.print_token(I);return}if(I.text==="::"){this.print_token(I);return}if(P(I.text,["-","+"])&&this.start_of_object_property()){this.print_token(I);return}if(this._flags.last_token.type===W.OPERATOR&&P(this._options.operator_position,je)&&this.allow_wrap_or_preserved_newline(I),I.text===":"&&this._flags.in_case){this.print_token(I),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==W.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 Et=!0,He=!0,Oe=!1;if(I.text===":"?this._flags.ternary_depth===0?Et=!1:(this._flags.ternary_depth-=1,Oe=!0):I.text==="?"&&(this._flags.ternary_depth+=1),!Ne&&!he&&this._options.preserve_newlines&&P(I.text,Z)){var lt=I.text===":",St=lt&&Oe,ze=lt&&!Oe;switch(this._options.operator_position){case Be.before_newline:this._output.space_before_token=!ze,this.print_token(I),(!lt||St)&&this.allow_wrap_or_preserved_newline(I),this._output.space_before_token=!0;return;case Be.after_newline:this._output.space_before_token=!0,!lt||St?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(I):this._output.space_before_token=!1,this.print_token(I),this._output.space_before_token=!0;return;case Be.preserve_newline:ze||this.allow_wrap_or_preserved_newline(I),Et=!(this._output.just_added_newline()||ze),this._output.space_before_token=Et,this.print_token(I),this._output.space_before_token=!0;return}}if(he){this.allow_wrap_or_preserved_newline(I),Et=!1;var At=this._tokens.peek();He=At&&P(At.type,[W.WORD,W.RESERVED])}else if(I.text==="...")this.allow_wrap_or_preserved_newline(I),Et=this._flags.last_token.type===W.START_BLOCK,He=!1;else if(P(I.text,["--","++","!","~"])||Ne){if((this._flags.last_token.type===W.COMMA||this._flags.last_token.type===W.START_EXPR)&&this.allow_wrap_or_preserved_newline(I),Et=!1,He=!1,I.newlines&&(I.text==="--"||I.text==="++"||I.text==="~")){var ke=fe(this._flags.last_token,Ee)&&I.newlines;ke&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(ke,!0)}this._flags.last_token.text===";"&&N(this._flags.mode)&&(Et=!0),this._flags.last_token.type===W.RESERVED?Et=!0:this._flags.last_token.type===W.END_EXPR?Et=!(this._flags.last_token.text==="]"&&(I.text==="--"||I.text==="++")):this._flags.last_token.type===W.OPERATOR&&(Et=P(I.text,["--","-","++","+"])&&P(this._flags.last_token.text,["--","-","++","+"]),P(I.text,["+","-"])&&P(this._flags.last_token.text,["--","++"])&&(He=!0)),(this._flags.mode===Le.BlockStatement&&!this._flags.inline_frame||this._flags.mode===Le.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Et,this.print_token(I),this._output.space_before_token=He},we.prototype.handle_block_comment=function(I,he){if(this._output.raw){this._output.add_raw_token(I),I.directives&&I.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(I.directives){this.print_newline(!1,he),this.print_token(I),I.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!A.newline.test(I.text)&&!I.newlines){this._output.space_before_token=!0,this.print_token(I),this._output.space_before_token=!0;return}else this.print_block_commment(I,he)},we.prototype.print_block_commment=function(I,he){var Ne=ce(I.text),Qe,Et=!1,He=!1,Oe=I.whitespace_before,lt=Oe.length;if(this.print_newline(!1,he),this.print_token_line_indentation(I),this._output.add_token(Ne[0]),this.print_newline(!1,he),Ne.length>1){for(Ne=Ne.slice(1),Et=ve(Ne,"*"),He=ue(Ne,Oe),Et&&(this._flags.alignment=1),Qe=0;Qe<Ne.length;Qe++)Et?(this.print_token_line_indentation(I),this._output.add_token(K(Ne[Qe]))):He&&Ne[Qe]?(this.print_token_line_indentation(I),this._output.add_token(Ne[Qe].substring(lt))):(this._output.current_line.set_indent(-1),this._output.add_token(Ne[Qe])),this.print_newline(!1,he);this._flags.alignment=0}},we.prototype.handle_comment=function(I,he){I.newlines?this.print_newline(!1,he):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(I),this.print_newline(!1,he)},we.prototype.handle_dot=function(I){this.start_of_statement(I)||this.handle_whitespace_and_comments(I,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),fe(this._flags.last_token,Ee)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(I,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(I)},we.prototype.handle_unknown=function(I,he){this.print_token(I),I.text[I.text.length-1]===`
|
|
`&&this.print_newline(!1,he)},we.prototype.handle_eof=function(I){for(;this._flags.mode===Le.Statement;)this.restore_mode();this.handle_whitespace_and_comments(I)},ee.exports.Beautifier=we},function(ee){function o(x){this.__parent=x,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 x=new o(this.__parent);return x.set_indent(this.__indent_count,this.__alignment_count),x},o.prototype.item=function(x){return x<0?this.__items[this.__items.length+x]:this.__items[x]},o.prototype.has_match=function(x){for(var A=this.__items.length-1;A>=0;A--)if(this.__items[A].match(x))return!0;return!1},o.prototype.set_indent=function(x,A){this.is_empty()&&(this.__indent_count=x||0,this.__alignment_count=A||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 x=this.__parent.current_line;return x.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),x.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),x.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,x.__items[0]===" "&&(x.__items.splice(0,1),x.__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(x){this.__items.push(x);var A=x.lastIndexOf(`
|
|
`);A!==-1?this.__character_count=x.length-A:this.__character_count+=x.length},o.prototype.pop=function(){var x=null;return this.is_empty()||(x=this.__items.pop(),this.__character_count-=x.length),x},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 x="";return this.is_empty()?this.__parent.indent_empty_lines&&(x=this.__parent.get_indent_string(this.__indent_count)):(x=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),x+=this.__items.join("")),x};function C(x,A){this.__cache=[""],this.__indent_size=x.indent_size,this.__indent_string=x.indent_char,x.indent_with_tabs||(this.__indent_string=new Array(x.indent_size+1).join(x.indent_char)),A=A||"",x.indent_level>0&&(A=new Array(x.indent_level+1).join(this.__indent_string)),this.__base_string=A,this.__base_string_length=A.length}C.prototype.get_indent_size=function(x,A){var L=this.__base_string_length;return A=A||0,x<0&&(L=0),L+=x*this.__indent_size,L+=A,L},C.prototype.get_indent_string=function(x,A){var L=this.__base_string;return A=A||0,x<0&&(x=0,L=""),A+=x*this.__indent_size,this.__ensure_cache(A),L+=this.__cache[A],L},C.prototype.__ensure_cache=function(x){for(;x>=this.__cache.length;)this.__add_column()},C.prototype.__add_column=function(){var x=this.__cache.length,A=0,L="";this.__indent_size&&x>=this.__indent_size&&(A=Math.floor(x/this.__indent_size),x-=A*this.__indent_size,L=new Array(A+1).join(this.__indent_string)),x&&(L+=new Array(x+1).join(" ")),this.__cache.push(L)};function F(x,A){this.__indent_cache=new C(x,A),this.raw=!1,this._end_with_newline=x.end_with_newline,this.indent_size=x.indent_size,this.wrap_line_length=x.wrap_line_length,this.indent_empty_lines=x.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()}F.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},F.prototype.get_line_number=function(){return this.__lines.length},F.prototype.get_indent_string=function(x,A){return this.__indent_cache.get_indent_string(x,A)},F.prototype.get_indent_size=function(x,A){return this.__indent_cache.get_indent_size(x,A)},F.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},F.prototype.add_new_line=function(x){return this.is_empty()||!x&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},F.prototype.get_code=function(x){this.trim(!0);var A=this.current_line.pop();A&&(A[A.length-1]===`
|
|
`&&(A=A.replace(/\n+$/g,"")),this.current_line.push(A)),this._end_with_newline&&this.__add_outputline();var L=this.__lines.join(`
|
|
`);return x!==`
|
|
`&&(L=L.replace(/[\n]/g,x)),L},F.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},F.prototype.set_indent=function(x,A){return x=x||0,A=A||0,this.next_line.set_indent(x,A),this.__lines.length>1?(this.current_line.set_indent(x,A),!0):(this.current_line.set_indent(),!1)},F.prototype.add_raw_token=function(x){for(var A=0;A<x.newlines;A++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(x.whitespace_before),this.current_line.push(x.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},F.prototype.add_token=function(x){this.__add_space_before_token(),this.current_line.push(x),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},F.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(" "))},F.prototype.remove_indent=function(x){for(var A=this.__lines.length;x<A;)this.__lines[x]._remove_indent(),x++;this.current_line._remove_wrap_indent()},F.prototype.trim=function(x){for(x=x===void 0?!1:x,this.current_line.trim();x&&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},F.prototype.just_added_newline=function(){return this.current_line.is_empty()},F.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},F.prototype.ensure_empty_line_above=function(x,A){for(var L=this.__lines.length-2;L>=0;){var z=this.__lines[L];if(z.is_empty())break;if(z.item(0).indexOf(x)!==0&&z.item(-1)!==A){this.__lines.splice(L+1,0,new o(this)),this.previous_line=this.__lines[this.__lines.length-2];break}L--}},ee.exports.Output=F},function(ee){function o(C,F,x,A){this.type=C,this.text=F,this.comments_before=null,this.newlines=x||0,this.whitespace_before=A||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}ee.exports.Token=o},function(ee,o){var C="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",F="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",x="\\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",A="\\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",L="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",z="(?:"+L+"|["+C+x+"])",G="(?:"+L+"|["+F+x+A+"])*";o.identifier=new RegExp(z+G,"g"),o.identifierStart=new RegExp(z),o.identifierMatch=new RegExp("(?:"+L+"|["+F+x+A+"])+");var Z=/[\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(ee,o,C){var F=C(6).Options,x=["before-newline","after-newline","preserve-newline"];function A(L){F.call(this,L,"js");var z=this.raw_options.brace_style||null;z==="expand-strict"?this.raw_options.brace_style="expand":z==="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 G=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var Z=0;Z<G.length;Z++)G[Z]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=G[Z];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",x),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}A.prototype=new F,ee.exports.Options=A},function(ee){function o(x,A){this.raw_options=C(x,A),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(x,A){var L=this.raw_options[x],z=A||[];return typeof L=="object"?L!==null&&typeof L.concat=="function"&&(z=L.concat()):typeof L=="string"&&(z=L.split(/[^a-zA-Z0-9_\/\-]+/)),z},o.prototype._get_boolean=function(x,A){var L=this.raw_options[x],z=L===void 0?!!A:!!L;return z},o.prototype._get_characters=function(x,A){var L=this.raw_options[x],z=A||"";return typeof L=="string"&&(z=L.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),z},o.prototype._get_number=function(x,A){var L=this.raw_options[x];A=parseInt(A,10),isNaN(A)&&(A=0);var z=parseInt(L,10);return isNaN(z)&&(z=A),z},o.prototype._get_selection=function(x,A,L){var z=this._get_selection_list(x,A,L);if(z.length!==1)throw new Error("Invalid Option Value: The option '"+x+`' can only be one of the following values:
|
|
`+A+`
|
|
You passed in: '`+this.raw_options[x]+"'");return z[0]},o.prototype._get_selection_list=function(x,A,L){if(!A||A.length===0)throw new Error("Selection list cannot be empty.");if(L=L||[A[0]],!this._is_valid_selection(L,A))throw new Error("Invalid Default Value!");var z=this._get_array(x,L);if(!this._is_valid_selection(z,A))throw new Error("Invalid Option Value: The option '"+x+`' can contain only the following values:
|
|
`+A+`
|
|
You passed in: '`+this.raw_options[x]+"'");return z},o.prototype._is_valid_selection=function(x,A){return x.length&&A.length&&!x.some(function(L){return A.indexOf(L)===-1})};function C(x,A){var L={};x=F(x);var z;for(z in x)z!==A&&(L[z]=x[z]);if(A&&x[A])for(z in x[A])L[z]=x[A][z];return L}function F(x){var A={},L;for(L in x){var z=L.replace(/-/g,"_");A[z]=x[L]}return A}ee.exports.Options=o,ee.exports.normalizeOpts=F,ee.exports.mergeOpts=C},function(ee,o,C){var F=C(8).InputScanner,x=C(9).Tokenizer,A=C(9).TOKEN,L=C(13).Directives,z=C(4),G=C(12).Pattern,Z=C(14).TemplatablePattern;function W(ve,ue){return ue.indexOf(ve)!==-1}var P={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:A.START,RAW:A.RAW,EOF:A.EOF},K=new L(/\/\*/,/\*\//),g=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,T=/[0-9]/,fe=/[^\d\.]/,Ee=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),pe=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";pe=pe.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),pe="\\?\\.(?!\\d) "+pe,pe=pe.replace(/ /g,"|");var Be=new RegExp(pe),je="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),Le=je.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),it=new RegExp("^(?:"+Le.join("|")+")$"),ce,Y=function(ve,ue){x.call(this,ve,ue),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var we=new G(this._input),_=new Z(this._input).read_options(this._options);this.__patterns={template:_,identifier:_.starting_with(z.identifier).matching(z.identifierMatch),number:we.matching(g),punct:we.matching(Be),comment:we.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:we.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:we.matching(/<!--/),html_comment_end:we.matching(/-->/),include:we.starting_with(/#include/).until_after(z.lineBreak),shebang:we.starting_with(/#!/).until_after(z.lineBreak),xml:we.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:_.until(/['\\\n\r\u2028\u2029]/),double_quote:_.until(/["\\\n\r\u2028\u2029]/),template_text:_.until(/[`\\$]/),template_expression:_.until(/[`}\\]/)}};Y.prototype=new x,Y.prototype._is_comment=function(ve){return ve.type===P.COMMENT||ve.type===P.BLOCK_COMMENT||ve.type===P.UNKNOWN},Y.prototype._is_opening=function(ve){return ve.type===P.START_BLOCK||ve.type===P.START_EXPR},Y.prototype._is_closing=function(ve,ue){return(ve.type===P.END_BLOCK||ve.type===P.END_EXPR)&&ue&&(ve.text==="]"&&ue.text==="["||ve.text===")"&&ue.text==="("||ve.text==="}"&&ue.text==="{")},Y.prototype._reset=function(){ce=!1},Y.prototype._get_next_token=function(ve,ue){var we=null;this._readWhitespace();var _=this._input.peek();return _===null?this._create_token(P.EOF,""):(we=we||this._read_non_javascript(_),we=we||this._read_string(_),we=we||this._read_pair(_,this._input.peek(1)),we=we||this._read_word(ve),we=we||this._read_singles(_),we=we||this._read_comment(_),we=we||this._read_regexp(_,ve),we=we||this._read_xml(_,ve),we=we||this._read_punctuation(),we=we||this._create_token(P.UNKNOWN,this._input.next()),we)},Y.prototype._read_word=function(ve){var ue;if(ue=this.__patterns.identifier.read(),ue!=="")return ue=ue.replace(z.allLineBreaks,`
|
|
`),!(ve.type===P.DOT||ve.type===P.RESERVED&&(ve.text==="set"||ve.text==="get"))&&it.test(ue)?(ue==="in"||ue==="of")&&(ve.type===P.WORD||ve.type===P.STRING)?this._create_token(P.OPERATOR,ue):this._create_token(P.RESERVED,ue):this._create_token(P.WORD,ue);if(ue=this.__patterns.number.read(),ue!=="")return this._create_token(P.WORD,ue)},Y.prototype._read_singles=function(ve){var ue=null;return ve==="("||ve==="["?ue=this._create_token(P.START_EXPR,ve):ve===")"||ve==="]"?ue=this._create_token(P.END_EXPR,ve):ve==="{"?ue=this._create_token(P.START_BLOCK,ve):ve==="}"?ue=this._create_token(P.END_BLOCK,ve):ve===";"?ue=this._create_token(P.SEMICOLON,ve):ve==="."&&fe.test(this._input.peek(1))?ue=this._create_token(P.DOT,ve):ve===","&&(ue=this._create_token(P.COMMA,ve)),ue&&this._input.next(),ue},Y.prototype._read_pair=function(ve,ue){var we=null;return ve==="#"&&ue==="{"&&(we=this._create_token(P.START_BLOCK,ve+ue)),we&&(this._input.next(),this._input.next()),we},Y.prototype._read_punctuation=function(){var ve=this.__patterns.punct.read();if(ve!=="")return ve==="="?this._create_token(P.EQUALS,ve):ve==="?."?this._create_token(P.DOT,ve):this._create_token(P.OPERATOR,ve)},Y.prototype._read_non_javascript=function(ve){var ue="";if(ve==="#"){if(this._is_first_token()&&(ue=this.__patterns.shebang.read(),ue))return this._create_token(P.UNKNOWN,ue.trim()+`
|
|
`);if(ue=this.__patterns.include.read(),ue)return this._create_token(P.UNKNOWN,ue.trim()+`
|
|
`);ve=this._input.next();var we="#";if(this._input.hasNext()&&this._input.testChar(T)){do ve=this._input.next(),we+=ve;while(this._input.hasNext()&&ve!=="#"&&ve!=="=");return ve==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(we+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(we+="{}",this._input.next(),this._input.next())),this._create_token(P.WORD,we)}this._input.back()}else if(ve==="<"&&this._is_first_token()){if(ue=this.__patterns.html_comment_start.read(),ue){for(;this._input.hasNext()&&!this._input.testChar(z.newline);)ue+=this._input.next();return ce=!0,this._create_token(P.COMMENT,ue)}}else if(ce&&ve==="-"&&(ue=this.__patterns.html_comment_end.read(),ue))return ce=!1,this._create_token(P.COMMENT,ue);return null},Y.prototype._read_comment=function(ve){var ue=null;if(ve==="/"){var we="";if(this._input.peek(1)==="*"){we=this.__patterns.block_comment.read();var _=K.get_directives(we);_&&_.ignore==="start"&&(we+=K.readIgnored(this._input)),we=we.replace(z.allLineBreaks,`
|
|
`),ue=this._create_token(P.BLOCK_COMMENT,we),ue.directives=_}else this._input.peek(1)==="/"&&(we=this.__patterns.comment.read(),ue=this._create_token(P.COMMENT,we))}return ue},Y.prototype._read_string=function(ve){if(ve==="`"||ve==="'"||ve==='"'){var ue=this._input.next();return this.has_char_escapes=!1,ve==="`"?ue+=this._read_string_recursive("`",!0,"${"):ue+=this._read_string_recursive(ve),this.has_char_escapes&&this._options.unescape_strings&&(ue=N(ue)),this._input.peek()===ve&&(ue+=this._input.next()),ue=ue.replace(z.allLineBreaks,`
|
|
`),this._create_token(P.STRING,ue)}return null},Y.prototype._allow_regexp_or_xml=function(ve){return ve.type===P.RESERVED&&W(ve.text,["return","case","throw","else","do","typeof","yield"])||ve.type===P.END_EXPR&&ve.text===")"&&ve.opened.previous.type===P.RESERVED&&W(ve.opened.previous.text,["if","while","for"])||W(ve.type,[P.COMMENT,P.START_EXPR,P.START_BLOCK,P.START,P.END_BLOCK,P.OPERATOR,P.EQUALS,P.EOF,P.SEMICOLON,P.COMMA])},Y.prototype._read_regexp=function(ve,ue){if(ve==="/"&&this._allow_regexp_or_xml(ue)){for(var we=this._input.next(),_=!1,I=!1;this._input.hasNext()&&(_||I||this._input.peek()!==ve)&&!this._input.testChar(z.newline);)we+=this._input.peek(),_?_=!1:(_=this._input.peek()==="\\",this._input.peek()==="["?I=!0:this._input.peek()==="]"&&(I=!1)),this._input.next();return this._input.peek()===ve&&(we+=this._input.next(),we+=this._input.read(z.identifier)),this._create_token(P.STRING,we)}return null},Y.prototype._read_xml=function(ve,ue){if(this._options.e4x&&ve==="<"&&this._allow_regexp_or_xml(ue)){var we="",_=this.__patterns.xml.read_match();if(_){for(var I=_[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),he=I.indexOf("{")===0,Ne=0;_;){var Qe=!!_[1],Et=_[2],He=!!_[_.length-1]||Et.slice(0,8)==="![CDATA[";if(!He&&(Et===I||he&&Et.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Qe?--Ne:++Ne),we+=_[0],Ne<=0)break;_=this.__patterns.xml.read_match()}return _||(we+=this._input.match(/[\s\S]*/g)[0]),we=we.replace(z.allLineBreaks,`
|
|
`),this._create_token(P.STRING,we)}}return null};function N(ve){for(var ue="",we=0,_=new F(ve),I=null;_.hasNext();)if(I=_.match(/([\s]|[^\\]|\\\\)+/g),I&&(ue+=I[0]),_.peek()==="\\"){if(_.next(),_.peek()==="x")I=_.match(/x([0-9A-Fa-f]{2})/g);else if(_.peek()==="u")I=_.match(/u([0-9A-Fa-f]{4})/g),I||(I=_.match(/u\{([0-9A-Fa-f]+)\}/g));else{ue+="\\",_.hasNext()&&(ue+=_.next());continue}if(!I||(we=parseInt(I[1],16),we>126&&we<=255&&I[0].indexOf("x")===0))return ve;we>=0&&we<32||we>1114111?ue+="\\"+I[0]:we===34||we===39||we===92?ue+="\\"+String.fromCharCode(we):ue+=String.fromCharCode(we)}return ue}Y.prototype._read_string_recursive=function(ve,ue,we){var _,I;ve==="'"?I=this.__patterns.single_quote:ve==='"'?I=this.__patterns.double_quote:ve==="`"?I=this.__patterns.template_text:ve==="}"&&(I=this.__patterns.template_expression);for(var he=I.read(),Ne="";this._input.hasNext();){if(Ne=this._input.next(),Ne===ve||!ue&&z.newline.test(Ne)){this._input.back();break}else Ne==="\\"&&this._input.hasNext()?(_=this._input.peek(),_==="x"||_==="u"?this.has_char_escapes=!0:_==="\r"&&this._input.peek(1)===`
|
|
`&&this._input.next(),Ne+=this._input.next()):we&&(we==="${"&&Ne==="$"&&this._input.peek()==="{"&&(Ne+=this._input.next()),we===Ne&&(ve==="`"?Ne+=this._read_string_recursive("}",ue,"`"):Ne+=this._read_string_recursive("`",ue,"${"),this._input.hasNext()&&(Ne+=this._input.next())));Ne+=I.read(),he+=Ne}return he},ee.exports.Tokenizer=Y,ee.exports.TOKEN=P,ee.exports.positionable_operators=Ee.slice(),ee.exports.line_starters=je.slice()},function(ee){var o=RegExp.prototype.hasOwnProperty("sticky");function C(F){this.__input=F||"",this.__input_length=this.__input.length,this.__position=0}C.prototype.restart=function(){this.__position=0},C.prototype.back=function(){this.__position>0&&(this.__position-=1)},C.prototype.hasNext=function(){return this.__position<this.__input_length},C.prototype.next=function(){var F=null;return this.hasNext()&&(F=this.__input.charAt(this.__position),this.__position+=1),F},C.prototype.peek=function(F){var x=null;return F=F||0,F+=this.__position,F>=0&&F<this.__input_length&&(x=this.__input.charAt(F)),x},C.prototype.__match=function(F,x){F.lastIndex=x;var A=F.exec(this.__input);return A&&!(o&&F.sticky)&&A.index!==x&&(A=null),A},C.prototype.test=function(F,x){return x=x||0,x+=this.__position,x>=0&&x<this.__input_length?!!this.__match(F,x):!1},C.prototype.testChar=function(F,x){var A=this.peek(x);return F.lastIndex=0,A!==null&&F.test(A)},C.prototype.match=function(F){var x=this.__match(F,this.__position);return x?this.__position+=x[0].length:x=null,x},C.prototype.read=function(F,x,A){var L="",z;return F&&(z=this.match(F),z&&(L+=z[0])),x&&(z||!F)&&(L+=this.readUntil(x,A)),L},C.prototype.readUntil=function(F,x){var A="",L=this.__position;F.lastIndex=this.__position;var z=F.exec(this.__input);return z?(L=z.index,x&&(L+=z[0].length)):L=this.__input_length,A=this.__input.substring(this.__position,L),this.__position=L,A},C.prototype.readUntilAfter=function(F){return this.readUntil(F,!0)},C.prototype.get_regexp=function(F,x){var A=null,L="g";return x&&o&&(L="y"),typeof F=="string"&&F!==""?A=new RegExp(F,L):F&&(A=new RegExp(F.source,L)),A},C.prototype.get_literal_regexp=function(F){return RegExp(F.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},C.prototype.peekUntilAfter=function(F){var x=this.__position,A=this.readUntilAfter(F);return this.__position=x,A},C.prototype.lookBack=function(F){var x=this.__position-1;return x>=F.length&&this.__input.substring(x-F.length,x).toLowerCase()===F},ee.exports.InputScanner=C},function(ee,o,C){var F=C(8).InputScanner,x=C(3).Token,A=C(10).TokenStream,L=C(11).WhitespacePattern,z={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},G=function(Z,W){this._input=new F(Z),this._options=W||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new L(this._input)};G.prototype.tokenize=function(){this._input.restart(),this.__tokens=new A,this._reset();for(var Z,W=new x(z.START,""),P=null,K=[],g=new A;W.type!==z.EOF;){for(Z=this._get_next_token(W,P);this._is_comment(Z);)g.add(Z),Z=this._get_next_token(W,P);g.isEmpty()||(Z.comments_before=g,g=new A),Z.parent=P,this._is_opening(Z)?(K.push(P),P=Z):P&&this._is_closing(Z,P)&&(Z.opened=P,P.closed=Z,P=K.pop(),Z.parent=P),Z.previous=W,W.next=Z,this.__tokens.add(Z),W=Z}return this.__tokens},G.prototype._is_first_token=function(){return this.__tokens.isEmpty()},G.prototype._reset=function(){},G.prototype._get_next_token=function(Z,W){this._readWhitespace();var P=this._input.read(/.+/g);return P?this._create_token(z.RAW,P):this._create_token(z.EOF,"")},G.prototype._is_comment=function(Z){return!1},G.prototype._is_opening=function(Z){return!1},G.prototype._is_closing=function(Z,W){return!1},G.prototype._create_token=function(Z,W){var P=new x(Z,W,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return P},G.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},ee.exports.Tokenizer=G,ee.exports.TOKEN=z},function(ee){function o(C){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=C}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 C=null;return this.hasNext()&&(C=this.__tokens[this.__position],this.__position+=1),C},o.prototype.peek=function(C){var F=null;return C=C||0,C+=this.__position,C>=0&&C<this.__tokens_length&&(F=this.__tokens[C]),F},o.prototype.add=function(C){this.__parent_token&&(C.parent=this.__parent_token),this.__tokens.push(C),this.__tokens_length+=1},ee.exports.TokenStream=o},function(ee,o,C){var F=C(12).Pattern;function x(A,L){F.call(this,A,L),L?this._line_regexp=this._input.get_regexp(L._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}x.prototype=new F,x.prototype.__set_whitespace_patterns=function(A,L){A+="\\t ",L+="\\n\\r",this._match_pattern=this._input.get_regexp("["+A+L+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+L+"]")},x.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var A=this._input.read(this._match_pattern);if(A===" ")this.whitespace_before_token=" ";else if(A){var L=this.__split(this._newline_regexp,A);this.newline_count=L.length-1,this.whitespace_before_token=L[this.newline_count]}return A},x.prototype.matching=function(A,L){var z=this._create();return z.__set_whitespace_patterns(A,L),z._update(),z},x.prototype._create=function(){return new x(this._input,this)},x.prototype.__split=function(A,L){A.lastIndex=0;for(var z=0,G=[],Z=A.exec(L);Z;)G.push(L.substring(z,Z.index)),z=Z.index+Z[0].length,Z=A.exec(L);return z<L.length?G.push(L.substring(z,L.length)):G.push(""),G},ee.exports.WhitespacePattern=x},function(ee){function o(C,F){this._input=C,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,F&&(this._starting_pattern=this._input.get_regexp(F._starting_pattern,!0),this._match_pattern=this._input.get_regexp(F._match_pattern,!0),this._until_pattern=this._input.get_regexp(F._until_pattern),this._until_after=F._until_after)}o.prototype.read=function(){var C=this._input.read(this._starting_pattern);return(!this._starting_pattern||C)&&(C+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),C},o.prototype.read_match=function(){return this._input.match(this._match_pattern)},o.prototype.until_after=function(C){var F=this._create();return F._until_after=!0,F._until_pattern=this._input.get_regexp(C),F._update(),F},o.prototype.until=function(C){var F=this._create();return F._until_after=!1,F._until_pattern=this._input.get_regexp(C),F._update(),F},o.prototype.starting_with=function(C){var F=this._create();return F._starting_pattern=this._input.get_regexp(C,!0),F._update(),F},o.prototype.matching=function(C){var F=this._create();return F._match_pattern=this._input.get_regexp(C,!0),F._update(),F},o.prototype._create=function(){return new o(this._input,this)},o.prototype._update=function(){},ee.exports.Pattern=o},function(ee){function o(C,F){C=typeof C=="string"?C:C.source,F=typeof F=="string"?F:F.source,this.__directives_block_pattern=new RegExp(C+/ beautify( \w+[:]\w+)+ /.source+F,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(C+/\sbeautify\signore:end\s/.source+F,"g")}o.prototype.get_directives=function(C){if(!C.match(this.__directives_block_pattern))return null;var F={};this.__directive_pattern.lastIndex=0;for(var x=this.__directive_pattern.exec(C);x;)F[x[1]]=x[2],x=this.__directive_pattern.exec(C);return F},o.prototype.readIgnored=function(C){return C.readUntilAfter(this.__directives_end_ignore_pattern)},ee.exports.Directives=o},function(ee,o,C){var F=C(12).Pattern,x={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function A(L,z){F.call(this,L,z),this.__template_pattern=null,this._disabled=Object.assign({},x),this._excluded=Object.assign({},x),z&&(this.__template_pattern=this._input.get_regexp(z.__template_pattern),this._excluded=Object.assign(this._excluded,z._excluded),this._disabled=Object.assign(this._disabled,z._disabled));var G=new F(L);this.__patterns={handlebars_comment:G.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:G.starting_with(/{{{/).until_after(/}}}/),handlebars:G.starting_with(/{{/).until_after(/}}/),php:G.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:G.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:G.starting_with(/{%/).until_after(/%}/),django_value:G.starting_with(/{{/).until_after(/}}/),django_comment:G.starting_with(/{#/).until_after(/#}/),smarty:G.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:G.starting_with(/{\*/).until_after(/\*}/),smarty_literal:G.starting_with(/{literal}/).until_after(/{\/literal}/)}}A.prototype=new F,A.prototype._create=function(){return new A(this._input,this)},A.prototype._update=function(){this.__set_templated_pattern()},A.prototype.disable=function(L){var z=this._create();return z._disabled[L]=!0,z._update(),z},A.prototype.read_options=function(L){var z=this._create();for(var G in x)z._disabled[G]=L.templating.indexOf(G)===-1;return z._update(),z},A.prototype.exclude=function(L){var z=this._create();return z._excluded[L]=!0,z._update(),z},A.prototype.read=function(){var L="";this._match_pattern?L=this._input.read(this._starting_pattern):L=this._input.read(this._starting_pattern,this.__template_pattern);for(var z=this._read_template();z;)this._match_pattern?z+=this._input.read(this._match_pattern):z+=this._input.readUntil(this.__template_pattern),L+=z,z=this._read_template();return this._until_after&&(L+=this._input.readUntilAfter(this._until_pattern)),L},A.prototype.__set_templated_pattern=function(){var L=[];this._disabled.php||L.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||L.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||L.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||L.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(L.push(this.__patterns.django._starting_pattern.source),L.push(this.__patterns.django_value._starting_pattern.source),L.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||L.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&L.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+L.join("|")+")")},A.prototype._read_template=function(){var L="",z=this._input.peek();if(z==="<"){var G=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&G==="?"&&(L=L||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&G==="%"&&(L=L||this.__patterns.erb.read())}else z==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(L=L||this.__patterns.handlebars_comment.read(),L=L||this.__patterns.handlebars_unescaped.read(),L=L||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(L=L||this.__patterns.django_value.read()),this._excluded.django||(L=L||this.__patterns.django_comment.read(),L=L||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(L=L||this.__patterns.smarty_comment.read(),L=L||this.__patterns.smarty_literal.read(),L=L||this.__patterns.smarty.read()));return L},ee.exports.TemplatablePattern=A}],j={};function v(ee){var o=j[ee];if(o!==void 0)return o.exports;var C=j[ee]={exports:{}};return le[ee](C,C.exports,v),C.exports}var re=v(0);ie=re})();var O=ie;h=[],c=function(){return{js_beautify:O}}.apply(at,h),c!==void 0&&(On.exports=c)})()},15342:function(On){(function(h,c){On.exports=c()})(typeof self!="undefined"?self:this,function(){return function(at){var h={};function c(ie){if(h[ie])return h[ie].exports;var O=h[ie]={i:ie,l:!1,exports:{}};return at[ie].call(O.exports,O,O.exports,c),O.l=!0,O.exports}return c.m=at,c.c=h,c.d=function(ie,O,le){c.o(ie,O)||Object.defineProperty(ie,O,{enumerable:!0,get:le})},c.r=function(ie){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ie,"__esModule",{value:!0})},c.t=function(ie,O){if(O&1&&(ie=c(ie)),O&8||O&4&&typeof ie=="object"&&ie&&ie.__esModule)return ie;var le=Object.create(null);if(c.r(le),Object.defineProperty(le,"default",{enumerable:!0,value:ie}),O&2&&typeof ie!="string")for(var j in ie)c.d(le,j,function(v){return ie[v]}.bind(null,j));return le},c.n=function(ie){var O=ie&&ie.__esModule?function(){return ie.default}:function(){return ie};return c.d(O,"a",O),O},c.o=function(ie,O){return Object.prototype.hasOwnProperty.call(ie,O)},c.p="",c(c.s=1)}([function(at,h,c){},function(at,h,c){"use strict";c.r(h);var ie=c(0),O=function(){function B(l,d,f){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=l,this.start=d,this.end=f}return B.range=function(d,f){return f?!d||!d.loc||!f.loc||d.loc.lexer!==f.loc.lexer?null:new B(d.loc.lexer,d.loc.start,f.loc.end):d&&d.loc},B}(),le=function(){function B(d,f){this.text=void 0,this.loc=void 0,this.text=d,this.loc=f}var l=B.prototype;return l.range=function(f,b){return new B(b,O.range(this,f))},B}(),j=function B(l,d){this.position=void 0;var f="KaTeX parse error: "+l,b,R=d&&d.loc;if(R&&R.start<=R.end){var H=R.lexer.input;b=R.start;var ge=R.end;b===H.length?f+=" at end of input: ":f+=" at position "+(b+1)+": ";var Ce=H.slice(b,ge).replace(/[^]/g,"$&\u0332"),Ke;b>15?Ke="\u2026"+H.slice(b-15,b):Ke=H.slice(0,b);var pt;ge+15<H.length?pt=H.slice(ge,ge+15)+"\u2026":pt=H.slice(ge),f+=Ke+Ce+pt}var Tt=new Error(f);return Tt.name="ParseError",Tt.__proto__=B.prototype,Tt.position=b,Tt};j.prototype.__proto__=Error.prototype;var v=j,re=function(l,d){return l.indexOf(d)!==-1},ee=function(l,d){return l===void 0?d:l},o=/([A-Z])/g,C=function(l){return l.replace(o,"-$1").toLowerCase()},F={"&":"&",">":">","<":"<",'"':""","'":"'"},x=/[&><"']/g;function A(B){return String(B).replace(x,function(l){return F[l]})}var L=function B(l){return l.type==="ordgroup"||l.type==="color"?l.body.length===1?B(l.body[0]):l:l.type==="font"?B(l.body):l},z=function(l){var d=L(l);return d.type==="mathord"||d.type==="textord"||d.type==="atom"},G=function(l){if(!l)throw new Error("Expected non-null, but got "+String(l));return l},Z=function(l){var d=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(l);return d!=null?d[1]:"_relative"},W={contains:re,deflt:ee,escape:A,hyphenate:C,getBaseElem:L,isCharacterBox:z,protocolFromUrl:Z},P=function(){function B(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=W.deflt(d.displayMode,!1),this.output=W.deflt(d.output,"htmlAndMathml"),this.leqno=W.deflt(d.leqno,!1),this.fleqn=W.deflt(d.fleqn,!1),this.throwOnError=W.deflt(d.throwOnError,!0),this.errorColor=W.deflt(d.errorColor,"#cc0000"),this.macros=d.macros||{},this.minRuleThickness=Math.max(0,W.deflt(d.minRuleThickness,0)),this.colorIsTextColor=W.deflt(d.colorIsTextColor,!1),this.strict=W.deflt(d.strict,"warn"),this.trust=W.deflt(d.trust,!1),this.maxSize=Math.max(0,W.deflt(d.maxSize,1/0)),this.maxExpand=Math.max(0,W.deflt(d.maxExpand,1e3))}var l=B.prototype;return l.reportNonstrict=function(f,b,R){var H=this.strict;if(typeof H=="function"&&(H=H(f,b,R)),!(!H||H==="ignore")){if(H===!0||H==="error")throw new v("LaTeX-incompatible input and strict mode is set to 'error': "+(b+" ["+f+"]"),R);H==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(b+" ["+f+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+H+"': "+b+" ["+f+"]"))}},l.useStrictBehavior=function(f,b,R){var H=this.strict;if(typeof H=="function")try{H=H(f,b,R)}catch(ge){H="error"}return!H||H==="ignore"?!1:H===!0||H==="error"?!0:H==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(b+" ["+f+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+H+"': "+b+" ["+f+"]")),!1)},l.isTrusted=function(f){f.url&&!f.protocol&&(f.protocol=W.protocolFromUrl(f.url));var b=typeof this.trust=="function"?this.trust(f):this.trust;return!!b},B}(),K=function(){function B(d,f,b){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=d,this.size=f,this.cramped=b}var l=B.prototype;return l.sup=function(){return it[ce[this.id]]},l.sub=function(){return it[Y[this.id]]},l.fracNum=function(){return it[N[this.id]]},l.fracDen=function(){return it[ve[this.id]]},l.cramp=function(){return it[ue[this.id]]},l.text=function(){return it[we[this.id]]},l.isTight=function(){return this.size>=2},B}(),g=0,T=1,fe=2,Ee=3,pe=4,Be=5,je=6,Le=7,it=[new K(g,0,!1),new K(T,0,!0),new K(fe,1,!1),new K(Ee,1,!0),new K(pe,2,!1),new K(Be,2,!0),new K(je,3,!1),new K(Le,3,!0)],ce=[pe,Be,pe,Be,je,Le,je,Le],Y=[Be,Be,Be,Be,Le,Le,Le,Le],N=[fe,Ee,pe,Be,je,Le,je,Le],ve=[Ee,Ee,Be,Be,Le,Le,Le,Le],ue=[T,T,Ee,Ee,Be,Be,Le,Le],we=[g,T,fe,Ee,fe,Ee,fe,Ee],_={DISPLAY:it[g],TEXT:it[fe],SCRIPT:it[pe],SCRIPTSCRIPT:it[je]},I=[{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 he(B){for(var l=0;l<I.length;l++)for(var d=I[l],f=0;f<d.blocks.length;f++){var b=d.blocks[f];if(B>=b[0]&&B<=b[1])return d.name}return null}var Ne=[];I.forEach(function(B){return B.blocks.forEach(function(l){return Ne.push.apply(Ne,l)})});function Qe(B){for(var l=0;l<Ne.length;l+=2)if(B>=Ne[l]&&B<=Ne[l+1])return!0;return!1}var Et=80,He=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"},Oe=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"},lt=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"},St=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"},ze=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"},At=function(l,d,f){var b=f-54-d-l;return"M702 "+(l+d)+"H400000"+(40+l)+`
|
|
H742v`+b+`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"},ke=function(l,d,f){d=1e3*d;var b="";switch(l){case"sqrtMain":b=He(d,Et);break;case"sqrtSize1":b=Oe(d,Et);break;case"sqrtSize2":b=lt(d,Et);break;case"sqrtSize3":b=St(d,Et);break;case"sqrtSize4":b=ze(d,Et);break;case"sqrtTall":b=At(d,Et,f)}return b},Ht={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`},dt=function(){function B(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=B.prototype;return l.hasClass=function(f){return W.contains(this.classes,f)},l.toNode=function(){for(var f=document.createDocumentFragment(),b=0;b<this.children.length;b++)f.appendChild(this.children[b].toNode());return f},l.toMarkup=function(){for(var f="",b=0;b<this.children.length;b++)f+=this.children[b].toMarkup();return f},l.toText=function(){var f=function(R){return R.toText()};return this.children.map(f).join("")},B}(),ct=function(l){return l.filter(function(d){return d}).join(" ")},Xe=function(l,d,f){if(this.classes=l||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=f||{},d){d.style.isTight()&&this.classes.push("mtight");var b=d.getColor();b&&(this.style.color=b)}},Re=function(l){var d=document.createElement(l);d.className=ct(this.classes);for(var f in this.style)this.style.hasOwnProperty(f)&&(d.style[f]=this.style[f]);for(var b in this.attributes)this.attributes.hasOwnProperty(b)&&d.setAttribute(b,this.attributes[b]);for(var R=0;R<this.children.length;R++)d.appendChild(this.children[R].toNode());return d},oe=function(l){var d="<"+l;this.classes.length&&(d+=' class="'+W.escape(ct(this.classes))+'"');var f="";for(var b in this.style)this.style.hasOwnProperty(b)&&(f+=W.hyphenate(b)+":"+this.style[b]+";");f&&(d+=' style="'+W.escape(f)+'"');for(var R in this.attributes)this.attributes.hasOwnProperty(R)&&(d+=" "+R+'="'+W.escape(this.attributes[R])+'"');d+=">";for(var H=0;H<this.children.length;H++)d+=this.children[H].toMarkup();return d+="</"+l+">",d},qe=function(){function B(d,f,b,R){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,Xe.call(this,d,b,R),this.children=f||[]}var l=B.prototype;return l.setAttribute=function(f,b){this.attributes[f]=b},l.hasClass=function(f){return W.contains(this.classes,f)},l.toNode=function(){return Re.call(this,"span")},l.toMarkup=function(){return oe.call(this,"span")},B}(),Me=function(){function B(d,f,b,R){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,Xe.call(this,f,R),this.children=b||[],this.setAttribute("href",d)}var l=B.prototype;return l.setAttribute=function(f,b){this.attributes[f]=b},l.hasClass=function(f){return W.contains(this.classes,f)},l.toNode=function(){return Re.call(this,"a")},l.toMarkup=function(){return oe.call(this,"a")},B}(),U=function(){function B(d,f,b){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=f,this.src=d,this.classes=["mord"],this.style=b}var l=B.prototype;return l.hasClass=function(f){return W.contains(this.classes,f)},l.toNode=function(){var f=document.createElement("img");f.src=this.src,f.alt=this.alt,f.className="mord";for(var b in this.style)this.style.hasOwnProperty(b)&&(f.style[b]=this.style[b]);return f},l.toMarkup=function(){var f="<img src='"+this.src+" 'alt='"+this.alt+"' ",b="";for(var R in this.style)this.style.hasOwnProperty(R)&&(b+=W.hyphenate(R)+":"+this.style[R]+";");return b&&(f+=' style="'+W.escape(b)+'"'),f+="'/>",f},B}(),M={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},ye=function(){function B(d,f,b,R,H,ge,Ce,Ke){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=f||0,this.depth=b||0,this.italic=R||0,this.skew=H||0,this.width=ge||0,this.classes=Ce||[],this.style=Ke||{},this.maxFontSize=0;var pt=he(this.text.charCodeAt(0));pt&&this.classes.push(pt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=M[this.text])}var l=B.prototype;return l.hasClass=function(f){return W.contains(this.classes,f)},l.toNode=function(){var f=document.createTextNode(this.text),b=null;this.italic>0&&(b=document.createElement("span"),b.style.marginRight=this.italic+"em"),this.classes.length>0&&(b=b||document.createElement("span"),b.className=ct(this.classes));for(var R in this.style)this.style.hasOwnProperty(R)&&(b=b||document.createElement("span"),b.style[R]=this.style[R]);return b?(b.appendChild(f),b):f},l.toMarkup=function(){var f=!1,b="<span";this.classes.length&&(f=!0,b+=' class="',b+=W.escape(ct(this.classes)),b+='"');var R="";this.italic>0&&(R+="margin-right:"+this.italic+"em;");for(var H in this.style)this.style.hasOwnProperty(H)&&(R+=W.hyphenate(H)+":"+this.style[H]+";");R&&(f=!0,b+=' style="'+W.escape(R)+'"');var ge=W.escape(this.text);return f?(b+=">",b+=ge,b+="</span>",b):ge},B}(),Te=function(){function B(d,f){this.children=void 0,this.attributes=void 0,this.children=d||[],this.attributes=f||{}}var l=B.prototype;return l.toNode=function(){var f="http://www.w3.org/2000/svg",b=document.createElementNS(f,"svg");for(var R in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,R)&&b.setAttribute(R,this.attributes[R]);for(var H=0;H<this.children.length;H++)b.appendChild(this.children[H].toNode());return b},l.toMarkup=function(){var f="<svg";for(var b in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,b)&&(f+=" "+b+"='"+this.attributes[b]+"'");f+=">";for(var R=0;R<this.children.length;R++)f+=this.children[R].toMarkup();return f+="</svg>",f},B}(),xe=function(){function B(d,f){this.pathName=void 0,this.alternate=void 0,this.pathName=d,this.alternate=f}var l=B.prototype;return l.toNode=function(){var f="http://www.w3.org/2000/svg",b=document.createElementNS(f,"path");return this.alternate?b.setAttribute("d",this.alternate):b.setAttribute("d",Ht[this.pathName]),b},l.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Ht[this.pathName]+"'/>"},B}(),ae=function(){function B(d){this.attributes=void 0,this.attributes=d||{}}var l=B.prototype;return l.toNode=function(){var f="http://www.w3.org/2000/svg",b=document.createElementNS(f,"line");for(var R in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,R)&&b.setAttribute(R,this.attributes[R]);return b},l.toMarkup=function(){var f="<line";for(var b in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,b)&&(f+=" "+b+"='"+this.attributes[b]+"'");return f+="/>",f},B}();function Fe(B){if(B instanceof ye)return B;throw new Error("Expected symbolNode but got "+String(B)+".")}function nt(B){if(B instanceof qe)return B;throw new Error("Expected span<HtmlDomNode> but got "+String(B)+".")}var se={"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]}},me={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]},vt={\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 ft(B,l){se[B]=l}function xt(B,l,d){if(!se[l])throw new Error("Font metrics not found for font: "+l+".");var f=B.charCodeAt(0),b=se[l][f];if(!b&&B[0]in vt&&(f=vt[B[0]].charCodeAt(0),b=se[l][f]),!b&&d==="text"&&Qe(f)&&(b=se[l][77]),b)return{depth:b[0],height:b[1],italic:b[2],skew:b[3],width:b[4]}}var gt={};function tt(B){var l;if(B>=5?l=0:B>=3?l=1:l=2,!gt[l]){var d=gt[l]={cssEmPerMu:me.quad[l]/18};for(var f in me)me.hasOwnProperty(f)&&(d[f]=me[f][l])}return gt[l]}var Pt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},_t={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ae={math:{},text:{}},et=Ae;function E(B,l,d,f,b,R){Ae[B][b]={font:l,group:d,replace:f},R&&f&&(Ae[B][f]=Ae[B][b])}var D="math",Ve="text",ne="main",q="ams",jt="accent-token",Ue="bin",st="close",ht="inner",de="mathord",be="op-token",We="open",Ze="punct",Q="rel",Mt="spacing",_e="textord";E(D,ne,Q,"\u2261","\\equiv",!0),E(D,ne,Q,"\u227A","\\prec",!0),E(D,ne,Q,"\u227B","\\succ",!0),E(D,ne,Q,"\u223C","\\sim",!0),E(D,ne,Q,"\u22A5","\\perp"),E(D,ne,Q,"\u2AAF","\\preceq",!0),E(D,ne,Q,"\u2AB0","\\succeq",!0),E(D,ne,Q,"\u2243","\\simeq",!0),E(D,ne,Q,"\u2223","\\mid",!0),E(D,ne,Q,"\u226A","\\ll",!0),E(D,ne,Q,"\u226B","\\gg",!0),E(D,ne,Q,"\u224D","\\asymp",!0),E(D,ne,Q,"\u2225","\\parallel"),E(D,ne,Q,"\u22C8","\\bowtie",!0),E(D,ne,Q,"\u2323","\\smile",!0),E(D,ne,Q,"\u2291","\\sqsubseteq",!0),E(D,ne,Q,"\u2292","\\sqsupseteq",!0),E(D,ne,Q,"\u2250","\\doteq",!0),E(D,ne,Q,"\u2322","\\frown",!0),E(D,ne,Q,"\u220B","\\ni",!0),E(D,ne,Q,"\u221D","\\propto",!0),E(D,ne,Q,"\u22A2","\\vdash",!0),E(D,ne,Q,"\u22A3","\\dashv",!0),E(D,ne,Q,"\u220B","\\owns"),E(D,ne,Ze,".","\\ldotp"),E(D,ne,Ze,"\u22C5","\\cdotp"),E(D,ne,_e,"#","\\#"),E(Ve,ne,_e,"#","\\#"),E(D,ne,_e,"&","\\&"),E(Ve,ne,_e,"&","\\&"),E(D,ne,_e,"\u2135","\\aleph",!0),E(D,ne,_e,"\u2200","\\forall",!0),E(D,ne,_e,"\u210F","\\hbar",!0),E(D,ne,_e,"\u2203","\\exists",!0),E(D,ne,_e,"\u2207","\\nabla",!0),E(D,ne,_e,"\u266D","\\flat",!0),E(D,ne,_e,"\u2113","\\ell",!0),E(D,ne,_e,"\u266E","\\natural",!0),E(D,ne,_e,"\u2663","\\clubsuit",!0),E(D,ne,_e,"\u2118","\\wp",!0),E(D,ne,_e,"\u266F","\\sharp",!0),E(D,ne,_e,"\u2662","\\diamondsuit",!0),E(D,ne,_e,"\u211C","\\Re",!0),E(D,ne,_e,"\u2661","\\heartsuit",!0),E(D,ne,_e,"\u2111","\\Im",!0),E(D,ne,_e,"\u2660","\\spadesuit",!0),E(Ve,ne,_e,"\xA7","\\S",!0),E(Ve,ne,_e,"\xB6","\\P",!0),E(D,ne,_e,"\u2020","\\dag"),E(Ve,ne,_e,"\u2020","\\dag"),E(Ve,ne,_e,"\u2020","\\textdagger"),E(D,ne,_e,"\u2021","\\ddag"),E(Ve,ne,_e,"\u2021","\\ddag"),E(Ve,ne,_e,"\u2021","\\textdaggerdbl"),E(D,ne,st,"\u23B1","\\rmoustache",!0),E(D,ne,We,"\u23B0","\\lmoustache",!0),E(D,ne,st,"\u27EF","\\rgroup",!0),E(D,ne,We,"\u27EE","\\lgroup",!0),E(D,ne,Ue,"\u2213","\\mp",!0),E(D,ne,Ue,"\u2296","\\ominus",!0),E(D,ne,Ue,"\u228E","\\uplus",!0),E(D,ne,Ue,"\u2293","\\sqcap",!0),E(D,ne,Ue,"\u2217","\\ast"),E(D,ne,Ue,"\u2294","\\sqcup",!0),E(D,ne,Ue,"\u25EF","\\bigcirc"),E(D,ne,Ue,"\u2219","\\bullet"),E(D,ne,Ue,"\u2021","\\ddagger"),E(D,ne,Ue,"\u2240","\\wr",!0),E(D,ne,Ue,"\u2A3F","\\amalg"),E(D,ne,Ue,"&","\\And"),E(D,ne,Q,"\u27F5","\\longleftarrow",!0),E(D,ne,Q,"\u21D0","\\Leftarrow",!0),E(D,ne,Q,"\u27F8","\\Longleftarrow",!0),E(D,ne,Q,"\u27F6","\\longrightarrow",!0),E(D,ne,Q,"\u21D2","\\Rightarrow",!0),E(D,ne,Q,"\u27F9","\\Longrightarrow",!0),E(D,ne,Q,"\u2194","\\leftrightarrow",!0),E(D,ne,Q,"\u27F7","\\longleftrightarrow",!0),E(D,ne,Q,"\u21D4","\\Leftrightarrow",!0),E(D,ne,Q,"\u27FA","\\Longleftrightarrow",!0),E(D,ne,Q,"\u21A6","\\mapsto",!0),E(D,ne,Q,"\u27FC","\\longmapsto",!0),E(D,ne,Q,"\u2197","\\nearrow",!0),E(D,ne,Q,"\u21A9","\\hookleftarrow",!0),E(D,ne,Q,"\u21AA","\\hookrightarrow",!0),E(D,ne,Q,"\u2198","\\searrow",!0),E(D,ne,Q,"\u21BC","\\leftharpoonup",!0),E(D,ne,Q,"\u21C0","\\rightharpoonup",!0),E(D,ne,Q,"\u2199","\\swarrow",!0),E(D,ne,Q,"\u21BD","\\leftharpoondown",!0),E(D,ne,Q,"\u21C1","\\rightharpoondown",!0),E(D,ne,Q,"\u2196","\\nwarrow",!0),E(D,ne,Q,"\u21CC","\\rightleftharpoons",!0),E(D,q,Q,"\u226E","\\nless",!0),E(D,q,Q,"\uE010","\\@nleqslant"),E(D,q,Q,"\uE011","\\@nleqq"),E(D,q,Q,"\u2A87","\\lneq",!0),E(D,q,Q,"\u2268","\\lneqq",!0),E(D,q,Q,"\uE00C","\\@lvertneqq"),E(D,q,Q,"\u22E6","\\lnsim",!0),E(D,q,Q,"\u2A89","\\lnapprox",!0),E(D,q,Q,"\u2280","\\nprec",!0),E(D,q,Q,"\u22E0","\\npreceq",!0),E(D,q,Q,"\u22E8","\\precnsim",!0),E(D,q,Q,"\u2AB9","\\precnapprox",!0),E(D,q,Q,"\u2241","\\nsim",!0),E(D,q,Q,"\uE006","\\@nshortmid"),E(D,q,Q,"\u2224","\\nmid",!0),E(D,q,Q,"\u22AC","\\nvdash",!0),E(D,q,Q,"\u22AD","\\nvDash",!0),E(D,q,Q,"\u22EA","\\ntriangleleft"),E(D,q,Q,"\u22EC","\\ntrianglelefteq",!0),E(D,q,Q,"\u228A","\\subsetneq",!0),E(D,q,Q,"\uE01A","\\@varsubsetneq"),E(D,q,Q,"\u2ACB","\\subsetneqq",!0),E(D,q,Q,"\uE017","\\@varsubsetneqq"),E(D,q,Q,"\u226F","\\ngtr",!0),E(D,q,Q,"\uE00F","\\@ngeqslant"),E(D,q,Q,"\uE00E","\\@ngeqq"),E(D,q,Q,"\u2A88","\\gneq",!0),E(D,q,Q,"\u2269","\\gneqq",!0),E(D,q,Q,"\uE00D","\\@gvertneqq"),E(D,q,Q,"\u22E7","\\gnsim",!0),E(D,q,Q,"\u2A8A","\\gnapprox",!0),E(D,q,Q,"\u2281","\\nsucc",!0),E(D,q,Q,"\u22E1","\\nsucceq",!0),E(D,q,Q,"\u22E9","\\succnsim",!0),E(D,q,Q,"\u2ABA","\\succnapprox",!0),E(D,q,Q,"\u2246","\\ncong",!0),E(D,q,Q,"\uE007","\\@nshortparallel"),E(D,q,Q,"\u2226","\\nparallel",!0),E(D,q,Q,"\u22AF","\\nVDash",!0),E(D,q,Q,"\u22EB","\\ntriangleright"),E(D,q,Q,"\u22ED","\\ntrianglerighteq",!0),E(D,q,Q,"\uE018","\\@nsupseteqq"),E(D,q,Q,"\u228B","\\supsetneq",!0),E(D,q,Q,"\uE01B","\\@varsupsetneq"),E(D,q,Q,"\u2ACC","\\supsetneqq",!0),E(D,q,Q,"\uE019","\\@varsupsetneqq"),E(D,q,Q,"\u22AE","\\nVdash",!0),E(D,q,Q,"\u2AB5","\\precneqq",!0),E(D,q,Q,"\u2AB6","\\succneqq",!0),E(D,q,Q,"\uE016","\\@nsubseteqq"),E(D,q,Ue,"\u22B4","\\unlhd"),E(D,q,Ue,"\u22B5","\\unrhd"),E(D,q,Q,"\u219A","\\nleftarrow",!0),E(D,q,Q,"\u219B","\\nrightarrow",!0),E(D,q,Q,"\u21CD","\\nLeftarrow",!0),E(D,q,Q,"\u21CF","\\nRightarrow",!0),E(D,q,Q,"\u21AE","\\nleftrightarrow",!0),E(D,q,Q,"\u21CE","\\nLeftrightarrow",!0),E(D,q,Q,"\u25B3","\\vartriangle"),E(D,q,_e,"\u210F","\\hslash"),E(D,q,_e,"\u25BD","\\triangledown"),E(D,q,_e,"\u25CA","\\lozenge"),E(D,q,_e,"\u24C8","\\circledS"),E(D,q,_e,"\xAE","\\circledR"),E(Ve,q,_e,"\xAE","\\circledR"),E(D,q,_e,"\u2221","\\measuredangle",!0),E(D,q,_e,"\u2204","\\nexists"),E(D,q,_e,"\u2127","\\mho"),E(D,q,_e,"\u2132","\\Finv",!0),E(D,q,_e,"\u2141","\\Game",!0),E(D,q,_e,"\u2035","\\backprime"),E(D,q,_e,"\u25B2","\\blacktriangle"),E(D,q,_e,"\u25BC","\\blacktriangledown"),E(D,q,_e,"\u25A0","\\blacksquare"),E(D,q,_e,"\u29EB","\\blacklozenge"),E(D,q,_e,"\u2605","\\bigstar"),E(D,q,_e,"\u2222","\\sphericalangle",!0),E(D,q,_e,"\u2201","\\complement",!0),E(D,q,_e,"\xF0","\\eth",!0),E(D,q,_e,"\u2571","\\diagup"),E(D,q,_e,"\u2572","\\diagdown"),E(D,q,_e,"\u25A1","\\square"),E(D,q,_e,"\u25A1","\\Box"),E(D,q,_e,"\u25CA","\\Diamond"),E(D,q,_e,"\xA5","\\yen",!0),E(Ve,q,_e,"\xA5","\\yen",!0),E(D,q,_e,"\u2713","\\checkmark",!0),E(Ve,q,_e,"\u2713","\\checkmark"),E(D,q,_e,"\u2136","\\beth",!0),E(D,q,_e,"\u2138","\\daleth",!0),E(D,q,_e,"\u2137","\\gimel",!0),E(D,q,_e,"\u03DD","\\digamma",!0),E(D,q,_e,"\u03F0","\\varkappa"),E(D,q,We,"\u250C","\\ulcorner",!0),E(D,q,st,"\u2510","\\urcorner",!0),E(D,q,We,"\u2514","\\llcorner",!0),E(D,q,st,"\u2518","\\lrcorner",!0),E(D,q,Q,"\u2266","\\leqq",!0),E(D,q,Q,"\u2A7D","\\leqslant",!0),E(D,q,Q,"\u2A95","\\eqslantless",!0),E(D,q,Q,"\u2272","\\lesssim",!0),E(D,q,Q,"\u2A85","\\lessapprox",!0),E(D,q,Q,"\u224A","\\approxeq",!0),E(D,q,Ue,"\u22D6","\\lessdot"),E(D,q,Q,"\u22D8","\\lll",!0),E(D,q,Q,"\u2276","\\lessgtr",!0),E(D,q,Q,"\u22DA","\\lesseqgtr",!0),E(D,q,Q,"\u2A8B","\\lesseqqgtr",!0),E(D,q,Q,"\u2251","\\doteqdot"),E(D,q,Q,"\u2253","\\risingdotseq",!0),E(D,q,Q,"\u2252","\\fallingdotseq",!0),E(D,q,Q,"\u223D","\\backsim",!0),E(D,q,Q,"\u22CD","\\backsimeq",!0),E(D,q,Q,"\u2AC5","\\subseteqq",!0),E(D,q,Q,"\u22D0","\\Subset",!0),E(D,q,Q,"\u228F","\\sqsubset",!0),E(D,q,Q,"\u227C","\\preccurlyeq",!0),E(D,q,Q,"\u22DE","\\curlyeqprec",!0),E(D,q,Q,"\u227E","\\precsim",!0),E(D,q,Q,"\u2AB7","\\precapprox",!0),E(D,q,Q,"\u22B2","\\vartriangleleft"),E(D,q,Q,"\u22B4","\\trianglelefteq"),E(D,q,Q,"\u22A8","\\vDash",!0),E(D,q,Q,"\u22AA","\\Vvdash",!0),E(D,q,Q,"\u2323","\\smallsmile"),E(D,q,Q,"\u2322","\\smallfrown"),E(D,q,Q,"\u224F","\\bumpeq",!0),E(D,q,Q,"\u224E","\\Bumpeq",!0),E(D,q,Q,"\u2267","\\geqq",!0),E(D,q,Q,"\u2A7E","\\geqslant",!0),E(D,q,Q,"\u2A96","\\eqslantgtr",!0),E(D,q,Q,"\u2273","\\gtrsim",!0),E(D,q,Q,"\u2A86","\\gtrapprox",!0),E(D,q,Ue,"\u22D7","\\gtrdot"),E(D,q,Q,"\u22D9","\\ggg",!0),E(D,q,Q,"\u2277","\\gtrless",!0),E(D,q,Q,"\u22DB","\\gtreqless",!0),E(D,q,Q,"\u2A8C","\\gtreqqless",!0),E(D,q,Q,"\u2256","\\eqcirc",!0),E(D,q,Q,"\u2257","\\circeq",!0),E(D,q,Q,"\u225C","\\triangleq",!0),E(D,q,Q,"\u223C","\\thicksim"),E(D,q,Q,"\u2248","\\thickapprox"),E(D,q,Q,"\u2AC6","\\supseteqq",!0),E(D,q,Q,"\u22D1","\\Supset",!0),E(D,q,Q,"\u2290","\\sqsupset",!0),E(D,q,Q,"\u227D","\\succcurlyeq",!0),E(D,q,Q,"\u22DF","\\curlyeqsucc",!0),E(D,q,Q,"\u227F","\\succsim",!0),E(D,q,Q,"\u2AB8","\\succapprox",!0),E(D,q,Q,"\u22B3","\\vartriangleright"),E(D,q,Q,"\u22B5","\\trianglerighteq"),E(D,q,Q,"\u22A9","\\Vdash",!0),E(D,q,Q,"\u2223","\\shortmid"),E(D,q,Q,"\u2225","\\shortparallel"),E(D,q,Q,"\u226C","\\between",!0),E(D,q,Q,"\u22D4","\\pitchfork",!0),E(D,q,Q,"\u221D","\\varpropto"),E(D,q,Q,"\u25C0","\\blacktriangleleft"),E(D,q,Q,"\u2234","\\therefore",!0),E(D,q,Q,"\u220D","\\backepsilon"),E(D,q,Q,"\u25B6","\\blacktriangleright"),E(D,q,Q,"\u2235","\\because",!0),E(D,q,Q,"\u22D8","\\llless"),E(D,q,Q,"\u22D9","\\gggtr"),E(D,q,Ue,"\u22B2","\\lhd"),E(D,q,Ue,"\u22B3","\\rhd"),E(D,q,Q,"\u2242","\\eqsim",!0),E(D,ne,Q,"\u22C8","\\Join"),E(D,q,Q,"\u2251","\\Doteq",!0),E(D,q,Ue,"\u2214","\\dotplus",!0),E(D,q,Ue,"\u2216","\\smallsetminus"),E(D,q,Ue,"\u22D2","\\Cap",!0),E(D,q,Ue,"\u22D3","\\Cup",!0),E(D,q,Ue,"\u2A5E","\\doublebarwedge",!0),E(D,q,Ue,"\u229F","\\boxminus",!0),E(D,q,Ue,"\u229E","\\boxplus",!0),E(D,q,Ue,"\u22C7","\\divideontimes",!0),E(D,q,Ue,"\u22C9","\\ltimes",!0),E(D,q,Ue,"\u22CA","\\rtimes",!0),E(D,q,Ue,"\u22CB","\\leftthreetimes",!0),E(D,q,Ue,"\u22CC","\\rightthreetimes",!0),E(D,q,Ue,"\u22CF","\\curlywedge",!0),E(D,q,Ue,"\u22CE","\\curlyvee",!0),E(D,q,Ue,"\u229D","\\circleddash",!0),E(D,q,Ue,"\u229B","\\circledast",!0),E(D,q,Ue,"\u22C5","\\centerdot"),E(D,q,Ue,"\u22BA","\\intercal",!0),E(D,q,Ue,"\u22D2","\\doublecap"),E(D,q,Ue,"\u22D3","\\doublecup"),E(D,q,Ue,"\u22A0","\\boxtimes",!0),E(D,q,Q,"\u21E2","\\dashrightarrow",!0),E(D,q,Q,"\u21E0","\\dashleftarrow",!0),E(D,q,Q,"\u21C7","\\leftleftarrows",!0),E(D,q,Q,"\u21C6","\\leftrightarrows",!0),E(D,q,Q,"\u21DA","\\Lleftarrow",!0),E(D,q,Q,"\u219E","\\twoheadleftarrow",!0),E(D,q,Q,"\u21A2","\\leftarrowtail",!0),E(D,q,Q,"\u21AB","\\looparrowleft",!0),E(D,q,Q,"\u21CB","\\leftrightharpoons",!0),E(D,q,Q,"\u21B6","\\curvearrowleft",!0),E(D,q,Q,"\u21BA","\\circlearrowleft",!0),E(D,q,Q,"\u21B0","\\Lsh",!0),E(D,q,Q,"\u21C8","\\upuparrows",!0),E(D,q,Q,"\u21BF","\\upharpoonleft",!0),E(D,q,Q,"\u21C3","\\downharpoonleft",!0),E(D,q,Q,"\u22B8","\\multimap",!0),E(D,q,Q,"\u21AD","\\leftrightsquigarrow",!0),E(D,q,Q,"\u21C9","\\rightrightarrows",!0),E(D,q,Q,"\u21C4","\\rightleftarrows",!0),E(D,q,Q,"\u21A0","\\twoheadrightarrow",!0),E(D,q,Q,"\u21A3","\\rightarrowtail",!0),E(D,q,Q,"\u21AC","\\looparrowright",!0),E(D,q,Q,"\u21B7","\\curvearrowright",!0),E(D,q,Q,"\u21BB","\\circlearrowright",!0),E(D,q,Q,"\u21B1","\\Rsh",!0),E(D,q,Q,"\u21CA","\\downdownarrows",!0),E(D,q,Q,"\u21BE","\\upharpoonright",!0),E(D,q,Q,"\u21C2","\\downharpoonright",!0),E(D,q,Q,"\u21DD","\\rightsquigarrow",!0),E(D,q,Q,"\u21DD","\\leadsto"),E(D,q,Q,"\u21DB","\\Rrightarrow",!0),E(D,q,Q,"\u21BE","\\restriction"),E(D,ne,_e,"\u2018","`"),E(D,ne,_e,"$","\\$"),E(Ve,ne,_e,"$","\\$"),E(Ve,ne,_e,"$","\\textdollar"),E(D,ne,_e,"%","\\%"),E(Ve,ne,_e,"%","\\%"),E(D,ne,_e,"_","\\_"),E(Ve,ne,_e,"_","\\_"),E(Ve,ne,_e,"_","\\textunderscore"),E(D,ne,_e,"\u2220","\\angle",!0),E(D,ne,_e,"\u221E","\\infty",!0),E(D,ne,_e,"\u2032","\\prime"),E(D,ne,_e,"\u25B3","\\triangle"),E(D,ne,_e,"\u0393","\\Gamma",!0),E(D,ne,_e,"\u0394","\\Delta",!0),E(D,ne,_e,"\u0398","\\Theta",!0),E(D,ne,_e,"\u039B","\\Lambda",!0),E(D,ne,_e,"\u039E","\\Xi",!0),E(D,ne,_e,"\u03A0","\\Pi",!0),E(D,ne,_e,"\u03A3","\\Sigma",!0),E(D,ne,_e,"\u03A5","\\Upsilon",!0),E(D,ne,_e,"\u03A6","\\Phi",!0),E(D,ne,_e,"\u03A8","\\Psi",!0),E(D,ne,_e,"\u03A9","\\Omega",!0),E(D,ne,_e,"A","\u0391"),E(D,ne,_e,"B","\u0392"),E(D,ne,_e,"E","\u0395"),E(D,ne,_e,"Z","\u0396"),E(D,ne,_e,"H","\u0397"),E(D,ne,_e,"I","\u0399"),E(D,ne,_e,"K","\u039A"),E(D,ne,_e,"M","\u039C"),E(D,ne,_e,"N","\u039D"),E(D,ne,_e,"O","\u039F"),E(D,ne,_e,"P","\u03A1"),E(D,ne,_e,"T","\u03A4"),E(D,ne,_e,"X","\u03A7"),E(D,ne,_e,"\xAC","\\neg",!0),E(D,ne,_e,"\xAC","\\lnot"),E(D,ne,_e,"\u22A4","\\top"),E(D,ne,_e,"\u22A5","\\bot"),E(D,ne,_e,"\u2205","\\emptyset"),E(D,q,_e,"\u2205","\\varnothing"),E(D,ne,de,"\u03B1","\\alpha",!0),E(D,ne,de,"\u03B2","\\beta",!0),E(D,ne,de,"\u03B3","\\gamma",!0),E(D,ne,de,"\u03B4","\\delta",!0),E(D,ne,de,"\u03F5","\\epsilon",!0),E(D,ne,de,"\u03B6","\\zeta",!0),E(D,ne,de,"\u03B7","\\eta",!0),E(D,ne,de,"\u03B8","\\theta",!0),E(D,ne,de,"\u03B9","\\iota",!0),E(D,ne,de,"\u03BA","\\kappa",!0),E(D,ne,de,"\u03BB","\\lambda",!0),E(D,ne,de,"\u03BC","\\mu",!0),E(D,ne,de,"\u03BD","\\nu",!0),E(D,ne,de,"\u03BE","\\xi",!0),E(D,ne,de,"\u03BF","\\omicron",!0),E(D,ne,de,"\u03C0","\\pi",!0),E(D,ne,de,"\u03C1","\\rho",!0),E(D,ne,de,"\u03C3","\\sigma",!0),E(D,ne,de,"\u03C4","\\tau",!0),E(D,ne,de,"\u03C5","\\upsilon",!0),E(D,ne,de,"\u03D5","\\phi",!0),E(D,ne,de,"\u03C7","\\chi",!0),E(D,ne,de,"\u03C8","\\psi",!0),E(D,ne,de,"\u03C9","\\omega",!0),E(D,ne,de,"\u03B5","\\varepsilon",!0),E(D,ne,de,"\u03D1","\\vartheta",!0),E(D,ne,de,"\u03D6","\\varpi",!0),E(D,ne,de,"\u03F1","\\varrho",!0),E(D,ne,de,"\u03C2","\\varsigma",!0),E(D,ne,de,"\u03C6","\\varphi",!0),E(D,ne,Ue,"\u2217","*"),E(D,ne,Ue,"+","+"),E(D,ne,Ue,"\u2212","-"),E(D,ne,Ue,"\u22C5","\\cdot",!0),E(D,ne,Ue,"\u2218","\\circ"),E(D,ne,Ue,"\xF7","\\div",!0),E(D,ne,Ue,"\xB1","\\pm",!0),E(D,ne,Ue,"\xD7","\\times",!0),E(D,ne,Ue,"\u2229","\\cap",!0),E(D,ne,Ue,"\u222A","\\cup",!0),E(D,ne,Ue,"\u2216","\\setminus"),E(D,ne,Ue,"\u2227","\\land"),E(D,ne,Ue,"\u2228","\\lor"),E(D,ne,Ue,"\u2227","\\wedge",!0),E(D,ne,Ue,"\u2228","\\vee",!0),E(D,ne,_e,"\u221A","\\surd"),E(D,ne,We,"(","("),E(D,ne,We,"[","["),E(D,ne,We,"\u27E8","\\langle",!0),E(D,ne,We,"\u2223","\\lvert"),E(D,ne,We,"\u2225","\\lVert"),E(D,ne,st,")",")"),E(D,ne,st,"]","]"),E(D,ne,st,"?","?"),E(D,ne,st,"!","!"),E(D,ne,st,"\u27E9","\\rangle",!0),E(D,ne,st,"\u2223","\\rvert"),E(D,ne,st,"\u2225","\\rVert"),E(D,ne,Q,"=","="),E(D,ne,Q,"<","<"),E(D,ne,Q,">",">"),E(D,ne,Q,":",":"),E(D,ne,Q,"\u2248","\\approx",!0),E(D,ne,Q,"\u2245","\\cong",!0),E(D,ne,Q,"\u2265","\\ge"),E(D,ne,Q,"\u2265","\\geq",!0),E(D,ne,Q,"\u2190","\\gets"),E(D,ne,Q,">","\\gt"),E(D,ne,Q,"\u2208","\\in",!0),E(D,ne,Q,"\uE020","\\@not"),E(D,ne,Q,"\u2282","\\subset",!0),E(D,ne,Q,"\u2283","\\supset",!0),E(D,ne,Q,"\u2286","\\subseteq",!0),E(D,ne,Q,"\u2287","\\supseteq",!0),E(D,q,Q,"\u2288","\\nsubseteq",!0),E(D,q,Q,"\u2289","\\nsupseteq",!0),E(D,ne,Q,"\u22A8","\\models"),E(D,ne,Q,"\u2190","\\leftarrow",!0),E(D,ne,Q,"\u2264","\\le"),E(D,ne,Q,"\u2264","\\leq",!0),E(D,ne,Q,"<","\\lt"),E(D,ne,Q,"\u2192","\\rightarrow",!0),E(D,ne,Q,"\u2192","\\to"),E(D,q,Q,"\u2271","\\ngeq",!0),E(D,q,Q,"\u2270","\\nleq",!0),E(D,ne,Mt,"\xA0","\\ "),E(D,ne,Mt,"\xA0","~"),E(D,ne,Mt,"\xA0","\\space"),E(D,ne,Mt,"\xA0","\\nobreakspace"),E(Ve,ne,Mt,"\xA0","\\ "),E(Ve,ne,Mt,"\xA0","~"),E(Ve,ne,Mt,"\xA0","\\space"),E(Ve,ne,Mt,"\xA0","\\nobreakspace"),E(D,ne,Mt,null,"\\nobreak"),E(D,ne,Mt,null,"\\allowbreak"),E(D,ne,Ze,",",","),E(D,ne,Ze,";",";"),E(D,q,Ue,"\u22BC","\\barwedge",!0),E(D,q,Ue,"\u22BB","\\veebar",!0),E(D,ne,Ue,"\u2299","\\odot",!0),E(D,ne,Ue,"\u2295","\\oplus",!0),E(D,ne,Ue,"\u2297","\\otimes",!0),E(D,ne,_e,"\u2202","\\partial",!0),E(D,ne,Ue,"\u2298","\\oslash",!0),E(D,q,Ue,"\u229A","\\circledcirc",!0),E(D,q,Ue,"\u22A1","\\boxdot",!0),E(D,ne,Ue,"\u25B3","\\bigtriangleup"),E(D,ne,Ue,"\u25BD","\\bigtriangledown"),E(D,ne,Ue,"\u2020","\\dagger"),E(D,ne,Ue,"\u22C4","\\diamond"),E(D,ne,Ue,"\u22C6","\\star"),E(D,ne,Ue,"\u25C3","\\triangleleft"),E(D,ne,Ue,"\u25B9","\\triangleright"),E(D,ne,We,"{","\\{"),E(Ve,ne,_e,"{","\\{"),E(Ve,ne,_e,"{","\\textbraceleft"),E(D,ne,st,"}","\\}"),E(Ve,ne,_e,"}","\\}"),E(Ve,ne,_e,"}","\\textbraceright"),E(D,ne,We,"{","\\lbrace"),E(D,ne,st,"}","\\rbrace"),E(D,ne,We,"[","\\lbrack"),E(Ve,ne,_e,"[","\\lbrack"),E(D,ne,st,"]","\\rbrack"),E(Ve,ne,_e,"]","\\rbrack"),E(D,ne,We,"(","\\lparen"),E(D,ne,st,")","\\rparen"),E(Ve,ne,_e,"<","\\textless"),E(Ve,ne,_e,">","\\textgreater"),E(D,ne,We,"\u230A","\\lfloor",!0),E(D,ne,st,"\u230B","\\rfloor",!0),E(D,ne,We,"\u2308","\\lceil",!0),E(D,ne,st,"\u2309","\\rceil",!0),E(D,ne,_e,"\\","\\backslash"),E(D,ne,_e,"\u2223","|"),E(D,ne,_e,"\u2223","\\vert"),E(Ve,ne,_e,"|","\\textbar"),E(D,ne,_e,"\u2225","\\|"),E(D,ne,_e,"\u2225","\\Vert"),E(Ve,ne,_e,"\u2225","\\textbardbl"),E(Ve,ne,_e,"~","\\textasciitilde"),E(Ve,ne,_e,"\\","\\textbackslash"),E(Ve,ne,_e,"^","\\textasciicircum"),E(D,ne,Q,"\u2191","\\uparrow",!0),E(D,ne,Q,"\u21D1","\\Uparrow",!0),E(D,ne,Q,"\u2193","\\downarrow",!0),E(D,ne,Q,"\u21D3","\\Downarrow",!0),E(D,ne,Q,"\u2195","\\updownarrow",!0),E(D,ne,Q,"\u21D5","\\Updownarrow",!0),E(D,ne,be,"\u2210","\\coprod"),E(D,ne,be,"\u22C1","\\bigvee"),E(D,ne,be,"\u22C0","\\bigwedge"),E(D,ne,be,"\u2A04","\\biguplus"),E(D,ne,be,"\u22C2","\\bigcap"),E(D,ne,be,"\u22C3","\\bigcup"),E(D,ne,be,"\u222B","\\int"),E(D,ne,be,"\u222B","\\intop"),E(D,ne,be,"\u222C","\\iint"),E(D,ne,be,"\u222D","\\iiint"),E(D,ne,be,"\u220F","\\prod"),E(D,ne,be,"\u2211","\\sum"),E(D,ne,be,"\u2A02","\\bigotimes"),E(D,ne,be,"\u2A01","\\bigoplus"),E(D,ne,be,"\u2A00","\\bigodot"),E(D,ne,be,"\u222E","\\oint"),E(D,ne,be,"\u222F","\\oiint"),E(D,ne,be,"\u2230","\\oiiint"),E(D,ne,be,"\u2A06","\\bigsqcup"),E(D,ne,be,"\u222B","\\smallint"),E(Ve,ne,ht,"\u2026","\\textellipsis"),E(D,ne,ht,"\u2026","\\mathellipsis"),E(Ve,ne,ht,"\u2026","\\ldots",!0),E(D,ne,ht,"\u2026","\\ldots",!0),E(D,ne,ht,"\u22EF","\\@cdots",!0),E(D,ne,ht,"\u22F1","\\ddots",!0),E(D,ne,_e,"\u22EE","\\varvdots"),E(D,ne,jt,"\u02CA","\\acute"),E(D,ne,jt,"\u02CB","\\grave"),E(D,ne,jt,"\xA8","\\ddot"),E(D,ne,jt,"~","\\tilde"),E(D,ne,jt,"\u02C9","\\bar"),E(D,ne,jt,"\u02D8","\\breve"),E(D,ne,jt,"\u02C7","\\check"),E(D,ne,jt,"^","\\hat"),E(D,ne,jt,"\u20D7","\\vec"),E(D,ne,jt,"\u02D9","\\dot"),E(D,ne,jt,"\u02DA","\\mathring"),E(D,ne,de,"\u0131","\\imath",!0),E(D,ne,de,"\u0237","\\jmath",!0),E(Ve,ne,_e,"\u0131","\\i",!0),E(Ve,ne,_e,"\u0237","\\j",!0),E(Ve,ne,_e,"\xDF","\\ss",!0),E(Ve,ne,_e,"\xE6","\\ae",!0),E(Ve,ne,_e,"\xE6","\\ae",!0),E(Ve,ne,_e,"\u0153","\\oe",!0),E(Ve,ne,_e,"\xF8","\\o",!0),E(Ve,ne,_e,"\xC6","\\AE",!0),E(Ve,ne,_e,"\u0152","\\OE",!0),E(Ve,ne,_e,"\xD8","\\O",!0),E(Ve,ne,jt,"\u02CA","\\'"),E(Ve,ne,jt,"\u02CB","\\`"),E(Ve,ne,jt,"\u02C6","\\^"),E(Ve,ne,jt,"\u02DC","\\~"),E(Ve,ne,jt,"\u02C9","\\="),E(Ve,ne,jt,"\u02D8","\\u"),E(Ve,ne,jt,"\u02D9","\\."),E(Ve,ne,jt,"\u02DA","\\r"),E(Ve,ne,jt,"\u02C7","\\v"),E(Ve,ne,jt,"\xA8",'\\"'),E(Ve,ne,jt,"\u02DD","\\H"),E(Ve,ne,jt,"\u25EF","\\textcircled");var bt={"--":!0,"---":!0,"``":!0,"''":!0};E(Ve,ne,_e,"\u2013","--"),E(Ve,ne,_e,"\u2013","\\textendash"),E(Ve,ne,_e,"\u2014","---"),E(Ve,ne,_e,"\u2014","\\textemdash"),E(Ve,ne,_e,"\u2018","`"),E(Ve,ne,_e,"\u2018","\\textquoteleft"),E(Ve,ne,_e,"\u2019","'"),E(Ve,ne,_e,"\u2019","\\textquoteright"),E(Ve,ne,_e,"\u201C","``"),E(Ve,ne,_e,"\u201C","\\textquotedblleft"),E(Ve,ne,_e,"\u201D","''"),E(Ve,ne,_e,"\u201D","\\textquotedblright"),E(D,ne,_e,"\xB0","\\degree",!0),E(Ve,ne,_e,"\xB0","\\degree"),E(Ve,ne,_e,"\xB0","\\textdegree",!0),E(D,ne,de,"\xA3","\\pounds"),E(D,ne,de,"\xA3","\\mathsterling",!0),E(Ve,ne,de,"\xA3","\\pounds"),E(Ve,ne,de,"\xA3","\\textsterling",!0),E(D,q,_e,"\u2720","\\maltese"),E(Ve,q,_e,"\u2720","\\maltese"),E(Ve,ne,Mt,"\xA0","\\ "),E(Ve,ne,Mt,"\xA0"," "),E(Ve,ne,Mt,"\xA0","~");for(var An='0123456789/@."',xn=0;xn<An.length;xn++){var Er=An.charAt(xn);E(D,ne,_e,Er,Er)}for(var vr='0123456789!@*()-=+[]<>|";:?/.,',gr=0;gr<vr.length;gr++){var Hr=vr.charAt(gr);E(Ve,ne,_e,Hr,Hr)}for(var fi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",lr=0;lr<fi.length;lr++){var ii=fi.charAt(lr);E(D,ne,de,ii,ii),E(Ve,ne,_e,ii,ii)}E(D,q,_e,"C","\u2102"),E(Ve,q,_e,"C","\u2102"),E(D,q,_e,"H","\u210D"),E(Ve,q,_e,"H","\u210D"),E(D,q,_e,"N","\u2115"),E(Ve,q,_e,"N","\u2115"),E(D,q,_e,"P","\u2119"),E(Ve,q,_e,"P","\u2119"),E(D,q,_e,"Q","\u211A"),E(Ve,q,_e,"Q","\u211A"),E(D,q,_e,"R","\u211D"),E(Ve,q,_e,"R","\u211D"),E(D,q,_e,"Z","\u2124"),E(Ve,q,_e,"Z","\u2124"),E(D,ne,de,"h","\u210E"),E(Ve,ne,de,"h","\u210E");for(var Wn="",Bt=0;Bt<fi.length;Bt++){var En=fi.charAt(Bt);Wn=String.fromCharCode(55349,56320+Bt),E(D,ne,de,En,Wn),E(Ve,ne,_e,En,Wn),Wn=String.fromCharCode(55349,56372+Bt),E(D,ne,de,En,Wn),E(Ve,ne,_e,En,Wn),Wn=String.fromCharCode(55349,56424+Bt),E(D,ne,de,En,Wn),E(Ve,ne,_e,En,Wn),Wn=String.fromCharCode(55349,56580+Bt),E(D,ne,de,En,Wn),E(Ve,ne,_e,En,Wn),Wn=String.fromCharCode(55349,56736+Bt),E(D,ne,de,En,Wn),E(Ve,ne,_e,En,Wn),Wn=String.fromCharCode(55349,56788+Bt),E(D,ne,de,En,Wn),E(Ve,ne,_e,En,Wn),Wn=String.fromCharCode(55349,56840+Bt),E(D,ne,de,En,Wn),E(Ve,ne,_e,En,Wn),Wn=String.fromCharCode(55349,56944+Bt),E(D,ne,de,En,Wn),E(Ve,ne,_e,En,Wn),Bt<26&&(Wn=String.fromCharCode(55349,56632+Bt),E(D,ne,de,En,Wn),E(Ve,ne,_e,En,Wn),Wn=String.fromCharCode(55349,56476+Bt),E(D,ne,de,En,Wn),E(Ve,ne,_e,En,Wn))}Wn="\u{1D55C}",E(D,ne,de,"k",Wn),E(Ve,ne,_e,"k",Wn);for(var nn=0;nn<10;nn++){var Yr=nn.toString();Wn=String.fromCharCode(55349,57294+nn),E(D,ne,de,Yr,Wn),E(Ve,ne,_e,Yr,Wn),Wn=String.fromCharCode(55349,57314+nn),E(D,ne,de,Yr,Wn),E(Ve,ne,_e,Yr,Wn),Wn=String.fromCharCode(55349,57324+nn),E(D,ne,de,Yr,Wn),E(Ve,ne,_e,Yr,Wn),Wn=String.fromCharCode(55349,57334+nn),E(D,ne,de,Yr,Wn),E(Ve,ne,_e,Yr,Wn)}for(var Lt="\xC7\xD0\xDE\xE7\xFE",It=0;It<Lt.length;It++){var kn=Lt.charAt(It);E(D,ne,de,kn,kn),E(Ve,ne,_e,kn,kn)}E(Ve,ne,_e,"\xF0","\xF0"),E(Ve,ne,_e,"\u2013","\u2013"),E(Ve,ne,_e,"\u2014","\u2014"),E(Ve,ne,_e,"\u2018","\u2018"),E(Ve,ne,_e,"\u2019","\u2019"),E(Ve,ne,_e,"\u201C","\u201C"),E(Ve,ne,_e,"\u201D","\u201D");var vn=[["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"]],In=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],jn=function(l,d){var f=l.charCodeAt(0),b=l.charCodeAt(1),R=(f-55296)*1024+(b-56320)+65536,H=d==="math"?0:1;if(119808<=R&&R<120484){var ge=Math.floor((R-119808)/26);return[vn[ge][2],vn[ge][H]]}else if(120782<=R&&R<=120831){var Ce=Math.floor((R-120782)/10);return[In[Ce][2],In[Ce][H]]}else{if(R===120485||R===120486)return[vn[0][2],vn[0][H]];if(120486<R&&R<120782)return["",""];throw new v("Unsupported character: "+l)}},Dn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],$n=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],br=function(l,d){return d.size<2?l:Dn[l-1][d.size-1]},cr=function(){function B(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||B.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=$n[this.size-1],this.maxSize=d.maxSize,this.minRuleThickness=d.minRuleThickness,this._fontMetrics=void 0}var l=B.prototype;return l.extend=function(f){var b={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 R in f)f.hasOwnProperty(R)&&(b[R]=f[R]);return new B(b)},l.havingStyle=function(f){return this.style===f?this:this.extend({style:f,size:br(this.textSize,f)})},l.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},l.havingSize=function(f){return this.size===f&&this.textSize===f?this:this.extend({style:this.style.text(),size:f,textSize:f,sizeMultiplier:$n[f-1]})},l.havingBaseStyle=function(f){f=f||this.style.text();var b=br(B.BASESIZE,f);return this.size===b&&this.textSize===B.BASESIZE&&this.style===f?this:this.extend({style:f,size:b})},l.havingBaseSizing=function(){var f;switch(this.style.id){case 4:case 5:f=3;break;case 6:case 7:f=1;break;default:f=6}return this.extend({style:this.style.text(),size:f})},l.withColor=function(f){return this.extend({color:f})},l.withPhantom=function(){return this.extend({phantom:!0})},l.withFont=function(f){return this.extend({font:f})},l.withTextFontFamily=function(f){return this.extend({fontFamily:f,font:""})},l.withTextFontWeight=function(f){return this.extend({fontWeight:f,font:""})},l.withTextFontShape=function(f){return this.extend({fontShape:f,font:""})},l.sizingClasses=function(f){return f.size!==this.size?["sizing","reset-size"+f.size,"size"+this.size]:[]},l.baseSizingClasses=function(){return this.size!==B.BASESIZE?["sizing","reset-size"+this.size,"size"+B.BASESIZE]:[]},l.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=tt(this.size)),this._fontMetrics},l.getColor=function(){return this.phantom?"transparent":this.color},B}();cr.BASESIZE=6;var Tn=cr,dr={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},Pr={ex:!0,em:!0,mu:!0},hr=function(l){return typeof l!="string"&&(l=l.unit),l in dr||l in Pr||l==="ex"},Dt=function(l,d){var f;if(l.unit in dr)f=dr[l.unit]/d.fontMetrics().ptPerEm/d.sizeMultiplier;else if(l.unit==="mu")f=d.fontMetrics().cssEmPerMu;else{var b;if(d.style.isTight()?b=d.havingStyle(d.style.text()):b=d,l.unit==="ex")f=b.fontMetrics().xHeight;else if(l.unit==="em")f=b.fontMetrics().quad;else throw new v("Invalid unit: '"+l.unit+"'");b!==d&&(f*=b.sizeMultiplier/d.sizeMultiplier)}return Math.min(l.number*f,d.maxSize)},kt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],pn=function(l,d,f){return et[f][l]&&et[f][l].replace&&(l=et[f][l].replace),{value:l,metrics:xt(l,d,f)}},an=function(l,d,f,b,R){var H=pn(l,d,f),ge=H.metrics;l=H.value;var Ce;if(ge){var Ke=ge.italic;(f==="text"||b&&b.font==="mathit")&&(Ke=0),Ce=new ye(l,ge.height,ge.depth,Ke,ge.skew,ge.width,R)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+l+"' in style '"+d+"' and mode '"+f+"'")),Ce=new ye(l,0,0,0,0,0,R);if(b){Ce.maxFontSize=b.sizeMultiplier,b.style.isTight()&&Ce.classes.push("mtight");var pt=b.getColor();pt&&(Ce.style.color=pt)}return Ce},cn=function(l,d,f,b){return b===void 0&&(b=[]),f.font==="boldsymbol"&&pn(l,"Main-Bold",d).metrics?an(l,"Main-Bold",d,f,b.concat(["mathbf"])):l==="\\"||et[d][l].font==="main"?an(l,"Main-Regular",d,f,b):an(l,"AMS-Regular",d,f,b.concat(["amsrm"]))},_n=function(l,d,f,b){return/[0-9]/.test(l.charAt(0))||W.contains(kt,l)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Mn=function(l,d,f,b){return W.contains(kt,l)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(l.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},nr=function(l,d,f,b){return pn(l,"Math-BoldItalic",d).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},_r=function(l,d,f){var b=l.mode,R=l.text,H=["mord"],ge=b==="math"||b==="text"&&d.font,Ce=ge?d.font:d.fontFamily;if(R.charCodeAt(0)===55349){var Ke=jn(R,b),pt=Ke[0],Tt=Ke[1];return an(R,pt,b,d,H.concat(Tt))}else if(Ce){var Qt,Wt;if(Ce==="boldsymbol"||Ce==="mathnormal"){var Vt=Ce==="boldsymbol"?nr(R,b,d,H):Mn(R,b,d,H);Qt=Vt.fontName,Wt=[Vt.fontClass]}else W.contains(kt,R)?(Qt="Main-Italic",Wt=["mathit"]):ge?(Qt=Mr[Ce].fontName,Wt=[Ce]):(Qt=yi(Ce,d.fontWeight,d.fontShape),Wt=[Ce,d.fontWeight,d.fontShape]);if(pn(R,Qt,b).metrics)return an(R,Qt,b,d,H.concat(Wt));if(bt.hasOwnProperty(R)&&Qt.substr(0,10)==="Typewriter"){for(var ln=[],Jt=0;Jt<R.length;Jt++)ln.push(an(R[Jt],Qt,b,d,H.concat(Wt)));return Br(ln)}}if(f==="mathord"){var qt=_n(R,b,d,H);return an(R,qt.fontName,b,d,H.concat([qt.fontClass]))}else if(f==="textord"){var bn=et[b][R]&&et[b][R].font;if(bn==="ams"){var Hn=yi("amsrm",d.fontWeight,d.fontShape);return an(R,Hn,b,d,H.concat("amsrm",d.fontWeight,d.fontShape))}else if(bn==="main"||!bn){var ur=yi("textrm",d.fontWeight,d.fontShape);return an(R,ur,b,d,H.concat(d.fontWeight,d.fontShape))}else{var Sr=yi(bn,d.fontWeight,d.fontShape);return an(R,Sr,b,d,H.concat(Sr,d.fontWeight,d.fontShape))}}else throw new Error("unexpected type: "+f+" in makeOrd")},Nr=function(l,d){if(ct(l.classes)!==ct(d.classes)||l.skew!==d.skew||l.maxFontSize!==d.maxFontSize)return!1;for(var f in l.style)if(l.style.hasOwnProperty(f)&&l.style[f]!==d.style[f])return!1;for(var b in d.style)if(d.style.hasOwnProperty(b)&&l.style[b]!==d.style[b])return!1;return!0},Ui=function(l){for(var d=0;d<l.length-1;d++){var f=l[d],b=l[d+1];f instanceof ye&&b instanceof ye&&Nr(f,b)&&(f.text+=b.text,f.height=Math.max(f.height,b.height),f.depth=Math.max(f.depth,b.depth),f.italic=b.italic,l.splice(d+1,1),d--)}return l},Ir=function(l){for(var d=0,f=0,b=0,R=0;R<l.children.length;R++){var H=l.children[R];H.height>d&&(d=H.height),H.depth>f&&(f=H.depth),H.maxFontSize>b&&(b=H.maxFontSize)}l.height=d,l.depth=f,l.maxFontSize=b},Lr=function(l,d,f,b){var R=new qe(l,d,f,b);return Ir(R),R},xi=function(l,d,f,b){return new qe(l,d,f,b)},rt=function(l,d,f){var b=Lr([l],[],d);return b.height=Math.max(f||d.fontMetrics().defaultRuleThickness,d.minRuleThickness),b.style.borderBottomWidth=b.height+"em",b.maxFontSize=1,b},Ei=function(l,d,f,b){var R=new Me(l,d,f,b);return Ir(R),R},Br=function(l){var d=new dt(l);return Ir(d),d},Fr=function(l,d){return l instanceof dt?Lr([],[l],d):l},Ii=function(l){if(l.positionType==="individualShift"){for(var d=l.children,f=[d[0]],b=-d[0].shift-d[0].elem.depth,R=b,H=1;H<d.length;H++){var ge=-d[H].shift-R-d[H].elem.depth,Ce=ge-(d[H-1].elem.height+d[H-1].elem.depth);R=R+ge,f.push({type:"kern",size:Ce}),f.push(d[H])}return{children:f,depth:b}}var Ke;if(l.positionType==="top"){for(var pt=l.positionData,Tt=0;Tt<l.children.length;Tt++){var Qt=l.children[Tt];pt-=Qt.type==="kern"?Qt.size:Qt.elem.height+Qt.elem.depth}Ke=pt}else if(l.positionType==="bottom")Ke=-l.positionData;else{var Wt=l.children[0];if(Wt.type!=="elem")throw new Error('First child must have type "elem".');if(l.positionType==="shift")Ke=-Wt.elem.depth-l.positionData;else if(l.positionType==="firstBaseline")Ke=-Wt.elem.depth;else throw new Error("Invalid positionType "+l.positionType+".")}return{children:l.children,depth:Ke}},Bi=function(l,d){for(var f=Ii(l),b=f.children,R=f.depth,H=0,ge=0;ge<b.length;ge++){var Ce=b[ge];if(Ce.type==="elem"){var Ke=Ce.elem;H=Math.max(H,Ke.maxFontSize,Ke.height)}}H+=2;var pt=Lr(["pstrut"],[]);pt.style.height=H+"em";for(var Tt=[],Qt=R,Wt=R,Vt=R,ln=0;ln<b.length;ln++){var Jt=b[ln];if(Jt.type==="kern")Vt+=Jt.size;else{var qt=Jt.elem,bn=Jt.wrapperClasses||[],Hn=Jt.wrapperStyle||{},ur=Lr(bn,[pt,qt],void 0,Hn);ur.style.top=-H-Vt-qt.depth+"em",Jt.marginLeft&&(ur.style.marginLeft=Jt.marginLeft),Jt.marginRight&&(ur.style.marginRight=Jt.marginRight),Tt.push(ur),Vt+=qt.height+qt.depth}Qt=Math.min(Qt,Vt),Wt=Math.max(Wt,Vt)}var Sr=Lr(["vlist"],Tt);Sr.style.height=Wt+"em";var er;if(Qt<0){var ci=Lr([],[]),oi=Lr(["vlist"],[ci]);oi.style.height=-Qt+"em";var Ca=Lr(["vlist-s"],[new ye("\u200B")]);er=[Lr(["vlist-r"],[Sr,Ca]),Lr(["vlist-r"],[oi])]}else er=[Lr(["vlist-r"],[Sr])];var Xi=Lr(["vlist-t"],er);return er.length===2&&Xi.classes.push("vlist-t2"),Xi.height=Wt,Xi.depth=-Qt,Xi},gi=function(l,d){var f=Lr(["mspace"],[],d),b=Dt(l,d);return f.style.marginRight=b+"em",f},yi=function(l,d,f){var b="";switch(l){case"amsrm":b="AMS";break;case"textrm":b="Main";break;case"textsf":b="SansSerif";break;case"texttt":b="Typewriter";break;default:b=l}var R;return d==="textbf"&&f==="textit"?R="BoldItalic":d==="textbf"?R="Bold":d==="textit"?R="Italic":R="Regular",b+"-"+R},Mr={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"}},$r={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ea=function(l,d){var f=$r[l],b=f[0],R=f[1],H=f[2],ge=new xe(b),Ce=new Te([ge],{width:R+"em",height:H+"em",style:"width:"+R+"em",viewBox:"0 0 "+1e3*R+" "+1e3*H,preserveAspectRatio:"xMinYMin"}),Ke=xi(["overlay"],[Ce],d);return Ke.height=H,Ke.style.height=H+"em",Ke.style.width=R+"em",Ke},on={fontMap:Mr,makeSymbol:an,mathsym:cn,makeSpan:Lr,makeSvgSpan:xi,makeLineSpan:rt,makeAnchor:Ei,makeFragment:Br,wrapFragment:Fr,makeVList:Bi,makeOrd:_r,makeGlue:gi,staticSvg:Ea,svgData:$r,tryCombineChars:Ui};function ei(B,l){var d=Li(B,l);if(!d)throw new Error("Expected node of type "+l+", but got "+(B?"node of type "+B.type:String(B)));return d}function Li(B,l){return B&&B.type===l?B:null}function Ft(B,l){var d=Zt(B,l);if(!d)throw new Error('Expected node of type "atom" and family "'+l+'", but got '+(B?B.type==="atom"?"atom of family "+B.family:"node of type "+B.type:String(B)));return d}function Zt(B,l){return B&&B.type==="atom"&&B.family===l?B:null}function Gt(B){var l=Zn(B);if(!l)throw new Error("Expected node of symbol group type, but got "+(B?"node of type "+B.type:String(B)));return l}function Zn(B){return B&&(B.type==="atom"||_t.hasOwnProperty(B.type))?B:null}var sr={number:3,unit:"mu"},Un={number:4,unit:"mu"},en={number:5,unit:"mu"},hn={mord:{mop:sr,mbin:Un,mrel:en,minner:sr},mop:{mord:sr,mop:sr,mrel:en,minner:sr},mbin:{mord:Un,mop:Un,mopen:Un,minner:Un},mrel:{mord:en,mop:en,mopen:en,minner:en},mopen:{},mclose:{mop:sr,mbin:Un,mrel:en,minner:sr},mpunct:{mord:sr,mop:sr,mrel:en,mopen:sr,mclose:sr,mpunct:sr,minner:sr},minner:{mord:sr,mop:sr,mbin:Un,mrel:en,mopen:sr,mpunct:sr,minner:sr}},$t={mord:{mop:sr},mop:{mord:sr,mop:sr},mbin:{},mrel:{},mopen:{},mclose:{mop:sr},mpunct:{},minner:{mop:sr}},Nn={},wr={},zr={};function Xn(B){for(var l=B.type,d=B.names,f=B.props,b=B.handler,R=B.htmlBuilder,H=B.mathmlBuilder,ge={type:l,numArgs:f.numArgs,argTypes:f.argTypes,greediness:f.greediness===void 0?1:f.greediness,allowedInText:!!f.allowedInText,allowedInMath:f.allowedInMath===void 0?!0:f.allowedInMath,numOptionalArgs:f.numOptionalArgs||0,infix:!!f.infix,handler:b},Ce=0;Ce<d.length;++Ce)Nn[d[Ce]]=ge;l&&(R&&(wr[l]=R),H&&(zr[l]=H))}function Rr(B){var l=B.type,d=B.htmlBuilder,f=B.mathmlBuilder;Xn({type:l,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:d,mathmlBuilder:f})}var Zr=function(l){var d=Li(l,"ordgroup");return d?d.body:[l]},Gi=on.makeSpan,sa=["leftmost","mbin","mopen","mrel","mop","mpunct"],ya=["rightmost","mrel","mclose","mpunct"],Ri={display:_.DISPLAY,text:_.TEXT,script:_.SCRIPT,scriptscript:_.SCRIPTSCRIPT},Sa={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},zi=function(l,d,f,b){b===void 0&&(b=[null,null]);for(var R=[],H=0;H<l.length;H++){var ge=Kr(l[H],d);if(ge instanceof dt){var Ce=ge.children;R.push.apply(R,Ce)}else R.push(ge)}if(!f)return R;var Ke=d;if(l.length===1){var pt=Li(l[0],"sizing")||Li(l[0],"styling");pt&&(pt.type==="sizing"?Ke=d.havingSize(pt.size):pt.type==="styling"&&(Ke=d.havingStyle(Ri[pt.style])))}var Tt=Gi([b[0]||"leftmost"],[],d),Qt=Gi([b[1]||"rightmost"],[],d);return oa(R,function(Wt,Vt){var ln=Vt.classes[0],Jt=Wt.classes[0];ln==="mbin"&&W.contains(ya,Jt)?Vt.classes[0]="mord":Jt==="mbin"&&W.contains(sa,ln)&&(Wt.classes[0]="mord")},{node:Tt},Qt),oa(R,function(Wt,Vt){var ln=Fi(Vt),Jt=Fi(Wt),qt=ln&&Jt?Wt.hasClass("mtight")?$t[ln][Jt]:hn[ln][Jt]:null;if(qt)return on.makeGlue(qt,Ke)},{node:Tt},Qt),R},oa=function B(l,d,f,b){b&&l.push(b);for(var R=0;R<l.length;R++){var H=l[R],ge=ji(H);if(ge){B(ge.children,d,f);continue}if(H.classes[0]!=="mspace"){var Ce=d(H,f.node);Ce&&(f.insertAfter?f.insertAfter(Ce):(l.unshift(Ce),R++)),f.node=H,f.insertAfter=function(Ke){return function(pt){l.splice(Ke+1,0,pt),R++}}(R)}}b&&l.pop()},ji=function(l){return l instanceof dt||l instanceof Me?l:null},ra=function B(l,d){var f=ji(l);if(f){var b=f.children;if(b.length){if(d==="right")return B(b[b.length-1],"right");if(d==="left")return B(b[0],"left")}}return l},Fi=function(l,d){return l?(d&&(l=ra(l,d)),Sa[l.classes[0]]||null):null},da=function(l,d){var f=["nulldelimiter"].concat(l.baseSizingClasses());return Gi(d.concat(f))},Kr=function(l,d,f){if(!l)return Gi();if(wr[l.type]){var b=wr[l.type](l,d);if(f&&d.size!==f.size){b=Gi(d.sizingClasses(f),[b],d);var R=d.sizeMultiplier/f.sizeMultiplier;b.height*=R,b.depth*=R}return b}else throw new v("Got group of unknown type: '"+l.type+"'")};function fa(B,l){var d=Gi(["base"],B,l),f=Gi(["strut"]);return f.style.height=d.height+d.depth+"em",f.style.verticalAlign=-d.depth+"em",d.children.unshift(f),d}function kr(B,l){var d=null;B.length===1&&B[0].type==="tag"&&(d=B[0].tag,B=B[0].body);for(var f=zi(B,l,!0),b=[],R=[],H=0;H<f.length;H++)if(R.push(f[H]),f[H].hasClass("mbin")||f[H].hasClass("mrel")||f[H].hasClass("allowbreak")){for(var ge=!1;H<f.length-1&&f[H+1].hasClass("mspace")&&!f[H+1].hasClass("newline");)H++,R.push(f[H]),f[H].hasClass("nobreak")&&(ge=!0);ge||(b.push(fa(R,l)),R=[])}else f[H].hasClass("newline")&&(R.pop(),R.length>0&&(b.push(fa(R,l)),R=[]),b.push(f[H]));R.length>0&&b.push(fa(R,l));var Ce;d&&(Ce=fa(zi(d,l,!0)),Ce.classes=["tag"],b.push(Ce));var Ke=Gi(["katex-html"],b);if(Ke.setAttribute("aria-hidden","true"),Ce){var pt=Ce.children[0];pt.style.height=Ke.height+Ke.depth+"em",pt.style.verticalAlign=-Ke.depth+"em"}return Ke}function _a(B){return new dt(B)}var rr=function(){function B(d,f){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=d,this.attributes={},this.children=f||[]}var l=B.prototype;return l.setAttribute=function(f,b){this.attributes[f]=b},l.getAttribute=function(f){return this.attributes[f]},l.toNode=function(){var f=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var b in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,b)&&f.setAttribute(b,this.attributes[b]);for(var R=0;R<this.children.length;R++)f.appendChild(this.children[R].toNode());return f},l.toMarkup=function(){var f="<"+this.type;for(var b in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,b)&&(f+=" "+b+'="',f+=W.escape(this.attributes[b]),f+='"');f+=">";for(var R=0;R<this.children.length;R++)f+=this.children[R].toMarkup();return f+="</"+this.type+">",f},l.toText=function(){return this.children.map(function(f){return f.toText()}).join("")},B}(),or=function(){function B(d){this.text=void 0,this.text=d}var l=B.prototype;return l.toNode=function(){return document.createTextNode(this.text)},l.toMarkup=function(){return W.escape(this.toText())},l.toText=function(){return this.text},B}(),ia=function(){function B(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=B.prototype;return l.toNode=function(){if(this.character)return document.createTextNode(this.character);var f=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return f.setAttribute("width",this.width+"em"),f},l.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},l.toText=function(){return this.character?this.character:" "},B}(),Fn={MathNode:rr,TextNode:or,SpaceNode:ia,newDocumentFragment:_a},ba=function(l,d,f){return et[d][l]&&et[d][l].replace&&l.charCodeAt(0)!==55349&&!(bt.hasOwnProperty(l)&&f&&(f.fontFamily&&f.fontFamily.substr(4,2)==="tt"||f.font&&f.font.substr(4,2)==="tt"))&&(l=et[d][l].replace),new Fn.TextNode(l)},Qr=function(l){return l.length===1?l[0]:new Fn.MathNode("mrow",l)},xa=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 f=d.font;if(!f||f==="mathnormal")return null;var b=l.mode;if(f==="mathit")return"italic";if(f==="boldsymbol")return"bold-italic";if(f==="mathbf")return"bold";if(f==="mathbb")return"double-struck";if(f==="mathfrak")return"fraktur";if(f==="mathscr"||f==="mathcal")return"script";if(f==="mathsf")return"sans-serif";if(f==="mathtt")return"monospace";var R=l.text;if(W.contains(["\\imath","\\jmath"],R))return null;et[b][R]&&et[b][R].replace&&(R=et[b][R].replace);var H=on.fontMap[f].fontName;return xt(R,H,b)?on.fontMap[f].variant:null},Vi=function(l,d,f){if(l.length===1){var b=Pn(l[0],d);return f&&b instanceof rr&&b.type==="mo"&&(b.setAttribute("lspace","0em"),b.setAttribute("rspace","0em")),[b]}for(var R=[],H,ge=0;ge<l.length;ge++){var Ce=Pn(l[ge],d);if(Ce instanceof rr&&H instanceof rr){if(Ce.type==="mtext"&&H.type==="mtext"&&Ce.getAttribute("mathvariant")===H.getAttribute("mathvariant")){var Ke;(Ke=H.children).push.apply(Ke,Ce.children);continue}else if(Ce.type==="mn"&&H.type==="mn"){var pt;(pt=H.children).push.apply(pt,Ce.children);continue}else if(Ce.type==="mi"&&Ce.children.length===1&&H.type==="mn"){var Tt=Ce.children[0];if(Tt instanceof or&&Tt.text==="."){var Qt;(Qt=H.children).push.apply(Qt,Ce.children);continue}}else if(H.type==="mi"&&H.children.length===1){var Wt=H.children[0];if(Wt instanceof or&&Wt.text==="\u0338"&&(Ce.type==="mo"||Ce.type==="mi"||Ce.type==="mn")){var Vt=Ce.children[0];Vt instanceof or&&Vt.text.length>0&&(Vt.text=Vt.text.slice(0,1)+"\u0338"+Vt.text.slice(1),R.pop())}}}R.push(Ce),H=Ce}return R},$i=function(l,d,f){return Qr(Vi(l,d,f))},Pn=function(l,d){if(!l)return new Fn.MathNode("mrow");if(zr[l.type]){var f=zr[l.type](l,d);return f}else throw new v("Got group of unknown type: '"+l.type+"'")};function Tr(B,l,d,f){var b=Vi(B,d),R;b.length===1&&b[0]instanceof rr&&W.contains(["mrow","mtable"],b[0].type)?R=b[0]:R=new Fn.MathNode("mrow",b);var H=new Fn.MathNode("annotation",[new Fn.TextNode(l)]);H.setAttribute("encoding","application/x-tex");var ge=new Fn.MathNode("semantics",[R,H]),Ce=new Fn.MathNode("math",[ge]);Ce.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Ke=f?"katex":"katex-mathml";return on.makeSpan([Ke],[Ce])}var Sn=function(l){return new Tn({style:l.displayMode?_.DISPLAY:_.TEXT,maxSize:l.maxSize,minRuleThickness:l.minRuleThickness})},Aa=function(l,d){if(d.displayMode){var f=["katex-display"];d.leqno&&f.push("leqno"),d.fleqn&&f.push("fleqn"),l=on.makeSpan(f,[l])}return l},Wi=function(l,d,f){var b=Sn(f),R;if(f.output==="mathml")return Tr(l,d,b,!0);if(f.output==="html"){var H=kr(l,b);R=on.makeSpan(["katex"],[H])}else{var ge=Tr(l,d,b,!1),Ce=kr(l,b);R=on.makeSpan(["katex"],[ge,Ce])}return Aa(R,f)},Ia=function(l,d,f){var b=Sn(f),R=kr(l,b),H=on.makeSpan(["katex"],[R]);return Aa(H,f)},Fa=Wi,Xr={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"},ki=function(l){var d=new Fn.MathNode("mo",[new Fn.TextNode(Xr[l.substr(1)])]);return d.setAttribute("stretchy","true"),d},Ur={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]},un=function(l){return l.type==="ordgroup"?l.body.length:1},bi=function(l,d){function f(){var Ce=4e5,Ke=l.label.substr(1);if(W.contains(["widehat","widecheck","widetilde","utilde"],Ke)){var pt=l,Tt=un(pt.base),Qt,Wt,Vt;if(Tt>5)Ke==="widehat"||Ke==="widecheck"?(Qt=420,Ce=2364,Vt=.42,Wt=Ke+"4"):(Qt=312,Ce=2340,Vt=.34,Wt="tilde4");else{var ln=[1,1,2,2,3,3][Tt];Ke==="widehat"||Ke==="widecheck"?(Ce=[0,1062,2364,2364,2364][ln],Qt=[0,239,300,360,420][ln],Vt=[0,.24,.3,.3,.36,.42][ln],Wt=Ke+ln):(Ce=[0,600,1033,2339,2340][ln],Qt=[0,260,286,306,312][ln],Vt=[0,.26,.286,.3,.306,.34][ln],Wt="tilde"+ln)}var Jt=new xe(Wt),qt=new Te([Jt],{width:"100%",height:Vt+"em",viewBox:"0 0 "+Ce+" "+Qt,preserveAspectRatio:"none"});return{span:on.makeSvgSpan([],[qt],d),minWidth:0,height:Vt}}else{var bn=[],Hn=Ur[Ke],ur=Hn[0],Sr=Hn[1],er=Hn[2],ci=er/1e3,oi=ur.length,Ca,Xi;if(oi===1){var Kt=Hn[3];Ca=["hide-tail"],Xi=[Kt]}else if(oi===2)Ca=["halfarrow-left","halfarrow-right"],Xi=["xMinYMin","xMaxYMin"];else if(oi===3)Ca=["brace-left","brace-center","brace-right"],Xi=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
`+oi+" children.");for(var Oa=0;Oa<oi;Oa++){var Ya=new xe(ur[Oa]),la=new Te([Ya],{width:"400em",height:ci+"em",viewBox:"0 0 "+Ce+" "+er,preserveAspectRatio:Xi[Oa]+" slice"}),Zi=on.makeSvgSpan([Ca[Oa]],[la],d);if(oi===1)return{span:Zi,minWidth:Sr,height:ci};Zi.style.height=ci+"em",bn.push(Zi)}return{span:on.makeSpan(["stretchy"],bn,d),minWidth:Sr,height:ci}}}var b=f(),R=b.span,H=b.minWidth,ge=b.height;return R.height=ge,R.style.height=ge+"em",H>0&&(R.style.minWidth=H+"em"),R},ir=function(l,d,f,b){var R,H=l.height+l.depth+2*f;if(/fbox|color/.test(d)){if(R=on.makeSpan(["stretchy",d],[],b),d==="fbox"){var ge=b.color&&b.getColor();ge&&(R.style.borderColor=ge)}}else{var Ce=[];/^[bx]cancel$/.test(d)&&Ce.push(new ae({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(d)&&Ce.push(new ae({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Ke=new Te(Ce,{width:"100%",height:H+"em"});R=on.makeSvgSpan([],[Ke],b)}return R.height=H,R.style.height=H+"em",R},Oi={encloseSpan:ir,mathMLnode:ki,svgSpan:bi},wn=function(l,d){var f,b,R=Li(l,"supsub"),H;R?(b=ei(R.base,"accent"),f=b.base,R.base=f,H=nt(Kr(R,d)),R.base=b):(b=ei(l,"accent"),f=b.base);var ge=Kr(f,d.havingCrampedStyle()),Ce=b.isShifty&&W.isCharacterBox(f),Ke=0;if(Ce){var pt=W.getBaseElem(f),Tt=Kr(pt,d.havingCrampedStyle());Ke=Fe(Tt).skew}var Qt=Math.min(ge.height,d.fontMetrics().xHeight),Wt;if(b.isStretchy)Wt=Oi.svgSpan(b,d),Wt=on.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge},{type:"elem",elem:Wt,wrapperClasses:["svg-align"],wrapperStyle:Ke>0?{width:"calc(100% - "+2*Ke+"em)",marginLeft:2*Ke+"em"}:void 0}]},d);else{var Vt,ln;b.label==="\\vec"?(Vt=on.staticSvg("vec",d),ln=on.svgData.vec[1]):(Vt=on.makeOrd({mode:b.mode,text:b.label},d,"textord"),Vt=Fe(Vt),Vt.italic=0,ln=Vt.width),Wt=on.makeSpan(["accent-body"],[Vt]);var Jt=b.label==="\\textcircled";Jt&&(Wt.classes.push("accent-full"),Qt=ge.height);var qt=Ke;Jt||(qt-=ln/2),Wt.style.left=qt+"em",b.label==="\\textcircled"&&(Wt.style.top=".2em"),Wt=on.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge},{type:"kern",size:-Qt},{type:"elem",elem:Wt}]},d)}var bn=on.makeSpan(["mord","accent"],[Wt],d);return H?(H.children[0]=bn,H.height=Math.max(bn.height,H.height),H.classes[0]="mord",H):bn},Cr=function(l,d){var f=l.isStretchy?Oi.mathMLnode(l.label):new Fn.MathNode("mo",[ba(l.label,l.mode)]),b=new Fn.MathNode("mover",[Pn(l.base,d),f]);return b.setAttribute("accent","true"),b},Jr=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(B){return"\\"+B}).join("|"));Xn({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 f=d[0],b=!Jr.test(l.funcName),R=!b||l.funcName==="\\widehat"||l.funcName==="\\widetilde"||l.funcName==="\\widecheck";return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:b,isShifty:R,base:f}},htmlBuilder:wn,mathmlBuilder:Cr}),Xn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(l,d){var f=d[0];return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:!1,isShifty:!0,base:f}},htmlBuilder:wn,mathmlBuilder:Cr}),Xn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(l,d){var f=l.parser,b=l.funcName,R=d[0];return{type:"accentUnder",mode:f.mode,label:b,base:R}},htmlBuilder:function(l,d){var f=Kr(l.base,d),b=Oi.svgSpan(l,d),R=l.label==="\\utilde"?.12:0,H=on.makeVList({positionType:"bottom",positionData:b.height+R,children:[{type:"elem",elem:b,wrapperClasses:["svg-align"]},{type:"kern",size:R},{type:"elem",elem:f}]},d);return on.makeSpan(["mord","accentunder"],[H],d)},mathmlBuilder:function(l,d){var f=Oi.mathMLnode(l.label),b=new Fn.MathNode("munder",[Pn(l.base,d),f]);return b.setAttribute("accentunder","true"),b}});var hi=function(l){var d=new Fn.MathNode("mpadded",l?[l]:[]);return d.setAttribute("width","+0.6em"),d.setAttribute("lspace","0.3em"),d};Xn({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,f){var b=l.parser,R=l.funcName;return{type:"xArrow",mode:b.mode,label:R,body:d[0],below:f[0]}},htmlBuilder:function(l,d){var f=d.style,b=d.havingStyle(f.sup()),R=on.wrapFragment(Kr(l.body,b,d),d);R.classes.push("x-arrow-pad");var H;l.below&&(b=d.havingStyle(f.sub()),H=on.wrapFragment(Kr(l.below,b,d),d),H.classes.push("x-arrow-pad"));var ge=Oi.svgSpan(l,d),Ce=-d.fontMetrics().axisHeight+.5*ge.height,Ke=-d.fontMetrics().axisHeight-.5*ge.height-.111;(R.depth>.25||l.label==="\\xleftequilibrium")&&(Ke-=R.depth);var pt;if(H){var Tt=-d.fontMetrics().axisHeight+H.height+.5*ge.height+.111;pt=on.makeVList({positionType:"individualShift",children:[{type:"elem",elem:R,shift:Ke},{type:"elem",elem:ge,shift:Ce},{type:"elem",elem:H,shift:Tt}]},d)}else pt=on.makeVList({positionType:"individualShift",children:[{type:"elem",elem:R,shift:Ke},{type:"elem",elem:ge,shift:Ce}]},d);return pt.children[0].children[0].children[1].classes.push("svg-align"),on.makeSpan(["mrel","x-arrow"],[pt],d)},mathmlBuilder:function(l,d){var f=Oi.mathMLnode(l.label),b;if(l.body){var R=hi(Pn(l.body,d));if(l.below){var H=hi(Pn(l.below,d));b=new Fn.MathNode("munderover",[f,H,R])}else b=new Fn.MathNode("mover",[f,R])}else if(l.below){var ge=hi(Pn(l.below,d));b=new Fn.MathNode("munder",[f,ge])}else b=hi(),b=new Fn.MathNode("mover",[f,b]);return b}}),Xn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){for(var f=l.parser,b=ei(d[0],"ordgroup"),R=b.body,H="",ge=0;ge<R.length;ge++){var Ce=ei(R[ge],"textord");H+=Ce.text}var Ke=parseInt(H);if(isNaN(Ke))throw new v("\\@char has non-numeric argument "+H);return{type:"textord",mode:f.mode,text:String.fromCharCode(Ke)}}});var Qi=function(l,d){var f=zi(l.body,d.withColor(l.color),!1);return on.makeFragment(f)},ss=function(l,d){var f=Vi(l.body,d.withColor(l.color)),b=new Fn.MathNode("mstyle",f);return b.setAttribute("mathcolor",l.color),b};Xn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(l,d){var f=l.parser,b=ei(d[0],"color-token").color,R=d[1];return{type:"color",mode:f.mode,color:b,body:Zr(R)}},htmlBuilder:Qi,mathmlBuilder:ss}),Xn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(l,d){var f=l.parser,b=l.breakOnTokenText,R=ei(d[0],"color-token").color;f.gullet.macros.set("\\current@color",R);var H=f.parseExpression(!0,b);return{type:"color",mode:f.mode,color:R,body:H}},htmlBuilder:Qi,mathmlBuilder:ss}),Xn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(l,d,f){var b=l.parser,R=l.funcName,H=f[0],ge=R==="\\cr",Ce=!1;return ge||(b.settings.displayMode&&b.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Ce=!1:Ce=!0),{type:"cr",mode:b.mode,newLine:Ce,newRow:ge,size:H&&ei(H,"size").value}},htmlBuilder:function(l,d){if(l.newRow)throw new v("\\cr valid only within a tabular/array environment");var f=on.makeSpan(["mspace"],[],d);return l.newLine&&(f.classes.push("newline"),l.size&&(f.style.marginTop=Dt(l.size,d)+"em")),f},mathmlBuilder:function(l,d){var f=new Fn.MathNode("mspace");return l.newLine&&(f.setAttribute("linebreak","newline"),l.size&&f.setAttribute("height",Dt(l.size,d)+"em")),f}});var ar=function(l,d,f){var b=et.math[l]&&et.math[l].replace,R=xt(b||l,d,f);if(!R)throw new Error("Unsupported symbol "+l+" and font size "+d+".");return R},jr=function(l,d,f,b){var R=f.havingBaseStyle(d),H=on.makeSpan(b.concat(R.sizingClasses(f)),[l],f),ge=R.sizeMultiplier/f.sizeMultiplier;return H.height*=ge,H.depth*=ge,H.maxFontSize=R.sizeMultiplier,H},Ta=function(l,d,f){var b=d.havingBaseStyle(f),R=(1-d.sizeMultiplier/b.sizeMultiplier)*d.fontMetrics().axisHeight;l.classes.push("delimcenter"),l.style.top=R+"em",l.height-=R,l.depth+=R},xs=function(l,d,f,b,R,H){var ge=on.makeSymbol(l,"Main-Regular",R,b),Ce=jr(ge,d,b,H);return f&&Ta(Ce,b,d),Ce},mo=function(l,d,f,b){return on.makeSymbol(l,"Size"+d+"-Regular",f,b)},xo=function(l,d,f,b,R,H){var ge=mo(l,d,R,b),Ce=jr(on.makeSpan(["delimsizing","size"+d],[ge],b),_.TEXT,b,H);return f&&Ta(Ce,b,_.TEXT),Ce},fs=function(l,d,f){var b;d==="Size1-Regular"?b="delim-size1":b="delim-size4";var R=on.makeSpan(["delimsizinginner",b],[on.makeSpan([],[on.makeSymbol(l,d,f)])]);return{type:"elem",elem:R}},Os={type:"kern",size:-.005},Ds=function(l,d,f,b,R,H){var ge,Ce,Ke,pt;ge=Ke=pt=l,Ce=null;var Tt="Size1-Regular";l==="\\uparrow"?Ke=pt="\u23D0":l==="\\Uparrow"?Ke=pt="\u2016":l==="\\downarrow"?ge=Ke="\u23D0":l==="\\Downarrow"?ge=Ke="\u2016":l==="\\updownarrow"?(ge="\\uparrow",Ke="\u23D0",pt="\\downarrow"):l==="\\Updownarrow"?(ge="\\Uparrow",Ke="\u2016",pt="\\Downarrow"):l==="["||l==="\\lbrack"?(ge="\u23A1",Ke="\u23A2",pt="\u23A3",Tt="Size4-Regular"):l==="]"||l==="\\rbrack"?(ge="\u23A4",Ke="\u23A5",pt="\u23A6",Tt="Size4-Regular"):l==="\\lfloor"||l==="\u230A"?(Ke=ge="\u23A2",pt="\u23A3",Tt="Size4-Regular"):l==="\\lceil"||l==="\u2308"?(ge="\u23A1",Ke=pt="\u23A2",Tt="Size4-Regular"):l==="\\rfloor"||l==="\u230B"?(Ke=ge="\u23A5",pt="\u23A6",Tt="Size4-Regular"):l==="\\rceil"||l==="\u2309"?(ge="\u23A4",Ke=pt="\u23A5",Tt="Size4-Regular"):l==="("||l==="\\lparen"?(ge="\u239B",Ke="\u239C",pt="\u239D",Tt="Size4-Regular"):l===")"||l==="\\rparen"?(ge="\u239E",Ke="\u239F",pt="\u23A0",Tt="Size4-Regular"):l==="\\{"||l==="\\lbrace"?(ge="\u23A7",Ce="\u23A8",pt="\u23A9",Ke="\u23AA",Tt="Size4-Regular"):l==="\\}"||l==="\\rbrace"?(ge="\u23AB",Ce="\u23AC",pt="\u23AD",Ke="\u23AA",Tt="Size4-Regular"):l==="\\lgroup"||l==="\u27EE"?(ge="\u23A7",pt="\u23A9",Ke="\u23AA",Tt="Size4-Regular"):l==="\\rgroup"||l==="\u27EF"?(ge="\u23AB",pt="\u23AD",Ke="\u23AA",Tt="Size4-Regular"):l==="\\lmoustache"||l==="\u23B0"?(ge="\u23A7",pt="\u23AD",Ke="\u23AA",Tt="Size4-Regular"):(l==="\\rmoustache"||l==="\u23B1")&&(ge="\u23AB",pt="\u23A9",Ke="\u23AA",Tt="Size4-Regular");var Qt=ar(ge,Tt,R),Wt=Qt.height+Qt.depth,Vt=ar(Ke,Tt,R),ln=Vt.height+Vt.depth,Jt=ar(pt,Tt,R),qt=Jt.height+Jt.depth,bn=0,Hn=1;if(Ce!==null){var ur=ar(Ce,Tt,R);bn=ur.height+ur.depth,Hn=2}var Sr=Wt+qt+bn,er=Math.max(0,Math.ceil((d-Sr)/(Hn*ln))),ci=Sr+er*Hn*ln,oi=b.fontMetrics().axisHeight;f&&(oi*=b.sizeMultiplier);var Ca=ci/2-oi,Xi=(er+1)*.005-ln,Kt=[];if(Kt.push(fs(pt,Tt,R)),Ce===null)for(var Oa=0;Oa<er;Oa++)Kt.push(Os),Kt.push(fs(Ke,Tt,R));else{for(var Ya=0;Ya<er;Ya++)Kt.push(Os),Kt.push(fs(Ke,Tt,R));Kt.push({type:"kern",size:Xi}),Kt.push(fs(Ke,Tt,R)),Kt.push(Os),Kt.push(fs(Ce,Tt,R));for(var la=0;la<er;la++)Kt.push(Os),Kt.push(fs(Ke,Tt,R))}Kt.push({type:"kern",size:Xi}),Kt.push(fs(Ke,Tt,R)),Kt.push(Os),Kt.push(fs(ge,Tt,R));var Zi=b.havingBaseStyle(_.TEXT),$a=on.makeVList({positionType:"bottom",positionData:Ca,children:Kt},Zi);return jr(on.makeSpan(["delimsizing","mult"],[$a],Zi),_.TEXT,b,H)},Eo=80,js=.08,Ns=function(l,d,f,b,R){var H=ke(l,b,f),ge=new xe(l,H),Ce=new Te([ge],{width:"400em",height:d+"em",viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});return on.makeSvgSpan(["hide-tail"],[Ce],R)},qs=function(l,d){var f=d.havingBaseSizing(),b=$s("\\surd",l*f.sizeMultiplier,Co,f),R=f.sizeMultiplier,H=Math.max(0,d.minRuleThickness-d.fontMetrics().sqrtRuleThickness),ge,Ce=0,Ke=0,pt=0,Tt;return b.type==="small"?(pt=1e3+1e3*H+Eo,l<1?R=1:l<1.4&&(R=.7),Ce=(1+H+js)/R,Ke=(1+H)/R,ge=Ns("sqrtMain",Ce,pt,H,d),ge.style.minWidth="0.853em",Tt=.833/R):b.type==="large"?(pt=(1e3+Eo)*co[b.size],Ke=(co[b.size]+H)/R,Ce=(co[b.size]+H+js)/R,ge=Ns("sqrtSize"+b.size,Ce,pt,H,d),ge.style.minWidth="1.02em",Tt=1/R):(Ce=l+H+js,Ke=l+H,pt=Math.floor(1e3*l+H)+Eo,ge=Ns("sqrtTall",Ce,pt,H,d),ge.style.minWidth="0.742em",Tt=1.056),ge.height=Ke,ge.style.height=Ce+"em",{span:ge,advanceWidth:Tt,ruleWidth:(d.fontMetrics().sqrtRuleThickness+H)*R}},_o=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],So=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],ws=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],co=[0,1.2,1.8,2.4,3],Ps=function(l,d,f,b,R){if(l==="<"||l==="\\lt"||l==="\u27E8"?l="\\langle":(l===">"||l==="\\gt"||l==="\u27E9")&&(l="\\rangle"),W.contains(_o,l)||W.contains(ws,l))return xo(l,d,!1,f,b,R);if(W.contains(So,l))return Ds(l,co[d],!1,f,b,R);throw new v("Illegal delimiter: '"+l+"'")},wo=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],po=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"stack"}],Co=[{type:"small",style:_.SCRIPTSCRIPT},{type:"small",style:_.SCRIPT},{type:"small",style:_.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ao=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.")},$s=function(l,d,f,b){for(var R=Math.min(2,3-b.style.size),H=R;H<f.length&&f[H].type!=="stack";H++){var ge=ar(l,Ao(f[H]),"math"),Ce=ge.height+ge.depth;if(f[H].type==="small"){var Ke=b.havingBaseStyle(f[H].style);Ce*=Ke.sizeMultiplier}if(Ce>d)return f[H]}return f[f.length-1]},Is=function(l,d,f,b,R,H){l==="<"||l==="\\lt"||l==="\u27E8"?l="\\langle":(l===">"||l==="\\gt"||l==="\u27E9")&&(l="\\rangle");var ge;W.contains(ws,l)?ge=wo:W.contains(_o,l)?ge=Co:ge=po;var Ce=$s(l,d,ge,b);return Ce.type==="small"?xs(l,Ce.style,f,b,R,H):Ce.type==="large"?xo(l,Ce.size,f,b,R,H):Ds(l,d,f,b,R,H)},Ra=function(l,d,f,b,R,H){var ge=b.fontMetrics().axisHeight*b.sizeMultiplier,Ce=901,Ke=5/b.fontMetrics().ptPerEm,pt=Math.max(d-ge,f+ge),Tt=Math.max(pt/500*Ce,2*pt-Ke);return Is(l,Tt,!0,b,R,H)},na={sqrtImage:qs,sizedDelim:Ps,customSizedDelim:Is,leftRightDelim:Ra},hs={"\\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}},Cs=["(","\\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 za(B,l){var d=Zn(B);if(d&&W.contains(Cs,d.text))return d;throw new v("Invalid delimiter: '"+(d?d.text:JSON.stringify(B))+"' after '"+l.funcName+"'",B)}Xn({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 f=za(d[0],l);return{type:"delimsizing",mode:l.parser.mode,size:hs[l.funcName].size,mclass:hs[l.funcName].mclass,delim:f.text}},htmlBuilder:function(l,d){return l.delim==="."?on.makeSpan([l.mclass]):na.sizedDelim(l.delim,l.size,d,l.mode,[l.mclass])},mathmlBuilder:function(l){var d=[];l.delim!=="."&&d.push(ba(l.delim,l.mode));var f=new Fn.MathNode("mo",d);return l.mclass==="mopen"||l.mclass==="mclose"?f.setAttribute("fence","true"):f.setAttribute("fence","false"),f}});function cs(B){if(!B.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Xn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(l,d){var f=l.parser.gullet.macros.get("\\current@color");if(f&&typeof f!="string")throw new v("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:l.parser.mode,delim:za(d[0],l).text,color:f}}}),Xn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(l,d){var f=za(d[0],l),b=l.parser;++b.leftrightDepth;var R=b.parseExpression(!1);--b.leftrightDepth,b.expect("\\right",!1);var H=ei(b.parseFunction(),"leftright-right");return{type:"leftright",mode:b.mode,body:R,left:f.text,right:H.delim,rightColor:H.color}},htmlBuilder:function(l,d){cs(l);for(var f=zi(l.body,d,!0,["mopen","mclose"]),b=0,R=0,H=!1,ge=0;ge<f.length;ge++)f[ge].isMiddle?H=!0:(b=Math.max(f[ge].height,b),R=Math.max(f[ge].depth,R));b*=d.sizeMultiplier,R*=d.sizeMultiplier;var Ce;if(l.left==="."?Ce=da(d,["mopen"]):Ce=na.leftRightDelim(l.left,b,R,d,l.mode,["mopen"]),f.unshift(Ce),H)for(var Ke=1;Ke<f.length;Ke++){var pt=f[Ke],Tt=pt.isMiddle;Tt&&(f[Ke]=na.leftRightDelim(Tt.delim,b,R,Tt.options,l.mode,[]))}var Qt;if(l.right===".")Qt=da(d,["mclose"]);else{var Wt=l.rightColor?d.withColor(l.rightColor):d;Qt=na.leftRightDelim(l.right,b,R,Wt,l.mode,["mclose"])}return f.push(Qt),on.makeSpan(["minner"],f,d)},mathmlBuilder:function(l,d){cs(l);var f=Vi(l.body,d);if(l.left!=="."){var b=new Fn.MathNode("mo",[ba(l.left,l.mode)]);b.setAttribute("fence","true"),f.unshift(b)}if(l.right!=="."){var R=new Fn.MathNode("mo",[ba(l.right,l.mode)]);R.setAttribute("fence","true"),l.rightColor&&R.setAttribute("mathcolor",l.rightColor),f.push(R)}return Qr(f)}}),Xn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(l,d){var f=za(d[0],l);if(!l.parser.leftrightDepth)throw new v("\\middle without preceding \\left",f);return{type:"middle",mode:l.parser.mode,delim:f.text}},htmlBuilder:function(l,d){var f;if(l.delim===".")f=da(d,[]);else{f=na.sizedDelim(l.delim,1,d,l.mode,[]);var b={delim:l.delim,options:d};f.isMiddle=b}return f},mathmlBuilder:function(l,d){var f=l.delim==="\\vert"||l.delim==="|"?ba("|","text"):ba(l.delim,l.mode),b=new Fn.MathNode("mo",[f]);return b.setAttribute("fence","true"),b.setAttribute("lspace","0.05em"),b.setAttribute("rspace","0.05em"),b}});var Ls=function(l,d){var f=on.wrapFragment(Kr(l.body,d),d),b=l.label.substr(1),R=d.sizeMultiplier,H,ge=0,Ce=W.isCharacterBox(l.body);if(b==="sout")H=on.makeSpan(["stretchy","sout"]),H.height=d.fontMetrics().defaultRuleThickness/R,ge=-.5*d.fontMetrics().xHeight;else{/cancel/.test(b)?Ce||f.classes.push("cancel-pad"):f.classes.push("boxpad");var Ke=0,pt=0;/box/.test(b)?(pt=Math.max(d.fontMetrics().fboxrule,d.minRuleThickness),Ke=d.fontMetrics().fboxsep+(b==="colorbox"?0:pt)):Ke=Ce?.2:0,H=Oi.encloseSpan(f,b,Ke,d),/fbox|boxed|fcolorbox/.test(b)&&(H.style.borderStyle="solid",H.style.borderWidth=pt+"em"),ge=f.depth+Ke,l.backgroundColor&&(H.style.backgroundColor=l.backgroundColor,l.borderColor&&(H.style.borderColor=l.borderColor))}var Tt;return l.backgroundColor?Tt=on.makeVList({positionType:"individualShift",children:[{type:"elem",elem:H,shift:ge},{type:"elem",elem:f,shift:0}]},d):Tt=on.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:0},{type:"elem",elem:H,shift:ge,wrapperClasses:/cancel/.test(b)?["svg-align"]:[]}]},d),/cancel/.test(b)&&(Tt.height=f.height,Tt.depth=f.depth),/cancel/.test(b)&&!Ce?on.makeSpan(["mord","cancel-lap"],[Tt],d):on.makeSpan(["mord"],[Tt],d)},Es=function(l,d){var f=0,b=new Fn.MathNode(l.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Pn(l.body,d)]);switch(l.label){case"\\cancel":b.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":b.setAttribute("notation","downdiagonalstrike");break;case"\\sout":b.setAttribute("notation","horizontalstrike");break;case"\\fbox":b.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(f=d.fontMetrics().fboxsep*d.fontMetrics().ptPerEm,b.setAttribute("width","+"+2*f+"pt"),b.setAttribute("height","+"+2*f+"pt"),b.setAttribute("lspace",f+"pt"),b.setAttribute("voffset",f+"pt"),l.label==="\\fcolorbox"){var R=Math.max(d.fontMetrics().fboxrule,d.minRuleThickness);b.setAttribute("style","border: "+R+"em solid "+String(l.borderColor))}break;case"\\xcancel":b.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return l.backgroundColor&&b.setAttribute("mathbackground",l.backgroundColor),b};Xn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(l,d,f){var b=l.parser,R=l.funcName,H=ei(d[0],"color-token").color,ge=d[1];return{type:"enclose",mode:b.mode,label:R,backgroundColor:H,body:ge}},htmlBuilder:Ls,mathmlBuilder:Es}),Xn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(l,d,f){var b=l.parser,R=l.funcName,H=ei(d[0],"color-token").color,ge=ei(d[1],"color-token").color,Ce=d[2];return{type:"enclose",mode:b.mode,label:R,backgroundColor:ge,borderColor:H,body:Ce}},htmlBuilder:Ls,mathmlBuilder:Es}),Xn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(l,d){var f=l.parser;return{type:"enclose",mode:f.mode,label:"\\fbox",body:d[0]}}}),Xn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(l,d,f){var b=l.parser,R=l.funcName,H=d[0];return{type:"enclose",mode:b.mode,label:R,body:H}},htmlBuilder:Ls,mathmlBuilder:Es});var Zs={};function Wr(B){for(var l=B.type,d=B.names,f=B.props,b=B.handler,R=B.htmlBuilder,H=B.mathmlBuilder,ge={type:l,numArgs:f.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:b},Ce=0;Ce<d.length;++Ce)Zs[d[Ce]]=ge;R&&(wr[l]=R),H&&(zr[l]=H)}function Qs(B){var l=[];B.consumeSpaces();for(var d=B.fetch().text;d==="\\hline"||d==="\\hdashline";)B.consume(),l.push(d==="\\hdashline"),B.consumeSpaces(),d=B.fetch().text;return l}function fr(B,l,d){var f=l.hskipBeforeAndAfter,b=l.addJot,R=l.cols,H=l.arraystretch,ge=l.colSeparationType;if(B.gullet.beginGroup(),B.gullet.macros.set("\\\\","\\cr"),!H){var Ce=B.gullet.expandMacroAsText("\\arraystretch");if(Ce==null)H=1;else if(H=parseFloat(Ce),!H||H<0)throw new v("Invalid \\arraystretch: "+Ce)}B.gullet.beginGroup();var Ke=[],pt=[Ke],Tt=[],Qt=[];for(Qt.push(Qs(B));;){var Wt=B.parseExpression(!1,"\\cr");B.gullet.endGroup(),B.gullet.beginGroup(),Wt={type:"ordgroup",mode:B.mode,body:Wt},d&&(Wt={type:"styling",mode:B.mode,style:d,body:[Wt]}),Ke.push(Wt);var Vt=B.fetch().text;if(Vt==="&")B.consume();else if(Vt==="\\end"){Ke.length===1&&Wt.type==="styling"&&Wt.body[0].body.length===0&&pt.pop(),Qt.length<pt.length+1&&Qt.push([]);break}else if(Vt==="\\cr"){var ln=ei(B.parseFunction(),"cr");Tt.push(ln.size),Qt.push(Qs(B)),Ke=[],pt.push(Ke)}else throw new v("Expected & or \\\\ or \\cr or \\end",B.nextToken)}return B.gullet.endGroup(),B.gullet.endGroup(),{type:"array",mode:B.mode,addJot:b,arraystretch:H,body:pt,cols:R,rowGaps:Tt,hskipBeforeAndAfter:f,hLinesBeforeRow:Qt,colSeparationType:ge}}function eo(B){return B.substr(0,1)==="d"?"display":"text"}var Us=function(l,d){var f,b,R=l.body.length,H=l.hLinesBeforeRow,ge=0,Ce=new Array(R),Ke=[],pt=Math.max(d.fontMetrics().arrayRuleWidth,d.minRuleThickness),Tt=1/d.fontMetrics().ptPerEm,Qt=5*Tt;if(l.colSeparationType&&l.colSeparationType==="small"){var Wt=d.havingStyle(_.SCRIPT).sizeMultiplier;Qt=.2778*(Wt/d.sizeMultiplier)}var Vt=12*Tt,ln=3*Tt,Jt=l.arraystretch*Vt,qt=.7*Jt,bn=.3*Jt,Hn=0;function ur(Xa){for(var ja=0;ja<Xa.length;++ja)ja>0&&(Hn+=.25),Ke.push({pos:Hn,isDashed:Xa[ja]})}for(ur(H[0]),f=0;f<l.body.length;++f){var Sr=l.body[f],er=qt,ci=bn;ge<Sr.length&&(ge=Sr.length);var oi=new Array(Sr.length);for(b=0;b<Sr.length;++b){var Ca=Kr(Sr[b],d);ci<Ca.depth&&(ci=Ca.depth),er<Ca.height&&(er=Ca.height),oi[b]=Ca}var Xi=l.rowGaps[f],Kt=0;Xi&&(Kt=Dt(Xi,d),Kt>0&&(Kt+=bn,ci<Kt&&(ci=Kt),Kt=0)),l.addJot&&(ci+=ln),oi.height=er,oi.depth=ci,Hn+=er,oi.pos=Hn,Hn+=ci+Kt,Ce[f]=oi,ur(H[f+1])}var Oa=Hn/2+d.fontMetrics().axisHeight,Ya=l.cols||[],la=[],Zi,$a;for(b=0,$a=0;b<ge||$a<Ya.length;++b,++$a){for(var Qa=Ya[$a]||{},Di=!0;Qa.type==="separator";){if(Di||(Zi=on.makeSpan(["arraycolsep"],[]),Zi.style.width=d.fontMetrics().doubleRuleSep+"em",la.push(Zi)),Qa.separator==="|"||Qa.separator===":"){var ua=Qa.separator==="|"?"solid":"dashed",di=on.makeSpan(["vertical-separator"],[],d);di.style.height=Hn+"em",di.style.borderRightWidth=pt+"em",di.style.borderRightStyle=ua,di.style.margin="0 -"+pt/2+"em",di.style.verticalAlign=-(Hn-Oa)+"em",la.push(di)}else throw new v("Invalid separator type: "+Qa.separator);$a++,Qa=Ya[$a]||{},Di=!1}if(!(b>=ge)){var Si=void 0;(b>0||l.hskipBeforeAndAfter)&&(Si=W.deflt(Qa.pregap,Qt),Si!==0&&(Zi=on.makeSpan(["arraycolsep"],[]),Zi.style.width=Si+"em",la.push(Zi)));var wa=[];for(f=0;f<R;++f){var Ma=Ce[f],Ja=Ma[b];if(Ja){var Ba=Ma.pos-Oa;Ja.depth=Ma.depth,Ja.height=Ma.height,wa.push({type:"elem",elem:Ja,shift:Ba})}}wa=on.makeVList({positionType:"individualShift",children:wa},d),wa=on.makeSpan(["col-align-"+(Qa.align||"c")],[wa]),la.push(wa),(b<ge-1||l.hskipBeforeAndAfter)&&(Si=W.deflt(Qa.postgap,Qt),Si!==0&&(Zi=on.makeSpan(["arraycolsep"],[]),Zi.style.width=Si+"em",la.push(Zi)))}}if(Ce=on.makeSpan(["mtable"],la),Ke.length>0){for(var qa=on.makeLineSpan("hline",d,pt),ds=on.makeLineSpan("hdashline",d,pt),Mi=[{type:"elem",elem:Ce,shift:0}];Ke.length>0;){var Ki=Ke.pop(),Ha=Ki.pos-Oa;Ki.isDashed?Mi.push({type:"elem",elem:ds,shift:Ha}):Mi.push({type:"elem",elem:qa,shift:Ha})}Ce=on.makeVList({positionType:"individualShift",children:Mi},d)}return on.makeSpan(["mord"],[Ce],d)},Do={c:"center ",l:"left ",r:"right "},Na=function(l,d){var f=new Fn.MathNode("mtable",l.body.map(function(Hn){return new Fn.MathNode("mtr",Hn.map(function(ur){return new Fn.MathNode("mtd",[Pn(ur,d)])}))})),b=l.arraystretch===.5?.1:.16+l.arraystretch-1+(l.addJot?.09:0);f.setAttribute("rowspacing",b+"em");var R="",H="";if(l.cols){var ge=l.cols,Ce="",Ke=!1,pt=0,Tt=ge.length;ge[0].type==="separator"&&(R+="top ",pt=1),ge[ge.length-1].type==="separator"&&(R+="bottom ",Tt-=1);for(var Qt=pt;Qt<Tt;Qt++)ge[Qt].type==="align"?(H+=Do[ge[Qt].align],Ke&&(Ce+="none "),Ke=!0):ge[Qt].type==="separator"&&Ke&&(Ce+=ge[Qt].separator==="|"?"solid ":"dashed ",Ke=!1);f.setAttribute("columnalign",H.trim()),/[sd]/.test(Ce)&&f.setAttribute("columnlines",Ce.trim())}if(l.colSeparationType==="align"){for(var Wt=l.cols||[],Vt="",ln=1;ln<Wt.length;ln++)Vt+=ln%2?"0em ":"1em ";f.setAttribute("columnspacing",Vt.trim())}else l.colSeparationType==="alignat"?f.setAttribute("columnspacing","0em"):l.colSeparationType==="small"?f.setAttribute("columnspacing","0.2778em"):f.setAttribute("columnspacing","1em");var Jt="",qt=l.hLinesBeforeRow;R+=qt[0].length>0?"left ":"",R+=qt[qt.length-1].length>0?"right ":"";for(var bn=1;bn<qt.length-1;bn++)Jt+=qt[bn].length===0?"none ":qt[bn][0]?"dashed ":"solid ";return/[sd]/.test(Jt)&&f.setAttribute("rowlines",Jt.trim()),R!==""&&(f=new Fn.MathNode("menclose",[f]),f.setAttribute("notation",R.trim())),l.arraystretch&&l.arraystretch<1&&(f=new Fn.MathNode("mstyle",[f]),f.setAttribute("scriptlevel","1")),f},Ua=function(l,d){var f=[],b=fr(l.parser,{cols:f,addJot:!0},"display"),R,H=0,ge={type:"ordgroup",mode:l.mode,body:[]},Ce=Li(d[0],"ordgroup");if(Ce){for(var Ke="",pt=0;pt<Ce.body.length;pt++){var Tt=ei(Ce.body[pt],"textord");Ke+=Tt.text}R=Number(Ke),H=R*2}var Qt=!H;b.body.forEach(function(Jt){for(var qt=1;qt<Jt.length;qt+=2){var bn=ei(Jt[qt],"styling"),Hn=ei(bn.body[0],"ordgroup");Hn.body.unshift(ge)}if(Qt)H<Jt.length&&(H=Jt.length);else{var ur=Jt.length/2;if(R<ur)throw new v("Too many math in a row: "+("expected "+R+", but got "+ur),Jt[0])}});for(var Wt=0;Wt<H;++Wt){var Vt="r",ln=0;Wt%2===1?Vt="l":Wt>0&&Qt&&(ln=1),f[Wt]={type:"align",align:Vt,pregap:ln,postgap:0}}return b.colSeparationType=Qt?"align":"alignat",b};Wr({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(l,d){var f=Zn(d[0]),b=f?[d[0]]:ei(d[0],"ordgroup").body,R=b.map(function(ge){var Ce=Gt(ge),Ke=Ce.text;if("lcr".indexOf(Ke)!==-1)return{type:"align",align:Ke};if(Ke==="|")return{type:"separator",separator:"|"};if(Ke===":")return{type:"separator",separator:":"};throw new v("Unknown column alignment: "+Ke,ge)}),H={cols:R,hskipBeforeAndAfter:!0};return fr(l.parser,H,eo(l.envName))},htmlBuilder:Us,mathmlBuilder:Na}),Wr({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],f={hskipBeforeAndAfter:!1},b=fr(l.parser,f,eo(l.envName));return d?{type:"leftright",mode:l.mode,body:[b],left:d[0],right:d[1],rightColor:void 0}:b},htmlBuilder:Us,mathmlBuilder:Na}),Wr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(l){var d={arraystretch:.5},f=fr(l.parser,d,"script");return f.colSeparationType="small",f},htmlBuilder:Us,mathmlBuilder:Na}),Wr({type:"array",names:["subarray"],props:{numArgs:1},handler:function(l,d){var f=Zn(d[0]),b=f?[d[0]]:ei(d[0],"ordgroup").body,R=b.map(function(ge){var Ce=Gt(ge),Ke=Ce.text;if("lc".indexOf(Ke)!==-1)return{type:"align",align:Ke};throw new v("Unknown column alignment: "+Ke,ge)});if(R.length>1)throw new v("{subarray} can contain only one column");var H={cols:R,hskipBeforeAndAfter:!1,arraystretch:.5};if(H=fr(l.parser,H,"script"),H.body[0].length>1)throw new v("{subarray} can contain only one column");return H},htmlBuilder:Us,mathmlBuilder:Na}),Wr({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}]},f=fr(l.parser,d,eo(l.envName));return{type:"leftright",mode:l.mode,body:[f],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Us,mathmlBuilder:Na}),Wr({type:"array",names:["aligned"],props:{numArgs:0},handler:Ua,htmlBuilder:Us,mathmlBuilder:Na}),Wr({type:"array",names:["gathered"],props:{numArgs:0},handler:function(l){var d={cols:[{type:"align",align:"c"}],addJot:!0};return fr(l.parser,d,"display")},htmlBuilder:Us,mathmlBuilder:Na}),Wr({type:"array",names:["alignedat"],props:{numArgs:1},handler:Ua,htmlBuilder:Us,mathmlBuilder:Na}),Xn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(l,d){throw new v(l.funcName+" valid only within array environment")}});var Za=Zs,As=Za;Xn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(l,d){var f=l.parser,b=l.funcName,R=d[0];if(R.type!=="ordgroup")throw new v("Invalid environment name",R);for(var H="",ge=0;ge<R.body.length;++ge)H+=ei(R.body[ge],"textord").text;if(b==="\\begin"){if(!As.hasOwnProperty(H))throw new v("No such environment: "+H,R);var Ce=As[H],Ke=f.parseArguments("\\begin{"+H+"}",Ce),pt=Ke.args,Tt=Ke.optArgs,Qt={mode:f.mode,envName:H,parser:f},Wt=Ce.handler(Qt,pt,Tt);f.expect("\\end",!1);var Vt=f.nextToken,ln=ei(f.parseFunction(),"environment");if(ln.name!==H)throw new v("Mismatch: \\begin{"+H+"} matched by \\end{"+ln.name+"}",Vt);return Wt}return{type:"environment",mode:f.mode,name:H,nameGroup:R}}});var ls=on.makeSpan;function to(B,l){var d=zi(B.body,l,!0);return ls([B.mclass],d,l)}function fo(B,l){var d,f=Vi(B.body,l);return B.mclass==="minner"?Fn.newDocumentFragment(f):(B.mclass==="mord"?B.isCharacterBox?(d=f[0],d.type="mi"):d=new Fn.MathNode("mi",f):(B.isCharacterBox?(d=f[0],d.type="mo"):d=new Fn.MathNode("mo",f),B.mclass==="mbin"?(d.attributes.lspace="0.22em",d.attributes.rspace="0.22em"):B.mclass==="mpunct"?(d.attributes.lspace="0em",d.attributes.rspace="0.17em"):(B.mclass==="mopen"||B.mclass==="mclose")&&(d.attributes.lspace="0em",d.attributes.rspace="0em")),d)}Xn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(l,d){var f=l.parser,b=l.funcName,R=d[0];return{type:"mclass",mode:f.mode,mclass:"m"+b.substr(5),body:Zr(R),isCharacterBox:W.isCharacterBox(R)}},htmlBuilder:to,mathmlBuilder:fo});var no=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"};Xn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(l,d){var f=l.parser;return{type:"mclass",mode:f.mode,mclass:no(d[0]),body:[d[1]],isCharacterBox:W.isCharacterBox(d[1])}}}),Xn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(l,d){var f=l.parser,b=l.funcName,R=d[1],H=d[0],ge;b!=="\\stackrel"?ge=no(R):ge="mrel";var Ce={type:"op",mode:R.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:b!=="\\stackrel",body:Zr(R)},Ke={type:"supsub",mode:H.mode,base:Ce,sup:b==="\\underset"?null:H,sub:b==="\\underset"?H:null};return{type:"mclass",mode:f.mode,mclass:ge,body:[Ke],isCharacterBox:W.isCharacterBox(Ke)}},htmlBuilder:to,mathmlBuilder:fo});var To=function(l,d){var f=l.font,b=d.withFont(f);return Kr(l.body,b)},oo=function(l,d){var f=l.font,b=d.withFont(f);return Pn(l.body,b)},Ws={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Xn({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 f=l.parser,b=l.funcName,R=d[0],H=b;return H in Ws&&(H=Ws[H]),{type:"font",mode:f.mode,font:H.slice(1),body:R}},htmlBuilder:To,mathmlBuilder:oo}),Xn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(l,d){var f=l.parser,b=d[0],R=W.isCharacterBox(b);return{type:"mclass",mode:f.mode,mclass:no(b),body:[{type:"font",mode:f.mode,font:"boldsymbol",body:b}],isCharacterBox:R}}}),Xn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(l,d){var f=l.parser,b=l.funcName,R=l.breakOnTokenText,H=f.mode,ge=f.parseExpression(!0,R),Ce="math"+b.slice(1);return{type:"font",mode:H,font:Ce,body:{type:"ordgroup",mode:f.mode,body:ge}}},htmlBuilder:To,mathmlBuilder:oo});var Po=function(l,d){var f=d;return l==="display"?f=f.id>=_.SCRIPT.id?f.text():_.DISPLAY:l==="text"&&f.size===_.DISPLAY.size?f=_.TEXT:l==="script"?f=_.SCRIPT:l==="scriptscript"&&(f=_.SCRIPTSCRIPT),f},vo=function(l,d){var f=Po(l.size,d.style),b=f.fracNum(),R=f.fracDen(),H;H=d.havingStyle(b);var ge=Kr(l.numer,H,d);if(l.continued){var Ce=8.5/d.fontMetrics().ptPerEm,Ke=3.5/d.fontMetrics().ptPerEm;ge.height=ge.height<Ce?Ce:ge.height,ge.depth=ge.depth<Ke?Ke:ge.depth}H=d.havingStyle(R);var pt=Kr(l.denom,H,d),Tt,Qt,Wt;l.hasBarLine?(l.barSize?(Qt=Dt(l.barSize,d),Tt=on.makeLineSpan("frac-line",d,Qt)):Tt=on.makeLineSpan("frac-line",d),Qt=Tt.height,Wt=Tt.height):(Tt=null,Qt=0,Wt=d.fontMetrics().defaultRuleThickness);var Vt,ln,Jt;f.size===_.DISPLAY.size||l.size==="display"?(Vt=d.fontMetrics().num1,Qt>0?ln=3*Wt:ln=7*Wt,Jt=d.fontMetrics().denom1):(Qt>0?(Vt=d.fontMetrics().num2,ln=Wt):(Vt=d.fontMetrics().num3,ln=3*Wt),Jt=d.fontMetrics().denom2);var qt;if(Tt){var Hn=d.fontMetrics().axisHeight;Vt-ge.depth-(Hn+.5*Qt)<ln&&(Vt+=ln-(Vt-ge.depth-(Hn+.5*Qt))),Hn-.5*Qt-(pt.height-Jt)<ln&&(Jt+=ln-(Hn-.5*Qt-(pt.height-Jt)));var ur=-(Hn-.5*Qt);qt=on.makeVList({positionType:"individualShift",children:[{type:"elem",elem:pt,shift:Jt},{type:"elem",elem:Tt,shift:ur},{type:"elem",elem:ge,shift:-Vt}]},d)}else{var bn=Vt-ge.depth-(pt.height-Jt);bn<ln&&(Vt+=.5*(ln-bn),Jt+=.5*(ln-bn)),qt=on.makeVList({positionType:"individualShift",children:[{type:"elem",elem:pt,shift:Jt},{type:"elem",elem:ge,shift:-Vt}]},d)}H=d.havingStyle(f),qt.height*=H.sizeMultiplier/d.sizeMultiplier,qt.depth*=H.sizeMultiplier/d.sizeMultiplier;var Sr;f.size===_.DISPLAY.size?Sr=d.fontMetrics().delim1:Sr=d.fontMetrics().delim2;var er,ci;return l.leftDelim==null?er=da(d,["mopen"]):er=na.customSizedDelim(l.leftDelim,Sr,!0,d.havingStyle(f),l.mode,["mopen"]),l.continued?ci=on.makeSpan([]):l.rightDelim==null?ci=da(d,["mclose"]):ci=na.customSizedDelim(l.rightDelim,Sr,!0,d.havingStyle(f),l.mode,["mclose"]),on.makeSpan(["mord"].concat(H.sizingClasses(d)),[er,on.makeSpan(["mfrac"],[qt]),ci],d)},No=function(l,d){var f=new Fn.MathNode("mfrac",[Pn(l.numer,d),Pn(l.denom,d)]);if(!l.hasBarLine)f.setAttribute("linethickness","0px");else if(l.barSize){var b=Dt(l.barSize,d);f.setAttribute("linethickness",b+"em")}var R=Po(l.size,d.style);if(R.size!==d.style.size){f=new Fn.MathNode("mstyle",[f]);var H=R.size===_.DISPLAY.size?"true":"false";f.setAttribute("displaystyle",H),f.setAttribute("scriptlevel","0")}if(l.leftDelim!=null||l.rightDelim!=null){var ge=[];if(l.leftDelim!=null){var Ce=new Fn.MathNode("mo",[new Fn.TextNode(l.leftDelim.replace("\\",""))]);Ce.setAttribute("fence","true"),ge.push(Ce)}if(ge.push(f),l.rightDelim!=null){var Ke=new Fn.MathNode("mo",[new Fn.TextNode(l.rightDelim.replace("\\",""))]);Ke.setAttribute("fence","true"),ge.push(Ke)}return Qr(ge)}return f};Xn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(l,d){var f=l.parser,b=l.funcName,R=d[0],H=d[1],ge,Ce=null,Ke=null,pt="auto";switch(b){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":ge=!0;break;case"\\\\atopfrac":ge=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":ge=!1,Ce="(",Ke=")";break;case"\\\\bracefrac":ge=!1,Ce="\\{",Ke="\\}";break;case"\\\\brackfrac":ge=!1,Ce="[",Ke="]";break;default:throw new Error("Unrecognized genfrac command")}switch(b){case"\\cfrac":case"\\dfrac":case"\\dbinom":pt="display";break;case"\\tfrac":case"\\tbinom":pt="text";break}return{type:"genfrac",mode:f.mode,continued:b==="\\cfrac",numer:R,denom:H,hasBarLine:ge,leftDelim:Ce,rightDelim:Ke,size:pt,barSize:null}},htmlBuilder:vo,mathmlBuilder:No}),Xn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(l){var d=l.parser,f=l.funcName,b=l.token,R;switch(f){case"\\over":R="\\frac";break;case"\\choose":R="\\binom";break;case"\\atop":R="\\\\atopfrac";break;case"\\brace":R="\\\\bracefrac";break;case"\\brack":R="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:d.mode,replaceWith:R,token:b}}});var Bs=["display","text","script","scriptscript"],Ks=function(l){var d=null;return l.length>0&&(d=l,d=d==="."?null:d),d};Xn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(l,d){var f=l.parser,b=d[4],R=d[5],H=Li(d[0],"atom");H&&(H=Ft(d[0],"open"));var ge=H?Ks(H.text):null,Ce=Li(d[1],"atom");Ce&&(Ce=Ft(d[1],"close"));var Ke=Ce?Ks(Ce.text):null,pt=ei(d[2],"size"),Tt,Qt=null;pt.isBlank?Tt=!0:(Qt=pt.value,Tt=Qt.number>0);var Wt="auto",Vt=Li(d[3],"ordgroup");if(Vt){if(Vt.body.length>0){var ln=ei(Vt.body[0],"textord");Wt=Bs[Number(ln.text)]}}else Vt=ei(d[3],"textord"),Wt=Bs[Number(Vt.text)];return{type:"genfrac",mode:f.mode,numer:b,denom:R,continued:!1,hasBarLine:Tt,barSize:Qt,leftDelim:ge,rightDelim:Ke,size:Wt}},htmlBuilder:vo,mathmlBuilder:No}),Xn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(l,d){var f=l.parser,b=l.funcName,R=l.token;return{type:"infix",mode:f.mode,replaceWith:"\\\\abovefrac",size:ei(d[0],"size").value,token:R}}}),Xn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(l,d){var f=l.parser,b=l.funcName,R=d[0],H=G(ei(d[1],"infix").size),ge=d[2],Ce=H.number>0;return{type:"genfrac",mode:f.mode,numer:R,denom:ge,continued:!1,hasBarLine:Ce,barSize:H,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:vo,mathmlBuilder:No});var Ho=function(l,d){var f=d.style,b,R,H=Li(l,"supsub");H?(b=H.sup?Kr(H.sup,d.havingStyle(f.sup()),d):Kr(H.sub,d.havingStyle(f.sub()),d),R=ei(H.base,"horizBrace")):R=ei(l,"horizBrace");var ge=Kr(R.base,d.havingBaseStyle(_.DISPLAY)),Ce=Oi.svgSpan(R,d),Ke;if(R.isOver?(Ke=on.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge},{type:"kern",size:.1},{type:"elem",elem:Ce}]},d),Ke.children[0].children[0].children[1].classes.push("svg-align")):(Ke=on.makeVList({positionType:"bottom",positionData:ge.depth+.1+Ce.height,children:[{type:"elem",elem:Ce},{type:"kern",size:.1},{type:"elem",elem:ge}]},d),Ke.children[0].children[0].children[0].classes.push("svg-align")),b){var pt=on.makeSpan(["mord",R.isOver?"mover":"munder"],[Ke],d);R.isOver?Ke=on.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:pt},{type:"kern",size:.2},{type:"elem",elem:b}]},d):Ke=on.makeVList({positionType:"bottom",positionData:pt.depth+.2+b.height+b.depth,children:[{type:"elem",elem:b},{type:"kern",size:.2},{type:"elem",elem:pt}]},d)}return on.makeSpan(["mord",R.isOver?"mover":"munder"],[Ke],d)},qn=function(l,d){var f=Oi.mathMLnode(l.label);return new Fn.MathNode(l.isOver?"mover":"munder",[Pn(l.base,d),f])};Xn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(l,d){var f=l.parser,b=l.funcName;return{type:"horizBrace",mode:f.mode,label:b,isOver:/^\\over/.test(b),base:d[0]}},htmlBuilder:Ho,mathmlBuilder:qn}),Xn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(l,d){var f=l.parser,b=d[1],R=ei(d[0],"url").url;return f.settings.isTrusted({command:"\\href",url:R})?{type:"href",mode:f.mode,href:R,body:Zr(b)}:f.formatUnsupportedCmd("\\href")},htmlBuilder:function(l,d){var f=zi(l.body,d,!1);return on.makeAnchor(l.href,[],f,d)},mathmlBuilder:function(l,d){var f=$i(l.body,d);return f instanceof rr||(f=new rr("mrow",[f])),f.setAttribute("href",l.href),f}}),Xn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(l,d){var f=l.parser,b=ei(d[0],"url").url;if(!f.settings.isTrusted({command:"\\url",url:b}))return f.formatUnsupportedCmd("\\url");for(var R=[],H=0;H<b.length;H++){var ge=b[H];ge==="~"&&(ge="\\textasciitilde"),R.push({type:"textord",mode:"text",text:ge})}var Ce={type:"text",mode:f.mode,font:"\\texttt",body:R};return{type:"href",mode:f.mode,href:b,body:Zr(Ce)}}}),Xn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(l,d){var f=l.parser;return{type:"htmlmathml",mode:f.mode,html:Zr(d[0]),mathml:Zr(d[1])}},htmlBuilder:function(l,d){var f=zi(l.html,d,!1);return on.makeFragment(f)},mathmlBuilder:function(l,d){return $i(l.mathml,d)}});var Bo=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 v("Invalid size: '"+l+"' in \\includegraphics");var f={number:+(d[1]+d[2]),unit:d[3]};if(!hr(f))throw new v("Invalid unit: '"+f.unit+"' in \\includegraphics.");return f};Xn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(l,d,f){var b=l.parser,R={number:0,unit:"em"},H={number:.9,unit:"em"},ge={number:0,unit:"em"},Ce="";if(f[0])for(var Ke=ei(f[0],"raw").string,pt=Ke.split(","),Tt=0;Tt<pt.length;Tt++){var Qt=pt[Tt].split("=");if(Qt.length===2){var Wt=Qt[1].trim();switch(Qt[0].trim()){case"alt":Ce=Wt;break;case"width":R=Bo(Wt);break;case"height":H=Bo(Wt);break;case"totalheight":ge=Bo(Wt);break;default:throw new v("Invalid key: '"+Qt[0]+"' in \\includegraphics.")}}}var Vt=ei(d[0],"url").url;return Ce===""&&(Ce=Vt,Ce=Ce.replace(/^.*[\\/]/,""),Ce=Ce.substring(0,Ce.lastIndexOf("."))),b.settings.isTrusted({command:"\\includegraphics",url:Vt})?{type:"includegraphics",mode:b.mode,alt:Ce,width:R,height:H,totalheight:ge,src:Vt}:b.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(l,d){var f=Dt(l.height,d),b=0;l.totalheight.number>0&&(b=Dt(l.totalheight,d)-f,b=Number(b.toFixed(2)));var R=0;l.width.number>0&&(R=Dt(l.width,d));var H={height:f+b+"em"};R>0&&(H.width=R+"em"),b>0&&(H.verticalAlign=-b+"em");var ge=new U(l.src,l.alt,H);return ge.height=f,ge.depth=b,ge},mathmlBuilder:function(l,d){var f=new Fn.MathNode("mglyph",[]);f.setAttribute("alt",l.alt);var b=Dt(l.height,d),R=0;if(l.totalheight.number>0&&(R=Dt(l.totalheight,d)-b,R=R.toFixed(2),f.setAttribute("valign","-"+R+"em")),f.setAttribute("height",b+R+"em"),l.width.number>0){var H=Dt(l.width,d);f.setAttribute("width",H+"em")}return f.setAttribute("src",l.src),f}}),Xn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(l,d){var f=l.parser,b=l.funcName,R=ei(d[0],"size");if(f.settings.strict){var H=b[1]==="m",ge=R.value.unit==="mu";H?(ge||f.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+b+" supports only mu units, "+("not "+R.value.unit+" units")),f.mode!=="math"&&f.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+b+" works only in math mode")):ge&&f.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+b+" doesn't support mu units")}return{type:"kern",mode:f.mode,dimension:R.value}},htmlBuilder:function(l,d){return on.makeGlue(l.dimension,d)},mathmlBuilder:function(l,d){var f=Dt(l.dimension,d);return new Fn.SpaceNode(f)}}),Xn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var f=l.parser,b=l.funcName,R=d[0];return{type:"lap",mode:f.mode,alignment:b.slice(5),body:R}},htmlBuilder:function(l,d){var f;l.alignment==="clap"?(f=on.makeSpan([],[Kr(l.body,d)]),f=on.makeSpan(["inner"],[f],d)):f=on.makeSpan(["inner"],[Kr(l.body,d)]);var b=on.makeSpan(["fix"],[]),R=on.makeSpan([l.alignment],[f,b],d),H=on.makeSpan(["strut"]);return H.style.height=R.height+R.depth+"em",H.style.verticalAlign=-R.depth+"em",R.children.unshift(H),R=on.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:R}]},d),on.makeSpan(["mord"],[R],d)},mathmlBuilder:function(l,d){var f=new Fn.MathNode("mpadded",[Pn(l.body,d)]);if(l.alignment!=="rlap"){var b=l.alignment==="llap"?"-1":"-0.5";f.setAttribute("lspace",b+"width")}return f.setAttribute("width","0px"),f}}),Xn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(l,d){var f=l.funcName,b=l.parser,R=b.mode;b.switchMode("math");var H=f==="\\("?"\\)":"$",ge=b.parseExpression(!1,H);return b.expect(H),b.switchMode(R),{type:"styling",mode:b.mode,style:"text",body:ge}}}),Xn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(l,d){throw new v("Mismatched "+l.funcName)}});var ti=function(l,d){switch(d.style.size){case _.DISPLAY.size:return l.display;case _.TEXT.size:return l.text;case _.SCRIPT.size:return l.script;case _.SCRIPTSCRIPT.size:return l.scriptscript;default:return l.text}};Xn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(l,d){var f=l.parser;return{type:"mathchoice",mode:f.mode,display:Zr(d[0]),text:Zr(d[1]),script:Zr(d[2]),scriptscript:Zr(d[3])}},htmlBuilder:function(l,d){var f=ti(l,d),b=zi(f,d,!1);return on.makeFragment(b)},mathmlBuilder:function(l,d){var f=ti(l,d);return $i(f,d)}});var ps=function(l,d,f,b,R,H,ge){l=on.makeSpan([],[l]);var Ce,Ke;if(d){var pt=Kr(d,b.havingStyle(R.sup()),b);Ke={elem:pt,kern:Math.max(b.fontMetrics().bigOpSpacing1,b.fontMetrics().bigOpSpacing3-pt.depth)}}if(f){var Tt=Kr(f,b.havingStyle(R.sub()),b);Ce={elem:Tt,kern:Math.max(b.fontMetrics().bigOpSpacing2,b.fontMetrics().bigOpSpacing4-Tt.height)}}var Qt;if(Ke&&Ce){var Wt=b.fontMetrics().bigOpSpacing5+Ce.elem.height+Ce.elem.depth+Ce.kern+l.depth+ge;Qt=on.makeVList({positionType:"bottom",positionData:Wt,children:[{type:"kern",size:b.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ce.elem,marginLeft:-H+"em"},{type:"kern",size:Ce.kern},{type:"elem",elem:l},{type:"kern",size:Ke.kern},{type:"elem",elem:Ke.elem,marginLeft:H+"em"},{type:"kern",size:b.fontMetrics().bigOpSpacing5}]},b)}else if(Ce){var Vt=l.height-ge;Qt=on.makeVList({positionType:"top",positionData:Vt,children:[{type:"kern",size:b.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ce.elem,marginLeft:-H+"em"},{type:"kern",size:Ce.kern},{type:"elem",elem:l}]},b)}else if(Ke){var ln=l.depth+ge;Qt=on.makeVList({positionType:"bottom",positionData:ln,children:[{type:"elem",elem:l},{type:"kern",size:Ke.kern},{type:"elem",elem:Ke.elem,marginLeft:H+"em"},{type:"kern",size:b.fontMetrics().bigOpSpacing5}]},b)}else return l;return on.makeSpan(["mop","op-limits"],[Qt],b)},S=["\\smallint"],te=function(l,d){var f,b,R=!1,H,ge=Li(l,"supsub");ge?(f=ge.sup,b=ge.sub,H=ei(ge.base,"op"),R=!0):H=ei(l,"op");var Ce=d.style,Ke=!1;Ce.size===_.DISPLAY.size&&H.symbol&&!W.contains(S,H.name)&&(Ke=!0);var pt;if(H.symbol){var Tt=Ke?"Size2-Regular":"Size1-Regular",Qt="";if((H.name==="\\oiint"||H.name==="\\oiiint")&&(Qt=H.name.substr(1),H.name=Qt==="oiint"?"\\iint":"\\iiint"),pt=on.makeSymbol(H.name,Tt,"math",d,["mop","op-symbol",Ke?"large-op":"small-op"]),Qt.length>0){var Wt=pt.italic,Vt=on.staticSvg(Qt+"Size"+(Ke?"2":"1"),d);pt=on.makeVList({positionType:"individualShift",children:[{type:"elem",elem:pt,shift:0},{type:"elem",elem:Vt,shift:Ke?.08:0}]},d),H.name="\\"+Qt,pt.classes.unshift("mop"),pt.italic=Wt}}else if(H.body){var ln=zi(H.body,d,!0);ln.length===1&&ln[0]instanceof ye?(pt=ln[0],pt.classes[0]="mop"):pt=on.makeSpan(["mop"],on.tryCombineChars(ln),d)}else{for(var Jt=[],qt=1;qt<H.name.length;qt++)Jt.push(on.mathsym(H.name[qt],H.mode,d));pt=on.makeSpan(["mop"],Jt,d)}var bn=0,Hn=0;return(pt instanceof ye||H.name==="\\oiint"||H.name==="\\oiiint")&&!H.suppressBaseShift&&(bn=(pt.height-pt.depth)/2-d.fontMetrics().axisHeight,Hn=pt.italic),R?ps(pt,f,b,d,Ce,Hn,bn):(bn&&(pt.style.position="relative",pt.style.top=bn+"em"),pt)},Se=function(l,d){var f;if(l.symbol)f=new rr("mo",[ba(l.name,l.mode)]),W.contains(S,l.name)&&f.setAttribute("largeop","false");else if(l.body)f=new rr("mo",Vi(l.body,d));else{f=new rr("mi",[new or(l.name.slice(1))]);var b=new rr("mo",[ba("\u2061","text")]);l.parentIsSupSub?f=new rr("mo",[f,b]):f=_a([f,b])}return f},Ye={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Xn({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 f=l.parser,b=l.funcName,R=b;return R.length===1&&(R=Ye[R]),{type:"op",mode:f.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:R}},htmlBuilder:te,mathmlBuilder:Se}),Xn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(l,d){var f=l.parser,b=d[0];return{type:"op",mode:f.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Zr(b)}},htmlBuilder:te,mathmlBuilder:Se});var Je={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Xn({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,f=l.funcName;return{type:"op",mode:d.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:f}},htmlBuilder:te,mathmlBuilder:Se}),Xn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(l){var d=l.parser,f=l.funcName;return{type:"op",mode:d.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:f}},htmlBuilder:te,mathmlBuilder:Se}),Xn({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,f=l.funcName,b=f;return b.length===1&&(b=Je[b]),{type:"op",mode:d.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:b}},htmlBuilder:te,mathmlBuilder:Se});var Ot=function(l,d){var f,b,R=!1,H,ge=Li(l,"supsub");ge?(f=ge.sup,b=ge.sub,H=ei(ge.base,"operatorname"),R=!0):H=ei(l,"operatorname");var Ce;if(H.body.length>0){for(var Ke=H.body.map(function(Wt){var Vt=Wt.text;return typeof Vt=="string"?{type:"textord",mode:Wt.mode,text:Vt}:Wt}),pt=zi(Ke,d.withFont("mathrm"),!0),Tt=0;Tt<pt.length;Tt++){var Qt=pt[Tt];Qt instanceof ye&&(Qt.text=Qt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ce=on.makeSpan(["mop"],pt,d)}else Ce=on.makeSpan(["mop"],[],d);return R?ps(Ce,f,b,d,d.style,0,0):Ce},zt=function(l,d){for(var f=Vi(l.body,d.withFont("mathrm")),b=!0,R=0;R<f.length;R++){var H=f[R];if(!(H instanceof Fn.SpaceNode))if(H instanceof Fn.MathNode)switch(H.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var ge=H.children[0];H.children.length===1&&ge instanceof Fn.TextNode?ge.text=ge.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):b=!1;break}default:b=!1}else b=!1}if(b){var Ce=f.map(function(Tt){return Tt.toText()}).join("");f=[new Fn.TextNode(Ce)]}var Ke=new Fn.MathNode("mi",f);Ke.setAttribute("mathvariant","normal");var pt=new Fn.MathNode("mo",[ba("\u2061","text")]);return l.parentIsSupSub?new Fn.MathNode("mo",[Ke,pt]):Fn.newDocumentFragment([Ke,pt])};Xn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(l,d){var f=l.parser,b=l.funcName,R=d[0];return{type:"operatorname",mode:f.mode,body:Zr(R),alwaysHandleSupSub:b==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ot,mathmlBuilder:zt}),Rr({type:"ordgroup",htmlBuilder:function(l,d){return l.semisimple?on.makeFragment(zi(l.body,d,!1)):on.makeSpan(["mord"],zi(l.body,d,!0),d)},mathmlBuilder:function(l,d){return $i(l.body,d,!0)}}),Xn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(l,d){var f=l.parser,b=d[0];return{type:"overline",mode:f.mode,body:b}},htmlBuilder:function(l,d){var f=Kr(l.body,d.havingCrampedStyle()),b=on.makeLineSpan("overline-line",d),R=d.fontMetrics().defaultRuleThickness,H=on.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:f},{type:"kern",size:3*R},{type:"elem",elem:b},{type:"kern",size:R}]},d);return on.makeSpan(["mord","overline"],[H],d)},mathmlBuilder:function(l,d){var f=new Fn.MathNode("mo",[new Fn.TextNode("\u203E")]);f.setAttribute("stretchy","true");var b=new Fn.MathNode("mover",[Pn(l.body,d),f]);return b.setAttribute("accent","true"),b}}),Xn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var f=l.parser,b=d[0];return{type:"phantom",mode:f.mode,body:Zr(b)}},htmlBuilder:function(l,d){var f=zi(l.body,d.withPhantom(),!1);return on.makeFragment(f)},mathmlBuilder:function(l,d){var f=Vi(l.body,d);return new Fn.MathNode("mphantom",f)}}),Xn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var f=l.parser,b=d[0];return{type:"hphantom",mode:f.mode,body:b}},htmlBuilder:function(l,d){var f=on.makeSpan([],[Kr(l.body,d.withPhantom())]);if(f.height=0,f.depth=0,f.children)for(var b=0;b<f.children.length;b++)f.children[b].height=0,f.children[b].depth=0;return f=on.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:f}]},d),on.makeSpan(["mord"],[f],d)},mathmlBuilder:function(l,d){var f=Vi(Zr(l.body),d),b=new Fn.MathNode("mphantom",f),R=new Fn.MathNode("mpadded",[b]);return R.setAttribute("height","0px"),R.setAttribute("depth","0px"),R}}),Xn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var f=l.parser,b=d[0];return{type:"vphantom",mode:f.mode,body:b}},htmlBuilder:function(l,d){var f=on.makeSpan(["inner"],[Kr(l.body,d.withPhantom())]),b=on.makeSpan(["fix"],[]);return on.makeSpan(["mord","rlap"],[f,b],d)},mathmlBuilder:function(l,d){var f=Vi(Zr(l.body),d),b=new Fn.MathNode("mphantom",f),R=new Fn.MathNode("mpadded",[b]);return R.setAttribute("width","0px"),R}}),Xn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(l,d){var f=l.parser,b=ei(d[0],"size").value,R=d[1];return{type:"raisebox",mode:f.mode,dy:b,body:R}},htmlBuilder:function(l,d){var f=Kr(l.body,d),b=Dt(l.dy,d);return on.makeVList({positionType:"shift",positionData:-b,children:[{type:"elem",elem:f}]},d)},mathmlBuilder:function(l,d){var f=new Fn.MathNode("mpadded",[Pn(l.body,d)]),b=l.dy.number+l.dy.unit;return f.setAttribute("voffset",b),f}}),Xn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(l,d,f){var b=l.parser,R=f[0],H=ei(d[0],"size"),ge=ei(d[1],"size");return{type:"rule",mode:b.mode,shift:R&&ei(R,"size").value,width:H.value,height:ge.value}},htmlBuilder:function(l,d){var f=on.makeSpan(["mord","rule"],[],d),b=Dt(l.width,d),R=Dt(l.height,d),H=l.shift?Dt(l.shift,d):0;return f.style.borderRightWidth=b+"em",f.style.borderTopWidth=R+"em",f.style.bottom=H+"em",f.width=b,f.height=R+H,f.depth=-H,f.maxFontSize=R*1.125*d.sizeMultiplier,f},mathmlBuilder:function(l,d){var f=Dt(l.width,d),b=Dt(l.height,d),R=l.shift?Dt(l.shift,d):0,H=d.color&&d.getColor()||"black",ge=new Fn.MathNode("mspace");ge.setAttribute("mathbackground",H),ge.setAttribute("width",f+"em"),ge.setAttribute("height",b+"em");var Ce=new Fn.MathNode("mpadded",[ge]);return R>=0?Ce.setAttribute("height","+"+R+"em"):(Ce.setAttribute("height",R+"em"),Ce.setAttribute("depth","+"+-R+"em")),Ce.setAttribute("voffset",R+"em"),Ce}});function Yt(B,l,d){for(var f=zi(B,l,!1),b=l.sizeMultiplier/d.sizeMultiplier,R=0;R<f.length;R++){var H=f[R].classes.indexOf("sizing");H<0?Array.prototype.push.apply(f[R].classes,l.sizingClasses(d)):f[R].classes[H+1]==="reset-size"+l.size&&(f[R].classes[H+1]="reset-size"+d.size),f[R].height*=b,f[R].depth*=b}return on.makeFragment(f)}var yn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Cn=function(l,d){var f=d.havingSize(l.size);return Yt(l.body,f,d)};Xn({type:"sizing",names:yn,props:{numArgs:0,allowedInText:!0},handler:function(l,d){var f=l.breakOnTokenText,b=l.funcName,R=l.parser,H=R.parseExpression(!1,f);return{type:"sizing",mode:R.mode,size:yn.indexOf(b)+1,body:H}},htmlBuilder:Cn,mathmlBuilder:function(l,d){var f=d.havingSize(l.size),b=Vi(l.body,f),R=new Fn.MathNode("mstyle",b);return R.setAttribute("mathsize",f.sizeMultiplier+"em"),R}}),Xn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(l,d,f){var b=l.parser,R=!1,H=!1,ge=f[0]&&ei(f[0],"ordgroup");if(ge)for(var Ce="",Ke=0;Ke<ge.body.length;++Ke){var pt=ge.body[Ke];if(Ce=pt.text,Ce==="t")R=!0;else if(Ce==="b")H=!0;else{R=!1,H=!1;break}}else R=!0,H=!0;var Tt=d[0];return{type:"smash",mode:b.mode,body:Tt,smashHeight:R,smashDepth:H}},htmlBuilder:function(l,d){var f=on.makeSpan([],[Kr(l.body,d)]);if(!l.smashHeight&&!l.smashDepth)return f;if(l.smashHeight&&(f.height=0,f.children))for(var b=0;b<f.children.length;b++)f.children[b].height=0;if(l.smashDepth&&(f.depth=0,f.children))for(var R=0;R<f.children.length;R++)f.children[R].depth=0;var H=on.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:f}]},d);return on.makeSpan(["mord"],[H],d)},mathmlBuilder:function(l,d){var f=new Fn.MathNode("mpadded",[Pn(l.body,d)]);return l.smashHeight&&f.setAttribute("height","0px"),l.smashDepth&&f.setAttribute("depth","0px"),f}}),Xn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(l,d,f){var b=l.parser,R=f[0],H=d[0];return{type:"sqrt",mode:b.mode,body:H,index:R}},htmlBuilder:function(l,d){var f=Kr(l.body,d.havingCrampedStyle());f.height===0&&(f.height=d.fontMetrics().xHeight),f=on.wrapFragment(f,d);var b=d.fontMetrics(),R=b.defaultRuleThickness,H=R;d.style.id<_.TEXT.id&&(H=d.fontMetrics().xHeight);var ge=R+H/4,Ce=f.height+f.depth+ge+R,Ke=na.sqrtImage(Ce,d),pt=Ke.span,Tt=Ke.ruleWidth,Qt=Ke.advanceWidth,Wt=pt.height-Tt;Wt>f.height+f.depth+ge&&(ge=(ge+Wt-f.height-f.depth)/2);var Vt=pt.height-f.height-ge-Tt;f.style.paddingLeft=Qt+"em";var ln=on.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:f,wrapperClasses:["svg-align"]},{type:"kern",size:-(f.height+Vt)},{type:"elem",elem:pt},{type:"kern",size:Tt}]},d);if(l.index){var Jt=d.havingStyle(_.SCRIPTSCRIPT),qt=Kr(l.index,Jt,d),bn=.6*(ln.height-ln.depth),Hn=on.makeVList({positionType:"shift",positionData:-bn,children:[{type:"elem",elem:qt}]},d),ur=on.makeSpan(["root"],[Hn]);return on.makeSpan(["mord","sqrt"],[ur,ln],d)}else return on.makeSpan(["mord","sqrt"],[ln],d)},mathmlBuilder:function(l,d){var f=l.body,b=l.index;return b?new Fn.MathNode("mroot",[Pn(f,d),Pn(b,d)]):new Fn.MathNode("msqrt",[Pn(f,d)])}});var tn={display:_.DISPLAY,text:_.TEXT,script:_.SCRIPT,scriptscript:_.SCRIPTSCRIPT};Xn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(l,d){var f=l.breakOnTokenText,b=l.funcName,R=l.parser,H=R.parseExpression(!0,f),ge=b.slice(1,b.length-5);return{type:"styling",mode:R.mode,style:ge,body:H}},htmlBuilder:function(l,d){var f=tn[l.style],b=d.havingStyle(f).withFont("");return Yt(l.body,b,d)},mathmlBuilder:function(l,d){var f=tn[l.style],b=d.havingStyle(f),R=Vi(l.body,b),H=new Fn.MathNode("mstyle",R),ge={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ce=ge[l.style];return H.setAttribute("scriptlevel",Ce[0]),H.setAttribute("displaystyle",Ce[1]),H}});var zn=function(l,d){var f=l.base;if(f)if(f.type==="op"){var b=f.limits&&(d.style.size===_.DISPLAY.size||f.alwaysHandleSupSub);return b?te:null}else if(f.type==="operatorname"){var R=f.alwaysHandleSupSub&&(d.style.size===_.DISPLAY.size||f.limits);return R?Ot:null}else{if(f.type==="accent")return W.isCharacterBox(f.base)?wn:null;if(f.type==="horizBrace"){var H=!l.sub;return H===f.isOver?Ho:null}else return null}else return null};Rr({type:"supsub",htmlBuilder:function(l,d){var f=zn(l,d);if(f)return f(l,d);var b=l.base,R=l.sup,H=l.sub,ge=Kr(b,d),Ce,Ke,pt=d.fontMetrics(),Tt=0,Qt=0,Wt=b&&W.isCharacterBox(b);if(R){var Vt=d.havingStyle(d.style.sup());Ce=Kr(R,Vt,d),Wt||(Tt=ge.height-Vt.fontMetrics().supDrop*Vt.sizeMultiplier/d.sizeMultiplier)}if(H){var ln=d.havingStyle(d.style.sub());Ke=Kr(H,ln,d),Wt||(Qt=ge.depth+ln.fontMetrics().subDrop*ln.sizeMultiplier/d.sizeMultiplier)}var Jt;d.style===_.DISPLAY?Jt=pt.sup1:d.style.cramped?Jt=pt.sup3:Jt=pt.sup2;var qt=d.sizeMultiplier,bn=.5/pt.ptPerEm/qt+"em",Hn=null;if(Ke){var ur=l.base&&l.base.type==="op"&&l.base.name&&(l.base.name==="\\oiint"||l.base.name==="\\oiiint");(ge instanceof ye||ur)&&(Hn=-ge.italic+"em")}var Sr;if(Ce&&Ke){Tt=Math.max(Tt,Jt,Ce.depth+.25*pt.xHeight),Qt=Math.max(Qt,pt.sub2);var er=pt.defaultRuleThickness,ci=4*er;if(Tt-Ce.depth-(Ke.height-Qt)<ci){Qt=ci-(Tt-Ce.depth)+Ke.height;var oi=.8*pt.xHeight-(Tt-Ce.depth);oi>0&&(Tt+=oi,Qt-=oi)}var Ca=[{type:"elem",elem:Ke,shift:Qt,marginRight:bn,marginLeft:Hn},{type:"elem",elem:Ce,shift:-Tt,marginRight:bn}];Sr=on.makeVList({positionType:"individualShift",children:Ca},d)}else if(Ke){Qt=Math.max(Qt,pt.sub1,Ke.height-.8*pt.xHeight);var Xi=[{type:"elem",elem:Ke,marginLeft:Hn,marginRight:bn}];Sr=on.makeVList({positionType:"shift",positionData:Qt,children:Xi},d)}else if(Ce)Tt=Math.max(Tt,Jt,Ce.depth+.25*pt.xHeight),Sr=on.makeVList({positionType:"shift",positionData:-Tt,children:[{type:"elem",elem:Ce,marginRight:bn}]},d);else throw new Error("supsub must have either sup or sub.");var Kt=Fi(ge,"right")||"mord";return on.makeSpan([Kt],[ge,on.makeSpan(["msupsub"],[Sr])],d)},mathmlBuilder:function(l,d){var f=!1,b,R,H=Li(l.base,"horizBrace");H&&(R=!!l.sup,R===H.isOver&&(f=!0,b=H.isOver)),l.base&&(l.base.type==="op"||l.base.type==="operatorname")&&(l.base.parentIsSupSub=!0);var ge=[Pn(l.base,d)];l.sub&&ge.push(Pn(l.sub,d)),l.sup&&ge.push(Pn(l.sup,d));var Ce;if(f)Ce=b?"mover":"munder";else if(l.sub)if(l.sup){var Tt=l.base;Tt&&Tt.type==="op"&&Tt.limits&&d.style===_.DISPLAY||Tt&&Tt.type==="operatorname"&&Tt.alwaysHandleSupSub&&(d.style===_.DISPLAY||Tt.limits)?Ce="munderover":Ce="msubsup"}else{var pt=l.base;pt&&pt.type==="op"&&pt.limits&&(d.style===_.DISPLAY||pt.alwaysHandleSupSub)||pt&&pt.type==="operatorname"&&pt.alwaysHandleSupSub&&(pt.limits||d.style===_.DISPLAY)?Ce="munder":Ce="msub"}else{var Ke=l.base;Ke&&Ke.type==="op"&&Ke.limits&&(d.style===_.DISPLAY||Ke.alwaysHandleSupSub)||Ke&&Ke.type==="operatorname"&&Ke.alwaysHandleSupSub&&(Ke.limits||d.style===_.DISPLAY)?Ce="mover":Ce="msup"}var Qt=new Fn.MathNode(Ce,ge);return Qt}}),Rr({type:"atom",htmlBuilder:function(l,d){return on.mathsym(l.text,l.mode,d,["m"+l.family])},mathmlBuilder:function(l,d){var f=new Fn.MathNode("mo",[ba(l.text,l.mode)]);if(l.family==="bin"){var b=xa(l,d);b==="bold-italic"&&f.setAttribute("mathvariant",b)}else l.family==="punct"?f.setAttribute("separator","true"):(l.family==="open"||l.family==="close")&&f.setAttribute("stretchy","false");return f}});var Kn={mi:"italic",mn:"normal",mtext:"normal"};Rr({type:"mathord",htmlBuilder:function(l,d){return on.makeOrd(l,d,"mathord")},mathmlBuilder:function(l,d){var f=new Fn.MathNode("mi",[ba(l.text,l.mode,d)]),b=xa(l,d)||"italic";return b!==Kn[f.type]&&f.setAttribute("mathvariant",b),f}}),Rr({type:"textord",htmlBuilder:function(l,d){return on.makeOrd(l,d,"textord")},mathmlBuilder:function(l,d){var f=ba(l.text,l.mode,d),b=xa(l,d)||"normal",R;return l.mode==="text"?R=new Fn.MathNode("mtext",[f]):/[0-9]/.test(l.text)?R=new Fn.MathNode("mn",[f]):l.text==="\\prime"?R=new Fn.MathNode("mo",[f]):R=new Fn.MathNode("mi",[f]),b!==Kn[R.type]&&R.setAttribute("mathvariant",b),R}});var Gn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Bn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Rr({type:"spacing",htmlBuilder:function(l,d){if(Bn.hasOwnProperty(l.text)){var f=Bn[l.text].className||"";if(l.mode==="text"){var b=on.makeOrd(l,d,"textord");return b.classes.push(f),b}else return on.makeSpan(["mspace",f],[on.mathsym(l.text,l.mode,d)],d)}else{if(Gn.hasOwnProperty(l.text))return on.makeSpan(["mspace",Gn[l.text]],[],d);throw new v('Unknown type of space "'+l.text+'"')}},mathmlBuilder:function(l,d){var f;if(Bn.hasOwnProperty(l.text))f=new Fn.MathNode("mtext",[new Fn.TextNode("\xA0")]);else{if(Gn.hasOwnProperty(l.text))return new Fn.MathNode("mspace");throw new v('Unknown type of space "'+l.text+'"')}return f}});var Vn=function(){var l=new Fn.MathNode("mtd",[]);return l.setAttribute("width","50%"),l};Rr({type:"tag",mathmlBuilder:function(l,d){var f=new Fn.MathNode("mtable",[new Fn.MathNode("mtr",[Vn(),new Fn.MathNode("mtd",[$i(l.body,d)]),Vn(),new Fn.MathNode("mtd",[$i(l.tag,d)])])]);return f.setAttribute("width","100%"),f}});var Qn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Jn={"\\textbf":"textbf","\\textmd":"textmd"},Ar={"\\textit":"textit","\\textup":"textup"},pr=function(l,d){var f=l.font;return f?Qn[f]?d.withTextFontFamily(Qn[f]):Jn[f]?d.withTextFontWeight(Jn[f]):d.withTextFontShape(Ar[f]):d};Xn({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 f=l.parser,b=l.funcName,R=d[0];return{type:"text",mode:f.mode,body:Zr(R),font:b}},htmlBuilder:function(l,d){var f=pr(l,d),b=zi(l.body,f,!0);return on.makeSpan(["mord","text"],on.tryCombineChars(b),f)},mathmlBuilder:function(l,d){var f=pr(l,d);return $i(l.body,f)}}),Xn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var f=l.parser;return{type:"underline",mode:f.mode,body:d[0]}},htmlBuilder:function(l,d){var f=Kr(l.body,d),b=on.makeLineSpan("underline-line",d),R=d.fontMetrics().defaultRuleThickness,H=on.makeVList({positionType:"top",positionData:f.height,children:[{type:"kern",size:R},{type:"elem",elem:b},{type:"kern",size:3*R},{type:"elem",elem:f}]},d);return on.makeSpan(["mord","underline"],[H],d)},mathmlBuilder:function(l,d){var f=new Fn.MathNode("mo",[new Fn.TextNode("\u203E")]);f.setAttribute("stretchy","true");var b=new Fn.MathNode("munder",[Pn(l.body,d),f]);return b.setAttribute("accentunder","true"),b}}),Xn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(l,d,f){throw new v("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(l,d){for(var f=tr(l),b=[],R=d.havingStyle(d.style.text()),H=0;H<f.length;H++){var ge=f[H];ge==="~"&&(ge="\\textasciitilde"),b.push(on.makeSymbol(ge,"Typewriter-Regular",l.mode,R,["mord","texttt"]))}return on.makeSpan(["mord","text"].concat(R.sizingClasses(d)),on.tryCombineChars(b),R)},mathmlBuilder:function(l,d){var f=new Fn.TextNode(tr(l)),b=new Fn.MathNode("mtext",[f]);return b.setAttribute("mathvariant","monospace"),b}});var tr=function(l){return l.body.replace(/ /g,l.star?"\u2423":"\xA0")},Dr=Nn,mr=Dr,xr=`[ \r
|
|
]`,_i="\\\\[a-zA-Z@]+",ni="\\\\[^\uD800-\uDFFF]",li=""+_i+xr+"*",Gr=new RegExp("^("+_i+")"+xr+"*$"),Ni="[\u0300-\u036F]",mi=new RegExp(Ni+"+$"),ai="("+xr+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ni+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ni+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+li)+("|"+ni+")"),ri=function(){function B(d,f){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=d,this.settings=f,this.tokenRegex=new RegExp(ai,"g"),this.catcodes={"%":14}}var l=B.prototype;return l.setCatcode=function(f,b){this.catcodes[f]=b},l.lex=function(){var f=this.input,b=this.tokenRegex.lastIndex;if(b===f.length)return new le("EOF",new O(this,b,b));var R=this.tokenRegex.exec(f);if(R===null||R.index!==b)throw new v("Unexpected character: '"+f[b]+"'",new le(f[b],new O(this,b,b+1)));var H=R[2]||" ";if(this.catcodes[H]===14){var ge=f.indexOf(`
|
|
`,this.tokenRegex.lastIndex);return ge===-1?(this.tokenRegex.lastIndex=f.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=ge+1,this.lex()}var Ce=H.match(Gr);return Ce&&(H=Ce[1]),new le(H,new O(this,b,this.tokenRegex.lastIndex))},B}(),Ai=function(){function B(d,f){d===void 0&&(d={}),f===void 0&&(f={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=f,this.builtins=d,this.undefStack=[]}var l=B.prototype;return l.beginGroup=function(){this.undefStack.push({})},l.endGroup=function(){if(this.undefStack.length===0)throw new v("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var f=this.undefStack.pop();for(var b in f)f.hasOwnProperty(b)&&(f[b]===void 0?delete this.current[b]:this.current[b]=f[b])},l.has=function(f){return this.current.hasOwnProperty(f)||this.builtins.hasOwnProperty(f)},l.get=function(f){return this.current.hasOwnProperty(f)?this.current[f]:this.builtins[f]},l.set=function(f,b,R){if(R===void 0&&(R=!1),R){for(var H=0;H<this.undefStack.length;H++)delete this.undefStack[H][f];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][f]=b)}else{var ge=this.undefStack[this.undefStack.length-1];ge&&!ge.hasOwnProperty(f)&&(ge[f]=this.current[f])}this.current[f]=b},B}(),Ti={},Ji=Ti;function $e(B,l){Ti[B]=l}$e("\\@firstoftwo",function(B){var l=B.consumeArgs(2);return{tokens:l[0],numArgs:0}}),$e("\\@secondoftwo",function(B){var l=B.consumeArgs(2);return{tokens:l[1],numArgs:0}}),$e("\\@ifnextchar",function(B){var l=B.consumeArgs(3),d=B.future();return l[0].length===1&&l[0][0].text===d.text?{tokens:l[1],numArgs:0}:{tokens:l[2],numArgs:0}}),$e("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),$e("\\TextOrMath",function(B){var l=B.consumeArgs(2);return B.mode==="text"?{tokens:l[0],numArgs:0}:{tokens:l[1],numArgs:0}});var pi={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};$e("\\char",function(B){var l=B.popToken(),d,f="";if(l.text==="'")d=8,l=B.popToken();else if(l.text==='"')d=16,l=B.popToken();else if(l.text==="`")if(l=B.popToken(),l.text[0]==="\\")f=l.text.charCodeAt(1);else{if(l.text==="EOF")throw new v("\\char` missing argument");f=l.text.charCodeAt(0)}else d=10;if(d){if(f=pi[l.text],f==null||f>=d)throw new v("Invalid base-"+d+" digit "+l.text);for(var b;(b=pi[B.future().text])!=null&&b<d;)f*=d,f+=b,B.popToken()}return"\\@char{"+f+"}"});var ui=function(l,d){var f=l.consumeArgs(1)[0];if(f.length!==1)throw new v("\\gdef's first argument must be a macro name");var b=f[0].text,R=0;for(f=l.consumeArgs(1)[0];f.length===1&&f[0].text==="#";){if(f=l.consumeArgs(1)[0],f.length!==1)throw new v('Invalid argument number length "'+f.length+'"');if(!/^[1-9]$/.test(f[0].text))throw new v('Invalid argument number "'+f[0].text+'"');if(R++,parseInt(f[0].text)!==R)throw new v('Argument number "'+f[0].text+'" out of order');f=l.consumeArgs(1)[0]}return l.macros.set(b,{tokens:f,numArgs:R},d),""};$e("\\gdef",function(B){return ui(B,!0)}),$e("\\def",function(B){return ui(B,!1)}),$e("\\global",function(B){var l=B.consumeArgs(1)[0];if(l.length!==1)throw new v("Invalid command after \\global");var d=l[0].text;if(d==="\\def")return ui(B,!0);throw new v("Invalid command '"+d+"' after \\global")});var Or=function(l,d,f){var b=l.consumeArgs(1)[0];if(b.length!==1)throw new v("\\newcommand's first argument must be a macro name");var R=b[0].text,H=l.isDefined(R);if(H&&!d)throw new v("\\newcommand{"+R+"} attempting to redefine "+(R+"; use \\renewcommand"));if(!H&&!f)throw new v("\\renewcommand{"+R+"} when command "+R+" does not yet exist; use \\newcommand");var ge=0;if(b=l.consumeArgs(1)[0],b.length===1&&b[0].text==="["){for(var Ce="",Ke=l.expandNextToken();Ke.text!=="]"&&Ke.text!=="EOF";)Ce+=Ke.text,Ke=l.expandNextToken();if(!Ce.match(/^\s*[0-9]+\s*$/))throw new v("Invalid number of arguments: "+Ce);ge=parseInt(Ce),b=l.consumeArgs(1)[0]}return l.macros.set(R,{tokens:b,numArgs:ge}),""};$e("\\newcommand",function(B){return Or(B,!1,!0)}),$e("\\renewcommand",function(B){return Or(B,!0,!1)}),$e("\\providecommand",function(B){return Or(B,!0,!0)}),$e("\\bgroup","{"),$e("\\egroup","}"),$e("\\lq","`"),$e("\\rq","'"),$e("\\aa","\\r a"),$e("\\AA","\\r A"),$e("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),$e("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),$e("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),$e("\u212C","\\mathscr{B}"),$e("\u2130","\\mathscr{E}"),$e("\u2131","\\mathscr{F}"),$e("\u210B","\\mathscr{H}"),$e("\u2110","\\mathscr{I}"),$e("\u2112","\\mathscr{L}"),$e("\u2133","\\mathscr{M}"),$e("\u211B","\\mathscr{R}"),$e("\u212D","\\mathfrak{C}"),$e("\u210C","\\mathfrak{H}"),$e("\u2128","\\mathfrak{Z}"),$e("\\Bbbk","\\Bbb{k}"),$e("\xB7","\\cdotp"),$e("\\llap","\\mathllap{\\textrm{#1}}"),$e("\\rlap","\\mathrlap{\\textrm{#1}}"),$e("\\clap","\\mathclap{\\textrm{#1}}"),$e("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),$e("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),$e("\\ne","\\neq"),$e("\u2260","\\neq"),$e("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),$e("\u2209","\\notin"),$e("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),$e("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),$e("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),$e("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),$e("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),$e("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),$e("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),$e("\u27C2","\\perp"),$e("\u203C","\\mathclose{!\\mkern-0.8mu!}"),$e("\u220C","\\notni"),$e("\u231C","\\ulcorner"),$e("\u231D","\\urcorner"),$e("\u231E","\\llcorner"),$e("\u231F","\\lrcorner"),$e("\xA9","\\copyright"),$e("\xAE","\\textregistered"),$e("\uFE0F","\\textregistered"),$e("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),$e("\u22EE","\\vdots"),$e("\\varGamma","\\mathit{\\Gamma}"),$e("\\varDelta","\\mathit{\\Delta}"),$e("\\varTheta","\\mathit{\\Theta}"),$e("\\varLambda","\\mathit{\\Lambda}"),$e("\\varXi","\\mathit{\\Xi}"),$e("\\varPi","\\mathit{\\Pi}"),$e("\\varSigma","\\mathit{\\Sigma}"),$e("\\varUpsilon","\\mathit{\\Upsilon}"),$e("\\varPhi","\\mathit{\\Phi}"),$e("\\varPsi","\\mathit{\\Psi}"),$e("\\varOmega","\\mathit{\\Omega}"),$e("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),$e("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),$e("\\boxed","\\fbox{$\\displaystyle{#1}$}"),$e("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),$e("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),$e("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var si={",":"\\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"};$e("\\dots",function(B){var l="\\dotso",d=B.expandAfterFuture().text;return d in si?l=si[d]:(d.substr(0,4)==="\\not"||d in et.math&&W.contains(["bin","rel"],et.math[d].group))&&(l="\\dotsb"),l});var qr={")":!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};$e("\\dotso",function(B){var l=B.future().text;return l in qr?"\\ldots\\,":"\\ldots"}),$e("\\dotsc",function(B){var l=B.future().text;return l in qr&&l!==","?"\\ldots\\,":"\\ldots"}),$e("\\cdots",function(B){var l=B.future().text;return l in qr?"\\@cdots\\,":"\\@cdots"}),$e("\\dotsb","\\cdots"),$e("\\dotsm","\\cdots"),$e("\\dotsi","\\!\\cdots"),$e("\\dotsx","\\ldots\\,"),$e("\\DOTSI","\\relax"),$e("\\DOTSB","\\relax"),$e("\\DOTSX","\\relax"),$e("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),$e("\\,","\\tmspace+{3mu}{.1667em}"),$e("\\thinspace","\\,"),$e("\\>","\\mskip{4mu}"),$e("\\:","\\tmspace+{4mu}{.2222em}"),$e("\\medspace","\\:"),$e("\\;","\\tmspace+{5mu}{.2777em}"),$e("\\thickspace","\\;"),$e("\\!","\\tmspace-{3mu}{.1667em}"),$e("\\negthinspace","\\!"),$e("\\negmedspace","\\tmspace-{4mu}{.2222em}"),$e("\\negthickspace","\\tmspace-{5mu}{.277em}"),$e("\\enspace","\\kern.5em "),$e("\\enskip","\\hskip.5em\\relax"),$e("\\quad","\\hskip1em\\relax"),$e("\\qquad","\\hskip2em\\relax"),$e("\\tag","\\@ifstar\\tag@literal\\tag@paren"),$e("\\tag@paren","\\tag@literal{({#1})}"),$e("\\tag@literal",function(B){if(B.macros.get("\\df@tag"))throw new v("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),$e("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),$e("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),$e("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),$e("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),$e("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),$e("\\\\","\\newline"),$e("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Yi=se["Main-Regular"][84][1]-.7*se["Main-Regular"][65][1]+"em";$e("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Yi+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),$e("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Yi+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),$e("\\hspace","\\@ifstar\\@hspacer\\@hspace"),$e("\\@hspace","\\hskip #1\\relax"),$e("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),$e("\\ordinarycolon",":"),$e("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),$e("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),$e("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),$e("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),$e("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),$e("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),$e("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),$e("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),$e("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),$e("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),$e("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),$e("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),$e("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),$e("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),$e("\u2237","\\dblcolon"),$e("\u2239","\\eqcolon"),$e("\u2254","\\coloneqq"),$e("\u2255","\\eqqcolon"),$e("\u2A74","\\Coloneqq"),$e("\\ratio","\\vcentcolon"),$e("\\coloncolon","\\dblcolon"),$e("\\colonequals","\\coloneqq"),$e("\\coloncolonequals","\\Coloneqq"),$e("\\equalscolon","\\eqqcolon"),$e("\\equalscoloncolon","\\Eqqcolon"),$e("\\colonminus","\\coloneq"),$e("\\coloncolonminus","\\Coloneq"),$e("\\minuscolon","\\eqcolon"),$e("\\minuscoloncolon","\\Eqcolon"),$e("\\coloncolonapprox","\\Colonapprox"),$e("\\coloncolonsim","\\Colonsim"),$e("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),$e("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),$e("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),$e("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),$e("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),$e("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),$e("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),$e("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),$e("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),$e("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),$e("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),$e("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),$e("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),$e("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),$e("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),$e("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),$e("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),$e("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),$e("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),$e("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),$e("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),$e("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),$e("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),$e("\u27E6","\\llbracket"),$e("\u27E7","\\rrbracket"),$e("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),$e("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),$e("\u2983","\\lBrace"),$e("\u2984","\\rBrace"),$e("\\darr","\\downarrow"),$e("\\dArr","\\Downarrow"),$e("\\Darr","\\Downarrow"),$e("\\lang","\\langle"),$e("\\rang","\\rangle"),$e("\\uarr","\\uparrow"),$e("\\uArr","\\Uparrow"),$e("\\Uarr","\\Uparrow"),$e("\\N","\\mathbb{N}"),$e("\\R","\\mathbb{R}"),$e("\\Z","\\mathbb{Z}"),$e("\\alef","\\aleph"),$e("\\alefsym","\\aleph"),$e("\\Alpha","\\mathrm{A}"),$e("\\Beta","\\mathrm{B}"),$e("\\bull","\\bullet"),$e("\\Chi","\\mathrm{X}"),$e("\\clubs","\\clubsuit"),$e("\\cnums","\\mathbb{C}"),$e("\\Complex","\\mathbb{C}"),$e("\\Dagger","\\ddagger"),$e("\\diamonds","\\diamondsuit"),$e("\\empty","\\emptyset"),$e("\\Epsilon","\\mathrm{E}"),$e("\\Eta","\\mathrm{H}"),$e("\\exist","\\exists"),$e("\\harr","\\leftrightarrow"),$e("\\hArr","\\Leftrightarrow"),$e("\\Harr","\\Leftrightarrow"),$e("\\hearts","\\heartsuit"),$e("\\image","\\Im"),$e("\\infin","\\infty"),$e("\\Iota","\\mathrm{I}"),$e("\\isin","\\in"),$e("\\Kappa","\\mathrm{K}"),$e("\\larr","\\leftarrow"),$e("\\lArr","\\Leftarrow"),$e("\\Larr","\\Leftarrow"),$e("\\lrarr","\\leftrightarrow"),$e("\\lrArr","\\Leftrightarrow"),$e("\\Lrarr","\\Leftrightarrow"),$e("\\Mu","\\mathrm{M}"),$e("\\natnums","\\mathbb{N}"),$e("\\Nu","\\mathrm{N}"),$e("\\Omicron","\\mathrm{O}"),$e("\\plusmn","\\pm"),$e("\\rarr","\\rightarrow"),$e("\\rArr","\\Rightarrow"),$e("\\Rarr","\\Rightarrow"),$e("\\real","\\Re"),$e("\\reals","\\mathbb{R}"),$e("\\Reals","\\mathbb{R}"),$e("\\Rho","\\mathrm{P}"),$e("\\sdot","\\cdot"),$e("\\sect","\\S"),$e("\\spades","\\spadesuit"),$e("\\sub","\\subset"),$e("\\sube","\\subseteq"),$e("\\supe","\\supseteq"),$e("\\Tau","\\mathrm{T}"),$e("\\thetasym","\\vartheta"),$e("\\weierp","\\wp"),$e("\\Zeta","\\mathrm{Z}"),$e("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),$e("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),$e("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),$e("\\blue","\\textcolor{##6495ed}{#1}"),$e("\\orange","\\textcolor{##ffa500}{#1}"),$e("\\pink","\\textcolor{##ff00af}{#1}"),$e("\\red","\\textcolor{##df0030}{#1}"),$e("\\green","\\textcolor{##28ae7b}{#1}"),$e("\\gray","\\textcolor{gray}{#1}"),$e("\\purple","\\textcolor{##9d38bd}{#1}"),$e("\\blueA","\\textcolor{##ccfaff}{#1}"),$e("\\blueB","\\textcolor{##80f6ff}{#1}"),$e("\\blueC","\\textcolor{##63d9ea}{#1}"),$e("\\blueD","\\textcolor{##11accd}{#1}"),$e("\\blueE","\\textcolor{##0c7f99}{#1}"),$e("\\tealA","\\textcolor{##94fff5}{#1}"),$e("\\tealB","\\textcolor{##26edd5}{#1}"),$e("\\tealC","\\textcolor{##01d1c1}{#1}"),$e("\\tealD","\\textcolor{##01a995}{#1}"),$e("\\tealE","\\textcolor{##208170}{#1}"),$e("\\greenA","\\textcolor{##b6ffb0}{#1}"),$e("\\greenB","\\textcolor{##8af281}{#1}"),$e("\\greenC","\\textcolor{##74cf70}{#1}"),$e("\\greenD","\\textcolor{##1fab54}{#1}"),$e("\\greenE","\\textcolor{##0d923f}{#1}"),$e("\\goldA","\\textcolor{##ffd0a9}{#1}"),$e("\\goldB","\\textcolor{##ffbb71}{#1}"),$e("\\goldC","\\textcolor{##ff9c39}{#1}"),$e("\\goldD","\\textcolor{##e07d10}{#1}"),$e("\\goldE","\\textcolor{##a75a05}{#1}"),$e("\\redA","\\textcolor{##fca9a9}{#1}"),$e("\\redB","\\textcolor{##ff8482}{#1}"),$e("\\redC","\\textcolor{##f9685d}{#1}"),$e("\\redD","\\textcolor{##e84d39}{#1}"),$e("\\redE","\\textcolor{##bc2612}{#1}"),$e("\\maroonA","\\textcolor{##ffbde0}{#1}"),$e("\\maroonB","\\textcolor{##ff92c6}{#1}"),$e("\\maroonC","\\textcolor{##ed5fa6}{#1}"),$e("\\maroonD","\\textcolor{##ca337c}{#1}"),$e("\\maroonE","\\textcolor{##9e034e}{#1}"),$e("\\purpleA","\\textcolor{##ddd7ff}{#1}"),$e("\\purpleB","\\textcolor{##c6b9fc}{#1}"),$e("\\purpleC","\\textcolor{##aa87ff}{#1}"),$e("\\purpleD","\\textcolor{##7854ab}{#1}"),$e("\\purpleE","\\textcolor{##543b78}{#1}"),$e("\\mintA","\\textcolor{##f5f9e8}{#1}"),$e("\\mintB","\\textcolor{##edf2df}{#1}"),$e("\\mintC","\\textcolor{##e0e5cc}{#1}"),$e("\\grayA","\\textcolor{##f6f7f7}{#1}"),$e("\\grayB","\\textcolor{##f0f1f2}{#1}"),$e("\\grayC","\\textcolor{##e3e5e6}{#1}"),$e("\\grayD","\\textcolor{##d6d8da}{#1}"),$e("\\grayE","\\textcolor{##babec2}{#1}"),$e("\\grayF","\\textcolor{##888d93}{#1}"),$e("\\grayG","\\textcolor{##626569}{#1}"),$e("\\grayH","\\textcolor{##3b3e40}{#1}"),$e("\\grayI","\\textcolor{##21242c}{#1}"),$e("\\kaBlue","\\textcolor{##314453}{#1}"),$e("\\kaGreen","\\textcolor{##71B307}{#1}");var ha={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ma=function(){function B(d,f,b){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=f,this.expansionCount=0,this.feed(d),this.macros=new Ai(Ji,f.macros),this.mode=b,this.stack=[]}var l=B.prototype;return l.feed=function(f){this.lexer=new ri(f,this.settings)},l.switchMode=function(f){this.mode=f},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(f){this.stack.push(f)},l.pushTokens=function(f){var b;(b=this.stack).push.apply(b,f)},l.consumeSpaces=function(){for(;;){var f=this.future();if(f.text===" ")this.stack.pop();else break}},l.consumeArgs=function(f){for(var b=[],R=0;R<f;++R){this.consumeSpaces();var H=this.popToken();if(H.text==="{"){for(var ge=[],Ce=1;Ce!==0;){var Ke=this.popToken();if(ge.push(Ke),Ke.text==="{")++Ce;else if(Ke.text==="}")--Ce;else if(Ke.text==="EOF")throw new v("End of input in macro argument",H)}ge.pop(),ge.reverse(),b[R]=ge}else{if(H.text==="EOF")throw new v("End of input expecting macro argument");b[R]=[H]}}return b},l.expandOnce=function(){var f=this.popToken(),b=f.text,R=this._getExpansion(b);if(R==null)return this.pushToken(f),f;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new v("Too many expansions: infinite loop or need to increase maxExpand setting");var H=R.tokens;if(R.numArgs){var ge=this.consumeArgs(R.numArgs);H=H.slice();for(var Ce=H.length-1;Ce>=0;--Ce){var Ke=H[Ce];if(Ke.text==="#"){if(Ce===0)throw new v("Incomplete placeholder at end of macro body",Ke);if(Ke=H[--Ce],Ke.text==="#")H.splice(Ce+1,1);else if(/^[1-9]$/.test(Ke.text)){var pt;(pt=H).splice.apply(pt,[Ce,2].concat(ge[+Ke.text-1]))}else throw new v("Not a valid argument number",Ke)}}}return this.pushTokens(H),H},l.expandAfterFuture=function(){return this.expandOnce(),this.future()},l.expandNextToken=function(){for(;;){var f=this.expandOnce();if(f instanceof le)if(f.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},l.expandMacro=function(f){if(this.macros.get(f)){var b=[],R=this.stack.length;for(this.pushToken(new le(f));this.stack.length>R;){var H=this.expandOnce();H instanceof le&&b.push(this.stack.pop())}return b}},l.expandMacroAsText=function(f){var b=this.expandMacro(f);return b&&b.map(function(R){return R.text}).join("")},l._getExpansion=function(f){var b=this.macros.get(f);if(b==null)return b;var R=typeof b=="function"?b(this):b;if(typeof R=="string"){var H=0;if(R.indexOf("#")!==-1)for(var ge=R.replace(/##/g,"");ge.indexOf("#"+(H+1))!==-1;)++H;for(var Ce=new ri(R,this.settings),Ke=[],pt=Ce.lex();pt.text!=="EOF";)Ke.push(pt),pt=Ce.lex();Ke.reverse();var Tt={tokens:Ke,numArgs:H};return Tt}return R},l.isDefined=function(f){return this.macros.has(f)||mr.hasOwnProperty(f)||et.math.hasOwnProperty(f)||et.text.hasOwnProperty(f)||ha.hasOwnProperty(f)},B}(),J={"\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"}},V={\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"},De=function(){function B(d,f){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 ma(d,f,this.mode),this.settings=f,this.leftrightDepth=0}var l=B.prototype;return l.expect=function(f,b){if(b===void 0&&(b=!0),this.fetch().text!==f)throw new v("Expected '"+f+"', got '"+this.fetch().text+"'",this.fetch());b&&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(f){this.mode=f,this.gullet.switchMode(f)},l.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var f=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),f},l.parseExpression=function(f,b){for(var R=[];;){this.mode==="math"&&this.consumeSpaces();var H=this.fetch();if(B.endOfExpression.indexOf(H.text)!==-1||b&&H.text===b||f&&mr[H.text]&&mr[H.text].infix)break;var ge=this.parseAtom(b);if(!ge)break;R.push(ge)}return this.mode==="text"&&this.formLigatures(R),this.handleInfixNodes(R)},l.handleInfixNodes=function(f){for(var b=-1,R,H=0;H<f.length;H++){var ge=Li(f[H],"infix");if(ge){if(b!==-1)throw new v("only one infix operator per group",ge.token);b=H,R=ge.replaceWith}}if(b!==-1&&R){var Ce,Ke,pt=f.slice(0,b),Tt=f.slice(b+1);pt.length===1&&pt[0].type==="ordgroup"?Ce=pt[0]:Ce={type:"ordgroup",mode:this.mode,body:pt},Tt.length===1&&Tt[0].type==="ordgroup"?Ke=Tt[0]:Ke={type:"ordgroup",mode:this.mode,body:Tt};var Qt;return R==="\\\\abovefrac"?Qt=this.callFunction(R,[Ce,f[b],Ke],[]):Qt=this.callFunction(R,[Ce,Ke],[]),[Qt]}else return f},l.handleSupSubscript=function(f){var b=this.fetch(),R=b.text;this.consume();var H=this.parseGroup(f,!1,B.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!H)throw new v("Expected group after '"+R+"'",b);return H},l.formatUnsupportedCmd=function(f){for(var b=[],R=0;R<f.length;R++)b.push({type:"textord",mode:"text",text:f[R]});var H={type:"text",mode:this.mode,body:b},ge={type:"color",mode:this.mode,color:this.settings.errorColor,body:[H]};return ge},l.parseAtom=function(f){var b=this.parseGroup("atom",!1,null,f);if(this.mode==="text")return b;for(var R,H;;){this.consumeSpaces();var ge=this.fetch();if(ge.text==="\\limits"||ge.text==="\\nolimits"){var Ce=Li(b,"op");if(Ce){var Ke=ge.text==="\\limits";Ce.limits=Ke,Ce.alwaysHandleSupSub=!0}else if(Ce=Li(b,"operatorname"),Ce&&Ce.alwaysHandleSupSub){var pt=ge.text==="\\limits";Ce.limits=pt}else throw new v("Limit controls must follow a math operator",ge);this.consume()}else if(ge.text==="^"){if(R)throw new v("Double superscript",ge);R=this.handleSupSubscript("superscript")}else if(ge.text==="_"){if(H)throw new v("Double subscript",ge);H=this.handleSupSubscript("subscript")}else if(ge.text==="'"){if(R)throw new v("Double superscript",ge);var Tt={type:"textord",mode:this.mode,text:"\\prime"},Qt=[Tt];for(this.consume();this.fetch().text==="'";)Qt.push(Tt),this.consume();this.fetch().text==="^"&&Qt.push(this.handleSupSubscript("superscript")),R={type:"ordgroup",mode:this.mode,body:Qt}}else break}return R||H?{type:"supsub",mode:this.mode,base:b,sup:R,sub:H}:b},l.parseFunction=function(f,b,R){var H=this.fetch(),ge=H.text,Ce=mr[ge];if(!Ce)return null;if(this.consume(),R!=null&&Ce.greediness<=R)throw new v("Got function '"+ge+"' with no arguments"+(b?" as "+b:""),H);if(this.mode==="text"&&!Ce.allowedInText)throw new v("Can't use function '"+ge+"' in text mode",H);if(this.mode==="math"&&Ce.allowedInMath===!1)throw new v("Can't use function '"+ge+"' in math mode",H);var Ke=this.parseArguments(ge,Ce),pt=Ke.args,Tt=Ke.optArgs;return this.callFunction(ge,pt,Tt,H,f)},l.callFunction=function(f,b,R,H,ge){var Ce={funcName:f,parser:this,token:H,breakOnTokenText:ge},Ke=mr[f];if(Ke&&Ke.handler)return Ke.handler(Ce,b,R);throw new v("No function handler for "+f)},l.parseArguments=function(f,b){var R=b.numArgs+b.numOptionalArgs;if(R===0)return{args:[],optArgs:[]};for(var H=b.greediness,ge=[],Ce=[],Ke=0;Ke<R;Ke++){var pt=b.argTypes&&b.argTypes[Ke],Tt=Ke<b.numOptionalArgs,Qt=Ke>0&&!Tt||Ke===0&&!Tt&&this.mode==="math",Wt=this.parseGroupOfType("argument to '"+f+"'",pt,Tt,H,Qt);if(!Wt){if(Tt){Ce.push(null);continue}throw new v("Expected group after '"+f+"'",this.fetch())}(Tt?Ce:ge).push(Wt)}return{args:ge,optArgs:Ce}},l.parseGroupOfType=function(f,b,R,H,ge){switch(b){case"color":return ge&&this.consumeSpaces(),this.parseColorGroup(R);case"size":return ge&&this.consumeSpaces(),this.parseSizeGroup(R);case"url":return this.parseUrlGroup(R,ge);case"math":case"text":return this.parseGroup(f,R,H,void 0,b,ge);case"hbox":{var Ce=this.parseGroup(f,R,H,void 0,"text",ge);if(!Ce)return Ce;var Ke={type:"styling",mode:Ce.mode,body:[Ce],style:"text"};return Ke}case"raw":{if(ge&&this.consumeSpaces(),R&&this.fetch().text==="{")return null;var pt=this.parseStringGroup("raw",R,!0);if(pt)return{type:"raw",mode:"text",string:pt.text};throw new v("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(f,R,H,void 0,void 0,ge);default:throw new v("Unknown group type as "+f,this.fetch())}},l.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},l.parseStringGroup=function(f,b,R){var H=b?"[":"{",ge=b?"]":"}",Ce=this.fetch();if(Ce.text!==H){if(b)return null;if(R&&Ce.text!=="EOF"&&/[^{}[\]]/.test(Ce.text))return this.consume(),Ce}var Ke=this.mode;this.mode="text",this.expect(H);for(var pt="",Tt=this.fetch(),Qt=0,Wt=Tt,Vt;(Vt=this.fetch()).text!==ge||R&&Qt>0;){switch(Vt.text){case"EOF":throw new v("Unexpected end of input in "+f,Tt.range(Wt,pt));case H:Qt++;break;case ge:Qt--;break}Wt=Vt,pt+=Wt.text,this.consume()}return this.expect(ge),this.mode=Ke,Tt.range(Wt,pt)},l.parseRegexGroup=function(f,b){var R=this.mode;this.mode="text";for(var H=this.fetch(),ge=H,Ce="",Ke;(Ke=this.fetch()).text!=="EOF"&&f.test(Ce+Ke.text);)ge=Ke,Ce+=ge.text,this.consume();if(Ce==="")throw new v("Invalid "+b+": '"+H.text+"'",H);return this.mode=R,H.range(ge,Ce)},l.parseColorGroup=function(f){var b=this.parseStringGroup("color",f);if(!b)return null;var R=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(b.text);if(!R)throw new v("Invalid color: '"+b.text+"'",b);var H=R[0];return/^[0-9a-f]{6}$/i.test(H)&&(H="#"+H),{type:"color-token",mode:this.mode,color:H}},l.parseSizeGroup=function(f){var b,R=!1;if(!f&&this.fetch().text!=="{"?b=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):b=this.parseStringGroup("size",f),!b)return null;!f&&b.text.length===0&&(b.text="0pt",R=!0);var H=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(b.text);if(!H)throw new v("Invalid size: '"+b.text+"'",b);var ge={number:+(H[1]+H[2]),unit:H[3]};if(!hr(ge))throw new v("Invalid unit: '"+ge.unit+"'",b);return{type:"size",mode:this.mode,value:ge,isBlank:R}},l.parseUrlGroup=function(f,b){this.gullet.lexer.setCatcode("%",13);var R=this.parseStringGroup("url",f,!0);if(this.gullet.lexer.setCatcode("%",14),!R)return null;var H=R.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:H}},l.parseGroup=function(f,b,R,H,ge,Ce){var Ke=this.mode;ge&&this.switchMode(ge),Ce&&this.consumeSpaces();var pt=this.fetch(),Tt=pt.text,Qt;if(b?Tt==="[":Tt==="{"||Tt==="\\begingroup"){this.consume();var Wt=B.endOfGroup[Tt];this.gullet.beginGroup();var Vt=this.parseExpression(!1,Wt),ln=this.fetch();this.expect(Wt),this.gullet.endGroup(),Qt={type:"ordgroup",mode:this.mode,loc:O.range(pt,ln),body:Vt,semisimple:Tt==="\\begingroup"||void 0}}else if(b)Qt=null;else if(Qt=this.parseFunction(H,f,R)||this.parseSymbol(),Qt==null&&Tt[0]==="\\"&&!ha.hasOwnProperty(Tt)){if(this.settings.throwOnError)throw new v("Undefined control sequence: "+Tt,pt);Qt=this.formatUnsupportedCmd(Tt),this.consume()}return ge&&this.switchMode(Ke),Qt},l.formLigatures=function(f){for(var b=f.length-1,R=0;R<b;++R){var H=f[R],ge=H.text;ge==="-"&&f[R+1].text==="-"&&(R+1<b&&f[R+2].text==="-"?(f.splice(R,3,{type:"textord",mode:"text",loc:O.range(H,f[R+2]),text:"---"}),b-=2):(f.splice(R,2,{type:"textord",mode:"text",loc:O.range(H,f[R+1]),text:"--"}),b-=1)),(ge==="'"||ge==="`")&&f[R+1].text===ge&&(f.splice(R,2,{type:"textord",mode:"text",loc:O.range(H,f[R+1]),text:ge+ge}),b-=1)}},l.parseSymbol=function(){var f=this.fetch(),b=f.text;if(/^\\verb[^a-zA-Z]/.test(b)){this.consume();var R=b.slice(5),H=R.charAt(0)==="*";if(H&&(R=R.slice(1)),R.length<2||R.charAt(0)!==R.slice(-1))throw new v(`\\verb assertion failed --
|
|
please report what input caused this bug`);return R=R.slice(1,-1),{type:"verb",mode:"text",body:R,star:H}}V.hasOwnProperty(b[0])&&!et[this.mode][b[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+b[0]+'" used in math mode',f),b=V[b[0]]+b.substr(1));var ge=mi.exec(b);ge&&(b=b.substring(0,ge.index),b==="i"?b="\u0131":b==="j"&&(b="\u0237"));var Ce;if(et[this.mode][b]){this.settings.strict&&this.mode==="math"&&Lt.indexOf(b)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+b[0]+'" used in math mode',f);var Ke=et[this.mode][b].group,pt=O.range(f),Tt;if(Pt.hasOwnProperty(Ke)){var Qt=Ke;Tt={type:"atom",mode:this.mode,family:Qt,loc:pt,text:b}}else Tt={type:Ke,mode:this.mode,loc:pt,text:b};Ce=Tt}else if(b.charCodeAt(0)>=128)this.settings.strict&&(Qe(b.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+b[0]+'" used in math mode',f):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+b[0]+'"'+(" ("+b.charCodeAt(0)+")"),f)),Ce={type:"textord",mode:"text",loc:O.range(f),text:b};else return null;if(this.consume(),ge)for(var Wt=0;Wt<ge[0].length;Wt++){var Vt=ge[0][Wt];if(!J[Vt])throw new v("Unknown accent ' "+Vt+"'",f);var ln=J[Vt][this.mode];if(!ln)throw new v("Accent "+Vt+" unsupported in "+this.mode+" mode",f);Ce={type:"accent",mode:this.mode,loc:O.range(f),label:ln,isStretchy:!1,isShifty:!0,base:Ce}}return Ce},B}();De.endOfExpression=["}","\\endgroup","\\end","\\right","&"],De.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},De.SUPSUB_GREEDINESS=1;var Ge=function(l,d){if(!(typeof l=="string"||l instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var f=new De(l,d);delete f.gullet.macros.current["\\df@tag"];var b=f.parse();if(f.gullet.macros.get("\\df@tag")){if(!d.displayMode)throw new v("\\tag works only in display equations");f.gullet.feed("\\df@tag"),b=[{type:"tag",mode:"text",body:b,tag:f.parse()}]}return b},ot=Ge,mt=function(l,d,f){d.textContent="";var b=Ut(l,f).toNode();d.appendChild(b)};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."),mt=function(){throw new v("KaTeX doesn't work in quirks mode.")});var Rt=function(l,d){var f=Ut(l,d).toMarkup();return f},Ct=function(l,d){var f=new P(d);return ot(l,f)},Nt=function(l,d,f){if(f.throwOnError||!(l instanceof v))throw l;var b=on.makeSpan(["katex-error"],[new ye(d)]);return b.setAttribute("title",l.toString()),b.setAttribute("style","color:"+f.errorColor),b},Ut=function(l,d){var f=new P(d);try{var b=ot(l,f);return Wi(b,l,f)}catch(R){return Nt(R,l,f)}},fn=function(l,d){var f=new P(d);try{var b=ot(l,f);return Ia(b,l,f)}catch(R){return Nt(R,l,f)}},sn={version:"0.11.1",render:mt,renderToString:Rt,ParseError:v,__parse:Ct,__renderToDomTree:Ut,__renderToHTMLTree:fn,__setFontMetrics:ft,__defineSymbol:E,__defineMacro:$e,__domTree:{Span:qe,Anchor:Me,SymbolNode:ye,SvgNode:Te,PathNode:xe,LineNode:ae}},rn=h.default=sn}]).default})},32834:function(On){(function(at,h){On.exports=h()})(this,function(){"use strict";function at(Ue,st){for(var ht=0;ht<st.length;ht++){var de=st[ht];de.enumerable=de.enumerable||!1,de.configurable=!0,"value"in de&&(de.writable=!0),Object.defineProperty(Ue,de.key,de)}}function h(Ue,st,ht){return st&&at(Ue.prototype,st),ht&&at(Ue,ht),Ue}function c(Ue,st){if(Ue){if(typeof Ue=="string")return ie(Ue,st);var ht=Object.prototype.toString.call(Ue).slice(8,-1);if(ht==="Object"&&Ue.constructor&&(ht=Ue.constructor.name),ht==="Map"||ht==="Set")return Array.from(Ue);if(ht==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ht))return ie(Ue,st)}}function ie(Ue,st){(st==null||st>Ue.length)&&(st=Ue.length);for(var ht=0,de=new Array(st);ht<st;ht++)de[ht]=Ue[ht];return de}function O(Ue,st){var ht=typeof Symbol!="undefined"&&Ue[Symbol.iterator]||Ue["@@iterator"];if(ht)return(ht=ht.call(Ue)).next.bind(ht);if(Array.isArray(Ue)||(ht=c(Ue))||st&&Ue&&typeof Ue.length=="number"){ht&&(Ue=ht);var de=0;return function(){return de>=Ue.length?{done:!0}:{done:!1,value:Ue[de++]}}}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 le={exports:{}};function j(){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 v(Ue){le.exports.defaults=Ue}le.exports={defaults:j(),getDefaults:j,changeDefaults:v};var re=/[&<>"']/,ee=/[&<>"']/g,o=/[<>"']|&(?!#?\w+;)/,C=/[<>"']|&(?!#?\w+;)/g,F={"&":"&","<":"<",">":">",'"':""","'":"'"},x=function(st){return F[st]};function A(Ue,st){if(st){if(re.test(Ue))return Ue.replace(ee,x)}else if(o.test(Ue))return Ue.replace(C,x);return Ue}var L=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function z(Ue){return Ue.replace(L,function(st,ht){return ht=ht.toLowerCase(),ht==="colon"?":":ht.charAt(0)==="#"?ht.charAt(1)==="x"?String.fromCharCode(parseInt(ht.substring(2),16)):String.fromCharCode(+ht.substring(1)):""})}var G=/(^|[^\[])\^/g;function Z(Ue,st){Ue=Ue.source||Ue,st=st||"";var ht={replace:function(be,We){return We=We.source||We,We=We.replace(G,"$1"),Ue=Ue.replace(be,We),ht},getRegex:function(){return new RegExp(Ue,st)}};return ht}var W=/[^\w:]/g,P=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function K(Ue,st,ht){if(Ue){var de;try{de=decodeURIComponent(z(ht)).replace(W,"").toLowerCase()}catch(be){return null}if(de.indexOf("javascript:")===0||de.indexOf("vbscript:")===0||de.indexOf("data:")===0)return null}st&&!P.test(ht)&&(ht=pe(st,ht));try{ht=encodeURI(ht).replace(/%25/g,"%")}catch(be){return null}return ht}var g={},T=/^[^:]+:\/*[^/]*$/,fe=/^([^:]+:)[\s\S]*$/,Ee=/^([^:]+:\/*[^/]*)[\s\S]*$/;function pe(Ue,st){g[" "+Ue]||(T.test(Ue)?g[" "+Ue]=Ue+"/":g[" "+Ue]=it(Ue,"/",!0)),Ue=g[" "+Ue];var ht=Ue.indexOf(":")===-1;return st.substring(0,2)==="//"?ht?st:Ue.replace(fe,"$1")+st:st.charAt(0)==="/"?ht?st:Ue.replace(Ee,"$1")+st:Ue+st}var Be={exec:function(){}};function je(Ue){for(var st=1,ht,de;st<arguments.length;st++){ht=arguments[st];for(de in ht)Object.prototype.hasOwnProperty.call(ht,de)&&(Ue[de]=ht[de])}return Ue}function Le(Ue,st){var ht=Ue.replace(/\|/g,function(We,Ze,Q){for(var Mt=!1,_e=Ze;--_e>=0&&Q[_e]==="\\";)Mt=!Mt;return Mt?"|":" |"}),de=ht.split(/ \|/),be=0;if(de.length>st)de.splice(st);else for(;de.length<st;)de.push("");for(;be<de.length;be++)de[be]=de[be].trim().replace(/\\\|/g,"|");return de}function it(Ue,st,ht){var de=Ue.length;if(de===0)return"";for(var be=0;be<de;){var We=Ue.charAt(de-be-1);if(We===st&&!ht)be++;else if(We!==st&&ht)be++;else break}return Ue.substr(0,de-be)}function ce(Ue,st){if(Ue.indexOf(st[1])===-1)return-1;for(var ht=Ue.length,de=0,be=0;be<ht;be++)if(Ue[be]==="\\")be++;else if(Ue[be]===st[0])de++;else if(Ue[be]===st[1]&&(de--,de<0))return be;return-1}function Y(Ue){Ue&&Ue.sanitize&&!Ue.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 N(Ue,st){if(st<1)return"";for(var ht="";st>1;)st&1&&(ht+=Ue),st>>=1,Ue+=Ue;return ht+Ue}var ve={escape:A,unescape:z,edit:Z,cleanUrl:K,resolveUrl:pe,noopTest:Be,merge:je,splitCells:Le,rtrim:it,findClosingBracket:ce,checkSanitizeDeprecation:Y,repeatString:N},ue=le.exports.defaults,we=ve.rtrim,_=ve.splitCells,I=ve.escape,he=ve.findClosingBracket;function Ne(Ue,st,ht){var de=st.href,be=st.title?I(st.title):null,We=Ue[1].replace(/\\([\[\]])/g,"$1");return Ue[0].charAt(0)!=="!"?{type:"link",raw:ht,href:de,title:be,text:We}:{type:"image",raw:ht,href:de,title:be,text:I(We)}}function Qe(Ue,st){var ht=Ue.match(/^(\s+)(?:```)/);if(ht===null)return st;var de=ht[1];return st.split(`
|
|
`).map(function(be){var We=be.match(/^\s+/);if(We===null)return be;var Ze=We[0];return Ze.length>=de.length?be.slice(de.length):be}).join(`
|
|
`)}var Et=function(){function Ue(ht){this.options=ht||ue}var st=Ue.prototype;return st.space=function(de){var be=this.rules.block.newline.exec(de);if(be)return be[0].length>1?{type:"space",raw:be[0]}:{raw:`
|
|
`}},st.code=function(de){var be=this.rules.block.code.exec(de);if(be){var We=be[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:be[0],codeBlockStyle:"indented",text:this.options.pedantic?We:we(We,`
|
|
`)}}},st.fences=function(de){var be=this.rules.block.fences.exec(de);if(be){var We=be[0],Ze=Qe(We,be[3]||"");return{type:"code",raw:We,lang:be[2]?be[2].trim():be[2],text:Ze}}},st.heading=function(de){var be=this.rules.block.heading.exec(de);if(be){var We=be[2].trim();if(/#$/.test(We)){var Ze=we(We,"#");(this.options.pedantic||!Ze||/ $/.test(Ze))&&(We=Ze.trim())}return{type:"heading",raw:be[0],depth:be[1].length,text:We}}},st.nptable=function(de){var be=this.rules.block.nptable.exec(de);if(be){var We={type:"table",header:_(be[1].replace(/^ *| *\| *$/g,"")),align:be[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:be[3]?be[3].replace(/\n$/,"").split(`
|
|
`):[],raw:be[0]};if(We.header.length===We.align.length){var Ze=We.align.length,Q;for(Q=0;Q<Ze;Q++)/^ *-+: *$/.test(We.align[Q])?We.align[Q]="right":/^ *:-+: *$/.test(We.align[Q])?We.align[Q]="center":/^ *:-+ *$/.test(We.align[Q])?We.align[Q]="left":We.align[Q]=null;for(Ze=We.cells.length,Q=0;Q<Ze;Q++)We.cells[Q]=_(We.cells[Q],We.header.length);return We}}},st.hr=function(de){var be=this.rules.block.hr.exec(de);if(be)return{type:"hr",raw:be[0]}},st.blockquote=function(de){var be=this.rules.block.blockquote.exec(de);if(be){var We=be[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:be[0],text:We}}},st.list=function(de){var be=this.rules.block.list.exec(de);if(be){var We=be[0],Ze=be[2],Q=Ze.length>1,Mt={type:"list",raw:We,ordered:Q,start:Q?+Ze.slice(0,-1):"",loose:!1,items:[]},_e=be[0].match(this.rules.block.item),bt=!1,An,xn,Er,vr,gr,Hr,fi,lr,ii,Wn=_e.length;Er=this.rules.block.listItemStart.exec(_e[0]);for(var Bt=0;Bt<Wn;Bt++){if(An=_e[Bt],We=An,this.options.pedantic||(ii=An.match(new RegExp("\\n\\s*\\n {0,"+(Er[0].length-1)+"}\\S")),ii&&(gr=An.length-ii.index+_e.slice(Bt+1).join(`
|
|
`).length,Mt.raw=Mt.raw.substring(0,Mt.raw.length-gr),An=An.substring(0,ii.index),We=An,Wn=Bt+1)),Bt!==Wn-1){if(vr=this.rules.block.listItemStart.exec(_e[Bt+1]),this.options.pedantic?vr[1].length>Er[1].length:vr[1].length>=Er[0].length||vr[1].length>3){_e.splice(Bt,2,_e[Bt]+(!this.options.pedantic&&vr[1].length<Er[0].length&&!_e[Bt].match(/\n$/)?"":`
|
|
`)+_e[Bt+1]),Bt--,Wn--;continue}else(!this.options.pedantic||this.options.smartLists?vr[2][vr[2].length-1]!==Ze[Ze.length-1]:Q===(vr[2].length===1))&&(gr=_e.slice(Bt+1).join(`
|
|
`).length,Mt.raw=Mt.raw.substring(0,Mt.raw.length-gr),Bt=Wn-1);Er=vr}xn=An.length,An=An.replace(/^ *([*+-]|\d+[.)]) ?/,""),~An.indexOf(`
|
|
`)&&(xn-=An.length,An=this.options.pedantic?An.replace(/^ {1,4}/gm,""):An.replace(new RegExp("^ {1,"+xn+"}","gm"),"")),An=we(An,`
|
|
`),Bt!==Wn-1&&(We=We+`
|
|
`),Hr=bt||/\n\n(?!\s*$)/.test(We),Bt!==Wn-1&&(bt=We.slice(-2)===`
|
|
|
|
`,Hr||(Hr=bt)),Hr&&(Mt.loose=!0),this.options.gfm&&(fi=/^\[[ xX]\] /.test(An),lr=void 0,fi&&(lr=An[1]!==" ",An=An.replace(/^\[[ xX]\] +/,""))),Mt.items.push({type:"list_item",raw:We,task:fi,checked:lr,loose:Hr,text:An})}return Mt}},st.html=function(de){var be=this.rules.block.html.exec(de);if(be)return{type:this.options.sanitize?"paragraph":"html",raw:be[0],pre:!this.options.sanitizer&&(be[1]==="pre"||be[1]==="script"||be[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(be[0]):I(be[0]):be[0]}},st.def=function(de){var be=this.rules.block.def.exec(de);if(be){be[3]&&(be[3]=be[3].substring(1,be[3].length-1));var We=be[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:We,raw:be[0],href:be[2],title:be[3]}}},st.table=function(de){var be=this.rules.block.table.exec(de);if(be){var We={type:"table",header:_(be[1].replace(/^ *| *\| *$/g,"")),align:be[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:be[3]?be[3].replace(/\n$/,"").split(`
|
|
`):[]};if(We.header.length===We.align.length){We.raw=be[0];var Ze=We.align.length,Q;for(Q=0;Q<Ze;Q++)/^ *-+: *$/.test(We.align[Q])?We.align[Q]="right":/^ *:-+: *$/.test(We.align[Q])?We.align[Q]="center":/^ *:-+ *$/.test(We.align[Q])?We.align[Q]="left":We.align[Q]=null;for(Ze=We.cells.length,Q=0;Q<Ze;Q++)We.cells[Q]=_(We.cells[Q].replace(/^ *\| *| *\| *$/g,""),We.header.length);return We}}},st.lheading=function(de){var be=this.rules.block.lheading.exec(de);if(be)return{type:"heading",raw:be[0],depth:be[2].charAt(0)==="="?1:2,text:be[1]}},st.paragraph=function(de){var be=this.rules.block.paragraph.exec(de);if(be)return{type:"paragraph",raw:be[0],text:be[1].charAt(be[1].length-1)===`
|
|
`?be[1].slice(0,-1):be[1]}},st.text=function(de){var be=this.rules.block.text.exec(de);if(be)return{type:"text",raw:be[0],text:be[0]}},st.escape=function(de){var be=this.rules.inline.escape.exec(de);if(be)return{type:"escape",raw:be[0],text:I(be[1])}},st.tag=function(de,be,We){var Ze=this.rules.inline.tag.exec(de);if(Ze)return!be&&/^<a /i.test(Ze[0])?be=!0:be&&/^<\/a>/i.test(Ze[0])&&(be=!1),!We&&/^<(pre|code|kbd|script)(\s|>)/i.test(Ze[0])?We=!0:We&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Ze[0])&&(We=!1),{type:this.options.sanitize?"text":"html",raw:Ze[0],inLink:be,inRawBlock:We,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ze[0]):I(Ze[0]):Ze[0]}},st.link=function(de){var be=this.rules.inline.link.exec(de);if(be){var We=be[2].trim();if(!this.options.pedantic&&/^</.test(We)){if(!/>$/.test(We))return;var Ze=we(We.slice(0,-1),"\\");if((We.length-Ze.length)%2===0)return}else{var Q=he(be[2],"()");if(Q>-1){var Mt=be[0].indexOf("!")===0?5:4,_e=Mt+be[1].length+Q;be[2]=be[2].substring(0,Q),be[0]=be[0].substring(0,_e).trim(),be[3]=""}}var bt=be[2],An="";if(this.options.pedantic){var xn=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(bt);xn&&(bt=xn[1],An=xn[3])}else An=be[3]?be[3].slice(1,-1):"";return bt=bt.trim(),/^</.test(bt)&&(this.options.pedantic&&!/>$/.test(We)?bt=bt.slice(1):bt=bt.slice(1,-1)),Ne(be,{href:bt&&bt.replace(this.rules.inline._escapes,"$1"),title:An&&An.replace(this.rules.inline._escapes,"$1")},be[0])}},st.reflink=function(de,be){var We;if((We=this.rules.inline.reflink.exec(de))||(We=this.rules.inline.nolink.exec(de))){var Ze=(We[2]||We[1]).replace(/\s+/g," ");if(Ze=be[Ze.toLowerCase()],!Ze||!Ze.href){var Q=We[0].charAt(0);return{type:"text",raw:Q,text:Q}}return Ne(We,Ze,We[0])}},st.emStrong=function(de,be,We){We===void 0&&(We="");var Ze=this.rules.inline.emStrong.lDelim.exec(de);if(Ze&&!(Ze[3]&&We.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uD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uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96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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 Q=Ze[1]||Ze[2]||"";if(!Q||Q&&(We===""||this.rules.inline.punctuation.exec(We))){var Mt=Ze[0].length-1,_e,bt,An=Mt,xn=0,Er=Ze[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Er.lastIndex=0,be=be.slice(-1*de.length+Mt);(Ze=Er.exec(be))!=null;)if(_e=Ze[1]||Ze[2]||Ze[3]||Ze[4]||Ze[5]||Ze[6],!!_e){if(bt=_e.length,Ze[3]||Ze[4]){An+=bt;continue}else if((Ze[5]||Ze[6])&&Mt%3&&!((Mt+bt)%3)){xn+=bt;continue}if(An-=bt,!(An>0))return bt=Math.min(bt,bt+An+xn),Math.min(Mt,bt)%2?{type:"em",raw:de.slice(0,Mt+Ze.index+bt+1),text:de.slice(1,Mt+Ze.index+bt)}:{type:"strong",raw:de.slice(0,Mt+Ze.index+bt+1),text:de.slice(2,Mt+Ze.index+bt-1)}}}}},st.codespan=function(de){var be=this.rules.inline.code.exec(de);if(be){var We=be[2].replace(/\n/g," "),Ze=/[^ ]/.test(We),Q=/^ /.test(We)&&/ $/.test(We);return Ze&&Q&&(We=We.substring(1,We.length-1)),We=I(We,!0),{type:"codespan",raw:be[0],text:We}}},st.br=function(de){var be=this.rules.inline.br.exec(de);if(be)return{type:"br",raw:be[0]}},st.del=function(de){var be=this.rules.inline.del.exec(de);if(be)return{type:"del",raw:be[0],text:be[2]}},st.autolink=function(de,be){var We=this.rules.inline.autolink.exec(de);if(We){var Ze,Q;return We[2]==="@"?(Ze=I(this.options.mangle?be(We[1]):We[1]),Q="mailto:"+Ze):(Ze=I(We[1]),Q=Ze),{type:"link",raw:We[0],text:Ze,href:Q,tokens:[{type:"text",raw:Ze,text:Ze}]}}},st.url=function(de,be){var We;if(We=this.rules.inline.url.exec(de)){var Ze,Q;if(We[2]==="@")Ze=I(this.options.mangle?be(We[0]):We[0]),Q="mailto:"+Ze;else{var Mt;do Mt=We[0],We[0]=this.rules.inline._backpedal.exec(We[0])[0];while(Mt!==We[0]);Ze=I(We[0]),We[1]==="www."?Q="http://"+Ze:Q=Ze}return{type:"link",raw:We[0],text:Ze,href:Q,tokens:[{type:"text",raw:Ze,text:Ze}]}}},st.inlineText=function(de,be,We){var Ze=this.rules.inline.text.exec(de);if(Ze){var Q;return be?Q=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ze[0]):I(Ze[0]):Ze[0]:Q=I(this.options.smartypants?We(Ze[0]):Ze[0]),{type:"text",raw:Ze[0],text:Q}}},Ue}(),He=ve.noopTest,Oe=ve.edit,lt=ve.merge,St={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:He,table:He,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};St._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,St._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,St.def=Oe(St.def).replace("label",St._label).replace("title",St._title).getRegex(),St.bullet=/(?:[*+-]|\d{1,9}[.)])/,St.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,St.item=Oe(St.item,"gm").replace(/bull/g,St.bullet).getRegex(),St.listItemStart=Oe(/^( *)(bull) */).replace("bull",St.bullet).getRegex(),St.list=Oe(St.list).replace(/bull/g,St.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+St.def.source+")").getRegex(),St._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",St._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,St.html=Oe(St.html,"i").replace("comment",St._comment).replace("tag",St._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),St.paragraph=Oe(St._paragraph).replace("hr",St.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",St._tag).getRegex(),St.blockquote=Oe(St.blockquote).replace("paragraph",St.paragraph).getRegex(),St.normal=lt({},St),St.gfm=lt({},St.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*|$)"}),St.gfm.nptable=Oe(St.gfm.nptable).replace("hr",St.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",St._tag).getRegex(),St.gfm.table=Oe(St.gfm.table).replace("hr",St.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",St._tag).getRegex(),St.pedantic=lt({},St.normal,{html:Oe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",St._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:He,paragraph:Oe(St.normal._paragraph).replace("hr",St.hr).replace("heading",` *#{1,6} *[^
|
|
]`).replace("lheading",St.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var ze={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:He,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/\_\_[^_*]*?\*[^_*]*?\_\_|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/\*\*[^_*]*?\_[^_*]*?\*\*|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:He,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};ze._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",ze.punctuation=Oe(ze.punctuation).replace(/punctuation/g,ze._punctuation).getRegex(),ze.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,ze.escapedEmSt=/\\\*|\\_/g,ze._comment=Oe(St._comment).replace("(?:-->|$)","-->").getRegex(),ze.emStrong.lDelim=Oe(ze.emStrong.lDelim).replace(/punct/g,ze._punctuation).getRegex(),ze.emStrong.rDelimAst=Oe(ze.emStrong.rDelimAst,"g").replace(/punct/g,ze._punctuation).getRegex(),ze.emStrong.rDelimUnd=Oe(ze.emStrong.rDelimUnd,"g").replace(/punct/g,ze._punctuation).getRegex(),ze._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,ze._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,ze._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])?)+(?![-_])/,ze.autolink=Oe(ze.autolink).replace("scheme",ze._scheme).replace("email",ze._email).getRegex(),ze._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,ze.tag=Oe(ze.tag).replace("comment",ze._comment).replace("attribute",ze._attribute).getRegex(),ze._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ze._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,ze._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,ze.link=Oe(ze.link).replace("label",ze._label).replace("href",ze._href).replace("title",ze._title).getRegex(),ze.reflink=Oe(ze.reflink).replace("label",ze._label).getRegex(),ze.reflinkSearch=Oe(ze.reflinkSearch,"g").replace("reflink",ze.reflink).replace("nolink",ze.nolink).getRegex(),ze.normal=lt({},ze),ze.pedantic=lt({},ze.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:Oe(/^!?\[(label)\]\((.*?)\)/).replace("label",ze._label).getRegex(),reflink:Oe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ze._label).getRegex()}),ze.gfm=lt({},ze.normal,{escape:Oe(ze.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),ze.gfm.url=Oe(ze.gfm.url,"i").replace("email",ze.gfm._extended_email).getRegex(),ze.breaks=lt({},ze.gfm,{br:Oe(ze.br).replace("{2,}","*").getRegex(),text:Oe(ze.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var At={block:St,inline:ze},ke=Et,Ht=le.exports.defaults,dt=At.block,ct=At.inline,Xe=ve.repeatString;function Re(Ue){return Ue.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 oe(Ue){var st="",ht,de,be=Ue.length;for(ht=0;ht<be;ht++)de=Ue.charCodeAt(ht),Math.random()>.5&&(de="x"+de.toString(16)),st+="&#"+de+";";return st}var qe=function(){function Ue(ht){this.tokens=[],this.tokens.links=Object.create(null),this.options=ht||Ht,this.options.tokenizer=this.options.tokenizer||new ke,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var de={block:dt.normal,inline:ct.normal};this.options.pedantic?(de.block=dt.pedantic,de.inline=ct.pedantic):this.options.gfm&&(de.block=dt.gfm,this.options.breaks?de.inline=ct.breaks:de.inline=ct.gfm),this.tokenizer.rules=de}Ue.lex=function(de,be){var We=new Ue(be);return We.lex(de)},Ue.lexInline=function(de,be){var We=new Ue(be);return We.inlineTokens(de)};var st=Ue.prototype;return st.lex=function(de){return de=de.replace(/\r\n|\r/g,`
|
|
`).replace(/\t/g," "),this.blockTokens(de,this.tokens,!0),this.inline(this.tokens),this.tokens},st.blockTokens=function(de,be,We){be===void 0&&(be=[]),We===void 0&&(We=!0),this.options.pedantic&&(de=de.replace(/^ +$/gm,""));for(var Ze,Q,Mt,_e;de;){if(Ze=this.tokenizer.space(de)){de=de.substring(Ze.raw.length),Ze.type&&be.push(Ze);continue}if(Ze=this.tokenizer.code(de)){de=de.substring(Ze.raw.length),_e=be[be.length-1],_e&&_e.type==="paragraph"?(_e.raw+=`
|
|
`+Ze.raw,_e.text+=`
|
|
`+Ze.text):be.push(Ze);continue}if(Ze=this.tokenizer.fences(de)){de=de.substring(Ze.raw.length),be.push(Ze);continue}if(Ze=this.tokenizer.heading(de)){de=de.substring(Ze.raw.length),be.push(Ze);continue}if(Ze=this.tokenizer.nptable(de)){de=de.substring(Ze.raw.length),be.push(Ze);continue}if(Ze=this.tokenizer.hr(de)){de=de.substring(Ze.raw.length),be.push(Ze);continue}if(Ze=this.tokenizer.blockquote(de)){de=de.substring(Ze.raw.length),Ze.tokens=this.blockTokens(Ze.text,[],We),be.push(Ze);continue}if(Ze=this.tokenizer.list(de)){for(de=de.substring(Ze.raw.length),Mt=Ze.items.length,Q=0;Q<Mt;Q++)Ze.items[Q].tokens=this.blockTokens(Ze.items[Q].text,[],!1);be.push(Ze);continue}if(Ze=this.tokenizer.html(de)){de=de.substring(Ze.raw.length),be.push(Ze);continue}if(We&&(Ze=this.tokenizer.def(de))){de=de.substring(Ze.raw.length),this.tokens.links[Ze.tag]||(this.tokens.links[Ze.tag]={href:Ze.href,title:Ze.title});continue}if(Ze=this.tokenizer.table(de)){de=de.substring(Ze.raw.length),be.push(Ze);continue}if(Ze=this.tokenizer.lheading(de)){de=de.substring(Ze.raw.length),be.push(Ze);continue}if(We&&(Ze=this.tokenizer.paragraph(de))){de=de.substring(Ze.raw.length),be.push(Ze);continue}if(Ze=this.tokenizer.text(de)){de=de.substring(Ze.raw.length),_e=be[be.length-1],_e&&_e.type==="text"?(_e.raw+=`
|
|
`+Ze.raw,_e.text+=`
|
|
`+Ze.text):be.push(Ze);continue}if(de){var bt="Infinite loop on byte: "+de.charCodeAt(0);if(this.options.silent){console.error(bt);break}else throw new Error(bt)}}return be},st.inline=function(de){var be,We,Ze,Q,Mt,_e,bt=de.length;for(be=0;be<bt;be++)switch(_e=de[be],_e.type){case"paragraph":case"text":case"heading":{_e.tokens=[],this.inlineTokens(_e.text,_e.tokens);break}case"table":{for(_e.tokens={header:[],cells:[]},Q=_e.header.length,We=0;We<Q;We++)_e.tokens.header[We]=[],this.inlineTokens(_e.header[We],_e.tokens.header[We]);for(Q=_e.cells.length,We=0;We<Q;We++)for(Mt=_e.cells[We],_e.tokens.cells[We]=[],Ze=0;Ze<Mt.length;Ze++)_e.tokens.cells[We][Ze]=[],this.inlineTokens(Mt[Ze],_e.tokens.cells[We][Ze]);break}case"blockquote":{this.inline(_e.tokens);break}case"list":{for(Q=_e.items.length,We=0;We<Q;We++)this.inline(_e.items[We].tokens);break}}return de},st.inlineTokens=function(de,be,We,Ze){be===void 0&&(be=[]),We===void 0&&(We=!1),Ze===void 0&&(Ze=!1);var Q,Mt,_e=de,bt,An,xn;if(this.tokens.links){var Er=Object.keys(this.tokens.links);if(Er.length>0)for(;(bt=this.tokenizer.rules.inline.reflinkSearch.exec(_e))!=null;)Er.includes(bt[0].slice(bt[0].lastIndexOf("[")+1,-1))&&(_e=_e.slice(0,bt.index)+"["+Xe("a",bt[0].length-2)+"]"+_e.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(bt=this.tokenizer.rules.inline.blockSkip.exec(_e))!=null;)_e=_e.slice(0,bt.index)+"["+Xe("a",bt[0].length-2)+"]"+_e.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(bt=this.tokenizer.rules.inline.escapedEmSt.exec(_e))!=null;)_e=_e.slice(0,bt.index)+"++"+_e.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;de;){if(An||(xn=""),An=!1,Q=this.tokenizer.escape(de)){de=de.substring(Q.raw.length),be.push(Q);continue}if(Q=this.tokenizer.tag(de,We,Ze)){de=de.substring(Q.raw.length),We=Q.inLink,Ze=Q.inRawBlock;var vr=be[be.length-1];vr&&Q.type==="text"&&vr.type==="text"?(vr.raw+=Q.raw,vr.text+=Q.text):be.push(Q);continue}if(Q=this.tokenizer.link(de)){de=de.substring(Q.raw.length),Q.type==="link"&&(Q.tokens=this.inlineTokens(Q.text,[],!0,Ze)),be.push(Q);continue}if(Q=this.tokenizer.reflink(de,this.tokens.links)){de=de.substring(Q.raw.length);var gr=be[be.length-1];Q.type==="link"?(Q.tokens=this.inlineTokens(Q.text,[],!0,Ze),be.push(Q)):gr&&Q.type==="text"&&gr.type==="text"?(gr.raw+=Q.raw,gr.text+=Q.text):be.push(Q);continue}if(Q=this.tokenizer.emStrong(de,_e,xn)){de=de.substring(Q.raw.length),Q.tokens=this.inlineTokens(Q.text,[],We,Ze),be.push(Q);continue}if(Q=this.tokenizer.codespan(de)){de=de.substring(Q.raw.length),be.push(Q);continue}if(Q=this.tokenizer.br(de)){de=de.substring(Q.raw.length),be.push(Q);continue}if(Q=this.tokenizer.del(de)){de=de.substring(Q.raw.length),Q.tokens=this.inlineTokens(Q.text,[],We,Ze),be.push(Q);continue}if(Q=this.tokenizer.autolink(de,oe)){de=de.substring(Q.raw.length),be.push(Q);continue}if(!We&&(Q=this.tokenizer.url(de,oe))){de=de.substring(Q.raw.length),be.push(Q);continue}if(Q=this.tokenizer.inlineText(de,Ze,Re)){de=de.substring(Q.raw.length),Q.raw.slice(-1)!=="_"&&(xn=Q.raw.slice(-1)),An=!0,Mt=be[be.length-1],Mt&&Mt.type==="text"?(Mt.raw+=Q.raw,Mt.text+=Q.text):be.push(Q);continue}if(de){var Hr="Infinite loop on byte: "+de.charCodeAt(0);if(this.options.silent){console.error(Hr);break}else throw new Error(Hr)}}return be},h(Ue,null,[{key:"rules",get:function(){return{block:dt,inline:ct}}}]),Ue}(),Me=le.exports.defaults,U=ve.cleanUrl,M=ve.escape,ye=function(){function Ue(ht){this.options=ht||Me}var st=Ue.prototype;return st.code=function(de,be,We){var Ze=(be||"").match(/\S*/)[0];if(this.options.highlight){var Q=this.options.highlight(de,Ze);Q!=null&&Q!==de&&(We=!0,de=Q)}return de=de.replace(/\n$/,"")+`
|
|
`,Ze?'<pre><code class="'+this.options.langPrefix+M(Ze,!0)+'">'+(We?de:M(de,!0))+`</code></pre>
|
|
`:"<pre><code>"+(We?de:M(de,!0))+`</code></pre>
|
|
`},st.blockquote=function(de){return`<blockquote>
|
|
`+de+`</blockquote>
|
|
`},st.html=function(de){return de},st.heading=function(de,be,We,Ze){return this.options.headerIds?"<h"+be+' id="'+this.options.headerPrefix+Ze.slug(We)+'">'+de+"</h"+be+`>
|
|
`:"<h"+be+">"+de+"</h"+be+`>
|
|
`},st.hr=function(){return this.options.xhtml?`<hr/>
|
|
`:`<hr>
|
|
`},st.list=function(de,be,We){var Ze=be?"ol":"ul",Q=be&&We!==1?' start="'+We+'"':"";return"<"+Ze+Q+`>
|
|
`+de+"</"+Ze+`>
|
|
`},st.listitem=function(de){return"<li>"+de+`</li>
|
|
`},st.checkbox=function(de){return"<input "+(de?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},st.paragraph=function(de){return"<p>"+de+`</p>
|
|
`},st.table=function(de,be){return be&&(be="<tbody>"+be+"</tbody>"),`<table>
|
|
<thead>
|
|
`+de+`</thead>
|
|
`+be+`</table>
|
|
`},st.tablerow=function(de){return`<tr>
|
|
`+de+`</tr>
|
|
`},st.tablecell=function(de,be){var We=be.header?"th":"td",Ze=be.align?"<"+We+' align="'+be.align+'">':"<"+We+">";return Ze+de+"</"+We+`>
|
|
`},st.strong=function(de){return"<strong>"+de+"</strong>"},st.em=function(de){return"<em>"+de+"</em>"},st.codespan=function(de){return"<code>"+de+"</code>"},st.br=function(){return this.options.xhtml?"<br/>":"<br>"},st.del=function(de){return"<del>"+de+"</del>"},st.link=function(de,be,We){if(de=U(this.options.sanitize,this.options.baseUrl,de),de===null)return We;var Ze='<a href="'+M(de)+'"';return be&&(Ze+=' title="'+be+'"'),Ze+=">"+We+"</a>",Ze},st.image=function(de,be,We){if(de=U(this.options.sanitize,this.options.baseUrl,de),de===null)return We;var Ze='<img src="'+de+'" alt="'+We+'"';return be&&(Ze+=' title="'+be+'"'),Ze+=this.options.xhtml?"/>":">",Ze},st.text=function(de){return de},Ue}(),Te=function(){function Ue(){}var st=Ue.prototype;return st.strong=function(de){return de},st.em=function(de){return de},st.codespan=function(de){return de},st.del=function(de){return de},st.html=function(de){return de},st.text=function(de){return de},st.link=function(de,be,We){return""+We},st.image=function(de,be,We){return""+We},st.br=function(){return""},Ue}(),xe=function(){function Ue(){this.seen={}}var st=Ue.prototype;return st.serialize=function(de){return de.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},st.getNextSafeSlug=function(de,be){var We=de,Ze=0;if(this.seen.hasOwnProperty(We)){Ze=this.seen[de];do Ze++,We=de+"-"+Ze;while(this.seen.hasOwnProperty(We))}return be||(this.seen[de]=Ze,this.seen[We]=0),We},st.slug=function(de,be){be===void 0&&(be={});var We=this.serialize(de);return this.getNextSafeSlug(We,be.dryrun)},Ue}(),ae=ye,Fe=Te,nt=xe,se=le.exports.defaults,me=ve.unescape,vt=function(){function Ue(ht){this.options=ht||se,this.options.renderer=this.options.renderer||new ae,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new Fe,this.slugger=new nt}Ue.parse=function(de,be){var We=new Ue(be);return We.parse(de)},Ue.parseInline=function(de,be){var We=new Ue(be);return We.parseInline(de)};var st=Ue.prototype;return st.parse=function(de,be){be===void 0&&(be=!0);var We="",Ze,Q,Mt,_e,bt,An,xn,Er,vr,gr,Hr,fi,lr,ii,Wn,Bt,En,nn,Yr=de.length;for(Ze=0;Ze<Yr;Ze++)switch(gr=de[Ze],gr.type){case"space":continue;case"hr":{We+=this.renderer.hr();continue}case"heading":{We+=this.renderer.heading(this.parseInline(gr.tokens),gr.depth,me(this.parseInline(gr.tokens,this.textRenderer)),this.slugger);continue}case"code":{We+=this.renderer.code(gr.text,gr.lang,gr.escaped);continue}case"table":{for(Er="",xn="",_e=gr.header.length,Q=0;Q<_e;Q++)xn+=this.renderer.tablecell(this.parseInline(gr.tokens.header[Q]),{header:!0,align:gr.align[Q]});for(Er+=this.renderer.tablerow(xn),vr="",_e=gr.cells.length,Q=0;Q<_e;Q++){for(An=gr.tokens.cells[Q],xn="",bt=An.length,Mt=0;Mt<bt;Mt++)xn+=this.renderer.tablecell(this.parseInline(An[Mt]),{header:!1,align:gr.align[Mt]});vr+=this.renderer.tablerow(xn)}We+=this.renderer.table(Er,vr);continue}case"blockquote":{vr=this.parse(gr.tokens),We+=this.renderer.blockquote(vr);continue}case"list":{for(Hr=gr.ordered,fi=gr.start,lr=gr.loose,_e=gr.items.length,vr="",Q=0;Q<_e;Q++)Wn=gr.items[Q],Bt=Wn.checked,En=Wn.task,ii="",Wn.task&&(nn=this.renderer.checkbox(Bt),lr?Wn.tokens.length>0&&Wn.tokens[0].type==="text"?(Wn.tokens[0].text=nn+" "+Wn.tokens[0].text,Wn.tokens[0].tokens&&Wn.tokens[0].tokens.length>0&&Wn.tokens[0].tokens[0].type==="text"&&(Wn.tokens[0].tokens[0].text=nn+" "+Wn.tokens[0].tokens[0].text)):Wn.tokens.unshift({type:"text",text:nn}):ii+=nn),ii+=this.parse(Wn.tokens,lr),vr+=this.renderer.listitem(ii,En,Bt);We+=this.renderer.list(vr,Hr,fi);continue}case"html":{We+=this.renderer.html(gr.text);continue}case"paragraph":{We+=this.renderer.paragraph(this.parseInline(gr.tokens));continue}case"text":{for(vr=gr.tokens?this.parseInline(gr.tokens):gr.text;Ze+1<Yr&&de[Ze+1].type==="text";)gr=de[++Ze],vr+=`
|
|
`+(gr.tokens?this.parseInline(gr.tokens):gr.text);We+=be?this.renderer.paragraph(vr):vr;continue}default:{var Lt='Token with "'+gr.type+'" type was not found.';if(this.options.silent){console.error(Lt);return}else throw new Error(Lt)}}return We},st.parseInline=function(de,be){be=be||this.renderer;var We="",Ze,Q,Mt=de.length;for(Ze=0;Ze<Mt;Ze++)switch(Q=de[Ze],Q.type){case"escape":{We+=be.text(Q.text);break}case"html":{We+=be.html(Q.text);break}case"link":{We+=be.link(Q.href,Q.title,this.parseInline(Q.tokens,be));break}case"image":{We+=be.image(Q.href,Q.title,Q.text);break}case"strong":{We+=be.strong(this.parseInline(Q.tokens,be));break}case"em":{We+=be.em(this.parseInline(Q.tokens,be));break}case"codespan":{We+=be.codespan(Q.text);break}case"br":{We+=be.br();break}case"del":{We+=be.del(this.parseInline(Q.tokens,be));break}case"text":{We+=be.text(Q.text);break}default:{var _e='Token with "'+Q.type+'" type was not found.';if(this.options.silent){console.error(_e);return}else throw new Error(_e)}}return We},Ue}(),ft=qe,xt=vt,gt=Et,tt=ye,Pt=Te,_t=xe,Ae=ve.merge,et=ve.checkSanitizeDeprecation,E=ve.escape,D=le.exports.getDefaults,Ve=le.exports.changeDefaults,ne=le.exports.defaults;function q(Ue,st,ht){if(typeof Ue=="undefined"||Ue===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Ue!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Ue)+", string expected");if(typeof st=="function"&&(ht=st,st=null),st=Ae({},q.defaults,st||{}),et(st),ht){var de=st.highlight,be;try{be=ft.lex(Ue,st)}catch(Mt){return ht(Mt)}var We=function(_e){var bt;if(!_e)try{st.walkTokens&&q.walkTokens(be,st.walkTokens),bt=xt.parse(be,st)}catch(An){_e=An}return st.highlight=de,_e?ht(_e):ht(null,bt)};if(!de||de.length<3||(delete st.highlight,!be.length))return We();var Ze=0;q.walkTokens(be,function(Mt){Mt.type==="code"&&(Ze++,setTimeout(function(){de(Mt.text,Mt.lang,function(_e,bt){if(_e)return We(_e);bt!=null&&bt!==Mt.text&&(Mt.text=bt,Mt.escaped=!0),Ze--,Ze===0&&We()})},0))}),Ze===0&&We();return}try{var Q=ft.lex(Ue,st);return st.walkTokens&&q.walkTokens(Q,st.walkTokens),xt.parse(Q,st)}catch(Mt){if(Mt.message+=`
|
|
Please report this to https://github.com/markedjs/marked.`,st.silent)return"<p>An error occurred:</p><pre>"+E(Mt.message+"",!0)+"</pre>";throw Mt}}q.options=q.setOptions=function(Ue){return Ae(q.defaults,Ue),Ve(q.defaults),q},q.getDefaults=D,q.defaults=ne,q.use=function(Ue){var st=Ae({},Ue);if(Ue.renderer&&function(){var de=q.defaults.renderer||new tt,be=function(Q){var Mt=de[Q];de[Q]=function(){for(var _e=arguments.length,bt=new Array(_e),An=0;An<_e;An++)bt[An]=arguments[An];var xn=Ue.renderer[Q].apply(de,bt);return xn===!1&&(xn=Mt.apply(de,bt)),xn}};for(var We in Ue.renderer)be(We);st.renderer=de}(),Ue.tokenizer&&function(){var de=q.defaults.tokenizer||new gt,be=function(Q){var Mt=de[Q];de[Q]=function(){for(var _e=arguments.length,bt=new Array(_e),An=0;An<_e;An++)bt[An]=arguments[An];var xn=Ue.tokenizer[Q].apply(de,bt);return xn===!1&&(xn=Mt.apply(de,bt)),xn}};for(var We in Ue.tokenizer)be(We);st.tokenizer=de}(),Ue.walkTokens){var ht=q.defaults.walkTokens;st.walkTokens=function(de){Ue.walkTokens(de),ht&&ht(de)}}q.setOptions(st)},q.walkTokens=function(Ue,st){for(var ht=O(Ue),de;!(de=ht()).done;){var be=de.value;switch(st(be),be.type){case"table":{for(var We=O(be.tokens.header),Ze;!(Ze=We()).done;){var Q=Ze.value;q.walkTokens(Q,st)}for(var Mt=O(be.tokens.cells),_e;!(_e=Mt()).done;)for(var bt=_e.value,An=O(bt),xn;!(xn=An()).done;){var Er=xn.value;q.walkTokens(Er,st)}break}case"list":{q.walkTokens(be.items,st);break}default:be.tokens&&q.walkTokens(be.tokens,st)}}},q.parseInline=function(Ue,st){if(typeof Ue=="undefined"||Ue===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof Ue!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Ue)+", string expected");st=Ae({},q.defaults,st||{}),et(st);try{var ht=ft.lexInline(Ue,st);return st.walkTokens&&q.walkTokens(ht,st.walkTokens),xt.parseInline(ht,st)}catch(de){if(de.message+=`
|
|
Please report this to https://github.com/markedjs/marked.`,st.silent)return"<p>An error occurred:</p><pre>"+E(de.message+"",!0)+"</pre>";throw de}},q.Parser=xt,q.parser=xt.parse,q.Renderer=tt,q.TextRenderer=Pt,q.Lexer=ft,q.lexer=ft.lex,q.Tokenizer=gt,q.Slugger=_t,q.parse=q;var jt=q;return jt})},11690:function(On){const at=/[&<>"']/,h=/[&<>"']/g,c=/[<>"']|&(?!#?\w+;)/,ie=/[<>"']|&(?!#?\w+;)/g,O={"&":"&","<":"<",">":">",'"':""","'":"'"},le=pe=>O[pe];function j(pe,Be){if(Be){if(at.test(pe))return pe.replace(h,le)}else if(c.test(pe))return pe.replace(ie,le);return pe}const v=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function re(pe){return pe.replace(v,(Be,je)=>(je=je.toLowerCase(),je==="colon"?":":je.charAt(0)==="#"?je.charAt(1)==="x"?String.fromCharCode(parseInt(je.substring(2),16)):String.fromCharCode(+je.substring(1)):""))}const ee=/(^|[^\[])\^/g;function o(pe,Be){pe=pe.source||pe,Be=Be||"";const je={replace:(Le,it)=>(it=it.source||it,it=it.replace(ee,"$1"),pe=pe.replace(Le,it),je),getRegex:()=>new RegExp(pe,Be)};return je}const C=/[^\w:]/g,F=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function x(pe,Be,je){if(pe){let Le;try{Le=decodeURIComponent(re(je)).replace(C,"").toLowerCase()}catch(it){return null}if(Le.indexOf("javascript:")===0||Le.indexOf("vbscript:")===0||Le.indexOf("data:")===0)return null}Be&&!F.test(je)&&(je=Z(Be,je));try{je=encodeURI(je).replace(/%25/g,"%")}catch(Le){return null}return je}const A={},L=/^[^:]+:\/*[^/]*$/,z=/^([^:]+:)[\s\S]*$/,G=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Z(pe,Be){A[" "+pe]||(L.test(pe)?A[" "+pe]=pe+"/":A[" "+pe]=g(pe,"/",!0)),pe=A[" "+pe];const je=pe.indexOf(":")===-1;return Be.substring(0,2)==="//"?je?Be:pe.replace(z,"$1")+Be:Be.charAt(0)==="/"?je?Be:pe.replace(G,"$1")+Be:pe+Be}const W={exec:function(){}};function P(pe){let Be=1,je,Le;for(;Be<arguments.length;Be++){je=arguments[Be];for(Le in je)Object.prototype.hasOwnProperty.call(je,Le)&&(pe[Le]=je[Le])}return pe}function K(pe,Be){const je=pe.replace(/\|/g,(ce,Y,N)=>{let ve=!1,ue=Y;for(;--ue>=0&&N[ue]==="\\";)ve=!ve;return ve?"|":" |"}),Le=je.split(/ \|/);let it=0;if(Le.length>Be)Le.splice(Be);else for(;Le.length<Be;)Le.push("");for(;it<Le.length;it++)Le[it]=Le[it].trim().replace(/\\\|/g,"|");return Le}function g(pe,Be,je){const Le=pe.length;if(Le===0)return"";let it=0;for(;it<Le;){const ce=pe.charAt(Le-it-1);if(ce===Be&&!je)it++;else if(ce!==Be&&je)it++;else break}return pe.substr(0,Le-it)}function T(pe,Be){if(pe.indexOf(Be[1])===-1)return-1;const je=pe.length;let Le=0,it=0;for(;it<je;it++)if(pe[it]==="\\")it++;else if(pe[it]===Be[0])Le++;else if(pe[it]===Be[1]&&(Le--,Le<0))return it;return-1}function fe(pe){pe&&pe.sanitize&&!pe.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 Ee(pe,Be){if(Be<1)return"";let je="";for(;Be>1;)Be&1&&(je+=pe),Be>>=1,pe+=pe;return je+pe}On.exports={escape:j,unescape:re,edit:o,cleanUrl:x,resolveUrl:Z,noopTest:W,merge:P,splitCells:K,rtrim:g,findClosingBracket:T,checkSanitizeDeprecation:fe,repeatString:Ee}},75918:function(On,at,h){"use strict";h.d(at,{Wi:function(){return v},Z0:function(){return re},aU:function(){return j},eZ:function(){return o},wY:function(){return ee}});var c=h(4348),ie=h(69323),O=h(13268),le=function(C,F,x,A){function L(z){return z instanceof x?z:new x(function(G){G(z)})}return new(x||(x=Promise))(function(z,G){function Z(K){try{P(A.next(K))}catch(g){G(g)}}function W(K){try{P(A.throw(K))}catch(g){G(g)}}function P(K){K.done?z(K.value):L(K.value).then(Z,W)}P((A=A.apply(C,F||[])).next())})};class j extends ie.JT{constructor(F,x="",A="",L=!0,z){super(),this._onDidChange=this._register(new c.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=F,this._label=x,this._cssClass=A,this._enabled=L,this._actionCallback=z}get id(){return this._id}get label(){return this._label}set label(F){this._setLabel(F)}_setLabel(F){this._label!==F&&(this._label=F,this._onDidChange.fire({label:F}))}get tooltip(){return this._tooltip||""}set tooltip(F){this._setTooltip(F)}_setTooltip(F){this._tooltip!==F&&(this._tooltip=F,this._onDidChange.fire({tooltip:F}))}get class(){return this._cssClass}set class(F){this._setClass(F)}_setClass(F){this._cssClass!==F&&(this._cssClass=F,this._onDidChange.fire({class:F}))}get enabled(){return this._enabled}set enabled(F){this._setEnabled(F)}_setEnabled(F){this._enabled!==F&&(this._enabled=F,this._onDidChange.fire({enabled:F}))}get checked(){return this._checked}set checked(F){this._setChecked(F)}_setChecked(F){this._checked!==F&&(this._checked=F,this._onDidChange.fire({checked:F}))}run(F,x){return le(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(F))})}}class v extends ie.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new c.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new c.Q5),this.onDidRun=this._onDidRun.event}run(F,x){return le(this,void 0,void 0,function*(){if(!F.enabled)return;this._onBeforeRun.fire({action:F});let A;try{yield this.runAction(F,x)}catch(L){A=L}this._onDidRun.fire({action:F,error:A})})}runAction(F,x){return le(this,void 0,void 0,function*(){yield F.run(x)})}}class re extends j{constructor(F){super(re.ID,F,F?"separator text":"separator"),this.checked=!1,this.enabled=!1}}re.ID="vs.actions.separator";class ee{constructor(F,x,A,L){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=F,this.label=x,this.class=L,this._actions=A}get actions(){return this._actions}dispose(){}run(){return le(this,void 0,void 0,function*(){})}}class o extends j{constructor(){super(o.ID,O.N("submenu.empty","(empty)"),void 0,!1)}}o.ID="vs.actions.empty"},76068:function(On,at,h){"use strict";h.d(at,{ok:function(){return c}});function c(ie,O){if(!ie)throw new Error(O?`Assertion failed (${O})`:"Assertion Failed")}},52615:function(On,at,h){"use strict";h.d(at,{CM:function(){return j},JL:function(){return v},dT:function(){return ee},fK:function(){return le},lA:function(){return re}});var c=h(4348);class ie{constructor(){this._icons=new Map,this._onDidRegister=new c.Q5}add(C){const F=this._icons.get(C.id);F?C.description?F.description=C.description:console.error(`Duplicate registration of codicon ${C.id}`):(this._icons.set(C.id,C),this._onDidRegister.fire(C))}get(C){return this._icons.get(C)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const O=new ie,le=O;function j(o,C){return new re(o,C)}function v(o){return o?o.replace(/\$\((.*?)\)/g,(C,F)=>` ${F} `).trim():""}class re{constructor(C,F,x){this.id=C,this.definition=F,this.description=x,O.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var ee;(function(o){o.iconNameSegment="[A-Za-z0-9]+",o.iconNameExpression="[A-Za-z0-9\\-]+",o.iconModifierExpression="~[A-Za-z]+";const C=new RegExp(`^(${o.iconNameExpression})(${o.iconModifierExpression})?$`);function F(L){if(L instanceof re)return["codicon","codicon-"+L.id];const z=C.exec(L.id);if(!z)return F(re.error);let[,G,Z]=z;const W=["codicon","codicon-"+G];return Z&&W.push("codicon-modifier-"+Z.substr(1)),W}o.asClassNameArray=F;function x(L){return F(L).join(" ")}o.asClassName=x;function A(L){return"."+F(L).join(".")}o.asCSSSelector=A})(ee||(ee={})),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"})}(re||(re={}))},79881:function(On,at,h){"use strict";h.d(at,{B8:function(){return F},Cp:function(){return le},F0:function(){return ee},L6:function(){return C},VV:function(){return re},b1:function(){return o},dL:function(){return O},ri:function(){return j}});class c{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(A){setTimeout(()=>{throw A.stack?new Error(A.message+`
|
|
|
|
`+A.stack):A},0)}}emit(A){this.listeners.forEach(L=>{L(A)})}onUnexpectedError(A){this.unexpectedErrorHandler(A),this.emit(A)}onUnexpectedExternalError(A){this.unexpectedErrorHandler(A)}}const ie=new c;function O(x){re(x)||ie.onUnexpectedError(x)}function le(x){re(x)||ie.onUnexpectedExternalError(x)}function j(x){if(x instanceof Error){let{name:A,message:L}=x;const z=x.stacktrace||x.stack;return{$isError:!0,name:A,message:L,stack:z}}return x}const v="Canceled";function re(x){return x instanceof Error&&x.name===v&&x.message===v}function ee(){const x=new Error(v);return x.name=x.message,x}function o(x){return x?new Error(`Illegal argument: ${x}`):new Error("Illegal argument")}function C(x){return x?new Error(`Illegal state: ${x}`):new Error("Illegal state")}class F extends Error{constructor(A){super("NotSupported"),A&&(this.message=A)}}},4348:function(On,at,h){"use strict";h.d(at,{D0:function(){return F},E7:function(){return x},K3:function(){return C},Q5:function(){return o},ZD:function(){return A},ju:function(){return j}});var c=h(79881),ie=h(69323),O=h(34502),le=h(95830),j;(function(L){L.None=()=>ie.JT.None;function z(N){return(ve,ue=null,we)=>{let _=!1,I;return I=N(he=>{if(!_)return I?I.dispose():_=!0,ve.call(ue,he)},null,we),_&&I.dispose(),I}}L.once=z;function G(N,ve){return T((ue,we=null,_)=>N(I=>ue.call(we,ve(I)),null,_))}L.map=G;function Z(N,ve){return T((ue,we=null,_)=>N(I=>{ve(I),ue.call(we,I)},null,_))}L.forEach=Z;function W(N,ve){return T((ue,we=null,_)=>N(I=>ve(I)&&ue.call(we,I),null,_))}L.filter=W;function P(N){return N}L.signal=P;function K(...N){return(ve,ue=null,we)=>(0,ie.F8)(...N.map(_=>_(I=>ve.call(ue,I),null,we)))}L.any=K;function g(N,ve,ue){let we=ue;return G(N,_=>(we=ve(we,_),we))}L.reduce=g;function T(N){let ve;const ue=new o({onFirstListenerAdd(){ve=N(ue.fire,ue)},onLastListenerRemove(){ve.dispose()}});return ue.event}function fe(N,ve,ue=100,we=!1,_){let I,he,Ne,Qe=0;const Et=new o({leakWarningThreshold:_,onFirstListenerAdd(){I=N(He=>{Qe++,he=ve(he,He),we&&!Ne&&(Et.fire(he),he=void 0),clearTimeout(Ne),Ne=setTimeout(()=>{const Oe=he;he=void 0,Ne=void 0,(!we||Qe>1)&&Et.fire(Oe),Qe=0},ue)})},onLastListenerRemove(){I.dispose()}});return Et.event}L.debounce=fe;function Ee(N,ve=(ue,we)=>ue===we){let ue=!0,we;return W(N,_=>{const I=ue||!ve(_,we);return ue=!1,we=_,I})}L.latch=Ee;function pe(N,ve){return[L.filter(N,ve),L.filter(N,ue=>!ve(ue))]}L.split=pe;function Be(N,ve=!1,ue=[]){let we=ue.slice(),_=N(Ne=>{we?we.push(Ne):he.fire(Ne)});const I=()=>{we&&we.forEach(Ne=>he.fire(Ne)),we=null},he=new o({onFirstListenerAdd(){_||(_=N(Ne=>he.fire(Ne)))},onFirstListenerDidAdd(){we&&(ve?setTimeout(I):I())},onLastListenerRemove(){_&&_.dispose(),_=null}});return he.event}L.buffer=Be;class je{constructor(ve){this.event=ve}map(ve){return new je(G(this.event,ve))}forEach(ve){return new je(Z(this.event,ve))}filter(ve){return new je(W(this.event,ve))}reduce(ve,ue){return new je(g(this.event,ve,ue))}latch(){return new je(Ee(this.event))}debounce(ve,ue=100,we=!1,_){return new je(fe(this.event,ve,ue,we,_))}on(ve,ue,we){return this.event(ve,ue,we)}once(ve,ue,we){return z(this.event)(ve,ue,we)}}function Le(N){return new je(N)}L.chain=Le;function it(N,ve,ue=we=>we){const we=(...Ne)=>he.fire(ue(...Ne)),_=()=>N.on(ve,we),I=()=>N.removeListener(ve,we),he=new o({onFirstListenerAdd:_,onLastListenerRemove:I});return he.event}L.fromNodeEventEmitter=it;function ce(N,ve,ue=we=>we){const we=(...Ne)=>he.fire(ue(...Ne)),_=()=>N.addEventListener(ve,we),I=()=>N.removeEventListener(ve,we),he=new o({onFirstListenerAdd:_,onLastListenerRemove:I});return he.event}L.fromDOMEventEmitter=ce;function Y(N){return new Promise(ve=>z(N)(ve))}L.toPromise=Y})(j||(j={}));class v{constructor(z){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${z}_${v._idPool++}`}start(z){this._stopWatch=new le.G(!0),this._listenerCount=z}stop(){if(this._stopWatch){const z=this._stopWatch.elapsed();this._elapsedOverall+=z,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${z.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}v._idPool=0;let re=-1;class ee{constructor(z,G=Math.random().toString(18).slice(2,5)){this.customThreshold=z,this.name=G,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(z){let G=re;if(typeof this.customThreshold=="number"&&(G=this.customThreshold),G<=0||z<G)return;this._stacks||(this._stacks=new Map);const Z=new Error().stack.split(`
|
|
`).slice(3).join(`
|
|
`),W=this._stacks.get(Z)||0;if(this._stacks.set(Z,W+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=G*.5;let P,K=0;for(const[g,T]of this._stacks)(!P||K<T)&&(P=g,K=T);console.warn(`[${this.name}] potential listener LEAK detected, having ${z} listeners already. MOST frequent listener (${K}):`),console.warn(P)}return()=>{const P=this._stacks.get(Z)||0;this._stacks.set(Z,P-1)}}}class o{constructor(z){var G;this._disposed=!1,this._options=z,this._leakageMon=re>0?new ee(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((G=this._options)===null||G===void 0)&&G._profName?new v(this._options._profName):void 0}get event(){return this._event||(this._event=(z,G,Z)=>{var W;this._listeners||(this._listeners=new O.S);const P=this._listeners.isEmpty();P&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const K=this._listeners.push(G?[z,G]:z);P&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,z,G);const g=(W=this._leakageMon)===null||W===void 0?void 0:W.check(this._listeners.size),T=(0,ie.OF)(()=>{g&&g(),this._disposed||(K(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return Z instanceof ie.SL?Z.add(T):Array.isArray(Z)&&Z.push(T),T}),this._event}fire(z){var G,Z;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new O.S);for(let W of this._listeners)this._deliveryQueue.push([W,z]);for((G=this._perfMon)===null||G===void 0||G.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[W,P]=this._deliveryQueue.shift();try{typeof W=="function"?W.call(void 0,P):W[0].call(W[1],P)}catch(K){(0,c.dL)(K)}}(Z=this._perfMon)===null||Z===void 0||Z.stop()}}dispose(){var z,G,Z,W,P;this._disposed||(this._disposed=!0,(z=this._listeners)===null||z===void 0||z.clear(),(G=this._deliveryQueue)===null||G===void 0||G.clear(),(W=(Z=this._options)===null||Z===void 0?void 0:Z.onLastListenerRemove)===null||W===void 0||W.call(Z),(P=this._leakageMon)===null||P===void 0||P.dispose())}}class C extends o{constructor(z){super(z),this._isPaused=0,this._eventQueue=new O.S,this._mergeFn=z==null?void 0:z.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const z=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(z))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(z){this._listeners&&(this._isPaused!==0?this._eventQueue.push(z):super.fire(z))}}class F extends C{constructor(z){var G;super(z),this._delay=(G=z.delay)!==null&&G!==void 0?G:100}fire(z){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(z)}}class x{constructor(){this.buffers=[]}wrapEvent(z){return(G,Z,W)=>z(P=>{const K=this.buffers[this.buffers.length-1];K?K.push(()=>G.call(Z,P)):G.call(Z,P)},void 0,W)}bufferEvents(z){const G=[];this.buffers.push(G);const Z=z();return this.buffers.pop(),G.forEach(W=>W()),Z}}class A{constructor(){this.listening=!1,this.inputEvent=j.None,this.inputEventListener=ie.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(z){this.inputEvent=z,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=z(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(On,at,h){"use strict";h.d(at,{I:function(){return c}});function c(ie){const O=this;let le=!1,j;return function(){return le||(le=!0,j=ie.apply(O,arguments)),j}}},88226:function(On,at,h){"use strict";h.d(at,{$:function(){return c}});var c;(function(ie){function O(K){return K&&typeof K=="object"&&typeof K[Symbol.iterator]=="function"}ie.is=O;const le=Object.freeze([]);function j(){return le}ie.empty=j;function*v(K){yield K}ie.single=v;function re(K){return K||le}ie.from=re;function ee(K){return!K||K[Symbol.iterator]().next().done===!0}ie.isEmpty=ee;function o(K){return K[Symbol.iterator]().next().value}ie.first=o;function C(K,g){for(const T of K)if(g(T))return!0;return!1}ie.some=C;function F(K,g){for(const T of K)if(g(T))return T}ie.find=F;function*x(K,g){for(const T of K)g(T)&&(yield T)}ie.filter=x;function*A(K,g){let T=0;for(const fe of K)yield g(fe,T++)}ie.map=A;function*L(...K){for(const g of K)for(const T of g)yield T}ie.concat=L;function*z(K){for(const g of K)for(const T of g)yield T}ie.concatNested=z;function G(K,g,T){let fe=T;for(const Ee of K)fe=g(fe,Ee);return fe}ie.reduce=G;function*Z(K,g,T=K.length){for(g<0&&(g+=K.length),T<0?T+=K.length:T>K.length&&(T=K.length);g<T;g++)yield K[g]}ie.slice=Z;function W(K,g=Number.POSITIVE_INFINITY){const T=[];if(g===0)return[T,K];const fe=K[Symbol.iterator]();for(let Ee=0;Ee<g;Ee++){const pe=fe.next();if(pe.done)return[T,ie.empty()];T.push(pe.value)}return[T,{[Symbol.iterator](){return fe}}]}ie.consume=W;function P(K,g,T=(fe,Ee)=>fe===Ee){const fe=K[Symbol.iterator](),Ee=g[Symbol.iterator]();for(;;){const pe=fe.next(),Be=Ee.next();if(pe.done!==Be.done)return!1;if(pe.done)return!0;if(!T(pe.value,Be.value))return!1}}ie.equals=P})(c||(c={}))},69323:function(On,at,h){"use strict";h.d(at,{B9:function(){return A},F8:function(){return L},JT:function(){return Z},Jz:function(){return P},OF:function(){return z},SL:function(){return G},Wf:function(){return x},XK:function(){return W},dk:function(){return C}});var c=h(17845),ie=h(88226);const O=!1;let le=null;function j(K){le=K}if(O){const K="__is_disposable_tracked__";j(new class{trackDisposable(g){const T=new Error("Potentially leaked disposable").stack;setTimeout(()=>{g[K]||console.log(T)},3e3)}setParent(g,T){if(g&&g!==Z.None)try{g[K]=!0}catch(fe){}}markAsDisposed(g){if(g&&g!==Z.None)try{g[K]=!0}catch(T){}}markAsSingleton(g){}})}function v(K){return le==null||le.trackDisposable(K),K}function re(K){le==null||le.markAsDisposed(K)}function ee(K,g){le==null||le.setParent(K,g)}function o(K,g){if(le)for(const T of K)le.setParent(T,g)}function C(K){return le==null||le.markAsSingleton(K),K}class F extends Error{constructor(g){super(`Encountered errors while disposing of store. Errors: [${g.join(", ")}]`),this.errors=g}}function x(K){return typeof K.dispose=="function"&&K.dispose.length===0}function A(K){if(ie.$.is(K)){let g=[];for(const T of K)if(T)try{T.dispose()}catch(fe){g.push(fe)}if(g.length===1)throw g[0];if(g.length>1)throw new F(g);return Array.isArray(K)?[]:K}else if(K)return K.dispose(),K}function L(...K){const g=z(()=>A(K));return o(K,g),g}function z(K){const g=v({dispose:(0,c.I)(()=>{re(g),K()})});return g}class G{constructor(){this._toDispose=new Set,this._isDisposed=!1,v(this)}dispose(){this._isDisposed||(re(this),this._isDisposed=!0,this.clear())}clear(){try{A(this._toDispose.values())}finally{this._toDispose.clear()}}add(g){if(!g)return g;if(g===this)throw new Error("Cannot register a disposable on itself!");return ee(g,this),this._isDisposed?G.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(g),g}}G.DISABLE_DISPOSED_WARNING=!1;class Z{constructor(){this._store=new G,v(this),ee(this._store,this)}dispose(){re(this),this._store.dispose()}_register(g){if(g===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(g)}}Z.None=Object.freeze({dispose(){}});class W{constructor(){this._isDisposed=!1,v(this)}get value(){return this._isDisposed?void 0:this._value}set value(g){var T;this._isDisposed||g===this._value||((T=this._value)===null||T===void 0||T.dispose(),g&&ee(g,this),this._value=g)}clear(){this.value=void 0}dispose(){var g;this._isDisposed=!0,re(this),(g=this._value)===null||g===void 0||g.dispose(),this._value=void 0}clearAndLeak(){const g=this._value;return this._value=void 0,g&&ee(g,null),g}}class P{constructor(g){this.object=g}dispose(){}}},34502:function(On,at,h){"use strict";h.d(at,{S:function(){return ie}});class c{constructor(le){this.element=le,this.next=c.Undefined,this.prev=c.Undefined}}c.Undefined=new c(void 0);class ie{constructor(){this._first=c.Undefined,this._last=c.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===c.Undefined}clear(){let le=this._first;for(;le!==c.Undefined;){const j=le.next;le.prev=c.Undefined,le.next=c.Undefined,le=j}this._first=c.Undefined,this._last=c.Undefined,this._size=0}unshift(le){return this._insert(le,!1)}push(le){return this._insert(le,!0)}_insert(le,j){const v=new c(le);if(this._first===c.Undefined)this._first=v,this._last=v;else if(j){const ee=this._last;this._last=v,v.prev=ee,ee.next=v}else{const ee=this._first;this._first=v,v.next=ee,ee.prev=v}this._size+=1;let re=!1;return()=>{re||(re=!0,this._remove(v))}}shift(){if(this._first!==c.Undefined){const le=this._first.element;return this._remove(this._first),le}}pop(){if(this._last!==c.Undefined){const le=this._last.element;return this._remove(this._last),le}}_remove(le){if(le.prev!==c.Undefined&&le.next!==c.Undefined){const j=le.prev;j.next=le.next,le.next.prev=j}else le.prev===c.Undefined&&le.next===c.Undefined?(this._first=c.Undefined,this._last=c.Undefined):le.next===c.Undefined?(this._last=this._last.prev,this._last.next=c.Undefined):le.prev===c.Undefined&&(this._first=this._first.next,this._first.prev=c.Undefined);this._size-=1}*[Symbol.iterator](){let le=this._first;for(;le!==c.Undefined;)yield le.element,le=le.next}}},23345:function(On,at,h){"use strict";h.d(at,{$L:function(){return fe},ED:function(){return P},IJ:function(){return g},OS:function(){return je},WE:function(){return pe},dz:function(){return K},gn:function(){return Ee},li:function(){return z},r:function(){return ce},tY:function(){return T},xS:function(){return Be}});var c=h(97671),ie;const O="en";let le=!1,j=!1,v=!1,re=!1,ee=!1,o=!1,C=!1,F,x=null,A=null,L;const z=typeof self=="object"?self:typeof h.g=="object"?h.g:{};let G;typeof z.vscode!="undefined"&&typeof z.vscode.process!="undefined"?G=z.vscode.process:typeof c!="undefined"&&(G=c);const Z=typeof((ie=G==null?void 0:G.versions)===null||ie===void 0?void 0:ie.electron)=="string"&&G.type==="renderer";if(typeof navigator=="object"&&!Z)L=navigator.userAgent,le=L.indexOf("Windows")>=0,j=L.indexOf("Macintosh")>=0,C=(L.indexOf("Macintosh")>=0||L.indexOf("iPad")>=0||L.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,v=L.indexOf("Linux")>=0,o=!0,F=navigator.language,x=F;else if(typeof G=="object"){le=G.platform==="win32",j=G.platform==="darwin",v=G.platform==="linux",re=v&&!!G.env.SNAP&&!!G.env.SNAP_REVISION,F=O,x=O;const Y=G.env.VSCODE_NLS_CONFIG;if(Y)try{const N=JSON.parse(Y),ve=N.availableLanguages["*"];F=N.locale,x=ve||O,A=N._translationsConfigFile}catch(N){}ee=!0}else console.error("Unable to resolve platform.");let W=0;j?W=1:le?W=3:v&&(W=2);const P=le,K=j,g=v,T=ee,fe=o,Ee=C,pe=L,Be=function(){if(z.setImmediate)return z.setImmediate.bind(z);if(typeof z.postMessage=="function"&&!z.importScripts){let ve=[];z.addEventListener("message",we=>{if(we.data&&we.data.vscodeSetImmediateId)for(let _=0,I=ve.length;_<I;_++){const he=ve[_];if(he.id===we.data.vscodeSetImmediateId){ve.splice(_,1),he.callback();return}}});let ue=0;return we=>{const _=++ue;ve.push({id:_,callback:we}),z.postMessage({vscodeSetImmediateId:_},"*")}}if(typeof(G==null?void 0:G.nextTick)=="function")return G.nextTick.bind(G);const N=Promise.resolve();return ve=>N.then(ve)}(),je=j||C?2:le?1:3;let Le=!0,it=!1;function ce(){if(!it){it=!0;const Y=new Uint8Array(2);Y[0]=1,Y[1]=2,Le=new Uint16Array(Y.buffer)[0]===513}return Le}},95830:function(On,at,h){"use strict";h.d(at,{G:function(){return O}});var c=h(23345);const ie=c.li.performance&&typeof c.li.performance.now=="function";class O{constructor(j){this._highResolution=ie&&j,this._startTime=this._now(),this._stopTime=-1}static create(j=!0){return new O(j)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?c.li.performance.now():Date.now()}}},82983:function(On,at,h){"use strict";h.d(at,{$i:function(){return Qe},C8:function(){return St},GF:function(){return F},HO:function(){return ue},IO:function(){return x},K7:function(){return lt},Kw:function(){return ke},LC:function(){return z},Mh:function(){return Be},P1:function(){return je},PJ:function(){return Ht},Qe:function(){return Et},R1:function(){return C},RP:function(){return he},S6:function(){return dt},TT:function(){return P},Ut:function(){return _},V8:function(){return G},WU:function(){return O},YK:function(){return it},YU:function(){return le},ZG:function(){return Le},ZH:function(){return Y},ab:function(){return He},c1:function(){return ze},df:function(){return fe},ec:function(){return j},fi:function(){return ct},fy:function(){return v},j3:function(){return re},j_:function(){return g},m5:function(){return c},mK:function(){return T},mr:function(){return A},oH:function(){return oe},oL:function(){return ee},ok:function(){return pe},ow:function(){return Z},qq:function(){return Ee},qu:function(){return W},rL:function(){return ce},uS:function(){return At},un:function(){return o},uq:function(){return L},vH:function(){return ve},xe:function(){return Oe},zY:function(){return K}});function c(M){return!M||typeof M!="string"?!0:M.trim().length===0}const ie=/{(\d+)}/g;function O(M,...ye){return ye.length===0?M:M.replace(ie,function(Te,xe){const ae=parseInt(xe,10);return isNaN(ae)||ae<0||ae>=ye.length?Te:ye[ae]})}function le(M){return M.replace(/[<>&]/g,function(ye){switch(ye){case"<":return"<";case">":return">";case"&":return"&";default:return ye}})}function j(M){return M.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function v(M,ye=" "){const Te=re(M,ye);return ee(Te,ye)}function re(M,ye){if(!M||!ye)return M;const Te=ye.length;if(Te===0||M.length===0)return M;let xe=0;for(;M.indexOf(ye,xe)===xe;)xe=xe+Te;return M.substring(xe)}function ee(M,ye){if(!M||!ye)return M;const Te=ye.length,xe=M.length;if(Te===0||xe===0)return M;let ae=xe,Fe=-1;for(;Fe=M.lastIndexOf(ye,ae-1),!(Fe===-1||Fe+Te!==ae);){if(Fe===0)return"";ae=Fe}return M.substring(0,ae)}function o(M){return M.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function C(M){return M.replace(/\*/g,"")}function F(M,ye,Te={}){if(!M)throw new Error("Cannot create regex from empty string");ye||(M=j(M)),Te.wholeWord&&(/\B/.test(M.charAt(0))||(M="\\b"+M),/\B/.test(M.charAt(M.length-1))||(M=M+"\\b"));let xe="";return Te.global&&(xe+="g"),Te.matchCase||(xe+="i"),Te.multiline&&(xe+="m"),Te.unicode&&(xe+="u"),new RegExp(M,xe)}function x(M){return M.source==="^"||M.source==="^$"||M.source==="$"||M.source==="^\\s*$"?!1:!!(M.exec("")&&M.lastIndex===0)}function A(M){return(M.global?"g":"")+(M.ignoreCase?"i":"")+(M.multiline?"m":"")+(M.unicode?"u":"")}function L(M){return M.split(/\r\n|\r|\n/)}function z(M){for(let ye=0,Te=M.length;ye<Te;ye++){const xe=M.charCodeAt(ye);if(xe!==32&&xe!==9)return ye}return-1}function G(M,ye=0,Te=M.length){for(let xe=ye;xe<Te;xe++){const ae=M.charCodeAt(xe);if(ae!==32&&ae!==9)return M.substring(ye,xe)}return M.substring(ye,Te)}function Z(M,ye=M.length-1){for(let Te=ye;Te>=0;Te--){const xe=M.charCodeAt(Te);if(xe!==32&&xe!==9)return Te}return-1}function W(M,ye){return M<ye?-1:M>ye?1:0}function P(M,ye,Te=0,xe=M.length,ae=0,Fe=ye.length){for(;Te<xe&&ae<Fe;Te++,ae++){let me=M.charCodeAt(Te),vt=ye.charCodeAt(ae);if(me<vt)return-1;if(me>vt)return 1}const nt=xe-Te,se=Fe-ae;return nt<se?-1:nt>se?1:0}function K(M,ye){return g(M,ye,0,M.length,0,ye.length)}function g(M,ye,Te=0,xe=M.length,ae=0,Fe=ye.length){for(;Te<xe&&ae<Fe;Te++,ae++){let me=M.charCodeAt(Te),vt=ye.charCodeAt(ae);if(me===vt)continue;if(me>=128||vt>=128)return P(M.toLowerCase(),ye.toLowerCase(),Te,xe,ae,Fe);T(me)&&(me-=32),T(vt)&&(vt-=32);const ft=me-vt;if(ft!==0)return ft}const nt=xe-Te,se=Fe-ae;return nt<se?-1:nt>se?1:0}function T(M){return M>=97&&M<=122}function fe(M){return M>=65&&M<=90}function Ee(M,ye){return M.length===ye.length&&g(M,ye)===0}function pe(M,ye){const Te=ye.length;return ye.length>M.length?!1:g(M,ye,0,Te)===0}function Be(M,ye){let Te,xe=Math.min(M.length,ye.length);for(Te=0;Te<xe;Te++)if(M.charCodeAt(Te)!==ye.charCodeAt(Te))return Te;return xe}function je(M,ye){let Te,xe=Math.min(M.length,ye.length);const ae=M.length-1,Fe=ye.length-1;for(Te=0;Te<xe;Te++)if(M.charCodeAt(ae-Te)!==ye.charCodeAt(Fe-Te))return Te;return xe}function Le(M){return 55296<=M&&M<=56319}function it(M){return 56320<=M&&M<=57343}function ce(M,ye){return(M-55296<<10)+(ye-56320)+65536}function Y(M,ye,Te){const xe=M.charCodeAt(Te);if(Le(xe)&&Te+1<ye){const ae=M.charCodeAt(Te+1);if(it(ae))return ce(xe,ae)}return xe}function N(M,ye){const Te=M.charCodeAt(ye-1);if(it(Te)&&ye>1){const xe=M.charCodeAt(ye-2);if(Le(xe))return ce(xe,Te)}return Te}function ve(M,ye){const Te=Xe.getInstance(),xe=ye,ae=M.length,Fe=Y(M,ae,ye);ye+=Fe>=65536?2:1;let nt=Te.getGraphemeBreakType(Fe);for(;ye<ae;){const se=Y(M,ae,ye),me=Te.getGraphemeBreakType(se);if(ct(nt,me))break;ye+=se>=65536?2:1,nt=me}return ye-xe}function ue(M,ye){const Te=Xe.getInstance(),xe=ye,ae=N(M,ye);ye-=ae>=65536?2:1;let Fe=Te.getGraphemeBreakType(ae);for(;ye>0;){const nt=N(M,ye),se=Te.getGraphemeBreakType(nt);if(ct(se,Fe))break;ye-=nt>=65536?2:1,Fe=se}return xe-ye}const we=/(?:[\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 _(M){return we.test(M)}const I=/(?:[\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 he(M){return I.test(M)}const Ne=/^[\t\n\r\x20-\x7E]*$/;function Qe(M){return Ne.test(M)}const Et=/[\u2028\u2029]/;function He(M){return Et.test(M)}function Oe(M){for(let ye=0,Te=M.length;ye<Te;ye++)if(lt(M.charCodeAt(ye)))return!0;return!1}function lt(M){return M=+M,M>=11904&&M<=55215||M>=63744&&M<=64255||M>=65281&&M<=65374}function St(M){return M>=127462&&M<=127487||M===8986||M===8987||M===9200||M===9203||M>=9728&&M<=10175||M===11088||M===11093||M>=127744&&M<=128591||M>=128640&&M<=128764||M>=128992&&M<=129003||M>=129280&&M<=129535||M>=129648&&M<=129750}const ze="\uFEFF";function At(M){return!!(M&&M.length>0&&M.charCodeAt(0)===65279)}function ke(M,ye=!1){return M?(ye&&(M=M.replace(/\\./g,"")),M.toLowerCase()!==M):!1}function Ht(M){return M=M%(2*26),M<26?String.fromCharCode(97+M):String.fromCharCode(65+M-26)}function dt(M){return Xe.getInstance().getGraphemeBreakType(M)}function ct(M,ye){return M===0?ye!==5&&ye!==7:M===2&&ye===3?!1:M===4||M===2||M===3||ye===4||ye===2||ye===3?!0:!(M===8&&(ye===8||ye===9||ye===11||ye===12)||(M===11||M===9)&&(ye===9||ye===10)||(M===12||M===10)&&ye===10||ye===5||ye===13||ye===7||M===1||M===13&&ye===14||M===6&&ye===6)}class Xe{constructor(){this._data=Re()}static getInstance(){return Xe._INSTANCE||(Xe._INSTANCE=new Xe),Xe._INSTANCE}getGraphemeBreakType(ye){if(ye<32)return ye===10?3:ye===13?2:4;if(ye<127)return 0;const Te=this._data,xe=Te.length/3;let ae=1;for(;ae<=xe;)if(ye<Te[3*ae])ae=2*ae;else if(ye>Te[3*ae+1])ae=2*ae+1;else return Te[3*ae+2];return 0}}Xe._INSTANCE=null;function Re(){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 oe(M,ye){if(M===0)return 0;const Te=qe(M,ye);if(Te!==void 0)return Te;const xe=N(ye,M);return M-=Me(xe),M}function qe(M,ye){let Te=N(ye,M);for(M-=Me(Te);U(Te)||Te===65039||Te===8419;){if(M===0)return;Te=N(ye,M),M-=Me(Te)}if(St(Te)){if(M>=0){const xe=N(ye,M);xe===8205&&(M-=Me(xe))}return M}}function Me(M){return M>=65536?2:1}function U(M){return 127995<=M&&M<=127999}},72999:function(On,at,h){"use strict";h.d(at,{$E:function(){return z},$K:function(){return re},D8:function(){return x},HD:function(){return ie},IU:function(){return G},Jp:function(){return ee},Kn:function(){return O},cW:function(){return C},f6:function(){return Z},hj:function(){return le},jn:function(){return j},kJ:function(){return c},mf:function(){return F},o8:function(){return v},p_:function(){return o},vE:function(){return W}});function c(P){return Array.isArray(P)}function ie(P){return typeof P=="string"}function O(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)&&!(P instanceof RegExp)&&!(P instanceof Date)}function le(P){return typeof P=="number"&&!isNaN(P)}function j(P){return P===!0||P===!1}function v(P){return typeof P=="undefined"}function re(P){return!ee(P)}function ee(P){return v(P)||P===null}function o(P,K){if(!P)throw new Error(K?`Unexpected type, expected '${K}'`:"Unexpected type")}function C(P){if(ee(P))throw new Error("Assertion Failed: argument is undefined or null");return P}function F(P){return typeof P=="function"}function x(P,K){const g=Math.min(P.length,K.length);for(let T=0;T<g;T++)A(P[T],K[T])}function A(P,K){if(ie(K)){if(typeof P!==K)throw new Error(`argument does not match constraint: typeof ${K}`)}else if(F(K)){try{if(P instanceof K)return}catch(g){}if(!ee(P)&&P.constructor===K||K.length===1&&K.call(void 0,P)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function L(P){let K=[],g=Object.getPrototypeOf(P);for(;Object.prototype!==g;)K=K.concat(Object.getOwnPropertyNames(g)),g=Object.getPrototypeOf(g);return K}function z(P){const K=[];for(const g of L(P))typeof P[g]=="function"&&K.push(g);return K}function G(P,K){const g=fe=>function(){const Ee=Array.prototype.slice.call(arguments,0);return K(fe,Ee)};let T={};for(const fe of P)T[fe]=g(fe);return T}function Z(P){return P===null?void 0:P}function W(P,K="Unreachable"){throw new Error(K)}},13268:function(On,at,h){"use strict";h.d(at,{N:function(){return ie}});function c(O,le){let j;return le.length===0?j=O:j=O.replace(/\{(\d+)\}/g,function(v,re){const ee=re[0];return typeof le[ee]!="undefined"?le[ee]:v}),j}function ie(O,le,...j){return c(le,j)}},96236:function(On,at,h){"use strict";h.d(at,{BH:function(){return G},NZ:function(){return Z},U8:function(){return W},co:function(){return z},eH:function(){return L},vr:function(){return A}});var c=h(75918),ie=h(52615),O=h(4348),le=h(88226),j=h(69323),v=h(34502),re=h(35884),ee=h(90689),o=h(16925),C=h(49055),F=function(P,K,g,T){var fe=arguments.length,Ee=fe<3?K:T===null?T=Object.getOwnPropertyDescriptor(K,g):T,pe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Ee=Reflect.decorate(P,K,g,T);else for(var Be=P.length-1;Be>=0;Be--)(pe=P[Be])&&(Ee=(fe<3?pe(Ee):fe>3?pe(K,g,Ee):pe(K,g))||Ee);return fe>3&&Ee&&Object.defineProperty(K,g,Ee),Ee},x=function(P,K){return function(g,T){K(g,T,P)}};function A(P){return P.command!==void 0}class L{constructor(K){this.id=L._idPool++,this._debugName=K}}L._idPool=0,L.CommandPalette=new L("CommandPalette"),L.EditorContext=new L("EditorContext"),L.SimpleEditorContext=new L("SimpleEditorContext"),L.EditorContextCopy=new L("EditorContextCopy"),L.EditorContextPeek=new L("EditorContextPeek"),L.MenubarEditMenu=new L("MenubarEditMenu"),L.MenubarCopy=new L("MenubarCopy"),L.MenubarGoMenu=new L("MenubarGoMenu"),L.MenubarSelectionMenu=new L("MenubarSelectionMenu"),L.InlineCompletionsActions=new L("InlineCompletionsActions");const z=(0,o.yh)("menuService"),G=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new O.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:P=>P===L.CommandPalette}}addCommand(P){return this.addCommands(le.$.single(P))}addCommands(P){for(const K of P)this._commands.set(K.id,K);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,j.OF)(()=>{let K=!1;for(const g of P)K=this._commands.delete(g.id)||K;K&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(P){return this._commands.get(P)}getCommands(){const P=new Map;return this._commands.forEach((K,g)=>P.set(g,K)),P}appendMenuItem(P,K){return this.appendMenuItems(le.$.single({id:P,item:K}))}appendMenuItems(P){const K=new Set,g=new v.S;for(const{id:T,item:fe}of P){let Ee=this._menuItems.get(T);Ee||(Ee=new v.S,this._menuItems.set(T,Ee)),g.push(Ee.push(fe)),K.add(T)}return this._onDidChangeMenu.fire(K),(0,j.OF)(()=>{if(g.size>0){for(let T of g)T();this._onDidChangeMenu.fire(K),g.clear()}})}getMenuItems(P){let K;return this._menuItems.has(P)?K=[...this._menuItems.get(P)]:K=[],P===L.CommandPalette&&this._appendImplicitItems(K),K}_appendImplicitItems(P){const K=new Set;for(const g of P)A(g)&&(K.add(g.command.id),g.alt&&K.add(g.alt.id));this._commands.forEach((g,T)=>{K.has(T)||P.push({command:g})})}};class Z extends c.wY{constructor(K,g,T,fe){super(`submenuitem.${K.submenu.id}`,typeof K.title=="string"?K.title:K.title.value,[],"submenu"),this.item=K,this._menuService=g,this._contextKeyService=T,this._options=fe}get actions(){const K=[],g=this._menuService.createMenu(this.item.submenu,this._contextKeyService),T=g.getActions(this._options);g.dispose();for(const[,fe]of T)fe.length>0&&(K.push(...fe),K.push(new c.Z0));return K.length&&K.pop(),K}}let W=class cc{constructor(K,g,T,fe,Ee){var pe,Be;if(this._commandService=Ee,this.id=K.id,this.label=T!=null&&T.renderShortTitle&&K.shortTitle?typeof K.shortTitle=="string"?K.shortTitle:K.shortTitle.value:typeof K.title=="string"?K.title:K.title.value,this.tooltip=(Be=typeof K.tooltip=="string"?K.tooltip:(pe=K.tooltip)===null||pe===void 0?void 0:pe.value)!==null&&Be!==void 0?Be:"",this.enabled=!K.precondition||fe.contextMatchesRules(K.precondition),this.checked=void 0,K.toggled){const je=K.toggled.condition?K.toggled:{condition:K.toggled};this.checked=fe.contextMatchesRules(je.condition),this.checked&&je.tooltip&&(this.tooltip=typeof je.tooltip=="string"?je.tooltip:je.tooltip.value),je.title&&(this.label=typeof je.title=="string"?je.title:je.title.value)}this.item=K,this.alt=g?new cc(g,void 0,T,fe,Ee):void 0,this._options=T,C.kS.isThemeIcon(K.icon)&&(this.class=ie.dT.asClassName(K.icon))}dispose(){}run(...K){var g,T;let fe=[];return!((g=this._options)===null||g===void 0)&&g.arg&&(fe=[...fe,this._options.arg]),!((T=this._options)===null||T===void 0)&&T.shouldForwardArgs&&(fe=[...fe,...K]),this._commandService.executeCommand(this.id,...fe)}};W=F([x(3,ee.i6),x(4,re.H)],W)},35884:function(On,at,h){"use strict";h.d(at,{H:function(){return re},P:function(){return ee}});var c=h(4348),ie=h(88226),O=h(69323),le=h(34502),j=h(72999),v=h(16925);const re=(0,v.yh)("commandService"),ee=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new c.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(o,C){if(!o)throw new Error("invalid command");if(typeof o=="string"){if(!C)throw new Error("invalid command");return this.registerCommand({id:o,handler:C})}if(o.description){const z=[];for(let Z of o.description.args)z.push(Z.constraint);const G=o.handler;o.handler=function(Z,...W){return(0,j.D8)(W,z),G(Z,...W)}}const{id:F}=o;let x=this._commands.get(F);x||(x=new le.S,this._commands.set(F,x));let A=x.unshift(o),L=(0,O.OF)(()=>{A();const z=this._commands.get(F);z!=null&&z.isEmpty()&&this._commands.delete(F)});return this._onDidRegisterCommand.fire(F),L}registerCommandAlias(o,C){return ee.registerCommand(o,(F,...x)=>F.get(re).executeCommand(C,...x))}getCommand(o){const C=this._commands.get(o);if(!(!C||C.isEmpty()))return ie.$.first(C)}getCommands(){const o=new Map;for(const C of this._commands.keys()){const F=this.getCommand(C);F&&o.set(C,F)}return o}};ee.registerCommand("noop",()=>{})},90689:function(On,at,h){"use strict";h.d(at,{Ao:function(){return re},Eq:function(){return ce},Fb:function(){return ee},K8:function(){return ve},i6:function(){return it},uy:function(){return Le}});var c=h(23345),ie=h(82983),O=h(16925);let le=c.WE||"";const j=new Map;j.set("false",!1),j.set("true",!0),j.set("isMac",c.dz),j.set("isLinux",c.IJ),j.set("isWindows",c.ED),j.set("isWeb",c.$L),j.set("isMacNative",c.dz&&!c.$L),j.set("isEdge",le.indexOf("Edg/")>=0),j.set("isFirefox",le.indexOf("Firefox")>=0),j.set("isChrome",le.indexOf("Chrome")>=0),j.set("isSafari",le.indexOf("Safari")>=0);const v=Object.prototype.hasOwnProperty;class re{static has(_){return x.create(_)}static equals(_,I){return A.create(_,I)}static regex(_,I){return fe.create(_,I)}static not(_){return Z.create(_)}static and(..._){return Be.create(_,null)}static or(..._){return je.create(_,null,!0)}static deserialize(_,I=!1){if(_)return this._deserializeOrExpression(_,I)}static _deserializeOrExpression(_,I){let he=_.split("||");return je.create(he.map(Ne=>this._deserializeAndExpression(Ne,I)),null,!0)}static _deserializeAndExpression(_,I){let he=_.split("&&");return Be.create(he.map(Ne=>this._deserializeOne(Ne,I)),null)}static _deserializeOne(_,I){if(_=_.trim(),_.indexOf("!=")>=0){let he=_.split("!=");return G.create(he[0].trim(),this._deserializeValue(he[1],I))}if(_.indexOf("==")>=0){let he=_.split("==");return A.create(he[0].trim(),this._deserializeValue(he[1],I))}if(_.indexOf("=~")>=0){let he=_.split("=~");return fe.create(he[0].trim(),this._deserializeRegexValue(he[1],I))}if(_.indexOf(" in ")>=0){let he=_.split(" in ");return L.create(he[0].trim(),he[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(_)){const he=_.split(">=");return K.create(he[0].trim(),he[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(_)){const he=_.split(">");return P.create(he[0].trim(),he[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(_)){const he=_.split("<=");return T.create(he[0].trim(),he[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(_)){const he=_.split("<");return g.create(he[0].trim(),he[1].trim())}return/^\!\s*/.test(_)?Z.create(_.substr(1).trim()):x.create(_)}static _deserializeValue(_,I){if(_=_.trim(),_==="true")return!0;if(_==="false")return!1;let he=/^'([^']*)'$/.exec(_);return he?he[1].trim():_}static _deserializeRegexValue(_,I){if((0,ie.m5)(_)){if(I)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let he=_.indexOf("/"),Ne=_.lastIndexOf("/");if(he===Ne||he<0){if(I)throw new Error(`bad regexp-value '${_}', missing /-enclosure`);return console.warn(`bad regexp-value '${_}', missing /-enclosure`),null}let Qe=_.slice(he+1,Ne),Et=_[Ne+1]==="i"?"i":"";try{return new RegExp(Qe,Et)}catch(He){if(I)throw new Error(`bad regexp-value '${_}', parse error: ${He}`);return console.warn(`bad regexp-value '${_}', parse error: ${He}`),null}}}function ee(we,_){const I=we?we.substituteConstants():void 0,he=_?_.substituteConstants():void 0;return!I&&!he?!0:!I||!he?!1:I.equals(he)}function o(we,_){return we.cmp(_)}class C{constructor(){this.type=0}cmp(_){return this.type-_.type}equals(_){return _.type===this.type}substituteConstants(){return this}evaluate(_){return!1}serialize(){return"false"}keys(){return[]}negate(){return F.INSTANCE}}C.INSTANCE=new C;class F{constructor(){this.type=1}cmp(_){return this.type-_.type}equals(_){return _.type===this.type}substituteConstants(){return this}evaluate(_){return!0}serialize(){return"true"}keys(){return[]}negate(){return C.INSTANCE}}F.INSTANCE=new F;class x{constructor(_,I){this.key=_,this.negated=I,this.type=2}static create(_,I=null){const he=j.get(_);return typeof he=="boolean"?he?F.INSTANCE:C.INSTANCE:new x(_,I)}cmp(_){return _.type!==this.type?this.type-_.type:Y(this.key,_.key)}equals(_){return _.type===this.type?this.key===_.key:!1}substituteConstants(){const _=j.get(this.key);return typeof _=="boolean"?_?F.INSTANCE:C.INSTANCE:this}evaluate(_){return!!_.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=Z.create(this.key,this)),this.negated}}class A{constructor(_,I,he){this.key=_,this.value=I,this.negated=he,this.type=4}static create(_,I,he=null){if(typeof I=="boolean")return I?x.create(_,he):Z.create(_,he);const Ne=j.get(_);return typeof Ne=="boolean"?I===(Ne?"true":"false")?F.INSTANCE:C.INSTANCE:new A(_,I,he)}cmp(_){return _.type!==this.type?this.type-_.type:N(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){const _=j.get(this.key);if(typeof _=="boolean"){const I=_?"true":"false";return this.value===I?F.INSTANCE:C.INSTANCE}return this}evaluate(_){return _.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=G.create(this.key,this.value,this)),this.negated}}class L{constructor(_,I){this.key=_,this.valueKey=I,this.type=10,this.negated=null}static create(_,I){return new L(_,I)}cmp(_){return _.type!==this.type?this.type-_.type:N(this.key,this.valueKey,_.key,_.valueKey)}equals(_){return _.type===this.type?this.key===_.key&&this.valueKey===_.valueKey:!1}substituteConstants(){return this}evaluate(_){const I=_.getValue(this.valueKey),he=_.getValue(this.key);return Array.isArray(I)?I.indexOf(he)>=0:typeof he=="string"&&typeof I=="object"&&I!==null?v.call(I,he):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=z.create(this)),this.negated}}class z{constructor(_){this._actual=_,this.type=11}static create(_){return new z(_)}cmp(_){return _.type!==this.type?this.type-_.type:this._actual.cmp(_._actual)}equals(_){return _.type===this.type?this._actual.equals(_._actual):!1}substituteConstants(){return this}evaluate(_){return!this._actual.evaluate(_)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class G{constructor(_,I,he){this.key=_,this.value=I,this.negated=he,this.type=5}static create(_,I,he=null){if(typeof I=="boolean")return I?Z.create(_,he):x.create(_,he);const Ne=j.get(_);return typeof Ne=="boolean"?I===(Ne?"true":"false")?C.INSTANCE:F.INSTANCE:new G(_,I,he)}cmp(_){return _.type!==this.type?this.type-_.type:N(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){const _=j.get(this.key);if(typeof _=="boolean"){const I=_?"true":"false";return this.value===I?C.INSTANCE:F.INSTANCE}return this}evaluate(_){return _.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this.value,this)),this.negated}}class Z{constructor(_,I){this.key=_,this.negated=I,this.type=3}static create(_,I=null){const he=j.get(_);return typeof he=="boolean"?he?C.INSTANCE:F.INSTANCE:new Z(_,I)}cmp(_){return _.type!==this.type?this.type-_.type:Y(this.key,_.key)}equals(_){return _.type===this.type?this.key===_.key:!1}substituteConstants(){const _=j.get(this.key);return typeof _=="boolean"?_?C.INSTANCE:F.INSTANCE:this}evaluate(_){return!_.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=x.create(this.key,this)),this.negated}}function W(we,_){if(typeof we=="string"){const I=parseFloat(we);isNaN(I)||(we=I)}return typeof we=="string"||typeof we=="number"?_(we):C.INSTANCE}class P{constructor(_,I,he){this.key=_,this.value=I,this.negated=he,this.type=12}static create(_,I,he=null){return W(I,Ne=>new P(_,Ne,he))}cmp(_){return _.type!==this.type?this.type-_.type:N(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=T.create(this.key,this.value,this)),this.negated}}class K{constructor(_,I,he){this.key=_,this.value=I,this.negated=he,this.type=13}static create(_,I,he=null){return W(I,Ne=>new K(_,Ne,he))}cmp(_){return _.type!==this.type?this.type-_.type:N(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=g.create(this.key,this.value,this)),this.negated}}class g{constructor(_,I,he){this.key=_,this.value=I,this.negated=he,this.type=14}static create(_,I,he=null){return W(I,Ne=>new g(_,Ne,he))}cmp(_){return _.type!==this.type?this.type-_.type:N(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.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 T{constructor(_,I,he){this.key=_,this.value=I,this.negated=he,this.type=15}static create(_,I,he=null){return W(I,Ne=>new T(_,Ne,he))}cmp(_){return _.type!==this.type?this.type-_.type:N(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}class fe{constructor(_,I){this.key=_,this.regexp=I,this.type=7,this.negated=null}static create(_,I){return new fe(_,I)}cmp(_){if(_.type!==this.type)return this.type-_.type;if(this.key<_.key)return-1;if(this.key>_.key)return 1;const I=this.regexp?this.regexp.source:"",he=_.regexp?_.regexp.source:"";return I<he?-1:I>he?1:0}equals(_){if(_.type===this.type){const I=this.regexp?this.regexp.source:"",he=_.regexp?_.regexp.source:"";return this.key===_.key&&I===he}return!1}substituteConstants(){return this}evaluate(_){let I=_.getValue(this.key);return this.regexp?this.regexp.test(I):!1}serialize(){const _=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${_}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=Ee.create(this)),this.negated}}class Ee{constructor(_){this._actual=_,this.type=8}static create(_){return new Ee(_)}cmp(_){return _.type!==this.type?this.type-_.type:this._actual.cmp(_._actual)}equals(_){return _.type===this.type?this._actual.equals(_._actual):!1}substituteConstants(){return this}evaluate(_){return!this._actual.evaluate(_)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function pe(we){let _=null;for(let I=0,he=we.length;I<he;I++){const Ne=we[I].substituteConstants();if(we[I]!==Ne&&_===null){_=[];for(let Qe=0;Qe<I;Qe++)_[Qe]=we[Qe]}_!==null&&(_[I]=Ne)}return _===null?we:_}class Be{constructor(_,I){this.expr=_,this.negated=I,this.type=6}static create(_,I){return Be._normalizeArr(_,I)}cmp(_){if(_.type!==this.type)return this.type-_.type;if(this.expr.length<_.expr.length)return-1;if(this.expr.length>_.expr.length)return 1;for(let I=0,he=this.expr.length;I<he;I++){const Ne=o(this.expr[I],_.expr[I]);if(Ne!==0)return Ne}return 0}equals(_){if(_.type===this.type){if(this.expr.length!==_.expr.length)return!1;for(let I=0,he=this.expr.length;I<he;I++)if(!this.expr[I].equals(_.expr[I]))return!1;return!0}return!1}substituteConstants(){const _=pe(this.expr);return _===this.expr?this:Be.create(_,this.negated)}evaluate(_){for(let I=0,he=this.expr.length;I<he;I++)if(!this.expr[I].evaluate(_))return!1;return!0}static _normalizeArr(_,I){const he=[];let Ne=!1;for(const Qe of _)if(Qe){if(Qe.type===1){Ne=!0;continue}if(Qe.type===0)return C.INSTANCE;if(Qe.type===6){he.push(...Qe.expr);continue}he.push(Qe)}if(he.length===0&&Ne)return F.INSTANCE;if(he.length!==0){if(he.length===1)return he[0];he.sort(o);for(let Qe=1;Qe<he.length;Qe++)he[Qe-1].equals(he[Qe])&&(he.splice(Qe,1),Qe--);if(he.length===1)return he[0];for(;he.length>1;){const Qe=he[he.length-1];if(Qe.type!==9)break;he.pop();const Et=he.pop(),He=he.length===0,Oe=je.create(Qe.expr.map(lt=>Be.create([lt,Et],null)),null,He);Oe&&(he.push(Oe),he.sort(o))}return he.length===1?he[0]:new Be(he,I)}}serialize(){return this.expr.map(_=>_.serialize()).join(" && ")}keys(){const _=[];for(let I of this.expr)_.push(...I.keys());return _}negate(){if(!this.negated){const _=[];for(let I of this.expr)_.push(I.negate());this.negated=je.create(_,this,!0)}return this.negated}}class je{constructor(_,I){this.expr=_,this.negated=I,this.type=9}static create(_,I,he){return je._normalizeArr(_,I,he)}cmp(_){if(_.type!==this.type)return this.type-_.type;if(this.expr.length<_.expr.length)return-1;if(this.expr.length>_.expr.length)return 1;for(let I=0,he=this.expr.length;I<he;I++){const Ne=o(this.expr[I],_.expr[I]);if(Ne!==0)return Ne}return 0}equals(_){if(_.type===this.type){if(this.expr.length!==_.expr.length)return!1;for(let I=0,he=this.expr.length;I<he;I++)if(!this.expr[I].equals(_.expr[I]))return!1;return!0}return!1}substituteConstants(){const _=pe(this.expr);return _===this.expr?this:je.create(_,this.negated,!1)}evaluate(_){for(let I=0,he=this.expr.length;I<he;I++)if(this.expr[I].evaluate(_))return!0;return!1}static _normalizeArr(_,I,he){let Ne=[],Qe=!1;if(_){for(let Et=0,He=_.length;Et<He;Et++){const Oe=_[Et];if(Oe){if(Oe.type===0){Qe=!0;continue}if(Oe.type===1)return F.INSTANCE;if(Oe.type===9){Ne=Ne.concat(Oe.expr);continue}Ne.push(Oe)}}if(Ne.length===0&&Qe)return C.INSTANCE;Ne.sort(o)}if(Ne.length!==0){if(Ne.length===1)return Ne[0];for(let Et=1;Et<Ne.length;Et++)Ne[Et-1].equals(Ne[Et])&&(Ne.splice(Et,1),Et--);if(Ne.length===1)return Ne[0];if(he){for(let Et=0;Et<Ne.length;Et++)for(let He=Et+1;He<Ne.length;He++)ve(Ne[Et],Ne[He])&&(Ne.splice(He,1),He--);if(Ne.length===1)return Ne[0]}return new je(Ne,I)}}serialize(){return this.expr.map(_=>_.serialize()).join(" || ")}keys(){const _=[];for(let I of this.expr)_.push(...I.keys());return _}negate(){if(!this.negated){let _=[];for(let I of this.expr)_.push(I.negate());for(;_.length>1;){const I=_.shift(),he=_.shift(),Ne=[];for(const Et of ue(I))for(const He of ue(he))Ne.push(Be.create([Et,He],null));const Qe=_.length===0;_.unshift(je.create(Ne,null,Qe))}this.negated=_[0]}return this.negated}}class Le extends x{constructor(_,I,he){super(_,null),this._defaultValue=I,typeof he=="object"?Le._info.push(Object.assign(Object.assign({},he),{key:_})):he!==!0&&Le._info.push({key:_,description:he,type:I!=null?typeof I:void 0})}static all(){return Le._info.values()}bindTo(_){return _.createKey(this.key,this._defaultValue)}getValue(_){return _.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(_){return A.create(this.key,_)}}Le._info=[];const it=(0,O.yh)("contextKeyService"),ce="setContext";function Y(we,_){return we<_?-1:we>_?1:0}function N(we,_,I,he){return we<I?-1:we>I?1:_<he?-1:_>he?1:0}function ve(we,_){if(_.type===6&&we.type!==9&&we.type!==6){for(const Ne of _.expr)if(we.equals(Ne))return!0}const I=we.negate(),he=ue(I).concat(ue(_));he.sort(o);for(let Ne=0;Ne<he.length;Ne++){const Et=he[Ne].negate();for(let He=Ne+1;He<he.length;He++){const Oe=he[He];if(Et.equals(Oe))return!0}}return!1}function ue(we){return we.type===9?we.expr:[we]}},16925:function(On,at,h){"use strict";h.d(at,{I8:function(){return c},TG:function(){return ie},jt:function(){return j},yh:function(){return le}});var c;(function(v){v.serviceIds=new Map,v.DI_TARGET="$di$target",v.DI_DEPENDENCIES="$di$dependencies";function re(ee){return ee[v.DI_DEPENDENCIES]||[]}v.getServiceDependencies=re})(c||(c={}));const ie=le("instantiationService");function O(v,re,ee,o){re[c.DI_TARGET]===re?re[c.DI_DEPENDENCIES].push({id:v,index:ee,optional:o}):(re[c.DI_DEPENDENCIES]=[{id:v,index:ee,optional:o}],re[c.DI_TARGET]=re)}function le(v){if(c.serviceIds.has(v))return c.serviceIds.get(v);const re=function(ee,o,C){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");O(re,ee,C,!1)};return re.toString=()=>v,c.serviceIds.set(v,re),re}function j(v){return function(re,ee,o){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");O(v,re,o,!0)}}},44650:function(On,at,h){"use strict";h.d(at,{B:function(){return le}});var c=h(76068),ie=h(72999);class O{constructor(){this.data=new Map}add(v,re){c.ok(ie.HD(v)),c.ok(ie.Kn(re)),c.ok(!this.data.has(v),"There is already an extension with this id"),this.data.set(v,re)}as(v){return this.data.get(v)||null}}const le=new O},66213:function(On,at,h){"use strict";h.d(at,{e:function(){return c}});var c;(function(ie){ie.DARK="dark",ie.LIGHT="light",ie.HIGH_CONTRAST="hc"})(c||(c={}))},49055:function(On,at,h){"use strict";h.d(at,{EN:function(){return o},IP:function(){return x},Ic:function(){return z},XE:function(){return re},bB:function(){return G},kS:function(){return C},m6:function(){return F}});var c=h(52615),ie=h(4348),O=h(69323),le=h(16925),j=h(44650),v=h(66213);const re=(0,le.yh)("themeService");var ee;(function(Z){function W(P){return P&&typeof P=="object"&&typeof P.id=="string"}Z.isThemeColor=W})(ee||(ee={}));function o(Z){return{id:Z}}var C;(function(Z){function W(Ee){return Ee&&typeof Ee=="object"&&typeof Ee.id=="string"&&(typeof Ee.color=="undefined"||ee.isThemeColor(Ee.color))}Z.isThemeIcon=W;const P=new RegExp(`^\\$\\((${c.dT.iconNameExpression}(?:${c.dT.iconModifierExpression})?)\\)$`);function K(Ee){const pe=P.exec(Ee);if(!pe)return;let[,Be]=pe;return{id:Be}}Z.fromString=K;function g(Ee,pe){let Be=Ee.id;const je=Be.lastIndexOf("~");return je!==-1&&(Be=Be.substring(0,je)),pe&&(Be=`${Be}~${pe}`),{id:Be}}Z.modify=g;function T(Ee,pe){var Be,je;return Ee.id===pe.id&&((Be=Ee.color)===null||Be===void 0?void 0:Be.id)===((je=pe.color)===null||je===void 0?void 0:je.id)}Z.isEqual=T;function fe(Ee,pe){return{id:Ee.id,color:pe?o(pe):void 0}}Z.asThemeIcon=fe,Z.asClassNameArray=c.dT.asClassNameArray,Z.asClassName=c.dT.asClassName,Z.asCSSSelector=c.dT.asCSSSelector})(C||(C={}));function F(Z){switch(Z){case v.e.DARK:return"vs-dark";case v.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const x={ThemingContribution:"base.contributions.theming"};class A{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new ie.Q5}onColorThemeChange(W){return this.themingParticipants.push(W),this.onThemingParticipantAddedEmitter.fire(W),(0,O.OF)(()=>{const P=this.themingParticipants.indexOf(W);this.themingParticipants.splice(P,1)})}getThemingParticipants(){return this.themingParticipants}}let L=new A;j.B.add(x.ThemingContribution,L);function z(Z){return L.onColorThemeChange(Z)}class G extends O.JT{constructor(W){super(),this.themeService=W,this.theme=W.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(P=>this.onThemeChange(P)))}onThemeChange(W){this.theme=W,this.updateStyles()}updateStyles(){}}},16632:function(On,at,h){"use strict";var c=h(60499),ie=h(85899),O=h(18642),le=h(72190),j=h(42244),v=h(92310),re=h.n(v),ee=h(18929),o=h(59301),C=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],F=(0,o.forwardRef)(function(x,A){var L=x.prefixCls,z=L===void 0?"rc-checkbox":L,G=x.className,Z=x.style,W=x.checked,P=x.disabled,K=x.defaultChecked,g=K===void 0?!1:K,T=x.type,fe=T===void 0?"checkbox":T,Ee=x.title,pe=x.onChange,Be=(0,j.Z)(x,C),je=(0,o.useRef)(null),Le=(0,o.useRef)(null),it=(0,ee.Z)(g,{value:W}),ce=(0,le.Z)(it,2),Y=ce[0],N=ce[1];(0,o.useImperativeHandle)(A,function(){return{focus:function(_){var I;(I=je.current)===null||I===void 0||I.focus(_)},blur:function(){var _;(_=je.current)===null||_===void 0||_.blur()},input:je.current,nativeElement:Le.current}});var ve=re()(z,G,(0,O.Z)((0,O.Z)({},"".concat(z,"-checked"),Y),"".concat(z,"-disabled"),P)),ue=function(_){P||("checked"in x||N(_.target.checked),pe==null||pe({target:(0,ie.Z)((0,ie.Z)({},x),{},{type:fe,checked:_.target.checked}),stopPropagation:function(){_.stopPropagation()},preventDefault:function(){_.preventDefault()},nativeEvent:_.nativeEvent}))};return o.createElement("span",{className:ve,title:Ee,style:Z,ref:Le},o.createElement("input",(0,c.Z)({},Be,{className:"".concat(z,"-input"),ref:je,onChange:ue,disabled:P,checked:!!Y,type:fe})),o.createElement("span",{className:"".concat(z,"-inner")}))});at.Z=F},96478:function(On,at,h){"use strict";h.d(at,{Z:function(){return Ee}});var c=h(60499),ie=h(18642),O=h(72190),le=h(42244),j=h(68196),v=h(92310),re=h.n(v),ee=h(8654),o=h(59301),C=h(10228),F=h(16089),x=C.Z.ESC,A=C.Z.TAB;function L(pe){var Be=pe.visible,je=pe.triggerRef,Le=pe.onVisibleChange,it=pe.autoFocus,ce=pe.overlayRef,Y=o.useRef(!1),N=function(){if(Be){var _,I;(_=je.current)===null||_===void 0||(I=_.focus)===null||I===void 0||I.call(_),Le==null||Le(!1)}},ve=function(){var _;return(_=ce.current)!==null&&_!==void 0&&_.focus?(ce.current.focus(),Y.current=!0,!0):!1},ue=function(_){switch(_.keyCode){case x:N();break;case A:{var I=!1;Y.current||(I=ve()),I?_.preventDefault():N();break}}};o.useEffect(function(){return Be?(window.addEventListener("keydown",ue),it&&(0,F.Z)(ve,3),function(){window.removeEventListener("keydown",ue),Y.current=!1}):function(){Y.current=!1}},[Be])}var z=(0,o.forwardRef)(function(pe,Be){var je=pe.overlay,Le=pe.arrow,it=pe.prefixCls,ce=(0,o.useMemo)(function(){var N;return typeof je=="function"?N=je():N=je,N},[je]),Y=(0,ee.sQ)(Be,(0,ee.C4)(ce));return o.createElement(o.Fragment,null,Le&&o.createElement("div",{className:"".concat(it,"-arrow")}),o.cloneElement(ce,{ref:(0,ee.Yr)(ce)?Y:void 0}))}),G=z,Z={adjustX:1,adjustY:1},W=[0,0],P={topLeft:{points:["bl","tl"],overflow:Z,offset:[0,-4],targetOffset:W},top:{points:["bc","tc"],overflow:Z,offset:[0,-4],targetOffset:W},topRight:{points:["br","tr"],overflow:Z,offset:[0,-4],targetOffset:W},bottomLeft:{points:["tl","bl"],overflow:Z,offset:[0,4],targetOffset:W},bottom:{points:["tc","bc"],overflow:Z,offset:[0,4],targetOffset:W},bottomRight:{points:["tr","br"],overflow:Z,offset:[0,4],targetOffset:W}},K=P,g=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function T(pe,Be){var je,Le=pe.arrow,it=Le===void 0?!1:Le,ce=pe.prefixCls,Y=ce===void 0?"rc-dropdown":ce,N=pe.transitionName,ve=pe.animation,ue=pe.align,we=pe.placement,_=we===void 0?"bottomLeft":we,I=pe.placements,he=I===void 0?K:I,Ne=pe.getPopupContainer,Qe=pe.showAction,Et=pe.hideAction,He=pe.overlayClassName,Oe=pe.overlayStyle,lt=pe.visible,St=pe.trigger,ze=St===void 0?["hover"]:St,At=pe.autoFocus,ke=pe.overlay,Ht=pe.children,dt=pe.onVisibleChange,ct=(0,le.Z)(pe,g),Xe=o.useState(),Re=(0,O.Z)(Xe,2),oe=Re[0],qe=Re[1],Me="visible"in pe?lt:oe,U=o.useRef(null),M=o.useRef(null),ye=o.useRef(null);o.useImperativeHandle(Be,function(){return U.current});var Te=function(xt){qe(xt),dt==null||dt(xt)};L({visible:Me,triggerRef:ye,onVisibleChange:Te,autoFocus:At,overlayRef:M});var xe=function(xt){var gt=pe.onOverlayClick;qe(!1),gt&>(xt)},ae=function(){return o.createElement(G,{ref:M,overlay:ke,prefixCls:Y,arrow:it})},Fe=function(){return typeof ke=="function"?ae:ae()},nt=function(){var xt=pe.minOverlayWidthMatchTrigger,gt=pe.alignPoint;return"minOverlayWidthMatchTrigger"in pe?xt:!gt},se=function(){var xt=pe.openClassName;return xt!==void 0?xt:"".concat(Y,"-open")},me=o.cloneElement(Ht,{className:re()((je=Ht.props)===null||je===void 0?void 0:je.className,Me&&se()),ref:(0,ee.Yr)(Ht)?(0,ee.sQ)(ye,(0,ee.C4)(Ht)):void 0}),vt=Et;return!vt&&ze.indexOf("contextMenu")!==-1&&(vt=["click"]),o.createElement(j.Z,(0,c.Z)({builtinPlacements:he},ct,{prefixCls:Y,ref:U,popupClassName:re()(He,(0,ie.Z)({},"".concat(Y,"-show-arrow"),it)),popupStyle:Oe,action:ze,showAction:Qe,hideAction:vt,popupPlacement:_,popupAlign:ue,popupTransitionName:N,popupAnimation:ve,popupVisible:Me,stretch:nt()?"minWidth":"",popup:Fe(),onPopupVisibleChange:Te,onPopupClick:xe,getPopupContainer:Ne}),me)}var fe=o.forwardRef(T),Ee=fe},66003:function(On,at,h){"use strict";h.d(at,{Z:function(){return re}});var c=h(42244),ie=h(85899),O=h(43749),le=h(59301),j=["show"];function v(ee,o){if(!o.max)return!0;var C=o.strategy(ee);return C<=o.max}function re(ee,o){return le.useMemo(function(){var C={};o&&(C.show=(0,O.Z)(o)==="object"&&o.formatter?o.formatter:!!o),C=(0,ie.Z)((0,ie.Z)({},C),ee);var F=C,x=F.show,A=(0,c.Z)(F,j);return(0,ie.Z)((0,ie.Z)({},A),{},{show:!!x,showFormatter:typeof x=="function"?x:void 0,strategy:A.strategy||function(L){return L.length}})},[ee,o])}},36901:function(On,at,h){"use strict";h.r(at),h.d(at,{BaseInput:function(){return C},default:function(){return K}});var c=h(85899),ie=h(60499),O=h(18642),le=h(43749),j=h(92310),v=h.n(j),re=h(59301),ee=h(30292),o=re.forwardRef(function(g,T){var fe,Ee,pe,Be=g.inputElement,je=g.children,Le=g.prefixCls,it=g.prefix,ce=g.suffix,Y=g.addonBefore,N=g.addonAfter,ve=g.className,ue=g.style,we=g.disabled,_=g.readOnly,I=g.focused,he=g.triggerFocus,Ne=g.allowClear,Qe=g.value,Et=g.handleReset,He=g.hidden,Oe=g.classes,lt=g.classNames,St=g.dataAttrs,ze=g.styles,At=g.components,ke=g.onClear,Ht=je!=null?je:Be,dt=(At==null?void 0:At.affixWrapper)||"span",ct=(At==null?void 0:At.groupWrapper)||"span",Xe=(At==null?void 0:At.wrapper)||"span",Re=(At==null?void 0:At.groupAddon)||"span",oe=(0,re.useRef)(null),qe=function(Pt){var _t;(_t=oe.current)!==null&&_t!==void 0&&_t.contains(Pt.target)&&(he==null||he())},Me=(0,ee.X3)(g),U=(0,re.cloneElement)(Ht,{value:Qe,className:v()((fe=Ht.props)===null||fe===void 0?void 0:fe.className,!Me&&(lt==null?void 0:lt.variant))||null}),M=(0,re.useRef)(null);if(re.useImperativeHandle(T,function(){return{nativeElement:M.current||oe.current}}),Me){var ye=null;if(Ne){var Te=!we&&!_&&Qe,xe="".concat(Le,"-clear-icon"),ae=(0,le.Z)(Ne)==="object"&&Ne!==null&&Ne!==void 0&&Ne.clearIcon?Ne.clearIcon:"\u2716";ye=re.createElement("button",{type:"button",tabIndex:-1,onClick:function(Pt){Et==null||Et(Pt),ke==null||ke()},onMouseDown:function(Pt){return Pt.preventDefault()},className:v()(xe,(0,O.Z)((0,O.Z)({},"".concat(xe,"-hidden"),!Te),"".concat(xe,"-has-suffix"),!!ce))},ae)}var Fe="".concat(Le,"-affix-wrapper"),nt=v()(Fe,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(Le,"-disabled"),we),"".concat(Fe,"-disabled"),we),"".concat(Fe,"-focused"),I),"".concat(Fe,"-readonly"),_),"".concat(Fe,"-input-with-clear-btn"),ce&&Ne&&Qe),Oe==null?void 0:Oe.affixWrapper,lt==null?void 0:lt.affixWrapper,lt==null?void 0:lt.variant),se=(ce||Ne)&&re.createElement("span",{className:v()("".concat(Le,"-suffix"),lt==null?void 0:lt.suffix),style:ze==null?void 0:ze.suffix},ye,ce);U=re.createElement(dt,(0,ie.Z)({className:nt,style:ze==null?void 0:ze.affixWrapper,onClick:qe},St==null?void 0:St.affixWrapper,{ref:oe}),it&&re.createElement("span",{className:v()("".concat(Le,"-prefix"),lt==null?void 0:lt.prefix),style:ze==null?void 0:ze.prefix},it),U,se)}if((0,ee.He)(g)){var me="".concat(Le,"-group"),vt="".concat(me,"-addon"),ft="".concat(me,"-wrapper"),xt=v()("".concat(Le,"-wrapper"),me,Oe==null?void 0:Oe.wrapper,lt==null?void 0:lt.wrapper),gt=v()(ft,(0,O.Z)({},"".concat(ft,"-disabled"),we),Oe==null?void 0:Oe.group,lt==null?void 0:lt.groupWrapper);U=re.createElement(ct,{className:gt,ref:M},re.createElement(Xe,{className:xt},Y&&re.createElement(Re,{className:vt},Y),U,N&&re.createElement(Re,{className:vt},N)))}return re.cloneElement(U,{className:v()((Ee=U.props)===null||Ee===void 0?void 0:Ee.className,ve)||null,style:(0,c.Z)((0,c.Z)({},(pe=U.props)===null||pe===void 0?void 0:pe.style),ue),hidden:He})}),C=o,F=h(77654),x=h(72190),A=h(42244),L=h(18929),z=h(2738),G=h(66003),Z=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],W=(0,re.forwardRef)(function(g,T){var fe=g.autoComplete,Ee=g.onChange,pe=g.onFocus,Be=g.onBlur,je=g.onPressEnter,Le=g.onKeyDown,it=g.onKeyUp,ce=g.prefixCls,Y=ce===void 0?"rc-input":ce,N=g.disabled,ve=g.htmlSize,ue=g.className,we=g.maxLength,_=g.suffix,I=g.showCount,he=g.count,Ne=g.type,Qe=Ne===void 0?"text":Ne,Et=g.classes,He=g.classNames,Oe=g.styles,lt=g.onCompositionStart,St=g.onCompositionEnd,ze=(0,A.Z)(g,Z),At=(0,re.useState)(!1),ke=(0,x.Z)(At,2),Ht=ke[0],dt=ke[1],ct=(0,re.useRef)(!1),Xe=(0,re.useRef)(!1),Re=(0,re.useRef)(null),oe=(0,re.useRef)(null),qe=function(jt){Re.current&&(0,ee.nH)(Re.current,jt)},Me=(0,L.Z)(g.defaultValue,{value:g.value}),U=(0,x.Z)(Me,2),M=U[0],ye=U[1],Te=M==null?"":String(M),xe=(0,re.useState)(null),ae=(0,x.Z)(xe,2),Fe=ae[0],nt=ae[1],se=(0,G.Z)(he,I),me=se.max||we,vt=se.strategy(Te),ft=!!me&&vt>me;(0,re.useImperativeHandle)(T,function(){var q;return{focus:qe,blur:function(){var Ue;(Ue=Re.current)===null||Ue===void 0||Ue.blur()},setSelectionRange:function(Ue,st,ht){var de;(de=Re.current)===null||de===void 0||de.setSelectionRange(Ue,st,ht)},select:function(){var Ue;(Ue=Re.current)===null||Ue===void 0||Ue.select()},input:Re.current,nativeElement:((q=oe.current)===null||q===void 0?void 0:q.nativeElement)||Re.current}}),(0,re.useEffect)(function(){Xe.current&&(Xe.current=!1),dt(function(q){return q&&N?!1:q})},[N]);var xt=function(jt,Ue,st){var ht=Ue;if(!ct.current&&se.exceedFormatter&&se.max&&se.strategy(Ue)>se.max){if(ht=se.exceedFormatter(Ue,{max:se.max}),Ue!==ht){var de,be;nt([((de=Re.current)===null||de===void 0?void 0:de.selectionStart)||0,((be=Re.current)===null||be===void 0?void 0:be.selectionEnd)||0])}}else if(st.source==="compositionEnd")return;ye(ht),Re.current&&(0,ee.rJ)(Re.current,jt,Ee,ht)};(0,re.useEffect)(function(){if(Fe){var q;(q=Re.current)===null||q===void 0||q.setSelectionRange.apply(q,(0,F.Z)(Fe))}},[Fe]);var gt=function(jt){xt(jt,jt.target.value,{source:"change"})},tt=function(jt){ct.current=!1,xt(jt,jt.currentTarget.value,{source:"compositionEnd"}),St==null||St(jt)},Pt=function(jt){je&&jt.key==="Enter"&&!Xe.current&&(Xe.current=!0,je(jt)),Le==null||Le(jt)},_t=function(jt){jt.key==="Enter"&&(Xe.current=!1),it==null||it(jt)},Ae=function(jt){dt(!0),pe==null||pe(jt)},et=function(jt){Xe.current&&(Xe.current=!1),dt(!1),Be==null||Be(jt)},E=function(jt){ye(""),qe(),Re.current&&(0,ee.rJ)(Re.current,jt,Ee)},D=ft&&"".concat(Y,"-out-of-range"),Ve=function(){var jt=(0,z.Z)(g,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return re.createElement("input",(0,ie.Z)({autoComplete:fe},jt,{onChange:gt,onFocus:Ae,onBlur:et,onKeyDown:Pt,onKeyUp:_t,className:v()(Y,(0,O.Z)({},"".concat(Y,"-disabled"),N),He==null?void 0:He.input),style:Oe==null?void 0:Oe.input,ref:Re,size:ve,type:Qe,onCompositionStart:function(st){ct.current=!0,lt==null||lt(st)},onCompositionEnd:tt}))},ne=function(){var jt=Number(me)>0;if(_||se.show){var Ue=se.showFormatter?se.showFormatter({value:Te,count:vt,maxLength:me}):"".concat(vt).concat(jt?" / ".concat(me):"");return re.createElement(re.Fragment,null,se.show&&re.createElement("span",{className:v()("".concat(Y,"-show-count-suffix"),(0,O.Z)({},"".concat(Y,"-show-count-has-suffix"),!!_),He==null?void 0:He.count),style:(0,c.Z)({},Oe==null?void 0:Oe.count)},Ue),_)}return null};return re.createElement(C,(0,ie.Z)({},ze,{prefixCls:Y,className:v()(ue,D),handleReset:E,value:Te,focused:Ht,triggerFocus:qe,suffix:ne(),disabled:N,classes:Et,classNames:He,styles:Oe}),Ve())}),P=W,K=P},30292:function(On,at,h){"use strict";h.d(at,{He:function(){return c},X3:function(){return ie},nH:function(){return j},rJ:function(){return le}});function c(v){return!!(v.addonBefore||v.addonAfter)}function ie(v){return!!(v.prefix||v.suffix||v.allowClear)}function O(v,re,ee){var o=re.cloneNode(!0),C=Object.create(v,{target:{value:o},currentTarget:{value:o}});return o.value=ee,typeof re.selectionStart=="number"&&typeof re.selectionEnd=="number"&&(o.selectionStart=re.selectionStart,o.selectionEnd=re.selectionEnd),o.setSelectionRange=function(){re.setSelectionRange.apply(re,arguments)},C}function le(v,re,ee,o){if(ee){var C=re;if(re.type==="click"){C=O(re,v,""),ee(C);return}if(v.type!=="file"&&o!==void 0){C=O(re,v,o),ee(C);return}ee(C)}}function j(v,re){if(v){v.focus(re);var ee=re||{},o=ee.cursor;if(o){var C=v.value.length;switch(o){case"start":v.setSelectionRange(0,0);break;case"end":v.setSelectionRange(C,C);break;default:v.setSelectionRange(0,C)}}}}},28321:function(On,at,h){"use strict";h.d(at,{iz:function(){return Lt},ck:function(){return ht},BW:function(){return In},sN:function(){return ht},Wd:function(){return nn},ZP:function(){return hr},Xl:function(){return je}});var c=h(60499),ie=h(18642),O=h(85899),le=h(77654),j=h(72190),v=h(42244),re=h(92310),ee=h.n(re),o=h(83836),C=h(18929),F=h(13697),x=h(48736),A=h(59301),L=h(4676),z=A.createContext(null);function G(Dt,kt){return Dt===void 0?null:"".concat(Dt,"-").concat(kt)}function Z(Dt){var kt=A.useContext(z);return G(kt,Dt)}var W=h(80547),P=["children","locked"],K=A.createContext(null);function g(Dt,kt){var pn=(0,O.Z)({},Dt);return Object.keys(kt).forEach(function(an){var cn=kt[an];cn!==void 0&&(pn[an]=cn)}),pn}function T(Dt){var kt=Dt.children,pn=Dt.locked,an=(0,v.Z)(Dt,P),cn=A.useContext(K),_n=(0,W.Z)(function(){return g(cn,an)},[cn,an],function(Mn,nr){return!pn&&(Mn[0]!==nr[0]||!(0,F.Z)(Mn[1],nr[1],!0))});return A.createElement(K.Provider,{value:_n},kt)}var fe=[],Ee=A.createContext(null);function pe(){return A.useContext(Ee)}var Be=A.createContext(fe);function je(Dt){var kt=A.useContext(Be);return A.useMemo(function(){return Dt!==void 0?[].concat((0,le.Z)(kt),[Dt]):kt},[kt,Dt])}var Le=A.createContext(null),it=A.createContext({}),ce=it,Y=h(29194);function N(Dt){var kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Y.Z)(Dt)){var pn=Dt.nodeName.toLowerCase(),an=["input","select","textarea","button"].includes(pn)||Dt.isContentEditable||pn==="a"&&!!Dt.getAttribute("href"),cn=Dt.getAttribute("tabindex"),_n=Number(cn),Mn=null;return cn&&!Number.isNaN(_n)?Mn=_n:an&&Mn===null&&(Mn=0),an&&Dt.disabled&&(Mn=null),Mn!==null&&(Mn>=0||kt&&Mn<0)}return!1}function ve(Dt){var kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pn=(0,le.Z)(Dt.querySelectorAll("*")).filter(function(an){return N(an,kt)});return N(Dt,kt)&&pn.unshift(Dt),pn}var ue=null;function we(){ue=document.activeElement}function _(){ue=null}function I(){if(ue)try{ue.focus()}catch(Dt){}}function he(Dt,kt){if(kt.keyCode===9){var pn=ve(Dt),an=pn[kt.shiftKey?0:pn.length-1],cn=an===document.activeElement||Dt===document.activeElement;if(cn){var _n=pn[kt.shiftKey?pn.length-1:0];_n.focus(),kt.preventDefault()}}}var Ne=h(10228),Qe=h(16089),Et=Ne.Z.LEFT,He=Ne.Z.RIGHT,Oe=Ne.Z.UP,lt=Ne.Z.DOWN,St=Ne.Z.ENTER,ze=Ne.Z.ESC,At=Ne.Z.HOME,ke=Ne.Z.END,Ht=[Oe,lt,Et,He];function dt(Dt,kt,pn,an){var cn,_n="prev",Mn="next",nr="children",_r="parent";if(Dt==="inline"&&an===St)return{inlineTrigger:!0};var Nr=(0,ie.Z)((0,ie.Z)({},Oe,_n),lt,Mn),Ui=(0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)({},Et,pn?Mn:_n),He,pn?_n:Mn),lt,nr),St,nr),Ir=(0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)({},Oe,_n),lt,Mn),St,nr),ze,_r),Et,pn?nr:_r),He,pn?_r:nr),Lr={inline:Nr,horizontal:Ui,vertical:Ir,inlineSub:Nr,horizontalSub:Ir,verticalSub:Ir},xi=(cn=Lr["".concat(Dt).concat(kt?"":"Sub")])===null||cn===void 0?void 0:cn[an];switch(xi){case _n:return{offset:-1,sibling:!0};case Mn:return{offset:1,sibling:!0};case _r:return{offset:-1,sibling:!1};case nr:return{offset:1,sibling:!1};default:return null}}function ct(Dt){for(var kt=Dt;kt;){if(kt.getAttribute("data-menu-list"))return kt;kt=kt.parentElement}return null}function Xe(Dt,kt){for(var pn=Dt||document.activeElement;pn;){if(kt.has(pn))return pn;pn=pn.parentElement}return null}function Re(Dt,kt){var pn=ve(Dt,!0);return pn.filter(function(an){return kt.has(an)})}function oe(Dt,kt,pn){var an=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Dt)return null;var cn=Re(Dt,kt),_n=cn.length,Mn=cn.findIndex(function(nr){return pn===nr});return an<0?Mn===-1?Mn=_n-1:Mn-=1:an>0&&(Mn+=1),Mn=(Mn+_n)%_n,cn[Mn]}var qe=function(kt,pn){var an=new Set,cn=new Map,_n=new Map;return kt.forEach(function(Mn){var nr=document.querySelector("[data-menu-id='".concat(G(pn,Mn),"']"));nr&&(an.add(nr),_n.set(nr,Mn),cn.set(Mn,nr))}),{elements:an,key2element:cn,element2key:_n}};function Me(Dt,kt,pn,an,cn,_n,Mn,nr,_r,Nr){var Ui=A.useRef(),Ir=A.useRef();Ir.current=kt;var Lr=function(){Qe.Z.cancel(Ui.current)};return A.useEffect(function(){return function(){Lr()}},[]),function(xi){var rt=xi.which;if([].concat(Ht,[St,ze,At,ke]).includes(rt)){var Ei=_n(),Br=qe(Ei,an),Fr=Br,Ii=Fr.elements,Bi=Fr.key2element,gi=Fr.element2key,yi=Bi.get(kt),Mr=Xe(yi,Ii),$r=gi.get(Mr),Ea=dt(Dt,Mn($r,!0).length===1,pn,rt);if(!Ea&&rt!==At&&rt!==ke)return;(Ht.includes(rt)||[At,ke].includes(rt))&&xi.preventDefault();var on=function(Un){if(Un){var en=Un,hn=Un.querySelector("a");hn!=null&&hn.getAttribute("href")&&(en=hn);var $t=gi.get(Un);nr($t),Lr(),Ui.current=(0,Qe.Z)(function(){Ir.current===$t&&en.focus()})}};if([At,ke].includes(rt)||Ea.sibling||!Mr){var ei;!Mr||Dt==="inline"?ei=cn.current:ei=ct(Mr);var Li,Ft=Re(ei,Ii);rt===At?Li=Ft[0]:rt===ke?Li=Ft[Ft.length-1]:Li=oe(ei,Ii,Mr,Ea.offset),on(Li)}else if(Ea.inlineTrigger)_r($r);else if(Ea.offset>0)_r($r,!0),Lr(),Ui.current=(0,Qe.Z)(function(){Br=qe(Ei,an);var sr=Mr.getAttribute("aria-controls"),Un=document.getElementById(sr),en=oe(Un,Br.elements);on(en)},5);else if(Ea.offset<0){var Zt=Mn($r,!0),Gt=Zt[Zt.length-2],Zn=Bi.get(Gt);_r(Gt,!1),on(Zn)}}Nr==null||Nr(xi)}}function U(Dt){Promise.resolve().then(Dt)}var M="__RC_UTIL_PATH_SPLIT__",ye=function(kt){return kt.join(M)},Te=function(kt){return kt.split(M)},xe="rc-menu-more";function ae(){var Dt=A.useState({}),kt=(0,j.Z)(Dt,2),pn=kt[1],an=(0,A.useRef)(new Map),cn=(0,A.useRef)(new Map),_n=A.useState([]),Mn=(0,j.Z)(_n,2),nr=Mn[0],_r=Mn[1],Nr=(0,A.useRef)(0),Ui=(0,A.useRef)(!1),Ir=function(){Ui.current||pn({})},Lr=(0,A.useCallback)(function(Bi,gi){var yi=ye(gi);cn.current.set(yi,Bi),an.current.set(Bi,yi),Nr.current+=1;var Mr=Nr.current;U(function(){Mr===Nr.current&&Ir()})},[]),xi=(0,A.useCallback)(function(Bi,gi){var yi=ye(gi);cn.current.delete(yi),an.current.delete(Bi)},[]),rt=(0,A.useCallback)(function(Bi){_r(Bi)},[]),Ei=(0,A.useCallback)(function(Bi,gi){var yi=an.current.get(Bi)||"",Mr=Te(yi);return gi&&nr.includes(Mr[0])&&Mr.unshift(xe),Mr},[nr]),Br=(0,A.useCallback)(function(Bi,gi){return Bi.filter(function(yi){return yi!==void 0}).some(function(yi){var Mr=Ei(yi,!0);return Mr.includes(gi)})},[Ei]),Fr=function(){var gi=(0,le.Z)(an.current.keys());return nr.length&&gi.push(xe),gi},Ii=(0,A.useCallback)(function(Bi){var gi="".concat(an.current.get(Bi)).concat(M),yi=new Set;return(0,le.Z)(cn.current.keys()).forEach(function(Mr){Mr.startsWith(gi)&&yi.add(cn.current.get(Mr))}),yi},[]);return A.useEffect(function(){return function(){Ui.current=!0}},[]),{registerPath:Lr,unregisterPath:xi,refreshOverflowKeys:rt,isSubPathKey:Br,getKeyPath:Ei,getKeys:Fr,getSubPathKeys:Ii}}function Fe(Dt){var kt=A.useRef(Dt);kt.current=Dt;var pn=A.useCallback(function(){for(var an,cn=arguments.length,_n=new Array(cn),Mn=0;Mn<cn;Mn++)_n[Mn]=arguments[Mn];return(an=kt.current)===null||an===void 0?void 0:an.call.apply(an,[kt].concat(_n))},[]);return Dt?pn:void 0}var nt=Math.random().toFixed(5).toString().slice(2),se=0;function me(Dt){var kt=(0,C.Z)(Dt,{value:Dt}),pn=(0,j.Z)(kt,2),an=pn[0],cn=pn[1];return A.useEffect(function(){se+=1;var _n="".concat(nt,"-").concat(se);cn("rc-menu-uuid-".concat(_n))},[]),an}var vt=h(38705),ft=h(17212),xt=h(39153),gt=h(55401),tt=h(2738),Pt=h(8654);function _t(Dt,kt,pn,an){var cn=A.useContext(K),_n=cn.activeKey,Mn=cn.onActive,nr=cn.onInactive,_r={active:_n===Dt};return kt||(_r.onMouseEnter=function(Nr){pn==null||pn({key:Dt,domEvent:Nr}),Mn(Dt)},_r.onMouseLeave=function(Nr){an==null||an({key:Dt,domEvent:Nr}),nr(Dt)}),_r}function Ae(Dt){var kt=A.useContext(K),pn=kt.mode,an=kt.rtl,cn=kt.inlineIndent;if(pn!=="inline")return null;var _n=Dt;return an?{paddingRight:_n*cn}:{paddingLeft:_n*cn}}function et(Dt){var kt=Dt.icon,pn=Dt.props,an=Dt.children,cn;return kt===null||kt===!1?null:(typeof kt=="function"?cn=A.createElement(kt,(0,O.Z)({},pn)):typeof kt!="boolean"&&(cn=kt),cn||an||null)}var E=["item"];function D(Dt){var kt=Dt.item,pn=(0,v.Z)(Dt,E);return Object.defineProperty(pn,"item",{get:function(){return(0,x.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),kt}}),pn}var Ve=["title","attribute","elementRef"],ne=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],q=["active"],jt=function(Dt){(0,xt.Z)(pn,Dt);var kt=(0,gt.Z)(pn);function pn(){return(0,vt.Z)(this,pn),kt.apply(this,arguments)}return(0,ft.Z)(pn,[{key:"render",value:function(){var cn=this.props,_n=cn.title,Mn=cn.attribute,nr=cn.elementRef,_r=(0,v.Z)(cn,Ve),Nr=(0,tt.Z)(_r,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,x.ZP)(!Mn,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),A.createElement(o.Z.Item,(0,c.Z)({},Mn,{title:typeof _n=="string"?_n:void 0},Nr,{ref:nr}))}}]),pn}(A.Component),Ue=A.forwardRef(function(Dt,kt){var pn=Dt.style,an=Dt.className,cn=Dt.eventKey,_n=Dt.warnKey,Mn=Dt.disabled,nr=Dt.itemIcon,_r=Dt.children,Nr=Dt.role,Ui=Dt.onMouseEnter,Ir=Dt.onMouseLeave,Lr=Dt.onClick,xi=Dt.onKeyDown,rt=Dt.onFocus,Ei=(0,v.Z)(Dt,ne),Br=Z(cn),Fr=A.useContext(K),Ii=Fr.prefixCls,Bi=Fr.onItemClick,gi=Fr.disabled,yi=Fr.overflowDisabled,Mr=Fr.itemIcon,$r=Fr.selectedKeys,Ea=Fr.onActive,on=A.useContext(ce),ei=on._internalRenderMenuItem,Li="".concat(Ii,"-item"),Ft=A.useRef(),Zt=A.useRef(),Gt=gi||Mn,Zn=(0,Pt.x1)(kt,Zt),sr=je(cn),Un=function(Ri){return{key:cn,keyPath:(0,le.Z)(sr).reverse(),item:Ft.current,domEvent:Ri}},en=nr||Mr,hn=_t(cn,Gt,Ui,Ir),$t=hn.active,Nn=(0,v.Z)(hn,q),wr=$r.includes(cn),zr=Ae(sr.length),Xn=function(Ri){if(!Gt){var Sa=Un(Ri);Lr==null||Lr(D(Sa)),Bi(Sa)}},Rr=function(Ri){if(xi==null||xi(Ri),Ri.which===Ne.Z.ENTER){var Sa=Un(Ri);Lr==null||Lr(D(Sa)),Bi(Sa)}},Zr=function(Ri){Ea(cn),rt==null||rt(Ri)},Gi={};Dt.role==="option"&&(Gi["aria-selected"]=wr);var sa=A.createElement(jt,(0,c.Z)({ref:Ft,elementRef:Zn,role:Nr===null?"none":Nr||"menuitem",tabIndex:Mn?null:-1,"data-menu-id":yi&&Br?null:Br},(0,tt.Z)(Ei,["extra"]),Nn,Gi,{component:"li","aria-disabled":Mn,style:(0,O.Z)((0,O.Z)({},zr),pn),className:ee()(Li,(0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(Li,"-active"),$t),"".concat(Li,"-selected"),wr),"".concat(Li,"-disabled"),Gt),an),onClick:Xn,onKeyDown:Rr,onFocus:Zr}),_r,A.createElement(et,{props:(0,O.Z)((0,O.Z)({},Dt),{},{isSelected:wr}),icon:en}));return ei&&(sa=ei(sa,Dt,{selected:wr})),sa});function st(Dt,kt){var pn=Dt.eventKey,an=pe(),cn=je(pn);return A.useEffect(function(){if(an)return an.registerPath(pn,cn),function(){an.unregisterPath(pn,cn)}},[cn]),an?null:A.createElement(Ue,(0,c.Z)({},Dt,{ref:kt}))}var ht=A.forwardRef(st),de=["className","children"],be=function(kt,pn){var an=kt.className,cn=kt.children,_n=(0,v.Z)(kt,de),Mn=A.useContext(K),nr=Mn.prefixCls,_r=Mn.mode,Nr=Mn.rtl;return A.createElement("ul",(0,c.Z)({className:ee()(nr,Nr&&"".concat(nr,"-rtl"),"".concat(nr,"-sub"),"".concat(nr,"-").concat(_r==="inline"?"inline":"vertical"),an),role:"menu"},_n,{"data-menu-list":!0,ref:pn}),cn)},We=A.forwardRef(be);We.displayName="SubMenuList";var Ze=We,Q=h(11592);function Mt(Dt,kt){return(0,Q.Z)(Dt).map(function(pn,an){if(A.isValidElement(pn)){var cn,_n,Mn=pn.key,nr=(cn=(_n=pn.props)===null||_n===void 0?void 0:_n.eventKey)!==null&&cn!==void 0?cn:Mn,_r=nr==null;_r&&(nr="tmp_key-".concat([].concat((0,le.Z)(kt),[an]).join("-")));var Nr={key:nr,eventKey:nr};return A.cloneElement(pn,Nr)}return pn})}var _e=h(68196),bt={adjustX:1,adjustY:1},An={topLeft:{points:["bl","tl"],overflow:bt},topRight:{points:["br","tr"],overflow:bt},bottomLeft:{points:["tl","bl"],overflow:bt},bottomRight:{points:["tr","br"],overflow:bt},leftTop:{points:["tr","tl"],overflow:bt},leftBottom:{points:["br","bl"],overflow:bt},rightTop:{points:["tl","tr"],overflow:bt},rightBottom:{points:["bl","br"],overflow:bt}},xn={topLeft:{points:["bl","tl"],overflow:bt},topRight:{points:["br","tr"],overflow:bt},bottomLeft:{points:["tl","bl"],overflow:bt},bottomRight:{points:["tr","br"],overflow:bt},rightTop:{points:["tr","tl"],overflow:bt},rightBottom:{points:["br","bl"],overflow:bt},leftTop:{points:["tl","tr"],overflow:bt},leftBottom:{points:["bl","br"],overflow:bt}},Er=null;function vr(Dt,kt,pn){if(kt)return kt;if(pn)return pn[Dt]||pn.other}var gr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Hr(Dt){var kt=Dt.prefixCls,pn=Dt.visible,an=Dt.children,cn=Dt.popup,_n=Dt.popupStyle,Mn=Dt.popupClassName,nr=Dt.popupOffset,_r=Dt.disabled,Nr=Dt.mode,Ui=Dt.onVisibleChange,Ir=A.useContext(K),Lr=Ir.getPopupContainer,xi=Ir.rtl,rt=Ir.subMenuOpenDelay,Ei=Ir.subMenuCloseDelay,Br=Ir.builtinPlacements,Fr=Ir.triggerSubMenuAction,Ii=Ir.forceSubMenuRender,Bi=Ir.rootClassName,gi=Ir.motion,yi=Ir.defaultMotions,Mr=A.useState(!1),$r=(0,j.Z)(Mr,2),Ea=$r[0],on=$r[1],ei=xi?(0,O.Z)((0,O.Z)({},xn),Br):(0,O.Z)((0,O.Z)({},An),Br),Li=gr[Nr],Ft=vr(Nr,gi,yi),Zt=A.useRef(Ft);Nr!=="inline"&&(Zt.current=Ft);var Gt=(0,O.Z)((0,O.Z)({},Zt.current),{},{leavedClassName:"".concat(kt,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Zn=A.useRef();return A.useEffect(function(){return Zn.current=(0,Qe.Z)(function(){on(pn)}),function(){Qe.Z.cancel(Zn.current)}},[pn]),A.createElement(_e.Z,{prefixCls:kt,popupClassName:ee()("".concat(kt,"-popup"),(0,ie.Z)({},"".concat(kt,"-rtl"),xi),Mn,Bi),stretch:Nr==="horizontal"?"minWidth":null,getPopupContainer:Lr,builtinPlacements:ei,popupPlacement:Li,popupVisible:Ea,popup:cn,popupStyle:_n,popupAlign:nr&&{offset:nr},action:_r?[]:[Fr],mouseEnterDelay:rt,mouseLeaveDelay:Ei,onPopupVisibleChange:Ui,forceRender:Ii,popupMotion:Gt,fresh:!0},an)}var fi=h(77900);function lr(Dt){var kt=Dt.id,pn=Dt.open,an=Dt.keyPath,cn=Dt.children,_n="inline",Mn=A.useContext(K),nr=Mn.prefixCls,_r=Mn.forceSubMenuRender,Nr=Mn.motion,Ui=Mn.defaultMotions,Ir=Mn.mode,Lr=A.useRef(!1);Lr.current=Ir===_n;var xi=A.useState(!Lr.current),rt=(0,j.Z)(xi,2),Ei=rt[0],Br=rt[1],Fr=Lr.current?pn:!1;A.useEffect(function(){Lr.current&&Br(!1)},[Ir]);var Ii=(0,O.Z)({},vr(_n,Nr,Ui));an.length>1&&(Ii.motionAppear=!1);var Bi=Ii.onVisibleChanged;return Ii.onVisibleChanged=function(gi){return!Lr.current&&!gi&&Br(!0),Bi==null?void 0:Bi(gi)},Ei?null:A.createElement(T,{mode:_n,locked:!Lr.current},A.createElement(fi.default,(0,c.Z)({visible:Fr},Ii,{forceRender:_r,removeOnLeave:!1,leavedClassName:"".concat(nr,"-hidden")}),function(gi){var yi=gi.className,Mr=gi.style;return A.createElement(Ze,{id:kt,className:yi,style:Mr},cn)}))}var ii=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Wn=["active"],Bt=A.forwardRef(function(Dt,kt){var pn=Dt.style,an=Dt.className,cn=Dt.title,_n=Dt.eventKey,Mn=Dt.warnKey,nr=Dt.disabled,_r=Dt.internalPopupClose,Nr=Dt.children,Ui=Dt.itemIcon,Ir=Dt.expandIcon,Lr=Dt.popupClassName,xi=Dt.popupOffset,rt=Dt.popupStyle,Ei=Dt.onClick,Br=Dt.onMouseEnter,Fr=Dt.onMouseLeave,Ii=Dt.onTitleClick,Bi=Dt.onTitleMouseEnter,gi=Dt.onTitleMouseLeave,yi=(0,v.Z)(Dt,ii),Mr=Z(_n),$r=A.useContext(K),Ea=$r.prefixCls,on=$r.mode,ei=$r.openKeys,Li=$r.disabled,Ft=$r.overflowDisabled,Zt=$r.activeKey,Gt=$r.selectedKeys,Zn=$r.itemIcon,sr=$r.expandIcon,Un=$r.onItemClick,en=$r.onOpenChange,hn=$r.onActive,$t=A.useContext(ce),Nn=$t._internalRenderSubMenuItem,wr=A.useContext(Le),zr=wr.isSubPathKey,Xn=je(),Rr="".concat(Ea,"-submenu"),Zr=Li||nr,Gi=A.useRef(),sa=A.useRef(),ya=Ui!=null?Ui:Zn,Ri=Ir!=null?Ir:sr,Sa=ei.includes(_n),zi=!Ft&&Sa,oa=zr(Gt,_n),ji=_t(_n,Zr,Bi,gi),ra=ji.active,Fi=(0,v.Z)(ji,Wn),da=A.useState(!1),Kr=(0,j.Z)(da,2),fa=Kr[0],kr=Kr[1],_a=function(Fa){Zr||kr(Fa)},rr=function(Fa){_a(!0),Br==null||Br({key:_n,domEvent:Fa})},or=function(Fa){_a(!1),Fr==null||Fr({key:_n,domEvent:Fa})},ia=A.useMemo(function(){return ra||(on!=="inline"?fa||zr([Zt],_n):!1)},[on,ra,Zt,fa,_n,zr]),Fn=Ae(Xn.length),ba=function(Fa){Zr||(Ii==null||Ii({key:_n,domEvent:Fa}),on==="inline"&&en(_n,!Sa))},Qr=Fe(function(Ia){Ei==null||Ei(D(Ia)),Un(Ia)}),xa=function(Fa){on!=="inline"&&en(_n,Fa)},Vi=function(){hn(_n)},$i=Mr&&"".concat(Mr,"-popup"),Pn=A.useMemo(function(){return A.createElement(et,{icon:on!=="horizontal"?Ri:void 0,props:(0,O.Z)((0,O.Z)({},Dt),{},{isOpen:zi,isSubMenu:!0})},A.createElement("i",{className:"".concat(Rr,"-arrow")}))},[on,Ri,Dt,zi,Rr]),Tr=A.createElement("div",(0,c.Z)({role:"menuitem",style:Fn,className:"".concat(Rr,"-title"),tabIndex:Zr?null:-1,ref:Gi,title:typeof cn=="string"?cn:null,"data-menu-id":Ft&&Mr?null:Mr,"aria-expanded":zi,"aria-haspopup":!0,"aria-controls":$i,"aria-disabled":Zr,onClick:ba,onFocus:Vi},Fi),cn,Pn),Sn=A.useRef(on);if(on!=="inline"&&Xn.length>1?Sn.current="vertical":Sn.current=on,!Ft){var Aa=Sn.current;Tr=A.createElement(Hr,{mode:Aa,prefixCls:Rr,visible:!_r&&zi&&on!=="inline",popupClassName:Lr,popupOffset:xi,popupStyle:rt,popup:A.createElement(T,{mode:Aa==="horizontal"?"vertical":Aa},A.createElement(Ze,{id:$i,ref:sa},Nr)),disabled:Zr,onVisibleChange:xa},Tr)}var Wi=A.createElement(o.Z.Item,(0,c.Z)({ref:kt,role:"none"},yi,{component:"li",style:pn,className:ee()(Rr,"".concat(Rr,"-").concat(on),an,(0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(Rr,"-open"),zi),"".concat(Rr,"-active"),ia),"".concat(Rr,"-selected"),oa),"".concat(Rr,"-disabled"),Zr)),onMouseEnter:rr,onMouseLeave:or}),Tr,!Ft&&A.createElement(lr,{id:$i,open:zi,keyPath:Xn},Nr));return Nn&&(Wi=Nn(Wi,Dt,{selected:oa,active:ia,open:zi,disabled:Zr})),A.createElement(T,{onItemClick:Qr,mode:on==="horizontal"?"vertical":on,itemIcon:ya,expandIcon:Ri},Wi)}),En=A.forwardRef(function(Dt,kt){var pn=Dt.eventKey,an=Dt.children,cn=je(pn),_n=Mt(an,cn),Mn=pe();A.useEffect(function(){if(Mn)return Mn.registerPath(pn,cn),function(){Mn.unregisterPath(pn,cn)}},[cn]);var nr;return Mn?nr=_n:nr=A.createElement(Bt,(0,c.Z)({ref:kt},Dt),_n),A.createElement(Be.Provider,{value:cn},nr)}),nn=En,Yr=h(43749);function Lt(Dt){var kt=Dt.className,pn=Dt.style,an=A.useContext(K),cn=an.prefixCls,_n=pe();return _n?null:A.createElement("li",{role:"separator",className:ee()("".concat(cn,"-item-divider"),kt),style:pn})}var It=["className","title","eventKey","children"],kn=A.forwardRef(function(Dt,kt){var pn=Dt.className,an=Dt.title,cn=Dt.eventKey,_n=Dt.children,Mn=(0,v.Z)(Dt,It),nr=A.useContext(K),_r=nr.prefixCls,Nr="".concat(_r,"-item-group");return A.createElement("li",(0,c.Z)({ref:kt,role:"presentation"},Mn,{onClick:function(Ir){return Ir.stopPropagation()},className:ee()(Nr,pn)}),A.createElement("div",{role:"presentation",className:"".concat(Nr,"-title"),title:typeof an=="string"?an:void 0},an),A.createElement("ul",{role:"group",className:"".concat(Nr,"-list")},_n))}),vn=A.forwardRef(function(Dt,kt){var pn=Dt.eventKey,an=Dt.children,cn=je(pn),_n=Mt(an,cn),Mn=pe();return Mn?_n:A.createElement(kn,(0,c.Z)({ref:kt},(0,tt.Z)(Dt,["warnKey"])),_n)}),In=vn,jn=["label","children","key","type","extra"];function Dn(Dt,kt,pn){var an=kt.item,cn=kt.group,_n=kt.submenu,Mn=kt.divider;return(Dt||[]).map(function(nr,_r){if(nr&&(0,Yr.Z)(nr)==="object"){var Nr=nr,Ui=Nr.label,Ir=Nr.children,Lr=Nr.key,xi=Nr.type,rt=Nr.extra,Ei=(0,v.Z)(Nr,jn),Br=Lr!=null?Lr:"tmp-".concat(_r);return Ir||xi==="group"?xi==="group"?A.createElement(cn,(0,c.Z)({key:Br},Ei,{title:Ui}),Dn(Ir,kt,pn)):A.createElement(_n,(0,c.Z)({key:Br},Ei,{title:Ui}),Dn(Ir,kt,pn)):xi==="divider"?A.createElement(Mn,(0,c.Z)({key:Br},Ei)):A.createElement(an,(0,c.Z)({key:Br},Ei,{extra:rt}),Ui,(!!rt||rt===0)&&A.createElement("span",{className:"".concat(pn,"-item-extra")},rt))}return null}).filter(function(nr){return nr})}function $n(Dt,kt,pn,an,cn){var _n=Dt,Mn=(0,O.Z)({divider:Lt,item:ht,group:In,submenu:nn},an);return kt&&(_n=Dn(kt,Mn,cn)),Mt(_n,pn)}var br=["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","_internalComponents"],cr=[],Tn=A.forwardRef(function(Dt,kt){var pn,an=Dt,cn=an.prefixCls,_n=cn===void 0?"rc-menu":cn,Mn=an.rootClassName,nr=an.style,_r=an.className,Nr=an.tabIndex,Ui=Nr===void 0?0:Nr,Ir=an.items,Lr=an.children,xi=an.direction,rt=an.id,Ei=an.mode,Br=Ei===void 0?"vertical":Ei,Fr=an.inlineCollapsed,Ii=an.disabled,Bi=an.disabledOverflow,gi=an.subMenuOpenDelay,yi=gi===void 0?.1:gi,Mr=an.subMenuCloseDelay,$r=Mr===void 0?.1:Mr,Ea=an.forceSubMenuRender,on=an.defaultOpenKeys,ei=an.openKeys,Li=an.activeKey,Ft=an.defaultActiveFirst,Zt=an.selectable,Gt=Zt===void 0?!0:Zt,Zn=an.multiple,sr=Zn===void 0?!1:Zn,Un=an.defaultSelectedKeys,en=an.selectedKeys,hn=an.onSelect,$t=an.onDeselect,Nn=an.inlineIndent,wr=Nn===void 0?24:Nn,zr=an.motion,Xn=an.defaultMotions,Rr=an.triggerSubMenuAction,Zr=Rr===void 0?"hover":Rr,Gi=an.builtinPlacements,sa=an.itemIcon,ya=an.expandIcon,Ri=an.overflowedIndicator,Sa=Ri===void 0?"...":Ri,zi=an.overflowedIndicatorPopupClassName,oa=an.getPopupContainer,ji=an.onClick,ra=an.onOpenChange,Fi=an.onKeyDown,da=an.openAnimation,Kr=an.openTransitionName,fa=an._internalRenderMenuItem,kr=an._internalRenderSubMenuItem,_a=an._internalComponents,rr=(0,v.Z)(an,br),or=A.useMemo(function(){return[$n(Lr,Ir,cr,_a,_n),$n(Lr,Ir,cr,{},_n)]},[Lr,Ir,_a]),ia=(0,j.Z)(or,2),Fn=ia[0],ba=ia[1],Qr=A.useState(!1),xa=(0,j.Z)(Qr,2),Vi=xa[0],$i=xa[1],Pn=A.useRef(),Tr=me(rt),Sn=xi==="rtl",Aa=(0,C.Z)(on,{value:ei,postState:function(Ua){return Ua||cr}}),Wi=(0,j.Z)(Aa,2),Ia=Wi[0],Fa=Wi[1],Xr=function(Ua){var Za=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function As(){Fa(Ua),ra==null||ra(Ua)}Za?(0,L.flushSync)(As):As()},ki=A.useState(Ia),Ur=(0,j.Z)(ki,2),un=Ur[0],bi=Ur[1],ir=A.useRef(!1),Oi=A.useMemo(function(){return(Br==="inline"||Br==="vertical")&&Fr?["vertical",Fr]:[Br,!1]},[Br,Fr]),wn=(0,j.Z)(Oi,2),Cr=wn[0],Jr=wn[1],hi=Cr==="inline",Qi=A.useState(Cr),ss=(0,j.Z)(Qi,2),ar=ss[0],jr=ss[1],Ta=A.useState(Jr),xs=(0,j.Z)(Ta,2),mo=xs[0],xo=xs[1];A.useEffect(function(){jr(Cr),xo(Jr),ir.current&&(hi?Fa(un):Xr(cr))},[Cr,Jr]);var fs=A.useState(0),Os=(0,j.Z)(fs,2),Ds=Os[0],Eo=Os[1],js=Ds>=Fn.length-1||ar!=="horizontal"||Bi;A.useEffect(function(){hi&&bi(Ia)},[Ia]),A.useEffect(function(){return ir.current=!0,function(){ir.current=!1}},[]);var Ns=ae(),qs=Ns.registerPath,_o=Ns.unregisterPath,So=Ns.refreshOverflowKeys,ws=Ns.isSubPathKey,co=Ns.getKeyPath,Ps=Ns.getKeys,wo=Ns.getSubPathKeys,po=A.useMemo(function(){return{registerPath:qs,unregisterPath:_o}},[qs,_o]),Co=A.useMemo(function(){return{isSubPathKey:ws}},[ws]);A.useEffect(function(){So(js?cr:Fn.slice(Ds+1).map(function(Na){return Na.key}))},[Ds,js]);var Ao=(0,C.Z)(Li||Ft&&((pn=Fn[0])===null||pn===void 0?void 0:pn.key),{value:Li}),$s=(0,j.Z)(Ao,2),Is=$s[0],Ra=$s[1],na=Fe(function(Na){Ra(Na)}),hs=Fe(function(){Ra(void 0)});(0,A.useImperativeHandle)(kt,function(){return{list:Pn.current,focus:function(Ua){var Za,As=Ps(),ls=qe(As,Tr),to=ls.elements,fo=ls.key2element,no=ls.element2key,To=Re(Pn.current,to),oo=Is!=null?Is:To[0]?no.get(To[0]):(Za=Fn.find(function(vo){return!vo.props.disabled}))===null||Za===void 0?void 0:Za.key,Ws=fo.get(oo);if(oo&&Ws){var Po;Ws==null||(Po=Ws.focus)===null||Po===void 0||Po.call(Ws,Ua)}}}});var Cs=(0,C.Z)(Un||[],{value:en,postState:function(Ua){return Array.isArray(Ua)?Ua:Ua==null?cr:[Ua]}}),za=(0,j.Z)(Cs,2),cs=za[0],Ls=za[1],Es=function(Ua){if(Gt){var Za=Ua.key,As=cs.includes(Za),ls;sr?As?ls=cs.filter(function(fo){return fo!==Za}):ls=[].concat((0,le.Z)(cs),[Za]):ls=[Za],Ls(ls);var to=(0,O.Z)((0,O.Z)({},Ua),{},{selectedKeys:ls});As?$t==null||$t(to):hn==null||hn(to)}!sr&&Ia.length&&ar!=="inline"&&Xr(cr)},Zs=Fe(function(Na){ji==null||ji(D(Na)),Es(Na)}),Wr=Fe(function(Na,Ua){var Za=Ia.filter(function(ls){return ls!==Na});if(Ua)Za.push(Na);else if(ar!=="inline"){var As=wo(Na);Za=Za.filter(function(ls){return!As.has(ls)})}(0,F.Z)(Ia,Za,!0)||Xr(Za,!0)}),Qs=function(Ua,Za){var As=Za!=null?Za:!Ia.includes(Ua);Wr(Ua,As)},fr=Me(ar,Is,Sn,Tr,Pn,Ps,co,Ra,Qs,Fi);A.useEffect(function(){$i(!0)},[]);var eo=A.useMemo(function(){return{_internalRenderMenuItem:fa,_internalRenderSubMenuItem:kr}},[fa,kr]),Us=ar!=="horizontal"||Bi?Fn:Fn.map(function(Na,Ua){return A.createElement(T,{key:Na.key,overflowDisabled:Ua>Ds},Na)}),Do=A.createElement(o.Z,(0,c.Z)({id:rt,ref:Pn,prefixCls:"".concat(_n,"-overflow"),component:"ul",itemComponent:ht,className:ee()(_n,"".concat(_n,"-root"),"".concat(_n,"-").concat(ar),_r,(0,ie.Z)((0,ie.Z)({},"".concat(_n,"-inline-collapsed"),mo),"".concat(_n,"-rtl"),Sn),Mn),dir:xi,style:nr,role:"menu",tabIndex:Ui,data:Us,renderRawItem:function(Ua){return Ua},renderRawRest:function(Ua){var Za=Ua.length,As=Za?Fn.slice(-Za):null;return A.createElement(nn,{eventKey:xe,title:Sa,disabled:js,internalPopupClose:Za===0,popupClassName:zi},As)},maxCount:ar!=="horizontal"||Bi?o.Z.INVALIDATE:o.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ua){Eo(Ua)},onKeyDown:fr},rr));return A.createElement(ce.Provider,{value:eo},A.createElement(z.Provider,{value:Tr},A.createElement(T,{prefixCls:_n,rootClassName:Mn,mode:ar,openKeys:Ia,rtl:Sn,disabled:Ii,motion:Vi?zr:null,defaultMotions:Vi?Xn:null,activeKey:Is,onActive:na,onInactive:hs,selectedKeys:cs,inlineIndent:wr,subMenuOpenDelay:yi,subMenuCloseDelay:$r,forceSubMenuRender:Ea,builtinPlacements:Gi,triggerSubMenuAction:Zr,getPopupContainer:oa,itemIcon:sa,expandIcon:ya,onItemClick:Zs,onOpenChange:Wr},A.createElement(Le.Provider,{value:Co},Do),A.createElement("div",{style:{display:"none"},"aria-hidden":!0},A.createElement(Ee.Provider,{value:po},ba)))))}),dr=Tn,Pr=dr;Pr.Item=ht,Pr.SubMenu=nn,Pr.ItemGroup=In,Pr.Divider=Lt;var hr=Pr},83836:function(On,at,h){"use strict";h.d(at,{Z:function(){return we}});var c=h(60499),ie=h(85899),O=h(72190),le=h(42244),j=h(59301),v=h(92310),re=h.n(v),ee=h(29301),o=h(34280),C=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],F=void 0;function x(_,I){var he=_.prefixCls,Ne=_.invalidate,Qe=_.item,Et=_.renderItem,He=_.responsive,Oe=_.responsiveDisabled,lt=_.registerSize,St=_.itemKey,ze=_.className,At=_.style,ke=_.children,Ht=_.display,dt=_.order,ct=_.component,Xe=ct===void 0?"div":ct,Re=(0,le.Z)(_,C),oe=He&&!Ht;function qe(Te){lt(St,Te)}j.useEffect(function(){return function(){qe(null)}},[]);var Me=Et&&Qe!==F?Et(Qe,{index:dt}):ke,U;Ne||(U={opacity:oe?0:1,height:oe?0:F,overflowY:oe?"hidden":F,order:He?dt:F,pointerEvents:oe?"none":F,position:oe?"absolute":F});var M={};oe&&(M["aria-hidden"]=!0);var ye=j.createElement(Xe,(0,c.Z)({className:re()(!Ne&&he,ze),style:(0,ie.Z)((0,ie.Z)({},U),At)},M,Re,{ref:I}),Me);return He&&(ye=j.createElement(ee.Z,{onResize:function(xe){var ae=xe.offsetWidth;qe(ae)},disabled:Oe},ye)),ye}var A=j.forwardRef(x);A.displayName="Item";var L=A,z=h(6089),G=h(4676),Z=h(16089);function W(_){if(typeof MessageChannel=="undefined")(0,Z.Z)(_);else{var I=new MessageChannel;I.port1.onmessage=function(){return _()},I.port2.postMessage(void 0)}}function P(){var _=j.useRef(null),I=function(Ne){_.current||(_.current=[],W(function(){(0,G.unstable_batchedUpdates)(function(){_.current.forEach(function(Qe){Qe()}),_.current=null})})),_.current.push(Ne)};return I}function K(_,I){var he=j.useState(I),Ne=(0,O.Z)(he,2),Qe=Ne[0],Et=Ne[1],He=(0,z.Z)(function(Oe){_(function(){Et(Oe)})});return[Qe,He]}var g=j.createContext(null),T=["component"],fe=["className"],Ee=["className"],pe=function(I,he){var Ne=j.useContext(g);if(!Ne){var Qe=I.component,Et=Qe===void 0?"div":Qe,He=(0,le.Z)(I,T);return j.createElement(Et,(0,c.Z)({},He,{ref:he}))}var Oe=Ne.className,lt=(0,le.Z)(Ne,fe),St=I.className,ze=(0,le.Z)(I,Ee);return j.createElement(g.Provider,{value:null},j.createElement(L,(0,c.Z)({ref:he,className:re()(Oe,St)},lt,ze)))},Be=j.forwardRef(pe);Be.displayName="RawItem";var je=Be,Le=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],it="responsive",ce="invalidate";function Y(_){return"+ ".concat(_.length," ...")}function N(_,I){var he=_.prefixCls,Ne=he===void 0?"rc-overflow":he,Qe=_.data,Et=Qe===void 0?[]:Qe,He=_.renderItem,Oe=_.renderRawItem,lt=_.itemKey,St=_.itemWidth,ze=St===void 0?10:St,At=_.ssr,ke=_.style,Ht=_.className,dt=_.maxCount,ct=_.renderRest,Xe=_.renderRawRest,Re=_.prefix,oe=_.suffix,qe=_.component,Me=qe===void 0?"div":qe,U=_.itemComponent,M=_.onVisibleChange,ye=(0,le.Z)(_,Le),Te=At==="full",xe=P(),ae=K(xe,null),Fe=(0,O.Z)(ae,2),nt=Fe[0],se=Fe[1],me=nt||0,vt=K(xe,new Map),ft=(0,O.Z)(vt,2),xt=ft[0],gt=ft[1],tt=K(xe,0),Pt=(0,O.Z)(tt,2),_t=Pt[0],Ae=Pt[1],et=K(xe,0),E=(0,O.Z)(et,2),D=E[0],Ve=E[1],ne=K(xe,0),q=(0,O.Z)(ne,2),jt=q[0],Ue=q[1],st=K(xe,0),ht=(0,O.Z)(st,2),de=ht[0],be=ht[1],We=(0,j.useState)(null),Ze=(0,O.Z)(We,2),Q=Ze[0],Mt=Ze[1],_e=(0,j.useState)(null),bt=(0,O.Z)(_e,2),An=bt[0],xn=bt[1],Er=j.useMemo(function(){return An===null&&Te?Number.MAX_SAFE_INTEGER:An||0},[An,nt]),vr=(0,j.useState)(!1),gr=(0,O.Z)(vr,2),Hr=gr[0],fi=gr[1],lr="".concat(Ne,"-item"),ii=Math.max(_t,D),Wn=dt===it,Bt=Et.length&&Wn,En=dt===ce,nn=Bt||typeof dt=="number"&&Et.length>dt,Yr=(0,j.useMemo)(function(){var cn=Et;return Bt?nt===null&&Te?cn=Et:cn=Et.slice(0,Math.min(Et.length,me/ze)):typeof dt=="number"&&(cn=Et.slice(0,dt)),cn},[Et,ze,nt,dt,Bt]),Lt=(0,j.useMemo)(function(){return Bt?Et.slice(Er+1):Et.slice(Yr.length)},[Et,Yr,Bt,Er]),It=(0,j.useCallback)(function(cn,_n){var Mn;return typeof lt=="function"?lt(cn):(Mn=lt&&(cn==null?void 0:cn[lt]))!==null&&Mn!==void 0?Mn:_n},[lt]),kn=(0,j.useCallback)(He||function(cn){return cn},[He]);function vn(cn,_n,Mn){An===cn&&(_n===void 0||_n===Q)||(xn(cn),Mn||(fi(cn<Et.length-1),M==null||M(cn)),_n!==void 0&&Mt(_n))}function In(cn,_n){se(_n.clientWidth)}function jn(cn,_n){gt(function(Mn){var nr=new Map(Mn);return _n===null?nr.delete(cn):nr.set(cn,_n),nr})}function Dn(cn,_n){Ve(_n),Ae(D)}function $n(cn,_n){Ue(_n)}function br(cn,_n){be(_n)}function cr(cn){return xt.get(It(Yr[cn],cn))}(0,o.Z)(function(){if(me&&typeof ii=="number"&&Yr){var cn=jt+de,_n=Yr.length,Mn=_n-1;if(!_n){vn(0,null);return}for(var nr=0;nr<_n;nr+=1){var _r=cr(nr);if(Te&&(_r=_r||0),_r===void 0){vn(nr-1,void 0,!0);break}if(cn+=_r,Mn===0&&cn<=me||nr===Mn-1&&cn+cr(Mn)<=me){vn(Mn,null);break}else if(cn+ii>me){vn(nr-1,cn-_r-de+D);break}}oe&&cr(0)+de>me&&Mt(null)}},[me,xt,D,jt,de,It,Yr]);var Tn=Hr&&!!Lt.length,dr={};Q!==null&&Bt&&(dr={position:"absolute",left:Q,top:0});var Pr={prefixCls:lr,responsive:Bt,component:U,invalidate:En},hr=Oe?function(cn,_n){var Mn=It(cn,_n);return j.createElement(g.Provider,{key:Mn,value:(0,ie.Z)((0,ie.Z)({},Pr),{},{order:_n,item:cn,itemKey:Mn,registerSize:jn,display:_n<=Er})},Oe(cn,_n))}:function(cn,_n){var Mn=It(cn,_n);return j.createElement(L,(0,c.Z)({},Pr,{order:_n,key:Mn,item:cn,renderItem:kn,itemKey:Mn,registerSize:jn,display:_n<=Er}))},Dt={order:Tn?Er:Number.MAX_SAFE_INTEGER,className:"".concat(lr,"-rest"),registerSize:Dn,display:Tn},kt=ct||Y,pn=Xe?j.createElement(g.Provider,{value:(0,ie.Z)((0,ie.Z)({},Pr),Dt)},Xe(Lt)):j.createElement(L,(0,c.Z)({},Pr,Dt),typeof kt=="function"?kt(Lt):kt),an=j.createElement(Me,(0,c.Z)({className:re()(!En&&Ne,Ht),style:ke,ref:I},ye),Re&&j.createElement(L,(0,c.Z)({},Pr,{responsive:Wn,responsiveDisabled:!Bt,order:-1,className:"".concat(lr,"-prefix"),registerSize:$n,display:!0}),Re),Yr.map(hr),nn?pn:null,oe&&j.createElement(L,(0,c.Z)({},Pr,{responsive:Wn,responsiveDisabled:!Bt,order:Er,className:"".concat(lr,"-suffix"),registerSize:br,display:!0,style:dr}),oe));return Wn?j.createElement(ee.Z,{onResize:In,disabled:!Bt},an):an}var ve=j.forwardRef(N);ve.displayName="Overflow",ve.Item=je,ve.RESPONSIVE=it,ve.INVALIDATE=ce;var ue=ve,we=ue},29301:function(On,at,h){"use strict";h.d(at,{Z:function(){return ce}});var c=h(60499),ie=h(59301),O=h(11592),le=h(48736),j=h(85899),v=h(43749),re=h(76846),ee=h(8654),o=ie.createContext(null);function C(Y){var N=Y.children,ve=Y.onBatchResize,ue=ie.useRef(0),we=ie.useRef([]),_=ie.useContext(o),I=ie.useCallback(function(he,Ne,Qe){ue.current+=1;var Et=ue.current;we.current.push({size:he,element:Ne,data:Qe}),Promise.resolve().then(function(){Et===ue.current&&(ve==null||ve(we.current),we.current=[])}),_==null||_(he,Ne,Qe)},[ve,_]);return ie.createElement(o.Provider,{value:I},N)}var F=h(76374),x=new Map;function A(Y){Y.forEach(function(N){var ve,ue=N.target;(ve=x.get(ue))===null||ve===void 0||ve.forEach(function(we){return we(ue)})})}var L=new F.Z(A),z=null,G=null;function Z(Y,N){x.has(Y)||(x.set(Y,new Set),L.observe(Y)),x.get(Y).add(N)}function W(Y,N){x.has(Y)&&(x.get(Y).delete(N),x.get(Y).size||(L.unobserve(Y),x.delete(Y)))}var P=h(38705),K=h(17212),g=h(39153),T=h(55401),fe=function(Y){(0,g.Z)(ve,Y);var N=(0,T.Z)(ve);function ve(){return(0,P.Z)(this,ve),N.apply(this,arguments)}return(0,K.Z)(ve,[{key:"render",value:function(){return this.props.children}}]),ve}(ie.Component);function Ee(Y,N){var ve=Y.children,ue=Y.disabled,we=ie.useRef(null),_=ie.useRef(null),I=ie.useContext(o),he=typeof ve=="function",Ne=he?ve(we):ve,Qe=ie.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Et=!he&&ie.isValidElement(Ne)&&(0,ee.Yr)(Ne),He=Et?(0,ee.C4)(Ne):null,Oe=(0,ee.x1)(He,we),lt=function(){var ke;return(0,re.ZP)(we.current)||(we.current&&(0,v.Z)(we.current)==="object"?(0,re.ZP)((ke=we.current)===null||ke===void 0?void 0:ke.nativeElement):null)||(0,re.ZP)(_.current)};ie.useImperativeHandle(N,function(){return lt()});var St=ie.useRef(Y);St.current=Y;var ze=ie.useCallback(function(At){var ke=St.current,Ht=ke.onResize,dt=ke.data,ct=At.getBoundingClientRect(),Xe=ct.width,Re=ct.height,oe=At.offsetWidth,qe=At.offsetHeight,Me=Math.floor(Xe),U=Math.floor(Re);if(Qe.current.width!==Me||Qe.current.height!==U||Qe.current.offsetWidth!==oe||Qe.current.offsetHeight!==qe){var M={width:Me,height:U,offsetWidth:oe,offsetHeight:qe};Qe.current=M;var ye=oe===Math.round(Xe)?Xe:oe,Te=qe===Math.round(Re)?Re:qe,xe=(0,j.Z)((0,j.Z)({},M),{},{offsetWidth:ye,offsetHeight:Te});I==null||I(xe,At,dt),Ht&&Promise.resolve().then(function(){Ht(xe,At)})}},[]);return ie.useEffect(function(){var At=lt();return At&&!ue&&Z(At,ze),function(){return W(At,ze)}},[we.current,ue]),ie.createElement(fe,{ref:_},Et?ie.cloneElement(Ne,{ref:Oe}):Ne)}var pe=ie.forwardRef(Ee),Be=pe,je="rc-observer-key";function Le(Y,N){var ve=Y.children,ue=typeof ve=="function"?[ve]:(0,O.Z)(ve);return ue.map(function(we,_){var I=(we==null?void 0:we.key)||"".concat(je,"-").concat(_);return ie.createElement(Be,(0,c.Z)({},Y,{key:I,ref:_===0?N:void 0}),we)})}var it=ie.forwardRef(Le);it.Collection=C;var ce=it},6551:function(On,at,h){"use strict";h.d(at,{ZP:function(){return re}});var c=h(72190),ie=h(59301),O=h(47273),le=0,j=(0,O.Z)();function v(){var ee;return j?(ee=le,le+=1):ee="TEST_OR_SSR",ee}function re(ee){var o=ie.useState(),C=(0,c.Z)(o,2),F=C[0],x=C[1];return ie.useEffect(function(){x("rc_select_".concat(v()))},[]),ee||F}},37463:function(On,at,h){"use strict";h.d(at,{Ac:function(){return tt},Xo:function(){return _t},Wx:function(){return et},ZP:function(){return Yr},lk:function(){return K}});var c=h(60499),ie=h(77654),O=h(18642),le=h(85899),j=h(72190),v=h(42244),re=h(43749),ee=h(18929),o=h(48736),C=h(59301),F=h(92310),x=h.n(F),A=h(34280),L=h(49658),z=h(8654),G=function(It){var kn=It.className,vn=It.customizeIcon,In=It.customizeIconProps,jn=It.children,Dn=It.onMouseDown,$n=It.onClick,br=typeof vn=="function"?vn(In):vn;return C.createElement("span",{className:kn,onMouseDown:function(Tn){Tn.preventDefault(),Dn==null||Dn(Tn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:$n,"aria-hidden":!0},br!==void 0?br:C.createElement("span",{className:x()(kn.split(/\s+/).map(function(cr){return"".concat(cr,"-icon")}))},jn))},Z=G,W=function(It,kn,vn,In,jn){var Dn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,$n=arguments.length>6?arguments[6]:void 0,br=arguments.length>7?arguments[7]:void 0,cr=C.useMemo(function(){if((0,re.Z)(In)==="object")return In.clearIcon;if(jn)return jn},[In,jn]),Tn=C.useMemo(function(){return!!(!Dn&&In&&(vn.length||$n)&&!(br==="combobox"&&$n===""))},[In,Dn,vn.length,$n,br]);return{allowClear:Tn,clearIcon:C.createElement(Z,{className:"".concat(It,"-clear"),onMouseDown:kn,customizeIcon:cr},"\xD7")}},P=C.createContext(null);function K(){return C.useContext(P)}function g(){var Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,It=C.useState(!1),kn=(0,j.Z)(It,2),vn=kn[0],In=kn[1],jn=C.useRef(null),Dn=function(){window.clearTimeout(jn.current)};C.useEffect(function(){return Dn},[]);var $n=function(cr,Tn){Dn(),jn.current=window.setTimeout(function(){In(cr),Tn&&Tn()},Lt)};return[vn,$n,Dn]}function T(){var Lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,It=C.useRef(null),kn=C.useRef(null);C.useEffect(function(){return function(){window.clearTimeout(kn.current)}},[]);function vn(In){(In||It.current===null)&&(It.current=In),window.clearTimeout(kn.current),kn.current=window.setTimeout(function(){It.current=null},Lt)}return[function(){return It.current},vn]}function fe(Lt,It,kn,vn){var In=C.useRef(null);In.current={open:It,triggerOpen:kn,customizedTrigger:vn},C.useEffect(function(){function jn(Dn){var $n;if(!(($n=In.current)!==null&&$n!==void 0&&$n.customizedTrigger)){var br=Dn.target;br.shadowRoot&&Dn.composed&&(br=Dn.composedPath()[0]||br),In.current.open&&Lt().filter(function(cr){return cr}).every(function(cr){return!cr.contains(br)&&cr!==br})&&In.current.triggerOpen(!1)}}return window.addEventListener("mousedown",jn),function(){return window.removeEventListener("mousedown",jn)}},[])}var Ee=h(10228);function pe(Lt){return Lt&&![Ee.Z.ESC,Ee.Z.SHIFT,Ee.Z.BACKSPACE,Ee.Z.TAB,Ee.Z.WIN_KEY,Ee.Z.ALT,Ee.Z.META,Ee.Z.WIN_KEY_RIGHT,Ee.Z.CTRL,Ee.Z.SEMICOLON,Ee.Z.EQUALS,Ee.Z.CAPS_LOCK,Ee.Z.CONTEXT_MENU,Ee.Z.F1,Ee.Z.F2,Ee.Z.F3,Ee.Z.F4,Ee.Z.F5,Ee.Z.F6,Ee.Z.F7,Ee.Z.F8,Ee.Z.F9,Ee.Z.F10,Ee.Z.F11,Ee.Z.F12].includes(Lt)}var Be=h(26112),je=h(83836);function Le(Lt,It,kn){var vn=(0,le.Z)((0,le.Z)({},Lt),kn?It:{});return Object.keys(It).forEach(function(In){var jn=It[In];typeof jn=="function"&&(vn[In]=function(){for(var Dn,$n=arguments.length,br=new Array($n),cr=0;cr<$n;cr++)br[cr]=arguments[cr];return jn.apply(void 0,br),(Dn=Lt[In])===null||Dn===void 0?void 0:Dn.call.apply(Dn,[Lt].concat(br))})}),vn}var it=Le,ce=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Y=function(It,kn){var vn=It.prefixCls,In=It.id,jn=It.inputElement,Dn=It.autoFocus,$n=It.autoComplete,br=It.editable,cr=It.activeDescendantId,Tn=It.value,dr=It.open,Pr=It.attrs,hr=(0,v.Z)(It,ce),Dt=jn||C.createElement("input",null),kt=Dt,pn=kt.ref,an=kt.props;return(0,o.Kp)(!("maxLength"in Dt.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Dt=C.cloneElement(Dt,(0,le.Z)((0,le.Z)((0,le.Z)({type:"search"},it(hr,an,!0)),{},{id:In,ref:(0,z.sQ)(kn,pn),autoComplete:$n||"off",autoFocus:Dn,className:x()("".concat(vn,"-selection-search-input"),an==null?void 0:an.className),role:"combobox","aria-expanded":dr||!1,"aria-haspopup":"listbox","aria-owns":"".concat(In,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(In,"_list"),"aria-activedescendant":dr?cr:void 0},Pr),{},{value:br?Tn:"",readOnly:!br,unselectable:br?null:"on",style:(0,le.Z)((0,le.Z)({},an.style),{},{opacity:br?null:0})})),Dt},N=C.forwardRef(Y),ve=N;function ue(Lt){return Array.isArray(Lt)?Lt:Lt!==void 0?[Lt]:[]}var we=typeof window!="undefined"&&window.document&&window.document.documentElement,_=we;function I(Lt){return Lt!=null}function he(Lt){return!Lt&&Lt!==0}function Ne(Lt){return["string","number"].includes((0,re.Z)(Lt))}function Qe(Lt){var It=void 0;return Lt&&(Ne(Lt.title)?It=Lt.title.toString():Ne(Lt.label)&&(It=Lt.label.toString())),It}function Et(Lt,It){_?C.useLayoutEffect(Lt,It):C.useEffect(Lt,It)}function He(Lt){var It;return(It=Lt.key)!==null&&It!==void 0?It:Lt.value}var Oe=function(It){It.preventDefault(),It.stopPropagation()},lt=function(It){var kn=It.id,vn=It.prefixCls,In=It.values,jn=It.open,Dn=It.searchValue,$n=It.autoClearSearchValue,br=It.inputRef,cr=It.placeholder,Tn=It.disabled,dr=It.mode,Pr=It.showSearch,hr=It.autoFocus,Dt=It.autoComplete,kt=It.activeDescendantId,pn=It.tabIndex,an=It.removeIcon,cn=It.maxTagCount,_n=It.maxTagTextLength,Mn=It.maxTagPlaceholder,nr=Mn===void 0?function($t){return"+ ".concat($t.length," ...")}:Mn,_r=It.tagRender,Nr=It.onToggleOpen,Ui=It.onRemove,Ir=It.onInputChange,Lr=It.onInputPaste,xi=It.onInputKeyDown,rt=It.onInputMouseDown,Ei=It.onInputCompositionStart,Br=It.onInputCompositionEnd,Fr=It.onInputBlur,Ii=C.useRef(null),Bi=(0,C.useState)(0),gi=(0,j.Z)(Bi,2),yi=gi[0],Mr=gi[1],$r=(0,C.useState)(!1),Ea=(0,j.Z)($r,2),on=Ea[0],ei=Ea[1],Li="".concat(vn,"-selection"),Ft=jn||dr==="multiple"&&$n===!1||dr==="tags"?Dn:"",Zt=dr==="tags"||dr==="multiple"&&$n===!1||Pr&&(jn||on);Et(function(){Mr(Ii.current.scrollWidth)},[Ft]);var Gt=function(Nn,wr,zr,Xn,Rr){return C.createElement("span",{title:Qe(Nn),className:x()("".concat(Li,"-item"),(0,O.Z)({},"".concat(Li,"-item-disabled"),zr))},C.createElement("span",{className:"".concat(Li,"-item-content")},wr),Xn&&C.createElement(Z,{className:"".concat(Li,"-item-remove"),onMouseDown:Oe,onClick:Rr,customizeIcon:an},"\xD7"))},Zn=function(Nn,wr,zr,Xn,Rr,Zr){var Gi=function(ya){Oe(ya),Nr(!jn)};return C.createElement("span",{onMouseDown:Gi},_r({label:wr,value:Nn,disabled:zr,closable:Xn,onClose:Rr,isMaxTag:!!Zr}))},sr=function(Nn){var wr=Nn.disabled,zr=Nn.label,Xn=Nn.value,Rr=!Tn&&!wr,Zr=zr;if(typeof _n=="number"&&(typeof zr=="string"||typeof zr=="number")){var Gi=String(Zr);Gi.length>_n&&(Zr="".concat(Gi.slice(0,_n),"..."))}var sa=function(Ri){Ri&&Ri.stopPropagation(),Ui(Nn)};return typeof _r=="function"?Zn(Xn,Zr,wr,Rr,sa):Gt(Nn,Zr,wr,Rr,sa)},Un=function(Nn){if(!In.length)return null;var wr=typeof nr=="function"?nr(Nn):nr;return typeof _r=="function"?Zn(void 0,wr,!1,!1,void 0,!0):Gt({title:wr},wr,!1)},en=C.createElement("div",{className:"".concat(Li,"-search"),style:{width:yi},onFocus:function(){ei(!0)},onBlur:function(){ei(!1)}},C.createElement(ve,{ref:br,open:jn,prefixCls:vn,id:kn,inputElement:null,disabled:Tn,autoFocus:hr,autoComplete:Dt,editable:Zt,activeDescendantId:kt,value:Ft,onKeyDown:xi,onMouseDown:rt,onChange:Ir,onPaste:Lr,onCompositionStart:Ei,onCompositionEnd:Br,onBlur:Fr,tabIndex:pn,attrs:(0,Be.Z)(It,!0)}),C.createElement("span",{ref:Ii,className:"".concat(Li,"-search-mirror"),"aria-hidden":!0},Ft,"\xA0")),hn=C.createElement(je.Z,{prefixCls:"".concat(Li,"-overflow"),data:In,renderItem:sr,renderRest:Un,suffix:en,itemKey:He,maxCount:cn});return C.createElement("span",{className:"".concat(Li,"-wrap")},hn,!In.length&&!Ft&&C.createElement("span",{className:"".concat(Li,"-placeholder")},cr))},St=lt,ze=function(It){var kn=It.inputElement,vn=It.prefixCls,In=It.id,jn=It.inputRef,Dn=It.disabled,$n=It.autoFocus,br=It.autoComplete,cr=It.activeDescendantId,Tn=It.mode,dr=It.open,Pr=It.values,hr=It.placeholder,Dt=It.tabIndex,kt=It.showSearch,pn=It.searchValue,an=It.activeValue,cn=It.maxLength,_n=It.onInputKeyDown,Mn=It.onInputMouseDown,nr=It.onInputChange,_r=It.onInputPaste,Nr=It.onInputCompositionStart,Ui=It.onInputCompositionEnd,Ir=It.onInputBlur,Lr=It.title,xi=C.useState(!1),rt=(0,j.Z)(xi,2),Ei=rt[0],Br=rt[1],Fr=Tn==="combobox",Ii=Fr||kt,Bi=Pr[0],gi=pn||"";Fr&&an&&!Ei&&(gi=an),C.useEffect(function(){Fr&&Br(!1)},[Fr,an]);var yi=Tn!=="combobox"&&!dr&&!kt?!1:!!gi,Mr=Lr===void 0?Qe(Bi):Lr,$r=C.useMemo(function(){return Bi?null:C.createElement("span",{className:"".concat(vn,"-selection-placeholder"),style:yi?{visibility:"hidden"}:void 0},hr)},[Bi,yi,hr,vn]);return C.createElement("span",{className:"".concat(vn,"-selection-wrap")},C.createElement("span",{className:"".concat(vn,"-selection-search")},C.createElement(ve,{ref:jn,prefixCls:vn,id:In,open:dr,inputElement:kn,disabled:Dn,autoFocus:$n,autoComplete:br,editable:Ii,activeDescendantId:cr,value:gi,onKeyDown:_n,onMouseDown:Mn,onChange:function(on){Br(!0),nr(on)},onPaste:_r,onCompositionStart:Nr,onCompositionEnd:Ui,onBlur:Ir,tabIndex:Dt,attrs:(0,Be.Z)(It,!0),maxLength:Fr?cn:void 0})),!Fr&&Bi?C.createElement("span",{className:"".concat(vn,"-selection-item"),title:Mr,style:yi?{visibility:"hidden"}:void 0},Bi.label):null,$r)},At=ze,ke=function(It,kn){var vn=(0,C.useRef)(null),In=(0,C.useRef)(!1),jn=It.prefixCls,Dn=It.open,$n=It.mode,br=It.showSearch,cr=It.tokenWithEnter,Tn=It.disabled,dr=It.prefix,Pr=It.autoClearSearchValue,hr=It.onSearch,Dt=It.onSearchSubmit,kt=It.onToggleOpen,pn=It.onInputKeyDown,an=It.onInputBlur,cn=It.domRef;C.useImperativeHandle(kn,function(){return{focus:function(Mr){vn.current.focus(Mr)},blur:function(){vn.current.blur()}}});var _n=T(0),Mn=(0,j.Z)(_n,2),nr=Mn[0],_r=Mn[1],Nr=function(Mr){var $r=Mr.which,Ea=vn.current instanceof HTMLTextAreaElement;!Ea&&Dn&&($r===Ee.Z.UP||$r===Ee.Z.DOWN)&&Mr.preventDefault(),pn&&pn(Mr),$r===Ee.Z.ENTER&&$n==="tags"&&!In.current&&!Dn&&(Dt==null||Dt(Mr.target.value)),!(Ea&&!Dn&&~[Ee.Z.UP,Ee.Z.DOWN,Ee.Z.LEFT,Ee.Z.RIGHT].indexOf($r))&&pe($r)&&kt(!0)},Ui=function(){_r(!0)},Ir=(0,C.useRef)(null),Lr=function(Mr){hr(Mr,!0,In.current)!==!1&&kt(!0)},xi=function(){In.current=!0},rt=function(Mr){In.current=!1,$n!=="combobox"&&Lr(Mr.target.value)},Ei=function(Mr){var $r=Mr.target.value;if(cr&&Ir.current&&/[\r\n]/.test(Ir.current)){var Ea=Ir.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");$r=$r.replace(Ea,Ir.current)}Ir.current=null,Lr($r)},Br=function(Mr){var $r=Mr.clipboardData,Ea=$r==null?void 0:$r.getData("text");Ir.current=Ea||""},Fr=function(Mr){var $r=Mr.target;if($r!==vn.current){var Ea=document.body.style.msTouchAction!==void 0;Ea?setTimeout(function(){vn.current.focus()}):vn.current.focus()}},Ii=function(Mr){var $r=nr();Mr.target!==vn.current&&!$r&&!($n==="combobox"&&Tn)&&Mr.preventDefault(),($n!=="combobox"&&(!br||!$r)||!Dn)&&(Dn&&Pr!==!1&&hr("",!0,!1),kt())},Bi={inputRef:vn,onInputKeyDown:Nr,onInputMouseDown:Ui,onInputChange:Ei,onInputPaste:Br,onInputCompositionStart:xi,onInputCompositionEnd:rt,onInputBlur:an},gi=$n==="multiple"||$n==="tags"?C.createElement(St,(0,c.Z)({},It,Bi)):C.createElement(At,(0,c.Z)({},It,Bi));return C.createElement("div",{ref:cn,className:"".concat(jn,"-selector"),onClick:Fr,onMouseDown:Ii},dr&&C.createElement("div",{className:"".concat(jn,"-prefix")},dr),gi)},Ht=C.forwardRef(ke),dt=Ht,ct=h(68196),Xe=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Re=function(It){var kn=It===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:kn,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:kn,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:kn,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:kn,adjustY:1},htmlRegion:"scroll"}}},oe=function(It,kn){var vn=It.prefixCls,In=It.disabled,jn=It.visible,Dn=It.children,$n=It.popupElement,br=It.animation,cr=It.transitionName,Tn=It.dropdownStyle,dr=It.dropdownClassName,Pr=It.direction,hr=Pr===void 0?"ltr":Pr,Dt=It.placement,kt=It.builtinPlacements,pn=It.dropdownMatchSelectWidth,an=It.dropdownRender,cn=It.dropdownAlign,_n=It.getPopupContainer,Mn=It.empty,nr=It.getTriggerDOMNode,_r=It.onPopupVisibleChange,Nr=It.onPopupMouseEnter,Ui=(0,v.Z)(It,Xe),Ir="".concat(vn,"-dropdown"),Lr=$n;an&&(Lr=an($n));var xi=C.useMemo(function(){return kt||Re(pn)},[kt,pn]),rt=br?"".concat(Ir,"-").concat(br):cr,Ei=typeof pn=="number",Br=C.useMemo(function(){return Ei?null:pn===!1?"minWidth":"width"},[pn,Ei]),Fr=Tn;Ei&&(Fr=(0,le.Z)((0,le.Z)({},Fr),{},{width:pn}));var Ii=C.useRef(null);return C.useImperativeHandle(kn,function(){return{getPopupElement:function(){var gi;return(gi=Ii.current)===null||gi===void 0?void 0:gi.popupElement}}}),C.createElement(ct.Z,(0,c.Z)({},Ui,{showAction:_r?["click"]:[],hideAction:_r?["click"]:[],popupPlacement:Dt||(hr==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:xi,prefixCls:Ir,popupTransitionName:rt,popup:C.createElement("div",{onMouseEnter:Nr},Lr),ref:Ii,stretch:Br,popupAlign:cn,popupVisible:jn,getPopupContainer:_n,popupClassName:x()(dr,(0,O.Z)({},"".concat(Ir,"-empty"),Mn)),popupStyle:Fr,getTriggerDOMNode:nr,onPopupVisibleChange:_r}),Dn)},qe=C.forwardRef(oe),Me=qe,U=h(48745);function M(Lt,It){var kn=Lt.key,vn;return"value"in Lt&&(vn=Lt.value),kn!=null?kn:vn!==void 0?vn:"rc-index-key-".concat(It)}function ye(Lt){return typeof Lt!="undefined"&&!Number.isNaN(Lt)}function Te(Lt,It){var kn=Lt||{},vn=kn.label,In=kn.value,jn=kn.options,Dn=kn.groupLabel,$n=vn||(It?"children":"label");return{label:$n,value:In||"value",options:jn||"options",groupLabel:Dn||$n}}function xe(Lt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},kn=It.fieldNames,vn=It.childrenAsData,In=[],jn=Te(kn,!1),Dn=jn.label,$n=jn.value,br=jn.options,cr=jn.groupLabel;function Tn(dr,Pr){Array.isArray(dr)&&dr.forEach(function(hr){if(Pr||!(br in hr)){var Dt=hr[$n];In.push({key:M(hr,In.length),groupOption:Pr,data:hr,label:hr[Dn],value:Dt})}else{var kt=hr[cr];kt===void 0&&vn&&(kt=hr.label),In.push({key:M(hr,In.length),group:!0,data:hr,label:kt}),Tn(hr[br],!0)}})}return Tn(Lt,!1),In}function ae(Lt){var It=(0,le.Z)({},Lt);return"props"in It||Object.defineProperty(It,"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`."),It}}),It}var Fe=function(It,kn,vn){if(!kn||!kn.length)return null;var In=!1,jn=function $n(br,cr){var Tn=(0,U.Z)(cr),dr=Tn[0],Pr=Tn.slice(1);if(!dr)return[br];var hr=br.split(dr);return In=In||hr.length>1,hr.reduce(function(Dt,kt){return[].concat((0,ie.Z)(Dt),(0,ie.Z)($n(kt,Pr)))},[]).filter(Boolean)},Dn=jn(It,kn);return In?typeof vn!="undefined"?Dn.slice(0,vn):Dn:null},nt=C.createContext(null),se=nt;function me(Lt){var It=Lt.visible,kn=Lt.values;if(!It)return null;var vn=50;return C.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(kn.slice(0,vn).map(function(In){var jn=In.label,Dn=In.value;return["number","string"].includes((0,re.Z)(jn))?jn:Dn}).join(", ")),kn.length>vn?", ...":null)}var vt=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],ft=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],xt=function(It){return It==="tags"||It==="multiple"},gt=C.forwardRef(function(Lt,It){var kn,vn=Lt.id,In=Lt.prefixCls,jn=Lt.className,Dn=Lt.showSearch,$n=Lt.tagRender,br=Lt.direction,cr=Lt.omitDomProps,Tn=Lt.displayValues,dr=Lt.onDisplayValuesChange,Pr=Lt.emptyOptions,hr=Lt.notFoundContent,Dt=hr===void 0?"Not Found":hr,kt=Lt.onClear,pn=Lt.mode,an=Lt.disabled,cn=Lt.loading,_n=Lt.getInputElement,Mn=Lt.getRawInputElement,nr=Lt.open,_r=Lt.defaultOpen,Nr=Lt.onDropdownVisibleChange,Ui=Lt.activeValue,Ir=Lt.onActiveValueChange,Lr=Lt.activeDescendantId,xi=Lt.searchValue,rt=Lt.autoClearSearchValue,Ei=Lt.onSearch,Br=Lt.onSearchSplit,Fr=Lt.tokenSeparators,Ii=Lt.allowClear,Bi=Lt.prefix,gi=Lt.suffixIcon,yi=Lt.clearIcon,Mr=Lt.OptionList,$r=Lt.animation,Ea=Lt.transitionName,on=Lt.dropdownStyle,ei=Lt.dropdownClassName,Li=Lt.dropdownMatchSelectWidth,Ft=Lt.dropdownRender,Zt=Lt.dropdownAlign,Gt=Lt.placement,Zn=Lt.builtinPlacements,sr=Lt.getPopupContainer,Un=Lt.showAction,en=Un===void 0?[]:Un,hn=Lt.onFocus,$t=Lt.onBlur,Nn=Lt.onKeyUp,wr=Lt.onKeyDown,zr=Lt.onMouseDown,Xn=(0,v.Z)(Lt,vt),Rr=xt(pn),Zr=(Dn!==void 0?Dn:Rr)||pn==="combobox",Gi=(0,le.Z)({},Xn);ft.forEach(function(Ra){delete Gi[Ra]}),cr==null||cr.forEach(function(Ra){delete Gi[Ra]});var sa=C.useState(!1),ya=(0,j.Z)(sa,2),Ri=ya[0],Sa=ya[1];C.useEffect(function(){Sa((0,L.Z)())},[]);var zi=C.useRef(null),oa=C.useRef(null),ji=C.useRef(null),ra=C.useRef(null),Fi=C.useRef(null),da=C.useRef(!1),Kr=g(),fa=(0,j.Z)(Kr,3),kr=fa[0],_a=fa[1],rr=fa[2];C.useImperativeHandle(It,function(){var Ra,na;return{focus:(Ra=ra.current)===null||Ra===void 0?void 0:Ra.focus,blur:(na=ra.current)===null||na===void 0?void 0:na.blur,scrollTo:function(Cs){var za;return(za=Fi.current)===null||za===void 0?void 0:za.scrollTo(Cs)},nativeElement:zi.current||oa.current}});var or=C.useMemo(function(){var Ra;if(pn!=="combobox")return xi;var na=(Ra=Tn[0])===null||Ra===void 0?void 0:Ra.value;return typeof na=="string"||typeof na=="number"?String(na):""},[xi,pn,Tn]),ia=pn==="combobox"&&typeof _n=="function"&&_n()||null,Fn=typeof Mn=="function"&&Mn(),ba=(0,z.x1)(oa,Fn==null||(kn=Fn.props)===null||kn===void 0?void 0:kn.ref),Qr=C.useState(!1),xa=(0,j.Z)(Qr,2),Vi=xa[0],$i=xa[1];(0,A.Z)(function(){$i(!0)},[]);var Pn=(0,ee.Z)(!1,{defaultValue:_r,value:nr}),Tr=(0,j.Z)(Pn,2),Sn=Tr[0],Aa=Tr[1],Wi=Vi?Sn:!1,Ia=!Dt&⪻(an||Ia&&Wi&&pn==="combobox")&&(Wi=!1);var Fa=Ia?!1:Wi,Xr=C.useCallback(function(Ra){var na=Ra!==void 0?Ra:!Wi;an||(Aa(na),Wi!==na&&(Nr==null||Nr(na)))},[an,Wi,Aa,Nr]),ki=C.useMemo(function(){return(Fr||[]).some(function(Ra){return[`
|
|
`,`\r
|
|
`].includes(Ra)})},[Fr]),Ur=C.useContext(se)||{},un=Ur.maxCount,bi=Ur.rawValues,ir=function(na,hs,Cs){if(!(Rr&&ye(un)&&(bi==null?void 0:bi.size)>=un)){var za=!0,cs=na;Ir==null||Ir(null);var Ls=Fe(na,Fr,ye(un)?un-bi.size:void 0),Es=Cs?null:Ls;return pn!=="combobox"&&Es&&(cs="",Br==null||Br(Es),Xr(!1),za=!1),Ei&&or!==cs&&Ei(cs,{source:hs?"typing":"effect"}),za}},Oi=function(na){!na||!na.trim()||Ei(na,{source:"submit"})};C.useEffect(function(){!Wi&&!Rr&&pn!=="combobox"&&ir("",!1,!1)},[Wi]),C.useEffect(function(){Sn&&an&&Aa(!1),an&&!da.current&&_a(!1)},[an]);var wn=T(),Cr=(0,j.Z)(wn,2),Jr=Cr[0],hi=Cr[1],Qi=C.useRef(!1),ss=function(na){var hs=Jr(),Cs=na.key,za=Cs==="Enter";if(za&&(pn!=="combobox"&&na.preventDefault(),Wi||Xr(!0)),hi(!!or),Cs==="Backspace"&&!hs&&Rr&&!or&&Tn.length){for(var cs=(0,ie.Z)(Tn),Ls=null,Es=cs.length-1;Es>=0;Es-=1){var Zs=cs[Es];if(!Zs.disabled){cs.splice(Es,1),Ls=Zs;break}}Ls&&dr(cs,{type:"remove",values:[Ls]})}for(var Wr=arguments.length,Qs=new Array(Wr>1?Wr-1:0),fr=1;fr<Wr;fr++)Qs[fr-1]=arguments[fr];if(Wi&&(!za||!Qi.current)){var eo;za&&(Qi.current=!0),(eo=Fi.current)===null||eo===void 0||eo.onKeyDown.apply(eo,[na].concat(Qs))}wr==null||wr.apply(void 0,[na].concat(Qs))},ar=function(na){for(var hs=arguments.length,Cs=new Array(hs>1?hs-1:0),za=1;za<hs;za++)Cs[za-1]=arguments[za];if(Wi){var cs;(cs=Fi.current)===null||cs===void 0||cs.onKeyUp.apply(cs,[na].concat(Cs))}na.key==="Enter"&&(Qi.current=!1),Nn==null||Nn.apply(void 0,[na].concat(Cs))},jr=function(na){var hs=Tn.filter(function(Cs){return Cs!==na});dr(hs,{type:"remove",values:[na]})},Ta=function(){Qi.current=!1},xs=C.useRef(!1),mo=function(){_a(!0),an||(hn&&!xs.current&&hn.apply(void 0,arguments),en.includes("focus")&&Xr(!0)),xs.current=!0},xo=function(){da.current=!0,_a(!1,function(){xs.current=!1,da.current=!1,Xr(!1)}),!an&&(or&&(pn==="tags"?Ei(or,{source:"submit"}):pn==="multiple"&&Ei("",{source:"blur"})),$t&&$t.apply(void 0,arguments))},fs=[];C.useEffect(function(){return function(){fs.forEach(function(Ra){return clearTimeout(Ra)}),fs.splice(0,fs.length)}},[]);var Os=function(na){var hs,Cs=na.target,za=(hs=ji.current)===null||hs===void 0?void 0:hs.getPopupElement();if(za&&za.contains(Cs)){var cs=setTimeout(function(){var Wr=fs.indexOf(cs);if(Wr!==-1&&fs.splice(Wr,1),rr(),!Ri&&!za.contains(document.activeElement)){var Qs;(Qs=ra.current)===null||Qs===void 0||Qs.focus()}});fs.push(cs)}for(var Ls=arguments.length,Es=new Array(Ls>1?Ls-1:0),Zs=1;Zs<Ls;Zs++)Es[Zs-1]=arguments[Zs];zr==null||zr.apply(void 0,[na].concat(Es))},Ds=C.useState({}),Eo=(0,j.Z)(Ds,2),js=Eo[1];function Ns(){js({})}var qs;Fn&&(qs=function(na){Xr(na)}),fe(function(){var Ra;return[zi.current,(Ra=ji.current)===null||Ra===void 0?void 0:Ra.getPopupElement()]},Fa,Xr,!!Fn);var _o=C.useMemo(function(){return(0,le.Z)((0,le.Z)({},Lt),{},{notFoundContent:Dt,open:Wi,triggerOpen:Fa,id:vn,showSearch:Zr,multiple:Rr,toggleOpen:Xr})},[Lt,Dt,Fa,Wi,vn,Zr,Rr,Xr]),So=!!gi||cn,ws;So&&(ws=C.createElement(Z,{className:x()("".concat(In,"-arrow"),(0,O.Z)({},"".concat(In,"-arrow-loading"),cn)),customizeIcon:gi,customizeIconProps:{loading:cn,searchValue:or,open:Wi,focused:kr,showSearch:Zr}}));var co=function(){var na;kt==null||kt(),(na=ra.current)===null||na===void 0||na.focus(),dr([],{type:"clear",values:Tn}),ir("",!1,!1)},Ps=W(In,co,Tn,Ii,yi,an,or,pn),wo=Ps.allowClear,po=Ps.clearIcon,Co=C.createElement(Mr,{ref:Fi}),Ao=x()(In,jn,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(In,"-focused"),kr),"".concat(In,"-multiple"),Rr),"".concat(In,"-single"),!Rr),"".concat(In,"-allow-clear"),Ii),"".concat(In,"-show-arrow"),So),"".concat(In,"-disabled"),an),"".concat(In,"-loading"),cn),"".concat(In,"-open"),Wi),"".concat(In,"-customize-input"),ia),"".concat(In,"-show-search"),Zr)),$s=C.createElement(Me,{ref:ji,disabled:an,prefixCls:In,visible:Fa,popupElement:Co,animation:$r,transitionName:Ea,dropdownStyle:on,dropdownClassName:ei,direction:br,dropdownMatchSelectWidth:Li,dropdownRender:Ft,dropdownAlign:Zt,placement:Gt,builtinPlacements:Zn,getPopupContainer:sr,empty:Pr,getTriggerDOMNode:function(na){return oa.current||na},onPopupVisibleChange:qs,onPopupMouseEnter:Ns},Fn?C.cloneElement(Fn,{ref:ba}):C.createElement(dt,(0,c.Z)({},Lt,{domRef:oa,prefixCls:In,inputElement:ia,ref:ra,id:vn,prefix:Bi,showSearch:Zr,autoClearSearchValue:rt,mode:pn,activeDescendantId:Lr,tagRender:$n,values:Tn,open:Wi,onToggleOpen:Xr,activeValue:Ui,searchValue:or,onSearch:ir,onSearchSubmit:Oi,onRemove:jr,tokenWithEnter:ki,onInputBlur:Ta}))),Is;return Fn?Is=$s:Is=C.createElement("div",(0,c.Z)({className:Ao},Gi,{ref:zi,onMouseDown:Os,onKeyDown:ss,onKeyUp:ar,onFocus:mo,onBlur:xo}),C.createElement(me,{visible:kr&&!Wi,values:Tn}),$s,ws,wo&&po),C.createElement(P.Provider,{value:_o},Is)}),tt=gt,Pt=function(){return null};Pt.isSelectOptGroup=!0;var _t=Pt,Ae=function(){return null};Ae.isSelectOption=!0;var et=Ae,E=h(80547),D=h(2738),Ve=h(48911);function ne(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var q=["disabled","title","children","style","className"];function jt(Lt){return typeof Lt=="string"||typeof Lt=="number"}var Ue=function(It,kn){var vn=K(),In=vn.prefixCls,jn=vn.id,Dn=vn.open,$n=vn.multiple,br=vn.mode,cr=vn.searchValue,Tn=vn.toggleOpen,dr=vn.notFoundContent,Pr=vn.onPopupScroll,hr=C.useContext(se),Dt=hr.maxCount,kt=hr.flattenOptions,pn=hr.onActiveValue,an=hr.defaultActiveFirstOption,cn=hr.onSelect,_n=hr.menuItemSelectedIcon,Mn=hr.rawValues,nr=hr.fieldNames,_r=hr.virtual,Nr=hr.direction,Ui=hr.listHeight,Ir=hr.listItemHeight,Lr=hr.optionRender,xi="".concat(In,"-item"),rt=(0,E.Z)(function(){return kt},[Dn,kt],function(Un,en){return en[0]&&Un[1]!==en[1]}),Ei=C.useRef(null),Br=C.useMemo(function(){return $n&&ye(Dt)&&(Mn==null?void 0:Mn.size)>=Dt},[$n,Dt,Mn==null?void 0:Mn.size]),Fr=function(en){en.preventDefault()},Ii=function(en){var hn;(hn=Ei.current)===null||hn===void 0||hn.scrollTo(typeof en=="number"?{index:en}:en)},Bi=C.useCallback(function(Un){return br==="combobox"?!1:Mn.has(Un)},[br,(0,ie.Z)(Mn).toString(),Mn.size]),gi=function(en){for(var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,$t=rt.length,Nn=0;Nn<$t;Nn+=1){var wr=(en+Nn*hn+$t)%$t,zr=rt[wr]||{},Xn=zr.group,Rr=zr.data;if(!Xn&&!(Rr!=null&&Rr.disabled)&&(Bi(Rr.value)||!Br))return wr}return-1},yi=C.useState(function(){return gi(0)}),Mr=(0,j.Z)(yi,2),$r=Mr[0],Ea=Mr[1],on=function(en){var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Ea(en);var $t={source:hn?"keyboard":"mouse"},Nn=rt[en];if(!Nn){pn(null,-1,$t);return}pn(Nn.value,en,$t)};(0,C.useEffect)(function(){on(an!==!1?gi(0):-1)},[rt.length,cr]);var ei=C.useCallback(function(Un){return br==="combobox"?String(Un).toLowerCase()===cr.toLowerCase():Mn.has(Un)},[br,cr,(0,ie.Z)(Mn).toString(),Mn.size]);(0,C.useEffect)(function(){var Un=setTimeout(function(){if(!$n&&Dn&&Mn.size===1){var hn=Array.from(Mn)[0],$t=rt.findIndex(function(Nn){var wr=Nn.data;return cr?String(wr.value).startsWith(cr):wr.value===hn});$t!==-1&&(on($t),Ii($t))}});if(Dn){var en;(en=Ei.current)===null||en===void 0||en.scrollTo(void 0)}return function(){return clearTimeout(Un)}},[Dn,cr]);var Li=function(en){en!==void 0&&cn(en,{selected:!Mn.has(en)}),$n||Tn(!1)};if(C.useImperativeHandle(kn,function(){return{onKeyDown:function(en){var hn=en.which,$t=en.ctrlKey;switch(hn){case Ee.Z.N:case Ee.Z.P:case Ee.Z.UP:case Ee.Z.DOWN:{var Nn=0;if(hn===Ee.Z.UP?Nn=-1:hn===Ee.Z.DOWN?Nn=1:ne()&&$t&&(hn===Ee.Z.N?Nn=1:hn===Ee.Z.P&&(Nn=-1)),Nn!==0){var wr=gi($r+Nn,Nn);Ii(wr),on(wr,!0)}break}case Ee.Z.TAB:case Ee.Z.ENTER:{var zr,Xn=rt[$r];Xn&&!(Xn!=null&&(zr=Xn.data)!==null&&zr!==void 0&&zr.disabled)&&!Br?Li(Xn.value):Li(void 0),Dn&&en.preventDefault();break}case Ee.Z.ESC:Tn(!1),Dn&&en.stopPropagation()}},onKeyUp:function(){},scrollTo:function(en){Ii(en)}}}),rt.length===0)return C.createElement("div",{role:"listbox",id:"".concat(jn,"_list"),className:"".concat(xi,"-empty"),onMouseDown:Fr},dr);var Ft=Object.keys(nr).map(function(Un){return nr[Un]}),Zt=function(en){return en.label};function Gt(Un,en){var hn=Un.group;return{role:hn?"presentation":"option",id:"".concat(jn,"_list_").concat(en)}}var Zn=function(en){var hn=rt[en];if(!hn)return null;var $t=hn.data||{},Nn=$t.value,wr=hn.group,zr=(0,Be.Z)($t,!0),Xn=Zt(hn);return hn?C.createElement("div",(0,c.Z)({"aria-label":typeof Xn=="string"&&!wr?Xn:null},zr,{key:en},Gt(hn,en),{"aria-selected":ei(Nn)}),Nn):null},sr={role:"listbox",id:"".concat(jn,"_list")};return C.createElement(C.Fragment,null,_r&&C.createElement("div",(0,c.Z)({},sr,{style:{height:0,width:0,overflow:"hidden"}}),Zn($r-1),Zn($r),Zn($r+1)),C.createElement(Ve.Z,{itemKey:"key",ref:Ei,data:rt,height:Ui,itemHeight:Ir,fullHeight:!1,onMouseDown:Fr,onScroll:Pr,virtual:_r,direction:Nr,innerProps:_r?null:sr},function(Un,en){var hn=Un.group,$t=Un.groupOption,Nn=Un.data,wr=Un.label,zr=Un.value,Xn=Nn.key;if(hn){var Rr,Zr=(Rr=Nn.title)!==null&&Rr!==void 0?Rr:jt(wr)?wr.toString():void 0;return C.createElement("div",{className:x()(xi,"".concat(xi,"-group"),Nn.className),title:Zr},wr!==void 0?wr:Xn)}var Gi=Nn.disabled,sa=Nn.title,ya=Nn.children,Ri=Nn.style,Sa=Nn.className,zi=(0,v.Z)(Nn,q),oa=(0,D.Z)(zi,Ft),ji=Bi(zr),ra=Gi||!ji&&Br,Fi="".concat(xi,"-option"),da=x()(xi,Fi,Sa,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(Fi,"-grouped"),$t),"".concat(Fi,"-active"),$r===en&&!ra),"".concat(Fi,"-disabled"),ra),"".concat(Fi,"-selected"),ji)),Kr=Zt(Un),fa=!_n||typeof _n=="function"||ji,kr=typeof Kr=="number"?Kr:Kr||zr,_a=jt(kr)?kr.toString():void 0;return sa!==void 0&&(_a=sa),C.createElement("div",(0,c.Z)({},(0,Be.Z)(oa),_r?{}:Gt(Un,en),{"aria-selected":ei(zr),className:da,title:_a,onMouseMove:function(){$r===en||ra||on(en)},onClick:function(){ra||Li(zr)},style:Ri}),C.createElement("div",{className:"".concat(Fi,"-content")},typeof Lr=="function"?Lr(Un,{index:en}):kr),C.isValidElement(_n)||ji,fa&&C.createElement(Z,{className:"".concat(xi,"-option-state"),customizeIcon:_n,customizeIconProps:{value:zr,disabled:ra,isSelected:ji}},ji?"\u2713":null))}))},st=C.forwardRef(Ue),ht=st,de=function(Lt,It){var kn=C.useRef({values:new Map,options:new Map}),vn=C.useMemo(function(){var jn=kn.current,Dn=jn.values,$n=jn.options,br=Lt.map(function(dr){if(dr.label===void 0){var Pr;return(0,le.Z)((0,le.Z)({},dr),{},{label:(Pr=Dn.get(dr.value))===null||Pr===void 0?void 0:Pr.label})}return dr}),cr=new Map,Tn=new Map;return br.forEach(function(dr){cr.set(dr.value,dr),Tn.set(dr.value,It.get(dr.value)||$n.get(dr.value))}),kn.current.values=cr,kn.current.options=Tn,br},[Lt,It]),In=C.useCallback(function(jn){return It.get(jn)||kn.current.options.get(jn)},[It]);return[vn,In]};function be(Lt,It){return ue(Lt).join("").toUpperCase().includes(It)}var We=function(Lt,It,kn,vn,In){return C.useMemo(function(){if(!kn||vn===!1)return Lt;var jn=It.options,Dn=It.label,$n=It.value,br=[],cr=typeof vn=="function",Tn=kn.toUpperCase(),dr=cr?vn:function(hr,Dt){return In?be(Dt[In],Tn):Dt[jn]?be(Dt[Dn!=="children"?Dn:"label"],Tn):be(Dt[$n],Tn)},Pr=cr?function(hr){return ae(hr)}:function(hr){return hr};return Lt.forEach(function(hr){if(hr[jn]){var Dt=dr(kn,Pr(hr));if(Dt)br.push(hr);else{var kt=hr[jn].filter(function(pn){return dr(kn,Pr(pn))});kt.length&&br.push((0,le.Z)((0,le.Z)({},hr),{},(0,O.Z)({},jn,kt)))}return}dr(kn,Pr(hr))&&br.push(hr)}),br},[Lt,vn,In,kn,It])},Ze=h(6551),Q=h(11592),Mt=["children","value"],_e=["children"];function bt(Lt){var It=Lt,kn=It.key,vn=It.props,In=vn.children,jn=vn.value,Dn=(0,v.Z)(vn,Mt);return(0,le.Z)({key:kn,value:jn!==void 0?jn:kn,children:In},Dn)}function An(Lt){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Q.Z)(Lt).map(function(kn,vn){if(!C.isValidElement(kn)||!kn.type)return null;var In=kn,jn=In.type.isSelectOptGroup,Dn=In.key,$n=In.props,br=$n.children,cr=(0,v.Z)($n,_e);return It||!jn?bt(kn):(0,le.Z)((0,le.Z)({key:"__RC_SELECT_GRP__".concat(Dn===null?vn:Dn,"__"),label:Dn},cr),{},{options:An(br)})}).filter(function(kn){return kn})}var xn=function(It,kn,vn,In,jn){return C.useMemo(function(){var Dn=It,$n=!It;$n&&(Dn=An(kn));var br=new Map,cr=new Map,Tn=function(hr,Dt,kt){kt&&typeof kt=="string"&&hr.set(Dt[kt],Dt)},dr=function Pr(hr){for(var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,kt=0;kt<hr.length;kt+=1){var pn=hr[kt];!pn[vn.options]||Dt?(br.set(pn[vn.value],pn),Tn(cr,pn,vn.label),Tn(cr,pn,In),Tn(cr,pn,jn)):Pr(pn[vn.options],!0)}};return dr(Dn),{options:Dn,valueOptions:br,labelOptions:cr}},[It,kn,vn,In,jn])},Er=xn;function vr(Lt){var It=C.useRef();It.current=Lt;var kn=C.useCallback(function(){return It.current.apply(It,arguments)},[]);return kn}function gr(Lt){var It=Lt.mode,kn=Lt.options,vn=Lt.children,In=Lt.backfill,jn=Lt.allowClear,Dn=Lt.placeholder,$n=Lt.getInputElement,br=Lt.showSearch,cr=Lt.onSearch,Tn=Lt.defaultOpen,dr=Lt.autoFocus,Pr=Lt.labelInValue,hr=Lt.value,Dt=Lt.inputValue,kt=Lt.optionLabelProp,pn=isMultiple(It),an=br!==void 0?br:pn||It==="combobox",cn=kn||convertChildrenToData(vn);if(warning(It!=="tags"||cn.every(function(_r){return!_r.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),It==="tags"||It==="combobox"){var _n=cn.some(function(_r){return _r.options?_r.options.some(function(Nr){return typeof("value"in Nr?Nr.value:Nr.key)=="number"}):typeof("value"in _r?_r.value:_r.key)=="number"});warning(!_n,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(It!=="combobox"||!kt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(It==="combobox"||!In,"`backfill` only works with `combobox` mode."),warning(It==="combobox"||!$n,"`getInputElement` only work with `combobox` mode."),noteOnce(It!=="combobox"||!$n||!jn||!Dn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),cr&&!an&&It!=="combobox"&&It!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Tn||dr,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),hr!=null){var Mn=toArray(hr);warning(!Pr||Mn.every(function(_r){return _typeof(_r)==="object"&&("key"in _r||"value"in _r)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!pn||Array.isArray(hr),"`value` should be array when `mode` is `multiple` or `tags`")}if(vn){var nr=null;toNodeArray(vn).some(function(_r){if(!React.isValidElement(_r)||!_r.type)return!1;var Nr=_r,Ui=Nr.type;if(Ui.isSelectOption)return!1;if(Ui.isSelectOptGroup){var Ir=toNodeArray(_r.props.children).every(function(Lr){return!React.isValidElement(Lr)||!_r.type||Lr.type.isSelectOption?!0:(nr=Lr.type,!1)});return!Ir}return nr=Ui,!0}),nr&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(nr.displayName||nr.name||nr,"`.")),warning(Dt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Hr(Lt,It){if(Lt){var kn=function vn(In){for(var jn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Dn=0;Dn<In.length;Dn++){var $n=In[Dn];if($n[It==null?void 0:It.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!jn&&Array.isArray($n[It==null?void 0:It.options])&&vn($n[It==null?void 0:It.options],!0))break}};kn(Lt)}}var fi=null,lr=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],ii=["inputValue"];function Wn(Lt){return!Lt||(0,re.Z)(Lt)!=="object"}var Bt=C.forwardRef(function(Lt,It){var kn=Lt.id,vn=Lt.mode,In=Lt.prefixCls,jn=In===void 0?"rc-select":In,Dn=Lt.backfill,$n=Lt.fieldNames,br=Lt.inputValue,cr=Lt.searchValue,Tn=Lt.onSearch,dr=Lt.autoClearSearchValue,Pr=dr===void 0?!0:dr,hr=Lt.onSelect,Dt=Lt.onDeselect,kt=Lt.dropdownMatchSelectWidth,pn=kt===void 0?!0:kt,an=Lt.filterOption,cn=Lt.filterSort,_n=Lt.optionFilterProp,Mn=Lt.optionLabelProp,nr=Lt.options,_r=Lt.optionRender,Nr=Lt.children,Ui=Lt.defaultActiveFirstOption,Ir=Lt.menuItemSelectedIcon,Lr=Lt.virtual,xi=Lt.direction,rt=Lt.listHeight,Ei=rt===void 0?200:rt,Br=Lt.listItemHeight,Fr=Br===void 0?20:Br,Ii=Lt.labelRender,Bi=Lt.value,gi=Lt.defaultValue,yi=Lt.labelInValue,Mr=Lt.onChange,$r=Lt.maxCount,Ea=(0,v.Z)(Lt,lr),on=(0,Ze.ZP)(kn),ei=xt(vn),Li=!!(!nr&&Nr),Ft=C.useMemo(function(){return an===void 0&&vn==="combobox"?!1:an},[an,vn]),Zt=C.useMemo(function(){return Te($n,Li)},[JSON.stringify($n),Li]),Gt=(0,ee.Z)("",{value:cr!==void 0?cr:br,postState:function(ki){return ki||""}}),Zn=(0,j.Z)(Gt,2),sr=Zn[0],Un=Zn[1],en=Er(nr,Nr,Zt,_n,Mn),hn=en.valueOptions,$t=en.labelOptions,Nn=en.options,wr=C.useCallback(function(Xr){var ki=ue(Xr);return ki.map(function(Ur){var un,bi,ir,Oi,wn;if(Wn(Ur))un=Ur;else{var Cr;ir=Ur.key,bi=Ur.label,un=(Cr=Ur.value)!==null&&Cr!==void 0?Cr:ir}var Jr=hn.get(un);if(Jr){var hi;if(bi===void 0&&(bi=Jr==null?void 0:Jr[Mn||Zt.label]),ir===void 0&&(ir=(hi=Jr==null?void 0:Jr.key)!==null&&hi!==void 0?hi:un),Oi=Jr==null?void 0:Jr.disabled,wn=Jr==null?void 0:Jr.title,0)var Qi}return{label:bi,value:un,key:ir,disabled:Oi,title:wn}})},[Zt,Mn,hn]),zr=(0,ee.Z)(gi,{value:Bi}),Xn=(0,j.Z)(zr,2),Rr=Xn[0],Zr=Xn[1],Gi=C.useMemo(function(){var Xr,ki=ei&&Rr===null?[]:Rr,Ur=wr(ki);return vn==="combobox"&&he((Xr=Ur[0])===null||Xr===void 0?void 0:Xr.value)?[]:Ur},[Rr,wr,vn,ei]),sa=de(Gi,hn),ya=(0,j.Z)(sa,2),Ri=ya[0],Sa=ya[1],zi=C.useMemo(function(){if(!vn&&Ri.length===1){var Xr=Ri[0];if(Xr.value===null&&(Xr.label===null||Xr.label===void 0))return[]}return Ri.map(function(ki){var Ur;return(0,le.Z)((0,le.Z)({},ki),{},{label:(Ur=typeof Ii=="function"?Ii(ki):ki.label)!==null&&Ur!==void 0?Ur:ki.value})})},[vn,Ri,Ii]),oa=C.useMemo(function(){return new Set(Ri.map(function(Xr){return Xr.value}))},[Ri]);C.useEffect(function(){if(vn==="combobox"){var Xr,ki=(Xr=Ri[0])===null||Xr===void 0?void 0:Xr.value;Un(I(ki)?String(ki):"")}},[Ri]);var ji=vr(function(Xr,ki){var Ur=ki!=null?ki:Xr;return(0,O.Z)((0,O.Z)({},Zt.value,Xr),Zt.label,Ur)}),ra=C.useMemo(function(){if(vn!=="tags")return Nn;var Xr=(0,ie.Z)(Nn),ki=function(un){return hn.has(un)};return(0,ie.Z)(Ri).sort(function(Ur,un){return Ur.value<un.value?-1:1}).forEach(function(Ur){var un=Ur.value;ki(un)||Xr.push(ji(un,Ur.label))}),Xr},[ji,Nn,hn,Ri,vn]),Fi=We(ra,Zt,sr,Ft,_n),da=C.useMemo(function(){return vn!=="tags"||!sr||Fi.some(function(Xr){return Xr[_n||"value"]===sr})||Fi.some(function(Xr){return Xr[Zt.value]===sr})?Fi:[ji(sr)].concat((0,ie.Z)(Fi))},[ji,_n,vn,Fi,sr,Zt]),Kr=function Xr(ki){var Ur=(0,ie.Z)(ki).sort(function(un,bi){return cn(un,bi,{searchValue:sr})});return Ur.map(function(un){return Array.isArray(un.options)?(0,le.Z)((0,le.Z)({},un),{},{options:un.options.length>0?Xr(un.options):un.options}):un})},fa=C.useMemo(function(){return cn?Kr(da):da},[da,cn,sr]),kr=C.useMemo(function(){return xe(fa,{fieldNames:Zt,childrenAsData:Li})},[fa,Zt,Li]),_a=function(ki){var Ur=wr(ki);if(Zr(Ur),Mr&&(Ur.length!==Ri.length||Ur.some(function(ir,Oi){var wn;return((wn=Ri[Oi])===null||wn===void 0?void 0:wn.value)!==(ir==null?void 0:ir.value)}))){var un=yi?Ur:Ur.map(function(ir){return ir.value}),bi=Ur.map(function(ir){return ae(Sa(ir.value))});Mr(ei?un:un[0],ei?bi:bi[0])}},rr=C.useState(null),or=(0,j.Z)(rr,2),ia=or[0],Fn=or[1],ba=C.useState(0),Qr=(0,j.Z)(ba,2),xa=Qr[0],Vi=Qr[1],$i=Ui!==void 0?Ui:vn!=="combobox",Pn=C.useCallback(function(Xr,ki){var Ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},un=Ur.source,bi=un===void 0?"keyboard":un;Vi(ki),Dn&&vn==="combobox"&&Xr!==null&&bi==="keyboard"&&Fn(String(Xr))},[Dn,vn]),Tr=function(ki,Ur,un){var bi=function(){var jr,Ta=Sa(ki);return[yi?{label:Ta==null?void 0:Ta[Zt.label],value:ki,key:(jr=Ta==null?void 0:Ta.key)!==null&&jr!==void 0?jr:ki}:ki,ae(Ta)]};if(Ur&&hr){var ir=bi(),Oi=(0,j.Z)(ir,2),wn=Oi[0],Cr=Oi[1];hr(wn,Cr)}else if(!Ur&&Dt&&un!=="clear"){var Jr=bi(),hi=(0,j.Z)(Jr,2),Qi=hi[0],ss=hi[1];Dt(Qi,ss)}},Sn=vr(function(Xr,ki){var Ur,un=ei?ki.selected:!0;un?Ur=ei?[].concat((0,ie.Z)(Ri),[Xr]):[Xr]:Ur=Ri.filter(function(bi){return bi.value!==Xr}),_a(Ur),Tr(Xr,un),vn==="combobox"?Fn(""):(!xt||Pr)&&(Un(""),Fn(""))}),Aa=function(ki,Ur){_a(ki);var un=Ur.type,bi=Ur.values;(un==="remove"||un==="clear")&&bi.forEach(function(ir){Tr(ir.value,!1,un)})},Wi=function(ki,Ur){if(Un(ki),Fn(null),Ur.source==="submit"){var un=(ki||"").trim();if(un){var bi=Array.from(new Set([].concat((0,ie.Z)(oa),[un])));_a(bi),Tr(un,!0),Un("")}return}Ur.source!=="blur"&&(vn==="combobox"&&_a(ki),Tn==null||Tn(ki))},Ia=function(ki){var Ur=ki;vn!=="tags"&&(Ur=ki.map(function(bi){var ir=$t.get(bi);return ir==null?void 0:ir.value}).filter(function(bi){return bi!==void 0}));var un=Array.from(new Set([].concat((0,ie.Z)(oa),(0,ie.Z)(Ur))));_a(un),un.forEach(function(bi){Tr(bi,!0)})},Fa=C.useMemo(function(){var Xr=Lr!==!1&&pn!==!1;return(0,le.Z)((0,le.Z)({},en),{},{flattenOptions:kr,onActiveValue:Pn,defaultActiveFirstOption:$i,onSelect:Sn,menuItemSelectedIcon:Ir,rawValues:oa,fieldNames:Zt,virtual:Xr,direction:xi,listHeight:Ei,listItemHeight:Fr,childrenAsData:Li,maxCount:$r,optionRender:_r})},[$r,en,kr,Pn,$i,Sn,Ir,oa,Zt,Lr,pn,xi,Ei,Fr,Li,_r]);return C.createElement(se.Provider,{value:Fa},C.createElement(tt,(0,c.Z)({},Ea,{id:on,prefixCls:jn,ref:It,omitDomProps:ii,mode:vn,displayValues:zi,onDisplayValuesChange:Aa,direction:xi,searchValue:sr,onSearch:Wi,autoClearSearchValue:Pr,onSearchSplit:Ia,dropdownMatchSelectWidth:pn,OptionList:ht,emptyOptions:!kr.length,activeValue:ia,activeDescendantId:"".concat(on,"_list_").concat(xa)})))}),En=Bt;En.Option=et,En.OptGroup=_t;var nn=En,Yr=nn},22711:function(On,at,h){"use strict";h.r(at),h.d(at,{ResizableTextArea:function(){return it},default:function(){return ve}});var c=h(60499),ie=h(18642),O=h(85899),le=h(77654),j=h(72190),v=h(42244),re=h(92310),ee=h.n(re),o=h(36901),C=h(66003),F=h(30292),x=h(18929),A=h(59301),L=h(43749),z=h(29301),G=h(34280),Z=h(16089),W=`
|
|
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;
|
|
`,P=["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"],K={},g;function T(ue){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=ue.getAttribute("id")||ue.getAttribute("data-reactid")||ue.getAttribute("name");if(we&&K[_])return K[_];var I=window.getComputedStyle(ue),he=I.getPropertyValue("box-sizing")||I.getPropertyValue("-moz-box-sizing")||I.getPropertyValue("-webkit-box-sizing"),Ne=parseFloat(I.getPropertyValue("padding-bottom"))+parseFloat(I.getPropertyValue("padding-top")),Qe=parseFloat(I.getPropertyValue("border-bottom-width"))+parseFloat(I.getPropertyValue("border-top-width")),Et=P.map(function(Oe){return"".concat(Oe,":").concat(I.getPropertyValue(Oe))}).join(";"),He={sizingStyle:Et,paddingSize:Ne,borderSize:Qe,boxSizing:he};return we&&_&&(K[_]=He),He}function fe(ue){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,I=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;g||(g=document.createElement("textarea"),g.setAttribute("tab-index","-1"),g.setAttribute("aria-hidden","true"),g.setAttribute("name","hiddenTextarea"),document.body.appendChild(g)),ue.getAttribute("wrap")?g.setAttribute("wrap",ue.getAttribute("wrap")):g.removeAttribute("wrap");var he=T(ue,we),Ne=he.paddingSize,Qe=he.borderSize,Et=he.boxSizing,He=he.sizingStyle;g.setAttribute("style","".concat(He,";").concat(W)),g.value=ue.value||ue.placeholder||"";var Oe=void 0,lt=void 0,St,ze=g.scrollHeight;if(Et==="border-box"?ze+=Qe:Et==="content-box"&&(ze-=Ne),_!==null||I!==null){g.value=" ";var At=g.scrollHeight-Ne;_!==null&&(Oe=At*_,Et==="border-box"&&(Oe=Oe+Ne+Qe),ze=Math.max(Oe,ze)),I!==null&&(lt=At*I,Et==="border-box"&&(lt=lt+Ne+Qe),St=ze>lt?"":"hidden",ze=Math.min(lt,ze))}var ke={height:ze,overflowY:St,resize:"none"};return Oe&&(ke.minHeight=Oe),lt&&(ke.maxHeight=lt),ke}var Ee=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],pe=0,Be=1,je=2,Le=A.forwardRef(function(ue,we){var _=ue,I=_.prefixCls,he=_.defaultValue,Ne=_.value,Qe=_.autoSize,Et=_.onResize,He=_.className,Oe=_.style,lt=_.disabled,St=_.onChange,ze=_.onInternalAutoSize,At=(0,v.Z)(_,Ee),ke=(0,x.Z)(he,{value:Ne,postState:function(et){return et!=null?et:""}}),Ht=(0,j.Z)(ke,2),dt=Ht[0],ct=Ht[1],Xe=function(et){ct(et.target.value),St==null||St(et)},Re=A.useRef();A.useImperativeHandle(we,function(){return{textArea:Re.current}});var oe=A.useMemo(function(){return Qe&&(0,L.Z)(Qe)==="object"?[Qe.minRows,Qe.maxRows]:[]},[Qe]),qe=(0,j.Z)(oe,2),Me=qe[0],U=qe[1],M=!!Qe,ye=function(){try{if(document.activeElement===Re.current){var et=Re.current,E=et.selectionStart,D=et.selectionEnd,Ve=et.scrollTop;Re.current.setSelectionRange(E,D),Re.current.scrollTop=Ve}}catch(ne){}},Te=A.useState(je),xe=(0,j.Z)(Te,2),ae=xe[0],Fe=xe[1],nt=A.useState(),se=(0,j.Z)(nt,2),me=se[0],vt=se[1],ft=function(){Fe(pe)};(0,G.Z)(function(){M&&ft()},[Ne,Me,U,M]),(0,G.Z)(function(){if(ae===pe)Fe(Be);else if(ae===Be){var Ae=fe(Re.current,!1,Me,U);Fe(je),vt(Ae)}else ye()},[ae]);var xt=A.useRef(),gt=function(){Z.Z.cancel(xt.current)},tt=function(et){ae===je&&(Et==null||Et(et),Qe&&(gt(),xt.current=(0,Z.Z)(function(){ft()})))};A.useEffect(function(){return gt},[]);var Pt=M?me:null,_t=(0,O.Z)((0,O.Z)({},Oe),Pt);return(ae===pe||ae===Be)&&(_t.overflowY="hidden",_t.overflowX="hidden"),A.createElement(z.Z,{onResize:tt,disabled:!(Qe||Et)},A.createElement("textarea",(0,c.Z)({},At,{ref:Re,style:_t,className:ee()(I,He,(0,ie.Z)({},"".concat(I,"-disabled"),lt)),disabled:lt,value:dt,onChange:Xe})))}),it=Le,ce=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Y=A.forwardRef(function(ue,we){var _,I=ue.defaultValue,he=ue.value,Ne=ue.onFocus,Qe=ue.onBlur,Et=ue.onChange,He=ue.allowClear,Oe=ue.maxLength,lt=ue.onCompositionStart,St=ue.onCompositionEnd,ze=ue.suffix,At=ue.prefixCls,ke=At===void 0?"rc-textarea":At,Ht=ue.showCount,dt=ue.count,ct=ue.className,Xe=ue.style,Re=ue.disabled,oe=ue.hidden,qe=ue.classNames,Me=ue.styles,U=ue.onResize,M=ue.onClear,ye=ue.onPressEnter,Te=ue.readOnly,xe=ue.autoSize,ae=ue.onKeyDown,Fe=(0,v.Z)(ue,ce),nt=(0,x.Z)(I,{value:he,defaultValue:I}),se=(0,j.Z)(nt,2),me=se[0],vt=se[1],ft=me==null?"":String(me),xt=A.useState(!1),gt=(0,j.Z)(xt,2),tt=gt[0],Pt=gt[1],_t=A.useRef(!1),Ae=A.useState(null),et=(0,j.Z)(Ae,2),E=et[0],D=et[1],Ve=(0,A.useRef)(null),ne=(0,A.useRef)(null),q=function(){var En;return(En=ne.current)===null||En===void 0?void 0:En.textArea},jt=function(){q().focus()};(0,A.useImperativeHandle)(we,function(){var Bt;return{resizableTextArea:ne.current,focus:jt,blur:function(){q().blur()},nativeElement:((Bt=Ve.current)===null||Bt===void 0?void 0:Bt.nativeElement)||q()}}),(0,A.useEffect)(function(){Pt(function(Bt){return!Re&&Bt})},[Re]);var Ue=A.useState(null),st=(0,j.Z)(Ue,2),ht=st[0],de=st[1];A.useEffect(function(){if(ht){var Bt;(Bt=q()).setSelectionRange.apply(Bt,(0,le.Z)(ht))}},[ht]);var be=(0,C.Z)(dt,Ht),We=(_=be.max)!==null&&_!==void 0?_:Oe,Ze=Number(We)>0,Q=be.strategy(ft),Mt=!!We&&Q>We,_e=function(En,nn){var Yr=nn;!_t.current&&be.exceedFormatter&&be.max&&be.strategy(nn)>be.max&&(Yr=be.exceedFormatter(nn,{max:be.max}),nn!==Yr&&de([q().selectionStart||0,q().selectionEnd||0])),vt(Yr),(0,F.rJ)(En.currentTarget,En,Et,Yr)},bt=function(En){_t.current=!0,lt==null||lt(En)},An=function(En){_t.current=!1,_e(En,En.currentTarget.value),St==null||St(En)},xn=function(En){_e(En,En.target.value)},Er=function(En){En.key==="Enter"&&ye&&ye(En),ae==null||ae(En)},vr=function(En){Pt(!0),Ne==null||Ne(En)},gr=function(En){Pt(!1),Qe==null||Qe(En)},Hr=function(En){vt(""),jt(),(0,F.rJ)(q(),En,Et)},fi=ze,lr;be.show&&(be.showFormatter?lr=be.showFormatter({value:ft,count:Q,maxLength:We}):lr="".concat(Q).concat(Ze?" / ".concat(We):""),fi=A.createElement(A.Fragment,null,fi,A.createElement("span",{className:ee()("".concat(ke,"-data-count"),qe==null?void 0:qe.count),style:Me==null?void 0:Me.count},lr)));var ii=function(En){var nn;U==null||U(En),(nn=q())!==null&&nn!==void 0&&nn.style.height&&D(!0)},Wn=!xe&&!Ht&&!He;return A.createElement(o.BaseInput,{ref:Ve,value:ft,allowClear:He,handleReset:Hr,suffix:fi,prefixCls:ke,classNames:(0,O.Z)((0,O.Z)({},qe),{},{affixWrapper:ee()(qe==null?void 0:qe.affixWrapper,(0,ie.Z)((0,ie.Z)({},"".concat(ke,"-show-count"),Ht),"".concat(ke,"-textarea-allow-clear"),He))}),disabled:Re,focused:tt,className:ee()(ct,Mt&&"".concat(ke,"-out-of-range")),style:(0,O.Z)((0,O.Z)({},Xe),E&&!Wn?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof lr=="string"?lr:void 0}},hidden:oe,readOnly:Te,onClear:M},A.createElement(it,(0,c.Z)({},Fe,{autoSize:xe,maxLength:Oe,onKeyDown:Er,onChange:xn,onFocus:vr,onBlur:gr,onCompositionStart:bt,onCompositionEnd:An,className:ee()(qe==null?void 0:qe.textarea),style:(0,O.Z)((0,O.Z)({},Me==null?void 0:Me.textarea),{},{resize:Xe==null?void 0:Xe.resize}),disabled:Re,prefixCls:ke,onResize:ii,ref:ne,readOnly:Te})))}),N=Y,ve=N},29125:function(On,at,h){"use strict";h.d(at,{G:function(){return le},Z:function(){return W}});var c=h(92310),ie=h.n(c),O=h(59301);function le(P){var K=P.children,g=P.prefixCls,T=P.id,fe=P.overlayInnerStyle,Ee=P.bodyClassName,pe=P.className,Be=P.style;return O.createElement("div",{className:ie()("".concat(g,"-content"),pe),style:Be},O.createElement("div",{className:ie()("".concat(g,"-inner"),Ee),id:T,role:"tooltip",style:fe},typeof K=="function"?K():K))}var j=h(60499),v=h(85899),re=h(42244),ee=h(68196),o={shiftX:64,adjustY:1},C={adjustX:1,shiftY:!0},F=[0,0],x={left:{points:["cr","cl"],overflow:C,offset:[-4,0],targetOffset:F},right:{points:["cl","cr"],overflow:C,offset:[4,0],targetOffset:F},top:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:F},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:F},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:F},leftTop:{points:["tr","tl"],overflow:C,offset:[-4,0],targetOffset:F},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:F},rightTop:{points:["tl","tr"],overflow:C,offset:[4,0],targetOffset:F},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:F},rightBottom:{points:["bl","br"],overflow:C,offset:[4,0],targetOffset:F},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:F},leftBottom:{points:["br","bl"],overflow:C,offset:[-4,0],targetOffset:F}},A=null,L=h(80402),z=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],G=function(K,g){var T=K.overlayClassName,fe=K.trigger,Ee=fe===void 0?["hover"]:fe,pe=K.mouseEnterDelay,Be=pe===void 0?0:pe,je=K.mouseLeaveDelay,Le=je===void 0?.1:je,it=K.overlayStyle,ce=K.prefixCls,Y=ce===void 0?"rc-tooltip":ce,N=K.children,ve=K.onVisibleChange,ue=K.afterVisibleChange,we=K.transitionName,_=K.animation,I=K.motion,he=K.placement,Ne=he===void 0?"right":he,Qe=K.align,Et=Qe===void 0?{}:Qe,He=K.destroyTooltipOnHide,Oe=He===void 0?!1:He,lt=K.defaultVisible,St=K.getTooltipContainer,ze=K.overlayInnerStyle,At=K.arrowContent,ke=K.overlay,Ht=K.id,dt=K.showArrow,ct=dt===void 0?!0:dt,Xe=K.classNames,Re=K.styles,oe=(0,re.Z)(K,z),qe=(0,L.Z)(Ht),Me=(0,O.useRef)(null);(0,O.useImperativeHandle)(g,function(){return Me.current});var U=(0,v.Z)({},oe);"visible"in K&&(U.popupVisible=K.visible);var M=function(){return O.createElement(le,{key:"content",prefixCls:Y,id:qe,bodyClassName:Xe==null?void 0:Xe.body,overlayInnerStyle:(0,v.Z)((0,v.Z)({},ze),Re==null?void 0:Re.body)},ke)},ye=function(){var xe=O.Children.only(N),ae=(xe==null?void 0:xe.props)||{},Fe=(0,v.Z)((0,v.Z)({},ae),{},{"aria-describedby":ke?qe:null});return O.cloneElement(N,Fe)};return O.createElement(ee.Z,(0,j.Z)({popupClassName:ie()(T,Xe==null?void 0:Xe.root),prefixCls:Y,popup:M,action:Ee,builtinPlacements:x,popupPlacement:Ne,ref:Me,popupAlign:Et,getPopupContainer:St,onPopupVisibleChange:ve,afterPopupVisibleChange:ue,popupTransitionName:we,popupAnimation:_,popupMotion:I,defaultPopupVisible:lt,autoDestroy:Oe,mouseLeaveDelay:Le,popupStyle:(0,v.Z)((0,v.Z)({},it),Re==null?void 0:Re.root),mouseEnterDelay:Be,arrow:ct},U),ye())},Z=(0,O.forwardRef)(G),W=Z},639:function(On,at,h){"use strict";h.d(at,{Z:function(){return K}});var c=h(60499),ie=h(18642),O=h(85899),le=h(72190),j=h(42244),v=h(59301),re=h(92310),ee=h.n(re),o=h(26112),C=h(30699),F=function(T){for(var fe=T.prefixCls,Ee=T.level,pe=T.isStart,Be=T.isEnd,je="".concat(fe,"-indent-unit"),Le=[],it=0;it<Ee;it+=1)Le.push(v.createElement("span",{key:it,className:ee()(je,(0,ie.Z)((0,ie.Z)({},"".concat(je,"-start"),pe[it]),"".concat(je,"-end"),Be[it]))}));return v.createElement("span",{"aria-hidden":"true",className:"".concat(fe,"-indent")},Le)},x=v.memo(F),A=h(65065),L=h(34061),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],G="open",Z="close",W="---",P=function(T){var fe,Ee,pe,Be=T.eventKey,je=T.className,Le=T.style,it=T.dragOver,ce=T.dragOverGapTop,Y=T.dragOverGapBottom,N=T.isLeaf,ve=T.isStart,ue=T.isEnd,we=T.expanded,_=T.selected,I=T.checked,he=T.halfChecked,Ne=T.loading,Qe=T.domRef,Et=T.active,He=T.data,Oe=T.onMouseMove,lt=T.selectable,St=(0,j.Z)(T,z),ze=v.useContext(C.k),At=v.useContext(C.y),ke=v.useRef(null),Ht=v.useState(!1),dt=(0,le.Z)(Ht,2),ct=dt[0],Xe=dt[1],Re=!!(ze.disabled||T.disabled||(fe=At.nodeDisabled)!==null&&fe!==void 0&&fe.call(At,He)),oe=v.useMemo(function(){return!ze.checkable||T.checkable===!1?!1:ze.checkable},[ze.checkable,T.checkable]),qe=function(Q){Re||ze.onNodeSelect(Q,(0,L.F)(T))},Me=function(Q){Re||!oe||T.disableCheckbox||ze.onNodeCheck(Q,(0,L.F)(T),!I)},U=v.useMemo(function(){return typeof lt=="boolean"?lt:ze.selectable},[lt,ze.selectable]),M=function(Q){ze.onNodeClick(Q,(0,L.F)(T)),U?qe(Q):Me(Q)},ye=function(Q){ze.onNodeDoubleClick(Q,(0,L.F)(T))},Te=function(Q){ze.onNodeMouseEnter(Q,(0,L.F)(T))},xe=function(Q){ze.onNodeMouseLeave(Q,(0,L.F)(T))},ae=function(Q){ze.onNodeContextMenu(Q,(0,L.F)(T))},Fe=v.useMemo(function(){return!!(ze.draggable&&(!ze.draggable.nodeDraggable||ze.draggable.nodeDraggable(He)))},[ze.draggable,He]),nt=function(Q){Q.stopPropagation(),Xe(!0),ze.onNodeDragStart(Q,T);try{Q.dataTransfer.setData("text/plain","")}catch(Mt){}},se=function(Q){Q.preventDefault(),Q.stopPropagation(),ze.onNodeDragEnter(Q,T)},me=function(Q){Q.preventDefault(),Q.stopPropagation(),ze.onNodeDragOver(Q,T)},vt=function(Q){Q.stopPropagation(),ze.onNodeDragLeave(Q,T)},ft=function(Q){Q.stopPropagation(),Xe(!1),ze.onNodeDragEnd(Q,T)},xt=function(Q){Q.preventDefault(),Q.stopPropagation(),Xe(!1),ze.onNodeDrop(Q,T)},gt=function(Q){Ne||ze.onNodeExpand(Q,(0,L.F)(T))},tt=v.useMemo(function(){var Ze=(0,A.Z)(ze.keyEntities,Be)||{},Q=Ze.children;return!!(Q||[]).length},[ze.keyEntities,Be]),Pt=v.useMemo(function(){return N===!1?!1:N||!ze.loadData&&!tt||ze.loadData&&T.loaded&&!tt},[N,ze.loadData,tt,T.loaded]);v.useEffect(function(){Ne||typeof ze.loadData=="function"&&we&&!Pt&&!T.loaded&&ze.onNodeLoad((0,L.F)(T))},[Ne,ze.loadData,ze.onNodeLoad,we,Pt,T]);var _t=v.useMemo(function(){var Ze;return(Ze=ze.draggable)!==null&&Ze!==void 0&&Ze.icon?v.createElement("span",{className:"".concat(ze.prefixCls,"-draggable-icon")},ze.draggable.icon):null},[ze.draggable]),Ae=function(Q){var Mt=T.switcherIcon||ze.switcherIcon;return typeof Mt=="function"?Mt((0,O.Z)((0,O.Z)({},T),{},{isLeaf:Q})):Mt},et=function(){if(Pt){var Q=Ae(!0);return Q!==!1?v.createElement("span",{className:ee()("".concat(ze.prefixCls,"-switcher"),"".concat(ze.prefixCls,"-switcher-noop"))},Q):null}var Mt=Ae(!1);return Mt!==!1?v.createElement("span",{onClick:gt,className:ee()("".concat(ze.prefixCls,"-switcher"),"".concat(ze.prefixCls,"-switcher_").concat(we?G:Z))},Mt):null},E=v.useMemo(function(){if(!oe)return null;var Ze=typeof oe!="boolean"?oe:null;return v.createElement("span",{className:ee()("".concat(ze.prefixCls,"-checkbox"),(0,ie.Z)((0,ie.Z)((0,ie.Z)({},"".concat(ze.prefixCls,"-checkbox-checked"),I),"".concat(ze.prefixCls,"-checkbox-indeterminate"),!I&&he),"".concat(ze.prefixCls,"-checkbox-disabled"),Re||T.disableCheckbox)),onClick:Me,role:"checkbox","aria-checked":he?"mixed":I,"aria-disabled":Re||T.disableCheckbox,"aria-label":"Select ".concat(typeof T.title=="string"?T.title:"tree node")},Ze)},[oe,I,he,Re,T.disableCheckbox,T.title]),D=v.useMemo(function(){return Pt?null:we?G:Z},[Pt,we]),Ve=v.useMemo(function(){return v.createElement("span",{className:ee()("".concat(ze.prefixCls,"-iconEle"),"".concat(ze.prefixCls,"-icon__").concat(D||"docu"),(0,ie.Z)({},"".concat(ze.prefixCls,"-icon_loading"),Ne))})},[ze.prefixCls,D,Ne]),ne=v.useMemo(function(){var Ze=!!ze.draggable,Q=!T.disabled&&Ze&&ze.dragOverNodeKey===Be;return Q?ze.dropIndicatorRender({dropPosition:ze.dropPosition,dropLevelOffset:ze.dropLevelOffset,indent:ze.indent,prefixCls:ze.prefixCls,direction:ze.direction}):null},[ze.dropPosition,ze.dropLevelOffset,ze.indent,ze.prefixCls,ze.direction,ze.draggable,ze.dragOverNodeKey,ze.dropIndicatorRender]),q=v.useMemo(function(){var Ze=T.title,Q=Ze===void 0?W:Ze,Mt="".concat(ze.prefixCls,"-node-content-wrapper"),_e;if(ze.showIcon){var bt=T.icon||ze.icon;_e=bt?v.createElement("span",{className:ee()("".concat(ze.prefixCls,"-iconEle"),"".concat(ze.prefixCls,"-icon__customize"))},typeof bt=="function"?bt(T):bt):Ve}else ze.loadData&&Ne&&(_e=Ve);var An;return typeof Q=="function"?An=Q(He):ze.titleRender?An=ze.titleRender(He):An=Q,v.createElement("span",{ref:ke,title:typeof Q=="string"?Q:"",className:ee()(Mt,"".concat(Mt,"-").concat(D||"normal"),(0,ie.Z)({},"".concat(ze.prefixCls,"-node-selected"),!Re&&(_||ct))),onMouseEnter:Te,onMouseLeave:xe,onContextMenu:ae,onClick:M,onDoubleClick:ye},_e,v.createElement("span",{className:"".concat(ze.prefixCls,"-title")},An),ne)},[ze.prefixCls,ze.showIcon,T,ze.icon,Ve,ze.titleRender,He,D,Te,xe,ae,M,ye]),jt=(0,o.Z)(St,{aria:!0,data:!0}),Ue=(0,A.Z)(ze.keyEntities,Be)||{},st=Ue.level,ht=ue[ue.length-1],de=!Re&&Fe,be=ze.draggingNodeKey===Be,We=lt!==void 0?{"aria-selected":!!lt}:void 0;return v.createElement("div",(0,c.Z)({ref:Qe,role:"treeitem","aria-expanded":N?void 0:we,className:ee()(je,"".concat(ze.prefixCls,"-treenode"),(pe={},(0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)(pe,"".concat(ze.prefixCls,"-treenode-disabled"),Re),"".concat(ze.prefixCls,"-treenode-switcher-").concat(we?"open":"close"),!N),"".concat(ze.prefixCls,"-treenode-checkbox-checked"),I),"".concat(ze.prefixCls,"-treenode-checkbox-indeterminate"),he),"".concat(ze.prefixCls,"-treenode-selected"),_),"".concat(ze.prefixCls,"-treenode-loading"),Ne),"".concat(ze.prefixCls,"-treenode-active"),Et),"".concat(ze.prefixCls,"-treenode-leaf-last"),ht),"".concat(ze.prefixCls,"-treenode-draggable"),Fe),"dragging",be),(0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)((0,ie.Z)(pe,"drop-target",ze.dropTargetKey===Be),"drop-container",ze.dropContainerKey===Be),"drag-over",!Re&&it),"drag-over-gap-top",!Re&&ce),"drag-over-gap-bottom",!Re&&Y),"filter-node",(Ee=ze.filterTreeNode)===null||Ee===void 0?void 0:Ee.call(ze,(0,L.F)(T))),"".concat(ze.prefixCls,"-treenode-leaf"),Pt))),style:Le,draggable:de,onDragStart:de?nt:void 0,onDragEnter:Fe?se:void 0,onDragOver:Fe?me:void 0,onDragLeave:Fe?vt:void 0,onDrop:Fe?xt:void 0,onDragEnd:Fe?ft:void 0,onMouseMove:Oe},We,jt),v.createElement(x,{prefixCls:ze.prefixCls,level:st,isStart:ve,isEnd:ue}),_t,et(),E,q)};P.isTreeNode=1;var K=P},30699:function(On,at,h){"use strict";h.d(at,{k:function(){return ie},y:function(){return O}});var c=h(59301),ie=c.createContext(null),O=c.createContext({})},87632:function(On,at,h){"use strict";h.d(at,{OF:function(){return Be.Z},y6:function(){return Z.y},ZP:function(){return Re}});var c=h(60499),ie=h(43749),O=h(85899),le=h(77654),j=h(38705),v=h(17212),re=h(15793),ee=h(39153),o=h(55401),C=h(18642),F=h(92310),x=h.n(F),A=h(10228),L=h(26112),z=h(48736),G=h(59301),Z=h(30699),W=function(qe){var Me=qe.dropPosition,U=qe.dropLevelOffset,M=qe.indent,ye={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(Me){case-1:ye.top=0,ye.left=-U*M;break;case 1:ye.bottom=0,ye.left=-U*M;break;case 0:ye.bottom=0,ye.left=M;break}return G.createElement("div",{style:ye})},P=W;function K(oe){if(oe==null)throw new TypeError("Cannot destructure "+oe)}var g=h(72190),T=h(42244),fe=h(34280),Ee=h(48911),pe=h(77900),Be=h(639);function je(oe,qe){var Me=G.useState(!1),U=(0,g.Z)(Me,2),M=U[0],ye=U[1];(0,fe.Z)(function(){if(M)return oe(),function(){qe()}},[M]),(0,fe.Z)(function(){return ye(!0),function(){ye(!1)}},[])}var Le=je,it=h(34061),ce=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Y=G.forwardRef(function(oe,qe){var Me=oe.className,U=oe.style,M=oe.motion,ye=oe.motionNodes,Te=oe.motionType,xe=oe.onMotionStart,ae=oe.onMotionEnd,Fe=oe.active,nt=oe.treeNodeRequiredProps,se=(0,T.Z)(oe,ce),me=G.useState(!0),vt=(0,g.Z)(me,2),ft=vt[0],xt=vt[1],gt=G.useContext(Z.k),tt=gt.prefixCls,Pt=ye&&Te!=="hide";(0,fe.Z)(function(){ye&&Pt!==ft&&xt(Pt)},[ye]);var _t=function(){ye&&xe()},Ae=G.useRef(!1),et=function(){ye&&!Ae.current&&(Ae.current=!0,ae())};Le(_t,et);var E=function(Ve){Pt===Ve&&et()};return ye?G.createElement(pe.default,(0,c.Z)({ref:qe,visible:ft},M,{motionAppear:Te==="show",onVisibleChanged:E}),function(D,Ve){var ne=D.className,q=D.style;return G.createElement("div",{ref:Ve,className:x()("".concat(tt,"-treenode-motion"),ne),style:q},ye.map(function(jt){var Ue=Object.assign({},(K(jt.data),jt.data)),st=jt.title,ht=jt.key,de=jt.isStart,be=jt.isEnd;delete Ue.children;var We=(0,it.H8)(ht,nt);return G.createElement(Be.Z,(0,c.Z)({},Ue,We,{title:st,active:Fe,data:jt.data,key:ht,isStart:de,isEnd:be}))}))}):G.createElement(Be.Z,(0,c.Z)({domRef:qe,className:Me,style:U},se,{active:Fe}))}),N=Y;function ve(){var oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Me=oe.length,U=qe.length;if(Math.abs(Me-U)!==1)return{add:!1,key:null};function M(ye,Te){var xe=new Map;ye.forEach(function(Fe){xe.set(Fe,!0)});var ae=Te.filter(function(Fe){return!xe.has(Fe)});return ae.length===1?ae[0]:null}return Me<U?{add:!0,key:M(oe,qe)}:{add:!1,key:M(qe,oe)}}function ue(oe,qe,Me){var U=oe.findIndex(function(xe){return xe.key===Me}),M=oe[U+1],ye=qe.findIndex(function(xe){return xe.key===Me});if(M){var Te=qe.findIndex(function(xe){return xe.key===M.key});return qe.slice(ye+1,Te)}return qe.slice(ye+1)}var we=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],_={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},I=function(){},he="RC_TREE_MOTION_".concat(Math.random()),Ne={key:he},Qe={key:he,level:0,index:0,pos:"0",node:Ne,nodes:[Ne]},Et={parent:null,children:[],pos:Qe.pos,data:Ne,title:null,key:he,isStart:[],isEnd:[]};function He(oe,qe,Me,U){return qe===!1||!Me?oe:oe.slice(0,Math.ceil(Me/U)+1)}function Oe(oe){var qe=oe.key,Me=oe.pos;return(0,it.km)(qe,Me)}function lt(oe){for(var qe=String(oe.data.key),Me=oe;Me.parent;)Me=Me.parent,qe="".concat(Me.data.key," > ").concat(qe);return qe}var St=G.forwardRef(function(oe,qe){var Me=oe.prefixCls,U=oe.data,M=oe.selectable,ye=oe.checkable,Te=oe.expandedKeys,xe=oe.selectedKeys,ae=oe.checkedKeys,Fe=oe.loadedKeys,nt=oe.loadingKeys,se=oe.halfCheckedKeys,me=oe.keyEntities,vt=oe.disabled,ft=oe.dragging,xt=oe.dragOverNodeKey,gt=oe.dropPosition,tt=oe.motion,Pt=oe.height,_t=oe.itemHeight,Ae=oe.virtual,et=oe.scrollWidth,E=oe.focusable,D=oe.activeItem,Ve=oe.focused,ne=oe.tabIndex,q=oe.onKeyDown,jt=oe.onFocus,Ue=oe.onBlur,st=oe.onActiveChange,ht=oe.onListChangeStart,de=oe.onListChangeEnd,be=(0,T.Z)(oe,we),We=G.useRef(null),Ze=G.useRef(null);G.useImperativeHandle(qe,function(){return{scrollTo:function($n){We.current.scrollTo($n)},getIndentWidth:function(){return Ze.current.offsetWidth}}});var Q=G.useState(Te),Mt=(0,g.Z)(Q,2),_e=Mt[0],bt=Mt[1],An=G.useState(U),xn=(0,g.Z)(An,2),Er=xn[0],vr=xn[1],gr=G.useState(U),Hr=(0,g.Z)(gr,2),fi=Hr[0],lr=Hr[1],ii=G.useState([]),Wn=(0,g.Z)(ii,2),Bt=Wn[0],En=Wn[1],nn=G.useState(null),Yr=(0,g.Z)(nn,2),Lt=Yr[0],It=Yr[1],kn=G.useRef(U);kn.current=U;function vn(){var Dn=kn.current;vr(Dn),lr(Dn),En([]),It(null),de()}(0,fe.Z)(function(){bt(Te);var Dn=ve(_e,Te);if(Dn.key!==null)if(Dn.add){var $n=Er.findIndex(function(hr){var Dt=hr.key;return Dt===Dn.key}),br=He(ue(Er,U,Dn.key),Ae,Pt,_t),cr=Er.slice();cr.splice($n+1,0,Et),lr(cr),En(br),It("show")}else{var Tn=U.findIndex(function(hr){var Dt=hr.key;return Dt===Dn.key}),dr=He(ue(U,Er,Dn.key),Ae,Pt,_t),Pr=U.slice();Pr.splice(Tn+1,0,Et),lr(Pr),En(dr),It("hide")}else Er!==U&&(vr(U),lr(U))},[Te,U]),G.useEffect(function(){ft||vn()},[ft]);var In=tt?fi:U,jn={expandedKeys:Te,selectedKeys:xe,loadedKeys:Fe,loadingKeys:nt,checkedKeys:ae,halfCheckedKeys:se,dragOverNodeKey:xt,dropPosition:gt,keyEntities:me};return G.createElement(G.Fragment,null,Ve&&D&&G.createElement("span",{style:_,"aria-live":"assertive"},lt(D)),G.createElement("div",null,G.createElement("input",{style:_,disabled:E===!1||vt,tabIndex:E!==!1?ne:null,onKeyDown:q,onFocus:jt,onBlur:Ue,value:"",onChange:I,"aria-label":"for screen reader"})),G.createElement("div",{className:"".concat(Me,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},G.createElement("div",{className:"".concat(Me,"-indent")},G.createElement("div",{ref:Ze,className:"".concat(Me,"-indent-unit")}))),G.createElement(Ee.Z,(0,c.Z)({},be,{data:In,itemKey:Oe,height:Pt,fullHeight:!1,virtual:Ae,itemHeight:_t,scrollWidth:et,prefixCls:"".concat(Me,"-list"),ref:We,role:"tree",onVisibleChange:function($n){$n.every(function(br){return Oe(br)!==he})&&vn()}}),function(Dn){var $n=Dn.pos,br=Object.assign({},(K(Dn.data),Dn.data)),cr=Dn.title,Tn=Dn.key,dr=Dn.isStart,Pr=Dn.isEnd,hr=(0,it.km)(Tn,$n);delete br.key,delete br.children;var Dt=(0,it.H8)(hr,jn);return G.createElement(N,(0,c.Z)({},br,Dt,{title:cr,active:!!D&&Tn===D.key,pos:$n,data:Dn.data,isStart:dr,isEnd:Pr,motion:tt,motionNodes:Tn===he?Bt:null,motionType:Lt,onMotionStart:ht,onMotionEnd:vn,treeNodeRequiredProps:jn,onMouseMove:function(){st(null)}}))}))}),ze=St,At=h(82661),ke=h(34643),Ht=h(65065),dt=10,ct=function(oe){(0,ee.Z)(Me,oe);var qe=(0,o.Z)(Me);function Me(){var U;(0,j.Z)(this,Me);for(var M=arguments.length,ye=new Array(M),Te=0;Te<M;Te++)ye[Te]=arguments[Te];return U=qe.call.apply(qe,[this].concat(ye)),(0,C.Z)((0,re.Z)(U),"destroyed",!1),(0,C.Z)((0,re.Z)(U),"delayedDragEnterLogic",void 0),(0,C.Z)((0,re.Z)(U),"loadingRetryTimes",{}),(0,C.Z)((0,re.Z)(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,it.w$)()}),(0,C.Z)((0,re.Z)(U),"dragStartMousePosition",null),(0,C.Z)((0,re.Z)(U),"dragNodeProps",null),(0,C.Z)((0,re.Z)(U),"currentMouseOverDroppableNodeKey",null),(0,C.Z)((0,re.Z)(U),"listRef",G.createRef()),(0,C.Z)((0,re.Z)(U),"onNodeDragStart",function(xe,ae){var Fe=U.state,nt=Fe.expandedKeys,se=Fe.keyEntities,me=U.props.onDragStart,vt=ae.eventKey;U.dragNodeProps=ae,U.dragStartMousePosition={x:xe.clientX,y:xe.clientY};var ft=(0,At._5)(nt,vt);U.setState({draggingNodeKey:vt,dragChildrenKeys:(0,At.wA)(vt,se),indent:U.listRef.current.getIndentWidth()}),U.setExpandedKeys(ft),window.addEventListener("dragend",U.onWindowDragEnd),me==null||me({event:xe,node:(0,it.F)(ae)})}),(0,C.Z)((0,re.Z)(U),"onNodeDragEnter",function(xe,ae){var Fe=U.state,nt=Fe.expandedKeys,se=Fe.keyEntities,me=Fe.dragChildrenKeys,vt=Fe.flattenNodes,ft=Fe.indent,xt=U.props,gt=xt.onDragEnter,tt=xt.onExpand,Pt=xt.allowDrop,_t=xt.direction,Ae=ae.pos,et=ae.eventKey;if(U.currentMouseOverDroppableNodeKey!==et&&(U.currentMouseOverDroppableNodeKey=et),!U.dragNodeProps){U.resetDragState();return}var E=(0,At.OM)(xe,U.dragNodeProps,ae,ft,U.dragStartMousePosition,Pt,vt,se,nt,_t),D=E.dropPosition,Ve=E.dropLevelOffset,ne=E.dropTargetKey,q=E.dropContainerKey,jt=E.dropTargetPos,Ue=E.dropAllowed,st=E.dragOverNodeKey;if(me.includes(ne)||!Ue){U.resetDragState();return}if(U.delayedDragEnterLogic||(U.delayedDragEnterLogic={}),Object.keys(U.delayedDragEnterLogic).forEach(function(ht){clearTimeout(U.delayedDragEnterLogic[ht])}),U.dragNodeProps.eventKey!==ae.eventKey&&(xe.persist(),U.delayedDragEnterLogic[Ae]=window.setTimeout(function(){if(U.state.draggingNodeKey!==null){var ht=(0,le.Z)(nt),de=(0,Ht.Z)(se,ae.eventKey);de&&(de.children||[]).length&&(ht=(0,At.L0)(nt,ae.eventKey)),U.props.hasOwnProperty("expandedKeys")||U.setExpandedKeys(ht),tt==null||tt(ht,{node:(0,it.F)(ae),expanded:!0,nativeEvent:xe.nativeEvent})}},800)),U.dragNodeProps.eventKey===ne&&Ve===0){U.resetDragState();return}U.setState({dragOverNodeKey:st,dropPosition:D,dropLevelOffset:Ve,dropTargetKey:ne,dropContainerKey:q,dropTargetPos:jt,dropAllowed:Ue}),gt==null||gt({event:xe,node:(0,it.F)(ae),expandedKeys:nt})}),(0,C.Z)((0,re.Z)(U),"onNodeDragOver",function(xe,ae){var Fe=U.state,nt=Fe.dragChildrenKeys,se=Fe.flattenNodes,me=Fe.keyEntities,vt=Fe.expandedKeys,ft=Fe.indent,xt=U.props,gt=xt.onDragOver,tt=xt.allowDrop,Pt=xt.direction;if(U.dragNodeProps){var _t=(0,At.OM)(xe,U.dragNodeProps,ae,ft,U.dragStartMousePosition,tt,se,me,vt,Pt),Ae=_t.dropPosition,et=_t.dropLevelOffset,E=_t.dropTargetKey,D=_t.dropContainerKey,Ve=_t.dropTargetPos,ne=_t.dropAllowed,q=_t.dragOverNodeKey;nt.includes(E)||!ne||(U.dragNodeProps.eventKey===E&&et===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():Ae===U.state.dropPosition&&et===U.state.dropLevelOffset&&E===U.state.dropTargetKey&&D===U.state.dropContainerKey&&Ve===U.state.dropTargetPos&&ne===U.state.dropAllowed&&q===U.state.dragOverNodeKey||U.setState({dropPosition:Ae,dropLevelOffset:et,dropTargetKey:E,dropContainerKey:D,dropTargetPos:Ve,dropAllowed:ne,dragOverNodeKey:q}),gt==null||gt({event:xe,node:(0,it.F)(ae)}))}}),(0,C.Z)((0,re.Z)(U),"onNodeDragLeave",function(xe,ae){U.currentMouseOverDroppableNodeKey===ae.eventKey&&!xe.currentTarget.contains(xe.relatedTarget)&&(U.resetDragState(),U.currentMouseOverDroppableNodeKey=null);var Fe=U.props.onDragLeave;Fe==null||Fe({event:xe,node:(0,it.F)(ae)})}),(0,C.Z)((0,re.Z)(U),"onWindowDragEnd",function(xe){U.onNodeDragEnd(xe,null,!0),window.removeEventListener("dragend",U.onWindowDragEnd)}),(0,C.Z)((0,re.Z)(U),"onNodeDragEnd",function(xe,ae){var Fe=U.props.onDragEnd;U.setState({dragOverNodeKey:null}),U.cleanDragState(),Fe==null||Fe({event:xe,node:(0,it.F)(ae)}),U.dragNodeProps=null,window.removeEventListener("dragend",U.onWindowDragEnd)}),(0,C.Z)((0,re.Z)(U),"onNodeDrop",function(xe,ae){var Fe,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,se=U.state,me=se.dragChildrenKeys,vt=se.dropPosition,ft=se.dropTargetKey,xt=se.dropTargetPos,gt=se.dropAllowed;if(gt){var tt=U.props.onDrop;if(U.setState({dragOverNodeKey:null}),U.cleanDragState(),ft!==null){var Pt=(0,O.Z)((0,O.Z)({},(0,it.H8)(ft,U.getTreeNodeRequiredProps())),{},{active:((Fe=U.getActiveItem())===null||Fe===void 0?void 0:Fe.key)===ft,data:(0,Ht.Z)(U.state.keyEntities,ft).node}),_t=me.includes(ft);(0,z.ZP)(!_t,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Ae=(0,At.yx)(xt),et={event:xe,node:(0,it.F)(Pt),dragNode:U.dragNodeProps?(0,it.F)(U.dragNodeProps):null,dragNodesKeys:[U.dragNodeProps.eventKey].concat(me),dropToGap:vt!==0,dropPosition:vt+Number(Ae[Ae.length-1])};nt||tt==null||tt(et),U.dragNodeProps=null}}}),(0,C.Z)((0,re.Z)(U),"cleanDragState",function(){var xe=U.state.draggingNodeKey;xe!==null&&U.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),U.dragStartMousePosition=null,U.currentMouseOverDroppableNodeKey=null}),(0,C.Z)((0,re.Z)(U),"triggerExpandActionExpand",function(xe,ae){var Fe=U.state,nt=Fe.expandedKeys,se=Fe.flattenNodes,me=ae.expanded,vt=ae.key,ft=ae.isLeaf;if(!(ft||xe.shiftKey||xe.metaKey||xe.ctrlKey)){var xt=se.filter(function(tt){return tt.key===vt})[0],gt=(0,it.F)((0,O.Z)((0,O.Z)({},(0,it.H8)(vt,U.getTreeNodeRequiredProps())),{},{data:xt.data}));U.setExpandedKeys(me?(0,At._5)(nt,vt):(0,At.L0)(nt,vt)),U.onNodeExpand(xe,gt)}}),(0,C.Z)((0,re.Z)(U),"onNodeClick",function(xe,ae){var Fe=U.props,nt=Fe.onClick,se=Fe.expandAction;se==="click"&&U.triggerExpandActionExpand(xe,ae),nt==null||nt(xe,ae)}),(0,C.Z)((0,re.Z)(U),"onNodeDoubleClick",function(xe,ae){var Fe=U.props,nt=Fe.onDoubleClick,se=Fe.expandAction;se==="doubleClick"&&U.triggerExpandActionExpand(xe,ae),nt==null||nt(xe,ae)}),(0,C.Z)((0,re.Z)(U),"onNodeSelect",function(xe,ae){var Fe=U.state.selectedKeys,nt=U.state,se=nt.keyEntities,me=nt.fieldNames,vt=U.props,ft=vt.onSelect,xt=vt.multiple,gt=ae.selected,tt=ae[me.key],Pt=!gt;Pt?xt?Fe=(0,At.L0)(Fe,tt):Fe=[tt]:Fe=(0,At._5)(Fe,tt);var _t=Fe.map(function(Ae){var et=(0,Ht.Z)(se,Ae);return et?et.node:null}).filter(Boolean);U.setUncontrolledState({selectedKeys:Fe}),ft==null||ft(Fe,{event:"select",selected:Pt,node:ae,selectedNodes:_t,nativeEvent:xe.nativeEvent})}),(0,C.Z)((0,re.Z)(U),"onNodeCheck",function(xe,ae,Fe){var nt=U.state,se=nt.keyEntities,me=nt.checkedKeys,vt=nt.halfCheckedKeys,ft=U.props,xt=ft.checkStrictly,gt=ft.onCheck,tt=ae.key,Pt,_t={event:"check",node:ae,checked:Fe,nativeEvent:xe.nativeEvent};if(xt){var Ae=Fe?(0,At.L0)(me,tt):(0,At._5)(me,tt),et=(0,At._5)(vt,tt);Pt={checked:Ae,halfChecked:et},_t.checkedNodes=Ae.map(function(jt){return(0,Ht.Z)(se,jt)}).filter(Boolean).map(function(jt){return jt.node}),U.setUncontrolledState({checkedKeys:Ae})}else{var E=(0,ke.S)([].concat((0,le.Z)(me),[tt]),!0,se),D=E.checkedKeys,Ve=E.halfCheckedKeys;if(!Fe){var ne=new Set(D);ne.delete(tt);var q=(0,ke.S)(Array.from(ne),{checked:!1,halfCheckedKeys:Ve},se);D=q.checkedKeys,Ve=q.halfCheckedKeys}Pt=D,_t.checkedNodes=[],_t.checkedNodesPositions=[],_t.halfCheckedKeys=Ve,D.forEach(function(jt){var Ue=(0,Ht.Z)(se,jt);if(Ue){var st=Ue.node,ht=Ue.pos;_t.checkedNodes.push(st),_t.checkedNodesPositions.push({node:st,pos:ht})}}),U.setUncontrolledState({checkedKeys:D},!1,{halfCheckedKeys:Ve})}gt==null||gt(Pt,_t)}),(0,C.Z)((0,re.Z)(U),"onNodeLoad",function(xe){var ae,Fe=xe.key,nt=U.state.keyEntities,se=(0,Ht.Z)(nt,Fe);if(!(se!=null&&(ae=se.children)!==null&&ae!==void 0&&ae.length)){var me=new Promise(function(vt,ft){U.setState(function(xt){var gt=xt.loadedKeys,tt=gt===void 0?[]:gt,Pt=xt.loadingKeys,_t=Pt===void 0?[]:Pt,Ae=U.props,et=Ae.loadData,E=Ae.onLoad;if(!et||tt.includes(Fe)||_t.includes(Fe))return null;var D=et(xe);return D.then(function(){var Ve=U.state.loadedKeys,ne=(0,At.L0)(Ve,Fe);E==null||E(ne,{event:"load",node:xe}),U.setUncontrolledState({loadedKeys:ne}),U.setState(function(q){return{loadingKeys:(0,At._5)(q.loadingKeys,Fe)}}),vt()}).catch(function(Ve){if(U.setState(function(q){return{loadingKeys:(0,At._5)(q.loadingKeys,Fe)}}),U.loadingRetryTimes[Fe]=(U.loadingRetryTimes[Fe]||0)+1,U.loadingRetryTimes[Fe]>=dt){var ne=U.state.loadedKeys;(0,z.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),U.setUncontrolledState({loadedKeys:(0,At.L0)(ne,Fe)}),vt()}ft(Ve)}),{loadingKeys:(0,At.L0)(_t,Fe)}})});return me.catch(function(){}),me}}),(0,C.Z)((0,re.Z)(U),"onNodeMouseEnter",function(xe,ae){var Fe=U.props.onMouseEnter;Fe==null||Fe({event:xe,node:ae})}),(0,C.Z)((0,re.Z)(U),"onNodeMouseLeave",function(xe,ae){var Fe=U.props.onMouseLeave;Fe==null||Fe({event:xe,node:ae})}),(0,C.Z)((0,re.Z)(U),"onNodeContextMenu",function(xe,ae){var Fe=U.props.onRightClick;Fe&&(xe.preventDefault(),Fe({event:xe,node:ae}))}),(0,C.Z)((0,re.Z)(U),"onFocus",function(){var xe=U.props.onFocus;U.setState({focused:!0});for(var ae=arguments.length,Fe=new Array(ae),nt=0;nt<ae;nt++)Fe[nt]=arguments[nt];xe==null||xe.apply(void 0,Fe)}),(0,C.Z)((0,re.Z)(U),"onBlur",function(){var xe=U.props.onBlur;U.setState({focused:!1}),U.onActiveChange(null);for(var ae=arguments.length,Fe=new Array(ae),nt=0;nt<ae;nt++)Fe[nt]=arguments[nt];xe==null||xe.apply(void 0,Fe)}),(0,C.Z)((0,re.Z)(U),"getTreeNodeRequiredProps",function(){var xe=U.state,ae=xe.expandedKeys,Fe=xe.selectedKeys,nt=xe.loadedKeys,se=xe.loadingKeys,me=xe.checkedKeys,vt=xe.halfCheckedKeys,ft=xe.dragOverNodeKey,xt=xe.dropPosition,gt=xe.keyEntities;return{expandedKeys:ae||[],selectedKeys:Fe||[],loadedKeys:nt||[],loadingKeys:se||[],checkedKeys:me||[],halfCheckedKeys:vt||[],dragOverNodeKey:ft,dropPosition:xt,keyEntities:gt}}),(0,C.Z)((0,re.Z)(U),"setExpandedKeys",function(xe){var ae=U.state,Fe=ae.treeData,nt=ae.fieldNames,se=(0,it.oH)(Fe,xe,nt);U.setUncontrolledState({expandedKeys:xe,flattenNodes:se},!0)}),(0,C.Z)((0,re.Z)(U),"onNodeExpand",function(xe,ae){var Fe=U.state.expandedKeys,nt=U.state,se=nt.listChanging,me=nt.fieldNames,vt=U.props,ft=vt.onExpand,xt=vt.loadData,gt=ae.expanded,tt=ae[me.key];if(!se){var Pt=Fe.includes(tt),_t=!gt;if((0,z.ZP)(gt&&Pt||!gt&&!Pt,"Expand state not sync with index check"),Fe=_t?(0,At.L0)(Fe,tt):(0,At._5)(Fe,tt),U.setExpandedKeys(Fe),ft==null||ft(Fe,{node:ae,expanded:_t,nativeEvent:xe.nativeEvent}),_t&&xt){var Ae=U.onNodeLoad(ae);Ae&&Ae.then(function(){var et=(0,it.oH)(U.state.treeData,Fe,me);U.setUncontrolledState({flattenNodes:et})}).catch(function(){var et=U.state.expandedKeys,E=(0,At._5)(et,tt);U.setExpandedKeys(E)})}}}),(0,C.Z)((0,re.Z)(U),"onListChangeStart",function(){U.setUncontrolledState({listChanging:!0})}),(0,C.Z)((0,re.Z)(U),"onListChangeEnd",function(){setTimeout(function(){U.setUncontrolledState({listChanging:!1})})}),(0,C.Z)((0,re.Z)(U),"onActiveChange",function(xe){var ae=U.state.activeKey,Fe=U.props,nt=Fe.onActiveChange,se=Fe.itemScrollOffset,me=se===void 0?0:se;ae!==xe&&(U.setState({activeKey:xe}),xe!==null&&U.scrollTo({key:xe,offset:me}),nt==null||nt(xe))}),(0,C.Z)((0,re.Z)(U),"getActiveItem",function(){var xe=U.state,ae=xe.activeKey,Fe=xe.flattenNodes;return ae===null?null:Fe.find(function(nt){var se=nt.key;return se===ae})||null}),(0,C.Z)((0,re.Z)(U),"offsetActiveKey",function(xe){var ae=U.state,Fe=ae.flattenNodes,nt=ae.activeKey,se=Fe.findIndex(function(ft){var xt=ft.key;return xt===nt});se===-1&&xe<0&&(se=Fe.length),se=(se+xe+Fe.length)%Fe.length;var me=Fe[se];if(me){var vt=me.key;U.onActiveChange(vt)}else U.onActiveChange(null)}),(0,C.Z)((0,re.Z)(U),"onKeyDown",function(xe){var ae=U.state,Fe=ae.activeKey,nt=ae.expandedKeys,se=ae.checkedKeys,me=ae.fieldNames,vt=U.props,ft=vt.onKeyDown,xt=vt.checkable,gt=vt.selectable;switch(xe.which){case A.Z.UP:{U.offsetActiveKey(-1),xe.preventDefault();break}case A.Z.DOWN:{U.offsetActiveKey(1),xe.preventDefault();break}}var tt=U.getActiveItem();if(tt&&tt.data){var Pt=U.getTreeNodeRequiredProps(),_t=tt.data.isLeaf===!1||!!(tt.data[me.children]||[]).length,Ae=(0,it.F)((0,O.Z)((0,O.Z)({},(0,it.H8)(Fe,Pt)),{},{data:tt.data,active:!0}));switch(xe.which){case A.Z.LEFT:{_t&&nt.includes(Fe)?U.onNodeExpand({},Ae):tt.parent&&U.onActiveChange(tt.parent.key),xe.preventDefault();break}case A.Z.RIGHT:{_t&&!nt.includes(Fe)?U.onNodeExpand({},Ae):tt.children&&tt.children.length&&U.onActiveChange(tt.children[0].key),xe.preventDefault();break}case A.Z.ENTER:case A.Z.SPACE:{xt&&!Ae.disabled&&Ae.checkable!==!1&&!Ae.disableCheckbox?U.onNodeCheck({},Ae,!se.includes(Fe)):!xt&>&&!Ae.disabled&&Ae.selectable!==!1&&U.onNodeSelect({},Ae);break}}}ft==null||ft(xe)}),(0,C.Z)((0,re.Z)(U),"setUncontrolledState",function(xe){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!U.destroyed){var nt=!1,se=!0,me={};Object.keys(xe).forEach(function(vt){if(U.props.hasOwnProperty(vt)){se=!1;return}nt=!0,me[vt]=xe[vt]}),nt&&(!ae||se)&&U.setState((0,O.Z)((0,O.Z)({},me),Fe))}}),(0,C.Z)((0,re.Z)(U),"scrollTo",function(xe){U.listRef.current.scrollTo(xe)}),U}return(0,v.Z)(Me,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var M=this.props,ye=M.activeKey,Te=M.itemScrollOffset,xe=Te===void 0?0:Te;ye!==void 0&&ye!==this.state.activeKey&&(this.setState({activeKey:ye}),ye!==null&&this.scrollTo({key:ye,offset:xe}))}},{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 M=this.state,ye=M.focused,Te=M.flattenNodes,xe=M.keyEntities,ae=M.draggingNodeKey,Fe=M.activeKey,nt=M.dropLevelOffset,se=M.dropContainerKey,me=M.dropTargetKey,vt=M.dropPosition,ft=M.dragOverNodeKey,xt=M.indent,gt=this.props,tt=gt.prefixCls,Pt=gt.className,_t=gt.style,Ae=gt.showLine,et=gt.focusable,E=gt.tabIndex,D=E===void 0?0:E,Ve=gt.selectable,ne=gt.showIcon,q=gt.icon,jt=gt.switcherIcon,Ue=gt.draggable,st=gt.checkable,ht=gt.checkStrictly,de=gt.disabled,be=gt.motion,We=gt.loadData,Ze=gt.filterTreeNode,Q=gt.height,Mt=gt.itemHeight,_e=gt.scrollWidth,bt=gt.virtual,An=gt.titleRender,xn=gt.dropIndicatorRender,Er=gt.onContextMenu,vr=gt.onScroll,gr=gt.direction,Hr=gt.rootClassName,fi=gt.rootStyle,lr=(0,L.Z)(this.props,{aria:!0,data:!0}),ii;Ue&&((0,ie.Z)(Ue)==="object"?ii=Ue:typeof Ue=="function"?ii={nodeDraggable:Ue}:ii={});var Wn={prefixCls:tt,selectable:Ve,showIcon:ne,icon:q,switcherIcon:jt,draggable:ii,draggingNodeKey:ae,checkable:st,checkStrictly:ht,disabled:de,keyEntities:xe,dropLevelOffset:nt,dropContainerKey:se,dropTargetKey:me,dropPosition:vt,dragOverNodeKey:ft,indent:xt,direction:gr,dropIndicatorRender:xn,loadData:We,filterTreeNode:Ze,titleRender:An,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};return G.createElement(Z.k.Provider,{value:Wn},G.createElement("div",{className:x()(tt,Pt,Hr,(0,C.Z)((0,C.Z)((0,C.Z)({},"".concat(tt,"-show-line"),Ae),"".concat(tt,"-focused"),ye),"".concat(tt,"-active-focused"),Fe!==null)),style:fi},G.createElement(ze,(0,c.Z)({ref:this.listRef,prefixCls:tt,style:_t,data:Te,disabled:de,selectable:Ve,checkable:!!st,motion:be,dragging:ae!==null,height:Q,itemHeight:Mt,virtual:bt,focusable:et,focused:ye,tabIndex:D,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Er,onScroll:vr,scrollWidth:_e},this.getTreeNodeRequiredProps(),lr))))}}],[{key:"getDerivedStateFromProps",value:function(M,ye){var Te=ye.prevProps,xe={prevProps:M};function ae(D){return!Te&&M.hasOwnProperty(D)||Te&&Te[D]!==M[D]}var Fe,nt=ye.fieldNames;if(ae("fieldNames")&&(nt=(0,it.w$)(M.fieldNames),xe.fieldNames=nt),ae("treeData")?Fe=M.treeData:ae("children")&&((0,z.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Fe=(0,it.zn)(M.children)),Fe){xe.treeData=Fe;var se=(0,it.I8)(Fe,{fieldNames:nt});xe.keyEntities=(0,O.Z)((0,C.Z)({},he,Qe),se.keyEntities)}var me=xe.keyEntities||ye.keyEntities;if(ae("expandedKeys")||Te&&ae("autoExpandParent"))xe.expandedKeys=M.autoExpandParent||!Te&&M.defaultExpandParent?(0,At.r7)(M.expandedKeys,me):M.expandedKeys;else if(!Te&&M.defaultExpandAll){var vt=(0,O.Z)({},me);delete vt[he];var ft=[];Object.keys(vt).forEach(function(D){var Ve=vt[D];Ve.children&&Ve.children.length&&ft.push(Ve.key)}),xe.expandedKeys=ft}else!Te&&M.defaultExpandedKeys&&(xe.expandedKeys=M.autoExpandParent||M.defaultExpandParent?(0,At.r7)(M.defaultExpandedKeys,me):M.defaultExpandedKeys);if(xe.expandedKeys||delete xe.expandedKeys,Fe||xe.expandedKeys){var xt=(0,it.oH)(Fe||ye.treeData,xe.expandedKeys||ye.expandedKeys,nt);xe.flattenNodes=xt}if(M.selectable&&(ae("selectedKeys")?xe.selectedKeys=(0,At.BT)(M.selectedKeys,M):!Te&&M.defaultSelectedKeys&&(xe.selectedKeys=(0,At.BT)(M.defaultSelectedKeys,M))),M.checkable){var gt;if(ae("checkedKeys")?gt=(0,At.E6)(M.checkedKeys)||{}:!Te&&M.defaultCheckedKeys?gt=(0,At.E6)(M.defaultCheckedKeys)||{}:Fe&&(gt=(0,At.E6)(M.checkedKeys)||{checkedKeys:ye.checkedKeys,halfCheckedKeys:ye.halfCheckedKeys}),gt){var tt=gt,Pt=tt.checkedKeys,_t=Pt===void 0?[]:Pt,Ae=tt.halfCheckedKeys,et=Ae===void 0?[]:Ae;if(!M.checkStrictly){var E=(0,ke.S)(_t,!0,me);_t=E.checkedKeys,et=E.halfCheckedKeys}xe.checkedKeys=_t,xe.halfCheckedKeys=et}}return ae("loadedKeys")&&(xe.loadedKeys=M.loadedKeys),xe}}]),Me}(G.Component);(0,C.Z)(ct,"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:P,allowDrop:function(){return!0},expandAction:!1}),(0,C.Z)(ct,"TreeNode",Be.Z);var Xe=ct,Re=Xe},82661:function(On,at,h){"use strict";h.d(at,{BT:function(){return G},E6:function(){return P},L0:function(){return C},OM:function(){return z},_5:function(){return o},r7:function(){return K},wA:function(){return x},yx:function(){return F}});var c=h(77654),ie=h(43749),O=h(48736),le=h(59301),j=h(639),v=h(65065),re=h(34061),ee=null;function o(g,T){if(!g)return[];var fe=g.slice(),Ee=fe.indexOf(T);return Ee>=0&&fe.splice(Ee,1),fe}function C(g,T){var fe=(g||[]).slice();return fe.indexOf(T)===-1&&fe.push(T),fe}function F(g){return g.split("-")}function x(g,T){var fe=[],Ee=(0,v.Z)(T,g);function pe(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Be.forEach(function(je){var Le=je.key,it=je.children;fe.push(Le),pe(it)})}return pe(Ee.children),fe}function A(g){if(g.parent){var T=F(g.pos);return Number(T[T.length-1])===g.parent.children.length-1}return!1}function L(g){var T=F(g.pos);return Number(T[T.length-1])===0}function z(g,T,fe,Ee,pe,Be,je,Le,it,ce){var Y,N=g.clientX,ve=g.clientY,ue=g.target.getBoundingClientRect(),we=ue.top,_=ue.height,I=(ce==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-N),he=(I-12)/Ee,Ne=it.filter(function(Re){var oe;return(oe=Le[Re])===null||oe===void 0||(oe=oe.children)===null||oe===void 0?void 0:oe.length}),Qe=(0,v.Z)(Le,fe.eventKey);if(ve<we+_/2){var Et=je.findIndex(function(Re){return Re.key===Qe.key}),He=Et<=0?0:Et-1,Oe=je[He].key;Qe=(0,v.Z)(Le,Oe)}var lt=Qe.key,St=Qe,ze=Qe.key,At=0,ke=0;if(!Ne.includes(lt))for(var Ht=0;Ht<he&&A(Qe);Ht+=1)Qe=Qe.parent,ke+=1;var dt=T.data,ct=Qe.node,Xe=!0;return L(Qe)&&Qe.level===0&&ve<we+_/2&&Be({dragNode:dt,dropNode:ct,dropPosition:-1})&&Qe.key===fe.eventKey?At=-1:(St.children||[]).length&&Ne.includes(ze)?Be({dragNode:dt,dropNode:ct,dropPosition:0})?At=0:Xe=!1:ke===0?he>-1.5?Be({dragNode:dt,dropNode:ct,dropPosition:1})?At=1:Xe=!1:Be({dragNode:dt,dropNode:ct,dropPosition:0})?At=0:Be({dragNode:dt,dropNode:ct,dropPosition:1})?At=1:Xe=!1:Be({dragNode:dt,dropNode:ct,dropPosition:1})?At=1:Xe=!1,{dropPosition:At,dropLevelOffset:ke,dropTargetKey:Qe.key,dropTargetPos:Qe.pos,dragOverNodeKey:ze,dropContainerKey:At===0?null:((Y=Qe.parent)===null||Y===void 0?void 0:Y.key)||null,dropAllowed:Xe}}function G(g,T){if(g){var fe=T.multiple;return fe?g.slice():g.length?[g[0]]:g}}var Z=function(T){return T};function W(g,T){if(!g)return[];var fe=T||{},Ee=fe.processProps,pe=Ee===void 0?Z:Ee,Be=Array.isArray(g)?g:[g];return Be.map(function(je){var Le=je.children,it=_objectWithoutProperties(je,ee),ce=W(Le,T);return React.createElement(TreeNode,_extends({key:it.key},pe(it)),ce)})}function P(g){if(!g)return null;var T;if(Array.isArray(g))T={checkedKeys:g,halfCheckedKeys:void 0};else if((0,ie.Z)(g)==="object")T={checkedKeys:g.checked||void 0,halfCheckedKeys:g.halfChecked||void 0};else return(0,O.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return T}function K(g,T){var fe=new Set;function Ee(pe){if(!fe.has(pe)){var Be=(0,v.Z)(T,pe);if(Be){fe.add(pe);var je=Be.parent,Le=Be.node;Le.disabled||je&&Ee(je.key)}}}return(g||[]).forEach(function(pe){Ee(pe)}),(0,c.Z)(fe)}},34643:function(On,at,h){"use strict";h.d(at,{S:function(){return re}});var c=h(48736),ie=h(65065);function O(ee,o){var C=new Set;return ee.forEach(function(F){o.has(F)||C.add(F)}),C}function le(ee){var o=ee||{},C=o.disabled,F=o.disableCheckbox,x=o.checkable;return!!(C||F)||x===!1}function j(ee,o,C,F){for(var x=new Set(ee),A=new Set,L=0;L<=C;L+=1){var z=o.get(L)||new Set;z.forEach(function(P){var K=P.key,g=P.node,T=P.children,fe=T===void 0?[]:T;x.has(K)&&!F(g)&&fe.filter(function(Ee){return!F(Ee.node)}).forEach(function(Ee){x.add(Ee.key)})})}for(var G=new Set,Z=C;Z>=0;Z-=1){var W=o.get(Z)||new Set;W.forEach(function(P){var K=P.parent,g=P.node;if(!(F(g)||!P.parent||G.has(P.parent.key))){if(F(P.parent.node)){G.add(K.key);return}var T=!0,fe=!1;(K.children||[]).filter(function(Ee){return!F(Ee.node)}).forEach(function(Ee){var pe=Ee.key,Be=x.has(pe);T&&!Be&&(T=!1),!fe&&(Be||A.has(pe))&&(fe=!0)}),T&&x.add(K.key),fe&&A.add(K.key),G.add(K.key)}})}return{checkedKeys:Array.from(x),halfCheckedKeys:Array.from(O(A,x))}}function v(ee,o,C,F,x){for(var A=new Set(ee),L=new Set(o),z=0;z<=F;z+=1){var G=C.get(z)||new Set;G.forEach(function(K){var g=K.key,T=K.node,fe=K.children,Ee=fe===void 0?[]:fe;!A.has(g)&&!L.has(g)&&!x(T)&&Ee.filter(function(pe){return!x(pe.node)}).forEach(function(pe){A.delete(pe.key)})})}L=new Set;for(var Z=new Set,W=F;W>=0;W-=1){var P=C.get(W)||new Set;P.forEach(function(K){var g=K.parent,T=K.node;if(!(x(T)||!K.parent||Z.has(K.parent.key))){if(x(K.parent.node)){Z.add(g.key);return}var fe=!0,Ee=!1;(g.children||[]).filter(function(pe){return!x(pe.node)}).forEach(function(pe){var Be=pe.key,je=A.has(Be);fe&&!je&&(fe=!1),!Ee&&(je||L.has(Be))&&(Ee=!0)}),fe||A.delete(g.key),Ee&&L.add(g.key),Z.add(g.key)}})}return{checkedKeys:Array.from(A),halfCheckedKeys:Array.from(O(L,A))}}function re(ee,o,C,F){var x=[],A;F?A=F:A=le;var L=new Set(ee.filter(function(W){var P=!!(0,ie.Z)(C,W);return P||x.push(W),P})),z=new Map,G=0;Object.keys(C).forEach(function(W){var P=C[W],K=P.level,g=z.get(K);g||(g=new Set,z.set(K,g)),g.add(P),G=Math.max(G,K)}),(0,c.ZP)(!x.length,"Tree missing follow keys: ".concat(x.slice(0,100).map(function(W){return"'".concat(W,"'")}).join(", ")));var Z;return o===!0?Z=j(L,z,G,A):Z=v(L,o.halfCheckedKeys,z,G,A),Z}},65065:function(On,at,h){"use strict";h.d(at,{Z:function(){return c}});function c(ie,O){return ie[O]}},34061:function(On,at,h){"use strict";h.d(at,{F:function(){return K},H8:function(){return P},I8:function(){return W},km:function(){return x},oH:function(){return G},w$:function(){return A},zn:function(){return z}});var c=h(43749),ie=h(77654),O=h(85899),le=h(42244),j=h(11592),v=h(2738),re=h(48736),ee=h(65065),o=["children"];function C(g,T){return"".concat(g,"-").concat(T)}function F(g){return g&&g.type&&g.type.isTreeNode}function x(g,T){return g!=null?g:T}function A(g){var T=g||{},fe=T.title,Ee=T._title,pe=T.key,Be=T.children,je=fe||"title";return{title:je,_title:Ee||[je],key:pe||"key",children:Be||"children"}}function L(g,T){var fe=new Map;function Ee(pe){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(pe||[]).forEach(function(je){var Le=je[T.key],it=je[T.children];warning(Le!=null,"Tree node must have a certain key: [".concat(Be).concat(Le,"]"));var ce=String(Le);warning(!fe.has(ce)||Le===null||Le===void 0,"Same 'key' exist in the Tree: ".concat(ce)),fe.set(ce,!0),Ee(it,"".concat(Be).concat(ce," > "))})}Ee(g)}function z(g){function T(fe){var Ee=(0,j.Z)(fe);return Ee.map(function(pe){if(!F(pe))return(0,re.ZP)(!pe,"Tree/TreeNode can only accept TreeNode as children."),null;var Be=pe.key,je=pe.props,Le=je.children,it=(0,le.Z)(je,o),ce=(0,O.Z)({key:Be},it),Y=T(Le);return Y.length&&(ce.children=Y),ce}).filter(function(pe){return pe})}return T(g)}function G(g,T,fe){var Ee=A(fe),pe=Ee._title,Be=Ee.key,je=Ee.children,Le=new Set(T===!0?[]:T),it=[];function ce(Y){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Y.map(function(ve,ue){for(var we=C(N?N.pos:"0",ue),_=x(ve[Be],we),I,he=0;he<pe.length;he+=1){var Ne=pe[he];if(ve[Ne]!==void 0){I=ve[Ne];break}}var Qe=Object.assign((0,v.Z)(ve,[].concat((0,ie.Z)(pe),[Be,je])),{title:I,key:_,parent:N,pos:we,children:null,data:ve,isStart:[].concat((0,ie.Z)(N?N.isStart:[]),[ue===0]),isEnd:[].concat((0,ie.Z)(N?N.isEnd:[]),[ue===Y.length-1])});return it.push(Qe),T===!0||Le.has(_)?Qe.children=ce(ve[je]||[],Qe):Qe.children=[],Qe})}return ce(g),it}function Z(g,T,fe){var Ee={};(0,c.Z)(fe)==="object"?Ee=fe:Ee={externalGetKey:fe},Ee=Ee||{};var pe=Ee,Be=pe.childrenPropName,je=pe.externalGetKey,Le=pe.fieldNames,it=A(Le),ce=it.key,Y=it.children,N=Be||Y,ve;je?typeof je=="string"?ve=function(_){return _[je]}:typeof je=="function"&&(ve=function(_){return je(_)}):ve=function(_,I){return x(_[ce],I)};function ue(we,_,I,he){var Ne=we?we[N]:g,Qe=we?C(I.pos,_):"0",Et=we?[].concat((0,ie.Z)(he),[we]):[];if(we){var He=ve(we,Qe),Oe={node:we,index:_,pos:Qe,key:He,parentPos:I.node?I.pos:null,level:I.level+1,nodes:Et};T(Oe)}Ne&&Ne.forEach(function(lt,St){ue(lt,St,{node:we,pos:Qe,level:I?I.level+1:-1},Et)})}ue(null)}function W(g){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fe=T.initWrapper,Ee=T.processEntity,pe=T.onProcessFinished,Be=T.externalGetKey,je=T.childrenPropName,Le=T.fieldNames,it=arguments.length>2?arguments[2]:void 0,ce=Be||it,Y={},N={},ve={posEntities:Y,keyEntities:N};return fe&&(ve=fe(ve)||ve),Z(g,function(ue){var we=ue.node,_=ue.index,I=ue.pos,he=ue.key,Ne=ue.parentPos,Qe=ue.level,Et=ue.nodes,He={node:we,nodes:Et,index:_,key:he,pos:I,level:Qe},Oe=x(he,I);Y[I]=He,N[Oe]=He,He.parent=Y[Ne],He.parent&&(He.parent.children=He.parent.children||[],He.parent.children.push(He)),Ee&&Ee(He,ve)},{externalGetKey:ce,childrenPropName:je,fieldNames:Le}),pe&&pe(ve),ve}function P(g,T){var fe=T.expandedKeys,Ee=T.selectedKeys,pe=T.loadedKeys,Be=T.loadingKeys,je=T.checkedKeys,Le=T.halfCheckedKeys,it=T.dragOverNodeKey,ce=T.dropPosition,Y=T.keyEntities,N=(0,ee.Z)(Y,g),ve={eventKey:g,expanded:fe.indexOf(g)!==-1,selected:Ee.indexOf(g)!==-1,loaded:pe.indexOf(g)!==-1,loading:Be.indexOf(g)!==-1,checked:je.indexOf(g)!==-1,halfChecked:Le.indexOf(g)!==-1,pos:String(N?N.pos:""),dragOver:it===g&&ce===0,dragOverGapTop:it===g&&ce===-1,dragOverGapBottom:it===g&&ce===1};return ve}function K(g){var T=g.data,fe=g.expanded,Ee=g.selected,pe=g.checked,Be=g.loaded,je=g.loading,Le=g.halfChecked,it=g.dragOver,ce=g.dragOverGapTop,Y=g.dragOverGapBottom,N=g.pos,ve=g.active,ue=g.eventKey,we=(0,O.Z)((0,O.Z)({},T),{},{expanded:fe,selected:Ee,checked:pe,loaded:Be,loading:je,halfChecked:Le,dragOver:it,dragOverGapTop:ce,dragOverGapBottom:Y,pos:N,active:ve,key:ue});return"props"in we||Object.defineProperty(we,"props",{get:function(){return(0,re.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),g}}),we}},8224:function(On,at,h){"use strict";h.d(at,{Z:function(){return ie}});var c=h(4676);function ie(O,le,j,v){var re=c.unstable_batchedUpdates?function(o){c.unstable_batchedUpdates(j,o)}:j;return O!=null&&O.addEventListener&&O.addEventListener(le,re,v),{remove:function(){O!=null&&O.removeEventListener&&O.removeEventListener(le,re,v)}}}},24514:function(On,at,h){"use strict";h.d(at,{G:function(){return le}});var c=h(47273),ie=function(v){if((0,c.Z)()&&window.document.documentElement){var re=Array.isArray(v)?v:[v],ee=window.document.documentElement;return re.some(function(o){return o in ee.style})}return!1},O=function(v,re){if(!ie(v))return!1;var ee=document.createElement("div"),o=ee.style[v];return ee.style[v]=re,ee.style[v]!==o};function le(j,v){return!Array.isArray(j)&&v!==void 0?O(j,v):ie(j)}},49658:function(On,at){"use strict";at.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var h=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(h)||/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(h==null?void 0:h.substr(0,4))}},48911:function(On,at,h){"use strict";h.d(at,{Z:function(){return dt}});var c=h(60499),ie=h(43749),O=h(85899),le=h(18642),j=h(72190),v=h(42244),re=h(92310),ee=h.n(re),o=h(29301),C=h(70425),F=h(34280),x=h(59301),A=h(4676),L=x.forwardRef(function(ct,Xe){var Re=ct.height,oe=ct.offsetY,qe=ct.offsetX,Me=ct.children,U=ct.prefixCls,M=ct.onInnerResize,ye=ct.innerProps,Te=ct.rtl,xe=ct.extra,ae={},Fe={display:"flex",flexDirection:"column"};return oe!==void 0&&(ae={height:Re,position:"relative",overflow:"hidden"},Fe=(0,O.Z)((0,O.Z)({},Fe),{},(0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)({transform:"translateY(".concat(oe,"px)")},Te?"marginRight":"marginLeft",-qe),"position","absolute"),"left",0),"right",0),"top",0))),x.createElement("div",{style:ae},x.createElement(o.Z,{onResize:function(se){var me=se.offsetHeight;me&&M&&M()}},x.createElement("div",(0,c.Z)({style:Fe,className:ee()((0,le.Z)({},"".concat(U,"-holder-inner"),U)),ref:Xe},ye),Me,xe)))});L.displayName="Filler";var z=L;function G(ct){var Xe=ct.children,Re=ct.setRef,oe=x.useCallback(function(qe){Re(qe)},[]);return x.cloneElement(Xe,{ref:oe})}function Z(ct,Xe,Re,oe,qe,Me,U,M){var ye=M.getKey;return ct.slice(Xe,Re+1).map(function(Te,xe){var ae=Xe+xe,Fe=U(Te,ae,{style:{width:oe},offsetX:qe}),nt=ye(Te);return x.createElement(G,{key:nt,setRef:function(me){return Me(Te,me)}},Fe)})}function W(ct,Xe,Re,oe){var qe=Re-ct,Me=Xe-Re,U=Math.min(qe,Me)*2;if(oe<=U){var M=Math.floor(oe/2);return oe%2?Re+M+1:Re-M}return qe>Me?Re-(oe-Me):Re+(oe-qe)}function P(ct,Xe,Re){var oe=ct.length,qe=Xe.length,Me,U;if(oe===0&&qe===0)return null;oe<qe?(Me=ct,U=Xe):(Me=Xe,U=ct);var M={__EMPTY_ITEM__:!0};function ye(se){return se!==void 0?Re(se):M}for(var Te=null,xe=Math.abs(oe-qe)!==1,ae=0;ae<U.length;ae+=1){var Fe=ye(Me[ae]),nt=ye(U[ae]);if(Fe!==nt){Te=ae,xe=xe||Fe!==ye(U[ae+1]);break}}return Te===null?null:{index:Te,multiple:xe}}function K(ct,Xe,Re){var oe=x.useState(ct),qe=(0,j.Z)(oe,2),Me=qe[0],U=qe[1],M=x.useState(null),ye=(0,j.Z)(M,2),Te=ye[0],xe=ye[1];return x.useEffect(function(){var ae=P(Me||[],ct||[],Xe);(ae==null?void 0:ae.index)!==void 0&&(Re==null||Re(ae.index),xe(ct[ae.index])),U(ct)},[ct]),[Te]}var g=h(16089),T=(typeof navigator=="undefined"?"undefined":(0,ie.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),fe=T,Ee=function(ct,Xe,Re,oe){var qe=(0,x.useRef)(!1),Me=(0,x.useRef)(null);function U(){clearTimeout(Me.current),qe.current=!0,Me.current=setTimeout(function(){qe.current=!1},50)}var M=(0,x.useRef)({top:ct,bottom:Xe,left:Re,right:oe});return M.current.top=ct,M.current.bottom=Xe,M.current.left=Re,M.current.right=oe,function(ye,Te){var xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ae=ye?Te<0&&M.current.left||Te>0&&M.current.right:Te<0&&M.current.top||Te>0&&M.current.bottom;return xe&&ae?(clearTimeout(Me.current),qe.current=!1):(!ae||qe.current)&&U(),!qe.current&&ae}};function pe(ct,Xe,Re,oe,qe,Me,U){var M=(0,x.useRef)(0),ye=(0,x.useRef)(null),Te=(0,x.useRef)(null),xe=(0,x.useRef)(!1),ae=Ee(Xe,Re,oe,qe);function Fe(xt,gt){if(g.Z.cancel(ye.current),!ae(!1,gt)){var tt=xt;if(!tt._virtualHandled)tt._virtualHandled=!0;else return;M.current+=gt,Te.current=gt,fe||tt.preventDefault(),ye.current=(0,g.Z)(function(){var Pt=xe.current?10:1;U(M.current*Pt,!1),M.current=0})}}function nt(xt,gt){U(gt,!0),fe||xt.preventDefault()}var se=(0,x.useRef)(null),me=(0,x.useRef)(null);function vt(xt){if(ct){g.Z.cancel(me.current),me.current=(0,g.Z)(function(){se.current=null},2);var gt=xt.deltaX,tt=xt.deltaY,Pt=xt.shiftKey,_t=gt,Ae=tt;(se.current==="sx"||!se.current&&Pt&&tt&&!gt)&&(_t=tt,Ae=0,se.current="sx");var et=Math.abs(_t),E=Math.abs(Ae);se.current===null&&(se.current=Me&&et>E?"x":"y"),se.current==="y"?Fe(xt,Ae):nt(xt,_t)}}function ft(xt){ct&&(xe.current=xt.detail===Te.current)}return[vt,ft]}function Be(ct,Xe,Re,oe){var qe=x.useMemo(function(){return[new Map,[]]},[ct,Re.id,oe]),Me=(0,j.Z)(qe,2),U=Me[0],M=Me[1],ye=function(xe){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:xe,Fe=U.get(xe),nt=U.get(ae);if(Fe===void 0||nt===void 0)for(var se=ct.length,me=M.length;me<se;me+=1){var vt,ft=ct[me],xt=Xe(ft);U.set(xt,me);var gt=(vt=Re.get(xt))!==null&&vt!==void 0?vt:oe;if(M[me]=(M[me-1]||0)+gt,xt===xe&&(Fe=me),xt===ae&&(nt=me),Fe!==void 0&&nt!==void 0)break}return{top:M[Fe-1]||0,bottom:M[nt]}};return ye}var je=h(38705),Le=h(17212),it=function(){function ct(){(0,je.Z)(this,ct),(0,le.Z)(this,"maps",void 0),(0,le.Z)(this,"id",0),(0,le.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,Le.Z)(ct,[{key:"set",value:function(Re,oe){this.diffRecords.set(Re,this.maps[Re]),this.maps[Re]=oe,this.id+=1}},{key:"get",value:function(Re){return this.maps[Re]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),ct}(),ce=it;function Y(ct){var Xe=parseFloat(ct);return isNaN(Xe)?0:Xe}function N(ct,Xe,Re){var oe=x.useState(0),qe=(0,j.Z)(oe,2),Me=qe[0],U=qe[1],M=(0,x.useRef)(new Map),ye=(0,x.useRef)(new ce),Te=(0,x.useRef)(0);function xe(){Te.current+=1}function ae(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;xe();var se=function(){var ft=!1;M.current.forEach(function(xt,gt){if(xt&&xt.offsetParent){var tt=xt.offsetHeight,Pt=getComputedStyle(xt),_t=Pt.marginTop,Ae=Pt.marginBottom,et=Y(_t),E=Y(Ae),D=tt+et+E;ye.current.get(gt)!==D&&(ye.current.set(gt,D),ft=!0)}}),ft&&U(function(xt){return xt+1})};if(nt)se();else{Te.current+=1;var me=Te.current;Promise.resolve().then(function(){me===Te.current&&se()})}}function Fe(nt,se){var me=ct(nt),vt=M.current.get(me);se?(M.current.set(me,se),ae()):M.current.delete(me),!vt!=!se&&(se?Xe==null||Xe(nt):Re==null||Re(nt))}return(0,x.useEffect)(function(){return xe},[]),[Fe,ae,ye.current,Me]}var ve=14/15;function ue(ct,Xe,Re){var oe=(0,x.useRef)(!1),qe=(0,x.useRef)(0),Me=(0,x.useRef)(0),U=(0,x.useRef)(null),M=(0,x.useRef)(null),ye,Te=function(nt){if(oe.current){var se=Math.ceil(nt.touches[0].pageX),me=Math.ceil(nt.touches[0].pageY),vt=qe.current-se,ft=Me.current-me,xt=Math.abs(vt)>Math.abs(ft);xt?qe.current=se:Me.current=me;var gt=Re(xt,xt?vt:ft,!1,nt);gt&&nt.preventDefault(),clearInterval(M.current),gt&&(M.current=setInterval(function(){xt?vt*=ve:ft*=ve;var tt=Math.floor(xt?vt:ft);(!Re(xt,tt,!0)||Math.abs(tt)<=.1)&&clearInterval(M.current)},16))}},xe=function(){oe.current=!1,ye()},ae=function(nt){ye(),nt.touches.length===1&&!oe.current&&(oe.current=!0,qe.current=Math.ceil(nt.touches[0].pageX),Me.current=Math.ceil(nt.touches[0].pageY),U.current=nt.target,U.current.addEventListener("touchmove",Te,{passive:!1}),U.current.addEventListener("touchend",xe,{passive:!0}))};ye=function(){U.current&&(U.current.removeEventListener("touchmove",Te),U.current.removeEventListener("touchend",xe))},(0,F.Z)(function(){return ct&&Xe.current.addEventListener("touchstart",ae,{passive:!0}),function(){var Fe;(Fe=Xe.current)===null||Fe===void 0||Fe.removeEventListener("touchstart",ae),ye(),clearInterval(M.current)}},[ct])}function we(ct){return Math.floor(Math.pow(ct,.5))}function _(ct,Xe){var Re="touches"in ct?ct.touches[0]:ct;return Re[Xe?"pageX":"pageY"]-window[Xe?"scrollX":"scrollY"]}function I(ct,Xe,Re){x.useEffect(function(){var oe=Xe.current;if(ct&&oe){var qe=!1,Me,U,M=function(){g.Z.cancel(Me)},ye=function Fe(){M(),Me=(0,g.Z)(function(){Re(U),Fe()})},Te=function(){qe=!1,M()},xe=function(nt){if(!(nt.target.draggable||nt.button!==0)){var se=nt;se._virtualHandled||(se._virtualHandled=!0,qe=!0)}},ae=function(nt){if(qe){var se=_(nt,!1),me=oe.getBoundingClientRect(),vt=me.top,ft=me.bottom;if(se<=vt){var xt=vt-se;U=-we(xt),ye()}else if(se>=ft){var gt=se-ft;U=we(gt),ye()}else M()}};return oe.addEventListener("mousedown",xe),oe.ownerDocument.addEventListener("mouseup",Te),oe.ownerDocument.addEventListener("mousemove",ae),oe.ownerDocument.addEventListener("dragend",Te),function(){oe.removeEventListener("mousedown",xe),oe.ownerDocument.removeEventListener("mouseup",Te),oe.ownerDocument.removeEventListener("mousemove",ae),oe.ownerDocument.removeEventListener("dragend",Te),M()}}},[ct])}var he=10;function Ne(ct,Xe,Re,oe,qe,Me,U,M){var ye=x.useRef(),Te=x.useState(null),xe=(0,j.Z)(Te,2),ae=xe[0],Fe=xe[1];return(0,F.Z)(function(){if(ae&&ae.times<he){if(!ct.current){Fe(function(be){return(0,O.Z)({},be)});return}Me();var nt=ae.targetAlign,se=ae.originAlign,me=ae.index,vt=ae.offset,ft=ct.current.clientHeight,xt=!1,gt=nt,tt=null;if(ft){for(var Pt=nt||se,_t=0,Ae=0,et=0,E=Math.min(Xe.length-1,me),D=0;D<=E;D+=1){var Ve=qe(Xe[D]);Ae=_t;var ne=Re.get(Ve);et=Ae+(ne===void 0?oe:ne),_t=et}for(var q=Pt==="top"?vt:ft-vt,jt=E;jt>=0;jt-=1){var Ue=qe(Xe[jt]),st=Re.get(Ue);if(st===void 0){xt=!0;break}if(q-=st,q<=0)break}switch(Pt){case"top":tt=Ae-vt;break;case"bottom":tt=et-ft+vt;break;default:{var ht=ct.current.scrollTop,de=ht+ft;Ae<ht?gt="top":et>de&&(gt="bottom")}}tt!==null&&U(tt),tt!==ae.lastTop&&(xt=!0)}xt&&Fe((0,O.Z)((0,O.Z)({},ae),{},{times:ae.times+1,targetAlign:gt,lastTop:tt}))}},[ae,ct.current]),function(nt){if(nt==null){M();return}if(g.Z.cancel(ye.current),typeof nt=="number")U(nt);else if(nt&&(0,ie.Z)(nt)==="object"){var se,me=nt.align;"index"in nt?se=nt.index:se=Xe.findIndex(function(xt){return qe(xt)===nt.key});var vt=nt.offset,ft=vt===void 0?0:vt;Fe({times:0,index:se,offset:ft,originAlign:me})}}}var Qe=x.forwardRef(function(ct,Xe){var Re=ct.prefixCls,oe=ct.rtl,qe=ct.scrollOffset,Me=ct.scrollRange,U=ct.onStartMove,M=ct.onStopMove,ye=ct.onScroll,Te=ct.horizontal,xe=ct.spinSize,ae=ct.containerSize,Fe=ct.style,nt=ct.thumbStyle,se=ct.showScrollBar,me=x.useState(!1),vt=(0,j.Z)(me,2),ft=vt[0],xt=vt[1],gt=x.useState(null),tt=(0,j.Z)(gt,2),Pt=tt[0],_t=tt[1],Ae=x.useState(null),et=(0,j.Z)(Ae,2),E=et[0],D=et[1],Ve=!oe,ne=x.useRef(),q=x.useRef(),jt=x.useState(se),Ue=(0,j.Z)(jt,2),st=Ue[0],ht=Ue[1],de=x.useRef(),be=function(){se===!0||se===!1||(clearTimeout(de.current),ht(!0),de.current=setTimeout(function(){ht(!1)},3e3))},We=Me-ae||0,Ze=ae-xe||0,Q=x.useMemo(function(){if(qe===0||We===0)return 0;var Hr=qe/We;return Hr*Ze},[qe,We,Ze]),Mt=function(fi){fi.stopPropagation(),fi.preventDefault()},_e=x.useRef({top:Q,dragging:ft,pageY:Pt,startTop:E});_e.current={top:Q,dragging:ft,pageY:Pt,startTop:E};var bt=function(fi){xt(!0),_t(_(fi,Te)),D(_e.current.top),U(),fi.stopPropagation(),fi.preventDefault()};x.useEffect(function(){var Hr=function(Wn){Wn.preventDefault()},fi=ne.current,lr=q.current;return fi.addEventListener("touchstart",Hr,{passive:!1}),lr.addEventListener("touchstart",bt,{passive:!1}),function(){fi.removeEventListener("touchstart",Hr),lr.removeEventListener("touchstart",bt)}},[]);var An=x.useRef();An.current=We;var xn=x.useRef();xn.current=Ze,x.useEffect(function(){if(ft){var Hr,fi=function(Wn){var Bt=_e.current,En=Bt.dragging,nn=Bt.pageY,Yr=Bt.startTop;g.Z.cancel(Hr);var Lt=ne.current.getBoundingClientRect(),It=ae/(Te?Lt.width:Lt.height);if(En){var kn=(_(Wn,Te)-nn)*It,vn=Yr;!Ve&&Te?vn-=kn:vn+=kn;var In=An.current,jn=xn.current,Dn=jn?vn/jn:0,$n=Math.ceil(Dn*In);$n=Math.max($n,0),$n=Math.min($n,In),Hr=(0,g.Z)(function(){ye($n,Te)})}},lr=function(){xt(!1),M()};return window.addEventListener("mousemove",fi,{passive:!0}),window.addEventListener("touchmove",fi,{passive:!0}),window.addEventListener("mouseup",lr,{passive:!0}),window.addEventListener("touchend",lr,{passive:!0}),function(){window.removeEventListener("mousemove",fi),window.removeEventListener("touchmove",fi),window.removeEventListener("mouseup",lr),window.removeEventListener("touchend",lr),g.Z.cancel(Hr)}}},[ft]),x.useEffect(function(){return be(),function(){clearTimeout(de.current)}},[qe]),x.useImperativeHandle(Xe,function(){return{delayHidden:be}});var Er="".concat(Re,"-scrollbar"),vr={position:"absolute",visibility:st?null:"hidden"},gr={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return Te?(Object.assign(vr,{height:8,left:0,right:0,bottom:0}),Object.assign(gr,(0,le.Z)({height:"100%",width:xe},Ve?"left":"right",Q))):(Object.assign(vr,(0,le.Z)({width:8,top:0,bottom:0},Ve?"right":"left",0)),Object.assign(gr,{width:"100%",height:xe,top:Q})),x.createElement("div",{ref:ne,className:ee()(Er,(0,le.Z)((0,le.Z)((0,le.Z)({},"".concat(Er,"-horizontal"),Te),"".concat(Er,"-vertical"),!Te),"".concat(Er,"-visible"),st)),style:(0,O.Z)((0,O.Z)({},vr),Fe),onMouseDown:Mt,onMouseMove:be},x.createElement("div",{ref:q,className:ee()("".concat(Er,"-thumb"),(0,le.Z)({},"".concat(Er,"-thumb-moving"),ft)),style:(0,O.Z)((0,O.Z)({},gr),nt),onMouseDown:bt}))}),Et=Qe,He=20;function Oe(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Re=ct/Xe*ct;return isNaN(Re)&&(Re=0),Re=Math.max(Re,He),Math.floor(Re)}var lt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],St=[],ze={overflowY:"auto",overflowAnchor:"none"};function At(ct,Xe){var Re=ct.prefixCls,oe=Re===void 0?"rc-virtual-list":Re,qe=ct.className,Me=ct.height,U=ct.itemHeight,M=ct.fullHeight,ye=M===void 0?!0:M,Te=ct.style,xe=ct.data,ae=ct.children,Fe=ct.itemKey,nt=ct.virtual,se=ct.direction,me=ct.scrollWidth,vt=ct.component,ft=vt===void 0?"div":vt,xt=ct.onScroll,gt=ct.onVirtualScroll,tt=ct.onVisibleChange,Pt=ct.innerProps,_t=ct.extraRender,Ae=ct.styles,et=ct.showScrollBar,E=et===void 0?"optional":et,D=(0,v.Z)(ct,lt),Ve=x.useCallback(function(en){return typeof Fe=="function"?Fe(en):en==null?void 0:en[Fe]},[Fe]),ne=N(Ve,null,null),q=(0,j.Z)(ne,4),jt=q[0],Ue=q[1],st=q[2],ht=q[3],de=!!(nt!==!1&&Me&&U),be=x.useMemo(function(){return Object.values(st.maps).reduce(function(en,hn){return en+hn},0)},[st.id,st.maps]),We=de&&xe&&(Math.max(U*xe.length,be)>Me||!!me),Ze=se==="rtl",Q=ee()(oe,(0,le.Z)({},"".concat(oe,"-rtl"),Ze),qe),Mt=xe||St,_e=(0,x.useRef)(),bt=(0,x.useRef)(),An=(0,x.useRef)(),xn=(0,x.useState)(0),Er=(0,j.Z)(xn,2),vr=Er[0],gr=Er[1],Hr=(0,x.useState)(0),fi=(0,j.Z)(Hr,2),lr=fi[0],ii=fi[1],Wn=(0,x.useState)(!1),Bt=(0,j.Z)(Wn,2),En=Bt[0],nn=Bt[1],Yr=function(){nn(!0)},Lt=function(){nn(!1)},It={getKey:Ve};function kn(en){gr(function(hn){var $t;typeof en=="function"?$t=en(hn):$t=en;var Nn=Ui($t);return _e.current.scrollTop=Nn,Nn})}var vn=(0,x.useRef)({start:0,end:Mt.length}),In=(0,x.useRef)(),jn=K(Mt,Ve),Dn=(0,j.Z)(jn,1),$n=Dn[0];In.current=$n;var br=x.useMemo(function(){if(!de)return{scrollHeight:void 0,start:0,end:Mt.length-1,offset:void 0};if(!We){var en;return{scrollHeight:((en=bt.current)===null||en===void 0?void 0:en.offsetHeight)||0,start:0,end:Mt.length-1,offset:void 0}}for(var hn=0,$t,Nn,wr,zr=Mt.length,Xn=0;Xn<zr;Xn+=1){var Rr=Mt[Xn],Zr=Ve(Rr),Gi=st.get(Zr),sa=hn+(Gi===void 0?U:Gi);sa>=vr&&$t===void 0&&($t=Xn,Nn=hn),sa>vr+Me&&wr===void 0&&(wr=Xn),hn=sa}return $t===void 0&&($t=0,Nn=0,wr=Math.ceil(Me/U)),wr===void 0&&(wr=Mt.length-1),wr=Math.min(wr+1,Mt.length-1),{scrollHeight:hn,start:$t,end:wr,offset:Nn}},[We,de,vr,Mt,ht,Me]),cr=br.scrollHeight,Tn=br.start,dr=br.end,Pr=br.offset;vn.current.start=Tn,vn.current.end=dr,x.useLayoutEffect(function(){var en=st.getRecord();if(en.size===1){var hn=Array.from(en.keys())[0],$t=en.get(hn),Nn=Mt[Tn];if(Nn&&$t===void 0){var wr=Ve(Nn);if(wr===hn){var zr=st.get(hn),Xn=zr-U;kn(function(Rr){return Rr+Xn})}}}st.resetRecord()},[cr]);var hr=x.useState({width:0,height:Me}),Dt=(0,j.Z)(hr,2),kt=Dt[0],pn=Dt[1],an=function(hn){pn({width:hn.offsetWidth,height:hn.offsetHeight})},cn=(0,x.useRef)(),_n=(0,x.useRef)(),Mn=x.useMemo(function(){return Oe(kt.width,me)},[kt.width,me]),nr=x.useMemo(function(){return Oe(kt.height,cr)},[kt.height,cr]),_r=cr-Me,Nr=(0,x.useRef)(_r);Nr.current=_r;function Ui(en){var hn=en;return Number.isNaN(Nr.current)||(hn=Math.min(hn,Nr.current)),hn=Math.max(hn,0),hn}var Ir=vr<=0,Lr=vr>=_r,xi=lr<=0,rt=lr>=me,Ei=Ee(Ir,Lr,xi,rt),Br=function(){return{x:Ze?-lr:lr,y:vr}},Fr=(0,x.useRef)(Br()),Ii=(0,C.zX)(function(en){if(gt){var hn=(0,O.Z)((0,O.Z)({},Br()),en);(Fr.current.x!==hn.x||Fr.current.y!==hn.y)&&(gt(hn),Fr.current=hn)}});function Bi(en,hn){var $t=en;hn?((0,A.flushSync)(function(){ii($t)}),Ii()):kn($t)}function gi(en){var hn=en.currentTarget.scrollTop;hn!==vr&&kn(hn),xt==null||xt(en),Ii()}var yi=function(hn){var $t=hn,Nn=me?me-kt.width:0;return $t=Math.max($t,0),$t=Math.min($t,Nn),$t},Mr=(0,C.zX)(function(en,hn){hn?((0,A.flushSync)(function(){ii(function($t){var Nn=$t+(Ze?-en:en);return yi(Nn)})}),Ii()):kn(function($t){var Nn=$t+en;return Nn})}),$r=pe(de,Ir,Lr,xi,rt,!!me,Mr),Ea=(0,j.Z)($r,2),on=Ea[0],ei=Ea[1];ue(de,_e,function(en,hn,$t,Nn){var wr=Nn;return Ei(en,hn,$t)?!1:!wr||!wr._virtualHandled?(wr&&(wr._virtualHandled=!0),on({preventDefault:function(){},deltaX:en?hn:0,deltaY:en?0:hn}),!0):!1}),I(We,_e,function(en){kn(function(hn){return hn+en})}),(0,F.Z)(function(){function en($t){var Nn=Ir&&$t.detail<0,wr=Lr&&$t.detail>0;de&&!Nn&&!wr&&$t.preventDefault()}var hn=_e.current;return hn.addEventListener("wheel",on,{passive:!1}),hn.addEventListener("DOMMouseScroll",ei,{passive:!0}),hn.addEventListener("MozMousePixelScroll",en,{passive:!1}),function(){hn.removeEventListener("wheel",on),hn.removeEventListener("DOMMouseScroll",ei),hn.removeEventListener("MozMousePixelScroll",en)}},[de,Ir,Lr]),(0,F.Z)(function(){if(me){var en=yi(lr);ii(en),Ii({x:en})}},[kt.width,me]);var Li=function(){var hn,$t;(hn=cn.current)===null||hn===void 0||hn.delayHidden(),($t=_n.current)===null||$t===void 0||$t.delayHidden()},Ft=Ne(_e,Mt,st,U,Ve,function(){return Ue(!0)},kn,Li);x.useImperativeHandle(Xe,function(){return{nativeElement:An.current,getScrollInfo:Br,scrollTo:function(hn){function $t(Nn){return Nn&&(0,ie.Z)(Nn)==="object"&&("left"in Nn||"top"in Nn)}$t(hn)?(hn.left!==void 0&&ii(yi(hn.left)),Ft(hn.top)):Ft(hn)}}}),(0,F.Z)(function(){if(tt){var en=Mt.slice(Tn,dr+1);tt(en,Mt)}},[Tn,dr,Mt]);var Zt=Be(Mt,Ve,st,U),Gt=_t==null?void 0:_t({start:Tn,end:dr,virtual:We,offsetX:lr,offsetY:Pr,rtl:Ze,getSize:Zt}),Zn=Z(Mt,Tn,dr,me,lr,jt,ae,It),sr=null;Me&&(sr=(0,O.Z)((0,le.Z)({},ye?"height":"maxHeight",Me),ze),de&&(sr.overflowY="hidden",me&&(sr.overflowX="hidden"),En&&(sr.pointerEvents="none")));var Un={};return Ze&&(Un.dir="rtl"),x.createElement("div",(0,c.Z)({ref:An,style:(0,O.Z)((0,O.Z)({},Te),{},{position:"relative"}),className:Q},Un,D),x.createElement(o.Z,{onResize:an},x.createElement(ft,{className:"".concat(oe,"-holder"),style:sr,ref:_e,onScroll:gi,onMouseEnter:Li},x.createElement(z,{prefixCls:oe,height:cr,offsetX:lr,offsetY:Pr,scrollWidth:me,onInnerResize:Ue,ref:bt,innerProps:Pt,rtl:Ze,extra:Gt},Zn))),We&&cr>Me&&x.createElement(Et,{ref:cn,prefixCls:oe,scrollOffset:vr,scrollRange:cr,rtl:Ze,onScroll:Bi,onStartMove:Yr,onStopMove:Lt,spinSize:nr,containerSize:kt.height,style:Ae==null?void 0:Ae.verticalScrollBar,thumbStyle:Ae==null?void 0:Ae.verticalScrollBarThumb,showScrollBar:E}),We&&me>kt.width&&x.createElement(Et,{ref:_n,prefixCls:oe,scrollOffset:lr,scrollRange:me,rtl:Ze,onScroll:Bi,onStartMove:Yr,onStopMove:Lt,spinSize:Mn,containerSize:kt.width,horizontal:!0,style:Ae==null?void 0:Ae.horizontalScrollBar,thumbStyle:Ae==null?void 0:Ae.horizontalScrollBarThumb,showScrollBar:E}))}var ke=x.forwardRef(At);ke.displayName="List";var Ht=ke,dt=Ht},83145:function(On,at,h){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.CopyToClipboard=void 0;var c=O(h(59301)),ie=O(h(25769));function O(P){return P&&P.__esModule?P:{default:P}}function le(P){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?le=function(g){return typeof g}:le=function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},le(P)}function j(P,K){var g=Object.keys(P);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(P);K&&(T=T.filter(function(fe){return Object.getOwnPropertyDescriptor(P,fe).enumerable})),g.push.apply(g,T)}return g}function v(P){for(var K=1;K<arguments.length;K++){var g=arguments[K]!=null?arguments[K]:{};K%2?j(g,!0).forEach(function(T){Z(P,T,g[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(g)):j(g).forEach(function(T){Object.defineProperty(P,T,Object.getOwnPropertyDescriptor(g,T))})}return P}function re(P,K){if(P==null)return{};var g=ee(P,K),T,fe;if(Object.getOwnPropertySymbols){var Ee=Object.getOwnPropertySymbols(P);for(fe=0;fe<Ee.length;fe++)T=Ee[fe],!(K.indexOf(T)>=0)&&Object.prototype.propertyIsEnumerable.call(P,T)&&(g[T]=P[T])}return g}function ee(P,K){if(P==null)return{};var g={},T=Object.keys(P),fe,Ee;for(Ee=0;Ee<T.length;Ee++)fe=T[Ee],!(K.indexOf(fe)>=0)&&(g[fe]=P[fe]);return g}function o(P,K){if(!(P instanceof K))throw new TypeError("Cannot call a class as a function")}function C(P,K){for(var g=0;g<K.length;g++){var T=K[g];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(P,T.key,T)}}function F(P,K,g){return K&&C(P.prototype,K),g&&C(P,g),P}function x(P,K){return K&&(le(K)==="object"||typeof K=="function")?K:L(P)}function A(P){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(g){return g.__proto__||Object.getPrototypeOf(g)},A(P)}function L(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function z(P,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(K&&K.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),K&&G(P,K)}function G(P,K){return G=Object.setPrototypeOf||function(T,fe){return T.__proto__=fe,T},G(P,K)}function Z(P,K,g){return K in P?Object.defineProperty(P,K,{value:g,enumerable:!0,configurable:!0,writable:!0}):P[K]=g,P}var W=function(P){z(K,P);function K(){var g,T;o(this,K);for(var fe=arguments.length,Ee=new Array(fe),pe=0;pe<fe;pe++)Ee[pe]=arguments[pe];return T=x(this,(g=A(K)).call.apply(g,[this].concat(Ee))),Z(L(T),"onClick",function(Be){var je=T.props,Le=je.text,it=je.onCopy,ce=je.children,Y=je.options,N=c.default.Children.only(ce),ve=(0,ie.default)(Le,Y);it&&it(Le,ve),N&&N.props&&typeof N.props.onClick=="function"&&N.props.onClick(Be)}),T}return F(K,[{key:"render",value:function(){var T=this.props,fe=T.text,Ee=T.onCopy,pe=T.options,Be=T.children,je=re(T,["text","onCopy","options","children"]),Le=c.default.Children.only(Be);return c.default.cloneElement(Le,v({},je,{onClick:this.onClick}))}}]),K}(c.default.PureComponent);at.CopyToClipboard=W,Z(W,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(On,at,h){"use strict";var c=h(83145),ie=c.CopyToClipboard;ie.CopyToClipboard=ie,On.exports=ie},76374:function(On,at,h){"use strict";var c=function(){if(typeof Map!="undefined")return Map;function ce(Y,N){var ve=-1;return Y.some(function(ue,we){return ue[0]===N?(ve=we,!0):!1}),ve}return function(){function Y(){this.__entries__=[]}return Object.defineProperty(Y.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),Y.prototype.get=function(N){var ve=ce(this.__entries__,N),ue=this.__entries__[ve];return ue&&ue[1]},Y.prototype.set=function(N,ve){var ue=ce(this.__entries__,N);~ue?this.__entries__[ue][1]=ve:this.__entries__.push([N,ve])},Y.prototype.delete=function(N){var ve=this.__entries__,ue=ce(ve,N);~ue&&ve.splice(ue,1)},Y.prototype.has=function(N){return!!~ce(this.__entries__,N)},Y.prototype.clear=function(){this.__entries__.splice(0)},Y.prototype.forEach=function(N,ve){ve===void 0&&(ve=null);for(var ue=0,we=this.__entries__;ue<we.length;ue++){var _=we[ue];N.call(ve,_[1],_[0])}},Y}()}(),ie=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,O=function(){return typeof h.g!="undefined"&&h.g.Math===Math?h.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),le=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(O):function(ce){return setTimeout(function(){return ce(Date.now())},1e3/60)}}(),j=2;function v(ce,Y){var N=!1,ve=!1,ue=0;function we(){N&&(N=!1,ce()),ve&&I()}function _(){le(we)}function I(){var he=Date.now();if(N){if(he-ue<j)return;ve=!0}else N=!0,ve=!1,setTimeout(_,Y);ue=he}return I}var re=20,ee=["top","right","bottom","left","width","height","size","weight"],o=typeof MutationObserver!="undefined",C=function(){function ce(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=v(this.refresh.bind(this),re)}return ce.prototype.addObserver=function(Y){~this.observers_.indexOf(Y)||this.observers_.push(Y),this.connected_||this.connect_()},ce.prototype.removeObserver=function(Y){var N=this.observers_,ve=N.indexOf(Y);~ve&&N.splice(ve,1),!N.length&&this.connected_&&this.disconnect_()},ce.prototype.refresh=function(){var Y=this.updateObservers_();Y&&this.refresh()},ce.prototype.updateObservers_=function(){var Y=this.observers_.filter(function(N){return N.gatherActive(),N.hasActive()});return Y.forEach(function(N){return N.broadcastActive()}),Y.length>0},ce.prototype.connect_=function(){!ie||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)},ce.prototype.disconnect_=function(){!ie||!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)},ce.prototype.onTransitionEnd_=function(Y){var N=Y.propertyName,ve=N===void 0?"":N,ue=ee.some(function(we){return!!~ve.indexOf(we)});ue&&this.refresh()},ce.getInstance=function(){return this.instance_||(this.instance_=new ce),this.instance_},ce.instance_=null,ce}(),F=function(ce,Y){for(var N=0,ve=Object.keys(Y);N<ve.length;N++){var ue=ve[N];Object.defineProperty(ce,ue,{value:Y[ue],enumerable:!1,writable:!1,configurable:!0})}return ce},x=function(ce){var Y=ce&&ce.ownerDocument&&ce.ownerDocument.defaultView;return Y||O},A=fe(0,0,0,0);function L(ce){return parseFloat(ce)||0}function z(ce){for(var Y=[],N=1;N<arguments.length;N++)Y[N-1]=arguments[N];return Y.reduce(function(ve,ue){var we=ce["border-"+ue+"-width"];return ve+L(we)},0)}function G(ce){for(var Y=["top","right","bottom","left"],N={},ve=0,ue=Y;ve<ue.length;ve++){var we=ue[ve],_=ce["padding-"+we];N[we]=L(_)}return N}function Z(ce){var Y=ce.getBBox();return fe(0,0,Y.width,Y.height)}function W(ce){var Y=ce.clientWidth,N=ce.clientHeight;if(!Y&&!N)return A;var ve=x(ce).getComputedStyle(ce),ue=G(ve),we=ue.left+ue.right,_=ue.top+ue.bottom,I=L(ve.width),he=L(ve.height);if(ve.boxSizing==="border-box"&&(Math.round(I+we)!==Y&&(I-=z(ve,"left","right")+we),Math.round(he+_)!==N&&(he-=z(ve,"top","bottom")+_)),!K(ce)){var Ne=Math.round(I+we)-Y,Qe=Math.round(he+_)-N;Math.abs(Ne)!==1&&(I-=Ne),Math.abs(Qe)!==1&&(he-=Qe)}return fe(ue.left,ue.top,I,he)}var P=function(){return typeof SVGGraphicsElement!="undefined"?function(ce){return ce instanceof x(ce).SVGGraphicsElement}:function(ce){return ce instanceof x(ce).SVGElement&&typeof ce.getBBox=="function"}}();function K(ce){return ce===x(ce).document.documentElement}function g(ce){return ie?P(ce)?Z(ce):W(ce):A}function T(ce){var Y=ce.x,N=ce.y,ve=ce.width,ue=ce.height,we=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,_=Object.create(we.prototype);return F(_,{x:Y,y:N,width:ve,height:ue,top:N,right:Y+ve,bottom:ue+N,left:Y}),_}function fe(ce,Y,N,ve){return{x:ce,y:Y,width:N,height:ve}}var Ee=function(){function ce(Y){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=fe(0,0,0,0),this.target=Y}return ce.prototype.isActive=function(){var Y=g(this.target);return this.contentRect_=Y,Y.width!==this.broadcastWidth||Y.height!==this.broadcastHeight},ce.prototype.broadcastRect=function(){var Y=this.contentRect_;return this.broadcastWidth=Y.width,this.broadcastHeight=Y.height,Y},ce}(),pe=function(){function ce(Y,N){var ve=T(N);F(this,{target:Y,contentRect:ve})}return ce}(),Be=function(){function ce(Y,N,ve){if(this.activeObservations_=[],this.observations_=new c,typeof Y!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=Y,this.controller_=N,this.callbackCtx_=ve}return ce.prototype.observe=function(Y){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(Y instanceof x(Y).Element))throw new TypeError('parameter 1 is not of type "Element".');var N=this.observations_;N.has(Y)||(N.set(Y,new Ee(Y)),this.controller_.addObserver(this),this.controller_.refresh())}},ce.prototype.unobserve=function(Y){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(Y instanceof x(Y).Element))throw new TypeError('parameter 1 is not of type "Element".');var N=this.observations_;N.has(Y)&&(N.delete(Y),N.size||this.controller_.removeObserver(this))}},ce.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ce.prototype.gatherActive=function(){var Y=this;this.clearActive(),this.observations_.forEach(function(N){N.isActive()&&Y.activeObservations_.push(N)})},ce.prototype.broadcastActive=function(){if(this.hasActive()){var Y=this.callbackCtx_,N=this.activeObservations_.map(function(ve){return new pe(ve.target,ve.broadcastRect())});this.callback_.call(Y,N,Y),this.clearActive()}},ce.prototype.clearActive=function(){this.activeObservations_.splice(0)},ce.prototype.hasActive=function(){return this.activeObservations_.length>0},ce}(),je=typeof WeakMap!="undefined"?new WeakMap:new c,Le=function(){function ce(Y){if(!(this instanceof ce))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var N=C.getInstance(),ve=new Be(Y,N,this);je.set(this,ve)}return ce}();["observe","unobserve","disconnect"].forEach(function(ce){Le.prototype[ce]=function(){var Y;return(Y=je.get(this))[ce].apply(Y,arguments)}});var it=function(){return typeof O.ResizeObserver!="undefined"?O.ResizeObserver:Le}();at.Z=it},62752:function(On,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.SizeSensorId=at.SensorTabIndex=at.SensorClassName=void 0;var h=at.SizeSensorId="size-sensor-id",c=at.SensorClassName="size-sensor-object",ie=at.SensorTabIndex="-1"},25224:function(On,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.default=void 0;var h=at.default=function(ie){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,le=null;return function(){for(var j=this,v=arguments.length,re=new Array(v),ee=0;ee<v;ee++)re[ee]=arguments[ee];clearTimeout(le),le=setTimeout(function(){ie.apply(j,re)},O)}}},82196:function(On,at){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.default=void 0;var h=1,c=at.default=function(){return"".concat(h++)}},10413:function(On,at,h){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.ver=at.clear=at.bind=void 0;var c=h(2963),ie=at.bind=function(v,re){var ee=(0,c.getSensor)(v);return ee.bind(re),function(){ee.unbind(re)}},O=at.clear=function(v){var re=(0,c.getSensor)(v);(0,c.removeSensor)(re)},le=at.ver="1.0.3"},2963:function(On,at,h){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.removeSensor=at.getSensor=at.Sensors=void 0;var c=le(h(82196)),ie=h(42065),O=h(62752);function le(o){return o&&o.__esModule?o:{default:o}}var j=at.Sensors={};function v(o){o&&j[o]&&delete j[o]}var re=at.getSensor=function(C){var F=C.getAttribute(O.SizeSensorId);if(F&&j[F])return j[F];var x=(0,c.default)();C.setAttribute(O.SizeSensorId,x);var A=(0,ie.createSensor)(C,function(){return v(x)});return j[x]=A,A},ee=at.removeSensor=function(C){var F=C.element.getAttribute(O.SizeSensorId);C.destroy(),v(F)}},42065:function(On,at,h){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.createSensor=void 0;var c=h(38132),ie=h(38950),O=at.createSensor=typeof ResizeObserver!="undefined"?ie.createSensor:c.createSensor},38132:function(On,at,h){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.createSensor=void 0;var c=O(h(25224)),ie=h(62752);function O(j){return j&&j.__esModule?j:{default:j}}var le=at.createSensor=function(v,re){var ee=void 0,o=[],C=function(){getComputedStyle(v).position==="static"&&(v.style.position="relative");var G=document.createElement("object");return G.onload=function(){G.contentDocument.defaultView.addEventListener("resize",F),F()},G.style.display="block",G.style.position="absolute",G.style.top="0",G.style.left="0",G.style.height="100%",G.style.width="100%",G.style.overflow="hidden",G.style.pointerEvents="none",G.style.zIndex="-1",G.style.opacity="0",G.setAttribute("class",ie.SensorClassName),G.setAttribute("tabindex",ie.SensorTabIndex),G.type="text/html",v.appendChild(G),G.data="about:blank",G},F=(0,c.default)(function(){o.forEach(function(z){z(v)})}),x=function(G){ee||(ee=C()),o.indexOf(G)===-1&&o.push(G)},A=function(){ee&&ee.parentNode&&(ee.contentDocument&&ee.contentDocument.defaultView.removeEventListener("resize",F),ee.parentNode.removeChild(ee),v.removeAttribute(ie.SizeSensorId),ee=void 0,o=[],re&&re())},L=function(G){var Z=o.indexOf(G);Z!==-1&&o.splice(Z,1),o.length===0&&ee&&A()};return{element:v,bind:x,destroy:A,unbind:L}}},38950:function(On,at,h){"use strict";Object.defineProperty(at,"__esModule",{value:!0}),at.createSensor=void 0;var c=h(62752),ie=O(h(25224));function O(j){return j&&j.__esModule?j:{default:j}}var le=at.createSensor=function(v,re){var ee=void 0,o=[],C=(0,ie.default)(function(){o.forEach(function(z){z(v)})}),F=function(){var G=new ResizeObserver(C);return G.observe(v),C(),G},x=function(G){ee||(ee=F()),o.indexOf(G)===-1&&o.push(G)},A=function(){ee&&ee.disconnect(),o=[],ee=void 0,v.removeAttribute(c.SizeSensorId),re&&re()},L=function(G){var Z=o.indexOf(G);Z!==-1&&o.splice(Z,1),o.length===0&&ee&&A()};return{element:v,bind:x,destroy:A,unbind:L}}},98040:function(On){On.exports=function(){var at=document.getSelection();if(!at.rangeCount)return function(){};for(var h=document.activeElement,c=[],ie=0;ie<at.rangeCount;ie++)c.push(at.getRangeAt(ie));switch(h.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":h.blur();break;default:h=null;break}return at.removeAllRanges(),function(){at.type==="Caret"&&at.removeAllRanges(),at.rangeCount||c.forEach(function(O){at.addRange(O)}),h&&h.focus()}}},4977:function(On){"use strict";On.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0Jj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471:function(On,at,h){"use strict";h.d(at,{ZP:function(){return qo}});const c=Number.isFinite||function(s){return typeof s=="number"&&isFinite(s)},ie=Number.isSafeInteger||function(s){return typeof s=="number"&&Math.abs(s)<=O},O=Number.MAX_SAFE_INTEGER||9007199254740991;let le=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}({}),j=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}({}),v=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 re={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},ee={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 C{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 F(s,e,t){return(e=G(e))in s?Object.defineProperty(s,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):s[e]=t,s}function x(){return x=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},x.apply(null,arguments)}function A(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 L(s){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?A(Object(t),!0).forEach(function(n){F(s,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(t)):A(Object(t)).forEach(function(n){Object.defineProperty(s,n,Object.getOwnPropertyDescriptor(t,n))})}return s}function z(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 G(s){var e=z(s,"string");return typeof e=="symbol"?e:e+""}class Z{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=W,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 W=function(){},P={trace:W,debug:W,log:W,warn:W,info:W,error:W};function K(){return x({},P)}function g(s,e){const t=self.console[s];return t?t.bind(self.console,`${e?"["+e+"] ":""}[${s}] >`):W}function T(s,e,t){return e[s]?e[s].bind(e):g(s,t)}const fe=K();function Ee(s,e,t){const n=K();if(typeof console=="object"&&s===!0||typeof s=="object"){const r=["debug","log","info","warn","error"];r.forEach(i=>{n[i]=T(i,s,t)});try{n.log(`Debug logs enabled for "${e}" in hls.js version 1.6.15`)}catch(i){return K()}r.forEach(i=>{fe[i]=T(i,s)})}else x(fe,n);return n}const pe=fe;function Be(s=!0){return typeof self=="undefined"?void 0:(s||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function je(s){return typeof self!="undefined"&&s===self.ManagedMediaSource}function Le(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 it(s,e=!1){if(typeof TextDecoder!="undefined"){const m=new TextDecoder("utf-8").decode(s);if(e){const y=m.indexOf("\0");return y!==-1?m.substring(0,y):m}return m.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}function ce(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 Y(s){return Uint8Array.from(s.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}function N(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ve={exports:{}},ue;function we(){return ue||(ue=1,function(s,e){(function(t){var n=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,r=/^(?=([^\/?#]*))\1([^]*)$/,i=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,u={buildAbsoluteURL:function(p,m,y){if(y=y||{},p=p.trim(),m=m.trim(),!m){if(!y.alwaysNormalize)return p;var w=u.parseURL(p);if(!w)throw new Error("Error trying to parse base URL.");return w.path=u.normalizePath(w.path),u.buildURLFromParts(w)}var k=u.parseURL(m);if(!k)throw new Error("Error trying to parse relative URL.");if(k.scheme)return y.alwaysNormalize?(k.path=u.normalizePath(k.path),u.buildURLFromParts(k)):m;var X=u.parseURL(p);if(!X)throw new Error("Error trying to parse base URL.");if(!X.netLoc&&X.path&&X.path[0]!=="/"){var $=r.exec(X.path);X.netLoc=$[1],X.path=$[2]}X.netLoc&&!X.path&&(X.path="/");var Ie={scheme:X.scheme,netLoc:k.netLoc,path:null,params:k.params,query:k.query,fragment:k.fragment};if(!k.netLoc&&(Ie.netLoc=X.netLoc,k.path[0]!=="/"))if(!k.path)Ie.path=X.path,k.params||(Ie.params=X.params,k.query||(Ie.query=X.query));else{var Pe=X.path,ut=Pe.substring(0,Pe.lastIndexOf("/")+1)+k.path;Ie.path=u.normalizePath(ut)}return Ie.path===null&&(Ie.path=y.alwaysNormalize?u.normalizePath(k.path):k.path),u.buildURLFromParts(Ie)},parseURL:function(p){var m=n.exec(p);return m?{scheme:m[1]||"",netLoc:m[2]||"",path:m[3]||"",params:m[4]||"",query:m[5]||"",fragment:m[6]||""}:null},normalizePath:function(p){for(p=p.split("").reverse().join("").replace(i,"");p.length!==(p=p.replace(a,"")).length;);return p.split("").reverse().join("")},buildURLFromParts:function(p){return p.scheme+p.netLoc+p.path+p.params+p.query+p.fragment}};s.exports=u})()}(ve)),ve.exports}var _=we();class I{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 he={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class Ne{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,lt(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={[he.AUDIO]:null,[he.VIDEO]:null,[he.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 I),this._stats}set stats(e){this._stats=e}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=_.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(e){this._url=e}clearElementaryStreamInfo(){const{elementaryStreams:e}=this;e[he.AUDIO]=null,e[he.VIDEO]=null,e[he.AUDIOVIDEO]=null}}function Qe(s){return s.sn!=="initSegment"}class Et extends Ne{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.length){const e=this.byteRange[0],t=this.byteRange[1];if(c(e)&&c(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(){var e;const{levelkeys:t}=this;if(!t||t.NONE)return null;if(t.identity)this._decryptdata||(this._decryptdata=t.identity.getDecryptData(this.sn));else if(!((e=this._decryptdata)!=null&&e.keyId)){const n=Object.keys(t);if(n.length===1){const r=this._decryptdata=t[n[0]]||null;r&&(this._decryptdata=r.getDecryptData(this.sn,t))}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)return null;const e=c(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){var t;const n=Object.keys(this.levelkeys),r=n.length;if(r>1||r===1&&(t=this.levelkeys[n[0]])!=null&&t.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(!c(e)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=e}get ref(){return Qe(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){const t=this.levelkeys;if(t){var n;const r=t[e];r&&!((n=this._decryptdata)!=null&&n.keyId)&&(this._decryptdata=r.getDecryptData(this.sn,t))}}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,p=u[e];if(!p){u[e]={startPTS:t,endPTS:n,startDTS:r,endDTS:i,partial:a};return}p.startPTS=Math.min(p.startPTS,t),p.endPTS=Math.max(p.endPTS,n),p.startDTS=Math.min(p.startDTS,r),p.endDTS=Math.max(p.endDTS,i)}}class He extends Ne{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 Oe(s,e){const t=Object.getPrototypeOf(s);if(t){const n=Object.getOwnPropertyDescriptor(t,e);return n||Oe(t,e)}}function lt(s,e){const t=Oe(s,e);t&&(t.enumerable=!0,Object.defineProperty(s,e,t))}const St=Math.pow(2,32)-1,ze=[].push,At={video:1,audio:2,id3:3,text:4};function ke(s){return String.fromCharCode.apply(null,s)}function Ht(s,e){const t=s[e]<<8|s[e+1];return t<0?65536+t:t}function dt(s,e){const t=Xe(s,e);return t<0?4294967296+t:t}function ct(s,e){let t=dt(s,e);return t*=Math.pow(2,32),t+=dt(s,e+4),t}function Xe(s,e){return s[e]<<24|s[e+1]<<16|s[e+2]<<8|s[e+3]}function Re(s){const e=s.byteLength;for(let t=0;t<e;){const n=dt(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 oe(s,e){const t=[];if(!e.length)return t;const n=s.byteLength;for(let r=0;r<n;){const i=dt(s,r),a=ke(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 p=oe(s.subarray(r+8,u),e.slice(1));p.length&&ze.apply(t,p)}r=u}return t}function qe(s){const e=[],t=s[0];let n=8;const r=dt(s,n);n+=4;let i=0,a=0;t===0?(i=dt(s,n),a=dt(s,n+4),n+=8):(i=ct(s,n),a=ct(s,n+8),n+=16),n+=2;let u=s.length+a;const p=Ht(s,n);n+=2;for(let m=0;m<p;m++){let y=n;const w=dt(s,y);y+=4;const k=w&2147483647;if((w&2147483648)>>>31===1)return pe.warn("SIDX has hierarchical references (not supported)"),null;const $=dt(s,y);y+=4,e.push({referenceSize:k,subsegmentDuration:$,info:{duration:$/r,start:u,end:u+k-1}}),u+=k,y+=4,n=y}return{earliestPresentationTime:i,timescale:r,version:t,referencesCount:p,references:e}}function Me(s){const e=[],t=oe(s,["moov","trak"]);for(let r=0;r<t.length;r++){const i=t[r],a=oe(i,["tkhd"])[0];if(a){let u=a[0];const p=dt(a,u===0?12:20),m=oe(i,["mdia","mdhd"])[0];if(m){u=m[0];const y=dt(m,u===0?12:20),w=oe(i,["mdia","hdlr"])[0];if(w){const k=ke(w.subarray(8,12)),X={soun:he.AUDIO,vide:he.VIDEO}[k],$=oe(i,["mdia","minf","stbl","stsd"])[0],Ie=U($);X?(e[p]={timescale:y,type:X,stsd:Ie},e[X]=L({timescale:y,id:p},Ie)):e[p]={timescale:y,type:k,stsd:Ie}}}}}return oe(s,["moov","mvex","trex"]).forEach(r=>{const i=dt(r,4),a=e[i];a&&(a.default={duration:dt(r,12),flags:dt(r,20)})}),e}function U(s){const e=s.subarray(8),t=e.subarray(86),n=ke(e.subarray(4,8));let r=n,i;const a=n==="enca"||n==="encv";if(a){const m=oe(e,[n])[0].subarray(n==="enca"?28:78);oe(m,["sinf"]).forEach(w=>{const k=oe(w,["schm"])[0];if(k){const X=ke(k.subarray(4,8));if(X==="cbcs"||X==="cenc"){const $=oe(w,["frma"])[0];$&&(r=ke($))}}})}const u=r;switch(r){case"avc1":case"avc2":case"avc3":case"avc4":{const p=oe(t,["avcC"])[0];p&&p.length>3&&(r+="."+xe(p[1])+xe(p[2])+xe(p[3]),i=M(u==="avc1"?"dva1":"dvav",t));break}case"mp4a":{const p=oe(e,[n])[0],m=oe(p.subarray(28),["esds"])[0];if(m&&m.length>7){let y=4;if(m[y++]!==3)break;y=Te(m,y),y+=2;const w=m[y++];if(w&128&&(y+=2),w&64&&(y+=m[y++]),m[y++]!==4)break;y=Te(m,y);const k=m[y++];if(k===64)r+="."+xe(k);else break;if(y+=12,m[y++]!==5)break;y=Te(m,y);const X=m[y++];let $=(X&248)>>3;$===31&&($+=1+((X&7)<<3)+((m[y]&224)>>5)),r+="."+$}break}case"hvc1":case"hev1":{const p=oe(t,["hvcC"])[0];if(p&&p.length>12){const m=p[1],y=["","A","B","C"][m>>6],w=m&31,k=dt(p,2),X=(m&32)>>5?"H":"L",$=p[12],Ie=p.subarray(6,12);r+="."+y+w,r+="."+ye(k).toString(16).toUpperCase(),r+="."+X+$;let Pe="";for(let ut=Ie.length;ut--;){const yt=Ie[ut];(yt||Pe)&&(Pe="."+yt.toString(16).toUpperCase()+Pe)}r+=Pe}i=M(u=="hev1"?"dvhe":"dvh1",t);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{r=M(r,t)||r;break}case"vp09":{const p=oe(t,["vpcC"])[0];if(p&&p.length>6){const m=p[4],y=p[5],w=p[6]>>4&15;r+="."+ae(m)+"."+ae(y)+"."+ae(w)}break}case"av01":{const p=oe(t,["av1C"])[0];if(p&&p.length>2){const m=p[1]>>>5,y=p[1]&31,w=p[2]>>>7?"H":"M",k=(p[2]&64)>>6,X=(p[2]&32)>>5,$=m===2&&k?X?12:10:k?10:8,Ie=(p[2]&16)>>4,Pe=(p[2]&8)>>3,ut=(p[2]&4)>>2,yt=p[2]&3;r+="."+m+"."+ae(y)+w+"."+ae($)+"."+Ie+"."+Pe+ut+yt+"."+ae(1)+"."+ae(1)+"."+ae(1)+"."+0,i=M("dav1",t)}break}}return{codec:r,encrypted:a,supplemental:i}}function M(s,e){const t=oe(e,["dvvC"]),n=t.length?t[0]:oe(e,["dvcC"])[0];if(n){const r=n[2]>>1&127,i=n[2]<<5&32|n[3]>>3&31;return s+"."+ae(r)+"."+ae(i)}}function ye(s){let e=0;for(let t=0;t<32;t++)e|=(s>>t&1)<<31-t;return e>>>0}function Te(s,e){const t=e+5;for(;s[e++]&128&&e<t;);return e}function xe(s){return("0"+s.toString(16).toUpperCase()).slice(-2)}function ae(s){return(s<10?"0":"")+s}function Fe(s,e){if(!s||!e)return;const t=e.keyId;t&&e.isCommonEncryption&&se(s,(n,r)=>{const i=n.subarray(8,24);i.some(a=>a!==0)||(pe.log(`[eme] Patching keyId in 'enc${r?"a":"v"}>sinf>>tenc' box: ${ce(i)} -> ${ce(t)}`),n.set(t,8))})}function nt(s){const e=[];return se(s,t=>e.push(t.subarray(8,24))),e}function se(s,e){oe(s,["moov","trak"]).forEach(n=>{const r=oe(n,["mdia","minf","stbl","stsd"])[0];if(!r)return;const i=r.subarray(8);let a=oe(i,["enca"]);const u=a.length>0;u||(a=oe(i,["encv"])),a.forEach(p=>{const m=u?p.subarray(28):p.subarray(78);oe(m,["sinf"]).forEach(w=>{const k=me(w);k&&e(k,u)})})})}function me(s){const e=oe(s,["schm"])[0];if(e){const t=ke(e.subarray(4,8));if(t==="cbcs"||t==="cenc"){const n=oe(s,["schi","tenc"])[0];if(n)return n}}}function vt(s,e,t){const n={},r=oe(s,["moof","traf"]);for(let i=0;i<r.length;i++){const a=r[i],u=oe(a,["tfhd"])[0],p=dt(u,4),m=e[p];if(!m)continue;n[p]||(n[p]={start:NaN,duration:0,sampleCount:0,timescale:m.timescale,type:m.type});const y=n[p],w=oe(a,["tfdt"])[0];if(w){const wt=w[0];let Xt=dt(w,4);wt===1&&(Xt===St?t.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):(Xt*=St+1,Xt+=dt(w,8))),c(Xt)&&(!c(y.start)||Xt<y.start)&&(y.start=Xt)}const k=m.default,X=dt(u,0)|(k==null?void 0:k.flags);let $=(k==null?void 0:k.duration)||0;X&8&&(X&2?$=dt(u,12):$=dt(u,8));const Ie=oe(a,["trun"]);let Pe=y.start||0,ut=0,yt=$;for(let wt=0;wt<Ie.length;wt++){const Xt=Ie[wt],dn=dt(Xt,4),Yn=y.sampleCount;y.sampleCount+=dn;const mn=Xt[3]&1,Rn=Xt[3]&4,Ln=Xt[2]&1,gn=Xt[2]&2,yr=Xt[2]&4,Pi=Xt[2]&8;let ea=8,ga=dn;for(mn&&(ea+=4),Rn&&dn&&(!(Xt[ea+1]&1)&&y.keyFrameIndex===void 0&&(y.keyFrameIndex=Yn),ea+=4,Ln?(yt=dt(Xt,ea),ea+=4):yt=$,gn&&(ea+=4),Pi&&(ea+=4),Pe+=yt,ut+=yt,ga--);ga--;)Ln?(yt=dt(Xt,ea),ea+=4):yt=$,gn&&(ea+=4),yr&&(Xt[ea+1]&1||y.keyFrameIndex===void 0&&(y.keyFrameIndex=y.sampleCount-(ga+1),y.keyFrameStart=Pe),ea+=4),Pi&&(ea+=4),Pe+=yt,ut+=yt;!ut&&$&&(ut+=$*dn)}y.duration+=ut}if(!Object.keys(n).some(i=>n[i].duration)){let i=1/0,a=0;const u=oe(s,["sidx"]);for(let p=0;p<u.length;p++){const m=qe(u[p]);if(m!=null&&m.references){i=Math.min(i,m.earliestPresentationTime/m.timescale);const y=m.references.reduce((w,k)=>w+k.info.duration||0,0);a=Math.max(a,y+m.earliestPresentationTime/m.timescale)}}a&&c(a)&&Object.keys(n).forEach(p=>{n[p].duration||(n[p].duration=a*n[p].timescale-n[p].start)})}return n}function ft(s){const e={valid:null,remainder:null},t=oe(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 xt(s,e){const t=new Uint8Array(s.length+e.length);return t.set(s),t.set(e,s.length),t}function gt(s,e){const t=[],n=e.samples,r=e.timescale,i=e.id;let a=!1;return oe(n,["moof"]).map(p=>{const m=p.byteOffset-8;oe(p,["traf"]).map(w=>{const k=oe(w,["tfdt"]).map(X=>{const $=X[0];let Ie=dt(X,4);return $===1&&(Ie*=Math.pow(2,32),Ie+=dt(X,8)),Ie/r})[0];return k!==void 0&&(s=k),oe(w,["tfhd"]).map(X=>{const $=dt(X,4),Ie=dt(X,0)&16777215,Pe=(Ie&1)!==0,ut=(Ie&2)!==0,yt=(Ie&8)!==0;let wt=0;const Xt=(Ie&16)!==0;let dn=0;const Yn=(Ie&32)!==0;let mn=8;$===i&&(Pe&&(mn+=8),ut&&(mn+=4),yt&&(wt=dt(X,mn),mn+=4),Xt&&(dn=dt(X,mn),mn+=4),Yn&&(mn+=4),e.type==="video"&&(a=tt(e.codec)),oe(w,["trun"]).map(Rn=>{const Ln=Rn[0],gn=dt(Rn,0)&16777215,yr=(gn&1)!==0;let Pi=0;const ea=(gn&4)!==0,ga=(gn&256)!==0;let ta=0;const vi=(gn&512)!==0;let aa=0;const Hi=(gn&1024)!==0,ca=(gn&2048)!==0;let ka=0;const wi=dt(Rn,4);let Ci=8;yr&&(Pi=dt(Rn,Ci),Ci+=4),ea&&(Ci+=4);let es=Pi+m;for(let bs=0;bs<wi;bs++){if(ga?(ta=dt(Rn,Ci),Ci+=4):ta=wt,vi?(aa=dt(Rn,Ci),Ci+=4):aa=dn,Hi&&(Ci+=4),ca&&(Ln===0?ka=dt(Rn,Ci):ka=Xe(Rn,Ci),Ci+=4),e.type===he.VIDEO){let ns=0;for(;ns<aa;){const us=dt(n,es);if(es+=4,Pt(a,n[es])){const yo=n.subarray(es,es+us);_t(yo,a?2:1,s+ka/r,t)}es+=us,ns+=us+4}}s+=ta/r}}))})})}),t}function tt(s){if(!s)return!1;const e=s.substring(0,4);return e==="hvc1"||e==="hev1"||e==="dvh1"||e==="dvhe"}function Pt(s,e){if(s){const t=e>>1&63;return t===39||t===40}else return(e&31)===6}function _t(s,e,t,n){const r=Ae(s);let i=0;i+=e;let a=0,u=0,p=0;for(;i<r.length;){a=0;do{if(i>=r.length)break;p=r[i++],a+=p}while(p===255);u=0;do{if(i>=r.length)break;p=r[i++],u+=p}while(p===255);const m=r.length-i;let y=i;if(u<m)i+=u;else if(u>m){pe.error(`Malformed SEI payload. ${u} is too small, only ${m} bytes left to parse.`);break}if(a===4){if(r[y++]===181){const k=Ht(r,y);if(y+=2,k===49){const X=dt(r,y);if(y+=4,X===1195456820){const $=r[y++];if($===3){const Ie=r[y++],Pe=31&Ie,ut=64&Ie,yt=ut?2+Pe*3:0,wt=new Uint8Array(yt);if(ut){wt[0]=Ie;for(let Xt=1;Xt<yt;Xt++)wt[Xt]=r[y++]}n.push({type:$,payloadType:a,pts:t,bytes:wt})}}}}}else if(a===5&&u>16){const w=[];for(let $=0;$<16;$++){const Ie=r[y++].toString(16);w.push(Ie.length==1?"0"+Ie:Ie),($===3||$===5||$===7||$===9)&&w.push("-")}const k=u-16,X=new Uint8Array(k);for(let $=0;$<k;$++)X[$]=r[y++];n.push({payloadType:a,pts:t,uuid:w.join(""),userData:it(X),userDataBytes:X})}}}function Ae(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 et(s){const e=s[0];let t="",n="",r=0,i=0,a=0,u=0,p=0,m=0;if(e===0){for(;ke(s.subarray(m,m+1))!=="\0";)t+=ke(s.subarray(m,m+1)),m+=1;for(t+=ke(s.subarray(m,m+1)),m+=1;ke(s.subarray(m,m+1))!=="\0";)n+=ke(s.subarray(m,m+1)),m+=1;n+=ke(s.subarray(m,m+1)),m+=1,r=dt(s,12),i=dt(s,16),u=dt(s,20),p=dt(s,24),m=28}else if(e===1){m+=4,r=dt(s,m),m+=4;const w=dt(s,m);m+=4;const k=dt(s,m);for(m+=4,a=lc(2,32)*w+k,ie(a)||(a=Number.MAX_SAFE_INTEGER,pe.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),u=dt(s,m),m+=4,p=dt(s,m),m+=4;ke(s.subarray(m,m+1))!=="\0";)t+=ke(s.subarray(m,m+1)),m+=1;for(t+=ke(s.subarray(m,m+1)),m+=1;ke(s.subarray(m,m+1))!=="\0";)n+=ke(s.subarray(m,m+1)),m+=1;n+=ke(s.subarray(m,m+1)),m+=1}const y=s.subarray(m,s.byteLength);return{schemeIdUri:t,value:n,timeScale:r,presentationTime:a,presentationTimeDelta:i,eventDuration:u,id:p,payload:y}}function E(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 D(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.byteLength>0&&new DataView(a.buffer).setUint32(0,t.byteLength,!1),E([112,115,115,104],new Uint8Array([n,0,0,0]),s,i,r,a,t)}function Ve(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=ne(r);e.push(i),n+=i.size}}return e}function ne(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=ce(new Uint8Array(a,t+12,16));let p=null,m=null,y=0;if(i===0)y=28;else{const k=s.getUint32(28);if(!k||n<32+k*16)return{offset:t,size:e};p=[];for(let X=0;X<k;X++)p.push(new Uint8Array(a,t+32+X*16,16));y=32+k*16}if(!y)return{offset:t,size:e};const w=s.getUint32(y);return e-32<w?{offset:t,size:e}:(m=new Uint8Array(a,t+y+4,w),{version:i,systemId:u,kids:p,data:m,offset:t,size:e})}const q=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),jt={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 Ue(s,e){const t=jt[e];return!!t&&!!t[s.slice(0,4)]}function st(s,e,t=!0){return!s.split(",").some(n=>!ht(n,e,t))}function ht(s,e,t=!0){var n;const r=Be(t);return(n=r==null?void 0:r.isTypeSupported(de(s,e)))!=null?n:!1}function de(s,e){return`${e}/mp4;codecs=${s}`}function be(s){if(s){const e=s.substring(0,4);return jt.video[e]}return 2}function We(s){const e=q();return s.split(",").reduce((t,n)=>{const i=e&&tt(n)?9:jt.video[n];return i?(i*2+t)/(t?3:2):(jt.audio[n]+t)/(t?2:1)},0)}const Ze={};function Q(s,e=!0){if(Ze[s])return Ze[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(ht(t[r],"audio",e))return Ze[s]=t[r],t[r];if(t[r]==="mp3"&&(n=Be(e))!=null&&n.isTypeSupported("audio/mpeg"))return""}return s}const Mt=/flac|opus|mp4a\.40\.34/i;function _e(s,e=!0){return s.replace(Mt,t=>Q(t.toLowerCase(),e))}function bt(s,e){const t=[];if(s){const n=s.split(",");for(let r=0;r<n.length;r++)Ue(n[r],"video")||t.push(n[r])}return e&&t.push(e),t.join(",")}function An(s,e){if(s&&(s.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(s)!==-1)&&(xn(s,"audio")||xn(s,"video")))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 xn(s,e){return Ue(s,e)&&ht(s,e)}function Er(s){const e=s.split(",");for(let t=0;t<e.length;t++){const n=e[t].split(".");n.length>2&&n[0]==="avc1"&&(e[t]=`avc1.${parseInt(n[1]).toString(16)}${("000"+parseInt(n[2]).toString(16)).slice(-4)}`)}return e.join(",")}function vr(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 gr(s){const e=Be(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 Hr(s){return s.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const fi={supported:!0,powerEfficient:!0,smooth:!0},lr={supported:!1,smooth:!1,powerEfficient:!1},ii={supported:!0,configurations:[],decodingInfoResults:[fi]};function Wn(s,e){return{supported:!1,configurations:e,decodingInfoResults:[lr],error:s}}function Bt(s,e,t,n,r,i){const a=s.videoCodec,u=s.audioCodec?s.audioGroups:null,p=i==null?void 0:i.audioCodec,m=i==null?void 0:i.channels,y=m?parseInt(m):p?1/0:2;let w=null;if(u!=null&&u.length)try{u.length===1&&u[0]?w=e.groups[u[0]].channels:w=u.reduce((k,X)=>{if(X){const $=e.groups[X];if(!$)throw new Error(`Audio track group ${X} not found`);Object.keys($.channels).forEach(Ie=>{k[Ie]=(k[Ie]||0)+$.channels[Ie]})}return k},{2:0})}catch(k){return!0}return a!==void 0&&(a.split(",").some(k=>tt(k))||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))||!!w&&c(y)&&Object.keys(w).some(k=>parseInt(k)>y)}function En(s,e,t,n={}){const r=s.videoCodec;if(!r&&!s.audioCodec||!t)return Promise.resolve(ii);const i=[],a=nn(s),u=a.length,p=Yr(s,e,u>0),m=p.length;for(let y=u||1*m||1;y--;){const w={type:"media-source"};if(u&&(w.video=a[y%u]),m){w.audio=p[y%m];const k=w.audio.bitrate;w.video&&k&&(w.video.bitrate-=k)}i.push(w)}if(r){const y=navigator.userAgent;if(r.split(",").some(w=>tt(w))&&q())return Promise.resolve(Wn(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent string: (${y})`),i))}return Promise.all(i.map(y=>{const w=kn(y);return n[w]||(n[w]=t.decodingInfo(y))})).then(y=>({supported:!y.some(w=>!w.supported),configurations:i,decodingInfoResults:y})).catch(y=>({supported:!1,configurations:i,decodingInfoResults:[],error:y}))}function nn(s){var e;const t=(e=s.videoCodec)==null?void 0:e.split(","),n=It(s),r=s.width||640,i=s.height||480,a=s.frameRate||30,u=s.videoRange.toLowerCase();return t?t.map(p=>{const m={contentType:de(vr(p),"video"),width:r,height:i,bitrate:n,framerate:a};return u!=="sdr"&&(m.transferFunction=u),m}):[]}function Yr(s,e,t){var n;const r=(n=s.audioCodec)==null?void 0:n.split(","),i=It(s);return r&&s.audioGroups?s.audioGroups.reduce((a,u)=>{var p;const m=u?(p=e.groups[u])==null?void 0:p.tracks:null;return m?m.reduce((y,w)=>{if(w.groupId===u){const k=parseFloat(w.channels||"");r.forEach(X=>{const $={contentType:de(X,"audio"),bitrate:t?Lt(X,i):i};k&&($.channels=""+k),y.push($)})}return y},a):a},[]):[]}function Lt(s,e){if(e<=1)return 1;let t=128e3;return s==="ec-3"?t=768e3:s==="ac-3"&&(t=64e4),Math.min(e/2,t)}function It(s){return Math.ceil(Math.max(s.bitrate*.9,s.averageBitrate)/1e3)*1e3||1}function kn(s){let e="";const{audio:t,video:n}=s;if(n){const r=Hr(n.contentType);e+=`${r}_r${n.height}x${n.width}f${Math.ceil(n.framerate)}${n.transferFunction||"sd"}_${Math.ceil(n.bitrate/1e5)}`}if(t){const r=Hr(t.contentType);e+=`${n?"_":""}${r}_c${t.channels}`}return e}const vn=["NONE","TYPE-0","TYPE-1",null];function In(s){return vn.indexOf(s)>-1}const jn=["SDR","PQ","HLG"];function Dn(s){return!!s&&jn.indexOf(s)>-1}var $n={No:"",Yes:"YES",v2:"v2"};function br(s){const{canSkipUntil:e,canSkipDateRanges:t,age:n}=s,r=n<e/2;return e&&r?t?$n.v2:$n.Yes:$n.No}class cr{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 Tn{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 dr(this._audioGroups,e)}hasSubtitleGroup(e){return dr(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 dr(s,e){return!e||!s?!1:s.indexOf(e)!==-1}function Pr(){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 hr(s,e){let t=!1,n=[];if(s&&(t=s!=="SDR",n=[s]),e){n=e.allowedVideoRanges||jn.slice(0);const r=n.join("")!=="SDR"&&!e.videoCodec;t=e.preferHDR!==void 0?e.preferHDR:r&&Pr(),t||(n=["SDR"])}return{preferHDR:t,allowedVideoRanges:n}}const Dt=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}},kt=(s,e)=>JSON.stringify(s,Dt(e));function pn(s,e,t,n,r){const i=Object.keys(s),a=n==null?void 0:n.channels,u=n==null?void 0:n.audioCodec,p=r==null?void 0:r.videoCodec,m=a&&parseInt(a)===2;let y=!1,w=!1,k=1/0,X=1/0,$=1/0,Ie=1/0,Pe=0,ut=[];const{preferHDR:yt,allowedVideoRanges:wt}=hr(e,r);for(let Rn=i.length;Rn--;){const Ln=s[i[Rn]];y||(y=Ln.channels[2]>0),k=Math.min(k,Ln.minHeight),X=Math.min(X,Ln.minFramerate),$=Math.min($,Ln.minBitrate),wt.filter(yr=>Ln.videoRanges[yr]>0).length>0&&(w=!0)}k=c(k)?k:0,X=c(X)?X:0;const Xt=Math.max(1080,k),dn=Math.max(30,X);$=c($)?$:t,t=Math.max($,t),w||(e=void 0);const Yn=i.length>1;return{codecSet:i.reduce((Rn,Ln)=>{const gn=s[Ln];if(Ln===Rn)return Rn;if(ut=w?wt.filter(yr=>gn.videoRanges[yr]>0):[],Yn){if(gn.minBitrate>t)return an(Ln,`min bitrate of ${gn.minBitrate} > current estimate of ${t}`),Rn;if(!gn.hasDefaultAudio)return an(Ln,"no renditions with default or auto-select sound found"),Rn;if(u&&Ln.indexOf(u.substring(0,4))%5!==0)return an(Ln,`audio codec preference "${u}" not found`),Rn;if(a&&!m){if(!gn.channels[a])return an(Ln,`no renditions with ${a} channel sound found (channels options: ${Object.keys(gn.channels)})`),Rn}else if((!u||m)&&y&&gn.channels[2]===0)return an(Ln,"no renditions with stereo sound found"),Rn;if(gn.minHeight>Xt)return an(Ln,`min resolution of ${gn.minHeight} > maximum of ${Xt}`),Rn;if(gn.minFramerate>dn)return an(Ln,`min framerate of ${gn.minFramerate} > maximum of ${dn}`),Rn;if(!ut.some(yr=>gn.videoRanges[yr]>0))return an(Ln,`no variants with VIDEO-RANGE of ${kt(ut)} found`),Rn;if(p&&Ln.indexOf(p.substring(0,4))%5!==0)return an(Ln,`video codec preference "${p}" not found`),Rn;if(gn.maxScore<Pe)return an(Ln,`max score of ${gn.maxScore} < selected max of ${Pe}`),Rn}return Rn&&(We(Ln)>=We(Rn)||gn.fragmentError>s[Rn].fragmentError)?Rn:(Ie=gn.minIndex,Pe=gn.maxScore,Ln)},void 0),videoRanges:ut,preferHDR:yt,minFramerate:X,minBitrate:$,minIndex:Ie}}function an(s,e){pe.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 _n(s,e,t,n){return s.slice(t,n+1).reduce((r,i,a)=>{if(!i.codecSet)return r;const u=i.audioGroups;let p=r[i.codecSet];p||(r[i.codecSet]=p={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:a,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!u,fragmentError:0}),p.minBitrate=Math.min(p.minBitrate,i.bitrate);const m=Math.min(i.height,i.width);return p.minHeight=Math.min(p.minHeight,m),p.minFramerate=Math.min(p.minFramerate,i.frameRate),p.minIndex=Math.min(p.minIndex,a),p.maxScore=Math.max(p.maxScore,i.score),p.fragmentError+=i.fragmentError,p.videoRanges[i.videoRange]=(p.videoRanges[i.videoRange]||0)+1,u&&u.forEach(y=>{if(!y)return;const w=e.groups[y];w&&(p.hasDefaultAudio=p.hasDefaultAudio||e.hasDefaultAudio?w.hasDefault:w.hasAutoSelect||!e.hasDefaultAudio&&!e.hasAutoSelectAudio,Object.keys(w.channels).forEach(k=>{p.channels[k]=(p.channels[k]||0)+w.channels[k]}))}),r},{})}function Mn(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 nr(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(_r(s,r,t))return n}return-1}function _r(s,e,t){const{groupId:n,name:r,lang:i,assocLang:a,default:u}=s,p=s.forced;return(n===void 0||e.groupId===n)&&(r===void 0||e.name===r)&&(i===void 0||Nr(i,e.lang))&&(i===void 0||e.assocLang===a)&&(u===void 0||e.default===u)&&(p===void 0||e.forced===p)&&(!("characteristics"in s)||Ui(s.characteristics||"",e.characteristics))&&(t===void 0||t(s,e))}function Nr(s,e="--"){return s.length===e.length?s===e:s.startsWith(e)||e.startsWith(s)}function Ui(s,e=""){const t=s.split(","),n=e.split(",");return t.length===n.length&&!t.some(r=>n.indexOf(r)===-1)}function Ir(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 Lr(s,e,t,n,r){const i=e[n],u=e.reduce((k,X,$)=>{const Ie=X.uri;return(k[Ie]||(k[Ie]=[])).push($),k},{})[i.uri];u.length>1&&(n=Math.max.apply(Math,u));const p=i.videoRange,m=i.frameRate,y=i.codecSet.substring(0,4),w=xi(e,n,k=>{if(k.videoRange!==p||k.frameRate!==m||k.codecSet.substring(0,4)!==y)return!1;const X=k.audioGroups,$=t.filter(Ie=>!X||X.indexOf(Ie.groupId)!==-1);return nr(s,$,r)>-1});return w>-1?w:xi(e,n,k=>{const X=k.audioGroups,$=t.filter(Ie=>!X||X.indexOf(Ie.groupId)!==-1);return nr(s,$,r)>-1})}function xi(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 rt(s,e){var t;return!!s&&s!==((t=e.loadLevelObj)==null?void 0:t.uri)}class Ei extends Z{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.supportedCache={},this.bwEstimator=void 0,this._abandonRulesCheck=t=>{var n;const{fragCurrent:r,partCurrent:i,hls:a}=this,{autoLevelEnabled:u,media:p}=a;if(!r||!p)return;const m=performance.now(),y=i?i.stats:r.stats,w=i?i.duration:r.duration,k=m-y.loading.start,X=a.minAutoLevel,$=r.level,Ie=this._nextAutoLevel;if(y.aborted||y.loaded&&y.loaded===y.total||$<=X){this.clearTimer(),this._nextAutoLevel=-1;return}if(!u)return;const Pe=Ie>-1&&Ie!==$,ut=!!t||Pe;if(!ut&&(p.paused||!p.playbackRate||!p.readyState))return;const yt=a.mainForwardBufferInfo;if(!ut&&yt===null)return;const wt=this.bwEstimator.getEstimateTTFB(),Xt=Math.abs(p.playbackRate);if(k<=Math.max(wt,1e3*(w/(Xt*2))))return;const dn=yt?yt.len/Xt:0,Yn=y.loading.first?y.loading.first-y.loading.start:-1,mn=y.loaded&&Yn>-1,Rn=this.getBwEstimate(),Ln=a.levels,gn=Ln[$],yr=Math.max(y.loaded,Math.round(w*(r.bitrate||gn.averageBitrate)/8));let Pi=mn?k-Yn:k;Pi<1&&mn&&(Pi=Math.min(k,y.loaded*8/Rn));const ea=mn?y.loaded*1e3/Pi:0,ga=wt/1e3,ta=ea?(yr-y.loaded)/ea:yr*8/Rn+ga;if(ta<=dn)return;const vi=ea?ea*8:Rn,aa=((n=(t==null?void 0:t.details)||this.hls.latestLevelDetails)==null?void 0:n.live)===!0,Hi=this.hls.config.abrBandWidthUpFactor;let ca=Number.POSITIVE_INFINITY,ka;for(ka=$-1;ka>X;ka--){const bs=Ln[ka].maxBitrate,ns=!Ln[ka].details||aa;if(ca=this.getTimeToLoadFrag(ga,vi,w*bs,ns),ca<Math.min(dn,w+ga))break}if(ca>=ta||ca>w*10)return;mn?this.bwEstimator.sample(k-Math.min(wt,Yn),y.loaded):this.bwEstimator.sampleTTFB(k);const wi=Ln[ka].maxBitrate;this.getBwEstimate()*Hi>wi&&this.resetEstimator(wi);const Ci=this.findBestLevel(wi,X,ka,0,dn,1,1);Ci>-1&&(ka=Ci),this.warn(`Fragment ${r.sn}${i?" part "+i.index:""} of level ${$} is loading too slowly;
|
|
Fragment duration: ${r.duration.toFixed(3)}
|
|
Time to underbuffer: ${dn.toFixed(3)} s
|
|
Estimated load time for current fragment: ${ta.toFixed(3)} s
|
|
Estimated load time for down switch fragment: ${ca.toFixed(3)} s
|
|
TTFB estimate: ${Yn|0} ms
|
|
Current BW estimate: ${c(Rn)?Rn|0:"Unknown"} bps
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
Switching to level ${ka} @ ${wi|0} bps`),a.nextLoadLevel=a.nextAutoLevel=ka,this.clearTimer();const es=()=>{if(this.clearTimer(),this.fragCurrent===r&&this.hls.loadLevel===ka&&ka>0){const bs=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${ka>0?"and switching down":""}
|
|
Fragment duration: ${r.duration.toFixed(3)} s
|
|
Time to underbuffer: ${bs.toFixed(3)} s`),r.abortRequests(),this.fragCurrent=this.partCurrent=null,ka>X){let ns=this.findBestLevel(this.hls.levels[X].bitrate,X,ka,0,bs,1,1);ns===-1&&(ns=X),this.hls.nextLoadLevel=this.hls.nextAutoLevel=ns,this.resetEstimator(this.hls.levels[ns].bitrate)}}};Pe||ta>ca*2?es():this.timer=self.setInterval(es,ca*1e3),a.trigger(v.FRAG_LOAD_EMERGENCY_ABORTED,{frag:r,part:i,stats:y})},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 C(e.abrEwmaSlowVoD,e.abrEwmaFastVoD,e.abrEwmaDefaultEstimate)}registerListeners(){const{hls:e}=this;e.on(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.FRAG_LOADING,this.onFragLoading,this),e.on(v.FRAG_LOADED,this.onFragLoaded,this),e.on(v.FRAG_BUFFERED,this.onFragBuffered,this),e.on(v.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(v.LEVEL_LOADED,this.onLevelLoaded,this),e.on(v.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(v.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.on(v.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e&&(e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.FRAG_LOADING,this.onFragLoading,this),e.off(v.FRAG_LOADED,this.onFragLoaded,this),e.off(v.FRAG_BUFFERED,this.onFragBuffered,this),e.off(v.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(v.LEVEL_LOADED,this.onLevelLoaded,this),e.off(v.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(v.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.off(v.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=this.supportedCache=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(e,t){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.supportedCache={},this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(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 j.BUFFER_ADD_CODEC_ERROR:case j.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case j.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,p=a-u.loading.start,m=u.loading.first?u.loading.first-u.loading.start:-1;if(u.loaded&&m>-1){const w=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(p-Math.min(w,m),u.loaded)}else this.bwEstimator.sampleTTFB(p)}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;c(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===ee.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,p=(a.loaded?a.loaded.duration:0)+i;a.loaded={bytes:u,duration:p},a.realBitrate=Math.round(8*u/p)}if(t.bitrateTest){const i={stats:r,frag:t,part:n,id:t.type};this.onFragBuffered(v.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!==ee.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,p=this.getBwEstimate(),m=this.getStarvationDelay();let y=i.abrBandWidthFactor,w=i.abrBandWidthUpFactor;if(m){const Pe=this.findBestLevel(p,a,r,m,0,y,w);if(Pe>=0)return this.rebufferNotice=-1,Pe}let k=u?Math.min(u,i.maxStarvationDelay):i.maxStarvationDelay;if(!m){const Pe=this.bitrateTestDelay;Pe&&(k=(u?Math.min(u,i.maxLoadingDelay):i.maxLoadingDelay)-Pe,this.info(`bitrate test took ${Math.round(1e3*Pe)}ms, set first fragment max fetchDuration to ${Math.round(1e3*k)} ms`),y=w=1)}const X=this.findBestLevel(p,a,r,m,k,y,w);if(this.rebufferNotice!==X&&(this.rebufferNotice=X,this.info(`${m?"rebuffering expected":"buffer is empty"}, optimal quality level ${X}`)),X>-1)return X;const $=n.levels[a],Ie=n.loadLevelObj;return Ie&&($==null?void 0:$.bitrate)<Ie.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 p;const m=r+i,y=this.lastLoadedFragLevel,w=y===-1?this.hls.firstLevel:y,{fragCurrent:k,partCurrent:X}=this,{levels:$,allAudioTracks:Ie,loadLevel:Pe,config:ut}=this.hls;if($.length===1)return 0;const yt=$[w],wt=!!((p=this.hls.latestLevelDetails)!=null&&p.live),Xt=Pe===-1||y===-1;let dn,Yn="SDR",mn=(yt==null?void 0:yt.frameRate)||0;const{audioPreference:Rn,videoPreference:Ln}=ut,gn=this.audioTracksByGroup||(this.audioTracksByGroup=cn(Ie));let yr=-1;if(Xt){if(this.firstSelection!==-1)return this.firstSelection;const vi=this.codecTiers||(this.codecTiers=_n($,gn,t,n)),aa=pn(vi,Yn,e,Rn,Ln),{codecSet:Hi,videoRanges:ca,minFramerate:ka,minBitrate:wi,minIndex:Ci,preferHDR:es}=aa;yr=Ci,dn=Hi,Yn=es?ca[ca.length-1]:ca[0],mn=ka,e=Math.max(e,wi),this.log(`picked start tier ${kt(aa)}`)}else dn=yt==null?void 0:yt.codecSet,Yn=yt==null?void 0:yt.videoRange;const Pi=X?X.duration:k?k.duration:0,ea=this.bwEstimator.getEstimateTTFB()/1e3,ga=[];for(let vi=n;vi>=t;vi--){var ta;const aa=$[vi],Hi=vi>w;if(!aa)continue;if(ut.useMediaCapabilities&&!aa.supportedResult&&!aa.supportedPromise){const ns=navigator.mediaCapabilities;typeof(ns==null?void 0:ns.decodingInfo)=="function"&&Bt(aa,gn,Yn,mn,e,Rn)?(aa.supportedPromise=En(aa,gn,ns,this.supportedCache),aa.supportedPromise.then(us=>{if(!this.hls)return;aa.supportedResult=us;const yo=this.hls.levels,ho=yo.indexOf(aa);us.error?this.warn(`MediaCapabilities decodingInfo error: "${us.error}" for level ${ho} ${kt(us)}`):us.supported?us.decodingInfoResults.some(Fo=>Fo.smooth===!1||Fo.powerEfficient===!1)&&this.log(`MediaCapabilities decodingInfo for level ${ho} not smooth or powerEfficient: ${kt(us)}`):(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${ho} ${kt(us)}`),ho>-1&&yo.length>1&&(this.log(`Removing unsupported level ${ho}`),this.hls.removeLevel(ho),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))}).catch(us=>{this.warn(`Error handling MediaCapabilities decodingInfo: ${us}`)})):aa.supportedResult=ii}if((dn&&aa.codecSet!==dn||Yn&&aa.videoRange!==Yn||Hi&&mn>aa.frameRate||!Hi&&mn>0&&mn<aa.frameRate||(ta=aa.supportedResult)!=null&&(ta=ta.decodingInfoResults)!=null&&ta.some(ns=>ns.smooth===!1))&&(!Xt||vi!==yr)){ga.push(vi);continue}const ca=aa.details,ka=(X?ca==null?void 0:ca.partTarget:ca==null?void 0:ca.averagetargetduration)||Pi;let wi;Hi?wi=u*e:wi=a*e;const Ci=Pi&&r>=Pi*2&&i===0?aa.averageBitrate:aa.maxBitrate,es=this.getTimeToLoadFrag(ea,wi,Ci*ka,ca===void 0);if(wi>=Ci&&(vi===y||aa.loadError===0&&aa.fragmentError===0)&&(es<=ea||!c(es)||wt&&!this.bitrateTestDelay||es<m)){const ns=this.forcedAutoLevel;return vi!==Pe&&(ns===-1||ns!==Pe)&&(ga.length&&this.trace(`Skipped level(s) ${ga.join(",")} of ${n} max with CODECS and VIDEO-RANGE:"${$[ga[0]].codecs}" ${$[ga[0]].videoRange}; not compatible with "${dn}" ${Yn}`),this.info(`switch candidate:${w}->${vi} adjustedbw(${Math.round(wi)})-bitrate=${Math.round(wi-Ci)} ttfb:${ea.toFixed(1)} avgDuration:${ka.toFixed(1)} maxFetchDuration:${m.toFixed(1)} fetchDuration:${es.toFixed(1)} firstSelection:${Xt} codecSet:${aa.codecSet} videoRange:${aa.videoRange} hls.loadLevel:${Pe}`)),Xt&&(this.firstSelection=vi),vi}}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 Br={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||!c(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;for(let i=0;i<s.length;++i){const a=s[i];if(yi(e,t,a))return a}return null}function Ii(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)&&gi(t,n,i)===0||Bi(i,s,Math.min(r,n))))return i;const a=Br.search(e,gi.bind(null,t,n));return a&&(a!==s||!i)?a:i}function Bi(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 gi(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 yi(s,e,t){const n=Math.min(e,t.duration+(t.deltaPTS?t.deltaPTS:0))*1e3;return(t.endProgramDateTime||0)-n>s}function Mr(s,e,t){if(s&&s.startCC<=e&&s.endCC>=e){let n=s.fragments;const{fragmentHint:r}=s;r&&(n=n.concat(r));let i;return Br.search(n,a=>a.cc<e?1:a.cc>e?-1:(i=a,a.end<=t?1:a.start>t?-1:0)),i||null}return null}function $r(s){switch(s.details){case j.FRAG_LOAD_TIMEOUT:case j.KEY_LOAD_TIMEOUT:case j.LEVEL_LOAD_TIMEOUT:case j.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function Ea(s){return s.details.startsWith("key")}function on(s){return Ea(s)&&!!s.frag&&!s.frag.decryptdata}function ei(s,e){const t=$r(e);return s.default[`${t?"timeout":"error"}Retry`]}function Li(s,e){const t=s.backoff==="linear"?1:Math.pow(2,e);return Math.min(t*s.retryDelayMs,s.maxRetryDelayMs)}function Ft(s){return L(L({},s),{errorRetry:null,timeoutRetry:null})}function Zt(s,e,t,n){if(!s)return!1;const r=n==null?void 0:n.code,i=e<s.maxNumRetry&&(Gt(r)||!!t);return s.shouldRetry?s.shouldRetry(s,e,t,n,i):i}function Gt(s){return Zn(s)||!!s&&(s<400||s>499)}function Zn(s){return s===0&&navigator.onLine===!1}var sr={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},Un={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,MoveAllAlternatesMatchingKey:4,SwitchToSDR:8};class en extends Z{constructor(e){super("error-controller",e.logger),this.hls=void 0,this.playlistError=0,this.hls=e,this.registerListeners()}registerListeners(){const e=this.hls;e.on(v.ERROR,this.onError,this),e.on(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const e=this.hls;e&&(e.off(v.ERROR,this.onError,this),e.off(v.ERROR,this.onErrorOut,this),e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null}startLoad(e){}stopLoad(){this.playlistError=0}getVariantLevelIndex(e){return(e==null?void 0:e.type)===ee.MAIN?e.level:this.getVariantIndex()}getVariantIndex(){var e;const t=this.hls,n=t.currentLevel;return(e=t.loadLevelObj)!=null&&e.details||n===-1?t.loadLevel:n}variantHasKey(e,t){if(e){var n;if((n=e.details)!=null&&n.hasKey(t))return!0;const r=e.audioGroups;if(r)return this.hls.allAudioTracks.filter(a=>r.indexOf(a.groupId)>=0).some(a=>{var u;return(u=a.details)==null?void 0:u.hasKey(t)})}return!1}onManifestLoading(){this.playlistError=0}onLevelUpdated(){this.playlistError=0}onError(e,t){var n;if(t.fatal)return;const r=this.hls,i=t.context;switch(t.details){case j.FRAG_LOAD_ERROR:case j.FRAG_LOAD_TIMEOUT:case j.KEY_LOAD_ERROR:case j.KEY_LOAD_TIMEOUT:t.errorAction=this.getFragRetryOrSwitchAction(t);return;case j.FRAG_PARSING_ERROR:if((n=t.frag)!=null&&n.gap){t.errorAction=hn();return}case j.FRAG_GAP:case j.FRAG_DECRYPT_ERROR:{t.errorAction=this.getFragRetryOrSwitchAction(t),t.errorAction.action=sr.SendAlternateToPenaltyBox;return}case j.LEVEL_EMPTY_ERROR:case j.LEVEL_PARSING_ERROR:{var a;const p=t.parent===ee.MAIN?t.level:r.loadLevel;t.details===j.LEVEL_EMPTY_ERROR&&((a=t.context)!=null&&(a=a.levelDetails)!=null&&a.live)?t.errorAction=this.getPlaylistRetryOrSwitchAction(t,p):(t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,p))}return;case j.LEVEL_LOAD_ERROR:case j.LEVEL_LOAD_TIMEOUT:typeof(i==null?void 0:i.level)=="number"&&(t.errorAction=this.getPlaylistRetryOrSwitchAction(t,i.level));return;case j.AUDIO_TRACK_LOAD_ERROR:case j.AUDIO_TRACK_LOAD_TIMEOUT:case j.SUBTITLE_LOAD_ERROR:case j.SUBTITLE_TRACK_LOAD_TIMEOUT:if(i){const p=r.loadLevelObj;if(p&&(i.type===re.AUDIO_TRACK&&p.hasAudioGroup(i.groupId)||i.type===re.SUBTITLE_TRACK&&p.hasSubtitleGroup(i.groupId))){t.errorAction=this.getPlaylistRetryOrSwitchAction(t,r.loadLevel),t.errorAction.action=sr.SendAlternateToPenaltyBox,t.errorAction.flags=Un.MoveAllAlternatesMatchingHost;return}}return;case j.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:t.errorAction={action:sr.SendAlternateToPenaltyBox,flags:Un.MoveAllAlternatesMatchingHDCP};return;case j.KEY_SYSTEM_SESSION_UPDATE_FAILED:case j.KEY_SYSTEM_STATUS_INTERNAL_ERROR:case j.KEY_SYSTEM_NO_SESSION:t.errorAction={action:sr.SendAlternateToPenaltyBox,flags:Un.MoveAllAlternatesMatchingKey};return;case j.BUFFER_ADD_CODEC_ERROR:case j.REMUX_ALLOC_ERROR:case j.BUFFER_APPEND_ERROR:if(!t.errorAction){var u;t.errorAction=this.getLevelSwitchAction(t,(u=t.level)!=null?u:r.loadLevel)}return;case j.INTERNAL_EXCEPTION:case j.BUFFER_APPENDING_ERROR:case j.BUFFER_FULL_ERROR:case j.LEVEL_SWITCH_ERROR:case j.BUFFER_STALLED_ERROR:case j.BUFFER_SEEK_OVER_HOLE:case j.BUFFER_NUDGE_ON_STALL:t.errorAction=hn();return}t.type===le.KEY_SYSTEM_ERROR&&(t.levelRetry=!1,t.errorAction=hn())}getPlaylistRetryOrSwitchAction(e,t){const n=this.hls,r=ei(n.config.playlistLoadPolicy,e),i=this.playlistError++;if(Zt(r,i,$r(e),e.response))return{action:sr.RetryRequest,flags:Un.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=ei(Ea(e)?a:i,e),p=t.levels.reduce((y,w)=>y+w.fragmentError,0);if(r&&(e.details!==j.FRAG_GAP&&r.fragmentError++,!on(e)&&Zt(u,p,$r(e),e.response)))return{action:sr.RetryRequest,flags:Un.None,retryConfig:u,retryCount:p};const m=this.getLevelSwitchAction(e,n);return u&&(m.retryConfig=u,m.retryCount=p),m}getLevelSwitchAction(e,t){const n=this.hls;t==null&&(t=n.loadLevel);const r=this.hls.levels[t];if(r){var i,a;const m=e.details;r.loadError++,m===j.BUFFER_APPEND_ERROR&&r.fragmentError++;let y=-1;const{levels:w,loadLevel:k,minAutoLevel:X,maxAutoLevel:$}=n;!n.autoLevelEnabled&&!n.config.preserveManualLevelOnError&&(n.loadLevel=-1);const Ie=(i=e.frag)==null?void 0:i.type,ut=(Ie===ee.AUDIO&&m===j.FRAG_PARSING_ERROR||e.sourceBufferName==="audio"&&(m===j.BUFFER_ADD_CODEC_ERROR||m===j.BUFFER_APPEND_ERROR))&&w.some(({audioCodec:Yn})=>r.audioCodec!==Yn),wt=e.sourceBufferName==="video"&&(m===j.BUFFER_ADD_CODEC_ERROR||m===j.BUFFER_APPEND_ERROR)&&w.some(({codecSet:Yn,audioCodec:mn})=>r.codecSet!==Yn&&r.audioCodec===mn),{type:Xt,groupId:dn}=(a=e.context)!=null?a:{};for(let Yn=w.length;Yn--;){const mn=(Yn+k)%w.length;if(mn!==k&&mn>=X&&mn<=$&&w[mn].loadError===0){var u,p;const Rn=w[mn];if(m===j.FRAG_GAP&&Ie===ee.MAIN&&e.frag){const Ln=w[mn].details;if(Ln){const gn=Ii(e.frag,Ln.fragments,e.frag.start);if(gn!=null&&gn.gap)continue}}else{if(Xt===re.AUDIO_TRACK&&Rn.hasAudioGroup(dn)||Xt===re.SUBTITLE_TRACK&&Rn.hasSubtitleGroup(dn))continue;if(Ie===ee.AUDIO&&(u=r.audioGroups)!=null&&u.some(Ln=>Rn.hasAudioGroup(Ln))||Ie===ee.SUBTITLE&&(p=r.subtitleGroups)!=null&&p.some(Ln=>Rn.hasSubtitleGroup(Ln))||ut&&r.audioCodec===Rn.audioCodec||wt&&r.codecSet===Rn.codecSet||!ut&&r.codecSet!==Rn.codecSet)continue}y=mn;break}}if(y>-1&&n.loadLevel!==y)return e.levelRetry=!0,this.playlistError=0,{action:sr.SendAlternateToPenaltyBox,flags:Un.None,nextAutoLevel:y}}return{action:sr.SendAlternateToPenaltyBox,flags:Un.MoveAllAlternatesMatchingHost}}onErrorOut(e,t){var n;switch((n=t.errorAction)==null?void 0:n.action){case sr.DoNothing:break;case sr.SendAlternateToPenaltyBox:this.sendAlternateToPenaltyBox(t),!t.errorAction.resolved&&t.details!==j.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 sr.RetryRequest:break}if(t.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(e){const t=this.hls,n=e.errorAction;if(!n)return;const{flags:r}=n,i=n.nextAutoLevel;switch(r){case Un.None:this.switchLevel(e,i);break;case Un.MoveAllAlternatesMatchingHDCP:{const p=this.getVariantLevelIndex(e.frag),m=t.levels[p],y=m==null?void 0:m.attrs["HDCP-LEVEL"];if(n.hdcpLevel=y,y==="NONE")this.warn("HDCP policy resticted output with HDCP-LEVEL=NONE");else if(y){t.maxHdcpLevel=vn[vn.indexOf(y)-1],n.resolved=!0,this.warn(`Restricting playback to HDCP-LEVEL of "${t.maxHdcpLevel}" or lower`);break}}case Un.MoveAllAlternatesMatchingKey:{const p=e.decryptdata;if(p){const m=this.hls.levels,y=m.length;for(let k=y;k--;)if(this.variantHasKey(m[k],p)){var a,u;this.log(`Banned key found in level ${k} (${m[k].bitrate}bps) or audio group "${(a=m[k].audioGroups)==null?void 0:a.join(",")}" (${(u=e.frag)==null?void 0:u.type} fragment) ${ce(p.keyId||[])}`),m[k].fragmentError++,m[k].loadError++,this.log(`Removing level ${k} with key error (${e.error})`),this.hls.removeLevel(k)}const w=e.frag;if(this.hls.levels.length<y)n.resolved=!0;else if(w&&w.type!==ee.MAIN){const k=w.decryptdata;k&&!p.matches(k)&&(n.resolved=!0)}}break}}n.resolved||this.switchLevel(e,i)}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===j.BUFFER_ADD_CODEC_ERROR&&e.mimeType&&e.sourceBufferName!=="audiovideo")){const n=Hr(e.mimeType),r=this.hls.levels;for(let i=r.length;i--;)r[i][`${e.sourceBufferName}Codec`]===n&&(this.log(`Removing level ${i} for ${e.details} ("${n}" not supported)`),this.hls.removeLevel(i))}}}function hn(s){const e={action:sr.DoNothing,flags:Un.None};return s&&(e.resolved=!0),e}var $t={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Nn{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&&(e.on(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.BUFFER_APPENDED,this.onBufferAppended,this),e.on(v.FRAG_BUFFERED,this.onFragBuffered,this),e.on(v.FRAG_LOADED,this.onFragLoaded,this))}_unregisterListeners(){const{hls:e}=this;e&&(e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.BUFFER_APPENDED,this.onBufferAppended,this),e.off(v.FRAG_BUFFERED,this.onFragBuffered,this),e.off(v.FRAG_LOADED,this.onFragLoaded,this))}destroy(){this._unregisterListeners(),this.hls=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;if(i.start<=e&&e<=i.end&&i.loaded)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 p=u.body;if(p.start<=e&&e<=p.end)return p}}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 p=this.fragments[u];if(!p||a>=p.body.sn)return;if(!p.buffered&&(!p.loaded||i)){p.body.type===n&&this.removeFragment(p.body);return}const m=p.range[e];if(m){if(m.time.length===0){this.removeFragment(p.body);return}m.time.some(y=>{const w=!this.isTimeBuffered(y.startPTS,y.endPTS,t);return w&&this.removeFragment(p.body),w})}})}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 p=n.elementaryStreams[u];if(!p)return;const m=t[u],y=a||p.partial===!0;i.range[u]=this.getBufferedTimes(n,e.part,y,m)}),i.loaded=null,Object.keys(i.range).length?(this.bufferedEnd(i,n),wr(i)||this.removeParts(n.sn-1,n.type)):this.removeFragment(i.body)}bufferedEnd(e,t){e.buffered=!0,(e.body.endList=t.endList||e.body.endList)&&(this.endListFragments[e.body.type]=e)}removeParts(e,t){const n=this.activePartLists[t];n&&(this.activePartLists[t]=Xn(n,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,this.bufferedEnd(r,e))}getBufferedTimes(e,t,n,r){const i={time:[],partial:n},a=e.start,u=e.end,p=e.minEndPTS||u,m=e.maxStartPTS||a;for(let y=0;y<r.length;y++){const w=r.start(y)-this.bufferPadding,k=r.end(y)+this.bufferPadding;if(m>=w&&p<=k){i.time.push({startPTS:Math.max(a,r.start(y)),endPTS:Math.min(u,r.end(y))});break}else if(a<k&&u>w){const X=Math.max(a,r.start(y)),$=Math.min(u,r.end(y));$>X&&(i.partial=!0,i.time.push({startPTS:X,endPTS:$}))}else if(u<=w)break}return i}getPartialFragment(e){let t=null,n,r,i,a=0;const{bufferPadding:u,fragments:p}=this;return Object.keys(p).forEach(m=>{const y=p[m];y&&wr(y)&&(r=y.body.start-u,i=y.body.end+u,e>=r&&e<=i&&(n=Math.min(e-r,i-e),a<=n&&(t=y.body,a=n)))}),t}isEndListAppended(e){const t=this.endListFragments[e];return t!==void 0&&(t.buffered||wr(t))}getState(e){const t=zr(e),n=this.fragments[t];return n?n.buffered?wr(n)?$t.PARTIAL:$t.OK:$t.APPENDING:$t.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 m=this.activePartLists[u];m||(this.activePartLists[u]=m=[]),m.push(r)}this.timeRanges=i;const p=i[a];this.detectEvictedFragments(a,p,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 p=u.body;p.type!==n||r&&!p.gap||p.start<t&&p.end>e&&(u.buffered||i)&&this.removeFragment(p)})}removeFragment(e){const t=zr(e);e.clearElementaryStreamInfo();const n=this.activePartLists[e.type];if(n){const r=e.sn;this.activePartLists[e.type]=Xn(n,i=>i.fragment.sn!==r)}delete this.fragments[t],e.endList&&delete this.endListFragments[e.type]}removeAllFragments(){var e;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const t=(e=this.hls)==null||(e=e.latestLevelDetails)==null?void 0:e.partList;t&&t.forEach(n=>n.clearElementaryStreamInfo())}}function wr(s){var e,t,n;return s.buffered&&!!(s.body.gap||(e=s.range.video)!=null&&e.partial||(t=s.range.audio)!=null&&t.partial||(n=s.range.audiovideo)!=null&&n.partial)}function zr(s){return`${s.type}_${s.level}_${s.sn}`}function Xn(s,e){return s.filter(t=>{const n=e(t);return n||t.clearElementaryStreamInfo(),n})}var Rr={cbc:0,ctr:1};class Zr{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 Rr.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e);case Rr.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 Gi(s){const e=s.byteLength,t=e&&new DataView(s.buffer).getUint8(e-1);return t?s.slice(0,e-t):s}class sa{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],p=this.invSubMix,m=p[0],y=p[1],w=p[2],k=p[3],X=new Uint32Array(256);let $=0,Ie=0,Pe=0;for(Pe=0;Pe<256;Pe++)Pe<128?X[Pe]=Pe<<1:X[Pe]=Pe<<1^283;for(Pe=0;Pe<256;Pe++){let ut=Ie^Ie<<1^Ie<<2^Ie<<3^Ie<<4;ut=ut>>>8^ut&255^99,e[$]=ut,t[ut]=$;const yt=X[$],wt=X[yt],Xt=X[wt];let dn=X[ut]*257^ut*16843008;r[$]=dn<<24|dn>>>8,i[$]=dn<<16|dn>>>16,a[$]=dn<<8|dn>>>24,u[$]=dn,dn=Xt*16843009^wt*65537^yt*257^$*16843008,m[ut]=dn<<24|dn>>>8,y[ut]=dn<<16|dn>>>16,w[ut]=dn<<8|dn>>>24,k[ut]=dn,$?($=yt^X[X[X[Xt^yt]]],Ie^=X[X[Ie]]):$=Ie=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,p;const m=this.keySchedule=new Uint32Array(a),y=this.invKeySchedule=new Uint32Array(a),w=this.sBox,k=this.rcon,X=this.invSubMix,$=X[0],Ie=X[1],Pe=X[2],ut=X[3];let yt,wt;for(u=0;u<a;u++){if(u<i){yt=m[u]=t[u];continue}wt=yt,u%i===0?(wt=wt<<8|wt>>>24,wt=w[wt>>>24]<<24|w[wt>>>16&255]<<16|w[wt>>>8&255]<<8|w[wt&255],wt^=k[u/i|0]<<24):i>6&&u%i===4&&(wt=w[wt>>>24]<<24|w[wt>>>16&255]<<16|w[wt>>>8&255]<<8|w[wt&255]),m[u]=yt=(m[u-i]^wt)>>>0}for(p=0;p<a;p++)u=a-p,p&3?wt=m[u]:wt=m[u-4],p<4||u<=4?y[p]=wt:y[p]=$[w[wt>>>24]]^Ie[w[wt>>>16&255]]^Pe[w[wt>>>8&255]]^ut[w[wt&255]],y[p]=y[p]>>>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,p=u[0],m=u[1],y=u[2],w=u[3],k=this.uint8ArrayToUint32Array_(n);let X=k[0],$=k[1],Ie=k[2],Pe=k[3];const ut=new Int32Array(e),yt=new Int32Array(ut.length);let wt,Xt,dn,Yn,mn,Rn,Ln,gn,yr,Pi,ea,ga,ta,vi;const aa=this.networkToHostOrderSwap;for(;t<ut.length;){for(yr=aa(ut[t]),Pi=aa(ut[t+1]),ea=aa(ut[t+2]),ga=aa(ut[t+3]),mn=yr^i[0],Rn=ga^i[1],Ln=ea^i[2],gn=Pi^i[3],ta=4,vi=1;vi<r;vi++)wt=p[mn>>>24]^m[Rn>>16&255]^y[Ln>>8&255]^w[gn&255]^i[ta],Xt=p[Rn>>>24]^m[Ln>>16&255]^y[gn>>8&255]^w[mn&255]^i[ta+1],dn=p[Ln>>>24]^m[gn>>16&255]^y[mn>>8&255]^w[Rn&255]^i[ta+2],Yn=p[gn>>>24]^m[mn>>16&255]^y[Rn>>8&255]^w[Ln&255]^i[ta+3],mn=wt,Rn=Xt,Ln=dn,gn=Yn,ta=ta+4;wt=a[mn>>>24]<<24^a[Rn>>16&255]<<16^a[Ln>>8&255]<<8^a[gn&255]^i[ta],Xt=a[Rn>>>24]<<24^a[Ln>>16&255]<<16^a[gn>>8&255]<<8^a[mn&255]^i[ta+1],dn=a[Ln>>>24]<<24^a[gn>>16&255]<<16^a[mn>>8&255]<<8^a[Rn&255]^i[ta+2],Yn=a[gn>>>24]<<24^a[mn>>16&255]<<16^a[Rn>>8&255]<<8^a[Ln&255]^i[ta+3],yt[t]=aa(wt^X),yt[t+1]=aa(Yn^$),yt[t+2]=aa(dn^Ie),yt[t+3]=aa(Xt^Pe),X=yr,$=Pi,Ie=ea,Pe=ga,t=t+4}return yt.buffer}}class ya{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=Ri(this.aesMode);return this.subtle.importKey("raw",this.key,{name:e},!1,["encrypt","decrypt"])}}function Ri(s){switch(s){case Rr.cbc:return"AES-CBC";case Rr.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${s}`)}}const Sa=16;class zi{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?Gi(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 p=this.flush();p?i(p.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!==Rr.cbc||t.byteLength!==16)return pe.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),u&&(e=xt(u,e),this.remainderData=null);const p=this.getValidChunk(e);if(!p.length)return null;i&&(n=i);let m=this.softwareDecrypter;m||(m=this.softwareDecrypter=new sa),m.expandKey(t);const y=a;return this.currentResult=m.decrypt(p.buffer,0,n),this.currentIV=p.slice(-16).buffer,y||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 ya(this.subtle,t,r)}return this.fastAesKey.expandKey().then(i=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new Zr(this.subtle,new Uint8Array(n),r).decrypt(e.buffer,i)):Promise.reject(new Error("web crypto not initialized"))).catch(i=>(pe.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%Sa;return n!==e.length&&(t=e.slice(0,n),this.remainderData=e.slice(n)),t}logOnce(e){this.logEnabled&&(pe.log(`[decrypter]: ${e}`),this.logEnabled=!1)}}const oa=Math.pow(2,17);class ji{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 Kr({type:le.NETWORK_ERROR,details:j.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,p)=>{if(this.loader&&this.loader.destroy(),e.gap)if(e.tagList.some($=>$[0]==="GAP")){p(Fi(e));return}else e.gap=!1;const m=this.loader=i?new i(r):new a(r),y=ra(e);e.loader=m;const w=Ft(r.fragLoadPolicy.default),k={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:e.sn==="initSegment"?1/0:oa};e.stats=m.stats;const X={onSuccess:($,Ie,Pe,ut)=>{this.resetLoader(e,m);let yt=$.data;Pe.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(yt.slice(0,16)),yt=yt.slice(16)),u({frag:e,part:null,payload:yt,networkDetails:ut})},onError:($,Ie,Pe,ut)=>{this.resetLoader(e,m),p(new Kr({type:le.NETWORK_ERROR,details:j.FRAG_LOAD_ERROR,fatal:!1,frag:e,response:L({url:n,data:void 0},$),error:new Error(`HTTP Error ${$.code} ${$.text}`),networkDetails:Pe,stats:ut}))},onAbort:($,Ie,Pe)=>{this.resetLoader(e,m),p(new Kr({type:le.NETWORK_ERROR,details:j.INTERNAL_ABORTED,fatal:!1,frag:e,error:new Error("Aborted"),networkDetails:Pe,stats:$}))},onTimeout:($,Ie,Pe)=>{this.resetLoader(e,m),p(new Kr({type:le.NETWORK_ERROR,details:j.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,error:new Error(`Timeout after ${k.timeout}ms`),networkDetails:Pe,stats:$}))}};t&&(X.onProgress=($,Ie,Pe,ut)=>t({frag:e,part:null,payload:Pe,networkDetails:ut})),m.load(y,k,X)})}loadPart(e,t,n){this.abort();const r=this.config,i=r.fLoader,a=r.loader;return new Promise((u,p)=>{if(this.loader&&this.loader.destroy(),e.gap||t.gap){p(Fi(e,t));return}const m=this.loader=i?new i(r):new a(r),y=ra(e,t);e.loader=m;const w=Ft(r.fragLoadPolicy.default),k={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:oa};t.stats=m.stats,m.load(y,k,{onSuccess:(X,$,Ie,Pe)=>{this.resetLoader(e,m),this.updateStatsFromPart(e,t);const ut={frag:e,part:t,payload:X.data,networkDetails:Pe};n(ut),u(ut)},onError:(X,$,Ie,Pe)=>{this.resetLoader(e,m),p(new Kr({type:le.NETWORK_ERROR,details:j.FRAG_LOAD_ERROR,fatal:!1,frag:e,part:t,response:L({url:y.url,data:void 0},X),error:new Error(`HTTP Error ${X.code} ${X.text}`),networkDetails:Ie,stats:Pe}))},onAbort:(X,$,Ie)=>{e.stats.aborted=t.stats.aborted,this.resetLoader(e,m),p(new Kr({type:le.NETWORK_ERROR,details:j.INTERNAL_ABORTED,fatal:!1,frag:e,part:t,error:new Error("Aborted"),networkDetails:Ie,stats:X}))},onTimeout:(X,$,Ie)=>{this.resetLoader(e,m),p(new Kr({type:le.NETWORK_ERROR,details:j.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,part:t,error:new Error(`Timeout after ${k.timeout}ms`),networkDetails:Ie,stats:X}))}})})}updateStatsFromPart(e,t){const n=e.stats,r=t.stats,i=r.total;if(n.loaded+=r.loaded,i){const p=Math.round(e.duration/t.duration),m=Math.min(Math.round(n.loaded/i),p),w=(p-m)*Math.round(n.loaded/m);n.total=n.loaded+w}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 ra(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(c(r)&&c(i)){var a;let u=r,p=i;if(s.sn==="initSegment"&&da((a=s.decryptdata)==null?void 0:a.method)){const m=i-r;m%16&&(p=i+(16-m%16)),r!==0&&(n.resetIV=!0,u=r-16)}n.rangeStart=u,n.rangeEnd=p}return n}function Fi(s,e){const t=new Error(`GAP ${s.gap?"tag":"attribute"} found`),n={type:le.MEDIA_ERROR,details:j.FRAG_GAP,fatal:!1,frag:s,error:t,networkDetails:null};return e&&(n.part=e),(e||s).stats.aborted=!0,new Kr(n)}function da(s){return s==="AES-128"||s==="AES-256"}class Kr extends Error{constructor(e){super(e.error.message),this.data=void 0,this.data=e}}class fa extends Z{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 kr{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=_a(),this.buffering={audio:_a(),video:_a(),audiovideo:_a()},this.level=e,this.sn=t,this.id=n,this.size=r,this.part=i,this.partial=a}}function _a(){return{start:0,executeStart:0,executeEnd:0,end:0}}const rr={length:0,start:()=>0,end:()=>0};class or{static isBuffered(e,t){if(e){const n=or.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=or.getBuffered(e);return or.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=or.bufferedRanges(e);if(r.length)return or.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((y,w)=>y.start-w.start||w.end-y.end);let r=-1,i=[];if(n)for(let y=0;y<e.length;y++){t>=e[y].start&&t<=e[y].end&&(r=y);const w=i.length;if(w){const k=i[w-1].end;e[y].start-k<n?e[y].end>k&&(i[w-1].end=e[y].end):i.push(e[y])}else i.push(e[y])}else i=e;let a=0,u,p=t,m=t;for(let y=0;y<i.length;y++){const w=i[y].start,k=i[y].end;if(r===-1&&t>=w&&t<=k&&(r=y),t+n>=w&&t<k)p=w,m=k,a=m-t;else if(t+n<w){u=w;break}}return{len:a,start:p||0,end:m||0,nextStart:u,buffered:e,bufferedIndex:r}}static getBuffered(e){try{return e.buffered||rr}catch(t){return pe.log("failed to get media.buffered",t),rr}}}const ia=/\{\$([a-zA-Z0-9-_]+)\}/g;function Fn(s){return ia.test(s)}function ba(s,e){if(s.variableList!==null||s.hasVariableRefs){const t=s.variableList;return e.replace(ia,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 Qr(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 xa(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 Vi=/^(\d+)x(\d+)$/,$i=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Pn{constructor(e,t){typeof e=="string"&&(e=Pn.parseAttrList(e,t)),x(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=Vi.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($i.lastIndex=0;(n=$i.exec(e))!==null;){const a=n[1].trim();let u=n[2];const p=u.indexOf(i)===0&&u.lastIndexOf(i)===u.length-1;let m=!1;if(p)u=u.slice(1,-1);else switch(a){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":m=!0}if(t&&(p||m))u=ba(t,u);else if(!m&&!p)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":pe.warn(`${e}: attribute ${a} is missing quotes`)}r[a]=u}return r}}const Tr="com.apple.hls.interstitial";function Sn(s){return s!=="ID"&&s!=="CLASS"&&s!=="CUE"&&s!=="START-DATE"&&s!=="DURATION"&&s!=="END-DATE"&&s!=="END-ON-NEXT"}function Aa(s){return s==="SCTE35-OUT"||s==="SCTE35-IN"||s==="SCTE35-CMD"}class Wi{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]){pe.warn(`DATERANGE tag attribute: "${a}" does not match for tags with ID: "${e.ID}"`),this._badValueForSameId=a;break}e=x(new Pn({}),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"]);c(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?(pe.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(c(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===Tr}get isValid(){return!!this.id&&!this._badValueForSameId&&c(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 Fa{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}hasKey(e){return this.encryptedFragments.some(t=>{let n=t.decryptdata;return n||(t.setKeyFormat(e.keyFormat),n=t.decryptdata),!!n&&e.matches(n)})}get hasProgramDateTime(){return this.fragments.length?c(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(){return this.fragments.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){return this.fragments.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var 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,e){return s.length===e.length?!s.some((t,n)=>t!==e[n]):!1}function ki(s,e){return!s&&!e?!0:!s||!e?!1:Xr(s,e)}function Ur(s){return s==="AES-128"||s==="AES-256"||s==="AES-256-CTR"}function un(s){switch(s){case"AES-128":case"AES-256":return Rr.cbc;case"AES-256-CTR":return Rr.ctr;default:throw new Error(`invalid full segment method ${s}`)}}function bi(s){return Uint8Array.from(atob(s),e=>e.charCodeAt(0))}function ir(s){return Uint8Array.from(unescape(encodeURIComponent(s)),e=>e.charCodeAt(0))}function Oi(s){const e=ir(s).subarray(0,16),t=new Uint8Array(16);return t.set(e,16-e.length),t}function wn(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 Cr(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=bi(a)):t=Oi(a)}}return t}const Jr=typeof self!="undefined"?self:void 0;var hi={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},Qi={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function ss(s){switch(s){case Qi.FAIRPLAY:return hi.FAIRPLAY;case Qi.PLAYREADY:return hi.PLAYREADY;case Qi.WIDEVINE:return hi.WIDEVINE;case Qi.CLEARKEY:return hi.CLEARKEY}}function ar(s){switch(s){case hi.FAIRPLAY:return Qi.FAIRPLAY;case hi.PLAYREADY:return Qi.PLAYREADY;case hi.WIDEVINE:return Qi.WIDEVINE;case hi.CLEARKEY:return Qi.CLEARKEY}}function jr(s){const{drmSystems:e,widevineLicenseUrl:t}=s,n=e?[hi.FAIRPLAY,hi.WIDEVINE,hi.PLAYREADY,hi.CLEARKEY].filter(r=>!!e[r]):[];return!n[hi.WIDEVINE]&&t&&n.push(hi.WIDEVINE),n}const Ta=function(s){return Jr!=null&&(s=Jr.navigator)!=null&&s.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function xs(s,e,t,n){let r;switch(s){case hi.FAIRPLAY:r=["cenc","sinf"];break;case hi.WIDEVINE:case hi.PLAYREADY:r=["cenc"];break;case hi.CLEARKEY:r=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${s}`)}return mo(r,e,t,n)}function mo(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 xo(s){var e;return!!s&&(s.sessionType==="persistent-license"||!!((e=s.sessionTypes)!=null&&e.some(t=>t==="persistent-license")))}function fs(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 p=bi(u).subarray(0,16);return wn(p),p}}return null}let Os={};class Ds{static clearKeyUriToKeyIdMap(){Os={}}static setKeyIdForUri(e,t){Os[e]=t}static addKeyIdForUri(e){const t=Object.keys(Os).length%Number.MAX_SAFE_INTEGER,n=new Uint8Array(16);return new DataView(n.buffer,12,4).setUint32(0,t),Os[e]=n,n}constructor(e,t,n,r=[1],i=null,a){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&&!Ur(e),a!=null&&a.startsWith("0x")&&(this.keyId=new Uint8Array(Y(a)))}matches(e){return e.uri===this.uri&&e.method===this.method&&e.encrypted===this.encrypted&&e.keyFormat===this.keyFormat&&Xr(e.keyFormatVersions,this.keyFormatVersions)&&ki(e.iv,this.iv)&&ki(e.keyId,this.keyId)}isSupported(){if(this.method){if(Ur(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case Qi.FAIRPLAY:case Qi.WIDEVINE:case Qi.PLAYREADY:case Qi.CLEARKEY:return["SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(e,t){if(!this.encrypted||!this.uri)return null;if(Ur(this.method)){let i=this.iv;return i||(typeof e!="number"&&(pe.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),e=0),i=Ns(e)),new Ds(this.method,this.uri,"identity",this.keyFormatVersions,i)}if(this.keyId){const i=Os[this.uri];if(i&&!Xr(this.keyId,i)&&Ds.setKeyIdForUri(this.uri,this.keyId),this.pssh)return this}const n=Cr(this.uri);if(n)switch(this.keyFormat){case Qi.WIDEVINE:if(this.pssh=n,!this.keyId){const i=Ve(n.buffer);if(i.length){var r;const a=i[0];this.keyId=(r=a.kids)!=null&&r.length?a.kids[0]:null}}this.keyId||(this.keyId=js(t));break;case Qi.PLAYREADY:{const i=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=D(i,null,n),this.keyId=fs(n);break}default:{let i=n.subarray(0,16);if(i.length!==16){const a=new Uint8Array(16);a.set(i,16-i.length),i=a}this.keyId=i;break}}if(!this.keyId||this.keyId.byteLength!==16){let i;i=Eo(t),i||(i=js(t),i||(i=Os[this.uri])),i&&(this.keyId=i,Ds.setKeyIdForUri(this.uri,i))}return this}}function Eo(s){const e=s==null?void 0:s[Qi.WIDEVINE];return e?e.keyId:null}function js(s){const e=s==null?void 0:s[Qi.PLAYREADY];if(e){const t=Cr(e.uri);if(t)return fs(t)}return null}function Ns(s){const e=new Uint8Array(16);for(let t=12;t<16;t++)e[t]=s>>8*(15-t)&255;return e}const qs=/#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,_o=/#EXT-X-MEDIA:(.*)/g,So=/^#EXT(?:INF|-X-TARGETDURATION):/m,ws=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),co=new RegExp([/#EXT-X-(PROGRAM-DATE-TIME|BYTERANGE|DATERANGE|DEFINE|KEY|MAP|PART|PART-INF|PLAYLIST-TYPE|PRELOAD-HINT|RENDITION-REPORT|SERVER-CONTROL|SKIP|START):(.+)/.source,/#EXT-X-(BITRATE|DISCONTINUITY-SEQUENCE|MEDIA-SEQUENCE|TARGETDURATION|VERSION): *(\d+)/.source,/#EXT-X-(DISCONTINUITY|ENDLIST|GAP|INDEPENDENT-SEGMENTS)/.source,/(#)([^:]*):(.*)/.source,/(#)(.*)(?:.*)\r?\n?/.source].join("|"));class Ps{static findGroup(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 _.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}static isMediaPlaylist(e){return So.test(e)}static parseMasterPlaylist(e,t){const n=Fn(e),r={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:n},i=[];if(qs.lastIndex=0,!e.startsWith("#EXTM3U"))return r.playlistParsingError=new Error("no EXTM3U delimiter"),r;let a;for(;(a=qs.exec(e))!=null;)if(a[1]){var u;const m=new Pn(a[1],r),y=ba(r,a[2]),w={attrs:m,bitrate:m.decimalInteger("BANDWIDTH")||m.decimalInteger("AVERAGE-BANDWIDTH"),name:m.NAME,url:Ps.resolve(y,t)},k=m.decimalResolution("RESOLUTION");k&&(w.width=k.width,w.height=k.height),$s(m.CODECS,w);const X=m["SUPPLEMENTAL-CODECS"];X&&(w.supplemental={},$s(X,w.supplemental)),(u=w.unknownCodecs)!=null&&u.length||i.push(w),r.levels.push(w)}else if(a[3]){const m=a[3],y=a[4];switch(m){case"SESSION-DATA":{const w=new Pn(y,r),k=w["DATA-ID"];k&&(r.sessionData===null&&(r.sessionData={}),r.sessionData[k]=w);break}case"SESSION-KEY":{const w=Co(y,t,r);w.encrypted&&w.isSupported()?(r.sessionKeys===null&&(r.sessionKeys=[]),r.sessionKeys.push(w)):pe.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${y}"`);break}case"DEFINE":{{const w=new Pn(y,r);Qr(r,w,t)}break}case"CONTENT-STEERING":{const w=new Pn(y,r);r.contentSteering={uri:Ps.resolve(w["SERVER-URI"],t),pathwayId:w["PATHWAY-ID"]||"."};break}case"START":{r.startTimeOffset=Ao(y);break}}}const p=i.length>0&&i.length<r.levels.length;return r.levels=p?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(m=>({id:m.attrs.AUDIO,audioCodec:m.audioCodec})),SUBTITLES:a.map(m=>({id:m.attrs.SUBTITLES,textCodec:m.textCodec})),"CLOSED-CAPTIONS":[]};let p=0;for(_o.lastIndex=0;(r=_o.exec(e))!==null;){const m=new Pn(r[1],n),y=m.TYPE;if(y){const w=u[y],k=i[y]||[];i[y]=k;const X=m.LANGUAGE,$=m["ASSOC-LANGUAGE"],Ie=m.CHANNELS,Pe=m.CHARACTERISTICS,ut=m["INSTREAM-ID"],yt={attrs:m,bitrate:0,id:p++,groupId:m["GROUP-ID"]||"",name:m.NAME||X||"",type:y,default:m.bool("DEFAULT"),autoselect:m.bool("AUTOSELECT"),forced:m.bool("FORCED"),lang:X,url:m.URI?Ps.resolve(m.URI,t):""};if($&&(yt.assocLang=$),Ie&&(yt.channels=Ie),Pe&&(yt.characteristics=Pe),ut&&(yt.instreamId=ut),w!=null&&w.length){const wt=Ps.findGroup(w,yt.groupId)||w[0];Is(yt,wt,"audioCodec"),Is(yt,wt,"textCodec")}k.push(yt)}}return i}static parseLevelPlaylist(e,t,n,r,i,a){var u;const p={url:t},m=new Fa(t),y=m.fragments,w=[];let k=null,X=0,$=0,Ie=0,Pe=0,ut=0,yt=null,wt=new Et(r,p),Xt,dn,Yn,mn=-1,Rn=!1,Ln=null,gn;if(ws.lastIndex=0,m.m3u8=e,m.hasVariableRefs=Fn(e),((u=ws.exec(e))==null?void 0:u[0])!=="#EXTM3U")return m.playlistParsingError=new Error("Missing format identifier #EXTM3U"),m;for(;(Xt=ws.exec(e))!==null;){Rn&&(Rn=!1,wt=new Et(r,p),wt.playlistOffset=Ie,wt.setStart(Ie),wt.sn=X,wt.cc=Pe,ut&&(wt.bitrate=ut),wt.level=n,k&&(wt.initSegment=k,k.rawProgramDateTime&&(wt.rawProgramDateTime=k.rawProgramDateTime,k.rawProgramDateTime=null),Ln&&(wt.setByteRange(Ln),Ln=null)));const ga=Xt[1];if(ga){wt.duration=parseFloat(ga);const ta=(" "+Xt[2]).slice(1);wt.title=ta||null,wt.tagList.push(ta?["INF",ga,ta]:["INF",ga])}else if(Xt[3]){if(c(wt.duration)){wt.playlistOffset=Ie,wt.setStart(Ie),Yn&&Cs(wt,Yn,m),wt.sn=X,wt.level=n,wt.cc=Pe,y.push(wt);const ta=(" "+Xt[3]).slice(1);wt.relurl=ba(m,ta),na(wt,yt,w),yt=wt,Ie+=wt.duration,X++,$=0,Rn=!0}}else{if(Xt=Xt[0].match(co),!Xt){pe.warn("No matches on slow regex match for level playlist!");continue}for(dn=1;dn<Xt.length&&Xt[dn]===void 0;dn++);const ta=(" "+Xt[dn]).slice(1),vi=(" "+Xt[dn+1]).slice(1),aa=Xt[dn+2]?(" "+Xt[dn+2]).slice(1):null;switch(ta){case"BYTERANGE":yt?wt.setByteRange(vi,yt):wt.setByteRange(vi);break;case"PROGRAM-DATE-TIME":wt.rawProgramDateTime=vi,wt.tagList.push(["PROGRAM-DATE-TIME",vi]),mn===-1&&(mn=y.length);break;case"PLAYLIST-TYPE":m.type&&za(m,ta,Xt),m.type=vi.toUpperCase();break;case"MEDIA-SEQUENCE":m.startSN!==0?za(m,ta,Xt):y.length>0&&cs(m,ta,Xt),X=m.startSN=parseInt(vi);break;case"SKIP":{m.skippedSegments&&za(m,ta,Xt);const Hi=new Pn(vi,m),ca=Hi.decimalInteger("SKIPPED-SEGMENTS");if(c(ca)){m.skippedSegments+=ca;for(let wi=ca;wi--;)y.push(null);X+=ca}const ka=Hi.enumeratedString("RECENTLY-REMOVED-DATERANGES");ka&&(m.recentlyRemovedDateranges=(m.recentlyRemovedDateranges||[]).concat(ka.split(" ")));break}case"TARGETDURATION":m.targetduration!==0&&za(m,ta,Xt),m.targetduration=Math.max(parseInt(vi),1);break;case"VERSION":m.version!==null&&za(m,ta,Xt),m.version=parseInt(vi);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":m.live||za(m,ta,Xt),m.live=!1;break;case"#":(vi||aa)&&wt.tagList.push(aa?[vi,aa]:[vi]);break;case"DISCONTINUITY":Pe++,wt.tagList.push(["DIS"]);break;case"GAP":wt.gap=!0,wt.tagList.push([ta]);break;case"BITRATE":wt.tagList.push([ta,vi]),ut=parseInt(vi)*1e3,c(ut)?wt.bitrate=ut:ut=0;break;case"DATERANGE":{const Hi=new Pn(vi,m),ca=new Wi(Hi,m.dateRanges[Hi.ID],m.dateRangeTagCount);m.dateRangeTagCount++,ca.isValid||m.skippedSegments?m.dateRanges[ca.id]=ca:pe.warn(`Ignoring invalid DATERANGE tag: "${vi}"`),wt.tagList.push(["EXT-X-DATERANGE",vi]);break}case"DEFINE":{{const Hi=new Pn(vi,m);"IMPORT"in Hi?xa(m,Hi,a):Qr(m,Hi,t)}break}case"DISCONTINUITY-SEQUENCE":m.startCC!==0?za(m,ta,Xt):y.length>0&&cs(m,ta,Xt),m.startCC=Pe=parseInt(vi);break;case"KEY":{const Hi=Co(vi,t,m);if(Hi.isSupported()){if(Hi.method==="NONE"){Yn=void 0;break}Yn||(Yn={});const ca=Yn[Hi.keyFormat];ca!=null&&ca.matches(Hi)||(ca&&(Yn=x({},Yn)),Yn[Hi.keyFormat]=Hi)}else pe.warn(`[Keys] Ignoring unsupported EXT-X-KEY tag: "${vi}"`);break}case"START":m.startTimeOffset=Ao(vi);break;case"MAP":{const Hi=new Pn(vi,m);if(wt.duration){const ca=new Et(r,p);hs(ca,Hi,n,Yn),k=ca,wt.initSegment=k,k.rawProgramDateTime&&!wt.rawProgramDateTime&&(wt.rawProgramDateTime=k.rawProgramDateTime)}else{const ca=wt.byteRangeEndOffset;if(ca){const ka=wt.byteRangeStartOffset;Ln=`${ca-ka}@${ka}`}else Ln=null;hs(wt,Hi,n,Yn),k=wt,Rn=!0}k.cc=Pe;break}case"SERVER-CONTROL":{gn&&za(m,ta,Xt),gn=new Pn(vi),m.canBlockReload=gn.bool("CAN-BLOCK-RELOAD"),m.canSkipUntil=gn.optionalFloat("CAN-SKIP-UNTIL",0),m.canSkipDateRanges=m.canSkipUntil>0&&gn.bool("CAN-SKIP-DATERANGES"),m.partHoldBack=gn.optionalFloat("PART-HOLD-BACK",0),m.holdBack=gn.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{m.partTarget&&za(m,ta,Xt);const Hi=new Pn(vi);m.partTarget=Hi.decimalFloatingPoint("PART-TARGET");break}case"PART":{let Hi=m.partList;Hi||(Hi=m.partList=[]);const ca=$>0?Hi[Hi.length-1]:void 0,ka=$++,wi=new Pn(vi,m),Ci=new He(wi,wt,p,ka,ca);Hi.push(Ci),wt.duration+=Ci.duration;break}case"PRELOAD-HINT":{const Hi=new Pn(vi,m);m.preloadHint=Hi;break}case"RENDITION-REPORT":{const Hi=new Pn(vi,m);m.renditionReports=m.renditionReports||[],m.renditionReports.push(Hi);break}default:pe.warn(`line parsed but not handled: ${Xt}`);break}}}yt&&!yt.relurl?(y.pop(),Ie-=yt.duration,m.partList&&(m.fragmentHint=yt)):m.partList&&(na(wt,yt,w),wt.cc=Pe,m.fragmentHint=wt,Yn&&Cs(wt,Yn,m)),m.targetduration||(m.playlistParsingError=new Error("Missing Target Duration"));const yr=y.length,Pi=y[0],ea=y[yr-1];if(Ie+=m.skippedSegments*m.targetduration,Ie>0&&yr&&ea){m.averagetargetduration=Ie/yr;const ga=ea.sn;m.endSN=ga!=="initSegment"?ga:0,m.live||(ea.endList=!0),mn>0&&(Ra(y,mn),Pi&&w.unshift(Pi))}return m.fragmentHint&&(Ie+=m.fragmentHint.duration),m.totalduration=Ie,w.length&&m.dateRangeTagCount&&Pi&&wo(w,m),m.endCC=Pe,m}}function wo(s,e){let t=s.length;if(!t)if(e.hasProgramDateTime){const u=e.fragments[e.fragments.length-1];s.push(u),t++}else return;const n=s[t-1],r=e.live?1/0:e.totalduration,i=Object.keys(e.dateRanges);for(let u=i.length;u--;){const p=e.dateRanges[i[u]],m=p.startDate.getTime();p.tagAnchor=n.ref;for(let y=t;y--;){var a;if(((a=s[y])==null?void 0:a.sn)<e.startSN)break;const w=po(e,m,s,y,r);if(w!==-1){p.tagAnchor=e.fragments[w].ref;break}}}}function po(s,e,t,n,r){const i=t[n];if(i){const u=i.programDateTime;if(e>=u||n===0){var a;const p=(((a=t[n+1])==null?void 0:a.start)||r)-i.start;if(e<=u+p*1e3){const m=t[n].sn-s.startSN;if(m<0)return-1;const y=s.fragments;if(y.length>t.length){const k=(t[n+1]||y[y.length-1]).sn-s.startSN;for(let X=k;X>m;X--){const $=y[X].programDateTime;if(e>=$&&e<$+y[X].duration*1e3)return X}}return m}}}return-1}function Co(s,e,t){var n,r;const i=new Pn(s,t),a=(n=i.METHOD)!=null?n:"",u=i.URI,p=i.hexadecimalInteger("IV"),m=i.KEYFORMATVERSIONS,y=(r=i.KEYFORMAT)!=null?r:"identity";u&&i.IV&&!p&&pe.error(`Invalid IV: ${i.IV}`);const w=u?Ps.resolve(u,e):"",k=(m||"1").split("/").map(Number).filter(Number.isFinite);return new Ds(a,w,y,k,p,i.KEYID)}function Ao(s){const t=new Pn(s).decimalFloatingPoint("TIME-OFFSET");return c(t)?t:null}function $s(s,e){let t=(s||"").split(/[ ,]+/).filter(n=>n);["video","audio","text"].forEach(n=>{const r=t.filter(i=>Ue(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 Is(s,e,t){const n=e[t];n&&(s[t]=n)}function Ra(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 na(s,e,t){s.rawProgramDateTime?t.push(s):e!=null&&e.programDateTime&&(s.programDateTime=e.endProgramDateTime)}function hs(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 Cs(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 za(s,e,t){s.playlistParsingError=new Error(`#EXT-X-${e} must not appear more than once (${t[0]})`)}function cs(s,e,t){s.playlistParsingError=new Error(`#EXT-X-${e} must appear before the first Media Segment (${t[0]})`)}function Ls(s,e){const t=e.startPTS;if(c(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 Es(s,e,t,n,r,i,a){n-t<=0&&(a.warn("Fragment should have a positive duration",e),n=t+e.duration,i=r+e.duration);let p=t,m=n;const y=e.startPTS,w=e.endPTS;if(c(y)){const ut=Math.abs(y-t);s&&ut>s.totalduration?a.warn(`media timestamps and playlist times differ by ${ut}s for level ${e.level} ${s.url}`):c(e.deltaPTS)?e.deltaPTS=Math.max(ut,e.deltaPTS):e.deltaPTS=ut,p=Math.max(t,y),t=Math.min(t,y),r=e.startDTS!==void 0?Math.min(r,e.startDTS):r,m=Math.min(n,w),n=Math.max(n,w),i=e.endDTS!==void 0?Math.max(i,e.endDTS):i}const k=t-e.start;e.start!==0&&e.setStart(t),e.setDuration(n-e.start),e.startPTS=t,e.maxStartPTS=p,e.startDTS=r,e.endPTS=n,e.minEndPTS=m,e.endDTS=i;const X=e.sn;if(!s||X<s.startSN||X>s.endSN)return 0;let $;const Ie=X-s.startSN,Pe=s.fragments;for(Pe[Ie]=e,$=Ie;$>0;$--)Ls(Pe[$],Pe[$-1]);for($=Ie;$<Pe.length-1;$++)Ls(Pe[$],Pe[$+1]);return s.fragmentHint&&Ls(Pe[Pe.length-1],s.fragmentHint),s.PTSKnown=s.alignedSliding=!0,k}function Zs(s,e,t){if(s===e)return;let n=null;const r=s.fragments;for(let y=r.length-1;y>=0;y--){const w=r[y].initSegment;if(w){n=w;break}}s.fragmentHint&&delete s.fragmentHint.endPTS;let i;fr(s,e,(y,w,k,X)=>{if((!e.startCC||e.skippedSegments)&&w.cc!==y.cc){const $=y.cc-w.cc;for(let Ie=k;Ie<X.length;Ie++)X[Ie].cc+=$;e.endCC=X[X.length-1].cc}c(y.startPTS)&&c(y.endPTS)&&(w.setStart(w.startPTS=y.startPTS),w.startDTS=y.startDTS,w.maxStartPTS=y.maxStartPTS,w.endPTS=y.endPTS,w.endDTS=y.endDTS,w.minEndPTS=y.minEndPTS,w.setDuration(y.endPTS-y.startPTS),w.duration&&(i=w),e.PTSKnown=e.alignedSliding=!0),y.hasStreams&&(w.elementaryStreams=y.elementaryStreams),w.loader=y.loader,y.hasStats&&(w.stats=y.stats),y.initSegment&&(w.initSegment=y.initSegment,n=y.initSegment)});const a=e.fragments,u=e.fragmentHint?a.concat(e.fragmentHint):a;if(n&&u.forEach(y=>{var w;y&&(!y.initSegment||y.initSegment.relurl===((w=n)==null?void 0:w.relurl))&&(y.initSegment=n)}),e.skippedSegments){if(e.deltaUpdateFailed=a.some(y=>!y),e.deltaUpdateFailed){t.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let y=e.skippedSegments;y--;)a.shift();e.startSN=a[0].sn}else{e.canSkipDateRanges&&(e.dateRanges=Wr(s.dateRanges,e,t));const y=s.fragments.filter(w=>w.rawProgramDateTime);if(s.hasProgramDateTime&&!e.hasProgramDateTime)for(let w=1;w<u.length;w++)u[w].programDateTime===null&&na(u[w],u[w-1],y);wo(y,e)}e.endCC=a[a.length-1].cc}if(!e.startCC){var p;const y=Ua(s,e.startSN-1);e.startCC=(p=y==null?void 0:y.cc)!=null?p:a[0].cc}Qs(s.partList,e.partList,(y,w)=>{w.elementaryStreams=y.elementaryStreams,w.stats=y.stats}),i?Es(e,i,i.startPTS,i.endPTS,i.startDTS,i.endDTS,t):Us(s,e),a.length&&(e.totalduration=e.edge-a[0].start),e.driftStartTime=s.driftStartTime,e.driftStart=s.driftStart;const m=e.advancedDateTime;if(e.advanced&&m){const y=e.edge;e.driftStart||(e.driftStartTime=m,e.driftStart=y),e.driftEndTime=m,e.driftEnd=y}else e.driftEndTime=s.driftEndTime,e.driftEnd=s.driftEnd,e.advancedDateTime=s.advancedDateTime;e.requestScheduled===-1&&(e.requestScheduled=s.requestScheduled)}function Wr(s,e,t){const{dateRanges:n,recentlyRemovedDateranges:r}=e,i=x({},s);r&&r.forEach(p=>{delete i[p]});const u=Object.keys(i).length;return u?(Object.keys(n).forEach(p=>{const m=i[p],y=new Wi(n[p].attr,m);y.isValid?(i[p]=y,m||(y.tagOrder+=u)):t.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${kt(n[p].attr)}"`)}),i):n}function Qs(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 fr(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,p=s.fragmentHint?s.fragments.concat(s.fragmentHint):s.fragments;for(let m=r;m<=i;m++){const y=p[a+m];let w=u[m];if(n&&!w&&y&&(w=e.fragments[m]=y),y&&w){t(y,w,m,u);const k=y.relurl,X=w.relurl;if(k&&to(k,X)){e.playlistParsingError=eo(`media sequence mismatch ${w.sn}:`,s,e,y,w);return}else if(y.cc!==w.cc){e.playlistParsingError=eo(`discontinuity sequence mismatch (${y.cc}!=${w.cc})`,s,e,y,w);return}}}}function eo(s,e,t,n,r){return new Error(`${s} ${r.url}
|
|
Playlist starting @${e.startSN}
|
|
${e.m3u8}
|
|
|
|
Playlist starting @${t.startSN}
|
|
${t.m3u8}`)}function Us(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;Do(e,a)}function Do(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 Na(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 Ua(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 Za(s,e,t){return s?As(s.partList,e,t):null}function As(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 ls(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 to(s,e){return s!==e&&e?fo(s)!==fo(e):!1}function fo(s){return s.replace(/\?[^?]*$/,"")}function no(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 To(s,e){return!!(s&&e.startCC<s.endCC&&e.endCC>s.startCC)}function oo(s,e){const t=s.start+e;s.startPTS=t,s.setStart(t),s.endPTS=t+s.duration}function Ws(s,e){const t=e.fragments;for(let n=0,r=t.length;n<r;n++)oo(t[n],s);e.fragmentHint&&oo(e.fragmentHint,s),e.alignedSliding=!0}function Po(s,e){s&&(vo(e,s),e.alignedSliding||No(e,s),!e.alignedSliding&&!e.skippedSegments&&Us(s,e,!1))}function vo(s,e){if(!To(e,s))return;const t=Math.min(e.endCC,s.endCC),n=no(e.fragments,t),r=no(s.fragments,t);if(!n||!r)return;pe.log(`Aligning playlist at start of dicontinuity sequence ${t}`);const i=n.start-r.start;Ws(i,s)}function No(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=no(n,a),i=no(t,a)),(!r||!i)&&(r=n[Math.floor(n.length/2)],i=no(t,r.cc)||t[Math.floor(t.length/2)]);const u=r.programDateTime,p=i.programDateTime;if(!u||!p)return;const m=(p-u)/1e3-(i.start-r.start);Ws(m,s)}function Bs(s,e,t){Ks(s,e,t),s.addEventListener(e,t)}function Ks(s,e,t){s.removeEventListener(e,t)}const Ho={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}},qn={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 Bo extends fa{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=qn.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:p,mediaBuffer:m,state:y}=this,w=p?p.currentTime:0,k=or.bufferInfo(m||p,w,a.maxBufferHole),X=!k.len;if(this.log(`Media seeking to ${c(w)?w.toFixed(3):w}, state: ${y}, ${X?"out of":"in"} buffer`),this.state===qn.ENDED)this.resetLoadingState();else if(u){const $=a.maxFragLookUpTolerance,Ie=u.start-$,Pe=u.start+u.duration+$;if(X||Pe<k.start||Ie>k.end){const ut=w>Pe;(w<Ie||ut)&&(ut&&u.loader&&(this.log(`Cancelling fragment load for seek (sn: ${u.sn})`),u.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(p){this.fragmentTracker.removeFragmentsInRange(w,1/0,this.playlistType,!0);const $=this.lastCurrentTime;if(w>$&&(this.lastCurrentTime=w),!this.loadingParts){const Ie=Math.max(k.end,w),Pe=this.shouldLoadParts(this.getLevelDetails(),Ie);Pe&&(this.log(`LL-Part loading ON after seeking to ${w.toFixed(2)} with buffer @${Ie.toFixed(2)}`),this.loadingParts=Pe)}}this.hls.hasEnoughToStart||(this.log(`Setting ${X?"startPosition":"nextLoadPosition"} to ${w} for seek without enough to start`),this.nextLoadPosition=w,X&&(this.startPosition=w)),X&&this.state===qn.IDLE&&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 ji(e.config),this.keyLoader=n,this.fragmentTracker=t,this.config=e.config,this.decrypter=new zi(e.config)}registerListeners(){const{hls:e}=this;e.on(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(v.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(v.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(e){}stopLoad(){if(this.state===qn.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=qn.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.buffered;this.config.maxBufferHole&&i&&i.length>1&&(e=or.bufferedInfo(i,e.start,0));const a=e.nextStart;if(a&&a>r&&a<t.edge||this.media.currentTime<e.start)return!1;const p=t.partList;if(p!=null&&p.length){const y=p[p.length-1];return or.isBuffered(this.media,y.start+y.duration/2)}const m=t.fragments[t.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(m)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null)return this.levelLastLoaded.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;Bs(n,"seeking",this.onMediaSeeking),Bs(n,"ended",this.onMediaEnded);const r=this.config;this.levels&&r.autoStartLoad&&this.state===qn.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),Ks(r,"seeking",this.onMediaSeeking),Ks(r,"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=qn.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===qn.FRAG_LOADING||!this.fragCurrent&&a===qn.PARSING)&&(this.fragmentTracker.removeFragment(u),this.state=qn.IDLE);return}"payload"in i&&(this.log(`Loaded ${u.type} sn: ${u.sn} of ${this.playlistLabel()} ${u.level}`),this.hls.trigger(v.FRAG_LOADED,i)),this._handleFragmentLoadComplete(i)}).catch(i=>{this.state===qn.STOPPED||this.state===qn.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)===$t.APPENDING){const i=e.type,a=this.getFwdBufferInfo(this.mediaBuffer,i),u=Math.max(e.duration,a?a.len:this.config.maxBufferLength),p=this.backtrackFragment;((p?e.sn-p.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)===$t.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(v.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&&Ur(u.method)){const p=self.performance.now();return this.decrypter.decrypt(new Uint8Array(a),u.key.buffer,u.iv.buffer,un(u.method)).catch(m=>{throw r.trigger(v.ERROR,{type:le.MEDIA_ERROR,details:j.FRAG_DECRYPT_ERROR,fatal:!1,error:m,reason:m.message,frag:i}),m}).then(m=>{const y=self.performance.now();return r.trigger(v.FRAG_DECRYPTED,{frag:i,payload:m,stats:{tstart:p,tdecrypt:y}}),n.payload=m,this.completeInitSegmentLoad(n)})}return this.completeInitSegmentLoad(n)}).catch(n=>{this.state===qn.STOPPED||this.state===qn.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!==qn.STOPPED&&(this.state=qn.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()}unhandledEncryptionError(e,t){var n,r;const i=e.tracks;if(i&&!t.encrypted&&((n=i.audio)!=null&&n.encrypted||(r=i.video)!=null&&r.encrypted)&&(!this.config.emeEnabled||!this.keyLoader.emeController)){const a=this.media,u=new Error(`Encrypted track with no key in ${this.fragInfo(t)} (media ${a?"attached mediaKeys: "+a.mediaKeys:"detached"})`);return this.warn(u.message),!a||a.mediaKeys?!1:(this.hls.trigger(v.ERROR,{type:le.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_NO_KEYS,fatal:!1,error:u,frag:t}),this.resetTransmuxer(),!0)}return!1}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?Ho.toString(or.getBuffered(n)):"(detached)"})`),Qe(e)){var r;if(e.type!==ee.SUBTITLE){const a=e.elementaryStreams;if(!Object.keys(a).some(u=>!!a[u])){this.state=qn.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=qn.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(p=>!p),u=new kr(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.details;if(!this.levels||!a)throw new Error(`frag load aborted, missing level${a?"":" detail"}s`);let u=null;if(e.encrypted&&!((i=e.decryptdata)!=null&&i.key)){if(this.log(`Loading key for ${e.sn} of [${a.startSN}-${a.endSN}], ${this.playlistLabel()} ${e.level}`),this.state=qn.KEY_LOADING,this.fragCurrent=e,u=this.keyLoader.load(e).then(k=>{if(!this.fragContextChanged(k.frag))return this.hls.trigger(v.KEY_LOADED,k),this.state===qn.KEY_LOADING&&(this.state=qn.IDLE),k}),this.hls.trigger(v.KEY_LOADING,{frag:e}),this.fragCurrent===null)return this.log("context changed in KEY_LOADING"),Promise.resolve(null)}else e.encrypted||(u=this.keyLoader.loadClear(e,a.encryptedFragments,this.startFragRequested),u&&this.log("[eme] blocking frag load until media-keys acquired"));const p=this.fragPrevious;if(Qe(e)&&(!p||e.sn!==p.sn)){const k=this.shouldLoadParts(t.details,e.end);k!==this.loadingParts&&(this.log(`LL-Part loading ${k?"ON":"OFF"} loading sn ${p==null?void 0:p.sn}->${e.sn}`),this.loadingParts=k)}if(n=Math.max(e.start,n||0),this.loadingParts&&Qe(e)){const k=a.partList;if(k&&r){n>a.fragmentEnd&&a.fragmentHint&&(e=a.fragmentHint);const X=this.getNextPart(k,e,n);if(X>-1){const $=k[X];e=this.fragCurrent=$.fragment,this.log(`Loading ${e.type} sn: ${e.sn} part: ${$.index} (${X}/${k.length-1}) of ${this.fragInfo(e,!1,$)}) cc: ${e.cc} [${a.startSN}-${a.endSN}], target: ${parseFloat(n.toFixed(3))}`),this.nextLoadPosition=$.start+$.duration,this.state=qn.FRAG_LOADING;let Ie;return u?Ie=u.then(Pe=>!Pe||this.fragContextChanged(Pe.frag)?null:this.doFragPartsLoad(e,$,t,r)).catch(Pe=>this.handleFragLoadError(Pe)):Ie=this.doFragPartsLoad(e,$,t,r).catch(Pe=>this.handleFragLoadError(Pe)),this.hls.trigger(v.FRAG_LOADING,{frag:e,part:$,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):Ie}else if(!e.url||this.loadedEndOfParts(k,n))return Promise.resolve(null)}}if(Qe(e)&&this.loadingParts){var m;this.log(`LL-Part loading OFF after next part miss @${n.toFixed(2)} Check buffer at sn: ${e.sn} loaded parts: ${(m=a.partList)==null?void 0:m.filter(k=>k.loaded).map(k=>`[${k.start}-${k.end}]`)}`),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.startSN+"-"+a.endSN+"]"}, target: ${parseFloat(n.toFixed(3))}`),c(e.sn)&&!this.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),this.state=qn.FRAG_LOADING;const y=this.config.progressive&&e.type!==ee.SUBTITLE;let w;return y&&u?w=u.then(k=>!k||this.fragContextChanged(k.frag)?null:this.fragmentLoader.load(e,r)).catch(k=>this.handleFragLoadError(k)):w=Promise.all([this.fragmentLoader.load(e,y?r:void 0),u]).then(([k])=>(!y&&r&&r(k),k)).catch(k=>this.handleFragLoadError(k)),this.hls.trigger(v.FRAG_LOADING,{frag:e,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):w}doFragPartsLoad(e,t,n,r){return new Promise((i,a)=>{var u;const p=[],m=(u=n.details)==null?void 0:u.partList,y=w=>{this.fragmentLoader.loadPart(e,w,r).then(k=>{p[w.index]=k;const X=k.part;this.hls.trigger(v.FRAG_LOADED,k);const $=Za(n.details,e.sn,w.index+1)||As(m,e.sn,w.index+1);if($)y($);else return i({frag:e,part:X,partsLoaded:p})}).catch(a)};y(t)})}handleFragLoadError(e){if("data"in e){const t=e.data;t.frag&&t.details===j.INTERNAL_ABORTED?this.handleFragLoadAborted(t.frag,t.part):t.frag&&t.type===le.KEY_SYSTEM_ERROR?(t.frag.abortRequests(),this.resetStartWhenNotLoaded(),this.resetFragmentLoading(t.frag)):this.hls.trigger(v.ERROR,t)}else this.hls.trigger(v.ERROR,{type:le.OTHER_ERROR,details:j.INTERNAL_EXCEPTION,err:e,error:e,fatal:!0});return null}_handleTransmuxerFlush(e){const t=this.getCurrentContext(e);if(!t||this.state!==qn.PARSING){!this.fragCurrent&&this.state!==qn.STOPPED&&this.state!==qn.ERROR&&(this.state=qn.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(),m=u&&n.sn>u.endSN||this.shouldLoadParts(u,n.end);m!==this.loadingParts&&(this.log(`LL-Part loading ${m?"ON":"OFF"} after parsing segment ending @${n.end.toFixed(2)}`),this.loadingParts=m),this.updateLevelTiming(n,r,i,e.partial)}shouldLoadParts(e,t){if(this.config.lowLatencyMode){if(!e)return this.loadingParts;if(e.partList){var n;const i=e.partList[0];if(i.fragment.type===ee.SUBTITLE)return!1;const 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],p=u.details,m=a>-1?Za(p,i,a):null,y=m?m.fragment:Ua(p,i,n);return y?(n&&n!==y&&(y.stats=n.stats),{frag:y,part:m,level:u}):null}bufferFragmentData(e,t,n,r,i){if(this.state!==qn.PARSING)return;const{data1:a,data2:u}=e;let p=a;if(u&&(p=xt(a,u)),!p.length)return;const m=this.initPTS[t.cc],y=m?-m.baseTime/m.timescale:void 0,w={type:e.type,frag:t,part:n,chunkMeta:r,offset:y,parent:t.type,data:p};if(this.hls.trigger(v.BUFFER_APPENDING,w),e.dropped&&e.independent&&!n){if(i)return;this.flushBufferGap(t)}}flushBufferGap(e){const t=this.media;if(!t)return;if(!or.isBuffered(t,t.currentTime)){this.flushMainBuffer(0,e.start);return}const n=t.currentTime,r=or.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(!c(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=or.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 or.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=ee.MAIN){const n=this.fragmentTracker?this.fragmentTracker.getAppendedFrag(e,t):null;return n&&"fragment"in n?n.fragment:n}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 p=null;if(t.live){const w=i.initialLiveManifestSize;if(r<w)return this.warn(`Not enough fragments to start playback (have: ${r}, need: ${w})`),null;if(!t.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||e<a){var m;u&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),p=this.getInitialLiveFragment(t);const k=this.hls.startPosition,X=this.hls.liveSyncPosition,$=p?(k!==-1&&k>=a?k:X)||p.start:e;this.log(`Setting startPosition to ${$} to match start frag at live edge. mainStart: ${k} liveSyncPosition: ${X} frag.start: ${(m=p)==null?void 0:m.start}`),this.startPosition=this.nextLoadPosition=$}}else e<=a&&(p=n[0]);if(!p){const w=this.loadingParts?t.partEnd:t.fragmentEnd;p=this.getFragmentAtPosition(e,w,t)}let y=this.filterReplacedPrimary(p,t);if(!y&&p){const w=p.sn-t.startSN;y=this.filterReplacedPrimary(n[w+1]||null,t)}return this.mapToInitFragWhenRequired(y)}isLoopLoading(e,t){const n=this.fragmentTracker.getState(e);return(n===$t.OK||n===$t.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 p=a.sn;return this.loopSn!==p&&(this.log(`buffer full after gaps in "${r}" playlist starting at sn: ${p}`),this.loopSn=p),null}}return this.loopSn=void 0,a}get primaryPrefetch(){if(ti(this.config)){var e;if((e=this.hls.interstitialsManager)==null||(e=e.playingItem)==null?void 0:e.event)return!0}return!1}filterReplacedPrimary(e,t){if(!e)return e;if(ti(this.config)&&e.type!==ee.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.initSegment.data&&!this.bitrateTest?e.initSegment:e}getNextPart(e,t,n){let r=-1,i=!1,a=!0;for(let u=0,p=e.length;u<p;u++){const m=e[u];if(a=a&&!m.independent,r>-1&&n<m.start)break;const y=m.loaded;y?r=-1:(i||(m.independent||a)&&m.fragment===t)&&(m.fragment!==t&&this.warn(`Need buffer at ${n} but next unloaded part starts at ${m.start}`),r=u),i=y}return r}loadedEndOfParts(e,t){let n;for(let r=e.length;r--;){if(n=e[r],!n.loaded)return!1;if(t>n.start)return!0}return!1}getInitialLiveFragment(e){const t=e.fragments,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=Mr(e,n.cc,n.end),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:p}=n,{maxFragLookUpTolerance:m}=r,y=n.partList,w=!!(this.loadingParts&&y!=null&&y.length&&p);w&&!this.bitrateTest&&y[y.length-1].fragment.sn===p.sn&&(a=a.concat(p),u=p.sn);let k;if(e<t){var X;const Ie=e<this.lastCurrentTime||e>t-m||(X=this.media)!=null&&X.paused||!this.startFragRequested?0:m;k=Ii(i,a,e,Ie)}else k=a[a.length-1];if(k){const $=k.sn-n.startSN,Ie=this.fragmentTracker.getState(k);if((Ie===$t.OK||Ie===$t.PARTIAL&&k.gap)&&(i=k),i&&k.sn===i.sn&&(!w||y[0].fragment.sn>k.sn||!n.live)&&k.level===i.level){const ut=a[$+1];k.sn<u&&this.fragmentTracker.getState(ut)!==$t.OK?k=ut:k=null}}return k}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&&c(i);if(a||!u&&!i){Po(n,e);const p=e.fragmentStart;return this.log(`Live playlist sliding: ${p.toFixed(2)} start-sn: ${t?t.startSN:"na"}->${e.startSN} fragments: ${r}`),p}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&&c(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&&Qe(e)&&e.stats.aborted&&(this.log(`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!==qn.FRAG_LOADING_WAITING_RETRY)&&(this.state=qn.IDLE)}onFragmentOrKeyLoadError(e,t){var n;if(t.chunkMeta&&!t.frag){const ut=this.getCurrentContext(t.chunkMeta);ut&&(t.frag=ut.frag)}const r=t.frag;if(!r||r.type!==e||!this.levels)return;if(this.fragContextChanged(r)){var i;this.warn(`Frag load error must match current frag to retry ${r.url} > ${(i=this.fragCurrent)==null?void 0:i.url}`);return}const a=t.details===j.FRAG_GAP;a&&this.fragmentTracker.fragBuffered(r,!0);const u=t.errorAction;if(!u){this.state=qn.ERROR;return}const{action:p,flags:m,retryCount:y=0,retryConfig:w}=u,k=!!w,X=k&&p===sr.RetryRequest,$=k&&!u.resolved&&m===Un.MoveAllAlternatesMatchingHost,Ie=(n=this.hls.latestLevelDetails)==null?void 0:n.live;if(!X&&$&&Qe(r)&&!r.endList&&Ie&&!on(t))this.resetFragmentErrors(e),this.treatAsGap(r),u.resolved=!0;else if((X||$)&&y<w.maxNumRetry){var Pe;const ut=Zn((Pe=t.response)==null?void 0:Pe.code),yt=Li(w,y);if(this.resetStartWhenNotLoaded(),this.retryDate=self.performance.now()+yt,this.state=qn.FRAG_LOADING_WAITING_RETRY,u.resolved=!0,ut){this.log("Waiting for connection (offline)"),this.retryDate=1/0,t.reason="offline";return}this.warn(`Fragment ${r.sn} of ${e} ${r.level} errored with ${t.details}, retrying loading ${y+1}/${w.maxNumRetry} in ${yt}ms`)}else if(w)if(this.resetFragmentErrors(e),y<w.maxNumRetry)!a&&p!==sr.RemoveAlternatePermanently&&(u.resolved=!0);else{this.warn(`${t.details} reached or exceeded max retry (${y})`);return}else p===sr.SendAlternateToPenaltyBox?this.state=qn.WAITING_LEVEL:this.state=qn.ERROR;this.tickImmediate()}checkRetryDate(){const e=self.performance.now(),t=this.retryDate,n=t===1/0;(!t||e>=t||n&&!Zn(0))&&(n&&this.log("Connection restored (online)"),this.resetStartWhenNotLoaded(),this.state=qn.IDLE)}reduceLengthAndFlushBuffer(e){if(this.state===qn.PARSING||this.state===qn.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 (${this.getLoadPosition()}) is not buffered, flush ${n} buffer`),t&&(this.fragmentTracker.removeFragment(t),this.nextLoadPosition=t.start),this.resetLoadingState(),a}return!1}resetFragmentErrors(e){e===ee.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==qn.STOPPED&&(this.state=qn.IDLE)}afterBufferFlushed(e,t,n){if(!e)return;const r=or.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,r,n),this.state===qn.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==qn.STOPPED&&(this.state=qn.IDLE)}resetStartWhenNotLoaded(){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const e=this.levelLastLoaded,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.log(`Loading context changed while buffering sn ${e.sn} of ${this.playlistLabel()} ${e.level===-1?"<removed>":e.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(),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((p,m)=>{const y=e.elementaryStreams[m];if(y){const w=y.endPTS-y.startPTS;if(w<=0)return this.warn(`Could not parse fragment ${e.sn} ${m} duration reliably (${w})`),p||!1;const k=r?0:Es(i,e,y.startPTS,y.endPTS,y.startDTS,y.endDTS,this);return this.hls.trigger(v.LEVEL_PTS_UPDATED,{details:i,level:n,drift:k,type:m,frag:e,start:y.startPTS,end:y.endPTS}),!0}return p},!1)){var u;const p=((u=this.transmuxer)==null?void 0:u.error)===null;if((n.fragmentError===0||p&&(n.fragmentError<2||e.endList))&&this.treatAsGap(e,n),p){const m=new Error(`Found no media in fragment ${e.sn} of ${this.playlistLabel()} ${e.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(m.message),this.hls.trigger(v.ERROR,{type:le.MEDIA_ERROR,details:j.FRAG_PARSING_ERROR,fatal:!1,error:m,frag:e,reason:`Found no media in msn ${e.sn} of ${this.playlistLabel()} "${n.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=qn.PARSED,this.log(`Parsed ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.fragInfo(e,!1,t)})`),this.hls.trigger(v.FRAG_PARSED,{frag:e,part:t})}playlistLabel(){return this.playlistType===ee.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.resetLoadingState())}set state(e){const t=this._state;t!==e&&(this._state=e,this.log(`${t}->${e}`))}get state(){return this._state}}function ti(s){return!!s.interstitialsController&&s.enableInterstitialPlayback!==!1}class ps{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=S(e,t);else return new Uint8Array(0);return this.reset(),n}reset(){this.chunks.length=0,this.dataLength=0}}function S(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 te={exports:{}},Se;function Ye(){return Se||(Se=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(p,m,y){this.fn=p,this.context=m,this.once=y||!1}function i(p,m,y,w,k){if(typeof y!="function")throw new TypeError("The listener must be a function");var X=new r(y,w||p,k),$=t?t+m:m;return p._events[$]?p._events[$].fn?p._events[$]=[p._events[$],X]:p._events[$].push(X):(p._events[$]=X,p._eventsCount++),p}function a(p,m){--p._eventsCount===0?p._events=new n:delete p._events[m]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var m=[],y,w;if(this._eventsCount===0)return m;for(w in y=this._events)e.call(y,w)&&m.push(t?w.slice(1):w);return Object.getOwnPropertySymbols?m.concat(Object.getOwnPropertySymbols(y)):m},u.prototype.listeners=function(m){var y=t?t+m:m,w=this._events[y];if(!w)return[];if(w.fn)return[w.fn];for(var k=0,X=w.length,$=new Array(X);k<X;k++)$[k]=w[k].fn;return $},u.prototype.listenerCount=function(m){var y=t?t+m:m,w=this._events[y];return w?w.fn?1:w.length:0},u.prototype.emit=function(m,y,w,k,X,$){var Ie=t?t+m:m;if(!this._events[Ie])return!1;var Pe=this._events[Ie],ut=arguments.length,yt,wt;if(Pe.fn){switch(Pe.once&&this.removeListener(m,Pe.fn,void 0,!0),ut){case 1:return Pe.fn.call(Pe.context),!0;case 2:return Pe.fn.call(Pe.context,y),!0;case 3:return Pe.fn.call(Pe.context,y,w),!0;case 4:return Pe.fn.call(Pe.context,y,w,k),!0;case 5:return Pe.fn.call(Pe.context,y,w,k,X),!0;case 6:return Pe.fn.call(Pe.context,y,w,k,X,$),!0}for(wt=1,yt=new Array(ut-1);wt<ut;wt++)yt[wt-1]=arguments[wt];Pe.fn.apply(Pe.context,yt)}else{var Xt=Pe.length,dn;for(wt=0;wt<Xt;wt++)switch(Pe[wt].once&&this.removeListener(m,Pe[wt].fn,void 0,!0),ut){case 1:Pe[wt].fn.call(Pe[wt].context);break;case 2:Pe[wt].fn.call(Pe[wt].context,y);break;case 3:Pe[wt].fn.call(Pe[wt].context,y,w);break;case 4:Pe[wt].fn.call(Pe[wt].context,y,w,k);break;default:if(!yt)for(dn=1,yt=new Array(ut-1);dn<ut;dn++)yt[dn-1]=arguments[dn];Pe[wt].fn.apply(Pe[wt].context,yt)}}return!0},u.prototype.on=function(m,y,w){return i(this,m,y,w,!1)},u.prototype.once=function(m,y,w){return i(this,m,y,w,!0)},u.prototype.removeListener=function(m,y,w,k){var X=t?t+m:m;if(!this._events[X])return this;if(!y)return a(this,X),this;var $=this._events[X];if($.fn)$.fn===y&&(!k||$.once)&&(!w||$.context===w)&&a(this,X);else{for(var Ie=0,Pe=[],ut=$.length;Ie<ut;Ie++)($[Ie].fn!==y||k&&!$[Ie].once||w&&$[Ie].context!==w)&&Pe.push($[Ie]);Pe.length?this._events[X]=Pe.length===1?Pe[0]:Pe:a(this,X)}return this},u.prototype.removeAllListeners=function(m){var y;return m?(y=t?t+m:m,this._events[y]&&a(this,y)):(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}(te)),te.exports}var Je=Ye(),Ot=N(Je);const zt="1.6.15",Yt={};function yn(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Cn(){const s=Yt[zt];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 Yt[zt]=r,r}function tn(s){const e=Yt[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 Yt[s]=r,r}function zn(s){const e=Yt[s||zt];if(e&&e.clientCount--===1){const{worker:n,objectURL:r}=e;delete Yt[s||zt],r&&self.URL.revokeObjectURL(r),n.terminate()}}function Kn(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 Gn(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 Bn(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 Vn(s,e){const t=e;let n=0;for(;Gn(s,e);){n+=10;const r=Bn(s,e+6);n+=r,Kn(s,e+10)&&(n+=10),e+=n}if(n>0)return s.subarray(t,t+n)}function Qn(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 X=new Error(`invalid ADTS sampling index:${a}`);s.emit(v.ERROR,v.ERROR,{type:le.MEDIA_ERROR,details:j.FRAG_PARSING_ERROR,fatal:!0,error:X,reason:X.message});return}const u=(i>>6&3)+1,p=e[t+3]>>6&3|(i&1)<<2,m="mp4a.40."+u,y=r[a];let w=a;(u===5||u===29)&&(w-=3);const k=[u<<3|(w&14)>>1,(w&1)<<7|p<<3];return pe.log(`manifest codec:${n}, parsed codec:${m}, channels:${p}, rate:${y} (ADTS object type:${u} sampling index:${a})`),{config:k,samplerate:y,channelCount:p,codec:m,parsedCodec:m,manifestCodec:n}}function Jn(s,e){return s[e]===255&&(s[e+1]&246)===240}function Ar(s,e){return s[e+1]&1?7:9}function pr(s,e){return(s[e+3]&3)<<11|s[e+4]<<3|(s[e+5]&224)>>>5}function tr(s,e){return e+5<s.length}function Dr(s,e){return e+1<s.length&&Jn(s,e)}function mr(s,e){return tr(s,e)&&Jn(s,e)&&pr(s,e)<=s.length-e}function xr(s,e){if(Dr(s,e)){const t=Ar(s,e);if(e+t>=s.length)return!1;const n=pr(s,e);if(n<=t)return!1;const r=e+n;return r===s.length||Dr(s,r)}return!1}function _i(s,e,t,n,r){if(!s.samplerate){const i=Qn(e,t,n,r);if(!i)return;x(s,i)}}function ni(s){return 1024*9e4/s}function li(s,e){const t=Ar(s,e);if(e+t<=s.length){const n=pr(s,e)-t;if(n>0)return{headerLength:t,frameLength:n}}}function Gr(s,e,t,n,r){const i=ni(s.samplerate),a=n+r*i,u=li(e,t);let p;if(u){const{frameLength:w,headerLength:k}=u,X=k+w,$=Math.max(0,t+X-e.length);$?(p=new Uint8Array(X-k),p.set(e.subarray(t+k,e.length),0)):p=e.subarray(t+k,t+X);const Ie={unit:p,pts:a};return $||s.samples.push(Ie),{sample:Ie,length:X,missing:$}}const m=e.length-t;return p=new Uint8Array(m),p.set(e.subarray(t,e.length),0),{sample:{unit:p,pts:a},length:m,missing:-1}}function Ni(s,e){return Gn(s,e)&&Bn(s,e+6)+10<=s.length-e}function mi(s){return s instanceof ArrayBuffer?s:s.byteOffset==0&&s.byteLength==s.buffer.byteLength?s.buffer:new Uint8Array(s).buffer}function ai(s,e=0,t=1/0){return ri(s,e,t,Uint8Array)}function ri(s,e,t,n){const r=Ai(s);let i=1;"BYTES_PER_ELEMENT"in n&&(i=n.BYTES_PER_ELEMENT);const a=Ti(s)?s.byteOffset:0,u=(a+s.byteLength)/i,p=(a+e)/i,m=Math.floor(Math.max(0,Math.min(p,u))),y=Math.floor(Math.min(m+Math.max(t,0),u));return new n(r,m,y-m)}function Ai(s){return s instanceof ArrayBuffer?s:s.buffer}function Ti(s){return s&&s.buffer instanceof ArrayBuffer&&s.byteLength!==void 0&&s.byteOffset!==void 0}function Ji(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=it(ai(s.data,1,n)),i=s.data[2+n],a=s.data.subarray(3+n).indexOf(0);if(a===-1)return;const u=it(ai(s.data,3+n,a));let p;return r==="-->"?p=it(ai(s.data,4+n+a)):p=mi(s.data.subarray(4+n+a)),e.mimeType=r,e.pictureType=i,e.description=u,e.data=p,e}function $e(s){if(s.size<2)return;const e=it(s.data,!0),t=new Uint8Array(s.data.subarray(e.length+1));return{key:s.type,info:e,data:t.buffer}}function pi(s){if(s.size<2)return;if(s.type==="TXXX"){let t=1;const n=it(s.data.subarray(t),!0);t+=n.length+1;const r=it(s.data.subarray(t));return{key:s.type,info:n,data:r}}const e=it(s.data.subarray(1));return{key:s.type,info:"",data:e}}function ui(s){if(s.type==="WXXX"){if(s.size<2)return;let t=1;const n=it(s.data.subarray(t),!0);t+=n.length+1;const r=it(s.data.subarray(t));return{key:s.type,info:n,data:r}}const e=it(s.data);return{key:s.type,info:"",data:e}}function Or(s){return s.type==="PRIV"?$e(s):s.type[0]==="W"?ui(s):s.type==="APIC"?Ji(s):pi(s)}function si(s){const e=String.fromCharCode(s[0],s[1],s[2],s[3]),t=Bn(s,4),n=10;return{type:e,size:t,data:s.subarray(n,n+t)}}const qr=10,Yi=10;function ha(s){let e=0;const t=[];for(;Gn(s,e);){const n=Bn(s,e+6);s[e+5]>>6&1&&(e+=qr),e+=qr;const r=e+n;for(;e+Yi<r;){const i=si(s.subarray(e)),a=Or(i);a&&t.push(a),e+=i.size+qr}Kn(s,e)&&(e+=qr)}return t}function ma(s){return s&&s.key==="PRIV"&&s.info==="com.apple.streaming.transportStreamTimestamp"}function J(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 V(s){const e=ha(s);for(let t=0;t<e.length;t++){const n=e[t];if(ma(n))return J(n)}}let De=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 Ge(s="",e=9e4){return{type:s,id:-1,pid:-1,inputTimeScale:e,sequenceNumber:-1,samples:[],dropped:0}}class ot{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=xt(this.cachedData,e),this.cachedData=null);let n=Vn(e,0),r=n?n.length:0,i;const a=this._audioTrack,u=this._id3Track,p=n?V(n):void 0,m=e.length;for((this.basePTS===null||this.frameIndex===0&&c(p))&&(this.basePTS=mt(p,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:De.audioId3,duration:Number.POSITIVE_INFINITY});r<m;){if(this.canParse(e,r)){const y=this.appendFrame(a,e,r);y?(this.frameIndex++,this.lastPTS=y.sample.pts,r+=y.length,i=r):r=m}else Ni(e,r)?(n=Vn(e,r),u.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:De.audioId3,duration:Number.POSITIVE_INFINITY}),r+=n.length,i=r):r++;if(r===m&&i!==m){const y=e.slice(i);this.cachedData?this.cachedData=xt(this.cachedData,y):this.cachedData=y}}return{audioTrack:a,videoTrack:Ge(),id3Track:u,textTrack:Ge()}}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:Ge(),id3Track:this._id3Track,textTrack:Ge()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const mt=(s,e,t)=>{if(c(s))return s*90;const n=t?t.baseTime*9e4/t.timescale:0;return e*9e4+n};let Rt=null;const Ct=[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],Nt=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Ut=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],fn=[0,1,1,4];function sn(s,e,t,n,r){if(t+24>e.length)return;const i=rn(e,t);if(i&&t+i.frameLength<=e.length){const a=i.samplesPerFrame*9e4/i.sampleRate,u=n+r*a,p={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(p),{sample:p,length:i.frameLength,missing:0}}}function rn(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,p=t===3?3-n:n===3?3:4,m=Ct[p*14+r-1]*1e3,w=Nt[(t===3?0:t===2?1:2)*3+i],k=u===3?1:2,X=Ut[t][n],$=fn[n],Ie=X*8*$,Pe=Math.floor(X*m/w+a)*$;if(Rt===null){const wt=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Rt=wt?parseInt(wt[1]):0}return!!Rt&&Rt<=87&&n===2&&m>=224e3&&u===0&&(s[e+3]=s[e+3]|128),{sampleRate:w,channelCount:k,frameLength:Pe,samplesPerFrame:Ie}}}function B(s,e){return s[e]===255&&(s[e+1]&224)===224&&(s[e+1]&6)!==0}function l(s,e){return e+1<s.length&&B(s,e)}function d(s,e){return B(s,e)&&4<=s.length-e}function f(s,e){if(e+1<s.length&&B(s,e)){const n=rn(s,e);let r=4;n!=null&&n.frameLength&&(r=n.frameLength);const i=e+r;return i===s.length||l(s,i)}return!1}class b extends ot{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=Vn(e,0);let r=(n==null?void 0:n.length)||0;if(f(e,r))return!1;for(let i=e.length;r<i;r++)if(xr(e,r))return t.log("ADTS sync word found !"),!0;return!1}canParse(e,t){return mr(e,t)}appendFrame(e,t,n){_i(e,this.observer,t,n,e.manifestCodec);const r=Gr(e,t,n,this.basePTS,this.frameIndex);if(r&&r.missing===0)return r}}const R=(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),p=8-u;i[0]=4278190080>>>24+p<<p,r[0]=(a[0]&i[0])>>p,t=t?t<<u|r[0]:r[0],e+=1,n-=u}return t};class H extends ot{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=ge(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=Vn(e,0);if(!t)return!1;const n=t.length;return e[n]===11&&e[n+1]===119&&V(t)!==void 0&&R(e,n)<16}}function ge(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],p=e[t+4]&63,y=[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][p*3+i]*2;if(t+y>e.length)return-1;const w=e[t+6]>>5;let k=0;w===2?k+=2:(w&1&&w!==1&&(k+=2),w&4&&(k+=2));const X=(e[t+6]<<8|e[t+7])>>12-k&1,Ie=[2,1,2,3,3,4,4,5][w]+X,Pe=e[t+5]>>3,ut=e[t+5]&7,yt=new Uint8Array([i<<6|Pe<<1|ut>>2,(ut&3)<<6|w<<3|X<<2|p>>4,p<<4&224]),wt=1536/u*9e4,Xt=n+r*wt,dn=e.subarray(t,t+y);return s.config=yt,s.channelCount=Ie,s.samplerate=u,s.samples.push({unit:dn,pts:Xt}),y}class Ce extends ot{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=Vn(e,0);let n=(t==null?void 0:t.length)||0;if(t&&e[n]===11&&e[n+1]===119&&V(t)!==void 0&&R(e,n)<=16)return!1;for(let r=e.length;n<r;n++)if(f(e,n))return pe.log("MPEG Audio sync word found !"),!0;return!1}canParse(e,t){return d(e,t)}appendFrame(e,t,n){if(this.basePTS!==null)return sn(e,t,n,this.basePTS,this.frameIndex)}}const Ke=/\/emsg[-/]ID3/i;class pt{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=Ge("video",1),a=this.audioTrack=Ge("audio",1),u=this.txtTrack=Ge("text",1);if(this.id3Track=Ge("id3",1),this.timeOffset=0,!(e!=null&&e.byteLength))return;const p=Me(e);if(p.video){const{id:m,timescale:y,codec:w,supplemental:k}=p.video;i.id=m,i.timescale=u.timescale=y,i.codec=w,i.supplemental=k}if(p.audio){const{id:m,timescale:y,codec:w}=p.audio;a.id=m,a.timescale=y,a.codec=w}u.id=At.text,i.sampleDuration=0,i.duration=a.duration=r}resetContiguity(){this.remainderData=null}static probe(e){return Re(e)}demux(e,t){this.timeOffset=t;let n=e;const r=this.videoTrack,i=this.txtTrack;if(this.config.progressive){this.remainderData&&(n=xt(this.remainderData,e));const u=ft(n);this.remainderData=u.remainder,r.samples=u.valid||new Uint8Array}else r.samples=n;const a=this.extractID3Track(r,t);return i.samples=gt(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=gt(e,t),{videoTrack:t,audioTrack:Ge(),id3Track:r,textTrack:Ge()}}extractID3Track(e,t){const n=this.id3Track;if(e.samples.length){const r=oe(e.samples,["emsg"]);r&&r.forEach(i=>{const a=et(i);if(Ke.test(a.schemeIdUri)){const u=Tt(a,t);let p=a.eventDuration===4294967295?Number.POSITIVE_INFINITY:a.eventDuration/a.timeScale;p<=.001&&(p=Number.POSITIVE_INFINITY);const m=a.payload;n.samples.push({data:m,len:m.byteLength,dts:u,pts:u,type:De.emsg,duration:p})}else if(this.config.enableEmsgKLVMetadata&&a.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const u=Tt(a,t);n.samples.push({data:a.payload,len:a.payload.byteLength,dts:u,pts:u,type:De.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 Tt(s,e){return c(s.presentationTime)?s.presentationTime/s.timeScale:e+s.presentationTimeDelta/s.timeScale}class Qt{constructor(e,t,n){this.keyData=void 0,this.decrypter=void 0,this.keyData=n,this.decrypter=new zi(t,{removePKCS7Padding:!1})}decryptBuffer(e){return this.decrypter.decrypt(e,this.keyData.key.buffer,this.keyData.iv.buffer,Rr.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 p=new Uint8Array(u);r.set(p,16),this.decrypter.isSync()||this.decryptAacSamples(e,t+1,n)}).catch(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=Ae(i.data),u=this.getAvcEncryptedData(a);this.decryptBuffer(u.buffer).then(p=>{i.data=this.getAvcDecryptedUnit(a,p),this.decrypter.isSync()||this.decryptAvcSamples(e,t,n+1,r)}).catch(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 Wt{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 p=0,m,y,w,k=-1,X=0;for(i===-1&&(k=0,X=this.getNALuType(t,0),i=0,p=1);p<r;){if(m=t[p++],!i){i=m?0:1;continue}if(i===1){i=m?0:2;continue}if(!m)i=3;else if(m===1){if(y=p-i-1,k>=0){const $={data:t.subarray(k,y),type:X};u.push($)}else{const $=this.getLastNalUnit(e.samples);$&&(a&&p<=4-a&&$.state&&($.data=$.data.subarray(0,$.data.byteLength-a)),y>0&&($.data=xt($.data,t.subarray(0,y)),$.state=0))}p<r?(w=this.getNALuType(t,p),k=p,X=w,i=0):i=-1}else i=0}if(k>=0&&i>=0){const $={data:t.subarray(k,r),type:X,state:i};u.push($)}if(u.length===0){const $=this.getLastNalUnit(e.samples);$&&($.data=xt($.data,t))}return e.naluState=i,u}}class Vt{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&&pe.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 ln extends Wt{parsePES(e,t,n,r){const i=this.parseNALu(e,n.data,r);let a=this.VideoSample,u,p=!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(m=>{var y,w;switch(m.type){case 1:{let Ie=!1;u=!0;const Pe=m.data;if(p&&Pe.length>4){const ut=this.readSliceType(Pe);(ut===2||ut===4||ut===7||ut===9)&&(Ie=!0)}if(Ie){var k;(k=a)!=null&&k.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=Ie;break}case 5:u=!0,(y=a)!=null&&y.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,_t(m.data,1,n.pts,t.samples);break}case 7:{var X,$;u=!0,p=!0;const Ie=m.data,Pe=this.readSPS(Ie);if(!e.sps||e.width!==Pe.width||e.height!==Pe.height||((X=e.pixelRatio)==null?void 0:X[0])!==Pe.pixelRatio[0]||(($=e.pixelRatio)==null?void 0:$[1])!==Pe.pixelRatio[1]){e.width=Pe.width,e.height=Pe.height,e.pixelRatio=Pe.pixelRatio,e.sps=[Ie];const ut=Ie.subarray(1,4);let yt="avc1.";for(let wt=0;wt<3;wt++){let Xt=ut[wt].toString(16);Xt.length<2&&(Xt="0"+Xt),yt+=Xt}e.codec=yt}break}case 8:u=!0,e.pps=[m.data];break;case 9:u=!0,e.audFound=!0,(w=a)!=null&&w.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(m)}),r&&a&&(this.pushAccessUnit(a,e),this.VideoSample=null)}getNALuType(e,t){return e[t]&31}readSliceType(e){const t=new Vt(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 Vt(e);let n=0,r=0,i=0,a=0,u,p,m;const y=t.readUByte.bind(t),w=t.readBits.bind(t),k=t.readUEG.bind(t),X=t.readBoolean.bind(t),$=t.skipBits.bind(t),Ie=t.skipEG.bind(t),Pe=t.skipUEG.bind(t),ut=this.skipScalingList.bind(this);y();const yt=y();if(w(5),$(3),y(),Pe(),yt===100||yt===110||yt===122||yt===244||yt===44||yt===83||yt===86||yt===118||yt===128){const Rn=k();if(Rn===3&&$(1),Pe(),Pe(),$(1),X())for(p=Rn!==3?8:12,m=0;m<p;m++)X()&&(m<6?ut(16,t):ut(64,t))}Pe();const wt=k();if(wt===0)k();else if(wt===1)for($(1),Ie(),Ie(),u=k(),m=0;m<u;m++)Ie();Pe(),$(1);const Xt=k(),dn=k(),Yn=w(1);Yn===0&&$(1),$(1),X()&&(n=k(),r=k(),i=k(),a=k());let mn=[1,1];if(X()&&X())switch(y()){case 1:mn=[1,1];break;case 2:mn=[12,11];break;case 3:mn=[10,11];break;case 4:mn=[16,11];break;case 5:mn=[40,33];break;case 6:mn=[24,11];break;case 7:mn=[20,11];break;case 8:mn=[32,11];break;case 9:mn=[80,33];break;case 10:mn=[18,11];break;case 11:mn=[15,11];break;case 12:mn=[64,33];break;case 13:mn=[160,99];break;case 14:mn=[4,3];break;case 15:mn=[3,2];break;case 16:mn=[2,1];break;case 255:{mn=[y()<<8|y(),y()<<8|y()];break}}return{width:Math.ceil((Xt+1)*16-n*2-r*2),height:(2-Yn)*(dn+1)*16-(Yn?2:4)*(i+a),pixelRatio:mn}}}class Jt extends Wt{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,p=!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(m=>{var y,w;switch(m.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,p){var k;(k=a)!=null&&k.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,(y=a)!=null&&y.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,_t(m.data,2,n.pts,t.samples);break;case 32:u=!0,e.vps||(typeof e.params!="object"&&(e.params={}),e.params=x(e.params,this.readVPS(m.data)),this.initVPS=m.data),e.vps=[m.data];break;case 33:if(u=!0,p=!0,e.vps!==void 0&&e.vps[0]!==this.initVPS&&e.sps!==void 0&&!this.matchSPS(e.sps[0],m.data)&&(this.initVPS=e.vps[0],e.sps=e.pps=void 0),!e.sps){const X=this.readSPS(m.data);e.width=X.width,e.height=X.height,e.pixelRatio=X.pixelRatio,e.codec=X.codecString,e.sps=[],typeof e.params!="object"&&(e.params={});for(const $ in X.params)e.params[$]=X.params[$]}this.pushParameterSet(e.sps,m.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 X=this.readPPS(m.data);for(const $ in X)e.params[$]=X[$]}this.pushParameterSet(e.pps,m.data,e.vps)}break;case 35:u=!0,e.audFound=!0,(w=a)!=null&&w.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(m)}),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 Vt(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 Vt(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(),p=t.readUByte(),m=t.readUByte(),y=t.readUByte(),w=t.readUByte(),k=t.readUByte(),X=t.readUByte(),$=t.readUByte(),Ie=t.readUByte(),Pe=t.readUByte(),ut=t.readUByte(),yt=[],wt=[];for(let ms=0;ms<n;ms++)yt.push(t.readBoolean()),wt.push(t.readBoolean());if(n>0)for(let ms=n;ms<8;ms++)t.readBits(2);for(let ms=0;ms<n;ms++)yt[ms]&&(t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte(),t.readUByte()),wt[ms]&&t.readUByte();t.readUEG();const Xt=t.readUEG();Xt==3&&t.skipBits(1);const dn=t.readUEG(),Yn=t.readUEG(),mn=t.readBoolean();let Rn=0,Ln=0,gn=0,yr=0;mn&&(Rn+=t.readUEG(),Ln+=t.readUEG(),gn+=t.readUEG(),yr+=t.readUEG());const Pi=t.readUEG(),ea=t.readUEG(),ga=t.readUEG(),ta=t.readBoolean();for(let ms=ta?0:n;ms<=n;ms++)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 bo=0;bo<4;bo++)for(let zo=0;zo<(bo===3?2:6);zo++)if(!t.readBoolean())t.readUEG();else{const Wo=Math.min(64,1<<4+(bo<<1));bo>1&&t.readEG();for(let vl=0;vl<Wo;vl++)t.readEG()}t.readBoolean(),t.readBoolean(),t.readBoolean()&&(t.readUByte(),t.skipUEG(),t.skipUEG(),t.readBoolean());const Hi=t.readUEG();let ca=0;for(let ms=0;ms<Hi;ms++){let bo=!1;if(ms!==0&&(bo=t.readBoolean()),bo){ms===Hi&&t.readUEG(),t.readBoolean(),t.readUEG();let zo=0;for(let al=0;al<=ca;al++){const Wo=t.readBoolean();let vl=!1;Wo||(vl=t.readBoolean()),(Wo||vl)&&zo++}ca=zo}else{const zo=t.readUEG(),al=t.readUEG();ca=zo+al;for(let Wo=0;Wo<zo;Wo++)t.readUEG(),t.readBoolean();for(let Wo=0;Wo<al;Wo++)t.readUEG(),t.readBoolean()}}if(t.readBoolean()){const ms=t.readUEG();for(let bo=0;bo<ms;bo++){for(let zo=0;zo<ga+4;zo++)t.readBits(1);t.readBits(1)}}let wi=0,Ci=1,es=1,bs=!0,ns=1,us=0;t.readBoolean(),t.readBoolean();let yo=!1;if(t.readBoolean()){if(t.readBoolean()){const sl=t.readUByte(),rc=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],$l=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];sl>0&&sl<16?(Ci=rc[sl-1],es=$l[sl-1]):sl===255&&(Ci=t.readBits(16),es=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(),yo=t.readBoolean(),yo&&(t.skipUEG(),t.skipUEG(),t.skipUEG(),t.skipUEG()),t.readBoolean()&&(ns=t.readBits(32),us=t.readBits(32),t.readBoolean()&&t.readUEG(),t.readBoolean())){const $l=t.readBoolean(),ic=t.readBoolean();let Al=!1;($l||ic)&&(Al=t.readBoolean(),Al&&(t.readUByte(),t.readBits(5),t.readBoolean(),t.readBits(5)),t.readBits(4),t.readBits(4),Al&&t.readBits(4),t.readBits(5),t.readBits(5),t.readBits(5));for(let ac=0;ac<=n;ac++){bs=t.readBoolean();const Vd=bs||t.readBoolean();let sc=!1;Vd?t.readEG():sc=t.readBoolean();const oc=sc?1:t.readUEG()+1;if($l)for(let Tl=0;Tl<oc;Tl++)t.readUEG(),t.readUEG(),Al&&(t.readUEG(),t.readUEG()),t.skipBits(1);if(ic)for(let Tl=0;Tl<oc;Tl++)t.readUEG(),t.readUEG(),Al&&(t.readUEG(),t.readUEG()),t.skipBits(1)}}t.readBoolean()&&(t.readBoolean(),t.readBoolean(),t.readBoolean(),wi=t.readUEG())}let Fo=dn,Yo=Yn;if(mn){let ms=1,bo=1;Xt===1?ms=bo=2:Xt==2&&(ms=2),Fo=dn-ms*Ln-ms*Rn,Yo=Yn-bo*yr-bo*gn}const il=r?["A","B","C"][r]:"",Gd=u<<24|p<<16|m<<8|y;let bu=0;for(let ms=0;ms<32;ms++)bu=(bu|(Gd>>ms&1)<<31-ms)>>>0;let xu=bu.toString(16);return a===1&&xu==="2"&&(xu="6"),{codecString:`hvc1.${il}${a}.${xu}.${i?"H":"L"}${ut}.B0`,params:{general_tier_flag:i,general_profile_idc:a,general_profile_space:r,general_profile_compatibility_flags:[u,p,m,y],general_constraint_indicator_flags:[w,k,X,$,Ie,Pe],general_level_idc:ut,bit_depth:Pi+8,bit_depth_luma_minus8:Pi,bit_depth_chroma_minus8:ea,min_spatial_segmentation_idc:wi,chroma_format_idc:Xt,frame_rate:{fixed:bs,fps:us/ns}},width:Fo,height:Yo,pixelRatio:[Ci,es]}}readPPS(e){const t=new Vt(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 qt=188;class bn{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=bn.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(qt*5,t-qt)+1,r=0;for(;r<n;){let i=!1,a=-1,u=0;for(let p=r;p<t;p+=qt)if(e[p]===71&&(t-p===qt||e[p+qt]===71)){if(u++,a===-1&&(a=p,a!==0&&(n=Math.min(a+qt*99,e.length-qt)+1)),i||(i=Hn(e,p)===0),i&&u>1&&(a===0&&u>2||p+qt>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=bn.createTrack("video"),this._videoTrack.duration=r,this._audioTrack=bn.createTrack("audio",r),this._id3Track=bn.createTrack("id3"),this._txtTrack=bn.createTrack("text"),this._audioTrack.segmentCodec="aac",this.videoParser=null,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,p=this._id3Track,m=this._txtTrack;let y=a.pid,w=a.pesData,k=u.pid,X=p.pid,$=u.pesData,Ie=p.pesData,Pe=null,ut=this.pmtParsed,yt=this._pmtId,wt=e.length;if(this.remainderData&&(e=xt(this.remainderData,e),wt=e.length,this.remainderData=null),wt<qt&&!r)return this.remainderData=e,{audioTrack:u,videoTrack:a,id3Track:p,textTrack:m};const Xt=Math.max(0,bn.syncOffset(e));wt-=(wt-Xt)%qt,wt<e.byteLength&&!r&&(this.remainderData=new Uint8Array(e.buffer,wt,e.buffer.byteLength-wt));let dn=0;for(let mn=Xt;mn<wt;mn+=qt)if(e[mn]===71){const Rn=!!(e[mn+1]&64),Ln=Hn(e,mn),gn=(e[mn+3]&48)>>4;let yr;if(gn>1){if(yr=mn+5+e[mn+4],yr===mn+qt)continue}else yr=mn+4;switch(Ln){case y:Rn&&(w&&(i=oi(w,this.logger))&&(this.readyVideoParser(a.segmentCodec),this.videoParser!==null&&this.videoParser.parsePES(a,m,i,!1)),w={data:[],size:0}),w&&(w.data.push(e.subarray(yr,mn+qt)),w.size+=mn+qt-yr);break;case k:if(Rn){if($&&(i=oi($,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}$={data:[],size:0}}$&&($.data.push(e.subarray(yr,mn+qt)),$.size+=mn+qt-yr);break;case X:Rn&&(Ie&&(i=oi(Ie,this.logger))&&this.parseID3PES(p,i),Ie={data:[],size:0}),Ie&&(Ie.data.push(e.subarray(yr,mn+qt)),Ie.size+=mn+qt-yr);break;case 0:Rn&&(yr+=e[yr]+1),yt=this._pmtId=ur(e,yr);break;case yt:{Rn&&(yr+=e[yr]+1);const Pi=Sr(e,yr,this.typeSupported,n,this.observer,this.logger);y=Pi.videoPid,y>0&&(a.pid=y,a.segmentCodec=Pi.segmentVideoCodec),k=Pi.audioPid,k>0&&(u.pid=k,u.segmentCodec=Pi.segmentAudioCodec),X=Pi.id3Pid,X>0&&(p.pid=X),Pe!==null&&!ut&&(this.logger.warn(`MPEG-TS PMT found at ${mn} after unknown PID '${Pe}'. Backtracking to sync byte @${Xt} to parse all TS packets.`),Pe=null,mn=Xt-188),ut=this.pmtParsed=!0;break}case 17:case 8191:break;default:Pe=Ln;break}}else dn++;dn>0&&er(this.observer,new Error(`Found ${dn} TS packet/s that do not start with 0x47`),void 0,this.logger),a.pesData=w,u.pesData=$,p.pesData=Ie;const Yn={audioTrack:u,videoTrack:a,id3Track:p,textTrack:m};return r&&this.extractRemainingSamples(Yn),Yn}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,p=r.pesData;let m;if(a&&(m=oi(a,this.logger))?(this.readyVideoParser(n.segmentCodec),this.videoParser!==null&&(this.videoParser.parsePES(n,i,m,!0),n.pesData=null)):n.pesData=a,u&&(m=oi(u,this.logger))){switch(t.segmentCodec){case"aac":this.parseAACPES(t,m);break;case"mp3":this.parseMPEGPES(t,m);break;case"ac3":this.parseAC3PES(t,m);break}t.pesData=null}else u!=null&&u.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),t.pesData=u;p&&(m=oi(p,this.logger))?(this.parseID3PES(r,m),r.pesData=null):r.pesData=p}demuxSampleAes(e,t,n){const r=this.demux(e,n,!0,!this.config.progressive),i=this.sampleAes=new Qt(this.observer,this.config,t);return this.decrypt(r,i)}readyVideoParser(e){this.videoParser===null&&(e==="avc"?this.videoParser=new ln:e==="hevc"&&(this.videoParser=new Jt))}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 w=r.missing,k=r.sample.unit.byteLength;if(w===-1)i=xt(r.sample.unit,i);else{const X=k-w;r.sample.unit.set(i.subarray(0,w),X),e.samples.push(r.sample),n=r.missing}}let a,u;for(a=n,u=i.length;a<u-1&&!Dr(i,a);a++);if(a!==n){let w;const k=a<u-1;if(k?w=`AAC PES did not start with ADTS header,offset:${a}`:w="No ADTS header found in AAC PES",er(this.observer,new Error(w),k,this.logger),!k)return}_i(e,this.observer,i,a,this.audioCodec);let p;if(t.pts!==void 0)p=t.pts;else if(r){const w=ni(e.samplerate);p=r.sample.pts+w}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let m=0,y;for(;a<u;)if(y=Gr(e,i,a,p,m),a+=y.length,y.missing){this.aacOverFlow=y;break}else for(m++;a<u-1&&!Dr(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(l(n,a)){const p=sn(e,n,a,u,i);if(p)a+=p.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,p;for(;u<i&&(p=ge(e,n,u,r,a++))>0;)u+=p}}parseID3PES(e,t){if(t.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const n=x({},t,{type:this._videoTrack?De.emsg:De.audioId3,duration:Number.POSITIVE_INFINITY});e.samples.push(n)}}function Hn(s,e){return((s[e+1]&31)<<8)+s[e+2]}function ur(s,e){return(s[e+10]&31)<<8|s[e+11]}function Sr(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],p=e+3+u-4,m=(s[e+10]&15)<<8|s[e+11];for(e+=12+m;e<p;){const y=Hn(s,e),w=(s[e+3]&15)<<8|s[e+4];switch(s[e]){case 207:if(!n){ci("ADTS AAC",i);break}case 15:a.audioPid===-1&&(a.audioPid=y);break;case 21:a.id3Pid===-1&&(a.id3Pid=y);break;case 219:if(!n){ci("H.264",i);break}case 27:a.videoPid===-1&&(a.videoPid=y);break;case 3:case 4:!t.mpeg&&!t.mp3?i.log("MPEG audio found, not supported in this browser"):a.audioPid===-1&&(a.audioPid=y,a.segmentAudioCodec="mp3");break;case 193:if(!n){ci("AC-3",i);break}case 129:t.ac3?a.audioPid===-1&&(a.audioPid=y,a.segmentAudioCodec="ac3"):i.log("AC-3 audio found, not supported in this browser");break;case 6:if(a.audioPid===-1&&w>0){let k=e+5,X=w;for(;X>2;){switch(s[k]){case 106:t.ac3!==!0?i.log("AC-3 audio found, not supported in this browser for now"):(a.audioPid=y,a.segmentAudioCodec="ac3");break}const Ie=s[k+1]+2;k+=Ie,X-=Ie}}break;case 194:case 135:return er(r,new Error("Unsupported EC-3 in M2TS found"),void 0,i),a;case 36:a.videoPid===-1&&(a.videoPid=y,a.segmentVideoCodec="hevc",i.log("HEVC in M2TS found"));break}e+=w+5}return a}function er(s,e,t,n){n.warn(`parsing error: ${e.message}`),s.emit(v.ERROR,v.ERROR,{type:le.MEDIA_ERROR,details:j.FRAG_PARSING_ERROR,fatal:!1,levelRetry:t,error:e,reason:e.message})}function ci(s,e){e.log(`${s} with AES-128-CBC encryption found in unencrypted stream`)}function oi(s,e){let t=0,n,r,i,a,u;const p=s.data;if(!s||s.size===0)return null;for(;p[0].length<19&&p.length>1;)p[0]=xt(p[0],p[1]),p.splice(1,1);if(n=p[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 y=n[7];y&192&&(a=(n[9]&14)*536870912+(n[10]&255)*4194304+(n[11]&254)*16384+(n[12]&255)*128+(n[13]&254)/2,y&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 w=i+9;if(s.size<=w)return null;s.size-=w;const k=new Uint8Array(s.size);for(let X=0,$=p.length;X<$;X++){n=p[X];let Ie=n.byteLength;if(w)if(w>Ie){w-=Ie;continue}else n=n.subarray(w),Ie-=w,w=0;k.set(n,t),t+=Ie}return r&&(r-=i+3),{data:k,pts:a,dts:u,len:r}}return null}class Ca{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 Xi=Math.pow(2,32)-1;class Kt{static init(){Kt.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 Kt.types)Kt.types.hasOwnProperty(e)&&(Kt.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]);Kt.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]);Kt.STTS=Kt.STSC=Kt.STCO=i,Kt.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Kt.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Kt.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Kt.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]),p=new Uint8Array([0,0,0,1]);Kt.FTYP=Kt.box(Kt.types.ftyp,a,p,a,u),Kt.DINF=Kt.box(Kt.types.dinf,Kt.box(Kt.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 Kt.box(Kt.types.hdlr,Kt.HDLR_TYPES[e])}static mdat(e){return Kt.box(Kt.types.mdat,e)}static mdhd(e,t){t*=e;const n=Math.floor(t/(Xi+1)),r=Math.floor(t%(Xi+1));return Kt.box(Kt.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 Kt.box(Kt.types.mdia,Kt.mdhd(e.timescale||0,e.duration||0),Kt.hdlr(e.type),Kt.minf(e))}static mfhd(e){return Kt.box(Kt.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"?Kt.box(Kt.types.minf,Kt.box(Kt.types.smhd,Kt.SMHD),Kt.DINF,Kt.stbl(e)):Kt.box(Kt.types.minf,Kt.box(Kt.types.vmhd,Kt.VMHD),Kt.DINF,Kt.stbl(e))}static moof(e,t,n){return Kt.box(Kt.types.moof,Kt.mfhd(e),Kt.traf(n,t))}static moov(e){let t=e.length;const n=[];for(;t--;)n[t]=Kt.trak(e[t]);return Kt.box.apply(null,[Kt.types.moov,Kt.mvhd(e[0].timescale||0,e[0].duration||0)].concat(n).concat(Kt.mvex(e)))}static mvex(e){let t=e.length;const n=[];for(;t--;)n[t]=Kt.trex(e[t]);return Kt.box.apply(null,[Kt.types.mvex,...n])}static mvhd(e,t){t*=e;const n=Math.floor(t/(Xi+1)),r=Math.floor(t%(Xi+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 Kt.box(Kt.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 Kt.box(Kt.types.sdtp,n)}static stbl(e){return Kt.box(Kt.types.stbl,Kt.stsd(e),Kt.box(Kt.types.stts,Kt.STTS),Kt.box(Kt.types.stsc,Kt.STSC),Kt.box(Kt.types.stsz,Kt.STSZ),Kt.box(Kt.types.stco,Kt.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=Kt.box(Kt.types.avcC,new Uint8Array([1,t[3],t[4],t[5],255,224|e.sps.length].concat(t).concat([e.pps.length]).concat(n))),p=e.width,m=e.height,y=e.pixelRatio[0],w=e.pixelRatio[1];return Kt.box(Kt.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,p>>8&255,p&255,m>>8&255,m&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,Kt.box(Kt.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Kt.box(Kt.types.pasp,new Uint8Array([y>>24,y>>16&255,y>>8&255,y&255,w>>24,w>>16&255,w>>8&255,w&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 Kt.box(Kt.types.mp4a,Kt.audioStsd(e),Kt.box(Kt.types.esds,Kt.esds(e)))}static mp3(e){return Kt.box(Kt.types[".mp3"],Kt.audioStsd(e))}static ac3(e){return Kt.box(Kt.types["ac-3"],Kt.audioStsd(e),Kt.box(Kt.types.dac3,e.config))}static stsd(e){const{segmentCodec:t}=e;if(e.type==="audio"){if(t==="aac")return Kt.box(Kt.types.stsd,Kt.STSD,Kt.mp4a(e));if(t==="ac3"&&e.config)return Kt.box(Kt.types.stsd,Kt.STSD,Kt.ac3(e));if(t==="mp3"&&e.codec==="mp3")return Kt.box(Kt.types.stsd,Kt.STSD,Kt.mp3(e))}else if(e.pps&&e.sps){if(t==="avc")return Kt.box(Kt.types.stsd,Kt.STSD,Kt.avc1(e));if(t==="hevc"&&e.vps)return Kt.box(Kt.types.stsd,Kt.STSD,Kt.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/(Xi+1)),u=Math.floor(n%(Xi+1));return Kt.box(Kt.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=Kt.sdtp(e),r=e.id,i=Math.floor(t/(Xi+1)),a=Math.floor(t%(Xi+1));return Kt.box(Kt.types.traf,Kt.box(Kt.types.tfhd,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,r&255])),Kt.box(Kt.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])),Kt.trun(e,n.length+16+20+8+16+8+8),n)}static trak(e){return e.duration=e.duration||4294967295,Kt.box(Kt.types.trak,Kt.tkhd(e),Kt.mdia(e))}static trex(e){const t=e.id;return Kt.box(Kt.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,p,m,y,w,k;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++)p=n[u],m=p.duration,y=p.size,w=p.flags,k=p.cts,a.set([m>>>24&255,m>>>16&255,m>>>8&255,m&255,y>>>24&255,y>>>16&255,y>>>8&255,y&255,w.isLeading<<2|w.dependsOn,w.isDependedOn<<6|w.hasRedundancy<<4|w.paddingValue<<1|w.isNonSync,w.degradPrio&61440,w.degradPrio&15,k>>>24&255,k>>>16&255,k>>>8&255,k&255],12+16*u);return Kt.box(Kt.types.trun,a)}static initSegment(e){Kt.types||Kt.init();const t=Kt.moov(e);return xt(Kt.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 $=0;$<n.length;$+=1){a+=3;for(let Ie=0;Ie<n[$].length;Ie+=1)a+=2+n[$][Ie].length}const u=new Uint8Array(a);u.set(i,0),a=i.length;const p=n.length-1;for(let $=0;$<n.length;$+=1){u.set(new Uint8Array([32+$|($===p?128:0),0,n[$].length]),a),a+=3;for(let Ie=0;Ie<n[$].length;Ie+=1)u.set(new Uint8Array([n[$][Ie].length>>8,n[$][Ie].length&255]),a),a+=2,u.set(n[$][Ie],a),a+=n[$][Ie].length}const m=Kt.box(Kt.types.hvcC,u),y=e.width,w=e.height,k=e.pixelRatio[0],X=e.pixelRatio[1];return Kt.box(Kt.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,y>>8&255,y&255,w>>8&255,w&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]),m,Kt.box(Kt.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Kt.box(Kt.types.pasp,new Uint8Array([k>>24,k>>16&255,k>>8&255,k&255,X>>24,X>>16&255,X>>8&255,X&255])))}}Kt.types=void 0,Kt.HDLR_TYPES=void 0,Kt.STTS=void 0,Kt.STSC=void 0,Kt.STCO=void 0,Kt.STSZ=void 0,Kt.VMHD=void 0,Kt.SMHD=void 0,Kt.STSD=void 0,Kt.FTYP=void 0,Kt.DINF=void 0;const Oa=9e4;function Ya(s,e,t=1,n=!1){const r=s*e*t;return n?Math.round(r):r}function la(s,e,t=1,n=!1){return Ya(s,e,1/t,n)}function Zi(s,e=!1){return Ya(s,1e3,1/Oa,e)}function $a(s,e=1){return Ya(s,Oa,1/e)}function Qa(s){const{baseTime:e,timescale:t,trackId:n}=s;return`${e/t} (${e}/${t}) trackId: ${n}`}const Di=10*1e3,ua=1024,di=1152,Si=1536;let wa=null,Ma=null;function Ja(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 Ba extends Z{constructor(e,t,n,r){if(super("mp4-remuxer",r),this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextVideoTs=null,this.nextAudioTs=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.ISGenerated=!1,wa===null){const a=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);wa=a?parseInt(a[1]):0}if(Ma===null){const i=navigator.userAgent.match(/Safari\/(\d+)/i);Ma=i?parseInt(i[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(e){const t=this._initPTS;(!t||!e||e.trackId!==t.trackId||e.baseTime!==t.baseTime||e.timescale!==t.timescale)&&this.log(`Reset initPTS: ${t&&Qa(t)} > ${e&&Qa(e)}`),this._initPTS=this._initDTS=e}resetNextTimestamp(){this.log("reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.log("ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(e){let t=!1;const n=e[0].pts,r=e.reduce((i,a)=>{let u=a.pts,p=u-i;return p<-4294967296&&(t=!0,u=qa(u,n),p=u-i),p>0?i:u},n);return t&&this.debug("PTS rollover detected"),r}remux(e,t,n,r,i,a,u,p){let m,y,w,k,X,$,Ie=i,Pe=i;const ut=e.pid>-1,yt=t.pid>-1,wt=t.samples.length,Xt=e.samples.length>0,dn=u&&wt>0||wt>1;if((!ut||Xt)&&(!yt||dn)||this.ISGenerated||u){if(this.ISGenerated){var mn,Rn,Ln,gn;const ga=this.videoTrackConfig;(ga&&(t.width!==ga.width||t.height!==ga.height||((mn=t.pixelRatio)==null?void 0:mn[0])!==((Rn=ga.pixelRatio)==null?void 0:Rn[0])||((Ln=t.pixelRatio)==null?void 0:Ln[1])!==((gn=ga.pixelRatio)==null?void 0:gn[1]))||!ga&&dn||this.nextAudioTs===null&&Xt)&&this.resetInitSegment()}this.ISGenerated||(w=this.generateIS(e,t,i,a));const yr=this.isVideoContiguous;let Pi=-1,ea;if(dn&&(Pi=ds(t.samples),!yr&&this.config.forceKeyFrameOnDiscontinuity))if($=!0,Pi>0){this.warn(`Dropped ${Pi} out of ${wt} video samples due to a missing keyframe`);const ga=this.getVideoStartPts(t.samples);t.samples=t.samples.slice(Pi),t.dropped+=Pi,Pe+=(t.samples[0].pts-ga)/t.inputTimeScale,ea=Pe}else Pi===-1&&(this.warn(`No keyframe found out of ${wt} video samples`),$=!1);if(this.ISGenerated){if(Xt&&dn){const ga=this.getVideoStartPts(t.samples),vi=(qa(e.samples[0].pts,ga)-ga)/t.inputTimeScale;Ie+=Math.max(0,vi),Pe+=Math.max(0,-vi)}if(Xt){if(e.samplerate||(this.warn("regenerate InitSegment as audio detected"),w=this.generateIS(e,t,i,a)),y=this.remuxAudio(e,Ie,this.isAudioContiguous,a,yt||dn||p===ee.AUDIO?Pe:void 0),dn){const ga=y?y.endPTS-y.startPTS:0;t.inputTimeScale||(this.warn("regenerate InitSegment as video detected"),w=this.generateIS(e,t,i,a)),m=this.remuxVideo(t,Pe,yr,ga)}}else dn&&(m=this.remuxVideo(t,Pe,yr,0));m&&(m.firstKeyFrame=Pi,m.independent=Pi!==-1,m.firstKeyFramePTS=ea)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(n.samples.length&&(X=Mi(n,i,this._initPTS,this._initDTS)),r.samples.length&&(k=Ki(r,i,this._initPTS))),{audio:y,video:m,initSegment:w,independent:$,text:k,id3:X}}computeInitPts(e,t,n,r){const i=Math.round(n*t);let a=qa(e,i);if(a<i+t)for(this.log(`Adjusting PTS for rollover in timeline near ${(i-a)/t} ${r}`);a<i+t;)a+=8589934592;return a-i}generateIS(e,t,n,r){const i=e.samples,a=t.samples,u=this.typeSupported,p={},m=this._initPTS;let y=!m||r,w="audio/mp4",k,X,$,Ie=-1;if(y&&(k=X=1/0),e.config&&i.length){switch(e.timescale=e.samplerate,e.segmentCodec){case"mp3":u.mpeg?(w="audio/mpeg",e.codec=""):u.mp3&&(e.codec="mp3");break;case"ac3":e.codec="ac-3";break}p.audio={id:"audio",container:w,codec:e.codec,initSegment:e.segmentCodec==="mp3"&&u.mpeg?new Uint8Array(0):Kt.initSegment([e]),metadata:{channelCount:e.channelCount}},y&&(Ie=e.id,$=e.inputTimeScale,!m||$!==m.timescale?k=X=this.computeInitPts(i[0].pts,$,n,"audio"):y=!1)}if(t.sps&&t.pps&&a.length){if(t.timescale=t.inputTimeScale,p.video={id:"main",container:"video/mp4",codec:t.codec,initSegment:Kt.initSegment([t]),metadata:{width:t.width,height:t.height}},y)if(Ie=t.id,$=t.inputTimeScale,!m||$!==m.timescale){const Pe=this.getVideoStartPts(a),ut=qa(a[0].dts,Pe),yt=this.computeInitPts(ut,$,n,"video"),wt=this.computeInitPts(Pe,$,n,"video");X=Math.min(X,yt),k=Math.min(k,wt)}else y=!1;this.videoTrackConfig={width:t.width,height:t.height,pixelRatio:t.pixelRatio}}if(Object.keys(p).length)return this.ISGenerated=!0,y?(m&&this.warn(`Timestamps at playlist time: ${r?"":"~"}${n} ${k/$} != initPTS: ${m.baseTime/m.timescale} (${m.baseTime}/${m.timescale}) trackId: ${m.trackId}`),this.log(`Found initPTS at playlist time: ${n} offset: ${k/$} (${k}/${$}) trackId: ${Ie}`),this._initPTS={baseTime:k,timescale:$,trackId:Ie},this._initDTS={baseTime:X,timescale:$,trackId:Ie}):k=$=void 0,{tracks:p,initPTS:k,timescale:$,trackId:Ie}}remuxVideo(e,t,n,r){const i=e.inputTimeScale,a=e.samples,u=[],p=a.length,m=this._initPTS,y=m.baseTime*i/m.timescale;let w=this.nextVideoTs,k=8,X=this.videoSampleDuration,$,Ie,Pe=Number.POSITIVE_INFINITY,ut=Number.NEGATIVE_INFINITY,yt=!1;if(!n||w===null){const wi=y+t*i,Ci=a[0].pts-qa(a[0].dts,a[0].pts);wa&&w!==null&&Math.abs(wi-Ci-(w+y))<15e3?n=!0:w=wi-Ci-y}const wt=w+y;for(let wi=0;wi<p;wi++){const Ci=a[wi];Ci.pts=qa(Ci.pts,wt),Ci.dts=qa(Ci.dts,wt),Ci.dts<a[wi>0?wi-1:wi].dts&&(yt=!0)}yt&&a.sort(function(wi,Ci){const es=wi.dts-Ci.dts,bs=wi.pts-Ci.pts;return es||bs}),$=a[0].dts,Ie=a[a.length-1].dts;const Xt=Ie-$,dn=Xt?Math.round(Xt/(p-1)):X||e.inputTimeScale/30;if(n){const wi=$-wt,Ci=wi>dn,es=wi<-1;if((Ci||es)&&(Ci?this.warn(`${(e.segmentCodec||"").toUpperCase()}: ${Zi(wi,!0)} ms (${wi}dts) hole between fragments detected at ${t.toFixed(3)}`):this.warn(`${(e.segmentCodec||"").toUpperCase()}: ${Zi(-wi,!0)} ms (${wi}dts) overlapping between fragments detected at ${t.toFixed(3)}`),!es||wt>=a[0].pts||wa)){$=wt;const bs=a[0].pts-wi;if(Ci)a[0].dts=$,a[0].pts=bs;else{let ns=!0;for(let us=0;us<a.length&&!(a[us].dts>bs&&ns);us++){const yo=a[us].pts;if(a[us].dts-=wi,a[us].pts-=wi,us<a.length-1){const ho=a[us+1].pts,Fo=a[us].pts,Yo=ho<=Fo,il=ho<=yo;ns=Yo==il}}}this.log(`Video: Initial PTS/DTS adjusted: ${Zi(bs,!0)}/${Zi($,!0)}, delta: ${Zi(wi,!0)} ms`)}}$=Math.max(0,$);let Yn=0,mn=0,Rn=$;for(let wi=0;wi<p;wi++){const Ci=a[wi],es=Ci.units,bs=es.length;let ns=0;for(let us=0;us<bs;us++)ns+=es[us].data.length;mn+=ns,Yn+=bs,Ci.length=ns,Ci.dts<Rn?(Ci.dts=Rn,Rn+=dn/4|0||1):Rn=Ci.dts,Pe=Math.min(Ci.pts,Pe),ut=Math.max(Ci.pts,ut)}Ie=a[p-1].dts;const Ln=mn+4*Yn+8;let gn;try{gn=new Uint8Array(Ln)}catch(wi){this.observer.emit(v.ERROR,v.ERROR,{type:le.MUX_ERROR,details:j.REMUX_ALLOC_ERROR,fatal:!1,error:wi,bytes:Ln,reason:`fail allocating video mdat ${Ln}`});return}const yr=new DataView(gn.buffer);yr.setUint32(0,Ln),gn.set(Kt.types.mdat,4);let Pi=!1,ea=Number.POSITIVE_INFINITY,ga=Number.POSITIVE_INFINITY,ta=Number.NEGATIVE_INFINITY,vi=Number.NEGATIVE_INFINITY;for(let wi=0;wi<p;wi++){const Ci=a[wi],es=Ci.units;let bs=0;for(let yo=0,ho=es.length;yo<ho;yo++){const Fo=es[yo],Yo=Fo.data,il=Fo.data.byteLength;yr.setUint32(k,il),k+=4,gn.set(Yo,k),k+=il,bs+=4+il}let ns;if(wi<p-1)X=a[wi+1].dts-Ci.dts,ns=a[wi+1].pts-Ci.pts;else{const yo=this.config,ho=wi>0?Ci.dts-a[wi-1].dts:dn;if(ns=wi>0?Ci.pts-a[wi-1].pts:dn,yo.stretchShortVideoTrack&&this.nextAudioTs!==null){const Fo=Math.floor(yo.maxBufferHole*i),Yo=(r?Pe+r*i:this.nextAudioTs+y)-Ci.pts;Yo>Fo?(X=Yo-ho,X<0?X=ho:Pi=!0,this.log(`It is approximately ${Yo/90} ms to the next segment; using duration ${X/90} ms for the last video frame.`)):X=ho}else X=ho}const us=Math.round(Ci.pts-Ci.dts);ea=Math.min(ea,X),ta=Math.max(ta,X),ga=Math.min(ga,ns),vi=Math.max(vi,ns),u.push(Ja(Ci.key,X,bs,us))}if(u.length){if(wa){if(wa<70){const wi=u[0].flags;wi.dependsOn=2,wi.isNonSync=0}}else if(Ma&&vi-ga<ta-ea&&dn/ta<.025&&u[0].cts===0){this.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let wi=$;for(let Ci=0,es=u.length;Ci<es;Ci++){const bs=wi+u[Ci].duration,ns=wi+u[Ci].cts;if(Ci<es-1){const us=bs+u[Ci+1].cts;u[Ci].duration=us-ns}else u[Ci].duration=Ci?u[Ci-1].duration:dn;u[Ci].cts=0,wi=bs}}}X=Pi||!X?dn:X;const aa=Ie+X;this.nextVideoTs=w=aa-y,this.videoSampleDuration=X,this.isVideoContiguous=!0;const ka={data1:Kt.moof(e.sequenceNumber++,$,x(e,{samples:u})),data2:gn,startPTS:(Pe-y)/i,endPTS:(ut+X-y)/i,startDTS:($-y)/i,endDTS:w/i,type:"video",hasAudio:!1,hasVideo:!0,nb:u.length,dropped:e.dropped};return e.samples=[],e.dropped=0,ka}getSamplesPerFrame(e){switch(e.segmentCodec){case"mp3":return di;case"ac3":return Si;default:return ua}}remuxAudio(e,t,n,r,i){const a=e.inputTimeScale,u=e.samplerate?e.samplerate:a,p=a/u,m=this.getSamplesPerFrame(e),y=m*p,w=this._initPTS,k=e.segmentCodec==="mp3"&&this.typeSupported.mpeg,X=[],$=i!==void 0;let Ie=e.samples,Pe=k?0:8,ut=this.nextAudioTs||-1;const yt=w.baseTime*a/w.timescale,wt=yt+t*a;if(this.isAudioContiguous=n=n||Ie.length&&ut>0&&(r&&Math.abs(wt-(ut+yt))<9e3||Math.abs(qa(Ie[0].pts,wt)-(ut+yt))<20*y),Ie.forEach(function(vi){vi.pts=qa(vi.pts,wt)}),!n||ut<0){const vi=Ie.length;if(Ie=Ie.filter(aa=>aa.pts>=0),vi!==Ie.length&&this.warn(`Removed ${Ie.length-vi} of ${vi} samples (initPTS ${yt} / ${a})`),!Ie.length)return;i===0?ut=0:r&&!$?ut=Math.max(0,wt-yt):ut=Ie[0].pts-yt}if(e.segmentCodec==="aac"){const vi=this.config.maxAudioFramesDrift;for(let aa=0,Hi=ut+yt;aa<Ie.length;aa++){const ca=Ie[aa],ka=ca.pts,wi=ka-Hi,Ci=Math.abs(1e3*wi/a);if(wi<=-vi*y&&$)aa===0&&(this.warn(`Audio frame @ ${(ka/a).toFixed(3)}s overlaps marker by ${Math.round(1e3*wi/a)} ms.`),this.nextAudioTs=ut=ka-yt,Hi=ka);else if(wi>=vi*y&&Ci<Di&&$){let es=Math.round(wi/y);for(Hi=ka-es*y;Hi<0&&es&&y;)es--,Hi+=y;aa===0&&(this.nextAudioTs=ut=Hi-yt),this.warn(`Injecting ${es} audio frames @ ${((Hi-yt)/a).toFixed(3)}s due to ${Math.round(1e3*wi/a)} ms gap.`);for(let bs=0;bs<es;bs++){let ns=Ca.getSilentFrame(e.parsedCodec||e.manifestCodec||e.codec,e.channelCount);ns||(this.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),ns=ca.unit.subarray()),Ie.splice(aa,0,{unit:ns,pts:Hi}),Hi+=y,aa++}}ca.pts=Hi,Hi+=y}}let Xt=null,dn=null,Yn,mn=0,Rn=Ie.length;for(;Rn--;)mn+=Ie[Rn].unit.byteLength;for(let vi=0,aa=Ie.length;vi<aa;vi++){const Hi=Ie[vi],ca=Hi.unit;let ka=Hi.pts;if(dn!==null){const Ci=X[vi-1];Ci.duration=Math.round((ka-dn)/p)}else if(n&&e.segmentCodec==="aac"&&(ka=ut+yt),Xt=ka,mn>0){mn+=Pe;try{Yn=new Uint8Array(mn)}catch(Ci){this.observer.emit(v.ERROR,v.ERROR,{type:le.MUX_ERROR,details:j.REMUX_ALLOC_ERROR,fatal:!1,error:Ci,bytes:mn,reason:`fail allocating audio mdat ${mn}`});return}k||(new DataView(Yn.buffer).setUint32(0,mn),Yn.set(Kt.types.mdat,4))}else return;Yn.set(ca,Pe);const wi=ca.byteLength;Pe+=wi,X.push(Ja(!0,m,wi,0)),dn=ka}const Ln=X.length;if(!Ln)return;const gn=X[X.length-1];ut=dn-yt,this.nextAudioTs=ut+p*gn.duration;const yr=k?new Uint8Array(0):Kt.moof(e.sequenceNumber++,Xt/p,x({},e,{samples:X}));e.samples=[];const Pi=(Xt-yt)/a,ea=this.nextAudioTs/a,ta={data1:yr,data2:Yn,startPTS:Pi,endPTS:ea,startDTS:Pi,endDTS:ea,type:"audio",hasAudio:!0,hasVideo:!1,nb:Ln};return this.isAudioContiguous=!0,ta}}function qa(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 ds(s){for(let e=0;e<s.length;e++)if(s[e].key)return e;return-1}function Mi(s,e,t,n){const r=s.samples.length;if(!r)return;const i=s.inputTimeScale;for(let u=0;u<r;u++){const p=s.samples[u];p.pts=qa(p.pts-t.baseTime*i/t.timescale,e*i)/i,p.dts=qa(p.dts-n.baseTime*i/n.timescale,e*i)/i}const a=s.samples;return s.samples=[],{samples:a}}function Ki(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=qa(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 Ha extends Z{constructor(e,t,n,r){super("passthrough-remuxer",r),this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.isVideoContiguous=!1}destroy(){}resetTimeStamp(e){this.lastEndTime=null;const t=this.initPTS;t&&e&&t.baseTime===e.baseTime&&t.timescale===e.timescale||(this.initPTS=e)}resetNextTimestamp(){this.isVideoContiguous=!1,this.lastEndTime=null}resetInitSegment(e,t,n,r){this.audioCodec=t,this.videoCodec=n,this.generateInitSegment(e,r),this.emitInitSegment=!0}generateInitSegment(e,t){let{audioCodec:n,videoCodec:r}=this;if(!(e!=null&&e.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const{audio:i,video:a}=this.initData=Me(e);if(t)Fe(e,t);else{const p=i||a;p!=null&&p.encrypted&&this.warn(`Init segment with encrypted track with has no key ("${p.codec}")!`)}i&&(n=Rs(i,he.AUDIO,this)),a&&(r=Rs(a,he.VIDEO,this));const u={};i&&a?u.audiovideo={container:"video/mp4",codec:n+","+r,supplemental:a.supplemental,encrypted:a.encrypted,initSegment:e,id:"main"}:i?u.audio={container:"audio/mp4",codec:n,encrypted:i.encrypted,initSegment:e,id:"audio"}:a?u.video={container:"video/mp4",codec:r,supplemental:a.supplemental,encrypted:a.encrypted,initSegment:e,id:"main"}:this.warn("initSegment does not contain moov or trak boxes."),this.initTracks=u}remux(e,t,n,r,i,a){var u,p;let{initPTS:m,lastEndTime:y}=this;const w={audio:void 0,video:void 0,text:r,id3:n,initSegment:void 0};c(y)||(y=this.lastEndTime=i||0);const k=t.samples;if(!k.length)return w;const X={initPTS:void 0,timescale:void 0,trackId:void 0};let $=this.initData;if((u=$)!=null&&u.length||(this.generateInitSegment(k),$=this.initData),!((p=$)!=null&&p.length))return this.warn("Failed to generate initSegment."),w;this.emitInitSegment&&(X.tracks=this.initTracks,this.emitInitSegment=!1);const Ie=vt(k,$,this),Pe=$.audio?Ie[$.audio.id]:null,ut=$.video?Ie[$.video.id]:null,yt=Xa(ut,1/0),wt=Xa(Pe,1/0),Xt=Xa(ut,0,!0),dn=Xa(Pe,0,!0);let Yn=i,mn=0;const Rn=Pe&&(!ut||!m&&wt<yt||m&&m.trackId===$.audio.id),Ln=Rn?Pe:ut;if(Ln){const Hi=Ln.timescale,ca=Ln.start-i*Hi,ka=Rn?$.audio.id:$.video.id;Yn=Ln.start/Hi,mn=Rn?dn-wt:Xt-yt,(a||!m)&&(ja(m,Yn,i,mn)||Hi!==m.timescale)&&(m&&this.warn(`Timestamps at playlist time: ${a?"":"~"}${i} ${ca/Hi} != initPTS: ${m.baseTime/m.timescale} (${m.baseTime}/${m.timescale}) trackId: ${m.trackId}`),this.log(`Found initPTS at playlist time: ${i} offset: ${Yn-i} (${ca}/${Hi}) trackId: ${ka}`),m=null,X.initPTS=ca,X.timescale=Hi,X.trackId=ka)}else this.warn(`No audio or video samples found for initPTS at playlist time: ${i}`);m?(X.initPTS=m.baseTime,X.timescale=m.timescale,X.trackId=m.trackId):((!X.timescale||X.trackId===void 0||X.initPTS===void 0)&&(this.warn("Could not set initPTS"),X.initPTS=Yn,X.timescale=1,X.trackId=-1),this.initPTS=m={baseTime:X.initPTS,timescale:X.timescale,trackId:X.trackId});const gn=Yn-m.baseTime/m.timescale,yr=gn+mn;mn>0?this.lastEndTime=yr:(this.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const Pi=!!$.audio,ea=!!$.video;let ga="";Pi&&(ga+="audio"),ea&&(ga+="video");const ta=($.audio?$.audio.encrypted:!1)||($.video?$.video.encrypted:!1),vi={data1:k,startPTS:gn,startDTS:gn,endPTS:yr,endDTS:yr,type:ga,hasAudio:Pi,hasVideo:ea,nb:1,dropped:0,encrypted:ta};w.audio=Pi&&!ea?vi:void 0,w.video=ea?vi:void 0;const aa=ut==null?void 0:ut.sampleCount;if(aa){const Hi=ut.keyFrameIndex,ca=Hi!==-1;vi.nb=aa,vi.dropped=Hi===0||this.isVideoContiguous?0:ca?Hi:aa,vi.independent=ca,vi.firstKeyFrame=Hi,ca&&ut.keyFrameStart&&(vi.firstKeyFramePTS=(ut.keyFrameStart-m.baseTime)/m.timescale),this.isVideoContiguous||(w.independent=ca),this.isVideoContiguous||(this.isVideoContiguous=ca),vi.dropped&&this.warn(`fmp4 does not start with IDR: firstIDR ${Hi}/${aa} dropped: ${vi.dropped} start: ${vi.firstKeyFramePTS||"NA"}`)}return w.initSegment=X,w.id3=Mi(n,i,m,m),r.samples.length&&(w.text=Ki(r,i,m)),w}}function Xa(s,e,t=!1){return(s==null?void 0:s.start)!==void 0?(s.start+(t?s.duration:0))/s.timescale:e}function ja(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 Rs(s,e,t){const n=s.codec;return n&&n.length>4?n:e===he.AUDIO?n==="ec-3"||n==="ac-3"||n==="alac"?n:n==="fLaC"||n==="Opus"?_e(n,!1):(t.warn(`Unhandled audio codec "${n}" in mp4 MAP`),n||"mp4a"):(t.warn(`Unhandled video codec "${n}" in mp4 MAP`),n||"avc1")}let Wa;try{Wa=self.performance.now.bind(self.performance)}catch(s){Wa=Date.now}const Fs=[{demux:pt,remux:Ha},{demux:bn,remux:Ba},{demux:b,remux:Ba},{demux:Ce,remux:Ba}];Fs.splice(2,0,{demux:H,remux:Ba});class os{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=Wa();let a=new Uint8Array(e);const{currentTransmuxState:u,transmuxConfig:p}=this;r&&(this.currentTransmuxState=r);const{contiguous:m,discontinuity:y,trackSwitch:w,accurateTimeOffset:k,timeOffset:X,initSegmentChange:$}=r||u,{audioCodec:Ie,videoCodec:Pe,defaultInitPts:ut,duration:yt,initSegmentData:wt}=p,Xt=Ka(a,t);if(Xt&&Ur(Xt.method)){const Rn=this.getDecrypter(),Ln=un(Xt.method);if(Rn.isSync()){let gn=Rn.softwareDecrypt(a,Xt.key.buffer,Xt.iv.buffer,Ln);if(n.part>-1){const Pi=Rn.flush();gn=Pi&&Pi.buffer}if(!gn)return i.executeEnd=Wa(),rs(n);a=new Uint8Array(gn)}else return this.asyncResult=!0,this.decryptionPromise=Rn.webCryptoDecrypt(a,Xt.key.buffer,Xt.iv.buffer,Ln).then(gn=>{const yr=this.push(gn,null,n);return this.decryptionPromise=null,yr}),this.decryptionPromise}const dn=this.needsProbing(y,w);if(dn){const Rn=this.configureTransmuxer(a);if(Rn)return this.logger.warn(`[transmuxer] ${Rn.message}`),this.observer.emit(v.ERROR,v.ERROR,{type:le.MEDIA_ERROR,details:j.FRAG_PARSING_ERROR,fatal:!1,error:Rn,reason:Rn.message}),i.executeEnd=Wa(),rs(n)}(y||w||$||dn)&&this.resetInitSegment(wt,Ie,Pe,yt,t),(y||$||dn)&&this.resetInitialTimestamp(ut),m||this.resetContiguity();const Yn=this.transmux(a,Xt,X,k,n);this.asyncResult=is(Yn);const mn=this.currentTransmuxState;return mn.contiguous=!0,mn.discontinuity=!1,mn.trackSwitch=!1,i.executeEnd=Wa(),Yn}flush(e){const t=e.transmuxing;t.executeStart=Wa();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 w=n.flush();w&&a.push(this.push(w.buffer,null,e))}const{demuxer:p,remuxer:m}=this;if(!p||!m){t.executeEnd=Wa();const w=[rs(e)];return this.asyncResult?Promise.resolve(w):w}const y=p.flush(u);return is(y)?(this.asyncResult=!0,y.then(w=>(this.flushRemux(a,w,e),a))):(this.flushRemux(a,y,e),this.asyncResult?Promise.resolve(a):a)}flushRemux(e,t,n){const{audioTrack:r,videoTrack:i,id3Track:a,textTrack:u}=t,{accurateTimeOffset:p,timeOffset:m}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${n.sn}${n.part>-1?" part: "+n.part:""} of ${this.id===ee.MAIN?"level":"track"} ${n.level}`);const y=this.remuxer.remux(r,i,a,u,m,p,!0,this.id);e.push({remuxResult:y,chunkMeta:n}),n.transmuxing.executeEnd=Wa()}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:p}=this.demuxer.demux(e,t,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(i,a,u,p,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 w=0,k=Fs.length;w<k;w++){var a;if((a=Fs[w].demux)!=null&&a.probe(e,this.logger)){i=Fs[w];break}}if(!i)return new Error("Failed to find demuxer by probing fragment data");const u=this.demuxer,p=this.remuxer,m=i.remux,y=i.demux;(!p||!(p instanceof m))&&(this.remuxer=new m(n,t,r,this.logger)),(!u||!(u instanceof y))&&(this.demuxer=new y(n,t,r,this.logger),this.probe=y.probe)}needsProbing(e,t){return!this.demuxer||!this.remuxer||e||t}getDecrypter(){let e=this.decrypter;return e||(e=this.decrypter=new zi(this.config)),e}}function Ka(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 rs=s=>({remuxResult:{},chunkMeta:s});function is(s){return"then"in s&&s.then instanceof Function}class Ss{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 Ts{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 Ga=0;class gs{constructor(e,t,n,r){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=Ga++,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=p=>{const m=p.data,y=this.hls;if(!(!y||!(m!=null&&m.event)||m.instanceNo!==this.instanceNo))switch(m.event){case"init":{var w;const k=(w=this.workerContext)==null?void 0:w.objectURL;k&&self.URL.revokeObjectURL(k);break}case"transmuxComplete":{this.handleTransmuxComplete(m.data);break}case"flush":{this.onFlush(m.data);break}case"workerLog":{y.logger[m.data.logType]&&y.logger[m.data.logType](m.data.message);break}default:{m.data=m.data||{},m.data.frag=this.frag,m.data.part=this.part,m.data.id=this.id,y.trigger(m.event,m.data);break}}},this.onWorkerError=p=>{if(!this.hls)return;const m=new Error(`${p.message} (${p.filename}:${p.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(v.ERROR,{type:le.OTHER_ERROR,details:j.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:m})};const i=e.config;this.hls=e,this.id=t,this.useWorker=!!i.enableWorker,this.onTransmuxComplete=n,this.onFlush=r;const a=(p,m)=>{m=m||{},m.frag=this.frag||void 0,p===v.ERROR&&(m=m,m.parent=this.id,m.part=this.part,this.error=m.error),this.hls.trigger(p,m)};this.observer=new Ot,this.observer.on(v.FRAG_DECRYPTED,a),this.observer.on(v.ERROR,a);const u=gr(i.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const p=this.hls.logger;if(i.workerPath||yn()){try{i.workerPath?(p.log(`loading Web Worker ${i.workerPath} for "${t}"`),this.workerContext=tn(i.workerPath)):(p.log(`injecting Web Worker for "${t}"`),this.workerContext=Cn());const{worker:y}=this.workerContext;y.addEventListener("message",this.onWorkerMessage),y.addEventListener("error",this.onWorkerError),y.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:u,id:t,config:kt(i)})}catch(y){p.warn(`Error setting up "${t}" Web Worker, fallback to inline`,y),this.terminateWorker(),this.error=null,this.transmuxer=new os(this.observer,u,i,"",t,e.logger)}return}}this.transmuxer=new os(this.observer,u,i,"",t,e.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const e=this.instanceNo;this.instanceNo=Ga++;const t=this.hls.config,n=gr(t.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:e,typeSupported:n,id:this.id,config:kt(t)})}}terminateWorker(){if(this.workerContext){const{worker:e}=this.workerContext;this.workerContext=null,e.removeEventListener("message",this.onWorkerMessage),e.removeEventListener("error",this.onWorkerError),zn(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,p,m,y){var w,k;m.transmuxing.start=self.performance.now();const{instanceNo:X,transmuxer:$}=this,Ie=a?a.start:i.start,Pe=i.decryptdata,ut=this.frag,yt=!(ut&&i.cc===ut.cc),wt=!(ut&&m.level===ut.level),Xt=ut?m.sn-ut.sn:-1,dn=this.part?m.part-this.part.index:-1,Yn=Xt===0&&m.id>1&&m.id===(ut==null?void 0:ut.stats.chunkCount),mn=!wt&&(Xt===1||Xt===0&&(dn===1||Yn&&dn<=0)),Rn=self.performance.now();(wt||Xt||i.stats.parsing.start===0)&&(i.stats.parsing.start=Rn),a&&(dn||!mn)&&(a.stats.parsing.start=Rn);const Ln=!(ut&&((w=i.initSegment)==null?void 0:w.url)===((k=ut.initSegment)==null?void 0:k.url)),gn=new Ts(yt,mn,p,wt,Ie,Ln);if(!mn||yt||Ln){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${i.type} sn: ${m.sn}${m.part>-1?" part: "+m.part:""} ${this.id===ee.MAIN?"level":"track"}: ${m.level} id: ${m.id}
|
|
discontinuity: ${yt}
|
|
trackSwitch: ${wt}
|
|
contiguous: ${mn}
|
|
accurateTimeOffset: ${p}
|
|
timeOffset: ${Ie}
|
|
initSegmentChange: ${Ln}`);const yr=new Ss(n,r,t,u,y);this.configureTransmuxer(yr)}if(this.frag=i,this.part=a,this.workerContext)this.workerContext.worker.postMessage({instanceNo:X,cmd:"demux",data:e,decryptdata:Pe,chunkMeta:m,state:gn},e instanceof ArrayBuffer?[e]:[]);else if($){const yr=$.push(e,Pe,m,gn);is(yr)?yr.then(Pi=>{this.handleTransmuxComplete(Pi)}).catch(Pi=>{this.transmuxerError(Pi,m,"transmuxer-interface push error")}):this.handleTransmuxComplete(yr)}}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);is(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(v.ERROR,{type:le.MEDIA_ERROR,details:j.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 as=100;class zs extends Bo{constructor(e,t,n){super(e,t,n,"audio-stream-controller",ee.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(v.LEVEL_LOADED,this.onLevelLoaded,this),e.on(v.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.on(v.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(v.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(v.BUFFER_RESET,this.onBufferReset,this),e.on(v.BUFFER_CREATED,this.onBufferCreated,this),e.on(v.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(v.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(v.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(v.FRAG_LOADING,this.onFragLoading,this),e.on(v.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:e}=this;e&&(super.unregisterListeners(),e.off(v.LEVEL_LOADED,this.onLevelLoaded,this),e.off(v.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.off(v.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(v.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(v.BUFFER_RESET,this.onBufferReset,this),e.off(v.BUFFER_CREATED,this.onBufferCreated,this),e.off(v.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(v.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(v.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(v.FRAG_LOADING,this.onFragLoading,this),e.off(v.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i,trackId:a}){if(n===ee.MAIN){const u=t.cc,p=this.fragCurrent;if(this.initPTS[u]={baseTime:r,timescale:i,trackId:a},this.log(`InitPTS for cc: ${u} found from main: ${r/i} (${r}/${i}) trackId: ${a}`),this.mainAnchor=t,this.state===qn.WAITING_INIT_PTS){const m=this.waitingData;(!m&&!this.loadingParts||m&&m.frag.cc!==u)&&this.syncWithAnchor(t,m==null?void 0:m.frag)}else!this.hls.hasEnoughToStart&&p&&p.cc!==u?(p.abortRequests(),this.syncWithAnchor(t,p)):this.state===qn.IDLE&&this.tick()}}getLoadPosition(){return!this.startFragRequested&&this.nextLoadPosition>=0?this.nextLoadPosition:super.getLoadPosition()}syncWithAnchor(e,t){var n;const r=((n=this.mainFragLoading)==null?void 0:n.frag)||null;if(t&&(r==null?void 0:r.cc)===t.cc)return;const i=(r||e).cc,a=this.getLevelDetails(),u=this.getLoadPosition(),p=Mr(a,i,u);p&&(this.log(`Syncing with main frag at ${p.start} cc ${p.cc}`),this.startFragRequested=!1,this.nextLoadPosition=p.start,this.resetLoadingState(),this.state===qn.IDLE&&this.doTickIdle())}startLoad(e,t){if(!this.levels){this.startPosition=e,this.state=qn.STOPPED;return}const n=this.lastCurrentTime;this.stopLoad(),this.setInterval(as),n>0&&e===-1?(this.log(`Override startPosition with lastCurrentTime @${n.toFixed(3)}`),e=n,this.state=qn.IDLE):this.state=qn.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}doTick(){switch(this.state){case qn.IDLE:this.doTickIdle();break;case qn.WAITING_TRACK:{const{levels:e,trackId:t}=this,n=e==null?void 0:e[t],r=n==null?void 0:n.details;if(r&&!this.waitForLive(n)){if(this.waitForCdnTuneIn(r))break;this.state=qn.WAITING_INIT_PTS}break}case qn.FRAG_LOADING_WAITING_RETRY:{this.checkRetryDate();break}case qn.WAITING_INIT_PTS:{const e=this.waitingData;if(e){const{frag:t,part:n,cache:r,complete:i}=e,a=this.mainAnchor;if(this.initPTS[t.cc]!==void 0){this.waitingData=null,this.state=qn.FRAG_LOADING;const u=r.flush().buffer,p={frag:t,part:n,payload:u,networkDetails:null};this._handleFragmentLoadProgress(p),i&&super._handleFragmentLoadComplete(p)}else a&&a.cc!==e.frag.cc&&this.syncWithAnchor(a,e.frag)}else this.state=qn.IDLE}}this.onTickEnd()}resetLoadingState(){const e=this.waitingData;e&&(this.fragmentTracker.removeFragment(e.frag),this.waitingData=null),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],p=u.details;if(!p||this.waitForLive(u)||this.waitForCdnTuneIn(p)){this.state=qn.WAITING_TRACK,this.startFragRequested=!1;return}const m=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&m&&(this.bufferFlushed=!1,this.afterBufferFlushed(m,he.AUDIO,ee.AUDIO));const y=this.getFwdBufferInfo(m,ee.AUDIO);if(y===null)return;if(!this.switchingTrack&&this._streamEnded(y,p)){t.trigger(v.BUFFER_EOS,{type:"audio"}),this.state=qn.ENDED;return}const w=y.len,k=t.maxBufferLength,X=p.fragments,$=X[0].start,Ie=this.getLoadPosition(),Pe=this.flushing?Ie:y.end;if(this.switchingTrack&&r){const wt=Ie;p.PTSKnown&&wt<$&&(y.end>$||y.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),r.currentTime=$+.05)}if(w>=k&&!this.switchingTrack&&Pe<X[X.length-1].start)return;let ut=this.getNextFragment(Pe,p);if(ut&&this.isLoopLoading(ut,Pe)&&(ut=this.getNextFragmentLoopLoading(ut,p,y,ee.MAIN,k)),!ut){this.bufferFlushed=!0;return}let yt=((e=this.mainFragLoading)==null?void 0:e.frag)||null;if(!this.audioOnly&&this.startFragRequested&&yt&&Qe(ut)&&!ut.endList&&(!p.live||!this.loadingParts&&Pe<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(yt)===$t.OK&&(this.mainFragLoading=yt=null),yt&&Qe(yt))){if(ut.start>yt.end){const Xt=this.fragmentTracker.getFragAtPos(Pe,ee.MAIN);Xt&&Xt.end>yt.end&&(yt=Xt,this.mainFragLoading={frag:Xt,targetBufferTime:null})}if(ut.start>yt.end)return}this.loadFragment(ut,u,Pe)}onMediaDetaching(e,t){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(e,t)}onAudioTracksUpdated(e,{audioTracks:t}){this.resetTransmuxer(),this.levels=t.map(n=>new Tn(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!==qn.STOPPED&&(this.setInterval(as),this.state=qn.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(v.AUDIO_TRACK_LOADED,n))}onAudioTrackLoaded(e,t){var n;const{levels:r}=this,{details:i,id:a,groupId:u,track:p}=t;if(!r){this.warn(`Audio tracks reset while loading track ${a} "${p.name}" of "${u}"`);return}const m=this.mainDetails;if(!m||i.endCC>m.endCC||m.expired){this.cachedTrackLoadedData=t,this.state!==qn.STOPPED&&(this.state=qn.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${a} "${p.name}" of "${u}" loaded [${i.startSN},${i.endSN}]${i.lastPartSn?`[part-${i.lastPartSn}-${i.lastPartIndex}]`:""},duration:${i.totalduration}`);const y=r[a];let w=0;if(i.live||(n=y.details)!=null&&n.live){if(this.checkLiveUpdate(i),i.deltaUpdateFailed)return;if(y.details){var k;w=this.alignPlaylists(i,y.details,(k=this.levelLastLoaded)==null?void 0:k.details)}i.alignedSliding||(vo(i,m),i.alignedSliding||No(i,m),w=i.fragmentStart)}y.details=i,this.levelLastLoaded=y,this.startFragRequested||this.setStartPosition(m,w),this.hls.trigger(v.AUDIO_TRACK_UPDATED,{details:i,id:a,groupId:t.groupId}),this.state===qn.WAITING_TRACK&&!this.waitForCdnTuneIn(i)&&(this.state=qn.IDLE),this.tick()}_handleFragmentLoadProgress(e){var t;const n=e.frag,{part:r,payload:i}=e,{config:a,trackId:u,levels:p}=this;if(!p){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 m=p[u];if(!m){this.warn("Audio track is undefined on fragment load progress");return}const y=m.details;if(!y){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(n.start);return}const w=a.defaultAudioCodec||m.audioCodec||"mp4a.40.2";let k=this.transmuxer;k||(k=this.transmuxer=new gs(this.hls,ee.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const X=this.initPTS[n.cc],$=(t=n.initSegment)==null?void 0:t.data;if(X!==void 0){const Pe=r?r.index:-1,ut=Pe!==-1,yt=new kr(n.level,n.sn,n.stats.chunkCount,i.byteLength,Pe,ut);k.push(i,$,w,"",n,r,y.totalduration,!1,yt,X)}else{this.log(`Unknown video PTS for cc ${n.cc}, waiting for video PTS before demuxing audio frag ${n.sn} of [${y.startSN} ,${y.endSN}],track ${u}`);const{cache:Ie}=this.waitingData=this.waitingData||{frag:n,part:r,cache:new ps,complete:!1};Ie.push(new Uint8Array(i)),this.state!==qn.STOPPED&&(this.state=qn.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===ee.MAIN&&Qe(t.frag)&&(this.mainFragLoading=t,this.state===qn.IDLE&&this.tick())}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n.type!==ee.AUDIO){!this.audioOnly&&n.type===ee.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(Qe(n)){this.fragPrevious=n;const i=this.switchingTrack;i&&(this.bufferedTrack=i,this.switchingTrack=null,this.hls.trigger(v.AUDIO_TRACK_SWITCHED,L({},i)))}this.fragBufferedComplete(n,r),this.media&&this.tick()}onError(e,t){var n;if(t.fatal){this.state=qn.ERROR;return}switch(t.details){case j.FRAG_GAP:case j.FRAG_PARSING_ERROR:case j.FRAG_DECRYPT_ERROR:case j.FRAG_LOAD_ERROR:case j.FRAG_LOAD_TIMEOUT:case j.KEY_LOAD_ERROR:case j.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(ee.AUDIO,t);break;case j.AUDIO_TRACK_LOAD_ERROR:case j.AUDIO_TRACK_LOAD_TIMEOUT:case j.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===qn.WAITING_TRACK&&((n=t.context)==null?void 0:n.type)===re.AUDIO_TRACK&&(this.state=qn.IDLE);break;case j.BUFFER_ADD_CODEC_ERROR:case j.BUFFER_APPEND_ERROR:if(t.parent!=="audio")return;this.reduceLengthAndFlushBuffer(t)||this.resetLoadingState();break;case j.BUFFER_FULL_ERROR:if(t.parent!=="audio")return;this.reduceLengthAndFlushBuffer(t)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case j.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}onBufferFlushing(e,{type:t}){t!==he.VIDEO&&(this.flushing=!0)}onBufferFlushed(e,{type:t}){if(t!==he.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===qn.ENDED&&(this.state=qn.IDLE);const n=this.mediaBuffer||this.media;n&&(this.afterBufferFlushed(n,t,ee.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:p,part:m,level:y}=u,{details:w}=y,{audio:k,text:X,id3:$,initSegment:Ie}=i;if(this.fragContextChanged(p)||!w){this.fragmentTracker.removeFragment(p);return}if(this.state=qn.PARSING,this.switchingTrack&&k&&this.completeAudioSwitch(this.switchingTrack),Ie!=null&&Ie.tracks){const Pe=p.initSegment||p;if(this.unhandledEncryptionError(Ie,p))return;this._bufferInitSegment(y,Ie.tracks,Pe,a),r.trigger(v.FRAG_PARSING_INIT_SEGMENT,{frag:Pe,id:n,tracks:Ie.tracks})}if(k){const{startPTS:Pe,endPTS:ut,startDTS:yt,endDTS:wt}=k;m&&(m.elementaryStreams[he.AUDIO]={startPTS:Pe,endPTS:ut,startDTS:yt,endDTS:wt}),p.setElementaryStreamInfo(he.AUDIO,Pe,ut,yt,wt),this.bufferFragmentData(k,p,m,a)}if($!=null&&(t=$.samples)!=null&&t.length){const Pe=x({id:n,frag:p,details:w},$);r.trigger(v.FRAG_PARSING_METADATA,Pe)}if(X){const Pe=x({id:n,frag:p,details:w},X);r.trigger(v.FRAG_PARSING_USERDATA,Pe)}}_bufferInitSegment(e,t,n,r){if(this.state!==qn.PARSING||(t.video&&delete t.video,t.audiovideo&&delete t.audiovideo,!t.audio))return;const i=t.audio;i.id=ee.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(v.BUFFER_CODECS,t);const u=i.initSegment;if(u!=null&&u.byteLength){const p={type:"audio",frag:n,part:null,chunkMeta:r,parent:n.type,data:u};this.hls.trigger(v.BUFFER_APPENDING,p)}this.tickImmediate()}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);if(this.switchingTrack||r===$t.NOT_LOADED||r===$t.PARTIAL){var i;if(!Qe(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=qn.WAITING_INIT_PTS;const a=this.mainDetails;a&&a.fragmentStart!==t.details.fragmentStart&&No(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;_r({name:t,lang:n,assocLang:r,characteristics:i,audioCodec:a,channels:u},e,Ir)||(rt(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(v.AUDIO_TRACK_SWITCHED,L({},e))}}class ys extends Z{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 p;try{p=new self.URL(u.URI,t.url).href}catch(m){this.warn(`Could not construct new URL for Rendition Report: ${m}`),p=u.URI||""}if(p===e){i=a;break}else p===e.substring(0,p.length)&&(i=a)}if(i!==-1){const a=r[i],u=parseInt(a["LAST-MSN"])||t.lastPartSn;let p=parseInt(a["LAST-PART"])||t.lastPartIndex;if(this.hls.config.lowLatencyMode){const y=Math.min(t.age-t.partTarget,t.targetduration);p>=0&&y>t.partTarget&&(p+=1)}const m=n&&br(n);return new cr(u,p>=0?p:void 0,m)}}}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 p=this.hls.config.timelineOffset;if(p!==r.appliedTimelineOffset){const y=Math.max(p||0,0);r.appliedTimelineOffset=y,r.fragments.forEach(w=>{w.setStart(w.playlistOffset+y)})}if(r.live||n!=null&&n.live){const y="levelInfo"in t?t.levelInfo:t.track;if(r.reloaded(n),n&&r.fragments.length>0){Zs(n,r,this);const yt=r.playlistParsingError;if(yt){this.warn(yt);const wt=this.hls;if(!wt.config.ignorePlaylistParsingErrors){var m;const{networkDetails:Xt}=t;wt.trigger(v.ERROR,{type:le.NETWORK_ERROR,details:j.LEVEL_PARSING_ERROR,fatal:!1,url:r.url,error:yt,reason:yt.message,level:t.level||void 0,parent:(m=r.fragments[0])==null?void 0:m.type,networkDetails:Xt,stats:i});return}r.playlistParsingError=null}}r.requestScheduled===-1&&(r.requestScheduled=i.loading.start);const w=this.hls.mainForwardBufferInfo,k=w?w.end-w.len:0,X=(r.edge-k)*1e3,$=Na(r,X);if(r.requestScheduled+$<a?r.requestScheduled=a:r.requestScheduled+=$,this.log(`live playlist ${e} ${r.advanced?"REFRESHED "+r.lastPartSn+"-"+r.lastPartIndex:r.updated?"UPDATED":"MISSED"}`),!this.canLoad||!r.live)return;let Ie,Pe,ut;if(r.canBlockReload&&r.endSN&&r.advanced){const yt=this.hls.config.lowLatencyMode,wt=r.lastPartSn,Xt=r.endSN,dn=r.lastPartIndex,Yn=dn!==-1,mn=wt===Xt;Yn?mn?(Pe=Xt+1,ut=yt?0:dn):(Pe=wt,ut=yt?dn+1:r.maxPartIndex):Pe=Xt+1;const Rn=r.age,Ln=Rn+r.ageHeader;let gn=Math.min(Ln-r.partTarget,r.targetduration*1.5);if(gn>0){if(Ln>r.targetduration*3)this.log(`Playlist last advanced ${Rn.toFixed(2)}s ago. Omitting segment and part directives.`),Pe=void 0,ut=void 0;else if(n!=null&&n.tuneInGoal&&Ln-r.partTarget>n.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${n.tuneInGoal} to: ${gn} with playlist age: ${r.age}`),gn=0;else{const yr=Math.floor(gn/r.targetduration);if(Pe+=yr,ut!==void 0){const Pi=Math.round(gn%r.targetduration/r.partTarget);ut+=Pi}this.log(`CDN Tune-in age: ${r.ageHeader}s last advanced ${Rn.toFixed(2)}s goal: ${gn} skip sn ${yr} to part ${ut}`)}r.tuneInGoal=gn}if(Ie=this.getDeliveryDirectives(r,t.deliveryDirectives,Pe,ut),yt||!mn){r.requestScheduled=a,this.loadingPlaylist(y,Ie);return}}else(r.canBlockReload||r.canSkipUntil)&&(Ie=this.getDeliveryDirectives(r,t.deliveryDirectives,Pe,ut));Ie&&Pe!==void 0&&r.canBlockReload&&(r.requestScheduled=i.loading.first+Math.max($-u*2,$/2)),this.scheduleLoading(y,Ie,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=br(e);return t!=null&&t.skip&&e.deltaUpdateFailed&&(n=t.msn,r=t.part,i=$n.No),new cr(n,r,i)}checkRetry(e){const t=e.details,n=$r(e),r=e.errorAction,{action:i,retryCount:a=0,retryConfig:u}=r||{},p=!!r&&!!u&&(i===sr.RetryRequest||!r.resolved&&i===sr.SendAlternateToPenaltyBox);if(p){var m;if(a>=u.maxNumRetry)return!1;if(n&&(m=e.context)!=null&&m.deliveryDirectives)this.warn(`Retrying playlist loading ${a+1}/${u.maxNumRetry} after "${t}" without delivery-directives`),this.loadPlaylist();else{const y=Li(u,a);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),y),this.warn(`Retrying playlist loading ${a+1}/${u.maxNumRetry} after "${t}" in ${y}ms`)}e.levelRetry=!0,r.resolved=!0}return p}}function Gs(s,e){if(s.length!==e.length)return!1;for(let t=0;t<s.length;t++)if(!lo(s[t].attrs,e[t].attrs))return!1;return!0}function lo(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 Lo(s,e){return e.label.toLowerCase()===s.name.toLowerCase()&&(!e.language||e.language.toLowerCase()===(s.lang||"").toLowerCase())}class vs extends ys{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(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.MANIFEST_PARSED,this.onManifestParsed,this),e.on(v.LEVEL_LOADING,this.onLevelLoading,this),e.on(v.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(v.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(v.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.MANIFEST_PARSED,this.onManifestParsed,this),e.off(v.LEVEL_LOADING,this.onLevelLoading,this),e.off(v.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(v.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(v.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(k=>!n||n.indexOf(k.groupId)!==-1);if(u.length)this.selectDefaultTrack&&!u.some(k=>k.default)&&(this.selectDefaultTrack=!1),u.forEach((k,X)=>{k.id=X});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=u;const p=this.hls.config.audioPreference;if(!i&&p){const k=nr(p,u,Ir);if(k>-1)i=u[k];else{const X=nr(p,this.tracks);i=this.tracks[X]}}let m=this.findTrackId(i);m===-1&&i&&(m=this.findTrackId(null));const y={audioTracks:u};this.log(`Updating audio tracks, ${u.length} track(s) found in group(s): ${n==null?void 0:n.join(",")}`),this.hls.trigger(v.AUDIO_TRACKS_UPDATED,y);const w=this.trackId;if(m!==-1&&w===-1)this.setAudioTrack(m);else if(u.length&&w===-1){var a;const k=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(k.message),this.hls.trigger(v.ERROR,{type:le.MEDIA_ERROR,details:j.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:k})}}}onError(e,t){t.fatal||!t.context||t.context.type===re.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&&_r(e,r,Ir))return r;const i=nr(e,this.tracksInGroup,Ir);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=Lr(e,t.levels,n,a,Ir);if(u===-1)return null;t.nextLoadLevel=u}if(e.channels||e.audioCodec){const a=nr(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(v.AUDIO_TRACK_SWITCHING,L({},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||_r(e,r,Ir)))return n}if(e){const{name:n,lang:r,assocLang:i,characteristics:a,audioCodec:u,channels:p}=e;for(let m=0;m<t.length;m++){const y=t[m];if(_r({name:n,lang:r,assocLang:i,characteristics:a,audioCodec:u,channels:p},y,Ir))return m}for(let m=0;m<t.length;m++){const y=t[m];if(lo(e.attrs,y.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<t.length;m++){const y=t[m];if(lo(e.attrs,y.attrs,["LANGUAGE"]))return m}}return-1}loadPlaylist(e){super.loadPlaylist();const t=this.currentTrack;this.shouldLoadPlaylist(t)&&rt(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(v.AUDIO_TRACK_LOADING,{url:i,id:n,groupId:r,deliveryDirectives:t||null,track:e})}}class jo{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 Vs=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,ro="HlsJsTrackRemovedError";class io extends Error{constructor(e){super(e),this.name=ro}}class pa extends Z{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(v.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=je(Be(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(v.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.MANIFEST_PARSED,this.onManifestParsed,this),e.on(v.BUFFER_RESET,this.onBufferReset,this),e.on(v.BUFFER_APPENDING,this.onBufferAppending,this),e.on(v.BUFFER_CODECS,this.onBufferCodecs,this),e.on(v.BUFFER_EOS,this.onBufferEos,this),e.on(v.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(v.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(v.FRAG_PARSED,this.onFragParsed,this),e.on(v.FRAG_CHANGED,this.onFragChanged,this),e.on(v.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(v.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.MANIFEST_PARSED,this.onManifestParsed,this),e.off(v.BUFFER_RESET,this.onBufferReset,this),e.off(v.BUFFER_APPENDING,this.onBufferAppending,this),e.off(v.BUFFER_CODECS,this.onBufferCodecs,this),e.off(v.BUFFER_EOS,this.onBufferEos,this),e.off(v.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(v.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(v.FRAG_PARSED,this.onFragParsed,this),e.off(v.FRAG_CHANGED,this.onFragChanged,this),e.off(v.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?x(n,r.tracks):this.sourceBuffers.forEach(i=>{const[a]=i;a&&(n[a]=x({},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;this.transferData=this.overrides=void 0;const r=Be(this.appendSource);if(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 p=self.ManagedMediaSource;n.disableRemotePlayback=n.disableRemotePlayback||p&&a instanceof p,qi(n),_s(n,u),n.load()}catch(p){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=()=>{Promise.resolve().then(()=>{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: ${kt(n,(p,m)=>p==="initSegment"?void 0:m)};
|
|
transfer tracks: ${kt(r,(p,m)=>p==="initSegment"?void 0:m)}}`),!Le(r,n)){t.mediaSource=null,t.tracks=void 0;const p=e.currentTime,m=this.details,y=Math.max(p,(m==null?void 0:m.fragments[0].start)||0);if(y-p>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${p} -> ${y}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(r)}"->"${Object.keys(n)}") start time: ${y} currentTime: ${p}`),this.onMediaDetaching(v.MEDIA_DETACHING,{}),this.onMediaAttaching(v.MEDIA_ATTACHING,t),e.currentTime=y;return}this.transferData=void 0,i.forEach(p=>{const m=p,y=r[m];if(y){const w=y.buffer;if(w){const k=this.fragmentTracker,X=y.id;if(k.hasFragments(X)||k.hasParts(X)){const Pe=or.getBuffered(w);k.detectEvictedFragments(m,Pe,X,null,!0)}const $=Hs(m),Ie=[m,w];this.sourceBuffers[$]=Ie,w.updating&&this.operationQueue&&this.operationQueue.prependBlocker(m),this.trackSourceBuffer(m,y)}}}),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 p=i.sourceBuffers;for(let m=p.length;m--;)u&&p[m].abort(),i.removeSourceBuffer(p[m]);u&&i.endOfStream()}catch(p){this.warn(`onMediaDetaching: ${p.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&&qi(r),r.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(v.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[Hs(e)]=[null,null];const t=this.tracks[e];t&&(t.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new jo(this.tracks)}onBufferCodecs(e,t){var n;const r=this.tracks,i=Object.keys(t);this.log(`BUFFER_CODECS: "${i}" (current SB count ${this.sourceBufferCount})`);const a="audiovideo"in t&&(r.audio||r.video)||r.audiovideo&&("audio"in t||"video"in t),u=!a&&this.sourceBufferCount&&this.media&&i.some(p=>!r[p]);if(a||u){this.warn(`Unsupported transition between "${Object.keys(r)}" and "${i}" SourceBuffers`);return}i.forEach(p=>{var m,y;const w=t[p],{id:k,codec:X,levelCodec:$,container:Ie,metadata:Pe,supplemental:ut}=w;let yt=r[p];const wt=(m=this.transferData)==null||(m=m.tracks)==null?void 0:m[p],Xt=wt!=null&&wt.buffer?wt:yt,dn=(Xt==null?void 0:Xt.pendingCodec)||(Xt==null?void 0:Xt.codec),Yn=Xt==null?void 0:Xt.levelCodec;yt||(yt=r[p]={buffer:void 0,listeners:[],codec:X,supplemental:ut,container:Ie,levelCodec:$,metadata:Pe,id:k});const mn=An(dn,Yn),Rn=mn==null?void 0:mn.replace(Vs,"$1");let Ln=An(X,$);const gn=(y=Ln)==null?void 0:y.replace(Vs,"$1");Ln&&mn&&Rn!==gn&&(p.slice(0,5)==="audio"&&(Ln=_e(Ln,this.appendSource)),this.log(`switching codec ${dn} to ${Ln}`),Ln!==(yt.pendingCodec||yt.codec)&&(yt.pendingCodec=Ln),yt.container=Ie,this.appendChangeType(p,Ie,Ln))}),(this.tracksReady||this.sourceBufferCount)&&(t.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&(this.bufferCodecEventsTotal>1&&!this.tracks.video&&!t.video&&((n=t.audio)==null?void 0:n.id)==="main"&&(this.log("Main audio-only"),this.bufferCodecEventsTotal=1),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,ee.MAIN))==null?void 0:t.gap)===!0)return;const a={label:"block-audio",execute:()=>{var u;const p=this.tracks.video;(this.lastVideoAppendEnd>r||p!=null&&p.buffer&&or.isBuffered(p.buffer,r)||((u=this.fragmentTracker.getAppendedFrag(r,ee.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:p,chunkMeta:m,offset:y}=t,w=m.buffering[i],{sn:k,cc:X}=u,$=self.performance.now();w.start=$;const Ie=u.stats.buffering,Pe=p?p.stats.buffering:null;Ie.start===0&&(Ie.start=$),Pe&&Pe.start===0&&(Pe.start=$);const ut=n.audio;let yt=!1;i==="audio"&&(ut==null?void 0:ut.container)==="audio/mpeg"&&(yt=!this.lastMpegAudioChunk||m.id===1||this.lastMpegAudioChunk.sn!==m.sn,this.lastMpegAudioChunk=m);const wt=n.video,Xt=wt==null?void 0:wt.buffer;if(Xt&&k!=="initSegment"){const mn=p||u,Rn=this.blockedAudioAppend;if(i==="audio"&&a!=="main"&&!this.blockedAudioAppend&&!(wt.ending||wt.ended)){const gn=mn.start+mn.duration*.05,yr=Xt.buffered,Pi=this.currentOp("video");!yr.length&&!Pi?this.blockAudio(mn):!Pi&&!or.isBuffered(Xt,gn)&&this.lastVideoAppendEnd<gn&&this.blockAudio(mn)}else if(i==="video"){const Ln=mn.end;if(Rn){const gn=Rn.frag.start;(Ln>gn||Ln<this.lastVideoAppendEnd||or.isBuffered(Xt,gn))&&this.unblockAudio()}this.lastVideoAppendEnd=Ln}}const dn=(p||u).start,Yn={label:`append-${i}`,execute:()=>{var mn;w.executeStart=self.performance.now();const Rn=(mn=this.tracks[i])==null?void 0:mn.buffer;Rn&&(yt?this.updateTimestampOffset(Rn,dn,.1,i,k,X):y!==void 0&&c(y)&&this.updateTimestampOffset(Rn,y,1e-6,i,k,X)),this.appendExecutor(r,i)},onStart:()=>{},onComplete:()=>{const mn=self.performance.now();w.executeEnd=w.end=mn,Ie.first===0&&(Ie.first=mn),Pe&&Pe.first===0&&(Pe.first=mn);const Rn={};this.sourceBuffers.forEach(([Ln,gn])=>{Ln&&(Rn[Ln]=or.getBuffered(gn))}),this.appendErrors[i]=0,i==="audio"||i==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(v.BUFFER_APPENDED,{type:i,frag:u,part:p,chunkMeta:m,parent:u.type,timeRanges:Rn})},onError:mn=>{var Rn;const Ln={type:le.MEDIA_ERROR,parent:u.type,details:j.BUFFER_APPEND_ERROR,sourceBufferName:i,frag:u,part:p,chunkMeta:m,error:mn,err:mn,fatal:!1},gn=(Rn=this.media)==null?void 0:Rn.error;if(mn.code===DOMException.QUOTA_EXCEEDED_ERR||mn.name=="QuotaExceededError"||"quota"in mn)Ln.details=j.BUFFER_FULL_ERROR;else if(mn.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!gn)Ln.errorAction=hn(!0);else if(mn.name===ro&&this.sourceBufferCount===0)Ln.errorAction=hn(!0);else{const yr=++this.appendErrors[i];this.warn(`Failed ${yr}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${i}" sourceBuffer (${gn||"no media error"})`),(yr>=this.hls.config.appendErrorMaxRetry||gn)&&(Ln.fatal=!0)}this.hls.trigger(v.ERROR,Ln)}};this.log(`queuing "${i}" append sn: ${k}${p?" p: "+p.index:""} of ${u.type===ee.MAIN?"level":"track"} ${u.level} cc: ${X}`),this.append(Yn,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(v.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[he.AUDIOVIDEO]?i.push("audiovideo"):(a[he.AUDIO]&&i.push("audio"),a[he.VIDEO]&&i.push("video"));const u=()=>{const p=self.performance.now();n.stats.buffering.end=p,r&&(r.stats.buffering.end=p);const m=r?r.stats:n.stats;this.hls.trigger(v.FRAG_BUFFERED,{frag:n,part:r,stats:m,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).catch(p=>{this.warn(`Fragment buffered callback ${p}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(e,t){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([e])=>{if(e){const t=this.tracks[e];if(t)return!t.ended||t.ending}return!1})}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(v.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(v.BUFFERED_TO_END,void 0)):t.type==="video"&&this.unblockAudio()}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(){this.blockUntilOpen(()=>{const e=this.getDurationAndRange();e&&this.updateMediaSource(e)})}onError(e,t){if(t.details===j.BUFFER_APPEND_ERROR&&t.frag){var n;const r=(n=t.errorAction)==null?void 0:n.nextAutoLevel;c(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(c(u)&&u>=0){const m=Math.max(u,a),y=Math.floor(i/a)*a-m;this.flushBackBuffer(i,a,y)}const p=r.frontBufferFlushThreshold;if(c(p)&&p>0){const m=Math.max(r.maxBufferLength,p),y=Math.max(m,a),w=Math.floor(i/a)*a+y;this.flushFrontBuffer(i,a,w)}}flushBackBuffer(e,t,n){this.sourceBuffers.forEach(([r,i])=>{if(i){const u=or.getBuffered(i);if(u.length>0&&n>u.start(0)){var a;this.hls.trigger(v.BACK_BUFFER_REACHED,{bufferEnd:n});const p=this.tracks[r];if((a=this.details)!=null&&a.live)this.hls.trigger(v.LIVE_BACK_BUFFER_REACHED,{bufferEnd:n});else if(p!=null&&p.ended){this.log(`Cannot flush ${r} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(v.BUFFER_FLUSHING,{startOffset:0,endOffset:n,type:r})}}})}flushFrontBuffer(e,t,n){this.sourceBuffers.forEach(([r,i])=>{if(i){const a=or.getBuffered(i),u=a.length;if(u<2)return;const p=a.start(u-1),m=a.end(u-1);if(n>p||e>=p&&e<=m)return;this.hls.trigger(v.BUFFER_FLUSHING,{startOffset:p,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&&n.setLiveSeekableRange){const m=Math.max(0,t.fragmentStart),y=Math.max(m,r);return{duration:1/0,start:m,end:y}}return{duration:1/0}}const i=(e=this.overrides)==null?void 0:e.duration;if(i)return c(i)?{duration:i}:null;const a=this.media.duration,u=c(n.duration)?n.duration:0;return r>u&&r>a||!c(a)?{duration:r}:null}updateMediaSource({duration:e,start:t,end:n}){const r=this.mediaSource;!this.media||!r||r.readyState!=="open"||(r.duration!==e&&(c(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}) ${kt(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(v.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(v.ERROR,{type:le.MEDIA_ERROR,details:j.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 p=this.getTrackCodec(u,a),m=`${u.container};codecs=${p}`;u.codec=p,this.log(`creating sourceBuffer(${m})${this.currentOp(a)?" Queued":""} ${kt(u)}`);try{const y=n.addSourceBuffer(m),w=Hs(a),k=[a,y];t[w]=k,u.buffer=y}catch(y){var r;this.error(`error while trying to add sourceBuffer: ${y.message}`),this.shiftAndExecuteNext(a),(r=this.operationQueue)==null||r.removeBlockers(),delete this.tracks[a],this.hls.trigger(v.ERROR,{type:le.MEDIA_ERROR,details:j.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:y,sourceBufferName:a,mimeType:m,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")&&st(n,"video")&&(r=bt(r,n));const i=An(r,e.levelCodec);return i?t.slice(0,5)==="audio"?_e(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(v.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(v.ERROR,{type:le.MEDIA_ERROR,details:j.BUFFER_APPENDING_ERROR,sourceBufferName:e,error:r,fatal:!1});const i=this.currentOp(e);i&&i.onError(r)}updateTimestampOffset(e,t,n,r,i,a){const u=t-e.timestampOffset;Math.abs(u)>=n&&(this.log(`Updating ${r} SourceBuffer timestampOffset to ${t} (sn: ${i} cc: ${a})`),e.timestampOffset=t)}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 p=c(r.duration)?r.duration:1/0,m=c(i.duration)?i.duration:1/0,y=Math.max(0,t),w=Math.min(n,p,m);w>y&&(!a.ending||a.ended)?(a.ended=!1,this.log(`Removing [${y},${w}] from the ${e} SourceBuffer`),u.remove(y,w)):this.shiftAndExecuteNext(e)}appendExecutor(e,t){const n=this.tracks[t],r=n==null?void 0:n.buffer;if(!r)throw new io(`Attempting to append to the ${t} SourceBuffer, but it does not exist`);n.ending=!1,n.ended=!1,r.appendBuffer(e)}blockUntilOpen(e){if(this.isUpdating()||this.isQueued())this.blockBuffers(e).catch(t=>{this.warn(`SourceBuffer blocked callback ${t}`),this.stepOperationQueue(this.sourceBufferTypes)});else try{e()}catch(t){this.warn(`Callback run without blocking ${this.operationQueue} ${t}`)}}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)return this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(e);const{operationQueue:n}=this,r=t.map(a=>this.appendBlocker(a));return t.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(r).then(a=>{n===this.operationQueue&&(e(),this.stepOperationQueue(this.sourceBufferTypes))})}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 qi(s){const e=s.querySelectorAll("source");[].slice.call(e).forEach(t=>{s.removeChild(t)})}function _s(s,e){const t=self.document.createElement("source");t.type="video/mp4",t.src=e,s.appendChild(t)}function Hs(s){return s==="audio"?1:0}class ao{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(v.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.on(v.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(v.MANIFEST_PARSED,this.onManifestParsed,this),e.on(v.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(v.BUFFER_CODECS,this.onBufferCodecs,this),e.on(v.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:e}=this;e.off(v.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.off(v.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(v.MANIFEST_PARSED,this.onManifestParsed,this),e.off(v.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(v.BUFFER_CODECS,this.onBufferCodecs,this),e.off(v.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&&c(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,ao.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,p)=>p?u.width!==p.width||u.height!==p.height:!0;let i=e.length-1;const a=Math.max(t,n);for(let u=0;u<e.length;u+=1){const p=e[u];if((p.width>=a||p.height>=a)&&r(p,e[u+1])){i=u;break}}return i}}const Js={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},ll={HLS:"h"};class La{constructor(e,t){Array.isArray(e)&&(e=e.map(n=>n instanceof La?n:new La(n))),this.value=e,this.params=t}}const Da="Dict";function Vr(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 va(s,e,t,n){return new Error(`failed to ${s} "${Vr(e)}" as ${t}`,{cause:n})}function Pa(s,e,t){return va("serialize",s,e,t)}class Ms{constructor(e){this.description=e}}const uo="Bare Item",Io="Boolean";function Oo(s){if(typeof s!="boolean")throw Pa(s,Io);return s?"?1":"?0"}function so(s){return btoa(String.fromCharCode(...s))}const Ql="Byte Sequence";function Dl(s){if(ArrayBuffer.isView(s)===!1)throw Pa(s,Ql);return`:${so(s)}:`}const ul="Integer";function Qo(s){return s<-999999999999999||999999999999999<s}function Pl(s){if(Qo(s))throw Pa(s,ul);return s.toString()}function Il(s){return`@${Pl(s.getTime()/1e3)}`}function Ll(s,e){if(s<0)return-Ll(-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}const Rl="Decimal";function Jl(s){const e=Ll(s,3);if(Math.floor(Math.abs(e)).toString().length>12)throw Pa(s,Rl);const t=e.toString();return t.includes(".")?t:`${t}.0`}const Ol="String",cl=/[\x00-\x1f\x7f]+/;function Ml(s){if(cl.test(s))throw Pa(s,Ol);return`"${s.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function ql(s){return s.description||s.toString().slice(7,-1)}const kl="Token";function gl(s){const e=ql(s);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e)===!1)throw Pa(e,kl);return e}function yl(s){switch(typeof s){case"number":if(!c(s))throw Pa(s,uo);return Number.isInteger(s)?Pl(s):Jl(s);case"string":return Ml(s);case"symbol":return gl(s);case"boolean":return Oo(s);case"object":if(s instanceof Date)return Il(s);if(s instanceof Uint8Array)return Dl(s);if(s instanceof Ms)return gl(s);default:throw Pa(s,uo)}}const eu="Key";function bl(s){if(/^[a-z*][a-z0-9\-_.*]*$/.test(s)===!1)throw Pa(s,eu);return s}function dl(s){return s==null?"":Object.entries(s).map(([e,t])=>t===!0?`;${bl(e)}`:`;${bl(e)}=${yl(t)}`).join("")}function el(s){return s instanceof La?`${yl(s.value)}${dl(s.params)}`:yl(s)}function xl(s){return`(${s.value.map(el).join(" ")})${dl(s.params)}`}function El(s,e={whitespace:!0}){if(typeof s!="object"||s==null)throw Pa(s,Da);const t=s instanceof Map?s.entries():Object.entries(s),n=e!=null&&e.whitespace?" ":"";return Array.from(t).map(([r,i])=>{i instanceof La||(i=new La(i));let a=bl(r);return i.value===!0?a+=dl(i.params):(a+="=",Array.isArray(i.value)?a+=xl(i):a+=el(i)),a}).join(`,${n}`)}function _l(s,e){return El(s,e)}const Mo="CMCD-Object",ks="CMCD-Request",Ko="CMCD-Session",Go="CMCD-Status",Nl={br:Mo,ab:Mo,d:Mo,ot:Mo,tb:Mo,tpb:Mo,lb:Mo,tab:Mo,lab:Mo,url:Mo,pb:ks,bl:ks,tbl:ks,dl:ks,ltc:ks,mtp:ks,nor:ks,nrr:ks,rc:ks,sn:ks,sta:ks,su:ks,ttfb:ks,ttfbb:ks,ttlb:ks,cmsdd:ks,cmsds:ks,smrt:ks,df:ks,cs:ks,ts:ks,cid:Ko,pr:Ko,sf:Ko,sid:Ko,st:Ko,v:Ko,msd:Ko,bs:Go,bsd:Go,cdn:Go,rtp:Go,bg:Go,pt:Go,ec:Go,e:Go},Sl={REQUEST:ks};function Bl(s){return Object.keys(s).reduce((e,t)=>{var n;return(n=s[t])===null||n===void 0||n.forEach(r=>e[r]=t),e},{})}function wl(s,e){const t={};if(!s)return t;const n=Object.keys(s),r=e?Bl(e):{};return n.reduce((i,a)=>{var u;const p=Nl[a]||r[a]||Sl.REQUEST,m=(u=i[p])!==null&&u!==void 0?u:i[p]={};return m[a]=s[a],i},t)}function Fl(s){return["ot","sf","st","e","sta"].includes(s)}function tu(s){return typeof s=="number"?c(s):s!=null&&s!==""&&s!==!1}const Va="event";function ts(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("/")+t.search+t.hash}const Ys=s=>Math.round(s),go=(s,e)=>Array.isArray(s)?s.map(t=>go(t,e)):s instanceof La&&typeof s.value=="string"?new La(go(s.value,e),s.params):(e.baseUrl&&(s=ts(s,e.baseUrl)),e.version===1?encodeURIComponent(s):s),Xs=s=>Ys(s/100)*100,Xo={br:Ys,d:Ys,bl:Xs,dl:Xs,mtp:Xs,nor:(s,e)=>{let t=s;return e.version>=2&&(s instanceof La&&typeof s.value=="string"?t=new La([s]):typeof s=="string"&&(t=[s])),go(t,e)},rtp:Xs,tb:Ys},Vo="request",Jo="response",nl=["ab","bg","bl","br","bs","bsd","cdn","cid","cs","df","ec","lab","lb","ltc","msd","mtp","pb","pr","pt","sf","sid","sn","st","sta","tab","tb","tbl","tpb","ts","v"],dc=["e"],fc=/^[a-zA-Z0-9-.]+-[a-zA-Z0-9-.]+$/;function zl(s){return fc.test(s)}function hc(s){return nl.includes(s)||dc.includes(s)||zl(s)}const Eu=["d","dl","nor","ot","rtp","su"];function mc(s){return nl.includes(s)||Eu.includes(s)||zl(s)}const pc=["cmsdd","cmsds","rc","smrt","ttfb","ttfbb","ttlb","url"];function vc(s){return nl.includes(s)||Eu.includes(s)||pc.includes(s)||zl(s)}const gc=["bl","br","bs","cid","d","dl","mtp","nor","nrr","ot","pr","rtp","sf","sid","st","su","tb","v"];function yc(s){return gc.includes(s)||zl(s)}const bc={[Jo]:vc,[Va]:hc,[Vo]:mc};function _u(s,e={}){const t={};if(s==null||typeof s!="object")return t;const n=e.version||s.v||1,r=e.reportingMode||Vo,i=n===1?yc:bc[r];let a=Object.keys(s).filter(i);const u=e.filter;typeof u=="function"&&(a=a.filter(u));const p=r===Jo||r===Va;p&&!a.includes("ts")&&a.push("ts"),n>1&&!a.includes("v")&&a.push("v");const m=x({},Xo,e.formatters),y={version:n,reportingMode:r,baseUrl:e.baseUrl};return a.sort().forEach(w=>{let k=s[w];const X=m[w];if(typeof X=="function"&&(k=X(k,y)),w==="v"){if(n===1)return;k=n}w=="pr"&&k===1||(p&&w==="ts"&&!c(k)&&(k=Date.now()),tu(k)&&(Fl(w)&&typeof k=="string"&&(k=new Ms(k)),t[w]=k))}),t}function xc(s,e={}){const t={};if(!s)return t;const n=_u(s,e),r=wl(n,e==null?void 0:e.customHeaderMap);return Object.entries(r).reduce((i,[a,u])=>{const p=_l(u,{whitespace:!1});return p&&(i[a]=p),i},t)}function Ec(s,e,t){return x(s,xc(e,t))}const _c="CMCD";function Sc(s,e={}){return s?_l(_u(s,e),{whitespace:!1}):""}function wc(s,e={}){if(!s)return"";const t=Sc(s,e);return encodeURIComponent(t)}function Cc(s,e={}){if(!s)return"";const t=wc(s,e);return`${_c}=${t}`}const Su=/CMCD=[^&#]+/;function Ac(s,e,t){const n=Cc(e,t);if(!n)return s;if(Su.test(s))return s.replace(Su,n);const r=s.includes("?")?"&":"?";return`${s}${r}${n}`}class Tc{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:Js.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],p=this.getObjectType(i),m={d:(a||i).duration*1e3,ot:p};(p===Js.VIDEO||p===Js.AUDIO||p==Js.MUXED)&&(m.br=u.bitrate/1e3,m.tb=this.getTopBandwidth(p)/1e3,m.bl=this.getBufferLength(p));const y=a?this.getNextPart(a):this.getNextFrag(i);y!=null&&y.url&&y.url!==i.url&&(m.nor=y.url),this.apply(r,m)}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(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(v.MEDIA_DETACHED,this.onMediaDetached,this),e.on(v.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const e=this.hls;e.off(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(v.MEDIA_DETACHED,this.onMediaDetached,this),e.off(v.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:ll.HLS,sid:this.sid,cid:this.cid,pr:(e=this.media)==null?void 0:e.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(e,t={}){x(t,this.createData());const n=t.ot===Js.INIT||t.ot===Js.VIDEO||t.ot===Js.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={}),Ec(e.headers,t,i)):e.url=Ac(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;const{index:n,fragment:r}=e,i=(t=this.hls.levels[r.level])==null||(t=t.details)==null?void 0:t.partList;if(i){const{sn:a}=r;for(let u=i.length-1;u>=0;u--){const p=i[u];if(p.index===n&&p.fragment.sn===a)return i[u+1]}}}getObjectType(e){const{type:t}=e;if(t==="subtitle")return Js.TIMED_TEXT;if(e.sn==="initSegment")return Js.INIT;if(t==="audio")return Js.AUDIO;if(t==="main")return this.hls.audioTracks.length?Js.VIDEO:Js.MUXED}getTopBandwidth(e){let t=0,n;const r=this.hls;if(e===Js.AUDIO)n=r.audioTracks;else{const i=r.maxAutoLevel,a=i>-1?i+1:r.levels.length;n=r.levels.slice(0,a)}return n.forEach(i=>{i.bitrate>t&&(t=i.bitrate)}),t>0?t:NaN}getBufferLength(e){const t=this.media,n=e===Js.AUDIO?this.audioBuffer:this.videoBuffer;return!n||!t?NaN:or.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 Dc=3e5;class Pc extends Z{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(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(v.MANIFEST_PARSED,this.onManifestParsed,this),e.on(v.ERROR,this.onError,this)}unregisterListeners(){const e=this.hls;e&&(e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(v.MANIFEST_PARSED,this.onManifestParsed,this),e.off(v.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)===sr.SendAlternateToPenaltyBox&&n.flags===Un.MoveAllAlternatesMatchingHost){const r=this.levels;let i=this._pathwayPriority,a=this.pathwayId;if(t.context){const{groupId:u,pathwayId:p,type:m}=t.context;u&&r?a=this.getPathwayForGroupId(u,m,a):p&&(a=p)}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),t.details===j.BUFFER_APPEND_ERROR&&!t.fatal?n.resolved=!0:n.resolved||this.warn(`Could not resolve ${t.details} ("${t.error.message}") with content-steering for Pathway: ${a} levels: ${r&&r.length} priorities: ${kt(i)} penalized: ${kt(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]>Dc&&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,p=this.hls.levels[u];if(t=this.getLevelsForPathway(a),t.length>0){this.log(`Setting Pathway to "${a}"`),this.pathwayId=a,ls(t),this.hls.trigger(v.LEVELS_UPDATED,{levels:t});const m=this.hls.levels[u];p&&m&&this.levels&&(m.attrs["STABLE-VARIANT-ID"]!==p.attrs["STABLE-VARIANT-ID"]&&m.bitrate!==p.bitrate&&this.log(`Unstable Pathways change from bitrate ${p.bitrate} to ${m.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===re.AUDIO_TRACK&&r[i].hasAudioGroup(e)||t===re.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":p}=i;if(t.some(y=>y.pathwayId===a))return;const m=this.getLevelsForPathway(u).map(y=>{const w=new Pn(y.attrs);w["PATHWAY-ID"]=a;const k=w.AUDIO&&`${w.AUDIO}_clone_${a}`,X=w.SUBTITLES&&`${w.SUBTITLES}_clone_${a}`;k&&(n[w.AUDIO]=k,w.AUDIO=k),X&&(r[w.SUBTITLES]=X,w.SUBTITLES=X);const $=Cu(y.uri,w["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",p),Ie=new Tn({attrs:w,audioCodec:y.audioCodec,bitrate:y.bitrate,height:y.height,name:y.name,url:$,videoCodec:y.videoCodec,width:y.width});if(y.audioGroups)for(let Pe=1;Pe<y.audioGroups.length;Pe++)Ie.addGroupId("audio",`${y.audioGroups[Pe]}_clone_${a}`);if(y.subtitleGroups)for(let Pe=1;Pe<y.subtitleGroups.length;Pe++)Ie.addGroupId("text",`${y.subtitleGroups[Pe]}_clone_${a}`);return Ie});t.push(...m),wu(this.audioTracks,n,p,a),wu(this.subtitleTracks,r,p,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(y){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${e}`);return}if(r.protocol!=="data:"){const y=(this.hls.bandwidthEstimate||t.abrEwmaDefaultEstimate)|0;r.searchParams.set("_HLS_pathway",this.pathwayId),r.searchParams.set("_HLS_throughput",""+y)}const i={responseType:"json",url:r.href},a=t.steeringManifestLoadPolicy.default,u=a.errorRetry||a.timeoutRetry||{},p={loadPolicy:a,timeout:a.maxLoadTimeMs,maxRetry:u.maxNumRetry||0,retryDelay:u.retryDelayMs||0,maxRetryDelay:u.maxRetryDelayMs||0},m={onSuccess:(y,w,k,X)=>{this.log(`Loaded steering manifest: "${r}"`);const $=y.data;if(($==null?void 0:$.VERSION)!==1){this.log(`Steering VERSION ${$.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=$.TTL;const{"RELOAD-URI":Ie,"PATHWAY-CLONES":Pe,"PATHWAY-PRIORITY":ut}=$;if(Ie)try{this.uri=new self.URL(Ie,r).href}catch(wt){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${Ie}`);return}this.scheduleRefresh(this.uri||k.url),Pe&&this.clonePathways(Pe);const yt={steeringManifest:$,url:r.toString()};this.hls.trigger(v.STEERING_MANIFEST_LOADED,yt),ut&&this.updatePathwayPriority(ut)},onError:(y,w,k,X)=>{if(this.log(`Error loading steering manifest: ${y.code} ${y.text} (${w.url})`),this.stopLoad(),y.code===410){this.enabled=!1,this.log(`Steering manifest ${w.url} no longer available`);return}let $=this.timeToLoad*1e3;if(y.code===429){const Ie=this.loader;if(typeof(Ie==null?void 0:Ie.getResponseHeader)=="function"){const Pe=Ie.getResponseHeader("Retry-After");Pe&&($=parseFloat(Pe)*1e3)}this.log(`Steering manifest ${w.url} rate limited`);return}this.scheduleRefresh(this.uri||w.url,$)},onTimeout:(y,w,k)=>{this.log(`Timeout loading steering manifest (${w.url})`),this.scheduleRefresh(this.uri||w.url)}};this.log(`Requesting steering manifest: ${r}`),this.loader.load(i,p,m)}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 wu(s,e,t,n){s&&Object.keys(e).forEach(r=>{const i=s.filter(a=>a.groupId===r).map(a=>{const u=x({},a);return u.details=void 0,u.attrs=new Pn(u.attrs),u.url=u.attrs.URI=Cu(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 Cu(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 p=new self.URL(s);return r&&!u&&(p.host=r),i&&Object.keys(i).sort().forEach(m=>{m&&p.searchParams.set(m,i[m])}),p.href}class fl extends Z{constructor(e){super("eme",e.logger),this.hls=void 0,this.config=void 0,this.media=null,this.mediaResolved=void 0,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.mediaKeys=null,this.setMediaKeysQueue=fl.CDMCleanupPromise?[fl.CDMCleanupPromise]:[],this.bannedKeyIds={},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=jr(this.config));const u=a.map(ar).filter(p=>!!p);this.keyFormatPromise=this.getKeyFormatPromise(u)}this.keyFormatPromise.then(a=>{const u=ss(a);if(n!=="sinf"||u!==hi.FAIRPLAY){this.log(`Ignoring "${t.type}" event with init data type: "${n}" for selected key-system ${u}`);return}let p;try{const X=ke(new Uint8Array(r)),$=bi(JSON.parse(X).sinf),Ie=me($);if(!Ie)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");p=new Uint8Array(Ie.subarray(8,24))}catch(X){this.warn(`${i} Failed to parse sinf: ${X}`);return}const m=ce(p),{keyIdToKeySessionPromise:y,mediaKeySessions:w}=this;let k=y[m];for(let X=0;X<w.length;X++){const $=w[X],Ie=$.decryptdata;if(!Ie.keyId)continue;const Pe=ce(Ie.keyId);if(Xr(p,Ie.keyId)||Ie.uri.replace(/-/g,"").indexOf(m)!==-1){if(k=y[Pe],!k)continue;if(Ie.pssh)break;delete y[Pe],Ie.pssh=new Uint8Array(r),Ie.keyId=p,k=y[m]=k.then(()=>this.generateRequestWithPreferredKeySession($,n,r,"encrypted-event-key-match")),k.catch(ut=>this.handleError(ut));break}}k||this.handleError(new Error(`Key ID ${m} not encountered in playlist. Key-system sessions ${w.length}.`))}).catch(a=>this.handleError(a))}},this.onWaitingForKey=t=>{this.log(`"${t.type}" event`)},this.hls=e,this.config=e.config,this.registerListeners()}destroy(){this.onDestroying(),this.onMediaDetached();const e=this.config;e.requestMediaKeySystemAccessFunc=null,e.licenseXhrSetup=e.licenseResponseCallback=void 0,e.drmSystems=e.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(v.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(v.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(v.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(v.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.on(v.DESTROYING,this.onDestroying,this)}unregisterListeners(){this.hls.off(v.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(v.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(v.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(v.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.off(v.DESTROYING,this.onDestroying,this)}getLicenseServerUrl(e){const{drmSystems:t,widevineLicenseUrl:n}=this.config,r=t==null?void 0:t[e];if(r)return r.licenseUrl;if(e===hi.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==null?void 0: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,p)=>!!a&&p.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 p=m=>{const y=m.shift();this.getMediaKeysPromise(y,r,i).then(w=>a({keySystem:y,mediaKeys:w})).catch(w=>{m.length?p(m):w instanceof ko?u(w):u(new ko({type:le.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_NO_ACCESS,error:w,fatal:!0},w.message))})};p(e)})}requestMediaKeySystemAccess(e,t){const{requestMediaKeySystemAccessFunc:n}=this.config;if(typeof n!="function"){let r=`Configured requestMediaKeySystemAccess is not a function ${n}`;return Ta===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){var r;const i=xs(e,t,n,this.config.drmSystemOptions||{});let a=this.keySystemAccessPromises[e],u=(r=a)==null?void 0:r.keySystemAccess;if(!u){this.log(`Requesting encrypted media "${e}" key-system access with config: ${kt(i)}`),u=this.requestMediaKeySystemAccess(e,i);const p=a=this.keySystemAccessPromises[e]={keySystemAccess:u};return u.catch(m=>{this.log(`Failed to obtain access to key-system "${e}": ${m}`)}),u.then(m=>{this.log(`Access for key-system "${m.keySystem}" obtained`);const y=this.fetchServerCertificate(e);this.log(`Create media-keys for "${e}"`);const w=p.mediaKeys=m.createMediaKeys().then(k=>(this.log(`Media-keys created for "${e}"`),p.hasMediaKeys=!0,y.then(X=>X?this.setMediaKeysServerCertificate(k,e,X):k)));return w.catch(k=>{this.error(`Failed to create media-keys for "${e}"}: ${k}`)}),w})}return u.then(()=>a.mediaKeys)}createMediaKeySessionContext({decryptdata:e,keySystem:t,mediaKeys:n}){this.log(`Creating key-system session "${t}" keyId: ${ce(e.keyId||[])} keyUri: ${e.uri}`);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=Hl(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)}updateKeySession(e,t){const n=e.mediaKeysSession;return this.log(`Updating key-session "${n.sessionId}" for keyId ${ce(e.decryptdata.keyId||[])}
|
|
} (data length: ${t.byteLength})`),n.update(t)}getSelectedKeySystemFormats(){return Object.keys(this.keySystemAccessPromises).map(e=>({keySystem:e,hasMediaKeys:this.keySystemAccessPromises[e].hasMediaKeys})).filter(({hasMediaKeys:e})=>!!e).map(({keySystem:e})=>ar(e)).filter(e=>!!e)}getKeySystemAccess(e){return this.getKeySystemSelectionPromise(e).then(({keySystem:t,mediaKeys:n})=>this.attemptSetMediaKeys(t,n))}selectKeySystem(e){return new Promise((t,n)=>{this.getKeySystemSelectionPromise(e).then(({keySystem:r})=>{const i=ar(r);i?t(i):n(new Error(`Unable to find format for key-system "${r}"`))}).catch(n)})}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){const t=jr(this.config),n=e.map(ss).filter(r=>!!r&&t.indexOf(r)!==-1);return this.selectKeySystem(n)}getKeyStatus(e){const{mediaKeySessions:t}=this;for(let n=0;n<t.length;n++){const r=Ic(e,t[n]);if(r)return r}}loadKey(e){const t=e.keyInfo.decryptdata,n=Hl(t),r=this.bannedKeyIds[n];if(r||this.getKeyStatus(t)==="internal-error"){const u=Au(r||"internal-error",t);return this.handleError(u,e.frag),Promise.reject(u)}const i=`(keyId: ${n} format: "${t.keyFormat}" method: ${t.method} uri: ${t.uri})`;this.log(`Starting session for key ${i}`);const a=this.keyIdToKeySessionPromise[n];if(!a){const u=this.getKeySystemForKeyPromise(t).then(({keySystem:p,mediaKeys:m})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${e.frag.sn} ${e.frag.type}: ${e.frag.level} using key ${i}`),this.attemptSetMediaKeys(p,m).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:p,mediaKeys:m,decryptdata:t}))))).then(p=>{const m="cenc",y=t.pssh?t.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(p,m,y,"playlist-key")});return u.catch(p=>this.handleError(p,e.frag)),this.keyIdToKeySessionPromise[n]=u,u}return a.catch(u=>{if(u instanceof ko){const p=L({},u.data);this.getKeyStatus(t)==="internal-error"&&(p.decryptdata=t);const m=new ko(p,u.message);this.handleError(m,e.frag)}}),a}throwIfDestroyed(e="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(e,t){if(this.hls)if(e instanceof ko){t&&(e.data.frag=t);const n=e.data.decryptdata;this.error(`${e.message}${n?` (${ce(n.keyId||[])})`:""}`),this.hls.trigger(v.ERROR,e.data)}else this.error(e.message),this.hls.trigger(v.ERROR,{type:le.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_NO_KEYS,error:e,fatal:!0})}getKeySystemForKeyPromise(e){const t=Hl(e),n=this.keyIdToKeySessionPromise[t];if(!n){const r=ss(e.keyFormat),i=r?[r]:jr(this.config);return this.attemptKeySystemAccess(i)}return n}getKeySystemSelectionPromise(e){if(e.length||(e=jr(this.config)),e.length===0)throw new ko({type:le.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${kt({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(e)}attemptSetMediaKeys(e,t){if(this.mediaResolved=void 0,this.mediaKeys===t)return Promise.resolve();const n=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${e}"`);const r=Promise.all(n).then(()=>this.media?this.media.setMediaKeys(t):new Promise((i,a)=>{this.mediaResolved=()=>{if(this.mediaResolved=void 0,!this.media)return a(new Error("Attempted to set mediaKeys without media element attached"));this.mediaKeys=t,this.media.setMediaKeys(t).then(i).catch(a)}}));return this.mediaKeys=t,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;const a=(i=this.config.drmSystems)==null||(i=i[e.keySystem])==null?void 0:i.generateRequest;if(a)try{const $=a.call(this.hls,t,n,e);if(!$)throw new Error("Invalid response from configured generateRequest filter");t=$.initDataType,n=$.initData?$.initData:null,e.decryptdata.pssh=n?new Uint8Array(n):null}catch($){if(this.warn($.message),this.hls&&this.hls.config.debug)throw $}if(n===null)return this.log(`Skipping key-session request for "${r}" (no initData)`),Promise.resolve(e);const u=Hl(e.decryptdata),p=e.decryptdata.uri;this.log(`Generating key-session request for "${r}" keyId: ${u} URI: ${p} (init data type: ${t} length: ${n.byteLength})`);const m=new Ot,y=e._onmessage=$=>{const Ie=e.mediaKeysSession;if(!Ie){m.emit("error",new Error("invalid state"));return}const{messageType:Pe,message:ut}=$;this.log(`"${Pe}" message event for session "${Ie.sessionId}" message size: ${ut.byteLength}`),Pe==="license-request"||Pe==="license-renewal"?this.renewLicense(e,ut).catch(yt=>{m.eventNames().length?m.emit("error",yt):this.handleError(yt)}):Pe==="license-release"?e.keySystem===hi.FAIRPLAY&&this.updateKeySession(e,ir("acknowledged")).then(()=>this.removeSession(e)).catch(yt=>this.handleError(yt)):this.warn(`unhandled media key message type "${Pe}"`)},w=($,Ie)=>{Ie.keyStatus=$;let Pe;$.startsWith("usable")?m.emit("resolved"):$==="internal-error"||$==="output-restricted"||$==="output-downscaled"?Pe=Au($,Ie.decryptdata):$==="expired"?Pe=new Error(`key expired (keyId: ${u})`):$==="released"?Pe=new Error("key released"):$==="status-pending"||this.warn(`unhandled key status change "${$}" (keyId: ${u})`),Pe&&(m.eventNames().length?m.emit("error",Pe):this.handleError(Pe))},k=e._onkeystatuseschange=$=>{if(!e.mediaKeysSession){m.emit("error",new Error("invalid state"));return}const Pe=this.getKeyStatuses(e);if(!Object.keys(Pe).some(Xt=>Pe[Xt]!=="status-pending"))return;if(Pe[u]==="expired"){this.log(`Expired key ${kt(Pe)} in key-session "${e.mediaKeysSession.sessionId}"`),this.renewKeySession(e);return}let yt=Pe[u];if(yt)w(yt,e);else{var wt;e.keyStatusTimeouts||(e.keyStatusTimeouts={}),(wt=e.keyStatusTimeouts)[u]||(wt[u]=self.setTimeout(()=>{if(!e.mediaKeysSession||!this.mediaKeys)return;const dn=this.getKeyStatus(e.decryptdata);if(dn&&dn!=="status-pending")return this.log(`No status for keyId ${u} in key-session "${e.mediaKeysSession.sessionId}". Using session key-status ${dn} from other session.`),w(dn,e);this.log(`key status for ${u} in key-session "${e.mediaKeysSession.sessionId}" timed out after 1000ms`),yt="internal-error",w(yt,e)},1e3)),this.log(`No status for keyId ${u} (${kt(Pe)}).`)}};Bs(e.mediaKeysSession,"message",y),Bs(e.mediaKeysSession,"keystatuseschange",k);const X=new Promise(($,Ie)=>{m.on("error",Ie),m.on("resolved",$)});return e.mediaKeysSession.generateRequest(t,n).then(()=>{this.log(`Request generated for key-session "${e.mediaKeysSession.sessionId}" keyId: ${u} URI: ${p}`)}).catch($=>{throw new ko({type:le.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_NO_SESSION,error:$,decryptdata:e.decryptdata,fatal:!1},`Error generating key-session request: ${$}`)}).then(()=>X).catch($=>(m.removeAllListeners(),this.removeSession(e).then(()=>{throw $}))).then(()=>(m.removeAllListeners(),e))}getKeyStatuses(e){const t={};return e.mediaKeysSession.keyStatuses.forEach((n,r)=>{if(typeof r=="string"&&typeof n=="object"){const u=r;r=n,n=u}const i="buffer"in r?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):new Uint8Array(r);if(e.keySystem===hi.PLAYREADY&&i.length===16){const u=ce(i);t[u]=n,wn(i)}const a=ce(i);n==="internal-error"&&(this.bannedKeyIds[a]=n),this.log(`key status change "${n}" for keyStatuses keyId: ${a} key-session "${e.mediaKeysSession.sessionId}"`),t[a]=n}),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 p={responseType:"arraybuffer",url:i},m=t.certLoadPolicy.default,y={loadPolicy:m,timeout:m.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},w={onSuccess:(k,X,$,Ie)=>{a(k.data)},onError:(k,X,$,Ie)=>{u(new ko({type:le.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:$,response:L({url:p.url,data:void 0},k)},`"${e}" certificate request failed (${i}). Status: ${k.code} (${k.text})`))},onTimeout:(k,X,$)=>{u(new ko({type:le.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:$,response:{url:p.url,data:void 0}},`"${e}" certificate request timed out (${i})`))},onAbort:(k,X,$)=>{u(new Error("aborted"))}};r.load(p,y,w)})):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.byteLength}) on "${t}"`),r(e)}).catch(a=>{i(new ko({type:le.KEY_SYSTEM_ERROR,details:j.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 ko({type:le.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_SESSION_UPDATE_FAILED,decryptdata:e.decryptdata,error:r,fatal:!1},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 y;for(let w=0,k=i.length;w<k;w++){var a,u;y=i[w];const X=(a=y.querySelector("name"))==null?void 0:a.textContent,$=(u=y.querySelector("value"))==null?void 0:u.textContent;X&&$&&e.setRequestHeader(X,$)}}const p=r.querySelector("Challenge"),m=p==null?void 0:p.textContent;if(!m)throw new Error("Cannot find <Challenge> in key message");return ir(atob(m))}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 p=u.response;this.log(`License received ${p instanceof ArrayBuffer?p.byteLength:p}`);const m=this.config.licenseResponseCallback;if(m)try{p=m.call(this.hls,u,a,e)}catch(y){this.error(y)}r(p)}else{const p=n.errorRetry,m=p?p.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>m||u.status>=400&&u.status<500)i(new ko({type:le.KEY_SYSTEM_ERROR,details:j.KEY_SYSTEM_LICENSE_REQUEST_FAILED,decryptdata:e.decryptdata,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 y=m-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${y} 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:p,licenseChallenge:m})=>{e.keySystem==hi.PLAYREADY&&(m=this.unpackPlayReadyKeyMessage(p,m)),p.send(m)}).catch(i)})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(e,t){if(!this.config.emeEnabled)return;const n=t.media;this.media=n,Bs(n,"encrypted",this.onMediaEncrypted),Bs(n,"waitingforkey",this.onWaitingForKey);const r=this.mediaResolved;r?r():this.mediaKeys=n.mediaKeys}onMediaDetached(){const e=this.media;e&&(Ks(e,"encrypted",this.onMediaEncrypted),Ks(e,"waitingforkey",this.onWaitingForKey),this.media=null,this.mediaKeys=null)}_clear(){var e;this._requestLicenseFailureCount=0,this.keyIdToKeySessionPromise={},this.bannedKeyIds={};const t=this.mediaResolved;if(t&&t(),!this.mediaKeys&&!this.mediaKeySessions.length)return;const n=this.media,r=this.mediaKeySessions.slice();this.mediaKeySessions=[],this.mediaKeys=null,Ds.clearKeyUriToKeyIdMap();const i=r.length;fl.CDMCleanupPromise=Promise.all(r.map(a=>this.removeSession(a)).concat((n==null||(e=n.setMediaKeys(null))==null?void 0:e.catch(a=>{this.log(`Could not clear media keys: ${a}`),this.hls&&this.hls.trigger(v.ERROR,{type:le.OTHER_ERROR,details:j.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${a}`)})}))||Promise.resolve())).catch(a=>{this.log(`Could not close sessions and clear media keys: ${a}`),this.hls&&this.hls.trigger(v.ERROR,{type:le.OTHER_ERROR,details:j.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${a}`)})}).then(()=>{i&&this.log("finished closing key sessions and clearing media keys")})}onManifestLoading(){this._clear()}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,decryptdata:r}=e;if(t){this.log(`Remove licenses and keys and close session "${t.sessionId}" keyId: ${ce((r==null?void 0:r.keyId)||[])}`),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 i=this.mediaKeySessions.indexOf(e);i>-1&&this.mediaKeySessions.splice(i,1);const{keyStatusTimeouts:a}=e;a&&Object.keys(a).forEach(m=>self.clearTimeout(a[m]));const{drmSystemOptions:u}=this.config;return(xo(u)?new Promise((m,y)=>{self.setTimeout(()=>y(new Error("MediaKeySession.remove() timeout")),8e3),t.remove().then(m).catch(y)}):Promise.resolve()).catch(m=>{this.log(`Could not remove session: ${m}`),this.hls&&this.hls.trigger(v.ERROR,{type:le.OTHER_ERROR,details:j.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${m}`)})}).then(()=>t.close()).catch(m=>{this.log(`Could not close session: ${m}`),this.hls&&this.hls.trigger(v.ERROR,{type:le.OTHER_ERROR,details:j.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${m}`)})})}return Promise.resolve()}}fl.CDMCleanupPromise=void 0;function Hl(s){if(!s)throw new Error("Could not read keyId of undefined decryptdata");if(s.keyId===null)throw new Error("keyId is null");return ce(s.keyId)}function Ic(s,e){if(s.keyId&&e.mediaKeysSession.keyStatuses.has(s.keyId))return e.mediaKeysSession.keyStatuses.get(s.keyId);if(s.matches(e.decryptdata))return e.keyStatus}class ko 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}}function Au(s,e){const t=s==="output-restricted",n=t?j.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:j.KEY_SYSTEM_STATUS_INTERNAL_ERROR;return new ko({type:le.KEY_SYSTEM_ERROR,details:n,fatal:!1,decryptdata:e},t?"HDCP level output restricted":`key status changed to "${s}"`)}class Lc{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(v.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(v.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(v.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(v.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,p=1e3*a/i,m=this.hls;if(m.trigger(v.FPS_DROP,{currentDropped:a,currentDecoded:u,totalDroppedFrames:n}),p>0&&a>m.config.fpsDroppedMonitoringThreshold*u){let y=m.currentLevel;m.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+y),y>0&&(m.autoLevelCapping===-1||m.autoLevelCapping>=y)&&(y=y-1,m.trigger(v.FPS_DROP_LEVEL_CAPPING,{level:y,droppedLevel:m.currentLevel}),m.autoLevelCapping=y,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 Tu(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 Du(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){pe.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){pe.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${r}`)}}t==="disabled"&&(s.mode=t)}function hl(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 nu(s,e,t,n){const r=s.mode;if(r==="disabled"&&(s.mode="hidden"),s.cues&&s.cues.length>0){const i=Oc(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 Rc(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 Oc(s,e,t){const n=[],r=Rc(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 jl(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 Mc extends ys{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=jl(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(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.MANIFEST_PARSED,this.onManifestParsed,this),e.on(v.LEVEL_LOADING,this.onLevelLoading,this),e.on(v.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(v.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(v.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.MANIFEST_PARSED,this.onManifestParsed,this),e.off(v.LEVEL_LOADING,this.onLevelLoading,this),e.off(v.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(v.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(v.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;jl(n.textTracks).forEach(a=>{hl(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(y=>!n||n.indexOf(y.groupId)!==-1);if(a.length)this.selectDefaultTrack&&!a.some(y=>y.default)&&(this.selectDefaultTrack=!1),a.forEach((y,w)=>{y.id=w});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=a;const u=this.hls.config.subtitlePreference;if(!i&&u){this.selectDefaultTrack=!1;const y=nr(u,a);if(y>-1)i=a[y];else{const w=nr(u,this.tracks);i=this.tracks[w]}}let p=this.findTrackId(i);p===-1&&i&&(p=this.findTrackId(null));const m={subtitleTracks:a};this.log(`Updating subtitle tracks, ${a.length} track(s) found in "${n==null?void 0:n.join(",")}" group-id`),this.hls.trigger(v.SUBTITLE_TRACKS_UPDATED,m),p!==-1&&this.trackId===-1&&this.setSubtitleTrack(p)}}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||_r(i,e)))return r}if(e){for(let r=0;r<t.length;r++){const i=t[r];if(lo(e.attrs,i.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return r}for(let r=0;r<t.length;r++){const i=t[r];if(lo(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(Lo(r,e))return n}}return-1}onError(e,t){t.fatal||!t.context||t.context.type===re.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&&_r(e,n))return n;const r=nr(e,this.tracksInGroup);if(r>-1){const i=this.tracksInGroup[r];return this.setSubtitleTrack(r),i}else{if(n)return null;{const i=nr(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(v.SUBTITLE_TRACK_LOADING,{url:i,id:n,groupId:r,deliveryDirectives:t||null,track:e})}toggleTrackModes(){const{media:e}=this;if(!e)return;const t=jl(e.textTracks),n=this.currentTrack;let r;if(n&&(r=t.filter(i=>Lo(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||!c(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(v.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:p,type:m,url:y}=r;this.hls.trigger(v.SUBTITLE_TRACK_SWITCH,{id:a,groupId:u,name:p,type:m,url:y});const w=this.switchParams(r.url,n==null?void 0:n.details,r.details);this.loadPlaylist(w)}}function kc(){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 Cl(s){let e=5381,t=s.length;for(;t;)e=e*33^s.charCodeAt(--t);return(e>>>0).toString()}const ml=.025;let Zl=function(s){return s[s.Point=0]="Point",s[s.Range=1]="Range",s}({});function Nc(s,e,t){return`${s.identifier}-${t+1}-${Cl(e)}`}class Bc{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){var t;if(e>0&&e>=this.assetList.length)return!0;const n=this.playoutLimit;return e<=0||isNaN(n)?!1:n===0?!0:(((t=this.assetList[e])==null?void 0:t.startOffset)||0)>n}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 ru(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=ru(t,e);return t-n<.1}return!1}get resumptionOffset(){const e=this.resumeOffset,t=c(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 ru(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)<ml))}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"?Zl.Range:Zl.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 Fc(this)}}function ru(s,e){return s-e.start<e.duration/2&&!(Math.abs(s-(e.start+e.duration))<ml)?e.start:e.start+e.duration}function Pu(s,e,t){const n=new self.URL(s,t);return n.protocol!=="data:"&&n.searchParams.set("_HLS_primary_id",e),n}function iu(s,e){for(;(t=s.assetList[++e])!=null&&t.error;)var t;return e}function Fc(s){return`["${s.identifier}" ${s.cue.pre?"<pre>":s.cue.post?"<post>":""}${s.timelineStart.toFixed(2)}-${s.resumeTime.toFixed(2)}]`}function pl(s){const e=s.timelineStart,t=s.duration||0;return`["${s.identifier}" ${e.toFixed(2)}-${(e+t).toFixed(2)}]`}class zc{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=()=>{this.reachedPlayout(this.currentTime)&&this.hls&&this.hls.trigger(v.PLAYOUT_LIMIT_REACHED,{})};const i=this.hls=new e(t);this.interstitial=n,this.assetItem=r;const a=()=>{this.hasDetails=!0};i.once(v.LEVEL_LOADED,a),i.once(v.AUDIO_TRACK_LOADED,a),i.once(v.SUBTITLE_TRACK_LOADED,a),i.on(v.MEDIA_ATTACHING,(u,{media:p})=>{this.removeMediaListeners(),this.mediaAttached=p,this.interstitial.playoutLimit&&(p.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&i.on(v.BUFFER_APPENDED,()=>{const y=this.bufferedEnd;this.reachedPlayout(y)&&(this._bufferedEosTime=y,i.trigger(v.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){return this.interstitial.appendInPlace}loadSource(){const e=this.hls;if(e)if(e.url)e.levels.length&&!e.started&&e.startLoad(-1,!0);else{let t=this.assetItem.uri;try{t=Pu(t,e.config.primarySessionId||"").href}catch(n){}e.loadSource(t)}}bufferedInPlaceToEnd(e){var t;if(!this.appendInPlace)return!1;if((t=this.hls)!=null&&t.bufferedToEnd)return!0;if(!e)return!1;const n=Math.min(this._bufferedEosTime||1/0,this.duration),r=this.timelineOffset,i=or.bufferInfo(e,r,0);return this.getAssetTime(i.end)>=n-.02}reachedPlayout(e){const n=this.interstitial.playoutLimit;return this.startOffset+e>=n}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=or.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;if(!e)return 0;const t=this.interstitial.playoutLimit;if(t){const n=t-this.startOffset;if(n>0&&n<e)return n}return e}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&&this.hls){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&&this.hls.destroy(),this.hls=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(e){var t;this.loadSource(),(t=this.hls)==null||t.attachMedia(e)}detachMedia(){var e;this.removeMediaListeners(),this.mediaAttached=null,(e=this.hls)==null||e.detachMedia()}resumeBuffering(){var e;(e=this.hls)==null||e.resumeBuffering()}pauseBuffering(){var e;(e=this.hls)==null||e.pauseBuffering()}transferMedia(){var e;return this.bufferSnapShot(),((e=this.hls)==null?void 0:e.transferMedia())||null}resetDetails(){const e=this.hls;if(e&&this.hasDetails){e.stopLoad();const t=n=>delete n.details;e.levels.forEach(t),e.allAudioTracks.forEach(t),e.allSubtitleTracks.forEach(t),this.hasDetails=!1}}on(e,t,n){var r;(r=this.hls)==null||r.on(e,t)}once(e,t,n){var r;(r=this.hls)==null||r.once(e,t)}off(e,t,n){var r;(r=this.hls)==null||r.off(e,t)}toString(){var e;return`HlsAssetPlayer: ${pl(this.assetItem)} ${(e=this.hls)==null?void 0:e.sessionId} ${this.appendInPlace?"append-in-place":""}`}}const Iu=.033;class Hc extends Z{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)||i===r-1))return i}}return 0}get assetIdAtEnd(){var e;const t=(e=this.items)==null||(e=e[this.length-1])==null?void 0:e.event;if(t){const n=t.assetList,r=n[n.length-1];if(r)return r.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),p=i?i.filter(m=>!u.includes(m.identifier)):[];a.length&&a.sort((m,y)=>{const w=m.cue.pre,k=m.cue.post,X=y.cue.pre,$=y.cue.post;if(w&&!X)return-1;if(X&&!w||k&&!$)return 1;if($&&!k)return-1;if(!w&&!X&&!k&&!$){const Ie=m.startTime,Pe=y.startTime;if(Ie!==Pe)return Ie-Pe}return m.dateRange.tagOrder-y.dateRange.tagOrder}),this.events=a,p.forEach(m=>{this.removeEvent(m)}),this.updateSchedule(e,p)}updateSchedule(e,t=[],n=!1){const r=this.events||[];if(r.length||t.length||this.length<2){const i=this.items,a=this.parseSchedule(r,e);(n||t.length||(i==null?void 0:i.length)!==a.length||a.some((p,m)=>Math.abs(p.playout.start-i[m].playout.start)>.005||Math.abs(p.playout.end-i[m].playout.end)>.005))&&(this.items=a,this.onScheduleUpdate(t,i))}}parseDateRanges(e,t,n){const r=[],i=Object.keys(e);for(let a=0;a<i.length;a++){const u=i[a],p=e[u];if(p.isInterstitial){let m=this.eventMap[u];m?m.setDateRange(p):(m=new Bc(p,t),this.eventMap[u]=m,n===!1&&(m.appendInPlace=n)),r.push(m)}}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(p=>!p.error&&!(p.cue.once&&p.hasPlayed)),e.length){this.resolveOffsets(e,t);let p=0,m=0;if(e.forEach((y,w)=>{const k=y.cue.pre,X=y.cue.post,$=e[w-1]||null,Ie=y.appendInPlace,Pe=X?i:y.startOffset,ut=y.duration,yt=y.timelineOccupancy===Zl.Range?ut:0,wt=y.resumptionOffset,Xt=($==null?void 0:$.startTime)===Pe,dn=Pe+y.cumulativeDuration;let Yn=Ie?dn+ut:Pe+wt;if(k||!X&&Pe<=0){const Rn=m;m+=yt,y.timelineStart=dn;const Ln=a;a+=ut,n.push({event:y,start:dn,end:Yn,playout:{start:Ln,end:a},integrated:{start:Rn,end:m}})}else if(Pe<=i){if(!Xt){const gn=Pe-p;if(gn>Iu){const yr=p,Pi=m;m+=gn;const ea=a;a+=gn;const ga={previousEvent:e[w-1]||null,nextEvent:y,start:yr,end:yr+gn,playout:{start:ea,end:a},integrated:{start:Pi,end:m}};n.push(ga)}else gn>0&&$&&($.cumulativeDuration+=gn,n[n.length-1].end=Pe)}X&&(Yn=dn),y.timelineStart=dn;const Rn=m;m+=yt;const Ln=a;a+=ut,n.push({event:y,start:dn,end:Yn,playout:{start:Ln,end:a},integrated:{start:Rn,end:m}})}else return;const mn=y.resumeTime;X||mn>i?p=i:p=mn}),p<i){var u;const y=p,w=m,k=i-p;m+=k;const X=a;a+=k,n.push({previousEvent:((u=n[n.length-1])==null?void 0:u.event)||null,nextEvent:null,start:p,end:y+k,playout:{start:X,end:a},integrated:{start:w,end:m}})}this.setDurations(i,a,m)}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,p)=>{const m=u.cue.pre,y=u.cue.post,w=m?0:y?r:u.startTime;this.updateAssetDurations(u),a===w?u.cumulativeDuration=i:(i=0,a=w),!y&&u.snapOptions.in&&(u.resumeAnchor=Ii(null,n.fragments,u.startOffset+u.resumptionOffset,0,0)||void 0),u.appendInPlace&&!u.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(u,t)||(u.appendInPlace=!1)),!u.appendInPlace&&p+1<e.length&&e[p+1].startTime-e[p].resumeTime<Iu&&(e[p+1].appendInPlace=!1,e[p+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${u}`));const X=c(u.resumeOffset)?u.resumeOffset:u.duration;i+=X})}primaryCanResumeInPlaceAt(e,t){const n=e.resumeTime,r=e.startTime+e.resumptionOffset;return Math.abs(n-r)>ml?(this.log(`"${e.identifier}" resumption ${n} not aligned with estimated timeline end ${r}`),!1):!Object.keys(t).some(a=>{const u=t[a].details,p=u.edge;if(n>=p)return this.log(`"${e.identifier}" resumption ${n} past ${a} playlist end ${p}`),!1;const m=Ii(null,u.fragments,n);if(!m)return this.log(`"${e.identifier}" resumption ${n} does not align with any fragments in ${a} playlist (${u.fragStart}-${u.fragmentEnd})`),!0;const y=a==="audio"?.175:0;return Math.abs(m.start-n)<ml+y||Math.abs(m.end-n)<ml+y?!1:(this.log(`"${e.identifier}" resumption ${n} not aligned with ${a} fragment bounds (${m.start}-${m.end} sn: ${m.sn} cc: ${m.cc})`),!0)})}updateAssetDurations(e){if(!e.assetListLoaded)return;const t=e.timelineStart;let n=0,r=!1,i=!1;for(let a=0;a<e.assetList.length;a++){const u=e.assetList[a],p=t+n;u.startOffset=n,u.timelineStart=p,r||(r=u.duration===null),i||(i=!!u.error);const m=u.error?0:u.duration||0;n+=m}r&&!i?e.duration=Math.max(n,e.duration):e.duration=n}removeEvent(e){e.reset(),delete this.eventMap[e.identifier]}}function Zo(s){return`[${s.event?'"'+s.event.identifier+'"':"primary"}: ${s.start.toFixed(2)}-${s.end.toFixed(2)}]`}class jc{constructor(e){this.hls=void 0,this.hls=e}destroy(){this.hls=null}loadAssetList(e,t){const n=e.assetListUrl;let r;try{r=Pu(n,this.hls.sessionId,e.baseUrl)}catch(k){const X=this.assignAssetListError(e,j.ASSET_LIST_LOAD_ERROR,k,n);this.hls.trigger(v.ERROR,X);return}t&&r.protocol!=="data:"&&r.searchParams.set("_HLS_start_offset",""+t);const i=this.hls.config,a=i.loader,u=new a(i),p={responseType:"json",url:r.href},m=i.interstitialAssetListLoadPolicy.default,y={loadPolicy:m,timeout:m.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},w={onSuccess:(k,X,$,Ie)=>{const Pe=k.data,ut=Pe==null?void 0:Pe.ASSETS;if(!Array.isArray(ut)){const yt=this.assignAssetListError(e,j.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),$.url,X,Ie);this.hls.trigger(v.ERROR,yt);return}e.assetListResponse=Pe,this.hls.trigger(v.ASSET_LIST_LOADED,{event:e,assetListResponse:Pe,networkDetails:Ie})},onError:(k,X,$,Ie)=>{const Pe=this.assignAssetListError(e,j.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${k.code} ${k.text} (${X.url})`),X.url,Ie,$);this.hls.trigger(v.ERROR,Pe)},onTimeout:(k,X,$)=>{const Ie=this.assignAssetListError(e,j.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${X.url})`),X.url,k,$);this.hls.trigger(v.ERROR,Ie)}};return u.load(p,y,w),this.hls.trigger(v.ASSET_LIST_LOADING,{event:e}),u}assignAssetListError(e,t,n,r,i,a){return e.error=n,{type:le.NETWORK_ERROR,details:t,fatal:!1,interstitial:e,url:r,error:n,networkDetails:a,stats:i}}}function Lu(s){var e;s==null||(e=s.play())==null||e.catch(()=>{})}function Ul(s,e){return`[${s}] Advancing timeline position to ${e}`}class Zc extends Z{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||!this.schedule)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(!0),this.checkBuffer(),a&&n<u.start||n>=u.end){var p;const X=this.findItemIndex(u);let $=this.schedule.findItemIndexAtTime(n);if($===-1&&($=X+(a?-1:1),this.log(`seeked ${a?"back ":""}to position not covered by schedule ${n} (resolving from ${X} to ${$})`)),!this.isInterstitial(u)&&(p=this.media)!=null&&p.paused&&(this.shouldPlay=!1),!a&&$>X){const Ie=this.schedule.findJumpRestrictedIndex(X+1,$);if(Ie>X){this.setSchedulePosition(Ie);return}}this.setSchedulePosition($);return}const m=this.playingAsset;if(!m){if(this.playingLastItem&&this.isInterstitial(u)){const X=u.event.assetList[0];X&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(n,X))}return}const y=m.timelineStart,w=m.duration||0;if(a&&n<y||n>=y+w){var k;(k=u.event)!=null&&k.appendInPlace&&(this.clearAssetPlayers(u.event,u),this.flushFrontBuffer(n)),this.setScheduleToAssetAtTime(n,m)}},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;if(!i)return;const a=this.playingItem,u=i.events||[],p=i.items||[],m=i.durations,y=n.map(Ie=>Ie.identifier),w=!!(u.length||y.length);(w||r)&&this.log(`INTERSTITIALS_UPDATED (${u.length}): ${u}
|
|
Schedule: ${p.map(Ie=>Zo(Ie))} pos: ${this.timelinePos}`),y.length&&this.log(`Removed events ${y}`);let k=null,X=null;a&&(k=this.updateItem(a,this.timelinePos),this.itemsMatch(a,k)?this.playingItem=k:this.waitingItem=this.endedItem=null),this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const $=this.bufferingItem;if($&&(X=this.updateItem($,this.bufferedPos),this.itemsMatch($,X)?this.bufferingItem=X:$.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial($.event,null))),n.forEach(Ie=>{Ie.assetList.forEach(Pe=>{this.clearAssetPlayer(Pe.identifier,null)})}),this.playerQueue.forEach(Ie=>{if(Ie.interstitial.appendInPlace){const Pe=Ie.assetItem.timelineStart,ut=Ie.timelineOffset-Pe;if(ut)try{Ie.timelineOffset=Pe}catch(yt){Math.abs(ut)>ml&&this.warn(`${yt} ("${Ie.assetId}" ${Ie.timelineOffset}->${Pe})`)}}}),w||r){if(this.hls.trigger(v.INTERSTITIALS_UPDATED,{events:u.slice(0),schedule:p.slice(0),durations:m,removedIds:y}),this.isInterstitial(a)&&y.includes(a.event.identifier)){this.warn(`Interstitial "${a.event.identifier}" removed while playing`),this.primaryFallback(a.event);return}a&&this.trimInPlace(k,a),$&&X!==k&&this.trimInPlace(X,$),this.checkBuffer()}},this.hls=e,this.HlsPlayerClass=t,this.assetListLoader=new jc(e),this.schedule=new Hc(this.onScheduleUpdate,e.logger),this.registerListeners()}registerListeners(){const e=this.hls;e&&(e.on(v.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(v.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(v.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.on(v.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(v.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.on(v.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.on(v.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.on(v.BUFFER_APPENDED,this.onBufferAppended,this),e.on(v.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(v.BUFFERED_TO_END,this.onBufferedToEnd,this),e.on(v.MEDIA_ENDED,this.onMediaEnded,this),e.on(v.ERROR,this.onError,this),e.on(v.DESTROYING,this.onDestroying,this))}unregisterListeners(){const e=this.hls;e&&(e.off(v.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(v.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(v.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),e.off(v.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(v.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),e.off(v.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),e.off(v.ASSET_LIST_LOADED,this.onAssetListLoaded,this),e.off(v.BUFFER_CODECS,this.onBufferCodecs,this),e.off(v.BUFFER_APPENDED,this.onBufferAppended,this),e.off(v.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(v.BUFFERED_TO_END,this.onBufferedToEnd,this),e.off(v.MEDIA_ENDED,this.onMediaEnded,this),e.off(v.ERROR,this.onError,this),e.off(v.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.schedule=this.manager=null,this.hls=this.HlsPlayerClass=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const e=this.primaryMedia||this.media;e&&this.removeMediaListeners(e)}removeMediaListeners(e){Ks(e,"play",this.onPlay),Ks(e,"pause",this.onPause),Ks(e,"seeking",this.onSeeking),Ks(e,"timeupdate",this.onTimeupdate)}onMediaAttaching(e,t){const n=this.media=t.media;Bs(n,"seeking",this.onSeeking),Bs(n,"timeupdate",this.onTimeupdate),Bs(n,"play",this.onPlay),Bs(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.log("clear schedule state"),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.log(`Removing schedule state for detachedData and ${i}`),this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,i.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.hls)return null;if(this.manager)return this.manager;const e=this,t=()=>e.bufferingItem||e.waitingItem,n=w=>w&&e.getAssetPlayer(w.identifier),r=(w,k,X,$,Ie)=>{if(w){let Pe=w[k].start;const ut=w.event;if(ut){if(k==="playout"||ut.timelineOccupancy!==Zl.Point){const yt=n(X);(yt==null?void 0:yt.interstitial)===ut&&(Pe+=yt.assetItem.startOffset+yt[Ie])}}else{const yt=$==="bufferedPos"?a():e[$];Pe+=yt-w.start}return Pe}return 0},i=(w,k)=>{var X;if(w!==0&&k!=="primary"&&(X=e.schedule)!=null&&X.length){var $;const Ie=e.schedule.findItemIndexAtTime(w),Pe=($=e.schedule.items)==null?void 0:$[Ie];if(Pe){const ut=Pe[k].start-Pe.start;return w+ut}}return w},a=()=>{const w=e.bufferedPos;return w===Number.MAX_VALUE?u("primary"):Math.max(w,0)},u=w=>{var k,X;return(k=e.primaryDetails)!=null&&k.live?e.primaryDetails.edge:((X=e.schedule)==null?void 0:X.durations[w])||0},p=(w,k)=>{var X,$;const Ie=e.effectivePlayingItem;if(Ie!=null&&(X=Ie.event)!=null&&X.restrictions.skip||!e.schedule)return;e.log(`seek to ${w} "${k}"`);const Pe=e.effectivePlayingItem,ut=e.schedule.findItemIndexAtTime(w,k),yt=($=e.schedule.items)==null?void 0:$[ut],wt=e.getBufferingPlayer(),Xt=wt==null?void 0:wt.interstitial,dn=Xt==null?void 0:Xt.appendInPlace,Yn=Pe&&e.itemsMatch(Pe,yt);if(Pe&&(dn||Yn)){const mn=n(e.playingAsset),Rn=(mn==null?void 0:mn.media)||e.primaryMedia;if(Rn){const Ln=k==="primary"?Rn.currentTime:r(Pe,k,e.playingAsset,"timelinePos","currentTime"),gn=w-Ln,yr=(dn?Ln:Rn.currentTime)+gn;if(yr>=0&&(!mn||dn||yr<=mn.duration)){Rn.currentTime=yr;return}}}if(yt){let mn=w;if(k!=="primary"){const Ln=yt[k].start,gn=w-Ln;mn=yt.start+gn}const Rn=!e.isInterstitial(yt);if((!e.isInterstitial(Pe)||Pe.event.appendInPlace)&&(Rn||yt.event.appendInPlace)){const Ln=e.media||(dn?wt==null?void 0:wt.media:null);Ln&&(Ln.currentTime=mn)}else if(Pe){const Ln=e.findItemIndex(Pe);if(ut>Ln){const yr=e.schedule.findJumpRestrictedIndex(Ln+1,ut);if(yr>Ln){e.setSchedulePosition(yr);return}}let gn=0;if(Rn)e.timelinePos=mn,e.checkBuffer();else{const yr=yt.event.assetList,Pi=w-(yt[k]||yt).start;for(let ea=yr.length;ea--;){const ga=yr[ea];if(ga.duration&&Pi>=ga.startOffset&&Pi<ga.startOffset+ga.duration){gn=ea;break}}}e.setSchedulePosition(ut,gn)}}},m=()=>{const w=e.effectivePlayingItem;if(e.isInterstitial(w))return w;const k=t();return e.isInterstitial(k)?k:null},y={get bufferedEnd(){const w=t(),k=e.bufferingItem;if(k&&k===w){var X;return r(k,"playout",e.bufferingAsset,"bufferedPos","bufferedEnd")-k.playout.start||((X=e.bufferingAsset)==null?void 0:X.startOffset)||0}return 0},get currentTime(){const w=m(),k=e.effectivePlayingItem;return k&&k===w?r(k,"playout",e.effectivePlayingAsset,"timelinePos","currentTime")-k.playout.start:0},set currentTime(w){const k=m(),X=e.effectivePlayingItem;X&&X===k&&p(w+X.playout.start,"playout")},get duration(){const w=m();return w?w.playout.end-w.playout.start:0},get assetPlayers(){var w;const k=(w=m())==null?void 0:w.event.assetList;return k?k.map(X=>e.getAssetPlayer(X.identifier)):[]},get playingIndex(){var w;const k=(w=m())==null?void 0:w.event;return k&&e.effectivePlayingAsset?k.findAssetIndex(e.effectivePlayingAsset):-1},get scheduleItem(){return m()}};return this.manager={get events(){var w;return((w=e.schedule)==null||(w=w.events)==null?void 0:w.slice(0))||[]},get schedule(){var w;return((w=e.schedule)==null||(w=w.items)==null?void 0:w.slice(0))||[]},get interstitialPlayer(){return m()?y:null},get playerQueue(){return e.playerQueue.slice(0)},get bufferingAsset(){return e.bufferingAsset},get bufferingItem(){return t()},get bufferingIndex(){const w=t();return e.findItemIndex(w)},get playingAsset(){return e.effectivePlayingAsset},get playingItem(){return e.effectivePlayingItem},get playingIndex(){const w=e.effectivePlayingItem;return e.findItemIndex(w)},primary:{get bufferedEnd(){return a()},get currentTime(){const w=e.timelinePos;return w>0?w:0},set currentTime(w){p(w,"primary")},get duration(){return u("primary")},get seekableStart(){var w;return((w=e.primaryDetails)==null?void 0:w.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(w){p(w,"integrated")},get duration(){return u("integrated")},get seekableStart(){var w;return i(((w=e.primaryDetails)==null?void 0:w.fragmentStart)||0,"integrated")}},skip:()=>{const w=e.effectivePlayingItem,k=w==null?void 0:w.event;if(k&&!k.restrictions.skip){const X=e.findItemIndex(w);if(k.appendInPlace){const $=w.playout.start+w.event.duration;p($+.001,"playout")}else e.advanceAfterAssetEnded(k,X,1/0)}}}}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;if(this.mediaSelection===null)return;const n=this.waitingItem||this.playingItem;if(this.isInterstitial(n)&&!n.event.appendInPlace)return;let r=this.media;!r&&(e=this.bufferingItem)!=null&&(e=e.event)!=null&&e.appendInPlace&&(r=this.primaryMedia);const i=(t=r)==null?void 0:t.currentTime;if(!(i===void 0||!c(i)))return i}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} ${kt(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,p=u&&e.interstitial.appendInPlace,m=(n=this.detachedData)==null?void 0:n.mediaSource;let y;if(a.media)p&&(i=a.transferMedia(),this.detachedData=i),y="Primary";else if(m){const $=this.getBufferingPlayer();$?(i=$.transferMedia(),y=`${$}`):y="detached MediaSource"}else y="detached media";if(!i){if(m)i=this.detachedData,this.log(`using detachedData: MediaSource ${kt(i)}`);else if(!this.detachedData||a.media===t){const $=this.playerQueue;$.length>1&&$.forEach(Ie=>{if(u&&Ie.interstitial.appendInPlace!==p){const Pe=Ie.interstitial;this.clearInterstitial(Ie.interstitial,null),Pe.appendInPlace=!1,Pe.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${Pe}`)}}),this.hls.detachMedia(),this.detachedData={media:t}}}const w=i&&"mediaSource"in i&&((r=i.mediaSource)==null?void 0:r.readyState)!=="closed",k=w&&i?i:t;this.log(`${w?"transfering MediaSource":"attaching media"} to ${u?e:"Primary"} from ${y} (media.currentTime: ${t.currentTime})`);const X=this.schedule;if(k===i&&X){const $=u&&e.assetId===X.assetIdAtEnd;k.overrides={duration:X.duration,endOfStream:!u||$,cueRemoval:!u}}e.attachMedia(k)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const e=this.schedule,t=e==null?void 0: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.log(Ul("checkStart",i)),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)}}advanceAssetBuffering(e,t){const n=e.event,r=n.findAssetIndex(t),i=iu(n,r);if(!n.isAssetPastPlayoutLimit(i))this.bufferedToEvent(e,i);else if(this.schedule){var a;const u=(a=this.schedule.items)==null?void 0:a[this.findItemIndex(e)+1];u&&this.bufferedToItem(u)}}advanceAfterAssetEnded(e,t,n){const r=iu(e,n);if(e.isAssetPastPlayoutLimit(r)){if(this.schedule){const i=this.schedule.items;if(i){const a=t+1,u=i.length;if(a>=u){this.setSchedulePosition(-1);return}const p=e.resumeTime;this.timelinePos<p&&(this.log(Ul("advanceAfterAssetEnded",p)),this.timelinePos=p,e.appendInPlace&&this.advanceInPlace(p),this.checkBuffer(this.bufferedPos<p)),this.setSchedulePosition(a)}}}else{if(e.appendInPlace){const i=e.assetList[r];i&&this.advanceInPlace(i.timelineStart)}this.setSchedulePosition(t,r)}}setScheduleToAssetAtTime(e,t){const n=this.schedule;if(!n)return;const r=t.parentIdentifier,i=n.getEvent(r);if(i){const a=n.findEventIndex(r),u=n.findAssetIndex(i,e);this.advanceAfterAssetEnded(i,a,u-1)}}setSchedulePosition(e,t){var n;const r=(n=this.schedule)==null?void 0:n.items;if(!r||this.playbackDisabled)return;const i=e>=0?r[e]:null;this.log(`setSchedulePosition ${e}, ${t} (${i&&Zo(i)}) pos: ${this.timelinePos}`);const a=this.waitingItem||this.playingItem,u=this.playingLastItem;if(this.isInterstitial(a)){const y=a.event,w=this.playingAsset,k=w==null?void 0:w.identifier,X=k?this.getAssetPlayer(k):null;if(X&&k&&(!this.eventItemsMatch(a,i)||t!==void 0&&k!==y.assetList[t].identifier)){var p;const $=y.findAssetIndex(w);if(this.log(`INTERSTITIAL_ASSET_ENDED ${$+1}/${y.assetList.length} ${pl(w)}`),this.endedAsset=w,this.playingAsset=null,this.hls.trigger(v.INTERSTITIAL_ASSET_ENDED,{asset:w,assetListIndex:$,event:y,schedule:r.slice(0),scheduleIndex:e,player:X}),a!==this.playingItem){this.itemsMatch(a,this.playingItem)&&!this.playingAsset&&this.advanceAfterAssetEnded(y,this.findItemIndex(this.playingItem),$);return}this.retreiveMediaSource(k,i),X.media&&!((p=this.detachedData)!=null&&p.mediaSource)&&X.detachMedia()}if(!this.eventItemsMatch(a,i)&&(this.endedItem=a,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${y} ${Zo(a)}`),y.hasPlayed=!0,this.hls.trigger(v.INTERSTITIAL_ENDED,{event:y,schedule:r.slice(0),scheduleIndex:e}),y.cue.once)){var m;this.updateSchedule();const $=(m=this.schedule)==null?void 0:m.items;if(i&&$){const Ie=this.findItemIndex(i);this.advanceSchedule(Ie,$,t,a,u)}return}}this.advanceSchedule(e,r,t,a,u)}advanceSchedule(e,t,n,r,i){const a=this.schedule;if(!a)return;const u=t[e]||null,p=this.primaryMedia,m=this.playerQueue;if(m.length&&m.forEach(y=>{const w=y.interstitial,k=a.findEventIndex(w.identifier);(k<e||k>e+1)&&this.clearInterstitial(w,u)}),this.isInterstitial(u)){this.timelinePos=Math.min(Math.max(this.timelinePos,u.start),u.end);const y=u.event;if(n===void 0){n=a.findAssetIndex(y,this.timelinePos);const $=iu(y,n-1);if(y.isAssetPastPlayoutLimit($)||y.appendInPlace&&this.timelinePos===u.end){this.advanceAfterAssetEnded(y,e,n);return}n=$}const w=this.waitingItem;this.assetsBuffered(u,p)||this.setBufferingItem(u);let k=this.preloadAssets(y,n);if(this.eventItemsMatch(u,w||r)||(this.waitingItem=u,this.log(`INTERSTITIAL_STARTED ${Zo(u)} ${y.appendInPlace?"append in place":""}`),this.hls.trigger(v.INTERSTITIAL_STARTED,{event:y,schedule:t.slice(0),scheduleIndex:e})),!y.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${y}`);return}if(y.assetListLoader&&(y.assetListLoader.destroy(),y.assetListLoader=void 0),!p){this.log(`Waiting for attachMedia to start Interstitial ${y}`);return}this.waitingItem=this.endedItem=null,this.playingItem=u;const X=y.assetList[n];if(!X){this.advanceAfterAssetEnded(y,e,n||0);return}if(k||(k=this.getAssetPlayer(X.identifier)),k===null||k.destroyed){const $=y.assetList.length;this.warn(`asset ${n+1}/${$} player destroyed ${y}`),k=this.createAssetPlayer(y,X,n),k.loadSource()}if(!this.eventItemsMatch(u,this.bufferingItem)&&y.appendInPlace&&this.isAssetBuffered(X))return;this.startAssetPlayer(k,n,t,e,p),this.shouldPlay&&Lu(k.media)}else u?(this.resumePrimary(u,e,r),this.shouldPlay&&Lu(this.hls.media)):i&&this.isInterstitial(r)&&(this.endedItem=null,this.playingItem=r,r.event.appendInPlace||this.attachPrimary(a.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var e;return(e=this.mediaSelection)==null?void 0:e.main.details}get primaryLive(){var e;return!!((e=this.primaryDetails)!=null&&e.live)}resumePrimary(e,t,n){var r,i;if(this.playingItem=e,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(e),this.log(`resuming ${Zo(e)}`),!((r=this.detachedData)!=null&&r.mediaSource)){let u=this.timelinePos;(u<e.start||u>=e.end)&&(u=this.getPrimaryResumption(e,t),this.log(Ul("resumePrimary",u)),this.timelinePos=u),this.attachPrimary(u,e)}if(!n)return;const a=(i=this.schedule)==null?void 0:i.items;a&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${Zo(e)}`),this.hls.trigger(v.INTERSTITIALS_PRIMARY_RESUMED,{schedule:a.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:or.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.log(Ul("attachPrimary",e)),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(){var e;this.stopLoad(),(e=this.schedule)==null||e.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(v.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(v.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(e,t){if(t.level===-1||!this.schedule)return;const n=this.hls.levels[t.level];if(!n.details)return;const r=L(L({},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=L(L({},this.altSelection),{},{audio:n});return}const i=L(L({},r),{},{audio:n});this.mediaSelection=i}onSubtitleTrackUpdated(e,t){const n=this.hls.subtitleTracks[t.id],r=this.mediaSelection;if(!r){this.altSelection=L(L({},this.altSelection),{},{subtitles:n});return}const i=L(L({},r),{},{subtitles:n});this.mediaSelection=i}onAudioTrackSwitching(e,t){const n=Mn(t);this.playerQueue.forEach(({hls:r})=>r&&(r.setAudioOption(t)||r.setAudioOption(n)))}onSubtitleTrackSwitch(e,t){const n=Mn(t);this.playerQueue.forEach(({hls:r})=>r&&(r.setSubtitleOption(t)||t.id!==-1&&r.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){if(!this.schedule)return;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){var n;const r=(n=this.schedule)==null?void 0:n.items;if(e&&r){const i=this.findItemIndex(e,t);return r[i]||null}return null}trimInPlace(e,t){if(this.isInterstitial(e)&&e.event.appendInPlace&&t.end-e.end>.25){e.event.assetList.forEach((i,a)=>{e.event.isAssetPastPlayoutLimit(a)&&this.clearAssetPlayer(i.identifier,null)});const n=e.end+.25,r=or.bufferInfo(this.primaryMedia,n,0);(r.end>n||(r.nextStart||0)>n)&&(this.log(`trim buffered interstitial ${Zo(e)} (was ${Zo(t)})`),this.attachPrimary(n,null,!0),this.flushFrontBuffer(n))}}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?this.schedule.findItemIndex(e,t):-1}updateSchedule(e=!1){var t;const n=this.mediaSelection;n&&((t=this.schedule)==null||t.updateSchedule(n,[],e))}checkBuffer(e){var t;const n=(t=this.schedule)==null?void 0:t.items;if(!n)return;const r=or.bufferInfo(this.primaryMedia,this.timelinePos,0);e&&(this.bufferedPos=this.timelinePos),e||(e=r.len<1),this.updateBufferedPos(r.end,n,e)}updateBufferedPos(e,t,n){const r=this.schedule,i=this.bufferingItem;if(this.bufferedPos>e||!r)return;if(t.length===1&&this.itemsMatch(t[0],i)){this.bufferedPos=e;return}const a=this.playingItem,u=this.findItemIndex(a);let p=r.findItemIndexAtTime(e);if(this.bufferedPos<e){var m;const y=this.findItemIndex(i),w=Math.min(y+1,t.length-1),k=t[w];if((p===-1&&i&&e>=i.end||(m=k.event)!=null&&m.appendInPlace&&e+.01>=k.start)&&(p=w),this.isInterstitial(i)){const X=i.event;if(w-u>1&&X.appendInPlace===!1||X.assetList.length===0&&X.assetListLoader)return}if(this.bufferedPos=e,p>y&&p>u)this.bufferedToItem(k);else{const X=this.primaryDetails;this.primaryLive&&X&&e>X.edge-X.targetduration&&k.start<X.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(k)&&this.preloadAssets(k.event,0)}}else n&&a&&!this.itemsMatch(a,i)&&(p===u?this.bufferedToItem(a):p===u+1&&this.bufferedToItem(t[p]))}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)&&n){const{items:r,events:i}=n;if(!r||!i)return t;const a=this.isInterstitial(e),u=this.getBufferingPlayer();this.bufferingItem=e,this.bufferedPos=Math.max(e.start,Math.min(e.end,this.timelinePos));const p=u?u.remaining:t?t.end-this.timelinePos:0;if(this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${Zo(e)}`+(t?` (${p.toFixed(2)} remaining)`:"")),!this.playbackDisabled)if(a){const m=n.findAssetIndex(e.event,this.bufferedPos);e.event.assetList.forEach((y,w)=>{const k=this.getAssetPlayer(y.identifier);k&&(w===m&&k.loadSource(),k.resumeBuffering())})}else this.hls.resumeBuffering(),this.playerQueue.forEach(m=>m.pauseBuffering());this.hls.trigger(v.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:i.slice(0),schedule:r.slice(0),bufferingIndex:this.findItemIndex(e),playingIndex:this.findItemIndex(this.playingItem)})}else this.bufferingItem!==e&&(this.bufferingItem=e);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=this.primaryMedia;u&&this.bufferAssetPlayer(a,u)}}}preloadAssets(e,t){const n=e.assetUrl,r=e.assetList.length,i=r===0&&!e.assetListLoader,a=e.cue.once;if(i){const p=e.timelineStart;if(e.appendInPlace){var u;const k=this.playingItem;!this.isInterstitial(k)&&(k==null||(u=k.nextEvent)==null?void 0:u.identifier)===e.identifier&&this.flushFrontBuffer(p+.25)}let m,y=0;if(!this.playingItem&&this.primaryLive&&(y=this.hls.startPosition,y===-1&&(y=this.hls.liveSyncPosition||0)),y&&!(e.cue.pre||e.cue.post)){const k=y-p;k>0&&(m=Math.round(k*1e3)/1e3)}if(this.log(`Load interstitial asset ${t+1}/${n?1:r} ${e}${m?` live-start: ${y} start-offset: ${m}`:""}`),n)return this.createAsset(e,0,0,p,e.duration,n);const w=this.assetListLoader.loadAssetList(e,m);w&&(e.assetListLoader=w)}else if(!a&&r){for(let m=t;m<r;m++){const y=e.assetList[m],w=this.getAssetPlayerQueueIndex(y.identifier);(w===-1||this.playerQueue[w].destroyed)&&!y.error&&this.createAssetPlayer(e,y,m)}const p=e.assetList[t];if(p){const m=this.getAssetPlayer(p.identifier);return m&&m.loadSource(),m}}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(v.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:Nc(e,a,t),duration:i,startOffset:n,timelineStart:r,uri:a};return this.createAssetPlayer(e,u,t)}createAssetPlayer(e,t,n){const r=this.hls,i=r.userConfig;let a=i.videoPreference;const u=r.loadLevelObj||r.levels[r.currentLevel];(a||u)&&(a=x({},a),u.videoCodec&&(a.videoCodec=u.videoCodec),u.videoRange&&(a.allowedVideoRanges=[u.videoRange]));const p=r.audioTracks[r.audioTrack],m=r.subtitleTracks[r.subtitleTrack];let y=0;if(this.primaryLive||e.appendInPlace){const Xt=this.timelinePos-t.timelineStart;if(Xt>1){const dn=t.duration;dn&&Xt<dn&&(y=Xt)}}const w=t.identifier,k=L(L({},i),{},{maxMaxBufferLength:Math.min(180,r.config.maxMaxBufferLength),autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:r.sessionId,assetPlayerId:w,abrEwmaDefaultEstimate:r.bandwidthEstimate,interstitialsController:void 0,startPosition:y,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:a,audioPreference:p||i.audioPreference,subtitlePreference:m||i.subtitlePreference});e.appendInPlace&&(e.appendInPlaceStarted=!0,t.timelineStart&&(k.timelineOffset=t.timelineStart));const X=k.cmcd;X!=null&&X.sessionId&&X.contentId&&(k.cmcd=x({},X,{contentId:Cl(t.uri)})),this.getAssetPlayer(w)&&this.warn(`Duplicate date range identifier ${e} and asset ${w}`);const $=new zc(this.HlsPlayerClass,k,e,t);this.playerQueue.push($),e.assetList[n]=t;let Ie=!0;const Pe=Xt=>{if(Xt.live){var dn;const Rn=new Error(`Interstitials MUST be VOD assets ${e}`),Ln={fatal:!0,type:le.OTHER_ERROR,details:j.INTERSTITIAL_ASSET_ITEM_ERROR,error:Rn},gn=((dn=this.schedule)==null?void 0:dn.findEventIndex(e.identifier))||-1;this.handleAssetItemError(Ln,e,gn,n,Rn.message);return}const Yn=Xt.edge-Xt.fragmentStart,mn=t.duration;(Ie||mn===null||Yn>mn)&&(Ie=!1,this.log(`Interstitial asset "${w}" duration change ${mn} > ${Yn}`),t.duration=Yn,this.updateSchedule())};$.on(v.LEVEL_UPDATED,(Xt,{details:dn})=>Pe(dn)),$.on(v.LEVEL_PTS_UPDATED,(Xt,{details:dn})=>Pe(dn)),$.on(v.EVENT_CUE_ENTER,()=>this.onInterstitialCueEnter());const ut=(Xt,dn)=>{const Yn=this.getAssetPlayer(w);if(Yn&&dn.tracks){Yn.off(v.BUFFER_CODECS,ut),Yn.tracks=dn.tracks;const mn=this.primaryMedia;this.bufferingAsset===Yn.assetItem&&mn&&!Yn.media&&this.bufferAssetPlayer(Yn,mn)}};$.on(v.BUFFER_CODECS,ut);const yt=()=>{var Xt;const dn=this.getAssetPlayer(w);if(this.log(`buffered to end of asset ${dn}`),!dn||!this.schedule)return;const Yn=this.schedule.findEventIndex(e.identifier),mn=(Xt=this.schedule.items)==null?void 0:Xt[Yn];this.isInterstitial(mn)&&this.advanceAssetBuffering(mn,t)};$.on(v.BUFFERED_TO_END,yt);const wt=Xt=>()=>{if(!this.getAssetPlayer(w)||!this.schedule)return;this.shouldPlay=!0;const Yn=this.schedule.findEventIndex(e.identifier);this.advanceAfterAssetEnded(e,Yn,Xt)};return $.once(v.MEDIA_ENDED,wt(n)),$.once(v.PLAYOUT_LIMIT_REACHED,wt(1/0)),$.on(v.ERROR,(Xt,dn)=>{if(!this.schedule)return;const Yn=this.getAssetPlayer(w);if(dn.details===j.BUFFER_STALLED_ERROR){if(Yn!=null&&Yn.appendInPlace){this.handleInPlaceStall(e);return}this.onTimeupdate(),this.checkBuffer(!0);return}this.handleAssetItemError(dn,e,this.schedule.findEventIndex(e.identifier),n,`Asset player error ${dn.error} ${e}`)}),$.on(v.DESTROYING,()=>{if(!this.getAssetPlayer(w)||!this.schedule)return;const dn=new Error(`Asset player destroyed unexpectedly ${w}`),Yn={fatal:!0,type:le.OTHER_ERROR,details:j.INTERSTITIAL_ASSET_ITEM_ERROR,error:dn};this.handleAssetItemError(Yn,e,this.schedule.findEventIndex(e.identifier),n,dn.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${pl(t)}`),this.hls.trigger(v.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:t,assetListIndex:n,event:e,player:$}),$}clearInterstitial(e,t){this.clearAssetPlayers(e,t),e.reset()}clearAssetPlayers(e,t){e.assetList.forEach(n=>{this.clearAssetPlayer(n.identifier,t)})}resetAssetPlayer(e){const t=this.getAssetPlayerQueueIndex(e);if(t!==-1){this.log(`reset asset player "${e}" after error`);const n=this.playerQueue[t];this.transferMediaFromPlayer(n,null),n.resetDetails()}}clearAssetPlayer(e,t){const n=this.getAssetPlayerQueueIndex(e);if(n!==-1){const r=this.playerQueue[n];this.log(`clear ${r} toSegment: ${t&&Zo(t)}`),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:p}=e,m=a.assetList.length,y=this.playingAsset;this.endedAsset=null,this.playingAsset=u,(!y||y.identifier!==p)&&(y&&(this.clearAssetPlayer(y.identifier,n[r]),delete y.error),this.log(`INTERSTITIAL_ASSET_STARTED ${t+1}/${m} ${pl(u)}`),this.hls.trigger(v.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;if(!this.schedule)return;const{interstitial:i,assetItem:a}=e,u=this.schedule.findEventIndex(i.identifier),p=(n=this.schedule.items)==null?void 0:n[u];if(!p)return;e.loadSource(),this.setBufferingItem(p),this.bufferingAsset=a;const m=this.getBufferingPlayer();if(m===e)return;const y=i.appendInPlace;if(y&&(m==null?void 0:m.interstitial.appendInPlace)===!1)return;const w=(m==null?void 0:m.tracks)||((r=this.detachedData)==null?void 0:r.tracks)||this.requiredTracks;if(y&&a!==this.playingAsset){if(!e.tracks){this.log(`Waiting for track info before buffering ${e}`);return}if(w&&!Le(w,e.tracks)){const k=new Error(`Asset ${pl(a)} SourceBuffer tracks ('${Object.keys(e.tracks)}') are not compatible with primary content tracks ('${Object.keys(w)}')`),X={fatal:!0,type:le.OTHER_ERROR,details:j.INTERSTITIAL_ASSET_ITEM_ERROR,error:k},$=i.findAssetIndex(a);this.handleAssetItemError(X,i,u,$,k.message);return}}this.transferMediaTo(e,t)}handleInPlaceStall(e){const t=this.schedule,n=this.primaryMedia;if(!t||!n)return;const r=n.currentTime,i=t.findAssetIndex(e,r),a=e.assetList[i];if(a){const u=this.getAssetPlayer(a.identifier);if(u){const p=u.currentTime||r-a.timelineStart,m=u.duration-p;if(this.warn(`Stalled at ${p} of ${p+m} in ${u} ${e} (media.currentTime: ${r})`),p&&(m/n.playbackRate<.5||u.bufferedInPlaceToEnd(n))&&u.hls){const y=t.findEventIndex(e.identifier);this.advanceAfterAssetEnded(e,y,i)}}}}advanceInPlace(e){const t=this.primaryMedia;t&&t.currentTime<e&&(t.currentTime=e)}handleAssetItemError(e,t,n,r,i){if(e.details===j.BUFFER_STALLED_ERROR)return;const a=t.assetList[r]||null;if(this.warn(`INTERSTITIAL_ASSET_ERROR ${a&&pl(a)} ${e.error}`),!this.schedule)return;const u=(a==null?void 0:a.identifier)||"",p=this.getAssetPlayerQueueIndex(u),m=this.playerQueue[p]||null,y=this.schedule.items,w=x({},e,{fatal:!1,errorAction:hn(!0),asset:a,assetListIndex:r,event:t,schedule:y,scheduleIndex:n,player:m});if(this.hls.trigger(v.INTERSTITIAL_ASSET_ERROR,w),!e.fatal)return;const k=this.playingAsset,X=this.bufferingAsset,$=new Error(i);if(a&&(this.clearAssetPlayer(u,null),a.error=$),!t.assetList.some(Ie=>!Ie.error))t.error=$;else for(let Ie=r;Ie<t.assetList.length;Ie++)this.resetAssetPlayer(t.assetList[Ie].identifier);this.updateSchedule(!0),t.error?this.primaryFallback(t):k&&k.identifier===u?this.advanceAfterAssetEnded(t,n,r):X&&X.identifier===u&&this.isInterstitial(this.bufferingItem)&&this.advanceAssetBuffering(this.bufferingItem,X)}primaryFallback(e){const t=e.timelineStart,n=this.effectivePlayingItem;let r=this.timelinePos;if(n){this.log(`Fallback to primary from event "${e.identifier}" start: ${t} pos: ${r} playing: ${Zo(n)} error: ${e.error}`),r===-1&&(r=this.hls.startPosition);const a=this.updateItem(n,r);this.itemsMatch(n,a)&&this.clearInterstitial(e,null),e.appendInPlace&&(this.attachPrimary(t,null),this.flushFrontBuffer(t))}else if(r===-1){this.checkStart();return}if(!this.schedule)return;const i=this.schedule.findItemIndexAtTime(r);this.setSchedulePosition(i)}onAssetListLoaded(e,t){var n,r;const i=t.event,a=i.identifier,u=t.assetListResponse.ASSETS;if(!((n=this.schedule)!=null&&n.hasEvent(a)))return;const p=i.timelineStart,m=i.duration;let y=0;u.forEach((Ie,Pe)=>{const ut=parseFloat(Ie.DURATION);this.createAsset(i,Pe,y,p+y,ut,Ie.URI),y+=ut}),i.duration=y,this.log(`Loaded asset-list with duration: ${y} (was: ${m}) ${i}`);const w=this.waitingItem,k=(w==null?void 0:w.event.identifier)===a;this.updateSchedule();const X=(r=this.bufferingItem)==null?void 0:r.event;if(k){var $;const Ie=this.schedule.findEventIndex(a),Pe=($=this.schedule.items)==null?void 0:$[Ie];if(Pe){if(!this.playingItem&&this.timelinePos>Pe.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==Ie){i.error=new Error(`Interstitial ${u.length?"no longer within playback range":"asset-list is empty"} ${this.timelinePos} ${i}`),this.log(i.error.message),this.updateSchedule(!0),this.primaryFallback(i);return}this.setBufferingItem(Pe)}this.setSchedulePosition(Ie)}else if((X==null?void 0:X.identifier)===a){const Ie=i.assetList[0];if(Ie){const Pe=this.getAssetPlayer(Ie.identifier);if(X.appendInPlace){const ut=this.primaryMedia;Pe&&ut&&this.bufferAssetPlayer(Pe,ut)}else Pe&&Pe.loadSource()}}}onError(e,t){if(this.schedule)switch(t.details){case j.ASSET_LIST_PARSING_ERROR:case j.ASSET_LIST_LOAD_ERROR:case j.ASSET_LIST_LOAD_TIMEOUT:{const n=t.interstitial;n&&(this.updateSchedule(!0),this.primaryFallback(n));break}case j.BUFFER_STALLED_ERROR:{const n=this.endedItem||this.waitingItem||this.playingItem;if(this.isInterstitial(n)&&n.event.appendInPlace){this.handleInPlaceStall(n.event);return}this.log(`Primary player stall @${this.timelinePos} bufferedPos: ${this.bufferedPos}`),this.onTimeupdate(),this.checkBuffer(!0);break}}}}const Ru=500;class Uc extends Bo{constructor(e,t,n){super(e,t,n,"subtitle-stream-controller",ee.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(v.LEVEL_LOADED,this.onLevelLoaded,this),e.on(v.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(v.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(v.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(v.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.on(v.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(v.LEVEL_LOADED,this.onLevelLoaded,this),e.off(v.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(v.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(v.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(v.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.off(v.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(e,t){this.stopLoad(),this.state=qn.IDLE,this.setInterval(Ru),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(this.fragContextChanged(n)||(Qe(n)&&(this.fragPrevious=n),this.state=qn.IDLE),!r)return;const i=this.tracksBuffered[this.currentTrackId];if(!i)return;let a;const u=n.start;for(let m=0;m<i.length;m++)if(u>=i[m].start&&u<=i[m].end){a=i[m];break}const p=n.start+n.duration;a?a.end=p:(a={start:u,end:p},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,ee.SUBTITLE)}}onError(e,t){const n=t.frag;(n==null?void 0:n.type)===ee.SUBTITLE&&(t.details===j.FRAG_GAP&&this.fragmentTracker.fragBuffered(n,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==qn.STOPPED&&(this.state=qn.IDLE))}onSubtitleTracksUpdated(e,{subtitleTracks:t}){if(this.levels&&Gs(this.levels,t)){this.levels=t.map(n=>new Tn(n));return}this.tracksBuffered=[],this.levels=t.map(n=>{const r=new Tn(n);return this.tracksBuffered[r.id]=[],r}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,ee.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!==qn.STOPPED&&this.setInterval(Ru)}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 p=i[u];if(u>=i.length||!p)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 m=0;if(a.live||(n=p.details)!=null&&n.live){if(a.deltaUpdateFailed)return;const w=this.mainDetails;if(!w){this.startFragRequested=!1;return}const k=w.fragments[0];if(!p.details)a.hasProgramDateTime&&w.hasProgramDateTime?(No(a,w),m=a.fragmentStart):k&&(m=k.start,Do(a,m));else{var y;m=this.alignPlaylists(a,p.details,(y=this.levelLastLoaded)==null?void 0:y.details),m===0&&k&&(m=k.start,Do(a,m))}w&&!this.startFragRequested&&this.setStartPosition(w,m)}p.details=a,this.levelLastLoaded=p,u===r&&(this.hls.trigger(v.SUBTITLE_TRACK_UPDATED,{details:a,id:u,groupId:t.groupId}),this.tick(),a.live&&!this.fragCurrent&&this.media&&this.state===qn.IDLE&&(Ii(null,a.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),p.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&&Ur(r.method)){const a=performance.now();this.decrypter.decrypt(new Uint8Array(n),r.key.buffer,r.iv.buffer,un(r.method)).catch(u=>{throw i.trigger(v.ERROR,{type:le.MEDIA_ERROR,details:j.FRAG_DECRYPT_ERROR,fatal:!1,error:u,reason:u.message,frag:t}),u}).then(u=>{const p=performance.now();i.trigger(v.FRAG_DECRYPTED,{frag:t,payload:u,stats:{tstart:a,tdecrypt:p}})}).catch(u=>{this.warn(`${u.name}: ${u.message}`),this.state=qn.IDLE})}}doTick(){if(!this.media){this.state=qn.IDLE;return}if(this.state===qn.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=or.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],i,r.maxBufferHole),{end:u,len:p}=a,m=n.details,y=this.hls.maxBufferLength+m.levelTargetDuration;if(p>y)return;const w=m.fragments,k=w.length,X=m.edge;let $=null;const Ie=this.fragPrevious;if(u<X){const yt=r.maxFragLookUpTolerance,wt=u>X-yt?0:yt;$=Ii(Ie,w,Math.max(w[0].start,u),wt),!$&&Ie&&Ie.start<w[0].start&&($=w[0])}else $=w[k-1];if($=this.filterReplacedPrimary($,n.details),!$)return;const Pe=$.sn-m.startSN,ut=w[Pe-1];if(ut&&ut.cc===$.cc&&this.fragmentTracker.getState(ut)===$t.NOT_LOADED&&($=ut),this.fragmentTracker.getState($)===$t.NOT_LOADED){const yt=this.mapToInitFragWhenRequired($);yt&&this.loadFragment(yt,n,u)}}}loadFragment(e,t,n){Qe(e)?super.loadFragment(e,t,n):this._loadInitSegment(e,t)}get mediaBufferTimeRanges(){return new Wc(this.tracksBuffered[this.currentTrackId]||[])}}class Wc{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 Kc={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},Ou=s=>String.fromCharCode(Kc[s]||s),Uo=15,$o=100,Gc={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},Vc={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Yc={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Xc={25:2,26:4,29:6,30:8,31:10,27:13,28:15},$c=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Qc{constructor(){this.time=null,this.verboseLevel=0}log(e,t){if(this.verboseLevel>=e){const n=typeof t=="function"?t():t;pe.log(`${this.time} [${e}] ${n}`)}}}const rl=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n].toString(16));return t};class Mu{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 Jc{constructor(){this.uchar=" ",this.penState=new Mu}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 qc{constructor(e){this.chars=[],this.pos=0,this.currPenState=new Mu,this.cueStartTime=null,this.logger=void 0;for(let t=0;t<$o;t++)this.chars.push(new Jc);this.logger=e}equals(e){for(let t=0;t<$o;t++)if(!this.chars[t].equals(e.chars[t]))return!1;return!0}copy(e){for(let t=0;t<$o;t++)this.chars[t].copy(e.chars[t])}isEmpty(){let e=!0;for(let t=0;t<$o;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>$o&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=$o)}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=Ou(e);if(this.pos>=$o){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<$o;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<$o;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 au{constructor(e){this.rows=[],this.currRow=Uo-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let t=0;t<Uo;t++)this.rows.push(new qc(e));this.logger=e}reset(){for(let e=0;e<Uo;e++)this.rows[e].clear();this.currRow=Uo-1}equals(e){let t=!0;for(let n=0;n<Uo;n++)if(!this.rows[n].equals(e.rows[n])){t=!1;break}return t}copy(e){for(let t=0;t<Uo;t++)this.rows[t].copy(e.rows[t])}isEmpty(){let e=!0;for(let t=0;t<Uo;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 = "+kt(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<Uo;u++)this.rows[u].clear();const i=this.currRow+1-this.nrRollUpRows,a=this.lastOutputScreen;if(a){const u=a.rows[i].cueStartTime,p=this.logger.time;if(u!==null&&p!==null&&u<p)for(let m=0;m<this.nrRollUpRows;m++)this.rows[t-this.nrRollUpRows+m+1].copy(a.rows[i+m])}}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 = "+kt(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<Uo;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 ku{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 au(n),this.nonDisplayedMemory=new au(n),this.lastOutputScreen=new au(n),this.currRollUpRow=this.displayedMemory.rows[Uo-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[Uo-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: "+kt(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=td(),this.logger=void 0;const r=this.logger=new Qc;this.channels=[null,new ku(e,t,r),new ku(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,()=>"["+rl([t[n],t[n+1]])+"] -> ("+rl([r,i])+")");const p=this.cmdHistory;if(r>=16&&r<=31){if(ed(r,i,p)){Wl(null,null,p),this.logger.log(3,()=>"Repeated command ("+rl([r,i])+") is dropped");continue}Wl(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 Wl(null,null,p);if(!a&&(u=this.parseChars(r,i),u)){const y=this.currentChannel;y&&y>0?this.channels[y].insertChars(u):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!a&&!u&&this.logger.log(2,()=>"Couldn't parse cleaned data "+rl([r,i])+" orig: "+rl([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 ("+rl([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?Gc[e]:Yc[e]:n=a===1?Vc[e]:Xc[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 '"+Ou(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 = "+rl(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=$c[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()}Wl(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 Wl(s,e,t){t.a=s,t.b=e}function ed(s,e,t){return t.a===s&&t.b===e}function td(){return{a:null,b:null}}var su=function(){if(Jr!=null&&Jr.VTTCue)return self.VTTCue;const s=["","lr","rl"],e=["start","middle","end","left","right"];function t(u,p){if(typeof p!="string"||!Array.isArray(u))return!1;const m=p.toLowerCase();return~u.indexOf(m)?m:!1}function n(u){return t(s,u)}function r(u){return t(e,u)}function i(u,...p){let m=1;for(;m<arguments.length;m++){const y=arguments[m];for(const w in y)u[w]=y[w]}return u}function a(u,p,m){const y=this,w={enumerable:!0};y.hasBeenReset=!1;let k="",X=!1,$=u,Ie=p,Pe=m,ut=null,yt="",wt=!0,Xt="auto",dn="start",Yn=50,mn="middle",Rn=50,Ln="middle";Object.defineProperty(y,"id",i({},w,{get:function(){return k},set:function(gn){k=""+gn}})),Object.defineProperty(y,"pauseOnExit",i({},w,{get:function(){return X},set:function(gn){X=!!gn}})),Object.defineProperty(y,"startTime",i({},w,{get:function(){return $},set:function(gn){if(typeof gn!="number")throw new TypeError("Start time must be set to a number.");$=gn,this.hasBeenReset=!0}})),Object.defineProperty(y,"endTime",i({},w,{get:function(){return Ie},set:function(gn){if(typeof gn!="number")throw new TypeError("End time must be set to a number.");Ie=gn,this.hasBeenReset=!0}})),Object.defineProperty(y,"text",i({},w,{get:function(){return Pe},set:function(gn){Pe=""+gn,this.hasBeenReset=!0}})),Object.defineProperty(y,"region",i({},w,{get:function(){return ut},set:function(gn){ut=gn,this.hasBeenReset=!0}})),Object.defineProperty(y,"vertical",i({},w,{get:function(){return yt},set:function(gn){const yr=n(gn);if(yr===!1)throw new SyntaxError("An invalid or illegal string was specified.");yt=yr,this.hasBeenReset=!0}})),Object.defineProperty(y,"snapToLines",i({},w,{get:function(){return wt},set:function(gn){wt=!!gn,this.hasBeenReset=!0}})),Object.defineProperty(y,"line",i({},w,{get:function(){return Xt},set:function(gn){if(typeof gn!="number"&&gn!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Xt=gn,this.hasBeenReset=!0}})),Object.defineProperty(y,"lineAlign",i({},w,{get:function(){return dn},set:function(gn){const yr=r(gn);if(!yr)throw new SyntaxError("An invalid or illegal string was specified.");dn=yr,this.hasBeenReset=!0}})),Object.defineProperty(y,"position",i({},w,{get:function(){return Yn},set:function(gn){if(gn<0||gn>100)throw new Error("Position must be between 0 and 100.");Yn=gn,this.hasBeenReset=!0}})),Object.defineProperty(y,"positionAlign",i({},w,{get:function(){return mn},set:function(gn){const yr=r(gn);if(!yr)throw new SyntaxError("An invalid or illegal string was specified.");mn=yr,this.hasBeenReset=!0}})),Object.defineProperty(y,"size",i({},w,{get:function(){return Rn},set:function(gn){if(gn<0||gn>100)throw new Error("Size must be between 0 and 100.");Rn=gn,this.hasBeenReset=!0}})),Object.defineProperty(y,"align",i({},w,{get:function(){return Ln},set:function(gn){const yr=r(gn);if(!yr)throw new SyntaxError("An invalid or illegal string was specified.");Ln=yr,this.hasBeenReset=!0}})),y.displayState=void 0}return a.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},a}();class nd{decode(e,t){if(!e)return"";if(typeof e!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}function Bu(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 rd{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 Fu(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],p=a[1];e(u,p)}}const ou=new su(0,0,""),Kl=ou.align==="middle"?"middle":"center";function id(s,e,t){const n=s;function r(){const u=Bu(s);if(u===null)throw new Error("Malformed timestamp: "+n);return s=s.replace(/^[^\sa-zA-Z-]+/,""),u}function i(u,p){const m=new rd;Fu(u,function(k,X){let $;switch(k){case"region":for(let Ie=t.length-1;Ie>=0;Ie--)if(t[Ie].id===X){m.set(k,t[Ie].region);break}break;case"vertical":m.alt(k,X,["rl","lr"]);break;case"line":$=X.split(","),m.integer(k,$[0]),m.percent(k,$[0])&&m.set("snapToLines",!1),m.alt(k,$[0],["auto"]),$.length===2&&m.alt("lineAlign",$[1],["start",Kl,"end"]);break;case"position":$=X.split(","),m.percent(k,$[0]),$.length===2&&m.alt("positionAlign",$[1],["start",Kl,"end","line-left","line-right","auto"]);break;case"size":m.percent(k,X);break;case"align":m.alt(k,X,["start",Kl,"end","left","right"]);break}},/:/,/\s/),p.region=m.get("region",null),p.vertical=m.get("vertical","");let y=m.get("line","auto");y==="auto"&&ou.line===-1&&(y=-1),p.line=y,p.lineAlign=m.get("lineAlign","start"),p.snapToLines=m.get("snapToLines",!0),p.size=m.get("size",100),p.align=m.get("align",Kl);let w=m.get("position","auto");w==="auto"&&ou.position===50&&(w=p.align==="start"||p.align==="left"?0:p.align==="end"||p.align==="right"?100:50),p.position=w}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 zu(s){return s.replace(/<br(?: \/)?>/gi,`
|
|
`)}class ad{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new nd,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=zu(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){Fu(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 su(0,0,""),t.state="CUE",i.indexOf("-->")===-1){t.cue.id=i;continue}case"CUE":if(!t.cue){t.state="BADCUE";continue}try{id(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 sd=/\r\n|\n\r|\n|\r/g,lu=function(e,t,n=0){return e.slice(n,n+t.length)===t},od=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(!c(t)||!c(n)||!c(r)||!c(i))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${e}`);return t+=1e3*n,t+=60*1e3*r,t+=60*60*1e3*i,t};function uu(s,e,t){return Cl(s.toString())+Cl(e.toString())+Cl(t)}const ld=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 ud(s,e,t,n,r,i,a){const u=new ad,p=it(new Uint8Array(s)).trim().replace(sd,`
|
|
`).split(`
|
|
`),m=[],y=e?$a(e.baseTime,e.timescale):0;let w="00:00.000",k=0,X=0,$,Ie=!0;u.oncue=function(Pe){const ut=t[n];let yt=t.ccOffset;const wt=(k-y)/9e4;if(ut!=null&&ut.new&&(X!==void 0?yt=t.ccOffset=ut.start:ld(t,n,wt)),wt){if(!e){$=new Error("Missing initPTS for VTT MPEGTS");return}yt=wt-t.presentationOffset}const Xt=Pe.endTime-Pe.startTime,dn=qa((Pe.startTime+yt-X)*9e4,r*9e4)/9e4;Pe.startTime=Math.max(dn,0),Pe.endTime=Math.max(dn+Xt,0);const Yn=Pe.text.trim();Pe.text=decodeURIComponent(encodeURIComponent(Yn)),Pe.id||(Pe.id=uu(Pe.startTime,Pe.endTime,Yn)),Pe.endTime>0&&m.push(Pe)},u.onparsingerror=function(Pe){$=Pe},u.onflush=function(){if($){a($);return}i(m)},p.forEach(Pe=>{if(Ie)if(lu(Pe,"X-TIMESTAMP-MAP=")){Ie=!1,Pe.slice(16).split(",").forEach(ut=>{lu(ut,"LOCAL:")?w=ut.slice(6):lu(ut,"MPEGTS:")&&(k=parseInt(ut.slice(7)))});try{X=od(w)/1e3}catch(ut){$=ut}return}else Pe===""&&(Ie=!1);u.parse(Pe+`
|
|
`)}),u.flush()}const cu="stpp.ttml.im1t",Hu=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,ju=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,cd={left:"start",center:"center",right:"end",start:"start",end:"end"};function Zu(s,e,t,n){const r=oe(new Uint8Array(s),["mdat"]);if(r.length===0){n(new Error("Could not parse IMSC1 mdat"));return}const i=r.map(u=>it(u)),a=la(e.baseTime,1,e.timescale);try{i.forEach(u=>t(dd(u,a)))}catch(u){n(u)}}function dd(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((w,k)=>(w[k]=r.getAttribute(`ttp:${k}`)||i[k],w),{}),u=r.getAttribute("xml:space")!=="preserve",p=Uu(du(r,"styling","style")),m=Uu(du(r,"layout","region")),y=du(r,"body","[begin]");return[].map.call(y,w=>{const k=Wu(w,u);if(!k||!w.hasAttribute("begin"))return null;const X=hu(w.getAttribute("begin"),a),$=hu(w.getAttribute("dur"),a);let Ie=hu(w.getAttribute("end"),a);if(X===null)throw Ku(w);if(Ie===null){if($===null)throw Ku(w);Ie=X+$}const Pe=new su(X-e,Ie-e,k);Pe.id=uu(Pe.startTime,Pe.endTime,Pe.text);const ut=m[w.getAttribute("region")],yt=p[w.getAttribute("style")],wt=fd(ut,yt,p),{textAlign:Xt}=wt;if(Xt){const dn=cd[Xt];dn&&(Pe.lineAlign=dn),Pe.align=Xt}return x(Pe,wt),Pe}).filter(w=>w!==null)}function du(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 Wu(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?Wu(n,e):e?t+n.textContent.trim().replace(/\s+/g," "):t+n.textContent},"")}function fd(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,p)=>{const m=fu(e,n,p)||fu(s,n,p)||fu(r,n,p);return m&&(u[p]=m),u},{})}function fu(s,e,t){return s&&s.hasAttributeNS(e,t)?s.getAttributeNS(e,t):null}function Ku(s){return new Error(`Could not parse ttml timestamp ${s}`)}function hu(s,e){if(!s)return null;let t=Bu(s);return t===null&&(Hu.test(s)?t=hd(s,e):ju.test(s)&&(t=md(s,e))),t}function hd(s,e){const t=Hu.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 md(s,e){const t=ju.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 Gl{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 pd{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=Yu(),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(v.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(v.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(v.FRAG_LOADING,this.onFragLoading,this),e.on(v.FRAG_LOADED,this.onFragLoaded,this),e.on(v.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.on(v.FRAG_DECRYPTED,this.onFragDecrypted,this),e.on(v.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(v.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.on(v.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:e}=this;e.off(v.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(v.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(v.FRAG_LOADING,this.onFragLoading,this),e.off(v.FRAG_LOADED,this.onFragLoaded,this),e.off(v.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.off(v.FRAG_DECRYPTED,this.onFragDecrypted,this),e.off(v.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(v.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.off(v.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const e=new Gl(this,"textTrack1"),t=new Gl(this,"textTrack2"),n=new Gl(this,"textTrack3"),r=new Gl(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 p=i[u],m=vd(p[0],p[1],t,n);if(m>=0&&(p[0]=Math.min(p[0],t),p[1]=Math.max(p[1],n),a=!0,m/(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(v.CUES_PARSED,{type:"captions",cues:u,track:e})}}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i,trackId:a}){const{unparsedVttFrags:u}=this;n===ee.MAIN&&(this.initPTS[t.cc]={baseTime:r,timescale:i,trackId:a}),u.length&&(this.unparsedVttFrags=[],u.forEach(p=>{this.initPTS[p.frag.cc]?this.onFragLoaded(v.FRAG_LOADED,p):this.hls.trigger(v.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:p.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(e,t){const{media:n}=this;if(n)for(let r=0;r<n.textTracks.length;r++){const i=n.textTracks[r];if(Vu(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,hl(n[e]),Tu(n[e],r);else{const p=this.createTextTrack("captions",i,a);p&&(p[e]=!0,n[e]=p)}}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(v.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=>{hl(r[i]),delete r[i]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Yu(),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++)hl(t[n])}onSubtitleTracksUpdated(e,t){const n=t.subtitleTracks||[],r=n.some(i=>i.textCodec===cu);if(this.config.enableWebVTT||r&&this.config.enableIMSC1){if(Gs(this.tracks,n)){this.tracks=n;return}if(this.textTracks=[],this.tracks=n,this.config.renderTextTracksNatively){const a=this.media,u=a?jl(a.textTracks):null;if(this.tracks.forEach((p,m)=>{let y;if(u){let w=null;for(let k=0;k<u.length;k++)if(u[k]&&Vu(u[k],p)){w=u[k],u[k]=null;break}w&&(y=w)}if(y)hl(y);else{const w=Gu(p);y=this.createTextTrack(w,p.name,p.lang),y&&(y.mode="disabled")}y&&this.textTracks.push(y)}),u!=null&&u.length){const p=u.filter(m=>m!==null).map(m=>m.label);p.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${p.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(v.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===ee.MAIN){var n,r;const{cea608Parser1:i,cea608Parser2:a,lastSn:u}=this,{cc:p,sn:m}=t.frag,y=(n=(r=t.part)==null?void 0:r.index)!=null?n:-1;i&&a&&(m!==u+1||m===u&&y!==this.lastPartIndex+1||p!==this.lastCc)&&(i.reset(),a.reset()),this.lastCc=p,this.lastSn=m,this.lastPartIndex=y}}onFragLoaded(e,t){const{frag:n,payload:r}=t;if(n.type===ee.SUBTITLE)if(r.byteLength){const i=n.decryptdata,a="stats"in t;if(i==null||!i.encrypted||a){const u=this.tracks[n.level],p=this.vttCCs;p[n.cc]||(p[n.cc]={start:n.start,prevCC:this.prevCC,new:!0},this.prevCC=n.cc),u&&u.textCodec===cu?this._parseIMSC1(n,r):this._parseVTTs(t)}}else this.hls.trigger(v.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:new Error("Empty subtitle payload")})}_parseIMSC1(e,t){const n=this.hls;Zu(t,this.initPTS[e.cc],r=>{this._appendCues(r,e.level),n.trigger(v.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})},r=>{n.logger.log(`Failed to parse IMSC1: ${r}`),n.trigger(v.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 p=this.hls,m=(t=n.initSegment)!=null&&t.data?xt(n.initSegment.data,new Uint8Array(r)).buffer:r;ud(m,this.initPTS[n.cc],this.vttCCs,n.cc,n.start,y=>{this._appendCues(y,n.level),p.trigger(v.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:n})},y=>{const w=y.message==="Missing initPTS for VTT MPEGTS";w?a.push(e):this._fallbackToIMSC1(n,r),p.logger.log(`Failed to parse VTT cue: ${y}`),!(w&&u>n.cc)&&p.trigger(v.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:y})})}_fallbackToIMSC1(e,t){const n=this.tracks[e.level];n.textCodec||Zu(t,this.initPTS[e.cc],()=>{n.textCodec=cu,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=>Du(r,i))}else{const r=this.tracks[t];if(!r)return;const i=r.default?"default":"subtitles"+t;n.trigger(v.CUES_PARSED,{type:"subtitles",cues:e,track:i})}}onFragDecrypted(e,t){const{frag:n}=t;n.type===ee.SUBTITLE&&this.onFragLoaded(v.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===ee.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(p=>nu(u[p],t,n))}if(this.config.renderTextTracksNatively&&t===0&&r!==void 0){const{textTracks:u}=this;Object.keys(u).forEach(p=>nu(u[p],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++],p=127&e[r++];if(u===0&&p===0)continue;if((4&a)!==0){const y=3&a;(y===0||y===1)&&(t[y].push(u),t[y].push(p))}}return t}}function Gu(s){return s.characteristics&&/transcribes-spoken-dialog/gi.test(s.characteristics)&&/describes-music-and-sound/gi.test(s.characteristics)?"captions":"subtitles"}function Vu(s,e){return!!s&&s.kind===Gu(e)&&Lo(e,s)}function vd(s,e,t,n){return Math.min(e,n)-Math.max(s,t)}function Yu(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const gd=/\s/,yd={newCue(s,e,t,n){const r=[];let i,a,u,p,m;const y=self.VTTCue||self.TextTrackCue;for(let k=0;k<n.rows.length;k++)if(i=n.rows[k],u=!0,p=0,m="",!i.isEmpty()){var w;for(let Ie=0;Ie<i.chars.length;Ie++)gd.test(i.chars[Ie].uchar)&&u?p++:(m+=i.chars[Ie].uchar,u=!1);i.cueStartTime=e,e===t&&(t+=1e-4),p>=16?p--:p++;const X=zu(m.trim()),$=uu(e,t,X);s!=null&&(w=s.cues)!=null&&w.getCueById($)||(a=new y(e,t,X),a.id=$,a.line=k+1,a.align="left",a.position=10+Math.min(80,Math.floor(p*8/32)*10),r.push(a))}return s&&r.length&&(r.sort((k,X)=>k.line==="auto"||X.line==="auto"?0:k.line>8&&X.line>8?X.line-k.line:k.line-X.line),r.forEach(k=>Du(s,k))),r}};function bd(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(s){}return!1}const xd=/(\d+)-(\d+)\/(\d+)/;class Xu{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||wd,this.controller=new self.AbortController,this.stats=new I}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=Ed(e,this.controller.signal),a=e.responseType==="arraybuffer",u=a?"byteLength":"length",{maxTimeToFirstByteMs:p,maxLoadTimeMs:m}=t.loadPolicy;this.context=e,this.config=t,this.callbacks=n,this.request=this.fetchSetup(e,i),self.clearTimeout(this.requestTimeout),t.timeout=p&&c(p)?p:m,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(r,e,this.response))},t.timeout),(is(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(w=>{var k;this.response=this.loader=w;const X=Math.max(self.performance.now(),r.loading.start);if(self.clearTimeout(this.requestTimeout),t.timeout=m,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(r,e,this.response))},m-(X-r.loading.start)),!w.ok){const{status:Ie,statusText:Pe}=w;throw new Cd(Pe||"fetch, bad network response",Ie,w)}r.loading.first=X,r.total=Sd(w.headers)||r.total;const $=(k=this.callbacks)==null?void 0:k.onProgress;return $&&c(t.highWaterMark)?this.loadProgressively(w,r,e,t.highWaterMark,$):a?w.arrayBuffer():e.responseType==="json"?w.json():w.text()}).then(w=>{var k,X;const $=this.response;if(!$)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),r.loading.end=Math.max(self.performance.now(),r.loading.first);const Ie=w[u];Ie&&(r.loaded=r.total=Ie);const Pe={url:$.url,data:w,code:$.status},ut=(k=this.callbacks)==null?void 0:k.onProgress;ut&&!c(t.highWaterMark)&&ut(r,e,w,$),(X=this.callbacks)==null||X.onSuccess(Pe,r,e,$)}).catch(w=>{var k;if(self.clearTimeout(this.requestTimeout),r.aborted)return;const X=w&&w.code||0,$=w?w.message:null;(k=this.callbacks)==null||k.onError({code:X,text:$},e,w?w.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 ps,u=e.body.getReader(),p=()=>u.read().then(m=>{if(m.done)return a.dataLength&&i(t,n,a.flush().buffer,e),Promise.resolve(new ArrayBuffer(0));const y=m.value,w=y.length;return t.loaded+=w,w<r||a.dataLength?(a.push(y),a.dataLength>=r&&i(t,n,a.flush().buffer,e)):i(t,n,y.buffer,e),p()}).catch(()=>Promise.reject());return p()}}function Ed(s,e){const t={method:"GET",mode:"cors",credentials:"same-origin",signal:e,headers:new self.Headers(x({},s.headers))};return s.rangeEnd&&t.headers.set("Range","bytes="+s.rangeStart+"-"+String(s.rangeEnd-1)),t}function _d(s){const e=xd.exec(s);if(e)return parseInt(e[2])-parseInt(e[1])+1}function Sd(s){const e=s.get("Content-Range");if(e){const n=_d(e);if(c(n))return n}const t=s.get("Content-Length");if(t)return parseInt(t)}function wd(s,e){return new self.Request(s.url,e)}class Cd extends Error{constructor(e,t,n){super(e),this.code=void 0,this.details=void 0,this.code=t,this.details=n}}const Ad=/^age:\s*[\d.]+\s*$/im;class $u{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 I,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&&c(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 m=t.status,y=t.responseType==="text"?t.responseText:null;if(m>=200&&m<300){const $=y!=null?y:t.response;if($!=null){var a,u;n.loading.end=Math.max(self.performance.now(),n.loading.first);const Ie=t.responseType==="arraybuffer"?$.byteLength:$.length;n.loaded=n.total=Ie,n.bwEstimate=n.total*8e3/(n.loading.end-n.loading.first);const Pe=(a=this.callbacks)==null?void 0:a.onProgress;Pe&&Pe(n,e,$,t);const ut={url:t.responseURL,data:$,code:m};(u=this.callbacks)==null||u.onSuccess(ut,n,e,t);return}}const w=i.loadPolicy.errorRetry,k=n.retry,X={url:e.url,data:void 0,code:m};if(Zt(w,k,!1,X))this.retry(w);else{var p;pe.error(`${m} while loading ${e.url}`),(p=this.callbacks)==null||p.onError({code:m,text:t.statusText},e,t,n)}}}loadtimeout(){if(!this.config)return;const e=this.config.loadPolicy.timeoutRetry,t=this.stats.retry;if(Zt(e,t,!0))this.retry(e);else{var n;pe.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=Li(e,n.retry),n.retry++,pe.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&&Ad.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 Td={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Dd=L(L({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:$u,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Ei,bufferController:pa,capLevelController:ao,errorController:en,fpsController:Lc,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:Ta,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:Td},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},Pd()),{},{subtitleStreamController:Uc,subtitleTrackController:Mc,timelineController:pd,audioStreamController:zs,audioTrackController:vs,emeController:fl,cmcdController:Tc,contentSteeringController:Pc,interstitialsController:Zc});function Pd(){return{cueHandler:yd,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 Id(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=mu(s),r=["manifest","level","frag"],i=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return r.forEach(a=>{const u=`${a==="level"?"playlist":a}LoadPolicy`,p=e[u]===void 0,m=[];i.forEach(y=>{const w=`${a}Loading${y}`,k=e[w];if(k!==void 0&&p){m.push(w);const X=n[u].default;switch(e[u]={default:X},y){case"TimeOut":X.maxLoadTimeMs=k,X.maxTimeToFirstByteMs=k;break;case"MaxRetry":X.errorRetry.maxNumRetry=k,X.timeoutRetry.maxNumRetry=k;break;case"RetryDelay":X.errorRetry.retryDelayMs=k,X.timeoutRetry.retryDelayMs=k;break;case"MaxRetryTimeout":X.errorRetry.maxRetryDelayMs=k,X.timeoutRetry.maxRetryDelayMs=k;break}}}),m.length&&t.warn(`hls.js config: "${m.join('", "')}" setting(s) are deprecated, use "${u}": ${kt(e[u])}`)}),L(L({},n),e)}function mu(s){return s&&typeof s=="object"?Array.isArray(s)?s.map(mu):Object.keys(s).reduce((e,t)=>(e[t]=mu(s[t]),e),{}):s}function Ld(s,e){const t=s.loader;t!==Xu&&t!==$u?(e.log("[config]: Custom loader detected, cannot enable progressive streaming"),s.progressive=!1):bd()&&(s.loader=Xu,s.progressive=!0,s.enableSoftwareAES=!0,e.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Vl=2,Rd=.1,Od=.05,Md=100;class kd extends fa{constructor(e,t){super("gap-controller",e.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var 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(v.MEDIA_ENDED,{stalled:!1})}},this.hls=e,this.fragmentTracker=t,this.registerListeners()}registerListeners(){const{hls:e}=this;e&&(e.on(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(v.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(v.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(Md),this.mediaSource=t.mediaSource;const n=this.media=t.media;Bs(n,"playing",this.onMediaPlaying),Bs(n,"waiting",this.onMediaWaiting),Bs(n,"ended",this.onMediaEnded)}onMediaDetaching(e,t){this.clearInterval();const{media:n}=this;n&&(Ks(n,"playing",this.onMediaPlaying),Ks(n,"waiting",this.onMediaWaiting),Ks(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 a=this.media;if(!a)return;const{seeking:u}=a,p=this.seeking&&!u,m=!this.seeking&&u,y=a.paused&&!u||a.ended||a.playbackRate===0;if(this.seeking=u,e!==t){t&&(this.ended=0),this.moved=!0,u||(this.nudgeRetry=0,i.nudgeOnVideoHole&&!y&&e>t&&this.nudgeOnVideoHole(e,t)),this.waiting===0&&this.stallResolved(e);return}if(m||p){p&&this.stallResolved(e);return}if(y){this.nudgeRetry=0,this.stallResolved(e),!this.ended&&a.ended&&this.hls&&(this.ended=e||1,this.hls.trigger(v.MEDIA_ENDED,{stalled:!1}));return}if(!or.getBuffered(a).length){this.nudgeRetry=0;return}const w=or.bufferInfo(a,e,0),k=w.nextStart||0,X=this.fragmentTracker;if(u&&X&&this.hls){const Yn=Qu(this.hls.inFlightFragments,e),mn=w.len>Vl,Rn=!k||Yn||k-e>Vl&&!X.getPartialFragment(e);if(mn||Rn)return;this.moved=!1}const $=(r=this.hls)==null?void 0:r.latestLevelDetails;if(!this.moved&&this.stalled!==null&&X){if(!(w.len>0)&&!k)return;const mn=Math.max(k,w.start||0)-e,Ln=!!($!=null&&$.live)?$.targetduration*2:Vl,gn=Yl(e,X);if(mn>0&&(mn<=Ln||gn)){a.paused||this._trySkipBufferHole(gn);return}}const Ie=i.detectStallWithCurrentTimeMs,Pe=self.performance.now(),ut=this.waiting;let yt=this.stalled;if(yt===null)if(ut>0&&Pe-ut<Ie)yt=this.stalled=ut;else{this.stalled=Pe;return}const wt=Pe-yt;if(!u&&(wt>=Ie||ut)&&this.hls){var Xt;if(((Xt=this.mediaSource)==null?void 0:Xt.readyState)==="ended"&&!($!=null&&$.live)&&Math.abs(e-(($==null?void 0:$.edge)||0))<1){if(this.ended)return;this.ended=e||1,this.hls.trigger(v.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(w),!this.media||!this.hls)return}const dn=or.bufferInfo(a,e,i.maxBufferHole);this._tryFixBufferStall(dn,wt,e)}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(v.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=or.bufferedInfo(or.timeRangesToArray(this.buffered.audio),e,0);if(i.len>1&&t>=i.start){const a=or.timeRangesToArray(r),u=or.bufferedInfo(a,t,0).bufferedIndex;if(u>-1&&u<a.length-1){const p=or.bufferedInfo(a,e,0).bufferedIndex,m=a[u].end,y=a[u+1].start;if((p===-1||p>u)&&y-m<1&&e-m<2){const w=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${e} hole: ${m} -> ${y} buffered index: ${p}`);this.warn(w.message),this.media.currentTime+=1e-6;let k=Yl(e,this.fragmentTracker);k&&"fragment"in k?k=k.fragment:k||(k=void 0);const X=or.bufferInfo(this.media,e,0);this.hls.trigger(v.ERROR,{type:le.MEDIA_ERROR,details:j.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:w,reason:w.message,frag:k,buffer:X.len,bufferInfo:X})}}}}}_tryFixBufferStall(e,t,n){var r,i;const{fragmentTracker:a,media:u}=this,p=(r=this.hls)==null?void 0:r.config;if(!u||!a||!p)return;const m=(i=this.hls)==null?void 0:i.latestLevelDetails,y=Yl(n,a);if((y||m!=null&&m.live&&n<m.fragmentStart)&&(this._trySkipBufferHole(y)||!this.media))return;const w=e.buffered,k=this.adjacentTraversal(e,n);(w&&w.length>1&&e.len>p.maxBufferHole||e.nextStart&&(e.nextStart-n<p.maxBufferHole||k))&&(t>p.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(e))}adjacentTraversal(e,t){const n=this.fragmentTracker,r=e.nextStart;if(n&&r){const i=n.getFragAtPos(t,ee.MAIN),a=n.getFragAtPos(r,ee.MAIN);if(i&&a)return a.sn-i.sn<2}return!1}_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 (${kt(e)})`);this.warn(a.message),t.trigger(v.ERROR,{type:le.MEDIA_ERROR,details:j.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=or.bufferInfo(r,a,0),p=a<u.start?u.start:u.nextStart;if(p&&this.hls){const y=u.len<=i.maxBufferHole,w=u.len>0&&u.len<1&&r.readyState<3,k=p-a;if(k>0&&(y||w)){if(k>i.maxBufferHole){let $=!1;if(a===0){const Ie=n.getAppendedFrag(0,ee.MAIN);Ie&&p<Ie.end&&($=!0)}if(!$&&e){var m;if(!((m=this.hls.loadLevelObj)!=null&&m.details)||Qu(this.hls.inFlightFragments,p))return 0;let Pe=!1,ut=e.end;for(;ut<p;){const yt=Yl(ut,n);if(yt)ut+=yt.duration;else{Pe=!0;break}}if(Pe)return 0}}const X=Math.max(p+Od,a+Rd);if(this.warn(`skipping hole, adjusting currentTime from ${a} to ${X}`),this.moved=!0,r.currentTime=X,!(e!=null&&e.gap)){const $=new Error(`fragment loaded with buffer holes, seeking from ${a} to ${X}`),Ie={type:le.MEDIA_ERROR,details:j.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:$,reason:$.message,buffer:u.len,bufferInfo:u};e&&("fragment"in e?Ie.part=e:Ie.frag=e),this.hls.trigger(v.ERROR,Ie)}return X}}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,p=new Error(`Nudging 'currentTime' from ${a} to ${u}`);this.warn(p.message),n.currentTime=u,t.trigger(v.ERROR,{type:le.MEDIA_ERROR,details:j.BUFFER_NUDGE_ON_STALL,error:p,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(v.ERROR,{type:le.MEDIA_ERROR,details:j.BUFFER_STALLED_ERROR,error:u,fatal:!0,buffer:e.len,bufferInfo:e})}}}function Qu(s,e){const t=Ju(s.main);if(t&&t.start<=e)return t;const n=Ju(s.audio);return n&&n.start<=e?n:null}function Ju(s){if(!s)return null;switch(s.state){case qn.IDLE:case qn.STOPPED:case qn.ENDED:case qn.ERROR:return null}return s.frag}function Yl(s,e){return e.getAppendedFrag(s,ee.MAIN)||e.getPartialFragment(s)}const Nd=.25;function pu(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function vu(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,kt(r?L({type:r},n):n))}return i}const Xl=(()=>{const s=pu();try{s&&new s(0,Number.POSITIVE_INFINITY,"")}catch(e){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Bd{constructor(e){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(v.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&&(e.on(v.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.on(v.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(v.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(v.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:e}=this;e&&(e.off(v.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.off(v.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(v.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(v.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(){var e;const t=(e=this.hls)==null?void 0:e.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(e,t){this.media=null,!t.transferMedia&&(this.id3Track&&(this.removeCues&&hl(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 Tu(n,this.media),n}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(e,t){if(!this.media||!this.hls)return;const{enableEmsgMetadataCues:n,enableID3MetadataCues:r}=this.hls.config;if(!n&&!r)return;const{samples:i}=t;this.id3Track||(this.id3Track=this.createTrack(this.media));const a=pu();if(a)for(let u=0;u<i.length;u++){const p=i[u].type;if(p===De.emsg&&!n||!r)continue;const m=ha(i[u].data),y=i[u].pts;let w=y+i[u].duration;w>Xl&&(w=Xl),w-y<=0&&(w=y+Nd);for(let X=0;X<m.length;X++){const $=m[X];if(!ma($)){this.updateId3CueEnds(y,p);const Ie=vu(a,y,w,$,p);Ie&&this.id3Track.addCue(Ie)}}}}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===Xl&&(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:p}}=a;if(i&&(u||p)){let m;r==="audio"?m=y=>y.type===De.audioId3&&p:r==="video"?m=y=>y.type===De.emsg&&u:m=y=>y.type===De.audioId3&&p||y.type===De.emsg&&u,nu(i,t,n,m)}}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.hls||!this.media)return;const{assetPlayerId:n,timelineOffset:r,enableDateRangeMetadataCues:i,interstitialsController:a}=this.hls.config;if(!i)return;const u=pu();if(n&&r&&!a){const{fragmentStart:Ie,fragmentEnd:Pe}=e;let ut=this.assetCue;ut?(ut.startTime=Ie,ut.endTime=Pe):u&&(ut=this.assetCue=vu(u,Ie,Pe,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),ut&&(ut.id=n,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(ut),ut.addEventListener("enter",this.onEventCueEnter)))}if(!e.hasProgramDateTime)return;const{id3Track:p}=this,{dateRanges:m}=e,y=Object.keys(m);let w=this.dateRangeCuesAppended;if(p&&t){var k;if((k=p.cues)!=null&&k.length){const Ie=Object.keys(w).filter(Pe=>!y.includes(Pe));for(let Pe=Ie.length;Pe--;){var X;const ut=Ie[Pe],yt=(X=w[ut])==null?void 0:X.cues;delete w[ut],yt&&Object.keys(yt).forEach(wt=>{const Xt=yt[wt];if(Xt){Xt.removeEventListener("enter",this.onEventCueEnter);try{p.removeCue(Xt)}catch(dn){}}})}}else w=this.dateRangeCuesAppended={}}const $=e.fragments[e.fragments.length-1];if(!(y.length===0||!c($==null?void 0:$.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let Ie=0;Ie<y.length;Ie++){const Pe=y[Ie],ut=m[Pe],yt=ut.startTime,wt=w[Pe],Xt=(wt==null?void 0:wt.cues)||{};let dn=(wt==null?void 0:wt.durationKnown)||!1,Yn=Xl;const{duration:mn,endDate:Rn}=ut;if(Rn&&mn!==null)Yn=yt+mn,dn=!0;else if(ut.endOnNext&&!dn){const gn=y.reduce((yr,Pi)=>{if(Pi!==ut.id){const ea=m[Pi];if(ea.class===ut.class&&ea.startDate>ut.startDate&&(!yr||ut.startDate<yr.startDate))return ea}return yr},null);gn&&(Yn=gn.startTime,dn=!0)}const Ln=Object.keys(ut.attr);for(let gn=0;gn<Ln.length;gn++){const yr=Ln[gn];if(!Sn(yr))continue;const Pi=Xt[yr];if(Pi)dn&&!(wt!=null&&wt.durationKnown)?Pi.endTime=Yn:Math.abs(Pi.startTime-yt)>.01&&(Pi.startTime=yt,Pi.endTime=Yn);else if(u){let ea=ut.attr[yr];Aa(yr)&&(ea=Y(ea));const ta=vu(u,yt,Yn,{key:yr,data:ea},De.dateRange);ta&&(ta.id=Pe,this.id3Track.addCue(ta),Xt[yr]=ta,a&&(yr==="X-ASSET-LIST"||yr==="X-ASSET-URL")&&ta.addEventListener("enter",this.onEventCueEnter))}}w[Pe]={cues:Xt,dateRange:ut,durationKnown:dn}}}}}class Fd{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 p=r-u,m=Math.min(this.maxLatency,u+n.targetduration);if(p<m&&p>.05&&this.forwardBufferLength>1){const w=Math.min(2,Math.max(1,a)),k=Math.round(2/(1+Math.exp(-.75*p-this.edgeStalled))*20)/20,X=Math.min(w,Math.max(1,k));this.changeMediaPlaybackRate(t,X)}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,p=this.hls.userConfig;let m=u&&n||t;(this._targetLatencyUpdated||p.liveSyncDuration||p.liveSyncDurationCount||m===0)&&(m=i!==void 0?i:a*r);const y=r;return m+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,y)}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(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(v.ERROR,this.onError,this))}unregisterListeners(){const{hls:e}=this;e&&(e.off(v.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(v.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(v.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===j.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 zd extends ys{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(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(v.LEVEL_LOADED,this.onLevelLoaded,this),e.on(v.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(v.FRAG_BUFFERED,this.onFragBuffered,this),e.on(v.ERROR,this.onError,this)}_unregisterListeners(){const{hls:e}=this;e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(v.LEVEL_LOADED,this.onLevelLoaded,this),e.off(v.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(v.FRAG_BUFFERED,this.onFragBuffered,this),e.off(v.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,p=!1,m=!1;t.levels.forEach(y=>{const w=y.attrs;let{audioCodec:k,videoCodec:X}=y;k&&(y.audioCodec=k=_e(k,n)||void 0),X&&(X=y.videoCodec=Er(X));const{width:$,height:Ie,unknownCodecs:Pe}=y,ut=(Pe==null?void 0:Pe.length)||0;if(u||(u=!!($&&Ie)),p||(p=!!X),m||(m=!!k),ut||k&&!this.isAudioSupported(k)||X&&!this.isVideoSupported(X)){this.log(`Some or all CODECS not supported "${w.CODECS}"`);return}const{CODECS:yt,"FRAME-RATE":wt,"HDCP-LEVEL":Xt,"PATHWAY-ID":dn,RESOLUTION:Yn,"VIDEO-RANGE":mn}=w,Ln=`${`${dn||"."}-`}${y.bitrate}-${Yn}-${wt}-${yt}-${mn}-${Xt}`;if(i[Ln])if(i[Ln].uri!==y.url&&!y.attrs["PATHWAY-ID"]){const gn=a[Ln]+=1;y.attrs["PATHWAY-ID"]=new Array(gn+1).join(".");const yr=this.createLevel(y);i[Ln]=yr,r.push(yr)}else i[Ln].addGroupId("audio",w.AUDIO),i[Ln].addGroupId("text",w.SUBTITLES);else{const gn=this.createLevel(y);i[Ln]=gn,a[Ln]=1,r.push(gn)}}),this.filterAndSortMediaOptions(r,t,u,p,m)}createLevel(e){const t=new Tn(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=Wn(r,[])}return t}isAudioSupported(e){return st(e,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(e){return st(e,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(e,t,n,r,i){var a;let u=[],p=[],m=e;const y=((a=t.stats)==null?void 0:a.parsing)||{};if((n||r)&&i&&(m=m.filter(({videoCodec:yt,videoRange:wt,width:Xt,height:dn})=>(!!yt||!!(Xt&&dn))&&Dn(wt))),m.length===0){Promise.resolve().then(()=>{if(this.hls){let yt="no level with compatible codecs found in manifest",wt=yt;t.levels.length&&(wt=`one or more CODECS in variant not supported: ${kt(t.levels.map(dn=>dn.attrs.CODECS).filter((dn,Yn,mn)=>mn.indexOf(dn)===Yn))}`,this.warn(wt),yt+=` (${wt})`);const Xt=new Error(yt);this.hls.trigger(v.ERROR,{type:le.MEDIA_ERROR,details:j.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:t.url,error:Xt,reason:wt})}}),y.end=performance.now();return}t.audioTracks&&(u=t.audioTracks.filter(yt=>!yt.audioCodec||this.isAudioSupported(yt.audioCodec)),qu(u)),t.subtitles&&(p=t.subtitles,qu(p));const w=m.slice(0);m.sort((yt,wt)=>{if(yt.attrs["HDCP-LEVEL"]!==wt.attrs["HDCP-LEVEL"])return(yt.attrs["HDCP-LEVEL"]||"")>(wt.attrs["HDCP-LEVEL"]||"")?1:-1;if(n&&yt.height!==wt.height)return yt.height-wt.height;if(yt.frameRate!==wt.frameRate)return yt.frameRate-wt.frameRate;if(yt.videoRange!==wt.videoRange)return jn.indexOf(yt.videoRange)-jn.indexOf(wt.videoRange);if(yt.videoCodec!==wt.videoCodec){const Xt=be(yt.videoCodec),dn=be(wt.videoCodec);if(Xt!==dn)return dn-Xt}if(yt.uri===wt.uri&&yt.codecSet!==wt.codecSet){const Xt=We(yt.codecSet),dn=We(wt.codecSet);if(Xt!==dn)return dn-Xt}return yt.averageBitrate!==wt.averageBitrate?yt.averageBitrate-wt.averageBitrate:0});let k=w[0];if(this.steering&&(m=this.steering.filterParsedLevels(m),m.length!==w.length)){for(let yt=0;yt<w.length;yt++)if(w[yt].pathwayId===m[0].pathwayId){k=w[yt];break}}this._levels=m;for(let yt=0;yt<m.length;yt++)if(m[yt]===k){var X;this._firstLevel=yt;const wt=k.bitrate,Xt=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${m.length} level(s) found, first bitrate: ${wt}`),((X=this.hls.userConfig)==null?void 0:X.abrEwmaDefaultEstimate)===void 0){const dn=Math.min(wt,this.hls.config.abrEwmaDefaultEstimateMax);dn>Xt&&Xt===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=dn)}break}const $=i&&!r,Ie=this.hls.config,Pe=!!(Ie.audioStreamController&&Ie.audioTrackController),ut={levels:m,audioTracks:u,subtitleTracks:p,sessionData:t.sessionData,sessionKeys:t.sessionKeys,firstLevel:this._firstLevel,stats:t.stats,audio:i,video:r,altAudio:Pe&&!$&&u.some(yt=>!!yt.url)};y.end=performance.now(),this.hls.trigger(v.MANIFEST_PARSED,ut)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(e){const t=this._levels;if(t.length===0)return;if(e<0||e>=t.length){const y=new Error("invalid level idx"),w=e<0;if(this.hls.trigger(v.ERROR,{type:le.OTHER_ERROR,details:j.LEVEL_SWITCH_ERROR,level:e,fatal:w,error:y,reason:y.message}),w)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 p={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(v.LEVEL_SWITCHING,p);const m=a.details;if(!m||m.live){const y=this.switchParams(a.uri,r==null?void 0:r.details,m);this.loadPlaylist(y)}}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===re.LEVEL&&t.context.level===this.level&&this.checkRetry(t)}onFragBuffered(e,{frag:t}){if(t!==void 0&&t.type===ee.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 p=a.details;p===t.details&&p.advanced&&(p=void 0),this.playlistLoaded(r,t,p)}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(v.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));ls(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(v.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(v.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:e,levels:this.levels,maxAutoLevel:t,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:n}))}}function qu(s){const e={};s.forEach(t=>{const n=t.groupId||"";t.id=e[n]=e[n]||0,e[n]++})}function ec(){return self.SourceBuffer||self.WebKitSourceBuffer}function tc(){if(!Be())return!1;const e=ec();return!e||e.prototype&&typeof e.prototype.appendBuffer=="function"&&typeof e.prototype.remove=="function"}function Hd(){if(!tc())return!1;const s=Be();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(de(e,"video")))||["mp4a.40.2","fLaC"].some(e=>s.isTypeSupported(de(e,"audio"))))}function jd(){var s;const e=ec();return typeof(e==null||(s=e.prototype)==null?void 0:s.changeType)=="function"}const Zd=100;class Ud extends Bo{constructor(e,t,n){super(e,t,n,"stream-controller",ee.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||!c(i)||(this.log(`Media seeked to ${i.toFixed(3)}`),!this.getBufferedFrag(i)))return;const a=this.getFwdBufferInfoAtPos(r,i,ee.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(v.MANIFEST_PARSED,this.onManifestParsed,this),e.on(v.LEVEL_LOADING,this.onLevelLoading,this),e.on(v.LEVEL_LOADED,this.onLevelLoaded,this),e.on(v.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.on(v.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(v.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(v.BUFFER_CREATED,this.onBufferCreated,this),e.on(v.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(v.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(v.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:e}=this;e.off(v.MANIFEST_PARSED,this.onManifestParsed,this),e.off(v.LEVEL_LOADED,this.onLevelLoaded,this),e.off(v.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.off(v.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(v.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(v.BUFFER_CREATED,this.onBufferCreated,this),e.off(v.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(v.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(v.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(Zd),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=qn.IDLE,this.nextLoadPosition=this.lastCurrentTime=e+this.timelineOffset,this.startPosition=t?-1:e,this.tick()}else this._forceStartLoad=!0,this.state=qn.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case qn.WAITING_LEVEL:{const{levels:e,level:t}=this,n=e==null?void 0:e[t],r=n==null?void 0:n.details;if(r&&(!r.live||this.levelLastLoaded===n&&!this.waitForLive(n))){if(this.waitForCdnTuneIn(r))break;this.state=qn.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=qn.IDLE;break}break}case qn.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===qn.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 p=this.getLevelDetails();if(p&&this._streamEnded(u,p)){const Ie={};this.altAudio===2&&(Ie.type="video"),this.hls.trigger(v.BUFFER_EOS,Ie),this.state=qn.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 m=a.details;if(!m||this.state===qn.WAITING_LEVEL||this.waitForLive(a)){this.level=i,this.state=qn.WAITING_LEVEL,this.startFragRequested=!1;return}const y=u.len,w=this.getMaxBufferLength(a.maxBitrate);if(y>=w)return;this.backtrackFragment&&this.backtrackFragment.start>u.end&&(this.backtrackFragment=null);const k=this.backtrackFragment?this.backtrackFragment.start:u.end;let X=this.getNextFragment(k,m);if(this.couldBacktrack&&!this.fragPrevious&&X&&Qe(X)&&this.fragmentTracker.getState(X)!==$t.OK){var $;const Pe=(($=this.backtrackFragment)!=null?$:X).sn-m.startSN,ut=m.fragments[Pe-1];ut&&X.cc===ut.cc&&(X=ut,this.fragmentTracker.removeFragment(ut))}else this.backtrackFragment&&u.len&&(this.backtrackFragment=null);if(X&&this.isLoopLoading(X,k)){if(!X.gap){const Pe=this.audioOnly&&!this.altAudio?he.AUDIO:he.VIDEO,ut=(Pe===he.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;ut&&this.afterBufferFlushed(ut,Pe,ee.MAIN)}X=this.getNextFragmentLoopLoading(X,m,u,ee.MAIN,w)}X&&(X.initSegment&&!X.initSegment.data&&!this.bitrateTest&&(X=X.initSegment),this.loadFragment(X,a,k))}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);r===$t.NOT_LOADED||r===$t.PARTIAL?Qe(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,ee.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,p=e[u],m=this.fragLastKbps;m&&this.fragCurrent?n=this.fragCurrent.duration*p.maxBitrate/(1e3*m)+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 p=u.maxStartPTS?u.maxStartPTS:u.start,m=u.duration,y=Math.max(a.end,p+Math.min(Math.max(m-this.config.maxFragLookUpTolerance,m*(this.couldBacktrack?.5:.125)),m*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(y,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 qn.KEY_LOADING:case qn.FRAG_LOADING:case qn.FRAG_LOADING_WAITING_RETRY:case qn.PARSING:case qn.PARSED:this.state=qn.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;Bs(n,"playing",this.onMediaPlaying),Bs(n,"seeked",this.onMediaSeeked)}onMediaDetaching(e,t){const{media:n}=this;n&&(Ks(n,"playing",this.onMediaPlaying),Ks(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(v.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;for(let i=0;i<t.levels.length;i++){const a=t.levels[i].audioCodec;a&&(n=n||a.indexOf("mp4a.40.2")!==-1,r=r||a.indexOf("mp4a.40.5")!==-1)}this.audioCodecSwitch=n&&r&&!jd(),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!==qn.IDLE)return;const r=t.levelInfo;(!r.details||r.details.live&&(this.levelLastLoaded!==r||r.details.expired)||this.waitForCdnTuneIn(r.details))&&(this.state=qn.WAITING_LEVEL)}onLevelLoaded(e,t){var n;const{levels:r,startFragRequested:i}=this,a=t.level,u=t.details,p=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:${p}`);const m=t.levelInfo,y=this.fragCurrent;y&&(this.state===qn.FRAG_LOADING||this.state===qn.FRAG_LOADING_WAITING_RETRY)&&y.level!==t.level&&y.loader&&this.abortCurrentFrag();let w=0;if(u.live||(n=m.details)!=null&&n.live){var k;if(this.checkLiveUpdate(u),u.deltaUpdateFailed)return;w=this.alignPlaylists(u,m.details,(k=this.levelLastLoaded)==null?void 0:k.details)}if(m.details=u,this.levelLastLoaded=m,i||this.setStartPosition(u,w),this.hls.trigger(v.LEVEL_UPDATED,{details:u,level:a}),this.state===qn.WAITING_LEVEL){if(this.waitForCdnTuneIn(u))return;this.state=qn.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,p=i>=a-t.maxFragLookUpTolerance&&i<=u;if(r!==null&&n.duration>r&&(i<r||!p)){const y=t.liveMaxLatencyDuration!==void 0?t.liveMaxLatencyDuration:t.liveMaxLatencyDurationCount*e.targetduration;if((!p&&n.readyState<4||i<u-y)&&(this._hasEnoughToStart||(this.nextLoadPosition=r),n.readyState))if(this.warn(`Playback: ${i.toFixed(3)} is located too far from the end of live sliding playlist: ${u}, reset currentTime to : ${r.toFixed(3)}`),this.config.liveSyncMode==="buffered"){var m;const w=or.bufferInfo(n,r,0);if(!((m=w.buffered)!=null&&m.length)){n.currentTime=r;return}if(w.start<=i){n.currentTime=r;return}const{nextStart:X}=or.bufferedInfo(w.buffered,i,0);X&&(n.currentTime=X)}else 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 p=u.details;if(!p){this.warn(`Dropping fragment ${n.sn} of level ${n.level} after level details were reset`),this.fragmentTracker.removeFragment(n);return}const m=u.videoCodec,y=p.PTSKnown||!p.live,w=(t=n.initSegment)==null?void 0:t.data,k=this._getAudioCodec(u),X=this.transmuxer=this.transmuxer||new gs(this.hls,ee.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),$=r?r.index:-1,Ie=$!==-1,Pe=new kr(n.level,n.sn,n.stats.chunkCount,i.byteLength,$,Ie),ut=this.initPTS[n.cc];X.push(i,w,k,m,n,r,p.totalduration,y,Pe,ut)}onAudioTrackSwitching(e,t){const n=this.hls,r=this.altAudio!==0;if(rt(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.altAudio=0,this.fragmentTracker.removeAllFragments(),n.once(v.BUFFER_FLUSHED,()=>{this.hls&&this.hls.trigger(v.AUDIO_TRACK_SWITCHED,t)}),n.trigger(v.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}n.trigger(v.AUDIO_TRACK_SWITCHED,t)}}onAudioTrackSwitched(e,t){const n=rt(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 p=n[u];if(p.id==="main"){if(i=u,r=p,u==="video"){const m=n[u];m&&(this.videoBuffer=m.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===ee.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===qn.PARSED&&(this.state=qn.IDLE);return}const u=r?r.stats:n.stats;this.fragLastKbps=Math.round(8*u.total/(u.buffering.end-u.loading.first)),Qe(n)&&(this.fragPrevious=n),this.fragBufferedComplete(n,r)}const a=this.media;a&&(!this._hasEnoughToStart&&or.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=qn.ERROR;return}switch(t.details){case j.FRAG_GAP:case j.FRAG_PARSING_ERROR:case j.FRAG_DECRYPT_ERROR:case j.FRAG_LOAD_ERROR:case j.FRAG_LOAD_TIMEOUT:case j.KEY_LOAD_ERROR:case j.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(ee.MAIN,t);break;case j.LEVEL_LOAD_ERROR:case j.LEVEL_LOAD_TIMEOUT:case j.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===qn.WAITING_LEVEL&&((n=t.context)==null?void 0:n.type)===re.LEVEL&&(this.state=qn.IDLE);break;case j.BUFFER_ADD_CODEC_ERROR:case j.BUFFER_APPEND_ERROR:if(t.parent!=="main")return;this.reduceLengthAndFlushBuffer(t)&&this.resetLoadingState();break;case j.BUFFER_FULL_ERROR:if(t.parent!=="main")return;this.reduceLengthAndFlushBuffer(t)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case j.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}onFragLoadEmergencyAborted(){this.state=qn.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(e,{type:t}){if(t!==he.AUDIO||!this.altAudio){const n=(t===he.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;n&&(this.afterBufferFlushed(n,t,ee.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=or.getBuffered(e),u=a.length?a.start(0):0,p=u-n,m=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||p>0&&(p<m||this.loadingParts&&p<2*((i==null?void 0:i.partTarget)||0)))&&(this.log(`adjusting start position by ${p} to match buffer start`),n+=p,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=qn.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(v.FRAG_LOADED,n),i.bitrateTest=!1}).catch(n=>{this.state===qn.STOPPED||this.state===qn.ERROR||(this.warn(n),this.resetFragmentLoading(e))})}_handleTransmuxComplete(e){const t=this.playlistType,{hls:n}=this,{remuxResult:r,chunkMeta:i}=e,a=this.getCurrentContext(i);if(!a){this.resetWhenMissingContext(i);return}const{frag:u,part:p,level:m}=a,{video:y,text:w,id3:k,initSegment:X}=r,{details:$}=m,Ie=this.altAudio?void 0:r.audio;if(this.fragContextChanged(u)){this.fragmentTracker.removeFragment(u);return}if(this.state=qn.PARSING,X){const Pe=X.tracks;if(Pe){const Xt=u.initSegment||u;if(this.unhandledEncryptionError(X,u))return;this._bufferInitSegment(m,Pe,Xt,i),n.trigger(v.FRAG_PARSING_INIT_SEGMENT,{frag:Xt,id:t,tracks:Pe})}const ut=X.initPTS,yt=X.timescale,wt=this.initPTS[u.cc];if(c(ut)&&(!wt||wt.baseTime!==ut||wt.timescale!==yt)){const Xt=X.trackId;this.initPTS[u.cc]={baseTime:ut,timescale:yt,trackId:Xt},n.trigger(v.INIT_PTS_FOUND,{frag:u,id:t,initPTS:ut,timescale:yt,trackId:Xt})}}if(y&&$){Ie&&y.type==="audiovideo"&&this.logMuxedErr(u);const Pe=$.fragments[u.sn-1-$.startSN],ut=u.sn===$.startSN,yt=!Pe||u.cc>Pe.cc;if(r.independent!==!1){const{startPTS:wt,endPTS:Xt,startDTS:dn,endDTS:Yn}=y;if(p)p.elementaryStreams[y.type]={startPTS:wt,endPTS:Xt,startDTS:dn,endDTS:Yn};else if(y.firstKeyFrame&&y.independent&&i.id===1&&!yt&&(this.couldBacktrack=!0),y.dropped&&y.independent){const mn=this.getMainFwdBufferInfo(),Rn=(mn?mn.end:this.getLoadPosition())+this.config.maxBufferHole,Ln=y.firstKeyFramePTS?y.firstKeyFramePTS:wt;if(!ut&&Rn<Ln-this.config.maxBufferHole&&!yt){this.backtrack(u);return}else yt&&(u.gap=!0);u.setElementaryStreamInfo(y.type,u.start,Xt,u.start,Yn,!0)}else ut&&wt-($.appliedTimelineOffset||0)>Vl&&(u.gap=!0);u.setElementaryStreamInfo(y.type,wt,Xt,dn,Yn),this.backtrackFragment&&(this.backtrackFragment=u),this.bufferFragmentData(y,u,p,i,ut||yt)}else if(ut||yt)u.gap=!0;else{this.backtrack(u);return}}if(Ie){const{startPTS:Pe,endPTS:ut,startDTS:yt,endDTS:wt}=Ie;p&&(p.elementaryStreams[he.AUDIO]={startPTS:Pe,endPTS:ut,startDTS:yt,endDTS:wt}),u.setElementaryStreamInfo(he.AUDIO,Pe,ut,yt,wt),this.bufferFragmentData(Ie,u,p,i)}if($&&k!=null&&k.samples.length){const Pe={id:t,frag:u,details:$,samples:k.samples};n.trigger(v.FRAG_PARSING_METADATA,Pe)}if($&&w){const Pe={id:t,frag:u,details:$,samples:w.samples};n.trigger(v.FRAG_PARSING_USERDATA,Pe)}}logMuxedErr(e){this.warn(`${Qe(e)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${e.url}`)}_bufferInitSegment(e,t,n,r){if(this.state!==qn.PARSING)return;this.audioOnly=!!t.audio&&!t.video,this.altAudio&&!this.audioOnly&&(delete t.audio,t.audiovideo&&this.logMuxedErr(n));const{audio:i,video:a,audiovideo:u}=t;if(i){const m=e.audioCodec;let y=An(i.codec,m);y==="mp4a"&&(y="mp4a.40.5");const w=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){y&&(y.indexOf("mp4a.40.5")!==-1?y="mp4a.40.2":y="mp4a.40.5");const k=i.metadata;k&&"channelCount"in k&&(k.channelCount||1)!==1&&w.indexOf("firefox")===-1&&(y="mp4a.40.5")}y&&y.indexOf("mp4a.40.5")!==-1&&w.indexOf("android")!==-1&&i.container!=="audio/mpeg"&&(y="mp4a.40.2",this.log(`Android: force audio codec to ${y}`)),m&&m!==y&&this.log(`Swapping manifest audio codec "${m}" for "${y}"`),i.levelCodec=y,i.id=ee.MAIN,this.log(`Init audio buffer, container:${i.container}, codecs[selected/level/parsed]=[${y||""}/${m||""}/${i.codec}]`),delete t.audiovideo}if(a){a.levelCodec=e.videoCodec,a.id=ee.MAIN;const m=a.codec;if((m==null?void 0:m.length)===4)switch(m){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||""}/${m}]${a.codec!==m?" 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 p=Object.keys(t);if(p.length){if(this.hls.trigger(v.BUFFER_CODECS,t),!this.hls)return;p.forEach(m=>{const w=t[m].initSegment;w!=null&&w.byteLength&&this.hls.trigger(v.BUFFER_APPENDING,{type:m,data:w,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,ee.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=qn.IDLE}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&e.seeking===!1){const n=e.currentTime;if(or.isBuffered(e,n)?t=this.getAppendedFrag(n):or.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(v.FRAG_CHANGED,{frag:t}),(!r||r.level!==i)&&this.hls.trigger(v.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 c(t)?this.getAppendedFrag(t):null}get currentProgramDateTime(){var e;const t=((e=this.media)==null?void 0:e.currentTime)||this.lastCurrentTime;if(c(t)){const n=this.getLevelDetails(),r=this.currentFrag||(n?Ii(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 Wd extends Z{constructor(e,t){super("key-loader",t),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=e}abort(e){for(const n in this.keyIdToKeyInfo){const r=this.keyIdToKeyInfo[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.keyIdToKeyInfo){const t=this.keyIdToKeyInfo[e];(t.mediaKeySessionContext||t.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[e]}}destroy(){this.detach();for(const e in this.keyIdToKeyInfo){const t=this.keyIdToKeyInfo[e].loader;t&&t.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(e,t=j.KEY_LOAD_ERROR,n,r,i){return new Kr({type:le.NETWORK_ERROR,details:t,fatal:!1,frag:e,response:i,error:n,networkDetails:r})}loadClear(e,t,n){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(t.length)for(let r=0,i=t.length;r<i;r++){const a=t[r];if(e.cc<=a.cc&&(!Qe(e)||!Qe(a)||e.sn<a.sn)||!n&&r==i-1)return this.emeController.selectKeySystemFormat(a).then(u=>{if(!this.emeController)return;a.setKeyFormat(u);const p=ss(u);if(p)return this.emeController.getKeySystemAccess([p])})}if(this.config.requireKeySystemAccessOnStart){const r=jr(this.config);if(r.length)return this.emeController.getKeySystemAccess(r)}}return null}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 m=new Error(t?`Expected frag.decryptdata to be defined after setting format ${t}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(e,j.KEY_LOAD_ERROR,m))}const a=i.uri;if(!a)return Promise.reject(this.createKeyLoadError(e,j.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${a}"`)));const u=gu(i);let p=this.keyIdToKeyInfo[u];if((n=p)!=null&&n.decryptdata.key)return i.key=p.decryptdata.key,Promise.resolve({frag:e,keyInfo:p});if(this.emeController&&(r=p)!=null&&r.keyLoadPromise)switch(this.emeController.getKeyStatus(p.decryptdata)){case"usable":case"usable-in-future":return p.keyLoadPromise.then(y=>{const{keyInfo:w}=y;return i.key=w.decryptdata.key,{frag:e,keyInfo:w}})}switch(this.log(`${this.keyIdToKeyInfo[u]?"Rel":"L"}oading${i.keyId?" keyId: "+ce(i.keyId):""} URI: ${i.uri} from ${e.type} ${e.level}`),p=this.keyIdToKeyInfo[u]={decryptdata:i,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},i.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return i.keyFormat==="identity"?this.loadKeyHTTP(p,e):this.loadKeyEME(p,e);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(p,e);default:return Promise.reject(this.createKeyLoadError(e,j.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){var r;if(!e.decryptdata.keyId&&(r=t.initSegment)!=null&&r.data){const a=nt(t.initSegment.data);if(a.length){let u=a[0];u.some(p=>p!==0)?(this.log(`Using keyId found in init segment ${ce(u)}`),Ds.setKeyIdForUri(e.decryptdata.uri,u)):(u=Ds.addKeyIdForUri(e.decryptdata.uri),this.log(`Generating keyId to patch media ${ce(u)}`)),e.decryptdata.keyId=u}}if(!e.decryptdata.keyId&&!Qe(t))return Promise.resolve(n);const i=this.emeController.loadKey(n);return(e.keyLoadPromise=i.then(a=>(e.mediaKeySessionContext=a,n))).catch(a=>{throw e.keyLoadPromise=null,"data"in a&&(a.data.frag=t),a})}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 p={keyInfo:e,frag:t,responseType:"arraybuffer",url:e.decryptdata.uri},m=n.keyLoadPolicy.default,y={loadPolicy:m,timeout:m.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},w={onSuccess:(k,X,$,Ie)=>{const{frag:Pe,keyInfo:ut}=$,yt=gu(ut.decryptdata);if(!Pe.decryptdata||ut!==this.keyIdToKeyInfo[yt])return u(this.createKeyLoadError(Pe,j.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),Ie));ut.decryptdata.key=Pe.decryptdata.key=new Uint8Array(k.data),Pe.keyLoader=null,ut.loader=null,a({frag:Pe,keyInfo:ut})},onError:(k,X,$,Ie)=>{this.resetLoader(X),u(this.createKeyLoadError(t,j.KEY_LOAD_ERROR,new Error(`HTTP Error ${k.code} loading key ${k.text}`),$,L({url:p.url,data:void 0},k)))},onTimeout:(k,X,$)=>{this.resetLoader(X),u(this.createKeyLoadError(t,j.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),$))},onAbort:(k,X,$)=>{this.resetLoader(X),u(this.createKeyLoadError(t,j.INTERNAL_ABORTED,new Error("key loading aborted"),$))}};i.load(p,y,w)})}resetLoader(e){const{frag:t,keyInfo:n,url:r}=e,i=n.loader;t.keyLoader===i&&(t.keyLoader=null,n.loader=null);const a=gu(n.decryptdata)||r;delete this.keyIdToKeyInfo[a],i&&i.destroy()}}function gu(s){if(s.keyFormat!==Qi.FAIRPLAY){const e=s.keyId;if(e)return ce(e)}return s.uri}function nc(s){const{type:e}=s;switch(e){case re.AUDIO_TRACK:return ee.AUDIO;case re.SUBTITLE_TRACK:return ee.SUBTITLE;default:return ee.MAIN}}function yu(s,e){let t=s.url;return(t===void 0||t.indexOf("data:")===0)&&(t=e.url),t}class Kd{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(v.MANIFEST_LOADING,this.onManifestLoading,this),e.on(v.LEVEL_LOADING,this.onLevelLoading,this),e.on(v.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.on(v.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.on(v.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:e}=this;e.off(v.MANIFEST_LOADING,this.onManifestLoading,this),e.off(v.LEVEL_LOADING,this.onLevelLoading,this),e.off(v.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.off(v.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),e.off(v.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:re.MANIFEST,url:n,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(e,t){const{id:n,level:r,pathwayId:i,url:a,deliveryDirectives:u,levelInfo:p}=t;this.load({id:n,level:r,pathwayId:i,responseType:"text",type:re.LEVEL,url:a,deliveryDirectives:u,levelOrTrack:p})}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:re.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:re.SUBTITLE_TRACK,url:i,deliveryDirectives:a,levelOrTrack:u})}onLevelsUpdated(e,t){const n=this.loaders[re.LEVEL];if(n){const r=n.context;r&&!t.levels.some(i=>i===r.levelOrTrack)&&(n.abort(),delete this.loaders[re.LEVEL])}}load(e){var t;const n=this.hls.config;let r=this.getInternalLoader(e);if(r){const m=this.hls.logger,y=r.context;if(y&&y.levelOrTrack===e.levelOrTrack&&(y.url===e.url||y.deliveryDirectives&&!e.deliveryDirectives)){y.url===e.url?m.log(`[playlist-loader]: ignore ${e.url} ongoing request`):m.log(`[playlist-loader]: ignore ${e.url} in favor of ${y.url}`);return}m.log(`[playlist-loader]: aborting previous loader for type: ${e.type}`),r.abort()}let i;if(e.type===re.MANIFEST?i=n.manifestLoadPolicy.default:i=x({},n.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),r=this.createInternalLoader(e),c((t=e.deliveryDirectives)==null?void 0:t.part)){let m;if(e.type===re.LEVEL&&e.level!==null?m=this.hls.levels[e.level].details:e.type===re.AUDIO_TRACK&&e.id!==null?m=this.hls.audioTracks[e.id].details:e.type===re.SUBTITLE_TRACK&&e.id!==null&&(m=this.hls.subtitleTracks[e.id].details),m){const y=m.partTarget,w=m.targetduration;if(y&&w){const k=Math.max(y*3,w*.8)*1e3;i=x({},i,{maxTimeToFirstByteMs:Math.min(k,i.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(k,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},p={onSuccess:(m,y,w,k)=>{const X=this.getInternalLoader(w);this.resetInternalLoader(w.type);const $=m.data;y.parsing.start=performance.now(),Ps.isMediaPlaylist($)||w.type!==re.MANIFEST?this.handleTrackOrLevelPlaylist(m,y,w,k||null,X):this.handleMasterPlaylist(m,y,w,k)},onError:(m,y,w,k)=>{this.handleNetworkError(y,w,!1,m,k)},onTimeout:(m,y,w)=>{this.handleNetworkError(y,w,!0,void 0,m)}};r.load(e,u,p)}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=yu(e,n),p=Ps.parseMasterPlaylist(a,u);if(p.playlistParsingError){t.parsing.end=performance.now(),this.handleManifestParsingError(e,n,p.playlistParsingError,r,t);return}const{contentSteering:m,levels:y,sessionData:w,sessionKeys:k,startTimeOffset:X,variableList:$}=p;this.variableList=$,y.forEach(yt=>{const{unknownCodecs:wt}=yt;if(wt){const{preferManagedMediaSource:Xt}=this.hls.config;let{audioCodec:dn,videoCodec:Yn}=yt;for(let mn=wt.length;mn--;){const Rn=wt[mn];st(Rn,"audio",Xt)?(yt.audioCodec=dn=dn?`${dn},${Rn}`:Rn,jt.audio[dn.substring(0,4)]=2,wt.splice(mn,1)):st(Rn,"video",Xt)&&(yt.videoCodec=Yn=Yn?`${Yn},${Rn}`:Rn,jt.video[Yn.substring(0,4)]=2,wt.splice(mn,1))}}});const{AUDIO:Ie=[],SUBTITLES:Pe,"CLOSED-CAPTIONS":ut}=Ps.parseMasterPlaylistMedia(a,u,p);Ie.length&&!Ie.some(wt=>!wt.url)&&y[0].audioCodec&&!y[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),Ie.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Pn({}),bitrate:0,url:""})),i.trigger(v.MANIFEST_LOADED,{levels:y,audioTracks:Ie,subtitles:Pe,captions:ut,contentSteering:m,url:u,stats:t,networkDetails:r,sessionData:w,sessionKeys:k,startTimeOffset:X,variableList:$})}handleTrackOrLevelPlaylist(e,t,n,r,i){const a=this.hls,{id:u,level:p,type:m}=n,y=yu(e,n),w=c(p)?p:c(u)?u:0,k=nc(n),X=Ps.parseLevelPlaylist(e.data,y,w,k,0,this.variableList);if(m===re.MANIFEST){const $={attrs:new Pn({}),bitrate:0,details:X,name:"",url:y};X.requestScheduled=t.loading.start+Na(X,0),a.trigger(v.MANIFEST_LOADED,{levels:[$],audioTracks:[],url:y,stats:t,networkDetails:r,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}t.parsing.end=performance.now(),n.levelDetails=X,this.handlePlaylistLoaded(X,e,t,n,r,i)}handleManifestParsingError(e,t,n,r,i){this.hls.trigger(v.ERROR,{type:le.NETWORK_ERROR,details:j.MANIFEST_PARSING_ERROR,fatal:t.type===re.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===re.LEVEL?a+=`: ${e.level} id: ${e.id}`:(e.type===re.AUDIO_TRACK||e.type===re.SUBTITLE_TRACK)&&(a+=` id: ${e.id} group-id: "${e.groupId}"`);const u=new Error(a);this.hls.logger.warn(`[playlist-loader]: ${a}`);let p=j.UNKNOWN,m=!1;const y=this.getInternalLoader(e);switch(e.type){case re.MANIFEST:p=n?j.MANIFEST_LOAD_TIMEOUT:j.MANIFEST_LOAD_ERROR,m=!0;break;case re.LEVEL:p=n?j.LEVEL_LOAD_TIMEOUT:j.LEVEL_LOAD_ERROR,m=!1;break;case re.AUDIO_TRACK:p=n?j.AUDIO_TRACK_LOAD_TIMEOUT:j.AUDIO_TRACK_LOAD_ERROR,m=!1;break;case re.SUBTITLE_TRACK:p=n?j.SUBTITLE_TRACK_LOAD_TIMEOUT:j.SUBTITLE_LOAD_ERROR,m=!1;break}y&&this.resetInternalLoader(e.type);const w={type:le.NETWORK_ERROR,details:p,fatal:m,url:e.url,loader:y,context:e,error:u,networkDetails:t,stats:i};if(r){const k=(t==null?void 0:t.url)||e.url;w.response=L({url:k,data:void 0},r)}this.hls.trigger(v.ERROR,w)}handlePlaylistLoaded(e,t,n,r,i,a){const u=this.hls,{type:p,level:m,levelOrTrack:y,id:w,groupId:k,deliveryDirectives:X}=r,$=yu(t,r),Ie=nc(r);let Pe=typeof r.level=="number"&&Ie===ee.MAIN?m:void 0;const ut=e.playlistParsingError;if(ut){if(this.hls.logger.warn(`${ut} ${e.url}`),!u.config.ignorePlaylistParsingErrors){u.trigger(v.ERROR,{type:le.NETWORK_ERROR,details:j.LEVEL_PARSING_ERROR,fatal:!1,url:$,error:ut,reason:ut.message,response:t,context:r,level:Pe,parent:Ie,networkDetails:i,stats:n});return}e.playlistParsingError=null}if(!e.fragments.length){const yt=e.playlistParsingError=new Error("No Segments found in Playlist");u.trigger(v.ERROR,{type:le.NETWORK_ERROR,details:j.LEVEL_EMPTY_ERROR,fatal:!1,url:$,error:yt,reason:yt.message,response:t,context:r,level:Pe,parent:Ie,networkDetails:i,stats:n});return}switch(e.live&&a&&(a.getCacheAge&&(e.ageHeader=a.getCacheAge()||0),(!a.getCacheAge||isNaN(e.ageHeader))&&(e.ageHeader=0)),p){case re.MANIFEST:case re.LEVEL:if(Pe){if(!y)Pe=0;else if(y!==u.levels[Pe]){const yt=u.levels.indexOf(y);yt>-1&&(Pe=yt)}}u.trigger(v.LEVEL_LOADED,{details:e,levelInfo:y||u.levels[0],level:Pe||0,id:w||0,stats:n,networkDetails:i,deliveryDirectives:X,withoutMultiVariant:p===re.MANIFEST});break;case re.AUDIO_TRACK:u.trigger(v.AUDIO_TRACK_LOADED,{details:e,track:y,id:w||0,groupId:k||"",stats:n,networkDetails:i,deliveryDirectives:X});break;case re.SUBTITLE_TRACK:u.trigger(v.SUBTITLE_TRACK_LOADED,{details:e,track:y,id:w||0,groupId:k||"",stats:n,networkDetails:i,deliveryDirectives:X});break}}}class qo{static get version(){return zt}static isMSESupported(){return tc()}static isSupported(){return Hd()}static getMediaSource(){return Be()}static get Events(){return v}static get MetadataSchema(){return De}static get ErrorTypes(){return le}static get ErrorDetails(){return j}static get DefaultConfig(){return qo.defaultConfig?qo.defaultConfig:Dd}static set DefaultConfig(e){qo.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 Ot,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=Ee(e.debug||!1,"Hls instance",e.assetPlayerId),n=this.config=Id(qo.DefaultConfig,e,t);this.userConfig=e,n.progressive&&Ld(n,t);const{abrController:r,bufferController:i,capLevelController:a,errorController:u,fpsController:p}=n,m=new u(this),y=this.abrController=new r(this),w=new Nn(this),k=n.interstitialsController,X=k?this.interstitialsController=new k(this,qo):null,$=this.bufferController=new i(this,w),Ie=this.capLevelController=new a(this),Pe=new p(this),ut=new Kd(this),yt=n.contentSteeringController,wt=yt?new yt(this):null,Xt=this.levelController=new zd(this,wt),dn=new Bd(this),Yn=new Wd(this.config,this.logger),mn=this.streamController=new Ud(this,w,Yn),Rn=this.gapController=new kd(this,w);Ie.setStreamController(mn),Pe.setStreamController(mn);const Ln=[ut,Xt,mn];X&&Ln.splice(1,0,X),wt&&Ln.splice(1,0,wt),this.networkControllers=Ln;const gn=[y,$,Rn,Ie,Pe,dn,w];this.audioTrackController=this.createController(n.audioTrackController,Ln);const yr=n.audioStreamController;yr&&Ln.push(this.audioStreamController=new yr(this,w,Yn)),this.subtitleTrackController=this.createController(n.subtitleTrackController,Ln);const Pi=n.subtitleStreamController;Pi&&Ln.push(this.subtititleStreamController=new Pi(this,w,Yn)),this.createController(n.timelineController,gn),Yn.emeController=this.emeController=this.createController(n.emeController,gn),this.cmcdController=this.createController(n.cmcdController,gn),this.latencyController=this.createController(Fd,gn),this.coreComponents=gn,Ln.push(m);const ea=m.onErrorOut;typeof ea=="function"&&this.on(v.ERROR,ea,m),this.on(v.MANIFEST_LOADED,ut.onManifestLoaded,ut)}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===v.ERROR;this.trigger(v.ERROR,{type:le.OTHER_ERROR,details:j.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(v.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(v.ERROR,{type:le.OTHER_ERROR,details:j.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(v.MEDIA_ATTACHING,r)}detachMedia(){this.logger.log("detachMedia"),this.trigger(v.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const e=this.bufferController.transferMedia();return this.trigger(v.MEDIA_DETACHING,{transferMedia:e}),e}loadSource(e){this.stopLoad();const t=this.media,n=this._url,r=this._url=_.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(v.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={[ee.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(e[ee.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(e[ee.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=kc()),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){In(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 En(e,n,navigator.mediaCapabilities)}}qo.defaultConfig=void 0}}]);
|
|
}()); |