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

1414 lines
1.7 MiB

This file contains ambiguous Unicode characters!

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

!(function(){var xl=Math.pow;(self.webpackChunk=self.webpackChunk||[]).push([[8143],{70557:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},89489:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},59477:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},40001:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},49198:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},84105:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},18785:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},73331:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},15277:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},52671:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},8657:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},56082:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},33853:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},15075:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},43531:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},61485:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},38819:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},47472:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(I,z){return L.createElement($.Z,(0,y.Z)({},I,{ref:z,icon:Ee}))},C=L.forwardRef(q),Se=C},35593:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return ot}});var y=f(33708),L=f(33606),ee=f(37061),Ee=f(43403),$=f(92310),q=f.n($),C=f(29301),Se=f(76846),a=f(96452),I=f(6089),z=f(80402),S=f(34280),u=f(49658),x=f(59301),m=f(92413),P=f(77900),ce=f(8654);function U(se){var be=se.prefixCls,H=se.align,O=se.arrow,xe=se.arrowPos,k=O||{},E=k.className,T=k.content,X=xe.x,Z=X===void 0?0:X,K=xe.y,we=K===void 0?0:K,Ke=x.useRef();if(!H||!H.points)return null;var ke={position:"absolute"};if(H.autoArrow!==!1){var Te=H.points[0],Ye=H.points[1],et=Te[0],je=Te[1],vt=Ye[0],bt=Ye[1];et===vt||!["t","b"].includes(et)?ke.top=we:et==="t"?ke.top=0:ke.bottom=0,je===bt||!["l","r"].includes(je)?ke.left=Z:je==="l"?ke.left=0:ke.right=0}return x.createElement("div",{ref:Ke,className:q()("".concat(be,"-arrow"),E),style:ke},T)}function W(se){var be=se.prefixCls,H=se.open,O=se.zIndex,xe=se.mask,k=se.motion;return xe?x.createElement(P.default,(0,m.Z)({},k,{motionAppear:!0,visible:H,removeOnLeave:!0}),function(E){var T=E.className;return x.createElement("div",{style:{zIndex:O},className:q()("".concat(be,"-mask"),T)})}):null}var ne=x.memo(function(se){var be=se.children;return be},function(se,be){return be.cache}),Y=ne,b=x.forwardRef(function(se,be){var H=se.popup,O=se.className,xe=se.prefixCls,k=se.style,E=se.target,T=se.onVisibleChanged,X=se.open,Z=se.keepDom,K=se.fresh,we=se.onClick,Ke=se.mask,ke=se.arrow,Te=se.arrowPos,Ye=se.align,et=se.motion,je=se.maskMotion,vt=se.forceRender,bt=se.getPopupContainer,ht=se.autoDestroy,Nt=se.portal,_t=se.zIndex,w=se.onMouseEnter,D=se.onMouseLeave,St=se.onPointerEnter,ue=se.ready,Be=se.offsetX,pn=se.offsetY,Ve=se.offsetR,nt=se.offsetB,Je=se.onAlign,Ae=se.onPrepare,De=se.stretch,ze=se.targetWidth,qe=se.targetHeight,ve=typeof H=="function"?H():H,an=X||Z,Ge=(bt==null?void 0:bt.length)>0,mn=x.useState(!bt||!Ge),_n=(0,L.Z)(mn,2),jt=_n[0],Xt=_n[1];if((0,S.Z)(function(){!jt&&Ge&&E&&Xt(!0)},[jt,Ge,E]),!jt)return null;var Rt="auto",Ft={left:"-1000vw",top:"-1000vh",right:Rt,bottom:Rt};if(ue||!X){var Ze,Et=Ye.points,xt=Ye.dynamicInset||((Ze=Ye._experimental)===null||Ze===void 0?void 0:Ze.dynamicInset),Ne=xt&&Et[0][1]==="r",Ce=xt&&Et[0][0]==="b";Ne?(Ft.right=Ve,Ft.left=Rt):(Ft.left=Be,Ft.right=Rt),Ce?(Ft.bottom=nt,Ft.top=Rt):(Ft.top=pn,Ft.bottom=Rt)}var mt={};return De&&(De.includes("height")&&qe?mt.height=qe:De.includes("minHeight")&&qe&&(mt.minHeight=qe),De.includes("width")&&ze?mt.width=ze:De.includes("minWidth")&&ze&&(mt.minWidth=ze)),X||(mt.pointerEvents="none"),x.createElement(Nt,{open:vt||an,getContainer:bt&&function(){return bt(E)},autoDestroy:ht},x.createElement(W,{prefixCls:xe,open:X,zIndex:_t,mask:Ke,motion:je}),x.createElement(C.Z,{onResize:Je,disabled:!X},function(pt){return x.createElement(P.default,(0,m.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:vt,leavedClassName:"".concat(xe,"-hidden")},et,{onAppearPrepare:Ae,onEnterPrepare:Ae,visible:X,onVisibleChanged:function(Ht){var nn;et==null||(nn=et.onVisibleChanged)===null||nn===void 0||nn.call(et,Ht),T(Ht)}}),function(Dt,Ht){var nn=Dt.className,Kt=Dt.style,sn=q()(xe,nn,O);return x.createElement("div",{ref:(0,ce.sQ)(pt,be,Ht),className:sn,style:(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({"--arrow-x":"".concat(Te.x||0,"px"),"--arrow-y":"".concat(Te.y||0,"px")},Ft),mt),Kt),{},{boxSizing:"border-box",zIndex:_t},k),onMouseEnter:w,onMouseLeave:D,onPointerEnter:St,onClick:we},ke&&x.createElement(U,{prefixCls:xe,arrow:ke,arrowPos:Te,align:Ye}),x.createElement(Y,{cache:!X&&!K},ve))})}))}),R=b,G=x.forwardRef(function(se,be){var H=se.children,O=se.getTriggerDOMNode,xe=(0,ce.Yr)(H),k=x.useCallback(function(T){(0,ce.mH)(be,O?O(T):T)},[O]),E=(0,ce.x1)(k,H.ref);return xe?x.cloneElement(H,{ref:E}):H}),j=G,pe=x.createContext(null),me=pe;function fe(se){return se?Array.isArray(se)?se:[se]:[]}function ae(se,be,H,O){return x.useMemo(function(){var xe=fe(H!=null?H:be),k=fe(O!=null?O:be),E=new Set(xe),T=new Set(k);return se&&(E.has("hover")&&(E.delete("hover"),E.add("click")),T.has("hover")&&(T.delete("hover"),T.add("click"))),[E,T]},[se,be,H,O])}var te=f(29194);function M(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],H=arguments.length>2?arguments[2]:void 0;return H?se[0]===be[0]:se[0]===be[0]&&se[1]===be[1]}function he(se,be,H,O){for(var xe=H.points,k=Object.keys(se),E=0;E<k.length;E+=1){var T,X=k[E];if(M((T=se[X])===null||T===void 0?void 0:T.points,xe,O))return"".concat(be,"-placement-").concat(X)}return""}function Q(se,be,H,O){return be||(H?{motionName:"".concat(se,"-").concat(H)}:O?{motionName:O}:null)}function de(se){return se.ownerDocument.defaultView}function ie(se){for(var be=[],H=se==null?void 0:se.parentElement,O=["hidden","scroll","clip","auto"];H;){var xe=de(H).getComputedStyle(H),k=xe.overflowX,E=xe.overflowY,T=xe.overflow;[k,E,T].some(function(X){return O.includes(X)})&&be.push(H),H=H.parentElement}return be}function v(se){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(se)?be:se}function _(se){return v(parseFloat(se),0)}function V(se,be){var H=(0,y.Z)({},se);return(be||[]).forEach(function(O){if(!(O instanceof HTMLBodyElement||O instanceof HTMLHtmlElement)){var xe=de(O).getComputedStyle(O),k=xe.overflow,E=xe.overflowClipMargin,T=xe.borderTopWidth,X=xe.borderBottomWidth,Z=xe.borderLeftWidth,K=xe.borderRightWidth,we=O.getBoundingClientRect(),Ke=O.offsetHeight,ke=O.clientHeight,Te=O.offsetWidth,Ye=O.clientWidth,et=_(T),je=_(X),vt=_(Z),bt=_(K),ht=v(Math.round(we.width/Te*1e3)/1e3),Nt=v(Math.round(we.height/Ke*1e3)/1e3),_t=(Te-Ye-vt-bt)*ht,w=(Ke-ke-et-je)*Nt,D=et*Nt,St=je*Nt,ue=vt*ht,Be=bt*ht,pn=0,Ve=0;if(k==="clip"){var nt=_(E);pn=nt*ht,Ve=nt*Nt}var Je=we.x+ue-pn,Ae=we.y+D-Ve,De=Je+we.width+2*pn-ue-Be-_t,ze=Ae+we.height+2*Ve-D-St-w;H.left=Math.max(H.left,Je),H.top=Math.max(H.top,Ae),H.right=Math.min(H.right,De),H.bottom=Math.min(H.bottom,ze)}}),H}function J(se){var be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,H="".concat(be),O=H.match(/^(.*)\%$/);return O?se*(parseFloat(O[1])/100):parseFloat(H)}function Le(se,be){var H=be||[],O=(0,L.Z)(H,2),xe=O[0],k=O[1];return[J(se.width,xe),J(se.height,k)]}function Oe(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[se[0],se[1]]}function Ie(se,be){var H=be[0],O=be[1],xe,k;return H==="t"?k=se.y:H==="b"?k=se.y+se.height:k=se.y+se.height/2,O==="l"?xe=se.x:O==="r"?xe=se.x+se.width:xe=se.x+se.width/2,{x:xe,y:k}}function $e(se,be){var H={t:"b",b:"t",l:"r",r:"l"};return se.map(function(O,xe){return xe===be?H[O]||"c":O}).join("")}function lt(se,be,H,O,xe,k,E){var T=x.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:xe[O]||{}}),X=(0,L.Z)(T,2),Z=X[0],K=X[1],we=x.useRef(0),Ke=x.useMemo(function(){return be?ie(be):[]},[be]),ke=x.useRef({}),Te=function(){ke.current={}};se||Te();var Ye=(0,I.Z)(function(){if(be&&H&&se){let lr=function(Pr,Qr){var Pi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sn,bi=ve.x+Pr,Ii=ve.y+Qr,Ui=bi+Ze,va=Ii+Ft,wa=Math.max(bi,Pi.left),Wa=Math.max(Ii,Pi.top),da=Math.min(Ui,Pi.right),fa=Math.min(va,Pi.bottom);return Math.max(0,(da-wa)*(fa-Wa))},Gn=function(){zn=ve.y+An,sr=zn+Ft,wr=ve.x+Cn,Cr=wr+Ze};var vt,bt,ht=be,Nt=ht.ownerDocument,_t=de(ht),w=_t.getComputedStyle(ht),D=w.width,St=w.height,ue=w.position,Be=ht.style.left,pn=ht.style.top,Ve=ht.style.right,nt=ht.style.bottom,Je=ht.style.overflow,Ae=(0,y.Z)((0,y.Z)({},xe[O]),k),De=Nt.createElement("div");(vt=ht.parentElement)===null||vt===void 0||vt.appendChild(De),De.style.left="".concat(ht.offsetLeft,"px"),De.style.top="".concat(ht.offsetTop,"px"),De.style.position=ue,De.style.height="".concat(ht.offsetHeight,"px"),De.style.width="".concat(ht.offsetWidth,"px"),ht.style.left="0",ht.style.top="0",ht.style.right="auto",ht.style.bottom="auto",ht.style.overflow="hidden";var ze;if(Array.isArray(H))ze={x:H[0],y:H[1],width:0,height:0};else{var qe=H.getBoundingClientRect();ze={x:qe.x,y:qe.y,width:qe.width,height:qe.height}}var ve=ht.getBoundingClientRect(),an=Nt.documentElement,Ge=an.clientWidth,mn=an.clientHeight,_n=an.scrollWidth,jt=an.scrollHeight,Xt=an.scrollTop,Rt=an.scrollLeft,Ft=ve.height,Ze=ve.width,Et=ze.height,xt=ze.width,Ne={left:0,top:0,right:Ge,bottom:mn},Ce={left:-Rt,top:-Xt,right:_n-Rt,bottom:jt-Xt},mt=Ae.htmlRegion,pt="visible",Dt="visibleFirst";mt!=="scroll"&&mt!==Dt&&(mt=pt);var Ht=mt===Dt,nn=V(Ce,Ke),Kt=V(Ne,Ke),sn=mt===pt?Kt:nn,un=Ht?Kt:sn;ht.style.left="auto",ht.style.top="auto",ht.style.right="0",ht.style.bottom="0";var Ut=ht.getBoundingClientRect();ht.style.left=Be,ht.style.top=pn,ht.style.right=Ve,ht.style.bottom=nt,ht.style.overflow=Je,(bt=ht.parentElement)===null||bt===void 0||bt.removeChild(De);var kt=v(Math.round(Ze/parseFloat(D)*1e3)/1e3),ln=v(Math.round(Ft/parseFloat(St)*1e3)/1e3);if(kt===0||ln===0||(0,Se.Sh)(H)&&!(0,te.Z)(H))return;var dn=Ae.offset,hn=Ae.targetOffset,wn=Le(ve,dn),Xn=(0,L.Z)(wn,2),Nn=Xn[0],en=Xn[1],dt=Le(ze,hn),yt=(0,L.Z)(dt,2),Lt=yt[0],Bt=yt[1];ze.x-=Lt,ze.y-=Bt;var Ot=Ae.points||[],Yt=(0,L.Z)(Ot,2),Gt=Yt[0],gn=Yt[1],En=Oe(gn),In=Oe(Gt),qn=Ie(ze,En),er=Ie(ve,In),pr=(0,y.Z)({},Ae),Cn=qn.x-er.x+Nn,An=qn.y-er.y+en,mr=lr(Cn,An),Vn=lr(Cn,An,Kt),Dr=Ie(ze,["t","l"]),tr=Ie(ve,["t","l"]),dr=Ie(ze,["b","r"]),vr=Ie(ve,["b","r"]),nr=Ae.overflow||{},Ir=nr.adjustX,$r=nr.adjustY,Jn=nr.shiftX,Fn=nr.shiftY,at=function(Qr){return typeof Qr=="boolean"?Qr:Qr>=0},zn,sr,wr,Cr;Gn();var Nr=at($r),jr=In[0]===En[0];if(Nr&&In[0]==="t"&&(sr>un.bottom||ke.current.bt)){var Sr=An;jr?Sr-=Ft-Et:Sr=Dr.y-vr.y-en;var Mr=lr(Cn,Sr),Gr=lr(Cn,Sr,Kt);Mr>mr||Mr===mr&&(!Ht||Gr>=Vn)?(ke.current.bt=!0,An=Sr,en=-en,pr.points=[$e(In,0),$e(En,0)]):ke.current.bt=!1}if(Nr&&In[0]==="b"&&(zn<un.top||ke.current.tb)){var On=An;jr?On+=Ft-Et:On=dr.y-tr.y-en;var Kn=lr(Cn,On),gr=lr(Cn,On,Kt);Kn>mr||Kn===mr&&(!Ht||gr>=Vn)?(ke.current.tb=!0,An=On,en=-en,pr.points=[$e(In,0),$e(En,0)]):ke.current.tb=!1}var Lr=at(Ir),Xr=In[1]===En[1];if(Lr&&In[1]==="l"&&(Cr>un.right||ke.current.rl)){var jn=Cn;Xr?jn-=Ze-xt:jn=Dr.x-vr.x-Nn;var zr=lr(jn,An),Vr=lr(jn,An,Kt);zr>mr||zr===mr&&(!Ht||Vr>=Vn)?(ke.current.rl=!0,Cn=jn,Nn=-Nn,pr.points=[$e(In,1),$e(En,1)]):ke.current.rl=!1}if(Lr&&In[1]==="r"&&(wr<un.left||ke.current.lr)){var fi=Cn;Xr?fi+=Ze-xt:fi=dr.x-tr.x-Nn;var ki=lr(fi,An),Ai=lr(fi,An,Kt);ki>mr||ki===mr&&(!Ht||Ai>=Vn)?(ke.current.lr=!0,Cn=fi,Nn=-Nn,pr.points=[$e(In,1),$e(En,1)]):ke.current.lr=!1}Gn();var ti=Jn===!0?0:Jn;typeof ti=="number"&&(wr<Kt.left&&(Cn-=wr-Kt.left-Nn,ze.x+xt<Kt.left+ti&&(Cn+=ze.x-Kt.left+xt-ti)),Cr>Kt.right&&(Cn-=Cr-Kt.right-Nn,ze.x>Kt.right-ti&&(Cn+=ze.x-Kt.right+ti)));var vi=Fn===!0?0:Fn;typeof vi=="number"&&(zn<Kt.top&&(An-=zn-Kt.top-en,ze.y+Et<Kt.top+vi&&(An+=ze.y-Kt.top+Et-vi)),sr>Kt.bottom&&(An-=sr-Kt.bottom-en,ze.y>Kt.bottom-vi&&(An+=ze.y-Kt.bottom+vi)));var li=ve.x+Cn,Di=li+Ze,Fi=ve.y+An,Vi=Fi+Ft,Ri=ze.x,Zi=Ri+xt,Kr=ze.y,aa=Kr+Et,ga=Math.max(li,Ri),ua=Math.min(Di,Zi),yi=(ga+ua)/2,ca=yi-li,_a=Math.max(Fi,Kr),Pn=Math.min(Vi,aa),Ni=(_a+Pn)/2,na=Ni-Fi;E==null||E(be,pr);var or=Ut.right-ve.x-(Cn+ve.width),xr=Ut.bottom-ve.y-(An+ve.height);K({ready:!0,offsetX:Cn/kt,offsetY:An/ln,offsetR:or/kt,offsetB:xr/ln,arrowX:ca/kt,arrowY:na/ln,scaleX:kt,scaleY:ln,align:pr})}}),et=function(){we.current+=1;var bt=we.current;Promise.resolve().then(function(){we.current===bt&&Ye()})},je=function(){K(function(bt){return(0,y.Z)((0,y.Z)({},bt),{},{ready:!1})})};return(0,S.Z)(je,[O]),(0,S.Z)(function(){se||je()},[se]),[Z.ready,Z.offsetX,Z.offsetY,Z.offsetR,Z.offsetB,Z.arrowX,Z.arrowY,Z.scaleX,Z.scaleY,Z.align,et]}var ut=f(26407);function it(se,be,H,O,xe){(0,S.Z)(function(){if(se&&be&&H){let we=function(){O(),xe()};var k=be,E=H,T=ie(k),X=ie(E),Z=de(E),K=new Set([Z].concat((0,ut.Z)(T),(0,ut.Z)(X)));return K.forEach(function(Ke){Ke.addEventListener("scroll",we,{passive:!0})}),Z.addEventListener("resize",we,{passive:!0}),O(),function(){K.forEach(function(Ke){Ke.removeEventListener("scroll",we),Z.removeEventListener("resize",we)})}}},[se,be,H])}var Pt=f(48736),Jt=f(16089);function rn(se,be,H,O,xe,k,E,T){var X=x.useRef(se),Z=x.useRef(!1);X.current!==se&&(Z.current=!0,X.current=se),x.useEffect(function(){var K=(0,Jt.Z)(function(){Z.current=!1});return function(){Jt.Z.cancel(K)}},[se]),x.useEffect(function(){if(be&&O&&(!xe||k)){var K=function(){var ue=!1,Be=function(nt){var Je=nt.target;ue=E(Je)},pn=function(nt){var Je=nt.target;!Z.current&&X.current&&!ue&&!E(Je)&&T(!1)};return[Be,pn]},we=K(),Ke=(0,L.Z)(we,2),ke=Ke[0],Te=Ke[1],Ye=K(),et=(0,L.Z)(Ye,2),je=et[0],vt=et[1],bt=de(O);bt.addEventListener("mousedown",ke,!0),bt.addEventListener("click",Te,!0),bt.addEventListener("contextmenu",Te,!0);var ht=(0,a.A)(H);if(ht&&(ht.addEventListener("mousedown",je,!0),ht.addEventListener("click",vt,!0),ht.addEventListener("contextmenu",vt,!0)),0)var Nt,_t,w,D;return function(){bt.removeEventListener("mousedown",ke,!0),bt.removeEventListener("click",Te,!0),bt.removeEventListener("contextmenu",Te,!0),ht&&(ht.removeEventListener("mousedown",je,!0),ht.removeEventListener("click",vt,!0),ht.removeEventListener("contextmenu",vt,!0))}}},[be,H,O,xe,k])}var It=["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 Zt(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ee.Z,be=x.forwardRef(function(H,O){var xe=H.prefixCls,k=xe===void 0?"rc-trigger-popup":xe,E=H.children,T=H.action,X=T===void 0?"hover":T,Z=H.showAction,K=H.hideAction,we=H.popupVisible,Ke=H.defaultPopupVisible,ke=H.onPopupVisibleChange,Te=H.afterPopupVisibleChange,Ye=H.mouseEnterDelay,et=H.mouseLeaveDelay,je=et===void 0?.1:et,vt=H.focusDelay,bt=H.blurDelay,ht=H.mask,Nt=H.maskClosable,_t=Nt===void 0?!0:Nt,w=H.getPopupContainer,D=H.forceRender,St=H.autoDestroy,ue=H.destroyPopupOnHide,Be=H.popup,pn=H.popupClassName,Ve=H.popupStyle,nt=H.popupPlacement,Je=H.builtinPlacements,Ae=Je===void 0?{}:Je,De=H.popupAlign,ze=H.zIndex,qe=H.stretch,ve=H.getPopupClassNameFromAlign,an=H.fresh,Ge=H.alignPoint,mn=H.onPopupClick,_n=H.onPopupAlign,jt=H.arrow,Xt=H.popupMotion,Rt=H.maskMotion,Ft=H.popupTransitionName,Ze=H.popupAnimation,Et=H.maskTransitionName,xt=H.maskAnimation,Ne=H.className,Ce=H.getTriggerDOMNode,mt=(0,ee.Z)(H,It),pt=St||ue||!1,Dt=x.useState(!1),Ht=(0,L.Z)(Dt,2),nn=Ht[0],Kt=Ht[1];(0,S.Z)(function(){Kt((0,u.Z)())},[]);var sn=x.useRef({}),un=x.useContext(me),Ut=x.useMemo(function(){return{registerSubPopup:function(ar,Jr){sn.current[ar]=Jr,un==null||un.registerSubPopup(ar,Jr)}}},[un]),kt=(0,z.Z)(),ln=x.useState(null),dn=(0,L.Z)(ln,2),hn=dn[0],wn=dn[1],Xn=(0,I.Z)(function(ur){(0,Se.Sh)(ur)&&hn!==ur&&wn(ur),un==null||un.registerSubPopup(kt,ur)}),Nn=x.useState(null),en=(0,L.Z)(Nn,2),dt=en[0],yt=en[1],Lt=x.useRef(null),Bt=(0,I.Z)(function(ur){(0,Se.Sh)(ur)&&dt!==ur&&(yt(ur),Lt.current=ur)}),Ot=x.Children.only(E),Yt=(Ot==null?void 0:Ot.props)||{},Gt={},gn=(0,I.Z)(function(ur){var ar,Jr,Ki=dt;return(Ki==null?void 0:Ki.contains(ur))||((ar=(0,a.A)(Ki))===null||ar===void 0?void 0:ar.host)===ur||ur===Ki||(hn==null?void 0:hn.contains(ur))||((Jr=(0,a.A)(hn))===null||Jr===void 0?void 0:Jr.host)===ur||ur===hn||Object.values(sn.current).some(function(ui){return(ui==null?void 0:ui.contains(ur))||ur===ui})}),En=Q(k,Xt,Ze,Ft),In=Q(k,Rt,xt,Et),qn=x.useState(Ke||!1),er=(0,L.Z)(qn,2),pr=er[0],Cn=er[1],An=we!=null?we:pr,mr=(0,I.Z)(function(ur){we===void 0&&Cn(ur)});(0,S.Z)(function(){Cn(we||!1)},[we]);var Vn=x.useRef(An);Vn.current=An;var Dr=x.useRef([]);Dr.current=[];var tr=(0,I.Z)(function(ur){var ar;mr(ur),((ar=Dr.current[Dr.current.length-1])!==null&&ar!==void 0?ar:An)!==ur&&(Dr.current.push(ur),ke==null||ke(ur))}),dr=x.useRef(),vr=function(){clearTimeout(dr.current)},nr=function(ar){var Jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;vr(),Jr===0?tr(ar):dr.current=setTimeout(function(){tr(ar)},Jr*1e3)};x.useEffect(function(){return vr},[]);var Ir=x.useState(!1),$r=(0,L.Z)(Ir,2),Jn=$r[0],Fn=$r[1];(0,S.Z)(function(ur){(!ur||An)&&Fn(!0)},[An]);var at=x.useState(null),zn=(0,L.Z)(at,2),sr=zn[0],wr=zn[1],Cr=x.useState([0,0]),Nr=(0,L.Z)(Cr,2),jr=Nr[0],Sr=Nr[1],Mr=function(ar){Sr([ar.clientX,ar.clientY])},Gr=lt(An,hn,Ge?jr:dt,nt,Ae,De,_n),On=(0,L.Z)(Gr,11),Kn=On[0],gr=On[1],Lr=On[2],Xr=On[3],jn=On[4],zr=On[5],Vr=On[6],fi=On[7],ki=On[8],Ai=On[9],ti=On[10],vi=ae(nn,X,Z,K),li=(0,L.Z)(vi,2),Di=li[0],Fi=li[1],Vi=Di.has("click"),Ri=Fi.has("click")||Fi.has("contextMenu"),Zi=(0,I.Z)(function(){Jn||ti()}),Kr=function(){Vn.current&&Ge&&Ri&&nr(!1)};it(An,dt,hn,Zi,Kr),(0,S.Z)(function(){Zi()},[jr,nt]),(0,S.Z)(function(){An&&!(Ae!=null&&Ae[nt])&&Zi()},[JSON.stringify(De)]);var aa=x.useMemo(function(){var ur=he(Ae,k,Ai,Ge);return q()(ur,ve==null?void 0:ve(Ai))},[Ai,ve,Ae,k,Ge]);x.useImperativeHandle(O,function(){return{nativeElement:Lt.current,forceAlign:Zi}});var ga=x.useState(0),ua=(0,L.Z)(ga,2),yi=ua[0],ca=ua[1],_a=x.useState(0),Pn=(0,L.Z)(_a,2),Ni=Pn[0],na=Pn[1],or=function(){if(qe&&dt){var ar=dt.getBoundingClientRect();ca(ar.width),na(ar.height)}},xr=function(){or(),Zi()},lr=function(ar){Fn(!1),ti(),Te==null||Te(ar)},Gn=function(){return new Promise(function(ar){or(),wr(function(){return ar})})};(0,S.Z)(function(){sr&&(ti(),sr(),wr(null))},[sr]);function Pr(ur,ar,Jr,Ki){Gt[ur]=function(ui){var sa;Ki==null||Ki(ui),nr(ar,Jr);for(var Va=arguments.length,Ha=new Array(Va>1?Va-1:0),ya=1;ya<Va;ya++)Ha[ya-1]=arguments[ya];(sa=Yt[ur])===null||sa===void 0||sa.call.apply(sa,[Yt,ui].concat(Ha))}}(Vi||Ri)&&(Gt.onClick=function(ur){var ar;Vn.current&&Ri?nr(!1):!Vn.current&&Vi&&(Mr(ur),nr(!0));for(var Jr=arguments.length,Ki=new Array(Jr>1?Jr-1:0),ui=1;ui<Jr;ui++)Ki[ui-1]=arguments[ui];(ar=Yt.onClick)===null||ar===void 0||ar.call.apply(ar,[Yt,ur].concat(Ki))}),rn(An,Ri,dt,hn,ht,_t,gn,nr);var Qr=Di.has("hover"),Pi=Fi.has("hover"),bi,Ii;Qr&&(Pr("onMouseEnter",!0,Ye,function(ur){Mr(ur)}),Pr("onPointerEnter",!0,Ye,function(ur){Mr(ur)}),bi=function(ar){(An||Jn)&&hn!==null&&hn!==void 0&&hn.contains(ar.target)&&nr(!0,Ye)},Ge&&(Gt.onMouseMove=function(ur){var ar;(ar=Yt.onMouseMove)===null||ar===void 0||ar.call(Yt,ur)})),Pi&&(Pr("onMouseLeave",!1,je),Pr("onPointerLeave",!1,je),Ii=function(){nr(!1,je)}),Di.has("focus")&&Pr("onFocus",!0,vt),Fi.has("focus")&&Pr("onBlur",!1,bt),Di.has("contextMenu")&&(Gt.onContextMenu=function(ur){var ar;Vn.current&&Fi.has("contextMenu")?nr(!1):(Mr(ur),nr(!0)),ur.preventDefault();for(var Jr=arguments.length,Ki=new Array(Jr>1?Jr-1:0),ui=1;ui<Jr;ui++)Ki[ui-1]=arguments[ui];(ar=Yt.onContextMenu)===null||ar===void 0||ar.call.apply(ar,[Yt,ur].concat(Ki))}),Ne&&(Gt.className=q()(Yt.className,Ne));var Ui=(0,y.Z)((0,y.Z)({},Yt),Gt),va={},wa=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];wa.forEach(function(ur){mt[ur]&&(va[ur]=function(){for(var ar,Jr=arguments.length,Ki=new Array(Jr),ui=0;ui<Jr;ui++)Ki[ui]=arguments[ui];(ar=Ui[ur])===null||ar===void 0||ar.call.apply(ar,[Ui].concat(Ki)),mt[ur].apply(mt,Ki)})});var Wa=x.cloneElement(Ot,(0,y.Z)((0,y.Z)({},Ui),va)),da={x:zr,y:Vr},fa=jt?(0,y.Z)({},jt!==!0?jt:{}):null;return x.createElement(x.Fragment,null,x.createElement(C.Z,{disabled:!An,ref:Bt,onResize:xr},x.createElement(j,{getTriggerDOMNode:Ce},Wa)),x.createElement(me.Provider,{value:Ut},x.createElement(R,{portal:se,ref:Xn,prefixCls:k,popup:Be,className:q()(pn,aa),style:Ve,target:dt,onMouseEnter:bi,onMouseLeave:Ii,onPointerEnter:bi,zIndex:ze,open:An,keepDom:Jn,fresh:an,onClick:mn,mask:ht,motion:En,maskMotion:In,onVisibleChanged:lr,onPrepare:Gn,forceRender:D,autoDestroy:pt,getPopupContainer:w,align:Ai,arrow:fa,arrowPos:da,ready:Kn,offsetX:gr,offsetY:Lr,offsetR:Xr,offsetB:jn,onAlign:Zi,stretch:qe,targetWidth:yi/fi,targetHeight:Ni/ki})))});return be}var ot=Zt(Ee.Z)},50304:function(){"use strict"},59155:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return u}});var y=f(59301),L=f(8591),ee=f(92832),Ee={codeBox:"codeBox___WpkVl"},$=f(92310),q=f.n($),C=Object.defineProperty,Se=(x,m,P)=>m in x?C(x,m,{enumerable:!0,configurable:!0,writable:!0,value:P}):x[m]=P,a=(x,m,P)=>Se(x,typeof m!="symbol"?m+"":m,P),I=(x,m,P)=>new Promise((ce,U)=>{var W=b=>{try{Y(P.next(b))}catch(R){U(R)}},ne=b=>{try{Y(P.throw(b))}catch(R){U(R)}},Y=b=>b.done?ce(b.value):Promise.resolve(b.value).then(W,ne);Y((P=P.apply(x,m)).next())});class z extends y.Component{constructor(m){super(m),a(this,"canvas"),a(this,"randomNum",(P,ce)=>Math.floor(Math.random()*(ce-P)+P)),a(this,"drawPic",()=>{this.randomCode()}),a(this,"reloadPic",()=>{this.drawPic()}),a(this,"changeCode",P=>{console.log(P.target.value,222),this.setState({value:P.target.value,showError:!1})}),a(this,"onVerify",()=>{let P;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(P=!0,L.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(P=!0,L.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(P=!1),this.setState({showError:P}),P}),this.canvas=y.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(m,P){const ce=this.randomNum(m,P),U=this.randomNum(m,P),W=this.randomNum(m,P);return`rgb(${ce}, ${U}, ${W})`}drawText(m,P,ce){m.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const U=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);m.font=U+"px SimHei";const W=10,ne=(this.state.contentWidth-40)/(this.state.code.length-1);let Y=W;ce>0&&(Y=W+ce*ne);let b=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);U>40&&(b=40);const R=this.randomNum(-10,10);m.translate(Y,b),m.rotate(R*Math.PI/180),m.fillText(P,0,0),m.rotate(-R*Math.PI/180),m.translate(-Y,-b)}drawLine(m){for(let P=0;P<1;P++)m.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),m.beginPath(),m.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),m.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),m.stroke()}drawDot(m){for(let P=0;P<100;P++)m.fillStyle=this.randomColor(0,255),m.beginPath(),m.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),m.fill()}randomCode(){let m="";const P="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let ce=0;ce<this.state.codeLength;ce++){const U=Math.floor(Math.random()*57);m+=P[U]}this.setState({code:m},()=>{const U=this.canvas.current.getContext("2d");U.textBaseline="bottom",U.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),U.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let W=0;W<this.state.code.length;W++)this.drawText(U,this.state.code[W],W);this.drawLine(U),this.drawDot(U)})}render(){const{className:m,width:P=300}=this.props;return y.createElement("div",{className:q()(Ee.codeBox,m),style:{width:P}},y.createElement("aside",null,y.createElement(ee.default,{value:this.state.value,onChange:this.changeCode,placeholder:"\u8BF7\u8F93\u5165\u56FE\u7247\u4E2D\u7684\u9A8C\u8BC1\u7801"})),y.createElement("div",null,y.createElement("canvas",{onClick:this.reloadPic,ref:this.canvas,width:"100",height:"30"}),y.createElement("div",{className:"current",onClick:this.reloadPic},"\u770B\u4E0D\u6E05\uFF1F\u6362\u4E00\u5F20")))}}const S=(x,m)=>{let P;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,m),React.createElement(z,{ref:ce=>P=ce})),onOk:()=>I(void 0,null,function*(){if(P.onVerify())return Promise.reject();x()})})};var u=z},8797:function(tn,tt,f){"use strict";var y=f(59301),L=f(93314),ee=f(3113),Ee=Object.defineProperty,$=Object.defineProperties,q=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,I=(x,m,P)=>m in x?Ee(x,m,{enumerable:!0,configurable:!0,writable:!0,value:P}):x[m]=P,z=(x,m)=>{for(var P in m||(m={}))Se.call(m,P)&&I(x,P,m[P]);if(C)for(var P of C(m))a.call(m,P)&&I(x,P,m[P]);return x},S=(x,m)=>$(x,q(m));const u=({img:x,buttonProps:m={},styles:P={},customText:ce,ButtonText:U,ButtonClick:W,Buttonclass:ne,ButtonTwo:Y,imgStyles:b,loading:R=!1})=>y.createElement("section",{className:"tc animated fadeIn",style:z(z({},{color:"#999",margin:"100px auto",visibility:R?"hidden":"visible"}),P)},y.createElement("img",{src:x||L,style:S(z({},b),{pointerEvents:"none",userSelect:"none"})}),y.createElement("p",{className:"mt20 font14"},ce||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),U&&y.createElement(ee.ZP,z({className:ne,onClick:W},m),U),Y&&Y);tt.Z=u},23210:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return ne}});var y=f(59301),L={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},ee=f(3113),Ee=f(70557),$=f(23954),q=f(6848),C=f(955),Se=f(94941),a=f(8797),I=f(3294),z=f(19381),S=f(59301),u=Object.defineProperty,x=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,ce=(Y,b,R)=>b in Y?u(Y,b,{enumerable:!0,configurable:!0,writable:!0,value:R}):Y[b]=R,U=(Y,b)=>{for(var R in b||(b={}))m.call(b,R)&&ce(Y,R,b[R]);if(x)for(var R of x(b))P.call(b,R)&&ce(Y,R,b[R]);return Y},W=(Y,b,R)=>new Promise((G,j)=>{var pe=ae=>{try{fe(R.next(ae))}catch(te){j(te)}},me=ae=>{try{fe(R.throw(ae))}catch(te){j(te)}},fe=ae=>ae.done?G(ae.value):Promise.resolve(ae.value).then(pe,me);fe((R=R.apply(Y,b)).next())}),ne=({editOffice:Y="view",data:b,theme:R,type:G,filename:j,monacoEditor:pe,className:me,style:fe,close:ae,onClose:te,hasMask:M,disabledDownload:he,onImgDimensions:Q,showNodata:de,recordInfo:ie})=>{const[v,_]=(0,y.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[V,J]=(0,y.useState)(""),[Le,Oe]=(0,y.useState)(),Ie=window.ENV==="build"?"/react/build":"",$e=location.host.startsWith("localhost")?I.Z.PROXY_SERVER:I.Z.API_SERVER,ut=10*(1024*1024),it=(0,y.useRef)();b!=null&&b.startsWith("/api")&&G!=="txt"&&(b=I.Z.API_SERVER+b);const Pt=Zt=>Zt.substring(Zt.lastIndexOf("/")+1).split(".").pop();j&&pe&&(pe.filename=j),(0,y.useEffect)(()=>{var Zt,ot;const se=(ot=(Zt=document.cookie)==null?void 0:Zt.replace(/\s/g,""))==null?void 0:ot.split(";");se==null||se.map(be=>{let H=be.split("=");H[0]==="_educoder_session"&&J(H[1])})},[]),(0,y.useEffect)(()=>{G==="office"&&(b.indexOf("bigfilescdn.")>-1||b.indexOf("bigfiles1")>-1?Oe({url:b,fileType:Pt(b),model:b.indexOf("model=edit")?"edit":"view"}):Jt())},[G,b]);const Jt=()=>W(void 0,null,function*(){console.log("data:",b);let Zt=b;b.startsWith("http")||(Zt=location.origin+Zt);let ot=new URL(Zt).pathname.split("/").pop();const se=yield(0,Se.gJ)({attachment_id:ot});se.url=$e+se.url,Oe(se)}),rn=()=>{if(b.startsWith("http")||b.startsWith("blob:")){It();return}(0,C.Sv)(j||"educoder",b,j)},It=()=>{ie&&(0,z.fc)({id:ie==null?void 0:ie.id,watch_type:1,course_id:ie==null?void 0:ie.course_id}),(0,C.Nd)(j||"educoder",decodeURIComponent(b))};return S.createElement("div",{style:U({},fe||{}),className:`${M&&L.bgBlack} ${G?L.wrp:"hide"}`},ae&&S.createElement("div",{className:L.close,ref:it},!!Q&&S.createElement(q.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>it.current},S.createElement("span",{onClick:()=>{te(),Q()}},S.createElement("i",{className:"icon-yulanpizhu"}))),!he&&S.createElement(q.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>it.current},S.createElement("span",{onClick:It},S.createElement("i",{className:"icon-quxiaozhiding"}))),S.createElement(q.Z,{title:"\u5173\u95ED",getPopupContainer:()=>it.current},S.createElement("span",{className:"",onClick:te},S.createElement("i",{className:"icon-guanbi1"})))),S.createElement("div",{className:`${L[me]} ${me} ${L.monaco} ${G==="txt"?"show":"hide"}`},G==="txt"&&S.createElement(S.Fragment,null,S.createElement($.ZP,U({},pe)))),G==="audio"&&S.createElement("audio",{src:`${(b==null?void 0:b.indexOf("http://"))>-1||(b==null?void 0:b.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${b}`,autoPlay:!0}),G==="video"&&S.createElement(S.Fragment,null,(b==null?void 0:b.indexOf("http"))>-1?S.createElement("video",{controls:!0,src:`${b}`,autoPlay:!0}):S.createElement("video",{controls:!0,src:`data:video/mp4;base64,${b}`,autoPlay:!0})),G==="office"&&Le&&S.createElement("iframe",{src:`${Ie}/office.html?key=${Le.key}&url=${btoa(Le.url)}&callbackUrl=${$e+(Le.callbackUrl||"")}&fileType=${Le.fileType}&title=${Le.title||""}&model=${Y}&officeServer=${I.Z.ONLYOFFICE}&disabledDownload=${!!he}`}),G==="html"&&S.createElement("iframe",{src:b+"&disposition=inline"}),G==="pdf"&&S.createElement("iframe",{src:`${Ie}/js/pdfview/index.html?filename=${j||"educoder.pdf"}&url=${encodeURIComponent(b)}&disabledDownload=${!!he}`}),G==="image"&&S.createElement("img",{src:`${(b==null?void 0:b.indexOf("http://"))>-1||(b==null?void 0:b.indexOf("https://"))>-1?"":"data:image/png;base64,"}${b}`}),(G==="other"||G==="download")&&S.createElement(S.Fragment,null,de?S.createElement(a.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:S.createElement(ee.ZP,{icon:S.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:rn,disabled:he},"\u4E0B\u8F7D")}):S.createElement(ee.ZP,{type:"primary",size:"middle",onClick:rn,disabled:he},S.createElement(Ee.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(tn,tt,f){"use strict";f.d(tt,{z:function(){return G},Z:function(){return j}});var y=f(59301),L=f(50304),ee=f(24768),Ee=f(64018),$=f(40846),q=f(3294),C=f(955),Se=f(15342),a=f(1012),I=f(23210),z=f(59301),u=({html:pe})=>{const me=(0,y.useRef)(null),fe=(0,y.useRef)(null),ae=`.markdown-body p {
margin: 0 0 16px 0 !important;
line-height: 28px;
white-space: pre-wrap;
}
ol,
ul,
li {
list-style-type: none
}
ol,
ul,
dl {
margin-bottom: 0px;
}
.markdown-body {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
color: #333;
overflow: hidden;
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
word-break: break-word;
font-size: 16px;
line-height: 1.6;
white-space: normal;
word-wrap: break-word;
position: relative;
}
.markdown-body ul>li {
list-style-type: disc;
}
.markdown-body ol>li {
list-style-type: decimal;
}
.markdown-body a {
background: transparent;
}
.markdown-body a:active,
.markdown-body a:hover {
outline: 0;
}
.markdown-body strong {
font-weight: bold;
}
.markdown-body h1 {
font-size: 2em;
margin: 0.67em 0;
}
.markdown-body img {
border: 0;
}
.markdown-body hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.markdown-body pre {
overflow: auto;
}
.markdown-body code,
.markdown-body kbd,
.markdown-body pre {
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
font-size: 1em;
}
.markdown-body input {
color: inherit;
font: inherit;
margin: 0;
}
.markdown-body html input[disabled] {
cursor: default;
}
.markdown-body input {
line-height: normal;
}
.markdown-body input[type="checkbox"] {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
.markdown-body table {
border-collapse: collapse;
border-spacing: 0;
}
.markdown-body td,
.markdown-body th {
padding: 0;
}
.markdown-body * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body input {
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}
.markdown-body a {
color: #4183c4;
text-decoration: none;
}
.markdown-body a:hover,
.markdown-body a:active {
text-decoration: underline;
}
.markdown-body hr {
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #ddd;
}
.markdown-body hr:before {
display: table;
content: "";
}
.markdown-body hr:after {
display: table;
clear: both;
content: "";
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
margin-top: 15px;
margin-bottom: 15px;
line-height: 1.1;
}
.markdown-body h1 {
font-size: 30px;
}
.markdown-body h2 {
font-size: 21px;
}
.markdown-body h3 {
font-size: 16px;
}
.markdown-body h4 {
font-size: 14px;
}
.markdown-body h5 {
font-size: 12px;
}
.markdown-body h6 {
font-size: 11px;
}
.markdown-body blockquote {
margin: 0;
}
.markdown-body ul,
.markdown-body ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;
}
ul.linenums,
ol.linenums {
padding: 16px 0 0 36px !important;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 2em;
}
.markdown-body ol ol,
.markdown-body ul ol {
list-style-type: lower-roman;
}
.markdown-body ul ul ol,
.markdown-body ul ol ol,
.markdown-body ol ul ol,
.markdown-body ol ol ol {
list-style-type: lower-alpha;
}
.markdown-body dd {
margin-left: 0;
}
.markdown-body code {
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
}
.markdown-body pre {
margin-top: 0;
margin-bottom: 0;
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
.markdown-body .octicon {
font: normal normal 16px octicons-anchor;
line-height: 1;
display: inline-block;
text-decoration: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-body .octicon-link:before {
content: '\f05c';
}
.markdown-body>*:first-child {
margin-top: 0 !important;
}
.markdown-body>*:last-child {
margin-bottom: 0 !important;
}
.markdown-body .anchor {
position: absolute;
top: 0;
left: 0;
display: block;
padding-right: 6px;
padding-left: 30px;
margin-left: -30px;
}
.markdown-body .anchor:focus {
outline: none;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
position: relative;
margin-top: 1em;
margin-bottom: 16px;
font-weight: bold;
line-height: 1.4;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
display: none;
color: #000;
vertical-align: middle;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
padding-left: 8px;
margin-left: -30px;
text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
display: inline-block;
}
.markdown-body h1 {
padding-bottom: 0.3em;
font-size: 2.25em;
line-height: 1.2;
border-bottom: 1px solid #eee;
}
.markdown-body h1 .anchor {
line-height: 1;
}
.markdown-body h2 {
padding-bottom: 0.3em;
font-size: 1.75em;
line-height: 1.225;
border-bottom: 1px solid #eee;
}
.markdown-body h2 .anchor {
line-height: 1;
}
.markdown-body h3 {
font-size: 1.5em;
line-height: 1.43;
}
.markdown-body h3 .anchor {
line-height: 1.2;
}
.markdown-body h4 {
font-size: 1.25em;
}
.markdown-body h4 .anchor {
line-height: 1.2;
}
.markdown-body h5 {
font-size: 1em;
}
.markdown-body h5 .anchor {
line-height: 1.1;
}
.markdown-body h6 {
font-size: 1em;
color: #777;
}
.markdown-body h6 .anchor {
line-height: 1.1;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-body li>p {
margin-top: 16px;
}
.markdown-body dl {
padding: 0;
}
.markdown-body dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: bold;
}
.markdown-body dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.markdown-body blockquote {
padding: 0 15px;
color: #777;
border-left: 4px solid #ddd;
}
.markdown-body blockquote> :first-child {
margin-top: 0;
}
.markdown-body blockquote> :last-child {
margin-bottom: 0;
}
.markdown-body table {
display: block;
width: 100%;
overflow: auto;
word-break: normal;
word-break: keep-all;
}
.markdown-body table th {
font-weight: bold;
text-align: revert;
}
.markdown-body table th,
.markdown-body table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
.markdown-body table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
.markdown-body table tr:nth-child(2n) {
background-color: #f8f8f8;
}
.markdown-body img {
max-width: 100%;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.markdown-body code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
font-size: 85%;
background-color: rgba(0, 0, 0, 0.04);
border-radius: 3px;
}
.markdown-body code:has(.katex) {
background-color: transparent;
}
.markdown-body code:before,
.markdown-body code:after {
letter-spacing: -0.2em;
content: "\\00a0";
}
.markdown-body pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.markdown-body .highlight {
margin-bottom: 16px;
}
.markdown-body .highlight pre,
.markdown-body pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: #f7f7f7;
border-radius: 3px;
}
.markdown-body .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.markdown-body pre {
word-wrap: normal;
}
.markdown-body pre code {
display: inline;
max-width: initial;
padding: 0;
margin: 0;
overflow: initial;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
.markdown-body pre code:before,
.markdown-body pre code:after {
content: normal;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font-size: 11px;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .pl-c {
color: #969896;
}
.markdown-body .pl-c1,
.markdown-body .pl-mdh,
.markdown-body .pl-mm,
.markdown-body .pl-mp,
.markdown-body .pl-mr,
.markdown-body .pl-s1 .pl-v,
.markdown-body .pl-s3,
.markdown-body .pl-sc,
.markdown-body .pl-sv {
color: #0086b3;
}
.markdown-body .pl-e,
.markdown-body .pl-en {
color: #795da3;
}
.markdown-body .pl-s1 .pl-s2,
.markdown-body .pl-smi,
.markdown-body .pl-smp,
.markdown-body .pl-stj,
.markdown-body .pl-vo,
.markdown-body .pl-vpf {
color: #333;
}
.markdown-body .pl-ent {
color: #63a35c;
}
.markdown-body .pl-k,
.markdown-body .pl-s,
.markdown-body .pl-st {
color: #a71d5d;
}
.markdown-body .pl-pds,
.markdown-body .pl-s1,
.markdown-body .pl-s1 .pl-pse .pl-s2,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre,
.markdown-body .pl-src {
color: #df5000;
}
.markdown-body .pl-mo,
.markdown-body .pl-v {
color: #1d3e81;
}
.markdown-body .pl-id {
color: #b52a1d;
}
.markdown-body .pl-ii {
background-color: #b52a1d;
color: #f8f8f8;
}
.markdown-body .pl-sr .pl-cce {
color: #63a35c;
font-weight: bold;
}
.markdown-body .pl-ml {
color: #693a17;
}
.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
color: #1d3e81;
font-weight: bold;
}
.markdown-body .pl-mq {
color: #008080;
}
.markdown-body .pl-mi {
color: #333;
font-style: italic;
}
.markdown-body .pl-mb {
color: #333;
font-weight: bold;
}
.markdown-body .pl-md,
.markdown-body .pl-mdhf {
background-color: #ffecec;
color: #bd2c00;
}
.markdown-body .pl-mdht,
.markdown-body .pl-mi1 {
background-color: #eaffea;
color: #55a532;
}
.markdown-body .pl-mdr {
color: #795da3;
font-weight: bold;
}
.markdown-body kbd {
display: inline-block;
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
.markdown-body .task-list-item {
list-style-type: none;
}
.markdown-body .task-list-item+.task-list-item {
margin-top: 3px;
}
.markdown-body .task-list-item input {
float: left;
margin: 0.3em 0 0.25em -1.6em;
vertical-align: middle;
}
.markdown-body :checked+.radio-label {
z-index: 1;
position: relative;
border-color: #4183c4;
}
/*! Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
.pln {
color: #000
}
/* plain text */
@media screen {
.str {
color: #080
}
/* string content */
.kwd {
color: #008
}
/* a keyword */
.com {
color: #800
}
/* a comment */
.typ {
color: #606
}
/* a type name */
.lit {
color: #066
}
/* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun,
.opn,
.clo {
color: #660
}
.tag {
color: #008
}
/* a markup tag name */
.atn {
color: #606
}
/* a markup attribute name */
.atv {
color: #080
}
/* a markup attribute value */
.dec,
.var {
color: #606
}
/* a declaration; a variable name */
.fun {
color: red
}
/* a function name */
}
/* Use higher contrast and text-weight for printable form. */
@media print,
projection {
.str {
color: #060
}
.kwd {
color: #006;
font-weight: bold
}
.com {
color: #600;
font-style: italic
}
.typ {
color: #404;
font-weight: bold
}
.lit {
color: #044
}
.pun,
.opn,
.clo {
color: #440
}
.tag {
color: #006;
font-weight: bold
}
.atn {
color: #404
}
.atv {
color: #060
}
}
/* Put a border around prettyprinted code snippets. */
pre.prettyprint {
padding: 2px;
/* border: 1px solid #888 */
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin-top: 0;
margin-bottom: 0
}
/* IE indents via margin-left */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8 {
list-style-type: none
}
/* Alternate shading for lines */
li.L1,
li.L3,
li.L5,
li.L7,
li.L9 {
background: #eee
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
margin-top: 0;
margin-bottom: 16px;
}`;return(0,y.useEffect)(()=>{const te=me.current.attachShadow({mode:"open"});fe.current=document.createElement("div"),fe.current.className="markdown-body",fe.current.innerHTML=pe,te.appendChild(fe.current);const M=document.createElement("style");return M.textContent=ae,te.appendChild(M),()=>{te.innerHTML=""}},[]),(0,y.useEffect)(()=>{fe.current&&(fe.current.innerHTML=pe)},[pe]),z.createElement("div",{ref:me})},x=Object.defineProperty,m=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,U=(pe,me,fe)=>me in pe?x(pe,me,{enumerable:!0,configurable:!0,writable:!0,value:fe}):pe[me]=fe,W=(pe,me)=>{for(var fe in me||(me={}))P.call(me,fe)&&U(pe,fe,me[fe]);if(m)for(var fe of m(me))ce.call(me,fe)&&U(pe,fe,me[fe]);return pe};const ne="@\u2581\u2581@",Y="@\u2581@",b=/<pre[^>]*>/g;function R(pe){let me=document.createElement("div");return me.innerHTML=pe,me.childNodes.length===0?"":me.childNodes[0].nodeValue}const G=(pe,me)=>{pe=pe||"";const fe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,ae=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,te=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,M=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return me?pe.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(fe,(he,Q,de,ie,v,_,V)=>{const J=Q||ie||_,Le=de||v||V||"?";return q.Z.API_SERVER+"/api/attachments/"+J+Le+"&t="+(0,C.Jn)(J,Date.now())+(he.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(pe=pe.replace(M,(he,Q,de,ie,v,_,V)=>{const J=Q||ie||_,Le=de||v||V||"?";return q.Z.API_SERVER+"/attachments/download/"+J+Le+"&t="+(0,C.Jn)(J,Date.now())+(he.indexOf(")")>-1?")":"&")}).replace(fe,(he,Q,de,ie,v,_,V)=>{const J=Q||ie||_,Le=de||v||V||"?";return q.Z.API_SERVER+"/api/attachments/"+J+Le+"&t="+(0,C.Jn)(J,Date.now())+(he.indexOf(")")>-1?")":"&")}).replace(ae,(he,Q,de,ie,v)=>{const _=Q||ie,V=de||v||"";return'"'+q.Z.API_SERVER+"/api/attachments/"+_+V+_+V+"&t="+(0,C.Jn)(_,Date.now())}).replace(te,(he,Q,de,ie,v)=>{const _=Q||ie,V=de||v||"";return"("+q.Z.API_SERVER+"/files/uploads/"+_+V+_+V+"&t="+(0,C.Jn)(_,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`),pe)};var j=({value:pe="",className:me,showTextOnly:fe,showLines:ae,style:te={},stylesPrev:M={},highlightKeywords:he,showProgramFill:Q,isProgramFill:de,disabledFill:ie=!1,programFillValue:v,onFillChange:_=Le=>{},onFillBlur:V=()=>{},onFillFocus:J=()=>{}})=>{let Le=String(pe);const[Oe,Ie]=(0,y.useState)(""),[$e,lt]=(0,y.useState)("office"),[ut,it]=(0,y.useState)([]),Pt=(0,y.useRef)("a"+(0,a.Z)()),Jt={},rn=(X,Z,K)=>{const we=document.createElement(X===Y?"input":"textarea");we.style.width="100%",we.style.height=X===Y?"40px":"151px",we.rows=5,we.spellcheck=!1,we.name="edu-program-fill",we.placeholder="\u8BF7\u8F93\u5165",we.dataset.id=Z;const Ke=Object.keys(Jt).length;return Jt[Ke]=we,`<span class="edu-program-fill-wrap ${X===Y?"":"show"}" style="width:${X===Y?"400px":"100%"}" title=${K||""}><span>${we.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function It(X){return X=X.replace(/!\[.*?\]\(.*?\)/g,""),X=X.replace(/\[.*?\]\(.*?\)/g,""),X=X.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),X=X.replace(/<embed.*?>/g,""),X=X.replace(/<img.*?>/g,""),X=X.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),X=X.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),X=X.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),X=X.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),X}const Zt=X=>X.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Z,K){let we=K.replace(/(\n|\r)/g,"").split("}"),Ke=[];return we.map(ke=>{ke!=""&&Ke.push(`.${Pt.current} ${ke}`)}),`<style>${Ke.join("}")}</style>`}),ot=(0,y.useMemo)(()=>{try{const we=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Ke=/\"\/api\/attachments\/|\"\/attachments\/download\//g,ke=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Te=/\(\/attachments\/download\//g;Le=Le.replace(Te,"("+q.Z.API_SERVER+"/attachments/download/").replace(we,"("+q.Z.API_SERVER+"/api/attachments/").replace(Ke,'"'+q.Z.API_SERVER+"/api/attachments/").replace(ke,'"'+q.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
`)}catch(we){}if(Q){let we=-1;return Le=Le.replaceAll("<","&lt;").replaceAll(">","&gt;").replace(/(@▁▁@|@▁@)/g,function(Ke,ke,Te){var Ye;return++we,rn(Ke,we,(Ye=v==null?void 0:v[we])==null?void 0:Ye.value.replaceAll("<","&lt;").replaceAll(">","&gt;"))}),`<pre style="background:#fff;padding:4px">${Zt(Le||"")}</pre>`}let X=Zt(Le);X=(0,ee.ZP)(X);const Z=(0,ee.ez)();Le.match(/\[TOC\]/)&&(X=X.replace("<p>[TOC]</p>",(0,ee.Qv)()),(0,ee.Iy)()),X=X.replace(/(__special_katext_id_\d+__)/g,(we,Ke)=>{const{type:ke,expression:Te}=Z[Ke];return(0,Se.renderToString)(R(Te)||"",{displayMode:ke==="block",throwOnError:!1,output:"html"})}),X=X.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,ee.AL)();const K=document.createElement("div");if(K.innerHTML=X,fe)return K.innerText;if(he){const we=he.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return O(K,we),K.innerHTML}return setTimeout(()=>E(),500),K.innerHTML},[Le,he]);(0,y.useEffect)(()=>{xe.current&&xe.current.querySelectorAll(["input","textarea"]).forEach(Z=>{Z.oninput=se,Z.onblur=be,Z.onfocus=H})},[ut]),(0,y.useEffect)(()=>{var X,Z,K,we,Ke;if(v!=null&&v.length)try{const ke=xe.current.querySelectorAll(".edu-program-fill-score"),Te=xe.current.querySelectorAll('[name="edu-program-fill"]');for(const[Ye,et]of Te.entries())et.value=((X=v==null?void 0:v[Ye])==null?void 0:X.value)||"",((Z=v==null?void 0:v[Ye])==null?void 0:Z.type)==="warning"?et.className="program-fill-warning":((K=v==null?void 0:v[Ye])==null?void 0:K.type)==="success"?et.className="program-fill-success":et.className="";for(const[Ye,et]of ke.entries())et.innerHTML=(we=v==null?void 0:v[Ye])!=null&&we.score?`${(Ke=v==null?void 0:v[Ye])==null?void 0:Ke.score}\u5206`:"";it(v)}catch(ke){console.log(ke,"error")}},[v]);const se=X=>{ut[X.target.dataset.id]=ut[X.target.dataset.id]||{},ut[X.target.dataset.id].value=X.target.value,it([...ut]),_(ut,X.target.dataset.id)},be=X=>{ut[X.target.dataset.id]=ut[X.target.dataset.id]||{},ut[X.target.dataset.id].value=X.target.value,it([...ut]),V(ut,X.target.dataset.id)},H=X=>{ut[X.target.dataset.id]=ut[X.target.dataset.id]||{},ut[X.target.dataset.id].value=X.target.value,it([...ut]),J(ut,X.target.dataset.id)};function O(X,Z){return X.childNodes.forEach(K=>{var we;if(K.childNodes.length>0)O(K,Z);else if(K.nodeName!=="IMG")if(K.innerHTML)K.innerHTML=(we=K.innerHTML)==null?void 0:we.replace(new RegExp(Z,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Ke=document.createElement("span");Ke.innerHTML=K.textContent.replace(new RegExp(Z,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),K.replaceWith(Ke)}})}const xe=(0,y.useRef)();ee.jb.WebkitLineClamp=ae,ae&&(te=W(W({},te),ee.jb));function k(X){let Z=X.target;if(Z.tagName.toUpperCase()==="A"){let K=Z.getAttribute("href");if(K.indexOf("office")>-1)X.preventDefault(),Ie(K),lt("office");else if(K.indexOf("application/pdf")>-1)X.preventDefault(),Ie(K),lt("pdf");else if(K.indexOf("text/html")>-1)X.preventDefault(),Ie(K),lt("html");else if(K.startsWith("#")){X.preventDefault();let we=document.getElementById(K.replace("#",""));we&&we.scrollIntoView(!0)}}}const E=()=>{var X;const Z=(X=xe.current)==null?void 0:X.querySelectorAll("video");Z==null||Z.forEach(K=>{if(K.oncontextmenu=()=>!1,K.src.indexOf(".m3u8")>-1&&!K.canPlayType("application/vnd.apple.mpegurl")){if($.ZP.isSupported()){var we=new $.ZP;we.loadSource(K.src),we.attachMedia(K)}}})};(0,y.useEffect)(()=>{if(xe.current&&ot&&ot.match(b)&&window.PR.prettyPrint(),xe.current)return xe.current.addEventListener("click",k),()=>{var X;(X=xe.current)==null||X.removeEventListener("click",k),(0,ee.AL)(),(0,ee.Iy)()}},[ot,xe.current,k]),(0,y.useEffect)(()=>{var X;const Z=K=>{K.preventDefault(),K.clipboardData.setData("text",window.getSelection().toString())};return(X=xe.current)==null||X.addEventListener("copy",Z),()=>{var K;(K=xe.current)==null||K.removeEventListener("copy",Z)}},[xe.current]);const T=X=>/<style[\s\S]*?>/i.test(X||"");return y.createElement(y.Fragment,null,fe&&y.createElement("div",{ref:xe},ot),!fe&&!T(ot)&&y.createElement("div",{ref:xe,style:W({},te),className:`${me||""} ${ie?"disabled-fill":""} markdown-body ${Pt.current}`,dangerouslySetInnerHTML:{__html:ot}}),!fe&&T(ot)&&y.createElement(u,{html:ot}),y.createElement(I.Z,{close:!0,data:Oe,type:Oe!=null&&Oe.length?$e:"",style:W({},M),onClose:()=>Ie("")}))}},23954:function(tn,tt,f){"use strict";f.d(tt,{SV:function(){return xe},ZP:function(){return O}});var y=f(59301),L=f(76374);const ee={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"]},Ee={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"]},$={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(`
`)}]},q={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(`
`)}]},C={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 Se=f(53184),a=f.n(Se),I=Object.defineProperty,z=Object.defineProperties,S=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,P=(k,E,T)=>E in k?I(k,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[E]=T,ce=(k,E)=>{for(var T in E||(E={}))x.call(E,T)&&P(k,T,E[T]);if(u)for(var T of u(E))m.call(E,T)&&P(k,T,E[T]);return k},U=(k,E)=>z(k,S(E)),W=(k,E,T)=>new Promise((X,Z)=>{var K=ke=>{try{Ke(T.next(ke))}catch(Te){Z(Te)}},we=ke=>{try{Ke(T.throw(ke))}catch(Te){Z(Te)}},Ke=ke=>ke.done?X(ke.value):Promise.resolve(ke.value).then(K,we);Ke((T=T.apply(k,E)).next())});const ne={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Y=(k,E)=>E.map(T=>({label:T,kind:k.languages.CompletionItemKind.Keyword,insertText:T})),b=k=>Object.keys(ne.tables).map(E=>({label:E,kind:k.languages.CompletionItemKind.Variable,insertText:E})),R=(k,E)=>{const T=ne.tables[k];return T?T.map(X=>({label:X,kind:E.languages.CompletionItemKind.Field,insertText:X})):[]};function G(k,E,T,X,Z){let K=E.getWordUntilPosition(T),we={startLineNumber:T.lineNumber,endLineNumber:T.lineNumber,startColumn:K.startColumn,endColumn:K.endColumn},Ke=X.map(ke=>({label:ke,kind:k.languages.CompletionItemKind.Keyword,insertText:ke,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:we}));return Z.map(ke=>{Ke.push(U(ce({},ke),{range:we}))}),Ke}var j=k=>{ne.languages.map(Z=>(k.languages.registerDocumentFormattingEditProvider(Z,{provideDocumentFormattingEdits(K,we,Ke){return W(this,null,function*(){const ke=a()(K.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:K.getFullModelRange(),text:ke}]})}}),Z));const E=$.quickKey.map(Z=>({label:Z.label,kind:k.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet})),T=q.quickKey.map(Z=>({label:Z.label,kind:k.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet})),X=Ee.quickKey.map(Z=>({label:Z.label,kind:k.languages.CompletionItemKind.Method,insertText:Z.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet}));k.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Z,K){var we=Z.getWordUntilPosition(K),Ke={startLineNumber:K.lineNumber,endLineNumber:K.lineNumber,startColumn:we.startColumn,endColumn:we.endColumn},ke=Z.getLineContent(K.lineNumber).substring(we.startColumn-2,we.endColumn);return{suggestions:[...$.keywords.map(Te=>({label:Te,kind:k.languages.CompletionItemKind.Function,documentation:Te,insertText:Te,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...$.quickKey.map(Te=>({label:Te.label,kind:k.languages.CompletionItemKind.Function,documentation:Te.content,insertText:ke.startsWith("#")?Te.content.replace(/#/,""):Te.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Z,K){var we=Z.getWordUntilPosition(K),Ke={startLineNumber:K.lineNumber,endLineNumber:K.lineNumber,startColumn:we.startColumn,endColumn:we.endColumn};return{suggestions:[...ee.keywords.map(ke=>({label:ke,kind:k.languages.CompletionItemKind.Function,documentation:ke,insertText:ke,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Z,K){var we=Z.getWordUntilPosition(K),Ke={startLineNumber:K.lineNumber,endLineNumber:K.lineNumber,startColumn:we.startColumn,endColumn:we.endColumn},ke=Z.getLineContent(K.lineNumber).substring(we.startColumn-2,we.endColumn);return{suggestions:[...Ee.keywords.map(Te=>({label:Te,kind:k.languages.CompletionItemKind.Function,documentation:Te,insertText:Te,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...Ee.quickKey.map(Te=>({label:Te.label,kind:k.languages.CompletionItemKind.Function,documentation:Te.content,insertText:ke.startsWith("#")?Te.content.replace(/#/,""):Te.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Z,K){var we=Z.getWordUntilPosition(K),Ke={startLineNumber:K.lineNumber,endLineNumber:K.lineNumber,startColumn:we.startColumn,endColumn:we.endColumn},ke=Z.getLineContent(K.lineNumber).substring(we.startColumn-2,we.endColumn);return{suggestions:[...C.keywords.map(Te=>({label:Te,kind:k.languages.CompletionItemKind.Function,documentation:Te,insertText:Te,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...C.quickKey.map(Te=>({label:Te.label,kind:k.languages.CompletionItemKind.Function,documentation:Te.content,insertText:ke.startsWith("#")?Te.content.replace(/#/,""):Te.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}}),k.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Z,K){var we=Z.getWordUntilPosition(K),Ke={startLineNumber:K.lineNumber,endLineNumber:K.lineNumber,startColumn:we.startColumn,endColumn:we.endColumn},ke=Z.getLineContent(K.lineNumber).substring(we.startColumn-2,we.endColumn);return{suggestions:[...q.keywords.map(Te=>({label:Te,kind:k.languages.CompletionItemKind.Function,documentation:Te,insertText:Te,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke})),...q.quickKey.map(Te=>({label:Te.label,kind:k.languages.CompletionItemKind.Function,documentation:Te.content,insertText:ke.startsWith("#")?Te.content.replace(/#/,""):Te.content,insertTextRules:k.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}))]}}})};const pe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var me=Object.defineProperty,fe=(k,E,T)=>E in k?me(k,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[E]=T,ae=(k,E,T)=>fe(k,typeof E!="symbol"?E+"":E,T);const te=class Al{constructor(E,T,X){this.placeholder=E,this.editor=T,this.monaco=X,T.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Al.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)}};ae(te,"ID","editor.widget.placeholderHint");var he=te,Q=f(96236),de=f(8591),ie=f(6848),v=f(89392),_=f(34604),V=f(56102),J=Object.defineProperty,Le=Object.defineProperties,Oe=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ut=(k,E,T)=>E in k?J(k,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[E]=T,it=(k,E)=>{for(var T in E||(E={}))$e.call(E,T)&&ut(k,T,E[T]);if(Ie)for(var T of Ie(E))lt.call(E,T)&&ut(k,T,E[T]);return k},Pt=(k,E)=>Le(k,Oe(E)),Jt=(k,E)=>{var T={};for(var X in k)$e.call(k,X)&&E.indexOf(X)<0&&(T[X]=k[X]);if(k!=null&&Ie)for(var X of Ie(k))E.indexOf(X)<0&&lt.call(k,X)&&(T[X]=k[X]);return T},rn=(k,E,T)=>new Promise((X,Z)=>{var K=ke=>{try{Ke(T.next(ke))}catch(Te){Z(Te)}},we=ke=>{try{Ke(T.throw(ke))}catch(Te){Z(Te)}},Ke=ke=>ke.done?X(ke.value):Promise.resolve(ke.value).then(K,we);Ke((T=T.apply(k,E)).next())});function It(k){return/^\d+$/.test(k)?`${k}px`:k}function Zt(){}let ot=!1;const se={"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 be(k=[]){let E=k;if(Array.isArray(k)){for(let T=0;T<k.length;T++){let X=se[k[T]];if(X)return X}return E[0]}return se[E]||E}let H=null;var O=k=>{var E=k,{width:T="100%",height:X="100%",value:Z,language:K="javascript",style:we={},options:Ke={},overrideServices:ke={},theme:Te="vs-dark",onEditBlur:Ye,isCopy:et=!1,onSave:je,autoHeight:vt=!1,forbidCopy:bt=!1,onChange:ht=Zt,editorDidMount:Nt=Zt,onFocus:_t=Zt,onBreakPoint:w=Zt,breakPointValue:D=[],filename:St="educoder.txt",errorLine:ue,errorContent:Be="",highlightLine:pn,openBreakPoint:Ve=!1,placeholder:nt=""}=E,Je=Jt(E,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Ae=(0,y.useRef)(),De=(0,y.useRef)({}),ze=(0,y.useRef)(),qe=(0,y.useRef)(),ve=(0,y.useRef)([]),an=(0,y.useRef)(!1),Ge=(0,y.useRef)(),mn=(0,y.useRef)(),_n=(0,y.useRef)(!1),[jt,Xt]=(0,y.useState)(!1);function Rt(){let Ut;return Ae.current&&(Ut=new L.Z(kt=>{for(let ln of kt)(ln.target.offsetHeight>0||ln.target.offsetWidth>0)&&De.current.instance.layout()}),Ut.observe(Ae.current)),Ut}function Ft(){de.ZP.warning({content:decodeURIComponent(pe),key:"monaco-editor-tip"})}const Ze=()=>{let Ut=De.current.instance;if(Z!=null&&Ut&&jt){const kt=Ut.getModel();kt&&Z!==kt.getValue()&&(ot=!0,kt.setValue(Z),Ut.layout(),ot=!1)}};(0,y.useEffect)(()=>{const Ut=_.Z.subscribe("formatDocument",kt=>{var ln;let dn=De.current.instance;(ln=dn==null?void 0:dn.getAction)==null||ln.call(dn,"editor.action.formatDocument").run()});return window.updateMonacoValue=kt=>{ht(kt)},Ut},[]),(0,y.useEffect)(()=>{var Ut;let kt=De.current.instance;qe.current&&clearTimeout(qe.current),qe.current=setTimeout(()=>{Ze()},500),Z&&(Z!=null&&Z.length)&&((Ut=kt==null?void 0:kt.updateOptions)==null||Ut.call(kt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Z.split(/\r\n|\r|\n/g).length))+3,5)}))},[Z,jt,De.current]),(0,y.useEffect)(()=>{if(ue&&De.current&&De.current.instance){let kt=De.current.instance;kt.changeViewZones(function(ln){var dn=document.createElement("div");dn.style.padding="10px 20px",dn.style.width="calc(100% - 20px)",dn.className="my-error-line-wrp",dn.innerHTML=Be,ln.addZone({afterLineNumber:ue||11,heightInLines:3,domNode:dn})});var Ut={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}};kt.addOverlayWidget(Ut),kt.revealPositionInCenter({lineNumber:20,column:1})}},[ue,De.current,jt]);const Et=(Ut="",kt)=>{if(!Ut||Ut.trim()==="")return!0;const dn=De.current.instance.getModel().getLineTokens(kt);let hn=!1;for(let wn=0;wn<2;wn++)dn.getStandardTokenType(wn)===1&&(hn=!0);return hn};(0,y.useEffect)(()=>{var Ut;const kt=(Ut=De.current)==null?void 0:Ut.instance;if(kt&&jt&&bt){const ln=kt.onDidBlurEditorWidget(()=>{_n.current=!1}),dn=kt.onDidFocusEditorText(()=>{_n.current=!0});return()=>{ln.dispose(),dn.dispose()}}},[De.current,jt,bt]),(0,y.useEffect)(()=>{var Ut;if((Ut=De.current)!=null&&Ut.instance&&jt&&Ve){let kt=De.current.instance,ln=kt.getModel();if(!ln)return;(()=>{var Yt;let Gt=[],gn=[];const En=ln.getAllDecorations();for(let qn of En)qn.options.className==="highlighted-line"&&(Gt.push((Yt=qn==null?void 0:qn.range)==null?void 0:Yt.startLineNumber),gn.push(qn==null?void 0:qn.id));if(pn===Gt[0])return;ln.deltaDecorations(gn,[]);const In=ln.getLineCount();pn&&pn<=In&&(kt.deltaDecorations([],[{range:new H.Range(pn,1,pn,ln.getLineMaxColumn(pn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),kt.revealLineInCenter(pn))})();const hn=(Yt=!1)=>{var Gt;let gn=[],En=[];const In=ln.getAllDecorations();for(let qn of In)qn.options.linesDecorationsClassName==="breakpoints-select"&&(gn.push((Gt=qn==null?void 0:qn.range)==null?void 0:Gt.startLineNumber),En.push(qn==null?void 0:qn.id));if(Yt)return{lines:gn,ids:En};w(gn)},wn=Yt=>rn(void 0,null,function*(){let Gt={range:new H.Range(Yt,1,Yt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield ln.deltaDecorations([],[Gt]),hn()}),Xn=Yt=>rn(void 0,null,function*(){let Gt=[];const gn=kt.getLineDecorations(Yt);for(let En of gn)En.options.linesDecorationsClassName==="breakpoints-select"&&Gt.push(En.id);yield ln.deltaDecorations(Gt,[]),hn()}),Nn=Yt=>{let Gt=kt.getLineDecorations(Yt);for(let gn of Gt)if(gn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,v.isEqual)(D,hn(!0).lines)){ln.deltaDecorations(hn(!0).ids,[]);const Yt=D.map(Gt=>({range:new H.Range(Gt,1,Gt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));ln.deltaDecorations([],Yt)}const en=kt.onDidChangeModelContent(Yt=>{let Gt=kt.getPosition();if(Gt){let gn=Gt.lineNumber;clearTimeout(mn.current),mn.current=setTimeout(()=>{Et(ln.getLineContent(gn),gn)?Xn(gn):Nn(gn)?(Xn(gn),wn(gn)):hn()},100)}}),dt=kt.onMouseDown(Yt=>{var Gt,gn,En;if(Yt.target.detail&&((En=(gn=(Gt=Yt.target)==null?void 0:Gt.element)==null?void 0:gn.className)!=null&&En.includes("line-numbers"))){let In=Yt.target.position.lineNumber;if(Et(ln.getLineContent(In),In))return;Nn(In)?Xn(In):wn(In)}}),yt=Yt=>{let Gt={range:new H.Range(Yt,1,Yt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};ve.current=kt.deltaDecorations(ve.current,[Gt])},Lt=()=>{ve.current=kt.deltaDecorations(ve.current,[])},Bt=kt.onMouseMove(Yt=>{var Gt,gn,En;if(Lt(),Yt.target.detail&&((En=(gn=(Gt=Yt.target)==null?void 0:Gt.element)==null?void 0:gn.className)!=null&&En.includes("line-numbers"))){let In=Yt.target.position.lineNumber;if(Et(ln.getLineContent(In),In))return;yt(In)}}),Ot=kt.onMouseLeave(()=>{Lt()});return()=>{en.dispose(),dt.dispose(),Bt.dispose(),Ot.dispose()}}},[De.current,jt,D,pn,Ve,K]),(0,y.useEffect)(()=>{var Ut;(Ut=De.current)!=null&&Ut.instance&&Ve&&De.current.instance.setPosition({lineNumber:0,column:0})},[pn]);function xt(){let Ut=De.current.instance;if(Ut){const kt=Ut.getSelection(),ln=De.current.pastePos||{},dn=new H.Range(ln.startLineNumber||kt.endLineNumber,ln.startColumn||kt.endColumn,ln.endLineNumber||kt.endLineNumber,ln.endColumn||kt.endColumn);setTimeout(()=>{Ut.executeEdits("",[{range:dn,text:""}])},300)}}function Ne(Ut){(window.navigator.platform.match("Mac")?Ut.metaKey:Ut.ctrlKey)&&Ut.keyCode==83&&(Ut.preventDefault(),je())}const Ce=()=>{if(vt&&De.current.instance){const Ut=De.current.instance.getContentHeight();sn(Ut<X?X:Ut)}else sn(X)};function mt(Ut){var kt=document.createEvent("MouseEvents");kt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Ut.dispatchEvent(kt)}const pt=Ut=>{if(!_n.current)return;const{keyCode:kt,ctrlKey:ln,metaKey:dn,target:hn,type:wn}=Ut;return(wn==="paste"||(kt===67||kt===86)&&(dn||ln))&&hn.nodeName==="TEXTAREA"&&(Ft(),Ut.preventDefault()),!1};function Dt(Ut,kt){var ln=window.URL||window.webkitURL||window,dn=new Blob([kt]),hn=document.createElementNS("http://www.w3.org/1999/xhtml","a");hn.href=ln.createObjectURL(dn),hn.download=Ut,mt(hn)}(0,y.useEffect)(()=>{Ce()},[Ce]),(0,y.useEffect)(()=>{Ae.current&&!jt&&Promise.all([f.e(8909),f.e(3267)]).then(f.bind(f,71448)).then(Ut=>{try{H=Ut,De.current.instance=H.editor.create(Ae.current,{value:Z,language:be(K),theme:Te,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ke);const kt=De.current.instance;let hn=[...Q.BH._menuItems].find(en=>en[0]._debugName=="EditorContext")[1],wn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Xn=(en,dt)=>{var yt,Lt;let Bt=en._first;do dt.includes((Lt=(yt=Bt.element)==null?void 0:yt.command)==null?void 0:Lt.id)&&en._remove(Bt);while(Bt=Bt.next)};if(Nt(kt,H),setTimeout(()=>{Ce(),De.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Dt(St||"educoder.txt",kt.getValue())}})},500),De.current.subscription=kt.onDidChangeModelContent(en=>{an.current?clearTimeout(Ge.current):(Ce(),ht(kt.getValue(),en)),Ge.current=setTimeout(()=>{an.current=!1},500)}),window.Monaco||j(H,be(K)),bt&&(Xn(hn,wn),Ae.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",pt),window.removeEventListener("paste",pt),window.addEventListener("keydown",pt),window.addEventListener("paste",pt)),window.Monaco=H,Ye&&kt.onDidBlurEditorWidget(()=>{Ye(kt.getValue())}),_t&&kt.onDidFocusEditorText(()=>{_t(kt.getValue())}),bt)try{kt.onDidPaste(en=>{const dt=kt.getSelection(),yt=De.current.pastePos||{},Lt=new H.Range(yt.startLineNumber||dt.endLineNumber,yt.startColumn||dt.endColumn,yt.endLineNumber||dt.endLineNumber,yt.endColumn||dt.endColumn);kt.executeEdits("",[{range:en.range,text:""}])})}catch(en){}let Nn=Rt();return nt&&typeof nt=="string"&&new he(nt,kt,H),Xt(!0),()=>{const en=De.current.instance;en.dispose();const dt=en.getModel();dt&&dt.dispose(),De.current.subscription&&De.current.subscription.dispose(),Nn.unobserve(Ae.current)}}catch(kt){}})},[]),(0,y.useEffect)(()=>{if(De.current.instance&&jt)return document.addEventListener("keydown",Ne,!1),()=>{document.removeEventListener("keydown",Ne)}},[je,jt]),(0,y.useEffect)(()=>{let Ut=De.current.instance;if(Ut&&jt){let kt=be(K);H.editor.setModelLanguage(Ut.getModel(),kt)}},[K,jt]),(0,y.useEffect)(()=>{De.current.instance&&jt&&H.editor.setTheme(Te)},[Te,jt]),(0,y.useEffect)(()=>{let Ut=De.current.instance;ze.current=Ke,Ut&&jt&&(Ut.updateOptions(it({},Ke)),setTimeout(()=>{Ut.getModel().updateOptions(it({},Ke))},200))},[JSON.stringify(Ke),jt]),(0,y.useEffect)(()=>{let Ut=De.current.instance;Ut&&jt&&Ut.layout()},[T,X,jt]);const[Ht,nn]=(0,y.useState)(It(T)),[Kt,sn]=(0,y.useState)(It(X)),un=Pt(it({},we),{width:Ht,height:Kt,position:"relative"});return y.createElement("div",{className:"my-monaco-editor",ref:Ae,style:un},et&&y.createElement(V.CopyToClipboard,{text:Z,onCopy:()=>de.ZP.success("\u590D\u5236\u6210\u529F")},y.createElement(ie.Z,{title:"\u590D\u5236\u4EE3\u7801"},y.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},y.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function xe({width:k="100%",height:E="100%",original:T,modified:X,language:Z,options:K={}}){const we=(0,y.useRef)(),[Ke,ke]=(0,y.useState)(null);function Te(vt){let bt;return we.current&&(bt=new L.Z(ht=>{for(let Nt of ht)(Nt.target.offsetHeight>0||Nt.target.offsetWidth>0)&&vt.layout()}),bt.observe(we.current)),bt}(0,y.useEffect)(()=>(we.current&&Promise.all([f.e(8909),f.e(9404)]).then(f.bind(f,2550)).then(vt=>{H=vt;const bt=H.editor.createDiffEditor(we.current,Pt(it({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},K),{wordWrap:!0}));ke(bt);let ht=Te(bt);return()=>{bt.dispose();const Nt=bt.getModel();Nt&&Nt.dispose(),ht.unobserve(we.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,y.useEffect)(()=>{Ke&&Ke.setModel({original:H.editor.createModel(T,Z),modified:H.editor.createModel(X,Z)})},[T,X,Z,Ke]);const Ye=It(k),et=It(E),je={width:Ye,height:et};return y.createElement("div",{className:"my-diff-editor",ref:we,style:je})}},85057:function(tn,tt,f){"use strict";f.d(tt,{jL:function(){return $},w9:function(){return $e},QD:function(){return ht},cQ:function(){return V},op:function(){return Te},O5:function(){return _n},_b:function(){return ue},t7:function(){return U},Gi:function(){return rn},YG:function(){return Pt},qp:function(){return z},vr:function(){return w},qE:function(){return je},Je:function(){return Y},wb:function(){return Q},cq:function(){return H},tp:function(){return x}});var y=f(59301),L={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8Zc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YFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",$=({dataSource:jt=[],img:Xt,imgWidth:Rt=346,title:Ft,sunTitle:Ze,bannerExtraContent:Et})=>y.createElement("div",{className:L.banner},y.createElement("div",{className:L.content},y.createElement("aside",null,y.createElement("p",null,y.createElement("b",null,Ft),y.createElement("span",null,Ze)),jt.length>0&&y.createElement("div",{className:L.btns},jt.map((xt,Ne)=>y.createElement("div",{key:Ne,onClick:xt.click},xt.name,xt.sign?y.createElement("img",{src:ee,width:39}):null))),Et),Xt&&y.createElement("img",{style:{marginTop:33,marginRight:38},src:Xt,width:Rt}))),q={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},C=f(92310),Se=f.n(C),a=f(89392),z=({dataSource:jt=[],value:Xt,onChange:Rt,onTitleChange:Ft,className:Ze,title:Et,titleWidth:xt=41,style:Ne={},fontColor:Ce="#6A7283",showCount:mt})=>{const[pt,Dt]=(0,y.useState)(0),[Ht,nn]=(0,y.useState)(!1),Kt=(0,y.useRef)(null),sn=(0,y.useRef)(null);return(0,y.useEffect)(()=>{var un;jt.length!==0&&(((un=Kt==null?void 0:Kt.current)==null?void 0:un.clientHeight)>97?Dt(1):Dt(0)),jt.length===0&&Dt(0),nn(!1)},[jt]),y.createElement("div",{className:Se()(q.row,Ze),style:Ne},y.createElement("div",{onClick:(0,a.throttle)(()=>Ft==null?void 0:Ft(),2e3),style:{width:xt,marginTop:Ht?12:4},className:`${q.title} ${Ft?"current":""}`},Et),y.createElement("div",{className:Ht?`${q.tagsWrap} ${q.tagsBorderWrap}`:q.tagsWrap},y.createElement("div",{className:q.bar,ref:sn,style:pt>0?{height:pt===1?97:"auto",overflow:pt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},y.createElement("div",{className:q.tag,ref:Kt},jt==null?void 0:jt.map(un=>y.createElement("span",{onClick:()=>Rt(un.id),key:un.id,style:{color:Ce},className:Xt===un.id?q.active:""},y.createElement("span",{title:un.name,className:q.name},un.name),!!mt&&y.createElement("span",{className:q.num},un.count))))),!!pt&&y.createElement(y.Fragment,null,pt===1?y.createElement("div",{onClick:()=>{var un;Dt(2),((un=Kt==null?void 0:Kt.current)==null?void 0:un.clientHeight)>245?nn(!0):nn(!1)},className:q.action},"\u5C55\u5F00",y.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):y.createElement("div",{onClick:()=>{sn.current.scrollTop=0,Dt(1),nn(!1)},className:q.action},"\u6536\u8D77",y.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},S={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},x=({dataSource:jt=[],value:Xt,onChange:Rt,className:Ft,style:Ze={}})=>y.createElement("div",{style:Ze,className:Se()(S.tabs,Ft)},jt.map(Et=>y.createElement("span",{onClick:()=>Rt(Et.id),className:Xt===Et.id?S.active:"",key:Et.id},Et.name))),m={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},P=f(92832),U=({dataSource:jt=[],value:Xt="",onChange:Rt,onInputChange:Ft=()=>{},className:Ze,style:Et={},placeholder:xt,allowClear:Ne=!1})=>{var Ce;const[mt,pt]=(0,y.useState)(""),[Dt,Ht]=(0,y.useState)("");(0,y.useEffect)(()=>{var sn;let un=Xt;(sn=JSON.stringify(Xt))!=null&&sn.includes("{")&&(pt(Xt.id),un=Xt.value||"");try{Ht(decodeURIComponent(un||""))}catch(Ut){Ht(decodeURIComponent(un||""))}},[Xt]);const nn=()=>{Rt(encodeURIComponent(Dt),mt||null)},Kt=sn=>{sn!==mt&&(pt(sn),Rt(encodeURIComponent(Dt),sn))};return y.createElement("div",{className:Se()(m.input,Ze),style:Et},!!jt.length&&y.createElement("div",{className:m.dropdown},y.createElement("div",{className:m.text},(Ce=jt.find(sn=>sn.id===mt))==null?void 0:Ce.name,y.createElement("i",{className:"iconfont icon-zhankai4"}),y.createElement("b",{className:m.b1}),y.createElement("b",{className:m.b2})),y.createElement("div",{className:m.menu},jt.map((sn,un)=>y.createElement("div",{key:un,onClick:()=>Kt(sn.id)},sn.name)))),y.createElement(P.default,{onPressEnter:nn,value:Dt,onChange:sn=>{Ht(sn.target.value),Ft(encodeURIComponent(sn.target.value),mt||null)},bordered:!1,placeholder:xt}),y.createElement("i",{onClick:nn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},W={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Y=({value:jt,onChange:Xt,className:Rt,total:Ft,pageSize:Ze,style:Et={}})=>{const xt=jt<2,Ne=jt>=Math.ceil(Ft/Ze);return Ft<=Ze?y.createElement(y.Fragment,null):y.createElement("div",{className:Se()(W.quickPager,Rt),style:Et},y.createElement("div",{onClick:()=>{xt||Xt(jt-1,"prev")},className:xt?W.disabled:""},"\u4E0A\u4E00\u9875"),y.createElement("div",{onClick:()=>{Ne||Xt(jt+1,"next")},className:Ne?W.disabled:""},"\u4E0B\u4E00\u9875"))},b={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},R=f(71418),G=f(6848),j=f(13570),pe=f(3294),me=f(955),fe=f(96908),ae=f(57177),te=f(81378),M=f(8797),Q=({className:jt,dataSource:Xt=[],col:Rt=4,right:Ft,bottom:Ze=23,precision:Et=0,wrapWidth:xt=1200,trackEventItems:Ne,loading:Ce})=>{const mt=Math.floor((xt-(Rt-1)*Ft)/Rt);return y.createElement(R.Z,{spinning:Ce},y.createElement("div",{className:Se()(b.list,jt)},!!Xt.length&&Xt.map((pt,Dt)=>{const{name:Ht,id:nn,identifier:Kt,power:sn,cover_image_id:un,pic:Ut}=pt;return y.createElement("div",{className:b.wrap,key:nn,style:{width:mt,marginRight:(1+Dt)%Rt===0?0:Ft+Et,marginBottom:Ze}},y.createElement("a",{target:"_blank",href:`/shixuns/${Kt}/challenges`,className:b.li,onClick:kt=>{kt.preventDefault(),Ne&&(0,me.L9)([Ne]),sn&&(0,me.xg)(`/shixuns/${Kt}/challenges`)}},y.createElement("div",{className:b.img},y.createElement("img",{className:b.cover,src:`${Ut}`}),pt.is_jupyter&&y.createElement("img",{className:b.sign,src:fe}),pt.is_jupyter_lab&&y.createElement("img",{className:b.sign,src:ae}),pt.is_unity_3d&&y.createElement("img",{className:b.sign,src:te})),y.createElement("div",{className:b.name},y.createElement(G.Z,{title:Ht||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:b.e},Ht||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{className:b.tags},y.createElement(G.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,pt.challenges_count))),!!pt.myshixuns_count&&y.createElement(G.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,pt.myshixuns_count))),y.createElement(G.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,pt.level))),y.createElement("div",{className:b.rate},y.createElement(j.Z,{allowHalf:!0,disabled:!0,defaultValue:pt.score_info}),y.createElement("span",null,"\xA0",pt.score_info?`${pt.score_info}\u5206`:"5\u5206")))),!sn&&y.createElement("div",{className:b.lockWrap},y.createElement("img",{src:`${pe.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Xt.length&&y.createElement(M.Z,null)))},de={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ie=f(24065),v=f(59301),V=({className:jt,dataSource:Xt=[],col:Rt=4,right:Ft,bottom:Ze=23,precision:Et=0,wrapWidth:xt=1200,trackEventItems:Ne,loading:Ce,onRemove:mt=()=>{},isCurrent:pt=!0,showAlias:Dt=!1})=>{const Ht=Math.floor((xt-(Rt-1)*Ft)/Rt),nn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return v.createElement(R.Z,{spinning:Ce},v.createElement("div",{className:Se()(de.list,jt)},!!(Xt!=null&&Xt.length)&&(Xt==null?void 0:Xt.map((Kt,sn)=>{var un;const{name:Ut,id:kt,identifier:ln,featured:dn,school_name:hn,image_url:wn,excellent:Xn,is_plan:Nn}=Kt;return v.createElement("div",{key:kt,className:de.wrap,style:{width:Ht,marginRight:(1+sn)%Rt===0?0:Ft+Et,marginBottom:Ze}},v.createElement("a",{className:de.li,onClick:en=>{en.preventDefault(),en.stopPropagation(),Ne&&(0,me.L9)([Ne]),(0,me.xg)(`/paths/${ln}`)}},v.createElement("div",{className:de.img},v.createElement("img",{className:de.cover,src:`${wn}`}),pt&&(0,ie.bg)()&&(Kt==null?void 0:Kt.studying)&&v.createElement("div",{className:`${de.movebq} user-path-items`,onClick:en=>{en.stopPropagation(),mt(Kt)}},v.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),v.createElement("span",{className:"c-red"},"\u79FB\u9664")),(un=Kt==null?void 0:Kt.subject_tags)==null?void 0:un.map((en,dt)=>{var yt,Lt;if(dt===0){const Ot=(yt=nn.find(Yt=>Yt.name==en))==null?void 0:yt.swimg;return v.createElement("img",{className:de.sign,src:Ot,style:{left:"-4px"}})}const Bt=(Lt=nn.find(Ot=>Ot.name==en))==null?void 0:Lt.ptimg;return v.createElement("img",{className:de.sign,src:Bt,style:{left:`${48+52*(dt-1)+2*dt}px`}})}),v.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Kt==null?void 0:Kt.excellent)&&v.createElement("div",{className:de.bq},"\u5F00\u653E\u8BFE\u7A0B"))),v.createElement("div",{className:de.name},v.createElement(G.Z,{title:Dt&&(Kt!=null&&Kt.excellent_alias_name)?v.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ut}`,v.createElement("br",null),v.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Kt==null?void 0:Kt.excellent_alias_name}`)):Ut},v.createElement("span",{className:de.e},Dt&&(Kt==null?void 0:Kt.excellent_alias_name)||Ut))),v.createElement(G.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${hn}`},v.createElement("div",{className:de.unit},v.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),hn)),v.createElement("div",{className:de.tags},v.createElement("div",null,v.createElement(G.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},v.createElement("span",null,v.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),v.createElement("span",null,Kt.stages_count))),v.createElement(G.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},v.createElement("span",null,v.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),v.createElement("span",null,Kt.members_count)))))))})),!Xt.length&&v.createElement(M.Z,null)))},J={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3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rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Oe=f(59301),$e=({className:jt,dataSource:Xt=[],col:Rt=4,right:Ft,bottom:Ze=23,precision:Et=0,wrapWidth:xt=1200,trackEventItems:Ne,loading:Ce,handleVery:mt=()=>{}})=>{const pt=Math.floor((xt-(Rt-1)*Ft)/Rt);return Oe.createElement(R.Z,{spinning:Ce},Oe.createElement("div",{className:Se()(J.list,jt)},!!Xt.length&&Xt.map((Dt,Ht)=>{const{subject_identifier:nn,id:Kt,identifier:sn,power:un}=Dt,Ut=Dt.is_public!=0&&Dt.is_public;return Oe.createElement("div",{className:J.wrap,key:Kt,style:{width:pt,marginRight:(1+Ht)%Rt===0?0:Ft+Et,marginBottom:Ze}},Oe.createElement("a",{className:J.li,onClick:kt=>{kt.preventDefault(),mt(Dt==null?void 0:Dt.first_category_url)}},Oe.createElement("div",{className:J.top},Oe.createElement(G.Z,{title:Dt.name},Oe.createElement("div",{className:J.name},Dt.name)),Oe.createElement("img",{className:J.img,src:pe.Z.IMG_SERVER+"/images/"+Dt.avatar_url}),Oe.createElement("div",{className:J.text,title:Dt.creator},Dt.creator),nn&&Oe.createElement("div",{className:J.btns},Oe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Oe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ut&&Oe.createElement("div",{className:J.sign},"\u516C\u5F00")),Oe.createElement("div",{className:J.bottom},Dt.visits>0&&Oe.createElement(G.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Oe.createElement("span",null,Oe.createElement("i",{className:"iconfont icon-liulanyan"}),Oe.createElement("span",null,Dt.visits))),Dt.course_members_count>0&&Oe.createElement(G.Z,{title:"\u6210\u5458",placement:"bottom"},Oe.createElement("span",null,Oe.createElement("i",{className:"iconfont icon-chengyuan"}),Dt.course_members_count)),Dt.tasks_count>0&&Oe.createElement(G.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Oe.createElement("span",null,Oe.createElement("i",{className:"iconfont icon-zuoye"}),Dt.tasks_count)),Dt.is_end?Oe.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Oe.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Dt.is_accessible&&Oe.createElement("div",{className:J.lockWrap},Oe.createElement("img",{src:`${pe.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Oe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Xt.length&&Oe.createElement(M.Z,null)))},lt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},ut=f(89070),Pt=({dataSource:jt=[],value:Xt,onChange:Rt,className:Ft,style:Ze={},tabBarExtraContent:Et})=>y.createElement("div",{className:Se()(lt.tabs,Ft),style:Ze},y.createElement("div",{className:lt.tabsWrap},jt.map((xt,Ne)=>!(xt!=null&&xt.hide)&&y.createElement("aside",{className:lt.tab,onClick:()=>{Rt(xt.id),xt.link&&ut.history.push(xt.link)},key:Ne},y.createElement("div",{className:Xt===xt.id?lt.active:""},xt.name),(xt==null?void 0:xt.resetCount)==null&&(xt==null?void 0:xt.total)!==void 0&&y.createElement("span",null,"\uFF08",xt==null?void 0:xt.total,"\uFF09"),(xt==null?void 0:xt.resetCount)!==void 0&&(xt==null?void 0:xt.total)!==void 0&&y.createElement(G.Z,{title:(xt==null?void 0:xt.tip)!=null?xt==null?void 0:xt.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},xt==null?void 0:xt.resetCount),"/",y.createElement("span",null,xt==null?void 0:xt.total),"\uFF09"))))),y.createElement("div",{className:lt.tabBar},Et)),rn=({className:jt,style:Xt={},children:Rt})=>y.createElement("div",{className:Se()(jt),style:Xt},Rt),It={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Zt=f(38854),ot=f(20834);const se=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var H=({sortValue:jt,dropValue:Xt,className:Rt,onSort:Ft,onDrop:Ze,dataSource:Et=se})=>{var xt;return y.createElement("div",{className:Se()(It.orderWrap,Rt)},y.createElement(Zt.Z,{dropdownRender:()=>y.createElement(ot.default,null,Et.map((Ne,Ce)=>y.createElement(ot.default.Item,{key:Ce,onClick:()=>Ze(Ne.id)},Ne.name)))},y.createElement("span",{className:It.orderTextWrap},(xt=Et.find(Ne=>Xt===Ne.id))==null?void 0:xt.name)),y.createElement("span",{className:It.orderIconWrap},y.createElement("span",{className:It.orderAsc},y.createElement("i",{className:jt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${It.cursorPointer} ${It.active}`:`iconfont icon-sanjiaoxing-up font12 ${It.cursorPointer}`,onClick:()=>Ft(jt==="asc"?"desc":"asc")})),y.createElement("span",{className:It.orderDesc},y.createElement("i",{className:jt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${It.cursorPointer} ${It.active}`:`iconfont icon-sanjiaoxing-down font12 ${It.cursorPointer}`,onClick:()=>Ft(jt==="asc"?"desc":"asc")}))))},O={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},xe=f(3113),k=Object.defineProperty,E=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,Z=(jt,Xt,Rt)=>Xt in jt?k(jt,Xt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):jt[Xt]=Rt,K=(jt,Xt)=>{for(var Rt in Xt||(Xt={}))T.call(Xt,Rt)&&Z(jt,Rt,Xt[Rt]);if(E)for(var Rt of E(Xt))X.call(Xt,Rt)&&Z(jt,Rt,Xt[Rt]);return jt},we=(jt,Xt)=>{var Rt={};for(var Ft in jt)T.call(jt,Ft)&&Xt.indexOf(Ft)<0&&(Rt[Ft]=jt[Ft]);if(jt!=null&&E)for(var Ft of E(jt))Xt.indexOf(Ft)<0&&X.call(jt,Ft)&&(Rt[Ft]=jt[Ft]);return Rt},Ke=(jt,Xt,Rt)=>new Promise((Ft,Ze)=>{var Et=Ce=>{try{Ne(Rt.next(Ce))}catch(mt){Ze(mt)}},xt=Ce=>{try{Ne(Rt.throw(Ce))}catch(mt){Ze(mt)}},Ne=Ce=>Ce.done?Ft(Ce.value):Promise.resolve(Ce.value).then(Et,xt);Ne((Rt=Rt.apply(jt,Xt)).next())}),Te=jt=>{var Xt=jt,{className:Rt,style:Ft,children:Ze,loading:Et=!1,openLoading:xt,onClick:Ne=()=>{},size:Ce="middle",shape:mt="round"}=Xt,pt=we(Xt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Dt,Ht]=(0,y.useState)(!1);return y.createElement(xe.ZP,K({onClick:(0,a.throttle)(nn=>Ke(void 0,null,function*(){xt&&Ht(!0);try{yield Ne(nn)}catch(Kt){console.log("error",Kt)}xt&&Ht(!1)}),2e3,{leading:!0,trailing:!1}),className:Se()(O.btn,O[`${Ce}-${mt}`],Rt),style:Ft,size:Ce,shape:mt,loading:Dt||Et},pt),Ze)},Ye={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},je=({className:jt,style:Xt,children:Rt=null,onClick:Ft,title:Ze})=>y.createElement("div",{className:Se()(Ye.head,jt),style:Xt},y.createElement("span",{className:"primary-hover",onClick:Ft},y.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),y.createElement("b",{title:Ze},Ze),y.createElement("div",{className:Ye.node},Rt)),vt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},ht=({confirmShow:jt=!0,confirmTitle:Xt,confirmClick:Rt,cancelShow:Ft=!0,cancelTitle:Ze,cancelClick:Et,className:xt,style:Ne,confirmLoading:Ce=!1})=>y.createElement("div",{className:Se()(vt.btns,xt),style:Ne},jt&&y.createElement(xe.ZP,{loading:Ce,onClick:Rt,type:"primary",className:vt.confirm},Xt),Ft&&y.createElement(xe.ZP,{onClick:Et,className:vt.cancel},Ze)),Nt={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},w=({className:jt,style:Xt={},LeftContent:Rt,children:Ft,RightContent:Ze})=>y.createElement("div",{className:Se()(Nt.fixedBottom,jt),style:Xt},y.createElement("div",{className:Nt.wrap},y.createElement("div",{className:Nt.left},Rt),y.createElement("div",{className:Nt.center},Ft),y.createElement("div",{className:Nt.right},Ze))),D={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},ue=({className:jt,style:Xt={},dataSource:Rt=[]})=>y.createElement("div",{className:Se()(D.crumbs,jt),style:Xt},Rt.map((Ft,Ze)=>Ze<Rt.length-1?y.createElement(y.Fragment,{key:Ze},Ft.path||Ft.onClick?y.createElement("span",{className:D.hover,onClick:Ft!=null&&Ft.onClick?Ft.onClick:()=>ut.history.push(Ft.path)},Ft.name):y.createElement("span",null,Ft.name),y.createElement("span",null,"\xA0",">","\xA0")):y.createElement("span",{key:Ze,style:{color:"#5F6368"}},Ft.name))),Be=f(31797),pn=Object.defineProperty,Ve=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,ze=(jt,Xt,Rt)=>Xt in jt?pn(jt,Xt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):jt[Xt]=Rt,qe=(jt,Xt)=>{for(var Rt in Xt||(Xt={}))Ae.call(Xt,Rt)&&ze(jt,Rt,Xt[Rt]);if(Je)for(var Rt of Je(Xt))De.call(Xt,Rt)&&ze(jt,Rt,Xt[Rt]);return jt},ve=(jt,Xt)=>Ve(jt,nt(Xt)),an=(jt,Xt)=>{var Rt={};for(var Ft in jt)Ae.call(jt,Ft)&&Xt.indexOf(Ft)<0&&(Rt[Ft]=jt[Ft]);if(jt!=null&&Je)for(var Ft of Je(jt))Xt.indexOf(Ft)<0&&De.call(jt,Ft)&&(Rt[Ft]=jt[Ft]);return Rt};const{Countdown:Ge}=Be.default;var _n=jt=>{var Xt=jt,{onChange:Rt}=Xt,Ft=an(Xt,["onChange"]);const[Ze,Et]=(0,y.useState)(null);(0,y.useEffect)(()=>{typeof Ze=="number"&&Ze>=0&&Rt(Ze)},[Ze]);const xt=Ne=>{const Ce=Math.floor(Ne/1e3);Et(Ce)};return y.createElement(Ge,ve(qe({},Ft),{onChange:xt}))}},46780:function(tn,tt,f){"use strict";f.r(tt),f.d(tt,{default:function(){return xe}});var y=f(59301),L=f(89070),ee=f(44e3),Ee=f(95237),$={flex_box_center:"flex_box_center___awq3O",flex_space_between:"flex_space_between___LgAD2",flex_box_vertical_center:"flex_box_vertical_center___tDqAS",flex_box_center_end:"flex_box_center_end___T9t43",flex_box_column:"flex_box_column___UTrmK",menuWrap:"menuWrap___jwziv",nav:"nav___FPm96",li:"li___Fh4Pt",icon:"icon___XwtGk",name:"name___KN1Th",down:"down___CRj5d",active:"active___JfaaR"},q=f(6848),C=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,I=(k,E)=>{var T={};for(var X in k)Se.call(k,X)&&E.indexOf(X)<0&&(T[X]=k[X]);if(k!=null&&C)for(var X of C(k))E.indexOf(X)<0&&a.call(k,X)&&(T[X]=k[X]);return T};const z=k=>{var E=k,{user:T,globalSetting:X,dispatch:Z,graduations:K}=E,we=I(E,["user","globalSetting","dispatch","graduations"]);const Ke=(0,L.useLocation)(),[ke,Te]=(0,y.useState)(),[Ye,et]=(0,y.useState)(["_settings"]),je=(0,L.useParams)(),{id:vt}=je,{menus:bt=[]}=K;(0,y.useEffect)(()=>{var w;if(bt.length){const D=((w=Ke.pathname.split("/"))==null?void 0:w[3])||"index";Te(D=="students"?"teachers":D)}},[Ke.pathname,bt]);const ht=[{icon_type:"index",name:"\u6BD5\u4E1A\u6982\u89C8",icon:"iconfont icon-bishegailan"},{icon_type:"topics",name:"\u8BFE\u9898\u7BA1\u7406",icon:"iconfont icon-ketiguanli"},{icon_type:"student_selection",name:"\u5B66\u751F\u9009\u9898",icon:"icon-xueshengxuanti1"},{icon_type:"tasks",name:"\u4EFB\u52A1\u4E66",icon:"icon-renwushu"},{icon_type:"opening_report",name:"\u5F00\u9898\u62A5\u544A",icon:"iconfont icon-kaitibaogao"},{icon_type:"midterm_report",name:"\u4E2D\u671F\u68C0\u67E5",icon:"iconfont icon-kechengjiaoan"},{icon_type:"thesis",name:"\u6BD5\u4E1A\u8BBA\u6587",icon:"iconfont icon-biyelunwen"},{icon_type:"final_defense",name:"\u6BD5\u4E1A\u7B54\u8FA9",icon:"iconfont icon-biyedabian"},{icon_type:"final_thesis",name:"\u8BBA\u6587\u5B9A\u7A3F",icon:"iconfont icon-lunwendinggao"},{icon_type:"archives",name:"\u5F52\u6863",icon:"iconfont icon-guidang1"},{icon_type:"grading_summary",name:"\u6BD5\u4E1A\u6210\u7EE9",icon:"iconfont icon-bishechengji"},{icon_type:"_settings",name:"\u6BD5\u4E1A\u8BBE\u7F6E",icon:"iconfont icon-biyeshezhi",subclass:["settings","teachers","students"]}],Nt=w=>{var D;return(D=ht.find(ue=>ue.icon_type===w))==null?void 0:D.icon},_t=w=>{const{clazz:D,name:St,children:ue=[],disable:Be}=w,pn=Nt(D);return y.createElement(y.Fragment,{key:D},Be?y.createElement(q.Z,{title:"\u8BE5\u9636\u6BB5\u672A\u542F\u7528"},y.createElement("div",{className:$.li,onClick:()=>{ue.length&&(Ye.includes(D)?et(Ye.filter(Ve=>Ve!==D)):et([...Ye,D]))}},y.createElement("div",{className:$.icon},pn&&y.createElement("i",{className:pn})),y.createElement("span",{className:$.name},St),!!ue.length&&y.createElement("span",{className:$.down},Ye.includes(D)?y.createElement("i",{className:"iconfont icon-xialajiantou1"}):y.createElement("i",{className:"iconfont icon-xialajiantoubeifen"})))):y.createElement("div",{onClick:()=>{ue.length?Ye.includes(D)?et(Ye.filter(Ve=>Ve!==D)):et([...Ye,D]):(Te(D),Z({type:"graduations/getGraduationsDetails",payload:{id:je==null?void 0:je.id}}),L.history.push(`/graduations/${vt}/${D}`))},className:ke===D?`${$.li} ${$.active}`:$.li},y.createElement("div",{className:$.icon},pn&&y.createElement("i",{className:pn})),y.createElement("span",{className:$.name},St),!!ue.length&&y.createElement("span",{className:$.down},Ye.includes(D)?y.createElement("i",{className:"iconfont icon-xialajiantou1"}):y.createElement("i",{className:"iconfont icon-xialajiantoubeifen"}))),Ye.includes(D)&&ue.map(Ve=>_t(Ve)))};return y.createElement("div",{className:$.menuWrap},y.createElement("div",{className:$.nav},bt.map(w=>_t(w))))};var S=(0,L.connect)(({user:k,graduations:E,globalSetting:T})=>({user:k,globalSetting:T,graduations:E}))(z),u={flex_box_center:"flex_box_center___Zlh8i",flex_space_between:"flex_space_between___lFY3s",flex_box_vertical_center:"flex_box_vertical_center___dQs2p",flex_box_center_end:"flex_box_center_end___mh3GO",flex_box_column:"flex_box_column___fbLGv",bg:"bg___WhklA",center:"center___yiVRe",name:"name___LmNUZ",line:"line___mHXFG",member:"member___ya2z7",btn:"btn___WFeIH",bg2:"bg2___6yejb",modal:"modal___BTChh",red:"red___WFR6s",row:"row___lGy2T",label:"label___Ixyoi",content:"content___oTCar",input:"input___Q19k0",code:"code___ywBNo",copy:"copy___eV4lI"},x=f.p+"static/bg.224d6d3a.jpg",m="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4QBMRXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAeAKADAAQAAAABAAAA+AAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/8AAEQgA+B4AAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJ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qKSlHWgVh1L7UwdDTx1H+e1BCFFLTV6f59aVev+fakSOFLTV/pS96GA6gUlKOtQwFopB0NL3/AA/pWYC0U0dDTv8AP6UALS01eh/ClHUf57UAOopq9P8APrTh96gBaKRf6UvegBaKTvS0AFFFFABRRRQAUUUUAFFFKOtAB70opB0NL3/D+lAC0vtTB0NPHUf57UCewtLTV6f59acPvUGb3sLTqYv9KeOtBLFpaaOhpe/4f0osIcKPakXofwpR1H+e1QtgFo60i9P8+tKvX/PtS6gNIpopx6j6U0dauLugFFLTR0NO/wA/pTAcKUUxeh/CnL1/z7UE31sOpaav9KXvU9bEt6jhSim07v8Ah/SpaFuQ5o9qYOhp46j/AD2rQmW4opRTV6f59aVev+fagQ4UtNX+lOoAKKKKAEJwM0zcac/3aj7/AIf0oNIIM0maSigpvUWgUlKOtAC0tNHQ07/P6UEsUdaUU1eh/ClHUf57UGY6lpF/pS96AHUtNpR1oAdS0wdDTx1H+e1AC5pm/wBKX+H8v51CvX/PtQXCNx+c0U1f6U8daBOT2ClpB0NL3/D+lBItL7UwdDTx1H+e1ADqKavT/PrTh96gBaWmr/SnUAFMLelOPQ1F3/D+lACliabk0lFBL2CiiigyYUUUUCCiiigApaSigcVdi5pM0UVUVc0krBRRRWqijNthRRRS7iCnK2KbRUN2egE9FIv9KXvWoATgZpNwpp+7+Apvf8P6UFxjceGPrRmmL1pf8/pQabDtwpNxpg6Gl7/h/SgxbY7caPamDoaeOo/z2oEKKKRen+fWgdR/ntQA4e1FInSlH3qAFpfamr/Sl70ALS0lKOtAC0ZxSDoaD1oAQPml3Col6f59acPvUAf/2Q==",P=f(78241),ce=f(43418),U=f(8591),W=f(92832),ne=f(59155),Y=f(24065),b=f(99064),R=f(56102),G=f(86608),j=f(31570),pe=f(2742),me=Object.defineProperty,fe=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Q=(k,E,T)=>E in k?me(k,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[E]=T,de=(k,E)=>{for(var T in E||(E={}))M.call(E,T)&&Q(k,T,E[T]);if(te)for(var T of te(E))he.call(E,T)&&Q(k,T,E[T]);return k},ie=(k,E)=>fe(k,ae(E)),v=(k,E,T)=>new Promise((X,Z)=>{var K=ke=>{try{Ke(T.next(ke))}catch(Te){Z(Te)}},we=ke=>{try{Ke(T.throw(ke))}catch(Te){Z(Te)}},Ke=ke=>ke.done?X(ke.value):Promise.resolve(ke.value).then(K,we);Ke((T=T.apply(k,E)).next())});const _=({graduations:k,user:E,dispatch:T})=>{const X=(0,L.useParams)(),[Z]=(0,L.useSearchParams)(),[K,we]=(0,y.useState)(!1),[Ke,ke]=(0,y.useState)(!1),[Te,Ye]=(0,y.useState)(!1),[et,je]=(0,y.useState)(!1),[vt]=P.default.useForm(),bt=(0,y.useRef)(null),{details:ht}=k,{user_identity:Nt,code_effect_range:_t,teachers_count:w,students_count:D}=ht,St=()=>{T({type:"graduations/getGraduationsDetails",payload:{id:X==null?void 0:X.id}})},ue=()=>v(void 0,null,function*(){(yield(0,b.ZP)("/api/graduations/detail.json",{method:"get",params:{code:Z.get("code")}})).status===0&&ke(!0)});(0,y.useEffect)(()=>{if(Z.get("code")){ue();return}St()},[]);const Be=()=>{ce.default.confirm({centered:!0,okText:"\u786E\u5B9A",icon:null,width:443,cancelText:"\u53D6\u6D88",title:"\u5220\u9664\u6BD5\u4E1A\u8BBE\u8BA1",content:y.createElement("div",null,y.createElement("p",null,"\u8BE5\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002\u5220\u9664\u540E\uFF0C\u6BD5\u4E1A\u8BBE\u8BA1\u5185\u7684\u6240\u6709\u6570\u636E\u5C06\u88AB\u540C\u65F6\u5220\u9664"),y.createElement("div",{className:"mb5"},"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801\u540E\u786E\u8BA4\u5220\u9664"),y.createElement(ne.Z,{ref:Ve=>bt.current=Ve})),onOk:()=>v(void 0,null,function*(){if(bt.current.onVerify())return Promise.reject();(yield(0,b.ZP)(`/api/graduations/${X==null?void 0:X.id}.json`,{method:"delete"})).status===0&&(U.ZP.success("\u5220\u9664\u6210\u529F"),L.history.push("/graduations"))})})},pn=`${window.location.origin}/graduations/${X.id}?code=${ht==null?void 0:ht.invite_code}`;return y.createElement("div",{className:`${u.bg} ${(0,Y.tu)()?"":u.bg2}`,style:{background:`url('${(0,Y.tu)()?x:m}') no-repeat center center`}},y.createElement("div",{className:u.center},y.createElement(q.Z,{title:ht==null?void 0:ht.name},y.createElement("div",{className:u.name},ht==null?void 0:ht.name)),y.createElement(G.Z,{className:"ml20",status:ht.status}),y.createElement("div",{style:{marginLeft:"auto"}},"\u9080\u8BF7\u7801",_t===3?y.createElement("b",{className:"ml10"},"\u5DF2\u505C\u7528"):y.createElement("b",{className:"ml10",style:{color:"#FED218"}},ht==null?void 0:ht.invite_code)),[0,1,2].includes(_t)&&y.createElement(y.Fragment,null,y.createElement("div",{className:u.line}),y.createElement("div",{className:"current",onClick:()=>we(!0)},y.createElement("i",{style:{color:"#d8d8d8"},className:"iconfont icon-fenxiangketang font14 mr5"}),"\xA0\u5206\u4EAB\u6BD5\u8BBE")),(0,Y.tu)()&&y.createElement(y.Fragment,null,y.createElement("div",{className:u.line}),y.createElement("div",{className:"current",onClick:Be},y.createElement("i",{style:{color:"#d8d8d8"},className:"iconfont icon-shanchu8 font14 mr5"}),"\u5220\u9664\u6BD5\u8BBE"))),(0,Y.tu)()&&y.createElement("div",{className:u.member},y.createElement(L.Link,{className:u.btn,to:`/graduations/${X==null?void 0:X.id}/teachers`},y.createElement("i",{className:"iconfont icon-chengyuanguanli1 mr5"}),"\u6210\u5458\u7BA1\u7406"),y.createElement("span",{className:u.line}),y.createElement(L.Link,{className:u.btn,to:`/graduations/${X==null?void 0:X.id}/students`},"\u5B66\u751F",y.createElement("span",{className:"ml10"},D)),y.createElement("span",{className:u.line}),y.createElement(L.Link,{className:u.btn,to:`/graduations/${X==null?void 0:X.id}/teachers`},"\u6559\u5E08",y.createElement("span",{className:"ml10"},w)),y.createElement("span",{onClick:()=>{je("\u6DFB\u52A0\u8001\u5E08")},style:{marginLeft:"auto"},className:u.btn},y.createElement("i",{className:"iconfont icon-tianjialaoshi font14 mr5"}),"\u6DFB\u52A0\u8001\u5E08"),y.createElement("span",{className:u.line}),y.createElement("span",{onClick:()=>{je("\u6DFB\u52A0\u5B66\u751F")},className:u.btn},y.createElement("i",{className:"iconfont icon-tianjiaxuesheng font14 mr5"}),"\u6DFB\u52A0\u5B66\u751F")),y.createElement(ce.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:K,title:"\u5206\u4EAB\u6BD5\u8BBE",width:666,onCancel:()=>{we(!1)},footer:null},y.createElement("div",{className:u.modal},_t===1&&y.createElement("div",{className:u.red},"\u9080\u8BF7\u7801\u5DF2\u5BF9\u7BA1\u7406\u5458\u7981\u7528\uFF0C\u7528\u6237\u5C06\u65E0\u6CD5\u901A\u8FC7\u9080\u8BF7\u7801\u4EE5\u7BA1\u7406\u5458\u8EAB\u4EFD\u52A0\u5165\u6BD5\u8BBE"),_t===2&&y.createElement("div",{className:u.red},"\u9080\u8BF7\u7801\u548C\u9080\u8BF7\u94FE\u63A5\u5DF2\u5BF9\u5B66\u751F\u7981\u7528\uFF0C\u7528\u6237\u5C06\u65E0\u6CD5\u901A\u8FC7\u9080\u8BF7\u7801\u4EE5\u5B66\u751F\u8EAB\u4EFD\u52A0\u5165\u6BD5\u8BBE"),y.createElement("div",{className:u.row},y.createElement("div",{className:u.label},"\u5206\u4EAB\u65B9\u5F0F\u4E00"),y.createElement("div",{className:u.content},y.createElement("div",{className:"c-black"},"\u5206\u4EAB\u9080\u8BF7\u7801"),y.createElement("div",{className:u.input},y.createElement("aside",{className:u.code},ht==null?void 0:ht.invite_code),y.createElement(R.CopyToClipboard,{text:ht==null?void 0:ht.invite_code,onCopy:()=>U.ZP.success("\u590D\u5236\u6210\u529F")},y.createElement("div",{className:u.copy},y.createElement("i",{className:"iconfont icon-fuzhi8 font14 mr5"}),"\u590D\u5236\u9080\u8BF7\u7801"))),y.createElement("div",{className:"font12",style:{color:"#9096A3"}},"\u901A\u8FC7\u9080\u8BF7\u7801\u52A0\u5165\u6BD5\u4E1A\u8BBE\u8BA1\u65F6\uFF0C\u53EF\u4EE5\u9009\u62E9\u52A0\u5165\u6BD5\u8BBE\u7684\u8EAB\u4EFD\uFF08\u9009\u62E9\u7BA1\u7406\u5458\uFF08\u6559\u5E08\uFF09\uFF0C\u9700\u8981\u7BA1\u7406\u5458\u5BA1\u6838\uFF09"))),y.createElement("div",{className:`${u.row} mt30 mb15`},y.createElement("div",{className:u.label},"\u5206\u4EAB\u65B9\u5F0F\u4E8C"),y.createElement("div",{className:u.content},y.createElement("div",null,"\u5206\u4EAB\u94FE\u63A5"),y.createElement("div",{className:u.input},y.createElement("aside",{className:u.code,style:{width:440}},pn),y.createElement(R.CopyToClipboard,{text:pn,onCopy:()=>U.ZP.success("\u590D\u5236\u6210\u529F")},y.createElement("div",{className:u.copy},y.createElement("i",{className:"iconfont icon-fuzhi8 font14 mr5"}),"\u590D\u5236\u94FE\u63A5"))),y.createElement("div",{className:"font12",style:{color:"#9096A3"}},"\u901A\u8FC7\u5206\u4EAB\u94FE\u63A5\u8BBF\u95EE\u6BD5\u8BBE\u65F6\uFF0C\u5DF2\u767B\u5F55\u7528\u6237\u53EF\u4EE5\u76F4\u63A5\u4EE5\u5B66\u751F\u8EAB\u4EFD\u52A0\u5165\u6BD5\u8BBE\uFF0C\u672A\u6CE8\u518C/\u767B\u5F55\u7528\u6237\u5728\u6CE8\u518C/\u767B\u5F55\u540E\u53EF\u4EE5\u76F4\u63A5\u52A0\u5165\u6BD5\u8BBE\u3002"))),y.createElement("div",{style:{height:"15px"}}))),y.createElement(ce.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:Ke,title:"\u52A0\u5165\u6BD5\u8BBE",width:527,confirmLoading:Te,onCancel:()=>{L.history.replace("/graduations")},onOk:()=>vt.submit()},y.createElement(P.default,{colon:!1,form:vt,className:u.formWrap,onFinish:Ve=>v(void 0,null,function*(){Ye(!0);const nt=yield(0,b.ZP)("/api/graduations/join.json",{method:"post",body:ie(de({},Ve),{user_type:2,code:Z.get("code")})});nt.status===0&&(nt!=null&&nt.identifier?(U.ZP.success("\u52A0\u5165\u6210\u529F"),L.history.replace(`/graduations/${X.id}/index`),ke(!1),St()):(U.ZP.success(nt==null?void 0:nt.message),L.history.replace("/graduations"))),Ye(!1)})},y.createElement(P.default.Item,{style:{marginBottom:0},name:"major",label:"\u4E13\u4E1A",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"},{max:60,message:"\u8F93\u5165\u8D85\u9650\uFF0C\u8BF7\u7F29\u51CF\u5B57\u7B26\u6570"},{whitespace:!0,message:"\u8BF7\u8F93\u5165\u4E13\u4E1A\u540D\u79F0"}]},y.createElement(W.default,{showCount:!0,maxLength:60})))),y.createElement(j.Z,{open:et,onCancel:()=>je(!1),title:et,OnOk:Ve=>v(void 0,null,function*(){if((yield(et=="\u6DFB\u52A0\u8001\u5E08"?pe.HF:pe.NX)({id:X.id,user_ids:Ve})).status==0){if(U.ZP.success("\u6DFB\u52A0\u6210\u529F"),je(!1),T({type:"graduations/getGraduationsDetails",payload:{id:X==null?void 0:X.id}}),et=="\u6DFB\u52A0\u8001\u5E08"&&location.pathname.includes("teachers")){T({type:"graduations/setUpdateIndex"});return}if(et=="\u6DFB\u52A0\u5B66\u751F"&&location.pathname.includes("students")){T({type:"graduations/setUpdateIndex"});return}const Je=`/graduations/${X==null?void 0:X.id}/${et=="\u6DFB\u52A0\u8001\u5E08"?"teachers":"students"}`;L.history.push(Je)}})}))};var V=(0,L.connect)(({graduations:k,user:E})=>({graduations:k,user:E}))(_),J={flex_box_center:"flex_box_center___hxWWU",flex_space_between:"flex_space_between___Vtfm0",flex_box_vertical_center:"flex_box_vertical_center___raPpL",flex_box_center_end:"flex_box_center_end___vhgOG",flex_box_column:"flex_box_column___awXbX",icon:"icon___qjZkt",content:"content___w0ayt",dot:"dot___vZgx3"},Le=f(85149),Oe=Object.defineProperty,Ie=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,ut=(k,E,T)=>E in k?Oe(k,E,{enumerable:!0,configurable:!0,writable:!0,value:T}):k[E]=T,it=(k,E)=>{for(var T in E||(E={}))$e.call(E,T)&&ut(k,T,E[T]);if(Ie)for(var T of Ie(E))lt.call(E,T)&&ut(k,T,E[T]);return k};const Pt=k=>React.createElement("svg",it({className:"icon_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},k),React.createElement("path",{d:"M338.074 165.888A337.1 337.1 0 1 1 205.26 812.902V193.024a336.026 336.026 0 0 1 132.813-27.136zm-214.528 77.005v520.192A336.384 336.384 0 0 1 .973 502.989c0-104.704 47.718-198.247 122.573-260.096z",fill:"#FF9D18"}),React.createElement("path",{d:"M246.118.768a41.35 41.35 0 0 1 14.746 2.714l533.3 206.54h187.494c22.528 0 40.857 18.33 40.857 40.858v483.686c0 22.58-18.278 40.858-40.857 40.858H794.112L260.864 982.016a40.858 40.858 0 0 1-55.603-38.093V41.626c0-22.58 18.278-40.91 40.857-40.91zm560.538 324.147h-57.242a12.288 12.288 0 0 0-12.288 12.288V639.59c0 6.759 5.53 12.288 12.288 12.288h57.242a12.288 12.288 0 0 0 12.237-12.288V337.203a12.288 12.288 0 0 0-12.288-12.288z",fill:"#739EFF"}));var Jt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTMzOC4wNzQgMTY1Ljg4OEEzMzcuMSAzMzcuMSAwIDEgMSAyMDUuMjYgODEyLjkwMlYxOTMuMDI0YTMzNi4wMjYgMzM2LjAyNiAwIDAgMSAxMzIuODEzLTI3LjEzNnptLTIxNC41MjggNzcuMDA1djUyMC4xOTJBMzM2LjM4NCAzMzYuMzg0IDAgMCAxIC45NzMgNTAyLjk4OWMwLTEwNC43MDQgNDcuNzE4LTE5OC4yNDcgMTIyLjU3My0yNjAuMDk2eiIgZmlsbD0iI0ZGOUQxOCIvPjxwYXRoIGQ9Ik0yNDYuMTE4Ljc2OGE0MS4zNSA0MS4zNSAwIDAgMSAxNC43NDYgMi43MTRsNTMzLjMgMjA2LjU0aDE4Ny40OTRjMjIuNTI4IDAgNDAuODU3IDE4LjMzIDQwLjg1NyA0MC44NTh2NDgzLjY4NmMwIDIyLjU4LTE4LjI3OCA0MC44NTgtNDAuODU3IDQwLjg1OEg3OTQuMTEyTDI2MC44NjQgOTgyLjAxNmE0MC44NTggNDAuODU4IDAgMCAxLTU1LjYwMy0zOC4wOTNWNDEuNjI2YzAtMjIuNTggMTguMjc4LTQwLjkxIDQwLjg1Ny00MC45MXptNTYwLjUzOCAzMjQuMTQ3aC01Ny4yNDJhMTIuMjg4IDEyLjI4OCAwIDAgMC0xMi4yODggMTIuMjg4VjYzOS41OWMwIDYuNzU5IDUuNTMgMTIuMjg4IDEyLjI4OCAxMi4yODhoNTcuMjQyYTEyLjI4OCAxMi4yODggMCAwIDAgMTIuMjM3LTEyLjI4OFYzMzcuMjAzYTEyLjI4OCAxMi4yODggMCAwIDAtMTIuMjg4LTEyLjI4OHoiIGZpbGw9IiM3MzlFRkYiLz48L3N2Zz4=",rn=f(8797),It=f(955),Zt=f(3294),ot=(k,E,T)=>new Promise((X,Z)=>{var K=ke=>{try{Ke(T.next(ke))}catch(Te){Z(Te)}},we=ke=>{try{Ke(T.throw(ke))}catch(Te){Z(Te)}},Ke=ke=>ke.done?X(ke.value):Promise.resolve(ke.value).then(K,we);Ke((T=T.apply(k,E)).next())});const se=({graduations:k,dispatch:E})=>{var T,X;const Z=(0,L.useParams)(),K=(0,L.useLocation)(),[we,Ke]=(0,y.useState)(!1),{menus:ke}=k,Te=ke.find(bt=>bt.stage_url===K.pathname)||{},et=["opening_report","midterm_report","thesis","final_defense","final_thesis","archives"].includes(Te==null?void 0:Te.clazz),je=()=>ot(void 0,null,function*(){if(Ke(!0),Te!=null&&Te.notice_view)return;(yield(0,b.ZP)(`/api/graduations/${Z==null?void 0:Z.id}/graduation_stages/${Te==null?void 0:Te.id}/notice_view.json`,{method:"post"})).status===0&&E({type:"graduations/getGraduationsDetails",payload:{id:Z==null?void 0:Z.id}})}),vt=!((T=Te==null?void 0:Te.attachments)!=null&&T.length)&&!(Te!=null&&Te.description);return y.createElement(y.Fragment,null,et&&y.createElement(q.Z,{title:"\u9636\u6BB5\u516C\u544A/\u63CF\u8FF0",placement:"bottom"},y.createElement("div",{className:J.icon,onClick:je},y.createElement("div",{className:J.content},y.createElement("img",{height:20,src:Jt}),!(Te!=null&&Te.notice_view)&&y.createElement("div",{className:J.dot})))),y.createElement(ce.default,{centered:!0,destroyOnClose:!0,onCancel:()=>Ke(!1),onOk:()=>Ke(!1),open:we,title:"\u9636\u6BB5\u516C\u544A/\u63CF\u8FF0",width:990,cancelButtonProps:{style:{display:"none"}},okText:"\u6211\u77E5\u9053\u4E86"},vt?y.createElement(rn.Z,null):y.createElement("div",{style:{maxHeight:500}},y.createElement(Le.Z,{className:"mb25",value:(Te==null?void 0:Te.description)||""}),(X=Te==null?void 0:Te.attachments)==null?void 0:X.map(bt=>y.createElement(Ee.Z,{key:bt.id,className:"mt4",align:"middle"},y.createElement("div",{style:{color:"#3061D0"},className:"current c-light-primary",onClick:()=>{var ht;(0,It.Nd)("",`${Zt.Z.API_SERVER}${(ht=bt==null?void 0:bt.url)==null?void 0:ht.replace("disposition=inline","")}`)}},y.createElement("i",{className:"iconfont icon-wenjian7 font14 mr5"}),(0,It.tP)(bt.title,62)))))))};var be=(0,L.connect)(({graduations:k})=>({graduations:k}))(se);const{Content:H}=ee.default;var xe=({})=>y.createElement("div",{className:"bg-white"},y.createElement(V,null),y.createElement(Ee.Z,{className:"edu-container",wrap:!1},y.createElement(S,null),y.createElement(H,{style:{flex:1,width:0,position:"relative"}},y.createElement(be,null),y.createElement(L.Outlet,null))))},31570:function(tn,tt,f){"use strict";var y=f(59301),L=f(89070),ee=f(78241),Ee=f(6848),$=f(8591),q=f(43418),C=f(57809),Se=f(92832),a=f(88522),I=f(1710),z=f(61186),S=f.n(z),u=f(8797),x=f(2742),m=f(85057),P=Object.defineProperty,ce=Object.defineProperties,U=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,b=(me,fe,ae)=>fe in me?P(me,fe,{enumerable:!0,configurable:!0,writable:!0,value:ae}):me[fe]=ae,R=(me,fe)=>{for(var ae in fe||(fe={}))ne.call(fe,ae)&&b(me,ae,fe[ae]);if(W)for(var ae of W(fe))Y.call(fe,ae)&&b(me,ae,fe[ae]);return me},G=(me,fe)=>ce(me,U(fe)),j=(me,fe,ae)=>new Promise((te,M)=>{var he=ie=>{try{de(ae.next(ie))}catch(v){M(v)}},Q=ie=>{try{de(ae.throw(ie))}catch(v){M(v)}},de=ie=>ie.done?te(ie.value):Promise.resolve(ie.value).then(he,Q);de((ae=ae.apply(me,fe)).next())});const pe=({graduations:{StageSetting:me},onCancel:fe,OnOk:ae,open:te=!1,title:M,dispatch:he})=>{const Q=(0,L.useParams)(),[de,ie]=(0,y.useState)([]),[v]=ee.default.useForm(),[_,V]=(0,y.useState)({school:"",search:"",search_type:"name"}),[J,Le]=(0,y.useState)(!0),[Oe,Ie]=(0,y.useState)(!1),[$e,lt]=(0,y.useState)(!1),[ut,it]=(0,y.useState)([]),[Pt,Jt]=(0,y.useState)(0),[rn,It]=(0,y.useState)(0),[Zt,ot]=(0,y.useState)(1),[se,be]=(0,y.useState)([]),[H,O]=(0,y.useState)(!1),xe=(0,y.useRef)(null);(0,y.useEffect)(()=>{switch(M){case"\u6DFB\u52A0\u5B66\u751F":It(0);break;case"\u6DFB\u52A0\u8001\u5E08":It(1);break;default:It(null)}},[te]),(0,y.useEffect)(()=>{j(void 0,null,function*(){var Z;const K=yield(0,x.xF)({keyword:"",per_page:9999,display_aliases:!0});ie((Z=K==null?void 0:K.schools)==null?void 0:Z.map(we=>({label:we.name,value:we.id})))})},[]);const k=[{title:"\u59D3\u540D",width:100,ellipsis:!0,dataIndex:"name",render:Z=>y.createElement(Ee.Z,{placement:"topLeft",title:Z},y.createElement("span",{style:{color:"#000"}},Z||"--"))},{title:"\u5B66\u6821/\u5355\u4F4D",dataIndex:"school",ellipsis:!0,render:Z=>y.createElement(Ee.Z,{placement:"topLeft",title:Z},y.createElement("span",{style:{color:"#000"}},Z||"--"))},{title:"\u9662\u7CFB/\u90E8\u95E8",dataIndex:"department",width:130,ellipsis:!0,render:Z=>y.createElement(Ee.Z,{placement:"topLeft",title:Z},y.createElement("span",{style:{color:"#000"}},Z||"--"))},{title:"\u5B66\u53F7/\u5DE5\u53F7",width:100,dataIndex:"student_number",ellipsis:!0,render:(Z,K)=>y.createElement(Ee.Z,{placement:"topLeft",title:K.staff_id||K.student_id},y.createElement("span",{className:"c-grey-666"},K.staff_id||K.student_id||"--"))},{title:"\u624B\u673A",width:110,dataIndex:"phone",ellipsis:!0,render:Z=>y.createElement(Ee.Z,{placement:"topLeft",title:Z},y.createElement("span",{className:"c-grey-666"},Z||"--"))},{title:"\u90AE\u7BB1",dataIndex:"mail",width:120,ellipsis:!0,render:Z=>y.createElement(Ee.Z,{placement:"topLeft",title:Z},y.createElement("span",{className:"c-grey-666"},Z||"--"))},{title:"\u5B9E\u540D\u8BA4\u8BC1",dataIndex:"authentication",width:80,render:Z=>Z?y.createElement("span",{style:{color:"#000"}},"\u662F"):"\u5426"},{title:"\u6700\u540E\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_on",width:140,ellipsis:!0,render:Z=>y.createElement(Ee.Z,{placement:"topLeft",title:Z},y.createElement("span",{className:"c-grey-666"},S()(Z).format("YYYY-MM-DD HH:mm")))},{title:"\u72B6\u6001",dataIndex:"checked",width:80,render:Z=>Z?y.createElement("span",{className:"c-green"},"\u5DF2\u6DFB\u52A0"):y.createElement("span",{className:"c-grey-333"},"\u672A\u6DFB\u52A0")}],E=Z=>j(void 0,null,function*(){var K,we;if(xe.current&&((we=(K=xe.current)==null?void 0:K.querySelector(".ant-table-body"))==null||we.scrollTo(0,0)),O(!0),be([]),!(Z.search||Z.school)){$.ZP.warning("\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9");return}Ie(!0),V(Z),ot(1);let Ke;const ke=G(R({id:Q.id},Z),{display_aliases:!0});rn==0&&(Ke=yield(0,x.l5)(ke)),rn==1&&(Ke=yield(0,x.bS)(ke)),Ke.status==0&&(it(Ke.data),Jt(Ke.count)),Ie(!1)}),T=(Z=!1)=>j(void 0,null,function*(){var K,we,Ke,ke;const Te=(K=xe.current)==null?void 0:K.querySelector(".ant-table-body").scrollHeight,Ye=(we=xe.current)==null?void 0:we.querySelector(".ant-table-body").scrollTop,et=(Ke=xe.current)==null?void 0:Ke.querySelector(".ant-table-body").clientHeight;if(Te==Ye+et&&J&&!Oe){Ie(!0),ot(Zt+1);let je;const vt=R({page:Zt+1,id:Q.id},_);rn==0&&(je=yield(0,x.l5)(vt)),rn==1&&(je=yield(0,x.bS)(vt)),je.status==0&&(((ke=je==null?void 0:je.data)==null?void 0:ke.length)+ut.length==je.count&&Le(!1),it([...ut,...je.data]),Jt(je.count)),Ie(!1)}}),X={selectedRowKeys:se,onChange:(Z,K)=>{be(Z)},getCheckboxProps:Z=>({disabled:Z.checked,name:Z.checked})};return y.createElement(q.default,{destroyOnClose:!0,width:1200,style:{height:"613px"},open:te,confirmLoading:$e,title:M,bodyStyle:{padding:"0px 25px"},onOk:()=>j(void 0,null,function*(){se.length>0?(lt(!0),yield ae(se),lt(!1),v.resetFields(),it([]),O(!1),be([])):$.ZP.warning("\u8BF7\u9009\u62E9\u6DFB\u52A0\u4EBA\u5458")}),onCancel:()=>{fe(),v.resetFields(),O(!1),it([]),be([])}},y.createElement(ee.default,{layout:"inline",className:"mt10",colon:!1,form:v,initialValues:{school:"",search:"",search_type:"name"},onValuesChange:(Z,K)=>V(K),size:"large",onFinish:E},y.createElement(ee.default.Item,{name:"search_type",label:"\u641C\u7D22\u7C7B\u578B"},y.createElement(C.default,{style:{width:160}},y.createElement(C.default.Option,{value:"name"},"\u59D3\u540D"),y.createElement(C.default.Option,{value:"phone"},"\u624B\u673A\u53F7"),y.createElement(C.default.Option,{value:"mail"},"\u90AE\u7BB1"))),y.createElement(ee.default.Item,{name:"search",label:"\u641C\u7D22\u5185\u5BB9"},y.createElement(Se.default,{allowClear:!0,style:{width:320},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",defaultValue:""})),y.createElement(ee.default.Item,{name:"school",label:"\u5355\u4F4D"},y.createElement(a.Z,{options:de,style:{width:380},placeholder:"\u8BF7\u8F93\u5165\u5355\u4F4D\u540D\u79F0",onSelect:(Z,K)=>{console.log(Z,K),v.setFieldsValue({school:K.label})},filterOption:(Z,K)=>K.label.toUpperCase().indexOf(Z.toUpperCase())!==-1})),y.createElement(ee.default.Item,{noStyle:!0},y.createElement(m.op,{onClick:()=>v.submit(),size:"large",shape:"default"},"\u641C\u7D22"))),y.createElement("div",{onScrollCapture:()=>T()},H?y.createElement(I.default,{className:"mt20",loading:Oe,showHeader:ut.length>0,scroll:Pt>10?{y:450}:{},rowKey:"user_id",rowSelection:X,locale:{emptyText:y.createElement(u.Z,{customText:"\u672A\u627E\u5230\u7B26\u5408\u6761\u4EF6\u7684\u6570\u636E\uFF0C\u8BF7\u91CD\u65B0\u8C03\u6574\u60A8\u7684\u7B5B\u9009\u6761\u4EF6\u3002"})},pagination:!1,dataSource:ut,ref:xe,columns:k}):y.createElement(u.Z,{customText:"\u8BF7\u641C\u7D22\u8981\u6DFB\u52A0\u7684\u4EBA\u5458"})))};tt.Z=(0,L.connect)(({graduations:me})=>({graduations:me}))(pe)},86608:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return q}});var y=f(59301),L={flex_box_center:"flex_box_center___Sswcw",flex_space_between:"flex_space_between___nBexI",flex_box_vertical_center:"flex_box_vertical_center___sPXvb",flex_box_center_end:"flex_box_center_end___c6nca",flex_box_column:"flex_box_column___Bq_gi",tag:"tag___NEywM"},ee=f(92310),Ee=f.n(ee),q=({className:C,status:Se})=>y.createElement(y.Fragment,null,Se===0&&y.createElement("div",{className:Ee()(L.tag,C)},"\u672A\u5F00\u59CB"),Se===1&&y.createElement("div",{className:Ee()(L.tag,C),style:{background:"#19CB70"}},"\u8FDB\u884C\u4E2D"),Se===2&&y.createElement("div",{className:Ee()(L.tag,C),style:{background:"#EE5D5D"}},"\u5DF2\u7ED3\u675F"))},24768:function(tn,tt,f){"use strict";f.d(tt,{AL:function(){return Y},Iy:function(){return z},Qv:function(){return x},ez:function(){return ne},jb:function(){return S}});var y=f(32834),L=f.n(y),ee=f(11690),Ee=f.n(ee);let $=1;function q(pe,me){const fe=pe.match(/^(\s+)(?:```)/);if(fe===null)return me;const ae=fe[1];return me.split(`
`).map(te=>{const M=te.match(/^\s+/);if(M===null)return te;const[he]=M;return he.length>=ae.length?te.slice(ae.length):te}).join(`
`)}let C=[],Se=["<ul>"];const a=new(L()).Renderer,I=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function z(){C.length=0,Se=["<ul>"]}const S={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function u(pe,me,fe,ae){if(me>=pe.length||pe[me].level<=fe)return me;var te=pe[me];ae.push("<li><a href='#"+$+te.anchor+"'>"+te.text+"</a>"),me++;var M=[];return me=u(pe,me,te.level,M),M.length>0&&(ae.push("<ul>"),M.forEach(function(he){ae.push(he)}),ae.push("</ul>")),ae.push("</li>"),me=u(pe,me,fe,ae),me}function x(){return u(C,0,0,Se),Se.push("</ul>"),Se.join("")}const m={heading(pe){const me=I.exec(pe);if($+=1,me)return{type:"heading",raw:me[0],depth:me[1].length,text:me[2]}},fences(pe){const me=this.rules.block.fences.exec(pe);if(me){const fe=me[0];let ae=q(fe,me[3]||"");const te=me[2]?me[2].trim():me[2];if(["latex","katex","math"].indexOf(te)>=0){const M=U(),he=ae;ae=M,W[M]={type:"block",expression:he}}return{type:"code",raw:fe,lang:te,text:ae}}}},P=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let ce=0;const U=()=>`__special_katext_id_${ce++}__`;let W={};function ne(){return W}function Y(){ce=0,W={}}function b(pe){return pe=pe.replace(P,(me,fe)=>{const ae=U();return W[ae]={type:"inline",expression:fe},ae}),pe}const R=a.listitem;a.listitem=function(pe){return R(b(pe))};const G=a.paragraph;a.paragraph=function(pe){return G(b(pe))};const j=a.tablecell;a.tablecell=function(pe,me){return j(b(pe),me)},a.code=function(pe,me,fe){const ae=(me||"").match(/\S*/)[0];return ae?["latex","katex","math"].indexOf(ae)>=0?`<p class='editormd-tex'>${pe}</p>`:`<pre class="prettyprint linenums"><code class="language-${me}">${fe?pe:(0,ee.escape)(pe,!0)}</code></pre>
`:'<pre class="prettyprint linenums"><code>'+(fe?pe:(0,ee.escape)(pe,!0))+"</code></pre>"},a.heading=function(pe,me,fe){let ae=this.options.headerPrefix+fe.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return C.push({anchor:ae,level:me,text:pe}),"<h"+me+' id="'+$+ae+'">'+pe+"</h"+me+">"},L().setOptions({silent:!0,gfm:!0,pedantic:!1}),L().use({tokenizer:m,renderer:a}),tt.ZP=L()},36785:function(tn,tt,f){"use strict";f.d(tt,{o2:function(){return $},yT:function(){return q}});var y=f(26407),L=f(33166);const ee=L.i.map(C=>`${C}-inverse`),Ee=["success","processing","error","default","warning"];function $(C){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,y.Z)(ee),(0,y.Z)(L.i)).includes(C):L.i.includes(C)}function q(C){return Ee.includes(C)}},50371:function(tn,tt){"use strict";function f(){const y=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let L=1;L<arguments.length;L++){const ee=L<0||arguments.length<=L?void 0:arguments[L];ee&&Object.keys(ee).forEach(Ee=>{const $=ee[Ee];$!==void 0&&(y[Ee]=$)})}return y}tt.Z=f},13845:function(tn,tt,f){"use strict";f.d(tt,{F:function(){return y},Z:function(){return L}});function y(ee){return ee!=null&&ee===ee.window}function L(ee,Ee){var $,q;if(typeof window=="undefined")return 0;const C=Ee?"scrollTop":"scrollLeft";let Se=0;return y(ee)?Se=ee[Ee?"pageYOffset":"pageXOffset"]:ee instanceof Document?Se=ee.documentElement[C]:(ee instanceof HTMLElement||ee)&&(Se=ee[C]),ee&&!y(ee)&&typeof Se!="number"&&(Se=(q=(($=ee.ownerDocument)!==null&&$!==void 0?$:ee).documentElement)===null||q===void 0?void 0:q[C]),Se}},56762:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return L}});var y=f(59301);function L(){const[,ee]=y.useReducer(Ee=>Ee+1,0);return ee}},79676:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return q}});var y=f(19447);function L(C,Se,a,I){if(I===!1)return{adjustX:!1,adjustY:!1};const z=I&&typeof I=="object"?I:{},S={};switch(C){case"top":case"bottom":S.shiftX=Se.dropdownArrowOffset*2+a;break;case"left":case"right":S.shiftY=Se.dropdownArrowOffsetVertical*2+a;break}const u=Object.assign(Object.assign({},S),z);return u.shiftX||(u.adjustX=!0),u.shiftY||(u.adjustY=!0),u}const ee={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"]}},Ee={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"]}},$=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function q(C){const{arrowWidth:Se,autoAdjustOverflow:a,arrowPointAtCenter:I,offset:z,borderRadius:S,visibleFirst:u}=C,x=Se/2,m={};return Object.keys(ee).forEach(P=>{const ce=I&&Ee[P]||ee[P],U=Object.assign(Object.assign({},ce),{offset:[0,0]});switch(m[P]=U,$.has(P)&&(U.autoArrow=!1),P){case"top":case"topLeft":case"topRight":U.offset[1]=-x-z;break;case"bottom":case"bottomLeft":case"bottomRight":U.offset[1]=x+z;break;case"left":case"leftTop":case"leftBottom":U.offset[0]=-x-z;break;case"right":case"rightTop":case"rightBottom":U.offset[0]=x+z;break}const W=(0,y.fS)({contentRadius:S,limitVerticalRadius:!0});if(I)switch(P){case"topLeft":case"bottomLeft":U.offset[0]=-W.dropdownArrowOffset-x;break;case"topRight":case"bottomRight":U.offset[0]=W.dropdownArrowOffset+x;break;case"leftTop":case"rightTop":U.offset[1]=-W.dropdownArrowOffset-x;break;case"leftBottom":case"rightBottom":U.offset[1]=W.dropdownArrowOffset+x;break}U.overflow=L(P,W,Se,a),u&&(U.htmlRegion="visibleFirst")}),m}},68031:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Ee}});var y=f(16089);function L($,q,C,Se){const a=C-q;return $/=Se/2,$<1?a/2*$*$*$+q:a/2*(($-=2)*$*$+2)+q}var ee=f(13845);function Ee($){let q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:C=()=>window,callback:Se,duration:a=450}=q,I=C(),z=(0,ee.Z)(I,!0),S=Date.now(),u=()=>{const m=Date.now()-S,P=L(m>a?a:m,z,$,a);(0,ee.F)(I)?I.scrollTo(window.pageXOffset,P):I instanceof Document||I.constructor.name==="HTMLDocument"?I.documentElement.scrollTop=P:I.scrollTop=P,m<a?(0,y.Z)(u):typeof Se=="function"&&Se()};(0,y.Z)(u)}},19080:function(tn,tt,f){"use strict";f.d(tt,{F:function(){return $},Z:function(){return Ee}});var y=f(92310),L=f.n(y);const ee=null;function Ee(q,C,Se){return L()({[`${q}-status-success`]:C==="success",[`${q}-status-warning`]:C==="warning",[`${q}-status-error`]:C==="error",[`${q}-status-validating`]:C==="validating",[`${q}-has-feedback`]:Se})}const $=(q,C)=>C||q},88522:function(tn,tt,f){"use strict";var y=f(92310),L=f.n(y),ee=f(11592),Ee=f(2738),$=f(59301),q=f(53487),C=f(92343),Se=f(36355),a=f(57809);const{Option:I}=a.default;function z(m){return m&&m.type&&(m.type.isSelectOption||m.type.isSelectOptGroup)}const S=(m,P)=>{const{prefixCls:ce,className:U,popupClassName:W,dropdownClassName:ne,children:Y,dataSource:b}=m,R=(0,ee.Z)(Y);let G;R.length===1&&(0,C.l$)(R[0])&&!z(R[0])&&([G]=R);const j=G?()=>G:void 0;let pe;R.length&&z(R[0])?pe=Y:pe=b?b.map(ae=>{if((0,C.l$)(ae))return ae;switch(typeof ae){case"string":return $.createElement(I,{key:ae,value:ae},ae);case"object":{const{value:te}=ae;return $.createElement(I,{key:te,value:te},ae.text)}default:return}}):[];const{getPrefixCls:me}=$.useContext(Se.E_),fe=me("select",ce);return $.createElement(a.default,Object.assign({ref:P,suffixIcon:null},(0,Ee.Z)(m,["dataSource","dropdownClassName"]),{prefixCls:fe,popupClassName:W||ne,className:L()(`${fe}-auto-complete`,U),mode:a.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:j}),pe)},u=$.forwardRef(S),x=(0,q.Z)(u);u.Option=I,u._InternalPanelDoNotUseOrYouWillBeFired=x,tt.Z=u},24905:function(tn,tt,f){"use strict";f.d(tt,{default:function(){return G}});var y=f(92310),L=f.n(y),ee=f(5630),Ee=f(59301),$=f(36355),q=f(1684),C=f(32441),a=Ee.createContext(null),I=f(98447),z=f(14088),S=f(4572),u=function(j,pe){var me={};for(var fe in j)Object.prototype.hasOwnProperty.call(j,fe)&&pe.indexOf(fe)<0&&(me[fe]=j[fe]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,fe=Object.getOwnPropertySymbols(j);ae<fe.length;ae++)pe.indexOf(fe[ae])<0&&Object.prototype.propertyIsEnumerable.call(j,fe[ae])&&(me[fe[ae]]=j[fe[ae]]);return me};const x=(j,pe)=>{var me;const{prefixCls:fe,className:ae,rootClassName:te,children:M,indeterminate:he=!1,style:Q,onMouseEnter:de,onMouseLeave:ie,skipGroup:v=!1,disabled:_}=j,V=u(j,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:J,direction:Le,checkbox:Oe}=Ee.useContext($.E_),Ie=Ee.useContext(a),{isFormItemInput:$e}=Ee.useContext(C.aM),lt=Ee.useContext(q.Z),ut=(me=(Ie==null?void 0:Ie.disabled)||_)!==null&&me!==void 0?me:lt,it=Ee.useRef(V.value);Ee.useEffect(()=>{Ie==null||Ie.registerValue(V.value)},[]),Ee.useEffect(()=>{if(!v)return V.value!==it.current&&(Ie==null||Ie.cancelValue(it.current),Ie==null||Ie.registerValue(V.value),it.current=V.value),()=>Ie==null?void 0:Ie.cancelValue(V.value)},[V.value]);const Pt=J("checkbox",fe),[Jt,rn]=(0,I.ZP)(Pt),It=Object.assign({},V);Ie&&!v&&(It.onChange=function(){V.onChange&&V.onChange.apply(V,arguments),Ie.toggleOption&&Ie.toggleOption({label:M,value:V.value})},It.name=Ie.name,It.checked=Ie.value.includes(V.value));const Zt=L()(`${Pt}-wrapper`,{[`${Pt}-rtl`]:Le==="rtl",[`${Pt}-wrapper-checked`]:It.checked,[`${Pt}-wrapper-disabled`]:ut,[`${Pt}-wrapper-in-form-item`]:$e},Oe==null?void 0:Oe.className,ae,te,rn),ot=L()({[`${Pt}-indeterminate`]:he},S.A,rn),se=he?"mixed":void 0;return Jt(Ee.createElement(z.Z,{component:"Checkbox",disabled:ut},Ee.createElement("label",{className:Zt,style:Object.assign(Object.assign({},Oe==null?void 0:Oe.style),Q),onMouseEnter:de,onMouseLeave:ie},Ee.createElement(ee.Z,Object.assign({"aria-checked":se},It,{prefixCls:Pt,className:ot,disabled:ut,ref:pe})),M!==void 0&&Ee.createElement("span",null,M))))};var P=Ee.forwardRef(x),ce=f(26407),U=f(2738),W=function(j,pe){var me={};for(var fe in j)Object.prototype.hasOwnProperty.call(j,fe)&&pe.indexOf(fe)<0&&(me[fe]=j[fe]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,fe=Object.getOwnPropertySymbols(j);ae<fe.length;ae++)pe.indexOf(fe[ae])<0&&Object.prototype.propertyIsEnumerable.call(j,fe[ae])&&(me[fe[ae]]=j[fe[ae]]);return me};const ne=(j,pe)=>{const{defaultValue:me,children:fe,options:ae=[],prefixCls:te,className:M,rootClassName:he,style:Q,onChange:de}=j,ie=W(j,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:v,direction:_}=Ee.useContext($.E_),[V,J]=Ee.useState(ie.value||me||[]),[Le,Oe]=Ee.useState([]);Ee.useEffect(()=>{"value"in ie&&J(ie.value||[])},[ie.value]);const Ie=Ee.useMemo(()=>ae.map(be=>typeof be=="string"||typeof be=="number"?{label:be,value:be}:be),[ae]),$e=be=>{Oe(H=>H.filter(O=>O!==be))},lt=be=>{Oe(H=>[].concat((0,ce.Z)(H),[be]))},ut=be=>{const H=V.indexOf(be.value),O=(0,ce.Z)(V);H===-1?O.push(be.value):O.splice(H,1),"value"in ie||J(O),de==null||de(O.filter(xe=>Le.includes(xe)).sort((xe,k)=>{const E=Ie.findIndex(X=>X.value===xe),T=Ie.findIndex(X=>X.value===k);return E-T}))},it=v("checkbox",te),Pt=`${it}-group`,[Jt,rn]=(0,I.ZP)(it),It=(0,U.Z)(ie,["value","disabled"]),Zt=ae.length?Ie.map(be=>Ee.createElement(P,{prefixCls:it,key:be.value.toString(),disabled:"disabled"in be?be.disabled:ie.disabled,value:be.value,checked:V.includes(be.value),onChange:be.onChange,className:`${Pt}-item`,style:be.style,title:be.title},be.label)):fe,ot={toggleOption:ut,value:V,disabled:ie.disabled,name:ie.name,registerValue:lt,cancelValue:$e},se=L()(Pt,{[`${Pt}-rtl`]:_==="rtl"},M,he,rn);return Jt(Ee.createElement("div",Object.assign({className:se,style:Q},It,{ref:pe}),Ee.createElement(a.Provider,{value:ot},Zt)))},Y=Ee.forwardRef(ne);var b=Ee.memo(Y);const R=P;R.Group=b,R.__ANT_CHECKBOX=!0;var G=R},98447:function(tn,tt,f){"use strict";f.d(tt,{C2:function(){return $}});var y=f(17313),L=f(37613),ee=f(83116);const Ee=q=>{const{checkboxCls:C}=q,Se=`${C}-wrapper`;return[{[`${C}-group`]:Object.assign(Object.assign({},(0,y.Wf)(q)),{display:"inline-flex",flexWrap:"wrap",columnGap:q.marginXS,[`> ${q.antCls}-row`]:{flex:1}}),[Se]:Object.assign(Object.assign({},(0,y.Wf)(q)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Se}`]:{marginInlineStart:0},[`&${Se}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[C]:Object.assign(Object.assign({},(0,y.Wf)(q)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:q.borderRadiusSM,alignSelf:"center",[`${C}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${C}-inner`]:Object.assign({},(0,y.oN)(q))},[`${C}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:q.checkboxSize,height:q.checkboxSize,direction:"ltr",backgroundColor:q.colorBgContainer,border:`${q.lineWidth}px ${q.lineType} ${q.colorBorder}`,borderRadius:q.borderRadiusSM,borderCollapse:"separate",transition:`all ${q.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:q.checkboxSize/14*5,height:q.checkboxSize/14*8,border:`${q.lineWidthBold}px solid ${q.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${q.motionDurationFast} ${q.motionEaseInBack}, opacity ${q.motionDurationFast}`}},"& + span":{paddingInlineStart:q.paddingXS,paddingInlineEnd:q.paddingXS}})},{[`
${Se}:not(${Se}-disabled),
${C}:not(${C}-disabled)
`]:{[`&:hover ${C}-inner`]:{borderColor:q.colorPrimary}},[`${Se}:not(${Se}-disabled)`]:{[`&:hover ${C}-checked:not(${C}-disabled) ${C}-inner`]:{backgroundColor:q.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${C}-checked:not(${C}-disabled):after`]:{borderColor:q.colorPrimaryHover}}},{[`${C}-checked`]:{[`${C}-inner`]:{backgroundColor:q.colorPrimary,borderColor:q.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${q.motionDurationMid} ${q.motionEaseOutBack} ${q.motionDurationFast}`}}},[`
${Se}-checked:not(${Se}-disabled),
${C}-checked:not(${C}-disabled)
`]:{[`&:hover ${C}-inner`]:{backgroundColor:q.colorPrimaryHover,borderColor:"transparent"}}},{[C]:{"&-indeterminate":{[`${C}-inner`]:{backgroundColor:q.colorBgContainer,borderColor:q.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:q.fontSizeLG/2,height:q.fontSizeLG/2,backgroundColor:q.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Se}-disabled`]:{cursor:"not-allowed"},[`${C}-disabled`]:{[`&, ${C}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${C}-inner`]:{background:q.colorBgContainerDisabled,borderColor:q.colorBorder,"&:after":{borderColor:q.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:q.colorTextDisabled},[`&${C}-indeterminate ${C}-inner::after`]:{background:q.colorTextDisabled}}}]};function $(q,C){const Se=(0,L.TS)(C,{checkboxCls:`.${q}`,checkboxSize:C.controlInteractiveSize});return[Ee(Se)]}tt.ZP=(0,ee.Z)("Checkbox",(q,C)=>{let{prefixCls:Se}=C;return[$(Se,q)]})},93891:function(tn,tt,f){"use strict";var y=f(59301),L=f(36355),ee=f(64165);const Ee=$=>{const{componentName:q}=$,{getPrefixCls:C}=(0,y.useContext)(L.E_),Se=C("empty");switch(q){case"Table":case"List":return y.createElement(ee.Z,{image:ee.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return y.createElement(ee.Z,{image:ee.Z.PRESENTED_IMAGE_SIMPLE,className:`${Se}-small`});default:return y.createElement(ee.Z,null)}};tt.Z=Ee},91857:function(tn,tt,f){"use strict";var y=f(59301),L=f(38819),ee=f(92310),Ee=f.n(ee),$=f(31561),q=f(70425),C=f(18929),Se=f(2738),a=f(79676),I=f(53487),z=f(92343),S=f(36355),u=f(20834),x=f(40875),m=f(88088),P=f(47211);const ce=null,U=b=>{const{menu:R,arrow:G,prefixCls:j,children:pe,trigger:me,disabled:fe,dropdownRender:ae,getPopupContainer:te,overlayClassName:M,rootClassName:he,open:Q,onOpenChange:de,visible:ie,onVisibleChange:v,mouseEnterDelay:_=.15,mouseLeaveDelay:V=.1,autoAdjustOverflow:J=!0,placement:Le="",overlay:Oe,transitionName:Ie}=b,{getPopupContainer:$e,getPrefixCls:lt,direction:ut}=y.useContext(S.E_),it=y.useMemo(()=>{const K=lt();return Ie!==void 0?Ie:Le.includes("top")?`${K}-slide-down`:`${K}-slide-up`},[lt,Le,Ie]),Pt=y.useMemo(()=>Le?Le.includes("Center")?Le.slice(0,Le.indexOf("Center")):Le:ut==="rtl"?"bottomRight":"bottomLeft",[Le,ut]),Jt=lt("dropdown",j),[rn,It]=(0,P.Z)(Jt),[,Zt]=(0,m.Z)(),ot=y.Children.only(pe),se=(0,z.Tm)(ot,{className:Ee()(`${Jt}-trigger`,{[`${Jt}-rtl`]:ut==="rtl"},ot.props.className),disabled:fe}),be=fe?[]:me;let H;be&&be.includes("contextMenu")&&(H=!0);const[O,xe]=(0,C.Z)(!1,{value:Q!=null?Q:ie}),k=(0,q.useEvent)(K=>{de==null||de(K),v==null||v(K),xe(K)}),E=Ee()(M,he,It,{[`${Jt}-rtl`]:ut==="rtl"}),T=(0,a.Z)({arrowPointAtCenter:typeof G=="object"&&G.pointAtCenter,autoAdjustOverflow:J,offset:Zt.marginXXS,arrowWidth:G?Zt.sizePopupArrow:0,borderRadius:Zt.borderRadius}),X=y.useCallback(()=>{xe(!1)},[]),Z=()=>{let K;return R!=null&&R.items?K=y.createElement(u.default,Object.assign({},R)):typeof Oe=="function"?K=Oe():K=Oe,ae&&(K=ae(K)),K=y.Children.only(typeof K=="string"?y.createElement("span",null,K):K),y.createElement(x.J,{prefixCls:`${Jt}-menu`,expandIcon:y.createElement("span",{className:`${Jt}-menu-submenu-arrow`},y.createElement(L.Z,{className:`${Jt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:X,validator:we=>{let{mode:Ke}=we}},K)};return rn(y.createElement($.Z,Object.assign({alignPoint:H},(0,Se.Z)(b,["rootClassName"]),{mouseEnterDelay:_,mouseLeaveDelay:V,visible:O,builtinPlacements:T,arrow:!!G,overlayClassName:E,prefixCls:Jt,getPopupContainer:te||$e,transitionName:it,trigger:be,overlay:Z,placement:Pt,onVisibleChange:k}),se))};function W(b){return Object.assign(Object.assign({},b),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,I.Z)(U,"dropdown",b=>b,W),Y=b=>y.createElement(ne,Object.assign({},b),y.createElement("span",null));U._InternalPanelDoNotUseOrYouWillBeFired=Y,tt.Z=U},38854:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return m}});var y=f(91857),L=f(92310),ee=f.n(L),Ee=f(59301),$=f(18785),q=f(3113),C=f(36355),Se=f(81327),a=f(33234),I=f(47211),z=function(P,ce){var U={};for(var W in P)Object.prototype.hasOwnProperty.call(P,W)&&ce.indexOf(W)<0&&(U[W]=P[W]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,W=Object.getOwnPropertySymbols(P);ne<W.length;ne++)ce.indexOf(W[ne])<0&&Object.prototype.propertyIsEnumerable.call(P,W[ne])&&(U[W[ne]]=P[W[ne]]);return U};const S=P=>{const{getPopupContainer:ce,getPrefixCls:U,direction:W}=Ee.useContext(C.E_),{prefixCls:ne,type:Y="default",danger:b,disabled:R,loading:G,onClick:j,htmlType:pe,children:me,className:fe,menu:ae,arrow:te,autoFocus:M,overlay:he,trigger:Q,align:de,open:ie,onOpenChange:v,placement:_,getPopupContainer:V,href:J,icon:Le=Ee.createElement($.Z,null),title:Oe,buttonsRender:Ie=Z=>Z,mouseEnterDelay:$e,mouseLeaveDelay:lt,overlayClassName:ut,overlayStyle:it,destroyPopupOnHide:Pt,dropdownRender:Jt}=P,rn=z(P,["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"]),It=U("dropdown",ne),Zt=`${It}-button`,[ot,se]=(0,I.Z)(It),be={menu:ae,arrow:te,autoFocus:M,align:de,disabled:R,trigger:R?[]:Q,onOpenChange:v,getPopupContainer:V||ce,mouseEnterDelay:$e,mouseLeaveDelay:lt,overlayClassName:ut,overlayStyle:it,destroyPopupOnHide:Pt,dropdownRender:Jt},{compactSize:H,compactItemClassnames:O}=(0,a.ri)(It,W),xe=ee()(Zt,O,fe,se);"overlay"in P&&(be.overlay=he),"open"in P&&(be.open=ie),"placement"in P?be.placement=_:be.placement=W==="rtl"?"bottomLeft":"bottomRight";const k=Ee.createElement(q.ZP,{type:Y,danger:b,disabled:R,loading:G,onClick:j,htmlType:pe,href:J,title:Oe},me),E=Ee.createElement(q.ZP,{type:Y,danger:b,icon:Le}),[T,X]=Ie([k,E]);return ot(Ee.createElement(Se.Z.Compact,Object.assign({className:xe,size:H,block:!0},rn),T,Ee.createElement(y.Z,Object.assign({},be),X)))};S.__ANT_BUTTON=!0;var u=S;const x=y.Z;x.Button=u;var m=x},47211:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return z}});var y=f(17313),L=f(13826),ee=f(92899),Ee=f(29878),$=f(19447),q=f(83116),C=f(37613),a=S=>{const{componentCls:u,menuCls:x,colorError:m,colorTextLightSolid:P}=S,ce=`${x}-item`;return{[`${u}, ${u}-menu-submenu`]:{[`${x} ${ce}`]:{[`&${ce}-danger:not(${ce}-disabled)`]:{color:m,"&:hover":{color:P,backgroundColor:m}}}}}};const I=S=>{const{componentCls:u,menuCls:x,zIndexPopup:m,dropdownArrowDistance:P,sizePopupArrow:ce,antCls:U,iconCls:W,motionDurationMid:ne,dropdownPaddingVertical:Y,fontSize:b,dropdownEdgeChildPadding:R,colorTextDisabled:G,fontSizeIcon:j,controlPaddingHorizontal:pe,colorBgElevated:me}=S;return[{[u]:Object.assign(Object.assign({},(0,y.Wf)(S)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:m,display:"block","&::before":{position:"absolute",insetBlock:-P+ce/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${U}-btn`]:{[`& > ${W}-down, & > ${U}-btn-icon > ${W}-down`]:{fontSize:j}},[`${u}-wrap`]:{position:"relative",[`${U}-btn > ${W}-down`]:{fontSize:j},[`${W}-down::before`]:{transition:`transform ${ne}`}},[`${u}-wrap-open`]:{[`${W}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${U}-slide-down-enter${U}-slide-down-enter-active${u}-placement-bottomLeft,
&${U}-slide-down-appear${U}-slide-down-appear-active${u}-placement-bottomLeft,
&${U}-slide-down-enter${U}-slide-down-enter-active${u}-placement-bottom,
&${U}-slide-down-appear${U}-slide-down-appear-active${u}-placement-bottom,
&${U}-slide-down-enter${U}-slide-down-enter-active${u}-placement-bottomRight,
&${U}-slide-down-appear${U}-slide-down-appear-active${u}-placement-bottomRight`]:{animationName:L.fJ},[`&${U}-slide-up-enter${U}-slide-up-enter-active${u}-placement-topLeft,
&${U}-slide-up-appear${U}-slide-up-appear-active${u}-placement-topLeft,
&${U}-slide-up-enter${U}-slide-up-enter-active${u}-placement-top,
&${U}-slide-up-appear${U}-slide-up-appear-active${u}-placement-top,
&${U}-slide-up-enter${U}-slide-up-enter-active${u}-placement-topRight,
&${U}-slide-up-appear${U}-slide-up-appear-active${u}-placement-topRight`]:{animationName:L.Qt},[`&${U}-slide-down-leave${U}-slide-down-leave-active${u}-placement-bottomLeft,
&${U}-slide-down-leave${U}-slide-down-leave-active${u}-placement-bottom,
&${U}-slide-down-leave${U}-slide-down-leave-active${u}-placement-bottomRight`]:{animationName:L.Uw},[`&${U}-slide-up-leave${U}-slide-up-leave-active${u}-placement-topLeft,
&${U}-slide-up-leave${U}-slide-up-leave-active${u}-placement-top,
&${U}-slide-up-leave${U}-slide-up-leave-active${u}-placement-topRight`]:{animationName:L.ly}})},(0,$.ZP)(S,{colorBg:me,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${u} ${x}`]:{position:"relative",margin:0},[`${x}-submenu-popup`]:{position:"absolute",zIndex:m,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${u}, ${u}-menu-submenu`]:{[x]:Object.assign(Object.assign({padding:R,listStyleType:"none",backgroundColor:me,backgroundClip:"padding-box",borderRadius:S.borderRadiusLG,outline:"none",boxShadow:S.boxShadowSecondary},(0,y.Qy)(S)),{[`${x}-item-group-title`]:{padding:`${Y}px ${pe}px`,color:S.colorTextDescription,transition:`all ${ne}`},[`${x}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${x}-item-icon`]:{minWidth:b,marginInlineEnd:S.marginXS,fontSize:S.fontSizeSM},[`${x}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${x}-item, ${x}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${Y}px ${pe}px`,color:S.colorText,fontWeight:"normal",fontSize:b,lineHeight:S.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:S.borderRadiusSM,"&:hover, &-active":{backgroundColor:S.controlItemBgHover}},(0,y.Qy)(S)),{"&-selected":{color:S.colorPrimary,backgroundColor:S.controlItemBgActive,"&:hover, &-active":{backgroundColor:S.controlItemBgActiveHover}},"&-disabled":{color:G,cursor:"not-allowed","&:hover":{color:G,backgroundColor:me,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${S.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:S.colorSplit},[`${u}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:S.paddingXS,[`${u}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:S.colorTextDescription,fontSize:j,fontStyle:"normal"}}}),[`${x}-item-group-list`]:{margin:`0 ${S.marginXS}px`,padding:0,listStyle:"none"},[`${x}-submenu-title`]:{paddingInlineEnd:pe+S.fontSizeSM},[`${x}-submenu-vertical`]:{position:"relative"},[`${x}-submenu${x}-submenu-disabled ${u}-menu-submenu-title`]:{[`&, ${u}-menu-submenu-arrow-icon`]:{color:G,backgroundColor:me,cursor:"not-allowed"}},[`${x}-submenu-selected ${u}-menu-submenu-title`]:{color:S.colorPrimary}})}},[(0,L.oN)(S,"slide-up"),(0,L.oN)(S,"slide-down"),(0,ee.Fm)(S,"move-up"),(0,ee.Fm)(S,"move-down"),(0,Ee._y)(S,"zoom-big")]]};var z=(0,q.Z)("Dropdown",(S,u)=>{let{rootPrefixCls:x}=u;const{marginXXS:m,sizePopupArrow:P,controlHeight:ce,fontSize:U,lineHeight:W,paddingXXS:ne,componentCls:Y,borderRadiusLG:b}=S,R=(ce-U*W)/2,{dropdownArrowOffset:G}=(0,$.fS)({contentRadius:b}),j=(0,C.TS)(S,{menuCls:`${Y}-menu`,rootPrefixCls:x,dropdownArrowDistance:P/2+m,dropdownArrowOffset:G,dropdownPaddingVertical:R,dropdownEdgeChildPadding:ne});return[I(j),a(j)]},S=>({zIndexPopup:S.zIndexPopupBase+50}))},64165:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return ne}});var y=f(92310),L=f.n(y),ee=f(59301),Ee=f(36355),$=f(9763),q=f(64993),C=f(88088),a=()=>{const[,Y]=(0,C.Z)(),R=new q.C(Y.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return ee.createElement("svg",{style:R,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},ee.createElement("g",{fill:"none",fillRule:"evenodd"},ee.createElement("g",{transform:"translate(24 31.67)"},ee.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),ee.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"}),ee.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)"}),ee.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"}),ee.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"})),ee.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"}),ee.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},ee.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),ee.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},z=()=>{const[,Y]=(0,C.Z)(),{colorFill:b,colorFillTertiary:R,colorFillQuaternary:G,colorBgContainer:j}=Y,{borderColor:pe,shadowColor:me,contentColor:fe}=(0,ee.useMemo)(()=>({borderColor:new q.C(b).onBackground(j).toHexShortString(),shadowColor:new q.C(R).onBackground(j).toHexShortString(),contentColor:new q.C(G).onBackground(j).toHexShortString()}),[b,R,G,j]);return ee.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},ee.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},ee.createElement("ellipse",{fill:me,cx:"32",cy:"33",rx:"32",ry:"7"}),ee.createElement("g",{fillRule:"nonzero",stroke:pe},ee.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"}),ee.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:fe}))))},S=f(83116),u=f(37613);const x=Y=>{const{componentCls:b,margin:R,marginXS:G,marginXL:j,fontSize:pe,lineHeight:me}=Y;return{[b]:{marginInline:G,fontSize:pe,lineHeight:me,textAlign:"center",[`${b}-image`]:{height:Y.emptyImgHeight,marginBottom:G,opacity:Y.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${b}-description`]:{color:Y.colorText},[`${b}-footer`]:{marginTop:R},"&-normal":{marginBlock:j,color:Y.colorTextDisabled,[`${b}-description`]:{color:Y.colorTextDisabled},[`${b}-image`]:{height:Y.emptyImgHeightMD}},"&-small":{marginBlock:G,color:Y.colorTextDisabled,[`${b}-image`]:{height:Y.emptyImgHeightSM}}}}};var m=(0,S.Z)("Empty",Y=>{const{componentCls:b,controlHeightLG:R}=Y,G=(0,u.TS)(Y,{emptyImgCls:`${b}-img`,emptyImgHeight:R*2.5,emptyImgHeightMD:R,emptyImgHeightSM:R*.875});return[x(G)]}),P=function(Y,b){var R={};for(var G in Y)Object.prototype.hasOwnProperty.call(Y,G)&&b.indexOf(G)<0&&(R[G]=Y[G]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,G=Object.getOwnPropertySymbols(Y);j<G.length;j++)b.indexOf(G[j])<0&&Object.prototype.propertyIsEnumerable.call(Y,G[j])&&(R[G[j]]=Y[G[j]]);return R};const ce=ee.createElement(a,null),U=ee.createElement(z,null),W=Y=>{var{className:b,rootClassName:R,prefixCls:G,image:j=ce,description:pe,children:me,imageStyle:fe,style:ae}=Y,te=P(Y,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:M,direction:he,empty:Q}=ee.useContext(Ee.E_),de=M("empty",G),[ie,v]=m(de),[_]=(0,$.Z)("Empty"),V=typeof pe!="undefined"?pe:_==null?void 0:_.description,J=typeof V=="string"?V:"empty";let Le=null;return typeof j=="string"?Le=ee.createElement("img",{alt:J,src:j}):Le=j,ie(ee.createElement("div",Object.assign({className:L()(v,de,Q==null?void 0:Q.className,{[`${de}-normal`]:j===U,[`${de}-rtl`]:he==="rtl"},b,R),style:Object.assign(Object.assign({},Q==null?void 0:Q.style),ae)},te),ee.createElement("div",{className:`${de}-image`,style:fe},Le),V&&ee.createElement("div",{className:`${de}-description`},V),me&&ee.createElement("div",{className:`${de}-footer`},me)))};W.PRESENTED_IMAGE_DEFAULT=ce,W.PRESENTED_IMAGE_SIMPLE=U;var ne=W},78241:function(tn,tt,f){"use strict";f.d(tt,{default:function(){return Ft}});var y=f(26407),L=f(92310),ee=f.n(L),Ee=f(77900),$=f(59301),q=f(62892),C=f(32441);function Se(Ze){const[Et,xt]=$.useState(Ze);return $.useEffect(()=>{const Ne=setTimeout(()=>{xt(Ze)},Ze.length?0:10);return()=>{clearTimeout(Ne)}},[Ze]),Et}var a=f(17313),I=f(29878),z=f(8378),S=f(37613),u=f(83116),m=Ze=>{const{componentCls:Et}=Ze,xt=`${Et}-show-help`,Ne=`${Et}-show-help-item`;return{[xt]:{transition:`opacity ${Ze.motionDurationSlow} ${Ze.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ne]:{overflow:"hidden",transition:`height ${Ze.motionDurationSlow} ${Ze.motionEaseInOut},
opacity ${Ze.motionDurationSlow} ${Ze.motionEaseInOut},
transform ${Ze.motionDurationSlow} ${Ze.motionEaseInOut} !important`,[`&${Ne}-appear, &${Ne}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Ne}-leave-active`]:{transform:"translateY(-5px)"}}}}};const P=Ze=>({legend:{display:"block",width:"100%",marginBottom:Ze.marginLG,padding:0,color:Ze.colorTextDescription,fontSize:Ze.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.colorBorder}`},label:{fontSize:Ze.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${Ze.controlOutlineWidth}px ${Ze.controlOutline}`},output:{display:"block",paddingTop:15,color:Ze.colorText,fontSize:Ze.fontSize,lineHeight:Ze.lineHeight}}),ce=(Ze,Et)=>{const{formItemCls:xt}=Ze;return{[xt]:{[`${xt}-label > label`]:{height:Et},[`${xt}-control-input`]:{minHeight:Et}}}},U=Ze=>{const{componentCls:Et}=Ze;return{[Ze.componentCls]:Object.assign(Object.assign(Object.assign({},(0,a.Wf)(Ze)),P(Ze)),{[`${Et}-text`]:{display:"inline-block",paddingInlineEnd:Ze.paddingSM},"&-small":Object.assign({},ce(Ze,Ze.controlHeightSM)),"&-large":Object.assign({},ce(Ze,Ze.controlHeightLG))})}},W=Ze=>{const{formItemCls:Et,iconCls:xt,componentCls:Ne,rootPrefixCls:Ce,labelRequiredMarkColor:mt,labelColor:pt,labelFontSize:Dt,labelHeight:Ht,labelColonMarginInlineStart:nn,labelColonMarginInlineEnd:Kt,itemMarginBottom:sn}=Ze;return{[Et]:Object.assign(Object.assign({},(0,a.Wf)(Ze)),{marginBottom:sn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden.${Ce}-row`]:{display:"none"},"&-has-warning":{[`${Et}-split`]:{color:Ze.colorError}},"&-has-error":{[`${Et}-split`]:{color:Ze.colorWarning}},[`${Et}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Ze.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Ht,color:pt,fontSize:Dt,[`> ${xt}`]:{fontSize:Ze.fontSize,verticalAlign:"top"},[`&${Et}-required:not(${Et}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Ze.marginXXS,color:mt,fontSize:Ze.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Ne}-hide-required-mark &`]:{display:"none"}},[`${Et}-optional`]:{display:"inline-block",marginInlineStart:Ze.marginXXS,color:Ze.colorTextDescription,[`${Ne}-hide-required-mark &`]:{display:"none"}},[`${Et}-tooltip`]:{color:Ze.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Ze.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:nn,marginInlineEnd:Kt},[`&${Et}-no-colon::after`]:{content:'"\\a0"'}}},[`${Et}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Ce}-col-'"]):not([class*="' ${Ce}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Ze.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Et]:{"&-explain, &-extra":{clear:"both",color:Ze.colorTextDescription,fontSize:Ze.fontSize,lineHeight:Ze.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Ze.controlHeightSM,transition:`color ${Ze.motionDurationMid} ${Ze.motionEaseOut}`},"&-explain":{"&-error":{color:Ze.colorError},"&-warning":{color:Ze.colorWarning}}},[`&-with-help ${Et}-explain`]:{height:"auto",opacity:1},[`${Et}-feedback-icon`]:{fontSize:Ze.fontSize,textAlign:"center",visibility:"visible",animationName:I.kr,animationDuration:Ze.motionDurationMid,animationTimingFunction:Ze.motionEaseOutBack,pointerEvents:"none","&-success":{color:Ze.colorSuccess},"&-error":{color:Ze.colorError},"&-warning":{color:Ze.colorWarning},"&-validating":{color:Ze.colorPrimary}}})}},ne=Ze=>{const{componentCls:Et,formItemCls:xt}=Ze;return{[`${Et}-horizontal`]:{[`${xt}-label`]:{flexGrow:0},[`${xt}-control`]:{flex:"1 1 0",minWidth:0},[`${xt}-label[class$='-24'], ${xt}-label[class*='-24 ']`]:{[`& + ${xt}-control`]:{minWidth:"unset"}}}}},Y=Ze=>{const{componentCls:Et,formItemCls:xt}=Ze;return{[`${Et}-inline`]:{display:"flex",flexWrap:"wrap",[xt]:{flex:"none",marginInlineEnd:Ze.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${xt}-label,
> ${xt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${xt}-label`]:{flex:"none"},[`${Et}-text`]:{display:"inline-block"},[`${xt}-has-feedback`]:{display:"inline-block"}}}}},b=Ze=>({padding:Ze.verticalLabelPadding,margin:Ze.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),R=Ze=>{const{componentCls:Et,formItemCls:xt,rootPrefixCls:Ne}=Ze;return{[`${xt} ${xt}-label`]:b(Ze),[Et]:{[xt]:{flexWrap:"wrap",[`${xt}-label, ${xt}-control`]:{[`&:not([class*=" ${Ne}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},G=Ze=>{const{componentCls:Et,formItemCls:xt,rootPrefixCls:Ne}=Ze;return{[`${Et}-vertical`]:{[xt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Et}-item-control`]:{width:"100%"}}},[`${Et}-vertical ${xt}-label,
.${Ne}-col-24${xt}-label,
.${Ne}-col-xl-24${xt}-label`]:b(Ze),[`@media (max-width: ${Ze.screenXSMax}px)`]:[R(Ze),{[Et]:{[`.${Ne}-col-xs-24${xt}-label`]:b(Ze)}}],[`@media (max-width: ${Ze.screenSMMax}px)`]:{[Et]:{[`.${Ne}-col-sm-24${xt}-label`]:b(Ze)}},[`@media (max-width: ${Ze.screenMDMax}px)`]:{[Et]:{[`.${Ne}-col-md-24${xt}-label`]:b(Ze)}},[`@media (max-width: ${Ze.screenLGMax}px)`]:{[Et]:{[`.${Ne}-col-lg-24${xt}-label`]:b(Ze)}}}},j=(Ze,Et)=>(0,S.TS)(Ze,{formItemCls:`${Ze.componentCls}-item`,rootPrefixCls:Et});var pe=(0,u.Z)("Form",(Ze,Et)=>{let{rootPrefixCls:xt}=Et;const Ne=j(Ze,xt);return[U(Ne),W(Ne),m(Ne),ne(Ne),Y(Ne),G(Ne),(0,z.Z)(Ne),I.kr]},Ze=>({labelRequiredMarkColor:Ze.colorError,labelColor:Ze.colorTextHeading,labelFontSize:Ze.fontSize,labelHeight:Ze.controlHeight,labelColonMarginInlineStart:Ze.marginXXS/2,labelColonMarginInlineEnd:Ze.marginXS,itemMarginBottom:Ze.marginLG,verticalLabelPadding:`0 0 ${Ze.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const me=[];function fe(Ze,Et,xt){let Ne=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Ze=="string"?Ze:`${Et}-${Ne}`,error:Ze,errorStatus:xt}}var te=Ze=>{let{help:Et,helpStatus:xt,errors:Ne=me,warnings:Ce=me,className:mt,fieldId:pt,onVisibleChanged:Dt}=Ze;const{prefixCls:Ht}=$.useContext(C.Rk),nn=`${Ht}-item-explain`,[,Kt]=pe(Ht),sn=(0,$.useMemo)(()=>(0,q.Z)(Ht),[Ht]),un=Se(Ne),Ut=Se(Ce),kt=$.useMemo(()=>Et!=null?[fe(Et,"help",xt)]:[].concat((0,y.Z)(un.map((dn,hn)=>fe(dn,"error","error",hn))),(0,y.Z)(Ut.map((dn,hn)=>fe(dn,"warning","warning",hn)))),[Et,xt,un,Ut]),ln={};return pt&&(ln.id=`${pt}_help`),$.createElement(Ee.default,{motionDeadline:sn.motionDeadline,motionName:`${Ht}-show-help`,visible:!!kt.length,onVisibleChanged:Dt},dn=>{const{className:hn,style:wn}=dn;return $.createElement("div",Object.assign({},ln,{className:ee()(nn,hn,mt,Kt),style:wn,role:"alert"}),$.createElement(Ee.CSSMotionList,Object.assign({keys:kt},(0,q.Z)(Ht),{motionName:`${Ht}-show-help-item`,component:!1}),Xn=>{const{key:Nn,error:en,errorStatus:dt,className:yt,style:Lt}=Xn;return $.createElement("div",{key:Nn,className:ee()(yt,{[`${nn}-${dt}`]:dt}),style:Lt},en)}))})},M=f(95013),he=f(36355),Q=f(1684),de=f(52946),ie=f(19716),v=f(16722);const _=["parentNode"],V="form_item";function J(Ze){return Ze===void 0||Ze===!1?[]:Array.isArray(Ze)?Ze:[Ze]}function Le(Ze,Et){if(!Ze.length)return;const xt=Ze.join("_");return Et?`${Et}_${xt}`:_.includes(xt)?`${V}_${xt}`:xt}function Oe(Ze,Et,xt,Ne,Ce,mt){let pt=Ne;return mt!==void 0?pt=mt:xt.validating?pt="validating":Ze.length?pt="error":Et.length?pt="warning":(xt.touched||Ce&&xt.validated)&&(pt="success"),pt}function Ie(Ze){return J(Ze).join("_")}function $e(Ze){const[Et]=(0,M.useForm)(),xt=$.useRef({}),Ne=$.useMemo(()=>Ze!=null?Ze:Object.assign(Object.assign({},Et),{__INTERNAL__:{itemRef:Ce=>mt=>{const pt=Ie(Ce);mt?xt.current[pt]=mt:delete xt.current[pt]}},scrollToField:function(Ce){let mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const pt=J(Ce),Dt=Le(pt,Ne.__INTERNAL__.name),Ht=Dt?document.getElementById(Dt):null;Ht&&(0,v.Z)(Ht,Object.assign({scrollMode:"if-needed",block:"nearest"},mt))},getFieldInstance:Ce=>{const mt=Ie(Ce);return xt.current[mt]}}),[Ze,Et]);return[Ne]}var lt=f(28726),ut=function(Ze,Et){var xt={};for(var Ne in Ze)Object.prototype.hasOwnProperty.call(Ze,Ne)&&Et.indexOf(Ne)<0&&(xt[Ne]=Ze[Ne]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ne=Object.getOwnPropertySymbols(Ze);Ce<Ne.length;Ce++)Et.indexOf(Ne[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ze,Ne[Ce])&&(xt[Ne[Ce]]=Ze[Ne[Ce]]);return xt};const it=(Ze,Et)=>{const xt=$.useContext(Q.Z),{getPrefixCls:Ne,direction:Ce,form:mt}=$.useContext(he.E_),{prefixCls:pt,className:Dt,rootClassName:Ht,size:nn,disabled:Kt=xt,form:sn,colon:un,labelAlign:Ut,labelWrap:kt,labelCol:ln,wrapperCol:dn,hideRequiredMark:hn,layout:wn="horizontal",scrollToFirstError:Xn,requiredMark:Nn,onFinishFailed:en,name:dt,style:yt,feedbackIcons:Lt}=Ze,Bt=ut(Ze,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Ot=(0,ie.Z)(nn),Yt=$.useContext(lt.Z),Gt=(0,$.useMemo)(()=>Nn!==void 0?Nn:mt&&mt.requiredMark!==void 0?mt.requiredMark:!hn,[hn,Nn,mt]),gn=un!=null?un:mt==null?void 0:mt.colon,En=Ne("form",pt),[In,qn]=pe(En),er=ee()(En,`${En}-${wn}`,{[`${En}-hide-required-mark`]:Gt===!1,[`${En}-rtl`]:Ce==="rtl",[`${En}-${Ot}`]:Ot},qn,mt==null?void 0:mt.className,Dt,Ht),[pr]=$e(sn),{__INTERNAL__:Cn}=pr;Cn.name=dt;const An=(0,$.useMemo)(()=>({name:dt,labelAlign:Ut,labelCol:ln,labelWrap:kt,wrapperCol:dn,vertical:wn==="vertical",colon:gn,requiredMark:Gt,itemRef:Cn.itemRef,form:pr,feedbackIcons:Lt}),[dt,Ut,ln,dn,wn,gn,Gt,pr,Lt]);$.useImperativeHandle(Et,()=>pr);const mr=(Dr,tr)=>{if(Dr){let dr={block:"nearest"};typeof Dr=="object"&&(dr=Dr),pr.scrollToField(tr,dr)}},Vn=Dr=>{if(en==null||en(Dr),Dr.errorFields.length){const tr=Dr.errorFields[0].name;if(Xn!==void 0){mr(Xn,tr);return}mt&&mt.scrollToFirstError!==void 0&&mr(mt.scrollToFirstError,tr)}};return In($.createElement(Q.n,{disabled:Kt},$.createElement(de.q,{size:Ot},$.createElement(C.RV,Object.assign({},{validateMessages:Yt}),$.createElement(C.q3.Provider,{value:An},$.createElement(M.default,Object.assign({id:dt},Bt,{name:dt,onFinishFailed:Vn,form:pr,style:Object.assign(Object.assign({},mt==null?void 0:mt.style),yt),className:er})))))))};var Jt=$.forwardRef(it),rn=f(41799),It=f(8654),Zt=f(92343),ot=f(11592);function se(Ze){if(typeof Ze=="function")return Ze;const Et=(0,ot.Z)(Ze);return Et.length<=1?Et[0]:Et}const be=()=>{const{status:Ze,errors:Et=[],warnings:xt=[]}=(0,$.useContext)(C.aM);return{status:Ze,errors:Et,warnings:xt}};be.Context=C.aM;var H=be,O=f(16089);function xe(Ze){const[Et,xt]=$.useState(Ze),Ne=(0,$.useRef)(null),Ce=(0,$.useRef)([]),mt=(0,$.useRef)(!1);$.useEffect(()=>(mt.current=!1,()=>{mt.current=!0,O.Z.cancel(Ne.current),Ne.current=null}),[]);function pt(Dt){mt.current||(Ne.current===null&&(Ce.current=[],Ne.current=(0,O.Z)(()=>{Ne.current=null,xt(Ht=>{let nn=Ht;return Ce.current.forEach(Kt=>{nn=Kt(nn)}),nn})})),Ce.current.push(Dt))}return[Et,pt]}function k(){const{itemRef:Ze}=$.useContext(C.q3),Et=$.useRef({});function xt(Ne,Ce){const mt=Ce&&typeof Ce=="object"&&Ce.ref,pt=Ne.join("_");return(Et.current.name!==pt||Et.current.originRef!==mt)&&(Et.current.name=pt,Et.current.originRef=mt,Et.current.ref=(0,It.sQ)(Ze(Ne),mt)),Et.current.ref}return xt}var E=f(29194),T=f(34280),X=f(2738),Z=f(27382),K=f(37028);const we=Ze=>{const{formItemCls:Et}=Ze;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Et}-control`]:{display:"flex"}}}};var Ke=(0,u.b)(["Form","item-item"],(Ze,Et)=>{let{rootPrefixCls:xt}=Et;const Ne=j(Ze,xt);return[we(Ne)]}),Te=Ze=>{const{prefixCls:Et,status:xt,wrapperCol:Ne,children:Ce,errors:mt,warnings:pt,_internalItemRender:Dt,extra:Ht,help:nn,fieldId:Kt,marginBottom:sn,onErrorVisibleChanged:un}=Ze,Ut=`${Et}-item`,kt=$.useContext(C.q3),ln=Ne||kt.wrapperCol||{},dn=ee()(`${Ut}-control`,ln.className),hn=$.useMemo(()=>Object.assign({},kt),[kt]);delete hn.labelCol,delete hn.wrapperCol;const wn=$.createElement("div",{className:`${Ut}-control-input`},$.createElement("div",{className:`${Ut}-control-input-content`},Ce)),Xn=$.useMemo(()=>({prefixCls:Et,status:xt}),[Et,xt]),Nn=sn!==null||mt.length||pt.length?$.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},$.createElement(C.Rk.Provider,{value:Xn},$.createElement(te,{fieldId:Kt,errors:mt,warnings:pt,help:nn,helpStatus:xt,className:`${Ut}-explain-connected`,onVisibleChanged:un})),!!sn&&$.createElement("div",{style:{width:0,height:sn}})):null,en={};Kt&&(en.id=`${Kt}_extra`);const dt=Ht?$.createElement("div",Object.assign({},en,{className:`${Ut}-extra`}),Ht):null,yt=Dt&&Dt.mark==="pro_table_render"&&Dt.render?Dt.render(Ze,{input:wn,errorList:Nn,extra:dt}):$.createElement($.Fragment,null,wn,Nn,dt);return $.createElement(C.q3.Provider,{value:hn},$.createElement(K.Z,Object.assign({},ln,{className:dn}),yt),$.createElement(Ke,{prefixCls:Et}))},Ye=f(61485),et=f(31724),je=f(9763),vt=f(6848),bt=function(Ze,Et){var xt={};for(var Ne in Ze)Object.prototype.hasOwnProperty.call(Ze,Ne)&&Et.indexOf(Ne)<0&&(xt[Ne]=Ze[Ne]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ne=Object.getOwnPropertySymbols(Ze);Ce<Ne.length;Ce++)Et.indexOf(Ne[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ze,Ne[Ce])&&(xt[Ne[Ce]]=Ze[Ne[Ce]]);return xt};function ht(Ze){return Ze?typeof Ze=="object"&&!$.isValidElement(Ze)?Ze:{title:Ze}:null}var _t=Ze=>{let{prefixCls:Et,label:xt,htmlFor:Ne,labelCol:Ce,labelAlign:mt,colon:pt,required:Dt,requiredMark:Ht,tooltip:nn}=Ze;var Kt;const[sn]=(0,je.Z)("Form"),{vertical:un,labelAlign:Ut,labelCol:kt,labelWrap:ln,colon:dn}=$.useContext(C.q3);if(!xt)return null;const hn=Ce||kt||{},wn=mt||Ut,Xn=`${Et}-item-label`,Nn=ee()(Xn,wn==="left"&&`${Xn}-left`,hn.className,{[`${Xn}-wrap`]:!!ln});let en=xt;const dt=pt===!0||dn!==!1&&pt!==!1;dt&&!un&&typeof xt=="string"&&xt.trim()!==""&&(en=xt.replace(/[:|]\s*$/,""));const Lt=ht(nn);if(Lt){const{icon:Gt=$.createElement(Ye.Z,null)}=Lt,gn=bt(Lt,["icon"]),En=$.createElement(vt.Z,Object.assign({},gn),$.cloneElement(Gt,{className:`${Et}-item-tooltip`,title:""}));en=$.createElement($.Fragment,null,en,En)}const Bt=Ht==="optional",Ot=typeof Ht=="function";Ot?en=Ht(en,{required:!!Dt}):Bt&&!Dt&&(en=$.createElement($.Fragment,null,en,$.createElement("span",{className:`${Et}-item-optional`,title:""},(sn==null?void 0:sn.optional)||((Kt=et.Z.Form)===null||Kt===void 0?void 0:Kt.optional))));const Yt=ee()({[`${Et}-item-required`]:Dt,[`${Et}-item-required-mark-optional`]:Bt||Ot,[`${Et}-item-no-colon`]:!dt});return $.createElement(K.Z,Object.assign({},hn,{className:Nn}),$.createElement("label",{htmlFor:Ne,className:Yt,title:typeof xt=="string"?xt:""},en))},w=f(29679),D=f(19248),St=f(96512),ue=f(58617);const Be={success:w.Z,warning:St.Z,error:D.Z,validating:ue.Z};function pn(Ze){let{children:Et,errors:xt,warnings:Ne,hasFeedback:Ce,validateStatus:mt,prefixCls:pt,meta:Dt,noStyle:Ht}=Ze;const nn=`${pt}-item`,{feedbackIcons:Kt}=$.useContext(C.q3),sn=Oe(xt,Ne,Dt,null,!!Ce,mt),{isFormItemInput:un,status:Ut}=$.useContext(C.aM),kt=$.useMemo(()=>{var ln;let dn;if(Ce){const Xn=Ce!==!0&&Ce.icons||Kt,Nn=sn&&((ln=Xn==null?void 0:Xn({status:sn,errors:xt,warnings:Ne}))===null||ln===void 0?void 0:ln[sn]),en=sn&&Be[sn];dn=Nn!==!1&&en?$.createElement("span",{className:ee()(`${nn}-feedback-icon`,`${nn}-feedback-icon-${sn}`)},Nn||$.createElement(en,null)):null}let hn=!0,wn=sn||"";return Ht&&(hn=un,wn=(sn!=null?sn:Ut)||""),{status:wn,errors:xt,warnings:Ne,hasFeedback:!!Ce,feedbackIcon:dn,isFormItemInput:hn}},[sn,Ce,Ht,un,Ut]);return $.createElement(C.aM.Provider,{value:kt},Et)}var Ve=function(Ze,Et){var xt={};for(var Ne in Ze)Object.prototype.hasOwnProperty.call(Ze,Ne)&&Et.indexOf(Ne)<0&&(xt[Ne]=Ze[Ne]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ne=Object.getOwnPropertySymbols(Ze);Ce<Ne.length;Ce++)Et.indexOf(Ne[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ze,Ne[Ce])&&(xt[Ne[Ce]]=Ze[Ne[Ce]]);return xt};function nt(Ze){const{prefixCls:Et,className:xt,rootClassName:Ne,style:Ce,help:mt,errors:pt,warnings:Dt,validateStatus:Ht,meta:nn,hasFeedback:Kt,hidden:sn,children:un,fieldId:Ut,required:kt,isRequired:ln,onSubItemMetaChange:dn}=Ze,hn=Ve(Ze,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),wn=`${Et}-item`,{requiredMark:Xn}=$.useContext(C.q3),Nn=$.useRef(null),en=Se(pt),dt=Se(Dt),yt=mt!=null,Lt=!!(yt||pt.length||Dt.length),Bt=!!Nn.current&&(0,E.Z)(Nn.current),[Ot,Yt]=$.useState(null);(0,T.Z)(()=>{if(Lt&&Nn.current){const qn=getComputedStyle(Nn.current);Yt(parseInt(qn.marginBottom,10))}},[Lt,Bt]);const Gt=qn=>{qn||Yt(null)},En=function(){let qn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const er=qn?en:nn.errors,pr=qn?dt:nn.warnings;return Oe(er,pr,nn,"",!!Kt,Ht)}(),In=ee()(wn,xt,Ne,{[`${wn}-with-help`]:yt||en.length||dt.length,[`${wn}-has-feedback`]:En&&Kt,[`${wn}-has-success`]:En==="success",[`${wn}-has-warning`]:En==="warning",[`${wn}-has-error`]:En==="error",[`${wn}-is-validating`]:En==="validating",[`${wn}-hidden`]:sn});return $.createElement("div",{className:In,style:Ce,ref:Nn},$.createElement(Z.Z,Object.assign({className:`${wn}-row`},(0,X.Z)(hn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),$.createElement(_t,Object.assign({htmlFor:Ut},Ze,{requiredMark:Xn,required:kt!=null?kt:ln,prefixCls:Et})),$.createElement(Te,Object.assign({},Ze,nn,{errors:en,warnings:dt,prefixCls:Et,status:En,help:mt,marginBottom:Ot,onErrorVisibleChanged:Gt}),$.createElement(C.qI.Provider,{value:dn},$.createElement(pn,{prefixCls:Et,meta:nn,errors:nn.errors,warnings:nn.warnings,hasFeedback:Kt,validateStatus:En},un)))),!!Ot&&$.createElement("div",{className:`${wn}-margin-offset`,style:{marginBottom:-Ot}}))}const Je="__SPLIT__",Ae=null,De=$.memo(Ze=>{let{children:Et}=Ze;return Et},(Ze,Et)=>Ze.value===Et.value&&Ze.update===Et.update&&Ze.childProps.length===Et.childProps.length&&Ze.childProps.every((xt,Ne)=>xt===Et.childProps[Ne]));function ze(Ze){return Ze!=null}function qe(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function ve(Ze){const{name:Et,noStyle:xt,className:Ne,dependencies:Ce,prefixCls:mt,shouldUpdate:pt,rules:Dt,children:Ht,required:nn,label:Kt,messageVariables:sn,trigger:un="onChange",validateTrigger:Ut,hidden:kt,help:ln}=Ze,{getPrefixCls:dn}=$.useContext(he.E_),{name:hn}=$.useContext(C.q3),wn=se(Ht),Xn=typeof wn=="function",Nn=$.useContext(C.qI),{validateTrigger:en}=$.useContext(M.FieldContext),dt=Ut!==void 0?Ut:en,yt=ze(Et),Lt=dn("form",mt),[Bt,Ot]=pe(Lt),Yt=$.useContext(M.ListContext),Gt=$.useRef(),[gn,En]=xe({}),[In,qn]=(0,rn.Z)(()=>qe()),er=tr=>{const dr=Yt==null?void 0:Yt.getKey(tr.name);if(qn(tr.destroy?qe():tr,!0),xt&&ln!==!1&&Nn){let vr=tr.name;if(tr.destroy)vr=Gt.current||vr;else if(dr!==void 0){const[nr,Ir]=dr;vr=[nr].concat((0,y.Z)(Ir)),Gt.current=vr}Nn(tr,vr)}},pr=(tr,dr)=>{En(vr=>{const nr=Object.assign({},vr),$r=[].concat((0,y.Z)(tr.name.slice(0,-1)),(0,y.Z)(dr)).join(Je);return tr.destroy?delete nr[$r]:nr[$r]=tr,nr})},[Cn,An]=$.useMemo(()=>{const tr=(0,y.Z)(In.errors),dr=(0,y.Z)(In.warnings);return Object.values(gn).forEach(vr=>{tr.push.apply(tr,(0,y.Z)(vr.errors||[])),dr.push.apply(dr,(0,y.Z)(vr.warnings||[]))}),[tr,dr]},[gn,In.errors,In.warnings]),mr=k();function Vn(tr,dr,vr){return xt&&!kt?$.createElement(pn,{prefixCls:Lt,hasFeedback:Ze.hasFeedback,validateStatus:Ze.validateStatus,meta:In,errors:Cn,warnings:An,noStyle:!0},tr):$.createElement(nt,Object.assign({key:"row"},Ze,{className:ee()(Ne,Ot),prefixCls:Lt,fieldId:dr,isRequired:vr,errors:Cn,warnings:An,meta:In,onSubItemMetaChange:pr}),tr)}if(!yt&&!Xn&&!Ce)return Bt(Vn(wn));let Dr={};return typeof Kt=="string"?Dr.label=Kt:Et&&(Dr.label=String(Et)),sn&&(Dr=Object.assign(Object.assign({},Dr),sn)),Bt($.createElement(M.Field,Object.assign({},Ze,{messageVariables:Dr,trigger:un,validateTrigger:dt,onMetaChange:er}),(tr,dr,vr)=>{const nr=J(Et).length&&dr?dr.name:[],Ir=Le(nr,hn),$r=nn!==void 0?nn:!!(Dt&&Dt.some(at=>{if(at&&typeof at=="object"&&at.required&&!at.warningOnly)return!0;if(typeof at=="function"){const zn=at(vr);return zn&&zn.required&&!zn.warningOnly}return!1})),Jn=Object.assign({},tr);let Fn=null;if(Array.isArray(wn)&&yt)Fn=wn;else if(!(Xn&&(!(pt||Ce)||yt))){if(!(Ce&&!Xn&&!yt))if((0,Zt.l$)(wn)){const at=Object.assign(Object.assign({},wn.props),Jn);if(at.id||(at.id=Ir),ln||Cn.length>0||An.length>0||Ze.extra){const wr=[];(ln||Cn.length>0)&&wr.push(`${Ir}_help`),Ze.extra&&wr.push(`${Ir}_extra`),at["aria-describedby"]=wr.join(" ")}Cn.length>0&&(at["aria-invalid"]="true"),$r&&(at["aria-required"]="true"),(0,It.Yr)(wn)&&(at.ref=mr(nr,wn)),new Set([].concat((0,y.Z)(J(un)),(0,y.Z)(J(dt)))).forEach(wr=>{at[wr]=function(){for(var Cr,Nr,jr,Sr,Mr,Gr=arguments.length,On=new Array(Gr),Kn=0;Kn<Gr;Kn++)On[Kn]=arguments[Kn];(jr=Jn[wr])===null||jr===void 0||(Cr=jr).call.apply(Cr,[Jn].concat(On)),(Mr=(Sr=wn.props)[wr])===null||Mr===void 0||(Nr=Mr).call.apply(Nr,[Sr].concat(On))}});const sr=[at["aria-required"],at["aria-invalid"],at["aria-describedby"]];Fn=$.createElement(De,{value:Jn[Ze.valuePropName||"value"],update:wn,childProps:sr},(0,Zt.Tm)(wn,at))}else Xn&&(pt||Ce)&&!yt?Fn=wn(vr):Fn=wn}return Vn(Fn,Ir,$r)}))}const an=ve;an.useStatus=H;var Ge=an,mn=function(Ze,Et){var xt={};for(var Ne in Ze)Object.prototype.hasOwnProperty.call(Ze,Ne)&&Et.indexOf(Ne)<0&&(xt[Ne]=Ze[Ne]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ne=Object.getOwnPropertySymbols(Ze);Ce<Ne.length;Ce++)Et.indexOf(Ne[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ze,Ne[Ce])&&(xt[Ne[Ce]]=Ze[Ne[Ce]]);return xt},jt=Ze=>{var{prefixCls:Et,children:xt}=Ze,Ne=mn(Ze,["prefixCls","children"]);const{getPrefixCls:Ce}=$.useContext(he.E_),mt=Ce("form",Et),pt=$.useMemo(()=>({prefixCls:mt,status:"error"}),[mt]);return $.createElement(M.List,Object.assign({},Ne),(Dt,Ht,nn)=>$.createElement(C.Rk.Provider,{value:pt},xt(Dt.map(Kt=>Object.assign(Object.assign({},Kt),{fieldKey:Kt.key})),Ht,{errors:nn.errors,warnings:nn.warnings})))};function Xt(){const{form:Ze}=(0,$.useContext)(C.q3);return Ze}const Rt=Jt;Rt.Item=Ge,Rt.List=jt,Rt.ErrorList=te,Rt.useForm=$e,Rt.useFormInstance=Xt,Rt.useWatch=M.useWatch,Rt.Provider=C.RV,Rt.create=()=>{};var Ft=Rt},8628:function(tn,tt,f){"use strict";var y=f(59301),L=f(34280),ee=f(56762),Ee=f(69507);function $(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const C=(0,y.useRef)({}),Se=(0,ee.Z)(),a=(0,Ee.ZP)();return(0,L.Z)(()=>{const I=a.subscribe(z=>{C.current=z,q&&Se()});return()=>a.unsubscribe(I)},[]),C.current}tt.Z=$},9432:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return W},n:function(){return ce}});var y=f(19248),L=f(92310),ee=f.n(L),Ee=f(93681),$=f(8654),q=f(59301),C=f(19080),Se=f(36355),a=f(1684),I=f(19716),z=f(32441),S=f(33234),u=f(59412),x=f(9937);function m(ne){return!!(ne.prefix||ne.suffix||ne.allowClear)}var P=function(ne,Y){var b={};for(var R in ne)Object.prototype.hasOwnProperty.call(ne,R)&&Y.indexOf(R)<0&&(b[R]=ne[R]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,R=Object.getOwnPropertySymbols(ne);G<R.length;G++)Y.indexOf(R[G])<0&&Object.prototype.propertyIsEnumerable.call(ne,R[G])&&(b[R[G]]=ne[R[G]]);return b};function ce(ne,Y){if(!ne)return;ne.focus(Y);const{cursor:b}=Y||{};if(b){const R=ne.value.length;switch(b){case"start":ne.setSelectionRange(0,0);break;case"end":ne.setSelectionRange(R,R);break;default:ne.setSelectionRange(0,R);break}}}var W=(0,q.forwardRef)((ne,Y)=>{var b;const{prefixCls:R,bordered:G=!0,status:j,size:pe,disabled:me,onBlur:fe,onFocus:ae,suffix:te,allowClear:M,addonAfter:he,addonBefore:Q,className:de,style:ie,styles:v,rootClassName:_,onChange:V,classNames:J}=ne,Le=P(ne,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Oe,direction:Ie,input:$e}=q.useContext(Se.E_),lt=Oe("input",R),ut=(0,q.useRef)(null),[it,Pt]=(0,x.ZP)(lt),{compactSize:Jt,compactItemClassnames:rn}=(0,S.ri)(lt,Ie),It=(0,I.Z)(Ke=>{var ke;return(ke=pe!=null?pe:Jt)!==null&&ke!==void 0?ke:Ke}),Zt=q.useContext(a.Z),ot=me!=null?me:Zt,{status:se,hasFeedback:be,feedbackIcon:H}=(0,q.useContext)(z.aM),O=(0,C.F)(se,j),xe=m(ne)||!!be,k=(0,q.useRef)(xe);(0,q.useEffect)(()=>{var Ke;xe&&k.current,k.current=xe},[xe]);const E=(0,u.Z)(ut,!0),T=Ke=>{E(),fe==null||fe(Ke)},X=Ke=>{E(),ae==null||ae(Ke)},Z=Ke=>{E(),V==null||V(Ke)},K=(be||te)&&q.createElement(q.Fragment,null,te,be&&H);let we;return typeof M=="object"&&(M!=null&&M.clearIcon)?we=M:M&&(we={clearIcon:q.createElement(y.Z,null)}),it(q.createElement(Ee.default,Object.assign({ref:(0,$.sQ)(Y,ut),prefixCls:lt,autoComplete:$e==null?void 0:$e.autoComplete},Le,{disabled:ot,onBlur:T,onFocus:X,style:Object.assign(Object.assign({},$e==null?void 0:$e.style),ie),styles:Object.assign(Object.assign({},$e==null?void 0:$e.styles),v),suffix:K,allowClear:we,className:ee()(de,_,rn,$e==null?void 0:$e.className),onChange:Z,addonAfter:he&&q.createElement(S.BR,null,q.createElement(z.Ux,{override:!0,status:!0},he)),addonBefore:Q&&q.createElement(S.BR,null,q.createElement(z.Ux,{override:!0,status:!0},Q)),classNames:Object.assign(Object.assign(Object.assign({},J),$e==null?void 0:$e.classNames),{input:ee()({[`${lt}-sm`]:It==="small",[`${lt}-lg`]:It==="large",[`${lt}-rtl`]:Ie==="rtl",[`${lt}-borderless`]:!G},!xe&&(0,C.Z)(lt,O),J==null?void 0:J.input,(b=$e==null?void 0:$e.classNames)===null||b===void 0?void 0:b.input,Pt)}),classes:{affixWrapper:ee()({[`${lt}-affix-wrapper-sm`]:It==="small",[`${lt}-affix-wrapper-lg`]:It==="large",[`${lt}-affix-wrapper-rtl`]:Ie==="rtl",[`${lt}-affix-wrapper-borderless`]:!G},(0,C.Z)(`${lt}-affix-wrapper`,O,be),Pt),wrapper:ee()({[`${lt}-group-rtl`]:Ie==="rtl"},Pt),group:ee()({[`${lt}-group-wrapper-sm`]:It==="small",[`${lt}-group-wrapper-lg`]:It==="large",[`${lt}-group-wrapper-rtl`]:Ie==="rtl",[`${lt}-group-wrapper-disabled`]:ot},(0,C.Z)(`${lt}-group-wrapper`,O,be),Pt)}})))})},1643:function(tn,tt,f){"use strict";var y=f(19248),L=f(92310),ee=f.n(L),Ee=f(9296),$=f(59301),q=f(19080),C=f(36355),Se=f(1684),a=f(19716),I=f(32441),z=f(9432),S=f(9937),u=function(m,P){var ce={};for(var U in m)Object.prototype.hasOwnProperty.call(m,U)&&P.indexOf(U)<0&&(ce[U]=m[U]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,U=Object.getOwnPropertySymbols(m);W<U.length;W++)P.indexOf(U[W])<0&&Object.prototype.propertyIsEnumerable.call(m,U[W])&&(ce[U[W]]=m[U[W]]);return ce};const x=(0,$.forwardRef)((m,P)=>{const{prefixCls:ce,bordered:U=!0,size:W,disabled:ne,status:Y,allowClear:b,showCount:R,classNames:G,rootClassName:j,className:pe}=m,me=u(m,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:fe,direction:ae}=$.useContext(C.E_),te=(0,a.Z)(W),M=$.useContext(Se.Z),he=ne!=null?ne:M,{status:Q,hasFeedback:de,feedbackIcon:ie}=$.useContext(I.aM),v=(0,q.F)(Q,Y),_=$.useRef(null);$.useImperativeHandle(P,()=>{var Ie;return{resizableTextArea:(Ie=_.current)===null||Ie===void 0?void 0:Ie.resizableTextArea,focus:$e=>{var lt,ut;(0,z.n)((ut=(lt=_.current)===null||lt===void 0?void 0:lt.resizableTextArea)===null||ut===void 0?void 0:ut.textArea,$e)},blur:()=>{var $e;return($e=_.current)===null||$e===void 0?void 0:$e.blur()}}});const V=fe("input",ce);let J;typeof b=="object"&&(b!=null&&b.clearIcon)?J=b:b&&(J={clearIcon:$.createElement(y.Z,null)});const[Le,Oe]=(0,S.ZP)(V);return Le($.createElement(Ee.default,Object.assign({},me,{disabled:he,allowClear:J,className:ee()(pe,j),classes:{affixWrapper:ee()(`${V}-textarea-affix-wrapper`,{[`${V}-affix-wrapper-rtl`]:ae==="rtl",[`${V}-affix-wrapper-borderless`]:!U,[`${V}-affix-wrapper-sm`]:te==="small",[`${V}-affix-wrapper-lg`]:te==="large",[`${V}-textarea-show-count`]:R},(0,q.Z)(`${V}-affix-wrapper`,v),Oe)},classNames:Object.assign(Object.assign({},G),{textarea:ee()({[`${V}-borderless`]:!U,[`${V}-sm`]:te==="small",[`${V}-lg`]:te==="large"},(0,q.Z)(V,v),Oe,G==null?void 0:G.textarea)}),prefixCls:V,suffix:de&&$.createElement("span",{className:`${V}-textarea-suffix`},ie),showCount:R,ref:_})))});tt.Z=x},59412:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return L}});var y=f(59301);function L(ee,Ee){const $=(0,y.useRef)([]),q=()=>{$.current.push(setTimeout(()=>{var C,Se,a,I;!((C=ee.current)===null||C===void 0)&&C.input&&((Se=ee.current)===null||Se===void 0?void 0:Se.input.getAttribute("type"))==="password"&&(!((a=ee.current)===null||a===void 0)&&a.input.hasAttribute("value"))&&((I=ee.current)===null||I===void 0||I.input.removeAttribute("value"))}))};return(0,y.useEffect)(()=>(Ee&&q(),()=>$.current.forEach(C=>{C&&clearTimeout(C)})),[]),q}},92832:function(tn,tt,f){"use strict";f.d(tt,{default:function(){return te}});var y=f(92310),L=f.n(y),ee=f(59301),Ee=f(36355),$=f(32441),q=f(9937),Se=M=>{const{getPrefixCls:he,direction:Q}=(0,ee.useContext)(Ee.E_),{prefixCls:de,className:ie}=M,v=he("input-group",de),_=he("input"),[V,J]=(0,q.ZP)(_),Le=L()(v,{[`${v}-lg`]:M.size==="large",[`${v}-sm`]:M.size==="small",[`${v}-compact`]:M.compact,[`${v}-rtl`]:Q==="rtl"},J,ie),Oe=(0,ee.useContext)($.aM),Ie=(0,ee.useMemo)(()=>Object.assign(Object.assign({},Oe),{isFormItemInput:!1}),[Oe]);return V(ee.createElement("span",{className:Le,style:M.style,onMouseEnter:M.onMouseEnter,onMouseLeave:M.onMouseLeave,onFocus:M.onFocus,onBlur:M.onBlur},ee.createElement($.aM.Provider,{value:Ie},M.children)))},a=f(9432),I=f(73331),z=f(15277),S=f(2738),u=f(8654),x=f(59412),m=function(M,he){var Q={};for(var de in M)Object.prototype.hasOwnProperty.call(M,de)&&he.indexOf(de)<0&&(Q[de]=M[de]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,de=Object.getOwnPropertySymbols(M);ie<de.length;ie++)he.indexOf(de[ie])<0&&Object.prototype.propertyIsEnumerable.call(M,de[ie])&&(Q[de[ie]]=M[de[ie]]);return Q};const P=M=>M?ee.createElement(z.Z,null):ee.createElement(I.Z,null),ce={click:"onClick",hover:"onMouseOver"};var W=ee.forwardRef((M,he)=>{const{visibilityToggle:Q=!0}=M,de=typeof Q=="object"&&Q.visible!==void 0,[ie,v]=(0,ee.useState)(()=>de?Q.visible:!1),_=(0,ee.useRef)(null);ee.useEffect(()=>{de&&v(Q.visible)},[de,Q]);const V=(0,x.Z)(_),J=()=>{const{disabled:ot}=M;ot||(ie&&V(),v(se=>{var be;const H=!se;return typeof Q=="object"&&((be=Q.onVisibleChange)===null||be===void 0||be.call(Q,H)),H}))},Le=ot=>{const{action:se="click",iconRender:be=P}=M,H=ce[se]||"",O=be(ie),xe={[H]:J,className:`${ot}-icon`,key:"passwordIcon",onMouseDown:k=>{k.preventDefault()},onMouseUp:k=>{k.preventDefault()}};return ee.cloneElement(ee.isValidElement(O)?O:ee.createElement("span",null,O),xe)},{className:Oe,prefixCls:Ie,inputPrefixCls:$e,size:lt}=M,ut=m(M,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:it}=ee.useContext(Ee.E_),Pt=it("input",$e),Jt=it("input-password",Ie),rn=Q&&Le(Jt),It=L()(Jt,Oe,{[`${Jt}-${lt}`]:!!lt}),Zt=Object.assign(Object.assign({},(0,S.Z)(ut,["suffix","iconRender","visibilityToggle"])),{type:ie?"text":"password",className:It,prefixCls:Pt,suffix:rn});return lt&&(Zt.size=lt),ee.createElement(a.Z,Object.assign({ref:(0,u.sQ)(he,_)},Zt))}),ne=f(47472),Y=f(92343),b=f(3113),R=f(19716),G=f(33234),j=function(M,he){var Q={};for(var de in M)Object.prototype.hasOwnProperty.call(M,de)&&he.indexOf(de)<0&&(Q[de]=M[de]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,de=Object.getOwnPropertySymbols(M);ie<de.length;ie++)he.indexOf(de[ie])<0&&Object.prototype.propertyIsEnumerable.call(M,de[ie])&&(Q[de[ie]]=M[de[ie]]);return Q},me=ee.forwardRef((M,he)=>{const{prefixCls:Q,inputPrefixCls:de,className:ie,size:v,suffix:_,enterButton:V=!1,addonAfter:J,loading:Le,disabled:Oe,onSearch:Ie,onChange:$e,onCompositionStart:lt,onCompositionEnd:ut}=M,it=j(M,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Pt,direction:Jt}=ee.useContext(Ee.E_),rn=ee.useRef(!1),It=Pt("input-search",Q),Zt=Pt("input",de),{compactSize:ot}=(0,G.ri)(It,Jt),se=(0,R.Z)(Te=>{var Ye;return(Ye=v!=null?v:ot)!==null&&Ye!==void 0?Ye:Te}),be=ee.useRef(null),H=Te=>{Te&&Te.target&&Te.type==="click"&&Ie&&Ie(Te.target.value,Te,{source:"clear"}),$e&&$e(Te)},O=Te=>{var Ye;document.activeElement===((Ye=be.current)===null||Ye===void 0?void 0:Ye.input)&&Te.preventDefault()},xe=Te=>{var Ye,et;Ie&&Ie((et=(Ye=be.current)===null||Ye===void 0?void 0:Ye.input)===null||et===void 0?void 0:et.value,Te,{source:"input"})},k=Te=>{rn.current||Le||xe(Te)},E=typeof V=="boolean"?ee.createElement(ne.Z,null):null,T=`${It}-button`;let X;const Z=V||{},K=Z.type&&Z.type.__ANT_BUTTON===!0;K||Z.type==="button"?X=(0,Y.Tm)(Z,Object.assign({onMouseDown:O,onClick:Te=>{var Ye,et;(et=(Ye=Z==null?void 0:Z.props)===null||Ye===void 0?void 0:Ye.onClick)===null||et===void 0||et.call(Ye,Te),xe(Te)},key:"enterButton"},K?{className:T,size:se}:{})):X=ee.createElement(b.ZP,{className:T,type:V?"primary":void 0,size:se,disabled:Oe,key:"enterButton",onMouseDown:O,onClick:xe,loading:Le,icon:E},V),J&&(X=[X,(0,Y.Tm)(J,{key:"addonAfter"})]);const we=L()(It,{[`${It}-rtl`]:Jt==="rtl",[`${It}-${se}`]:!!se,[`${It}-with-button`]:!!V},ie),Ke=Te=>{rn.current=!0,lt==null||lt(Te)},ke=Te=>{rn.current=!1,ut==null||ut(Te)};return ee.createElement(a.Z,Object.assign({ref:(0,u.sQ)(be,he),onPressEnter:k},it,{size:se,onCompositionStart:Ke,onCompositionEnd:ke,prefixCls:Zt,addonAfter:X,suffix:_,onChange:H,className:we,disabled:Oe}))}),fe=f(1643);const ae=a.Z;ae.Group=Se,ae.Search=me,ae.TextArea=fe.Z,ae.Password=W;var te=ae},9937:function(tn,tt,f){"use strict";f.d(tt,{M1:function(){return C},TM:function(){return Y},Xy:function(){return Se},bi:function(){return z},e5:function(){return ne},ik:function(){return S},nz:function(){return $},pU:function(){return q},s7:function(){return u},x0:function(){return I}});var y=f(17313),L=f(74207),ee=f(37613),Ee=f(83116);const $=b=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:b,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),q=b=>({borderColor:b.hoverBorderColor}),C=b=>({borderColor:b.activeBorderColor,boxShadow:b.activeShadow,outline:0}),Se=b=>({color:b.colorTextDisabled,backgroundColor:b.colorBgContainerDisabled,borderColor:b.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},q((0,ee.TS)(b,{hoverBorderColor:b.colorBorder})))}),a=b=>{const{paddingBlockLG:R,fontSizeLG:G,lineHeightLG:j,borderRadiusLG:pe,paddingInlineLG:me}=b;return{padding:`${R}px ${me}px`,fontSize:G,lineHeight:j,borderRadius:pe}},I=b=>({padding:`${b.paddingBlockSM}px ${b.paddingInlineSM}px`,borderRadius:b.borderRadiusSM}),z=(b,R)=>{const{componentCls:G,colorError:j,colorWarning:pe,errorActiveShadow:me,warningActiveShadow:fe,colorErrorBorderHover:ae,colorWarningBorderHover:te}=b;return{[`&-status-error:not(${R}-disabled):not(${R}-borderless)${R}`]:{borderColor:j,"&:hover":{borderColor:ae},"&:focus, &-focused":Object.assign({},C((0,ee.TS)(b,{activeBorderColor:j,activeShadow:me}))),[`${G}-prefix, ${G}-suffix`]:{color:j}},[`&-status-warning:not(${R}-disabled):not(${R}-borderless)${R}`]:{borderColor:pe,"&:hover":{borderColor:te},"&:focus, &-focused":Object.assign({},C((0,ee.TS)(b,{activeBorderColor:pe,activeShadow:fe}))),[`${G}-prefix, ${G}-suffix`]:{color:pe}}}},S=b=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${b.paddingBlock}px ${b.paddingInline}px`,color:b.colorText,fontSize:b.fontSize,lineHeight:b.lineHeight,backgroundColor:b.colorBgContainer,backgroundImage:"none",borderWidth:b.lineWidth,borderStyle:b.lineType,borderColor:b.colorBorder,borderRadius:b.borderRadius,transition:`all ${b.motionDurationMid}`},$(b.colorTextPlaceholder)),{"&:hover":Object.assign({},q(b)),"&:focus, &-focused":Object.assign({},C(b)),"&-disabled, &[disabled]":Object.assign({},Se(b)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:b.controlHeight,lineHeight:b.lineHeight,verticalAlign:"bottom",transition:`all ${b.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},a(b)),"&-sm":Object.assign({},I(b)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),u=b=>{const{componentCls:R,antCls:G}=b;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:b.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${R}, &-lg > ${R}-group-addon`]:Object.assign({},a(b)),[`&-sm ${R}, &-sm > ${R}-group-addon`]:Object.assign({},I(b)),[`&-lg ${G}-select-single ${G}-select-selector`]:{height:b.controlHeightLG},[`&-sm ${G}-select-single ${G}-select-selector`]:{height:b.controlHeightSM},[`> ${R}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${R}-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 ${b.paddingInline}px`,color:b.colorText,fontWeight:"normal",fontSize:b.fontSize,textAlign:"center",backgroundColor:b.colorFillAlter,border:`${b.lineWidth}px ${b.lineType} ${b.colorBorder}`,borderRadius:b.borderRadius,transition:`all ${b.motionDurationSlow}`,lineHeight:1,[`${G}-select`]:{margin:`-${b.paddingBlock+1}px -${b.paddingInline}px`,[`&${G}-select-single:not(${G}-select-customize-input)`]:{[`${G}-select-selector`]:{backgroundColor:"inherit",border:`${b.lineWidth}px ${b.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${G}-select-selector`]:{color:b.colorPrimary}}},[`${G}-cascader-picker`]:{margin:`-9px -${b.paddingInline}px`,backgroundColor:"transparent",[`${G}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${R}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${R}-search-with-button &`]:{zIndex:0}}},[`> ${R}:first-child, ${R}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${G}-select ${G}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${R}-affix-wrapper`]:{[`&:not(:first-child) ${R}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${R}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${R}:last-child, ${R}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${G}-select ${G}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${R}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${R}-search &`]:{borderStartStartRadius:b.borderRadius,borderEndStartRadius:b.borderRadius}},[`&:not(:first-child), ${R}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${R}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,y.dF)()),{[`${R}-group-addon, ${R}-group-wrap, > ${R}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:b.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${R}-affix-wrapper,
& > ${R}-number-affix-wrapper,
& > ${G}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-b.lineWidth,borderInlineEndWidth:b.lineWidth},[`${R}`]:{float:"none"},[`& > ${G}-select > ${G}-select-selector,
& > ${G}-select-auto-complete ${R},
& > ${G}-cascader-picker ${R},
& > ${R}-group-wrapper ${R}`]:{borderInlineEndWidth:b.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${G}-select-focused`]:{zIndex:1},[`& > ${G}-select > ${G}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${G}-select:first-child > ${G}-select-selector,
& > ${G}-select-auto-complete:first-child ${R},
& > ${G}-cascader-picker:first-child ${R}`]:{borderStartStartRadius:b.borderRadius,borderEndStartRadius:b.borderRadius},[`& > *:last-child,
& > ${G}-select:last-child > ${G}-select-selector,
& > ${G}-cascader-picker:last-child ${R},
& > ${G}-cascader-picker-focused:last-child ${R}`]:{borderInlineEndWidth:b.lineWidth,borderStartEndRadius:b.borderRadius,borderEndEndRadius:b.borderRadius},[`& > ${G}-select-auto-complete ${R}`]:{verticalAlign:"top"},[`${R}-group-wrapper + ${R}-group-wrapper`]:{marginInlineStart:-b.lineWidth,[`${R}-affix-wrapper`]:{borderRadius:0}},[`${R}-group-wrapper:not(:last-child)`]:{[`&${R}-search > ${R}-group`]:{[`& > ${R}-group-addon > ${R}-search-button`]:{borderRadius:0},[`& > ${R}`]:{borderStartStartRadius:b.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:b.borderRadius}}}})}},x=b=>{const{componentCls:R,controlHeightSM:G,lineWidth:j}=b,me=(G-j*2-16)/2;return{[R]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(b)),S(b)),z(b,R)),{'&[type="color"]':{height:b.controlHeight,[`&${R}-lg`]:{height:b.controlHeightLG},[`&${R}-sm`]:{height:G,paddingTop:me,paddingBottom:me}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},m=b=>{const{componentCls:R}=b;return{[`${R}-clear-icon`]:{margin:0,color:b.colorTextQuaternary,fontSize:b.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${b.motionDurationSlow}`,"&:hover":{color:b.colorTextTertiary},"&:active":{color:b.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${b.inputAffixPadding}px`}}}},P=b=>{const{componentCls:R,inputAffixPadding:G,colorTextDescription:j,motionDurationSlow:pe,colorIcon:me,colorIconHover:fe,iconCls:ae}=b;return{[`${R}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},S(b)),{display:"inline-flex",[`&:not(${R}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},q(b)),{zIndex:1,[`${R}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${R}[disabled]`]:{background:"transparent"}},[`> input${R}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${R}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:b.paddingXS}},"&-show-count-suffix":{color:j},"&-show-count-has-suffix":{marginInlineEnd:b.paddingXXS},"&-prefix":{marginInlineEnd:G},"&-suffix":{marginInlineStart:G}}}),m(b)),{[`${ae}${R}-password-icon`]:{color:me,cursor:"pointer",transition:`all ${pe}`,"&:hover":{color:fe}}}),z(b,`${R}-affix-wrapper`))}},ce=b=>{const{componentCls:R,colorError:G,colorWarning:j,borderRadiusLG:pe,borderRadiusSM:me}=b;return{[`${R}-group`]:Object.assign(Object.assign(Object.assign({},(0,y.Wf)(b)),u(b)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${R}-group-addon`]:{borderRadius:pe,fontSize:b.fontSizeLG}},"&-sm":{[`${R}-group-addon`]:{borderRadius:me}},"&-status-error":{[`${R}-group-addon`]:{color:G,borderColor:G}},"&-status-warning":{[`${R}-group-addon`]:{color:j,borderColor:j}},"&-disabled":{[`${R}-group-addon`]:Object.assign({},Se(b))},[`&:not(${R}-compact-first-item):not(${R}-compact-last-item)${R}-compact-item`]:{[`${R}, ${R}-group-addon`]:{borderRadius:0}},[`&:not(${R}-compact-last-item)${R}-compact-first-item`]:{[`${R}, ${R}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${R}-compact-first-item)${R}-compact-last-item`]:{[`${R}, ${R}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},U=b=>{const{componentCls:R,antCls:G}=b,j=`${R}-search`;return{[j]:{[`${R}`]:{"&:hover, &:focus":{borderColor:b.colorPrimaryHover,[`+ ${R}-group-addon ${j}-button:not(${G}-btn-primary)`]:{borderInlineStartColor:b.colorPrimaryHover}}},[`${R}-affix-wrapper`]:{borderRadius:0},[`${R}-lg`]:{lineHeight:b.lineHeightLG-2e-4},[`> ${R}-group`]:{[`> ${R}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${j}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:b.borderRadius,borderEndEndRadius:b.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${j}-button:not(${G}-btn-primary)`]:{color:b.colorTextDescription,"&:hover":{color:b.colorPrimaryHover},"&:active":{color:b.colorPrimaryActive},[`&${G}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${j}-button`]:{height:b.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${j}-button`]:{height:b.controlHeightLG},[`&-small ${j}-button`]:{height:b.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${R}-compact-item`]:{[`&:not(${R}-compact-last-item)`]:{[`${R}-group-addon`]:{[`${R}-search-button`]:{marginInlineEnd:-b.lineWidth,borderRadius:0}}},[`&:not(${R}-compact-first-item)`]:{[`${R},${R}-affix-wrapper`]:{borderRadius:0}},[`> ${R}-group-addon ${R}-search-button,
> ${R},
${R}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${R}-affix-wrapper-focused`]:{zIndex:2}}}}},W=b=>{const{componentCls:R,paddingLG:G}=b,j=`${R}-textarea`;return{[j]:{position:"relative","&-show-count":{[`> ${R}`]:{height:"100%"},[`${R}-data-count`]:{position:"absolute",bottom:-b.fontSize*b.lineHeight,insetInlineEnd:0,color:b.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${R}`]:{paddingInlineEnd:G}},[`&-affix-wrapper${j}-has-feedback`]:{[`${R}`]:{paddingInlineEnd:G}},[`&-affix-wrapper${R}-affix-wrapper`]:{padding:0,[`> textarea${R}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${R}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${R}-clear-icon`]:{position:"absolute",insetInlineEnd:b.paddingXS,insetBlockStart:b.paddingXS},[`${j}-suffix`]:{position:"absolute",top:0,insetInlineEnd:b.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function ne(b){return(0,ee.TS)(b,{inputAffixPadding:b.paddingXXS})}const Y=b=>{const{controlHeight:R,fontSize:G,lineHeight:j,lineWidth:pe,controlHeightSM:me,controlHeightLG:fe,fontSizeLG:ae,lineHeightLG:te,paddingSM:M,controlPaddingHorizontalSM:he,controlPaddingHorizontal:Q,colorFillAlter:de,colorPrimaryHover:ie,controlOutlineWidth:v,controlOutline:_,colorErrorOutline:V,colorWarningOutline:J}=b;return{paddingBlock:Math.max(Math.round((R-G*j)/2*10)/10-pe,3),paddingBlockSM:Math.max(Math.round((me-G*j)/2*10)/10-pe,0),paddingBlockLG:Math.ceil((fe-ae*te)/2*10)/10-pe,paddingInline:M-pe,paddingInlineSM:he-pe,paddingInlineLG:Q-pe,addonBg:de,activeBorderColor:ie,hoverBorderColor:ie,activeShadow:`0 0 0 ${v}px ${_}`,errorActiveShadow:`0 0 0 ${v}px ${V}`,warningActiveShadow:`0 0 0 ${v}px ${J}`}};tt.ZP=(0,Ee.Z)("Input",b=>{const R=(0,ee.TS)(b,ne(b));return[x(R),W(R),P(R),ce(R),U(R),(0,L.c)(R)]},Y)},45818:function(tn,tt,f){"use strict";f.d(tt,{D:function(){return ne},Z:function(){return R}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(j,pe){return L.createElement($.Z,(0,y.Z)({},j,{ref:pe,icon:Ee}))},C=L.forwardRef(q),Se=C,a=f(33853),I=f(38819),z=f(92310),S=f.n(z),u=f(2738),m=G=>!isNaN(parseFloat(G))&&isFinite(G),P=f(36355),ce=f(84966),U=function(G,j){var pe={};for(var me in G)Object.prototype.hasOwnProperty.call(G,me)&&j.indexOf(me)<0&&(pe[me]=G[me]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,me=Object.getOwnPropertySymbols(G);fe<me.length;fe++)j.indexOf(me[fe])<0&&Object.prototype.propertyIsEnumerable.call(G,me[fe])&&(pe[me[fe]]=G[me[fe]]);return pe};const W={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ne=L.createContext({}),Y=(()=>{let G=0;return function(){let j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return G+=1,`${j}${G}`}})();var R=L.forwardRef((G,j)=>{const{prefixCls:pe,className:me,trigger:fe,children:ae,defaultCollapsed:te=!1,theme:M="dark",style:he={},collapsible:Q=!1,reverseArrow:de=!1,width:ie=200,collapsedWidth:v=80,zeroWidthTriggerStyle:_,breakpoint:V,onCollapse:J,onBreakpoint:Le}=G,Oe=U(G,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ie}=(0,L.useContext)(ce.Gs),[$e,lt]=(0,L.useState)("collapsed"in G?G.collapsed:te),[ut,it]=(0,L.useState)(!1);(0,L.useEffect)(()=>{"collapsed"in G&&lt(G.collapsed)},[G.collapsed]);const Pt=(se,be)=>{"collapsed"in G||lt(se),J==null||J(se,be)},Jt=(0,L.useRef)();Jt.current=se=>{it(se.matches),Le==null||Le(se.matches),$e!==se.matches&&Pt(se.matches,"responsive")},(0,L.useEffect)(()=>{function se(H){return Jt.current(H)}let be;if(typeof window!="undefined"){const{matchMedia:H}=window;if(H&&V&&V in W){be=H(`(max-width: ${W[V]})`);try{be.addEventListener("change",se)}catch(O){be.addListener(se)}se(be)}}return()=>{try{be==null||be.removeEventListener("change",se)}catch(H){be==null||be.removeListener(se)}}},[V]),(0,L.useEffect)(()=>{const se=Y("ant-sider-");return Ie.addSider(se),()=>Ie.removeSider(se)},[]);const rn=()=>{Pt(!$e,"clickTrigger")},{getPrefixCls:It}=(0,L.useContext)(P.E_),Zt=()=>{const se=It("layout-sider",pe),be=(0,u.Z)(Oe,["collapsed"]),H=$e?v:ie,O=m(H)?`${H}px`:String(H),xe=parseFloat(String(v||0))===0?L.createElement("span",{onClick:rn,className:S()(`${se}-zero-width-trigger`,`${se}-zero-width-trigger-${de?"right":"left"}`),style:_},fe||L.createElement(Se,null)):null,T={expanded:de?L.createElement(I.Z,null):L.createElement(a.Z,null),collapsed:de?L.createElement(a.Z,null):L.createElement(I.Z,null)}[$e?"collapsed":"expanded"],X=fe!==null?xe||L.createElement("div",{className:`${se}-trigger`,onClick:rn,style:{width:O}},fe||T):null,Z=Object.assign(Object.assign({},he),{flex:`0 0 ${O}`,maxWidth:O,minWidth:O,width:O}),K=S()(se,`${se}-${M}`,{[`${se}-collapsed`]:!!$e,[`${se}-has-trigger`]:Q&&fe!==null&&!xe,[`${se}-below`]:!!ut,[`${se}-zero-width`]:parseFloat(O)===0},me);return L.createElement("aside",Object.assign({className:K},be,{style:Z,ref:j}),L.createElement("div",{className:`${se}-children`},ae),Q||ut&&xe?X:null)},ot=L.useMemo(()=>({siderCollapsed:$e}),[$e]);return L.createElement(ne.Provider,{value:ot},Zt())})},44e3:function(tn,tt,f){"use strict";var y=f(84966),L=f(45818);const ee=y.ZP;ee.Header=y.h4,ee.Footer=y.$_,ee.Content=y.VY,ee.Sider=L.Z,tt.default=ee},84966:function(tn,tt,f){"use strict";f.d(tt,{VY:function(){return ne},$_:function(){return W},h4:function(){return U},Gs:function(){return u},ZP:function(){return Y}});var y=f(26407),L=f(92310),ee=f.n(L),Ee=f(2738),$=f(59301),q=f(36355),C=f(83116),a=b=>{const{componentCls:R,bodyBg:G,lightSiderBg:j,lightTriggerBg:pe,lightTriggerColor:me}=b;return{[`${R}-sider-light`]:{background:j,[`${R}-sider-trigger`]:{color:me,background:pe},[`${R}-sider-zero-width-trigger`]:{color:me,background:pe,border:`1px solid ${G}`,borderInlineStart:0}}}};const I=b=>{const{antCls:R,componentCls:G,colorText:j,triggerColor:pe,footerBg:me,triggerBg:fe,headerHeight:ae,headerPadding:te,headerColor:M,footerPadding:he,triggerHeight:Q,zeroTriggerHeight:de,zeroTriggerWidth:ie,motionDurationMid:v,motionDurationSlow:_,fontSize:V,borderRadius:J,bodyBg:Le,headerBg:Oe,siderBg:Ie}=b;return{[G]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Le,"&, *":{boxSizing:"border-box"},[`&${G}-has-sider`]:{flexDirection:"row",[`> ${G}, > ${G}-content`]:{width:0}},[`${G}-header, &${G}-footer`]:{flex:"0 0 auto"},[`${G}-sider`]:{position:"relative",minWidth:0,background:Ie,transition:`all ${v}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${R}-menu${R}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Q},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Q,color:pe,lineHeight:`${Q}px`,textAlign:"center",background:fe,cursor:"pointer",transition:`all ${v}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ae,insetInlineEnd:-ie,zIndex:1,width:ie,height:de,color:pe,fontSize:b.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ie,borderStartStartRadius:0,borderStartEndRadius:J,borderEndEndRadius:J,borderEndStartRadius:0,cursor:"pointer",transition:`background ${_} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${_}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-ie,borderStartStartRadius:J,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:J}}}}},a(b)),{"&-rtl":{direction:"rtl"}}),[`${G}-header`]:{height:ae,padding:te,color:M,lineHeight:`${ae}px`,background:Oe,[`${R}-menu`]:{lineHeight:"inherit"}},[`${G}-footer`]:{padding:he,color:j,fontSize:V,background:me},[`${G}-content`]:{flex:"auto",minHeight:0}}};var z=(0,C.Z)("Layout",b=>[I(b)],b=>{const{colorBgLayout:R,controlHeight:G,controlHeightLG:j,colorText:pe,controlHeightSM:me,marginXXS:fe,colorTextLightSolid:ae,colorBgContainer:te}=b,M=j*1.25;return{colorBgHeader:"#001529",colorBgBody:R,colorBgTrigger:"#002140",bodyBg:R,headerBg:"#001529",headerHeight:G*2,headerPadding:`0 ${M}px`,headerColor:pe,footerPadding:`${me}px ${M}px`,footerBg:R,siderBg:"#001529",triggerHeight:j+fe*2,triggerBg:"#002140",triggerColor:ae,zeroTriggerWidth:j,zeroTriggerHeight:j,lightSiderBg:te,lightTriggerBg:te,lightTriggerColor:pe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),S=function(b,R){var G={};for(var j in b)Object.prototype.hasOwnProperty.call(b,j)&&R.indexOf(j)<0&&(G[j]=b[j]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,j=Object.getOwnPropertySymbols(b);pe<j.length;pe++)R.indexOf(j[pe])<0&&Object.prototype.propertyIsEnumerable.call(b,j[pe])&&(G[j[pe]]=b[j[pe]]);return G};const u=$.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function x(b){let{suffixCls:R,tagName:G,displayName:j}=b;return pe=>$.forwardRef((fe,ae)=>$.createElement(pe,Object.assign({ref:ae,suffixCls:R,tagName:G},fe)))}const m=$.forwardRef((b,R)=>{const{prefixCls:G,suffixCls:j,className:pe,tagName:me}=b,fe=S(b,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ae}=$.useContext(q.E_),te=ae("layout",G),[M,he]=z(te),Q=j?`${te}-${j}`:te;return M($.createElement(me,Object.assign({className:ee()(G||Q,pe,he),ref:R},fe)))}),P=$.forwardRef((b,R)=>{const{direction:G}=$.useContext(q.E_),[j,pe]=$.useState([]),{prefixCls:me,className:fe,rootClassName:ae,children:te,hasSider:M,tagName:he,style:Q}=b,de=S(b,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),ie=(0,Ee.Z)(de,["suffixCls"]),{getPrefixCls:v,layout:_}=$.useContext(q.E_),V=v("layout",me),[J,Le]=z(V),Oe=ee()(V,{[`${V}-has-sider`]:typeof M=="boolean"?M:j.length>0,[`${V}-rtl`]:G==="rtl"},_==null?void 0:_.className,fe,ae,Le),Ie=$.useMemo(()=>({siderHook:{addSider:$e=>{pe(lt=>[].concat((0,y.Z)(lt),[$e]))},removeSider:$e=>{pe(lt=>lt.filter(ut=>ut!==$e))}}}),[]);return J($.createElement(u.Provider,{value:Ie},$.createElement(he,Object.assign({ref:R,className:Oe,style:Object.assign(Object.assign({},_==null?void 0:_.style),Q)},ie),te)))}),ce=x({tagName:"div",displayName:"Layout"})(P),U=x({suffixCls:"header",tagName:"header",displayName:"Header"})(m),W=x({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(m),ne=x({suffixCls:"content",tagName:"main",displayName:"Content"})(m);var Y=ce},40875:function(tn,tt,f){"use strict";f.d(tt,{J:function(){return q}});var y=f(59301),L=f(33234),ee=f(70425),Ee=function(C,Se){var a={};for(var I in C)Object.prototype.hasOwnProperty.call(C,I)&&Se.indexOf(I)<0&&(a[I]=C[I]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,I=Object.getOwnPropertySymbols(C);z<I.length;z++)Se.indexOf(I[z])<0&&Object.prototype.propertyIsEnumerable.call(C,I[z])&&(a[I[z]]=C[I[z]]);return a};const $=y.createContext(null),q=y.forwardRef((C,Se)=>{const{children:a}=C,I=Ee(C,["children"]),z=y.useContext($),S=y.useMemo(()=>Object.assign(Object.assign({},z),I),[z,I.prefixCls,I.mode,I.selectable]);return y.createElement($.Provider,{value:S},y.createElement(L.BR,null,(0,ee.supportNodeRef)(a)?y.cloneElement(a,{ref:Se}):a))});tt.Z=$},20834:function(tn,tt,f){"use strict";f.d(tt,{default:function(){return ot}});var y=f(15285),L=f(59301),ee=f(45818),Ee=f(92310),$=f.n(Ee),q=f(36355),C=function(se,be){var H={};for(var O in se)Object.prototype.hasOwnProperty.call(se,O)&&be.indexOf(O)<0&&(H[O]=se[O]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,O=Object.getOwnPropertySymbols(se);xe<O.length;xe++)be.indexOf(O[xe])<0&&Object.prototype.propertyIsEnumerable.call(se,O[xe])&&(H[O[xe]]=se[O[xe]]);return H},a=se=>{const{prefixCls:be,className:H,dashed:O}=se,xe=C(se,["prefixCls","className","dashed"]),{getPrefixCls:k}=L.useContext(q.E_),E=k("menu",be),T=$()({[`${E}-item-divider-dashed`]:!!O},H);return L.createElement(y.iz,Object.assign({className:T},xe))},I=f(11592),z=f(2738),S=f(6848),u=f(92343),m=(0,L.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ce=se=>{var be;const{className:H,children:O,icon:xe,title:k,danger:E}=se,{prefixCls:T,firstLevel:X,direction:Z,disableMenuItemTitleTooltip:K,inlineCollapsed:we}=L.useContext(m),Ke=vt=>{const bt=L.createElement("span",{className:`${T}-title-content`},O);return(!xe||(0,u.l$)(O)&&O.type==="span")&&O&&vt&&X&&typeof O=="string"?L.createElement("div",{className:`${T}-inline-collapsed-noicon`},O.charAt(0)):bt},{siderCollapsed:ke}=L.useContext(ee.D);let Te=k;typeof k=="undefined"?Te=X?O:"":k===!1&&(Te="");const Ye={title:Te};!ke&&!we&&(Ye.title=null,Ye.open=!1);const et=(0,I.Z)(O).length;let je=L.createElement(y.ck,Object.assign({},(0,z.Z)(se,["title","icon","danger"]),{className:$()({[`${T}-item-danger`]:E,[`${T}-item-only-child`]:(xe?et+1:et)===1},H),title:typeof k=="string"?k:void 0}),(0,u.Tm)(xe,{className:$()((0,u.l$)(xe)?(be=xe.props)===null||be===void 0?void 0:be.className:"",`${T}-item-icon`)}),Ke(we));return K||(je=L.createElement(S.Z,Object.assign({},Ye,{placement:Z==="rtl"?"left":"right",overlayClassName:`${T}-inline-collapsed-tooltip`}),je)),je},W=se=>{var be;const{popupClassName:H,icon:O,title:xe,theme:k}=se,E=L.useContext(m),{prefixCls:T,inlineCollapsed:X,theme:Z}=E,K=(0,y.Xl)();let we;if(!O)we=X&&!K.length&&xe&&typeof xe=="string"?L.createElement("div",{className:`${T}-inline-collapsed-noicon`},xe.charAt(0)):L.createElement("span",{className:`${T}-title-content`},xe);else{const ke=(0,u.l$)(xe)&&xe.type==="span";we=L.createElement(L.Fragment,null,(0,u.Tm)(O,{className:$()((0,u.l$)(O)?(be=O.props)===null||be===void 0?void 0:be.className:"",`${T}-item-icon`)}),ke?xe:L.createElement("span",{className:`${T}-title-content`},xe))}const Ke=L.useMemo(()=>Object.assign(Object.assign({},E),{firstLevel:!1}),[E]);return L.createElement(m.Provider,{value:Ke},L.createElement(y.Wd,Object.assign({},(0,z.Z)(se,["icon"]),{title:we,popupClassName:$()(T,H,`${T}-${k||Z}`)})))},ne=f(18785),Y=f(70425),b=f(62892),R=f(40875),G=function(se,be){var H={};for(var O in se)Object.prototype.hasOwnProperty.call(se,O)&&be.indexOf(O)<0&&(H[O]=se[O]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,O=Object.getOwnPropertySymbols(se);xe<O.length;xe++)be.indexOf(O[xe])<0&&Object.prototype.propertyIsEnumerable.call(se,O[xe])&&(H[O[xe]]=se[O[xe]]);return H};function j(se){return(se||[]).map((be,H)=>{if(be&&typeof be=="object"){const O=be,{label:xe,children:k,key:E,type:T}=O,X=G(O,["label","children","key","type"]),Z=E!=null?E:`tmp-${H}`;return k||T==="group"?T==="group"?L.createElement(y.BW,Object.assign({key:Z},X,{title:xe}),j(k)):L.createElement(W,Object.assign({key:Z},X,{title:xe}),j(k)):T==="divider"?L.createElement(a,Object.assign({key:Z},X)):L.createElement(ce,Object.assign({key:Z},X),xe)}return null}).filter(be=>be)}function pe(se){return L.useMemo(()=>se&&j(se),[se])}var me=f(64993),fe=f(17313),ae=f(8378),te=f(13826),M=f(29878),he=f(83116),Q=f(37613),ie=se=>{const{componentCls:be,motionDurationSlow:H,horizontalLineHeight:O,colorSplit:xe,lineWidth:k,lineType:E,itemPaddingInline:T}=se;return{[`${be}-horizontal`]:{lineHeight:O,border:0,borderBottom:`${k}px ${E} ${xe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${be}-item, ${be}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:T},[`> ${be}-item:hover,
> ${be}-item-active,
> ${be}-submenu ${be}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${be}-item, ${be}-submenu-title`]:{transition:[`border-color ${H}`,`background ${H}`].join(",")},[`${be}-submenu-arrow`]:{display:"none"}}}},_=se=>{let{componentCls:be,menuArrowOffset:H}=se;return{[`${be}-rtl`]:{direction:"rtl"},[`${be}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${be}-rtl${be}-vertical,
${be}-submenu-rtl ${be}-vertical`]:{[`${be}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${H})`},"&::after":{transform:`rotate(45deg) translateY(${H})`}}}}};const V=se=>Object.assign({},(0,fe.oN)(se));var Le=(se,be)=>{const{componentCls:H,itemColor:O,itemSelectedColor:xe,groupTitleColor:k,itemBg:E,subMenuItemBg:T,itemSelectedBg:X,activeBarHeight:Z,activeBarWidth:K,activeBarBorderWidth:we,motionDurationSlow:Ke,motionEaseInOut:ke,motionEaseOut:Te,itemPaddingInline:Ye,motionDurationMid:et,itemHoverColor:je,lineType:vt,colorSplit:bt,itemDisabledColor:ht,dangerItemColor:Nt,dangerItemHoverColor:_t,dangerItemSelectedColor:w,dangerItemActiveBg:D,dangerItemSelectedBg:St,itemHoverBg:ue,itemActiveBg:Be,menuSubMenuBg:pn,horizontalItemSelectedColor:Ve,horizontalItemSelectedBg:nt,horizontalItemBorderRadius:Je,horizontalItemHoverBg:Ae,popupBg:De}=se;return{[`${H}-${be}, ${H}-${be} > ${H}`]:{color:O,background:E,[`&${H}-root:focus-visible`]:Object.assign({},V(se)),[`${H}-item-group-title`]:{color:k},[`${H}-submenu-selected`]:{[`> ${H}-submenu-title`]:{color:xe}},[`${H}-item-disabled, ${H}-submenu-disabled`]:{color:`${ht} !important`},[`${H}-item:not(${H}-item-selected):not(${H}-submenu-selected)`]:{[`&:hover, > ${H}-submenu-title:hover`]:{color:je}},[`&:not(${H}-horizontal)`]:{[`${H}-item:not(${H}-item-selected)`]:{"&:hover":{backgroundColor:ue},"&:active":{backgroundColor:Be}},[`${H}-submenu-title`]:{"&:hover":{backgroundColor:ue},"&:active":{backgroundColor:Be}}},[`${H}-item-danger`]:{color:Nt,[`&${H}-item:hover`]:{[`&:not(${H}-item-selected):not(${H}-submenu-selected)`]:{color:_t}},[`&${H}-item:active`]:{background:D}},[`${H}-item a`]:{"&, &:hover":{color:"inherit"}},[`${H}-item-selected`]:{color:xe,[`&${H}-item-danger`]:{color:w},"a, a:hover":{color:"inherit"}},[`& ${H}-item-selected`]:{backgroundColor:X,[`&${H}-item-danger`]:{backgroundColor:St}},[`${H}-item, ${H}-submenu-title`]:{[`&:not(${H}-item-disabled):focus-visible`]:Object.assign({},V(se))},[`&${H}-submenu > ${H}`]:{backgroundColor:pn},[`&${H}-popup > ${H}`]:{backgroundColor:De},[`&${H}-horizontal`]:Object.assign(Object.assign({},be==="dark"?{borderBottom:0}:{}),{[`> ${H}-item, > ${H}-submenu`]:{top:we,marginTop:-we,marginBottom:0,borderRadius:Je,"&::after":{position:"absolute",insetInline:Ye,bottom:0,borderBottom:`${Z}px solid transparent`,transition:`border-color ${Ke} ${ke}`,content:'""'},"&:hover, &-active, &-open":{background:Ae,"&::after":{borderBottomWidth:Z,borderBottomColor:Ve}},"&-selected":{color:Ve,backgroundColor:nt,"&:hover":{backgroundColor:nt},"&::after":{borderBottomWidth:Z,borderBottomColor:Ve}}}}),[`&${H}-root`]:{[`&${H}-inline, &${H}-vertical`]:{borderInlineEnd:`${we}px ${vt} ${bt}`}},[`&${H}-inline`]:{[`${H}-sub${H}-inline`]:{background:T},[`${H}-item, ${H}-submenu-title`]:we&&K?{width:`calc(100% + ${we}px)`}:{},[`${H}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${K}px solid ${xe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${et} ${Te}`,`opacity ${et} ${Te}`].join(","),content:'""'},[`&${H}-item-danger`]:{"&::after":{borderInlineEndColor:w}}},[`${H}-selected, ${H}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${et} ${ke}`,`opacity ${et} ${ke}`].join(",")}}}}}};const Oe=se=>{const{componentCls:be,itemHeight:H,itemMarginInline:O,padding:xe,menuArrowSize:k,marginXS:E,itemMarginBlock:T}=se,X=xe+k+E;return{[`${be}-item`]:{position:"relative",overflow:"hidden"},[`${be}-item, ${be}-submenu-title`]:{height:H,lineHeight:`${H}px`,paddingInline:xe,overflow:"hidden",textOverflow:"ellipsis",marginInline:O,marginBlock:T,width:`calc(100% - ${O*2}px)`},[`> ${be}-item,
> ${be}-submenu > ${be}-submenu-title`]:{height:H,lineHeight:`${H}px`},[`${be}-item-group-list ${be}-submenu-title,
${be}-submenu-title`]:{paddingInlineEnd:X}}};var $e=se=>{const{componentCls:be,iconCls:H,itemHeight:O,colorTextLightSolid:xe,dropdownWidth:k,controlHeightLG:E,motionDurationMid:T,motionEaseOut:X,paddingXL:Z,itemMarginInline:K,fontSizeLG:we,motionDurationSlow:Ke,paddingXS:ke,boxShadowSecondary:Te,collapsedWidth:Ye,collapsedIconSize:et}=se,je={height:O,lineHeight:`${O}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[be]:{"&-inline, &-vertical":Object.assign({[`&${be}-root`]:{boxShadow:"none"}},Oe(se))},[`${be}-submenu-popup`]:{[`${be}-vertical`]:Object.assign(Object.assign({},Oe(se)),{boxShadow:Te})}},{[`${be}-submenu-popup ${be}-vertical${be}-sub`]:{minWidth:k,maxHeight:`calc(100vh - ${E*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${be}-inline`]:{width:"100%",[`&${be}-root`]:{[`${be}-item, ${be}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ke}`,`background ${Ke}`,`padding ${T} ${X}`].join(","),[`> ${be}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${be}-sub${be}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${be}-submenu > ${be}-submenu-title`]:je,[`& ${be}-item-group-title`]:{paddingInlineStart:Z}},[`${be}-item`]:je}},{[`${be}-inline-collapsed`]:{width:Ye,[`&${be}-root`]:{[`${be}-item, ${be}-submenu ${be}-submenu-title`]:{[`> ${be}-inline-collapsed-noicon`]:{fontSize:we,textAlign:"center"}}},[`> ${be}-item,
> ${be}-item-group > ${be}-item-group-list > ${be}-item,
> ${be}-item-group > ${be}-item-group-list > ${be}-submenu > ${be}-submenu-title,
> ${be}-submenu > ${be}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${we/2}px - ${K}px)`,textOverflow:"clip",[`
${be}-submenu-arrow,
${be}-submenu-expand-icon
`]:{opacity:0},[`${be}-item-icon, ${H}`]:{margin:0,fontSize:et,lineHeight:`${O}px`,"+ span":{display:"inline-block",opacity:0}}},[`${be}-item-icon, ${H}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${be}-item-icon, ${H}`]:{display:"none"},"a, a:hover":{color:xe}},[`${be}-item-group-title`]:Object.assign(Object.assign({},fe.vS),{paddingInline:ke})}}]};const lt=se=>{const{componentCls:be,motionDurationSlow:H,motionDurationMid:O,motionEaseInOut:xe,motionEaseOut:k,iconCls:E,iconSize:T,iconMarginInlineEnd:X}=se;return{[`${be}-item, ${be}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${H}`,`background ${H}`,`padding ${H} ${xe}`].join(","),[`${be}-item-icon, ${E}`]:{minWidth:T,fontSize:T,transition:[`font-size ${O} ${k}`,`margin ${H} ${xe}`,`color ${H}`].join(","),"+ span":{marginInlineStart:X,opacity:1,transition:[`opacity ${H} ${xe}`,`margin ${H}`,`color ${H}`].join(",")}},[`${be}-item-icon`]:Object.assign({},(0,fe.Ro)()),[`&${be}-item-only-child`]:{[`> ${E}, > ${be}-item-icon`]:{marginInlineEnd:0}}},[`${be}-item-disabled, ${be}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${be}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ut=se=>{const{componentCls:be,motionDurationSlow:H,motionEaseInOut:O,borderRadius:xe,menuArrowSize:k,menuArrowOffset:E}=se;return{[`${be}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:se.margin,width:k,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${H} ${O}, opacity ${H}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:k*.6,height:k*.15,backgroundColor:"currentcolor",borderRadius:xe,transition:[`background ${H} ${O}`,`transform ${H} ${O}`,`top ${H} ${O}`,`color ${H} ${O}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${E})`},"&::after":{transform:`rotate(-45deg) translateY(${E})`}}}}},it=se=>{const{antCls:be,componentCls:H,fontSize:O,motionDurationSlow:xe,motionDurationMid:k,motionEaseInOut:E,paddingXS:T,padding:X,colorSplit:Z,lineWidth:K,zIndexPopup:we,borderRadiusLG:Ke,subMenuItemBorderRadius:ke,menuArrowSize:Te,menuArrowOffset:Ye,lineType:et,menuPanelMaskInset:je,groupTitleLineHeight:vt,groupTitleFontSize:bt}=se;return[{"":{[`${H}`]:Object.assign(Object.assign({},(0,fe.dF)()),{"&-hidden":{display:"none"}})},[`${H}-submenu-hidden`]:{display:"none"}},{[H]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,fe.Wf)(se)),(0,fe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:O,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${xe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${H}-item`]:{flex:"none"}},[`${H}-item, ${H}-submenu, ${H}-submenu-title`]:{borderRadius:se.itemBorderRadius},[`${H}-item-group-title`]:{padding:`${T}px ${X}px`,fontSize:bt,lineHeight:vt,transition:`all ${xe}`},[`&-horizontal ${H}-submenu`]:{transition:[`border-color ${xe} ${E}`,`background ${xe} ${E}`].join(",")},[`${H}-submenu, ${H}-submenu-inline`]:{transition:[`border-color ${xe} ${E}`,`background ${xe} ${E}`,`padding ${k} ${E}`].join(",")},[`${H}-submenu ${H}-sub`]:{cursor:"initial",transition:[`background ${xe} ${E}`,`padding ${xe} ${E}`].join(",")},[`${H}-title-content`]:{transition:`color ${xe}`},[`${H}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${H}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Z,borderStyle:et,borderWidth:0,borderTopWidth:K,marginBlock:K,padding:0,"&-dashed":{borderStyle:"dashed"}}}),lt(se)),{[`${H}-item-group`]:{[`${H}-item-group-list`]:{margin:0,padding:0,[`${H}-item, ${H}-submenu-title`]:{paddingInline:`${O*2}px ${X}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:we,borderRadius:Ke,boxShadow:"none",transformOrigin:"0 0",[`&${H}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${je}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:je},"\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:se.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:se.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:se.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:se.paddingXS},[`> ${H}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ke},lt(se)),ut(se)),{[`${H}-item, ${H}-submenu > ${H}-submenu-title`]:{borderRadius:ke},[`${H}-submenu-title::after`]:{transition:`transform ${xe} ${E}`}})}}),ut(se)),{[`&-inline-collapsed ${H}-submenu-arrow,
&-inline ${H}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ye})`},"&::after":{transform:`rotate(45deg) translateX(-${Ye})`}},[`${H}-submenu-open${H}-submenu-inline > ${H}-submenu-title > ${H}-submenu-arrow`]:{transform:`translateY(-${Te*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ye})`},"&::before":{transform:`rotate(45deg) translateX(${Ye})`}}})},{[`${be}-layout-header`]:{[H]:{lineHeight:"inherit"}}}]};var Pt=(se,be)=>(0,he.Z)("Menu",O=>{if(be===!1)return[];const{colorBgElevated:xe,colorPrimary:k,colorTextLightSolid:E,controlHeightLG:T,fontSize:X,darkItemColor:Z,darkDangerItemColor:K,darkItemBg:we,darkSubMenuItemBg:Ke,darkItemSelectedColor:ke,darkItemSelectedBg:Te,darkDangerItemSelectedBg:Ye,darkItemHoverBg:et,darkGroupTitleColor:je,darkItemHoverColor:vt,darkItemDisabledColor:bt,darkDangerItemHoverColor:ht,darkDangerItemSelectedColor:Nt,darkDangerItemActiveBg:_t}=O,w=X/7*5,D=(0,Q.TS)(O,{menuArrowSize:w,menuHorizontalHeight:T*1.15,menuArrowOffset:`${w*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:xe}),St=(0,Q.TS)(D,{itemColor:Z,itemHoverColor:vt,groupTitleColor:je,itemSelectedColor:ke,itemBg:we,popupBg:we,subMenuItemBg:Ke,itemActiveBg:"transparent",itemSelectedBg:Te,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:et,itemDisabledColor:bt,dangerItemColor:K,dangerItemHoverColor:ht,dangerItemSelectedColor:Nt,dangerItemActiveBg:_t,dangerItemSelectedBg:Ye,menuSubMenuBg:Ke,horizontalItemSelectedColor:E,horizontalItemSelectedBg:k});return[it(D),ie(D),$e(D),Le(D,"light"),Le(St,"dark"),_(D),(0,ae.Z)(D),(0,te.oN)(D,"slide-up"),(0,te.oN)(D,"slide-down"),(0,M._y)(D,"zoom-big")]},O=>{const{colorPrimary:xe,colorError:k,colorTextDisabled:E,colorErrorBg:T,colorText:X,colorTextDescription:Z,colorBgContainer:K,colorFillAlter:we,colorFillContent:Ke,lineWidth:ke,lineWidthBold:Te,controlItemBgActive:Ye,colorBgTextHover:et,controlHeightLG:je,lineHeight:vt,colorBgElevated:bt,marginXXS:ht,padding:Nt,fontSize:_t,controlHeightSM:w,fontSizeLG:D,colorTextLightSolid:St,colorErrorHover:ue}=O,Be=new me.C(St).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:O.zIndexPopupBase+50,radiusItem:O.borderRadiusLG,itemBorderRadius:O.borderRadiusLG,radiusSubMenuItem:O.borderRadiusSM,subMenuItemBorderRadius:O.borderRadiusSM,colorItemText:X,itemColor:X,colorItemTextHover:X,itemHoverColor:X,colorItemTextHoverHorizontal:xe,horizontalItemHoverColor:xe,colorGroupTitle:Z,groupTitleColor:Z,colorItemTextSelected:xe,itemSelectedColor:xe,colorItemTextSelectedHorizontal:xe,horizontalItemSelectedColor:xe,colorItemBg:K,itemBg:K,colorItemBgHover:et,itemHoverBg:et,colorItemBgActive:Ke,itemActiveBg:Ye,colorSubItemBg:we,subMenuItemBg:we,colorItemBgSelected:Ye,itemSelectedBg:Ye,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Te,activeBarHeight:Te,colorActiveBarBorderSize:ke,activeBarBorderWidth:ke,colorItemTextDisabled:E,itemDisabledColor:E,colorDangerItemText:k,dangerItemColor:k,colorDangerItemTextHover:k,dangerItemHoverColor:k,colorDangerItemTextSelected:k,dangerItemSelectedColor:k,colorDangerItemBgActive:T,dangerItemActiveBg:T,colorDangerItemBgSelected:T,dangerItemSelectedBg:T,itemMarginInline:O.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:je,groupTitleLineHeight:vt,collapsedWidth:je*2,popupBg:bt,itemMarginBlock:ht,itemPaddingInline:Nt,horizontalLineHeight:`${je*1.15}px`,iconSize:_t,iconMarginInlineEnd:w-_t,collapsedIconSize:D,groupTitleFontSize:_t,darkItemDisabledColor:new me.C(St).setAlpha(.25).toRgbString(),darkItemColor:Be,darkDangerItemColor:k,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:St,darkItemSelectedBg:xe,darkDangerItemSelectedBg:k,darkItemHoverBg:"transparent",darkGroupTitleColor:Be,darkItemHoverColor:St,darkDangerItemHoverColor:ue,darkDangerItemSelectedColor:St,darkDangerItemActiveBg:k}},{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"]]})(se),Jt=function(se,be){var H={};for(var O in se)Object.prototype.hasOwnProperty.call(se,O)&&be.indexOf(O)<0&&(H[O]=se[O]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,O=Object.getOwnPropertySymbols(se);xe<O.length;xe++)be.indexOf(O[xe])<0&&Object.prototype.propertyIsEnumerable.call(se,O[xe])&&(H[O[xe]]=se[O[xe]]);return H},It=(0,L.forwardRef)((se,be)=>{var H,O;const xe=L.useContext(R.Z),k=xe||{},{getPrefixCls:E,getPopupContainer:T,direction:X,menu:Z}=L.useContext(q.E_),K=E(),{prefixCls:we,className:Ke,style:ke,theme:Te="light",expandIcon:Ye,_internalDisableMenuItemTitleTooltip:et,inlineCollapsed:je,siderCollapsed:vt,items:bt,children:ht,rootClassName:Nt,mode:_t,selectable:w,onClick:D,overflowedIndicatorPopupClassName:St}=se,ue=Jt(se,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Be=(0,z.Z)(ue,["collapsedWidth"]),pn=pe(bt)||ht;(H=k.validator)===null||H===void 0||H.call(k,{mode:_t});const Ve=(0,Y.useEvent)(function(){var _n;D==null||D.apply(void 0,arguments),(_n=k.onClick)===null||_n===void 0||_n.call(k)}),nt=k.mode||_t,Je=w!=null?w:k.selectable,Ae=L.useMemo(()=>vt!==void 0?vt:je,[je,vt]),De={horizontal:{motionName:`${K}-slide-up`},inline:(0,b.Z)(K),other:{motionName:`${K}-zoom-big`}},ze=E("menu",we||k.prefixCls),[qe,ve]=Pt(ze,!xe),an=$()(`${ze}-${Te}`,Z==null?void 0:Z.className,Ke);let Ge;if(typeof Ye=="function")Ge=Ye;else if(Ye===null||Ye===!1)Ge=null;else if(k.expandIcon===null||k.expandIcon===!1)Ge=null;else{const _n=Ye!=null?Ye:k.expandIcon;Ge=(0,u.Tm)(_n,{className:$()(`${ze}-submenu-expand-icon`,(0,u.l$)(_n)?(O=_n.props)===null||O===void 0?void 0:O.className:"")})}const mn=L.useMemo(()=>({prefixCls:ze,inlineCollapsed:Ae||!1,direction:X,firstLevel:!0,theme:Te,mode:nt,disableMenuItemTitleTooltip:et}),[ze,Ae,X,et,Te]);return qe(L.createElement(R.Z.Provider,{value:null},L.createElement(m.Provider,{value:mn},L.createElement(y.ZP,Object.assign({getPopupContainer:T,overflowedIndicator:L.createElement(ne.Z,null),overflowedIndicatorPopupClassName:$()(ze,`${ze}-${Te}`,St),mode:nt,selectable:Je,onClick:Ve},Be,{inlineCollapsed:Ae,style:Object.assign(Object.assign({},Z==null?void 0:Z.style),ke),className:an,prefixCls:ze,direction:X,defaultMotions:De,expandIcon:Ge,ref:be,rootClassName:$()(Nt,ve)}),pn))))});const Zt=(0,L.forwardRef)((se,be)=>{const H=(0,L.useRef)(null),O=L.useContext(ee.D);return(0,L.useImperativeHandle)(be,()=>({menu:H.current,focus:xe=>{var k;(k=H.current)===null||k===void 0||k.focus(xe)}})),L.createElement(It,Object.assign({ref:H},se,O))});Zt.Item=ce,Zt.SubMenu=W,Zt.Divider=a,Zt.ItemGroup=y.BW;var ot=Zt},58421:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return k}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(T,X){return L.createElement($.Z,(0,y.Z)({},T,{ref:X,icon:Ee}))},C=L.forwardRef(q),Se=C,a=f(49198),I=f(33853),z=f(38819),S=f(92310),u=f.n(S),x=f(400),m=f(33708),P=f(6909),ce=f(4771),U=f(9427),W=f(25440),ne=f(26112),Y={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},b=Y,R=f(91735),G=function(E){(0,U.Z)(X,E);var T=(0,W.Z)(X);function X(){var Z;(0,P.Z)(this,X);for(var K=arguments.length,we=new Array(K),Ke=0;Ke<K;Ke++)we[Ke]=arguments[Ke];return Z=T.call.apply(T,[this].concat(we)),Z.state={goInputText:""},Z.getValidValue=function(){var ke=Z.state.goInputText;return!ke||Number.isNaN(ke)?void 0:Number(ke)},Z.buildOptionText=function(ke){return"".concat(ke," ").concat(Z.props.locale.items_per_page)},Z.changeSize=function(ke){Z.props.changeSize(Number(ke))},Z.handleChange=function(ke){Z.setState({goInputText:ke.target.value})},Z.handleBlur=function(ke){var Te=Z.props,Ye=Te.goButton,et=Te.quickGo,je=Te.rootPrefixCls,vt=Z.state.goInputText;Ye||vt===""||(Z.setState({goInputText:""}),!(ke.relatedTarget&&(ke.relatedTarget.className.indexOf("".concat(je,"-item-link"))>=0||ke.relatedTarget.className.indexOf("".concat(je,"-item"))>=0))&&et(Z.getValidValue()))},Z.go=function(ke){var Te=Z.state.goInputText;Te!==""&&(ke.keyCode===b.ENTER||ke.type==="click")&&(Z.setState({goInputText:""}),Z.props.quickGo(Z.getValidValue()))},Z}return(0,ce.Z)(X,[{key:"getPageSizeOptions",value:function(){var K=this.props,we=K.pageSize,Ke=K.pageSizeOptions;return Ke.some(function(ke){return ke.toString()===we.toString()})?Ke:Ke.concat([we.toString()]).sort(function(ke,Te){var Ye=Number.isNaN(Number(ke))?0:Number(ke),et=Number.isNaN(Number(Te))?0:Number(Te);return Ye-et})}},{key:"render",value:function(){var K=this,we=this.props,Ke=we.pageSize,ke=we.locale,Te=we.rootPrefixCls,Ye=we.changeSize,et=we.quickGo,je=we.goButton,vt=we.selectComponentClass,bt=we.buildOptionText,ht=we.selectPrefixCls,Nt=we.disabled,_t=this.state.goInputText,w="".concat(Te,"-options"),D=vt,St=null,ue=null,Be=null;if(!Ye&&!et)return null;var pn=this.getPageSizeOptions();if(Ye&&D){var Ve=pn.map(function(nt,Je){return L.createElement(D.Option,{key:Je,value:nt.toString()},(bt||K.buildOptionText)(nt))});St=L.createElement(D,{disabled:Nt,prefixCls:ht,showSearch:!1,className:"".concat(w,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Ke||pn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Je){return Je.parentNode},"aria-label":ke.page_size,defaultOpen:!1},Ve)}return et&&(je&&(Be=typeof je=="boolean"?L.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Nt,className:"".concat(w,"-quick-jumper-button")},ke.jump_to_confirm):L.createElement("span",{onClick:this.go,onKeyUp:this.go},je)),ue=L.createElement("div",{className:"".concat(w,"-quick-jumper")},ke.jump_to,L.createElement("input",{disabled:Nt,type:"text",value:_t,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ke.page}),ke.page,Be)),L.createElement("li",{className:"".concat(w)},St,ue)}}]),X}(L.Component);G.defaultProps={pageSizeOptions:["10","20","50","100"]};var j=G,pe=function(T){var X,Z=T.rootPrefixCls,K=T.page,we=T.active,Ke=T.className,ke=T.showTitle,Te=T.onClick,Ye=T.onKeyPress,et=T.itemRender,je="".concat(Z,"-item"),vt=u()(je,"".concat(je,"-").concat(K),(X={},(0,x.Z)(X,"".concat(je,"-active"),we),(0,x.Z)(X,"".concat(je,"-disabled"),!K),(0,x.Z)(X,T.className,Ke),X)),bt=function(){Te(K)},ht=function(w){Ye(w,Te,K)},Nt=et(K,"page",L.createElement("a",{rel:"nofollow"},K));return Nt?L.createElement("li",{title:ke?K.toString():null,className:vt,onClick:bt,onKeyPress:ht,tabIndex:0},Nt):null},me=pe;function fe(){}function ae(E){var T=Number(E);return typeof T=="number"&&!Number.isNaN(T)&&isFinite(T)&&Math.floor(T)===T}var te=function(T,X,Z){return Z};function M(E,T,X){var Z=typeof E=="undefined"?T.pageSize:E;return Math.floor((X.total-1)/Z)+1}var he=function(E){(0,U.Z)(X,E);var T=(0,W.Z)(X);function X(Z){var K;(0,P.Z)(this,X),K=T.call(this,Z),K.paginationNode=L.createRef(),K.getJumpPrevPage=function(){return Math.max(1,K.state.current-(K.props.showLessItems?3:5))},K.getJumpNextPage=function(){return Math.min(M(void 0,K.state,K.props),K.state.current+(K.props.showLessItems?3:5))},K.getItemIcon=function(Ye,et){var je=K.props.prefixCls,vt=Ye||L.createElement("button",{type:"button","aria-label":et,className:"".concat(je,"-item-link")});return typeof Ye=="function"&&(vt=L.createElement(Ye,(0,m.Z)({},K.props))),vt},K.isValid=function(Ye){var et=K.props.total;return ae(Ye)&&Ye!==K.state.current&&ae(et)&&et>0},K.shouldDisplayQuickJumper=function(){var Ye=K.props,et=Ye.showQuickJumper,je=Ye.total,vt=K.state.pageSize;return je<=vt?!1:et},K.handleKeyDown=function(Ye){(Ye.keyCode===b.ARROW_UP||Ye.keyCode===b.ARROW_DOWN)&&Ye.preventDefault()},K.handleKeyUp=function(Ye){var et=K.getValidValue(Ye),je=K.state.currentInputValue;et!==je&&K.setState({currentInputValue:et}),Ye.keyCode===b.ENTER?K.handleChange(et):Ye.keyCode===b.ARROW_UP?K.handleChange(et-1):Ye.keyCode===b.ARROW_DOWN&&K.handleChange(et+1)},K.handleBlur=function(Ye){var et=K.getValidValue(Ye);K.handleChange(et)},K.changePageSize=function(Ye){var et=K.state.current,je=M(Ye,K.state,K.props);et=et>je?je:et,je===0&&(et=K.state.current),typeof Ye=="number"&&("pageSize"in K.props||K.setState({pageSize:Ye}),"current"in K.props||K.setState({current:et,currentInputValue:et})),K.props.onShowSizeChange(et,Ye),"onChange"in K.props&&K.props.onChange&&K.props.onChange(et,Ye)},K.handleChange=function(Ye){var et=K.props,je=et.disabled,vt=et.onChange,bt=K.state,ht=bt.pageSize,Nt=bt.current,_t=bt.currentInputValue;if(K.isValid(Ye)&&!je){var w=M(void 0,K.state,K.props),D=Ye;return Ye>w?D=w:Ye<1&&(D=1),"current"in K.props||K.setState({current:D}),D!==_t&&K.setState({currentInputValue:D}),vt(D,ht),D}return Nt},K.prev=function(){K.hasPrev()&&K.handleChange(K.state.current-1)},K.next=function(){K.hasNext()&&K.handleChange(K.state.current+1)},K.jumpPrev=function(){K.handleChange(K.getJumpPrevPage())},K.jumpNext=function(){K.handleChange(K.getJumpNextPage())},K.hasPrev=function(){return K.state.current>1},K.hasNext=function(){return K.state.current<M(void 0,K.state,K.props)},K.runIfEnter=function(Ye,et){if(Ye.key==="Enter"||Ye.charCode===13){for(var je=arguments.length,vt=new Array(je>2?je-2:0),bt=2;bt<je;bt++)vt[bt-2]=arguments[bt];et.apply(void 0,vt)}},K.runIfEnterPrev=function(Ye){K.runIfEnter(Ye,K.prev)},K.runIfEnterNext=function(Ye){K.runIfEnter(Ye,K.next)},K.runIfEnterJumpPrev=function(Ye){K.runIfEnter(Ye,K.jumpPrev)},K.runIfEnterJumpNext=function(Ye){K.runIfEnter(Ye,K.jumpNext)},K.handleGoTO=function(Ye){(Ye.keyCode===b.ENTER||Ye.type==="click")&&K.handleChange(K.state.currentInputValue)},K.renderPrev=function(Ye){var et=K.props,je=et.prevIcon,vt=et.itemRender,bt=vt(Ye,"prev",K.getItemIcon(je,"prev page")),ht=!K.hasPrev();return(0,L.isValidElement)(bt)?(0,L.cloneElement)(bt,{disabled:ht}):bt},K.renderNext=function(Ye){var et=K.props,je=et.nextIcon,vt=et.itemRender,bt=vt(Ye,"next",K.getItemIcon(je,"next page")),ht=!K.hasNext();return(0,L.isValidElement)(bt)?(0,L.cloneElement)(bt,{disabled:ht}):bt};var we=Z.onChange!==fe,Ke="current"in Z;Ke&&!we&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ke=Z.defaultCurrent;"current"in Z&&(ke=Z.current);var Te=Z.defaultPageSize;return"pageSize"in Z&&(Te=Z.pageSize),ke=Math.min(ke,M(Te,void 0,Z)),K.state={current:ke,currentInputValue:ke,pageSize:Te},K}return(0,ce.Z)(X,[{key:"componentDidUpdate",value:function(K,we){var Ke=this.props.prefixCls;if(we.current!==this.state.current&&this.paginationNode.current){var ke=this.paginationNode.current.querySelector(".".concat(Ke,"-item-").concat(we.current));if(ke&&document.activeElement===ke){var Te;ke==null||(Te=ke.blur)===null||Te===void 0||Te.call(ke)}}}},{key:"getValidValue",value:function(K){var we=K.target.value,Ke=M(void 0,this.state,this.props),ke=this.state.currentInputValue,Te;return we===""?Te=we:Number.isNaN(Number(we))?Te=ke:we>=Ke?Te=Ke:Te=Number(we),Te}},{key:"getShowSizeChanger",value:function(){var K=this.props,we=K.showSizeChanger,Ke=K.total,ke=K.totalBoundaryShowSizeChanger;return typeof we!="undefined"?we:Ke>ke}},{key:"render",value:function(){var K=this.props,we=K.prefixCls,Ke=K.className,ke=K.style,Te=K.disabled,Ye=K.hideOnSinglePage,et=K.total,je=K.locale,vt=K.showQuickJumper,bt=K.showLessItems,ht=K.showTitle,Nt=K.showTotal,_t=K.simple,w=K.itemRender,D=K.showPrevNextJumpers,St=K.jumpPrevIcon,ue=K.jumpNextIcon,Be=K.selectComponentClass,pn=K.selectPrefixCls,Ve=K.pageSizeOptions,nt=this.state,Je=nt.current,Ae=nt.pageSize,De=nt.currentInputValue;if(Ye===!0&&et<=Ae)return null;var ze=M(void 0,this.state,this.props),qe=[],ve=null,an=null,Ge=null,mn=null,_n=null,jt=vt&&vt.goButton,Xt=bt?1:2,Rt=Je-1>0?Je-1:0,Ft=Je+1<ze?Je+1:ze,Ze=(0,ne.Z)(this.props,{aria:!0,data:!0}),Et=Nt&&L.createElement("li",{className:"".concat(we,"-total-text")},Nt(et,[et===0?0:(Je-1)*Ae+1,Je*Ae>et?et:Je*Ae]));if(_t){jt&&(typeof jt=="boolean"?_n=L.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},je.jump_to_confirm):_n=L.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},jt),_n=L.createElement("li",{title:ht?"".concat(je.jump_to).concat(Je,"/").concat(ze):null,className:"".concat(we,"-simple-pager")},_n));var xt=this.renderPrev(Rt);return L.createElement("ul",(0,y.Z)({className:u()(we,"".concat(we,"-simple"),(0,x.Z)({},"".concat(we,"-disabled"),Te),Ke),style:ke,ref:this.paginationNode},Ze),Et,xt?L.createElement("li",{title:ht?je.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:u()("".concat(we,"-prev"),(0,x.Z)({},"".concat(we,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},xt):null,L.createElement("li",{title:ht?"".concat(Je,"/").concat(ze):null,className:"".concat(we,"-simple-pager")},L.createElement("input",{type:"text",value:De,disabled:Te,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),L.createElement("span",{className:"".concat(we,"-slash")},"/"),ze),L.createElement("li",{title:ht?je.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:u()("".concat(we,"-next"),(0,x.Z)({},"".concat(we,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ft)),_n)}if(ze<=3+Xt*2){var Ne={locale:je,rootPrefixCls:we,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ht,itemRender:w};ze||qe.push(L.createElement(me,(0,y.Z)({},Ne,{key:"noPager",page:1,className:"".concat(we,"-item-disabled")})));for(var Ce=1;Ce<=ze;Ce+=1){var mt=Je===Ce;qe.push(L.createElement(me,(0,y.Z)({},Ne,{key:Ce,page:Ce,active:mt})))}}else{var pt=bt?je.prev_3:je.prev_5,Dt=bt?je.next_3:je.next_5,Ht=w(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(St,"prev page")),nn=w(this.getJumpNextPage(),"jump-next",this.getItemIcon(ue,"next page"));D&&(ve=Ht?L.createElement("li",{title:ht?pt:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:u()("".concat(we,"-jump-prev"),(0,x.Z)({},"".concat(we,"-jump-prev-custom-icon"),!!St))},Ht):null,an=nn?L.createElement("li",{title:ht?Dt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:u()("".concat(we,"-jump-next"),(0,x.Z)({},"".concat(we,"-jump-next-custom-icon"),!!ue))},nn):null),mn=L.createElement(me,{locale:je,last:!0,rootPrefixCls:we,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ze,page:ze,active:!1,showTitle:ht,itemRender:w}),Ge=L.createElement(me,{locale:je,rootPrefixCls:we,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ht,itemRender:w});var Kt=Math.max(1,Je-Xt),sn=Math.min(Je+Xt,ze);Je-1<=Xt&&(sn=1+Xt*2),ze-Je<=Xt&&(Kt=ze-Xt*2);for(var un=Kt;un<=sn;un+=1){var Ut=Je===un;qe.push(L.createElement(me,{locale:je,rootPrefixCls:we,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:un,page:un,active:Ut,showTitle:ht,itemRender:w}))}Je-1>=Xt*2&&Je!==3&&(qe[0]=(0,L.cloneElement)(qe[0],{className:"".concat(we,"-item-after-jump-prev")}),qe.unshift(ve)),ze-Je>=Xt*2&&Je!==ze-2&&(qe[qe.length-1]=(0,L.cloneElement)(qe[qe.length-1],{className:"".concat(we,"-item-before-jump-next")}),qe.push(an)),Kt!==1&&qe.unshift(Ge),sn!==ze&&qe.push(mn)}var kt=!this.hasPrev()||!ze,ln=!this.hasNext()||!ze,dn=this.renderPrev(Rt),hn=this.renderNext(Ft);return L.createElement("ul",(0,y.Z)({className:u()(we,Ke,(0,x.Z)({},"".concat(we,"-disabled"),Te)),style:ke,ref:this.paginationNode},Ze),Et,dn?L.createElement("li",{title:ht?je.prev_page:null,onClick:this.prev,tabIndex:kt?null:0,onKeyPress:this.runIfEnterPrev,className:u()("".concat(we,"-prev"),(0,x.Z)({},"".concat(we,"-disabled"),kt)),"aria-disabled":kt},dn):null,qe,hn?L.createElement("li",{title:ht?je.next_page:null,onClick:this.next,tabIndex:ln?null:0,onKeyPress:this.runIfEnterNext,className:u()("".concat(we,"-next"),(0,x.Z)({},"".concat(we,"-disabled"),ln)),"aria-disabled":ln},hn):null,L.createElement(j,{disabled:Te,locale:je,rootPrefixCls:we,selectComponentClass:Be,selectPrefixCls:pn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Je,pageSize:Ae,pageSizeOptions:Ve,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:jt}))}}],[{key:"getDerivedStateFromProps",value:function(K,we){var Ke={};if("current"in K&&(Ke.current=K.current,K.current!==we.current&&(Ke.currentInputValue=Ke.current)),"pageSize"in K&&K.pageSize!==we.pageSize){var ke=we.current,Te=M(K.pageSize,we,K);ke=ke>Te?Te:ke,"current"in K||(Ke.current=ke,Ke.currentInputValue=ke),Ke.pageSize=K.pageSize}return Ke}}]),X}(L.Component);he.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:fe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:fe,locale:R.Z,style:{},itemRender:te,totalBoundaryShowSizeChanger:50};var Q=he,de=f(22075),ie=f(36355),v=f(19716),_=f(8628),V=f(9763),J=f(57809);const Le=E=>L.createElement(J.default,Object.assign({},E,{showSearch:!0,size:"small"})),Oe=E=>L.createElement(J.default,Object.assign({},E,{showSearch:!0,size:"middle"}));Le.Option=J.default.Option,Oe.Option=J.default.Option;var Ie=f(9937),$e=f(17313),lt=f(83116),ut=f(37613);const it=E=>{const{componentCls:T}=E;return{[`${T}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${T}-item-link`]:{color:E.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${T}-item-link`]:{color:E.colorTextDisabled,cursor:"not-allowed"}}},[`&${T}-disabled`]:{cursor:"not-allowed",[`${T}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:E.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:E.colorBorder,backgroundColor:E.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:E.itemActiveBgDisabled},a:{color:E.itemActiveColorDisabled}}},[`${T}-item-link`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${T}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${T}-simple-pager`]:{color:E.colorTextDisabled},[`${T}-jump-prev, ${T}-jump-next`]:{[`${T}-item-link-icon`]:{opacity:0},[`${T}-item-ellipsis`]:{opacity:1}}},[`&${T}-simple`]:{[`${T}-prev, ${T}-next`]:{[`&${T}-disabled ${T}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Pt=E=>{const{componentCls:T}=E;return{[`&${T}-mini ${T}-total-text, &${T}-mini ${T}-simple-pager`]:{height:E.itemSizeSM,lineHeight:`${E.itemSizeSM}px`},[`&${T}-mini ${T}-item`]:{minWidth:E.itemSizeSM,height:E.itemSizeSM,margin:0,lineHeight:`${E.itemSizeSM-2}px`},[`&${T}-mini:not(${T}-disabled) ${T}-item:not(${T}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:E.colorBgTextHover},"&:active":{backgroundColor:E.colorBgTextActive}},[`&${T}-mini ${T}-prev, &${T}-mini ${T}-next`]:{minWidth:E.itemSizeSM,height:E.itemSizeSM,margin:0,lineHeight:`${E.itemSizeSM}px`},[`&${T}-mini:not(${T}-disabled)`]:{[`${T}-prev, ${T}-next`]:{[`&:hover ${T}-item-link`]:{backgroundColor:E.colorBgTextHover},[`&:active ${T}-item-link`]:{backgroundColor:E.colorBgTextActive},[`&${T}-disabled:hover ${T}-item-link`]:{backgroundColor:"transparent"}}},[`
&${T}-mini ${T}-prev ${T}-item-link,
&${T}-mini ${T}-next ${T}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:E.itemSizeSM,lineHeight:`${E.itemSizeSM}px`}},[`&${T}-mini ${T}-jump-prev, &${T}-mini ${T}-jump-next`]:{height:E.itemSizeSM,marginInlineEnd:0,lineHeight:`${E.itemSizeSM}px`},[`&${T}-mini ${T}-options`]:{marginInlineStart:E.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:E.miniOptionsSizeChangerTop},"&-quick-jumper":{height:E.itemSizeSM,lineHeight:`${E.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ie.x0)(E)),{width:E.paginationMiniQuickJumperInputWidth,height:E.controlHeightSM})}}}},Jt=E=>{const{componentCls:T}=E;return{[`
&${T}-simple ${T}-prev,
&${T}-simple ${T}-next
`]:{height:E.itemSizeSM,lineHeight:`${E.itemSizeSM}px`,verticalAlign:"top",[`${T}-item-link`]:{height:E.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:E.colorBgTextHover},"&:active":{backgroundColor:E.colorBgTextActive},"&::after":{height:E.itemSizeSM,lineHeight:`${E.itemSizeSM}px`}}},[`&${T}-simple ${T}-simple-pager`]:{display:"inline-block",height:E.itemSizeSM,marginInlineEnd:E.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:E.marginXS,padding:`0 ${E.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:E.itemInputBg,border:`${E.lineWidth}px ${E.lineType} ${E.colorBorder}`,borderRadius:E.borderRadius,outline:"none",transition:`border-color ${E.motionDurationMid}`,color:"inherit","&:hover":{borderColor:E.colorPrimary},"&:focus":{borderColor:E.colorPrimaryHover,boxShadow:`${E.inputOutlineOffset}px 0 ${E.controlOutlineWidth}px ${E.controlOutline}`},"&[disabled]":{color:E.colorTextDisabled,backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,cursor:"not-allowed"}}}}},rn=E=>{const{componentCls:T}=E;return{[`${T}-jump-prev, ${T}-jump-next`]:{outline:0,[`${T}-item-container`]:{position:"relative",[`${T}-item-link-icon`]:{color:E.colorPrimary,fontSize:E.fontSizeSM,opacity:0,transition:`all ${E.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${T}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:E.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:E.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:E.paginationEllipsisTextIndent,opacity:1,transition:`all ${E.motionDurationMid}`}},"&:hover":{[`${T}-item-link-icon`]:{opacity:1},[`${T}-item-ellipsis`]:{opacity:0}}},[`
${T}-prev,
${T}-jump-prev,
${T}-jump-next
`]:{marginInlineEnd:E.marginXS},[`
${T}-prev,
${T}-next,
${T}-jump-prev,
${T}-jump-next
`]:{display:"inline-block",minWidth:E.itemSize,height:E.itemSize,color:E.colorText,fontFamily:E.fontFamily,lineHeight:`${E.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.motionDurationMid}`},[`${T}-prev, ${T}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:E.colorText,cursor:"pointer",userSelect:"none"},[`${T}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:E.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${E.lineWidth}px ${E.lineType} transparent`,borderRadius:E.borderRadius,outline:"none",transition:`all ${E.motionDurationMid}`},[`&:hover ${T}-item-link`]:{backgroundColor:E.colorBgTextHover},[`&:active ${T}-item-link`]:{backgroundColor:E.colorBgTextActive},[`&${T}-disabled:hover`]:{[`${T}-item-link`]:{backgroundColor:"transparent"}}},[`${T}-slash`]:{marginInlineEnd:E.paginationSlashMarginInlineEnd,marginInlineStart:E.paginationSlashMarginInlineStart},[`${T}-options`]:{display:"inline-block",marginInlineStart:E.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:E.controlHeight,marginInlineStart:E.marginXS,lineHeight:`${E.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ie.ik)(E)),{width:E.controlHeightLG*1.25,height:E.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:E.marginXS,marginInlineEnd:E.marginXS})}}}},It=E=>{const{componentCls:T}=E;return{[`${T}-item`]:{display:"inline-block",minWidth:E.itemSize,height:E.itemSize,marginInlineEnd:E.marginXS,fontFamily:E.fontFamily,lineHeight:`${E.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${E.lineWidth}px ${E.lineType} transparent`,borderRadius:E.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${E.paginationItemPaddingInline}px`,color:E.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${T}-item-active)`]:{"&:hover":{transition:`all ${E.motionDurationMid}`,backgroundColor:E.colorBgTextHover},"&:active":{backgroundColor:E.colorBgTextActive}},"&-active":{fontWeight:E.fontWeightStrong,backgroundColor:E.itemActiveBg,borderColor:E.colorPrimary,a:{color:E.colorPrimary},"&:hover":{borderColor:E.colorPrimaryHover},"&:hover a":{color:E.colorPrimaryHover}}}}},Zt=E=>{const{componentCls:T}=E;return{[T]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(E)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${T}-total-text`]:{display:"inline-block",height:E.itemSize,marginInlineEnd:E.marginXS,lineHeight:`${E.itemSize-2}px`,verticalAlign:"middle"}}),It(E)),rn(E)),Jt(E)),Pt(E)),it(E)),{[`@media only screen and (max-width: ${E.screenLG}px)`]:{[`${T}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${E.screenSM}px)`]:{[`${T}-options`]:{display:"none"}}}),[`&${E.componentCls}-rtl`]:{direction:"rtl"}}},ot=E=>{const{componentCls:T}=E;return{[`${T}${T}-disabled:not(${T}-mini)`]:{"&, &:hover":{[`${T}-item-link`]:{borderColor:E.colorBorder}},"&:focus-visible":{[`${T}-item-link`]:{borderColor:E.colorBorder}},[`${T}-item, ${T}-item-link`]:{backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,[`&:hover:not(${T}-item-active)`]:{backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,a:{color:E.colorTextDisabled}},[`&${T}-item-active`]:{backgroundColor:E.itemActiveBgDisabled}},[`${T}-prev, ${T}-next`]:{"&:hover button":{backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,color:E.colorTextDisabled},[`${T}-item-link`]:{backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder}}},[`${T}:not(${T}-mini)`]:{[`${T}-prev, ${T}-next`]:{"&:hover button":{borderColor:E.colorPrimaryHover,backgroundColor:E.itemBg},[`${T}-item-link`]:{backgroundColor:E.itemLinkBg,borderColor:E.colorBorder},[`&:hover ${T}-item-link`]:{borderColor:E.colorPrimary,backgroundColor:E.itemBg,color:E.colorPrimary},[`&${T}-disabled`]:{[`${T}-item-link`]:{borderColor:E.colorBorder,color:E.colorTextDisabled}}},[`${T}-item`]:{backgroundColor:E.itemBg,border:`${E.lineWidth}px ${E.lineType} ${E.colorBorder}`,[`&:hover:not(${T}-item-active)`]:{borderColor:E.colorPrimary,backgroundColor:E.itemBg,a:{color:E.colorPrimary}},"&-active":{borderColor:E.colorPrimary}}}}},se=E=>{const{componentCls:T}=E;return{[`${T}:not(${T}-disabled)`]:{[`${T}-item`]:Object.assign({},(0,$e.Qy)(E)),[`${T}-jump-prev, ${T}-jump-next`]:{"&:focus-visible":Object.assign({[`${T}-item-link-icon`]:{opacity:1},[`${T}-item-ellipsis`]:{opacity:0}},(0,$e.oN)(E))},[`${T}-prev, ${T}-next`]:{[`&:focus-visible ${T}-item-link`]:Object.assign({},(0,$e.oN)(E))}}}};var be=(0,lt.Z)("Pagination",E=>{const T=(0,ut.TS)(E,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:E.marginXXS/2,paginationMiniQuickJumperInputWidth:E.controlHeightLG*1.1,paginationItemPaddingInline:E.marginXXS*1.5,paginationEllipsisLetterSpacing:E.marginXXS/2,paginationSlashMarginInlineStart:E.marginXXS,paginationSlashMarginInlineEnd:E.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ie.e5)(E),(0,Ie.TM)(E));return[Zt(T),se(T),E.wireframe&&ot(T)]},E=>({itemBg:E.colorBgContainer,itemSize:E.controlHeight,itemSizeSM:E.controlHeightSM,itemActiveBg:E.colorBgContainer,itemLinkBg:E.colorBgContainer,itemActiveColorDisabled:E.colorTextDisabled,itemActiveBgDisabled:E.controlItemBgActiveDisabled,itemInputBg:E.colorBgContainer,miniOptionsSizeChangerTop:0})),H=function(E,T){var X={};for(var Z in E)Object.prototype.hasOwnProperty.call(E,Z)&&T.indexOf(Z)<0&&(X[Z]=E[Z]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,Z=Object.getOwnPropertySymbols(E);K<Z.length;K++)T.indexOf(Z[K])<0&&Object.prototype.propertyIsEnumerable.call(E,Z[K])&&(X[Z[K]]=E[Z[K]]);return X},xe=E=>{const{prefixCls:T,selectPrefixCls:X,className:Z,rootClassName:K,style:we,size:Ke,locale:ke,selectComponentClass:Te,responsive:Ye,showSizeChanger:et}=E,je=H(E,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:vt}=(0,_.Z)(Ye),{getPrefixCls:bt,direction:ht,pagination:Nt={}}=L.useContext(ie.E_),_t=bt("pagination",T),[w,D]=be(_t),St=et!=null?et:Nt.showSizeChanger,ue=L.useMemo(()=>{const ze=L.createElement("span",{className:`${_t}-item-ellipsis`},"\u2022\u2022\u2022"),qe=L.createElement("button",{className:`${_t}-item-link`,type:"button",tabIndex:-1},ht==="rtl"?L.createElement(z.Z,null):L.createElement(I.Z,null)),ve=L.createElement("button",{className:`${_t}-item-link`,type:"button",tabIndex:-1},ht==="rtl"?L.createElement(I.Z,null):L.createElement(z.Z,null)),an=L.createElement("a",{className:`${_t}-item-link`},L.createElement("div",{className:`${_t}-item-container`},ht==="rtl"?L.createElement(a.Z,{className:`${_t}-item-link-icon`}):L.createElement(Se,{className:`${_t}-item-link-icon`}),ze)),Ge=L.createElement("a",{className:`${_t}-item-link`},L.createElement("div",{className:`${_t}-item-container`},ht==="rtl"?L.createElement(Se,{className:`${_t}-item-link-icon`}):L.createElement(a.Z,{className:`${_t}-item-link-icon`}),ze));return{prevIcon:qe,nextIcon:ve,jumpPrevIcon:an,jumpNextIcon:Ge}},[ht,_t]),[Be]=(0,V.Z)("Pagination",de.Z),pn=Object.assign(Object.assign({},Be),ke),Ve=(0,v.Z)(Ke),nt=Ve==="small"||!!(vt&&!Ve&&Ye),Je=bt("select",X),Ae=u()({[`${_t}-mini`]:nt,[`${_t}-rtl`]:ht==="rtl"},Nt==null?void 0:Nt.className,Z,K,D),De=Object.assign(Object.assign({},Nt==null?void 0:Nt.style),we);return w(L.createElement(Q,Object.assign({},ue,je,{style:De,prefixCls:_t,selectPrefixCls:Je,className:Ae,selectComponentClass:Te||(nt?Le:Oe),locale:pn,showSizeChanger:St})))},k=xe},5112:function(tn,tt,f){"use strict";f.d(tt,{ZP:function(){return _}});var y=f(92310),L=f.n(y),ee=f(18929),Ee=f(26112),$=f(59301),q=f(36355),C=f(19716);const Se=$.createContext(null),a=Se.Provider;var I=Se;const z=$.createContext(null),S=z.Provider;var u=f(5630),x=f(8654),m=f(1684),P=f(32441),ce=f(17313),U=f(83116),W=f(37613);const ne=V=>{const{componentCls:J,antCls:Le}=V,Oe=`${J}-group`;return{[Oe]:Object.assign(Object.assign({},(0,ce.Wf)(V)),{display:"inline-block",fontSize:0,[`&${Oe}-rtl`]:{direction:"rtl"},[`${Le}-badge ${Le}-badge-count`]:{zIndex:1},[`> ${Le}-badge:not(:first-child) > ${Le}-button-wrapper`]:{borderInlineStart:"none"}})}},Y=V=>{const{componentCls:J,wrapperMarginInlineEnd:Le,colorPrimary:Oe,radioSize:Ie,motionDurationSlow:$e,motionDurationMid:lt,motionEaseInOutCirc:ut,colorBgContainer:it,colorBorder:Pt,lineWidth:Jt,dotSize:rn,colorBgContainerDisabled:It,colorTextDisabled:Zt,paddingXS:ot,dotColorDisabled:se,lineType:be,radioDotDisabledSize:H,wireframe:O,colorWhite:xe}=V,k=`${J}-inner`;return{[`${J}-wrapper`]:Object.assign(Object.assign({},(0,ce.Wf)(V)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:Le,cursor:"pointer",[`&${J}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:V.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${J}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Jt}px ${be} ${Oe}`,borderRadius:"50%",visibility:"hidden",content:'""'},[J]:Object.assign(Object.assign({},(0,ce.Wf)(V)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${J}-wrapper:hover &,
&:hover ${k}`]:{borderColor:Oe},[`${J}-input:focus-visible + ${k}`]:Object.assign({},(0,ce.oN)(V)),[`${J}:hover::after, ${J}-wrapper:hover &::after`]:{visibility:"visible"},[`${J}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Ie,height:Ie,marginBlockStart:Ie/-2,marginInlineStart:Ie/-2,backgroundColor:O?Oe:xe,borderBlockStart:0,borderInlineStart:0,borderRadius:Ie,transform:"scale(0)",opacity:0,transition:`all ${$e} ${ut}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Ie,height:Ie,backgroundColor:it,borderColor:Pt,borderStyle:"solid",borderWidth:Jt,borderRadius:"50%",transition:`all ${lt}`},[`${J}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${J}-checked`]:{[k]:{borderColor:Oe,backgroundColor:O?it:Oe,"&::after":{transform:`scale(${rn/Ie})`,opacity:1,transition:`all ${$e} ${ut}`}}},[`${J}-disabled`]:{cursor:"not-allowed",[k]:{backgroundColor:It,borderColor:Pt,cursor:"not-allowed","&::after":{backgroundColor:se}},[`${J}-input`]:{cursor:"not-allowed"},[`${J}-disabled + span`]:{color:Zt,cursor:"not-allowed"},[`&${J}-checked`]:{[k]:{"&::after":{transform:`scale(${H/Ie})`}}}},[`span${J} + *`]:{paddingInlineStart:ot,paddingInlineEnd:ot}})}},b=V=>{const{buttonColor:J,controlHeight:Le,componentCls:Oe,lineWidth:Ie,lineType:$e,colorBorder:lt,motionDurationSlow:ut,motionDurationMid:it,buttonPaddingInline:Pt,fontSize:Jt,buttonBg:rn,fontSizeLG:It,controlHeightLG:Zt,controlHeightSM:ot,paddingXS:se,borderRadius:be,borderRadiusSM:H,borderRadiusLG:O,buttonCheckedBg:xe,buttonSolidCheckedColor:k,colorTextDisabled:E,colorBgContainerDisabled:T,buttonCheckedBgDisabled:X,buttonCheckedColorDisabled:Z,colorPrimary:K,colorPrimaryHover:we,colorPrimaryActive:Ke,buttonSolidCheckedBg:ke,buttonSolidCheckedHoverBg:Te,buttonSolidCheckedActiveBg:Ye}=V;return{[`${Oe}-button-wrapper`]:{position:"relative",display:"inline-block",height:Le,margin:0,paddingInline:Pt,paddingBlock:0,color:J,fontSize:Jt,lineHeight:`${Le-Ie*2}px`,background:rn,border:`${Ie}px ${$e} ${lt}`,borderBlockStartWidth:Ie+.02,borderInlineStartWidth:0,borderInlineEndWidth:Ie,cursor:"pointer",transition:[`color ${it}`,`background ${it}`,`box-shadow ${it}`].join(","),a:{color:J},[`> ${Oe}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Ie,insetInlineStart:-Ie,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Ie,paddingInline:0,backgroundColor:lt,transition:`background-color ${ut}`,content:'""'}},"&:first-child":{borderInlineStart:`${Ie}px ${$e} ${lt}`,borderStartStartRadius:be,borderEndStartRadius:be},"&:last-child":{borderStartEndRadius:be,borderEndEndRadius:be},"&:first-child:last-child":{borderRadius:be},[`${Oe}-group-large &`]:{height:Zt,fontSize:It,lineHeight:`${Zt-Ie*2}px`,"&:first-child":{borderStartStartRadius:O,borderEndStartRadius:O},"&:last-child":{borderStartEndRadius:O,borderEndEndRadius:O}},[`${Oe}-group-small &`]:{height:ot,paddingInline:se-Ie,paddingBlock:0,lineHeight:`${ot-Ie*2}px`,"&:first-child":{borderStartStartRadius:H,borderEndStartRadius:H},"&:last-child":{borderStartEndRadius:H,borderEndEndRadius:H}},"&:hover":{position:"relative",color:K},"&:has(:focus-visible)":Object.assign({},(0,ce.oN)(V)),[`${Oe}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Oe}-button-wrapper-disabled)`]:{zIndex:1,color:K,background:xe,borderColor:K,"&::before":{backgroundColor:K},"&:first-child":{borderColor:K},"&:hover":{color:we,borderColor:we,"&::before":{backgroundColor:we}},"&:active":{color:Ke,borderColor:Ke,"&::before":{backgroundColor:Ke}}},[`${Oe}-group-solid &-checked:not(${Oe}-button-wrapper-disabled)`]:{color:k,background:ke,borderColor:ke,"&:hover":{color:k,background:Te,borderColor:Te},"&:active":{color:k,background:Ye,borderColor:Ye}},"&-disabled":{color:E,backgroundColor:T,borderColor:lt,cursor:"not-allowed","&:first-child, &:hover":{color:E,backgroundColor:T,borderColor:lt}},[`&-disabled${Oe}-button-wrapper-checked`]:{color:Z,backgroundColor:X,borderColor:lt,boxShadow:"none"}}}},R=V=>V-4*2;var G=(0,U.Z)("Radio",V=>{const{controlOutline:J,controlOutlineWidth:Le,radioSize:Oe}=V,Ie=`0 0 0 ${Le}px ${J}`,$e=Ie,lt=R(Oe),ut=(0,W.TS)(V,{radioDotDisabledSize:lt,radioFocusShadow:Ie,radioButtonFocusShadow:$e});return[ne(ut),Y(ut),b(ut)]},V=>{const{wireframe:J,padding:Le,marginXS:Oe,lineWidth:Ie,fontSizeLG:$e,colorText:lt,colorBgContainer:ut,colorTextDisabled:it,controlItemBgActiveDisabled:Pt,colorTextLightSolid:Jt,colorPrimary:rn,colorPrimaryHover:It,colorPrimaryActive:Zt}=V,ot=4,se=$e,be=J?R(se):se-(ot+Ie)*2;return{radioSize:se,dotSize:be,dotColorDisabled:it,buttonSolidCheckedColor:Jt,buttonSolidCheckedBg:rn,buttonSolidCheckedHoverBg:It,buttonSolidCheckedActiveBg:Zt,buttonBg:ut,buttonCheckedBg:ut,buttonColor:lt,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:it,buttonPaddingInline:Le-Ie,wrapperMarginInlineEnd:Oe}}),j=f(14088),pe=f(4572),me=function(V,J){var Le={};for(var Oe in V)Object.prototype.hasOwnProperty.call(V,Oe)&&J.indexOf(Oe)<0&&(Le[Oe]=V[Oe]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Oe=Object.getOwnPropertySymbols(V);Ie<Oe.length;Ie++)J.indexOf(Oe[Ie])<0&&Object.prototype.propertyIsEnumerable.call(V,Oe[Ie])&&(Le[Oe[Ie]]=V[Oe[Ie]]);return Le};const fe=(V,J)=>{var Le,Oe;const Ie=$.useContext(I),$e=$.useContext(z),{getPrefixCls:lt,direction:ut,radio:it}=$.useContext(q.E_),Pt=$.useRef(null),Jt=(0,x.sQ)(J,Pt),{isFormItemInput:rn}=$.useContext(P.aM),It=Ke=>{var ke,Te;(ke=V.onChange)===null||ke===void 0||ke.call(V,Ke),(Te=Ie==null?void 0:Ie.onChange)===null||Te===void 0||Te.call(Ie,Ke)},{prefixCls:Zt,className:ot,rootClassName:se,children:be,style:H}=V,O=me(V,["prefixCls","className","rootClassName","children","style"]),xe=lt("radio",Zt),k=((Ie==null?void 0:Ie.optionType)||$e)==="button",E=k?`${xe}-button`:xe,[T,X]=G(xe),Z=Object.assign({},O),K=$.useContext(m.Z);Ie&&(Z.name=Ie.name,Z.onChange=It,Z.checked=V.value===Ie.value,Z.disabled=(Le=Z.disabled)!==null&&Le!==void 0?Le:Ie.disabled),Z.disabled=(Oe=Z.disabled)!==null&&Oe!==void 0?Oe:K;const we=L()(`${E}-wrapper`,{[`${E}-wrapper-checked`]:Z.checked,[`${E}-wrapper-disabled`]:Z.disabled,[`${E}-wrapper-rtl`]:ut==="rtl",[`${E}-wrapper-in-form-item`]:rn},it==null?void 0:it.className,ot,se,X);return T($.createElement(j.Z,{component:"Radio",disabled:Z.disabled},$.createElement("label",{className:we,style:Object.assign(Object.assign({},it==null?void 0:it.style),H),onMouseEnter:V.onMouseEnter,onMouseLeave:V.onMouseLeave},$.createElement(u.Z,Object.assign({},Z,{className:L()(Z.className,!k&&pe.A),type:"radio",prefixCls:E,ref:Jt})),be!==void 0?$.createElement("span",null,be):null)))};var te=$.forwardRef(fe);const M=$.forwardRef((V,J)=>{const{getPrefixCls:Le,direction:Oe}=$.useContext(q.E_),[Ie,$e]=(0,ee.Z)(V.defaultValue,{value:V.value}),lt=ke=>{const Te=Ie,Ye=ke.target.value;"value"in V||$e(Ye);const{onChange:et}=V;et&&Ye!==Te&&et(ke)},{prefixCls:ut,className:it,rootClassName:Pt,options:Jt,buttonStyle:rn="outline",disabled:It,children:Zt,size:ot,style:se,id:be,onMouseEnter:H,onMouseLeave:O,onFocus:xe,onBlur:k}=V,E=Le("radio",ut),T=`${E}-group`,[X,Z]=G(E);let K=Zt;Jt&&Jt.length>0&&(K=Jt.map(ke=>typeof ke=="string"||typeof ke=="number"?$.createElement(te,{key:ke.toString(),prefixCls:E,disabled:It,value:ke,checked:Ie===ke},ke):$.createElement(te,{key:`radio-group-value-options-${ke.value}`,prefixCls:E,disabled:ke.disabled||It,value:ke.value,checked:Ie===ke.value,title:ke.title,style:ke.style},ke.label)));const we=(0,C.Z)(ot),Ke=L()(T,`${T}-${rn}`,{[`${T}-${we}`]:we,[`${T}-rtl`]:Oe==="rtl"},it,Pt,Z);return X($.createElement("div",Object.assign({},(0,Ee.Z)(V,{aria:!0,data:!0}),{className:Ke,style:se,onMouseEnter:H,onMouseLeave:O,onFocus:xe,onBlur:k,id:be,ref:J}),$.createElement(a,{value:{onChange:lt,value:Ie,disabled:V.disabled,name:V.name,optionType:V.optionType}},K)))});var he=$.memo(M),Q=function(V,J){var Le={};for(var Oe in V)Object.prototype.hasOwnProperty.call(V,Oe)&&J.indexOf(Oe)<0&&(Le[Oe]=V[Oe]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Oe=Object.getOwnPropertySymbols(V);Ie<Oe.length;Ie++)J.indexOf(Oe[Ie])<0&&Object.prototype.propertyIsEnumerable.call(V,Oe[Ie])&&(Le[Oe[Ie]]=V[Oe[Ie]]);return Le};const de=(V,J)=>{const{getPrefixCls:Le}=$.useContext(q.E_),{prefixCls:Oe}=V,Ie=Q(V,["prefixCls"]),$e=Le("radio",Oe);return $.createElement(S,{value:"button"},$.createElement(te,Object.assign({prefixCls:$e},Ie,{type:"radio",ref:J})))};var ie=$.forwardRef(de);const v=te;v.Button=ie,v.Group=he,v.__ANT_RADIO=!0;var _=v},13570:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return V}});var y=f(92413),L=f(59301),ee={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ee=ee,$=f(7657),q=function(Le,Oe){return L.createElement($.Z,(0,y.Z)({},Le,{ref:Oe,icon:Ee}))},C=L.forwardRef(q),Se=C,a=f(92310),I=f.n(a),z=f(400),S=f(33606),u=f(37061),x=f(18929),m=f(10228),P=f(26112);function ce(J,Le){var Oe=J.disabled,Ie=J.prefixCls,$e=J.character,lt=J.characterRender,ut=J.index,it=J.count,Pt=J.value,Jt=J.allowHalf,rn=J.focused,It=J.onHover,Zt=J.onClick,ot=function(T){It(T,ut)},se=function(T){Zt(T,ut)},be=function(T){T.keyCode===m.Z.ENTER&&Zt(T,ut)},H=ut+1,O=new Set([Ie]);Pt===0&&ut===0&&rn?O.add("".concat(Ie,"-focused")):Jt&&Pt+.5>=H&&Pt<H?(O.add("".concat(Ie,"-half")),O.add("".concat(Ie,"-active")),rn&&O.add("".concat(Ie,"-focused"))):(H<=Pt?O.add("".concat(Ie,"-full")):O.add("".concat(Ie,"-zero")),H===Pt&&rn&&O.add("".concat(Ie,"-focused")));var xe=typeof $e=="function"?$e(J):$e,k=L.createElement("li",{className:I()(Array.from(O)),ref:Le},L.createElement("div",{onClick:Oe?null:se,onKeyDown:Oe?null:be,onMouseMove:Oe?null:ot,role:"radio","aria-checked":Pt>ut?"true":"false","aria-posinset":ut+1,"aria-setsize":it,tabIndex:Oe?-1:0},L.createElement("div",{className:"".concat(Ie,"-first")},xe),L.createElement("div",{className:"".concat(Ie,"-second")},xe)));return lt&&(k=lt(k,J)),k}var U=L.forwardRef(ce);function W(){var J=L.useRef({});function Le(Ie){return J.current[Ie]}function Oe(Ie){return function($e){J.current[Ie]=$e}}return[Le,Oe]}function ne(J){var Le=J.pageXOffset,Oe="scrollLeft";if(typeof Le!="number"){var Ie=J.document;Le=Ie.documentElement[Oe],typeof Le!="number"&&(Le=Ie.body[Oe])}return Le}function Y(J){var Le,Oe,Ie=J.ownerDocument,$e=Ie.body,lt=Ie&&Ie.documentElement,ut=J.getBoundingClientRect();return Le=ut.left,Oe=ut.top,Le-=lt.clientLeft||$e.clientLeft||0,Oe-=lt.clientTop||$e.clientTop||0,{left:Le,top:Oe}}function b(J){var Le=Y(J),Oe=J.ownerDocument,Ie=Oe.defaultView||Oe.parentWindow;return Le.left+=ne(Ie),Le.left}var R=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function G(J,Le){var Oe,Ie=J.prefixCls,$e=Ie===void 0?"rc-rate":Ie,lt=J.className,ut=J.defaultValue,it=J.value,Pt=J.count,Jt=Pt===void 0?5:Pt,rn=J.allowHalf,It=rn===void 0?!1:rn,Zt=J.allowClear,ot=Zt===void 0?!0:Zt,se=J.character,be=se===void 0?"\u2605":se,H=J.characterRender,O=J.disabled,xe=J.direction,k=xe===void 0?"ltr":xe,E=J.tabIndex,T=E===void 0?0:E,X=J.autoFocus,Z=J.onHoverChange,K=J.onChange,we=J.onFocus,Ke=J.onBlur,ke=J.onKeyDown,Te=J.onMouseLeave,Ye=(0,u.Z)(J,R),et=W(),je=(0,S.Z)(et,2),vt=je[0],bt=je[1],ht=L.useRef(null),Nt=function(){if(!O){var Ce;(Ce=ht.current)===null||Ce===void 0||Ce.focus()}};L.useImperativeHandle(Le,function(){return{focus:Nt,blur:function(){if(!O){var Ce;(Ce=ht.current)===null||Ce===void 0||Ce.blur()}}}});var _t=(0,x.Z)(ut||0,{value:it}),w=(0,S.Z)(_t,2),D=w[0],St=w[1],ue=(0,x.Z)(null),Be=(0,S.Z)(ue,2),pn=Be[0],Ve=Be[1],nt=function(Ce,mt){var pt=k==="rtl",Dt=Ce+1;if(It){var Ht=vt(Ce),nn=b(Ht),Kt=Ht.clientWidth;(pt&&mt-nn>Kt/2||!pt&&mt-nn<Kt/2)&&(Dt-=.5)}return Dt},Je=function(Ce){St(Ce),K==null||K(Ce)},Ae=L.useState(!1),De=(0,S.Z)(Ae,2),ze=De[0],qe=De[1],ve=function(){qe(!0),we==null||we()},an=function(){qe(!1),Ke==null||Ke()},Ge=L.useState(null),mn=(0,S.Z)(Ge,2),_n=mn[0],jt=mn[1],Xt=function(Ce,mt){var pt=nt(mt,Ce.pageX);pt!==pn&&(jt(pt),Ve(null)),Z==null||Z(pt)},Rt=function(Ce){O||(jt(null),Ve(null),Z==null||Z(void 0)),Ce&&(Te==null||Te(Ce))},Ft=function(Ce,mt){var pt=nt(mt,Ce.pageX),Dt=!1;ot&&(Dt=pt===D),Rt(),Je(Dt?0:pt),Ve(Dt?pt:null)},Ze=function(Ce){var mt=Ce.keyCode,pt=k==="rtl",Dt=D;mt===m.Z.RIGHT&&Dt<Jt&&!pt?(It?Dt+=.5:Dt+=1,Je(Dt),Ce.preventDefault()):mt===m.Z.LEFT&&Dt>0&&!pt||mt===m.Z.RIGHT&&Dt>0&&pt?(It?Dt-=.5:Dt-=1,Je(Dt),Ce.preventDefault()):mt===m.Z.LEFT&&Dt<Jt&&pt&&(It?Dt+=.5:Dt+=1,Je(Dt),Ce.preventDefault()),ke==null||ke(Ce)};L.useEffect(function(){X&&!O&&Nt()},[]);var Et=new Array(Jt).fill(0).map(function(Ne,Ce){return L.createElement(U,{ref:bt(Ce),index:Ce,count:Jt,disabled:O,prefixCls:"".concat($e,"-star"),allowHalf:It,value:_n===null?D:_n,onClick:Ft,onHover:Xt,key:Ne||Ce,character:be,characterRender:H,focused:ze})}),xt=I()($e,lt,(Oe={},(0,z.Z)(Oe,"".concat($e,"-disabled"),O),(0,z.Z)(Oe,"".concat($e,"-rtl"),k==="rtl"),Oe));return L.createElement("ul",(0,y.Z)({className:xt,onMouseLeave:Rt,tabIndex:O?-1:T,onFocus:O?null:ve,onBlur:O?null:an,onKeyDown:O?null:Ze,ref:ht,role:"radiogroup"},(0,P.Z)(Ye,{aria:!0,data:!0,attr:!0})),Et)}var j=L.forwardRef(G),pe=j,me=f(36355),fe=f(6848),ae=f(17313),te=f(83116),M=f(37613);const he=J=>{const{componentCls:Le}=J;return{[`${Le}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:J.marginXS},"> div":{transition:`all ${J.motionDurationMid}, outline 0s`,"&:hover":{transform:J.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${J.lineWidth}px dashed ${J.starColor}`,transform:J.starHoverScale}},"&-first, &-second":{color:J.starBg,transition:`all ${J.motionDurationMid}`,userSelect:"none",[J.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Le}-star-first, &-half ${Le}-star-second`]:{opacity:1},[`&-half ${Le}-star-first, &-full ${Le}-star-second`]:{color:"inherit"}}}},Q=J=>({[`&-rtl${J.componentCls}`]:{direction:"rtl"}}),de=J=>{const{componentCls:Le}=J;return{[Le]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ae.Wf)(J)),{display:"inline-block",margin:0,padding:0,color:J.starColor,fontSize:J.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Le} ${Le}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),he(J)),{[`+ ${Le}-text`]:{display:"inline-block",marginInlineStart:J.marginXS,fontSize:J.fontSize}}),Q(J))}};var ie=(0,te.Z)("Rate",J=>{const Le=(0,M.TS)(J,{});return[de(Le)]},J=>({starColor:J.yellow6,starSize:J.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:J.colorFillContent})),v=function(J,Le){var Oe={};for(var Ie in J)Object.prototype.hasOwnProperty.call(J,Ie)&&Le.indexOf(Ie)<0&&(Oe[Ie]=J[Ie]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,Ie=Object.getOwnPropertySymbols(J);$e<Ie.length;$e++)Le.indexOf(Ie[$e])<0&&Object.prototype.propertyIsEnumerable.call(J,Ie[$e])&&(Oe[Ie[$e]]=J[Ie[$e]]);return Oe},V=L.forwardRef((J,Le)=>{const{prefixCls:Oe,className:Ie,rootClassName:$e,style:lt,tooltips:ut,character:it=L.createElement(Se,null)}=J,Pt=v(J,["prefixCls","className","rootClassName","style","tooltips","character"]),Jt=(O,xe)=>{let{index:k}=xe;return ut?L.createElement(fe.Z,{title:ut[k]},O):O},{getPrefixCls:rn,direction:It,rate:Zt}=L.useContext(me.E_),ot=rn("rate",Oe),[se,be]=ie(ot),H=Object.assign(Object.assign({},Zt==null?void 0:Zt.style),lt);return se(L.createElement(pe,Object.assign({ref:Le,character:it,characterRender:Jt},Pt,{className:I()(Ie,$e,be,Zt==null?void 0:Zt.className),style:H,prefixCls:ot,direction:It})))})},57809:function(tn,tt,f){"use strict";var y=f(92310),L=f.n(y),ee=f(77861),Ee=f(2738),$=f(59301),q=f(53487),C=f(62892),Se=f(19080),a=f(36355),I=f(1684),z=f(93891),S=f(19716),u=f(32441),x=f(33234),m=f(14154),P=f(58582),ce=f(84443),U=f(66339),W=function(G,j){var pe={};for(var me in G)Object.prototype.hasOwnProperty.call(G,me)&&j.indexOf(me)<0&&(pe[me]=G[me]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,me=Object.getOwnPropertySymbols(G);fe<me.length;fe++)j.indexOf(me[fe])<0&&Object.prototype.propertyIsEnumerable.call(G,me[fe])&&(pe[me[fe]]=G[me[fe]]);return pe};const ne="SECRET_COMBOBOX_MODE_DO_NOT_USE",Y=(G,j)=>{var pe,{prefixCls:me,bordered:fe=!0,className:ae,rootClassName:te,getPopupContainer:M,popupClassName:he,dropdownClassName:Q,listHeight:de=256,placement:ie,listItemHeight:v=24,size:_,disabled:V,notFoundContent:J,status:Le,builtinPlacements:Oe,dropdownMatchSelectWidth:Ie,popupMatchSelectWidth:$e,direction:lt,style:ut,allowClear:it}=G,Pt=W(G,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Jt,getPrefixCls:rn,renderEmpty:It,direction:Zt,virtual:ot,popupMatchSelectWidth:se,popupOverflow:be,select:H}=$.useContext(a.E_),O=rn("select",me),xe=rn(),k=lt!=null?lt:Zt,{compactSize:E,compactItemClassnames:T}=(0,x.ri)(O,k),[X,Z]=(0,m.Z)(O),K=$.useMemo(()=>{const{mode:De}=Pt;if(De!=="combobox")return De===ne?"combobox":De},[Pt.mode]),we=K==="multiple"||K==="tags",Ke=(0,ce.Z)(Pt.suffixIcon,Pt.showArrow),ke=(pe=$e!=null?$e:Ie)!==null&&pe!==void 0?pe:se,{status:Te,hasFeedback:Ye,isFormItemInput:et,feedbackIcon:je}=$.useContext(u.aM),vt=(0,Se.F)(Te,Le);let bt;J!==void 0?bt=J:K==="combobox"?bt=null:bt=(It==null?void 0:It("Select"))||$.createElement(z.Z,{componentName:"Select"});const{suffixIcon:ht,itemIcon:Nt,removeIcon:_t,clearIcon:w}=(0,U.Z)(Object.assign(Object.assign({},Pt),{multiple:we,hasFeedback:Ye,feedbackIcon:je,showSuffixIcon:Ke,prefixCls:O,showArrow:Pt.showArrow,componentName:"Select"})),D=it===!0?{clearIcon:w}:it,St=(0,Ee.Z)(Pt,["suffixIcon","itemIcon"]),ue=L()(he||Q,{[`${O}-dropdown-${k}`]:k==="rtl"},te,Z),Be=(0,S.Z)(De=>{var ze;return(ze=_!=null?_:E)!==null&&ze!==void 0?ze:De}),pn=$.useContext(I.Z),Ve=V!=null?V:pn,nt=L()({[`${O}-lg`]:Be==="large",[`${O}-sm`]:Be==="small",[`${O}-rtl`]:k==="rtl",[`${O}-borderless`]:!fe,[`${O}-in-form-item`]:et},(0,Se.Z)(O,vt,Ye),T,H==null?void 0:H.className,ae,te,Z),Je=$.useMemo(()=>ie!==void 0?ie:k==="rtl"?"bottomRight":"bottomLeft",[ie,k]),Ae=(0,P.Z)(Oe,be);return X($.createElement(ee.ZP,Object.assign({ref:j,virtual:ot,showSearch:H==null?void 0:H.showSearch},St,{style:Object.assign(Object.assign({},H==null?void 0:H.style),ut),dropdownMatchSelectWidth:ke,builtinPlacements:Ae,transitionName:(0,C.m)(xe,"slide-up",Pt.transitionName),listHeight:de,listItemHeight:v,mode:K,prefixCls:O,placement:Je,direction:k,suffixIcon:ht,menuItemSelectedIcon:Nt,removeIcon:_t,allowClear:D,notFoundContent:bt,className:nt,getPopupContainer:M||Jt,dropdownClassName:ue,disabled:Ve})))},b=$.forwardRef(Y),R=(0,q.Z)(b);b.SECRET_COMBOBOX_MODE_DO_NOT_USE=ne,b.Option=ee.Wx,b.OptGroup=ee.Xo,b._InternalPanelDoNotUseOrYouWillBeFired=R,tt.default=b},14154:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return b}});var y=f(17313),L=f(74207),ee=f(37613),Ee=f(83116),$=f(13826),q=f(92899);const C=R=>{const{optionHeight:G,optionFontSize:j,optionLineHeight:pe,optionPadding:me}=R;return{position:"relative",display:"block",minHeight:G,padding:me,color:R.colorText,fontWeight:"normal",fontSize:j,lineHeight:pe,boxSizing:"border-box"}};var a=R=>{const{antCls:G,componentCls:j}=R,pe=`${j}-item`,me=`&${G}-slide-up-enter${G}-slide-up-enter-active`,fe=`&${G}-slide-up-appear${G}-slide-up-appear-active`,ae=`&${G}-slide-up-leave${G}-slide-up-leave-active`,te=`${j}-dropdown-placement-`;return[{[`${j}-dropdown`]:Object.assign(Object.assign({},(0,y.Wf)(R)),{position:"absolute",top:-9999,zIndex:R.zIndexPopup,boxSizing:"border-box",padding:R.paddingXXS,overflow:"hidden",fontSize:R.fontSize,fontVariant:"initial",backgroundColor:R.colorBgElevated,borderRadius:R.borderRadiusLG,outline:"none",boxShadow:R.boxShadowSecondary,[`
${me}${te}bottomLeft,
${fe}${te}bottomLeft
`]:{animationName:$.fJ},[`
${me}${te}topLeft,
${fe}${te}topLeft,
${me}${te}topRight,
${fe}${te}topRight
`]:{animationName:$.Qt},[`${ae}${te}bottomLeft`]:{animationName:$.Uw},[`
${ae}${te}topLeft,
${ae}${te}topRight
`]:{animationName:$.ly},"&-hidden":{display:"none"},[`${pe}`]:Object.assign(Object.assign({},C(R)),{cursor:"pointer",transition:`background ${R.motionDurationSlow} ease`,borderRadius:R.borderRadiusSM,"&-group":{color:R.colorTextDescription,fontSize:R.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},y.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${pe}-option-disabled)`]:{backgroundColor:R.optionActiveBg},[`&-selected:not(${pe}-option-disabled)`]:{color:R.optionSelectedColor,fontWeight:R.optionSelectedFontWeight,backgroundColor:R.optionSelectedBg,[`${pe}-option-state`]:{color:R.colorPrimary}},"&-disabled":{[`&${pe}-option-selected`]:{backgroundColor:R.colorBgContainerDisabled},color:R.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:R.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,$.oN)(R,"slide-up"),(0,$.oN)(R,"slide-down"),(0,q.Fm)(R,"move-up"),(0,q.Fm)(R,"move-down")]};const I=2,z=R=>{let{controlHeightSM:G,controlHeight:j,lineWidth:pe}=R;const me=(j-G)/2-pe,fe=Math.ceil(me/2);return[me,fe]};function S(R,G){const{componentCls:j,iconCls:pe}=R,me=`${j}-selection-overflow`,fe=R.multipleSelectItemHeight,[ae]=z(R),te=G?`${j}-${G}`:"";return{[`${j}-multiple${te}`]:{fontSize:R.fontSize,[me]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${j}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${ae-I}px ${I*2}px`,borderRadius:R.borderRadius,[`${j}-show-search&`]:{cursor:"text"},[`${j}-disabled&`]:{background:R.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${I}px 0`,lineHeight:`${fe}px`,visibility:"hidden",content:'"\\a0"'}},[`
&${j}-show-arrow ${j}-selector,
&${j}-allow-clear ${j}-selector
`]:{paddingInlineEnd:R.fontSizeIcon+R.controlPaddingHorizontal},[`${j}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:fe,marginTop:I,marginBottom:I,lineHeight:`${fe-R.lineWidth*2}px`,background:R.multipleItemBg,border:`${R.lineWidth}px ${R.lineType} ${R.multipleItemBorderColor}`,borderRadius:R.borderRadiusSM,cursor:"default",transition:`font-size ${R.motionDurationSlow}, line-height ${R.motionDurationSlow}, height ${R.motionDurationSlow}`,userSelect:"none",marginInlineEnd:I*2,paddingInlineStart:R.paddingXS,paddingInlineEnd:R.paddingXS/2,[`${j}-disabled&`]:{color:R.multipleItemColorDisabled,borderColor:R.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:R.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,y.Ro)()),{display:"inline-flex",alignItems:"center",color:R.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${pe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:R.colorIconHover}})},[`${me}-item + ${me}-item`]:{[`${j}-selection-search`]:{marginInlineStart:0}},[`${j}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:R.inputPaddingHorizontalBase-ae,"\n &-input,\n &-mirror\n ":{height:fe,fontFamily:R.fontFamily,lineHeight:`${fe}px`,transition:`all ${R.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${j}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:R.inputPaddingHorizontalBase,insetInlineEnd:R.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${R.motionDurationSlow}`}}}}var x=R=>{const{componentCls:G}=R,j=(0,ee.TS)(R,{controlHeight:R.controlHeightSM,multipleSelectItemHeight:R.controlHeightXS,borderRadius:R.borderRadiusSM,borderRadiusSM:R.borderRadiusXS}),pe=(0,ee.TS)(R,{fontSize:R.fontSizeLG,controlHeight:R.controlHeightLG,multipleSelectItemHeight:R.multipleItemHeightLG,borderRadius:R.borderRadiusLG,borderRadiusSM:R.borderRadius}),[,me]=z(R);return[S(R),S(j,"sm"),{[`${G}-multiple${G}-sm`]:{[`${G}-selection-placeholder`]:{insetInline:R.controlPaddingHorizontalSM-R.lineWidth},[`${G}-selection-search`]:{marginInlineStart:me}}},S(pe,"lg")]};function m(R,G){const{componentCls:j,inputPaddingHorizontalBase:pe,borderRadius:me}=R,fe=R.controlHeight-R.lineWidth*2,ae=Math.ceil(R.fontSize*1.25),te=G?`${j}-${G}`:"";return{[`${j}-single${te}`]:{fontSize:R.fontSize,[`${j}-selector`]:Object.assign(Object.assign({},(0,y.Wf)(R)),{display:"flex",borderRadius:me,[`${j}-selection-search`]:{position:"absolute",top:0,insetInlineStart:pe,insetInlineEnd:pe,bottom:0,"&-input":{width:"100%"}},[`
${j}-selection-item,
${j}-selection-placeholder
`]:{padding:0,lineHeight:`${fe}px`,transition:`all ${R.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${fe}px`}},[`${j}-selection-item`]:{position:"relative",userSelect:"none"},[`${j}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${j}-selection-item:after`,`${j}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${j}-show-arrow ${j}-selection-item,
&${j}-show-arrow ${j}-selection-placeholder
`]:{paddingInlineEnd:ae},[`&${j}-open ${j}-selection-item`]:{color:R.colorTextPlaceholder},[`&:not(${j}-customize-input)`]:{[`${j}-selector`]:{width:"100%",height:R.controlHeight,padding:`0 ${pe}px`,[`${j}-selection-search-input`]:{height:fe},"&:after":{lineHeight:`${fe}px`}}},[`&${j}-customize-input`]:{[`${j}-selector`]:{"&:after":{display:"none"},[`${j}-selection-search`]:{position:"static",width:"100%"},[`${j}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${pe}px`,"&:after":{display:"none"}}}}}}}function P(R){const{componentCls:G}=R,j=R.controlPaddingHorizontalSM-R.lineWidth;return[m(R),m((0,ee.TS)(R,{controlHeight:R.controlHeightSM,borderRadius:R.borderRadiusSM}),"sm"),{[`${G}-single${G}-sm`]:{[`&:not(${G}-customize-input)`]:{[`${G}-selection-search`]:{insetInlineStart:j,insetInlineEnd:j},[`${G}-selector`]:{padding:`0 ${j}px`},[`&${G}-show-arrow ${G}-selection-search`]:{insetInlineEnd:j+R.fontSize*1.5},[`
&${G}-show-arrow ${G}-selection-item,
&${G}-show-arrow ${G}-selection-placeholder
`]:{paddingInlineEnd:R.fontSize*1.5}}}},m((0,ee.TS)(R,{controlHeight:R.singleItemHeightLG,fontSize:R.fontSizeLG,borderRadius:R.borderRadiusLG}),"lg")]}const ce=R=>{const{componentCls:G,selectorBg:j}=R;return{position:"relative",backgroundColor:j,border:`${R.lineWidth}px ${R.lineType} ${R.colorBorder}`,transition:`all ${R.motionDurationMid} ${R.motionEaseInOut}`,input:{cursor:"pointer"},[`${G}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${G}-disabled&`]:{color:R.colorTextDisabled,background:R.colorBgContainerDisabled,cursor:"not-allowed",[`${G}-multiple&`]:{background:R.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},U=function(R,G){let j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:pe,borderHoverColor:me,outlineColor:fe,antCls:ae}=G,te=j?{[`${pe}-selector`]:{borderColor:me}}:{};return{[R]:{[`&:not(${pe}-disabled):not(${pe}-customize-input):not(${ae}-pagination-size-changer)`]:Object.assign(Object.assign({},te),{[`${pe}-focused& ${pe}-selector`]:{borderColor:me,boxShadow:`0 0 0 ${G.controlOutlineWidth}px ${fe}`,outline:0},[`&:hover ${pe}-selector`]:{borderColor:me}})}}},W=R=>{const{componentCls:G}=R;return{[`${G}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ne=R=>{const{componentCls:G,inputPaddingHorizontalBase:j,iconCls:pe}=R;return{[G]:Object.assign(Object.assign({},(0,y.Wf)(R)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${G}-customize-input) ${G}-selector`]:Object.assign(Object.assign({},ce(R)),W(R)),[`${G}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},y.vS),[`${G}-selection-placeholder`]:Object.assign(Object.assign({},y.vS),{flex:1,color:R.colorTextPlaceholder,pointerEvents:"none"}),[`${G}-arrow`]:Object.assign(Object.assign({},(0,y.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:j,height:R.fontSizeIcon,marginTop:-R.fontSizeIcon/2,color:R.colorTextQuaternary,fontSize:R.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[pe]:{verticalAlign:"top",transition:`transform ${R.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${G}-suffix)`]:{pointerEvents:"auto"}},[`${G}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${G}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:j,zIndex:1,display:"inline-block",width:R.fontSizeIcon,height:R.fontSizeIcon,marginTop:-R.fontSizeIcon/2,color:R.colorTextQuaternary,fontSize:R.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:R.clearBg,cursor:"pointer",opacity:0,transition:`color ${R.motionDurationMid} ease, opacity ${R.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:R.colorTextTertiary}},"&:hover":{[`${G}-clear`]:{opacity:1}}}),[`${G}-has-feedback`]:{[`${G}-clear`]:{insetInlineEnd:j+R.fontSize+R.paddingXS}}}},Y=R=>{const{componentCls:G}=R;return[{[G]:{[`&-borderless ${G}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${G}-in-form-item`]:{width:"100%"}}},ne(R),P(R),x(R),a(R),{[`${G}-rtl`]:{direction:"rtl"}},U(G,(0,ee.TS)(R,{borderHoverColor:R.colorPrimaryHover,outlineColor:R.controlOutline})),U(`${G}-status-error`,(0,ee.TS)(R,{borderHoverColor:R.colorErrorHover,outlineColor:R.colorErrorOutline}),!0),U(`${G}-status-warning`,(0,ee.TS)(R,{borderHoverColor:R.colorWarningHover,outlineColor:R.colorWarningOutline}),!0),(0,L.c)(R,{borderElCls:`${G}-selector`,focusElCls:`${G}-focused`})]};var b=(0,Ee.Z)("Select",(R,G)=>{let{rootPrefixCls:j}=G;const pe=(0,ee.TS)(R,{rootPrefixCls:j,inputPaddingHorizontalBase:R.paddingSM-1,multipleSelectItemHeight:R.multipleItemHeight});return[Y(pe)]},R=>{const{fontSize:G,lineHeight:j,controlHeight:pe,controlPaddingHorizontal:me,zIndexPopupBase:fe,colorText:ae,fontWeightStrong:te,controlItemBgActive:M,controlItemBgHover:he,colorBgContainer:Q,colorFillSecondary:de,controlHeightLG:ie,controlHeightSM:v,colorBgContainerDisabled:_,colorTextDisabled:V}=R;return{zIndexPopup:fe+50,optionSelectedColor:ae,optionSelectedFontWeight:te,optionSelectedBg:M,optionActiveBg:he,optionPadding:`${(pe-G*j)/2}px ${me}px`,optionFontSize:G,optionLineHeight:j,optionHeight:pe,selectorBg:Q,clearBg:Q,singleItemHeightLG:ie,multipleItemBg:de,multipleItemBorderColor:"transparent",multipleItemHeight:v,multipleItemHeightLG:pe,multipleSelectorBgDisabled:_,multipleItemColorDisabled:V,multipleItemBorderColorDisabled:"transparent"}})},58582:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return L}});const y=ee=>{const $={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:ee==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},$),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},$),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},$),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},$),{points:["br","tr"],offset:[0,-4]})}};function L(ee,Ee){return ee||y(Ee)}},84443:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return y}});function y(L,ee){return ee!==void 0?ee:L!==null}},66339:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});var y=f(40001),L=f(19248),ee=f(99267),Ee=f(84105),$=f(58617),q=f(47472),C=f(59301);function Se(a){let{suffixIcon:I,clearIcon:z,menuItemSelectedIcon:S,removeIcon:u,loading:x,multiple:m,hasFeedback:P,prefixCls:ce,showSuffixIcon:U,feedbackIcon:W,showArrow:ne,componentName:Y}=a;const b=z!=null?z:C.createElement(L.Z,null),R=me=>I===null&&!P&&!ne?null:C.createElement(C.Fragment,null,U!==!1&&me,P&&W);let G=null;if(I!==void 0)G=R(I);else if(x)G=R(C.createElement($.Z,{spin:!0}));else{const me=`${ce}-suffix`;G=fe=>{let{open:ae,showSearch:te}=fe;return R(ae&&te?C.createElement(q.Z,{className:me}):C.createElement(Ee.Z,{className:me}))}}let j=null;S!==void 0?j=S:m?j=C.createElement(y.Z,null):j=null;let pe=null;return u!==void 0?pe=u:pe=C.createElement(ee.Z,null),{clearIcon:b,suffixIcon:G,itemIcon:j,removeIcon:pe}}},61621:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return be}});var y=f(92310),L=f.n(y),ee=f(59301),Ee=f(36355),$=f(2738),C=H=>{const{prefixCls:O,className:xe,style:k,size:E,shape:T}=H,X=L()({[`${O}-lg`]:E==="large",[`${O}-sm`]:E==="small"}),Z=L()({[`${O}-circle`]:T==="circle",[`${O}-square`]:T==="square",[`${O}-round`]:T==="round"}),K=ee.useMemo(()=>typeof E=="number"?{width:E,height:E,lineHeight:`${E}px`}:{},[E]);return ee.createElement("span",{className:L()(O,X,Z,xe),style:Object.assign(Object.assign({},K),k)})},Se=f(93083),a=f(83116),I=f(37613);const z=new Se.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),S=H=>({height:H,lineHeight:`${H}px`}),u=H=>Object.assign({width:H},S(H)),x=H=>({background:H.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:z,animationDuration:H.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),m=H=>Object.assign({width:H*5,minWidth:H*5},S(H)),P=H=>{const{skeletonAvatarCls:O,gradientFromColor:xe,controlHeight:k,controlHeightLG:E,controlHeightSM:T}=H;return{[`${O}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:xe},u(k)),[`${O}${O}-circle`]:{borderRadius:"50%"},[`${O}${O}-lg`]:Object.assign({},u(E)),[`${O}${O}-sm`]:Object.assign({},u(T))}},ce=H=>{const{controlHeight:O,borderRadiusSM:xe,skeletonInputCls:k,controlHeightLG:E,controlHeightSM:T,gradientFromColor:X}=H;return{[`${k}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:X,borderRadius:xe},m(O)),[`${k}-lg`]:Object.assign({},m(E)),[`${k}-sm`]:Object.assign({},m(T))}},U=H=>Object.assign({width:H},S(H)),W=H=>{const{skeletonImageCls:O,imageSizeBase:xe,gradientFromColor:k,borderRadiusSM:E}=H;return{[`${O}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:k,borderRadius:E},U(xe*2)),{[`${O}-path`]:{fill:"#bfbfbf"},[`${O}-svg`]:Object.assign(Object.assign({},U(xe)),{maxWidth:xe*4,maxHeight:xe*4}),[`${O}-svg${O}-svg-circle`]:{borderRadius:"50%"}}),[`${O}${O}-circle`]:{borderRadius:"50%"}}},ne=(H,O,xe)=>{const{skeletonButtonCls:k}=H;return{[`${xe}${k}-circle`]:{width:O,minWidth:O,borderRadius:"50%"},[`${xe}${k}-round`]:{borderRadius:O}}},Y=H=>Object.assign({width:H*2,minWidth:H*2},S(H)),b=H=>{const{borderRadiusSM:O,skeletonButtonCls:xe,controlHeight:k,controlHeightLG:E,controlHeightSM:T,gradientFromColor:X}=H;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:X,borderRadius:O,width:k*2,minWidth:k*2},Y(k))},ne(H,k,xe)),{[`${xe}-lg`]:Object.assign({},Y(E))}),ne(H,E,`${xe}-lg`)),{[`${xe}-sm`]:Object.assign({},Y(T))}),ne(H,T,`${xe}-sm`))},R=H=>{const{componentCls:O,skeletonAvatarCls:xe,skeletonTitleCls:k,skeletonParagraphCls:E,skeletonButtonCls:T,skeletonInputCls:X,skeletonImageCls:Z,controlHeight:K,controlHeightLG:we,controlHeightSM:Ke,gradientFromColor:ke,padding:Te,marginSM:Ye,borderRadius:et,titleHeight:je,blockRadius:vt,paragraphLiHeight:bt,controlHeightXS:ht,paragraphMarginTop:Nt}=H;return{[`${O}`]:{display:"table",width:"100%",[`${O}-header`]:{display:"table-cell",paddingInlineEnd:Te,verticalAlign:"top",[`${xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ke},u(K)),[`${xe}-circle`]:{borderRadius:"50%"},[`${xe}-lg`]:Object.assign({},u(we)),[`${xe}-sm`]:Object.assign({},u(Ke))},[`${O}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${k}`]:{width:"100%",height:je,background:ke,borderRadius:vt,[`+ ${E}`]:{marginBlockStart:Ke}},[`${E}`]:{padding:0,"> li":{width:"100%",height:bt,listStyle:"none",background:ke,borderRadius:vt,"+ li":{marginBlockStart:ht}}},[`${E}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${O}-content`]:{[`${k}, ${E} > li`]:{borderRadius:et}}},[`${O}-with-avatar ${O}-content`]:{[`${k}`]:{marginBlockStart:Ye,[`+ ${E}`]:{marginBlockStart:Nt}}},[`${O}${O}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},b(H)),P(H)),ce(H)),W(H)),[`${O}${O}-block`]:{width:"100%",[`${T}`]:{width:"100%"},[`${X}`]:{width:"100%"}},[`${O}${O}-active`]:{[`
${k},
${E} > li,
${xe},
${T},
${X},
${Z}
`]:Object.assign({},x(H))}}};var G=(0,a.Z)("Skeleton",H=>{const{componentCls:O}=H,xe=(0,I.TS)(H,{skeletonAvatarCls:`${O}-avatar`,skeletonTitleCls:`${O}-title`,skeletonParagraphCls:`${O}-paragraph`,skeletonButtonCls:`${O}-button`,skeletonInputCls:`${O}-input`,skeletonImageCls:`${O}-image`,imageSizeBase:H.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${H.gradientFromColor} 25%, ${H.gradientToColor} 37%, ${H.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[R(xe)]},H=>{const{colorFillContent:O,colorFill:xe}=H,k=O,E=xe;return{color:k,colorGradientEnd:E,gradientFromColor:k,gradientToColor:E,titleHeight:H.controlHeight/2,blockRadius:H.borderRadiusSM,paragraphMarginTop:H.marginLG+H.marginXXS,paragraphLiHeight:H.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),pe=H=>{const{prefixCls:O,className:xe,rootClassName:k,active:E,shape:T="circle",size:X="default"}=H,{getPrefixCls:Z}=ee.useContext(Ee.E_),K=Z("skeleton",O),[we,Ke]=G(K),ke=(0,$.Z)(H,["prefixCls","className"]),Te=L()(K,`${K}-element`,{[`${K}-active`]:E},xe,k,Ke);return we(ee.createElement("div",{className:Te},ee.createElement(C,Object.assign({prefixCls:`${K}-avatar`,shape:T,size:X},ke))))},fe=H=>{const{prefixCls:O,className:xe,rootClassName:k,active:E,block:T=!1,size:X="default"}=H,{getPrefixCls:Z}=ee.useContext(Ee.E_),K=Z("skeleton",O),[we,Ke]=G(K),ke=(0,$.Z)(H,["prefixCls"]),Te=L()(K,`${K}-element`,{[`${K}-active`]:E,[`${K}-block`]:T},xe,k,Ke);return we(ee.createElement("div",{className:Te},ee.createElement(C,Object.assign({prefixCls:`${K}-button`,size:X},ke))))};const ae="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var M=H=>{const{prefixCls:O,className:xe,rootClassName:k,style:E,active:T}=H,{getPrefixCls:X}=ee.useContext(Ee.E_),Z=X("skeleton",O),[K,we]=G(Z),Ke=L()(Z,`${Z}-element`,{[`${Z}-active`]:T},xe,k,we);return K(ee.createElement("div",{className:Ke},ee.createElement("div",{className:L()(`${Z}-image`,xe),style:E},ee.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Z}-image-svg`},ee.createElement("path",{d:ae,className:`${Z}-image-path`})))))},Q=H=>{const{prefixCls:O,className:xe,rootClassName:k,active:E,block:T,size:X="default"}=H,{getPrefixCls:Z}=ee.useContext(Ee.E_),K=Z("skeleton",O),[we,Ke]=G(K),ke=(0,$.Z)(H,["prefixCls"]),Te=L()(K,`${K}-element`,{[`${K}-active`]:E,[`${K}-block`]:T},xe,k,Ke);return we(ee.createElement("div",{className:Te},ee.createElement(C,Object.assign({prefixCls:`${K}-input`,size:X},ke))))},de=f(92413),ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},v=ie,_=f(7657),V=function(O,xe){return ee.createElement(_.Z,(0,de.Z)({},O,{ref:xe,icon:v}))},J=ee.forwardRef(V),Le=J,Ie=H=>{const{prefixCls:O,className:xe,rootClassName:k,style:E,active:T,children:X}=H,{getPrefixCls:Z}=ee.useContext(Ee.E_),K=Z("skeleton",O),[we,Ke]=G(K),ke=L()(K,`${K}-element`,{[`${K}-active`]:T},Ke,xe,k),Te=X!=null?X:ee.createElement(Le,null);return we(ee.createElement("div",{className:ke},ee.createElement("div",{className:L()(`${K}-image`,xe),style:E},Te)))},$e=f(26407),ut=H=>{const O=Z=>{const{width:K,rows:we=2}=H;if(Array.isArray(K))return K[Z];if(we-1===Z)return K},{prefixCls:xe,className:k,style:E,rows:T}=H,X=(0,$e.Z)(Array(T)).map((Z,K)=>ee.createElement("li",{key:K,style:{width:O(K)}}));return ee.createElement("ul",{className:L()(xe,k),style:E},X)},Pt=H=>{let{prefixCls:O,className:xe,width:k,style:E}=H;return ee.createElement("h3",{className:L()(O,xe),style:Object.assign({width:k},E)})};function Jt(H){return H&&typeof H=="object"?H:{}}function rn(H,O){return H&&!O?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function It(H,O){return!H&&O?{width:"38%"}:H&&O?{width:"50%"}:{}}function Zt(H,O){const xe={};return(!H||!O)&&(xe.width="61%"),!H&&O?xe.rows=3:xe.rows=2,xe}const ot=H=>{const{prefixCls:O,loading:xe,className:k,rootClassName:E,style:T,children:X,avatar:Z=!1,title:K=!0,paragraph:we=!0,active:Ke,round:ke}=H,{getPrefixCls:Te,direction:Ye,skeleton:et}=ee.useContext(Ee.E_),je=Te("skeleton",O),[vt,bt]=G(je);if(xe||!("loading"in H)){const ht=!!Z,Nt=!!K,_t=!!we;let w;if(ht){const ue=Object.assign(Object.assign({prefixCls:`${je}-avatar`},rn(Nt,_t)),Jt(Z));w=ee.createElement("div",{className:`${je}-header`},ee.createElement(C,Object.assign({},ue)))}let D;if(Nt||_t){let ue;if(Nt){const pn=Object.assign(Object.assign({prefixCls:`${je}-title`},It(ht,_t)),Jt(K));ue=ee.createElement(Pt,Object.assign({},pn))}let Be;if(_t){const pn=Object.assign(Object.assign({prefixCls:`${je}-paragraph`},Zt(ht,Nt)),Jt(we));Be=ee.createElement(ut,Object.assign({},pn))}D=ee.createElement("div",{className:`${je}-content`},ue,Be)}const St=L()(je,{[`${je}-with-avatar`]:ht,[`${je}-active`]:Ke,[`${je}-rtl`]:Ye==="rtl",[`${je}-round`]:ke},et==null?void 0:et.className,k,E,bt);return vt(ee.createElement("div",{className:St,style:Object.assign(Object.assign({},et==null?void 0:et.style),T)},w,D))}return typeof X!="undefined"?X:null};ot.Button=fe,ot.Avatar=pe,ot.Input=Q,ot.Image=M,ot.Node=Ie;var se=ot,be=se},81327:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return ce}});var y=f(59301),L=f(92310),ee=f.n(L),Ee=f(11592),$=f(36355),q=f(33234);const C=y.createContext({latestIndex:0}),Se=C.Provider;var I=U=>{let{className:W,index:ne,children:Y,split:b,style:R}=U;const{latestIndex:G}=y.useContext(C);return Y==null?null:y.createElement(y.Fragment,null,y.createElement("div",{className:W,style:R},Y),ne<G&&b&&y.createElement("span",{className:`${W}-split`},b))},z=f(2856);function S(U){return["small","middle","large"].includes(U)}function u(U){return U?typeof U=="number"&&!Number.isNaN(U):!1}var x=function(U,W){var ne={};for(var Y in U)Object.prototype.hasOwnProperty.call(U,Y)&&W.indexOf(Y)<0&&(ne[Y]=U[Y]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,Y=Object.getOwnPropertySymbols(U);b<Y.length;b++)W.indexOf(Y[b])<0&&Object.prototype.propertyIsEnumerable.call(U,Y[b])&&(ne[Y[b]]=U[Y[b]]);return ne};const P=y.forwardRef((U,W)=>{var ne,Y;const{getPrefixCls:b,space:R,direction:G}=y.useContext($.E_),{size:j=(R==null?void 0:R.size)||"small",align:pe,className:me,rootClassName:fe,children:ae,direction:te="horizontal",prefixCls:M,split:he,style:Q,wrap:de=!1,classNames:ie,styles:v}=U,_=x(U,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[V,J]=Array.isArray(j)?j:[j,j],Le=S(J),Oe=S(V),Ie=u(J),$e=u(V),lt=(0,Ee.Z)(ae,{keepEmpty:!0}),ut=pe===void 0&&te==="horizontal"?"center":pe,it=b("space",M),[Pt,Jt]=(0,z.Z)(it),rn=ee()(it,R==null?void 0:R.className,Jt,`${it}-${te}`,{[`${it}-rtl`]:G==="rtl",[`${it}-align-${ut}`]:ut,[`${it}-gap-row-${J}`]:Le,[`${it}-gap-col-${V}`]:Oe},me,fe),It=ee()(`${it}-item`,(ne=ie==null?void 0:ie.item)!==null&&ne!==void 0?ne:(Y=R==null?void 0:R.classNames)===null||Y===void 0?void 0:Y.item);let Zt=0;const ot=lt.map((H,O)=>{var xe,k;H!=null&&(Zt=O);const E=H&&H.key||`${It}-${O}`;return y.createElement(I,{className:It,key:E,index:O,split:he,style:(xe=v==null?void 0:v.item)!==null&&xe!==void 0?xe:(k=R==null?void 0:R.styles)===null||k===void 0?void 0:k.item},H)}),se=y.useMemo(()=>({latestIndex:Zt}),[Zt]);if(lt.length===0)return null;const be={};return de&&(be.flexWrap="wrap"),!Oe&&$e&&(be.columnGap=V),!Le&&Ie&&(be.rowGap=J),Pt(y.createElement("div",Object.assign({ref:W,className:rn,style:Object.assign(Object.assign(Object.assign({},be),R==null?void 0:R.style),Q)},_),y.createElement(Se,{value:se},ot)))});P.Compact=q.ZP;var ce=P},31797:function(tn,tt,f){"use strict";f.d(tt,{default:function(){return G}});var y=f(59301),L=f(56762),ee=f(92343),Ee=f(92310),$=f.n(Ee),q=f(36355),C=f(61621),a=j=>{const{value:pe,formatter:me,precision:fe,decimalSeparator:ae,groupSeparator:te="",prefixCls:M}=j;let he;if(typeof me=="function")he=me(pe);else{const Q=String(pe),de=Q.match(/^(-?)(\d*)(\.(\d+))?$/);if(!de||Q==="-")he=Q;else{const ie=de[1];let v=de[2]||"0",_=de[4]||"";v=v.replace(/\B(?=(\d{3})+(?!\d))/g,te),typeof fe=="number"&&(_=_.padEnd(fe,"0").slice(0,fe>0?fe:0)),_&&(_=`${ae}${_}`),he=[y.createElement("span",{key:"int",className:`${M}-content-value-int`},ie,v),_&&y.createElement("span",{key:"decimal",className:`${M}-content-value-decimal`},_)]}}return y.createElement("span",{className:`${M}-content-value`},he)},I=f(17313),z=f(83116),S=f(37613);const u=j=>{const{componentCls:pe,marginXXS:me,padding:fe,colorTextDescription:ae,titleFontSize:te,colorTextHeading:M,contentFontSize:he,fontFamily:Q}=j;return{[`${pe}`]:Object.assign(Object.assign({},(0,I.Wf)(j)),{[`${pe}-title`]:{marginBottom:me,color:ae,fontSize:te},[`${pe}-skeleton`]:{paddingTop:fe},[`${pe}-content`]:{color:M,fontSize:he,fontFamily:Q,[`${pe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${pe}-content-prefix, ${pe}-content-suffix`]:{display:"inline-block"},[`${pe}-content-prefix`]:{marginInlineEnd:me},[`${pe}-content-suffix`]:{marginInlineStart:me}}})}};var x=(0,z.Z)("Statistic",j=>{const pe=(0,S.TS)(j,{});return[u(pe)]},j=>{const{fontSizeHeading3:pe,fontSize:me}=j;return{titleFontSize:me,contentFontSize:pe}}),P=j=>{const{prefixCls:pe,className:me,rootClassName:fe,style:ae,valueStyle:te,value:M=0,title:he,valueRender:Q,prefix:de,suffix:ie,loading:v=!1,onMouseEnter:_,onMouseLeave:V,decimalSeparator:J=".",groupSeparator:Le=","}=j,{getPrefixCls:Oe,direction:Ie,statistic:$e}=y.useContext(q.E_),lt=Oe("statistic",pe),[ut,it]=x(lt),Pt=y.createElement(a,Object.assign({decimalSeparator:J,groupSeparator:Le,prefixCls:lt},j,{value:M})),Jt=$()(lt,{[`${lt}-rtl`]:Ie==="rtl"},$e==null?void 0:$e.className,me,fe,it);return ut(y.createElement("div",{className:Jt,style:Object.assign(Object.assign({},$e==null?void 0:$e.style),ae),onMouseEnter:_,onMouseLeave:V},he&&y.createElement("div",{className:`${lt}-title`},he),y.createElement(C.Z,{paragraph:!1,loading:v,className:`${lt}-skeleton`},y.createElement("div",{style:te,className:`${lt}-content`},de&&y.createElement("span",{className:`${lt}-content-prefix`},de),Q?Q(Pt):Pt,ie&&y.createElement("span",{className:`${lt}-content-suffix`},ie)))))};const ce=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function U(j,pe){let me=j;const fe=/\[[^\]]*]/g,ae=(pe.match(fe)||[]).map(Q=>Q.slice(1,-1)),te=pe.replace(fe,"[]"),M=ce.reduce((Q,de)=>{let[ie,v]=de;if(Q.includes(ie)){const _=Math.floor(me/v);return me-=_*v,Q.replace(new RegExp(`${ie}+`,"g"),V=>{const J=V.length;return _.toString().padStart(J,"0")})}return Q},te);let he=0;return M.replace(fe,()=>{const Q=ae[he];return he+=1,Q})}function W(j,pe){const{format:me=""}=pe,fe=new Date(j).getTime(),ae=Date.now(),te=Math.max(fe-ae,0);return U(te,me)}const ne=1e3/30;function Y(j){return new Date(j).getTime()}const b=j=>{const{value:pe,format:me="HH:mm:ss",onChange:fe,onFinish:ae}=j,te=(0,L.Z)(),M=y.useRef(null),he=()=>{ae==null||ae(),M.current&&(clearInterval(M.current),M.current=null)},Q=()=>{const v=Y(pe);v>=Date.now()&&(M.current=setInterval(()=>{te(),fe==null||fe(v-Date.now()),v<Date.now()&&he()},ne))};y.useEffect(()=>(Q(),()=>{M.current&&(clearInterval(M.current),M.current=null)}),[pe]);const de=(v,_)=>W(v,Object.assign(Object.assign({},_),{format:me})),ie=v=>(0,ee.Tm)(v,{title:void 0});return y.createElement(P,Object.assign({},j,{valueRender:ie,formatter:de}))};var R=y.memo(b);P.Countdown=R;var G=P},8378:function(tn,tt){"use strict";const f=y=>({[y.componentCls]:{[`${y.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${y.motionDurationMid} ${y.motionEaseInOut},
opacity ${y.motionDurationMid} ${y.motionEaseInOut} !important`}},[`${y.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${y.motionDurationMid} ${y.motionEaseInOut},
opacity ${y.motionDurationMid} ${y.motionEaseInOut} !important`}}});tt.Z=f},92899:function(tn,tt,f){"use strict";f.d(tt,{Fm:function(){return S}});var y=f(93083),L=f(95406);const ee=new y.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ee=new y.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),$=new y.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),q=new y.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),C=new y.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Se=new y.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),a=new y.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),I=new y.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),z={"move-up":{inKeyframes:a,outKeyframes:I},"move-down":{inKeyframes:ee,outKeyframes:Ee},"move-left":{inKeyframes:$,outKeyframes:q},"move-right":{inKeyframes:C,outKeyframes:Se}},S=(u,x)=>{const{antCls:m}=u,P=`${m}-${x}`,{inKeyframes:ce,outKeyframes:U}=z[x];return[(0,L.R)(P,ce,U,u.motionDurationMid),{[`
${P}-enter,
${P}-appear
`]:{opacity:0,animationTimingFunction:u.motionEaseOutCirc},[`${P}-leave`]:{animationTimingFunction:u.motionEaseInOutCirc}}]}},13826:function(tn,tt,f){"use strict";f.d(tt,{Qt:function(){return $},Uw:function(){return Ee},fJ:function(){return ee},ly:function(){return q},oN:function(){return S}});var y=f(93083),L=f(95406);const ee=new y.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Ee=new y.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),$=new y.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),q=new y.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),C=new y.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Se=new y.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),a=new y.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),I=new y.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),z={"slide-up":{inKeyframes:ee,outKeyframes:Ee},"slide-down":{inKeyframes:$,outKeyframes:q},"slide-left":{inKeyframes:C,outKeyframes:Se},"slide-right":{inKeyframes:a,outKeyframes:I}},S=(u,x)=>{const{antCls:m}=u,P=`${m}-${x}`,{inKeyframes:ce,outKeyframes:U}=z[x];return[(0,L.R)(P,ce,U,u.motionDurationMid),{[`
${P}-enter,
${P}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:u.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${P}-leave`]:{animationTimingFunction:u.motionEaseInQuint}}]}},15969:function(tn,tt,f){"use strict";f.d(tt,{N:function(){return y}});const y=L=>({color:L.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${L.motionDurationSlow}`,"&:focus, &:hover":{color:L.colorLinkHover},"&:active":{color:L.colorLinkActive}})},19447:function(tn,tt,f){"use strict";f.d(tt,{ZP:function(){return $},fS:function(){return ee},qN:function(){return L}});var y=f(47585);const L=8;function ee(q){const C=L,{contentRadius:Se,limitVerticalRadius:a}=q,I=Se>12?Se+2:12;return{dropdownArrowOffset:I,dropdownArrowOffsetVertical:a?C:I}}function Ee(q,C){return q?C:{}}function $(q,C){const{componentCls:Se,sizePopupArrow:a,borderRadiusXS:I,borderRadiusOuter:z,boxShadowPopoverArrow:S}=q,{colorBg:u,contentRadius:x=q.borderRadiusLG,limitVerticalRadius:m,arrowDistance:P=0,arrowPlacement:ce={left:!0,right:!0,top:!0,bottom:!0}}=C,{dropdownArrowOffsetVertical:U,dropdownArrowOffset:W}=ee({contentRadius:x,limitVerticalRadius:m});return{[Se]:Object.assign(Object.assign(Object.assign(Object.assign({[`${Se}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,y.r)(a,I,z,u,S)),{"&:before":{background:u}})]},Ee(!!ce.top,{[[`&-placement-top ${Se}-arrow`,`&-placement-topLeft ${Se}-arrow`,`&-placement-topRight ${Se}-arrow`].join(",")]:{bottom:P,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${Se}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${Se}-arrow`]:{left:{_skip_check_:!0,value:W}},[`&-placement-topRight ${Se}-arrow`]:{right:{_skip_check_:!0,value:W}}})),Ee(!!ce.bottom,{[[`&-placement-bottom ${Se}-arrow`,`&-placement-bottomLeft ${Se}-arrow`,`&-placement-bottomRight ${Se}-arrow`].join(",")]:{top:P,transform:"translateY(-100%)"},[`&-placement-bottom ${Se}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${Se}-arrow`]:{left:{_skip_check_:!0,value:W}},[`&-placement-bottomRight ${Se}-arrow`]:{right:{_skip_check_:!0,value:W}}})),Ee(!!ce.left,{[[`&-placement-left ${Se}-arrow`,`&-placement-leftTop ${Se}-arrow`,`&-placement-leftBottom ${Se}-arrow`].join(",")]:{right:{_skip_check_:!0,value:P},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${Se}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${Se}-arrow`]:{top:U},[`&-placement-leftBottom ${Se}-arrow`]:{bottom:U}})),Ee(!!ce.right,{[[`&-placement-right ${Se}-arrow`,`&-placement-rightTop ${Se}-arrow`,`&-placement-rightBottom ${Se}-arrow`].join(",")]:{left:{_skip_check_:!0,value:P},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${Se}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${Se}-arrow`]:{top:U},[`&-placement-rightBottom ${Se}-arrow`]:{bottom:U}}))}}},47585:function(tn,tt,f){"use strict";f.d(tt,{r:function(){return y}});const y=(L,ee,Ee,$,q)=>{const C=L/2,Se=0,a=C,I=Ee*1/Math.sqrt(2),z=C-Ee*(1-1/Math.sqrt(2)),S=C-ee*(1/Math.sqrt(2)),u=Ee*(Math.sqrt(2)-1)+ee*(1/Math.sqrt(2)),x=2*C-S,m=u,P=2*C-I,ce=z,U=2*C-Se,W=a,ne=C*Math.sqrt(2)+Ee*(Math.sqrt(2)-2),Y=Ee*(Math.sqrt(2)-1);return{pointerEvents:"none",width:L,height:L,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:L,height:L/2,background:$,clipPath:{_multi_value_:!0,value:[`polygon(${Y}px 100%, 50% ${Y}px, ${2*C-Y}px 100%, ${Y}px 100%)`,`path('M ${Se} ${a} A ${Ee} ${Ee} 0 0 0 ${I} ${z} L ${S} ${u} A ${ee} ${ee} 0 0 1 ${x} ${m} L ${P} ${ce} A ${Ee} ${Ee} 0 0 0 ${U} ${W} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:ne,height:ne,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${ee}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:q,zIndex:0,background:"transparent"}}}},1710:function(tn,tt,f){"use strict";f.d(tt,{default:function(){return Zs}});var y={},L="rc-table-internal-hook",ee=f(33606),Ee=f(6089),$=f(34280),q=f(13697),C=f(59301),Se=f(4676);function a(oe){var ge=C.createContext(void 0),He=function(rt){var st=rt.value,wt=rt.children,Ct=C.useRef(st);Ct.current=st;var At=C.useState(function(){return{getValue:function(){return Ct.current},listeners:new Set}}),Mt=(0,ee.Z)(At,1),_e=Mt[0];return(0,$.Z)(function(){(0,Se.unstable_batchedUpdates)(function(){_e.listeners.forEach(function(zt){zt(st)})})},[st]),C.createElement(ge.Provider,{value:_e},wt)};return{Context:ge,Provider:He,defaultValue:oe}}function I(oe,ge){var He=(0,Ee.Z)(typeof ge=="function"?ge:function(zt){if(ge===void 0)return zt;if(!Array.isArray(ge))return zt[ge];var vn={};return ge.forEach(function(fn){vn[fn]=zt[fn]}),vn}),Qe=C.useContext(oe==null?void 0:oe.Context),rt=Qe||{},st=rt.listeners,wt=rt.getValue,Ct=C.useRef();Ct.current=He(Qe?wt():oe==null?void 0:oe.defaultValue);var At=C.useState({}),Mt=(0,ee.Z)(At,2),_e=Mt[1];return(0,$.Z)(function(){if(!Qe)return;function zt(vn){var fn=He(vn);(0,q.Z)(Ct.current,fn,!0)||_e({})}return st.add(zt),function(){st.delete(zt)}},[Qe]),Ct.current}var z=f(92413),S=f(8654);function u(){var oe=C.createContext(null);function ge(){return C.useContext(oe)}function He(rt,st){var wt=(0,S.Yr)(rt),Ct=function(Mt,_e){var zt=wt?{ref:_e}:{},vn=C.useRef(0),fn=C.useRef(Mt),cn=ge();return cn!==null?C.createElement(rt,(0,z.Z)({},Mt,zt)):((!st||st(fn.current,Mt))&&(vn.current+=1),fn.current=Mt,C.createElement(oe.Provider,{value:vn.current},C.createElement(rt,(0,z.Z)({},Mt,zt))))};return wt?C.forwardRef(Ct):Ct}function Qe(rt,st){var wt=(0,S.Yr)(rt),Ct=function(Mt,_e){var zt=wt?{ref:_e}:{};return ge(),C.createElement(rt,(0,z.Z)({},Mt,zt))};return wt?C.memo(C.forwardRef(Ct),st):C.memo(Ct,st)}return{makeImmutable:He,responseImmutable:Qe,useImmutableMark:ge}}var x=u(),m=x.makeImmutable,P=x.responseImmutable,ce=x.useImmutableMark,U=u(),W=U.makeImmutable,ne=U.responseImmutable,Y=U.useImmutableMark,b=a(),R=b;function G(oe,ge){var He=C.useRef(0);He.current+=1;var Qe=C.useRef(oe),rt=[];Object.keys(oe||{}).map(function(wt){var Ct;(oe==null?void 0:oe[wt])!==((Ct=Qe.current)===null||Ct===void 0?void 0:Ct[wt])&&rt.push(wt)}),Qe.current=oe;var st=C.useRef([]);return rt.length&&(st.current=rt),C.useDebugValue(He.current),C.useDebugValue(st.current.join(", ")),ge&&console.log("".concat(ge,":"),He.current,st.current),He.current}var j=null,pe=C.memo(function(){var oe=G();return C.createElement("h1",null,"Render Times: ",oe)});pe.displayName="RenderBlock";var me=f(39559),fe=f(33708),ae=f(400),te=f(92310),M=f.n(te),he=f(80547),Q=f(97938),de=f(48736),ie=C.createContext({renderWithProps:!1}),v=ie,_="RC_TABLE_KEY";function V(oe){return oe==null?[]:Array.isArray(oe)?oe:[oe]}function J(oe){var ge=[],He={};return oe.forEach(function(Qe){for(var rt=Qe||{},st=rt.key,wt=rt.dataIndex,Ct=st||V(wt).join("-")||_;He[Ct];)Ct="".concat(Ct,"_next");He[Ct]=!0,ge.push(Ct)}),ge}function Le(oe){return oe!=null}function Oe(oe){return oe&&(0,me.Z)(oe)==="object"&&!Array.isArray(oe)&&!C.isValidElement(oe)}function Ie(oe,ge,He,Qe,rt,st){var wt=C.useContext(v),Ct=Y(),At=(0,he.Z)(function(){if(Le(Qe))return[Qe];var Mt=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],_e=(0,Q.Z)(oe,Mt),zt=_e,vn=void 0;if(rt){var fn=rt(_e,oe,He);Oe(fn)?(zt=fn.children,vn=fn.props,wt.renderWithProps=!0):zt=fn}return[zt,vn]},[Ct,oe,Qe,ge,rt,He],function(Mt,_e){if(st){var zt=(0,ee.Z)(Mt,2),vn=zt[1],fn=(0,ee.Z)(_e,2),cn=fn[1];return st(cn,vn)}return wt.renderWithProps?!0:!(0,q.Z)(Mt,_e,!0)});return At}function $e(oe,ge,He,Qe){var rt=oe+ge-1;return oe<=Qe&&rt>=He}function lt(oe,ge){return I(R,function(He){var Qe=$e(oe,ge||1,He.hoverStartRow,He.hoverEndRow);return[Qe,He.onHover]})}var ut=function(ge){var He=ge.ellipsis,Qe=ge.rowType,rt=ge.children,st,wt=He===!0?{showTitle:!0}:He;return wt&&(wt.showTitle||Qe==="header")&&(typeof rt=="string"||typeof rt=="number"?st=rt.toString():C.isValidElement(rt)&&typeof rt.props.children=="string"&&(st=rt.props.children)),st};function it(oe){var ge,He,Qe,rt,st,wt,Ct,At,Mt=oe.component,_e=oe.children,zt=oe.ellipsis,vn=oe.scope,fn=oe.prefixCls,cn=oe.className,ft=oe.align,Ln=oe.record,Hn=oe.render,Bn=oe.dataIndex,Wn=oe.renderIndex,yr=oe.shouldCellUpdate,br=oe.index,fr=oe.rowType,kr=oe.colSpan,Br=oe.rowSpan,Zn=oe.fixLeft,hr=oe.fixRight,Yn=oe.firstFixLeft,Un=oe.lastFixLeft,cr=oe.firstFixRight,Fr=oe.lastFixRight,Zr=oe.appendNode,re=oe.additionalProps,l=re===void 0?{}:re,d=oe.isSticky,h="".concat(fn,"-cell"),g=I(R,["supportSticky","allColumnsFixedLeft"]),N=g.supportSticky,le=g.allColumnsFixedLeft,Pe=Ie(Ln,Bn,Wn,_e,Hn,yr),Me=(0,ee.Z)(Pe,2),Xe=Me[0],gt=Me[1],Tt={},$t=typeof Zn=="number"&&N,Sn=typeof hr=="number"&&N;$t&&(Tt.position="sticky",Tt.left=Zn),Sn&&(Tt.position="sticky",Tt.right=hr);var qt=(ge=(He=(Qe=gt==null?void 0:gt.colSpan)!==null&&Qe!==void 0?Qe:l.colSpan)!==null&&He!==void 0?He:kr)!==null&&ge!==void 0?ge:1,on=(rt=(st=(wt=gt==null?void 0:gt.rowSpan)!==null&&wt!==void 0?wt:l.rowSpan)!==null&&st!==void 0?st:Br)!==null&&rt!==void 0?rt:1,yn=lt(br,on),Tn=(0,ee.Z)(yn,2),ir=Tn[0],Dn=Tn[1],rr=function(Si){var qi;Ln&&Dn(br,br+on-1),l==null||(qi=l.onMouseEnter)===null||qi===void 0||qi.call(l,Si)},Er=function(Si){var qi;Ln&&Dn(-1,-1),l==null||(qi=l.onMouseLeave)===null||qi===void 0||qi.call(l,Si)};if(qt===0||on===0)return null;var _r=(Ct=l.title)!==null&&Ct!==void 0?Ct:ut({rowType:fr,ellipsis:zt,children:Xe}),ii=M()(h,cn,(At={},(0,ae.Z)(At,"".concat(h,"-fix-left"),$t&&N),(0,ae.Z)(At,"".concat(h,"-fix-left-first"),Yn&&N),(0,ae.Z)(At,"".concat(h,"-fix-left-last"),Un&&N),(0,ae.Z)(At,"".concat(h,"-fix-left-all"),Un&&le&&N),(0,ae.Z)(At,"".concat(h,"-fix-right"),Sn&&N),(0,ae.Z)(At,"".concat(h,"-fix-right-first"),cr&&N),(0,ae.Z)(At,"".concat(h,"-fix-right-last"),Fr&&N),(0,ae.Z)(At,"".concat(h,"-ellipsis"),zt),(0,ae.Z)(At,"".concat(h,"-with-append"),Zr),(0,ae.Z)(At,"".concat(h,"-fix-sticky"),($t||Sn)&&d&&N),(0,ae.Z)(At,"".concat(h,"-row-hover"),!gt&&ir),At),l.className,gt==null?void 0:gt.className),ai={};ft&&(ai.textAlign=ft);var Wi=(0,fe.Z)((0,fe.Z)((0,fe.Z)((0,fe.Z)({},Tt),l.style),ai),gt==null?void 0:gt.style),ci=Xe;return(0,me.Z)(ci)==="object"&&!Array.isArray(ci)&&!C.isValidElement(ci)&&(ci=null),zt&&(Un||cr)&&(ci=C.createElement("span",{className:"".concat(h,"-content")},ci)),C.createElement(Mt,(0,z.Z)({},gt,l,{className:ii,style:Wi,title:_r,scope:vn,onMouseEnter:rr,onMouseLeave:Er,colSpan:qt!==1?qt:null,rowSpan:on!==1?on:null}),Zr,ci)}var Pt=C.memo(it);function Jt(oe,ge,He,Qe,rt,st){var wt=He[oe]||{},Ct=He[ge]||{},At,Mt;wt.fixed==="left"?At=Qe.left[rt==="rtl"?ge:oe]:Ct.fixed==="right"&&(Mt=Qe.right[rt==="rtl"?oe:ge]);var _e=!1,zt=!1,vn=!1,fn=!1,cn=He[ge+1],ft=He[oe-1],Ln=!(st!=null&&st.children);if(rt==="rtl"){if(At!==void 0){var Hn=ft&&ft.fixed==="left";fn=!Hn&&Ln}else if(Mt!==void 0){var Bn=cn&&cn.fixed==="right";vn=!Bn&&Ln}}else if(At!==void 0){var Wn=cn&&cn.fixed==="left";_e=!Wn&&Ln}else if(Mt!==void 0){var yr=ft&&ft.fixed==="right";zt=!yr&&Ln}return{fixLeft:At,fixRight:Mt,lastFixLeft:_e,firstFixRight:zt,lastFixRight:vn,firstFixLeft:fn,isSticky:Qe.isSticky}}var rn=C.createContext({}),It=rn;function Zt(oe){var ge=oe.className,He=oe.index,Qe=oe.children,rt=oe.colSpan,st=rt===void 0?1:rt,wt=oe.rowSpan,Ct=oe.align,At=I(R,["prefixCls","direction"]),Mt=At.prefixCls,_e=At.direction,zt=C.useContext(It),vn=zt.scrollColumnIndex,fn=zt.stickyOffsets,cn=zt.flattenColumns,ft=zt.columns,Ln=He+st-1,Hn=Ln+1===vn?st+1:st,Bn=Jt(He,He+Hn-1,cn,fn,_e,ft==null?void 0:ft[He]);return C.createElement(Pt,(0,z.Z)({className:ge,index:He,component:"td",prefixCls:Mt,record:null,dataIndex:null,align:Ct,colSpan:Hn,rowSpan:wt,render:function(){return Qe}},Bn))}var ot=f(37061),se=["children"];function be(oe){var ge=oe.children,He=(0,ot.Z)(oe,se);return C.createElement("tr",He,ge)}function H(oe){var ge=oe.children;return ge}H.Row=be,H.Cell=Zt;var O=H;function xe(oe){var ge=oe.children,He=oe.stickyOffsets,Qe=oe.flattenColumns,rt=oe.columns,st=I(R,"prefixCls"),wt=Qe.length-1,Ct=Qe[wt],At=C.useMemo(function(){return{stickyOffsets:He,flattenColumns:Qe,scrollColumnIndex:Ct!=null&&Ct.scrollbar?wt:null,columns:rt}},[Ct,Qe,wt,He,rt]);return C.createElement(It.Provider,{value:At},C.createElement("tfoot",{className:"".concat(st,"-summary")},ge))}var k=ne(xe),E=O,T=f(70425),X=f(29301),Z=f(29194),K=f(24514),we=f(75152),Ke=f(26112);function ke(oe,ge,He,Qe,rt,st,wt){oe.push({record:ge,indent:He,index:wt});var Ct=st(ge),At=rt==null?void 0:rt.has(Ct);if(ge&&Array.isArray(ge[Qe])&&At)for(var Mt=0;Mt<ge[Qe].length;Mt+=1)ke(oe,ge[Qe][Mt],He+1,Qe,rt,st,Mt)}function Te(oe,ge,He,Qe){var rt=C.useMemo(function(){if(He!=null&&He.size){for(var st=[],wt=0;wt<(oe==null?void 0:oe.length);wt+=1){var Ct=oe[wt];ke(st,Ct,0,ge,He,Qe,wt)}return st}return oe==null?void 0:oe.map(function(At,Mt){return{record:At,indent:0,index:Mt}})},[oe,ge,He,Qe]);return rt}function Ye(oe){var ge=oe.prefixCls,He=oe.children,Qe=oe.component,rt=oe.cellComponent,st=oe.className,wt=oe.expanded,Ct=oe.colSpan,At=oe.isEmpty,Mt=I(R,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),_e=Mt.scrollbarSize,zt=Mt.fixHeader,vn=Mt.fixColumn,fn=Mt.componentWidth,cn=Mt.horizonScroll,ft=He;return(At?cn&&fn:vn)&&(ft=C.createElement("div",{style:{width:fn-(zt?_e:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},ft)),C.createElement(Qe,{className:st,style:{display:wt?null:"none"}},C.createElement(Pt,{component:rt,prefixCls:ge,colSpan:Ct},ft))}var et=Ye;function je(oe,ge,He,Qe){var rt=I(R,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),st=rt.flattenColumns,wt=rt.expandableType,Ct=rt.expandedKeys,At=rt.childrenColumnName,Mt=rt.onTriggerExpand,_e=rt.rowExpandable,zt=rt.onRow,vn=rt.expandRowByClick,fn=rt.rowClassName,cn=wt==="nest",ft=wt==="row"&&(!_e||_e(oe)),Ln=ft||cn,Hn=Ct&&Ct.has(ge),Bn=At&&oe&&oe[At],Wn=(0,T.useEvent)(Mt),yr=zt==null?void 0:zt(oe,He),br=yr==null?void 0:yr.onClick,fr=function(hr){vn&&Ln&&Mt(oe,hr);for(var Yn=arguments.length,Un=new Array(Yn>1?Yn-1:0),cr=1;cr<Yn;cr++)Un[cr-1]=arguments[cr];br==null||br.apply(void 0,[hr].concat(Un))},kr;typeof fn=="string"?kr=fn:typeof fn=="function"&&(kr=fn(oe,He,Qe));var Br=J(st);return(0,fe.Z)((0,fe.Z)({},rt),{},{columnsKey:Br,nestExpandable:cn,expanded:Hn,hasNestChildren:Bn,record:oe,onTriggerExpand:Wn,rowSupportExpand:ft,expandable:Ln,rowProps:(0,fe.Z)((0,fe.Z)({},yr),{},{className:M()(kr,yr==null?void 0:yr.className),onClick:fr})})}function vt(oe,ge,He,Qe,rt){var st=oe.record,wt=oe.prefixCls,Ct=oe.columnsKey,At=oe.fixedInfoList,Mt=oe.expandIconColumnIndex,_e=oe.nestExpandable,zt=oe.indentSize,vn=oe.expandIcon,fn=oe.expanded,cn=oe.hasNestChildren,ft=oe.onTriggerExpand,Ln=Ct[He],Hn=At[He],Bn;He===(Mt||0)&&_e&&(Bn=C.createElement(C.Fragment,null,C.createElement("span",{style:{paddingLeft:"".concat(zt*Qe,"px")},className:"".concat(wt,"-row-indent indent-level-").concat(Qe)}),vn({prefixCls:wt,expanded:fn,expandable:cn,record:st,onExpand:ft})));var Wn;return ge.onCell&&(Wn=ge.onCell(st,rt)),{key:Ln,fixedInfo:Hn,appendCellNode:Bn,additionalCellProps:Wn||{}}}function bt(oe){var ge=oe.className,He=oe.style,Qe=oe.record,rt=oe.index,st=oe.renderIndex,wt=oe.rowKey,Ct=oe.indent,At=Ct===void 0?0:Ct,Mt=oe.rowComponent,_e=oe.cellComponent,zt=oe.scopeCellComponent,vn=je(Qe,wt,rt,At),fn=vn.prefixCls,cn=vn.flattenColumns,ft=vn.expandedRowClassName,Ln=vn.expandedRowRender,Hn=vn.rowProps,Bn=vn.expanded,Wn=vn.rowSupportExpand,yr=C.useState(!1),br=(0,ee.Z)(yr,2),fr=br[0],kr=br[1];C.useEffect(function(){Bn&&kr(!0)},[Bn]);var Br=C.createElement(Mt,(0,z.Z)({},Hn,{"data-row-key":wt,className:M()(ge,"".concat(fn,"-row"),"".concat(fn,"-row-level-").concat(At),Hn==null?void 0:Hn.className),style:(0,fe.Z)((0,fe.Z)({},He),Hn==null?void 0:Hn.style)}),cn.map(function(Un,cr){var Fr=Un.render,Zr=Un.dataIndex,re=Un.className,l=vt(vn,Un,cr,At,rt),d=l.key,h=l.fixedInfo,g=l.appendCellNode,N=l.additionalCellProps;return C.createElement(Pt,(0,z.Z)({className:re,ellipsis:Un.ellipsis,align:Un.align,scope:Un.rowScope,component:Un.rowScope?zt:_e,prefixCls:fn,key:d,record:Qe,index:rt,renderIndex:st,dataIndex:Zr,render:Fr,shouldCellUpdate:Un.shouldCellUpdate},h,{appendNode:g,additionalProps:N}))})),Zn;if(Wn&&(fr||Bn)){var hr=Ln(Qe,rt,At+1,Bn),Yn=ft&&ft(Qe,rt,At);Zn=C.createElement(et,{expanded:Bn,className:M()("".concat(fn,"-expanded-row"),"".concat(fn,"-expanded-row-level-").concat(At+1),Yn),prefixCls:fn,component:Mt,cellComponent:_e,colSpan:cn.length,isEmpty:!1},hr)}return C.createElement(C.Fragment,null,Br,Zn)}bt.displayName="BodyRow";var ht=ne(bt);function Nt(oe){var ge=oe.columnKey,He=oe.onColumnResize,Qe=C.useRef();return C.useEffect(function(){Qe.current&&He(ge,Qe.current.offsetWidth)},[]),C.createElement(X.Z,{data:ge},C.createElement("td",{ref:Qe,style:{padding:0,border:0,height:0}},C.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function _t(oe){var ge=oe.prefixCls,He=oe.columnsKey,Qe=oe.onColumnResize;return C.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0}},C.createElement(X.Z.Collection,{onBatchResize:function(st){st.forEach(function(wt){var Ct=wt.data,At=wt.size;Qe(Ct,At.offsetWidth)})}},He.map(function(rt){return C.createElement(Nt,{key:rt,columnKey:rt,onColumnResize:Qe})})))}function w(oe){var ge=oe.data,He=oe.measureColumnWidth,Qe=I(R,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),rt=Qe.prefixCls,st=Qe.getComponent,wt=Qe.onColumnResize,Ct=Qe.flattenColumns,At=Qe.getRowKey,Mt=Qe.expandedKeys,_e=Qe.childrenColumnName,zt=Qe.emptyNode,vn=Te(ge,_e,Mt,At),fn=C.useRef({renderWithProps:!1}),cn=st(["body","wrapper"],"tbody"),ft=st(["body","row"],"tr"),Ln=st(["body","cell"],"td"),Hn=st(["body","cell"],"th"),Bn;ge.length?Bn=vn.map(function(yr,br){var fr=yr.record,kr=yr.indent,Br=yr.index,Zn=At(fr,br);return C.createElement(ht,{key:Zn,rowKey:Zn,record:fr,index:br,renderIndex:Br,rowComponent:ft,cellComponent:Ln,scopeCellComponent:Hn,getRowKey:At,indent:kr})}):Bn=C.createElement(et,{expanded:!0,className:"".concat(rt,"-placeholder"),prefixCls:rt,component:ft,cellComponent:Ln,colSpan:Ct.length,isEmpty:!0},zt);var Wn=J(Ct);return C.createElement(v.Provider,{value:fn.current},C.createElement(cn,{className:"".concat(rt,"-tbody")},He&&C.createElement(_t,{prefixCls:rt,columnsKey:Wn,onColumnResize:wt}),Bn))}w.displayName="Body";var D=ne(w),St=["expandable"],ue="RC_TABLE_INTERNAL_COL_DEFINE";function Be(oe){var ge=oe.expandable,He=(0,ot.Z)(oe,St),Qe;return"expandable"in oe?Qe=(0,fe.Z)((0,fe.Z)({},He),ge):Qe=He,Qe.showExpandColumn===!1&&(Qe.expandIconColumnIndex=-1),Qe}var pn=["columnType"];function Ve(oe){for(var ge=oe.colWidths,He=oe.columns,Qe=oe.columCount,rt=[],st=Qe||He.length,wt=!1,Ct=st-1;Ct>=0;Ct-=1){var At=ge[Ct],Mt=He&&He[Ct],_e=Mt&&Mt[ue];if(At||_e||wt){var zt=_e||{},vn=zt.columnType,fn=(0,ot.Z)(zt,pn);rt.unshift(C.createElement("col",(0,z.Z)({key:Ct,style:{width:At}},fn))),wt=!0}}return C.createElement("colgroup",null,rt)}var nt=Ve,Je=f(26407),Ae=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function De(oe,ge){return(0,C.useMemo)(function(){for(var He=[],Qe=0;Qe<ge;Qe+=1){var rt=oe[Qe];if(rt!==void 0)He[Qe]=rt;else return null}return He},[oe.join("_"),ge])}var ze=C.forwardRef(function(oe,ge){var He=oe.className,Qe=oe.noData,rt=oe.columns,st=oe.flattenColumns,wt=oe.colWidths,Ct=oe.columCount,At=oe.stickyOffsets,Mt=oe.direction,_e=oe.fixHeader,zt=oe.stickyTopOffset,vn=oe.stickyBottomOffset,fn=oe.stickyClassName,cn=oe.onScroll,ft=oe.maxContentScroll,Ln=oe.children,Hn=(0,ot.Z)(oe,Ae),Bn=I(R,["prefixCls","scrollbarSize","isSticky"]),Wn=Bn.prefixCls,yr=Bn.scrollbarSize,br=Bn.isSticky,fr=br&&!_e?0:yr,kr=C.useRef(null),Br=C.useCallback(function(re){(0,S.mH)(ge,re),(0,S.mH)(kr,re)},[]);C.useEffect(function(){var re;function l(d){var h=d,g=h.currentTarget,N=h.deltaX;N&&(cn({currentTarget:g,scrollLeft:g.scrollLeft+N}),d.preventDefault())}return(re=kr.current)===null||re===void 0||re.addEventListener("wheel",l),function(){var d;(d=kr.current)===null||d===void 0||d.removeEventListener("wheel",l)}},[]);var Zn=C.useMemo(function(){return st.every(function(re){return re.width})},[st]),hr=st[st.length-1],Yn={fixed:hr?hr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Wn,"-cell-scrollbar")}}},Un=(0,C.useMemo)(function(){return fr?[].concat((0,Je.Z)(rt),[Yn]):rt},[fr,rt]),cr=(0,C.useMemo)(function(){return fr?[].concat((0,Je.Z)(st),[Yn]):st},[fr,st]),Fr=(0,C.useMemo)(function(){var re=At.right,l=At.left;return(0,fe.Z)((0,fe.Z)({},At),{},{left:Mt==="rtl"?[].concat((0,Je.Z)(l.map(function(d){return d+fr})),[0]):l,right:Mt==="rtl"?re:[].concat((0,Je.Z)(re.map(function(d){return d+fr})),[0]),isSticky:br})},[fr,At,br]),Zr=De(wt,Ct);return C.createElement("div",{style:(0,fe.Z)({overflow:"hidden"},br?{top:zt,bottom:vn}:{}),ref:Br,className:M()(He,(0,ae.Z)({},fn,!!fn))},C.createElement("table",{style:{tableLayout:"fixed",visibility:Qe||Zr?null:"hidden"}},(!Qe||!ft||Zn)&&C.createElement(nt,{colWidths:Zr?[].concat((0,Je.Z)(Zr),[fr]):[],columCount:Ct+1,columns:cr}),Ln((0,fe.Z)((0,fe.Z)({},Hn),{},{stickyOffsets:Fr,columns:Un,flattenColumns:cr}))))});ze.displayName="FixedHolder";var qe=C.memo(ze);function ve(oe){var ge=oe.cells,He=oe.stickyOffsets,Qe=oe.flattenColumns,rt=oe.rowComponent,st=oe.cellComponent,wt=oe.tdCellComponent,Ct=oe.onHeaderRow,At=oe.index,Mt=I(R,["prefixCls","direction"]),_e=Mt.prefixCls,zt=Mt.direction,vn;Ct&&(vn=Ct(ge.map(function(cn){return cn.column}),At));var fn=J(ge.map(function(cn){return cn.column}));return C.createElement(rt,vn,ge.map(function(cn,ft){var Ln=cn.column,Hn=Jt(cn.colStart,cn.colEnd,Qe,He,zt,Ln),Bn;return Ln&&Ln.onHeaderCell&&(Bn=cn.column.onHeaderCell(Ln)),C.createElement(Pt,(0,z.Z)({},cn,{scope:Ln.title?cn.colSpan>1?"colgroup":"col":null,ellipsis:Ln.ellipsis,align:Ln.align,component:Ln.title?st:wt,prefixCls:_e,key:fn[ft]},Hn,{additionalProps:Bn,rowType:"header"}))}))}ve.displayName="HeaderRow";var an=ve;function Ge(oe){var ge=[];function He(wt,Ct){var At=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[At]=ge[At]||[];var Mt=Ct,_e=wt.filter(Boolean).map(function(zt){var vn={key:zt.key,className:zt.className||"",children:zt.title,column:zt,colStart:Mt},fn=1,cn=zt.children;return cn&&cn.length>0&&(fn=He(cn,Mt,At+1).reduce(function(ft,Ln){return ft+Ln},0),vn.hasSubColumns=!0),"colSpan"in zt&&(fn=zt.colSpan),"rowSpan"in zt&&(vn.rowSpan=zt.rowSpan),vn.colSpan=fn,vn.colEnd=vn.colStart+fn-1,ge[At].push(vn),Mt+=fn,fn});return _e}He(oe,0);for(var Qe=ge.length,rt=function(Ct){ge[Ct].forEach(function(At){!("rowSpan"in At)&&!At.hasSubColumns&&(At.rowSpan=Qe-Ct)})},st=0;st<Qe;st+=1)rt(st);return ge}function mn(oe){var ge=oe.stickyOffsets,He=oe.columns,Qe=oe.flattenColumns,rt=oe.onHeaderRow,st=I(R,["prefixCls","getComponent"]),wt=st.prefixCls,Ct=st.getComponent,At=C.useMemo(function(){return Ge(He)},[He]),Mt=Ct(["header","wrapper"],"thead"),_e=Ct(["header","row"],"tr"),zt=Ct(["header","cell"],"th"),vn=Ct(["header","cell"],"td");return C.createElement(Mt,{className:"".concat(wt,"-thead")},At.map(function(fn,cn){var ft=C.createElement(an,{key:cn,flattenColumns:Qe,cells:fn,stickyOffsets:ge,rowComponent:_e,cellComponent:zt,tdCellComponent:vn,onHeaderRow:rt,index:cn});return ft}))}var _n=ne(mn),jt=f(11592);function Xt(oe){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ge=="number"?ge:ge.endsWith("%")?oe*parseFloat(ge)/100:null}function Rt(oe,ge){return C.useMemo(function(){if(ge&&ge>0){var He=0,Qe=0;oe.forEach(function(Mt){var _e=Xt(ge,Mt.width);_e?He+=_e:Qe+=1});var rt=ge-He,st=Qe,wt=rt/Qe,Ct=0,At=oe.map(function(Mt){var _e=(0,fe.Z)({},Mt),zt=Xt(ge,_e.width);if(zt)_e.width=zt;else{var vn=Math.floor(wt);_e.width=st===1?rt:vn,rt-=vn,st-=1}return Ct+=_e.width,_e});return[At,Ct]}return[oe,ge]},[oe,ge])}var Ft=["children"],Ze=["fixed"];function Et(oe){return(0,jt.Z)(oe).filter(function(ge){return C.isValidElement(ge)}).map(function(ge){var He=ge.key,Qe=ge.props,rt=Qe.children,st=(0,ot.Z)(Qe,Ft),wt=(0,fe.Z)({key:He},st);return rt&&(wt.children=Et(rt)),wt})}function xt(oe){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return oe.filter(function(He){return He&&(0,me.Z)(He)==="object"}).reduce(function(He,Qe,rt){var st=Qe.fixed,wt=st===!0?"left":st,Ct="".concat(ge,"-").concat(rt),At=Qe.children;return At&&At.length>0?[].concat((0,Je.Z)(He),(0,Je.Z)(xt(At,Ct).map(function(Mt){return(0,fe.Z)({fixed:wt},Mt)}))):[].concat((0,Je.Z)(He),[(0,fe.Z)((0,fe.Z)({key:Ct},Qe),{},{fixed:wt})])},[])}function Ne(oe){for(var ge=!0,He=0;He<oe.length;He+=1){var Qe=oe[He];if(ge&&Qe.fixed!=="left")ge=!1;else if(!ge&&Qe.fixed==="left"){warning(!1,"Index ".concat(He-1," of `columns` missing `fixed='left'` prop."));break}}for(var rt=!0,st=oe.length-1;st>=0;st-=1){var wt=oe[st];if(rt&&wt.fixed!=="right")rt=!1;else if(!rt&&wt.fixed==="right"){warning(!1,"Index ".concat(st+1," of `columns` missing `fixed='right'` prop."));break}}}function Ce(oe){return oe.map(function(ge){var He=ge.fixed,Qe=(0,ot.Z)(ge,Ze),rt=He;return He==="left"?rt="right":He==="right"&&(rt="left"),(0,fe.Z)({fixed:rt},Qe)})}function mt(oe,ge){var He=oe.prefixCls,Qe=oe.columns,rt=oe.children,st=oe.expandable,wt=oe.expandedKeys,Ct=oe.columnTitle,At=oe.getRowKey,Mt=oe.onTriggerExpand,_e=oe.expandIcon,zt=oe.rowExpandable,vn=oe.expandIconColumnIndex,fn=oe.direction,cn=oe.expandRowByClick,ft=oe.columnWidth,Ln=oe.fixed,Hn=oe.scrollWidth,Bn=C.useMemo(function(){return Qe||Et(rt)},[Qe,rt]),Wn=C.useMemo(function(){if(st){var hr,Yn=Bn.slice();if(!Yn.includes(y)){var Un=vn||0;Un>=0&&Yn.splice(Un,0,y)}var cr=Yn.indexOf(y);Yn=Yn.filter(function(l,d){return l!==y||d===cr});var Fr=Bn[cr],Zr;(Ln==="left"||Ln)&&!vn?Zr="left":(Ln==="right"||Ln)&&vn===Bn.length?Zr="right":Zr=Fr?Fr.fixed:null;var re=(hr={},(0,ae.Z)(hr,ue,{className:"".concat(He,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,ae.Z)(hr,"title",Ct),(0,ae.Z)(hr,"fixed",Zr),(0,ae.Z)(hr,"className","".concat(He,"-row-expand-icon-cell")),(0,ae.Z)(hr,"width",ft),(0,ae.Z)(hr,"render",function(d,h,g){var N=At(h,g),le=wt.has(N),Pe=zt?zt(h):!0,Me=_e({prefixCls:He,expanded:le,expandable:Pe,record:h,onExpand:Mt});return cn?C.createElement("span",{onClick:function(gt){return gt.stopPropagation()}},Me):Me}),hr);return Yn.map(function(l){return l===y?re:l})}return Bn.filter(function(l){return l!==y})},[st,Bn,At,wt,_e,fn]),yr=C.useMemo(function(){var hr=Wn;return ge&&(hr=ge(hr)),hr.length||(hr=[{render:function(){return null}}]),hr},[ge,Wn,fn]),br=C.useMemo(function(){return fn==="rtl"?Ce(xt(yr)):xt(yr)},[yr,fn,Hn]),fr=Rt(br,Hn),kr=(0,ee.Z)(fr,2),Br=kr[0],Zn=kr[1];return[yr,Br,Zn]}var pt=mt;function Dt(oe){var ge,He=oe.prefixCls,Qe=oe.record,rt=oe.onExpand,st=oe.expanded,wt=oe.expandable,Ct="".concat(He,"-row-expand-icon");if(!wt)return C.createElement("span",{className:M()(Ct,"".concat(He,"-row-spaced"))});var At=function(_e){rt(Qe,_e),_e.stopPropagation()};return C.createElement("span",{className:M()(Ct,(ge={},(0,ae.Z)(ge,"".concat(He,"-row-expanded"),st),(0,ae.Z)(ge,"".concat(He,"-row-collapsed"),!st),ge)),onClick:At})}function Ht(oe,ge,He){var Qe=[];function rt(st){(st||[]).forEach(function(wt,Ct){Qe.push(ge(wt,Ct)),rt(wt[He])})}return rt(oe),Qe}function nn(oe,ge,He){var Qe=Be(oe),rt=Qe.expandIcon,st=Qe.expandedRowKeys,wt=Qe.defaultExpandedRowKeys,Ct=Qe.defaultExpandAllRows,At=Qe.expandedRowRender,Mt=Qe.onExpand,_e=Qe.onExpandedRowsChange,zt=Qe.childrenColumnName,vn=rt||Dt,fn=zt||"children",cn=C.useMemo(function(){return At?"row":oe.expandable&&oe.internalHooks===L&&oe.expandable.__PARENT_RENDER_ICON__||ge.some(function(br){return br&&(0,me.Z)(br)==="object"&&br[fn]})?"nest":!1},[!!At,ge]),ft=C.useState(function(){return wt||(Ct?Ht(ge,He,fn):[])}),Ln=(0,ee.Z)(ft,2),Hn=Ln[0],Bn=Ln[1],Wn=C.useMemo(function(){return new Set(st||Hn||[])},[st,Hn]),yr=C.useCallback(function(br){var fr=He(br,ge.indexOf(br)),kr,Br=Wn.has(fr);Br?(Wn.delete(fr),kr=(0,Je.Z)(Wn)):kr=[].concat((0,Je.Z)(Wn),[fr]),Bn(kr),Mt&&Mt(!Br,br),_e&&_e(kr)},[He,Wn,ge,Mt,_e]);return[Qe,cn,Wn,vn,fn,yr]}function Kt(oe,ge,He,Qe){var rt=oe.map(function(st,wt){return Jt(wt,wt,oe,ge,He,Qe==null?void 0:Qe[wt])});return(0,he.Z)(function(){return rt},[rt],function(st,wt){return!(0,q.Z)(st,wt)})}function sn(oe){var ge=(0,C.useRef)(oe),He=(0,C.useState)({}),Qe=(0,ee.Z)(He,2),rt=Qe[1],st=(0,C.useRef)(null),wt=(0,C.useRef)([]);function Ct(At){wt.current.push(At);var Mt=Promise.resolve();st.current=Mt,Mt.then(function(){if(st.current===Mt){var _e=wt.current,zt=ge.current;wt.current=[],_e.forEach(function(vn){ge.current=vn(ge.current)}),st.current=null,zt!==ge.current&&rt({})}})}return(0,C.useEffect)(function(){return function(){st.current=null}},[]),[ge.current,Ct]}function un(oe){var ge=(0,C.useRef)(oe||null),He=(0,C.useRef)();function Qe(){window.clearTimeout(He.current)}function rt(wt){ge.current=wt,Qe(),He.current=window.setTimeout(function(){ge.current=null,He.current=void 0},100)}function st(){return ge.current}return(0,C.useEffect)(function(){return Qe},[]),[rt,st]}function Ut(){var oe=C.useState(-1),ge=(0,ee.Z)(oe,2),He=ge[0],Qe=ge[1],rt=C.useState(-1),st=(0,ee.Z)(rt,2),wt=st[0],Ct=st[1],At=C.useCallback(function(Mt,_e){Qe(Mt),Ct(_e)},[]);return[He,wt,At]}var kt=f(47273),ln=(0,kt.Z)()?window:null;function dn(oe,ge){var He=(0,me.Z)(oe)==="object"?oe:{},Qe=He.offsetHeader,rt=Qe===void 0?0:Qe,st=He.offsetSummary,wt=st===void 0?0:st,Ct=He.offsetScroll,At=Ct===void 0?0:Ct,Mt=He.getContainer,_e=Mt===void 0?function(){return ln}:Mt,zt=_e()||ln;return C.useMemo(function(){var vn=!!oe;return{isSticky:vn,stickyClassName:vn?"".concat(ge,"-sticky-holder"):"",offsetHeader:rt,offsetSummary:wt,offsetScroll:At,container:zt}},[At,rt,wt,ge,zt])}function hn(oe,ge,He){var Qe=(0,C.useMemo)(function(){for(var rt=[],st=[],wt=0,Ct=0,At=0;At<ge;At+=1)if(He==="rtl"){st[At]=Ct,Ct+=oe[At]||0;var Mt=ge-At-1;rt[Mt]=wt,wt+=oe[Mt]||0}else{rt[At]=wt,wt+=oe[At]||0;var _e=ge-At-1;st[_e]=Ct,Ct+=oe[_e]||0}return{left:rt,right:st}},[oe,ge,He]);return Qe}var wn=hn;function Xn(oe){var ge=oe.className,He=oe.children;return C.createElement("div",{className:ge},He)}var Nn=Xn,en=f(8224),dt=f(55468),yt=function(ge,He){var Qe,rt,st=ge.scrollBodyRef,wt=ge.onScroll,Ct=ge.offsetScroll,At=ge.container,Mt=I(R,"prefixCls"),_e=((Qe=st.current)===null||Qe===void 0?void 0:Qe.scrollWidth)||0,zt=((rt=st.current)===null||rt===void 0?void 0:rt.clientWidth)||0,vn=_e&&zt*(zt/_e),fn=C.useRef(),cn=sn({scrollLeft:0,isHiddenScrollBar:!1}),ft=(0,ee.Z)(cn,2),Ln=ft[0],Hn=ft[1],Bn=C.useRef({delta:0,x:0}),Wn=C.useState(!1),yr=(0,ee.Z)(Wn,2),br=yr[0],fr=yr[1],kr=function(){fr(!1)},Br=function(cr){cr.persist(),Bn.current.delta=cr.pageX-Ln.scrollLeft,Bn.current.x=0,fr(!0),cr.preventDefault()},Zn=function(cr){var Fr,Zr=cr||((Fr=window)===null||Fr===void 0?void 0:Fr.event),re=Zr.buttons;if(!br||re===0){br&&fr(!1);return}var l=Bn.current.x+cr.pageX-Bn.current.x-Bn.current.delta;l<=0&&(l=0),l+vn>=zt&&(l=zt-vn),wt({scrollLeft:l/zt*(_e+2)}),Bn.current.x=cr.pageX},hr=function(){if(st.current){var cr=(0,dt.os)(st.current).top,Fr=cr+st.current.offsetHeight,Zr=At===window?document.documentElement.scrollTop+window.innerHeight:(0,dt.os)(At).top+At.clientHeight;Fr-(0,we.Z)()<=Zr||cr>=Zr-Ct?Hn(function(re){return(0,fe.Z)((0,fe.Z)({},re),{},{isHiddenScrollBar:!0})}):Hn(function(re){return(0,fe.Z)((0,fe.Z)({},re),{},{isHiddenScrollBar:!1})})}},Yn=function(cr){Hn(function(Fr){return(0,fe.Z)((0,fe.Z)({},Fr),{},{scrollLeft:cr/_e*zt||0})})};return C.useImperativeHandle(He,function(){return{setScrollLeft:Yn}}),C.useEffect(function(){var Un=(0,en.Z)(document.body,"mouseup",kr,!1),cr=(0,en.Z)(document.body,"mousemove",Zn,!1);return hr(),function(){Un.remove(),cr.remove()}},[vn,br]),C.useEffect(function(){var Un=(0,en.Z)(At,"scroll",hr,!1),cr=(0,en.Z)(window,"resize",hr,!1);return function(){Un.remove(),cr.remove()}},[At]),C.useEffect(function(){Ln.isHiddenScrollBar||Hn(function(Un){var cr=st.current;return cr?(0,fe.Z)((0,fe.Z)({},Un),{},{scrollLeft:cr.scrollLeft/cr.scrollWidth*cr.clientWidth}):Un})},[Ln.isHiddenScrollBar]),_e<=zt||!vn||Ln.isHiddenScrollBar?null:C.createElement("div",{style:{height:(0,we.Z)(),width:zt,bottom:Ct},className:"".concat(Mt,"-sticky-scroll")},C.createElement("div",{onMouseDown:Br,ref:fn,className:M()("".concat(Mt,"-sticky-scroll-bar"),(0,ae.Z)({},"".concat(Mt,"-sticky-scroll-bar-active"),br)),style:{width:"".concat(vn,"px"),transform:"translate3d(".concat(Ln.scrollLeft,"px, 0, 0)")}}))},Lt=C.forwardRef(yt);function Bt(oe){return null}var Ot=Bt;function Yt(oe){return null}var Gt=Yt,gn="rc-table",En=[],In={};function qn(){return"No Data"}function er(oe){var ge,He=(0,fe.Z)({rowKey:"key",prefixCls:gn,emptyText:qn},oe),Qe=He.prefixCls,rt=He.className,st=He.rowClassName,wt=He.style,Ct=He.data,At=He.rowKey,Mt=He.scroll,_e=He.tableLayout,zt=He.direction,vn=He.title,fn=He.footer,cn=He.summary,ft=He.caption,Ln=He.id,Hn=He.showHeader,Bn=He.components,Wn=He.emptyText,yr=He.onRow,br=He.onHeaderRow,fr=He.internalHooks,kr=He.transformColumns,Br=He.internalRefs,Zn=He.tailor,hr=He.sticky,Yn=Ct||En,Un=!!Yn.length,cr=fr===L,Fr=C.useCallback(function(pi,Hi){return(0,Q.Z)(Bn,pi)||Hi},[Bn]),Zr=C.useMemo(function(){return typeof At=="function"?At:function(pi){var Hi=pi&&pi[At];return Hi}},[At]),re=Fr(["body"]),l=Ut(),d=(0,ee.Z)(l,3),h=d[0],g=d[1],N=d[2],le=nn(He,Yn,Zr),Pe=(0,ee.Z)(le,6),Me=Pe[0],Xe=Pe[1],gt=Pe[2],Tt=Pe[3],$t=Pe[4],Sn=Pe[5],qt=Mt==null?void 0:Mt.x,on=C.useState(0),yn=(0,ee.Z)(on,2),Tn=yn[0],ir=yn[1],Dn=pt((0,fe.Z)((0,fe.Z)((0,fe.Z)({},He),Me),{},{expandable:!!Me.expandedRowRender,columnTitle:Me.columnTitle,expandedKeys:gt,getRowKey:Zr,onTriggerExpand:Sn,expandIcon:Tt,expandIconColumnIndex:Me.expandIconColumnIndex,direction:zt,scrollWidth:cr&&Zn&&typeof qt=="number"?qt:null}),cr?kr:null),rr=(0,ee.Z)(Dn,3),Er=rr[0],_r=rr[1],ii=rr[2],ai=ii!=null?ii:qt,Wi=C.useMemo(function(){return{columns:Er,flattenColumns:_r}},[Er,_r]),ci=C.useRef(),si=C.useRef(),Si=C.useRef(),qi=C.useRef(),xa=C.useRef(),Hr=C.useState(!1),ei=(0,ee.Z)(Hr,2),qr=ei[0],Ti=ei[1],ea=C.useState(!1),Wr=(0,ee.Z)(ea,2),ra=Wr[0],ta=Wr[1],Aa=sn(new Map),Ma=(0,ee.Z)(Aa,2),Ea=Ma[0],Ss=Ma[1],Xa=J(_r),Na=Xa.map(function(pi){return Ea.get(pi)}),ha=C.useMemo(function(){return Na},[Na.join("_")]),pa=wn(ha,_r.length,zt),$i=Mt&&Le(Mt.y),_i=Mt&&Le(ai)||!!Me.fixed,rs=_i&&_r.some(function(pi){var Hi=pi.fixed;return Hi}),Fs=C.useRef(),es=dn(hr,Qe),$a=es.isSticky,io=es.offsetHeader,ao=es.offsetSummary,hi=es.offsetScroll,Li=es.stickyClassName,ma=es.container,Bi=C.useMemo(function(){return cn==null?void 0:cn(Yn)},[cn,Yn]),Da=($i||$a)&&C.isValidElement(Bi)&&Bi.type===O&&Bi.props.fixed,Pa,Ka,gs;$i&&(Ka={overflowY:"scroll",maxHeight:Mt.y}),_i&&(Pa={overflowX:"auto"},$i||(Ka={overflowY:"hidden"}),gs={width:ai===!0?"auto":ai,minWidth:"100%"});var so=C.useCallback(function(pi,Hi){(0,Z.Z)(ci.current)&&Ss(function(Ya){if(Ya.get(pi)!==Hi){var Es=new Map(Ya);return Es.set(pi,Hi),Es}return Ya})},[]),qo=un(null),oo=(0,ee.Z)(qo,2),wo=oo[0],Bo=oo[1];function lo(pi,Hi){Hi&&(typeof Hi=="function"?Hi(pi):Hi.scrollLeft!==pi&&(Hi.scrollLeft=pi,Hi.scrollLeft!==pi&&setTimeout(function(){Hi.scrollLeft=pi},0)))}var xs=(0,Ee.Z)(function(pi){var Hi=pi.currentTarget,Ya=pi.scrollLeft,Es=zt==="rtl",_s=typeof Ya=="number"?Ya:Hi.scrollLeft,Fo=Hi||In;if(!Bo()||Bo()===Fo){var Io;wo(Fo),lo(_s,si.current),lo(_s,Si.current),lo(_s,xa.current),lo(_s,(Io=Fs.current)===null||Io===void 0?void 0:Io.setScrollLeft)}var ko=Hi||si.current;if(ko){var Oo=ko.scrollWidth,Lo=ko.clientWidth;if(Oo===Lo){Ti(!1),ta(!1);return}Es?(Ti(-_s<Oo-Lo),ta(-_s>0)):(Ti(_s>0),ta(_s<Oo-Lo))}}),Co=function(){_i&&Si.current?xs({currentTarget:Si.current}):(Ti(!1),ta(!1))},Mo=function(Hi){var Ya=Hi.width;Ya!==Tn&&(Co(),ir(ci.current?ci.current.offsetWidth:Ya))},Ko=C.useRef(!1);C.useEffect(function(){Ko.current&&Co()},[_i,Ct,Er.length]),C.useEffect(function(){Ko.current=!0},[]);var zo=C.useState(0),Ho=(0,ee.Z)(zo,2),Bs=Ho[0],Ro=Ho[1],jo=C.useState(!0),Wo=(0,ee.Z)(jo,2),uo=Wo[0],Vo=Wo[1];C.useEffect(function(){(!Zn||!cr)&&(Si.current instanceof Element?Ro((0,we.o)(Si.current).width):Ro((0,we.o)(qi.current).width)),Vo((0,K.G)("position","sticky"))},[]),C.useEffect(function(){cr&&Br&&(Br.body.current=Si.current)});var To=C.useCallback(function(pi){return C.createElement(C.Fragment,null,C.createElement(_n,pi),Da==="top"&&C.createElement(k,pi,Bi))},[Da,Bi]),Xo=C.useCallback(function(pi){return C.createElement(k,pi,Bi)},[Bi]),Go=Fr(["table"],"table"),co=C.useMemo(function(){return _e||(rs?ai==="max-content"?"auto":"fixed":$i||$a||_r.some(function(pi){var Hi=pi.ellipsis;return Hi})?"fixed":"auto")},[$i,rs,_r,_e,$a]),fo,ho={colWidths:ha,columCount:_r.length,stickyOffsets:pa,onHeaderRow:br,fixHeader:$i,scroll:Mt},Zo=C.useMemo(function(){return Un?null:typeof Wn=="function"?Wn():Wn},[Un,Wn]),Do=C.createElement(D,{data:Yn,measureColumnWidth:$i||_i||$a}),po=C.createElement(nt,{colWidths:_r.map(function(pi){var Hi=pi.width;return Hi}),columns:_r}),$o=ft!=null?C.createElement("caption",{className:"".concat(Qe,"-caption")},ft):void 0,mo=(0,Ke.Z)(He,{data:!0}),Is=(0,Ke.Z)(He,{aria:!0});if($i||$a){var ja;typeof re=="function"?(ja=re(Yn,{scrollbarSize:Bs,ref:Si,onScroll:xs}),ho.colWidths=_r.map(function(pi,Hi){var Ya=pi.width,Es=Hi===_r.length-1?Ya-Bs:Ya;return typeof Es=="number"&&!Number.isNaN(Es)?Es:0})):ja=C.createElement("div",{style:(0,fe.Z)((0,fe.Z)({},Pa),Ka),onScroll:xs,ref:Si,className:M()("".concat(Qe,"-body"))},C.createElement(Go,(0,z.Z)({style:(0,fe.Z)((0,fe.Z)({},gs),{},{tableLayout:co})},Is),$o,po,Do,!Da&&Bi&&C.createElement(k,{stickyOffsets:pa,flattenColumns:_r,columns:Er},Bi)));var Fa=(0,fe.Z)((0,fe.Z)((0,fe.Z)({noData:!Yn.length,maxContentScroll:_i&&ai==="max-content"},ho),Wi),{},{direction:zt,stickyClassName:Li,onScroll:xs});fo=C.createElement(C.Fragment,null,Hn!==!1&&C.createElement(qe,(0,z.Z)({},Fa,{stickyTopOffset:io,className:"".concat(Qe,"-header"),ref:si}),To),ja,Da&&Da!=="top"&&C.createElement(qe,(0,z.Z)({},Fa,{stickyBottomOffset:ao,className:"".concat(Qe,"-summary"),ref:xa}),Xo),$a&&C.createElement(Lt,{ref:Fs,offsetScroll:hi,scrollBodyRef:Si,onScroll:xs,container:ma}))}else fo=C.createElement("div",{style:(0,fe.Z)((0,fe.Z)({},Pa),Ka),className:M()("".concat(Qe,"-content")),onScroll:xs,ref:Si},C.createElement(Go,(0,z.Z)({style:(0,fe.Z)((0,fe.Z)({},gs),{},{tableLayout:co})},Is),$o,po,Hn!==!1&&C.createElement(_n,(0,z.Z)({},ho,Wi)),Do,Bi&&C.createElement(k,{stickyOffsets:pa,flattenColumns:_r,columns:Er},Bi)));var $s=C.createElement("div",(0,z.Z)({className:M()(Qe,rt,(ge={},(0,ae.Z)(ge,"".concat(Qe,"-rtl"),zt==="rtl"),(0,ae.Z)(ge,"".concat(Qe,"-ping-left"),qr),(0,ae.Z)(ge,"".concat(Qe,"-ping-right"),ra),(0,ae.Z)(ge,"".concat(Qe,"-layout-fixed"),_e==="fixed"),(0,ae.Z)(ge,"".concat(Qe,"-fixed-header"),$i),(0,ae.Z)(ge,"".concat(Qe,"-fixed-column"),rs),(0,ae.Z)(ge,"".concat(Qe,"-scroll-horizontal"),_i),(0,ae.Z)(ge,"".concat(Qe,"-has-fix-left"),_r[0]&&_r[0].fixed),(0,ae.Z)(ge,"".concat(Qe,"-has-fix-right"),_r[_r.length-1]&&_r[_r.length-1].fixed==="right"),ge)),style:wt,id:Ln,ref:ci},mo),vn&&C.createElement(Nn,{className:"".concat(Qe,"-title")},vn(Yn)),C.createElement("div",{ref:qi,className:"".concat(Qe,"-container")},fo),fn&&C.createElement(Nn,{className:"".concat(Qe,"-footer")},fn(Yn)));_i&&($s=C.createElement(X.Z,{onResize:Mo},$s));var As=Kt(_r,pa,zt,Er),el=C.useMemo(function(){return{scrollX:ai,prefixCls:Qe,getComponent:Fr,scrollbarSize:Bs,direction:zt,fixedInfoList:As,isSticky:$a,supportSticky:uo,componentWidth:Tn,fixHeader:$i,fixColumn:rs,horizonScroll:_i,tableLayout:co,rowClassName:st,expandedRowClassName:Me.expandedRowClassName,expandIcon:Tt,expandableType:Xe,expandRowByClick:Me.expandRowByClick,expandedRowRender:Me.expandedRowRender,onTriggerExpand:Sn,expandIconColumnIndex:Me.expandIconColumnIndex,indentSize:Me.indentSize,allColumnsFixedLeft:_r.every(function(pi){return pi.fixed==="left"}),emptyNode:Zo,columns:Er,flattenColumns:_r,onColumnResize:so,hoverStartRow:h,hoverEndRow:g,onHover:N,rowExpandable:Me.rowExpandable,onRow:yr,getRowKey:Zr,expandedKeys:gt,childrenColumnName:$t}},[ai,Qe,Fr,Bs,zt,As,$a,uo,Tn,$i,rs,_i,co,st,Me.expandedRowClassName,Tt,Xe,Me.expandRowByClick,Me.expandedRowRender,Sn,Me.expandIconColumnIndex,Me.indentSize,Zo,Er,_r,so,h,g,N,Me.rowExpandable,yr,Zr,gt,$t]);return C.createElement(R.Provider,{value:el},$s)}function pr(oe){return W(er,oe)}var Cn=pr();Cn.EXPAND_COLUMN=y,Cn.INTERNAL_HOOKS=L,Cn.Column=Ot,Cn.ColumnGroup=Gt,Cn.Summary=E;var An=Cn,mr=f(57149),Vn=a(null),Dr=a(null);function tr(oe,ge,He){var Qe=ge||1;return He[oe+Qe]-(He[oe]||0)}function dr(oe){var ge=oe.rowInfo,He=oe.column,Qe=oe.colIndex,rt=oe.indent,st=oe.index,wt=oe.renderIndex,Ct=oe.record,At=oe.style,Mt=oe.className,_e=oe.inverse,zt=oe.getHeight,vn=He.render,fn=He.dataIndex,cn=He.className,ft=He.width,Ln=I(Dr,["columnsOffset"]),Hn=Ln.columnsOffset,Bn=vt(ge,He,Qe,rt,st),Wn=Bn.key,yr=Bn.fixedInfo,br=Bn.appendCellNode,fr=Bn.additionalCellProps,kr=fr.style,Br=fr.colSpan,Zn=Br===void 0?1:Br,hr=fr.rowSpan,Yn=hr===void 0?1:hr,Un=Qe-1,cr=tr(Un,Zn,Hn),Fr=Zn>1?ft-cr:0,Zr=(0,fe.Z)((0,fe.Z)((0,fe.Z)({},kr),At),{},{flex:"0 0 ".concat(cr,"px"),width:"".concat(cr,"px"),marginRight:Fr,pointerEvents:"auto"}),re=C.useMemo(function(){return _e?Yn<=1:Zn===0||Yn===0||Yn>1},[Yn,Zn,_e]);re?Zr.visibility="hidden":_e&&(Zr.height=zt==null?void 0:zt(Yn));var l=re?function(){return null}:vn,d={};return(Yn===0||Zn===0)&&(d.rowSpan=1,d.colSpan=1),C.createElement(Pt,(0,z.Z)({className:M()(cn,Mt),ellipsis:He.ellipsis,align:He.align,scope:He.rowScope,component:"div",prefixCls:ge.prefixCls,key:Wn,record:Ct,index:st,renderIndex:wt,dataIndex:fn,render:l,shouldCellUpdate:He.shouldCellUpdate},yr,{appendNode:br,additionalProps:(0,fe.Z)((0,fe.Z)({},fr),{},{style:Zr},d)}))}var vr=dr,nr=["data","index","className","rowKey","style","extra","getHeight"],Ir=C.forwardRef(function(oe,ge){var He=oe.data,Qe=oe.index,rt=oe.className,st=oe.rowKey,wt=oe.style,Ct=oe.extra,At=oe.getHeight,Mt=(0,ot.Z)(oe,nr),_e=He.record,zt=He.indent,vn=He.index,fn=I(R,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),cn=fn.scrollX,ft=fn.flattenColumns,Ln=fn.prefixCls,Hn=fn.fixColumn,Bn=fn.componentWidth,Wn=je(_e,st,Qe,zt),yr=Wn.rowSupportExpand,br=Wn.expanded,fr=Wn.rowProps,kr=Wn.expandedRowRender,Br=Wn.expandedRowClassName,Zn;if(yr&&br){var hr=kr(_e,Qe,zt+1,br),Yn=Br==null?void 0:Br(_e,Qe,zt),Un={};Hn&&(Un={style:(0,ae.Z)({},"--virtual-width","".concat(Bn,"px"))});var cr="".concat(Ln,"-expanded-row-cell");Zn=C.createElement("div",{className:M()("".concat(Ln,"-expanded-row"),"".concat(Ln,"-expanded-row-level-").concat(zt+1),Yn)},C.createElement(Pt,{component:"div",prefixCls:Ln,className:M()(cr,(0,ae.Z)({},"".concat(cr,"-fixed"),Hn)),additionalProps:Un},hr))}var Fr=(0,fe.Z)((0,fe.Z)({},wt),{},{width:cn});Ct&&(Fr.position="absolute",Fr.pointerEvents="none");var Zr=C.createElement("div",(0,z.Z)({},fr,Mt,{ref:yr?null:ge,className:M()(rt,"".concat(Ln,"-row"),fr==null?void 0:fr.className,(0,ae.Z)({},"".concat(Ln,"-row-extra"),Ct)),style:(0,fe.Z)((0,fe.Z)({},Fr),fr==null?void 0:fr.style)}),ft.map(function(re,l){return C.createElement(vr,{key:l,rowInfo:Wn,column:re,colIndex:l,indent:zt,index:Qe,renderIndex:vn,record:_e,inverse:Ct,getHeight:At})}));return yr?C.createElement("div",{ref:ge},Zr,Zn):Zr}),$r=ne(Ir),Jn=$r,Fn=C.forwardRef(function(oe,ge){var He=oe.data,Qe=oe.onScroll,rt=I(R,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),st=rt.flattenColumns,wt=rt.onColumnResize,Ct=rt.getRowKey,At=rt.expandedKeys,Mt=rt.prefixCls,_e=rt.childrenColumnName,zt=rt.emptyNode,vn=rt.scrollX,fn=I(Vn),cn=fn.scrollY,ft=fn.listItemHeight,Ln=C.useRef(),Hn=Te(He,_e,At,Ct),Bn=C.useMemo(function(){var Zn=0;return st.map(function(hr){var Yn=hr.width,Un=hr.key;return Zn+=Yn,[Un,Yn,Zn]})},[st]),Wn=C.useMemo(function(){return Bn.map(function(Zn){return Zn[2]})},[Bn]);C.useEffect(function(){Bn.forEach(function(Zn){var hr=(0,ee.Z)(Zn,2),Yn=hr[0],Un=hr[1];wt(Yn,Un)})},[Bn]),C.useImperativeHandle(ge,function(){var Zn={};return Object.defineProperty(Zn,"scrollLeft",{get:function(){var Yn;return((Yn=Ln.current)===null||Yn===void 0?void 0:Yn.getScrollInfo().x)||0},set:function(Yn){var Un;(Un=Ln.current)===null||Un===void 0||Un.scrollTo({left:Yn})}}),Zn});var yr=function(hr,Yn){var Un,cr=(Un=Hn[Yn])===null||Un===void 0?void 0:Un.record,Fr=hr.onCell;if(Fr){var Zr,re=Fr(cr,Yn);return(Zr=re==null?void 0:re.rowSpan)!==null&&Zr!==void 0?Zr:1}return 1},br=function(hr){var Yn=hr.start,Un=hr.end,cr=hr.getSize,Fr=hr.offsetY;if(Un<0)return null;for(var Zr=st.filter(function(qt){return yr(qt,Yn)===0}),re=Yn,l=function(on){if(Zr=Zr.filter(function(yn){return yr(yn,on)===0}),!Zr.length)return re=on,"break"},d=Yn;d>=0;d-=1){var h=l(d);if(h==="break")break}for(var g=st.filter(function(qt){return yr(qt,Un)!==1}),N=Un,le=function(on){if(g=g.filter(function(yn){return yr(yn,on)!==1}),!g.length)return N=Math.max(on-1,Un),"break"},Pe=Un;Pe<Hn.length;Pe+=1){var Me=le(Pe);if(Me==="break")break}for(var Xe=[],gt=function(on){var yn=Hn[on];if(!yn)return"continue";st.some(function(Tn){return yr(Tn,on)>1})&&Xe.push(on)},Tt=re;Tt<=N;Tt+=1)var $t=gt(Tt);var Sn=Xe.map(function(qt){var on=Hn[qt],yn=Ct(on.record,qt),Tn=function(rr){var Er=qt+rr-1,_r=Ct(Hn[Er].record,Er),ii=cr(yn,_r);return ii.bottom-ii.top},ir=cr(yn);return C.createElement(Jn,{key:qt,data:on,rowKey:yn,index:qt,style:{top:-Fr+ir.top},extra:!0,getHeight:Tn})});return Sn},fr=C.useMemo(function(){return{columnsOffset:Wn}},[Wn]),kr="".concat(Mt,"-tbody"),Br;return Hn.length?Br=C.createElement(mr.Z,{fullHeight:!1,ref:Ln,className:M()(kr,"".concat(kr,"-virtual")),height:cn,itemHeight:ft||24,data:Hn,itemKey:function(hr){return Ct(hr.record)},scrollWidth:vn,onVirtualScroll:function(hr){var Yn=hr.x;Qe({scrollLeft:Yn})},extraRender:br},function(Zn,hr,Yn){var Un=Ct(Zn.record,hr);return C.createElement(Jn,(0,z.Z)({data:Zn,rowKey:Un,index:hr},Yn))}):Br=C.createElement("div",{className:M()("".concat(Mt,"-placeholder"))},C.createElement(Pt,{component:"div",prefixCls:Mt},zt)),C.createElement(Dr.Provider,{value:fr},Br)}),at=ne(Fn),zn=at,sr=function(ge,He){var Qe=He.ref,rt=He.onScroll;return C.createElement(zn,{ref:Qe,data:ge,onScroll:rt})},wr=100;function Cr(oe){var ge=oe.columns,He=oe.scroll,Qe=oe.prefixCls,rt=Qe===void 0?gn:Qe,st=oe.className,wt=oe.listItemHeight,Ct=He||{},At=Ct.x,Mt=Ct.y;typeof At!="number"&&(At=((ge||[]).length+1)*wr),typeof Mt!="number"&&(Mt=500);var _e=C.useMemo(function(){return{scrollY:Mt,listItemHeight:wt}},[Mt,wt]);return C.createElement(Vn.Provider,{value:_e},C.createElement(An,(0,z.Z)({},oe,{className:M()(st,"".concat(rt,"-virtual")),scroll:(0,fe.Z)((0,fe.Z)({},He),{},{x:At}),components:{body:sr},columns:ge,internalHooks:L,tailor:!0})))}function Nr(oe){return W(Cr,oe)}var jr=Nr(),Sr=null;function Mr(oe){return null}var Gr=Mr;function On(oe){return null}var Kn=On,gr=f(2738),Lr=f(68031),Xr=f(36355),jn=f(93891),zr=f(19716),Vr=f(8628),fi=f(31724),ki=f(58421),Ai=f(71418),ti=f(88088);function vi(oe){return function(He){let{prefixCls:Qe,onExpand:rt,record:st,expanded:wt,expandable:Ct}=He;const At=`${Qe}-row-expand-icon`;return C.createElement("button",{type:"button",onClick:Mt=>{rt(st,Mt),Mt.stopPropagation()},className:M()(At,{[`${At}-spaced`]:!Ct,[`${At}-expanded`]:Ct&&wt,[`${At}-collapsed`]:Ct&&!wt}),"aria-label":wt?oe.collapse:oe.expand,"aria-expanded":wt})}}var li=vi;function Di(oe,ge){return"key"in oe&&oe.key!==void 0&&oe.key!==null?oe.key:oe.dataIndex?Array.isArray(oe.dataIndex)?oe.dataIndex.join("."):oe.dataIndex:ge}function Fi(oe,ge){return ge?`${ge}-${oe}`:`${oe}`}function Vi(oe,ge){return typeof oe=="function"?oe(ge):oe}function Ri(oe,ge){const He=Vi(oe,ge);return Object.prototype.toString.call(He)==="[object Object]"?"":He}var Zi={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"},Kr=Zi,aa=f(7657),ga=function(ge,He){return C.createElement(aa.Z,(0,z.Z)({},ge,{ref:He,icon:Kr}))},ua=C.forwardRef(ga),yi=ua,ca=f(56762);function _a(oe){const ge=C.useRef(oe),He=(0,ca.Z)();return[()=>ge.current,Qe=>{ge.current=Qe,He()}]}var Pn=f(3113),Ni=f(24905),na=f(38854),or=f(64165),xr=f(20834),lr=f(40875),Gn=f(5112),Pr=f(17574),Qr=f(47472),Pi=f(92832);function bi(oe){let{value:ge,onChange:He,filterSearch:Qe,tablePrefixCls:rt,locale:st}=oe;return Qe?C.createElement("div",{className:`${rt}-filter-dropdown-search`},C.createElement(Pi.default,{prefix:C.createElement(Qr.Z,null),placeholder:st.filterSearchPlaceholder,onChange:He,value:ge,htmlSize:1,className:`${rt}-filter-dropdown-search-input`})):null}var Ii=bi,Ui=f(10228);const va=oe=>{const{keyCode:ge}=oe;ge===Ui.Z.ENTER&&oe.stopPropagation()};var Wa=C.forwardRef((oe,ge)=>C.createElement("div",{className:oe.className,onClick:He=>He.stopPropagation(),onKeyDown:va,ref:ge},oe.children));function da(oe){let ge=[];return(oe||[]).forEach(He=>{let{value:Qe,children:rt}=He;ge.push(Qe),rt&&(ge=[].concat((0,Je.Z)(ge),(0,Je.Z)(da(rt))))}),ge}function fa(oe){return oe.some(ge=>{let{children:He}=ge;return He})}function ur(oe,ge){return typeof ge=="string"||typeof ge=="number"?ge==null?void 0:ge.toString().toLowerCase().includes(oe.trim().toLowerCase()):!1}function ar(oe){let{filters:ge,prefixCls:He,filteredKeys:Qe,filterMultiple:rt,searchValue:st,filterSearch:wt}=oe;return ge.map((Ct,At)=>{const Mt=String(Ct.value);if(Ct.children)return{key:Mt||At,label:Ct.text,popupClassName:`${He}-dropdown-submenu`,children:ar({filters:Ct.children,prefixCls:He,filteredKeys:Qe,filterMultiple:rt,searchValue:st,filterSearch:wt})};const _e=rt?Ni.default:Gn.ZP,zt={key:Ct.value!==void 0?Mt:At,label:C.createElement(C.Fragment,null,C.createElement(_e,{checked:Qe.includes(Mt)}),C.createElement("span",null,Ct.text))};return st.trim()?typeof wt=="function"?wt(st,Ct)?zt:null:ur(st,Ct.text)?zt:null:zt})}function Jr(oe){var ge,He;const{tablePrefixCls:Qe,prefixCls:rt,column:st,dropdownPrefixCls:wt,columnKey:Ct,filterMultiple:At,filterMode:Mt="menu",filterSearch:_e=!1,filterState:zt,triggerFilter:vn,locale:fn,children:cn,getPopupContainer:ft}=oe,{filterDropdownOpen:Ln,onFilterDropdownOpenChange:Hn,filterResetToDefaultFilteredValue:Bn,defaultFilteredValue:Wn,filterDropdownVisible:yr,onFilterDropdownVisibleChange:br}=st,[fr,kr]=C.useState(!1),Br=!!(zt&&(!((ge=zt.filteredKeys)===null||ge===void 0)&&ge.length||zt.forceFiltered)),Zn=Dn=>{kr(Dn),Hn==null||Hn(Dn),br==null||br(Dn)},hr=(He=Ln!=null?Ln:yr)!==null&&He!==void 0?He:fr,Yn=zt==null?void 0:zt.filteredKeys,[Un,cr]=_a(Yn||[]),Fr=Dn=>{let{selectedKeys:rr}=Dn;cr(rr)},Zr=(Dn,rr)=>{let{node:Er,checked:_r}=rr;Fr(At?{selectedKeys:Dn}:{selectedKeys:_r&&Er.key?[Er.key]:[]})};C.useEffect(()=>{fr&&Fr({selectedKeys:Yn||[]})},[Yn]);const[re,l]=C.useState([]),d=Dn=>{l(Dn)},[h,g]=C.useState(""),N=Dn=>{const{value:rr}=Dn.target;g(rr)};C.useEffect(()=>{fr||g("")},[fr]);const le=Dn=>{const rr=Dn&&Dn.length?Dn:null;if(rr===null&&(!zt||!zt.filteredKeys)||(0,q.Z)(rr,zt==null?void 0:zt.filteredKeys,!0))return null;vn({column:st,key:Ct,filteredKeys:rr})},Pe=()=>{Zn(!1),le(Un())},Me=function(){let{confirm:Dn,closeDropdown:rr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Dn&&le([]),rr&&Zn(!1),g(""),cr(Bn?(Wn||[]).map(Er=>String(Er)):[])},Xe=function(){let{closeDropdown:Dn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Dn&&Zn(!1),le(Un())},gt=Dn=>{Dn&&Yn!==void 0&&cr(Yn||[]),Zn(Dn),!Dn&&!st.filterDropdown&&Pe()},Tt=M()({[`${wt}-menu-without-submenu`]:!fa(st.filters||[])}),$t=Dn=>{if(Dn.target.checked){const rr=da(st==null?void 0:st.filters).map(Er=>String(Er));cr(rr)}else cr([])},Sn=Dn=>{let{filters:rr}=Dn;return(rr||[]).map((Er,_r)=>{const ii=String(Er.value),ai={title:Er.text,key:Er.value!==void 0?ii:_r};return Er.children&&(ai.children=Sn({filters:Er.children})),ai})},qt=Dn=>{var rr;return Object.assign(Object.assign({},Dn),{text:Dn.title,value:Dn.key,children:((rr=Dn.children)===null||rr===void 0?void 0:rr.map(Er=>qt(Er)))||[]})};let on;if(typeof st.filterDropdown=="function")on=st.filterDropdown({prefixCls:`${wt}-custom`,setSelectedKeys:Dn=>Fr({selectedKeys:Dn}),selectedKeys:Un(),confirm:Xe,clearFilters:Me,filters:st.filters,visible:hr,close:()=>{Zn(!1)}});else if(st.filterDropdown)on=st.filterDropdown;else{const Dn=Un()||[],rr=()=>(st.filters||[]).length===0?C.createElement(or.Z,{image:or.Z.PRESENTED_IMAGE_SIMPLE,description:fn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Mt==="tree"?C.createElement(C.Fragment,null,C.createElement(Ii,{filterSearch:_e,value:h,onChange:N,tablePrefixCls:Qe,locale:fn}),C.createElement("div",{className:`${Qe}-filter-dropdown-tree`},At?C.createElement(Ni.default,{checked:Dn.length===da(st.filters).length,indeterminate:Dn.length>0&&Dn.length<da(st.filters).length,className:`${Qe}-filter-dropdown-checkall`,onChange:$t},fn.filterCheckall):null,C.createElement(Pr.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:At,checkStrictly:!At,className:`${wt}-menu`,onCheck:Zr,checkedKeys:Dn,selectedKeys:Dn,showIcon:!1,treeData:Sn({filters:st.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:h.trim()?_r=>typeof _e=="function"?_e(h,qt(_r)):ur(h,_r.title):void 0}))):C.createElement(C.Fragment,null,C.createElement(Ii,{filterSearch:_e,value:h,onChange:N,tablePrefixCls:Qe,locale:fn}),C.createElement(xr.default,{selectable:!0,multiple:At,prefixCls:`${wt}-menu`,className:Tt,onSelect:Fr,onDeselect:Fr,selectedKeys:Dn,getPopupContainer:ft,openKeys:re,onOpenChange:d,items:ar({filters:st.filters||[],filterSearch:_e,prefixCls:rt,filteredKeys:Un(),filterMultiple:At,searchValue:h})})),Er=()=>Bn?(0,q.Z)((Wn||[]).map(_r=>String(_r)),Dn,!0):Dn.length===0;on=C.createElement(C.Fragment,null,rr(),C.createElement("div",{className:`${rt}-dropdown-btns`},C.createElement(Pn.ZP,{type:"link",size:"small",disabled:Er(),onClick:()=>Me()},fn.filterReset),C.createElement(Pn.ZP,{type:"primary",size:"small",onClick:Pe},fn.filterConfirm)))}st.filterDropdown&&(on=C.createElement(lr.J,{selectable:void 0},on));const yn=()=>C.createElement(Wa,{className:`${rt}-dropdown`},on);let Tn;typeof st.filterIcon=="function"?Tn=st.filterIcon(Br):st.filterIcon?Tn=st.filterIcon:Tn=C.createElement(yi,null);const{direction:ir}=C.useContext(Xr.E_);return C.createElement("div",{className:`${rt}-column`},C.createElement("span",{className:`${Qe}-column-title`},cn),C.createElement(na.Z,{dropdownRender:yn,trigger:["click"],open:hr,onOpenChange:gt,getPopupContainer:ft,placement:ir==="rtl"?"bottomLeft":"bottomRight"},C.createElement("span",{role:"button",tabIndex:-1,className:M()(`${rt}-trigger`,{active:Br}),onClick:Dn=>{Dn.stopPropagation()}},Tn)))}var Ki=Jr;function ui(oe,ge,He){let Qe=[];return(oe||[]).forEach((rt,st)=>{var wt;const Ct=Fi(st,He);if(rt.filters||"filterDropdown"in rt||"onFilter"in rt)if("filteredValue"in rt){let At=rt.filteredValue;"filterDropdown"in rt||(At=(wt=At==null?void 0:At.map(String))!==null&&wt!==void 0?wt:At),Qe.push({column:rt,key:Di(rt,Ct),filteredKeys:At,forceFiltered:rt.filtered})}else Qe.push({column:rt,key:Di(rt,Ct),filteredKeys:ge&&rt.defaultFilteredValue?rt.defaultFilteredValue:void 0,forceFiltered:rt.filtered});"children"in rt&&(Qe=[].concat((0,Je.Z)(Qe),(0,Je.Z)(ui(rt.children,ge,Ct))))}),Qe}function sa(oe,ge,He,Qe,rt,st,wt,Ct){return He.map((At,Mt)=>{const _e=Fi(Mt,Ct),{filterMultiple:zt=!0,filterMode:vn,filterSearch:fn}=At;let cn=At;if(cn.filters||cn.filterDropdown){const ft=Di(cn,_e),Ln=Qe.find(Hn=>{let{key:Bn}=Hn;return ft===Bn});cn=Object.assign(Object.assign({},cn),{title:Hn=>C.createElement(Ki,{tablePrefixCls:oe,prefixCls:`${oe}-filter`,dropdownPrefixCls:ge,column:cn,columnKey:ft,filterState:Ln,filterMultiple:zt,filterMode:vn,filterSearch:fn,triggerFilter:st,locale:rt,getPopupContainer:wt},Vi(At.title,Hn))})}return"children"in cn&&(cn=Object.assign(Object.assign({},cn),{children:sa(oe,ge,cn.children,Qe,rt,st,wt,_e)})),cn})}function Va(oe){const ge={};return oe.forEach(He=>{let{key:Qe,filteredKeys:rt,column:st}=He;const{filters:wt,filterDropdown:Ct}=st;if(Ct)ge[Qe]=rt||null;else if(Array.isArray(rt)){const At=da(wt);ge[Qe]=At.filter(Mt=>rt.includes(String(Mt)))}else ge[Qe]=null}),ge}function Ha(oe,ge){return ge.reduce((He,Qe)=>{const{column:{onFilter:rt,filters:st},filteredKeys:wt}=Qe;return rt&&wt&&wt.length?He.filter(Ct=>wt.some(At=>{const Mt=da(st),_e=Mt.findIndex(vn=>String(vn)===String(At)),zt=_e!==-1?Mt[_e]:At;return rt(zt,Ct)})):He},oe)}const ya=oe=>oe.flatMap(ge=>"children"in ge?[ge].concat((0,Je.Z)(ya(ge.children||[]))):[ge]);function as(oe){let{prefixCls:ge,dropdownPrefixCls:He,mergedColumns:Qe,onFilterChange:rt,getPopupContainer:st,locale:wt}=oe;const Ct=C.useMemo(()=>ya(Qe||[]),[Qe]),[At,Mt]=C.useState(()=>ui(Ct,!0)),_e=C.useMemo(()=>{const cn=ui(Ct,!1);if(cn.length===0)return cn;let ft=!0,Ln=!0;if(cn.forEach(Hn=>{let{filteredKeys:Bn}=Hn;Bn!==void 0?ft=!1:Ln=!1}),ft){const Hn=(Ct||[]).map((Bn,Wn)=>Di(Bn,Fi(Wn)));return At.filter(Bn=>{let{key:Wn}=Bn;return Hn.includes(Wn)}).map(Bn=>{const Wn=Ct[Hn.findIndex(yr=>yr===Bn.key)];return Object.assign(Object.assign({},Bn),{column:Object.assign(Object.assign({},Bn.column),Wn),forceFiltered:Wn.filtered})})}return cn},[Ct,At]),zt=C.useMemo(()=>Va(_e),[_e]),vn=cn=>{const ft=_e.filter(Ln=>{let{key:Hn}=Ln;return Hn!==cn.key});ft.push(cn),Mt(ft),rt(Va(ft),ft)};return[cn=>sa(ge,He,cn,_e,wt,vn,st),_e,zt]}var ss=as;function os(oe,ge,He){const Qe=C.useRef({});function rt(st){if(!Qe.current||Qe.current.data!==oe||Qe.current.childrenColumnName!==ge||Qe.current.getRowKey!==He){let Ct=function(At){At.forEach((Mt,_e)=>{const zt=He(Mt,_e);wt.set(zt,Mt),Mt&&typeof Mt=="object"&&ge in Mt&&Ct(Mt[ge]||[])})};const wt=new Map;Ct(oe),Qe.current={data:oe,childrenColumnName:ge,kvMap:wt,getRowKey:He}}return Qe.current.kvMap.get(st)}return[rt]}var ts=f(50371),ls=function(oe,ge){var He={};for(var Qe in oe)Object.prototype.hasOwnProperty.call(oe,Qe)&&ge.indexOf(Qe)<0&&(He[Qe]=oe[Qe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,Qe=Object.getOwnPropertySymbols(oe);rt<Qe.length;rt++)ge.indexOf(Qe[rt])<0&&Object.prototype.propertyIsEnumerable.call(oe,Qe[rt])&&(He[Qe[rt]]=oe[Qe[rt]]);return He};const Ta=10;function Qi(oe,ge){const He={current:oe.current,pageSize:oe.pageSize};return Object.keys(ge&&typeof ge=="object"?ge:{}).forEach(rt=>{const st=oe[rt];typeof st!="function"&&(He[rt]=st)}),He}function us(oe,ge,He){const Qe=He&&typeof He=="object"?He:{},{total:rt=0}=Qe,st=ls(Qe,["total"]),[wt,Ct]=(0,C.useState)(()=>({current:"defaultCurrent"in st?st.defaultCurrent:1,pageSize:"defaultPageSize"in st?st.defaultPageSize:Ta})),At=(0,ts.Z)(wt,st,{total:rt>0?rt:oe}),Mt=Math.ceil((rt||oe)/At.pageSize);At.current>Mt&&(At.current=Mt||1);const _e=(vn,fn)=>{Ct({current:vn!=null?vn:1,pageSize:fn||At.pageSize})},zt=(vn,fn)=>{var cn;He&&((cn=He.onChange)===null||cn===void 0||cn.call(He,vn,fn)),_e(vn,fn),ge(vn,fn||(At==null?void 0:At.pageSize))};return He===!1?[{},()=>{}]:[Object.assign(Object.assign({},At),{onChange:zt}),_e]}var ns=us,ba=f(84105),Sa=f(35654),ni=f(90782),Ur=f(71430),ia=f(18929);const zi={},Oi="SELECT_ALL",oa="SELECT_INVERT",mi="SELECT_NONE",Ia=[],la=(oe,ge)=>{let He=[];return(ge||[]).forEach(Qe=>{He.push(Qe),Qe&&typeof Qe=="object"&&oe in Qe&&(He=[].concat((0,Je.Z)(He),(0,Je.Z)(la(oe,Qe[oe]))))}),He};var Ba=(oe,ge)=>{const{preserveSelectedRowKeys:He,selectedRowKeys:Qe,defaultSelectedRowKeys:rt,getCheckboxProps:st,onChange:wt,onSelect:Ct,onSelectAll:At,onSelectInvert:Mt,onSelectNone:_e,onSelectMultiple:zt,columnWidth:vn,type:fn,selections:cn,fixed:ft,renderCell:Ln,hideSelectAll:Hn,checkStrictly:Bn=!0}=ge||{},{prefixCls:Wn,data:yr,pageData:br,getRecordByKey:fr,getRowKey:kr,expandType:Br,childrenColumnName:Zn,locale:hr,getPopupContainer:Yn}=oe,[Un,cr]=(0,ia.Z)(Qe||rt||Ia,{value:Qe}),Fr=C.useRef(new Map),Zr=(0,C.useCallback)(qt=>{if(He){const on=new Map;qt.forEach(yn=>{let Tn=fr(yn);!Tn&&Fr.current.has(yn)&&(Tn=Fr.current.get(yn)),on.set(yn,Tn)}),Fr.current=on}},[fr,He]);C.useEffect(()=>{Zr(Un)},[Un]);const{keyEntities:re}=(0,C.useMemo)(()=>{if(Bn)return{keyEntities:null};let qt=yr;if(He){const on=new Set(yr.map((Tn,ir)=>kr(Tn,ir))),yn=Array.from(Fr.current).reduce((Tn,ir)=>{let[Dn,rr]=ir;return on.has(Dn)?Tn:Tn.concat(rr)},[]);qt=[].concat((0,Je.Z)(qt),(0,Je.Z)(yn))}return(0,Ur.I8)(qt,{externalGetKey:kr,childrenPropName:Zn})},[yr,kr,Bn,Zn,He]),l=(0,C.useMemo)(()=>la(Zn,br),[Zn,br]),d=(0,C.useMemo)(()=>{const qt=new Map;return l.forEach((on,yn)=>{const Tn=kr(on,yn),ir=(st?st(on):null)||{};qt.set(Tn,ir)}),qt},[l,kr,st]),h=(0,C.useCallback)(qt=>{var on;return!!(!((on=d.get(kr(qt)))===null||on===void 0)&&on.disabled)},[d,kr]),[g,N]=(0,C.useMemo)(()=>{if(Bn)return[Un||[],[]];const{checkedKeys:qt,halfCheckedKeys:on}=(0,ni.S)(Un,!0,re,h);return[qt||[],on]},[Un,Bn,re,h]),le=(0,C.useMemo)(()=>{const qt=fn==="radio"?g.slice(0,1):g;return new Set(qt)},[g,fn]),Pe=(0,C.useMemo)(()=>fn==="radio"?new Set:new Set(N),[N,fn]),[Me,Xe]=(0,C.useState)(null);C.useEffect(()=>{ge||cr(Ia)},[!!ge]);const gt=(0,C.useCallback)((qt,on)=>{let yn,Tn;Zr(qt),He?(yn=qt,Tn=qt.map(ir=>Fr.current.get(ir))):(yn=[],Tn=[],qt.forEach(ir=>{const Dn=fr(ir);Dn!==void 0&&(yn.push(ir),Tn.push(Dn))})),cr(yn),wt==null||wt(yn,Tn,{type:on})},[cr,fr,wt,He]),Tt=(0,C.useCallback)((qt,on,yn,Tn)=>{if(Ct){const ir=yn.map(Dn=>fr(Dn));Ct(fr(qt),on,ir,Tn)}gt(yn,"single")},[Ct,fr,gt]),$t=(0,C.useMemo)(()=>!cn||Hn?null:(cn===!0?[Oi,oa,mi]:cn).map(on=>on===Oi?{key:"all",text:hr.selectionAll,onSelect(){gt(yr.map((yn,Tn)=>kr(yn,Tn)).filter(yn=>{const Tn=d.get(yn);return!(Tn!=null&&Tn.disabled)||le.has(yn)}),"all")}}:on===oa?{key:"invert",text:hr.selectInvert,onSelect(){const yn=new Set(le);br.forEach((ir,Dn)=>{const rr=kr(ir,Dn),Er=d.get(rr);Er!=null&&Er.disabled||(yn.has(rr)?yn.delete(rr):yn.add(rr))});const Tn=Array.from(yn);Mt&&Mt(Tn),gt(Tn,"invert")}}:on===mi?{key:"none",text:hr.selectNone,onSelect(){_e==null||_e(),gt(Array.from(le).filter(yn=>{const Tn=d.get(yn);return Tn==null?void 0:Tn.disabled}),"none")}}:on).map(on=>Object.assign(Object.assign({},on),{onSelect:function(){for(var yn,Tn,ir=arguments.length,Dn=new Array(ir),rr=0;rr<ir;rr++)Dn[rr]=arguments[rr];(Tn=on.onSelect)===null||Tn===void 0||(yn=Tn).call.apply(yn,[on].concat(Dn)),Xe(null)}})),[cn,le,br,kr,Mt,gt]);return[(0,C.useCallback)(qt=>{var on;if(!ge)return qt.filter(Hr=>Hr!==zi);let yn=(0,Je.Z)(qt);const Tn=new Set(le),ir=l.map(kr).filter(Hr=>!d.get(Hr).disabled),Dn=ir.every(Hr=>Tn.has(Hr)),rr=ir.some(Hr=>Tn.has(Hr)),Er=()=>{const Hr=[];Dn?ir.forEach(qr=>{Tn.delete(qr),Hr.push(qr)}):ir.forEach(qr=>{Tn.has(qr)||(Tn.add(qr),Hr.push(qr))});const ei=Array.from(Tn);At==null||At(!Dn,ei.map(qr=>fr(qr)),Hr.map(qr=>fr(qr))),gt(ei,"all"),Xe(null)};let _r;if(fn!=="radio"){let Hr;if($t){const Wr={getPopupContainer:Yn,items:$t.map((ra,ta)=>{const{key:Aa,text:Ma,onSelect:Ea}=ra;return{key:Aa!=null?Aa:ta,onClick:()=>{Ea==null||Ea(ir)},label:Ma}})};Hr=C.createElement("div",{className:`${Wn}-selection-extra`},C.createElement(na.Z,{menu:Wr,getPopupContainer:Yn},C.createElement("span",null,C.createElement(ba.Z,null))))}const ei=l.map((Wr,ra)=>{const ta=kr(Wr,ra),Aa=d.get(ta)||{};return Object.assign({checked:Tn.has(ta)},Aa)}).filter(Wr=>{let{disabled:ra}=Wr;return ra}),qr=!!ei.length&&ei.length===l.length,Ti=qr&&ei.every(Wr=>{let{checked:ra}=Wr;return ra}),ea=qr&&ei.some(Wr=>{let{checked:ra}=Wr;return ra});_r=!Hn&&C.createElement("div",{className:`${Wn}-selection`},C.createElement(Ni.default,{checked:qr?Ti:!!l.length&&Dn,indeterminate:qr?!Ti&&ea:!Dn&&rr,onChange:Er,disabled:l.length===0||qr,"aria-label":Hr?"Custom selection":"Select all",skipGroup:!0}),Hr)}let ii;fn==="radio"?ii=(Hr,ei,qr)=>{const Ti=kr(ei,qr),ea=Tn.has(Ti);return{node:C.createElement(Gn.ZP,Object.assign({},d.get(Ti),{checked:ea,onClick:Wr=>Wr.stopPropagation(),onChange:Wr=>{Tn.has(Ti)||Tt(Ti,!0,[Ti],Wr.nativeEvent)}})),checked:ea}}:ii=(Hr,ei,qr)=>{var Ti;const ea=kr(ei,qr),Wr=Tn.has(ea),ra=Pe.has(ea),ta=d.get(ea);let Aa;return Br==="nest"?Aa=ra:Aa=(Ti=ta==null?void 0:ta.indeterminate)!==null&&Ti!==void 0?Ti:ra,{node:C.createElement(Ni.default,Object.assign({},ta,{indeterminate:Aa,checked:Wr,skipGroup:!0,onClick:Ma=>Ma.stopPropagation(),onChange:Ma=>{let{nativeEvent:Ea}=Ma;const{shiftKey:Ss}=Ea;let Xa=-1,Na=-1;if(Ss&&Bn){const ha=new Set([Me,ea]);ir.some((pa,$i)=>{if(ha.has(pa))if(Xa===-1)Xa=$i;else return Na=$i,!0;return!1})}if(Na!==-1&&Xa!==Na&&Bn){const ha=ir.slice(Xa,Na+1),pa=[];Wr?ha.forEach(_i=>{Tn.has(_i)&&(pa.push(_i),Tn.delete(_i))}):ha.forEach(_i=>{Tn.has(_i)||(pa.push(_i),Tn.add(_i))});const $i=Array.from(Tn);zt==null||zt(!Wr,$i.map(_i=>fr(_i)),pa.map(_i=>fr(_i))),gt($i,"multiple")}else{const ha=g;if(Bn){const pa=Wr?(0,Sa._5)(ha,ea):(0,Sa.L0)(ha,ea);Tt(ea,!Wr,pa,Ea)}else{const pa=(0,ni.S)([].concat((0,Je.Z)(ha),[ea]),!0,re,h),{checkedKeys:$i,halfCheckedKeys:_i}=pa;let rs=$i;if(Wr){const Fs=new Set($i);Fs.delete(ea),rs=(0,ni.S)(Array.from(Fs),{checked:!1,halfCheckedKeys:_i},re,h).checkedKeys}Tt(ea,!Wr,rs,Ea)}}Xe(Wr?null:ea)}})),checked:Wr}};const ai=(Hr,ei,qr)=>{const{node:Ti,checked:ea}=ii(Hr,ei,qr);return Ln?Ln(ea,ei,qr,Ti):Ti};if(!yn.includes(zi))if(yn.findIndex(Hr=>{var ei;return((ei=Hr[ue])===null||ei===void 0?void 0:ei.columnType)==="EXPAND_COLUMN"})===0){const[Hr,...ei]=yn;yn=[Hr,zi].concat((0,Je.Z)(ei))}else yn=[zi].concat((0,Je.Z)(yn));const Wi=yn.indexOf(zi);yn=yn.filter((Hr,ei)=>Hr!==zi||ei===Wi);const ci=yn[Wi-1],si=yn[Wi+1];let Si=ft;Si===void 0&&((si==null?void 0:si.fixed)!==void 0?Si=si.fixed:(ci==null?void 0:ci.fixed)!==void 0&&(Si=ci.fixed)),Si&&ci&&((on=ci[ue])===null||on===void 0?void 0:on.columnType)==="EXPAND_COLUMN"&&ci.fixed===void 0&&(ci.fixed=Si);const qi=M()(`${Wn}-selection-col`,{[`${Wn}-selection-col-with-dropdown`]:cn&&fn==="checkbox"}),xa={fixed:Si,width:vn,className:`${Wn}-selection-column`,title:ge.columnTitle||_r,render:ai,onCell:ge.onCell,[ue]:{className:qi}};return yn.map(Hr=>Hr===zi?xa:Hr)},[kr,l,ge,g,le,Pe,vn,$t,Br,Me,d,zt,Tt,h]),le]},wi=f(89489),vs=f(59477),Ca=f(6848);const Za="ascend",Cs="descend";function Qa(oe){return typeof oe.sorter=="object"&&typeof oe.sorter.multiple=="number"?oe.sorter.multiple:!1}function cs(oe){return typeof oe=="function"?oe:oe&&typeof oe=="object"&&oe.compare?oe.compare:!1}function ys(oe,ge){return ge?oe[oe.indexOf(ge)+1]:oe[0]}function ds(oe,ge,He){let Qe=[];function rt(st,wt){Qe.push({column:st,key:Di(st,wt),multiplePriority:Qa(st),sortOrder:st.sortOrder})}return(oe||[]).forEach((st,wt)=>{const Ct=Fi(wt,He);st.children?("sortOrder"in st&&rt(st,Ct),Qe=[].concat((0,Je.Z)(Qe),(0,Je.Z)(ds(st.children,ge,Ct)))):st.sorter&&("sortOrder"in st?rt(st,Ct):ge&&st.defaultSortOrder&&Qe.push({column:st,key:Di(st,Ct),multiplePriority:Qa(st),sortOrder:st.defaultSortOrder}))}),Qe}function Rs(oe,ge,He,Qe,rt,st,wt,Ct){return(ge||[]).map((At,Mt)=>{const _e=Fi(Mt,Ct);let zt=At;if(zt.sorter){const vn=zt.sortDirections||rt,fn=zt.showSorterTooltip===void 0?wt:zt.showSorterTooltip,cn=Di(zt,_e),ft=He.find(Br=>{let{key:Zn}=Br;return Zn===cn}),Ln=ft?ft.sortOrder:null,Hn=ys(vn,Ln);let Bn;if(At.sortIcon)Bn=At.sortIcon({sortOrder:Ln});else{const Br=vn.includes(Za)&&C.createElement(vs.Z,{className:M()(`${oe}-column-sorter-up`,{active:Ln===Za})}),Zn=vn.includes(Cs)&&C.createElement(wi.Z,{className:M()(`${oe}-column-sorter-down`,{active:Ln===Cs})});Bn=C.createElement("span",{className:M()(`${oe}-column-sorter`,{[`${oe}-column-sorter-full`]:!!(Br&&Zn)})},C.createElement("span",{className:`${oe}-column-sorter-inner`,"aria-hidden":"true"},Br,Zn))}const{cancelSort:Wn,triggerAsc:yr,triggerDesc:br}=st||{};let fr=Wn;Hn===Cs?fr=br:Hn===Za&&(fr=yr);const kr=typeof fn=="object"?fn:{title:fr};zt=Object.assign(Object.assign({},zt),{className:M()(zt.className,{[`${oe}-column-sort`]:Ln}),title:Br=>{const Zn=C.createElement("div",{className:`${oe}-column-sorters`},C.createElement("span",{className:`${oe}-column-title`},Vi(At.title,Br)),Bn);return fn?C.createElement(Ca.Z,Object.assign({},kr),Zn):Zn},onHeaderCell:Br=>{const Zn=At.onHeaderCell&&At.onHeaderCell(Br)||{},hr=Zn.onClick,Yn=Zn.onKeyDown;Zn.onClick=Fr=>{Qe({column:At,key:cn,sortOrder:Hn,multiplePriority:Qa(At)}),hr==null||hr(Fr)},Zn.onKeyDown=Fr=>{Fr.keyCode===Ui.Z.ENTER&&(Qe({column:At,key:cn,sortOrder:Hn,multiplePriority:Qa(At)}),Yn==null||Yn(Fr))};const Un=Ri(At.title,{}),cr=Un==null?void 0:Un.toString();return Ln?Zn["aria-sort"]=Ln==="ascend"?"ascending":"descending":Zn["aria-label"]=cr||"",Zn.className=M()(Zn.className,`${oe}-column-has-sorters`),Zn.tabIndex=0,At.ellipsis&&(Zn.title=(Un!=null?Un:"").toString()),Zn}})}return"children"in zt&&(zt=Object.assign(Object.assign({},zt),{children:Rs(oe,zt.children,He,Qe,rt,st,wt,_e)})),zt})}function Oa(oe){const{column:ge,sortOrder:He}=oe;return{column:ge,order:He,field:ge.dataIndex,columnKey:ge.key}}function bs(oe){const ge=oe.filter(He=>{let{sortOrder:Qe}=He;return Qe}).map(Oa);return ge.length===0&&oe.length?Object.assign(Object.assign({},Oa(oe[oe.length-1])),{column:void 0}):ge.length<=1?ge[0]||{}:ge}function Ci(oe,ge,He){const Qe=ge.slice().sort((wt,Ct)=>Ct.multiplePriority-wt.multiplePriority),rt=oe.slice(),st=Qe.filter(wt=>{let{column:{sorter:Ct},sortOrder:At}=wt;return cs(Ct)&&At});return st.length?rt.sort((wt,Ct)=>{for(let At=0;At<st.length;At+=1){const Mt=st[At],{column:{sorter:_e},sortOrder:zt}=Mt,vn=cs(_e);if(vn&&zt){const fn=vn(wt,Ct,zt);if(fn!==0)return zt===Za?fn:-fn}}return 0}).map(wt=>{const Ct=wt[He];return Ct?Object.assign(Object.assign({},wt),{[He]:Ci(Ct,ge,He)}):wt}):rt}function Ei(oe){let{prefixCls:ge,mergedColumns:He,onSorterChange:Qe,sortDirections:rt,tableLocale:st,showSorterTooltip:wt}=oe;const[Ct,At]=C.useState(ds(He,!0)),Mt=C.useMemo(()=>{let cn=!0;const ft=ds(He,!1);if(!ft.length)return Ct;const Ln=[];function Hn(Wn){cn?Ln.push(Wn):Ln.push(Object.assign(Object.assign({},Wn),{sortOrder:null}))}let Bn=null;return ft.forEach(Wn=>{Bn===null?(Hn(Wn),Wn.sortOrder&&(Wn.multiplePriority===!1?cn=!1:Bn=!0)):(Bn&&Wn.multiplePriority!==!1||(cn=!1),Hn(Wn))}),Ln},[He,Ct]),_e=C.useMemo(()=>{const cn=Mt.map(ft=>{let{column:Ln,sortOrder:Hn}=ft;return{column:Ln,order:Hn}});return{sortColumns:cn,sortColumn:cn[0]&&cn[0].column,sortOrder:cn[0]&&cn[0].order}},[Mt]);function zt(cn){let ft;cn.multiplePriority===!1||!Mt.length||Mt[0].multiplePriority===!1?ft=[cn]:ft=[].concat((0,Je.Z)(Mt.filter(Ln=>{let{key:Hn}=Ln;return Hn!==cn.key})),[cn]),At(ft),Qe(bs(ft),ft)}return[cn=>Rs(ge,cn,Mt,zt,rt,st,wt),Mt,_e,()=>bs(Mt)]}function gi(oe,ge){return oe.map(He=>{const Qe=Object.assign({},He);return Qe.title=Vi(He.title,ge),"children"in Qe&&(Qe.children=gi(Qe.children,ge)),Qe})}function Ji(oe){return[C.useCallback(He=>gi(He,oe),[oe])]}var Xi=pr((oe,ge)=>{const{_renderTimes:He}=oe,{_renderTimes:Qe}=ge;return He!==Qe}),fs=Nr((oe,ge)=>{const{_renderTimes:He}=oe,{_renderTimes:Qe}=ge;return He!==Qe}),Ja=f(64993),hs=f(17313),ks=f(83116),ps=f(37613),Rn=oe=>{const{componentCls:ge}=oe,He=`${oe.lineWidth}px ${oe.lineType} ${oe.tableBorderColor}`,Qe=(rt,st,wt)=>({[`&${ge}-${rt}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${st}px -${wt+oe.lineWidth}px`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:He,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:He,borderTop:He,[`
> ${ge}-content,
> ${ge}-header,
> ${ge}-body,
> ${ge}-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:He},"> thead":{"> tr:not(:last-child) > th":{borderBottom:He},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:He}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${oe.tablePaddingVertical}px -${oe.tablePaddingHorizontal+oe.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:oe.lineWidth,bottom:0,borderInlineEnd:He,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[`
> tr${ge}-expanded-row,
> tr${ge}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},Qe("middle",oe.tablePaddingVerticalMiddle,oe.tablePaddingHorizontalMiddle)),Qe("small",oe.tablePaddingVerticalSmall,oe.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:He,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${oe.lineWidth}px 0 ${oe.lineWidth}px ${oe.tableHeaderBg}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:He}}}},Ms=oe=>{const{componentCls:ge}=oe;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},hs.vS),{wordBreak:"keep-all",[`
&${ge}-cell-fix-left-last,
&${ge}-cell-fix-right-first
`]:{overflow:"visible",[`${ge}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ge}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Qs=oe=>{const{componentCls:ge}=oe;return{[`${ge}-wrapper`]:{[`${ge}-tbody > tr${ge}-placeholder`]:{textAlign:"center",color:oe.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:oe.colorBgContainer}}}}},Ks=f(15969),Ga=oe=>{const{componentCls:ge,antCls:He,controlInteractiveSize:Qe,motionDurationSlow:rt,lineWidth:st,paddingXS:wt,lineType:Ct,tableBorderColor:At,tableExpandIconBg:Mt,tableExpandColumnWidth:_e,borderRadius:zt,fontSize:vn,fontSizeSM:fn,lineHeight:cn,tablePaddingVertical:ft,tablePaddingHorizontal:Ln,tableExpandedRowBg:Hn,paddingXXS:Bn}=oe,Wn=Qe/2-st,yr=Wn*2+st*3,br=`${st}px ${Ct} ${At}`,fr=Bn-st;return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:_e},[`${ge}-row-expand-icon-cell`]:{textAlign:"center",[`${ge}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ge}-row-indent`]:{height:1,float:"left"},[`${ge}-row-expand-icon`]:Object.assign(Object.assign({},(0,Ks.N)(oe)),{position:"relative",float:"left",boxSizing:"border-box",width:yr,height:yr,padding:0,color:"inherit",lineHeight:`${yr}px`,background:Mt,border:br,borderRadius:zt,transform:`scale(${Qe/yr})`,transition:`all ${rt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${rt} ease-out`,content:'""'},"&::before":{top:Wn,insetInlineEnd:fr,insetInlineStart:fr,height:st},"&::after":{top:fr,bottom:fr,insetInlineStart:Wn,width:st,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"}}),[`${ge}-row-indent + ${ge}-row-expand-icon`]:{marginTop:(vn*cn-st*3)/2-Math.ceil((fn*1.4-st*3)/2),marginInlineEnd:wt},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Hn}},[`${He}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`-${ft}px -${Ln}px`,padding:`${ft}px ${Ln}px`}}}},qs=oe=>{const{componentCls:ge,antCls:He,iconCls:Qe,tableFilterDropdownWidth:rt,tableFilterDropdownSearchWidth:st,paddingXXS:wt,paddingXS:Ct,colorText:At,lineWidth:Mt,lineType:_e,tableBorderColor:zt,tableHeaderIconColor:vn,fontSizeSM:fn,tablePaddingHorizontal:cn,borderRadius:ft,motionDurationSlow:Ln,colorTextDescription:Hn,colorPrimary:Bn,tableHeaderFilterActiveBg:Wn,colorTextDisabled:yr,tableFilterDropdownBg:br,tableFilterDropdownHeight:fr,controlItemBgHover:kr,controlItemBgActive:Br,boxShadowSecondary:Zn,filterDropdownMenuBg:hr}=oe,Yn=`${He}-dropdown`,Un=`${ge}-filter-dropdown`,cr=`${He}-tree`,Fr=`${Mt}px ${_e} ${zt}`;return[{[`${ge}-wrapper`]:{[`${ge}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ge}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-wt,marginInline:`${wt}px ${-cn/2}px`,padding:`0 ${wt}px`,color:vn,fontSize:fn,borderRadius:ft,cursor:"pointer",transition:`all ${Ln}`,"&:hover":{color:Hn,background:Wn},"&.active":{color:Bn}}}},{[`${He}-dropdown`]:{[Un]:Object.assign(Object.assign({},(0,hs.Wf)(oe)),{minWidth:rt,backgroundColor:br,borderRadius:ft,boxShadow:Zn,overflow:"hidden",[`${Yn}-menu`]:{maxHeight:fr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:hr,"&:empty::after":{display:"block",padding:`${Ct}px 0`,color:yr,fontSize:fn,textAlign:"center",content:'"Not Found"'}},[`${Un}-tree`]:{paddingBlock:`${Ct}px 0`,paddingInline:Ct,[cr]:{padding:0},[`${cr}-treenode ${cr}-node-content-wrapper:hover`]:{backgroundColor:kr},[`${cr}-treenode-checkbox-checked ${cr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Br}}},[`${Un}-search`]:{padding:Ct,borderBottom:Fr,"&-input":{input:{minWidth:st},[Qe]:{color:yr}}},[`${Un}-checkall`]:{width:"100%",marginBottom:wt,marginInlineStart:wt},[`${Un}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ct-Mt}px ${Ct}px`,overflow:"hidden",borderTop:Fr}})}},{[`${He}-dropdown ${Un}, ${Un}-submenu`]:{[`${He}-checkbox-wrapper + span`]:{paddingInlineStart:Ct,color:At},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Os=oe=>{const{componentCls:ge,lineWidth:He,colorSplit:Qe,motionDurationSlow:rt,zIndexTableFixed:st,tableBg:wt,zIndexTableSticky:Ct}=oe,At=Qe;return{[`${ge}-wrapper`]:{[`
${ge}-cell-fix-left,
${ge}-cell-fix-right
`]:{position:"sticky !important",zIndex:st,background:wt},[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-He,width:30,transform:"translateX(100%)",transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},[`${ge}-cell-fix-left-all::after`]:{display:"none"},[`
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-He,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},[`${ge}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ct+1,width:30,transition:`box-shadow ${rt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ge}-ping-left`]:{[`&:not(${ge}-has-fix-left) ${ge}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${At}`}},[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${At}`},[`${ge}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ge}-ping-right`]:{[`&:not(${ge}-has-fix-right) ${ge}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${At}`}},[`
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${At}`}}}}},Ls=oe=>{const{componentCls:ge,antCls:He}=oe;return{[`${ge}-wrapper`]:{[`${ge}-pagination${He}-pagination`]:{margin:`${oe.margin}px 0`},[`${ge}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:oe.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},qa=oe=>{const{componentCls:ge,tableRadius:He}=oe;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${He}px ${He}px 0 0`},[`${ge}-title + ${ge}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ge}-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:He,borderStartEndRadius:He,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:He},"> *:last-child":{borderStartEndRadius:He}}},"&-footer":{borderRadius:`0 0 ${He}px ${He}px`}}}}},yo=oe=>{const{componentCls:ge}=oe;return{[`${ge}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ge}-pagination-left`]:{justifyContent:"flex-end"},[`${ge}-pagination-right`]:{justifyContent:"flex-start"},[`${ge}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ge}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ge}-row-indent`]:{float:"right"}}}}},Hs=oe=>{const{componentCls:ge,antCls:He,iconCls:Qe,fontSizeIcon:rt,padding:st,paddingXS:wt,tableHeaderIconColor:Ct,tableHeaderIconColorHover:At,tableSelectionColumnWidth:Mt}=oe;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:Mt,[`&${ge}-selection-col-with-dropdown`]:{width:Mt+rt+st/4}},[`${ge}-bordered ${ge}-selection-col`]:{width:Mt+wt*2,[`&${ge}-selection-col-with-dropdown`]:{width:Mt+rt+st/4+wt*2}},[`
table tr th${ge}-selection-column,
table tr td${ge}-selection-column
`]:{paddingInlineEnd:oe.paddingXS,paddingInlineStart:oe.paddingXS,textAlign:"center",[`${He}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:oe.zIndexTableFixed+1},[`table tr th${ge}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ge}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ge}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${oe.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${oe.tablePaddingHorizontal/4}px`,[Qe]:{color:Ct,fontSize:rt,verticalAlign:"baseline","&:hover":{color:At}}}}}},js=oe=>{const{componentCls:ge}=oe,He=(Qe,rt,st,wt)=>({[`${ge}${ge}-${Qe}`]:{fontSize:wt,[`
${ge}-title,
${ge}-footer,
${ge}-cell,
${ge}-thead > tr > th,
${ge}-tbody > tr > th,
${ge}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${rt}px ${st}px`},[`${ge}-filter-trigger`]:{marginInlineEnd:`-${st/2}px`},[`${ge}-expanded-row-fixed`]:{margin:`-${rt}px -${st}px`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:`-${rt}px`,marginInline:`${oe.tableExpandColumnWidth-st}px -${st}px`}},[`${ge}-selection-column`]:{paddingInlineStart:`${st/4}px`}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},He("middle",oe.tablePaddingVerticalMiddle,oe.tablePaddingHorizontalMiddle,oe.tableFontSizeMiddle)),He("small",oe.tablePaddingVerticalSmall,oe.tablePaddingHorizontalSmall,oe.tableFontSizeSmall))}},So=oe=>{const{componentCls:ge,marginXXS:He,fontSizeIcon:Qe,tableHeaderIconColor:rt,tableHeaderIconColorHover:st}=oe;return{[`${ge}-wrapper`]:{[`${ge}-thead th${ge}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${oe.motionDurationSlow}`,"&:hover":{background:oe.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:oe.colorPrimary},[`
&${ge}-cell-fix-left:hover,
&${ge}-cell-fix-right:hover
`]:{background:oe.tableFixedHeaderSortActiveBg}},[`${ge}-thead th${ge}-column-sort`]:{background:oe.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ge}-column-sort`]:{background:oe.tableBodySortBg},[`${ge}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ge}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ge}-column-sorter`]:{marginInlineStart:He,color:rt,fontSize:0,transition:`color ${oe.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Qe,"&.active":{color:oe.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:st}}}},Ao=oe=>{const{componentCls:ge,opacityLoading:He,tableScrollThumbBg:Qe,tableScrollThumbBgHover:rt,tableScrollThumbSize:st,tableScrollBg:wt,zIndexTableSticky:Ct,stickyScrollBarBorderRadius:At}=oe,Mt=`${oe.lineWidth}px ${oe.lineType} ${oe.tableBorderColor}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ct,background:oe.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${st}px !important`,zIndex:Ct,display:"flex",alignItems:"center",background:wt,borderTop:Mt,opacity:He,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:st,backgroundColor:Qe,borderRadius:At,transition:`all ${oe.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:rt}}}}}}},Ds=oe=>{const{componentCls:ge,lineWidth:He,tableBorderColor:Qe}=oe,rt=`${He}px ${oe.lineType} ${Qe}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:oe.zIndexTableFixed,background:oe.tableBg,"> tr":{"> th, > td":{borderBottom:rt}}},[`div${ge}-summary`]:{boxShadow:`0 -${He}px 0 ${Qe}`}}}},Us=oe=>{const{componentCls:ge}=oe,He=`${oe.lineWidth}px ${oe.lineType} ${oe.tableBorderColor}`,Qe=`${ge}-expanded-row-cell`;return{[`${ge}-wrapper`]:{[`${ge}-tbody-virtual`]:{[`${ge}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ge}-cell`]:{borderBottom:He},[`${ge}-expanded-row`]:{[`${Qe}${Qe}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${oe.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ge}-bordered`]:{[`${ge}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:He,position:"absolute"},[`${ge}-cell`]:{borderInlineEnd:He,[`&${ge}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-oe.lineWidth,borderInlineStart:He}}}}}}};const Vs=oe=>{const{componentCls:ge,fontWeightStrong:He,tablePaddingVertical:Qe,tablePaddingHorizontal:rt,lineWidth:st,lineType:wt,tableBorderColor:Ct,tableFontSize:At,tableBg:Mt,tableRadius:_e,tableHeaderTextColor:zt,motionDurationMid:vn,tableHeaderBg:fn,tableHeaderCellSplitColor:cn,tableRowHoverBg:ft,tableSelectedRowBg:Ln,tableSelectedRowHoverBg:Hn,tableFooterTextColor:Bn,tableFooterBg:Wn,paddingContentVerticalLG:yr}=oe,br=`${st}px ${wt} ${Ct}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,hs.dF)()),{[ge]:Object.assign(Object.assign({},(0,hs.Wf)(oe)),{fontSize:At,background:Mt,borderRadius:`${_e}px ${_e}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${_e}px ${_e}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${ge}-cell,
${ge}-thead > tr > th,
${ge}-tbody > tr > th,
${ge}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${yr}px ${rt}px`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${Qe}px ${rt}px`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:zt,fontWeight:He,textAlign:"start",background:fn,borderBottom:br,transition:`background ${vn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ge}-selection-column):not(${ge}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:cn,transform:"translateY(-50%)",transition:`background-color ${vn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${vn}, border-color ${vn}`,borderBottom:br,[`
> ${ge}-wrapper:only-child,
> ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child
`]:{[ge]:{marginBlock:`-${Qe}px`,marginInline:`${oe.tableExpandColumnWidth-rt}px -${rt}px`,[`${ge}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:zt,fontWeight:He,textAlign:"start",background:fn,borderBottom:br,transition:`background ${vn} ease`},[`
&${ge}-row:hover > th,
&${ge}-row:hover > td,
> th${ge}-cell-row-hover,
> td${ge}-cell-row-hover
`]:{background:ft},[`&${ge}-row-selected`]:{"> th, > td":{background:Ln},"&:hover > th, &:hover > td":{background:Hn}}}},[`${ge}-footer`]:{padding:`${Qe}px ${rt}px`,color:Bn,background:Wn}})}};var eo=(0,ks.Z)("Table",oe=>{const{colorTextHeading:ge,colorSplit:He,colorIcon:Qe,colorIconHover:rt,opacityLoading:st,colorBgContainer:wt,controlInteractiveSize:Ct,headerBg:At,headerColor:Mt,headerSortActiveBg:_e,headerSortHoverBg:zt,bodySortBg:vn,rowHoverBg:fn,rowSelectedBg:cn,rowSelectedHoverBg:ft,rowExpandedBg:Ln,cellPaddingBlock:Hn,cellPaddingInline:Bn,cellPaddingBlockMD:Wn,cellPaddingInlineMD:yr,cellPaddingBlockSM:br,cellPaddingInlineSM:fr,borderColor:kr,footerBg:Br,footerColor:Zn,headerBorderRadius:hr,cellFontSize:Yn,cellFontSizeMD:Un,cellFontSizeSM:cr,headerSplitColor:Fr,fixedHeaderSortActiveBg:Zr,headerFilterHoverBg:re,filterDropdownBg:l,expandIconBg:d,selectionColumnWidth:h,stickyScrollBarBg:g}=oe,N=new Ja.C(Qe),le=new Ja.C(rt),Pe=2,Me=(0,ps.TS)(oe,{tableFontSize:Yn,tableBg:wt,tableRadius:hr,tablePaddingVertical:Hn,tablePaddingHorizontal:Bn,tablePaddingVerticalMiddle:Wn,tablePaddingHorizontalMiddle:yr,tablePaddingVerticalSmall:br,tablePaddingHorizontalSmall:fr,tableBorderColor:kr,tableHeaderTextColor:Mt,tableHeaderBg:At,tableFooterTextColor:Zn,tableFooterBg:Br,tableHeaderCellSplitColor:Fr,tableHeaderSortBg:_e,tableHeaderSortHoverBg:zt,tableHeaderIconColor:N.clone().setAlpha(N.getAlpha()*st).toRgbString(),tableHeaderIconColorHover:le.clone().setAlpha(le.getAlpha()*st).toRgbString(),tableBodySortBg:vn,tableFixedHeaderSortActiveBg:Zr,tableHeaderFilterActiveBg:re,tableFilterDropdownBg:l,tableRowHoverBg:fn,tableSelectedRowBg:cn,tableSelectedRowHoverBg:ft,zIndexTableFixed:Pe,zIndexTableSticky:Pe+1,tableFontSizeMiddle:Un,tableFontSizeSmall:cr,tableSelectionColumnWidth:h,tableExpandIconBg:d,tableExpandColumnWidth:Ct+2*oe.padding,tableExpandedRowBg:Ln,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:g,tableScrollThumbBgHover:ge,tableScrollBg:He});return[Vs(Me),Ls(Me),Ds(Me),So(Me),qs(Me),Rn(Me),qa(Me),Ga(Me),Ds(Me),Qs(Me),Hs(Me),Os(Me),Ao(Me),Ms(Me),js(Me),yo(Me),Us(Me)]},oe=>{const{colorFillAlter:ge,colorBgContainer:He,colorTextHeading:Qe,colorFillSecondary:rt,colorFillContent:st,controlItemBgActive:wt,controlItemBgActiveHover:Ct,padding:At,paddingSM:Mt,paddingXS:_e,colorBorderSecondary:zt,borderRadiusLG:vn,fontSize:fn,controlHeight:cn,colorTextPlaceholder:ft}=oe,Ln=new Ja.C(rt).onBackground(He).toHexShortString(),Hn=new Ja.C(st).onBackground(He).toHexShortString(),Bn=new Ja.C(ge).onBackground(He).toHexShortString();return{headerBg:Bn,headerColor:Qe,headerSortActiveBg:Ln,headerSortHoverBg:Hn,bodySortBg:Bn,rowHoverBg:Bn,rowSelectedBg:wt,rowSelectedHoverBg:Ct,rowExpandedBg:ge,cellPaddingBlock:At,cellPaddingInline:At,cellPaddingBlockMD:Mt,cellPaddingInlineMD:_e,cellPaddingBlockSM:_e,cellPaddingInlineSM:_e,borderColor:zt,headerBorderRadius:vn,footerBg:Bn,footerColor:Qe,cellFontSize:fn,cellFontSizeMD:fn,cellFontSizeSM:fn,headerSplitColor:zt,fixedHeaderSortActiveBg:Ln,headerFilterHoverBg:st,filterDropdownMenuBg:He,filterDropdownBg:He,expandIconBg:He,selectionColumnWidth:cn,stickyScrollBarBg:ft,stickyScrollBarBorderRadius:100}});const to=[],no=(oe,ge)=>{const{prefixCls:He,className:Qe,rootClassName:rt,style:st,size:wt,bordered:Ct,dropdownPrefixCls:At,dataSource:Mt,pagination:_e,rowSelection:zt,rowKey:vn="key",rowClassName:fn,columns:cn,children:ft,childrenColumnName:Ln,onChange:Hn,getPopupContainer:Bn,loading:Wn,expandIcon:yr,expandable:br,expandedRowRender:fr,expandIconColumnIndex:kr,indentSize:Br,scroll:Zn,sortDirections:hr,locale:Yn,showSorterTooltip:Un=!0,virtual:cr}=oe,Fr=C.useMemo(()=>cn||Et(ft),[cn,ft]),Zr=C.useMemo(()=>Fr.some(hi=>hi.responsive),[Fr]),re=(0,Vr.Z)(Zr),l=C.useMemo(()=>{const hi=new Set(Object.keys(re).filter(Li=>re[Li]));return Fr.filter(Li=>!Li.responsive||Li.responsive.some(ma=>hi.has(ma)))},[Fr,re]),d=(0,gr.Z)(oe,["className","style","columns"]),{locale:h=fi.Z,direction:g,table:N,renderEmpty:le,getPrefixCls:Pe,getPopupContainer:Me}=C.useContext(Xr.E_),Xe=(0,zr.Z)(wt),gt=Object.assign(Object.assign({},h.Table),Yn),Tt=Mt||to,$t=Pe("table",He),Sn=Pe("dropdown",At),qt=Object.assign({childrenColumnName:Ln,expandIconColumnIndex:kr},br),{childrenColumnName:on="children"}=qt,yn=C.useMemo(()=>Tt.some(hi=>hi==null?void 0:hi[on])?"nest":fr||br&&br.expandedRowRender?"row":null,[Tt]),Tn={body:C.useRef()},ir=C.useMemo(()=>typeof vn=="function"?vn:hi=>hi==null?void 0:hi[vn],[vn]),[Dn]=os(Tt,on,ir),rr={},Er=function(hi,Li){let ma=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Bi,Da,Pa;const Ka=Object.assign(Object.assign({},rr),hi);ma&&((Bi=rr.resetPagination)===null||Bi===void 0||Bi.call(rr),!((Da=Ka.pagination)===null||Da===void 0)&&Da.current&&(Ka.pagination.current=1),_e&&_e.onChange&&_e.onChange(1,(Pa=Ka.pagination)===null||Pa===void 0?void 0:Pa.pageSize)),Zn&&Zn.scrollToFirstRowOnChange!==!1&&Tn.body.current&&(0,Lr.Z)(0,{getContainer:()=>Tn.body.current}),Hn==null||Hn(Ka.pagination,Ka.filters,Ka.sorter,{currentDataSource:Ha(Ci(Tt,Ka.sorterStates,on),Ka.filterStates),action:Li})},_r=(hi,Li)=>{Er({sorter:hi,sorterStates:Li},"sort",!1)},[ii,ai,Wi,ci]=Ei({prefixCls:$t,mergedColumns:l,onSorterChange:_r,sortDirections:hr||["ascend","descend"],tableLocale:gt,showSorterTooltip:Un}),si=C.useMemo(()=>Ci(Tt,ai,on),[Tt,ai]);rr.sorter=ci(),rr.sorterStates=ai;const Si=(hi,Li)=>{Er({filters:hi,filterStates:Li},"filter",!0)},[qi,xa,Hr]=ss({prefixCls:$t,locale:gt,dropdownPrefixCls:Sn,mergedColumns:l,onFilterChange:Si,getPopupContainer:Bn||Me}),ei=Ha(si,xa);rr.filters=Hr,rr.filterStates=xa;const qr=C.useMemo(()=>{const hi={};return Object.keys(Hr).forEach(Li=>{Hr[Li]!==null&&(hi[Li]=Hr[Li])}),Object.assign(Object.assign({},Wi),{filters:hi})},[Wi,Hr]),[Ti]=Ji(qr),ea=(hi,Li)=>{Er({pagination:Object.assign(Object.assign({},rr.pagination),{current:hi,pageSize:Li})},"paginate")},[Wr,ra]=ns(ei.length,ea,_e);rr.pagination=_e===!1?{}:Qi(Wr,_e),rr.resetPagination=ra;const ta=C.useMemo(()=>{if(_e===!1||!Wr.pageSize)return ei;const{current:hi=1,total:Li,pageSize:ma=Ta}=Wr;return ei.length<Li?ei.length>ma?ei.slice((hi-1)*ma,hi*ma):ei:ei.slice((hi-1)*ma,hi*ma)},[!!_e,ei,Wr&&Wr.current,Wr&&Wr.pageSize,Wr&&Wr.total]),[Aa,Ma]=Ba({prefixCls:$t,data:ei,pageData:ta,getRowKey:ir,getRecordByKey:Dn,expandType:yn,childrenColumnName:on,locale:gt,getPopupContainer:Bn||Me},zt),Ea=(hi,Li,ma)=>{let Bi;return typeof fn=="function"?Bi=M()(fn(hi,Li,ma)):Bi=M()(fn),M()({[`${$t}-row-selected`]:Ma.has(ir(hi,Li))},Bi)};qt.__PARENT_RENDER_ICON__=qt.expandIcon,qt.expandIcon=qt.expandIcon||yr||li(gt),yn==="nest"&&qt.expandIconColumnIndex===void 0?qt.expandIconColumnIndex=zt?1:0:qt.expandIconColumnIndex>0&&zt&&(qt.expandIconColumnIndex-=1),typeof qt.indentSize!="number"&&(qt.indentSize=typeof Br=="number"?Br:15);const Ss=C.useCallback(hi=>Ti(Aa(qi(ii(hi)))),[ii,qi,Aa]);let Xa,Na;if(_e!==!1&&(Wr!=null&&Wr.total)){let hi;Wr.size?hi=Wr.size:hi=Xe==="small"||Xe==="middle"?"small":void 0;const Li=Da=>C.createElement(ki.Z,Object.assign({},Wr,{className:M()(`${$t}-pagination ${$t}-pagination-${Da}`,Wr.className),size:hi})),ma=g==="rtl"?"left":"right",{position:Bi}=Wr;if(Bi!==null&&Array.isArray(Bi)){const Da=Bi.find(gs=>gs.includes("top")),Pa=Bi.find(gs=>gs.includes("bottom")),Ka=Bi.every(gs=>`${gs}`=="none");!Da&&!Pa&&!Ka&&(Na=Li(ma)),Da&&(Xa=Li(Da.toLowerCase().replace("top",""))),Pa&&(Na=Li(Pa.toLowerCase().replace("bottom","")))}else Na=Li(ma)}let ha;typeof Wn=="boolean"?ha={spinning:Wn}:typeof Wn=="object"&&(ha=Object.assign({spinning:!0},Wn));const[pa,$i]=eo($t),[,_i]=(0,ti.Z)(),rs=M()(`${$t}-wrapper`,N==null?void 0:N.className,{[`${$t}-wrapper-rtl`]:g==="rtl"},Qe,rt,$i),Fs=Object.assign(Object.assign({},N==null?void 0:N.style),st),es=Yn&&Yn.emptyText||(le==null?void 0:le("Table"))||C.createElement(jn.Z,{componentName:"Table"}),$a=cr?fs:Xi,io={},ao=C.useMemo(()=>{const{fontSize:hi,lineHeight:Li,padding:ma,paddingXS:Bi,paddingSM:Da}=_i,Pa=Math.floor(hi*Li);switch(Xe){case"large":return ma*2+Pa;case"small":return Bi*2+Pa;default:return Da*2+Pa}},[_i,Xe]);return cr&&(io.listItemHeight=ao),pa(C.createElement("div",{ref:ge,className:rs,style:Fs},C.createElement(Ai.Z,Object.assign({spinning:!1},ha),Xa,C.createElement($a,Object.assign({},io,d,{columns:l,direction:g,expandable:qt,prefixCls:$t,className:M()({[`${$t}-middle`]:Xe==="middle",[`${$t}-small`]:Xe==="small",[`${$t}-bordered`]:Ct,[`${$t}-empty`]:Tt.length===0}),data:ta,rowKey:ir,rowClassName:Ea,emptyText:es,internalHooks:L,internalRefs:Tn,transformColumns:Ss})),Na)))};var ro=C.forwardRef(no);const _o=(oe,ge)=>{const He=C.useRef(0);return He.current+=1,C.createElement(ro,Object.assign({},oe,{ref:ge,_renderTimes:He.current}))},La=C.forwardRef(_o);La.SELECTION_COLUMN=zi,La.EXPAND_COLUMN=y,La.SELECTION_ALL=Oi,La.SELECTION_INVERT=oa,La.SELECTION_NONE=mi,La.Column=Gr,La.ColumnGroup=Kn,La.Summary=E;var Gs=La,Zs=Gs},33166:function(tn,tt,f){"use strict";f.d(tt,{i:function(){return y}});const y=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return L}});var y=f(33166);function L(ee,Ee){return y.i.reduce(($,q)=>{const C=ee[`${q}1`],Se=ee[`${q}3`],a=ee[`${q}6`],I=ee[`${q}7`];return Object.assign(Object.assign({},$),Ee(q,{lightColor:C,lightBorderColor:Se,darkColor:a,textColor:I}))},{})}},6848:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return fe}});var y=f(59301),L=f(92310),ee=f.n(L),Ee=f(55477),$=f(18929),q=f(62892),C=f(79676),Se=f(92343),a=f(36355),I=f(33234),z=f(88088),S=f(17313),u=f(29878),x=f(19447),m=f(45157),P=f(37613),ce=f(83116);const U=ae=>{const{componentCls:te,tooltipMaxWidth:M,tooltipColor:he,tooltipBg:Q,tooltipBorderRadius:de,zIndexPopup:ie,controlHeight:v,boxShadowSecondary:_,paddingSM:V,paddingXS:J,tooltipRadiusOuter:Le}=ae;return[{[te]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(ae)),{position:"absolute",zIndex:ie,display:"block",width:"max-content",maxWidth:M,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":Q,[`${te}-inner`]:{minWidth:v,minHeight:v,padding:`${V/2}px ${J}px`,color:he,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:Q,borderRadius:de,boxShadow:_,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${te}-inner`]:{borderRadius:Math.min(de,x.qN)}},[`${te}-content`]:{position:"relative"}}),(0,m.Z)(ae,(Oe,Ie)=>{let{darkColor:$e}=Ie;return{[`&${te}-${Oe}`]:{[`${te}-inner`]:{backgroundColor:$e},[`${te}-arrow`]:{"--antd-arrow-background-color":$e}}}})),{"&-rtl":{direction:"rtl"}})},(0,x.ZP)((0,P.TS)(ae,{borderRadiusOuter:Le}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:de,limitVerticalRadius:!0}),{[`${te}-pure`]:{position:"relative",maxWidth:"none",margin:ae.sizePopupArrow}}]};var W=(ae,te)=>(0,ce.Z)("Tooltip",he=>{if(te===!1)return[];const{borderRadius:Q,colorTextLightSolid:de,colorBgDefault:ie,borderRadiusOuter:v}=he,_=(0,P.TS)(he,{tooltipMaxWidth:250,tooltipColor:de,tooltipBorderRadius:Q,tooltipBg:ie,tooltipRadiusOuter:v>4?4:v});return[U(_),(0,u._y)(he,"zoom-big-fast")]},he=>{let{zIndexPopupBase:Q,colorBgSpotlight:de}=he;return{zIndexPopup:Q+70,colorBgDefault:de}},{resetStyle:!1})(ae),ne=f(36785);function Y(ae,te){const M=(0,ne.o2)(te),he=ee()({[`${ae}-${te}`]:te&&M}),Q={},de={};return te&&!M&&(Q.background=te,de["--antd-arrow-background-color"]=te),{className:he,overlayStyle:Q,arrowStyle:de}}var R=ae=>{const{prefixCls:te,className:M,placement:he="top",title:Q,color:de,overlayInnerStyle:ie}=ae,{getPrefixCls:v}=y.useContext(a.E_),_=v("tooltip",te),[V,J]=W(_,!0),Le=Y(_,de),Oe=Le.arrowStyle,Ie=Object.assign(Object.assign({},ie),Le.overlayStyle),$e=ee()(J,_,`${_}-pure`,`${_}-placement-${he}`,M,Le.className);return V(y.createElement("div",{className:$e,style:Oe},y.createElement("div",{className:`${_}-arrow`}),y.createElement(Ee.G,Object.assign({},ae,{className:J,prefixCls:_,overlayInnerStyle:Ie}),Q)))},G=function(ae,te){var M={};for(var he in ae)Object.prototype.hasOwnProperty.call(ae,he)&&te.indexOf(he)<0&&(M[he]=ae[he]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,he=Object.getOwnPropertySymbols(ae);Q<he.length;Q++)te.indexOf(he[Q])<0&&Object.prototype.propertyIsEnumerable.call(ae,he[Q])&&(M[he[Q]]=ae[he[Q]]);return M};const j=(ae,te)=>{const M={},he=Object.assign({},ae);return te.forEach(Q=>{ae&&Q in ae&&(M[Q]=ae[Q],delete he[Q])}),{picked:M,omitted:he}};function pe(ae,te){const M=ae.type;if((M.__ANT_BUTTON===!0||ae.type==="button")&&ae.props.disabled||M.__ANT_SWITCH===!0&&(ae.props.disabled||ae.props.loading)||M.__ANT_RADIO===!0&&ae.props.disabled){const{picked:he,omitted:Q}=j(ae.props.style,["position","left","right","top","bottom","float","display","zIndex"]),de=Object.assign(Object.assign({display:"inline-block"},he),{cursor:"not-allowed",width:ae.props.block?"100%":void 0}),ie=Object.assign(Object.assign({},Q),{pointerEvents:"none"}),v=(0,Se.Tm)(ae,{style:ie,className:null});return y.createElement("span",{style:de,className:ee()(ae.props.className,`${te}-disabled-compatible-wrapper`)},v)}return ae}const me=y.forwardRef((ae,te)=>{var M,he;const{prefixCls:Q,openClassName:de,getTooltipContainer:ie,overlayClassName:v,color:_,overlayInnerStyle:V,children:J,afterOpenChange:Le,afterVisibleChange:Oe,destroyTooltipOnHide:Ie,arrow:$e=!0,title:lt,overlay:ut,builtinPlacements:it,arrowPointAtCenter:Pt=!1,autoAdjustOverflow:Jt=!0}=ae,rn=!!$e,[,It]=(0,z.Z)(),{getPopupContainer:Zt,getPrefixCls:ot,direction:se}=y.useContext(a.E_),be=y.useRef(null),H=()=>{var nt;(nt=be.current)===null||nt===void 0||nt.forceAlign()};y.useImperativeHandle(te,()=>({forceAlign:H,forcePopupAlign:()=>{H()}}));const[O,xe]=(0,$.Z)(!1,{value:(M=ae.open)!==null&&M!==void 0?M:ae.visible,defaultValue:(he=ae.defaultOpen)!==null&&he!==void 0?he:ae.defaultVisible}),k=!lt&&!ut&&lt!==0,E=nt=>{var Je,Ae;xe(k?!1:nt),k||((Je=ae.onOpenChange)===null||Je===void 0||Je.call(ae,nt),(Ae=ae.onVisibleChange)===null||Ae===void 0||Ae.call(ae,nt))},T=y.useMemo(()=>{var nt,Je;let Ae=Pt;return typeof $e=="object"&&(Ae=(Je=(nt=$e.pointAtCenter)!==null&&nt!==void 0?nt:$e.arrowPointAtCenter)!==null&&Je!==void 0?Je:Pt),it||(0,C.Z)({arrowPointAtCenter:Ae,autoAdjustOverflow:Jt,arrowWidth:rn?It.sizePopupArrow:0,borderRadius:It.borderRadius,offset:It.marginXXS,visibleFirst:!0})},[Pt,$e,it,It]),X=y.useMemo(()=>lt===0?lt:ut||lt||"",[ut,lt]),Z=y.createElement(I.BR,null,typeof X=="function"?X():X),{getPopupContainer:K,placement:we="top",mouseEnterDelay:Ke=.1,mouseLeaveDelay:ke=.1,overlayStyle:Te,rootClassName:Ye}=ae,et=G(ae,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),je=ot("tooltip",Q),vt=ot(),bt=ae["data-popover-inject"];let ht=O;!("open"in ae)&&!("visible"in ae)&&k&&(ht=!1);const Nt=pe((0,Se.l$)(J)&&!(0,Se.M2)(J)?J:y.createElement("span",null,J),je),_t=Nt.props,w=!_t.className||typeof _t.className=="string"?ee()(_t.className,de||`${je}-open`):_t.className,[D,St]=W(je,!bt),ue=Y(je,_),Be=ue.arrowStyle,pn=Object.assign(Object.assign({},V),ue.overlayStyle),Ve=ee()(v,{[`${je}-rtl`]:se==="rtl"},ue.className,Ye,St);return D(y.createElement(Ee.Z,Object.assign({},et,{showArrow:rn,placement:we,mouseEnterDelay:Ke,mouseLeaveDelay:ke,prefixCls:je,overlayClassName:Ve,overlayStyle:Object.assign(Object.assign({},Be),Te),getTooltipContainer:K||ie||Zt,ref:be,builtinPlacements:T,overlay:Z,visible:ht,onVisibleChange:E,afterVisibleChange:Le!=null?Le:Oe,overlayInnerStyle:pn,arrowContent:y.createElement("span",{className:`${je}-arrow-content`}),motion:{motionName:(0,q.m)(vt,"zoom-big-fast",ae.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ie}),ht?(0,Se.Tm)(Nt,{className:w}):Nt))});me._InternalPanelDoNotUseOrYouWillBeFired=R;var fe=me},17574:function(tn,tt,f){"use strict";f.d(tt,{default:function(){return _}});var y=f(23130),L=f(26407),ee=f(52671),Ee=f(8657),$=f(92413),q=f(59301),C={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"},Se=C,a=f(7657),I=function(J,Le){return q.createElement(a.Z,(0,$.Z)({},J,{ref:Le,icon:Se}))},z=q.forwardRef(I),S=z,u=f(92310),x=f.n(u),m=f(35654),P=f(71430),ce=f(36355),U=f(56082),W=f(62892),ne=f(20648);const Y=4;function b(V){const{dropPosition:J,dropLevelOffset:Le,prefixCls:Oe,indent:Ie,direction:$e="ltr"}=V,lt=$e==="ltr"?"left":"right",ut=$e==="ltr"?"right":"left",it={[lt]:-Le*Ie+Y,[ut]:0};switch(J){case-1:it.top=-3;break;case 1:it.bottom=-3;break;default:it.bottom=-3,it[lt]=Ie+Y;break}return q.createElement("div",{style:it,className:`${Oe}-drop-indicator`})}var R=f(71997),j=q.forwardRef((V,J)=>{const{getPrefixCls:Le,direction:Oe,virtual:Ie,tree:$e}=q.useContext(ce.E_),{prefixCls:lt,className:ut,showIcon:it=!1,showLine:Pt,switcherIcon:Jt,blockNode:rn=!1,children:It,checkable:Zt=!1,selectable:ot=!0,draggable:se,motion:be,style:H}=V,O=Le("tree",lt),xe=Le(),k=be!=null?be:Object.assign(Object.assign({},(0,W.Z)(xe)),{motionAppear:!1}),E=Object.assign(Object.assign({},V),{checkable:Zt,selectable:ot,showIcon:it,motion:k,blockNode:rn,showLine:!!Pt,dropIndicatorRender:b}),[T,X]=(0,ne.ZP)(O),Z=q.useMemo(()=>{if(!se)return!1;let we={};switch(typeof se){case"function":we.nodeDraggable=se;break;case"object":we=Object.assign({},se);break;default:break}return we.icon!==!1&&(we.icon=we.icon||q.createElement(U.Z,null)),we},[se]),K=we=>q.createElement(R.Z,{prefixCls:O,switcherIcon:Jt,treeNodeProps:we,showLine:Pt});return T(q.createElement(y.Z,Object.assign({itemHeight:20,ref:J,virtual:Ie},E,{style:Object.assign(Object.assign({},$e==null?void 0:$e.style),H),prefixCls:O,className:x()({[`${O}-icon-hide`]:!it,[`${O}-block-node`]:rn,[`${O}-unselectable`]:!ot,[`${O}-rtl`]:Oe==="rtl"},$e==null?void 0:$e.className,ut,X),direction:Oe,checkable:Zt&&q.createElement("span",{className:`${O}-checkbox-inner`}),selectable:ot,switcherIcon:K,draggable:Z}),It))}),pe;(function(V){V[V.None=0]="None",V[V.Start=1]="Start",V[V.End=2]="End"})(pe||(pe={}));function me(V,J){function Le(Oe){const{key:Ie,children:$e}=Oe;J(Ie,Oe)!==!1&&me($e||[],J)}V.forEach(Le)}function fe(V){let{treeData:J,expandedKeys:Le,startKey:Oe,endKey:Ie}=V;const $e=[];let lt=pe.None;if(Oe&&Oe===Ie)return[Oe];if(!Oe||!Ie)return[];function ut(it){return it===Oe||it===Ie}return me(J,it=>{if(lt===pe.End)return!1;if(ut(it)){if($e.push(it),lt===pe.None)lt=pe.Start;else if(lt===pe.Start)return lt=pe.End,!1}else lt===pe.Start&&$e.push(it);return Le.includes(it)}),$e}function ae(V,J){const Le=(0,L.Z)(J),Oe=[];return me(V,(Ie,$e)=>{const lt=Le.indexOf(Ie);return lt!==-1&&(Oe.push($e),Le.splice(lt,1)),!!Le.length}),Oe}var te=function(V,J){var Le={};for(var Oe in V)Object.prototype.hasOwnProperty.call(V,Oe)&&J.indexOf(Oe)<0&&(Le[Oe]=V[Oe]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Oe=Object.getOwnPropertySymbols(V);Ie<Oe.length;Ie++)J.indexOf(Oe[Ie])<0&&Object.prototype.propertyIsEnumerable.call(V,Oe[Ie])&&(Le[Oe[Ie]]=V[Oe[Ie]]);return Le};function M(V){const{isLeaf:J,expanded:Le}=V;return J?q.createElement(ee.Z,null):Le?q.createElement(Ee.Z,null):q.createElement(S,null)}function he(V){let{treeData:J,children:Le}=V;return J||(0,P.zn)(Le)}const Q=(V,J)=>{var{defaultExpandAll:Le,defaultExpandParent:Oe,defaultExpandedKeys:Ie}=V,$e=te(V,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const lt=q.useRef(),ut=q.useRef(),it=()=>{const{keyEntities:Z}=(0,P.I8)(he($e));let K;return Le?K=Object.keys(Z):Oe?K=(0,m.r7)($e.expandedKeys||Ie||[],Z):K=$e.expandedKeys||Ie,K},[Pt,Jt]=q.useState($e.selectedKeys||$e.defaultSelectedKeys||[]),[rn,It]=q.useState(()=>it());q.useEffect(()=>{"selectedKeys"in $e&&Jt($e.selectedKeys)},[$e.selectedKeys]),q.useEffect(()=>{"expandedKeys"in $e&&It($e.expandedKeys)},[$e.expandedKeys]);const Zt=(Z,K)=>{var we;return"expandedKeys"in $e||It(Z),(we=$e.onExpand)===null||we===void 0?void 0:we.call($e,Z,K)},ot=(Z,K)=>{var we;const{multiple:Ke}=$e,{node:ke,nativeEvent:Te}=K,{key:Ye=""}=ke,et=he($e),je=Object.assign(Object.assign({},K),{selected:!0}),vt=(Te==null?void 0:Te.ctrlKey)||(Te==null?void 0:Te.metaKey),bt=Te==null?void 0:Te.shiftKey;let ht;Ke&&vt?(ht=Z,lt.current=Ye,ut.current=ht,je.selectedNodes=ae(et,ht)):Ke&&bt?(ht=Array.from(new Set([].concat((0,L.Z)(ut.current||[]),(0,L.Z)(fe({treeData:et,expandedKeys:rn,startKey:Ye,endKey:lt.current}))))),je.selectedNodes=ae(et,ht)):(ht=[Ye],lt.current=Ye,ut.current=ht,je.selectedNodes=ae(et,ht)),(we=$e.onSelect)===null||we===void 0||we.call($e,ht,je),"selectedKeys"in $e||Jt(ht)},{getPrefixCls:se,direction:be}=q.useContext(ce.E_),{prefixCls:H,className:O,showIcon:xe=!0,expandAction:k="click"}=$e,E=te($e,["prefixCls","className","showIcon","expandAction"]),T=se("tree",H),X=x()(`${T}-directory`,{[`${T}-directory-rtl`]:be==="rtl"},O);return q.createElement(j,Object.assign({icon:M,ref:J,blockNode:!0},E,{showIcon:xe,expandAction:k,prefixCls:T,className:X,expandedKeys:rn,selectedKeys:Pt,onSelect:ot,onExpand:Zt}))};var ie=q.forwardRef(Q);const v=j;v.DirectoryTree=ie,v.TreeNode=y.O;var _=v},20648:function(tn,tt,f){"use strict";f.d(tt,{TM:function(){return u},Yk:function(){return S}});var y=f(93083),L=f(98447),ee=f(17313),Ee=f(8378),$=f(37613),q=f(83116);const C=new y.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Se=(x,m)=>({[`.${x}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${m.motionDurationSlow}`}}}),a=(x,m)=>({[`.${x}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:m.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${m.lineWidthBold}px solid ${m.colorPrimary}`,borderRadius:"50%",content:'""'}}}),I=(x,m)=>{const{treeCls:P,treeNodeCls:ce,treeNodePadding:U,titleHeight:W,nodeSelectedBg:ne,nodeHoverBg:Y}=m,b=m.paddingXS;return{[P]:Object.assign(Object.assign({},(0,ee.Wf)(m)),{background:m.colorBgContainer,borderRadius:m.borderRadius,transition:`background-color ${m.motionDurationSlow}`,[`&${P}-rtl`]:{[`${P}-switcher`]:{"&_close":{[`${P}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${P}-active-focused)`]:Object.assign({},(0,ee.oN)(m)),[`${P}-list-holder-inner`]:{alignItems:"flex-start"},[`&${P}-block-node`]:{[`${P}-list-holder-inner`]:{alignItems:"stretch",[`${P}-node-content-wrapper`]:{flex:"auto"},[`${ce}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:U,insetInlineStart:0,border:`1px solid ${m.colorPrimary}`,opacity:0,animationName:C,animationDuration:m.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${ce}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${U}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${P}-node-content-wrapper`]:{color:m.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${P}-node-content-wrapper`]:Object.assign({},(0,ee.oN)(m)),[`&:not(${ce}-disabled).filter-node ${P}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${P}-draggable-icon`]:{flexShrink:0,width:W,lineHeight:`${W}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${m.motionDurationSlow}`,[`${ce}:hover &`]:{opacity:.45}},[`&${ce}-disabled`]:{[`${P}-draggable-icon`]:{visibility:"hidden"}}}},[`${P}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:W}},[`${P}-draggable-icon`]:{visibility:"hidden"},[`${P}-switcher`]:Object.assign(Object.assign({},Se(x,m)),{position:"relative",flex:"none",alignSelf:"stretch",width:W,margin:0,lineHeight:`${W}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${P}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:m.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:W/2,bottom:-U,marginInlineStart:-1,borderInlineEnd:`1px solid ${m.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:W/2*.8,height:W/2,borderBottom:`1px solid ${m.colorBorder}`,content:'""'}}}),[`${P}-checkbox`]:{top:"initial",marginInlineEnd:b},[`${P}-node-content-wrapper, ${P}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:W,margin:0,padding:`0 ${m.paddingXS/2}px`,color:"inherit",lineHeight:`${W}px`,background:"transparent",borderRadius:m.borderRadius,cursor:"pointer",transition:`all ${m.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:Y},[`&${P}-node-selected`]:{backgroundColor:ne},[`${P}-iconEle`]:{display:"inline-block",width:W,height:W,lineHeight:`${W}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${P}-unselectable ${P}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${P}-node-content-wrapper`]:Object.assign({lineHeight:`${W}px`,userSelect:"none"},a(x,m)),[`${ce}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${m.colorPrimary}`}},"&-show-line":{[`${P}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:W/2,bottom:-U,borderInlineEnd:`1px solid ${m.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${P}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${ce}-leaf-last`]:{[`${P}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${W/2}px !important`}}}}})}},z=x=>{const{treeCls:m,treeNodeCls:P,treeNodePadding:ce,directoryNodeSelectedBg:U,directoryNodeSelectedColor:W}=x;return{[`${m}${m}-directory`]:{[P]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:ce,insetInlineStart:0,transition:`background-color ${x.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:x.controlItemBgHover}},"> *":{zIndex:1},[`${m}-switcher`]:{transition:`color ${x.motionDurationMid}`},[`${m}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${m}-node-selected`]:{color:W,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:U},[`${m}-switcher`]:{color:W},[`${m}-node-content-wrapper`]:{color:W,background:"transparent"}}}}}},S=(x,m)=>{const P=`.${x}`,ce=`${P}-treenode`,U=m.paddingXS/2,W=(0,$.TS)(m,{treeCls:P,treeNodeCls:ce,treeNodePadding:U});return[I(x,W),z(W)]},u=x=>{const{controlHeightSM:m}=x;return{titleHeight:m,nodeHoverBg:x.controlItemBgHover,nodeSelectedBg:x.controlItemBgActive}};tt.ZP=(0,q.Z)("Tree",(x,m)=>{let{prefixCls:P}=m;return[{[x.componentCls]:(0,L.C2)(`${P}-checkbox`,x)},S(P,x),(0,Ee.Z)(x)]},x=>{const{colorTextLightSolid:m,colorPrimary:P}=x;return Object.assign(Object.assign({},u(x)),{directoryNodeSelectedColor:m,directoryNodeSelectedBg:P})})},71997:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return ce}});var y=f(92413),L=f(59301),ee={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"},Ee=ee,$=f(7657),q=function(W,ne){return L.createElement($.Z,(0,y.Z)({},W,{ref:ne,icon:Ee}))},C=L.forwardRef(q),Se=C,a=f(52671),I=f(58617),z=f(15075),S=f(43531),u=f(92310),x=f.n(u),m=f(92343),ce=U=>{const{prefixCls:W,switcherIcon:ne,treeNodeProps:Y,showLine:b}=U,{isLeaf:R,expanded:G,loading:j}=Y;if(j)return L.createElement(I.Z,{className:`${W}-switcher-loading-icon`});let pe;if(b&&typeof b=="object"&&(pe=b.showLeafIcon),R){if(!b)return null;if(typeof pe!="boolean"&&pe){const ae=typeof pe=="function"?pe(Y):pe,te=`${W}-switcher-line-custom-icon`;return(0,m.l$)(ae)?(0,m.Tm)(ae,{className:x()(ae.props.className||"",te)}):ae}return pe?L.createElement(a.Z,{className:`${W}-switcher-line-icon`}):L.createElement("span",{className:`${W}-switcher-leaf-line`})}const me=`${W}-switcher-icon`,fe=typeof ne=="function"?ne(Y):ne;return(0,m.l$)(fe)?(0,m.Tm)(fe,{className:x()(fe.props.className||"",me)}):fe!==void 0?fe:b?G?L.createElement(z.Z,{className:`${W}-switcher-line-icon`}):L.createElement(S.Z,{className:`${W}-switcher-line-icon`}):L.createElement(Se,{className:me})}},64018:function(){var tn,tt,f,y=!1,L,ee;window.PR_SHOULD_USE_CONTINUATION=!0;var Ee,$;(function(){var q=window,C=["break,continue,do,else,for,if,return,while"],Se=[C,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],a=[Se,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],I=[a,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],z=[a,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],S=[a,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],u="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",x=[a,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],m="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",P=[C,"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"],ce=[C,"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"],U=[C,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],W=[I,S,z,x,m,P,ce,U],ne=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,Y="str",b="kwd",R="com",G="typ",j="lit",pe="pun",me="pln",fe="tag",ae="dec",te="src",M="atn",he="atv",Q="nocode",de="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function ie(se){for(var be=0,H=!1,O=!1,xe=0,k=se.length;xe<k;++xe){var E=se[xe];if(E.ignoreCase)O=!0;else if(/[a-z]/i.test(E.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){H=!0,O=!1;break}}var T={b:8,t:9,n:10,v:11,f:12,r:13};function X(ke){var Te=ke.charCodeAt(0);if(Te!==92)return Te;var Ye=ke.charAt(1);return Te=T[Ye],Te||("0"<=Ye&&Ye<="7"?parseInt(ke.substring(1),8):Ye==="u"||Ye==="x"?parseInt(ke.substring(2),16):ke.charCodeAt(1))}function Z(ke){if(ke<32)return(ke<16?"\\x0":"\\x")+ke.toString(16);var Te=String.fromCharCode(ke);return Te==="\\"||Te==="-"||Te==="]"||Te==="^"?"\\"+Te:Te}function K(ke){var Te=ke.substring(1,ke.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")),Ye=[],et=Te[0]==="^",je=["["];et&&je.push("^");for(var vt=et?1:0,bt=Te.length;vt<bt;++vt){var ht=Te[vt];if(/\\[bdsw]/i.test(ht))je.push(ht);else{var Nt=X(ht),_t;vt+2<bt&&Te[vt+1]==="-"?(_t=X(Te[vt+2]),vt+=2):_t=Nt,Ye.push([Nt,_t]),_t<65||Nt>122||(_t<65||Nt>90||Ye.push([Math.max(65,Nt)|32,Math.min(_t,90)|32]),_t<97||Nt>122||Ye.push([Math.max(97,Nt)&-33,Math.min(_t,122)&-33]))}}Ye.sort(function(ue,Be){return ue[0]-Be[0]||Be[1]-ue[1]});for(var w=[],D=[],vt=0;vt<Ye.length;++vt){var St=Ye[vt];St[0]<=D[1]+1?D[1]=Math.max(D[1],St[1]):w.push(D=St)}for(var vt=0;vt<w.length;++vt){var St=w[vt];je.push(Z(St[0])),St[1]>St[0]&&(St[1]+1>St[0]&&je.push("-"),je.push(Z(St[1])))}return je.push("]"),je.join("")}function we(ke){for(var Te=ke.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")),Ye=Te.length,et=[],je=0,vt=0;je<Ye;++je){var bt=Te[je];if(bt==="(")++vt;else if(bt.charAt(0)==="\\"){var ht=+bt.substring(1);ht&&(ht<=vt?et[ht]=-1:Te[je]=Z(ht))}}for(var je=1;je<et.length;++je)et[je]===-1&&(et[je]=++be);for(var je=0,vt=0;je<Ye;++je){var bt=Te[je];if(bt==="(")++vt,et[vt]||(Te[je]="(?:");else if(bt.charAt(0)==="\\"){var ht=+bt.substring(1);ht&&ht<=vt&&(Te[je]="\\"+et[ht])}}for(var je=0;je<Ye;++je)Te[je]==="^"&&Te[je+1]!=="^"&&(Te[je]="");if(ke.ignoreCase&&H)for(var je=0;je<Ye;++je){var bt=Te[je],Nt=bt.charAt(0);bt.length>=2&&Nt==="["?Te[je]=K(bt):Nt!=="\\"&&(Te[je]=bt.replace(/[a-zA-Z]/g,function(D){var St=D.charCodeAt(0);return"["+String.fromCharCode(St&-33,St|32)+"]"}))}return Te.join("")}for(var Ke=[],xe=0,k=se.length;xe<k;++xe){var E=se[xe];if(E.global||E.multiline)throw new Error(""+E);Ke.push("(?:"+we(E)+")")}return new RegExp(Ke.join("|"),O?"gi":"g")}function v(se,be){var H=/(?:^|\s)nocode(?:\s|$)/,O=[],xe=0,k=[],E=0;function T(X){var Z=X.nodeType;if(Z==1){if(H.test(X.className))return;for(var K=X.firstChild;K;K=K.nextSibling)T(K);var we=X.nodeName.toLowerCase();(we==="br"||we==="li")&&(O[E]=`
`,k[E<<1]=xe++,k[E++<<1|1]=X)}else if(Z==3||Z==4){var Ke=X.nodeValue;Ke.length&&(be?Ke=Ke.replace(/\r\n?/g,`
`):Ke=Ke.replace(/[ \t\r\n]+/g," "),O[E]=Ke,k[E<<1]=xe,xe+=Ke.length,k[E++<<1|1]=X)}}return T(se),{sourceCode:O.join("").replace(/\n$/,""),spans:k}}function _(se,be,H,O,xe){if(H){var k={sourceNode:se,pre:1,langExtension:null,numberLines:null,sourceCode:H,spans:null,basePos:be,decorations:null};O(k),xe.push.apply(xe,k.decorations)}}var V=/\S/;function J(se){for(var be=void 0,H=se.firstChild;H;H=H.nextSibling){var O=H.nodeType;be=O===1?be?se:H:O===3&&V.test(H.nodeValue)?se:be}return be===se?void 0:be}function Le(se,be){var H={},O;(function(){for(var E=se.concat(be),T=[],X={},Z=0,K=E.length;Z<K;++Z){var we=E[Z],Ke=we[3];if(Ke)for(var ke=Ke.length;--ke>=0;)H[Ke.charAt(ke)]=we;var Te=we[1],Ye=""+Te;X.hasOwnProperty(Ye)||(T.push(Te),X[Ye]=null)}T.push(/[\0-\uffff]/),O=ie(T)})();var xe=be.length,k=function(E){for(var T=E.sourceCode,X=E.basePos,Z=E.sourceNode,K=[X,me],we=0,Ke=T.match(O)||[],ke={},Te=0,Ye=Ke.length;Te<Ye;++Te){var et=Ke[Te],je=ke[et],vt=void 0,bt;if(typeof je=="string")bt=!1;else{var ht=H[et.charAt(0)];if(ht)vt=et.match(ht[1]),je=ht[0];else{for(var Nt=0;Nt<xe;++Nt)if(ht=be[Nt],vt=et.match(ht[1]),vt){je=ht[0];break}vt||(je=me)}bt=je.length>=5&&je.substring(0,5)==="lang-",bt&&!(vt&&typeof vt[1]=="string")&&(bt=!1,je=te),bt||(ke[et]=je)}var _t=we;if(we+=et.length,!bt)K.push(X+_t,je);else{var w=vt[1],D=et.indexOf(w),St=D+w.length;vt[2]&&(St=et.length-vt[2].length,D=St-w.length);var ue=je.substring(5);_(Z,X+_t,et.substring(0,D),k,K),_(Z,X+_t+D,w,Pt(ue,w),K),_(Z,X+_t+St,et.substring(St),k,K)}}E.decorations=K};return k}function Oe(se){var be=[],H=[];se.tripleQuotedStrings?be.push([Y,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):se.multiLineStrings?be.push([Y,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):be.push([Y,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),se.verbatimStrings&&H.push([Y,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var O=se.hashComments;O&&(se.cStyleComments?(O>1?be.push([R,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):be.push([R,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),H.push([Y,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):be.push([R,/^#[^\r\n]*/,null,"#"])),se.cStyleComments&&(H.push([R,/^\/\/[^\r\n]*/,null]),H.push([R,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var xe=se.regexLiterals;if(xe){var k=xe>1?"":`
\r`,E=k?".":"[\\S\\s]",T="/(?=[^/*"+k+"])(?:[^/\\x5B\\x5C"+k+"]|\\x5C"+E+"|\\x5B(?:[^\\x5C\\x5D"+k+"]|\\x5C"+E+")*(?:\\x5D|$))+/";H.push(["lang-regex",RegExp("^"+de+"("+T+")")])}var X=se.types;X&&H.push([G,X]);var Z=(""+se.keywords).replace(/^ | $/g,"");Z.length&&H.push([b,new RegExp("^(?:"+Z.replace(/[\s,]+/g,"|")+")\\b"),null]),be.push([me,/^\s+/,null,` \r
\xA0`]);var K="^.[^\\s\\w.$@'\"`/\\\\]*";return se.regexLiterals&&(K+="(?!s*/)"),H.push([j,/^@[a-z_$][a-z_$@0-9]*/i,null],[G,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[me,/^[a-z_$][a-z_$@0-9]*/i,null],[j,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[me,/^\\[\s\S]?/,null],[pe,new RegExp(K),null]),Le(be,H)}var Ie=Oe({keywords:W,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function $e(se,be,H){for(var O=/(?:^|\s)nocode(?:\s|$)/,xe=/\r\n?|\n/,k=se.ownerDocument,E=k.createElement("li");se.firstChild;)E.appendChild(se.firstChild);var T=[E];function X(Te){var Ye=Te.nodeType;if(Ye==1&&!O.test(Te.className))if(Te.nodeName==="br")Z(Te),Te.parentNode&&Te.parentNode.removeChild(Te);else for(var et=Te.firstChild;et;et=et.nextSibling)X(et);else if((Ye==3||Ye==4)&&H){var je=Te.nodeValue,vt=je.match(xe);if(vt){var bt=je.substring(0,vt.index);Te.nodeValue=bt;var ht=je.substring(vt.index+vt[0].length);if(ht){var Nt=Te.parentNode;Nt.insertBefore(k.createTextNode(ht),Te.nextSibling)}Z(Te),bt||Te.parentNode.removeChild(Te)}}}function Z(Te){for(;!Te.nextSibling;)if(Te=Te.parentNode,!Te)return;function Ye(vt,bt){var ht=bt?vt.cloneNode(!1):vt,Nt=vt.parentNode;if(Nt){var _t=Ye(Nt,1),w=vt.nextSibling;_t.appendChild(ht);for(var D=w;D;D=w)w=D.nextSibling,_t.appendChild(D)}return ht}for(var et=Ye(Te.nextSibling,0),je;(je=et.parentNode)&&je.nodeType===1;)et=je;T.push(et)}for(var K=0;K<T.length;++K)X(T[K]);be===(be|0)&&T[0].setAttribute("value",be);var we=k.createElement("ol");we.className="linenums";for(var Ke=Math.max(0,be-1|0)||0,K=0,ke=T.length;K<ke;++K)E=T[K],E.className="L"+(K+Ke)%10,E.firstChild||E.appendChild(k.createTextNode("\xA0")),we.appendChild(E);se.appendChild(we)}function lt(se){var be=/\bMSIE\s(\d+)/.exec(navigator.userAgent);be=be&&+be[1]<=8;var H=/\n/g,O=se.sourceCode,xe=O.length,k=0,E=se.spans,T=E.length,X=0,Z=se.decorations,K=Z.length,we=0;Z[K]=xe;var Ke,ke;for(ke=Ke=0;ke<K;)Z[ke]!==Z[ke+2]?(Z[Ke++]=Z[ke++],Z[Ke++]=Z[ke++]):ke+=2;for(K=Ke,ke=Ke=0;ke<K;){for(var Te=Z[ke],Ye=Z[ke+1],et=ke+2;et+2<=K&&Z[et+1]===Ye;)et+=2;Z[Ke++]=Te,Z[Ke++]=Ye,ke=et}K=Z.length=Ke;var je=se.sourceNode,vt="";je&&(vt=je.style.display,je.style.display="none");try{for(var bt=null;X<T;){var ht=E[X],Nt=E[X+2]||xe,_t=Z[we+2]||xe,et=Math.min(Nt,_t),w=E[X+1],D;if(w.nodeType!==1&&(D=O.substring(k,et))){be&&(D=D.replace(H,"\r")),w.nodeValue=D;var St=w.ownerDocument,ue=St.createElement("span");ue.className=Z[we+1];var Be=w.parentNode;Be.replaceChild(ue,w),ue.appendChild(w),k<Nt&&(E[X+1]=w=St.createTextNode(O.substring(et,Nt)),Be.insertBefore(w,ue.nextSibling))}k=et,k>=Nt&&(X+=2),k>=_t&&(we+=2)}}finally{je&&(je.style.display=vt)}}var ut={};function it(se,be){for(var H=be.length;--H>=0;){var O=be[H];ut.hasOwnProperty(O)?q.console&&console.warn("cannot override language handler %s",O):ut[O]=se}}function Pt(se,be){return se&&ut.hasOwnProperty(se)||(se=/^\s*</.test(be)?"default-markup":"default-code"),ut[se]}it(Ie,["default-code"]),it(Le([],[[me,/^[^<?]+/],[ae,/^<!\w[^>]*(?:>|$)/],[R,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[pe,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),it(Le([[me,/^[\s]+/,null,` \r
`],[he,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[fe,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[M,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[pe,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),it(Le([],[[he,/^[\s\S]+/]]),["uq.val"]),it(Oe({keywords:I,hashComments:!0,cStyleComments:!0,types:ne}),["c","cc","cpp","cxx","cyc","m"]),it(Oe({keywords:"null,true,false"}),["json"]),it(Oe({keywords:S,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:ne}),["cs"]),it(Oe({keywords:z,cStyleComments:!0}),["java"]),it(Oe({keywords:U,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),it(Oe({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),it(Oe({keywords:m,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),it(Oe({keywords:ce,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),it(Oe({keywords:x,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),it(Oe({keywords:u,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),it(Le([],[[Y,/^[\s\S]+/]]),["regex"]);function Jt(se){var be=se.langExtension;try{var H=v(se.sourceNode,se.pre),O=H.sourceCode;se.sourceCode=O,se.spans=H.spans,se.basePos=0,Pt(be,O)(se),lt(se)}catch(xe){q.console&&console.log(xe&&xe.stack||xe)}}function rn(se,be,H){var O=H||!1,xe=be||null,k=document.createElement("div");k.innerHTML="<pre>"+se+"</pre>",k=k.firstChild,O&&$e(k,O,!0);var E={langExtension:xe,numberLines:O,sourceNode:k,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Jt(E),k.innerHTML}function It(se,be){var H=be||document.body,O=H.ownerDocument||document;function xe(ht){return H.getElementsByTagName(ht)}for(var k=[xe("pre"),xe("code"),xe("xmp")],E=[],T=0;T<k.length;++T)for(var X=0,Z=k[T].length;X<Z;++X)E.push(k[T][X]);k=null;var K=Date;K.now||(K={now:function(){return+new Date}});var we=0,Ke=/\blang(?:uage)?-([\w.]+)(?!\S)/,ke=/\bprettyprint\b/,Te=/\bprettyprinted\b/,Ye=/pre|xmp/i,et=/^code$/i,je=/^(?:pre|code|xmp)$/i,vt={};function bt(){for(var ht=q.PR_SHOULD_USE_CONTINUATION?K.now()+250:1/0;we<E.length&&K.now()<ht;we++){for(var Nt=E[we],_t=vt,w=Nt;w=w.previousSibling;){var D=w.nodeType,St=(D===7||D===8)&&w.nodeValue;if(St?!/^\??prettify\b/.test(St):D!==3||/\S/.test(w.nodeValue))break;if(St){_t={},St.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Ge,mn,_n){_t[mn]=_n});break}}var ue=Nt.className;if((_t!==vt||ke.test(ue))&&!Te.test(ue)){for(var Be=!1,pn=Nt.parentNode;pn;pn=pn.parentNode){var Ve=pn.tagName;if(je.test(Ve)&&pn.className&&ke.test(pn.className)){Be=!0;break}}if(!Be){Nt.className+=" prettyprinted";var nt=_t.lang;if(!nt){nt=ue.match(Ke);var Je;!nt&&(Je=J(Nt))&&et.test(Je.tagName)&&(nt=Je.className.match(Ke)),nt&&(nt=nt[1])}var Ae;if(Ye.test(Nt.tagName))Ae=1;else{var De=Nt.currentStyle,ze=O.defaultView,qe=De?De.whiteSpace:ze&&ze.getComputedStyle?ze.getComputedStyle(Nt,null).getPropertyValue("white-space"):0;Ae=qe&&qe.substring(0,3)==="pre"}var ve=_t.linenums;(ve=ve==="true"||+ve)||(ve=ue.match(/\blinenums\b(?::(\d+))?/),ve=ve?ve[1]&&ve[1].length?+ve[1]:!0:!1),ve&&$e(Nt,ve,Ae);var an={langExtension:nt,sourceNode:Nt,numberLines:ve,pre:Ae,sourceCode:null,basePos:null,spans:null,decorations:null};Jt(an)}}}we<E.length?q.setTimeout(bt,250):typeof se=="function"&&se()}bt()}var Zt=q.PR={createSimpleLexer:Le,registerLangHandler:it,sourceDecorator:Oe,PR_ATTRIB_NAME:M,PR_ATTRIB_VALUE:he,PR_COMMENT:R,PR_DECLARATION:ae,PR_KEYWORD:b,PR_LITERAL:j,PR_NOCODE:Q,PR_PLAIN:me,PR_PUNCTUATION:pe,PR_SOURCE:te,PR_STRING:Y,PR_TAG:fe,PR_TYPE:G,prettyPrintOne:y?q.prettyPrintOne=rn:Ee=rn,prettyPrint:$=y?q.prettyPrint=It:$=It},ot=q.define;typeof ot=="function"&&ot.amd&&ot("google-code-prettify",[],function(){return Zt})})()},25769:function(tn,tt,f){"use strict";var y=f(98040),L={"text/plain":"Text","text/html":"Url",default:"Text"},ee="Copy to clipboard: #{key}, Enter";function Ee(q){var C=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return q.replace(/#{\s*key\s*}/g,C)}function $(q,C){var Se,a,I,z,S,u,x=!1;C||(C={}),Se=C.debug||!1;try{I=y(),z=document.createRange(),S=document.getSelection(),u=document.createElement("span"),u.textContent=q,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",function(P){if(P.stopPropagation(),C.format)if(P.preventDefault(),typeof P.clipboardData=="undefined"){Se&&console.warn("unable to use e.clipboardData"),Se&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var ce=L[C.format]||L.default;window.clipboardData.setData(ce,q)}else P.clipboardData.clearData(),P.clipboardData.setData(C.format,q);C.onCopy&&(P.preventDefault(),C.onCopy(P.clipboardData))}),document.body.appendChild(u),z.selectNodeContents(u),S.addRange(z);var m=document.execCommand("copy");if(!m)throw new Error("copy command was unsuccessful");x=!0}catch(P){Se&&console.error("unable to copy using execCommand: ",P),Se&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(C.format||"text",q),C.onCopy&&C.onCopy(window.clipboardData),x=!0}catch(ce){Se&&console.error("unable to copy using clipboardData: ",ce),Se&&console.error("falling back to prompt"),a=Ee("message"in C?C.message:ee),window.prompt(a,q)}}finally{S&&(typeof S.removeRange=="function"?S.removeRange(z):S.removeAllRanges()),u&&document.body.removeChild(u),I()}return x}tn.exports=$},53184:function(tn,tt,f){"use strict";var y,L;function ee(Ee,$,q){var C=function(Se,a){return Ee.js_beautify(Se,a)};return C.js=Ee.js_beautify,C.css=$.css_beautify,C.html=q.html_beautify,C.js_beautify=Ee.js_beautify,C.css_beautify=$.css_beautify,C.html_beautify=q.html_beautify,C}y=[f(58553),f(87804),f(40998)],L=function(Ee,$,q){return ee(Ee,$,q)}.apply(tt,y),L!==void 0&&(tn.exports=L)},87804:function(tn,tt){var f,y;(function(){var L;(function(){"use strict";var Ee=[,,function(Se){function a(S){this.__parent=S,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var S=new a(this.__parent);return S.set_indent(this.__indent_count,this.__alignment_count),S},a.prototype.item=function(S){return S<0?this.__items[this.__items.length+S]:this.__items[S]},a.prototype.has_match=function(S){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(S))return!0;return!1},a.prototype.set_indent=function(S,u){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var S=this.__parent.current_line;return S.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),S.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),S.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,S.__items[0]===" "&&(S.__items.splice(0,1),S.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(S){this.__items.push(S);var u=S.lastIndexOf(`
`);u!==-1?this.__character_count=S.length-u:this.__character_count+=S.length},a.prototype.pop=function(){var S=null;return this.is_empty()||(S=this.__items.pop(),this.__character_count-=S.length),S},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var S="";return this.is_empty()?this.__parent.indent_empty_lines&&(S=this.__parent.get_indent_string(this.__indent_count)):(S=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),S+=this.__items.join("")),S};function I(S,u){this.__cache=[""],this.__indent_size=S.indent_size,this.__indent_string=S.indent_char,S.indent_with_tabs||(this.__indent_string=new Array(S.indent_size+1).join(S.indent_char)),u=u||"",S.indent_level>0&&(u=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}I.prototype.get_indent_size=function(S,u){var x=this.__base_string_length;return u=u||0,S<0&&(x=0),x+=S*this.__indent_size,x+=u,x},I.prototype.get_indent_string=function(S,u){var x=this.__base_string;return u=u||0,S<0&&(S=0,x=""),u+=S*this.__indent_size,this.__ensure_cache(u),x+=this.__cache[u],x},I.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},I.prototype.__add_column=function(){var S=this.__cache.length,u=0,x="";this.__indent_size&&S>=this.__indent_size&&(u=Math.floor(S/this.__indent_size),S-=u*this.__indent_size,x=new Array(u+1).join(this.__indent_string)),S&&(x+=new Array(S+1).join(" ")),this.__cache.push(x)};function z(S,u){this.__indent_cache=new I(S,u),this.raw=!1,this._end_with_newline=S.end_with_newline,this.indent_size=S.indent_size,this.wrap_line_length=S.wrap_line_length,this.indent_empty_lines=S.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}z.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},z.prototype.get_line_number=function(){return this.__lines.length},z.prototype.get_indent_string=function(S,u){return this.__indent_cache.get_indent_string(S,u)},z.prototype.get_indent_size=function(S,u){return this.__indent_cache.get_indent_size(S,u)},z.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},z.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},z.prototype.get_code=function(S){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var x=this.__lines.join(`
`);return S!==`
`&&(x=x.replace(/[\n]/g,S)),x},z.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},z.prototype.set_indent=function(S,u){return S=S||0,u=u||0,this.next_line.set_indent(S,u),this.__lines.length>1?(this.current_line.set_indent(S,u),!0):(this.current_line.set_indent(),!1)},z.prototype.add_raw_token=function(S){for(var u=0;u<S.newlines;u++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(S.whitespace_before),this.current_line.push(S.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},z.prototype.add_token=function(S){this.__add_space_before_token(),this.current_line.push(S),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},z.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(" "))},z.prototype.remove_indent=function(S){for(var u=this.__lines.length;S<u;)this.__lines[S]._remove_indent(),S++;this.current_line._remove_wrap_indent()},z.prototype.trim=function(S){for(S=S===void 0?!1:S,this.current_line.trim();S&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},z.prototype.just_added_newline=function(){return this.current_line.is_empty()},z.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},z.prototype.ensure_empty_line_above=function(S,u){for(var x=this.__lines.length-2;x>=0;){var m=this.__lines[x];if(m.is_empty())break;if(m.item(0).indexOf(S)!==0&&m.item(-1)!==u){this.__lines.splice(x+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}x--}},Se.exports.Output=z},,,,function(Se){function a(S,u){this.raw_options=I(S,u),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(S,u){var x=this.raw_options[S],m=u||[];return typeof x=="object"?x!==null&&typeof x.concat=="function"&&(m=x.concat()):typeof x=="string"&&(m=x.split(/[^a-zA-Z0-9_\/\-]+/)),m},a.prototype._get_boolean=function(S,u){var x=this.raw_options[S],m=x===void 0?!!u:!!x;return m},a.prototype._get_characters=function(S,u){var x=this.raw_options[S],m=u||"";return typeof x=="string"&&(m=x.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),m},a.prototype._get_number=function(S,u){var x=this.raw_options[S];u=parseInt(u,10),isNaN(u)&&(u=0);var m=parseInt(x,10);return isNaN(m)&&(m=u),m},a.prototype._get_selection=function(S,u,x){var m=this._get_selection_list(S,u,x);if(m.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
`+u+`
You passed in: '`+this.raw_options[S]+"'");return m[0]},a.prototype._get_selection_list=function(S,u,x){if(!u||u.length===0)throw new Error("Selection list cannot be empty.");if(x=x||[u[0]],!this._is_valid_selection(x,u))throw new Error("Invalid Default Value!");var m=this._get_array(S,x);if(!this._is_valid_selection(m,u))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
`+u+`
You passed in: '`+this.raw_options[S]+"'");return m},a.prototype._is_valid_selection=function(S,u){return S.length&&u.length&&!S.some(function(x){return u.indexOf(x)===-1})};function I(S,u){var x={};S=z(S);var m;for(m in S)m!==u&&(x[m]=S[m]);if(u&&S[u])for(m in S[u])x[m]=S[u][m];return x}function z(S){var u={},x;for(x in S){var m=x.replace(/-/g,"_");u[m]=S[x]}return u}Se.exports.Options=a,Se.exports.normalizeOpts=z,Se.exports.mergeOpts=I},,function(Se){var a=RegExp.prototype.hasOwnProperty("sticky");function I(z){this.__input=z||"",this.__input_length=this.__input.length,this.__position=0}I.prototype.restart=function(){this.__position=0},I.prototype.back=function(){this.__position>0&&(this.__position-=1)},I.prototype.hasNext=function(){return this.__position<this.__input_length},I.prototype.next=function(){var z=null;return this.hasNext()&&(z=this.__input.charAt(this.__position),this.__position+=1),z},I.prototype.peek=function(z){var S=null;return z=z||0,z+=this.__position,z>=0&&z<this.__input_length&&(S=this.__input.charAt(z)),S},I.prototype.__match=function(z,S){z.lastIndex=S;var u=z.exec(this.__input);return u&&!(a&&z.sticky)&&u.index!==S&&(u=null),u},I.prototype.test=function(z,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(z,S):!1},I.prototype.testChar=function(z,S){var u=this.peek(S);return z.lastIndex=0,u!==null&&z.test(u)},I.prototype.match=function(z){var S=this.__match(z,this.__position);return S?this.__position+=S[0].length:S=null,S},I.prototype.read=function(z,S,u){var x="",m;return z&&(m=this.match(z),m&&(x+=m[0])),S&&(m||!z)&&(x+=this.readUntil(S,u)),x},I.prototype.readUntil=function(z,S){var u="",x=this.__position;z.lastIndex=this.__position;var m=z.exec(this.__input);return m?(x=m.index,S&&(x+=m[0].length)):x=this.__input_length,u=this.__input.substring(this.__position,x),this.__position=x,u},I.prototype.readUntilAfter=function(z){return this.readUntil(z,!0)},I.prototype.get_regexp=function(z,S){var u=null,x="g";return S&&a&&(x="y"),typeof z=="string"&&z!==""?u=new RegExp(z,x):z&&(u=new RegExp(z.source,x)),u},I.prototype.get_literal_regexp=function(z){return RegExp(z.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},I.prototype.peekUntilAfter=function(z){var S=this.__position,u=this.readUntilAfter(z);return this.__position=S,u},I.prototype.lookBack=function(z){var S=this.__position-1;return S>=z.length&&this.__input.substring(S-z.length,S).toLowerCase()===z},Se.exports.InputScanner=I},,,,,function(Se){function a(I,z){I=typeof I=="string"?I:I.source,z=typeof z=="string"?z:z.source,this.__directives_block_pattern=new RegExp(I+/ beautify( \w+[:]\w+)+ /.source+z,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(I+/\sbeautify\signore:end\s/.source+z,"g")}a.prototype.get_directives=function(I){if(!I.match(this.__directives_block_pattern))return null;var z={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(I);S;)z[S[1]]=S[2],S=this.__directive_pattern.exec(I);return z},a.prototype.readIgnored=function(I){return I.readUntilAfter(this.__directives_end_ignore_pattern)},Se.exports.Directives=a},,function(Se,a,I){var z=I(16).Beautifier,S=I(17).Options;function u(x,m){var P=new z(x,m);return P.beautify()}Se.exports=u,Se.exports.defaultOptions=function(){return new S}},function(Se,a,I){var z=I(17).Options,S=I(2).Output,u=I(8).InputScanner,x=I(13).Directives,m=new x(/\/\*/,/\*\//),P=/\r\n|[\r\n]/,ce=/\r\n|[\r\n]/g,U=/\s/,W=/(?:\s|\n)+/g,ne=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,Y=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function b(R,G){this._source_text=R||"",this._options=new z(G),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}b.prototype.eatString=function(R){var G="";for(this._ch=this._input.next();this._ch;){if(G+=this._ch,this._ch==="\\")G+=this._input.next();else if(R.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return G},b.prototype.eatWhitespace=function(R){for(var G=U.test(this._input.peek()),j=0;U.test(this._input.peek());)this._ch=this._input.next(),R&&this._ch===`
`&&(j===0||j<this._options.max_preserve_newlines)&&(j++,this._output.add_new_line(!0));return G},b.prototype.foundNestedPseudoClass=function(){for(var R=0,G=1,j=this._input.peek(G);j;){if(j==="{")return!0;if(j==="(")R+=1;else if(j===")"){if(R===0)return!1;R-=1}else if(j===";"||j==="}")return!1;G++,j=this._input.peek(G)}return!1},b.prototype.print_string=function(R){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(R)},b.prototype.preserveSingleSpace=function(R){R&&(this._output.space_before_token=!0)},b.prototype.indent=function(){this._indentLevel++},b.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},b.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var R=this._source_text,G=this._options.eol;G==="auto"&&(G=`
`,R&&P.test(R||"")&&(G=R.match(P)[0])),R=R.replace(ce,`
`);var j=R.match(/^[\t ]*/)[0];this._output=new S(this._options,j),this._input=new u(R),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var pe=0,me=!1,fe=!1,ae=!1,te=!1,M=!1,he=this._ch,Q=!1,de,ie,v;de=this._input.read(W),ie=de!=="",v=he,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),he=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var _=this._input.read(ne),V=m.get_directives(_);V&&V.ignore==="start"&&(_+=m.readIgnored(this._input)),this.print_string(_),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(Y)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(ie),this.print_string(this._ch);var J=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);J.match(/[ :]$/)&&(J=this.eatString(": ").replace(/\s+$/,""),this.print_string(J),this._output.space_before_token=!0),pe===0&&J.indexOf(":")!==-1&&(fe=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(ie),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Le=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Le.match(/[ :]$/)&&(Le=this.eatString(": ").replace(/\s+$/,""),this.print_string(Le),this._output.space_before_token=!0),pe===0&&Le.indexOf(":")!==-1?(fe=!0,this.indent()):Le in this.NESTED_AT_RULE?(this._nestedLevel+=1,Le in this.CONDITIONAL_GROUP_RULE&&(ae=!0)):pe===0&&!fe&&(te=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(ie),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")fe&&(fe=!1,this.outdent()),te=!1,ae?(ae=!1,me=this._indentLevel>=this._nestedLevel):me=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&me&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(v==="("?this._output.space_before_token=!1:v!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),v==="{"&&this._output.trim(!0),fe&&(this.outdent(),fe=!1),this.print_string(this._ch),me=!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 Oe=0;Oe<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Oe++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Oe])){Q=!0;break}(me||ae)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!te&&pe===0?(this.print_string(":"),fe||(fe=!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 Ie=v==='"'||v==="'";this.preserveSingleSpace(Ie||ie),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")Q=!1,pe===0?(fe&&(this.outdent(),fe=!1),te=!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(),pe++,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(")")),pe&&(pe--,this.outdent()));else{var $e=!1;this._input.lookBack("with")&&($e=!0),this.preserveSingleSpace(ie||$e),this.print_string(this._ch),fe&&v==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),M=!0):(this.eatWhitespace(),pe++,this.indent())}else if(this._ch===")")pe&&(pe--,this.outdent()),M&&this._input.peek()===";"&&this._options.selector_separator_newline&&(M=!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&&(!fe||M)&&pe===0&&!te?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!fe&&pe===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&&U.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(ie),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),U.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=v==='"'||v==="'";this.preserveSingleSpace(lt||ie),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&Q&&this._output.add_new_line()}var ut=this._output.get_code(G);return ut},Se.exports.Beautifier=b},function(Se,a,I){var z=I(6).Options;function S(u){z.call(this,u,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var x=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||x;var m=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var P=0;P<m.length;P++)m[P]!=="expand"?this.brace_style="collapse":this.brace_style=m[P]}S.prototype=new z,Se.exports.Options=S}],$={};function q(Se){var a=$[Se];if(a!==void 0)return a.exports;var I=$[Se]={exports:{}};return Ee[Se](I,I.exports,q),I.exports}var C=q(15);L=C})();var ee=L;f=[],y=function(){return{css_beautify:ee}}.apply(tt,f),y!==void 0&&(tn.exports=y)})()},40998:function(tn,tt,f){var y,L;(function(){var ee;(function(){"use strict";var C=[,,function(z){function S(m){this.__parent=m,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=[]}S.prototype.clone_empty=function(){var m=new S(this.__parent);return m.set_indent(this.__indent_count,this.__alignment_count),m},S.prototype.item=function(m){return m<0?this.__items[this.__items.length+m]:this.__items[m]},S.prototype.has_match=function(m){for(var P=this.__items.length-1;P>=0;P--)if(this.__items[P].match(m))return!0;return!1},S.prototype.set_indent=function(m,P){this.is_empty()&&(this.__indent_count=m||0,this.__alignment_count=P||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},S.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)},S.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},S.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var m=this.__parent.current_line;return m.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),m.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),m.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,m.__items[0]===" "&&(m.__items.splice(0,1),m.__character_count-=1),!0}return!1},S.prototype.is_empty=function(){return this.__items.length===0},S.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},S.prototype.push=function(m){this.__items.push(m);var P=m.lastIndexOf(`
`);P!==-1?this.__character_count=m.length-P:this.__character_count+=m.length},S.prototype.pop=function(){var m=null;return this.is_empty()||(m=this.__items.pop(),this.__character_count-=m.length),m},S.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},S.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},S.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},S.prototype.toString=function(){var m="";return this.is_empty()?this.__parent.indent_empty_lines&&(m=this.__parent.get_indent_string(this.__indent_count)):(m=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),m+=this.__items.join("")),m};function u(m,P){this.__cache=[""],this.__indent_size=m.indent_size,this.__indent_string=m.indent_char,m.indent_with_tabs||(this.__indent_string=new Array(m.indent_size+1).join(m.indent_char)),P=P||"",m.indent_level>0&&(P=new Array(m.indent_level+1).join(this.__indent_string)),this.__base_string=P,this.__base_string_length=P.length}u.prototype.get_indent_size=function(m,P){var ce=this.__base_string_length;return P=P||0,m<0&&(ce=0),ce+=m*this.__indent_size,ce+=P,ce},u.prototype.get_indent_string=function(m,P){var ce=this.__base_string;return P=P||0,m<0&&(m=0,ce=""),P+=m*this.__indent_size,this.__ensure_cache(P),ce+=this.__cache[P],ce},u.prototype.__ensure_cache=function(m){for(;m>=this.__cache.length;)this.__add_column()},u.prototype.__add_column=function(){var m=this.__cache.length,P=0,ce="";this.__indent_size&&m>=this.__indent_size&&(P=Math.floor(m/this.__indent_size),m-=P*this.__indent_size,ce=new Array(P+1).join(this.__indent_string)),m&&(ce+=new Array(m+1).join(" ")),this.__cache.push(ce)};function x(m,P){this.__indent_cache=new u(m,P),this.raw=!1,this._end_with_newline=m.end_with_newline,this.indent_size=m.indent_size,this.wrap_line_length=m.wrap_line_length,this.indent_empty_lines=m.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new S(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}x.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},x.prototype.get_line_number=function(){return this.__lines.length},x.prototype.get_indent_string=function(m,P){return this.__indent_cache.get_indent_string(m,P)},x.prototype.get_indent_size=function(m,P){return this.__indent_cache.get_indent_size(m,P)},x.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},x.prototype.add_new_line=function(m){return this.is_empty()||!m&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},x.prototype.get_code=function(m){this.trim(!0);var P=this.current_line.pop();P&&(P[P.length-1]===`
`&&(P=P.replace(/\n+$/g,"")),this.current_line.push(P)),this._end_with_newline&&this.__add_outputline();var ce=this.__lines.join(`
`);return m!==`
`&&(ce=ce.replace(/[\n]/g,m)),ce},x.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},x.prototype.set_indent=function(m,P){return m=m||0,P=P||0,this.next_line.set_indent(m,P),this.__lines.length>1?(this.current_line.set_indent(m,P),!0):(this.current_line.set_indent(),!1)},x.prototype.add_raw_token=function(m){for(var P=0;P<m.newlines;P++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(m.whitespace_before),this.current_line.push(m.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},x.prototype.add_token=function(m){this.__add_space_before_token(),this.current_line.push(m),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},x.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(" "))},x.prototype.remove_indent=function(m){for(var P=this.__lines.length;m<P;)this.__lines[m]._remove_indent(),m++;this.current_line._remove_wrap_indent()},x.prototype.trim=function(m){for(m=m===void 0?!1:m,this.current_line.trim();m&&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},x.prototype.just_added_newline=function(){return this.current_line.is_empty()},x.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},x.prototype.ensure_empty_line_above=function(m,P){for(var ce=this.__lines.length-2;ce>=0;){var U=this.__lines[ce];if(U.is_empty())break;if(U.item(0).indexOf(m)!==0&&U.item(-1)!==P){this.__lines.splice(ce+1,0,new S(this)),this.previous_line=this.__lines[this.__lines.length-2];break}ce--}},z.exports.Output=x},function(z){function S(u,x,m,P){this.type=u,this.text=x,this.comments_before=null,this.newlines=m||0,this.whitespace_before=P||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}z.exports.Token=S},,,function(z){function S(m,P){this.raw_options=u(m,P),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"])}S.prototype._get_array=function(m,P){var ce=this.raw_options[m],U=P||[];return typeof ce=="object"?ce!==null&&typeof ce.concat=="function"&&(U=ce.concat()):typeof ce=="string"&&(U=ce.split(/[^a-zA-Z0-9_\/\-]+/)),U},S.prototype._get_boolean=function(m,P){var ce=this.raw_options[m],U=ce===void 0?!!P:!!ce;return U},S.prototype._get_characters=function(m,P){var ce=this.raw_options[m],U=P||"";return typeof ce=="string"&&(U=ce.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),U},S.prototype._get_number=function(m,P){var ce=this.raw_options[m];P=parseInt(P,10),isNaN(P)&&(P=0);var U=parseInt(ce,10);return isNaN(U)&&(U=P),U},S.prototype._get_selection=function(m,P,ce){var U=this._get_selection_list(m,P,ce);if(U.length!==1)throw new Error("Invalid Option Value: The option '"+m+`' can only be one of the following values:
`+P+`
You passed in: '`+this.raw_options[m]+"'");return U[0]},S.prototype._get_selection_list=function(m,P,ce){if(!P||P.length===0)throw new Error("Selection list cannot be empty.");if(ce=ce||[P[0]],!this._is_valid_selection(ce,P))throw new Error("Invalid Default Value!");var U=this._get_array(m,ce);if(!this._is_valid_selection(U,P))throw new Error("Invalid Option Value: The option '"+m+`' can contain only the following values:
`+P+`
You passed in: '`+this.raw_options[m]+"'");return U},S.prototype._is_valid_selection=function(m,P){return m.length&&P.length&&!m.some(function(ce){return P.indexOf(ce)===-1})};function u(m,P){var ce={};m=x(m);var U;for(U in m)U!==P&&(ce[U]=m[U]);if(P&&m[P])for(U in m[P])ce[U]=m[P][U];return ce}function x(m){var P={},ce;for(ce in m){var U=ce.replace(/-/g,"_");P[U]=m[ce]}return P}z.exports.Options=S,z.exports.normalizeOpts=x,z.exports.mergeOpts=u},,function(z){var S=RegExp.prototype.hasOwnProperty("sticky");function u(x){this.__input=x||"",this.__input_length=this.__input.length,this.__position=0}u.prototype.restart=function(){this.__position=0},u.prototype.back=function(){this.__position>0&&(this.__position-=1)},u.prototype.hasNext=function(){return this.__position<this.__input_length},u.prototype.next=function(){var x=null;return this.hasNext()&&(x=this.__input.charAt(this.__position),this.__position+=1),x},u.prototype.peek=function(x){var m=null;return x=x||0,x+=this.__position,x>=0&&x<this.__input_length&&(m=this.__input.charAt(x)),m},u.prototype.__match=function(x,m){x.lastIndex=m;var P=x.exec(this.__input);return P&&!(S&&x.sticky)&&P.index!==m&&(P=null),P},u.prototype.test=function(x,m){return m=m||0,m+=this.__position,m>=0&&m<this.__input_length?!!this.__match(x,m):!1},u.prototype.testChar=function(x,m){var P=this.peek(m);return x.lastIndex=0,P!==null&&x.test(P)},u.prototype.match=function(x){var m=this.__match(x,this.__position);return m?this.__position+=m[0].length:m=null,m},u.prototype.read=function(x,m,P){var ce="",U;return x&&(U=this.match(x),U&&(ce+=U[0])),m&&(U||!x)&&(ce+=this.readUntil(m,P)),ce},u.prototype.readUntil=function(x,m){var P="",ce=this.__position;x.lastIndex=this.__position;var U=x.exec(this.__input);return U?(ce=U.index,m&&(ce+=U[0].length)):ce=this.__input_length,P=this.__input.substring(this.__position,ce),this.__position=ce,P},u.prototype.readUntilAfter=function(x){return this.readUntil(x,!0)},u.prototype.get_regexp=function(x,m){var P=null,ce="g";return m&&S&&(ce="y"),typeof x=="string"&&x!==""?P=new RegExp(x,ce):x&&(P=new RegExp(x.source,ce)),P},u.prototype.get_literal_regexp=function(x){return RegExp(x.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},u.prototype.peekUntilAfter=function(x){var m=this.__position,P=this.readUntilAfter(x);return this.__position=m,P},u.prototype.lookBack=function(x){var m=this.__position-1;return m>=x.length&&this.__input.substring(m-x.length,m).toLowerCase()===x},z.exports.InputScanner=u},function(z,S,u){var x=u(8).InputScanner,m=u(3).Token,P=u(10).TokenStream,ce=u(11).WhitespacePattern,U={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},W=function(ne,Y){this._input=new x(ne),this._options=Y||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new ce(this._input)};W.prototype.tokenize=function(){this._input.restart(),this.__tokens=new P,this._reset();for(var ne,Y=new m(U.START,""),b=null,R=[],G=new P;Y.type!==U.EOF;){for(ne=this._get_next_token(Y,b);this._is_comment(ne);)G.add(ne),ne=this._get_next_token(Y,b);G.isEmpty()||(ne.comments_before=G,G=new P),ne.parent=b,this._is_opening(ne)?(R.push(b),b=ne):b&&this._is_closing(ne,b)&&(ne.opened=b,b.closed=ne,b=R.pop(),ne.parent=b),ne.previous=Y,Y.next=ne,this.__tokens.add(ne),Y=ne}return this.__tokens},W.prototype._is_first_token=function(){return this.__tokens.isEmpty()},W.prototype._reset=function(){},W.prototype._get_next_token=function(ne,Y){this._readWhitespace();var b=this._input.read(/.+/g);return b?this._create_token(U.RAW,b):this._create_token(U.EOF,"")},W.prototype._is_comment=function(ne){return!1},W.prototype._is_opening=function(ne){return!1},W.prototype._is_closing=function(ne,Y){return!1},W.prototype._create_token=function(ne,Y){var b=new m(ne,Y,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return b},W.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},z.exports.Tokenizer=W,z.exports.TOKEN=U},function(z){function S(u){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=u}S.prototype.restart=function(){this.__position=0},S.prototype.isEmpty=function(){return this.__tokens_length===0},S.prototype.hasNext=function(){return this.__position<this.__tokens_length},S.prototype.next=function(){var u=null;return this.hasNext()&&(u=this.__tokens[this.__position],this.__position+=1),u},S.prototype.peek=function(u){var x=null;return u=u||0,u+=this.__position,u>=0&&u<this.__tokens_length&&(x=this.__tokens[u]),x},S.prototype.add=function(u){this.__parent_token&&(u.parent=this.__parent_token),this.__tokens.push(u),this.__tokens_length+=1},z.exports.TokenStream=S},function(z,S,u){var x=u(12).Pattern;function m(P,ce){x.call(this,P,ce),ce?this._line_regexp=this._input.get_regexp(ce._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}m.prototype=new x,m.prototype.__set_whitespace_patterns=function(P,ce){P+="\\t ",ce+="\\n\\r",this._match_pattern=this._input.get_regexp("["+P+ce+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+ce+"]")},m.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var P=this._input.read(this._match_pattern);if(P===" ")this.whitespace_before_token=" ";else if(P){var ce=this.__split(this._newline_regexp,P);this.newline_count=ce.length-1,this.whitespace_before_token=ce[this.newline_count]}return P},m.prototype.matching=function(P,ce){var U=this._create();return U.__set_whitespace_patterns(P,ce),U._update(),U},m.prototype._create=function(){return new m(this._input,this)},m.prototype.__split=function(P,ce){P.lastIndex=0;for(var U=0,W=[],ne=P.exec(ce);ne;)W.push(ce.substring(U,ne.index)),U=ne.index+ne[0].length,ne=P.exec(ce);return U<ce.length?W.push(ce.substring(U,ce.length)):W.push(""),W},z.exports.WhitespacePattern=m},function(z){function S(u,x){this._input=u,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,x&&(this._starting_pattern=this._input.get_regexp(x._starting_pattern,!0),this._match_pattern=this._input.get_regexp(x._match_pattern,!0),this._until_pattern=this._input.get_regexp(x._until_pattern),this._until_after=x._until_after)}S.prototype.read=function(){var u=this._input.read(this._starting_pattern);return(!this._starting_pattern||u)&&(u+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),u},S.prototype.read_match=function(){return this._input.match(this._match_pattern)},S.prototype.until_after=function(u){var x=this._create();return x._until_after=!0,x._until_pattern=this._input.get_regexp(u),x._update(),x},S.prototype.until=function(u){var x=this._create();return x._until_after=!1,x._until_pattern=this._input.get_regexp(u),x._update(),x},S.prototype.starting_with=function(u){var x=this._create();return x._starting_pattern=this._input.get_regexp(u,!0),x._update(),x},S.prototype.matching=function(u){var x=this._create();return x._match_pattern=this._input.get_regexp(u,!0),x._update(),x},S.prototype._create=function(){return new S(this._input,this)},S.prototype._update=function(){},z.exports.Pattern=S},function(z){function S(u,x){u=typeof u=="string"?u:u.source,x=typeof x=="string"?x:x.source,this.__directives_block_pattern=new RegExp(u+/ beautify( \w+[:]\w+)+ /.source+x,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(u+/\sbeautify\signore:end\s/.source+x,"g")}S.prototype.get_directives=function(u){if(!u.match(this.__directives_block_pattern))return null;var x={};this.__directive_pattern.lastIndex=0;for(var m=this.__directive_pattern.exec(u);m;)x[m[1]]=m[2],m=this.__directive_pattern.exec(u);return x},S.prototype.readIgnored=function(u){return u.readUntilAfter(this.__directives_end_ignore_pattern)},z.exports.Directives=S},function(z,S,u){var x=u(12).Pattern,m={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function P(ce,U){x.call(this,ce,U),this.__template_pattern=null,this._disabled=Object.assign({},m),this._excluded=Object.assign({},m),U&&(this.__template_pattern=this._input.get_regexp(U.__template_pattern),this._excluded=Object.assign(this._excluded,U._excluded),this._disabled=Object.assign(this._disabled,U._disabled));var W=new x(ce);this.__patterns={handlebars_comment:W.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:W.starting_with(/{{{/).until_after(/}}}/),handlebars:W.starting_with(/{{/).until_after(/}}/),php:W.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:W.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:W.starting_with(/{%/).until_after(/%}/),django_value:W.starting_with(/{{/).until_after(/}}/),django_comment:W.starting_with(/{#/).until_after(/#}/),smarty:W.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:W.starting_with(/{\*/).until_after(/\*}/),smarty_literal:W.starting_with(/{literal}/).until_after(/{\/literal}/)}}P.prototype=new x,P.prototype._create=function(){return new P(this._input,this)},P.prototype._update=function(){this.__set_templated_pattern()},P.prototype.disable=function(ce){var U=this._create();return U._disabled[ce]=!0,U._update(),U},P.prototype.read_options=function(ce){var U=this._create();for(var W in m)U._disabled[W]=ce.templating.indexOf(W)===-1;return U._update(),U},P.prototype.exclude=function(ce){var U=this._create();return U._excluded[ce]=!0,U._update(),U},P.prototype.read=function(){var ce="";this._match_pattern?ce=this._input.read(this._starting_pattern):ce=this._input.read(this._starting_pattern,this.__template_pattern);for(var U=this._read_template();U;)this._match_pattern?U+=this._input.read(this._match_pattern):U+=this._input.readUntil(this.__template_pattern),ce+=U,U=this._read_template();return this._until_after&&(ce+=this._input.readUntilAfter(this._until_pattern)),ce},P.prototype.__set_templated_pattern=function(){var ce=[];this._disabled.php||ce.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||ce.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||ce.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||ce.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(ce.push(this.__patterns.django._starting_pattern.source),ce.push(this.__patterns.django_value._starting_pattern.source),ce.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||ce.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&ce.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+ce.join("|")+")")},P.prototype._read_template=function(){var ce="",U=this._input.peek();if(U==="<"){var W=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&W==="?"&&(ce=ce||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&W==="%"&&(ce=ce||this.__patterns.erb.read())}else U==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(ce=ce||this.__patterns.handlebars_comment.read(),ce=ce||this.__patterns.handlebars_unescaped.read(),ce=ce||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(ce=ce||this.__patterns.django_value.read()),this._excluded.django||(ce=ce||this.__patterns.django_comment.read(),ce=ce||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(ce=ce||this.__patterns.smarty_comment.read(),ce=ce||this.__patterns.smarty_literal.read(),ce=ce||this.__patterns.smarty.read()));return ce},z.exports.TemplatablePattern=P},,,,function(z,S,u){var x=u(19).Beautifier,m=u(20).Options;function P(ce,U,W,ne){var Y=new x(ce,U,W,ne);return Y.beautify()}z.exports=P,z.exports.defaultOptions=function(){return new m}},function(z,S,u){var x=u(20).Options,m=u(2).Output,P=u(21).Tokenizer,ce=u(21).TOKEN,U=/\r\n|[\r\n]/,W=/\r\n|[\r\n]/g,ne=function(te,M){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=te.max_preserve_newlines,this.preserve_newlines=te.preserve_newlines,this._output=new m(te,M)};ne.prototype.current_line_has_match=function(te){return this._output.current_line.has_match(te)},ne.prototype.set_space_before_token=function(te,M){this._output.space_before_token=te,this._output.non_breaking_space=M},ne.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},ne.prototype.add_raw_token=function(te){this._output.add_raw_token(te)},ne.prototype.print_preserved_newlines=function(te){var M=0;te.type!==ce.TEXT&&te.previous.type!==ce.TEXT&&(M=te.newlines?1:0),this.preserve_newlines&&(M=te.newlines<this.max_preserve_newlines+1?te.newlines:this.max_preserve_newlines+1);for(var he=0;he<M;he++)this.print_newline(he>0);return M!==0},ne.prototype.traverse_whitespace=function(te){return te.whitespace_before||te.newlines?(this.print_preserved_newlines(te)||(this._output.space_before_token=!0),!0):!1},ne.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},ne.prototype.print_newline=function(te){this._output.add_new_line(te)},ne.prototype.print_token=function(te){te.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(te.text))},ne.prototype.indent=function(){this.indent_level++},ne.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},ne.prototype.get_full_indent=function(te){return te=this.indent_level+(te||0),te<1?"":this._output.get_indent_string(te)};var Y=function(te){for(var M=null,he=te.next;he.type!==ce.EOF&&te.closed!==he;){if(he.type===ce.ATTRIBUTE&&he.text==="type"){he.next&&he.next.type===ce.EQUALS&&he.next.next&&he.next.next.type===ce.VALUE&&(M=he.next.next.text);break}he=he.next}return M},b=function(te,M){var he=null,Q=null;return M.closed?(te==="script"?he="text/javascript":te==="style"&&(he="text/css"),he=Y(M)||he,he.search("text/css")>-1?Q="css":he.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?Q="javascript":he.search(/(text|application|dojo)\/(x-)?(html)/)>-1?Q="html":he.search(/test\/null/)>-1&&(Q="null"),Q):null};function R(te,M){return M.indexOf(te)!==-1}function G(te,M,he){this.parent=te||null,this.tag=M?M.tag_name:"",this.indent_level=he||0,this.parser_token=M||null}function j(te){this._printer=te,this._current_frame=null}j.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},j.prototype.record_tag=function(te){var M=new G(this._current_frame,te,this._printer.indent_level);this._current_frame=M},j.prototype._try_pop_frame=function(te){var M=null;return te&&(M=te.parser_token,this._printer.indent_level=te.indent_level,this._current_frame=te.parent),M},j.prototype._get_frame=function(te,M){for(var he=this._current_frame;he&&te.indexOf(he.tag)===-1;){if(M&&M.indexOf(he.tag)!==-1){he=null;break}he=he.parent}return he},j.prototype.try_pop=function(te,M){var he=this._get_frame([te],M);return this._try_pop_frame(he)},j.prototype.indent_to_tag=function(te){var M=this._get_frame(te);M&&(this._printer.indent_level=M.indent_level)};function pe(te,M,he,Q){this._source_text=te||"",M=M||{},this._js_beautify=he,this._css_beautify=Q,this._tag_stack=null;var de=new x(M,"html");this._options=de,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"}pe.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var te=this._source_text,M=this._options.eol;this._options.eol==="auto"&&(M=`
`,te&&U.test(te)&&(M=te.match(U)[0])),te=te.replace(W,`
`);var he=te.match(/^[\t ]*/)[0],Q={text:"",type:""},de=new me(this._options),ie=new ne(this._options,he),v=new P(te,this._options).tokenize();this._tag_stack=new j(ie);for(var _=null,V=v.next();V.type!==ce.EOF;)V.type===ce.TAG_OPEN||V.type===ce.COMMENT?(_=this._handle_tag_open(ie,V,de,Q,v),de=_):V.type===ce.ATTRIBUTE||V.type===ce.EQUALS||V.type===ce.VALUE||V.type===ce.TEXT&&!de.tag_complete?_=this._handle_inside_tag(ie,V,de,Q):V.type===ce.TAG_CLOSE?_=this._handle_tag_close(ie,V,de):V.type===ce.TEXT?_=this._handle_text(ie,V,de):V.type===ce.CONTROL_FLOW_OPEN?_=this._handle_control_flow_open(ie,V):V.type===ce.CONTROL_FLOW_CLOSE?_=this._handle_control_flow_close(ie,V):ie.add_raw_token(V),Q=_,V=v.next();var J=ie._output.get_code(M);return J},pe.prototype._handle_control_flow_open=function(te,M){var he={text:M.text,type:M.type};return te.set_space_before_token(M.newlines||M.whitespace_before!=="",!0),M.newlines?te.print_preserved_newlines(M):te.set_space_before_token(M.newlines||M.whitespace_before!=="",!0),te.print_token(M),te.indent(),he},pe.prototype._handle_control_flow_close=function(te,M){var he={text:M.text,type:M.type};return te.deindent(),M.newlines?te.print_preserved_newlines(M):te.set_space_before_token(M.newlines||M.whitespace_before!=="",!0),te.print_token(M),he},pe.prototype._handle_tag_close=function(te,M,he){var Q={text:M.text,type:M.type};return te.alignment_size=0,he.tag_complete=!0,te.set_space_before_token(M.newlines||M.whitespace_before!=="",!0),he.is_unformatted?te.add_raw_token(M):(he.tag_start_char==="<"&&(te.set_space_before_token(M.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&he.has_wrapped_attrs&&te.print_newline(!1)),te.print_token(M)),he.indent_content&&!(he.is_unformatted||he.is_content_unformatted)&&(te.indent(),he.indent_content=!1),!he.is_inline_element&&!(he.is_unformatted||he.is_content_unformatted)&&te.set_wrap_point(),Q},pe.prototype._handle_inside_tag=function(te,M,he,Q){var de=he.has_wrapped_attrs,ie={text:M.text,type:M.type};return te.set_space_before_token(M.newlines||M.whitespace_before!=="",!0),he.is_unformatted?te.add_raw_token(M):he.tag_start_char==="{"&&M.type===ce.TEXT?te.print_preserved_newlines(M)?(M.newlines=0,te.add_raw_token(M)):te.print_token(M):(M.type===ce.ATTRIBUTE?te.set_space_before_token(!0):(M.type===ce.EQUALS||M.type===ce.VALUE&&M.previous.type===ce.EQUALS)&&te.set_space_before_token(!1),M.type===ce.ATTRIBUTE&&he.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(te.traverse_whitespace(M),de=de||M.newlines!==0),this._is_wrap_attributes_force&&he.attr_count>=this._options.wrap_attributes_min_attrs&&(Q.type!==ce.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(te.print_newline(!1),de=!0)),te.print_token(M),de=de||te.previous_token_wrapped(),he.has_wrapped_attrs=de),ie},pe.prototype._handle_text=function(te,M,he){var Q={text:M.text,type:"TK_CONTENT"};return he.custom_beautifier_name?this._print_custom_beatifier_text(te,M,he):he.is_unformatted||he.is_content_unformatted?te.add_raw_token(M):(te.traverse_whitespace(M),te.print_token(M)),Q},pe.prototype._print_custom_beatifier_text=function(te,M,he){var Q=this;if(M.text!==""){var de=M.text,ie,v=1,_="",V="";he.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?ie=this._js_beautify:he.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?ie=this._css_beautify:he.custom_beautifier_name==="html"&&(ie=function(lt,ut){var it=new pe(lt,ut,Q._js_beautify,Q._css_beautify);return it.beautify()}),this._options.indent_scripts==="keep"?v=0:this._options.indent_scripts==="separate"&&(v=-te.indent_level);var J=te.get_full_indent(v);if(de=de.replace(/\n[ \t]*$/,""),he.custom_beautifier_name!=="html"&&de[0]==="<"&&de.match(/^(<!--|<!\[CDATA\[)/)){var Le=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(de);if(!Le){te.add_raw_token(M);return}_=J+Le[1]+`
`,de=Le[4],Le[5]&&(V=J+Le[5]),de=de.replace(/\n[ \t]*$/,""),(Le[2]||Le[3].indexOf(`
`)!==-1)&&(Le=Le[3].match(/[ \t]+$/),Le&&(M.whitespace_before=Le[0]))}if(de)if(ie){var Oe=function(){this.eol=`
`};Oe.prototype=this._options.raw_options;var Ie=new Oe;de=ie(J+de,Ie)}else{var $e=M.whitespace_before;$e&&(de=de.replace(new RegExp(`
(`+$e+")?","g"),`
`)),de=J+de.replace(/\n/g,`
`+J)}_&&(de?de=_+de+`
`+V:de=_+V),te.print_newline(!1),de&&(M.text=de,M.whitespace_before="",M.newlines=0,te.add_raw_token(M),te.print_newline(!0))}},pe.prototype._handle_tag_open=function(te,M,he,Q,de){var ie=this._get_tag_open_token(M);if((he.is_unformatted||he.is_content_unformatted)&&!he.is_empty_element&&M.type===ce.TAG_OPEN&&!ie.is_start_tag?(te.add_raw_token(M),ie.start_tag_token=this._tag_stack.try_pop(ie.tag_name)):(te.traverse_whitespace(M),this._set_tag_position(te,M,ie,he,Q),ie.is_inline_element||te.set_wrap_point(),te.print_token(M)),ie.is_start_tag&&this._is_wrap_attributes_force){var v=0,_;do _=de.peek(v),_.type===ce.ATTRIBUTE&&(ie.attr_count+=1),v+=1;while(_.type!==ce.EOF&&_.type!==ce.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(ie.alignment_size=M.text.length+1),!ie.tag_complete&&!ie.is_unformatted&&(te.alignment_size=ie.alignment_size),ie};var me=function(te,M,he){if(this.parent=M||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="",!he)this.tag_complete=!0;else{var Q;this.tag_start_char=he.text[0],this.text=he.text,this.tag_start_char==="<"?(Q=he.text.match(/^<([^\s>]*)/),this.tag_check=Q?Q[1]:""):(Q=he.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=Q?Q[1]:"",(he.text.startsWith("{{#>")||he.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&he.next!==null?this.tag_check=he.next.text.split(" ")[0]:this.tag_check=he.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),he.type===ce.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||he.closed&&he.closed.text==="/>";var de=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(de=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!te.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(de)))}};pe.prototype._get_tag_open_token=function(te){var M=new me(this._options,this._tag_stack.get_parser_token(),te);return M.alignment_size=this._options.wrap_attributes_indent_size,M.is_end_tag=M.is_end_tag||R(M.tag_check,this._options.void_elements),M.is_empty_element=M.tag_complete||M.is_start_tag&&M.is_end_tag,M.is_unformatted=!M.tag_complete&&R(M.tag_check,this._options.unformatted),M.is_content_unformatted=!M.is_empty_element&&R(M.tag_check,this._options.content_unformatted),M.is_inline_element=R(M.tag_name,this._options.inline)||this._options.inline_custom_elements&&M.tag_name.includes("-")||M.tag_start_char==="{",M},pe.prototype._set_tag_position=function(te,M,he,Q,de){if(he.is_empty_element||(he.is_end_tag?he.start_tag_token=this._tag_stack.try_pop(he.tag_name):(this._do_optional_end_element(he)&&(he.is_inline_element||te.print_newline(!1)),this._tag_stack.record_tag(he),(he.tag_name==="script"||he.tag_name==="style")&&!(he.is_unformatted||he.is_content_unformatted)&&(he.custom_beautifier_name=b(he.tag_check,M)))),R(he.tag_check,this._options.extra_liners)&&(te.print_newline(!1),te._output.just_added_blankline()||te.print_newline(!0)),he.is_empty_element){if(he.tag_start_char==="{"&&he.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),he.indent_content=!0;var ie=te.current_line_has_match(/{{#if/);ie||te.print_newline(!1)}he.tag_name==="!--"&&de.type===ce.TAG_CLOSE&&Q.is_end_tag&&he.text.indexOf(`
`)===-1||(he.is_inline_element||he.is_unformatted||te.print_newline(!1),this._calcluate_parent_multiline(te,he))}else if(he.is_end_tag){var v=!1;v=he.start_tag_token&&he.start_tag_token.multiline_content,v=v||!he.is_inline_element&&!(Q.is_inline_element||Q.is_unformatted)&&!(de.type===ce.TAG_CLOSE&&he.start_tag_token===Q)&&de.type!=="TK_CONTENT",(he.is_content_unformatted||he.is_unformatted)&&(v=!1),v&&te.print_newline(!1)}else he.indent_content=!he.custom_beautifier_name,he.tag_start_char==="<"&&(he.tag_name==="html"?he.indent_content=this._options.indent_inner_html:he.tag_name==="head"?he.indent_content=this._options.indent_head_inner_html:he.tag_name==="body"&&(he.indent_content=this._options.indent_body_inner_html)),!(he.is_inline_element||he.is_unformatted)&&(de.type!=="TK_CONTENT"||he.is_content_unformatted)&&te.print_newline(!1),this._calcluate_parent_multiline(te,he)},pe.prototype._calcluate_parent_multiline=function(te,M){M.parent&&te._output.just_added_newline()&&!((M.is_inline_element||M.is_unformatted)&&M.parent.is_inline_element)&&(M.parent.multiline_content=!0)};var fe=["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"],ae=["a","audio","del","ins","map","noscript","video"];pe.prototype._do_optional_end_element=function(te){var M=null;if(!(te.is_empty_element||!te.is_start_tag||!te.parent)){if(te.tag_name==="body")M=M||this._tag_stack.try_pop("head");else if(te.tag_name==="li")M=M||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(te.tag_name==="dd"||te.tag_name==="dt")M=M||this._tag_stack.try_pop("dt",["dl"]),M=M||this._tag_stack.try_pop("dd",["dl"]);else if(te.parent.tag_name==="p"&&fe.indexOf(te.tag_name)!==-1){var he=te.parent.parent;(!he||ae.indexOf(he.tag_name)===-1)&&(M=M||this._tag_stack.try_pop("p"))}else te.tag_name==="rp"||te.tag_name==="rt"?(M=M||this._tag_stack.try_pop("rt",["ruby","rtc"]),M=M||this._tag_stack.try_pop("rp",["ruby","rtc"])):te.tag_name==="optgroup"?M=M||this._tag_stack.try_pop("optgroup",["select"]):te.tag_name==="option"?M=M||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):te.tag_name==="colgroup"?M=M||this._tag_stack.try_pop("caption",["table"]):te.tag_name==="thead"?(M=M||this._tag_stack.try_pop("caption",["table"]),M=M||this._tag_stack.try_pop("colgroup",["table"])):te.tag_name==="tbody"||te.tag_name==="tfoot"?(M=M||this._tag_stack.try_pop("caption",["table"]),M=M||this._tag_stack.try_pop("colgroup",["table"]),M=M||this._tag_stack.try_pop("thead",["table"]),M=M||this._tag_stack.try_pop("tbody",["table"])):te.tag_name==="tr"?(M=M||this._tag_stack.try_pop("caption",["table"]),M=M||this._tag_stack.try_pop("colgroup",["table"]),M=M||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(te.tag_name==="th"||te.tag_name==="td")&&(M=M||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),M=M||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return te.parent=this._tag_stack.get_parser_token(),M}},z.exports.Beautifier=pe},function(z,S,u){var x=u(6).Options;function m(P){x.call(this,P,"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"])}m.prototype=new x,z.exports.Options=m},function(z,S,u){var x=u(9).Tokenizer,m=u(9).TOKEN,P=u(13).Directives,ce=u(14).TemplatablePattern,U=u(12).Pattern,W={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:m.START,RAW:m.RAW,EOF:m.EOF},ne=new P(/<\!--/,/-->/),Y=function(b,R){x.call(this,b,R),this._current_tag_name="";var G=new ce(this._input).read_options(this._options),j=new U(this._input);if(this.__patterns={word:G.until(/[\n\r\t <]/),word_control_flow_close_excluded:G.until(/[\n\r\t <}]/),single_quote:G.until_after(/'/),double_quote:G.until_after(/"/),attribute:G.until(/[\n\r\t =>]|\/>/),element_name:G.until(/[\n\r\t >\/]/),angular_control_flow_start:j.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:j.starting_with(/{{!--/).until_after(/--}}/),handlebars:j.starting_with(/{{/).until_after(/}}/),handlebars_open:j.until(/[\n\r\t }]/),handlebars_raw_close:j.until(/}}/),comment:j.starting_with(/<!--/).until_after(/-->/),cdata:j.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:j.starting_with(/<!\[/).until_after(/]>/),processing:j.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var pe=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=j.matching(pe).until_after(pe)}};Y.prototype=new x,Y.prototype._is_comment=function(b){return!1},Y.prototype._is_opening=function(b){return b.type===W.TAG_OPEN||b.type===W.CONTROL_FLOW_OPEN},Y.prototype._is_closing=function(b,R){return b.type===W.TAG_CLOSE&&R&&((b.text===">"||b.text==="/>")&&R.text[0]==="<"||b.text==="}}"&&R.text[0]==="{"&&R.text[1]==="{")||b.type===W.CONTROL_FLOW_CLOSE&&b.text==="}"&&R.text.endsWith("{")},Y.prototype._reset=function(){this._current_tag_name=""},Y.prototype._get_next_token=function(b,R){var G=null;this._readWhitespace();var j=this._input.peek();return j===null?this._create_token(W.EOF,""):(G=G||this._read_open_handlebars(j,R),G=G||this._read_attribute(j,b,R),G=G||this._read_close(j,R),G=G||this._read_script_and_style(j,b),G=G||this._read_control_flows(j,R),G=G||this._read_raw_content(j,b,R),G=G||this._read_content_word(j,R),G=G||this._read_comment_or_cdata(j),G=G||this._read_processing(j),G=G||this._read_open(j,R),G=G||this._create_token(W.UNKNOWN,this._input.next()),G)},Y.prototype._read_comment_or_cdata=function(b){var R=null,G=null,j=null;if(b==="<"){var pe=this._input.peek(1);pe==="!"&&(G=this.__patterns.comment.read(),G?(j=ne.get_directives(G),j&&j.ignore==="start"&&(G+=ne.readIgnored(this._input))):G=this.__patterns.cdata.read()),G&&(R=this._create_token(W.COMMENT,G),R.directives=j)}return R},Y.prototype._read_processing=function(b){var R=null,G=null,j=null;if(b==="<"){var pe=this._input.peek(1);(pe==="!"||pe==="?")&&(G=this.__patterns.conditional_comment.read(),G=G||this.__patterns.processing.read()),G&&(R=this._create_token(W.COMMENT,G),R.directives=j)}return R},Y.prototype._read_open=function(b,R){var G=null,j=null;return(!R||R.type===W.CONTROL_FLOW_OPEN)&&b==="<"&&(G=this._input.next(),this._input.peek()==="/"&&(G+=this._input.next()),G+=this.__patterns.element_name.read(),j=this._create_token(W.TAG_OPEN,G)),j},Y.prototype._read_open_handlebars=function(b,R){var G=null,j=null;return(!R||R.type===W.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&b==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(G=this.__patterns.handlebars_comment.read(),G=G||this.__patterns.handlebars.read(),j=this._create_token(W.COMMENT,G)):(G=this.__patterns.handlebars_open.read(),j=this._create_token(W.TAG_OPEN,G))),j},Y.prototype._read_control_flows=function(b,R){var G="",j=null;if(!this._options.templating.includes("angular"))return j;if(b==="@"){if(G=this.__patterns.angular_control_flow_start.read(),G==="")return j;for(var pe=G.endsWith("(")?1:0,me=0;!(G.endsWith("{")&&pe===me);){var fe=this._input.next();if(fe===null)break;fe==="("?pe++:fe===")"&&me++,G+=fe}j=this._create_token(W.CONTROL_FLOW_OPEN,G)}else b==="}"&&R&&R.type===W.CONTROL_FLOW_OPEN&&(G=this._input.next(),j=this._create_token(W.CONTROL_FLOW_CLOSE,G));return j},Y.prototype._read_close=function(b,R){var G=null,j=null;return R&&R.type===W.TAG_OPEN&&(R.text[0]==="<"&&(b===">"||b==="/"&&this._input.peek(1)===">")?(G=this._input.next(),b==="/"&&(G+=this._input.next()),j=this._create_token(W.TAG_CLOSE,G)):R.text[0]==="{"&&b==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),j=this._create_token(W.TAG_CLOSE,"}}"))),j},Y.prototype._read_attribute=function(b,R,G){var j=null,pe="";if(G&&G.text[0]==="<")if(b==="=")j=this._create_token(W.EQUALS,this._input.next());else if(b==='"'||b==="'"){var me=this._input.next();b==='"'?me+=this.__patterns.double_quote.read():me+=this.__patterns.single_quote.read(),j=this._create_token(W.VALUE,me)}else pe=this.__patterns.attribute.read(),pe&&(R.type===W.EQUALS?j=this._create_token(W.VALUE,pe):j=this._create_token(W.ATTRIBUTE,pe));return j},Y.prototype._is_content_unformatted=function(b){return this._options.void_elements.indexOf(b)===-1&&(this._options.content_unformatted.indexOf(b)!==-1||this._options.unformatted.indexOf(b)!==-1)},Y.prototype._read_raw_content=function(b,R,G){var j="";if(G&&G.text[0]==="{")j=this.__patterns.handlebars_raw_close.read();else if(R.type===W.TAG_CLOSE&&R.opened.text[0]==="<"&&R.text[0]!=="/"){var pe=R.opened.text.substr(1).toLowerCase();this._is_content_unformatted(pe)&&(j=this._input.readUntil(new RegExp("</"+pe+"[\\n\\r\\t ]*?>","ig")))}return j?this._create_token(W.TEXT,j):null},Y.prototype._read_script_and_style=function(b,R){if(R.type===W.TAG_CLOSE&&R.opened.text[0]==="<"&&R.text[0]!=="/"){var G=R.opened.text.substr(1).toLowerCase();if(G==="script"||G==="style"){var j=this._read_comment_or_cdata(b);if(j)return j.type=W.TEXT,j;var pe=this._input.readUntil(new RegExp("</"+G+"[\\n\\r\\t ]*?>","ig"));if(pe)return this._create_token(W.TEXT,pe)}}return null},Y.prototype._read_content_word=function(b,R){var G="";return this._options.unformatted_content_delimiter&&b===this._options.unformatted_content_delimiter[0]&&(G=this.__patterns.unformatted_content_delimiter.read()),G||(G=R&&R.type===W.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),G?this._create_token(W.TEXT,G):null},z.exports.Tokenizer=Y,z.exports.TOKEN=W}],Se={};function a(z){var S=Se[z];if(S!==void 0)return S.exports;var u=Se[z]={exports:{}};return C[z](u,u.exports,a),u.exports}var I=a(18);ee=I})();var Ee=ee;if(1)y=[f,f(58553),f(87804)],L=function(C){var Se=f(58553),a=f(87804);return{html_beautify:function(I,z){return Ee(I,z,Se.js_beautify,a.css_beautify)}}}.apply(tt,y),L!==void 0&&(tn.exports=L);else var $,q})()},58553:function(tn,tt){var f,y;(function(){var L;(function(){"use strict";var Ee=[function(Se,a,I){var z=I(1).Beautifier,S=I(5).Options;function u(x,m){var P=new z(x,m);return P.beautify()}Se.exports=u,Se.exports.defaultOptions=function(){return new S}},function(Se,a,I){var z=I(2).Output,S=I(3).Token,u=I(4),x=I(5).Options,m=I(7).Tokenizer,P=I(7).line_starters,ce=I(7).positionable_operators,U=I(7).TOKEN;function W(_,V){return V.indexOf(_)!==-1}function ne(_){return _.replace(/^\s+/g,"")}function Y(_){for(var V={},J=0;J<_.length;J++)V[_[J].replace(/-/g,"_")]=_[J];return V}function b(_,V){return _&&_.type===U.RESERVED&&_.text===V}function R(_,V){return _&&_.type===U.RESERVED&&W(_.text,V)}var G=["case","return","do","if","throw","else","await","break","continue","async"],j=["before-newline","after-newline","preserve-newline"],pe=Y(j),me=[pe.before_newline,pe.preserve_newline],fe={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ae(_,V){V.multiline_frame||V.mode===fe.ForInitializer||V.mode===fe.Conditional||_.remove_indent(V.start_line_index)}function te(_){_=_.replace(u.allLineBreaks,`
`);for(var V=[],J=_.indexOf(`
`);J!==-1;)V.push(_.substring(0,J)),_=_.substring(J+1),J=_.indexOf(`
`);return _.length&&V.push(_),V}function M(_){return _===fe.ArrayLiteral}function he(_){return W(_,[fe.Expression,fe.ForInitializer,fe.Conditional])}function Q(_,V){for(var J=0;J<_.length;J++){var Le=_[J].trim();if(Le.charAt(0)!==V)return!1}return!0}function de(_,V){for(var J=0,Le=_.length,Oe;J<Le;J++)if(Oe=_[J],Oe&&Oe.indexOf(V)!==0)return!1;return!0}function ie(_,V){V=V||{},this._source_text=_||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new x(V)}ie.prototype.create_flags=function(_,V){var J=0;_&&(J=_.indentation_level,!this._output.just_added_newline()&&_.line_indent_level>J&&(J=_.line_indent_level));var Le={mode:V,parent:_,last_token:_?_.last_token:new S(U.START_BLOCK,""),last_word:_?_.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:J,alignment:0,line_indent_level:_?_.line_indent_level:J,start_line_index:this._output.get_line_number(),ternary_depth:0};return Le},ie.prototype._reset=function(_){var V=_.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new z(this._options,V),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(fe.BlockStatement);var J=new m(_,this._options);return this._tokens=J.tokenize(),_},ie.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var _,V=this._reset(this._source_text),J=this._options.eol;this._options.eol==="auto"&&(J=`
`,V&&u.lineBreak.test(V||"")&&(J=V.match(u.lineBreak)[0]));for(var Le=this._tokens.next();Le;)this.handle_token(Le),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Le,Le=this._tokens.next();return _=this._output.get_code(J),_},ie.prototype.handle_token=function(_,V){_.type===U.START_EXPR?this.handle_start_expr(_):_.type===U.END_EXPR?this.handle_end_expr(_):_.type===U.START_BLOCK?this.handle_start_block(_):_.type===U.END_BLOCK?this.handle_end_block(_):_.type===U.WORD?this.handle_word(_):_.type===U.RESERVED?this.handle_word(_):_.type===U.SEMICOLON?this.handle_semicolon(_):_.type===U.STRING?this.handle_string(_):_.type===U.EQUALS?this.handle_equals(_):_.type===U.OPERATOR?this.handle_operator(_):_.type===U.COMMA?this.handle_comma(_):_.type===U.BLOCK_COMMENT?this.handle_block_comment(_,V):_.type===U.COMMENT?this.handle_comment(_,V):_.type===U.DOT?this.handle_dot(_):_.type===U.EOF?this.handle_eof(_):_.type===U.UNKNOWN?this.handle_unknown(_,V):this.handle_unknown(_,V)},ie.prototype.handle_whitespace_and_comments=function(_,V){var J=_.newlines,Le=this._options.keep_array_indentation&&M(this._flags.mode);if(_.comments_before)for(var Oe=_.comments_before.next();Oe;)this.handle_whitespace_and_comments(Oe,V),this.handle_token(Oe,V),Oe=_.comments_before.next();if(Le)for(var Ie=0;Ie<J;Ie+=1)this.print_newline(Ie>0,V);else if(this._options.max_preserve_newlines&&J>this._options.max_preserve_newlines&&(J=this._options.max_preserve_newlines),this._options.preserve_newlines&&J>1){this.print_newline(!1,V);for(var $e=1;$e<J;$e+=1)this.print_newline(!0,V)}};var v=["async","break","continue","return","throw","yield"];ie.prototype.allow_wrap_or_preserved_newline=function(_,V){if(V=V===void 0?!1:V,!this._output.just_added_newline()){var J=this._options.preserve_newlines&&_.newlines||V,Le=W(this._flags.last_token.text,ce)||W(_.text,ce);if(Le){var Oe=W(this._flags.last_token.text,ce)&&W(this._options.operator_position,me)||W(_.text,ce);J=J&&Oe}if(J)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(R(this._flags.last_token,v))return;this._output.set_wrap_point()}}},ie.prototype.print_newline=function(_,V){if(!V&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==U.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var J=this._tokens.peek();this._flags.mode===fe.Statement&&!(this._flags.if_block&&b(J,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(_)&&(this._flags.multiline_frame=!0)},ie.prototype.print_token_line_indentation=function(_){this._output.just_added_newline()&&(this._options.keep_array_indentation&&_.newlines&&(_.text==="["||M(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(_.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},ie.prototype.print_token=function(_){if(this._output.raw){this._output.add_raw_token(_);return}if(this._options.comma_first&&_.previous&&_.previous.type===U.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var V=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(V),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(_),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(_),this._output.non_breaking_space=!0,this._output.add_token(_.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},ie.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ie.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ie.prototype.set_mode=function(_){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,_),this._flags=this.create_flags(this._previous_flags,_),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},ie.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===fe.Statement&&ae(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},ie.prototype.start_of_object_property=function(){return this._flags.parent.mode===fe.ObjectLiteral&&this._flags.mode===fe.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||R(this._flags.last_token,["get","set"]))},ie.prototype.start_of_statement=function(_){var V=!1;return V=V||R(this._flags.last_token,["var","let","const"])&&_.type===U.WORD,V=V||b(this._flags.last_token,"do"),V=V||!(this._flags.parent.mode===fe.ObjectLiteral&&this._flags.mode===fe.Statement)&&R(this._flags.last_token,v)&&!_.newlines,V=V||b(this._flags.last_token,"else")&&!(b(_,"if")&&!_.comments_before),V=V||this._flags.last_token.type===U.END_EXPR&&(this._previous_flags.mode===fe.ForInitializer||this._previous_flags.mode===fe.Conditional),V=V||this._flags.last_token.type===U.WORD&&this._flags.mode===fe.BlockStatement&&!this._flags.in_case&&!(_.text==="--"||_.text==="++")&&this._last_last_text!=="function"&&_.type!==U.WORD&&_.type!==U.RESERVED,V=V||this._flags.mode===fe.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||R(this._flags.last_token,["get","set"])),V?(this.set_mode(fe.Statement),this.indent(),this.handle_whitespace_and_comments(_,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(_,R(_,["do","for","if","while"])),!0):!1},ie.prototype.handle_start_expr=function(_){this.start_of_statement(_)||this.handle_whitespace_and_comments(_);var V=fe.Expression;if(_.text==="["){if(this._flags.last_token.type===U.WORD||this._flags.last_token.text===")"){R(this._flags.last_token,P)&&(this._output.space_before_token=!0),this.print_token(_),this.set_mode(V),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}V=fe.ArrayLiteral,M(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()),W(this._flags.last_token.type,[U.START_EXPR,U.END_EXPR,U.WORD,U.OPERATOR,U.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===U.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,V=fe.ForInitializer):W(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,V=fe.Conditional):W(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&_.whitespace_before===""?this._output.space_before_token=!1:(W(this._flags.last_token.text,P)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===U.EQUALS||this._flags.last_token.type===U.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(_);else if(this._flags.last_token.type===U.WORD){this._output.space_before_token=!1;var J=this._tokens.peek(-3);if(this._options.space_after_named_function&&J){var Le=this._tokens.peek(-4);R(J,["async","function"])||J.text==="*"&&R(Le,["async","function"])?this._output.space_before_token=!0:this._flags.mode===fe.ObjectLiteral?(J.text==="{"||J.text===","||J.text==="*"&&(Le.text==="{"||Le.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(_);(this._flags.last_token.type===U.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(W(this._last_last_text,["function","yield"])||this._flags.mode===fe.ObjectLiteral&&W(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===U.START_BLOCK?this.print_newline():(this._flags.last_token.type===U.END_EXPR||this._flags.last_token.type===U.START_EXPR||this._flags.last_token.type===U.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===U.COMMA)&&this.allow_wrap_or_preserved_newline(_,_.newlines),this.print_token(_),this.set_mode(V),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},ie.prototype.handle_end_expr=function(_){for(;this._flags.mode===fe.Statement;)this.restore_mode();this.handle_whitespace_and_comments(_),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(_,_.text==="]"&&M(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===U.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(_),this.restore_mode(),ae(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===fe.Conditional&&(this._previous_flags.mode=fe.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},ie.prototype.handle_start_block=function(_){this.handle_whitespace_and_comments(_);var V=this._tokens.peek(),J=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===U.END_EXPR?(this.set_mode(fe.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(fe.BlockStatement):J&&(W(J.text,[":",","])&&W(V.type,[U.STRING,U.WORD,U.RESERVED])||W(V.text,["get","set","..."])&&W(J.type,[U.WORD,U.RESERVED]))?W(this._last_last_text,["class","interface"])&&!W(J.text,[":",","])?this.set_mode(fe.BlockStatement):this.set_mode(fe.ObjectLiteral):this._flags.last_token.type===U.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(fe.BlockStatement):W(this._flags.last_token.type,[U.EQUALS,U.START_EXPR,U.COMMA,U.OPERATOR])||R(this._flags.last_token,["return","throw","import","default"])?this.set_mode(fe.ObjectLiteral):this.set_mode(fe.BlockStatement),this._flags.last_token&&R(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Le=!V.comments_before&&V.text==="}",Oe=Le&&this._flags.last_word==="function"&&this._flags.last_token.type===U.END_EXPR;if(this._options.brace_preserve_inline){var Ie=0,$e=null;this._flags.inline_frame=!0;do if(Ie+=1,$e=this._tokens.peek(Ie-1),$e.newlines){this._flags.inline_frame=!1;break}while($e.type!==U.EOF&&!($e.type===U.END_BLOCK&&$e.opened===_))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&_.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==U.OPERATOR&&(Oe||this._flags.last_token.type===U.EQUALS||R(this._flags.last_token,G)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(M(this._previous_flags.mode)&&(this._flags.last_token.type===U.START_EXPR||this._flags.last_token.type===U.COMMA)&&((this._flags.last_token.type===U.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===U.COMMA||this._flags.last_token.type===U.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(_),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==U.OPERATOR&&this._flags.last_token.type!==U.START_EXPR&&(W(this._flags.last_token.type,[U.START_BLOCK,U.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(_),this.indent(),!Le&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},ie.prototype.handle_end_block=function(_){for(this.handle_whitespace_and_comments(_);this._flags.mode===fe.Statement;)this.restore_mode();var V=this._flags.last_token.type===U.START_BLOCK;this._flags.inline_frame&&!V?this._output.space_before_token=!0:this._options.brace_style==="expand"?V||this.print_newline():V||(M(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(_)},ie.prototype.handle_word=function(_){if(_.type===U.RESERVED){if(W(_.text,["set","get"])&&this._flags.mode!==fe.ObjectLiteral)_.type=U.WORD;else if(_.text==="import"&&W(this._tokens.peek().text,["(","."]))_.type=U.WORD;else if(W(_.text,["as","from"])&&!this._flags.import_block)_.type=U.WORD;else if(this._flags.mode===fe.ObjectLiteral){var V=this._tokens.peek();V.text===":"&&(_.type=U.WORD)}}if(this.start_of_statement(_)?R(this._flags.last_token,["var","let","const"])&&_.type===U.WORD&&(this._flags.declaration_statement=!0):_.newlines&&!he(this._flags.mode)&&(this._flags.last_token.type!==U.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==U.EQUALS&&(this._options.preserve_newlines||!R(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(_),this.print_newline()):this.handle_whitespace_and_comments(_),this._flags.do_block&&!this._flags.do_while)if(b(_,"while")){this._output.space_before_token=!0,this.print_token(_),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&b(_,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===fe.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&R(_,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(_),this._flags.in_case=!0;return}if((this._flags.last_token.type===U.COMMA||this._flags.last_token.type===U.START_EXPR||this._flags.last_token.type===U.EQUALS||this._flags.last_token.type===U.OPERATOR)&&!this.start_of_object_property()&&!(W(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===fe.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(_),b(_,"function")){(W(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(W(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===U.OPERATOR))&&!this._output.just_added_blankline()&&!_.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===U.RESERVED||this._flags.last_token.type===U.WORD?R(this._flags.last_token,["get","set","new","export"])||R(this._flags.last_token,v)?this._output.space_before_token=!0:b(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===U.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(he(this._flags.mode)||M(this._flags.mode))||this.print_newline(),this.print_token(_),this._flags.last_word=_.text;return}var J="NONE";if(this._flags.last_token.type===U.END_BLOCK?this._previous_flags.inline_frame?J="SPACE":R(_,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&_.newlines?J="NEWLINE":(J="SPACE",this._output.space_before_token=!0):J="NEWLINE":this._flags.last_token.type===U.SEMICOLON&&this._flags.mode===fe.BlockStatement?J="NEWLINE":this._flags.last_token.type===U.SEMICOLON&&he(this._flags.mode)?J="SPACE":this._flags.last_token.type===U.STRING?J="NEWLINE":this._flags.last_token.type===U.RESERVED||this._flags.last_token.type===U.WORD||this._flags.last_token.text==="*"&&(W(this._last_last_text,["function","yield"])||this._flags.mode===fe.ObjectLiteral&&W(this._last_last_text,["{",","]))?J="SPACE":this._flags.last_token.type===U.START_BLOCK?this._flags.inline_frame?J="SPACE":J="NEWLINE":this._flags.last_token.type===U.END_EXPR&&(this._output.space_before_token=!0,J="NEWLINE"),R(_,P)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?J="SPACE":J="NEWLINE"),R(_,["else","catch","finally"]))if((!(this._flags.last_token.type===U.END_BLOCK&&this._previous_flags.mode===fe.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&_.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Le=this._output.current_line;Le.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else J==="NEWLINE"?R(this._flags.last_token,G)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&R(_,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==U.END_EXPR?(this._flags.last_token.type!==U.START_EXPR||!R(_,["var","let","const"]))&&this._flags.last_token.text!==":"&&(b(_,"if")&&b(_.previous,"else")?this._output.space_before_token=!0:this.print_newline()):R(_,P)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&M(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():J==="SPACE"&&(this._output.space_before_token=!0);_.previous&&(_.previous.type===U.WORD||_.previous.type===U.RESERVED)&&(this._output.space_before_token=!0),this.print_token(_),this._flags.last_word=_.text,_.type===U.RESERVED&&(_.text==="do"?this._flags.do_block=!0:_.text==="if"?this._flags.if_block=!0:_.text==="import"?this._flags.import_block=!0:this._flags.import_block&&b(_,"from")&&(this._flags.import_block=!1))},ie.prototype.handle_semicolon=function(_){this.start_of_statement(_)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(_);for(var V=this._tokens.peek();this._flags.mode===fe.Statement&&!(this._flags.if_block&&b(V,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(_)},ie.prototype.handle_string=function(_){_.text.startsWith("`")&&_.newlines===0&&_.whitespace_before===""&&(_.previous.text===")"||this._flags.last_token.type===U.WORD)||(this.start_of_statement(_)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(_),this._flags.last_token.type===U.RESERVED||this._flags.last_token.type===U.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===U.COMMA||this._flags.last_token.type===U.START_EXPR||this._flags.last_token.type===U.EQUALS||this._flags.last_token.type===U.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(_):_.text.startsWith("`")&&this._flags.last_token.type===U.END_EXPR&&(_.previous.text==="]"||_.previous.text===")")&&_.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(_)},ie.prototype.handle_equals=function(_){this.start_of_statement(_)||this.handle_whitespace_and_comments(_),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(_),this._output.space_before_token=!0},ie.prototype.handle_comma=function(_){this.handle_whitespace_and_comments(_,!0),this.print_token(_),this._output.space_before_token=!0,this._flags.declaration_statement?(he(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(_)):this._flags.mode===fe.ObjectLiteral||this._flags.mode===fe.Statement&&this._flags.parent.mode===fe.ObjectLiteral?(this._flags.mode===fe.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(_)},ie.prototype.handle_operator=function(_){var V=_.text==="*"&&(R(this._flags.last_token,["function","yield"])||W(this._flags.last_token.type,[U.START_BLOCK,U.COMMA,U.END_BLOCK,U.SEMICOLON])),J=W(_.text,["-","+"])&&(W(this._flags.last_token.type,[U.START_BLOCK,U.START_EXPR,U.EQUALS,U.OPERATOR])||W(this._flags.last_token.text,P)||this._flags.last_token.text===",");if(!this.start_of_statement(_)){var Le=!V;this.handle_whitespace_and_comments(_,Le)}if(_.text==="*"&&this._flags.last_token.type===U.DOT){this.print_token(_);return}if(_.text==="::"){this.print_token(_);return}if(W(_.text,["-","+"])&&this.start_of_object_property()){this.print_token(_);return}if(this._flags.last_token.type===U.OPERATOR&&W(this._options.operator_position,me)&&this.allow_wrap_or_preserved_newline(_),_.text===":"&&this._flags.in_case){this.print_token(_),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==U.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 Oe=!0,Ie=!0,$e=!1;if(_.text===":"?this._flags.ternary_depth===0?Oe=!1:(this._flags.ternary_depth-=1,$e=!0):_.text==="?"&&(this._flags.ternary_depth+=1),!J&&!V&&this._options.preserve_newlines&&W(_.text,ce)){var lt=_.text===":",ut=lt&&$e,it=lt&&!$e;switch(this._options.operator_position){case pe.before_newline:this._output.space_before_token=!it,this.print_token(_),(!lt||ut)&&this.allow_wrap_or_preserved_newline(_),this._output.space_before_token=!0;return;case pe.after_newline:this._output.space_before_token=!0,!lt||ut?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(_):this._output.space_before_token=!1,this.print_token(_),this._output.space_before_token=!0;return;case pe.preserve_newline:it||this.allow_wrap_or_preserved_newline(_),Oe=!(this._output.just_added_newline()||it),this._output.space_before_token=Oe,this.print_token(_),this._output.space_before_token=!0;return}}if(V){this.allow_wrap_or_preserved_newline(_),Oe=!1;var Pt=this._tokens.peek();Ie=Pt&&W(Pt.type,[U.WORD,U.RESERVED])}else if(_.text==="...")this.allow_wrap_or_preserved_newline(_),Oe=this._flags.last_token.type===U.START_BLOCK,Ie=!1;else if(W(_.text,["--","++","!","~"])||J){if((this._flags.last_token.type===U.COMMA||this._flags.last_token.type===U.START_EXPR)&&this.allow_wrap_or_preserved_newline(_),Oe=!1,Ie=!1,_.newlines&&(_.text==="--"||_.text==="++"||_.text==="~")){var Jt=R(this._flags.last_token,G)&&_.newlines;Jt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Jt,!0)}this._flags.last_token.text===";"&&he(this._flags.mode)&&(Oe=!0),this._flags.last_token.type===U.RESERVED?Oe=!0:this._flags.last_token.type===U.END_EXPR?Oe=!(this._flags.last_token.text==="]"&&(_.text==="--"||_.text==="++")):this._flags.last_token.type===U.OPERATOR&&(Oe=W(_.text,["--","-","++","+"])&&W(this._flags.last_token.text,["--","-","++","+"]),W(_.text,["+","-"])&&W(this._flags.last_token.text,["--","++"])&&(Ie=!0)),(this._flags.mode===fe.BlockStatement&&!this._flags.inline_frame||this._flags.mode===fe.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Oe,this.print_token(_),this._output.space_before_token=Ie},ie.prototype.handle_block_comment=function(_,V){if(this._output.raw){this._output.add_raw_token(_),_.directives&&_.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(_.directives){this.print_newline(!1,V),this.print_token(_),_.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!u.newline.test(_.text)&&!_.newlines){this._output.space_before_token=!0,this.print_token(_),this._output.space_before_token=!0;return}else this.print_block_commment(_,V)},ie.prototype.print_block_commment=function(_,V){var J=te(_.text),Le,Oe=!1,Ie=!1,$e=_.whitespace_before,lt=$e.length;if(this.print_newline(!1,V),this.print_token_line_indentation(_),this._output.add_token(J[0]),this.print_newline(!1,V),J.length>1){for(J=J.slice(1),Oe=Q(J,"*"),Ie=de(J,$e),Oe&&(this._flags.alignment=1),Le=0;Le<J.length;Le++)Oe?(this.print_token_line_indentation(_),this._output.add_token(ne(J[Le]))):Ie&&J[Le]?(this.print_token_line_indentation(_),this._output.add_token(J[Le].substring(lt))):(this._output.current_line.set_indent(-1),this._output.add_token(J[Le])),this.print_newline(!1,V);this._flags.alignment=0}},ie.prototype.handle_comment=function(_,V){_.newlines?this.print_newline(!1,V):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(_),this.print_newline(!1,V)},ie.prototype.handle_dot=function(_){this.start_of_statement(_)||this.handle_whitespace_and_comments(_,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),R(this._flags.last_token,G)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(_,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(_)},ie.prototype.handle_unknown=function(_,V){this.print_token(_),_.text[_.text.length-1]===`
`&&this.print_newline(!1,V)},ie.prototype.handle_eof=function(_){for(;this._flags.mode===fe.Statement;)this.restore_mode();this.handle_whitespace_and_comments(_)},Se.exports.Beautifier=ie},function(Se){function a(S){this.__parent=S,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var S=new a(this.__parent);return S.set_indent(this.__indent_count,this.__alignment_count),S},a.prototype.item=function(S){return S<0?this.__items[this.__items.length+S]:this.__items[S]},a.prototype.has_match=function(S){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(S))return!0;return!1},a.prototype.set_indent=function(S,u){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},a.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},a.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},a.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var S=this.__parent.current_line;return S.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),S.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),S.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,S.__items[0]===" "&&(S.__items.splice(0,1),S.__character_count-=1),!0}return!1},a.prototype.is_empty=function(){return this.__items.length===0},a.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},a.prototype.push=function(S){this.__items.push(S);var u=S.lastIndexOf(`
`);u!==-1?this.__character_count=S.length-u:this.__character_count+=S.length},a.prototype.pop=function(){var S=null;return this.is_empty()||(S=this.__items.pop(),this.__character_count-=S.length),S},a.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},a.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},a.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},a.prototype.toString=function(){var S="";return this.is_empty()?this.__parent.indent_empty_lines&&(S=this.__parent.get_indent_string(this.__indent_count)):(S=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),S+=this.__items.join("")),S};function I(S,u){this.__cache=[""],this.__indent_size=S.indent_size,this.__indent_string=S.indent_char,S.indent_with_tabs||(this.__indent_string=new Array(S.indent_size+1).join(S.indent_char)),u=u||"",S.indent_level>0&&(u=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}I.prototype.get_indent_size=function(S,u){var x=this.__base_string_length;return u=u||0,S<0&&(x=0),x+=S*this.__indent_size,x+=u,x},I.prototype.get_indent_string=function(S,u){var x=this.__base_string;return u=u||0,S<0&&(S=0,x=""),u+=S*this.__indent_size,this.__ensure_cache(u),x+=this.__cache[u],x},I.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},I.prototype.__add_column=function(){var S=this.__cache.length,u=0,x="";this.__indent_size&&S>=this.__indent_size&&(u=Math.floor(S/this.__indent_size),S-=u*this.__indent_size,x=new Array(u+1).join(this.__indent_string)),S&&(x+=new Array(S+1).join(" ")),this.__cache.push(x)};function z(S,u){this.__indent_cache=new I(S,u),this.raw=!1,this._end_with_newline=S.end_with_newline,this.indent_size=S.indent_size,this.wrap_line_length=S.wrap_line_length,this.indent_empty_lines=S.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new a(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}z.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},z.prototype.get_line_number=function(){return this.__lines.length},z.prototype.get_indent_string=function(S,u){return this.__indent_cache.get_indent_string(S,u)},z.prototype.get_indent_size=function(S,u){return this.__indent_cache.get_indent_size(S,u)},z.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},z.prototype.add_new_line=function(S){return this.is_empty()||!S&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},z.prototype.get_code=function(S){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var x=this.__lines.join(`
`);return S!==`
`&&(x=x.replace(/[\n]/g,S)),x},z.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},z.prototype.set_indent=function(S,u){return S=S||0,u=u||0,this.next_line.set_indent(S,u),this.__lines.length>1?(this.current_line.set_indent(S,u),!0):(this.current_line.set_indent(),!1)},z.prototype.add_raw_token=function(S){for(var u=0;u<S.newlines;u++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(S.whitespace_before),this.current_line.push(S.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},z.prototype.add_token=function(S){this.__add_space_before_token(),this.current_line.push(S),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},z.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(" "))},z.prototype.remove_indent=function(S){for(var u=this.__lines.length;S<u;)this.__lines[S]._remove_indent(),S++;this.current_line._remove_wrap_indent()},z.prototype.trim=function(S){for(S=S===void 0?!1:S,this.current_line.trim();S&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},z.prototype.just_added_newline=function(){return this.current_line.is_empty()},z.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},z.prototype.ensure_empty_line_above=function(S,u){for(var x=this.__lines.length-2;x>=0;){var m=this.__lines[x];if(m.is_empty())break;if(m.item(0).indexOf(S)!==0&&m.item(-1)!==u){this.__lines.splice(x+1,0,new a(this)),this.previous_line=this.__lines[this.__lines.length-2];break}x--}},Se.exports.Output=z},function(Se){function a(I,z,S,u){this.type=I,this.text=z,this.comments_before=null,this.newlines=S||0,this.whitespace_before=u||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}Se.exports.Token=a},function(Se,a){var I="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",z="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",S="\\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",u="\\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",x="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",m="(?:"+x+"|["+I+S+"])",P="(?:"+x+"|["+z+S+u+"])*";a.identifier=new RegExp(m+P,"g"),a.identifierStart=new RegExp(m),a.identifierMatch=new RegExp("(?:"+x+"|["+z+S+u+"])+");var ce=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;a.newline=/[\n\r\u2028\u2029]/,a.lineBreak=new RegExp(`\r
|`+a.newline.source),a.allLineBreaks=new RegExp(a.lineBreak.source,"g")},function(Se,a,I){var z=I(6).Options,S=["before-newline","after-newline","preserve-newline"];function u(x){z.call(this,x,"js");var m=this.raw_options.brace_style||null;m==="expand-strict"?this.raw_options.brace_style="expand":m==="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 P=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var ce=0;ce<P.length;ce++)P[ce]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=P[ce];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",S),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}u.prototype=new z,Se.exports.Options=u},function(Se){function a(S,u){this.raw_options=I(S,u),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}a.prototype._get_array=function(S,u){var x=this.raw_options[S],m=u||[];return typeof x=="object"?x!==null&&typeof x.concat=="function"&&(m=x.concat()):typeof x=="string"&&(m=x.split(/[^a-zA-Z0-9_\/\-]+/)),m},a.prototype._get_boolean=function(S,u){var x=this.raw_options[S],m=x===void 0?!!u:!!x;return m},a.prototype._get_characters=function(S,u){var x=this.raw_options[S],m=u||"";return typeof x=="string"&&(m=x.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),m},a.prototype._get_number=function(S,u){var x=this.raw_options[S];u=parseInt(u,10),isNaN(u)&&(u=0);var m=parseInt(x,10);return isNaN(m)&&(m=u),m},a.prototype._get_selection=function(S,u,x){var m=this._get_selection_list(S,u,x);if(m.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
`+u+`
You passed in: '`+this.raw_options[S]+"'");return m[0]},a.prototype._get_selection_list=function(S,u,x){if(!u||u.length===0)throw new Error("Selection list cannot be empty.");if(x=x||[u[0]],!this._is_valid_selection(x,u))throw new Error("Invalid Default Value!");var m=this._get_array(S,x);if(!this._is_valid_selection(m,u))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
`+u+`
You passed in: '`+this.raw_options[S]+"'");return m},a.prototype._is_valid_selection=function(S,u){return S.length&&u.length&&!S.some(function(x){return u.indexOf(x)===-1})};function I(S,u){var x={};S=z(S);var m;for(m in S)m!==u&&(x[m]=S[m]);if(u&&S[u])for(m in S[u])x[m]=S[u][m];return x}function z(S){var u={},x;for(x in S){var m=x.replace(/-/g,"_");u[m]=S[x]}return u}Se.exports.Options=a,Se.exports.normalizeOpts=z,Se.exports.mergeOpts=I},function(Se,a,I){var z=I(8).InputScanner,S=I(9).Tokenizer,u=I(9).TOKEN,x=I(13).Directives,m=I(4),P=I(12).Pattern,ce=I(14).TemplatablePattern;function U(Q,de){return de.indexOf(Q)!==-1}var W={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:u.START,RAW:u.RAW,EOF:u.EOF},ne=new x(/\/\*/,/\*\//),Y=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,b=/[0-9]/,R=/[^\d\.]/,G=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),j=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";j=j.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),j="\\?\\.(?!\\d) "+j,j=j.replace(/ /g,"|");var pe=new RegExp(j),me="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),fe=me.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ae=new RegExp("^(?:"+fe.join("|")+")$"),te,M=function(Q,de){S.call(this,Q,de),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var ie=new P(this._input),v=new ce(this._input).read_options(this._options);this.__patterns={template:v,identifier:v.starting_with(m.identifier).matching(m.identifierMatch),number:ie.matching(Y),punct:ie.matching(pe),comment:ie.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:ie.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:ie.matching(/<!--/),html_comment_end:ie.matching(/-->/),include:ie.starting_with(/#include/).until_after(m.lineBreak),shebang:ie.starting_with(/#!/).until_after(m.lineBreak),xml:ie.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:v.until(/['\\\n\r\u2028\u2029]/),double_quote:v.until(/["\\\n\r\u2028\u2029]/),template_text:v.until(/[`\\$]/),template_expression:v.until(/[`}\\]/)}};M.prototype=new S,M.prototype._is_comment=function(Q){return Q.type===W.COMMENT||Q.type===W.BLOCK_COMMENT||Q.type===W.UNKNOWN},M.prototype._is_opening=function(Q){return Q.type===W.START_BLOCK||Q.type===W.START_EXPR},M.prototype._is_closing=function(Q,de){return(Q.type===W.END_BLOCK||Q.type===W.END_EXPR)&&de&&(Q.text==="]"&&de.text==="["||Q.text===")"&&de.text==="("||Q.text==="}"&&de.text==="{")},M.prototype._reset=function(){te=!1},M.prototype._get_next_token=function(Q,de){var ie=null;this._readWhitespace();var v=this._input.peek();return v===null?this._create_token(W.EOF,""):(ie=ie||this._read_non_javascript(v),ie=ie||this._read_string(v),ie=ie||this._read_pair(v,this._input.peek(1)),ie=ie||this._read_word(Q),ie=ie||this._read_singles(v),ie=ie||this._read_comment(v),ie=ie||this._read_regexp(v,Q),ie=ie||this._read_xml(v,Q),ie=ie||this._read_punctuation(),ie=ie||this._create_token(W.UNKNOWN,this._input.next()),ie)},M.prototype._read_word=function(Q){var de;if(de=this.__patterns.identifier.read(),de!=="")return de=de.replace(m.allLineBreaks,`
`),!(Q.type===W.DOT||Q.type===W.RESERVED&&(Q.text==="set"||Q.text==="get"))&&ae.test(de)?(de==="in"||de==="of")&&(Q.type===W.WORD||Q.type===W.STRING)?this._create_token(W.OPERATOR,de):this._create_token(W.RESERVED,de):this._create_token(W.WORD,de);if(de=this.__patterns.number.read(),de!=="")return this._create_token(W.WORD,de)},M.prototype._read_singles=function(Q){var de=null;return Q==="("||Q==="["?de=this._create_token(W.START_EXPR,Q):Q===")"||Q==="]"?de=this._create_token(W.END_EXPR,Q):Q==="{"?de=this._create_token(W.START_BLOCK,Q):Q==="}"?de=this._create_token(W.END_BLOCK,Q):Q===";"?de=this._create_token(W.SEMICOLON,Q):Q==="."&&R.test(this._input.peek(1))?de=this._create_token(W.DOT,Q):Q===","&&(de=this._create_token(W.COMMA,Q)),de&&this._input.next(),de},M.prototype._read_pair=function(Q,de){var ie=null;return Q==="#"&&de==="{"&&(ie=this._create_token(W.START_BLOCK,Q+de)),ie&&(this._input.next(),this._input.next()),ie},M.prototype._read_punctuation=function(){var Q=this.__patterns.punct.read();if(Q!=="")return Q==="="?this._create_token(W.EQUALS,Q):Q==="?."?this._create_token(W.DOT,Q):this._create_token(W.OPERATOR,Q)},M.prototype._read_non_javascript=function(Q){var de="";if(Q==="#"){if(this._is_first_token()&&(de=this.__patterns.shebang.read(),de))return this._create_token(W.UNKNOWN,de.trim()+`
`);if(de=this.__patterns.include.read(),de)return this._create_token(W.UNKNOWN,de.trim()+`
`);Q=this._input.next();var ie="#";if(this._input.hasNext()&&this._input.testChar(b)){do Q=this._input.next(),ie+=Q;while(this._input.hasNext()&&Q!=="#"&&Q!=="=");return Q==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(ie+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(ie+="{}",this._input.next(),this._input.next())),this._create_token(W.WORD,ie)}this._input.back()}else if(Q==="<"&&this._is_first_token()){if(de=this.__patterns.html_comment_start.read(),de){for(;this._input.hasNext()&&!this._input.testChar(m.newline);)de+=this._input.next();return te=!0,this._create_token(W.COMMENT,de)}}else if(te&&Q==="-"&&(de=this.__patterns.html_comment_end.read(),de))return te=!1,this._create_token(W.COMMENT,de);return null},M.prototype._read_comment=function(Q){var de=null;if(Q==="/"){var ie="";if(this._input.peek(1)==="*"){ie=this.__patterns.block_comment.read();var v=ne.get_directives(ie);v&&v.ignore==="start"&&(ie+=ne.readIgnored(this._input)),ie=ie.replace(m.allLineBreaks,`
`),de=this._create_token(W.BLOCK_COMMENT,ie),de.directives=v}else this._input.peek(1)==="/"&&(ie=this.__patterns.comment.read(),de=this._create_token(W.COMMENT,ie))}return de},M.prototype._read_string=function(Q){if(Q==="`"||Q==="'"||Q==='"'){var de=this._input.next();return this.has_char_escapes=!1,Q==="`"?de+=this._read_string_recursive("`",!0,"${"):de+=this._read_string_recursive(Q),this.has_char_escapes&&this._options.unescape_strings&&(de=he(de)),this._input.peek()===Q&&(de+=this._input.next()),de=de.replace(m.allLineBreaks,`
`),this._create_token(W.STRING,de)}return null},M.prototype._allow_regexp_or_xml=function(Q){return Q.type===W.RESERVED&&U(Q.text,["return","case","throw","else","do","typeof","yield"])||Q.type===W.END_EXPR&&Q.text===")"&&Q.opened.previous.type===W.RESERVED&&U(Q.opened.previous.text,["if","while","for"])||U(Q.type,[W.COMMENT,W.START_EXPR,W.START_BLOCK,W.START,W.END_BLOCK,W.OPERATOR,W.EQUALS,W.EOF,W.SEMICOLON,W.COMMA])},M.prototype._read_regexp=function(Q,de){if(Q==="/"&&this._allow_regexp_or_xml(de)){for(var ie=this._input.next(),v=!1,_=!1;this._input.hasNext()&&(v||_||this._input.peek()!==Q)&&!this._input.testChar(m.newline);)ie+=this._input.peek(),v?v=!1:(v=this._input.peek()==="\\",this._input.peek()==="["?_=!0:this._input.peek()==="]"&&(_=!1)),this._input.next();return this._input.peek()===Q&&(ie+=this._input.next(),ie+=this._input.read(m.identifier)),this._create_token(W.STRING,ie)}return null},M.prototype._read_xml=function(Q,de){if(this._options.e4x&&Q==="<"&&this._allow_regexp_or_xml(de)){var ie="",v=this.__patterns.xml.read_match();if(v){for(var _=v[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),V=_.indexOf("{")===0,J=0;v;){var Le=!!v[1],Oe=v[2],Ie=!!v[v.length-1]||Oe.slice(0,8)==="![CDATA[";if(!Ie&&(Oe===_||V&&Oe.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Le?--J:++J),ie+=v[0],J<=0)break;v=this.__patterns.xml.read_match()}return v||(ie+=this._input.match(/[\s\S]*/g)[0]),ie=ie.replace(m.allLineBreaks,`
`),this._create_token(W.STRING,ie)}}return null};function he(Q){for(var de="",ie=0,v=new z(Q),_=null;v.hasNext();)if(_=v.match(/([\s]|[^\\]|\\\\)+/g),_&&(de+=_[0]),v.peek()==="\\"){if(v.next(),v.peek()==="x")_=v.match(/x([0-9A-Fa-f]{2})/g);else if(v.peek()==="u")_=v.match(/u([0-9A-Fa-f]{4})/g),_||(_=v.match(/u\{([0-9A-Fa-f]+)\}/g));else{de+="\\",v.hasNext()&&(de+=v.next());continue}if(!_||(ie=parseInt(_[1],16),ie>126&&ie<=255&&_[0].indexOf("x")===0))return Q;ie>=0&&ie<32||ie>1114111?de+="\\"+_[0]:ie===34||ie===39||ie===92?de+="\\"+String.fromCharCode(ie):de+=String.fromCharCode(ie)}return de}M.prototype._read_string_recursive=function(Q,de,ie){var v,_;Q==="'"?_=this.__patterns.single_quote:Q==='"'?_=this.__patterns.double_quote:Q==="`"?_=this.__patterns.template_text:Q==="}"&&(_=this.__patterns.template_expression);for(var V=_.read(),J="";this._input.hasNext();){if(J=this._input.next(),J===Q||!de&&m.newline.test(J)){this._input.back();break}else J==="\\"&&this._input.hasNext()?(v=this._input.peek(),v==="x"||v==="u"?this.has_char_escapes=!0:v==="\r"&&this._input.peek(1)===`
`&&this._input.next(),J+=this._input.next()):ie&&(ie==="${"&&J==="$"&&this._input.peek()==="{"&&(J+=this._input.next()),ie===J&&(Q==="`"?J+=this._read_string_recursive("}",de,"`"):J+=this._read_string_recursive("`",de,"${"),this._input.hasNext()&&(J+=this._input.next())));J+=_.read(),V+=J}return V},Se.exports.Tokenizer=M,Se.exports.TOKEN=W,Se.exports.positionable_operators=G.slice(),Se.exports.line_starters=me.slice()},function(Se){var a=RegExp.prototype.hasOwnProperty("sticky");function I(z){this.__input=z||"",this.__input_length=this.__input.length,this.__position=0}I.prototype.restart=function(){this.__position=0},I.prototype.back=function(){this.__position>0&&(this.__position-=1)},I.prototype.hasNext=function(){return this.__position<this.__input_length},I.prototype.next=function(){var z=null;return this.hasNext()&&(z=this.__input.charAt(this.__position),this.__position+=1),z},I.prototype.peek=function(z){var S=null;return z=z||0,z+=this.__position,z>=0&&z<this.__input_length&&(S=this.__input.charAt(z)),S},I.prototype.__match=function(z,S){z.lastIndex=S;var u=z.exec(this.__input);return u&&!(a&&z.sticky)&&u.index!==S&&(u=null),u},I.prototype.test=function(z,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(z,S):!1},I.prototype.testChar=function(z,S){var u=this.peek(S);return z.lastIndex=0,u!==null&&z.test(u)},I.prototype.match=function(z){var S=this.__match(z,this.__position);return S?this.__position+=S[0].length:S=null,S},I.prototype.read=function(z,S,u){var x="",m;return z&&(m=this.match(z),m&&(x+=m[0])),S&&(m||!z)&&(x+=this.readUntil(S,u)),x},I.prototype.readUntil=function(z,S){var u="",x=this.__position;z.lastIndex=this.__position;var m=z.exec(this.__input);return m?(x=m.index,S&&(x+=m[0].length)):x=this.__input_length,u=this.__input.substring(this.__position,x),this.__position=x,u},I.prototype.readUntilAfter=function(z){return this.readUntil(z,!0)},I.prototype.get_regexp=function(z,S){var u=null,x="g";return S&&a&&(x="y"),typeof z=="string"&&z!==""?u=new RegExp(z,x):z&&(u=new RegExp(z.source,x)),u},I.prototype.get_literal_regexp=function(z){return RegExp(z.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},I.prototype.peekUntilAfter=function(z){var S=this.__position,u=this.readUntilAfter(z);return this.__position=S,u},I.prototype.lookBack=function(z){var S=this.__position-1;return S>=z.length&&this.__input.substring(S-z.length,S).toLowerCase()===z},Se.exports.InputScanner=I},function(Se,a,I){var z=I(8).InputScanner,S=I(3).Token,u=I(10).TokenStream,x=I(11).WhitespacePattern,m={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},P=function(ce,U){this._input=new z(ce),this._options=U||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new x(this._input)};P.prototype.tokenize=function(){this._input.restart(),this.__tokens=new u,this._reset();for(var ce,U=new S(m.START,""),W=null,ne=[],Y=new u;U.type!==m.EOF;){for(ce=this._get_next_token(U,W);this._is_comment(ce);)Y.add(ce),ce=this._get_next_token(U,W);Y.isEmpty()||(ce.comments_before=Y,Y=new u),ce.parent=W,this._is_opening(ce)?(ne.push(W),W=ce):W&&this._is_closing(ce,W)&&(ce.opened=W,W.closed=ce,W=ne.pop(),ce.parent=W),ce.previous=U,U.next=ce,this.__tokens.add(ce),U=ce}return this.__tokens},P.prototype._is_first_token=function(){return this.__tokens.isEmpty()},P.prototype._reset=function(){},P.prototype._get_next_token=function(ce,U){this._readWhitespace();var W=this._input.read(/.+/g);return W?this._create_token(m.RAW,W):this._create_token(m.EOF,"")},P.prototype._is_comment=function(ce){return!1},P.prototype._is_opening=function(ce){return!1},P.prototype._is_closing=function(ce,U){return!1},P.prototype._create_token=function(ce,U){var W=new S(ce,U,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return W},P.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},Se.exports.Tokenizer=P,Se.exports.TOKEN=m},function(Se){function a(I){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=I}a.prototype.restart=function(){this.__position=0},a.prototype.isEmpty=function(){return this.__tokens_length===0},a.prototype.hasNext=function(){return this.__position<this.__tokens_length},a.prototype.next=function(){var I=null;return this.hasNext()&&(I=this.__tokens[this.__position],this.__position+=1),I},a.prototype.peek=function(I){var z=null;return I=I||0,I+=this.__position,I>=0&&I<this.__tokens_length&&(z=this.__tokens[I]),z},a.prototype.add=function(I){this.__parent_token&&(I.parent=this.__parent_token),this.__tokens.push(I),this.__tokens_length+=1},Se.exports.TokenStream=a},function(Se,a,I){var z=I(12).Pattern;function S(u,x){z.call(this,u,x),x?this._line_regexp=this._input.get_regexp(x._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}S.prototype=new z,S.prototype.__set_whitespace_patterns=function(u,x){u+="\\t ",x+="\\n\\r",this._match_pattern=this._input.get_regexp("["+u+x+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+x+"]")},S.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var u=this._input.read(this._match_pattern);if(u===" ")this.whitespace_before_token=" ";else if(u){var x=this.__split(this._newline_regexp,u);this.newline_count=x.length-1,this.whitespace_before_token=x[this.newline_count]}return u},S.prototype.matching=function(u,x){var m=this._create();return m.__set_whitespace_patterns(u,x),m._update(),m},S.prototype._create=function(){return new S(this._input,this)},S.prototype.__split=function(u,x){u.lastIndex=0;for(var m=0,P=[],ce=u.exec(x);ce;)P.push(x.substring(m,ce.index)),m=ce.index+ce[0].length,ce=u.exec(x);return m<x.length?P.push(x.substring(m,x.length)):P.push(""),P},Se.exports.WhitespacePattern=S},function(Se){function a(I,z){this._input=I,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,z&&(this._starting_pattern=this._input.get_regexp(z._starting_pattern,!0),this._match_pattern=this._input.get_regexp(z._match_pattern,!0),this._until_pattern=this._input.get_regexp(z._until_pattern),this._until_after=z._until_after)}a.prototype.read=function(){var I=this._input.read(this._starting_pattern);return(!this._starting_pattern||I)&&(I+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),I},a.prototype.read_match=function(){return this._input.match(this._match_pattern)},a.prototype.until_after=function(I){var z=this._create();return z._until_after=!0,z._until_pattern=this._input.get_regexp(I),z._update(),z},a.prototype.until=function(I){var z=this._create();return z._until_after=!1,z._until_pattern=this._input.get_regexp(I),z._update(),z},a.prototype.starting_with=function(I){var z=this._create();return z._starting_pattern=this._input.get_regexp(I,!0),z._update(),z},a.prototype.matching=function(I){var z=this._create();return z._match_pattern=this._input.get_regexp(I,!0),z._update(),z},a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){},Se.exports.Pattern=a},function(Se){function a(I,z){I=typeof I=="string"?I:I.source,z=typeof z=="string"?z:z.source,this.__directives_block_pattern=new RegExp(I+/ beautify( \w+[:]\w+)+ /.source+z,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(I+/\sbeautify\signore:end\s/.source+z,"g")}a.prototype.get_directives=function(I){if(!I.match(this.__directives_block_pattern))return null;var z={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(I);S;)z[S[1]]=S[2],S=this.__directive_pattern.exec(I);return z},a.prototype.readIgnored=function(I){return I.readUntilAfter(this.__directives_end_ignore_pattern)},Se.exports.Directives=a},function(Se,a,I){var z=I(12).Pattern,S={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function u(x,m){z.call(this,x,m),this.__template_pattern=null,this._disabled=Object.assign({},S),this._excluded=Object.assign({},S),m&&(this.__template_pattern=this._input.get_regexp(m.__template_pattern),this._excluded=Object.assign(this._excluded,m._excluded),this._disabled=Object.assign(this._disabled,m._disabled));var P=new z(x);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}/)}}u.prototype=new z,u.prototype._create=function(){return new u(this._input,this)},u.prototype._update=function(){this.__set_templated_pattern()},u.prototype.disable=function(x){var m=this._create();return m._disabled[x]=!0,m._update(),m},u.prototype.read_options=function(x){var m=this._create();for(var P in S)m._disabled[P]=x.templating.indexOf(P)===-1;return m._update(),m},u.prototype.exclude=function(x){var m=this._create();return m._excluded[x]=!0,m._update(),m},u.prototype.read=function(){var x="";this._match_pattern?x=this._input.read(this._starting_pattern):x=this._input.read(this._starting_pattern,this.__template_pattern);for(var m=this._read_template();m;)this._match_pattern?m+=this._input.read(this._match_pattern):m+=this._input.readUntil(this.__template_pattern),x+=m,m=this._read_template();return this._until_after&&(x+=this._input.readUntilAfter(this._until_pattern)),x},u.prototype.__set_templated_pattern=function(){var x=[];this._disabled.php||x.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||x.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||x.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||x.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(x.push(this.__patterns.django._starting_pattern.source),x.push(this.__patterns.django_value._starting_pattern.source),x.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||x.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&x.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+x.join("|")+")")},u.prototype._read_template=function(){var x="",m=this._input.peek();if(m==="<"){var P=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&P==="?"&&(x=x||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&P==="%"&&(x=x||this.__patterns.erb.read())}else m==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(x=x||this.__patterns.handlebars_comment.read(),x=x||this.__patterns.handlebars_unescaped.read(),x=x||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(x=x||this.__patterns.django_value.read()),this._excluded.django||(x=x||this.__patterns.django_comment.read(),x=x||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(x=x||this.__patterns.smarty_comment.read(),x=x||this.__patterns.smarty_literal.read(),x=x||this.__patterns.smarty.read()));return x},Se.exports.TemplatablePattern=u}],$={};function q(Se){var a=$[Se];if(a!==void 0)return a.exports;var I=$[Se]={exports:{}};return Ee[Se](I,I.exports,q),I.exports}var C=q(0);L=C})();var ee=L;f=[],y=function(){return{js_beautify:ee}}.apply(tt,f),y!==void 0&&(tn.exports=y)})()},15342:function(tn){(function(f,y){tn.exports=y()})(typeof self!="undefined"?self:this,function(){return function(tt){var f={};function y(L){if(f[L])return f[L].exports;var ee=f[L]={i:L,l:!1,exports:{}};return tt[L].call(ee.exports,ee,ee.exports,y),ee.l=!0,ee.exports}return y.m=tt,y.c=f,y.d=function(L,ee,Ee){y.o(L,ee)||Object.defineProperty(L,ee,{enumerable:!0,get:Ee})},y.r=function(L){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(L,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(L,"__esModule",{value:!0})},y.t=function(L,ee){if(ee&1&&(L=y(L)),ee&8||ee&4&&typeof L=="object"&&L&&L.__esModule)return L;var Ee=Object.create(null);if(y.r(Ee),Object.defineProperty(Ee,"default",{enumerable:!0,value:L}),ee&2&&typeof L!="string")for(var $ in L)y.d(Ee,$,function(q){return L[q]}.bind(null,$));return Ee},y.n=function(L){var ee=L&&L.__esModule?function(){return L.default}:function(){return L};return y.d(ee,"a",ee),ee},y.o=function(L,ee){return Object.prototype.hasOwnProperty.call(L,ee)},y.p="",y(y.s=1)}([function(tt,f,y){},function(tt,f,y){"use strict";y.r(f);var L=y(0),ee=function(){function re(l,d,h){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=l,this.start=d,this.end=h}return re.range=function(d,h){return h?!d||!d.loc||!h.loc||d.loc.lexer!==h.loc.lexer?null:new re(d.loc.lexer,d.loc.start,h.loc.end):d&&d.loc},re}(),Ee=function(){function re(d,h){this.text=void 0,this.loc=void 0,this.text=d,this.loc=h}var l=re.prototype;return l.range=function(h,g){return new re(g,ee.range(this,h))},re}(),$=function re(l,d){this.position=void 0;var h="KaTeX parse error: "+l,g,N=d&&d.loc;if(N&&N.start<=N.end){var le=N.lexer.input;g=N.start;var Pe=N.end;g===le.length?h+=" at end of input: ":h+=" at position "+(g+1)+": ";var Me=le.slice(g,Pe).replace(/[^]/g,"$&\u0332"),Xe;g>15?Xe="\u2026"+le.slice(g-15,g):Xe=le.slice(0,g);var gt;Pe+15<le.length?gt=le.slice(Pe,Pe+15)+"\u2026":gt=le.slice(Pe),h+=Xe+Me+gt}var Tt=new Error(h);return Tt.name="ParseError",Tt.__proto__=re.prototype,Tt.position=g,Tt};$.prototype.__proto__=Error.prototype;var q=$,C=function(l,d){return l.indexOf(d)!==-1},Se=function(l,d){return l===void 0?d:l},a=/([A-Z])/g,I=function(l){return l.replace(a,"-$1").toLowerCase()},z={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},S=/[&><"']/g;function u(re){return String(re).replace(S,function(l){return z[l]})}var x=function re(l){return l.type==="ordgroup"||l.type==="color"?l.body.length===1?re(l.body[0]):l:l.type==="font"?re(l.body):l},m=function(l){var d=x(l);return d.type==="mathord"||d.type==="textord"||d.type==="atom"},P=function(l){if(!l)throw new Error("Expected non-null, but got "+String(l));return l},ce=function(l){var d=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(l);return d!=null?d[1]:"_relative"},U={contains:C,deflt:Se,escape:u,hyphenate:I,getBaseElem:x,isCharacterBox:m,protocolFromUrl:ce},W=function(){function re(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=U.deflt(d.displayMode,!1),this.output=U.deflt(d.output,"htmlAndMathml"),this.leqno=U.deflt(d.leqno,!1),this.fleqn=U.deflt(d.fleqn,!1),this.throwOnError=U.deflt(d.throwOnError,!0),this.errorColor=U.deflt(d.errorColor,"#cc0000"),this.macros=d.macros||{},this.minRuleThickness=Math.max(0,U.deflt(d.minRuleThickness,0)),this.colorIsTextColor=U.deflt(d.colorIsTextColor,!1),this.strict=U.deflt(d.strict,"warn"),this.trust=U.deflt(d.trust,!1),this.maxSize=Math.max(0,U.deflt(d.maxSize,1/0)),this.maxExpand=Math.max(0,U.deflt(d.maxExpand,1e3))}var l=re.prototype;return l.reportNonstrict=function(h,g,N){var le=this.strict;if(typeof le=="function"&&(le=le(h,g,N)),!(!le||le==="ignore")){if(le===!0||le==="error")throw new q("LaTeX-incompatible input and strict mode is set to 'error': "+(g+" ["+h+"]"),N);le==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(g+" ["+h+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+le+"': "+g+" ["+h+"]"))}},l.useStrictBehavior=function(h,g,N){var le=this.strict;if(typeof le=="function")try{le=le(h,g,N)}catch(Pe){le="error"}return!le||le==="ignore"?!1:le===!0||le==="error"?!0:le==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(g+" ["+h+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+le+"': "+g+" ["+h+"]")),!1)},l.isTrusted=function(h){h.url&&!h.protocol&&(h.protocol=U.protocolFromUrl(h.url));var g=typeof this.trust=="function"?this.trust(h):this.trust;return!!g},re}(),ne=function(){function re(d,h,g){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=d,this.size=h,this.cramped=g}var l=re.prototype;return l.sup=function(){return ae[te[this.id]]},l.sub=function(){return ae[M[this.id]]},l.fracNum=function(){return ae[he[this.id]]},l.fracDen=function(){return ae[Q[this.id]]},l.cramp=function(){return ae[de[this.id]]},l.text=function(){return ae[ie[this.id]]},l.isTight=function(){return this.size>=2},re}(),Y=0,b=1,R=2,G=3,j=4,pe=5,me=6,fe=7,ae=[new ne(Y,0,!1),new ne(b,0,!0),new ne(R,1,!1),new ne(G,1,!0),new ne(j,2,!1),new ne(pe,2,!0),new ne(me,3,!1),new ne(fe,3,!0)],te=[j,pe,j,pe,me,fe,me,fe],M=[pe,pe,pe,pe,fe,fe,fe,fe],he=[R,G,j,pe,me,fe,me,fe],Q=[G,G,pe,pe,fe,fe,fe,fe],de=[b,b,G,G,pe,pe,fe,fe],ie=[Y,b,R,G,R,G,R,G],v={DISPLAY:ae[Y],TEXT:ae[R],SCRIPT:ae[j],SCRIPTSCRIPT:ae[me]},_=[{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 V(re){for(var l=0;l<_.length;l++)for(var d=_[l],h=0;h<d.blocks.length;h++){var g=d.blocks[h];if(re>=g[0]&&re<=g[1])return d.name}return null}var J=[];_.forEach(function(re){return re.blocks.forEach(function(l){return J.push.apply(J,l)})});function Le(re){for(var l=0;l<J.length;l+=2)if(re>=J[l]&&re<=J[l+1])return!0;return!1}var Oe=80,Ie=function(l,d){return"M95,"+(622+l+d)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+l/2.075+" -"+l+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+l)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+l)+" "+d+"h400000v"+(40+l)+"h-400000z"},$e=function(l,d){return"M263,"+(601+l+d)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+l/2.084+" -"+l+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+l)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+l)+" "+d+"h400000v"+(40+l)+"h-400000z"},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"},ut=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"},it=function(l,d){return"M473,"+(2713+l+d)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+l/5.298+" -"+l+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+l)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+l)+" "+d+"h400000v"+(40+l)+"H1017.7z"},Pt=function(l,d,h){var g=h-54-d-l;return"M702 "+(l+d)+"H400000"+(40+l)+`
H742v`+g+`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"},Jt=function(l,d,h){d=1e3*d;var g="";switch(l){case"sqrtMain":g=Ie(d,Oe);break;case"sqrtSize1":g=$e(d,Oe);break;case"sqrtSize2":g=lt(d,Oe);break;case"sqrtSize3":g=ut(d,Oe);break;case"sqrtSize4":g=it(d,Oe);break;case"sqrtTall":g=Pt(d,Oe,h)}return g},rn={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`},It=function(){function re(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=re.prototype;return l.hasClass=function(h){return U.contains(this.classes,h)},l.toNode=function(){for(var h=document.createDocumentFragment(),g=0;g<this.children.length;g++)h.appendChild(this.children[g].toNode());return h},l.toMarkup=function(){for(var h="",g=0;g<this.children.length;g++)h+=this.children[g].toMarkup();return h},l.toText=function(){var h=function(N){return N.toText()};return this.children.map(h).join("")},re}(),Zt=function(l){return l.filter(function(d){return d}).join(" ")},ot=function(l,d,h){if(this.classes=l||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=h||{},d){d.style.isTight()&&this.classes.push("mtight");var g=d.getColor();g&&(this.style.color=g)}},se=function(l){var d=document.createElement(l);d.className=Zt(this.classes);for(var h in this.style)this.style.hasOwnProperty(h)&&(d.style[h]=this.style[h]);for(var g in this.attributes)this.attributes.hasOwnProperty(g)&&d.setAttribute(g,this.attributes[g]);for(var N=0;N<this.children.length;N++)d.appendChild(this.children[N].toNode());return d},be=function(l){var d="<"+l;this.classes.length&&(d+=' class="'+U.escape(Zt(this.classes))+'"');var h="";for(var g in this.style)this.style.hasOwnProperty(g)&&(h+=U.hyphenate(g)+":"+this.style[g]+";");h&&(d+=' style="'+U.escape(h)+'"');for(var N in this.attributes)this.attributes.hasOwnProperty(N)&&(d+=" "+N+'="'+U.escape(this.attributes[N])+'"');d+=">";for(var le=0;le<this.children.length;le++)d+=this.children[le].toMarkup();return d+="</"+l+">",d},H=function(){function re(d,h,g,N){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ot.call(this,d,g,N),this.children=h||[]}var l=re.prototype;return l.setAttribute=function(h,g){this.attributes[h]=g},l.hasClass=function(h){return U.contains(this.classes,h)},l.toNode=function(){return se.call(this,"span")},l.toMarkup=function(){return be.call(this,"span")},re}(),O=function(){function re(d,h,g,N){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ot.call(this,h,N),this.children=g||[],this.setAttribute("href",d)}var l=re.prototype;return l.setAttribute=function(h,g){this.attributes[h]=g},l.hasClass=function(h){return U.contains(this.classes,h)},l.toNode=function(){return se.call(this,"a")},l.toMarkup=function(){return be.call(this,"a")},re}(),xe=function(){function re(d,h,g){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=h,this.src=d,this.classes=["mord"],this.style=g}var l=re.prototype;return l.hasClass=function(h){return U.contains(this.classes,h)},l.toNode=function(){var h=document.createElement("img");h.src=this.src,h.alt=this.alt,h.className="mord";for(var g in this.style)this.style.hasOwnProperty(g)&&(h.style[g]=this.style[g]);return h},l.toMarkup=function(){var h="<img src='"+this.src+" 'alt='"+this.alt+"' ",g="";for(var N in this.style)this.style.hasOwnProperty(N)&&(g+=U.hyphenate(N)+":"+this.style[N]+";");return g&&(h+=' style="'+U.escape(g)+'"'),h+="'/>",h},re}(),k={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},E=function(){function re(d,h,g,N,le,Pe,Me,Xe){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=h||0,this.depth=g||0,this.italic=N||0,this.skew=le||0,this.width=Pe||0,this.classes=Me||[],this.style=Xe||{},this.maxFontSize=0;var gt=V(this.text.charCodeAt(0));gt&&this.classes.push(gt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=k[this.text])}var l=re.prototype;return l.hasClass=function(h){return U.contains(this.classes,h)},l.toNode=function(){var h=document.createTextNode(this.text),g=null;this.italic>0&&(g=document.createElement("span"),g.style.marginRight=this.italic+"em"),this.classes.length>0&&(g=g||document.createElement("span"),g.className=Zt(this.classes));for(var N in this.style)this.style.hasOwnProperty(N)&&(g=g||document.createElement("span"),g.style[N]=this.style[N]);return g?(g.appendChild(h),g):h},l.toMarkup=function(){var h=!1,g="<span";this.classes.length&&(h=!0,g+=' class="',g+=U.escape(Zt(this.classes)),g+='"');var N="";this.italic>0&&(N+="margin-right:"+this.italic+"em;");for(var le in this.style)this.style.hasOwnProperty(le)&&(N+=U.hyphenate(le)+":"+this.style[le]+";");N&&(h=!0,g+=' style="'+U.escape(N)+'"');var Pe=U.escape(this.text);return h?(g+=">",g+=Pe,g+="</span>",g):Pe},re}(),T=function(){function re(d,h){this.children=void 0,this.attributes=void 0,this.children=d||[],this.attributes=h||{}}var l=re.prototype;return l.toNode=function(){var h="http://www.w3.org/2000/svg",g=document.createElementNS(h,"svg");for(var N in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,N)&&g.setAttribute(N,this.attributes[N]);for(var le=0;le<this.children.length;le++)g.appendChild(this.children[le].toNode());return g},l.toMarkup=function(){var h="<svg";for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(h+=" "+g+"='"+this.attributes[g]+"'");h+=">";for(var N=0;N<this.children.length;N++)h+=this.children[N].toMarkup();return h+="</svg>",h},re}(),X=function(){function re(d,h){this.pathName=void 0,this.alternate=void 0,this.pathName=d,this.alternate=h}var l=re.prototype;return l.toNode=function(){var h="http://www.w3.org/2000/svg",g=document.createElementNS(h,"path");return this.alternate?g.setAttribute("d",this.alternate):g.setAttribute("d",rn[this.pathName]),g},l.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+rn[this.pathName]+"'/>"},re}(),Z=function(){function re(d){this.attributes=void 0,this.attributes=d||{}}var l=re.prototype;return l.toNode=function(){var h="http://www.w3.org/2000/svg",g=document.createElementNS(h,"line");for(var N in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,N)&&g.setAttribute(N,this.attributes[N]);return g},l.toMarkup=function(){var h="<line";for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(h+=" "+g+"='"+this.attributes[g]+"'");return h+="/>",h},re}();function K(re){if(re instanceof E)return re;throw new Error("Expected symbolNode but got "+String(re)+".")}function we(re){if(re instanceof H)return re;throw new Error("Expected span<HtmlDomNode> but got "+String(re)+".")}var Ke={"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]}},ke={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]},Te={\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 Ye(re,l){Ke[re]=l}function et(re,l,d){if(!Ke[l])throw new Error("Font metrics not found for font: "+l+".");var h=re.charCodeAt(0),g=Ke[l][h];if(!g&&re[0]in Te&&(h=Te[re[0]].charCodeAt(0),g=Ke[l][h]),!g&&d==="text"&&Le(h)&&(g=Ke[l][77]),g)return{depth:g[0],height:g[1],italic:g[2],skew:g[3],width:g[4]}}var je={};function vt(re){var l;if(re>=5?l=0:re>=3?l=1:l=2,!je[l]){var d=je[l]={cssEmPerMu:ke.quad[l]/18};for(var h in ke)ke.hasOwnProperty(h)&&(d[h]=ke[h][l])}return je[l]}var bt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ht={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Nt={math:{},text:{}},_t=Nt;function w(re,l,d,h,g,N){Nt[re][g]={font:l,group:d,replace:h},N&&h&&(Nt[re][h]=Nt[re][g])}var D="math",St="text",ue="main",Be="ams",pn="accent-token",Ve="bin",nt="close",Je="inner",Ae="mathord",De="op-token",ze="open",qe="punct",ve="rel",an="spacing",Ge="textord";w(D,ue,ve,"\u2261","\\equiv",!0),w(D,ue,ve,"\u227A","\\prec",!0),w(D,ue,ve,"\u227B","\\succ",!0),w(D,ue,ve,"\u223C","\\sim",!0),w(D,ue,ve,"\u22A5","\\perp"),w(D,ue,ve,"\u2AAF","\\preceq",!0),w(D,ue,ve,"\u2AB0","\\succeq",!0),w(D,ue,ve,"\u2243","\\simeq",!0),w(D,ue,ve,"\u2223","\\mid",!0),w(D,ue,ve,"\u226A","\\ll",!0),w(D,ue,ve,"\u226B","\\gg",!0),w(D,ue,ve,"\u224D","\\asymp",!0),w(D,ue,ve,"\u2225","\\parallel"),w(D,ue,ve,"\u22C8","\\bowtie",!0),w(D,ue,ve,"\u2323","\\smile",!0),w(D,ue,ve,"\u2291","\\sqsubseteq",!0),w(D,ue,ve,"\u2292","\\sqsupseteq",!0),w(D,ue,ve,"\u2250","\\doteq",!0),w(D,ue,ve,"\u2322","\\frown",!0),w(D,ue,ve,"\u220B","\\ni",!0),w(D,ue,ve,"\u221D","\\propto",!0),w(D,ue,ve,"\u22A2","\\vdash",!0),w(D,ue,ve,"\u22A3","\\dashv",!0),w(D,ue,ve,"\u220B","\\owns"),w(D,ue,qe,".","\\ldotp"),w(D,ue,qe,"\u22C5","\\cdotp"),w(D,ue,Ge,"#","\\#"),w(St,ue,Ge,"#","\\#"),w(D,ue,Ge,"&","\\&"),w(St,ue,Ge,"&","\\&"),w(D,ue,Ge,"\u2135","\\aleph",!0),w(D,ue,Ge,"\u2200","\\forall",!0),w(D,ue,Ge,"\u210F","\\hbar",!0),w(D,ue,Ge,"\u2203","\\exists",!0),w(D,ue,Ge,"\u2207","\\nabla",!0),w(D,ue,Ge,"\u266D","\\flat",!0),w(D,ue,Ge,"\u2113","\\ell",!0),w(D,ue,Ge,"\u266E","\\natural",!0),w(D,ue,Ge,"\u2663","\\clubsuit",!0),w(D,ue,Ge,"\u2118","\\wp",!0),w(D,ue,Ge,"\u266F","\\sharp",!0),w(D,ue,Ge,"\u2662","\\diamondsuit",!0),w(D,ue,Ge,"\u211C","\\Re",!0),w(D,ue,Ge,"\u2661","\\heartsuit",!0),w(D,ue,Ge,"\u2111","\\Im",!0),w(D,ue,Ge,"\u2660","\\spadesuit",!0),w(St,ue,Ge,"\xA7","\\S",!0),w(St,ue,Ge,"\xB6","\\P",!0),w(D,ue,Ge,"\u2020","\\dag"),w(St,ue,Ge,"\u2020","\\dag"),w(St,ue,Ge,"\u2020","\\textdagger"),w(D,ue,Ge,"\u2021","\\ddag"),w(St,ue,Ge,"\u2021","\\ddag"),w(St,ue,Ge,"\u2021","\\textdaggerdbl"),w(D,ue,nt,"\u23B1","\\rmoustache",!0),w(D,ue,ze,"\u23B0","\\lmoustache",!0),w(D,ue,nt,"\u27EF","\\rgroup",!0),w(D,ue,ze,"\u27EE","\\lgroup",!0),w(D,ue,Ve,"\u2213","\\mp",!0),w(D,ue,Ve,"\u2296","\\ominus",!0),w(D,ue,Ve,"\u228E","\\uplus",!0),w(D,ue,Ve,"\u2293","\\sqcap",!0),w(D,ue,Ve,"\u2217","\\ast"),w(D,ue,Ve,"\u2294","\\sqcup",!0),w(D,ue,Ve,"\u25EF","\\bigcirc"),w(D,ue,Ve,"\u2219","\\bullet"),w(D,ue,Ve,"\u2021","\\ddagger"),w(D,ue,Ve,"\u2240","\\wr",!0),w(D,ue,Ve,"\u2A3F","\\amalg"),w(D,ue,Ve,"&","\\And"),w(D,ue,ve,"\u27F5","\\longleftarrow",!0),w(D,ue,ve,"\u21D0","\\Leftarrow",!0),w(D,ue,ve,"\u27F8","\\Longleftarrow",!0),w(D,ue,ve,"\u27F6","\\longrightarrow",!0),w(D,ue,ve,"\u21D2","\\Rightarrow",!0),w(D,ue,ve,"\u27F9","\\Longrightarrow",!0),w(D,ue,ve,"\u2194","\\leftrightarrow",!0),w(D,ue,ve,"\u27F7","\\longleftrightarrow",!0),w(D,ue,ve,"\u21D4","\\Leftrightarrow",!0),w(D,ue,ve,"\u27FA","\\Longleftrightarrow",!0),w(D,ue,ve,"\u21A6","\\mapsto",!0),w(D,ue,ve,"\u27FC","\\longmapsto",!0),w(D,ue,ve,"\u2197","\\nearrow",!0),w(D,ue,ve,"\u21A9","\\hookleftarrow",!0),w(D,ue,ve,"\u21AA","\\hookrightarrow",!0),w(D,ue,ve,"\u2198","\\searrow",!0),w(D,ue,ve,"\u21BC","\\leftharpoonup",!0),w(D,ue,ve,"\u21C0","\\rightharpoonup",!0),w(D,ue,ve,"\u2199","\\swarrow",!0),w(D,ue,ve,"\u21BD","\\leftharpoondown",!0),w(D,ue,ve,"\u21C1","\\rightharpoondown",!0),w(D,ue,ve,"\u2196","\\nwarrow",!0),w(D,ue,ve,"\u21CC","\\rightleftharpoons",!0),w(D,Be,ve,"\u226E","\\nless",!0),w(D,Be,ve,"\uE010","\\@nleqslant"),w(D,Be,ve,"\uE011","\\@nleqq"),w(D,Be,ve,"\u2A87","\\lneq",!0),w(D,Be,ve,"\u2268","\\lneqq",!0),w(D,Be,ve,"\uE00C","\\@lvertneqq"),w(D,Be,ve,"\u22E6","\\lnsim",!0),w(D,Be,ve,"\u2A89","\\lnapprox",!0),w(D,Be,ve,"\u2280","\\nprec",!0),w(D,Be,ve,"\u22E0","\\npreceq",!0),w(D,Be,ve,"\u22E8","\\precnsim",!0),w(D,Be,ve,"\u2AB9","\\precnapprox",!0),w(D,Be,ve,"\u2241","\\nsim",!0),w(D,Be,ve,"\uE006","\\@nshortmid"),w(D,Be,ve,"\u2224","\\nmid",!0),w(D,Be,ve,"\u22AC","\\nvdash",!0),w(D,Be,ve,"\u22AD","\\nvDash",!0),w(D,Be,ve,"\u22EA","\\ntriangleleft"),w(D,Be,ve,"\u22EC","\\ntrianglelefteq",!0),w(D,Be,ve,"\u228A","\\subsetneq",!0),w(D,Be,ve,"\uE01A","\\@varsubsetneq"),w(D,Be,ve,"\u2ACB","\\subsetneqq",!0),w(D,Be,ve,"\uE017","\\@varsubsetneqq"),w(D,Be,ve,"\u226F","\\ngtr",!0),w(D,Be,ve,"\uE00F","\\@ngeqslant"),w(D,Be,ve,"\uE00E","\\@ngeqq"),w(D,Be,ve,"\u2A88","\\gneq",!0),w(D,Be,ve,"\u2269","\\gneqq",!0),w(D,Be,ve,"\uE00D","\\@gvertneqq"),w(D,Be,ve,"\u22E7","\\gnsim",!0),w(D,Be,ve,"\u2A8A","\\gnapprox",!0),w(D,Be,ve,"\u2281","\\nsucc",!0),w(D,Be,ve,"\u22E1","\\nsucceq",!0),w(D,Be,ve,"\u22E9","\\succnsim",!0),w(D,Be,ve,"\u2ABA","\\succnapprox",!0),w(D,Be,ve,"\u2246","\\ncong",!0),w(D,Be,ve,"\uE007","\\@nshortparallel"),w(D,Be,ve,"\u2226","\\nparallel",!0),w(D,Be,ve,"\u22AF","\\nVDash",!0),w(D,Be,ve,"\u22EB","\\ntriangleright"),w(D,Be,ve,"\u22ED","\\ntrianglerighteq",!0),w(D,Be,ve,"\uE018","\\@nsupseteqq"),w(D,Be,ve,"\u228B","\\supsetneq",!0),w(D,Be,ve,"\uE01B","\\@varsupsetneq"),w(D,Be,ve,"\u2ACC","\\supsetneqq",!0),w(D,Be,ve,"\uE019","\\@varsupsetneqq"),w(D,Be,ve,"\u22AE","\\nVdash",!0),w(D,Be,ve,"\u2AB5","\\precneqq",!0),w(D,Be,ve,"\u2AB6","\\succneqq",!0),w(D,Be,ve,"\uE016","\\@nsubseteqq"),w(D,Be,Ve,"\u22B4","\\unlhd"),w(D,Be,Ve,"\u22B5","\\unrhd"),w(D,Be,ve,"\u219A","\\nleftarrow",!0),w(D,Be,ve,"\u219B","\\nrightarrow",!0),w(D,Be,ve,"\u21CD","\\nLeftarrow",!0),w(D,Be,ve,"\u21CF","\\nRightarrow",!0),w(D,Be,ve,"\u21AE","\\nleftrightarrow",!0),w(D,Be,ve,"\u21CE","\\nLeftrightarrow",!0),w(D,Be,ve,"\u25B3","\\vartriangle"),w(D,Be,Ge,"\u210F","\\hslash"),w(D,Be,Ge,"\u25BD","\\triangledown"),w(D,Be,Ge,"\u25CA","\\lozenge"),w(D,Be,Ge,"\u24C8","\\circledS"),w(D,Be,Ge,"\xAE","\\circledR"),w(St,Be,Ge,"\xAE","\\circledR"),w(D,Be,Ge,"\u2221","\\measuredangle",!0),w(D,Be,Ge,"\u2204","\\nexists"),w(D,Be,Ge,"\u2127","\\mho"),w(D,Be,Ge,"\u2132","\\Finv",!0),w(D,Be,Ge,"\u2141","\\Game",!0),w(D,Be,Ge,"\u2035","\\backprime"),w(D,Be,Ge,"\u25B2","\\blacktriangle"),w(D,Be,Ge,"\u25BC","\\blacktriangledown"),w(D,Be,Ge,"\u25A0","\\blacksquare"),w(D,Be,Ge,"\u29EB","\\blacklozenge"),w(D,Be,Ge,"\u2605","\\bigstar"),w(D,Be,Ge,"\u2222","\\sphericalangle",!0),w(D,Be,Ge,"\u2201","\\complement",!0),w(D,Be,Ge,"\xF0","\\eth",!0),w(D,Be,Ge,"\u2571","\\diagup"),w(D,Be,Ge,"\u2572","\\diagdown"),w(D,Be,Ge,"\u25A1","\\square"),w(D,Be,Ge,"\u25A1","\\Box"),w(D,Be,Ge,"\u25CA","\\Diamond"),w(D,Be,Ge,"\xA5","\\yen",!0),w(St,Be,Ge,"\xA5","\\yen",!0),w(D,Be,Ge,"\u2713","\\checkmark",!0),w(St,Be,Ge,"\u2713","\\checkmark"),w(D,Be,Ge,"\u2136","\\beth",!0),w(D,Be,Ge,"\u2138","\\daleth",!0),w(D,Be,Ge,"\u2137","\\gimel",!0),w(D,Be,Ge,"\u03DD","\\digamma",!0),w(D,Be,Ge,"\u03F0","\\varkappa"),w(D,Be,ze,"\u250C","\\ulcorner",!0),w(D,Be,nt,"\u2510","\\urcorner",!0),w(D,Be,ze,"\u2514","\\llcorner",!0),w(D,Be,nt,"\u2518","\\lrcorner",!0),w(D,Be,ve,"\u2266","\\leqq",!0),w(D,Be,ve,"\u2A7D","\\leqslant",!0),w(D,Be,ve,"\u2A95","\\eqslantless",!0),w(D,Be,ve,"\u2272","\\lesssim",!0),w(D,Be,ve,"\u2A85","\\lessapprox",!0),w(D,Be,ve,"\u224A","\\approxeq",!0),w(D,Be,Ve,"\u22D6","\\lessdot"),w(D,Be,ve,"\u22D8","\\lll",!0),w(D,Be,ve,"\u2276","\\lessgtr",!0),w(D,Be,ve,"\u22DA","\\lesseqgtr",!0),w(D,Be,ve,"\u2A8B","\\lesseqqgtr",!0),w(D,Be,ve,"\u2251","\\doteqdot"),w(D,Be,ve,"\u2253","\\risingdotseq",!0),w(D,Be,ve,"\u2252","\\fallingdotseq",!0),w(D,Be,ve,"\u223D","\\backsim",!0),w(D,Be,ve,"\u22CD","\\backsimeq",!0),w(D,Be,ve,"\u2AC5","\\subseteqq",!0),w(D,Be,ve,"\u22D0","\\Subset",!0),w(D,Be,ve,"\u228F","\\sqsubset",!0),w(D,Be,ve,"\u227C","\\preccurlyeq",!0),w(D,Be,ve,"\u22DE","\\curlyeqprec",!0),w(D,Be,ve,"\u227E","\\precsim",!0),w(D,Be,ve,"\u2AB7","\\precapprox",!0),w(D,Be,ve,"\u22B2","\\vartriangleleft"),w(D,Be,ve,"\u22B4","\\trianglelefteq"),w(D,Be,ve,"\u22A8","\\vDash",!0),w(D,Be,ve,"\u22AA","\\Vvdash",!0),w(D,Be,ve,"\u2323","\\smallsmile"),w(D,Be,ve,"\u2322","\\smallfrown"),w(D,Be,ve,"\u224F","\\bumpeq",!0),w(D,Be,ve,"\u224E","\\Bumpeq",!0),w(D,Be,ve,"\u2267","\\geqq",!0),w(D,Be,ve,"\u2A7E","\\geqslant",!0),w(D,Be,ve,"\u2A96","\\eqslantgtr",!0),w(D,Be,ve,"\u2273","\\gtrsim",!0),w(D,Be,ve,"\u2A86","\\gtrapprox",!0),w(D,Be,Ve,"\u22D7","\\gtrdot"),w(D,Be,ve,"\u22D9","\\ggg",!0),w(D,Be,ve,"\u2277","\\gtrless",!0),w(D,Be,ve,"\u22DB","\\gtreqless",!0),w(D,Be,ve,"\u2A8C","\\gtreqqless",!0),w(D,Be,ve,"\u2256","\\eqcirc",!0),w(D,Be,ve,"\u2257","\\circeq",!0),w(D,Be,ve,"\u225C","\\triangleq",!0),w(D,Be,ve,"\u223C","\\thicksim"),w(D,Be,ve,"\u2248","\\thickapprox"),w(D,Be,ve,"\u2AC6","\\supseteqq",!0),w(D,Be,ve,"\u22D1","\\Supset",!0),w(D,Be,ve,"\u2290","\\sqsupset",!0),w(D,Be,ve,"\u227D","\\succcurlyeq",!0),w(D,Be,ve,"\u22DF","\\curlyeqsucc",!0),w(D,Be,ve,"\u227F","\\succsim",!0),w(D,Be,ve,"\u2AB8","\\succapprox",!0),w(D,Be,ve,"\u22B3","\\vartriangleright"),w(D,Be,ve,"\u22B5","\\trianglerighteq"),w(D,Be,ve,"\u22A9","\\Vdash",!0),w(D,Be,ve,"\u2223","\\shortmid"),w(D,Be,ve,"\u2225","\\shortparallel"),w(D,Be,ve,"\u226C","\\between",!0),w(D,Be,ve,"\u22D4","\\pitchfork",!0),w(D,Be,ve,"\u221D","\\varpropto"),w(D,Be,ve,"\u25C0","\\blacktriangleleft"),w(D,Be,ve,"\u2234","\\therefore",!0),w(D,Be,ve,"\u220D","\\backepsilon"),w(D,Be,ve,"\u25B6","\\blacktriangleright"),w(D,Be,ve,"\u2235","\\because",!0),w(D,Be,ve,"\u22D8","\\llless"),w(D,Be,ve,"\u22D9","\\gggtr"),w(D,Be,Ve,"\u22B2","\\lhd"),w(D,Be,Ve,"\u22B3","\\rhd"),w(D,Be,ve,"\u2242","\\eqsim",!0),w(D,ue,ve,"\u22C8","\\Join"),w(D,Be,ve,"\u2251","\\Doteq",!0),w(D,Be,Ve,"\u2214","\\dotplus",!0),w(D,Be,Ve,"\u2216","\\smallsetminus"),w(D,Be,Ve,"\u22D2","\\Cap",!0),w(D,Be,Ve,"\u22D3","\\Cup",!0),w(D,Be,Ve,"\u2A5E","\\doublebarwedge",!0),w(D,Be,Ve,"\u229F","\\boxminus",!0),w(D,Be,Ve,"\u229E","\\boxplus",!0),w(D,Be,Ve,"\u22C7","\\divideontimes",!0),w(D,Be,Ve,"\u22C9","\\ltimes",!0),w(D,Be,Ve,"\u22CA","\\rtimes",!0),w(D,Be,Ve,"\u22CB","\\leftthreetimes",!0),w(D,Be,Ve,"\u22CC","\\rightthreetimes",!0),w(D,Be,Ve,"\u22CF","\\curlywedge",!0),w(D,Be,Ve,"\u22CE","\\curlyvee",!0),w(D,Be,Ve,"\u229D","\\circleddash",!0),w(D,Be,Ve,"\u229B","\\circledast",!0),w(D,Be,Ve,"\u22C5","\\centerdot"),w(D,Be,Ve,"\u22BA","\\intercal",!0),w(D,Be,Ve,"\u22D2","\\doublecap"),w(D,Be,Ve,"\u22D3","\\doublecup"),w(D,Be,Ve,"\u22A0","\\boxtimes",!0),w(D,Be,ve,"\u21E2","\\dashrightarrow",!0),w(D,Be,ve,"\u21E0","\\dashleftarrow",!0),w(D,Be,ve,"\u21C7","\\leftleftarrows",!0),w(D,Be,ve,"\u21C6","\\leftrightarrows",!0),w(D,Be,ve,"\u21DA","\\Lleftarrow",!0),w(D,Be,ve,"\u219E","\\twoheadleftarrow",!0),w(D,Be,ve,"\u21A2","\\leftarrowtail",!0),w(D,Be,ve,"\u21AB","\\looparrowleft",!0),w(D,Be,ve,"\u21CB","\\leftrightharpoons",!0),w(D,Be,ve,"\u21B6","\\curvearrowleft",!0),w(D,Be,ve,"\u21BA","\\circlearrowleft",!0),w(D,Be,ve,"\u21B0","\\Lsh",!0),w(D,Be,ve,"\u21C8","\\upuparrows",!0),w(D,Be,ve,"\u21BF","\\upharpoonleft",!0),w(D,Be,ve,"\u21C3","\\downharpoonleft",!0),w(D,Be,ve,"\u22B8","\\multimap",!0),w(D,Be,ve,"\u21AD","\\leftrightsquigarrow",!0),w(D,Be,ve,"\u21C9","\\rightrightarrows",!0),w(D,Be,ve,"\u21C4","\\rightleftarrows",!0),w(D,Be,ve,"\u21A0","\\twoheadrightarrow",!0),w(D,Be,ve,"\u21A3","\\rightarrowtail",!0),w(D,Be,ve,"\u21AC","\\looparrowright",!0),w(D,Be,ve,"\u21B7","\\curvearrowright",!0),w(D,Be,ve,"\u21BB","\\circlearrowright",!0),w(D,Be,ve,"\u21B1","\\Rsh",!0),w(D,Be,ve,"\u21CA","\\downdownarrows",!0),w(D,Be,ve,"\u21BE","\\upharpoonright",!0),w(D,Be,ve,"\u21C2","\\downharpoonright",!0),w(D,Be,ve,"\u21DD","\\rightsquigarrow",!0),w(D,Be,ve,"\u21DD","\\leadsto"),w(D,Be,ve,"\u21DB","\\Rrightarrow",!0),w(D,Be,ve,"\u21BE","\\restriction"),w(D,ue,Ge,"\u2018","`"),w(D,ue,Ge,"$","\\$"),w(St,ue,Ge,"$","\\$"),w(St,ue,Ge,"$","\\textdollar"),w(D,ue,Ge,"%","\\%"),w(St,ue,Ge,"%","\\%"),w(D,ue,Ge,"_","\\_"),w(St,ue,Ge,"_","\\_"),w(St,ue,Ge,"_","\\textunderscore"),w(D,ue,Ge,"\u2220","\\angle",!0),w(D,ue,Ge,"\u221E","\\infty",!0),w(D,ue,Ge,"\u2032","\\prime"),w(D,ue,Ge,"\u25B3","\\triangle"),w(D,ue,Ge,"\u0393","\\Gamma",!0),w(D,ue,Ge,"\u0394","\\Delta",!0),w(D,ue,Ge,"\u0398","\\Theta",!0),w(D,ue,Ge,"\u039B","\\Lambda",!0),w(D,ue,Ge,"\u039E","\\Xi",!0),w(D,ue,Ge,"\u03A0","\\Pi",!0),w(D,ue,Ge,"\u03A3","\\Sigma",!0),w(D,ue,Ge,"\u03A5","\\Upsilon",!0),w(D,ue,Ge,"\u03A6","\\Phi",!0),w(D,ue,Ge,"\u03A8","\\Psi",!0),w(D,ue,Ge,"\u03A9","\\Omega",!0),w(D,ue,Ge,"A","\u0391"),w(D,ue,Ge,"B","\u0392"),w(D,ue,Ge,"E","\u0395"),w(D,ue,Ge,"Z","\u0396"),w(D,ue,Ge,"H","\u0397"),w(D,ue,Ge,"I","\u0399"),w(D,ue,Ge,"K","\u039A"),w(D,ue,Ge,"M","\u039C"),w(D,ue,Ge,"N","\u039D"),w(D,ue,Ge,"O","\u039F"),w(D,ue,Ge,"P","\u03A1"),w(D,ue,Ge,"T","\u03A4"),w(D,ue,Ge,"X","\u03A7"),w(D,ue,Ge,"\xAC","\\neg",!0),w(D,ue,Ge,"\xAC","\\lnot"),w(D,ue,Ge,"\u22A4","\\top"),w(D,ue,Ge,"\u22A5","\\bot"),w(D,ue,Ge,"\u2205","\\emptyset"),w(D,Be,Ge,"\u2205","\\varnothing"),w(D,ue,Ae,"\u03B1","\\alpha",!0),w(D,ue,Ae,"\u03B2","\\beta",!0),w(D,ue,Ae,"\u03B3","\\gamma",!0),w(D,ue,Ae,"\u03B4","\\delta",!0),w(D,ue,Ae,"\u03F5","\\epsilon",!0),w(D,ue,Ae,"\u03B6","\\zeta",!0),w(D,ue,Ae,"\u03B7","\\eta",!0),w(D,ue,Ae,"\u03B8","\\theta",!0),w(D,ue,Ae,"\u03B9","\\iota",!0),w(D,ue,Ae,"\u03BA","\\kappa",!0),w(D,ue,Ae,"\u03BB","\\lambda",!0),w(D,ue,Ae,"\u03BC","\\mu",!0),w(D,ue,Ae,"\u03BD","\\nu",!0),w(D,ue,Ae,"\u03BE","\\xi",!0),w(D,ue,Ae,"\u03BF","\\omicron",!0),w(D,ue,Ae,"\u03C0","\\pi",!0),w(D,ue,Ae,"\u03C1","\\rho",!0),w(D,ue,Ae,"\u03C3","\\sigma",!0),w(D,ue,Ae,"\u03C4","\\tau",!0),w(D,ue,Ae,"\u03C5","\\upsilon",!0),w(D,ue,Ae,"\u03D5","\\phi",!0),w(D,ue,Ae,"\u03C7","\\chi",!0),w(D,ue,Ae,"\u03C8","\\psi",!0),w(D,ue,Ae,"\u03C9","\\omega",!0),w(D,ue,Ae,"\u03B5","\\varepsilon",!0),w(D,ue,Ae,"\u03D1","\\vartheta",!0),w(D,ue,Ae,"\u03D6","\\varpi",!0),w(D,ue,Ae,"\u03F1","\\varrho",!0),w(D,ue,Ae,"\u03C2","\\varsigma",!0),w(D,ue,Ae,"\u03C6","\\varphi",!0),w(D,ue,Ve,"\u2217","*"),w(D,ue,Ve,"+","+"),w(D,ue,Ve,"\u2212","-"),w(D,ue,Ve,"\u22C5","\\cdot",!0),w(D,ue,Ve,"\u2218","\\circ"),w(D,ue,Ve,"\xF7","\\div",!0),w(D,ue,Ve,"\xB1","\\pm",!0),w(D,ue,Ve,"\xD7","\\times",!0),w(D,ue,Ve,"\u2229","\\cap",!0),w(D,ue,Ve,"\u222A","\\cup",!0),w(D,ue,Ve,"\u2216","\\setminus"),w(D,ue,Ve,"\u2227","\\land"),w(D,ue,Ve,"\u2228","\\lor"),w(D,ue,Ve,"\u2227","\\wedge",!0),w(D,ue,Ve,"\u2228","\\vee",!0),w(D,ue,Ge,"\u221A","\\surd"),w(D,ue,ze,"(","("),w(D,ue,ze,"[","["),w(D,ue,ze,"\u27E8","\\langle",!0),w(D,ue,ze,"\u2223","\\lvert"),w(D,ue,ze,"\u2225","\\lVert"),w(D,ue,nt,")",")"),w(D,ue,nt,"]","]"),w(D,ue,nt,"?","?"),w(D,ue,nt,"!","!"),w(D,ue,nt,"\u27E9","\\rangle",!0),w(D,ue,nt,"\u2223","\\rvert"),w(D,ue,nt,"\u2225","\\rVert"),w(D,ue,ve,"=","="),w(D,ue,ve,"<","<"),w(D,ue,ve,">",">"),w(D,ue,ve,":",":"),w(D,ue,ve,"\u2248","\\approx",!0),w(D,ue,ve,"\u2245","\\cong",!0),w(D,ue,ve,"\u2265","\\ge"),w(D,ue,ve,"\u2265","\\geq",!0),w(D,ue,ve,"\u2190","\\gets"),w(D,ue,ve,">","\\gt"),w(D,ue,ve,"\u2208","\\in",!0),w(D,ue,ve,"\uE020","\\@not"),w(D,ue,ve,"\u2282","\\subset",!0),w(D,ue,ve,"\u2283","\\supset",!0),w(D,ue,ve,"\u2286","\\subseteq",!0),w(D,ue,ve,"\u2287","\\supseteq",!0),w(D,Be,ve,"\u2288","\\nsubseteq",!0),w(D,Be,ve,"\u2289","\\nsupseteq",!0),w(D,ue,ve,"\u22A8","\\models"),w(D,ue,ve,"\u2190","\\leftarrow",!0),w(D,ue,ve,"\u2264","\\le"),w(D,ue,ve,"\u2264","\\leq",!0),w(D,ue,ve,"<","\\lt"),w(D,ue,ve,"\u2192","\\rightarrow",!0),w(D,ue,ve,"\u2192","\\to"),w(D,Be,ve,"\u2271","\\ngeq",!0),w(D,Be,ve,"\u2270","\\nleq",!0),w(D,ue,an,"\xA0","\\ "),w(D,ue,an,"\xA0","~"),w(D,ue,an,"\xA0","\\space"),w(D,ue,an,"\xA0","\\nobreakspace"),w(St,ue,an,"\xA0","\\ "),w(St,ue,an,"\xA0","~"),w(St,ue,an,"\xA0","\\space"),w(St,ue,an,"\xA0","\\nobreakspace"),w(D,ue,an,null,"\\nobreak"),w(D,ue,an,null,"\\allowbreak"),w(D,ue,qe,",",","),w(D,ue,qe,";",";"),w(D,Be,Ve,"\u22BC","\\barwedge",!0),w(D,Be,Ve,"\u22BB","\\veebar",!0),w(D,ue,Ve,"\u2299","\\odot",!0),w(D,ue,Ve,"\u2295","\\oplus",!0),w(D,ue,Ve,"\u2297","\\otimes",!0),w(D,ue,Ge,"\u2202","\\partial",!0),w(D,ue,Ve,"\u2298","\\oslash",!0),w(D,Be,Ve,"\u229A","\\circledcirc",!0),w(D,Be,Ve,"\u22A1","\\boxdot",!0),w(D,ue,Ve,"\u25B3","\\bigtriangleup"),w(D,ue,Ve,"\u25BD","\\bigtriangledown"),w(D,ue,Ve,"\u2020","\\dagger"),w(D,ue,Ve,"\u22C4","\\diamond"),w(D,ue,Ve,"\u22C6","\\star"),w(D,ue,Ve,"\u25C3","\\triangleleft"),w(D,ue,Ve,"\u25B9","\\triangleright"),w(D,ue,ze,"{","\\{"),w(St,ue,Ge,"{","\\{"),w(St,ue,Ge,"{","\\textbraceleft"),w(D,ue,nt,"}","\\}"),w(St,ue,Ge,"}","\\}"),w(St,ue,Ge,"}","\\textbraceright"),w(D,ue,ze,"{","\\lbrace"),w(D,ue,nt,"}","\\rbrace"),w(D,ue,ze,"[","\\lbrack"),w(St,ue,Ge,"[","\\lbrack"),w(D,ue,nt,"]","\\rbrack"),w(St,ue,Ge,"]","\\rbrack"),w(D,ue,ze,"(","\\lparen"),w(D,ue,nt,")","\\rparen"),w(St,ue,Ge,"<","\\textless"),w(St,ue,Ge,">","\\textgreater"),w(D,ue,ze,"\u230A","\\lfloor",!0),w(D,ue,nt,"\u230B","\\rfloor",!0),w(D,ue,ze,"\u2308","\\lceil",!0),w(D,ue,nt,"\u2309","\\rceil",!0),w(D,ue,Ge,"\\","\\backslash"),w(D,ue,Ge,"\u2223","|"),w(D,ue,Ge,"\u2223","\\vert"),w(St,ue,Ge,"|","\\textbar"),w(D,ue,Ge,"\u2225","\\|"),w(D,ue,Ge,"\u2225","\\Vert"),w(St,ue,Ge,"\u2225","\\textbardbl"),w(St,ue,Ge,"~","\\textasciitilde"),w(St,ue,Ge,"\\","\\textbackslash"),w(St,ue,Ge,"^","\\textasciicircum"),w(D,ue,ve,"\u2191","\\uparrow",!0),w(D,ue,ve,"\u21D1","\\Uparrow",!0),w(D,ue,ve,"\u2193","\\downarrow",!0),w(D,ue,ve,"\u21D3","\\Downarrow",!0),w(D,ue,ve,"\u2195","\\updownarrow",!0),w(D,ue,ve,"\u21D5","\\Updownarrow",!0),w(D,ue,De,"\u2210","\\coprod"),w(D,ue,De,"\u22C1","\\bigvee"),w(D,ue,De,"\u22C0","\\bigwedge"),w(D,ue,De,"\u2A04","\\biguplus"),w(D,ue,De,"\u22C2","\\bigcap"),w(D,ue,De,"\u22C3","\\bigcup"),w(D,ue,De,"\u222B","\\int"),w(D,ue,De,"\u222B","\\intop"),w(D,ue,De,"\u222C","\\iint"),w(D,ue,De,"\u222D","\\iiint"),w(D,ue,De,"\u220F","\\prod"),w(D,ue,De,"\u2211","\\sum"),w(D,ue,De,"\u2A02","\\bigotimes"),w(D,ue,De,"\u2A01","\\bigoplus"),w(D,ue,De,"\u2A00","\\bigodot"),w(D,ue,De,"\u222E","\\oint"),w(D,ue,De,"\u222F","\\oiint"),w(D,ue,De,"\u2230","\\oiiint"),w(D,ue,De,"\u2A06","\\bigsqcup"),w(D,ue,De,"\u222B","\\smallint"),w(St,ue,Je,"\u2026","\\textellipsis"),w(D,ue,Je,"\u2026","\\mathellipsis"),w(St,ue,Je,"\u2026","\\ldots",!0),w(D,ue,Je,"\u2026","\\ldots",!0),w(D,ue,Je,"\u22EF","\\@cdots",!0),w(D,ue,Je,"\u22F1","\\ddots",!0),w(D,ue,Ge,"\u22EE","\\varvdots"),w(D,ue,pn,"\u02CA","\\acute"),w(D,ue,pn,"\u02CB","\\grave"),w(D,ue,pn,"\xA8","\\ddot"),w(D,ue,pn,"~","\\tilde"),w(D,ue,pn,"\u02C9","\\bar"),w(D,ue,pn,"\u02D8","\\breve"),w(D,ue,pn,"\u02C7","\\check"),w(D,ue,pn,"^","\\hat"),w(D,ue,pn,"\u20D7","\\vec"),w(D,ue,pn,"\u02D9","\\dot"),w(D,ue,pn,"\u02DA","\\mathring"),w(D,ue,Ae,"\u0131","\\imath",!0),w(D,ue,Ae,"\u0237","\\jmath",!0),w(St,ue,Ge,"\u0131","\\i",!0),w(St,ue,Ge,"\u0237","\\j",!0),w(St,ue,Ge,"\xDF","\\ss",!0),w(St,ue,Ge,"\xE6","\\ae",!0),w(St,ue,Ge,"\xE6","\\ae",!0),w(St,ue,Ge,"\u0153","\\oe",!0),w(St,ue,Ge,"\xF8","\\o",!0),w(St,ue,Ge,"\xC6","\\AE",!0),w(St,ue,Ge,"\u0152","\\OE",!0),w(St,ue,Ge,"\xD8","\\O",!0),w(St,ue,pn,"\u02CA","\\'"),w(St,ue,pn,"\u02CB","\\`"),w(St,ue,pn,"\u02C6","\\^"),w(St,ue,pn,"\u02DC","\\~"),w(St,ue,pn,"\u02C9","\\="),w(St,ue,pn,"\u02D8","\\u"),w(St,ue,pn,"\u02D9","\\."),w(St,ue,pn,"\u02DA","\\r"),w(St,ue,pn,"\u02C7","\\v"),w(St,ue,pn,"\xA8",'\\"'),w(St,ue,pn,"\u02DD","\\H"),w(St,ue,pn,"\u25EF","\\textcircled");var mn={"--":!0,"---":!0,"``":!0,"''":!0};w(St,ue,Ge,"\u2013","--"),w(St,ue,Ge,"\u2013","\\textendash"),w(St,ue,Ge,"\u2014","---"),w(St,ue,Ge,"\u2014","\\textemdash"),w(St,ue,Ge,"\u2018","`"),w(St,ue,Ge,"\u2018","\\textquoteleft"),w(St,ue,Ge,"\u2019","'"),w(St,ue,Ge,"\u2019","\\textquoteright"),w(St,ue,Ge,"\u201C","``"),w(St,ue,Ge,"\u201C","\\textquotedblleft"),w(St,ue,Ge,"\u201D","''"),w(St,ue,Ge,"\u201D","\\textquotedblright"),w(D,ue,Ge,"\xB0","\\degree",!0),w(St,ue,Ge,"\xB0","\\degree"),w(St,ue,Ge,"\xB0","\\textdegree",!0),w(D,ue,Ae,"\xA3","\\pounds"),w(D,ue,Ae,"\xA3","\\mathsterling",!0),w(St,ue,Ae,"\xA3","\\pounds"),w(St,ue,Ae,"\xA3","\\textsterling",!0),w(D,Be,Ge,"\u2720","\\maltese"),w(St,Be,Ge,"\u2720","\\maltese"),w(St,ue,an,"\xA0","\\ "),w(St,ue,an,"\xA0"," "),w(St,ue,an,"\xA0","~");for(var _n='0123456789/@."',jt=0;jt<_n.length;jt++){var Xt=_n.charAt(jt);w(D,ue,Ge,Xt,Xt)}for(var Rt='0123456789!@*()-=+[]<>|";:?/.,',Ft=0;Ft<Rt.length;Ft++){var Ze=Rt.charAt(Ft);w(St,ue,Ge,Ze,Ze)}for(var Et="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",xt=0;xt<Et.length;xt++){var Ne=Et.charAt(xt);w(D,ue,Ae,Ne,Ne),w(St,ue,Ge,Ne,Ne)}w(D,Be,Ge,"C","\u2102"),w(St,Be,Ge,"C","\u2102"),w(D,Be,Ge,"H","\u210D"),w(St,Be,Ge,"H","\u210D"),w(D,Be,Ge,"N","\u2115"),w(St,Be,Ge,"N","\u2115"),w(D,Be,Ge,"P","\u2119"),w(St,Be,Ge,"P","\u2119"),w(D,Be,Ge,"Q","\u211A"),w(St,Be,Ge,"Q","\u211A"),w(D,Be,Ge,"R","\u211D"),w(St,Be,Ge,"R","\u211D"),w(D,Be,Ge,"Z","\u2124"),w(St,Be,Ge,"Z","\u2124"),w(D,ue,Ae,"h","\u210E"),w(St,ue,Ae,"h","\u210E");for(var Ce="",mt=0;mt<Et.length;mt++){var pt=Et.charAt(mt);Ce=String.fromCharCode(55349,56320+mt),w(D,ue,Ae,pt,Ce),w(St,ue,Ge,pt,Ce),Ce=String.fromCharCode(55349,56372+mt),w(D,ue,Ae,pt,Ce),w(St,ue,Ge,pt,Ce),Ce=String.fromCharCode(55349,56424+mt),w(D,ue,Ae,pt,Ce),w(St,ue,Ge,pt,Ce),Ce=String.fromCharCode(55349,56580+mt),w(D,ue,Ae,pt,Ce),w(St,ue,Ge,pt,Ce),Ce=String.fromCharCode(55349,56736+mt),w(D,ue,Ae,pt,Ce),w(St,ue,Ge,pt,Ce),Ce=String.fromCharCode(55349,56788+mt),w(D,ue,Ae,pt,Ce),w(St,ue,Ge,pt,Ce),Ce=String.fromCharCode(55349,56840+mt),w(D,ue,Ae,pt,Ce),w(St,ue,Ge,pt,Ce),Ce=String.fromCharCode(55349,56944+mt),w(D,ue,Ae,pt,Ce),w(St,ue,Ge,pt,Ce),mt<26&&(Ce=String.fromCharCode(55349,56632+mt),w(D,ue,Ae,pt,Ce),w(St,ue,Ge,pt,Ce),Ce=String.fromCharCode(55349,56476+mt),w(D,ue,Ae,pt,Ce),w(St,ue,Ge,pt,Ce))}Ce="\u{1D55C}",w(D,ue,Ae,"k",Ce),w(St,ue,Ge,"k",Ce);for(var Dt=0;Dt<10;Dt++){var Ht=Dt.toString();Ce=String.fromCharCode(55349,57294+Dt),w(D,ue,Ae,Ht,Ce),w(St,ue,Ge,Ht,Ce),Ce=String.fromCharCode(55349,57314+Dt),w(D,ue,Ae,Ht,Ce),w(St,ue,Ge,Ht,Ce),Ce=String.fromCharCode(55349,57324+Dt),w(D,ue,Ae,Ht,Ce),w(St,ue,Ge,Ht,Ce),Ce=String.fromCharCode(55349,57334+Dt),w(D,ue,Ae,Ht,Ce),w(St,ue,Ge,Ht,Ce)}for(var nn="\xC7\xD0\xDE\xE7\xFE",Kt=0;Kt<nn.length;Kt++){var sn=nn.charAt(Kt);w(D,ue,Ae,sn,sn),w(St,ue,Ge,sn,sn)}w(St,ue,Ge,"\xF0","\xF0"),w(St,ue,Ge,"\u2013","\u2013"),w(St,ue,Ge,"\u2014","\u2014"),w(St,ue,Ge,"\u2018","\u2018"),w(St,ue,Ge,"\u2019","\u2019"),w(St,ue,Ge,"\u201C","\u201C"),w(St,ue,Ge,"\u201D","\u201D");var un=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ut=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],kt=function(l,d){var h=l.charCodeAt(0),g=l.charCodeAt(1),N=(h-55296)*1024+(g-56320)+65536,le=d==="math"?0:1;if(119808<=N&&N<120484){var Pe=Math.floor((N-119808)/26);return[un[Pe][2],un[Pe][le]]}else if(120782<=N&&N<=120831){var Me=Math.floor((N-120782)/10);return[Ut[Me][2],Ut[Me][le]]}else{if(N===120485||N===120486)return[un[0][2],un[0][le]];if(120486<N&&N<120782)return["",""];throw new q("Unsupported character: "+l)}},ln=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],dn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],hn=function(l,d){return d.size<2?l:ln[l-1][d.size-1]},wn=function(){function re(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||re.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=dn[this.size-1],this.maxSize=d.maxSize,this.minRuleThickness=d.minRuleThickness,this._fontMetrics=void 0}var l=re.prototype;return l.extend=function(h){var g={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var N in h)h.hasOwnProperty(N)&&(g[N]=h[N]);return new re(g)},l.havingStyle=function(h){return this.style===h?this:this.extend({style:h,size:hn(this.textSize,h)})},l.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},l.havingSize=function(h){return this.size===h&&this.textSize===h?this:this.extend({style:this.style.text(),size:h,textSize:h,sizeMultiplier:dn[h-1]})},l.havingBaseStyle=function(h){h=h||this.style.text();var g=hn(re.BASESIZE,h);return this.size===g&&this.textSize===re.BASESIZE&&this.style===h?this:this.extend({style:h,size:g})},l.havingBaseSizing=function(){var h;switch(this.style.id){case 4:case 5:h=3;break;case 6:case 7:h=1;break;default:h=6}return this.extend({style:this.style.text(),size:h})},l.withColor=function(h){return this.extend({color:h})},l.withPhantom=function(){return this.extend({phantom:!0})},l.withFont=function(h){return this.extend({font:h})},l.withTextFontFamily=function(h){return this.extend({fontFamily:h,font:""})},l.withTextFontWeight=function(h){return this.extend({fontWeight:h,font:""})},l.withTextFontShape=function(h){return this.extend({fontShape:h,font:""})},l.sizingClasses=function(h){return h.size!==this.size?["sizing","reset-size"+h.size,"size"+this.size]:[]},l.baseSizingClasses=function(){return this.size!==re.BASESIZE?["sizing","reset-size"+this.size,"size"+re.BASESIZE]:[]},l.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=vt(this.size)),this._fontMetrics},l.getColor=function(){return this.phantom?"transparent":this.color},re}();wn.BASESIZE=6;var Xn=wn,Nn={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},en={ex:!0,em:!0,mu:!0},dt=function(l){return typeof l!="string"&&(l=l.unit),l in Nn||l in en||l==="ex"},yt=function(l,d){var h;if(l.unit in Nn)h=Nn[l.unit]/d.fontMetrics().ptPerEm/d.sizeMultiplier;else if(l.unit==="mu")h=d.fontMetrics().cssEmPerMu;else{var g;if(d.style.isTight()?g=d.havingStyle(d.style.text()):g=d,l.unit==="ex")h=g.fontMetrics().xHeight;else if(l.unit==="em")h=g.fontMetrics().quad;else throw new q("Invalid unit: '"+l.unit+"'");g!==d&&(h*=g.sizeMultiplier/d.sizeMultiplier)}return Math.min(l.number*h,d.maxSize)},Lt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Bt=function(l,d,h){return _t[h][l]&&_t[h][l].replace&&(l=_t[h][l].replace),{value:l,metrics:et(l,d,h)}},Ot=function(l,d,h,g,N){var le=Bt(l,d,h),Pe=le.metrics;l=le.value;var Me;if(Pe){var Xe=Pe.italic;(h==="text"||g&&g.font==="mathit")&&(Xe=0),Me=new E(l,Pe.height,Pe.depth,Xe,Pe.skew,Pe.width,N)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+l+"' in style '"+d+"' and mode '"+h+"'")),Me=new E(l,0,0,0,0,0,N);if(g){Me.maxFontSize=g.sizeMultiplier,g.style.isTight()&&Me.classes.push("mtight");var gt=g.getColor();gt&&(Me.style.color=gt)}return Me},Yt=function(l,d,h,g){return g===void 0&&(g=[]),h.font==="boldsymbol"&&Bt(l,"Main-Bold",d).metrics?Ot(l,"Main-Bold",d,h,g.concat(["mathbf"])):l==="\\"||_t[d][l].font==="main"?Ot(l,"Main-Regular",d,h,g):Ot(l,"AMS-Regular",d,h,g.concat(["amsrm"]))},Gt=function(l,d,h,g){return/[0-9]/.test(l.charAt(0))||U.contains(Lt,l)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},gn=function(l,d,h,g){return U.contains(Lt,l)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(l.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},En=function(l,d,h,g){return Bt(l,"Math-BoldItalic",d).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},In=function(l,d,h){var g=l.mode,N=l.text,le=["mord"],Pe=g==="math"||g==="text"&&d.font,Me=Pe?d.font:d.fontFamily;if(N.charCodeAt(0)===55349){var Xe=kt(N,g),gt=Xe[0],Tt=Xe[1];return Ot(N,gt,g,d,le.concat(Tt))}else if(Me){var $t,Sn;if(Me==="boldsymbol"||Me==="mathnormal"){var qt=Me==="boldsymbol"?En(N,g,d,le):gn(N,g,d,le);$t=qt.fontName,Sn=[qt.fontClass]}else U.contains(Lt,N)?($t="Main-Italic",Sn=["mathit"]):Pe?($t=$r[Me].fontName,Sn=[Me]):($t=Ir(Me,d.fontWeight,d.fontShape),Sn=[Me,d.fontWeight,d.fontShape]);if(Bt(N,$t,g).metrics)return Ot(N,$t,g,d,le.concat(Sn));if(mn.hasOwnProperty(N)&&$t.substr(0,10)==="Typewriter"){for(var on=[],yn=0;yn<N.length;yn++)on.push(Ot(N[yn],$t,g,d,le.concat(Sn)));return Dr(on)}}if(h==="mathord"){var Tn=Gt(N,g,d,le);return Ot(N,Tn.fontName,g,d,le.concat([Tn.fontClass]))}else if(h==="textord"){var ir=_t[g][N]&&_t[g][N].font;if(ir==="ams"){var Dn=Ir("amsrm",d.fontWeight,d.fontShape);return Ot(N,Dn,g,d,le.concat("amsrm",d.fontWeight,d.fontShape))}else if(ir==="main"||!ir){var rr=Ir("textrm",d.fontWeight,d.fontShape);return Ot(N,rr,g,d,le.concat(d.fontWeight,d.fontShape))}else{var Er=Ir(ir,d.fontWeight,d.fontShape);return Ot(N,Er,g,d,le.concat(Er,d.fontWeight,d.fontShape))}}else throw new Error("unexpected type: "+h+" in makeOrd")},qn=function(l,d){if(Zt(l.classes)!==Zt(d.classes)||l.skew!==d.skew||l.maxFontSize!==d.maxFontSize)return!1;for(var h in l.style)if(l.style.hasOwnProperty(h)&&l.style[h]!==d.style[h])return!1;for(var g in d.style)if(d.style.hasOwnProperty(g)&&l.style[g]!==d.style[g])return!1;return!0},er=function(l){for(var d=0;d<l.length-1;d++){var h=l[d],g=l[d+1];h instanceof E&&g instanceof E&&qn(h,g)&&(h.text+=g.text,h.height=Math.max(h.height,g.height),h.depth=Math.max(h.depth,g.depth),h.italic=g.italic,l.splice(d+1,1),d--)}return l},pr=function(l){for(var d=0,h=0,g=0,N=0;N<l.children.length;N++){var le=l.children[N];le.height>d&&(d=le.height),le.depth>h&&(h=le.depth),le.maxFontSize>g&&(g=le.maxFontSize)}l.height=d,l.depth=h,l.maxFontSize=g},Cn=function(l,d,h,g){var N=new H(l,d,h,g);return pr(N),N},An=function(l,d,h,g){return new H(l,d,h,g)},mr=function(l,d,h){var g=Cn([l],[],d);return g.height=Math.max(h||d.fontMetrics().defaultRuleThickness,d.minRuleThickness),g.style.borderBottomWidth=g.height+"em",g.maxFontSize=1,g},Vn=function(l,d,h,g){var N=new O(l,d,h,g);return pr(N),N},Dr=function(l){var d=new It(l);return pr(d),d},tr=function(l,d){return l instanceof It?Cn([],[l],d):l},dr=function(l){if(l.positionType==="individualShift"){for(var d=l.children,h=[d[0]],g=-d[0].shift-d[0].elem.depth,N=g,le=1;le<d.length;le++){var Pe=-d[le].shift-N-d[le].elem.depth,Me=Pe-(d[le-1].elem.height+d[le-1].elem.depth);N=N+Pe,h.push({type:"kern",size:Me}),h.push(d[le])}return{children:h,depth:g}}var Xe;if(l.positionType==="top"){for(var gt=l.positionData,Tt=0;Tt<l.children.length;Tt++){var $t=l.children[Tt];gt-=$t.type==="kern"?$t.size:$t.elem.height+$t.elem.depth}Xe=gt}else if(l.positionType==="bottom")Xe=-l.positionData;else{var Sn=l.children[0];if(Sn.type!=="elem")throw new Error('First child must have type "elem".');if(l.positionType==="shift")Xe=-Sn.elem.depth-l.positionData;else if(l.positionType==="firstBaseline")Xe=-Sn.elem.depth;else throw new Error("Invalid positionType "+l.positionType+".")}return{children:l.children,depth:Xe}},vr=function(l,d){for(var h=dr(l),g=h.children,N=h.depth,le=0,Pe=0;Pe<g.length;Pe++){var Me=g[Pe];if(Me.type==="elem"){var Xe=Me.elem;le=Math.max(le,Xe.maxFontSize,Xe.height)}}le+=2;var gt=Cn(["pstrut"],[]);gt.style.height=le+"em";for(var Tt=[],$t=N,Sn=N,qt=N,on=0;on<g.length;on++){var yn=g[on];if(yn.type==="kern")qt+=yn.size;else{var Tn=yn.elem,ir=yn.wrapperClasses||[],Dn=yn.wrapperStyle||{},rr=Cn(ir,[gt,Tn],void 0,Dn);rr.style.top=-le-qt-Tn.depth+"em",yn.marginLeft&&(rr.style.marginLeft=yn.marginLeft),yn.marginRight&&(rr.style.marginRight=yn.marginRight),Tt.push(rr),qt+=Tn.height+Tn.depth}$t=Math.min($t,qt),Sn=Math.max(Sn,qt)}var Er=Cn(["vlist"],Tt);Er.style.height=Sn+"em";var _r;if($t<0){var ii=Cn([],[]),ai=Cn(["vlist"],[ii]);ai.style.height=-$t+"em";var Wi=Cn(["vlist-s"],[new E("\u200B")]);_r=[Cn(["vlist-r"],[Er,Wi]),Cn(["vlist-r"],[ai])]}else _r=[Cn(["vlist-r"],[Er])];var ci=Cn(["vlist-t"],_r);return _r.length===2&&ci.classes.push("vlist-t2"),ci.height=Sn,ci.depth=-$t,ci},nr=function(l,d){var h=Cn(["mspace"],[],d),g=yt(l,d);return h.style.marginRight=g+"em",h},Ir=function(l,d,h){var g="";switch(l){case"amsrm":g="AMS";break;case"textrm":g="Main";break;case"textsf":g="SansSerif";break;case"texttt":g="Typewriter";break;default:g=l}var N;return d==="textbf"&&h==="textit"?N="BoldItalic":d==="textbf"?N="Bold":d==="textit"?N="Italic":N="Regular",g+"-"+N},$r={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"}},Jn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Fn=function(l,d){var h=Jn[l],g=h[0],N=h[1],le=h[2],Pe=new X(g),Me=new T([Pe],{width:N+"em",height:le+"em",style:"width:"+N+"em",viewBox:"0 0 "+1e3*N+" "+1e3*le,preserveAspectRatio:"xMinYMin"}),Xe=An(["overlay"],[Me],d);return Xe.height=le,Xe.style.height=le+"em",Xe.style.width=N+"em",Xe},at={fontMap:$r,makeSymbol:Ot,mathsym:Yt,makeSpan:Cn,makeSvgSpan:An,makeLineSpan:mr,makeAnchor:Vn,makeFragment:Dr,wrapFragment:tr,makeVList:vr,makeOrd:In,makeGlue:nr,staticSvg:Fn,svgData:Jn,tryCombineChars:er};function zn(re,l){var d=sr(re,l);if(!d)throw new Error("Expected node of type "+l+", but got "+(re?"node of type "+re.type:String(re)));return d}function sr(re,l){return re&&re.type===l?re:null}function wr(re,l){var d=Cr(re,l);if(!d)throw new Error('Expected node of type "atom" and family "'+l+'", but got '+(re?re.type==="atom"?"atom of family "+re.family:"node of type "+re.type:String(re)));return d}function Cr(re,l){return re&&re.type==="atom"&&re.family===l?re:null}function Nr(re){var l=jr(re);if(!l)throw new Error("Expected node of symbol group type, but got "+(re?"node of type "+re.type:String(re)));return l}function jr(re){return re&&(re.type==="atom"||ht.hasOwnProperty(re.type))?re:null}var Sr={number:3,unit:"mu"},Mr={number:4,unit:"mu"},Gr={number:5,unit:"mu"},On={mord:{mop:Sr,mbin:Mr,mrel:Gr,minner:Sr},mop:{mord:Sr,mop:Sr,mrel:Gr,minner:Sr},mbin:{mord:Mr,mop:Mr,mopen:Mr,minner:Mr},mrel:{mord:Gr,mop:Gr,mopen:Gr,minner:Gr},mopen:{},mclose:{mop:Sr,mbin:Mr,mrel:Gr,minner:Sr},mpunct:{mord:Sr,mop:Sr,mrel:Gr,mopen:Sr,mclose:Sr,mpunct:Sr,minner:Sr},minner:{mord:Sr,mop:Sr,mbin:Mr,mrel:Gr,mopen:Sr,mpunct:Sr,minner:Sr}},Kn={mord:{mop:Sr},mop:{mord:Sr,mop:Sr},mbin:{},mrel:{},mopen:{},mclose:{mop:Sr},mpunct:{},minner:{mop:Sr}},gr={},Lr={},Xr={};function jn(re){for(var l=re.type,d=re.names,h=re.props,g=re.handler,N=re.htmlBuilder,le=re.mathmlBuilder,Pe={type:l,numArgs:h.numArgs,argTypes:h.argTypes,greediness:h.greediness===void 0?1:h.greediness,allowedInText:!!h.allowedInText,allowedInMath:h.allowedInMath===void 0?!0:h.allowedInMath,numOptionalArgs:h.numOptionalArgs||0,infix:!!h.infix,handler:g},Me=0;Me<d.length;++Me)gr[d[Me]]=Pe;l&&(N&&(Lr[l]=N),le&&(Xr[l]=le))}function zr(re){var l=re.type,d=re.htmlBuilder,h=re.mathmlBuilder;jn({type:l,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:d,mathmlBuilder:h})}var Vr=function(l){var d=sr(l,"ordgroup");return d?d.body:[l]},fi=at.makeSpan,ki=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ai=["rightmost","mrel","mclose","mpunct"],ti={display:v.DISPLAY,text:v.TEXT,script:v.SCRIPT,scriptscript:v.SCRIPTSCRIPT},vi={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},li=function(l,d,h,g){g===void 0&&(g=[null,null]);for(var N=[],le=0;le<l.length;le++){var Pe=Kr(l[le],d);if(Pe instanceof It){var Me=Pe.children;N.push.apply(N,Me)}else N.push(Pe)}if(!h)return N;var Xe=d;if(l.length===1){var gt=sr(l[0],"sizing")||sr(l[0],"styling");gt&&(gt.type==="sizing"?Xe=d.havingSize(gt.size):gt.type==="styling"&&(Xe=d.havingStyle(ti[gt.style])))}var Tt=fi([g[0]||"leftmost"],[],d),$t=fi([g[1]||"rightmost"],[],d);return Di(N,function(Sn,qt){var on=qt.classes[0],yn=Sn.classes[0];on==="mbin"&&U.contains(Ai,yn)?qt.classes[0]="mord":yn==="mbin"&&U.contains(ki,on)&&(Sn.classes[0]="mord")},{node:Tt},$t),Di(N,function(Sn,qt){var on=Ri(qt),yn=Ri(Sn),Tn=on&&yn?Sn.hasClass("mtight")?Kn[on][yn]:On[on][yn]:null;if(Tn)return at.makeGlue(Tn,Xe)},{node:Tt},$t),N},Di=function re(l,d,h,g){g&&l.push(g);for(var N=0;N<l.length;N++){var le=l[N],Pe=Fi(le);if(Pe){re(Pe.children,d,h);continue}if(le.classes[0]!=="mspace"){var Me=d(le,h.node);Me&&(h.insertAfter?h.insertAfter(Me):(l.unshift(Me),N++)),h.node=le,h.insertAfter=function(Xe){return function(gt){l.splice(Xe+1,0,gt),N++}}(N)}}g&&l.pop()},Fi=function(l){return l instanceof It||l instanceof O?l:null},Vi=function re(l,d){var h=Fi(l);if(h){var g=h.children;if(g.length){if(d==="right")return re(g[g.length-1],"right");if(d==="left")return re(g[0],"left")}}return l},Ri=function(l,d){return l?(d&&(l=Vi(l,d)),vi[l.classes[0]]||null):null},Zi=function(l,d){var h=["nulldelimiter"].concat(l.baseSizingClasses());return fi(d.concat(h))},Kr=function(l,d,h){if(!l)return fi();if(Lr[l.type]){var g=Lr[l.type](l,d);if(h&&d.size!==h.size){g=fi(d.sizingClasses(h),[g],d);var N=d.sizeMultiplier/h.sizeMultiplier;g.height*=N,g.depth*=N}return g}else throw new q("Got group of unknown type: '"+l.type+"'")};function aa(re,l){var d=fi(["base"],re,l),h=fi(["strut"]);return h.style.height=d.height+d.depth+"em",h.style.verticalAlign=-d.depth+"em",d.children.unshift(h),d}function ga(re,l){var d=null;re.length===1&&re[0].type==="tag"&&(d=re[0].tag,re=re[0].body);for(var h=li(re,l,!0),g=[],N=[],le=0;le<h.length;le++)if(N.push(h[le]),h[le].hasClass("mbin")||h[le].hasClass("mrel")||h[le].hasClass("allowbreak")){for(var Pe=!1;le<h.length-1&&h[le+1].hasClass("mspace")&&!h[le+1].hasClass("newline");)le++,N.push(h[le]),h[le].hasClass("nobreak")&&(Pe=!0);Pe||(g.push(aa(N,l)),N=[])}else h[le].hasClass("newline")&&(N.pop(),N.length>0&&(g.push(aa(N,l)),N=[]),g.push(h[le]));N.length>0&&g.push(aa(N,l));var Me;d&&(Me=aa(li(d,l,!0)),Me.classes=["tag"],g.push(Me));var Xe=fi(["katex-html"],g);if(Xe.setAttribute("aria-hidden","true"),Me){var gt=Me.children[0];gt.style.height=Xe.height+Xe.depth+"em",gt.style.verticalAlign=-Xe.depth+"em"}return Xe}function ua(re){return new It(re)}var yi=function(){function re(d,h){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=d,this.attributes={},this.children=h||[]}var l=re.prototype;return l.setAttribute=function(h,g){this.attributes[h]=g},l.getAttribute=function(h){return this.attributes[h]},l.toNode=function(){var h=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&h.setAttribute(g,this.attributes[g]);for(var N=0;N<this.children.length;N++)h.appendChild(this.children[N].toNode());return h},l.toMarkup=function(){var h="<"+this.type;for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(h+=" "+g+'="',h+=U.escape(this.attributes[g]),h+='"');h+=">";for(var N=0;N<this.children.length;N++)h+=this.children[N].toMarkup();return h+="</"+this.type+">",h},l.toText=function(){return this.children.map(function(h){return h.toText()}).join("")},re}(),ca=function(){function re(d){this.text=void 0,this.text=d}var l=re.prototype;return l.toNode=function(){return document.createTextNode(this.text)},l.toMarkup=function(){return U.escape(this.toText())},l.toText=function(){return this.text},re}(),_a=function(){function re(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=re.prototype;return l.toNode=function(){if(this.character)return document.createTextNode(this.character);var h=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return h.setAttribute("width",this.width+"em"),h},l.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},l.toText=function(){return this.character?this.character:" "},re}(),Pn={MathNode:yi,TextNode:ca,SpaceNode:_a,newDocumentFragment:ua},Ni=function(l,d,h){return _t[d][l]&&_t[d][l].replace&&l.charCodeAt(0)!==55349&&!(mn.hasOwnProperty(l)&&h&&(h.fontFamily&&h.fontFamily.substr(4,2)==="tt"||h.font&&h.font.substr(4,2)==="tt"))&&(l=_t[d][l].replace),new Pn.TextNode(l)},na=function(l){return l.length===1?l[0]:new Pn.MathNode("mrow",l)},or=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 h=d.font;if(!h||h==="mathnormal")return null;var g=l.mode;if(h==="mathit")return"italic";if(h==="boldsymbol")return"bold-italic";if(h==="mathbf")return"bold";if(h==="mathbb")return"double-struck";if(h==="mathfrak")return"fraktur";if(h==="mathscr"||h==="mathcal")return"script";if(h==="mathsf")return"sans-serif";if(h==="mathtt")return"monospace";var N=l.text;if(U.contains(["\\imath","\\jmath"],N))return null;_t[g][N]&&_t[g][N].replace&&(N=_t[g][N].replace);var le=at.fontMap[h].fontName;return et(N,le,g)?at.fontMap[h].variant:null},xr=function(l,d,h){if(l.length===1){var g=Gn(l[0],d);return h&&g instanceof yi&&g.type==="mo"&&(g.setAttribute("lspace","0em"),g.setAttribute("rspace","0em")),[g]}for(var N=[],le,Pe=0;Pe<l.length;Pe++){var Me=Gn(l[Pe],d);if(Me instanceof yi&&le instanceof yi){if(Me.type==="mtext"&&le.type==="mtext"&&Me.getAttribute("mathvariant")===le.getAttribute("mathvariant")){var Xe;(Xe=le.children).push.apply(Xe,Me.children);continue}else if(Me.type==="mn"&&le.type==="mn"){var gt;(gt=le.children).push.apply(gt,Me.children);continue}else if(Me.type==="mi"&&Me.children.length===1&&le.type==="mn"){var Tt=Me.children[0];if(Tt instanceof ca&&Tt.text==="."){var $t;($t=le.children).push.apply($t,Me.children);continue}}else if(le.type==="mi"&&le.children.length===1){var Sn=le.children[0];if(Sn instanceof ca&&Sn.text==="\u0338"&&(Me.type==="mo"||Me.type==="mi"||Me.type==="mn")){var qt=Me.children[0];qt instanceof ca&&qt.text.length>0&&(qt.text=qt.text.slice(0,1)+"\u0338"+qt.text.slice(1),N.pop())}}}N.push(Me),le=Me}return N},lr=function(l,d,h){return na(xr(l,d,h))},Gn=function(l,d){if(!l)return new Pn.MathNode("mrow");if(Xr[l.type]){var h=Xr[l.type](l,d);return h}else throw new q("Got group of unknown type: '"+l.type+"'")};function Pr(re,l,d,h){var g=xr(re,d),N;g.length===1&&g[0]instanceof yi&&U.contains(["mrow","mtable"],g[0].type)?N=g[0]:N=new Pn.MathNode("mrow",g);var le=new Pn.MathNode("annotation",[new Pn.TextNode(l)]);le.setAttribute("encoding","application/x-tex");var Pe=new Pn.MathNode("semantics",[N,le]),Me=new Pn.MathNode("math",[Pe]);Me.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Xe=h?"katex":"katex-mathml";return at.makeSpan([Xe],[Me])}var Qr=function(l){return new Xn({style:l.displayMode?v.DISPLAY:v.TEXT,maxSize:l.maxSize,minRuleThickness:l.minRuleThickness})},Pi=function(l,d){if(d.displayMode){var h=["katex-display"];d.leqno&&h.push("leqno"),d.fleqn&&h.push("fleqn"),l=at.makeSpan(h,[l])}return l},bi=function(l,d,h){var g=Qr(h),N;if(h.output==="mathml")return Pr(l,d,g,!0);if(h.output==="html"){var le=ga(l,g);N=at.makeSpan(["katex"],[le])}else{var Pe=Pr(l,d,g,!1),Me=ga(l,g);N=at.makeSpan(["katex"],[Pe,Me])}return Pi(N,h)},Ii=function(l,d,h){var g=Qr(h),N=ga(l,g),le=at.makeSpan(["katex"],[N]);return Pi(le,h)},Ui=bi,va={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"},wa=function(l){var d=new Pn.MathNode("mo",[new Pn.TextNode(va[l.substr(1)])]);return d.setAttribute("stretchy","true"),d},Wa={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]},da=function(l){return l.type==="ordgroup"?l.body.length:1},fa=function(l,d){function h(){var Me=4e5,Xe=l.label.substr(1);if(U.contains(["widehat","widecheck","widetilde","utilde"],Xe)){var gt=l,Tt=da(gt.base),$t,Sn,qt;if(Tt>5)Xe==="widehat"||Xe==="widecheck"?($t=420,Me=2364,qt=.42,Sn=Xe+"4"):($t=312,Me=2340,qt=.34,Sn="tilde4");else{var on=[1,1,2,2,3,3][Tt];Xe==="widehat"||Xe==="widecheck"?(Me=[0,1062,2364,2364,2364][on],$t=[0,239,300,360,420][on],qt=[0,.24,.3,.3,.36,.42][on],Sn=Xe+on):(Me=[0,600,1033,2339,2340][on],$t=[0,260,286,306,312][on],qt=[0,.26,.286,.3,.306,.34][on],Sn="tilde"+on)}var yn=new X(Sn),Tn=new T([yn],{width:"100%",height:qt+"em",viewBox:"0 0 "+Me+" "+$t,preserveAspectRatio:"none"});return{span:at.makeSvgSpan([],[Tn],d),minWidth:0,height:qt}}else{var ir=[],Dn=Wa[Xe],rr=Dn[0],Er=Dn[1],_r=Dn[2],ii=_r/1e3,ai=rr.length,Wi,ci;if(ai===1){var si=Dn[3];Wi=["hide-tail"],ci=[si]}else if(ai===2)Wi=["halfarrow-left","halfarrow-right"],ci=["xMinYMin","xMaxYMin"];else if(ai===3)Wi=["brace-left","brace-center","brace-right"],ci=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+ai+" children.");for(var Si=0;Si<ai;Si++){var qi=new X(rr[Si]),xa=new T([qi],{width:"400em",height:ii+"em",viewBox:"0 0 "+Me+" "+_r,preserveAspectRatio:ci[Si]+" slice"}),Hr=at.makeSvgSpan([Wi[Si]],[xa],d);if(ai===1)return{span:Hr,minWidth:Er,height:ii};Hr.style.height=ii+"em",ir.push(Hr)}return{span:at.makeSpan(["stretchy"],ir,d),minWidth:Er,height:ii}}}var g=h(),N=g.span,le=g.minWidth,Pe=g.height;return N.height=Pe,N.style.height=Pe+"em",le>0&&(N.style.minWidth=le+"em"),N},ur=function(l,d,h,g){var N,le=l.height+l.depth+2*h;if(/fbox|color/.test(d)){if(N=at.makeSpan(["stretchy",d],[],g),d==="fbox"){var Pe=g.color&&g.getColor();Pe&&(N.style.borderColor=Pe)}}else{var Me=[];/^[bx]cancel$/.test(d)&&Me.push(new Z({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(d)&&Me.push(new Z({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Xe=new T(Me,{width:"100%",height:le+"em"});N=at.makeSvgSpan([],[Xe],g)}return N.height=le,N.style.height=le+"em",N},ar={encloseSpan:ur,mathMLnode:wa,svgSpan:fa},Jr=function(l,d){var h,g,N=sr(l,"supsub"),le;N?(g=zn(N.base,"accent"),h=g.base,N.base=h,le=we(Kr(N,d)),N.base=g):(g=zn(l,"accent"),h=g.base);var Pe=Kr(h,d.havingCrampedStyle()),Me=g.isShifty&&U.isCharacterBox(h),Xe=0;if(Me){var gt=U.getBaseElem(h),Tt=Kr(gt,d.havingCrampedStyle());Xe=K(Tt).skew}var $t=Math.min(Pe.height,d.fontMetrics().xHeight),Sn;if(g.isStretchy)Sn=ar.svgSpan(g,d),Sn=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pe},{type:"elem",elem:Sn,wrapperClasses:["svg-align"],wrapperStyle:Xe>0?{width:"calc(100% - "+2*Xe+"em)",marginLeft:2*Xe+"em"}:void 0}]},d);else{var qt,on;g.label==="\\vec"?(qt=at.staticSvg("vec",d),on=at.svgData.vec[1]):(qt=at.makeOrd({mode:g.mode,text:g.label},d,"textord"),qt=K(qt),qt.italic=0,on=qt.width),Sn=at.makeSpan(["accent-body"],[qt]);var yn=g.label==="\\textcircled";yn&&(Sn.classes.push("accent-full"),$t=Pe.height);var Tn=Xe;yn||(Tn-=on/2),Sn.style.left=Tn+"em",g.label==="\\textcircled"&&(Sn.style.top=".2em"),Sn=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pe},{type:"kern",size:-$t},{type:"elem",elem:Sn}]},d)}var ir=at.makeSpan(["mord","accent"],[Sn],d);return le?(le.children[0]=ir,le.height=Math.max(ir.height,le.height),le.classes[0]="mord",le):ir},Ki=function(l,d){var h=l.isStretchy?ar.mathMLnode(l.label):new Pn.MathNode("mo",[Ni(l.label,l.mode)]),g=new Pn.MathNode("mover",[Gn(l.base,d),h]);return g.setAttribute("accent","true"),g},ui=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(re){return"\\"+re}).join("|"));jn({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 h=d[0],g=!ui.test(l.funcName),N=!g||l.funcName==="\\widehat"||l.funcName==="\\widetilde"||l.funcName==="\\widecheck";return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:g,isShifty:N,base:h}},htmlBuilder:Jr,mathmlBuilder:Ki}),jn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(l,d){var h=d[0];return{type:"accent",mode:l.parser.mode,label:l.funcName,isStretchy:!1,isShifty:!0,base:h}},htmlBuilder:Jr,mathmlBuilder:Ki}),jn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];return{type:"accentUnder",mode:h.mode,label:g,base:N}},htmlBuilder:function(l,d){var h=Kr(l.base,d),g=ar.svgSpan(l,d),N=l.label==="\\utilde"?.12:0,le=at.makeVList({positionType:"bottom",positionData:g.height+N,children:[{type:"elem",elem:g,wrapperClasses:["svg-align"]},{type:"kern",size:N},{type:"elem",elem:h}]},d);return at.makeSpan(["mord","accentunder"],[le],d)},mathmlBuilder:function(l,d){var h=ar.mathMLnode(l.label),g=new Pn.MathNode("munder",[Gn(l.base,d),h]);return g.setAttribute("accentunder","true"),g}});var sa=function(l){var d=new Pn.MathNode("mpadded",l?[l]:[]);return d.setAttribute("width","+0.6em"),d.setAttribute("lspace","0.3em"),d};jn({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,h){var g=l.parser,N=l.funcName;return{type:"xArrow",mode:g.mode,label:N,body:d[0],below:h[0]}},htmlBuilder:function(l,d){var h=d.style,g=d.havingStyle(h.sup()),N=at.wrapFragment(Kr(l.body,g,d),d);N.classes.push("x-arrow-pad");var le;l.below&&(g=d.havingStyle(h.sub()),le=at.wrapFragment(Kr(l.below,g,d),d),le.classes.push("x-arrow-pad"));var Pe=ar.svgSpan(l,d),Me=-d.fontMetrics().axisHeight+.5*Pe.height,Xe=-d.fontMetrics().axisHeight-.5*Pe.height-.111;(N.depth>.25||l.label==="\\xleftequilibrium")&&(Xe-=N.depth);var gt;if(le){var Tt=-d.fontMetrics().axisHeight+le.height+.5*Pe.height+.111;gt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:Xe},{type:"elem",elem:Pe,shift:Me},{type:"elem",elem:le,shift:Tt}]},d)}else gt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:Xe},{type:"elem",elem:Pe,shift:Me}]},d);return gt.children[0].children[0].children[1].classes.push("svg-align"),at.makeSpan(["mrel","x-arrow"],[gt],d)},mathmlBuilder:function(l,d){var h=ar.mathMLnode(l.label),g;if(l.body){var N=sa(Gn(l.body,d));if(l.below){var le=sa(Gn(l.below,d));g=new Pn.MathNode("munderover",[h,le,N])}else g=new Pn.MathNode("mover",[h,N])}else if(l.below){var Pe=sa(Gn(l.below,d));g=new Pn.MathNode("munder",[h,Pe])}else g=sa(),g=new Pn.MathNode("mover",[h,g]);return g}}),jn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){for(var h=l.parser,g=zn(d[0],"ordgroup"),N=g.body,le="",Pe=0;Pe<N.length;Pe++){var Me=zn(N[Pe],"textord");le+=Me.text}var Xe=parseInt(le);if(isNaN(Xe))throw new q("\\@char has non-numeric argument "+le);return{type:"textord",mode:h.mode,text:String.fromCharCode(Xe)}}});var Va=function(l,d){var h=li(l.body,d.withColor(l.color),!1);return at.makeFragment(h)},Ha=function(l,d){var h=xr(l.body,d.withColor(l.color)),g=new Pn.MathNode("mstyle",h);return g.setAttribute("mathcolor",l.color),g};jn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(l,d){var h=l.parser,g=zn(d[0],"color-token").color,N=d[1];return{type:"color",mode:h.mode,color:g,body:Vr(N)}},htmlBuilder:Va,mathmlBuilder:Ha}),jn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(l,d){var h=l.parser,g=l.breakOnTokenText,N=zn(d[0],"color-token").color;h.gullet.macros.set("\\current@color",N);var le=h.parseExpression(!0,g);return{type:"color",mode:h.mode,color:N,body:le}},htmlBuilder:Va,mathmlBuilder:Ha}),jn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(l,d,h){var g=l.parser,N=l.funcName,le=h[0],Pe=N==="\\cr",Me=!1;return Pe||(g.settings.displayMode&&g.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Me=!1:Me=!0),{type:"cr",mode:g.mode,newLine:Me,newRow:Pe,size:le&&zn(le,"size").value}},htmlBuilder:function(l,d){if(l.newRow)throw new q("\\cr valid only within a tabular/array environment");var h=at.makeSpan(["mspace"],[],d);return l.newLine&&(h.classes.push("newline"),l.size&&(h.style.marginTop=yt(l.size,d)+"em")),h},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mspace");return l.newLine&&(h.setAttribute("linebreak","newline"),l.size&&h.setAttribute("height",yt(l.size,d)+"em")),h}});var ya=function(l,d,h){var g=_t.math[l]&&_t.math[l].replace,N=et(g||l,d,h);if(!N)throw new Error("Unsupported symbol "+l+" and font size "+d+".");return N},as=function(l,d,h,g){var N=h.havingBaseStyle(d),le=at.makeSpan(g.concat(N.sizingClasses(h)),[l],h),Pe=N.sizeMultiplier/h.sizeMultiplier;return le.height*=Pe,le.depth*=Pe,le.maxFontSize=N.sizeMultiplier,le},ss=function(l,d,h){var g=d.havingBaseStyle(h),N=(1-d.sizeMultiplier/g.sizeMultiplier)*d.fontMetrics().axisHeight;l.classes.push("delimcenter"),l.style.top=N+"em",l.height-=N,l.depth+=N},os=function(l,d,h,g,N,le){var Pe=at.makeSymbol(l,"Main-Regular",N,g),Me=as(Pe,d,g,le);return h&&ss(Me,g,d),Me},ts=function(l,d,h,g){return at.makeSymbol(l,"Size"+d+"-Regular",h,g)},ls=function(l,d,h,g,N,le){var Pe=ts(l,d,N,g),Me=as(at.makeSpan(["delimsizing","size"+d],[Pe],g),v.TEXT,g,le);return h&&ss(Me,g,v.TEXT),Me},Ta=function(l,d,h){var g;d==="Size1-Regular"?g="delim-size1":g="delim-size4";var N=at.makeSpan(["delimsizinginner",g],[at.makeSpan([],[at.makeSymbol(l,d,h)])]);return{type:"elem",elem:N}},Qi={type:"kern",size:-.005},us=function(l,d,h,g,N,le){var Pe,Me,Xe,gt;Pe=Xe=gt=l,Me=null;var Tt="Size1-Regular";l==="\\uparrow"?Xe=gt="\u23D0":l==="\\Uparrow"?Xe=gt="\u2016":l==="\\downarrow"?Pe=Xe="\u23D0":l==="\\Downarrow"?Pe=Xe="\u2016":l==="\\updownarrow"?(Pe="\\uparrow",Xe="\u23D0",gt="\\downarrow"):l==="\\Updownarrow"?(Pe="\\Uparrow",Xe="\u2016",gt="\\Downarrow"):l==="["||l==="\\lbrack"?(Pe="\u23A1",Xe="\u23A2",gt="\u23A3",Tt="Size4-Regular"):l==="]"||l==="\\rbrack"?(Pe="\u23A4",Xe="\u23A5",gt="\u23A6",Tt="Size4-Regular"):l==="\\lfloor"||l==="\u230A"?(Xe=Pe="\u23A2",gt="\u23A3",Tt="Size4-Regular"):l==="\\lceil"||l==="\u2308"?(Pe="\u23A1",Xe=gt="\u23A2",Tt="Size4-Regular"):l==="\\rfloor"||l==="\u230B"?(Xe=Pe="\u23A5",gt="\u23A6",Tt="Size4-Regular"):l==="\\rceil"||l==="\u2309"?(Pe="\u23A4",Xe=gt="\u23A5",Tt="Size4-Regular"):l==="("||l==="\\lparen"?(Pe="\u239B",Xe="\u239C",gt="\u239D",Tt="Size4-Regular"):l===")"||l==="\\rparen"?(Pe="\u239E",Xe="\u239F",gt="\u23A0",Tt="Size4-Regular"):l==="\\{"||l==="\\lbrace"?(Pe="\u23A7",Me="\u23A8",gt="\u23A9",Xe="\u23AA",Tt="Size4-Regular"):l==="\\}"||l==="\\rbrace"?(Pe="\u23AB",Me="\u23AC",gt="\u23AD",Xe="\u23AA",Tt="Size4-Regular"):l==="\\lgroup"||l==="\u27EE"?(Pe="\u23A7",gt="\u23A9",Xe="\u23AA",Tt="Size4-Regular"):l==="\\rgroup"||l==="\u27EF"?(Pe="\u23AB",gt="\u23AD",Xe="\u23AA",Tt="Size4-Regular"):l==="\\lmoustache"||l==="\u23B0"?(Pe="\u23A7",gt="\u23AD",Xe="\u23AA",Tt="Size4-Regular"):(l==="\\rmoustache"||l==="\u23B1")&&(Pe="\u23AB",gt="\u23A9",Xe="\u23AA",Tt="Size4-Regular");var $t=ya(Pe,Tt,N),Sn=$t.height+$t.depth,qt=ya(Xe,Tt,N),on=qt.height+qt.depth,yn=ya(gt,Tt,N),Tn=yn.height+yn.depth,ir=0,Dn=1;if(Me!==null){var rr=ya(Me,Tt,N);ir=rr.height+rr.depth,Dn=2}var Er=Sn+Tn+ir,_r=Math.max(0,Math.ceil((d-Er)/(Dn*on))),ii=Er+_r*Dn*on,ai=g.fontMetrics().axisHeight;h&&(ai*=g.sizeMultiplier);var Wi=ii/2-ai,ci=(_r+1)*.005-on,si=[];if(si.push(Ta(gt,Tt,N)),Me===null)for(var Si=0;Si<_r;Si++)si.push(Qi),si.push(Ta(Xe,Tt,N));else{for(var qi=0;qi<_r;qi++)si.push(Qi),si.push(Ta(Xe,Tt,N));si.push({type:"kern",size:ci}),si.push(Ta(Xe,Tt,N)),si.push(Qi),si.push(Ta(Me,Tt,N));for(var xa=0;xa<_r;xa++)si.push(Qi),si.push(Ta(Xe,Tt,N))}si.push({type:"kern",size:ci}),si.push(Ta(Xe,Tt,N)),si.push(Qi),si.push(Ta(Pe,Tt,N));var Hr=g.havingBaseStyle(v.TEXT),ei=at.makeVList({positionType:"bottom",positionData:Wi,children:si},Hr);return as(at.makeSpan(["delimsizing","mult"],[ei],Hr),v.TEXT,g,le)},ns=80,ba=.08,Sa=function(l,d,h,g,N){var le=Jt(l,g,h),Pe=new X(l,le),Me=new T([Pe],{width:"400em",height:d+"em",viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});return at.makeSvgSpan(["hide-tail"],[Me],N)},ni=function(l,d){var h=d.havingBaseSizing(),g=Ba("\\surd",l*h.sizeMultiplier,la,h),N=h.sizeMultiplier,le=Math.max(0,d.minRuleThickness-d.fontMetrics().sqrtRuleThickness),Pe,Me=0,Xe=0,gt=0,Tt;return g.type==="small"?(gt=1e3+1e3*le+ns,l<1?N=1:l<1.4&&(N=.7),Me=(1+le+ba)/N,Xe=(1+le)/N,Pe=Sa("sqrtMain",Me,gt,le,d),Pe.style.minWidth="0.853em",Tt=.833/N):g.type==="large"?(gt=(1e3+ns)*Oi[g.size],Xe=(Oi[g.size]+le)/N,Me=(Oi[g.size]+le+ba)/N,Pe=Sa("sqrtSize"+g.size,Me,gt,le,d),Pe.style.minWidth="1.02em",Tt=1/N):(Me=l+le+ba,Xe=l+le,gt=Math.floor(1e3*l+le)+ns,Pe=Sa("sqrtTall",Me,gt,le,d),Pe.style.minWidth="0.742em",Tt=1.056),Pe.height=Xe,Pe.style.height=Me+"em",{span:Pe,advanceWidth:Tt,ruleWidth:(d.fontMetrics().sqrtRuleThickness+le)*N}},Ur=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ia=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],zi=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Oi=[0,1.2,1.8,2.4,3],oa=function(l,d,h,g,N){if(l==="<"||l==="\\lt"||l==="\u27E8"?l="\\langle":(l===">"||l==="\\gt"||l==="\u27E9")&&(l="\\rangle"),U.contains(Ur,l)||U.contains(zi,l))return ls(l,d,!1,h,g,N);if(U.contains(ia,l))return us(l,Oi[d],!1,h,g,N);throw new q("Illegal delimiter: '"+l+"'")},mi=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ia=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"stack"}],la=[{type:"small",style:v.SCRIPTSCRIPT},{type:"small",style:v.SCRIPT},{type:"small",style:v.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ka=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.")},Ba=function(l,d,h,g){for(var N=Math.min(2,3-g.style.size),le=N;le<h.length&&h[le].type!=="stack";le++){var Pe=ya(l,ka(h[le]),"math"),Me=Pe.height+Pe.depth;if(h[le].type==="small"){var Xe=g.havingBaseStyle(h[le].style);Me*=Xe.sizeMultiplier}if(Me>d)return h[le]}return h[h.length-1]},wi=function(l,d,h,g,N,le){l==="<"||l==="\\lt"||l==="\u27E8"?l="\\langle":(l===">"||l==="\\gt"||l==="\u27E9")&&(l="\\rangle");var Pe;U.contains(zi,l)?Pe=mi:U.contains(Ur,l)?Pe=la:Pe=Ia;var Me=Ba(l,d,Pe,g);return Me.type==="small"?os(l,Me.style,h,g,N,le):Me.type==="large"?ls(l,Me.size,h,g,N,le):us(l,d,h,g,N,le)},vs=function(l,d,h,g,N,le){var Pe=g.fontMetrics().axisHeight*g.sizeMultiplier,Me=901,Xe=5/g.fontMetrics().ptPerEm,gt=Math.max(d-Pe,h+Pe),Tt=Math.max(gt/500*Me,2*gt-Xe);return wi(l,Tt,!0,g,N,le)},Ca={sqrtImage:ni,sizedDelim:oa,customSizedDelim:wi,leftRightDelim:vs},Za={"\\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 Qa(re,l){var d=jr(re);if(d&&U.contains(Cs,d.text))return d;throw new q("Invalid delimiter: '"+(d?d.text:JSON.stringify(re))+"' after '"+l.funcName+"'",re)}jn({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 h=Qa(d[0],l);return{type:"delimsizing",mode:l.parser.mode,size:Za[l.funcName].size,mclass:Za[l.funcName].mclass,delim:h.text}},htmlBuilder:function(l,d){return l.delim==="."?at.makeSpan([l.mclass]):Ca.sizedDelim(l.delim,l.size,d,l.mode,[l.mclass])},mathmlBuilder:function(l){var d=[];l.delim!=="."&&d.push(Ni(l.delim,l.mode));var h=new Pn.MathNode("mo",d);return l.mclass==="mopen"||l.mclass==="mclose"?h.setAttribute("fence","true"):h.setAttribute("fence","false"),h}});function cs(re){if(!re.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}jn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(l,d){var h=l.parser.gullet.macros.get("\\current@color");if(h&&typeof h!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:l.parser.mode,delim:Qa(d[0],l).text,color:h}}}),jn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(l,d){var h=Qa(d[0],l),g=l.parser;++g.leftrightDepth;var N=g.parseExpression(!1);--g.leftrightDepth,g.expect("\\right",!1);var le=zn(g.parseFunction(),"leftright-right");return{type:"leftright",mode:g.mode,body:N,left:h.text,right:le.delim,rightColor:le.color}},htmlBuilder:function(l,d){cs(l);for(var h=li(l.body,d,!0,["mopen","mclose"]),g=0,N=0,le=!1,Pe=0;Pe<h.length;Pe++)h[Pe].isMiddle?le=!0:(g=Math.max(h[Pe].height,g),N=Math.max(h[Pe].depth,N));g*=d.sizeMultiplier,N*=d.sizeMultiplier;var Me;if(l.left==="."?Me=Zi(d,["mopen"]):Me=Ca.leftRightDelim(l.left,g,N,d,l.mode,["mopen"]),h.unshift(Me),le)for(var Xe=1;Xe<h.length;Xe++){var gt=h[Xe],Tt=gt.isMiddle;Tt&&(h[Xe]=Ca.leftRightDelim(Tt.delim,g,N,Tt.options,l.mode,[]))}var $t;if(l.right===".")$t=Zi(d,["mclose"]);else{var Sn=l.rightColor?d.withColor(l.rightColor):d;$t=Ca.leftRightDelim(l.right,g,N,Sn,l.mode,["mclose"])}return h.push($t),at.makeSpan(["minner"],h,d)},mathmlBuilder:function(l,d){cs(l);var h=xr(l.body,d);if(l.left!=="."){var g=new Pn.MathNode("mo",[Ni(l.left,l.mode)]);g.setAttribute("fence","true"),h.unshift(g)}if(l.right!=="."){var N=new Pn.MathNode("mo",[Ni(l.right,l.mode)]);N.setAttribute("fence","true"),l.rightColor&&N.setAttribute("mathcolor",l.rightColor),h.push(N)}return na(h)}}),jn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(l,d){var h=Qa(d[0],l);if(!l.parser.leftrightDepth)throw new q("\\middle without preceding \\left",h);return{type:"middle",mode:l.parser.mode,delim:h.text}},htmlBuilder:function(l,d){var h;if(l.delim===".")h=Zi(d,[]);else{h=Ca.sizedDelim(l.delim,1,d,l.mode,[]);var g={delim:l.delim,options:d};h.isMiddle=g}return h},mathmlBuilder:function(l,d){var h=l.delim==="\\vert"||l.delim==="|"?Ni("|","text"):Ni(l.delim,l.mode),g=new Pn.MathNode("mo",[h]);return g.setAttribute("fence","true"),g.setAttribute("lspace","0.05em"),g.setAttribute("rspace","0.05em"),g}});var ys=function(l,d){var h=at.wrapFragment(Kr(l.body,d),d),g=l.label.substr(1),N=d.sizeMultiplier,le,Pe=0,Me=U.isCharacterBox(l.body);if(g==="sout")le=at.makeSpan(["stretchy","sout"]),le.height=d.fontMetrics().defaultRuleThickness/N,Pe=-.5*d.fontMetrics().xHeight;else{/cancel/.test(g)?Me||h.classes.push("cancel-pad"):h.classes.push("boxpad");var Xe=0,gt=0;/box/.test(g)?(gt=Math.max(d.fontMetrics().fboxrule,d.minRuleThickness),Xe=d.fontMetrics().fboxsep+(g==="colorbox"?0:gt)):Xe=Me?.2:0,le=ar.encloseSpan(h,g,Xe,d),/fbox|boxed|fcolorbox/.test(g)&&(le.style.borderStyle="solid",le.style.borderWidth=gt+"em"),Pe=h.depth+Xe,l.backgroundColor&&(le.style.backgroundColor=l.backgroundColor,l.borderColor&&(le.style.borderColor=l.borderColor))}var Tt;return l.backgroundColor?Tt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:le,shift:Pe},{type:"elem",elem:h,shift:0}]},d):Tt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:0},{type:"elem",elem:le,shift:Pe,wrapperClasses:/cancel/.test(g)?["svg-align"]:[]}]},d),/cancel/.test(g)&&(Tt.height=h.height,Tt.depth=h.depth),/cancel/.test(g)&&!Me?at.makeSpan(["mord","cancel-lap"],[Tt],d):at.makeSpan(["mord"],[Tt],d)},ds=function(l,d){var h=0,g=new Pn.MathNode(l.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Gn(l.body,d)]);switch(l.label){case"\\cancel":g.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":g.setAttribute("notation","downdiagonalstrike");break;case"\\sout":g.setAttribute("notation","horizontalstrike");break;case"\\fbox":g.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(h=d.fontMetrics().fboxsep*d.fontMetrics().ptPerEm,g.setAttribute("width","+"+2*h+"pt"),g.setAttribute("height","+"+2*h+"pt"),g.setAttribute("lspace",h+"pt"),g.setAttribute("voffset",h+"pt"),l.label==="\\fcolorbox"){var N=Math.max(d.fontMetrics().fboxrule,d.minRuleThickness);g.setAttribute("style","border: "+N+"em solid "+String(l.borderColor))}break;case"\\xcancel":g.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return l.backgroundColor&&g.setAttribute("mathbackground",l.backgroundColor),g};jn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(l,d,h){var g=l.parser,N=l.funcName,le=zn(d[0],"color-token").color,Pe=d[1];return{type:"enclose",mode:g.mode,label:N,backgroundColor:le,body:Pe}},htmlBuilder:ys,mathmlBuilder:ds}),jn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(l,d,h){var g=l.parser,N=l.funcName,le=zn(d[0],"color-token").color,Pe=zn(d[1],"color-token").color,Me=d[2];return{type:"enclose",mode:g.mode,label:N,backgroundColor:Pe,borderColor:le,body:Me}},htmlBuilder:ys,mathmlBuilder:ds}),jn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(l,d){var h=l.parser;return{type:"enclose",mode:h.mode,label:"\\fbox",body:d[0]}}}),jn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(l,d,h){var g=l.parser,N=l.funcName,le=d[0];return{type:"enclose",mode:g.mode,label:N,body:le}},htmlBuilder:ys,mathmlBuilder:ds});var Rs={};function Oa(re){for(var l=re.type,d=re.names,h=re.props,g=re.handler,N=re.htmlBuilder,le=re.mathmlBuilder,Pe={type:l,numArgs:h.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:g},Me=0;Me<d.length;++Me)Rs[d[Me]]=Pe;N&&(Lr[l]=N),le&&(Xr[l]=le)}function bs(re){var l=[];re.consumeSpaces();for(var d=re.fetch().text;d==="\\hline"||d==="\\hdashline";)re.consume(),l.push(d==="\\hdashline"),re.consumeSpaces(),d=re.fetch().text;return l}function Ci(re,l,d){var h=l.hskipBeforeAndAfter,g=l.addJot,N=l.cols,le=l.arraystretch,Pe=l.colSeparationType;if(re.gullet.beginGroup(),re.gullet.macros.set("\\\\","\\cr"),!le){var Me=re.gullet.expandMacroAsText("\\arraystretch");if(Me==null)le=1;else if(le=parseFloat(Me),!le||le<0)throw new q("Invalid \\arraystretch: "+Me)}re.gullet.beginGroup();var Xe=[],gt=[Xe],Tt=[],$t=[];for($t.push(bs(re));;){var Sn=re.parseExpression(!1,"\\cr");re.gullet.endGroup(),re.gullet.beginGroup(),Sn={type:"ordgroup",mode:re.mode,body:Sn},d&&(Sn={type:"styling",mode:re.mode,style:d,body:[Sn]}),Xe.push(Sn);var qt=re.fetch().text;if(qt==="&")re.consume();else if(qt==="\\end"){Xe.length===1&&Sn.type==="styling"&&Sn.body[0].body.length===0&&gt.pop(),$t.length<gt.length+1&&$t.push([]);break}else if(qt==="\\cr"){var on=zn(re.parseFunction(),"cr");Tt.push(on.size),$t.push(bs(re)),Xe=[],gt.push(Xe)}else throw new q("Expected & or \\\\ or \\cr or \\end",re.nextToken)}return re.gullet.endGroup(),re.gullet.endGroup(),{type:"array",mode:re.mode,addJot:g,arraystretch:le,body:gt,cols:N,rowGaps:Tt,hskipBeforeAndAfter:h,hLinesBeforeRow:$t,colSeparationType:Pe}}function Ei(re){return re.substr(0,1)==="d"?"display":"text"}var gi=function(l,d){var h,g,N=l.body.length,le=l.hLinesBeforeRow,Pe=0,Me=new Array(N),Xe=[],gt=Math.max(d.fontMetrics().arrayRuleWidth,d.minRuleThickness),Tt=1/d.fontMetrics().ptPerEm,$t=5*Tt;if(l.colSeparationType&&l.colSeparationType==="small"){var Sn=d.havingStyle(v.SCRIPT).sizeMultiplier;$t=.2778*(Sn/d.sizeMultiplier)}var qt=12*Tt,on=3*Tt,yn=l.arraystretch*qt,Tn=.7*yn,ir=.3*yn,Dn=0;function rr($i){for(var _i=0;_i<$i.length;++_i)_i>0&&(Dn+=.25),Xe.push({pos:Dn,isDashed:$i[_i]})}for(rr(le[0]),h=0;h<l.body.length;++h){var Er=l.body[h],_r=Tn,ii=ir;Pe<Er.length&&(Pe=Er.length);var ai=new Array(Er.length);for(g=0;g<Er.length;++g){var Wi=Kr(Er[g],d);ii<Wi.depth&&(ii=Wi.depth),_r<Wi.height&&(_r=Wi.height),ai[g]=Wi}var ci=l.rowGaps[h],si=0;ci&&(si=yt(ci,d),si>0&&(si+=ir,ii<si&&(ii=si),si=0)),l.addJot&&(ii+=on),ai.height=_r,ai.depth=ii,Dn+=_r,ai.pos=Dn,Dn+=ii+si,Me[h]=ai,rr(le[h+1])}var Si=Dn/2+d.fontMetrics().axisHeight,qi=l.cols||[],xa=[],Hr,ei;for(g=0,ei=0;g<Pe||ei<qi.length;++g,++ei){for(var qr=qi[ei]||{},Ti=!0;qr.type==="separator";){if(Ti||(Hr=at.makeSpan(["arraycolsep"],[]),Hr.style.width=d.fontMetrics().doubleRuleSep+"em",xa.push(Hr)),qr.separator==="|"||qr.separator===":"){var ea=qr.separator==="|"?"solid":"dashed",Wr=at.makeSpan(["vertical-separator"],[],d);Wr.style.height=Dn+"em",Wr.style.borderRightWidth=gt+"em",Wr.style.borderRightStyle=ea,Wr.style.margin="0 -"+gt/2+"em",Wr.style.verticalAlign=-(Dn-Si)+"em",xa.push(Wr)}else throw new q("Invalid separator type: "+qr.separator);ei++,qr=qi[ei]||{},Ti=!1}if(!(g>=Pe)){var ra=void 0;(g>0||l.hskipBeforeAndAfter)&&(ra=U.deflt(qr.pregap,$t),ra!==0&&(Hr=at.makeSpan(["arraycolsep"],[]),Hr.style.width=ra+"em",xa.push(Hr)));var ta=[];for(h=0;h<N;++h){var Aa=Me[h],Ma=Aa[g];if(Ma){var Ea=Aa.pos-Si;Ma.depth=Aa.depth,Ma.height=Aa.height,ta.push({type:"elem",elem:Ma,shift:Ea})}}ta=at.makeVList({positionType:"individualShift",children:ta},d),ta=at.makeSpan(["col-align-"+(qr.align||"c")],[ta]),xa.push(ta),(g<Pe-1||l.hskipBeforeAndAfter)&&(ra=U.deflt(qr.postgap,$t),ra!==0&&(Hr=at.makeSpan(["arraycolsep"],[]),Hr.style.width=ra+"em",xa.push(Hr)))}}if(Me=at.makeSpan(["mtable"],xa),Xe.length>0){for(var Ss=at.makeLineSpan("hline",d,gt),Xa=at.makeLineSpan("hdashline",d,gt),Na=[{type:"elem",elem:Me,shift:0}];Xe.length>0;){var ha=Xe.pop(),pa=ha.pos-Si;ha.isDashed?Na.push({type:"elem",elem:Xa,shift:pa}):Na.push({type:"elem",elem:Ss,shift:pa})}Me=at.makeVList({positionType:"individualShift",children:Na},d)}return at.makeSpan(["mord"],[Me],d)},Ji={c:"center ",l:"left ",r:"right "},Xi=function(l,d){var h=new Pn.MathNode("mtable",l.body.map(function(Dn){return new Pn.MathNode("mtr",Dn.map(function(rr){return new Pn.MathNode("mtd",[Gn(rr,d)])}))})),g=l.arraystretch===.5?.1:.16+l.arraystretch-1+(l.addJot?.09:0);h.setAttribute("rowspacing",g+"em");var N="",le="";if(l.cols){var Pe=l.cols,Me="",Xe=!1,gt=0,Tt=Pe.length;Pe[0].type==="separator"&&(N+="top ",gt=1),Pe[Pe.length-1].type==="separator"&&(N+="bottom ",Tt-=1);for(var $t=gt;$t<Tt;$t++)Pe[$t].type==="align"?(le+=Ji[Pe[$t].align],Xe&&(Me+="none "),Xe=!0):Pe[$t].type==="separator"&&Xe&&(Me+=Pe[$t].separator==="|"?"solid ":"dashed ",Xe=!1);h.setAttribute("columnalign",le.trim()),/[sd]/.test(Me)&&h.setAttribute("columnlines",Me.trim())}if(l.colSeparationType==="align"){for(var Sn=l.cols||[],qt="",on=1;on<Sn.length;on++)qt+=on%2?"0em ":"1em ";h.setAttribute("columnspacing",qt.trim())}else l.colSeparationType==="alignat"?h.setAttribute("columnspacing","0em"):l.colSeparationType==="small"?h.setAttribute("columnspacing","0.2778em"):h.setAttribute("columnspacing","1em");var yn="",Tn=l.hLinesBeforeRow;N+=Tn[0].length>0?"left ":"",N+=Tn[Tn.length-1].length>0?"right ":"";for(var ir=1;ir<Tn.length-1;ir++)yn+=Tn[ir].length===0?"none ":Tn[ir][0]?"dashed ":"solid ";return/[sd]/.test(yn)&&h.setAttribute("rowlines",yn.trim()),N!==""&&(h=new Pn.MathNode("menclose",[h]),h.setAttribute("notation",N.trim())),l.arraystretch&&l.arraystretch<1&&(h=new Pn.MathNode("mstyle",[h]),h.setAttribute("scriptlevel","1")),h},fs=function(l,d){var h=[],g=Ci(l.parser,{cols:h,addJot:!0},"display"),N,le=0,Pe={type:"ordgroup",mode:l.mode,body:[]},Me=sr(d[0],"ordgroup");if(Me){for(var Xe="",gt=0;gt<Me.body.length;gt++){var Tt=zn(Me.body[gt],"textord");Xe+=Tt.text}N=Number(Xe),le=N*2}var $t=!le;g.body.forEach(function(yn){for(var Tn=1;Tn<yn.length;Tn+=2){var ir=zn(yn[Tn],"styling"),Dn=zn(ir.body[0],"ordgroup");Dn.body.unshift(Pe)}if($t)le<yn.length&&(le=yn.length);else{var rr=yn.length/2;if(N<rr)throw new q("Too many math in a row: "+("expected "+N+", but got "+rr),yn[0])}});for(var Sn=0;Sn<le;++Sn){var qt="r",on=0;Sn%2===1?qt="l":Sn>0&&$t&&(on=1),h[Sn]={type:"align",align:qt,pregap:on,postgap:0}}return g.colSeparationType=$t?"align":"alignat",g};Oa({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(l,d){var h=jr(d[0]),g=h?[d[0]]:zn(d[0],"ordgroup").body,N=g.map(function(Pe){var Me=Nr(Pe),Xe=Me.text;if("lcr".indexOf(Xe)!==-1)return{type:"align",align:Xe};if(Xe==="|")return{type:"separator",separator:"|"};if(Xe===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+Xe,Pe)}),le={cols:N,hskipBeforeAndAfter:!0};return Ci(l.parser,le,Ei(l.envName))},htmlBuilder:gi,mathmlBuilder:Xi}),Oa({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],h={hskipBeforeAndAfter:!1},g=Ci(l.parser,h,Ei(l.envName));return d?{type:"leftright",mode:l.mode,body:[g],left:d[0],right:d[1],rightColor:void 0}:g},htmlBuilder:gi,mathmlBuilder:Xi}),Oa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(l){var d={arraystretch:.5},h=Ci(l.parser,d,"script");return h.colSeparationType="small",h},htmlBuilder:gi,mathmlBuilder:Xi}),Oa({type:"array",names:["subarray"],props:{numArgs:1},handler:function(l,d){var h=jr(d[0]),g=h?[d[0]]:zn(d[0],"ordgroup").body,N=g.map(function(Pe){var Me=Nr(Pe),Xe=Me.text;if("lc".indexOf(Xe)!==-1)return{type:"align",align:Xe};throw new q("Unknown column alignment: "+Xe,Pe)});if(N.length>1)throw new q("{subarray} can contain only one column");var le={cols:N,hskipBeforeAndAfter:!1,arraystretch:.5};if(le=Ci(l.parser,le,"script"),le.body[0].length>1)throw new q("{subarray} can contain only one column");return le},htmlBuilder:gi,mathmlBuilder:Xi}),Oa({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}]},h=Ci(l.parser,d,Ei(l.envName));return{type:"leftright",mode:l.mode,body:[h],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:gi,mathmlBuilder:Xi}),Oa({type:"array",names:["aligned"],props:{numArgs:0},handler:fs,htmlBuilder:gi,mathmlBuilder:Xi}),Oa({type:"array",names:["gathered"],props:{numArgs:0},handler:function(l){var d={cols:[{type:"align",align:"c"}],addJot:!0};return Ci(l.parser,d,"display")},htmlBuilder:gi,mathmlBuilder:Xi}),Oa({type:"array",names:["alignedat"],props:{numArgs:1},handler:fs,htmlBuilder:gi,mathmlBuilder:Xi}),jn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(l,d){throw new q(l.funcName+" valid only within array environment")}});var Ja=Rs,hs=Ja;jn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];if(N.type!=="ordgroup")throw new q("Invalid environment name",N);for(var le="",Pe=0;Pe<N.body.length;++Pe)le+=zn(N.body[Pe],"textord").text;if(g==="\\begin"){if(!hs.hasOwnProperty(le))throw new q("No such environment: "+le,N);var Me=hs[le],Xe=h.parseArguments("\\begin{"+le+"}",Me),gt=Xe.args,Tt=Xe.optArgs,$t={mode:h.mode,envName:le,parser:h},Sn=Me.handler($t,gt,Tt);h.expect("\\end",!1);var qt=h.nextToken,on=zn(h.parseFunction(),"environment");if(on.name!==le)throw new q("Mismatch: \\begin{"+le+"} matched by \\end{"+on.name+"}",qt);return Sn}return{type:"environment",mode:h.mode,name:le,nameGroup:N}}});var ks=at.makeSpan;function ps(re,l){var d=li(re.body,l,!0);return ks([re.mclass],d,l)}function ms(re,l){var d,h=xr(re.body,l);return re.mclass==="minner"?Pn.newDocumentFragment(h):(re.mclass==="mord"?re.isCharacterBox?(d=h[0],d.type="mi"):d=new Pn.MathNode("mi",h):(re.isCharacterBox?(d=h[0],d.type="mo"):d=new Pn.MathNode("mo",h),re.mclass==="mbin"?(d.attributes.lspace="0.22em",d.attributes.rspace="0.22em"):re.mclass==="mpunct"?(d.attributes.lspace="0em",d.attributes.rspace="0.17em"):(re.mclass==="mopen"||re.mclass==="mclose")&&(d.attributes.lspace="0em",d.attributes.rspace="0em")),d)}jn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];return{type:"mclass",mode:h.mode,mclass:"m"+g.substr(5),body:Vr(N),isCharacterBox:U.isCharacterBox(N)}},htmlBuilder:ps,mathmlBuilder:ms});var Rn=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"};jn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(l,d){var h=l.parser;return{type:"mclass",mode:h.mode,mclass:Rn(d[0]),body:[d[1]],isCharacterBox:U.isCharacterBox(d[1])}}}),jn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[1],le=d[0],Pe;g!=="\\stackrel"?Pe=Rn(N):Pe="mrel";var Me={type:"op",mode:N.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:g!=="\\stackrel",body:Vr(N)},Xe={type:"supsub",mode:le.mode,base:Me,sup:g==="\\underset"?null:le,sub:g==="\\underset"?le:null};return{type:"mclass",mode:h.mode,mclass:Pe,body:[Xe],isCharacterBox:U.isCharacterBox(Xe)}},htmlBuilder:ps,mathmlBuilder:ms});var Ts=function(l,d){var h=l.font,g=d.withFont(h);return Kr(l.body,g)},Ms=function(l,d){var h=l.font,g=d.withFont(h);return Gn(l.body,g)},go={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};jn({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 h=l.parser,g=l.funcName,N=d[0],le=g;return le in go&&(le=go[le]),{type:"font",mode:h.mode,font:le.slice(1),body:N}},htmlBuilder:Ts,mathmlBuilder:Ms}),jn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(l,d){var h=l.parser,g=d[0],N=U.isCharacterBox(g);return{type:"mclass",mode:h.mode,mclass:Rn(g),body:[{type:"font",mode:h.mode,font:"boldsymbol",body:g}],isCharacterBox:N}}}),jn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(l,d){var h=l.parser,g=l.funcName,N=l.breakOnTokenText,le=h.mode,Pe=h.parseExpression(!0,N),Me="math"+g.slice(1);return{type:"font",mode:le,font:Me,body:{type:"ordgroup",mode:h.mode,body:Pe}}},htmlBuilder:Ts,mathmlBuilder:Ms});var Qs=function(l,d){var h=d;return l==="display"?h=h.id>=v.SCRIPT.id?h.text():v.DISPLAY:l==="text"&&h.size===v.DISPLAY.size?h=v.TEXT:l==="script"?h=v.SCRIPT:l==="scriptscript"&&(h=v.SCRIPTSCRIPT),h},Ks=function(l,d){var h=Qs(l.size,d.style),g=h.fracNum(),N=h.fracDen(),le;le=d.havingStyle(g);var Pe=Kr(l.numer,le,d);if(l.continued){var Me=8.5/d.fontMetrics().ptPerEm,Xe=3.5/d.fontMetrics().ptPerEm;Pe.height=Pe.height<Me?Me:Pe.height,Pe.depth=Pe.depth<Xe?Xe:Pe.depth}le=d.havingStyle(N);var gt=Kr(l.denom,le,d),Tt,$t,Sn;l.hasBarLine?(l.barSize?($t=yt(l.barSize,d),Tt=at.makeLineSpan("frac-line",d,$t)):Tt=at.makeLineSpan("frac-line",d),$t=Tt.height,Sn=Tt.height):(Tt=null,$t=0,Sn=d.fontMetrics().defaultRuleThickness);var qt,on,yn;h.size===v.DISPLAY.size||l.size==="display"?(qt=d.fontMetrics().num1,$t>0?on=3*Sn:on=7*Sn,yn=d.fontMetrics().denom1):($t>0?(qt=d.fontMetrics().num2,on=Sn):(qt=d.fontMetrics().num3,on=3*Sn),yn=d.fontMetrics().denom2);var Tn;if(Tt){var Dn=d.fontMetrics().axisHeight;qt-Pe.depth-(Dn+.5*$t)<on&&(qt+=on-(qt-Pe.depth-(Dn+.5*$t))),Dn-.5*$t-(gt.height-yn)<on&&(yn+=on-(Dn-.5*$t-(gt.height-yn)));var rr=-(Dn-.5*$t);Tn=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:gt,shift:yn},{type:"elem",elem:Tt,shift:rr},{type:"elem",elem:Pe,shift:-qt}]},d)}else{var ir=qt-Pe.depth-(gt.height-yn);ir<on&&(qt+=.5*(on-ir),yn+=.5*(on-ir)),Tn=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:gt,shift:yn},{type:"elem",elem:Pe,shift:-qt}]},d)}le=d.havingStyle(h),Tn.height*=le.sizeMultiplier/d.sizeMultiplier,Tn.depth*=le.sizeMultiplier/d.sizeMultiplier;var Er;h.size===v.DISPLAY.size?Er=d.fontMetrics().delim1:Er=d.fontMetrics().delim2;var _r,ii;return l.leftDelim==null?_r=Zi(d,["mopen"]):_r=Ca.customSizedDelim(l.leftDelim,Er,!0,d.havingStyle(h),l.mode,["mopen"]),l.continued?ii=at.makeSpan([]):l.rightDelim==null?ii=Zi(d,["mclose"]):ii=Ca.customSizedDelim(l.rightDelim,Er,!0,d.havingStyle(h),l.mode,["mclose"]),at.makeSpan(["mord"].concat(le.sizingClasses(d)),[_r,at.makeSpan(["mfrac"],[Tn]),ii],d)},Js=function(l,d){var h=new Pn.MathNode("mfrac",[Gn(l.numer,d),Gn(l.denom,d)]);if(!l.hasBarLine)h.setAttribute("linethickness","0px");else if(l.barSize){var g=yt(l.barSize,d);h.setAttribute("linethickness",g+"em")}var N=Qs(l.size,d.style);if(N.size!==d.style.size){h=new Pn.MathNode("mstyle",[h]);var le=N.size===v.DISPLAY.size?"true":"false";h.setAttribute("displaystyle",le),h.setAttribute("scriptlevel","0")}if(l.leftDelim!=null||l.rightDelim!=null){var Pe=[];if(l.leftDelim!=null){var Me=new Pn.MathNode("mo",[new Pn.TextNode(l.leftDelim.replace("\\",""))]);Me.setAttribute("fence","true"),Pe.push(Me)}if(Pe.push(h),l.rightDelim!=null){var Xe=new Pn.MathNode("mo",[new Pn.TextNode(l.rightDelim.replace("\\",""))]);Xe.setAttribute("fence","true"),Pe.push(Xe)}return na(Pe)}return h};jn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0],le=d[1],Pe,Me=null,Xe=null,gt="auto";switch(g){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Pe=!0;break;case"\\\\atopfrac":Pe=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Pe=!1,Me="(",Xe=")";break;case"\\\\bracefrac":Pe=!1,Me="\\{",Xe="\\}";break;case"\\\\brackfrac":Pe=!1,Me="[",Xe="]";break;default:throw new Error("Unrecognized genfrac command")}switch(g){case"\\cfrac":case"\\dfrac":case"\\dbinom":gt="display";break;case"\\tfrac":case"\\tbinom":gt="text";break}return{type:"genfrac",mode:h.mode,continued:g==="\\cfrac",numer:N,denom:le,hasBarLine:Pe,leftDelim:Me,rightDelim:Xe,size:gt,barSize:null}},htmlBuilder:Ks,mathmlBuilder:Js}),jn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(l){var d=l.parser,h=l.funcName,g=l.token,N;switch(h){case"\\over":N="\\frac";break;case"\\choose":N="\\binom";break;case"\\atop":N="\\\\atopfrac";break;case"\\brace":N="\\\\bracefrac";break;case"\\brack":N="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:d.mode,replaceWith:N,token:g}}});var Ga=["display","text","script","scriptscript"],zs=function(l){var d=null;return l.length>0&&(d=l,d=d==="."?null:d),d};jn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(l,d){var h=l.parser,g=d[4],N=d[5],le=sr(d[0],"atom");le&&(le=wr(d[0],"open"));var Pe=le?zs(le.text):null,Me=sr(d[1],"atom");Me&&(Me=wr(d[1],"close"));var Xe=Me?zs(Me.text):null,gt=zn(d[2],"size"),Tt,$t=null;gt.isBlank?Tt=!0:($t=gt.value,Tt=$t.number>0);var Sn="auto",qt=sr(d[3],"ordgroup");if(qt){if(qt.body.length>0){var on=zn(qt.body[0],"textord");Sn=Ga[Number(on.text)]}}else qt=zn(d[3],"textord"),Sn=Ga[Number(qt.text)];return{type:"genfrac",mode:h.mode,numer:g,denom:N,continued:!1,hasBarLine:Tt,barSize:$t,leftDelim:Pe,rightDelim:Xe,size:Sn}},htmlBuilder:Ks,mathmlBuilder:Js}),jn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(l,d){var h=l.parser,g=l.funcName,N=l.token;return{type:"infix",mode:h.mode,replaceWith:"\\\\abovefrac",size:zn(d[0],"size").value,token:N}}}),jn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0],le=P(zn(d[1],"infix").size),Pe=d[2],Me=le.number>0;return{type:"genfrac",mode:h.mode,numer:N,denom:Pe,continued:!1,hasBarLine:Me,barSize:le,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ks,mathmlBuilder:Js});var qs=function(l,d){var h=d.style,g,N,le=sr(l,"supsub");le?(g=le.sup?Kr(le.sup,d.havingStyle(h.sup()),d):Kr(le.sub,d.havingStyle(h.sub()),d),N=zn(le.base,"horizBrace")):N=zn(l,"horizBrace");var Pe=Kr(N.base,d.havingBaseStyle(v.DISPLAY)),Me=ar.svgSpan(N,d),Xe;if(N.isOver?(Xe=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pe},{type:"kern",size:.1},{type:"elem",elem:Me}]},d),Xe.children[0].children[0].children[1].classes.push("svg-align")):(Xe=at.makeVList({positionType:"bottom",positionData:Pe.depth+.1+Me.height,children:[{type:"elem",elem:Me},{type:"kern",size:.1},{type:"elem",elem:Pe}]},d),Xe.children[0].children[0].children[0].classes.push("svg-align")),g){var gt=at.makeSpan(["mord",N.isOver?"mover":"munder"],[Xe],d);N.isOver?Xe=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:gt},{type:"kern",size:.2},{type:"elem",elem:g}]},d):Xe=at.makeVList({positionType:"bottom",positionData:gt.depth+.2+g.height+g.depth,children:[{type:"elem",elem:g},{type:"kern",size:.2},{type:"elem",elem:gt}]},d)}return at.makeSpan(["mord",N.isOver?"mover":"munder"],[Xe],d)},Po=function(l,d){var h=ar.mathMLnode(l.label);return new Pn.MathNode(l.isOver?"mover":"munder",[Gn(l.base,d),h])};jn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=l.funcName;return{type:"horizBrace",mode:h.mode,label:g,isOver:/^\\over/.test(g),base:d[0]}},htmlBuilder:qs,mathmlBuilder:Po}),jn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(l,d){var h=l.parser,g=d[1],N=zn(d[0],"url").url;return h.settings.isTrusted({command:"\\href",url:N})?{type:"href",mode:h.mode,href:N,body:Vr(g)}:h.formatUnsupportedCmd("\\href")},htmlBuilder:function(l,d){var h=li(l.body,d,!1);return at.makeAnchor(l.href,[],h,d)},mathmlBuilder:function(l,d){var h=lr(l.body,d);return h instanceof yi||(h=new yi("mrow",[h])),h.setAttribute("href",l.href),h}}),jn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(l,d){var h=l.parser,g=zn(d[0],"url").url;if(!h.settings.isTrusted({command:"\\url",url:g}))return h.formatUnsupportedCmd("\\url");for(var N=[],le=0;le<g.length;le++){var Pe=g[le];Pe==="~"&&(Pe="\\textasciitilde"),N.push({type:"textord",mode:"text",text:Pe})}var Me={type:"text",mode:h.mode,font:"\\texttt",body:N};return{type:"href",mode:h.mode,href:g,body:Vr(Me)}}}),jn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(l,d){var h=l.parser;return{type:"htmlmathml",mode:h.mode,html:Vr(d[0]),mathml:Vr(d[1])}},htmlBuilder:function(l,d){var h=li(l.html,d,!1);return at.makeFragment(h)},mathmlBuilder:function(l,d){return lr(l.mathml,d)}});var Os=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 q("Invalid size: '"+l+"' in \\includegraphics");var h={number:+(d[1]+d[2]),unit:d[3]};if(!dt(h))throw new q("Invalid unit: '"+h.unit+"' in \\includegraphics.");return h};jn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(l,d,h){var g=l.parser,N={number:0,unit:"em"},le={number:.9,unit:"em"},Pe={number:0,unit:"em"},Me="";if(h[0])for(var Xe=zn(h[0],"raw").string,gt=Xe.split(","),Tt=0;Tt<gt.length;Tt++){var $t=gt[Tt].split("=");if($t.length===2){var Sn=$t[1].trim();switch($t[0].trim()){case"alt":Me=Sn;break;case"width":N=Os(Sn);break;case"height":le=Os(Sn);break;case"totalheight":Pe=Os(Sn);break;default:throw new q("Invalid key: '"+$t[0]+"' in \\includegraphics.")}}}var qt=zn(d[0],"url").url;return Me===""&&(Me=qt,Me=Me.replace(/^.*[\\/]/,""),Me=Me.substring(0,Me.lastIndexOf("."))),g.settings.isTrusted({command:"\\includegraphics",url:qt})?{type:"includegraphics",mode:g.mode,alt:Me,width:N,height:le,totalheight:Pe,src:qt}:g.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(l,d){var h=yt(l.height,d),g=0;l.totalheight.number>0&&(g=yt(l.totalheight,d)-h,g=Number(g.toFixed(2)));var N=0;l.width.number>0&&(N=yt(l.width,d));var le={height:h+g+"em"};N>0&&(le.width=N+"em"),g>0&&(le.verticalAlign=-g+"em");var Pe=new xe(l.src,l.alt,le);return Pe.height=h,Pe.depth=g,Pe},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mglyph",[]);h.setAttribute("alt",l.alt);var g=yt(l.height,d),N=0;if(l.totalheight.number>0&&(N=yt(l.totalheight,d)-g,N=N.toFixed(2),h.setAttribute("valign","-"+N+"em")),h.setAttribute("height",g+N+"em"),l.width.number>0){var le=yt(l.width,d);h.setAttribute("width",le+"em")}return h.setAttribute("src",l.src),h}}),jn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(l,d){var h=l.parser,g=l.funcName,N=zn(d[0],"size");if(h.settings.strict){var le=g[1]==="m",Pe=N.value.unit==="mu";le?(Pe||h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" supports only mu units, "+("not "+N.value.unit+" units")),h.mode!=="math"&&h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" works only in math mode")):Pe&&h.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" doesn't support mu units")}return{type:"kern",mode:h.mode,dimension:N.value}},htmlBuilder:function(l,d){return at.makeGlue(l.dimension,d)},mathmlBuilder:function(l,d){var h=yt(l.dimension,d);return new Pn.SpaceNode(h)}}),jn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];return{type:"lap",mode:h.mode,alignment:g.slice(5),body:N}},htmlBuilder:function(l,d){var h;l.alignment==="clap"?(h=at.makeSpan([],[Kr(l.body,d)]),h=at.makeSpan(["inner"],[h],d)):h=at.makeSpan(["inner"],[Kr(l.body,d)]);var g=at.makeSpan(["fix"],[]),N=at.makeSpan([l.alignment],[h,g],d),le=at.makeSpan(["strut"]);return le.style.height=N.height+N.depth+"em",le.style.verticalAlign=-N.depth+"em",N.children.unshift(le),N=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:N}]},d),at.makeSpan(["mord"],[N],d)},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mpadded",[Gn(l.body,d)]);if(l.alignment!=="rlap"){var g=l.alignment==="llap"?"-1":"-0.5";h.setAttribute("lspace",g+"width")}return h.setAttribute("width","0px"),h}}),jn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(l,d){var h=l.funcName,g=l.parser,N=g.mode;g.switchMode("math");var le=h==="\\("?"\\)":"$",Pe=g.parseExpression(!1,le);return g.expect(le),g.switchMode(N),{type:"styling",mode:g.mode,style:"text",body:Pe}}}),jn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(l,d){throw new q("Mismatched "+l.funcName)}});var Xs=function(l,d){switch(d.style.size){case v.DISPLAY.size:return l.display;case v.TEXT.size:return l.text;case v.SCRIPT.size:return l.script;case v.SCRIPTSCRIPT.size:return l.scriptscript;default:return l.text}};jn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(l,d){var h=l.parser;return{type:"mathchoice",mode:h.mode,display:Vr(d[0]),text:Vr(d[1]),script:Vr(d[2]),scriptscript:Vr(d[3])}},htmlBuilder:function(l,d){var h=Xs(l,d),g=li(h,d,!1);return at.makeFragment(g)},mathmlBuilder:function(l,d){var h=Xs(l,d);return lr(h,d)}});var Ls=function(l,d,h,g,N,le,Pe){l=at.makeSpan([],[l]);var Me,Xe;if(d){var gt=Kr(d,g.havingStyle(N.sup()),g);Xe={elem:gt,kern:Math.max(g.fontMetrics().bigOpSpacing1,g.fontMetrics().bigOpSpacing3-gt.depth)}}if(h){var Tt=Kr(h,g.havingStyle(N.sub()),g);Me={elem:Tt,kern:Math.max(g.fontMetrics().bigOpSpacing2,g.fontMetrics().bigOpSpacing4-Tt.height)}}var $t;if(Xe&&Me){var Sn=g.fontMetrics().bigOpSpacing5+Me.elem.height+Me.elem.depth+Me.kern+l.depth+Pe;$t=at.makeVList({positionType:"bottom",positionData:Sn,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:Me.elem,marginLeft:-le+"em"},{type:"kern",size:Me.kern},{type:"elem",elem:l},{type:"kern",size:Xe.kern},{type:"elem",elem:Xe.elem,marginLeft:le+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else if(Me){var qt=l.height-Pe;$t=at.makeVList({positionType:"top",positionData:qt,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:Me.elem,marginLeft:-le+"em"},{type:"kern",size:Me.kern},{type:"elem",elem:l}]},g)}else if(Xe){var on=l.depth+Pe;$t=at.makeVList({positionType:"bottom",positionData:on,children:[{type:"elem",elem:l},{type:"kern",size:Xe.kern},{type:"elem",elem:Xe.elem,marginLeft:le+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else return l;return at.makeSpan(["mop","op-limits"],[$t],g)},vo=["\\smallint"],qa=function(l,d){var h,g,N=!1,le,Pe=sr(l,"supsub");Pe?(h=Pe.sup,g=Pe.sub,le=zn(Pe.base,"op"),N=!0):le=zn(l,"op");var Me=d.style,Xe=!1;Me.size===v.DISPLAY.size&&le.symbol&&!U.contains(vo,le.name)&&(Xe=!0);var gt;if(le.symbol){var Tt=Xe?"Size2-Regular":"Size1-Regular",$t="";if((le.name==="\\oiint"||le.name==="\\oiiint")&&($t=le.name.substr(1),le.name=$t==="oiint"?"\\iint":"\\iiint"),gt=at.makeSymbol(le.name,Tt,"math",d,["mop","op-symbol",Xe?"large-op":"small-op"]),$t.length>0){var Sn=gt.italic,qt=at.staticSvg($t+"Size"+(Xe?"2":"1"),d);gt=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:gt,shift:0},{type:"elem",elem:qt,shift:Xe?.08:0}]},d),le.name="\\"+$t,gt.classes.unshift("mop"),gt.italic=Sn}}else if(le.body){var on=li(le.body,d,!0);on.length===1&&on[0]instanceof E?(gt=on[0],gt.classes[0]="mop"):gt=at.makeSpan(["mop"],at.tryCombineChars(on),d)}else{for(var yn=[],Tn=1;Tn<le.name.length;Tn++)yn.push(at.mathsym(le.name[Tn],le.mode,d));gt=at.makeSpan(["mop"],yn,d)}var ir=0,Dn=0;return(gt instanceof E||le.name==="\\oiint"||le.name==="\\oiiint")&&!le.suppressBaseShift&&(ir=(gt.height-gt.depth)/2-d.fontMetrics().axisHeight,Dn=gt.italic),N?Ls(gt,h,g,d,Me,Dn,ir):(ir&&(gt.style.position="relative",gt.style.top=ir+"em"),gt)},Ns=function(l,d){var h;if(l.symbol)h=new yi("mo",[Ni(l.name,l.mode)]),U.contains(vo,l.name)&&h.setAttribute("largeop","false");else if(l.body)h=new yi("mo",xr(l.body,d));else{h=new yi("mi",[new ca(l.name.slice(1))]);var g=new yi("mo",[Ni("\u2061","text")]);l.parentIsSupSub?h=new yi("mo",[h,g]):h=ua([h,g])}return h},yo={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};jn({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 h=l.parser,g=l.funcName,N=g;return N.length===1&&(N=yo[N]),{type:"op",mode:h.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:N}},htmlBuilder:qa,mathmlBuilder:Ns}),jn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=d[0];return{type:"op",mode:h.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Vr(g)}},htmlBuilder:qa,mathmlBuilder:Ns});var bo={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};jn({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,h=l.funcName;return{type:"op",mode:d.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:h}},htmlBuilder:qa,mathmlBuilder:Ns}),jn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(l){var d=l.parser,h=l.funcName;return{type:"op",mode:d.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:h}},htmlBuilder:qa,mathmlBuilder:Ns}),jn({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,h=l.funcName,g=h;return g.length===1&&(g=bo[g]),{type:"op",mode:d.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:g}},htmlBuilder:qa,mathmlBuilder:Ns});var Hs=function(l,d){var h,g,N=!1,le,Pe=sr(l,"supsub");Pe?(h=Pe.sup,g=Pe.sub,le=zn(Pe.base,"operatorname"),N=!0):le=zn(l,"operatorname");var Me;if(le.body.length>0){for(var Xe=le.body.map(function(Sn){var qt=Sn.text;return typeof qt=="string"?{type:"textord",mode:Sn.mode,text:qt}:Sn}),gt=li(Xe,d.withFont("mathrm"),!0),Tt=0;Tt<gt.length;Tt++){var $t=gt[Tt];$t instanceof E&&($t.text=$t.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Me=at.makeSpan(["mop"],gt,d)}else Me=at.makeSpan(["mop"],[],d);return N?Ls(Me,h,g,d,d.style,0,0):Me},Uo=function(l,d){for(var h=xr(l.body,d.withFont("mathrm")),g=!0,N=0;N<h.length;N++){var le=h[N];if(!(le instanceof Pn.SpaceNode))if(le instanceof Pn.MathNode)switch(le.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Pe=le.children[0];le.children.length===1&&Pe instanceof Pn.TextNode?Pe.text=Pe.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):g=!1;break}default:g=!1}else g=!1}if(g){var Me=h.map(function(Tt){return Tt.toText()}).join("");h=[new Pn.TextNode(Me)]}var Xe=new Pn.MathNode("mi",h);Xe.setAttribute("mathvariant","normal");var gt=new Pn.MathNode("mo",[Ni("\u2061","text")]);return l.parentIsSupSub?new Pn.MathNode("mo",[Xe,gt]):Pn.newDocumentFragment([Xe,gt])};jn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=l.funcName,N=d[0];return{type:"operatorname",mode:h.mode,body:Vr(N),alwaysHandleSupSub:g==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Hs,mathmlBuilder:Uo}),zr({type:"ordgroup",htmlBuilder:function(l,d){return l.semisimple?at.makeFragment(li(l.body,d,!1)):at.makeSpan(["mord"],li(l.body,d,!0),d)},mathmlBuilder:function(l,d){return lr(l.body,d,!0)}}),jn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(l,d){var h=l.parser,g=d[0];return{type:"overline",mode:h.mode,body:g}},htmlBuilder:function(l,d){var h=Kr(l.body,d.havingCrampedStyle()),g=at.makeLineSpan("overline-line",d),N=d.fontMetrics().defaultRuleThickness,le=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h},{type:"kern",size:3*N},{type:"elem",elem:g},{type:"kern",size:N}]},d);return at.makeSpan(["mord","overline"],[le],d)},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mo",[new Pn.TextNode("\u203E")]);h.setAttribute("stretchy","true");var g=new Pn.MathNode("mover",[Gn(l.body,d),h]);return g.setAttribute("accent","true"),g}}),jn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,g=d[0];return{type:"phantom",mode:h.mode,body:Vr(g)}},htmlBuilder:function(l,d){var h=li(l.body,d.withPhantom(),!1);return at.makeFragment(h)},mathmlBuilder:function(l,d){var h=xr(l.body,d);return new Pn.MathNode("mphantom",h)}}),jn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,g=d[0];return{type:"hphantom",mode:h.mode,body:g}},htmlBuilder:function(l,d){var h=at.makeSpan([],[Kr(l.body,d.withPhantom())]);if(h.height=0,h.depth=0,h.children)for(var g=0;g<h.children.length;g++)h.children[g].height=0,h.children[g].depth=0;return h=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h}]},d),at.makeSpan(["mord"],[h],d)},mathmlBuilder:function(l,d){var h=xr(Vr(l.body),d),g=new Pn.MathNode("mphantom",h),N=new Pn.MathNode("mpadded",[g]);return N.setAttribute("height","0px"),N.setAttribute("depth","0px"),N}}),jn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser,g=d[0];return{type:"vphantom",mode:h.mode,body:g}},htmlBuilder:function(l,d){var h=at.makeSpan(["inner"],[Kr(l.body,d.withPhantom())]),g=at.makeSpan(["fix"],[]);return at.makeSpan(["mord","rlap"],[h,g],d)},mathmlBuilder:function(l,d){var h=xr(Vr(l.body),d),g=new Pn.MathNode("mphantom",h),N=new Pn.MathNode("mpadded",[g]);return N.setAttribute("width","0px"),N}}),jn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(l,d){var h=l.parser,g=zn(d[0],"size").value,N=d[1];return{type:"raisebox",mode:h.mode,dy:g,body:N}},htmlBuilder:function(l,d){var h=Kr(l.body,d),g=yt(l.dy,d);return at.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:h}]},d)},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mpadded",[Gn(l.body,d)]),g=l.dy.number+l.dy.unit;return h.setAttribute("voffset",g),h}}),jn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(l,d,h){var g=l.parser,N=h[0],le=zn(d[0],"size"),Pe=zn(d[1],"size");return{type:"rule",mode:g.mode,shift:N&&zn(N,"size").value,width:le.value,height:Pe.value}},htmlBuilder:function(l,d){var h=at.makeSpan(["mord","rule"],[],d),g=yt(l.width,d),N=yt(l.height,d),le=l.shift?yt(l.shift,d):0;return h.style.borderRightWidth=g+"em",h.style.borderTopWidth=N+"em",h.style.bottom=le+"em",h.width=g,h.height=N+le,h.depth=-le,h.maxFontSize=N*1.125*d.sizeMultiplier,h},mathmlBuilder:function(l,d){var h=yt(l.width,d),g=yt(l.height,d),N=l.shift?yt(l.shift,d):0,le=d.color&&d.getColor()||"black",Pe=new Pn.MathNode("mspace");Pe.setAttribute("mathbackground",le),Pe.setAttribute("width",h+"em"),Pe.setAttribute("height",g+"em");var Me=new Pn.MathNode("mpadded",[Pe]);return N>=0?Me.setAttribute("height","+"+N+"em"):(Me.setAttribute("height",N+"em"),Me.setAttribute("depth","+"+-N+"em")),Me.setAttribute("voffset",N+"em"),Me}});function js(re,l,d){for(var h=li(re,l,!1),g=l.sizeMultiplier/d.sizeMultiplier,N=0;N<h.length;N++){var le=h[N].classes.indexOf("sizing");le<0?Array.prototype.push.apply(h[N].classes,l.sizingClasses(d)):h[N].classes[le+1]==="reset-size"+l.size&&(h[N].classes[le+1]="reset-size"+d.size),h[N].height*=g,h[N].depth*=g}return at.makeFragment(h)}var Ps=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],So=function(l,d){var h=d.havingSize(l.size);return js(l.body,h,d)};jn({type:"sizing",names:Ps,props:{numArgs:0,allowedInText:!0},handler:function(l,d){var h=l.breakOnTokenText,g=l.funcName,N=l.parser,le=N.parseExpression(!1,h);return{type:"sizing",mode:N.mode,size:Ps.indexOf(g)+1,body:le}},htmlBuilder:So,mathmlBuilder:function(l,d){var h=d.havingSize(l.size),g=xr(l.body,h),N=new Pn.MathNode("mstyle",g);return N.setAttribute("mathsize",h.sizeMultiplier+"em"),N}}),jn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(l,d,h){var g=l.parser,N=!1,le=!1,Pe=h[0]&&zn(h[0],"ordgroup");if(Pe)for(var Me="",Xe=0;Xe<Pe.body.length;++Xe){var gt=Pe.body[Xe];if(Me=gt.text,Me==="t")N=!0;else if(Me==="b")le=!0;else{N=!1,le=!1;break}}else N=!0,le=!0;var Tt=d[0];return{type:"smash",mode:g.mode,body:Tt,smashHeight:N,smashDepth:le}},htmlBuilder:function(l,d){var h=at.makeSpan([],[Kr(l.body,d)]);if(!l.smashHeight&&!l.smashDepth)return h;if(l.smashHeight&&(h.height=0,h.children))for(var g=0;g<h.children.length;g++)h.children[g].height=0;if(l.smashDepth&&(h.depth=0,h.children))for(var N=0;N<h.children.length;N++)h.children[N].depth=0;var le=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h}]},d);return at.makeSpan(["mord"],[le],d)},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mpadded",[Gn(l.body,d)]);return l.smashHeight&&h.setAttribute("height","0px"),l.smashDepth&&h.setAttribute("depth","0px"),h}}),jn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(l,d,h){var g=l.parser,N=h[0],le=d[0];return{type:"sqrt",mode:g.mode,body:le,index:N}},htmlBuilder:function(l,d){var h=Kr(l.body,d.havingCrampedStyle());h.height===0&&(h.height=d.fontMetrics().xHeight),h=at.wrapFragment(h,d);var g=d.fontMetrics(),N=g.defaultRuleThickness,le=N;d.style.id<v.TEXT.id&&(le=d.fontMetrics().xHeight);var Pe=N+le/4,Me=h.height+h.depth+Pe+N,Xe=Ca.sqrtImage(Me,d),gt=Xe.span,Tt=Xe.ruleWidth,$t=Xe.advanceWidth,Sn=gt.height-Tt;Sn>h.height+h.depth+Pe&&(Pe=(Pe+Sn-h.height-h.depth)/2);var qt=gt.height-h.height-Pe-Tt;h.style.paddingLeft=$t+"em";var on=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:-(h.height+qt)},{type:"elem",elem:gt},{type:"kern",size:Tt}]},d);if(l.index){var yn=d.havingStyle(v.SCRIPTSCRIPT),Tn=Kr(l.index,yn,d),ir=.6*(on.height-on.depth),Dn=at.makeVList({positionType:"shift",positionData:-ir,children:[{type:"elem",elem:Tn}]},d),rr=at.makeSpan(["root"],[Dn]);return at.makeSpan(["mord","sqrt"],[rr,on],d)}else return at.makeSpan(["mord","sqrt"],[on],d)},mathmlBuilder:function(l,d){var h=l.body,g=l.index;return g?new Pn.MathNode("mroot",[Gn(h,d),Gn(g,d)]):new Pn.MathNode("msqrt",[Gn(h,d)])}});var xo={display:v.DISPLAY,text:v.TEXT,script:v.SCRIPT,scriptscript:v.SCRIPTSCRIPT};jn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(l,d){var h=l.breakOnTokenText,g=l.funcName,N=l.parser,le=N.parseExpression(!0,h),Pe=g.slice(1,g.length-5);return{type:"styling",mode:N.mode,style:Pe,body:le}},htmlBuilder:function(l,d){var h=xo[l.style],g=d.havingStyle(h).withFont("");return js(l.body,g,d)},mathmlBuilder:function(l,d){var h=xo[l.style],g=d.havingStyle(h),N=xr(l.body,g),le=new Pn.MathNode("mstyle",N),Pe={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Me=Pe[l.style];return le.setAttribute("scriptlevel",Me[0]),le.setAttribute("displaystyle",Me[1]),le}});var Ao=function(l,d){var h=l.base;if(h)if(h.type==="op"){var g=h.limits&&(d.style.size===v.DISPLAY.size||h.alwaysHandleSupSub);return g?qa:null}else if(h.type==="operatorname"){var N=h.alwaysHandleSupSub&&(d.style.size===v.DISPLAY.size||h.limits);return N?Hs:null}else{if(h.type==="accent")return U.isCharacterBox(h.base)?Jr:null;if(h.type==="horizBrace"){var le=!l.sub;return le===h.isOver?qs:null}else return null}else return null};zr({type:"supsub",htmlBuilder:function(l,d){var h=Ao(l,d);if(h)return h(l,d);var g=l.base,N=l.sup,le=l.sub,Pe=Kr(g,d),Me,Xe,gt=d.fontMetrics(),Tt=0,$t=0,Sn=g&&U.isCharacterBox(g);if(N){var qt=d.havingStyle(d.style.sup());Me=Kr(N,qt,d),Sn||(Tt=Pe.height-qt.fontMetrics().supDrop*qt.sizeMultiplier/d.sizeMultiplier)}if(le){var on=d.havingStyle(d.style.sub());Xe=Kr(le,on,d),Sn||($t=Pe.depth+on.fontMetrics().subDrop*on.sizeMultiplier/d.sizeMultiplier)}var yn;d.style===v.DISPLAY?yn=gt.sup1:d.style.cramped?yn=gt.sup3:yn=gt.sup2;var Tn=d.sizeMultiplier,ir=.5/gt.ptPerEm/Tn+"em",Dn=null;if(Xe){var rr=l.base&&l.base.type==="op"&&l.base.name&&(l.base.name==="\\oiint"||l.base.name==="\\oiiint");(Pe instanceof E||rr)&&(Dn=-Pe.italic+"em")}var Er;if(Me&&Xe){Tt=Math.max(Tt,yn,Me.depth+.25*gt.xHeight),$t=Math.max($t,gt.sub2);var _r=gt.defaultRuleThickness,ii=4*_r;if(Tt-Me.depth-(Xe.height-$t)<ii){$t=ii-(Tt-Me.depth)+Xe.height;var ai=.8*gt.xHeight-(Tt-Me.depth);ai>0&&(Tt+=ai,$t-=ai)}var Wi=[{type:"elem",elem:Xe,shift:$t,marginRight:ir,marginLeft:Dn},{type:"elem",elem:Me,shift:-Tt,marginRight:ir}];Er=at.makeVList({positionType:"individualShift",children:Wi},d)}else if(Xe){$t=Math.max($t,gt.sub1,Xe.height-.8*gt.xHeight);var ci=[{type:"elem",elem:Xe,marginLeft:Dn,marginRight:ir}];Er=at.makeVList({positionType:"shift",positionData:$t,children:ci},d)}else if(Me)Tt=Math.max(Tt,yn,Me.depth+.25*gt.xHeight),Er=at.makeVList({positionType:"shift",positionData:-Tt,children:[{type:"elem",elem:Me,marginRight:ir}]},d);else throw new Error("supsub must have either sup or sub.");var si=Ri(Pe,"right")||"mord";return at.makeSpan([si],[Pe,at.makeSpan(["msupsub"],[Er])],d)},mathmlBuilder:function(l,d){var h=!1,g,N,le=sr(l.base,"horizBrace");le&&(N=!!l.sup,N===le.isOver&&(h=!0,g=le.isOver)),l.base&&(l.base.type==="op"||l.base.type==="operatorname")&&(l.base.parentIsSupSub=!0);var Pe=[Gn(l.base,d)];l.sub&&Pe.push(Gn(l.sub,d)),l.sup&&Pe.push(Gn(l.sup,d));var Me;if(h)Me=g?"mover":"munder";else if(l.sub)if(l.sup){var Tt=l.base;Tt&&Tt.type==="op"&&Tt.limits&&d.style===v.DISPLAY||Tt&&Tt.type==="operatorname"&&Tt.alwaysHandleSupSub&&(d.style===v.DISPLAY||Tt.limits)?Me="munderover":Me="msubsup"}else{var gt=l.base;gt&&gt.type==="op"&&gt.limits&&(d.style===v.DISPLAY||gt.alwaysHandleSupSub)||gt&&gt.type==="operatorname"&&gt.alwaysHandleSupSub&&(gt.limits||d.style===v.DISPLAY)?Me="munder":Me="msub"}else{var Xe=l.base;Xe&&Xe.type==="op"&&Xe.limits&&(d.style===v.DISPLAY||Xe.alwaysHandleSupSub)||Xe&&Xe.type==="operatorname"&&Xe.alwaysHandleSupSub&&(Xe.limits||d.style===v.DISPLAY)?Me="mover":Me="msup"}var $t=new Pn.MathNode(Me,Pe);return $t}}),zr({type:"atom",htmlBuilder:function(l,d){return at.mathsym(l.text,l.mode,d,["m"+l.family])},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mo",[Ni(l.text,l.mode)]);if(l.family==="bin"){var g=or(l,d);g==="bold-italic"&&h.setAttribute("mathvariant",g)}else l.family==="punct"?h.setAttribute("separator","true"):(l.family==="open"||l.family==="close")&&h.setAttribute("stretchy","false");return h}});var Eo={mi:"italic",mn:"normal",mtext:"normal"};zr({type:"mathord",htmlBuilder:function(l,d){return at.makeOrd(l,d,"mathord")},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mi",[Ni(l.text,l.mode,d)]),g=or(l,d)||"italic";return g!==Eo[h.type]&&h.setAttribute("mathvariant",g),h}}),zr({type:"textord",htmlBuilder:function(l,d){return at.makeOrd(l,d,"textord")},mathmlBuilder:function(l,d){var h=Ni(l.text,l.mode,d),g=or(l,d)||"normal",N;return l.mode==="text"?N=new Pn.MathNode("mtext",[h]):/[0-9]/.test(l.text)?N=new Pn.MathNode("mn",[h]):l.text==="\\prime"?N=new Pn.MathNode("mo",[h]):N=new Pn.MathNode("mi",[h]),g!==Eo[N.type]&&N.setAttribute("mathvariant",g),N}});var Ds={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ws={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};zr({type:"spacing",htmlBuilder:function(l,d){if(Ws.hasOwnProperty(l.text)){var h=Ws[l.text].className||"";if(l.mode==="text"){var g=at.makeOrd(l,d,"textord");return g.classes.push(h),g}else return at.makeSpan(["mspace",h],[at.mathsym(l.text,l.mode,d)],d)}else{if(Ds.hasOwnProperty(l.text))return at.makeSpan(["mspace",Ds[l.text]],[],d);throw new q('Unknown type of space "'+l.text+'"')}},mathmlBuilder:function(l,d){var h;if(Ws.hasOwnProperty(l.text))h=new Pn.MathNode("mtext",[new Pn.TextNode("\xA0")]);else{if(Ds.hasOwnProperty(l.text))return new Pn.MathNode("mspace");throw new q('Unknown type of space "'+l.text+'"')}return h}});var Us=function(){var l=new Pn.MathNode("mtd",[]);return l.setAttribute("width","50%"),l};zr({type:"tag",mathmlBuilder:function(l,d){var h=new Pn.MathNode("mtable",[new Pn.MathNode("mtr",[Us(),new Pn.MathNode("mtd",[lr(l.body,d)]),Us(),new Pn.MathNode("mtd",[lr(l.tag,d)])])]);return h.setAttribute("width","100%"),h}});var Vs={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},eo={"\\textbf":"textbf","\\textmd":"textmd"},to={"\\textit":"textit","\\textup":"textup"},no=function(l,d){var h=l.font;return h?Vs[h]?d.withTextFontFamily(Vs[h]):eo[h]?d.withTextFontWeight(eo[h]):d.withTextFontShape(to[h]):d};jn({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 h=l.parser,g=l.funcName,N=d[0];return{type:"text",mode:h.mode,body:Vr(N),font:g}},htmlBuilder:function(l,d){var h=no(l,d),g=li(l.body,h,!0);return at.makeSpan(["mord","text"],at.tryCombineChars(g),h)},mathmlBuilder:function(l,d){var h=no(l,d);return lr(l.body,h)}}),jn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(l,d){var h=l.parser;return{type:"underline",mode:h.mode,body:d[0]}},htmlBuilder:function(l,d){var h=Kr(l.body,d),g=at.makeLineSpan("underline-line",d),N=d.fontMetrics().defaultRuleThickness,le=at.makeVList({positionType:"top",positionData:h.height,children:[{type:"kern",size:N},{type:"elem",elem:g},{type:"kern",size:3*N},{type:"elem",elem:h}]},d);return at.makeSpan(["mord","underline"],[le],d)},mathmlBuilder:function(l,d){var h=new Pn.MathNode("mo",[new Pn.TextNode("\u203E")]);h.setAttribute("stretchy","true");var g=new Pn.MathNode("munder",[Gn(l.body,d),h]);return g.setAttribute("accentunder","true"),g}}),jn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(l,d,h){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(l,d){for(var h=ro(l),g=[],N=d.havingStyle(d.style.text()),le=0;le<h.length;le++){var Pe=h[le];Pe==="~"&&(Pe="\\textasciitilde"),g.push(at.makeSymbol(Pe,"Typewriter-Regular",l.mode,N,["mord","texttt"]))}return at.makeSpan(["mord","text"].concat(N.sizingClasses(d)),at.tryCombineChars(g),N)},mathmlBuilder:function(l,d){var h=new Pn.TextNode(ro(l)),g=new Pn.MathNode("mtext",[h]);return g.setAttribute("mathvariant","monospace"),g}});var ro=function(l){return l.body.replace(/ /g,l.star?"\u2423":"\xA0")},_o=gr,La=_o,Gs=`[ \r
]`,Zs="\\\\[a-zA-Z@]+",oe="\\\\[^\uD800-\uDFFF]",ge=""+Zs+Gs+"*",He=new RegExp("^("+Zs+")"+Gs+"*$"),Qe="[\u0300-\u036F]",rt=new RegExp(Qe+"+$"),st="("+Gs+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Qe+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Qe+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+ge)+("|"+oe+")"),wt=function(){function re(d,h){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=d,this.settings=h,this.tokenRegex=new RegExp(st,"g"),this.catcodes={"%":14}}var l=re.prototype;return l.setCatcode=function(h,g){this.catcodes[h]=g},l.lex=function(){var h=this.input,g=this.tokenRegex.lastIndex;if(g===h.length)return new Ee("EOF",new ee(this,g,g));var N=this.tokenRegex.exec(h);if(N===null||N.index!==g)throw new q("Unexpected character: '"+h[g]+"'",new Ee(h[g],new ee(this,g,g+1)));var le=N[2]||" ";if(this.catcodes[le]===14){var Pe=h.indexOf(`
`,this.tokenRegex.lastIndex);return Pe===-1?(this.tokenRegex.lastIndex=h.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=Pe+1,this.lex()}var Me=le.match(He);return Me&&(le=Me[1]),new Ee(le,new ee(this,g,this.tokenRegex.lastIndex))},re}(),Ct=function(){function re(d,h){d===void 0&&(d={}),h===void 0&&(h={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=h,this.builtins=d,this.undefStack=[]}var l=re.prototype;return l.beginGroup=function(){this.undefStack.push({})},l.endGroup=function(){if(this.undefStack.length===0)throw new q("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var h=this.undefStack.pop();for(var g in h)h.hasOwnProperty(g)&&(h[g]===void 0?delete this.current[g]:this.current[g]=h[g])},l.has=function(h){return this.current.hasOwnProperty(h)||this.builtins.hasOwnProperty(h)},l.get=function(h){return this.current.hasOwnProperty(h)?this.current[h]:this.builtins[h]},l.set=function(h,g,N){if(N===void 0&&(N=!1),N){for(var le=0;le<this.undefStack.length;le++)delete this.undefStack[le][h];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][h]=g)}else{var Pe=this.undefStack[this.undefStack.length-1];Pe&&!Pe.hasOwnProperty(h)&&(Pe[h]=this.current[h])}this.current[h]=g},re}(),At={},Mt=At;function _e(re,l){At[re]=l}_e("\\@firstoftwo",function(re){var l=re.consumeArgs(2);return{tokens:l[0],numArgs:0}}),_e("\\@secondoftwo",function(re){var l=re.consumeArgs(2);return{tokens:l[1],numArgs:0}}),_e("\\@ifnextchar",function(re){var l=re.consumeArgs(3),d=re.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(re){var l=re.consumeArgs(2);return re.mode==="text"?{tokens:l[0],numArgs:0}:{tokens:l[1],numArgs:0}});var zt={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(re){var l=re.popToken(),d,h="";if(l.text==="'")d=8,l=re.popToken();else if(l.text==='"')d=16,l=re.popToken();else if(l.text==="`")if(l=re.popToken(),l.text[0]==="\\")h=l.text.charCodeAt(1);else{if(l.text==="EOF")throw new q("\\char` missing argument");h=l.text.charCodeAt(0)}else d=10;if(d){if(h=zt[l.text],h==null||h>=d)throw new q("Invalid base-"+d+" digit "+l.text);for(var g;(g=zt[re.future().text])!=null&&g<d;)h*=d,h+=g,re.popToken()}return"\\@char{"+h+"}"});var vn=function(l,d){var h=l.consumeArgs(1)[0];if(h.length!==1)throw new q("\\gdef's first argument must be a macro name");var g=h[0].text,N=0;for(h=l.consumeArgs(1)[0];h.length===1&&h[0].text==="#";){if(h=l.consumeArgs(1)[0],h.length!==1)throw new q('Invalid argument number length "'+h.length+'"');if(!/^[1-9]$/.test(h[0].text))throw new q('Invalid argument number "'+h[0].text+'"');if(N++,parseInt(h[0].text)!==N)throw new q('Argument number "'+h[0].text+'" out of order');h=l.consumeArgs(1)[0]}return l.macros.set(g,{tokens:h,numArgs:N},d),""};_e("\\gdef",function(re){return vn(re,!0)}),_e("\\def",function(re){return vn(re,!1)}),_e("\\global",function(re){var l=re.consumeArgs(1)[0];if(l.length!==1)throw new q("Invalid command after \\global");var d=l[0].text;if(d==="\\def")return vn(re,!0);throw new q("Invalid command '"+d+"' after \\global")});var fn=function(l,d,h){var g=l.consumeArgs(1)[0];if(g.length!==1)throw new q("\\newcommand's first argument must be a macro name");var N=g[0].text,le=l.isDefined(N);if(le&&!d)throw new q("\\newcommand{"+N+"} attempting to redefine "+(N+"; use \\renewcommand"));if(!le&&!h)throw new q("\\renewcommand{"+N+"} when command "+N+" does not yet exist; use \\newcommand");var Pe=0;if(g=l.consumeArgs(1)[0],g.length===1&&g[0].text==="["){for(var Me="",Xe=l.expandNextToken();Xe.text!=="]"&&Xe.text!=="EOF";)Me+=Xe.text,Xe=l.expandNextToken();if(!Me.match(/^\s*[0-9]+\s*$/))throw new q("Invalid number of arguments: "+Me);Pe=parseInt(Me),g=l.consumeArgs(1)[0]}return l.macros.set(N,{tokens:g,numArgs:Pe}),""};_e("\\newcommand",function(re){return fn(re,!1,!0)}),_e("\\renewcommand",function(re){return fn(re,!0,!1)}),_e("\\providecommand",function(re){return fn(re,!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 cn={",":"\\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(re){var l="\\dotso",d=re.expandAfterFuture().text;return d in cn?l=cn[d]:(d.substr(0,4)==="\\not"||d in _t.math&&U.contains(["bin","rel"],_t.math[d].group))&&(l="\\dotsb"),l});var ft={")":!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(re){var l=re.future().text;return l in ft?"\\ldots\\,":"\\ldots"}),_e("\\dotsc",function(re){var l=re.future().text;return l in ft&&l!==","?"\\ldots\\,":"\\ldots"}),_e("\\cdots",function(re){var l=re.future().text;return l in ft?"\\@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(re){if(re.macros.get("\\df@tag"))throw new q("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 Ln=Ke["Main-Regular"][84][1]-.7*Ke["Main-Regular"][65][1]+"em";_e("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ln+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),_e("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ln+"}{\\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 Hn={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Bn=function(){function re(d,h,g){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=h,this.expansionCount=0,this.feed(d),this.macros=new Ct(Mt,h.macros),this.mode=g,this.stack=[]}var l=re.prototype;return l.feed=function(h){this.lexer=new wt(h,this.settings)},l.switchMode=function(h){this.mode=h},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(h){this.stack.push(h)},l.pushTokens=function(h){var g;(g=this.stack).push.apply(g,h)},l.consumeSpaces=function(){for(;;){var h=this.future();if(h.text===" ")this.stack.pop();else break}},l.consumeArgs=function(h){for(var g=[],N=0;N<h;++N){this.consumeSpaces();var le=this.popToken();if(le.text==="{"){for(var Pe=[],Me=1;Me!==0;){var Xe=this.popToken();if(Pe.push(Xe),Xe.text==="{")++Me;else if(Xe.text==="}")--Me;else if(Xe.text==="EOF")throw new q("End of input in macro argument",le)}Pe.pop(),Pe.reverse(),g[N]=Pe}else{if(le.text==="EOF")throw new q("End of input expecting macro argument");g[N]=[le]}}return g},l.expandOnce=function(){var h=this.popToken(),g=h.text,N=this._getExpansion(g);if(N==null)return this.pushToken(h),h;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting");var le=N.tokens;if(N.numArgs){var Pe=this.consumeArgs(N.numArgs);le=le.slice();for(var Me=le.length-1;Me>=0;--Me){var Xe=le[Me];if(Xe.text==="#"){if(Me===0)throw new q("Incomplete placeholder at end of macro body",Xe);if(Xe=le[--Me],Xe.text==="#")le.splice(Me+1,1);else if(/^[1-9]$/.test(Xe.text)){var gt;(gt=le).splice.apply(gt,[Me,2].concat(Pe[+Xe.text-1]))}else throw new q("Not a valid argument number",Xe)}}}return this.pushTokens(le),le},l.expandAfterFuture=function(){return this.expandOnce(),this.future()},l.expandNextToken=function(){for(;;){var h=this.expandOnce();if(h instanceof Ee)if(h.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},l.expandMacro=function(h){if(this.macros.get(h)){var g=[],N=this.stack.length;for(this.pushToken(new Ee(h));this.stack.length>N;){var le=this.expandOnce();le instanceof Ee&&g.push(this.stack.pop())}return g}},l.expandMacroAsText=function(h){var g=this.expandMacro(h);return g&&g.map(function(N){return N.text}).join("")},l._getExpansion=function(h){var g=this.macros.get(h);if(g==null)return g;var N=typeof g=="function"?g(this):g;if(typeof N=="string"){var le=0;if(N.indexOf("#")!==-1)for(var Pe=N.replace(/##/g,"");Pe.indexOf("#"+(le+1))!==-1;)++le;for(var Me=new wt(N,this.settings),Xe=[],gt=Me.lex();gt.text!=="EOF";)Xe.push(gt),gt=Me.lex();Xe.reverse();var Tt={tokens:Xe,numArgs:le};return Tt}return N},l.isDefined=function(h){return this.macros.has(h)||La.hasOwnProperty(h)||_t.math.hasOwnProperty(h)||_t.text.hasOwnProperty(h)||Hn.hasOwnProperty(h)},re}(),Wn={"\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"}},yr={\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"},br=function(){function re(d,h){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 Bn(d,h,this.mode),this.settings=h,this.leftrightDepth=0}var l=re.prototype;return l.expect=function(h,g){if(g===void 0&&(g=!0),this.fetch().text!==h)throw new q("Expected '"+h+"', got '"+this.fetch().text+"'",this.fetch());g&&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(h){this.mode=h,this.gullet.switchMode(h)},l.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var h=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),h},l.parseExpression=function(h,g){for(var N=[];;){this.mode==="math"&&this.consumeSpaces();var le=this.fetch();if(re.endOfExpression.indexOf(le.text)!==-1||g&&le.text===g||h&&La[le.text]&&La[le.text].infix)break;var Pe=this.parseAtom(g);if(!Pe)break;N.push(Pe)}return this.mode==="text"&&this.formLigatures(N),this.handleInfixNodes(N)},l.handleInfixNodes=function(h){for(var g=-1,N,le=0;le<h.length;le++){var Pe=sr(h[le],"infix");if(Pe){if(g!==-1)throw new q("only one infix operator per group",Pe.token);g=le,N=Pe.replaceWith}}if(g!==-1&&N){var Me,Xe,gt=h.slice(0,g),Tt=h.slice(g+1);gt.length===1&&gt[0].type==="ordgroup"?Me=gt[0]:Me={type:"ordgroup",mode:this.mode,body:gt},Tt.length===1&&Tt[0].type==="ordgroup"?Xe=Tt[0]:Xe={type:"ordgroup",mode:this.mode,body:Tt};var $t;return N==="\\\\abovefrac"?$t=this.callFunction(N,[Me,h[g],Xe],[]):$t=this.callFunction(N,[Me,Xe],[]),[$t]}else return h},l.handleSupSubscript=function(h){var g=this.fetch(),N=g.text;this.consume();var le=this.parseGroup(h,!1,re.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!le)throw new q("Expected group after '"+N+"'",g);return le},l.formatUnsupportedCmd=function(h){for(var g=[],N=0;N<h.length;N++)g.push({type:"textord",mode:"text",text:h[N]});var le={type:"text",mode:this.mode,body:g},Pe={type:"color",mode:this.mode,color:this.settings.errorColor,body:[le]};return Pe},l.parseAtom=function(h){var g=this.parseGroup("atom",!1,null,h);if(this.mode==="text")return g;for(var N,le;;){this.consumeSpaces();var Pe=this.fetch();if(Pe.text==="\\limits"||Pe.text==="\\nolimits"){var Me=sr(g,"op");if(Me){var Xe=Pe.text==="\\limits";Me.limits=Xe,Me.alwaysHandleSupSub=!0}else if(Me=sr(g,"operatorname"),Me&&Me.alwaysHandleSupSub){var gt=Pe.text==="\\limits";Me.limits=gt}else throw new q("Limit controls must follow a math operator",Pe);this.consume()}else if(Pe.text==="^"){if(N)throw new q("Double superscript",Pe);N=this.handleSupSubscript("superscript")}else if(Pe.text==="_"){if(le)throw new q("Double subscript",Pe);le=this.handleSupSubscript("subscript")}else if(Pe.text==="'"){if(N)throw new q("Double superscript",Pe);var Tt={type:"textord",mode:this.mode,text:"\\prime"},$t=[Tt];for(this.consume();this.fetch().text==="'";)$t.push(Tt),this.consume();this.fetch().text==="^"&&$t.push(this.handleSupSubscript("superscript")),N={type:"ordgroup",mode:this.mode,body:$t}}else break}return N||le?{type:"supsub",mode:this.mode,base:g,sup:N,sub:le}:g},l.parseFunction=function(h,g,N){var le=this.fetch(),Pe=le.text,Me=La[Pe];if(!Me)return null;if(this.consume(),N!=null&&Me.greediness<=N)throw new q("Got function '"+Pe+"' with no arguments"+(g?" as "+g:""),le);if(this.mode==="text"&&!Me.allowedInText)throw new q("Can't use function '"+Pe+"' in text mode",le);if(this.mode==="math"&&Me.allowedInMath===!1)throw new q("Can't use function '"+Pe+"' in math mode",le);var Xe=this.parseArguments(Pe,Me),gt=Xe.args,Tt=Xe.optArgs;return this.callFunction(Pe,gt,Tt,le,h)},l.callFunction=function(h,g,N,le,Pe){var Me={funcName:h,parser:this,token:le,breakOnTokenText:Pe},Xe=La[h];if(Xe&&Xe.handler)return Xe.handler(Me,g,N);throw new q("No function handler for "+h)},l.parseArguments=function(h,g){var N=g.numArgs+g.numOptionalArgs;if(N===0)return{args:[],optArgs:[]};for(var le=g.greediness,Pe=[],Me=[],Xe=0;Xe<N;Xe++){var gt=g.argTypes&&g.argTypes[Xe],Tt=Xe<g.numOptionalArgs,$t=Xe>0&&!Tt||Xe===0&&!Tt&&this.mode==="math",Sn=this.parseGroupOfType("argument to '"+h+"'",gt,Tt,le,$t);if(!Sn){if(Tt){Me.push(null);continue}throw new q("Expected group after '"+h+"'",this.fetch())}(Tt?Me:Pe).push(Sn)}return{args:Pe,optArgs:Me}},l.parseGroupOfType=function(h,g,N,le,Pe){switch(g){case"color":return Pe&&this.consumeSpaces(),this.parseColorGroup(N);case"size":return Pe&&this.consumeSpaces(),this.parseSizeGroup(N);case"url":return this.parseUrlGroup(N,Pe);case"math":case"text":return this.parseGroup(h,N,le,void 0,g,Pe);case"hbox":{var Me=this.parseGroup(h,N,le,void 0,"text",Pe);if(!Me)return Me;var Xe={type:"styling",mode:Me.mode,body:[Me],style:"text"};return Xe}case"raw":{if(Pe&&this.consumeSpaces(),N&&this.fetch().text==="{")return null;var gt=this.parseStringGroup("raw",N,!0);if(gt)return{type:"raw",mode:"text",string:gt.text};throw new q("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(h,N,le,void 0,void 0,Pe);default:throw new q("Unknown group type as "+h,this.fetch())}},l.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},l.parseStringGroup=function(h,g,N){var le=g?"[":"{",Pe=g?"]":"}",Me=this.fetch();if(Me.text!==le){if(g)return null;if(N&&Me.text!=="EOF"&&/[^{}[\]]/.test(Me.text))return this.consume(),Me}var Xe=this.mode;this.mode="text",this.expect(le);for(var gt="",Tt=this.fetch(),$t=0,Sn=Tt,qt;(qt=this.fetch()).text!==Pe||N&&$t>0;){switch(qt.text){case"EOF":throw new q("Unexpected end of input in "+h,Tt.range(Sn,gt));case le:$t++;break;case Pe:$t--;break}Sn=qt,gt+=Sn.text,this.consume()}return this.expect(Pe),this.mode=Xe,Tt.range(Sn,gt)},l.parseRegexGroup=function(h,g){var N=this.mode;this.mode="text";for(var le=this.fetch(),Pe=le,Me="",Xe;(Xe=this.fetch()).text!=="EOF"&&h.test(Me+Xe.text);)Pe=Xe,Me+=Pe.text,this.consume();if(Me==="")throw new q("Invalid "+g+": '"+le.text+"'",le);return this.mode=N,le.range(Pe,Me)},l.parseColorGroup=function(h){var g=this.parseStringGroup("color",h);if(!g)return null;var N=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(g.text);if(!N)throw new q("Invalid color: '"+g.text+"'",g);var le=N[0];return/^[0-9a-f]{6}$/i.test(le)&&(le="#"+le),{type:"color-token",mode:this.mode,color:le}},l.parseSizeGroup=function(h){var g,N=!1;if(!h&&this.fetch().text!=="{"?g=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):g=this.parseStringGroup("size",h),!g)return null;!h&&g.text.length===0&&(g.text="0pt",N=!0);var le=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(g.text);if(!le)throw new q("Invalid size: '"+g.text+"'",g);var Pe={number:+(le[1]+le[2]),unit:le[3]};if(!dt(Pe))throw new q("Invalid unit: '"+Pe.unit+"'",g);return{type:"size",mode:this.mode,value:Pe,isBlank:N}},l.parseUrlGroup=function(h,g){this.gullet.lexer.setCatcode("%",13);var N=this.parseStringGroup("url",h,!0);if(this.gullet.lexer.setCatcode("%",14),!N)return null;var le=N.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:le}},l.parseGroup=function(h,g,N,le,Pe,Me){var Xe=this.mode;Pe&&this.switchMode(Pe),Me&&this.consumeSpaces();var gt=this.fetch(),Tt=gt.text,$t;if(g?Tt==="[":Tt==="{"||Tt==="\\begingroup"){this.consume();var Sn=re.endOfGroup[Tt];this.gullet.beginGroup();var qt=this.parseExpression(!1,Sn),on=this.fetch();this.expect(Sn),this.gullet.endGroup(),$t={type:"ordgroup",mode:this.mode,loc:ee.range(gt,on),body:qt,semisimple:Tt==="\\begingroup"||void 0}}else if(g)$t=null;else if($t=this.parseFunction(le,h,N)||this.parseSymbol(),$t==null&&Tt[0]==="\\"&&!Hn.hasOwnProperty(Tt)){if(this.settings.throwOnError)throw new q("Undefined control sequence: "+Tt,gt);$t=this.formatUnsupportedCmd(Tt),this.consume()}return Pe&&this.switchMode(Xe),$t},l.formLigatures=function(h){for(var g=h.length-1,N=0;N<g;++N){var le=h[N],Pe=le.text;Pe==="-"&&h[N+1].text==="-"&&(N+1<g&&h[N+2].text==="-"?(h.splice(N,3,{type:"textord",mode:"text",loc:ee.range(le,h[N+2]),text:"---"}),g-=2):(h.splice(N,2,{type:"textord",mode:"text",loc:ee.range(le,h[N+1]),text:"--"}),g-=1)),(Pe==="'"||Pe==="`")&&h[N+1].text===Pe&&(h.splice(N,2,{type:"textord",mode:"text",loc:ee.range(le,h[N+1]),text:Pe+Pe}),g-=1)}},l.parseSymbol=function(){var h=this.fetch(),g=h.text;if(/^\\verb[^a-zA-Z]/.test(g)){this.consume();var N=g.slice(5),le=N.charAt(0)==="*";if(le&&(N=N.slice(1)),N.length<2||N.charAt(0)!==N.slice(-1))throw new q(`\\verb assertion failed --
please report what input caused this bug`);return N=N.slice(1,-1),{type:"verb",mode:"text",body:N,star:le}}yr.hasOwnProperty(g[0])&&!_t[this.mode][g[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+g[0]+'" used in math mode',h),g=yr[g[0]]+g.substr(1));var Pe=rt.exec(g);Pe&&(g=g.substring(0,Pe.index),g==="i"?g="\u0131":g==="j"&&(g="\u0237"));var Me;if(_t[this.mode][g]){this.settings.strict&&this.mode==="math"&&nn.indexOf(g)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+g[0]+'" used in math mode',h);var Xe=_t[this.mode][g].group,gt=ee.range(h),Tt;if(bt.hasOwnProperty(Xe)){var $t=Xe;Tt={type:"atom",mode:this.mode,family:$t,loc:gt,text:g}}else Tt={type:Xe,mode:this.mode,loc:gt,text:g};Me=Tt}else if(g.charCodeAt(0)>=128)this.settings.strict&&(Le(g.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+g[0]+'" used in math mode',h):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+g[0]+'"'+(" ("+g.charCodeAt(0)+")"),h)),Me={type:"textord",mode:"text",loc:ee.range(h),text:g};else return null;if(this.consume(),Pe)for(var Sn=0;Sn<Pe[0].length;Sn++){var qt=Pe[0][Sn];if(!Wn[qt])throw new q("Unknown accent ' "+qt+"'",h);var on=Wn[qt][this.mode];if(!on)throw new q("Accent "+qt+" unsupported in "+this.mode+" mode",h);Me={type:"accent",mode:this.mode,loc:ee.range(h),label:on,isStretchy:!1,isShifty:!0,base:Me}}return Me},re}();br.endOfExpression=["}","\\endgroup","\\end","\\right","&"],br.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},br.SUPSUB_GREEDINESS=1;var fr=function(l,d){if(!(typeof l=="string"||l instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var h=new br(l,d);delete h.gullet.macros.current["\\df@tag"];var g=h.parse();if(h.gullet.macros.get("\\df@tag")){if(!d.displayMode)throw new q("\\tag works only in display equations");h.gullet.feed("\\df@tag"),g=[{type:"tag",mode:"text",body:g,tag:h.parse()}]}return g},kr=fr,Br=function(l,d,h){d.textContent="";var g=Un(l,h).toNode();d.appendChild(g)};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."),Br=function(){throw new q("KaTeX doesn't work in quirks mode.")});var Zn=function(l,d){var h=Un(l,d).toMarkup();return h},hr=function(l,d){var h=new W(d);return kr(l,h)},Yn=function(l,d,h){if(h.throwOnError||!(l instanceof q))throw l;var g=at.makeSpan(["katex-error"],[new E(d)]);return g.setAttribute("title",l.toString()),g.setAttribute("style","color:"+h.errorColor),g},Un=function(l,d){var h=new W(d);try{var g=kr(l,h);return bi(g,l,h)}catch(N){return Yn(N,l,h)}},cr=function(l,d){var h=new W(d);try{var g=kr(l,h);return Ii(g,l,h)}catch(N){return Yn(N,l,h)}},Fr={version:"0.11.1",render:Br,renderToString:Zn,ParseError:q,__parse:hr,__renderToDomTree:Un,__renderToHTMLTree:cr,__setFontMetrics:Ye,__defineSymbol:w,__defineMacro:_e,__domTree:{Span:H,Anchor:O,SymbolNode:E,SvgNode:T,PathNode:X,LineNode:Z}},Zr=f.default=Fr}]).default})},32834:function(tn){(function(tt,f){tn.exports=f()})(this,function(){"use strict";function tt(Ve,nt){for(var Je=0;Je<nt.length;Je++){var Ae=nt[Je];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(Ve,Ae.key,Ae)}}function f(Ve,nt,Je){return nt&&tt(Ve.prototype,nt),Je&&tt(Ve,Je),Ve}function y(Ve,nt){if(Ve){if(typeof Ve=="string")return L(Ve,nt);var Je=Object.prototype.toString.call(Ve).slice(8,-1);if(Je==="Object"&&Ve.constructor&&(Je=Ve.constructor.name),Je==="Map"||Je==="Set")return Array.from(Ve);if(Je==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Je))return L(Ve,nt)}}function L(Ve,nt){(nt==null||nt>Ve.length)&&(nt=Ve.length);for(var Je=0,Ae=new Array(nt);Je<nt;Je++)Ae[Je]=Ve[Je];return Ae}function ee(Ve,nt){var Je=typeof Symbol!="undefined"&&Ve[Symbol.iterator]||Ve["@@iterator"];if(Je)return(Je=Je.call(Ve)).next.bind(Je);if(Array.isArray(Ve)||(Je=y(Ve))||nt&&Ve&&typeof Ve.length=="number"){Je&&(Ve=Je);var Ae=0;return function(){return Ae>=Ve.length?{done:!0}:{done:!1,value:Ve[Ae++]}}}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 Ee={exports:{}};function $(){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 q(Ve){Ee.exports.defaults=Ve}Ee.exports={defaults:$(),getDefaults:$,changeDefaults:q};var C=/[&<>"']/,Se=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,I=/[<>"']|&(?!#?\w+;)/g,z={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},S=function(nt){return z[nt]};function u(Ve,nt){if(nt){if(C.test(Ve))return Ve.replace(Se,S)}else if(a.test(Ve))return Ve.replace(I,S);return Ve}var x=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function m(Ve){return Ve.replace(x,function(nt,Je){return Je=Je.toLowerCase(),Je==="colon"?":":Je.charAt(0)==="#"?Je.charAt(1)==="x"?String.fromCharCode(parseInt(Je.substring(2),16)):String.fromCharCode(+Je.substring(1)):""})}var P=/(^|[^\[])\^/g;function ce(Ve,nt){Ve=Ve.source||Ve,nt=nt||"";var Je={replace:function(De,ze){return ze=ze.source||ze,ze=ze.replace(P,"$1"),Ve=Ve.replace(De,ze),Je},getRegex:function(){return new RegExp(Ve,nt)}};return Je}var U=/[^\w:]/g,W=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function ne(Ve,nt,Je){if(Ve){var Ae;try{Ae=decodeURIComponent(m(Je)).replace(U,"").toLowerCase()}catch(De){return null}if(Ae.indexOf("javascript:")===0||Ae.indexOf("vbscript:")===0||Ae.indexOf("data:")===0)return null}nt&&!W.test(Je)&&(Je=j(nt,Je));try{Je=encodeURI(Je).replace(/%25/g,"%")}catch(De){return null}return Je}var Y={},b=/^[^:]+:\/*[^/]*$/,R=/^([^:]+:)[\s\S]*$/,G=/^([^:]+:\/*[^/]*)[\s\S]*$/;function j(Ve,nt){Y[" "+Ve]||(b.test(Ve)?Y[" "+Ve]=Ve+"/":Y[" "+Ve]=ae(Ve,"/",!0)),Ve=Y[" "+Ve];var Je=Ve.indexOf(":")===-1;return nt.substring(0,2)==="//"?Je?nt:Ve.replace(R,"$1")+nt:nt.charAt(0)==="/"?Je?nt:Ve.replace(G,"$1")+nt:Ve+nt}var pe={exec:function(){}};function me(Ve){for(var nt=1,Je,Ae;nt<arguments.length;nt++){Je=arguments[nt];for(Ae in Je)Object.prototype.hasOwnProperty.call(Je,Ae)&&(Ve[Ae]=Je[Ae])}return Ve}function fe(Ve,nt){var Je=Ve.replace(/\|/g,function(ze,qe,ve){for(var an=!1,Ge=qe;--Ge>=0&&ve[Ge]==="\\";)an=!an;return an?"|":" |"}),Ae=Je.split(/ \|/),De=0;if(Ae.length>nt)Ae.splice(nt);else for(;Ae.length<nt;)Ae.push("");for(;De<Ae.length;De++)Ae[De]=Ae[De].trim().replace(/\\\|/g,"|");return Ae}function ae(Ve,nt,Je){var Ae=Ve.length;if(Ae===0)return"";for(var De=0;De<Ae;){var ze=Ve.charAt(Ae-De-1);if(ze===nt&&!Je)De++;else if(ze!==nt&&Je)De++;else break}return Ve.substr(0,Ae-De)}function te(Ve,nt){if(Ve.indexOf(nt[1])===-1)return-1;for(var Je=Ve.length,Ae=0,De=0;De<Je;De++)if(Ve[De]==="\\")De++;else if(Ve[De]===nt[0])Ae++;else if(Ve[De]===nt[1]&&(Ae--,Ae<0))return De;return-1}function M(Ve){Ve&&Ve.sanitize&&!Ve.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 he(Ve,nt){if(nt<1)return"";for(var Je="";nt>1;)nt&1&&(Je+=Ve),nt>>=1,Ve+=Ve;return Je+Ve}var Q={escape:u,unescape:m,edit:ce,cleanUrl:ne,resolveUrl:j,noopTest:pe,merge:me,splitCells:fe,rtrim:ae,findClosingBracket:te,checkSanitizeDeprecation:M,repeatString:he},de=Ee.exports.defaults,ie=Q.rtrim,v=Q.splitCells,_=Q.escape,V=Q.findClosingBracket;function J(Ve,nt,Je){var Ae=nt.href,De=nt.title?_(nt.title):null,ze=Ve[1].replace(/\\([\[\]])/g,"$1");return Ve[0].charAt(0)!=="!"?{type:"link",raw:Je,href:Ae,title:De,text:ze}:{type:"image",raw:Je,href:Ae,title:De,text:_(ze)}}function Le(Ve,nt){var Je=Ve.match(/^(\s+)(?:```)/);if(Je===null)return nt;var Ae=Je[1];return nt.split(`
`).map(function(De){var ze=De.match(/^\s+/);if(ze===null)return De;var qe=ze[0];return qe.length>=Ae.length?De.slice(Ae.length):De}).join(`
`)}var Oe=function(){function Ve(Je){this.options=Je||de}var nt=Ve.prototype;return nt.space=function(Ae){var De=this.rules.block.newline.exec(Ae);if(De)return De[0].length>1?{type:"space",raw:De[0]}:{raw:`
`}},nt.code=function(Ae){var De=this.rules.block.code.exec(Ae);if(De){var ze=De[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:De[0],codeBlockStyle:"indented",text:this.options.pedantic?ze:ie(ze,`
`)}}},nt.fences=function(Ae){var De=this.rules.block.fences.exec(Ae);if(De){var ze=De[0],qe=Le(ze,De[3]||"");return{type:"code",raw:ze,lang:De[2]?De[2].trim():De[2],text:qe}}},nt.heading=function(Ae){var De=this.rules.block.heading.exec(Ae);if(De){var ze=De[2].trim();if(/#$/.test(ze)){var qe=ie(ze,"#");(this.options.pedantic||!qe||/ $/.test(qe))&&(ze=qe.trim())}return{type:"heading",raw:De[0],depth:De[1].length,text:ze}}},nt.nptable=function(Ae){var De=this.rules.block.nptable.exec(Ae);if(De){var ze={type:"table",header:v(De[1].replace(/^ *| *\| *$/g,"")),align:De[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:De[3]?De[3].replace(/\n$/,"").split(`
`):[],raw:De[0]};if(ze.header.length===ze.align.length){var qe=ze.align.length,ve;for(ve=0;ve<qe;ve++)/^ *-+: *$/.test(ze.align[ve])?ze.align[ve]="right":/^ *:-+: *$/.test(ze.align[ve])?ze.align[ve]="center":/^ *:-+ *$/.test(ze.align[ve])?ze.align[ve]="left":ze.align[ve]=null;for(qe=ze.cells.length,ve=0;ve<qe;ve++)ze.cells[ve]=v(ze.cells[ve],ze.header.length);return ze}}},nt.hr=function(Ae){var De=this.rules.block.hr.exec(Ae);if(De)return{type:"hr",raw:De[0]}},nt.blockquote=function(Ae){var De=this.rules.block.blockquote.exec(Ae);if(De){var ze=De[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:De[0],text:ze}}},nt.list=function(Ae){var De=this.rules.block.list.exec(Ae);if(De){var ze=De[0],qe=De[2],ve=qe.length>1,an={type:"list",raw:ze,ordered:ve,start:ve?+qe.slice(0,-1):"",loose:!1,items:[]},Ge=De[0].match(this.rules.block.item),mn=!1,_n,jt,Xt,Rt,Ft,Ze,Et,xt,Ne,Ce=Ge.length;Xt=this.rules.block.listItemStart.exec(Ge[0]);for(var mt=0;mt<Ce;mt++){if(_n=Ge[mt],ze=_n,this.options.pedantic||(Ne=_n.match(new RegExp("\\n\\s*\\n {0,"+(Xt[0].length-1)+"}\\S")),Ne&&(Ft=_n.length-Ne.index+Ge.slice(mt+1).join(`
`).length,an.raw=an.raw.substring(0,an.raw.length-Ft),_n=_n.substring(0,Ne.index),ze=_n,Ce=mt+1)),mt!==Ce-1){if(Rt=this.rules.block.listItemStart.exec(Ge[mt+1]),this.options.pedantic?Rt[1].length>Xt[1].length:Rt[1].length>=Xt[0].length||Rt[1].length>3){Ge.splice(mt,2,Ge[mt]+(!this.options.pedantic&&Rt[1].length<Xt[0].length&&!Ge[mt].match(/\n$/)?"":`
`)+Ge[mt+1]),mt--,Ce--;continue}else(!this.options.pedantic||this.options.smartLists?Rt[2][Rt[2].length-1]!==qe[qe.length-1]:ve===(Rt[2].length===1))&&(Ft=Ge.slice(mt+1).join(`
`).length,an.raw=an.raw.substring(0,an.raw.length-Ft),mt=Ce-1);Xt=Rt}jt=_n.length,_n=_n.replace(/^ *([*+-]|\d+[.)]) ?/,""),~_n.indexOf(`
`)&&(jt-=_n.length,_n=this.options.pedantic?_n.replace(/^ {1,4}/gm,""):_n.replace(new RegExp("^ {1,"+jt+"}","gm"),"")),_n=ie(_n,`
`),mt!==Ce-1&&(ze=ze+`
`),Ze=mn||/\n\n(?!\s*$)/.test(ze),mt!==Ce-1&&(mn=ze.slice(-2)===`
`,Ze||(Ze=mn)),Ze&&(an.loose=!0),this.options.gfm&&(Et=/^\[[ xX]\] /.test(_n),xt=void 0,Et&&(xt=_n[1]!==" ",_n=_n.replace(/^\[[ xX]\] +/,""))),an.items.push({type:"list_item",raw:ze,task:Et,checked:xt,loose:Ze,text:_n})}return an}},nt.html=function(Ae){var De=this.rules.block.html.exec(Ae);if(De)return{type:this.options.sanitize?"paragraph":"html",raw:De[0],pre:!this.options.sanitizer&&(De[1]==="pre"||De[1]==="script"||De[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(De[0]):_(De[0]):De[0]}},nt.def=function(Ae){var De=this.rules.block.def.exec(Ae);if(De){De[3]&&(De[3]=De[3].substring(1,De[3].length-1));var ze=De[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:ze,raw:De[0],href:De[2],title:De[3]}}},nt.table=function(Ae){var De=this.rules.block.table.exec(Ae);if(De){var ze={type:"table",header:v(De[1].replace(/^ *| *\| *$/g,"")),align:De[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:De[3]?De[3].replace(/\n$/,"").split(`
`):[]};if(ze.header.length===ze.align.length){ze.raw=De[0];var qe=ze.align.length,ve;for(ve=0;ve<qe;ve++)/^ *-+: *$/.test(ze.align[ve])?ze.align[ve]="right":/^ *:-+: *$/.test(ze.align[ve])?ze.align[ve]="center":/^ *:-+ *$/.test(ze.align[ve])?ze.align[ve]="left":ze.align[ve]=null;for(qe=ze.cells.length,ve=0;ve<qe;ve++)ze.cells[ve]=v(ze.cells[ve].replace(/^ *\| *| *\| *$/g,""),ze.header.length);return ze}}},nt.lheading=function(Ae){var De=this.rules.block.lheading.exec(Ae);if(De)return{type:"heading",raw:De[0],depth:De[2].charAt(0)==="="?1:2,text:De[1]}},nt.paragraph=function(Ae){var De=this.rules.block.paragraph.exec(Ae);if(De)return{type:"paragraph",raw:De[0],text:De[1].charAt(De[1].length-1)===`
`?De[1].slice(0,-1):De[1]}},nt.text=function(Ae){var De=this.rules.block.text.exec(Ae);if(De)return{type:"text",raw:De[0],text:De[0]}},nt.escape=function(Ae){var De=this.rules.inline.escape.exec(Ae);if(De)return{type:"escape",raw:De[0],text:_(De[1])}},nt.tag=function(Ae,De,ze){var qe=this.rules.inline.tag.exec(Ae);if(qe)return!De&&/^<a /i.test(qe[0])?De=!0:De&&/^<\/a>/i.test(qe[0])&&(De=!1),!ze&&/^<(pre|code|kbd|script)(\s|>)/i.test(qe[0])?ze=!0:ze&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(qe[0])&&(ze=!1),{type:this.options.sanitize?"text":"html",raw:qe[0],inLink:De,inRawBlock:ze,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):_(qe[0]):qe[0]}},nt.link=function(Ae){var De=this.rules.inline.link.exec(Ae);if(De){var ze=De[2].trim();if(!this.options.pedantic&&/^</.test(ze)){if(!/>$/.test(ze))return;var qe=ie(ze.slice(0,-1),"\\");if((ze.length-qe.length)%2===0)return}else{var ve=V(De[2],"()");if(ve>-1){var an=De[0].indexOf("!")===0?5:4,Ge=an+De[1].length+ve;De[2]=De[2].substring(0,ve),De[0]=De[0].substring(0,Ge).trim(),De[3]=""}}var mn=De[2],_n="";if(this.options.pedantic){var jt=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(mn);jt&&(mn=jt[1],_n=jt[3])}else _n=De[3]?De[3].slice(1,-1):"";return mn=mn.trim(),/^</.test(mn)&&(this.options.pedantic&&!/>$/.test(ze)?mn=mn.slice(1):mn=mn.slice(1,-1)),J(De,{href:mn&&mn.replace(this.rules.inline._escapes,"$1"),title:_n&&_n.replace(this.rules.inline._escapes,"$1")},De[0])}},nt.reflink=function(Ae,De){var ze;if((ze=this.rules.inline.reflink.exec(Ae))||(ze=this.rules.inline.nolink.exec(Ae))){var qe=(ze[2]||ze[1]).replace(/\s+/g," ");if(qe=De[qe.toLowerCase()],!qe||!qe.href){var ve=ze[0].charAt(0);return{type:"text",raw:ve,text:ve}}return J(ze,qe,ze[0])}},nt.emStrong=function(Ae,De,ze){ze===void 0&&(ze="");var qe=this.rules.inline.emStrong.lDelim.exec(Ae);if(qe&&!(qe[3]&&ze.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-\u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E8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-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A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var ve=qe[1]||qe[2]||"";if(!ve||ve&&(ze===""||this.rules.inline.punctuation.exec(ze))){var an=qe[0].length-1,Ge,mn,_n=an,jt=0,Xt=qe[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Xt.lastIndex=0,De=De.slice(-1*Ae.length+an);(qe=Xt.exec(De))!=null;)if(Ge=qe[1]||qe[2]||qe[3]||qe[4]||qe[5]||qe[6],!!Ge){if(mn=Ge.length,qe[3]||qe[4]){_n+=mn;continue}else if((qe[5]||qe[6])&&an%3&&!((an+mn)%3)){jt+=mn;continue}if(_n-=mn,!(_n>0))return mn=Math.min(mn,mn+_n+jt),Math.min(an,mn)%2?{type:"em",raw:Ae.slice(0,an+qe.index+mn+1),text:Ae.slice(1,an+qe.index+mn)}:{type:"strong",raw:Ae.slice(0,an+qe.index+mn+1),text:Ae.slice(2,an+qe.index+mn-1)}}}}},nt.codespan=function(Ae){var De=this.rules.inline.code.exec(Ae);if(De){var ze=De[2].replace(/\n/g," "),qe=/[^ ]/.test(ze),ve=/^ /.test(ze)&&/ $/.test(ze);return qe&&ve&&(ze=ze.substring(1,ze.length-1)),ze=_(ze,!0),{type:"codespan",raw:De[0],text:ze}}},nt.br=function(Ae){var De=this.rules.inline.br.exec(Ae);if(De)return{type:"br",raw:De[0]}},nt.del=function(Ae){var De=this.rules.inline.del.exec(Ae);if(De)return{type:"del",raw:De[0],text:De[2]}},nt.autolink=function(Ae,De){var ze=this.rules.inline.autolink.exec(Ae);if(ze){var qe,ve;return ze[2]==="@"?(qe=_(this.options.mangle?De(ze[1]):ze[1]),ve="mailto:"+qe):(qe=_(ze[1]),ve=qe),{type:"link",raw:ze[0],text:qe,href:ve,tokens:[{type:"text",raw:qe,text:qe}]}}},nt.url=function(Ae,De){var ze;if(ze=this.rules.inline.url.exec(Ae)){var qe,ve;if(ze[2]==="@")qe=_(this.options.mangle?De(ze[0]):ze[0]),ve="mailto:"+qe;else{var an;do an=ze[0],ze[0]=this.rules.inline._backpedal.exec(ze[0])[0];while(an!==ze[0]);qe=_(ze[0]),ze[1]==="www."?ve="http://"+qe:ve=qe}return{type:"link",raw:ze[0],text:qe,href:ve,tokens:[{type:"text",raw:qe,text:qe}]}}},nt.inlineText=function(Ae,De,ze){var qe=this.rules.inline.text.exec(Ae);if(qe){var ve;return De?ve=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(qe[0]):_(qe[0]):qe[0]:ve=_(this.options.smartypants?ze(qe[0]):qe[0]),{type:"text",raw:qe[0],text:ve}}},Ve}(),Ie=Q.noopTest,$e=Q.edit,lt=Q.merge,ut={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:Ie,table:Ie,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};ut._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,ut._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,ut.def=$e(ut.def).replace("label",ut._label).replace("title",ut._title).getRegex(),ut.bullet=/(?:[*+-]|\d{1,9}[.)])/,ut.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,ut.item=$e(ut.item,"gm").replace(/bull/g,ut.bullet).getRegex(),ut.listItemStart=$e(/^( *)(bull) */).replace("bull",ut.bullet).getRegex(),ut.list=$e(ut.list).replace(/bull/g,ut.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+ut.def.source+")").getRegex(),ut._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",ut._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,ut.html=$e(ut.html,"i").replace("comment",ut._comment).replace("tag",ut._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ut.paragraph=$e(ut._paragraph).replace("hr",ut.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",ut._tag).getRegex(),ut.blockquote=$e(ut.blockquote).replace("paragraph",ut.paragraph).getRegex(),ut.normal=lt({},ut),ut.gfm=lt({},ut.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*|$)"}),ut.gfm.nptable=$e(ut.gfm.nptable).replace("hr",ut.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",ut._tag).getRegex(),ut.gfm.table=$e(ut.gfm.table).replace("hr",ut.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",ut._tag).getRegex(),ut.pedantic=lt({},ut.normal,{html:$e(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ut._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:Ie,paragraph:$e(ut.normal._paragraph).replace("hr",ut.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",ut.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var it={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ie,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:Ie,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};it._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",it.punctuation=$e(it.punctuation).replace(/punctuation/g,it._punctuation).getRegex(),it.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,it.escapedEmSt=/\\\*|\\_/g,it._comment=$e(ut._comment).replace("(?:-->|$)","-->").getRegex(),it.emStrong.lDelim=$e(it.emStrong.lDelim).replace(/punct/g,it._punctuation).getRegex(),it.emStrong.rDelimAst=$e(it.emStrong.rDelimAst,"g").replace(/punct/g,it._punctuation).getRegex(),it.emStrong.rDelimUnd=$e(it.emStrong.rDelimUnd,"g").replace(/punct/g,it._punctuation).getRegex(),it._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,it._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,it._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,it.autolink=$e(it.autolink).replace("scheme",it._scheme).replace("email",it._email).getRegex(),it._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,it.tag=$e(it.tag).replace("comment",it._comment).replace("attribute",it._attribute).getRegex(),it._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,it._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,it._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,it.link=$e(it.link).replace("label",it._label).replace("href",it._href).replace("title",it._title).getRegex(),it.reflink=$e(it.reflink).replace("label",it._label).getRegex(),it.reflinkSearch=$e(it.reflinkSearch,"g").replace("reflink",it.reflink).replace("nolink",it.nolink).getRegex(),it.normal=lt({},it),it.pedantic=lt({},it.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:$e(/^!?\[(label)\]\((.*?)\)/).replace("label",it._label).getRegex(),reflink:$e(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",it._label).getRegex()}),it.gfm=lt({},it.normal,{escape:$e(it.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),it.gfm.url=$e(it.gfm.url,"i").replace("email",it.gfm._extended_email).getRegex(),it.breaks=lt({},it.gfm,{br:$e(it.br).replace("{2,}","*").getRegex(),text:$e(it.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Pt={block:ut,inline:it},Jt=Oe,rn=Ee.exports.defaults,It=Pt.block,Zt=Pt.inline,ot=Q.repeatString;function se(Ve){return Ve.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 be(Ve){var nt="",Je,Ae,De=Ve.length;for(Je=0;Je<De;Je++)Ae=Ve.charCodeAt(Je),Math.random()>.5&&(Ae="x"+Ae.toString(16)),nt+="&#"+Ae+";";return nt}var H=function(){function Ve(Je){this.tokens=[],this.tokens.links=Object.create(null),this.options=Je||rn,this.options.tokenizer=this.options.tokenizer||new Jt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Ae={block:It.normal,inline:Zt.normal};this.options.pedantic?(Ae.block=It.pedantic,Ae.inline=Zt.pedantic):this.options.gfm&&(Ae.block=It.gfm,this.options.breaks?Ae.inline=Zt.breaks:Ae.inline=Zt.gfm),this.tokenizer.rules=Ae}Ve.lex=function(Ae,De){var ze=new Ve(De);return ze.lex(Ae)},Ve.lexInline=function(Ae,De){var ze=new Ve(De);return ze.inlineTokens(Ae)};var nt=Ve.prototype;return nt.lex=function(Ae){return Ae=Ae.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(Ae,this.tokens,!0),this.inline(this.tokens),this.tokens},nt.blockTokens=function(Ae,De,ze){De===void 0&&(De=[]),ze===void 0&&(ze=!0),this.options.pedantic&&(Ae=Ae.replace(/^ +$/gm,""));for(var qe,ve,an,Ge;Ae;){if(qe=this.tokenizer.space(Ae)){Ae=Ae.substring(qe.raw.length),qe.type&&De.push(qe);continue}if(qe=this.tokenizer.code(Ae)){Ae=Ae.substring(qe.raw.length),Ge=De[De.length-1],Ge&&Ge.type==="paragraph"?(Ge.raw+=`
`+qe.raw,Ge.text+=`
`+qe.text):De.push(qe);continue}if(qe=this.tokenizer.fences(Ae)){Ae=Ae.substring(qe.raw.length),De.push(qe);continue}if(qe=this.tokenizer.heading(Ae)){Ae=Ae.substring(qe.raw.length),De.push(qe);continue}if(qe=this.tokenizer.nptable(Ae)){Ae=Ae.substring(qe.raw.length),De.push(qe);continue}if(qe=this.tokenizer.hr(Ae)){Ae=Ae.substring(qe.raw.length),De.push(qe);continue}if(qe=this.tokenizer.blockquote(Ae)){Ae=Ae.substring(qe.raw.length),qe.tokens=this.blockTokens(qe.text,[],ze),De.push(qe);continue}if(qe=this.tokenizer.list(Ae)){for(Ae=Ae.substring(qe.raw.length),an=qe.items.length,ve=0;ve<an;ve++)qe.items[ve].tokens=this.blockTokens(qe.items[ve].text,[],!1);De.push(qe);continue}if(qe=this.tokenizer.html(Ae)){Ae=Ae.substring(qe.raw.length),De.push(qe);continue}if(ze&&(qe=this.tokenizer.def(Ae))){Ae=Ae.substring(qe.raw.length),this.tokens.links[qe.tag]||(this.tokens.links[qe.tag]={href:qe.href,title:qe.title});continue}if(qe=this.tokenizer.table(Ae)){Ae=Ae.substring(qe.raw.length),De.push(qe);continue}if(qe=this.tokenizer.lheading(Ae)){Ae=Ae.substring(qe.raw.length),De.push(qe);continue}if(ze&&(qe=this.tokenizer.paragraph(Ae))){Ae=Ae.substring(qe.raw.length),De.push(qe);continue}if(qe=this.tokenizer.text(Ae)){Ae=Ae.substring(qe.raw.length),Ge=De[De.length-1],Ge&&Ge.type==="text"?(Ge.raw+=`
`+qe.raw,Ge.text+=`
`+qe.text):De.push(qe);continue}if(Ae){var mn="Infinite loop on byte: "+Ae.charCodeAt(0);if(this.options.silent){console.error(mn);break}else throw new Error(mn)}}return De},nt.inline=function(Ae){var De,ze,qe,ve,an,Ge,mn=Ae.length;for(De=0;De<mn;De++)switch(Ge=Ae[De],Ge.type){case"paragraph":case"text":case"heading":{Ge.tokens=[],this.inlineTokens(Ge.text,Ge.tokens);break}case"table":{for(Ge.tokens={header:[],cells:[]},ve=Ge.header.length,ze=0;ze<ve;ze++)Ge.tokens.header[ze]=[],this.inlineTokens(Ge.header[ze],Ge.tokens.header[ze]);for(ve=Ge.cells.length,ze=0;ze<ve;ze++)for(an=Ge.cells[ze],Ge.tokens.cells[ze]=[],qe=0;qe<an.length;qe++)Ge.tokens.cells[ze][qe]=[],this.inlineTokens(an[qe],Ge.tokens.cells[ze][qe]);break}case"blockquote":{this.inline(Ge.tokens);break}case"list":{for(ve=Ge.items.length,ze=0;ze<ve;ze++)this.inline(Ge.items[ze].tokens);break}}return Ae},nt.inlineTokens=function(Ae,De,ze,qe){De===void 0&&(De=[]),ze===void 0&&(ze=!1),qe===void 0&&(qe=!1);var ve,an,Ge=Ae,mn,_n,jt;if(this.tokens.links){var Xt=Object.keys(this.tokens.links);if(Xt.length>0)for(;(mn=this.tokenizer.rules.inline.reflinkSearch.exec(Ge))!=null;)Xt.includes(mn[0].slice(mn[0].lastIndexOf("[")+1,-1))&&(Ge=Ge.slice(0,mn.index)+"["+ot("a",mn[0].length-2)+"]"+Ge.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(mn=this.tokenizer.rules.inline.blockSkip.exec(Ge))!=null;)Ge=Ge.slice(0,mn.index)+"["+ot("a",mn[0].length-2)+"]"+Ge.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(mn=this.tokenizer.rules.inline.escapedEmSt.exec(Ge))!=null;)Ge=Ge.slice(0,mn.index)+"++"+Ge.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;Ae;){if(_n||(jt=""),_n=!1,ve=this.tokenizer.escape(Ae)){Ae=Ae.substring(ve.raw.length),De.push(ve);continue}if(ve=this.tokenizer.tag(Ae,ze,qe)){Ae=Ae.substring(ve.raw.length),ze=ve.inLink,qe=ve.inRawBlock;var Rt=De[De.length-1];Rt&&ve.type==="text"&&Rt.type==="text"?(Rt.raw+=ve.raw,Rt.text+=ve.text):De.push(ve);continue}if(ve=this.tokenizer.link(Ae)){Ae=Ae.substring(ve.raw.length),ve.type==="link"&&(ve.tokens=this.inlineTokens(ve.text,[],!0,qe)),De.push(ve);continue}if(ve=this.tokenizer.reflink(Ae,this.tokens.links)){Ae=Ae.substring(ve.raw.length);var Ft=De[De.length-1];ve.type==="link"?(ve.tokens=this.inlineTokens(ve.text,[],!0,qe),De.push(ve)):Ft&&ve.type==="text"&&Ft.type==="text"?(Ft.raw+=ve.raw,Ft.text+=ve.text):De.push(ve);continue}if(ve=this.tokenizer.emStrong(Ae,Ge,jt)){Ae=Ae.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],ze,qe),De.push(ve);continue}if(ve=this.tokenizer.codespan(Ae)){Ae=Ae.substring(ve.raw.length),De.push(ve);continue}if(ve=this.tokenizer.br(Ae)){Ae=Ae.substring(ve.raw.length),De.push(ve);continue}if(ve=this.tokenizer.del(Ae)){Ae=Ae.substring(ve.raw.length),ve.tokens=this.inlineTokens(ve.text,[],ze,qe),De.push(ve);continue}if(ve=this.tokenizer.autolink(Ae,be)){Ae=Ae.substring(ve.raw.length),De.push(ve);continue}if(!ze&&(ve=this.tokenizer.url(Ae,be))){Ae=Ae.substring(ve.raw.length),De.push(ve);continue}if(ve=this.tokenizer.inlineText(Ae,qe,se)){Ae=Ae.substring(ve.raw.length),ve.raw.slice(-1)!=="_"&&(jt=ve.raw.slice(-1)),_n=!0,an=De[De.length-1],an&&an.type==="text"?(an.raw+=ve.raw,an.text+=ve.text):De.push(ve);continue}if(Ae){var Ze="Infinite loop on byte: "+Ae.charCodeAt(0);if(this.options.silent){console.error(Ze);break}else throw new Error(Ze)}}return De},f(Ve,null,[{key:"rules",get:function(){return{block:It,inline:Zt}}}]),Ve}(),O=Ee.exports.defaults,xe=Q.cleanUrl,k=Q.escape,E=function(){function Ve(Je){this.options=Je||O}var nt=Ve.prototype;return nt.code=function(Ae,De,ze){var qe=(De||"").match(/\S*/)[0];if(this.options.highlight){var ve=this.options.highlight(Ae,qe);ve!=null&&ve!==Ae&&(ze=!0,Ae=ve)}return Ae=Ae.replace(/\n$/,"")+`
`,qe?'<pre><code class="'+this.options.langPrefix+k(qe,!0)+'">'+(ze?Ae:k(Ae,!0))+`</code></pre>
`:"<pre><code>"+(ze?Ae:k(Ae,!0))+`</code></pre>
`},nt.blockquote=function(Ae){return`<blockquote>
`+Ae+`</blockquote>
`},nt.html=function(Ae){return Ae},nt.heading=function(Ae,De,ze,qe){return this.options.headerIds?"<h"+De+' id="'+this.options.headerPrefix+qe.slug(ze)+'">'+Ae+"</h"+De+`>
`:"<h"+De+">"+Ae+"</h"+De+`>
`},nt.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},nt.list=function(Ae,De,ze){var qe=De?"ol":"ul",ve=De&&ze!==1?' start="'+ze+'"':"";return"<"+qe+ve+`>
`+Ae+"</"+qe+`>
`},nt.listitem=function(Ae){return"<li>"+Ae+`</li>
`},nt.checkbox=function(Ae){return"<input "+(Ae?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},nt.paragraph=function(Ae){return"<p>"+Ae+`</p>
`},nt.table=function(Ae,De){return De&&(De="<tbody>"+De+"</tbody>"),`<table>
<thead>
`+Ae+`</thead>
`+De+`</table>
`},nt.tablerow=function(Ae){return`<tr>
`+Ae+`</tr>
`},nt.tablecell=function(Ae,De){var ze=De.header?"th":"td",qe=De.align?"<"+ze+' align="'+De.align+'">':"<"+ze+">";return qe+Ae+"</"+ze+`>
`},nt.strong=function(Ae){return"<strong>"+Ae+"</strong>"},nt.em=function(Ae){return"<em>"+Ae+"</em>"},nt.codespan=function(Ae){return"<code>"+Ae+"</code>"},nt.br=function(){return this.options.xhtml?"<br/>":"<br>"},nt.del=function(Ae){return"<del>"+Ae+"</del>"},nt.link=function(Ae,De,ze){if(Ae=xe(this.options.sanitize,this.options.baseUrl,Ae),Ae===null)return ze;var qe='<a href="'+k(Ae)+'"';return De&&(qe+=' title="'+De+'"'),qe+=">"+ze+"</a>",qe},nt.image=function(Ae,De,ze){if(Ae=xe(this.options.sanitize,this.options.baseUrl,Ae),Ae===null)return ze;var qe='<img src="'+Ae+'" alt="'+ze+'"';return De&&(qe+=' title="'+De+'"'),qe+=this.options.xhtml?"/>":">",qe},nt.text=function(Ae){return Ae},Ve}(),T=function(){function Ve(){}var nt=Ve.prototype;return nt.strong=function(Ae){return Ae},nt.em=function(Ae){return Ae},nt.codespan=function(Ae){return Ae},nt.del=function(Ae){return Ae},nt.html=function(Ae){return Ae},nt.text=function(Ae){return Ae},nt.link=function(Ae,De,ze){return""+ze},nt.image=function(Ae,De,ze){return""+ze},nt.br=function(){return""},Ve}(),X=function(){function Ve(){this.seen={}}var nt=Ve.prototype;return nt.serialize=function(Ae){return Ae.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},nt.getNextSafeSlug=function(Ae,De){var ze=Ae,qe=0;if(this.seen.hasOwnProperty(ze)){qe=this.seen[Ae];do qe++,ze=Ae+"-"+qe;while(this.seen.hasOwnProperty(ze))}return De||(this.seen[Ae]=qe,this.seen[ze]=0),ze},nt.slug=function(Ae,De){De===void 0&&(De={});var ze=this.serialize(Ae);return this.getNextSafeSlug(ze,De.dryrun)},Ve}(),Z=E,K=T,we=X,Ke=Ee.exports.defaults,ke=Q.unescape,Te=function(){function Ve(Je){this.options=Je||Ke,this.options.renderer=this.options.renderer||new Z,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new K,this.slugger=new we}Ve.parse=function(Ae,De){var ze=new Ve(De);return ze.parse(Ae)},Ve.parseInline=function(Ae,De){var ze=new Ve(De);return ze.parseInline(Ae)};var nt=Ve.prototype;return nt.parse=function(Ae,De){De===void 0&&(De=!0);var ze="",qe,ve,an,Ge,mn,_n,jt,Xt,Rt,Ft,Ze,Et,xt,Ne,Ce,mt,pt,Dt,Ht=Ae.length;for(qe=0;qe<Ht;qe++)switch(Ft=Ae[qe],Ft.type){case"space":continue;case"hr":{ze+=this.renderer.hr();continue}case"heading":{ze+=this.renderer.heading(this.parseInline(Ft.tokens),Ft.depth,ke(this.parseInline(Ft.tokens,this.textRenderer)),this.slugger);continue}case"code":{ze+=this.renderer.code(Ft.text,Ft.lang,Ft.escaped);continue}case"table":{for(Xt="",jt="",Ge=Ft.header.length,ve=0;ve<Ge;ve++)jt+=this.renderer.tablecell(this.parseInline(Ft.tokens.header[ve]),{header:!0,align:Ft.align[ve]});for(Xt+=this.renderer.tablerow(jt),Rt="",Ge=Ft.cells.length,ve=0;ve<Ge;ve++){for(_n=Ft.tokens.cells[ve],jt="",mn=_n.length,an=0;an<mn;an++)jt+=this.renderer.tablecell(this.parseInline(_n[an]),{header:!1,align:Ft.align[an]});Rt+=this.renderer.tablerow(jt)}ze+=this.renderer.table(Xt,Rt);continue}case"blockquote":{Rt=this.parse(Ft.tokens),ze+=this.renderer.blockquote(Rt);continue}case"list":{for(Ze=Ft.ordered,Et=Ft.start,xt=Ft.loose,Ge=Ft.items.length,Rt="",ve=0;ve<Ge;ve++)Ce=Ft.items[ve],mt=Ce.checked,pt=Ce.task,Ne="",Ce.task&&(Dt=this.renderer.checkbox(mt),xt?Ce.tokens.length>0&&Ce.tokens[0].type==="text"?(Ce.tokens[0].text=Dt+" "+Ce.tokens[0].text,Ce.tokens[0].tokens&&Ce.tokens[0].tokens.length>0&&Ce.tokens[0].tokens[0].type==="text"&&(Ce.tokens[0].tokens[0].text=Dt+" "+Ce.tokens[0].tokens[0].text)):Ce.tokens.unshift({type:"text",text:Dt}):Ne+=Dt),Ne+=this.parse(Ce.tokens,xt),Rt+=this.renderer.listitem(Ne,pt,mt);ze+=this.renderer.list(Rt,Ze,Et);continue}case"html":{ze+=this.renderer.html(Ft.text);continue}case"paragraph":{ze+=this.renderer.paragraph(this.parseInline(Ft.tokens));continue}case"text":{for(Rt=Ft.tokens?this.parseInline(Ft.tokens):Ft.text;qe+1<Ht&&Ae[qe+1].type==="text";)Ft=Ae[++qe],Rt+=`
`+(Ft.tokens?this.parseInline(Ft.tokens):Ft.text);ze+=De?this.renderer.paragraph(Rt):Rt;continue}default:{var nn='Token with "'+Ft.type+'" type was not found.';if(this.options.silent){console.error(nn);return}else throw new Error(nn)}}return ze},nt.parseInline=function(Ae,De){De=De||this.renderer;var ze="",qe,ve,an=Ae.length;for(qe=0;qe<an;qe++)switch(ve=Ae[qe],ve.type){case"escape":{ze+=De.text(ve.text);break}case"html":{ze+=De.html(ve.text);break}case"link":{ze+=De.link(ve.href,ve.title,this.parseInline(ve.tokens,De));break}case"image":{ze+=De.image(ve.href,ve.title,ve.text);break}case"strong":{ze+=De.strong(this.parseInline(ve.tokens,De));break}case"em":{ze+=De.em(this.parseInline(ve.tokens,De));break}case"codespan":{ze+=De.codespan(ve.text);break}case"br":{ze+=De.br();break}case"del":{ze+=De.del(this.parseInline(ve.tokens,De));break}case"text":{ze+=De.text(ve.text);break}default:{var Ge='Token with "'+ve.type+'" type was not found.';if(this.options.silent){console.error(Ge);return}else throw new Error(Ge)}}return ze},Ve}(),Ye=H,et=Te,je=Oe,vt=E,bt=T,ht=X,Nt=Q.merge,_t=Q.checkSanitizeDeprecation,w=Q.escape,D=Ee.exports.getDefaults,St=Ee.exports.changeDefaults,ue=Ee.exports.defaults;function Be(Ve,nt,Je){if(typeof Ve=="undefined"||Ve===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Ve!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Ve)+", string expected");if(typeof nt=="function"&&(Je=nt,nt=null),nt=Nt({},Be.defaults,nt||{}),_t(nt),Je){var Ae=nt.highlight,De;try{De=Ye.lex(Ve,nt)}catch(an){return Je(an)}var ze=function(Ge){var mn;if(!Ge)try{nt.walkTokens&&Be.walkTokens(De,nt.walkTokens),mn=et.parse(De,nt)}catch(_n){Ge=_n}return nt.highlight=Ae,Ge?Je(Ge):Je(null,mn)};if(!Ae||Ae.length<3||(delete nt.highlight,!De.length))return ze();var qe=0;Be.walkTokens(De,function(an){an.type==="code"&&(qe++,setTimeout(function(){Ae(an.text,an.lang,function(Ge,mn){if(Ge)return ze(Ge);mn!=null&&mn!==an.text&&(an.text=mn,an.escaped=!0),qe--,qe===0&&ze()})},0))}),qe===0&&ze();return}try{var ve=Ye.lex(Ve,nt);return nt.walkTokens&&Be.walkTokens(ve,nt.walkTokens),et.parse(ve,nt)}catch(an){if(an.message+=`
Please report this to https://github.com/markedjs/marked.`,nt.silent)return"<p>An error occurred:</p><pre>"+w(an.message+"",!0)+"</pre>";throw an}}Be.options=Be.setOptions=function(Ve){return Nt(Be.defaults,Ve),St(Be.defaults),Be},Be.getDefaults=D,Be.defaults=ue,Be.use=function(Ve){var nt=Nt({},Ve);if(Ve.renderer&&function(){var Ae=Be.defaults.renderer||new vt,De=function(ve){var an=Ae[ve];Ae[ve]=function(){for(var Ge=arguments.length,mn=new Array(Ge),_n=0;_n<Ge;_n++)mn[_n]=arguments[_n];var jt=Ve.renderer[ve].apply(Ae,mn);return jt===!1&&(jt=an.apply(Ae,mn)),jt}};for(var ze in Ve.renderer)De(ze);nt.renderer=Ae}(),Ve.tokenizer&&function(){var Ae=Be.defaults.tokenizer||new je,De=function(ve){var an=Ae[ve];Ae[ve]=function(){for(var Ge=arguments.length,mn=new Array(Ge),_n=0;_n<Ge;_n++)mn[_n]=arguments[_n];var jt=Ve.tokenizer[ve].apply(Ae,mn);return jt===!1&&(jt=an.apply(Ae,mn)),jt}};for(var ze in Ve.tokenizer)De(ze);nt.tokenizer=Ae}(),Ve.walkTokens){var Je=Be.defaults.walkTokens;nt.walkTokens=function(Ae){Ve.walkTokens(Ae),Je&&Je(Ae)}}Be.setOptions(nt)},Be.walkTokens=function(Ve,nt){for(var Je=ee(Ve),Ae;!(Ae=Je()).done;){var De=Ae.value;switch(nt(De),De.type){case"table":{for(var ze=ee(De.tokens.header),qe;!(qe=ze()).done;){var ve=qe.value;Be.walkTokens(ve,nt)}for(var an=ee(De.tokens.cells),Ge;!(Ge=an()).done;)for(var mn=Ge.value,_n=ee(mn),jt;!(jt=_n()).done;){var Xt=jt.value;Be.walkTokens(Xt,nt)}break}case"list":{Be.walkTokens(De.items,nt);break}default:De.tokens&&Be.walkTokens(De.tokens,nt)}}},Be.parseInline=function(Ve,nt){if(typeof Ve=="undefined"||Ve===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof Ve!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(Ve)+", string expected");nt=Nt({},Be.defaults,nt||{}),_t(nt);try{var Je=Ye.lexInline(Ve,nt);return nt.walkTokens&&Be.walkTokens(Je,nt.walkTokens),et.parseInline(Je,nt)}catch(Ae){if(Ae.message+=`
Please report this to https://github.com/markedjs/marked.`,nt.silent)return"<p>An error occurred:</p><pre>"+w(Ae.message+"",!0)+"</pre>";throw Ae}},Be.Parser=et,Be.parser=et.parse,Be.Renderer=vt,Be.TextRenderer=bt,Be.Lexer=Ye,Be.lexer=Ye.lex,Be.Tokenizer=je,Be.Slugger=ht,Be.parse=Be;var pn=Be;return pn})},11690:function(tn){const tt=/[&<>"']/,f=/[&<>"']/g,y=/[<>"']|&(?!#?\w+;)/,L=/[<>"']|&(?!#?\w+;)/g,ee={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ee=j=>ee[j];function $(j,pe){if(pe){if(tt.test(j))return j.replace(f,Ee)}else if(y.test(j))return j.replace(L,Ee);return j}const q=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function C(j){return j.replace(q,(pe,me)=>(me=me.toLowerCase(),me==="colon"?":":me.charAt(0)==="#"?me.charAt(1)==="x"?String.fromCharCode(parseInt(me.substring(2),16)):String.fromCharCode(+me.substring(1)):""))}const Se=/(^|[^\[])\^/g;function a(j,pe){j=j.source||j,pe=pe||"";const me={replace:(fe,ae)=>(ae=ae.source||ae,ae=ae.replace(Se,"$1"),j=j.replace(fe,ae),me),getRegex:()=>new RegExp(j,pe)};return me}const I=/[^\w:]/g,z=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function S(j,pe,me){if(j){let fe;try{fe=decodeURIComponent(C(me)).replace(I,"").toLowerCase()}catch(ae){return null}if(fe.indexOf("javascript:")===0||fe.indexOf("vbscript:")===0||fe.indexOf("data:")===0)return null}pe&&!z.test(me)&&(me=ce(pe,me));try{me=encodeURI(me).replace(/%25/g,"%")}catch(fe){return null}return me}const u={},x=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,P=/^([^:]+:\/*[^/]*)[\s\S]*$/;function ce(j,pe){u[" "+j]||(x.test(j)?u[" "+j]=j+"/":u[" "+j]=Y(j,"/",!0)),j=u[" "+j];const me=j.indexOf(":")===-1;return pe.substring(0,2)==="//"?me?pe:j.replace(m,"$1")+pe:pe.charAt(0)==="/"?me?pe:j.replace(P,"$1")+pe:j+pe}const U={exec:function(){}};function W(j){let pe=1,me,fe;for(;pe<arguments.length;pe++){me=arguments[pe];for(fe in me)Object.prototype.hasOwnProperty.call(me,fe)&&(j[fe]=me[fe])}return j}function ne(j,pe){const me=j.replace(/\|/g,(te,M,he)=>{let Q=!1,de=M;for(;--de>=0&&he[de]==="\\";)Q=!Q;return Q?"|":" |"}),fe=me.split(/ \|/);let ae=0;if(fe.length>pe)fe.splice(pe);else for(;fe.length<pe;)fe.push("");for(;ae<fe.length;ae++)fe[ae]=fe[ae].trim().replace(/\\\|/g,"|");return fe}function Y(j,pe,me){const fe=j.length;if(fe===0)return"";let ae=0;for(;ae<fe;){const te=j.charAt(fe-ae-1);if(te===pe&&!me)ae++;else if(te!==pe&&me)ae++;else break}return j.substr(0,fe-ae)}function b(j,pe){if(j.indexOf(pe[1])===-1)return-1;const me=j.length;let fe=0,ae=0;for(;ae<me;ae++)if(j[ae]==="\\")ae++;else if(j[ae]===pe[0])fe++;else if(j[ae]===pe[1]&&(fe--,fe<0))return ae;return-1}function R(j){j&&j.sanitize&&!j.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function G(j,pe){if(pe<1)return"";let me="";for(;pe>1;)pe&1&&(me+=j),pe>>=1,j+=j;return me+j}tn.exports={escape:$,unescape:C,edit:a,cleanUrl:S,resolveUrl:ce,noopTest:U,merge:W,splitCells:ne,rtrim:Y,findClosingBracket:b,checkSanitizeDeprecation:R,repeatString:G}},75918:function(tn,tt,f){"use strict";f.d(tt,{Wi:function(){return q},Z0:function(){return C},aU:function(){return $},eZ:function(){return a},wY:function(){return Se}});var y=f(4348),L=f(69323),ee=f(13268),Ee=function(I,z,S,u){function x(m){return m instanceof S?m:new S(function(P){P(m)})}return new(S||(S=Promise))(function(m,P){function ce(ne){try{W(u.next(ne))}catch(Y){P(Y)}}function U(ne){try{W(u.throw(ne))}catch(Y){P(Y)}}function W(ne){ne.done?m(ne.value):x(ne.value).then(ce,U)}W((u=u.apply(I,z||[])).next())})};class $ extends L.JT{constructor(z,S="",u="",x=!0,m){super(),this._onDidChange=this._register(new y.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=z,this._label=S,this._cssClass=u,this._enabled=x,this._actionCallback=m}get id(){return this._id}get label(){return this._label}set label(z){this._setLabel(z)}_setLabel(z){this._label!==z&&(this._label=z,this._onDidChange.fire({label:z}))}get tooltip(){return this._tooltip||""}set tooltip(z){this._setTooltip(z)}_setTooltip(z){this._tooltip!==z&&(this._tooltip=z,this._onDidChange.fire({tooltip:z}))}get class(){return this._cssClass}set class(z){this._setClass(z)}_setClass(z){this._cssClass!==z&&(this._cssClass=z,this._onDidChange.fire({class:z}))}get enabled(){return this._enabled}set enabled(z){this._setEnabled(z)}_setEnabled(z){this._enabled!==z&&(this._enabled=z,this._onDidChange.fire({enabled:z}))}get checked(){return this._checked}set checked(z){this._setChecked(z)}_setChecked(z){this._checked!==z&&(this._checked=z,this._onDidChange.fire({checked:z}))}run(z,S){return Ee(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(z))})}}class q extends L.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new y.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new y.Q5),this.onDidRun=this._onDidRun.event}run(z,S){return Ee(this,void 0,void 0,function*(){if(!z.enabled)return;this._onBeforeRun.fire({action:z});let u;try{yield this.runAction(z,S)}catch(x){u=x}this._onDidRun.fire({action:z,error:u})})}runAction(z,S){return Ee(this,void 0,void 0,function*(){yield z.run(S)})}}class C extends ${constructor(z){super(C.ID,z,z?"separator text":"separator"),this.checked=!1,this.enabled=!1}}C.ID="vs.actions.separator";class Se{constructor(z,S,u,x){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=z,this.label=S,this.class=x,this._actions=u}get actions(){return this._actions}dispose(){}run(){return Ee(this,void 0,void 0,function*(){})}}class a extends ${constructor(){super(a.ID,ee.N("submenu.empty","(empty)"),void 0,!1)}}a.ID="vs.actions.empty"},76068:function(tn,tt,f){"use strict";f.d(tt,{ok:function(){return y}});function y(L,ee){if(!L)throw new Error(ee?`Assertion failed (${ee})`:"Assertion Failed")}},52615:function(tn,tt,f){"use strict";f.d(tt,{CM:function(){return $},JL:function(){return q},dT:function(){return Se},fK:function(){return Ee},lA:function(){return C}});var y=f(4348);class L{constructor(){this._icons=new Map,this._onDidRegister=new y.Q5}add(I){const z=this._icons.get(I.id);z?I.description?z.description=I.description:console.error(`Duplicate registration of codicon ${I.id}`):(this._icons.set(I.id,I),this._onDidRegister.fire(I))}get(I){return this._icons.get(I)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const ee=new L,Ee=ee;function $(a,I){return new C(a,I)}function q(a){return a?a.replace(/\$\((.*?)\)/g,(I,z)=>` ${z} `).trim():""}class C{constructor(I,z,S){this.id=I,this.definition=z,this.description=S,ee.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var Se;(function(a){a.iconNameSegment="[A-Za-z0-9]+",a.iconNameExpression="[A-Za-z0-9\\-]+",a.iconModifierExpression="~[A-Za-z]+";const I=new RegExp(`^(${a.iconNameExpression})(${a.iconModifierExpression})?$`);function z(x){if(x instanceof C)return["codicon","codicon-"+x.id];const m=I.exec(x.id);if(!m)return z(C.error);let[,P,ce]=m;const U=["codicon","codicon-"+P];return ce&&U.push("codicon-modifier-"+ce.substr(1)),U}a.asClassNameArray=z;function S(x){return z(x).join(" ")}a.asClassName=S;function u(x){return"."+z(x).join(".")}a.asCSSSelector=u})(Se||(Se={})),function(a){a.add=new a("add",{fontCharacter:"\\ea60"}),a.plus=new a("plus",a.add.definition),a.gistNew=new a("gist-new",a.add.definition),a.repoCreate=new a("repo-create",a.add.definition),a.lightbulb=new a("lightbulb",{fontCharacter:"\\ea61"}),a.lightBulb=new a("light-bulb",{fontCharacter:"\\ea61"}),a.repo=new a("repo",{fontCharacter:"\\ea62"}),a.repoDelete=new a("repo-delete",{fontCharacter:"\\ea62"}),a.gistFork=new a("gist-fork",{fontCharacter:"\\ea63"}),a.repoForked=new a("repo-forked",{fontCharacter:"\\ea63"}),a.gitPullRequest=new a("git-pull-request",{fontCharacter:"\\ea64"}),a.gitPullRequestAbandoned=new a("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),a.recordKeys=new a("record-keys",{fontCharacter:"\\ea65"}),a.keyboard=new a("keyboard",{fontCharacter:"\\ea65"}),a.tag=new a("tag",{fontCharacter:"\\ea66"}),a.tagAdd=new a("tag-add",{fontCharacter:"\\ea66"}),a.tagRemove=new a("tag-remove",{fontCharacter:"\\ea66"}),a.person=new a("person",{fontCharacter:"\\ea67"}),a.personFollow=new a("person-follow",{fontCharacter:"\\ea67"}),a.personOutline=new a("person-outline",{fontCharacter:"\\ea67"}),a.personFilled=new a("person-filled",{fontCharacter:"\\ea67"}),a.gitBranch=new a("git-branch",{fontCharacter:"\\ea68"}),a.gitBranchCreate=new a("git-branch-create",{fontCharacter:"\\ea68"}),a.gitBranchDelete=new a("git-branch-delete",{fontCharacter:"\\ea68"}),a.sourceControl=new a("source-control",{fontCharacter:"\\ea68"}),a.mirror=new a("mirror",{fontCharacter:"\\ea69"}),a.mirrorPublic=new a("mirror-public",{fontCharacter:"\\ea69"}),a.star=new a("star",{fontCharacter:"\\ea6a"}),a.starAdd=new a("star-add",{fontCharacter:"\\ea6a"}),a.starDelete=new a("star-delete",{fontCharacter:"\\ea6a"}),a.starEmpty=new a("star-empty",{fontCharacter:"\\ea6a"}),a.comment=new a("comment",{fontCharacter:"\\ea6b"}),a.commentAdd=new a("comment-add",{fontCharacter:"\\ea6b"}),a.alert=new a("alert",{fontCharacter:"\\ea6c"}),a.warning=new a("warning",{fontCharacter:"\\ea6c"}),a.search=new a("search",{fontCharacter:"\\ea6d"}),a.searchSave=new a("search-save",{fontCharacter:"\\ea6d"}),a.logOut=new a("log-out",{fontCharacter:"\\ea6e"}),a.signOut=new a("sign-out",{fontCharacter:"\\ea6e"}),a.logIn=new a("log-in",{fontCharacter:"\\ea6f"}),a.signIn=new a("sign-in",{fontCharacter:"\\ea6f"}),a.eye=new a("eye",{fontCharacter:"\\ea70"}),a.eyeUnwatch=new a("eye-unwatch",{fontCharacter:"\\ea70"}),a.eyeWatch=new a("eye-watch",{fontCharacter:"\\ea70"}),a.circleFilled=new a("circle-filled",{fontCharacter:"\\ea71"}),a.primitiveDot=new a("primitive-dot",{fontCharacter:"\\ea71"}),a.closeDirty=new a("close-dirty",{fontCharacter:"\\ea71"}),a.debugBreakpoint=new a("debug-breakpoint",{fontCharacter:"\\ea71"}),a.debugBreakpointDisabled=new a("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),a.debugHint=new a("debug-hint",{fontCharacter:"\\ea71"}),a.primitiveSquare=new a("primitive-square",{fontCharacter:"\\ea72"}),a.edit=new a("edit",{fontCharacter:"\\ea73"}),a.pencil=new a("pencil",{fontCharacter:"\\ea73"}),a.info=new a("info",{fontCharacter:"\\ea74"}),a.issueOpened=new a("issue-opened",{fontCharacter:"\\ea74"}),a.gistPrivate=new a("gist-private",{fontCharacter:"\\ea75"}),a.gitForkPrivate=new a("git-fork-private",{fontCharacter:"\\ea75"}),a.lock=new a("lock",{fontCharacter:"\\ea75"}),a.mirrorPrivate=new a("mirror-private",{fontCharacter:"\\ea75"}),a.close=new a("close",{fontCharacter:"\\ea76"}),a.removeClose=new a("remove-close",{fontCharacter:"\\ea76"}),a.x=new a("x",{fontCharacter:"\\ea76"}),a.repoSync=new a("repo-sync",{fontCharacter:"\\ea77"}),a.sync=new a("sync",{fontCharacter:"\\ea77"}),a.clone=new a("clone",{fontCharacter:"\\ea78"}),a.desktopDownload=new a("desktop-download",{fontCharacter:"\\ea78"}),a.beaker=new a("beaker",{fontCharacter:"\\ea79"}),a.microscope=new a("microscope",{fontCharacter:"\\ea79"}),a.vm=new a("vm",{fontCharacter:"\\ea7a"}),a.deviceDesktop=new a("device-desktop",{fontCharacter:"\\ea7a"}),a.file=new a("file",{fontCharacter:"\\ea7b"}),a.fileText=new a("file-text",{fontCharacter:"\\ea7b"}),a.more=new a("more",{fontCharacter:"\\ea7c"}),a.ellipsis=new a("ellipsis",{fontCharacter:"\\ea7c"}),a.kebabHorizontal=new a("kebab-horizontal",{fontCharacter:"\\ea7c"}),a.mailReply=new a("mail-reply",{fontCharacter:"\\ea7d"}),a.reply=new a("reply",{fontCharacter:"\\ea7d"}),a.organization=new a("organization",{fontCharacter:"\\ea7e"}),a.organizationFilled=new a("organization-filled",{fontCharacter:"\\ea7e"}),a.organizationOutline=new a("organization-outline",{fontCharacter:"\\ea7e"}),a.newFile=new a("new-file",{fontCharacter:"\\ea7f"}),a.fileAdd=new a("file-add",{fontCharacter:"\\ea7f"}),a.newFolder=new a("new-folder",{fontCharacter:"\\ea80"}),a.fileDirectoryCreate=new a("file-directory-create",{fontCharacter:"\\ea80"}),a.trash=new a("trash",{fontCharacter:"\\ea81"}),a.trashcan=new a("trashcan",{fontCharacter:"\\ea81"}),a.history=new a("history",{fontCharacter:"\\ea82"}),a.clock=new a("clock",{fontCharacter:"\\ea82"}),a.folder=new a("folder",{fontCharacter:"\\ea83"}),a.fileDirectory=new a("file-directory",{fontCharacter:"\\ea83"}),a.symbolFolder=new a("symbol-folder",{fontCharacter:"\\ea83"}),a.logoGithub=new a("logo-github",{fontCharacter:"\\ea84"}),a.markGithub=new a("mark-github",{fontCharacter:"\\ea84"}),a.github=new a("github",{fontCharacter:"\\ea84"}),a.terminal=new a("terminal",{fontCharacter:"\\ea85"}),a.console=new a("console",{fontCharacter:"\\ea85"}),a.repl=new a("repl",{fontCharacter:"\\ea85"}),a.zap=new a("zap",{fontCharacter:"\\ea86"}),a.symbolEvent=new a("symbol-event",{fontCharacter:"\\ea86"}),a.error=new a("error",{fontCharacter:"\\ea87"}),a.stop=new a("stop",{fontCharacter:"\\ea87"}),a.variable=new a("variable",{fontCharacter:"\\ea88"}),a.symbolVariable=new a("symbol-variable",{fontCharacter:"\\ea88"}),a.array=new a("array",{fontCharacter:"\\ea8a"}),a.symbolArray=new a("symbol-array",{fontCharacter:"\\ea8a"}),a.symbolModule=new a("symbol-module",{fontCharacter:"\\ea8b"}),a.symbolPackage=new a("symbol-package",{fontCharacter:"\\ea8b"}),a.symbolNamespace=new a("symbol-namespace",{fontCharacter:"\\ea8b"}),a.symbolObject=new a("symbol-object",{fontCharacter:"\\ea8b"}),a.symbolMethod=new a("symbol-method",{fontCharacter:"\\ea8c"}),a.symbolFunction=new a("symbol-function",{fontCharacter:"\\ea8c"}),a.symbolConstructor=new a("symbol-constructor",{fontCharacter:"\\ea8c"}),a.symbolBoolean=new a("symbol-boolean",{fontCharacter:"\\ea8f"}),a.symbolNull=new a("symbol-null",{fontCharacter:"\\ea8f"}),a.symbolNumeric=new a("symbol-numeric",{fontCharacter:"\\ea90"}),a.symbolNumber=new a("symbol-number",{fontCharacter:"\\ea90"}),a.symbolStructure=new a("symbol-structure",{fontCharacter:"\\ea91"}),a.symbolStruct=new a("symbol-struct",{fontCharacter:"\\ea91"}),a.symbolParameter=new a("symbol-parameter",{fontCharacter:"\\ea92"}),a.symbolTypeParameter=new a("symbol-type-parameter",{fontCharacter:"\\ea92"}),a.symbolKey=new a("symbol-key",{fontCharacter:"\\ea93"}),a.symbolText=new a("symbol-text",{fontCharacter:"\\ea93"}),a.symbolReference=new a("symbol-reference",{fontCharacter:"\\ea94"}),a.goToFile=new a("go-to-file",{fontCharacter:"\\ea94"}),a.symbolEnum=new a("symbol-enum",{fontCharacter:"\\ea95"}),a.symbolValue=new a("symbol-value",{fontCharacter:"\\ea95"}),a.symbolRuler=new a("symbol-ruler",{fontCharacter:"\\ea96"}),a.symbolUnit=new a("symbol-unit",{fontCharacter:"\\ea96"}),a.activateBreakpoints=new a("activate-breakpoints",{fontCharacter:"\\ea97"}),a.archive=new a("archive",{fontCharacter:"\\ea98"}),a.arrowBoth=new a("arrow-both",{fontCharacter:"\\ea99"}),a.arrowDown=new a("arrow-down",{fontCharacter:"\\ea9a"}),a.arrowLeft=new a("arrow-left",{fontCharacter:"\\ea9b"}),a.arrowRight=new a("arrow-right",{fontCharacter:"\\ea9c"}),a.arrowSmallDown=new a("arrow-small-down",{fontCharacter:"\\ea9d"}),a.arrowSmallLeft=new a("arrow-small-left",{fontCharacter:"\\ea9e"}),a.arrowSmallRight=new a("arrow-small-right",{fontCharacter:"\\ea9f"}),a.arrowSmallUp=new a("arrow-small-up",{fontCharacter:"\\eaa0"}),a.arrowUp=new a("arrow-up",{fontCharacter:"\\eaa1"}),a.bell=new a("bell",{fontCharacter:"\\eaa2"}),a.bold=new a("bold",{fontCharacter:"\\eaa3"}),a.book=new a("book",{fontCharacter:"\\eaa4"}),a.bookmark=new a("bookmark",{fontCharacter:"\\eaa5"}),a.debugBreakpointConditionalUnverified=new a("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),a.debugBreakpointConditional=new a("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),a.debugBreakpointConditionalDisabled=new a("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),a.debugBreakpointDataUnverified=new a("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),a.debugBreakpointData=new a("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),a.debugBreakpointDataDisabled=new a("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),a.debugBreakpointLogUnverified=new a("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),a.debugBreakpointLog=new a("debug-breakpoint-log",{fontCharacter:"\\eaab"}),a.debugBreakpointLogDisabled=new a("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),a.briefcase=new a("briefcase",{fontCharacter:"\\eaac"}),a.broadcast=new a("broadcast",{fontCharacter:"\\eaad"}),a.browser=new a("browser",{fontCharacter:"\\eaae"}),a.bug=new a("bug",{fontCharacter:"\\eaaf"}),a.calendar=new a("calendar",{fontCharacter:"\\eab0"}),a.caseSensitive=new a("case-sensitive",{fontCharacter:"\\eab1"}),a.check=new a("check",{fontCharacter:"\\eab2"}),a.checklist=new a("checklist",{fontCharacter:"\\eab3"}),a.chevronDown=new a("chevron-down",{fontCharacter:"\\eab4"}),a.dropDownButton=new a("drop-down-button",a.chevronDown.definition),a.chevronLeft=new a("chevron-left",{fontCharacter:"\\eab5"}),a.chevronRight=new a("chevron-right",{fontCharacter:"\\eab6"}),a.chevronUp=new a("chevron-up",{fontCharacter:"\\eab7"}),a.chromeClose=new a("chrome-close",{fontCharacter:"\\eab8"}),a.chromeMaximize=new a("chrome-maximize",{fontCharacter:"\\eab9"}),a.chromeMinimize=new a("chrome-minimize",{fontCharacter:"\\eaba"}),a.chromeRestore=new a("chrome-restore",{fontCharacter:"\\eabb"}),a.circleOutline=new a("circle-outline",{fontCharacter:"\\eabc"}),a.debugBreakpointUnverified=new a("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),a.circleSlash=new a("circle-slash",{fontCharacter:"\\eabd"}),a.circuitBoard=new a("circuit-board",{fontCharacter:"\\eabe"}),a.clearAll=new a("clear-all",{fontCharacter:"\\eabf"}),a.clippy=new a("clippy",{fontCharacter:"\\eac0"}),a.closeAll=new a("close-all",{fontCharacter:"\\eac1"}),a.cloudDownload=new a("cloud-download",{fontCharacter:"\\eac2"}),a.cloudUpload=new a("cloud-upload",{fontCharacter:"\\eac3"}),a.code=new a("code",{fontCharacter:"\\eac4"}),a.collapseAll=new a("collapse-all",{fontCharacter:"\\eac5"}),a.colorMode=new a("color-mode",{fontCharacter:"\\eac6"}),a.commentDiscussion=new a("comment-discussion",{fontCharacter:"\\eac7"}),a.compareChanges=new a("compare-changes",{fontCharacter:"\\eafd"}),a.creditCard=new a("credit-card",{fontCharacter:"\\eac9"}),a.dash=new a("dash",{fontCharacter:"\\eacc"}),a.dashboard=new a("dashboard",{fontCharacter:"\\eacd"}),a.database=new a("database",{fontCharacter:"\\eace"}),a.debugContinue=new a("debug-continue",{fontCharacter:"\\eacf"}),a.debugDisconnect=new a("debug-disconnect",{fontCharacter:"\\ead0"}),a.debugPause=new a("debug-pause",{fontCharacter:"\\ead1"}),a.debugRestart=new a("debug-restart",{fontCharacter:"\\ead2"}),a.debugStart=new a("debug-start",{fontCharacter:"\\ead3"}),a.debugStepInto=new a("debug-step-into",{fontCharacter:"\\ead4"}),a.debugStepOut=new a("debug-step-out",{fontCharacter:"\\ead5"}),a.debugStepOver=new a("debug-step-over",{fontCharacter:"\\ead6"}),a.debugStop=new a("debug-stop",{fontCharacter:"\\ead7"}),a.debug=new a("debug",{fontCharacter:"\\ead8"}),a.deviceCameraVideo=new a("device-camera-video",{fontCharacter:"\\ead9"}),a.deviceCamera=new a("device-camera",{fontCharacter:"\\eada"}),a.deviceMobile=new a("device-mobile",{fontCharacter:"\\eadb"}),a.diffAdded=new a("diff-added",{fontCharacter:"\\eadc"}),a.diffIgnored=new a("diff-ignored",{fontCharacter:"\\eadd"}),a.diffModified=new a("diff-modified",{fontCharacter:"\\eade"}),a.diffRemoved=new a("diff-removed",{fontCharacter:"\\eadf"}),a.diffRenamed=new a("diff-renamed",{fontCharacter:"\\eae0"}),a.diff=new a("diff",{fontCharacter:"\\eae1"}),a.discard=new a("discard",{fontCharacter:"\\eae2"}),a.editorLayout=new a("editor-layout",{fontCharacter:"\\eae3"}),a.emptyWindow=new a("empty-window",{fontCharacter:"\\eae4"}),a.exclude=new a("exclude",{fontCharacter:"\\eae5"}),a.extensions=new a("extensions",{fontCharacter:"\\eae6"}),a.eyeClosed=new a("eye-closed",{fontCharacter:"\\eae7"}),a.fileBinary=new a("file-binary",{fontCharacter:"\\eae8"}),a.fileCode=new a("file-code",{fontCharacter:"\\eae9"}),a.fileMedia=new a("file-media",{fontCharacter:"\\eaea"}),a.filePdf=new a("file-pdf",{fontCharacter:"\\eaeb"}),a.fileSubmodule=new a("file-submodule",{fontCharacter:"\\eaec"}),a.fileSymlinkDirectory=new a("file-symlink-directory",{fontCharacter:"\\eaed"}),a.fileSymlinkFile=new a("file-symlink-file",{fontCharacter:"\\eaee"}),a.fileZip=new a("file-zip",{fontCharacter:"\\eaef"}),a.files=new a("files",{fontCharacter:"\\eaf0"}),a.filter=new a("filter",{fontCharacter:"\\eaf1"}),a.flame=new a("flame",{fontCharacter:"\\eaf2"}),a.foldDown=new a("fold-down",{fontCharacter:"\\eaf3"}),a.foldUp=new a("fold-up",{fontCharacter:"\\eaf4"}),a.fold=new a("fold",{fontCharacter:"\\eaf5"}),a.folderActive=new a("folder-active",{fontCharacter:"\\eaf6"}),a.folderOpened=new a("folder-opened",{fontCharacter:"\\eaf7"}),a.gear=new a("gear",{fontCharacter:"\\eaf8"}),a.gift=new a("gift",{fontCharacter:"\\eaf9"}),a.gistSecret=new a("gist-secret",{fontCharacter:"\\eafa"}),a.gist=new a("gist",{fontCharacter:"\\eafb"}),a.gitCommit=new a("git-commit",{fontCharacter:"\\eafc"}),a.gitCompare=new a("git-compare",{fontCharacter:"\\eafd"}),a.gitMerge=new a("git-merge",{fontCharacter:"\\eafe"}),a.githubAction=new a("github-action",{fontCharacter:"\\eaff"}),a.githubAlt=new a("github-alt",{fontCharacter:"\\eb00"}),a.globe=new a("globe",{fontCharacter:"\\eb01"}),a.grabber=new a("grabber",{fontCharacter:"\\eb02"}),a.graph=new a("graph",{fontCharacter:"\\eb03"}),a.gripper=new a("gripper",{fontCharacter:"\\eb04"}),a.heart=new a("heart",{fontCharacter:"\\eb05"}),a.home=new a("home",{fontCharacter:"\\eb06"}),a.horizontalRule=new a("horizontal-rule",{fontCharacter:"\\eb07"}),a.hubot=new a("hubot",{fontCharacter:"\\eb08"}),a.inbox=new a("inbox",{fontCharacter:"\\eb09"}),a.issueClosed=new a("issue-closed",{fontCharacter:"\\eba4"}),a.issueReopened=new a("issue-reopened",{fontCharacter:"\\eb0b"}),a.issues=new a("issues",{fontCharacter:"\\eb0c"}),a.italic=new a("italic",{fontCharacter:"\\eb0d"}),a.jersey=new a("jersey",{fontCharacter:"\\eb0e"}),a.json=new a("json",{fontCharacter:"\\eb0f"}),a.kebabVertical=new a("kebab-vertical",{fontCharacter:"\\eb10"}),a.key=new a("key",{fontCharacter:"\\eb11"}),a.law=new a("law",{fontCharacter:"\\eb12"}),a.lightbulbAutofix=new a("lightbulb-autofix",{fontCharacter:"\\eb13"}),a.linkExternal=new a("link-external",{fontCharacter:"\\eb14"}),a.link=new a("link",{fontCharacter:"\\eb15"}),a.listOrdered=new a("list-ordered",{fontCharacter:"\\eb16"}),a.listUnordered=new a("list-unordered",{fontCharacter:"\\eb17"}),a.liveShare=new a("live-share",{fontCharacter:"\\eb18"}),a.loading=new a("loading",{fontCharacter:"\\eb19"}),a.location=new a("location",{fontCharacter:"\\eb1a"}),a.mailRead=new a("mail-read",{fontCharacter:"\\eb1b"}),a.mail=new a("mail",{fontCharacter:"\\eb1c"}),a.markdown=new a("markdown",{fontCharacter:"\\eb1d"}),a.megaphone=new a("megaphone",{fontCharacter:"\\eb1e"}),a.mention=new a("mention",{fontCharacter:"\\eb1f"}),a.milestone=new a("milestone",{fontCharacter:"\\eb20"}),a.mortarBoard=new a("mortar-board",{fontCharacter:"\\eb21"}),a.move=new a("move",{fontCharacter:"\\eb22"}),a.multipleWindows=new a("multiple-windows",{fontCharacter:"\\eb23"}),a.mute=new a("mute",{fontCharacter:"\\eb24"}),a.noNewline=new a("no-newline",{fontCharacter:"\\eb25"}),a.note=new a("note",{fontCharacter:"\\eb26"}),a.octoface=new a("octoface",{fontCharacter:"\\eb27"}),a.openPreview=new a("open-preview",{fontCharacter:"\\eb28"}),a.package_=new a("package",{fontCharacter:"\\eb29"}),a.paintcan=new a("paintcan",{fontCharacter:"\\eb2a"}),a.pin=new a("pin",{fontCharacter:"\\eb2b"}),a.play=new a("play",{fontCharacter:"\\eb2c"}),a.run=new a("run",{fontCharacter:"\\eb2c"}),a.plug=new a("plug",{fontCharacter:"\\eb2d"}),a.preserveCase=new a("preserve-case",{fontCharacter:"\\eb2e"}),a.preview=new a("preview",{fontCharacter:"\\eb2f"}),a.project=new a("project",{fontCharacter:"\\eb30"}),a.pulse=new a("pulse",{fontCharacter:"\\eb31"}),a.question=new a("question",{fontCharacter:"\\eb32"}),a.quote=new a("quote",{fontCharacter:"\\eb33"}),a.radioTower=new a("radio-tower",{fontCharacter:"\\eb34"}),a.reactions=new a("reactions",{fontCharacter:"\\eb35"}),a.references=new a("references",{fontCharacter:"\\eb36"}),a.refresh=new a("refresh",{fontCharacter:"\\eb37"}),a.regex=new a("regex",{fontCharacter:"\\eb38"}),a.remoteExplorer=new a("remote-explorer",{fontCharacter:"\\eb39"}),a.remote=new a("remote",{fontCharacter:"\\eb3a"}),a.remove=new a("remove",{fontCharacter:"\\eb3b"}),a.replaceAll=new a("replace-all",{fontCharacter:"\\eb3c"}),a.replace=new a("replace",{fontCharacter:"\\eb3d"}),a.repoClone=new a("repo-clone",{fontCharacter:"\\eb3e"}),a.repoForcePush=new a("repo-force-push",{fontCharacter:"\\eb3f"}),a.repoPull=new a("repo-pull",{fontCharacter:"\\eb40"}),a.repoPush=new a("repo-push",{fontCharacter:"\\eb41"}),a.report=new a("report",{fontCharacter:"\\eb42"}),a.requestChanges=new a("request-changes",{fontCharacter:"\\eb43"}),a.rocket=new a("rocket",{fontCharacter:"\\eb44"}),a.rootFolderOpened=new a("root-folder-opened",{fontCharacter:"\\eb45"}),a.rootFolder=new a("root-folder",{fontCharacter:"\\eb46"}),a.rss=new a("rss",{fontCharacter:"\\eb47"}),a.ruby=new a("ruby",{fontCharacter:"\\eb48"}),a.saveAll=new a("save-all",{fontCharacter:"\\eb49"}),a.saveAs=new a("save-as",{fontCharacter:"\\eb4a"}),a.save=new a("save",{fontCharacter:"\\eb4b"}),a.screenFull=new a("screen-full",{fontCharacter:"\\eb4c"}),a.screenNormal=new a("screen-normal",{fontCharacter:"\\eb4d"}),a.searchStop=new a("search-stop",{fontCharacter:"\\eb4e"}),a.server=new a("server",{fontCharacter:"\\eb50"}),a.settingsGear=new a("settings-gear",{fontCharacter:"\\eb51"}),a.settings=new a("settings",{fontCharacter:"\\eb52"}),a.shield=new a("shield",{fontCharacter:"\\eb53"}),a.smiley=new a("smiley",{fontCharacter:"\\eb54"}),a.sortPrecedence=new a("sort-precedence",{fontCharacter:"\\eb55"}),a.splitHorizontal=new a("split-horizontal",{fontCharacter:"\\eb56"}),a.splitVertical=new a("split-vertical",{fontCharacter:"\\eb57"}),a.squirrel=new a("squirrel",{fontCharacter:"\\eb58"}),a.starFull=new a("star-full",{fontCharacter:"\\eb59"}),a.starHalf=new a("star-half",{fontCharacter:"\\eb5a"}),a.symbolClass=new a("symbol-class",{fontCharacter:"\\eb5b"}),a.symbolColor=new a("symbol-color",{fontCharacter:"\\eb5c"}),a.symbolConstant=new a("symbol-constant",{fontCharacter:"\\eb5d"}),a.symbolEnumMember=new a("symbol-enum-member",{fontCharacter:"\\eb5e"}),a.symbolField=new a("symbol-field",{fontCharacter:"\\eb5f"}),a.symbolFile=new a("symbol-file",{fontCharacter:"\\eb60"}),a.symbolInterface=new a("symbol-interface",{fontCharacter:"\\eb61"}),a.symbolKeyword=new a("symbol-keyword",{fontCharacter:"\\eb62"}),a.symbolMisc=new a("symbol-misc",{fontCharacter:"\\eb63"}),a.symbolOperator=new a("symbol-operator",{fontCharacter:"\\eb64"}),a.symbolProperty=new a("symbol-property",{fontCharacter:"\\eb65"}),a.wrench=new a("wrench",{fontCharacter:"\\eb65"}),a.wrenchSubaction=new a("wrench-subaction",{fontCharacter:"\\eb65"}),a.symbolSnippet=new a("symbol-snippet",{fontCharacter:"\\eb66"}),a.tasklist=new a("tasklist",{fontCharacter:"\\eb67"}),a.telescope=new a("telescope",{fontCharacter:"\\eb68"}),a.textSize=new a("text-size",{fontCharacter:"\\eb69"}),a.threeBars=new a("three-bars",{fontCharacter:"\\eb6a"}),a.thumbsdown=new a("thumbsdown",{fontCharacter:"\\eb6b"}),a.thumbsup=new a("thumbsup",{fontCharacter:"\\eb6c"}),a.tools=new a("tools",{fontCharacter:"\\eb6d"}),a.triangleDown=new a("triangle-down",{fontCharacter:"\\eb6e"}),a.triangleLeft=new a("triangle-left",{fontCharacter:"\\eb6f"}),a.triangleRight=new a("triangle-right",{fontCharacter:"\\eb70"}),a.triangleUp=new a("triangle-up",{fontCharacter:"\\eb71"}),a.twitter=new a("twitter",{fontCharacter:"\\eb72"}),a.unfold=new a("unfold",{fontCharacter:"\\eb73"}),a.unlock=new a("unlock",{fontCharacter:"\\eb74"}),a.unmute=new a("unmute",{fontCharacter:"\\eb75"}),a.unverified=new a("unverified",{fontCharacter:"\\eb76"}),a.verified=new a("verified",{fontCharacter:"\\eb77"}),a.versions=new a("versions",{fontCharacter:"\\eb78"}),a.vmActive=new a("vm-active",{fontCharacter:"\\eb79"}),a.vmOutline=new a("vm-outline",{fontCharacter:"\\eb7a"}),a.vmRunning=new a("vm-running",{fontCharacter:"\\eb7b"}),a.watch=new a("watch",{fontCharacter:"\\eb7c"}),a.whitespace=new a("whitespace",{fontCharacter:"\\eb7d"}),a.wholeWord=new a("whole-word",{fontCharacter:"\\eb7e"}),a.window=new a("window",{fontCharacter:"\\eb7f"}),a.wordWrap=new a("word-wrap",{fontCharacter:"\\eb80"}),a.zoomIn=new a("zoom-in",{fontCharacter:"\\eb81"}),a.zoomOut=new a("zoom-out",{fontCharacter:"\\eb82"}),a.listFilter=new a("list-filter",{fontCharacter:"\\eb83"}),a.listFlat=new a("list-flat",{fontCharacter:"\\eb84"}),a.listSelection=new a("list-selection",{fontCharacter:"\\eb85"}),a.selection=new a("selection",{fontCharacter:"\\eb85"}),a.listTree=new a("list-tree",{fontCharacter:"\\eb86"}),a.debugBreakpointFunctionUnverified=new a("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),a.debugBreakpointFunction=new a("debug-breakpoint-function",{fontCharacter:"\\eb88"}),a.debugBreakpointFunctionDisabled=new a("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),a.debugStackframeActive=new a("debug-stackframe-active",{fontCharacter:"\\eb89"}),a.debugStackframeDot=new a("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),a.debugStackframe=new a("debug-stackframe",{fontCharacter:"\\eb8b"}),a.debugStackframeFocused=new a("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),a.debugBreakpointUnsupported=new a("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),a.symbolString=new a("symbol-string",{fontCharacter:"\\eb8d"}),a.debugReverseContinue=new a("debug-reverse-continue",{fontCharacter:"\\eb8e"}),a.debugStepBack=new a("debug-step-back",{fontCharacter:"\\eb8f"}),a.debugRestartFrame=new a("debug-restart-frame",{fontCharacter:"\\eb90"}),a.callIncoming=new a("call-incoming",{fontCharacter:"\\eb92"}),a.callOutgoing=new a("call-outgoing",{fontCharacter:"\\eb93"}),a.menu=new a("menu",{fontCharacter:"\\eb94"}),a.expandAll=new a("expand-all",{fontCharacter:"\\eb95"}),a.feedback=new a("feedback",{fontCharacter:"\\eb96"}),a.groupByRefType=new a("group-by-ref-type",{fontCharacter:"\\eb97"}),a.ungroupByRefType=new a("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),a.account=new a("account",{fontCharacter:"\\eb99"}),a.bellDot=new a("bell-dot",{fontCharacter:"\\eb9a"}),a.debugConsole=new a("debug-console",{fontCharacter:"\\eb9b"}),a.library=new a("library",{fontCharacter:"\\eb9c"}),a.output=new a("output",{fontCharacter:"\\eb9d"}),a.runAll=new a("run-all",{fontCharacter:"\\eb9e"}),a.syncIgnored=new a("sync-ignored",{fontCharacter:"\\eb9f"}),a.pinned=new a("pinned",{fontCharacter:"\\eba0"}),a.githubInverted=new a("github-inverted",{fontCharacter:"\\eba1"}),a.debugAlt=new a("debug-alt",{fontCharacter:"\\eb91"}),a.serverProcess=new a("server-process",{fontCharacter:"\\eba2"}),a.serverEnvironment=new a("server-environment",{fontCharacter:"\\eba3"}),a.pass=new a("pass",{fontCharacter:"\\eba4"}),a.stopCircle=new a("stop-circle",{fontCharacter:"\\eba5"}),a.playCircle=new a("play-circle",{fontCharacter:"\\eba6"}),a.record=new a("record",{fontCharacter:"\\eba7"}),a.debugAltSmall=new a("debug-alt-small",{fontCharacter:"\\eba8"}),a.vmConnect=new a("vm-connect",{fontCharacter:"\\eba9"}),a.cloud=new a("cloud",{fontCharacter:"\\ebaa"}),a.merge=new a("merge",{fontCharacter:"\\ebab"}),a.exportIcon=new a("export",{fontCharacter:"\\ebac"}),a.graphLeft=new a("graph-left",{fontCharacter:"\\ebad"}),a.magnet=new a("magnet",{fontCharacter:"\\ebae"}),a.notebook=new a("notebook",{fontCharacter:"\\ebaf"}),a.redo=new a("redo",{fontCharacter:"\\ebb0"}),a.checkAll=new a("check-all",{fontCharacter:"\\ebb1"}),a.pinnedDirty=new a("pinned-dirty",{fontCharacter:"\\ebb2"}),a.passFilled=new a("pass-filled",{fontCharacter:"\\ebb3"}),a.circleLargeFilled=new a("circle-large-filled",{fontCharacter:"\\ebb4"}),a.circleLargeOutline=new a("circle-large-outline",{fontCharacter:"\\ebb5"}),a.combine=new a("combine",{fontCharacter:"\\ebb6"}),a.gather=new a("gather",{fontCharacter:"\\ebb6"}),a.table=new a("table",{fontCharacter:"\\ebb7"}),a.variableGroup=new a("variable-group",{fontCharacter:"\\ebb8"}),a.typeHierarchy=new a("type-hierarchy",{fontCharacter:"\\ebb9"}),a.typeHierarchySub=new a("type-hierarchy-sub",{fontCharacter:"\\ebba"}),a.typeHierarchySuper=new a("type-hierarchy-super",{fontCharacter:"\\ebbb"}),a.gitPullRequestCreate=new a("git-pull-request-create",{fontCharacter:"\\ebbc"}),a.runAbove=new a("run-above",{fontCharacter:"\\ebbd"}),a.runBelow=new a("run-below",{fontCharacter:"\\ebbe"}),a.notebookTemplate=new a("notebook-template",{fontCharacter:"\\ebbf"}),a.debugRerun=new a("debug-rerun",{fontCharacter:"\\ebc0"}),a.workspaceTrusted=new a("workspace-trusted",{fontCharacter:"\\ebc1"}),a.workspaceUntrusted=new a("workspace-untrusted",{fontCharacter:"\\ebc2"}),a.workspaceUnspecified=new a("workspace-unspecified",{fontCharacter:"\\ebc3"}),a.terminalCmd=new a("terminal-cmd",{fontCharacter:"\\ebc4"}),a.terminalDebian=new a("terminal-debian",{fontCharacter:"\\ebc5"}),a.terminalLinux=new a("terminal-linux",{fontCharacter:"\\ebc6"}),a.terminalPowershell=new a("terminal-powershell",{fontCharacter:"\\ebc7"}),a.terminalTmux=new a("terminal-tmux",{fontCharacter:"\\ebc8"}),a.terminalUbuntu=new a("terminal-ubuntu",{fontCharacter:"\\ebc9"}),a.terminalBash=new a("terminal-bash",{fontCharacter:"\\ebca"}),a.arrowSwap=new a("arrow-swap",{fontCharacter:"\\ebcb"}),a.copy=new a("copy",{fontCharacter:"\\ebcc"}),a.personAdd=new a("person-add",{fontCharacter:"\\ebcd"}),a.filterFilled=new a("filter-filled",{fontCharacter:"\\ebce"}),a.wand=new a("wand",{fontCharacter:"\\ebcf"}),a.debugLineByLine=new a("debug-line-by-line",{fontCharacter:"\\ebd0"}),a.inspect=new a("inspect",{fontCharacter:"\\ebd1"}),a.layers=new a("layers",{fontCharacter:"\\ebd2"}),a.layersDot=new a("layers-dot",{fontCharacter:"\\ebd3"}),a.layersActive=new a("layers-active",{fontCharacter:"\\ebd4"}),a.compass=new a("compass",{fontCharacter:"\\ebd5"}),a.compassDot=new a("compass-dot",{fontCharacter:"\\ebd6"}),a.compassActive=new a("compass-active",{fontCharacter:"\\ebd7"}),a.azure=new a("azure",{fontCharacter:"\\ebd8"}),a.issueDraft=new a("issue-draft",{fontCharacter:"\\ebd9"}),a.gitPullRequestClosed=new a("git-pull-request-closed",{fontCharacter:"\\ebda"}),a.gitPullRequestDraft=new a("git-pull-request-draft",{fontCharacter:"\\ebdb"}),a.debugAll=new a("debug-all",{fontCharacter:"\\ebdc"}),a.debugCoverage=new a("debug-coverage",{fontCharacter:"\\ebdd"}),a.runErrors=new a("run-errors",{fontCharacter:"\\ebde"}),a.folderLibrary=new a("folder-library",{fontCharacter:"\\ebdf"}),a.debugContinueSmall=new a("debug-continue-small",{fontCharacter:"\\ebe0"}),a.beakerStop=new a("beaker-stop",{fontCharacter:"\\ebe1"}),a.graphLine=new a("graph-line",{fontCharacter:"\\ebe2"}),a.graphScatter=new a("graph-scatter",{fontCharacter:"\\ebe3"}),a.pieChart=new a("pie-chart",{fontCharacter:"\\ebe4"}),a.bracket=new a("bracket",a.json.definition),a.bracketDot=new a("bracket-dot",{fontCharacter:"\\ebe5"}),a.bracketError=new a("bracket-error",{fontCharacter:"\\ebe6"}),a.lockSmall=new a("lock-small",{fontCharacter:"\\ebe7"}),a.azureDevops=new a("azure-devops",{fontCharacter:"\\ebe8"}),a.verifiedFilled=new a("verified-filled",{fontCharacter:"\\ebe9"})}(C||(C={}))},79881:function(tn,tt,f){"use strict";f.d(tt,{B8:function(){return z},Cp:function(){return Ee},F0:function(){return Se},L6:function(){return I},VV:function(){return C},b1:function(){return a},dL:function(){return ee},ri:function(){return $}});class y{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(u){setTimeout(()=>{throw u.stack?new Error(u.message+`
`+u.stack):u},0)}}emit(u){this.listeners.forEach(x=>{x(u)})}onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}}const L=new y;function ee(S){C(S)||L.onUnexpectedError(S)}function Ee(S){C(S)||L.onUnexpectedExternalError(S)}function $(S){if(S instanceof Error){let{name:u,message:x}=S;const m=S.stacktrace||S.stack;return{$isError:!0,name:u,message:x,stack:m}}return S}const q="Canceled";function C(S){return S instanceof Error&&S.name===q&&S.message===q}function Se(){const S=new Error(q);return S.name=S.message,S}function a(S){return S?new Error(`Illegal argument: ${S}`):new Error("Illegal argument")}function I(S){return S?new Error(`Illegal state: ${S}`):new Error("Illegal state")}class z extends Error{constructor(u){super("NotSupported"),u&&(this.message=u)}}},4348:function(tn,tt,f){"use strict";f.d(tt,{D0:function(){return z},E7:function(){return S},K3:function(){return I},Q5:function(){return a},ZD:function(){return u},ju:function(){return $}});var y=f(79881),L=f(69323),ee=f(34502),Ee=f(95830),$;(function(x){x.None=()=>L.JT.None;function m(he){return(Q,de=null,ie)=>{let v=!1,_;return _=he(V=>{if(!v)return _?_.dispose():v=!0,Q.call(de,V)},null,ie),v&&_.dispose(),_}}x.once=m;function P(he,Q){return b((de,ie=null,v)=>he(_=>de.call(ie,Q(_)),null,v))}x.map=P;function ce(he,Q){return b((de,ie=null,v)=>he(_=>{Q(_),de.call(ie,_)},null,v))}x.forEach=ce;function U(he,Q){return b((de,ie=null,v)=>he(_=>Q(_)&&de.call(ie,_),null,v))}x.filter=U;function W(he){return he}x.signal=W;function ne(...he){return(Q,de=null,ie)=>(0,L.F8)(...he.map(v=>v(_=>Q.call(de,_),null,ie)))}x.any=ne;function Y(he,Q,de){let ie=de;return P(he,v=>(ie=Q(ie,v),ie))}x.reduce=Y;function b(he){let Q;const de=new a({onFirstListenerAdd(){Q=he(de.fire,de)},onLastListenerRemove(){Q.dispose()}});return de.event}function R(he,Q,de=100,ie=!1,v){let _,V,J,Le=0;const Oe=new a({leakWarningThreshold:v,onFirstListenerAdd(){_=he(Ie=>{Le++,V=Q(V,Ie),ie&&!J&&(Oe.fire(V),V=void 0),clearTimeout(J),J=setTimeout(()=>{const $e=V;V=void 0,J=void 0,(!ie||Le>1)&&Oe.fire($e),Le=0},de)})},onLastListenerRemove(){_.dispose()}});return Oe.event}x.debounce=R;function G(he,Q=(de,ie)=>de===ie){let de=!0,ie;return U(he,v=>{const _=de||!Q(v,ie);return de=!1,ie=v,_})}x.latch=G;function j(he,Q){return[x.filter(he,Q),x.filter(he,de=>!Q(de))]}x.split=j;function pe(he,Q=!1,de=[]){let ie=de.slice(),v=he(J=>{ie?ie.push(J):V.fire(J)});const _=()=>{ie&&ie.forEach(J=>V.fire(J)),ie=null},V=new a({onFirstListenerAdd(){v||(v=he(J=>V.fire(J)))},onFirstListenerDidAdd(){ie&&(Q?setTimeout(_):_())},onLastListenerRemove(){v&&v.dispose(),v=null}});return V.event}x.buffer=pe;class me{constructor(Q){this.event=Q}map(Q){return new me(P(this.event,Q))}forEach(Q){return new me(ce(this.event,Q))}filter(Q){return new me(U(this.event,Q))}reduce(Q,de){return new me(Y(this.event,Q,de))}latch(){return new me(G(this.event))}debounce(Q,de=100,ie=!1,v){return new me(R(this.event,Q,de,ie,v))}on(Q,de,ie){return this.event(Q,de,ie)}once(Q,de,ie){return m(this.event)(Q,de,ie)}}function fe(he){return new me(he)}x.chain=fe;function ae(he,Q,de=ie=>ie){const ie=(...J)=>V.fire(de(...J)),v=()=>he.on(Q,ie),_=()=>he.removeListener(Q,ie),V=new a({onFirstListenerAdd:v,onLastListenerRemove:_});return V.event}x.fromNodeEventEmitter=ae;function te(he,Q,de=ie=>ie){const ie=(...J)=>V.fire(de(...J)),v=()=>he.addEventListener(Q,ie),_=()=>he.removeEventListener(Q,ie),V=new a({onFirstListenerAdd:v,onLastListenerRemove:_});return V.event}x.fromDOMEventEmitter=te;function M(he){return new Promise(Q=>m(he)(Q))}x.toPromise=M})($||($={}));class q{constructor(m){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${m}_${q._idPool++}`}start(m){this._stopWatch=new Ee.G(!0),this._listenerCount=m}stop(){if(this._stopWatch){const m=this._stopWatch.elapsed();this._elapsedOverall+=m,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${m.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}q._idPool=0;let C=-1;class Se{constructor(m,P=Math.random().toString(18).slice(2,5)){this.customThreshold=m,this.name=P,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(m){let P=C;if(typeof this.customThreshold=="number"&&(P=this.customThreshold),P<=0||m<P)return;this._stacks||(this._stacks=new Map);const ce=new Error().stack.split(`
`).slice(3).join(`
`),U=this._stacks.get(ce)||0;if(this._stacks.set(ce,U+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=P*.5;let W,ne=0;for(const[Y,b]of this._stacks)(!W||ne<b)&&(W=Y,ne=b);console.warn(`[${this.name}] potential listener LEAK detected, having ${m} listeners already. MOST frequent listener (${ne}):`),console.warn(W)}return()=>{const W=this._stacks.get(ce)||0;this._stacks.set(ce,W-1)}}}class a{constructor(m){var P;this._disposed=!1,this._options=m,this._leakageMon=C>0?new Se(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((P=this._options)===null||P===void 0)&&P._profName?new q(this._options._profName):void 0}get event(){return this._event||(this._event=(m,P,ce)=>{var U;this._listeners||(this._listeners=new ee.S);const W=this._listeners.isEmpty();W&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const ne=this._listeners.push(P?[m,P]:m);W&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,m,P);const Y=(U=this._leakageMon)===null||U===void 0?void 0:U.check(this._listeners.size),b=(0,L.OF)(()=>{Y&&Y(),this._disposed||(ne(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return ce instanceof L.SL?ce.add(b):Array.isArray(ce)&&ce.push(b),b}),this._event}fire(m){var P,ce;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new ee.S);for(let U of this._listeners)this._deliveryQueue.push([U,m]);for((P=this._perfMon)===null||P===void 0||P.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[U,W]=this._deliveryQueue.shift();try{typeof U=="function"?U.call(void 0,W):U[0].call(U[1],W)}catch(ne){(0,y.dL)(ne)}}(ce=this._perfMon)===null||ce===void 0||ce.stop()}}dispose(){var m,P,ce,U,W;this._disposed||(this._disposed=!0,(m=this._listeners)===null||m===void 0||m.clear(),(P=this._deliveryQueue)===null||P===void 0||P.clear(),(U=(ce=this._options)===null||ce===void 0?void 0:ce.onLastListenerRemove)===null||U===void 0||U.call(ce),(W=this._leakageMon)===null||W===void 0||W.dispose())}}class I extends a{constructor(m){super(m),this._isPaused=0,this._eventQueue=new ee.S,this._mergeFn=m==null?void 0:m.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const m=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(m))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(m){this._listeners&&(this._isPaused!==0?this._eventQueue.push(m):super.fire(m))}}class z extends I{constructor(m){var P;super(m),this._delay=(P=m.delay)!==null&&P!==void 0?P:100}fire(m){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(m)}}class S{constructor(){this.buffers=[]}wrapEvent(m){return(P,ce,U)=>m(W=>{const ne=this.buffers[this.buffers.length-1];ne?ne.push(()=>P.call(ce,W)):P.call(ce,W)},void 0,U)}bufferEvents(m){const P=[];this.buffers.push(P);const ce=m();return this.buffers.pop(),P.forEach(U=>U()),ce}}class u{constructor(){this.listening=!1,this.inputEvent=$.None,this.inputEventListener=L.JT.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(m){this.inputEvent=m,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=m(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(tn,tt,f){"use strict";f.d(tt,{I:function(){return y}});function y(L){const ee=this;let Ee=!1,$;return function(){return Ee||(Ee=!0,$=L.apply(ee,arguments)),$}}},88226:function(tn,tt,f){"use strict";f.d(tt,{$:function(){return y}});var y;(function(L){function ee(ne){return ne&&typeof ne=="object"&&typeof ne[Symbol.iterator]=="function"}L.is=ee;const Ee=Object.freeze([]);function $(){return Ee}L.empty=$;function*q(ne){yield ne}L.single=q;function C(ne){return ne||Ee}L.from=C;function Se(ne){return!ne||ne[Symbol.iterator]().next().done===!0}L.isEmpty=Se;function a(ne){return ne[Symbol.iterator]().next().value}L.first=a;function I(ne,Y){for(const b of ne)if(Y(b))return!0;return!1}L.some=I;function z(ne,Y){for(const b of ne)if(Y(b))return b}L.find=z;function*S(ne,Y){for(const b of ne)Y(b)&&(yield b)}L.filter=S;function*u(ne,Y){let b=0;for(const R of ne)yield Y(R,b++)}L.map=u;function*x(...ne){for(const Y of ne)for(const b of Y)yield b}L.concat=x;function*m(ne){for(const Y of ne)for(const b of Y)yield b}L.concatNested=m;function P(ne,Y,b){let R=b;for(const G of ne)R=Y(R,G);return R}L.reduce=P;function*ce(ne,Y,b=ne.length){for(Y<0&&(Y+=ne.length),b<0?b+=ne.length:b>ne.length&&(b=ne.length);Y<b;Y++)yield ne[Y]}L.slice=ce;function U(ne,Y=Number.POSITIVE_INFINITY){const b=[];if(Y===0)return[b,ne];const R=ne[Symbol.iterator]();for(let G=0;G<Y;G++){const j=R.next();if(j.done)return[b,L.empty()];b.push(j.value)}return[b,{[Symbol.iterator](){return R}}]}L.consume=U;function W(ne,Y,b=(R,G)=>R===G){const R=ne[Symbol.iterator](),G=Y[Symbol.iterator]();for(;;){const j=R.next(),pe=G.next();if(j.done!==pe.done)return!1;if(j.done)return!0;if(!b(j.value,pe.value))return!1}}L.equals=W})(y||(y={}))},69323:function(tn,tt,f){"use strict";f.d(tt,{B9:function(){return u},F8:function(){return x},JT:function(){return ce},Jz:function(){return W},OF:function(){return m},SL:function(){return P},Wf:function(){return S},XK:function(){return U},dk:function(){return I}});var y=f(17845),L=f(88226);const ee=!1;let Ee=null;function $(ne){Ee=ne}if(ee){const ne="__is_disposable_tracked__";$(new class{trackDisposable(Y){const b=new Error("Potentially leaked disposable").stack;setTimeout(()=>{Y[ne]||console.log(b)},3e3)}setParent(Y,b){if(Y&&Y!==ce.None)try{Y[ne]=!0}catch(R){}}markAsDisposed(Y){if(Y&&Y!==ce.None)try{Y[ne]=!0}catch(b){}}markAsSingleton(Y){}})}function q(ne){return Ee==null||Ee.trackDisposable(ne),ne}function C(ne){Ee==null||Ee.markAsDisposed(ne)}function Se(ne,Y){Ee==null||Ee.setParent(ne,Y)}function a(ne,Y){if(Ee)for(const b of ne)Ee.setParent(b,Y)}function I(ne){return Ee==null||Ee.markAsSingleton(ne),ne}class z extends Error{constructor(Y){super(`Encountered errors while disposing of store. Errors: [${Y.join(", ")}]`),this.errors=Y}}function S(ne){return typeof ne.dispose=="function"&&ne.dispose.length===0}function u(ne){if(L.$.is(ne)){let Y=[];for(const b of ne)if(b)try{b.dispose()}catch(R){Y.push(R)}if(Y.length===1)throw Y[0];if(Y.length>1)throw new z(Y);return Array.isArray(ne)?[]:ne}else if(ne)return ne.dispose(),ne}function x(...ne){const Y=m(()=>u(ne));return a(ne,Y),Y}function m(ne){const Y=q({dispose:(0,y.I)(()=>{C(Y),ne()})});return Y}class P{constructor(){this._toDispose=new Set,this._isDisposed=!1,q(this)}dispose(){this._isDisposed||(C(this),this._isDisposed=!0,this.clear())}clear(){try{u(this._toDispose.values())}finally{this._toDispose.clear()}}add(Y){if(!Y)return Y;if(Y===this)throw new Error("Cannot register a disposable on itself!");return Se(Y,this),this._isDisposed?P.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(Y),Y}}P.DISABLE_DISPOSED_WARNING=!1;class ce{constructor(){this._store=new P,q(this),Se(this._store,this)}dispose(){C(this),this._store.dispose()}_register(Y){if(Y===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(Y)}}ce.None=Object.freeze({dispose(){}});class U{constructor(){this._isDisposed=!1,q(this)}get value(){return this._isDisposed?void 0:this._value}set value(Y){var b;this._isDisposed||Y===this._value||((b=this._value)===null||b===void 0||b.dispose(),Y&&Se(Y,this),this._value=Y)}clear(){this.value=void 0}dispose(){var Y;this._isDisposed=!0,C(this),(Y=this._value)===null||Y===void 0||Y.dispose(),this._value=void 0}clearAndLeak(){const Y=this._value;return this._value=void 0,Y&&Se(Y,null),Y}}class W{constructor(Y){this.object=Y}dispose(){}}},34502:function(tn,tt,f){"use strict";f.d(tt,{S:function(){return L}});class y{constructor(Ee){this.element=Ee,this.next=y.Undefined,this.prev=y.Undefined}}y.Undefined=new y(void 0);class L{constructor(){this._first=y.Undefined,this._last=y.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===y.Undefined}clear(){let Ee=this._first;for(;Ee!==y.Undefined;){const $=Ee.next;Ee.prev=y.Undefined,Ee.next=y.Undefined,Ee=$}this._first=y.Undefined,this._last=y.Undefined,this._size=0}unshift(Ee){return this._insert(Ee,!1)}push(Ee){return this._insert(Ee,!0)}_insert(Ee,$){const q=new y(Ee);if(this._first===y.Undefined)this._first=q,this._last=q;else if($){const Se=this._last;this._last=q,q.prev=Se,Se.next=q}else{const Se=this._first;this._first=q,q.next=Se,Se.prev=q}this._size+=1;let C=!1;return()=>{C||(C=!0,this._remove(q))}}shift(){if(this._first!==y.Undefined){const Ee=this._first.element;return this._remove(this._first),Ee}}pop(){if(this._last!==y.Undefined){const Ee=this._last.element;return this._remove(this._last),Ee}}_remove(Ee){if(Ee.prev!==y.Undefined&&Ee.next!==y.Undefined){const $=Ee.prev;$.next=Ee.next,Ee.next.prev=$}else Ee.prev===y.Undefined&&Ee.next===y.Undefined?(this._first=y.Undefined,this._last=y.Undefined):Ee.next===y.Undefined?(this._last=this._last.prev,this._last.next=y.Undefined):Ee.prev===y.Undefined&&(this._first=this._first.next,this._first.prev=y.Undefined);this._size-=1}*[Symbol.iterator](){let Ee=this._first;for(;Ee!==y.Undefined;)yield Ee.element,Ee=Ee.next}}},23345:function(tn,tt,f){"use strict";f.d(tt,{$L:function(){return R},ED:function(){return W},IJ:function(){return Y},OS:function(){return me},WE:function(){return j},dz:function(){return ne},gn:function(){return G},li:function(){return m},r:function(){return te},tY:function(){return b},xS:function(){return pe}});var y=f(97671),L;const ee="en";let Ee=!1,$=!1,q=!1,C=!1,Se=!1,a=!1,I=!1,z,S=null,u=null,x;const m=typeof self=="object"?self:typeof f.g=="object"?f.g:{};let P;typeof m.vscode!="undefined"&&typeof m.vscode.process!="undefined"?P=m.vscode.process:typeof y!="undefined"&&(P=y);const ce=typeof((L=P==null?void 0:P.versions)===null||L===void 0?void 0:L.electron)=="string"&&P.type==="renderer";if(typeof navigator=="object"&&!ce)x=navigator.userAgent,Ee=x.indexOf("Windows")>=0,$=x.indexOf("Macintosh")>=0,I=(x.indexOf("Macintosh")>=0||x.indexOf("iPad")>=0||x.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,q=x.indexOf("Linux")>=0,a=!0,z=navigator.language,S=z;else if(typeof P=="object"){Ee=P.platform==="win32",$=P.platform==="darwin",q=P.platform==="linux",C=q&&!!P.env.SNAP&&!!P.env.SNAP_REVISION,z=ee,S=ee;const M=P.env.VSCODE_NLS_CONFIG;if(M)try{const he=JSON.parse(M),Q=he.availableLanguages["*"];z=he.locale,S=Q||ee,u=he._translationsConfigFile}catch(he){}Se=!0}else console.error("Unable to resolve platform.");let U=0;$?U=1:Ee?U=3:q&&(U=2);const W=Ee,ne=$,Y=q,b=Se,R=a,G=I,j=x,pe=function(){if(m.setImmediate)return m.setImmediate.bind(m);if(typeof m.postMessage=="function"&&!m.importScripts){let Q=[];m.addEventListener("message",ie=>{if(ie.data&&ie.data.vscodeSetImmediateId)for(let v=0,_=Q.length;v<_;v++){const V=Q[v];if(V.id===ie.data.vscodeSetImmediateId){Q.splice(v,1),V.callback();return}}});let de=0;return ie=>{const v=++de;Q.push({id:v,callback:ie}),m.postMessage({vscodeSetImmediateId:v},"*")}}if(typeof(P==null?void 0:P.nextTick)=="function")return P.nextTick.bind(P);const he=Promise.resolve();return Q=>he.then(Q)}(),me=$||I?2:Ee?1:3;let fe=!0,ae=!1;function te(){if(!ae){ae=!0;const M=new Uint8Array(2);M[0]=1,M[1]=2,fe=new Uint16Array(M.buffer)[0]===513}return fe}},95830:function(tn,tt,f){"use strict";f.d(tt,{G:function(){return ee}});var y=f(23345);const L=y.li.performance&&typeof y.li.performance.now=="function";class ee{constructor($){this._highResolution=L&&$,this._startTime=this._now(),this._stopTime=-1}static create($=!0){return new ee($)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?y.li.performance.now():Date.now()}}},82983:function(tn,tt,f){"use strict";f.d(tt,{$i:function(){return Le},C8:function(){return ut},GF:function(){return z},HO:function(){return de},IO:function(){return S},K7:function(){return lt},Kw:function(){return Jt},LC:function(){return m},Mh:function(){return pe},P1:function(){return me},PJ:function(){return rn},Qe:function(){return Oe},R1:function(){return I},RP:function(){return V},S6:function(){return It},TT:function(){return W},Ut:function(){return v},V8:function(){return P},WU:function(){return ee},YK:function(){return ae},YU:function(){return Ee},ZG:function(){return fe},ZH:function(){return M},ab:function(){return Ie},c1:function(){return it},df:function(){return R},ec:function(){return $},fi:function(){return Zt},fy:function(){return q},j3:function(){return C},j_:function(){return Y},m5:function(){return y},mK:function(){return b},mr:function(){return u},oH:function(){return be},oL:function(){return Se},ok:function(){return j},ow:function(){return ce},qq:function(){return G},qu:function(){return U},rL:function(){return te},uS:function(){return Pt},un:function(){return a},uq:function(){return x},vH:function(){return Q},xe:function(){return $e},zY:function(){return ne}});function y(k){return!k||typeof k!="string"?!0:k.trim().length===0}const L=/{(\d+)}/g;function ee(k,...E){return E.length===0?k:k.replace(L,function(T,X){const Z=parseInt(X,10);return isNaN(Z)||Z<0||Z>=E.length?T:E[Z]})}function Ee(k){return k.replace(/[<>&]/g,function(E){switch(E){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return E}})}function $(k){return k.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function q(k,E=" "){const T=C(k,E);return Se(T,E)}function C(k,E){if(!k||!E)return k;const T=E.length;if(T===0||k.length===0)return k;let X=0;for(;k.indexOf(E,X)===X;)X=X+T;return k.substring(X)}function Se(k,E){if(!k||!E)return k;const T=E.length,X=k.length;if(T===0||X===0)return k;let Z=X,K=-1;for(;K=k.lastIndexOf(E,Z-1),!(K===-1||K+T!==Z);){if(K===0)return"";Z=K}return k.substring(0,Z)}function a(k){return k.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function I(k){return k.replace(/\*/g,"")}function z(k,E,T={}){if(!k)throw new Error("Cannot create regex from empty string");E||(k=$(k)),T.wholeWord&&(/\B/.test(k.charAt(0))||(k="\\b"+k),/\B/.test(k.charAt(k.length-1))||(k=k+"\\b"));let X="";return T.global&&(X+="g"),T.matchCase||(X+="i"),T.multiline&&(X+="m"),T.unicode&&(X+="u"),new RegExp(k,X)}function S(k){return k.source==="^"||k.source==="^$"||k.source==="$"||k.source==="^\\s*$"?!1:!!(k.exec("")&&k.lastIndex===0)}function u(k){return(k.global?"g":"")+(k.ignoreCase?"i":"")+(k.multiline?"m":"")+(k.unicode?"u":"")}function x(k){return k.split(/\r\n|\r|\n/)}function m(k){for(let E=0,T=k.length;E<T;E++){const X=k.charCodeAt(E);if(X!==32&&X!==9)return E}return-1}function P(k,E=0,T=k.length){for(let X=E;X<T;X++){const Z=k.charCodeAt(X);if(Z!==32&&Z!==9)return k.substring(E,X)}return k.substring(E,T)}function ce(k,E=k.length-1){for(let T=E;T>=0;T--){const X=k.charCodeAt(T);if(X!==32&&X!==9)return T}return-1}function U(k,E){return k<E?-1:k>E?1:0}function W(k,E,T=0,X=k.length,Z=0,K=E.length){for(;T<X&&Z<K;T++,Z++){let ke=k.charCodeAt(T),Te=E.charCodeAt(Z);if(ke<Te)return-1;if(ke>Te)return 1}const we=X-T,Ke=K-Z;return we<Ke?-1:we>Ke?1:0}function ne(k,E){return Y(k,E,0,k.length,0,E.length)}function Y(k,E,T=0,X=k.length,Z=0,K=E.length){for(;T<X&&Z<K;T++,Z++){let ke=k.charCodeAt(T),Te=E.charCodeAt(Z);if(ke===Te)continue;if(ke>=128||Te>=128)return W(k.toLowerCase(),E.toLowerCase(),T,X,Z,K);b(ke)&&(ke-=32),b(Te)&&(Te-=32);const Ye=ke-Te;if(Ye!==0)return Ye}const we=X-T,Ke=K-Z;return we<Ke?-1:we>Ke?1:0}function b(k){return k>=97&&k<=122}function R(k){return k>=65&&k<=90}function G(k,E){return k.length===E.length&&Y(k,E)===0}function j(k,E){const T=E.length;return E.length>k.length?!1:Y(k,E,0,T)===0}function pe(k,E){let T,X=Math.min(k.length,E.length);for(T=0;T<X;T++)if(k.charCodeAt(T)!==E.charCodeAt(T))return T;return X}function me(k,E){let T,X=Math.min(k.length,E.length);const Z=k.length-1,K=E.length-1;for(T=0;T<X;T++)if(k.charCodeAt(Z-T)!==E.charCodeAt(K-T))return T;return X}function fe(k){return 55296<=k&&k<=56319}function ae(k){return 56320<=k&&k<=57343}function te(k,E){return(k-55296<<10)+(E-56320)+65536}function M(k,E,T){const X=k.charCodeAt(T);if(fe(X)&&T+1<E){const Z=k.charCodeAt(T+1);if(ae(Z))return te(X,Z)}return X}function he(k,E){const T=k.charCodeAt(E-1);if(ae(T)&&E>1){const X=k.charCodeAt(E-2);if(fe(X))return te(X,T)}return T}function Q(k,E){const T=ot.getInstance(),X=E,Z=k.length,K=M(k,Z,E);E+=K>=65536?2:1;let we=T.getGraphemeBreakType(K);for(;E<Z;){const Ke=M(k,Z,E),ke=T.getGraphemeBreakType(Ke);if(Zt(we,ke))break;E+=Ke>=65536?2:1,we=ke}return E-X}function de(k,E){const T=ot.getInstance(),X=E,Z=he(k,E);E-=Z>=65536?2:1;let K=T.getGraphemeBreakType(Z);for(;E>0;){const we=he(k,E),Ke=T.getGraphemeBreakType(we);if(Zt(Ke,K))break;E-=we>=65536?2:1,K=Ke}return X-E}const ie=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function v(k){return ie.test(k)}const _=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function V(k){return _.test(k)}const J=/^[\t\n\r\x20-\x7E]*$/;function Le(k){return J.test(k)}const Oe=/[\u2028\u2029]/;function Ie(k){return Oe.test(k)}function $e(k){for(let E=0,T=k.length;E<T;E++)if(lt(k.charCodeAt(E)))return!0;return!1}function lt(k){return k=+k,k>=11904&&k<=55215||k>=63744&&k<=64255||k>=65281&&k<=65374}function ut(k){return k>=127462&&k<=127487||k===8986||k===8987||k===9200||k===9203||k>=9728&&k<=10175||k===11088||k===11093||k>=127744&&k<=128591||k>=128640&&k<=128764||k>=128992&&k<=129003||k>=129280&&k<=129535||k>=129648&&k<=129750}const it="\uFEFF";function Pt(k){return!!(k&&k.length>0&&k.charCodeAt(0)===65279)}function Jt(k,E=!1){return k?(E&&(k=k.replace(/\\./g,"")),k.toLowerCase()!==k):!1}function rn(k){return k=k%(2*26),k<26?String.fromCharCode(97+k):String.fromCharCode(65+k-26)}function It(k){return ot.getInstance().getGraphemeBreakType(k)}function Zt(k,E){return k===0?E!==5&&E!==7:k===2&&E===3?!1:k===4||k===2||k===3||E===4||E===2||E===3?!0:!(k===8&&(E===8||E===9||E===11||E===12)||(k===11||k===9)&&(E===9||E===10)||(k===12||k===10)&&E===10||E===5||E===13||E===7||k===1||k===13&&E===14||k===6&&E===6)}class ot{constructor(){this._data=se()}static getInstance(){return ot._INSTANCE||(ot._INSTANCE=new ot),ot._INSTANCE}getGraphemeBreakType(E){if(E<32)return E===10?3:E===13?2:4;if(E<127)return 0;const T=this._data,X=T.length/3;let Z=1;for(;Z<=X;)if(E<T[3*Z])Z=2*Z;else if(E>T[3*Z+1])Z=2*Z+1;else return T[3*Z+2];return 0}}ot._INSTANCE=null;function se(){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 be(k,E){if(k===0)return 0;const T=H(k,E);if(T!==void 0)return T;const X=he(E,k);return k-=O(X),k}function H(k,E){let T=he(E,k);for(k-=O(T);xe(T)||T===65039||T===8419;){if(k===0)return;T=he(E,k),k-=O(T)}if(ut(T)){if(k>=0){const X=he(E,k);X===8205&&(k-=O(X))}return k}}function O(k){return k>=65536?2:1}function xe(k){return 127995<=k&&k<=127999}},72999:function(tn,tt,f){"use strict";f.d(tt,{$E:function(){return m},$K:function(){return C},D8:function(){return S},HD:function(){return L},IU:function(){return P},Jp:function(){return Se},Kn:function(){return ee},cW:function(){return I},f6:function(){return ce},hj:function(){return Ee},jn:function(){return $},kJ:function(){return y},mf:function(){return z},o8:function(){return q},p_:function(){return a},vE:function(){return U}});function y(W){return Array.isArray(W)}function L(W){return typeof W=="string"}function ee(W){return typeof W=="object"&&W!==null&&!Array.isArray(W)&&!(W instanceof RegExp)&&!(W instanceof Date)}function Ee(W){return typeof W=="number"&&!isNaN(W)}function $(W){return W===!0||W===!1}function q(W){return typeof W=="undefined"}function C(W){return!Se(W)}function Se(W){return q(W)||W===null}function a(W,ne){if(!W)throw new Error(ne?`Unexpected type, expected '${ne}'`:"Unexpected type")}function I(W){if(Se(W))throw new Error("Assertion Failed: argument is undefined or null");return W}function z(W){return typeof W=="function"}function S(W,ne){const Y=Math.min(W.length,ne.length);for(let b=0;b<Y;b++)u(W[b],ne[b])}function u(W,ne){if(L(ne)){if(typeof W!==ne)throw new Error(`argument does not match constraint: typeof ${ne}`)}else if(z(ne)){try{if(W instanceof ne)return}catch(Y){}if(!Se(W)&&W.constructor===ne||ne.length===1&&ne.call(void 0,W)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function x(W){let ne=[],Y=Object.getPrototypeOf(W);for(;Object.prototype!==Y;)ne=ne.concat(Object.getOwnPropertyNames(Y)),Y=Object.getPrototypeOf(Y);return ne}function m(W){const ne=[];for(const Y of x(W))typeof W[Y]=="function"&&ne.push(Y);return ne}function P(W,ne){const Y=R=>function(){const G=Array.prototype.slice.call(arguments,0);return ne(R,G)};let b={};for(const R of W)b[R]=Y(R);return b}function ce(W){return W===null?void 0:W}function U(W,ne="Unreachable"){throw new Error(ne)}},13268:function(tn,tt,f){"use strict";f.d(tt,{N:function(){return L}});function y(ee,Ee){let $;return Ee.length===0?$=ee:$=ee.replace(/\{(\d+)\}/g,function(q,C){const Se=C[0];return typeof Ee[Se]!="undefined"?Ee[Se]:q}),$}function L(ee,Ee,...$){return y(Ee,$)}},96236:function(tn,tt,f){"use strict";f.d(tt,{BH:function(){return P},NZ:function(){return ce},U8:function(){return U},co:function(){return m},eH:function(){return x},vr:function(){return u}});var y=f(75918),L=f(52615),ee=f(4348),Ee=f(88226),$=f(69323),q=f(34502),C=f(35884),Se=f(90689),a=f(16925),I=f(49055),z=function(W,ne,Y,b){var R=arguments.length,G=R<3?ne:b===null?b=Object.getOwnPropertyDescriptor(ne,Y):b,j;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")G=Reflect.decorate(W,ne,Y,b);else for(var pe=W.length-1;pe>=0;pe--)(j=W[pe])&&(G=(R<3?j(G):R>3?j(ne,Y,G):j(ne,Y))||G);return R>3&&G&&Object.defineProperty(ne,Y,G),G},S=function(W,ne){return function(Y,b){ne(Y,b,W)}};function u(W){return W.command!==void 0}class x{constructor(ne){this.id=x._idPool++,this._debugName=ne}}x._idPool=0,x.CommandPalette=new x("CommandPalette"),x.EditorContext=new x("EditorContext"),x.SimpleEditorContext=new x("SimpleEditorContext"),x.EditorContextCopy=new x("EditorContextCopy"),x.EditorContextPeek=new x("EditorContextPeek"),x.MenubarEditMenu=new x("MenubarEditMenu"),x.MenubarCopy=new x("MenubarCopy"),x.MenubarGoMenu=new x("MenubarGoMenu"),x.MenubarSelectionMenu=new x("MenubarSelectionMenu"),x.InlineCompletionsActions=new x("InlineCompletionsActions");const m=(0,a.yh)("menuService"),P=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new ee.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:W=>W===x.CommandPalette}}addCommand(W){return this.addCommands(Ee.$.single(W))}addCommands(W){for(const ne of W)this._commands.set(ne.id,ne);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,$.OF)(()=>{let ne=!1;for(const Y of W)ne=this._commands.delete(Y.id)||ne;ne&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(W){return this._commands.get(W)}getCommands(){const W=new Map;return this._commands.forEach((ne,Y)=>W.set(Y,ne)),W}appendMenuItem(W,ne){return this.appendMenuItems(Ee.$.single({id:W,item:ne}))}appendMenuItems(W){const ne=new Set,Y=new q.S;for(const{id:b,item:R}of W){let G=this._menuItems.get(b);G||(G=new q.S,this._menuItems.set(b,G)),Y.push(G.push(R)),ne.add(b)}return this._onDidChangeMenu.fire(ne),(0,$.OF)(()=>{if(Y.size>0){for(let b of Y)b();this._onDidChangeMenu.fire(ne),Y.clear()}})}getMenuItems(W){let ne;return this._menuItems.has(W)?ne=[...this._menuItems.get(W)]:ne=[],W===x.CommandPalette&&this._appendImplicitItems(ne),ne}_appendImplicitItems(W){const ne=new Set;for(const Y of W)u(Y)&&(ne.add(Y.command.id),Y.alt&&ne.add(Y.alt.id));this._commands.forEach((Y,b)=>{ne.has(b)||W.push({command:Y})})}};class ce extends y.wY{constructor(ne,Y,b,R){super(`submenuitem.${ne.submenu.id}`,typeof ne.title=="string"?ne.title:ne.title.value,[],"submenu"),this.item=ne,this._menuService=Y,this._contextKeyService=b,this._options=R}get actions(){const ne=[],Y=this._menuService.createMenu(this.item.submenu,this._contextKeyService),b=Y.getActions(this._options);Y.dispose();for(const[,R]of b)R.length>0&&(ne.push(...R),ne.push(new y.Z0));return ne.length&&ne.pop(),ne}}let U=class El{constructor(ne,Y,b,R,G){var j,pe;if(this._commandService=G,this.id=ne.id,this.label=b!=null&&b.renderShortTitle&&ne.shortTitle?typeof ne.shortTitle=="string"?ne.shortTitle:ne.shortTitle.value:typeof ne.title=="string"?ne.title:ne.title.value,this.tooltip=(pe=typeof ne.tooltip=="string"?ne.tooltip:(j=ne.tooltip)===null||j===void 0?void 0:j.value)!==null&&pe!==void 0?pe:"",this.enabled=!ne.precondition||R.contextMatchesRules(ne.precondition),this.checked=void 0,ne.toggled){const me=ne.toggled.condition?ne.toggled:{condition:ne.toggled};this.checked=R.contextMatchesRules(me.condition),this.checked&&me.tooltip&&(this.tooltip=typeof me.tooltip=="string"?me.tooltip:me.tooltip.value),me.title&&(this.label=typeof me.title=="string"?me.title:me.title.value)}this.item=ne,this.alt=Y?new El(Y,void 0,b,R,G):void 0,this._options=b,I.kS.isThemeIcon(ne.icon)&&(this.class=L.dT.asClassName(ne.icon))}dispose(){}run(...ne){var Y,b;let R=[];return!((Y=this._options)===null||Y===void 0)&&Y.arg&&(R=[...R,this._options.arg]),!((b=this._options)===null||b===void 0)&&b.shouldForwardArgs&&(R=[...R,...ne]),this._commandService.executeCommand(this.id,...R)}};U=z([S(3,Se.i6),S(4,C.H)],U)},35884:function(tn,tt,f){"use strict";f.d(tt,{H:function(){return C},P:function(){return Se}});var y=f(4348),L=f(88226),ee=f(69323),Ee=f(34502),$=f(72999),q=f(16925);const C=(0,q.yh)("commandService"),Se=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new y.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(a,I){if(!a)throw new Error("invalid command");if(typeof a=="string"){if(!I)throw new Error("invalid command");return this.registerCommand({id:a,handler:I})}if(a.description){const m=[];for(let ce of a.description.args)m.push(ce.constraint);const P=a.handler;a.handler=function(ce,...U){return(0,$.D8)(U,m),P(ce,...U)}}const{id:z}=a;let S=this._commands.get(z);S||(S=new Ee.S,this._commands.set(z,S));let u=S.unshift(a),x=(0,ee.OF)(()=>{u();const m=this._commands.get(z);m!=null&&m.isEmpty()&&this._commands.delete(z)});return this._onDidRegisterCommand.fire(z),x}registerCommandAlias(a,I){return Se.registerCommand(a,(z,...S)=>z.get(C).executeCommand(I,...S))}getCommand(a){const I=this._commands.get(a);if(!(!I||I.isEmpty()))return L.$.first(I)}getCommands(){const a=new Map;for(const I of this._commands.keys()){const z=this.getCommand(I);z&&a.set(I,z)}return a}};Se.registerCommand("noop",()=>{})},90689:function(tn,tt,f){"use strict";f.d(tt,{Ao:function(){return C},Eq:function(){return te},Fb:function(){return Se},K8:function(){return Q},i6:function(){return ae},uy:function(){return fe}});var y=f(23345),L=f(82983),ee=f(16925);let Ee=y.WE||"";const $=new Map;$.set("false",!1),$.set("true",!0),$.set("isMac",y.dz),$.set("isLinux",y.IJ),$.set("isWindows",y.ED),$.set("isWeb",y.$L),$.set("isMacNative",y.dz&&!y.$L),$.set("isEdge",Ee.indexOf("Edg/")>=0),$.set("isFirefox",Ee.indexOf("Firefox")>=0),$.set("isChrome",Ee.indexOf("Chrome")>=0),$.set("isSafari",Ee.indexOf("Safari")>=0);const q=Object.prototype.hasOwnProperty;class C{static has(v){return S.create(v)}static equals(v,_){return u.create(v,_)}static regex(v,_){return R.create(v,_)}static not(v){return ce.create(v)}static and(...v){return pe.create(v,null)}static or(...v){return me.create(v,null,!0)}static deserialize(v,_=!1){if(v)return this._deserializeOrExpression(v,_)}static _deserializeOrExpression(v,_){let V=v.split("||");return me.create(V.map(J=>this._deserializeAndExpression(J,_)),null,!0)}static _deserializeAndExpression(v,_){let V=v.split("&&");return pe.create(V.map(J=>this._deserializeOne(J,_)),null)}static _deserializeOne(v,_){if(v=v.trim(),v.indexOf("!=")>=0){let V=v.split("!=");return P.create(V[0].trim(),this._deserializeValue(V[1],_))}if(v.indexOf("==")>=0){let V=v.split("==");return u.create(V[0].trim(),this._deserializeValue(V[1],_))}if(v.indexOf("=~")>=0){let V=v.split("=~");return R.create(V[0].trim(),this._deserializeRegexValue(V[1],_))}if(v.indexOf(" in ")>=0){let V=v.split(" in ");return x.create(V[0].trim(),V[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(v)){const V=v.split(">=");return ne.create(V[0].trim(),V[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(v)){const V=v.split(">");return W.create(V[0].trim(),V[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(v)){const V=v.split("<=");return b.create(V[0].trim(),V[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(v)){const V=v.split("<");return Y.create(V[0].trim(),V[1].trim())}return/^\!\s*/.test(v)?ce.create(v.substr(1).trim()):S.create(v)}static _deserializeValue(v,_){if(v=v.trim(),v==="true")return!0;if(v==="false")return!1;let V=/^'([^']*)'$/.exec(v);return V?V[1].trim():v}static _deserializeRegexValue(v,_){if((0,L.m5)(v)){if(_)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let V=v.indexOf("/"),J=v.lastIndexOf("/");if(V===J||V<0){if(_)throw new Error(`bad regexp-value '${v}', missing /-enclosure`);return console.warn(`bad regexp-value '${v}', missing /-enclosure`),null}let Le=v.slice(V+1,J),Oe=v[J+1]==="i"?"i":"";try{return new RegExp(Le,Oe)}catch(Ie){if(_)throw new Error(`bad regexp-value '${v}', parse error: ${Ie}`);return console.warn(`bad regexp-value '${v}', parse error: ${Ie}`),null}}}function Se(ie,v){const _=ie?ie.substituteConstants():void 0,V=v?v.substituteConstants():void 0;return!_&&!V?!0:!_||!V?!1:_.equals(V)}function a(ie,v){return ie.cmp(v)}class I{constructor(){this.type=0}cmp(v){return this.type-v.type}equals(v){return v.type===this.type}substituteConstants(){return this}evaluate(v){return!1}serialize(){return"false"}keys(){return[]}negate(){return z.INSTANCE}}I.INSTANCE=new I;class z{constructor(){this.type=1}cmp(v){return this.type-v.type}equals(v){return v.type===this.type}substituteConstants(){return this}evaluate(v){return!0}serialize(){return"true"}keys(){return[]}negate(){return I.INSTANCE}}z.INSTANCE=new z;class S{constructor(v,_){this.key=v,this.negated=_,this.type=2}static create(v,_=null){const V=$.get(v);return typeof V=="boolean"?V?z.INSTANCE:I.INSTANCE:new S(v,_)}cmp(v){return v.type!==this.type?this.type-v.type:M(this.key,v.key)}equals(v){return v.type===this.type?this.key===v.key:!1}substituteConstants(){const v=$.get(this.key);return typeof v=="boolean"?v?z.INSTANCE:I.INSTANCE:this}evaluate(v){return!!v.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=ce.create(this.key,this)),this.negated}}class u{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=4}static create(v,_,V=null){if(typeof _=="boolean")return _?S.create(v,V):ce.create(v,V);const J=$.get(v);return typeof J=="boolean"?_===(J?"true":"false")?z.INSTANCE:I.INSTANCE:new u(v,_,V)}cmp(v){return v.type!==this.type?this.type-v.type:he(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){const v=$.get(this.key);if(typeof v=="boolean"){const _=v?"true":"false";return this.value===_?z.INSTANCE:I.INSTANCE}return this}evaluate(v){return v.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}class x{constructor(v,_){this.key=v,this.valueKey=_,this.type=10,this.negated=null}static create(v,_){return new x(v,_)}cmp(v){return v.type!==this.type?this.type-v.type:he(this.key,this.valueKey,v.key,v.valueKey)}equals(v){return v.type===this.type?this.key===v.key&&this.valueKey===v.valueKey:!1}substituteConstants(){return this}evaluate(v){const _=v.getValue(this.valueKey),V=v.getValue(this.key);return Array.isArray(_)?_.indexOf(V)>=0:typeof V=="string"&&typeof _=="object"&&_!==null?q.call(_,V):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=m.create(this)),this.negated}}class m{constructor(v){this._actual=v,this.type=11}static create(v){return new m(v)}cmp(v){return v.type!==this.type?this.type-v.type:this._actual.cmp(v._actual)}equals(v){return v.type===this.type?this._actual.equals(v._actual):!1}substituteConstants(){return this}evaluate(v){return!this._actual.evaluate(v)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class P{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=5}static create(v,_,V=null){if(typeof _=="boolean")return _?ce.create(v,V):S.create(v,V);const J=$.get(v);return typeof J=="boolean"?_===(J?"true":"false")?I.INSTANCE:z.INSTANCE:new P(v,_,V)}cmp(v){return v.type!==this.type?this.type-v.type:he(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){const v=$.get(this.key);if(typeof v=="boolean"){const _=v?"true":"false";return this.value===_?I.INSTANCE:z.INSTANCE}return this}evaluate(v){return v.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=u.create(this.key,this.value,this)),this.negated}}class ce{constructor(v,_){this.key=v,this.negated=_,this.type=3}static create(v,_=null){const V=$.get(v);return typeof V=="boolean"?V?I.INSTANCE:z.INSTANCE:new ce(v,_)}cmp(v){return v.type!==this.type?this.type-v.type:M(this.key,v.key)}equals(v){return v.type===this.type?this.key===v.key:!1}substituteConstants(){const v=$.get(this.key);return typeof v=="boolean"?v?I.INSTANCE:z.INSTANCE:this}evaluate(v){return!v.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=S.create(this.key,this)),this.negated}}function U(ie,v){if(typeof ie=="string"){const _=parseFloat(ie);isNaN(_)||(ie=_)}return typeof ie=="string"||typeof ie=="number"?v(ie):I.INSTANCE}class W{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=12}static create(v,_,V=null){return U(_,J=>new W(v,J,V))}cmp(v){return v.type!==this.type?this.type-v.type:he(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=b.create(this.key,this.value,this)),this.negated}}class ne{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=13}static create(v,_,V=null){return U(_,J=>new ne(v,J,V))}cmp(v){return v.type!==this.type?this.type-v.type:he(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=Y.create(this.key,this.value,this)),this.negated}}class Y{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=14}static create(v,_,V=null){return U(_,J=>new Y(v,J,V))}cmp(v){return v.type!==this.type?this.type-v.type:he(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=ne.create(this.key,this.value,this)),this.negated}}class b{constructor(v,_,V){this.key=v,this.value=_,this.negated=V,this.type=15}static create(v,_,V=null){return U(_,J=>new b(v,J,V))}cmp(v){return v.type!==this.type?this.type-v.type:he(this.key,this.value,v.key,v.value)}equals(v){return v.type===this.type?this.key===v.key&&this.value===v.value:!1}substituteConstants(){return this}evaluate(v){return typeof this.value=="string"?!1:parseFloat(v.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=W.create(this.key,this.value,this)),this.negated}}class R{constructor(v,_){this.key=v,this.regexp=_,this.type=7,this.negated=null}static create(v,_){return new R(v,_)}cmp(v){if(v.type!==this.type)return this.type-v.type;if(this.key<v.key)return-1;if(this.key>v.key)return 1;const _=this.regexp?this.regexp.source:"",V=v.regexp?v.regexp.source:"";return _<V?-1:_>V?1:0}equals(v){if(v.type===this.type){const _=this.regexp?this.regexp.source:"",V=v.regexp?v.regexp.source:"";return this.key===v.key&&_===V}return!1}substituteConstants(){return this}evaluate(v){let _=v.getValue(this.key);return this.regexp?this.regexp.test(_):!1}serialize(){const v=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${v}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=G.create(this)),this.negated}}class G{constructor(v){this._actual=v,this.type=8}static create(v){return new G(v)}cmp(v){return v.type!==this.type?this.type-v.type:this._actual.cmp(v._actual)}equals(v){return v.type===this.type?this._actual.equals(v._actual):!1}substituteConstants(){return this}evaluate(v){return!this._actual.evaluate(v)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function j(ie){let v=null;for(let _=0,V=ie.length;_<V;_++){const J=ie[_].substituteConstants();if(ie[_]!==J&&v===null){v=[];for(let Le=0;Le<_;Le++)v[Le]=ie[Le]}v!==null&&(v[_]=J)}return v===null?ie:v}class pe{constructor(v,_){this.expr=v,this.negated=_,this.type=6}static create(v,_){return pe._normalizeArr(v,_)}cmp(v){if(v.type!==this.type)return this.type-v.type;if(this.expr.length<v.expr.length)return-1;if(this.expr.length>v.expr.length)return 1;for(let _=0,V=this.expr.length;_<V;_++){const J=a(this.expr[_],v.expr[_]);if(J!==0)return J}return 0}equals(v){if(v.type===this.type){if(this.expr.length!==v.expr.length)return!1;for(let _=0,V=this.expr.length;_<V;_++)if(!this.expr[_].equals(v.expr[_]))return!1;return!0}return!1}substituteConstants(){const v=j(this.expr);return v===this.expr?this:pe.create(v,this.negated)}evaluate(v){for(let _=0,V=this.expr.length;_<V;_++)if(!this.expr[_].evaluate(v))return!1;return!0}static _normalizeArr(v,_){const V=[];let J=!1;for(const Le of v)if(Le){if(Le.type===1){J=!0;continue}if(Le.type===0)return I.INSTANCE;if(Le.type===6){V.push(...Le.expr);continue}V.push(Le)}if(V.length===0&&J)return z.INSTANCE;if(V.length!==0){if(V.length===1)return V[0];V.sort(a);for(let Le=1;Le<V.length;Le++)V[Le-1].equals(V[Le])&&(V.splice(Le,1),Le--);if(V.length===1)return V[0];for(;V.length>1;){const Le=V[V.length-1];if(Le.type!==9)break;V.pop();const Oe=V.pop(),Ie=V.length===0,$e=me.create(Le.expr.map(lt=>pe.create([lt,Oe],null)),null,Ie);$e&&(V.push($e),V.sort(a))}return V.length===1?V[0]:new pe(V,_)}}serialize(){return this.expr.map(v=>v.serialize()).join(" && ")}keys(){const v=[];for(let _ of this.expr)v.push(..._.keys());return v}negate(){if(!this.negated){const v=[];for(let _ of this.expr)v.push(_.negate());this.negated=me.create(v,this,!0)}return this.negated}}class me{constructor(v,_){this.expr=v,this.negated=_,this.type=9}static create(v,_,V){return me._normalizeArr(v,_,V)}cmp(v){if(v.type!==this.type)return this.type-v.type;if(this.expr.length<v.expr.length)return-1;if(this.expr.length>v.expr.length)return 1;for(let _=0,V=this.expr.length;_<V;_++){const J=a(this.expr[_],v.expr[_]);if(J!==0)return J}return 0}equals(v){if(v.type===this.type){if(this.expr.length!==v.expr.length)return!1;for(let _=0,V=this.expr.length;_<V;_++)if(!this.expr[_].equals(v.expr[_]))return!1;return!0}return!1}substituteConstants(){const v=j(this.expr);return v===this.expr?this:me.create(v,this.negated,!1)}evaluate(v){for(let _=0,V=this.expr.length;_<V;_++)if(this.expr[_].evaluate(v))return!0;return!1}static _normalizeArr(v,_,V){let J=[],Le=!1;if(v){for(let Oe=0,Ie=v.length;Oe<Ie;Oe++){const $e=v[Oe];if($e){if($e.type===0){Le=!0;continue}if($e.type===1)return z.INSTANCE;if($e.type===9){J=J.concat($e.expr);continue}J.push($e)}}if(J.length===0&&Le)return I.INSTANCE;J.sort(a)}if(J.length!==0){if(J.length===1)return J[0];for(let Oe=1;Oe<J.length;Oe++)J[Oe-1].equals(J[Oe])&&(J.splice(Oe,1),Oe--);if(J.length===1)return J[0];if(V){for(let Oe=0;Oe<J.length;Oe++)for(let Ie=Oe+1;Ie<J.length;Ie++)Q(J[Oe],J[Ie])&&(J.splice(Ie,1),Ie--);if(J.length===1)return J[0]}return new me(J,_)}}serialize(){return this.expr.map(v=>v.serialize()).join(" || ")}keys(){const v=[];for(let _ of this.expr)v.push(..._.keys());return v}negate(){if(!this.negated){let v=[];for(let _ of this.expr)v.push(_.negate());for(;v.length>1;){const _=v.shift(),V=v.shift(),J=[];for(const Oe of de(_))for(const Ie of de(V))J.push(pe.create([Oe,Ie],null));const Le=v.length===0;v.unshift(me.create(J,null,Le))}this.negated=v[0]}return this.negated}}class fe extends S{constructor(v,_,V){super(v,null),this._defaultValue=_,typeof V=="object"?fe._info.push(Object.assign(Object.assign({},V),{key:v})):V!==!0&&fe._info.push({key:v,description:V,type:_!=null?typeof _:void 0})}static all(){return fe._info.values()}bindTo(v){return v.createKey(this.key,this._defaultValue)}getValue(v){return v.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(v){return u.create(this.key,v)}}fe._info=[];const ae=(0,ee.yh)("contextKeyService"),te="setContext";function M(ie,v){return ie<v?-1:ie>v?1:0}function he(ie,v,_,V){return ie<_?-1:ie>_?1:v<V?-1:v>V?1:0}function Q(ie,v){if(v.type===6&&ie.type!==9&&ie.type!==6){for(const J of v.expr)if(ie.equals(J))return!0}const _=ie.negate(),V=de(_).concat(de(v));V.sort(a);for(let J=0;J<V.length;J++){const Oe=V[J].negate();for(let Ie=J+1;Ie<V.length;Ie++){const $e=V[Ie];if(Oe.equals($e))return!0}}return!1}function de(ie){return ie.type===9?ie.expr:[ie]}},16925:function(tn,tt,f){"use strict";f.d(tt,{I8:function(){return y},TG:function(){return L},jt:function(){return $},yh:function(){return Ee}});var y;(function(q){q.serviceIds=new Map,q.DI_TARGET="$di$target",q.DI_DEPENDENCIES="$di$dependencies";function C(Se){return Se[q.DI_DEPENDENCIES]||[]}q.getServiceDependencies=C})(y||(y={}));const L=Ee("instantiationService");function ee(q,C,Se,a){C[y.DI_TARGET]===C?C[y.DI_DEPENDENCIES].push({id:q,index:Se,optional:a}):(C[y.DI_DEPENDENCIES]=[{id:q,index:Se,optional:a}],C[y.DI_TARGET]=C)}function Ee(q){if(y.serviceIds.has(q))return y.serviceIds.get(q);const C=function(Se,a,I){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");ee(C,Se,I,!1)};return C.toString=()=>q,y.serviceIds.set(q,C),C}function $(q){return function(C,Se,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");ee(q,C,a,!0)}}},44650:function(tn,tt,f){"use strict";f.d(tt,{B:function(){return Ee}});var y=f(76068),L=f(72999);class ee{constructor(){this.data=new Map}add(q,C){y.ok(L.HD(q)),y.ok(L.Kn(C)),y.ok(!this.data.has(q),"There is already an extension with this id"),this.data.set(q,C)}as(q){return this.data.get(q)||null}}const Ee=new ee},66213:function(tn,tt,f){"use strict";f.d(tt,{e:function(){return y}});var y;(function(L){L.DARK="dark",L.LIGHT="light",L.HIGH_CONTRAST="hc"})(y||(y={}))},49055:function(tn,tt,f){"use strict";f.d(tt,{EN:function(){return a},IP:function(){return S},Ic:function(){return m},XE:function(){return C},bB:function(){return P},kS:function(){return I},m6:function(){return z}});var y=f(52615),L=f(4348),ee=f(69323),Ee=f(16925),$=f(44650),q=f(66213);const C=(0,Ee.yh)("themeService");var Se;(function(ce){function U(W){return W&&typeof W=="object"&&typeof W.id=="string"}ce.isThemeColor=U})(Se||(Se={}));function a(ce){return{id:ce}}var I;(function(ce){function U(G){return G&&typeof G=="object"&&typeof G.id=="string"&&(typeof G.color=="undefined"||Se.isThemeColor(G.color))}ce.isThemeIcon=U;const W=new RegExp(`^\\$\\((${y.dT.iconNameExpression}(?:${y.dT.iconModifierExpression})?)\\)$`);function ne(G){const j=W.exec(G);if(!j)return;let[,pe]=j;return{id:pe}}ce.fromString=ne;function Y(G,j){let pe=G.id;const me=pe.lastIndexOf("~");return me!==-1&&(pe=pe.substring(0,me)),j&&(pe=`${pe}~${j}`),{id:pe}}ce.modify=Y;function b(G,j){var pe,me;return G.id===j.id&&((pe=G.color)===null||pe===void 0?void 0:pe.id)===((me=j.color)===null||me===void 0?void 0:me.id)}ce.isEqual=b;function R(G,j){return{id:G.id,color:j?a(j):void 0}}ce.asThemeIcon=R,ce.asClassNameArray=y.dT.asClassNameArray,ce.asClassName=y.dT.asClassName,ce.asCSSSelector=y.dT.asCSSSelector})(I||(I={}));function z(ce){switch(ce){case q.e.DARK:return"vs-dark";case q.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const S={ThemingContribution:"base.contributions.theming"};class u{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new L.Q5}onColorThemeChange(U){return this.themingParticipants.push(U),this.onThemingParticipantAddedEmitter.fire(U),(0,ee.OF)(()=>{const W=this.themingParticipants.indexOf(U);this.themingParticipants.splice(W,1)})}getThemingParticipants(){return this.themingParticipants}}let x=new u;$.B.add(S.ThemingContribution,x);function m(ce){return x.onColorThemeChange(ce)}class P extends ee.JT{constructor(U){super(),this.themeService=U,this.theme=U.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(W=>this.onThemeChange(W)))}onThemeChange(U){this.theme=U,this.updateStyles()}updateStyles(){}}},5630:function(tn,tt,f){"use strict";var y=f(92413),L=f(33708),ee=f(400),Ee=f(33606),$=f(37061),q=f(92310),C=f.n(q),Se=f(18929),a=f(59301),I=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],z=(0,a.forwardRef)(function(S,u){var x,m=S.prefixCls,P=m===void 0?"rc-checkbox":m,ce=S.className,U=S.style,W=S.checked,ne=S.disabled,Y=S.defaultChecked,b=Y===void 0?!1:Y,R=S.type,G=R===void 0?"checkbox":R,j=S.title,pe=S.onChange,me=(0,$.Z)(S,I),fe=(0,a.useRef)(null),ae=(0,Se.Z)(b,{value:W}),te=(0,Ee.Z)(ae,2),M=te[0],he=te[1];(0,a.useImperativeHandle)(u,function(){return{focus:function(){var v;(v=fe.current)===null||v===void 0||v.focus()},blur:function(){var v;(v=fe.current)===null||v===void 0||v.blur()},input:fe.current}});var Q=C()(P,ce,(x={},(0,ee.Z)(x,"".concat(P,"-checked"),M),(0,ee.Z)(x,"".concat(P,"-disabled"),ne),x)),de=function(v){ne||("checked"in S||he(v.target.checked),pe==null||pe({target:(0,L.Z)((0,L.Z)({},S),{},{type:G,checked:v.target.checked}),stopPropagation:function(){v.stopPropagation()},preventDefault:function(){v.preventDefault()},nativeEvent:v.nativeEvent}))};return a.createElement("span",{className:Q,title:j,style:U},a.createElement("input",(0,y.Z)({},me,{className:"".concat(P,"-input"),ref:fe,onChange:de,disabled:ne,checked:!!M,type:G})),a.createElement("span",{className:"".concat(P,"-inner")}))});tt.Z=z},31561:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return G}});var y=f(92413),L=f(400),ee=f(33606),Ee=f(37061),$=f(35593),q=f(92310),C=f.n(q),Se=f(8654),a=f(59301),I=f(10228),z=f(16089),S=I.Z.ESC,u=I.Z.TAB;function x(j){var pe=j.visible,me=j.triggerRef,fe=j.onVisibleChange,ae=j.autoFocus,te=j.overlayRef,M=a.useRef(!1),he=function(){if(pe){var v,_;(v=me.current)===null||v===void 0||(_=v.focus)===null||_===void 0||_.call(v),fe==null||fe(!1)}},Q=function(){var v;return(v=te.current)!==null&&v!==void 0&&v.focus?(te.current.focus(),M.current=!0,!0):!1},de=function(v){switch(v.keyCode){case S:he();break;case u:{var _=!1;M.current||(_=Q()),_?v.preventDefault():he();break}}};a.useEffect(function(){return pe?(window.addEventListener("keydown",de),ae&&(0,z.Z)(Q,3),function(){window.removeEventListener("keydown",de),M.current=!1}):function(){M.current=!1}},[pe])}var m=(0,a.forwardRef)(function(j,pe){var me=j.overlay,fe=j.arrow,ae=j.prefixCls,te=(0,a.useMemo)(function(){var he;return typeof me=="function"?he=me():he=me,he},[me]),M=(0,Se.sQ)(pe,te==null?void 0:te.ref);return a.createElement(a.Fragment,null,fe&&a.createElement("div",{className:"".concat(ae,"-arrow")}),a.cloneElement(te,{ref:(0,Se.Yr)(te)?M:void 0}))}),P=m,ce={adjustX:1,adjustY:1},U=[0,0],W={topLeft:{points:["bl","tl"],overflow:ce,offset:[0,-4],targetOffset:U},top:{points:["bc","tc"],overflow:ce,offset:[0,-4],targetOffset:U},topRight:{points:["br","tr"],overflow:ce,offset:[0,-4],targetOffset:U},bottomLeft:{points:["tl","bl"],overflow:ce,offset:[0,4],targetOffset:U},bottom:{points:["tc","bc"],overflow:ce,offset:[0,4],targetOffset:U},bottomRight:{points:["tr","br"],overflow:ce,offset:[0,4],targetOffset:U}},ne=W,Y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function b(j,pe){var me,fe=j.arrow,ae=fe===void 0?!1:fe,te=j.prefixCls,M=te===void 0?"rc-dropdown":te,he=j.transitionName,Q=j.animation,de=j.align,ie=j.placement,v=ie===void 0?"bottomLeft":ie,_=j.placements,V=_===void 0?ne:_,J=j.getPopupContainer,Le=j.showAction,Oe=j.hideAction,Ie=j.overlayClassName,$e=j.overlayStyle,lt=j.visible,ut=j.trigger,it=ut===void 0?["hover"]:ut,Pt=j.autoFocus,Jt=j.overlay,rn=j.children,It=j.onVisibleChange,Zt=(0,Ee.Z)(j,Y),ot=a.useState(),se=(0,ee.Z)(ot,2),be=se[0],H=se[1],O="visible"in j?lt:be,xe=a.useRef(null),k=a.useRef(null),E=a.useRef(null);a.useImperativeHandle(pe,function(){return xe.current});var T=function(et){H(et),It==null||It(et)};x({visible:O,triggerRef:E,onVisibleChange:T,autoFocus:Pt,overlayRef:k});var X=function(et){var je=j.onOverlayClick;H(!1),je&&je(et)},Z=function(){return a.createElement(P,{ref:k,overlay:Jt,prefixCls:M,arrow:ae})},K=function(){return typeof Jt=="function"?Z:Z()},we=function(){var et=j.minOverlayWidthMatchTrigger,je=j.alignPoint;return"minOverlayWidthMatchTrigger"in j?et:!je},Ke=function(){var et=j.openClassName;return et!==void 0?et:"".concat(M,"-open")},ke=a.cloneElement(rn,{className:C()((me=rn.props)===null||me===void 0?void 0:me.className,O&&Ke()),ref:(0,Se.Yr)(rn)?(0,Se.sQ)(E,rn.ref):void 0}),Te=Oe;return!Te&&it.indexOf("contextMenu")!==-1&&(Te=["click"]),a.createElement($.Z,(0,y.Z)({builtinPlacements:V},Zt,{prefixCls:M,ref:xe,popupClassName:C()(Ie,(0,L.Z)({},"".concat(M,"-show-arrow"),ae)),popupStyle:$e,action:it,showAction:Le,hideAction:Te,popupPlacement:v,popupAlign:de,popupTransitionName:he,popupAnimation:Q,popupVisible:O,stretch:we()?"minWidth":"",popup:K(),onPopupVisibleChange:T,onPopupClick:X,getPopupContainer:J}),ke)}var R=a.forwardRef(b),G=R},93681:function(tn,tt,f){"use strict";f.r(tt),f.d(tt,{BaseInput:function(){return I},default:function(){return W}});var y=f(92413),L=f(33708),ee=f(400),Ee=f(39559),$=f(92310),q=f.n($),C=f(59301),Se=f(5643),a=function(Y){var b,R,G=Y.inputElement,j=Y.prefixCls,pe=Y.prefix,me=Y.suffix,fe=Y.addonBefore,ae=Y.addonAfter,te=Y.className,M=Y.style,he=Y.disabled,Q=Y.readOnly,de=Y.focused,ie=Y.triggerFocus,v=Y.allowClear,_=Y.value,V=Y.handleReset,J=Y.hidden,Le=Y.classes,Oe=Y.classNames,Ie=Y.dataAttrs,$e=Y.styles,lt=Y.components,ut=(lt==null?void 0:lt.affixWrapper)||"span",it=(lt==null?void 0:lt.groupWrapper)||"span",Pt=(lt==null?void 0:lt.wrapper)||"span",Jt=(lt==null?void 0:lt.groupAddon)||"span",rn=(0,C.useRef)(null),It=function(Z){var K;(K=rn.current)!==null&&K!==void 0&&K.contains(Z.target)&&(ie==null||ie())},Zt=function(){var Z;if(!v)return null;var K=!he&&!Q&&_,we="".concat(j,"-clear-icon"),Ke=(0,Ee.Z)(v)==="object"&&v!==null&&v!==void 0&&v.clearIcon?v.clearIcon:"\u2716";return C.createElement("span",{onClick:V,onMouseDown:function(Te){return Te.preventDefault()},className:q()(we,(Z={},(0,ee.Z)(Z,"".concat(we,"-hidden"),!K),(0,ee.Z)(Z,"".concat(we,"-has-suffix"),!!me),Z)),role:"button",tabIndex:-1},Ke)},ot=(0,C.cloneElement)(G,{value:_,hidden:J,className:q()((b=G.props)===null||b===void 0?void 0:b.className,!(0,Se.X3)(Y)&&!(0,Se.He)(Y)&&te)||null,style:(0,L.Z)((0,L.Z)({},(R=G.props)===null||R===void 0?void 0:R.style),!(0,Se.X3)(Y)&&!(0,Se.He)(Y)?M:{})});if((0,Se.X3)(Y)){var se,be="".concat(j,"-affix-wrapper"),H=q()(be,(se={},(0,ee.Z)(se,"".concat(be,"-disabled"),he),(0,ee.Z)(se,"".concat(be,"-focused"),de),(0,ee.Z)(se,"".concat(be,"-readonly"),Q),(0,ee.Z)(se,"".concat(be,"-input-with-clear-btn"),me&&v&&_),se),!(0,Se.He)(Y)&&te,Le==null?void 0:Le.affixWrapper,Oe==null?void 0:Oe.affixWrapper),O=(me||v)&&C.createElement("span",{className:q()("".concat(j,"-suffix"),Oe==null?void 0:Oe.suffix),style:$e==null?void 0:$e.suffix},Zt(),me);ot=C.createElement(ut,(0,y.Z)({className:H,style:(0,L.Z)((0,L.Z)({},(0,Se.He)(Y)?void 0:M),$e==null?void 0:$e.affixWrapper),hidden:!(0,Se.He)(Y)&&J,onClick:It},Ie==null?void 0:Ie.affixWrapper,{ref:rn}),pe&&C.createElement("span",{className:q()("".concat(j,"-prefix"),Oe==null?void 0:Oe.prefix),style:$e==null?void 0:$e.prefix},pe),(0,C.cloneElement)(G,{value:_,hidden:null}),O)}if((0,Se.He)(Y)){var xe="".concat(j,"-group"),k="".concat(xe,"-addon"),E=q()("".concat(j,"-wrapper"),xe,Le==null?void 0:Le.wrapper),T=q()("".concat(j,"-group-wrapper"),te,Le==null?void 0:Le.group);return C.createElement(it,{className:T,style:M,hidden:J},C.createElement(Pt,{className:E},fe&&C.createElement(Jt,{className:k},fe),(0,C.cloneElement)(ot,{hidden:null}),ae&&C.createElement(Jt,{className:k},ae)))}return ot},I=a,z=f(26407),S=f(33606),u=f(37061),x=f(18929),m=f(2738),P=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],ce=(0,C.forwardRef)(function(ne,Y){var b=ne.autoComplete,R=ne.onChange,G=ne.onFocus,j=ne.onBlur,pe=ne.onPressEnter,me=ne.onKeyDown,fe=ne.prefixCls,ae=fe===void 0?"rc-input":fe,te=ne.disabled,M=ne.htmlSize,he=ne.className,Q=ne.maxLength,de=ne.suffix,ie=ne.showCount,v=ne.type,_=v===void 0?"text":v,V=ne.classes,J=ne.classNames,Le=ne.styles,Oe=(0,u.Z)(ne,P),Ie=(0,x.Z)(ne.defaultValue,{value:ne.value}),$e=(0,S.Z)(Ie,2),lt=$e[0],ut=$e[1],it=(0,C.useState)(!1),Pt=(0,S.Z)(it,2),Jt=Pt[0],rn=Pt[1],It=(0,C.useRef)(null),Zt=function(T){It.current&&(0,Se.nH)(It.current,T)};(0,C.useImperativeHandle)(Y,function(){return{focus:Zt,blur:function(){var T;(T=It.current)===null||T===void 0||T.blur()},setSelectionRange:function(T,X,Z){var K;(K=It.current)===null||K===void 0||K.setSelectionRange(T,X,Z)},select:function(){var T;(T=It.current)===null||T===void 0||T.select()},input:It.current}}),(0,C.useEffect)(function(){rn(function(E){return E&&te?!1:E})},[te]);var ot=function(T){ne.value===void 0&&ut(T.target.value),It.current&&(0,Se.rJ)(It.current,T,R)},se=function(T){pe&&T.key==="Enter"&&pe(T),me==null||me(T)},be=function(T){rn(!0),G==null||G(T)},H=function(T){rn(!1),j==null||j(T)},O=function(T){ut(""),Zt(),It.current&&(0,Se.rJ)(It.current,T,R)},xe=function(){var T=(0,m.Z)(ne,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return C.createElement("input",(0,y.Z)({autoComplete:b},T,{onChange:ot,onFocus:be,onBlur:H,onKeyDown:se,className:q()(ae,(0,ee.Z)({},"".concat(ae,"-disabled"),te),J==null?void 0:J.input),style:Le==null?void 0:Le.input,ref:It,size:M,type:_}))},k=function(){var T=Number(Q)>0;if(de||ie){var X=(0,Se.D7)(lt),Z=(0,z.Z)(X).length,K=(0,Ee.Z)(ie)==="object"?ie.formatter({value:X,count:Z,maxLength:Q}):"".concat(Z).concat(T?" / ".concat(Q):"");return C.createElement(C.Fragment,null,!!ie&&C.createElement("span",{className:q()("".concat(ae,"-show-count-suffix"),(0,ee.Z)({},"".concat(ae,"-show-count-has-suffix"),!!de),J==null?void 0:J.count),style:(0,L.Z)({},Le==null?void 0:Le.count)},K),de)}return null};return C.createElement(I,(0,y.Z)({},Oe,{prefixCls:ae,className:he,inputElement:xe(),handleReset:O,value:(0,Se.D7)(lt),focused:Jt,triggerFocus:Zt,suffix:k(),disabled:te,classes:V,classNames:J,styles:Le}))}),U=ce,W=U},5643:function(tn,tt,f){"use strict";f.d(tt,{D7:function(){return $},He:function(){return y},X3:function(){return L},nH:function(){return Ee},rJ:function(){return ee}});function y(q){return!!(q.addonBefore||q.addonAfter)}function L(q){return!!(q.prefix||q.suffix||q.allowClear)}function ee(q,C,Se,a){if(Se){var I=C;if(C.type==="click"){var z=q.cloneNode(!0);I=Object.create(C,{target:{value:z},currentTarget:{value:z}}),z.value="",Se(I);return}if(a!==void 0){I=Object.create(C,{target:{value:q},currentTarget:{value:q}}),q.value=a,Se(I);return}Se(I)}}function Ee(q,C){if(q){q.focus(C);var Se=C||{},a=Se.cursor;if(a){var I=q.value.length;switch(a){case"start":q.setSelectionRange(0,0);break;case"end":q.setSelectionRange(I,I);break;default:q.setSelectionRange(0,I)}}}}function $(q){return typeof q=="undefined"||q===null?"":String(q)}},15285:function(tn,tt,f){"use strict";f.d(tt,{iz:function(){return un},ck:function(){return Je},BW:function(){return sn},sN:function(){return Je},Wd:function(){return pt},ZP:function(){return en},Xl:function(){return me}});var y=f(92413),L=f(400),ee=f(33708),Ee=f(26407),$=f(33606),q=f(37061),C=f(92310),Se=f.n(C),a=f(11780),I=f(18929),z=f(13697),S=f(48736),u=f(59301),x=f(4676),m=u.createContext(null);function P(dt,yt){return dt===void 0?null:"".concat(dt,"-").concat(yt)}function ce(dt){var yt=u.useContext(m);return P(yt,dt)}var U=f(80547),W=["children","locked"],ne=u.createContext(null);function Y(dt,yt){var Lt=(0,ee.Z)({},dt);return Object.keys(yt).forEach(function(Bt){var Ot=yt[Bt];Ot!==void 0&&(Lt[Bt]=Ot)}),Lt}function b(dt){var yt=dt.children,Lt=dt.locked,Bt=(0,q.Z)(dt,W),Ot=u.useContext(ne),Yt=(0,U.Z)(function(){return Y(Ot,Bt)},[Ot,Bt],function(Gt,gn){return!Lt&&(Gt[0]!==gn[0]||!(0,z.Z)(Gt[1],gn[1],!0))});return u.createElement(ne.Provider,{value:Yt},yt)}var R=[],G=u.createContext(null);function j(){return u.useContext(G)}var pe=u.createContext(R);function me(dt){var yt=u.useContext(pe);return u.useMemo(function(){return dt!==void 0?[].concat((0,Ee.Z)(yt),[dt]):yt},[yt,dt])}var fe=u.createContext(null),ae=u.createContext({}),te=ae,M=f(29194);function he(dt){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,M.Z)(dt)){var Lt=dt.nodeName.toLowerCase(),Bt=["input","select","textarea","button"].includes(Lt)||dt.isContentEditable||Lt==="a"&&!!dt.getAttribute("href"),Ot=dt.getAttribute("tabindex"),Yt=Number(Ot),Gt=null;return Ot&&!Number.isNaN(Yt)?Gt=Yt:Bt&&Gt===null&&(Gt=0),Bt&&dt.disabled&&(Gt=null),Gt!==null&&(Gt>=0||yt&&Gt<0)}return!1}function Q(dt){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Lt=(0,Ee.Z)(dt.querySelectorAll("*")).filter(function(Bt){return he(Bt,yt)});return he(dt,yt)&&Lt.unshift(dt),Lt}var de=null;function ie(){de=document.activeElement}function v(){de=null}function _(){if(de)try{de.focus()}catch(dt){}}function V(dt,yt){if(yt.keyCode===9){var Lt=Q(dt),Bt=Lt[yt.shiftKey?0:Lt.length-1],Ot=Bt===document.activeElement||dt===document.activeElement;if(Ot){var Yt=Lt[yt.shiftKey?Lt.length-1:0];Yt.focus(),yt.preventDefault()}}}var J=f(10228),Le=f(16089),Oe=J.Z.LEFT,Ie=J.Z.RIGHT,$e=J.Z.UP,lt=J.Z.DOWN,ut=J.Z.ENTER,it=J.Z.ESC,Pt=J.Z.HOME,Jt=J.Z.END,rn=[$e,lt,Oe,Ie];function It(dt,yt,Lt,Bt){var Ot,Yt,Gt,gn,En="prev",In="next",qn="children",er="parent";if(dt==="inline"&&Bt===ut)return{inlineTrigger:!0};var pr=(Ot={},(0,L.Z)(Ot,$e,En),(0,L.Z)(Ot,lt,In),Ot),Cn=(Yt={},(0,L.Z)(Yt,Oe,Lt?In:En),(0,L.Z)(Yt,Ie,Lt?En:In),(0,L.Z)(Yt,lt,qn),(0,L.Z)(Yt,ut,qn),Yt),An=(Gt={},(0,L.Z)(Gt,$e,En),(0,L.Z)(Gt,lt,In),(0,L.Z)(Gt,ut,qn),(0,L.Z)(Gt,it,er),(0,L.Z)(Gt,Oe,Lt?qn:er),(0,L.Z)(Gt,Ie,Lt?er:qn),Gt),mr={inline:pr,horizontal:Cn,vertical:An,inlineSub:pr,horizontalSub:An,verticalSub:An},Vn=(gn=mr["".concat(dt).concat(yt?"":"Sub")])===null||gn===void 0?void 0:gn[Bt];switch(Vn){case En:return{offset:-1,sibling:!0};case In:return{offset:1,sibling:!0};case er:return{offset:-1,sibling:!1};case qn:return{offset:1,sibling:!1};default:return null}}function Zt(dt){for(var yt=dt;yt;){if(yt.getAttribute("data-menu-list"))return yt;yt=yt.parentElement}return null}function ot(dt,yt){for(var Lt=dt||document.activeElement;Lt;){if(yt.has(Lt))return Lt;Lt=Lt.parentElement}return null}function se(dt,yt){var Lt=Q(dt,!0);return Lt.filter(function(Bt){return yt.has(Bt)})}function be(dt,yt,Lt){var Bt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!dt)return null;var Ot=se(dt,yt),Yt=Ot.length,Gt=Ot.findIndex(function(gn){return Lt===gn});return Bt<0?Gt===-1?Gt=Yt-1:Gt-=1:Bt>0&&(Gt+=1),Gt=(Gt+Yt)%Yt,Ot[Gt]}var H=function(yt,Lt){var Bt=new Set,Ot=new Map,Yt=new Map;return yt.forEach(function(Gt){var gn=document.querySelector("[data-menu-id='".concat(P(Lt,Gt),"']"));gn&&(Bt.add(gn),Yt.set(gn,Gt),Ot.set(Gt,gn))}),{elements:Bt,key2element:Ot,element2key:Yt}};function O(dt,yt,Lt,Bt,Ot,Yt,Gt,gn,En,In){var qn=u.useRef(),er=u.useRef();er.current=yt;var pr=function(){Le.Z.cancel(qn.current)};return u.useEffect(function(){return function(){pr()}},[]),function(Cn){var An=Cn.which;if([].concat(rn,[ut,it,Pt,Jt]).includes(An)){var mr=Yt(),Vn=H(mr,Bt),Dr=Vn,tr=Dr.elements,dr=Dr.key2element,vr=Dr.element2key,nr=dr.get(yt),Ir=ot(nr,tr),$r=vr.get(Ir),Jn=It(dt,Gt($r,!0).length===1,Lt,An);if(!Jn&&An!==Pt&&An!==Jt)return;(rn.includes(An)||[Pt,Jt].includes(An))&&Cn.preventDefault();var Fn=function(Sr){if(Sr){var Mr=Sr,Gr=Sr.querySelector("a");Gr!=null&&Gr.getAttribute("href")&&(Mr=Gr);var On=vr.get(Sr);gn(On),pr(),qn.current=(0,Le.Z)(function(){er.current===On&&Mr.focus()})}};if([Pt,Jt].includes(An)||Jn.sibling||!Ir){var at;!Ir||dt==="inline"?at=Ot.current:at=Zt(Ir);var zn,sr=se(at,tr);An===Pt?zn=sr[0]:An===Jt?zn=sr[sr.length-1]:zn=be(at,tr,Ir,Jn.offset),Fn(zn)}else if(Jn.inlineTrigger)En($r);else if(Jn.offset>0)En($r,!0),pr(),qn.current=(0,Le.Z)(function(){Vn=H(mr,Bt);var jr=Ir.getAttribute("aria-controls"),Sr=document.getElementById(jr),Mr=be(Sr,Vn.elements);Fn(Mr)},5);else if(Jn.offset<0){var wr=Gt($r,!0),Cr=wr[wr.length-2],Nr=dr.get(Cr);En(Cr,!1),Fn(Nr)}}In==null||In(Cn)}}function xe(dt){Promise.resolve().then(dt)}var k="__RC_UTIL_PATH_SPLIT__",E=function(yt){return yt.join(k)},T=function(yt){return yt.split(k)},X="rc-menu-more";function Z(){var dt=u.useState({}),yt=(0,$.Z)(dt,2),Lt=yt[1],Bt=(0,u.useRef)(new Map),Ot=(0,u.useRef)(new Map),Yt=u.useState([]),Gt=(0,$.Z)(Yt,2),gn=Gt[0],En=Gt[1],In=(0,u.useRef)(0),qn=(0,u.useRef)(!1),er=function(){qn.current||Lt({})},pr=(0,u.useCallback)(function(dr,vr){var nr=E(vr);Ot.current.set(nr,dr),Bt.current.set(dr,nr),In.current+=1;var Ir=In.current;xe(function(){Ir===In.current&&er()})},[]),Cn=(0,u.useCallback)(function(dr,vr){var nr=E(vr);Ot.current.delete(nr),Bt.current.delete(dr)},[]),An=(0,u.useCallback)(function(dr){En(dr)},[]),mr=(0,u.useCallback)(function(dr,vr){var nr=Bt.current.get(dr)||"",Ir=T(nr);return vr&&gn.includes(Ir[0])&&Ir.unshift(X),Ir},[gn]),Vn=(0,u.useCallback)(function(dr,vr){return dr.some(function(nr){var Ir=mr(nr,!0);return Ir.includes(vr)})},[mr]),Dr=function(){var vr=(0,Ee.Z)(Bt.current.keys());return gn.length&&vr.push(X),vr},tr=(0,u.useCallback)(function(dr){var vr="".concat(Bt.current.get(dr)).concat(k),nr=new Set;return(0,Ee.Z)(Ot.current.keys()).forEach(function(Ir){Ir.startsWith(vr)&&nr.add(Ot.current.get(Ir))}),nr},[]);return u.useEffect(function(){return function(){qn.current=!0}},[]),{registerPath:pr,unregisterPath:Cn,refreshOverflowKeys:An,isSubPathKey:Vn,getKeyPath:mr,getKeys:Dr,getSubPathKeys:tr}}function K(dt){var yt=u.useRef(dt);yt.current=dt;var Lt=u.useCallback(function(){for(var Bt,Ot=arguments.length,Yt=new Array(Ot),Gt=0;Gt<Ot;Gt++)Yt[Gt]=arguments[Gt];return(Bt=yt.current)===null||Bt===void 0?void 0:Bt.call.apply(Bt,[yt].concat(Yt))},[]);return dt?Lt:void 0}var we=Math.random().toFixed(5).toString().slice(2),Ke=0;function ke(dt){var yt=(0,I.Z)(dt,{value:dt}),Lt=(0,$.Z)(yt,2),Bt=Lt[0],Ot=Lt[1];return u.useEffect(function(){Ke+=1;var Yt="".concat(we,"-").concat(Ke);Ot("rc-menu-uuid-".concat(Yt))},[]),Bt}var Te=f(6909),Ye=f(4771),et=f(9427),je=f(25440),vt=f(2738),bt=f(8654);function ht(dt,yt,Lt,Bt){var Ot=u.useContext(ne),Yt=Ot.activeKey,Gt=Ot.onActive,gn=Ot.onInactive,En={active:Yt===dt};return yt||(En.onMouseEnter=function(In){Lt==null||Lt({key:dt,domEvent:In}),Gt(dt)},En.onMouseLeave=function(In){Bt==null||Bt({key:dt,domEvent:In}),gn(dt)}),En}function Nt(dt){var yt=u.useContext(ne),Lt=yt.mode,Bt=yt.rtl,Ot=yt.inlineIndent;if(Lt!=="inline")return null;var Yt=dt;return Bt?{paddingRight:Yt*Ot}:{paddingLeft:Yt*Ot}}function _t(dt){var yt=dt.icon,Lt=dt.props,Bt=dt.children,Ot;return yt===null||yt===!1?null:(typeof yt=="function"?Ot=u.createElement(yt,(0,ee.Z)({},Lt)):typeof yt!="boolean"&&(Ot=yt),Ot||Bt||null)}var w=["item"];function D(dt){var yt=dt.item,Lt=(0,q.Z)(dt,w);return Object.defineProperty(Lt,"item",{get:function(){return(0,S.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),yt}}),Lt}var St=["title","attribute","elementRef"],ue=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Be=["active"],pn=function(dt){(0,et.Z)(Lt,dt);var yt=(0,je.Z)(Lt);function Lt(){return(0,Te.Z)(this,Lt),yt.apply(this,arguments)}return(0,Ye.Z)(Lt,[{key:"render",value:function(){var Ot=this.props,Yt=Ot.title,Gt=Ot.attribute,gn=Ot.elementRef,En=(0,q.Z)(Ot,St),In=(0,vt.Z)(En,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,S.ZP)(!Gt,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u.createElement(a.Z.Item,(0,y.Z)({},Gt,{title:typeof Yt=="string"?Yt:void 0},In,{ref:gn}))}}]),Lt}(u.Component),Ve=u.forwardRef(function(dt,yt){var Lt,Bt=dt.style,Ot=dt.className,Yt=dt.eventKey,Gt=dt.warnKey,gn=dt.disabled,En=dt.itemIcon,In=dt.children,qn=dt.role,er=dt.onMouseEnter,pr=dt.onMouseLeave,Cn=dt.onClick,An=dt.onKeyDown,mr=dt.onFocus,Vn=(0,q.Z)(dt,ue),Dr=ce(Yt),tr=u.useContext(ne),dr=tr.prefixCls,vr=tr.onItemClick,nr=tr.disabled,Ir=tr.overflowDisabled,$r=tr.itemIcon,Jn=tr.selectedKeys,Fn=tr.onActive,at=u.useContext(te),zn=at._internalRenderMenuItem,sr="".concat(dr,"-item"),wr=u.useRef(),Cr=u.useRef(),Nr=nr||gn,jr=(0,bt.x1)(yt,Cr),Sr=me(Yt),Mr=function(ti){return{key:Yt,keyPath:(0,Ee.Z)(Sr).reverse(),item:wr.current,domEvent:ti}},Gr=En||$r,On=ht(Yt,Nr,er,pr),Kn=On.active,gr=(0,q.Z)(On,Be),Lr=Jn.includes(Yt),Xr=Nt(Sr.length),jn=function(ti){if(!Nr){var vi=Mr(ti);Cn==null||Cn(D(vi)),vr(vi)}},zr=function(ti){if(An==null||An(ti),ti.which===J.Z.ENTER){var vi=Mr(ti);Cn==null||Cn(D(vi)),vr(vi)}},Vr=function(ti){Fn(Yt),mr==null||mr(ti)},fi={};dt.role==="option"&&(fi["aria-selected"]=Lr);var ki=u.createElement(pn,(0,y.Z)({ref:wr,elementRef:jr,role:qn===null?"none":qn||"menuitem",tabIndex:gn?null:-1,"data-menu-id":Ir&&Dr?null:Dr},Vn,gr,fi,{component:"li","aria-disabled":gn,style:(0,ee.Z)((0,ee.Z)({},Xr),Bt),className:Se()(sr,(Lt={},(0,L.Z)(Lt,"".concat(sr,"-active"),Kn),(0,L.Z)(Lt,"".concat(sr,"-selected"),Lr),(0,L.Z)(Lt,"".concat(sr,"-disabled"),Nr),Lt),Ot),onClick:jn,onKeyDown:zr,onFocus:Vr}),In,u.createElement(_t,{props:(0,ee.Z)((0,ee.Z)({},dt),{},{isSelected:Lr}),icon:Gr}));return zn&&(ki=zn(ki,dt,{selected:Lr})),ki});function nt(dt,yt){var Lt=dt.eventKey,Bt=j(),Ot=me(Lt);return u.useEffect(function(){if(Bt)return Bt.registerPath(Lt,Ot),function(){Bt.unregisterPath(Lt,Ot)}},[Ot]),Bt?null:u.createElement(Ve,(0,y.Z)({},dt,{ref:yt}))}var Je=u.forwardRef(nt),Ae=["className","children"],De=function(yt,Lt){var Bt=yt.className,Ot=yt.children,Yt=(0,q.Z)(yt,Ae),Gt=u.useContext(ne),gn=Gt.prefixCls,En=Gt.mode,In=Gt.rtl;return u.createElement("ul",(0,y.Z)({className:Se()(gn,In&&"".concat(gn,"-rtl"),"".concat(gn,"-sub"),"".concat(gn,"-").concat(En==="inline"?"inline":"vertical"),Bt),role:"menu"},Yt,{"data-menu-list":!0,ref:Lt}),Ot)},ze=u.forwardRef(De);ze.displayName="SubMenuList";var qe=ze,ve=f(11592);function an(dt,yt){return(0,ve.Z)(dt).map(function(Lt,Bt){if(u.isValidElement(Lt)){var Ot,Yt,Gt=Lt.key,gn=(Ot=(Yt=Lt.props)===null||Yt===void 0?void 0:Yt.eventKey)!==null&&Ot!==void 0?Ot:Gt,En=gn==null;En&&(gn="tmp_key-".concat([].concat((0,Ee.Z)(yt),[Bt]).join("-")));var In={key:gn,eventKey:gn};return u.cloneElement(Lt,In)}return Lt})}var Ge=f(35593),mn={adjustX:1,adjustY:1},_n={topLeft:{points:["bl","tl"],overflow:mn},topRight:{points:["br","tr"],overflow:mn},bottomLeft:{points:["tl","bl"],overflow:mn},bottomRight:{points:["tr","br"],overflow:mn},leftTop:{points:["tr","tl"],overflow:mn},leftBottom:{points:["br","bl"],overflow:mn},rightTop:{points:["tl","tr"],overflow:mn},rightBottom:{points:["bl","br"],overflow:mn}},jt={topLeft:{points:["bl","tl"],overflow:mn},topRight:{points:["br","tr"],overflow:mn},bottomLeft:{points:["tl","bl"],overflow:mn},bottomRight:{points:["tr","br"],overflow:mn},rightTop:{points:["tr","tl"],overflow:mn},rightBottom:{points:["br","bl"],overflow:mn},leftTop:{points:["tl","tr"],overflow:mn},leftBottom:{points:["bl","br"],overflow:mn}},Xt=null;function Rt(dt,yt,Lt){if(yt)return yt;if(Lt)return Lt[dt]||Lt.other}var Ft={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Ze(dt){var yt=dt.prefixCls,Lt=dt.visible,Bt=dt.children,Ot=dt.popup,Yt=dt.popupStyle,Gt=dt.popupClassName,gn=dt.popupOffset,En=dt.disabled,In=dt.mode,qn=dt.onVisibleChange,er=u.useContext(ne),pr=er.getPopupContainer,Cn=er.rtl,An=er.subMenuOpenDelay,mr=er.subMenuCloseDelay,Vn=er.builtinPlacements,Dr=er.triggerSubMenuAction,tr=er.forceSubMenuRender,dr=er.rootClassName,vr=er.motion,nr=er.defaultMotions,Ir=u.useState(!1),$r=(0,$.Z)(Ir,2),Jn=$r[0],Fn=$r[1],at=Cn?(0,ee.Z)((0,ee.Z)({},jt),Vn):(0,ee.Z)((0,ee.Z)({},_n),Vn),zn=Ft[In],sr=Rt(In,vr,nr),wr=u.useRef(sr);In!=="inline"&&(wr.current=sr);var Cr=(0,ee.Z)((0,ee.Z)({},wr.current),{},{leavedClassName:"".concat(yt,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Nr=u.useRef();return u.useEffect(function(){return Nr.current=(0,Le.Z)(function(){Fn(Lt)}),function(){Le.Z.cancel(Nr.current)}},[Lt]),u.createElement(Ge.Z,{prefixCls:yt,popupClassName:Se()("".concat(yt,"-popup"),(0,L.Z)({},"".concat(yt,"-rtl"),Cn),Gt,dr),stretch:In==="horizontal"?"minWidth":null,getPopupContainer:pr,builtinPlacements:at,popupPlacement:zn,popupVisible:Jn,popup:Ot,popupStyle:Yt,popupAlign:gn&&{offset:gn},action:En?[]:[Dr],mouseEnterDelay:An,mouseLeaveDelay:mr,onPopupVisibleChange:qn,forceRender:tr,popupMotion:Cr,fresh:!0},Bt)}var Et=f(77900);function xt(dt){var yt=dt.id,Lt=dt.open,Bt=dt.keyPath,Ot=dt.children,Yt="inline",Gt=u.useContext(ne),gn=Gt.prefixCls,En=Gt.forceSubMenuRender,In=Gt.motion,qn=Gt.defaultMotions,er=Gt.mode,pr=u.useRef(!1);pr.current=er===Yt;var Cn=u.useState(!pr.current),An=(0,$.Z)(Cn,2),mr=An[0],Vn=An[1],Dr=pr.current?Lt:!1;u.useEffect(function(){pr.current&&Vn(!1)},[er]);var tr=(0,ee.Z)({},Rt(Yt,In,qn));Bt.length>1&&(tr.motionAppear=!1);var dr=tr.onVisibleChanged;return tr.onVisibleChanged=function(vr){return!pr.current&&!vr&&Vn(!0),dr==null?void 0:dr(vr)},mr?null:u.createElement(b,{mode:Yt,locked:!pr.current},u.createElement(Et.default,(0,y.Z)({visible:Dr},tr,{forceRender:En,removeOnLeave:!1,leavedClassName:"".concat(gn,"-hidden")}),function(vr){var nr=vr.className,Ir=vr.style;return u.createElement(qe,{id:yt,className:nr,style:Ir},Ot)}))}var Ne=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Ce=["active"],mt=function(yt){var Lt,Bt=yt.style,Ot=yt.className,Yt=yt.title,Gt=yt.eventKey,gn=yt.warnKey,En=yt.disabled,In=yt.internalPopupClose,qn=yt.children,er=yt.itemIcon,pr=yt.expandIcon,Cn=yt.popupClassName,An=yt.popupOffset,mr=yt.popupStyle,Vn=yt.onClick,Dr=yt.onMouseEnter,tr=yt.onMouseLeave,dr=yt.onTitleClick,vr=yt.onTitleMouseEnter,nr=yt.onTitleMouseLeave,Ir=(0,q.Z)(yt,Ne),$r=ce(Gt),Jn=u.useContext(ne),Fn=Jn.prefixCls,at=Jn.mode,zn=Jn.openKeys,sr=Jn.disabled,wr=Jn.overflowDisabled,Cr=Jn.activeKey,Nr=Jn.selectedKeys,jr=Jn.itemIcon,Sr=Jn.expandIcon,Mr=Jn.onItemClick,Gr=Jn.onOpenChange,On=Jn.onActive,Kn=u.useContext(te),gr=Kn._internalRenderSubMenuItem,Lr=u.useContext(fe),Xr=Lr.isSubPathKey,jn=me(),zr="".concat(Fn,"-submenu"),Vr=sr||En,fi=u.useRef(),ki=u.useRef(),Ai=er!=null?er:jr,ti=pr!=null?pr:Sr,vi=zn.includes(Gt),li=!wr&&vi,Di=Xr(Nr,Gt),Fi=ht(Gt,Vr,vr,nr),Vi=Fi.active,Ri=(0,q.Z)(Fi,Ce),Zi=u.useState(!1),Kr=(0,$.Z)(Zi,2),aa=Kr[0],ga=Kr[1],ua=function(Ii){Vr||ga(Ii)},yi=function(Ii){ua(!0),Dr==null||Dr({key:Gt,domEvent:Ii})},ca=function(Ii){ua(!1),tr==null||tr({key:Gt,domEvent:Ii})},_a=u.useMemo(function(){return Vi||(at!=="inline"?aa||Xr([Cr],Gt):!1)},[at,Vi,Cr,aa,Gt,Xr]),Pn=Nt(jn.length),Ni=function(Ii){Vr||(dr==null||dr({key:Gt,domEvent:Ii}),at==="inline"&&Gr(Gt,!vi))},na=K(function(bi){Vn==null||Vn(D(bi)),Mr(bi)}),or=function(Ii){at!=="inline"&&Gr(Gt,Ii)},xr=function(){On(Gt)},lr=$r&&"".concat($r,"-popup"),Gn=u.createElement("div",(0,y.Z)({role:"menuitem",style:Pn,className:"".concat(zr,"-title"),tabIndex:Vr?null:-1,ref:fi,title:typeof Yt=="string"?Yt:null,"data-menu-id":wr&&$r?null:$r,"aria-expanded":li,"aria-haspopup":!0,"aria-controls":lr,"aria-disabled":Vr,onClick:Ni,onFocus:xr},Ri),Yt,u.createElement(_t,{icon:at!=="horizontal"?ti:void 0,props:(0,ee.Z)((0,ee.Z)({},yt),{},{isOpen:li,isSubMenu:!0})},u.createElement("i",{className:"".concat(zr,"-arrow")}))),Pr=u.useRef(at);if(at!=="inline"&&jn.length>1?Pr.current="vertical":Pr.current=at,!wr){var Qr=Pr.current;Gn=u.createElement(Ze,{mode:Qr,prefixCls:zr,visible:!In&&li&&at!=="inline",popupClassName:Cn,popupOffset:An,popupStyle:mr,popup:u.createElement(b,{mode:Qr==="horizontal"?"vertical":Qr},u.createElement(qe,{id:lr,ref:ki},qn)),disabled:Vr,onVisibleChange:or},Gn)}var Pi=u.createElement(a.Z.Item,(0,y.Z)({role:"none"},Ir,{component:"li",style:Bt,className:Se()(zr,"".concat(zr,"-").concat(at),Ot,(Lt={},(0,L.Z)(Lt,"".concat(zr,"-open"),li),(0,L.Z)(Lt,"".concat(zr,"-active"),_a),(0,L.Z)(Lt,"".concat(zr,"-selected"),Di),(0,L.Z)(Lt,"".concat(zr,"-disabled"),Vr),Lt)),onMouseEnter:yi,onMouseLeave:ca}),Gn,!wr&&u.createElement(xt,{id:lr,open:li,keyPath:jn},qn));return gr&&(Pi=gr(Pi,yt,{selected:Di,active:_a,open:li,disabled:Vr})),u.createElement(b,{onItemClick:na,mode:at==="horizontal"?"vertical":at,itemIcon:Ai,expandIcon:ti},Pi)};function pt(dt){var yt=dt.eventKey,Lt=dt.children,Bt=me(yt),Ot=an(Lt,Bt),Yt=j();u.useEffect(function(){if(Yt)return Yt.registerPath(yt,Bt),function(){Yt.unregisterPath(yt,Bt)}},[Bt]);var Gt;return Yt?Gt=Ot:Gt=u.createElement(mt,dt,Ot),u.createElement(pe.Provider,{value:Bt},Gt)}var Dt=f(39559),Ht=["className","title","eventKey","children"],nn=["children"],Kt=function(yt){var Lt=yt.className,Bt=yt.title,Ot=yt.eventKey,Yt=yt.children,Gt=(0,q.Z)(yt,Ht),gn=u.useContext(ne),En=gn.prefixCls,In="".concat(En,"-item-group");return u.createElement("li",(0,y.Z)({role:"presentation"},Gt,{onClick:function(er){return er.stopPropagation()},className:Se()(In,Lt)}),u.createElement("div",{role:"presentation",className:"".concat(In,"-title"),title:typeof Bt=="string"?Bt:void 0},Bt),u.createElement("ul",{role:"group",className:"".concat(In,"-list")},Yt))};function sn(dt){var yt=dt.children,Lt=(0,q.Z)(dt,nn),Bt=me(Lt.eventKey),Ot=an(yt,Bt),Yt=j();return Yt?Ot:u.createElement(Kt,(0,vt.Z)(Lt,["warnKey"]),Ot)}function un(dt){var yt=dt.className,Lt=dt.style,Bt=u.useContext(ne),Ot=Bt.prefixCls,Yt=j();return Yt?null:u.createElement("li",{role:"separator",className:Se()("".concat(Ot,"-item-divider"),yt),style:Lt})}var Ut=["label","children","key","type"];function kt(dt){return(dt||[]).map(function(yt,Lt){if(yt&&(0,Dt.Z)(yt)==="object"){var Bt=yt,Ot=Bt.label,Yt=Bt.children,Gt=Bt.key,gn=Bt.type,En=(0,q.Z)(Bt,Ut),In=Gt!=null?Gt:"tmp-".concat(Lt);return Yt||gn==="group"?gn==="group"?u.createElement(sn,(0,y.Z)({key:In},En,{title:Ot}),kt(Yt)):u.createElement(pt,(0,y.Z)({key:In},En,{title:Ot}),kt(Yt)):gn==="divider"?u.createElement(un,(0,y.Z)({key:In},En)):u.createElement(Je,(0,y.Z)({key:In},En),Ot)}return null}).filter(function(yt){return yt})}function ln(dt,yt,Lt){var Bt=dt;return yt&&(Bt=kt(yt)),an(Bt,Lt)}var dn=["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"],hn=[],wn=u.forwardRef(function(dt,yt){var Lt,Bt,Ot=dt,Yt=Ot.prefixCls,Gt=Yt===void 0?"rc-menu":Yt,gn=Ot.rootClassName,En=Ot.style,In=Ot.className,qn=Ot.tabIndex,er=qn===void 0?0:qn,pr=Ot.items,Cn=Ot.children,An=Ot.direction,mr=Ot.id,Vn=Ot.mode,Dr=Vn===void 0?"vertical":Vn,tr=Ot.inlineCollapsed,dr=Ot.disabled,vr=Ot.disabledOverflow,nr=Ot.subMenuOpenDelay,Ir=nr===void 0?.1:nr,$r=Ot.subMenuCloseDelay,Jn=$r===void 0?.1:$r,Fn=Ot.forceSubMenuRender,at=Ot.defaultOpenKeys,zn=Ot.openKeys,sr=Ot.activeKey,wr=Ot.defaultActiveFirst,Cr=Ot.selectable,Nr=Cr===void 0?!0:Cr,jr=Ot.multiple,Sr=jr===void 0?!1:jr,Mr=Ot.defaultSelectedKeys,Gr=Ot.selectedKeys,On=Ot.onSelect,Kn=Ot.onDeselect,gr=Ot.inlineIndent,Lr=gr===void 0?24:gr,Xr=Ot.motion,jn=Ot.defaultMotions,zr=Ot.triggerSubMenuAction,Vr=zr===void 0?"hover":zr,fi=Ot.builtinPlacements,ki=Ot.itemIcon,Ai=Ot.expandIcon,ti=Ot.overflowedIndicator,vi=ti===void 0?"...":ti,li=Ot.overflowedIndicatorPopupClassName,Di=Ot.getPopupContainer,Fi=Ot.onClick,Vi=Ot.onOpenChange,Ri=Ot.onKeyDown,Zi=Ot.openAnimation,Kr=Ot.openTransitionName,aa=Ot._internalRenderMenuItem,ga=Ot._internalRenderSubMenuItem,ua=(0,q.Z)(Ot,dn),yi=u.useMemo(function(){return ln(Cn,pr,hn)},[Cn,pr]),ca=u.useState(!1),_a=(0,$.Z)(ca,2),Pn=_a[0],Ni=_a[1],na=u.useRef(),or=ke(mr),xr=An==="rtl",lr=(0,I.Z)(at,{value:zn,postState:function(Ei){return Ei||hn}}),Gn=(0,$.Z)(lr,2),Pr=Gn[0],Qr=Gn[1],Pi=function(Ei){var gi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Ji(){Qr(Ei),Vi==null||Vi(Ei)}gi?(0,x.flushSync)(Ji):Ji()},bi=u.useState(Pr),Ii=(0,$.Z)(bi,2),Ui=Ii[0],va=Ii[1],wa=u.useRef(!1),Wa=u.useMemo(function(){return(Dr==="inline"||Dr==="vertical")&&tr?["vertical",tr]:[Dr,!1]},[Dr,tr]),da=(0,$.Z)(Wa,2),fa=da[0],ur=da[1],ar=fa==="inline",Jr=u.useState(fa),Ki=(0,$.Z)(Jr,2),ui=Ki[0],sa=Ki[1],Va=u.useState(ur),Ha=(0,$.Z)(Va,2),ya=Ha[0],as=Ha[1];u.useEffect(function(){sa(fa),as(ur),wa.current&&(ar?Qr(Ui):Pi(hn))},[fa,ur]);var ss=u.useState(0),os=(0,$.Z)(ss,2),ts=os[0],ls=os[1],Ta=ts>=yi.length-1||ui!=="horizontal"||vr;u.useEffect(function(){ar&&va(Pr)},[Pr]),u.useEffect(function(){return wa.current=!0,function(){wa.current=!1}},[]);var Qi=Z(),us=Qi.registerPath,ns=Qi.unregisterPath,ba=Qi.refreshOverflowKeys,Sa=Qi.isSubPathKey,ni=Qi.getKeyPath,Ur=Qi.getKeys,ia=Qi.getSubPathKeys,zi=u.useMemo(function(){return{registerPath:us,unregisterPath:ns}},[us,ns]),Oi=u.useMemo(function(){return{isSubPathKey:Sa}},[Sa]);u.useEffect(function(){ba(Ta?hn:yi.slice(ts+1).map(function(Ci){return Ci.key}))},[ts,Ta]);var oa=(0,I.Z)(sr||wr&&((Lt=yi[0])===null||Lt===void 0?void 0:Lt.key),{value:sr}),mi=(0,$.Z)(oa,2),Ia=mi[0],la=mi[1],ka=K(function(Ci){la(Ci)}),Ba=K(function(){la(void 0)});(0,u.useImperativeHandle)(yt,function(){return{list:na.current,focus:function(Ei){var gi,Ji=Ur(),Xi=H(Ji,or),fs=Xi.elements,Ja=Xi.key2element,hs=Xi.element2key,ks=se(na.current,fs),ps=Ia!=null?Ia:ks[0]?hs.get(ks[0]):(gi=yi.find(function(Ts){return!Ts.props.disabled}))===null||gi===void 0?void 0:gi.key,ms=Ja.get(ps);if(ps&&ms){var Rn;ms==null||(Rn=ms.focus)===null||Rn===void 0||Rn.call(ms,Ei)}}}});var wi=(0,I.Z)(Mr||[],{value:Gr,postState:function(Ei){return Array.isArray(Ei)?Ei:Ei==null?hn:[Ei]}}),vs=(0,$.Z)(wi,2),Ca=vs[0],Za=vs[1],Cs=function(Ei){if(Nr){var gi=Ei.key,Ji=Ca.includes(gi),Xi;Sr?Ji?Xi=Ca.filter(function(Ja){return Ja!==gi}):Xi=[].concat((0,Ee.Z)(Ca),[gi]):Xi=[gi],Za(Xi);var fs=(0,ee.Z)((0,ee.Z)({},Ei),{},{selectedKeys:Xi});Ji?Kn==null||Kn(fs):On==null||On(fs)}!Sr&&Pr.length&&ui!=="inline"&&Pi(hn)},Qa=K(function(Ci){Fi==null||Fi(D(Ci)),Cs(Ci)}),cs=K(function(Ci,Ei){var gi=Pr.filter(function(Xi){return Xi!==Ci});if(Ei)gi.push(Ci);else if(ui!=="inline"){var Ji=ia(Ci);gi=gi.filter(function(Xi){return!Ji.has(Xi)})}(0,z.Z)(Pr,gi,!0)||Pi(gi,!0)}),ys=function(Ei,gi){var Ji=gi!=null?gi:!Pr.includes(Ei);cs(Ei,Ji)},ds=O(ui,Ia,xr,or,na,Ur,ni,la,ys,Ri);u.useEffect(function(){Ni(!0)},[]);var Rs=u.useMemo(function(){return{_internalRenderMenuItem:aa,_internalRenderSubMenuItem:ga}},[aa,ga]),Oa=ui!=="horizontal"||vr?yi:yi.map(function(Ci,Ei){return u.createElement(b,{key:Ci.key,overflowDisabled:Ei>ts},Ci)}),bs=u.createElement(a.Z,(0,y.Z)({id:mr,ref:na,prefixCls:"".concat(Gt,"-overflow"),component:"ul",itemComponent:Je,className:Se()(Gt,"".concat(Gt,"-root"),"".concat(Gt,"-").concat(ui),In,(Bt={},(0,L.Z)(Bt,"".concat(Gt,"-inline-collapsed"),ya),(0,L.Z)(Bt,"".concat(Gt,"-rtl"),xr),Bt),gn),dir:An,style:En,role:"menu",tabIndex:er,data:Oa,renderRawItem:function(Ei){return Ei},renderRawRest:function(Ei){var gi=Ei.length,Ji=gi?yi.slice(-gi):null;return u.createElement(pt,{eventKey:X,title:vi,disabled:Ta,internalPopupClose:gi===0,popupClassName:li},Ji)},maxCount:ui!=="horizontal"||vr?a.Z.INVALIDATE:a.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ei){ls(Ei)},onKeyDown:ds},ua));return u.createElement(te.Provider,{value:Rs},u.createElement(m.Provider,{value:or},u.createElement(b,{prefixCls:Gt,rootClassName:gn,mode:ui,openKeys:Pr,rtl:xr,disabled:dr,motion:Pn?Xr:null,defaultMotions:Pn?jn:null,activeKey:Ia,onActive:ka,onInactive:Ba,selectedKeys:Ca,inlineIndent:Lr,subMenuOpenDelay:Ir,subMenuCloseDelay:Jn,forceSubMenuRender:Fn,builtinPlacements:fi,triggerSubMenuAction:Vr,getPopupContainer:Di,itemIcon:ki,expandIcon:Ai,onItemClick:Qa,onOpenChange:cs},u.createElement(fe.Provider,{value:Oi},bs),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(G.Provider,{value:zi},yi)))))}),Xn=wn,Nn=Xn;Nn.Item=Je,Nn.SubMenu=pt,Nn.ItemGroup=sn,Nn.Divider=un;var en=Nn},11780:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return ie}});var y=f(92413),L=f(33708),ee=f(33606),Ee=f(37061),$=f(59301),q=f(92310),C=f.n(q),Se=f(29301),a=f(34280),I=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],z=void 0;function S(v,_){var V=v.prefixCls,J=v.invalidate,Le=v.item,Oe=v.renderItem,Ie=v.responsive,$e=v.responsiveDisabled,lt=v.registerSize,ut=v.itemKey,it=v.className,Pt=v.style,Jt=v.children,rn=v.display,It=v.order,Zt=v.component,ot=Zt===void 0?"div":Zt,se=(0,Ee.Z)(v,I),be=Ie&&!rn;function H(T){lt(ut,T)}$.useEffect(function(){return function(){H(null)}},[]);var O=Oe&&Le!==z?Oe(Le,{index:It}):Jt,xe;J||(xe={opacity:be?0:1,height:be?0:z,overflowY:be?"hidden":z,order:Ie?It:z,pointerEvents:be?"none":z,position:be?"absolute":z});var k={};be&&(k["aria-hidden"]=!0);var E=$.createElement(ot,(0,y.Z)({className:C()(!J&&V,it),style:(0,L.Z)((0,L.Z)({},xe),Pt)},k,se,{ref:_}),O);return Ie&&(E=$.createElement(Se.Z,{onResize:function(X){var Z=X.offsetWidth;H(Z)},disabled:$e},E)),E}var u=$.forwardRef(S);u.displayName="Item";var x=u,m=f(6089),P=f(4676),ce=f(16089);function U(v){if(typeof MessageChannel=="undefined")(0,ce.Z)(v);else{var _=new MessageChannel;_.port1.onmessage=function(){return v()},_.port2.postMessage(void 0)}}function W(){var v=$.useRef(null),_=function(J){v.current||(v.current=[],U(function(){(0,P.unstable_batchedUpdates)(function(){v.current.forEach(function(Le){Le()}),v.current=null})})),v.current.push(J)};return _}function ne(v,_){var V=$.useState(_),J=(0,ee.Z)(V,2),Le=J[0],Oe=J[1],Ie=(0,m.Z)(function($e){v(function(){Oe($e)})});return[Le,Ie]}var Y=$.createContext(null),b=["component"],R=["className"],G=["className"],j=function(_,V){var J=$.useContext(Y);if(!J){var Le=_.component,Oe=Le===void 0?"div":Le,Ie=(0,Ee.Z)(_,b);return $.createElement(Oe,(0,y.Z)({},Ie,{ref:V}))}var $e=J.className,lt=(0,Ee.Z)(J,R),ut=_.className,it=(0,Ee.Z)(_,G);return $.createElement(Y.Provider,{value:null},$.createElement(x,(0,y.Z)({ref:V,className:C()($e,ut)},lt,it)))},pe=$.forwardRef(j);pe.displayName="RawItem";var me=pe,fe=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ae="responsive",te="invalidate";function M(v){return"+ ".concat(v.length," ...")}function he(v,_){var V=v.prefixCls,J=V===void 0?"rc-overflow":V,Le=v.data,Oe=Le===void 0?[]:Le,Ie=v.renderItem,$e=v.renderRawItem,lt=v.itemKey,ut=v.itemWidth,it=ut===void 0?10:ut,Pt=v.ssr,Jt=v.style,rn=v.className,It=v.maxCount,Zt=v.renderRest,ot=v.renderRawRest,se=v.suffix,be=v.component,H=be===void 0?"div":be,O=v.itemComponent,xe=v.onVisibleChange,k=(0,Ee.Z)(v,fe),E=Pt==="full",T=W(),X=ne(T,null),Z=(0,ee.Z)(X,2),K=Z[0],we=Z[1],Ke=K||0,ke=ne(T,new Map),Te=(0,ee.Z)(ke,2),Ye=Te[0],et=Te[1],je=ne(T,0),vt=(0,ee.Z)(je,2),bt=vt[0],ht=vt[1],Nt=ne(T,0),_t=(0,ee.Z)(Nt,2),w=_t[0],D=_t[1],St=ne(T,0),ue=(0,ee.Z)(St,2),Be=ue[0],pn=ue[1],Ve=(0,$.useState)(null),nt=(0,ee.Z)(Ve,2),Je=nt[0],Ae=nt[1],De=(0,$.useState)(null),ze=(0,ee.Z)(De,2),qe=ze[0],ve=ze[1],an=$.useMemo(function(){return qe===null&&E?Number.MAX_SAFE_INTEGER:qe||0},[qe,K]),Ge=(0,$.useState)(!1),mn=(0,ee.Z)(Ge,2),_n=mn[0],jt=mn[1],Xt="".concat(J,"-item"),Rt=Math.max(bt,w),Ft=It===ae,Ze=Oe.length&&Ft,Et=It===te,xt=Ze||typeof It=="number"&&Oe.length>It,Ne=(0,$.useMemo)(function(){var en=Oe;return Ze?K===null&&E?en=Oe:en=Oe.slice(0,Math.min(Oe.length,Ke/it)):typeof It=="number"&&(en=Oe.slice(0,It)),en},[Oe,it,K,It,Ze]),Ce=(0,$.useMemo)(function(){return Ze?Oe.slice(an+1):Oe.slice(Ne.length)},[Oe,Ne,Ze,an]),mt=(0,$.useCallback)(function(en,dt){var yt;return typeof lt=="function"?lt(en):(yt=lt&&(en==null?void 0:en[lt]))!==null&&yt!==void 0?yt:dt},[lt]),pt=(0,$.useCallback)(Ie||function(en){return en},[Ie]);function Dt(en,dt,yt){qe===en&&(dt===void 0||dt===Je)||(ve(en),yt||(jt(en<Oe.length-1),xe==null||xe(en)),dt!==void 0&&Ae(dt))}function Ht(en,dt){we(dt.clientWidth)}function nn(en,dt){et(function(yt){var Lt=new Map(yt);return dt===null?Lt.delete(en):Lt.set(en,dt),Lt})}function Kt(en,dt){D(dt),ht(w)}function sn(en,dt){pn(dt)}function un(en){return Ye.get(mt(Ne[en],en))}(0,a.Z)(function(){if(Ke&&typeof Rt=="number"&&Ne){var en=Be,dt=Ne.length,yt=dt-1;if(!dt){Dt(0,null);return}for(var Lt=0;Lt<dt;Lt+=1){var Bt=un(Lt);if(E&&(Bt=Bt||0),Bt===void 0){Dt(Lt-1,void 0,!0);break}if(en+=Bt,yt===0&&en<=Ke||Lt===yt-1&&en+un(yt)<=Ke){Dt(yt,null);break}else if(en+Rt>Ke){Dt(Lt-1,en-Bt-Be+w);break}}se&&un(0)+Be>Ke&&Ae(null)}},[Ke,Ye,w,Be,mt,Ne]);var Ut=_n&&!!Ce.length,kt={};Je!==null&&Ze&&(kt={position:"absolute",left:Je,top:0});var ln={prefixCls:Xt,responsive:Ze,component:O,invalidate:Et},dn=$e?function(en,dt){var yt=mt(en,dt);return $.createElement(Y.Provider,{key:yt,value:(0,L.Z)((0,L.Z)({},ln),{},{order:dt,item:en,itemKey:yt,registerSize:nn,display:dt<=an})},$e(en,dt))}:function(en,dt){var yt=mt(en,dt);return $.createElement(x,(0,y.Z)({},ln,{order:dt,key:yt,item:en,renderItem:pt,itemKey:yt,registerSize:nn,display:dt<=an}))},hn={order:Ut?an:Number.MAX_SAFE_INTEGER,className:"".concat(Xt,"-rest"),registerSize:Kt,display:Ut},wn=Zt||M,Xn=ot?$.createElement(Y.Provider,{value:(0,L.Z)((0,L.Z)({},ln),hn)},ot(Ce)):$.createElement(x,(0,y.Z)({},ln,hn),typeof wn=="function"?wn(Ce):wn),Nn=$.createElement(H,(0,y.Z)({className:C()(!Et&&J,rn),style:Jt,ref:_},k),Ne.map(dn),xt?Xn:null,se&&$.createElement(x,(0,y.Z)({},ln,{responsive:Ft,responsiveDisabled:!Ze,order:an,className:"".concat(Xt,"-suffix"),registerSize:sn,display:!0,style:kt}),se));return Ft?$.createElement(Se.Z,{onResize:Ht,disabled:!Ze},Nn):Nn}var Q=$.forwardRef(he);Q.displayName="Overflow",Q.Item=me,Q.RESPONSIVE=ae,Q.INVALIDATE=te;var de=Q,ie=de},29301:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return te}});var y=f(92413),L=f(59301),ee=f(11592),Ee=f(48736),$=f(33708),q=f(39559),C=f(76846),Se=f(8654),a=L.createContext(null);function I(M){var he=M.children,Q=M.onBatchResize,de=L.useRef(0),ie=L.useRef([]),v=L.useContext(a),_=L.useCallback(function(V,J,Le){de.current+=1;var Oe=de.current;ie.current.push({size:V,element:J,data:Le}),Promise.resolve().then(function(){Oe===de.current&&(Q==null||Q(ie.current),ie.current=[])}),v==null||v(V,J,Le)},[Q,v]);return L.createElement(a.Provider,{value:_},he)}var z=f(76374),S=new Map;function u(M){M.forEach(function(he){var Q,de=he.target;(Q=S.get(de))===null||Q===void 0||Q.forEach(function(ie){return ie(de)})})}var x=new z.Z(u),m=null,P=null;function ce(M,he){S.has(M)||(S.set(M,new Set),x.observe(M)),S.get(M).add(he)}function U(M,he){S.has(M)&&(S.get(M).delete(he),S.get(M).size||(x.unobserve(M),S.delete(M)))}var W=f(6909),ne=f(4771),Y=f(9427),b=f(25440),R=function(M){(0,Y.Z)(Q,M);var he=(0,b.Z)(Q);function Q(){return(0,W.Z)(this,Q),he.apply(this,arguments)}return(0,ne.Z)(Q,[{key:"render",value:function(){return this.props.children}}]),Q}(L.Component);function G(M,he){var Q=M.children,de=M.disabled,ie=L.useRef(null),v=L.useRef(null),_=L.useContext(a),V=typeof Q=="function",J=V?Q(ie):Q,Le=L.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Oe=!V&&L.isValidElement(J)&&(0,Se.Yr)(J),Ie=Oe?(0,Se.C4)(J):null,$e=(0,Se.x1)(Ie,ie),lt=function(){var Jt;return(0,C.ZP)(ie.current)||(ie.current&&(0,q.Z)(ie.current)==="object"?(0,C.ZP)((Jt=ie.current)===null||Jt===void 0?void 0:Jt.nativeElement):null)||(0,C.ZP)(v.current)};L.useImperativeHandle(he,function(){return lt()});var ut=L.useRef(M);ut.current=M;var it=L.useCallback(function(Pt){var Jt=ut.current,rn=Jt.onResize,It=Jt.data,Zt=Pt.getBoundingClientRect(),ot=Zt.width,se=Zt.height,be=Pt.offsetWidth,H=Pt.offsetHeight,O=Math.floor(ot),xe=Math.floor(se);if(Le.current.width!==O||Le.current.height!==xe||Le.current.offsetWidth!==be||Le.current.offsetHeight!==H){var k={width:O,height:xe,offsetWidth:be,offsetHeight:H};Le.current=k;var E=be===Math.round(ot)?ot:be,T=H===Math.round(se)?se:H,X=(0,$.Z)((0,$.Z)({},k),{},{offsetWidth:E,offsetHeight:T});_==null||_(X,Pt,It),rn&&Promise.resolve().then(function(){rn(X,Pt)})}},[]);return L.useEffect(function(){var Pt=lt();return Pt&&!de&&ce(Pt,it),function(){return U(Pt,it)}},[ie.current,de]),L.createElement(R,{ref:v},Oe?L.cloneElement(J,{ref:$e}):J)}var j=L.forwardRef(G),pe=j,me="rc-observer-key";function fe(M,he){var Q=M.children,de=typeof Q=="function"?[Q]:(0,ee.Z)(Q);return de.map(function(ie,v){var _=(ie==null?void 0:ie.key)||"".concat(me,"-").concat(v);return L.createElement(pe,(0,y.Z)({},M,{key:_,ref:v===0?he:void 0}),ie)})}var ae=L.forwardRef(fe);ae.Collection=I;var te=ae},17115:function(tn,tt,f){"use strict";f.d(tt,{ZP:function(){return C}});var y=f(33606),L=f(59301),ee=f(47273),Ee=0,$=(0,ee.Z)();function q(){var Se;return $?(Se=Ee,Ee+=1):Se="TEST_OR_SSR",Se}function C(Se){var a=L.useState(),I=(0,y.Z)(a,2),z=I[0],S=I[1];return L.useEffect(function(){S("rc_select_".concat(q()))},[]),Se||z}},77861:function(tn,tt,f){"use strict";f.d(tt,{Ac:function(){return we},Xo:function(){return D},Wx:function(){return ue},ZP:function(){return xt},lk:function(){return Y}});var y=f(92413),L=f(26407),ee=f(400),Ee=f(33708),$=f(33606),q=f(37061),C=f(39559),Se=f(18929),a=f(48736),I=f(59301),z=f(92310),S=f.n(z),u=f(34280),x=f(49658),m=f(10228),P=f(8654),ce=function(Ce){var mt=Ce.className,pt=Ce.customizeIcon,Dt=Ce.customizeIconProps,Ht=Ce.onMouseDown,nn=Ce.onClick,Kt=Ce.children,sn;return typeof pt=="function"?sn=pt(Dt):sn=pt,I.createElement("span",{className:mt,onMouseDown:function(Ut){Ut.preventDefault(),Ht&&Ht(Ut)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:nn,"aria-hidden":!0},sn!==void 0?sn:I.createElement("span",{className:S()(mt.split(/\s+/).map(function(un){return"".concat(un,"-icon")}))},Kt))},U=ce;function W(Ne,Ce,mt,pt,Dt){var Ht=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,nn=arguments.length>6?arguments[6]:void 0,Kt=arguments.length>7?arguments[7]:void 0,sn=I.useMemo(function(){if((0,C.Z)(pt)==="object")return pt.clearIcon;if(Dt)return Dt},[pt,Dt]),un=I.useMemo(function(){return!!(!Ht&&pt&&(mt.length||nn)&&!(Kt==="combobox"&&nn===""))},[pt,Ht,mt.length,nn,Kt]);return{allowClear:un,clearIcon:I.createElement(U,{className:"".concat(Ne,"-clear"),onMouseDown:Ce,customizeIcon:sn},"\xD7")}}var ne=I.createContext(null);function Y(){return I.useContext(ne)}function b(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ce=I.useState(!1),mt=(0,$.Z)(Ce,2),pt=mt[0],Dt=mt[1],Ht=I.useRef(null),nn=function(){window.clearTimeout(Ht.current)};I.useEffect(function(){return nn},[]);var Kt=function(un,Ut){nn(),Ht.current=window.setTimeout(function(){Dt(un),Ut&&Ut()},Ne)};return[pt,Kt,nn]}function R(){var Ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ce=I.useRef(null),mt=I.useRef(null);I.useEffect(function(){return function(){window.clearTimeout(mt.current)}},[]);function pt(Dt){(Dt||Ce.current===null)&&(Ce.current=Dt),window.clearTimeout(mt.current),mt.current=window.setTimeout(function(){Ce.current=null},Ne)}return[function(){return Ce.current},pt]}function G(Ne,Ce,mt,pt){var Dt=I.useRef(null);Dt.current={open:Ce,triggerOpen:mt,customizedTrigger:pt},I.useEffect(function(){function Ht(nn){var Kt;if(!((Kt=Dt.current)!==null&&Kt!==void 0&&Kt.customizedTrigger)){var sn=nn.target;sn.shadowRoot&&nn.composed&&(sn=nn.composedPath()[0]||sn),Dt.current.open&&Ne().filter(function(un){return un}).every(function(un){return!un.contains(sn)&&un!==sn})&&Dt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ht),function(){return window.removeEventListener("mousedown",Ht)}},[])}var j=f(26112),pe=f(11780),me=function(Ce,mt){var pt,Dt,Ht=Ce.prefixCls,nn=Ce.id,Kt=Ce.inputElement,sn=Ce.disabled,un=Ce.tabIndex,Ut=Ce.autoFocus,kt=Ce.autoComplete,ln=Ce.editable,dn=Ce.activeDescendantId,hn=Ce.value,wn=Ce.maxLength,Xn=Ce.onKeyDown,Nn=Ce.onMouseDown,en=Ce.onChange,dt=Ce.onPaste,yt=Ce.onCompositionStart,Lt=Ce.onCompositionEnd,Bt=Ce.open,Ot=Ce.attrs,Yt=Kt||I.createElement("input",null),Gt=Yt,gn=Gt.ref,En=Gt.props,In=En.onKeyDown,qn=En.onChange,er=En.onMouseDown,pr=En.onCompositionStart,Cn=En.onCompositionEnd,An=En.style;return(0,a.Kp)(!("maxLength"in Yt.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Yt=I.cloneElement(Yt,(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({type:"search"},En),{},{id:nn,ref:(0,P.sQ)(mt,gn),disabled:sn,tabIndex:un,autoComplete:kt||"off",autoFocus:Ut,className:S()("".concat(Ht,"-selection-search-input"),(pt=Yt)===null||pt===void 0||(Dt=pt.props)===null||Dt===void 0?void 0:Dt.className),role:"combobox","aria-label":"Search","aria-expanded":Bt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(nn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(nn,"_list"),"aria-activedescendant":Bt?dn:void 0},Ot),{},{value:ln?hn:"",maxLength:wn,readOnly:!ln,unselectable:ln?null:"on",style:(0,Ee.Z)((0,Ee.Z)({},An),{},{opacity:ln?null:0}),onKeyDown:function(Vn){Xn(Vn),In&&In(Vn)},onMouseDown:function(Vn){Nn(Vn),er&&er(Vn)},onChange:function(Vn){en(Vn),qn&&qn(Vn)},onCompositionStart:function(Vn){yt(Vn),pr&&pr(Vn)},onCompositionEnd:function(Vn){Lt(Vn),Cn&&Cn(Vn)},onPaste:dt})),Yt},fe=I.forwardRef(me);fe.displayName="Input";var ae=fe;function te(Ne){return Array.isArray(Ne)?Ne:Ne!==void 0?[Ne]:[]}var M=typeof window!="undefined"&&window.document&&window.document.documentElement,he=M;function Q(Ne){return Ne!=null}function de(Ne){return!Ne&&Ne!==0}function ie(Ne){return["string","number"].includes((0,C.Z)(Ne))}function v(Ne){var Ce=void 0;return Ne&&(ie(Ne.title)?Ce=Ne.title.toString():ie(Ne.label)&&(Ce=Ne.label.toString())),Ce}function _(Ne,Ce){he?I.useLayoutEffect(Ne,Ce):I.useEffect(Ne,Ce)}function V(Ne){var Ce;return(Ce=Ne.key)!==null&&Ce!==void 0?Ce:Ne.value}var J=function(Ce){Ce.preventDefault(),Ce.stopPropagation()},Le=function(Ce){var mt=Ce.id,pt=Ce.prefixCls,Dt=Ce.values,Ht=Ce.open,nn=Ce.searchValue,Kt=Ce.autoClearSearchValue,sn=Ce.inputRef,un=Ce.placeholder,Ut=Ce.disabled,kt=Ce.mode,ln=Ce.showSearch,dn=Ce.autoFocus,hn=Ce.autoComplete,wn=Ce.activeDescendantId,Xn=Ce.tabIndex,Nn=Ce.removeIcon,en=Ce.maxTagCount,dt=Ce.maxTagTextLength,yt=Ce.maxTagPlaceholder,Lt=yt===void 0?function(Cr){return"+ ".concat(Cr.length," ...")}:yt,Bt=Ce.tagRender,Ot=Ce.onToggleOpen,Yt=Ce.onRemove,Gt=Ce.onInputChange,gn=Ce.onInputPaste,En=Ce.onInputKeyDown,In=Ce.onInputMouseDown,qn=Ce.onInputCompositionStart,er=Ce.onInputCompositionEnd,pr=I.useRef(null),Cn=(0,I.useState)(0),An=(0,$.Z)(Cn,2),mr=An[0],Vn=An[1],Dr=(0,I.useState)(!1),tr=(0,$.Z)(Dr,2),dr=tr[0],vr=tr[1],nr="".concat(pt,"-selection"),Ir=Ht||kt==="multiple"&&Kt===!1||kt==="tags"?nn:"",$r=kt==="tags"||kt==="multiple"&&Kt===!1||ln&&(Ht||dr);_(function(){Vn(pr.current.scrollWidth)},[Ir]);function Jn(Cr,Nr,jr,Sr,Mr){return I.createElement("span",{className:S()("".concat(nr,"-item"),(0,ee.Z)({},"".concat(nr,"-item-disabled"),jr)),title:v(Cr)},I.createElement("span",{className:"".concat(nr,"-item-content")},Nr),Sr&&I.createElement(U,{className:"".concat(nr,"-item-remove"),onMouseDown:J,onClick:Mr,customizeIcon:Nn},"\xD7"))}function Fn(Cr,Nr,jr,Sr,Mr){var Gr=function(Kn){J(Kn),Ot(!Ht)};return I.createElement("span",{onMouseDown:Gr},Bt({label:Nr,value:Cr,disabled:jr,closable:Sr,onClose:Mr}))}function at(Cr){var Nr=Cr.disabled,jr=Cr.label,Sr=Cr.value,Mr=!Ut&&!Nr,Gr=jr;if(typeof dt=="number"&&(typeof jr=="string"||typeof jr=="number")){var On=String(Gr);On.length>dt&&(Gr="".concat(On.slice(0,dt),"..."))}var Kn=function(Lr){Lr&&Lr.stopPropagation(),Yt(Cr)};return typeof Bt=="function"?Fn(Sr,Gr,Nr,Mr,Kn):Jn(Cr,Gr,Nr,Mr,Kn)}function zn(Cr){var Nr=typeof Lt=="function"?Lt(Cr):Lt;return Jn({title:Nr},Nr,!1)}var sr=I.createElement("div",{className:"".concat(nr,"-search"),style:{width:mr},onFocus:function(){vr(!0)},onBlur:function(){vr(!1)}},I.createElement(ae,{ref:sn,open:Ht,prefixCls:pt,id:mt,inputElement:null,disabled:Ut,autoFocus:dn,autoComplete:hn,editable:$r,activeDescendantId:wn,value:Ir,onKeyDown:En,onMouseDown:In,onChange:Gt,onPaste:gn,onCompositionStart:qn,onCompositionEnd:er,tabIndex:Xn,attrs:(0,j.Z)(Ce,!0)}),I.createElement("span",{ref:pr,className:"".concat(nr,"-search-mirror"),"aria-hidden":!0},Ir,"\xA0")),wr=I.createElement(pe.Z,{prefixCls:"".concat(nr,"-overflow"),data:Dt,renderItem:at,renderRest:zn,suffix:sr,itemKey:V,maxCount:en});return I.createElement(I.Fragment,null,wr,!Dt.length&&!Ir&&I.createElement("span",{className:"".concat(nr,"-placeholder")},un))},Oe=Le,Ie=function(Ce){var mt=Ce.inputElement,pt=Ce.prefixCls,Dt=Ce.id,Ht=Ce.inputRef,nn=Ce.disabled,Kt=Ce.autoFocus,sn=Ce.autoComplete,un=Ce.activeDescendantId,Ut=Ce.mode,kt=Ce.open,ln=Ce.values,dn=Ce.placeholder,hn=Ce.tabIndex,wn=Ce.showSearch,Xn=Ce.searchValue,Nn=Ce.activeValue,en=Ce.maxLength,dt=Ce.onInputKeyDown,yt=Ce.onInputMouseDown,Lt=Ce.onInputChange,Bt=Ce.onInputPaste,Ot=Ce.onInputCompositionStart,Yt=Ce.onInputCompositionEnd,Gt=Ce.title,gn=I.useState(!1),En=(0,$.Z)(gn,2),In=En[0],qn=En[1],er=Ut==="combobox",pr=er||wn,Cn=ln[0],An=Xn||"";er&&Nn&&!In&&(An=Nn),I.useEffect(function(){er&&qn(!1)},[er,Nn]);var mr=Ut!=="combobox"&&!kt&&!wn?!1:!!An,Vn=Gt===void 0?v(Cn):Gt,Dr=function(){if(Cn)return null;var dr=mr?{visibility:"hidden"}:void 0;return I.createElement("span",{className:"".concat(pt,"-selection-placeholder"),style:dr},dn)};return I.createElement(I.Fragment,null,I.createElement("span",{className:"".concat(pt,"-selection-search")},I.createElement(ae,{ref:Ht,prefixCls:pt,id:Dt,open:kt,inputElement:mt,disabled:nn,autoFocus:Kt,autoComplete:sn,editable:pr,activeDescendantId:un,value:An,onKeyDown:dt,onMouseDown:yt,onChange:function(dr){qn(!0),Lt(dr)},onPaste:Bt,onCompositionStart:Ot,onCompositionEnd:Yt,tabIndex:hn,attrs:(0,j.Z)(Ce,!0),maxLength:er?en:void 0})),!er&&Cn?I.createElement("span",{className:"".concat(pt,"-selection-item"),title:Vn,style:mr?{visibility:"hidden"}:void 0},Cn.label):null,Dr())},$e=Ie;function lt(Ne){return![m.Z.ESC,m.Z.SHIFT,m.Z.BACKSPACE,m.Z.TAB,m.Z.WIN_KEY,m.Z.ALT,m.Z.META,m.Z.WIN_KEY_RIGHT,m.Z.CTRL,m.Z.SEMICOLON,m.Z.EQUALS,m.Z.CAPS_LOCK,m.Z.CONTEXT_MENU,m.Z.F1,m.Z.F2,m.Z.F3,m.Z.F4,m.Z.F5,m.Z.F6,m.Z.F7,m.Z.F8,m.Z.F9,m.Z.F10,m.Z.F11,m.Z.F12].includes(Ne)}var ut=function(Ce,mt){var pt=(0,I.useRef)(null),Dt=(0,I.useRef)(!1),Ht=Ce.prefixCls,nn=Ce.open,Kt=Ce.mode,sn=Ce.showSearch,un=Ce.tokenWithEnter,Ut=Ce.autoClearSearchValue,kt=Ce.onSearch,ln=Ce.onSearchSubmit,dn=Ce.onToggleOpen,hn=Ce.onInputKeyDown,wn=Ce.domRef;I.useImperativeHandle(mt,function(){return{focus:function(){pt.current.focus()},blur:function(){pt.current.blur()}}});var Xn=R(0),Nn=(0,$.Z)(Xn,2),en=Nn[0],dt=Nn[1],yt=function(An){var mr=An.which;(mr===m.Z.UP||mr===m.Z.DOWN)&&An.preventDefault(),hn&&hn(An),mr===m.Z.ENTER&&Kt==="tags"&&!Dt.current&&!nn&&(ln==null||ln(An.target.value)),lt(mr)&&dn(!0)},Lt=function(){dt(!0)},Bt=(0,I.useRef)(null),Ot=function(An){kt(An,!0,Dt.current)!==!1&&dn(!0)},Yt=function(){Dt.current=!0},Gt=function(An){Dt.current=!1,Kt!=="combobox"&&Ot(An.target.value)},gn=function(An){var mr=An.target.value;if(un&&Bt.current&&/[\r\n]/.test(Bt.current)){var Vn=Bt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");mr=mr.replace(Vn,Bt.current)}Bt.current=null,Ot(mr)},En=function(An){var mr=An.clipboardData,Vn=mr.getData("text");Bt.current=Vn},In=function(An){var mr=An.target;if(mr!==pt.current){var Vn=document.body.style.msTouchAction!==void 0;Vn?setTimeout(function(){pt.current.focus()}):pt.current.focus()}},qn=function(An){var mr=en();An.target!==pt.current&&!mr&&Kt!=="combobox"&&An.preventDefault(),(Kt!=="combobox"&&(!sn||!mr)||!nn)&&(nn&&Ut!==!1&&kt("",!0,!1),dn())},er={inputRef:pt,onInputKeyDown:yt,onInputMouseDown:Lt,onInputChange:gn,onInputPaste:En,onInputCompositionStart:Yt,onInputCompositionEnd:Gt},pr=Kt==="multiple"||Kt==="tags"?I.createElement(Oe,(0,y.Z)({},Ce,er)):I.createElement($e,(0,y.Z)({},Ce,er));return I.createElement("div",{ref:wn,className:"".concat(Ht,"-selector"),onClick:In,onMouseDown:qn},pr)},it=I.forwardRef(ut);it.displayName="Selector";var Pt=it,Jt=f(35593),rn=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],It=function(Ce){var mt=Ce===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:mt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:mt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:mt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:mt,adjustY:1},htmlRegion:"scroll"}}},Zt=function(Ce,mt){var pt=Ce.prefixCls,Dt=Ce.disabled,Ht=Ce.visible,nn=Ce.children,Kt=Ce.popupElement,sn=Ce.animation,un=Ce.transitionName,Ut=Ce.dropdownStyle,kt=Ce.dropdownClassName,ln=Ce.direction,dn=ln===void 0?"ltr":ln,hn=Ce.placement,wn=Ce.builtinPlacements,Xn=Ce.dropdownMatchSelectWidth,Nn=Ce.dropdownRender,en=Ce.dropdownAlign,dt=Ce.getPopupContainer,yt=Ce.empty,Lt=Ce.getTriggerDOMNode,Bt=Ce.onPopupVisibleChange,Ot=Ce.onPopupMouseEnter,Yt=(0,q.Z)(Ce,rn),Gt="".concat(pt,"-dropdown"),gn=Kt;Nn&&(gn=Nn(Kt));var En=I.useMemo(function(){return wn||It(Xn)},[wn,Xn]),In=sn?"".concat(Gt,"-").concat(sn):un,qn=typeof Xn=="number",er=I.useMemo(function(){return qn?null:Xn===!1?"minWidth":"width"},[Xn,qn]),pr=Ut;qn&&(pr=(0,Ee.Z)((0,Ee.Z)({},pr),{},{width:Xn}));var Cn=I.useRef(null);return I.useImperativeHandle(mt,function(){return{getPopupElement:function(){return Cn.current}}}),I.createElement(Jt.Z,(0,y.Z)({},Yt,{showAction:Bt?["click"]:[],hideAction:Bt?["click"]:[],popupPlacement:hn||(dn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:En,prefixCls:Gt,popupTransitionName:In,popup:I.createElement("div",{ref:Cn,onMouseEnter:Ot},gn),stretch:er,popupAlign:en,popupVisible:Ht,getPopupContainer:dt,popupClassName:S()(kt,(0,ee.Z)({},"".concat(Gt,"-empty"),yt)),popupStyle:pr,getTriggerDOMNode:Lt,onPopupVisibleChange:Bt}),nn)},ot=I.forwardRef(Zt);ot.displayName="SelectTrigger";var se=ot,be=f(34589);function H(Ne,Ce){var mt=Ne.key,pt;return"value"in Ne&&(pt=Ne.value),mt!=null?mt:pt!==void 0?pt:"rc-index-key-".concat(Ce)}function O(Ne,Ce){var mt=Ne||{},pt=mt.label,Dt=mt.value,Ht=mt.options,nn=mt.groupLabel,Kt=pt||(Ce?"children":"label");return{label:Kt,value:Dt||"value",options:Ht||"options",groupLabel:nn||Kt}}function xe(Ne){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},mt=Ce.fieldNames,pt=Ce.childrenAsData,Dt=[],Ht=O(mt,!1),nn=Ht.label,Kt=Ht.value,sn=Ht.options,un=Ht.groupLabel;function Ut(kt,ln){kt.forEach(function(dn){if(ln||!(sn in dn)){var hn=dn[Kt];Dt.push({key:H(dn,Dt.length),groupOption:ln,data:dn,label:dn[nn],value:hn})}else{var wn=dn[un];wn===void 0&&pt&&(wn=dn.label),Dt.push({key:H(dn,Dt.length),group:!0,data:dn,label:wn}),Ut(dn[sn],!0)}})}return Ut(Ne,!1),Dt}function k(Ne){var Ce=(0,Ee.Z)({},Ne);return"props"in Ce||Object.defineProperty(Ce,"props",{get:function(){return(0,a.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ce}}),Ce}function E(Ne,Ce){if(!Ce||!Ce.length)return null;var mt=!1;function pt(Ht,nn){var Kt=(0,be.Z)(nn),sn=Kt[0],un=Kt.slice(1);if(!sn)return[Ht];var Ut=Ht.split(sn);return mt=mt||Ut.length>1,Ut.reduce(function(kt,ln){return[].concat((0,L.Z)(kt),(0,L.Z)(pt(ln,un)))},[]).filter(function(kt){return kt})}var Dt=pt(Ne,Ce);return mt?Dt:null}var T=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],X=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Z(Ne){return Ne==="tags"||Ne==="multiple"}var K=I.forwardRef(function(Ne,Ce){var mt,pt,Dt=Ne.id,Ht=Ne.prefixCls,nn=Ne.className,Kt=Ne.showSearch,sn=Ne.tagRender,un=Ne.direction,Ut=Ne.omitDomProps,kt=Ne.displayValues,ln=Ne.onDisplayValuesChange,dn=Ne.emptyOptions,hn=Ne.notFoundContent,wn=hn===void 0?"Not Found":hn,Xn=Ne.onClear,Nn=Ne.mode,en=Ne.disabled,dt=Ne.loading,yt=Ne.getInputElement,Lt=Ne.getRawInputElement,Bt=Ne.open,Ot=Ne.defaultOpen,Yt=Ne.onDropdownVisibleChange,Gt=Ne.activeValue,gn=Ne.onActiveValueChange,En=Ne.activeDescendantId,In=Ne.searchValue,qn=Ne.autoClearSearchValue,er=Ne.onSearch,pr=Ne.onSearchSplit,Cn=Ne.tokenSeparators,An=Ne.allowClear,mr=Ne.suffixIcon,Vn=Ne.clearIcon,Dr=Ne.OptionList,tr=Ne.animation,dr=Ne.transitionName,vr=Ne.dropdownStyle,nr=Ne.dropdownClassName,Ir=Ne.dropdownMatchSelectWidth,$r=Ne.dropdownRender,Jn=Ne.dropdownAlign,Fn=Ne.placement,at=Ne.builtinPlacements,zn=Ne.getPopupContainer,sr=Ne.showAction,wr=sr===void 0?[]:sr,Cr=Ne.onFocus,Nr=Ne.onBlur,jr=Ne.onKeyUp,Sr=Ne.onKeyDown,Mr=Ne.onMouseDown,Gr=(0,q.Z)(Ne,T),On=Z(Nn),Kn=(Kt!==void 0?Kt:On)||Nn==="combobox",gr=(0,Ee.Z)({},Gr);X.forEach(function(ni){delete gr[ni]}),Ut==null||Ut.forEach(function(ni){delete gr[ni]});var Lr=I.useState(!1),Xr=(0,$.Z)(Lr,2),jn=Xr[0],zr=Xr[1];I.useEffect(function(){zr((0,x.Z)())},[]);var Vr=I.useRef(null),fi=I.useRef(null),ki=I.useRef(null),Ai=I.useRef(null),ti=I.useRef(null),vi=b(),li=(0,$.Z)(vi,3),Di=li[0],Fi=li[1],Vi=li[2];I.useImperativeHandle(Ce,function(){var ni,Ur;return{focus:(ni=Ai.current)===null||ni===void 0?void 0:ni.focus,blur:(Ur=Ai.current)===null||Ur===void 0?void 0:Ur.blur,scrollTo:function(zi){var Oi;return(Oi=ti.current)===null||Oi===void 0?void 0:Oi.scrollTo(zi)}}});var Ri=I.useMemo(function(){var ni;if(Nn!=="combobox")return In;var Ur=(ni=kt[0])===null||ni===void 0?void 0:ni.value;return typeof Ur=="string"||typeof Ur=="number"?String(Ur):""},[In,Nn,kt]),Zi=Nn==="combobox"&&typeof yt=="function"&&yt()||null,Kr=typeof Lt=="function"&&Lt(),aa=(0,P.x1)(fi,Kr==null||(mt=Kr.props)===null||mt===void 0?void 0:mt.ref),ga=I.useState(!1),ua=(0,$.Z)(ga,2),yi=ua[0],ca=ua[1];(0,u.Z)(function(){ca(!0)},[]);var _a=(0,Se.Z)(!1,{defaultValue:Ot,value:Bt}),Pn=(0,$.Z)(_a,2),Ni=Pn[0],na=Pn[1],or=yi?Ni:!1,xr=!wn&&dn;(en||xr&&or&&Nn==="combobox")&&(or=!1);var lr=xr?!1:or,Gn=I.useCallback(function(ni){var Ur=ni!==void 0?ni:!or;en||(na(Ur),or!==Ur&&(Yt==null||Yt(Ur)))},[en,or,na,Yt]),Pr=I.useMemo(function(){return(Cn||[]).some(function(ni){return[`
`,`\r
`].includes(ni)})},[Cn]),Qr=function(Ur,ia,zi){var Oi=!0,oa=Ur;gn==null||gn(null);var mi=zi?null:E(Ur,Cn);return Nn!=="combobox"&&mi&&(oa="",pr==null||pr(mi),Gn(!1),Oi=!1),er&&Ri!==oa&&er(oa,{source:ia?"typing":"effect"}),Oi},Pi=function(Ur){!Ur||!Ur.trim()||er(Ur,{source:"submit"})};I.useEffect(function(){!or&&!On&&Nn!=="combobox"&&Qr("",!1,!1)},[or]),I.useEffect(function(){Ni&&en&&na(!1),en&&Fi(!1)},[en]);var bi=R(),Ii=(0,$.Z)(bi,2),Ui=Ii[0],va=Ii[1],wa=function(Ur){var ia=Ui(),zi=Ur.which;if(zi===m.Z.ENTER&&(Nn!=="combobox"&&Ur.preventDefault(),or||Gn(!0)),va(!!Ri),zi===m.Z.BACKSPACE&&!ia&&On&&!Ri&&kt.length){for(var Oi=(0,L.Z)(kt),oa=null,mi=Oi.length-1;mi>=0;mi-=1){var Ia=Oi[mi];if(!Ia.disabled){Oi.splice(mi,1),oa=Ia;break}}oa&&ln(Oi,{type:"remove",values:[oa]})}for(var la=arguments.length,ka=new Array(la>1?la-1:0),Ba=1;Ba<la;Ba++)ka[Ba-1]=arguments[Ba];if(or&&ti.current){var wi;(wi=ti.current).onKeyDown.apply(wi,[Ur].concat(ka))}Sr==null||Sr.apply(void 0,[Ur].concat(ka))},Wa=function(Ur){for(var ia=arguments.length,zi=new Array(ia>1?ia-1:0),Oi=1;Oi<ia;Oi++)zi[Oi-1]=arguments[Oi];if(or&&ti.current){var oa;(oa=ti.current).onKeyUp.apply(oa,[Ur].concat(zi))}jr==null||jr.apply(void 0,[Ur].concat(zi))},da=function(Ur){var ia=kt.filter(function(zi){return zi!==Ur});ln(ia,{type:"remove",values:[Ur]})},fa=I.useRef(!1),ur=function(){Fi(!0),en||(Cr&&!fa.current&&Cr.apply(void 0,arguments),wr.includes("focus")&&Gn(!0)),fa.current=!0},ar=function(){Fi(!1,function(){fa.current=!1,Gn(!1)}),!en&&(Ri&&(Nn==="tags"?er(Ri,{source:"submit"}):Nn==="multiple"&&er("",{source:"blur"})),Nr&&Nr.apply(void 0,arguments))},Jr=[];I.useEffect(function(){return function(){Jr.forEach(function(ni){return clearTimeout(ni)}),Jr.splice(0,Jr.length)}},[]);var Ki=function(Ur){var ia,zi=Ur.target,Oi=(ia=ki.current)===null||ia===void 0?void 0:ia.getPopupElement();if(Oi&&Oi.contains(zi)){var oa=setTimeout(function(){var ka=Jr.indexOf(oa);if(ka!==-1&&Jr.splice(ka,1),Vi(),!jn&&!Oi.contains(document.activeElement)){var Ba;(Ba=Ai.current)===null||Ba===void 0||Ba.focus()}});Jr.push(oa)}for(var mi=arguments.length,Ia=new Array(mi>1?mi-1:0),la=1;la<mi;la++)Ia[la-1]=arguments[la];Mr==null||Mr.apply(void 0,[Ur].concat(Ia))},ui=I.useState({}),sa=(0,$.Z)(ui,2),Va=sa[1];function Ha(){Va({})}var ya;Kr&&(ya=function(Ur){Gn(Ur)}),G(function(){var ni;return[Vr.current,(ni=ki.current)===null||ni===void 0?void 0:ni.getPopupElement()]},lr,Gn,!!Kr);var as=I.useMemo(function(){return(0,Ee.Z)((0,Ee.Z)({},Ne),{},{notFoundContent:wn,open:or,triggerOpen:lr,id:Dt,showSearch:Kn,multiple:On,toggleOpen:Gn})},[Ne,wn,lr,or,Dt,Kn,On,Gn]),ss=!!mr||dt,os;ss&&(os=I.createElement(U,{className:S()("".concat(Ht,"-arrow"),(0,ee.Z)({},"".concat(Ht,"-arrow-loading"),dt)),customizeIcon:mr,customizeIconProps:{loading:dt,searchValue:Ri,open:or,focused:Di,showSearch:Kn}}));var ts=function(){var Ur;Xn==null||Xn(),(Ur=Ai.current)===null||Ur===void 0||Ur.focus(),ln([],{type:"clear",values:kt}),Qr("",!1,!1)},ls=W(Ht,ts,kt,An,Vn,en,Ri,Nn),Ta=ls.allowClear,Qi=ls.clearIcon,us=I.createElement(Dr,{ref:ti}),ns=S()(Ht,nn,(pt={},(0,ee.Z)(pt,"".concat(Ht,"-focused"),Di),(0,ee.Z)(pt,"".concat(Ht,"-multiple"),On),(0,ee.Z)(pt,"".concat(Ht,"-single"),!On),(0,ee.Z)(pt,"".concat(Ht,"-allow-clear"),An),(0,ee.Z)(pt,"".concat(Ht,"-show-arrow"),ss),(0,ee.Z)(pt,"".concat(Ht,"-disabled"),en),(0,ee.Z)(pt,"".concat(Ht,"-loading"),dt),(0,ee.Z)(pt,"".concat(Ht,"-open"),or),(0,ee.Z)(pt,"".concat(Ht,"-customize-input"),Zi),(0,ee.Z)(pt,"".concat(Ht,"-show-search"),Kn),pt)),ba=I.createElement(se,{ref:ki,disabled:en,prefixCls:Ht,visible:lr,popupElement:us,animation:tr,transitionName:dr,dropdownStyle:vr,dropdownClassName:nr,direction:un,dropdownMatchSelectWidth:Ir,dropdownRender:$r,dropdownAlign:Jn,placement:Fn,builtinPlacements:at,getPopupContainer:zn,empty:dn,getTriggerDOMNode:function(){return fi.current},onPopupVisibleChange:ya,onPopupMouseEnter:Ha},Kr?I.cloneElement(Kr,{ref:aa}):I.createElement(Pt,(0,y.Z)({},Ne,{domRef:fi,prefixCls:Ht,inputElement:Zi,ref:Ai,id:Dt,showSearch:Kn,autoClearSearchValue:qn,mode:Nn,activeDescendantId:En,tagRender:sn,values:kt,open:or,onToggleOpen:Gn,activeValue:Gt,searchValue:Ri,onSearch:Qr,onSearchSubmit:Pi,onRemove:da,tokenWithEnter:Pr}))),Sa;return Kr?Sa=ba:Sa=I.createElement("div",(0,y.Z)({className:ns},gr,{ref:Vr,onMouseDown:Ki,onKeyDown:wa,onKeyUp:Wa,onFocus:ur,onBlur:ar}),Di&&!or&&I.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(kt.map(function(ni){var Ur=ni.label,ia=ni.value;return["number","string"].includes((0,C.Z)(Ur))?Ur:ia}).join(", "))),ba,os,Ta&&Qi),I.createElement(ne.Provider,{value:as},Sa)}),we=K,Ke=function(Ne,Ce){var mt=I.useRef({values:new Map,options:new Map}),pt=I.useMemo(function(){var Ht=mt.current,nn=Ht.values,Kt=Ht.options,sn=Ne.map(function(kt){if(kt.label===void 0){var ln;return(0,Ee.Z)((0,Ee.Z)({},kt),{},{label:(ln=nn.get(kt.value))===null||ln===void 0?void 0:ln.label})}return kt}),un=new Map,Ut=new Map;return sn.forEach(function(kt){un.set(kt.value,kt),Ut.set(kt.value,Ce.get(kt.value)||Kt.get(kt.value))}),mt.current.values=un,mt.current.options=Ut,sn},[Ne,Ce]),Dt=I.useCallback(function(Ht){return Ce.get(Ht)||mt.current.options.get(Ht)},[Ce]);return[pt,Dt]};function ke(Ne,Ce){return te(Ne).join("").toUpperCase().includes(Ce)}var Te=function(Ne,Ce,mt,pt,Dt){return I.useMemo(function(){if(!mt||pt===!1)return Ne;var Ht=Ce.options,nn=Ce.label,Kt=Ce.value,sn=[],un=typeof pt=="function",Ut=mt.toUpperCase(),kt=un?pt:function(dn,hn){return Dt?ke(hn[Dt],Ut):hn[Ht]?ke(hn[nn!=="children"?nn:"label"],Ut):ke(hn[Kt],Ut)},ln=un?function(dn){return k(dn)}:function(dn){return dn};return Ne.forEach(function(dn){if(dn[Ht]){var hn=kt(mt,ln(dn));if(hn)sn.push(dn);else{var wn=dn[Ht].filter(function(Xn){return kt(mt,ln(Xn))});wn.length&&sn.push((0,Ee.Z)((0,Ee.Z)({},dn),{},(0,ee.Z)({},Ht,wn)))}return}kt(mt,ln(dn))&&sn.push(dn)}),sn},[Ne,pt,Dt,mt,Ce])},Ye=f(17115),et=f(11592),je=["children","value"],vt=["children"];function bt(Ne){var Ce=Ne,mt=Ce.key,pt=Ce.props,Dt=pt.children,Ht=pt.value,nn=(0,q.Z)(pt,je);return(0,Ee.Z)({key:mt,value:Ht!==void 0?Ht:mt,children:Dt},nn)}function ht(Ne){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,et.Z)(Ne).map(function(mt,pt){if(!I.isValidElement(mt)||!mt.type)return null;var Dt=mt,Ht=Dt.type.isSelectOptGroup,nn=Dt.key,Kt=Dt.props,sn=Kt.children,un=(0,q.Z)(Kt,vt);return Ce||!Ht?bt(mt):(0,Ee.Z)((0,Ee.Z)({key:"__RC_SELECT_GRP__".concat(nn===null?pt:nn,"__"),label:nn},un),{},{options:ht(sn)})}).filter(function(mt){return mt})}function Nt(Ne,Ce,mt,pt,Dt){return I.useMemo(function(){var Ht=Ne,nn=!Ne;nn&&(Ht=ht(Ce));var Kt=new Map,sn=new Map,un=function(ln,dn,hn){hn&&typeof hn=="string"&&ln.set(dn[hn],dn)};function Ut(kt){for(var ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dn=0;dn<kt.length;dn+=1){var hn=kt[dn];!hn[mt.options]||ln?(Kt.set(hn[mt.value],hn),un(sn,hn,mt.label),un(sn,hn,pt),un(sn,hn,Dt)):Ut(hn[mt.options],!0)}}return Ut(Ht),{options:Ht,valueOptions:Kt,labelOptions:sn}},[Ne,Ce,mt,pt,Dt])}function _t(Ne){var Ce=I.useRef();Ce.current=Ne;var mt=I.useCallback(function(){return Ce.current.apply(Ce,arguments)},[]);return mt}var w=function(){return null};w.isSelectOptGroup=!0;var D=w,St=function(){return null};St.isSelectOption=!0;var ue=St,Be=f(80547),pn=f(2738),Ve=f(57149),nt=I.createContext(null),Je=nt;function Ae(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var De=["disabled","title","children","style","className"];function ze(Ne){return typeof Ne=="string"||typeof Ne=="number"}var qe=function(Ce,mt){var pt=Y(),Dt=pt.prefixCls,Ht=pt.id,nn=pt.open,Kt=pt.multiple,sn=pt.mode,un=pt.searchValue,Ut=pt.toggleOpen,kt=pt.notFoundContent,ln=pt.onPopupScroll,dn=I.useContext(Je),hn=dn.flattenOptions,wn=dn.onActiveValue,Xn=dn.defaultActiveFirstOption,Nn=dn.onSelect,en=dn.menuItemSelectedIcon,dt=dn.rawValues,yt=dn.fieldNames,Lt=dn.virtual,Bt=dn.direction,Ot=dn.listHeight,Yt=dn.listItemHeight,Gt="".concat(Dt,"-item"),gn=(0,Be.Z)(function(){return hn},[nn,hn],function(Jn,Fn){return Fn[0]&&Jn[1]!==Fn[1]}),En=I.useRef(null),In=function(Fn){Fn.preventDefault()},qn=function(Fn){En.current&&En.current.scrollTo(typeof Fn=="number"?{index:Fn}:Fn)},er=function(Fn){for(var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,zn=gn.length,sr=0;sr<zn;sr+=1){var wr=(Fn+sr*at+zn)%zn,Cr=gn[wr],Nr=Cr.group,jr=Cr.data;if(!Nr&&!jr.disabled)return wr}return-1},pr=I.useState(function(){return er(0)}),Cn=(0,$.Z)(pr,2),An=Cn[0],mr=Cn[1],Vn=function(Fn){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;mr(Fn);var zn={source:at?"keyboard":"mouse"},sr=gn[Fn];if(!sr){wn(null,-1,zn);return}wn(sr.value,Fn,zn)};(0,I.useEffect)(function(){Vn(Xn!==!1?er(0):-1)},[gn.length,un]);var Dr=I.useCallback(function(Jn){return dt.has(Jn)&&sn!=="combobox"},[sn,(0,L.Z)(dt).toString(),dt.size]);(0,I.useEffect)(function(){var Jn=setTimeout(function(){if(!Kt&&nn&&dt.size===1){var at=Array.from(dt)[0],zn=gn.findIndex(function(sr){var wr=sr.data;return wr.value===at});zn!==-1&&(Vn(zn),qn(zn))}});if(nn){var Fn;(Fn=En.current)===null||Fn===void 0||Fn.scrollTo(void 0)}return function(){return clearTimeout(Jn)}},[nn,un,hn.length]);var tr=function(Fn){Fn!==void 0&&Nn(Fn,{selected:!dt.has(Fn)}),Kt||Ut(!1)};if(I.useImperativeHandle(mt,function(){return{onKeyDown:function(Fn){var at=Fn.which,zn=Fn.ctrlKey;switch(at){case m.Z.N:case m.Z.P:case m.Z.UP:case m.Z.DOWN:{var sr=0;if(at===m.Z.UP?sr=-1:at===m.Z.DOWN?sr=1:Ae()&&zn&&(at===m.Z.N?sr=1:at===m.Z.P&&(sr=-1)),sr!==0){var wr=er(An+sr,sr);qn(wr),Vn(wr,!0)}break}case m.Z.ENTER:{var Cr=gn[An];Cr&&!Cr.data.disabled?tr(Cr.value):tr(void 0),nn&&Fn.preventDefault();break}case m.Z.ESC:Ut(!1),nn&&Fn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Fn){qn(Fn)}}}),gn.length===0)return I.createElement("div",{role:"listbox",id:"".concat(Ht,"_list"),className:"".concat(Gt,"-empty"),onMouseDown:In},kt);var dr=Object.keys(yt).map(function(Jn){return yt[Jn]}),vr=function(Fn){return Fn.label};function nr(Jn,Fn){var at=Jn.group;return{role:at?"presentation":"option",id:"".concat(Ht,"_list_").concat(Fn)}}var Ir=function(Fn){var at=gn[Fn];if(!at)return null;var zn=at.data||{},sr=zn.value,wr=at.group,Cr=(0,j.Z)(zn,!0),Nr=vr(at);return at?I.createElement("div",(0,y.Z)({"aria-label":typeof Nr=="string"&&!wr?Nr:null},Cr,{key:Fn},nr(at,Fn),{"aria-selected":Dr(sr)}),sr):null},$r={role:"listbox",id:"".concat(Ht,"_list")};return I.createElement(I.Fragment,null,Lt&&I.createElement("div",(0,y.Z)({},$r,{style:{height:0,width:0,overflow:"hidden"}}),Ir(An-1),Ir(An),Ir(An+1)),I.createElement(Ve.Z,{itemKey:"key",ref:En,data:gn,height:Ot,itemHeight:Yt,fullHeight:!1,onMouseDown:In,onScroll:ln,virtual:Lt,direction:Bt,innerProps:Lt?null:$r},function(Jn,Fn){var at,zn=Jn.group,sr=Jn.groupOption,wr=Jn.data,Cr=Jn.label,Nr=Jn.value,jr=wr.key;if(zn){var Sr,Mr=(Sr=wr.title)!==null&&Sr!==void 0?Sr:ze(Cr)?Cr.toString():void 0;return I.createElement("div",{className:S()(Gt,"".concat(Gt,"-group")),title:Mr},Cr!==void 0?Cr:jr)}var Gr=wr.disabled,On=wr.title,Kn=wr.children,gr=wr.style,Lr=wr.className,Xr=(0,q.Z)(wr,De),jn=(0,pn.Z)(Xr,dr),zr=Dr(Nr),Vr="".concat(Gt,"-option"),fi=S()(Gt,Vr,Lr,(at={},(0,ee.Z)(at,"".concat(Vr,"-grouped"),sr),(0,ee.Z)(at,"".concat(Vr,"-active"),An===Fn&&!Gr),(0,ee.Z)(at,"".concat(Vr,"-disabled"),Gr),(0,ee.Z)(at,"".concat(Vr,"-selected"),zr),at)),ki=vr(Jn),Ai=!en||typeof en=="function"||zr,ti=typeof ki=="number"?ki:ki||Nr,vi=ze(ti)?ti.toString():void 0;return On!==void 0&&(vi=On),I.createElement("div",(0,y.Z)({},(0,j.Z)(jn),Lt?{}:nr(Jn,Fn),{"aria-selected":zr,className:fi,title:vi,onMouseMove:function(){An===Fn||Gr||Vn(Fn)},onClick:function(){Gr||tr(Nr)},style:gr}),I.createElement("div",{className:"".concat(Vr,"-content")},ti),I.isValidElement(en)||zr,Ai&&I.createElement(U,{className:"".concat(Gt,"-option-state"),customizeIcon:en,customizeIconProps:{isSelected:zr}},zr?"\u2713":null))}))},ve=I.forwardRef(qe);ve.displayName="OptionList";var an=ve;function Ge(Ne){var Ce=Ne.mode,mt=Ne.options,pt=Ne.children,Dt=Ne.backfill,Ht=Ne.allowClear,nn=Ne.placeholder,Kt=Ne.getInputElement,sn=Ne.showSearch,un=Ne.onSearch,Ut=Ne.defaultOpen,kt=Ne.autoFocus,ln=Ne.labelInValue,dn=Ne.value,hn=Ne.inputValue,wn=Ne.optionLabelProp,Xn=isMultiple(Ce),Nn=sn!==void 0?sn:Xn||Ce==="combobox",en=mt||convertChildrenToData(pt);if(warning(Ce!=="tags"||en.every(function(Bt){return!Bt.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Ce==="tags"||Ce==="combobox"){var dt=en.some(function(Bt){return Bt.options?Bt.options.some(function(Ot){return typeof("value"in Ot?Ot.value:Ot.key)=="number"}):typeof("value"in Bt?Bt.value:Bt.key)=="number"});warning(!dt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Ce!=="combobox"||!wn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Ce==="combobox"||!Dt,"`backfill` only works with `combobox` mode."),warning(Ce==="combobox"||!Kt,"`getInputElement` only work with `combobox` mode."),noteOnce(Ce!=="combobox"||!Kt||!Ht||!nn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),un&&!Nn&&Ce!=="combobox"&&Ce!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Ut||kt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),dn!=null){var yt=toArray(dn);warning(!ln||yt.every(function(Bt){return _typeof(Bt)==="object"&&("key"in Bt||"value"in Bt)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Xn||Array.isArray(dn),"`value` should be array when `mode` is `multiple` or `tags`")}if(pt){var Lt=null;toNodeArray(pt).some(function(Bt){if(!React.isValidElement(Bt)||!Bt.type)return!1;var Ot=Bt,Yt=Ot.type;if(Yt.isSelectOption)return!1;if(Yt.isSelectOptGroup){var Gt=toNodeArray(Bt.props.children).every(function(gn){return!React.isValidElement(gn)||!Bt.type||gn.type.isSelectOption?!0:(Lt=gn.type,!1)});return!Gt}return Lt=Yt,!0}),Lt&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Lt.displayName||Lt.name||Lt,"`.")),warning(hn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function mn(Ne,Ce){if(Ne){var mt=function pt(Dt){for(var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,nn=0;nn<Dt.length;nn++){var Kt=Dt[nn];if(Kt[Ce==null?void 0:Ce.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ht&&Array.isArray(Kt[Ce==null?void 0:Ce.options])&&pt(Kt[Ce==null?void 0:Ce.options],!0))break}};mt(Ne)}}var _n=null,jt=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Xt=["inputValue"];function Rt(Ne){return!Ne||(0,C.Z)(Ne)!=="object"}var Ft=I.forwardRef(function(Ne,Ce){var mt=Ne.id,pt=Ne.mode,Dt=Ne.prefixCls,Ht=Dt===void 0?"rc-select":Dt,nn=Ne.backfill,Kt=Ne.fieldNames,sn=Ne.inputValue,un=Ne.searchValue,Ut=Ne.onSearch,kt=Ne.autoClearSearchValue,ln=kt===void 0?!0:kt,dn=Ne.onSelect,hn=Ne.onDeselect,wn=Ne.dropdownMatchSelectWidth,Xn=wn===void 0?!0:wn,Nn=Ne.filterOption,en=Ne.filterSort,dt=Ne.optionFilterProp,yt=Ne.optionLabelProp,Lt=Ne.options,Bt=Ne.children,Ot=Ne.defaultActiveFirstOption,Yt=Ne.menuItemSelectedIcon,Gt=Ne.virtual,gn=Ne.direction,En=Ne.listHeight,In=En===void 0?200:En,qn=Ne.listItemHeight,er=qn===void 0?20:qn,pr=Ne.value,Cn=Ne.defaultValue,An=Ne.labelInValue,mr=Ne.onChange,Vn=(0,q.Z)(Ne,jt),Dr=(0,Ye.ZP)(mt),tr=Z(pt),dr=!!(!Lt&&Bt),vr=I.useMemo(function(){return Nn===void 0&&pt==="combobox"?!1:Nn},[Nn,pt]),nr=I.useMemo(function(){return O(Kt,dr)},[JSON.stringify(Kt),dr]),Ir=(0,Se.Z)("",{value:un!==void 0?un:sn,postState:function(xr){return xr||""}}),$r=(0,$.Z)(Ir,2),Jn=$r[0],Fn=$r[1],at=Nt(Lt,Bt,nr,dt,yt),zn=at.valueOptions,sr=at.labelOptions,wr=at.options,Cr=I.useCallback(function(or){var xr=te(or);return xr.map(function(lr){var Gn,Pr,Qr,Pi,bi;if(Rt(lr))Gn=lr;else{var Ii;Qr=lr.key,Pr=lr.label,Gn=(Ii=lr.value)!==null&&Ii!==void 0?Ii:Qr}var Ui=zn.get(Gn);if(Ui){var va;if(Pr===void 0&&(Pr=Ui==null?void 0:Ui[yt||nr.label]),Qr===void 0&&(Qr=(va=Ui==null?void 0:Ui.key)!==null&&va!==void 0?va:Gn),Pi=Ui==null?void 0:Ui.disabled,bi=Ui==null?void 0:Ui.title,0)var wa}return{label:Pr,value:Gn,key:Qr,disabled:Pi,title:bi}})},[nr,yt,zn]),Nr=(0,Se.Z)(Cn,{value:pr}),jr=(0,$.Z)(Nr,2),Sr=jr[0],Mr=jr[1],Gr=I.useMemo(function(){var or,xr=Cr(Sr);return pt==="combobox"&&de((or=xr[0])===null||or===void 0?void 0:or.value)?[]:xr},[Sr,Cr,pt]),On=Ke(Gr,zn),Kn=(0,$.Z)(On,2),gr=Kn[0],Lr=Kn[1],Xr=I.useMemo(function(){if(!pt&&gr.length===1){var or=gr[0];if(or.value===null&&(or.label===null||or.label===void 0))return[]}return gr.map(function(xr){var lr;return(0,Ee.Z)((0,Ee.Z)({},xr),{},{label:(lr=xr.label)!==null&&lr!==void 0?lr:xr.value})})},[pt,gr]),jn=I.useMemo(function(){return new Set(gr.map(function(or){return or.value}))},[gr]);I.useEffect(function(){if(pt==="combobox"){var or,xr=(or=gr[0])===null||or===void 0?void 0:or.value;Fn(Q(xr)?String(xr):"")}},[gr]);var zr=_t(function(or,xr){var lr,Gn=xr!=null?xr:or;return lr={},(0,ee.Z)(lr,nr.value,or),(0,ee.Z)(lr,nr.label,Gn),lr}),Vr=I.useMemo(function(){if(pt!=="tags")return wr;var or=(0,L.Z)(wr),xr=function(Gn){return zn.has(Gn)};return(0,L.Z)(gr).sort(function(lr,Gn){return lr.value<Gn.value?-1:1}).forEach(function(lr){var Gn=lr.value;xr(Gn)||or.push(zr(Gn,lr.label))}),or},[zr,wr,zn,gr,pt]),fi=Te(Vr,nr,Jn,vr,dt),ki=I.useMemo(function(){return pt!=="tags"||!Jn||fi.some(function(or){return or[dt||"value"]===Jn})||fi.some(function(or){return or[nr.value]===Jn})?fi:[zr(Jn)].concat((0,L.Z)(fi))},[zr,dt,pt,fi,Jn,nr]),Ai=I.useMemo(function(){return en?(0,L.Z)(ki).sort(function(or,xr){return en(or,xr)}):ki},[ki,en]),ti=I.useMemo(function(){return xe(Ai,{fieldNames:nr,childrenAsData:dr})},[Ai,nr,dr]),vi=function(xr){var lr=Cr(xr);if(Mr(lr),mr&&(lr.length!==gr.length||lr.some(function(Qr,Pi){var bi;return((bi=gr[Pi])===null||bi===void 0?void 0:bi.value)!==(Qr==null?void 0:Qr.value)}))){var Gn=An?lr:lr.map(function(Qr){return Qr.value}),Pr=lr.map(function(Qr){return k(Lr(Qr.value))});mr(tr?Gn:Gn[0],tr?Pr:Pr[0])}},li=I.useState(null),Di=(0,$.Z)(li,2),Fi=Di[0],Vi=Di[1],Ri=I.useState(0),Zi=(0,$.Z)(Ri,2),Kr=Zi[0],aa=Zi[1],ga=Ot!==void 0?Ot:pt!=="combobox",ua=I.useCallback(function(or,xr){var lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Gn=lr.source,Pr=Gn===void 0?"keyboard":Gn;aa(xr),nn&&pt==="combobox"&&or!==null&&Pr==="keyboard"&&Vi(String(or))},[nn,pt]),yi=function(xr,lr,Gn){var Pr=function(){var fa,ur=Lr(xr);return[An?{label:ur==null?void 0:ur[nr.label],value:xr,key:(fa=ur==null?void 0:ur.key)!==null&&fa!==void 0?fa:xr}:xr,k(ur)]};if(lr&&dn){var Qr=Pr(),Pi=(0,$.Z)(Qr,2),bi=Pi[0],Ii=Pi[1];dn(bi,Ii)}else if(!lr&&hn&&Gn!=="clear"){var Ui=Pr(),va=(0,$.Z)(Ui,2),wa=va[0],Wa=va[1];hn(wa,Wa)}},ca=_t(function(or,xr){var lr,Gn=tr?xr.selected:!0;Gn?lr=tr?[].concat((0,L.Z)(gr),[or]):[or]:lr=gr.filter(function(Pr){return Pr.value!==or}),vi(lr),yi(or,Gn),pt==="combobox"?Vi(""):(!Z||ln)&&(Fn(""),Vi(""))}),_a=function(xr,lr){vi(xr);var Gn=lr.type,Pr=lr.values;(Gn==="remove"||Gn==="clear")&&Pr.forEach(function(Qr){yi(Qr.value,!1,Gn)})},Pn=function(xr,lr){if(Fn(xr),Vi(null),lr.source==="submit"){var Gn=(xr||"").trim();if(Gn){var Pr=Array.from(new Set([].concat((0,L.Z)(jn),[Gn])));vi(Pr),yi(Gn,!0),Fn("")}return}lr.source!=="blur"&&(pt==="combobox"&&vi(xr),Ut==null||Ut(xr))},Ni=function(xr){var lr=xr;pt!=="tags"&&(lr=xr.map(function(Pr){var Qr=sr.get(Pr);return Qr==null?void 0:Qr.value}).filter(function(Pr){return Pr!==void 0}));var Gn=Array.from(new Set([].concat((0,L.Z)(jn),(0,L.Z)(lr))));vi(Gn),Gn.forEach(function(Pr){yi(Pr,!0)})},na=I.useMemo(function(){var or=Gt!==!1&&Xn!==!1;return(0,Ee.Z)((0,Ee.Z)({},at),{},{flattenOptions:ti,onActiveValue:ua,defaultActiveFirstOption:ga,onSelect:ca,menuItemSelectedIcon:Yt,rawValues:jn,fieldNames:nr,virtual:or,direction:gn,listHeight:In,listItemHeight:er,childrenAsData:dr})},[at,ti,ua,ga,ca,Yt,jn,nr,Gt,Xn,In,er,dr]);return I.createElement(Je.Provider,{value:na},I.createElement(we,(0,y.Z)({},Vn,{id:Dr,prefixCls:Ht,ref:Ce,omitDomProps:Xt,mode:pt,displayValues:Xr,onDisplayValuesChange:_a,direction:gn,searchValue:Jn,onSearch:Pn,autoClearSearchValue:ln,onSearchSplit:Ni,dropdownMatchSelectWidth:Xn,OptionList:an,emptyOptions:!ti.length,activeValue:Fi,activeDescendantId:"".concat(Dr,"_list_").concat(Kr)})))}),Ze=Ft;Ze.Option=ue,Ze.OptGroup=D;var Et=Ze,xt=Et},9296:function(tn,tt,f){"use strict";f.r(tt),f.d(tt,{ResizableTextArea:function(){return fe},default:function(){return de}});var y=f(92413),L=f(33708),ee=f(400),Ee=f(39559),$=f(33606),q=f(37061),C=f(26407),Se=f(92310),a=f.n(Se),I=f(93681),z=f(5643),S=f(18929),u=f(59301),x=f(29301),m=f(34280),P=f(16089),ce=`
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;
`,U=["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"],W={},ne;function Y(ie){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=ie.getAttribute("id")||ie.getAttribute("data-reactid")||ie.getAttribute("name");if(v&&W[_])return W[_];var V=window.getComputedStyle(ie),J=V.getPropertyValue("box-sizing")||V.getPropertyValue("-moz-box-sizing")||V.getPropertyValue("-webkit-box-sizing"),Le=parseFloat(V.getPropertyValue("padding-bottom"))+parseFloat(V.getPropertyValue("padding-top")),Oe=parseFloat(V.getPropertyValue("border-bottom-width"))+parseFloat(V.getPropertyValue("border-top-width")),Ie=U.map(function(lt){return"".concat(lt,":").concat(V.getPropertyValue(lt))}).join(";"),$e={sizingStyle:Ie,paddingSize:Le,borderSize:Oe,boxSizing:J};return v&&_&&(W[_]=$e),$e}function b(ie){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ne||(ne=document.createElement("textarea"),ne.setAttribute("tab-index","-1"),ne.setAttribute("aria-hidden","true"),document.body.appendChild(ne)),ie.getAttribute("wrap")?ne.setAttribute("wrap",ie.getAttribute("wrap")):ne.removeAttribute("wrap");var J=Y(ie,v),Le=J.paddingSize,Oe=J.borderSize,Ie=J.boxSizing,$e=J.sizingStyle;ne.setAttribute("style","".concat($e,";").concat(ce)),ne.value=ie.value||ie.placeholder||"";var lt=void 0,ut=void 0,it,Pt=ne.scrollHeight;if(Ie==="border-box"?Pt+=Oe:Ie==="content-box"&&(Pt-=Le),_!==null||V!==null){ne.value=" ";var Jt=ne.scrollHeight-Le;_!==null&&(lt=Jt*_,Ie==="border-box"&&(lt=lt+Le+Oe),Pt=Math.max(lt,Pt)),V!==null&&(ut=Jt*V,Ie==="border-box"&&(ut=ut+Le+Oe),it=Pt>ut?"":"hidden",Pt=Math.min(ut,Pt))}var rn={height:Pt,overflowY:it,resize:"none"};return lt&&(rn.minHeight=lt),ut&&(rn.maxHeight=ut),rn}var R=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],G=0,j=1,pe=2,me=u.forwardRef(function(ie,v){var _=ie,V=_.prefixCls,J=_.onPressEnter,Le=_.defaultValue,Oe=_.value,Ie=_.autoSize,$e=_.onResize,lt=_.className,ut=_.style,it=_.disabled,Pt=_.onChange,Jt=_.onInternalAutoSize,rn=(0,q.Z)(_,R),It=(0,S.Z)(Le,{value:Oe,postState:function(D){return D!=null?D:""}}),Zt=(0,$.Z)(It,2),ot=Zt[0],se=Zt[1],be=function(D){se(D.target.value),Pt==null||Pt(D)},H=u.useRef();u.useImperativeHandle(v,function(){return{textArea:H.current}});var O=u.useMemo(function(){return Ie&&(0,Ee.Z)(Ie)==="object"?[Ie.minRows,Ie.maxRows]:[]},[Ie]),xe=(0,$.Z)(O,2),k=xe[0],E=xe[1],T=!!Ie,X=function(){try{if(document.activeElement===H.current){var D=H.current,St=D.selectionStart,ue=D.selectionEnd,Be=D.scrollTop;H.current.setSelectionRange(St,ue),H.current.scrollTop=Be}}catch(pn){}},Z=u.useState(pe),K=(0,$.Z)(Z,2),we=K[0],Ke=K[1],ke=u.useState(),Te=(0,$.Z)(ke,2),Ye=Te[0],et=Te[1],je=function(){Ke(G)};(0,m.Z)(function(){T&&je()},[Oe,k,E,T]),(0,m.Z)(function(){if(we===G)Ke(j);else if(we===j){var w=b(H.current,!1,k,E);Ke(pe),et(w)}else X()},[we]);var vt=u.useRef(),bt=function(){P.Z.cancel(vt.current)},ht=function(D){we===pe&&($e==null||$e(D),Ie&&(bt(),vt.current=(0,P.Z)(function(){je()})))};u.useEffect(function(){return bt},[]);var Nt=T?Ye:null,_t=(0,L.Z)((0,L.Z)({},ut),Nt);return(we===G||we===j)&&(_t.overflowY="hidden",_t.overflowX="hidden"),u.createElement(x.Z,{onResize:ht,disabled:!(Ie||$e)},u.createElement("textarea",(0,y.Z)({},rn,{ref:H,style:_t,className:a()(V,lt,(0,ee.Z)({},"".concat(V,"-disabled"),it)),disabled:it,value:ot,onChange:be})))}),fe=me,ae=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function te(ie,v){return(0,C.Z)(ie||"").slice(0,v).join("")}function M(ie,v,_,V){var J=_;return ie?J=te(_,V):(0,C.Z)(v||"").length<_.length&&(0,C.Z)(_||"").length>V&&(J=v),J}var he=u.forwardRef(function(ie,v){var _,V=ie.defaultValue,J=ie.value,Le=ie.onFocus,Oe=ie.onBlur,Ie=ie.onChange,$e=ie.allowClear,lt=ie.maxLength,ut=ie.onCompositionStart,it=ie.onCompositionEnd,Pt=ie.suffix,Jt=ie.prefixCls,rn=Jt===void 0?"rc-textarea":Jt,It=ie.classes,Zt=ie.showCount,ot=ie.className,se=ie.style,be=ie.disabled,H=ie.hidden,O=ie.classNames,xe=ie.styles,k=ie.onResize,E=(0,q.Z)(ie,ae),T=(0,S.Z)(V,{value:J,defaultValue:V}),X=(0,$.Z)(T,2),Z=X[0],K=X[1],we=(0,u.useRef)(null),Ke=u.useState(!1),ke=(0,$.Z)(Ke,2),Te=ke[0],Ye=ke[1],et=u.useState(!1),je=(0,$.Z)(et,2),vt=je[0],bt=je[1],ht=u.useRef(),Nt=u.useRef(0),_t=u.useState(null),w=(0,$.Z)(_t,2),D=w[0],St=w[1],ue=function(){var Rt;(Rt=we.current)===null||Rt===void 0||Rt.textArea.focus()};(0,u.useImperativeHandle)(v,function(){return{resizableTextArea:we.current,focus:ue,blur:function(){var Rt;(Rt=we.current)===null||Rt===void 0||Rt.textArea.blur()}}}),(0,u.useEffect)(function(){Ye(function(Xt){return!be&&Xt})},[be]);var Be=Number(lt)>0,pn=function(Rt){bt(!0),ht.current=Z,Nt.current=Rt.currentTarget.selectionStart,ut==null||ut(Rt)},Ve=function(Rt){bt(!1);var Ft=Rt.currentTarget.value;if(Be){var Ze,Et=Nt.current>=lt+1||Nt.current===((Ze=ht.current)===null||Ze===void 0?void 0:Ze.length);Ft=M(Et,ht.current,Ft,lt)}Ft!==Z&&(K(Ft),(0,z.rJ)(Rt.currentTarget,Rt,Ie,Ft)),it==null||it(Rt)},nt=function(Rt){var Ft=Rt.target.value;if(!vt&&Be){var Ze=Rt.target.selectionStart>=lt+1||Rt.target.selectionStart===Ft.length||!Rt.target.selectionStart;Ft=M(Ze,Z,Ft,lt)}K(Ft),(0,z.rJ)(Rt.currentTarget,Rt,Ie,Ft)},Je=function(Rt){var Ft=E.onPressEnter,Ze=E.onKeyDown;Rt.key==="Enter"&&Ft&&Ft(Rt),Ze==null||Ze(Rt)},Ae=function(Rt){Ye(!0),Le==null||Le(Rt)},De=function(Rt){Ye(!1),Oe==null||Oe(Rt)},ze=function(Rt){var Ft;K(""),ue(),(0,z.rJ)((Ft=we.current)===null||Ft===void 0?void 0:Ft.textArea,Rt,Ie)},qe=(0,z.D7)(Z);!vt&&Be&&J==null&&(qe=te(qe,lt));var ve=Pt,an;if(Zt){var Ge=(0,C.Z)(qe).length;(0,Ee.Z)(Zt)==="object"?an=Zt.formatter({value:qe,count:Ge,maxLength:lt}):an="".concat(Ge).concat(Be?" / ".concat(lt):""),ve=u.createElement(u.Fragment,null,ve,u.createElement("span",{className:a()("".concat(rn,"-data-count"),O==null?void 0:O.count),style:xe==null?void 0:xe.count},an))}var mn=function(Rt){var Ft;k==null||k(Rt),(Ft=we.current)!==null&&Ft!==void 0&&Ft.textArea.style.height&&St(!0)},_n=!E.autoSize&&!Zt&&!$e,jt=u.createElement(I.BaseInput,{value:qe,allowClear:$e,handleReset:ze,suffix:ve,prefixCls:rn,classes:{affixWrapper:a()(It==null?void 0:It.affixWrapper,(_={},(0,ee.Z)(_,"".concat(rn,"-show-count"),Zt),(0,ee.Z)(_,"".concat(rn,"-textarea-allow-clear"),$e),_))},disabled:be,focused:Te,className:ot,style:(0,L.Z)((0,L.Z)({},se),D&&!_n?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof an=="string"?an:void 0}},hidden:H,inputElement:u.createElement(fe,(0,y.Z)({},E,{onKeyDown:Je,onChange:nt,onFocus:Ae,onBlur:De,onCompositionStart:pn,onCompositionEnd:Ve,className:O==null?void 0:O.textarea,style:(0,L.Z)((0,L.Z)({},xe==null?void 0:xe.textarea),{},{resize:se==null?void 0:se.resize}),disabled:be,prefixCls:rn,onResize:mn,ref:we}))});return jt}),Q=he,de=Q},55477:function(tn,tt,f){"use strict";f.d(tt,{G:function(){return u},Z:function(){return ce}});var y=f(92413),L=f(33708),ee=f(37061),Ee=f(35593),$=f(59301),q={shiftX:64,adjustY:1},C={adjustX:1,shiftY:!0},Se=[0,0],a={left:{points:["cr","cl"],overflow:C,offset:[-4,0],targetOffset:Se},right:{points:["cl","cr"],overflow:C,offset:[4,0],targetOffset:Se},top:{points:["bc","tc"],overflow:q,offset:[0,-4],targetOffset:Se},bottom:{points:["tc","bc"],overflow:q,offset:[0,4],targetOffset:Se},topLeft:{points:["bl","tl"],overflow:q,offset:[0,-4],targetOffset:Se},leftTop:{points:["tr","tl"],overflow:C,offset:[-4,0],targetOffset:Se},topRight:{points:["br","tr"],overflow:q,offset:[0,-4],targetOffset:Se},rightTop:{points:["tl","tr"],overflow:C,offset:[4,0],targetOffset:Se},bottomRight:{points:["tr","br"],overflow:q,offset:[0,4],targetOffset:Se},rightBottom:{points:["bl","br"],overflow:C,offset:[4,0],targetOffset:Se},bottomLeft:{points:["tl","bl"],overflow:q,offset:[0,4],targetOffset:Se},leftBottom:{points:["br","bl"],overflow:C,offset:[-4,0],targetOffset:Se}},I=null,z=f(92310),S=f.n(z);function u(U){var W=U.children,ne=U.prefixCls,Y=U.id,b=U.overlayInnerStyle,R=U.className,G=U.style;return $.createElement("div",{className:S()("".concat(ne,"-content"),R),style:G},$.createElement("div",{className:"".concat(ne,"-inner"),id:Y,role:"tooltip",style:b},typeof W=="function"?W():W))}var x=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],m=function(W,ne){var Y=W.overlayClassName,b=W.trigger,R=b===void 0?["hover"]:b,G=W.mouseEnterDelay,j=G===void 0?0:G,pe=W.mouseLeaveDelay,me=pe===void 0?.1:pe,fe=W.overlayStyle,ae=W.prefixCls,te=ae===void 0?"rc-tooltip":ae,M=W.children,he=W.onVisibleChange,Q=W.afterVisibleChange,de=W.transitionName,ie=W.animation,v=W.motion,_=W.placement,V=_===void 0?"right":_,J=W.align,Le=J===void 0?{}:J,Oe=W.destroyTooltipOnHide,Ie=Oe===void 0?!1:Oe,$e=W.defaultVisible,lt=W.getTooltipContainer,ut=W.overlayInnerStyle,it=W.arrowContent,Pt=W.overlay,Jt=W.id,rn=W.showArrow,It=rn===void 0?!0:rn,Zt=(0,ee.Z)(W,x),ot=(0,$.useRef)(null);(0,$.useImperativeHandle)(ne,function(){return ot.current});var se=(0,L.Z)({},Zt);"visible"in W&&(se.popupVisible=W.visible);var be=function(){return $.createElement(u,{key:"content",prefixCls:te,id:Jt,overlayInnerStyle:ut},Pt)};return $.createElement(Ee.Z,(0,y.Z)({popupClassName:Y,prefixCls:te,popup:be,action:R,builtinPlacements:a,popupPlacement:V,ref:ot,popupAlign:Le,getPopupContainer:lt,onPopupVisibleChange:he,afterPopupVisibleChange:Q,popupTransitionName:de,popupAnimation:ie,popupMotion:v,defaultPopupVisible:$e,autoDestroy:Ie,mouseLeaveDelay:me,popupStyle:fe,mouseEnterDelay:j,arrow:It},se),M)},P=(0,$.forwardRef)(m),ce=P},39417:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return j}});var y=f(92413),L=f(400),ee=f(37061),Ee=f(33708),$=f(6909),q=f(4771),C=f(25314),Se=f(9427),a=f(25440),I=f(92310),z=f.n(I),S=f(26112),u=f(59301),x=f(39378),m=function(me){for(var fe=me.prefixCls,ae=me.level,te=me.isStart,M=me.isEnd,he="".concat(fe,"-indent-unit"),Q=[],de=0;de<ae;de+=1){var ie;Q.push(u.createElement("span",{key:de,className:z()(he,(ie={},(0,L.Z)(ie,"".concat(he,"-start"),te[de]),(0,L.Z)(ie,"".concat(he,"-end"),M[de]),ie))}))}return u.createElement("span",{"aria-hidden":"true",className:"".concat(fe,"-indent")},Q)},P=u.memo(m),ce=f(67841),U=f(71430),W=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ne="open",Y="close",b="---",R=function(pe){(0,Se.Z)(fe,pe);var me=(0,a.Z)(fe);function fe(){var ae;(0,$.Z)(this,fe);for(var te=arguments.length,M=new Array(te),he=0;he<te;he++)M[he]=arguments[he];return ae=me.call.apply(me,[this].concat(M)),ae.state={dragNodeHighlight:!1},ae.selectHandle=void 0,ae.cacheIndent=void 0,ae.onSelectorClick=function(Q){var de=ae.props.context.onNodeClick;de(Q,(0,U.F)(ae.props)),ae.isSelectable()?ae.onSelect(Q):ae.onCheck(Q)},ae.onSelectorDoubleClick=function(Q){var de=ae.props.context.onNodeDoubleClick;de(Q,(0,U.F)(ae.props))},ae.onSelect=function(Q){if(!ae.isDisabled()){var de=ae.props.context.onNodeSelect;de(Q,(0,U.F)(ae.props))}},ae.onCheck=function(Q){if(!ae.isDisabled()){var de=ae.props,ie=de.disableCheckbox,v=de.checked,_=ae.props.context.onNodeCheck;if(!(!ae.isCheckable()||ie)){var V=!v;_(Q,(0,U.F)(ae.props),V)}}},ae.onMouseEnter=function(Q){var de=ae.props.context.onNodeMouseEnter;de(Q,(0,U.F)(ae.props))},ae.onMouseLeave=function(Q){var de=ae.props.context.onNodeMouseLeave;de(Q,(0,U.F)(ae.props))},ae.onContextMenu=function(Q){var de=ae.props.context.onNodeContextMenu;de(Q,(0,U.F)(ae.props))},ae.onDragStart=function(Q){var de=ae.props.context.onNodeDragStart;Q.stopPropagation(),ae.setState({dragNodeHighlight:!0}),de(Q,(0,C.Z)(ae));try{Q.dataTransfer.setData("text/plain","")}catch(ie){}},ae.onDragEnter=function(Q){var de=ae.props.context.onNodeDragEnter;Q.preventDefault(),Q.stopPropagation(),de(Q,(0,C.Z)(ae))},ae.onDragOver=function(Q){var de=ae.props.context.onNodeDragOver;Q.preventDefault(),Q.stopPropagation(),de(Q,(0,C.Z)(ae))},ae.onDragLeave=function(Q){var de=ae.props.context.onNodeDragLeave;Q.stopPropagation(),de(Q,(0,C.Z)(ae))},ae.onDragEnd=function(Q){var de=ae.props.context.onNodeDragEnd;Q.stopPropagation(),ae.setState({dragNodeHighlight:!1}),de(Q,(0,C.Z)(ae))},ae.onDrop=function(Q){var de=ae.props.context.onNodeDrop;Q.preventDefault(),Q.stopPropagation(),ae.setState({dragNodeHighlight:!1}),de(Q,(0,C.Z)(ae))},ae.onExpand=function(Q){var de=ae.props,ie=de.loading,v=de.context.onNodeExpand;ie||v(Q,(0,U.F)(ae.props))},ae.setSelectHandle=function(Q){ae.selectHandle=Q},ae.getNodeState=function(){var Q=ae.props.expanded;return ae.isLeaf()?null:Q?ne:Y},ae.hasChildren=function(){var Q=ae.props.eventKey,de=ae.props.context.keyEntities,ie=(0,ce.Z)(de,Q)||{},v=ie.children;return!!(v||[]).length},ae.isLeaf=function(){var Q=ae.props,de=Q.isLeaf,ie=Q.loaded,v=ae.props.context.loadData,_=ae.hasChildren();return de===!1?!1:de||!v&&!_||v&&ie&&!_},ae.isDisabled=function(){var Q=ae.props.disabled,de=ae.props.context.disabled;return!!(de||Q)},ae.isCheckable=function(){var Q=ae.props.checkable,de=ae.props.context.checkable;return!de||Q===!1?!1:de},ae.syncLoadData=function(Q){var de=Q.expanded,ie=Q.loading,v=Q.loaded,_=ae.props.context,V=_.loadData,J=_.onNodeLoad;ie||V&&de&&!ae.isLeaf()&&!ae.hasChildren()&&!v&&J((0,U.F)(ae.props))},ae.isDraggable=function(){var Q=ae.props,de=Q.data,ie=Q.context.draggable;return!!(ie&&(!ie.nodeDraggable||ie.nodeDraggable(de)))},ae.renderDragHandler=function(){var Q=ae.props.context,de=Q.draggable,ie=Q.prefixCls;return de!=null&&de.icon?u.createElement("span",{className:"".concat(ie,"-draggable-icon")},de.icon):null},ae.renderSwitcherIconDom=function(Q){var de=ae.props.switcherIcon,ie=ae.props.context.switcherIcon,v=de||ie;return typeof v=="function"?v((0,Ee.Z)((0,Ee.Z)({},ae.props),{},{isLeaf:Q})):v},ae.renderSwitcher=function(){var Q=ae.props.expanded,de=ae.props.context.prefixCls;if(ae.isLeaf()){var ie=ae.renderSwitcherIconDom(!0);return ie!==!1?u.createElement("span",{className:z()("".concat(de,"-switcher"),"".concat(de,"-switcher-noop"))},ie):null}var v=z()("".concat(de,"-switcher"),"".concat(de,"-switcher_").concat(Q?ne:Y)),_=ae.renderSwitcherIconDom(!1);return _!==!1?u.createElement("span",{onClick:ae.onExpand,className:v},_):null},ae.renderCheckbox=function(){var Q=ae.props,de=Q.checked,ie=Q.halfChecked,v=Q.disableCheckbox,_=ae.props.context.prefixCls,V=ae.isDisabled(),J=ae.isCheckable();if(!J)return null;var Le=typeof J!="boolean"?J:null;return u.createElement("span",{className:z()("".concat(_,"-checkbox"),de&&"".concat(_,"-checkbox-checked"),!de&&ie&&"".concat(_,"-checkbox-indeterminate"),(V||v)&&"".concat(_,"-checkbox-disabled")),onClick:ae.onCheck},Le)},ae.renderIcon=function(){var Q=ae.props.loading,de=ae.props.context.prefixCls;return u.createElement("span",{className:z()("".concat(de,"-iconEle"),"".concat(de,"-icon__").concat(ae.getNodeState()||"docu"),Q&&"".concat(de,"-icon_loading"))})},ae.renderSelector=function(){var Q=ae.state.dragNodeHighlight,de=ae.props,ie=de.title,v=ie===void 0?b:ie,_=de.selected,V=de.icon,J=de.loading,Le=de.data,Oe=ae.props.context,Ie=Oe.prefixCls,$e=Oe.showIcon,lt=Oe.icon,ut=Oe.loadData,it=Oe.titleRender,Pt=ae.isDisabled(),Jt="".concat(Ie,"-node-content-wrapper"),rn;if($e){var It=V||lt;rn=It?u.createElement("span",{className:z()("".concat(Ie,"-iconEle"),"".concat(Ie,"-icon__customize"))},typeof It=="function"?It(ae.props):It):ae.renderIcon()}else ut&&J&&(rn=ae.renderIcon());var Zt;typeof v=="function"?Zt=v(Le):it?Zt=it(Le):Zt=v;var ot=u.createElement("span",{className:"".concat(Ie,"-title")},Zt);return u.createElement("span",{ref:ae.setSelectHandle,title:typeof v=="string"?v:"",className:z()("".concat(Jt),"".concat(Jt,"-").concat(ae.getNodeState()||"normal"),!Pt&&(_||Q)&&"".concat(Ie,"-node-selected")),onMouseEnter:ae.onMouseEnter,onMouseLeave:ae.onMouseLeave,onContextMenu:ae.onContextMenu,onClick:ae.onSelectorClick,onDoubleClick:ae.onSelectorDoubleClick},rn,ot,ae.renderDropIndicator())},ae.renderDropIndicator=function(){var Q=ae.props,de=Q.disabled,ie=Q.eventKey,v=ae.props.context,_=v.draggable,V=v.dropLevelOffset,J=v.dropPosition,Le=v.prefixCls,Oe=v.indent,Ie=v.dropIndicatorRender,$e=v.dragOverNodeKey,lt=v.direction,ut=!!_,it=!de&&ut&&$e===ie,Pt=Oe!=null?Oe:ae.cacheIndent;return ae.cacheIndent=Oe,it?Ie({dropPosition:J,dropLevelOffset:V,indent:Pt,prefixCls:Le,direction:lt}):null},ae}return(0,q.Z)(fe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var te=this.props.selectable,M=this.props.context.selectable;return typeof te=="boolean"?te:M}},{key:"render",value:function(){var te,M=this.props,he=M.eventKey,Q=M.className,de=M.style,ie=M.dragOver,v=M.dragOverGapTop,_=M.dragOverGapBottom,V=M.isLeaf,J=M.isStart,Le=M.isEnd,Oe=M.expanded,Ie=M.selected,$e=M.checked,lt=M.halfChecked,ut=M.loading,it=M.domRef,Pt=M.active,Jt=M.data,rn=M.onMouseMove,It=M.selectable,Zt=(0,ee.Z)(M,W),ot=this.props.context,se=ot.prefixCls,be=ot.filterTreeNode,H=ot.keyEntities,O=ot.dropContainerKey,xe=ot.dropTargetKey,k=ot.draggingNodeKey,E=this.isDisabled(),T=(0,S.Z)(Zt,{aria:!0,data:!0}),X=(0,ce.Z)(H,he)||{},Z=X.level,K=Le[Le.length-1],we=this.isDraggable(),Ke=!E&&we,ke=k===he,Te=It!==void 0?{"aria-selected":!!It}:void 0;return u.createElement("div",(0,y.Z)({ref:it,className:z()(Q,"".concat(se,"-treenode"),(te={},(0,L.Z)(te,"".concat(se,"-treenode-disabled"),E),(0,L.Z)(te,"".concat(se,"-treenode-switcher-").concat(Oe?"open":"close"),!V),(0,L.Z)(te,"".concat(se,"-treenode-checkbox-checked"),$e),(0,L.Z)(te,"".concat(se,"-treenode-checkbox-indeterminate"),lt),(0,L.Z)(te,"".concat(se,"-treenode-selected"),Ie),(0,L.Z)(te,"".concat(se,"-treenode-loading"),ut),(0,L.Z)(te,"".concat(se,"-treenode-active"),Pt),(0,L.Z)(te,"".concat(se,"-treenode-leaf-last"),K),(0,L.Z)(te,"".concat(se,"-treenode-draggable"),we),(0,L.Z)(te,"dragging",ke),(0,L.Z)(te,"drop-target",xe===he),(0,L.Z)(te,"drop-container",O===he),(0,L.Z)(te,"drag-over",!E&&ie),(0,L.Z)(te,"drag-over-gap-top",!E&&v),(0,L.Z)(te,"drag-over-gap-bottom",!E&&_),(0,L.Z)(te,"filter-node",be&&be((0,U.F)(this.props))),te)),style:de,draggable:Ke,"aria-grabbed":ke,onDragStart:Ke?this.onDragStart:void 0,onDragEnter:we?this.onDragEnter:void 0,onDragOver:we?this.onDragOver:void 0,onDragLeave:we?this.onDragLeave:void 0,onDrop:we?this.onDrop:void 0,onDragEnd:we?this.onDragEnd:void 0,onMouseMove:rn},Te,T),u.createElement(P,{prefixCls:se,level:Z,isStart:J,isEnd:Le}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),fe}(u.Component),G=function(me){return u.createElement(x.k.Consumer,null,function(fe){return u.createElement(R,(0,y.Z)({},me,{context:fe}))})};G.displayName="TreeNode",G.isTreeNode=1;var j=G},39378:function(tn,tt,f){"use strict";f.d(tt,{k:function(){return L}});var y=f(59301),L=y.createContext(null)},23130:function(tn,tt,f){"use strict";f.d(tt,{O:function(){return j.Z},Z:function(){return ot}});var y=f(92413),L=f(400),ee=f(39559),Ee=f(33708),$=f(26407),q=f(6909),C=f(4771),Se=f(25314),a=f(9427),I=f(25440),z=f(92310),S=f.n(z),u=f(10228),x=f(26112),m=f(48736),P=f(59301),ce=f(39378);function U(se){var be=se.dropPosition,H=se.dropLevelOffset,O=se.indent,xe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(be){case-1:xe.top=0,xe.left=-H*O;break;case 1:xe.bottom=0,xe.left=-H*O;break;case 0:xe.bottom=0,xe.left=O;break}return P.createElement("div",{style:xe})}function W(se){if(se==null)throw new TypeError("Cannot destructure "+se)}var ne=f(33606),Y=f(37061),b=f(34280),R=f(57149),G=f(77900),j=f(39417);function pe(se,be){var H=P.useState(!1),O=(0,ne.Z)(H,2),xe=O[0],k=O[1];P.useLayoutEffect(function(){if(xe)return se(),function(){be()}},[xe]),P.useLayoutEffect(function(){return k(!0),function(){k(!1)}},[])}var me=f(71430),fe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],ae=function(be,H){var O=be.className,xe=be.style,k=be.motion,E=be.motionNodes,T=be.motionType,X=be.onMotionStart,Z=be.onMotionEnd,K=be.active,we=be.treeNodeRequiredProps,Ke=(0,Y.Z)(be,fe),ke=P.useState(!0),Te=(0,ne.Z)(ke,2),Ye=Te[0],et=Te[1],je=P.useContext(ce.k),vt=je.prefixCls,bt=E&&T!=="hide";(0,b.Z)(function(){E&&bt!==Ye&&et(bt)},[E]);var ht=function(){E&&X()},Nt=P.useRef(!1),_t=function(){E&&!Nt.current&&(Nt.current=!0,Z())};pe(ht,_t);var w=function(St){bt===St&&_t()};return E?P.createElement(G.default,(0,y.Z)({ref:H,visible:Ye},k,{motionAppear:T==="show",onVisibleChanged:w}),function(D,St){var ue=D.className,Be=D.style;return P.createElement("div",{ref:St,className:S()("".concat(vt,"-treenode-motion"),ue),style:Be},E.map(function(pn){var Ve=(0,y.Z)({},(W(pn.data),pn.data)),nt=pn.title,Je=pn.key,Ae=pn.isStart,De=pn.isEnd;delete Ve.children;var ze=(0,me.H8)(Je,we);return P.createElement(j.Z,(0,y.Z)({},Ve,ze,{title:nt,active:K,data:pn.data,key:Je,isStart:Ae,isEnd:De}))}))}):P.createElement(j.Z,(0,y.Z)({domRef:H,className:O,style:xe},Ke,{active:K}))};ae.displayName="MotionTreeNode";var te=P.forwardRef(ae),M=te;function he(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],H=se.length,O=be.length;if(Math.abs(H-O)!==1)return{add:!1,key:null};function xe(k,E){var T=new Map;k.forEach(function(Z){T.set(Z,!0)});var X=E.filter(function(Z){return!T.has(Z)});return X.length===1?X[0]:null}return H<O?{add:!0,key:xe(se,be)}:{add:!1,key:xe(be,se)}}function Q(se,be,H){var O=se.findIndex(function(T){return T.key===H}),xe=se[O+1],k=be.findIndex(function(T){return T.key===H});if(xe){var E=be.findIndex(function(T){return T.key===xe.key});return be.slice(k+1,E)}return be.slice(k+1)}var de=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],ie={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},v=function(){},_="RC_TREE_MOTION_".concat(Math.random()),V={key:_},J={key:_,level:0,index:0,pos:"0",node:V,nodes:[V]},Le={parent:null,children:[],pos:J.pos,data:V,title:null,key:_,isStart:[],isEnd:[]};function Oe(se,be,H,O){return be===!1||!H?se:se.slice(0,Math.ceil(H/O)+1)}function Ie(se){var be=se.key,H=se.pos;return(0,me.km)(be,H)}function $e(se){for(var be=String(se.data.key),H=se;H.parent;)H=H.parent,be="".concat(H.data.key," > ").concat(be);return be}var lt=P.forwardRef(function(se,be){var H=se.prefixCls,O=se.data,xe=se.selectable,k=se.checkable,E=se.expandedKeys,T=se.selectedKeys,X=se.checkedKeys,Z=se.loadedKeys,K=se.loadingKeys,we=se.halfCheckedKeys,Ke=se.keyEntities,ke=se.disabled,Te=se.dragging,Ye=se.dragOverNodeKey,et=se.dropPosition,je=se.motion,vt=se.height,bt=se.itemHeight,ht=se.virtual,Nt=se.focusable,_t=se.activeItem,w=se.focused,D=se.tabIndex,St=se.onKeyDown,ue=se.onFocus,Be=se.onBlur,pn=se.onActiveChange,Ve=se.onListChangeStart,nt=se.onListChangeEnd,Je=(0,Y.Z)(se,de),Ae=P.useRef(null),De=P.useRef(null);P.useImperativeHandle(be,function(){return{scrollTo:function(kt){Ae.current.scrollTo(kt)},getIndentWidth:function(){return De.current.offsetWidth}}});var ze=P.useState(E),qe=(0,ne.Z)(ze,2),ve=qe[0],an=qe[1],Ge=P.useState(O),mn=(0,ne.Z)(Ge,2),_n=mn[0],jt=mn[1],Xt=P.useState(O),Rt=(0,ne.Z)(Xt,2),Ft=Rt[0],Ze=Rt[1],Et=P.useState([]),xt=(0,ne.Z)(Et,2),Ne=xt[0],Ce=xt[1],mt=P.useState(null),pt=(0,ne.Z)(mt,2),Dt=pt[0],Ht=pt[1],nn=P.useRef(O);nn.current=O;function Kt(){var Ut=nn.current;jt(Ut),Ze(Ut),Ce([]),Ht(null),nt()}(0,b.Z)(function(){an(E);var Ut=he(ve,E);if(Ut.key!==null)if(Ut.add){var kt=_n.findIndex(function(Nn){var en=Nn.key;return en===Ut.key}),ln=Oe(Q(_n,O,Ut.key),ht,vt,bt),dn=_n.slice();dn.splice(kt+1,0,Le),Ze(dn),Ce(ln),Ht("show")}else{var hn=O.findIndex(function(Nn){var en=Nn.key;return en===Ut.key}),wn=Oe(Q(O,_n,Ut.key),ht,vt,bt),Xn=O.slice();Xn.splice(hn+1,0,Le),Ze(Xn),Ce(wn),Ht("hide")}else _n!==O&&(jt(O),Ze(O))},[E,O]),P.useEffect(function(){Te||Kt()},[Te]);var sn=je?Ft:O,un={expandedKeys:E,selectedKeys:T,loadedKeys:Z,loadingKeys:K,checkedKeys:X,halfCheckedKeys:we,dragOverNodeKey:Ye,dropPosition:et,keyEntities:Ke};return P.createElement(P.Fragment,null,w&&_t&&P.createElement("span",{style:ie,"aria-live":"assertive"},$e(_t)),P.createElement("div",null,P.createElement("input",{style:ie,disabled:Nt===!1||ke,tabIndex:Nt!==!1?D:null,onKeyDown:St,onFocus:ue,onBlur:Be,value:"",onChange:v,"aria-label":"for screen reader"})),P.createElement("div",{className:"".concat(H,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},P.createElement("div",{className:"".concat(H,"-indent")},P.createElement("div",{ref:De,className:"".concat(H,"-indent-unit")}))),P.createElement(R.Z,(0,y.Z)({},Je,{data:sn,itemKey:Ie,height:vt,fullHeight:!1,virtual:ht,itemHeight:bt,prefixCls:"".concat(H,"-list"),ref:Ae,onVisibleChange:function(kt,ln){var dn=new Set(kt),hn=ln.filter(function(wn){return!dn.has(wn)});hn.some(function(wn){return Ie(wn)===_})&&Kt()}}),function(Ut){var kt=Ut.pos,ln=(0,y.Z)({},(W(Ut.data),Ut.data)),dn=Ut.title,hn=Ut.key,wn=Ut.isStart,Xn=Ut.isEnd,Nn=(0,me.km)(hn,kt);delete ln.key,delete ln.children;var en=(0,me.H8)(Nn,un);return P.createElement(M,(0,y.Z)({},ln,en,{title:dn,active:!!_t&&hn===_t.key,pos:kt,data:Ut.data,isStart:wn,isEnd:Xn,motion:je,motionNodes:hn===_?Ne:null,motionType:Dt,onMotionStart:Ve,onMotionEnd:Kt,treeNodeRequiredProps:un,onMouseMove:function(){pn(null)}}))}))});lt.displayName="NodeList";var ut=lt,it=f(35654),Pt=f(90782),Jt=f(67841),rn=10,It=function(se){(0,a.Z)(H,se);var be=(0,I.Z)(H);function H(){var O;(0,q.Z)(this,H);for(var xe=arguments.length,k=new Array(xe),E=0;E<xe;E++)k[E]=arguments[E];return O=be.call.apply(be,[this].concat(k)),O.destroyed=!1,O.delayedDragEnterLogic=void 0,O.loadingRetryTimes={},O.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,me.w$)()},O.dragStartMousePosition=null,O.dragNode=void 0,O.currentMouseOverDroppableNodeKey=null,O.listRef=P.createRef(),O.onNodeDragStart=function(T,X){var Z=O.state,K=Z.expandedKeys,we=Z.keyEntities,Ke=O.props.onDragStart,ke=X.props.eventKey;O.dragNode=X,O.dragStartMousePosition={x:T.clientX,y:T.clientY};var Te=(0,it._5)(K,ke);O.setState({draggingNodeKey:ke,dragChildrenKeys:(0,it.wA)(ke,we),indent:O.listRef.current.getIndentWidth()}),O.setExpandedKeys(Te),window.addEventListener("dragend",O.onWindowDragEnd),Ke==null||Ke({event:T,node:(0,me.F)(X.props)})},O.onNodeDragEnter=function(T,X){var Z=O.state,K=Z.expandedKeys,we=Z.keyEntities,Ke=Z.dragChildrenKeys,ke=Z.flattenNodes,Te=Z.indent,Ye=O.props,et=Ye.onDragEnter,je=Ye.onExpand,vt=Ye.allowDrop,bt=Ye.direction,ht=X.props,Nt=ht.pos,_t=ht.eventKey,w=(0,Se.Z)(O),D=w.dragNode;if(O.currentMouseOverDroppableNodeKey!==_t&&(O.currentMouseOverDroppableNodeKey=_t),!D){O.resetDragState();return}var St=(0,it.OM)(T,D,X,Te,O.dragStartMousePosition,vt,ke,we,K,bt),ue=St.dropPosition,Be=St.dropLevelOffset,pn=St.dropTargetKey,Ve=St.dropContainerKey,nt=St.dropTargetPos,Je=St.dropAllowed,Ae=St.dragOverNodeKey;if(Ke.indexOf(pn)!==-1||!Je){O.resetDragState();return}if(O.delayedDragEnterLogic||(O.delayedDragEnterLogic={}),Object.keys(O.delayedDragEnterLogic).forEach(function(De){clearTimeout(O.delayedDragEnterLogic[De])}),D.props.eventKey!==X.props.eventKey&&(T.persist(),O.delayedDragEnterLogic[Nt]=window.setTimeout(function(){if(O.state.draggingNodeKey!==null){var De=(0,$.Z)(K),ze=(0,Jt.Z)(we,X.props.eventKey);ze&&(ze.children||[]).length&&(De=(0,it.L0)(K,X.props.eventKey)),"expandedKeys"in O.props||O.setExpandedKeys(De),je==null||je(De,{node:(0,me.F)(X.props),expanded:!0,nativeEvent:T.nativeEvent})}},800)),D.props.eventKey===pn&&Be===0){O.resetDragState();return}O.setState({dragOverNodeKey:Ae,dropPosition:ue,dropLevelOffset:Be,dropTargetKey:pn,dropContainerKey:Ve,dropTargetPos:nt,dropAllowed:Je}),et==null||et({event:T,node:(0,me.F)(X.props),expandedKeys:K})},O.onNodeDragOver=function(T,X){var Z=O.state,K=Z.dragChildrenKeys,we=Z.flattenNodes,Ke=Z.keyEntities,ke=Z.expandedKeys,Te=Z.indent,Ye=O.props,et=Ye.onDragOver,je=Ye.allowDrop,vt=Ye.direction,bt=(0,Se.Z)(O),ht=bt.dragNode;if(ht){var Nt=(0,it.OM)(T,ht,X,Te,O.dragStartMousePosition,je,we,Ke,ke,vt),_t=Nt.dropPosition,w=Nt.dropLevelOffset,D=Nt.dropTargetKey,St=Nt.dropContainerKey,ue=Nt.dropAllowed,Be=Nt.dropTargetPos,pn=Nt.dragOverNodeKey;K.indexOf(D)!==-1||!ue||(ht.props.eventKey===D&&w===0?O.state.dropPosition===null&&O.state.dropLevelOffset===null&&O.state.dropTargetKey===null&&O.state.dropContainerKey===null&&O.state.dropTargetPos===null&&O.state.dropAllowed===!1&&O.state.dragOverNodeKey===null||O.resetDragState():_t===O.state.dropPosition&&w===O.state.dropLevelOffset&&D===O.state.dropTargetKey&&St===O.state.dropContainerKey&&Be===O.state.dropTargetPos&&ue===O.state.dropAllowed&&pn===O.state.dragOverNodeKey||O.setState({dropPosition:_t,dropLevelOffset:w,dropTargetKey:D,dropContainerKey:St,dropTargetPos:Be,dropAllowed:ue,dragOverNodeKey:pn}),et==null||et({event:T,node:(0,me.F)(X.props)}))}},O.onNodeDragLeave=function(T,X){O.currentMouseOverDroppableNodeKey===X.props.eventKey&&!T.currentTarget.contains(T.relatedTarget)&&(O.resetDragState(),O.currentMouseOverDroppableNodeKey=null);var Z=O.props.onDragLeave;Z==null||Z({event:T,node:(0,me.F)(X.props)})},O.onWindowDragEnd=function(T){O.onNodeDragEnd(T,null,!0),window.removeEventListener("dragend",O.onWindowDragEnd)},O.onNodeDragEnd=function(T,X){var Z=O.props.onDragEnd;O.setState({dragOverNodeKey:null}),O.cleanDragState(),Z==null||Z({event:T,node:(0,me.F)(X.props)}),O.dragNode=null,window.removeEventListener("dragend",O.onWindowDragEnd)},O.onNodeDrop=function(T,X){var Z,K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,we=O.state,Ke=we.dragChildrenKeys,ke=we.dropPosition,Te=we.dropTargetKey,Ye=we.dropTargetPos,et=we.dropAllowed;if(et){var je=O.props.onDrop;if(O.setState({dragOverNodeKey:null}),O.cleanDragState(),Te!==null){var vt=(0,Ee.Z)((0,Ee.Z)({},(0,me.H8)(Te,O.getTreeNodeRequiredProps())),{},{active:((Z=O.getActiveItem())===null||Z===void 0?void 0:Z.key)===Te,data:(0,Jt.Z)(O.state.keyEntities,Te).node}),bt=Ke.indexOf(Te)!==-1;(0,m.ZP)(!bt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ht=(0,it.yx)(Ye),Nt={event:T,node:(0,me.F)(vt),dragNode:O.dragNode?(0,me.F)(O.dragNode.props):null,dragNodesKeys:[O.dragNode.props.eventKey].concat(Ke),dropToGap:ke!==0,dropPosition:ke+Number(ht[ht.length-1])};K||je==null||je(Nt),O.dragNode=null}}},O.cleanDragState=function(){var T=O.state.draggingNodeKey;T!==null&&O.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),O.dragStartMousePosition=null,O.currentMouseOverDroppableNodeKey=null},O.triggerExpandActionExpand=function(T,X){var Z=O.state,K=Z.expandedKeys,we=Z.flattenNodes,Ke=X.expanded,ke=X.key,Te=X.isLeaf;if(!(Te||T.shiftKey||T.metaKey||T.ctrlKey)){var Ye=we.filter(function(je){return je.key===ke})[0],et=(0,me.F)((0,Ee.Z)((0,Ee.Z)({},(0,me.H8)(ke,O.getTreeNodeRequiredProps())),{},{data:Ye.data}));O.setExpandedKeys(Ke?(0,it._5)(K,ke):(0,it.L0)(K,ke)),O.onNodeExpand(T,et)}},O.onNodeClick=function(T,X){var Z=O.props,K=Z.onClick,we=Z.expandAction;we==="click"&&O.triggerExpandActionExpand(T,X),K==null||K(T,X)},O.onNodeDoubleClick=function(T,X){var Z=O.props,K=Z.onDoubleClick,we=Z.expandAction;we==="doubleClick"&&O.triggerExpandActionExpand(T,X),K==null||K(T,X)},O.onNodeSelect=function(T,X){var Z=O.state.selectedKeys,K=O.state,we=K.keyEntities,Ke=K.fieldNames,ke=O.props,Te=ke.onSelect,Ye=ke.multiple,et=X.selected,je=X[Ke.key],vt=!et;vt?Ye?Z=(0,it.L0)(Z,je):Z=[je]:Z=(0,it._5)(Z,je);var bt=Z.map(function(ht){var Nt=(0,Jt.Z)(we,ht);return Nt?Nt.node:null}).filter(function(ht){return ht});O.setUncontrolledState({selectedKeys:Z}),Te==null||Te(Z,{event:"select",selected:vt,node:X,selectedNodes:bt,nativeEvent:T.nativeEvent})},O.onNodeCheck=function(T,X,Z){var K=O.state,we=K.keyEntities,Ke=K.checkedKeys,ke=K.halfCheckedKeys,Te=O.props,Ye=Te.checkStrictly,et=Te.onCheck,je=X.key,vt,bt={event:"check",node:X,checked:Z,nativeEvent:T.nativeEvent};if(Ye){var ht=Z?(0,it.L0)(Ke,je):(0,it._5)(Ke,je),Nt=(0,it._5)(ke,je);vt={checked:ht,halfChecked:Nt},bt.checkedNodes=ht.map(function(Be){return(0,Jt.Z)(we,Be)}).filter(function(Be){return Be}).map(function(Be){return Be.node}),O.setUncontrolledState({checkedKeys:ht})}else{var _t=(0,Pt.S)([].concat((0,$.Z)(Ke),[je]),!0,we),w=_t.checkedKeys,D=_t.halfCheckedKeys;if(!Z){var St=new Set(w);St.delete(je);var ue=(0,Pt.S)(Array.from(St),{checked:!1,halfCheckedKeys:D},we);w=ue.checkedKeys,D=ue.halfCheckedKeys}vt=w,bt.checkedNodes=[],bt.checkedNodesPositions=[],bt.halfCheckedKeys=D,w.forEach(function(Be){var pn=(0,Jt.Z)(we,Be);if(pn){var Ve=pn.node,nt=pn.pos;bt.checkedNodes.push(Ve),bt.checkedNodesPositions.push({node:Ve,pos:nt})}}),O.setUncontrolledState({checkedKeys:w},!1,{halfCheckedKeys:D})}et==null||et(vt,bt)},O.onNodeLoad=function(T){var X=T.key,Z=new Promise(function(K,we){O.setState(function(Ke){var ke=Ke.loadedKeys,Te=ke===void 0?[]:ke,Ye=Ke.loadingKeys,et=Ye===void 0?[]:Ye,je=O.props,vt=je.loadData,bt=je.onLoad;if(!vt||Te.indexOf(X)!==-1||et.indexOf(X)!==-1)return null;var ht=vt(T);return ht.then(function(){var Nt=O.state.loadedKeys,_t=(0,it.L0)(Nt,X);bt==null||bt(_t,{event:"load",node:T}),O.setUncontrolledState({loadedKeys:_t}),O.setState(function(w){return{loadingKeys:(0,it._5)(w.loadingKeys,X)}}),K()}).catch(function(Nt){if(O.setState(function(w){return{loadingKeys:(0,it._5)(w.loadingKeys,X)}}),O.loadingRetryTimes[X]=(O.loadingRetryTimes[X]||0)+1,O.loadingRetryTimes[X]>=rn){var _t=O.state.loadedKeys;(0,m.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),O.setUncontrolledState({loadedKeys:(0,it.L0)(_t,X)}),K()}we(Nt)}),{loadingKeys:(0,it.L0)(et,X)}})});return Z.catch(function(){}),Z},O.onNodeMouseEnter=function(T,X){var Z=O.props.onMouseEnter;Z==null||Z({event:T,node:X})},O.onNodeMouseLeave=function(T,X){var Z=O.props.onMouseLeave;Z==null||Z({event:T,node:X})},O.onNodeContextMenu=function(T,X){var Z=O.props.onRightClick;Z&&(T.preventDefault(),Z({event:T,node:X}))},O.onFocus=function(){var T=O.props.onFocus;O.setState({focused:!0});for(var X=arguments.length,Z=new Array(X),K=0;K<X;K++)Z[K]=arguments[K];T==null||T.apply(void 0,Z)},O.onBlur=function(){var T=O.props.onBlur;O.setState({focused:!1}),O.onActiveChange(null);for(var X=arguments.length,Z=new Array(X),K=0;K<X;K++)Z[K]=arguments[K];T==null||T.apply(void 0,Z)},O.getTreeNodeRequiredProps=function(){var T=O.state,X=T.expandedKeys,Z=T.selectedKeys,K=T.loadedKeys,we=T.loadingKeys,Ke=T.checkedKeys,ke=T.halfCheckedKeys,Te=T.dragOverNodeKey,Ye=T.dropPosition,et=T.keyEntities;return{expandedKeys:X||[],selectedKeys:Z||[],loadedKeys:K||[],loadingKeys:we||[],checkedKeys:Ke||[],halfCheckedKeys:ke||[],dragOverNodeKey:Te,dropPosition:Ye,keyEntities:et}},O.setExpandedKeys=function(T){var X=O.state,Z=X.treeData,K=X.fieldNames,we=(0,me.oH)(Z,T,K);O.setUncontrolledState({expandedKeys:T,flattenNodes:we},!0)},O.onNodeExpand=function(T,X){var Z=O.state.expandedKeys,K=O.state,we=K.listChanging,Ke=K.fieldNames,ke=O.props,Te=ke.onExpand,Ye=ke.loadData,et=X.expanded,je=X[Ke.key];if(!we){var vt=Z.indexOf(je),bt=!et;if((0,m.ZP)(et&&vt!==-1||!et&&vt===-1,"Expand state not sync with index check"),bt?Z=(0,it.L0)(Z,je):Z=(0,it._5)(Z,je),O.setExpandedKeys(Z),Te==null||Te(Z,{node:X,expanded:bt,nativeEvent:T.nativeEvent}),bt&&Ye){var ht=O.onNodeLoad(X);ht&&ht.then(function(){var Nt=(0,me.oH)(O.state.treeData,Z,Ke);O.setUncontrolledState({flattenNodes:Nt})}).catch(function(){var Nt=O.state.expandedKeys,_t=(0,it._5)(Nt,je);O.setExpandedKeys(_t)})}}},O.onListChangeStart=function(){O.setUncontrolledState({listChanging:!0})},O.onListChangeEnd=function(){setTimeout(function(){O.setUncontrolledState({listChanging:!1})})},O.onActiveChange=function(T){var X=O.state.activeKey,Z=O.props.onActiveChange;X!==T&&(O.setState({activeKey:T}),T!==null&&O.scrollTo({key:T}),Z==null||Z(T))},O.getActiveItem=function(){var T=O.state,X=T.activeKey,Z=T.flattenNodes;return X===null?null:Z.find(function(K){var we=K.key;return we===X})||null},O.offsetActiveKey=function(T){var X=O.state,Z=X.flattenNodes,K=X.activeKey,we=Z.findIndex(function(Te){var Ye=Te.key;return Ye===K});we===-1&&T<0&&(we=Z.length),we=(we+T+Z.length)%Z.length;var Ke=Z[we];if(Ke){var ke=Ke.key;O.onActiveChange(ke)}else O.onActiveChange(null)},O.onKeyDown=function(T){var X=O.state,Z=X.activeKey,K=X.expandedKeys,we=X.checkedKeys,Ke=X.fieldNames,ke=O.props,Te=ke.onKeyDown,Ye=ke.checkable,et=ke.selectable;switch(T.which){case u.Z.UP:{O.offsetActiveKey(-1),T.preventDefault();break}case u.Z.DOWN:{O.offsetActiveKey(1),T.preventDefault();break}}var je=O.getActiveItem();if(je&&je.data){var vt=O.getTreeNodeRequiredProps(),bt=je.data.isLeaf===!1||!!(je.data[Ke.children]||[]).length,ht=(0,me.F)((0,Ee.Z)((0,Ee.Z)({},(0,me.H8)(Z,vt)),{},{data:je.data,active:!0}));switch(T.which){case u.Z.LEFT:{bt&&K.includes(Z)?O.onNodeExpand({},ht):je.parent&&O.onActiveChange(je.parent.key),T.preventDefault();break}case u.Z.RIGHT:{bt&&!K.includes(Z)?O.onNodeExpand({},ht):je.children&&je.children.length&&O.onActiveChange(je.children[0].key),T.preventDefault();break}case u.Z.ENTER:case u.Z.SPACE:{Ye&&!ht.disabled&&ht.checkable!==!1&&!ht.disableCheckbox?O.onNodeCheck({},ht,!we.includes(Z)):!Ye&&et&&!ht.disabled&&ht.selectable!==!1&&O.onNodeSelect({},ht);break}}}Te==null||Te(T)},O.setUncontrolledState=function(T){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!O.destroyed){var K=!1,we=!0,Ke={};Object.keys(T).forEach(function(ke){if(ke in O.props){we=!1;return}K=!0,Ke[ke]=T[ke]}),K&&(!X||we)&&O.setState((0,Ee.Z)((0,Ee.Z)({},Ke),Z))}},O.scrollTo=function(T){O.listRef.current.scrollTo(T)},O}return(0,C.Z)(H,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var xe=this.props.activeKey;xe!==void 0&&xe!==this.state.activeKey&&(this.setState({activeKey:xe}),xe!==null&&this.scrollTo({key: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 xe,k=this.state,E=k.focused,T=k.flattenNodes,X=k.keyEntities,Z=k.draggingNodeKey,K=k.activeKey,we=k.dropLevelOffset,Ke=k.dropContainerKey,ke=k.dropTargetKey,Te=k.dropPosition,Ye=k.dragOverNodeKey,et=k.indent,je=this.props,vt=je.prefixCls,bt=je.className,ht=je.style,Nt=je.showLine,_t=je.focusable,w=je.tabIndex,D=w===void 0?0:w,St=je.selectable,ue=je.showIcon,Be=je.icon,pn=je.switcherIcon,Ve=je.draggable,nt=je.checkable,Je=je.checkStrictly,Ae=je.disabled,De=je.motion,ze=je.loadData,qe=je.filterTreeNode,ve=je.height,an=je.itemHeight,Ge=je.virtual,mn=je.titleRender,_n=je.dropIndicatorRender,jt=je.onContextMenu,Xt=je.onScroll,Rt=je.direction,Ft=je.rootClassName,Ze=je.rootStyle,Et=(0,x.Z)(this.props,{aria:!0,data:!0}),xt;return Ve&&((0,ee.Z)(Ve)==="object"?xt=Ve:typeof Ve=="function"?xt={nodeDraggable:Ve}:xt={}),P.createElement(ce.k.Provider,{value:{prefixCls:vt,selectable:St,showIcon:ue,icon:Be,switcherIcon:pn,draggable:xt,draggingNodeKey:Z,checkable:nt,checkStrictly:Je,disabled:Ae,keyEntities:X,dropLevelOffset:we,dropContainerKey:Ke,dropTargetKey:ke,dropPosition:Te,dragOverNodeKey:Ye,indent:et,direction:Rt,dropIndicatorRender:_n,loadData:ze,filterTreeNode:qe,titleRender:mn,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}},P.createElement("div",{role:"tree",className:S()(vt,bt,Ft,(xe={},(0,L.Z)(xe,"".concat(vt,"-show-line"),Nt),(0,L.Z)(xe,"".concat(vt,"-focused"),E),(0,L.Z)(xe,"".concat(vt,"-active-focused"),K!==null),xe)),style:Ze},P.createElement(ut,(0,y.Z)({ref:this.listRef,prefixCls:vt,style:ht,data:T,disabled:Ae,selectable:St,checkable:!!nt,motion:De,dragging:Z!==null,height:ve,itemHeight:an,virtual:Ge,focusable:_t,focused:E,tabIndex:D,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:jt,onScroll:Xt},this.getTreeNodeRequiredProps(),Et))))}}],[{key:"getDerivedStateFromProps",value:function(xe,k){var E=k.prevProps,T={prevProps:xe};function X(_t){return!E&&_t in xe||E&&E[_t]!==xe[_t]}var Z,K=k.fieldNames;if(X("fieldNames")&&(K=(0,me.w$)(xe.fieldNames),T.fieldNames=K),X("treeData")?Z=xe.treeData:X("children")&&((0,m.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Z=(0,me.zn)(xe.children)),Z){T.treeData=Z;var we=(0,me.I8)(Z,{fieldNames:K});T.keyEntities=(0,Ee.Z)((0,L.Z)({},_,J),we.keyEntities)}var Ke=T.keyEntities||k.keyEntities;if(X("expandedKeys")||E&&X("autoExpandParent"))T.expandedKeys=xe.autoExpandParent||!E&&xe.defaultExpandParent?(0,it.r7)(xe.expandedKeys,Ke):xe.expandedKeys;else if(!E&&xe.defaultExpandAll){var ke=(0,Ee.Z)({},Ke);delete ke[_],T.expandedKeys=Object.keys(ke).map(function(_t){return ke[_t].key})}else!E&&xe.defaultExpandedKeys&&(T.expandedKeys=xe.autoExpandParent||xe.defaultExpandParent?(0,it.r7)(xe.defaultExpandedKeys,Ke):xe.defaultExpandedKeys);if(T.expandedKeys||delete T.expandedKeys,Z||T.expandedKeys){var Te=(0,me.oH)(Z||k.treeData,T.expandedKeys||k.expandedKeys,K);T.flattenNodes=Te}if(xe.selectable&&(X("selectedKeys")?T.selectedKeys=(0,it.BT)(xe.selectedKeys,xe):!E&&xe.defaultSelectedKeys&&(T.selectedKeys=(0,it.BT)(xe.defaultSelectedKeys,xe))),xe.checkable){var Ye;if(X("checkedKeys")?Ye=(0,it.E6)(xe.checkedKeys)||{}:!E&&xe.defaultCheckedKeys?Ye=(0,it.E6)(xe.defaultCheckedKeys)||{}:Z&&(Ye=(0,it.E6)(xe.checkedKeys)||{checkedKeys:k.checkedKeys,halfCheckedKeys:k.halfCheckedKeys}),Ye){var et=Ye,je=et.checkedKeys,vt=je===void 0?[]:je,bt=et.halfCheckedKeys,ht=bt===void 0?[]:bt;if(!xe.checkStrictly){var Nt=(0,Pt.S)(vt,!0,Ke);vt=Nt.checkedKeys,ht=Nt.halfCheckedKeys}T.checkedKeys=vt,T.halfCheckedKeys=ht}}return X("loadedKeys")&&(T.loadedKeys=xe.loadedKeys),T}}]),H}(P.Component);It.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:U,allowDrop:function(){return!0},expandAction:!1},It.TreeNode=j.Z;var Zt=It,ot=Zt},35654:function(tn,tt,f){"use strict";f.d(tt,{BT:function(){return P},E6:function(){return W},L0:function(){return I},OM:function(){return m},_5:function(){return a},r7:function(){return ne},wA:function(){return S},yx:function(){return z}});var y=f(26407),L=f(39559),ee=f(48736),Ee=f(59301),$=f(39417),q=f(67841),C=f(71430),Se=null;function a(Y,b){if(!Y)return[];var R=Y.slice(),G=R.indexOf(b);return G>=0&&R.splice(G,1),R}function I(Y,b){var R=(Y||[]).slice();return R.indexOf(b)===-1&&R.push(b),R}function z(Y){return Y.split("-")}function S(Y,b){var R=[],G=(0,q.Z)(b,Y);function j(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pe.forEach(function(me){var fe=me.key,ae=me.children;R.push(fe),j(ae)})}return j(G.children),R}function u(Y){if(Y.parent){var b=z(Y.pos);return Number(b[b.length-1])===Y.parent.children.length-1}return!1}function x(Y){var b=z(Y.pos);return Number(b[b.length-1])===0}function m(Y,b,R,G,j,pe,me,fe,ae,te){var M,he=Y.clientX,Q=Y.clientY,de=Y.target.getBoundingClientRect(),ie=de.top,v=de.height,_=(te==="rtl"?-1:1)*(((j==null?void 0:j.x)||0)-he),V=(_-12)/G,J=(0,q.Z)(fe,R.props.eventKey);if(Q<ie+v/2){var Le=me.findIndex(function(ot){return ot.key===J.key}),Oe=Le<=0?0:Le-1,Ie=me[Oe].key;J=(0,q.Z)(fe,Ie)}var $e=J.key,lt=J,ut=J.key,it=0,Pt=0;if(!ae.includes($e))for(var Jt=0;Jt<V&&u(J);Jt+=1)J=J.parent,Pt+=1;var rn=b.props.data,It=J.node,Zt=!0;return x(J)&&J.level===0&&Q<ie+v/2&&pe({dragNode:rn,dropNode:It,dropPosition:-1})&&J.key===R.props.eventKey?it=-1:(lt.children||[]).length&&ae.includes(ut)?pe({dragNode:rn,dropNode:It,dropPosition:0})?it=0:Zt=!1:Pt===0?V>-1.5?pe({dragNode:rn,dropNode:It,dropPosition:1})?it=1:Zt=!1:pe({dragNode:rn,dropNode:It,dropPosition:0})?it=0:pe({dragNode:rn,dropNode:It,dropPosition:1})?it=1:Zt=!1:pe({dragNode:rn,dropNode:It,dropPosition:1})?it=1:Zt=!1,{dropPosition:it,dropLevelOffset:Pt,dropTargetKey:J.key,dropTargetPos:J.pos,dragOverNodeKey:ut,dropContainerKey:it===0?null:((M=J.parent)===null||M===void 0?void 0:M.key)||null,dropAllowed:Zt}}function P(Y,b){if(Y){var R=b.multiple;return R?Y.slice():Y.length?[Y[0]]:Y}}var ce=function(b){return b};function U(Y,b){if(!Y)return[];var R=b||{},G=R.processProps,j=G===void 0?ce:G,pe=Array.isArray(Y)?Y:[Y];return pe.map(function(me){var fe=me.children,ae=_objectWithoutProperties(me,Se),te=U(fe,b);return React.createElement(TreeNode,_extends({key:ae.key},j(ae)),te)})}function W(Y){if(!Y)return null;var b;if(Array.isArray(Y))b={checkedKeys:Y,halfCheckedKeys:void 0};else if((0,L.Z)(Y)==="object")b={checkedKeys:Y.checked||void 0,halfCheckedKeys:Y.halfChecked||void 0};else return(0,ee.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return b}function ne(Y,b){var R=new Set;function G(j){if(!R.has(j)){var pe=(0,q.Z)(b,j);if(pe){R.add(j);var me=pe.parent,fe=pe.node;fe.disabled||me&&G(me.key)}}}return(Y||[]).forEach(function(j){G(j)}),(0,y.Z)(R)}},90782:function(tn,tt,f){"use strict";f.d(tt,{S:function(){return C}});var y=f(48736),L=f(67841);function ee(Se,a){var I=new Set;return Se.forEach(function(z){a.has(z)||I.add(z)}),I}function Ee(Se){var a=Se||{},I=a.disabled,z=a.disableCheckbox,S=a.checkable;return!!(I||z)||S===!1}function $(Se,a,I,z){for(var S=new Set(Se),u=new Set,x=0;x<=I;x+=1){var m=a.get(x)||new Set;m.forEach(function(W){var ne=W.key,Y=W.node,b=W.children,R=b===void 0?[]:b;S.has(ne)&&!z(Y)&&R.filter(function(G){return!z(G.node)}).forEach(function(G){S.add(G.key)})})}for(var P=new Set,ce=I;ce>=0;ce-=1){var U=a.get(ce)||new Set;U.forEach(function(W){var ne=W.parent,Y=W.node;if(!(z(Y)||!W.parent||P.has(W.parent.key))){if(z(W.parent.node)){P.add(ne.key);return}var b=!0,R=!1;(ne.children||[]).filter(function(G){return!z(G.node)}).forEach(function(G){var j=G.key,pe=S.has(j);b&&!pe&&(b=!1),!R&&(pe||u.has(j))&&(R=!0)}),b&&S.add(ne.key),R&&u.add(ne.key),P.add(ne.key)}})}return{checkedKeys:Array.from(S),halfCheckedKeys:Array.from(ee(u,S))}}function q(Se,a,I,z,S){for(var u=new Set(Se),x=new Set(a),m=0;m<=z;m+=1){var P=I.get(m)||new Set;P.forEach(function(ne){var Y=ne.key,b=ne.node,R=ne.children,G=R===void 0?[]:R;!u.has(Y)&&!x.has(Y)&&!S(b)&&G.filter(function(j){return!S(j.node)}).forEach(function(j){u.delete(j.key)})})}x=new Set;for(var ce=new Set,U=z;U>=0;U-=1){var W=I.get(U)||new Set;W.forEach(function(ne){var Y=ne.parent,b=ne.node;if(!(S(b)||!ne.parent||ce.has(ne.parent.key))){if(S(ne.parent.node)){ce.add(Y.key);return}var R=!0,G=!1;(Y.children||[]).filter(function(j){return!S(j.node)}).forEach(function(j){var pe=j.key,me=u.has(pe);R&&!me&&(R=!1),!G&&(me||x.has(pe))&&(G=!0)}),R||u.delete(Y.key),G&&x.add(Y.key),ce.add(Y.key)}})}return{checkedKeys:Array.from(u),halfCheckedKeys:Array.from(ee(x,u))}}function C(Se,a,I,z){var S=[],u;z?u=z:u=Ee;var x=new Set(Se.filter(function(U){var W=!!(0,L.Z)(I,U);return W||S.push(U),W})),m=new Map,P=0;Object.keys(I).forEach(function(U){var W=I[U],ne=W.level,Y=m.get(ne);Y||(Y=new Set,m.set(ne,Y)),Y.add(W),P=Math.max(P,ne)}),(0,y.ZP)(!S.length,"Tree missing follow keys: ".concat(S.slice(0,100).map(function(U){return"'".concat(U,"'")}).join(", ")));var ce;return a===!0?ce=$(x,m,P,u):ce=q(x,a.halfCheckedKeys,m,P,u),ce}},67841:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return y}});function y(L,ee){return L[ee]}},71430:function(tn,tt,f){"use strict";f.d(tt,{F:function(){return ne},H8:function(){return W},I8:function(){return U},km:function(){return S},oH:function(){return P},w$:function(){return u},zn:function(){return m}});var y=f(39559),L=f(26407),ee=f(33708),Ee=f(37061),$=f(11592),q=f(2738),C=f(48736),Se=f(67841),a=["children"];function I(Y,b){return"".concat(Y,"-").concat(b)}function z(Y){return Y&&Y.type&&Y.type.isTreeNode}function S(Y,b){return Y!=null?Y:b}function u(Y){var b=Y||{},R=b.title,G=b._title,j=b.key,pe=b.children,me=R||"title";return{title:me,_title:G||[me],key:j||"key",children:pe||"children"}}function x(Y,b){var R=new Map;function G(j){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(j||[]).forEach(function(me){var fe=me[b.key],ae=me[b.children];warning(fe!=null,"Tree node must have a certain key: [".concat(pe).concat(fe,"]"));var te=String(fe);warning(!R.has(te)||fe===null||fe===void 0,"Same 'key' exist in the Tree: ".concat(te)),R.set(te,!0),G(ae,"".concat(pe).concat(te," > "))})}G(Y)}function m(Y){function b(R){var G=(0,$.Z)(R);return G.map(function(j){if(!z(j))return(0,C.ZP)(!j,"Tree/TreeNode can only accept TreeNode as children."),null;var pe=j.key,me=j.props,fe=me.children,ae=(0,Ee.Z)(me,a),te=(0,ee.Z)({key:pe},ae),M=b(fe);return M.length&&(te.children=M),te}).filter(function(j){return j})}return b(Y)}function P(Y,b,R){var G=u(R),j=G._title,pe=G.key,me=G.children,fe=new Set(b===!0?[]:b),ae=[];function te(M){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return M.map(function(Q,de){for(var ie=I(he?he.pos:"0",de),v=S(Q[pe],ie),_,V=0;V<j.length;V+=1){var J=j[V];if(Q[J]!==void 0){_=Q[J];break}}var Le=(0,ee.Z)((0,ee.Z)({},(0,q.Z)(Q,[].concat((0,L.Z)(j),[pe,me]))),{},{title:_,key:v,parent:he,pos:ie,children:null,data:Q,isStart:[].concat((0,L.Z)(he?he.isStart:[]),[de===0]),isEnd:[].concat((0,L.Z)(he?he.isEnd:[]),[de===M.length-1])});return ae.push(Le),b===!0||fe.has(v)?Le.children=te(Q[me]||[],Le):Le.children=[],Le})}return te(Y),ae}function ce(Y,b,R){var G={};(0,y.Z)(R)==="object"?G=R:G={externalGetKey:R},G=G||{};var j=G,pe=j.childrenPropName,me=j.externalGetKey,fe=j.fieldNames,ae=u(fe),te=ae.key,M=ae.children,he=pe||M,Q;me?typeof me=="string"?Q=function(v){return v[me]}:typeof me=="function"&&(Q=function(v){return me(v)}):Q=function(v,_){return S(v[te],_)};function de(ie,v,_,V){var J=ie?ie[he]:Y,Le=ie?I(_.pos,v):"0",Oe=ie?[].concat((0,L.Z)(V),[ie]):[];if(ie){var Ie=Q(ie,Le),$e={node:ie,index:v,pos:Le,key:Ie,parentPos:_.node?_.pos:null,level:_.level+1,nodes:Oe};b($e)}J&&J.forEach(function(lt,ut){de(lt,ut,{node:ie,pos:Le,level:_?_.level+1:-1},Oe)})}de(null)}function U(Y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=b.initWrapper,G=b.processEntity,j=b.onProcessFinished,pe=b.externalGetKey,me=b.childrenPropName,fe=b.fieldNames,ae=arguments.length>2?arguments[2]:void 0,te=pe||ae,M={},he={},Q={posEntities:M,keyEntities:he};return R&&(Q=R(Q)||Q),ce(Y,function(de){var ie=de.node,v=de.index,_=de.pos,V=de.key,J=de.parentPos,Le=de.level,Oe=de.nodes,Ie={node:ie,nodes:Oe,index:v,key:V,pos:_,level:Le},$e=S(V,_);M[_]=Ie,he[$e]=Ie,Ie.parent=M[J],Ie.parent&&(Ie.parent.children=Ie.parent.children||[],Ie.parent.children.push(Ie)),G&&G(Ie,Q)},{externalGetKey:te,childrenPropName:me,fieldNames:fe}),j&&j(Q),Q}function W(Y,b){var R=b.expandedKeys,G=b.selectedKeys,j=b.loadedKeys,pe=b.loadingKeys,me=b.checkedKeys,fe=b.halfCheckedKeys,ae=b.dragOverNodeKey,te=b.dropPosition,M=b.keyEntities,he=(0,Se.Z)(M,Y),Q={eventKey:Y,expanded:R.indexOf(Y)!==-1,selected:G.indexOf(Y)!==-1,loaded:j.indexOf(Y)!==-1,loading:pe.indexOf(Y)!==-1,checked:me.indexOf(Y)!==-1,halfChecked:fe.indexOf(Y)!==-1,pos:String(he?he.pos:""),dragOver:ae===Y&&te===0,dragOverGapTop:ae===Y&&te===-1,dragOverGapBottom:ae===Y&&te===1};return Q}function ne(Y){var b=Y.data,R=Y.expanded,G=Y.selected,j=Y.checked,pe=Y.loaded,me=Y.loading,fe=Y.halfChecked,ae=Y.dragOver,te=Y.dragOverGapTop,M=Y.dragOverGapBottom,he=Y.pos,Q=Y.active,de=Y.eventKey,ie=(0,ee.Z)((0,ee.Z)({},b),{},{expanded:R,selected:G,checked:j,loaded:pe,loading:me,halfChecked:fe,dragOver:ae,dragOverGapTop:te,dragOverGapBottom:M,pos:he,active:Q,key:de});return"props"in ie||Object.defineProperty(ie,"props",{get:function(){return(0,C.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Y}}),ie}},8224:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return L}});var y=f(4676);function L(ee,Ee,$,q){var C=y.unstable_batchedUpdates?function(a){y.unstable_batchedUpdates($,a)}:$;return ee!=null&&ee.addEventListener&&ee.addEventListener(Ee,C,q),{remove:function(){ee!=null&&ee.removeEventListener&&ee.removeEventListener(Ee,C,q)}}}},55468:function(tn,tt,f){"use strict";f.d(tt,{g1:function(){return z},os:function(){return u}});var y=/margin|padding|width|height|max|min|offset/,L={left:!0,top:!0},ee={cssFloat:1,styleFloat:1,float:1};function Ee(x){return x.nodeType===1?x.ownerDocument.defaultView.getComputedStyle(x,null):{}}function $(x,m,P){if(m=m.toLowerCase(),P==="auto"){if(m==="height")return x.offsetHeight;if(m==="width")return x.offsetWidth}return m in L||(L[m]=y.test(m)),L[m]?parseFloat(P)||0:P}function q(x,m){var P=arguments.length,ce=Ee(x);return m=ee[m]?"cssFloat"in x.style?"cssFloat":"styleFloat":m,P===1?ce:$(x,m,ce[m]||x.style[m])}function C(x,m,P){var ce=arguments.length;if(m=ee[m]?"cssFloat"in x.style?"cssFloat":"styleFloat":m,ce===3)return typeof P=="number"&&y.test(m)&&(P="".concat(P,"px")),x.style[m]=P,P;for(var U in m)m.hasOwnProperty(U)&&C(x,U,m[U]);return Ee(x)}function Se(x){return x===document.body?document.documentElement.clientWidth:x.offsetWidth}function a(x){return x===document.body?window.innerHeight||document.documentElement.clientHeight:x.offsetHeight}function I(){var x=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),m=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:x,height:m}}function z(){var x=document.documentElement.clientWidth,m=window.innerHeight||document.documentElement.clientHeight;return{width:x,height:m}}function S(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function u(x){var m=x.getBoundingClientRect(),P=document.documentElement;return{left:m.left+(window.pageXOffset||P.scrollLeft)-(P.clientLeft||document.body.clientLeft||0),top:m.top+(window.pageYOffset||P.scrollTop)-(P.clientTop||document.body.clientTop||0)}}},24514:function(tn,tt,f){"use strict";f.d(tt,{G:function(){return Ee}});var y=f(47273),L=function(q){if((0,y.Z)()&&window.document.documentElement){var C=Array.isArray(q)?q:[q],Se=window.document.documentElement;return C.some(function(a){return a in Se.style})}return!1},ee=function(q,C){if(!L(q))return!1;var Se=document.createElement("div"),a=Se.style[q];return Se.style[q]=C,Se.style[q]!==a};function Ee($,q){return!Array.isArray($)&&q!==void 0?ee($,q):L($)}},49658:function(tn,tt){"use strict";tt.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var f=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(f)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(f==null?void 0:f.substr(0,4))}},57149:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Zt}});var y=f(92413),L=f(39559),ee=f(33708),Ee=f(400),$=f(33606),q=f(37061),C=f(92310),Se=f.n(C),a=f(29301),I=f(70425),z=f(34280),S=f(59301),u=f(4676),x=S.forwardRef(function(ot,se){var be=ot.height,H=ot.offsetY,O=ot.offsetX,xe=ot.children,k=ot.prefixCls,E=ot.onInnerResize,T=ot.innerProps,X=ot.rtl,Z=ot.extra,K={},we={display:"flex",flexDirection:"column"};return H!==void 0&&(K={height:be,position:"relative",overflow:"hidden"},we=(0,ee.Z)((0,ee.Z)({},we),{},(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({transform:"translateY(".concat(H,"px)")},X?"marginRight":"marginLeft",-O),"position","absolute"),"left",0),"right",0),"top",0))),S.createElement("div",{style:K},S.createElement(a.Z,{onResize:function(ke){var Te=ke.offsetHeight;Te&&E&&E()}},S.createElement("div",(0,y.Z)({style:we,className:Se()((0,Ee.Z)({},"".concat(k,"-holder-inner"),k)),ref:se},T),xe,Z)))});x.displayName="Filler";var m=x;function P(ot){var se=ot.children,be=ot.setRef,H=S.useCallback(function(O){be(O)},[]);return S.cloneElement(se,{ref:H})}function ce(ot,se,be,H,O,xe,k,E){var T=E.getKey;return ot.slice(se,be+1).map(function(X,Z){var K=se+Z,we=k(X,K,{style:{width:H},offsetX:O}),Ke=T(X);return S.createElement(P,{key:Ke,setRef:function(Te){return xe(X,Te)}},we)})}function U(ot,se,be,H){var O=be-ot,xe=se-be,k=Math.min(O,xe)*2;if(H<=k){var E=Math.floor(H/2);return H%2?be+E+1:be-E}return O>xe?be-(H-xe):be+(H-O)}function W(ot,se,be){var H=ot.length,O=se.length,xe,k;if(H===0&&O===0)return null;H<O?(xe=ot,k=se):(xe=se,k=ot);var E={__EMPTY_ITEM__:!0};function T(ke){return ke!==void 0?be(ke):E}for(var X=null,Z=Math.abs(H-O)!==1,K=0;K<k.length;K+=1){var we=T(xe[K]),Ke=T(k[K]);if(we!==Ke){X=K,Z=Z||we!==T(k[K+1]);break}}return X===null?null:{index:X,multiple:Z}}function ne(ot,se,be){var H=S.useState(ot),O=(0,$.Z)(H,2),xe=O[0],k=O[1],E=S.useState(null),T=(0,$.Z)(E,2),X=T[0],Z=T[1];return S.useEffect(function(){var K=W(xe||[],ot||[],se);(K==null?void 0:K.index)!==void 0&&(be==null||be(K.index),Z(ot[K.index])),k(ot)},[ot]),[X]}var Y=f(16089),b=(typeof navigator=="undefined"?"undefined":(0,L.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),R=b,G=function(ot,se,be,H){var O=(0,S.useRef)(!1),xe=(0,S.useRef)(null);function k(){clearTimeout(xe.current),O.current=!0,xe.current=setTimeout(function(){O.current=!1},50)}var E=(0,S.useRef)({top:ot,bottom:se,left:be,right:H});return E.current.top=ot,E.current.bottom=se,E.current.left=be,E.current.right=H,function(T,X){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,K=T?X<0&&E.current.left||X>0&&E.current.right:X<0&&E.current.top||X>0&&E.current.bottom;return Z&&K?(clearTimeout(xe.current),O.current=!1):(!K||O.current)&&k(),!O.current&&K}};function j(ot,se,be,H,O,xe,k){var E=(0,S.useRef)(0),T=(0,S.useRef)(null),X=(0,S.useRef)(null),Z=(0,S.useRef)(!1),K=G(se,be,H,O);function we(je,vt){if(Y.Z.cancel(T.current),!K(!1,vt)){var bt=je;if(!bt._virtualHandled)bt._virtualHandled=!0;else return;E.current+=vt,X.current=vt,R||bt.preventDefault(),T.current=(0,Y.Z)(function(){var ht=Z.current?10:1;k(E.current*ht,!1),E.current=0})}}function Ke(je,vt){k(vt,!0),R||je.preventDefault()}var ke=(0,S.useRef)(null),Te=(0,S.useRef)(null);function Ye(je){if(ot){Y.Z.cancel(Te.current),Te.current=(0,Y.Z)(function(){ke.current=null},2);var vt=je.deltaX,bt=je.deltaY,ht=je.shiftKey,Nt=vt,_t=bt;(ke.current==="sx"||!ke.current&&ht&&bt&&!vt)&&(Nt=bt,_t=0,ke.current="sx");var w=Math.abs(Nt),D=Math.abs(_t);ke.current===null&&(ke.current=xe&&w>D?"x":"y"),ke.current==="y"?we(je,_t):Ke(je,Nt)}}function et(je){ot&&(Z.current=je.detail===X.current)}return[Ye,et]}function pe(ot,se,be,H){var O=S.useMemo(function(){return[new Map,[]]},[ot,be.id,H]),xe=(0,$.Z)(O,2),k=xe[0],E=xe[1],T=function(Z){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Z,we=k.get(Z),Ke=k.get(K);if(we===void 0||Ke===void 0)for(var ke=ot.length,Te=E.length;Te<ke;Te+=1){var Ye,et=ot[Te],je=se(et);k.set(je,Te);var vt=(Ye=be.get(je))!==null&&Ye!==void 0?Ye:H;if(E[Te]=(E[Te-1]||0)+vt,je===Z&&(we=Te),je===K&&(Ke=Te),we!==void 0&&Ke!==void 0)break}return{top:E[we-1]||0,bottom:E[Ke]}};return T}var me=f(76846),fe=f(6909),ae=f(4771),te=function(){function ot(){(0,fe.Z)(this,ot),(0,Ee.Z)(this,"maps",void 0),(0,Ee.Z)(this,"id",0),(0,Ee.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,ae.Z)(ot,[{key:"set",value:function(be,H){this.maps[be]=H,this.id+=1,this.diffKeys.add(be)}},{key:"get",value:function(be){return this.maps[be]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),ot}(),M=te;function he(ot){var se=parseFloat(ot);return isNaN(se)?0:se}function Q(ot,se,be){var H=S.useState(0),O=(0,$.Z)(H,2),xe=O[0],k=O[1],E=(0,S.useRef)(new Map),T=(0,S.useRef)(new M),X=(0,S.useRef)(0);function Z(){X.current+=1}function K(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Z();var ke=function(){var et=!1;E.current.forEach(function(je,vt){if(je&&je.offsetParent){var bt=(0,me.ZP)(je),ht=bt.offsetHeight,Nt=getComputedStyle(bt),_t=Nt.marginTop,w=Nt.marginBottom,D=he(_t),St=he(w),ue=ht+D+St;T.current.get(vt)!==ue&&(T.current.set(vt,ue),et=!0)}}),et&&k(function(je){return je+1})};if(Ke)ke();else{X.current+=1;var Te=X.current;Promise.resolve().then(function(){Te===X.current&&ke()})}}function we(Ke,ke){var Te=ot(Ke),Ye=E.current.get(Te);ke?(E.current.set(Te,ke),K()):E.current.delete(Te),!Ye!=!ke&&(ke?se==null||se(Ke):be==null||be(Ke))}return(0,S.useEffect)(function(){return Z},[]),[we,K,T.current,xe]}var de=14/15;function ie(ot,se,be){var H=(0,S.useRef)(!1),O=(0,S.useRef)(0),xe=(0,S.useRef)(0),k=(0,S.useRef)(null),E=(0,S.useRef)(null),T,X=function(Ke){if(H.current){var ke=Math.ceil(Ke.touches[0].pageX),Te=Math.ceil(Ke.touches[0].pageY),Ye=O.current-ke,et=xe.current-Te,je=Math.abs(Ye)>Math.abs(et);je?O.current=ke:xe.current=Te;var vt=be(je,je?Ye:et,!1,Ke);vt&&Ke.preventDefault(),clearInterval(E.current),vt&&(E.current=setInterval(function(){je?Ye*=de:et*=de;var bt=Math.floor(je?Ye:et);(!be(je,bt,!0)||Math.abs(bt)<=.1)&&clearInterval(E.current)},16))}},Z=function(){H.current=!1,T()},K=function(Ke){T(),Ke.touches.length===1&&!H.current&&(H.current=!0,O.current=Math.ceil(Ke.touches[0].pageX),xe.current=Math.ceil(Ke.touches[0].pageY),k.current=Ke.target,k.current.addEventListener("touchmove",X,{passive:!1}),k.current.addEventListener("touchend",Z,{passive:!0}))};T=function(){k.current&&(k.current.removeEventListener("touchmove",X),k.current.removeEventListener("touchend",Z))},(0,z.Z)(function(){return ot&&se.current.addEventListener("touchstart",K,{passive:!0}),function(){var we;(we=se.current)===null||we===void 0||we.removeEventListener("touchstart",K),T(),clearInterval(E.current)}},[ot])}function v(ot){return Math.floor(Math.pow(ot,.5))}function _(ot,se){var be="touches"in ot?ot.touches[0]:ot;return be[se?"pageX":"pageY"]-window[se?"scrollX":"scrollY"]}function V(ot,se,be){S.useEffect(function(){var H=se.current;if(ot&&H){var O=!1,xe,k,E=function(){Y.Z.cancel(xe)},T=function we(){E(),xe=(0,Y.Z)(function(){be(k),we()})},X=function(Ke){if(!Ke.target.draggable){var ke=Ke;ke._virtualHandled||(ke._virtualHandled=!0,O=!0)}},Z=function(){O=!1,E()},K=function(Ke){if(O){var ke=_(Ke,!1),Te=H.getBoundingClientRect(),Ye=Te.top,et=Te.bottom;if(ke<=Ye){var je=Ye-ke;k=-v(je),T()}else if(ke>=et){var vt=ke-et;k=v(vt),T()}else E()}};return H.addEventListener("mousedown",X),H.ownerDocument.addEventListener("mouseup",Z),H.ownerDocument.addEventListener("mousemove",K),function(){H.removeEventListener("mousedown",X),H.ownerDocument.removeEventListener("mouseup",Z),H.ownerDocument.removeEventListener("mousemove",K),E()}}},[ot])}var J=10;function Le(ot,se,be,H,O,xe,k,E){var T=S.useRef(),X=S.useState(null),Z=(0,$.Z)(X,2),K=Z[0],we=Z[1];return(0,z.Z)(function(){if(K&&K.times<J){if(!ot.current){we(function(ze){return(0,ee.Z)({},ze)});return}xe();var Ke=K.targetAlign,ke=K.originAlign,Te=K.index,Ye=K.offset,et=ot.current.clientHeight,je=!1,vt=Ke,bt=null;if(et){for(var ht=Ke||ke,Nt=0,_t=0,w=0,D=Math.min(se.length-1,Te),St=0;St<=D;St+=1){var ue=O(se[St]);_t=Nt;var Be=be.get(ue);w=_t+(Be===void 0?H:Be),Nt=w}for(var pn=ht==="top"?Ye:et-Ye,Ve=D;Ve>=0;Ve-=1){var nt=O(se[Ve]),Je=be.get(nt);if(Je===void 0){je=!0;break}if(pn-=Je,pn<=0)break}switch(ht){case"top":bt=_t-Ye;break;case"bottom":bt=w-et+Ye;break;default:{var Ae=ot.current.scrollTop,De=Ae+et;_t<Ae?vt="top":w>De&&(vt="bottom")}}bt!==null&&k(bt),bt!==K.lastTop&&(je=!0)}je&&we((0,ee.Z)((0,ee.Z)({},K),{},{times:K.times+1,targetAlign:vt,lastTop:bt}))}},[K,ot.current]),function(Ke){if(Ke==null){E();return}if(Y.Z.cancel(T.current),typeof Ke=="number")k(Ke);else if(Ke&&(0,L.Z)(Ke)==="object"){var ke,Te=Ke.align;"index"in Ke?ke=Ke.index:ke=se.findIndex(function(je){return O(je)===Ke.key});var Ye=Ke.offset,et=Ye===void 0?0:Ye;we({times:0,index:ke,offset:et,originAlign:Te})}}}var Oe=S.forwardRef(function(ot,se){var be=ot.prefixCls,H=ot.rtl,O=ot.scrollOffset,xe=ot.scrollRange,k=ot.onStartMove,E=ot.onStopMove,T=ot.onScroll,X=ot.horizontal,Z=ot.spinSize,K=ot.containerSize,we=ot.style,Ke=ot.thumbStyle,ke=ot.showScrollBar,Te=S.useState(!1),Ye=(0,$.Z)(Te,2),et=Ye[0],je=Ye[1],vt=S.useState(null),bt=(0,$.Z)(vt,2),ht=bt[0],Nt=bt[1],_t=S.useState(null),w=(0,$.Z)(_t,2),D=w[0],St=w[1],ue=!H,Be=S.useRef(),pn=S.useRef(),Ve=S.useState(ke),nt=(0,$.Z)(Ve,2),Je=nt[0],Ae=nt[1],De=S.useRef(),ze=function(){ke===!0||ke===!1||(clearTimeout(De.current),Ae(!0),De.current=setTimeout(function(){Ae(!1)},3e3))},qe=xe-K||0,ve=K-Z||0,an=S.useMemo(function(){if(O===0||qe===0)return 0;var Et=O/qe;return Et*ve},[O,qe,ve]),Ge=function(xt){xt.stopPropagation(),xt.preventDefault()},mn=S.useRef({top:an,dragging:et,pageY:ht,startTop:D});mn.current={top:an,dragging:et,pageY:ht,startTop:D};var _n=function(xt){je(!0),Nt(_(xt,X)),St(mn.current.top),k(),xt.stopPropagation(),xt.preventDefault()};S.useEffect(function(){var Et=function(mt){mt.preventDefault()},xt=Be.current,Ne=pn.current;return xt.addEventListener("touchstart",Et,{passive:!1}),Ne.addEventListener("touchstart",_n,{passive:!1}),function(){xt.removeEventListener("touchstart",Et),Ne.removeEventListener("touchstart",_n)}},[]);var jt=S.useRef();jt.current=qe;var Xt=S.useRef();Xt.current=ve,S.useEffect(function(){if(et){var Et,xt=function(mt){var pt=mn.current,Dt=pt.dragging,Ht=pt.pageY,nn=pt.startTop;Y.Z.cancel(Et);var Kt=Be.current.getBoundingClientRect(),sn=K/(X?Kt.width:Kt.height);if(Dt){var un=(_(mt,X)-Ht)*sn,Ut=nn;!ue&&X?Ut-=un:Ut+=un;var kt=jt.current,ln=Xt.current,dn=ln?Ut/ln:0,hn=Math.ceil(dn*kt);hn=Math.max(hn,0),hn=Math.min(hn,kt),Et=(0,Y.Z)(function(){T(hn,X)})}},Ne=function(){je(!1),E()};return window.addEventListener("mousemove",xt,{passive:!0}),window.addEventListener("touchmove",xt,{passive:!0}),window.addEventListener("mouseup",Ne,{passive:!0}),window.addEventListener("touchend",Ne,{passive:!0}),function(){window.removeEventListener("mousemove",xt),window.removeEventListener("touchmove",xt),window.removeEventListener("mouseup",Ne),window.removeEventListener("touchend",Ne),Y.Z.cancel(Et)}}},[et]),S.useEffect(function(){return ze(),function(){clearTimeout(De.current)}},[O]),S.useImperativeHandle(se,function(){return{delayHidden:ze}});var Rt="".concat(be,"-scrollbar"),Ft={position:"absolute",visibility:Je?null:"hidden"},Ze={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return X?(Ft.height=8,Ft.left=0,Ft.right=0,Ft.bottom=0,Ze.height="100%",Ze.width=Z,ue?Ze.left=an:Ze.right=an):(Ft.width=8,Ft.top=0,Ft.bottom=0,ue?Ft.right=0:Ft.left=0,Ze.width="100%",Ze.height=Z,Ze.top=an),S.createElement("div",{ref:Be,className:Se()(Rt,(0,Ee.Z)((0,Ee.Z)((0,Ee.Z)({},"".concat(Rt,"-horizontal"),X),"".concat(Rt,"-vertical"),!X),"".concat(Rt,"-visible"),Je)),style:(0,ee.Z)((0,ee.Z)({},Ft),we),onMouseDown:Ge,onMouseMove:ze},S.createElement("div",{ref:pn,className:Se()("".concat(Rt,"-thumb"),(0,Ee.Z)({},"".concat(Rt,"-thumb-moving"),et)),style:(0,ee.Z)((0,ee.Z)({},Ze),Ke),onMouseDown:_n}))}),Ie=Oe,$e=20;function lt(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,be=ot/se*ot;return isNaN(be)&&(be=0),be=Math.max(be,$e),Math.floor(be)}var ut=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],it=[],Pt={overflowY:"auto",overflowAnchor:"none"};function Jt(ot,se){var be=ot.prefixCls,H=be===void 0?"rc-virtual-list":be,O=ot.className,xe=ot.height,k=ot.itemHeight,E=ot.fullHeight,T=E===void 0?!0:E,X=ot.style,Z=ot.data,K=ot.children,we=ot.itemKey,Ke=ot.virtual,ke=ot.direction,Te=ot.scrollWidth,Ye=ot.component,et=Ye===void 0?"div":Ye,je=ot.onScroll,vt=ot.onVirtualScroll,bt=ot.onVisibleChange,ht=ot.innerProps,Nt=ot.extraRender,_t=ot.styles,w=ot.showScrollBar,D=w===void 0?"optional":w,St=(0,q.Z)(ot,ut),ue=S.useCallback(function(On){return typeof we=="function"?we(On):On==null?void 0:On[we]},[we]),Be=Q(ue,null,null),pn=(0,$.Z)(Be,4),Ve=pn[0],nt=pn[1],Je=pn[2],Ae=pn[3],De=!!(Ke!==!1&&xe&&k),ze=S.useMemo(function(){return Object.values(Je.maps).reduce(function(On,Kn){return On+Kn},0)},[Je.id,Je.maps]),qe=De&&Z&&(Math.max(k*Z.length,ze)>xe||!!Te),ve=ke==="rtl",an=Se()(H,(0,Ee.Z)({},"".concat(H,"-rtl"),ve),O),Ge=Z||it,mn=(0,S.useRef)(),_n=(0,S.useRef)(),jt=(0,S.useRef)(),Xt=(0,S.useState)(0),Rt=(0,$.Z)(Xt,2),Ft=Rt[0],Ze=Rt[1],Et=(0,S.useState)(0),xt=(0,$.Z)(Et,2),Ne=xt[0],Ce=xt[1],mt=(0,S.useState)(!1),pt=(0,$.Z)(mt,2),Dt=pt[0],Ht=pt[1],nn=function(){Ht(!0)},Kt=function(){Ht(!1)},sn={getKey:ue};function un(On){Ze(function(Kn){var gr;typeof On=="function"?gr=On(Kn):gr=On;var Lr=pr(gr);return mn.current.scrollTop=Lr,Lr})}var Ut=(0,S.useRef)({start:0,end:Ge.length}),kt=(0,S.useRef)(),ln=ne(Ge,ue),dn=(0,$.Z)(ln,1),hn=dn[0];kt.current=hn;var wn=S.useMemo(function(){if(!De)return{scrollHeight:void 0,start:0,end:Ge.length-1,offset:void 0};if(!qe){var On;return{scrollHeight:((On=_n.current)===null||On===void 0?void 0:On.offsetHeight)||0,start:0,end:Ge.length-1,offset:void 0}}for(var Kn=0,gr,Lr,Xr,jn=Ge.length,zr=0;zr<jn;zr+=1){var Vr=Ge[zr],fi=ue(Vr),ki=Je.get(fi),Ai=Kn+(ki===void 0?k:ki);Ai>=Ft&&gr===void 0&&(gr=zr,Lr=Kn),Ai>Ft+xe&&Xr===void 0&&(Xr=zr),Kn=Ai}return gr===void 0&&(gr=0,Lr=0,Xr=Math.ceil(xe/k)),Xr===void 0&&(Xr=Ge.length-1),Xr=Math.min(Xr+1,Ge.length-1),{scrollHeight:Kn,start:gr,end:Xr,offset:Lr}},[qe,De,Ft,Ge,Ae,xe]),Xn=wn.scrollHeight,Nn=wn.start,en=wn.end,dt=wn.offset;Ut.current.start=Nn,Ut.current.end=en,S.useLayoutEffect(function(){var On=Je.getRecord();if(On.size===1){var Kn=Array.from(On)[0],gr=Ge[Nn];if(gr){var Lr=ue(gr);if(Lr===Kn){var Xr=Je.get(Kn),jn=Xr-k;un(function(zr){return zr+jn})}}}Je.resetRecord()},[Xn]);var yt=S.useState({width:0,height:xe}),Lt=(0,$.Z)(yt,2),Bt=Lt[0],Ot=Lt[1],Yt=function(Kn){Ot({width:Kn.offsetWidth,height:Kn.offsetHeight})},Gt=(0,S.useRef)(),gn=(0,S.useRef)(),En=S.useMemo(function(){return lt(Bt.width,Te)},[Bt.width,Te]),In=S.useMemo(function(){return lt(Bt.height,Xn)},[Bt.height,Xn]),qn=Xn-xe,er=(0,S.useRef)(qn);er.current=qn;function pr(On){var Kn=On;return Number.isNaN(er.current)||(Kn=Math.min(Kn,er.current)),Kn=Math.max(Kn,0),Kn}var Cn=Ft<=0,An=Ft>=qn,mr=Ne<=0,Vn=Ne>=Te,Dr=G(Cn,An,mr,Vn),tr=function(){return{x:ve?-Ne:Ne,y:Ft}},dr=(0,S.useRef)(tr()),vr=(0,I.useEvent)(function(On){if(vt){var Kn=(0,ee.Z)((0,ee.Z)({},tr()),On);(dr.current.x!==Kn.x||dr.current.y!==Kn.y)&&(vt(Kn),dr.current=Kn)}});function nr(On,Kn){var gr=On;Kn?((0,u.flushSync)(function(){Ce(gr)}),vr()):un(gr)}function Ir(On){var Kn=On.currentTarget.scrollTop;Kn!==Ft&&un(Kn),je==null||je(On),vr()}var $r=function(Kn){var gr=Kn,Lr=Te?Te-Bt.width:0;return gr=Math.max(gr,0),gr=Math.min(gr,Lr),gr},Jn=(0,I.useEvent)(function(On,Kn){Kn?((0,u.flushSync)(function(){Ce(function(gr){var Lr=gr+(ve?-On:On);return $r(Lr)})}),vr()):un(function(gr){var Lr=gr+On;return Lr})}),Fn=j(De,Cn,An,mr,Vn,!!Te,Jn),at=(0,$.Z)(Fn,2),zn=at[0],sr=at[1];ie(De,mn,function(On,Kn,gr,Lr){var Xr=Lr;return Dr(On,Kn,gr)?!1:!Xr||!Xr._virtualHandled?(Xr&&(Xr._virtualHandled=!0),zn({preventDefault:function(){},deltaX:On?Kn:0,deltaY:On?0:Kn}),!0):!1}),V(qe,mn,function(On){un(function(Kn){return Kn+On})}),(0,z.Z)(function(){function On(gr){var Lr=Cn&&gr.detail<0,Xr=An&&gr.detail>0;De&&!Lr&&!Xr&&gr.preventDefault()}var Kn=mn.current;return Kn.addEventListener("wheel",zn,{passive:!1}),Kn.addEventListener("DOMMouseScroll",sr,{passive:!0}),Kn.addEventListener("MozMousePixelScroll",On,{passive:!1}),function(){Kn.removeEventListener("wheel",zn),Kn.removeEventListener("DOMMouseScroll",sr),Kn.removeEventListener("MozMousePixelScroll",On)}},[De,Cn,An]),(0,z.Z)(function(){if(Te){var On=$r(Ne);Ce(On),vr({x:On})}},[Bt.width,Te]);var wr=function(){var Kn,gr;(Kn=Gt.current)===null||Kn===void 0||Kn.delayHidden(),(gr=gn.current)===null||gr===void 0||gr.delayHidden()},Cr=Le(mn,Ge,Je,k,ue,function(){return nt(!0)},un,wr);S.useImperativeHandle(se,function(){return{nativeElement:jt.current,getScrollInfo:tr,scrollTo:function(Kn){function gr(Lr){return Lr&&(0,L.Z)(Lr)==="object"&&("left"in Lr||"top"in Lr)}gr(Kn)?(Kn.left!==void 0&&Ce($r(Kn.left)),Cr(Kn.top)):Cr(Kn)}}}),(0,z.Z)(function(){if(bt){var On=Ge.slice(Nn,en+1);bt(On,Ge)}},[Nn,en,Ge]);var Nr=pe(Ge,ue,Je,k),jr=Nt==null?void 0:Nt({start:Nn,end:en,virtual:qe,offsetX:Ne,offsetY:dt,rtl:ve,getSize:Nr}),Sr=ce(Ge,Nn,en,Te,Ne,Ve,K,sn),Mr=null;xe&&(Mr=(0,ee.Z)((0,Ee.Z)({},T?"height":"maxHeight",xe),Pt),De&&(Mr.overflowY="hidden",Te&&(Mr.overflowX="hidden"),Dt&&(Mr.pointerEvents="none")));var Gr={};return ve&&(Gr.dir="rtl"),S.createElement("div",(0,y.Z)({ref:jt,style:(0,ee.Z)((0,ee.Z)({},X),{},{position:"relative"}),className:an},Gr,St),S.createElement(a.Z,{onResize:Yt},S.createElement(et,{className:"".concat(H,"-holder"),style:Mr,ref:mn,onScroll:Ir,onMouseEnter:wr},S.createElement(m,{prefixCls:H,height:Xn,offsetX:Ne,offsetY:dt,scrollWidth:Te,onInnerResize:nt,ref:_n,innerProps:ht,rtl:ve,extra:jr},Sr))),qe&&Xn>xe&&S.createElement(Ie,{ref:Gt,prefixCls:H,scrollOffset:Ft,scrollRange:Xn,rtl:ve,onScroll:nr,onStartMove:nn,onStopMove:Kt,spinSize:In,containerSize:Bt.height,style:_t==null?void 0:_t.verticalScrollBar,thumbStyle:_t==null?void 0:_t.verticalScrollBarThumb,showScrollBar:D}),qe&&Te>Bt.width&&S.createElement(Ie,{ref:gn,prefixCls:H,scrollOffset:Ne,scrollRange:Te,rtl:ve,onScroll:nr,onStartMove:nn,onStopMove:Kt,spinSize:En,containerSize:Bt.width,horizontal:!0,style:_t==null?void 0:_t.horizontalScrollBar,thumbStyle:_t==null?void 0:_t.horizontalScrollBarThumb,showScrollBar:D}))}var rn=S.forwardRef(Jt);rn.displayName="List";var It=rn,Zt=It},83145:function(tn,tt,f){"use strict";Object.defineProperty(tt,"__esModule",{value:!0}),tt.CopyToClipboard=void 0;var y=ee(f(59301)),L=ee(f(25769));function ee(W){return W&&W.__esModule?W:{default:W}}function Ee(W){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ee=function(Y){return typeof Y}:Ee=function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y},Ee(W)}function $(W,ne){var Y=Object.keys(W);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(W);ne&&(b=b.filter(function(R){return Object.getOwnPropertyDescriptor(W,R).enumerable})),Y.push.apply(Y,b)}return Y}function q(W){for(var ne=1;ne<arguments.length;ne++){var Y=arguments[ne]!=null?arguments[ne]:{};ne%2?$(Y,!0).forEach(function(b){ce(W,b,Y[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(Y)):$(Y).forEach(function(b){Object.defineProperty(W,b,Object.getOwnPropertyDescriptor(Y,b))})}return W}function C(W,ne){if(W==null)return{};var Y=Se(W,ne),b,R;if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(W);for(R=0;R<G.length;R++)b=G[R],!(ne.indexOf(b)>=0)&&Object.prototype.propertyIsEnumerable.call(W,b)&&(Y[b]=W[b])}return Y}function Se(W,ne){if(W==null)return{};var Y={},b=Object.keys(W),R,G;for(G=0;G<b.length;G++)R=b[G],!(ne.indexOf(R)>=0)&&(Y[R]=W[R]);return Y}function a(W,ne){if(!(W instanceof ne))throw new TypeError("Cannot call a class as a function")}function I(W,ne){for(var Y=0;Y<ne.length;Y++){var b=ne[Y];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(W,b.key,b)}}function z(W,ne,Y){return ne&&I(W.prototype,ne),Y&&I(W,Y),W}function S(W,ne){return ne&&(Ee(ne)==="object"||typeof ne=="function")?ne:x(W)}function u(W){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(Y){return Y.__proto__||Object.getPrototypeOf(Y)},u(W)}function x(W){if(W===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}function m(W,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Super expression must either be null or a function");W.prototype=Object.create(ne&&ne.prototype,{constructor:{value:W,writable:!0,configurable:!0}}),ne&&P(W,ne)}function P(W,ne){return P=Object.setPrototypeOf||function(b,R){return b.__proto__=R,b},P(W,ne)}function ce(W,ne,Y){return ne in W?Object.defineProperty(W,ne,{value:Y,enumerable:!0,configurable:!0,writable:!0}):W[ne]=Y,W}var U=function(W){m(ne,W);function ne(){var Y,b;a(this,ne);for(var R=arguments.length,G=new Array(R),j=0;j<R;j++)G[j]=arguments[j];return b=S(this,(Y=u(ne)).call.apply(Y,[this].concat(G))),ce(x(b),"onClick",function(pe){var me=b.props,fe=me.text,ae=me.onCopy,te=me.children,M=me.options,he=y.default.Children.only(te),Q=(0,L.default)(fe,M);ae&&ae(fe,Q),he&&he.props&&typeof he.props.onClick=="function"&&he.props.onClick(pe)}),b}return z(ne,[{key:"render",value:function(){var b=this.props,R=b.text,G=b.onCopy,j=b.options,pe=b.children,me=C(b,["text","onCopy","options","children"]),fe=y.default.Children.only(pe);return y.default.cloneElement(fe,q({},me,{onClick:this.onClick}))}}]),ne}(y.default.PureComponent);tt.CopyToClipboard=U,ce(U,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(tn,tt,f){"use strict";var y=f(83145),L=y.CopyToClipboard;L.CopyToClipboard=L,tn.exports=L},76374:function(tn,tt,f){"use strict";var y=function(){if(typeof Map!="undefined")return Map;function te(M,he){var Q=-1;return M.some(function(de,ie){return de[0]===he?(Q=ie,!0):!1}),Q}return function(){function M(){this.__entries__=[]}return Object.defineProperty(M.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),M.prototype.get=function(he){var Q=te(this.__entries__,he),de=this.__entries__[Q];return de&&de[1]},M.prototype.set=function(he,Q){var de=te(this.__entries__,he);~de?this.__entries__[de][1]=Q:this.__entries__.push([he,Q])},M.prototype.delete=function(he){var Q=this.__entries__,de=te(Q,he);~de&&Q.splice(de,1)},M.prototype.has=function(he){return!!~te(this.__entries__,he)},M.prototype.clear=function(){this.__entries__.splice(0)},M.prototype.forEach=function(he,Q){Q===void 0&&(Q=null);for(var de=0,ie=this.__entries__;de<ie.length;de++){var v=ie[de];he.call(Q,v[1],v[0])}},M}()}(),L=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,ee=function(){return typeof f.g!="undefined"&&f.g.Math===Math?f.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),Ee=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ee):function(te){return setTimeout(function(){return te(Date.now())},1e3/60)}}(),$=2;function q(te,M){var he=!1,Q=!1,de=0;function ie(){he&&(he=!1,te()),Q&&_()}function v(){Ee(ie)}function _(){var V=Date.now();if(he){if(V-de<$)return;Q=!0}else he=!0,Q=!1,setTimeout(v,M);de=V}return _}var C=20,Se=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",I=function(){function te(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=q(this.refresh.bind(this),C)}return te.prototype.addObserver=function(M){~this.observers_.indexOf(M)||this.observers_.push(M),this.connected_||this.connect_()},te.prototype.removeObserver=function(M){var he=this.observers_,Q=he.indexOf(M);~Q&&he.splice(Q,1),!he.length&&this.connected_&&this.disconnect_()},te.prototype.refresh=function(){var M=this.updateObservers_();M&&this.refresh()},te.prototype.updateObservers_=function(){var M=this.observers_.filter(function(he){return he.gatherActive(),he.hasActive()});return M.forEach(function(he){return he.broadcastActive()}),M.length>0},te.prototype.connect_=function(){!L||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},te.prototype.disconnect_=function(){!L||!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)},te.prototype.onTransitionEnd_=function(M){var he=M.propertyName,Q=he===void 0?"":he,de=Se.some(function(ie){return!!~Q.indexOf(ie)});de&&this.refresh()},te.getInstance=function(){return this.instance_||(this.instance_=new te),this.instance_},te.instance_=null,te}(),z=function(te,M){for(var he=0,Q=Object.keys(M);he<Q.length;he++){var de=Q[he];Object.defineProperty(te,de,{value:M[de],enumerable:!1,writable:!1,configurable:!0})}return te},S=function(te){var M=te&&te.ownerDocument&&te.ownerDocument.defaultView;return M||ee},u=R(0,0,0,0);function x(te){return parseFloat(te)||0}function m(te){for(var M=[],he=1;he<arguments.length;he++)M[he-1]=arguments[he];return M.reduce(function(Q,de){var ie=te["border-"+de+"-width"];return Q+x(ie)},0)}function P(te){for(var M=["top","right","bottom","left"],he={},Q=0,de=M;Q<de.length;Q++){var ie=de[Q],v=te["padding-"+ie];he[ie]=x(v)}return he}function ce(te){var M=te.getBBox();return R(0,0,M.width,M.height)}function U(te){var M=te.clientWidth,he=te.clientHeight;if(!M&&!he)return u;var Q=S(te).getComputedStyle(te),de=P(Q),ie=de.left+de.right,v=de.top+de.bottom,_=x(Q.width),V=x(Q.height);if(Q.boxSizing==="border-box"&&(Math.round(_+ie)!==M&&(_-=m(Q,"left","right")+ie),Math.round(V+v)!==he&&(V-=m(Q,"top","bottom")+v)),!ne(te)){var J=Math.round(_+ie)-M,Le=Math.round(V+v)-he;Math.abs(J)!==1&&(_-=J),Math.abs(Le)!==1&&(V-=Le)}return R(de.left,de.top,_,V)}var W=function(){return typeof SVGGraphicsElement!="undefined"?function(te){return te instanceof S(te).SVGGraphicsElement}:function(te){return te instanceof S(te).SVGElement&&typeof te.getBBox=="function"}}();function ne(te){return te===S(te).document.documentElement}function Y(te){return L?W(te)?ce(te):U(te):u}function b(te){var M=te.x,he=te.y,Q=te.width,de=te.height,ie=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,v=Object.create(ie.prototype);return z(v,{x:M,y:he,width:Q,height:de,top:he,right:M+Q,bottom:de+he,left:M}),v}function R(te,M,he,Q){return{x:te,y:M,width:he,height:Q}}var G=function(){function te(M){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=R(0,0,0,0),this.target=M}return te.prototype.isActive=function(){var M=Y(this.target);return this.contentRect_=M,M.width!==this.broadcastWidth||M.height!==this.broadcastHeight},te.prototype.broadcastRect=function(){var M=this.contentRect_;return this.broadcastWidth=M.width,this.broadcastHeight=M.height,M},te}(),j=function(){function te(M,he){var Q=b(he);z(this,{target:M,contentRect:Q})}return te}(),pe=function(){function te(M,he,Q){if(this.activeObservations_=[],this.observations_=new y,typeof M!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=M,this.controller_=he,this.callbackCtx_=Q}return te.prototype.observe=function(M){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(M instanceof S(M).Element))throw new TypeError('parameter 1 is not of type "Element".');var he=this.observations_;he.has(M)||(he.set(M,new G(M)),this.controller_.addObserver(this),this.controller_.refresh())}},te.prototype.unobserve=function(M){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(M instanceof S(M).Element))throw new TypeError('parameter 1 is not of type "Element".');var he=this.observations_;he.has(M)&&(he.delete(M),he.size||this.controller_.removeObserver(this))}},te.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},te.prototype.gatherActive=function(){var M=this;this.clearActive(),this.observations_.forEach(function(he){he.isActive()&&M.activeObservations_.push(he)})},te.prototype.broadcastActive=function(){if(this.hasActive()){var M=this.callbackCtx_,he=this.activeObservations_.map(function(Q){return new j(Q.target,Q.broadcastRect())});this.callback_.call(M,he,M),this.clearActive()}},te.prototype.clearActive=function(){this.activeObservations_.splice(0)},te.prototype.hasActive=function(){return this.activeObservations_.length>0},te}(),me=typeof WeakMap!="undefined"?new WeakMap:new y,fe=function(){function te(M){if(!(this instanceof te))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var he=I.getInstance(),Q=new pe(M,he,this);me.set(this,Q)}return te}();["observe","unobserve","disconnect"].forEach(function(te){fe.prototype[te]=function(){var M;return(M=me.get(this))[te].apply(M,arguments)}});var ae=function(){return typeof ee.ResizeObserver!="undefined"?ee.ResizeObserver:fe}();tt.Z=ae},98040:function(tn){tn.exports=function(){var tt=document.getSelection();if(!tt.rangeCount)return function(){};for(var f=document.activeElement,y=[],L=0;L<tt.rangeCount;L++)y.push(tt.getRangeAt(L));switch(f.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":f.blur();break;default:f=null;break}return tt.removeAllRanges(),function(){tt.type==="Caret"&&tt.removeAllRanges(),tt.rangeCount||y.forEach(function(ee){tt.addRange(ee)}),f&&f.focus()}}},1012:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return S}});var y=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),L=new Uint8Array(16);function ee(){if(!y)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return y(L)}var Ee=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function $(u){return typeof u=="string"&&Ee.test(u)}for(var q=$,C=[],Se=0;Se<256;++Se)C.push((Se+256).toString(16).substr(1));function a(u){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,m=(C[u[x+0]]+C[u[x+1]]+C[u[x+2]]+C[u[x+3]]+"-"+C[u[x+4]]+C[u[x+5]]+"-"+C[u[x+6]]+C[u[x+7]]+"-"+C[u[x+8]]+C[u[x+9]]+"-"+C[u[x+10]]+C[u[x+11]]+C[u[x+12]]+C[u[x+13]]+C[u[x+14]]+C[u[x+15]]).toLowerCase();if(!q(m))throw TypeError("Stringified UUID is invalid");return m}var I=a;function z(u,x,m){u=u||{};var P=u.random||(u.rng||ee)();if(P[6]=P[6]&15|64,P[8]=P[8]&63|128,x){m=m||0;for(var ce=0;ce<16;++ce)x[m+ce]=P[ce];return x}return I(P)}var S=z},93314:function(tn){"use strict";tn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ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Mvh6i+IKw609hIpxv8+mAWp0O0+ZftanLo0hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},40846:function(tn,tt,f){"use strict";f.d(tt,{ZP:function(){return Ys}});function y(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var L={exports:{}};(function(o,e){(function(t){var n=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,r=/^(?=([^\/?#]*))\1([^]*)$/,i=/(?:\/|^)\.(?=\/)/g,s=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,c={buildAbsoluteURL:function(p,A,F){if(F=F||{},p=p.trim(),A=A.trim(),!A){if(!F.alwaysNormalize)return p;var B=c.parseURL(p);if(!B)throw new Error("Error trying to parse base URL.");return B.path=c.normalizePath(B.path),c.buildURLFromParts(B)}var ye=c.parseURL(A);if(!ye)throw new Error("Error trying to parse relative URL.");if(ye.scheme)return F.alwaysNormalize?(ye.path=c.normalizePath(ye.path),c.buildURLFromParts(ye)):A;var Fe=c.parseURL(p);if(!Fe)throw new Error("Error trying to parse base URL.");if(!Fe.netLoc&&Fe.path&&Fe.path[0]!=="/"){var Re=r.exec(Fe.path);Fe.netLoc=Re[1],Fe.path=Re[2]}Fe.netLoc&&!Fe.path&&(Fe.path="/");var Ue={scheme:Fe.scheme,netLoc:ye.netLoc,path:null,params:ye.params,query:ye.query,fragment:ye.fragment};if(!ye.netLoc&&(Ue.netLoc=Fe.netLoc,ye.path[0]!=="/"))if(!ye.path)Ue.path=Fe.path,ye.params||(Ue.params=Fe.params,ye.query||(Ue.query=Fe.query));else{var We=Fe.path,ct=We.substring(0,We.lastIndexOf("/")+1)+ye.path;Ue.path=c.normalizePath(ct)}return Ue.path===null&&(Ue.path=F.alwaysNormalize?c.normalizePath(ye.path):ye.path),c.buildURLFromParts(Ue)},parseURL:function(p){var A=n.exec(p);return A?{scheme:A[1]||"",netLoc:A[2]||"",path:A[3]||"",params:A[4]||"",query:A[5]||"",fragment:A[6]||""}:null},normalizePath:function(p){for(p=p.split("").reverse().join("").replace(i,"");p.length!==(p=p.replace(s,"")).length;);return p.split("").reverse().join("")},buildURLFromParts:function(p){return p.scheme+p.netLoc+p.path+p.params+p.query+p.fragment}};o.exports=c})()})(L);var ee=L.exports;function Ee(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(o,r).enumerable})),t.push.apply(t,n)}return t}function $(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ee(Object(t),!0).forEach(function(n){Se(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):Ee(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function q(o,e){if(typeof o!="object"||!o)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var n=t.call(o,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function C(o){var e=q(o,"string");return typeof e=="symbol"?e:String(e)}function Se(o,e,t){return e=C(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function a(){return a=Object.assign?Object.assign.bind():function(o){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=t[n])}return o},a.apply(this,arguments)}const I=Number.isFinite||function(o){return typeof o=="number"&&isFinite(o)},z=Number.isSafeInteger||function(o){return typeof o=="number"&&Math.abs(o)<=S},S=Number.MAX_SAFE_INTEGER||9007199254740991;let u=function(o){return o.MEDIA_ATTACHING="hlsMediaAttaching",o.MEDIA_ATTACHED="hlsMediaAttached",o.MEDIA_DETACHING="hlsMediaDetaching",o.MEDIA_DETACHED="hlsMediaDetached",o.BUFFER_RESET="hlsBufferReset",o.BUFFER_CODECS="hlsBufferCodecs",o.BUFFER_CREATED="hlsBufferCreated",o.BUFFER_APPENDING="hlsBufferAppending",o.BUFFER_APPENDED="hlsBufferAppended",o.BUFFER_EOS="hlsBufferEos",o.BUFFER_FLUSHING="hlsBufferFlushing",o.BUFFER_FLUSHED="hlsBufferFlushed",o.MANIFEST_LOADING="hlsManifestLoading",o.MANIFEST_LOADED="hlsManifestLoaded",o.MANIFEST_PARSED="hlsManifestParsed",o.LEVEL_SWITCHING="hlsLevelSwitching",o.LEVEL_SWITCHED="hlsLevelSwitched",o.LEVEL_LOADING="hlsLevelLoading",o.LEVEL_LOADED="hlsLevelLoaded",o.LEVEL_UPDATED="hlsLevelUpdated",o.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",o.LEVELS_UPDATED="hlsLevelsUpdated",o.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",o.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",o.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",o.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",o.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",o.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",o.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",o.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",o.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",o.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",o.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",o.CUES_PARSED="hlsCuesParsed",o.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",o.INIT_PTS_FOUND="hlsInitPtsFound",o.FRAG_LOADING="hlsFragLoading",o.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",o.FRAG_LOADED="hlsFragLoaded",o.FRAG_DECRYPTED="hlsFragDecrypted",o.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",o.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",o.FRAG_PARSING_METADATA="hlsFragParsingMetadata",o.FRAG_PARSED="hlsFragParsed",o.FRAG_BUFFERED="hlsFragBuffered",o.FRAG_CHANGED="hlsFragChanged",o.FPS_DROP="hlsFpsDrop",o.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",o.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",o.ERROR="hlsError",o.DESTROYING="hlsDestroying",o.KEY_LOADING="hlsKeyLoading",o.KEY_LOADED="hlsKeyLoaded",o.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",o.BACK_BUFFER_REACHED="hlsBackBufferReached",o.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",o}({}),x=function(o){return o.NETWORK_ERROR="networkError",o.MEDIA_ERROR="mediaError",o.KEY_SYSTEM_ERROR="keySystemError",o.MUX_ERROR="muxError",o.OTHER_ERROR="otherError",o}({}),m=function(o){return o.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",o.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",o.KEY_SYSTEM_NO_SESSION="keySystemNoSession",o.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",o.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",o.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",o.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",o.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",o.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",o.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",o.MANIFEST_LOAD_ERROR="manifestLoadError",o.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",o.MANIFEST_PARSING_ERROR="manifestParsingError",o.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",o.LEVEL_EMPTY_ERROR="levelEmptyError",o.LEVEL_LOAD_ERROR="levelLoadError",o.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",o.LEVEL_PARSING_ERROR="levelParsingError",o.LEVEL_SWITCH_ERROR="levelSwitchError",o.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",o.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",o.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",o.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",o.FRAG_LOAD_ERROR="fragLoadError",o.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",o.FRAG_DECRYPT_ERROR="fragDecryptError",o.FRAG_PARSING_ERROR="fragParsingError",o.FRAG_GAP="fragGap",o.REMUX_ALLOC_ERROR="remuxAllocError",o.KEY_LOAD_ERROR="keyLoadError",o.KEY_LOAD_TIMEOUT="keyLoadTimeOut",o.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",o.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",o.BUFFER_APPEND_ERROR="bufferAppendError",o.BUFFER_APPENDING_ERROR="bufferAppendingError",o.BUFFER_STALLED_ERROR="bufferStalledError",o.BUFFER_FULL_ERROR="bufferFullError",o.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",o.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",o.INTERNAL_EXCEPTION="internalException",o.INTERNAL_ABORTED="aborted",o.UNKNOWN="unknown",o}({});const P=function(){},ce={trace:P,debug:P,log:P,warn:P,info:P,error:P};let U=ce;function W(o){const e=self.console[o];return e?e.bind(self.console,`[${o}] >`):P}function ne(o,...e){e.forEach(function(t){U[t]=o[t]?o[t].bind(o):W(t)})}function Y(o,e){if(typeof console=="object"&&o===!0||typeof o=="object"){ne(o,"debug","log","info","warn","error");try{U.log(`Debug logs enabled for "${e}" in hls.js version 1.5.20`)}catch(t){U=ce}}else U=ce}const b=U,R=/^(\d+)x(\d+)$/,G=/(.+?)=(".*?"|.*?)(?:,|$)/g;class j{constructor(e){typeof e=="string"&&(e=j.parseAttrList(e)),a(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}else 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]}bool(e){return this[e]==="YES"}decimalResolution(e){const t=R.exec(this[e]);if(t!==null)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}}static parseAttrList(e){let t;const n={},r='"';for(G.lastIndex=0;(t=G.exec(e))!==null;){let i=t[2];i.indexOf(r)===0&&i.lastIndexOf(r)===i.length-1&&(i=i.slice(1,-1));const s=t[1].trim();n[s]=i}return n}}function pe(o){return o!=="ID"&&o!=="CLASS"&&o!=="START-DATE"&&o!=="DURATION"&&o!=="END-DATE"&&o!=="END-ON-NEXT"}function me(o){return o==="SCTE35-OUT"||o==="SCTE35-IN"}class fe{constructor(e,t){if(this.attr=void 0,this._startDate=void 0,this._endDate=void 0,this._badValueForSameId=void 0,t){const n=t.attr;for(const r in n)if(Object.prototype.hasOwnProperty.call(e,r)&&e[r]!==n[r]){b.warn(`DATERANGE tag attribute: "${r}" does not match for tags with ID: "${e.ID}"`),this._badValueForSameId=r;break}e=a(new j({}),n,e)}if(this.attr=e,this._startDate=new Date(e["START-DATE"]),"END-DATE"in this.attr){const n=new Date(this.attr["END-DATE"]);I(n.getTime())&&(this._endDate=n)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get startDate(){return this._startDate}get endDate(){if(this._endDate)return this._endDate;const e=this.duration;return e!==null?new Date(this._startDate.getTime()+e*1e3):null}get duration(){if("DURATION"in this.attr){const e=this.attr.decimalFloatingPoint("DURATION");if(I(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 isValid(){return!!this.id&&!this._badValueForSameId&&I(this.startDate.getTime())&&(this.duration===null||this.duration>=0)&&(!this.endOnNext||!!this.class)}}class ae{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 te={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class M{constructor(e){this._byteRange=null,this._url=null,this.baseurl=void 0,this.relurl=void 0,this.elementaryStreams={[te.AUDIO]:null,[te.VIDEO]:null,[te.AUDIOVIDEO]:null},this.baseurl=e}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 byteRange(){return this._byteRange?this._byteRange:[]}get byteRangeStartOffset(){return this.byteRange[0]}get byteRangeEndOffset(){return this.byteRange[1]}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=ee.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(e){this._url=e}}class he extends M{constructor(e,t){super(t),this._decryptdata=null,this.rawProgramDateTime=null,this.programDateTime=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.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.stats=new ae,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 decryptdata(){const{levelkeys:e}=this;if(!e&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const t=this.levelkeys.identity;if(t)this._decryptdata=t.getDecryptData(this.sn);else{const n=Object.keys(this.levelkeys);if(n.length===1)return this._decryptdata=this.levelkeys[n[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null||!I(this.programDateTime))return null;const e=I(this.duration)?this.duration:0;return this.programDateTime+e*1e3}get encrypted(){var e;if((e=this._decryptdata)!=null&&e.encrypted)return!0;if(this.levelkeys){const t=Object.keys(this.levelkeys),n=t.length;if(n>1||n===1&&this.levelkeys[t[0]].encrypted)return!0}return!1}setKeyFormat(e){if(this.levelkeys){const t=this.levelkeys[e];t&&!this._decryptdata&&(this._decryptdata=t.getDecryptData(this.sn))}}abortRequests(){var e,t;(e=this.loader)==null||e.abort(),(t=this.keyLoader)==null||t.abort()}setElementaryStreamInfo(e,t,n,r,i,s=!1){const{elementaryStreams:c}=this,p=c[e];if(!p){c[e]={startPTS:t,endPTS:n,startDTS:r,endDTS:i,partial:s};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)}clearElementaryStreamInfo(){const{elementaryStreams:e}=this;e[te.AUDIO]=null,e[te.VIDEO]=null,e[te.AUDIOVIDEO]=null}}class Q extends M{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.stats=new ae,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 s=e.enumeratedString("BYTERANGE");s&&this.setByteRange(s,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)}}const de=10;class ie{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.live=!0,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.availabilityDelay=void 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.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,this.availabilityDelay=e.availabilityDelay}get hasProgramDateTime(){return this.fragments.length?I(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||de}get drift(){const e=this.driftEndTime-this.driftStartTime;return e>0?(this.driftEnd-this.driftStart)*1e3/e:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var e;return(e=this.fragments)!=null&&e.length?this.fragments[this.fragments.length-1].end:0}get 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 lastPartSn(){var e;return(e=this.partList)!=null&&e.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}}function v(o){return Uint8Array.from(atob(o),e=>e.charCodeAt(0))}function _(o){const e=Le(o).subarray(0,16),t=new Uint8Array(16);return t.set(e,16-e.length),t}function V(o){const e=function(n,r,i){const s=n[r];n[r]=n[i],n[i]=s};e(o,0,3),e(o,1,2),e(o,4,5),e(o,6,7)}function J(o){const e=o.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",s=r[1];i?(n.splice(-1,1),t=v(s)):t=_(s)}}return t}function Le(o){return Uint8Array.from(unescape(encodeURIComponent(o)),e=>e.charCodeAt(0))}const Oe=typeof self!="undefined"?self:void 0;var Ie={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},$e={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function lt(o){switch(o){case $e.FAIRPLAY:return Ie.FAIRPLAY;case $e.PLAYREADY:return Ie.PLAYREADY;case $e.WIDEVINE:return Ie.WIDEVINE;case $e.CLEARKEY:return Ie.CLEARKEY}}var ut={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",FAIRPLAY:"94ce86fb07ff4f43adb893d2fa968ca2",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function it(o){if(o===ut.WIDEVINE)return Ie.WIDEVINE;if(o===ut.PLAYREADY)return Ie.PLAYREADY;if(o===ut.CENC||o===ut.CLEARKEY)return Ie.CLEARKEY}function Pt(o){switch(o){case Ie.FAIRPLAY:return $e.FAIRPLAY;case Ie.PLAYREADY:return $e.PLAYREADY;case Ie.WIDEVINE:return $e.WIDEVINE;case Ie.CLEARKEY:return $e.CLEARKEY}}function Jt(o){const{drmSystems:e,widevineLicenseUrl:t}=o,n=e?[Ie.FAIRPLAY,Ie.WIDEVINE,Ie.PLAYREADY,Ie.CLEARKEY].filter(r=>!!e[r]):[];return!n[Ie.WIDEVINE]&&t&&n.push(Ie.WIDEVINE),n}const rn=function(o){return Oe!=null&&(o=Oe.navigator)!=null&&o.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function It(o,e,t,n){let r;switch(o){case Ie.FAIRPLAY:r=["cenc","sinf"];break;case Ie.WIDEVINE:case Ie.PLAYREADY:r=["cenc"];break;case Ie.CLEARKEY:r=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${o}`)}return Zt(r,e,t,n)}function Zt(o,e,t,n){return[{initDataTypes:o,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 ot(o){const e=new Uint16Array(o.buffer,o.byteOffset,o.byteLength/2),t=String.fromCharCode.apply(null,Array.from(e)),n=t.substring(t.indexOf("<"),t.length),s=new DOMParser().parseFromString(n,"text/xml").getElementsByTagName("KID")[0];if(s){const c=s.childNodes[0]?s.childNodes[0].nodeValue:s.getAttribute("VALUE");if(c){const p=v(c).subarray(0,16);return V(p),p}}return null}function se(o,e,t){return Uint8Array.prototype.slice?o.slice(e,t):new Uint8Array(Array.prototype.slice.call(o,e,t))}const be=(o,e)=>e+10<=o.length&&o[e]===73&&o[e+1]===68&&o[e+2]===51&&o[e+3]<255&&o[e+4]<255&&o[e+6]<128&&o[e+7]<128&&o[e+8]<128&&o[e+9]<128,H=(o,e)=>e+10<=o.length&&o[e]===51&&o[e+1]===68&&o[e+2]===73&&o[e+3]<255&&o[e+4]<255&&o[e+6]<128&&o[e+7]<128&&o[e+8]<128&&o[e+9]<128,O=(o,e)=>{const t=e;let n=0;for(;be(o,e);){n+=10;const r=xe(o,e+6);n+=r,H(o,e+10)&&(n+=10),e+=n}if(n>0)return o.subarray(t,t+n)},xe=(o,e)=>{let t=0;return t=(o[e]&127)<<21,t|=(o[e+1]&127)<<14,t|=(o[e+2]&127)<<7,t|=o[e+3]&127,t},k=(o,e)=>be(o,e)&&xe(o,e+6)+10<=o.length-e,E=o=>{const e=Z(o);for(let t=0;t<e.length;t++){const n=e[t];if(T(n))return Te(n)}},T=o=>o&&o.key==="PRIV"&&o.info==="com.apple.streaming.transportStreamTimestamp",X=o=>{const e=String.fromCharCode(o[0],o[1],o[2],o[3]),t=xe(o,4),n=10;return{type:e,size:t,data:o.subarray(n,n+t)}},Z=o=>{let e=0;const t=[];for(;be(o,e);){const n=xe(o,e+6);e+=10;const r=e+n;for(;e+8<r;){const i=X(o.subarray(e)),s=K(i);s&&t.push(s),e+=i.size+10}H(o,e)&&(e+=10)}return t},K=o=>o.type==="PRIV"?we(o):o.type[0]==="W"?ke(o):Ke(o),we=o=>{if(o.size<2)return;const e=Ye(o.data,!0),t=new Uint8Array(o.data.subarray(e.length+1));return{key:o.type,info:e,data:t.buffer}},Ke=o=>{if(o.size<2)return;if(o.type==="TXXX"){let t=1;const n=Ye(o.data.subarray(t),!0);t+=n.length+1;const r=Ye(o.data.subarray(t));return{key:o.type,info:n,data:r}}const e=Ye(o.data.subarray(1));return{key:o.type,data:e}},ke=o=>{if(o.type==="WXXX"){if(o.size<2)return;let t=1;const n=Ye(o.data.subarray(t),!0);t+=n.length+1;const r=Ye(o.data.subarray(t));return{key:o.type,info:n,data:r}}const e=Ye(o.data);return{key:o.type,data:e}},Te=o=>{if(o.data.byteLength===8){const e=new Uint8Array(o.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)}},Ye=(o,e=!1)=>{const t=je();if(t){const A=t.decode(o);if(e){const F=A.indexOf("\0");return F!==-1?A.substring(0,F):A}return A.replace(/\0/g,"")}const n=o.length;let r,i,s,c="",p=0;for(;p<n;){if(r=o[p++],r===0&&e)return c;if(r===0||r===3)continue;switch(r>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:c+=String.fromCharCode(r);break;case 12:case 13:i=o[p++],c+=String.fromCharCode((r&31)<<6|i&63);break;case 14:i=o[p++],s=o[p++],c+=String.fromCharCode((r&15)<<12|(i&63)<<6|(s&63)<<0);break}}return c};let et;function je(){if(!navigator.userAgent.includes("PlayStation 4"))return!et&&typeof self.TextDecoder!="undefined"&&(et=new self.TextDecoder("utf-8")),et}const vt={hexDump:function(o){let e="";for(let t=0;t<o.length;t++){let n=o[t].toString(16);n.length<2&&(n="0"+n),e+=n}return e}},bt=Math.pow(2,32)-1,ht=[].push,Nt={video:1,audio:2,id3:3,text:4};function _t(o){return String.fromCharCode.apply(null,o)}function w(o,e){const t=o[e]<<8|o[e+1];return t<0?65536+t:t}function D(o,e){const t=ue(o,e);return t<0?4294967296+t:t}function St(o,e){let t=D(o,e);return t*=Math.pow(2,32),t+=D(o,e+4),t}function ue(o,e){return o[e]<<24|o[e+1]<<16|o[e+2]<<8|o[e+3]}function Be(o,e,t){o[e]=t>>24,o[e+1]=t>>16&255,o[e+2]=t>>8&255,o[e+3]=t&255}function pn(o){const e=o.byteLength;for(let t=0;t<e;){const n=D(o,t);if(n>8&&o[t+4]===109&&o[t+5]===111&&o[t+6]===111&&o[t+7]===102)return!0;t=n>1?t+n:e}return!1}function Ve(o,e){const t=[];if(!e.length)return t;const n=o.byteLength;for(let r=0;r<n;){const i=D(o,r),s=_t(o.subarray(r+4,r+8)),c=i>1?r+i:n;if(s===e[0])if(e.length===1)t.push(o.subarray(r+8,c));else{const p=Ve(o.subarray(r+8,c),e.slice(1));p.length&&ht.apply(t,p)}r=c}return t}function nt(o){const e=[],t=o[0];let n=8;const r=D(o,n);n+=4;let i=0,s=0;t===0?(i=D(o,n),s=D(o,n+4),n+=8):(i=St(o,n),s=St(o,n+8),n+=16),n+=2;let c=o.length+s;const p=w(o,n);n+=2;for(let A=0;A<p;A++){let F=n;const B=D(o,F);F+=4;const ye=B&2147483647;if((B&2147483648)>>>31===1)return b.warn("SIDX has hierarchical references (not supported)"),null;const Re=D(o,F);F+=4,e.push({referenceSize:ye,subsegmentDuration:Re,info:{duration:Re/r,start:c,end:c+ye-1}}),c+=ye,F+=4,n=F}return{earliestPresentationTime:i,timescale:r,version:t,referencesCount:p,references:e}}function Je(o){const e=[],t=Ve(o,["moov","trak"]);for(let r=0;r<t.length;r++){const i=t[r],s=Ve(i,["tkhd"])[0];if(s){let c=s[0];const p=D(s,c===0?12:20),A=Ve(i,["mdia","mdhd"])[0];if(A){c=A[0];const F=D(A,c===0?12:20),B=Ve(i,["mdia","hdlr"])[0];if(B){const ye=_t(B.subarray(8,12)),Fe={soun:te.AUDIO,vide:te.VIDEO}[ye];if(Fe){const Re=Ve(i,["mdia","minf","stbl","stsd"])[0],Ue=Ae(Re);e[p]={timescale:F,type:Fe},e[Fe]=$({timescale:F,id:p},Ue)}}}}}return Ve(o,["moov","mvex","trex"]).forEach(r=>{const i=D(r,4),s=e[i];s&&(s.default={duration:D(r,12),flags:D(r,20)})}),e}function Ae(o){const e=o.subarray(8),t=e.subarray(86),n=_t(e.subarray(4,8));let r=n;const i=n==="enca"||n==="encv";if(i){const c=Ve(e,[n])[0].subarray(n==="enca"?28:78);Ve(c,["sinf"]).forEach(A=>{const F=Ve(A,["schm"])[0];if(F){const B=_t(F.subarray(4,8));if(B==="cbcs"||B==="cenc"){const ye=Ve(A,["frma"])[0];ye&&(r=_t(ye))}}})}switch(r){case"avc1":case"avc2":case"avc3":case"avc4":{const s=Ve(t,["avcC"])[0];r+="."+ze(s[1])+ze(s[2])+ze(s[3]);break}case"mp4a":{const s=Ve(e,[n])[0],c=Ve(s.subarray(28),["esds"])[0];if(c&&c.length>12){let p=4;if(c[p++]!==3)break;p=De(c,p),p+=2;const A=c[p++];if(A&128&&(p+=2),A&64&&(p+=c[p++]),c[p++]!==4)break;p=De(c,p);const F=c[p++];if(F===64)r+="."+ze(F);else break;if(p+=12,c[p++]!==5)break;p=De(c,p);const B=c[p++];let ye=(B&248)>>3;ye===31&&(ye+=1+((B&7)<<3)+((c[p]&224)>>5)),r+="."+ye}break}case"hvc1":case"hev1":{const s=Ve(t,["hvcC"])[0],c=s[1],p=["","A","B","C"][c>>6],A=c&31,F=D(s,2),B=(c&32)>>5?"H":"L",ye=s[12],Fe=s.subarray(6,12);r+="."+p+A,r+="."+F.toString(16).toUpperCase(),r+="."+B+ye;let Re="";for(let Ue=Fe.length;Ue--;){const We=Fe[Ue];(We||Re)&&(Re="."+We.toString(16).toUpperCase()+Re)}r+=Re;break}case"dvh1":case"dvhe":{const s=Ve(t,["dvcC"])[0],c=s[2]>>1&127,p=s[2]<<5&32|s[3]>>3&31;r+="."+qe(c)+"."+qe(p);break}case"vp09":{const s=Ve(t,["vpcC"])[0],c=s[4],p=s[5],A=s[6]>>4&15;r+="."+qe(c)+"."+qe(p)+"."+qe(A);break}case"av01":{const s=Ve(t,["av1C"])[0],c=s[1]>>>5,p=s[1]&31,A=s[2]>>>7?"H":"M",F=(s[2]&64)>>6,B=(s[2]&32)>>5,ye=c===2&&F?B?12:10:F?10:8,Fe=(s[2]&16)>>4,Re=(s[2]&8)>>3,Ue=(s[2]&4)>>2,We=s[2]&3;r+="."+c+"."+qe(p)+A+"."+qe(ye)+"."+Fe+"."+Re+Ue+We+"."+qe(1)+"."+qe(1)+"."+qe(1)+"."+0;break}}return{codec:r,encrypted:i}}function De(o,e){const t=e+5;for(;o[e++]&128&&e<t;);return e}function ze(o){return("0"+o.toString(16).toUpperCase()).slice(-2)}function qe(o){return(o<10?"0":"")+o}function ve(o,e){if(!o||!e)return o;const t=e.keyId;return t&&e.isCommonEncryption&&Ve(o,["moov","trak"]).forEach(r=>{const s=Ve(r,["mdia","minf","stbl","stsd"])[0].subarray(8);let c=Ve(s,["enca"]);const p=c.length>0;p||(c=Ve(s,["encv"])),c.forEach(A=>{const F=p?A.subarray(28):A.subarray(78);Ve(F,["sinf"]).forEach(ye=>{const Fe=an(ye);if(Fe){const Re=Fe.subarray(8,24);Re.some(Ue=>Ue!==0)||(b.log(`[eme] Patching keyId in 'enc${p?"a":"v"}>sinf>>tenc' box: ${vt.hexDump(Re)} -> ${vt.hexDump(t)}`),Fe.set(t,8))}})})}),o}function an(o){const e=Ve(o,["schm"])[0];if(e){const t=_t(e.subarray(4,8));if(t==="cbcs"||t==="cenc")return Ve(o,["schi","tenc"])[0]}return null}function Ge(o,e){return Ve(e,["moof","traf"]).reduce((t,n)=>{const r=Ve(n,["tfdt"])[0],i=r[0],s=Ve(n,["tfhd"]).reduce((c,p)=>{const A=D(p,4),F=o[A];if(F){let B=D(r,4);if(i===1){if(B===bt)return b.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"),c;B*=bt+1,B+=D(r,8)}const ye=F.timescale||9e4,Fe=B/ye;if(I(Fe)&&(c===null||Fe<c))return Fe}return c},null);return s!==null&&I(s)&&(t===null||s<t)?s:t},null)}function mn(o,e){let t=0,n=0,r=0;const i=Ve(o,["moof","traf"]);for(let s=0;s<i.length;s++){const c=i[s],p=Ve(c,["tfhd"])[0],A=D(p,4),F=e[A];if(!F)continue;const B=F.default,ye=D(p,0)|(B==null?void 0:B.flags);let Fe=B==null?void 0:B.duration;ye&8&&(ye&2?Fe=D(p,12):Fe=D(p,8));const Re=F.timescale||9e4,Ue=Ve(c,["trun"]);for(let We=0;We<Ue.length;We++){if(t=_n(Ue[We]),!t&&Fe){const ct=D(Ue[We],4);t=Fe*ct}F.type===te.VIDEO?n+=t/Re:F.type===te.AUDIO&&(r+=t/Re)}}if(n===0&&r===0){let s=1/0,c=0,p=0;const A=Ve(o,["sidx"]);for(let F=0;F<A.length;F++){const B=nt(A[F]);if(B!=null&&B.references){s=Math.min(s,B.earliestPresentationTime/B.timescale);const ye=B.references.reduce((Fe,Re)=>Fe+Re.info.duration||0,0);c=Math.max(c,ye+B.earliestPresentationTime/B.timescale),p=c-s}}if(p&&I(p))return p}return n||r}function _n(o){const e=D(o,0);let t=8;e&1&&(t+=4),e&4&&(t+=4);let n=0;const r=D(o,4);for(let i=0;i<r;i++){if(e&256){const s=D(o,t);n+=s,t+=4}e&512&&(t+=4),e&1024&&(t+=4),e&2048&&(t+=4)}return n}function jt(o,e,t){Ve(e,["moof","traf"]).forEach(n=>{Ve(n,["tfhd"]).forEach(r=>{const i=D(r,4),s=o[i];if(!s)return;const c=s.timescale||9e4;Ve(n,["tfdt"]).forEach(p=>{const A=p[0],F=t*c;if(F){let B=D(p,4);if(A===0)B-=F,B=Math.max(B,0),Be(p,4,B);else{B*=Math.pow(2,32),B+=D(p,8),B-=F,B=Math.max(B,0);const ye=Math.floor(B/(bt+1)),Fe=Math.floor(B%(bt+1));Be(p,4,ye),Be(p,8,Fe)}}})})})}function Xt(o){const e={valid:null,remainder:null},t=Ve(o,["moof"]);if(t.length<2)return e.remainder=o,e;const n=t[t.length-1];return e.valid=se(o,0,n.byteOffset-8),e.remainder=se(o,n.byteOffset-8),e}function Rt(o,e){const t=new Uint8Array(o.length+e.length);return t.set(o),t.set(e,o.length),t}function Ft(o,e){const t=[],n=e.samples,r=e.timescale,i=e.id;let s=!1;return Ve(n,["moof"]).map(p=>{const A=p.byteOffset-8;Ve(p,["traf"]).map(B=>{const ye=Ve(B,["tfdt"]).map(Fe=>{const Re=Fe[0];let Ue=D(Fe,4);return Re===1&&(Ue*=Math.pow(2,32),Ue+=D(Fe,8)),Ue/r})[0];return ye!==void 0&&(o=ye),Ve(B,["tfhd"]).map(Fe=>{const Re=D(Fe,4),Ue=D(Fe,0)&16777215,We=(Ue&1)!==0,ct=(Ue&2)!==0,Vt=(Ue&8)!==0;let Wt=0;const xn=(Ue&16)!==0;let Qt=0;const Mn=(Ue&32)!==0;let bn=8;Re===i&&(We&&(bn+=8),ct&&(bn+=4),Vt&&(Wt=D(Fe,bn),bn+=4),xn&&(Qt=D(Fe,bn),bn+=4),Mn&&(bn+=4),e.type==="video"&&(s=Ze(e.codec)),Ve(B,["trun"]).map($n=>{const Ar=$n[0],kn=D($n,0)&16777215,Qn=(kn&1)!==0;let di=0;const Rr=(kn&4)!==0,oi=(kn&256)!==0;let ri=0;const Yr=(kn&512)!==0;let Mi=0;const Yi=(kn&1024)!==0,Or=(kn&2048)!==0;let Tr=0;const ji=D($n,4);let xi=8;Qn&&(di=D($n,xi),xi+=4),Rr&&(xi+=4);let Gi=di+A;for(let Ra=0;Ra<ji;Ra++){if(oi?(ri=D($n,xi),xi+=4):ri=Wt,Yr?(Mi=D($n,xi),xi+=4):Mi=Qt,Yi&&(xi+=4),Or&&(Ar===0?Tr=D($n,xi):Tr=ue($n,xi),xi+=4),e.type===te.VIDEO){let Ua=0;for(;Ua<Mi;){const za=D(n,Gi);if(Gi+=4,Et(s,n[Gi])){const is=n.subarray(Gi,Gi+za);xt(is,s?2:1,o+Tr/r,t)}Gi+=za,Ua+=za+4}}o+=ri/r}}))})})}),t}function Ze(o){if(!o)return!1;const e=o.indexOf("."),t=e<0?o:o.substring(0,e);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function Et(o,e){if(o){const t=e>>1&63;return t===39||t===40}else return(e&31)===6}function xt(o,e,t,n){const r=Ne(o);let i=0;i+=e;let s=0,c=0,p=0;for(;i<r.length;){s=0;do{if(i>=r.length)break;p=r[i++],s+=p}while(p===255);c=0;do{if(i>=r.length)break;p=r[i++],c+=p}while(p===255);const A=r.length-i;let F=i;if(c<A)i+=c;else if(c>A){b.error(`Malformed SEI payload. ${c} is too small, only ${A} bytes left to parse.`);break}if(s===4){if(r[F++]===181){const ye=w(r,F);if(F+=2,ye===49){const Fe=D(r,F);if(F+=4,Fe===1195456820){const Re=r[F++];if(Re===3){const Ue=r[F++],We=31&Ue,ct=64&Ue,Vt=ct?2+We*3:0,Wt=new Uint8Array(Vt);if(ct){Wt[0]=Ue;for(let xn=1;xn<Vt;xn++)Wt[xn]=r[F++]}n.push({type:Re,payloadType:s,pts:t,bytes:Wt})}}}}}else if(s===5&&c>16){const B=[];for(let Re=0;Re<16;Re++){const Ue=r[F++].toString(16);B.push(Ue.length==1?"0"+Ue:Ue),(Re===3||Re===5||Re===7||Re===9)&&B.push("-")}const ye=c-16,Fe=new Uint8Array(ye);for(let Re=0;Re<ye;Re++)Fe[Re]=r[F++];n.push({payloadType:s,pts:t,uuid:B.join(""),userData:Ye(Fe),userDataBytes:Fe})}}}function Ne(o){const e=o.byteLength,t=[];let n=1;for(;n<e-2;)o[n]===0&&o[n+1]===0&&o[n+2]===3?(t.push(n+2),n+=2):n++;if(t.length===0)return o;const r=e-t.length,i=new Uint8Array(r);let s=0;for(n=0;n<r;s++,n++)s===t[0]&&(s++,t.shift()),i[n]=o[s];return i}function Ce(o){const e=o[0];let t="",n="",r=0,i=0,s=0,c=0,p=0,A=0;if(e===0){for(;_t(o.subarray(A,A+1))!=="\0";)t+=_t(o.subarray(A,A+1)),A+=1;for(t+=_t(o.subarray(A,A+1)),A+=1;_t(o.subarray(A,A+1))!=="\0";)n+=_t(o.subarray(A,A+1)),A+=1;n+=_t(o.subarray(A,A+1)),A+=1,r=D(o,12),i=D(o,16),c=D(o,20),p=D(o,24),A=28}else if(e===1){A+=4,r=D(o,A),A+=4;const B=D(o,A);A+=4;const ye=D(o,A);for(A+=4,s=xl(2,32)*B+ye,z(s)||(s=Number.MAX_SAFE_INTEGER,b.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),c=D(o,A),A+=4,p=D(o,A),A+=4;_t(o.subarray(A,A+1))!=="\0";)t+=_t(o.subarray(A,A+1)),A+=1;for(t+=_t(o.subarray(A,A+1)),A+=1;_t(o.subarray(A,A+1))!=="\0";)n+=_t(o.subarray(A,A+1)),A+=1;n+=_t(o.subarray(A,A+1)),A+=1}const F=o.subarray(A,o.byteLength);return{schemeIdUri:t,value:n,timeScale:r,presentationTime:s,presentationTimeDelta:i,eventDuration:c,id:p,payload:F}}function mt(o,...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(o,4),r=0,n=8;r<t;r++)i.set(e[r],n),n+=e[r].byteLength;return i}function pt(o,e,t){if(o.byteLength!==16)throw new RangeError("Invalid system id");let n,r;if(e){n=1,r=new Uint8Array(e.length*16);for(let c=0;c<e.length;c++){const p=e[c];if(p.byteLength!==16)throw new RangeError("Invalid key");r.set(p,c*16)}}else 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 s=new Uint8Array(4);return t&&t.byteLength>0&&new DataView(s.buffer).setUint32(0,t.byteLength,!1),mt([112,115,115,104],new Uint8Array([n,0,0,0]),o,i,r,s,t||new Uint8Array)}function Dt(o){const e=[];if(o instanceof ArrayBuffer){const t=o.byteLength;let n=0;for(;n+32<t;){const r=new DataView(o,n),i=Ht(r);e.push(i),n+=i.size}}return e}function Ht(o){const e=o.getUint32(0),t=o.byteOffset,n=o.byteLength;if(n<e)return{offset:t,size:n};if(o.getUint32(4)!==1886614376)return{offset:t,size:e};const i=o.getUint32(8)>>>24;if(i!==0&&i!==1)return{offset:t,size:e};const s=o.buffer,c=vt.hexDump(new Uint8Array(s,t+12,16)),p=o.getUint32(28);let A=null,F=null;if(i===0){if(e-32<p||p<22)return{offset:t,size:e};F=new Uint8Array(s,t+32,p)}else if(i===1){if(!p||n<t+32+p*16+16)return{offset:t,size:e};A=[];for(let B=0;B<p;B++)A.push(new Uint8Array(s,t+32+B*16,16))}return{version:i,systemId:c,kids:A,data:F,offset:t,size:e}}let nn={};class Kt{static clearKeyUriToKeyIdMap(){nn={}}constructor(e,t,n,r=[1],i=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=e,this.uri=t,this.keyFormat=n,this.keyFormatVersions=r,this.iv=i,this.encrypted=e?e!=="NONE":!1,this.isCommonEncryption=this.encrypted&&e!=="AES-128"}isSupported(){if(this.method){if(this.method==="AES-128"||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case $e.FAIRPLAY:case $e.WIDEVINE:case $e.PLAYREADY:case $e.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(e){if(!this.encrypted||!this.uri)return null;if(this.method==="AES-128"&&this.uri&&!this.iv){typeof e!="number"&&(this.method==="AES-128"&&!this.iv&&b.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),e=0);const n=sn(e);return new Kt(this.method,this.uri,"identity",this.keyFormatVersions,n)}const t=J(this.uri);if(t)switch(this.keyFormat){case $e.WIDEVINE:this.pssh=t,t.length>=22&&(this.keyId=t.subarray(t.length-22,t.length-6));break;case $e.PLAYREADY:{const n=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=pt(n,null,t),this.keyId=ot(t);break}default:{let n=t.subarray(0,16);if(n.length!==16){const r=new Uint8Array(16);r.set(n,16-n.length),n=r}this.keyId=n;break}}if(!this.keyId||this.keyId.byteLength!==16){let n=nn[this.uri];if(!n){const r=Object.keys(nn).length%Number.MAX_SAFE_INTEGER;n=new Uint8Array(16),new DataView(n.buffer,12,4).setUint32(0,r),nn[this.uri]=n}this.keyId=n}return this}}function sn(o){const e=new Uint8Array(16);for(let t=12;t<16;t++)e[t]=o>>8*(15-t)&255;return e}const un=/\{\$([a-zA-Z0-9-_]+)\}/g;function Ut(o){return un.test(o)}function kt(o,e,t){if(o.variableList!==null||o.hasVariableRefs)for(let n=t.length;n--;){const r=t[n],i=e[r];i&&(e[r]=ln(o,i))}}function ln(o,e){if(o.variableList!==null||o.hasVariableRefs){const t=o.variableList;return e.replace(un,n=>{const r=n.substring(2,n.length-1),i=t==null?void 0:t[r];return i===void 0?(o.playlistParsingError||(o.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${r}"`)),n):i})}return e}function dn(o,e,t){let n=o.variableList;n||(o.variableList=n={});let r,i;if("QUERYPARAM"in e){r=e.QUERYPARAM;try{const s=new self.URL(t).searchParams;if(s.has(r))i=s.get(r);else throw new Error(`"${r}" does not match any query parameter in URI: "${t}"`)}catch(s){o.playlistParsingError||(o.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${s.message}`))}}else r=e.NAME,i=e.VALUE;r in n?o.playlistParsingError||(o.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${r}"`)):n[r]=i||""}function hn(o,e,t){const n=e.IMPORT;if(t&&n in t){let r=o.variableList;r||(o.variableList=r={}),r[n]=t[n]}else o.playlistParsingError||(o.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${n}"`))}function wn(o=!0){return typeof self=="undefined"?void 0:(o||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function Xn(o){return typeof self!="undefined"&&o===self.ManagedMediaSource}const Nn={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,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 en(o,e){const t=Nn[e];return!!t&&!!t[o.slice(0,4)]}function dt(o,e,t=!0){return!o.split(",").some(n=>!yt(n,e,t))}function yt(o,e,t=!0){var n;const r=wn(t);return(n=r==null?void 0:r.isTypeSupported(Lt(o,e)))!=null?n:!1}function Lt(o,e){return`${e}/mp4;codecs="${o}"`}function Bt(o){if(o){const e=o.substring(0,4);return Nn.video[e]}return 2}function Ot(o){return o.split(",").reduce((e,t)=>{const n=Nn.video[t];return n?(n*2+e)/(e?3:2):(Nn.audio[t]+e)/(e?2:1)},0)}const Yt={};function Gt(o,e=!0){if(Yt[o])return Yt[o];const t={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"]}[o];for(let n=0;n<t.length;n++)if(yt(t[n],"audio",e))return Yt[o]=t[n],t[n];return o}const gn=/flac|opus/i;function En(o,e=!0){return o.replace(gn,t=>Gt(t.toLowerCase(),e))}function In(o,e){return o&&o!=="mp4a"?o:e&&e.split(",")[0]}function qn(o){const e=o.split(",");for(let t=0;t<e.length;t++){const n=e[t].split(".");if(n.length>2){let r=n.shift()+".";r+=parseInt(n.shift()).toString(16),r+=("000"+parseInt(n.shift()).toString(16)).slice(-4),e[t]=r}}return e.join(",")}const er=/#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,pr=/#EXT-X-MEDIA:(.*)/g,Cn=/^#EXT(?:INF|-X-TARGETDURATION):/m,An=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#EXT-X-BYTERANGE:*(.+)/.source,/#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/#.*/.source].join("|"),"g"),mr=new RegExp([/#(EXTM3U)/.source,/#EXT-X-(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 Vn{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 ee.buildAbsoluteURL(t,e,{alwaysNormalize:!0})}static isMediaPlaylist(e){return Cn.test(e)}static parseMasterPlaylist(e,t){const n=Ut(e),r={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:n},i=[];er.lastIndex=0;let s;for(;(s=er.exec(e))!=null;)if(s[1]){var c;const A=new j(s[1]);kt(r,A,["CODECS","SUPPLEMENTAL-CODECS","ALLOWED-CPC","PATHWAY-ID","STABLE-VARIANT-ID","AUDIO","VIDEO","SUBTITLES","CLOSED-CAPTIONS","NAME"]);const F=ln(r,s[2]),B={attrs:A,bitrate:A.decimalInteger("BANDWIDTH")||A.decimalInteger("AVERAGE-BANDWIDTH"),name:A.NAME,url:Vn.resolve(F,t)},ye=A.decimalResolution("RESOLUTION");ye&&(B.width=ye.width,B.height=ye.height),dr(A.CODECS,B),(c=B.unknownCodecs)!=null&&c.length||i.push(B),r.levels.push(B)}else if(s[3]){const A=s[3],F=s[4];switch(A){case"SESSION-DATA":{const B=new j(F);kt(r,B,["DATA-ID","LANGUAGE","VALUE","URI"]);const ye=B["DATA-ID"];ye&&(r.sessionData===null&&(r.sessionData={}),r.sessionData[ye]=B);break}case"SESSION-KEY":{const B=Dr(F,t,r);B.encrypted&&B.isSupported()?(r.sessionKeys===null&&(r.sessionKeys=[]),r.sessionKeys.push(B)):b.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${F}"`);break}case"DEFINE":{{const B=new j(F);kt(r,B,["NAME","VALUE","QUERYPARAM"]),dn(r,B,t)}break}case"CONTENT-STEERING":{const B=new j(F);kt(r,B,["SERVER-URI","PATHWAY-ID"]),r.contentSteering={uri:Vn.resolve(B["SERVER-URI"],t),pathwayId:B["PATHWAY-ID"]||"."};break}case"START":{r.startTimeOffset=tr(F);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={},s=n.levels,c={AUDIO:s.map(A=>({id:A.attrs.AUDIO,audioCodec:A.audioCodec})),SUBTITLES:s.map(A=>({id:A.attrs.SUBTITLES,textCodec:A.textCodec})),"CLOSED-CAPTIONS":[]};let p=0;for(pr.lastIndex=0;(r=pr.exec(e))!==null;){const A=new j(r[1]),F=A.TYPE;if(F){const B=c[F],ye=i[F]||[];i[F]=ye,kt(n,A,["URI","GROUP-ID","LANGUAGE","ASSOC-LANGUAGE","STABLE-RENDITION-ID","NAME","INSTREAM-ID","CHARACTERISTICS","CHANNELS"]);const Fe=A.LANGUAGE,Re=A["ASSOC-LANGUAGE"],Ue=A.CHANNELS,We=A.CHARACTERISTICS,ct=A["INSTREAM-ID"],Vt={attrs:A,bitrate:0,id:p++,groupId:A["GROUP-ID"]||"",name:A.NAME||Fe||"",type:F,default:A.bool("DEFAULT"),autoselect:A.bool("AUTOSELECT"),forced:A.bool("FORCED"),lang:Fe,url:A.URI?Vn.resolve(A.URI,t):""};if(Re&&(Vt.assocLang=Re),Ue&&(Vt.channels=Ue),We&&(Vt.characteristics=We),ct&&(Vt.instreamId=ct),B!=null&&B.length){const Wt=Vn.findGroup(B,Vt.groupId)||B[0];vr(Vt,Wt,"audioCodec"),vr(Vt,Wt,"textCodec")}ye.push(Vt)}}return i}static parseLevelPlaylist(e,t,n,r,i,s){const c=new ie(t),p=c.fragments;let A=null,F=0,B=0,ye=0,Fe=0,Re=null,Ue=new he(r,t),We,ct,Vt,Wt=-1,xn=!1,Qt=null;for(An.lastIndex=0,c.m3u8=e,c.hasVariableRefs=Ut(e);(We=An.exec(e))!==null;){xn&&(xn=!1,Ue=new he(r,t),Ue.start=ye,Ue.sn=F,Ue.cc=Fe,Ue.level=n,A&&(Ue.initSegment=A,Ue.rawProgramDateTime=A.rawProgramDateTime,A.rawProgramDateTime=null,Qt&&(Ue.setByteRange(Qt),Qt=null)));const Ar=We[1];if(Ar){Ue.duration=parseFloat(Ar);const kn=(" "+We[2]).slice(1);Ue.title=kn||null,Ue.tagList.push(kn?["INF",Ar,kn]:["INF",Ar])}else if(We[3]){if(I(Ue.duration)){Ue.start=ye,Vt&&Jn(Ue,Vt,c),Ue.sn=F,Ue.level=n,Ue.cc=Fe,p.push(Ue);const kn=(" "+We[3]).slice(1);Ue.relurl=ln(c,kn),Ir(Ue,Re),Re=Ue,ye+=Ue.duration,F++,B=0,xn=!0}}else if(We[4]){const kn=(" "+We[4]).slice(1);Re?Ue.setByteRange(kn,Re):Ue.setByteRange(kn)}else if(We[5])Ue.rawProgramDateTime=(" "+We[5]).slice(1),Ue.tagList.push(["PROGRAM-DATE-TIME",Ue.rawProgramDateTime]),Wt===-1&&(Wt=p.length);else{if(We=We[0].match(mr),!We){b.warn("No matches on slow regex match for level playlist!");continue}for(ct=1;ct<We.length&&typeof We[ct]=="undefined";ct++);const kn=(" "+We[ct]).slice(1),Qn=(" "+We[ct+1]).slice(1),di=We[ct+2]?(" "+We[ct+2]).slice(1):"";switch(kn){case"PLAYLIST-TYPE":c.type=Qn.toUpperCase();break;case"MEDIA-SEQUENCE":F=c.startSN=parseInt(Qn);break;case"SKIP":{const Rr=new j(Qn);kt(c,Rr,["RECENTLY-REMOVED-DATERANGES"]);const oi=Rr.decimalInteger("SKIPPED-SEGMENTS");if(I(oi)){c.skippedSegments=oi;for(let Yr=oi;Yr--;)p.unshift(null);F+=oi}const ri=Rr.enumeratedString("RECENTLY-REMOVED-DATERANGES");ri&&(c.recentlyRemovedDateranges=ri.split(" "));break}case"TARGETDURATION":c.targetduration=Math.max(parseInt(Qn),1);break;case"VERSION":c.version=parseInt(Qn);break;case"INDEPENDENT-SEGMENTS":case"EXTM3U":break;case"ENDLIST":c.live=!1;break;case"#":(Qn||di)&&Ue.tagList.push(di?[Qn,di]:[Qn]);break;case"DISCONTINUITY":Fe++,Ue.tagList.push(["DIS"]);break;case"GAP":Ue.gap=!0,Ue.tagList.push([kn]);break;case"BITRATE":Ue.tagList.push([kn,Qn]);break;case"DATERANGE":{const Rr=new j(Qn);kt(c,Rr,["ID","CLASS","START-DATE","END-DATE","SCTE35-CMD","SCTE35-OUT","SCTE35-IN"]),kt(c,Rr,Rr.clientAttrs);const oi=new fe(Rr,c.dateRanges[Rr.ID]);oi.isValid||c.skippedSegments?c.dateRanges[oi.id]=oi:b.warn(`Ignoring invalid DATERANGE tag: "${Qn}"`),Ue.tagList.push(["EXT-X-DATERANGE",Qn]);break}case"DEFINE":{{const Rr=new j(Qn);kt(c,Rr,["NAME","VALUE","IMPORT","QUERYPARAM"]),"IMPORT"in Rr?hn(c,Rr,s):dn(c,Rr,t)}break}case"DISCONTINUITY-SEQUENCE":Fe=parseInt(Qn);break;case"KEY":{const Rr=Dr(Qn,t,c);if(Rr.isSupported()){if(Rr.method==="NONE"){Vt=void 0;break}Vt||(Vt={}),Vt[Rr.keyFormat]&&(Vt=a({},Vt)),Vt[Rr.keyFormat]=Rr}else b.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${Qn}"`);break}case"START":c.startTimeOffset=tr(Qn);break;case"MAP":{const Rr=new j(Qn);if(kt(c,Rr,["BYTERANGE","URI"]),Ue.duration){const oi=new he(r,t);$r(oi,Rr,n,Vt),A=oi,Ue.initSegment=A,A.rawProgramDateTime&&!Ue.rawProgramDateTime&&(Ue.rawProgramDateTime=A.rawProgramDateTime)}else{const oi=Ue.byteRangeEndOffset;if(oi){const ri=Ue.byteRangeStartOffset;Qt=`${oi-ri}@${ri}`}else Qt=null;$r(Ue,Rr,n,Vt),A=Ue,xn=!0}break}case"SERVER-CONTROL":{const Rr=new j(Qn);c.canBlockReload=Rr.bool("CAN-BLOCK-RELOAD"),c.canSkipUntil=Rr.optionalFloat("CAN-SKIP-UNTIL",0),c.canSkipDateRanges=c.canSkipUntil>0&&Rr.bool("CAN-SKIP-DATERANGES"),c.partHoldBack=Rr.optionalFloat("PART-HOLD-BACK",0),c.holdBack=Rr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{const Rr=new j(Qn);c.partTarget=Rr.decimalFloatingPoint("PART-TARGET");break}case"PART":{let Rr=c.partList;Rr||(Rr=c.partList=[]);const oi=B>0?Rr[Rr.length-1]:void 0,ri=B++,Yr=new j(Qn);kt(c,Yr,["BYTERANGE","URI"]);const Mi=new Q(Yr,Ue,t,ri,oi);Rr.push(Mi),Ue.duration+=Mi.duration;break}case"PRELOAD-HINT":{const Rr=new j(Qn);kt(c,Rr,["URI"]),c.preloadHint=Rr;break}case"RENDITION-REPORT":{const Rr=new j(Qn);kt(c,Rr,["URI"]),c.renditionReports=c.renditionReports||[],c.renditionReports.push(Rr);break}default:b.warn(`line parsed but not handled: ${We}`);break}}}Re&&!Re.relurl?(p.pop(),ye-=Re.duration,c.partList&&(c.fragmentHint=Re)):c.partList&&(Ir(Ue,Re),Ue.cc=Fe,c.fragmentHint=Ue,Vt&&Jn(Ue,Vt,c));const Mn=p.length,bn=p[0],$n=p[Mn-1];if(ye+=c.skippedSegments*c.targetduration,ye>0&&Mn&&$n){c.averagetargetduration=ye/Mn;const Ar=$n.sn;c.endSN=Ar!=="initSegment"?Ar:0,c.live||($n.endList=!0),bn&&(c.startCC=bn.cc)}else c.endSN=0,c.startCC=0;return c.fragmentHint&&(ye+=c.fragmentHint.duration),c.totalduration=ye,c.endCC=Fe,Wt>0&&nr(p,Wt),c}}function Dr(o,e,t){var n,r;const i=new j(o);kt(t,i,["KEYFORMAT","KEYFORMATVERSIONS","URI","IV","URI"]);const s=(n=i.METHOD)!=null?n:"",c=i.URI,p=i.hexadecimalInteger("IV"),A=i.KEYFORMATVERSIONS,F=(r=i.KEYFORMAT)!=null?r:"identity";c&&i.IV&&!p&&b.error(`Invalid IV: ${i.IV}`);const B=c?Vn.resolve(c,e):"",ye=(A||"1").split("/").map(Number).filter(Number.isFinite);return new Kt(s,B,F,ye,p)}function tr(o){const t=new j(o).decimalFloatingPoint("TIME-OFFSET");return I(t)?t:null}function dr(o,e){let t=(o||"").split(/[ ,]+/).filter(n=>n);["video","audio","text"].forEach(n=>{const r=t.filter(i=>en(i,n));r.length&&(e[`${n}Codec`]=r.join(","),t=t.filter(i=>r.indexOf(i)===-1))}),e.unknownCodecs=t}function vr(o,e,t){const n=e[t];n&&(o[t]=n)}function nr(o,e){let t=o[e];for(let n=e;n--;){const r=o[n];if(!r)return;r.programDateTime=t.programDateTime-r.duration*1e3,t=r}}function Ir(o,e){o.rawProgramDateTime?o.programDateTime=Date.parse(o.rawProgramDateTime):e!=null&&e.programDateTime&&(o.programDateTime=e.endProgramDateTime),I(o.programDateTime)||(o.programDateTime=null,o.rawProgramDateTime=null)}function $r(o,e,t,n){o.relurl=e.URI,e.BYTERANGE&&o.setByteRange(e.BYTERANGE),o.level=t,o.sn="initSegment",n&&(o.levelkeys=n),o.initSegment=null}function Jn(o,e,t){o.levelkeys=e;const{encryptedFragments:n}=t;(!n.length||n[n.length-1].levelkeys!==e)&&Object.keys(e).some(r=>e[r].isCommonEncryption)&&n.push(o)}var Fn={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},at={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};function zn(o){const{type:e}=o;switch(e){case Fn.AUDIO_TRACK:return at.AUDIO;case Fn.SUBTITLE_TRACK:return at.SUBTITLE;default:return at.MAIN}}function sr(o,e){let t=o.url;return(t===void 0||t.indexOf("data:")===0)&&(t=e.url),t}class wr{constructor(e){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.hls=e,this.registerListeners()}startLoad(e){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:e}=this;e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.LEVEL_LOADING,this.onLevelLoading,this),e.on(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.on(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)}unregisterListeners(){const{hls:e}=this;e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.LEVEL_LOADING,this.onLevelLoading,this),e.off(u.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),e.off(u.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this)}createInternalLoader(e){const t=this.hls.config,n=t.pLoader,r=t.loader,i=n||r,s=new i(t);return this.loaders[e.type]=s,s}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:Fn.MANIFEST,url:n,deliveryDirectives:null})}onLevelLoading(e,t){const{id:n,level:r,pathwayId:i,url:s,deliveryDirectives:c}=t;this.load({id:n,level:r,pathwayId:i,responseType:"text",type:Fn.LEVEL,url:s,deliveryDirectives:c})}onAudioTrackLoading(e,t){const{id:n,groupId:r,url:i,deliveryDirectives:s}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:Fn.AUDIO_TRACK,url:i,deliveryDirectives:s})}onSubtitleTrackLoading(e,t){const{id:n,groupId:r,url:i,deliveryDirectives:s}=t;this.load({id:n,groupId:r,level:null,responseType:"text",type:Fn.SUBTITLE_TRACK,url:i,deliveryDirectives:s})}load(e){var t;const n=this.hls.config;let r=this.getInternalLoader(e);if(r){const A=r.context;if(A&&A.url===e.url&&A.level===e.level){b.trace("[playlist-loader]: playlist request ongoing");return}b.log(`[playlist-loader]: aborting previous loader for type: ${e.type}`),r.abort()}let i;if(e.type===Fn.MANIFEST?i=n.manifestLoadPolicy.default:i=a({},n.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),r=this.createInternalLoader(e),I((t=e.deliveryDirectives)==null?void 0:t.part)){let A;if(e.type===Fn.LEVEL&&e.level!==null?A=this.hls.levels[e.level].details:e.type===Fn.AUDIO_TRACK&&e.id!==null?A=this.hls.audioTracks[e.id].details:e.type===Fn.SUBTITLE_TRACK&&e.id!==null&&(A=this.hls.subtitleTracks[e.id].details),A){const F=A.partTarget,B=A.targetduration;if(F&&B){const ye=Math.max(F*3,B*.8)*1e3;i=a({},i,{maxTimeToFirstByteMs:Math.min(ye,i.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(ye,i.maxTimeToFirstByteMs)})}}}const s=i.errorRetry||i.timeoutRetry||{},c={loadPolicy:i,timeout:i.maxLoadTimeMs,maxRetry:s.maxNumRetry||0,retryDelay:s.retryDelayMs||0,maxRetryDelay:s.maxRetryDelayMs||0},p={onSuccess:(A,F,B,ye)=>{const Fe=this.getInternalLoader(B);this.resetInternalLoader(B.type);const Re=A.data;if(Re.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(A,B,new Error("no EXTM3U delimiter"),ye||null,F);return}F.parsing.start=performance.now(),Vn.isMediaPlaylist(Re)?this.handleTrackOrLevelPlaylist(A,F,B,ye||null,Fe):this.handleMasterPlaylist(A,F,B,ye)},onError:(A,F,B,ye)=>{this.handleNetworkError(F,B,!1,A,ye)},onTimeout:(A,F,B)=>{this.handleNetworkError(F,B,!0,void 0,A)}};r.load(e,c,p)}handleMasterPlaylist(e,t,n,r){const i=this.hls,s=e.data,c=sr(e,n),p=Vn.parseMasterPlaylist(s,c);if(p.playlistParsingError){this.handleManifestParsingError(e,n,p.playlistParsingError,r,t);return}const{contentSteering:A,levels:F,sessionData:B,sessionKeys:ye,startTimeOffset:Fe,variableList:Re}=p;this.variableList=Re;const{AUDIO:Ue=[],SUBTITLES:We,"CLOSED-CAPTIONS":ct}=Vn.parseMasterPlaylistMedia(s,c,p);Ue.length&&!Ue.some(Wt=>!Wt.url)&&F[0].audioCodec&&!F[0].attrs.AUDIO&&(b.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),Ue.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new j({}),bitrate:0,url:""})),i.trigger(u.MANIFEST_LOADED,{levels:F,audioTracks:Ue,subtitles:We,captions:ct,contentSteering:A,url:c,stats:t,networkDetails:r,sessionData:B,sessionKeys:ye,startTimeOffset:Fe,variableList:Re})}handleTrackOrLevelPlaylist(e,t,n,r,i){const s=this.hls,{id:c,level:p,type:A}=n,F=sr(e,n),B=0,ye=I(p)?p:I(c)?c:0,Fe=zn(n),Re=Vn.parseLevelPlaylist(e.data,F,ye,Fe,B,this.variableList);if(A===Fn.MANIFEST){const Ue={attrs:new j({}),bitrate:0,details:Re,name:"",url:F};s.trigger(u.MANIFEST_LOADED,{levels:[Ue],audioTracks:[],url:F,stats:t,networkDetails:r,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}t.parsing.end=performance.now(),n.levelDetails=Re,this.handlePlaylistLoaded(Re,e,t,n,r,i)}handleManifestParsingError(e,t,n,r,i){this.hls.trigger(u.ERROR,{type:x.NETWORK_ERROR,details:m.MANIFEST_PARSING_ERROR,fatal:t.type===Fn.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 s=`A network ${n?"timeout":"error"+(r?" (status "+r.code+")":"")} occurred while loading ${e.type}`;e.type===Fn.LEVEL?s+=`: ${e.level} id: ${e.id}`:(e.type===Fn.AUDIO_TRACK||e.type===Fn.SUBTITLE_TRACK)&&(s+=` id: ${e.id} group-id: "${e.groupId}"`);const c=new Error(s);b.warn(`[playlist-loader]: ${s}`);let p=m.UNKNOWN,A=!1;const F=this.getInternalLoader(e);switch(e.type){case Fn.MANIFEST:p=n?m.MANIFEST_LOAD_TIMEOUT:m.MANIFEST_LOAD_ERROR,A=!0;break;case Fn.LEVEL:p=n?m.LEVEL_LOAD_TIMEOUT:m.LEVEL_LOAD_ERROR,A=!1;break;case Fn.AUDIO_TRACK:p=n?m.AUDIO_TRACK_LOAD_TIMEOUT:m.AUDIO_TRACK_LOAD_ERROR,A=!1;break;case Fn.SUBTITLE_TRACK:p=n?m.SUBTITLE_TRACK_LOAD_TIMEOUT:m.SUBTITLE_LOAD_ERROR,A=!1;break}F&&this.resetInternalLoader(e.type);const B={type:x.NETWORK_ERROR,details:p,fatal:A,url:e.url,loader:F,context:e,error:c,networkDetails:t,stats:i};if(r){const ye=(t==null?void 0:t.url)||e.url;B.response=$({url:ye,data:void 0},r)}this.hls.trigger(u.ERROR,B)}handlePlaylistLoaded(e,t,n,r,i,s){const c=this.hls,{type:p,level:A,id:F,groupId:B,deliveryDirectives:ye}=r,Fe=sr(t,r),Re=zn(r),Ue=typeof r.level=="number"&&Re===at.MAIN?A:void 0;if(!e.fragments.length){const ct=new Error("No Segments found in Playlist");c.trigger(u.ERROR,{type:x.NETWORK_ERROR,details:m.LEVEL_EMPTY_ERROR,fatal:!1,url:Fe,error:ct,reason:ct.message,response:t,context:r,level:Ue,parent:Re,networkDetails:i,stats:n});return}e.targetduration||(e.playlistParsingError=new Error("Missing Target Duration"));const We=e.playlistParsingError;if(We){c.trigger(u.ERROR,{type:x.NETWORK_ERROR,details:m.LEVEL_PARSING_ERROR,fatal:!1,url:Fe,error:We,reason:We.message,response:t,context:r,level:Ue,parent:Re,networkDetails:i,stats:n});return}switch(e.live&&s&&(s.getCacheAge&&(e.ageHeader=s.getCacheAge()||0),(!s.getCacheAge||isNaN(e.ageHeader))&&(e.ageHeader=0)),p){case Fn.MANIFEST:case Fn.LEVEL:c.trigger(u.LEVEL_LOADED,{details:e,level:Ue||0,id:F||0,stats:n,networkDetails:i,deliveryDirectives:ye});break;case Fn.AUDIO_TRACK:c.trigger(u.AUDIO_TRACK_LOADED,{details:e,id:F||0,groupId:B||"",stats:n,networkDetails:i,deliveryDirectives:ye});break;case Fn.SUBTITLE_TRACK:c.trigger(u.SUBTITLE_TRACK_LOADED,{details:e,id:F||0,groupId:B||"",stats:n,networkDetails:i,deliveryDirectives:ye});break}}}function Cr(o,e){let t;try{t=new Event("addtrack")}catch(n){t=document.createEvent("Event"),t.initEvent("addtrack",!1,!1)}t.track=o,e.dispatchEvent(t)}function Nr(o,e){const t=o.mode;if(t==="disabled"&&(o.mode="hidden"),o.cues&&!o.cues.getCueById(e.id))try{if(o.addCue(e),!o.cues.getCueById(e.id))throw new Error(`addCue is failed for: ${e}`)}catch(n){b.debug(`[texttrack-utils]: ${n}`);try{const r=new self.TextTrackCue(e.startTime,e.endTime,e.text);r.id=e.id,o.addCue(r)}catch(r){b.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${r}`)}}t==="disabled"&&(o.mode=t)}function jr(o){const e=o.mode;if(e==="disabled"&&(o.mode="hidden"),o.cues)for(let t=o.cues.length;t--;)o.removeCue(o.cues[t]);e==="disabled"&&(o.mode=e)}function Sr(o,e,t,n){const r=o.mode;if(r==="disabled"&&(o.mode="hidden"),o.cues&&o.cues.length>0){const i=Gr(o.cues,e,t);for(let s=0;s<i.length;s++)(!n||n(i[s]))&&o.removeCue(i[s])}r==="disabled"&&(o.mode=r)}function Mr(o,e){if(e<o[0].startTime)return 0;const t=o.length-1;if(e>o[t].endTime)return-1;let n=0,r=t;for(;n<=r;){const i=Math.floor((r+n)/2);if(e<o[i].startTime)r=i-1;else if(e>o[i].startTime&&n<t)n=i+1;else return i}return o[n].startTime-e<e-o[r].startTime?n:r}function Gr(o,e,t){const n=[],r=Mr(o,e);if(r>-1)for(let i=r,s=o.length;i<s;i++){const c=o[i];if(c.startTime>=e&&c.endTime<=t)n.push(c);else if(c.startTime>t)return n}return n}function On(o){const e=[];for(let t=0;t<o.length;t++){const n=o[t];(n.kind==="subtitles"||n.kind==="captions")&&n.label&&e.push(o[t])}return e}var Kn={audioId3:"org.id3",dateRange:"com.apple.quicktime.HLS",emsg:"https://aomedia.org/emsg/ID3"};const gr=.25;function Lr(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function Xr(o,e,t,n,r){let i=new o(e,t,"");try{i.value=n,r&&(i.type=r)}catch(s){i=new o(e,t,JSON.stringify(r?$({type:r},n):n))}return i}const jn=(()=>{const o=Lr();try{o&&new o(0,Number.POSITIVE_INFINITY,"")}catch(e){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function zr(o,e){return o.getTime()/1e3-e}function Vr(o){return Uint8Array.from(o.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class fi{constructor(e){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=e,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=null}_registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(u.LEVEL_UPDATED,this.onLevelUpdated,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),e.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(u.LEVEL_UPDATED,this.onLevelUpdated,this)}onMediaAttached(e,t){this.media=t.media}onMediaDetaching(){this.id3Track&&(jr(this.id3Track),this.id3Track=null,this.media=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 Cr(n,this.media),n}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(e,t){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:n,enableID3MetadataCues:r}}}=this;if(!n&&!r)return;const{samples:i}=t;this.id3Track||(this.id3Track=this.createTrack(this.media));const s=Lr();if(s)for(let c=0;c<i.length;c++){const p=i[c].type;if(p===Kn.emsg&&!n||!r)continue;const A=Z(i[c].data);if(A){const F=i[c].pts;let B=F+i[c].duration;B>jn&&(B=jn),B-F<=0&&(B=F+gr);for(let Fe=0;Fe<A.length;Fe++){const Re=A[Fe];if(!T(Re)){this.updateId3CueEnds(F,p);const Ue=Xr(s,F,B,Re,p);Ue&&this.id3Track.addCue(Ue)}}}}}updateId3CueEnds(e,t){var n;const r=(n=this.id3Track)==null?void 0:n.cues;if(r)for(let i=r.length;i--;){const s=r[i];s.type===t&&s.startTime<e&&s.endTime===jn&&(s.endTime=e)}}onBufferFlushing(e,{startOffset:t,endOffset:n,type:r}){const{id3Track:i,hls:s}=this;if(!s)return;const{config:{enableEmsgMetadataCues:c,enableID3MetadataCues:p}}=s;if(i&&(c||p)){let A;r==="audio"?A=F=>F.type===Kn.audioId3&&p:r==="video"?A=F=>F.type===Kn.emsg&&c:A=F=>F.type===Kn.audioId3&&p||F.type===Kn.emsg&&c,Sr(i,t,n,A)}}onLevelUpdated(e,{details:t}){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{dateRangeCuesAppended:n,id3Track:r}=this,{dateRanges:i}=t,s=Object.keys(i);if(r){const F=Object.keys(n).filter(B=>!s.includes(B));for(let B=F.length;B--;){const ye=F[B];Object.keys(n[ye].cues).forEach(Fe=>{r.removeCue(n[ye].cues[Fe])}),delete n[ye]}}const c=t.fragments[t.fragments.length-1];if(s.length===0||!I(c==null?void 0:c.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const p=c.programDateTime/1e3-c.start,A=Lr();for(let F=0;F<s.length;F++){const B=s[F],ye=i[B],Fe=zr(ye.startDate,p),Re=n[B],Ue=(Re==null?void 0:Re.cues)||{};let We=(Re==null?void 0:Re.durationKnown)||!1,ct=jn;const Vt=ye.endDate;if(Vt)ct=zr(Vt,p),We=!0;else if(ye.endOnNext&&!We){const xn=s.reduce((Qt,Mn)=>{if(Mn!==ye.id){const bn=i[Mn];if(bn.class===ye.class&&bn.startDate>ye.startDate&&(!Qt||ye.startDate<Qt.startDate))return bn}return Qt},null);xn&&(ct=zr(xn.startDate,p),We=!0)}const Wt=Object.keys(ye.attr);for(let xn=0;xn<Wt.length;xn++){const Qt=Wt[xn];if(!pe(Qt))continue;const Mn=Ue[Qt];if(Mn)We&&!Re.durationKnown&&(Mn.endTime=ct);else if(A){let bn=ye.attr[Qt];me(Qt)&&(bn=Vr(bn));const $n=Xr(A,Fe,ct,{key:Qt,data:bn},Kn.dateRange);$n&&($n.id=B,this.id3Track.addCue($n),Ue[Qt]=$n)}}n[B]={cues:Ue,dateRange:ye,durationKnown:We}}}}class ki{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.levelDetails=null,this.currentTime=0,this.stallCount=0,this._latency=null,this.timeupdateHandler=()=>this.timeupdate(),this.hls=e,this.config=e.config,this.registerListeners()}get latency(){return this._latency||0}get maxLatency(){const{config:e,levelDetails:t}=this;return e.liveMaxLatencyDuration!==void 0?e.liveMaxLatencyDuration:t?e.liveMaxLatencyDurationCount*t.targetduration:0}get targetLatency(){const{levelDetails:e}=this;if(e===null)return null;const{holdBack:t,partHoldBack:n,targetduration:r}=e,{liveSyncDuration:i,liveSyncDurationCount:s,lowLatencyMode:c}=this.config,p=this.hls.userConfig;let A=c&&n||t;(p.liveSyncDuration||p.liveSyncDurationCount||A===0)&&(A=i!==void 0?i:s*r);const F=r;return A+Math.min(this.stallCount*1,F)}get liveSyncPosition(){const e=this.estimateLiveEdge(),t=this.targetLatency,n=this.levelDetails;if(e===null||t===null||n===null)return null;const r=n.edge,i=e-t-this.edgeStalled,s=r-n.totalduration,c=r-(this.config.lowLatencyMode&&n.partTarget||n.targetduration);return Math.min(Math.max(s,i),c)}get drift(){const{levelDetails:e}=this;return e===null?1:e.drift}get edgeStalled(){const{levelDetails:e}=this;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,levelDetails:t}=this;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.levelDetails=null,this.hls=this.timeupdateHandler=null}registerListeners(){this.hls.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.on(u.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.on(u.ERROR,this.onError,this)}unregisterListeners(){this.hls.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),this.hls.off(u.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),this.hls.off(u.ERROR,this.onError,this)}onMediaAttached(e,t){this.media=t.media,this.media.addEventListener("timeupdate",this.timeupdateHandler)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.timeupdateHandler),this.media=null)}onManifestLoading(){this.levelDetails=null,this._latency=null,this.stallCount=0}onLevelUpdated(e,{details:t}){this.levelDetails=t,t.advanced&&this.timeupdate(),!t.live&&this.media&&this.media.removeEventListener("timeupdate",this.timeupdateHandler)}onError(e,t){var n;t.details===m.BUFFER_STALLED_ERROR&&(this.stallCount++,(n=this.levelDetails)!=null&&n.live&&b.warn("[playback-rate-controller]: Stall detected, adjusting target latency"))}timeupdate(){const{media:e,levelDetails:t}=this;if(!e||!t)return;this.currentTime=e.currentTime;const n=this.computeLatency();if(n===null)return;this._latency=n;const{lowLatencyMode:r,maxLiveSyncPlaybackRate:i}=this.config;if(!r||i===1||!t.live)return;const s=this.targetLatency;if(s===null)return;const c=n-s,p=Math.min(this.maxLatency,s+t.targetduration);if(c<p&&c>.05&&this.forwardBufferLength>1){const F=Math.min(2,Math.max(1,i)),B=Math.round(2/(1+Math.exp(-.75*c-this.edgeStalled))*20)/20;e.playbackRate=Math.min(F,Math.max(1,B))}else e.playbackRate!==1&&e.playbackRate!==0&&(e.playbackRate=1)}estimateLiveEdge(){const{levelDetails:e}=this;return e===null?null:e.edge+e.age}computeLatency(){const e=this.estimateLiveEdge();return e===null?null:e-this.currentTime}}const Ai=["NONE","TYPE-0","TYPE-1",null];function ti(o){return Ai.indexOf(o)>-1}const vi=["SDR","PQ","HLG"];function li(o){return!!o&&vi.indexOf(o)>-1}var Di={No:"",Yes:"YES",v2:"v2"};function Fi(o){const{canSkipUntil:e,canSkipDateRanges:t,age:n}=o,r=n<e/2;return e&&r?t?Di.v2:Di.Yes:Di.No}class Vi{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 Ri{constructor(e){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.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(t=>!!t).map(t=>t.substring(0,4)).join(","),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 Zi(this._audioGroups,e)}hasSubtitleGroup(e){return Zi(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 Zi(o,e){return!e||!o?!1:o.indexOf(e)!==-1}function Kr(o,e){const t=e.startPTS;if(I(t)){let n=0,r;e.sn>o.sn?(n=t-o.start,r=o):(n=o.start-t,r=e),r.duration!==n&&(r.duration=n)}else e.sn>o.sn?o.cc===e.cc&&o.minEndPTS?e.start=o.start+(o.minEndPTS-o.start):e.start=o.start+o.duration:e.start=Math.max(o.start-e.duration,0)}function aa(o,e,t,n,r,i){n-t<=0&&(b.warn("Fragment should have a positive duration",e),n=t+e.duration,i=r+e.duration);let c=t,p=n;const A=e.startPTS,F=e.endPTS;if(I(A)){const We=Math.abs(A-t);I(e.deltaPTS)?e.deltaPTS=Math.max(We,e.deltaPTS):e.deltaPTS=We,c=Math.max(t,A),t=Math.min(t,A),r=Math.min(r,e.startDTS),p=Math.min(n,F),n=Math.max(n,F),i=Math.max(i,e.endDTS)}const B=t-e.start;e.start!==0&&(e.start=t),e.duration=n-e.start,e.startPTS=t,e.maxStartPTS=c,e.startDTS=r,e.endPTS=n,e.minEndPTS=p,e.endDTS=i;const ye=e.sn;if(!o||ye<o.startSN||ye>o.endSN)return 0;let Fe;const Re=ye-o.startSN,Ue=o.fragments;for(Ue[Re]=e,Fe=Re;Fe>0;Fe--)Kr(Ue[Fe],Ue[Fe-1]);for(Fe=Re;Fe<Ue.length-1;Fe++)Kr(Ue[Fe],Ue[Fe+1]);return o.fragmentHint&&Kr(Ue[Ue.length-1],o.fragmentHint),o.PTSKnown=o.alignedSliding=!0,B}function ga(o,e){let t=null;const n=o.fragments;for(let c=n.length-1;c>=0;c--){const p=n[c].initSegment;if(p){t=p;break}}o.fragmentHint&&delete o.fragmentHint.endPTS;let r;ca(o,e,(c,p,A,F)=>{if(e.skippedSegments&&p.cc!==c.cc){const B=c.cc-p.cc;for(let ye=A;ye<F.length;ye++)F[ye].cc+=B}I(c.startPTS)&&I(c.endPTS)&&(p.start=p.startPTS=c.startPTS,p.startDTS=c.startDTS,p.maxStartPTS=c.maxStartPTS,p.endPTS=c.endPTS,p.endDTS=c.endDTS,p.minEndPTS=c.minEndPTS,p.duration=c.endPTS-c.startPTS,p.duration&&(r=p),e.PTSKnown=e.alignedSliding=!0),p.elementaryStreams=c.elementaryStreams,p.loader=c.loader,p.stats=c.stats,c.initSegment&&(p.initSegment=c.initSegment,t=c.initSegment)});const i=e.fragments;if(t&&(e.fragmentHint?i.concat(e.fragmentHint):i).forEach(p=>{var A;p&&(!p.initSegment||p.initSegment.relurl===((A=t)==null?void 0:A.relurl))&&(p.initSegment=t)}),e.skippedSegments){if(e.deltaUpdateFailed=i.some(c=>!c),e.deltaUpdateFailed){b.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let c=e.skippedSegments;c--;)i.shift();e.startSN=i[0].sn}else e.canSkipDateRanges&&(e.dateRanges=ua(o.dateRanges,e.dateRanges,e.recentlyRemovedDateranges));e.startCC=e.fragments[0].cc,e.endCC=i[i.length-1].cc}yi(o.partList,e.partList,(c,p)=>{p.elementaryStreams=c.elementaryStreams,p.stats=c.stats}),r?aa(e,r,r.startPTS,r.endPTS,r.startDTS,r.endDTS):_a(o,e),i.length&&(e.totalduration=e.edge-i[0].start),e.driftStartTime=o.driftStartTime,e.driftStart=o.driftStart;const s=e.advancedDateTime;if(e.advanced&&s){const c=e.edge;e.driftStart||(e.driftStartTime=s,e.driftStart=c),e.driftEndTime=s,e.driftEnd=c}else e.driftEndTime=o.driftEndTime,e.driftEnd=o.driftEnd,e.advancedDateTime=o.advancedDateTime}function ua(o,e,t){const n=a({},o);return t&&t.forEach(r=>{delete n[r]}),Object.keys(e).forEach(r=>{const i=new fe(e[r].attr,n[r]);i.isValid?n[r]=i:b.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${JSON.stringify(e[r].attr)}"`)}),n}function yi(o,e,t){if(o&&e){let n=0;for(let r=0,i=o.length;r<=i;r++){const s=o[r],c=e[r+n];s&&c&&s.index===c.index&&s.fragment.sn===c.fragment.sn?t(s,c):n--}}}function ca(o,e,t){const n=e.skippedSegments,r=Math.max(o.startSN,e.startSN)-e.startSN,i=(o.fragmentHint?1:0)+(n?e.endSN:Math.min(o.endSN,e.endSN))-e.startSN,s=e.startSN-o.startSN,c=e.fragmentHint?e.fragments.concat(e.fragmentHint):e.fragments,p=o.fragmentHint?o.fragments.concat(o.fragmentHint):o.fragments;for(let A=r;A<=i;A++){const F=p[s+A];let B=c[A];n&&!B&&A<n&&(B=e.fragments[A]=F),F&&B&&t(F,B,A,c)}}function _a(o,e){const t=e.startSN+e.skippedSegments-o.startSN,n=o.fragments;t<0||t>=n.length||Pn(e,n[t].start)}function Pn(o,e){if(e){const t=o.fragments;for(let n=o.skippedSegments;n<t.length;n++)t[n].start+=e;o.fragmentHint&&(o.fragmentHint.start+=e)}}function Ni(o,e=1/0){let t=1e3*o.targetduration;if(o.updated){const n=o.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 na(o,e,t){if(!(o!=null&&o.details))return null;const n=o.details;let r=n.fragments[e-n.startSN];return r||(r=n.fragmentHint,r&&r.sn===e)?r:e<n.startSN&&t&&t.sn===e?t:null}function or(o,e,t){var n;return o!=null&&o.details?xr((n=o.details)==null?void 0:n.partList,e,t):null}function xr(o,e,t){if(o)for(let n=o.length;n--;){const r=o[n];if(r.index===t&&r.fragment.sn===e)return r}return null}function lr(o){o.forEach((e,t)=>{const{details:n}=e;n!=null&&n.fragments&&n.fragments.forEach(r=>{r.level=t})})}function Gn(o){switch(o.details){case m.FRAG_LOAD_TIMEOUT:case m.KEY_LOAD_TIMEOUT:case m.LEVEL_LOAD_TIMEOUT:case m.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function Pr(o,e){const t=Gn(e);return o.default[`${t?"timeout":"error"}Retry`]}function Qr(o,e){const t=o.backoff==="linear"?1:Math.pow(2,e);return Math.min(t*o.retryDelayMs,o.maxRetryDelayMs)}function Pi(o){return $($({},o),{errorRetry:null,timeoutRetry:null})}function bi(o,e,t,n){if(!o)return!1;const r=n==null?void 0:n.code,i=e<o.maxNumRetry&&(Ii(r)||!!t);return o.shouldRetry?o.shouldRetry(o,e,t,n,i):i}function Ii(o){return o===0&&navigator.onLine===!1||!!o&&(o<400||o>499)}const Ui={search:function(o,e){let t=0,n=o.length-1,r=null,i=null;for(;t<=n;){r=(t+n)/2|0,i=o[r];const s=e(i);if(s>0)t=r+1;else if(s<0)n=r-1;else return i}return null}};function va(o,e,t){if(e===null||!Array.isArray(o)||!o.length||!I(e))return null;const n=o[0].programDateTime;if(e<(n||0))return null;const r=o[o.length-1].endProgramDateTime;if(e>=(r||0))return null;t=t||0;for(let i=0;i<o.length;++i){const s=o[i];if(fa(e,t,s))return s}return null}function wa(o,e,t=0,n=0,r=.005){let i=null;if(o){i=e[o.sn-e[0].sn+1]||null;const c=o.endDTS-t;c>0&&c<15e-7&&(t+=15e-7)}else t===0&&e[0].start===0&&(i=e[0]);if(i&&((!o||o.level===i.level)&&da(t,n,i)===0||Wa(i,o,Math.min(r,n))))return i;const s=Ui.search(e,da.bind(null,t,n));return s&&(s!==o||!i)?s:i}function Wa(o,e,t){if(e&&e.start===0&&e.level<o.level&&(e.endPTS||0)>0){const n=e.tagList.reduce((r,i)=>(i[0]==="INF"&&(r+=parseFloat(i[1])),r),t);return o.start<=n}return!1}function da(o=0,e=0,t){if(t.start<=o&&t.start+t.duration>o)return 0;const n=Math.min(e,t.duration+(t.deltaPTS?t.deltaPTS:0));return t.start+t.duration-n<=o?1:t.start-n>o&&t.start?-1:0}function fa(o,e,t){const n=Math.min(e,t.duration+(t.deltaPTS?t.deltaPTS:0))*1e3;return(t.endProgramDateTime||0)-n>o}function ur(o,e){return Ui.search(o,t=>t.cc<e?1:t.cc>e?-1:0)}var ar={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},Jr={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class Ki{constructor(e){this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.log=void 0,this.warn=void 0,this.error=void 0,this.hls=e,this.log=b.log.bind(b,"[info]:"),this.warn=b.warn.bind(b,"[warning]:"),this.error=b.error.bind(b,"[error]:"),this.registerListeners()}registerListeners(){const e=this.hls;e.on(u.ERROR,this.onError,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const e=this.hls;e&&(e.off(u.ERROR,this.onError,this),e.off(u.ERROR,this.onErrorOut,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null,this.penalizedRenditions={}}startLoad(e){}stopLoad(){this.playlistError=0}getVariantLevelIndex(e){return(e==null?void 0:e.type)===at.MAIN?e.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(e,t){var n,r;if(t.fatal)return;const i=this.hls,s=t.context;switch(t.details){case m.FRAG_LOAD_ERROR:case m.FRAG_LOAD_TIMEOUT:case m.KEY_LOAD_ERROR:case m.KEY_LOAD_TIMEOUT:t.errorAction=this.getFragRetryOrSwitchAction(t);return;case m.FRAG_PARSING_ERROR:if((n=t.frag)!=null&&n.gap){t.errorAction={action:ar.DoNothing,flags:Jr.None};return}case m.FRAG_GAP:case m.FRAG_DECRYPT_ERROR:{t.errorAction=this.getFragRetryOrSwitchAction(t),t.errorAction.action=ar.SendAlternateToPenaltyBox;return}case m.LEVEL_EMPTY_ERROR:case m.LEVEL_PARSING_ERROR:{var c,p;const A=t.parent===at.MAIN?t.level:i.loadLevel;t.details===m.LEVEL_EMPTY_ERROR&&((c=t.context)!=null&&(p=c.levelDetails)!=null&&p.live)?t.errorAction=this.getPlaylistRetryOrSwitchAction(t,A):(t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,A))}return;case m.LEVEL_LOAD_ERROR:case m.LEVEL_LOAD_TIMEOUT:typeof(s==null?void 0:s.level)=="number"&&(t.errorAction=this.getPlaylistRetryOrSwitchAction(t,s.level));return;case m.AUDIO_TRACK_LOAD_ERROR:case m.AUDIO_TRACK_LOAD_TIMEOUT:case m.SUBTITLE_LOAD_ERROR:case m.SUBTITLE_TRACK_LOAD_TIMEOUT:if(s){const A=i.levels[i.loadLevel];if(A&&(s.type===Fn.AUDIO_TRACK&&A.hasAudioGroup(s.groupId)||s.type===Fn.SUBTITLE_TRACK&&A.hasSubtitleGroup(s.groupId))){t.errorAction=this.getPlaylistRetryOrSwitchAction(t,i.loadLevel),t.errorAction.action=ar.SendAlternateToPenaltyBox,t.errorAction.flags=Jr.MoveAllAlternatesMatchingHost;return}}return;case m.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const A=i.levels[i.loadLevel],F=A==null?void 0:A.attrs["HDCP-LEVEL"];F?t.errorAction={action:ar.SendAlternateToPenaltyBox,flags:Jr.MoveAllAlternatesMatchingHDCP,hdcpLevel:F}:this.keySystemError(t)}return;case m.BUFFER_ADD_CODEC_ERROR:case m.REMUX_ALLOC_ERROR:case m.BUFFER_APPEND_ERROR:t.errorAction=this.getLevelSwitchAction(t,(r=t.level)!=null?r:i.loadLevel);return;case m.INTERNAL_EXCEPTION:case m.BUFFER_APPENDING_ERROR:case m.BUFFER_FULL_ERROR:case m.LEVEL_SWITCH_ERROR:case m.BUFFER_STALLED_ERROR:case m.BUFFER_SEEK_OVER_HOLE:case m.BUFFER_NUDGE_ON_STALL:t.errorAction={action:ar.DoNothing,flags:Jr.None};return}t.type===x.KEY_SYSTEM_ERROR&&this.keySystemError(t)}keySystemError(e){const t=this.getVariantLevelIndex(e.frag);e.levelRetry=!1,e.errorAction=this.getLevelSwitchAction(e,t)}getPlaylistRetryOrSwitchAction(e,t){const n=this.hls,r=Pr(n.config.playlistLoadPolicy,e),i=this.playlistError++;if(bi(r,i,Gn(e),e.response))return{action:ar.RetryRequest,flags:Jr.None,retryConfig:r,retryCount:i};const c=this.getLevelSwitchAction(e,t);return r&&(c.retryConfig=r,c.retryCount=i),c}getFragRetryOrSwitchAction(e){const t=this.hls,n=this.getVariantLevelIndex(e.frag),r=t.levels[n],{fragLoadPolicy:i,keyLoadPolicy:s}=t.config,c=Pr(e.details.startsWith("key")?s:i,e),p=t.levels.reduce((F,B)=>F+B.fragmentError,0);if(r&&(e.details!==m.FRAG_GAP&&r.fragmentError++,bi(c,p,Gn(e),e.response)))return{action:ar.RetryRequest,flags:Jr.None,retryConfig:c,retryCount:p};const A=this.getLevelSwitchAction(e,n);return c&&(A.retryConfig=c,A.retryCount=p),A}getLevelSwitchAction(e,t){const n=this.hls;t==null&&(t=n.loadLevel);const r=this.hls.levels[t];if(r){var i,s;const A=e.details;r.loadError++,A===m.BUFFER_APPEND_ERROR&&r.fragmentError++;let F=-1;const{levels:B,loadLevel:ye,minAutoLevel:Fe,maxAutoLevel:Re}=n;n.autoLevelEnabled||(n.loadLevel=-1);const Ue=(i=e.frag)==null?void 0:i.type,ct=(Ue===at.AUDIO&&A===m.FRAG_PARSING_ERROR||e.sourceBufferName==="audio"&&(A===m.BUFFER_ADD_CODEC_ERROR||A===m.BUFFER_APPEND_ERROR))&&B.some(({audioCodec:Mn})=>r.audioCodec!==Mn),Wt=e.sourceBufferName==="video"&&(A===m.BUFFER_ADD_CODEC_ERROR||A===m.BUFFER_APPEND_ERROR)&&B.some(({codecSet:Mn,audioCodec:bn})=>r.codecSet!==Mn&&r.audioCodec===bn),{type:xn,groupId:Qt}=(s=e.context)!=null?s:{};for(let Mn=B.length;Mn--;){const bn=(Mn+ye)%B.length;if(bn!==ye&&bn>=Fe&&bn<=Re&&B[bn].loadError===0){var c,p;const $n=B[bn];if(A===m.FRAG_GAP&&Ue===at.MAIN&&e.frag){const Ar=B[bn].details;if(Ar){const kn=wa(e.frag,Ar.fragments,e.frag.start);if(kn!=null&&kn.gap)continue}}else{if(xn===Fn.AUDIO_TRACK&&$n.hasAudioGroup(Qt)||xn===Fn.SUBTITLE_TRACK&&$n.hasSubtitleGroup(Qt))continue;if(Ue===at.AUDIO&&(c=r.audioGroups)!=null&&c.some(Ar=>$n.hasAudioGroup(Ar))||Ue===at.SUBTITLE&&(p=r.subtitleGroups)!=null&&p.some(Ar=>$n.hasSubtitleGroup(Ar))||ct&&r.audioCodec===$n.audioCodec||!ct&&r.audioCodec!==$n.audioCodec||Wt&&r.codecSet===$n.codecSet)continue}F=bn;break}}if(F>-1&&n.loadLevel!==F)return e.levelRetry=!0,this.playlistError=0,{action:ar.SendAlternateToPenaltyBox,flags:Jr.None,nextAutoLevel:F}}return{action:ar.SendAlternateToPenaltyBox,flags:Jr.MoveAllAlternatesMatchingHost}}onErrorOut(e,t){var n;switch((n=t.errorAction)==null?void 0:n.action){case ar.DoNothing:break;case ar.SendAlternateToPenaltyBox:this.sendAlternateToPenaltyBox(t),!t.errorAction.resolved&&t.details!==m.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 ar.RetryRequest:break}if(t.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(e){const t=this.hls,n=e.errorAction;if(!n)return;const{flags:r,hdcpLevel:i,nextAutoLevel:s}=n;switch(r){case Jr.None:this.switchLevel(e,s);break;case Jr.MoveAllAlternatesMatchingHDCP:i&&(t.maxHdcpLevel=Ai[Ai.indexOf(i)-1],n.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${t.maxHdcpLevel}" or lower`);break}n.resolved||this.switchLevel(e,s)}switchLevel(e,t){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)}}class ui{constructor(e,t){this.hls=void 0,this.timer=-1,this.requestScheduled=-1,this.canLoad=!1,this.log=void 0,this.warn=void 0,this.log=b.log.bind(b,`${t}:`),this.warn=b.warn.bind(b,`${t}:`),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.requestScheduled=-1,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 s=0;s<r.length;s++){const c=r[s];let p;try{p=new self.URL(c.URI,t.url).href}catch(A){b.warn(`Could not construct new URL for Rendition Report: ${A}`),p=c.URI||""}if(p===e){i=s;break}else p===e.substring(0,p.length)&&(i=s)}if(i!==-1){const s=r[i],c=parseInt(s["LAST-MSN"])||(t==null?void 0:t.lastPartSn);let p=parseInt(s["LAST-PART"])||(t==null?void 0:t.lastPartIndex);if(this.hls.config.lowLatencyMode){const F=Math.min(t.age-t.partTarget,t.targetduration);p>=0&&F>t.partTarget&&(p+=1)}const A=n&&Fi(n);return new Vi(c,p>=0?p:void 0,A)}}}loadPlaylist(e){this.requestScheduled===-1&&(this.requestScheduled=self.performance.now())}shouldLoadPlaylist(e){return this.canLoad&&!!e&&!!e.url&&(!e.details||e.details.live)}shouldReloadPlaylist(e){return this.timer===-1&&this.requestScheduled===-1&&this.shouldLoadPlaylist(e)}playlistLoaded(e,t,n){const{details:r,stats:i}=t,s=self.performance.now(),c=i.loading.first?Math.max(0,s-i.loading.first):0;if(r.advancedDateTime=Date.now()-c,r.live||n!=null&&n.live){if(r.reloaded(n),n&&this.log(`live playlist ${e} ${r.advanced?"REFRESHED "+r.lastPartSn+"-"+r.lastPartIndex:r.updated?"UPDATED":"MISSED"}`),n&&r.fragments.length>0&&ga(n,r),!this.canLoad||!r.live)return;let p,A,F;if(r.canBlockReload&&r.endSN&&r.advanced){const We=this.hls.config.lowLatencyMode,ct=r.lastPartSn,Vt=r.endSN,Wt=r.lastPartIndex,xn=Wt!==-1,Qt=ct===Vt,Mn=We?0:Wt;xn?(A=Qt?Vt+1:ct,F=Qt?Mn:Wt+1):A=Vt+1;const bn=r.age,$n=bn+r.ageHeader;let Ar=Math.min($n-r.partTarget,r.targetduration*1.5);if(Ar>0){if(n&&Ar>n.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${n.tuneInGoal} to: ${Ar} with playlist age: ${r.age}`),Ar=0;else{const kn=Math.floor(Ar/r.targetduration);if(A+=kn,F!==void 0){const Qn=Math.round(Ar%r.targetduration/r.partTarget);F+=Qn}this.log(`CDN Tune-in age: ${r.ageHeader}s last advanced ${bn.toFixed(2)}s goal: ${Ar} skip sn ${kn} to part ${F}`)}r.tuneInGoal=Ar}if(p=this.getDeliveryDirectives(r,t.deliveryDirectives,A,F),We||!Qt){this.loadPlaylist(p);return}}else(r.canBlockReload||r.canSkipUntil)&&(p=this.getDeliveryDirectives(r,t.deliveryDirectives,A,F));const B=this.hls.mainForwardBufferInfo,ye=B?B.end-B.len:0,Fe=(r.edge-ye)*1e3,Re=Ni(r,Fe);r.updated&&s>this.requestScheduled+Re&&(this.requestScheduled=i.loading.start),A!==void 0&&r.canBlockReload?this.requestScheduled=i.loading.first+Re-(r.partTarget*1e3||1e3):this.requestScheduled===-1||this.requestScheduled+Re<s?this.requestScheduled=s:this.requestScheduled-s<=0&&(this.requestScheduled+=Re);let Ue=this.requestScheduled-s;Ue=Math.max(0,Ue),this.log(`reload live playlist ${e} in ${Math.round(Ue)} ms`),this.timer=self.setTimeout(()=>this.loadPlaylist(p),Ue)}else this.clearTimer()}getDeliveryDirectives(e,t,n,r){let i=Fi(e);return t!=null&&t.skip&&e.deltaUpdateFailed&&(n=t.msn,r=t.part,i=Di.No),new Vi(n,r,i)}checkRetry(e){const t=e.details,n=Gn(e),r=e.errorAction,{action:i,retryCount:s=0,retryConfig:c}=r||{},p=!!r&&!!c&&(i===ar.RetryRequest||!r.resolved&&i===ar.SendAlternateToPenaltyBox);if(p){var A;if(this.requestScheduled=-1,s>=c.maxNumRetry)return!1;if(n&&(A=e.context)!=null&&A.deliveryDirectives)this.warn(`Retrying playlist loading ${s+1}/${c.maxNumRetry} after "${t}" without delivery-directives`),this.loadPlaylist();else{const F=Qr(c,s);this.timer=self.setTimeout(()=>this.loadPlaylist(),F),this.warn(`Retrying playlist loading ${s+1}/${c.maxNumRetry} after "${t}" in ${F}ms`)}e.levelRetry=!0,r.resolved=!0}return p}}class sa{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 Va{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 sa(e),this.fast_=new sa(t),this.defaultTTFB_=r,this.ttfb_=new sa(e)}update(e,t){const{slow_:n,fast_:r,ttfb_:i}=this;n.halfLife!==e&&(this.slow_=new sa(e,n.getEstimate(),n.getTotalWeight())),r.halfLife!==t&&(this.fast_=new sa(t,r.getEstimate(),r.getTotalWeight())),i.halfLife!==e&&(this.ttfb_=new sa(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_}destroy(){}}const Ha={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]},ya={};function as(o,e,t,n,r,i){const s=o.audioCodec?o.audioGroups:null,c=i==null?void 0:i.audioCodec,p=i==null?void 0:i.channels,A=p?parseInt(p):c?1/0:2;let F=null;if(s!=null&&s.length)try{s.length===1&&s[0]?F=e.groups[s[0]].channels:F=s.reduce((B,ye)=>{if(ye){const Fe=e.groups[ye];if(!Fe)throw new Error(`Audio track group ${ye} not found`);Object.keys(Fe.channels).forEach(Re=>{B[Re]=(B[Re]||0)+Fe.channels[Re]})}return B},{2:0})}catch(B){return!0}return o.videoCodec!==void 0&&(o.width>1920&&o.height>1088||o.height>1920&&o.width>1088||o.frameRate>Math.max(n,30)||o.videoRange!=="SDR"&&o.videoRange!==t||o.bitrate>Math.max(r,8e6))||!!F&&I(A)&&Object.keys(F).some(B=>parseInt(B)>A)}function ss(o,e,t){const n=o.videoCodec,r=o.audioCodec;if(!n||!r||!t)return Promise.resolve(Ha);const i={width:o.width,height:o.height,bitrate:Math.ceil(Math.max(o.bitrate*.9,o.averageBitrate)),framerate:o.frameRate||30},s=o.videoRange;s!=="SDR"&&(i.transferFunction=s.toLowerCase());const c=n.split(",").map(p=>({type:"media-source",video:$($({},i),{},{contentType:Lt(p,"video")})}));return r&&o.audioGroups&&o.audioGroups.forEach(p=>{var A;p&&((A=e.groups[p])==null||A.tracks.forEach(F=>{if(F.groupId===p){const B=F.channels||"",ye=parseFloat(B);I(ye)&&ye>2&&c.push.apply(c,r.split(",").map(Fe=>({type:"media-source",audio:{contentType:Lt(Fe,"audio"),channels:""+ye}})))}}))}),Promise.all(c.map(p=>{const A=os(p);return ya[A]||(ya[A]=t.decodingInfo(p))})).then(p=>({supported:!p.some(A=>!A.supported),configurations:c,decodingInfoResults:p})).catch(p=>({supported:!1,configurations:c,decodingInfoResults:[],error:p}))}function os(o){const{audio:e,video:t}=o,n=t||e;if(n){const r=n.contentType.split('"')[1];if(t)return`r${t.height}x${t.width}f${Math.ceil(t.framerate)}${t.transferFunction||"sd"}_${r}_${Math.ceil(t.bitrate/1e5)}`;if(e)return`c${e.channels}${e.spatialRendering?"s":"n"}_${r}`}return""}function ts(){if(typeof matchMedia=="function"){const o=matchMedia("(dynamic-range: high)"),e=matchMedia("bad query");if(o.media!==e.media)return o.matches===!0}return!1}function ls(o,e){let t=!1,n=[];return o&&(t=o!=="SDR",n=[o]),e&&(n=e.allowedVideoRanges||vi.slice(0),t=e.preferHDR!==void 0?e.preferHDR:ts(),t?n=n.filter(r=>r!=="SDR"):n=["SDR"]),{preferHDR:t,allowedVideoRanges:n}}function Ta(o,e,t,n,r){const i=Object.keys(o),s=n==null?void 0:n.channels,c=n==null?void 0:n.audioCodec,p=s&&parseInt(s)===2;let A=!0,F=!1,B=1/0,ye=1/0,Fe=1/0,Re=0,Ue=[];const{preferHDR:We,allowedVideoRanges:ct}=ls(e,r);for(let Qt=i.length;Qt--;){const Mn=o[i[Qt]];A=Mn.channels[2]>0,B=Math.min(B,Mn.minHeight),ye=Math.min(ye,Mn.minFramerate),Fe=Math.min(Fe,Mn.minBitrate);const bn=ct.filter($n=>Mn.videoRanges[$n]>0);bn.length>0&&(F=!0,Ue=bn)}B=I(B)?B:0,ye=I(ye)?ye:0;const Vt=Math.max(1080,B),Wt=Math.max(30,ye);return Fe=I(Fe)?Fe:t,t=Math.max(Fe,t),F||(e=void 0,Ue=[]),{codecSet:i.reduce((Qt,Mn)=>{const bn=o[Mn];if(Mn===Qt)return Qt;if(bn.minBitrate>t)return Qi(Mn,`min bitrate of ${bn.minBitrate} > current estimate of ${t}`),Qt;if(!bn.hasDefaultAudio)return Qi(Mn,"no renditions with default or auto-select sound found"),Qt;if(c&&Mn.indexOf(c.substring(0,4))%5!==0)return Qi(Mn,`audio codec preference "${c}" not found`),Qt;if(s&&!p){if(!bn.channels[s])return Qi(Mn,`no renditions with ${s} channel sound found (channels options: ${Object.keys(bn.channels)})`),Qt}else if((!c||p)&&A&&bn.channels[2]===0)return Qi(Mn,"no renditions with stereo sound found"),Qt;return bn.minHeight>Vt?(Qi(Mn,`min resolution of ${bn.minHeight} > maximum of ${Vt}`),Qt):bn.minFramerate>Wt?(Qi(Mn,`min framerate of ${bn.minFramerate} > maximum of ${Wt}`),Qt):Ue.some($n=>bn.videoRanges[$n]>0)?bn.maxScore<Re?(Qi(Mn,`max score of ${bn.maxScore} < selected max of ${Re}`),Qt):Qt&&(Ot(Mn)>=Ot(Qt)||bn.fragmentError>o[Qt].fragmentError)?Qt:(Re=bn.maxScore,Mn):(Qi(Mn,`no variants with VIDEO-RANGE of ${JSON.stringify(Ue)} found`),Qt)},void 0),videoRanges:Ue,preferHDR:We,minFramerate:ye,minBitrate:Fe}}function Qi(o,e){b.log(`[abr] start candidates with "${o}" ignored because ${e}`)}function us(o){return o.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 ns(o,e,t,n){return o.slice(t,n+1).reduce((r,i)=>{if(!i.codecSet)return r;const s=i.audioGroups;let c=r[i.codecSet];c||(r[i.codecSet]=c={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!s,fragmentError:0}),c.minBitrate=Math.min(c.minBitrate,i.bitrate);const p=Math.min(i.height,i.width);return c.minHeight=Math.min(c.minHeight,p),c.minFramerate=Math.min(c.minFramerate,i.frameRate),c.maxScore=Math.max(c.maxScore,i.score),c.fragmentError+=i.fragmentError,c.videoRanges[i.videoRange]=(c.videoRanges[i.videoRange]||0)+1,s&&s.forEach(A=>{if(!A)return;const F=e.groups[A];F&&(c.hasDefaultAudio=c.hasDefaultAudio||e.hasDefaultAudio?F.hasDefault:F.hasAutoSelect||!e.hasDefaultAudio&&!e.hasAutoSelectAudio,Object.keys(F.channels).forEach(B=>{c.channels[B]=(c.channels[B]||0)+F.channels[B]}))}),r},{})}function ba(o,e,t){if("attrs"in o){const n=e.indexOf(o);if(n!==-1)return n}for(let n=0;n<e.length;n++){const r=e[n];if(Sa(o,r,t))return n}return-1}function Sa(o,e,t){const{groupId:n,name:r,lang:i,assocLang:s,default:c}=o,p=o.forced;return(n===void 0||e.groupId===n)&&(r===void 0||e.name===r)&&(i===void 0||e.lang===i)&&(i===void 0||e.assocLang===s)&&(c===void 0||e.default===c)&&(p===void 0||e.forced===p)&&(!("characteristics"in o)||ni(o.characteristics||"",e.characteristics))&&(t===void 0||t(o,e))}function ni(o,e=""){const t=o.split(","),n=e.split(",");return t.length===n.length&&!t.some(r=>n.indexOf(r)===-1)}function Ur(o,e){const{audioCodec:t,channels:n}=o;return(t===void 0||(e.audioCodec||"").substring(0,4)===t.substring(0,4))&&(n===void 0||n===(e.channels||"2"))}function ia(o,e,t,n,r){const i=e[n],c=e.reduce((ye,Fe,Re)=>{const Ue=Fe.uri;return(ye[Ue]||(ye[Ue]=[])).push(Re),ye},{})[i.uri];c.length>1&&(n=Math.max.apply(Math,c));const p=i.videoRange,A=i.frameRate,F=i.codecSet.substring(0,4),B=zi(e,n,ye=>{if(ye.videoRange!==p||ye.frameRate!==A||ye.codecSet.substring(0,4)!==F)return!1;const Fe=ye.audioGroups,Re=t.filter(Ue=>!Fe||Fe.indexOf(Ue.groupId)!==-1);return ba(o,Re,r)>-1});return B>-1?B:zi(e,n,ye=>{const Fe=ye.audioGroups,Re=t.filter(Ue=>!Fe||Fe.indexOf(Ue.groupId)!==-1);return ba(o,Re,r)>-1})}function zi(o,e,t){for(let n=e;n>-1;n--)if(t(o[n]))return n;for(let n=e+1;n<o.length;n++)if(t(o[n]))return n;return-1}class Oi{constructor(e){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.bwEstimator=void 0,this._abandonRulesCheck=()=>{const{fragCurrent:t,partCurrent:n,hls:r}=this,{autoLevelEnabled:i,media:s}=r;if(!t||!s)return;const c=performance.now(),p=n?n.stats:t.stats,A=n?n.duration:t.duration,F=c-p.loading.start,B=r.minAutoLevel;if(p.aborted||p.loaded&&p.loaded===p.total||t.level<=B){this.clearTimer(),this._nextAutoLevel=-1;return}if(!i||s.paused||!s.playbackRate||!s.readyState)return;const ye=r.mainForwardBufferInfo;if(ye===null)return;const Fe=this.bwEstimator.getEstimateTTFB(),Re=Math.abs(s.playbackRate);if(F<=Math.max(Fe,1e3*(A/(Re*2))))return;const Ue=ye.len/Re,We=p.loading.first?p.loading.first-p.loading.start:-1,ct=p.loaded&&We>-1,Vt=this.getBwEstimate(),Wt=r.levels,xn=Wt[t.level],Qt=p.total||Math.max(p.loaded,Math.round(A*xn.averageBitrate/8));let Mn=ct?F-We:F;Mn<1&&ct&&(Mn=Math.min(F,p.loaded*8/Vt));const bn=ct?p.loaded*1e3/Mn:0,$n=bn?(Qt-p.loaded)/bn:Qt*8/Vt+Fe/1e3;if($n<=Ue)return;const Ar=bn?bn*8:Vt;let kn=Number.POSITIVE_INFINITY,Qn;for(Qn=t.level-1;Qn>B;Qn--){const Rr=Wt[Qn].maxBitrate;if(kn=this.getTimeToLoadFrag(Fe/1e3,Ar,A*Rr,!Wt[Qn].details),kn<Ue)break}if(kn>=$n||kn>A*10)return;r.nextLoadLevel=r.nextAutoLevel=Qn,ct?this.bwEstimator.sample(F-Math.min(Fe,We),p.loaded):this.bwEstimator.sampleTTFB(F);const di=Wt[Qn].maxBitrate;this.getBwEstimate()*this.hls.config.abrBandWidthUpFactor>di&&this.resetEstimator(di),this.clearTimer(),b.warn(`[abr] Fragment ${t.sn}${n?" part "+n.index:""} of level ${t.level} is loading too slowly;
Time to underbuffer: ${Ue.toFixed(3)} s
Estimated load time for current fragment: ${$n.toFixed(3)} s
Estimated load time for down switch fragment: ${kn.toFixed(3)} s
TTFB estimate: ${We|0} ms
Current BW estimate: ${I(Vt)?Vt|0:"Unknown"} bps
New BW estimate: ${this.getBwEstimate()|0} bps
Switching to level ${Qn} @ ${di|0} bps`),r.trigger(u.FRAG_LOAD_EMERGENCY_ABORTED,{frag:t,part:n,stats:p})},this.hls=e,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(e){e&&(b.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 Va(e.abrEwmaSlowVoD,e.abrEwmaFastVoD,e.abrEwmaDefaultEstimate)}registerListeners(){const{hls:e}=this;e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.FRAG_LOADING,this.onFragLoading,this),e.on(u.FRAG_LOADED,this.onFragLoaded,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this),e.on(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(u.LEVEL_LOADED,this.onLevelLoaded,this),e.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(u.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.on(u.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e&&(e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.FRAG_LOADING,this.onFragLoading,this),e.off(u.FRAG_LOADED,this.onFragLoaded,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this),e.off(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(u.LEVEL_LOADED,this.onLevelLoaded,this),e.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(u.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),e.off(u.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(e,t){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(e,t){const n=t.frag;if(!this.ignoreFragment(n)){if(!n.bitrateTest){var r;this.fragCurrent=n,this.partCurrent=(r=t.part)!=null?r:null}this.clearTimer(),this.timer=self.setInterval(this._abandonRulesCheck,100)}}onLevelSwitching(e,t){this.clearTimer()}onError(e,t){if(!t.fatal)switch(t.details){case m.BUFFER_ADD_CODEC_ERROR:case m.BUFFER_APPEND_ERROR:this.lastLoadedFragLevel=-1,this.firstSelection=-1;break;case m.FRAG_LOAD_TIMEOUT:{const n=t.frag,{fragCurrent:r,partCurrent:i}=this;if(n&&r&&n.sn===r.sn&&n.level===r.level){const s=performance.now(),c=i?i.stats:n.stats,p=s-c.loading.start,A=c.loading.first?c.loading.first-c.loading.start:-1;if(c.loaded&&A>-1){const B=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(p-Math.min(B,A),c.loaded)}else this.bwEstimator.sampleTTFB(p)}break}}}getTimeToLoadFrag(e,t,n,r){const i=e+n/t,s=r?this.lastLevelLoadSec:0;return i+s}onLevelLoaded(e,t){const n=this.hls.config,{loading:r}=t.stats,i=r.end-r.start;I(i)&&(this.lastLevelLoadSec=i/1e3),t.details.live?this.bwEstimator.update(n.abrEwmaSlowLive,n.abrEwmaFastLive):this.bwEstimator.update(n.abrEwmaSlowVoD,n.abrEwmaFastVoD)}onFragLoaded(e,{frag:t,part:n}){const r=n?n.stats:t.stats;if(t.type===at.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,s=this.hls.levels[t.level],c=(s.loaded?s.loaded.bytes:0)+r.loaded,p=(s.loaded?s.loaded.duration:0)+i;s.loaded={bytes:c,duration:p},s.realBitrate=Math.round(8*c/p)}if(t.bitrateTest){const i={stats:r,frag:t,part:n,id:t.type};this.onFragBuffered(u.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 s=i.parsing.end-i.loading.start-Math.min(i.loading.first-i.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(s,i.loaded),i.bwEstimate=this.getBwEstimate(),n.bitrateTest?this.bitrateTestDelay=s/1e3:this.bitrateTestDelay=0}ignoreFragment(e){return e.type!==at.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 s=this.hls.firstLevel,c=Math.min(Math.max(s,t),e);return b.warn(`[abr] Could not find best starting auto level. Defaulting to first in playlist ${s} clamped to ${c}`),c}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 s=this.hls.levels;if(s.length>Math.max(e,i)&&s[e].loadError<=s[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,{maxAutoLevel:r,config:i,minAutoLevel:s}=n,c=t?t.duration:e?e.duration:0,p=this.getBwEstimate(),A=this.getStarvationDelay();let F=i.abrBandWidthFactor,B=i.abrBandWidthUpFactor;if(A){const We=this.findBestLevel(p,s,r,A,0,F,B);if(We>=0)return We}let ye=c?Math.min(c,i.maxStarvationDelay):i.maxStarvationDelay;if(!A){const We=this.bitrateTestDelay;We&&(ye=(c?Math.min(c,i.maxLoadingDelay):i.maxLoadingDelay)-We,b.info(`[abr] bitrate test took ${Math.round(1e3*We)}ms, set first fragment max fetchDuration to ${Math.round(1e3*ye)} ms`),F=B=1)}const Fe=this.findBestLevel(p,s,r,A,ye,F,B);if(b.info(`[abr] ${A?"rebuffering expected":"buffer is empty"}, optimal quality level ${Fe}`),Fe>-1)return Fe;const Re=n.levels[s],Ue=n.levels[n.loadLevel];return(Re==null?void 0:Re.bitrate)<(Ue==null?void 0:Ue.bitrate)?s: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,s,c){var p;const A=r+i,F=this.lastLoadedFragLevel,B=F===-1?this.hls.firstLevel:F,{fragCurrent:ye,partCurrent:Fe}=this,{levels:Re,allAudioTracks:Ue,loadLevel:We,config:ct}=this.hls;if(Re.length===1)return 0;const Vt=Re[B],Wt=!!(Vt!=null&&(p=Vt.details)!=null&&p.live),xn=We===-1||F===-1;let Qt,Mn="SDR",bn=(Vt==null?void 0:Vt.frameRate)||0;const{audioPreference:$n,videoPreference:Ar}=ct,kn=this.audioTracksByGroup||(this.audioTracksByGroup=us(Ue));if(xn){if(this.firstSelection!==-1)return this.firstSelection;const ri=this.codecTiers||(this.codecTiers=ns(Re,kn,t,n)),Yr=Ta(ri,Mn,e,$n,Ar),{codecSet:Mi,videoRanges:Yi,minFramerate:Or,minBitrate:Tr,preferHDR:ji}=Yr;Qt=Mi,Mn=ji?Yi[Yi.length-1]:Yi[0],bn=Or,e=Math.max(e,Tr),b.log(`[abr] picked start tier ${JSON.stringify(Yr)}`)}else Qt=Vt==null?void 0:Vt.codecSet,Mn=Vt==null?void 0:Vt.videoRange;const Qn=Fe?Fe.duration:ye?ye.duration:0,di=this.bwEstimator.getEstimateTTFB()/1e3,Rr=[];for(let ri=n;ri>=t;ri--){var oi;const Yr=Re[ri],Mi=ri>B;if(!Yr)continue;if(ct.useMediaCapabilities&&!Yr.supportedResult&&!Yr.supportedPromise){const Ra=navigator.mediaCapabilities;typeof(Ra==null?void 0:Ra.decodingInfo)=="function"&&as(Yr,kn,Mn,bn,e,$n)?(Yr.supportedPromise=ss(Yr,kn,Ra),Yr.supportedPromise.then(Ua=>{if(!this.hls)return;Yr.supportedResult=Ua;const za=this.hls.levels,is=za.indexOf(Yr);Ua.error?b.warn(`[abr] MediaCapabilities decodingInfo error: "${Ua.error}" for level ${is} ${JSON.stringify(Ua)}`):Ua.supported||(b.warn(`[abr] Unsupported MediaCapabilities decodingInfo result for level ${is} ${JSON.stringify(Ua)}`),is>-1&&za.length>1&&(b.log(`[abr] Removing unsupported level ${is}`),this.hls.removeLevel(is)))})):Yr.supportedResult=Ha}if(Qt&&Yr.codecSet!==Qt||Mn&&Yr.videoRange!==Mn||Mi&&bn>Yr.frameRate||!Mi&&bn>0&&bn<Yr.frameRate||Yr.supportedResult&&!((oi=Yr.supportedResult.decodingInfoResults)!=null&&oi[0].smooth)){Rr.push(ri);continue}const Yi=Yr.details,Or=(Fe?Yi==null?void 0:Yi.partTarget:Yi==null?void 0:Yi.averagetargetduration)||Qn;let Tr;Mi?Tr=c*e:Tr=s*e;const ji=Qn&&r>=Qn*2&&i===0?Re[ri].averageBitrate:Re[ri].maxBitrate,xi=this.getTimeToLoadFrag(di,Tr,ji*Or,Yi===void 0);if(Tr>=ji&&(ri===F||Yr.loadError===0&&Yr.fragmentError===0)&&(xi<=di||!I(xi)||Wt&&!this.bitrateTestDelay||xi<A)){const Ra=this.forcedAutoLevel;return ri!==We&&(Ra===-1||Ra!==We)&&(Rr.length&&b.trace(`[abr] Skipped level(s) ${Rr.join(",")} of ${n} max with CODECS and VIDEO-RANGE:"${Re[Rr[0]].codecs}" ${Re[Rr[0]].videoRange}; not compatible with "${Vt.codecs}" ${Mn}`),b.info(`[abr] switch candidate:${B}->${ri} adjustedbw(${Math.round(Tr)})-bitrate=${Math.round(Tr-ji)} ttfb:${di.toFixed(1)} avgDuration:${Or.toFixed(1)} maxFetchDuration:${A.toFixed(1)} fetchDuration:${xi.toFixed(1)} firstSelection:${xn} codecSet:${Qt} videoRange:${Mn} hls.loadLevel:${We}`)),xn&&(this.firstSelection=ri),ri}}return-1}set nextAutoLevel(e){const{maxAutoLevel:t,minAutoLevel:n}=this.hls,r=Math.min(Math.max(e,n),t);this._nextAutoLevel!==r&&(this.nextAutoLevelKey="",this._nextAutoLevel=r)}}class oa{constructor(){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(){}}var mi={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Ia{constructor(e){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=e,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(u.BUFFER_APPENDED,this.onBufferAppended,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this),e.on(u.FRAG_LOADED,this.onFragLoaded,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.BUFFER_APPENDED,this.onBufferAppended,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this),e.off(u.FRAG_LOADED,this.onFragLoaded,this)}destroy(){this._unregisterListeners(),this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(e,t){const n=this.activePartLists[t];if(n)for(let r=n.length;r--;){const i=n[r];if(!i)break;const s=i.end;if(i.start<=e&&s!==null&&e<=s)return i}return this.getBufferedFrag(e,t)}getBufferedFrag(e,t){const{fragments:n}=this,r=Object.keys(n);for(let i=r.length;i--;){const s=n[r[i]];if((s==null?void 0:s.body.type)===t&&s.buffered){const c=s.body;if(c.start<=e&&e<=c.end)return c}}return null}detectEvictedFragments(e,t,n,r){this.timeRanges&&(this.timeRanges[e]=t);const i=(r==null?void 0:r.fragment.sn)||-1;Object.keys(this.fragments).forEach(s=>{const c=this.fragments[s];if(!c||i>=c.body.sn)return;if(!c.buffered&&!c.loaded){c.body.type===n&&this.removeFragment(c.body);return}const p=c.range[e];p&&p.time.some(A=>{const F=!this.isTimeBuffered(A.startPTS,A.endPTS,t);return F&&this.removeFragment(c.body),F})})}detectPartialFragments(e){const t=this.timeRanges,{frag:n,part:r}=e;if(!t||n.sn==="initSegment")return;const i=ka(n),s=this.fragments[i];if(!s||s.buffered&&n.gap)return;const c=!n.relurl;Object.keys(t).forEach(p=>{const A=n.elementaryStreams[p];if(!A)return;const F=t[p],B=c||A.partial===!0;s.range[p]=this.getBufferedTimes(n,r,B,F)}),s.loaded=null,Object.keys(s.range).length?(s.buffered=!0,(s.body.endList=n.endList||s.body.endList)&&(this.endListFragments[s.body.type]=s),la(s)||this.removeParts(n.sn-1,n.type)):this.removeFragment(s.body)}removeParts(e,t){const n=this.activePartLists[t];n&&(this.activePartLists[t]=n.filter(r=>r.fragment.sn>=e))}fragBuffered(e,t){const n=ka(e);let r=this.fragments[n];!r&&t&&(r=this.fragments[n]={body:e,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},e.gap&&(this.hasGaps=!0)),r&&(r.loaded=null,r.buffered=!0)}getBufferedTimes(e,t,n,r){const i={time:[],partial:n},s=e.start,c=e.end,p=e.minEndPTS||c,A=e.maxStartPTS||s;for(let F=0;F<r.length;F++){const B=r.start(F)-this.bufferPadding,ye=r.end(F)+this.bufferPadding;if(A>=B&&p<=ye){i.time.push({startPTS:Math.max(s,r.start(F)),endPTS:Math.min(c,r.end(F))});break}else if(s<ye&&c>B){const Fe=Math.max(s,r.start(F)),Re=Math.min(c,r.end(F));Re>Fe&&(i.partial=!0,i.time.push({startPTS:Fe,endPTS:Re}))}else if(c<=B)break}return i}getPartialFragment(e){let t=null,n,r,i,s=0;const{bufferPadding:c,fragments:p}=this;return Object.keys(p).forEach(A=>{const F=p[A];F&&la(F)&&(r=F.body.start-c,i=F.body.end+c,e>=r&&e<=i&&(n=Math.min(e-r,i-e),s<=n&&(t=F.body,s=n)))}),t}isEndListAppended(e){const t=this.endListFragments[e];return t!==void 0&&(t.buffered||la(t))}getState(e){const t=ka(e),n=this.fragments[t];return n?n.buffered?la(n)?mi.PARTIAL:mi.OK:mi.APPENDING:mi.NOT_LOADED}isTimeBuffered(e,t,n){let r,i;for(let s=0;s<n.length;s++){if(r=n.start(s)-this.bufferPadding,i=n.end(s)+this.bufferPadding,e>=r&&t<=i)return!0;if(t<=r)return!1}return!1}onFragLoaded(e,t){const{frag:n,part:r}=t;if(n.sn==="initSegment"||n.bitrateTest)return;const i=r?null:t,s=ka(n);this.fragments[s]={body:n,appendedPTS:null,loaded:i,buffered:!1,range:Object.create(null)}}onBufferAppended(e,t){const{frag:n,part:r,timeRanges:i}=t;if(n.sn==="initSegment")return;const s=n.type;if(r){let c=this.activePartLists[s];c||(this.activePartLists[s]=c=[]),c.push(r)}this.timeRanges=i,Object.keys(i).forEach(c=>{const p=i[c];this.detectEvictedFragments(c,p,s,r)})}onFragBuffered(e,t){this.detectPartialFragments(t)}hasFragment(e){const t=ka(e);return!!this.fragments[t]}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(s=>{const c=this.fragments[s];if(!c)return;const p=c.body;p.type!==n||r&&!p.gap||p.start<t&&p.end>e&&(c.buffered||i)&&this.removeFragment(p)})}removeFragment(e){const t=ka(e);e.stats.loaded=0,e.clearElementaryStreamInfo();const n=this.activePartLists[e.type];if(n){const r=e.sn;this.activePartLists[e.type]=n.filter(i=>i.fragment.sn!==r)}delete this.fragments[t],e.endList&&delete this.endListFragments[e.type]}removeAllFragments(){this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1}}function la(o){var e,t,n;return o.buffered&&(o.body.gap||((e=o.range.video)==null?void 0:e.partial)||((t=o.range.audio)==null?void 0:t.partial)||((n=o.range.audiovideo)==null?void 0:n.partial))}function ka(o){return`${o.type}_${o.level}_${o.sn}`}const Ba={length:0,start:()=>0,end:()=>0};class wi{static isBuffered(e,t){try{if(e){const n=wi.getBuffered(e);for(let r=0;r<n.length;r++)if(t>=n.start(r)&&t<=n.end(r))return!0}}catch(n){}return!1}static bufferInfo(e,t,n){try{if(e){const r=wi.getBuffered(e),i=[];let s;for(s=0;s<r.length;s++)i.push({start:r.start(s),end:r.end(s)});return this.bufferedInfo(i,t,n)}}catch(r){}return{len:0,start:t,end:t,nextStart:void 0}}static bufferedInfo(e,t,n){t=Math.max(0,t),e.sort(function(A,F){const B=A.start-F.start;return B||F.end-A.end});let r=[];if(n)for(let A=0;A<e.length;A++){const F=r.length;if(F){const B=r[F-1].end;e[A].start-B<n?e[A].end>B&&(r[F-1].end=e[A].end):r.push(e[A])}else r.push(e[A])}else r=e;let i=0,s,c=t,p=t;for(let A=0;A<r.length;A++){const F=r[A].start,B=r[A].end;if(t+n>=F&&t<B)c=F,p=B,i=p-t;else if(t+n<F){s=F;break}}return{len:i,start:c||0,end:p||0,nextStart:s}}static getBuffered(e){try{return e.buffered}catch(t){return b.log("failed to get media.buffered",t),Ba}}}class vs{constructor(e,t,n,r=0,i=-1,s=!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=Ca(),this.buffering={audio:Ca(),video:Ca(),audiovideo:Ca()},this.level=e,this.sn=t,this.id=n,this.size=r,this.part=i,this.partial=s}}function Ca(){return{start:0,executeStart:0,executeEnd:0,end:0}}function Za(o,e){for(let n=0,r=o.length;n<r;n++){var t;if(((t=o[n])==null?void 0:t.cc)===e)return o[n]}return null}function Cs(o,e,t){return!!(e&&(t.endCC>t.startCC||o&&o.cc<t.startCC))}function Qa(o,e){const t=o.fragments,n=e.fragments;if(!n.length||!t.length){b.log("No fragments to align");return}const r=Za(t,n[0].cc);if(!r||r&&!r.startPTS){b.log("No frag in previous level to align on");return}return r}function cs(o,e){if(o){const t=o.start+e;o.start=o.startPTS=t,o.endPTS=t+o.duration}}function ys(o,e){const t=e.fragments;for(let n=0,r=t.length;n<r;n++)cs(t[n],o);e.fragmentHint&&cs(e.fragmentHint,o),e.alignedSliding=!0}function ds(o,e,t){e&&(Rs(o,t,e),!t.alignedSliding&&e&&Oa(t,e),!t.alignedSliding&&e&&!t.skippedSegments&&_a(e,t))}function Rs(o,e,t){if(Cs(o,t,e)){const n=Qa(t,e);n&&I(n.start)&&(b.log(`Adjusting PTS using last level due to CC increase within current level ${e.url}`),ys(n.start,e))}}function Oa(o,e){if(!o.hasProgramDateTime||!e.hasProgramDateTime)return;const t=o.fragments,n=e.fragments;if(!t.length||!n.length)return;let r,i;const s=Math.min(e.endCC,o.endCC);e.startCC<s&&o.startCC<s&&(r=Za(n,s),i=Za(t,s)),(!r||!i)&&(r=n[Math.floor(n.length/2)],i=Za(t,r.cc)||t[Math.floor(t.length/2)]);const c=r.programDateTime,p=i.programDateTime;if(!c||!p)return;const A=(p-c)/1e3-(i.start-r.start);ys(A,o)}const bs=Math.pow(2,17);class Ci{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 Ji({type:x.NETWORK_ERROR,details:m.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,s=r.loader;return new Promise((c,p)=>{if(this.loader&&this.loader.destroy(),e.gap)if(e.tagList.some(Fe=>Fe[0]==="GAP")){p(gi(e));return}else e.gap=!1;const A=this.loader=e.loader=i?new i(r):new s(r),F=Ei(e),B=Pi(r.fragLoadPolicy.default),ye={loadPolicy:B,timeout:B.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:e.sn==="initSegment"?1/0:bs};e.stats=A.stats,A.load(F,ye,{onSuccess:(Fe,Re,Ue,We)=>{this.resetLoader(e,A);let ct=Fe.data;Ue.resetIV&&e.decryptdata&&(e.decryptdata.iv=new Uint8Array(ct.slice(0,16)),ct=ct.slice(16)),c({frag:e,part:null,payload:ct,networkDetails:We})},onError:(Fe,Re,Ue,We)=>{this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.FRAG_LOAD_ERROR,fatal:!1,frag:e,response:$({url:n,data:void 0},Fe),error:new Error(`HTTP Error ${Fe.code} ${Fe.text}`),networkDetails:Ue,stats:We}))},onAbort:(Fe,Re,Ue)=>{this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.INTERNAL_ABORTED,fatal:!1,frag:e,error:new Error("Aborted"),networkDetails:Ue,stats:Fe}))},onTimeout:(Fe,Re,Ue)=>{this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,error:new Error(`Timeout after ${ye.timeout}ms`),networkDetails:Ue,stats:Fe}))},onProgress:(Fe,Re,Ue,We)=>{t&&t({frag:e,part:null,payload:Ue,networkDetails:We})}})})}loadPart(e,t,n){this.abort();const r=this.config,i=r.fLoader,s=r.loader;return new Promise((c,p)=>{if(this.loader&&this.loader.destroy(),e.gap||t.gap){p(gi(e,t));return}const A=this.loader=e.loader=i?new i(r):new s(r),F=Ei(e,t),B=Pi(r.fragLoadPolicy.default),ye={loadPolicy:B,timeout:B.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:bs};t.stats=A.stats,A.load(F,ye,{onSuccess:(Fe,Re,Ue,We)=>{this.resetLoader(e,A),this.updateStatsFromPart(e,t);const ct={frag:e,part:t,payload:Fe.data,networkDetails:We};n(ct),c(ct)},onError:(Fe,Re,Ue,We)=>{this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.FRAG_LOAD_ERROR,fatal:!1,frag:e,part:t,response:$({url:F.url,data:void 0},Fe),error:new Error(`HTTP Error ${Fe.code} ${Fe.text}`),networkDetails:Ue,stats:We}))},onAbort:(Fe,Re,Ue)=>{e.stats.aborted=t.stats.aborted,this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.INTERNAL_ABORTED,fatal:!1,frag:e,part:t,error:new Error("Aborted"),networkDetails:Ue,stats:Fe}))},onTimeout:(Fe,Re,Ue)=>{this.resetLoader(e,A),p(new Ji({type:x.NETWORK_ERROR,details:m.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e,part:t,error:new Error(`Timeout after ${ye.timeout}ms`),networkDetails:Ue,stats:Fe}))}})})}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),A=Math.min(Math.round(n.loaded/i),p),B=(p-A)*Math.round(n.loaded/A);n.total=n.loaded+B}else n.total=Math.max(n.loaded,n.total);const s=n.loading,c=r.loading;s.start?s.first+=c.first-c.start:(s.start=c.start,s.first=c.first),s.end=c.end}resetLoader(e,t){e.loader=null,this.loader===t&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),t.destroy()}}function Ei(o,e=null){const t=e||o,n={frag:o,part:e,responseType:"arraybuffer",url:t.url,headers:{},rangeStart:0,rangeEnd:0},r=t.byteRangeStartOffset,i=t.byteRangeEndOffset;if(I(r)&&I(i)){var s;let c=r,p=i;if(o.sn==="initSegment"&&((s=o.decryptdata)==null?void 0:s.method)==="AES-128"){const A=i-r;A%16&&(p=i+(16-A%16)),r!==0&&(n.resetIV=!0,c=r-16)}n.rangeStart=c,n.rangeEnd=p}return n}function gi(o,e){const t=new Error(`GAP ${o.gap?"tag":"attribute"} found`),n={type:x.MEDIA_ERROR,details:m.FRAG_GAP,fatal:!1,frag:o,error:t,networkDetails:null};return e&&(n.part=e),(e||o).stats.aborted=!0,new Ji(n)}class Ji extends Error{constructor(e){super(e.error.message),this.data=void 0,this.data=e}}class Xi{constructor(e,t){this.subtle=void 0,this.aesIV=void 0,this.subtle=e,this.aesIV=t}decrypt(e,t){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e)}}class fs{constructor(e,t){this.subtle=void 0,this.key=void 0,this.subtle=e,this.key=t}expandKey(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])}}function Ja(o){const e=o.byteLength,t=e&&new DataView(o.buffer).getUint8(e-1);return t?se(o,0,e-t):o}class hs{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],s=n[2],c=n[3],p=this.invSubMix,A=p[0],F=p[1],B=p[2],ye=p[3],Fe=new Uint32Array(256);let Re=0,Ue=0,We=0;for(We=0;We<256;We++)We<128?Fe[We]=We<<1:Fe[We]=We<<1^283;for(We=0;We<256;We++){let ct=Ue^Ue<<1^Ue<<2^Ue<<3^Ue<<4;ct=ct>>>8^ct&255^99,e[Re]=ct,t[ct]=Re;const Vt=Fe[Re],Wt=Fe[Vt],xn=Fe[Wt];let Qt=Fe[ct]*257^ct*16843008;r[Re]=Qt<<24|Qt>>>8,i[Re]=Qt<<16|Qt>>>16,s[Re]=Qt<<8|Qt>>>24,c[Re]=Qt,Qt=xn*16843009^Wt*65537^Vt*257^Re*16843008,A[ct]=Qt<<24|Qt>>>8,F[ct]=Qt<<16|Qt>>>16,B[ct]=Qt<<8|Qt>>>24,ye[ct]=Qt,Re?(Re=Vt^Fe[Fe[Fe[xn^Vt]]],Ue^=Fe[Fe[Ue]]):Re=Ue=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 s=this.ksRows=(i+6+1)*4;let c,p;const A=this.keySchedule=new Uint32Array(s),F=this.invKeySchedule=new Uint32Array(s),B=this.sBox,ye=this.rcon,Fe=this.invSubMix,Re=Fe[0],Ue=Fe[1],We=Fe[2],ct=Fe[3];let Vt,Wt;for(c=0;c<s;c++){if(c<i){Vt=A[c]=t[c];continue}Wt=Vt,c%i===0?(Wt=Wt<<8|Wt>>>24,Wt=B[Wt>>>24]<<24|B[Wt>>>16&255]<<16|B[Wt>>>8&255]<<8|B[Wt&255],Wt^=ye[c/i|0]<<24):i>6&&c%i===4&&(Wt=B[Wt>>>24]<<24|B[Wt>>>16&255]<<16|B[Wt>>>8&255]<<8|B[Wt&255]),A[c]=Vt=(A[c-i]^Wt)>>>0}for(p=0;p<s;p++)c=s-p,p&3?Wt=A[c]:Wt=A[c-4],p<4||c<=4?F[p]=Wt:F[p]=Re[B[Wt>>>24]]^Ue[B[Wt>>>16&255]]^We[B[Wt>>>8&255]]^ct[B[Wt&255]],F[p]=F[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,s=this.invSBox,c=this.invSubMix,p=c[0],A=c[1],F=c[2],B=c[3],ye=this.uint8ArrayToUint32Array_(n);let Fe=ye[0],Re=ye[1],Ue=ye[2],We=ye[3];const ct=new Int32Array(e),Vt=new Int32Array(ct.length);let Wt,xn,Qt,Mn,bn,$n,Ar,kn,Qn,di,Rr,oi,ri,Yr;const Mi=this.networkToHostOrderSwap;for(;t<ct.length;){for(Qn=Mi(ct[t]),di=Mi(ct[t+1]),Rr=Mi(ct[t+2]),oi=Mi(ct[t+3]),bn=Qn^i[0],$n=oi^i[1],Ar=Rr^i[2],kn=di^i[3],ri=4,Yr=1;Yr<r;Yr++)Wt=p[bn>>>24]^A[$n>>16&255]^F[Ar>>8&255]^B[kn&255]^i[ri],xn=p[$n>>>24]^A[Ar>>16&255]^F[kn>>8&255]^B[bn&255]^i[ri+1],Qt=p[Ar>>>24]^A[kn>>16&255]^F[bn>>8&255]^B[$n&255]^i[ri+2],Mn=p[kn>>>24]^A[bn>>16&255]^F[$n>>8&255]^B[Ar&255]^i[ri+3],bn=Wt,$n=xn,Ar=Qt,kn=Mn,ri=ri+4;Wt=s[bn>>>24]<<24^s[$n>>16&255]<<16^s[Ar>>8&255]<<8^s[kn&255]^i[ri],xn=s[$n>>>24]<<24^s[Ar>>16&255]<<16^s[kn>>8&255]<<8^s[bn&255]^i[ri+1],Qt=s[Ar>>>24]<<24^s[kn>>16&255]<<16^s[bn>>8&255]<<8^s[$n&255]^i[ri+2],Mn=s[kn>>>24]<<24^s[bn>>16&255]<<16^s[$n>>8&255]<<8^s[Ar&255]^i[ri+3],Vt[t]=Mi(Wt^Fe),Vt[t+1]=Mi(Mn^Re),Vt[t+2]=Mi(Qt^Ue),Vt[t+3]=Mi(xn^We),Fe=Qn,Re=di,Ue=Rr,We=oi,t=t+4}return Vt.buffer}}const ks=16;class ps{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.useSoftware=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?Ja(n):n}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(e,t,n){return this.useSoftware?new Promise((r,i)=>{this.softwareDecrypt(new Uint8Array(e),t,n);const s=this.flush();s?r(s.buffer):i(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(e),t,n)}softwareDecrypt(e,t,n){const{currentIV:r,currentResult:i,remainderData:s}=this;this.logOnce("JS AES decrypt"),s&&(e=Rt(s,e),this.remainderData=null);const c=this.getValidChunk(e);if(!c.length)return null;r&&(n=r);let p=this.softwareDecrypter;p||(p=this.softwareDecrypter=new hs),p.expandKey(t);const A=i;return this.currentResult=p.decrypt(c.buffer,0,n),this.currentIV=se(c,-16).buffer,A||null}webCryptoDecrypt(e,t,n){if(this.key!==t||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(e,t,n));this.key=t,this.fastAesKey=new fs(this.subtle,t)}return this.fastAesKey.expandKey().then(r=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new Xi(this.subtle,new Uint8Array(n)).decrypt(e.buffer,r)):Promise.reject(new Error("web crypto not initialized"))).catch(r=>(b.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${r.name}: ${r.message}`),this.onWebCryptoError(e,t,n)))}onWebCryptoError(e,t,n){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(e,t,n);const r=this.flush();if(r)return r.buffer;throw new Error("WebCrypto and softwareDecrypt: failed to decrypt data")}getValidChunk(e){let t=e;const n=e.length-e.length%ks;return n!==e.length&&(t=se(e,0,n),this.remainderData=se(e,n)),t}logOnce(e){this.logEnabled&&(b.log(`[decrypter]: ${e}`),this.logEnabled=!1)}}const ms={toString:function(o){let e="";const t=o.length;for(let n=0;n<t;n++)e+=`[${o.start(n).toFixed(3)}-${o.end(n).toFixed(3)}]`;return e}},Rn={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 Ts extends oa{constructor(e,t,n,r,i){super(),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=Rn.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.loadedmetadata=!1,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.onvseeking=null,this.onvended=null,this.logPrefix="",this.log=void 0,this.warn=void 0,this.playlistType=i,this.logPrefix=r,this.log=b.log.bind(b,`${r}:`),this.warn=b.warn.bind(b,`${r}:`),this.hls=e,this.fragmentLoader=new Ci(e.config),this.keyLoader=n,this.fragmentTracker=t,this.config=e.config,this.decrypter=new ps(e.config),e.on(u.MANIFEST_LOADED,this.onManifestLoaded,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(e){}stopLoad(){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=Rn.STOPPED}pauseBuffering(){this.buffering=!1}resumeBuffering(){this.buffering=!0}_streamEnded(e,t){if(t.live||e.nextStart||!e.end||!this.media)return!1;const n=t.partList;if(n!=null&&n.length){const i=n[n.length-1];return wi.isBuffered(this.media,i.start+i.duration/2)}const r=t.fragments[t.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(r)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var e;return(e=this.levelLastLoaded)==null?void 0:e.details}}onMediaAttached(e,t){const n=this.media=this.mediaBuffer=t.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),n.addEventListener("seeking",this.onvseeking),n.addEventListener("ended",this.onvended);const r=this.config;this.levels&&r.autoStartLoad&&this.state===Rn.STOPPED&&this.startLoad(r.startPosition)}onMediaDetaching(){const e=this.media;e!=null&&e.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),e&&this.onvseeking&&this.onvended&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvended=null),this.keyLoader&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.fragmentTracker.removeAllFragments(),this.stopLoad()}onMediaSeeking(){const{config:e,fragCurrent:t,media:n,mediaBuffer:r,state:i}=this,s=n?n.currentTime:0,c=wi.bufferInfo(r||n,s,e.maxBufferHole);if(this.log(`media seeking to ${I(s)?s.toFixed(3):s}, state: ${i}`),this.state===Rn.ENDED)this.resetLoadingState();else if(t){const p=e.maxFragLookUpTolerance,A=t.start-p,F=t.start+t.duration+p;if(!c.len||F<c.start||A>c.end){const B=s>F;(s<A||B)&&(B&&t.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),t.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}n&&(this.fragmentTracker.removeFragmentsInRange(s,1/0,this.playlistType,!0),this.lastCurrentTime=s),!this.loadedmetadata&&!c.len&&(this.nextLoadPosition=this.startPosition=s),this.tickImmediate()}onMediaEnded(){this.startPosition=this.lastCurrentTime=0}onManifestLoaded(e,t){this.startTimeOffset=t.startTimeOffset,this.initPTS=[]}onHandlerDestroying(){this.hls.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),this.stopLoad(),super.onHandlerDestroying(),this.hls=null}onHandlerDestroyed(){this.state=Rn.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._loadFragForPlayback(e,t,n)}_loadFragForPlayback(e,t,n){const r=i=>{if(this.fragContextChanged(e)){this.warn(`Fragment ${e.sn}${i.part?" p: "+i.part.index:""} of level ${e.level} was dropped during download.`),this.fragmentTracker.removeFragment(e);return}e.stats.chunkCount++,this._handleFragmentLoadProgress(i)};this._doFragLoad(e,t,n,r).then(i=>{if(!i)return;const s=this.state;if(this.fragContextChanged(e)){(s===Rn.FRAG_LOADING||!this.fragCurrent&&s===Rn.PARSING)&&(this.fragmentTracker.removeFragment(e),this.state=Rn.IDLE);return}"payload"in i&&(this.log(`Loaded fragment ${e.sn} of level ${e.level}`),this.hls.trigger(u.FRAG_LOADED,i)),this._handleFragmentLoadComplete(i)}).catch(i=>{this.state===Rn.STOPPED||this.state===Rn.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)===mi.APPENDING){const i=e.type,s=this.getFwdBufferInfo(this.mediaBuffer,i),c=Math.max(e.duration,s?s.len:this.config.maxBufferLength),p=this.backtrackFragment;((p?e.sn-p.sn:0)===1||this.reduceMaxBufferLength(c,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)===mi.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)}flushMainBuffer(e,t,n=null){if(!(e-t))return;const r={startOffset:e,endOffset:t,type:n};this.hls.trigger(u.BUFFER_FLUSHING,r)}_loadInitSegment(e,t){this._doFragLoad(e,t).then(n=>{if(!n||this.fragContextChanged(e)||!this.levels)throw new Error("init load aborted");return n}).then(n=>{const{hls:r}=this,{payload:i}=n,s=e.decryptdata;if(i&&i.byteLength>0&&s!=null&&s.key&&s.iv&&s.method==="AES-128"){const c=self.performance.now();return this.decrypter.decrypt(new Uint8Array(i),s.key.buffer,s.iv.buffer).catch(p=>{throw r.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_DECRYPT_ERROR,fatal:!1,error:p,reason:p.message,frag:e}),p}).then(p=>{const A=self.performance.now();return r.trigger(u.FRAG_DECRYPTED,{frag:e,payload:p,stats:{tstart:c,tdecrypt:A}}),n.payload=p,this.completeInitSegmentLoad(n)})}return this.completeInitSegmentLoad(n)}).catch(n=>{this.state===Rn.STOPPED||this.state===Rn.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=Rn.IDLE,e.frag.data=new Uint8Array(e.payload),n.parsing.start=n.buffering.start=self.performance.now(),n.parsing.end=n.buffering.end=self.performance.now(),this.tick()}fragContextChanged(e){const{fragCurrent:t}=this;return!e||!t||e.sn!==t.sn||e.level!==t.level}fragBufferedComplete(e,t){var n,r,i,s;const c=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${e.type} sn: ${e.sn}${t?" part: "+t.index:""} of ${this.playlistType===at.MAIN?"level":"track"} ${e.level} (frag:[${((n=e.startPTS)!=null?n:NaN).toFixed(3)}-${((r=e.endPTS)!=null?r:NaN).toFixed(3)}] > buffer:${c?ms.toString(wi.getBuffered(c)):"(detached)"})`),e.sn!=="initSegment"){var p;if(e.type!==at.SUBTITLE){const F=e.elementaryStreams;if(!Object.keys(F).some(B=>!!F[B])){this.state=Rn.IDLE;return}}const A=(p=this.levels)==null?void 0:p[e.level];A!=null&&A.fragmentError&&(this.log(`Resetting level fragment error count of ${A.fragmentError} on frag buffered`),A.fragmentError=0)}this.state=Rn.IDLE,c&&(!this.loadedmetadata&&e.type==at.MAIN&&c.buffered.length&&((i=this.fragCurrent)==null?void 0:i.sn)===((s=this.fragPrevious)==null?void 0:s.sn)&&(this.loadedmetadata=!0,this.seekToStartPos()),this.tick())}seekToStartPos(){}_handleFragmentLoadComplete(e){const{transmuxer:t}=this;if(!t)return;const{frag:n,part:r,partsLoaded:i}=e,s=!i||i.length===0||i.some(p=>!p),c=new vs(n.level,n.sn,n.stats.chunkCount+1,0,r?r.index:-1,!s);t.flush(c)}_handleFragmentLoadProgress(e){}_doFragLoad(e,t,n=null,r){var i;const s=t==null?void 0:t.details;if(!this.levels||!s)throw new Error(`frag load aborted, missing level${s?"":" detail"}s`);let c=null;if(e.encrypted&&!((i=e.decryptdata)!=null&&i.key)?(this.log(`Loading key for ${e.sn} of [${s.startSN}-${s.endSN}], ${this.logPrefix==="[stream-controller]"?"level":"track"} ${e.level}`),this.state=Rn.KEY_LOADING,this.fragCurrent=e,c=this.keyLoader.load(e).then(F=>{if(!this.fragContextChanged(F.frag))return this.hls.trigger(u.KEY_LOADED,F),this.state===Rn.KEY_LOADING&&(this.state=Rn.IDLE),F}),this.hls.trigger(u.KEY_LOADING,{frag:e}),this.fragCurrent===null&&(c=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):!e.encrypted&&s.encryptedFragments.length&&this.keyLoader.loadClear(e,s.encryptedFragments),n=Math.max(e.start,n||0),this.config.lowLatencyMode&&e.sn!=="initSegment"){const F=s.partList;if(F&&r){n>e.end&&s.fragmentHint&&(e=s.fragmentHint);const B=this.getNextPart(F,e,n);if(B>-1){const ye=F[B];this.log(`Loading part sn: ${e.sn} p: ${ye.index} cc: ${e.cc} of playlist [${s.startSN}-${s.endSN}] parts [0-${B}-${F.length-1}] ${this.logPrefix==="[stream-controller]"?"level":"track"}: ${e.level}, target: ${parseFloat(n.toFixed(3))}`),this.nextLoadPosition=ye.start+ye.duration,this.state=Rn.FRAG_LOADING;let Fe;return c?Fe=c.then(Re=>!Re||this.fragContextChanged(Re.frag)?null:this.doFragPartsLoad(e,ye,t,r)).catch(Re=>this.handleFragLoadError(Re)):Fe=this.doFragPartsLoad(e,ye,t,r).catch(Re=>this.handleFragLoadError(Re)),this.hls.trigger(u.FRAG_LOADING,{frag:e,part:ye,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):Fe}else if(!e.url||this.loadedEndOfParts(F,n))return Promise.resolve(null)}}this.log(`Loading fragment ${e.sn} cc: ${e.cc} ${s?"of ["+s.startSN+"-"+s.endSN+"] ":""}${this.logPrefix==="[stream-controller]"?"level":"track"}: ${e.level}, target: ${parseFloat(n.toFixed(3))}`),I(e.sn)&&!this.bitrateTest&&(this.nextLoadPosition=e.start+e.duration),this.state=Rn.FRAG_LOADING;const p=this.config.progressive;let A;return p&&c?A=c.then(F=>!F||this.fragContextChanged(F==null?void 0:F.frag)?null:this.fragmentLoader.load(e,r)).catch(F=>this.handleFragLoadError(F)):A=Promise.all([this.fragmentLoader.load(e,p?r:void 0),c]).then(([F])=>(!p&&F&&r&&r(F),F)).catch(F=>this.handleFragLoadError(F)),this.hls.trigger(u.FRAG_LOADING,{frag:e,targetBufferTime:n}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):A}doFragPartsLoad(e,t,n,r){return new Promise((i,s)=>{var c;const p=[],A=(c=n.details)==null?void 0:c.partList,F=B=>{this.fragmentLoader.loadPart(e,B,r).then(ye=>{p[B.index]=ye;const Fe=ye.part;this.hls.trigger(u.FRAG_LOADED,ye);const Re=or(n,e.sn,B.index+1)||xr(A,e.sn,B.index+1);if(Re)F(Re);else return i({frag:e,part:Fe,partsLoaded:p})}).catch(s)};F(t)})}handleFragLoadError(e){if("data"in e){const t=e.data;e.data&&t.details===m.INTERNAL_ABORTED?this.handleFragLoadAborted(t.frag,t.part):this.hls.trigger(u.ERROR,t)}else this.hls.trigger(u.ERROR,{type:x.OTHER_ERROR,details:m.INTERNAL_EXCEPTION,err:e,error:e,fatal:!0});return null}_handleTransmuxerFlush(e){const t=this.getCurrentContext(e);if(!t||this.state!==Rn.PARSING){!this.fragCurrent&&this.state!==Rn.STOPPED&&this.state!==Rn.ERROR&&(this.state=Rn.IDLE);return}const{frag:n,part:r,level:i}=t,s=self.performance.now();n.stats.parsing.end=s,r&&(r.stats.parsing.end=s),this.updateLevelTiming(n,r,i,e.partial)}getCurrentContext(e){const{levels:t,fragCurrent:n}=this,{level:r,sn:i,part:s}=e;if(!(t!=null&&t[r]))return this.warn(`Levels object was unset while buffering fragment ${i} of level ${r}. The current chunk will not be buffered.`),null;const c=t[r],p=s>-1?or(c,i,s):null,A=p?p.fragment:na(c,i,n);return A?(n&&n!==A&&(A.stats=n.stats),{frag:A,part:p,level:c}):null}bufferFragmentData(e,t,n,r,i){var s;if(!e||this.state!==Rn.PARSING)return;const{data1:c,data2:p}=e;let A=c;if(c&&p&&(A=Rt(c,p)),!((s=A)!=null&&s.length))return;const F={type:e.type,frag:t,part:n,chunkMeta:r,parent:t.type,data:A};if(this.hls.trigger(u.BUFFER_APPENDING,F),e.dropped&&e.independent&&!n){if(i)return;this.flushBufferGap(t)}}flushBufferGap(e){const t=this.media;if(!t)return;if(!wi.isBuffered(t,t.currentTime)){this.flushMainBuffer(0,e.start);return}const n=t.currentTime,r=wi.bufferInfo(t,n,0),i=e.duration,s=Math.min(this.config.maxFragLookUpTolerance*2,i*.25),c=Math.max(Math.min(e.start-s,r.end-s),n+s);e.start-c>s&&this.flushMainBuffer(c,e.start)}getFwdBufferInfo(e,t){const n=this.getLoadPosition();return I(n)?this.getFwdBufferInfoAtPos(e,n,t):null}getFwdBufferInfoAtPos(e,t,n){const{config:{maxBufferHole:r}}=this,i=wi.bufferInfo(e,t,r);if(i.len===0&&i.nextStart!==void 0){const s=this.fragmentTracker.getBufferedFrag(t,n);if(s&&i.nextStart<s.end)return wi.bufferInfo(e,t,Math.max(i.nextStart,r))}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=at.MAIN){const n=this.fragmentTracker.getAppendedFrag(e,at.MAIN);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,s=n[0].start;let c;if(t.live){const p=i.initialLiveManifestSize;if(r<p)return this.warn(`Not enough fragments to start playback (have: ${r}, need: ${p})`),null;(!t.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||e<s)&&(c=this.getInitialLiveFragment(t,n),this.startPosition=this.nextLoadPosition=c?this.hls.liveSyncPosition||c.start:e)}else e<=s&&(c=n[0]);if(!c){const p=i.lowLatencyMode?t.partEnd:t.fragmentEnd;c=this.getFragmentAtPosition(e,p,t)}return this.mapToInitFragWhenRequired(c)}isLoopLoading(e,t){const n=this.fragmentTracker.getState(e);return(n===mi.OK||n===mi.PARTIAL&&!!e.gap)&&this.nextLoadPosition>t}getNextFragmentLoopLoading(e,t,n,r,i){const s=e.gap,c=this.getNextFragment(this.nextLoadPosition,t);if(c===null)return c;if(e=c,s&&e&&!e.gap&&n.nextStart){const p=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,n.nextStart,r);if(p!==null&&n.len+p.len>=i)return this.log(`buffer full after gaps in "${r}" playlist starting at sn: ${e.sn}`),null}return e}mapToInitFragWhenRequired(e){return e!=null&&e.initSegment&&!(e!=null&&e.initSegment.data)&&!this.bitrateTest?e.initSegment:e}getNextPart(e,t,n){let r=-1,i=!1,s=!0;for(let c=0,p=e.length;c<p;c++){const A=e[c];if(s=s&&!A.independent,r>-1&&n<A.start)break;const F=A.loaded;F?r=-1:(i||A.independent||s)&&A.fragment===t&&(r=c),i=F}return r}loadedEndOfParts(e,t){const n=e[e.length-1];return n&&t>n.start&&n.loaded}getInitialLiveFragment(e,t){const n=this.fragPrevious;let r=null;if(n){if(e.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${n.programDateTime}`),r=va(t,n.endProgramDateTime,this.config.maxFragLookUpTolerance)),!r){const i=n.sn+1;if(i>=e.startSN&&i<=e.endSN){const s=t[i-e.startSN];n.cc===s.cc&&(r=s,this.log(`Live playlist, switching playlist, load frag with next SN: ${r.sn}`))}r||(r=ur(t,n.cc),r&&this.log(`Live playlist, switching playlist, load frag with same CC: ${r.sn}`))}}else{const i=this.hls.liveSyncPosition;i!==null&&(r=this.getFragmentAtPosition(i,this.bitrateTest?e.fragmentEnd:e.edge,e))}return r}getFragmentAtPosition(e,t,n){const{config:r}=this;let{fragPrevious:i}=this,{fragments:s,endSN:c}=n;const{fragmentHint:p}=n,{maxFragLookUpTolerance:A}=r,F=n.partList,B=!!(r.lowLatencyMode&&F!=null&&F.length&&p);B&&p&&!this.bitrateTest&&(s=s.concat(p),c=p.sn);let ye;if(e<t){const Fe=e>t-A?0:A;ye=wa(i,s,e,Fe)}else ye=s[s.length-1];if(ye){const Fe=ye.sn-n.startSN,Re=this.fragmentTracker.getState(ye);if((Re===mi.OK||Re===mi.PARTIAL&&ye.gap)&&(i=ye),i&&ye.sn===i.sn&&(!B||F[0].fragment.sn>ye.sn)&&i&&ye.level===i.level){const We=s[Fe+1];ye.sn<c&&this.fragmentTracker.getState(We)!==mi.OK?ye=We:ye=null}}return ye}synchronizeToLiveEdge(e){const{config:t,media:n}=this;if(!n)return;const r=this.hls.liveSyncPosition,i=n.currentTime,s=e.fragments[0].start,c=e.edge,p=i>=s-t.maxFragLookUpTolerance&&i<=c;if(r!==null&&n.duration>r&&(i<r||!p)){const A=t.liveMaxLatencyDuration!==void 0?t.liveMaxLatencyDuration:t.liveMaxLatencyDurationCount*e.targetduration;(!p&&n.readyState<4||i<c-A)&&(this.loadedmetadata||(this.nextLoadPosition=r),n.readyState&&(this.warn(`Playback: ${i.toFixed(3)} is located too far from the end of live sliding playlist: ${c}, reset currentTime to : ${r.toFixed(3)}`),n.currentTime=r))}}alignPlaylists(e,t,n){const r=e.fragments.length;if(!r)return this.warn("No fragments in live playlist"),0;const i=e.fragments[0].start,s=!t,c=e.alignedSliding&&I(i);if(s||!c&&!i){const{fragPrevious:p}=this;ds(p,n,e);const A=e.fragments[0].start;return this.log(`Live playlist sliding: ${A.toFixed(2)} start-sn: ${t?t.startSN:"na"}->${e.startSN} prev-sn: ${p?p.sn:"na"} fragments: ${r}`),A}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;if(n<t&&(n=-1),n===-1||this.lastCurrentTime===-1){const r=this.startTimeOffset!==null,i=r?this.startTimeOffset:e.startTimeOffset;i!==null&&I(i)?(n=t+i,i<0&&(n+=e.totalduration),n=Math.min(Math.max(t,n),t+e.totalduration),this.log(`Start time offset ${i} found in ${r?"multivariant":"media"} playlist, adjust startPosition to ${n}`),this.startPosition=n):e.live?n=this.hls.liveSyncPosition||t:this.startPosition=n=0,this.lastCurrentTime=n}this.nextLoadPosition=n}getLoadPosition(){const{media:e}=this;let t=0;return this.loadedmetadata&&e?t=e.currentTime:this.nextLoadPosition&&(t=this.nextLoadPosition),t}handleFragLoadAborted(e,t){this.transmuxer&&e.sn!=="initSegment"&&e.stats.aborted&&(this.warn(`Fragment ${e.sn}${t?" part "+t.index:""} of level ${e.level} was aborted`),this.resetFragmentLoading(e))}resetFragmentLoading(e){(!this.fragCurrent||!this.fragContextChanged(e)&&this.state!==Rn.FRAG_LOADING_WAITING_RETRY)&&(this.state=Rn.IDLE)}onFragmentOrKeyLoadError(e,t){if(t.chunkMeta&&!t.frag){const F=this.getCurrentContext(t.chunkMeta);F&&(t.frag=F.frag)}const n=t.frag;if(!n||n.type!==e||!this.levels)return;if(this.fragContextChanged(n)){var r;this.warn(`Frag load error must match current frag to retry ${n.url} > ${(r=this.fragCurrent)==null?void 0:r.url}`);return}const i=t.details===m.FRAG_GAP;i&&this.fragmentTracker.fragBuffered(n,!0);const s=t.errorAction,{action:c,retryCount:p=0,retryConfig:A}=s||{};if(s&&c===ar.RetryRequest&&A){this.resetStartWhenNotLoaded(this.levelLastLoaded);const F=Qr(A,p);this.warn(`Fragment ${n.sn} of ${e} ${n.level} errored with ${t.details}, retrying loading ${p+1}/${A.maxNumRetry} in ${F}ms`),s.resolved=!0,this.retryDate=self.performance.now()+F,this.state=Rn.FRAG_LOADING_WAITING_RETRY}else if(A&&s)if(this.resetFragmentErrors(e),p<A.maxNumRetry)!i&&c!==ar.RemoveAlternatePermanently&&(s.resolved=!0);else{b.warn(`${t.details} reached or exceeded max retry (${p})`);return}else(s==null?void 0:s.action)===ar.SendAlternateToPenaltyBox?this.state=Rn.WAITING_LEVEL:this.state=Rn.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(e){if(this.state===Rn.PARSING||this.state===Rn.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 s=!i;return s&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${n} buffer`),t&&(this.fragmentTracker.removeFragment(t),this.nextLoadPosition=t.start),this.resetLoadingState(),s}return!1}resetFragmentErrors(e){e===at.AUDIO&&(this.fragCurrent=null),this.loadedmetadata||(this.startFragRequested=!1),this.state!==Rn.STOPPED&&(this.state=Rn.IDLE)}afterBufferFlushed(e,t,n){if(!e)return;const r=wi.getBuffered(e);this.fragmentTracker.detectEvictedFragments(t,r,n),this.state===Rn.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state=Rn.IDLE}resetStartWhenNotLoaded(e){if(!this.loadedmetadata){this.startFragRequested=!1;const t=e?e.details:null;t!=null&&t.live?(this.startPosition=-1,this.setStartPosition(t,0),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(e){this.warn(`The loading context changed while buffering fragment ${e.sn} of level ${e.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(e=0){this.fragmentTracker.removeFragmentsInRange(e,1/0,this.playlistType,!1,!0)}updateLevelTiming(e,t,n,r){var i;const s=n.details;if(!s){this.warn("level.details undefined");return}if(!Object.keys(e.elementaryStreams).reduce((p,A)=>{const F=e.elementaryStreams[A];if(F){const B=F.endPTS-F.startPTS;if(B<=0)return this.warn(`Could not parse fragment ${e.sn} ${A} duration reliably (${B})`),p||!1;const ye=r?0:aa(s,e,F.startPTS,F.endPTS,F.startDTS,F.endDTS);return this.hls.trigger(u.LEVEL_PTS_UPDATED,{details:s,level:n,drift:ye,type:A,frag:e,start:F.startPTS,end:F.endPTS}),!0}return p},!1)&&((i=this.transmuxer)==null?void 0:i.error)===null){const p=new Error(`Found no media in fragment ${e.sn} of level ${e.level} resetting transmuxer to fallback to playlist timing`);if(n.fragmentError===0&&(n.fragmentError++,e.gap=!0,this.fragmentTracker.removeFragment(e),this.fragmentTracker.fragBuffered(e,!0)),this.warn(p.message),this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,fatal:!1,error:p,frag:e,reason:`Found no media in msn ${e.sn} of level "${n.url}"`}),!this.hls)return;this.resetTransmuxer()}this.state=Rn.PARSED,this.hls.trigger(u.FRAG_PARSED,{frag:e,part:t})}resetTransmuxer(){this.transmuxer&&(this.transmuxer.destroy(),this.transmuxer=null)}recoverWorkerError(e){e.event==="demuxerWorker"&&(this.fragmentTracker.removeAllFragments(),this.resetTransmuxer(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState())}set state(e){const t=this._state;t!==e&&(this._state=e,this.log(`${t}->${e}`))}get state(){return this._state}}class Ms{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=go(e,t);else return new Uint8Array(0);return this.reset(),n}reset(){this.chunks.length=0,this.dataLength=0}}function go(o,e){const t=new Uint8Array(e);let n=0;for(let r=0;r<o.length;r++){const i=o[r];t.set(i,n),n+=i.length}return t}function Qs(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Ks(){const o=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),e=self.URL.createObjectURL(o);return{worker:new self.Worker(e),objectURL:e}}function Js(o){const e=new self.URL(o,self.location.href).href;return{worker:new self.Worker(e),scriptURL:e}}function Ga(o="",e=9e4){return{type:o,id:-1,pid:-1,inputTimeScale:e,sequenceNumber:-1,samples:[],dropped:0}}class zs{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=Rt(this.cachedData,e),this.cachedData=null);let n=O(e,0),r=n?n.length:0,i;const s=this._audioTrack,c=this._id3Track,p=n?E(n):void 0,A=e.length;for((this.basePTS===null||this.frameIndex===0&&I(p))&&(this.basePTS=qs(p,t,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),n&&n.length>0&&c.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:Kn.audioId3,duration:Number.POSITIVE_INFINITY});r<A;){if(this.canParse(e,r)){const F=this.appendFrame(s,e,r);F?(this.frameIndex++,this.lastPTS=F.sample.pts,r+=F.length,i=r):r=A}else k(e,r)?(n=O(e,r),c.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:n,type:Kn.audioId3,duration:Number.POSITIVE_INFINITY}),r+=n.length,i=r):r++;if(r===A&&i!==A){const F=se(e,i);this.cachedData?this.cachedData=Rt(this.cachedData,F):this.cachedData=F}}return{audioTrack:s,videoTrack:Ga(),id3Track:c,textTrack:Ga()}}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:Ga(),id3Track:this._id3Track,textTrack:Ga()}}destroy(){}}const qs=(o,e,t)=>{if(I(o))return o*90;const n=t?t.baseTime*9e4/t.timescale:0;return e*9e4+n};function Po(o,e,t,n){let r,i,s,c;const p=navigator.userAgent.toLowerCase(),A=n,F=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];r=((e[t+2]&192)>>>6)+1;const B=(e[t+2]&60)>>>2;if(B>F.length-1){const ye=new Error(`invalid ADTS sampling index:${B}`);o.emit(u.ERROR,u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,fatal:!0,error:ye,reason:ye.message});return}return s=(e[t+2]&1)<<2,s|=(e[t+3]&192)>>>6,b.log(`manifest codec:${n}, ADTS type:${r}, samplingIndex:${B}`),/firefox/i.test(p)?B>=6?(r=5,c=new Array(4),i=B-3):(r=2,c=new Array(2),i=B):p.indexOf("android")!==-1?(r=2,c=new Array(2),i=B):(r=5,c=new Array(4),n&&(n.indexOf("mp4a.40.29")!==-1||n.indexOf("mp4a.40.5")!==-1)||!n&&B>=6?i=B-3:((n&&n.indexOf("mp4a.40.2")!==-1&&(B>=6&&s===1||/vivaldi/i.test(p))||!n&&s===1)&&(r=2,c=new Array(2)),i=B)),c[0]=r<<3,c[0]|=(B&14)>>1,c[1]|=(B&1)<<7,c[1]|=s<<3,r===5&&(c[1]|=(i&14)>>1,c[2]=(i&1)<<7,c[2]|=8,c[3]=0),{config:c,samplerate:F[B],channelCount:s,codec:"mp4a.40."+r,manifestCodec:A}}function Os(o,e){return o[e]===255&&(o[e+1]&246)===240}function Xs(o,e){return o[e+1]&1?7:9}function Ls(o,e){return(o[e+3]&3)<<11|o[e+4]<<3|(o[e+5]&224)>>>5}function vo(o,e){return e+5<o.length}function qa(o,e){return e+1<o.length&&Os(o,e)}function Ns(o,e){return vo(o,e)&&Os(o,e)&&Ls(o,e)<=o.length-e}function yo(o,e){if(qa(o,e)){const t=Xs(o,e);if(e+t>=o.length)return!1;const n=Ls(o,e);if(n<=t)return!1;const r=e+n;return r===o.length||qa(o,r)}return!1}function bo(o,e,t,n,r){if(!o.samplerate){const i=Po(e,t,n,r);if(!i)return;o.config=i.config,o.samplerate=i.samplerate,o.channelCount=i.channelCount,o.codec=i.codec,o.manifestCodec=i.manifestCodec,b.log(`parsed codec:${o.codec}, rate:${i.samplerate}, channels:${i.channelCount}`)}}function Hs(o){return 1024*9e4/o}function Uo(o,e){const t=Xs(o,e);if(e+t<=o.length){const n=Ls(o,e)-t;if(n>0)return{headerLength:t,frameLength:n}}}function js(o,e,t,n,r){const i=Hs(o.samplerate),s=n+r*i,c=Uo(e,t);let p;if(c){const{frameLength:B,headerLength:ye}=c,Fe=ye+B,Re=Math.max(0,t+Fe-e.length);Re?(p=new Uint8Array(Fe-ye),p.set(e.subarray(t+ye,e.length),0)):p=e.subarray(t+ye,t+Fe);const Ue={unit:p,pts:s};return Re||o.samples.push(Ue),{sample:Ue,length:Fe,missing:Re}}const A=e.length-t;return p=new Uint8Array(A),p.set(e.subarray(t,e.length),0),{sample:{unit:p,pts:s},length:A,missing:-1}}let Ps=null;const So=[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],xo=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Ao=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Eo=[0,1,1,4];function Ds(o,e,t,n,r){if(t+24>e.length)return;const i=Ws(e,t);if(i&&t+i.frameLength<=e.length){const s=i.samplesPerFrame*9e4/i.sampleRate,c=n+r*s,p={unit:e.subarray(t,t+i.frameLength),pts:c,dts:c};return o.config=[],o.channelCount=i.channelCount,o.samplerate=i.sampleRate,o.samples.push(p),{sample:p,length:i.frameLength,missing:0}}}function Ws(o,e){const t=o[e+1]>>3&3,n=o[e+1]>>1&3,r=o[e+2]>>4&15,i=o[e+2]>>2&3;if(t!==1&&r!==0&&r!==15&&i!==3){const s=o[e+2]>>1&1,c=o[e+3]>>6,p=t===3?3-n:n===3?3:4,A=So[p*14+r-1]*1e3,B=xo[(t===3?0:t===2?1:2)*3+i],ye=c===3?1:2,Fe=Ao[t][n],Re=Eo[n],Ue=Fe*8*Re,We=Math.floor(Fe*A/B+s)*Re;if(Ps===null){const Wt=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Ps=Wt?parseInt(Wt[1]):0}return!!Ps&&Ps<=87&&n===2&&A>=224e3&&c===0&&(o[e+3]=o[e+3]|128),{sampleRate:B,channelCount:ye,frameLength:We,samplesPerFrame:Ue}}}function Us(o,e){return o[e]===255&&(o[e+1]&224)===224&&(o[e+1]&6)!==0}function Vs(o,e){return e+1<o.length&&Us(o,e)}function eo(o,e){return Us(o,e)&&4<=o.length-e}function to(o,e){if(e+1<o.length&&Us(o,e)){const n=Ws(o,e);let r=4;n!=null&&n.frameLength&&(r=n.frameLength);const i=e+r;return i===o.length||Vs(o,i)}return!1}class no extends zs{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){if(!e)return!1;const t=O(e,0);let n=(t==null?void 0:t.length)||0;if(to(e,n))return!1;for(let r=e.length;n<r;n++)if(yo(e,n))return b.log("ADTS sync word found !"),!0;return!1}canParse(e,t){return Ns(e,t)}appendFrame(e,t,n){bo(e,this.observer,t,n,e.manifestCodec);const r=js(e,t,n,this.basePTS,this.frameIndex);if(r&&r.missing===0)return r}}const ro=/\/emsg[-/]ID3/i;class _o{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=Ga("video",1),s=this.audioTrack=Ga("audio",1),c=this.txtTrack=Ga("text",1);if(this.id3Track=Ga("id3",1),this.timeOffset=0,!(e!=null&&e.byteLength))return;const p=Je(e);if(p.video){const{id:A,timescale:F,codec:B}=p.video;i.id=A,i.timescale=c.timescale=F,i.codec=B}if(p.audio){const{id:A,timescale:F,codec:B}=p.audio;s.id=A,s.timescale=F,s.codec=B}c.id=Nt.text,i.sampleDuration=0,i.duration=s.duration=r}resetContiguity(){this.remainderData=null}static probe(e){return pn(e)}demux(e,t){this.timeOffset=t;let n=e;const r=this.videoTrack,i=this.txtTrack;if(this.config.progressive){this.remainderData&&(n=Rt(this.remainderData,e));const c=Xt(n);this.remainderData=c.remainder,r.samples=c.valid||new Uint8Array}else r.samples=n;const s=this.extractID3Track(r,t);return i.samples=Ft(t,r),{videoTrack:r,audioTrack:this.audioTrack,id3Track:s,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=Ft(e,t),{videoTrack:t,audioTrack:Ga(),id3Track:r,textTrack:Ga()}}extractID3Track(e,t){const n=this.id3Track;if(e.samples.length){const r=Ve(e.samples,["emsg"]);r&&r.forEach(i=>{const s=Ce(i);if(ro.test(s.schemeIdUri)){const c=I(s.presentationTime)?s.presentationTime/s.timeScale:t+s.presentationTimeDelta/s.timeScale;let p=s.eventDuration===4294967295?Number.POSITIVE_INFINITY:s.eventDuration/s.timeScale;p<=.001&&(p=Number.POSITIVE_INFINITY);const A=s.payload;n.samples.push({data:A,len:A.byteLength,dts:c,pts:c,type:Kn.emsg,duration:p})}})}return n}demuxSampleAes(e,t,n){return Promise.reject(new Error("The MP4 demuxer does not support SAMPLE-AES decryption"))}destroy(){}}const La=(o,e)=>{let t=0,n=5;e+=n;const r=new Uint32Array(1),i=new Uint32Array(1),s=new Uint8Array(1);for(;n>0;){s[0]=o[e];const c=Math.min(n,8),p=8-c;i[0]=4278190080>>>24+p<<p,r[0]=(s[0]&i[0])>>p,t=t?t<<c|r[0]:r[0],e+=1,n-=c}return t};class Gs extends zs{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=Zs(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=O(e,0);if(!t)return!1;const n=t.length;return e[n]===11&&e[n+1]===119&&E(t)!==void 0&&La(e,n)<16}}function Zs(o,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 c=[48e3,44100,32e3][i],p=e[t+4]&63,F=[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+F>e.length)return-1;const B=e[t+6]>>5;let ye=0;B===2?ye+=2:(B&1&&B!==1&&(ye+=2),B&4&&(ye+=2));const Fe=(e[t+6]<<8|e[t+7])>>12-ye&1,Ue=[2,1,2,3,3,4,4,5][B]+Fe,We=e[t+5]>>3,ct=e[t+5]&7,Vt=new Uint8Array([i<<6|We<<1|ct>>2,(ct&3)<<6|B<<3|Fe<<2|p>>4,p<<4&224]),Wt=1536/c*9e4,xn=n+r*Wt,Qt=e.subarray(t,t+F);return o.config=Vt,o.channelCount=Ue,o.samplerate=c,o.samples.push({unit:Qt,pts:xn}),F}class oe{constructor(){this.VideoSample=null}createVideoSample(e,t,n,r){return{key:e,frame:!1,pts:t,dts:n,units:[],debug:r,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)}e.debug.length&&b.log(e.pts+"/"+e.dts+":"+e.debug)}}class ge{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&&b.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)}skipScalingList(e){let t=8,n=8,r;for(let i=0;i<e;i++)n!==0&&(r=this.readEG(),n=(t+r+256)%256),t=n===0?t:n}readSPS(){let e=0,t=0,n=0,r=0,i,s,c;const p=this.readUByte.bind(this),A=this.readBits.bind(this),F=this.readUEG.bind(this),B=this.readBoolean.bind(this),ye=this.skipBits.bind(this),Fe=this.skipEG.bind(this),Re=this.skipUEG.bind(this),Ue=this.skipScalingList.bind(this);p();const We=p();if(A(5),ye(3),p(),Re(),We===100||We===110||We===122||We===244||We===44||We===83||We===86||We===118||We===128){const Mn=F();if(Mn===3&&ye(1),Re(),Re(),ye(1),B())for(s=Mn!==3?8:12,c=0;c<s;c++)B()&&(c<6?Ue(16):Ue(64))}Re();const ct=F();if(ct===0)F();else if(ct===1)for(ye(1),Fe(),Fe(),i=F(),c=0;c<i;c++)Fe();Re(),ye(1);const Vt=F(),Wt=F(),xn=A(1);xn===0&&ye(1),ye(1),B()&&(e=F(),t=F(),n=F(),r=F());let Qt=[1,1];if(B()&&B())switch(p()){case 1:Qt=[1,1];break;case 2:Qt=[12,11];break;case 3:Qt=[10,11];break;case 4:Qt=[16,11];break;case 5:Qt=[40,33];break;case 6:Qt=[24,11];break;case 7:Qt=[20,11];break;case 8:Qt=[32,11];break;case 9:Qt=[80,33];break;case 10:Qt=[18,11];break;case 11:Qt=[15,11];break;case 12:Qt=[64,33];break;case 13:Qt=[160,99];break;case 14:Qt=[4,3];break;case 15:Qt=[3,2];break;case 16:Qt=[2,1];break;case 255:{Qt=[p()<<8|p(),p()<<8|p()];break}}return{width:Math.ceil((Vt+1)*16-e*2-t*2),height:(2-xn)*(Wt+1)*16-(xn?2:4)*(n+r),pixelRatio:Qt}}readSliceType(){return this.readUByte(),this.readUEG(),this.readUEG()}}class He extends oe{parseAVCPES(e,t,n,r,i){const s=this.parseAVCNALu(e,n.data);let c=this.VideoSample,p,A=!1;n.data=null,c&&s.length&&!e.audFound&&(this.pushAccessUnit(c,e),c=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts,"")),s.forEach(F=>{var B;switch(F.type){case 1:{let Ue=!1;p=!0;const We=F.data;if(A&&We.length>4){const ct=new ge(We).readSliceType();(ct===2||ct===4||ct===7||ct===9)&&(Ue=!0)}if(Ue){var ye;(ye=c)!=null&&ye.frame&&!c.key&&(this.pushAccessUnit(c,e),c=this.VideoSample=null)}c||(c=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts,"")),c.frame=!0,c.key=Ue;break}case 5:p=!0,(B=c)!=null&&B.frame&&!c.key&&(this.pushAccessUnit(c,e),c=this.VideoSample=null),c||(c=this.VideoSample=this.createVideoSample(!0,n.pts,n.dts,"")),c.key=!0,c.frame=!0;break;case 6:{p=!0,xt(F.data,1,n.pts,t.samples);break}case 7:{var Fe,Re;p=!0,A=!0;const Ue=F.data,ct=new ge(Ue).readSPS();if(!e.sps||e.width!==ct.width||e.height!==ct.height||((Fe=e.pixelRatio)==null?void 0:Fe[0])!==ct.pixelRatio[0]||((Re=e.pixelRatio)==null?void 0:Re[1])!==ct.pixelRatio[1]){e.width=ct.width,e.height=ct.height,e.pixelRatio=ct.pixelRatio,e.sps=[Ue],e.duration=i;const Vt=Ue.subarray(1,4);let Wt="avc1.";for(let xn=0;xn<3;xn++){let Qt=Vt[xn].toString(16);Qt.length<2&&(Qt="0"+Qt),Wt+=Qt}e.codec=Wt}break}case 8:p=!0,e.pps=[F.data];break;case 9:p=!0,e.audFound=!0,c&&this.pushAccessUnit(c,e),c=this.VideoSample=this.createVideoSample(!1,n.pts,n.dts,"");break;case 12:p=!0;break;default:p=!1,c&&(c.debug+="unknown NAL "+F.type+" ");break}c&&p&&c.units.push(F)}),r&&c&&(this.pushAccessUnit(c,e),this.VideoSample=null)}parseAVCNALu(e,t){const n=t.byteLength;let r=e.naluState||0;const i=r,s=[];let c=0,p,A,F,B=-1,ye=0;for(r===-1&&(B=0,ye=t[0]&31,r=0,c=1);c<n;){if(p=t[c++],!r){r=p?0:1;continue}if(r===1){r=p?0:2;continue}if(!p)r=3;else if(p===1){if(A=c-r-1,B>=0){const Fe={data:t.subarray(B,A),type:ye};s.push(Fe)}else{const Fe=this.getLastNalUnit(e.samples);Fe&&(i&&c<=4-i&&Fe.state&&(Fe.data=Fe.data.subarray(0,Fe.data.byteLength-i)),A>0&&(Fe.data=Rt(Fe.data,t.subarray(0,A)),Fe.state=0))}c<n?(F=t[c]&31,B=c,ye=F,r=0):r=-1}else r=0}if(B>=0&&r>=0){const Fe={data:t.subarray(B,n),type:ye,state:r};s.push(Fe)}if(s.length===0){const Fe=this.getLastNalUnit(e.samples);Fe&&(Fe.data=Rt(Fe.data,t))}return e.naluState=r,s}}class Qe{constructor(e,t,n){this.keyData=void 0,this.decrypter=void 0,this.keyData=n,this.decrypter=new ps(t,{removePKCS7Padding:!1})}decryptBuffer(e){return this.decrypter.decrypt(e,this.keyData.key.buffer,this.keyData.iv.buffer)}decryptAacSample(e,t,n){const r=e[t].unit;if(r.length<=16)return;const i=r.subarray(16,r.length-r.length%16),s=i.buffer.slice(i.byteOffset,i.byteOffset+i.length);this.decryptBuffer(s).then(c=>{const p=new Uint8Array(c);r.set(p,16),this.decrypter.isSync()||this.decryptAacSamples(e,t+1,n)})}decryptAacSamples(e,t,n){for(;;t++){if(t>=e.length){n();return}if(!(e[t].unit.length<32)&&(this.decryptAacSample(e,t,n),!this.decrypter.isSync()))return}}getAvcEncryptedData(e){const t=Math.floor((e.length-48)/160)*16+16,n=new Int8Array(t);let r=0;for(let i=32;i<e.length-16;i+=160,r+=16)n.set(e.subarray(i,i+16),r);return n}getAvcDecryptedUnit(e,t){const n=new Uint8Array(t);let r=0;for(let i=32;i<e.length-16;i+=160,r+=16)e.set(n.subarray(r,r+16),i);return e}decryptAvcSample(e,t,n,r,i){const s=Ne(i.data),c=this.getAvcEncryptedData(s);this.decryptBuffer(c.buffer).then(p=>{i.data=this.getAvcDecryptedUnit(s,p),this.decrypter.isSync()||this.decryptAvcSamples(e,t,n+1,r)})}decryptAvcSamples(e,t,n,r){if(e instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;t++,n=0){if(t>=e.length){r();return}const i=e[t].units;for(;!(n>=i.length);n++){const s=i[n];if(!(s.data.length<=48||s.type!==1&&s.type!==5)&&(this.decryptAvcSample(e,t,n,r,s),!this.decrypter.isSync()))return}}}}const rt=188;class st{constructor(e,t,n){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._duration=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.videoParser=new He}static probe(e){const t=st.syncOffset(e);return t>0&&b.warn(`MPEG2-TS detected but first sync word found @ offset ${t}`),t!==-1}static syncOffset(e){const t=e.length;let n=Math.min(rt*5,t-rt)+1,r=0;for(;r<n;){let i=!1,s=-1,c=0;for(let p=r;p<t;p+=rt)if(e[p]===71&&(t-p===rt||e[p+rt]===71)){if(c++,s===-1&&(s=p,s!==0&&(n=Math.min(s+rt*99,e.length-rt)+1)),i||(i=wt(e,p)===0),i&&c>1&&(s===0&&c>2||p+rt>n))return s}else{if(c)return-1;break}r++}return-1}static createTrack(e,t){return{container:e==="video"||e==="audio"?"video/mp2t":void 0,type:e,id:Nt[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=st.createTrack("video"),this._audioTrack=st.createTrack("audio",r),this._id3Track=st.createTrack("id3"),this._txtTrack=st.createTrack("text"),this._audioTrack.segmentCodec="aac",this.aacOverFlow=null,this.remainderData=null,this.audioCodec=t,this.videoCodec=n,this._duration=r}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 s=this._videoTrack,c=this._audioTrack,p=this._id3Track,A=this._txtTrack;let F=s.pid,B=s.pesData,ye=c.pid,Fe=p.pid,Re=c.pesData,Ue=p.pesData,We=null,ct=this.pmtParsed,Vt=this._pmtId,Wt=e.length;if(this.remainderData&&(e=Rt(this.remainderData,e),Wt=e.length,this.remainderData=null),Wt<rt&&!r)return this.remainderData=e,{audioTrack:c,videoTrack:s,id3Track:p,textTrack:A};const xn=Math.max(0,st.syncOffset(e));Wt-=(Wt-xn)%rt,Wt<e.byteLength&&!r&&(this.remainderData=new Uint8Array(e.buffer,Wt,e.buffer.byteLength-Wt));let Qt=0;for(let bn=xn;bn<Wt;bn+=rt)if(e[bn]===71){const $n=!!(e[bn+1]&64),Ar=wt(e,bn),kn=(e[bn+3]&48)>>4;let Qn;if(kn>1){if(Qn=bn+5+e[bn+4],Qn===bn+rt)continue}else Qn=bn+4;switch(Ar){case F:$n&&(B&&(i=zt(B))&&this.videoParser.parseAVCPES(s,A,i,!1,this._duration),B={data:[],size:0}),B&&(B.data.push(e.subarray(Qn,bn+rt)),B.size+=bn+rt-Qn);break;case ye:if($n){if(Re&&(i=zt(Re)))switch(c.segmentCodec){case"aac":this.parseAACPES(c,i);break;case"mp3":this.parseMPEGPES(c,i);break;case"ac3":this.parseAC3PES(c,i);break}Re={data:[],size:0}}Re&&(Re.data.push(e.subarray(Qn,bn+rt)),Re.size+=bn+rt-Qn);break;case Fe:$n&&(Ue&&(i=zt(Ue))&&this.parseID3PES(p,i),Ue={data:[],size:0}),Ue&&(Ue.data.push(e.subarray(Qn,bn+rt)),Ue.size+=bn+rt-Qn);break;case 0:$n&&(Qn+=e[Qn]+1),Vt=this._pmtId=Ct(e,Qn);break;case Vt:{$n&&(Qn+=e[Qn]+1);const di=At(e,Qn,this.typeSupported,n,this.observer);F=di.videoPid,F>0&&(s.pid=F,s.segmentCodec=di.segmentVideoCodec),ye=di.audioPid,ye>0&&(c.pid=ye,c.segmentCodec=di.segmentAudioCodec),Fe=di.id3Pid,Fe>0&&(p.pid=Fe),We!==null&&!ct&&(b.warn(`MPEG-TS PMT found at ${bn} after unknown PID '${We}'. Backtracking to sync byte @${xn} to parse all TS packets.`),We=null,bn=xn-188),ct=this.pmtParsed=!0;break}case 17:case 8191:break;default:We=Ar;break}}else Qt++;Qt>0&&Mt(this.observer,new Error(`Found ${Qt} TS packet/s that do not start with 0x47`)),s.pesData=B,c.pesData=Re,p.pesData=Ue;const Mn={audioTrack:c,videoTrack:s,id3Track:p,textTrack:A};return r&&this.extractRemainingSamples(Mn),Mn}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,s=n.pesData,c=t.pesData,p=r.pesData;let A;if(s&&(A=zt(s))?(this.videoParser.parseAVCPES(n,i,A,!0,this._duration),n.pesData=null):n.pesData=s,c&&(A=zt(c))){switch(t.segmentCodec){case"aac":this.parseAACPES(t,A);break;case"mp3":this.parseMPEGPES(t,A);break;case"ac3":this.parseAC3PES(t,A);break}t.pesData=null}else c!=null&&c.size&&b.log("last AAC PES packet truncated,might overlap between fragments"),t.pesData=c;p&&(A=zt(p))?(this.parseID3PES(r,A),r.pesData=null):r.pesData=p}demuxSampleAes(e,t,n){const r=this.demux(e,n,!0,!this.config.progressive),i=this.sampleAes=new Qe(this.observer,this.config,t);return this.decrypt(r,i)}decrypt(e,t){return new Promise(n=>{const{audioTrack:r,videoTrack:i}=e;r.samples&&r.segmentCodec==="aac"?t.decryptAacSamples(r.samples,0,()=>{i.samples?t.decryptAvcSamples(i.samples,0,0,()=>{n(e)}):n(e)}):i.samples&&t.decryptAvcSamples(i.samples,0,0,()=>{n(e)})})}destroy(){this._duration=0}parseAACPES(e,t){let n=0;const r=this.aacOverFlow;let i=t.data;if(r){this.aacOverFlow=null;const B=r.missing,ye=r.sample.unit.byteLength;if(B===-1)i=Rt(r.sample.unit,i);else{const Fe=ye-B;r.sample.unit.set(i.subarray(0,B),Fe),e.samples.push(r.sample),n=r.missing}}let s,c;for(s=n,c=i.length;s<c-1&&!qa(i,s);s++);if(s!==n){let B;const ye=s<c-1;if(ye?B=`AAC PES did not start with ADTS header,offset:${s}`:B="No ADTS header found in AAC PES",Mt(this.observer,new Error(B),ye),!ye)return}bo(e,this.observer,i,s,this.audioCodec);let p;if(t.pts!==void 0)p=t.pts;else if(r){const B=Hs(e.samplerate);p=r.sample.pts+B}else{b.warn("[tsdemuxer]: AAC PES unknown PTS");return}let A=0,F;for(;s<c;)if(F=js(e,i,s,p,A),s+=F.length,F.missing){this.aacOverFlow=F;break}else for(A++;s<c-1&&!qa(i,s);s++);}parseMPEGPES(e,t){const n=t.data,r=n.length;let i=0,s=0;const c=t.pts;if(c===void 0){b.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;s<r;)if(Vs(n,s)){const p=Ds(e,n,s,c,i);if(p)s+=p.length,i++;else break}else s++}parseAC3PES(e,t){{const n=t.data,r=t.pts;if(r===void 0){b.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const i=n.length;let s=0,c=0,p;for(;c<i&&(p=Zs(e,n,c,r,s++))>0;)c+=p}}parseID3PES(e,t){if(t.pts===void 0){b.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const n=a({},t,{type:this._videoTrack?Kn.emsg:Kn.audioId3,duration:Number.POSITIVE_INFINITY});e.samples.push(n)}}function wt(o,e){return((o[e+1]&31)<<8)+o[e+2]}function Ct(o,e){return(o[e+10]&31)<<8|o[e+11]}function At(o,e,t,n,r){const i={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},s=(o[e+1]&15)<<8|o[e+2],c=e+3+s-4,p=(o[e+10]&15)<<8|o[e+11];for(e+=12+p;e<c;){const A=wt(o,e),F=(o[e+3]&15)<<8|o[e+4];switch(o[e]){case 207:if(!n){_e("ADTS AAC");break}case 15:i.audioPid===-1&&(i.audioPid=A);break;case 21:i.id3Pid===-1&&(i.id3Pid=A);break;case 219:if(!n){_e("H.264");break}case 27:i.videoPid===-1&&(i.videoPid=A,i.segmentVideoCodec="avc");break;case 3:case 4:!t.mpeg&&!t.mp3?b.log("MPEG audio found, not supported in this browser"):i.audioPid===-1&&(i.audioPid=A,i.segmentAudioCodec="mp3");break;case 193:if(!n){_e("AC-3");break}case 129:t.ac3?i.audioPid===-1&&(i.audioPid=A,i.segmentAudioCodec="ac3"):b.log("AC-3 audio found, not supported in this browser");break;case 6:if(i.audioPid===-1&&F>0){let B=e+5,ye=F;for(;ye>2;){switch(o[B]){case 106:t.ac3!==!0?b.log("AC-3 audio found, not supported in this browser for now"):(i.audioPid=A,i.segmentAudioCodec="ac3");break}const Re=o[B+1]+2;B+=Re,ye-=Re}}break;case 194:case 135:return Mt(r,new Error("Unsupported EC-3 in M2TS found")),i;case 36:return Mt(r,new Error("Unsupported HEVC in M2TS found")),i}e+=F+5}return i}function Mt(o,e,t){b.warn(`parsing error: ${e.message}`),o.emit(u.ERROR,u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,fatal:!1,levelRetry:t,error:e,reason:e.message})}function _e(o){b.log(`${o} with AES-128-CBC encryption found in unencrypted stream`)}function zt(o){let e=0,t,n,r,i,s;const c=o.data;if(!o||o.size===0)return null;for(;c[0].length<19&&c.length>1;)c[0]=Rt(c[0],c[1]),c.splice(1,1);if(t=c[0],(t[0]<<16)+(t[1]<<8)+t[2]===1){if(n=(t[4]<<8)+t[5],n&&n>o.size-6)return null;const A=t[7];A&192&&(i=(t[9]&14)*536870912+(t[10]&255)*4194304+(t[11]&254)*16384+(t[12]&255)*128+(t[13]&254)/2,A&64?(s=(t[14]&14)*536870912+(t[15]&255)*4194304+(t[16]&254)*16384+(t[17]&255)*128+(t[18]&254)/2,i-s>60*9e4&&(b.warn(`${Math.round((i-s)/9e4)}s delta between PTS and DTS, align them`),i=s)):s=i),r=t[8];let F=r+9;if(o.size<=F)return null;o.size-=F;const B=new Uint8Array(o.size);for(let ye=0,Fe=c.length;ye<Fe;ye++){t=c[ye];let Re=t.byteLength;if(F)if(F>Re){F-=Re;continue}else t=t.subarray(F),Re-=F,F=0;B.set(t,e),e+=Re}return n&&(n-=r+3),{data:B,pts:i,dts:s,len:n}}return null}class vn extends zs{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=O(e,0);let n=(t==null?void 0:t.length)||0;if(t&&e[n]===11&&e[n+1]===119&&E(t)!==void 0&&La(e,n)<=16)return!1;for(let r=e.length;n<r;n++)if(to(e,n))return b.log("MPEG Audio sync word found !"),!0;return!1}canParse(e,t){return eo(e,t)}appendFrame(e,t,n){if(this.basePTS!==null)return Ds(e,t,n,this.basePTS,this.frameIndex)}}class fn{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 cn=Math.pow(2,32)-1;class ft{static init(){ft.types={avc1:[],avcC:[],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 ft.types)ft.types.hasOwnProperty(e)&&(ft.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]);ft.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]);ft.STTS=ft.STSC=ft.STCO=i,ft.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),ft.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),ft.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),ft.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const s=new Uint8Array([105,115,111,109]),c=new Uint8Array([97,118,99,49]),p=new Uint8Array([0,0,0,1]);ft.FTYP=ft.box(ft.types.ftyp,s,p,s,c),ft.DINF=ft.box(ft.types.dinf,ft.box(ft.types.dref,r))}static box(e,...t){let n=8,r=t.length;const i=r;for(;r--;)n+=t[r].byteLength;const s=new Uint8Array(n);for(s[0]=n>>24&255,s[1]=n>>16&255,s[2]=n>>8&255,s[3]=n&255,s.set(e,4),r=0,n=8;r<i;r++)s.set(t[r],n),n+=t[r].byteLength;return s}static hdlr(e){return ft.box(ft.types.hdlr,ft.HDLR_TYPES[e])}static mdat(e){return ft.box(ft.types.mdat,e)}static mdhd(e,t){t*=e;const n=Math.floor(t/(cn+1)),r=Math.floor(t%(cn+1));return ft.box(ft.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 ft.box(ft.types.mdia,ft.mdhd(e.timescale,e.duration),ft.hdlr(e.type),ft.minf(e))}static mfhd(e){return ft.box(ft.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"?ft.box(ft.types.minf,ft.box(ft.types.smhd,ft.SMHD),ft.DINF,ft.stbl(e)):ft.box(ft.types.minf,ft.box(ft.types.vmhd,ft.VMHD),ft.DINF,ft.stbl(e))}static moof(e,t,n){return ft.box(ft.types.moof,ft.mfhd(e),ft.traf(n,t))}static moov(e){let t=e.length;const n=[];for(;t--;)n[t]=ft.trak(e[t]);return ft.box.apply(null,[ft.types.moov,ft.mvhd(e[0].timescale,e[0].duration)].concat(n).concat(ft.mvex(e)))}static mvex(e){let t=e.length;const n=[];for(;t--;)n[t]=ft.trex(e[t]);return ft.box.apply(null,[ft.types.mvex,...n])}static mvhd(e,t){t*=e;const n=Math.floor(t/(cn+1)),r=Math.floor(t%(cn+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 ft.box(ft.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 ft.box(ft.types.sdtp,n)}static stbl(e){return ft.box(ft.types.stbl,ft.stsd(e),ft.box(ft.types.stts,ft.STTS),ft.box(ft.types.stsc,ft.STSC),ft.box(ft.types.stsz,ft.STSZ),ft.box(ft.types.stco,ft.STCO))}static avc1(e){let t=[],n=[],r,i,s;for(r=0;r<e.sps.length;r++)i=e.sps[r],s=i.byteLength,t.push(s>>>8&255),t.push(s&255),t=t.concat(Array.prototype.slice.call(i));for(r=0;r<e.pps.length;r++)i=e.pps[r],s=i.byteLength,n.push(s>>>8&255),n.push(s&255),n=n.concat(Array.prototype.slice.call(i));const c=ft.box(ft.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,A=e.height,F=e.pixelRatio[0],B=e.pixelRatio[1];return ft.box(ft.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,A>>8&255,A&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),c,ft.box(ft.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),ft.box(ft.types.pasp,new Uint8Array([F>>24,F>>16&255,F>>8&255,F&255,B>>24,B>>16&255,B>>8&255,B&255])))}static esds(e){const t=e.config.length;return new Uint8Array([0,0,0,0,3,23+t,0,1,0,4,15+t,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([t]).concat(e.config).concat([6,1,2]))}static audioStsd(e){const t=e.samplerate;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,t>>8&255,t&255,0,0])}static mp4a(e){return ft.box(ft.types.mp4a,ft.audioStsd(e),ft.box(ft.types.esds,ft.esds(e)))}static mp3(e){return ft.box(ft.types[".mp3"],ft.audioStsd(e))}static ac3(e){return ft.box(ft.types["ac-3"],ft.audioStsd(e),ft.box(ft.types.dac3,e.config))}static stsd(e){return e.type==="audio"?e.segmentCodec==="mp3"&&e.codec==="mp3"?ft.box(ft.types.stsd,ft.STSD,ft.mp3(e)):e.segmentCodec==="ac3"?ft.box(ft.types.stsd,ft.STSD,ft.ac3(e)):ft.box(ft.types.stsd,ft.STSD,ft.mp4a(e)):ft.box(ft.types.stsd,ft.STSD,ft.avc1(e))}static tkhd(e){const t=e.id,n=e.duration*e.timescale,r=e.width,i=e.height,s=Math.floor(n/(cn+1)),c=Math.floor(n%(cn+1));return ft.box(ft.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,s>>24,s>>16&255,s>>8&255,s&255,c>>24,c>>16&255,c>>8&255,c&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=ft.sdtp(e),r=e.id,i=Math.floor(t/(cn+1)),s=Math.floor(t%(cn+1));return ft.box(ft.types.traf,ft.box(ft.types.tfhd,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,r&255])),ft.box(ft.types.tfdt,new Uint8Array([1,0,0,0,i>>24,i>>16&255,i>>8&255,i&255,s>>24,s>>16&255,s>>8&255,s&255])),ft.trun(e,n.length+16+20+8+16+8+8),n)}static trak(e){return e.duration=e.duration||4294967295,ft.box(ft.types.trak,ft.tkhd(e),ft.mdia(e))}static trex(e){const t=e.id;return ft.box(ft.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,s=new Uint8Array(i);let c,p,A,F,B,ye;for(t+=8+i,s.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),c=0;c<r;c++)p=n[c],A=p.duration,F=p.size,B=p.flags,ye=p.cts,s.set([A>>>24&255,A>>>16&255,A>>>8&255,A&255,F>>>24&255,F>>>16&255,F>>>8&255,F&255,B.isLeading<<2|B.dependsOn,B.isDependedOn<<6|B.hasRedundancy<<4|B.paddingValue<<1|B.isNonSync,B.degradPrio&61440,B.degradPrio&15,ye>>>24&255,ye>>>16&255,ye>>>8&255,ye&255],12+16*c);return ft.box(ft.types.trun,s)}static initSegment(e){ft.types||ft.init();const t=ft.moov(e);return Rt(ft.FTYP,t)}}ft.types=void 0,ft.HDLR_TYPES=void 0,ft.STTS=void 0,ft.STSC=void 0,ft.STCO=void 0,ft.STSZ=void 0,ft.VMHD=void 0,ft.SMHD=void 0,ft.STSD=void 0,ft.FTYP=void 0,ft.DINF=void 0;const Ln=9e4;function Hn(o,e,t=1,n=!1){const r=o*e*t;return n?Math.round(r):r}function Bn(o,e,t=1,n=!1){return Hn(o,e,1/t,n)}function Wn(o,e=!1){return Hn(o,1e3,1/Ln,e)}function yr(o,e=1){return Hn(o,Ln,1/e)}const br=10*1e3,fr=1024,kr=1152,Br=1536;let Zn=null,hr=null;class Yn{constructor(e,t,n,r=""){if(this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=e,this.config=t,this.typeSupported=n,this.ISGenerated=!1,Zn===null){const s=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Zn=s?parseInt(s[1]):0}if(hr===null){const i=navigator.userAgent.match(/Safari\/(\d+)/i);hr=i?parseInt(i[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(e){b.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=e}resetNextTimestamp(){b.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){b.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(e){let t=!1;const n=e[0].pts,r=e.reduce((i,s)=>{let c=s.pts,p=c-i;return p<-4294967296&&(t=!0,c=Un(c,n),p=c-i),p>0?i:c},n);return t&&b.debug("PTS rollover detected"),r}remux(e,t,n,r,i,s,c,p){let A,F,B,ye,Fe,Re,Ue=i,We=i;const ct=e.pid>-1,Vt=t.pid>-1,Wt=t.samples.length,xn=e.samples.length>0,Qt=c&&Wt>0||Wt>1;if((!ct||xn)&&(!Vt||Qt)||this.ISGenerated||c){if(this.ISGenerated){var bn,$n,Ar,kn;const oi=this.videoTrackConfig;oi&&(t.width!==oi.width||t.height!==oi.height||((bn=t.pixelRatio)==null?void 0:bn[0])!==(($n=oi.pixelRatio)==null?void 0:$n[0])||((Ar=t.pixelRatio)==null?void 0:Ar[1])!==((kn=oi.pixelRatio)==null?void 0:kn[1]))&&this.resetInitSegment()}else B=this.generateIS(e,t,i,s);const Qn=this.isVideoContiguous;let di=-1,Rr;if(Qt&&(di=cr(t.samples),!Qn&&this.config.forceKeyFrameOnDiscontinuity))if(Re=!0,di>0){b.warn(`[mp4-remuxer]: Dropped ${di} out of ${Wt} video samples due to a missing keyframe`);const oi=this.getVideoStartPts(t.samples);t.samples=t.samples.slice(di),t.dropped+=di,We+=(t.samples[0].pts-oi)/t.inputTimeScale,Rr=We}else di===-1&&(b.warn(`[mp4-remuxer]: No keyframe found out of ${Wt} video samples`),Re=!1);if(this.ISGenerated){if(xn&&Qt){const oi=this.getVideoStartPts(t.samples),Yr=(Un(e.samples[0].pts,oi)-oi)/t.inputTimeScale;Ue+=Math.max(0,Yr),We+=Math.max(0,-Yr)}if(xn){if(e.samplerate||(b.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),B=this.generateIS(e,t,i,s)),F=this.remuxAudio(e,Ue,this.isAudioContiguous,s,Vt||Qt||p===at.AUDIO?We:void 0),Qt){const oi=F?F.endPTS-F.startPTS:0;t.inputTimeScale||(b.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),B=this.generateIS(e,t,i,s)),A=this.remuxVideo(t,We,Qn,oi)}}else Qt&&(A=this.remuxVideo(t,We,Qn,0));A&&(A.firstKeyFrame=di,A.independent=di!==-1,A.firstKeyFramePTS=Rr)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(n.samples.length&&(Fe=Fr(n,i,this._initPTS,this._initDTS)),r.samples.length&&(ye=Zr(r,i,this._initPTS))),{audio:F,video:A,initSegment:B,independent:Re,text:ye,id3:Fe}}generateIS(e,t,n,r){const i=e.samples,s=t.samples,c=this.typeSupported,p={},A=this._initPTS;let F=!A||r,B="audio/mp4",ye,Fe,Re;if(F&&(ye=Fe=1/0),e.config&&i.length){switch(e.timescale=e.samplerate,e.segmentCodec){case"mp3":c.mpeg?(B="audio/mpeg",e.codec=""):c.mp3&&(e.codec="mp3");break;case"ac3":e.codec="ac-3";break}p.audio={id:"audio",container:B,codec:e.codec,initSegment:e.segmentCodec==="mp3"&&c.mpeg?new Uint8Array(0):ft.initSegment([e]),metadata:{channelCount:e.channelCount}},F&&(Re=e.inputTimeScale,!A||Re!==A.timescale?ye=Fe=i[0].pts-Math.round(Re*n):F=!1)}if(t.sps&&t.pps&&s.length){if(t.timescale=t.inputTimeScale,p.video={id:"main",container:"video/mp4",codec:t.codec,initSegment:ft.initSegment([t]),metadata:{width:t.width,height:t.height}},F)if(Re=t.inputTimeScale,!A||Re!==A.timescale){const Ue=this.getVideoStartPts(s),We=Math.round(Re*n);Fe=Math.min(Fe,Un(s[0].dts,Ue)-We),ye=Math.min(ye,Ue-We)}else F=!1;this.videoTrackConfig={width:t.width,height:t.height,pixelRatio:t.pixelRatio}}if(Object.keys(p).length)return this.ISGenerated=!0,F?(this._initPTS={baseTime:ye,timescale:Re},this._initDTS={baseTime:Fe,timescale:Re}):ye=Re=void 0,{tracks:p,initPTS:ye,timescale:Re}}remuxVideo(e,t,n,r){const i=e.inputTimeScale,s=e.samples,c=[],p=s.length,A=this._initPTS;let F=this.nextAvcDts,B=8,ye=this.videoSampleDuration,Fe,Re,Ue=Number.POSITIVE_INFINITY,We=Number.NEGATIVE_INFINITY,ct=!1;if(!n||F===null){const Or=t*i,Tr=s[0].pts-Un(s[0].dts,s[0].pts);Zn&&F!==null&&Math.abs(Or-Tr-F)<15e3?n=!0:F=Or-Tr}const Vt=A.baseTime*i/A.timescale;for(let Or=0;Or<p;Or++){const Tr=s[Or];Tr.pts=Un(Tr.pts-Vt,F),Tr.dts=Un(Tr.dts-Vt,F),Tr.dts<s[Or>0?Or-1:Or].dts&&(ct=!0)}ct&&s.sort(function(Or,Tr){const ji=Or.dts-Tr.dts,xi=Or.pts-Tr.pts;return ji||xi}),Fe=s[0].dts,Re=s[s.length-1].dts;const Wt=Re-Fe,xn=Wt?Math.round(Wt/(p-1)):ye||e.inputTimeScale/30;if(n){const Or=Fe-F,Tr=Or>xn,ji=Or<-1;if((Tr||ji)&&(Tr?b.warn(`AVC: ${Wn(Or,!0)} ms (${Or}dts) hole between fragments detected at ${t.toFixed(3)}`):b.warn(`AVC: ${Wn(-Or,!0)} ms (${Or}dts) overlapping between fragments detected at ${t.toFixed(3)}`),!ji||F>=s[0].pts||Zn)){Fe=F;const xi=s[0].pts-Or;if(Tr)s[0].dts=Fe,s[0].pts=xi;else for(let Gi=0;Gi<s.length&&!(s[Gi].dts>xi);Gi++)s[Gi].dts-=Or,s[Gi].pts-=Or;b.log(`Video: Initial PTS/DTS adjusted: ${Wn(xi,!0)}/${Wn(Fe,!0)}, delta: ${Wn(Or,!0)} ms`)}}Fe=Math.max(0,Fe);let Qt=0,Mn=0,bn=Fe;for(let Or=0;Or<p;Or++){const Tr=s[Or],ji=Tr.units,xi=ji.length;let Gi=0;for(let Ra=0;Ra<xi;Ra++)Gi+=ji[Ra].data.length;Mn+=Gi,Qt+=xi,Tr.length=Gi,Tr.dts<bn?(Tr.dts=bn,bn+=xn/4|0||1):bn=Tr.dts,Ue=Math.min(Tr.pts,Ue),We=Math.max(Tr.pts,We)}Re=s[p-1].dts;const $n=Mn+4*Qt+8;let Ar;try{Ar=new Uint8Array($n)}catch(Or){this.observer.emit(u.ERROR,u.ERROR,{type:x.MUX_ERROR,details:m.REMUX_ALLOC_ERROR,fatal:!1,error:Or,bytes:$n,reason:`fail allocating video mdat ${$n}`});return}const kn=new DataView(Ar.buffer);kn.setUint32(0,$n),Ar.set(ft.types.mdat,4);let Qn=!1,di=Number.POSITIVE_INFINITY,Rr=Number.POSITIVE_INFINITY,oi=Number.NEGATIVE_INFINITY,ri=Number.NEGATIVE_INFINITY;for(let Or=0;Or<p;Or++){const Tr=s[Or],ji=Tr.units;let xi=0;for(let Ua=0,za=ji.length;Ua<za;Ua++){const is=ji[Ua],No=is.data,sl=is.data.byteLength;kn.setUint32(B,sl),B+=4,Ar.set(No,B),B+=sl,xi+=4+sl}let Gi;if(Or<p-1)ye=s[Or+1].dts-Tr.dts,Gi=s[Or+1].pts-Tr.pts;else{const Ua=this.config,za=Or>0?Tr.dts-s[Or-1].dts:xn;if(Gi=Or>0?Tr.pts-s[Or-1].pts:xn,Ua.stretchShortVideoTrack&&this.nextAudioPts!==null){const is=Math.floor(Ua.maxBufferHole*i),No=(r?Ue+r*i:this.nextAudioPts)-Tr.pts;No>is?(ye=No-za,ye<0?ye=za:Qn=!0,b.log(`[mp4-remuxer]: It is approximately ${No/90} ms to the next segment; using duration ${ye/90} ms for the last video frame.`)):ye=za}else ye=za}const Ra=Math.round(Tr.pts-Tr.dts);di=Math.min(di,ye),oi=Math.max(oi,ye),Rr=Math.min(Rr,Gi),ri=Math.max(ri,Gi),c.push(new re(Tr.key,ye,xi,Ra))}if(c.length){if(Zn){if(Zn<70){const Or=c[0].flags;Or.dependsOn=2,Or.isNonSync=0}}else if(hr&&ri-Rr<oi-di&&xn/oi<.025&&c[0].cts===0){b.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let Or=Fe;for(let Tr=0,ji=c.length;Tr<ji;Tr++){const xi=Or+c[Tr].duration,Gi=Or+c[Tr].cts;if(Tr<ji-1){const Ra=xi+c[Tr+1].cts;c[Tr].duration=Ra-Gi}else c[Tr].duration=Tr?c[Tr-1].duration:xn;c[Tr].cts=0,Or=xi}}}ye=Qn||!ye?xn:ye,this.nextAvcDts=F=Re+ye,this.videoSampleDuration=ye,this.isVideoContiguous=!0;const Yi={data1:ft.moof(e.sequenceNumber++,Fe,a({},e,{samples:c})),data2:Ar,startPTS:Ue/i,endPTS:(We+ye)/i,startDTS:Fe/i,endDTS:F/i,type:"video",hasAudio:!1,hasVideo:!0,nb:c.length,dropped:e.dropped};return e.samples=[],e.dropped=0,Yi}getSamplesPerFrame(e){switch(e.segmentCodec){case"mp3":return kr;case"ac3":return Br;default:return fr}}remuxAudio(e,t,n,r,i){const s=e.inputTimeScale,c=e.samplerate?e.samplerate:s,p=s/c,A=this.getSamplesPerFrame(e),F=A*p,B=this._initPTS,ye=e.segmentCodec==="mp3"&&this.typeSupported.mpeg,Fe=[],Re=i!==void 0;let Ue=e.samples,We=ye?0:8,ct=this.nextAudioPts||-1;const Vt=t*s,Wt=B.baseTime*s/B.timescale;if(this.isAudioContiguous=n=n||Ue.length&&ct>0&&(r&&Math.abs(Vt-ct)<9e3||Math.abs(Un(Ue[0].pts-Wt,Vt)-ct)<20*F),Ue.forEach(function(Yr){Yr.pts=Un(Yr.pts-Wt,Vt)}),!n||ct<0){if(Ue=Ue.filter(Yr=>Yr.pts>=0),!Ue.length)return;i===0?ct=0:r&&!Re?ct=Math.max(0,Vt):ct=Ue[0].pts}if(e.segmentCodec==="aac"){const Yr=this.config.maxAudioFramesDrift;for(let Mi=0,Yi=ct;Mi<Ue.length;Mi++){const Or=Ue[Mi],Tr=Or.pts,ji=Tr-Yi,xi=Math.abs(1e3*ji/s);if(ji<=-Yr*F&&Re)Mi===0&&(b.warn(`Audio frame @ ${(Tr/s).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*ji/s)} ms.`),this.nextAudioPts=ct=Yi=Tr);else if(ji>=Yr*F&&xi<br&&Re){let Gi=Math.round(ji/F);Yi=Tr-Gi*F,Yi<0&&(Gi--,Yi+=F),Mi===0&&(this.nextAudioPts=ct=Yi),b.warn(`[mp4-remuxer]: Injecting ${Gi} audio frame @ ${(Yi/s).toFixed(3)}s due to ${Math.round(1e3*ji/s)} ms gap.`);for(let Ra=0;Ra<Gi;Ra++){const Ua=Math.max(Yi,0);let za=fn.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);za||(b.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),za=Or.unit.subarray()),Ue.splice(Mi,0,{unit:za,pts:Ua}),Yi+=F,Mi++}}Or.pts=Yi,Yi+=F}}let xn=null,Qt=null,Mn,bn=0,$n=Ue.length;for(;$n--;)bn+=Ue[$n].unit.byteLength;for(let Yr=0,Mi=Ue.length;Yr<Mi;Yr++){const Yi=Ue[Yr],Or=Yi.unit;let Tr=Yi.pts;if(Qt!==null){const xi=Fe[Yr-1];xi.duration=Math.round((Tr-Qt)/p)}else if(n&&e.segmentCodec==="aac"&&(Tr=ct),xn=Tr,bn>0){bn+=We;try{Mn=new Uint8Array(bn)}catch(xi){this.observer.emit(u.ERROR,u.ERROR,{type:x.MUX_ERROR,details:m.REMUX_ALLOC_ERROR,fatal:!1,error:xi,bytes:bn,reason:`fail allocating audio mdat ${bn}`});return}ye||(new DataView(Mn.buffer).setUint32(0,bn),Mn.set(ft.types.mdat,4))}else return;Mn.set(Or,We);const ji=Or.byteLength;We+=ji,Fe.push(new re(!0,A,ji,0)),Qt=Tr}const Ar=Fe.length;if(!Ar)return;const kn=Fe[Fe.length-1];this.nextAudioPts=ct=Qt+p*kn.duration;const Qn=ye?new Uint8Array(0):ft.moof(e.sequenceNumber++,xn/p,a({},e,{samples:Fe}));e.samples=[];const di=xn/s,Rr=ct/s,ri={data1:Qn,data2:Mn,startPTS:di,endPTS:Rr,startDTS:di,endDTS:Rr,type:"audio",hasAudio:!0,hasVideo:!1,nb:Ar};return this.isAudioContiguous=!0,ri}remuxEmptyAudio(e,t,n,r){const i=e.inputTimeScale,s=e.samplerate?e.samplerate:i,c=i/s,p=this.nextAudioPts,A=this._initDTS,F=A.baseTime*9e4/A.timescale,B=(p!==null?p:r.startDTS*i)+F,ye=r.endDTS*i+F,Fe=c*fr,Re=Math.ceil((ye-B)/Fe),Ue=fn.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);if(b.warn("[mp4-remuxer]: remux empty Audio"),!Ue){b.trace("[mp4-remuxer]: Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec");return}const We=[];for(let ct=0;ct<Re;ct++){const Vt=B+ct*Fe;We.push({unit:Ue,pts:Vt,dts:Vt})}return e.samples=We,this.remuxAudio(e,t,n,!1)}}function Un(o,e){let t;if(e===null)return o;for(e<o?t=-8589934592:t=8589934592;Math.abs(o-e)>4294967296;)o+=t;return o}function cr(o){for(let e=0;e<o.length;e++)if(o[e].key)return e;return-1}function Fr(o,e,t,n){const r=o.samples.length;if(!r)return;const i=o.inputTimeScale;for(let c=0;c<r;c++){const p=o.samples[c];p.pts=Un(p.pts-t.baseTime*i/t.timescale,e*i)/i,p.dts=Un(p.dts-n.baseTime*i/n.timescale,e*i)/i}const s=o.samples;return o.samples=[],{samples:s}}function Zr(o,e,t){const n=o.samples.length;if(!n)return;const r=o.inputTimeScale;for(let s=0;s<n;s++){const c=o.samples[s];c.pts=Un(c.pts-t.baseTime*r/t.timescale,e*r)/r}o.samples.sort((s,c)=>s.pts-c.pts);const i=o.samples;return o.samples=[],{samples:i}}class re{constructor(e,t,n,r){this.size=void 0,this.duration=void 0,this.cts=void 0,this.flags=void 0,this.duration=t,this.size=n,this.cts=r,this.flags={isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:e?2:1,isNonSync:e?0:1}}}class l{constructor(){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}destroy(){}resetTimeStamp(e){this.initPTS=e,this.lastEndTime=null}resetNextTimestamp(){this.lastEndTime=null}resetInitSegment(e,t,n,r){this.audioCodec=t,this.videoCodec=n,this.generateInitSegment(ve(e,r)),this.emitInitSegment=!0}generateInitSegment(e){let{audioCodec:t,videoCodec:n}=this;if(!(e!=null&&e.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const r=this.initData=Je(e);r.audio&&(t=h(r.audio,te.AUDIO)),r.video&&(n=h(r.video,te.VIDEO));const i={};r.audio&&r.video?i.audiovideo={container:"video/mp4",codec:t+","+n,initSegment:e,id:"main"}:r.audio?i.audio={container:"audio/mp4",codec:t,initSegment:e,id:"audio"}:r.video?i.video={container:"video/mp4",codec:n,initSegment:e,id:"main"}:b.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=i}remux(e,t,n,r,i,s){var c,p;let{initPTS:A,lastEndTime:F}=this;const B={audio:void 0,video:void 0,text:r,id3:n,initSegment:void 0};I(F)||(F=this.lastEndTime=i||0);const ye=t.samples;if(!(ye!=null&&ye.length))return B;const Fe={initPTS:void 0,timescale:1};let Re=this.initData;if((c=Re)!=null&&c.length||(this.generateInitSegment(ye),Re=this.initData),!((p=Re)!=null&&p.length))return b.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),B;this.emitInitSegment&&(Fe.tracks=this.initTracks,this.emitInitSegment=!1);const Ue=mn(ye,Re),We=Ge(Re,ye),ct=We===null?i:We;(d(A,ct,i,Ue)||Fe.timescale!==A.timescale&&s)&&(Fe.initPTS=ct-i,A&&A.timescale===1&&b.warn(`Adjusting initPTS by ${Fe.initPTS-A.baseTime}`),this.initPTS=A={baseTime:Fe.initPTS,timescale:1});const Vt=e?ct-A.baseTime/A.timescale:F,Wt=Vt+Ue;jt(Re,ye,A.baseTime/A.timescale),Ue>0?this.lastEndTime=Wt:(b.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const xn=!!Re.audio,Qt=!!Re.video;let Mn="";xn&&(Mn+="audio"),Qt&&(Mn+="video");const bn={data1:ye,startPTS:Vt,startDTS:Vt,endPTS:Wt,endDTS:Wt,type:Mn,hasAudio:xn,hasVideo:Qt,nb:1,dropped:0};return B.audio=bn.type==="audio"?bn:void 0,B.video=bn.type!=="audio"?bn:void 0,B.initSegment=Fe,B.id3=Fr(n,i,A,A),r.samples.length&&(B.text=Zr(r,i,A)),B}}function d(o,e,t,n){if(o===null)return!0;const r=Math.max(n,1),i=e-o.baseTime/o.timescale;return Math.abs(i-t)>r}function h(o,e){const t=o==null?void 0:o.codec;if(t&&t.length>4)return t;if(e===te.AUDIO){if(t==="ec-3"||t==="ac-3"||t==="alac")return t;if(t==="fLaC"||t==="Opus")return En(t,!1);const n="mp4a.40.5";return b.info(`Parsed audio codec "${t}" or audio object type not handled. Using "${n}"`),n}return b.warn(`Unhandled video codec "${t}"`),t==="hvc1"||t==="hev1"?"hvc1.1.6.L120.90":t==="av01"?"av01.0.04M.08":"avc1.42e01e"}let g;try{g=self.performance.now.bind(self.performance)}catch(o){b.debug("Unable to use Performance API on this environment"),g=Oe==null?void 0:Oe.Date.now}const N=[{demux:_o,remux:l},{demux:st,remux:Yn},{demux:no,remux:Yn},{demux:vn,remux:Yn}];N.splice(2,0,{demux:Gs,remux:Yn});class le{constructor(e,t,n,r,i){this.async=!1,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.vendor=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.vendor=r,this.id=i}configure(e){this.transmuxConfig=e,this.decrypter&&this.decrypter.reset()}push(e,t,n,r){const i=n.transmuxing;i.executeStart=g();let s=new Uint8Array(e);const{currentTransmuxState:c,transmuxConfig:p}=this;r&&(this.currentTransmuxState=r);const{contiguous:A,discontinuity:F,trackSwitch:B,accurateTimeOffset:ye,timeOffset:Fe,initSegmentChange:Re}=r||c,{audioCodec:Ue,videoCodec:We,defaultInitPts:ct,duration:Vt,initSegmentData:Wt}=p,xn=Pe(s,t);if(xn&&xn.method==="AES-128"){const $n=this.getDecrypter();if($n.isSync()){let Ar=$n.softwareDecrypt(s,xn.key.buffer,xn.iv.buffer);if(n.part>-1&&(Ar=$n.flush()),!Ar)return i.executeEnd=g(),Me(n);s=new Uint8Array(Ar)}else return this.decryptionPromise=$n.webCryptoDecrypt(s,xn.key.buffer,xn.iv.buffer).then(Ar=>{const kn=this.push(Ar,null,n);return this.decryptionPromise=null,kn}),this.decryptionPromise}const Qt=this.needsProbing(F,B);if(Qt){const $n=this.configureTransmuxer(s);if($n)return b.warn(`[transmuxer] ${$n.message}`),this.observer.emit(u.ERROR,u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,fatal:!1,error:$n,reason:$n.message}),i.executeEnd=g(),Me(n)}(F||B||Re||Qt)&&this.resetInitSegment(Wt,Ue,We,Vt,t),(F||Re||Qt)&&this.resetInitialTimestamp(ct),A||this.resetContiguity();const Mn=this.transmux(s,xn,Fe,ye,n),bn=this.currentTransmuxState;return bn.contiguous=!0,bn.discontinuity=!1,bn.trackSwitch=!1,i.executeEnd=g(),Mn}flush(e){const t=e.transmuxing;t.executeStart=g();const{decrypter:n,currentTransmuxState:r,decryptionPromise:i}=this;if(i)return i.then(()=>this.flush(e));const s=[],{timeOffset:c}=r;if(n){const B=n.flush();B&&s.push(this.push(B,null,e))}const{demuxer:p,remuxer:A}=this;if(!p||!A)return t.executeEnd=g(),[Me(e)];const F=p.flush(c);return Xe(F)?F.then(B=>(this.flushRemux(s,B,e),s)):(this.flushRemux(s,F,e),s)}flushRemux(e,t,n){const{audioTrack:r,videoTrack:i,id3Track:s,textTrack:c}=t,{accurateTimeOffset:p,timeOffset:A}=this.currentTransmuxState;b.log(`[transmuxer.ts]: Flushed fragment ${n.sn}${n.part>-1?" p: "+n.part:""} of level ${n.level}`);const F=this.remuxer.remux(r,i,s,c,A,p,!0,this.id);e.push({remuxResult:F,chunkMeta:n}),n.transmuxing.executeEnd=g()}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:s,remuxer:c}=this;!s||!c||(s.resetInitSegment(e,t,n,r),c.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 s;return t&&t.method==="SAMPLE-AES"?s=this.transmuxSampleAes(e,t,n,r,i):s=this.transmuxUnencrypted(e,n,r,i),s}transmuxUnencrypted(e,t,n,r){const{audioTrack:i,videoTrack:s,id3Track:c,textTrack:p}=this.demuxer.demux(e,t,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(i,s,c,p,t,n,!1,this.id),chunkMeta:r}}transmuxSampleAes(e,t,n,r,i){return this.demuxer.demuxSampleAes(e,t,n).then(s=>({remuxResult:this.remuxer.remux(s.audioTrack,s.videoTrack,s.id3Track,s.textTrack,n,r,!1,this.id),chunkMeta:i}))}configureTransmuxer(e){const{config:t,observer:n,typeSupported:r,vendor:i}=this;let s;for(let ye=0,Fe=N.length;ye<Fe;ye++){var c;if((c=N[ye].demux)!=null&&c.probe(e)){s=N[ye];break}}if(!s)return new Error("Failed to find demuxer by probing fragment data");const p=this.demuxer,A=this.remuxer,F=s.remux,B=s.demux;(!A||!(A instanceof F))&&(this.remuxer=new F(n,t,r,i)),(!p||!(p instanceof B))&&(this.demuxer=new B(n,t,r),this.probe=B.probe)}needsProbing(e,t){return!this.demuxer||!this.remuxer||e||t}getDecrypter(){let e=this.decrypter;return e||(e=this.decrypter=new ps(this.config)),e}}function Pe(o,e){let t=null;return o.byteLength>0&&(e==null?void 0:e.key)!=null&&e.iv!==null&&e.method!=null&&(t=e),t}const Me=o=>({remuxResult:{},chunkMeta:o});function Xe(o){return"then"in o&&o.then instanceof Function}class gt{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 Tt{constructor(e,t,n,r,i,s){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=s}}var $t={exports:{}};(function(o){var e=Object.prototype.hasOwnProperty,t="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(t=!1));function r(p,A,F){this.fn=p,this.context=A,this.once=F||!1}function i(p,A,F,B,ye){if(typeof F!="function")throw new TypeError("The listener must be a function");var Fe=new r(F,B||p,ye),Re=t?t+A:A;return p._events[Re]?p._events[Re].fn?p._events[Re]=[p._events[Re],Fe]:p._events[Re].push(Fe):(p._events[Re]=Fe,p._eventsCount++),p}function s(p,A){--p._eventsCount===0?p._events=new n:delete p._events[A]}function c(){this._events=new n,this._eventsCount=0}c.prototype.eventNames=function(){var A=[],F,B;if(this._eventsCount===0)return A;for(B in F=this._events)e.call(F,B)&&A.push(t?B.slice(1):B);return Object.getOwnPropertySymbols?A.concat(Object.getOwnPropertySymbols(F)):A},c.prototype.listeners=function(A){var F=t?t+A:A,B=this._events[F];if(!B)return[];if(B.fn)return[B.fn];for(var ye=0,Fe=B.length,Re=new Array(Fe);ye<Fe;ye++)Re[ye]=B[ye].fn;return Re},c.prototype.listenerCount=function(A){var F=t?t+A:A,B=this._events[F];return B?B.fn?1:B.length:0},c.prototype.emit=function(A,F,B,ye,Fe,Re){var Ue=t?t+A:A;if(!this._events[Ue])return!1;var We=this._events[Ue],ct=arguments.length,Vt,Wt;if(We.fn){switch(We.once&&this.removeListener(A,We.fn,void 0,!0),ct){case 1:return We.fn.call(We.context),!0;case 2:return We.fn.call(We.context,F),!0;case 3:return We.fn.call(We.context,F,B),!0;case 4:return We.fn.call(We.context,F,B,ye),!0;case 5:return We.fn.call(We.context,F,B,ye,Fe),!0;case 6:return We.fn.call(We.context,F,B,ye,Fe,Re),!0}for(Wt=1,Vt=new Array(ct-1);Wt<ct;Wt++)Vt[Wt-1]=arguments[Wt];We.fn.apply(We.context,Vt)}else{var xn=We.length,Qt;for(Wt=0;Wt<xn;Wt++)switch(We[Wt].once&&this.removeListener(A,We[Wt].fn,void 0,!0),ct){case 1:We[Wt].fn.call(We[Wt].context);break;case 2:We[Wt].fn.call(We[Wt].context,F);break;case 3:We[Wt].fn.call(We[Wt].context,F,B);break;case 4:We[Wt].fn.call(We[Wt].context,F,B,ye);break;default:if(!Vt)for(Qt=1,Vt=new Array(ct-1);Qt<ct;Qt++)Vt[Qt-1]=arguments[Qt];We[Wt].fn.apply(We[Wt].context,Vt)}}return!0},c.prototype.on=function(A,F,B){return i(this,A,F,B,!1)},c.prototype.once=function(A,F,B){return i(this,A,F,B,!0)},c.prototype.removeListener=function(A,F,B,ye){var Fe=t?t+A:A;if(!this._events[Fe])return this;if(!F)return s(this,Fe),this;var Re=this._events[Fe];if(Re.fn)Re.fn===F&&(!ye||Re.once)&&(!B||Re.context===B)&&s(this,Fe);else{for(var Ue=0,We=[],ct=Re.length;Ue<ct;Ue++)(Re[Ue].fn!==F||ye&&!Re[Ue].once||B&&Re[Ue].context!==B)&&We.push(Re[Ue]);We.length?this._events[Fe]=We.length===1?We[0]:We:s(this,Fe)}return this},c.prototype.removeAllListeners=function(A){var F;return A?(F=t?t+A:A,this._events[F]&&s(this,F)):(this._events=new n,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=t,c.EventEmitter=c,o.exports=c})($t);var Sn=$t.exports,qt=y(Sn);class on{constructor(e,t,n,r){this.error=null,this.hls=void 0,this.id=void 0,this.observer=void 0,this.frag=null,this.part=null,this.useWorker=void 0,this.workerContext=null,this.onwmsg=void 0,this.transmuxer=null,this.onTransmuxComplete=void 0,this.onFlush=void 0;const i=e.config;this.hls=e,this.id=t,this.useWorker=!!i.enableWorker,this.onTransmuxComplete=n,this.onFlush=r;const s=(A,F)=>{F=F||{},F.frag=this.frag,F.id=this.id,A===u.ERROR&&(this.error=F.error),this.hls.trigger(A,F)};this.observer=new qt,this.observer.on(u.FRAG_DECRYPTED,s),this.observer.on(u.ERROR,s);const c=wn(i.preferManagedMediaSource)||{isTypeSupported:()=>!1},p={mpeg:c.isTypeSupported("audio/mpeg"),mp3:c.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:c.isTypeSupported('audio/mp4; codecs="ac-3"')};if(this.useWorker&&typeof Worker!="undefined"&&(i.workerPath||Qs())){try{i.workerPath?(b.log(`loading Web Worker ${i.workerPath} for "${t}"`),this.workerContext=Js(i.workerPath)):(b.log(`injecting Web Worker for "${t}"`),this.workerContext=Ks()),this.onwmsg=B=>this.onWorkerMessage(B);const{worker:F}=this.workerContext;F.addEventListener("message",this.onwmsg),F.onerror=B=>{const ye=new Error(`${B.message} (${B.filename}:${B.lineno})`);i.enableWorker=!1,b.warn(`Error in "${t}" Web Worker, fallback to inline`),this.hls.trigger(u.ERROR,{type:x.OTHER_ERROR,details:m.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:ye})},F.postMessage({cmd:"init",typeSupported:p,vendor:"",id:t,config:JSON.stringify(i)})}catch(F){b.warn(`Error setting up "${t}" Web Worker, fallback to inline`,F),this.resetWorker(),this.error=null,this.transmuxer=new le(this.observer,p,i,"",t)}return}this.transmuxer=new le(this.observer,p,i,"",t)}resetWorker(){if(this.workerContext){const{worker:e,objectURL:t}=this.workerContext;t&&self.URL.revokeObjectURL(t),e.removeEventListener("message",this.onwmsg),e.onerror=null,e.terminate(),this.workerContext=null}}destroy(){if(this.workerContext)this.resetWorker(),this.onwmsg=void 0;else{const t=this.transmuxer;t&&(t.destroy(),this.transmuxer=null)}const e=this.observer;e&&e.removeAllListeners(),this.frag=null,this.observer=null,this.hls=null}push(e,t,n,r,i,s,c,p,A,F){var B,ye;A.transmuxing.start=self.performance.now();const{transmuxer:Fe}=this,Re=s?s.start:i.start,Ue=i.decryptdata,We=this.frag,ct=!(We&&i.cc===We.cc),Vt=!(We&&A.level===We.level),Wt=We?A.sn-We.sn:-1,xn=this.part?A.part-this.part.index:-1,Qt=Wt===0&&A.id>1&&A.id===(We==null?void 0:We.stats.chunkCount),Mn=!Vt&&(Wt===1||Wt===0&&(xn===1||Qt&&xn<=0)),bn=self.performance.now();(Vt||Wt||i.stats.parsing.start===0)&&(i.stats.parsing.start=bn),s&&(xn||!Mn)&&(s.stats.parsing.start=bn);const $n=!(We&&((B=i.initSegment)==null?void 0:B.url)===((ye=We.initSegment)==null?void 0:ye.url)),Ar=new Tt(ct,Mn,p,Vt,Re,$n);if(!Mn||ct||$n){b.log(`[transmuxer-interface, ${i.type}]: Starting new transmux session for sn: ${A.sn} p: ${A.part} level: ${A.level} id: ${A.id}
discontinuity: ${ct}
trackSwitch: ${Vt}
contiguous: ${Mn}
accurateTimeOffset: ${p}
timeOffset: ${Re}
initSegmentChange: ${$n}`);const kn=new gt(n,r,t,c,F);this.configureTransmuxer(kn)}if(this.frag=i,this.part=s,this.workerContext)this.workerContext.worker.postMessage({cmd:"demux",data:e,decryptdata:Ue,chunkMeta:A,state:Ar},e instanceof ArrayBuffer?[e]:[]);else if(Fe){const kn=Fe.push(e,Ue,A,Ar);Xe(kn)?(Fe.async=!0,kn.then(Qn=>{this.handleTransmuxComplete(Qn)}).catch(Qn=>{this.transmuxerError(Qn,A,"transmuxer-interface push error")})):(Fe.async=!1,this.handleTransmuxComplete(kn))}}flush(e){e.transmuxing.start=self.performance.now();const{transmuxer:t}=this;if(this.workerContext)this.workerContext.worker.postMessage({cmd:"flush",chunkMeta:e});else if(t){let n=t.flush(e);Xe(n)||t.async?(Xe(n)||(n=Promise.resolve(n)),n.then(i=>{this.handleFlushResult(i,e)}).catch(i=>{this.transmuxerError(i,e,"transmuxer-interface flush error")})):this.handleFlushResult(n,e)}}transmuxerError(e,t,n){this.hls&&(this.error=e,this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_PARSING_ERROR,chunkMeta:t,frag:this.frag||void 0,fatal:!1,error:e,err:e,reason:n}))}handleFlushResult(e,t){e.forEach(n=>{this.handleTransmuxComplete(n)}),this.onFlush(t)}onWorkerMessage(e){const t=e.data;if(!(t!=null&&t.event)){b.warn(`worker message received with no ${t?"event name":"data"}`);return}const n=this.hls;if(this.hls)switch(t.event){case"init":{var r;const i=(r=this.workerContext)==null?void 0:r.objectURL;i&&self.URL.revokeObjectURL(i);break}case"transmuxComplete":{this.handleTransmuxComplete(t.data);break}case"flush":{this.onFlush(t.data);break}case"workerLog":b[t.data.logType]&&b[t.data.logType](t.data.message);break;default:{t.data=t.data||{},t.data.frag=this.frag,t.data.id=this.id,n.trigger(t.event,t.data);break}}}configureTransmuxer(e){const{transmuxer:t}=this;this.workerContext?this.workerContext.worker.postMessage({cmd:"configure",config:e}):t&&t.configure(e)}handleTransmuxComplete(e){e.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(e)}}const yn=100;class Tn extends Ts{constructor(e,t,n){super(e,t,n,"[audio-stream-controller]",at.AUDIO),this.videoBuffer=null,this.videoTrackCC=-1,this.waitingVideoCC=-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.mainDetails=null,this.bufferedTrack=null,this.switchingTrack=null}_registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.LEVEL_LOADED,this.onLevelLoaded,this),e.on(u.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.on(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(u.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(u.ERROR,this.onError,this),e.on(u.BUFFER_RESET,this.onBufferReset,this),e.on(u.BUFFER_CREATED,this.onBufferCreated,this),e.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(u.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(u.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.LEVEL_LOADED,this.onLevelLoaded,this),e.off(u.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),e.off(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(u.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(u.ERROR,this.onError,this),e.off(u.BUFFER_RESET,this.onBufferReset,this),e.off(u.BUFFER_CREATED,this.onBufferCreated,this),e.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(u.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(u.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this)}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i}){if(n==="main"){const s=t.cc;this.initPTS[t.cc]={baseTime:r,timescale:i},this.log(`InitPTS for cc: ${s} found from main: ${r}`),this.videoTrackCC=s,this.state===Rn.WAITING_INIT_PTS&&this.tick()}}startLoad(e){if(!this.levels){this.startPosition=e,this.state=Rn.STOPPED;return}const t=this.lastCurrentTime;this.stopLoad(),this.setInterval(yn),t>0&&e===-1?(this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`),e=t,this.state=Rn.IDLE):(this.loadedmetadata=!1,this.state=Rn.WAITING_TRACK),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}doTick(){switch(this.state){case Rn.IDLE:this.doTickIdle();break;case Rn.WAITING_TRACK:{var e;const{levels:n,trackId:r}=this,i=n==null||(e=n[r])==null?void 0:e.details;if(i){if(this.waitForCdnTuneIn(i))break;this.state=Rn.WAITING_INIT_PTS}break}case Rn.FRAG_LOADING_WAITING_RETRY:{var t;const n=performance.now(),r=this.retryDate;if(!r||n>=r||(t=this.media)!=null&&t.seeking){const{levels:i,trackId:s}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((i==null?void 0:i[s])||null),this.state=Rn.IDLE}break}case Rn.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:r,part:i,cache:s,complete:c}=n;if(this.initPTS[r.cc]!==void 0){this.waitingData=null,this.waitingVideoCC=-1,this.state=Rn.FRAG_LOADING;const p=s.flush(),A={frag:r,part:i,payload:p,networkDetails:null};this._handleFragmentLoadProgress(A),c&&super._handleFragmentLoadComplete(A)}else if(this.videoTrackCC!==this.waitingVideoCC)this.log(`Waiting fragment cc (${r.cc}) cancelled because video is at cc ${this.videoTrackCC}`),this.clearWaitingFragment();else{const p=this.getLoadPosition(),A=wi.bufferInfo(this.mediaBuffer,p,this.config.maxBufferHole);da(A.end,this.config.maxFragLookUpTolerance,r)<0&&(this.log(`Waiting fragment cc (${r.cc}) @ ${r.start} cancelled because another fragment at ${A.end} is needed`),this.clearWaitingFragment())}}else this.state=Rn.IDLE}}this.onTickEnd()}clearWaitingFragment(){const e=this.waitingData;e&&(this.fragmentTracker.removeFragment(e.frag),this.waitingData=null,this.waitingVideoCC=-1,this.state=Rn.IDLE)}resetLoadingState(){this.clearWaitingFragment(),super.resetLoadingState()}onTickEnd(){const{media:e}=this;e!=null&&e.readyState&&(this.lastCurrentTime=e.currentTime)}doTickIdle(){const{hls:e,levels:t,media:n,trackId:r}=this,i=e.config;if(!this.buffering||!n&&(this.startFragRequested||!i.startFragPrefetch)||!(t!=null&&t[r]))return;const s=t[r],c=s.details;if(!c||c.live&&this.levelLastLoaded!==s||this.waitForCdnTuneIn(c)){this.state=Rn.WAITING_TRACK;return}const p=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&p&&(this.bufferFlushed=!1,this.afterBufferFlushed(p,te.AUDIO,at.AUDIO));const A=this.getFwdBufferInfo(p,at.AUDIO);if(A===null)return;if(!this.switchingTrack&&this._streamEnded(A,c)){e.trigger(u.BUFFER_EOS,{type:"audio"}),this.state=Rn.ENDED;return}const F=this.getFwdBufferInfo(this.videoBuffer?this.videoBuffer:this.media,at.MAIN),B=A.len,ye=this.getMaxBufferLength(F==null?void 0:F.len),Fe=c.fragments,Re=Fe[0].start,Ue=this.getLoadPosition(),We=this.flushing?Ue:A.end;if(this.switchingTrack&&n){const xn=Ue;c.PTSKnown&&xn<Re&&(A.end>Re||A.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),n.currentTime=Re+.05)}if(B>=ye&&!this.switchingTrack&&We<Fe[Fe.length-1].start)return;let ct=this.getNextFragment(We,c),Vt=!1;if(ct&&this.isLoopLoading(ct,We)&&(Vt=!!ct.gap,ct=this.getNextFragmentLoopLoading(ct,c,A,at.MAIN,ye)),!ct){this.bufferFlushed=!0;return}const Wt=F&&ct.start>F.end+c.targetduration;if(Wt||!(F!=null&&F.len)&&A.len){const xn=this.getAppendedFrag(ct.start,at.MAIN);if(xn===null||(Vt||(Vt=!!xn.gap||!!Wt&&F.len===0),Wt&&!Vt||Vt&&A.nextStart&&A.nextStart<xn.end))return}this.loadFragment(ct,s,We)}getMaxBufferLength(e){const t=super.getMaxBufferLength();return e?Math.min(Math.max(t,e),this.config.maxMaxBufferLength):t}onMediaDetaching(){this.videoBuffer=null,this.bufferFlushed=this.flushing=!1,super.onMediaDetaching()}onAudioTracksUpdated(e,{audioTracks:t}){this.resetTransmuxer(),this.levels=t.map(n=>new Ri(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.setInterval(yn):this.resetTransmuxer(),n?(this.switchingTrack=t,this.state=Rn.IDLE,this.flushAudioIfNeeded(t)):(this.switchingTrack=null,this.bufferedTrack=t,this.state=Rn.STOPPED),this.tick()}onManifestLoading(){this.fragmentTracker.removeAllFragments(),this.startPosition=this.lastCurrentTime=0,this.bufferFlushed=this.flushing=!1,this.levels=this.mainDetails=this.waitingData=this.bufferedTrack=this.cachedTrackLoadedData=this.switchingTrack=null,this.startFragRequested=!1,this.trackId=this.videoTrackCC=this.waitingVideoCC=-1}onLevelLoaded(e,t){this.mainDetails=t.details,this.cachedTrackLoadedData!==null&&(this.hls.trigger(u.AUDIO_TRACK_LOADED,this.cachedTrackLoadedData),this.cachedTrackLoadedData=null)}onAudioTrackLoaded(e,t){var n;if(this.mainDetails==null){this.cachedTrackLoadedData=t;return}const{levels:r}=this,{details:i,id:s}=t;if(!r){this.warn(`Audio tracks were reset while loading level ${s}`);return}this.log(`Audio track ${s} loaded [${i.startSN},${i.endSN}]${i.lastPartSn?`[part-${i.lastPartSn}-${i.lastPartIndex}]`:""},duration:${i.totalduration}`);const c=r[s];let p=0;if(i.live||(n=c.details)!=null&&n.live){this.checkLiveUpdate(i);const F=this.mainDetails;if(i.deltaUpdateFailed||!F)return;if(!c.details&&i.hasProgramDateTime&&F.hasProgramDateTime)Oa(i,F),p=i.fragments[0].start;else{var A;p=this.alignPlaylists(i,c.details,(A=this.levelLastLoaded)==null?void 0:A.details)}}c.details=i,this.levelLastLoaded=c,!this.startFragRequested&&(this.mainDetails||!i.live)&&this.setStartPosition(this.mainDetails||i,p),this.state===Rn.WAITING_TRACK&&!this.waitForCdnTuneIn(i)&&(this.state=Rn.IDLE),this.tick()}_handleFragmentLoadProgress(e){var t;const{frag:n,part:r,payload:i}=e,{config:s,trackId:c,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 A=p[c];if(!A){this.warn("Audio track is undefined on fragment load progress");return}const F=A.details;if(!F){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(n.start);return}const B=s.defaultAudioCodec||A.audioCodec||"mp4a.40.2";let ye=this.transmuxer;ye||(ye=this.transmuxer=new on(this.hls,at.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Fe=this.initPTS[n.cc],Re=(t=n.initSegment)==null?void 0:t.data;if(Fe!==void 0){const We=r?r.index:-1,ct=We!==-1,Vt=new vs(n.level,n.sn,n.stats.chunkCount,i.byteLength,We,ct);ye.push(i,Re,B,"",n,r,F.totalduration,!1,Vt,Fe)}else{this.log(`Unknown video PTS for cc ${n.cc}, waiting for video PTS before demuxing audio frag ${n.sn} of [${F.startSN} ,${F.endSN}],track ${c}`);const{cache:Ue}=this.waitingData=this.waitingData||{frag:n,part:r,cache:new Ms,complete:!1};Ue.push(new Uint8Array(i)),this.waitingVideoCC=this.videoTrackCC,this.state=Rn.WAITING_INIT_PTS}}_handleFragmentLoadComplete(e){if(this.waitingData){this.waitingData.complete=!0;return}super._handleFragmentLoadComplete(e)}onBufferReset(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1}onBufferCreated(e,t){const n=t.tracks.audio;n&&(this.mediaBuffer=n.buffer||null),t.tracks.video&&(this.videoBuffer=t.tracks.video.buffer||null)}onFragBuffered(e,t){const{frag:n,part:r}=t;if(n.type!==at.AUDIO){if(!this.loadedmetadata&&n.type===at.MAIN){const i=this.videoBuffer||this.media;i&&wi.getBuffered(i).length&&(this.loadedmetadata=!0)}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(n.sn!=="initSegment"){this.fragPrevious=n;const i=this.switchingTrack;i&&(this.bufferedTrack=i,this.switchingTrack=null,this.hls.trigger(u.AUDIO_TRACK_SWITCHED,$({},i)))}this.fragBufferedComplete(n,r)}onError(e,t){var n;if(t.fatal){this.state=Rn.ERROR;return}switch(t.details){case m.FRAG_GAP:case m.FRAG_PARSING_ERROR:case m.FRAG_DECRYPT_ERROR:case m.FRAG_LOAD_ERROR:case m.FRAG_LOAD_TIMEOUT:case m.KEY_LOAD_ERROR:case m.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(at.AUDIO,t);break;case m.AUDIO_TRACK_LOAD_ERROR:case m.AUDIO_TRACK_LOAD_TIMEOUT:case m.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===Rn.WAITING_TRACK&&((n=t.context)==null?void 0:n.type)===Fn.AUDIO_TRACK&&(this.state=Rn.IDLE);break;case m.BUFFER_APPEND_ERROR:case m.BUFFER_FULL_ERROR:if(!t.parent||t.parent!=="audio")return;if(t.details===m.BUFFER_APPEND_ERROR){this.resetLoadingState();return}this.reduceLengthAndFlushBuffer(t)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case m.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}onBufferFlushing(e,{type:t}){t!==te.VIDEO&&(this.flushing=!0)}onBufferFlushed(e,{type:t}){if(t!==te.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===Rn.ENDED&&(this.state=Rn.IDLE);const n=this.mediaBuffer||this.media;n&&(this.afterBufferFlushed(n,t,at.AUDIO),this.tick())}}_handleTransmuxComplete(e){var t;const n="audio",{hls:r}=this,{remuxResult:i,chunkMeta:s}=e,c=this.getCurrentContext(s);if(!c){this.resetWhenMissingContext(s);return}const{frag:p,part:A,level:F}=c,{details:B}=F,{audio:ye,text:Fe,id3:Re,initSegment:Ue}=i;if(this.fragContextChanged(p)||!B){this.fragmentTracker.removeFragment(p);return}if(this.state=Rn.PARSING,this.switchingTrack&&ye&&this.completeAudioSwitch(this.switchingTrack),Ue!=null&&Ue.tracks){const We=p.initSegment||p;this._bufferInitSegment(F,Ue.tracks,We,s),r.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:We,id:n,tracks:Ue.tracks})}if(ye){const{startPTS:We,endPTS:ct,startDTS:Vt,endDTS:Wt}=ye;A&&(A.elementaryStreams[te.AUDIO]={startPTS:We,endPTS:ct,startDTS:Vt,endDTS:Wt}),p.setElementaryStreamInfo(te.AUDIO,We,ct,Vt,Wt),this.bufferFragmentData(ye,p,A,s)}if(Re!=null&&(t=Re.samples)!=null&&t.length){const We=a({id:n,frag:p,details:B},Re);r.trigger(u.FRAG_PARSING_METADATA,We)}if(Fe){const We=a({id:n,frag:p,details:B},Fe);r.trigger(u.FRAG_PARSING_USERDATA,We)}}_bufferInitSegment(e,t,n,r){if(this.state!==Rn.PARSING)return;t.video&&delete t.video;const i=t.audio;if(!i)return;i.id="audio";const s=e.audioCodec;this.log(`Init audio buffer, container:${i.container}, codecs[level/parsed]=[${s}/${i.codec}]`),s&&s.split(",").length===1&&(i.levelCodec=s),this.hls.trigger(u.BUFFER_CODECS,t);const c=i.initSegment;if(c!=null&&c.byteLength){const p={type:"audio",frag:n,part:null,chunkMeta:r,parent:n.type,data:c};this.hls.trigger(u.BUFFER_APPENDING,p)}this.tickImmediate()}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);if(this.fragCurrent=e,this.switchingTrack||r===mi.NOT_LOADED||r===mi.PARTIAL){var i;if(e.sn==="initSegment")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=Rn.WAITING_INIT_PTS;const s=this.mainDetails;s&&s.fragments[0].start!==t.details.fragments[0].start&&Oa(t.details,s)}else this.startFragRequested=!0,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:s,channels:c}=this.bufferedTrack;Sa({name:t,lang:n,assocLang:r,characteristics:i,audioCodec:s,channels:c},e,Ur)||(this.log("Switching audio track : flushing all audio"),super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"),this.bufferedTrack=null)}}completeAudioSwitch(e){const{hls:t}=this;this.flushAudioIfNeeded(e),this.bufferedTrack=e,this.switchingTrack=null,t.trigger(u.AUDIO_TRACK_SWITCHED,$({},e))}}function ir(o,e){if(o.length!==e.length)return!1;for(let t=0;t<o.length;t++)if(!Dn(o[t].attrs,e[t].attrs))return!1;return!0}function Dn(o,e,t){const n=o["STABLE-RENDITION-ID"];return n&&!t?n===e["STABLE-RENDITION-ID"]:!(t||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(r=>o[r]!==e[r])}function rr(o,e){return e.label.toLowerCase()===o.name.toLowerCase()&&(!e.language||e.language.toLowerCase()===(o.lang||"").toLowerCase())}class Er extends ui{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(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.LEVEL_LOADING,this.onLevelLoading,this),e.on(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(u.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.on(u.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.LEVEL_LOADING,this.onLevelLoading,this),e.off(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(u.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),e.off(u.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,s=this.tracksInGroup[n];if(!s||s.groupId!==r){this.warn(`Audio track with id:${n} and group:${r} not found in active group ${s==null?void 0:s.groupId}`);return}const c=s.details;s.details=t.details,this.log(`Audio track ${n} "${s.name}" lang:${s.lang} group:${r} loaded [${i.startSN}-${i.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,c)}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(c=>(r==null?void 0:r.indexOf(c))===-1)){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const c=this.tracks.filter(ye=>!n||n.indexOf(ye.groupId)!==-1);if(c.length)this.selectDefaultTrack&&!c.some(ye=>ye.default)&&(this.selectDefaultTrack=!1),c.forEach((ye,Fe)=>{ye.id=Fe});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=c;const p=this.hls.config.audioPreference;if(!i&&p){const ye=ba(p,c,Ur);if(ye>-1)i=c[ye];else{const Fe=ba(p,this.tracks);i=this.tracks[Fe]}}let A=this.findTrackId(i);A===-1&&i&&(A=this.findTrackId(null));const F={audioTracks:c};this.log(`Updating audio tracks, ${c.length} track(s) found in group(s): ${n==null?void 0:n.join(",")}`),this.hls.trigger(u.AUDIO_TRACKS_UPDATED,F);const B=this.trackId;if(A!==-1&&B===-1)this.setAudioTrack(A);else if(c.length&&B===-1){var s;const ye=new Error(`No audio track selected for current audio group-ID(s): ${(s=this.groupIds)==null?void 0:s.join(",")} track count: ${c.length}`);this.warn(ye.message),this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:ye})}}else this.shouldReloadPlaylist(i)&&this.setAudioTrack(this.trackId)}onError(e,t){t.fatal||!t.context||t.context.type===Fn.AUDIO_TRACK&&t.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(t.context.groupId)!==-1)&&(this.requestScheduled=-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&&Sa(e,r,Ur))return r;const i=ba(e,this.tracksInGroup,Ur);if(i>-1){const s=this.tracksInGroup[i];return this.setAudioTrack(i),s}else if(r){let s=t.loadLevel;s===-1&&(s=t.firstAutoLevel);const c=ia(e,t.levels,n,s,Ur);if(c===-1)return null;t.nextLoadLevel=c}if(e.channels||e.audioCodec){const s=ba(e,n);if(s>-1)return n[s]}}}return null}setAudioTrack(e){const t=this.tracksInGroup;if(e<0||e>=t.length){this.warn(`Invalid audio track id: ${e}`);return}this.clearTimer(),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(u.AUDIO_TRACK_SWITCHING,$({},r)),i))return;const s=this.switchParams(r.url,n==null?void 0:n.details,r.details);this.loadPlaylist(s)}findTrackId(e){const t=this.tracksInGroup;for(let n=0;n<t.length;n++){const r=t[n];if(!(this.selectDefaultTrack&&!r.default)&&(!e||Sa(e,r,Ur)))return n}if(e){const{name:n,lang:r,assocLang:i,characteristics:s,audioCodec:c,channels:p}=e;for(let A=0;A<t.length;A++){const F=t[A];if(Sa({name:n,lang:r,assocLang:i,characteristics:s,audioCodec:c,channels:p},F,Ur))return A}for(let A=0;A<t.length;A++){const F=t[A];if(Dn(e.attrs,F.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return A}for(let A=0;A<t.length;A++){const F=t[A];if(Dn(e.attrs,F.attrs,["LANGUAGE"]))return A}}return-1}loadPlaylist(e){const t=this.currentTrack;if(this.shouldLoadPlaylist(t)&&t){super.loadPlaylist();const n=t.id,r=t.groupId;let i=t.url;if(e)try{i=e.addDirectives(i)}catch(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}this.log(`loading audio-track playlist ${n} "${t.name}" lang:${t.lang} group:${r}`),this.clearTimer(),this.hls.trigger(u.AUDIO_TRACK_LOADING,{url:i,id:n,groupId:r,deliveryDirectives:e||null})}}}const _r=500;class ii extends Ts{constructor(e,t,n){super(e,t,n,"[subtitle-stream-controller]",at.SUBTITLE),this.currentTrackId=-1,this.tracksBuffered=[],this.mainDetails=null,this._registerListeners()}onHandlerDestroying(){this._unregisterListeners(),super.onHandlerDestroying(),this.mainDetails=null}_registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.LEVEL_LOADED,this.onLevelLoaded,this),e.on(u.ERROR,this.onError,this),e.on(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(u.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.on(u.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(u.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.LEVEL_LOADED,this.onLevelLoaded,this),e.off(u.ERROR,this.onError,this),e.off(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(u.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),e.off(u.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(u.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),e.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this)}startLoad(e){this.stopLoad(),this.state=Rn.IDLE,this.setInterval(_r),this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}onManifestLoading(){this.mainDetails=null,this.fragmentTracker.removeAllFragments()}onMediaDetaching(){this.tracksBuffered=[],super.onMediaDetaching()}onLevelLoaded(e,t){this.mainDetails=t.details}onSubtitleFragProcessed(e,t){const{frag:n,success:r}=t;if(this.fragPrevious=n,this.state=Rn.IDLE,!r)return;const i=this.tracksBuffered[this.currentTrackId];if(!i)return;let s;const c=n.start;for(let A=0;A<i.length;A++)if(c>=i[A].start&&c<=i[A].end){s=i[A];break}const p=n.start+n.duration;s?s.end=p:(s={start:c,end:p},i.push(s)),this.fragmentTracker.fragBuffered(n),this.fragBufferedComplete(n,null)}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(s=>{for(let c=0;c<s.length;){if(s[c].end<=i){s.shift();continue}else if(s[c].start<i)s[c].start=i;else break;c++}}),this.fragmentTracker.removeFragmentsInRange(n,i,at.SUBTITLE)}}onFragBuffered(e,t){if(!this.loadedmetadata&&t.frag.type===at.MAIN){var n;(n=this.media)!=null&&n.buffered.length&&(this.loadedmetadata=!0)}}onError(e,t){const n=t.frag;(n==null?void 0:n.type)===at.SUBTITLE&&(t.details===m.FRAG_GAP&&this.fragmentTracker.fragBuffered(n,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==Rn.STOPPED&&(this.state=Rn.IDLE))}onSubtitleTracksUpdated(e,{subtitleTracks:t}){if(this.levels&&ir(this.levels,t)){this.levels=t.map(n=>new Ri(n));return}this.tracksBuffered=[],this.levels=t.map(n=>{const r=new Ri(n);return this.tracksBuffered[r.id]=[],r}),this.fragmentTracker.removeFragmentsInRange(0,Number.POSITIVE_INFINITY,at.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.setInterval(_r)}onSubtitleTrackLoaded(e,t){var n;const{currentTrackId:r,levels:i}=this,{details:s,id:c}=t;if(!i){this.warn(`Subtitle tracks were reset while loading level ${c}`);return}const p=i[c];if(c>=i.length||!p)return;this.log(`Subtitle track ${c} loaded [${s.startSN},${s.endSN}]${s.lastPartSn?`[part-${s.lastPartSn}-${s.lastPartIndex}]`:""},duration:${s.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let A=0;if(s.live||(n=p.details)!=null&&n.live){const B=this.mainDetails;if(s.deltaUpdateFailed||!B)return;const ye=B.fragments[0];if(!p.details)s.hasProgramDateTime&&B.hasProgramDateTime?(Oa(s,B),A=s.fragments[0].start):ye&&(A=ye.start,Pn(s,A));else{var F;A=this.alignPlaylists(s,p.details,(F=this.levelLastLoaded)==null?void 0:F.details),A===0&&ye&&(A=ye.start,Pn(s,A))}}p.details=s,this.levelLastLoaded=p,c===r&&(!this.startFragRequested&&(this.mainDetails||!s.live)&&this.setStartPosition(this.mainDetails||s,A),this.tick(),s.live&&!this.fragCurrent&&this.media&&this.state===Rn.IDLE&&(wa(null,s.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&&r.method==="AES-128"){const s=performance.now();this.decrypter.decrypt(new Uint8Array(n),r.key.buffer,r.iv.buffer).catch(c=>{throw i.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.FRAG_DECRYPT_ERROR,fatal:!1,error:c,reason:c.message,frag:t}),c}).then(c=>{const p=performance.now();i.trigger(u.FRAG_DECRYPTED,{frag:t,payload:c,stats:{tstart:s,tdecrypt:p}})}).catch(c=>{this.warn(`${c.name}: ${c.message}`),this.state=Rn.IDLE})}}doTick(){if(!this.media){this.state=Rn.IDLE;return}if(this.state===Rn.IDLE){const{currentTrackId:e,levels:t}=this,n=t==null?void 0:t[e];if(!n||!t.length||!n.details)return;const{config:r}=this,i=this.getLoadPosition(),s=wi.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],i,r.maxBufferHole),{end:c,len:p}=s,A=this.getFwdBufferInfo(this.media,at.MAIN),F=n.details,B=this.getMaxBufferLength(A==null?void 0:A.len)+F.levelTargetDuration;if(p>B)return;const ye=F.fragments,Fe=ye.length,Re=F.edge;let Ue=null;const We=this.fragPrevious;if(c<Re){const ct=r.maxFragLookUpTolerance,Vt=c>Re-ct?0:ct;Ue=wa(We,ye,Math.max(ye[0].start,c),Vt),!Ue&&We&&We.start<ye[0].start&&(Ue=ye[0])}else Ue=ye[Fe-1];if(!Ue)return;if(Ue=this.mapToInitFragWhenRequired(Ue),Ue.sn!=="initSegment"){const ct=Ue.sn-F.startSN,Vt=ye[ct-1];Vt&&Vt.cc===Ue.cc&&this.fragmentTracker.getState(Vt)===mi.NOT_LOADED&&(Ue=Vt)}this.fragmentTracker.getState(Ue)===mi.NOT_LOADED&&this.loadFragment(Ue,n,c)}}getMaxBufferLength(e){const t=super.getMaxBufferLength();return e?Math.max(t,e):t}loadFragment(e,t,n){this.fragCurrent=e,e.sn==="initSegment"?this._loadInitSegment(e,t):(this.startFragRequested=!0,super.loadFragment(e,t,n))}get mediaBufferTimeRanges(){return new ai(this.tracksBuffered[this.currentTrackId]||[])}}class ai{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)}}}}class Wi extends ui{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.asyncPollTrackChange=()=>this.pollTrackChange(0),this.useTextTrackPolling=!1,this.subtitlePollingInterval=-1,this._subtitleDisplay=!0,this.onTextTracksChanged=()=>{if(this.useTextTrackPolling||self.clearInterval(this.subtitlePollingInterval),!this.media||!this.hls.config.renderTextTracksNatively)return;let t=null;const n=On(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(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.LEVEL_LOADING,this.onLevelLoading,this),e.on(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.on(u.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.on(u.ERROR,this.onError,this)}unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.LEVEL_LOADING,this.onLevelLoading,this),e.off(u.LEVEL_SWITCHING,this.onLevelSwitching,this),e.off(u.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),e.off(u.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(){if(!this.media)return;self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||this.media.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),On(this.media.textTracks).forEach(t=>{jr(t)}),this.subtitleTrack=-1,this.media=null}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,s=this.tracksInGroup[n];if(!s||s.groupId!==r){this.warn(`Subtitle track with id:${n} and group:${r} not found in active group ${s==null?void 0:s.groupId}`);return}const c=s.details;s.details=t.details,this.log(`Subtitle track ${n} "${s.name}" lang:${s.lang} group:${r} loaded [${i.startSN}-${i.endSN}]`),n===this.trackId&&this.playlistLoaded(n,t,c)}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(s=>(r==null?void 0:r.indexOf(s))===-1)){this.groupIds=n,this.trackId=-1,this.currentTrack=null;const s=this.tracks.filter(F=>!n||n.indexOf(F.groupId)!==-1);if(s.length)this.selectDefaultTrack&&!s.some(F=>F.default)&&(this.selectDefaultTrack=!1),s.forEach((F,B)=>{F.id=B});else if(!i&&!this.tracksInGroup.length)return;this.tracksInGroup=s;const c=this.hls.config.subtitlePreference;if(!i&&c){this.selectDefaultTrack=!1;const F=ba(c,s);if(F>-1)i=s[F];else{const B=ba(c,this.tracks);i=this.tracks[B]}}let p=this.findTrackId(i);p===-1&&i&&(p=this.findTrackId(null));const A={subtitleTracks:s};this.log(`Updating subtitle tracks, ${s.length} track(s) found in "${n==null?void 0:n.join(",")}" group-id`),this.hls.trigger(u.SUBTITLE_TRACKS_UPDATED,A),p!==-1&&this.trackId===-1&&this.setSubtitleTrack(p)}else this.shouldReloadPlaylist(i)&&this.setSubtitleTrack(this.trackId)}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||Sa(i,e)))return r}if(e){for(let r=0;r<t.length;r++){const i=t[r];if(Dn(e.attrs,i.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return r}for(let r=0;r<t.length;r++){const i=t[r];if(Dn(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(rr(r,e))return n}}return-1}onError(e,t){t.fatal||!t.context||t.context.type===Fn.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){const t=this.allSubtitleTracks;if(this.selectDefaultTrack=!1,t.length){const n=this.currentTrack;if(n&&Sa(e,n))return n;const r=ba(e,this.tracksInGroup);if(r>-1){const i=this.tracksInGroup[r];return this.setSubtitleTrack(r),i}else{if(n)return null;{const i=ba(e,t);if(i>-1)return t[i]}}}}return null}loadPlaylist(e){super.loadPlaylist();const t=this.currentTrack;if(this.shouldLoadPlaylist(t)&&t){const n=t.id,r=t.groupId;let i=t.url;if(e)try{i=e.addDirectives(i)}catch(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}this.log(`Loading subtitle playlist for id ${n}`),this.hls.trigger(u.SUBTITLE_TRACK_LOADING,{url:i,id:n,groupId:r,deliveryDirectives:e||null})}}toggleTrackModes(){const{media:e}=this;if(!e)return;const t=On(e.textTracks),n=this.currentTrack;let r;if(n&&(r=t.filter(i=>rr(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||!I(e)){this.warn(`Invalid subtitle track id: ${e}`);return}this.clearTimer(),this.selectDefaultTrack=!1;const n=this.currentTrack,r=t[e]||null;if(this.trackId=e,this.currentTrack=r,this.toggleTrackModes(),!r){this.hls.trigger(u.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:s,groupId:c="",name:p,type:A,url:F}=r;this.hls.trigger(u.SUBTITLE_TRACK_SWITCH,{id:s,groupId:c,name:p,type:A,url:F});const B=this.switchParams(r.url,n==null?void 0:n.details,r.details);this.loadPlaylist(B)}}class ci{constructor(e){this.buffers=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.buffers=e}append(e,t,n){const r=this.queues[t];r.push(e),r.length===1&&!n&&this.executeNext(t)}insertAbort(e,t){this.queues[t].unshift(e),this.executeNext(t)}appendBlocker(e){let t;const n=new Promise(i=>{t=i}),r={execute:t,onStart:()=>{},onComplete:()=>{},onError:()=>{}};return this.append(r,e),n}executeNext(e){const t=this.queues[e];if(t.length){const n=t[0];try{n.execute()}catch(r){b.warn(`[buffer-operation-queue]: Exception executing "${e}" SourceBuffer operation: ${r}`),n.onError(r);const i=this.buffers[e];i!=null&&i.updating||this.shiftAndExecuteNext(e)}}}shiftAndExecuteNext(e){this.queues[e].shift(),this.executeNext(e)}current(e){return this.queues[e][0]}}const si=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/;class Si{constructor(e){this.details=null,this._objectUrl=null,this.operationQueue=void 0,this.listeners=void 0,this.hls=void 0,this.bufferCodecEventsExpected=0,this._bufferCodecEventsTotal=0,this.media=null,this.mediaSource=null,this.lastMpegAudioChunk=null,this.appendSource=void 0,this.appendErrors={audio:0,video:0,audiovideo:0},this.tracks={},this.pendingTracks={},this.sourceBuffer=void 0,this.log=void 0,this.warn=void 0,this.error=void 0,this._onEndStreaming=n=>{this.hls&&this.hls.pauseBuffering()},this._onStartStreaming=n=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=()=>{const{media:n,mediaSource:r}=this;this.log("Media source opened"),n&&(n.removeEventListener("emptied",this._onMediaEmptied),this.updateMediaElementDuration(),this.hls.trigger(u.MEDIA_ATTACHED,{media:n,mediaSource:r})),r&&r.removeEventListener("sourceopen",this._onMediaSourceOpen),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&&b.error(`Media element src was set while attaching MediaSource (${r} > ${n})`)},this.hls=e;const t="[buffer-controller]";this.appendSource=Xn(wn(e.config.preferManagedMediaSource)),this.log=b.log.bind(b,t),this.warn=b.warn.bind(b,t),this.error=b.error.bind(b,t),this._initSourceBuffer(),this.registerListeners()}hasSourceTypes(){return this.getSourceBufferTypes().length>0||Object.keys(this.pendingTracks).length>0}destroy(){this.unregisterListeners(),this.details=null,this.lastMpegAudioChunk=null,this.hls=null}registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.BUFFER_RESET,this.onBufferReset,this),e.on(u.BUFFER_APPENDING,this.onBufferAppending,this),e.on(u.BUFFER_CODECS,this.onBufferCodecs,this),e.on(u.BUFFER_EOS,this.onBufferEos,this),e.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.on(u.LEVEL_UPDATED,this.onLevelUpdated,this),e.on(u.FRAG_PARSED,this.onFragParsed,this),e.on(u.FRAG_CHANGED,this.onFragChanged,this)}unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.BUFFER_RESET,this.onBufferReset,this),e.off(u.BUFFER_APPENDING,this.onBufferAppending,this),e.off(u.BUFFER_CODECS,this.onBufferCodecs,this),e.off(u.BUFFER_EOS,this.onBufferEos,this),e.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),e.off(u.LEVEL_UPDATED,this.onLevelUpdated,this),e.off(u.FRAG_PARSED,this.onFragParsed,this),e.off(u.FRAG_CHANGED,this.onFragChanged,this)}_initSourceBuffer(){this.sourceBuffer={},this.operationQueue=new ci(this.sourceBuffer),this.listeners={audio:[],video:[],audiovideo:[]},this.appendErrors={audio:0,video:0,audiovideo:0},this.lastMpegAudioChunk=null}onManifestLoading(){this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=0,this.details=null}onManifestParsed(e,t){let n=2;(t.audio&&!t.video||!t.altAudio)&&(n=1),this.bufferCodecEventsExpected=this._bufferCodecEventsTotal=n,this.log(`${this.bufferCodecEventsExpected} bufferCodec event(s) expected`)}onMediaAttaching(e,t){const n=this.media=t.media,r=wn(this.appendSource);if(n&&r){var i;const s=this.mediaSource=new r;this.log(`created media source: ${(i=s.constructor)==null?void 0:i.name}`),s.addEventListener("sourceopen",this._onMediaSourceOpen),s.addEventListener("sourceended",this._onMediaSourceEnded),s.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(s.addEventListener("startstreaming",this._onStartStreaming),s.addEventListener("endstreaming",this._onEndStreaming));const c=this._objectUrl=self.URL.createObjectURL(s);if(this.appendSource)try{n.removeAttribute("src");const p=self.ManagedMediaSource;n.disableRemotePlayback=n.disableRemotePlayback||p&&s instanceof p,qi(n),xa(n,c),n.load()}catch(p){n.src=c}else n.src=c;n.addEventListener("emptied",this._onMediaEmptied)}}onMediaDetaching(){const{media:e,mediaSource:t,_objectUrl:n}=this;if(t){if(this.log("media source detaching"),t.readyState==="open")try{t.endOfStream()}catch(r){this.warn(`onMediaDetaching: ${r.message} while calling endOfStream`)}this.onBufferReset(),t.removeEventListener("sourceopen",this._onMediaSourceOpen),t.removeEventListener("sourceended",this._onMediaSourceEnded),t.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(t.removeEventListener("startstreaming",this._onStartStreaming),t.removeEventListener("endstreaming",this._onEndStreaming)),e&&(e.removeEventListener("emptied",this._onMediaEmptied),n&&self.URL.revokeObjectURL(n),this.mediaSrc===n?(e.removeAttribute("src"),this.appendSource&&qi(e),e.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.bufferCodecEventsExpected=this._bufferCodecEventsTotal,this.pendingTracks={},this.tracks={}}this.hls.trigger(u.MEDIA_DETACHED,void 0)}onBufferReset(){this.getSourceBufferTypes().forEach(e=>{this.resetBuffer(e)}),this._initSourceBuffer(),this.hls.resumeBuffering()}resetBuffer(e){const t=this.sourceBuffer[e];try{if(t){var n;this.removeBufferListeners(e),this.sourceBuffer[e]=void 0,(n=this.mediaSource)!=null&&n.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(t)}}catch(r){this.warn(`onBufferReset ${e}`,r)}}onBufferCodecs(e,t){const n=this.getSourceBufferTypes().length,r=Object.keys(t);if(r.forEach(s=>{if(n){const p=this.tracks[s];if(p&&typeof p.buffer.changeType=="function"){var c;const{id:A,codec:F,levelCodec:B,container:ye,metadata:Fe}=t[s],Re=In(p.codec,p.levelCodec),Ue=Re==null?void 0:Re.replace(si,"$1");let We=In(F,B);const ct=(c=We)==null?void 0:c.replace(si,"$1");if(We&&Ue!==ct){s.slice(0,5)==="audio"&&(We=En(We,this.appendSource));const Vt=`${ye};codecs=${We}`;this.appendChangeType(s,Vt),this.log(`switching codec ${Re} to ${We}`),this.tracks[s]={buffer:p.buffer,codec:F,container:ye,levelCodec:B,metadata:Fe,id:A}}}}else this.pendingTracks[s]=t[s]}),n)return;const i=Math.max(this.bufferCodecEventsExpected-1,0);this.bufferCodecEventsExpected!==i&&(this.log(`${i} bufferCodec event(s) expected ${r.join(",")}`),this.bufferCodecEventsExpected=i),this.mediaSource&&this.mediaSource.readyState==="open"&&this.checkPendingTracks()}appendChangeType(e,t){const{operationQueue:n}=this,r={execute:()=>{const i=this.sourceBuffer[e];i&&(this.log(`changing ${e} sourceBuffer type to ${t}`),i.changeType(t)),n.shiftAndExecuteNext(e)},onStart:()=>{},onComplete:()=>{},onError:i=>{this.warn(`Failed to change ${e} SourceBuffer type`,i)}};n.append(r,e,!!this.pendingTracks[e])}onBufferAppending(e,t){const{hls:n,operationQueue:r,tracks:i}=this,{data:s,type:c,frag:p,part:A,chunkMeta:F}=t,B=F.buffering[c],ye=self.performance.now();B.start=ye;const Fe=p.stats.buffering,Re=A?A.stats.buffering:null;Fe.start===0&&(Fe.start=ye),Re&&Re.start===0&&(Re.start=ye);const Ue=i.audio;let We=!1;c==="audio"&&(Ue==null?void 0:Ue.container)==="audio/mpeg"&&(We=!this.lastMpegAudioChunk||F.id===1||this.lastMpegAudioChunk.sn!==F.sn,this.lastMpegAudioChunk=F);const ct=p.start,Vt={execute:()=>{if(B.executeStart=self.performance.now(),We){const Wt=this.sourceBuffer[c];if(Wt){const xn=ct-Wt.timestampOffset;Math.abs(xn)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${ct} (delta: ${xn}) sn: ${p.sn})`),Wt.timestampOffset=ct)}}this.appendExecutor(s,c)},onStart:()=>{},onComplete:()=>{const Wt=self.performance.now();B.executeEnd=B.end=Wt,Fe.first===0&&(Fe.first=Wt),Re&&Re.first===0&&(Re.first=Wt);const{sourceBuffer:xn}=this,Qt={};for(const Mn in xn)Qt[Mn]=wi.getBuffered(xn[Mn]);this.appendErrors[c]=0,c==="audio"||c==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(u.BUFFER_APPENDED,{type:c,frag:p,part:A,chunkMeta:F,parent:p.type,timeRanges:Qt})},onError:Wt=>{const xn={type:x.MEDIA_ERROR,parent:p.type,details:m.BUFFER_APPEND_ERROR,sourceBufferName:c,frag:p,part:A,chunkMeta:F,error:Wt,err:Wt,fatal:!1};if(Wt.code===DOMException.QUOTA_EXCEEDED_ERR)xn.details=m.BUFFER_FULL_ERROR;else{const Qt=++this.appendErrors[c];xn.details=m.BUFFER_APPEND_ERROR,this.warn(`Failed ${Qt}/${n.config.appendErrorMaxRetry} times to append segment in "${c}" sourceBuffer`),Qt>=n.config.appendErrorMaxRetry&&(xn.fatal=!0)}n.trigger(u.ERROR,xn)}};r.append(Vt,c,!!this.pendingTracks[c])}onBufferFlushing(e,t){const{operationQueue:n}=this,r=i=>({execute:this.removeExecutor.bind(this,i,t.startOffset,t.endOffset),onStart:()=>{},onComplete:()=>{this.hls.trigger(u.BUFFER_FLUSHED,{type:i})},onError:s=>{this.warn(`Failed to remove from ${i} SourceBuffer`,s)}});t.type?n.append(r(t.type),t.type):this.getSourceBufferTypes().forEach(i=>{n.append(r(i),i)})}onFragParsed(e,t){const{frag:n,part:r}=t,i=[],s=r?r.elementaryStreams:n.elementaryStreams;s[te.AUDIOVIDEO]?i.push("audiovideo"):(s[te.AUDIO]&&i.push("audio"),s[te.VIDEO]&&i.push("video"));const c=()=>{const p=self.performance.now();n.stats.buffering.end=p,r&&(r.stats.buffering.end=p);const A=r?r.stats:n.stats;this.hls.trigger(u.FRAG_BUFFERED,{frag:n,part:r,stats:A,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(c,i)}onFragChanged(e,t){this.trimBuffers()}onBufferEos(e,t){this.getSourceBufferTypes().reduce((r,i)=>{const s=this.sourceBuffer[i];return s&&(!t.type||t.type===i)&&(s.ending=!0,s.ended||(s.ended=!0,this.log(`${i} sourceBuffer now EOS`))),r&&!!(!s||s.ended)},!0)&&(this.log("Queueing mediaSource.endOfStream()"),this.blockBuffers(()=>{this.getSourceBufferTypes().forEach(i=>{const s=this.sourceBuffer[i];s&&(s.ending=!1)});const{mediaSource:r}=this;if(!r||r.readyState!=="open"){r&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${r.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),r.endOfStream()}))}onLevelUpdated(e,{details:t}){t.fragments.length&&(this.details=t,this.getSourceBufferTypes().length?this.blockBuffers(this.updateMediaElementDuration.bind(this)):this.updateMediaElementDuration())}trimBuffers(){const{hls:e,details:t,media:n}=this;if(!n||t===null||!this.getSourceBufferTypes().length)return;const i=e.config,s=n.currentTime,c=t.levelTargetDuration,p=t.live&&i.liveBackBufferLength!==null?i.liveBackBufferLength:i.backBufferLength;if(I(p)&&p>0){const A=Math.max(p,c),F=Math.floor(s/c)*c-A;this.flushBackBuffer(s,c,F)}if(I(i.frontBufferFlushThreshold)&&i.frontBufferFlushThreshold>0){const A=Math.max(i.maxBufferLength,i.frontBufferFlushThreshold),F=Math.max(A,c),B=Math.floor(s/c)*c+F;this.flushFrontBuffer(s,c,B)}}flushBackBuffer(e,t,n){const{details:r,sourceBuffer:i}=this;this.getSourceBufferTypes().forEach(c=>{const p=i[c];if(p){const A=wi.getBuffered(p);if(A.length>0&&n>A.start(0)){if(this.hls.trigger(u.BACK_BUFFER_REACHED,{bufferEnd:n}),r!=null&&r.live)this.hls.trigger(u.LIVE_BACK_BUFFER_REACHED,{bufferEnd:n});else if(p.ended&&A.end(A.length-1)-e<t*2){this.log(`Cannot flush ${c} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(u.BUFFER_FLUSHING,{startOffset:0,endOffset:n,type:c})}}})}flushFrontBuffer(e,t,n){const{sourceBuffer:r}=this;this.getSourceBufferTypes().forEach(s=>{const c=r[s];if(c){const p=wi.getBuffered(c),A=p.length;if(A<2)return;const F=p.start(A-1),B=p.end(A-1);if(n>F||e>=F&&e<=B)return;if(c.ended&&e-B<2*t){this.log(`Cannot flush ${s} front buffer while SourceBuffer is in ended state`);return}this.hls.trigger(u.BUFFER_FLUSHING,{startOffset:F,endOffset:1/0,type:s})}})}updateMediaElementDuration(){if(!this.details||!this.media||!this.mediaSource||this.mediaSource.readyState!=="open")return;const{details:e,hls:t,media:n,mediaSource:r}=this,i=e.fragments[0].start+e.totalduration,s=n.duration,c=I(r.duration)?r.duration:0;e.live&&t.config.liveDurationInfinity?(r.duration=1/0,this.updateSeekableRange(e)):(i>c&&i>s||!I(s))&&(this.log(`Updating Media Source duration to ${i.toFixed(3)}`),r.duration=i)}updateSeekableRange(e){const t=this.mediaSource,n=e.fragments;if(n.length&&e.live&&t!=null&&t.setLiveSeekableRange){const i=Math.max(0,n[0].start),s=Math.max(i,i+e.totalduration);this.log(`Media Source duration is set to ${t.duration}. Setting seekable range to ${i}-${s}.`),t.setLiveSeekableRange(i,s)}}checkPendingTracks(){const{bufferCodecEventsExpected:e,operationQueue:t,pendingTracks:n}=this,r=Object.keys(n).length;if(r&&(!e||r===2||"audiovideo"in n)){this.createSourceBuffers(n),this.pendingTracks={};const i=this.getSourceBufferTypes();if(i.length)this.hls.trigger(u.BUFFER_CREATED,{tracks:this.tracks}),i.forEach(s=>{t.executeNext(s)});else{const s=new Error("could not create source buffer for media codec(s)");this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_INCOMPATIBLE_CODECS_ERROR,fatal:!0,error:s,reason:s.message})}}}createSourceBuffers(e){const{sourceBuffer:t,mediaSource:n}=this;if(!n)throw Error("createSourceBuffers called when mediaSource was null");for(const i in e)if(!t[i]){var r;const s=e[i];if(!s)throw Error(`source buffer exists for track ${i}, however track does not`);let c=((r=s.levelCodec)==null?void 0:r.indexOf(","))===-1?s.levelCodec:s.codec;c&&i.slice(0,5)==="audio"&&(c=En(c,this.appendSource));const p=`${s.container};codecs=${c}`;this.log(`creating sourceBuffer(${p})`);try{const A=t[i]=n.addSourceBuffer(p),F=i;this.addBufferListener(F,"updatestart",this._onSBUpdateStart),this.addBufferListener(F,"updateend",this._onSBUpdateEnd),this.addBufferListener(F,"error",this._onSBUpdateError),this.appendSource&&this.addBufferListener(F,"bufferedchange",(B,ye)=>{const Fe=ye.removedRanges;Fe!=null&&Fe.length&&this.hls.trigger(u.BUFFER_FLUSHED,{type:i})}),this.tracks[i]={buffer:A,codec:c,container:s.container,levelCodec:s.levelCodec,metadata:s.metadata,id:s.id}}catch(A){this.error(`error while trying to add sourceBuffer: ${A.message}`),this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:A,sourceBufferName:i,mimeType:p})}}}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{operationQueue:t}=this;t.current(e).onStart()}_onSBUpdateEnd(e){var t;if(((t=this.mediaSource)==null?void 0:t.readyState)==="closed"){this.resetBuffer(e);return}const{operationQueue:n}=this;n.current(e).onComplete(),n.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(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_APPENDING_ERROR,sourceBufferName:e,error:r,fatal:!1});const i=this.operationQueue.current(e);i&&i.onError(r)}removeExecutor(e,t,n){const{media:r,mediaSource:i,operationQueue:s,sourceBuffer:c}=this,p=c[e];if(!r||!i||!p){this.warn(`Attempting to remove from the ${e} SourceBuffer, but it does not exist`),s.shiftAndExecuteNext(e);return}const A=I(r.duration)?r.duration:1/0,F=I(i.duration)?i.duration:1/0,B=Math.max(0,t),ye=Math.min(n,A,F);ye>B&&(!p.ending||p.ended)?(p.ended=!1,this.log(`Removing [${B},${ye}] from the ${e} SourceBuffer`),p.remove(B,ye)):s.shiftAndExecuteNext(e)}appendExecutor(e,t){const n=this.sourceBuffer[t];if(!n){if(!this.pendingTracks[t])throw new Error(`Attempting to append to the ${t} SourceBuffer, but it does not exist`);return}n.ended=!1,n.appendBuffer(e)}blockBuffers(e,t=this.getSourceBufferTypes()){if(!t.length){this.log("Blocking operation requested, but no SourceBuffers exist"),Promise.resolve().then(e);return}const{operationQueue:n}=this,r=t.map(i=>n.appendBlocker(i));Promise.all(r).then(()=>{e(),t.forEach(i=>{const s=this.sourceBuffer[i];s!=null&&s.updating||n.shiftAndExecuteNext(i)})})}getSourceBufferTypes(){return Object.keys(this.sourceBuffer)}addBufferListener(e,t,n){const r=this.sourceBuffer[e];if(!r)return;const i=n.bind(this,e);this.listeners[e].push({event:t,listener:i}),r.addEventListener(t,i)}removeBufferListeners(e){const t=this.sourceBuffer[e];t&&this.listeners[e].forEach(n=>{t.removeEventListener(n.event,n.listener)})}}function qi(o){const e=o.querySelectorAll("source");[].slice.call(e).forEach(t=>{o.removeChild(t)})}function xa(o,e){const t=self.document.createElement("source");t.type="video/mp4",t.src=e,o.appendChild(t)}const Hr={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},ei=o=>String.fromCharCode(Hr[o]||o),qr=15,Ti=100,ea={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},Wr={17:2,18:4,21:6,22:8,23:10,19:13,20:15},ra={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},ta={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Aa=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Ma{constructor(){this.time=null,this.verboseLevel=0}log(e,t){if(this.verboseLevel>=e){const n=typeof t=="function"?t():t;b.log(`${this.time} [${e}] ${n}`)}}}const Ea=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(e[n].toString(16));return t};class Ss{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 Xa{constructor(){this.uchar=" ",this.penState=new Ss}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 Na{constructor(e){this.chars=[],this.pos=0,this.currPenState=new Ss,this.cueStartTime=null,this.logger=void 0;for(let t=0;t<Ti;t++)this.chars.push(new Xa);this.logger=e}equals(e){for(let t=0;t<Ti;t++)if(!this.chars[t].equals(e.chars[t]))return!1;return!0}copy(e){for(let t=0;t<Ti;t++)this.chars[t].copy(e.chars[t])}isEmpty(){let e=!0;for(let t=0;t<Ti;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>Ti&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Ti)}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=ei(e);if(this.pos>=Ti){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<Ti;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<Ti;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 ha{constructor(e){this.rows=[],this.currRow=qr-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let t=0;t<qr;t++)this.rows.push(new Na(e));this.logger=e}reset(){for(let e=0;e<qr;e++)this.rows[e].clear();this.currRow=qr-1}equals(e){let t=!0;for(let n=0;n<qr;n++)if(!this.rows[n].equals(e.rows[n])){t=!1;break}return t}copy(e){for(let t=0;t<qr;t++)this.rows[t].copy(e.rows[t])}isEmpty(){let e=!0;for(let t=0;t<qr;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 = "+JSON.stringify(e));let t=e.row-1;if(this.nrRollUpRows&&t<this.nrRollUpRows-1&&(t=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==t){for(let c=0;c<qr;c++)this.rows[c].clear();const i=this.currRow+1-this.nrRollUpRows,s=this.lastOutputScreen;if(s){const c=s.rows[i].cueStartTime,p=this.logger.time;if(c!==null&&p!==null&&c<p)for(let A=0;A<this.nrRollUpRows;A++)this.rows[t-this.nrRollUpRows+A+1].copy(s.rows[i+A])}}this.currRow=t;const n=this.rows[this.currRow];if(e.indent!==null){const i=e.indent,s=Math.max(i-1,0);n.setCursor(e.indent),e.color=n.chars[s].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 = "+JSON.stringify(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<qr;i++){const s=this.rows[i].getTextString();s&&(r=i+1,e?t.push("Row "+r+": '"+s+"'"):t.push(s.trim()))}return t.length>0&&(e?n="["+t.join(" | ")+"]":n=t.join(`
`)),n}getTextAndFormat(){return this.rows}}class pa{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 ha(n),this.nonDisplayedMemory=new ha(n),this.lastOutputScreen=new ha(n),this.currRollUpRow=this.displayedMemory.rows[qr-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[qr-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: "+JSON.stringify(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 $i{constructor(e,t,n){this.channels=void 0,this.currentChannel=0,this.cmdHistory=Fs(),this.logger=void 0;const r=this.logger=new Ma;this.channels=[null,new pa(e,t,r),new pa(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 s=!1,c=null;if(r===0&&i===0)continue;this.logger.log(3,()=>"["+Ea([t[n],t[n+1]])+"] -> ("+Ea([r,i])+")");const p=this.cmdHistory;if(r>=16&&r<=31){if(rs(r,i,p)){_i(null,null,p),this.logger.log(3,()=>"Repeated command ("+Ea([r,i])+") is dropped");continue}_i(r,i,this.cmdHistory),s=this.parseCmd(r,i),s||(s=this.parseMidrow(r,i)),s||(s=this.parsePAC(r,i)),s||(s=this.parseBackgroundAttributes(r,i))}else _i(null,null,p);if(!s&&(c=this.parseChars(r,i),c)){const F=this.currentChannel;F&&F>0?this.channels[F].insertChars(c):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!s&&!c&&this.logger.log(2,()=>"Couldn't parse cleaned data "+Ea([r,i])+" orig: "+Ea([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,s=this.channels[i];return e===20||e===21||e===28||e===29?t===32?s.ccRCL():t===33?s.ccBS():t===34?s.ccAOF():t===35?s.ccAON():t===36?s.ccDER():t===37?s.ccRU(2):t===38?s.ccRU(3):t===39?s.ccRU(4):t===40?s.ccFON():t===41?s.ccRDC():t===42?s.ccTR():t===43?s.ccRTD():t===44?s.ccEDM():t===45?s.ccCR():t===46?s.ccENM():t===47&&s.ccEOC():s.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 ("+Ea([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 s=e<=23?1:2;t>=64&&t<=95?n=s===1?ea[e]:ra[e]:n=s===1?Wr[e]:ta[e];const c=this.channels[s];return c?(c.setPAC(this.interpretPAC(n,t)),this.currentChannel=s,!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 s;i===17?s=t+80:i===18?s=t+112:s=t+144,this.logger.log(2,()=>"Special char '"+ei(s)+"' in channel "+n),r=[s]}else e>=32&&e<=127&&(r=t===0?[e]:[e,t]);return r&&this.logger.log(3,()=>"Char codes = "+Ea(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 s={};e===16||e===24?(i=Math.floor((t-32)/2),s.background=Aa[i],t%2===1&&(s.background=s.background+"_semi")):t===45?s.background="transparent":(s.foreground="black",t===47&&(s.underline=!0));const c=e<=23?1:2;return this.channels[c].setBkgData(s),!0}reset(){for(let e=0;e<Object.keys(this.channels).length;e++){const t=this.channels[e];t&&t.reset()}_i(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 _i(o,e,t){t.a=o,t.b=e}function rs(o,e,t){return t.a===o&&t.b===e}function Fs(){return{a:null,b:null}}class es{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}}var $a=function(){if(Oe!=null&&Oe.VTTCue)return self.VTTCue;const o=["","lr","rl"],e=["start","middle","end","left","right"];function t(c,p){if(typeof p!="string"||!Array.isArray(c))return!1;const A=p.toLowerCase();return~c.indexOf(A)?A:!1}function n(c){return t(o,c)}function r(c){return t(e,c)}function i(c,...p){let A=1;for(;A<arguments.length;A++){const F=arguments[A];for(const B in F)c[B]=F[B]}return c}function s(c,p,A){const F=this,B={enumerable:!0};F.hasBeenReset=!1;let ye="",Fe=!1,Re=c,Ue=p,We=A,ct=null,Vt="",Wt=!0,xn="auto",Qt="start",Mn=50,bn="middle",$n=50,Ar="middle";Object.defineProperty(F,"id",i({},B,{get:function(){return ye},set:function(kn){ye=""+kn}})),Object.defineProperty(F,"pauseOnExit",i({},B,{get:function(){return Fe},set:function(kn){Fe=!!kn}})),Object.defineProperty(F,"startTime",i({},B,{get:function(){return Re},set:function(kn){if(typeof kn!="number")throw new TypeError("Start time must be set to a number.");Re=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"endTime",i({},B,{get:function(){return Ue},set:function(kn){if(typeof kn!="number")throw new TypeError("End time must be set to a number.");Ue=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"text",i({},B,{get:function(){return We},set:function(kn){We=""+kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"region",i({},B,{get:function(){return ct},set:function(kn){ct=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"vertical",i({},B,{get:function(){return Vt},set:function(kn){const Qn=n(kn);if(Qn===!1)throw new SyntaxError("An invalid or illegal string was specified.");Vt=Qn,this.hasBeenReset=!0}})),Object.defineProperty(F,"snapToLines",i({},B,{get:function(){return Wt},set:function(kn){Wt=!!kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"line",i({},B,{get:function(){return xn},set:function(kn){if(typeof kn!="number"&&kn!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");xn=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"lineAlign",i({},B,{get:function(){return Qt},set:function(kn){const Qn=r(kn);if(!Qn)throw new SyntaxError("An invalid or illegal string was specified.");Qt=Qn,this.hasBeenReset=!0}})),Object.defineProperty(F,"position",i({},B,{get:function(){return Mn},set:function(kn){if(kn<0||kn>100)throw new Error("Position must be between 0 and 100.");Mn=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"positionAlign",i({},B,{get:function(){return bn},set:function(kn){const Qn=r(kn);if(!Qn)throw new SyntaxError("An invalid or illegal string was specified.");bn=Qn,this.hasBeenReset=!0}})),Object.defineProperty(F,"size",i({},B,{get:function(){return $n},set:function(kn){if(kn<0||kn>100)throw new Error("Size must be between 0 and 100.");$n=kn,this.hasBeenReset=!0}})),Object.defineProperty(F,"align",i({},B,{get:function(){return Ar},set:function(kn){const Qn=r(kn);if(!Qn)throw new SyntaxError("An invalid or illegal string was specified.");Ar=Qn,this.hasBeenReset=!0}})),F.displayState=void 0}return s.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},s}();class io{decode(e,t){if(!e)return"";if(typeof e!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}function ao(o){function e(n,r,i,s){return(n|0)*3600+(r|0)*60+(i|0)+parseFloat(s||0)}const t=o.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 hi{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 Li(o,e,t,n){const r=n?o.split(n):[o];for(const i in r){if(typeof r[i]!="string")continue;const s=r[i].split(t);if(s.length!==2)continue;const c=s[0],p=s[1];e(c,p)}}const ma=new $a(0,0,""),Bi=ma.align==="middle"?"middle":"center";function Da(o,e,t){const n=o;function r(){const c=ao(o);if(c===null)throw new Error("Malformed timestamp: "+n);return o=o.replace(/^[^\sa-zA-Z-]+/,""),c}function i(c,p){const A=new hi;Li(c,function(ye,Fe){let Re;switch(ye){case"region":for(let Ue=t.length-1;Ue>=0;Ue--)if(t[Ue].id===Fe){A.set(ye,t[Ue].region);break}break;case"vertical":A.alt(ye,Fe,["rl","lr"]);break;case"line":Re=Fe.split(","),A.integer(ye,Re[0]),A.percent(ye,Re[0])&&A.set("snapToLines",!1),A.alt(ye,Re[0],["auto"]),Re.length===2&&A.alt("lineAlign",Re[1],["start",Bi,"end"]);break;case"position":Re=Fe.split(","),A.percent(ye,Re[0]),Re.length===2&&A.alt("positionAlign",Re[1],["start",Bi,"end","line-left","line-right","auto"]);break;case"size":A.percent(ye,Fe);break;case"align":A.alt(ye,Fe,["start",Bi,"end","left","right"]);break}},/:/,/\s/),p.region=A.get("region",null),p.vertical=A.get("vertical","");let F=A.get("line","auto");F==="auto"&&ma.line===-1&&(F=-1),p.line=F,p.lineAlign=A.get("lineAlign","start"),p.snapToLines=A.get("snapToLines",!0),p.size=A.get("size",100),p.align=A.get("align",Bi);let B=A.get("position","auto");B==="auto"&&ma.position===50&&(B=p.align==="start"||p.align==="left"?0:p.align==="end"||p.align==="right"?100:50),p.position=B}function s(){o=o.replace(/^\s+/,"")}if(s(),e.startTime=r(),s(),o.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+n);o=o.slice(3),s(),e.endTime=r(),s(),i(o,e)}function Pa(o){return o.replace(/<br(?: \/)?>/gi,`
`)}class Ka{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new io,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,s=0;for(i=Pa(i);s<i.length&&i[s]!=="\r"&&i[s]!==`
`;)++s;const c=i.slice(0,s);return i[s]==="\r"&&++s,i[s]===`
`&&++s,t.buffer=i.slice(s),c}function r(i){Li(i,function(s,c){},/:/)}try{let i="";if(t.state==="INITIAL"){if(!/\r\n|\n/.test(t.buffer))return this;i=n();const c=i.match(/^()?WEBVTT([ \t].*)?$/);if(!(c!=null&&c[0]))throw new Error("Malformed WebVTT signature.");t.state="HEADER"}let s=!1;for(;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(s?s=!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 $a(0,0,""),t.state="CUE",i.indexOf("-->")===-1){t.cue.id=i;continue}case"CUE":if(!t.cue){t.state="BADCUE";continue}try{Da(i,t.cue,t.regionList)}catch(c){t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":{const c=i.indexOf("-->")!==-1;if(!i||c&&(s=!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 gs=/\r\n|\n\r|\n|\r/g,so=function(e,t,n=0){return e.slice(n,n+t.length)===t},qo=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(!I(t)||!I(n)||!I(r)||!I(i))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${e}`);return t+=1e3*n,t+=60*1e3*r,t+=60*60*1e3*i,t},oo=function(e){let t=5381,n=e.length;for(;n;)t=t*33^e.charCodeAt(--n);return(t>>>0).toString()};function wo(o,e,t){return oo(o.toString())+oo(e.toString())+oo(t)}const Bo=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(;(s=i)!=null&&s.new;){var s;e.ccOffset+=r.start-i.start,r.new=!1,r=i,i=e[r.prevCC]}e.presentationOffset=n};function lo(o,e,t,n,r,i,s){const c=new Ka,p=Ye(new Uint8Array(o)).trim().replace(gs,`
`).split(`
`),A=[],F=e?yr(e.baseTime,e.timescale):0;let B="00:00.000",ye=0,Fe=0,Re,Ue=!0;c.oncue=function(We){const ct=t[n];let Vt=t.ccOffset;const Wt=(ye-F)/9e4;if(ct!=null&&ct.new&&(Fe!==void 0?Vt=t.ccOffset=ct.start:Bo(t,n,Wt)),Wt){if(!e){Re=new Error("Missing initPTS for VTT MPEGTS");return}Vt=Wt-t.presentationOffset}const xn=We.endTime-We.startTime,Qt=Un((We.startTime+Vt-Fe)*9e4,r*9e4)/9e4;We.startTime=Math.max(Qt,0),We.endTime=Math.max(Qt+xn,0);const Mn=We.text.trim();We.text=decodeURIComponent(encodeURIComponent(Mn)),We.id||(We.id=wo(We.startTime,We.endTime,Mn)),We.endTime>0&&A.push(We)},c.onparsingerror=function(We){Re=We},c.onflush=function(){if(Re){s(Re);return}i(A)},p.forEach(We=>{if(Ue)if(so(We,"X-TIMESTAMP-MAP=")){Ue=!1,We.slice(16).split(",").forEach(ct=>{so(ct,"LOCAL:")?B=ct.slice(6):so(ct,"MPEGTS:")&&(ye=parseInt(ct.slice(7)))});try{Fe=qo(B)/1e3}catch(ct){Re=ct}return}else We===""&&(Ue=!1);c.parse(We+`
`)}),c.flush()}const xs="stpp.ttml.im1t",Co=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Mo=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,Ko={left:"start",center:"center",right:"end",start:"start",end:"end"};function zo(o,e,t,n){const r=Ve(new Uint8Array(o),["mdat"]);if(r.length===0){n(new Error("Could not parse IMSC1 mdat"));return}const i=r.map(c=>Ye(c)),s=Bn(e.baseTime,1,e.timescale);try{i.forEach(c=>t(Ho(c,s)))}catch(c){n(c)}}function Ho(o,e){const r=new DOMParser().parseFromString(o,"text/xml").getElementsByTagName("tt")[0];if(!r)throw new Error("Invalid ttml");const i={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},s=Object.keys(i).reduce((B,ye)=>(B[ye]=r.getAttribute(`ttp:${ye}`)||i[ye],B),{}),c=r.getAttribute("xml:space")!=="preserve",p=Ro(Bs(r,"styling","style")),A=Ro(Bs(r,"layout","region")),F=Bs(r,"body","[begin]");return[].map.call(F,B=>{const ye=jo(B,c);if(!ye||!B.hasAttribute("begin"))return null;const Fe=To(B.getAttribute("begin"),s),Re=To(B.getAttribute("dur"),s);let Ue=To(B.getAttribute("end"),s);if(Fe===null)throw Vo(B);if(Ue===null){if(Re===null)throw Vo(B);Ue=Fe+Re}const We=new $a(Fe-e,Ue-e,ye);We.id=wo(We.startTime,We.endTime,We.text);const ct=A[B.getAttribute("region")],Vt=p[B.getAttribute("style")],Wt=Wo(ct,Vt,p),{textAlign:xn}=Wt;if(xn){const Qt=Ko[xn];Qt&&(We.lineAlign=Qt),We.align=xn}return a(We,Wt),We}).filter(B=>B!==null)}function Bs(o,e,t){const n=o.getElementsByTagName(e)[0];return n?[].slice.call(n.querySelectorAll(t)):[]}function Ro(o){return o.reduce((e,t)=>{const n=t.getAttribute("xml:id");return n&&(e[n]=t),e},{})}function jo(o,e){return[].slice.call(o.childNodes).reduce((t,n,r)=>{var i;return n.nodeName==="br"&&r?t+`
`:(i=n.childNodes)!=null&&i.length?jo(n,e):e?t+n.textContent.trim().replace(/\s+/g," "):t+n.textContent},"")}function Wo(o,e,t){const n="http://www.w3.org/ns/ttml#styling";let r=null;const i=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],s=o!=null&&o.hasAttribute("style")?o.getAttribute("style"):null;return s&&t.hasOwnProperty(s)&&(r=t[s]),i.reduce((c,p)=>{const A=uo(e,n,p)||uo(o,n,p)||uo(r,n,p);return A&&(c[p]=A),c},{})}function uo(o,e,t){return o&&o.hasAttributeNS(e,t)?o.getAttributeNS(e,t):null}function Vo(o){return new Error(`Could not parse ttml timestamp ${o}`)}function To(o,e){if(!o)return null;let t=ao(o);return t===null&&(Co.test(o)?t=Xo(o,e):Mo.test(o)&&(t=Go(o,e))),t}function Xo(o,e){const t=Co.exec(o),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 Go(o,e){const t=Mo.exec(o),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 co{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=Do(),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(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.on(u.FRAG_LOADING,this.onFragLoading,this),e.on(u.FRAG_LOADED,this.onFragLoaded,this),e.on(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.on(u.FRAG_DECRYPTED,this.onFragDecrypted,this),e.on(u.INIT_PTS_FOUND,this.onInitPtsFound,this),e.on(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.on(u.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:e}=this;e.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(u.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),e.off(u.FRAG_LOADING,this.onFragLoading,this),e.off(u.FRAG_LOADED,this.onFragLoaded,this),e.off(u.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),e.off(u.FRAG_DECRYPTED,this.onFragDecrypted,this),e.off(u.INIT_PTS_FOUND,this.onInitPtsFound,this),e.off(u.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),e.off(u.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){if(this.config.enableCEA708Captions&&(!this.cea608Parser1||!this.cea608Parser2)){const e=new es(this,"textTrack1"),t=new es(this,"textTrack2"),n=new es(this,"textTrack3"),r=new es(this,"textTrack4");this.cea608Parser1=new $i(1,e,t),this.cea608Parser2=new $i(3,n,r)}}addCues(e,t,n,r,i){let s=!1;for(let c=i.length;c--;){const p=i[c],A=Zo(p[0],p[1],t,n);if(A>=0&&(p[0]=Math.min(p[0],t),p[1]=Math.max(p[1],n),s=!0,A/(n-t)>.5))return}if(s||i.push([t,n]),this.config.renderTextTracksNatively){const c=this.captionsTracks[e];this.Cues.newCue(c,t,n,r)}else{const c=this.Cues.newCue(null,t,n,r);this.hls.trigger(u.CUES_PARSED,{type:"captions",cues:c,track:e})}}onInitPtsFound(e,{frag:t,id:n,initPTS:r,timescale:i}){const{unparsedVttFrags:s}=this;n==="main"&&(this.initPTS[t.cc]={baseTime:r,timescale:i}),s.length&&(this.unparsedVttFrags=[],s.forEach(c=>{this.onFragLoaded(u.FRAG_LOADED,c)}))}getExistingTrack(e,t){const{media:n}=this;if(n)for(let r=0;r<n.textTracks.length;r++){const i=n.textTracks[r];if(ho(i,{name:e,lang:t,attrs:{}}))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:s}=t[e],c=this.getExistingTrack(i,s);if(c)n[e]=c,jr(n[e]),Cr(n[e],r);else{const p=this.createTextTrack("captions",i,s);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(u.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,this._cleanTracks()}onMediaDetaching(){const{captionsTracks:e}=this;Object.keys(e).forEach(t=>{jr(e[t]),delete e[t]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Do(),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++)jr(t[n])}onSubtitleTracksUpdated(e,t){const n=t.subtitleTracks||[],r=n.some(i=>i.textCodec===xs);if(this.config.enableWebVTT||r&&this.config.enableIMSC1){if(ir(this.tracks,n)){this.tracks=n;return}if(this.textTracks=[],this.tracks=n,this.config.renderTextTracksNatively){const s=this.media,c=s?On(s.textTracks):null;if(this.tracks.forEach((p,A)=>{let F;if(c){let B=null;for(let ye=0;ye<c.length;ye++)if(c[ye]&&ho(c[ye],p)){B=c[ye],c[ye]=null;break}B&&(F=B)}if(F)jr(F);else{const B=fo(p);F=this.createTextTrack(B,p.name,p.lang),F&&(F.mode="disabled")}F&&this.textTracks.push(F)}),c!=null&&c.length){const p=c.filter(A=>A!==null).map(A=>A.label);p.length&&b.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 s=this.tracks.map(c=>({label:c.name,kind:c.type.toLowerCase(),default:c.default,subtitleTrack:c}));this.hls.trigger(u.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:s})}}}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]}`,s=this.captionsProperties[i];s&&(s.label=n.name,n.lang&&(s.languageCode=n.lang),s.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===at.MAIN){var n,r;const{cea608Parser1:i,cea608Parser2:s,lastSn:c}=this,{cc:p,sn:A}=t.frag,F=(n=(r=t.part)==null?void 0:r.index)!=null?n:-1;i&&s&&(A!==c+1||A===c&&F!==this.lastPartIndex+1||p!==this.lastCc)&&(i.reset(),s.reset()),this.lastCc=p,this.lastSn=A,this.lastPartIndex=F}}onFragLoaded(e,t){const{frag:n,payload:r}=t;if(n.type===at.SUBTITLE)if(r.byteLength){const i=n.decryptdata,s="stats"in t;if(i==null||!i.encrypted||s){const c=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),c&&c.textCodec===xs?this._parseIMSC1(n,r):this._parseVTTs(t)}}else this.hls.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:new Error("Empty subtitle payload")})}_parseIMSC1(e,t){const n=this.hls;zo(t,this.initPTS[e.cc],r=>{this._appendCues(r,e.level),n.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})},r=>{b.log(`Failed to parse IMSC1: ${r}`),n.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e,error:r})})}_parseVTTs(e){var t;const{frag:n,payload:r}=e,{initPTS:i,unparsedVttFrags:s}=this,c=i.length-1;if(!i[n.cc]&&c===-1){s.push(e);return}const p=this.hls,A=(t=n.initSegment)!=null&&t.data?Rt(n.initSegment.data,new Uint8Array(r)):r;lo(A,this.initPTS[n.cc],this.vttCCs,n.cc,n.start,F=>{this._appendCues(F,n.level),p.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:n})},F=>{const B=F.message==="Missing initPTS for VTT MPEGTS";B?s.push(e):this._fallbackToIMSC1(n,r),b.log(`Failed to parse VTT cue: ${F}`),!(B&&c>n.cc)&&p.trigger(u.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:n,error:F})})}_fallbackToIMSC1(e,t){const n=this.tracks[e.level];n.textCodec||zo(t,this.initPTS[e.cc],()=>{n.textCodec=xs,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=>Nr(r,i))}else{const r=this.tracks[t];if(!r)return;const i=r.default?"default":"subtitles"+t;n.trigger(u.CUES_PARSED,{type:"subtitles",cues:e,track:i})}}onFragDecrypted(e,t){const{frag:n}=t;n.type===at.SUBTITLE&&this.onFragLoaded(u.FRAG_LOADED,t)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(e,t){this.initCea608Parsers();const{cea608Parser1:n,cea608Parser2:r}=this;if(!this.enabled||!n||!r)return;const{frag:i,samples:s}=t;if(!(i.type===at.MAIN&&this.closedCaptionsForLevel(i)==="NONE"))for(let c=0;c<s.length;c++){const p=s[c].bytes;if(p){const A=this.extractCea608Data(p);n.addData(s[c].pts,A[0]),r.addData(s[c].pts,A[1])}}}onBufferFlushing(e,{startOffset:t,endOffset:n,endOffsetSubtitles:r,type:i}){const{media:s}=this;if(!(!s||s.currentTime<n)){if(!i||i==="video"){const{captionsTracks:c}=this;Object.keys(c).forEach(p=>Sr(c[p],t,n))}if(this.config.renderTextTracksNatively&&t===0&&r!==void 0){const{textTracks:c}=this;Object.keys(c).forEach(p=>Sr(c[p],t,r))}}}extractCea608Data(e){const t=[[],[]],n=e[0]&31;let r=2;for(let i=0;i<n;i++){const s=e[r++],c=127&e[r++],p=127&e[r++];if(c===0&&p===0)continue;if((4&s)!==0){const F=3&s;(F===0||F===1)&&(t[F].push(c),t[F].push(p))}}return t}}function fo(o){return o.characteristics&&/transcribes-spoken-dialog/gi.test(o.characteristics)&&/describes-music-and-sound/gi.test(o.characteristics)?"captions":"subtitles"}function ho(o,e){return!!o&&o.kind===fo(e)&&rr(e,o)}function Zo(o,e,t,n){return Math.min(e,n)-Math.max(o,t)}function Do(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}class po{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(u.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.on(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(u.BUFFER_CODECS,this.onBufferCodecs,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:e}=this;e.off(u.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),e.off(u.MEDIA_ATTACHING,this.onMediaAttaching,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(u.BUFFER_CODECS,this.onBufferCodecs,this),e.off(u.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&&I(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(e,t){this.hls.config.capLevelToPlayerSize&&t.video&&this.startCapping()}onMediaDetaching(){this.stopCapping()}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&&b.log(`Setting autoLevelCapping to ${n}: ${e[n].height}p@${e[n].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),t.autoLevelCapping=n,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,po.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 e}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=(c,p)=>p?c.width!==p.width||c.height!==p.height:!0;let i=e.length-1;const s=Math.max(t,n);for(let c=0;c<e.length;c+=1){const p=e[c];if((p.width>=s||p.height>=s)&&r(p,e[c+1])){i=c;break}}return i}}class $o{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(u.MEDIA_ATTACHING,this.onMediaAttaching,this)}unregisterListeners(){this.hls.off(u.MEDIA_ATTACHING,this.onMediaAttaching,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)}}checkFPS(e,t,n){const r=performance.now();if(t){if(this.lastTime){const i=r-this.lastTime,s=n-this.lastDroppedFrames,c=t-this.lastDecodedFrames,p=1e3*s/i,A=this.hls;if(A.trigger(u.FPS_DROP,{currentDropped:s,currentDecoded:c,totalDroppedFrames:n}),p>0&&s>A.config.fpsDroppedMonitoringThreshold*c){let F=A.currentLevel;b.warn("drop FPS ratio greater than max allowed value for currentLevel: "+F),F>0&&(A.autoLevelCapping===-1||A.autoLevelCapping>=F)&&(F=F-1,A.trigger(u.FPS_DROP_LEVEL_CAPPING,{level:F,droppedLevel:A.currentLevel}),A.autoLevelCapping=F,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)}}const mo="[eme]";class Is{constructor(e){this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=Is.CDMCleanupPromise?[Is.CDMCleanupPromise]:[],this.debug=b.debug.bind(b,mo),this.log=b.log.bind(b,mo),this.warn=b.warn.bind(b,mo),this.error=b.error.bind(b,mo),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 s=Object.keys(this.keySystemAccessPromises);s.length||(s=Jt(this.config));const c=s.map(Pt).filter(p=>!!p);this.keyFormatPromise=this.getKeyFormatPromise(c)}this.keyFormatPromise.then(s=>{const c=lt(s);let p,A;if(n==="sinf"){if(c!==Ie.FAIRPLAY){this.warn(`Ignoring unexpected "${t.type}" event with init data type: "${n}" for selected key-system ${c}`);return}const Re=_t(new Uint8Array(r));try{const Ue=v(JSON.parse(Re).sinf),We=an(Ue);if(!We)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");p=We.subarray(8,24),A=Ie.FAIRPLAY}catch(Ue){this.warn(`${i} Failed to parse sinf: ${Ue}`);return}}else{if(c!==Ie.WIDEVINE&&c!==Ie.PLAYREADY){this.warn(`Ignoring unexpected "${t.type}" event with init data type: "${n}" for selected key-system ${c}`);return}const Re=Dt(r),Ue=Re.filter(ct=>!!ct.systemId&&it(ct.systemId)===c);Ue.length>1&&this.warn(`${i} Using first of ${Ue.length} pssh found for selected key-system ${c}`);const We=Ue[0];if(!We){Re.length===0||Re.some(ct=>!ct.systemId)?this.warn(`${i} contains incomplete or invalid pssh data`):this.log(`ignoring ${i} for ${Re.map(ct=>it(ct.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(A=it(We.systemId),We.version===0&&We.data)if(A===Ie.WIDEVINE){const ct=We.data.length-22;p=We.data.subarray(ct,ct+16)}else A===Ie.PLAYREADY&&(p=ot(We.data))}if(!A||!p){this.log(`Unable to handle ${i} with key-system ${c}`);return}const F=vt.hexDump(p),{keyIdToKeySessionPromise:B,mediaKeySessions:ye}=this;let Fe=B[F];for(let Re=0;Re<ye.length;Re++){const Ue=ye[Re],We=Ue.decryptdata;if(!We.keyId)continue;const ct=vt.hexDump(We.keyId);if(F===ct||We.uri.replace(/-/g,"").indexOf(F)!==-1){if(Fe=B[ct],We.pssh)break;delete B[ct],We.pssh=new Uint8Array(r),We.keyId=p,Fe=B[F]=Fe.then(()=>this.generateRequestWithPreferredKeySession(Ue,n,r,"encrypted-event-key-match")),Fe.catch(Vt=>this.handleError(Vt));break}}if(!Fe){if(A!==c){this.log(`Ignoring "${i}" with ${A} init data for selected key-system ${c}`);return}Fe=B[F]=this.getKeySystemSelectionPromise([A]).then(({keySystem:Re,mediaKeys:Ue})=>{var We;this.throwIfDestroyed();const ct=new Kt("ISO-23001-7",F,(We=Pt(Re))!=null?We:"");return ct.pssh=new Uint8Array(r),ct.keyId=p,this.attemptSetMediaKeys(Re,Ue).then(()=>{this.throwIfDestroyed();const Vt=this.createMediaKeySessionContext({decryptdata:ct,keySystem:Re,mediaKeys:Ue});return this.generateRequestWithPreferredKeySession(Vt,n,r,"encrypted-event-no-match")})}),Fe.catch(Re=>this.handleError(Re))}})}},this.onWaitingForKey=t=>{this.log(`"${t.type}" event`)},this.hls=e,this.config=e.config,this.registerListeners()}destroy(){this.unregisterListeners(),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(u.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(u.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(u.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(u.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(u.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(u.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(u.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(e){const{drmSystems:t,widevineLicenseUrl:n}=this.config,r=t[e];if(r)return r.licenseUrl;if(e===Ie.WIDEVINE&&n)return n}getLicenseServerUrlOrThrow(e){const t=this.getLicenseServerUrl(e);if(t===void 0)throw new Error(`no license server URL configured for key-system "${e}"`);return t}getServerCertificateUrl(e){const{drmSystems:t}=this.config,n=t[e];if(n)return n.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${e}"]`)}attemptKeySystemAccess(e){const t=this.hls.levels,n=(s,c,p)=>!!s&&p.indexOf(s)===c,r=t.map(s=>s.audioCodec).filter(n),i=t.map(s=>s.videoCodec).filter(n);return r.length+i.length===0&&i.push("avc1.42e01e"),new Promise((s,c)=>{const p=A=>{const F=A.shift();this.getMediaKeysPromise(F,r,i).then(B=>s({keySystem:F,mediaKeys:B})).catch(B=>{A.length?p(A):B instanceof ja?c(B):c(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_NO_ACCESS,error:B,fatal:!0},B.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 rn===null&&self.location.protocol==="http:"&&(r=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(r))}return n(e,t)}getMediaKeysPromise(e,t,n){const r=It(e,t,n,this.config.drmSystemOptions),i=this.keySystemAccessPromises[e];let s=i==null?void 0:i.keySystemAccess;if(!s){this.log(`Requesting encrypted media "${e}" key-system access with config: ${JSON.stringify(r)}`),s=this.requestMediaKeySystemAccess(e,r);const c=this.keySystemAccessPromises[e]={keySystemAccess:s};return s.catch(p=>{this.log(`Failed to obtain access to key-system "${e}": ${p}`)}),s.then(p=>{this.log(`Access for key-system "${p.keySystem}" obtained`);const A=this.fetchServerCertificate(e);return this.log(`Create media-keys for "${e}"`),c.mediaKeys=p.createMediaKeys().then(F=>(this.log(`Media-keys created for "${e}"`),A.then(B=>B?this.setMediaKeysServerCertificate(F,e,B):F))),c.mediaKeys.catch(F=>{this.error(`Failed to create media-keys for "${e}"}: ${F}`)}),c.mediaKeys})}return s.then(()=>i.mediaKeys)}createMediaKeySessionContext({decryptdata:e,keySystem:t,mediaKeys:n}){this.log(`Creating key-system session "${t}" keyId: ${vt.hexDump(e.keyId||[])}`);const r=n.createSession(),i={decryptdata:e,keySystem:t,mediaKeys:n,mediaKeysSession:r,keyStatus:"status-pending"};return this.mediaKeySessions.push(i),i}renewKeySession(e){const t=e.decryptdata;if(t.pssh){const n=this.createMediaKeySessionContext(e),r=this.getKeyIdString(t),i="cenc";this.keyIdToKeySessionPromise[r]=this.generateRequestWithPreferredKeySession(n,i,t.pssh,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(e)}getKeyIdString(e){if(!e)throw new Error("Could not read keyId of undefined decryptdata");if(e.keyId===null)throw new Error("keyId is null");return vt.hexDump(e.keyId)}updateKeySession(e,t){var n;const r=e.mediaKeysSession;return this.log(`Updating key-session "${r.sessionId}" for keyID ${vt.hexDump(((n=e.decryptdata)==null?void 0:n.keyId)||[])}
} (data length: ${t&&t.byteLength})`),r.update(t)}selectKeySystemFormat(e){const t=Object.keys(e.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${e.sn} ${e.type}: ${e.level}) key formats ${t.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(t)),this.keyFormatPromise}getKeyFormatPromise(e){return new Promise((t,n)=>{const r=Jt(this.config),i=e.map(lt).filter(s=>!!s&&r.indexOf(s)!==-1);return this.getKeySystemSelectionPromise(i).then(({keySystem:s})=>{const c=Pt(s);c?t(c):n(new Error(`Unable to find format for key-system "${s}"`))}).catch(n)})}loadKey(e){const t=e.keyInfo.decryptdata,n=this.getKeyIdString(t),r=`(keyId: ${n} format: "${t.keyFormat}" method: ${t.method} uri: ${t.uri})`;this.log(`Starting session for key ${r}`);let i=this.keyIdToKeySessionPromise[n];return i||(i=this.keyIdToKeySessionPromise[n]=this.getKeySystemForKeyPromise(t).then(({keySystem:s,mediaKeys:c})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${e.frag.sn} ${e.frag.type}: ${e.frag.level} using key ${r}`),this.attemptSetMediaKeys(s,c).then(()=>{this.throwIfDestroyed();const p=this.createMediaKeySessionContext({keySystem:s,mediaKeys:c,decryptdata:t});return this.generateRequestWithPreferredKeySession(p,"cenc",t.pssh,"playlist-key")}))),i.catch(s=>this.handleError(s))),i}throwIfDestroyed(e="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(e){this.hls&&(this.error(e.message),e instanceof ja?this.hls.trigger(u.ERROR,e.data):this.hls.trigger(u.ERROR,{type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_NO_KEYS,error:e,fatal:!0}))}getKeySystemForKeyPromise(e){const t=this.getKeyIdString(e),n=this.keyIdToKeySessionPromise[t];if(!n){const r=lt(e.keyFormat),i=r?[r]:Jt(this.config);return this.attemptKeySystemAccess(i)}return n}getKeySystemSelectionPromise(e){if(e.length||(e=Jt(this.config)),e.length===0)throw new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${JSON.stringify({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(e)}attemptSetMediaKeys(e,t){const n=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${e}"`);const r=Promise.all(n).then(()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(t)});return this.setMediaKeysQueue.push(r),r.then(()=>{this.log(`Media-keys set for "${e}"`),n.push(r),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(i=>n.indexOf(i)===-1)})}generateRequestWithPreferredKeySession(e,t,n,r){var i,s;const c=(i=this.config.drmSystems)==null||(s=i[e.keySystem])==null?void 0:s.generateRequest;if(c)try{const Re=c.call(this.hls,t,n,e);if(!Re)throw new Error("Invalid response from configured generateRequest filter");t=Re.initDataType,n=e.decryptdata.pssh=Re.initData?new Uint8Array(Re.initData):null}catch(Re){var p;if(this.warn(Re.message),(p=this.hls)!=null&&p.config.debug)throw Re}if(n===null)return this.log(`Skipping key-session request for "${r}" (no initData)`),Promise.resolve(e);const A=this.getKeyIdString(e.decryptdata);this.log(`Generating key-session request for "${r}": ${A} (init data type: ${t} length: ${n?n.byteLength:null})`);const F=new qt,B=e._onmessage=Re=>{const Ue=e.mediaKeysSession;if(!Ue){F.emit("error",new Error("invalid state"));return}const{messageType:We,message:ct}=Re;this.log(`"${We}" message event for session "${Ue.sessionId}" message size: ${ct.byteLength}`),We==="license-request"||We==="license-renewal"?this.renewLicense(e,ct).catch(Vt=>{this.handleError(Vt),F.emit("error",Vt)}):We==="license-release"?e.keySystem===Ie.FAIRPLAY&&(this.updateKeySession(e,Le("acknowledged")),this.removeSession(e)):this.warn(`unhandled media key message type "${We}"`)},ye=e._onkeystatuseschange=Re=>{if(!e.mediaKeysSession){F.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(e);const We=e.keyStatus;F.emit("keyStatus",We),We==="expired"&&(this.warn(`${e.keySystem} expired for key ${A}`),this.renewKeySession(e))};e.mediaKeysSession.addEventListener("message",B),e.mediaKeysSession.addEventListener("keystatuseschange",ye);const Fe=new Promise((Re,Ue)=>{F.on("error",Ue),F.on("keyStatus",We=>{We.startsWith("usable")?Re():We==="output-restricted"?Ue(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):We==="internal-error"?Ue(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${We}"`)):We==="expired"?Ue(new Error("key expired while generating request")):this.warn(`unhandled key status change "${We}"`)})});return e.mediaKeysSession.generateRequest(t,n).then(()=>{var Re;this.log(`Request generated for key-session "${(Re=e.mediaKeysSession)==null?void 0:Re.sessionId}" keyId: ${A}`)}).catch(Re=>{throw new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_NO_SESSION,error:Re,fatal:!1},`Error generating key-session request: ${Re}`)}).then(()=>Fe).catch(Re=>{throw F.removeAllListeners(),this.removeSession(e),Re}).then(()=>(F.removeAllListeners(),e))}onKeyStatusChange(e){e.mediaKeysSession.keyStatuses.forEach((t,n)=>{this.log(`key status change "${t}" for keyStatuses keyId: ${vt.hexDump("buffer"in n?new Uint8Array(n.buffer,n.byteOffset,n.byteLength):new Uint8Array(n))} session keyId: ${vt.hexDump(new Uint8Array(e.decryptdata.keyId||[]))} uri: ${e.decryptdata.uri}`),e.keyStatus=t})}fetchServerCertificate(e){const t=this.config,n=t.loader,r=new n(t),i=this.getServerCertificateUrl(e);return i?(this.log(`Fetching server certificate for "${e}"`),new Promise((s,c)=>{const p={responseType:"arraybuffer",url:i},A=t.certLoadPolicy.default,F={loadPolicy:A,timeout:A.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},B={onSuccess:(ye,Fe,Re,Ue)=>{s(ye.data)},onError:(ye,Fe,Re,Ue)=>{c(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Re,response:$({url:p.url,data:void 0},ye)},`"${e}" certificate request failed (${i}). Status: ${ye.code} (${ye.text})`))},onTimeout:(ye,Fe,Re)=>{c(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Re,response:{url:p.url,data:void 0}},`"${e}" certificate request timed out (${i})`))},onAbort:(ye,Fe,Re)=>{c(new Error("aborted"))}};r.load(p,F,B)})):Promise.resolve()}setMediaKeysServerCertificate(e,t,n){return new Promise((r,i)=>{e.setServerCertificate(n).then(s=>{this.log(`setServerCertificate ${s?"success":"not supported by CDM"} (${n==null?void 0:n.byteLength}) on "${t}"`),r(e)}).catch(s=>{i(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:s,fatal:!0},s.message))})})}renewLicense(e,t){return this.requestLicense(e,new Uint8Array(t)).then(n=>this.updateKeySession(e,new Uint8Array(n)).catch(r=>{throw new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:r,fatal:!0},r.message)}))}unpackPlayReadyKeyMessage(e,t){const n=String.fromCharCode.apply(null,new Uint16Array(t.buffer));if(!n.includes("PlayReadyKeyMessage"))return e.setRequestHeader("Content-Type","text/xml; charset=utf-8"),t;const r=new DOMParser().parseFromString(n,"application/xml"),i=r.querySelectorAll("HttpHeader");if(i.length>0){let F;for(let B=0,ye=i.length;B<ye;B++){var s,c;F=i[B];const Fe=(s=F.querySelector("name"))==null?void 0:s.textContent,Re=(c=F.querySelector("value"))==null?void 0:c.textContent;Fe&&Re&&e.setRequestHeader(Fe,Re)}}const p=r.querySelector("Challenge"),A=p==null?void 0:p.textContent;if(!A)throw new Error("Cannot find <Challenge> in key message");return Le(atob(A))}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(s=>{if(!n.decryptdata)throw s;return e.open("POST",t,!0),i.call(this.hls,e,t,n,r)}).then(s=>(e.readyState||e.open("POST",t,!0),{xhr:e,licenseChallenge:s||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 s=this.getLicenseServerUrlOrThrow(e.keySystem);this.log(`Sending license request to URL: ${s}`);const c=new XMLHttpRequest;c.responseType="arraybuffer",c.onreadystatechange=()=>{if(!this.hls||!e.mediaKeysSession)return i(new Error("invalid state"));if(c.readyState===4)if(c.status===200){this._requestLicenseFailureCount=0;let p=c.response;this.log(`License received ${p instanceof ArrayBuffer?p.byteLength:p}`);const A=this.config.licenseResponseCallback;if(A)try{p=A.call(this.hls,c,s,e)}catch(F){this.error(F)}r(p)}else{const p=n.errorRetry,A=p?p.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>A||c.status>=400&&c.status<500)i(new ja({type:x.KEY_SYSTEM_ERROR,details:m.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:c,response:{url:s,data:void 0,code:c.status,text:c.statusText}},`License Request XHR failed (${s}). Status: ${c.status} (${c.statusText})`));else{const F=A-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${F} attempts left`),this.requestLicense(e,t).then(r,i)}}},e.licenseXhr&&e.licenseXhr.readyState!==XMLHttpRequest.DONE&&e.licenseXhr.abort(),e.licenseXhr=c,this.setupLicenseXHR(c,s,e,t).then(({xhr:p,licenseChallenge:A})=>{e.keySystem==Ie.PLAYREADY&&(A=this.unpackPlayReadyKeyMessage(p,A)),p.send(A)})})}onMediaAttached(e,t){if(!this.config.emeEnabled)return;const n=t.media;this.media=n,n.removeEventListener("encrypted",this.onMediaEncrypted),n.removeEventListener("waitingforkey",this.onWaitingForKey),n.addEventListener("encrypted",this.onMediaEncrypted),n.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const e=this.media,t=this.mediaKeySessions;e&&(e.removeEventListener("encrypted",this.onMediaEncrypted),e.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null),this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Kt.clearKeyUriToKeyIdMap();const n=t.length;Is.CDMCleanupPromise=Promise.all(t.map(r=>this.removeSession(r)).concat(e==null?void 0:e.setMediaKeys(null).catch(r=>{this.log(`Could not clear media keys: ${r}`)}))).then(()=>{n&&(this.log("finished closing key sessions and clearing media keys"),t.length=0)}).catch(r=>{this.log(`Could not close sessions and clear media keys: ${r}`)})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(e,{sessionKeys:t}){if(!(!t||!this.config.emeEnabled)&&!this.keyFormatPromise){const n=t.reduce((r,i)=>(r.indexOf(i.keyFormat)===-1&&r.push(i.keyFormat),r),[]);this.log(`Selecting key-system from session-keys ${n.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(n)}}removeSession(e){const{mediaKeysSession:t,licenseXhr:n}=e;if(t){this.log(`Remove licenses and keys and close session ${t.sessionId}`),e._onmessage&&(t.removeEventListener("message",e._onmessage),e._onmessage=void 0),e._onkeystatuseschange&&(t.removeEventListener("keystatuseschange",e._onkeystatuseschange),e._onkeystatuseschange=void 0),n&&n.readyState!==XMLHttpRequest.DONE&&n.abort(),e.mediaKeysSession=e.decryptdata=e.licenseXhr=void 0;const r=this.mediaKeySessions.indexOf(e);return r>-1&&this.mediaKeySessions.splice(r,1),t.remove().catch(i=>{this.log(`Could not remove session: ${i}`)}).then(()=>t.close()).catch(i=>{this.log(`Could not close session: ${i}`)})}}}Is.CDMCleanupPromise=void 0;class ja 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}}var Fa;(function(o){o.MANIFEST="m",o.AUDIO="a",o.VIDEO="v",o.MUXED="av",o.INIT="i",o.CAPTION="c",o.TIMED_TEXT="tt",o.KEY="k",o.OTHER="o"})(Fa||(Fa={}));var $s;(function(o){o.DASH="d",o.HLS="h",o.SMOOTH="s",o.OTHER="o"})($s||($s={}));var As;(function(o){o.OBJECT="CMCD-Object",o.REQUEST="CMCD-Request",o.SESSION="CMCD-Session",o.STATUS="CMCD-Status"})(As||(As={}));const el={[As.OBJECT]:["br","d","ot","tb"],[As.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[As.SESSION]:["cid","pr","sf","sid","st","v"],[As.STATUS]:["bs","rtp"]};class pi{constructor(e,t){this.value=void 0,this.params=void 0,Array.isArray(e)&&(e=e.map(n=>n instanceof pi?n:new pi(n))),this.value=e,this.params=t}}class Hi{constructor(e){this.description=void 0,this.description=e}}const Ya="Dict";function Es(o){return Array.isArray(o)?JSON.stringify(o):o instanceof Map?"Map{}":o instanceof Set?"Set{}":typeof o=="object"?JSON.stringify(o):String(o)}function _s(o,e,t,n){return new Error(`failed to ${o} "${Es(e)}" as ${t}`,{cause:n})}const Fo="Bare Item",Io="Boolean",ko="Byte Sequence",Oo="Decimal",Lo="Integer";function _l(o){return o<-999999999999999||999999999999999<o}const wl=/[\x00-\x1f\x7f]+/,Cl="Token",Rl="Key";function ws(o,e,t){return _s("serialize",o,e,t)}function Tl(o){if(typeof o!="boolean")throw ws(o,Io);return o?"?1":"?0"}function Dl(o){return btoa(String.fromCharCode(...o))}function Fl(o){if(ArrayBuffer.isView(o)===!1)throw ws(o,ko);return`:${Dl(o)}:`}function ol(o){if(_l(o))throw ws(o,Lo);return o.toString()}function Il(o){return`@${ol(o.getTime()/1e3)}`}function ll(o,e){if(o<0)return-ll(-o,e);const t=Math.pow(10,e);if(Math.abs(o*t%1-.5)<Number.EPSILON){const r=Math.floor(o*t);return(r%2===0?r:r+1)/t}else return Math.round(o*t)/t}function kl(o){const e=ll(o,3);if(Math.floor(Math.abs(e)).toString().length>12)throw ws(o,Oo);const t=e.toString();return t.includes(".")?t:`${t}.0`}const Ol="String";function Ll(o){if(wl.test(o))throw ws(o,Ol);return`"${o.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Nl(o){return o.description||o.toString().slice(7,-1)}function ul(o){const e=Nl(o);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(e)===!1)throw ws(e,Cl);return e}function tl(o){switch(typeof o){case"number":if(!I(o))throw ws(o,Fo);return Number.isInteger(o)?ol(o):kl(o);case"string":return Ll(o);case"symbol":return ul(o);case"boolean":return Tl(o);case"object":if(o instanceof Date)return Il(o);if(o instanceof Uint8Array)return Fl(o);if(o instanceof Hi)return ul(o);default:throw ws(o,Fo)}}function nl(o){if(/^[a-z*][a-z0-9\-_.*]*$/.test(o)===!1)throw ws(o,Rl);return o}function rl(o){return o==null?"":Object.entries(o).map(([e,t])=>t===!0?`;${nl(e)}`:`;${nl(e)}=${tl(t)}`).join("")}function cl(o){return o instanceof pi?`${tl(o.value)}${rl(o.params)}`:tl(o)}function Pl(o){return`(${o.value.map(cl).join(" ")})${rl(o.params)}`}function Ul(o,e={whitespace:!0}){if(typeof o!="object")throw ws(o,Ya);const t=o instanceof Map?o.entries():Object.entries(o),n=e!=null&&e.whitespace?" ":"";return Array.from(t).map(([r,i])=>{i instanceof pi||(i=new pi(i));let s=nl(r);return i.value===!0?s+=rl(i.params):(s+="=",Array.isArray(i.value)?s+=Pl(i):s+=cl(i)),s}).join(`,${n}`)}function Bl(o,e){return Ul(o,e)}const Ml=o=>o==="ot"||o==="sf"||o==="st",Kl=o=>typeof o=="number"?I(o):o!=null&&o!==""&&o!==!1;function zl(o,e){const t=new URL(o),n=new URL(e);if(t.origin!==n.origin)return o;const r=t.pathname.split("/").slice(1),i=n.pathname.split("/").slice(1,-1);for(;r[0]===i[0];)r.shift(),i.shift();for(;i.length;)i.shift(),r.unshift("..");return r.join("/")}function Hl(){try{return crypto.randomUUID()}catch(o){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)})}}}const Yo=o=>Math.round(o),jl=(o,e)=>(e!=null&&e.baseUrl&&(o=zl(o,e.baseUrl)),encodeURIComponent(o)),Qo=o=>Yo(o/100)*100,Wl={br:Yo,d:Yo,bl:Qo,dl:Qo,mtp:Qo,nor:jl,rtp:Qo,tb:Yo};function Vl(o,e){const t={};if(o==null||typeof o!="object")return t;const n=Object.keys(o).sort(),r=a({},Wl,e==null?void 0:e.formatters),i=e==null?void 0:e.filter;return n.forEach(s=>{if(i!=null&&i(s))return;let c=o[s];const p=r[s];p&&(c=p(c,e)),!(s==="v"&&c===1)&&(s=="pr"&&c===1||Kl(c)&&(Ml(s)&&typeof c=="string"&&(c=new Hi(c)),t[s]=c))}),t}function dl(o,e={}){return o?Bl(Vl(o,e),a({whitespace:!1},e)):""}function Gl(o,e={}){if(!o)return{};const t=Object.entries(o),n=Object.entries(el).concat(Object.entries((e==null?void 0:e.customHeaderMap)||{})),r=t.reduce((i,s)=>{var c,p;const[A,F]=s,B=((c=n.find(ye=>ye[1].includes(A)))==null?void 0:c[0])||As.REQUEST;return(p=i[B])!=null||(i[B]={}),i[B][A]=F,i},{});return Object.entries(r).reduce((i,[s,c])=>(i[s]=dl(c,e),i),{})}function Zl(o,e,t){return a(o,Gl(e,t))}const $l="CMCD";function Yl(o,e={}){if(!o)return"";const t=dl(o,e);return`${$l}=${encodeURIComponent(t)}`}const fl=/CMCD=[^&#]+/;function Ql(o,e,t){const n=Yl(e,t);if(!n)return o;if(fl.test(o))return o.replace(fl,n);const r=o.includes("?")?"&":"?";return`${o}${r}${n}`}class Jl{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:Fa.MANIFEST,su:!this.initialized})}catch(i){b.warn("Could not generate manifest CMCD data.",i)}},this.applyFragmentData=r=>{try{const i=r.frag,s=this.hls.levels[i.level],c=this.getObjectType(i),p={d:i.duration*1e3,ot:c};(c===Fa.VIDEO||c===Fa.AUDIO||c==Fa.MUXED)&&(p.br=s.bitrate/1e3,p.tb=this.getTopBandwidth(c)/1e3,p.bl=this.getBufferLength(c)),this.apply(r,p)}catch(i){b.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||Hl(),this.cid=n.contentId,this.useHeaders=n.useHeaders===!0,this.includeKeys=n.includeKeys,this.registerListeners())}registerListeners(){const e=this.hls;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHED,this.onMediaDetached,this),e.on(u.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const e=this.hls;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHED,this.onMediaDetached,this),e.off(u.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=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:$s.HLS,sid:this.sid,cid:this.cid,pr:(e=this.media)==null?void 0:e.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(e,t={}){a(t,this.createData());const n=t.ot===Fa.INIT||t.ot===Fa.VIDEO||t.ot===Fa.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((i,s)=>(r.includes(s)&&(i[s]=t[s]),i),{})),this.useHeaders?(e.headers||(e.headers={}),Zl(e.headers,t)):e.url=Ql(e.url,t)}getObjectType(e){const{type:t}=e;if(t==="subtitle")return Fa.TIMED_TEXT;if(e.sn==="initSegment")return Fa.INIT;if(t==="audio")return Fa.AUDIO;if(t==="main")return this.hls.audioTracks.length?Fa.VIDEO:Fa.MUXED}getTopBandwidth(e){let t=0,n;const r=this.hls;if(e===Fa.AUDIO)n=r.audioTracks;else{const i=r.maxAutoLevel,s=i>-1?i+1:r.levels.length;n=r.levels.slice(0,s)}for(const i of n)i.bitrate>t&&(t=i.bitrate);return t>0?t:NaN}getBufferLength(e){const t=this.hls.media,n=e===Fa.AUDIO?this.audioBuffer:this.videoBuffer;return!n||!t?NaN:wi.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,s,c){t(i),this.loader.load(i,s,c)}}}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,s,c){t(i),this.loader.load(i,s,c)}}}}const ql=3e5;class Xl{constructor(e){this.hls=void 0,this.log=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.log=b.log.bind(b,"[content-steering]:"),this.registerListeners()}registerListeners(){const e=this.hls;e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.ERROR,this.onError,this)}unregisterListeners(){const e=this.hls;e&&(e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.ERROR,this.onError,this))}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)===ar.SendAlternateToPenaltyBox&&n.flags===Jr.MoveAllAlternatesMatchingHost){const r=this.levels;let i=this.pathwayPriority,s=this.pathwayId;if(t.context){const{groupId:c,pathwayId:p,type:A}=t.context;c&&r?s=this.getPathwayForGroupId(c,A,s):p&&(s=p)}s in this.penalizedPathways||(this.penalizedPathways[s]=performance.now()),!i&&r&&(i=r.reduce((c,p)=>(c.indexOf(p.pathwayId)===-1&&c.push(p.pathwayId),c),[])),i&&i.length>1&&(this.updatePathwayPriority(i),n.resolved=this.pathwayId!==s),n.resolved||b.warn(`Could not resolve ${t.details} ("${t.error.message}") with content-steering for Pathway: ${s} levels: ${r&&r.length} priorities: ${JSON.stringify(i)} penalized: ${JSON.stringify(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]>ql&&delete n[i]});for(let i=0;i<e.length;i++){const s=e[i];if(s in n)continue;if(s===this.pathwayId)return;const c=this.hls.nextLoadLevel,p=this.hls.levels[c];if(t=this.getLevelsForPathway(s),t.length>0){this.log(`Setting Pathway to "${s}"`),this.pathwayId=s,lr(t),this.hls.trigger(u.LEVELS_UPDATED,{levels:t});const A=this.hls.levels[c];p&&A&&this.levels&&(A.attrs["STABLE-VARIANT-ID"]!==p.attrs["STABLE-VARIANT-ID"]&&A.bitrate!==p.bitrate&&this.log(`Unstable Pathways change from bitrate ${p.bitrate} to ${A.bitrate}`),this.hls.nextLoadLevel=c);break}}}getPathwayForGroupId(e,t,n){const r=this.getLevelsForPathway(n).concat(this.levels||[]);for(let i=0;i<r.length;i++)if(t===Fn.AUDIO_TRACK&&r[i].hasAudioGroup(e)||t===Fn.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:s,"BASE-ID":c,"URI-REPLACEMENT":p}=i;if(t.some(F=>F.pathwayId===s))return;const A=this.getLevelsForPathway(c).map(F=>{const B=new j(F.attrs);B["PATHWAY-ID"]=s;const ye=B.AUDIO&&`${B.AUDIO}_clone_${s}`,Fe=B.SUBTITLES&&`${B.SUBTITLES}_clone_${s}`;ye&&(n[B.AUDIO]=ye,B.AUDIO=ye),Fe&&(r[B.SUBTITLES]=Fe,B.SUBTITLES=Fe);const Re=pl(F.uri,B["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",p),Ue=new Ri({attrs:B,audioCodec:F.audioCodec,bitrate:F.bitrate,height:F.height,name:F.name,url:Re,videoCodec:F.videoCodec,width:F.width});if(F.audioGroups)for(let We=1;We<F.audioGroups.length;We++)Ue.addGroupId("audio",`${F.audioGroups[We]}_clone_${s}`);if(F.subtitleGroups)for(let We=1;We<F.subtitleGroups.length;We++)Ue.addGroupId("text",`${F.subtitleGroups[We]}_clone_${s}`);return Ue});t.push(...A),hl(this.audioTracks,n,p,s),hl(this.subtitleTracks,r,p,s)})}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(F){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${e}`);return}if(r.protocol!=="data:"){const F=(this.hls.bandwidthEstimate||t.abrEwmaDefaultEstimate)|0;r.searchParams.set("_HLS_pathway",this.pathwayId),r.searchParams.set("_HLS_throughput",""+F)}const i={responseType:"json",url:r.href},s=t.steeringManifestLoadPolicy.default,c=s.errorRetry||s.timeoutRetry||{},p={loadPolicy:s,timeout:s.maxLoadTimeMs,maxRetry:c.maxNumRetry||0,retryDelay:c.retryDelayMs||0,maxRetryDelay:c.maxRetryDelayMs||0},A={onSuccess:(F,B,ye,Fe)=>{this.log(`Loaded steering manifest: "${r}"`);const Re=F.data;if(Re.VERSION!==1){this.log(`Steering VERSION ${Re.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Re.TTL;const{"RELOAD-URI":Ue,"PATHWAY-CLONES":We,"PATHWAY-PRIORITY":ct}=Re;if(Ue)try{this.uri=new self.URL(Ue,r).href}catch(Wt){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${Ue}`);return}this.scheduleRefresh(this.uri||ye.url),We&&this.clonePathways(We);const Vt={steeringManifest:Re,url:r.toString()};this.hls.trigger(u.STEERING_MANIFEST_LOADED,Vt),ct&&this.updatePathwayPriority(ct)},onError:(F,B,ye,Fe)=>{if(this.log(`Error loading steering manifest: ${F.code} ${F.text} (${B.url})`),this.stopLoad(),F.code===410){this.enabled=!1,this.log(`Steering manifest ${B.url} no longer available`);return}let Re=this.timeToLoad*1e3;if(F.code===429){const Ue=this.loader;if(typeof(Ue==null?void 0:Ue.getResponseHeader)=="function"){const We=Ue.getResponseHeader("Retry-After");We&&(Re=parseFloat(We)*1e3)}this.log(`Steering manifest ${B.url} rate limited`);return}this.scheduleRefresh(this.uri||B.url,Re)},onTimeout:(F,B,ye)=>{this.log(`Timeout loading steering manifest (${B.url})`),this.scheduleRefresh(this.uri||B.url)}};this.log(`Requesting steering manifest: ${r}`),this.loader.load(i,p,A)}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 hl(o,e,t,n){o&&Object.keys(e).forEach(r=>{const i=o.filter(s=>s.groupId===r).map(s=>{const c=a({},s);return c.details=void 0,c.attrs=new j(c.attrs),c.url=c.attrs.URI=pl(s.url,s.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",t),c.groupId=c.attrs["GROUP-ID"]=e[r],c.attrs["PATHWAY-ID"]=n,c});o.push(...i)})}function pl(o,e,t,n){const{HOST:r,PARAMS:i,[t]:s}=n;let c;e&&(c=s==null?void 0:s[e],c&&(o=c));const p=new self.URL(o);return r&&!c&&(p.host=r),i&&Object.keys(i).sort().forEach(A=>{A&&p.searchParams.set(A,i[A])}),p.href}const eu=/^age:\s*[\d.]+\s*$/im;class ml{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 ae,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(s=>{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(s=>{this.callbacks.onError({code:n.status,text:s.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:s}=n.loadPolicy;if(r)for(const c in r)e.setRequestHeader(c,r[c]);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&&I(i)?i:s,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 s=t.status,c=t.responseType==="text"?t.responseText:null;if(s>=200&&s<300){const B=c!=null?c:t.response;if(B!=null){n.loading.end=Math.max(self.performance.now(),n.loading.first);const ye=t.responseType==="arraybuffer"?B.byteLength:B.length;if(n.loaded=n.total=ye,n.bwEstimate=n.total*8e3/(n.loading.end-n.loading.first),!this.callbacks)return;const Fe=this.callbacks.onProgress;if(Fe&&Fe(n,e,B,t),!this.callbacks)return;const Re={url:t.responseURL,data:B,code:s};this.callbacks.onSuccess(Re,n,e,t);return}}const p=i.loadPolicy.errorRetry,A=n.retry,F={url:e.url,data:void 0,code:s};bi(p,A,!1,F)?this.retry(p):(b.error(`${s} while loading ${e.url}`),this.callbacks.onError({code:s,text:t.statusText},e,t,n))}}loadtimeout(){if(!this.config)return;const e=this.config.loadPolicy.timeoutRetry,t=this.stats.retry;if(bi(e,t,!0))this.retry(e);else{var n;b.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=Qr(e,n.retry),n.retry++,b.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&&eu.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}}function tu(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(o){}return!1}const nu=/(\d+)-(\d+)\/(\d+)/;class gl{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||su,this.controller=new self.AbortController,this.stats=new ae}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=ru(e,this.controller.signal),s=n.onProgress,c=e.responseType==="arraybuffer",p=c?"byteLength":"length",{maxTimeToFirstByteMs:A,maxLoadTimeMs:F}=t.loadPolicy;this.context=e,this.config=t,this.callbacks=n,this.request=this.fetchSetup(e,i),self.clearTimeout(this.requestTimeout),t.timeout=A&&I(A)?A:F,this.requestTimeout=self.setTimeout(()=>{this.abortInternal(),n.onTimeout(r,e,this.response)},t.timeout),self.fetch(this.request).then(B=>{this.response=this.loader=B;const ye=Math.max(self.performance.now(),r.loading.start);if(self.clearTimeout(this.requestTimeout),t.timeout=F,this.requestTimeout=self.setTimeout(()=>{this.abortInternal(),n.onTimeout(r,e,this.response)},F-(ye-r.loading.start)),!B.ok){const{status:Fe,statusText:Re}=B;throw new ou(Re||"fetch, bad network response",Fe,B)}return r.loading.first=ye,r.total=au(B.headers)||r.total,s&&I(t.highWaterMark)?this.loadProgressively(B,r,e,t.highWaterMark,s):c?B.arrayBuffer():e.responseType==="json"?B.json():B.text()}).then(B=>{const ye=this.response;if(!ye)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),r.loading.end=Math.max(self.performance.now(),r.loading.first);const Fe=B[p];Fe&&(r.loaded=r.total=Fe);const Re={url:ye.url,data:B,code:ye.status};s&&!I(t.highWaterMark)&&s(r,e,B,ye),n.onSuccess(Re,r,e,ye)}).catch(B=>{if(self.clearTimeout(this.requestTimeout),r.aborted)return;const ye=B&&B.code||0,Fe=B?B.message:null;n.onError({code:ye,text:Fe},e,B?B.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 s=new Ms,c=e.body.getReader(),p=()=>c.read().then(A=>{if(A.done)return s.dataLength&&i(t,n,s.flush(),e),Promise.resolve(new ArrayBuffer(0));const F=A.value,B=F.length;return t.loaded+=B,B<r||s.dataLength?(s.push(F),s.dataLength>=r&&i(t,n,s.flush(),e)):i(t,n,F,e),p()}).catch(()=>Promise.reject());return p()}}function ru(o,e){const t={method:"GET",mode:"cors",credentials:"same-origin",signal:e,headers:new self.Headers(a({},o.headers))};return o.rangeEnd&&t.headers.set("Range","bytes="+o.rangeStart+"-"+String(o.rangeEnd-1)),t}function iu(o){const e=nu.exec(o);if(e)return parseInt(e[2])-parseInt(e[1])+1}function au(o){const e=o.get("Content-Range");if(e){const n=iu(e);if(I(n))return n}const t=o.get("Content-Length");if(t)return parseInt(t)}function su(o,e){return new self.Request(o.url,e)}class ou extends Error{constructor(e,t,n){super(e),this.code=void 0,this.details=void 0,this.code=t,this.details=n}}const lu=/\s/,uu={newCue(o,e,t,n){const r=[];let i,s,c,p,A;const F=self.VTTCue||self.TextTrackCue;for(let ye=0;ye<n.rows.length;ye++)if(i=n.rows[ye],c=!0,p=0,A="",!i.isEmpty()){var B;for(let Ue=0;Ue<i.chars.length;Ue++)lu.test(i.chars[Ue].uchar)&&c?p++:(A+=i.chars[Ue].uchar,c=!1);i.cueStartTime=e,e===t&&(t+=1e-4),p>=16?p--:p++;const Fe=Pa(A.trim()),Re=wo(e,t,Fe);o!=null&&(B=o.cues)!=null&&B.getCueById(Re)||(s=new F(e,t,Fe),s.id=Re,s.line=ye+1,s.align="left",s.position=10+Math.min(80,Math.floor(p*8/32)*10),r.push(s))}return o&&r.length&&(r.sort((ye,Fe)=>ye.line==="auto"||Fe.line==="auto"?0:ye.line>8&&Fe.line>8?Fe.line-ye.line:ye.line-Fe.line),r.forEach(ye=>Nr(o,ye))),r}},cu={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},vl=$($({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxBufferHole:.1,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,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,loader:ml,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Oi,bufferController:Si,capLevelController:po,errorController:Ki,fpsController:$o,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:rn,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableID3MetadataCues:!0,useMediaCapabilities:!0,certLoadPolicy:{default:cu},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}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},du()),{},{subtitleStreamController:ii,subtitleTrackController:Wi,timelineController:co,audioStreamController:Tn,audioTrackController:Er,emeController:Is,cmcdController:Jl,contentSteeringController:Xl});function du(){return{cueHandler:uu,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 fu(o,e){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 t=il(o),n=["manifest","level","frag"],r=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return n.forEach(i=>{const s=`${i==="level"?"playlist":i}LoadPolicy`,c=e[s]===void 0,p=[];r.forEach(A=>{const F=`${i}Loading${A}`,B=e[F];if(B!==void 0&&c){p.push(F);const ye=t[s].default;switch(e[s]={default:ye},A){case"TimeOut":ye.maxLoadTimeMs=B,ye.maxTimeToFirstByteMs=B;break;case"MaxRetry":ye.errorRetry.maxNumRetry=B,ye.timeoutRetry.maxNumRetry=B;break;case"RetryDelay":ye.errorRetry.retryDelayMs=B,ye.timeoutRetry.retryDelayMs=B;break;case"MaxRetryTimeout":ye.errorRetry.maxRetryDelayMs=B,ye.timeoutRetry.maxRetryDelayMs=B;break}}}),p.length&&b.warn(`hls.js config: "${p.join('", "')}" setting(s) are deprecated, use "${s}": ${JSON.stringify(e[s])}`)}),$($({},t),e)}function il(o){return o&&typeof o=="object"?Array.isArray(o)?o.map(il):Object.keys(o).reduce((e,t)=>(e[t]=il(o[t]),e),{}):o}function hu(o){const e=o.loader;e!==gl&&e!==ml?(b.log("[config]: Custom loader detected, cannot enable progressive streaming"),o.progressive=!1):tu()&&(o.loader=gl,o.progressive=!0,o.enableSoftwareAES=!0,b.log("[config]: Progressive streaming enabled, using FetchLoader"))}let al;class pu extends ui{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(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.on(u.LEVEL_LOADED,this.onLevelLoaded,this),e.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this),e.on(u.ERROR,this.onError,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_LOADED,this.onManifestLoaded,this),e.off(u.LEVEL_LOADED,this.onLevelLoaded,this),e.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this),e.off(u.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={},s={};let c=!1,p=!1,A=!1;t.levels.forEach(F=>{var B,ye;const Fe=F.attrs;let{audioCodec:Re,videoCodec:Ue}=F;((B=Re)==null?void 0:B.indexOf("mp4a.40.34"))!==-1&&(al||(al=/chrome|firefox/i.test(navigator.userAgent)),al&&(F.audioCodec=Re=void 0)),Re&&(F.audioCodec=Re=En(Re,n)),((ye=Ue)==null?void 0:ye.indexOf("avc1"))===0&&(Ue=F.videoCodec=qn(Ue));const{width:We,height:ct,unknownCodecs:Vt}=F;if(c||(c=!!(We&&ct)),p||(p=!!Ue),A||(A=!!Re),Vt!=null&&Vt.length||Re&&!dt(Re,"audio",n)||Ue&&!dt(Ue,"video",n))return;const{CODECS:Wt,"FRAME-RATE":xn,"HDCP-LEVEL":Qt,"PATHWAY-ID":Mn,RESOLUTION:bn,"VIDEO-RANGE":$n}=Fe,kn=`${`${Mn||"."}-`}${F.bitrate}-${bn}-${xn}-${Wt}-${$n}-${Qt}`;if(i[kn])if(i[kn].uri!==F.url&&!F.attrs["PATHWAY-ID"]){const Qn=s[kn]+=1;F.attrs["PATHWAY-ID"]=new Array(Qn+1).join(".");const di=new Ri(F);i[kn]=di,r.push(di)}else i[kn].addGroupId("audio",Fe.AUDIO),i[kn].addGroupId("text",Fe.SUBTITLES);else{const Qn=new Ri(F);i[kn]=Qn,s[kn]=1,r.push(Qn)}}),this.filterAndSortMediaOptions(r,t,c,p,A)}filterAndSortMediaOptions(e,t,n,r,i){let s=[],c=[],p=e;if((n||r)&&i&&(p=p.filter(({videoCodec:Re,videoRange:Ue,width:We,height:ct})=>(!!Re||!!(We&&ct))&&li(Ue))),p.length===0){Promise.resolve().then(()=>{if(this.hls){t.levels.length&&this.warn(`One or more CODECS in variant not supported: ${JSON.stringify(t.levels[0].attrs)}`);const Re=new Error("no level with compatible codecs found in manifest");this.hls.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:t.url,error:Re,reason:Re.message})}});return}if(t.audioTracks){const{preferManagedMediaSource:Re}=this.hls.config;s=t.audioTracks.filter(Ue=>!Ue.audioCodec||dt(Ue.audioCodec,"audio",Re)),yl(s)}t.subtitles&&(c=t.subtitles,yl(c));const A=p.slice(0);p.sort((Re,Ue)=>{if(Re.attrs["HDCP-LEVEL"]!==Ue.attrs["HDCP-LEVEL"])return(Re.attrs["HDCP-LEVEL"]||"")>(Ue.attrs["HDCP-LEVEL"]||"")?1:-1;if(n&&Re.height!==Ue.height)return Re.height-Ue.height;if(Re.frameRate!==Ue.frameRate)return Re.frameRate-Ue.frameRate;if(Re.videoRange!==Ue.videoRange)return vi.indexOf(Re.videoRange)-vi.indexOf(Ue.videoRange);if(Re.videoCodec!==Ue.videoCodec){const We=Bt(Re.videoCodec),ct=Bt(Ue.videoCodec);if(We!==ct)return ct-We}if(Re.uri===Ue.uri&&Re.codecSet!==Ue.codecSet){const We=Ot(Re.codecSet),ct=Ot(Ue.codecSet);if(We!==ct)return ct-We}return Re.averageBitrate!==Ue.averageBitrate?Re.averageBitrate-Ue.averageBitrate:0});let F=A[0];if(this.steering&&(p=this.steering.filterParsedLevels(p),p.length!==A.length)){for(let Re=0;Re<A.length;Re++)if(A[Re].pathwayId===p[0].pathwayId){F=A[Re];break}}this._levels=p;for(let Re=0;Re<p.length;Re++)if(p[Re]===F){var B;this._firstLevel=Re;const Ue=F.bitrate,We=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${p.length} level(s) found, first bitrate: ${Ue}`),((B=this.hls.userConfig)==null?void 0:B.abrEwmaDefaultEstimate)===void 0){const ct=Math.min(Ue,this.hls.config.abrEwmaDefaultEstimateMax);ct>We&&We===vl.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ct)}break}const ye=i&&!r,Fe={levels:p,audioTracks:s,subtitleTracks:c,sessionData:t.sessionData,sessionKeys:t.sessionKeys,firstLevel:this._firstLevel,stats:t.stats,audio:i,video:r,altAudio:!ye&&s.some(Re=>!!Re.url)};this.hls.trigger(u.MANIFEST_PARSED,Fe),(this.hls.config.autoStartLoad||this.hls.forceStartLoad)&&this.hls.startLoad(this.hls.config.startPosition)}get levels(){return this._levels.length===0?null:this._levels}get level(){return this.currentLevelIndex}set level(e){const t=this._levels;if(t.length===0)return;if(e<0||e>=t.length){const F=new Error("invalid level idx"),B=e<0;if(this.hls.trigger(u.ERROR,{type:x.OTHER_ERROR,details:m.LEVEL_SWITCH_ERROR,level:e,fatal:B,error:F,reason:F.message}),B)return;e=Math.min(e,t.length-1)}const n=this.currentLevelIndex,r=this.currentLevel,i=r?r.attrs["PATHWAY-ID"]:void 0,s=t[e],c=s.attrs["PATHWAY-ID"];if(this.currentLevelIndex=e,this.currentLevel=s,n===e&&s.details&&r&&i===c)return;this.log(`Switching to level ${e} (${s.height?s.height+"p ":""}${s.videoRange?s.videoRange+" ":""}${s.codecSet?s.codecSet+" ":""}@${s.bitrate})${c?" with Pathway "+c:""} from level ${n}${i?" with Pathway "+i:""}`);const p={level:e,attrs:s.attrs,details:s.details,bitrate:s.bitrate,averageBitrate:s.averageBitrate,maxBitrate:s.maxBitrate,realBitrate:s.realBitrate,width:s.width,height:s.height,codecSet:s.codecSet,audioCodec:s.audioCodec,videoCodec:s.videoCodec,audioGroups:s.audioGroups,subtitleGroups:s.subtitleGroups,loaded:s.loaded,loadError:s.loadError,fragmentError:s.fragmentError,name:s.name,id:s.id,uri:s.uri,url:s.url,urlId:0,audioGroupIds:s.audioGroupIds,textGroupIds:s.textGroupIds};this.hls.trigger(u.LEVEL_SWITCHING,p);const A=s.details;if(!A||A.live){const F=this.switchParams(s.uri,r==null?void 0:r.details,A);this.loadPlaylist(F)}}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}onError(e,t){t.fatal||!t.context||t.context.type===Fn.LEVEL&&t.context.level===this.level&&this.checkRetry(t)}onFragBuffered(e,{frag:t}){if(t!==void 0&&t.type===at.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,s=this._levels[r];if(!s){var c;this.warn(`Invalid level index ${r}`),(c=t.deliveryDirectives)!=null&&c.skip&&(i.deltaUpdateFailed=!0);return}r===this.currentLevelIndex?(s.fragmentError===0&&(s.loadError=0),this.playlistLoaded(r,t,s.details)):(n=t.deliveryDirectives)!=null&&n.skip&&(i.deltaUpdateFailed=!0)}loadPlaylist(e){super.loadPlaylist();const t=this.currentLevelIndex,n=this.currentLevel;if(n&&this.shouldLoadPlaylist(n)){let r=n.uri;if(e)try{r=e.addDirectives(r)}catch(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}const i=n.attrs["PATHWAY-ID"];this.log(`Loading level index ${t}${(e==null?void 0:e.msn)!==void 0?" at sn "+e.msn+" part "+e.part:""} with${i?" Pathway "+i:""} ${r}`),this.clearTimer(),this.hls.trigger(u.LEVEL_LOADING,{url:r,level:t,pathwayId:n.attrs["PATHWAY-ID"],id:0,deliveryDirectives:e||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;const n=this._levels.filter((r,i)=>i!==e?!0:(this.steering&&this.steering.removeLevel(r),r===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,r.details&&r.details.fragments.forEach(s=>s.level=-1)),!1));lr(n),this._levels=n,this.currentLevelIndex>-1&&(t=this.currentLevel)!=null&&t.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.hls.trigger(u.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(u.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:e,levels:this.levels,maxAutoLevel:t,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:n}))}}function yl(o){const e={};o.forEach(t=>{const n=t.groupId||"";t.id=e[n]=e[n]||0,e[n]++})}class mu{constructor(e){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=e}abort(e){for(const n in this.keyUriToKeyInfo){const r=this.keyUriToKeyInfo[n].loader;if(r){var t;if(e&&e!==((t=r.context)==null?void 0:t.frag.type))return;r.abort()}}}detach(){for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e];(t.mediaKeySessionContext||t.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[e]}}destroy(){this.detach();for(const e in this.keyUriToKeyInfo){const t=this.keyUriToKeyInfo[e].loader;t&&t.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(e,t=m.KEY_LOAD_ERROR,n,r,i){return new Ji({type:x.NETWORK_ERROR,details:t,fatal:!1,frag:e,response:i,error:n,networkDetails:r})}loadClear(e,t){if(this.emeController&&this.config.emeEnabled){const{sn:n,cc:r}=e;for(let i=0;i<t.length;i++){const s=t[i];if(r<=s.cc&&(n==="initSegment"||s.sn==="initSegment"||n<s.sn)){this.emeController.selectKeySystemFormat(s).then(c=>{s.setKeyFormat(c)});break}}}}load(e){return!e.decryptdata&&e.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(e).then(t=>this.loadInternal(e,t)):this.loadInternal(e)}loadInternal(e,t){var n,r;t&&e.setKeyFormat(t);const i=e.decryptdata;if(!i){const A=new Error(t?`Expected frag.decryptdata to be defined after setting format ${t}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(e,m.KEY_LOAD_ERROR,A))}const s=i.uri;if(!s)return Promise.reject(this.createKeyLoadError(e,m.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${s}"`)));let c=this.keyUriToKeyInfo[s];if((n=c)!=null&&n.decryptdata.key)return i.key=c.decryptdata.key,Promise.resolve({frag:e,keyInfo:c});if((r=c)!=null&&r.keyLoadPromise){var p;switch((p=c.mediaKeySessionContext)==null?void 0:p.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return c.keyLoadPromise.then(A=>(i.key=A.keyInfo.decryptdata.key,{frag:e,keyInfo:c}))}}switch(c=this.keyUriToKeyInfo[s]={decryptdata:i,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},i.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return i.keyFormat==="identity"?this.loadKeyHTTP(c,e):this.loadKeyEME(c,e);case"AES-128":return this.loadKeyHTTP(c,e);default:return Promise.reject(this.createKeyLoadError(e,m.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${i.method}"`)))}}loadKeyEME(e,t){const n={frag:t,keyInfo:e};if(this.emeController&&this.config.emeEnabled){const r=this.emeController.loadKey(n);if(r)return(e.keyLoadPromise=r.then(i=>(e.mediaKeySessionContext=i,n))).catch(i=>{throw e.keyLoadPromise=null,i})}return Promise.resolve(n)}loadKeyHTTP(e,t){const n=this.config,r=n.loader,i=new r(n);return t.keyLoader=e.loader=i,e.keyLoadPromise=new Promise((s,c)=>{const p={keyInfo:e,frag:t,responseType:"arraybuffer",url:e.decryptdata.uri},A=n.keyLoadPolicy.default,F={loadPolicy:A,timeout:A.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},B={onSuccess:(ye,Fe,Re,Ue)=>{const{frag:We,keyInfo:ct,url:Vt}=Re;if(!We.decryptdata||ct!==this.keyUriToKeyInfo[Vt])return c(this.createKeyLoadError(We,m.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),Ue));ct.decryptdata.key=We.decryptdata.key=new Uint8Array(ye.data),We.keyLoader=null,ct.loader=null,s({frag:We,keyInfo:ct})},onError:(ye,Fe,Re,Ue)=>{this.resetLoader(Fe),c(this.createKeyLoadError(t,m.KEY_LOAD_ERROR,new Error(`HTTP Error ${ye.code} loading key ${ye.text}`),Re,$({url:p.url,data:void 0},ye)))},onTimeout:(ye,Fe,Re)=>{this.resetLoader(Fe),c(this.createKeyLoadError(t,m.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(ye,Fe,Re)=>{this.resetLoader(Fe),c(this.createKeyLoadError(t,m.INTERNAL_ABORTED,new Error("key loading aborted"),Re))}};i.load(p,F,B)})}resetLoader(e){const{frag:t,keyInfo:n,url:r}=e,i=n.loader;t.keyLoader===i&&(t.keyLoader=null,n.loader=null),delete this.keyUriToKeyInfo[r],i&&i.destroy()}}function bl(){return self.SourceBuffer||self.WebKitSourceBuffer}function Sl(){if(!wn())return!1;const e=bl();return!e||e.prototype&&typeof e.prototype.appendBuffer=="function"&&typeof e.prototype.remove=="function"}function gu(){if(!Sl())return!1;const o=wn();return typeof(o==null?void 0:o.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(e=>o.isTypeSupported(Lt(e,"video")))||["mp4a.40.2","fLaC"].some(e=>o.isTypeSupported(Lt(e,"audio"))))}function vu(){var o;const e=bl();return typeof(e==null||(o=e.prototype)==null?void 0:o.changeType)=="function"}const yu=250,Jo=2,bu=.1,Su=.05;class xu{constructor(e,t,n,r){this.config=void 0,this.media=null,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=e,this.media=t,this.fragmentTracker=n,this.hls=r}destroy(){this.media=null,this.hls=this.fragmentTracker=null}poll(e,t){const{config:n,media:r,stalled:i}=this;if(r===null)return;const{currentTime:s,seeking:c}=r,p=this.seeking&&!c,A=!this.seeking&&c;if(this.seeking=c,s!==e){if(this.moved=!0,c||(this.nudgeRetry=0),i!==null){if(this.stallReported){const We=self.performance.now()-i;b.warn(`playback not stuck anymore @${s}, after ${Math.round(We)}ms`),this.stallReported=!1}this.stalled=null}return}if(A||p){this.stalled=null;return}if(r.paused&&!c||r.ended||r.playbackRate===0||!wi.getBuffered(r).length){this.nudgeRetry=0;return}const F=wi.bufferInfo(r,s,0),B=F.nextStart||0;if(c){const We=F.len>Jo,ct=!B||t&&t.start<=s||B-s>Jo&&!this.fragmentTracker.getPartialFragment(s);if(We||ct)return;this.moved=!1}if(!this.moved&&this.stalled!==null){var ye;if(!(F.len>0)&&!B)return;const ct=Math.max(B,F.start||0)-s,Vt=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,xn=(Vt==null||(ye=Vt.details)==null?void 0:ye.live)?Vt.details.targetduration*2:Jo,Qt=this.fragmentTracker.getPartialFragment(s);if(ct>0&&(ct<=xn||Qt)){r.paused||this._trySkipBufferHole(Qt);return}}const Fe=self.performance.now();if(i===null){this.stalled=Fe;return}const Re=Fe-i;if(!c&&Re>=yu&&(this._reportStall(F),!this.media))return;const Ue=wi.bufferInfo(r,s,n.maxBufferHole);this._tryFixBufferStall(Ue,Re)}_tryFixBufferStall(e,t){const{config:n,fragmentTracker:r,media:i}=this;if(i===null)return;const s=i.currentTime,c=r.getPartialFragment(s);c&&(this._trySkipBufferHole(c)||!this.media)||(e.len>n.maxBufferHole||e.nextStart&&e.nextStart-s<n.maxBufferHole)&&t>n.highBufferWatchdogPeriod*1e3&&(b.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())}_reportStall(e){const{hls:t,media:n,stallReported:r}=this;if(!r&&n){this.stallReported=!0;const i=new Error(`Playback stalling at @${n.currentTime} due to low buffer (${JSON.stringify(e)})`);b.warn(i.message),t.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_STALLED_ERROR,fatal:!1,error:i,buffer:e.len})}}_trySkipBufferHole(e){const{config:t,hls:n,media:r}=this;if(r===null)return 0;const i=r.currentTime,s=wi.bufferInfo(r,i,0),c=i<s.start?s.start:s.nextStart;if(c){const p=s.len<=t.maxBufferHole,A=s.len>0&&s.len<1&&r.readyState<3,F=c-i;if(F>0&&(p||A)){if(F>t.maxBufferHole){const{fragmentTracker:ye}=this;let Fe=!1;if(i===0){const Re=ye.getAppendedFrag(0,at.MAIN);Re&&c<Re.end&&(Fe=!0)}if(!Fe){const Re=e||ye.getAppendedFrag(i,at.MAIN);if(Re){let Ue=!1,We=Re.end;for(;We<c;){const ct=ye.getPartialFragment(We);if(ct)We+=ct.duration;else{Ue=!0;break}}if(Ue)return 0}}}const B=Math.max(c+Su,i+bu);if(b.warn(`skipping hole, adjusting currentTime from ${i} to ${B}`),this.moved=!0,this.stalled=null,r.currentTime=B,e&&!e.gap){const ye=new Error(`fragment loaded with buffer holes, seeking from ${i} to ${B}`);n.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ye,reason:ye.message,frag:e})}return B}}return 0}_tryNudgeBuffer(){const{config:e,hls:t,media:n,nudgeRetry:r}=this;if(n===null)return;const i=n.currentTime;if(this.nudgeRetry++,r<e.nudgeMaxRetry){const s=i+(r+1)*e.nudgeOffset,c=new Error(`Nudging 'currentTime' from ${i} to ${s}`);b.warn(c.message),n.currentTime=s,t.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_NUDGE_ON_STALL,error:c,fatal:!1})}else{const s=new Error(`Playhead still not moving while enough data buffered @${i} after ${e.nudgeMaxRetry} nudges`);b.error(s.message),t.trigger(u.ERROR,{type:x.MEDIA_ERROR,details:m.BUFFER_STALLED_ERROR,error:s,fatal:!0})}}}const Au=100;class Eu extends Ts{constructor(e,t,n){super(e,t,n,"[stream-controller]",at.MAIN),this.audioCodecSwap=!1,this.gapController=null,this.level=-1,this._forceStartLoad=!1,this.altAudio=!1,this.audioOnly=!1,this.fragPlaying=null,this.onvplaying=null,this.onvseeked=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this._registerListeners()}_registerListeners(){const{hls:e}=this;e.on(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.on(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.on(u.MANIFEST_LOADING,this.onManifestLoading,this),e.on(u.MANIFEST_PARSED,this.onManifestParsed,this),e.on(u.LEVEL_LOADING,this.onLevelLoading,this),e.on(u.LEVEL_LOADED,this.onLevelLoaded,this),e.on(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.on(u.ERROR,this.onError,this),e.on(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.on(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.on(u.BUFFER_CREATED,this.onBufferCreated,this),e.on(u.BUFFER_FLUSHED,this.onBufferFlushed,this),e.on(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.on(u.FRAG_BUFFERED,this.onFragBuffered,this)}_unregisterListeners(){const{hls:e}=this;e.off(u.MEDIA_ATTACHED,this.onMediaAttached,this),e.off(u.MEDIA_DETACHING,this.onMediaDetaching,this),e.off(u.MANIFEST_LOADING,this.onManifestLoading,this),e.off(u.MANIFEST_PARSED,this.onManifestParsed,this),e.off(u.LEVEL_LOADED,this.onLevelLoaded,this),e.off(u.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),e.off(u.ERROR,this.onError,this),e.off(u.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),e.off(u.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),e.off(u.BUFFER_CREATED,this.onBufferCreated,this),e.off(u.BUFFER_FLUSHED,this.onBufferFlushed,this),e.off(u.LEVELS_UPDATED,this.onLevelsUpdated,this),e.off(u.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this._unregisterListeners(),super.onHandlerDestroying()}startLoad(e){if(this.levels){const{lastCurrentTime:t,hls:n}=this;if(this.stopLoad(),this.setInterval(Au),this.level=-1,!this.startFragRequested){let r=n.startLevel;r===-1&&(n.config.testBandwidth&&this.levels.length>1?(r=0,this.bitrateTest=!0):r=n.firstAutoLevel),n.nextLoadLevel=r,this.level=n.loadLevel,this.loadedmetadata=!1}t>0&&e===-1&&(this.log(`Override startPosition with lastCurrentTime @${t.toFixed(3)}`),e=t),this.state=Rn.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}else this._forceStartLoad=!0,this.state=Rn.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Rn.WAITING_LEVEL:{const{levels:t,level:n}=this,r=t==null?void 0:t[n],i=r==null?void 0:r.details;if(i&&(!i.live||this.levelLastLoaded===r)){if(this.waitForCdnTuneIn(i))break;this.state=Rn.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Rn.IDLE;break}break}case Rn.FRAG_LOADING_WAITING_RETRY:{var e;const t=self.performance.now(),n=this.retryDate;if(!n||t>=n||(e=this.media)!=null&&e.seeking){const{levels:r,level:i}=this,s=r==null?void 0:r[i];this.resetStartWhenNotLoaded(s||null),this.state=Rn.IDLE}}break}this.state===Rn.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){super.onTickEnd(),this.checkBuffer(),this.checkFragmentChanged()}doTickIdle(){const{hls:e,levelLastLoaded:t,levels:n,media:r}=this;if(t===null||!r&&(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 s=n[i],c=this.getMainFwdBufferInfo();if(c===null)return;const p=this.getLevelDetails();if(p&&this._streamEnded(c,p)){const Ue={};this.altAudio&&(Ue.type="video"),this.hls.trigger(u.BUFFER_EOS,Ue),this.state=Rn.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 A=s.details;if(!A||this.state===Rn.WAITING_LEVEL||A.live&&this.levelLastLoaded!==s){this.level=i,this.state=Rn.WAITING_LEVEL;return}const F=c.len,B=this.getMaxBufferLength(s.maxBitrate);if(F>=B)return;this.backtrackFragment&&this.backtrackFragment.start>c.end&&(this.backtrackFragment=null);const ye=this.backtrackFragment?this.backtrackFragment.start:c.end;let Fe=this.getNextFragment(ye,A);if(this.couldBacktrack&&!this.fragPrevious&&Fe&&Fe.sn!=="initSegment"&&this.fragmentTracker.getState(Fe)!==mi.OK){var Re;const We=((Re=this.backtrackFragment)!=null?Re:Fe).sn-A.startSN,ct=A.fragments[We-1];ct&&Fe.cc===ct.cc&&(Fe=ct,this.fragmentTracker.removeFragment(ct))}else this.backtrackFragment&&c.len&&(this.backtrackFragment=null);if(Fe&&this.isLoopLoading(Fe,ye)){if(!Fe.gap){const We=this.audioOnly&&!this.altAudio?te.AUDIO:te.VIDEO,ct=(We===te.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;ct&&this.afterBufferFlushed(ct,We,at.MAIN)}Fe=this.getNextFragmentLoopLoading(Fe,A,c,at.MAIN,B)}Fe&&(Fe.initSegment&&!Fe.initSegment.data&&!this.bitrateTest&&(Fe=Fe.initSegment),this.loadFragment(Fe,s,ye))}loadFragment(e,t,n){const r=this.fragmentTracker.getState(e);this.fragCurrent=e,r===mi.NOT_LOADED||r===mi.PARTIAL?e.sn==="initSegment"?this._loadInitSegment(e,t):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)):(this.startFragRequested=!0,super.loadFragment(e,t,n)):this.clearTrackerIfNeeded(e)}getBufferedFrag(e){return this.fragmentTracker.getBufferedFrag(e,at.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 c=this.getMainFwdBufferInfo();if(!c||c.len<i.targetduration*2)return}if(!t.paused&&e){const c=this.hls.nextLoadLevel,p=e[c],A=this.fragLastKbps;A&&this.fragCurrent?n=this.fragCurrent.duration*p.maxBitrate/(1e3*A)+1:n=0}else n=0;const s=this.getBufferedFrag(t.currentTime+n);if(s){const c=this.followingBufferedFrag(s);if(c){this.abortCurrentFrag();const p=c.maxStartPTS?c.maxStartPTS:c.start,A=c.duration,F=Math.max(s.end,p+Math.min(Math.max(A-this.config.maxFragLookUpTolerance,A*(this.couldBacktrack?.5:.125)),A*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(F,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 Rn.KEY_LOADING:case Rn.FRAG_LOADING:case Rn.FRAG_LOADING_WAITING_RETRY:case Rn.PARSING:case Rn.PARSED:this.state=Rn.IDLE;break}this.nextLoadPosition=this.getLoadPosition()}flushMainBuffer(e,t){super.flushMainBuffer(e,t,this.altAudio?"video":null)}onMediaAttached(e,t){super.onMediaAttached(e,t);const n=t.media;this.onvplaying=this.onMediaPlaying.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),n.addEventListener("playing",this.onvplaying),n.addEventListener("seeked",this.onvseeked),this.gapController=new xu(this.config,n,this.fragmentTracker,this.hls)}onMediaDetaching(){const{media:e}=this;e&&this.onvplaying&&this.onvseeked&&(e.removeEventListener("playing",this.onvplaying),e.removeEventListener("seeked",this.onvseeked),this.onvplaying=this.onvseeked=null,this.videoBuffer=null),this.fragPlaying=null,this.gapController&&(this.gapController.destroy(),this.gapController=null),super.onMediaDetaching()}onMediaPlaying(){this.tick()}onMediaSeeked(){const e=this.media,t=e?e.currentTime:null;I(t)&&this.log(`Media seeked to ${t.toFixed(3)}`);const n=this.getMainFwdBufferInfo();if(n===null||n.len===0){this.warn(`Main forward buffer length on "seeked" event ${n?n.len:"empty"})`);return}this.tick()}onManifestLoading(){this.log("Trigger BUFFER_RESET"),this.hls.trigger(u.BUFFER_RESET,void 0),this.fragmentTracker.removeAllFragments(),this.couldBacktrack=!1,this.startPosition=this.lastCurrentTime=this.fragLastKbps=0,this.levels=this.fragPlaying=this.backtrackFragment=this.levelLastLoaded=null,this.altAudio=this.audioOnly=this.startFragRequested=!1}onManifestParsed(e,t){let n=!1,r=!1;t.levels.forEach(i=>{const s=i.audioCodec;s&&(n=n||s.indexOf("mp4a.40.2")!==-1,r=r||s.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=n&&r&&!vu(),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!==Rn.IDLE)return;const r=n[t.level];(!r.details||r.details.live&&this.levelLastLoaded!==r||this.waitForCdnTuneIn(r.details))&&(this.state=Rn.WAITING_LEVEL)}onLevelLoaded(e,t){var n;const{levels:r}=this,i=t.level,s=t.details,c=s.totalduration;if(!r){this.warn(`Levels were reset while loading level ${i}`);return}this.log(`Level ${i} loaded [${s.startSN},${s.endSN}]${s.lastPartSn?`[part-${s.lastPartSn}-${s.lastPartIndex}]`:""}, cc [${s.startCC}, ${s.endCC}] duration:${c}`);const p=r[i],A=this.fragCurrent;A&&(this.state===Rn.FRAG_LOADING||this.state===Rn.FRAG_LOADING_WAITING_RETRY)&&A.level!==t.level&&A.loader&&this.abortCurrentFrag();let F=0;if(s.live||(n=p.details)!=null&&n.live){var B;if(this.checkLiveUpdate(s),s.deltaUpdateFailed)return;F=this.alignPlaylists(s,p.details,(B=this.levelLastLoaded)==null?void 0:B.details)}if(p.details=s,this.levelLastLoaded=p,this.hls.trigger(u.LEVEL_UPDATED,{details:s,level:i}),this.state===Rn.WAITING_LEVEL){if(this.waitForCdnTuneIn(s))return;this.state=Rn.IDLE}this.startFragRequested?s.live&&this.synchronizeToLiveEdge(s):this.setStartPosition(s,F),this.tick()}_handleFragmentLoadProgress(e){var t;const{frag:n,part:r,payload:i}=e,{levels:s}=this;if(!s){this.warn(`Levels were reset while fragment load was in progress. Fragment ${n.sn} of level ${n.level} will not be buffered`);return}const c=s[n.level],p=c.details;if(!p){this.warn(`Dropping fragment ${n.sn} of level ${n.level} after level details were reset`),this.fragmentTracker.removeFragment(n);return}const A=c.videoCodec,F=p.PTSKnown||!p.live,B=(t=n.initSegment)==null?void 0:t.data,ye=this._getAudioCodec(c),Fe=this.transmuxer=this.transmuxer||new on(this.hls,at.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Re=r?r.index:-1,Ue=Re!==-1,We=new vs(n.level,n.sn,n.stats.chunkCount,i.byteLength,Re,Ue),ct=this.initPTS[n.cc];Fe.push(i,B,ye,A,n,r,p.totalduration,F,We,ct)}onAudioTrackSwitching(e,t){const n=this.altAudio;if(!!!t.url){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const s=this.fragCurrent;s&&(this.log("Switching to main audio track, cancel main fragment load"),s.abortRequests(),this.fragmentTracker.removeFragment(s)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();const i=this.hls;n&&(i.trigger(u.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null}),this.fragmentTracker.removeAllFragments()),i.trigger(u.AUDIO_TRACK_SWITCHED,t)}}onAudioTrackSwitched(e,t){const n=t.id,r=!!this.hls.audioTracks[n].url;if(r){const i=this.videoBuffer;i&&this.mediaBuffer!==i&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=i)}this.altAudio=r,this.tick()}onBufferCreated(e,t){const n=t.tracks;let r,i,s=!1;for(const c in n){const p=n[c];if(p.id==="main"){if(i=c,r=p,c==="video"){const A=n[c];A&&(this.videoBuffer=A.buffer)}}else s=!0}s&&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;if(n&&n.type!==at.MAIN)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}`),this.state===Rn.PARSED&&(this.state=Rn.IDLE);return}const i=r?r.stats:n.stats;this.fragLastKbps=Math.round(8*i.total/(i.buffering.end-i.loading.first)),n.sn!=="initSegment"&&(this.fragPrevious=n),this.fragBufferedComplete(n,r)}onError(e,t){var n;if(t.fatal){this.state=Rn.ERROR;return}switch(t.details){case m.FRAG_GAP:case m.FRAG_PARSING_ERROR:case m.FRAG_DECRYPT_ERROR:case m.FRAG_LOAD_ERROR:case m.FRAG_LOAD_TIMEOUT:case m.KEY_LOAD_ERROR:case m.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(at.MAIN,t);break;case m.LEVEL_LOAD_ERROR:case m.LEVEL_LOAD_TIMEOUT:case m.LEVEL_PARSING_ERROR:!t.levelRetry&&this.state===Rn.WAITING_LEVEL&&((n=t.context)==null?void 0:n.type)===Fn.LEVEL&&(this.state=Rn.IDLE);break;case m.BUFFER_APPEND_ERROR:case m.BUFFER_FULL_ERROR:if(!t.parent||t.parent!=="main")return;if(t.details===m.BUFFER_APPEND_ERROR){this.resetLoadingState();return}this.reduceLengthAndFlushBuffer(t)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case m.INTERNAL_EXCEPTION:this.recoverWorkerError(t);break}}checkBuffer(){const{media:e,gapController:t}=this;if(!(!e||!t||!e.readyState)){if(this.loadedmetadata||!wi.getBuffered(e).length){const n=this.state!==Rn.IDLE?this.fragCurrent:null;t.poll(this.lastCurrentTime,n)}this.lastCurrentTime=e.currentTime}}onFragLoadEmergencyAborted(){this.state=Rn.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()}onBufferFlushed(e,{type:t}){if(t!==te.AUDIO||this.audioOnly&&!this.altAudio){const n=(t===te.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(n,t,at.MAIN),this.tick()}}onLevelsUpdated(e,t){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level),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=wi.getBuffered(e),s=(r.length?r.start(0):0)-n;s>0&&(s<this.config.maxBufferHole||s<this.config.maxFragLookUpTolerance)&&(this.log(`adjusting start position by ${s} to match buffer start`),n+=s,this.startPosition=n),this.log(`seek to target start position ${n} from current time ${t}`),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;if(!n||this.fragContextChanged(e))return;t.fragmentError=0,this.state=Rn.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const i=e.stats;i.parsing.start=i.parsing.end=i.buffering.start=i.buffering.end=self.performance.now(),r.trigger(u.FRAG_LOADED,n),e.bitrateTest=!1})}_handleTransmuxComplete(e){var t;const n="main",{hls:r}=this,{remuxResult:i,chunkMeta:s}=e,c=this.getCurrentContext(s);if(!c){this.resetWhenMissingContext(s);return}const{frag:p,part:A,level:F}=c,{video:B,text:ye,id3:Fe,initSegment:Re}=i,{details:Ue}=F,We=this.altAudio?void 0:i.audio;if(this.fragContextChanged(p)){this.fragmentTracker.removeFragment(p);return}if(this.state=Rn.PARSING,Re){if(Re!=null&&Re.tracks){const Wt=p.initSegment||p;this._bufferInitSegment(F,Re.tracks,Wt,s),r.trigger(u.FRAG_PARSING_INIT_SEGMENT,{frag:Wt,id:n,tracks:Re.tracks})}const ct=Re.initPTS,Vt=Re.timescale;I(ct)&&(this.initPTS[p.cc]={baseTime:ct,timescale:Vt},r.trigger(u.INIT_PTS_FOUND,{frag:p,id:n,initPTS:ct,timescale:Vt}))}if(B&&Ue&&p.sn!=="initSegment"){const ct=Ue.fragments[p.sn-1-Ue.startSN],Vt=p.sn===Ue.startSN,Wt=!ct||p.cc>ct.cc;if(i.independent!==!1){const{startPTS:xn,endPTS:Qt,startDTS:Mn,endDTS:bn}=B;if(A)A.elementaryStreams[B.type]={startPTS:xn,endPTS:Qt,startDTS:Mn,endDTS:bn};else if(B.firstKeyFrame&&B.independent&&s.id===1&&!Wt&&(this.couldBacktrack=!0),B.dropped&&B.independent){const $n=this.getMainFwdBufferInfo(),Ar=($n?$n.end:this.getLoadPosition())+this.config.maxBufferHole,kn=B.firstKeyFramePTS?B.firstKeyFramePTS:xn;if(!Vt&&Ar<kn-this.config.maxBufferHole&&!Wt){this.backtrack(p);return}else Wt&&(p.gap=!0);p.setElementaryStreamInfo(B.type,p.start,Qt,p.start,bn,!0)}else Vt&&xn>Jo&&(p.gap=!0);p.setElementaryStreamInfo(B.type,xn,Qt,Mn,bn),this.backtrackFragment&&(this.backtrackFragment=p),this.bufferFragmentData(B,p,A,s,Vt||Wt)}else if(Vt||Wt)p.gap=!0;else{this.backtrack(p);return}}if(We){const{startPTS:ct,endPTS:Vt,startDTS:Wt,endDTS:xn}=We;A&&(A.elementaryStreams[te.AUDIO]={startPTS:ct,endPTS:Vt,startDTS:Wt,endDTS:xn}),p.setElementaryStreamInfo(te.AUDIO,ct,Vt,Wt,xn),this.bufferFragmentData(We,p,A,s)}if(Ue&&Fe!=null&&(t=Fe.samples)!=null&&t.length){const ct={id:n,frag:p,details:Ue,samples:Fe.samples};r.trigger(u.FRAG_PARSING_METADATA,ct)}if(Ue&&ye){const ct={id:n,frag:p,details:Ue,samples:ye.samples};r.trigger(u.FRAG_PARSING_USERDATA,ct)}}_bufferInitSegment(e,t,n,r){if(this.state!==Rn.PARSING)return;this.audioOnly=!!t.audio&&!t.video,this.altAudio&&!this.audioOnly&&delete t.audio;const{audio:i,video:s,audiovideo:c}=t;if(i){let p=e.audioCodec;const A=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){p&&(p.indexOf("mp4a.40.5")!==-1?p="mp4a.40.2":p="mp4a.40.5");const F=i.metadata;F&&"channelCount"in F&&(F.channelCount||1)!==1&&A.indexOf("firefox")===-1&&(p="mp4a.40.5")}p&&p.indexOf("mp4a.40.5")!==-1&&A.indexOf("android")!==-1&&i.container!=="audio/mpeg"&&(p="mp4a.40.2",this.log(`Android: force audio codec to ${p}`)),e.audioCodec&&e.audioCodec!==p&&this.log(`Swapping manifest audio codec "${e.audioCodec}" for "${p}"`),i.levelCodec=p,i.id="main",this.log(`Init audio buffer, container:${i.container}, codecs[selected/level/parsed]=[${p||""}/${e.audioCodec||""}/${i.codec}]`)}s&&(s.levelCodec=e.videoCodec,s.id="main",this.log(`Init video buffer, container:${s.container}, codecs[level/parsed]=[${e.videoCodec||""}/${s.codec}]`)),c&&this.log(`Init audiovideo buffer, container:${c.container}, codecs[level/parsed]=[${e.codecs}/${c.codec}]`),this.hls.trigger(u.BUFFER_CODECS,t),Object.keys(t).forEach(p=>{const F=t[p].initSegment;F!=null&&F.byteLength&&this.hls.trigger(u.BUFFER_APPENDING,{type:p,data:F,frag:n,part:null,chunkMeta:r,parent:n.type})}),this.tickImmediate()}getMainFwdBufferInfo(){return this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,at.MAIN)}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=Rn.IDLE}checkFragmentChanged(){const e=this.media;let t=null;if(e&&e.readyState>1&&e.seeking===!1){const n=e.currentTime;if(wi.isBuffered(e,n)?t=this.getAppendedFrag(n):wi.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(u.FRAG_CHANGED,{frag:t}),(!r||r.level!==i)&&this.hls.trigger(u.LEVEL_SWITCHED,{level:i}))}}}get nextLevel(){const e=this.nextBufferedFrag;return e?e.level:-1}get currentFrag(){const e=this.media;return e?this.fragPlaying||this.getAppendedFrag(e.currentTime):null}get currentProgramDateTime(){const e=this.media;if(e){const t=e.currentTime,n=this.currentFrag;if(n&&I(t)&&I(n.programDateTime)){const r=n.programDateTime+(t-n.start)*1e3;return new Date(r)}}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 Ys{static get version(){return"1.5.20"}static isMSESupported(){return Sl()}static isSupported(){return gu()}static getMediaSource(){return wn()}static get Events(){return u}static get ErrorTypes(){return x}static get ErrorDetails(){return m}static get DefaultConfig(){return Ys.defaultConfig?Ys.defaultConfig:vl}static set DefaultConfig(e){Ys.defaultConfig=e}constructor(e={}){this.config=void 0,this.userConfig=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this.started=!1,this._emitter=new qt,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.audioTrackController=void 0,this.subtitleTrackController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this.url=null,this.triggeringException=void 0,Y(e.debug||!1,"Hls instance");const t=this.config=fu(Ys.DefaultConfig,e);this.userConfig=e,t.progressive&&hu(t);const{abrController:n,bufferController:r,capLevelController:i,errorController:s,fpsController:c}=t,p=new s(this),A=this.abrController=new n(this),F=this.bufferController=new r(this),B=this.capLevelController=new i(this),ye=new c(this),Fe=new wr(this),Re=new fi(this),Ue=t.contentSteeringController,We=Ue?new Ue(this):null,ct=this.levelController=new pu(this,We),Vt=new Ia(this),Wt=new mu(this.config),xn=this.streamController=new Eu(this,Vt,Wt);B.setStreamController(xn),ye.setStreamController(xn);const Qt=[Fe,ct,xn];We&&Qt.splice(1,0,We),this.networkControllers=Qt;const Mn=[A,F,B,ye,Re,Vt];this.audioTrackController=this.createController(t.audioTrackController,Qt);const bn=t.audioStreamController;bn&&Qt.push(new bn(this,Vt,Wt)),this.subtitleTrackController=this.createController(t.subtitleTrackController,Qt);const $n=t.subtitleStreamController;$n&&Qt.push(new $n(this,Vt,Wt)),this.createController(t.timelineController,Mn),Wt.emeController=this.emeController=this.createController(t.emeController,Mn),this.cmcdController=this.createController(t.cmcdController,Mn),this.latencyController=this.createController(ki,Mn),this.coreComponents=Mn,Qt.push(p);const Ar=p.onErrorOut;typeof Ar=="function"&&this.on(u.ERROR,Ar,p)}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(b.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===u.ERROR;this.trigger(u.ERROR,{type:x.OTHER_ERROR,details:m.INTERNAL_EXCEPTION,fatal:r,event:e,error:n}),this.triggeringException=!1}}return!1}listenerCount(e){return this._emitter.listenerCount(e)}destroy(){b.log("destroy"),this.trigger(u.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){b.log("attachMedia"),this._media=e,this.trigger(u.MEDIA_ATTACHING,{media:e})}detachMedia(){b.log("detachMedia"),this.trigger(u.MEDIA_DETACHING,void 0),this._media=null}loadSource(e){this.stopLoad();const t=this.media,n=this.url,r=this.url=ee.buildAbsoluteURL(self.location.href,e,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,b.log(`loadSource:${r}`),t&&n&&(n!==r||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(t)),this.trigger(u.MANIFEST_LOADING,{url:e})}startLoad(e=-1){b.log(`startLoad(${e})`),this.started=!0,this.resumeBuffering();for(let t=0;t<this.networkControllers.length&&(this.networkControllers[t].startLoad(e),!(!this.started||!this.networkControllers));t++);}stopLoad(){b.log("stopLoad"),this.started=!1;for(let e=0;e<this.networkControllers.length&&(this.networkControllers[e].stopLoad(),!(this.started||!this.networkControllers));e++);}resumeBuffering(){b.log("resume buffering"),this.networkControllers.forEach(e=>{e.resumeBuffering&&e.resumeBuffering()})}pauseBuffering(){b.log("pause buffering"),this.networkControllers.forEach(e=>{e.pauseBuffering&&e.pauseBuffering()})}swapAudioCodec(){b.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){b.log("recoverMediaError");const e=this._media;this.detachMedia(),e&&this.attachMedia(e)}removeLevel(e){this.levelController.removeLevel(e)}get levels(){const e=this.levelController.levels;return e||[]}get currentLevel(){return this.streamController.currentLevel}set currentLevel(e){b.log(`set currentLevel:${e}`),this.levelController.manualLevel=e,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(e){b.log(`set nextLevel:${e}`),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(e){b.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){b.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){b.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 ttfbEstimate(){const{bwEstimator:e}=this.abrController;return e?e.getEstimateTTFB():NaN}set autoLevelCapping(e){this._autoLevelCapping!==e&&(b.log(`set autoLevelCapping:${e}`),this._autoLevelCapping=e,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(e){ti(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 s=e[i].attrs["HDCP-LEVEL"];if(s&&s<=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()}setAudioOption(e){var t;return(t=this.audioTrackController)==null?void 0:t.setAudioOption(e)}setSubtitleOption(e){var t;return(t=this.subtitleTrackController)==null||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}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}}Ys.defaultConfig=void 0},16722:function(tn,tt,f){"use strict";f.d(tt,{Z:function(){return Se}});const y=a=>typeof a=="object"&&a!=null&&a.nodeType===1,L=(a,I)=>(!I||a!=="hidden")&&a!=="visible"&&a!=="clip",ee=(a,I)=>{if(a.clientHeight<a.scrollHeight||a.clientWidth<a.scrollWidth){const z=getComputedStyle(a,null);return L(z.overflowY,I)||L(z.overflowX,I)||(S=>{const u=(x=>{if(!x.ownerDocument||!x.ownerDocument.defaultView)return null;try{return x.ownerDocument.defaultView.frameElement}catch(m){return null}})(S);return!!u&&(u.clientHeight<S.scrollHeight||u.clientWidth<S.scrollWidth)})(a)}return!1},Ee=(a,I,z,S,u,x,m,P)=>x<a&&m>I||x>a&&m<I?0:x<=a&&P<=z||m>=I&&P>=z?x-a-S:m>I&&P<z||x<a&&P>z?m-I+u:0,$=a=>{const I=a.parentElement;return I==null?a.getRootNode().host||null:I},q=(a,I)=>{var z,S,u,x;if(typeof document=="undefined")return[];const{scrollMode:m,block:P,inline:ce,boundary:U,skipOverflowHiddenElements:W}=I,ne=typeof U=="function"?U:Oe=>Oe!==U;if(!y(a))throw new TypeError("Invalid target");const Y=document.scrollingElement||document.documentElement,b=[];let R=a;for(;y(R)&&ne(R);){if(R=$(R),R===Y){b.push(R);break}R!=null&&R===document.body&&ee(R)&&!ee(document.documentElement)||R!=null&&ee(R,W)&&b.push(R)}const G=(S=(z=window.visualViewport)==null?void 0:z.width)!=null?S:innerWidth,j=(x=(u=window.visualViewport)==null?void 0:u.height)!=null?x:innerHeight,{scrollX:pe,scrollY:me}=window,{height:fe,width:ae,top:te,right:M,bottom:he,left:Q}=a.getBoundingClientRect(),{top:de,right:ie,bottom:v,left:_}=(Oe=>{const Ie=window.getComputedStyle(Oe);return{top:parseFloat(Ie.scrollMarginTop)||0,right:parseFloat(Ie.scrollMarginRight)||0,bottom:parseFloat(Ie.scrollMarginBottom)||0,left:parseFloat(Ie.scrollMarginLeft)||0}})(a);let V=P==="start"||P==="nearest"?te-de:P==="end"?he+v:te+fe/2-de+v,J=ce==="center"?Q+ae/2-_+ie:ce==="end"?M+ie:Q-_;const Le=[];for(let Oe=0;Oe<b.length;Oe++){const Ie=b[Oe],{height:$e,width:lt,top:ut,right:it,bottom:Pt,left:Jt}=Ie.getBoundingClientRect();if(m==="if-needed"&&te>=0&&Q>=0&&he<=j&&M<=G&&(Ie===Y&&!ee(Ie)||te>=ut&&he<=Pt&&Q>=Jt&&M<=it))return Le;const rn=getComputedStyle(Ie),It=parseInt(rn.borderLeftWidth,10),Zt=parseInt(rn.borderTopWidth,10),ot=parseInt(rn.borderRightWidth,10),se=parseInt(rn.borderBottomWidth,10);let be=0,H=0;const O="offsetWidth"in Ie?Ie.offsetWidth-Ie.clientWidth-It-ot:0,xe="offsetHeight"in Ie?Ie.offsetHeight-Ie.clientHeight-Zt-se:0,k="offsetWidth"in Ie?Ie.offsetWidth===0?0:lt/Ie.offsetWidth:0,E="offsetHeight"in Ie?Ie.offsetHeight===0?0:$e/Ie.offsetHeight:0;if(Y===Ie)be=P==="start"?V:P==="end"?V-j:P==="nearest"?Ee(me,me+j,j,Zt,se,me+V,me+V+fe,fe):V-j/2,H=ce==="start"?J:ce==="center"?J-G/2:ce==="end"?J-G:Ee(pe,pe+G,G,It,ot,pe+J,pe+J+ae,ae),be=Math.max(0,be+me),H=Math.max(0,H+pe);else{be=P==="start"?V-ut-Zt:P==="end"?V-Pt+se+xe:P==="nearest"?Ee(ut,Pt,$e,Zt,se+xe,V,V+fe,fe):V-(ut+$e/2)+xe/2,H=ce==="start"?J-Jt-It:ce==="center"?J-(Jt+lt/2)+O/2:ce==="end"?J-it+ot+O:Ee(Jt,it,lt,It,ot+O,J,J+ae,ae);const{scrollLeft:T,scrollTop:X}=Ie;be=E===0?0:Math.max(0,Math.min(X+be/E,Ie.scrollHeight-$e/E+xe)),H=k===0?0:Math.max(0,Math.min(T+H/k,Ie.scrollWidth-lt/k+O)),V+=X-be,J+=T-H}Le.push({el:Ie,top:be,left:H})}return Le},C=a=>a===!1?{block:"end",inline:"nearest"}:(I=>I===Object(I)&&Object.keys(I).length!==0)(a)?a:{block:"start",inline:"nearest"};function Se(a,I){if(!a.isConnected||!(u=>{let x=u;for(;x&&x.parentNode;){if(x.parentNode===document)return!0;x=x.parentNode instanceof ShadowRoot?x.parentNode.host:x.parentNode}return!1})(a))return;const z=(u=>{const x=window.getComputedStyle(u);return{top:parseFloat(x.scrollMarginTop)||0,right:parseFloat(x.scrollMarginRight)||0,bottom:parseFloat(x.scrollMarginBottom)||0,left:parseFloat(x.scrollMarginLeft)||0}})(a);if((u=>typeof u=="object"&&typeof u.behavior=="function")(I))return I.behavior(q(a,I));const S=typeof I=="boolean"||I==null?void 0:I.behavior;for(const{el:u,top:x,left:m}of q(a,C(I))){const P=x-z.top+z.bottom,ce=m-z.left+z.right;u.scroll({top:P,left:ce,behavior:S})}}}}]);
}());